summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/jetpack/.svnignore8
-rw-r--r--plugins/jetpack/3rd-party/bbpress.php2
-rw-r--r--plugins/jetpack/3rd-party/class-domain-mapping.php2
-rw-r--r--plugins/jetpack/3rd-party/class-jetpack-crm-data.php3
-rw-r--r--plugins/jetpack/3rd-party/class-jetpack-modules-overrides.php4
-rw-r--r--plugins/jetpack/3rd-party/class.jetpack-amp-support.php19
-rw-r--r--plugins/jetpack/3rd-party/class.jetpack-modules-overrides.php143
-rw-r--r--plugins/jetpack/3rd-party/creative-mail.php7
-rw-r--r--plugins/jetpack/3rd-party/debug-bar/class-jetpack-search-debug-bar.php16
-rw-r--r--plugins/jetpack/3rd-party/debug-bar/class.jetpack-search-debug-bar.php173
-rw-r--r--plugins/jetpack/3rd-party/domain-mapping.php115
-rw-r--r--plugins/jetpack/3rd-party/jetpack-backup.php7
-rw-r--r--plugins/jetpack/3rd-party/jetpack-boost.php7
-rw-r--r--plugins/jetpack/3rd-party/polldaddy.php7
-rw-r--r--plugins/jetpack/3rd-party/woocommerce-services.php9
-rw-r--r--plugins/jetpack/CHANGELOG.md755
-rw-r--r--plugins/jetpack/CODE-OF-CONDUCT.md28
-rw-r--r--plugins/jetpack/_inc/blocks/302.js (renamed from plugins/jetpack/_inc/blocks/860.js)2
-rw-r--r--plugins/jetpack/_inc/blocks/business-hours/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/business-hours/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/button/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/button/view.css2
-rw-r--r--plugins/jetpack/_inc/blocks/button/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/button/view.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/calendly/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/calendly/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/components.css2
-rw-r--r--plugins/jetpack/_inc/blocks/components.js2
-rw-r--r--plugins/jetpack/_inc/blocks/components.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/contact-info/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/contact-info/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/dialogue/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/dialogue/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/donations/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/donations/view.css2
-rw-r--r--plugins/jetpack/_inc/blocks/donations/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/donations/view.js.LICENSE.txt15
-rw-r--r--plugins/jetpack/_inc/blocks/donations/view.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-beta.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-beta.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-beta.js112
-rw-r--r--plugins/jetpack/_inc/blocks/editor-beta.js.LICENSE.txt18
-rw-r--r--plugins/jetpack/_inc/blocks/editor-beta.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-experimental.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-experimental.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-experimental.js112
-rw-r--r--plugins/jetpack/_inc/blocks/editor-experimental.js.LICENSE.txt18
-rw-r--r--plugins/jetpack/_inc/blocks/editor-experimental.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-no-post-editor.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-no-post-editor.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-no-post-editor.js79
-rw-r--r--plugins/jetpack/_inc/blocks/editor-no-post-editor.js.LICENSE.txt20
-rw-r--r--plugins/jetpack/_inc/blocks/editor-no-post-editor.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/editor.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor.js108
-rw-r--r--plugins/jetpack/_inc/blocks/editor.js.LICENSE.txt18
-rw-r--r--plugins/jetpack/_inc/blocks/editor.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/eventbrite/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/eventbrite/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/gif/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/gif/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/google-calendar/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/google-calendar/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/image-compare/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/image-compare/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.pngbin7670 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.pngbin1593 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/example_160x600-a12cea65e6d4ce4b6f41d8c4f3184ded.pngbin10187 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/example_300x250-212e56e8c2ac91bdcbbd742cd7591e17.pngbin8624 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/example_320x50-a1b9b09ff673b75f41d0b32162387f89.pngbin4976 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/example_728x90-a5e5ae2b8f307e343aea049530c1742d.pngbin8022 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/map-preview-1744c8f7587de6d8857dbbe7d7cf5cb8.jpgbin41087 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpgbin85291 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpgbin113462 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpgbin160272 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpgbin108702 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/oval-3cc7669d571aef4e12f34b349e42d390.svg19
-rw-r--r--plugins/jetpack/_inc/blocks/images/paypal-button-1e53882e702881f8dfd958c141e65383.pngbin7496 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/paypal-button-2x-3d5d36867a0f3728cc3a.pngbin8186 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/paypal-button-2x-62cd99bcc3acbd1ff504.pngbin0 -> 23976 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.pngbin8186 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/paypal-button-5ecd2d5421d74f39e027.pngbin7496 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/paypal-button-a51d6c3207b0a904edb7.pngbin0 -> 16358 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/simple-payments_example-1-f3666e40d28c564ecf04f814e9a9f236.jpgbin17639 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/slideshow_example-1-4d22ce5ab8c84b87d307458fa7975fea.jpgbin25288 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/slideshow_example-2-2c82eb59aaea53932f5e718e17284db7.jpgbin12065 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/slideshow_example-3-75cfaba94fc18a9c4b2bc164bd070c08.jpgbin39074 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/tiled-gallery_example-1-e124e79c7cd0291640efe8f28aa9a6cd.jpgbin4241 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/tiled-gallery_example-2-ee687d7366c359324b23a9681fb2cf92.jpgbin7151 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/tiled-gallery_example-3-4d22ce5ab8c84b87d307458fa7975fea.jpgbin25288 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/tiled-gallery_example-4-2c82eb59aaea53932f5e718e17284db7.jpgbin12065 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/tiled-gallery_example-5-3fafa6df43363f274a371ed90dbce254.jpgbin7087 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/tiled-gallery_example-6-797246061ba8a7039b660584e9dc8946.jpgbin7281 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/index.json18
-rw-r--r--plugins/jetpack/_inc/blocks/instagram-gallery/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/instagram-gallery/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/mailchimp/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/mailchimp/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/map/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/map/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/opentable/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/opentable/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/podcast-player/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/podcast-player/view.js12
-rw-r--r--plugins/jetpack/_inc/blocks/premium-content/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/premium-content/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/rating-star/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/rating-star/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/recurring-payments/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/recurring-payments/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/repeat-visitor/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/repeat-visitor/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/revue/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/revue/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/send-a-message/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/send-a-message/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/slideshow/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/slideshow/view.css2
-rw-r--r--plugins/jetpack/_inc/blocks/slideshow/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/slideshow/view.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/story/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/story/view.css2
-rw-r--r--plugins/jetpack/_inc/blocks/story/view.js4
-rw-r--r--plugins/jetpack/_inc/blocks/story/view.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/subscriptions/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/subscriptions/view.css2
-rw-r--r--plugins/jetpack/_inc/blocks/subscriptions/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/subscriptions/view.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/swiper.css2
-rw-r--r--plugins/jetpack/_inc/blocks/swiper.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/tiled-gallery/view.asset.php2
-rw-r--r--plugins/jetpack/_inc/blocks/tiled-gallery/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.css1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.js1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.rtl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.css1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.js1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.rtl.css1
-rw-r--r--plugins/jetpack/_inc/blogging-prompts.php20
-rw-r--r--plugins/jetpack/_inc/build/accessible-focus.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/admin.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/admin.css2
-rw-r--r--plugins/jetpack/_inc/build/admin.js178
-rw-r--r--plugins/jetpack/_inc/build/admin.js.LICENSE.txt33
-rw-r--r--plugins/jetpack/_inc/build/admin.rtl.css2
-rw-r--r--plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/carousel/swiper-bundle.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/carousel/swiper-bundle.min.js2
-rw-r--r--plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/connect-button.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/connect-button.min.js2
-rw-r--r--plugins/jetpack/_inc/build/contact-form/js/editor-view.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/contact-form/js/grunion-admin.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/contact-form/js/grunion-frontend.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/contact-form/js/grunion.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/contact-form/js/tinymce-plugin-form-button.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/crowdsignal-shortcode.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/crowdsignal-survey.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css-preview.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.core-4.9.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/custom-css/custom-css/js/css-editor.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/custom-css/custom-css/js/use-codemirror.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/comics/comics.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/facebook-embed.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/gallery-settings.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/idc-notice.min.js3
-rw-r--r--plugins/jetpack/_inc/build/images/green-star-b0ac6af62d4c43bd4d04ca6abb9c2e83.svg1
-rw-r--r--plugins/jetpack/_inc/build/images/header-background-2x-1763392f68916f8e33e1.jpgbin0 -> 14063 bytes
-rw-r--r--plugins/jetpack/_inc/build/images/header-background-c0f56cae4d269449fbdc.jpgbin0 -> 9965 bytes
-rw-r--r--plugins/jetpack/_inc/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png (renamed from plugins/jetpack/images/jetpack-license-activation-with-lock.png)bin144326 -> 144326 bytes
-rw-r--r--plugins/jetpack/_inc/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png (renamed from plugins/jetpack/images/jetpack-license-activation-with-success.png)bin145433 -> 145433 bytes
-rw-r--r--plugins/jetpack/_inc/build/images/people-c8df8440a2897e6d0eba.svg6
-rw-r--r--plugins/jetpack/_inc/build/infinite-scroll/infinity-customizer.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/infinite-scroll/infinity.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/instant-search/407.js2
-rw-r--r--plugins/jetpack/_inc/build/instant-search/instant-search.min.css2
-rw-r--r--plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.css1
-rw-r--r--plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.js26
-rw-r--r--plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.rtl.css1
-rw-r--r--plugins/jetpack/_inc/build/instant-search/jp-search-main.asset.php1
-rw-r--r--plugins/jetpack/_inc/build/instant-search/jp-search-main.js1
-rw-r--r--plugins/jetpack/_inc/build/instant-search/jp-search.bundle.js1
-rw-r--r--plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.css1
-rw-r--r--plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.js15
-rw-r--r--plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.rtl.css1
-rw-r--r--plugins/jetpack/_inc/build/instant-search/search.css1
-rw-r--r--plugins/jetpack/_inc/build/instant-search/search.rtl.css1
-rw-r--r--plugins/jetpack/_inc/build/jetpack-admin.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/jetpack-connection-banner.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/jetpack-deactivate-dialog.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/jetpack-jitm.min.js2
-rw-r--r--plugins/jetpack/_inc/build/jetpack-modules.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/jetpack-modules.models.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/jetpack-modules.views.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/jetpack-recommendations-banner.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/jquery.jetpack-resize.min.js24
-rw-r--r--plugins/jetpack/_inc/build/jquery.spin.min.js6
-rw-r--r--plugins/jetpack/_inc/build/lazy-images/js/lazy-images.min.js30
-rw-r--r--plugins/jetpack/_inc/build/likes/post-count-jetpack.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/likes/post-count.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/likes/queuehandler.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/aquatic/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/blue/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-blue/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-bright/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-dark/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/coffee/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/contrast/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/fresh/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/light/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/midnight/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/modern/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/nightfall/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ocean/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/powder-snow/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sakura/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunrise/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunset/colors.css4
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.js2
-rw-r--r--plugins/jetpack/_inc/build/masterbar/masterbar/tracks-events.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/masterbar/nudges/additional-css/js/additional-css.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/masterbar/tracks-events.min.js3
-rw-r--r--plugins/jetpack/_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js7
-rw-r--r--plugins/jetpack/_inc/build/photon/photon.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/plugins-page.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/plugins-page.css2
-rw-r--r--plugins/jetpack/_inc/build/plugins-page.js2
-rw-r--r--plugins/jetpack/_inc/build/plugins-page.js.LICENSE.txt12
-rw-r--r--plugins/jetpack/_inc/build/plugins-page.rtl.css2
-rw-r--r--plugins/jetpack/_inc/build/polldaddy-shortcode.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/postmessage.min.js25
-rw-r--r--plugins/jetpack/_inc/build/related-posts/related-posts-customizer.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/related-posts/related-posts.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/scan/admin-bar-notice.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/search-dashboard.asset.php1
-rw-r--r--plugins/jetpack/_inc/build/search-dashboard.css1
-rw-r--r--plugins/jetpack/_inc/build/search-dashboard.js8
-rw-r--r--plugins/jetpack/_inc/build/search-dashboard.js.LICENSE.txt38
-rw-r--r--plugins/jetpack/_inc/build/search-dashboard.rtl.css1
-rw-r--r--plugins/jetpack/_inc/build/sharedaddy/admin-sharing.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/sharedaddy/sharing.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/sharedaddy/sharing.min.js2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/brightcove.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/gist.min.js2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/instagram.min.js3
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/jmpress.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/main.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/quiz.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/recipes-printthis.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/recipes.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.js2
-rw-r--r--plugins/jetpack/_inc/build/spin.min.js7
-rw-r--r--plugins/jetpack/_inc/build/static.css1
-rw-r--r--plugins/jetpack/_inc/build/static.html2
-rw-r--r--plugins/jetpack/_inc/build/static.js2
-rw-r--r--plugins/jetpack/_inc/build/static.js.LICENSE.txt9
-rw-r--r--plugins/jetpack/_inc/build/static.rtl.css1
-rw-r--r--plugins/jetpack/_inc/build/style.min.css3
-rw-r--r--plugins/jetpack/_inc/build/style.min.rtl.css4
-rw-r--r--plugins/jetpack/_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/twitter-timeline.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/editor-view.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.js2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/media-video-widget-extensions.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.asset.php1
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.js2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.js.LICENSE.txt543
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/videopress-add-resumable-upload-support.min.asset.php1
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/videopress-add-resumable-upload-support.min.js1
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/videopress-plupload.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/videopress-token-bridge.min.asset.php1
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/videopress-token-bridge.min.js1
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/videopress-uploader.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widget-visibility/editor/index.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widget-visibility/editor/index.css1
-rw-r--r--plugins/jetpack/_inc/build/widget-visibility/editor/index.js2
-rw-r--r--plugins/jetpack/_inc/build/widget-visibility/editor/index.rtl.css1
-rw-r--r--plugins/jetpack/_inc/build/widget-visibility/widget-conditions/widget-conditions.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/contact-info/contact-info-admin.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/customizer-utils.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/gallery/js/admin.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/gallery/js/gallery.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/milestone/admin.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/milestone/milestone.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.asset.php1
-rw-r--r--plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.js1
-rw-r--r--plugins/jetpack/_inc/build/widgets/search/js/search-widget.min.asset.php1
-rw-r--r--plugins/jetpack/_inc/build/widgets/search/js/search-widget.min.js1
-rw-r--r--plugins/jetpack/_inc/build/widgets/simple-payments/customizer.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/social-icons/social-icons-admin.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/widgets/twitter-timeline-admin.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/build/wordads/js/wordads-ccpa.min.asset.php2
-rw-r--r--plugins/jetpack/_inc/connect-button.js46
-rw-r--r--plugins/jetpack/_inc/footer.php6
-rw-r--r--plugins/jetpack/_inc/header.php2
-rw-r--r--plugins/jetpack/_inc/idc-notice.js241
-rw-r--r--plugins/jetpack/_inc/jetpack-jitm.js229
-rw-r--r--plugins/jetpack/_inc/jetpack-strings.php783
-rw-r--r--plugins/jetpack/_inc/jquery.jetpack-resize.js292
-rw-r--r--plugins/jetpack/_inc/jquery.spin.js104
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class-jetpack-about-page.php12
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class-jetpack-redux-state-helper.php38
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class-jetpack-search-dashboard-page.php137
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class.jetpack-admin-page.php112
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class.jetpack-landing-page.php7
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php108
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php114
-rw-r--r--plugins/jetpack/_inc/lib/class-jetpack-recommendations.php290
-rw-r--r--plugins/jetpack/_inc/lib/class.color.php633
-rw-r--r--plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php977
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-automatic-install-skin.php114
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-iframe-embed.php74
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-keyring-service-helper.php165
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-password-checker.php2
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-photon-image-sizes.php20
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-photon-image.php54
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-search-performance-logger.php87
-rw-r--r--plugins/jetpack/_inc/lib/class.media.php224
-rw-r--r--plugins/jetpack/_inc/lib/core-api/class-wpcom-rest-field-controller.php221
-rw-r--r--plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php637
-rw-r--r--plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-site-endpoints.php32
-rw-r--r--plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-widgets-endpoints.php18
-rw-r--r--plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-xmlrpc-consumer-endpoint.php12
-rw-r--r--plugins/jetpack/_inc/lib/core-api/load-wpcom-endpoints.php25
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/business-hours.php31
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php2
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-mailchimp.php9
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-videopress.php28
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/gutenberg-available-extensions.php40
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/hello.php40
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/memberships.php107
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connection-test-results.php20
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connections.php25
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-services.php21
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/service-api-keys.php36
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/sites-posts-featured-media-url.php39
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/subscribers.php43
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-fields/attachment-fields-videopress.php10
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-fields/class-wpcom-rest-api-v2-attachment-videopress-data.php7
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-fields/post-fields-publicize-connections.php123
-rw-r--r--plugins/jetpack/_inc/lib/debugger.php10
-rw-r--r--plugins/jetpack/_inc/lib/debugger/0-load.php21
-rw-r--r--plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php2
-rw-r--r--plugins/jetpack/_inc/lib/debugger/class-jetpack-debugger.php4
-rw-r--r--plugins/jetpack/_inc/lib/functions.wp-notify.php25
-rw-r--r--plugins/jetpack/_inc/lib/icalendar-reader.php608
-rw-r--r--plugins/jetpack/_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-builder.php400
-rw-r--r--plugins/jetpack/_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-parser.php691
-rw-r--r--plugins/jetpack/_inc/lib/markdown/0-load.php6
-rw-r--r--plugins/jetpack/_inc/lib/plans.php2
-rw-r--r--plugins/jetpack/_inc/lib/plugins.php205
-rw-r--r--plugins/jetpack/_inc/lib/tonesque.php195
-rw-r--r--plugins/jetpack/_inc/lib/tracks/tracks-ajax.js62
-rw-r--r--plugins/jetpack/_inc/lib/tracks/tracks-callables.js79
-rw-r--r--plugins/jetpack/_inc/lib/widgets.php179
-rw-r--r--plugins/jetpack/_inc/postmessage.js438
-rw-r--r--plugins/jetpack/_inc/spin.js349
-rw-r--r--plugins/jetpack/bin/build-asset-cdn-json.php49
-rwxr-xr-xplugins/jetpack/bin/partner-cancel.sh68
-rwxr-xr-xplugins/jetpack/bin/partner-provision.sh253
-rw-r--r--plugins/jetpack/changelog.txt4865
-rw-r--r--plugins/jetpack/class-jetpack-gallery-settings.php (renamed from plugins/jetpack/functions.gallery.php)37
-rw-r--r--plugins/jetpack/class-jetpack-recommendations-banner.php45
-rw-r--r--plugins/jetpack/class-jetpack-stats-dashboard-widget.php151
-rw-r--r--plugins/jetpack/class-jetpack-xmlrpc-methods.php4
-rw-r--r--plugins/jetpack/class.frame-nonce-preview.php40
-rw-r--r--plugins/jetpack/class.jetpack-admin.php222
-rw-r--r--plugins/jetpack/class.jetpack-affiliate.php2
-rw-r--r--plugins/jetpack/class.jetpack-autoupdate.php139
-rw-r--r--plugins/jetpack/class.jetpack-bbpress-json-api-compat.php102
-rw-r--r--plugins/jetpack/class.jetpack-cli.php262
-rw-r--r--plugins/jetpack/class.jetpack-client-server.php19
-rw-r--r--plugins/jetpack/class.jetpack-connection-banner.php84
-rw-r--r--plugins/jetpack/class.jetpack-debugger.php6
-rw-r--r--plugins/jetpack/class.jetpack-error.php3
-rw-r--r--plugins/jetpack/class.jetpack-gutenberg.php167
-rw-r--r--plugins/jetpack/class.jetpack-heartbeat.php13
-rw-r--r--plugins/jetpack/class.jetpack-ixr-client.php10
-rw-r--r--plugins/jetpack/class.jetpack-modules-list-table.php199
-rw-r--r--plugins/jetpack/class.jetpack-network-sites-list-table.php93
-rw-r--r--plugins/jetpack/class.jetpack-network.php36
-rw-r--r--plugins/jetpack/class.jetpack-plan.php28
-rw-r--r--plugins/jetpack/class.jetpack-post-images.php159
-rw-r--r--plugins/jetpack/class.jetpack-twitter-cards.php6
-rw-r--r--plugins/jetpack/class.jetpack-xmlrpc-server.php5
-rw-r--r--plugins/jetpack/class.jetpack.php1088
-rw-r--r--plugins/jetpack/class.json-api-endpoints.php728
-rw-r--r--plugins/jetpack/class.json-api.php539
-rw-r--r--plugins/jetpack/class.photon.php6
-rw-r--r--plugins/jetpack/composer.json61
-rw-r--r--plugins/jetpack/css/cleanslate-rtl.css4
-rw-r--r--plugins/jetpack/css/cleanslate-rtl.min.css4
-rw-r--r--plugins/jetpack/css/cleanslate.css4
-rw-r--r--plugins/jetpack/css/cleanslate.min.css4
-rw-r--r--plugins/jetpack/css/dashboard-widget-rtl.css42
-rw-r--r--plugins/jetpack/css/dashboard-widget-rtl.min.css4
-rw-r--r--plugins/jetpack/css/dashboard-widget.css42
-rw-r--r--plugins/jetpack/css/dashboard-widget.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-admin-rtl.css10
-rw-r--r--plugins/jetpack/css/jetpack-admin-rtl.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-admin.css10
-rw-r--r--plugins/jetpack/css/jetpack-admin.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-banners-rtl.css4
-rw-r--r--plugins/jetpack/css/jetpack-banners-rtl.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-banners.css4
-rw-r--r--plugins/jetpack/css/jetpack-banners.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-connect-rtl.css16
-rw-r--r--plugins/jetpack/css/jetpack-connect-rtl.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-connect.css16
-rw-r--r--plugins/jetpack/css/jetpack-connect.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-deactivate-dialog-rtl.css4
-rw-r--r--plugins/jetpack/css/jetpack-deactivate-dialog-rtl.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-deactivate-dialog.css4
-rw-r--r--plugins/jetpack/css/jetpack-deactivate-dialog.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-icons-rtl.css10
-rw-r--r--plugins/jetpack/css/jetpack-icons-rtl.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-icons.css10
-rw-r--r--plugins/jetpack/css/jetpack-icons.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-idc-admin-bar-rtl.css33
-rw-r--r--plugins/jetpack/css/jetpack-idc-admin-bar-rtl.min.css3
-rw-r--r--plugins/jetpack/css/jetpack-idc-admin-bar.css33
-rw-r--r--plugins/jetpack/css/jetpack-idc-admin-bar.min.css3
-rw-r--r--plugins/jetpack/css/jetpack-idc-rtl.css217
-rw-r--r--plugins/jetpack/css/jetpack-idc-rtl.min.css3
-rw-r--r--plugins/jetpack/css/jetpack-idc.css217
-rw-r--r--plugins/jetpack/css/jetpack-idc.min.css3
-rw-r--r--plugins/jetpack/css/jetpack-recommendations-banner-rtl.css384
-rw-r--r--plugins/jetpack/css/jetpack-recommendations-banner-rtl.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-recommendations-banner.css384
-rw-r--r--plugins/jetpack/css/jetpack-recommendations-banner.min.css4
-rw-r--r--plugins/jetpack/css/jetpack-rtl.css34
-rw-r--r--plugins/jetpack/css/jetpack.css34
-rw-r--r--plugins/jetpack/css/wordads-ccpa-rtl.css4
-rw-r--r--plugins/jetpack/css/wordads-ccpa-rtl.min.css4
-rw-r--r--plugins/jetpack/css/wordads-ccpa.css4
-rw-r--r--plugins/jetpack/css/wordads-ccpa.min.css4
-rw-r--r--plugins/jetpack/enhanced-open-graph.php (renamed from plugins/jetpack/modules/publicize/enhanced-open-graph.php)80
-rw-r--r--plugins/jetpack/extensions/blocks/anchor-fm/anchor-fm.php4
-rw-r--r--plugins/jetpack/extensions/blocks/business-hours/business-hours.php26
-rw-r--r--plugins/jetpack/extensions/blocks/button/button.php4
-rw-r--r--plugins/jetpack/extensions/blocks/calendly/calendly.php4
-rw-r--r--plugins/jetpack/extensions/blocks/donations/donations.php29
-rw-r--r--plugins/jetpack/extensions/blocks/instagram-gallery/instagram-gallery.php1
-rw-r--r--plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php19
-rw-r--r--plugins/jetpack/extensions/blocks/opentable/opentable.php11
-rw-r--r--plugins/jetpack/extensions/blocks/payments-intro/payments-intro.php27
-rw-r--r--plugins/jetpack/extensions/blocks/podcast-player/podcast-player.php15
-rw-r--r--plugins/jetpack/extensions/blocks/podcast-player/templates/playlist-track.php2
-rw-r--r--plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php8
-rw-r--r--plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header.php2
-rw-r--r--plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-title.php2
-rw-r--r--plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php2
-rw-r--r--plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-token-subscription-service.php4
-rw-r--r--plugins/jetpack/extensions/blocks/premium-content/login-button/login-button.php7
-rw-r--r--plugins/jetpack/extensions/blocks/premium-content/premium-content.php2
-rw-r--r--plugins/jetpack/extensions/blocks/revue/revue.php2
-rw-r--r--plugins/jetpack/extensions/blocks/simple-payments/simple-payments.php7
-rw-r--r--plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php11
-rw-r--r--plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery.php4
-rw-r--r--plugins/jetpack/extensions/plugins/payments/payments.php35
-rw-r--r--plugins/jetpack/extensions/plugins/post-publish-qr-post-panel/post-publish-qr-post-panel.php30
-rw-r--r--plugins/jetpack/functions.compat.php105
-rw-r--r--plugins/jetpack/functions.global.php5
-rw-r--r--plugins/jetpack/functions.photon.php6
-rw-r--r--plugins/jetpack/images/close.svg3
-rw-r--r--plugins/jetpack/images/cloud-checkmark.svg4
-rw-r--r--plugins/jetpack/images/ionos-logo.jpgbin0 -> 5883 bytes
-rw-r--r--plugins/jetpack/images/jetpack-aside-background.jpgbin0 -> 47959 bytes
-rw-r--r--plugins/jetpack/images/jetpack-banner-gradient.pngbin0 -> 42833 bytes
-rw-r--r--plugins/jetpack/images/lock.svg3
-rw-r--r--plugins/jetpack/images/plans/jetpack-complete.svg7
-rw-r--r--plugins/jetpack/images/plans/jetpack-security.svg6
-rw-r--r--plugins/jetpack/images/plans/plan-business.svg1
-rw-r--r--plugins/jetpack/images/plans/plan-free.svg1
-rw-r--r--plugins/jetpack/images/plans/plan-personal.svg1
-rw-r--r--plugins/jetpack/images/plans/plan-premium.svg1
-rw-r--r--plugins/jetpack/images/products/product-jetpack-anti-spam.svg6
-rw-r--r--plugins/jetpack/images/products/product-jetpack-backup.svg6
-rw-r--r--plugins/jetpack/images/products/product-jetpack-boost.svg5
-rw-r--r--plugins/jetpack/images/products/product-jetpack-crm.svg5
-rw-r--r--plugins/jetpack/images/products/product-jetpack-scan.svg6
-rw-r--r--plugins/jetpack/images/products/product-jetpack-search.svg6
-rw-r--r--plugins/jetpack/images/products/product-jetpack-security-bundle.svg5
-rw-r--r--plugins/jetpack/images/products/product-jetpack-social.svg4
-rw-r--r--plugins/jetpack/images/products/product-jetpack-videopress.svg6
-rw-r--r--plugins/jetpack/images/recommendations/assistant-creative-mail-2x.pngbin0 -> 300431 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-creative-mail-2x.webpbin0 -> 139856 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-creative-mail.pngbin0 -> 105962 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-creative-mail.webpbin0 -> 43312 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-downtime-monitoring-2x.pngbin0 -> 289490 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-downtime-monitoring-2x.webpbin0 -> 126712 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-downtime-monitoring.pngbin0 -> 80597 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-downtime-monitoring.webpbin0 -> 36250 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-product-purchased-2x.pngbin0 -> 111468 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-product-purchased-2x.webpbin0 -> 137638 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-product-purchased.pngbin0 -> 42556 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-product-purchased.webpbin0 -> 27158 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-related-post-2x.pngbin0 -> 225689 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-related-post-2x.webpbin0 -> 120046 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-related-post.pngbin0 -> 64550 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-related-post.webpbin0 -> 31294 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-site-accelerator-2x.pngbin0 -> 298132 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-site-accelerator-2x.webpbin0 -> 55228 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-site-accelerator.pngbin0 -> 82376 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-site-accelerator.webpbin0 -> 29724 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-site-type-2x.pngbin0 -> 322127 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-site-type-2x.webpbin0 -> 130678 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-site-type.pngbin0 -> 109354 bytes
-rw-r--r--plugins/jetpack/images/recommendations/assistant-site-type.webpbin0 -> 31138 bytes
-rw-r--r--plugins/jetpack/images/recommendations/background-alt.svg1
-rw-r--r--plugins/jetpack/images/recommendations/background.svg1
-rw-r--r--plugins/jetpack/images/recommendations/bug-icon.svg3
-rw-r--r--plugins/jetpack/images/recommendations/cloud-icon.svg8
-rw-r--r--plugins/jetpack/images/recommendations/creative-mail-illustration.svg1
-rw-r--r--plugins/jetpack/images/recommendations/monitor-illustration.svg1
-rw-r--r--plugins/jetpack/images/recommendations/related-posts-illustration.jpgbin34612 -> 0 bytes
-rw-r--r--plugins/jetpack/images/recommendations/site-accelerator-illustration.svg1
-rw-r--r--plugins/jetpack/images/recommendations/site-type-illustration.jpgbin39347 -> 0 bytes
-rw-r--r--plugins/jetpack/images/recommendations/video-icon.svg4
-rw-r--r--plugins/jetpack/images/recommendations/woocommerce-illustration.jpgbin70095 -> 0 bytes
-rw-r--r--plugins/jetpack/jest.config.js14
-rw-r--r--plugins/jetpack/jetpack.php10
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md10
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-abtest/CHANGELOG.md30
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/.phpcs.dir.xml24
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/CHANGELOG.md33
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php42
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md84
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.asset.php1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.js1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/package.json22
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php84
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/js/i18n-loader.js76
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/.babelrc12
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/CHANGELOG.md75
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/actions.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/babel.config.js10
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-1-8d65f9365c217c43eb01.svg33
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-2-4d8da04fb34b29957030.svg33
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-3-1c6df0c7bc8546e712d8.svg42
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/cloud-35473ae2758e9f3e353d.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/cloud-alert-cf8336f3384ee5b98a9e.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/plugins-d0898bae4e79a6e05b9e.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/posts-7a4c9e22d20abaac65d6.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/themes-700cf8bdf1049fdbc94a.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/uploads-7a7b15dfda25508a8d68.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.asset.php1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.js6
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.js.LICENSE.txt13
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.rtl.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/package.json53
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-initial-state.php54
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup-upgrades.php46
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup.php378
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/Admin.js247
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/Backups.js287
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/StatBlock.js19
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/admin-style.scss136
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/backups-style.scss180
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-1.svg33
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-2.svg33
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-3.svg42
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/cloud-alert.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/cloud.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/jetpack.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/plugins.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/posts.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/themes.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/uploads.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/calypso-colors.scss60
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/calypso-mixins.scss351
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/masthead-style.scss89
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/stat-block-style.scss46
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/assets/connect-right.pngbin0 -> 62000 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/useConnection.js76
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/index.js30
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/api.js5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/assets.js5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/connected-plugins.js5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/index.js23
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/jetpack-status.js5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/site-data.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/site-data.js)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/api.js7
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/connected-plugins.js5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/index.js16
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/jetpack-status.js5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/site-data.js6
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/store.js12
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/webpack.config.js60
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-blocks/CHANGELOG.md15
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/.phpcs.dir.xml24
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/CHANGELOG.md15
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/functions.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/lib/locales.php2398
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-config/CHANGELOG.md33
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php73
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/CHANGELOG.md105
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.asset.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.css2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js.LICENSE.txt15
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.rtl.css2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-admin.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-initial-state.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/CHANGELOG.md139
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/TRACKING.md122
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.asset.php1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.js1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.asset.php1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.js1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-options/legacy/class-jetpack-options.php)8
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php17
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-client.php (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php)6
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-event.php (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-client.php4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-error-handler.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-heartbeat.php (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php)6
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-initial-state.php16
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php89
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-nonce-handler.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin-storage.php46
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin.php12
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php67
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php140
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-terms-of-service.php (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php)2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-tokens.php98
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/src/class-tracking.php)70
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php41
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/js/tracks-ajax.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/src/js/tracks-ajax.js)19
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/js/tracks-callables.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/src/js/tracks-callables.js)27
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/webhooks/class-authorize-redirect.php197
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-constants/CHANGELOG.md10
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/CHANGELOG.md25
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php15
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php94
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/functions.php27
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-error/CHANGELOG.md10
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/CHANGELOG.md38
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/LICENSE.txt (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/LICENSE.txt)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/SECURITY.md (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/SECURITY.md)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-google-fonts-provider.php359
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-utils.php57
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-blocks.php37
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-global-styles.php115
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/CHANGELOG.md123
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/CHANGELOG.md122
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.css2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js8
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.rtl.css2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin-bar.scss46
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin.jsx4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/style.scss5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php82
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php76
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/CHANGELOG.md94
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.js2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/js/jetpack-jitm.js12
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/CHANGELOG.md80
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/intersection-observer.asset.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.asset.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.js2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/js/lazy-images.js29
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php9
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/CHANGELOG.md38
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php448
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php14
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-logo/CHANGELOG.md10
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md479
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/admin.jsx25
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/components/my-jetpack-screen/index.jsx63
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/components/my-jetpack-screen/style.scss1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/apple-92dacafad84e79708a74.svg3
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/boost-a54137485af36fdffe9c.pngbin0 -> 148315 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/connect-f27775ac15cf885713c2.pngbin0 -> 62000 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/crm-7e7684ae2c40327d8fed.pngbin0 -> 119373 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/extras-26daf36507504c96d066.pngbin0 -> 25957 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/google-dec2a429bf1d8e83f9ad.svg1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.pngbin0 -> 144326 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.pngbin0 -> 145433 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/search-f9756bd9c926d905fe70.pngbin0 -> 94887 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/videopress-9591093a9a238cc48a35.pngbin0 -> 255812 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/wordpress-e099b30cc40508916516.pngbin0 -> 51344 bytes
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.css2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js11
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js.LICENSE.txt30
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.rtl.css2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php223
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php144
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php208
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php76
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php209
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php138
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php201
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php117
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php124
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php143
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php129
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php135
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php437
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php119
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php218
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php89
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php251
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php247
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php135
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php125
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-options/CHANGELOG.md178
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/CHANGELOG.md64
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php182
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/CHANGELOG.md20
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/.phpcs.dir.xml24
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/CHANGELOG.md28
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/LICENSE.txt (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-options/LICENSE.txt)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/SECURITY.md (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-options/SECURITY.md)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php155
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php238
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/CHANGELOG.md71
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/LICENSE.txt (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/LICENSE.txt)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/SECURITY.md (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/SECURITY.md)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-connections-post-field.php464
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-keyring-helper.php297
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php1452
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-setup.php39
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-ui.php704
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize.php1085
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-rest-controller.php115
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-redirect/CHANGELOG.md28
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-roles/CHANGELOG.md10
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/CHANGELOG.md287
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.asset.php (renamed from plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.asset.php)2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.js25
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.js.LICENSE.txt (renamed from plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.js.LICENSE.txt)9
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.rtl.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.asset.php1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js13
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js.LICENSE.txt20
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.rtl.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.asset.php1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.js15
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.rtl.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.defaultVendors.js2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.defaultVendors.js.LICENSE.txt (renamed from plugins/jetpack/_inc/build/instant-search/407.js.LICENSE.txt)9
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.js1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/compatibility/jetpack.php29
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-cli.php70
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-helper.php72
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-module-control.php134
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-package.php62
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-plan.php40
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-product.php125
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php165
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-settings.php3
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-stats.php89
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php19
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php (renamed from plugins/jetpack/modules/search/class.jetpack-search.php)176
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customberg/class-customberg.php (renamed from plugins/jetpack/modules/search/class-jetpack-search-customberg.php)46
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/class-customizer.php (renamed from plugins/jetpack/modules/search/class-jetpack-search-customize.php)98
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.css (renamed from plugins/jetpack/modules/search/customize-controls/class-excluded-post-types-control.css)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.js (renamed from plugins/jetpack/modules/search/customize-controls/class-excluded-post-types-control.js)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.php (renamed from plugins/jetpack/modules/search/customize-controls/class-excluded-post-types-control.php)33
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-label-control.php (renamed from plugins/jetpack/modules/search/customize-controls/class-label-control.php)17
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/customize-controls.css (renamed from plugins/jetpack/modules/search/customize-controls/class-label-control.css)1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/customize-controls.js (renamed from plugins/jetpack/modules/search/customize-controls/customize-controls.js)7
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-dashboard.php200
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php164
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/site-plan.js16
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/controls.js55
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/site-plan.js18
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/resolvers.js48
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/site-plan.js12
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php224
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/instant-search/class-instant-search.php843
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/class-search-widget.php (renamed from plugins/jetpack/modules/widgets/search.php)288
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/css/search-widget-admin-ui.css (renamed from plugins/jetpack/modules/widgets/search/css/search-widget-admin-ui.css)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/css/search-widget-frontend.css (renamed from plugins/jetpack/modules/widgets/search/css/search-widget-frontend.css)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/js/search-widget-admin.js (renamed from plugins/jetpack/modules/widgets/search/js/search-widget-admin.js)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/js/search-widget.js (renamed from plugins/jetpack/modules/widgets/search/js/search-widget.js)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-builder.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/CHANGELOG.md58
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-cache.php55
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php103
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-errors.php43
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-files.php54
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-host.php32
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-modules.php591
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-paths.php28
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-status.php93
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php44
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/CHANGELOG.md130
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php101
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-data-settings.php355
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-dedicated-sender.php204
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-default-filter-settings.php80
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php13
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php50
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-listener.php9
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-main.php11
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php15
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-rest-endpoints.php43
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php54
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-settings.php28
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-users.php6
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php7
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-constants.php2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync.php4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php6
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-search.php1846
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/CHANGELOG.md223
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/CHANGELOG.md253
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/.phpcsignore1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/CHANGELOG.md83
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/LICENSE.txt (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/LICENSE.txt)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/SECURITY.md (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/SECURITY.md)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/actions.php85
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/cli.php12
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/run.php24
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php165
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php27
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-endpoints.php111
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php39
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php286
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php106
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php469
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php794
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php160
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php342
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/functions.php27
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/CHANGELOG.md56
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/LICENSE.txt357
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/SECURITY.md38
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/babel.config.js1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.asset.php1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.js2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.js.LICENSE.txt5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.rtl.css1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/jest.config.js23
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/postcss.config.js12
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-helper.php28
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-package.php62
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-rest-controller.php136
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-dashboard.php127
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-initial-state.php99
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/index.jsx (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/button/index.jsx)3
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/style.scss206
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/test/index.test.jsx33
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/compact.jsx (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/card/compact.jsx)3
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/index.jsx (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/card/index.jsx)8
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/style.scss72
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/test/index.test.jsx22
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/dashboard/index.jsx99
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/dashboard/style.scss22
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/compact.jsx (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/form-toggle/compact.jsx)3
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/index.jsx (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/form-toggle/index.jsx)43
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/style.scss130
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/test/index.test.jsx33
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/index.jsx (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/index.jsx)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/store/actions.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/store/actions.js)5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/store/reducer.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/store/reducer.js)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/store/selectors.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/store/selectors.js)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/style.scss81
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/test/index.test.jsx26
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/module-control/index.jsx95
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/module-control/style.scss185
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/index.jsx (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/notice/index.jsx)6
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/notice-action.jsx (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/notice/notice-action.jsx)3
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/style.scss283
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/test/index.test.jsx34
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/index.jsx45
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/_variables.scss55
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/calypso-colors.scss60
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/calypso-mixins.scss351
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/color-functions.scss11
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/functions/colors.scss32
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/functions/rem.scss16
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/layout.scss95
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/mixin_breakpoint.scss58
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/mixin_icons.scss16
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/rna-styles.scss74
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/typography.scss43
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/z-index.scss233
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/index.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/index.js)2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/jetpack-settings.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/jetpack-settings.js)34
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/test/jetpack-settings.test.js31
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/controls.js40
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/index.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/index.js)4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/feature.js5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/index.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/index.js)4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/jetpack-settings.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/jetpack-settings.js)4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/site-data.js5
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/test/jetpack-settings.test.js66
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/user-data.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/user-data.js)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/resolvers.js30
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/feature.js7
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/index.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/index.js)4
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/jetpack-settings.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/jetpack-settings.js)2
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/site-data.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/site-data.js)1
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/user-data.js (renamed from plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/user-data.js)0
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/initializers/class-initializer.php123
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/babel.config.js19
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/define-palette-colors-as-static-variables.js31
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/webpack.dashboard.config.js72
-rw-r--r--plugins/jetpack/jetpack_vendor/i18n-map.php95
-rw-r--r--plugins/jetpack/json-endpoints.php156
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-add-widget-endpoint.php90
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-delete-post-endpoint.php79
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-restore-post-endpoint.php77
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-update-comments-endpoint.php156
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-comment-endpoint.php303
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-endpoint.php82
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-v1-1-endpoint.php100
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-edit-media-v1-2-endpoint.php315
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-counts-endpoint.php65
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-endpoint.php58
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-history-endpoint.php54
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-endpoint.php121
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-1-endpoint.php92
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-2-endpoint.php106
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-customcss.php62
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-endpoint.php79
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-1-endpoint.php19
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-2-endpoint.php21
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-counts-v1-1-endpoint.php160
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-endpoint.php115
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-v1-1-endpoint.php104
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php445
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-v1-2-endpoint.php65
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomies-endpoint.php171
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomy-endpoint.php82
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-term-endpoint.php71
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-comments-endpoint.php328
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-embeds-endpoint.php75
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-endpoint.php110
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-1-endpoint.php237
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php110
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-type-taxonomies-endpoint.php88
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-types-endpoint.php132
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-endpoint.php316
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-1-endpoint.php188
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-2-endpoint.php111
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-roles-endpoint.php160
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-shortcodes-endpoint.php64
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-terms-endpoint.php110
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-users-endpoint.php154
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-menus-v1-1-endpoint.php811
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-post-endpoint.php844
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-post-v1-1-endpoint.php482
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-endpoint.php75
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-reversal-endpoint.php131
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-render-endpoint.php86
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-render-shortcode-endpoint.php81
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-sharing-buttons-endpoint.php606
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php37
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-2-endpoint.php284
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-3-endpoint.php246
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-4-endpoint.php227
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-site-user-endpoint.php239
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-taxonomy-endpoint.php43
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-comment-endpoint.php395
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-customcss.php93
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-endpoint.php107
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-v1-1-endpoint.php57
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-endpoint.php727
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-1-endpoint.php798
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php609
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-homepage-endpoint.php96
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-logo-endpoint.php115
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-taxonomy-endpoint.php441
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-term-endpoint.php245
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-user-endpoint.php118
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-endpoint.php92
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-v1-1-endpoint.php130
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-check-capabilities-endpoint.php23
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-endpoint.php33
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-modify-endpoint.php78
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-cron-endpoint.php152
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-endpoint.php80
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-comment-backup-endpoint.php35
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-database-object-backup-endpoint.php67
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-option-backup-endpoint.php39
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-post-backup-endpoint.php44
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-term-backup-endpoint.php33
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-user-backup-endpoint.php33
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-jps-woocommerce-connect-endpoint.php26
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-log-endpoint.php26
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-maybe-auto-update-endpoint.php31
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-endpoint.php60
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-get-endpoint.php13
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-list-endpoint.php22
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-modify-endpoint.php51
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-delete-endpoint.php31
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-endpoint.php266
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-get-endpoint.php20
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-install-endpoint.php46
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-list-endpoint.php27
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php157
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-v1-2-endpoint.php7
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-new-endpoint.php54
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php227
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-active-endpoint.php38
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-delete-endpoint.php44
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-endpoint.php112
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-get-endpoint.php13
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-install-endpoint.php115
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-list-endpoint.php23
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php93
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-new-endpoint.php67
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-endpoint.php43
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-modify-endpoint.php41
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-updates-status-endpoint.php24
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-connect-endpoint.php39
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-create-endpoint.php65
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-get-option-endpoint.php36
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-update-option-endpoint.php28
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php1338
-rw-r--r--plugins/jetpack/languages/jetpack-af.mobin12920 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-ary.mobin168034 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-az.mobin125957 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-bg_BG.mobin234980 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-bs_BA.mobin273473 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-ca.mobin56874 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-ckb.mobin75531 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-cs_CZ.mobin79810 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-cy.mobin67666 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-da_DK.mobin43005 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-es_MX.mobin269203 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-fr_CA.mobin294468 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-gd.mobin45801 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-hu_HU.mobin158501 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-is_IS.mobin44896 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-ka_GE.mobin2669 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-lt_LT.mobin18838 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-lv.mobin5090 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-mk_MK.mobin21138 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-ms_MY.mobin24910 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-my_MM.mobin18713 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-nn_NO.mobin23836 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-pl_PL.mobin174734 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-pt-ao.mobin378360 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-pt_PT.mobin61949 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-sa_IN.mobin1075 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-si_LK.mobin39529 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-sl_SI.mobin9766 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-sr_RS.mobin46126 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-te.mobin26461 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-th.mobin29342 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-uk.mobin53602 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-ur.mobin5171 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-vi.mobin27771 -> 0 bytes
-rw-r--r--plugins/jetpack/languages/json/jetpack-af-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ar-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ary-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-az-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-bg_BG-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-bs_BA-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ca-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ckb-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-cs_CZ-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-cy-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-da_DK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-de_DE-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-de_DE_formal-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-el-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_AU-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_CA-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_GB-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_NZ-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_ZA-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-eo-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_AR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_CL-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_CR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_ES-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_MX-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_PE-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_VE-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fa_IR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fi-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fr_BE-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fr_CA-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fr_FR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-gd-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-gl_ES-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-he_IL-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-hr-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-hu_HU-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-id_ID-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-is_IS-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-it_IT-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ja-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ka_GE-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ko_KR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-lt_LT-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-lv-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-mk_MK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ms_MY-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-my_MM-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nb_NO-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nl_NL-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nl_NL_formal-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nn_NO-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pl_PL-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pt-ao-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pt_BR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pt_PT-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ro_RO-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ru_RU-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sa_IN-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-si_LK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sk_SK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sl_SI-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sq-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sr_RS-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sv_SE-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-te-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-th-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-tr_TR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-uk-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ur-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-vi-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-zh_CN-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-zh_HK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-zh_TW-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/readme.txt15
-rw-r--r--plugins/jetpack/load-jetpack.php3
-rw-r--r--plugins/jetpack/locales.php2407
-rw-r--r--plugins/jetpack/modules/.eslintrc.js40
-rw-r--r--plugins/jetpack/modules/after-the-deadline.php6
-rw-r--r--plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php12
-rw-r--r--plugins/jetpack/modules/calypsoify/class.jetpack-calypsoify.php507
-rw-r--r--plugins/jetpack/modules/calypsoify/style-gutenberg-rtl.min.css4
-rw-r--r--plugins/jetpack/modules/calypsoify/style-gutenberg.min.css3
-rw-r--r--plugins/jetpack/modules/calypsoify/style-rtl.min.css4
-rw-r--r--plugins/jetpack/modules/calypsoify/style.min.css3
-rw-r--r--plugins/jetpack/modules/carousel.php8
-rw-r--r--plugins/jetpack/modules/carousel/images/arrows-2x.pngbin10063 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/carousel/images/arrows.pngbin4529 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/carousel/images/carousel-likereblog-2x.pngbin1096 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/carousel/images/carousel-likereblog.pngbin547 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/carousel/images/carousel-link-2x.pngbin867 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/carousel/images/carousel-link.pngbin431 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/carousel/images/carousel-sprite-2x.pngbin2076 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/carousel/images/carousel-sprite.pngbin1318 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/carousel/jetpack-carousel-rtl.css2
-rw-r--r--plugins/jetpack/modules/carousel/jetpack-carousel.php405
-rw-r--r--plugins/jetpack/modules/carousel/rtl/jetpack-carousel-rtl.css1134
-rw-r--r--plugins/jetpack/modules/cloudflare-analytics/cloudflare-analytics.php2
-rw-r--r--plugins/jetpack/modules/comments.php4
-rw-r--r--plugins/jetpack/modules/comments/admin.php95
-rw-r--r--plugins/jetpack/modules/comments/base.php143
-rw-r--r--plugins/jetpack/modules/comments/comments.php237
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.css923
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.css3
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.min.css3
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-style-rtl.css790
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-style-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-style.min.css3
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-ui-rtl.css19
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-ui-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-ui.min.css3
-rw-r--r--plugins/jetpack/modules/contact-form/css/grunion-rtl.css2
-rw-r--r--plugins/jetpack/modules/contact-form/css/grunion.css12
-rw-r--r--plugins/jetpack/modules/contact-form/grunion-contact-form.php20
-rw-r--r--plugins/jetpack/modules/copy-post.php17
-rw-r--r--plugins/jetpack/modules/custom-content-types.php17
-rw-r--r--plugins/jetpack/modules/custom-css.php40
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/class.csstidy-ctype.php (renamed from plugins/jetpack/modules/custom-css/csstidy/class.csstidy_ctype.php)31
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/class.csstidy-optimise.php1007
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/class.csstidy-print.php432
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php1014
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/class.csstidy_optimise.php943
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/class.csstidy_print.php410
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.css125
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/cssparse.min.css3
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.css21
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/cssparsed.min.css3
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/data-wp.inc.php90
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/data.inc.php1124
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/lang.inc.php89
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css-4.7.php428
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css.php995
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.css269
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/codemirror.min.css3
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/css-editor-rtl.css23
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/css-editor.min.css1
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror-rtl.css11
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror.min.css1
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/preprocessors.php27
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php3
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php4
-rw-r--r--plugins/jetpack/modules/custom-css/migrate-to-core.php114
-rw-r--r--plugins/jetpack/modules/custom-post-types/comics.php477
-rw-r--r--plugins/jetpack/modules/custom-post-types/comics/comics-rtl.css73
-rw-r--r--plugins/jetpack/modules/custom-post-types/comics/comics-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/custom-post-types/comics/comics.min.css3
-rw-r--r--plugins/jetpack/modules/custom-post-types/nova.php1428
-rw-r--r--plugins/jetpack/modules/custom-post-types/portfolios.php942
-rw-r--r--plugins/jetpack/modules/custom-post-types/testimonial.php606
-rw-r--r--plugins/jetpack/modules/enhanced-distribution.php60
-rw-r--r--plugins/jetpack/modules/geo-location.php38
-rw-r--r--plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php33
-rw-r--r--plugins/jetpack/modules/google-analytics.php6
-rw-r--r--plugins/jetpack/modules/google-analytics/classes/class-jetpack-google-amp-analytics.php2
-rw-r--r--plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-legacy.php42
-rw-r--r--plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-options.php102
-rw-r--r--plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-universal.php159
-rw-r--r--plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-utils.php30
-rw-r--r--plugins/jetpack/modules/google-analytics/wp-google-analytics.php60
-rw-r--r--plugins/jetpack/modules/google-fonts.php107
-rw-r--r--plugins/jetpack/modules/gravatar-hovercards.php140
-rw-r--r--plugins/jetpack/modules/infinite-scroll.php71
-rw-r--r--plugins/jetpack/modules/infinite-scroll/infinity.php533
-rw-r--r--plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.php21
-rw-r--r--plugins/jetpack/modules/infinite-scroll/themes/twentyfifteen.php13
-rw-r--r--plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php18
-rw-r--r--plugins/jetpack/modules/infinite-scroll/themes/twentyseventeen.php21
-rw-r--r--plugins/jetpack/modules/infinite-scroll/themes/twentysixteen.php15
-rw-r--r--plugins/jetpack/modules/infinite-scroll/themes/twentyten.php19
-rw-r--r--plugins/jetpack/modules/infinite-scroll/themes/twentythirteen.php15
-rw-r--r--plugins/jetpack/modules/infinite-scroll/themes/twentytwelve.php20
-rw-r--r--plugins/jetpack/modules/latex.php48
-rw-r--r--plugins/jetpack/modules/lazy-images.php6
-rw-r--r--plugins/jetpack/modules/lazy-images/images/1x1.trans.gifbin42 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/lazy-images/js/lazy-images.js868
-rw-r--r--plugins/jetpack/modules/lazy-images/lazy-images.php355
-rw-r--r--plugins/jetpack/modules/likes/jetpack-likes-master-iframe.php17
-rw-r--r--plugins/jetpack/modules/likes/jetpack-likes-settings.php259
-rw-r--r--plugins/jetpack/modules/markdown.php6
-rw-r--r--plugins/jetpack/modules/markdown/easy-markdown.php357
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.css594
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/admin-menu.css80
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/admin-menu.js42
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/admin-menu.min.css3
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/class-admin-menu.php133
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/class-atomic-admin-menu.php71
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/class-base-admin-menu.php81
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/class-dashboard-switcher-tracking.php8
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/class-wpcom-admin-menu.php27
-rw-r--r--plugins/jetpack/modules/masterbar/admin-menu/load.php2
-rw-r--r--plugins/jetpack/modules/masterbar/masterbar.php1392
-rw-r--r--plugins/jetpack/modules/masterbar/masterbar/class-masterbar.php11
-rw-r--r--plugins/jetpack/modules/masterbar/nudges/additional-css/class-atomic-additional-css-manager.php4
-rw-r--r--plugins/jetpack/modules/masterbar/nudges/additional-css/class-wpcom-additional-css-manager.php9
-rw-r--r--plugins/jetpack/modules/masterbar/overrides.css132
-rw-r--r--plugins/jetpack/modules/masterbar/rtl-admin-bar.php55
-rw-r--r--plugins/jetpack/modules/masterbar/tracks-events.js160
-rw-r--r--plugins/jetpack/modules/masterbar/wp-posts-list/class-posts-list-page-notification.php2
-rw-r--r--plugins/jetpack/modules/memberships/class-jetpack-memberships.php14
-rw-r--r--plugins/jetpack/modules/minileven.php57
-rw-r--r--plugins/jetpack/modules/minileven/images/wp-app-devices.pngbin1014 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/minileven/minileven.php360
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/comments.php52
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/content-gallery.php83
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/content.php63
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/footer.php78
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php275
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/header.php70
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/image.php108
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/inc/custom-header.php107
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.eotbin7475 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.svg81
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.ttfbin13516 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.woffbin8676 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/inc/template-tags.php96
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/inc/tweaks.php103
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/index.php75
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/js/small-menu.js38
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/page.php47
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/rtl.css574
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/screenshot.pngbin58138 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/searchform.php12
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/sidebar.php12
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/style.css1588
-rw-r--r--plugins/jetpack/modules/mobile-push.php6
-rw-r--r--plugins/jetpack/modules/module-headings.php86
-rw-r--r--plugins/jetpack/modules/module-info.php18
-rw-r--r--plugins/jetpack/modules/monitor.php2
-rw-r--r--plugins/jetpack/modules/photon-cdn.php25
-rw-r--r--plugins/jetpack/modules/photon-cdn/jetpack-manifest.php798
-rw-r--r--plugins/jetpack/modules/post-by-email/post-by-email-rtl.css6
-rw-r--r--plugins/jetpack/modules/post-by-email/post-by-email.min.css1
-rw-r--r--plugins/jetpack/modules/protect.php399
-rw-r--r--plugins/jetpack/modules/protect/blocked-login-page.php258
-rw-r--r--plugins/jetpack/modules/protect/math-fallback.php102
-rw-r--r--plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.css94
-rw-r--r--plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/protect/protect-dashboard-widget.min.css3
-rw-r--r--plugins/jetpack/modules/protect/shared-functions.php15
-rw-r--r--plugins/jetpack/modules/protect/transient-cleanup.php35
-rw-r--r--plugins/jetpack/modules/publicize.php79
-rw-r--r--plugins/jetpack/modules/publicize/publicize-jetpack.php657
-rw-r--r--plugins/jetpack/modules/publicize/publicize.php789
-rw-r--r--plugins/jetpack/modules/publicize/ui.php292
-rw-r--r--plugins/jetpack/modules/pwa.php4
-rw-r--r--plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php4
-rw-r--r--plugins/jetpack/modules/pwa/class.jetpack-pwa-manifest.php4
-rw-r--r--plugins/jetpack/modules/pwa/images/wp-192.pngbin6584 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/pwa/images/wp-512.pngbin16496 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/related-posts.php19
-rw-r--r--plugins/jetpack/modules/related-posts/class.related-posts-customize.php96
-rw-r--r--plugins/jetpack/modules/related-posts/jetpack-related-posts.php724
-rw-r--r--plugins/jetpack/modules/related-posts/related-posts-rtl.css2
-rw-r--r--plugins/jetpack/modules/scan/class-admin-bar-notice.php2
-rw-r--r--plugins/jetpack/modules/scan/class-admin-sidebar-link.php7
-rw-r--r--plugins/jetpack/modules/scan/scan.php4
-rw-r--r--plugins/jetpack/modules/search.php35
-rw-r--r--plugins/jetpack/modules/search/class-jetpack-instant-search.php629
-rw-r--r--plugins/jetpack/modules/search/class.jetpack-search-helpers.php701
-rw-r--r--plugins/jetpack/modules/search/class.jetpack-search-template-tags.php225
-rw-r--r--plugins/jetpack/modules/seo-tools/class-jetpack-seo-utils.php14
-rw-r--r--plugins/jetpack/modules/seo-tools/jetpack-seo-posts.php91
-rw-r--r--plugins/jetpack/modules/seo-tools/jetpack-seo-titles.php301
-rw-r--r--plugins/jetpack/modules/seo-tools/jetpack-seo-utils.php126
-rw-r--r--plugins/jetpack/modules/seo-tools/jetpack-seo.php206
-rw-r--r--plugins/jetpack/modules/sharedaddy.php2
-rw-r--r--plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.css472
-rw-r--r--plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/sharedaddy/admin-sharing.min.css3
-rw-r--r--plugins/jetpack/modules/sharedaddy/amp-sharing.css9
-rw-r--r--plugins/jetpack/modules/sharedaddy/recaptcha.php11
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharedaddy.php281
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing-service.php363
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing-sources.php1519
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing.css77
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing.js260
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing.php397
-rw-r--r--plugins/jetpack/modules/shortcodes.php14
-rw-r--r--plugins/jetpack/modules/shortcodes/css/recipes-print.min.css1
-rw-r--r--plugins/jetpack/modules/shortcodes/css/recipes-rtl.css2
-rw-r--r--plugins/jetpack/modules/shortcodes/css/recipes-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/shortcodes/css/recipes.min.css3
-rw-r--r--plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.css284
-rw-r--r--plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css46
-rw-r--r--plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css3
-rw-r--r--plugins/jetpack/modules/shortcodes/descript.php116
-rw-r--r--plugins/jetpack/modules/shortcodes/hulu.php275
-rw-r--r--plugins/jetpack/modules/shortcodes/js/gist.js32
-rw-r--r--plugins/jetpack/modules/shortcodes/js/instagram.js25
-rw-r--r--plugins/jetpack/modules/shortcodes/js/slideshow-shortcode.js12
-rw-r--r--plugins/jetpack/modules/shortcodes/quiz.php4
-rw-r--r--plugins/jetpack/modules/shortcodes/slideshow.php45
-rw-r--r--plugins/jetpack/modules/shortcodes/wufoo.php2
-rw-r--r--plugins/jetpack/modules/shortlinks.php23
-rw-r--r--plugins/jetpack/modules/simple-payments/paypal-express-checkout.js1
-rw-r--r--plugins/jetpack/modules/simple-payments/simple-payments.css14
-rw-r--r--plugins/jetpack/modules/simple-payments/simple-payments.php567
-rw-r--r--plugins/jetpack/modules/sitemaps.php2
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-fallback.php19
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-image-fallback.php7
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-image.php13
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-master-fallback.php6
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-master.php14
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php9
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-news.php16
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php7
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-page.php14
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-video-fallback.php7
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-video.php14
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer.php7
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-builder.php28
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-constants.php6
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-finder.php4
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-librarian.php22
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-logger.php4
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-state.php2
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-stylist.php17
-rw-r--r--plugins/jetpack/modules/sso.php413
-rw-r--r--plugins/jetpack/modules/sso/class.jetpack-sso-helpers.php521
-rw-r--r--plugins/jetpack/modules/sso/class.jetpack-sso-notices.php7
-rw-r--r--plugins/jetpack/modules/sso/jetpack-sso-login-rtl.css155
-rw-r--r--plugins/jetpack/modules/sso/jetpack-sso-login-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/sso/jetpack-sso-login.min.css3
-rw-r--r--plugins/jetpack/modules/stats.php102
-rw-r--r--plugins/jetpack/modules/stats/class-jetpack-stats-upgrade-nudges.php11
-rw-r--r--plugins/jetpack/modules/subscriptions.php379
-rw-r--r--plugins/jetpack/modules/subscriptions/views.php563
-rw-r--r--plugins/jetpack/modules/theme-tools.php16
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentyfifteen.css16
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentyfifteen.php8
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentyfourteen.css4
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentyfourteen.php13
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentynineteen-rtl.css2
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentynineteen.php81
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentyseventeen.php5
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentysixteen.css4
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentysixteen.php13
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentytwenty-rtl.css2
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentytwenty.css2
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentytwentyone-rtl.css2
-rw-r--r--plugins/jetpack/modules/theme-tools/content-options.php28
-rw-r--r--plugins/jetpack/modules/theme-tools/content-options/author-bio.php18
-rw-r--r--plugins/jetpack/modules/theme-tools/content-options/blog-display.php22
-rw-r--r--plugins/jetpack/modules/theme-tools/content-options/customizer.php54
-rw-r--r--plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php16
-rw-r--r--plugins/jetpack/modules/theme-tools/content-options/featured-images.php16
-rw-r--r--plugins/jetpack/modules/theme-tools/content-options/post-details.php28
-rw-r--r--plugins/jetpack/modules/theme-tools/featured-content.php74
-rw-r--r--plugins/jetpack/modules/theme-tools/infinite-scroll.php13
-rw-r--r--plugins/jetpack/modules/theme-tools/random-redirect.php92
-rw-r--r--plugins/jetpack/modules/theme-tools/responsive-videos.php18
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo.php22
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control-rtl.css49
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control-rtl.min.css1
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control.css49
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control.min.css2
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo-control.php128
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo.php41
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/inc/functions.php6
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/js/site-logo-control.js160
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/js/site-logo-control.min.js1
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/js/site-logo.js46
-rw-r--r--plugins/jetpack/modules/theme-tools/site-logo/js/site-logo.min.js1
-rw-r--r--plugins/jetpack/modules/theme-tools/social-links.php21
-rw-r--r--plugins/jetpack/modules/theme-tools/social-menu.php6
-rw-r--r--plugins/jetpack/modules/tiled-gallery.php11
-rw-r--r--plugins/jetpack/modules/tiled-gallery/math/class-constrained-array-rounding.php43
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery.php133
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/carousel-container.php22
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/carousel-image-args.php13
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/item.php20
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-circle.php12
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-item.php81
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-layout.php96
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rectangular.php159
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rtl.css2
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-shape.php252
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-square.php40
-rw-r--r--plugins/jetpack/modules/vaultpress.php13
-rw-r--r--plugins/jetpack/modules/verification-tools/blog-verification-tools.php20
-rw-r--r--plugins/jetpack/modules/verification-tools/verification-tools-utils.php17
-rw-r--r--plugins/jetpack/modules/videopress.php23
-rw-r--r--plugins/jetpack/modules/videopress/class-videopress-attachment-metadata.php47
-rw-r--r--plugins/jetpack/modules/videopress/class.jetpack-videopress.php96
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-ajax.php191
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-cli.php30
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-edit-attachment.php97
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-gutenberg.php83
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-options.php28
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-player.php98
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-scheduler.php28
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-video.php40
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-xmlrpc.php22
-rw-r--r--plugins/jetpack/modules/videopress/css/editor-rtl.css54
-rw-r--r--plugins/jetpack/modules/videopress/css/editor-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/videopress/css/editor.min.css3
-rw-r--r--plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.css29
-rw-r--r--plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/videopress/css/videopress-editor-style.min.css3
-rw-r--r--plugins/jetpack/modules/videopress/editor-media-view.php43
-rw-r--r--plugins/jetpack/modules/videopress/js/gutenberg-video-upload.js2
-rw-r--r--plugins/jetpack/modules/videopress/js/videopress-add-resumable-upload-support.js1
-rw-r--r--plugins/jetpack/modules/videopress/js/videopress-token-bridge.js54
-rw-r--r--plugins/jetpack/modules/videopress/shortcode.php45
-rw-r--r--plugins/jetpack/modules/videopress/utility-functions.php100
-rw-r--r--plugins/jetpack/modules/videopress/videopress-admin-rtl.css125
-rw-r--r--plugins/jetpack/modules/videopress/videopress-admin-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/videopress/videopress-admin.min.css3
-rw-r--r--plugins/jetpack/modules/waf.php13
-rw-r--r--plugins/jetpack/modules/widget-visibility.php8
-rw-r--r--plugins/jetpack/modules/widget-visibility/widget-conditions.php176
-rw-r--r--plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.css214
-rw-r--r--plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions.min.css3
-rw-r--r--plugins/jetpack/modules/widgets.php35
-rw-r--r--plugins/jetpack/modules/widgets/authors.php87
-rw-r--r--plugins/jetpack/modules/widgets/blog-stats.php14
-rw-r--r--plugins/jetpack/modules/widgets/class-jetpack-eu-cookie-law-widget.php (renamed from plugins/jetpack/modules/widgets/eu-cookie-law.php)42
-rw-r--r--plugins/jetpack/modules/widgets/contact-info.php2
-rw-r--r--plugins/jetpack/modules/widgets/eu-cookie-law/form.php37
-rw-r--r--plugins/jetpack/modules/widgets/eu-cookie-law/widget.php10
-rw-r--r--plugins/jetpack/modules/widgets/facebook-likebox.php175
-rw-r--r--plugins/jetpack/modules/widgets/flickr.php30
-rw-r--r--plugins/jetpack/modules/widgets/flickr/form.php30
-rw-r--r--plugins/jetpack/modules/widgets/flickr/widget.php11
-rw-r--r--plugins/jetpack/modules/widgets/gallery.php119
-rw-r--r--plugins/jetpack/modules/widgets/gallery/css/admin-rtl.css15
-rw-r--r--plugins/jetpack/modules/widgets/gallery/css/admin-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/widgets/gallery/css/admin.min.css3
-rw-r--r--plugins/jetpack/modules/widgets/gallery/templates/form.php82
-rw-r--r--plugins/jetpack/modules/widgets/goodreads.php115
-rw-r--r--plugins/jetpack/modules/widgets/google-translate.php46
-rw-r--r--plugins/jetpack/modules/widgets/gravatar-profile.php179
-rw-r--r--plugins/jetpack/modules/widgets/image-widget.php168
-rw-r--r--plugins/jetpack/modules/widgets/internet-defense-league.php136
-rw-r--r--plugins/jetpack/modules/widgets/mailchimp.php13
-rw-r--r--plugins/jetpack/modules/widgets/migrate-to-core/image-widget.php8
-rw-r--r--plugins/jetpack/modules/widgets/my-community.php13
-rw-r--r--plugins/jetpack/modules/widgets/simple-payments.php137
-rw-r--r--plugins/jetpack/modules/widgets/simple-payments/admin-warning.php17
-rw-r--r--plugins/jetpack/modules/widgets/simple-payments/form.php33
-rw-r--r--plugins/jetpack/modules/widgets/simple-payments/widget.php9
-rw-r--r--plugins/jetpack/modules/widgets/top-posts.php128
-rw-r--r--plugins/jetpack/modules/widgets/wordpress-post-widget.php19
-rw-r--r--plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget-base.php165
-rw-r--r--plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget.php48
-rw-r--r--plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php2
-rw-r--r--plugins/jetpack/modules/woocommerce-analytics/classes/wp-woocommerce-analytics-universal.php403
-rw-r--r--plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php94
-rw-r--r--plugins/jetpack/modules/wordads/class-wordads.php12
-rw-r--r--plugins/jetpack/modules/wordads/php/admin.php49
-rw-r--r--plugins/jetpack/modules/wordads/php/api.php146
-rw-r--r--plugins/jetpack/modules/wordads/php/class-wordads-api.php127
-rw-r--r--plugins/jetpack/modules/wordads/php/class-wordads-california-privacy.php8
-rw-r--r--plugins/jetpack/modules/wordads/php/class-wordads-params.php17
-rw-r--r--plugins/jetpack/modules/wordads/php/class-wordads-sidebar-widget.php14
-rw-r--r--plugins/jetpack/modules/wordads/php/cron.php48
-rw-r--r--plugins/jetpack/modules/wordads/php/params.php228
-rw-r--r--plugins/jetpack/modules/wordads/php/widgets.php115
-rw-r--r--plugins/jetpack/modules/wordads/wordads.php717
-rw-r--r--plugins/jetpack/modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php23
-rw-r--r--plugins/jetpack/readme.txt72
-rw-r--r--plugins/jetpack/require-lib.php12
-rw-r--r--plugins/jetpack/sal/class.json-api-date.php39
-rw-r--r--plugins/jetpack/sal/class.json-api-links.php266
-rw-r--r--plugins/jetpack/sal/class.json-api-metadata.php51
-rw-r--r--plugins/jetpack/sal/class.json-api-platform-jetpack.php28
-rw-r--r--plugins/jetpack/sal/class.json-api-platform.php34
-rw-r--r--plugins/jetpack/sal/class.json-api-post-base.php580
-rw-r--r--plugins/jetpack/sal/class.json-api-post-jetpack.php61
-rw-r--r--plugins/jetpack/sal/class.json-api-site-base.php802
-rw-r--r--plugins/jetpack/sal/class.json-api-site-jetpack-base.php251
-rw-r--r--plugins/jetpack/sal/class.json-api-site-jetpack.php376
-rw-r--r--plugins/jetpack/sal/class.json-api-token.php130
-rw-r--r--plugins/jetpack/src/class-tracking.php2
-rw-r--r--plugins/jetpack/vendor/autoload.php7
-rw-r--r--plugins/jetpack/vendor/autoload_packages.php2
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-abtest/src/class-abtest.php102
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-assets/src/class-assets.php56
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-backup/actions.php13
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-backup/src/class-helper-script-manager.php347
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-backup/src/class-package-version.php2
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-compat/functions.php25
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-client.php90
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php359
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php28
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php230
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpacktracking.php47
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-compat/lib/tracks/client.php41
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-config/src/class-config.php200
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php124
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php68
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php346
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php943
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php13
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php457
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/src/class-manager.php2170
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version.php2
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-connector.php54
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/src/class-urls.php2
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/src/class-utils.php76
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php80
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/src/interface-manager.php17
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-constants/src/class-constants.php111
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-error/src/class-error.php15
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm-rtl.css490
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm-rtl.min.css5
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm.css489
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm.min.css3
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-jitm.php643
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-logo/src/class-logo.php71
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-options/legacy/class-jetpack-options.php646
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-partner/src/class-partner.php152
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-roles/src/class-roles.php83
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-status/src/class-status.php151
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-actions.php779
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-defaults.php1238
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-functions.php607
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-json-deflate-array-codec.php136
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-listener.php441
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-lock.php65
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-main.php65
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-modules.php159
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-package-version.php2
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-queue-buffer.php80
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-queue.php706
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-replicastore.php1489
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-sender.php855
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-server.php190
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-settings.php442
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-simple-codec.php63
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-users.php150
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/class-utils.php67
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/interface-codec.php44
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/interface-replicastore.php566
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-attachments.php95
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-callables.php522
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-comments.php411
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-constants.php285
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php404
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-full-sync.php673
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-import.php218
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-menus.php143
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-meta.php81
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-module.php582
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-network-options.php271
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-options.php375
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-plugins.php413
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-posts.php671
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-protect.php53
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-stats.php66
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-term-relationships.php244
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-terms.php294
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-themes.php856
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-updates.php527
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-users.php865
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php557
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-wp-super-cache.php156
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php116
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php228
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php189
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-tracking/src/class-tracking.php202
-rw-r--r--plugins/jetpack/vendor/composer/ClassLoader.php2
-rw-r--r--plugins/jetpack/vendor/composer/InstalledVersions.php15
-rw-r--r--plugins/jetpack/vendor/composer/autoload_classmap.php94
-rw-r--r--plugins/jetpack/vendor/composer/autoload_classmap_package.php314
-rw-r--r--plugins/jetpack/vendor/composer/autoload_files.php4
-rw-r--r--plugins/jetpack/vendor/composer/autoload_namespaces.php2
-rw-r--r--plugins/jetpack/vendor/composer/autoload_psr4.php2
-rw-r--r--plugins/jetpack/vendor/composer/autoload_real.php40
-rw-r--r--plugins/jetpack/vendor/composer/autoload_static.php104
-rw-r--r--plugins/jetpack/vendor/composer/installed.json890
-rw-r--r--plugins/jetpack/vendor/composer/installed.php234
-rw-r--r--plugins/jetpack/vendor/composer/jetpack_autoload_classmap.php1006
-rw-r--r--plugins/jetpack/vendor/composer/jetpack_autoload_filemap.php14
-rw-r--r--plugins/jetpack/vendor/composer/platform_check.php4
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-handler.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-locator.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-autoloader.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-container.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-hook-manager.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-latest-autoloader-guard.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-manifest-reader.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-path-processor.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-plugin-locator.php5
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-plugins-handler.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-shutdown-handler.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-version-loader.php2
-rw-r--r--plugins/jetpack/vendor/jetpack-autoloader/class-version-selector.php4
-rw-r--r--plugins/jetpack/vendor/wikimedia/aho-corasick/LICENSE202
-rw-r--r--plugins/jetpack/vendor/wikimedia/aho-corasick/NOTICE2
-rw-r--r--plugins/jetpack/vendor/wikimedia/aho-corasick/README.md56
-rw-r--r--plugins/jetpack/vendor/wikimedia/aho-corasick/bench/bench.php75
-rw-r--r--plugins/jetpack/vendor/wikimedia/aho-corasick/bench/check.php42
-rw-r--r--plugins/jetpack/vendor/wikimedia/aho-corasick/src/MultiStringMatcher.php230
-rw-r--r--plugins/jetpack/vendor/wikimedia/aho-corasick/src/MultiStringReplacer.php96
-rw-r--r--plugins/jetpack/views/admin/must-connect-main-blog.php10
-rw-r--r--plugins/jetpack/views/admin/network-activated-notice.php19
-rw-r--r--plugins/jetpack/views/admin/network-admin-alert.php6
-rw-r--r--plugins/jetpack/views/admin/network-admin-footer.php6
-rw-r--r--plugins/jetpack/views/admin/network-admin-header.php11
-rw-r--r--plugins/openid/.editorconfig11
-rw-r--r--plugins/openid/admin_panels.php779
-rw-r--r--plugins/openid/comments.php26
-rw-r--r--plugins/openid/common.php44
-rw-r--r--plugins/openid/consumer.php24
-rw-r--r--plugins/openid/lib/Auth/OpenID.php30
-rw-r--r--plugins/openid/lib/Auth/OpenID/AX.php28
-rw-r--r--plugins/openid/lib/Auth/OpenID/Association.php93
-rw-r--r--plugins/openid/lib/Auth/OpenID/BigMath.php29
-rw-r--r--plugins/openid/lib/Auth/OpenID/Consumer.php134
-rw-r--r--plugins/openid/lib/Auth/OpenID/DatabaseConnection.php10
-rw-r--r--plugins/openid/lib/Auth/OpenID/Discover.php93
-rw-r--r--plugins/openid/lib/Auth/OpenID/FileStore.php32
-rw-r--r--plugins/openid/lib/Auth/OpenID/Interface.php2
-rw-r--r--plugins/openid/lib/Auth/OpenID/KVForm.php4
-rw-r--r--plugins/openid/lib/Auth/OpenID/MDB2Store.php138
-rw-r--r--plugins/openid/lib/Auth/OpenID/MemcachedStore.php2
-rw-r--r--plugins/openid/lib/Auth/OpenID/Message.php119
-rw-r--r--plugins/openid/lib/Auth/OpenID/Nonce.php2
-rw-r--r--plugins/openid/lib/Auth/OpenID/PAPE.php25
-rw-r--r--plugins/openid/lib/Auth/OpenID/Parse.php42
-rw-r--r--plugins/openid/lib/Auth/OpenID/PostgreSQLStore.php27
-rw-r--r--plugins/openid/lib/Auth/OpenID/SQLStore.php114
-rw-r--r--plugins/openid/lib/Auth/OpenID/SReg.php42
-rw-r--r--plugins/openid/lib/Auth/OpenID/Server.php86
-rw-r--r--plugins/openid/lib/Auth/OpenID/TrustRoot.php22
-rw-r--r--plugins/openid/lib/Auth/OpenID/URINorm.php14
-rw-r--r--plugins/openid/lib/Auth/Yadis/HTTPFetcher.php2
-rw-r--r--plugins/openid/lib/Auth/Yadis/Manager.php44
-rw-r--r--plugins/openid/lib/Auth/Yadis/Misc.php50
-rw-r--r--plugins/openid/lib/Auth/Yadis/ParanoidHTTPFetcher.php14
-rw-r--r--plugins/openid/lib/Auth/Yadis/ParseHTML.php47
-rw-r--r--plugins/openid/lib/Auth/Yadis/PlainHTTPFetcher.php29
-rw-r--r--plugins/openid/lib/Auth/Yadis/XML.php26
-rw-r--r--plugins/openid/lib/Auth/Yadis/XRDS.php44
-rw-r--r--plugins/openid/lib/Auth/Yadis/XRI.php10
-rw-r--r--plugins/openid/lib/Auth/Yadis/XRIRes.php12
-rw-r--r--plugins/openid/lib/Auth/Yadis/Yadis.php28
-rw-r--r--plugins/openid/localization/openid.pot323
-rw-r--r--plugins/openid/login.php148
-rw-r--r--plugins/openid/openid.php6
-rw-r--r--plugins/openid/readme.txt17
-rw-r--r--plugins/openid/server.php65
-rw-r--r--plugins/openid/server_ext.php14
-rw-r--r--plugins/openid/store.php417
1735 files changed, 77595 insertions, 82723 deletions
diff --git a/plugins/jetpack/.svnignore b/plugins/jetpack/.svnignore
deleted file mode 100644
index 5c764ee9..00000000
--- a/plugins/jetpack/.svnignore
+++ /dev/null
@@ -1,8 +0,0 @@
-.git/
-.gitignore
-.travis.yml
-readme.md
-tests/
-_inc/lib/icalendar-reader.php
-modules/shortcodes/upcoming-events.php
-modules/widgets/upcoming-events.php
diff --git a/plugins/jetpack/3rd-party/bbpress.php b/plugins/jetpack/3rd-party/bbpress.php
index 86d6f13f..4db4523a 100644
--- a/plugins/jetpack/3rd-party/bbpress.php
+++ b/plugins/jetpack/3rd-party/bbpress.php
@@ -23,7 +23,7 @@ function jetpack_bbpress_compat() {
*
* @since 8.5.0 Moved from root-level file and check_rest_api_compat()
*/
- require_once 'class-jetpack-bbpress-rest-api.php';
+ require_once __DIR__ . '/class-jetpack-bbpress-rest-api.php';
Jetpack_BbPress_REST_API::instance();
// Adds sharing buttons to bbPress items.
diff --git a/plugins/jetpack/3rd-party/class-domain-mapping.php b/plugins/jetpack/3rd-party/class-domain-mapping.php
index dd0cdaa5..5f031166 100644
--- a/plugins/jetpack/3rd-party/class-domain-mapping.php
+++ b/plugins/jetpack/3rd-party/class-domain-mapping.php
@@ -39,7 +39,7 @@ class Domain_Mapping {
* @return Domain_Mapping|null
*/
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new Domain_Mapping();
}
diff --git a/plugins/jetpack/3rd-party/class-jetpack-crm-data.php b/plugins/jetpack/3rd-party/class-jetpack-crm-data.php
index 21c01ce5..85de4a1e 100644
--- a/plugins/jetpack/3rd-party/class-jetpack-crm-data.php
+++ b/plugins/jetpack/3rd-party/class-jetpack-crm-data.php
@@ -22,8 +22,7 @@ class Jetpack_CRM_Data {
* @return array An array containing the Jetpack CRM plugin data.
*/
public function get_crm_data() {
- jetpack_require_lib( 'plugins' );
- $plugins = \Jetpack_Plugins::get_plugins();
+ $plugins = Plugins_Installer::get_plugins();
// Set default values.
$response = array(
diff --git a/plugins/jetpack/3rd-party/class-jetpack-modules-overrides.php b/plugins/jetpack/3rd-party/class-jetpack-modules-overrides.php
index cd576ac1..61f6c509 100644
--- a/plugins/jetpack/3rd-party/class-jetpack-modules-overrides.php
+++ b/plugins/jetpack/3rd-party/class-jetpack-modules-overrides.php
@@ -67,7 +67,7 @@ class Jetpack_Modules_Overrides {
* @return array The array of module overrides.
*/
public function get_overrides( $use_cache = true ) {
- if ( $use_cache && ! is_null( $this->overrides ) ) {
+ if ( $use_cache && $this->overrides !== null ) {
return $this->overrides;
}
@@ -131,7 +131,7 @@ class Jetpack_Modules_Overrides {
* @return Jetpack_Modules_Overrides
*/
public static function instance() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new Jetpack_Modules_Overrides();
}
diff --git a/plugins/jetpack/3rd-party/class.jetpack-amp-support.php b/plugins/jetpack/3rd-party/class.jetpack-amp-support.php
index 304f4ebd..bf9b2fb4 100644
--- a/plugins/jetpack/3rd-party/class.jetpack-amp-support.php
+++ b/plugins/jetpack/3rd-party/class.jetpack-amp-support.php
@@ -124,6 +124,17 @@ class Jetpack_AMP_Support {
}
/**
+ * Determines whether the legacy AMP post templates are being used.
+ *
+ * @since 10.6.0
+ *
+ * @return bool
+ */
+ public static function is_amp_legacy() {
+ return ( function_exists( 'amp_is_legacy' ) && amp_is_legacy() );
+ }
+
+ /**
* Remove content filters added by Jetpack.
*/
public static function amp_disable_the_content_filters() {
@@ -426,7 +437,11 @@ class Jetpack_AMP_Support {
* Enqueues the AMP specific sharing styles for the sharing icons.
*/
public static function amp_enqueue_sharing_css() {
- if ( self::is_amp_request() ) {
+ if (
+ Jetpack::is_module_active( 'sharedaddy' )
+ && self::is_amp_request()
+ && ! self::is_amp_legacy()
+ ) {
wp_enqueue_style( 'sharedaddy-amp', plugin_dir_url( __DIR__ ) . 'modules/sharedaddy/amp-sharing.css', array( 'social-logos' ), JETPACK__VERSION );
}
}
@@ -436,7 +451,7 @@ class Jetpack_AMP_Support {
*/
public static function amp_reader_sharing_css() {
// If sharing is not enabled, we should not proceed to render the CSS.
- if ( ! defined( 'JETPACK_SOCIAL_LOGOS_DIR' ) | ! defined( 'JETPACK_SOCIAL_LOGOS_URL' ) || ! defined( 'WP_SHARING_PLUGIN_DIR' ) ) {
+ if ( ! defined( 'JETPACK_SOCIAL_LOGOS_DIR' ) || ! defined( 'JETPACK_SOCIAL_LOGOS_URL' ) || ! defined( 'WP_SHARING_PLUGIN_DIR' ) ) {
return;
}
diff --git a/plugins/jetpack/3rd-party/class.jetpack-modules-overrides.php b/plugins/jetpack/3rd-party/class.jetpack-modules-overrides.php
deleted file mode 100644
index f0d86be9..00000000
--- a/plugins/jetpack/3rd-party/class.jetpack-modules-overrides.php
+++ /dev/null
@@ -1,143 +0,0 @@
-<?php
-
-/**
- * Provides methods for dealing with module overrides.
- *
- * @since 5.9.0
- */
-class Jetpack_Modules_Overrides {
- /**
- * Used to cache module overrides so that we minimize how many times we appy the
- * option_jetpack_active_modules filter.
- *
- * @var null|array
- */
- private $overrides = null;
-
- /**
- * Clears the $overrides member used for caching.
- *
- * Since get_overrides() can be passed a falsey value to skip caching, this is probably
- * most useful for clearing cache between tests.
- *
- * @return void
- */
- public function clear_cache() {
- $this->overrides = null;
- }
-
- /**
- * Returns true if there is a filter on the jetpack_active_modules option.
- *
- * @return bool Whether there is a filter on the jetpack_active_modules option.
- */
- public function do_overrides_exist() {
- return (bool) ( has_filter( 'option_jetpack_active_modules' ) || has_filter( 'jetpack_active_modules' ) );
- }
-
- /**
- * Gets the override for a given module.
- *
- * @param string $module_slug The module's slug.
- * @param boolean $use_cache Whether or not cached overrides should be used.
- *
- * @return bool|string False if no override for module. 'active' or 'inactive' if there is an override.
- */
- public function get_module_override( $module_slug, $use_cache = true ) {
- $overrides = $this->get_overrides( $use_cache );
-
- if ( ! isset( $overrides[ $module_slug ] ) ) {
- return false;
- }
-
- return $overrides[ $module_slug ];
- }
-
- /**
- * Returns an array of module overrides where the key is the module slug and the value
- * is true if the module is forced on and false if the module is forced off.
- *
- * @param bool $use_cache Whether or not cached overrides should be used.
- *
- * @return array The array of module overrides.
- */
- public function get_overrides( $use_cache = true ) {
- if ( $use_cache && ! is_null( $this->overrides ) ) {
- return $this->overrides;
- }
-
- if ( ! $this->do_overrides_exist() ) {
- return array();
- }
-
- $available_modules = Jetpack::get_available_modules();
-
- /**
- * First, let's get all modules that have been forced on.
- */
-
- /** This filter is documented in wp-includes/option.php */
- $filtered = apply_filters( 'option_jetpack_active_modules', array() );
-
- /** This filter is documented in class.jetpack.php */
- $filtered = apply_filters( 'jetpack_active_modules', $filtered );
-
- $forced_on = array_diff( $filtered, array() );
-
- /**
- * Second, let's get all modules forced off.
- */
-
- /** This filter is documented in wp-includes/option.php */
- $filtered = apply_filters( 'option_jetpack_active_modules', $available_modules );
-
- /** This filter is documented in class.jetpack.php */
- $filtered = apply_filters( 'jetpack_active_modules', $filtered );
-
- $forced_off = array_diff( $available_modules, $filtered );
-
- /**
- * Last, build the return value.
- */
- $return_value = array();
- foreach ( $forced_on as $on ) {
- $return_value[ $on ] = 'active';
- }
-
- foreach ( $forced_off as $off ) {
- $return_value[ $off ] = 'inactive';
- }
-
- $this->overrides = $return_value;
-
- return $return_value;
- }
-
- /**
- * A reference to an instance of this class.
- *
- * @var Jetpack_Modules_Overrides
- */
- private static $instance = null;
-
- /**
- * Returns the singleton instance of Jetpack_Modules_Overrides
- *
- * @return Jetpack_Modules_Overrides
- */
- public static function instance() {
- if ( is_null( self::$instance ) ) {
- self::$instance = new Jetpack_Modules_Overrides();
- }
-
- return self::$instance;
- }
-
- /**
- * Private construct to enforce singleton.
- */
- private function __construct() {
- }
-}
-
-Jetpack_Modules_Overrides::instance();
diff --git a/plugins/jetpack/3rd-party/creative-mail.php b/plugins/jetpack/3rd-party/creative-mail.php
index 957a8a2d..a3b8427c 100644
--- a/plugins/jetpack/3rd-party/creative-mail.php
+++ b/plugins/jetpack/3rd-party/creative-mail.php
@@ -10,6 +10,8 @@
namespace Automattic\Jetpack\Creative_Mail;
+use Automattic\Jetpack\Plugins_Installer;
+
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
@@ -67,8 +69,7 @@ function try_install() {
* @return bool result of installation
*/
function install_and_activate() {
- jetpack_require_lib( 'plugins' );
- $result = \Jetpack_Plugins::install_and_activate_plugin( PLUGIN_SLUG );
+ $result = Plugins_Installer::install_and_activate_plugin( PLUGIN_SLUG );
if ( is_wp_error( $result ) ) {
return false;
@@ -86,7 +87,7 @@ function activate() {
$result = activate_plugin( PLUGIN_FILE );
// Activate_plugin() returns null on success.
- return is_null( $result );
+ return $result === null;
}
/**
diff --git a/plugins/jetpack/3rd-party/debug-bar/class-jetpack-search-debug-bar.php b/plugins/jetpack/3rd-party/debug-bar/class-jetpack-search-debug-bar.php
index 73e272c3..3eb4f0d2 100644
--- a/plugins/jetpack/3rd-party/debug-bar/class-jetpack-search-debug-bar.php
+++ b/plugins/jetpack/3rd-party/debug-bar/class-jetpack-search-debug-bar.php
@@ -5,6 +5,8 @@
* @package automattic/jetpack
*/
+use Automattic\Jetpack\Search as Jetpack_Search;
+
/**
* Singleton class instantiated by Jetpack_Searc_Debug_Bar::instance() that handles
* rendering the Jetpack Search debug bar menu item and panel.
@@ -41,7 +43,7 @@ class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
* @return Jetpack_Search_Debug_Bar
*/
public static function instance() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new Jetpack_Search_Debug_Bar();
}
return self::$instance;
@@ -91,11 +93,17 @@ class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
* @return void
*/
public function render() {
- if ( ! class_exists( 'Jetpack_Search' ) ) {
+ $jetpack_search = (
+ Jetpack_Search\Options::is_instant_enabled() ?
+ Jetpack_Search\Instant_Search::instance() :
+ Jetpack_Search\Classic_Search::instance()
+ );
+
+ // Search hasn't been initialized. Exit early and do not display the debug bar.
+ if ( ! method_exists( $jetpack_search, 'get_last_query_info' ) ) {
return;
}
- $jetpack_search = Jetpack_Search::instance();
$last_query_info = $jetpack_search->get_last_query_info();
// If not empty, let's reshuffle the order of some things.
@@ -108,7 +116,7 @@ class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
unset( $last_query_info['response'] );
unset( $last_query_info['response_code'] );
- if ( is_null( $last_query_info['es_time'] ) ) {
+ if ( $last_query_info['es_time'] === null ) {
$last_query_info['es_time'] = esc_html_x(
'cache hit',
'displayed in search results when results are cached',
diff --git a/plugins/jetpack/3rd-party/debug-bar/class.jetpack-search-debug-bar.php b/plugins/jetpack/3rd-party/debug-bar/class.jetpack-search-debug-bar.php
deleted file mode 100644
index 025f7c21..00000000
--- a/plugins/jetpack/3rd-party/debug-bar/class.jetpack-search-debug-bar.php
+++ /dev/null
@@ -1,173 +0,0 @@
-<?php
-
-/**
- * Singleton class instantiated by Jetpack_Searc_Debug_Bar::instance() that handles
- * rendering the Jetpack Search debug bar menu item and panel.
- */
-class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
- /**
- * Holds singleton instance
- *
- * @var Jetpack_Search_Debug_Bar
- */
- protected static $instance = null;
-
- /**
- * The title to use in the debug bar navigation
- *
- * @var string
- */
- public $title;
-
- /**
- * Constructor
- */
- public function __construct() {
- $this->title( esc_html__( 'Jetpack Search', 'jetpack' ) );
- add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
- add_action( 'login_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
- add_action( 'enqueue_embed_scripts', array( $this, 'enqueue_scripts' ) );
- }
-
- /**
- * Returns the singleton instance of Jetpack_Search_Debug_Bar
- *
- * @return Jetpack_Search_Debug_Bar
- */
- public static function instance() {
- if ( is_null( self::$instance ) ) {
- self::$instance = new Jetpack_Search_Debug_Bar();
- }
- return self::$instance;
- }
-
- /**
- * Enqueues styles for our panel in the debug bar
- *
- * @return void
- */
- public function enqueue_scripts() {
- // Do not enqueue scripts if we haven't already enqueued Debug Bar or Query Monitor styles.
- if ( ! wp_style_is( 'debug-bar' ) && ! wp_style_is( 'query-monitor' ) ) {
- return;
- }
-
- wp_enqueue_style(
- 'jetpack-search-debug-bar',
- plugins_url( '3rd-party/debug-bar/debug-bar.css', JETPACK__PLUGIN_FILE )
- );
- wp_enqueue_script(
- 'jetpack-search-debug-bar',
- plugins_url( '3rd-party/debug-bar/debug-bar.js', JETPACK__PLUGIN_FILE ),
- array( 'jquery' )
- );
- }
-
- /**
- * Should the Jetpack Search Debug Bar show?
- *
- * Since we've previously done a check for the search module being activated, let's just return true.
- * Later on, we can update this to only show when `is_search()` is true.
- *
- * @return boolean
- */
- public function is_visible() {
- return true;
- }
-
- /**
- * Renders the panel content
- *
- * @return void
- */
- public function render() {
- if ( ! class_exists( 'Jetpack_Search' ) ) {
- return;
- }
-
- $jetpack_search = Jetpack_Search::instance();
- $last_query_info = $jetpack_search->get_last_query_info();
-
- // If not empty, let's reshuffle the order of some things.
- if ( ! empty( $last_query_info ) ) {
- $args = $last_query_info['args'];
- $response = $last_query_info['response'];
- $response_code = $last_query_info['response_code'];
-
- unset( $last_query_info['args'] );
- unset( $last_query_info['response'] );
- unset( $last_query_info['response_code'] );
-
- if ( is_null( $last_query_info['es_time'] ) ) {
- $last_query_info['es_time'] = esc_html_x(
- 'cache hit',
- 'displayed in search results when results are cached',
- 'jetpack'
- );
- }
-
- $temp = array_merge(
- array( 'response_code' => $response_code ),
- array( 'args' => $args ),
- $last_query_info,
- array( 'response' => $response )
- );
-
- $last_query_info = $temp;
- }
- ?>
- <div class="jetpack-search-debug-bar">
- <h2><?php esc_html_e( 'Last query information:', 'jetpack' ); ?></h2>
- <?php if ( empty( $last_query_info ) ) : ?>
- <?php echo esc_html_x( 'None', 'Text displayed when there is no information', 'jetpack' ); ?>
- <?php
- else :
- foreach ( $last_query_info as $key => $info ) :
- ?>
- <h3><?php echo esc_html( $key ); ?></h3>
- <?php
- if ( 'response' !== $key && 'args' !== $key ) :
- ?>
- <pre><?php print_r( esc_html( $info ) ); ?></pre>
- <?php
- else :
- $this->render_json_toggle( $info );
- endif;
- ?>
- <?php
- endforeach;
- endif;
- ?>
- </div><!-- Closes .jetpack-search-debug-bar -->
- <?php
- }
-
- /**
- * Responsible for rendering the HTML necessary for the JSON toggle
- *
- * @param array $value The resonse from the API as an array.
- * @return void
- */
- public function render_json_toggle( $value ) {
- ?>
- <div class="json-toggle-wrap">
- <pre class="json"><?php
- // esc_html() will not double-encode entities (&amp; -> &amp;amp;).
- // If any entities are part of the JSON blob, we want to re-encoode them
- // (double-encode them) so that they are displayed correctly in the debug
- // bar.
- // Use _wp_specialchars() "manually" to ensure entities are encoded correctly.
- echo _wp_specialchars(
- wp_json_encode( $value ),
- ENT_NOQUOTES, // Don't need to encode quotes (output is for a text node).
- 'UTF-8', // wp_json_encode() outputs UTF-8 (really just ASCII), not the blog's charset.
- true // Do "double-encode" existing HTML entities
- );
- ?></pre>
- <span class="pretty toggle"><?php echo esc_html_x( 'Pretty', 'label for formatting JSON', 'jetpack' ); ?></span>
- <span class="ugly toggle"><?php echo esc_html_x( 'Minify', 'label for formatting JSON', 'jetpack' ); ?></span>
- </div>
- <?php
- }
-}
diff --git a/plugins/jetpack/3rd-party/domain-mapping.php b/plugins/jetpack/3rd-party/domain-mapping.php
deleted file mode 100644
index ebf08439..00000000
--- a/plugins/jetpack/3rd-party/domain-mapping.php
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-
-use Automattic\Jetpack\Constants;
-
-/**
- * Class Jetpack_3rd_Party_Domain_Mapping
- *
- * This class contains methods that are used to provide compatibility between Jetpack sync and domain mapping plugins.
- */
-class Jetpack_3rd_Party_Domain_Mapping {
-
- /**
- * @var Jetpack_3rd_Party_Domain_Mapping
- **/
- private static $instance = null;
-
- /**
- * An array of methods that are used to hook the Jetpack sync filters for home_url and site_url to a mapping plugin.
- *
- * @var array
- */
- static $test_methods = array(
- 'hook_wordpress_mu_domain_mapping',
- 'hook_wpmu_dev_domain_mapping'
- );
-
- static function init() {
- if ( is_null( self::$instance ) ) {
- self::$instance = new Jetpack_3rd_Party_Domain_Mapping;
- }
-
- return self::$instance;
- }
-
- private function __construct() {
- add_action( 'plugins_loaded', array( $this, 'attempt_to_hook_domain_mapping_plugins' ) );
- }
-
- /**
- * This function is called on the plugins_loaded action and will loop through the $test_methods
- * to try and hook a domain mapping plugin to the Jetpack sync filters for the home_url and site_url callables.
- */
- function attempt_to_hook_domain_mapping_plugins() {
- if ( ! Constants::is_defined( 'SUNRISE' ) ) {
- return;
- }
-
- $hooked = false;
- $count = count( self::$test_methods );
- for ( $i = 0; $i < $count && ! $hooked; $i++ ) {
- $hooked = call_user_func( array( $this, self::$test_methods[ $i ] ) );
- }
- }
-
- /**
- * This method will test for a constant and function that are known to be used with Donncha's WordPress MU
- * Domain Mapping plugin. If conditions are met, we hook the domain_mapping_siteurl() function to Jetpack sync
- * filters for home_url and site_url callables.
- *
- * @return bool
- */
- function hook_wordpress_mu_domain_mapping() {
- if ( ! Constants::is_defined( 'SUNRISE_LOADED' ) || ! $this->function_exists( 'domain_mapping_siteurl' ) ) {
- return false;
- }
-
- add_filter( 'jetpack_sync_home_url', 'domain_mapping_siteurl' );
- add_filter( 'jetpack_sync_site_url', 'domain_mapping_siteurl' );
-
- return true;
- }
-
- /**
- * This method will test for a class and method known to be used in WPMU Dev's domain mapping plugin. If the
- * method exists, then we'll hook the swap_to_mapped_url() to our Jetpack sync filters for home_url and site_url.
- *
- * @return bool
- */
- function hook_wpmu_dev_domain_mapping() {
- if ( ! $this->class_exists( 'domain_map' ) || ! $this->method_exists( 'domain_map', 'utils' ) ) {
- return false;
- }
-
- $utils = $this->get_domain_mapping_utils_instance();
- add_filter( 'jetpack_sync_home_url', array( $utils, 'swap_to_mapped_url' ) );
- add_filter( 'jetpack_sync_site_url', array( $utils, 'swap_to_mapped_url' ) );
-
- return true;
- }
-
- /*
- * Utility Methods
- *
- * These methods are very minimal, and in most cases, simply pass on arguments. Why create them you ask?
- * So that we can test.
- */
-
- public function method_exists( $class, $method ) {
- return method_exists( $class, $method );
- }
-
- public function class_exists( $class ) {
- return class_exists( $class );
- }
-
- public function function_exists( $function ) {
- return function_exists( $function );
- }
-
- public function get_domain_mapping_utils_instance() {
- return domain_map::utils();
- }
-}
-
-Jetpack_3rd_Party_Domain_Mapping::init();
diff --git a/plugins/jetpack/3rd-party/jetpack-backup.php b/plugins/jetpack/3rd-party/jetpack-backup.php
index ec1880b3..50872fba 100644
--- a/plugins/jetpack/3rd-party/jetpack-backup.php
+++ b/plugins/jetpack/3rd-party/jetpack-backup.php
@@ -10,6 +10,8 @@
namespace Automattic\Jetpack\Jetpack_Backup;
+use Automattic\Jetpack\Plugins_Installer;
+
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
@@ -67,8 +69,7 @@ function try_install() {
* @return bool result of installation
*/
function install_and_activate() {
- jetpack_require_lib( 'plugins' );
- $result = \Jetpack_Plugins::install_and_activate_plugin( PLUGIN_SLUG );
+ $result = Plugins_Installer::install_and_activate_plugin( PLUGIN_SLUG );
if ( is_wp_error( $result ) ) {
return false;
@@ -86,7 +87,7 @@ function activate() {
$result = activate_plugin( PLUGIN_FILE );
// Activate_plugin() returns null on success.
- return is_null( $result );
+ return $result === null;
}
/**
diff --git a/plugins/jetpack/3rd-party/jetpack-boost.php b/plugins/jetpack/3rd-party/jetpack-boost.php
index 328078c1..71246c69 100644
--- a/plugins/jetpack/3rd-party/jetpack-boost.php
+++ b/plugins/jetpack/3rd-party/jetpack-boost.php
@@ -10,6 +10,8 @@
namespace Automattic\Jetpack\Jetpack_Boost;
+use Automattic\Jetpack\Plugins_Installer;
+
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
@@ -67,8 +69,7 @@ function try_install() {
* @return bool result of installation
*/
function install_and_activate() {
- jetpack_require_lib( 'plugins' );
- $result = \Jetpack_Plugins::install_and_activate_plugin( PLUGIN_SLUG );
+ $result = Plugins_Installer::install_and_activate_plugin( PLUGIN_SLUG );
if ( is_wp_error( $result ) ) {
return false;
@@ -86,7 +87,7 @@ function activate() {
$result = activate_plugin( PLUGIN_FILE );
// Activate_plugin() returns null on success.
- return is_null( $result );
+ return $result === null;
}
/**
diff --git a/plugins/jetpack/3rd-party/polldaddy.php b/plugins/jetpack/3rd-party/polldaddy.php
deleted file mode 100644
index ec484829..00000000
--- a/plugins/jetpack/3rd-party/polldaddy.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-class Jetpack_Sync {
- static function sync_options() {
- _deprecated_function( __METHOD__, 'jetpack-4.2', 'jetpack_options_whitelist filter' );
- }
-}
diff --git a/plugins/jetpack/3rd-party/woocommerce-services.php b/plugins/jetpack/3rd-party/woocommerce-services.php
index 87212cdc..a1d156d6 100644
--- a/plugins/jetpack/3rd-party/woocommerce-services.php
+++ b/plugins/jetpack/3rd-party/woocommerce-services.php
@@ -1,5 +1,7 @@
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+use Automattic\Jetpack\Plugins_Installer;
+
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
@@ -29,7 +31,7 @@ class WC_Services_Installer {
* @return object The WC_Services_Installer object.
*/
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new WC_Services_Installer();
}
return self::$instance;
@@ -126,8 +128,7 @@ class WC_Services_Installer {
* @return bool result of installation
*/
private function install() {
- jetpack_require_lib( 'plugins' );
- $result = Jetpack_Plugins::install_plugin( 'woocommerce-services' );
+ $result = Plugins_Installer::install_plugin( 'woocommerce-services' );
if ( is_wp_error( $result ) ) {
return false;
@@ -145,7 +146,7 @@ class WC_Services_Installer {
$result = activate_plugin( 'woocommerce-services/woocommerce-services.php' );
// Activate_plugin() returns null on success.
- return is_null( $result );
+ return $result === null;
}
}
diff --git a/plugins/jetpack/CHANGELOG.md b/plugins/jetpack/CHANGELOG.md
index e2878045..0634c2ca 100644
--- a/plugins/jetpack/CHANGELOG.md
+++ b/plugins/jetpack/CHANGELOG.md
@@ -2,7 +2,696 @@
### This is a list detailing changes for all Jetpack releases.
-## 10.5 - 2022-01-11
+## 11.0 - 2022-06-07
+### Enhancements
+- Publicize: load Publicize only if the Publicize module is active. [#24557]
+- Sharing: update the email sharing button to use mailto links instead of server submissions. [#24040]
+
+### Bug fixes
+- Comments: update UI to reflect that Google accounts are no longer a sign-in option. [#24528]
+- VideoPress: remove strict comparison to fix average color parameter. [#24606]
+- Stats: ensure the Stats column can always be displayed, even when the post type does not support comments. [#24482]
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Added TS check to build process [#24329]
+- Add Jetpack Backup 1GB to several lists/components of supported products [#24541]
+- Admin: update products icons. [#24559]
+- Changed logic to initialize Publicize classes. [#24451]
+- Custom CSS: Add WoA check to prevent duplicate menu item on plan-less sites. [#24631]
+- E2E tests: fix broken Mailchimp test [#24534]
+- Fix changelog and readme [#24488]
+- Infinite scroll: update support for Google Analytics feature to track infinite scroll. [#24533]
+- Init 11.0-a.12 [#24487]
+- Jetpack: correct prices in product descriptions [#24461]
+- Nonce fix for some phpcs likes cleanup [#24490]
+- Number format the number of subscribers in the subscribers panel when publishing a post [#24544]
+- phpcs changes for likes [#24368]
+- Publicize Components: Move the remaining components and hooks required for Jetpack Social [#24464]
+- Refactor to use hasActiveSiteFeature to centralize the source of truth to WPCOM_Features. [#24152]
+- Related Posts: avoid fatal errors when calling related posts with multiple exclusions. [#24629]
+- Sync: Add '_jetpack_blogging_prompt_key' to rest api public metadata via the rest_api_allowed_public_metadata filter [#24515]
+- Updated package dependencies. [#24432]
+- Use correct `COOKIEPATH` constant. [#24516]
+- VideoPress: make sure "false" will be casted as false for useaveragecolor [#24615]
+
+## 11.0-a.11 - 2022-05-24
+### Bug fixes
+- Assistant: fix unclickable banner dismiss button. [#24459]
+- Widget Visibility: avoid PHP warnings when loading widgets in some scenarios. [#24460]
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Blocks: remove PocketCasts embed block variation. [#24463]
+- General: improve consistency of available modules. [#24454]
+- Moved some of the Publicize editor plugin components to the publicize-components package. [#24408]
+- PHPCS: cleanup SAL files. [#23787] [#24388]
+- Publicize: add the post field to the Publicize package. [#24324]
+- Sharing: fix all PHPCS errors. [#24412]
+- Sync callables whitelist: remove 'active_modules' since Sync adds them anyway. [#24453]
+- Unit Tests: fix all PHPCS errors. [#24416]
+- Updated package dependencies. [#24396] [#24449] [#24453] [#24468]
+
+## 11.0-a.9 - 2022-05-19
+### Improved compatibility
+- Stats: remove unnecessary type attribute from style element. [#24427]
+
+### Bug fixes
+- VideoPress: fix validation errors for core video block usage. [#24422]
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Disable whitespace optimization as it can cause invalidation errors with Gutenberg blocks that use inline CSS. [#24069]
+- Update changelog and readme files [#24414] [#24395] [#24419] [#24399]
+
+## 11.0-a.7 - 2022-05-18
+### Enhancements
+- Email subscriptions: update the default body of the "Confirmation request" email. [#24389]
+- Payments Blocks: refactor the product memberships store to reduce complexity and improve speed. [#24333]
+- VideoPress: add support for automatic seekbar color. [#24330]
+
+### Improved compatibility
+- General: improve the connection sharing between Jetpack and standalone plugins. [#24309]
+
+### Bug fixes
+- WAF: add activation/deactivation hooks for WAF feature. [#24153]
+- Publicize: add logic to allow sharing via ajax requests. [#24387]
+- Payment Block: ensure payment block can only auto-select an existing product. [#24407]
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Moved SocialServiceIcon component from Jetpack Icons.js file to js-package/components. Updated it's ref in the Jetpack plugin directory [#23795]
+- Added jetpack v4 publicize end-point. [#24293]
+- Admin Menu: Refactor upsell nudge to be async [#24304]
+- Dashboard: adapt support message wording based on the platform where it is displayed. [#24332]
+- Updated Jetpack Scan feature list. [#23863]
+- Fix new PHPCS sniffs. [#24366]
+- JSON API: update the theme endpoint with information concerning pending updates. [#24392]
+- PHPCS: cleanup VideoPress module files, fixes for infinite scroll and tiled gallery. [#24351] [#24342] [#24352]
+- Remove unused JS client components. [#24319]
+- Remove search widget CTA on uneligible themes [#24386]
+- Updated package dependencies.
+
+## 11.0-a.5 - 2022-05-10
+### Other changes
+- Publicize: Fix namespacing. [#24317]
+
+## 11.0-a.3 - 2022-05-10
+### Enhancements
+- Custom CSS: add support for CSS properties: accent-color, aspect-ratio, gap, text-underline-offset. [#24057]
+- Latest Instagram Posts Block: improve performance of the block by adding lazy load for the images. [#24279]
+- Payment Blocks: reset form data to default values after creating a subscription. [#24175]
+- VideoPress: improve Extensibility of Privacy Setting filter by adding the embedded post id. [#23949]
+- VideoPress: improve help message of VideoPress Privacy Setting at the block level. [#24184]
+
+### Improved compatibility
+- General: improve connection sharing between Jetpack and Jetpack standalone plugins. [#24272]
+
+### Bug fixes
+- Custom CSS: ensure the Additional CSS sub-menu link displays correctly. [#23670]
+- Subscriptions: fix typo in confirmation message. [#24291]
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Custom Content Types: fix PHPCS errors with Nova restaurant menu management. [#24212]
+- Fix the changelog and readme [#24246]
+- Init for 11.0-a.1 [#24245]
+- PHPCS: fix linting errors in the Comic CPT file. [#24186]
+- Publicize filter comment edited to move the relevant @since tag to the top [#24242]
+- Remove use of `node-polyfill-webpack-plugin`. [#24233]
+- Replace Akismet plan check with feature check [#24211]
+- Updated package dependencies. [#24167]
+- Use browser URL API instead of polyfills. [#24234]
+- Added unit tests for membership product store [#23873]
+- Assistant: Update illustrations [#24061]
+- Updates entrypoints in to My Jetpack licensing activation [#24189]
+- Removed keepPlaceholderOnFocus property from donations form and dialogue blocks since the property was removed from Gutenberg. [#24269]
+
+## 11.0-a.1 - 2022-05-04
+### Enhancements
+- WAF: add settings UI for Jetpack Firewall [#23769]
+- Google Fonts: add additional fonts to the list of available fonts. [#24098]
+- Payment Block: refactors the donation block by unifying Stripe Nudge component. [#24177]
+
+### Improved compatibility
+- Contact Form: ensure the option to export forms to a csv file works with the upcoming version of WordPress, 6.0. [#24173]
+- General: Jetpack is now fully compatible with the upcoming version of WordPress, 6.0. [#24083]
+- General: Jetpack now requires a more recent version of WordPress (5.9), since a new version of WordPress (6.0) will be available soon. [#24083]
+- General: remove backwards compatibility code now that Jetpack requires WordPress 5.9. [#24086]
+
+### Bug fixes
+- Custom CSS: avoid PHP notice when using the Sass preprocessor on PHP 7.4+. [#24135]
+- VaultPress: fixes a bug that caused certain cards in the Dashboard to flicker in some circumstances when VaultPress is active. [#24194]
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Activity: Removed commented-out code [#24126]
+- Add missing JavaScript dependencies. [#24096]
+- Client: Removed unused planClass props [#24195]
+- Custom Content Types: bring changes from WordPress.com to Jetpack to keep the files in sync. [#24150]
+- Custom Content Types: fix PHPCS linting errors in CPT module files, part 2 [#24154]
+- Custom Content Types: solve PHPCS errors for Portfolios. [#23848]
+- Init 11.0-a.0 [#24087]
+- Moved the Options class to Connection package. [#24095]
+- My Plan: Use feature check for search card [#24166]
+- One Click Restores: Uses feature checks to determine backup type [#24131]
+- Performance-Search: Converts plan checks to feature checks [#24162]
+- PHPCS: changes for endpoints, root functions [#24029]
+- Recommendations: Use feature check for one-click restores [#24165]
+- Remove use of `pnpx` in preparation for pnpm 7.0. [#24210]
+- Renaming class file to comply with class naming rules in phpcs. [#24136]
+- Replace uses of `create-react-class` with modern syntax. [#24055]
+- Rewind: Remove unused sitePlan information [#24128]
+- Search: Converted At a Glance search box to using feature checks. [#24127]
+- Security Settings: Use feature checks for backup and scan [#24163]
+- Settings: Display upsells using feature checks [#24180]
+- Updated package dependencies. [#24095]
+- Updating 10.9 beta changelog and readme [#24091]
+- Updating to-test.md [#24088]
+- Updated Backups box in At a Glance to use feature checks [#24121]
+- We now lock the execution of get products in a non blocking way for the execution thread. [#24140]
+
+## 10.9.1 - 2022-05-19
+### Improved compatibility
+- Contact Form: ensure the option to export forms to a CSV file works with the upcoming version of WordPress, 6.0. [#24173]
+- General: Jetpack is now fully compatible with the upcoming version of WordPress, 6.0. [#24083]
+- General: Jetpack now requires a more recent version of WordPress (5.9). [#24083]
+- General: remove backwards compatibility code now that Jetpack requires WordPress 5.9. [#24086]
+
+### Bug fixes
+- Publicize: ensure that Publicize works when publishing posts via AJAX requests, like when using the Elementor plugin. [#24387]
+- Secure Sign On: add the secure and httponly attribute to cookie used to log in. [#24418]
+
+## [10.9] - 2022-05-03
+### Enhancements
+- Dashboard: update the recommendation flow to include recommendations for VideoPress as well as discounts.
+- Google Fonts: update the Google Fonts module to be compatible with the most recent version of the WP_Webfonts API.
+- Payments Block: add additional features to the payment management control block (ability to mark as donation, and enabling customers to pick own amount).
+- Payments Block: add new property that establishes if the membership is editable by the site editor.
+- VideoPress: improve upload spreed, by increasing chunk size to 10Mb for resumable uploads.
+
+### Bug fixes
+- Assistant: style and CTA changes plus introductory offer fixes.
+- Payments Block: change the sidebar display when clicking 'add new subscription', as well as using an external link in the Customizer.
+- Payments Block: remove the dropdown icon from the product management control subscription selector.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Add checks to eliminate warnings in PHP log.
+- Added analytics events for enabling condtional recommendations and viewing conditional recommendations.
+- Converted BackupUpgrade and BarChart to TypeScript.
+- E2E tests: add extra checks in connection tests.
+- E2E tests: improve connection tests.
+- Fix failing tests because of an editor type mismatch caused by imported packages side-effects.
+- Init 10.9-a.8
+- Load block editor styles inline for iframed editors on WoA sites.
+- Move RecordMeterBar to js-packages.
+- My Jetpack: Updated to require licensing package when licensing UI enabled.
+- Nav-unification: Update nudge to support Pro plan.
+- Payments Block: Display the product manager on free plan sites connected to Stripe.
+- Premium Content blocks: subscription button from emails and notifications opens the checkout dialog (WordPress.com specific).
+- Remove code in native files that was causing the rnmobile build to fail.
+- Revert Jetpack not hard disconnecting on deactivation
+- Updated package dependencies.
+- Update package.json metadata.
+- Updating changelog and readme for 10.9-a.7
+- VideoPress: Fixing issue in apiFetch middleware where request bodies were assumed to always be objects with a "file" property; this is only true for requests to the media endpoint.
+
+## 10.9-a.7 - 2022-04-19
+### Enhancements
+- Connection: Preventing other Jeptpack-connected plugins from disconnecting when deactivating Jetpack from the plugins screen.
+- Recommendations: Add recommendation for anti-spam.
+
+### Improved compatibility
+- WordAds: Remove the suggestion to use the ad widget from the dashboard.
+- WordAds: Change Jetpack Ads wording to be WordAds.
+
+### Bug fixes
+- Publicize: Ensure bulk publishing posts won’t publicize those posts.
+- Random Redirect: Fixes 'set author name' functionality on author archives.
+- VideoPress: Fixes issue adding video descriptions and metadata via the WordPress.com dashboard.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Added TypeScript support.
+- Dashboard: Update copy to reflect new WordPress.com Pro plan.
+- Jetpack Connection: Remove any remaining in-place flows.
+- Moved licensing endpoints from the Jetpack plugin to the Licensing package.
+- Moved enhanced-open-graph.php out of the Publicize module.
+- Moved gutenberg-base-styles.scss file to js-packages/base-styles and updated its imports in the Jetpack plugin directory.
+- Moved images that are used for licensing components to licensing package to minimize external dependencies.
+- Refactor Jetpack class to move some functions into Modules and File packages.
+- Security Settings: convert plan checks to be feature checks.
+- Stats: Add individual filters for JS and AMP stat footer data.
+- Updated jetpack-waf package version.
+- Updated package dependencies.
+- Updated Sync tests.
+- Various PHPCS changes.
+
+## 10.9-a.5 - 2022-04-14
+### Bug fixes
+- Comments: Checking that Jetpack comments are supported before requiring nonce verification.
+
+## 10.9-a.3 - 2022-04-12
+### Major Enhancements
+- VideoPress: add settings for controlling VideoPress video privacy.
+
+### Enhancements
+- Dashboard: Various improvements to recommendations.
+- Payments block: Improves block selection behavior.
+- Protect: Renamed to "Brute Force Protection" in the UI.
+- VideoPress: Enable the resumable uploader.
+
+### Improved compatibility
+- Custom CSS: Improve saving for legacy Custom CSS.
+- Improvements to backwards compatibility with other Jetpack plugins.
+
+### Bug fixes
+- Button block: Removes default CSS that would overwrite core and theme styles.
+- Payments block: Makes the ‘one time’ subscription recurrence always available.
+- Payments block: Fixes bug regarding creation of new Payment blocks.
+- Pay with PayPal: Fixes issue with saving widget in Customizer.
+- Slideshow block: Fix grid blowout when Slideshow block is inserted inside a Layout Grid block (in editor).
+- Top Posts Widget: ensure hooks retain existing behavior when adding extra data before or after each post.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Assistant: add timed discount card.
+- Build sass files with Webpack.
+- Customizer messages: adjust messaging for new plan.
+- Fix an invalid JavaScript `typeof` check.
+- Fix e2e tests.
+- Init 10.9-a.2
+- Minifiy non-sass css with Webpack.
+- Move and update postcss config.
+- PHPCS changes for JSON endpoint.
+- Remove indirect dependency on an obselete version of the `core-js` package.
+- Remove use of `gulp` for the build.
+- Updated a composer package version.
+- Updated package dependencies.
+
+## 10.9-a.1 - 2022-04-06
+### Enhancements
+- Payments Block: Re-loading the page will not cause payment form to open again.
+
+### Improved compatibility
+- Dashboard: Display block settings even when the Classic Editor plugin is active.
+- Mailchimp Popup widget: Widget deprecation.
+
+### Bug fixes
+- Contact Form: Ensure the form's input fields inherit a default font size.
+- Subscribe Block: Fix default styles block setting selection to "Split".
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Blocks: Add Pocket Casts dev block (for internal use only).
+- Creating and verifying a nonce for the Jetpack comments form.
+- E2E tests - bumped dependencies versions.
+- E2E tests: added custom error messages to the expect functions.
+- Janitorial: Refactor classes into shared package.
+- Re-added the jetpack-waf package to update the autoloader files in the composer.lock.
+- Removed eslint dependency which will now be loaded from root directory.
+- Updated package dependencies.
+- PHPCS updates to bring in line with WordPress standards. Files affected include SAL, lib, Custom CSS, JSON endpoints.
+- SEO Tools: Use the new feature eligibility checks for WordPress.com sites.
+- Made changes updating WordPress.com Personal plans to Pro.
+
+## [10.8] - 2022-04-05
+### Enhancements
+- Blocks: make settings discoverable and toggleable, and add a card to highlight the blocks available from Jetpack on the dashboard.
+- Form Block: offer option to install/activate the Jetpack CRM plugin from the Form block settings panel.
+- Payments Block: introduce new post-publish panel to highlight the options available with Payments blocks.
+- VideoPress: added support for the `muted`, `controls` and `playsinline` properties on the 'wpvideo' and VideoPress shortcodes.
+
+### Improved compatibility
+- Shortcodes: adds the Jetpack namespace to slideshow shortcode CSS class names.
+
+### Bug fixes
+- Carousel: fix nonce check issue with Carousel comments
+- Form Block: do not display the CRM integration option to non-admins.
+- Subscribe Block: ensure subscription panels are not shown in the page editor, or when the site is private.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Adding language attributes to code blocks.
+- Add support for WordPress.com Pro plan.
+- Add uloggedin parameter for reporting.
+- Assistant: make call-to-actions point to checkout page.
+- Block Form: update required Jetpack CRM version.
+- Documented the `rna` prop of the Button component.
+- E2E tests: improve assertions for sync tests.
+- Fix ProductManagementControls not being able to open the block settings sidebar on site and widgets editor.
+- Fix VS Code ESLint and prettier config.
+- Google Fonts: mark the feature as Beta, and remove toggle from dashboard.
+- Jetpack CRM: adjust banner's wording.
+- Payment Blocks: Added links to manage subscriptions and fees to the Product Management controls.
+- Payments Block: use the product management controls to manage subscriptions. Migrated the Payments Block to a functional component and cleaned up code.
+- Payments Block: we now provide a way in which we can propagate the controls to the child blocks.
+- Payments Button Block: add back the upgrade nudge.
+- Removed unneeded calls to Atomic_Plan_Manager.
+- Search: Add search feature to benefits API.
+- Search: removed migrated tests.
+- Subscriptions Block: make the block messages clearer.
+- Updated package dependencies.
+- Various PHPCS updates.
+- WordPress.com Toolbar: avoid PHP notices when locale is not defined.
+- WordPress.com Toolbar: check if function exists before use.
+
+## 10.8-a.11 - 2022-03-25
+
+## 10.8-a.9 - 2022-03-23
+### Major Enhancements
+- QR Post: add new feature which automatically generates QR codes for published posts. When scanned, the QR code will link visitors to the post. If a site has a custom logo set, it will be shown in the generated QR code image.
+
+### Enhancements
+- External Media: add Openverse as an external Media provider.
+- Payment Block: clicking on payment links from email or WordPress.com Notifications/Reader will correctly open the corresponding payment form.
+- Dashboard: show Search benefits on the Jetpack disconnection screen.
+
+### Improved compatibility
+- Sharing: avoid warnings when the feature is not active on a site that uses the AMP plugin.
+
+### Bug fixes
+- Calendly Block: ensure it can be displayed inline when using a block enabled theme.
+- VideoPress: fix broken styles on resumable uploader component.
+- Pay with Paypal Block: fix inconsistent currency formatting.
+- WordAds: fix defaulting to "house ad" mode for new activations.
+- Publicize: prevent newlines from being stripped from a custom Publicize message in the classic editor.
+- QR Post: improve the inner logo sizing.
+- Shortlinks: display the shortlinks interface in the block editor for all post types that support shortlinks.
+- Top Posts Widget: display a fallback list of posts to admins when there are no popular posts to display.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- AAG: add Backup storage info.
+- Added tracking for backup storage info bar chart.
+- Connection: Jetpack now relies on the Connection package webhooks for 'authorize' and 'authorize_redirect' actions.
+- E2E tests: move search tests into search plugin folder
+- PHPCS changes for the related posts module.
+- Remove use of `strptime`, which was only used in a branch for compatibility with PHP before 5.3.
+- Search: use config package to initialize the search package.
+- Licenses: show the product name if there is only one user license to be activated.
+- Unit tests: Update Sync related unit test.
+- Updated package dependencies.
+- WP API endpoints: fix PHPCS linting errors, part 1.
+- Moved plan-utils.js file from Jetpack folder to shared-extension-utils. Also moved requiresPaidPlan from register-jetpack-block to plan-utils.
+- Payments: move the Stripe Connect toolbar button into a shared component, and add event tracking on it.
+- Premium Content Block: move the product management system to a shared component.
+- WPcom: hijack feature eligibility checks on WP.com sites, since they use an independent gateway system.
+- WPcom: optimize user blog counting on admin menu for better performance.
+- WPcom: sync class.json-api-endpoints.php changes from D76475.
+- Premium Content Block: fix a Redux store middleware regression on older Gutenberg versions.
+
+## 10.8-a.7 - 2022-03-15
+### Enhancements
+- Dashboard: add toggle to enable new Google Fonts feature.
+- Jetpack: add QRPost feature which generates QR codes for published posts. Currently a JETPACK_BETA_BLOCKS feature.
+- Premium Content block: use a drop down menu rather than two buttons to switch between the guest/subscriber views.
+- VideoPress: updated design of resumable uploader block.
+
+### Improved compatibility
+- General: clean up use of deprecated FILTER_SANITIZE_STRING constant. Also mark WPCom_Markdown::get_post_screen_post_type as deprecated due to lack of use.
+
+### Bug fixes
+- Google Analytics: fix showing an upgrade button with the latest Jetpack security plans.
+- Jetpack: fix missing "Connect User" button after restoring a connection.
+- Pay with PayPal widget: enable widget to work in block-based widget editor and full site editor.
+- SEO Tools: ensure Twitter cards get correct description when a site has a blank tagline.
+- Payments: swap JETPACK_VERSION for the correct JETPACK__VERSION.
+- Premium Content block: when a visitor subscribes, they now see the premium content without needing to reload the page.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Admin Page: use a dynamic version in cache buster on dev environment.
+- Admin Page: remove wp_kses() as it's not needed for static.html.
+- Fix Sync related flaky test.
+- Google Fonts: update the method used to preconnect Fonts source domain.
+- If the mapbox API call returns a completely invalid response, treat it as a failure rather than a success.
+- Moved with-has-warning-is-interactive-class-names folder to js-package/shared-extension-utils and updated imports.
+- PHPCS changes for the Pay with Paypal feature.
+- Search: improve Search E2E tests stability.
+- Search: moved globals to a class for sake of autoloading correctly.
+- Updated package dependencies.
+
+## 10.8-a.5 - 2022-03-08
+### Bug Fixes
+- Fixes an issue preventing WooCommerce from upgrading to 6.3.0.
+
+## 10.8-a.3 - 2022-03-08
+### Enhancements
+- Jetpack: assistant style updates and other improvements.
+- Jetpack: using the new Webfont API in Gutenberg, registers a selection of Google fonts for use with block and Global styles.
+- Markdown block: add default spacing controls.
+- Masterbar: make the Desktop Switcher look the same between Calypso and wp-admin.
+- Payments Block: adds a link to the support reference page on the block configuration panel.
+- Payment Button Block: make Stripe connection button visible from child block elements.
+
+### Improved compatibility
+- Premium Content Block: prevent block from being nested inside itself.
+- Various Blocks: remove deprecated attributes from Button components.
+- CLI Tools: ensure WP CLI is present before extending the class.
+
+### Bug fixes
+- Jetpack: remove the duplicated `jetpack_relatedposts_returned_results filter`.
+- Premium Content Block: login button now redirects to the correct post instead of to a 404 page when the URL contains characters that have been previously encoded.
+- Payment Blocks: fixes an issue with the upgrade banner being obscured from all payment blocks.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Jetpack: added jetpack_upload_handler_can_upload filter for blocking specific file uploads.
+- Admin pages: reverting code added in #23219 to fix a bug.
+- Fix newly-detected PHPCS sniffs in some tests. Also fix a test mock that was returning false rather than null like the class it's mocking would.
+- PHPCS errors and notices fixed for admin pages
+- Protect: simplify the transient clean up process preparation.
+- QR Plugin: update registration
+- Refactor ExternalLink to use core package
+- Search: Move customizer integration into search package
+- Stats: improve accessibility and performance for the admin dashboard widget.
+- Update `@size-limit/preset-app` dependency to match `size-limit`.
+- Jetpack: add post-publish-qr-post-panel block editor plugin.
+
+## 10.8-a.1 - 2022-03-02
+### Enhancements
+- Payment Blocks: add a unified introduction to payment blocks to make it easier to select the correct one.
+- Payment Blocks: add more keywords to payments blocks so they're easier to find.
+- Subscribe Block: add pre/post-publish notices.
+- Subscribe Block: block setting updates including name change, display of current subscribers, and a new style option.
+- Tiled Gallery: add background color block setting.
+- Various Blocks: update Contact Info, Markdown, and Tiled Gallery blocks to include margin design tools.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- E2E: add tests for clicking link to open overlay.
+- E2E: restore plugin update test.
+- WAF: include the dependency of the WAF package in the plugin zip.
+- Moved site benefits request out of PHP to React, and guard against no connected plugins.
+- My Jetpack: do not add My Jetpack action link to plugins page.
+- Search E2E: support block themes.
+- Sync: changes added to wpcom to Jetpack.
+- Sync: integration tests optimization.
+- Updated package dependencies.
+- WoA: add missing plugins sidebar menu for Atomic site with unsupported plan.
+
+## [10.7] - 2022-02-28
+### Enhancements
+- Dashboard: improve performance of plugins page.
+- Subscribe block: various changes, including a name change, how the display for current subscribers is shown, and new styling options and enhancements.
+
+### Improved compatibility
+- Performance: improve performance of Jetpack dashboard for sites without VideoPress enabled.
+
+### Bug fixes
+- Dashboard: show Jetpack stats Screen Options label properly.
+- Publicize: fixed bugs when using Publicize with the Classic Editor.
+- Subscribe block: address front-end rendering issues.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Add Sync related unit tests.
+- Bump package versions.
+- Dashboard: remove marketplace related add plugins menu redirect.
+- E2E tests: update readme.
+- Fix double escaping of connections in Classic Editor.
+- Fix fatal error in the WP.com customizer while in sandbox mode.
+- Fix PHPCS violations for the Publicize module.
+- Fix WPCOM-specific linting errors.
+- Init 10.7-a.6 cycle.
+- Memoize calls to store_subscription when setting available features for site in order to reduce duplicate uncached queries.
+- PHPCS Changes for json-get endpoint files.
+- Re-introduce CRM card on At A Glance page for Jetpack.
+- Remove Jetpack settings submenu from general settings menu when site doesn't have atomic supported plan.
+- Subscribe block: Fix color serialization.
+- Take pre_update_option filter into account when firing active module hooks
+- Updated package dependencies.
+- Update to-test.md.
+- WordPress.com REST API: avoid errors when restoring the previous version of an image from the WordPress.com dashboard.
+- WordPress.com REST API: avoid PHP warnings when accessing videos from the WordPress.com dashboard.
+
+## 10.7-a.5 - 2022-02-16
+### Enhancements
+- Blocks: add support for color and spacing block options for Form, Mailchimp, Podcast Player, and Related Posts blocks.
+- Blocks: add alignment block option for Form, Mailchimp, Podcast Player, Related Posts, and Repeat Visitor blocks.
+- Dashboard: update the Free plan description to consider the currently active products.
+
+### Improved compatibility
+- Image CDN: ensure that SVG images added to posts thanks to the SVG Support plugin can be displayed even when Jetpack's Image CDN is active.
+- Search: Add deprecated class to prevent third-party integrations from failing after 10.6 updates.
+
+### Bug fixes
+- Blocks: cron requests are now considered frontend requests, so blocks will no longer be rendered as fallbacks on those.
+- Form Block: custom CSS classes added to the block are now applied on the frontend.
+- Media Buttons: Fix issue where external medial modal cannot be closed.
+- Search: Make debug bar more reliable.
+- SSO: fix a bug with SSO not cleaning up wpcom_user_id.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Add note for translators.
+- Add executing the WAF as part of the Jetpack plugin.
+- Init 10.7-a.4 cycle
+- PHPCS Changes for the first handful of JSON endpoints.
+- PHPCS: Gravatar Hovercards
+- Premium Content Block: restrict registration to WPcom.
+- Premium Content Block: add a "Remove block and keep content" settings menu item and fixed transformations to groups.
+- Premium Content Block: don't allow core markup blocks to be transformed to Premium Content block (e.g. core/nextpage, core/spacer).
+- Premium Content Block: when content within a premium-content view is selected in the editor, switch to that view.
+- Premium Content Block: fix accidental inversion of the block tabs.
+- Remove the unused can_connect_service method
+- Reworked the redeem partner coupon component implementation to match latest requirements for post-connection display
+- Unroll Twitter Threads: revert endpoint to public.
+- Update the path to the extension-availability util function on native mobile, after it has been updated for the web.
+- About page: only fetch a11n data when page is active.
+
+## 10.7-a.3 - 2022-02-09
+### Enhancements
+- Dashboard: the Backup banner CTA on the At-a-Glance page will now be replaced with a "Redeem Coupon" CTA when a partner coupon is detected.
+- Dashboard: updated the logic for "Activate a Product" button in "My Plan" to be always visible.
+- Payment Block: updated the Payment block Upgrade nudge description to include the plan name that's required to use the block.
+- Premium Content Block: remove option to transform a premium content block to a premium content block.
+- Premium Content Block: use 'Guest' rather than visitor/Logged-out.
+
+### Improved compatibility
+- Internet Defense League widget: Widget deprecation.
+- VideoPress: Added title and aria-label to VideoPress iframe embeds for better screen reader support.
+- WordAds: deprecate the legacy Ad Widget in favor of the Ad Block when adding new Ad Widgets via the block-based widget editor.
+
+### Bug fixes
+- Block Editor: cast selectedPlanId to boolean to remove a "0" character after block upgrade nudge.
+- Contact Form: ensure form validation uses the correct variable types.
+- Dashboard: fix broken image in plan loading placeholder in "My Plan"
+- Tiled Gallery Block: Fix performance issue affecting page views that use the Tiled Gallery.
+- Unroll Twitter Threads: ensure that only contributors can access the endpoint to unroll threads.
+- Widget Visibility: update to match new user query parameter introduced in WordPress 5.9.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Added Jetpack Partner Coupon banner on My Plan page
+- Blocks: move plugin registering utility to standalone package.
+- Blocks: remove BlockIcon wrapper for multiple blocks.
+- Changes the default for the `Match video` setting to `true` for VideoPress videos.
+- Dashboard: hide the Scan card on Atomic sites.
+- E2E tests: merged Github workflows
+- E2E tests: update eslint configuration
+- Fixed some new PHPCS warnings.
+- Fix potential use of unexisting "allow_download" property in VideoPress media modal
+- Init Jetpack 10.7-a.2 cycle
+- Moved get-jetpack-data file to js-package/shared-extension-utils and updated imports
+- Moved get-jetpack-extension-availability file to js-package/shared-extension-utils and updated imports
+- Moved get-site-fragment file to js-package/shared-extension-utils and updated imports
+- Moved site-tyoe-utils file to js-package/shared-extension-utils and updated imports
+- Removed separate pnpm workspace for e2e tests.
+- Removed duplicate docblock for jetpack_relatedposts_returned_results filter and updated $post_id type to int
+- Search: move search widget to the search pacakge
+- Updated package dependencies.
+- Update lock file
+- Widget Visibility: switch to using shared js package utility instead of built-in site type check.
+- Added a new method to inline styles in the site editor.
+
+## 10.7-a.1 - 2022-02-02
+### Enhancements
+- Add an AMP-compatible version of the email share button.
+- Add transformation from core/buttons to jetpack/recurring-payments block (requires gutenberg >= 11.5.0).
+- Business Hours: Add support for color & spacing design tool.
+- Changed the plan description for invalid plans and added a Warning message for Premium content blocks with invalid plans.
+- Dashboard: update the links used to purchase plans when in Jetpack settings.
+
+### Improved compatibility
+- My Community widget: Hide widget from the block inserter and Legacy widget block drop-down menu
+
+### Bug fixes
+- Fixed several React warnings shown on the console when SCRIPT_DEBUG is active
+- Search: avoid PHP warning when using Search widget.
+- Widget Visibility: ensure role and logged in features are available.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Added 'jetpack_related_posts_display_markup' filter to update the output HTML of Related Posts module
+- Extract Jetpack_Plugins class to its own package
+- Blocks: Update block fixture docs for running phpunit tests.
+- Build: remove unneeded files from production build.
+- Payments Block: remove wrapper around icons.
+- Updated package dependencies
+- Reduced the data set for the Search Sync tests to speed up the process.
+- Update internal logic for rendering Dashboard sections.
+
+## [10.6] - 2022-02-01
+### Enhancements
+- Contact Info and Markdown Blocks: add color, typography and spacing features.
+- Dashboard: support Beta versions of Automattic plugins in plugin cards.
+- Search: improve accessibility via headings hierarchy and aria roles.
+- Tiled Gallery Block: improve the block so it can be used within the mobile applications.
+
+### Improved compatibility
+- Instant Search: synchronize more meta data so the search feature can be used with more third-party plugins.
+- Sharing / AMP plugin: avoid adding sharing's CSS on AMP pages when the sharing feature is not active.
+
+### Bug fixes
+- Backups: hide backup preparation message for sites without backup.
+- Connection: correctly request list of active features so they can be activated on a reconnection.
+- Pay with Paypal Block: properly display the card icons below the button.
+- Scan: avoid PHP notice when non-admin users access the dashboard.
+- Search: Initialize debug bar using correct class
+- Widget Visibility: ensure it remains possible to edit visibility for legacy widgets in the block-based widget editor.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Add a comment to explain the reasoning behind an empty scss file.
+- Change usage of filter_var to filter_input in markdown file.
+- Comment: phpcs linting cleanup.
+- Cover block: avoid the block's placeholder rendering on top of other blocks.
+- Dashboard: update CTAs (wording, layout) in the At A Glance section.
+- Fixed development mode prop type warning in UserLicenseActivationNotice component.
+- Fix PHPCS sniffs in root classes.
+- PHPCS fixes for site verification tools.
+- phpcs fixes for the markdown module
+- Search: add E2E tests for Customberg
+- Search: added E2E tests for the search dashboard
+- Updated package dependencies.
+- Use new Visitor class for determining IP address.
+
+## 10.6-a.3 - 2022-01-18
+### Enhancements
+- Embeds: add support for Descript.com embeds.
+- Image Compare Block: Add `wide` and `full` alignment options
+- Pay with PayPal Block: do not display the block on the frontend if PayPal is misconfigured.
+- Stats: add new filter allowing site owners to exclude IP addresses from being tracked in stats.
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Adds WooCommerce settings to the /v1.4/sites/$site/settings endpoint.
+- Changes the default value of woocommerce_onboarding_profile from array( 0 => false ) to array()
+- Fix various PHPCS warnings and errors in root classes.
+- General: update required node version to v16.13.2
+- Subscription Form block: hide custom success message setting for WordPress.com simple sites.
+- Update composer.lock
+- Update package dependencies
+
+## 10.6-a.1 - 2022-01-11
+### Improved compatibility
+- Subscription form: update the placeholder color to be the same as the text color of the site.
+
+### Bug fixes
+- Donations block: add a missing closing div for the front-end rendering.
+- Donations block: don't display the donations block to visitors unless Stripe is connected.
+- Donations block: fixed an issue which was invalidating existing blocks if they were edited by non-plan owners.
+- Donations block: tweak currency display for the edit control.
+- Protect: fixed math fallback's input accessibility and display.
+- Subscription form: adding a default line-height to avoid differences using different font-faces on input and button elements
+
+### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
+- Dashboard: update the links to different Jetpack features in the dashboard.
+- Moved numberFormat component into components js package.
+- Refactor PluginDashItem component to be functional and add README.
+- Remove use of deprecated `~` in sass-loader imports.
+- Search: migrate Classic and Instant Search code to Search package.
+- Search: move search dashboard to the search package.
+- Social Menu: remove role navigation attribute from nav item.
+- VideoPress: change allow_download data path from API (wpcom compat).
+
+## 10.5.1 - 2022-01-24
+### Bug fixes
+- General: avoid Fatal Errors that may happen during the plugin update process.
+
+## [10.5] - 2022-01-11
### Enhancements
- Print Styles: additional interactive elements are now hidden when printing posts (e.g. Likes, Recommended Posts, Share this).
- VideoPress: add "allow download" option on videos to allow viewers to download the video.
@@ -109,7 +798,7 @@
- Switched Jetpack plugin to always use `s0.wp.com` and `i0.wp.com` for external resources
- Updated package dependencies.
-## 10.4 - 2021-12-07
+## [10.4] - 2021-12-07
### Enhancements
- Connection: additional messaging for both connection and disconnection flows.
- Dashboard: add option to add Jetpack product using a license key.
@@ -251,7 +940,7 @@
- Set `convertDeprecationsToExceptions` true in PHPUnit config.
- Updated package dependencies.
-## 10.3 - 2021-11-02
+## [10.3] - 2021-11-02
### Enhancements
- Dashboard: add a new screen to provide more information about the VideoPress feature.
- Dashboard: optimize the size of all product images displayed in the dashboard, to improve overall performance.
@@ -385,7 +1074,7 @@
- Update Jetpack 10.2 to-test.md
- Update Sync Unit Tests to reset settings modified during tests.
-## 10.2 - 2021-10-05
+## [10.2] - 2021-10-05
### Enhancements
- Contact Form: add filter to allow customizing email headers.
- Contact Form: add two filters to improve anti-spam functionality.
@@ -462,7 +1151,7 @@
- WPcom: added a new "Inbox" menu item in the left side menu, just after Upgrades item. Only visible for wpcom and atomic sites.
- WPcom: fix various shortcode rendering in notifications.
-## 10.1 - 2021-09-07
+## [10.1] - 2021-09-07
### Major Enhancements
- Search: add a Gutenberg powered customization interface.
@@ -567,7 +1256,7 @@
- Widget Visibility: fix undefined property reference.
- WordPress.com REST API: Add new field to comment endpoint response.
-## 10.0 - 2021-08-03
+## [10.0] - 2021-08-03
### Enhancements
- Carousel: add JS-based smooth scroll behavior for the footer buttons.
- Carousel: on image zoom, fade out controls. Fade them back in when sized back to original, or the slide is advanced.
@@ -649,7 +1338,7 @@
- Nav Unification: stores the preferred view after a page switch using the new WP.com quick switcher
- Symc: update Sync tests to include case for jetpack_sync_settings options.
-## 9.9 - 2021-07-06
+## [9.9] - 2021-07-06
### Major Enhancements
- Carousel: improve carousel usability, performance, accessibility, mobile friendliness.
- Carousel: improve stability, fixes multiple bugs.
@@ -768,7 +1457,7 @@
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
- Obtain lock before performing autoupdates.
-## 9.8 - 2021-06-01
+## [9.8] - 2021-06-01
### Enhancements
- Contact Form: the "Feedback > Export CSV" submenu entry has been removed. The export functionality is still available in "Feedback > Form Responses".
- Form block: allow replacing the "Message Sent" heading with custom phrase.
@@ -881,7 +1570,7 @@
- Update the required version of "connection-ui" package.
- WordPress.com API: allow switching from locale variant to primary in Site Settings endpoint.
-## 9.7-beta - 2021-04-27
+## [9.7] - 2021-05-04
### Enhancements
- Blocks: improve test coverage for better reliability of each one of Jetpack's blocks.
- Carousel: improve general performance.
@@ -905,53 +1594,61 @@
- Instant Search: enable link filtering on built-in WordPress taxonomies.
- Instant Search: fix handling of customizer controls using refresh.
- Instant Search: fix race condition for API responses.
+- Instant Search: improve settings interface usability.
- Instant Search: prevent excluding all post types.
- Instant Search: set the number of returned posts using the query's `posts_per_page` value.
-- Instant Search: improve settings interface usability.
- Markdown: fix regression that broke links with single-quoted href attributes.
- Sharing / Publicize: properly encode URLs in Open Graph tags.
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
- Account for Categories and Tags in nav unification
-- Adds segmentation "from" parameter to the registration request
-- Always use WP Admin for comments in Atomic sites.
-- Change copy on in-place connection title to match user-less behavior
- Add e2e test to cover Jetpack Assistant's (Recommendations) main flow
- Add field for zendesk meta in /me/sites API for mobile apps
+- Add REST API v2 endpoint for editing transients.
+- Adds segmentation "from" parameter to the registration request
- Add unit tests to cover the functionality of each step of the assistant
+- Always use WP Admin for comments in Atomic sites.
- Autoloader: Use a different suffix for each release to fix #19472.
- Avoid PHP Notices in jetpack_blog_display_custom_excerpt() when run outside of the loop / without post context.
- Calypso's Tool -> Export menu now honors the 'Show advanced dashboard pages' setting
+- Change copy on in-place connection title to match user-less behavior
- Changelog: update with latest changes that were cherry-picked to 9.6 during Beta period.
- Change the command to build Jetpack in E2E tests Github action workflow
- Connection: moving the registration REST endpoint to the Connection package.
- Docs: fix typos in E2E README
+- Do not display Protect card for non-admin users while in site-only connection
- Do not load modules that require a user when in user-less state
+- Do not show multiple connection prompts in the Publicize settings card.
- E2E tests: fixed hover action
- E2E tests: publish Testspace results in folders
+- Fixed the Upgrades, Jetpack and Settings menu item slugs in WP-Admin
+- Fix the height of the User Authentication Dialog on the dashboard
+- Enable the Plans tab for unlinked users
+- Hide Settings page for non-admin users when in site-only connection
- In-Place Connection: partially replace the secondary users connection flow with `InPlaceConnection` component from `@automattic/jetpack-connection` package.
- Jetpack Assistant: Add the product slug to the events dispatched when users see and click the product being upsold
-- Licenses: show the license-aware version of the Connection banner when there is a userless connection established and there are stored licenses.
- Licenses: hide the Recommendations banner when the Connection banner is visible.
+- Licenses: show the license-aware version of the Connection banner when there is a userless connection established and there are stored licenses.
- Move JITM's REST API endpoints into the package
+- Nav Unification: Always show the Theme Showcase (wordpress.com/themes) to WP.com free sites.
- Nav Unification: Remove Sharing submenu option from settings menu for wpcom sites.
+- Nav Unification: remove the box-shadow at the top of the Sidebar.
- Nav unification: sync sidebar collapsed state with wpcom.
- Nav unification: updated the Jetpack admin menu logo SVG for increased compatibility with colour schemes
-- Nav Unification: Always show the Theme Showcase (wordpress.com/themes) to WP.com free sites.
-- Nav Unification: remove the box-shadow at the top of the Sidebar.
+- Reassign $submenu_file value as null for theme-install.php so correct menu item Add New Theme is highlighted in admin menu.
+- Record stat of the first time the site is registered
- Refactored the menu and submenu items replacement for nav unification
- Remove broken link to Scan details on Atomic sites
+- Removing the password-checker package from the Jetpack plugin composer.json file.
- Replaced the string "Add new site" to "Add new site" on masterbar and corrected the unit tests.
-- Reassign $submenu_file value as null for theme-install.php so correct menu item Add New Theme is highlighted in admin menu.
-- Record stat of the first time the site is registered
- Replace fragile element selectors with a more robust version of themselves
-- REST API: Allow site-level authentication on plugins, themes, modules endpoints
- REST API: Add list modules v1.2 endpoint.
-- Removing the password-checker package from the Jetpack plugin composer.json file.
+- REST API: Allow site-level authentication on plugins, themes, modules endpoints
- Sanitize the hookname used to generate menu item IDs
- Show current WPCOM plan in sidebar menu item "Upgrades" when nav unification is enabled.
-- Update prepare_menu_item_url in admin menu API to replace special characters in URLs with their HTML entities such as ampersand (e.g. convert &amp; to &).
+- Standardize wording for connecting the user.
- Updated package dependencies.
+- Update prepare_menu_item_url in admin menu API to replace special characters in URLs with their HTML entities such as ampersand (e.g. convert &amp; to &).
- WordAds: add translated text for use with inline and sticky slots
- WordAds: use WPCOM hosting type for Atomic sites
@@ -970,7 +1667,7 @@
- Cover block: fix paid-block-media-placeholder interference with flex positioning.
- Remove outdated reference to SEO as a paid feature in readme.txt.
-## 9.6 - 2021-04-06
+## [9.6] - 2021-04-06
### Enhancements
- Beautiful Math: remove title attribute from generated image.
- Blocks: add width option to buttons in Subscriptions, Revue, Form, Calendly, and Payments blocks.
@@ -5973,6 +6670,20 @@ Other bugfixes and enhancements at https://github.com/Automattic/jetpack/commits
- Initial release
+[10.9]: https://wp.me/p1moTy-EHd
+[10.8]: https://wp.me/p1moTy-CTQ
+[10.7]: https://wp.me/p1moTy-AMD
+[10.6]: https://wp.me/p1moTy-AES
+[10.5]: https://wp.me/p1moTy-Ax4
+[10.4]: https://wp.me/p1moTy-AmR
+[10.3]: https://wp.me/p1moTy-z9b
+[10.2]: https://wp.me/p1moTy-yvR
+[10.1]: https://wp.me/p1moTy-xYy
+[10.0]: https://wp.me/p1moTy-xFA
+[9.9]: https://wp.me/p1moTy-xc9
+[9.8]: https://wp.me/p1moTy-vGp
+[9.7]: https://wp.me/p1moTy-vpN
+[9.6]: https://wp.me/p1moTy-vdU
[9.5]: https://wp.me/p1moTy-uSv
[9.4]: https://wp.me/p1moTy-tOv
[9.3]: https://wp.me/p1moTy-sgZ
diff --git a/plugins/jetpack/CODE-OF-CONDUCT.md b/plugins/jetpack/CODE-OF-CONDUCT.md
deleted file mode 100644
index 21043481..00000000
--- a/plugins/jetpack/CODE-OF-CONDUCT.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# Contributor Code of Conduct
-
-As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
-
-We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
-
-Examples of unacceptable behavior by participants include:
-
-* The use of sexualized language or imagery
-* Personal attacks
-* Trolling or insulting/derogatory comments
-* Public or private harassment
-* Publishing other's private information, such as physical or electronic addresses, without explicit permission
-* Other unethical or unprofessional conduct
-
-Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
-
-By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
-
-This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
-
-Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by emailing a project maintainer via [this contact form](https://developer.wordpress.com/contact/?g21-subject=Code%20of%20Conduct), with a subject that includes `Code of Conduct`. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident.
-
-
-This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.3.0, available at [http://contributor-covenant.org/version/1/3/0/][version]
-
-[homepage]: http://contributor-covenant.org
-[version]: http://contributor-covenant.org/version/1/3/0/
diff --git a/plugins/jetpack/_inc/blocks/860.js b/plugins/jetpack/_inc/blocks/302.js
index a6565600..6b0075b7 100644
--- a/plugins/jetpack/_inc/blocks/860.js
+++ b/plugins/jetpack/_inc/blocks/302.js
@@ -1 +1 @@
-(self.webpackChunkJetpack=self.webpackChunkJetpack||[]).push([[860],{78858:function(e,t,a){"use strict";a.r(t)},16402:function(e){e.exports=function(){"use strict";function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e},a.apply(this,arguments)}function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(a){void 0===e[a]?e[a]=t[a]:i(t[a])&&i(e[a])&&Object.keys(t[a]).length>0&&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<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}function x(e,t){if("string"!=typeof e)return[e];for(var a=[],i=t.querySelectorAll(e),s=0;s<i.length;s+=1)a.push(i[s]);return a}function T(e,t){var a=o(),i=n(),s=[];if(!t&&e instanceof b)return e;if(!e)return new b(s);if("string"==typeof e){var r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){var l="div";0===r.indexOf("<li")&&(l="ul"),0===r.indexOf("<tr")&&(l="tbody"),0!==r.indexOf("<td")&&0!==r.indexOf("<th")||(l="tr"),0===r.indexOf("<tbody")&&(l="table"),0===r.indexOf("<option")&&(l="select");var d=i.createElement(l);d.innerHTML=r;for(var p=0;p<d.childNodes.length;p+=1)s.push(d.childNodes[p])}else s=x(e.trim(),t||i)}else if(e.nodeType||e===a||e===i)s.push(e);else if(Array.isArray(e)){if(e instanceof b)return e;s=e}return new b(E(s))}function C(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=w(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,i)})),this}function S(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=w(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,i)})),this}function M(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=w(t.map((function(e){return e.split(" ")})));this.forEach((function(e){i.forEach((function(t){e.classList.toggle(t)}))}))}function z(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=w(t.map((function(e){return e.split(" ")})));return y(this,(function(e){return i.filter((function(t){return e.classList.contains(t)})).length>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<this.length;a+=1)if(2===arguments.length)this[a].setAttribute(e,t);else for(var i in e)this[a][i]=e[i],this[a].setAttribute(i,e[i]);return this}function P(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function $(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this}function L(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this}function I(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];function l(e){var t=e.target;if(t){var a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),T(t).is(s))r.apply(t,a);else for(var i=T(t).parents(),n=0;n<i.length;n+=1)T(i[n]).is(s)&&r.apply(i[n],a)}}function o(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(i=t[0],r=t[1],n=t[2],s=void 0),n||(n=!1);for(var d,p=i.split(" "),u=0;u<this.length;u+=1){var c=this[u];if(s)for(d=0;d<p.length;d+=1){var h=p[d];c.dom7LiveListeners||(c.dom7LiveListeners={}),c.dom7LiveListeners[h]||(c.dom7LiveListeners[h]=[]),c.dom7LiveListeners[h].push({listener:r,proxyListener:l}),c.addEventListener(h,l,n)}else for(d=0;d<p.length;d+=1){var v=p[d];c.dom7Listeners||(c.dom7Listeners={}),c.dom7Listeners[v]||(c.dom7Listeners[v]=[]),c.dom7Listeners[v].push({listener:r,proxyListener:o}),c.addEventListener(v,o,n)}}return this}function O(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(i=t[0],r=t[1],n=t[2],s=void 0),n||(n=!1);for(var l=i.split(" "),o=0;o<l.length;o+=1)for(var d=l[o],p=0;p<this.length;p+=1){var u=this[p],c=void 0;if(!s&&u.dom7Listeners?c=u.dom7Listeners[d]:s&&u.dom7LiveListeners&&(c=u.dom7LiveListeners[d]),c&&c.length)for(var h=c.length-1;h>=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;i<t;i++)a[i]=arguments[i];for(var s=a[0].split(" "),r=a[1],n=0;n<s.length;n+=1)for(var l=s[n],d=0;d<this.length;d+=1){var p=this[d];if(e.CustomEvent){var u=new e.CustomEvent(l,{detail:r,bubbles:!0,cancelable:!0});p.dom7EventData=a.filter((function(e,t){return t>0})),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;a<this.length;a+=1)for(var s in e)this[a].style[s]=e[s];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this}function Y(e){return e?(this.forEach((function(t,a){e.apply(t,[t,a])})),this):this}function R(e){return T(y(this,e))}function W(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function V(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function F(e){var t,a,i=o(),s=n(),r=this[0];if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(t=T(e),a=0;a<t.length;a+=1)if(t[a]===r)return!0;return!1}if(e===s)return r===s;if(e===i)return r===i;if(e.nodeType||e instanceof b){for(t=e.nodeType?[e]:e,a=0;a<t.length;a+=1)if(t[a]===r)return!0;return!1}return!1}function _(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function q(e){if(void 0===e)return this;var t=this.length;if(e>t-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<arguments.length;a+=1){e=a<0||arguments.length<=a?void 0:arguments[a];for(var i=0;i<this.length;i+=1)if("string"==typeof e){var s=t.createElement("div");for(s.innerHTML=e;s.firstChild;)this[i].appendChild(s.firstChild)}else if(e instanceof b)for(var r=0;r<e.length;r+=1)this[i].appendChild(e[r]);else this[i].appendChild(e)}return this}function U(e){var t,a,i=n();for(t=0;t<this.length;t+=1)if("string"==typeof e){var s=i.createElement("div");for(s.innerHTML=e,a=s.childNodes.length-1;a>=0;a-=1)this[t].insertBefore(s.childNodes[a],this[t].childNodes[0])}else if(e instanceof b)for(a=0;a<e.length;a+=1)this[t].insertBefore(e[a],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function K(e){return this.length>0?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;a<this.length;a+=1)null!==this[a].parentNode&&(e?T(this[a].parentNode).is(e)&&t.push(this[a].parentNode):t.push(this[a].parentNode));return T(t)}function te(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].parentNode;i;)e?T(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return T(t)}function ae(e){var t=this;return void 0===e?T([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function ie(e){for(var t=[],a=0;a<this.length;a+=1){try{var i=this[a].querySelectorAll(e)}catch(t){console.log(e)}for(var s=0;s<i.length;s+=1)t.push(i[s])}return T(t)}function se(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].children,s=0;s<i.length;s+=1)e&&!T(i[s]).is(e)||t.push(i[s]);return T(t)}function re(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}T.fn=b.prototype;var ne,le,oe,de={addClass:C,removeClass:S,hasClass:z,toggleClass:M,attr:k,removeAttr:P,transform:$,transition:L,on:I,off:O,trigger:A,transitionEnd:D,outerWidth:N,outerHeight:G,styles:H,offset:B,css:X,each:Y,html:W,text:V,is:F,index:_,eq:q,append:j,prepend:U,next:K,nextAll:J,prev:Z,prevAll:Q,parent:ee,parents:te,closest:ae,find:ie,children:se,filter:R,remove:re};function pe(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function ue(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function ce(){return Date.now()}function he(e){var t,a=o();return a.getComputedStyle&&(t=a.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function ve(e,t){void 0===t&&(t="x");var a,i,s,r=o(),n=he(e);return r.WebKitCSSMatrix?((i=n.transform||n.webkitTransform).split(",").length>6&&(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<arguments.length;a+=1){var i=a<0||arguments.length<=a?void 0:arguments[a];if(null!=i)for(var s=Object.keys(Object(i)).filter((function(e){return t.indexOf(e)<0})),r=0,n=s.length;r<n;r+=1){var l=s[r],o=Object.getOwnPropertyDescriptor(i,l);void 0!==o&&o.enumerable&&(fe(e[l])&&fe(i[l])?i[l].__swiper__?e[l]=i[l]:me(e[l],i[l]):!fe(e[l])&&fe(i[l])?(e[l]={},i[l].__swiper__?e[l]=i[l]:me(e[l],i[l])):e[l]=i[l])}}return e}function ge(e,t){Object.keys(t).forEach((function(a){fe(t[a])&&Object.keys(t[a]).forEach((function(i){"function"==typeof t[a][i]&&(t[a][i]=t[a][i].bind(e))})),e[a]=t[a]}))}function be(e){return void 0===e&&(e=""),"."+e.trim().replace(/([\.:\/])/g,"\\$1").replace(/ /g,".")}function we(e,t,a,i){var s=n();return a&&Object.keys(i).forEach((function(a){if(!t[a]&&!0===t.auto){var r=s.createElement("div");r.className=i[a],e.append(r),t[a]=r}})),t}function ye(){var e=o(),t=n();return{touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!e.PointerEvent&&"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>=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<t.length;a+=1)e.observer.attach(t[a]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach((function(e){e.disconnect()})),e.observer.observers=[]}},Pe={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){ge(this,{observer:a({},ke,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},$e={useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(a){var i=t.modules[a];i.params&&me(e,i.params)}))},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(a){var i=t.modules[a],s=e[a]||{};i.on&&t.on&&Object.keys(i.on).forEach((function(e){t.on(e,i.on[e])})),i.create&&i.create.bind(t)(s)}))}},Le={on:function(e,t,a){var i=this;if("function"!=typeof t)return i;var s=a?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][s](t)})),i},once:function(e,t,a){var i=this;if("function"!=typeof t)return i;function s(){i.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];t.apply(i,r)}return s.__emitterProxy=t,i.on(e,s,a)},onAny:function(e,t){var a=this;if("function"!=typeof e)return a;var i=t?"unshift":"push";return a.eventsAnyListeners.indexOf(e)<0&&a.eventsAnyListeners[i](e),a},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;var a=t.eventsAnyListeners.indexOf(e);return 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<s;n++)r[n]=arguments[n];return"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),a=i):(e=r[0].events,t=r[0].data,a=r[0].context||i),t.unshift(a),(Array.isArray(e)?e:e.split(" ")).forEach((function(e){i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach((function(i){i.apply(a,[e].concat(t))})),i.eventsListeners&&i.eventsListeners[e]&&i.eventsListeners[e].forEach((function(e){e.apply(a,t)}))})),i}};function Ie(){var e,t,a=this,i=a.$el;e=void 0!==a.params.width&&null!==a.params.width?a.params.width:i[0].clientWidth,t=void 0!==a.params.height&&null!==a.params.height?a.params.height:i[0].clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(i.css("padding-left")||0,10)-parseInt(i.css("padding-right")||0,10),t=t-parseInt(i.css("padding-top")||0,10)-parseInt(i.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),me(a,{width:e,height:t,size:a.isHorizontal()?e:t}))}function Oe(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function a(e,a){return parseFloat(e.getPropertyValue(t(a))||0)}var i=e.params,s=e.$wrapperEl,r=e.size,n=e.rtlTranslate,l=e.wrongRTL,o=e.virtual&&i.virtual.enabled,d=o?e.virtual.slides.length:e.slides.length,p=s.children("."+e.params.slideClass),u=o?e.virtual.slides.length:p.length,c=[],h=[],v=[],f=i.slidesOffsetBefore;"function"==typeof f&&(f=i.slidesOffsetBefore.call(e));var m=i.slidesOffsetAfter;"function"==typeof m&&(m=i.slidesOffsetAfter.call(e));var g=e.snapGrid.length,b=e.slidesGrid.length,w=i.spaceBetween,y=-f,E=0,x=0;if(void 0!==r){var T,C;"string"==typeof w&&w.indexOf("%")>=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;L<u;L+=1){C=0;var I=p.eq(L);if(i.slidesPerColumn>1){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;K<c.length;K+=1){var J=c[K];i.roundLengths&&(J=Math.floor(J)),c[K]<e.virtualSize+c[0]&&S.push(J)}c=S}if(!i.centeredSlides){S=[];for(var Z=0;Z<c.length;Z+=1){var Q=c[Z];i.roundLengths&&(Q=Math.floor(Q)),c[Z]<=e.virtualSize-r&&S.push(Q)}c=S,Math.floor(e.virtualSize-r)-Math.floor(c[c.length-1])>1&&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)<r){var re=(r-se)/2;c.forEach((function(e,t){c[t]=e-re})),h.forEach((function(e,t){h[t]=e+re}))}}me(e,{slides:p,snapGrid:c,slidesGrid:h,slidesSizesGrid:v}),u!==d&&e.emit("slidesLengthChange"),c.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),(i.watchSlidesProgress||i.watchSlidesVisibility)&&e.updateSlidesOffset()}}function Ae(e){var t,a=this,i=[],s=a.virtual&&a.params.virtual.enabled,r=0;"number"==typeof e?a.setTransition(e):!0===e&&a.setTransition(a.params.speed);var n=function(e){return s?a.slides.filter((function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e}))[0]:a.slides.eq(e)[0]};if("auto"!==a.params.slidesPerView&&a.params.slidesPerView>1)if(a.params.centeredSlides)a.visibleSlides.each((function(e){i.push(e)}));else for(t=0;t<Math.ceil(a.params.slidesPerView);t+=1){var l=a.activeIndex+t;if(l>a.slides.length&&!s)break;i.push(n(l))}else i.push(n(a.activeIndex));for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var o=i[t].offsetHeight;r=o>r?o:r}r&&a.$wrapperEl.css("height",r+"px")}function De(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1)t[a].swiperSlideOffset=e.isHorizontal()?t[a].offsetLeft:t[a].offsetTop}function Ne(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.slides,s=t.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;s&&(r=e),i.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var n=0;n<i.length;n+=1){var l=i[n],o=(r+(a.centeredSlides?t.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+a.spaceBetween);if(a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight){var d=-(r-l.swiperSlideOffset),p=d+t.slidesSizesGrid[n];(d>=0&&d<t.size-1||p>1&&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.length;u+=1)void 0!==s[u+1]?i>=s[u]&&i<s[u+1]-(s[u+1]-s[u])/2?p=u:i>=s[u]&&i<s[u+1]&&(p=u+1):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;n<a.slides.length;n+=1)if(a.slides[n]===s){r=!0,t=n;break}if(!s||!r)return a.clickedSlide=void 0,void(a.clickedIndex=void 0);a.clickedSlide=s,a.virtual&&a.params.virtual.enabled?a.clickedIndex=parseInt(T(s).attr("data-swiper-slide-index"),10):a.clickedIndex=t,i.slideToClickedSlide&&void 0!==a.clickedIndex&&a.clickedIndex!==a.activeIndex&&a.slideToClickedSlide()}function Ye(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,a=t.params,i=t.rtlTranslate,s=t.translate,r=t.$wrapperEl;if(a.virtualTranslate)return i?-s:s;if(a.cssMode)return s;var n=ve(r[0],e);return i&&(n=-n),n||0}function Re(e,t){var a=this,i=a.rtlTranslate,s=a.params,r=a.$wrapperEl,n=a.wrapperEl,l=a.progress,o=0,d=0,p=0;a.isHorizontal()?o=i?-e:e:d=e,s.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),s.cssMode?n[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-o:-d:s.virtualTranslate||r.transform("translate3d("+o+"px, "+d+"px, "+p+"px)"),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?o:d;var u=a.maxTranslate()-a.minTranslate();(0===u?0:(e-a.minTranslate())/u)!==l&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)}function We(){return-this.snapGrid[0]}function Ve(){return-this.snapGrid[this.snapGrid.length-1]}function Fe(e,t,a,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0),void 0===i&&(i=!0);var r=this,n=r.params,l=r.wrapperEl;if(r.animating&&n.preventInteractionOnTransition)return!1;var o,d=r.minTranslate(),p=r.maxTranslate();if(o=i&&e>d?d:i&&e<p?p:e,r.updateProgress(o),n.cssMode){var u,c=r.isHorizontal();return 0===t?l[c?"scrollLeft":"scrollTop"]=-o:l.scrollTo?l.scrollTo(((u={})[c?"left":"top"]=-o,u.behavior="smooth",u)):l[c?"scrollLeft":"scrollTop"]=-o,!0}return 0===t?(r.setTransition(0),r.setTranslate(o),a&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(o),a&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,a&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}function _e(e,t){var a=this;a.params.cssMode||a.$wrapperEl.transition(e),a.emit("setTransition",e,t)}function qe(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.params,r=a.previousIndex;if(!s.cssMode){s.autoHeight&&a.updateAutoHeight();var n=t;if(n||(n=i>r?"next":i<r?"prev":"reset"),a.emit("transitionStart"),e&&i!==r){if("reset"===n)return void a.emit("slideResetTransitionStart");a.emit("slideChangeTransitionStart"),"next"===n?a.emit("slideNextTransitionStart"):a.emit("slidePrevTransitionStart")}}}function je(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.previousIndex,r=a.params;if(a.animating=!1,!r.cssMode){a.setTransition(0);var n=t;if(n||(n=i>s?"next":i<s?"prev":"reset"),a.emit("transitionEnd"),e&&i!==s){if("reset"===n)return void a.emit("slideResetTransitionEnd");a.emit("slideChangeTransitionEnd"),"next"===n?a.emit("slideNextTransitionEnd"):a.emit("slidePrevTransitionEnd")}}}function Ue(e,t,a,i,s){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var r=parseInt(e,10);if(!isFinite(r))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=r}var n=this,l=e;l<0&&(l=0);var o=n.params,d=n.snapGrid,p=n.slidesGrid,u=n.previousIndex,c=n.activeIndex,h=n.rtlTranslate,v=n.wrapperEl,f=n.enabled;if(n.animating&&o.preventInteractionOnTransition||!f&&!i&&!s)return!1;var m=Math.min(n.params.slidesPerGroupSkip,l),g=m+Math.floor((l-m)/n.params.slidesPerGroup);g>=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<p.length;y+=1){var E=-Math.floor(100*w),x=Math.floor(100*p[y]),T=Math.floor(100*p[y+1]);void 0!==p[y+1]?E>=x&&E<T-(T-x)/2?l=y:E>=x&&E<T&&(l=y+1):E>=x&&(l=y)}if(n.initialized&&l!==c){if(!n.allowSlideNext&&w<n.translate&&w<n.minTranslate())return!1;if(!n.allowSlidePrev&&w>n.translate&&w>n.maxTranslate()&&(c||0)!==l)return!1}if(b=l>c?"next":l<c?"prev":"reset",h&&-w===n.translate||!h&&w===n.translate)return n.updateActiveIndex(l),o.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==o.effect&&n.setTranslate(w),"reset"!==b&&(n.transitionStart(a,b),n.transitionEnd(a,b)),!1;if(o.cssMode){var C,S=n.isHorizontal(),M=-w;return h&&(M=v.scrollWidth-v.offsetWidth-M),0===t?v[S?"scrollLeft":"scrollTop"]=M:v.scrollTo?v.scrollTo(((C={})[S?"left":"top"]=M,C.behavior="smooth",C)):v[S?"scrollLeft":"scrollTop"]=M,!0}return 0===t?(n.setTransition(0),n.setTranslate(w),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(a,b),n.transitionEnd(a,b)):(n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(a,b),n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(a,b))}),n.$wrapperEl[0].addEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd))),!0}function Ke(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);var s=this,r=e;return s.params.loop&&(r+=s.loopedSlides),s.slideTo(r,t,a,i)}function Je(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating;if(!i.enabled)return i;var n=i.activeIndex<s.slidesPerGroupSkip?1:s.slidesPerGroup;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+n,e,t,a)}function Ze(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating,n=i.snapGrid,l=i.slidesGrid,o=i.rtlTranslate;if(!i.enabled)return i;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var p=d(o?i.translate:-i.translate),u=n.map((function(e){return d(e)}));n[u.indexOf(p)];var c,h=n[u.indexOf(p)-1];return void 0===h&&s.cssMode&&n.forEach((function(e){!h&&p>=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?r<t.loopedSlides-s/2||r>t.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;l<r;l+=1){var o=T(t.createElement("div")).addClass(a.slideClass+" "+a.slideBlankClass);i.append(o)}s=i.children("."+a.slideClass)}}"auto"!==a.slidesPerView||a.loopedSlides||(a.loopedSlides=s.length),e.loopedSlides=Math.ceil(parseFloat(a.loopedSlides||a.slidesPerView,10)),e.loopedSlides+=a.loopAdditionalSlides,e.loopedSlides>s.length&&(e.loopedSlides=s.length);var d=[],p=[];s.each((function(t,a){var i=T(t);a<e.loopedSlides&&p.push(t),a<s.length&&a>=s.length-e.loopedSlides&&d.push(t),i.attr("data-swiper-slide-index",a)}));for(var u=0;u<p.length;u+=1)i.append(T(p[u].cloneNode(!0)).addClass(a.slideDuplicateClass));for(var c=d.length-1;c>=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<s?(t=i.length-3*s+a,t+=s,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((o?-e.translate:e.translate)-d)):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<e.length;s+=1)e[s]&&a.append(e[s]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update()}function ot(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&t.loopDestroy();var r=s+1;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)e[n]&&i.prepend(e[n]);r=s+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update(),t.slideTo(r,0,!1)}function dt(e,t){var a=this,i=a.$wrapperEl,s=a.params,r=a.activeIndex;s.loop&&(r-=a.loopedSlides,a.loopDestroy(),a.slides=i.children("."+s.slideClass));var n=a.slides.length;if(e<=0)a.prependSlide(t);else if(e>=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;u<t.length;u+=1)t[u]&&i.append(t[u]);l=r>e?r+t.length:r}else i.append(t);for(var c=0;c<o.length;c+=1)i.append(o[c]);s.loop&&a.loopCreate(),s.observer&&a.support.observer||a.update(),s.loop?a.slideTo(l+a.loopedSlides,0,!1):a.slideTo(l,0,!1)}}function pt(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&(s-=t.loopedSlides,t.loopDestroy(),t.slides=i.children("."+a.slideClass));var r,n=s;if("object"==typeof e&&"length"in e){for(var l=0;l<e.length;l+=1)r=e[l],t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1),n=Math.max(n,0);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update(),a.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)}function ut(){for(var e=this,t=[],a=0;a<e.slides.length;a+=1)t.push(a);e.removeSlide(t)}function ct(e){var t=this,a=n(),i=o(),s=t.touchEventsData,r=t.params,l=t.touches;if(t.enabled&&(!t.animating||!r.preventInteractionOnTransition)){var d=e;d.originalEvent&&(d=d.originalEvent);var p=T(d.target);if(("wrapper"!==r.touchEventsTarget||p.closest(t.wrapperEl).length)&&(s.isTouchEvent="touchstart"===d.type,(s.isTouchEvent||!("which"in d)||3!==d.which)&&!(!s.isTouchEvent&&"button"in d&&d.button>0||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(u<r.startY&&a.translate<=a.maxTranslate()||u>r.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(p<r.startX&&a.translate<=a.maxTranslate()||p>r.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))<a.params.threshold))if(void 0===i.isScrolling&&(a.isHorizontal()&&r.currentY===r.startY||a.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:h*h+v*v>=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.currentTranslate<a.maxTranslate()&&(m=!1,s.resistance&&(i.currentTranslate=a.maxTranslate()+1-Math.pow(a.maxTranslate()-i.startTranslate-f,g))),m&&(o.preventedByNestedSwiper=!0),!a.allowSlideNext&&"next"===a.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!a.allowSlidePrev&&"prev"===a.swipeDirection&&i.currentTranslate>i.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.length<o.length?t.slideTo(o.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(a.velocities.length>1){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)<i.freeModeMinimumVelocity&&(t.velocity=0),(m>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(w<t.maxTranslate())i.freeModeMomentumBounce?(w+t.maxTranslate()<-T&&(w=t.maxTranslate()-T),y=t.maxTranslate(),x=!0,a.allowMomentumBounce=!0):w=t.maxTranslate(),i.loop&&i.centeredSlides&&(E=!0);else if(w>t.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<o.length;S+=1)if(o[S]>-w){C=S;break}w=-(w=Math.abs(o[C]-w)<Math.abs(o[C-1]-w)||"next"===t.swipeDirection?o[C]:o[C-1])}if(E&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(g=r?Math.abs((-w-t.translate)/t.velocity):Math.abs((w-t.translate)/t.velocity),i.freeModeSticky){var M=Math.abs((r?-w:w)-t.translate),z=t.slidesSizesGrid[t.activeIndex];g=M<z?i.speed:M<2*z?1.5*i.speed:2.5*i.speed}}else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&x?(t.updateProgress(y),t.setTransition(g),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),setTimeout((function(){t.setTranslate(y),n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(w),t.setTransition(g),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):(t.emit("_freeModeNoMomentumRelease"),t.updateProgress(w)),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(i.freeModeSticky)return void t.slideToClosest();i.freeMode&&t.emit("_freeModeNoMomentumRelease")}(!i.freeModeMomentum||c>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,P=t.slidesSizesGrid[0],$=0;$<l.length;$+=$<i.slidesPerGroupSkip?1:i.slidesPerGroup){var L=$<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==l[$+L]?p>=l[$]&&p<l[$+L]&&(k=$,P=l[$+L]-l[$]):p>=l[$]&&(k=$,P=l[l.length-1]-l[l.length-2])}var I=(p-l[k])/P,O=k<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(c>i.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;d<l.length;d+=1){var p=l[d],u=p.point;p.value<=r&&(i=u)}return i||"max"}}function Ct(e,t){var a=[];return e.forEach((function(e){"object"==typeof e?Object.keys(e).forEach((function(i){e[i]&&a.push(t+i)})):"string"==typeof e&&a.push(t+e)})),a}function St(){var e=this,t=e.classNames,a=e.params,i=e.rtl,s=e.$el,r=e.device,n=e.support,l=Ct(["initialized",a.direction,{"pointer-events":n.pointerEvents&&!n.touch},{"free-mode":a.freeMode},{autoheight:a.autoHeight},{rtl:i},{multirow:a.slidesPerColumn>1},{"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;a<e.imagesToLoad.length;a+=1){var i=e.imagesToLoad[a];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}function Pt(){var e=this,t=e.params,a=e.isLocked,i=e.slides.length>0&&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;r<i;r++)s[r]=arguments[r];if(1===s.length&&s[0].constructor&&"Object"===Object.prototype.toString.call(s[0]).slice(8,-1)?a=s[0]:(t=s[0],a=s[1]),a||(a={}),a=me({},a),t&&!a.el&&(a.el=t),a.el&&T(a.el).length>1){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;d<a.length;d+=1)a[d]&&!l&&(n+=1,(o+=a[d].swiperSlideSize)>s&&(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;u<a.length;u+=1)i[u]-i[r]<s&&(n+=1);return n},a.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,a=e.params;a.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&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)(M<y||M>E)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+M+'"]').remove();for(var z=0;z<c.length;z+=1)z>=y&&z<=E&&(void 0===u||e?S.push(z):(z>u&&S.push(z),z<p&&C.push(z)));S.forEach((function(e){t.$wrapperEl.append(v(c[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(v(c[e],e))})),t.$wrapperEl.children(".swiper-slide").css(m,x+"px"),T()},renderSlide:function(e,t){var a=this,i=a.params.virtual;if(i.cache&&a.virtual.cache[t])return a.virtual.cache[t];var s=i.renderSlide?T(i.renderSlide.call(a,e,t)):T('<div class="'+a.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");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<e.length;a+=1)e[a]&&t.virtual.slides.push(e[a]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,a=t.activeIndex,i=a+1,s=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&t.virtual.slides.unshift(e[r]);i=a+e.length,s=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var n=t.virtual.cache,l={};Object.keys(n).forEach((function(e){var t=n[e],a=t.attr("data-swiper-slide-index");a&&t.attr("data-swiper-slide-index",parseInt(a,10)+1),l[parseInt(e,10)+s]=t})),t.virtual.cache=l}t.virtual.update(!0),t.slideTo(i,0)},removeSlide:function(e){var t=this;if(null!=e){var a=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<a&&(a-=1),a=Math.max(a,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<a&&(a-=1),a=Math.max(a,0);t.virtual.update(!0),t.slideTo(a,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},Dt={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;ge(e,{virtual:a({},At,{slides:e.params.virtual.slides,cache:{}})})},on:{beforeInit:function(e){if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};me(e.params,t),me(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(e){e.params.virtual.enabled&&e.virtual.update()}}},Nt={handle:function(e){var t=this;if(t.enabled){var a=o(),i=n(),s=t.rtlTranslate,r=e;r.originalEvent&&(r=r.originalEvent);var l=r.keyCode||r.charCode,d=t.params.keyboard.pageUpDown,p=d&&33===l,u=d&&34===l,c=37===l,h=39===l,v=38===l,f=40===l;if(!t.allowSlideNext&&(t.isHorizontal()&&h||t.isVertical()&&f||u))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&c||t.isVertical()&&v||p))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(p||u||c||h||v||f)){var m=!1;if(t.$el.parents("."+t.params.slideClass).length>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<T.length;C+=1){var S=T[C];if(S[0]>=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<p.time+500&&d.delta<=p.delta&&d.direction===p.direction;if(!u){a.mousewheel.lastEventBeforeSnap=void 0,a.params.loop&&a.loopFix();var c=a.getTranslate()+r*i.sensitivity,h=a.isBeginning,v=a.isEnd;if(c>=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<this.params.mousewheel.thresholdDelta||this.params.mousewheel.thresholdTime&&ce()-t.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime||!(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<r;n+=1)t.renderBullet?s+=t.renderBullet.call(e,n,t.bulletClass):s+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";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):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',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('<div class="'+e.params.scrollbar.dragClass+'"></div>'),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.scale<i.minRatio&&(s.scale=i.minRatio+1-Math.pow(i.minRatio-s.scale+1,.5)),r.$imageEl.transform("translate3d(0,0,0) scale("+s.scale+")")):"gesturechange"===e.type&&s.onGestureStart(e)},onGestureEnd:function(e){var t=this,a=t.device,i=t.support,s=t.params.zoom,r=t.zoom,n=r.gesture;if(!i.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!a.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,n.maxRatio),s.minRatio),n.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(n.$slideEl=void 0))},onTouchStart:function(e){var t=this,a=t.device,i=t.zoom,s=i.gesture,r=i.image;s.$imageEl&&0!==s.$imageEl.length&&(r.isTouched||(a.android&&e.cancelable&&e.preventDefault(),r.isTouched=!0,r.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,r.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,s=a.image,r=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=ve(i.$imageWrapEl[0],"x")||0,s.startY=ve(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var n=s.width*a.scale,l=s.height*a.scale;if(!(n<i.slideWidth&&l<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-n/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-l/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.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.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.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)<c&&(r=c),r>v&&(r=v),(n=s*y.scale)<h&&(n=h),n>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;p<s+l;p+=1)o(p)&&e.lazy.loadInSlide(p);else e.lazy.loadInSlide(s);if(n.loadPrevNext)if(l>1||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;f<h;f+=1)o(f)&&e.lazy.loadInSlide(f);for(var m=v;m<s;m+=1)o(m)&&e.lazy.loadInSlide(m)}else{var g=t.children("."+a.slideNextClass);g.length>0&&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<d.length;p+=1){var u=d[p];if(u[0]>=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;o<r.length;o+=1)r[o]!==t&&r[o]instanceof n&&l(r[o]);else r instanceof n&&t!==r&&l(r)},setTransition:function(e,t){var a,i=this,s=i.constructor,r=i.controller.control;function n(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&ue((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){r&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(r))for(a=0;a<r.length;a+=1)r[a]!==t&&r[a]instanceof s&&n(r[a]);else r instanceof s&&t!==r&&n(r)}},qt={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;ge(e,{controller:a({control:e.params.controller.control},_t)})},on:{update:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t,a){e.controller.control&&e.controller.setTranslate(t,a)},setTransition:function(e,t,a){e.controller.control&&e.controller.setTransition(t,a)}}},jt={getRandomNumber:function(e){void 0===e&&(e=16);var t=function(){return Math.round(16*Math.random()).toString(16)};return"x".repeat(e).replace(/x/g,t)},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-roledescription",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterOrSpaceKey:function(e){if(13===e.keyCode||32===e.keyCode){var t=this,a=t.params.a11y,i=T(e.target);t.navigation&&t.navigation.$nextEl&&i.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(a.lastSlideMessage):t.a11y.notify(a.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&i.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(a.firstSlideMessage):t.a11y.notify(a.prevSlideMessage)),t.pagination&&i.is(be(t.params.pagination.bulletClass))&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop&&e.navigation){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(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<r;s+=1){var n=i.slides.eq(s);if(Ut.slugify(n.attr("data-history"))===t&&!n.hasClass(i.params.slideDuplicateClass)){var l=n.index();i.slideTo(l,e,a)}}else i.slideTo(0,e,a)}},Kt={onHashCange:function(){var e=this,t=n();e.emit("hashChange");var a=t.location.hash.replace("#","");if(a!==e.slides.eq(e.activeIndex).attr("data-hash")){var i=e.$wrapperEl.children("."+e.params.slideClass+'[data-hash="'+a+'"]').index();if(void 0===i)return;e.slideTo(i)}},setHash:function(){var e=this,t=o(),a=n();if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||0),e.emit("hashSet");else{var i=e.slides.eq(e.activeIndex),s=i.attr("data-hash")||i.attr("data-history");a.location.hash=s||"",e.emit("hashSet")}},init:function(){var e=this,t=n(),a=o();if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var i=t.location.hash.replace("#","");if(i)for(var s=0,r=0,l=e.slides.length;r<l;r+=1){var d=e.slides.eq(r);if((d.attr("data-hash")||d.attr("data-history"))===i&&!d.hasClass(e.params.slideDuplicateClass)){var p=d.index();e.slideTo(p,s,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&T(a).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){var e=this,t=o();e.params.hashNavigation.watchState&&T(t).off("hashchange",e.hashNavigation.onHashCange)}},Jt={run:function(){var e=this,t=e.slides.eq(e.activeIndex),a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=ue((function(){var t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(t=e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&e.autoplay.run()}),a)},start:function(){var e=this;return void 0===e.autoplay.timeout&&!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0)},stop:function(){var e=this;return!!e.autoplay.running&&void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0)},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((function(e){t.$wrapperEl[0].addEventListener(e,t.autoplay.onTransitionEnd)})):(t.autoplay.paused=!1,t.autoplay.run())))},onVisibilityChange:function(){var e=this,t=n();"hidden"===t.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===t.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(e){var t=this;t&&!t.destroyed&&t.$wrapperEl&&e.target===t.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((function(e){t.$wrapperEl[0].removeEventListener(e,t.autoplay.onTransitionEnd)})),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())},onMouseEnter:function(){var e=this;e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause(),["transitionend","webkitTransitionEnd"].forEach((function(t){e.$wrapperEl[0].removeEventListener(t,e.autoplay.onTransitionEnd)}))},onMouseLeave:function(){var e=this;e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,e.autoplay.run())},attachMouseEvents:function(){var e=this;e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",e.autoplay.onMouseEnter),e.$el.on("mouseleave",e.autoplay.onMouseLeave))},detachMouseEvents:function(){var e=this;e.$el.off("mouseenter",e.autoplay.onMouseEnter),e.$el.off("mouseleave",e.autoplay.onMouseLeave)}},Zt={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),s=-i[0].swiperSlideOffset;e.params.virtualTranslate||(s-=e.translate);var r=0;e.isHorizontal()||(r=s,s=0);var n=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:n}).transform("translate3d("+s+"px, "+r+"px, 0px)")}},setTransition:function(e){var t=this,a=t.slides,i=t.$wrapperEl;if(a.transition(e),t.params.virtualTranslate&&0!==e){var s=!1;a.transitionEnd((function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)i.trigger(e[a])}}))}}},Qt={setTranslate:function(){var e,t=this,a=t.$el,i=t.$wrapperEl,s=t.slides,r=t.width,n=t.height,l=t.rtlTranslate,o=t.size,d=t.browser,p=t.params.cubeEffect,u=t.isHorizontal(),c=t.virtual&&t.params.virtual.enabled,h=0;p.shadow&&(u?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=T('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=T('<div class="swiper-cube-shadow"></div>'),a.append(e)));for(var v=0;v<s.length;v+=1){var f=s.eq(v),m=v;c&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,b=Math.floor(g/360);l&&(g=-g,b=Math.floor(-g/360));var w=Math.max(Math.min(f[0].progress,1),-1),y=0,E=0,x=0;m%4==0?(y=4*-b*o,x=0):(m-1)%4==0?(y=0,x=4*-b*o):(m-2)%4==0?(y=o+4*b*o,x=o):(m-3)%4==0&&(y=-o,x=3*o+4*o*b),l&&(y=-y),u||(E=y,y=0);var C="rotateX("+(u?0:-g)+"deg) rotateY("+(u?g:0)+"deg) translate3d("+y+"px, "+E+"px, "+x+"px)";if(w<=1&&w>-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('<div class="swiper-slide-shadow-'+(u?"left":"top")+'"></div>'),f.append(S)),0===M.length&&(M=T('<div class="swiper-slide-shadow-'+(u?"right":"bottom")+'"></div>'),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<t.length;i+=1){var s=t.eq(i),r=s[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s[0].progress,1),-1));var n=-180*r,l=0,o=-s[0].swiperSlideOffset,d=0;if(e.isHorizontal()?a&&(n=-n):(d=o,o=0,l=-n,n=0),s[0].style.zIndex=-Math.abs(Math.round(r))+t.length,e.params.flipEffect.slideShadows){var p=e.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),u=e.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===p.length&&(p=T('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),s.append(p)),0===u.length&&(u=T('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),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<e.length;a+=1)s.trigger(e[a])}}))}}},ta={setTranslate:function(){for(var e=this,t=e.width,a=e.height,i=e.slides,s=e.slidesSizesGrid,r=e.params.coverflowEffect,n=e.isHorizontal(),l=e.translate,o=n?t/2-l:a/2-l,d=n?r.rotate:-r.rotate,p=r.depth,u=0,c=i.length;u<c;u+=1){var h=i.eq(u),v=s[u],f=(o-h[0].swiperSlideOffset-v/2)/v*r.modifier,m=n?d*f:0,g=n?0:d*f,b=-p*Math.abs(f),w=r.stretch;"string"==typeof w&&-1!==w.indexOf("%")&&(w=parseFloat(r.stretch)/100*v);var y=n?0:w*f,E=n?w*f:0,x=1-(1-r.scale)*Math.abs(f);Math.abs(E)<.001&&(E=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),Math.abs(m)<.001&&(m=0),Math.abs(g)<.001&&(g=0),Math.abs(x)<.001&&(x=0);var C="translate3d("+E+"px,"+y+"px,"+b+"px) rotateX("+g+"deg) rotateY("+m+"deg) scale("+x+")";if(h.transform(C),h[0].style.zIndex=1-Math.abs(Math.round(f)),r.slideShadows){var S=n?h.find(".swiper-slide-shadow-left"):h.find(".swiper-slide-shadow-top"),M=n?h.find(".swiper-slide-shadow-right"):h.find(".swiper-slide-shadow-bottom");0===S.length&&(S=T('<div class="swiper-slide-shadow-'+(n?"left":"top")+'"></div>'),h.append(S)),0===M.length&&(M=T('<div class="swiper-slide-shadow-'+(n?"right":"bottom")+'"></div>'),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-r<r-n?l:n}e.slideTo(s)}}},update:function(e){var t=this,a=t.thumbs.swiper;if(a){var i="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView,s=t.params.thumbs.autoScrollOffset,r=s&&!a.params.loop;if(t.realIndex!==a.realIndex||r){var n,l,o=a.activeIndex;if(a.params.loop){a.slides.eq(o).hasClass(a.params.slideDuplicateClass)&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,o=a.activeIndex);var d=a.slides.eq(o).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),p=a.slides.eq(o).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index();n=void 0===d?p:void 0===p?d:p-o==o-d?a.params.slidesPerGroup>1?p:o:p-o<o-d?p:d,l=t.activeIndex>t.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;h<u;h+=1)a.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+h)+'"]').addClass(c);else for(var v=0;v<u;v+=1)a.slides.eq(t.realIndex+v).addClass(c)}}},ia=[Dt,Gt,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){ge(this,{mousewheel:{enabled:!1,lastScrollTime:ce(),lastEventBeforeSnap:void 0,recentWheelEvents:[],enable:Ht.enable,disable:Ht.disable,handle:Ht.handle,handleMouseEnter:Ht.handleMouseEnter,handleMouseLeave:Ht.handleMouseLeave,animateSlider:Ht.animateSlider,releaseScroll:Ht.releaseScroll}})},on:{init:function(e){!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(e){e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){ge(this,{navigation:a({},Xt)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},"enable disable":function(e){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)},click:function(e,t){var a=e.navigation,i=a.$nextEl,s=a.$prevEl,r=t.target;if(e.params.navigation.hideOnClick&&!T(r).is(s)&&!T(r).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===r||e.pagination.el.contains(r)))return;var n;i?n=i.hasClass(e.params.navigation.hiddenClass):s&&(n=s.hasClass(e.params.navigation.hiddenClass)),!0===n?e.emit("navigationShow"):e.emit("navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),s&&s.toggleClass(e.params.navigation.hiddenClass)}}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){ge(this,{pagination:a({dynamicBulletIndex:0},Yt)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},"enable disable":function(e){var t=e.pagination.$el;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)},click:function(e,t){var a=t.target;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&e.pagination.$el.length>0&&!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('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},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
+(self.webpackChunkJetpack=self.webpackChunkJetpack||[]).push([[302],{89701:function(e,t,a){"use strict";a.r(t)},59101:function(e){e.exports=function(){"use strict";function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e},a.apply(this,arguments)}function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(a){void 0===e[a]?e[a]=t[a]:i(t[a])&&i(e[a])&&Object.keys(t[a]).length>0&&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<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}function x(e,t){if("string"!=typeof e)return[e];for(var a=[],i=t.querySelectorAll(e),s=0;s<i.length;s+=1)a.push(i[s]);return a}function T(e,t){var a=o(),i=n(),s=[];if(!t&&e instanceof b)return e;if(!e)return new b(s);if("string"==typeof e){var r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){var l="div";0===r.indexOf("<li")&&(l="ul"),0===r.indexOf("<tr")&&(l="tbody"),0!==r.indexOf("<td")&&0!==r.indexOf("<th")||(l="tr"),0===r.indexOf("<tbody")&&(l="table"),0===r.indexOf("<option")&&(l="select");var d=i.createElement(l);d.innerHTML=r;for(var p=0;p<d.childNodes.length;p+=1)s.push(d.childNodes[p])}else s=x(e.trim(),t||i)}else if(e.nodeType||e===a||e===i)s.push(e);else if(Array.isArray(e)){if(e instanceof b)return e;s=e}return new b(E(s))}function C(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=w(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,i)})),this}function S(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=w(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,i)})),this}function M(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=w(t.map((function(e){return e.split(" ")})));this.forEach((function(e){i.forEach((function(t){e.classList.toggle(t)}))}))}function z(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=w(t.map((function(e){return e.split(" ")})));return y(this,(function(e){return i.filter((function(t){return e.classList.contains(t)})).length>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<this.length;a+=1)if(2===arguments.length)this[a].setAttribute(e,t);else for(var i in e)this[a][i]=e[i],this[a].setAttribute(i,e[i]);return this}function P(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function $(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this}function L(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this}function I(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];function l(e){var t=e.target;if(t){var a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),T(t).is(s))r.apply(t,a);else for(var i=T(t).parents(),n=0;n<i.length;n+=1)T(i[n]).is(s)&&r.apply(i[n],a)}}function o(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(i=t[0],r=t[1],n=t[2],s=void 0),n||(n=!1);for(var d,p=i.split(" "),u=0;u<this.length;u+=1){var c=this[u];if(s)for(d=0;d<p.length;d+=1){var h=p[d];c.dom7LiveListeners||(c.dom7LiveListeners={}),c.dom7LiveListeners[h]||(c.dom7LiveListeners[h]=[]),c.dom7LiveListeners[h].push({listener:r,proxyListener:l}),c.addEventListener(h,l,n)}else for(d=0;d<p.length;d+=1){var v=p[d];c.dom7Listeners||(c.dom7Listeners={}),c.dom7Listeners[v]||(c.dom7Listeners[v]=[]),c.dom7Listeners[v].push({listener:r,proxyListener:o}),c.addEventListener(v,o,n)}}return this}function O(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(i=t[0],r=t[1],n=t[2],s=void 0),n||(n=!1);for(var l=i.split(" "),o=0;o<l.length;o+=1)for(var d=l[o],p=0;p<this.length;p+=1){var u=this[p],c=void 0;if(!s&&u.dom7Listeners?c=u.dom7Listeners[d]:s&&u.dom7LiveListeners&&(c=u.dom7LiveListeners[d]),c&&c.length)for(var h=c.length-1;h>=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;i<t;i++)a[i]=arguments[i];for(var s=a[0].split(" "),r=a[1],n=0;n<s.length;n+=1)for(var l=s[n],d=0;d<this.length;d+=1){var p=this[d];if(e.CustomEvent){var u=new e.CustomEvent(l,{detail:r,bubbles:!0,cancelable:!0});p.dom7EventData=a.filter((function(e,t){return t>0})),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;a<this.length;a+=1)for(var s in e)this[a].style[s]=e[s];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this}function Y(e){return e?(this.forEach((function(t,a){e.apply(t,[t,a])})),this):this}function R(e){return T(y(this,e))}function W(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function V(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function F(e){var t,a,i=o(),s=n(),r=this[0];if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(t=T(e),a=0;a<t.length;a+=1)if(t[a]===r)return!0;return!1}if(e===s)return r===s;if(e===i)return r===i;if(e.nodeType||e instanceof b){for(t=e.nodeType?[e]:e,a=0;a<t.length;a+=1)if(t[a]===r)return!0;return!1}return!1}function _(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function q(e){if(void 0===e)return this;var t=this.length;if(e>t-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<arguments.length;a+=1){e=a<0||arguments.length<=a?void 0:arguments[a];for(var i=0;i<this.length;i+=1)if("string"==typeof e){var s=t.createElement("div");for(s.innerHTML=e;s.firstChild;)this[i].appendChild(s.firstChild)}else if(e instanceof b)for(var r=0;r<e.length;r+=1)this[i].appendChild(e[r]);else this[i].appendChild(e)}return this}function U(e){var t,a,i=n();for(t=0;t<this.length;t+=1)if("string"==typeof e){var s=i.createElement("div");for(s.innerHTML=e,a=s.childNodes.length-1;a>=0;a-=1)this[t].insertBefore(s.childNodes[a],this[t].childNodes[0])}else if(e instanceof b)for(a=0;a<e.length;a+=1)this[t].insertBefore(e[a],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function K(e){return this.length>0?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;a<this.length;a+=1)null!==this[a].parentNode&&(e?T(this[a].parentNode).is(e)&&t.push(this[a].parentNode):t.push(this[a].parentNode));return T(t)}function te(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].parentNode;i;)e?T(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return T(t)}function ae(e){var t=this;return void 0===e?T([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function ie(e){for(var t=[],a=0;a<this.length;a+=1){try{var i=this[a].querySelectorAll(e)}catch(t){console.log(e)}for(var s=0;s<i.length;s+=1)t.push(i[s])}return T(t)}function se(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].children,s=0;s<i.length;s+=1)e&&!T(i[s]).is(e)||t.push(i[s]);return T(t)}function re(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}T.fn=b.prototype;var ne,le,oe,de={addClass:C,removeClass:S,hasClass:z,toggleClass:M,attr:k,removeAttr:P,transform:$,transition:L,on:I,off:O,trigger:A,transitionEnd:D,outerWidth:N,outerHeight:G,styles:H,offset:B,css:X,each:Y,html:W,text:V,is:F,index:_,eq:q,append:j,prepend:U,next:K,nextAll:J,prev:Z,prevAll:Q,parent:ee,parents:te,closest:ae,find:ie,children:se,filter:R,remove:re};function pe(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function ue(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function ce(){return Date.now()}function he(e){var t,a=o();return a.getComputedStyle&&(t=a.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function ve(e,t){void 0===t&&(t="x");var a,i,s,r=o(),n=he(e);return r.WebKitCSSMatrix?((i=n.transform||n.webkitTransform).split(",").length>6&&(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<arguments.length;a+=1){var i=a<0||arguments.length<=a?void 0:arguments[a];if(null!=i)for(var s=Object.keys(Object(i)).filter((function(e){return t.indexOf(e)<0})),r=0,n=s.length;r<n;r+=1){var l=s[r],o=Object.getOwnPropertyDescriptor(i,l);void 0!==o&&o.enumerable&&(fe(e[l])&&fe(i[l])?i[l].__swiper__?e[l]=i[l]:me(e[l],i[l]):!fe(e[l])&&fe(i[l])?(e[l]={},i[l].__swiper__?e[l]=i[l]:me(e[l],i[l])):e[l]=i[l])}}return e}function ge(e,t){Object.keys(t).forEach((function(a){fe(t[a])&&Object.keys(t[a]).forEach((function(i){"function"==typeof t[a][i]&&(t[a][i]=t[a][i].bind(e))})),e[a]=t[a]}))}function be(e){return void 0===e&&(e=""),"."+e.trim().replace(/([\.:\/])/g,"\\$1").replace(/ /g,".")}function we(e,t,a,i){var s=n();return a&&Object.keys(i).forEach((function(a){if(!t[a]&&!0===t.auto){var r=s.createElement("div");r.className=i[a],e.append(r),t[a]=r}})),t}function ye(){var e=o(),t=n();return{touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!e.PointerEvent&&"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>=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<t.length;a+=1)e.observer.attach(t[a]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach((function(e){e.disconnect()})),e.observer.observers=[]}},Pe={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){ge(this,{observer:a({},ke,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},$e={useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(a){var i=t.modules[a];i.params&&me(e,i.params)}))},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(a){var i=t.modules[a],s=e[a]||{};i.on&&t.on&&Object.keys(i.on).forEach((function(e){t.on(e,i.on[e])})),i.create&&i.create.bind(t)(s)}))}},Le={on:function(e,t,a){var i=this;if("function"!=typeof t)return i;var s=a?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][s](t)})),i},once:function(e,t,a){var i=this;if("function"!=typeof t)return i;function s(){i.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];t.apply(i,r)}return s.__emitterProxy=t,i.on(e,s,a)},onAny:function(e,t){var a=this;if("function"!=typeof e)return a;var i=t?"unshift":"push";return a.eventsAnyListeners.indexOf(e)<0&&a.eventsAnyListeners[i](e),a},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;var a=t.eventsAnyListeners.indexOf(e);return 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<s;n++)r[n]=arguments[n];return"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),a=i):(e=r[0].events,t=r[0].data,a=r[0].context||i),t.unshift(a),(Array.isArray(e)?e:e.split(" ")).forEach((function(e){i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach((function(i){i.apply(a,[e].concat(t))})),i.eventsListeners&&i.eventsListeners[e]&&i.eventsListeners[e].forEach((function(e){e.apply(a,t)}))})),i}};function Ie(){var e,t,a=this,i=a.$el;e=void 0!==a.params.width&&null!==a.params.width?a.params.width:i[0].clientWidth,t=void 0!==a.params.height&&null!==a.params.height?a.params.height:i[0].clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(i.css("padding-left")||0,10)-parseInt(i.css("padding-right")||0,10),t=t-parseInt(i.css("padding-top")||0,10)-parseInt(i.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),me(a,{width:e,height:t,size:a.isHorizontal()?e:t}))}function Oe(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function a(e,a){return parseFloat(e.getPropertyValue(t(a))||0)}var i=e.params,s=e.$wrapperEl,r=e.size,n=e.rtlTranslate,l=e.wrongRTL,o=e.virtual&&i.virtual.enabled,d=o?e.virtual.slides.length:e.slides.length,p=s.children("."+e.params.slideClass),u=o?e.virtual.slides.length:p.length,c=[],h=[],v=[],f=i.slidesOffsetBefore;"function"==typeof f&&(f=i.slidesOffsetBefore.call(e));var m=i.slidesOffsetAfter;"function"==typeof m&&(m=i.slidesOffsetAfter.call(e));var g=e.snapGrid.length,b=e.slidesGrid.length,w=i.spaceBetween,y=-f,E=0,x=0;if(void 0!==r){var T,C;"string"==typeof w&&w.indexOf("%")>=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;L<u;L+=1){C=0;var I=p.eq(L);if(i.slidesPerColumn>1){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;K<c.length;K+=1){var J=c[K];i.roundLengths&&(J=Math.floor(J)),c[K]<e.virtualSize+c[0]&&S.push(J)}c=S}if(!i.centeredSlides){S=[];for(var Z=0;Z<c.length;Z+=1){var Q=c[Z];i.roundLengths&&(Q=Math.floor(Q)),c[Z]<=e.virtualSize-r&&S.push(Q)}c=S,Math.floor(e.virtualSize-r)-Math.floor(c[c.length-1])>1&&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)<r){var re=(r-se)/2;c.forEach((function(e,t){c[t]=e-re})),h.forEach((function(e,t){h[t]=e+re}))}}me(e,{slides:p,snapGrid:c,slidesGrid:h,slidesSizesGrid:v}),u!==d&&e.emit("slidesLengthChange"),c.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),(i.watchSlidesProgress||i.watchSlidesVisibility)&&e.updateSlidesOffset()}}function Ae(e){var t,a=this,i=[],s=a.virtual&&a.params.virtual.enabled,r=0;"number"==typeof e?a.setTransition(e):!0===e&&a.setTransition(a.params.speed);var n=function(e){return s?a.slides.filter((function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e}))[0]:a.slides.eq(e)[0]};if("auto"!==a.params.slidesPerView&&a.params.slidesPerView>1)if(a.params.centeredSlides)a.visibleSlides.each((function(e){i.push(e)}));else for(t=0;t<Math.ceil(a.params.slidesPerView);t+=1){var l=a.activeIndex+t;if(l>a.slides.length&&!s)break;i.push(n(l))}else i.push(n(a.activeIndex));for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var o=i[t].offsetHeight;r=o>r?o:r}r&&a.$wrapperEl.css("height",r+"px")}function De(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1)t[a].swiperSlideOffset=e.isHorizontal()?t[a].offsetLeft:t[a].offsetTop}function Ne(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.slides,s=t.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;s&&(r=e),i.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var n=0;n<i.length;n+=1){var l=i[n],o=(r+(a.centeredSlides?t.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+a.spaceBetween);if(a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight){var d=-(r-l.swiperSlideOffset),p=d+t.slidesSizesGrid[n];(d>=0&&d<t.size-1||p>1&&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.length;u+=1)void 0!==s[u+1]?i>=s[u]&&i<s[u+1]-(s[u+1]-s[u])/2?p=u:i>=s[u]&&i<s[u+1]&&(p=u+1):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;n<a.slides.length;n+=1)if(a.slides[n]===s){r=!0,t=n;break}if(!s||!r)return a.clickedSlide=void 0,void(a.clickedIndex=void 0);a.clickedSlide=s,a.virtual&&a.params.virtual.enabled?a.clickedIndex=parseInt(T(s).attr("data-swiper-slide-index"),10):a.clickedIndex=t,i.slideToClickedSlide&&void 0!==a.clickedIndex&&a.clickedIndex!==a.activeIndex&&a.slideToClickedSlide()}function Ye(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,a=t.params,i=t.rtlTranslate,s=t.translate,r=t.$wrapperEl;if(a.virtualTranslate)return i?-s:s;if(a.cssMode)return s;var n=ve(r[0],e);return i&&(n=-n),n||0}function Re(e,t){var a=this,i=a.rtlTranslate,s=a.params,r=a.$wrapperEl,n=a.wrapperEl,l=a.progress,o=0,d=0,p=0;a.isHorizontal()?o=i?-e:e:d=e,s.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),s.cssMode?n[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-o:-d:s.virtualTranslate||r.transform("translate3d("+o+"px, "+d+"px, "+p+"px)"),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?o:d;var u=a.maxTranslate()-a.minTranslate();(0===u?0:(e-a.minTranslate())/u)!==l&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)}function We(){return-this.snapGrid[0]}function Ve(){return-this.snapGrid[this.snapGrid.length-1]}function Fe(e,t,a,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0),void 0===i&&(i=!0);var r=this,n=r.params,l=r.wrapperEl;if(r.animating&&n.preventInteractionOnTransition)return!1;var o,d=r.minTranslate(),p=r.maxTranslate();if(o=i&&e>d?d:i&&e<p?p:e,r.updateProgress(o),n.cssMode){var u,c=r.isHorizontal();return 0===t?l[c?"scrollLeft":"scrollTop"]=-o:l.scrollTo?l.scrollTo(((u={})[c?"left":"top"]=-o,u.behavior="smooth",u)):l[c?"scrollLeft":"scrollTop"]=-o,!0}return 0===t?(r.setTransition(0),r.setTranslate(o),a&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(o),a&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,a&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}function _e(e,t){var a=this;a.params.cssMode||a.$wrapperEl.transition(e),a.emit("setTransition",e,t)}function qe(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.params,r=a.previousIndex;if(!s.cssMode){s.autoHeight&&a.updateAutoHeight();var n=t;if(n||(n=i>r?"next":i<r?"prev":"reset"),a.emit("transitionStart"),e&&i!==r){if("reset"===n)return void a.emit("slideResetTransitionStart");a.emit("slideChangeTransitionStart"),"next"===n?a.emit("slideNextTransitionStart"):a.emit("slidePrevTransitionStart")}}}function je(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.previousIndex,r=a.params;if(a.animating=!1,!r.cssMode){a.setTransition(0);var n=t;if(n||(n=i>s?"next":i<s?"prev":"reset"),a.emit("transitionEnd"),e&&i!==s){if("reset"===n)return void a.emit("slideResetTransitionEnd");a.emit("slideChangeTransitionEnd"),"next"===n?a.emit("slideNextTransitionEnd"):a.emit("slidePrevTransitionEnd")}}}function Ue(e,t,a,i,s){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var r=parseInt(e,10);if(!isFinite(r))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=r}var n=this,l=e;l<0&&(l=0);var o=n.params,d=n.snapGrid,p=n.slidesGrid,u=n.previousIndex,c=n.activeIndex,h=n.rtlTranslate,v=n.wrapperEl,f=n.enabled;if(n.animating&&o.preventInteractionOnTransition||!f&&!i&&!s)return!1;var m=Math.min(n.params.slidesPerGroupSkip,l),g=m+Math.floor((l-m)/n.params.slidesPerGroup);g>=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<p.length;y+=1){var E=-Math.floor(100*w),x=Math.floor(100*p[y]),T=Math.floor(100*p[y+1]);void 0!==p[y+1]?E>=x&&E<T-(T-x)/2?l=y:E>=x&&E<T&&(l=y+1):E>=x&&(l=y)}if(n.initialized&&l!==c){if(!n.allowSlideNext&&w<n.translate&&w<n.minTranslate())return!1;if(!n.allowSlidePrev&&w>n.translate&&w>n.maxTranslate()&&(c||0)!==l)return!1}if(b=l>c?"next":l<c?"prev":"reset",h&&-w===n.translate||!h&&w===n.translate)return n.updateActiveIndex(l),o.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==o.effect&&n.setTranslate(w),"reset"!==b&&(n.transitionStart(a,b),n.transitionEnd(a,b)),!1;if(o.cssMode){var C,S=n.isHorizontal(),M=-w;return h&&(M=v.scrollWidth-v.offsetWidth-M),0===t?v[S?"scrollLeft":"scrollTop"]=M:v.scrollTo?v.scrollTo(((C={})[S?"left":"top"]=M,C.behavior="smooth",C)):v[S?"scrollLeft":"scrollTop"]=M,!0}return 0===t?(n.setTransition(0),n.setTranslate(w),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(a,b),n.transitionEnd(a,b)):(n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(a,b),n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(a,b))}),n.$wrapperEl[0].addEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd))),!0}function Ke(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);var s=this,r=e;return s.params.loop&&(r+=s.loopedSlides),s.slideTo(r,t,a,i)}function Je(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating;if(!i.enabled)return i;var n=i.activeIndex<s.slidesPerGroupSkip?1:s.slidesPerGroup;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+n,e,t,a)}function Ze(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating,n=i.snapGrid,l=i.slidesGrid,o=i.rtlTranslate;if(!i.enabled)return i;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var p=d(o?i.translate:-i.translate),u=n.map((function(e){return d(e)}));n[u.indexOf(p)];var c,h=n[u.indexOf(p)-1];return void 0===h&&s.cssMode&&n.forEach((function(e){!h&&p>=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?r<t.loopedSlides-s/2||r>t.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;l<r;l+=1){var o=T(t.createElement("div")).addClass(a.slideClass+" "+a.slideBlankClass);i.append(o)}s=i.children("."+a.slideClass)}}"auto"!==a.slidesPerView||a.loopedSlides||(a.loopedSlides=s.length),e.loopedSlides=Math.ceil(parseFloat(a.loopedSlides||a.slidesPerView,10)),e.loopedSlides+=a.loopAdditionalSlides,e.loopedSlides>s.length&&(e.loopedSlides=s.length);var d=[],p=[];s.each((function(t,a){var i=T(t);a<e.loopedSlides&&p.push(t),a<s.length&&a>=s.length-e.loopedSlides&&d.push(t),i.attr("data-swiper-slide-index",a)}));for(var u=0;u<p.length;u+=1)i.append(T(p[u].cloneNode(!0)).addClass(a.slideDuplicateClass));for(var c=d.length-1;c>=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<s?(t=i.length-3*s+a,t+=s,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((o?-e.translate:e.translate)-d)):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<e.length;s+=1)e[s]&&a.append(e[s]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update()}function ot(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&t.loopDestroy();var r=s+1;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)e[n]&&i.prepend(e[n]);r=s+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update(),t.slideTo(r,0,!1)}function dt(e,t){var a=this,i=a.$wrapperEl,s=a.params,r=a.activeIndex;s.loop&&(r-=a.loopedSlides,a.loopDestroy(),a.slides=i.children("."+s.slideClass));var n=a.slides.length;if(e<=0)a.prependSlide(t);else if(e>=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;u<t.length;u+=1)t[u]&&i.append(t[u]);l=r>e?r+t.length:r}else i.append(t);for(var c=0;c<o.length;c+=1)i.append(o[c]);s.loop&&a.loopCreate(),s.observer&&a.support.observer||a.update(),s.loop?a.slideTo(l+a.loopedSlides,0,!1):a.slideTo(l,0,!1)}}function pt(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&(s-=t.loopedSlides,t.loopDestroy(),t.slides=i.children("."+a.slideClass));var r,n=s;if("object"==typeof e&&"length"in e){for(var l=0;l<e.length;l+=1)r=e[l],t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1),n=Math.max(n,0);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update(),a.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)}function ut(){for(var e=this,t=[],a=0;a<e.slides.length;a+=1)t.push(a);e.removeSlide(t)}function ct(e){var t=this,a=n(),i=o(),s=t.touchEventsData,r=t.params,l=t.touches;if(t.enabled&&(!t.animating||!r.preventInteractionOnTransition)){var d=e;d.originalEvent&&(d=d.originalEvent);var p=T(d.target);if(("wrapper"!==r.touchEventsTarget||p.closest(t.wrapperEl).length)&&(s.isTouchEvent="touchstart"===d.type,(s.isTouchEvent||!("which"in d)||3!==d.which)&&!(!s.isTouchEvent&&"button"in d&&d.button>0||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(u<r.startY&&a.translate<=a.maxTranslate()||u>r.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(p<r.startX&&a.translate<=a.maxTranslate()||p>r.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))<a.params.threshold))if(void 0===i.isScrolling&&(a.isHorizontal()&&r.currentY===r.startY||a.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:h*h+v*v>=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.currentTranslate<a.maxTranslate()&&(m=!1,s.resistance&&(i.currentTranslate=a.maxTranslate()+1-Math.pow(a.maxTranslate()-i.startTranslate-f,g))),m&&(o.preventedByNestedSwiper=!0),!a.allowSlideNext&&"next"===a.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!a.allowSlidePrev&&"prev"===a.swipeDirection&&i.currentTranslate>i.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.length<o.length?t.slideTo(o.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(a.velocities.length>1){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)<i.freeModeMinimumVelocity&&(t.velocity=0),(m>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(w<t.maxTranslate())i.freeModeMomentumBounce?(w+t.maxTranslate()<-T&&(w=t.maxTranslate()-T),y=t.maxTranslate(),x=!0,a.allowMomentumBounce=!0):w=t.maxTranslate(),i.loop&&i.centeredSlides&&(E=!0);else if(w>t.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<o.length;S+=1)if(o[S]>-w){C=S;break}w=-(w=Math.abs(o[C]-w)<Math.abs(o[C-1]-w)||"next"===t.swipeDirection?o[C]:o[C-1])}if(E&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(g=r?Math.abs((-w-t.translate)/t.velocity):Math.abs((w-t.translate)/t.velocity),i.freeModeSticky){var M=Math.abs((r?-w:w)-t.translate),z=t.slidesSizesGrid[t.activeIndex];g=M<z?i.speed:M<2*z?1.5*i.speed:2.5*i.speed}}else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&x?(t.updateProgress(y),t.setTransition(g),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),setTimeout((function(){t.setTranslate(y),n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(w),t.setTransition(g),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):(t.emit("_freeModeNoMomentumRelease"),t.updateProgress(w)),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(i.freeModeSticky)return void t.slideToClosest();i.freeMode&&t.emit("_freeModeNoMomentumRelease")}(!i.freeModeMomentum||c>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,P=t.slidesSizesGrid[0],$=0;$<l.length;$+=$<i.slidesPerGroupSkip?1:i.slidesPerGroup){var L=$<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==l[$+L]?p>=l[$]&&p<l[$+L]&&(k=$,P=l[$+L]-l[$]):p>=l[$]&&(k=$,P=l[l.length-1]-l[l.length-2])}var I=(p-l[k])/P,O=k<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(c>i.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;d<l.length;d+=1){var p=l[d],u=p.point;p.value<=r&&(i=u)}return i||"max"}}function Ct(e,t){var a=[];return e.forEach((function(e){"object"==typeof e?Object.keys(e).forEach((function(i){e[i]&&a.push(t+i)})):"string"==typeof e&&a.push(t+e)})),a}function St(){var e=this,t=e.classNames,a=e.params,i=e.rtl,s=e.$el,r=e.device,n=e.support,l=Ct(["initialized",a.direction,{"pointer-events":n.pointerEvents&&!n.touch},{"free-mode":a.freeMode},{autoheight:a.autoHeight},{rtl:i},{multirow:a.slidesPerColumn>1},{"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;a<e.imagesToLoad.length;a+=1){var i=e.imagesToLoad[a];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}function Pt(){var e=this,t=e.params,a=e.isLocked,i=e.slides.length>0&&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;r<i;r++)s[r]=arguments[r];if(1===s.length&&s[0].constructor&&"Object"===Object.prototype.toString.call(s[0]).slice(8,-1)?a=s[0]:(t=s[0],a=s[1]),a||(a={}),a=me({},a),t&&!a.el&&(a.el=t),a.el&&T(a.el).length>1){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;d<a.length;d+=1)a[d]&&!l&&(n+=1,(o+=a[d].swiperSlideSize)>s&&(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;u<a.length;u+=1)i[u]-i[r]<s&&(n+=1);return n},a.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,a=e.params;a.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&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)(M<y||M>E)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+M+'"]').remove();for(var z=0;z<c.length;z+=1)z>=y&&z<=E&&(void 0===u||e?S.push(z):(z>u&&S.push(z),z<p&&C.push(z)));S.forEach((function(e){t.$wrapperEl.append(v(c[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(v(c[e],e))})),t.$wrapperEl.children(".swiper-slide").css(m,x+"px"),T()},renderSlide:function(e,t){var a=this,i=a.params.virtual;if(i.cache&&a.virtual.cache[t])return a.virtual.cache[t];var s=i.renderSlide?T(i.renderSlide.call(a,e,t)):T('<div class="'+a.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");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<e.length;a+=1)e[a]&&t.virtual.slides.push(e[a]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,a=t.activeIndex,i=a+1,s=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&t.virtual.slides.unshift(e[r]);i=a+e.length,s=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var n=t.virtual.cache,l={};Object.keys(n).forEach((function(e){var t=n[e],a=t.attr("data-swiper-slide-index");a&&t.attr("data-swiper-slide-index",parseInt(a,10)+1),l[parseInt(e,10)+s]=t})),t.virtual.cache=l}t.virtual.update(!0),t.slideTo(i,0)},removeSlide:function(e){var t=this;if(null!=e){var a=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<a&&(a-=1),a=Math.max(a,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<a&&(a-=1),a=Math.max(a,0);t.virtual.update(!0),t.slideTo(a,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},Dt={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;ge(e,{virtual:a({},At,{slides:e.params.virtual.slides,cache:{}})})},on:{beforeInit:function(e){if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};me(e.params,t),me(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(e){e.params.virtual.enabled&&e.virtual.update()}}},Nt={handle:function(e){var t=this;if(t.enabled){var a=o(),i=n(),s=t.rtlTranslate,r=e;r.originalEvent&&(r=r.originalEvent);var l=r.keyCode||r.charCode,d=t.params.keyboard.pageUpDown,p=d&&33===l,u=d&&34===l,c=37===l,h=39===l,v=38===l,f=40===l;if(!t.allowSlideNext&&(t.isHorizontal()&&h||t.isVertical()&&f||u))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&c||t.isVertical()&&v||p))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(p||u||c||h||v||f)){var m=!1;if(t.$el.parents("."+t.params.slideClass).length>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<T.length;C+=1){var S=T[C];if(S[0]>=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<p.time+500&&d.delta<=p.delta&&d.direction===p.direction;if(!u){a.mousewheel.lastEventBeforeSnap=void 0,a.params.loop&&a.loopFix();var c=a.getTranslate()+r*i.sensitivity,h=a.isBeginning,v=a.isEnd;if(c>=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<this.params.mousewheel.thresholdDelta||this.params.mousewheel.thresholdTime&&ce()-t.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime||!(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<r;n+=1)t.renderBullet?s+=t.renderBullet.call(e,n,t.bulletClass):s+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";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):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',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('<div class="'+e.params.scrollbar.dragClass+'"></div>'),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.scale<i.minRatio&&(s.scale=i.minRatio+1-Math.pow(i.minRatio-s.scale+1,.5)),r.$imageEl.transform("translate3d(0,0,0) scale("+s.scale+")")):"gesturechange"===e.type&&s.onGestureStart(e)},onGestureEnd:function(e){var t=this,a=t.device,i=t.support,s=t.params.zoom,r=t.zoom,n=r.gesture;if(!i.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!a.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,n.maxRatio),s.minRatio),n.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(n.$slideEl=void 0))},onTouchStart:function(e){var t=this,a=t.device,i=t.zoom,s=i.gesture,r=i.image;s.$imageEl&&0!==s.$imageEl.length&&(r.isTouched||(a.android&&e.cancelable&&e.preventDefault(),r.isTouched=!0,r.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,r.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,s=a.image,r=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=ve(i.$imageWrapEl[0],"x")||0,s.startY=ve(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var n=s.width*a.scale,l=s.height*a.scale;if(!(n<i.slideWidth&&l<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-n/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-l/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.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.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.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)<c&&(r=c),r>v&&(r=v),(n=s*y.scale)<h&&(n=h),n>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;p<s+l;p+=1)o(p)&&e.lazy.loadInSlide(p);else e.lazy.loadInSlide(s);if(n.loadPrevNext)if(l>1||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;f<h;f+=1)o(f)&&e.lazy.loadInSlide(f);for(var m=v;m<s;m+=1)o(m)&&e.lazy.loadInSlide(m)}else{var g=t.children("."+a.slideNextClass);g.length>0&&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<d.length;p+=1){var u=d[p];if(u[0]>=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;o<r.length;o+=1)r[o]!==t&&r[o]instanceof n&&l(r[o]);else r instanceof n&&t!==r&&l(r)},setTransition:function(e,t){var a,i=this,s=i.constructor,r=i.controller.control;function n(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&ue((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){r&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(r))for(a=0;a<r.length;a+=1)r[a]!==t&&r[a]instanceof s&&n(r[a]);else r instanceof s&&t!==r&&n(r)}},qt={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;ge(e,{controller:a({control:e.params.controller.control},_t)})},on:{update:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t,a){e.controller.control&&e.controller.setTranslate(t,a)},setTransition:function(e,t,a){e.controller.control&&e.controller.setTransition(t,a)}}},jt={getRandomNumber:function(e){void 0===e&&(e=16);var t=function(){return Math.round(16*Math.random()).toString(16)};return"x".repeat(e).replace(/x/g,t)},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-roledescription",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterOrSpaceKey:function(e){if(13===e.keyCode||32===e.keyCode){var t=this,a=t.params.a11y,i=T(e.target);t.navigation&&t.navigation.$nextEl&&i.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(a.lastSlideMessage):t.a11y.notify(a.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&i.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(a.firstSlideMessage):t.a11y.notify(a.prevSlideMessage)),t.pagination&&i.is(be(t.params.pagination.bulletClass))&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop&&e.navigation){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(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<r;s+=1){var n=i.slides.eq(s);if(Ut.slugify(n.attr("data-history"))===t&&!n.hasClass(i.params.slideDuplicateClass)){var l=n.index();i.slideTo(l,e,a)}}else i.slideTo(0,e,a)}},Kt={onHashCange:function(){var e=this,t=n();e.emit("hashChange");var a=t.location.hash.replace("#","");if(a!==e.slides.eq(e.activeIndex).attr("data-hash")){var i=e.$wrapperEl.children("."+e.params.slideClass+'[data-hash="'+a+'"]').index();if(void 0===i)return;e.slideTo(i)}},setHash:function(){var e=this,t=o(),a=n();if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||0),e.emit("hashSet");else{var i=e.slides.eq(e.activeIndex),s=i.attr("data-hash")||i.attr("data-history");a.location.hash=s||"",e.emit("hashSet")}},init:function(){var e=this,t=n(),a=o();if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var i=t.location.hash.replace("#","");if(i)for(var s=0,r=0,l=e.slides.length;r<l;r+=1){var d=e.slides.eq(r);if((d.attr("data-hash")||d.attr("data-history"))===i&&!d.hasClass(e.params.slideDuplicateClass)){var p=d.index();e.slideTo(p,s,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&T(a).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){var e=this,t=o();e.params.hashNavigation.watchState&&T(t).off("hashchange",e.hashNavigation.onHashCange)}},Jt={run:function(){var e=this,t=e.slides.eq(e.activeIndex),a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=ue((function(){var t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(t=e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&e.autoplay.run()}),a)},start:function(){var e=this;return void 0===e.autoplay.timeout&&!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0)},stop:function(){var e=this;return!!e.autoplay.running&&void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0)},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((function(e){t.$wrapperEl[0].addEventListener(e,t.autoplay.onTransitionEnd)})):(t.autoplay.paused=!1,t.autoplay.run())))},onVisibilityChange:function(){var e=this,t=n();"hidden"===t.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===t.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(e){var t=this;t&&!t.destroyed&&t.$wrapperEl&&e.target===t.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((function(e){t.$wrapperEl[0].removeEventListener(e,t.autoplay.onTransitionEnd)})),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())},onMouseEnter:function(){var e=this;e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause(),["transitionend","webkitTransitionEnd"].forEach((function(t){e.$wrapperEl[0].removeEventListener(t,e.autoplay.onTransitionEnd)}))},onMouseLeave:function(){var e=this;e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,e.autoplay.run())},attachMouseEvents:function(){var e=this;e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",e.autoplay.onMouseEnter),e.$el.on("mouseleave",e.autoplay.onMouseLeave))},detachMouseEvents:function(){var e=this;e.$el.off("mouseenter",e.autoplay.onMouseEnter),e.$el.off("mouseleave",e.autoplay.onMouseLeave)}},Zt={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),s=-i[0].swiperSlideOffset;e.params.virtualTranslate||(s-=e.translate);var r=0;e.isHorizontal()||(r=s,s=0);var n=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:n}).transform("translate3d("+s+"px, "+r+"px, 0px)")}},setTransition:function(e){var t=this,a=t.slides,i=t.$wrapperEl;if(a.transition(e),t.params.virtualTranslate&&0!==e){var s=!1;a.transitionEnd((function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)i.trigger(e[a])}}))}}},Qt={setTranslate:function(){var e,t=this,a=t.$el,i=t.$wrapperEl,s=t.slides,r=t.width,n=t.height,l=t.rtlTranslate,o=t.size,d=t.browser,p=t.params.cubeEffect,u=t.isHorizontal(),c=t.virtual&&t.params.virtual.enabled,h=0;p.shadow&&(u?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=T('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=T('<div class="swiper-cube-shadow"></div>'),a.append(e)));for(var v=0;v<s.length;v+=1){var f=s.eq(v),m=v;c&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,b=Math.floor(g/360);l&&(g=-g,b=Math.floor(-g/360));var w=Math.max(Math.min(f[0].progress,1),-1),y=0,E=0,x=0;m%4==0?(y=4*-b*o,x=0):(m-1)%4==0?(y=0,x=4*-b*o):(m-2)%4==0?(y=o+4*b*o,x=o):(m-3)%4==0&&(y=-o,x=3*o+4*o*b),l&&(y=-y),u||(E=y,y=0);var C="rotateX("+(u?0:-g)+"deg) rotateY("+(u?g:0)+"deg) translate3d("+y+"px, "+E+"px, "+x+"px)";if(w<=1&&w>-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('<div class="swiper-slide-shadow-'+(u?"left":"top")+'"></div>'),f.append(S)),0===M.length&&(M=T('<div class="swiper-slide-shadow-'+(u?"right":"bottom")+'"></div>'),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<t.length;i+=1){var s=t.eq(i),r=s[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s[0].progress,1),-1));var n=-180*r,l=0,o=-s[0].swiperSlideOffset,d=0;if(e.isHorizontal()?a&&(n=-n):(d=o,o=0,l=-n,n=0),s[0].style.zIndex=-Math.abs(Math.round(r))+t.length,e.params.flipEffect.slideShadows){var p=e.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),u=e.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===p.length&&(p=T('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),s.append(p)),0===u.length&&(u=T('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),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<e.length;a+=1)s.trigger(e[a])}}))}}},ta={setTranslate:function(){for(var e=this,t=e.width,a=e.height,i=e.slides,s=e.slidesSizesGrid,r=e.params.coverflowEffect,n=e.isHorizontal(),l=e.translate,o=n?t/2-l:a/2-l,d=n?r.rotate:-r.rotate,p=r.depth,u=0,c=i.length;u<c;u+=1){var h=i.eq(u),v=s[u],f=(o-h[0].swiperSlideOffset-v/2)/v*r.modifier,m=n?d*f:0,g=n?0:d*f,b=-p*Math.abs(f),w=r.stretch;"string"==typeof w&&-1!==w.indexOf("%")&&(w=parseFloat(r.stretch)/100*v);var y=n?0:w*f,E=n?w*f:0,x=1-(1-r.scale)*Math.abs(f);Math.abs(E)<.001&&(E=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),Math.abs(m)<.001&&(m=0),Math.abs(g)<.001&&(g=0),Math.abs(x)<.001&&(x=0);var C="translate3d("+E+"px,"+y+"px,"+b+"px) rotateX("+g+"deg) rotateY("+m+"deg) scale("+x+")";if(h.transform(C),h[0].style.zIndex=1-Math.abs(Math.round(f)),r.slideShadows){var S=n?h.find(".swiper-slide-shadow-left"):h.find(".swiper-slide-shadow-top"),M=n?h.find(".swiper-slide-shadow-right"):h.find(".swiper-slide-shadow-bottom");0===S.length&&(S=T('<div class="swiper-slide-shadow-'+(n?"left":"top")+'"></div>'),h.append(S)),0===M.length&&(M=T('<div class="swiper-slide-shadow-'+(n?"right":"bottom")+'"></div>'),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-r<r-n?l:n}e.slideTo(s)}}},update:function(e){var t=this,a=t.thumbs.swiper;if(a){var i="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView,s=t.params.thumbs.autoScrollOffset,r=s&&!a.params.loop;if(t.realIndex!==a.realIndex||r){var n,l,o=a.activeIndex;if(a.params.loop){a.slides.eq(o).hasClass(a.params.slideDuplicateClass)&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,o=a.activeIndex);var d=a.slides.eq(o).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),p=a.slides.eq(o).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index();n=void 0===d?p:void 0===p?d:p-o==o-d?a.params.slidesPerGroup>1?p:o:p-o<o-d?p:d,l=t.activeIndex>t.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;h<u;h+=1)a.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+h)+'"]').addClass(c);else for(var v=0;v<u;v+=1)a.slides.eq(t.realIndex+v).addClass(c)}}},ia=[Dt,Gt,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){ge(this,{mousewheel:{enabled:!1,lastScrollTime:ce(),lastEventBeforeSnap:void 0,recentWheelEvents:[],enable:Ht.enable,disable:Ht.disable,handle:Ht.handle,handleMouseEnter:Ht.handleMouseEnter,handleMouseLeave:Ht.handleMouseLeave,animateSlider:Ht.animateSlider,releaseScroll:Ht.releaseScroll}})},on:{init:function(e){!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(e){e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){ge(this,{navigation:a({},Xt)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},"enable disable":function(e){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)},click:function(e,t){var a=e.navigation,i=a.$nextEl,s=a.$prevEl,r=t.target;if(e.params.navigation.hideOnClick&&!T(r).is(s)&&!T(r).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===r||e.pagination.el.contains(r)))return;var n;i?n=i.hasClass(e.params.navigation.hiddenClass):s&&(n=s.hasClass(e.params.navigation.hiddenClass)),!0===n?e.emit("navigationShow"):e.emit("navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),s&&s.toggleClass(e.params.navigation.hiddenClass)}}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){ge(this,{pagination:a({dynamicBulletIndex:0},Yt)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},"enable disable":function(e){var t=e.pagination.$el;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)},click:function(e,t){var a=t.target;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&e.pagination.$el.length>0&&!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('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},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/plugins/jetpack/_inc/blocks/business-hours/view.asset.php b/plugins/jetpack/_inc/blocks/business-hours/view.asset.php
index ed83ee6e..36f07404 100644
--- a/plugins/jetpack/_inc/blocks/business-hours/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/business-hours/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => '98fe7312891f0abbfc57f72af9fc2cf2'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => '8f36e745d927eeb2a83d');
diff --git a/plugins/jetpack/_inc/blocks/business-hours/view.js b/plugins/jetpack/_inc/blocks/business-hours/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/business-hours/view.js
+++ b/plugins/jetpack/_inc/blocks/business-hours/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/button/view.asset.php b/plugins/jetpack/_inc/blocks/button/view.asset.php
index 7fbb83b9..be88f601 100644
--- a/plugins/jetpack/_inc/blocks/button/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/button/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9a003aad38d25dfed01e48d7d5074887'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c3d509af36ff361194ae');
diff --git a/plugins/jetpack/_inc/blocks/button/view.css b/plugins/jetpack/_inc/blocks/button/view.css
index f55634aa..ec47d318 100644
--- a/plugins/jetpack/_inc/blocks/button/view.css
+++ b/plugins/jetpack/_inc/blocks/button/view.css
@@ -1 +1 @@
-.amp-wp-article .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-button button{border:inherit} \ No newline at end of file
+.amp-wp-article .wp-block-jetpack-button{color:#fff} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/button/view.js b/plugins/jetpack/_inc/blocks/button/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/button/view.js
+++ b/plugins/jetpack/_inc/blocks/button/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/button/view.rtl.css b/plugins/jetpack/_inc/blocks/button/view.rtl.css
index f55634aa..ec47d318 100644
--- a/plugins/jetpack/_inc/blocks/button/view.rtl.css
+++ b/plugins/jetpack/_inc/blocks/button/view.rtl.css
@@ -1 +1 @@
-.amp-wp-article .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-button button{border:inherit} \ No newline at end of file
+.amp-wp-article .wp-block-jetpack-button{color:#fff} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/calendly/view.asset.php b/plugins/jetpack/_inc/blocks/calendly/view.asset.php
index eab5adbc..40e9ddb0 100644
--- a/plugins/jetpack/_inc/blocks/calendly/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/calendly/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'd19bd228ce801bf66f24454506ac0680'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => '19f8442b579ba4243436');
diff --git a/plugins/jetpack/_inc/blocks/calendly/view.js b/plugins/jetpack/_inc/blocks/calendly/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/calendly/view.js
+++ b/plugins/jetpack/_inc/blocks/calendly/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/components.css b/plugins/jetpack/_inc/blocks/components.css
index 0e814121..4efd2a0c 100644
--- a/plugins/jetpack/_inc/blocks/components.css
+++ b/plugins/jetpack/_inc/blocks/components.css
@@ -1 +1 @@
-.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;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff}.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-left:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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;width:100%}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.block-editor-warning{border:1px solid #e0e0e0;padding:10px 14px}.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none} \ No newline at end of file
+.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;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff}.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-left:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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;width:100%}.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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.block-editor-warning{border:1px solid #e0e0e0;padding:10px 14px}.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/components.js b/plugins/jetpack/_inc/blocks/components.js
deleted file mode 100644
index 2d8d9b8d..00000000
--- a/plugins/jetpack/_inc/blocks/components.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see components.js.LICENSE */
-module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=256)}([function(e,t,n){(function(e){var r;(function(){var o="Expected a function",i="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",c="[object Array]",l="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Function]",h="[object GeneratorFunction]",p="[object Map]",v="[object Number]",m="[object Object]",b="[object RegExp]",g="[object Set]",y="[object String]",k="[object Symbol]",_="[object WeakMap]",w="[object ArrayBuffer]",O="[object DataView]",S="[object Float32Array]",E="[object Float64Array]",C="[object Int8Array]",T="[object Int16Array]",x="[object Int32Array]",D="[object Uint8Array]",M="[object Uint16Array]",j="[object Uint32Array]",I=/\b__p \+= '';/g,P=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,R=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,A=RegExp(R.source),z=RegExp(L.source),F=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,B=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(K.source),$=/^\s+|\s+$/g,q=/^\s+/,G=/\s+$/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ne=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,ie=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,se=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,le=/($^)/,ue=/['\n\r\u2028\u2029\\]/g,de="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",fe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="[\\ud800-\\udfff]",pe="["+fe+"]",ve="["+de+"]",me="\\d+",be="[\\u2700-\\u27bf]",ge="[a-z\\xdf-\\xf6\\xf8-\\xff]",ye="[^\\ud800-\\udfff"+fe+me+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ke="\\ud83c[\\udffb-\\udfff]",_e="[^\\ud800-\\udfff]",we="(?:\\ud83c[\\udde6-\\uddff]){2}",Oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Se="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ee="(?:"+ge+"|"+ye+")",Ce="(?:"+Se+"|"+ye+")",Te="(?:"+ve+"|"+ke+")"+"?",xe="[\\ufe0e\\ufe0f]?"+Te+("(?:\\u200d(?:"+[_e,we,Oe].join("|")+")[\\ufe0e\\ufe0f]?"+Te+")*"),De="(?:"+[be,we,Oe].join("|")+")"+xe,Me="(?:"+[_e+ve+"?",ve,we,Oe,he].join("|")+")",je=RegExp("['’]","g"),Ie=RegExp(ve,"g"),Pe=RegExp(ke+"(?="+ke+")|"+Me+xe,"g"),Ne=RegExp([Se+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[pe,Se,"$"].join("|")+")",Ce+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[pe,Se+Ee,"$"].join("|")+")",Se+"?"+Ee+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Se+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",me,De].join("|"),"g"),Re=RegExp("[\\u200d\\ud800-\\udfff"+de+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ae=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ze=-1,Fe={};Fe[S]=Fe[E]=Fe[C]=Fe[T]=Fe[x]=Fe[D]=Fe["[object Uint8ClampedArray]"]=Fe[M]=Fe[j]=!0,Fe[s]=Fe[c]=Fe[w]=Fe[l]=Fe[O]=Fe[u]=Fe[d]=Fe[f]=Fe[p]=Fe[v]=Fe[m]=Fe[b]=Fe[g]=Fe[y]=Fe[_]=!1;var He={};He[s]=He[c]=He[w]=He[O]=He[l]=He[u]=He[S]=He[E]=He[C]=He[T]=He[x]=He[p]=He[v]=He[m]=He[b]=He[g]=He[y]=He[k]=He[D]=He["[object Uint8ClampedArray]"]=He[M]=He[j]=!0,He[d]=He[f]=He[_]=!1;var Ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Be=parseFloat,Ue=parseInt,We="object"==typeof window&&window&&window.Object===Object&&window,Ke="object"==typeof self&&self&&self.Object===Object&&self,Ye=We||Ke||Function("return this")(),$e=t&&!t.nodeType&&t,qe=$e&&"object"==typeof e&&e&&!e.nodeType&&e,Ge=qe&&qe.exports===$e,Ze=Ge&&We.process,Xe=function(){try{var e=qe&&qe.require&&qe.require("util").types;return e||Ze&&Ze.binding&&Ze.binding("util")}catch(t){}}(),Qe=Xe&&Xe.isArrayBuffer,Je=Xe&&Xe.isDate,et=Xe&&Xe.isMap,tt=Xe&&Xe.isRegExp,nt=Xe&&Xe.isSet,rt=Xe&&Xe.isTypedArray;function ot(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function it(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function at(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function st(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function lt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ut(e,t){return!!(null==e?0:e.length)&&kt(e,t,0)>-1}function dt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function ft(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function ht(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function pt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function mt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var bt=St("length");function gt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function yt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function kt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):yt(e,wt,n)}function _t(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function wt(e){return e!=e}function Ot(e,t){var n=null==e?0:e.length;return n?Tt(e,t)/n:NaN}function St(e){return function(t){return null==t?void 0:t[e]}}function Et(e){return function(t){return null==e?void 0:e[t]}}function Ct(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Tt(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function xt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Dt(e){return function(t){return e(t)}}function Mt(e,t){return ft(t,(function(t){return e[t]}))}function jt(e,t){return e.has(t)}function It(e,t){for(var n=-1,r=e.length;++n<r&&kt(t,e[n],0)>-1;);return n}function Pt(e,t){for(var n=e.length;n--&&kt(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Rt=Et({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Lt=Et({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function At(e){return"\\"+Ve[e]}function zt(e){return Re.test(e)}function Ft(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ht(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var s=e[n];s!==t&&s!==i||(e[n]=i,a[o++]=n)}return a}function Bt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Ut(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Wt(e){return zt(e)?function(e){var t=Pe.lastIndex=0;for(;Pe.test(e);)++t;return t}(e):bt(e)}function Kt(e){return zt(e)?function(e){return e.match(Pe)||[]}(e):function(e){return e.split("")}(e)}var Yt=Et({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var $t=function e(t){var n,r=(t=null==t?Ye:$t.defaults(Ye.Object(),t,$t.pick(Ye,Ae))).Array,de=t.Date,fe=t.Error,he=t.Function,pe=t.Math,ve=t.Object,me=t.RegExp,be=t.String,ge=t.TypeError,ye=r.prototype,ke=he.prototype,_e=ve.prototype,we=t["__core-js_shared__"],Oe=ke.toString,Se=_e.hasOwnProperty,Ee=0,Ce=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Te=_e.toString,xe=Oe.call(ve),De=Ye._,Me=me("^"+Oe.call(Se).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pe=Ge?t.Buffer:void 0,Re=t.Symbol,Ve=t.Uint8Array,We=Pe?Pe.allocUnsafe:void 0,Ke=Ht(ve.getPrototypeOf,ve),$e=ve.create,qe=_e.propertyIsEnumerable,Ze=ye.splice,Xe=Re?Re.isConcatSpreadable:void 0,bt=Re?Re.iterator:void 0,Et=Re?Re.toStringTag:void 0,qt=function(){try{var e=ei(ve,"defineProperty");return e({},"",{}),e}catch(t){}}(),Gt=t.clearTimeout!==Ye.clearTimeout&&t.clearTimeout,Zt=de&&de.now!==Ye.Date.now&&de.now,Xt=t.setTimeout!==Ye.setTimeout&&t.setTimeout,Qt=pe.ceil,Jt=pe.floor,en=ve.getOwnPropertySymbols,tn=Pe?Pe.isBuffer:void 0,nn=t.isFinite,rn=ye.join,on=Ht(ve.keys,ve),an=pe.max,sn=pe.min,cn=de.now,ln=t.parseInt,un=pe.random,dn=ye.reverse,fn=ei(t,"DataView"),hn=ei(t,"Map"),pn=ei(t,"Promise"),vn=ei(t,"Set"),mn=ei(t,"WeakMap"),bn=ei(ve,"create"),gn=mn&&new mn,yn={},kn=Ti(fn),_n=Ti(hn),wn=Ti(pn),On=Ti(vn),Sn=Ti(mn),En=Re?Re.prototype:void 0,Cn=En?En.valueOf:void 0,Tn=En?En.toString:void 0;function xn(e){if(Wa(e)&&!Pa(e)&&!(e instanceof In)){if(e instanceof jn)return e;if(Se.call(e,"__wrapped__"))return xi(e)}return new jn(e)}var Dn=function(){function e(){}return function(t){if(!Ua(t))return{};if($e)return $e(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Mn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function In(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Pn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Rn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Rn;++t<n;)this.add(e[t])}function An(e){var t=this.__data__=new Nn(e);this.size=t.size}function zn(e,t){var n=Pa(e),r=!n&&Ia(e),o=!n&&!r&&Aa(e),i=!n&&!r&&!o&&Qa(e),a=n||r||o||i,s=a?xt(e.length,be):[],c=s.length;for(var l in e)!t&&!Se.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||si(l,c))||s.push(l);return s}function Fn(e){var t=e.length;return t?e[Lr(0,t-1)]:void 0}function Hn(e,t){return Si(go(e),Gn(t,0,e.length))}function Vn(e){return Si(go(e))}function Bn(e,t,n){(void 0===n||Da(e[t],n))&&(void 0!==n||t in e)||$n(e,t,n)}function Un(e,t,n){var r=e[t];Se.call(e,t)&&Da(r,n)&&(void 0!==n||t in e)||$n(e,t,n)}function Wn(e,t){for(var n=e.length;n--;)if(Da(e[n][0],t))return n;return-1}function Kn(e,t,n,r){return er(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Yn(e,t){return e&&yo(t,ks(t),e)}function $n(e,t,n){"__proto__"==t&&qt?qt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function qn(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:vs(e,t[n]);return i}function Gn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Zn(e,t,n,r,o,i){var a,c=1&t,d=2&t,_=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Ua(e))return e;var I=Pa(e);if(I){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Se.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return go(e,a)}else{var P=ri(e),N=P==f||P==h;if(Aa(e))return fo(e,c);if(P==m||P==s||N&&!o){if(a=d||N?{}:ii(e),!c)return d?function(e,t){return yo(e,ni(e),t)}(e,function(e,t){return e&&yo(t,_s(t),e)}(a,e)):function(e,t){return yo(e,ti(e),t)}(e,Yn(a,e))}else{if(!He[P])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case w:return ho(e);case l:case u:return new r(+e);case O:return function(e,t){var n=t?ho(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case S:case E:case C:case T:case x:case D:case"[object Uint8ClampedArray]":case M:case j:return po(e,n);case p:return new r;case v:case y:return new r(e);case b:return function(e){var t=new e.constructor(e.source,ne.exec(e));return t.lastIndex=e.lastIndex,t}(e);case g:return new r;case k:return o=e,Cn?ve(Cn.call(o)):{}}var o}(e,P,c)}}i||(i=new An);var R=i.get(e);if(R)return R;i.set(e,a),Ga(e)?e.forEach((function(r){a.add(Zn(r,t,n,r,e,i))})):Ka(e)&&e.forEach((function(r,o){a.set(o,Zn(r,t,n,o,e,i))}));var L=I?void 0:(_?d?$o:Yo:d?_s:ks)(e);return at(L||e,(function(r,o){L&&(r=e[o=r]),Un(a,o,Zn(r,t,n,o,e,i))})),a}function Xn(e,t,n){var r=n.length;if(null==e)return!r;for(e=ve(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ge(o);return ki((function(){e.apply(void 0,n)}),t)}function Jn(e,t,n,r){var o=-1,i=ut,a=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=ft(t,Dt(n))),r?(i=dt,a=!1):t.length>=200&&(i=jt,a=!1,t=new Ln(t));e:for(;++o<s;){var u=e[o],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var f=l;f--;)if(t[f]===d)continue e;c.push(u)}else i(t,d,r)||c.push(u)}return c}xn.templateSettings={escape:F,evaluate:H,interpolate:V,variable:"",imports:{_:xn}},xn.prototype=Mn.prototype,xn.prototype.constructor=xn,jn.prototype=Dn(Mn.prototype),jn.prototype.constructor=jn,In.prototype=Dn(Mn.prototype),In.prototype.constructor=In,Pn.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},Pn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Pn.prototype.get=function(e){var t=this.__data__;if(bn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Se.call(t,e)?t[e]:void 0},Pn.prototype.has=function(e){var t=this.__data__;return bn?void 0!==t[e]:Se.call(t,e)},Pn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=bn&&void 0===t?"__lodash_hash_undefined__":t,this},Nn.prototype.clear=function(){this.__data__=[],this.size=0},Nn.prototype.delete=function(e){var t=this.__data__,n=Wn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,!0)},Nn.prototype.get=function(e){var t=this.__data__,n=Wn(t,e);return n<0?void 0:t[n][1]},Nn.prototype.has=function(e){return Wn(this.__data__,e)>-1},Nn.prototype.set=function(e,t){var n=this.__data__,r=Wn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Rn.prototype.clear=function(){this.size=0,this.__data__={hash:new Pn,map:new(hn||Nn),string:new Pn}},Rn.prototype.delete=function(e){var t=Qo(this,e).delete(e);return this.size-=t?1:0,t},Rn.prototype.get=function(e){return Qo(this,e).get(e)},Rn.prototype.has=function(e){return Qo(this,e).has(e)},Rn.prototype.set=function(e,t){var n=Qo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ln.prototype.add=Ln.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ln.prototype.has=function(e){return this.__data__.has(e)},An.prototype.clear=function(){this.__data__=new Nn,this.size=0},An.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},An.prototype.get=function(e){return this.__data__.get(e)},An.prototype.has=function(e){return this.__data__.has(e)},An.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Nn){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Rn(r)}return n.set(e,t),this.size=n.size,this};var er=wo(cr),tr=wo(lr,!0);function nr(e,t){var n=!0;return er(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function rr(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===s?a==a&&!Xa(a):n(a,s)))var s=a,c=i}return c}function or(e,t){var n=[];return er(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ir(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ai),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?ir(s,t-1,n,r,o):ht(o,s):r||(o[o.length]=s)}return o}var ar=Oo(),sr=Oo(!0);function cr(e,t){return e&&ar(e,t,ks)}function lr(e,t){return e&&sr(e,t,ks)}function ur(e,t){return lt(t,(function(t){return Ha(e[t])}))}function dr(e,t){for(var n=0,r=(t=so(t,e)).length;null!=e&&n<r;)e=e[Ci(t[n++])];return n&&n==r?e:void 0}function fr(e,t,n){var r=t(e);return Pa(e)?r:ht(r,n(e))}function hr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Et&&Et in ve(e)?function(e){var t=Se.call(e,Et),n=e[Et];try{e[Et]=void 0;var r=!0}catch(i){}var o=Te.call(e);r&&(t?e[Et]=n:delete e[Et]);return o}(e):function(e){return Te.call(e)}(e)}function pr(e,t){return e>t}function vr(e,t){return null!=e&&Se.call(e,t)}function mr(e,t){return null!=e&&t in ve(e)}function br(e,t,n){for(var o=n?dt:ut,i=e[0].length,a=e.length,s=a,c=r(a),l=1/0,u=[];s--;){var d=e[s];s&&t&&(d=ft(d,Dt(t))),l=sn(d.length,l),c[s]=!n&&(t||i>=120&&d.length>=120)?new Ln(s&&d):void 0}d=e[0];var f=-1,h=c[0];e:for(;++f<i&&u.length<l;){var p=d[f],v=t?t(p):p;if(p=n||0!==p?p:0,!(h?jt(h,v):o(u,v,n))){for(s=a;--s;){var m=c[s];if(!(m?jt(m,v):o(e[s],v,n)))continue e}h&&h.push(v),u.push(p)}}return u}function gr(e,t,n){var r=null==(e=mi(e,t=so(t,e)))?e:e[Ci(Fi(t))];return null==r?void 0:ot(r,e,n)}function yr(e){return Wa(e)&&hr(e)==s}function kr(e,t,n,r,o){return e===t||(null==e||null==t||!Wa(e)&&!Wa(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Pa(e),f=Pa(t),h=a?c:ri(e),_=f?c:ri(t),S=(h=h==s?m:h)==m,E=(_=_==s?m:_)==m,C=h==_;if(C&&Aa(e)){if(!Aa(t))return!1;a=!0,S=!1}if(C&&!S)return i||(i=new An),a||Qa(e)?Wo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!i(new Ve(e),new Ve(t)));case l:case u:case v:return Da(+e,+t);case d:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case p:var s=Ft;case g:var c=1&r;if(s||(s=Bt),e.size!=t.size&&!c)return!1;var f=a.get(e);if(f)return f==t;r|=2,a.set(e,t);var h=Wo(s(e),s(t),r,o,i,a);return a.delete(e),h;case k:if(Cn)return Cn.call(e)==Cn.call(t)}return!1}(e,t,h,n,r,o,i);if(!(1&n)){var T=S&&Se.call(e,"__wrapped__"),x=E&&Se.call(t,"__wrapped__");if(T||x){var D=T?e.value():e,M=x?t.value():t;return i||(i=new An),o(D,M,n,r,i)}}if(!C)return!1;return i||(i=new An),function(e,t,n,r,o,i){var a=1&n,s=Yo(e),c=s.length,l=Yo(t).length;if(c!=l&&!a)return!1;var u=c;for(;u--;){var d=s[u];if(!(a?d in t:Se.call(t,d)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var h=!0;i.set(e,t),i.set(t,e);var p=a;for(;++u<c;){d=s[u];var v=e[d],m=t[d];if(r)var b=a?r(m,v,d,t,e,i):r(v,m,d,e,t,i);if(!(void 0===b?v===m||o(v,m,n,r,i):b)){h=!1;break}p||(p="constructor"==d)}if(h&&!p){var g=e.constructor,y=t.constructor;g!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y)&&(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i)}(e,t,n,r,kr,o))}function _r(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=ve(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var c=(s=n[o])[0],l=e[c],u=s[1];if(a&&s[2]){if(void 0===l&&!(c in e))return!1}else{var d=new An;if(r)var f=r(l,u,c,e,t,d);if(!(void 0===f?kr(u,l,3,r,d):f))return!1}}return!0}function wr(e){return!(!Ua(e)||(t=e,Ce&&Ce in t))&&(Ha(e)?Me:ie).test(Ti(e));var t}function Or(e){return"function"==typeof e?e:null==e?Ys:"object"==typeof e?Pa(e)?Dr(e[0],e[1]):xr(e):tc(e)}function Sr(e){if(!fi(e))return on(e);var t=[];for(var n in ve(e))Se.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Er(e){if(!Ua(e))return function(e){var t=[];if(null!=e)for(var n in ve(e))t.push(n);return t}(e);var t=fi(e),n=[];for(var r in e)("constructor"!=r||!t&&Se.call(e,r))&&n.push(r);return n}function Cr(e,t){return e<t}function Tr(e,t){var n=-1,o=Ra(e)?r(e.length):[];return er(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function xr(e){var t=Jo(e);return 1==t.length&&t[0][2]?pi(t[0][0],t[0][1]):function(n){return n===e||_r(n,e,t)}}function Dr(e,t){return li(e)&&hi(t)?pi(Ci(e),t):function(n){var r=vs(n,e);return void 0===r&&r===t?ms(n,e):kr(t,r,3)}}function Mr(e,t,n,r,o){e!==t&&ar(t,(function(i,a){if(o||(o=new An),Ua(i))!function(e,t,n,r,o,i,a){var s=gi(e,n),c=gi(t,n),l=a.get(c);if(l)return void Bn(e,n,l);var u=i?i(s,c,n+"",e,t,a):void 0,d=void 0===u;if(d){var f=Pa(c),h=!f&&Aa(c),p=!f&&!h&&Qa(c);u=c,f||h||p?Pa(s)?u=s:La(s)?u=go(s):h?(d=!1,u=fo(c,!0)):p?(d=!1,u=po(c,!0)):u=[]:$a(c)||Ia(c)?(u=s,Ia(s)?u=as(s):Ua(s)&&!Ha(s)||(u=ii(c))):d=!1}d&&(a.set(c,u),o(u,c,r,i,a),a.delete(c));Bn(e,n,u)}(e,t,a,n,Mr,r,o);else{var s=r?r(gi(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),Bn(e,a,s)}}),_s)}function jr(e,t){var n=e.length;if(n)return si(t+=t<0?n:0,n)?e[t]:void 0}function Ir(e,t,n){var r=-1;return t=ft(t.length?t:[Ys],Dt(Xo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Tr(e,(function(e,n,o){return{criteria:ft(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var c=vo(o[r],i[r]);if(c){if(r>=s)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Pr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=dr(e,a);n(s,a)&&Vr(i,so(a,e),s)}return i}function Nr(e,t,n,r){var o=r?_t:kt,i=-1,a=t.length,s=e;for(e===t&&(t=go(t)),n&&(s=ft(e,Dt(n)));++i<a;)for(var c=0,l=t[i],u=n?n(l):l;(c=o(s,u,c,r))>-1;)s!==e&&Ze.call(s,c,1),Ze.call(e,c,1);return e}function Rr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;si(o)?Ze.call(e,o,1):Jr(e,o)}}return e}function Lr(e,t){return e+Jt(un()*(t-e+1))}function Ar(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Jt(t/2))&&(e+=e)}while(t);return n}function zr(e,t){return _i(vi(e,t,Ys),e+"")}function Fr(e){return Fn(Ds(e))}function Hr(e,t){var n=Ds(e);return Si(n,Gn(t,0,n.length))}function Vr(e,t,n,r){if(!Ua(e))return e;for(var o=-1,i=(t=so(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var c=Ci(t[o]),l=n;if(o!=a){var u=s[c];void 0===(l=r?r(u,c,s):void 0)&&(l=Ua(u)?u:si(t[o+1])?[]:{})}Un(s,c,l),s=s[c]}return e}var Br=gn?function(e,t){return gn.set(e,t),e}:Ys,Ur=qt?function(e,t){return qt(e,"toString",{configurable:!0,enumerable:!1,value:Us(t),writable:!0})}:Ys;function Wr(e){return Si(Ds(e))}function Kr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Yr(e,t){var n;return er(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function $r(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Xa(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return qr(e,t,Ys,n)}function qr(e,t,n,r){t=n(t);for(var o=0,i=null==e?0:e.length,a=t!=t,s=null===t,c=Xa(t),l=void 0===t;o<i;){var u=Jt((o+i)/2),d=n(e[u]),f=void 0!==d,h=null===d,p=d==d,v=Xa(d);if(a)var m=r||p;else m=l?p&&(r||f):s?p&&f&&(r||!h):c?p&&f&&!h&&(r||!v):!h&&!v&&(r?d<=t:d<t);m?o=u+1:i=u}return sn(i,4294967294)}function Gr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Da(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function Zr(e){return"number"==typeof e?e:Xa(e)?NaN:+e}function Xr(e){if("string"==typeof e)return e;if(Pa(e))return ft(e,Xr)+"";if(Xa(e))return Tn?Tn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qr(e,t,n){var r=-1,o=ut,i=e.length,a=!0,s=[],c=s;if(n)a=!1,o=dt;else if(i>=200){var l=t?null:zo(e);if(l)return Bt(l);a=!1,o=jt,c=new Ln}else c=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var f=c.length;f--;)if(c[f]===d)continue e;t&&c.push(d),s.push(u)}else o(c,d,n)||(c!==s&&c.push(d),s.push(u))}return s}function Jr(e,t){return null==(e=mi(e,t=so(t,e)))||delete e[Ci(Fi(t))]}function eo(e,t,n,r){return Vr(e,t,n(dr(e,t)),r)}function to(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Kr(e,r?0:i,r?i+1:o):Kr(e,r?i+1:0,r?o:i)}function no(e,t){var n=e;return n instanceof In&&(n=n.value()),pt(t,(function(e,t){return t.func.apply(t.thisArg,ht([e],t.args))}),n)}function ro(e,t,n){var o=e.length;if(o<2)return o?Qr(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=e[i],c=-1;++c<o;)c!=i&&(a[i]=Jn(a[i]||s,e[c],t,n));return Qr(ir(a,1),t,n)}function oo(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var s=r<i?t[r]:void 0;n(a,e[r],s)}return a}function io(e){return La(e)?e:[]}function ao(e){return"function"==typeof e?e:Ys}function so(e,t){return Pa(e)?e:li(e,t)?[e]:Ei(ss(e))}var co=zr;function lo(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Kr(e,t,n)}var uo=Gt||function(e){return Ye.clearTimeout(e)};function fo(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}function ho(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function po(e,t){var n=t?ho(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function vo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Xa(e),a=void 0!==t,s=null===t,c=t==t,l=Xa(t);if(!s&&!l&&!i&&e>t||i&&a&&c&&!s&&!l||r&&a&&c||!n&&c||!o)return 1;if(!r&&!i&&!l&&e<t||l&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!c)return-1}return 0}function mo(e,t,n,o){for(var i=-1,a=e.length,s=n.length,c=-1,l=t.length,u=an(a-s,0),d=r(l+u),f=!o;++c<l;)d[c]=t[c];for(;++i<s;)(f||i<a)&&(d[n[i]]=e[i]);for(;u--;)d[c++]=e[i++];return d}function bo(e,t,n,o){for(var i=-1,a=e.length,s=-1,c=n.length,l=-1,u=t.length,d=an(a-c,0),f=r(d+u),h=!o;++i<d;)f[i]=e[i];for(var p=i;++l<u;)f[p+l]=t[l];for(;++s<c;)(h||i<a)&&(f[p+n[s]]=e[i++]);return f}function go(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function yo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],c=r?r(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),o?$n(n,s,c):Un(n,s,c)}return n}function ko(e,t){return function(n,r){var o=Pa(n)?it:Kn,i=t?t():{};return o(n,e,Xo(r,2),i)}}function _o(e){return zr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ci(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=ve(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))}function wo(e,t){return function(n,r){if(null==n)return n;if(!Ra(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=ve(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Oo(e){return function(t,n,r){for(var o=-1,i=ve(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}}function So(e){return function(t){var n=zt(t=ss(t))?Kt(t):void 0,r=n?n[0]:t.charAt(0),o=n?lo(n,1).join(""):t.slice(1);return r[e]()+o}}function Eo(e){return function(t){return pt(Hs(Is(t).replace(je,"")),e,"")}}function Co(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Dn(e.prototype),r=e.apply(n,t);return Ua(r)?r:n}}function To(e){return function(t,n,r){var o=ve(t);if(!Ra(t)){var i=Xo(n,3);t=ks(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function xo(e){return Ko((function(t){var n=t.length,r=n,i=jn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ge(o);if(i&&!s&&"wrapper"==Go(a))var s=new jn([],!0)}for(r=s?r:n;++r<n;){var c=Go(a=t[r]),l="wrapper"==c?qo(a):void 0;s=l&&ui(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?s[Go(l[0])].apply(s,l[3]):1==a.length&&ui(a)?s[c]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Pa(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Do(e,t,n,o,i,a,s,c,l,u){var d=128&t,f=1&t,h=2&t,p=24&t,v=512&t,m=h?void 0:Co(e);return function b(){for(var g=arguments.length,y=r(g),k=g;k--;)y[k]=arguments[k];if(p)var _=Zo(b),w=Nt(y,_);if(o&&(y=mo(y,o,i,p)),a&&(y=bo(y,a,s,p)),g-=w,p&&g<u){var O=Vt(y,_);return Lo(e,t,Do,b.placeholder,n,y,O,c,l,u-g)}var S=f?n:this,E=h?S[e]:e;return g=y.length,c?y=bi(y,c):v&&g>1&&y.reverse(),d&&l<g&&(y.length=l),this&&this!==Ye&&this instanceof b&&(E=m||Co(E)),E.apply(S,y)}}function Mo(e,t){return function(n,r){return function(e,t,n,r){return cr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function jo(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Xr(n),r=Xr(r)):(n=Zr(n),r=Zr(r)),o=e(n,r)}return o}}function Io(e){return Ko((function(t){return t=ft(t,Dt(Xo())),zr((function(n){var r=this;return e(t,(function(e){return ot(e,r,n)}))}))}))}function Po(e,t){var n=(t=void 0===t?" ":Xr(t)).length;if(n<2)return n?Ar(t,e):t;var r=Ar(t,Qt(e/Wt(t)));return zt(t)?lo(Kt(r),0,e).join(""):r.slice(0,e)}function No(e){return function(t,n,o){return o&&"number"!=typeof o&&ci(t,n,o)&&(n=o=void 0),t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n,o){for(var i=-1,a=an(Qt((t-e)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=e,e+=n;return s}(t,n,o=void 0===o?t<n?1:-1:ns(o),e)}}function Ro(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=is(t),n=is(n)),e(t,n)}}function Lo(e,t,n,r,o,i,a,s,c,l){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var d=[e,t,o,u?i:void 0,u?a:void 0,u?void 0:i,u?void 0:a,s,c,l],f=n.apply(void 0,d);return ui(e)&&yi(f,d),f.placeholder=r,wi(f,e,t)}function Ao(e){var t=pe[e];return function(e,n){if(e=is(e),(n=null==n?0:sn(rs(n),292))&&nn(e)){var r=(ss(e)+"e").split("e");return+((r=(ss(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var zo=vn&&1/Bt(new vn([,-0]))[1]==1/0?function(e){return new vn(e)}:Xs;function Fo(e){return function(t){var n=ri(t);return n==p?Ft(t):n==g?Ut(t):function(e,t){return ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ho(e,t,n,a,s,c,l,u){var d=2&t;if(!d&&"function"!=typeof e)throw new ge(o);var f=a?a.length:0;if(f||(t&=-97,a=s=void 0),l=void 0===l?l:an(rs(l),0),u=void 0===u?u:rs(u),f-=s?s.length:0,64&t){var h=a,p=s;a=s=void 0}var v=d?void 0:qo(e),m=[e,t,n,a,s,h,p,c,l,u];if(v&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?mo(l,c,t[4]):c,e[4]=l?Vt(e[3],i):t[4]}(c=t[5])&&(l=e[5],e[5]=l?bo(l,c,t[6]):c,e[6]=l?Vt(e[5],i):t[6]);(c=t[7])&&(e[7]=c);128&r&&(e[8]=null==e[8]?t[8]:sn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(m,v),e=m[0],t=m[1],n=m[2],a=m[3],s=m[4],!(u=m[9]=void 0===m[9]?d?0:e.length:an(m[9]-f,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,n){var o=Co(e);return function i(){for(var a=arguments.length,s=r(a),c=a,l=Zo(i);c--;)s[c]=arguments[c];var u=a<3&&s[0]!==l&&s[a-1]!==l?[]:Vt(s,l);if((a-=u.length)<n)return Lo(e,t,Do,i.placeholder,void 0,s,u,void 0,void 0,n-a);var d=this&&this!==Ye&&this instanceof i?o:e;return ot(d,this,s)}}(e,t,u):32!=t&&33!=t||s.length?Do.apply(void 0,m):function(e,t,n,o){var i=1&t,a=Co(e);return function t(){for(var s=-1,c=arguments.length,l=-1,u=o.length,d=r(u+c),f=this&&this!==Ye&&this instanceof t?a:e;++l<u;)d[l]=o[l];for(;c--;)d[l++]=arguments[++s];return ot(f,i?n:this,d)}}(e,t,n,a);else var b=function(e,t,n){var r=1&t,o=Co(e);return function t(){var i=this&&this!==Ye&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return wi((v?Br:yi)(b,m),e,t)}function Vo(e,t,n,r){return void 0===e||Da(e,_e[n])&&!Se.call(r,n)?t:e}function Bo(e,t,n,r,o,i){return Ua(e)&&Ua(t)&&(i.set(t,e),Mr(e,t,void 0,Bo,i),i.delete(t)),e}function Uo(e){return $a(e)?void 0:e}function Wo(e,t,n,r,o,i){var a=1&n,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var u=-1,d=!0,f=2&n?new Ln:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var h=e[u],p=t[u];if(r)var v=a?r(p,h,u,t,e,i):r(h,p,u,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!mt(t,(function(e,t){if(!jt(f,t)&&(h===e||o(h,e,n,r,i)))return f.push(t)}))){d=!1;break}}else if(h!==p&&!o(h,p,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Ko(e){return _i(vi(e,void 0,Ni),e+"")}function Yo(e){return fr(e,ks,ti)}function $o(e){return fr(e,_s,ni)}var qo=gn?function(e){return gn.get(e)}:Xs;function Go(e){for(var t=e.name+"",n=yn[t],r=Se.call(yn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Zo(e){return(Se.call(xn,"placeholder")?xn:e).placeholder}function Xo(){var e=xn.iteratee||$s;return e=e===$s?Or:e,arguments.length?e(arguments[0],arguments[1]):e}function Qo(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Jo(e){for(var t=ks(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,hi(o)]}return t}function ei(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return wr(n)?n:void 0}var ti=en?function(e){return null==e?[]:(e=ve(e),lt(en(e),(function(t){return qe.call(e,t)})))}:oc,ni=en?function(e){for(var t=[];e;)ht(t,ti(e)),e=Ke(e);return t}:oc,ri=hr;function oi(e,t,n){for(var r=-1,o=(t=so(t,e)).length,i=!1;++r<o;){var a=Ci(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ba(o)&&si(a,o)&&(Pa(e)||Ia(e))}function ii(e){return"function"!=typeof e.constructor||fi(e)?{}:Dn(Ke(e))}function ai(e){return Pa(e)||Ia(e)||!!(Xe&&e&&e[Xe])}function si(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&se.test(e))&&e>-1&&e%1==0&&e<t}function ci(e,t,n){if(!Ua(n))return!1;var r=typeof t;return!!("number"==r?Ra(n)&&si(t,n.length):"string"==r&&t in n)&&Da(n[t],e)}function li(e,t){if(Pa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Xa(e))||(U.test(e)||!B.test(e)||null!=t&&e in ve(t))}function ui(e){var t=Go(e),n=xn[t];if("function"!=typeof n||!(t in In.prototype))return!1;if(e===n)return!0;var r=qo(n);return!!r&&e===r[0]}(fn&&ri(new fn(new ArrayBuffer(1)))!=O||hn&&ri(new hn)!=p||pn&&"[object Promise]"!=ri(pn.resolve())||vn&&ri(new vn)!=g||mn&&ri(new mn)!=_)&&(ri=function(e){var t=hr(e),n=t==m?e.constructor:void 0,r=n?Ti(n):"";if(r)switch(r){case kn:return O;case _n:return p;case wn:return"[object Promise]";case On:return g;case Sn:return _}return t});var di=we?Ha:ic;function fi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function hi(e){return e==e&&!Ua(e)}function pi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in ve(n)))}}function vi(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=an(o.length-t,0),s=r(a);++i<a;)s[i]=o[t+i];i=-1;for(var c=r(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),ot(e,this,c)}}function mi(e,t){return t.length<2?e:dr(e,Kr(t,0,-1))}function bi(e,t){for(var n=e.length,r=sn(t.length,n),o=go(e);r--;){var i=t[r];e[r]=si(i,n)?o[i]:void 0}return e}function gi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var yi=Oi(Br),ki=Xt||function(e,t){return Ye.setTimeout(e,t)},_i=Oi(Ur);function wi(e,t,n){var r=t+"";return _i(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Z,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!ut(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(X);return t?t[1].split(Q):[]}(r),n)))}function Oi(e){var t=0,n=0;return function(){var r=cn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Si(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Lr(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Ei=function(e){var t=Oa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(W,(function(e,n,r,o){t.push(r?o.replace(ee,"$1"):n||e)})),t}));function Ci(e){if("string"==typeof e||Xa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ti(e){if(null!=e){try{return Oe.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function xi(e){if(e instanceof In)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=go(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Di=zr((function(e,t){return La(e)?Jn(e,ir(t,1,La,!0)):[]})),Mi=zr((function(e,t){var n=Fi(t);return La(n)&&(n=void 0),La(e)?Jn(e,ir(t,1,La,!0),Xo(n,2)):[]})),ji=zr((function(e,t){var n=Fi(t);return La(n)&&(n=void 0),La(e)?Jn(e,ir(t,1,La,!0),void 0,n):[]}));function Ii(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),yt(e,Xo(t,3),o)}function Pi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=rs(n),o=n<0?an(r+o,0):sn(o,r-1)),yt(e,Xo(t,3),o,!0)}function Ni(e){return(null==e?0:e.length)?ir(e,1):[]}function Ri(e){return e&&e.length?e[0]:void 0}var Li=zr((function(e){var t=ft(e,io);return t.length&&t[0]===e[0]?br(t):[]})),Ai=zr((function(e){var t=Fi(e),n=ft(e,io);return t===Fi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Xo(t,2)):[]})),zi=zr((function(e){var t=Fi(e),n=ft(e,io);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?br(n,void 0,t):[]}));function Fi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Hi=zr(Vi);function Vi(e,t){return e&&e.length&&t&&t.length?Nr(e,t):e}var Bi=Ko((function(e,t){var n=null==e?0:e.length,r=qn(e,t);return Rr(e,ft(t,(function(e){return si(e,n)?+e:e})).sort(vo)),r}));function Ui(e){return null==e?e:dn.call(e)}var Wi=zr((function(e){return Qr(ir(e,1,La,!0))})),Ki=zr((function(e){var t=Fi(e);return La(t)&&(t=void 0),Qr(ir(e,1,La,!0),Xo(t,2))})),Yi=zr((function(e){var t=Fi(e);return t="function"==typeof t?t:void 0,Qr(ir(e,1,La,!0),void 0,t)}));function $i(e){if(!e||!e.length)return[];var t=0;return e=lt(e,(function(e){if(La(e))return t=an(e.length,t),!0})),xt(t,(function(t){return ft(e,St(t))}))}function qi(e,t){if(!e||!e.length)return[];var n=$i(e);return null==t?n:ft(n,(function(e){return ot(t,void 0,e)}))}var Gi=zr((function(e,t){return La(e)?Jn(e,t):[]})),Zi=zr((function(e){return ro(lt(e,La))})),Xi=zr((function(e){var t=Fi(e);return La(t)&&(t=void 0),ro(lt(e,La),Xo(t,2))})),Qi=zr((function(e){var t=Fi(e);return t="function"==typeof t?t:void 0,ro(lt(e,La),void 0,t)})),Ji=zr($i);var ea=zr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,qi(e,n)}));function ta(e){var t=xn(e);return t.__chain__=!0,t}function na(e,t){return t(e)}var ra=Ko((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return qn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof In&&si(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new jn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var oa=ko((function(e,t,n){Se.call(e,n)?++e[n]:$n(e,n,1)}));var ia=To(Ii),aa=To(Pi);function sa(e,t){return(Pa(e)?at:er)(e,Xo(t,3))}function ca(e,t){return(Pa(e)?st:tr)(e,Xo(t,3))}var la=ko((function(e,t,n){Se.call(e,n)?e[n].push(t):$n(e,n,[t])}));var ua=zr((function(e,t,n){var o=-1,i="function"==typeof t,a=Ra(e)?r(e.length):[];return er(e,(function(e){a[++o]=i?ot(t,e,n):gr(e,t,n)})),a})),da=ko((function(e,t,n){$n(e,n,t)}));function fa(e,t){return(Pa(e)?ft:Tr)(e,Xo(t,3))}var ha=ko((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var pa=zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ci(e,t[0],t[1])?t=[]:n>2&&ci(t[0],t[1],t[2])&&(t=[t[0]]),Ir(e,ir(t,1),[])})),va=Zt||function(){return Ye.Date.now()};function ma(e,t,n){return t=n?void 0:t,Ho(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ba(e,t){var n;if("function"!=typeof t)throw new ge(o);return e=rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ga=zr((function(e,t,n){var r=1;if(n.length){var o=Vt(n,Zo(ga));r|=32}return Ho(e,r,t,n,o)})),ya=zr((function(e,t,n){var r=3;if(n.length){var o=Vt(n,Zo(ya));r|=32}return Ho(t,r,e,n,o)}));function ka(e,t,n){var r,i,a,s,c,l,u=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw new ge(o);function p(t){var n=r,o=i;return r=i=void 0,u=t,s=e.apply(o,n)}function v(e){return u=e,c=ki(b,t),d?p(e):s}function m(e){var n=e-l;return void 0===l||n>=t||n<0||f&&e-u>=a}function b(){var e=va();if(m(e))return g(e);c=ki(b,function(e){var n=t-(e-l);return f?sn(n,a-(e-u)):n}(e))}function g(e){return c=void 0,h&&r?p(e):(r=i=void 0,s)}function y(){var e=va(),n=m(e);if(r=arguments,i=this,l=e,n){if(void 0===c)return v(l);if(f)return uo(c),c=ki(b,t),p(l)}return void 0===c&&(c=ki(b,t)),s}return t=is(t)||0,Ua(n)&&(d=!!n.leading,a=(f="maxWait"in n)?an(is(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),y.cancel=function(){void 0!==c&&uo(c),u=0,r=l=i=c=void 0},y.flush=function(){return void 0===c?s:g(va())},y}var _a=zr((function(e,t){return Qn(e,1,t)})),wa=zr((function(e,t,n){return Qn(e,is(t)||0,n)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Oa.Cache||Rn),n}function Sa(e){if("function"!=typeof e)throw new ge(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Rn;var Ea=co((function(e,t){var n=(t=1==t.length&&Pa(t[0])?ft(t[0],Dt(Xo())):ft(ir(t,1),Dt(Xo()))).length;return zr((function(r){for(var o=-1,i=sn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return ot(e,this,r)}))})),Ca=zr((function(e,t){return Ho(e,32,void 0,t,Vt(t,Zo(Ca)))})),Ta=zr((function(e,t){return Ho(e,64,void 0,t,Vt(t,Zo(Ta)))})),xa=Ko((function(e,t){return Ho(e,256,void 0,void 0,void 0,t)}));function Da(e,t){return e===t||e!=e&&t!=t}var Ma=Ro(pr),ja=Ro((function(e,t){return e>=t})),Ia=yr(function(){return arguments}())?yr:function(e){return Wa(e)&&Se.call(e,"callee")&&!qe.call(e,"callee")},Pa=r.isArray,Na=Qe?Dt(Qe):function(e){return Wa(e)&&hr(e)==w};function Ra(e){return null!=e&&Ba(e.length)&&!Ha(e)}function La(e){return Wa(e)&&Ra(e)}var Aa=tn||ic,za=Je?Dt(Je):function(e){return Wa(e)&&hr(e)==u};function Fa(e){if(!Wa(e))return!1;var t=hr(e);return t==d||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!$a(e)}function Ha(e){if(!Ua(e))return!1;var t=hr(e);return t==f||t==h||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Va(e){return"number"==typeof e&&e==rs(e)}function Ba(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ua(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Wa(e){return null!=e&&"object"==typeof e}var Ka=et?Dt(et):function(e){return Wa(e)&&ri(e)==p};function Ya(e){return"number"==typeof e||Wa(e)&&hr(e)==v}function $a(e){if(!Wa(e)||hr(e)!=m)return!1;var t=Ke(e);if(null===t)return!0;var n=Se.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==xe}var qa=tt?Dt(tt):function(e){return Wa(e)&&hr(e)==b};var Ga=nt?Dt(nt):function(e){return Wa(e)&&ri(e)==g};function Za(e){return"string"==typeof e||!Pa(e)&&Wa(e)&&hr(e)==y}function Xa(e){return"symbol"==typeof e||Wa(e)&&hr(e)==k}var Qa=rt?Dt(rt):function(e){return Wa(e)&&Ba(e.length)&&!!Fe[hr(e)]};var Ja=Ro(Cr),es=Ro((function(e,t){return e<=t}));function ts(e){if(!e)return[];if(Ra(e))return Za(e)?Kt(e):go(e);if(bt&&e[bt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[bt]());var t=ri(e);return(t==p?Ft:t==g?Bt:Ds)(e)}function ns(e){return e?(e=is(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rs(e){var t=ns(e),n=t%1;return t==t?n?t-n:t:0}function os(e){return e?Gn(rs(e),0,4294967295):0}function is(e){if("number"==typeof e)return e;if(Xa(e))return NaN;if(Ua(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ua(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace($,"");var n=oe.test(e);return n||ae.test(e)?Ue(e.slice(2),n?2:8):re.test(e)?NaN:+e}function as(e){return yo(e,_s(e))}function ss(e){return null==e?"":Xr(e)}var cs=_o((function(e,t){if(fi(t)||Ra(t))yo(t,ks(t),e);else for(var n in t)Se.call(t,n)&&Un(e,n,t[n])})),ls=_o((function(e,t){yo(t,_s(t),e)})),us=_o((function(e,t,n,r){yo(t,_s(t),e,r)})),ds=_o((function(e,t,n,r){yo(t,ks(t),e,r)})),fs=Ko(qn);var hs=zr((function(e,t){e=ve(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ci(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=_s(i),s=-1,c=a.length;++s<c;){var l=a[s],u=e[l];(void 0===u||Da(u,_e[l])&&!Se.call(e,l))&&(e[l]=i[l])}return e})),ps=zr((function(e){return e.push(void 0,Bo),ot(Os,void 0,e)}));function vs(e,t,n){var r=null==e?void 0:dr(e,t);return void 0===r?n:r}function ms(e,t){return null!=e&&oi(e,t,mr)}var bs=Mo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),e[t]=n}),Us(Ys)),gs=Mo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),Se.call(e,t)?e[t].push(n):e[t]=[n]}),Xo),ys=zr(gr);function ks(e){return Ra(e)?zn(e):Sr(e)}function _s(e){return Ra(e)?zn(e,!0):Er(e)}var ws=_o((function(e,t,n){Mr(e,t,n)})),Os=_o((function(e,t,n,r){Mr(e,t,n,r)})),Ss=Ko((function(e,t){var n={};if(null==e)return n;var r=!1;t=ft(t,(function(t){return t=so(t,e),r||(r=t.length>1),t})),yo(e,$o(e),n),r&&(n=Zn(n,7,Uo));for(var o=t.length;o--;)Jr(n,t[o]);return n}));var Es=Ko((function(e,t){return null==e?{}:function(e,t){return Pr(e,t,(function(t,n){return ms(e,n)}))}(e,t)}));function Cs(e,t){if(null==e)return{};var n=ft($o(e),(function(e){return[e]}));return t=Xo(t),Pr(e,n,(function(e,n){return t(e,n[0])}))}var Ts=Fo(ks),xs=Fo(_s);function Ds(e){return null==e?[]:Mt(e,ks(e))}var Ms=Eo((function(e,t,n){return t=t.toLowerCase(),e+(n?js(t):t)}));function js(e){return Fs(ss(e).toLowerCase())}function Is(e){return(e=ss(e))&&e.replace(ce,Rt).replace(Ie,"")}var Ps=Eo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ns=Eo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Rs=So("toLowerCase");var Ls=Eo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var As=Eo((function(e,t,n){return e+(n?" ":"")+Fs(t)}));var zs=Eo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Fs=So("toUpperCase");function Hs(e,t,n){return e=ss(e),void 0===(t=n?void 0:t)?function(e){return Le.test(e)}(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.match(J)||[]}(e):e.match(t)||[]}var Vs=zr((function(e,t){try{return ot(e,void 0,t)}catch(n){return Fa(n)?n:new fe(n)}})),Bs=Ko((function(e,t){return at(t,(function(t){t=Ci(t),$n(e,t,ga(e[t],e))})),e}));function Us(e){return function(){return e}}var Ws=xo(),Ks=xo(!0);function Ys(e){return e}function $s(e){return Or("function"==typeof e?e:Zn(e,1))}var qs=zr((function(e,t){return function(n){return gr(n,e,t)}})),Gs=zr((function(e,t){return function(n){return gr(e,n,t)}}));function Zs(e,t,n){var r=ks(t),o=ur(t,r);null!=n||Ua(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=ur(t,ks(t)));var i=!(Ua(n)&&"chain"in n&&!n.chain),a=Ha(e);return at(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=go(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ht([this.value()],arguments))})})),e}function Xs(){}var Qs=Io(ft),Js=Io(ct),ec=Io(mt);function tc(e){return li(e)?St(Ci(e)):function(e){return function(t){return dr(t,e)}}(e)}var nc=No(),rc=No(!0);function oc(){return[]}function ic(){return!1}var ac=jo((function(e,t){return e+t}),0),sc=Ao("ceil"),cc=jo((function(e,t){return e/t}),1),lc=Ao("floor");var uc,dc=jo((function(e,t){return e*t}),1),fc=Ao("round"),hc=jo((function(e,t){return e-t}),0);return xn.after=function(e,t){if("function"!=typeof t)throw new ge(o);return e=rs(e),function(){if(--e<1)return t.apply(this,arguments)}},xn.ary=ma,xn.assign=cs,xn.assignIn=ls,xn.assignInWith=us,xn.assignWith=ds,xn.at=fs,xn.before=ba,xn.bind=ga,xn.bindAll=Bs,xn.bindKey=ya,xn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Pa(e)?e:[e]},xn.chain=ta,xn.chunk=function(e,t,n){t=(n?ci(e,t,n):void 0===t)?1:an(rs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=r(Qt(o/t));i<o;)s[a++]=Kr(e,i,i+=t);return s},xn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},xn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return ht(Pa(n)?go(n):[n],ir(t,1))},xn.cond=function(e){var t=null==e?0:e.length,n=Xo();return e=t?ft(e,(function(e){if("function"!=typeof e[1])throw new ge(o);return[n(e[0]),e[1]]})):[],zr((function(n){for(var r=-1;++r<t;){var o=e[r];if(ot(o[0],this,n))return ot(o[1],this,n)}}))},xn.conforms=function(e){return function(e){var t=ks(e);return function(n){return Xn(n,e,t)}}(Zn(e,1))},xn.constant=Us,xn.countBy=oa,xn.create=function(e,t){var n=Dn(e);return null==t?n:Yn(n,t)},xn.curry=function e(t,n,r){var o=Ho(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},xn.curryRight=function e(t,n,r){var o=Ho(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},xn.debounce=ka,xn.defaults=hs,xn.defaultsDeep=ps,xn.defer=_a,xn.delay=wa,xn.difference=Di,xn.differenceBy=Mi,xn.differenceWith=ji,xn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=n||void 0===t?1:rs(t))<0?0:t,r):[]},xn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,0,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t):[]},xn.dropRightWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!0,!0):[]},xn.dropWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!0):[]},xn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&ci(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=rs(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:rs(r))<0&&(r+=o),r=n>r?0:os(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},xn.filter=function(e,t){return(Pa(e)?lt:or)(e,Xo(t,3))},xn.flatMap=function(e,t){return ir(fa(e,t),1)},xn.flatMapDeep=function(e,t){return ir(fa(e,t),1/0)},xn.flatMapDepth=function(e,t,n){return n=void 0===n?1:rs(n),ir(fa(e,t),n)},xn.flatten=Ni,xn.flattenDeep=function(e){return(null==e?0:e.length)?ir(e,1/0):[]},xn.flattenDepth=function(e,t){return(null==e?0:e.length)?ir(e,t=void 0===t?1:rs(t)):[]},xn.flip=function(e){return Ho(e,512)},xn.flow=Ws,xn.flowRight=Ks,xn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},xn.functions=function(e){return null==e?[]:ur(e,ks(e))},xn.functionsIn=function(e){return null==e?[]:ur(e,_s(e))},xn.groupBy=la,xn.initial=function(e){return(null==e?0:e.length)?Kr(e,0,-1):[]},xn.intersection=Li,xn.intersectionBy=Ai,xn.intersectionWith=zi,xn.invert=bs,xn.invertBy=gs,xn.invokeMap=ua,xn.iteratee=$s,xn.keyBy=da,xn.keys=ks,xn.keysIn=_s,xn.map=fa,xn.mapKeys=function(e,t){var n={};return t=Xo(t,3),cr(e,(function(e,r,o){$n(n,t(e,r,o),e)})),n},xn.mapValues=function(e,t){var n={};return t=Xo(t,3),cr(e,(function(e,r,o){$n(n,r,t(e,r,o))})),n},xn.matches=function(e){return xr(Zn(e,1))},xn.matchesProperty=function(e,t){return Dr(e,Zn(t,1))},xn.memoize=Oa,xn.merge=ws,xn.mergeWith=Os,xn.method=qs,xn.methodOf=Gs,xn.mixin=Zs,xn.negate=Sa,xn.nthArg=function(e){return e=rs(e),zr((function(t){return jr(t,e)}))},xn.omit=Ss,xn.omitBy=function(e,t){return Cs(e,Sa(Xo(t)))},xn.once=function(e){return ba(2,e)},xn.orderBy=function(e,t,n,r){return null==e?[]:(Pa(t)||(t=null==t?[]:[t]),Pa(n=r?void 0:n)||(n=null==n?[]:[n]),Ir(e,t,n))},xn.over=Qs,xn.overArgs=Ea,xn.overEvery=Js,xn.overSome=ec,xn.partial=Ca,xn.partialRight=Ta,xn.partition=ha,xn.pick=Es,xn.pickBy=Cs,xn.property=tc,xn.propertyOf=function(e){return function(t){return null==e?void 0:dr(e,t)}},xn.pull=Hi,xn.pullAll=Vi,xn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,Xo(n,2)):e},xn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,void 0,n):e},xn.pullAt=Bi,xn.range=nc,xn.rangeRight=rc,xn.rearg=xa,xn.reject=function(e,t){return(Pa(e)?lt:or)(e,Sa(Xo(t,3)))},xn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Xo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Rr(e,o),n},xn.rest=function(e,t){if("function"!=typeof e)throw new ge(o);return zr(e,t=void 0===t?t:rs(t))},xn.reverse=Ui,xn.sampleSize=function(e,t,n){return t=(n?ci(e,t,n):void 0===t)?1:rs(t),(Pa(e)?Hn:Hr)(e,t)},xn.set=function(e,t,n){return null==e?e:Vr(e,t,n)},xn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Vr(e,t,n,r)},xn.shuffle=function(e){return(Pa(e)?Vn:Wr)(e)},xn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ci(e,t,n)?(t=0,n=r):(t=null==t?0:rs(t),n=void 0===n?r:rs(n)),Kr(e,t,n)):[]},xn.sortBy=pa,xn.sortedUniq=function(e){return e&&e.length?Gr(e):[]},xn.sortedUniqBy=function(e,t){return e&&e.length?Gr(e,Xo(t,2)):[]},xn.split=function(e,t,n){return n&&"number"!=typeof n&&ci(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ss(e))&&("string"==typeof t||null!=t&&!qa(t))&&!(t=Xr(t))&&zt(e)?lo(Kt(e),0,n):e.split(t,n):[]},xn.spread=function(e,t){if("function"!=typeof e)throw new ge(o);return t=null==t?0:an(rs(t),0),zr((function(n){var r=n[t],o=lo(n,0,t);return r&&ht(o,r),ot(e,this,o)}))},xn.tail=function(e){var t=null==e?0:e.length;return t?Kr(e,1,t):[]},xn.take=function(e,t,n){return e&&e.length?Kr(e,0,(t=n||void 0===t?1:rs(t))<0?0:t):[]},xn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t,r):[]},xn.takeRightWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!1,!0):[]},xn.takeWhile=function(e,t){return e&&e.length?to(e,Xo(t,3)):[]},xn.tap=function(e,t){return t(e),e},xn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ge(o);return Ua(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ka(e,t,{leading:r,maxWait:t,trailing:i})},xn.thru=na,xn.toArray=ts,xn.toPairs=Ts,xn.toPairsIn=xs,xn.toPath=function(e){return Pa(e)?ft(e,Ci):Xa(e)?[e]:go(Ei(ss(e)))},xn.toPlainObject=as,xn.transform=function(e,t,n){var r=Pa(e),o=r||Aa(e)||Qa(e);if(t=Xo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ua(e)&&Ha(i)?Dn(Ke(e)):{}}return(o?at:cr)(e,(function(e,r,o){return t(n,e,r,o)})),n},xn.unary=function(e){return ma(e,1)},xn.union=Wi,xn.unionBy=Ki,xn.unionWith=Yi,xn.uniq=function(e){return e&&e.length?Qr(e):[]},xn.uniqBy=function(e,t){return e&&e.length?Qr(e,Xo(t,2)):[]},xn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},xn.unset=function(e,t){return null==e||Jr(e,t)},xn.unzip=$i,xn.unzipWith=qi,xn.update=function(e,t,n){return null==e?e:eo(e,t,ao(n))},xn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:eo(e,t,ao(n),r)},xn.values=Ds,xn.valuesIn=function(e){return null==e?[]:Mt(e,_s(e))},xn.without=Gi,xn.words=Hs,xn.wrap=function(e,t){return Ca(ao(t),e)},xn.xor=Zi,xn.xorBy=Xi,xn.xorWith=Qi,xn.zip=Ji,xn.zipObject=function(e,t){return oo(e||[],t||[],Un)},xn.zipObjectDeep=function(e,t){return oo(e||[],t||[],Vr)},xn.zipWith=ea,xn.entries=Ts,xn.entriesIn=xs,xn.extend=ls,xn.extendWith=us,Zs(xn,xn),xn.add=ac,xn.attempt=Vs,xn.camelCase=Ms,xn.capitalize=js,xn.ceil=sc,xn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=is(n))==n?n:0),void 0!==t&&(t=(t=is(t))==t?t:0),Gn(is(e),t,n)},xn.clone=function(e){return Zn(e,4)},xn.cloneDeep=function(e){return Zn(e,5)},xn.cloneDeepWith=function(e,t){return Zn(e,5,t="function"==typeof t?t:void 0)},xn.cloneWith=function(e,t){return Zn(e,4,t="function"==typeof t?t:void 0)},xn.conformsTo=function(e,t){return null==t||Xn(e,t,ks(t))},xn.deburr=Is,xn.defaultTo=function(e,t){return null==e||e!=e?t:e},xn.divide=cc,xn.endsWith=function(e,t,n){e=ss(e),t=Xr(t);var r=e.length,o=n=void 0===n?r:Gn(rs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},xn.eq=Da,xn.escape=function(e){return(e=ss(e))&&z.test(e)?e.replace(L,Lt):e},xn.escapeRegExp=function(e){return(e=ss(e))&&Y.test(e)?e.replace(K,"\\$&"):e},xn.every=function(e,t,n){var r=Pa(e)?ct:nr;return n&&ci(e,t,n)&&(t=void 0),r(e,Xo(t,3))},xn.find=ia,xn.findIndex=Ii,xn.findKey=function(e,t){return gt(e,Xo(t,3),cr)},xn.findLast=aa,xn.findLastIndex=Pi,xn.findLastKey=function(e,t){return gt(e,Xo(t,3),lr)},xn.floor=lc,xn.forEach=sa,xn.forEachRight=ca,xn.forIn=function(e,t){return null==e?e:ar(e,Xo(t,3),_s)},xn.forInRight=function(e,t){return null==e?e:sr(e,Xo(t,3),_s)},xn.forOwn=function(e,t){return e&&cr(e,Xo(t,3))},xn.forOwnRight=function(e,t){return e&&lr(e,Xo(t,3))},xn.get=vs,xn.gt=Ma,xn.gte=ja,xn.has=function(e,t){return null!=e&&oi(e,t,vr)},xn.hasIn=ms,xn.head=Ri,xn.identity=Ys,xn.includes=function(e,t,n,r){e=Ra(e)?e:Ds(e),n=n&&!r?rs(n):0;var o=e.length;return n<0&&(n=an(o+n,0)),Za(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&kt(e,t,n)>-1},xn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),kt(e,t,o)},xn.inRange=function(e,t,n){return t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n){return e>=sn(t,n)&&e<an(t,n)}(e=is(e),t,n)},xn.invoke=ys,xn.isArguments=Ia,xn.isArray=Pa,xn.isArrayBuffer=Na,xn.isArrayLike=Ra,xn.isArrayLikeObject=La,xn.isBoolean=function(e){return!0===e||!1===e||Wa(e)&&hr(e)==l},xn.isBuffer=Aa,xn.isDate=za,xn.isElement=function(e){return Wa(e)&&1===e.nodeType&&!$a(e)},xn.isEmpty=function(e){if(null==e)return!0;if(Ra(e)&&(Pa(e)||"string"==typeof e||"function"==typeof e.splice||Aa(e)||Qa(e)||Ia(e)))return!e.length;var t=ri(e);if(t==p||t==g)return!e.size;if(fi(e))return!Sr(e).length;for(var n in e)if(Se.call(e,n))return!1;return!0},xn.isEqual=function(e,t){return kr(e,t)},xn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?kr(e,t,void 0,n):!!r},xn.isError=Fa,xn.isFinite=function(e){return"number"==typeof e&&nn(e)},xn.isFunction=Ha,xn.isInteger=Va,xn.isLength=Ba,xn.isMap=Ka,xn.isMatch=function(e,t){return e===t||_r(e,t,Jo(t))},xn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,_r(e,t,Jo(t),n)},xn.isNaN=function(e){return Ya(e)&&e!=+e},xn.isNative=function(e){if(di(e))throw new fe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return wr(e)},xn.isNil=function(e){return null==e},xn.isNull=function(e){return null===e},xn.isNumber=Ya,xn.isObject=Ua,xn.isObjectLike=Wa,xn.isPlainObject=$a,xn.isRegExp=qa,xn.isSafeInteger=function(e){return Va(e)&&e>=-9007199254740991&&e<=9007199254740991},xn.isSet=Ga,xn.isString=Za,xn.isSymbol=Xa,xn.isTypedArray=Qa,xn.isUndefined=function(e){return void 0===e},xn.isWeakMap=function(e){return Wa(e)&&ri(e)==_},xn.isWeakSet=function(e){return Wa(e)&&"[object WeakSet]"==hr(e)},xn.join=function(e,t){return null==e?"":rn.call(e,t)},xn.kebabCase=Ps,xn.last=Fi,xn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rs(n))<0?an(r+o,0):sn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):yt(e,wt,o,!0)},xn.lowerCase=Ns,xn.lowerFirst=Rs,xn.lt=Ja,xn.lte=es,xn.max=function(e){return e&&e.length?rr(e,Ys,pr):void 0},xn.maxBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),pr):void 0},xn.mean=function(e){return Ot(e,Ys)},xn.meanBy=function(e,t){return Ot(e,Xo(t,2))},xn.min=function(e){return e&&e.length?rr(e,Ys,Cr):void 0},xn.minBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),Cr):void 0},xn.stubArray=oc,xn.stubFalse=ic,xn.stubObject=function(){return{}},xn.stubString=function(){return""},xn.stubTrue=function(){return!0},xn.multiply=dc,xn.nth=function(e,t){return e&&e.length?jr(e,rs(t)):void 0},xn.noConflict=function(){return Ye._===this&&(Ye._=De),this},xn.noop=Xs,xn.now=va,xn.pad=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Po(Jt(o),n)+e+Po(Qt(o),n)},xn.padEnd=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;return t&&r<t?e+Po(t-r,n):e},xn.padStart=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;return t&&r<t?Po(t-r,n)+e:e},xn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),ln(ss(e).replace(q,""),t||0)},xn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ci(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ns(e),void 0===t?(t=e,e=0):t=ns(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=un();return sn(e+o*(t-e+Be("1e-"+((o+"").length-1))),t)}return Lr(e,t)},xn.reduce=function(e,t,n){var r=Pa(e)?pt:Ct,o=arguments.length<3;return r(e,Xo(t,4),n,o,er)},xn.reduceRight=function(e,t,n){var r=Pa(e)?vt:Ct,o=arguments.length<3;return r(e,Xo(t,4),n,o,tr)},xn.repeat=function(e,t,n){return t=(n?ci(e,t,n):void 0===t)?1:rs(t),Ar(ss(e),t)},xn.replace=function(){var e=arguments,t=ss(e[0]);return e.length<3?t:t.replace(e[1],e[2])},xn.result=function(e,t,n){var r=-1,o=(t=so(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Ci(t[r])];void 0===i&&(r=o,i=n),e=Ha(i)?i.call(e):i}return e},xn.round=fc,xn.runInContext=e,xn.sample=function(e){return(Pa(e)?Fn:Fr)(e)},xn.size=function(e){if(null==e)return 0;if(Ra(e))return Za(e)?Wt(e):e.length;var t=ri(e);return t==p||t==g?e.size:Sr(e).length},xn.snakeCase=Ls,xn.some=function(e,t,n){var r=Pa(e)?mt:Yr;return n&&ci(e,t,n)&&(t=void 0),r(e,Xo(t,3))},xn.sortedIndex=function(e,t){return $r(e,t)},xn.sortedIndexBy=function(e,t,n){return qr(e,t,Xo(n,2))},xn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=$r(e,t);if(r<n&&Da(e[r],t))return r}return-1},xn.sortedLastIndex=function(e,t){return $r(e,t,!0)},xn.sortedLastIndexBy=function(e,t,n){return qr(e,t,Xo(n,2),!0)},xn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=$r(e,t,!0)-1;if(Da(e[n],t))return n}return-1},xn.startCase=As,xn.startsWith=function(e,t,n){return e=ss(e),n=null==n?0:Gn(rs(n),0,e.length),t=Xr(t),e.slice(n,n+t.length)==t},xn.subtract=hc,xn.sum=function(e){return e&&e.length?Tt(e,Ys):0},xn.sumBy=function(e,t){return e&&e.length?Tt(e,Xo(t,2)):0},xn.template=function(e,t,n){var r=xn.templateSettings;n&&ci(e,t,n)&&(t=void 0),e=ss(e),t=us({},t,r,Vo);var o,i,a=us({},t.imports,r.imports,Vo),s=ks(a),c=Mt(a,s),l=0,u=t.interpolate||le,d="__p += '",f=me((t.escape||le).source+"|"+u.source+"|"+(u===V?te:le).source+"|"+(t.evaluate||le).source+"|$","g"),h="//# sourceURL="+(Se.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++ze+"]")+"\n";e.replace(f,(function(t,n,r,a,s,c){return r||(r=a),d+=e.slice(l,c).replace(ue,At),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(i=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=c+t.length,t})),d+="';\n";var p=Se.call(t,"variable")&&t.variable;p||(d="with (obj) {\n"+d+"\n}\n"),d=(i?d.replace(I,""):d).replace(P,"$1").replace(N,"$1;"),d="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=Vs((function(){return he(s,h+"return "+d).apply(void 0,c)}));if(v.source=d,Fa(v))throw v;return v},xn.times=function(e,t){if((e=rs(e))<1||e>9007199254740991)return[];var n=4294967295,r=sn(e,4294967295);e-=4294967295;for(var o=xt(r,t=Xo(t));++n<e;)t(n);return o},xn.toFinite=ns,xn.toInteger=rs,xn.toLength=os,xn.toLower=function(e){return ss(e).toLowerCase()},xn.toNumber=is,xn.toSafeInteger=function(e){return e?Gn(rs(e),-9007199254740991,9007199254740991):0===e?e:0},xn.toString=ss,xn.toUpper=function(e){return ss(e).toUpperCase()},xn.trim=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace($,"");if(!e||!(t=Xr(t)))return e;var r=Kt(e),o=Kt(t);return lo(r,It(r,o),Pt(r,o)+1).join("")},xn.trimEnd=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(G,"");if(!e||!(t=Xr(t)))return e;var r=Kt(e);return lo(r,0,Pt(r,Kt(t))+1).join("")},xn.trimStart=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(q,"");if(!e||!(t=Xr(t)))return e;var r=Kt(e);return lo(r,It(r,Kt(t))).join("")},xn.truncate=function(e,t){var n=30,r="...";if(Ua(t)){var o="separator"in t?t.separator:o;n="length"in t?rs(t.length):n,r="omission"in t?Xr(t.omission):r}var i=(e=ss(e)).length;if(zt(e)){var a=Kt(e);i=a.length}if(n>=i)return e;var s=n-Wt(r);if(s<1)return r;var c=a?lo(a,0,s).join(""):e.slice(0,s);if(void 0===o)return c+r;if(a&&(s+=c.length-s),qa(o)){if(e.slice(s).search(o)){var l,u=c;for(o.global||(o=me(o.source,ss(ne.exec(o))+"g")),o.lastIndex=0;l=o.exec(u);)var d=l.index;c=c.slice(0,void 0===d?s:d)}}else if(e.indexOf(Xr(o),s)!=s){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+r},xn.unescape=function(e){return(e=ss(e))&&A.test(e)?e.replace(R,Yt):e},xn.uniqueId=function(e){var t=++Ee;return ss(e)+t},xn.upperCase=zs,xn.upperFirst=Fs,xn.each=sa,xn.eachRight=ca,xn.first=Ri,Zs(xn,(uc={},cr(xn,(function(e,t){Se.call(xn.prototype,t)||(uc[t]=e)})),uc),{chain:!1}),xn.VERSION="4.17.15",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){xn[e].placeholder=xn})),at(["drop","take"],(function(e,t){In.prototype[e]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!t?new In(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},In.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;In.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Xo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");In.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");In.prototype[e]=function(){return this.__filtered__?new In(this):this[n](1)}})),In.prototype.compact=function(){return this.filter(Ys)},In.prototype.find=function(e){return this.filter(e).head()},In.prototype.findLast=function(e){return this.reverse().find(e)},In.prototype.invokeMap=zr((function(e,t){return"function"==typeof e?new In(this):this.map((function(n){return gr(n,e,t)}))})),In.prototype.reject=function(e){return this.filter(Sa(Xo(e)))},In.prototype.slice=function(e,t){e=rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new In(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},In.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},In.prototype.toArray=function(){return this.take(4294967295)},cr(In.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=xn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(xn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof In,c=a[0],l=s||Pa(t),u=function(e){var t=o.apply(xn,ht([e],a));return r&&d?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(s=l=!1);var d=this.__chain__,f=!!this.__actions__.length,h=i&&!d,p=s&&!f;if(!i&&l){t=p?t:new In(this);var v=e.apply(t,a);return v.__actions__.push({func:na,args:[u],thisArg:void 0}),new jn(v,d)}return h&&p?e.apply(this,a):(v=this.thru(u),h?r?v.value()[0]:v.value():v)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);xn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Pa(o)?o:[],e)}return this[n]((function(n){return t.apply(Pa(n)?n:[],e)}))}})),cr(In.prototype,(function(e,t){var n=xn[t];if(n){var r=n.name+"";Se.call(yn,r)||(yn[r]=[]),yn[r].push({name:t,func:n})}})),yn[Do(void 0,2).name]=[{name:"wrapper",func:void 0}],In.prototype.clone=function(){var e=new In(this.__wrapped__);return e.__actions__=go(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=go(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=go(this.__views__),e},In.prototype.reverse=function(){if(this.__filtered__){var e=new In(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},In.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Pa(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=sn(t,e+a);break;case"takeRight":e=an(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,l=r?s:a-1,u=this.__iteratees__,d=u.length,f=0,h=sn(c,this.__takeCount__);if(!n||!r&&o==c&&h==c)return no(e,this.__actions__);var p=[];e:for(;c--&&f<h;){for(var v=-1,m=e[l+=t];++v<d;){var b=u[v],g=b.iteratee,y=b.type,k=g(m);if(2==y)m=k;else if(!k){if(1==y)continue e;break e}}p[f++]=m}return p},xn.prototype.at=ra,xn.prototype.chain=function(){return ta(this)},xn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},xn.prototype.next=function(){void 0===this.__values__&&(this.__values__=ts(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},xn.prototype.plant=function(e){for(var t,n=this;n instanceof Mn;){var r=xi(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},xn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof In){var t=e;return this.__actions__.length&&(t=new In(this)),(t=t.reverse()).__actions__.push({func:na,args:[Ui],thisArg:void 0}),new jn(t,this.__chain__)}return this.thru(Ui)},xn.prototype.toJSON=xn.prototype.valueOf=xn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},xn.prototype.first=xn.prototype.head,bt&&(xn.prototype[bt]=function(){return this}),xn}();Ye._=$t,void 0===(r=function(){return $t}.call(t,n,t,e))||(e.exports=r)}).call(this)}).call(this,n(60)(e))},function(e,t,n){"use strict";e.exports=n(140)},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){e.exports=n(149)},function(e,t,n){e.exports=n(194)()},function(e,t,n){"use strict";var r=n(163),o=n(164),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Ot(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=h(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function v(e){var t=f(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var m=r.momentProperties=[];function b(e,t){var n,r,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=h(t)),a(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)a(o=t[r=m[n]])||(e[r]=o);return e}var g=!1;function y(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,r.updateOffset(this),g=!1)}function k(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function O(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&w(e[r])!==w(t[r]))&&a++;return a+i}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var o,i=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){for(var s in o+="\n["+a+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];i.push(o)}S(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,T={};function x(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),T[e]||(S(t),T[e]=!0)}function D(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=d({},e);for(n in t)u(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&i(e[n])&&(r[n]=d({},r[n]));return r}function j(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var I={};function P(e,t){var n=e.toLowerCase();I[n]=I[n+"s"]=I[t]=e}function N(e){return"string"==typeof e?I[e]||I[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)u(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}var L={};function A(e,t){L[e]=t}function z(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},B={};function U(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(B[e]=o),t&&(B[t[0]]=function(){return z(o.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=K(t,e.localeData()),V[t]=V[t]||function(e){var t,n,r,o=e.match(F);for(t=0,n=o.length;t<n;t++)B[o[t]]?o[t]=B[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=D(o[r])?o[r].call(t,e):o[r];return i}}(t),V[t](e)):e.localeData().invalidDate()}function K(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.lastIndex=0,n-=1;return e}var Y=/\d/,$=/\d\d/,q=/\d{3}/,G=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ce={};function le(e,t,n){ce[e]=D(t)?t:function(e,r){return e&&n?n:t}}function ue(e,t){return u(ce,e)?ce[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function he(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function pe(e,t){he(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function ve(e,t,n){null!=t&&u(fe,e)&&fe[e](t,n._a,n,e)}function me(e){return be(e)?366:365}function be(e){return e%4==0&&e%100!=0||e%400==0}U("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),U(0,["YY",2],0,(function(){return this.year()%100})),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),P("year","y"),A("year",1),le("Y",oe),le("YY",X,$),le("YYYY",te,G),le("YYYYY",ne,Z),le("YYYYYY",ne,Z),he(["YYYYY","YYYYYY"],0),he("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):w(e)})),he("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),he("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var ge,ye=ke("FullYear",!0);function ke(e,t){return function(n){return null!=n?(we(this,e,n),r.updateOffset(this,t),this):_e(this,e)}}function _e(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function we(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&be(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Oe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?be(e)?29:28:31-r%7%2}ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},U("M",["MM",2],"Mo",(function(){return this.month()+1})),U("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),U("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),P("month","M"),A("month",8),le("M",X),le("MM",X,$),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),he(["M","MM"],(function(e,t){t[1]=w(e)-1})),he(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[1]=o:h(n).invalidMonth=e}));var Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Te(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=ge.call(this._shortMonthsParse,a))?o:null:-1!==(o=ge.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=ge.call(this._shortMonthsParse,a))?o:-1!==(o=ge.call(this._longMonthsParse,a))?o:null:-1!==(o=ge.call(this._longMonthsParse,a))?o:-1!==(o=ge.call(this._shortMonthsParse,a))?o:null}function xe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function De(e){return null!=e?(xe(this,e),r.updateOffset(this,!0),this):_e(this,"Month")}var Me=se,je=se;function Ie(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=de(r[t]),o[t]=de(o[t]);for(t=0;t<24;t++)i[t]=de(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Pe(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Ne(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Re(e,t,n){var r=7+t-n;return-(7+Ne(e,0,r).getUTCDay()-t)%7+r-1}function Le(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Re(e,r,o);return s<=0?a=me(i=e-1)+s:s>me(e)?(i=e+1,a=s-me(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Ae(e,t,n){var r,o,i=Re(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+ze(o=e.year()-1,t,n):a>ze(e.year(),t,n)?(r=a-ze(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function ze(e,t,n){var r=Re(e,t,n),o=Re(e+1,t,n);return(me(e)-r+o)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),A("week",5),A("isoWeek",5),le("w",X),le("ww",X,$),le("W",X),le("WW",X,$),pe(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=w(e)})),U("d",0,"do","day"),U("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),U("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),U("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),le("d",X),le("e",X),le("E",X),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,r){t[r]=w(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ue(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ge.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ge.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ge.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ge.call(this._weekdaysParse,a))?o:-1!==(o=ge.call(this._shortWeekdaysParse,a))?o:-1!==(o=ge.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ge.call(this._shortWeekdaysParse,a))?o:-1!==(o=ge.call(this._weekdaysParse,a))?o:-1!==(o=ge.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ge.call(this._minWeekdaysParse,a))?o:-1!==(o=ge.call(this._weekdaysParse,a))?o:-1!==(o=ge.call(this._shortWeekdaysParse,a))?o:null}var We=se,Ke=se,Ye=se;function $e(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),c.push(i),l.push(r),l.push(o),l.push(i);for(a.sort(e),s.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)s[t]=de(s[t]),c[t]=de(c[t]),l[t]=de(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ge(e,t){U(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,qe),U("k",["kk",2],0,(function(){return this.hours()||24})),U("hmm",0,0,(function(){return""+qe.apply(this)+z(this.minutes(),2)})),U("hmmss",0,0,(function(){return""+qe.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)})),U("Hmm",0,0,(function(){return""+this.hours()+z(this.minutes(),2)})),U("Hmmss",0,0,(function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)})),Ge("a",!0),Ge("A",!1),P("hour","h"),A("hour",13),le("a",Ze),le("A",Ze),le("H",X),le("h",X),le("k",X),le("HH",X,$),le("hh",X,$),le("kk",X,$),le("hmm",Q),le("hmmss",J),le("Hmm",Q),le("Hmmss",J),he(["H","HH"],3),he(["k","kk"],(function(e,t,n){var r=w(e);t[3]=24===r?0:r})),he(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),he(["h","hh"],(function(e,t,n){t[3]=w(e),h(n).bigHour=!0})),he("hmm",(function(e,t,n){var r=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r)),h(n).bigHour=!0})),he("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r,2)),t[5]=w(e.substr(o)),h(n).bigHour=!0})),he("Hmm",(function(e,t,n){var r=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r))})),he("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r,2)),t[5]=w(e.substr(o))}));var Xe,Qe=ke("Hours",!0),Je={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Ce,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Be,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!et[t]&&void 0!==e&&e&&e.exports)try{n=Xe._abbr,!function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ot(n)}catch(r){}return et[t]}function ot(e,t){var n;return e&&((n=a(t)?at(e):it(e,t))?Xe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function it(e,t){if(null!==t){var n,r=Je;if(t.abbr=e,null!=et[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new j(M(r,t)),tt[e]&&tt[e].forEach((function(e){it(e.name,e.config)})),ot(e),et[e]}return delete et[e],null}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Xe;if(!o(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=nt(e[i]).split("-")).length,n=(n=nt(e[i+1]))?n.split("-"):null;t>0;){if(r=rt(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&O(o,n,!0)>=t-1)break;t--}i++}return Xe}(e)}function st(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Oe(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}function ct(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var t,n,o,i,a,s=[];if(!e._d){for(o=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,o,i,a,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,a=4,n=ct(t.GG,e._a[0],Ae(St(),1,4).year),r=ct(t.W,1),((o=ct(t.E,1))<1||o>7)&&(c=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var l=Ae(St(),i,a);n=ct(t.gg,e._a[0],l.year),r=ct(t.w,l.week),null!=t.d?((o=t.d)<0||o>6)&&(c=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(c=!0)):o=i}r<1||r>ze(n,i,a)?h(e)._overflowWeeks=!0:null!=c?h(e)._overflowWeekday=!0:(s=Le(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ct(e._a[0],o[0]),(e._dayOfYear>me(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Ne(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ne:Pe).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,ht=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((\-?\d+)/i;function mt(e){var t,n,r,o,i,a,s=e._i,c=ut.exec(s)||dt.exec(s);if(c){for(h(e).iso=!0,t=0,n=ht.length;t<n;t++)if(ht[t][1].exec(c[1])){o=ht[t][0],r=!1!==ht[t][2];break}if(null==o)return void(e._isValid=!1);if(c[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(c[3])){i=(c[2]||" ")+pt[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(c[4]){if(!ft.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),_t(e)}else e._isValid=!1}var bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function gt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,r,o,i,a,s,c=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var l=(t=c[4],n=c[3],r=c[2],o=c[5],i=c[6],a=c[7],s=[gt(t),Ce.indexOf(n),parseInt(r,10),parseInt(o,10),parseInt(i,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],l,e))return;e._a=l,e._tzm=function(e,t,n){if(e)return yt[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(c[8],c[9],c[10]),e._d=Ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function _t(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,o,i,a,s=""+e._i,c=s.length,l=0;for(o=K(e._f,e._locale).match(F)||[],t=0;t<o.length;t++)i=o[t],(n=(s.match(ue(i,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),B[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),ve(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=c-l,s.length>0&&h(e).unusedInput.push(s),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),lt(e),st(e)}else kt(e);else mt(e)}function wt(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new y(st(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,r,o,i;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],_t(t),p(t)&&(i+=h(t).charsLeftOver,i+=10*h(t).unusedTokens.length,h(t).score=i,(null==r||i<r)&&(r=i,n=t));d(e,n||t)}(e):n?_t(e):function(e){var t=e._i;a(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=vt.exec(e._i);null===t?(mt(e),!1===e._isValid&&(delete e._isValid,kt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=l(t.slice(0),(function(e){return parseInt(e,10)})),lt(e)):i(t)?function(e){if(!e._d){var t=R(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),lt(e)}}(e):s(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function Ot(e,t,n,r,a){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new y(st(wt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function St(e,t,n,r){return Ot(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Et=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Ct=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Tt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return St();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var xt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var t=R(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===ge.call(xt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<xt.length;++r)if(e[xt[r]]){if(n)return!1;parseFloat(e[xt[r]])!==w(e[xt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=at(),this._bubble()}function Mt(e){return e instanceof Dt}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,t){U(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+z(~~(e/60),2)+t+z(~~e%60,2)}))}It("Z",":"),It("ZZ",""),le("Z",ae),le("ZZ",ae),he(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Nt(ae,e)}));var Pt=/([\+\-]|\d\d)/gi;function Nt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Pt)||["-",0,0],o=60*r[1]+w(r[2]);return 0===o?0:"+"===r[0]?o:-o}function Rt(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(k(e)||c(e)?e.valueOf():St(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):St(e).local()}function Lt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function At(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var zt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ft=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,r,o,i,a,c,l=e,d=null;return Mt(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(l={},t?l[t]=e:l.milliseconds=e):(d=zt.exec(e))?(n="-"===d[1]?-1:1,l={y:0,d:w(d[2])*n,h:w(d[3])*n,m:w(d[4])*n,s:w(d[5])*n,ms:w(jt(1e3*d[6]))*n}):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,l={y:Vt(d[2],n),M:Vt(d[3],n),w:Vt(d[4],n),d:Vt(d[5],n),h:Vt(d[6],n),m:Vt(d[7],n),s:Vt(d[8],n)}):null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(i=St(l.from),a=St(l.to),o=i.isValid()&&a.isValid()?(a=Rt(a,i),i.isBefore(a)?c=Bt(i,a):((c=Bt(a,i)).milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0},(l={}).ms=o.milliseconds,l.M=o.months),r=new Dt(l),Mt(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ut(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Wt(this,Ht(n="string"==typeof n?+n:n,r),e),this}}function Wt(e,t,n,o){var i=t._milliseconds,a=jt(t._days),s=jt(t._months);e.isValid()&&(o=null==o||o,s&&xe(e,_e(e,"Month")+s*n),a&&we(e,"Date",_e(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}Ht.fn=Dt.prototype,Ht.invalid=function(){return Ht(NaN)};var Kt=Ut(1,"add"),Yt=Ut(-1,"subtract");function $t(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=at(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Gt=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Zt(){return this._locale}function Xt(e,t){return(e%t+t)%t}function Qt(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function Jt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){U(0,[e,e.length],0,t)}function tn(e,t,n,r,o){var i;return null==e?Ae(this,r,o).year:(t>(i=ze(e,r,o))&&(t=i),nn.call(this,e,t,n,r,o))}function nn(e,t,n,r,o){var i=Le(e,t,n,r,o),a=Ne(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}U(0,["gg",2],0,(function(){return this.weekYear()%100})),U(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),le("G",oe),le("g",oe),le("GG",X,$),le("gg",X,$),le("GGGG",te,G),le("gggg",te,G),le("GGGGG",ne,Z),le("ggggg",ne,Z),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=w(e)})),pe(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),U("Q",0,"Qo","quarter"),P("quarter","Q"),A("quarter",7),le("Q",Y),he("Q",(function(e,t){t[1]=3*(w(e)-1)})),U("D",["DD",2],"Do","date"),P("date","D"),A("date",9),le("D",X),le("DD",X,$),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),he(["D","DD"],2),he("Do",(function(e,t){t[2]=w(e.match(X)[0])}));var rn=ke("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),A("dayOfYear",4),le("DDD",ee),le("DDDD",q),he(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=w(e)})),U("m",["mm",2],0,"minute"),P("minute","m"),A("minute",14),le("m",X),le("mm",X,$),he(["m","mm"],4);var on=ke("Minutes",!1);U("s",["ss",2],0,"second"),P("second","s"),A("second",15),le("s",X),le("ss",X,$),he(["s","ss"],5);var an,sn=ke("Seconds",!1);for(U("S",0,0,(function(){return~~(this.millisecond()/100)})),U(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),U(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),U(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),U(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),U(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),U(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),P("millisecond","ms"),A("millisecond",16),le("S",ee,Y),le("SS",ee,$),le("SSS",ee,q),an="SSSS";an.length<=9;an+="S")le(an,re);function cn(e,t){t[6]=w(1e3*("0."+e))}for(an="S";an.length<=9;an+="S")he(an,cn);var ln=ke("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var un=y.prototype;function dn(e){return e}un.add=Kt,un.calendar=function(e,t){var n=e||St(),o=Rt(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(D(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,St(n)))},un.clone=function(){return new y(this)},un.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Rt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=N(t)){case"year":i=$t(this,r)/12;break;case"month":i=$t(this,r);break;case"quarter":i=$t(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:_(i)},un.endOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Qt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Xt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Xt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Xt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},un.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},un.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.fromNow=function(e){return this.from(St(),e)},un.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.toNow=function(e){return this.to(St(),e)},un.get=function(e){return D(this[e=N(e)])?this[e]():this},un.invalidAt=function(){return h(this).overflow},un.isAfter=function(e,t){var n=k(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},un.isBefore=function(e,t){var n=k(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},un.isBetween=function(e,t,n,r){var o=k(e)?e:St(e),i=k(t)?t:St(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))},un.isSame=function(e,t){var n,r=k(e)?e:St(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},un.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},un.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},un.isValid=function(){return p(this)},un.lang=Gt,un.locale=qt,un.localeData=Zt,un.max=Ct,un.min=Et,un.parsingFlags=function(){return d({},h(this))},un.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:L[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=R(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(D(this[e=N(e)]))return this[e](t);return this},un.startOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Qt;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Xt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Xt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Xt(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},un.subtract=Yt,un.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},un.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},un.toDate=function(){return new Date(this.valueOf())},un.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=ye,un.isLeapYear=function(){return be(this.year())},un.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},un.month=De,un.daysInMonth=function(){return Oe(this.year(),this.month())},un.week=un.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},un.isoWeek=un.isoWeeks=function(e){var t=Ae(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},un.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},un.isoWeeksInYear=function(){return ze(this.year(),1,4)},un.date=rn,un.day=un.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},un.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},un.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},un.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},un.hour=un.hours=Qe,un.minute=un.minutes=on,un.second=un.seconds=sn,un.millisecond=un.milliseconds=ln,un.utcOffset=function(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Nt(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=Lt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Wt(this,Ht(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Lt(this)},un.utc=function(e){return this.utcOffset(0,e)},un.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Lt(this),"m")),this},un.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Nt(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},un.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=At,un.isUTC=At,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=E("dates accessor is deprecated. Use date instead.",rn),un.months=E("months accessor is deprecated. Use month instead",De),un.years=E("years accessor is deprecated. Use year instead",ye),un.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),un.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(b(e,this),(e=wt(e))._a){var t=e._isUTC?f(e._a):St(e._a);this._isDSTShifted=this.isValid()&&O(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var fn=j.prototype;function hn(e,t,n,r){var o=at(),i=f().set(r,t);return o[n](i,e)}function pn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hn(e,r,n,"month");return o}function vn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o,i=at(),a=e?i._week.dow:0;if(null!=n)return hn(t,(n+a)%7,r,"day");var c=[];for(o=0;o<7;o++)c[o]=hn(t,(o+a)%7,r,"day");return c}fn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},fn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},fn.invalidDate=function(){return this._invalidDate},fn.ordinal=function(e){return this._ordinal.replace("%d",e)},fn.preparse=dn,fn.postformat=dn,fn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return D(o)?o(e,t,n,r):o.replace(/%d/i,e)},fn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},fn.set=function(e){var t,n;for(n in e)D(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},fn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},fn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},fn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return Te.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},fn.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ie.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},fn.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ie.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Me),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},fn.week=function(e){return Ae(e,this._week.dow,this._week.doy).week},fn.firstDayOfYear=function(){return this._week.doy},fn.firstDayOfWeek=function(){return this._week.dow},fn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},fn.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},fn.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},fn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ue.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},fn.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},fn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},fn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ye),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},fn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},fn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",ot),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",at);var mn=Math.abs;function bn(e,t,n,r){var o=Ht(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function yn(e){return 4800*e/146097}function kn(e){return 146097*e/4800}function _n(e){return function(){return this.as(e)}}var wn=_n("ms"),On=_n("s"),Sn=_n("m"),En=_n("h"),Cn=_n("d"),Tn=_n("w"),xn=_n("M"),Dn=_n("Q"),Mn=_n("y");function jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var In=jn("milliseconds"),Pn=jn("seconds"),Nn=jn("minutes"),Rn=jn("hours"),Ln=jn("days"),An=jn("months"),zn=jn("years"),Fn=Math.round,Hn={ss:44,s:45,m:45,h:22,d:26,M:11};function Vn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var Bn=Math.abs;function Un(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Bn(this._milliseconds)/1e3,r=Bn(this._days),o=Bn(this._months);e=_(n/60),t=_(e/60),n%=60,e%=60;var i=_(o/12),a=o%=12,s=r,c=t,l=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=Un(this._months)!==Un(d)?"-":"",p=Un(this._days)!==Un(d)?"-":"",v=Un(this._milliseconds)!==Un(d)?"-":"";return f+"P"+(i?h+i+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(c||l||u?"T":"")+(c?v+c+"H":"")+(l?v+l+"M":"")+(u?v+u+"S":"")}var Kn=Dt.prototype;return Kn.isValid=function(){return this._isValid},Kn.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},Kn.add=function(e,t){return bn(this,e,t,1)},Kn.subtract=function(e,t){return bn(this,e,t,-1)},Kn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+yn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(kn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Kn.asMilliseconds=wn,Kn.asSeconds=On,Kn.asMinutes=Sn,Kn.asHours=En,Kn.asDays=Cn,Kn.asWeeks=Tn,Kn.asMonths=xn,Kn.asQuarters=Dn,Kn.asYears=Mn,Kn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Kn._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*gn(kn(s)+a),a=0,s=0),c.milliseconds=i%1e3,e=_(i/1e3),c.seconds=e%60,t=_(e/60),c.minutes=t%60,n=_(t/60),c.hours=n%24,a+=_(n/24),o=_(yn(a)),s+=o,a-=gn(kn(o)),r=_(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},Kn.clone=function(){return Ht(this)},Kn.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},Kn.milliseconds=In,Kn.seconds=Pn,Kn.minutes=Nn,Kn.hours=Rn,Kn.days=Ln,Kn.weeks=function(){return _(this.days()/7)},Kn.months=An,Kn.years=zn,Kn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Ht(e).abs(),o=Fn(r.as("s")),i=Fn(r.as("m")),a=Fn(r.as("h")),s=Fn(r.as("d")),c=Fn(r.as("M")),l=Fn(r.as("y")),u=o<=Hn.ss&&["s",o]||o<Hn.s&&["ss",o]||i<=1&&["m"]||i<Hn.m&&["mm",i]||a<=1&&["h"]||a<Hn.h&&["hh",a]||s<=1&&["d"]||s<Hn.d&&["dd",s]||c<=1&&["M"]||c<Hn.M&&["MM",c]||l<=1&&["y"]||["yy",l];return u[2]=t,u[3]=+e>0,u[4]=n,Vn.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Kn.toISOString=Wn,Kn.toString=Wn,Kn.toJSON=Wn,Kn.locale=qt,Kn.localeData=Zt,Kn.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Kn.lang=Gt,U("X",0,0,"unix"),U("x",0,0,"valueOf"),le("x",oe),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),he("x",(function(e,t,n){n._d=new Date(w(e))})),r.version="2.24.0",t=St,r.fn=un,r.min=function(){var e=[].slice.call(arguments,0);return Tt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Tt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return St(1e3*e)},r.months=function(e,t){return pn(e,t,"months")},r.isDate=c,r.locale=ot,r.invalid=v,r.duration=Ht,r.isMoment=k,r.weekdays=function(e,t,n){return vn(e,t,n,"weekdays")},r.parseZone=function(){return St.apply(null,arguments).parseZone()},r.localeData=at,r.isDuration=Mt,r.monthsShort=function(e,t){return pn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return vn(e,t,n,"weekdaysMin")},r.defineLocale=it,r.updateLocale=function(e,t){if(null!=t){var n,r,o=Je;null!=(r=rt(e))&&(o=r._config),t=M(o,t),(n=new j(t)).parentLocale=et[e],et[e]=n,ot(e)}else null!=et[e]&&(null!=et[e].parentLocale?et[e]=et[e].parentLocale:null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return C(et)},r.weekdaysShort=function(e,t,n){return vn(e,t,n,"weekdaysShort")},r.normalizeUnits=N,r.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Hn[e]&&(void 0===t?Hn[e]:(Hn[e]=t,"s"===e&&(Hn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=un,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(60)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){var n=e._map,r=e._arrayTreeMap,o=e._objectTreeMap;if(n.has(t))return n.get(t);for(var i=Object.keys(t).sort(),a=Array.isArray(t)?r:o,s=0;s<i.length;s++){var c=i[s];if(void 0===(a=a.get(c)))return;var l=t[c];if(void 0===(a=a.get(l)))return}var u=a.get("_ekm_value");return u?(n.delete(u[0]),u[0]=t,a.set("_ekm_value",u),n.set(t,u),u):void 0}var a=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,a;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var o=Object.keys(t).sort(),i=[t,n],a=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,s=0;s<o.length;s++){var c=o[s];a.has(c)||a.set(c,new e),a=a.get(c);var l=t[c];a.has(l)||a.set(l,new e),a=a.get(l)}var u=a.get("_ekm_value");return u&&this._map.delete(u[0]),a.set("_ekm_value",i),this._map.set(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,n),a&&o(t,a),e}();e.exports=a},function(e,t){e.exports=function(e){var t,n=Object.keys(e);return t=function(){var e,t,r;for(e="return {",t=0;t<n.length;t++)e+=(r=JSON.stringify(n[t]))+":r["+r+"](s["+r+"],a),";return e+="}",new Function("r,s,a",e)}(),function(r,o){var i,a,s;if(void 0===r)return t(e,{},o);for(i=t(e,r,o),a=n.length;a--;)if(r[s=n[a]]!==i[s])return i;return r}}},function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(141)},function(e,t,n){e.exports=n(199)},function(e,t,n){"use strict";var r=n(20),o=n(92),i=n(93),a=n(193),s=i();r(s,{getPolyfill:i,implementation:o,shim:a}),e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Interact with the calendar and add the check-in date for your trip.",o="Move backward to switch to the previous month.",i="Move forward to switch to the next month.",a="page up and page down keys",s="Home and end keys",c="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",f="Return to the date input field.",h="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},v=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},m=function(e){return e.date},b=function(e){var t=e.date;return"Not available. "+String(t)},g=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:r,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:v,dateIsUnavailable:b,dateIsSelected:g};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:r,jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:v,dateIsUnavailable:b,dateIsSelected:g},t.DateRangePickerInputPhrases={focusStartDate:r,clearDates:"Clear Dates",keyboardNavigationInstructions:h},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableDate:m,dateIsUnavailable:b,dateIsSelected:g},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:h},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,chooseAvailableStartDate:p,chooseAvailableEndDate:v,chooseAvailableDate:m,dateIsUnavailable:b,dateIsSelected:g},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f},t.DayPickerNavigationPhrases={jumpToPrevMonth:o,jumpToNextMonth:i},t.CalendarDayPhrases={chooseAvailableDate:m,dateIsUnavailable:b,dateIsSelected:g}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=i(n(13)),o=i(n(4));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.withStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,s=void 0===n?"styles":n,u=t.themePropName,f=void 0===u?"theme":u,b=t.cssPropName,w=void 0===b?"css":b,O=t.flushBefore,S=void 0!==O&&O,E=t.pureComponent,C=void 0!==E&&E,T=void 0,x=void 0,D=void 0,M=void 0,j=y(C);function I(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function P(e){return e===l.DIRECTIONS.LTR?D:M}function N(t,n){var r=P(t),o=t===l.DIRECTIONS.LTR?T:x,i=d.default.get();return o&&r===i?o:(t===l.DIRECTIONS.RTL?(x=e?d.default.createRTL(e):g,M=i,o=x):(T=e?d.default.createLTR(e):g,D=i,o=T),o)}function R(e,t){return{resolveMethod:I(e),styleDef:N(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){h(this,n);var r=p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():_;return r.state=R(o),r}return v(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe((function(t){e.setState(R(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;S&&d.default.flush();var n=this.state,o=n.resolveMethod,i=n.styleDef;return a.default.createElement(e,r({},this.props,(m(t={},f,d.default.get()),m(t,s,i()),m(t,w,o),t)))}}]),n}(j);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=k,e.propTypes&&(n.propTypes=(0,i.default)({},e.propTypes),delete n.propTypes[s],delete n.propTypes[f],delete n.propTypes[w]),e.defaultProps&&(n.defaultProps=(0,i.default)({},e.defaultProps)),(0,c.default)(n,e)}};var i=f(n(13)),a=f(n(1)),s=f(n(4)),c=f(n(200)),l=n(203),u=f(n(204)),d=f(n(90));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:s.default.object.isRequired,theme:s.default.object.isRequired,css:s.default.func.isRequired};var b={},g=function(){return b};function y(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}var k=m({},l.CHANNEL,u.default),_=l.DIRECTIONS.LTR},function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(M[e])e=M[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=U.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=U.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=U.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(h=e.r,p=e.g,v=e.b,t={r:255*P(h,255),g:255*P(p,255),b:255*P(v,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=A(e.s),s=A(e.v),t=function(e,t,n){e=6*P(e,360),t=P(t,100),n=P(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,s,a,a,c,n][l],g:255*[c,n,n,s,a,a][l],b:255*[a,a,c,n,n,s][l]}}(e.h,r,s),d=!0,f="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=A(e.s),c=A(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var h,p,v;return n=I(n),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function h(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:s}}function p(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=i,c=i-a;if(o=0===i?0:c/i,i==a)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:s}}function v(e,t,n,r){var o=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function m(e,t,n,r){return[L(z(r)),L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=N(n.s),f(n)}function g(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=N(n.s),f(n)}function y(e){return f(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=N(n.l),f(n)}function _(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),f(n)}function w(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=N(n.l),f(n)}function O(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function S(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function E(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function T(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function x(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function D(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(f({h:r,s:o,v:i})),i=(i+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16)),L(z(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*P(this._r,255))+"%",g:c(100*P(this._g,255))+"%",b:c(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*P(this._r,255))+"%, "+c(100*P(this._g,255))+"%, "+c(100*P(this._b,255))+"%)":"rgba("+c(100*P(this._r,255))+"%, "+c(100*P(this._g,255))+"%, "+c(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(D,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:A(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,a,s=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;l<t.length;l++)(r=f.readability(e,t[l]))>c&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var M=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(M);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function N(e){return l(1,u(0,e))}function R(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function A(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var H,V,B,U=(V="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",B="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var r=n(76);Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=s(n(150)),i=s(n(152)),a=s(n(154));function s(e){return e&&e.__esModule?e:{default:e}}t.create=o.default,t.asyncControls=i.default,t.wrapControls=a.default},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";var r=n(61),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,c=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(n){return!1}}(),l=function(e,t,n,r){var o;t in e&&("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())||(c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)l(e,i[s],t[i[s]],n[i[s]])};u.supportsDescriptors=!!c,e.exports=u},function(e,t,n){var r=n(6),o=n(197),i=n(198);e.exports={momentObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:i.createMomentChecker("string",(function(e){return"string"==typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return r.isDuration(e)}),"Duration")}},function(e,t,n){"use strict";e.exports=n(238)},function(e,t,n){var r=n(240),o=n(28);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(241);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){"use strict";var r=n(174);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf(a.WEEKDAYS)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){"use strict";var r=n(196);e.exports=function(e,t,n){return!r(e.props,t)||!r(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year())};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,a.DISPLAY_FORMAT,a.ISO_FORMAT]:[a.DISPLAY_FORMAT,a.ISO_FORMAT],r=(0,i.default)(e,n,!0);return r.isValid()?r.hour(12):null};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.HORIZONTAL_ORIENTATION,a.VERTICAL_ORIENTATION,a.VERTICAL_SCROLLABLE])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.OPEN_DOWN,a.OPEN_UP])},function(e,t,n){"use strict";t.__esModule=!0;var r=n(244);t.default=r.default},function(e,t,n){var r=n(159),o=n(160),i=n(161);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t,n){"use strict";var r=n(145),o=n(146),i=n(75);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){"use strict";var r=n(26);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.ICON_BEFORE_POSITION,a.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.INFO_POSITION_TOP,a.INFO_POSITION_BOTTOM,a.INFO_POSITION_BEFORE,a.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=i(n(6)),o=i(n(43));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!i.default.isMoment(e)||!i.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),a=t.month(),s=n===o,c=r===a;return s&&c?e.date()<t.date():s?r<a:n<o};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{fillRule:"evenodd",d:"M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z"}))};a.defaultProps={viewBox:"0 0 12 12"},t.default=a},function(e,t,n){var r=n(242),o=n(243);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(77),a=(r=i)&&r.__esModule?r:{default:r};var s={obj:function(e){return"object"===(void 0===e?"undefined":o(e))&&!!e},all:function(e){return s.obj(e)&&e.type===a.default.all},error:function(e){return s.obj(e)&&e.type===a.default.error},array:Array.isArray,func:function(e){return"function"==typeof e},promise:function(e){return e&&s.func(e.then)},iterator:function(e){return e&&s.func(e.next)&&s.func(e.throw)},fork:function(e){return s.obj(e)&&e.type===a.default.fork},join:function(e){return s.obj(e)&&e.type===a.default.join},race:function(e){return s.obj(e)&&e.type===a.default.race},call:function(e){return s.obj(e)&&e.type===a.default.call},cps:function(e){return s.obj(e)&&e.type===a.default.cps},subscribe:function(e){return s.obj(e)&&e.type===a.default.subscribe},channel:function(e){return s.obj(e)&&s.func(e.subscribe)}};t.default=s},function(e,t,n){"use strict";var r=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=Object.getPrototypeOf||function(e){return e.__proto__},a=void 0,s="undefined"==typeof Uint8Array?void 0:i(Uint8Array),c={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":o?i([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":void 0,"$ %AsyncGeneratorFunction%":void 0,"$ %AsyncGeneratorPrototype%":void 0,"$ %AsyncIteratorPrototype%":a&&o&&Symbol.asyncIterator?a[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":void 0,"$ %GeneratorFunction%":void 0,"$ %GeneratorPrototype%":void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":o?i(i([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&o?i((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&o?i((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":o?i(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":o?Symbol:void 0,"$ %SymbolPrototype%":o?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":r,"$ %TypedArray%":s,"$ %TypedArrayPrototype%":s?s.prototype:void 0,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in c))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===c[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return c[n]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(12);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=(0,a.and)([i.default.instanceOf(Set),function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=e[t],l=void 0;return[].concat(c(a)).some((function(e,n){var o,a=String(t)+": index "+String(n);return null!=(l=(o=i.default.string).isRequired.apply(o,[s({},a,e),a].concat(r)))})),null==l?null:l}],"Modifiers (Set of Strings)")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_FORMAT):null};var r=a(n(6)),o=a(n(32)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"addEventListener",(function(){return c}));var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var o=void 0;function i(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(o){}return e}()),o}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);a(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(o);var s=o.nextHandlers.indexOf(t);o.nextHandlers.splice(s,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};function c(e,t,n,r){e.__consolidated_events_handlers__||(e.__consolidated_events_handlers__=new s(e));var o=function(e){if(e)return i()?e:!!e.capture}(r);return e.__consolidated_events_handlers__.add(t,n,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_MONTH_FORMAT):null};var r=a(n(6)),o=a(n(32)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOfType([i.default.bool,i.default.oneOf([a.START_DATE,a.END_DATE])])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(!(0,o.default)(e,t)&&!(0,i.default)(e,t))};var r=a(n(6)),o=a(n(43)),i=a(n(31));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(165),a=n(1),s=n(11);e.exports=function(e){var t=e.displayName||e.name,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,n=this.props,o=n.wrappedRef,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["wrappedRef"]);return a.createElement(e,r({},i,{ref:function(e){t.__wrappedInstance=e,t.__domNode=s.findDOMNode(e),o&&o(e)}}))}}]),n}(a.Component);return n.displayName="clickOutside("+t+")",i(n,e)}},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function a(){var t,a,s=r,c=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<c;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===o&&(o=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(t=new Array(c),a=0;a<c;a++)t[a]=arguments[a];return s={args:t,val:e.apply(null,t)},r?(r.prev=s,s.next=r):o=s,i===n?(o=o.prev).next=null:i++,r=s,s.val}return t&&t.maxSize&&(n=t.maxSize),a.clear=function(){r=null,o=null,i=0},a}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var r=n(147),o=n(148),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,s,c=a(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))o.call(n,u)&&(c[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(c[s[d]]=n[s[d]])}}return c}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(78),i=Object.keys,a=i?function(e){return i(e)}:n(173),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,n){"use strict";var r=Function.prototype.toString,o=/^\s*class\b/,i=function(e){try{var t=r.call(e);return o.test(t)}catch(n){return!1}},a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(s)return function(e){try{return!i(e)&&(r.call(e),!0)}catch(t){return!1}}(e);if(i(e))return!1;var t=a.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},function(e,t,n){var r=n(26).call(Function.call,Object.prototype.hasOwnProperty),o=Object.assign;e.exports=function(e,t){if(o)return o(e,t);for(var n in t)r(t,n)&&(e[n]=t[n]);return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=g(n(13)),a=g(n(1)),s=g(n(4)),c=g(n(30)),l=g(n(21)),u=n(12),d=n(16),f=g(n(6)),h=n(14),p=g(n(15)),v=g(n(94)),m=g(n(49)),b=n(7);function g(e){return e&&e.__esModule?e:{default:e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var _=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:s.default.bool,modifiers:m.default,isFocused:s.default.bool,tabIndex:s.default.oneOf([0,-1]),onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,renderDayContents:s.default.func,ariaLabelFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases))})),w={day:(0,f.default)(),daySize:b.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",phrases:h.CalendarDayPhrases},O=function(e){function t(){var e;y(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=k(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.setButtonRef=i.setButtonRef.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){(0,this.props.onDayMouseEnter)(e,t)}},{key:"onDayMouseLeave",value:function(e,t){(0,this.props.onDayMouseLeave)(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,i=t.daySize,s=t.isOutsideDay,c=t.modifiers,l=t.renderDayContents,u=t.tabIndex,f=t.styles,h=t.phrases;if(!n)return a.default.createElement("td",null);var p=(0,v.default)(n,o,i,c,h),m=p.daySizeStyles,b=p.useDefaultCursor,g=p.selected,y=p.hoveredSpan,k=p.isOutsideRange,_=p.ariaLabel;return a.default.createElement("td",r({},(0,d.css)(f.CalendarDay,b&&f.CalendarDay__defaultCursor,f.CalendarDay__default,s&&f.CalendarDay__outside,c.has("today")&&f.CalendarDay__today,c.has("first-day-of-week")&&f.CalendarDay__firstDayOfWeek,c.has("last-day-of-week")&&f.CalendarDay__lastDayOfWeek,c.has("hovered-offset")&&f.CalendarDay__hovered_offset,c.has("highlighted-calendar")&&f.CalendarDay__highlighted_calendar,c.has("blocked-minimum-nights")&&f.CalendarDay__blocked_minimum_nights,c.has("blocked-calendar")&&f.CalendarDay__blocked_calendar,y&&f.CalendarDay__hovered_span,c.has("selected-span")&&f.CalendarDay__selected_span,c.has("last-in-range")&&f.CalendarDay__last_in_range,c.has("selected-start")&&f.CalendarDay__selected_start,c.has("selected-end")&&f.CalendarDay__selected_end,g&&f.CalendarDay__selected,k&&f.CalendarDay__blocked_out_of_range,m),{role:"button",ref:this.setButtonRef,"aria-label":_,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:u}),l?l(n,c):n.format("D"))}}]),t}(a.default.Component);O.propTypes=_,O.defaultProps=w,t.PureCalendarDay=O,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color;return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:t.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"},CalendarDay__default:{border:"1px solid "+String(n.core.borderLight),color:n.text,background:n.background,":hover":{background:n.core.borderLight,border:"1px double "+String(n.core.borderLight),color:"inherit"}},CalendarDay__hovered_offset:{background:n.core.borderBright,border:"1px double "+String(n.core.borderLight),color:"inherit"},CalendarDay__outside:{border:0,background:n.outside.backgroundColor,color:n.outside.color,":hover":{border:0}},CalendarDay__blocked_minimum_nights:{background:n.minimumNights.backgroundColor,border:"1px solid "+String(n.minimumNights.borderColor),color:n.minimumNights.color,":hover":{background:n.minimumNights.backgroundColor_hover,color:n.minimumNights.color_active},":active":{background:n.minimumNights.backgroundColor_active,color:n.minimumNights.color_active}},CalendarDay__highlighted_calendar:{background:n.highlighted.backgroundColor,color:n.highlighted.color,":hover":{background:n.highlighted.backgroundColor_hover,color:n.highlighted.color_active},":active":{background:n.highlighted.backgroundColor_active,color:n.highlighted.color_active}},CalendarDay__selected_span:{background:n.selectedSpan.backgroundColor,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color,":hover":{background:n.selectedSpan.backgroundColor_hover,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active},":active":{background:n.selectedSpan.backgroundColor_active,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active}},CalendarDay__last_in_range:{borderRight:n.core.primary},CalendarDay__selected:{background:n.selected.backgroundColor,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color,":hover":{background:n.selected.backgroundColor_hover,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active},":active":{background:n.selected.backgroundColor_active,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active}},CalendarDay__hovered_span:{background:n.hoveredSpan.backgroundColor,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color,":hover":{background:n.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active},":active":{background:n.hoveredSpan.backgroundColor_active,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active}},CalendarDay__blocked_calendar:{background:n.blocked_calendar.backgroundColor,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color,":hover":{background:n.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active},":active":{background:n.blocked_calendar.backgroundColor_active,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active}},CalendarDay__blocked_out_of_range:{background:n.blocked_out_of_range.backgroundColor,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color,":hover":{background:n.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active},":active":{background:n.blocked_out_of_range.backgroundColor_active,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active}},CalendarDay__selected_start:{},CalendarDay__selected_end:{},CalendarDay__today:{},CalendarDay__firstDayOfWeek:{},CalendarDay__lastDayOfWeek:{}}}))(O)},function(e,t,n){e.exports=n(214)},function(e,t,n){"use strict";var r=n(20),o=n(100),i=n(101),a=n(216),s=i();r(s,{getPolyfill:i,implementation:o,shim:a}),e.exports=s},function(e,t,n){"use strict";function r(e,t,n){var r="number"==typeof t,o="number"==typeof n,i="number"==typeof e;return r&&o?t+n:r&&i?t+e:r?t:o&&i?n+e:o?n:i?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.font.input,o=n.lineHeight,i=n.lineHeight_small,a=e.spacing,s=a.inputPadding,c=a.displayTextPaddingVertical,l=a.displayTextPaddingTop,u=a.displayTextPaddingBottom,d=a.displayTextPaddingVertical_small,f=a.displayTextPaddingTop_small,h=a.displayTextPaddingBottom_small,p=t?i:o,v=t?r(d,f,h):r(c,l,u);return parseInt(p,10)+2*s+v}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.DISPLAY_FORMAT):null};var r=a(n(6)),o=a(n(32)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=t.clone().startOf("month");i&&(a=a.startOf("week"));if((0,r.default)(e,a))return!1;var s=t.clone().add(n-1,"months").endOf("month");i&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=i(n(43)),o=i(n(54));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=j(n(13)),a=j(n(1)),s=j(n(4)),c=j(n(30)),l=n(12),u=n(16),d=j(n(6)),f=j(n(114)),h=j(n(34)),p=j(n(65)),v=n(14),m=j(n(15)),b=j(n(97)),g=j(n(229)),y=n(232),k=j(y),_=j(n(234)),w=j(n(98)),O=j(n(96)),S=j(n(235)),E=j(n(70)),C=j(n(49)),T=j(n(33)),x=j(n(27)),D=j(n(41)),M=n(7);function j(e){return e&&e.__esModule?e:{default:e}}function I(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var P=(0,l.forbidExtraProps)((0,i.default)({},u.withStylesPropTypes,{enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:T.default,withPortal:s.default.bool,onOutsideClick:s.default.func,hidden:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:x.default,renderCalendarInfo:s.default.func,calendarInfoPosition:D.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,isRTL:s.default.bool,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,transitionDuration:l.nonNegativeInteger,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,noNavButtons:s.default.bool,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,onMultiplyScrollableMonths:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),modifiers:s.default.objectOf(s.default.objectOf(C.default)),renderCalendarDay:s.default.func,renderDayContents:s.default.func,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,isFocused:s.default.bool,getFirstFocusableDay:s.default.func,onBlur:s.default.func,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,m.default)(v.DayPickerPhrases)),dayAriaLabelFormat:s.default.string})),N=t.defaultProps={enableOutsideDays:!1,numberOfMonths:2,orientation:M.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){},hidden:!1,initialVisibleMonth:function(){return(0,d.default)()},firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:M.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:M.DAY_SIZE,isRTL:!1,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onMonthChange:function(){},onYearChange:function(){},onMultiplyScrollableMonths:function(){},renderMonthText:null,renderMonthElement:null,modifiers:{},renderCalendarDay:void 0,renderDayContents:null,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},isFocused:!1,getFirstFocusableDay:null,onBlur:function(){},showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:v.DayPickerPhrases,dayAriaLabelFormat:void 0},R=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=e.hidden?(0,d.default)():e.initialVisibleMonth(),o=r.clone().startOf("month");e.getFirstFocusableDay&&(o=e.getFirstFocusableDay(r));var i=e.horizontalMonthPadding,a=e.isRTL&&n.isHorizontal()?-(0,w.default)(e.daySize,i):0;return n.hasSetInitialVisibleMonth=!e.hidden,n.state={currentMonth:r,monthTransition:null,translationValue:a,scrollableMonthMultiple:1,calendarMonthWidth:(0,w.default)(e.daySize,i),focusedDate:!e.hidden||e.isFocused?o:null,nextFocusedDate:null,showKeyboardShortcuts:e.showKeyboardShortcuts,onKeyboardShortcutsPanelClose:function(){},isTouchDevice:(0,h.default)(),withMouseInteractions:!0,calendarInfoWidth:0,monthTitleHeight:null,hasSetHeight:!1},n.setCalendarMonthWeeks(r),n.calendarMonthGridHeight=0,n.setCalendarInfoWidthTimeout=null,n.onKeyDown=n.onKeyDown.bind(n),n.throttledKeyDown=(0,f.default)(n.onFinalKeyDown,200,{trailing:!1}),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.multiplyScrollableMonths=n.multiplyScrollableMonths.bind(n),n.updateStateAfterMonthTransition=n.updateStateAfterMonthTransition.bind(n),n.openKeyboardShortcutsPanel=n.openKeyboardShortcutsPanel.bind(n),n.closeKeyboardShortcutsPanel=n.closeKeyboardShortcutsPanel.bind(n),n.setCalendarInfoRef=n.setCalendarInfoRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.setTransitionContainerRef=n.setTransitionContainerRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this.state.currentMonth;this.calendarInfo?this.setState({isTouchDevice:(0,h.default)(),calendarInfoWidth:(0,O.default)(this.calendarInfo,"width",!0,!0)}):this.setState({isTouchDevice:(0,h.default)()}),this.setCalendarMonthWeeks(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.hidden,n=e.isFocused,r=e.showKeyboardShortcuts,o=e.onBlur,i=e.renderMonthText,a=e.horizontalMonthPadding,s=this.state.currentMonth;t||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var c=this.props,l=c.daySize,u=c.isFocused,d=c.renderMonthText;if(e.daySize!==l&&this.setState({calendarMonthWidth:(0,w.default)(e.daySize,a)}),n!==u)if(n){var f=this.getFocusedDay(s),h=this.state.onKeyboardShortcutsPanelClose;e.showKeyboardShortcuts&&(h=o),this.setState({showKeyboardShortcuts:r,onKeyboardShortcutsPanelClose:h,focusedDate:f,withMouseInteractions:!1})}else this.setState({focusedDate:null});i!==d&&this.setState({monthTitleHeight:null})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentWillUpdate",value:function(){var e=this,t=this.props.transitionDuration;this.calendarInfo&&(this.setCalendarInfoWidthTimeout=setTimeout((function(){var t=e.state.calendarInfoWidth,n=(0,O.default)(e.calendarInfo,"width",!0,!0);t!==n&&e.setState({calendarInfoWidth:n})}),t))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.orientation,r=t.daySize,o=t.isFocused,i=t.numberOfMonths,a=this.state,s=a.focusedDate,c=a.monthTitleHeight;if(this.isHorizontal()&&(n!==e.orientation||r!==e.daySize)){var l=this.calendarMonthWeeks.slice(1,i+1),u=c+Math.max.apply(Math,[0].concat(I(l)))*(r-1)+1;this.adjustDayPickerHeight(u)}e.isFocused||!o||s||this.container.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.setCalendarInfoWidthTimeout)}},{key:"onKeyDown",value:function(e){e.stopPropagation(),M.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){this.setState({withMouseInteractions:!1});var t=this.props,n=t.onBlur,r=t.isRTL,o=this.state,i=o.focusedDate,a=o.showKeyboardShortcuts;if(i){var s=i.clone(),c=!1,l=(0,S.default)(),u=function(){l&&l.focus()};switch(e.key){case"ArrowUp":e.preventDefault(),s.subtract(1,"week"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowLeft":e.preventDefault(),r?s.add(1,"day"):s.subtract(1,"day"),c=this.maybeTransitionPrevMonth(s);break;case"Home":e.preventDefault(),s.startOf("week"),c=this.maybeTransitionPrevMonth(s);break;case"PageUp":e.preventDefault(),s.subtract(1,"month"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowDown":e.preventDefault(),s.add(1,"week"),c=this.maybeTransitionNextMonth(s);break;case"ArrowRight":e.preventDefault(),r?s.subtract(1,"day"):s.add(1,"day"),c=this.maybeTransitionNextMonth(s);break;case"End":e.preventDefault(),s.endOf("week"),c=this.maybeTransitionNextMonth(s);break;case"PageDown":e.preventDefault(),s.add(1,"month"),c=this.maybeTransitionNextMonth(s);break;case"?":this.openKeyboardShortcutsPanel(u);break;case"Escape":a?this.closeKeyboardShortcutsPanel():n()}c||this.setState({focusedDate:s})}}},{key:"onPrevMonthClick",value:function(e,t){var n=this.props,r=n.daySize,o=n.isRTL,i=n.numberOfMonths,a=this.state,s=a.calendarMonthWidth,c=a.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical())l=c+this.calendarMonthWeeks[0]*(r-1)+1;else if(this.isHorizontal()){l=s,o&&(l=-2*s);var u=this.calendarMonthWeeks.slice(0,i),d=c+Math.max.apply(Math,[0].concat(I(u)))*(r-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:"prev",translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"onMonthChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:"month_selection",translationValue:1e-5,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onYearChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:"year_selection",translationValue:1e-4,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onNextMonthClick",value:function(e,t){var n=this.props,r=n.isRTL,o=n.numberOfMonths,i=n.daySize,a=this.state,s=a.calendarMonthWidth,c=a.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical()&&(l=-(c+this.calendarMonthWeeks[1]*(i-1)+1)),this.isHorizontal()){l=-s,r&&(l=0);var u=this.calendarMonthWeeks.slice(2,o+2),d=c+Math.max.apply(Math,[0].concat(I(u)))*(i-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:"next",translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"getFirstDayOfWeek",value:function(){var e=this.props.firstDayOfWeek;return null==e?d.default.localeData().firstDayOfWeek():e}},{key:"getFirstVisibleIndex",value:function(){var e=this.props.orientation,t=this.state.monthTransition;if(e===M.VERTICAL_SCROLLABLE)return 0;var n=1;return"prev"===t?n-=1:"next"===t&&(n+=1),n}},{key:"getFocusedDay",value:function(e){var t=this.props,n=t.getFirstFocusableDay,r=t.numberOfMonths,o=void 0;return n&&(o=n(e)),!e||o&&(0,E.default)(o,e,r)||(o=e.clone().startOf("month")),o}},{key:"setMonthTitleHeight",value:function(e){var t=this;this.setState({monthTitleHeight:e},(function(){t.calculateAndSetDayPickerHeight()}))}},{key:"setCalendarMonthWeeks",value:function(e){var t=this.props.numberOfMonths;this.calendarMonthWeeks=[];for(var n=e.clone().subtract(1,"months"),r=this.getFirstDayOfWeek(),o=0;o<t+2;o+=1){var i=(0,_.default)(n,r);this.calendarMonthWeeks.push(i),n=n.add(1,"months")}}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setCalendarInfoRef",value:function(e){this.calendarInfo=e}},{key:"setTransitionContainerRef",value:function(e){this.transitionContainer=e}},{key:"maybeTransitionNextMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,E.default)(e,r,t);return i!==a&&!s&&(this.onNextMonthClick(e),!0)}},{key:"maybeTransitionPrevMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,E.default)(e,r,t);return i!==a&&!s&&(this.onPrevMonthClick(e),!0)}},{key:"multiplyScrollableMonths",value:function(e){var t=this.props.onMultiplyScrollableMonths;e&&e.preventDefault(),t&&t(e),this.setState((function(e){return{scrollableMonthMultiple:e.scrollableMonthMultiple+1}}))}},{key:"isHorizontal",value:function(){return this.props.orientation===M.HORIZONTAL_ORIENTATION}},{key:"isVertical",value:function(){var e=this.props.orientation;return e===M.VERTICAL_ORIENTATION||e===M.VERTICAL_SCROLLABLE}},{key:"updateStateAfterMonthTransition",value:function(){var e=this,t=this.props,n=t.onPrevMonthClick,r=t.onNextMonthClick,o=t.numberOfMonths,i=t.onMonthChange,a=t.onYearChange,s=t.isRTL,c=this.state,l=c.currentMonth,u=c.monthTransition,d=c.focusedDate,f=c.nextFocusedDate,h=c.withMouseInteractions,p=c.calendarMonthWidth;if(u){var v=l.clone(),m=this.getFirstDayOfWeek();if("prev"===u){v.subtract(1,"month"),n&&n(v);var b=v.clone().subtract(1,"month"),g=(0,_.default)(b,m);this.calendarMonthWeeks=[g].concat(I(this.calendarMonthWeeks.slice(0,-1)))}else if("next"===u){v.add(1,"month"),r&&r(v);var y=v.clone().add(o,"month"),k=(0,_.default)(y,m);this.calendarMonthWeeks=[].concat(I(this.calendarMonthWeeks.slice(1)),[k])}else"month_selection"===u?i&&i(v):"year_selection"===u&&a&&a(v);var w=null;f?w=f:d||h||(w=this.getFocusedDay(v)),this.setState({currentMonth:v,monthTransition:null,translationValue:s&&this.isHorizontal()?-p:0,nextFocusedDate:null,focusedDate:w},(function(){if(h){var t=(0,S.default)();t&&t!==document.body&&e.container.contains(t)&&t.blur()}}))}}},{key:"adjustDayPickerHeight",value:function(e){var t=this,n=e+23;n!==this.calendarMonthGridHeight&&(this.transitionContainer.style.height=String(n)+"px",this.calendarMonthGridHeight||setTimeout((function(){t.setState({hasSetHeight:!0})}),0),this.calendarMonthGridHeight=n)}},{key:"calculateAndSetDayPickerHeight",value:function(){var e=this.props,t=e.daySize,n=e.numberOfMonths,r=this.state.monthTitleHeight,o=this.calendarMonthWeeks.slice(1,n+1),i=r+Math.max.apply(Math,[0].concat(I(o)))*(t-1)+1;this.isHorizontal()&&this.adjustDayPickerHeight(i)}},{key:"openKeyboardShortcutsPanel",value:function(e){this.setState({showKeyboardShortcuts:!0,onKeyboardShortcutsPanelClose:e})}},{key:"closeKeyboardShortcutsPanel",value:function(){var e=this.state.onKeyboardShortcutsPanelClose;e&&e(),this.setState({onKeyboardShortcutsPanelClose:null,showKeyboardShortcuts:!1})}},{key:"renderNavigation",value:function(){var e=this,t=this.props,n=t.navPrev,r=t.navNext,o=t.noNavButtons,i=t.orientation,s=t.phrases,c=t.isRTL;if(o)return null;var l=void 0;return l=i===M.VERTICAL_SCROLLABLE?this.multiplyScrollableMonths:function(t){e.onNextMonthClick(null,t)},a.default.createElement(g.default,{onPrevMonthClick:function(t){e.onPrevMonthClick(null,t)},onNextMonthClick:l,navPrev:n,navNext:r,orientation:i,phrases:s,isRTL:c})}},{key:"renderWeekHeader",value:function(e){var t=this.props,n=t.daySize,o=t.horizontalMonthPadding,i=t.orientation,s=t.weekDayFormat,c=t.styles,l=this.state.calendarMonthWidth,f=i===M.VERTICAL_SCROLLABLE,h={left:e*l},p={marginLeft:-l/2},v={};this.isHorizontal()?v=h:this.isVertical()&&!f&&(v=p);for(var m=this.getFirstDayOfWeek(),b=[],g=0;g<7;g+=1)b.push(a.default.createElement("li",r({key:g},(0,u.css)(c.DayPicker_weekHeader_li,{width:n})),a.default.createElement("small",null,(0,d.default)().day((g+m)%7).format(s))));return a.default.createElement("div",r({},(0,u.css)(c.DayPicker_weekHeader,this.isVertical()&&c.DayPicker_weekHeader__vertical,f&&c.DayPicker_weekHeader__verticalScrollable,v,{padding:"0 "+String(o)+"px"}),{key:"week-"+String(e)}),a.default.createElement("ul",(0,u.css)(c.DayPicker_weekHeader_ul),b))}},{key:"render",value:function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,o=t.currentMonth,i=t.monthTransition,s=t.translationValue,c=t.scrollableMonthMultiple,l=t.focusedDate,d=t.showKeyboardShortcuts,f=t.isTouchDevice,h=t.hasSetHeight,v=t.calendarInfoWidth,m=t.monthTitleHeight,g=this.props,_=g.enableOutsideDays,w=g.numberOfMonths,O=g.orientation,S=g.modifiers,E=g.withPortal,C=g.onDayClick,T=g.onDayMouseEnter,x=g.onDayMouseLeave,D=g.firstDayOfWeek,j=g.renderMonthText,I=g.renderCalendarDay,P=g.renderDayContents,N=g.renderCalendarInfo,R=g.renderMonthElement,L=g.calendarInfoPosition,A=g.hideKeyboardShortcutsPanel,z=g.onOutsideClick,F=g.monthFormat,H=g.daySize,V=g.isFocused,B=g.isRTL,U=g.styles,W=g.theme,K=g.phrases,Y=g.verticalHeight,$=g.dayAriaLabelFormat,q=g.noBorder,G=g.transitionDuration,Z=g.verticalBorderSpacing,X=g.horizontalMonthPadding,Q=W.reactDates.spacing.dayPickerHorizontalPadding,J=this.isHorizontal(),ee=this.isVertical()?1:w,te=[],ne=0;ne<ee;ne+=1)te.push(this.renderWeekHeader(ne));var re=O===M.VERTICAL_SCROLLABLE,oe=void 0;J?oe=this.calendarMonthGridHeight:!this.isVertical()||re||E||(oe=Y||1.75*n);var ie=null!==i,ae=!ie&&V,se=y.BOTTOM_RIGHT;this.isVertical()&&(se=E?y.TOP_LEFT:y.TOP_RIGHT);var ce=J&&h,le=L===M.INFO_POSITION_TOP,ue=L===M.INFO_POSITION_BOTTOM,de=L===M.INFO_POSITION_BEFORE,fe=L===M.INFO_POSITION_AFTER,he=de||fe,pe=N&&a.default.createElement("div",r({ref:this.setCalendarInfoRef},(0,u.css)(he&&U.DayPicker_calendarInfo__horizontal)),N()),ve=N&&he?v:0,me=this.getFirstVisibleIndex(),be=n*w+2*Q,ge=be+ve+1,ye={width:J&&be,height:oe},ke={width:J&&be},_e={width:J&&ge,marginLeft:J&&E?-ge/2:null,marginTop:J&&E?-n/2:null};return a.default.createElement("div",r({role:"application","aria-label":K.calendarLabel},(0,u.css)(U.DayPicker,J&&U.DayPicker__horizontal,re&&U.DayPicker__verticalScrollable,J&&E&&U.DayPicker_portal__horizontal,this.isVertical()&&E&&U.DayPicker_portal__vertical,_e,!m&&U.DayPicker__hidden,!q&&U.DayPicker__withBorder)),a.default.createElement(p.default,{onOutsideClick:z},(le||de)&&pe,a.default.createElement("div",(0,u.css)(ke,he&&J&&U.DayPicker_wrapper__horizontal),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_weekHeaders,J&&U.DayPicker_weekHeaders__horizontal),{"aria-hidden":"true",role:"presentation"}),te),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_focusRegion),{ref:this.setContainerRef,onClick:function(e){e.stopPropagation()},onKeyDown:this.onKeyDown,onMouseUp:function(){e.setState({withMouseInteractions:!0})},role:"region",tabIndex:-1}),!re&&this.renderNavigation(),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_transitionContainer,ce&&U.DayPicker_transitionContainer__horizontal,this.isVertical()&&U.DayPicker_transitionContainer__vertical,re&&U.DayPicker_transitionContainer__verticalScrollable,ye),{ref:this.setTransitionContainerRef}),a.default.createElement(b.default,{setMonthTitleHeight:m?void 0:this.setMonthTitleHeight,translationValue:s,enableOutsideDays:_,firstVisibleMonthIndex:me,initialMonth:o,isAnimating:ie,modifiers:S,orientation:O,numberOfMonths:w*c,onDayClick:C,onDayMouseEnter:T,onDayMouseLeave:x,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:j,renderCalendarDay:I,renderDayContents:P,renderMonthElement:R,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:F,daySize:H,firstDayOfWeek:D,isFocused:ae,focusedDate:l,phrases:K,isRTL:B,dayAriaLabelFormat:$,transitionDuration:G,verticalBorderSpacing:Z,horizontalMonthPadding:X}),re&&this.renderNavigation()),!f&&!A&&a.default.createElement(k.default,{block:this.isVertical()&&!E,buttonLocation:se,showKeyboardShortcutsPanel:d,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:K}))),(ue||fe)&&pe))}}]),t}(a.default.Component);R.propTypes=P,R.defaultProps=N,t.PureDayPicker=R,t.default=(0,u.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.noScrollBarOnVerticalScrollable,a=t.spacing,s=t.zIndex;return{DayPicker:{background:n.background,position:"relative",textAlign:"left"},DayPicker__horizontal:{background:n.background},DayPicker__verticalScrollable:{height:"100%"},DayPicker__hidden:{visibility:"hidden"},DayPicker__withBorder:{boxShadow:"0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)",borderRadius:3},DayPicker_portal__horizontal:{boxShadow:"none",position:"absolute",left:"50%",top:"50%"},DayPicker_portal__vertical:{position:"initial"},DayPicker_focusRegion:{outline:"none"},DayPicker_calendarInfo__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_wrapper__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_weekHeaders:{position:"relative"},DayPicker_weekHeaders__horizontal:{marginLeft:a.dayPickerHorizontalPadding},DayPicker_weekHeader:{color:n.placeholderText,position:"absolute",top:62,zIndex:s+2,textAlign:"left"},DayPicker_weekHeader__vertical:{left:"50%"},DayPicker_weekHeader__verticalScrollable:{top:0,display:"table-row",borderBottom:"1px solid "+String(n.core.border),background:n.background,marginLeft:0,left:0,width:"100%",textAlign:"center"},DayPicker_weekHeader_ul:{listStyle:"none",margin:"1px 0",paddingLeft:0,paddingRight:0,fontSize:r.size},DayPicker_weekHeader_li:{display:"inline-block",textAlign:"center"},DayPicker_transitionContainer:{position:"relative",overflow:"hidden",borderRadius:3},DayPicker_transitionContainer__horizontal:{transition:"height 0.2s ease-in-out"},DayPicker_transitionContainer__vertical:{width:"100%"},DayPicker_transitionContainer__verticalScrollable:(0,i.default)({paddingTop:20,height:"100%",position:"absolute",top:0,bottom:0,right:0,left:0,overflowY:"scroll"},o&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}})}}))(R)},function(e,t,n){"use strict";(function(e){var r,o=n(129);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof window?window:e;var i=Object(o.a)(r);t.a=i}).call(this,n(155)(e))},function(e,t,n){"use strict";var r=n(248),o=n(249);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(250);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var k=c.exec(y);if(k)return this.path=y,this.href=y,this.pathname=k[1],k[2]?(this.search=k[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=a.exec(y);if(_){var w=(_=_[0]).toLowerCase();this.protocol=w,y=y.substr(_.length)}if(n||_||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||_&&m[_]||(y=y.substr(2),this.slashes=!0)}if(!m[_]&&(O||_&&!b[_])){for(var S,E,C=-1,T=0;T<f.length;T++){-1!==(x=y.indexOf(f[T]))&&(-1===C||x<C)&&(C=x)}-1!==(E=-1===C?y.lastIndexOf("@"):y.lastIndexOf("@",C))&&(S=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(S)),C=-1;for(T=0;T<d.length;T++){var x;-1!==(x=y.indexOf(d[T]))&&(-1===C||x<C)&&(C=x)}-1===C&&(C=y.length),this.host=y.slice(0,C),y=y.slice(C),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var M=this.hostname.split(/\./),j=(T=0,M.length);T<j;T++){var I=M[T];if(I&&!I.match(h)){for(var P="",N=0,R=I.length;N<R;N++)I.charCodeAt(N)>127?P+="x":P+=I[N];if(!P.match(h)){var L=M.slice(0,T),A=M.slice(T+1),z=I.match(p);z&&(L.push(z[1]),A.unshift(z[2])),A.length&&(y="/"+A.join(".")+y),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+F,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!v[w])for(T=0,j=u.length;T<j;T++){var V=u[T];if(-1!==y.indexOf(V)){var B=encodeURIComponent(V);B===V&&(B=escape(V)),y=y.split(V).join(B)}}var U=y.indexOf("#");-1!==U&&(this.hash=y.substr(U),y=y.slice(0,U));var W=y.indexOf("?");if(-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),t&&(this.query=g.parse(this.query)),y=y.slice(0,W)):t&&(this.search="",this.query={}),y&&(this.pathname=y),b[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var K=this.search||"";this.path=F+K}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=g.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var h=d[f];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var v=n.pathname||"",g=n.search||"";n.path=v+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),k=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=k||y||n.host&&e.pathname,w=_,O=n.pathname&&n.pathname.split("/")||[],S=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),_=_&&(""===p[0]||""===O[0])),k)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,O=p;else if(p.length)O||(O=[]),O.pop(),O=O.concat(p),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(S)n.hostname=n.host=O.shift(),(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=O.slice(-1)[0],C=(n.host||e.host||O.length>1)&&("."===E||".."===E)||""===E,T=0,x=O.length;x>=0;x--)"."===(E=O[x])?O.splice(x,1):".."===E?(O.splice(x,1),T++):T&&(O.splice(x,1),T--);if(!_&&!w)for(;T--;T)O.unshift("..");!_||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),C&&"/"!==O.join("/").substr(-1)&&O.push("");var D,M=""===O[0]||O[0]&&"/"===O[0].charAt(0);S&&(n.hostname=n.host=M?"":O.length?O.shift():"",(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift()));return(_=_||n.host&&O.length)&&!M&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),c=0;c<s.length;++c){var l=s[c],u=a[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n){if(0===e.length)return e;var r="string"==typeof e?e:String(e);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=r.charAt(a):s<128?o+=i[s]:s<2048?o+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?o+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),o+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=a(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),s)}}},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var r,o=n(77),i=(r=o)&&r.__esModule?r:{default:r};t.all=function(e){return{type:i.default.all,value:e}},t.error=function(e){return{type:i.default.error,error:e}},t.fork=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.fork,iterator:e,args:n}},t.join=function(e){return{type:i.default.join,task:e}},t.race=function(e){return{type:i.default.race,competitors:e}},t.delay=function(e){return new Promise((function(t){setTimeout((function(){return t(!0)}),e)}))},t.invoke=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.call,func:e,context:null,args:n}},t.call=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:i.default.call,func:e,context:t,args:r}},t.apply=function(e,t,n){return{type:i.default.call,func:e,context:t,args:n}},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.cps,func:e,args:n}},t.subscribe=function(e){return{type:i.default.subscribe,channel:e}},t.createChannel=function(e){var t=[];return e((function(e){return t.forEach((function(t){return t(e)}))})),{subscribe:function(e){return t.push(e),function(){return t.splice(t.indexOf(e),1)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=r},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(175),o=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,i=function e(t,n,i,a,s){for(var c=a,l=0;l<i;){var u=r.ToString(l);if(r.HasProperty(n,u)){var d=r.Get(n,u),f=!1;if(s>0&&(f=r.IsArray(d)),f){c=e(t,d,r.ToLength(r.Get(d,"length")),c,s-1)}else{if(c>=o)throw new TypeError("index too large");r.CreateDataPropertyOrThrow(t,r.ToString(c),d),c+=1}}l+=1}return c};e.exports=function(){var e=r.ToObject(this),t=r.ToLength(r.Get(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=r.ToInteger(arguments[0]));var o=r.ArraySpeciesCreate(e,0);return i(o,e,t,0,n),o}},function(e,t,n){"use strict";var r=n(176),o=n(63),i=o(o({},r),{SameValueNonNumber:function(e,t){if("number"==typeof e||typeof e!=typeof t)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,t)}});e.exports=i},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(180)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(t){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(48),o=r("%TypeError%"),i=r("%SyntaxError%"),a=n(39),s={"Property Descriptor":function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(a(t,r)&&!n[r])return!1;var i=a(t,"[[Value]]"),s=a(t,"[[Get]]")||a(t,"[[Set]]");if(i&&s)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var a=s[t];if("function"!=typeof a)throw new i("unknown record type: "+t);if(!a(e,r))throw new o(n+" must be a "+t);console.log(a(e,r),r)}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(79);e.exports=function(){return Array.prototype.flat||r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0;function i(e,t){var n=t(e(o));return function(){return n}}function a(e){return i(e,r.createLTR||r.create)}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=r.resolve(t);return o}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveLTR?r.resolveLTR(t):s(t)}t.default={registerTheme:function(e){o=e},registerInterface:function(e){r=e},create:a,createLTR:a,createRTL:function(e){return i(e,r.createRTL||r.create)},get:function(){return o},resolve:c,resolveLTR:c,resolveRTL:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveRTL?r.resolveRTL(t):s(t)},flush:function(){r.flush&&r.flush()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={white:"#fff",gray:"#484848",grayLight:"#82888a",grayLighter:"#cacccd",grayLightest:"#f2f2f2",borderMedium:"#c4c4c4",border:"#dbdbdb",borderLight:"#e4e7e7",borderLighter:"#eceeee",borderBright:"#f4f5f5",primary:"#00a699",primaryShade_1:"#33dacd",primaryShade_2:"#66e2da",primaryShade_3:"#80e8e0",primaryShade_4:"#b2f1ec",primary_dark:"#008489",secondary:"#007a87",yellow:"#ffe8bc",yellow_dark:"#ffce71"};t.default={reactDates:{zIndex:0,border:{input:{border:0,borderTop:0,borderRight:0,borderBottom:"2px solid transparent",borderLeft:0,outlineFocused:0,borderFocused:0,borderTopFocused:0,borderLeftFocused:0,borderBottomFocused:"2px solid "+String(r.primary_dark),borderRightFocused:0,borderRadius:0},pickerInput:{borderWidth:1,borderStyle:"solid",borderRadius:2}},color:{core:r,disabled:r.grayLightest,background:r.white,backgroundDark:"#f2f2f2",backgroundFocused:r.white,border:"rgb(219, 219, 219)",text:r.gray,textDisabled:r.border,textFocused:"#007a87",placeholderText:"#757575",outside:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,color:r.gray,color_active:r.gray,color_hover:r.gray},highlighted:{backgroundColor:r.yellow,backgroundColor_active:r.yellow_dark,backgroundColor_hover:r.yellow_dark,color:r.gray,color_active:r.gray,color_hover:r.gray},minimumNights:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLighter,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter},hoveredSpan:{backgroundColor:r.primaryShade_4,backgroundColor_active:r.primaryShade_3,backgroundColor_hover:r.primaryShade_4,borderColor:r.primaryShade_3,borderColor_active:r.primaryShade_3,borderColor_hover:r.primaryShade_3,color:r.secondary,color_active:r.secondary,color_hover:r.secondary},selectedSpan:{backgroundColor:r.primaryShade_2,backgroundColor_active:r.primaryShade_1,backgroundColor_hover:r.primaryShade_1,borderColor:r.primaryShade_1,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},selected:{backgroundColor:r.primary,backgroundColor_active:r.primary,backgroundColor_hover:r.primary,borderColor:r.primary,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},blocked_calendar:{backgroundColor:r.grayLighter,backgroundColor_active:r.grayLighter,backgroundColor_hover:r.grayLighter,borderColor:r.grayLighter,borderColor_active:r.grayLighter,borderColor_hover:r.grayLighter,color:r.grayLight,color_active:r.grayLight,color_hover:r.grayLight},blocked_out_of_range:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLight,borderColor_active:r.borderLight,borderColor_hover:r.borderLight,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter}},spacing:{dayPickerHorizontalPadding:9,captionPaddingTop:22,captionPaddingBottom:37,inputPadding:0,displayTextPaddingVertical:void 0,displayTextPaddingTop:11,displayTextPaddingBottom:9,displayTextPaddingHorizontal:void 0,displayTextPaddingLeft:11,displayTextPaddingRight:11,displayTextPaddingVertical_small:void 0,displayTextPaddingTop_small:7,displayTextPaddingBottom_small:5,displayTextPaddingHorizontal_small:void 0,displayTextPaddingLeft_small:7,displayTextPaddingRight_small:7},sizing:{inputWidth:130,inputWidth_small:97,arrowWidth:24},noScrollBarOnVerticalScrollable:!1,font:{size:14,captionSize:18,input:{size:19,lineHeight:"24px",size_small:15,lineHeight_small:"18px",letterSpacing_small:"0.2px",styleDisabled:"italic"}}}}},function(e,t,n){"use strict";var r=n(61),o=n(26),i=function(e){return null!=e},a=n(83)(),s=Object,c=o.call(Function.call,Array.prototype.push),l=o.call(Function.call,Object.prototype.propertyIsEnumerable),u=a?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(!i(e))throw new TypeError("target must be an object");var n,o,d,f,h,p,v,m=s(e);for(n=1;n<arguments.length;++n){o=s(arguments[n]),f=r(o);var b=a&&(Object.getOwnPropertySymbols||u);if(b)for(h=b(o),d=0;d<h.length;++d)v=h[d],l(o,v)&&c(f,v);for(d=0;d<f.length;++d)p=o[v=f[d]],l(o,v)&&(m[v]=p)}return m}},function(e,t,n){"use strict";var r=n(92);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()?r:function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){var s=o.chooseAvailableDate,c=o.dateIsUnavailable,l=o.dateIsSelected,u={width:n,height:n-1},d=r.has("blocked-minimum-nights")||r.has("blocked-calendar")||r.has("blocked-out-of-range"),f=r.has("selected")||r.has("selected-start")||r.has("selected-end"),h=!f&&(r.has("hovered-span")||r.has("after-hovered-start")),p=r.has("blocked-out-of-range"),v={date:e.format(t)},m=(0,i.default)(s,v);r.has(a.BLOCKED_MODIFIER)?m=(0,i.default)(c,v):f&&(m=(0,i.default)(l,v));return{daySizeStyles:u,useDefaultCursor:d,selected:f,hoveredSpan:h,isOutsideRange:p,ariaLabel:m}};var r,o=n(205),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=E(n(13)),a=E(n(1)),s=E(n(4)),c=E(n(30)),l=E(n(21)),u=n(12),d=n(16),f=E(n(6)),h=n(14),p=E(n(15)),v=E(n(206)),m=E(n(64)),b=E(n(96)),g=E(n(208)),y=E(n(31)),k=E(n(50)),_=E(n(49)),w=E(n(33)),O=E(n(27)),S=n(7);function E(e){return e&&e.__esModule?e:{default:e}}var C=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{month:l.default.momentObj,horizontalMonthPadding:u.nonNegativeInteger,isVisible:s.default.bool,enableOutsideDays:s.default.bool,modifiers:s.default.objectOf(_.default),orientation:w.default,daySize:u.nonNegativeInteger,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthSelect:s.default.func,onYearSelect:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),firstDayOfWeek:O.default,setMonthTitleHeight:s.default.func,verticalBorderSpacing:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,monthFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),T={month:(0,f.default)(),horizontalMonthPadding:13,isVisible:!0,enableOutsideDays:!1,modifiers:{},orientation:S.HORIZONTAL_ORIENTATION,daySize:S.DAY_SIZE,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthSelect:function(){},onYearSelect:function(){},renderMonthText:null,renderCalendarDay:function(e){return a.default.createElement(m.default,e)},renderDayContents:null,renderMonthElement:null,firstDayOfWeek:null,setMonthTitleHeight:null,focusedDate:null,isFocused:!1,monthFormat:"MMMM YYYY",phrases:h.CalendarDayPhrases,dayAriaLabelFormat:void 0,verticalBorderSpacing:void 0},x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={weeks:(0,g.default)(e.month,e.enableOutsideDays,null==e.firstDayOfWeek?f.default.localeData().firstDayOfWeek():e.firstDayOfWeek)},n.setCaptionRef=n.setCaptionRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.setMonthTitleHeightTimeout=setTimeout(this.setMonthTitleHeight,0)}},{key:"componentWillReceiveProps",value:function(e){var t=e.month,n=e.enableOutsideDays,r=e.firstDayOfWeek,o=this.props,i=o.month,a=o.enableOutsideDays,s=o.firstDayOfWeek;t.isSame(i)&&n===a&&r===s||this.setState({weeks:(0,g.default)(t,n,null==r?f.default.localeData().firstDayOfWeek():r)})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentWillUnmount",value:function(){this.setMonthTitleHeightTimeout&&clearTimeout(this.setMonthTitleHeightTimeout)}},{key:"setMonthTitleHeight",value:function(){var e=this.props.setMonthTitleHeight;e&&e((0,b.default)(this.captionRef,"height",!0,!0))}},{key:"setCaptionRef",value:function(e){this.captionRef=e}},{key:"render",value:function(){var e=this.props,t=e.dayAriaLabelFormat,n=e.daySize,o=e.focusedDate,i=e.horizontalMonthPadding,s=e.isFocused,c=e.isVisible,l=e.modifiers,u=e.month,f=e.monthFormat,h=e.onDayClick,p=e.onDayMouseEnter,m=e.onDayMouseLeave,b=e.onMonthSelect,g=e.onYearSelect,_=e.orientation,w=e.phrases,O=e.renderCalendarDay,E=e.renderDayContents,C=e.renderMonthElement,T=e.renderMonthText,x=e.styles,D=e.verticalBorderSpacing,M=this.state.weeks,j=T?T(u):u.format(f),I=_===S.VERTICAL_SCROLLABLE;return a.default.createElement("div",r({},(0,d.css)(x.CalendarMonth,{padding:"0 "+String(i)+"px"}),{"data-visible":c}),a.default.createElement("div",r({ref:this.setCaptionRef},(0,d.css)(x.CalendarMonth_caption,I&&x.CalendarMonth_caption__verticalScrollable)),C?C({month:u,onMonthSelect:b,onYearSelect:g}):a.default.createElement("strong",null,j)),a.default.createElement("table",r({},(0,d.css)(!D&&x.CalendarMonth_table,D&&x.CalendarMonth_verticalSpacing,D&&{borderSpacing:"0px "+String(D)+"px"}),{role:"presentation"}),a.default.createElement("tbody",null,M.map((function(e,r){return a.default.createElement(v.default,{key:r},e.map((function(e,r){return O({key:r,day:e,daySize:n,isOutsideDay:!e||e.month()!==u.month(),tabIndex:c&&(0,y.default)(e,o)?0:-1,isFocused:s,onDayMouseEnter:p,onDayMouseLeave:m,onDayClick:h,renderDayContents:E,phrases:w,modifiers:l[(0,k.default)(e)],ariaLabelFormat:t})})))})))))}}]),t}(a.default.Component);x.propTypes=C,x.defaultProps=T,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.spacing;return{CalendarMonth:{background:n.background,textAlign:"center",verticalAlign:"top",userSelect:"none"},CalendarMonth_table:{borderCollapse:"collapse",borderSpacing:0},CalendarMonth_verticalSpacing:{borderCollapse:"separate"},CalendarMonth_caption:{color:n.text,fontSize:r.captionSize,textAlign:"center",paddingTop:o.captionPaddingTop,paddingBottom:o.captionPaddingBottom,captionSide:"initial"},CalendarMonth_caption__verticalScrollable:{paddingTop:12,paddingBottom:7}}}))(x)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",i="width"===t?"Right":"Bottom",a=!n||r?window.getComputedStyle(e):null,s=e.offsetWidth,c=e.offsetHeight,l="width"===t?s:c;n||(l-=parseFloat(a["padding"+o])+parseFloat(a["padding"+i])+parseFloat(a["border"+o+"Width"])+parseFloat(a["border"+i+"Width"]));r&&(l+=parseFloat(a["margin"+o])+parseFloat(a["margin"+i]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=T(n(13)),a=T(n(1)),s=T(n(4)),c=T(n(30)),l=T(n(21)),u=n(12),d=n(16),f=T(n(6)),h=n(51),p=n(14),v=T(n(15)),m=T(n(95)),b=T(n(209)),g=T(n(210)),y=T(n(98)),k=T(n(52)),_=T(n(211)),w=T(n(212)),O=T(n(49)),S=T(n(33)),E=T(n(27)),C=n(7);function T(e){return e&&e.__esModule?e:{default:e}}var x=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{enableOutsideDays:s.default.bool,firstVisibleMonthIndex:s.default.number,horizontalMonthPadding:u.nonNegativeInteger,initialMonth:l.default.momentObj,isAnimating:s.default.bool,numberOfMonths:s.default.number,modifiers:s.default.objectOf(s.default.objectOf(O.default)),orientation:S.default,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthTransitionEnd:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,translationValue:s.default.number,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),daySize:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,firstDayOfWeek:E.default,setMonthTitleHeight:s.default.func,isRTL:s.default.bool,transitionDuration:u.nonNegativeInteger,verticalBorderSpacing:u.nonNegativeInteger,monthFormat:s.default.string,phrases:s.default.shape((0,v.default)(p.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),D={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,f.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:C.HORIZONTAL_ORIENTATION,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthChange:function(){},onYearChange:function(){},onMonthTransitionEnd:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,translationValue:null,renderMonthElement:null,daySize:C.DAY_SIZE,focusedDate:null,isFocused:!1,firstDayOfWeek:null,setMonthTitleHeight:null,isRTL:!1,transitionDuration:200,verticalBorderSpacing:void 0,monthFormat:"MMMM YYYY",phrases:p.CalendarDayPhrases,dayAriaLabelFormat:void 0};function M(e,t,n){var r=e.clone();n||(r=r.subtract(1,"month"));for(var o=[],i=0;i<(n?t:t+2);i+=1)o.push(r),r=r.clone().add(1,"month");return o}var j=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=e.orientation===C.VERTICAL_SCROLLABLE;return n.state={months:M(e.initialMonth,e.numberOfMonths,r)},n.isTransitionEndSupported=(0,b.default)(),n.onTransitionEnd=n.onTransitionEnd.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.locale=f.default.locale(),n.onMonthSelect=n.onMonthSelect.bind(n),n.onYearSelect=n.onYearSelect.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,h.addEventListener)(this.container,"transitionend",this.onTransitionEnd)}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.initialMonth,r=e.numberOfMonths,o=e.orientation,i=this.state.months,a=this.props,s=a.initialMonth,c=a.numberOfMonths!==r,l=i;s.isSame(n,"month")||c||((0,w.default)(s,n)?(l=i.slice(1)).push(i[i.length-1].clone().add(1,"month")):(0,_.default)(s,n)?(l=i.slice(0,i.length-1)).unshift(i[0].clone().subtract(1,"month")):l=M(n,r,o===C.VERTICAL_SCROLLABLE));c&&(l=M(n,r,o===C.VERTICAL_SCROLLABLE));var u=f.default.locale();this.locale!==u&&(this.locale=u,l=l.map((function(e){return e.locale(t.locale)}))),this.setState({months:l})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.isAnimating,n=e.transitionDuration,r=e.onMonthTransitionEnd;this.isTransitionEndSupported&&n||!t||r()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener()}},{key:"onTransitionEnd",value:function(){(0,this.props.onMonthTransitionEnd)()}},{key:"onMonthSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onMonthChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,c=a.indexOf(e);s||(c-=1),n.set("month",t).subtract(c,"months"),o(n)}},{key:"onYearSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onYearChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,c=a.indexOf(e);s||(c-=1),n.set("year",t).subtract(c,"months"),o(n)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.enableOutsideDays,o=t.firstVisibleMonthIndex,s=t.horizontalMonthPadding,c=t.isAnimating,l=t.modifiers,u=t.numberOfMonths,f=t.monthFormat,h=t.orientation,p=t.translationValue,v=t.daySize,b=t.onDayMouseEnter,_=t.onDayMouseLeave,w=t.onDayClick,O=t.renderMonthText,S=t.renderCalendarDay,E=t.renderDayContents,T=t.renderMonthElement,x=t.onMonthTransitionEnd,D=t.firstDayOfWeek,M=t.focusedDate,j=t.isFocused,I=t.isRTL,P=t.styles,N=t.phrases,R=t.dayAriaLabelFormat,L=t.transitionDuration,A=t.verticalBorderSpacing,z=t.setMonthTitleHeight,F=this.state.months,H=h===C.VERTICAL_ORIENTATION,V=h===C.VERTICAL_SCROLLABLE,B=h===C.HORIZONTAL_ORIENTATION,U=(0,y.default)(v,s),W=H||V?U:(u+2)*U,K=(H||V?"translateY":"translateX")+"("+String(p)+"px)";return a.default.createElement("div",r({},(0,d.css)(P.CalendarMonthGrid,B&&P.CalendarMonthGrid__horizontal,H&&P.CalendarMonthGrid__vertical,V&&P.CalendarMonthGrid__vertical_scrollable,c&&P.CalendarMonthGrid__animating,c&&L&&{transition:"transform "+String(L)+"ms ease-in-out"},(0,i.default)({},(0,g.default)(K),{width:W})),{ref:this.setContainerRef,onTransitionEnd:x}),F.map((function(t,i){var g=i>=o&&i<o+u,y=0===i&&!g,C=0===i&&c&&g,x=(0,k.default)(t);return a.default.createElement("div",r({key:x},(0,d.css)(B&&P.CalendarMonthGrid_month__horizontal,y&&P.CalendarMonthGrid_month__hideForAnimation,C&&!H&&!I&&{position:"absolute",left:-U},C&&!H&&I&&{position:"absolute",right:0},C&&H&&{position:"absolute",top:-p},!g&&!c&&P.CalendarMonthGrid_month__hidden)),a.default.createElement(m.default,{month:t,isVisible:g,enableOutsideDays:n,modifiers:l[x],monthFormat:f,orientation:h,onDayMouseEnter:b,onDayMouseLeave:_,onDayClick:w,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:O,renderCalendarDay:S,renderDayContents:E,renderMonthElement:T,firstDayOfWeek:D,daySize:v,focusedDate:g?M:null,isFocused:j,phrases:N,setMonthTitleHeight:z,dayAriaLabelFormat:R,verticalBorderSpacing:A,horizontalMonthPadding:s}))})))}}]),t}(a.default.Component);j.propTypes=x,j.defaultProps=D,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.noScrollBarOnVerticalScrollable,o=t.spacing,a=t.zIndex;return{CalendarMonthGrid:{background:n.background,textAlign:"left",zIndex:a},CalendarMonthGrid__animating:{zIndex:a+1},CalendarMonthGrid__horizontal:{position:"absolute",left:o.dayPickerHorizontalPadding},CalendarMonthGrid__vertical:{margin:"0 auto"},CalendarMonthGrid__vertical_scrollable:(0,i.default)({margin:"0 auto",overflowY:"scroll"},r&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}}),CalendarMonthGrid_month__horizontal:{display:"inline-block",verticalAlign:"top",minHeight:"100%"},CalendarMonthGrid_month__hideForAnimation:{position:"absolute",zIndex:a-1,opacity:0,pointerEvents:"none"},CalendarMonthGrid_month__hidden:{visibility:"hidden"}}}))(j)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 7*e+2*t+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.month()===t.month()&&e.year()===t.year())};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";var r=n(215),o=n(39),i=n(26).call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=r.RequireObjectCoercible(e),n=[];for(var a in t)o(t,a)&&i(t,a)&&n.push(t[a]);return n}},function(e,t,n){"use strict";var r=n(100);e.exports=function(){return"function"==typeof Object.values?Object.values:r}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var r=n(102);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(4)),o=m(n(21)),i=n(12),a=n(14),s=m(n(15)),c=m(n(105)),l=m(n(40)),u=m(n(106)),d=m(n(53)),f=m(n(107)),h=m(n(35)),p=m(n(27)),v=m(n(41));function m(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:o.default.momentObj,endDate:o.default.momentObj,onDatesChange:r.default.func.isRequired,focusedInput:c.default,onFocusChange:r.default.func.isRequired,onClose:r.default.func,startDateId:r.default.string.isRequired,startDatePlaceholderText:r.default.string,endDateId:r.default.string.isRequired,endDatePlaceholderText:r.default.string,disabled:d.default,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDates:r.default.bool,showDefaultInputIcon:r.default.bool,inputIconPosition:l.default,customInputIcon:r.default.node,customArrowIcon:r.default.node,customCloseIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,keepFocusOnInput:r.default.bool,renderMonthText:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:f.default,openDirection:h.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,daySize:i.nonNegativeInteger,isRTL:r.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:r.default.func,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDates:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:v.default,hideKeyboardShortcutsPanel:r.default.bool,verticalHeight:i.nonNegativeInteger,transitionDuration:i.nonNegativeInteger,verticalSpacing:i.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,minimumNights:r.default.number,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(a.DateRangePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.START_DATE,a.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.HORIZONTAL_ORIENTATION,a.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.ANCHOR_LEFT,a.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var i="undefined"!=typeof window?window.innerWidth:0,a=e===r.ANCHOR_LEFT?i-n:n,s=o||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+a-s,0))};var r=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=n.getBoundingClientRect(),i=o.left,a=o.top;e===r.OPEN_UP&&(a=-(window.innerHeight-o.bottom));t===r.ANCHOR_RIGHT&&(i=-(window.innerWidth-o.right));return{transform:"translate3d("+String(Math.round(i))+"px, "+String(Math.round(a))+"px, 0)"}};var r=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=o,t.getScrollAncestorsOverflowY=i,t.default=function(e){var t=i(e),n=function(e){return t.forEach((function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)}))};return n(!0),function(){return n(!1)}};var r=function(){return document.scrollingElement||document.documentElement};function o(e){var t=e.parentElement;if(null==t)return r();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:o(t)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=r(),a=o(e);return t.set(a,a.style.overflowY),a===n?t:i(a,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=k(n(1)),i=k(n(4)),a=k(n(6)),s=k(n(21)),c=n(12),l=k(n(35)),u=n(14),d=k(n(15)),f=k(n(112)),h=k(n(40)),p=k(n(53)),v=k(n(32)),m=k(n(69)),b=k(n(42)),g=k(n(43)),y=n(7);function k(e){return e&&e.__esModule?e:{default:e}}var _=(0,c.forbidExtraProps)({startDate:s.default.momentObj,startDateId:i.default.string,startDatePlaceholderText:i.default.string,isStartDateFocused:i.default.bool,endDate:s.default.momentObj,endDateId:i.default.string,endDatePlaceholderText:i.default.string,isEndDateFocused:i.default.bool,screenReaderMessage:i.default.string,showClearDates:i.default.bool,showCaret:i.default.bool,showDefaultInputIcon:i.default.bool,inputIconPosition:h.default,disabled:p.default,required:i.default.bool,readOnly:i.default.bool,openDirection:l.default,noBorder:i.default.bool,block:i.default.bool,small:i.default.bool,regular:i.default.bool,verticalSpacing:c.nonNegativeInteger,keepOpenOnDateSelect:i.default.bool,reopenPickerOnClearDates:i.default.bool,withFullScreenPortal:i.default.bool,minimumNights:c.nonNegativeInteger,isOutsideRange:i.default.func,displayFormat:i.default.oneOfType([i.default.string,i.default.func]),onFocusChange:i.default.func,onClose:i.default.func,onDatesChange:i.default.func,onKeyDownArrowDown:i.default.func,onKeyDownQuestionMark:i.default.func,customInputIcon:i.default.node,customArrowIcon:i.default.node,customCloseIcon:i.default.node,isFocused:i.default.bool,phrases:i.default.shape((0,d.default)(u.DateRangePickerInputPhrases)),isRTL:i.default.bool}),w={startDate:null,startDateId:y.START_DATE,startDatePlaceholderText:"Start Date",isStartDateFocused:!1,endDate:null,endDateId:y.END_DATE,endDatePlaceholderText:"End Date",isEndDateFocused:!1,screenReaderMessage:"",showClearDates:!1,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:y.ICON_BEFORE_POSITION,disabled:!1,required:!1,readOnly:!1,openDirection:y.OPEN_DOWN,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,withFullScreenPortal:!1,minimumNights:1,isOutsideRange:function(e){return!(0,b.default)(e,(0,a.default)())},displayFormat:function(){return a.default.localeData().longDateFormat("L")},onFocusChange:function(){},onClose:function(){},onDatesChange:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},customInputIcon:null,customArrowIcon:null,customCloseIcon:null,isFocused:!1,phrases:u.DateRangePickerInputPhrases,isRTL:!1},O=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onClearFocus=n.onClearFocus.bind(n),n.onStartDateChange=n.onStartDateChange.bind(n),n.onStartDateFocus=n.onStartDateFocus.bind(n),n.onEndDateChange=n.onEndDateChange.bind(n),n.onEndDateFocus=n.onEndDateFocus.bind(n),n.clearDates=n.clearDates.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"onClearFocus",value:function(){var e=this.props,t=e.onFocusChange,n=e.onClose,r=e.startDate,o=e.endDate;t(null),n({startDate:r,endDate:o})}},{key:"onEndDateChange",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.minimumNights,i=t.keepOpenOnDateSelect,a=t.onDatesChange,s=(0,v.default)(e,this.getDisplayFormat());!s||r(s)||n&&(0,g.default)(s,n.clone().add(o,"days"))?a({startDate:n,endDate:null}):(a({startDate:n,endDate:s}),i||this.onClearFocus())}},{key:"onEndDateFocus",value:function(){var e=this.props,t=e.startDate,n=e.onFocusChange,r=e.withFullScreenPortal,o=e.disabled;t||!r||o&&o!==y.END_DATE?o&&o!==y.START_DATE||n(y.END_DATE):n(y.START_DATE)}},{key:"onStartDateChange",value:function(e){var t=this.props.endDate,n=this.props,r=n.isOutsideRange,o=n.minimumNights,i=n.onDatesChange,a=n.onFocusChange,s=n.disabled,c=(0,v.default)(e,this.getDisplayFormat()),l=c&&(0,g.default)(t,c.clone().add(o,"days"));!c||r(c)||s===y.END_DATE&&l?i({startDate:null,endDate:t}):(l&&(t=null),i({startDate:c,endDate:t}),a(y.END_DATE))}},{key:"onStartDateFocus",value:function(){var e=this.props,t=e.disabled,n=e.onFocusChange;t&&t!==y.END_DATE||n(y.START_DATE)}},{key:"getDisplayFormat",value:function(){var e=this.props.displayFormat;return"string"==typeof e?e:e()}},{key:"getDateString",value:function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,m.default)(e)}},{key:"clearDates",value:function(){var e=this.props,t=e.onDatesChange,n=e.reopenPickerOnClearDates,r=e.onFocusChange;t({startDate:null,endDate:null}),n&&r(y.START_DATE)}},{key:"render",value:function(){var e=this.props,t=e.startDate,n=e.startDateId,r=e.startDatePlaceholderText,i=e.isStartDateFocused,a=e.endDate,s=e.endDateId,c=e.endDatePlaceholderText,l=e.isEndDateFocused,u=e.screenReaderMessage,d=e.showClearDates,h=e.showCaret,p=e.showDefaultInputIcon,v=e.inputIconPosition,m=e.customInputIcon,b=e.customArrowIcon,g=e.customCloseIcon,y=e.disabled,k=e.required,_=e.readOnly,w=e.openDirection,O=e.isFocused,S=e.phrases,E=e.onKeyDownArrowDown,C=e.onKeyDownQuestionMark,T=e.isRTL,x=e.noBorder,D=e.block,M=e.small,j=e.regular,I=e.verticalSpacing,P=this.getDateString(t),N=this.getDateString(a);return o.default.createElement(f.default,{startDate:P,startDateId:n,startDatePlaceholderText:r,isStartDateFocused:i,endDate:N,endDateId:s,endDatePlaceholderText:c,isEndDateFocused:l,isFocused:O,disabled:y,required:k,readOnly:_,openDirection:w,showCaret:h,showDefaultInputIcon:p,inputIconPosition:v,customInputIcon:m,customArrowIcon:b,customCloseIcon:g,phrases:S,onStartDateChange:this.onStartDateChange,onStartDateFocus:this.onStartDateFocus,onStartDateShiftTab:this.onClearFocus,onEndDateChange:this.onEndDateChange,onEndDateFocus:this.onEndDateFocus,onEndDateTab:this.onClearFocus,showClearDates:d,onClearDates:this.clearDates,screenReaderMessage:u,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,isRTL:T,noBorder:x,block:D,small:M,regular:j,verticalSpacing:I})}}]),t}(o.default.Component);t.default=O,O.propTypes=_,O.defaultProps=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=k(n(13)),i=k(n(1)),a=k(n(4)),s=n(12),c=n(16),l=n(14),u=k(n(15)),d=k(n(35)),f=k(n(113)),h=k(n(40)),p=k(n(53)),v=k(n(117)),m=k(n(118)),b=k(n(44)),g=k(n(119)),y=n(7);function k(e){return e&&e.__esModule?e:{default:e}}var _=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{startDateId:a.default.string,startDatePlaceholderText:a.default.string,screenReaderMessage:a.default.string,endDateId:a.default.string,endDatePlaceholderText:a.default.string,onStartDateFocus:a.default.func,onEndDateFocus:a.default.func,onStartDateChange:a.default.func,onEndDateChange:a.default.func,onStartDateShiftTab:a.default.func,onEndDateTab:a.default.func,onClearDates:a.default.func,onKeyDownArrowDown:a.default.func,onKeyDownQuestionMark:a.default.func,startDate:a.default.string,endDate:a.default.string,isStartDateFocused:a.default.bool,isEndDateFocused:a.default.bool,showClearDates:a.default.bool,disabled:p.default,required:a.default.bool,readOnly:a.default.bool,openDirection:d.default,showCaret:a.default.bool,showDefaultInputIcon:a.default.bool,inputIconPosition:h.default,customInputIcon:a.default.node,customArrowIcon:a.default.node,customCloseIcon:a.default.node,noBorder:a.default.bool,block:a.default.bool,small:a.default.bool,regular:a.default.bool,verticalSpacing:s.nonNegativeInteger,isFocused:a.default.bool,phrases:a.default.shape((0,u.default)(l.DateRangePickerInputPhrases)),isRTL:a.default.bool})),w={startDateId:y.START_DATE,endDateId:y.END_DATE,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",screenReaderMessage:"",onStartDateFocus:function(){},onEndDateFocus:function(){},onStartDateChange:function(){},onEndDateChange:function(){},onStartDateShiftTab:function(){},onEndDateTab:function(){},onClearDates:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},startDate:"",endDate:"",isStartDateFocused:!1,isEndDateFocused:!1,showClearDates:!1,disabled:!1,required:!1,readOnly:!1,openDirection:y.OPEN_DOWN,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:y.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,isFocused:!1,phrases:l.DateRangePickerInputPhrases,isRTL:!1};function O(e){var t=e.startDate,n=e.startDateId,o=e.startDatePlaceholderText,a=e.screenReaderMessage,s=e.isStartDateFocused,l=e.onStartDateChange,u=e.onStartDateFocus,d=e.onStartDateShiftTab,h=e.endDate,p=e.endDateId,k=e.endDatePlaceholderText,_=e.isEndDateFocused,w=e.onEndDateChange,O=e.onEndDateFocus,S=e.onEndDateTab,E=e.onKeyDownArrowDown,C=e.onKeyDownQuestionMark,T=e.onClearDates,x=e.showClearDates,D=e.disabled,M=e.required,j=e.readOnly,I=e.showCaret,P=e.openDirection,N=e.showDefaultInputIcon,R=e.inputIconPosition,L=e.customInputIcon,A=e.customArrowIcon,z=e.customCloseIcon,F=e.isFocused,H=e.phrases,V=e.isRTL,B=e.noBorder,U=e.block,W=e.verticalSpacing,K=e.small,Y=e.regular,$=e.styles,q=L||i.default.createElement(g.default,(0,c.css)($.DateRangePickerInput_calendarIcon_svg)),G=A||i.default.createElement(v.default,(0,c.css)($.DateRangePickerInput_arrow_svg));V&&(G=i.default.createElement(m.default,(0,c.css)($.DateRangePickerInput_arrow_svg))),K&&(G="-");var Z=z||i.default.createElement(b.default,(0,c.css)($.DateRangePickerInput_clearDates_svg,K&&$.DateRangePickerInput_clearDates_svg__small)),X=a||H.keyboardNavigationInstructions,Q=(N||null!==L)&&i.default.createElement("button",r({},(0,c.css)($.DateRangePickerInput_calendarIcon),{type:"button",disabled:D,"aria-label":H.focusStartDate,onClick:E}),q),J=D===y.START_DATE||!0===D,ee=D===y.END_DATE||!0===D;return i.default.createElement("div",(0,c.css)($.DateRangePickerInput,D&&$.DateRangePickerInput__disabled,V&&$.DateRangePickerInput__rtl,!B&&$.DateRangePickerInput__withBorder,U&&$.DateRangePickerInput__block,x&&$.DateRangePickerInput__showClearDates),R===y.ICON_BEFORE_POSITION&&Q,i.default.createElement(f.default,{id:n,placeholder:o,displayValue:t,screenReaderMessage:X,focused:s,isFocused:F,disabled:J,required:M,readOnly:j,showCaret:I,openDirection:P,onChange:l,onFocus:u,onKeyDownShiftTab:d,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,verticalSpacing:W,small:K,regular:Y}),i.default.createElement("div",r({},(0,c.css)($.DateRangePickerInput_arrow),{"aria-hidden":"true",role:"presentation"}),G),i.default.createElement(f.default,{id:p,placeholder:k,displayValue:h,screenReaderMessage:X,focused:_,isFocused:F,disabled:ee,required:M,readOnly:j,showCaret:I,openDirection:P,onChange:w,onFocus:O,onKeyDownTab:S,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,verticalSpacing:W,small:K,regular:Y}),x&&i.default.createElement("button",r({type:"button","aria-label":H.clearDates},(0,c.css)($.DateRangePickerInput_clearDates,K&&$.DateRangePickerInput_clearDates__small,!z&&$.DateRangePickerInput_clearDates_default,!(t||h)&&$.DateRangePickerInput_clearDates__hide),{onClick:T,disabled:D}),Z),R===y.ICON_AFTER_POSITION&&Q)}O.propTypes=_,O.defaultProps=w,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing;return{DateRangePickerInput:{backgroundColor:r.background,display:"inline-block"},DateRangePickerInput__disabled:{background:r.disabled},DateRangePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},DateRangePickerInput__rtl:{direction:"rtl"},DateRangePickerInput__block:{display:"block"},DateRangePickerInput__showClearDates:{paddingRight:30},DateRangePickerInput_arrow:{display:"inline-block",verticalAlign:"middle",color:r.text},DateRangePickerInput_arrow_svg:{verticalAlign:"middle",fill:r.text,height:o.arrowWidth,width:o.arrowWidth},DateRangePickerInput_clearDates:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},DateRangePickerInput_clearDates__small:{padding:6},DateRangePickerInput_clearDates_default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},DateRangePickerInput_clearDates__hide:{visibility:"hidden"},DateRangePickerInput_clearDates_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},DateRangePickerInput_clearDates_svg__small:{height:9},DateRangePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},DateRangePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}))(O)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=v(n(13)),a=v(n(1)),s=v(n(4)),c=n(12),l=n(16),u=v(n(114)),d=v(n(34)),f=v(n(67)),h=v(n(35)),p=n(7);function v(e){return e&&e.__esModule?e:{default:e}}var m="M0,"+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0z",b="M0,"+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0 "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX),g="M0,0 "+String(p.FANG_WIDTH_PX)+",0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+"z",y="M0,0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+",0",k=(0,c.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,{id:s.default.string.isRequired,placeholder:s.default.string,displayValue:s.default.string,screenReaderMessage:s.default.string,focused:s.default.bool,disabled:s.default.bool,required:s.default.bool,readOnly:s.default.bool,openDirection:h.default,showCaret:s.default.bool,verticalSpacing:c.nonNegativeInteger,small:s.default.bool,block:s.default.bool,regular:s.default.bool,onChange:s.default.func,onFocus:s.default.func,onKeyDownShiftTab:s.default.func,onKeyDownTab:s.default.func,onKeyDownArrowDown:s.default.func,onKeyDownQuestionMark:s.default.func,isFocused:s.default.bool})),_={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,disabled:!1,required:!1,readOnly:null,openDirection:p.OPEN_DOWN,showCaret:!1,verticalSpacing:p.DEFAULT_VERTICAL_SPACING,small:!1,block:!1,regular:!1,onChange:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},isFocused:!1},w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={dateString:"",isTouchDevice:!1},n.onChange=n.onChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.setInputRef=n.setInputRef.bind(n),n.throttledKeyDown=(0,u.default)(n.onFinalKeyDown,300,{trailing:!1}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.setState({isTouchDevice:(0,d.default)()})}},{key:"componentWillReceiveProps",value:function(e){this.state.dateString&&e.displayValue&&this.setState({dateString:""})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.focused,r=t.isFocused;e.focused===n&&e.isFocused===r||n&&r&&this.inputRef.focus()}},{key:"onChange",value:function(e){var t=this.props,n=t.onChange,r=t.onKeyDownQuestionMark,o=e.target.value;"?"===o[o.length-1]?r(e):this.setState({dateString:o},(function(){return n(o)}))}},{key:"onKeyDown",value:function(e){e.stopPropagation(),p.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){var t=this.props,n=t.onKeyDownShiftTab,r=t.onKeyDownTab,o=t.onKeyDownArrowDown,i=t.onKeyDownQuestionMark,a=e.key;"Tab"===a?e.shiftKey?n(e):r(e):"ArrowDown"===a?o(e):"?"===a&&(e.preventDefault(),i(e))}},{key:"setInputRef",value:function(e){this.inputRef=e}},{key:"render",value:function(){var e=this.state,t=e.dateString,n=e.isTouchDevice,o=this.props,i=o.id,s=o.placeholder,c=o.displayValue,u=o.screenReaderMessage,d=o.focused,h=o.showCaret,v=o.onFocus,k=o.disabled,_=o.required,w=o.readOnly,O=o.openDirection,S=o.verticalSpacing,E=o.small,C=o.regular,T=o.block,x=o.styles,D=o.theme.reactDates,M=t||c||"",j="DateInput__screen-reader-message-"+String(i),I=h&&d,P=(0,f.default)(D,E);return a.default.createElement("div",(0,l.css)(x.DateInput,E&&x.DateInput__small,T&&x.DateInput__block,I&&x.DateInput__withFang,k&&x.DateInput__disabled,I&&O===p.OPEN_DOWN&&x.DateInput__openDown,I&&O===p.OPEN_UP&&x.DateInput__openUp),a.default.createElement("input",r({},(0,l.css)(x.DateInput_input,E&&x.DateInput_input__small,C&&x.DateInput_input__regular,w&&x.DateInput_input__readOnly,d&&x.DateInput_input__focused,k&&x.DateInput_input__disabled),{"aria-label":s,type:"text",id:i,name:i,ref:this.setInputRef,value:M,onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:v,placeholder:s,autoComplete:"off",disabled:k,readOnly:"boolean"==typeof w?w:n,required:_,"aria-describedby":u&&j})),I&&a.default.createElement("svg",r({role:"presentation",focusable:"false"},(0,l.css)(x.DateInput_fang,O===p.OPEN_DOWN&&{top:P+S-p.FANG_HEIGHT_PX-1},O===p.OPEN_UP&&{bottom:P+S-p.FANG_HEIGHT_PX-1})),a.default.createElement("path",r({},(0,l.css)(x.DateInput_fangShape),{d:O===p.OPEN_DOWN?m:g})),a.default.createElement("path",r({},(0,l.css)(x.DateInput_fangStroke),{d:O===p.OPEN_DOWN?b:y}))),u&&a.default.createElement("p",r({},(0,l.css)(x.DateInput_screenReaderMessage),{id:j}),u))}}]),t}(a.default.Component);w.propTypes=k,w.defaultProps=_,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing,i=t.spacing,a=t.font,s=t.zIndex;return{DateInput:{margin:0,padding:i.inputPadding,background:r.background,position:"relative",display:"inline-block",width:o.inputWidth,verticalAlign:"middle"},DateInput__small:{width:o.inputWidth_small},DateInput__block:{width:"100%"},DateInput__disabled:{background:r.disabled,color:r.textDisabled},DateInput_input:{fontWeight:200,fontSize:a.input.size,lineHeight:a.input.lineHeight,color:r.text,backgroundColor:r.background,width:"100%",padding:String(i.displayTextPaddingVertical)+"px "+String(i.displayTextPaddingHorizontal)+"px",paddingTop:i.displayTextPaddingTop,paddingBottom:i.displayTextPaddingBottom,paddingLeft:i.displayTextPaddingLeft,paddingRight:i.displayTextPaddingRight,border:n.input.border,borderTop:n.input.borderTop,borderRight:n.input.borderRight,borderBottom:n.input.borderBottom,borderLeft:n.input.borderLeft,borderRadius:n.input.borderRadius},DateInput_input__small:{fontSize:a.input.size_small,lineHeight:a.input.lineHeight_small,letterSpacing:a.input.letterSpacing_small,padding:String(i.displayTextPaddingVertical_small)+"px "+String(i.displayTextPaddingHorizontal_small)+"px",paddingTop:i.displayTextPaddingTop_small,paddingBottom:i.displayTextPaddingBottom_small,paddingLeft:i.displayTextPaddingLeft_small,paddingRight:i.displayTextPaddingRight_small},DateInput_input__regular:{fontWeight:"auto"},DateInput_input__readOnly:{userSelect:"none"},DateInput_input__focused:{outline:n.input.outlineFocused,background:r.backgroundFocused,border:n.input.borderFocused,borderTop:n.input.borderTopFocused,borderRight:n.input.borderRightFocused,borderBottom:n.input.borderBottomFocused,borderLeft:n.input.borderLeftFocused},DateInput_input__disabled:{background:r.disabled,fontStyle:a.input.styleDisabled},DateInput_screenReaderMessage:{border:0,clip:"rect(0, 0, 0, 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1},DateInput_fang:{position:"absolute",width:p.FANG_WIDTH_PX,height:p.FANG_HEIGHT_PX,left:22,zIndex:s+2},DateInput_fangShape:{fill:r.background},DateInput_fangStroke:{stroke:r.core.border,fill:"transparent"}}}))(w)},function(e,t,n){var r=n(219),o=n(68);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},function(e,t,n){var r=n(221),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(115).Symbol;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M107.2 1392.9h241.1v-241.1H107.2v241.1zm294.7 0h267.9v-241.1H401.9v241.1zm-294.7-294.7h241.1V830.4H107.2v267.8zm294.7 0h267.9V830.4H401.9v267.8zM107.2 776.8h241.1V535.7H107.2v241.1zm616.2 616.1h267.9v-241.1H723.4v241.1zM401.9 776.8h267.9V535.7H401.9v241.1zm642.9 616.1H1286v-241.1h-241.1v241.1zm-321.4-294.7h267.9V830.4H723.4v267.8zM428.7 375V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.3-5.3 8-11.5 8-18.8zm616.1 723.2H1286V830.4h-241.1v267.8zM723.4 776.8h267.9V535.7H723.4v241.1zm321.4 0H1286V535.7h-241.1v241.1zm26.8-401.8V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.4-5.3 8-11.5 8-18.8zm321.5-53.6v1071.4c0 29-10.6 54.1-31.8 75.3-21.2 21.2-46.3 31.8-75.3 31.8H107.2c-29 0-54.1-10.6-75.3-31.8C10.6 1447 0 1421.9 0 1392.9V321.4c0-29 10.6-54.1 31.8-75.3s46.3-31.8 75.3-31.8h107.2v-80.4c0-36.8 13.1-68.4 39.3-94.6S311.4 0 348.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3 26.2 26.2 39.3 57.8 39.3 94.6v80.4h321.5v-80.4c0-36.8 13.1-68.4 39.3-94.6C922.9 13.1 954.4 0 991.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3s39.3 57.8 39.3 94.6v80.4H1286c29 0 54.1 10.6 75.3 31.8 21.2 21.2 31.8 46.3 31.8 75.3z"}))};a.defaultProps={viewBox:"0 0 1393.1 1500"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=I(n(13)),a=I(n(1)),s=I(n(4)),c=I(n(21)),l=n(12),u=I(n(6)),d=I(n(66)),f=I(n(34)),h=n(14),p=I(n(15)),v=I(n(42)),m=I(n(121)),b=I(n(31)),g=I(n(54)),y=I(n(43)),k=I(n(122)),_=I(n(70)),w=I(n(228)),O=I(n(50)),S=I(n(52)),E=I(n(53)),C=I(n(105)),T=I(n(33)),x=I(n(27)),D=I(n(41)),M=n(7),j=I(n(71));function I(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=(0,l.forbidExtraProps)({startDate:c.default.momentObj,endDate:c.default.momentObj,onDatesChange:s.default.func,startDateOffset:s.default.func,endDateOffset:s.default.func,focusedInput:C.default,onFocusChange:s.default.func,onClose:s.default.func,keepOpenOnDateSelect:s.default.bool,minimumNights:s.default.number,disabled:E.default,isOutsideRange:s.default.func,isDayBlocked:s.default.func,isDayHighlighted:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:T.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,noNavButtons:s.default.bool,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onOutsideClick:s.default.func,renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderCalendarInfo:s.default.func,calendarInfoPosition:D.default,firstDayOfWeek:x.default,verticalHeight:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,onBlur:s.default.func,isFocused:s.default.bool,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.DayPickerPhrases)),dayAriaLabelFormat:s.default.string,isRTL:s.default.bool}),R={startDate:void 0,endDate:void 0,onDatesChange:function(){},startDateOffset:void 0,endDateOffset:void 0,focusedInput:null,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,minimumNights:1,disabled:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:M.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,daySize:M.DAY_SIZE,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:M.INFO_POSITION_BOTTOM,firstDayOfWeek:null,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:h.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},L=function(e,t){return t===M.START_DATE?e.chooseAvailableStartDate:t===M.END_DATE?e.chooseAvailableEndDate:e.chooseAvailableDate},A=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.isTouchDevice=(0,f.default)(),n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},"selected-start":function(e){return n.isStartDate(e)},"selected-end":function(e){return n.isEndDate(e)},"blocked-minimum-nights":function(e){return n.doesNotMeetMinimumNights(e)},"selected-span":function(e){return n.isInSelectedSpan(e)},"last-in-range":function(e){return n.isLastInRange(e)},hovered:function(e){return n.isHovered(e)},"hovered-span":function(e){return n.isInHoveredSpan(e)},"hovered-offset":function(e){return n.isInHoveredSpan(e)},"after-hovered-start":function(e){return n.isDayAfterHoveredStartDate(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,a=r.visibleDays,s=L(e.phrases,e.focusedInput);return n.state={hoverDate:null,currentMonth:o,phrases:(0,i.default)({},e.phrases,{chooseAvailableDate:s}),visibleDays:a},n.onDayClick=n.onDayClick.bind(n),n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.onMultiplyScrollableMonths=n.onMultiplyScrollableMonths.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.startDate,r=e.endDate,o=e.focusedInput,a=e.minimumNights,s=e.isOutsideRange,c=e.isDayBlocked,l=e.isDayHighlighted,f=e.phrases,h=e.initialVisibleMonth,p=e.numberOfMonths,v=e.enableOutsideDays,m=this.props,g=m.startDate,y=m.endDate,k=m.focusedInput,_=m.minimumNights,w=m.isOutsideRange,O=m.isDayBlocked,S=m.isDayHighlighted,E=m.phrases,C=m.initialVisibleMonth,T=m.numberOfMonths,x=m.enableOutsideDays,D=this.state.visibleDays,j=!1,I=!1,P=!1;s!==w&&(this.modifiers["blocked-out-of-range"]=function(e){return s(e)},j=!0),c!==O&&(this.modifiers["blocked-calendar"]=function(e){return c(e)},I=!0),l!==S&&(this.modifiers["highlighted-calendar"]=function(e){return l(e)},P=!0);var N=j||I||P,R=n!==g,A=r!==y,z=o!==k;if(p!==T||v!==x||h!==C&&!k&&z){var F=this.getStateForNewMonth(e),H=F.currentMonth;D=F.visibleDays,this.setState({currentMonth:H,visibleDays:D})}var V={};if(R&&(V=this.deleteModifier(V,g,"selected-start"),V=this.addModifier(V,n,"selected-start"),g)){var B=g.clone().add(1,"day"),U=g.clone().add(_+1,"days");V=this.deleteModifierFromRange(V,B,U,"after-hovered-start")}if(A&&(V=this.deleteModifier(V,y,"selected-end"),V=this.addModifier(V,r,"selected-end")),(R||A)&&(g&&y&&(V=this.deleteModifierFromRange(V,g,y.clone().add(1,"day"),"selected-span")),n&&r&&(V=this.deleteModifierFromRange(V,n,r.clone().add(1,"day"),"hovered-span"),V=this.addModifierToRange(V,n.clone().add(1,"day"),r,"selected-span"))),!this.isTouchDevice&&R&&n&&!r){var W=n.clone().add(1,"day"),K=n.clone().add(a+1,"days");V=this.addModifierToRange(V,W,K,"after-hovered-start")}if(_>0&&(z||R||a!==_)){var Y=g||this.today;V=this.deleteModifierFromRange(V,Y,Y.clone().add(_,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,Y,Y.clone().add(_,"days"),"blocked")}(z||N)&&(0,d.default)(D).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e),r=!1;(z||j)&&(s(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(z||I)&&(c(n)?(V=t.addModifier(V,n,"blocked-calendar"),r=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=r?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(z||P)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))}))})),a>0&&n&&o===M.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(a,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(a,"days"),"blocked"));var $=(0,u.default)();if((0,b.default)(this.today,$)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,$,"today"),this.today=$),Object.keys(V).length>0&&this.setState({visibleDays:(0,i.default)({},D,V)}),z||f!==E){var q=L(f,o);this.setState({phrases:(0,i.default)({},f,{chooseAvailableDate:q})})}}},{key:"onDayClick",value:function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,i=n.onBlur,a=n.focusedInput,s=n.onFocusChange,c=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,f=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var h=this.props,p=h.startDate,m=h.endDate;if(u||d)p=(0,w.default)(u,e),m=(0,w.default)(d,e),r||(s(null),c({startDate:p,endDate:m}));else if(a===M.START_DATE){var b=m&&m.clone().subtract(o,"days"),k=(0,y.default)(b,e)||(0,g.default)(p,m),_=f===M.END_DATE;_&&k||(p=e,k&&(m=null)),_&&!k?(s(null),c({startDate:p,endDate:m})):_||s(M.END_DATE)}else if(a===M.END_DATE){var O=p&&p.clone().add(o,"days");p?(0,v.default)(e,O)?(m=e,r||(s(null),c({startDate:p,endDate:m}))):f!==M.START_DATE&&(p=e,m=null):(m=e,s(M.START_DATE))}l({startDate:p,endDate:m}),i()}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,a=t.minimumNights,s=t.startDateOffset,c=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,f=null;if(o){var h=s||c,p={};if(h){var v=(0,w.default)(s,e),m=(0,w.default)(c,e,(function(e){return e.add(1,"day")}));f={start:v,end:m},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,v,m,"hovered-offset")}if(!h){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!r&&o===M.END_DATE){if((0,g.default)(u,n)){var k=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,k,"hovered-span")}if(!this.isBlocked(e)&&(0,g.default)(e,n)){var _=e.clone().add(1,"day");p=this.addModifierToRange(p,n,_,"hovered-span")}}if(!n&&r&&o===M.START_DATE&&((0,y.default)(u,r)&&(p=this.deleteModifierFromRange(p,u,r,"hovered-span")),!this.isBlocked(e)&&(0,y.default)(e,r)&&(p=this.addModifierToRange(p,e,r,"hovered-span"))),n){var O=n.clone().add(1,"day"),S=n.clone().add(a+1,"days");if(p=this.deleteModifierFromRange(p,O,S,"after-hovered-start"),(0,b.default)(e,n)){var E=n.clone().add(1,"day"),C=n.clone().add(a+1,"days");p=this.addModifierToRange(p,E,C,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:f,visibleDays:(0,i.default)({},d,p)})}}}},{key:"onDayMouseLeave",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,a=this.state,s=a.hoverDate,c=a.visibleDays,l=a.dateOffset;if(!this.isTouchDevice&&s){var u={};if(u=this.deleteModifier(u,s,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,g.default)(s,n)){var d=s.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,g.default)(r,s)&&(u=this.deleteModifierFromRange(u,s,r,"hovered-span")),n&&(0,b.default)(e,n)){var f=n.clone().add(1,"day"),h=n.clone().add(o+1,"days");u=this.deleteModifierFromRange(u,f,h,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,i.default)({},c,u)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=a.clone().subtract(2,"months"),u=(0,k.default)(l,1,r,!0),d=a.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=a.clone().add(n+1,"month"),u=(0,k.default)(l,1,r,!0),d=a.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===M.VERTICAL_SCROLLABLE,i=(0,k.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===M.VERTICAL_SCROLLABLE,i=(0,k.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onMultiplyScrollableMonths",value:function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,a=r.visibleDays,s=Object.keys(a).length,c=o.clone().add(s,"month"),l=(0,k.default)(c,t,n,!0);this.setState({visibleDays:(0,i.default)({},a,this.getModifiers(l))})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.startDate,i=n.endDate,a=n.focusedInput,s=n.minimumNights,c=n.numberOfMonths,l=e.clone().startOf("month");if(a===M.START_DATE&&o?l=o.clone():a===M.END_DATE&&!i&&o?l=o.clone().add(s,"days"):a===M.END_DATE&&i&&(l=i.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(c-1,"months").endOf("month"),f=l.clone();!(0,g.default)(f,d);)f=f.clone().add(1,"day"),u.push(f);var h=u.filter((function(e){return!t.isBlocked(e)}));h.length>0&&(l=r(h,1)[0])}return l}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,O.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,i=e.orientation,a=e.startDate,s=(n||(a?function(){return a}:function(){return t.today}))(),c=i===M.VERTICAL_SCROLLABLE;return{currentMonth:s,visibleDays:this.getModifiers((0,k.default)(s,r,o,c))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===M.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,_.default)(t,d,f,a))return e;var h=(0,O.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.add(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},h,a))))}),p);else{var v=(0,S.default)(t),m=e[v]||u[v],b=new Set(m[h]);b.add(n),p=(0,i.default)({},p,P({},v,(0,i.default)({},m,P({},h,b))))}return p}},{key:"addModifierToRange",value:function(e,t,n,r){for(var o=e,i=t.clone();(0,y.default)(i,n);)o=this.addModifier(o,i,r),i=i.clone().add(1,"day");return o}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===M.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,_.default)(t,d,f,a))return e;var h=(0,O.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.delete(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},h,a))))}),p);else{var v=(0,S.default)(t),m=e[v]||u[v],b=new Set(m[h]);b.delete(n),p=(0,i.default)({},p,P({},v,(0,i.default)({},m,P({},h,b))))}return p}},{key:"deleteModifierFromRange",value:function(e,t,n,r){for(var o=e,i=t.clone();(0,y.default)(i,n);)o=this.deleteModifier(o,i,r),i=i.clone().add(1,"day");return o}},{key:"doesNotMeetMinimumNights",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.focusedInput,i=t.minimumNights;if(o!==M.END_DATE)return!1;if(n){var a=e.diff(n.clone().startOf("day").hour(12),"days");return a<i&&a>=0}return r((0,u.default)(e).subtract(i,"days"))}},{key:"isDayAfterHoveredStartDate",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=(this.state||{}).hoverDate;return!!n&&!r&&!this.isBlocked(e)&&(0,m.default)(i,e)&&o>0&&(0,b.default)(i,n)}},{key:"isEndDate",value:function(e){var t=this.props.endDate;return(0,b.default)(e,t)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,b.default)(e,t)}},{key:"isInHoveredSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=(this.state||{}).hoverDate,i=!!n&&!r&&(e.isBetween(n,o)||(0,b.default)(o,e)),a=!!r&&!n&&(e.isBetween(o,r)||(0,b.default)(o,e)),s=o&&!this.isBlocked(o);return(i||a)&&s}},{key:"isInSelectedSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}},{key:"isLastInRange",value:function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,m.default)(e,t)}},{key:"isStartDate",value:function(e){var t=this.props.startDate;return(0,b.default)(e,t)}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}},{key:"isToday",value:function(e){return(0,b.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.navPrev,s=e.navNext,c=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,f=e.firstDayOfWeek,h=e.hideKeyboardShortcutsPanel,p=e.daySize,v=e.focusedInput,m=e.renderCalendarDay,b=e.renderDayContents,g=e.renderCalendarInfo,y=e.renderMonthElement,k=e.calendarInfoPosition,_=e.onBlur,w=e.isFocused,O=e.showKeyboardShortcuts,S=e.isRTL,E=e.weekDayFormat,C=e.dayAriaLabelFormat,T=e.verticalHeight,x=e.noBorder,D=e.transitionDuration,M=e.verticalBorderSpacing,I=e.horizontalMonthPadding,P=this.state,N=P.currentMonth,R=P.phrases,L=P.visibleDays;return a.default.createElement(j.default,{orientation:n,enableOutsideDays:d,modifiers:L,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!v,initialVisibleMonth:function(){return N},daySize:p,onOutsideClick:l,navPrev:i,navNext:s,noNavButtons:c,renderCalendarDay:m,renderDayContents:b,renderCalendarInfo:g,renderMonthElement:y,calendarInfoPosition:k,firstDayOfWeek:f,hideKeyboardShortcutsPanel:h,isFocused:w,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:_,showKeyboardShortcuts:O,phrases:R,isRTL:S,weekDayFormat:E,dayAriaLabelFormat:C,verticalHeight:T,verticalBorderSpacing:M,noBorder:x,transitionDuration:D,horizontalMonthPadding:I})}}]),t}(a.default.Component);t.default=A,A.propTypes=N,A.defaultProps=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!r.default.isMoment(e)||!r.default.isMoment(t))return!1;var n=(0,r.default)(e).add(1,"day");return(0,o.default)(n,t)};var r=i(n(6)),o=i(n(31));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){if(!r.default.isMoment(e))return{};for(var a={},s=i?e.clone():e.clone().subtract(1,"month"),c=0;c<(i?t:t+2);c+=1){var l=[],u=s.clone(),d=u.clone().startOf("month").hour(12),f=u.clone().endOf("month").hour(12),h=d.clone();if(n)for(var p=0;p<h.weekday();p+=1){var v=h.clone().subtract(p+1,"day");l.unshift(v)}for(;h<f;)l.push(h.clone()),h.add(1,"day");if(n&&0!==h.weekday())for(var m=h.weekday(),b=0;m<7;m+=1,b+=1){var g=h.clone().add(b,"day");l.push(g)}a[(0,o.default)(s)]=l,s=s.clone().add(1,"month")}return a};var r=i(n(6)),o=i(n(52));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=C(n(13)),a=C(n(1)),s=C(n(4)),c=C(n(21)),l=n(12),u=C(n(6)),d=C(n(66)),f=C(n(34)),h=n(14),p=C(n(15)),v=C(n(31)),m=C(n(54)),b=C(n(122)),g=C(n(70)),y=C(n(50)),k=C(n(52)),_=C(n(33)),w=C(n(27)),O=C(n(41)),S=n(7),E=C(n(71));function C(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=(0,l.forbidExtraProps)({date:c.default.momentObj,onDateChange:s.default.func,focused:s.default.bool,onFocusChange:s.default.func,onClose:s.default.func,keepOpenOnDateSelect:s.default.bool,isOutsideRange:s.default.func,isDayBlocked:s.default.func,isDayHighlighted:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:_.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:w.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onOutsideClick:s.default.func,renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderCalendarInfo:s.default.func,calendarInfoPosition:O.default,onBlur:s.default.func,isFocused:s.default.bool,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.DayPickerPhrases)),dayAriaLabelFormat:s.default.string,isRTL:s.default.bool}),D={date:void 0,onDateChange:function(){},focused:!1,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:S.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,firstDayOfWeek:null,daySize:S.DAY_SIZE,verticalHeight:null,noBorder:!1,verticalBorderSpacing:void 0,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:S.INFO_POSITION_BOTTOM,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:h.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},M=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.isTouchDevice=!1,n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},hovered:function(e){return n.isHovered(e)},selected:function(e){return n.isSelected(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,i=r.visibleDays;return n.state={hoverDate:null,currentMonth:o,visibleDays:i},n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onDayClick=n.onDayClick.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.isTouchDevice=(0,f.default)()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.date,r=e.focused,o=e.isOutsideRange,a=e.isDayBlocked,s=e.isDayHighlighted,c=e.initialVisibleMonth,l=e.numberOfMonths,f=e.enableOutsideDays,h=this.props,p=h.isOutsideRange,m=h.isDayBlocked,b=h.isDayHighlighted,g=h.numberOfMonths,y=h.enableOutsideDays,k=h.initialVisibleMonth,_=h.focused,w=h.date,O=this.state.visibleDays,S=!1,E=!1,C=!1;o!==p&&(this.modifiers["blocked-out-of-range"]=function(e){return o(e)},S=!0),a!==m&&(this.modifiers["blocked-calendar"]=function(e){return a(e)},E=!0),s!==b&&(this.modifiers["highlighted-calendar"]=function(e){return s(e)},C=!0);var T=S||E||C;if(l!==g||f!==y||c!==k&&!_&&r){var x=this.getStateForNewMonth(e),D=x.currentMonth;O=x.visibleDays,this.setState({currentMonth:D,visibleDays:O})}var M=r!==_,j={};n!==w&&(j=this.deleteModifier(j,w,"selected"),j=this.addModifier(j,n,"selected")),(M||T)&&(0,d.default)(O).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e);j=t.isBlocked(n)?t.addModifier(j,n,"blocked"):t.deleteModifier(j,n,"blocked"),(M||S)&&(j=o(n)?t.addModifier(j,n,"blocked-out-of-range"):t.deleteModifier(j,n,"blocked-out-of-range")),(M||E)&&(j=a(n)?t.addModifier(j,n,"blocked-calendar"):t.deleteModifier(j,n,"blocked-calendar")),(M||C)&&(j=s(n)?t.addModifier(j,n,"highlighted-calendar"):t.deleteModifier(j,n,"highlighted-calendar"))}))}));var I=(0,u.default)();(0,v.default)(this.today,I)||(j=this.deleteModifier(j,this.today,"today"),j=this.addModifier(j,I,"today"),this.today=I),Object.keys(j).length>0&&this.setState({visibleDays:(0,i.default)({},O,j)})}},{key:"componentWillUpdate",value:function(){this.today=(0,u.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,i=n.onFocusChange,a=n.onClose;r(e),o||(i({focused:!1}),a({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,i.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,i.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=a.clone().subtract(1,"month"),u=(0,b.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(l.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=a.clone().add(n,"month"),u=(0,b.default)(l,1,r),d=a.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===S.VERTICAL_SCROLLABLE,i=(0,b.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===S.VERTICAL_SCROLLABLE,i=(0,b.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,i=n.numberOfMonths,a=e.clone().startOf("month");if(o&&(a=o.clone()),this.isBlocked(a)){for(var s=[],c=e.clone().add(i-1,"months").endOf("month"),l=a.clone();!(0,m.default)(l,c);)l=l.clone().add(1,"day"),s.push(l);var u=s.filter((function(e){return!t.isBlocked(e)&&(0,m.default)(e,a)}));if(u.length>0){var d=r(u,1);a=d[0]}}return a}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,y.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,i=e.enableOutsideDays,a=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:a,visibleDays:this.getModifiers((0,b.default)(a,o,i))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===S.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,g.default)(t,d,f,a))return e;var h=(0,y.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.add(n),(0,i.default)({},t,T({},r,(0,i.default)({},o,T({},h,a))))}),p);else{var v=(0,k.default)(t),m=e[v]||u[v],b=new Set(m[h]);b.add(n),p=(0,i.default)({},p,T({},v,(0,i.default)({},m,T({},h,b))))}return p}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===S.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,g.default)(t,d,f,a))return e;var h=(0,y.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.delete(n),(0,i.default)({},t,T({},r,(0,i.default)({},o,T({},h,a))))}),p);else{var v=(0,k.default)(t),m=e[v]||u[v],b=new Set(m[h]);b.delete(n),p=(0,i.default)({},p,T({},v,(0,i.default)({},m,T({},h,b))))}return p}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,v.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,v.default)(e,t)}},{key:"isToday",value:function(e){return(0,v.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.navPrev,s=e.navNext,c=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,h=e.daySize,p=e.firstDayOfWeek,v=e.renderCalendarDay,m=e.renderDayContents,b=e.renderCalendarInfo,g=e.renderMonthElement,y=e.calendarInfoPosition,k=e.isFocused,_=e.isRTL,w=e.phrases,O=e.dayAriaLabelFormat,S=e.onBlur,C=e.showKeyboardShortcuts,T=e.weekDayFormat,x=e.verticalHeight,D=e.noBorder,M=e.transitionDuration,j=e.verticalBorderSpacing,I=e.horizontalMonthPadding,P=this.state,N=P.currentMonth,R=P.visibleDays;return a.default.createElement(E.default,{orientation:n,enableOutsideDays:d,modifiers:R,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:f,initialVisibleMonth:function(){return N},firstDayOfWeek:p,onOutsideClick:c,navPrev:i,navNext:s,renderMonthText:o,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:b,renderMonthElement:g,calendarInfoPosition:y,isFocused:k,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:S,phrases:w,daySize:h,isRTL:_,showKeyboardShortcuts:C,weekDayFormat:T,dayAriaLabelFormat:O,verticalHeight:x,noBorder:D,transitionDuration:M,verticalBorderSpacing:j,horizontalMonthPadding:I})}}]),t}(a.default.Component);t.default=M,M.propTypes=x,M.defaultProps=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(4)),o=p(n(21)),i=n(12),a=n(14),s=p(n(15)),c=p(n(40)),l=p(n(106)),u=p(n(107)),d=p(n(35)),f=p(n(27)),h=p(n(41));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:o.default.momentObj,onDateChange:r.default.func.isRequired,focused:r.default.bool,onFocusChange:r.default.func.isRequired,id:r.default.string.isRequired,placeholder:r.default.string,disabled:r.default.bool,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDate:r.default.bool,customCloseIcon:r.default.node,showDefaultInputIcon:r.default.bool,inputIconPosition:c.default,customInputIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,verticalSpacing:i.nonNegativeInteger,keepFocusOnInput:r.default.bool,renderMonthText:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,initialVisibleMonth:r.default.func,firstDayOfWeek:f.default,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDate:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:h.default,hideKeyboardShortcutsPanel:r.default.bool,daySize:i.nonNegativeInteger,isRTL:r.default.bool,verticalHeight:i.nonNegativeInteger,transitionDuration:i.nonNegativeInteger,horizontalMonthPadding:i.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,onClose:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(a.SingleDatePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=b(n(13)),i=b(n(1)),a=b(n(4)),s=n(12),c=n(16),l=n(14),u=b(n(15)),d=b(n(113)),f=b(n(40)),h=b(n(44)),p=b(n(119)),v=b(n(35)),m=n(7);function b(e){return e&&e.__esModule?e:{default:e}}var g=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{id:a.default.string.isRequired,placeholder:a.default.string,displayValue:a.default.string,screenReaderMessage:a.default.string,focused:a.default.bool,isFocused:a.default.bool,disabled:a.default.bool,required:a.default.bool,readOnly:a.default.bool,openDirection:v.default,showCaret:a.default.bool,showClearDate:a.default.bool,customCloseIcon:a.default.node,showDefaultInputIcon:a.default.bool,inputIconPosition:f.default,customInputIcon:a.default.node,isRTL:a.default.bool,noBorder:a.default.bool,block:a.default.bool,small:a.default.bool,regular:a.default.bool,verticalSpacing:s.nonNegativeInteger,onChange:a.default.func,onClearDate:a.default.func,onFocus:a.default.func,onKeyDownShiftTab:a.default.func,onKeyDownTab:a.default.func,onKeyDownArrowDown:a.default.func,onKeyDownQuestionMark:a.default.func,phrases:a.default.shape((0,u.default)(l.SingleDatePickerInputPhrases))})),y={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,isFocused:!1,disabled:!1,required:!1,readOnly:!1,openDirection:m.OPEN_DOWN,showCaret:!1,showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:m.ICON_BEFORE_POSITION,customCloseIcon:null,customInputIcon:null,isRTL:!1,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,onChange:function(){},onClearDate:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},phrases:l.SingleDatePickerInputPhrases};function k(e){var t=e.id,n=e.placeholder,o=e.displayValue,a=e.focused,s=e.isFocused,l=e.disabled,u=e.required,f=e.readOnly,v=e.showCaret,b=e.showClearDate,g=e.showDefaultInputIcon,y=e.inputIconPosition,k=e.phrases,_=e.onClearDate,w=e.onChange,O=e.onFocus,S=e.onKeyDownShiftTab,E=e.onKeyDownTab,C=e.onKeyDownArrowDown,T=e.onKeyDownQuestionMark,x=e.screenReaderMessage,D=e.customCloseIcon,M=e.customInputIcon,j=e.openDirection,I=e.isRTL,P=e.noBorder,N=e.block,R=e.small,L=e.regular,A=e.verticalSpacing,z=e.styles,F=M||i.default.createElement(p.default,(0,c.css)(z.SingleDatePickerInput_calendarIcon_svg)),H=D||i.default.createElement(h.default,(0,c.css)(z.SingleDatePickerInput_clearDate_svg,R&&z.SingleDatePickerInput_clearDate_svg__small)),V=x||k.keyboardNavigationInstructions,B=(g||null!==M)&&i.default.createElement("button",r({},(0,c.css)(z.SingleDatePickerInput_calendarIcon),{type:"button",disabled:l,"aria-label":k.focusStartDate,onClick:O}),F);return i.default.createElement("div",(0,c.css)(z.SingleDatePickerInput,l&&z.SingleDatePickerInput__disabled,I&&z.SingleDatePickerInput__rtl,!P&&z.SingleDatePickerInput__withBorder,N&&z.SingleDatePickerInput__block,b&&z.SingleDatePickerInput__showClearDate),y===m.ICON_BEFORE_POSITION&&B,i.default.createElement(d.default,{id:t,placeholder:n,displayValue:o,screenReaderMessage:V,focused:a,isFocused:s,disabled:l,required:u,readOnly:f,showCaret:v,onChange:w,onFocus:O,onKeyDownShiftTab:S,onKeyDownTab:E,onKeyDownArrowDown:C,onKeyDownQuestionMark:T,openDirection:j,verticalSpacing:A,small:R,regular:L,block:N}),b&&i.default.createElement("button",r({},(0,c.css)(z.SingleDatePickerInput_clearDate,R&&z.SingleDatePickerInput_clearDate__small,!D&&z.SingleDatePickerInput_clearDate__default,!o&&z.SingleDatePickerInput_clearDate__hide),{type:"button","aria-label":k.clearDate,disabled:l,onMouseEnter:this&&this.onClearDateMouseEnter,onMouseLeave:this&&this.onClearDateMouseLeave,onClick:_}),H),y===m.ICON_AFTER_POSITION&&B)}k.propTypes=g,k.defaultProps=y,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color;return{SingleDatePickerInput:{display:"inline-block",backgroundColor:r.background},SingleDatePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},SingleDatePickerInput__rtl:{direction:"rtl"},SingleDatePickerInput__disabled:{backgroundColor:r.disabled},SingleDatePickerInput__block:{display:"block"},SingleDatePickerInput__showClearDate:{paddingRight:30},SingleDatePickerInput_clearDate:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},SingleDatePickerInput_clearDate__default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},SingleDatePickerInput_clearDate__small:{padding:6},SingleDatePickerInput_clearDate__hide:{visibility:"hidden"},SingleDatePickerInput_clearDate_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},SingleDatePickerInput_clearDate_svg__small:{height:9},SingleDatePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},SingleDatePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}))(k)},function(e,t,n){"use strict";n.r(t);var r=n(11),o=n.n(r),i=n(1),a=n.n(i),s=n(4),c=n.n(s),l=!("undefined"==typeof window||!window.document||!window.document.createElement),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=function(e){function t(){return d(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return l?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),o.a.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(a.a.Component);h.propTypes={children:c.a.node.isRequired,node:c.a.any};var p=h,v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=function(e){function t(){return m(this,t),b(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),v(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){o.a.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=a.a.cloneElement(this.props.children)),this.portal=o.a.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(a.a.Component),y=g;g.propTypes={children:c.a.node.isRequired,node:c.a.any};var k=o.a.createPortal?p:y,_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var w=27,O=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.portalNode=null,n.state={active:!!e.defaultOpen},n.openPortal=n.openPortal.bind(n),n.closePortal=n.closePortal.bind(n),n.wrapWithPortal=n.wrapWithPortal.bind(n),n.handleOutsideMouseClick=n.handleOutsideMouseClick.bind(n),n.handleKeydown=n.handleKeydown.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),_(t,[{key:"componentDidMount",value:function(){this.props.closeOnEsc&&document.addEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.addEventListener("click",this.handleOutsideMouseClick)}},{key:"componentWillUnmount",value:function(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.removeEventListener("click",this.handleOutsideMouseClick)}},{key:"openPortal",value:function(e){this.state.active||(e&&e.nativeEvent&&e.nativeEvent.stopImmediatePropagation(),this.setState({active:!0},this.props.onOpen))}},{key:"closePortal",value:function(){this.state.active&&this.setState({active:!1},this.props.onClose)}},{key:"wrapWithPortal",value:function(e){var t=this;return this.state.active?a.a.createElement(k,{node:this.props.node,key:"react-portal",ref:function(e){return t.portalNode=e}},e):null}},{key:"handleOutsideMouseClick",value:function(e){if(this.state.active){var t=this.portalNode.props.node||this.portalNode.defaultNode;!t||t.contains(e.target)||e.button&&0!==e.button||this.closePortal()}}},{key:"handleKeydown",value:function(e){e.keyCode===w&&this.state.active&&this.closePortal()}},{key:"render",value:function(){return this.props.children({openPortal:this.openPortal,closePortal:this.closePortal,portal:this.wrapWithPortal,isOpen:this.state.active})}}]),t}(a.a.Component);O.propTypes={children:c.a.func.isRequired,defaultOpen:c.a.bool,node:c.a.any,closeOnEsc:c.a.bool,closeOnOutsideClick:c.a.bool,onOpen:c.a.func,onClose:c.a.func},O.defaultProps={onOpen:function(){},onClose:function(){}};var S=O;n.d(t,"Portal",(function(){return k})),n.d(t,"PortalWithState",(function(){return S}))},function(e,t,n){"use strict";e.exports=n(144)},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,o=void 0===n?24:n,i=e.onClick,s=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-star",s,(t=o,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,height:o,width:o,onClick:i},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.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"})))};var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(156),o=n(157),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(158)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(1)),a=c(n(3)),s=c(n(4));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(a.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(2),s=(r=a)&&r.__esModule?r:{default:r},c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return i(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=c},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=n},function(e,t,n){var r=n(5),o=n(6);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(7);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},function(e,t){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}}])},e.exports=r()},function(e,t,n){var r;!function(o,i,a){if(o){for(var s,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},l={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},f=1;f<20;++f)c[111+f]="f"+f;for(f=0;f<=9;++f)c[f+96]=f.toString();g.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},g.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},g.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},g.prototype.reset=function(){return this._callbacks={},this._directMap={},this},g.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==i&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},g.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},g.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t]);s=null},g.init=function(){var e=g(i);for(var t in e)"_"!==t.charAt(0)&&(g[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},g.init(),o.Mousetrap=g,e.exports&&(e.exports=g),void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r)}function h(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!s)for(var e in s={},c)e>95&&e<112||c.hasOwnProperty(e)&&(s[c[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function b(e,t){var n,r,o,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)r=n[o],d[r]&&(r=d[r]),t&&"keypress"!=t&&u[r]&&(r=u[r],i.push("shift")),v(r)&&i.push(r);return{key:r,modifiers:i,action:t=m(r,i,t)}}function g(e){var t=this;if(e=e||i,!(t instanceof g))return new g(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},o=!1,a=!1,s=!1;function c(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function l(e,n,o,i,a,s){var c,l,u,d,f=[],h=o.type;if(!t._callbacks[e])return[];for("keyup"==h&&v(e)&&(n=[e]),c=0;c<t._callbacks[e].length;++c)if(l=t._callbacks[e][c],(i||!l.seq||r[l.seq]==l.level)&&h==l.action&&("keypress"==h&&!o.metaKey&&!o.ctrlKey||(u=n,d=l.modifiers,u.sort().join(",")===d.sort().join(",")))){var p=!i&&l.combo==a,m=i&&l.seq==i&&l.level==s;(p||m)&&t._callbacks[e].splice(c,1),f.push(l)}return f}function u(e,n,r,o){t.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function d(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=p(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function f(e,t,i,a){function l(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(c,1e3)}}function d(t){u(i,t,e),"keyup"!==a&&(o=p(t)),setTimeout(c,10)}r[e]=0;for(var f=0;f<t.length;++f){var h=f+1===t.length?d:l(a||b(t[f+1]).action);m(t[f],h,a,e,f)}}function m(e,n,r,o,i){t._directMap[e+":"+r]=n;var a,s=(e=e.replace(/\s+/g," ")).split(" ");s.length>1?f(e,s,n,r):(a=b(e,r),t._callbacks[a.key]=t._callbacks[a.key]||[],l(a.key,a.modifiers,{type:a.action},o,e,i),t._callbacks[a.key][o?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,o=l(e,t,n),i={},d=0,f=!1;for(r=0;r<o.length;++r)o[r].seq&&(d=Math.max(d,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=d)continue;f=!0,i[o[r].seq]=1,u(o[r].callback,n,o[r].combo,o[r].seq)}else f||u(o[r].callback,n,o[r].combo);var h="keypress"==n.type&&a;n.type!=s||v(e)||h||c(i),a=f&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)m(e[r],t,n)},h(e,"keypress",d),h(e,"keydown",d),h(e,"keyup",d)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(e,t,n){e.exports=n(192)},function(e,t,n){var r;(function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var i={},a={},s={},c=o(!0),l="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};function d(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var a=n+" sub-extension "+o+": ",s=e[o];if("object"!=typeof s)return r.valid=!1,r.error=a+"must be an object, but "+typeof s+" given",r;if(!i.helper.isString(s.type))return r.valid=!1,r.error=a+'property "type" must be a string, but '+typeof s.type+" given",r;var c=s.type=s.type.toLowerCase();if("language"===c&&(c=s.type="lang"),"html"===c&&(c=s.type="output"),"lang"!==c&&"output"!==c&&"listener"!==c)return r.valid=!1,r.error=a+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===c){if(i.helper.isUndefined(s.listeners))return r.valid=!1,r.error=a+'. Extensions of type "listener" must have a property called "listeners"',r}else if(i.helper.isUndefined(s.filter)&&i.helper.isUndefined(s.regex))return r.valid=!1,r.error=a+c+' extensions must define either a "regex" property or a "filter" method',r;if(s.listeners){if("object"!=typeof s.listeners)return r.valid=!1,r.error=a+'"listeners" property must be an object but '+typeof s.listeners+" given",r;for(var l in s.listeners)if(s.listeners.hasOwnProperty(l)&&"function"!=typeof s.listeners[l])return r.valid=!1,r.error=a+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+typeof s.listeners[l]+" given",r}if(s.filter){if("function"!=typeof s.filter)return r.valid=!1,r.error=a+'"filter" must be a function, but '+typeof s.filter+" given",r}else if(s.regex){if(i.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return r.valid=!1,r.error=a+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",r;if(i.helper.isUndefined(s.replace))return r.valid=!1,r.error=a+'"regex" extensions must implement a replace string or function',r}}return r}function f(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return c[e]=t,this},i.getOption=function(e){"use strict";return c[e]},i.getOptions=function(){"use strict";return c},i.resetOptions=function(){"use strict";c=o(!0)},i.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=u[e];for(var n in l=e,t)t.hasOwnProperty(n)&&(c[n]=t[n])},i.getFlavor=function(){"use strict";return l},i.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},i.getDefaultOptions=function(e){"use strict";return o(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var n=d(t,e);if(!n.valid)throw Error(n.error);s[e]=t},i.getAllExtensions=function(){"use strict";return s},i.removeExtension=function(e){"use strict";delete s[e]},i.resetExtensions=function(){"use strict";s={}},i.validateExtension=function(e){"use strict";var t=d(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=f,i.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,f)},i.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var h=function(e,t,n,r){"use strict";var o,i,a,s,c,l=r||"",u=l.indexOf("g")>-1,d=new RegExp(t+"|"+n,"g"+l.replace(/g/g,"")),f=new RegExp(t,l.replace(/g/g,"")),h=[];do{for(o=0;a=d.exec(e);)if(f.test(a[0]))o++||(s=(i=d.lastIndex)-a[0].length);else if(o&&!--o){c=a.index+a[0].length;var p={left:{start:s,end:i},match:{start:i,end:a.index},right:{start:a.index,end:c},wholeMatch:{start:s,end:c}};if(h.push(p),!u)return h}}while(o&&(d.lastIndex=i));return h};i.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=h(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},i.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!i.helper.isFunction(t)){var a=t;t=function(){return a}}var s=h(e,n,r,o),c=e,l=s.length;if(l>0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d<l;++d)u.push(t(e.slice(s[d].wholeMatch.start,s[d].wholeMatch.end),e.slice(s[d].match.start,s[d].match.end),e.slice(s[d].left.start,s[d].left.end),e.slice(s[d].right.start,s[d].right.end))),d<l-1&&u.push(e.slice(s[d].wholeMatch.end,s[d+1].wholeMatch.start));s[l-1].wholeMatch.end<e.length&&u.push(e.slice(s[l-1].wholeMatch.end)),c=u.join("")}return c},i.helper.regexIndexOf=function(e,t,n){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}))},i.helper.padEnd=function(e,t,n){"use strict";return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=l,f={parsed:{},raw:"",format:""};function h(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=d(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var o=d(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var c in e[a].listeners)e[a].listeners.hasOwnProperty(c)&&p(c,e[a].listeners[c])}}function p(e,t){if(!i.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}!function(){for(var n in e=e||{},c)c.hasOwnProperty(n)&&(t[n]=c[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.extensions&&i.helper.forEach(t.extensions,h)}(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return p(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=i.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),i.helper.forEach(n,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),e=i.subParser("metadata")(e,t,o),e=i.subParser("hashPreCodeTags")(e,t,o),e=i.subParser("githubCodeBlocks")(e,t,o),e=i.subParser("hashHTMLBlocks")(e,t,o),e=i.subParser("hashCodeTags")(e,t,o),e=i.subParser("stripLinkDefinitions")(e,t,o),e=i.subParser("blockGamut")(e,t,o),e=i.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=i.subParser("completeHTMLDocument")(e,t,o),i.helper.forEach(r,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),f=o.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:function(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r<t.length;++r)if(1===t[r].childElementCount&&"code"===t[r].firstChild.tagName.toLowerCase()){var o=t[r].firstChild.innerHTML.trim(),a=t[r].firstChild.getAttribute("data-language")||"";if(""===a)for(var s=t[r].firstChild.className.split(" "),c=0;c<s.length;++c){var l=s[c].match(/^language-(.+)$/);if(null!==l){a=l[1];break}}o=i.helper.unescapeHTMLEntities(o),n.push(o),t[r].outerHTML='<precode language="'+a+'" precodenum="'+r.toString()+'"></precode>'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}(n)};!function e(t){for(var n=0;n<t.childNodes.length;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(n);for(var o=n.childNodes,a="",s=0;s<o.length;s++)a+=i.subParser("makeMarkdown.node")(o[s],r);return a},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){h(e,t=t||null)},this.useExtension=function(e){h(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=u[e];for(var r in a=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],a=0;a<n.length;++a)n[a]===o&&n[a].splice(a,1);for(;0<r.length;++a)r[0]===o&&r[0].splice(a,1)}},this.getAllExtensions=function(){return{language:n,output:r}},this.getMetadata=function(e){return e?f.raw:f.parsed},this.getMetadataFormat=function(){return f.format},this._setMetadataPair=function(e,t){f.parsed[e]=t},this._setMetadataFormat=function(e){f.format=e},this._setMetadataRaw=function(e){f.raw=e}},i.subParser("anchors",(function(e,t,n){"use strict";var r=function(e,r,o,a,s,c,l){if(i.helper.isUndefined(l)&&(l=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(l=n.gTitles[o])}var u='<a href="'+(a=a.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"';return""!==l&&null!==l&&(u+=' title="'+(l=(l=l.replace(/"/g,"&quot;")).replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(a)&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,a),c="";return t.openLinksInNewWindow&&(c=' target="¨E95Eblank"'),n+'<a href="'+s+'"'+c+">"+o+"</a>"}))),e=n.converter._dispatch("anchors.after",e,t,n)}));var p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,v=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,m=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,b=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,a,s,c){var l=r=r.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),u="",d="",f=n||"",h=c||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' target="¨E95Eblank"'),f+'<a href="'+r+'"'+d+">"+l+"</a>"+u+h}},k=function(e,t){"use strict";return function(n,r,o){var a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+'<a href="'+a+'">'+o+"</a>"}};i.subParser("autoLinks",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(m,y(t))).replace(g,k(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)})),i.subParser("simplifiedAutoLinks",(function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(v,y(t)):e.replace(p,y(t))).replace(b,k(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),i.subParser("blockGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)})),i.subParser("blockQuotes",(function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,n),e=(e=(e=i.subParser("blockGamut")(e,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,n)})),e=n.converter._dispatch("blockQuotes.after",e,t,n)})),i.subParser("codeBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,r,o){var a=r,s=o,c="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),a="<pre><code>"+a+c+"</code></pre>",i.subParser("hashBlock")(a,t,n)+s}))).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)})),i.subParser("codeSpans",(function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,r,o,a){var s=a;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=r+"<code>"+(s=i.subParser("encodeCode")(s,t,n))+"</code>",s=i.subParser("hashHTMLSpans")(s,t,n)})),e=n.converter._dispatch("codeSpans.after",e,t,n)})),i.subParser("completeHTMLDocument",(function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",o="<!DOCTYPE HTML>\n",i="",a='<meta charset="utf-8">\n',s="",c="";for(var l in void 0!==n.metadata.parsed.doctype&&(o="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(a='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":i="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":a="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+n.metadata.parsed[l]+'"',c+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n';break;default:c+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n'}return e=o+"<html"+s+">\n<head>\n"+i+a+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),i.subParser("detab",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}))).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)})),i.subParser("ellipsis",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n)})),i.subParser("emoji",(function(e,t,n){"use strict";if(!t.emoji)return e;return e=(e=n.converter._dispatch("emoji.before",e,t,n)).replace(/:([\S]+?):/g,(function(e,t){return i.helper.emojis.hasOwnProperty(t)?i.helper.emojis[t]:e})),e=n.converter._dispatch("emoji.after",e,t,n)})),i.subParser("encodeAmpsAndAngles",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),i.subParser("encodeBackslashEscapes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)})),i.subParser("encodeCode",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)})),i.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)})),i.subParser("githubCodeBlocks",(function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,r,o,a){var s=t.omitExtraWLInCodeBlocks?"":"\n";return a=i.subParser("encodeCode")(a,t,n),a="<pre><code"+(o?' class="'+o+" language-"+o+'"':"")+">"+(a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",a=i.subParser("hashBlock")(a,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"}))).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e})),i.subParser("hashBlock",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)})),i.subParser("hashCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)})),i.subParser("hashElement",(function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}})),i.subParser("hashHTMLBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"&lt;"+t+"&gt;"})));for(var a=0;a<r.length;++a)for(var s,c=new RegExp("^ {0,3}(<"+r[a]+"\\b[^>]*>)","im"),l="<"+r[a]+"\\b[^>]*>",u="</"+r[a]+">";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),f=i.helper.replaceRecursiveRegExp(d[1],o,l,u,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)})),i.subParser("hashHTMLSpans",(function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return r(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<[^>]+?>/gi,(function(e){return r(e)})),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),i.subParser("unhashHTMLSpans",(function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i){console.error("maximum nesting of 10 spans reached!!!");break}++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)})),i.subParser("hashPreCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)})),i.subParser("headers",(function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(o,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+c(o)+'"',l="<h"+r+s+">"+a+"</h"+r+">";return i.subParser("hashBlock")(l,t,n)}))).replace(a,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+c(o)+'"',l=r+1,u="<h"+l+s+">"+a+"</h"+l+">";return i.subParser("hashBlock")(u,t,n)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}return e=e.replace(s,(function(e,o,a){var s=a;t.customizedHeaderId&&(s=a.replace(/\s?\{([^{]+?)}\s*$/,""));var l=i.subParser("spanGamut")(s,t,n),u=t.noHeaderId?"":' id="'+c(a)+'"',d=r-1+o.length,f="<h"+d+u+">"+l+"</h"+d+">";return i.subParser("hashBlock")(f,t,n)})),e=n.converter._dispatch("headers.after",e,t,n)})),i.subParser("horizontalRule",(function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("<hr />",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)})),i.subParser("images",(function(e,t,n){"use strict";function r(e,t,r,o,a,s,c,l){var u=n.gUrls,d=n.gTitles,f=n.gDimensions;if(r=r.toLowerCase(),l||(l=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,i.helper.isUndefined(u[r]))return e;o=u[r],i.helper.isUndefined(d[r])||(l=d[r]),i.helper.isUndefined(f[r])||(a=f[r].width,s=f[r].height)}t=t.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var h='<img src="'+(o=o.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'" alt="'+t+'"';return l&&i.helper.isString(l)&&(h+=' title="'+(l=l.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),a&&s&&(h+=' width="'+(a="*"===a?"auto":a)+'"',h+=' height="'+(s="*"===s?"auto":s)+'"'),h+=" />"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,o,i,a,s,c){return r(e,t,n,o=o.replace(/\s/g,""),i,a,s,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)})),i.subParser("italicsAndBold",(function(e,t,n){"use strict";function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return r(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return r(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return r(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)})),i.subParser("lists",(function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,(function(e,r,o,s,c,l,u){u=u&&""!==u.trim();var d=i.subParser("outdent")(c,t,n),f="";return l&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"}))),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),r||d.search(/\n{2,}/)>-1?(d=i.subParser("githubCodeBlocks")(d,t,n),d=i.subParser("blockGamut")(d,t,n)):(d=(d=i.subParser("lists")(d,t,n)).replace(/\n$/,""),d=(d=i.subParser("hashHTMLBlocks")(d,t,n)).replace(/\n\n+/g,"\n\n"),d=a?i.subParser("paragraphs")(d,t,n):i.subParser("spanGamut")(d,t,n)),d="<li"+f+">"+(d=d.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function a(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===n?a:s,l="";if(-1!==e.search(c))!function t(u){var d=u.search(c),f=o(e,n);-1!==d?(l+="\n\n<"+n+f+">\n"+r(u.slice(0,d),!!i)+"</"+n+">\n",c="ul"===(n="ul"===n?"ol":"ul")?a:s,t(u.slice(d))):l+="\n\n<"+n+f+">\n"+r(u,!!i)+"</"+n+">\n"}(e);else{var u=o(e,n);l="\n\n<"+n+u+">\n"+r(e,!!i)+"</"+n+">\n"}return l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=(e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return a(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,r){return a(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)})),i.subParser("metadata",(function(e,t,n){"use strict";if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,r){return n.metadata.parsed[t]=r,""}))}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return r(n),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,o){return t&&(n.metadata.format=t),r(o),"¨M"}))).replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)})),i.subParser("outdent",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)})),i.subParser("paragraphs",(function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,s=0;s<a;s++){var c=r[s];c.search(/¨(K|G)(\d+)\1/g)>=0?o.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,n)).replace(/^([ \t]*)/g,"<p>"),c+="</p>",o.push(c))}for(a=o.length,s=0;s<a;s++){for(var l="",u=o[s],d=!1;/¨(K|G)(\d+)\1/.test(u);){var f=RegExp.$1,h=RegExp.$2;l=(l="K"===f?n.gHtmlBlocks[h]:d?i.subParser("encodeCode")(n.ghCodeBlocks[h].text,t,n):n.ghCodeBlocks[h].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(d=!0)}o[s]=u}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)})),i.subParser("runExtension",(function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("emoji")(e,t,n),e=i.subParser("underline")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("ellipsis")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)})),i.subParser("strikethrough",(function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}(r)})),e=n.converter._dispatch("strikethrough.after",e,t,n)),e})),i.subParser("stripLinkDefinitions",(function(e,t,n){"use strict";var r=function(e,r,o,a,s,c,l){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),c?c+l:(l&&(n.gTitles[r]=l.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&a&&s&&(n.gDimensions[r]={width:a,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,r)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,r)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return"<td"+r+">"+i.subParser("spanGamut")(e,t,n)+"</td>\n"}function o(e){var o,a=e.split("\n");for(o=0;o<a.length;++o)/^ {0,3}\|/.test(a[o])&&(a[o]=a[o].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(a[o])&&(a[o]=a[o].replace(/\|[ \t]*$/,"")),a[o]=i.subParser("codeSpans")(a[o],t,n);var s,c,l,u,d=a[0].split("|").map((function(e){return e.trim()})),f=a[1].split("|").map((function(e){return e.trim()})),h=[],p=[],v=[],m=[];for(a.shift(),a.shift(),o=0;o<a.length;++o)""!==a[o].trim()&&h.push(a[o].split("|").map((function(e){return e.trim()})));if(d.length<f.length)return e;for(o=0;o<f.length;++o)v.push((s=f[o],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(o=0;o<d.length;++o)i.helper.isUndefined(v[o])&&(v[o]=""),p.push((c=d[o],l=v[o],u=void 0,u="",c=c.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+c.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+l+">"+(c=i.subParser("spanGamut")(c,t,n))+"</th>\n"));for(o=0;o<h.length;++o){for(var b=[],g=0;g<p.length;++g)i.helper.isUndefined(h[o][g]),b.push(r(h[o][g],v[g]));m.push(b)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}(p,m)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)})),i.subParser("underline",(function(e,t,n){"use strict";return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e})),i.subParser("unescapeSpecialChars",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a){var s=i.subParser("makeMarkdown.node")(r[a],t);""!==s&&(n+=s)}return n="> "+(n=n.trim()).split("\n").join("\n> ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="*"}return n})),i.subParser("makeMarkdown.header",(function(e,t,n){"use strict";var r=new Array(n+1).join("#"),o="";if(e.hasChildNodes()){o=r+" ";for(var a=e.childNodes,s=a.length,c=0;c<s;++c)o+=i.subParser("makeMarkdown.node")(a[c],t)}return o})),i.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),i.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,o=r.length;n="[";for(var a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="](",n+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n})),i.subParser("makeMarkdown.list",(function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,a=o.length,s=e.getAttribute("start")||1,c=0;c<a;++c)if(void 0!==o[c].tagName&&"li"===o[c].tagName.toLowerCase()){r+=("ol"===n?s.toString()+". ":"- ")+i.subParser("makeMarkdown.listItem")(o[c],t),++s}return(r+="\n\x3c!-- --\x3e\n").trim()})),i.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var n="",r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return/\n$/.test(n)?n=n.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):n+="\n",n})),i.subParser("makeMarkdown.node",(function(e,t,n){"use strict";n=n||!1;var r="";if(3===e.nodeType)return i.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":n||(r=i.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":n||(r=i.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":n||(r=i.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":n||(r=i.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":n||(r=i.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":n||(r=i.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":n||(r=i.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":n||(r=i.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":n||(r=i.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":n||(r=i.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":n||(r=i.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":n||(r=i.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":n||(r=i.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":n||(r=i.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":r=i.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":r=i.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":r=i.subParser("makeMarkdown.strong")(e,t);break;case"del":r=i.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":r=i.subParser("makeMarkdown.links")(e,t);break;case"img":r=i.subParser("makeMarkdown.image")(e,t);break;default:r=e.outerHTML+"\n\n"}return r})),i.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return n=n.trim()})),i.subParser("makeMarkdown.pre",(function(e,t){"use strict";var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="~~"}return n})),i.subParser("makeMarkdown.strong",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="**";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="**"}return n})),i.subParser("makeMarkdown.table",(function(e,t){"use strict";var n,r,o="",a=[[],[]],s=e.querySelectorAll("thead>tr>th"),c=e.querySelectorAll("tbody>tr");for(n=0;n<s.length;++n){var l=i.subParser("makeMarkdown.tableCell")(s[n],t),u="---";if(s[n].hasAttribute("style"))switch(s[n].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}a[0][n]=l.trim(),a[1][n]=u}for(n=0;n<c.length;++n){var d=a.push([])-1,f=c[n].getElementsByTagName("td");for(r=0;r<s.length;++r){var h=" ";void 0!==f[r]&&(h=i.subParser("makeMarkdown.tableCell")(f[r],t)),a[d].push(h)}}var p=3;for(n=0;n<a.length;++n)for(r=0;r<a[n].length;++r){var v=a[n][r].length;v>p&&(p=v)}for(n=0;n<a.length;++n){for(r=0;r<a[n].length;++r)1===n?":"===a[n][r].slice(-1)?a[n][r]=i.helper.padEnd(a[n][r].slice(-1),p-1,"-")+":":a[n][r]=i.helper.padEnd(a[n][r],p,"-"):a[n][r]=i.helper.padEnd(a[n][r],p);o+="| "+a[n].join(" | ")+" |\n"}return o.trim()})),i.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var n="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t,!0);return n.trim()})),i.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=i.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(r=function(){"use strict";return i}.call(t,n,t,e))||(e.exports=r)}).call(this)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var o,i,a=n[r.type],s=t(r);if(a)for(o=0;o<a.length;o++)(i=a[o](r,e))&&e.dispatch(i);return s}}}).effects=n,t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(2),s=n(3),c=n(5),l=n(6),u=n(7),d=n(8),f=n(9),h=n(10),p=n(11),v=n(13),m=n(14),b=n(16),g=n(17);t.Diff=i.default,t.diffChars=a.diffChars,t.diffWords=s.diffWords,t.diffWordsWithSpace=s.diffWordsWithSpace,t.diffLines=c.diffLines,t.diffTrimmedLines=c.diffTrimmedLines,t.diffSentences=l.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=h.applyPatch,t.applyPatches=h.applyPatches,t.parsePatch=p.parsePatch,t.merge=v.merge,t.convertChangesToDMP=b.convertChangesToDMP,t.convertChangesToXML=g.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,a=t.length,s=0,c=0;i<a;i++){var l=t[i];if(l.removed){if(l.value=e.join(r.slice(c,c+l.count)),c+=l.count,i&&t[i-1].added){var u=t[i-1];t[i-1]=t[i],t[i]=u}}else{if(!l.added&&o){var d=n.slice(s,s+l.count);d=d.map((function(e,t){var n=r[c+t];return n.length>e.length?n:e})),l.value=e.join(d)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(c+=l.count)}}var f=t[a-1];return a>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var a=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var c=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,u=1,d=c+l,f=[{newPos:-1,components:[]}],h=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=c&&h+1>=l)return s([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],h=f[n+1],p=(h?h.newPos:0)-n;d&&(f[n-1]=void 0);var v=d&&d.newPos+1<c,m=h&&0<=p&&p<l;if(v||m){if(!v||m&&d.newPos<h.newPos?(i=o(h),a.pushComponent(i.components,void 0,!0)):((i=d).newPos++,a.pushComponent(i.components,!0,void 0)),p=a.extractCommon(i,t,e,n),i.newPos+1>=c&&p+1>=l)return s(r(a,i.components,t,e,a.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var v=p();if(v)return v}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,a=e.newPos,s=a-r,c=0;a+1<o&&s+1<i&&this.equals(t[a+1],n[s+1]);)a++,s++,c++;return c&&e.components.push({count:c}),e.newPos=a,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},function(e,t,n){"use strict";t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.characterDiff=new i.default},function(e,t,n){"use strict";t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,n){return n=(0,a.generateOptions)(n,{ignoreWhitespace:!0}),l.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return l.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),s=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,c=/\S/,l=t.wordDiff=new i.default;l.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!c.test(e)&&!c.test(t)},l.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&s.test(t[n])&&s.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}},function(e,t){"use strict";t.__esModule=!0,t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},function(e,t,n){"use strict";t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,n){return s.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,a.generateOptions)(n,{ignoreWhitespace:!0});return s.diff(e,t,r)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),s=t.lineDiff=new i.default;s.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t}},function(e,t,n){"use strict";t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.sentenceDiff=new i.default;a.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.cssDiff=new i.default;a.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.jsonDiff=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.diffJson=function(e,t,n){return l.diff(e,t,n)},t.canonicalize=u;var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o},s=n(5),c=Object.prototype.toString,l=t.jsonDiff=new a.default;function u(e,t,n,o,i){t=t||[],n=n||[],o&&(e=o(i,e));var a=void 0;for(a=0;a<t.length;a+=1)if(t[a]===e)return n[a];var s=void 0;if("[object Array]"===c.call(e)){for(t.push(e),s=new Array(e.length),n.push(s),a=0;a<e.length;a+=1)s[a]=u(e[a],t,n,o,i);return t.pop(),n.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),"object"===(void 0===e?"undefined":r(e))&&null!==e){t.push(e),s={},n.push(s);var l=[],d=void 0;for(d in e)e.hasOwnProperty(d)&&l.push(d);for(l.sort(),a=0;a<l.length;a+=1)s[d=l[a]]=u(e[d],t,n,o,d);t.pop(),n.pop()}else s=e;return s}l.useLongestToken=!0,l.tokenize=s.lineDiff.tokenize,l.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(u(e,null,null,o),o," ")},l.equals=function(e,t){return a.default.prototype.equals.call(l,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},function(e,t,n){"use strict";t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.arrayDiff=new i.default;a.tokenize=function(e){return e.slice()},a.join=a.removeEmpty=function(e){return e}},function(e,t,n){"use strict";t.__esModule=!0,t.applyPatch=s,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,o.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=s(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var r,o=n(11),i=n(12),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,c=n.compareLine||function(e,t,n,r){return t===r},l=0,u=n.fuzzFactor||0,d=0,f=0,h=void 0,p=void 0;function v(e,t){for(var n=0;n<e.lines.length;n++){var o=e.lines[n],i=o.length>0?o[0]:" ",a=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!c(t+1,r[t],i,a)&&++l>u)return!1;t++}}return!0}for(var m=0;m<s.length;m++){for(var b=s[m],g=r.length-b.oldLines,y=0,k=f+b.oldStart-1,_=(0,a.default)(k,d,g);void 0!==y;y=_())if(v(b,k+y)){b.offset=f+=y;break}if(void 0===y)return!1;d=b.offset+b.oldStart+b.oldLines}for(var w=0,O=0;O<s.length;O++){var S=s[O],E=S.oldStart+S.offset+w-1;w+=S.newLines-S.oldLines,E<0&&(E=0);for(var C=0;C<S.lines.length;C++){var T=S.lines[C],x=T.length>0?T[0]:" ",D=T.length>0?T.substr(1):T,M=S.linedelimiters[C];if(" "===x)E++;else if("-"===x)r.splice(E,1),i.splice(E,1);else if("+"===x)r.splice(E,0,D),i.splice(E,0,M),E++;else if("\\"===x){var j=S.lines[C-1]?S.lines[C-1][0]:null;"+"===j?h=!0:"-"===j&&(p=!0)}}}if(h)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var I=0;I<r.length-1;I++)r[I]=r[I]+i[I];return r.join("")}},function(e,t){"use strict";t.__esModule=!0,t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function a(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);a&&(e.index=a[1]),i++}for(s(e),s(e),e.hunks=[];i<n.length;){var l=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))e.hunks.push(c());else{if(l&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(l));i++}}}function s(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),a=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[r+"FileName"]=a,e[r+"Header"]=(o[1]||"").trim(),i++}}function c(){for(var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+o[1],oldLines:+o[2]||1,newStart:+o[3],newLines:+o[4]||1,lines:[],linedelimiters:[]},s=0,c=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var l=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;a.lines.push(n[i]),a.linedelimiters.push(r[i]||"\n"),"+"===l?s++:"-"===l?c++:" "===l&&(s++,c++)}if(s||1!==a.newLines||(a.newLines=0),c||1!==a.oldLines||(a.oldLines=0),t.strict){if(s!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(c!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return a}for(;i<n.length;)a();return o}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){var r=!0,o=!1,i=!1,a=1;return function s(){if(r&&!i){if(o?a++:r=!1,e+a<=n)return a;i=!0}if(!o)return i||(r=!0),t<=e-a?-a++:(o=!0,s())}}},function(e,t,n){"use strict";t.__esModule=!0,t.calcLineCount=s,t.merge=function(e,t,n){e=c(e,n),t=c(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(l(e)?l(t)?(r.oldFileName=u(r,e.oldFileName,t.oldFileName),r.newFileName=u(r,e.newFileName,t.newFileName),r.oldHeader=u(r,e.oldHeader,t.oldHeader),r.newHeader=u(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var o=0,i=0,a=0,s=0;o<e.hunks.length||i<t.hunks.length;){var p=e.hunks[o]||{oldStart:1/0},v=t.hunks[i]||{oldStart:1/0};if(d(p,v))r.hunks.push(f(p,a)),o++,s+=p.newLines-p.oldLines;else if(d(v,p))r.hunks.push(f(v,s)),i++,a+=v.newLines-v.oldLines;else{var m={oldStart:Math.min(p.oldStart,v.oldStart),oldLines:0,newStart:Math.min(p.newStart+a,v.oldStart+s),newLines:0,lines:[]};h(m,p.oldStart,p.lines,v.oldStart,v.lines),i++,o++,r.hunks.push(m)}}return r};var r=n(14),o=n(11),i=n(15);function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function s(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!=typeof t){var o=e(t.mine),i=e(t.theirs);void 0!==n&&(o.oldLines===i.oldLines?n+=o.oldLines:n=void 0),void 0!==r&&(o.newLines===i.newLines?r+=o.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function c(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return((0,r.structuredPatch)(void 0,void 0,t,e))}return e}function l(e){return e.newFileName&&e.newFileName!==e.oldFileName}function u(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function d(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function f(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function h(e,t,n,r,o){var i={offset:t,lines:n,index:0},c={offset:r,lines:o,index:0};for(b(e,i,c),b(e,c,i);i.index<i.lines.length&&c.index<c.lines.length;){var l=i.lines[i.index],u=c.lines[c.index];if("-"!==l[0]&&"+"!==l[0]||"-"!==u[0]&&"+"!==u[0])if("+"===l[0]&&" "===u[0]){var d;(d=e.lines).push.apply(d,a(y(i)))}else if("+"===u[0]&&" "===l[0]){var f;(f=e.lines).push.apply(f,a(y(c)))}else"-"===l[0]&&" "===u[0]?v(e,i,c):"-"===u[0]&&" "===l[0]?v(e,c,i,!0):l===u?(e.lines.push(l),i.index++,c.index++):m(e,y(i),y(c));else p(e,i,c)}g(e,i),g(e,c),s(e)}function p(e,t,n){var r=y(t),o=y(n);if(k(r)&&k(o)){var s,c;if((0,i.arrayStartsWith)(r,o)&&_(n,r,r.length-o.length))return void(s=e.lines).push.apply(s,a(r));if((0,i.arrayStartsWith)(o,r)&&_(t,o,o.length-r.length))return void(c=e.lines).push.apply(c,a(o))}else if((0,i.arrayEqual)(r,o)){var l;return void(l=e.lines).push.apply(l,a(r))}m(e,r,o)}function v(e,t,n,r){var o,i=y(t),s=function(e,t){for(var n=[],r=[],o=0,i=!1,a=!1;o<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],c=t[o];if("+"===c[0])break;if(i=i||" "!==s[0],r.push(c),o++,"+"===s[0])for(a=!0;"+"===s[0];)n.push(s),s=e.lines[++e.index];c.substr(1)===s.substr(1)?(n.push(s),e.index++):a=!0}if("+"===(t[o]||"")[0]&&i&&(a=!0),a)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);s.merged?(o=e.lines).push.apply(o,a(s.merged)):m(e,r?s:i,r?i:s)}function m(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function b(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function g(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function y(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function k(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function _(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}},function(e,t,n){"use strict";t.__esModule=!0,t.structuredPatch=i,t.createTwoFilesPatch=a,t.createPatch=function(e,t,n,r,o,i){return a(e,e,t,n,r,o,i)};var r=n(5);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n,i,a,s,c){c||(c={}),void 0===c.context&&(c.context=4);var l=(0,r.diffLines)(n,i,c);function u(e){return e.map((function(e){return" "+e}))}l.push({value:"",lines:[]});for(var d=[],f=0,h=0,p=[],v=1,m=1,b=function(e){var t=l[e],r=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=r,t.added||t.removed){var a;if(!f){var s=l[e-1];f=v,h=m,s&&(p=c.context>0?u(s.lines.slice(-c.context)):[],f-=p.length,h-=p.length)}(a=p).push.apply(a,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:v+=r.length}else{if(f)if(r.length<=2*c.context&&e<l.length-2){var b;(b=p).push.apply(b,o(u(r)))}else{var g,y=Math.min(r.length,c.context);(g=p).push.apply(g,o(u(r.slice(0,y))));var k={oldStart:f,oldLines:v-f+y,newStart:h,newLines:m-h+y,lines:p};if(e>=l.length-2&&r.length<=c.context){var _=/\n$/.test(n),w=/\n$/.test(i);0!=r.length||_?_&&w||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),f=0,h=0,p=[]}v+=r.length,m+=r.length}},g=0;g<l.length;g++)b(g);return{oldFileName:e,newFileName:t,oldHeader:a,newHeader:s,hunks:d}}function a(e,t,n,r,o,a,s){var c=i(e,t,n,r,o,a,s),l=[];e==t&&l.push("Index: "+e),l.push("==================================================================="),l.push("--- "+c.oldFileName+(void 0===c.oldHeader?"":"\t"+c.oldHeader)),l.push("+++ "+c.newFileName+(void 0===c.newHeader?"":"\t"+c.newHeader));for(var u=0;u<c.hunks.length;u++){var d=c.hunks[u];l.push("@@ -"+d.oldStart+","+d.oldLines+" +"+d.newStart+","+d.newLines+" @@"),l.push.apply(l,d.lines)}return l.join("\n")+"\n"}},function(e,t){"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}t.__esModule=!0,t.arrayEqual=function(e,t){return e.length===t.length&&n(e,t)},t.arrayStartsWith=n},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],n=void 0,r=void 0,o=0;o<e.length;o++)n=e[o],r=n.added?1:n.removed?-1:0,t.push([r,n.value]);return t}},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push((o=r.value,void 0,o.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"))),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}var o;return t.join("")}}])},e.exports=r()},function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],s=!0;return function e(d){var f=n?i(d):d,h={},p=!0,v={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){v.isRoot||(v.parent.node[v.key]=e),v.node=e,t&&(p=!1)},delete:function(e){delete v.parent.node[v.key],e&&(p=!1)},remove:function(e){c(v.parent.node)?v.parent.node.splice(v.key,1):delete v.parent.node[v.key],e&&(p=!1)},keys:null,before:function(e){h.before=e},after:function(e){h.after=e},pre:function(e){h.pre=e},post:function(e){h.post=e},stop:function(){s=!1},block:function(){p=!1}};if(!s)return v;function m(){if("object"==typeof v.node&&null!==v.node){v.keys&&v.node_===v.node||(v.keys=a(v.node)),v.isLeaf=0==v.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===d){v.circular=o[e];break}}else v.isLeaf=!0,v.keys=null;v.notLeaf=!v.isLeaf,v.notRoot=!v.isRoot}m();var b=t.call(v,v.node);return void 0!==b&&v.update&&v.update(b),h.before&&h.before.call(v,v.node),p?("object"!=typeof v.node||null===v.node||v.circular||(o.push(v),m(),l(v.keys,(function(t,o){r.push(t),h.pre&&h.pre.call(v,v.node[t],t);var i=e(v.node[t]);n&&u.call(v.node,t)&&(v.node[t]=i.node),i.isLast=o==v.keys.length-1,i.isFirst=0==o,h.post&&h.post.call(v,i),r.pop()})),o.pop()),h.after&&h.after.call(v,v.node),v):v}(e).node}function i(e){if("object"==typeof e&&null!==e){var t;if(c(e))t=[];else if("[object Date]"===s(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===s(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===s(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===s(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===s(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===s(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},r=function(){};r.prototype=n,t=new r}return l(a(e),(function(n){t[n]=e[n]})),t}return e}r.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r)){t=void 0;break}t=t[r]}return t},r.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r))return!1;t=t[r]}return!0},r.prototype.set=function(e,t){for(var n=this.value,r=0;r<e.length-1;r++){var o=e[r];u.call(n,o)||(n[o]={}),n=n[o]}return n[e[r]]=t,t},r.prototype.map=function(e){return o(this.value,e,!0)},r.prototype.forEach=function(e){return this.value=o(this.value,e,!1),this.value},r.prototype.reduce=function(e,t){var n=1===arguments.length,r=n?this.value:t;return this.forEach((function(t){this.isRoot&&n||(r=e.call(this,r,t))})),r},r.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},r.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},r.prototype.clone=function(){var e=[],t=[];return function n(r){for(var o=0;o<e.length;o++)if(e[o]===r)return t[o];if("object"==typeof r&&null!==r){var s=i(r);return e.push(r),t.push(s),l(a(r),(function(e){s[e]=n(r[e])})),e.pop(),t.pop(),s}return r}(this.value)};var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function s(e){return Object.prototype.toString.call(e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};l(a(r.prototype),(function(e){n[e]=function(t){var n=[].slice.call(arguments,1),o=new r(t);return o[e].apply(o,n)}}));var u=Object.hasOwnProperty||function(e,t){return t in e}},function(e,t,n){"use strict";var r=n(59),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,d=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,v=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function g(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function y(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);g(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_={};function w(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||k}function O(){}function S(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||k}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&y("85"),this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},O.prototype=w.prototype;var E=S.prototype=new O;E.constructor=S,r(E,w.prototype),E.isPureReactComponent=!0;var C={current:null},T={current:null},x=Object.prototype.hasOwnProperty,D={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,n){var r=void 0,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,r)&&!D.hasOwnProperty(r)&&(o[r]=t[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===o[r]&&(o[r]=c[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:T.current}}function j(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var I=/\/+/g,P=[];function N(e,t,n,r){if(P.length){var o=P.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function R(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function L(e,t,n){return null==e?0:function e(t,n,r,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return r(o,t,""===n?"."+A(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=n+A(s=t[l],l);c+=e(s,u,r,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=b&&t[b]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(s=t.next()).done;)c+=e(s=s.value,u=n+A(s,l++),r,o);else"object"===s&&y("31","[object Object]"===(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return c}(e,"",t,n)}function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function z(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?H(e,r,n,(function(e){return e})):null!=e&&(j(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(I,"$&/")+"/")+n)),r.push(e))}function H(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(I,"$&/")+"/"),L(e,F,t=N(t,i,r,o)),R(t)}function V(){var e=C.current;return null===e&&y("321"),e}var B={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return H(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;L(e,z,t=N(null,null,t,n)),R(t)},count:function(e){return L(e,(function(){return null}),null)},toArray:function(e){var t=[];return H(e,t,null,(function(e){return e})),t},only:function(e){return j(e)||y("143"),e}},createRef:function(){return{current:null}},Component:w,PureComponent:S,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:h,render:e}},lazy:function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:v,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return V().useCallback(e,t)},useContext:function(e,t){return V().useContext(e,t)},useEffect:function(e,t){return V().useEffect(e,t)},useImperativeHandle:function(e,t,n){return V().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return V().useLayoutEffect(e,t)},useMemo:function(e,t){return V().useMemo(e,t)},useReducer:function(e,t,n){return V().useReducer(e,t,n)},useRef:function(e){return V().useRef(e)},useState:function(e){return V().useState(e)},Fragment:s,StrictMode:c,Suspense:p,createElement:M,cloneElement:function(e,t,n){null==e&&y("267",e);var o=void 0,a=r({},e.props),s=e.key,c=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,l=T.current),void 0!==t.key&&(s=""+t.key);var u=void 0;for(o in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)x.call(t,o)&&!D.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==u?u[o]:t[o])}if(1===(o=arguments.length-2))a.children=n;else if(1<o){u=Array(o);for(var d=0;d<o;d++)u[d]=arguments[d+2];a.children=u}return{$$typeof:i,type:e.type,key:s,ref:c,props:a,_owner:l}},createFactory:function(e){var t=M.bind(null,e);return t.type=e,t},isValidElement:j,version:"16.8.6",unstable_ConcurrentMode:f,unstable_Profiler:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:C,ReactCurrentOwner:T,assign:r}},U={default:B},W=U&&B||U;e.exports=W.default||W},function(e,t,n){"use strict";var r=n(1),o=n(59),i=n(142);function a(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function s(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);a(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function c(e,t,n,r,o,i,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(u){this.onError(u)}}r||s("227");var l=!1,u=null,d=!1,f=null,h={onError:function(e){l=!0,u=e}};function p(e,t,n,r,o,i,a,s,d){l=!1,u=null,c.apply(h,arguments)}var v=null,m={};function b(){if(v)for(var e in m){var t=m[e],n=v.indexOf(e);if(-1<n||s("96",e),!y[n])for(var r in t.extractEvents||s("97",e),y[n]=t,n=t.eventTypes){var o=void 0,i=n[r],a=t,c=r;k.hasOwnProperty(c)&&s("99",c),k[c]=i;var l=i.phasedRegistrationNames;if(l){for(o in l)l.hasOwnProperty(o)&&g(l[o],a,c);o=!0}else i.registrationName?(g(i.registrationName,a,c),o=!0):o=!1;o||s("98",r,e)}}}function g(e,t,n){_[e]&&s("100",e),_[e]=t,w[e]=t.eventTypes[n].dependencies}var y=[],k={},_={},w={},O=null,S=null,E=null;function C(e,t,n){var r=e.type||"unknown-event";e.currentTarget=E(n),function(e,t,n,r,o,i,a,c,h){if(p.apply(this,arguments),l){if(l){var v=u;l=!1,u=null}else s("198"),v=void 0;d||(d=!0,f=v)}}(r,t,void 0,e),e.currentTarget=null}function T(e,t){return null==t&&s("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function x(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var D=null;function M(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)C(e,t[r],n[r]);else t&&C(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var j={injectEventPluginOrder:function(e){v&&s("101"),v=Array.prototype.slice.call(e),b()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];m.hasOwnProperty(t)&&m[t]===r||(m[t]&&s("102",t),m[t]=r,n=!0)}n&&b()}};function I(e,t){var n=e.stateNode;if(!n)return null;var r=O(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&s("231",t,typeof n),n)}function P(e){if(null!==e&&(D=T(D,e)),e=D,D=null,e&&(x(e,M),D&&s("95"),d))throw e=f,d=!1,f=null,e}var N=Math.random().toString(36).slice(2),R="__reactInternalInstance$"+N,L="__reactEventHandlers$"+N;function A(e){if(e[R])return e[R];for(;!e[R];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[R]).tag||6===e.tag?e:null}function z(e){return!(e=e[R])||5!==e.tag&&6!==e.tag?null:e}function F(e){if(5===e.tag||6===e.tag)return e.stateNode;s("33")}function H(e){return e[L]||null}function V(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function B(e,t,n){(t=I(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=T(n._dispatchListeners,t),n._dispatchInstances=T(n._dispatchInstances,e))}function U(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=V(t);for(t=n.length;0<t--;)B(n[t],"captured",e);for(t=0;t<n.length;t++)B(n[t],"bubbled",e)}}function W(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=I(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=T(n._dispatchListeners,t),n._dispatchInstances=T(n._dispatchInstances,e))}function K(e){e&&e.dispatchConfig.registrationName&&W(e._targetInst,null,e)}function Y(e){x(e,U)}var $=!("undefined"==typeof window||!window.document||!window.document.createElement);function q(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var G={animationend:q("Animation","AnimationEnd"),animationiteration:q("Animation","AnimationIteration"),animationstart:q("Animation","AnimationStart"),transitionend:q("Transition","TransitionEnd")},Z={},X={};function Q(e){if(Z[e])return Z[e];if(!G[e])return e;var t,n=G[e];for(t in n)if(n.hasOwnProperty(t)&&t in X)return Z[e]=n[t];return e}$&&(X=document.createElement("div").style,"AnimationEvent"in window||(delete G.animationend.animation,delete G.animationiteration.animation,delete G.animationstart.animation),"TransitionEvent"in window||delete G.transitionend.transition);var J=Q("animationend"),ee=Q("animationiteration"),te=Q("animationstart"),ne=Q("transitionend"),re="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),oe=null,ie=null,ae=null;function se(){if(ae)return ae;var e,t,n=ie,r=n.length,o="value"in oe?oe.value:oe.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return ae=o.slice(e,1<t?1-t:void 0)}function ce(){return!0}function le(){return!1}function ue(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?ce:le,this.isPropagationStopped=le,this}function de(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function fe(e){e instanceof this||s("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function he(e){e.eventPool=[],e.getPooled=de,e.release=fe}o(ue.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ce)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ce)},persist:function(){this.isPersistent=ce},isPersistent:le,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=le,this._dispatchInstances=this._dispatchListeners=null}}),ue.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ue.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,he(n),n},he(ue);var pe=ue.extend({data:null}),ve=ue.extend({data:null}),me=[9,13,27,32],be=$&&"CompositionEvent"in window,ge=null;$&&"documentMode"in document&&(ge=document.documentMode);var ye=$&&"TextEvent"in window&&!ge,ke=$&&(!be||ge&&8<ge&&11>=ge),_e=String.fromCharCode(32),we={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Oe=!1;function Se(e,t){switch(e){case"keyup":return-1!==me.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Ee(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ce=!1;var Te={eventTypes:we,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(be)e:{switch(e){case"compositionstart":o=we.compositionStart;break e;case"compositionend":o=we.compositionEnd;break e;case"compositionupdate":o=we.compositionUpdate;break e}o=void 0}else Ce?Se(e,n)&&(o=we.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=we.compositionStart);return o?(ke&&"ko"!==n.locale&&(Ce||o!==we.compositionStart?o===we.compositionEnd&&Ce&&(i=se()):(ie="value"in(oe=r)?oe.value:oe.textContent,Ce=!0)),o=pe.getPooled(o,t,n,r),i?o.data=i:null!==(i=Ee(n))&&(o.data=i),Y(o),i=o):i=null,(e=ye?function(e,t){switch(e){case"compositionend":return Ee(t);case"keypress":return 32!==t.which?null:(Oe=!0,_e);case"textInput":return(e=t.data)===_e&&Oe?null:e;default:return null}}(e,n):function(e,t){if(Ce)return"compositionend"===e||!be&&Se(e,t)?(e=se(),ae=ie=oe=null,Ce=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ke&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=ve.getPooled(we.beforeInput,t,n,r)).data=e,Y(t)):t=null,null===i?t:null===t?i:[i,t]}},xe=null,De=null,Me=null;function je(e){if(e=S(e)){"function"!=typeof xe&&s("280");var t=O(e.stateNode);xe(e.stateNode,e.type,t)}}function Ie(e){De?Me?Me.push(e):Me=[e]:De=e}function Pe(){if(De){var e=De,t=Me;if(Me=De=null,je(e),t)for(e=0;e<t.length;e++)je(t[e])}}function Ne(e,t){return e(t)}function Re(e,t,n){return e(t,n)}function Le(){}var Ae=!1;function ze(e,t){if(Ae)return e(t);Ae=!0;try{return Ne(e,t)}finally{Ae=!1,(null!==De||null!==Me)&&(Le(),Pe())}}var Fe={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function He(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fe[e.type]:"textarea"===t}function Ve(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Be(e){if(!$)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function Ue(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function We(e){e._valueTracker||(e._valueTracker=function(e){var t=Ue(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ke(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ue(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var Ye=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ye.hasOwnProperty("ReactCurrentDispatcher")||(Ye.ReactCurrentDispatcher={current:null});var $e=/^(.*)[\\\/]/,qe="function"==typeof Symbol&&Symbol.for,Ge=qe?Symbol.for("react.element"):60103,Ze=qe?Symbol.for("react.portal"):60106,Xe=qe?Symbol.for("react.fragment"):60107,Qe=qe?Symbol.for("react.strict_mode"):60108,Je=qe?Symbol.for("react.profiler"):60114,et=qe?Symbol.for("react.provider"):60109,tt=qe?Symbol.for("react.context"):60110,nt=qe?Symbol.for("react.concurrent_mode"):60111,rt=qe?Symbol.for("react.forward_ref"):60112,ot=qe?Symbol.for("react.suspense"):60113,it=qe?Symbol.for("react.memo"):60115,at=qe?Symbol.for("react.lazy"):60116,st="function"==typeof Symbol&&Symbol.iterator;function ct(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=st&&e[st]||e["@@iterator"])?e:null}function lt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case nt:return"ConcurrentMode";case Xe:return"Fragment";case Ze:return"Portal";case Je:return"Profiler";case Qe:return"StrictMode";case ot:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case tt:return"Context.Consumer";case et:return"Context.Provider";case rt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case it:return lt(e.type);case at:if(e=1===e._status?e._result:null)return lt(e)}return null}function ut(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=lt(e.type);n=null,r&&(n=lt(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace($e,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}var dt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ft=Object.prototype.hasOwnProperty,ht={},pt={};function vt(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){mt[e]=new vt(e,0,!1,e,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];mt[t]=new vt(t,1,!1,e[1],null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){mt[e]=new vt(e,2,!1,e.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){mt[e]=new vt(e,2,!1,e,null)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){mt[e]=new vt(e,3,!1,e.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(e){mt[e]=new vt(e,3,!0,e,null)})),["capture","download"].forEach((function(e){mt[e]=new vt(e,4,!1,e,null)})),["cols","rows","size","span"].forEach((function(e){mt[e]=new vt(e,6,!1,e,null)})),["rowSpan","start"].forEach((function(e){mt[e]=new vt(e,5,!1,e.toLowerCase(),null)}));var bt=/[\-:]([a-z])/g;function gt(e){return e[1].toUpperCase()}function yt(e,t,n,r){var o=mt.hasOwnProperty(t)?mt[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!ft.call(pt,e)||!ft.call(ht,e)&&(dt.test(e)?pt[e]=!0:(ht[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function kt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function _t(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function wt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=kt(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ot(e,t){null!=(t=t.checked)&&yt(e,"checked",t,!1)}function St(e,t){Ot(e,t);var n=kt(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ct(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ct(e,t.type,kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Et(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ct(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(bt,gt);mt[t]=new vt(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(bt,gt);mt[t]=new vt(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(bt,gt);mt[t]=new vt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){mt[e]=new vt(e,1,!1,e.toLowerCase(),null)}));var Tt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function xt(e,t,n){return(e=ue.getPooled(Tt.change,e,t,n)).type="change",Ie(n),Y(e),e}var Dt=null,Mt=null;function jt(e){P(e)}function It(e){if(Ke(F(e)))return e}function Pt(e,t){if("change"===e)return t}var Nt=!1;function Rt(){Dt&&(Dt.detachEvent("onpropertychange",Lt),Mt=Dt=null)}function Lt(e){"value"===e.propertyName&&It(Mt)&&ze(jt,e=xt(Mt,e,Ve(e)))}function At(e,t,n){"focus"===e?(Rt(),Mt=n,(Dt=t).attachEvent("onpropertychange",Lt)):"blur"===e&&Rt()}function zt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return It(Mt)}function Ft(e,t){if("click"===e)return It(t)}function Ht(e,t){if("input"===e||"change"===e)return It(t)}$&&(Nt=Be("input")&&(!document.documentMode||9<document.documentMode));var Vt={eventTypes:Tt,_isInputEventSupported:Nt,extractEvents:function(e,t,n,r){var o=t?F(t):window,i=void 0,a=void 0,s=o.nodeName&&o.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===o.type?i=Pt:He(o)?Nt?i=Ht:(i=zt,a=At):(s=o.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=Ft),i&&(i=i(e,t)))return xt(i,n,r);a&&a(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ct(o,"number",o.value)}},Bt=ue.extend({view:null,detail:null}),Ut={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ut[e])&&!!t[e]}function Kt(){return Wt}var Yt=0,$t=0,qt=!1,Gt=!1,Zt=Bt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Kt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Yt;return Yt=e.screenX,qt?"mousemove"===e.type?e.screenX-t:0:(qt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=$t;return $t=e.screenY,Gt?"mousemove"===e.type?e.screenY-t:0:(Gt=!0,0)}}),Xt=Zt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Qt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Jt={eventTypes:Qt,extractEvents:function(e,t,n,r){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?A(t):null):i=null,i===t)return null;var a=void 0,s=void 0,c=void 0,l=void 0;"mouseout"===e||"mouseover"===e?(a=Zt,s=Qt.mouseLeave,c=Qt.mouseEnter,l="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Xt,s=Qt.pointerLeave,c=Qt.pointerEnter,l="pointer");var u=null==i?o:F(i);if(o=null==t?o:F(t),(e=a.getPooled(s,i,n,r)).type=l+"leave",e.target=u,e.relatedTarget=o,(n=a.getPooled(c,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=u,r=t,i&&r)e:{for(o=r,l=0,a=t=i;a;a=V(a))l++;for(a=0,c=o;c;c=V(c))a++;for(;0<l-a;)t=V(t),l--;for(;0<a-l;)o=V(o),a--;for(;l--;){if(t===o||t===o.alternate)break e;t=V(t),o=V(o)}t=null}else t=null;for(o=t,t=[];i&&i!==o&&(null===(l=i.alternate)||l!==o);)t.push(i),i=V(i);for(i=[];r&&r!==o&&(null===(l=r.alternate)||l!==o);)i.push(r),r=V(r);for(r=0;r<t.length;r++)W(t[r],"bubbled",e);for(r=i.length;0<r--;)W(i[r],"captured",n);return[e,n]}};function en(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var tn=Object.prototype.hasOwnProperty;function nn(e,t){if(en(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!tn.call(t,n[r])||!en(e[n[r]],t[n[r]]))return!1;return!0}function rn(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function on(e){2!==rn(e)&&s("188")}function an(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=rn(e))&&s("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var a=o.child;a;){if(a===n)return on(o),e;if(a===r)return on(o),t;a=a.sibling}s("188")}if(n.return!==r.return)n=o,r=i;else{a=!1;for(var c=o.child;c;){if(c===n){a=!0,n=o,r=i;break}if(c===r){a=!0,r=o,n=i;break}c=c.sibling}if(!a){for(c=i.child;c;){if(c===n){a=!0,n=i,r=o;break}if(c===r){a=!0,r=i,n=o;break}c=c.sibling}a||s("189")}}n.alternate!==r&&s("190")}return 3!==n.tag&&s("188"),n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var sn=ue.extend({animationName:null,elapsedTime:null,pseudoElement:null}),cn=ue.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ln=Bt.extend({relatedTarget:null});function un(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var dn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hn=Bt.extend({key:function(e){if(e.key){var t=dn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=un(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?fn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Kt,charCode:function(e){return"keypress"===e.type?un(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?un(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),pn=Zt.extend({dataTransfer:null}),vn=Bt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Kt}),mn=ue.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),bn=Zt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),gn=[["abort","abort"],[J,"animationEnd"],[ee,"animationIteration"],[te,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[ne,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],yn={},kn={};function _n(e,t){var n=e[0],r="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},yn[e]=t,kn[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach((function(e){_n(e,!0)})),gn.forEach((function(e){_n(e,!1)}));var wn={eventTypes:yn,isInteractiveTopLevelEventType:function(e){return void 0!==(e=kn[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var o=kn[e];if(!o)return null;switch(e){case"keypress":if(0===un(n))return null;case"keydown":case"keyup":e=hn;break;case"blur":case"focus":e=ln;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Zt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=vn;break;case J:case ee:case te:e=sn;break;case ne:e=mn;break;case"scroll":e=Bt;break;case"wheel":e=bn;break;case"copy":case"cut":case"paste":e=cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Xt;break;default:e=ue}return Y(t=e.getPooled(o,t,n,r)),t}},On=wn.isInteractiveTopLevelEventType,Sn=[];function En(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r;for(r=n;r.return;)r=r.return;if(!(r=3!==r.tag?null:r.stateNode.containerInfo))break;e.ancestors.push(n),n=A(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=Ve(e.nativeEvent);r=e.topLevelType;for(var i=e.nativeEvent,a=null,s=0;s<y.length;s++){var c=y[s];c&&(c=c.extractEvents(r,t,i,o))&&(a=T(a,c))}P(a)}}var Cn=!0;function Tn(e,t){if(!t)return null;var n=(On(e)?Dn:Mn).bind(null,e);t.addEventListener(e,n,!1)}function xn(e,t){if(!t)return null;var n=(On(e)?Dn:Mn).bind(null,e);t.addEventListener(e,n,!0)}function Dn(e,t){Re(Mn,e,t)}function Mn(e,t){if(Cn){var n=Ve(t);if(null===(n=A(n))||"number"!=typeof n.tag||2===rn(n)||(n=null),Sn.length){var r=Sn.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{ze(En,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Sn.length&&Sn.push(e)}}}var jn={},In=0,Pn="_reactListenersID"+(""+Math.random()).slice(2);function Nn(e){return Object.prototype.hasOwnProperty.call(e,Pn)||(e[Pn]=In++,jn[e[Pn]]={}),jn[e[Pn]]}function Rn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(Vs){return e.body}}function Ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function An(e,t){var n,r=Ln(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ln(r)}}function zn(){for(var e=window,t=Rn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Rn((e=t.contentWindow).document)}return t}function Fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Hn(e){var t=zn(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&Fn(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=An(n,i);var a=An(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Vn=$&&"documentMode"in document&&11>=document.documentMode,Bn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Un=null,Wn=null,Kn=null,Yn=!1;function $n(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Yn||null==Un||Un!==Rn(n)?null:("selectionStart"in(n=Un)&&Fn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Kn&&nn(Kn,n)?null:(Kn=n,(e=ue.getPooled(Bn.select,Wn,e,t)).type="select",e.target=Un,Y(e),e))}var qn={eventTypes:Bn,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Nn(i),o=w.onSelect;for(var a=0;a<o.length;a++){var s=o[a];if(!i.hasOwnProperty(s)||!i[s]){i=!1;break e}}i=!0}o=!i}if(o)return null;switch(i=t?F(t):window,e){case"focus":(He(i)||"true"===i.contentEditable)&&(Un=i,Wn=t,Kn=null);break;case"blur":Kn=Wn=Un=null;break;case"mousedown":Yn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yn=!1,$n(n,r);case"selectionchange":if(Vn)break;case"keydown":case"keyup":return $n(n,r)}return null}};function Gn(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Zn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+kt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Xn(e,t){return null!=t.dangerouslySetInnerHTML&&s("91"),o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Qn(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&s("92"),Array.isArray(t)&&(1>=t.length||s("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:kt(n)}}function Jn(e,t){var n=kt(t.value),r=kt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function er(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}j.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),O=H,S=z,E=F,j.injectEventPluginsByName({SimpleEventPlugin:wn,EnterLeaveEventPlugin:Jt,ChangeEventPlugin:Vt,SelectEventPlugin:qn,BeforeInputEventPlugin:Te});var tr="http://www.w3.org/1999/xhtml",nr="http://www.w3.org/2000/svg";function rr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function or(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?rr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ir=void 0,ar=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==nr||"innerHTML"in e)e.innerHTML=t;else{for((ir=ir||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=ir.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function sr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var cr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},lr=["Webkit","ms","Moz","O"];function ur(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||cr.hasOwnProperty(e)&&cr[e]?(""+t).trim():t+"px"}function dr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ur(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(cr).forEach((function(e){lr.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),cr[t]=cr[e]}))}));var fr=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hr(e,t){t&&(fr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&s("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&s("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||s("61")),null!=t.style&&"object"!=typeof t.style&&s("62",""))}function pr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function vr(e,t){var n=Nn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=w[t];for(var r=0;r<t.length;r++){var o=t[r];if(!n.hasOwnProperty(o)||!n[o]){switch(o){case"scroll":xn("scroll",e);break;case"focus":case"blur":xn("focus",e),xn("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":Be(o)&&xn(o,e);break;case"invalid":case"submit":case"reset":break;default:-1===re.indexOf(o)&&Tn(o,e)}n[o]=!0}}}function mr(){}var br=null,gr=null;function yr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function kr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var _r="function"==typeof setTimeout?setTimeout:void 0,wr="function"==typeof clearTimeout?clearTimeout:void 0,Or=i.unstable_scheduleCallback,Sr=i.unstable_cancelCallback;function Er(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Cr(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var Tr=[],xr=-1;function Dr(e){0>xr||(e.current=Tr[xr],Tr[xr]=null,xr--)}function Mr(e,t){xr++,Tr[xr]=e.current,e.current=t}var jr={},Ir={current:jr},Pr={current:!1},Nr=jr;function Rr(e,t){var n=e.type.contextTypes;if(!n)return jr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Lr(e){return null!=(e=e.childContextTypes)}function Ar(e){Dr(Pr),Dr(Ir)}function zr(e){Dr(Pr),Dr(Ir)}function Fr(e,t,n){Ir.current!==jr&&s("168"),Mr(Ir,t),Mr(Pr,n)}function Hr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())i in e||s("108",lt(t)||"Unknown",i);return o({},n,r)}function Vr(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||jr,Nr=Ir.current,Mr(Ir,t),Mr(Pr,Pr.current),!0}function Br(e,t,n){var r=e.stateNode;r||s("169"),n?(t=Hr(e,t,Nr),r.__reactInternalMemoizedMergedChildContext=t,Dr(Pr),Dr(Ir),Mr(Ir,t)):Dr(Pr),Mr(Pr,n)}var Ur=null,Wr=null;function Kr(e){return function(t){try{return e(t)}catch(n){}}}function Yr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function $r(e,t,n,r){return new Yr(e,t,n,r)}function qr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Gr(e,t){var n=e.alternate;return null===n?((n=$r(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zr(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)qr(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Xe:return Xr(n.children,o,i,t);case nt:return Qr(n,3|o,i,t);case Qe:return Qr(n,2|o,i,t);case Je:return(e=$r(12,n,t,4|o)).elementType=Je,e.type=Je,e.expirationTime=i,e;case ot:return(e=$r(13,n,t,o)).elementType=ot,e.type=ot,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case et:a=10;break e;case tt:a=9;break e;case rt:a=11;break e;case it:a=14;break e;case at:a=16,r=null;break e}s("130",null==e?e:typeof e,"")}return(t=$r(a,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Xr(e,t,n,r){return(e=$r(7,e,r,t)).expirationTime=n,e}function Qr(e,t,n,r){return e=$r(8,e,r,t),t=0==(1&t)?Qe:nt,e.elementType=t,e.type=t,e.expirationTime=n,e}function Jr(e,t,n){return(e=$r(6,e,null,t)).expirationTime=n,e}function eo(e,t,n){return(t=$r(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function to(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),oo(t,e)}function no(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:n<t?e.earliestSuspendedTime=t:r>t&&(e.latestSuspendedTime=t),oo(t,e)}function ro(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function oo(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;0===(o=0!==o?o:i)&&(0===e||r<e)&&(o=r),0!==(e=o)&&n>e&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}function io(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var ao=(new r.Component).refs;function so(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var co={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===rn(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=ms(),o=Bi(r=Va(r,e));o.payload=t,null!=n&&(o.callback=n),Ra(),Wi(e,o),Ka(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=ms(),o=Bi(r=Va(r,e));o.tag=Ai,o.payload=t,null!=n&&(o.callback=n),Ra(),Wi(e,o),Ka(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ms(),r=Bi(n=Va(n,e));r.tag=zi,null!=t&&(r.callback=t),Ra(),Wi(e,r),Ka(e,n)}};function lo(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!nn(n,r)||!nn(o,i))}function uo(e,t,n){var r=!1,o=jr,i=t.contextType;return"object"==typeof i&&null!==i?i=Li(i):(o=Lr(t)?Nr:Ir.current,i=(r=null!=(r=t.contextTypes))?Rr(e,o):jr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=co,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function fo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&co.enqueueReplaceState(t,t.state,null)}function ho(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ao;var i=t.contextType;"object"==typeof i&&null!==i?o.context=Li(i):(i=Lr(t)?Nr:Ir.current,o.context=Rr(e,i)),null!==(i=e.updateQueue)&&(qi(e,i,n,o,r),o.state=e.memoizedState),"function"==typeof(i=t.getDerivedStateFromProps)&&(so(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&co.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(qi(e,i,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var po=Array.isArray;function vo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&s("309"),r=n.stateNode),r||s("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===ao&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}"string"!=typeof e&&s("284"),n._owner||s("290",e)}return e}function mo(e,t){"textarea"!==e.type&&s("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function bo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=Gr(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function a(t){return e&&null===t.alternate&&(t.effectTag=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=Jr(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=vo(e,t,n),r.return=e,r):((r=Zr(n.type,n.key,n.props,null,e.mode,r)).ref=vo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=eo(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Xr(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Jr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ge:return(n=Zr(t.type,t.key,t.props,null,e.mode,n)).ref=vo(e,null,t),n.return=e,n;case Ze:return(t=eo(t,e.mode,n)).return=e,t}if(po(t)||ct(t))return(t=Xr(t,e.mode,n,null)).return=e,t;mo(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ge:return n.key===o?n.type===Xe?d(e,t,n.props.children,r,o):l(e,t,n,r):null;case Ze:return n.key===o?u(e,t,n,r):null}if(po(n)||ct(n))return null!==o?null:d(e,t,n,r,null);mo(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return c(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ge:return e=e.get(null===r.key?n:r.key)||null,r.type===Xe?d(t,e,r.props.children,o,r.key):l(t,e,r,o);case Ze:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(po(r)||ct(r))return d(t,e=e.get(n)||null,r,o,null);mo(t,r)}return null}function v(o,a,s,c){for(var l=null,u=null,d=a,v=a=0,m=null;null!==d&&v<s.length;v++){d.index>v?(m=d,d=null):m=d.sibling;var b=h(o,d,s[v],c);if(null===b){null===d&&(d=m);break}e&&d&&null===b.alternate&&t(o,d),a=i(b,a,v),null===u?l=b:u.sibling=b,u=b,d=m}if(v===s.length)return n(o,d),l;if(null===d){for(;v<s.length;v++)(d=f(o,s[v],c))&&(a=i(d,a,v),null===u?l=d:u.sibling=d,u=d);return l}for(d=r(o,d);v<s.length;v++)(m=p(d,o,v,s[v],c))&&(e&&null!==m.alternate&&d.delete(null===m.key?v:m.key),a=i(m,a,v),null===u?l=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(o,e)})),l}function m(o,a,c,l){var u=ct(c);"function"!=typeof u&&s("150"),null==(c=u.call(c))&&s("151");for(var d=u=null,v=a,m=a=0,b=null,g=c.next();null!==v&&!g.done;m++,g=c.next()){v.index>m?(b=v,v=null):b=v.sibling;var y=h(o,v,g.value,l);if(null===y){v||(v=b);break}e&&v&&null===y.alternate&&t(o,v),a=i(y,a,m),null===d?u=y:d.sibling=y,d=y,v=b}if(g.done)return n(o,v),u;if(null===v){for(;!g.done;m++,g=c.next())null!==(g=f(o,g.value,l))&&(a=i(g,a,m),null===d?u=g:d.sibling=g,d=g);return u}for(v=r(o,v);!g.done;m++,g=c.next())null!==(g=p(v,o,m,g.value,l))&&(e&&null!==g.alternate&&v.delete(null===g.key?m:g.key),a=i(g,a,m),null===d?u=g:d.sibling=g,d=g);return e&&v.forEach((function(e){return t(o,e)})),u}return function(e,r,i,c){var l="object"==typeof i&&null!==i&&i.type===Xe&&null===i.key;l&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case Ge:e:{for(u=i.key,l=r;null!==l;){if(l.key===u){if(7===l.tag?i.type===Xe:l.elementType===i.type){n(e,l.sibling),(r=o(l,i.type===Xe?i.props.children:i.props)).ref=vo(e,l,i),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}i.type===Xe?((r=Xr(i.props.children,e.mode,c,i.key)).return=e,e=r):((c=Zr(i.type,i.key,i.props,null,e.mode,c)).ref=vo(e,r,i),c.return=e,e=c)}return a(e);case Ze:e:{for(l=i.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=eo(i,e.mode,c)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Jr(i,e.mode,c)).return=e,e=r),a(e);if(po(i))return v(e,r,i,c);if(ct(i))return m(e,r,i,c);if(u&&mo(e,i),void 0===i&&!l)switch(e.tag){case 1:case 0:s("152",(c=e.type).displayName||c.name||"Component")}return n(e,r)}}var go=bo(!0),yo=bo(!1),ko={},_o={current:ko},wo={current:ko},Oo={current:ko};function So(e){return e===ko&&s("174"),e}function Eo(e,t){Mr(Oo,t),Mr(wo,e),Mr(_o,ko);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:or(null,"");break;default:t=or(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}Dr(_o),Mr(_o,t)}function Co(e){Dr(_o),Dr(wo),Dr(Oo)}function To(e){So(Oo.current);var t=So(_o.current),n=or(t,e.type);t!==n&&(Mr(wo,e),Mr(_o,n))}function xo(e){wo.current===e&&(Dr(_o),Dr(wo))}var Do=Ye.ReactCurrentDispatcher,Mo=0,jo=null,Io=null,Po=null,No=null,Ro=null,Lo=null,Ao=0,zo=null,Fo=0,Ho=!1,Vo=null,Bo=0;function Uo(){s("321")}function Wo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!en(e[n],t[n]))return!1;return!0}function Ko(e,t,n,r,o,i){if(Mo=i,jo=t,Po=null!==e?e.memoizedState:null,Do.current=null===Po?oi:ii,t=n(r,o),Ho){do{Ho=!1,Bo+=1,Po=null!==e?e.memoizedState:null,Lo=No,zo=Ro=Io=null,Do.current=ii,t=n(r,o)}while(Ho);Vo=null,Bo=0}return Do.current=ri,(e=jo).memoizedState=No,e.expirationTime=Ao,e.updateQueue=zo,e.effectTag|=Fo,e=null!==Io&&null!==Io.next,Mo=0,Lo=Ro=No=Po=Io=jo=null,Ao=0,zo=null,Fo=0,e&&s("300"),t}function Yo(){Do.current=ri,Mo=0,Lo=Ro=No=Po=Io=jo=null,Ao=0,zo=null,Fo=0,Ho=!1,Vo=null,Bo=0}function $o(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Ro?No=Ro=e:Ro=Ro.next=e,Ro}function qo(){if(null!==Lo)Lo=(Ro=Lo).next,Po=null!==(Io=Po)?Io.next:null;else{null===Po&&s("310");var e={memoizedState:(Io=Po).memoizedState,baseState:Io.baseState,queue:Io.queue,baseUpdate:Io.baseUpdate,next:null};Ro=null===Ro?No=e:Ro.next=e,Po=Io.next}return Ro}function Go(e,t){return"function"==typeof t?t(e):t}function Zo(e){var t=qo(),n=t.queue;if(null===n&&s("311"),n.lastRenderedReducer=e,0<Bo){var r=n.dispatch;if(null!==Vo){var o=Vo.get(n);if(void 0!==o){Vo.delete(n);var i=t.memoizedState;do{i=e(i,o.action),o=o.next}while(null!==o);return en(i,t.memoizedState)||(mi=!0),t.memoizedState=i,t.baseUpdate===n.last&&(t.baseState=i),n.lastRenderedState=i,[i,r]}}return[t.memoizedState,r]}r=n.last;var a=t.baseUpdate;if(i=t.baseState,null!==a?(null!==r&&(r.next=null),r=a.next):r=null!==r?r.next:null,null!==r){var c=o=null,l=r,u=!1;do{var d=l.expirationTime;d<Mo?(u||(u=!0,c=a,o=i),d>Ao&&(Ao=d)):i=l.eagerReducer===e?l.eagerState:e(i,l.action),a=l,l=l.next}while(null!==l&&l!==r);u||(c=a,o=i),en(i,t.memoizedState)||(mi=!0),t.memoizedState=i,t.baseUpdate=c,t.baseState=o,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function Xo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===zo?(zo={lastEffect:null}).lastEffect=e.next=e:null===(t=zo.lastEffect)?zo.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,zo.lastEffect=e),e}function Qo(e,t,n,r){var o=$o();Fo|=e,o.memoizedState=Xo(t,n,void 0,void 0===r?null:r)}function Jo(e,t,n,r){var o=qo();r=void 0===r?null:r;var i=void 0;if(null!==Io){var a=Io.memoizedState;if(i=a.destroy,null!==r&&Wo(r,a.deps))return void Xo(0,n,i,r)}Fo|=e,o.memoizedState=Xo(t,n,i,r)}function ei(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ti(){}function ni(e,t,n){25>Bo||s("301");var r=e.alternate;if(e===jo||null!==r&&r===jo)if(Ho=!0,e={expirationTime:Mo,action:n,eagerReducer:null,eagerState:null,next:null},null===Vo&&(Vo=new Map),void 0===(n=Vo.get(t)))Vo.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{Ra();var o=ms(),i={expirationTime:o=Va(o,e),action:n,eagerReducer:null,eagerState:null,next:null},a=t.last;if(null===a)i.next=i;else{var c=a.next;null!==c&&(i.next=c),a.next=i}if(t.last=i,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=r(l,n);if(i.eagerReducer=r,i.eagerState=u,en(u,l))return}catch(d){}Ka(e,o)}}var ri={readContext:Li,useCallback:Uo,useContext:Uo,useEffect:Uo,useImperativeHandle:Uo,useLayoutEffect:Uo,useMemo:Uo,useReducer:Uo,useRef:Uo,useState:Uo,useDebugValue:Uo},oi={readContext:Li,useCallback:function(e,t){return $o().memoizedState=[e,void 0===t?null:t],e},useContext:Li,useEffect:function(e,t){return Qo(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Qo(4,36,ei.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qo(4,36,e,t)},useMemo:function(e,t){var n=$o();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$o();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ni.bind(null,jo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},$o().memoizedState=e},useState:function(e){var t=$o();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:Go,lastRenderedState:e}).dispatch=ni.bind(null,jo,e),[t.memoizedState,e]},useDebugValue:ti},ii={readContext:Li,useCallback:function(e,t){var n=qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Li,useEffect:function(e,t){return Jo(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Jo(4,36,ei.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Jo(4,36,e,t)},useMemo:function(e,t){var n=qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:Zo,useRef:function(){return qo().memoizedState},useState:function(e){return Zo(Go)},useDebugValue:ti},ai=null,si=null,ci=!1;function li(e,t){var n=$r(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function di(e){if(ci){var t=si;if(t){var n=t;if(!ui(e,t)){if(!(t=Er(n))||!ui(e,t))return e.effectTag|=2,ci=!1,void(ai=e);li(ai,n)}ai=e,si=Cr(t)}else e.effectTag|=2,ci=!1,ai=e}}function fi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;ai=e}function hi(e){if(e!==ai)return!1;if(!ci)return fi(e),ci=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!kr(t,e.memoizedProps))for(t=si;t;)li(e,t),t=Er(t);return fi(e),si=ai?Er(e.stateNode):null,!0}function pi(){si=ai=null,ci=!1}var vi=Ye.ReactCurrentOwner,mi=!1;function bi(e,t,n,r){t.child=null===e?yo(t,null,n,r):go(t,e.child,n,r)}function gi(e,t,n,r,o){n=n.render;var i=t.ref;return Ri(t,o),r=Ko(e,t,n,r,i,o),null===e||mi?(t.effectTag|=1,bi(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ti(e,t,o))}function yi(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||qr(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zr(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ki(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:nn)(o,r)&&e.ref===t.ref)?Ti(e,t,i):(t.effectTag|=1,(e=Gr(a,r)).ref=t.ref,e.return=t,t.child=e)}function ki(e,t,n,r,o,i){return null!==e&&nn(e.memoizedProps,r)&&e.ref===t.ref&&(mi=!1,o<i)?Ti(e,t,i):wi(e,t,n,r,i)}function _i(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function wi(e,t,n,r,o){var i=Lr(n)?Nr:Ir.current;return i=Rr(t,i),Ri(t,o),n=Ko(e,t,n,r,i,o),null===e||mi?(t.effectTag|=1,bi(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ti(e,t,o))}function Oi(e,t,n,r,o){if(Lr(n)){var i=!0;Vr(t)}else i=!1;if(Ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),uo(t,n,r),ho(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=Li(l):l=Rr(t,l=Lr(n)?Nr:Ir.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==l)&&fo(t,a,r,l),Fi=!1;var f=t.memoizedState;c=a.state=f;var h=t.updateQueue;null!==h&&(qi(t,h,r,a,o),c=t.memoizedState),s!==r||f!==c||Pr.current||Fi?("function"==typeof u&&(so(t,n,u,r),c=t.memoizedState),(s=Fi||lo(t,n,s,r,f,c,l))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,s=t.memoizedProps,a.props=t.type===t.elementType?s:io(t.type,s),c=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=Li(l):l=Rr(t,l=Lr(n)?Nr:Ir.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==l)&&fo(t,a,r,l),Fi=!1,c=t.memoizedState,f=a.state=c,null!==(h=t.updateQueue)&&(qi(t,h,r,a,o),f=t.memoizedState),s!==r||c!==f||Pr.current||Fi?("function"==typeof u&&(so(t,n,u,r),f=t.memoizedState),(u=Fi||lo(t,n,s,r,c,f,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Si(e,t,n,r,i,o)}function Si(e,t,n,r,o,i){_i(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&Br(t,n,!1),Ti(e,t,i);r=t.stateNode,vi.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=go(t,e.child,null,i),t.child=go(t,null,s,i)):bi(e,t,s,i),t.memoizedState=r.state,o&&Br(t,n,!0),t.child}function Ei(e){var t=e.stateNode;t.pendingContext?Fr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Fr(0,t.context,!1),Eo(e,t.containerInfo)}function Ci(e,t,n){var r=t.mode,o=t.pendingProps,i=t.memoizedState;if(0==(64&t.effectTag)){i=null;var a=!1}else i={timedOutAt:null!==i?i.timedOutAt:0},a=!0,t.effectTag&=-65;if(null===e)if(a){var s=o.fallback;e=Xr(null,r,0,null),0==(1&t.mode)&&(e.child=null!==t.memoizedState?t.child.child:t.child),r=Xr(s,r,n,null),e.sibling=r,(n=e).return=r.return=t}else n=r=yo(t,null,o.children,n);else null!==e.memoizedState?(s=(r=e.child).sibling,a?(n=o.fallback,o=Gr(r,r.pendingProps),0==(1&t.mode)&&((a=null!==t.memoizedState?t.child.child:t.child)!==r.child&&(o.child=a)),r=o.sibling=Gr(s,n,s.expirationTime),n=o,o.childExpirationTime=0,n.return=r.return=t):n=r=go(t,r.child,o.children,n)):(s=e.child,a?(a=o.fallback,(o=Xr(null,r,0,null)).child=s,0==(1&t.mode)&&(o.child=null!==t.memoizedState?t.child.child:t.child),(r=o.sibling=Xr(a,r,n,null)).effectTag|=2,n=o,o.childExpirationTime=0,n.return=r.return=t):r=n=go(t,s,o.children,n)),t.stateNode=e.stateNode;return t.memoizedState=i,t.child=n,r}function Ti(e,t,n){if(null!==e&&(t.contextDependencies=e.contextDependencies),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child&&s("153"),null!==t.child){for(n=Gr(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Gr(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function xi(e,t,n){var r=t.expirationTime;if(null!==e){if(e.memoizedProps!==t.pendingProps||Pr.current)mi=!0;else if(r<n){switch(mi=!1,t.tag){case 3:Ei(t),pi();break;case 5:To(t);break;case 1:Lr(t.type)&&Vr(t);break;case 4:Eo(t,t.stateNode.containerInfo);break;case 10:Pi(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ci(e,t,n):null!==(t=Ti(e,t,n))?t.sibling:null}return Ti(e,t,n)}}else mi=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var o=Rr(t,Ir.current);if(Ri(t,n),o=Ko(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,Yo(),Lr(r)){var i=!0;Vr(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var a=r.getDerivedStateFromProps;"function"==typeof a&&so(t,r,a,e),o.updater=co,t.stateNode=o,o._reactInternalFiber=t,ho(t,r,e,n),t=Si(null,t,r,!0,i,n)}else t.tag=0,bi(null,t,o,n),t=t.child;return t;case 16:switch(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),i=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)})),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(o),t.type=e,o=t.tag=function(e){if("function"==typeof e)return qr(e)?1:0;if(null!=e){if((e=e.$$typeof)===rt)return 11;if(e===it)return 14}return 2}(e),i=io(e,i),a=void 0,o){case 0:a=wi(null,t,e,i,n);break;case 1:a=Oi(null,t,e,i,n);break;case 11:a=gi(null,t,e,i,n);break;case 14:a=yi(null,t,e,io(e.type,i),r,n);break;default:s("306",e,"")}return a;case 0:return r=t.type,o=t.pendingProps,wi(e,t,r,o=t.elementType===r?o:io(r,o),n);case 1:return r=t.type,o=t.pendingProps,Oi(e,t,r,o=t.elementType===r?o:io(r,o),n);case 3:return Ei(t),null===(r=t.updateQueue)&&s("282"),o=null!==(o=t.memoizedState)?o.element:null,qi(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===o?(pi(),t=Ti(e,t,n)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(si=Cr(t.stateNode.containerInfo),ai=t,o=ci=!0),o?(t.effectTag|=2,t.child=yo(t,null,r,n)):(bi(e,t,r,n),pi()),t=t.child),t;case 5:return To(t),null===e&&di(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,kr(r,o)?a=null:null!==i&&kr(r,i)&&(t.effectTag|=16),_i(e,t),1!==n&&1&t.mode&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(bi(e,t,a,n),t=t.child),t;case 6:return null===e&&di(t),null;case 13:return Ci(e,t,n);case 4:return Eo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=go(t,null,r,n):bi(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,gi(e,t,r,o=t.elementType===r?o:io(r,o),n);case 7:return bi(e,t,t.pendingProps,n),t.child;case 8:case 12:return bi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,Pi(t,i=o.value),null!==a){var c=a.value;if(0===(i=en(c,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(c,i):1073741823))){if(a.children===o.children&&!Pr.current){t=Ti(e,t,n);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var l=c.contextDependencies;if(null!==l){a=c.child;for(var u=l.first;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===c.tag&&((u=Bi(n)).tag=zi,Wi(c,u)),c.expirationTime<n&&(c.expirationTime=n),null!==(u=c.alternate)&&u.expirationTime<n&&(u.expirationTime=n),u=n;for(var d=c.return;null!==d;){var f=d.alternate;if(d.childExpirationTime<u)d.childExpirationTime=u,null!==f&&f.childExpirationTime<u&&(f.childExpirationTime=u);else{if(!(null!==f&&f.childExpirationTime<u))break;f.childExpirationTime=u}d=d.return}l.expirationTime<n&&(l.expirationTime=n);break}u=u.next}}else a=10===c.tag&&c.type===t.type?null:c.child;if(null!==a)a.return=c;else for(a=c;null!==a;){if(a===t){a=null;break}if(null!==(c=a.sibling)){c.return=a.return,a=c;break}a=a.return}c=a}}bi(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,Ri(t,n),r=r(o=Li(o,i.unstable_observedBits)),t.effectTag|=1,bi(e,t,r,n),t.child;case 14:return i=io(o=t.type,t.pendingProps),yi(e,t,o,i=io(o.type,i),r,n);case 15:return ki(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:io(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Lr(r)?(e=!0,Vr(t)):e=!1,Ri(t,n),uo(t,r,o),ho(t,r,o,n),Si(null,t,r,!0,e,n)}s("156")}var Di={current:null},Mi=null,ji=null,Ii=null;function Pi(e,t){var n=e.type._context;Mr(Di,n._currentValue),n._currentValue=t}function Ni(e){var t=Di.current;Dr(Di),e.type._context._currentValue=t}function Ri(e,t){Mi=e,Ii=ji=null;var n=e.contextDependencies;null!==n&&n.expirationTime>=t&&(mi=!0),e.contextDependencies=null}function Li(e,t){return Ii!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(Ii=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ji?(null===Mi&&s("308"),ji=t,Mi.contextDependencies={first:t,expirationTime:0}):ji=ji.next=t),e._currentValue}var Ai=1,zi=2,Fi=!1;function Hi(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Vi(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Bi(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Ui(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Wi(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=Hi(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=Hi(e.memoizedState),o=n.updateQueue=Hi(n.memoizedState)):r=e.updateQueue=Vi(o):null===o&&(o=n.updateQueue=Vi(r));null===o||r===o?Ui(r,t):null===r.lastUpdate||null===o.lastUpdate?(Ui(r,t),Ui(o,t)):(Ui(r,t),o.lastUpdate=t)}function Ki(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Hi(e.memoizedState):Yi(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Yi(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Vi(t)),t}function $i(e,t,n,r,i,a){switch(n.tag){case Ai:return"function"==typeof(e=n.payload)?e.call(a,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(i="function"==typeof(e=n.payload)?e.call(a,r,i):e))break;return o({},r,i);case zi:Fi=!0}return r}function qi(e,t,n,r,o){Fi=!1;for(var i=(t=Yi(e,t)).baseState,a=null,s=0,c=t.firstUpdate,l=i;null!==c;){var u=c.expirationTime;u<o?(null===a&&(a=c,i=l),s<u&&(s=u)):(l=$i(e,0,c,l,n,r),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=c:(t.lastEffect.nextEffect=c,t.lastEffect=c))),c=c.next}for(u=null,c=t.firstCapturedUpdate;null!==c;){var d=c.expirationTime;d<o?(null===u&&(u=c,null===a&&(i=l)),s<d&&(s=d)):(l=$i(e,0,c,l,n,r),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=c:(t.lastCapturedEffect.nextEffect=c,t.lastCapturedEffect=c))),c=c.next}null===a&&(t.lastUpdate=null),null===u?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===u&&(i=l),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=u,e.expirationTime=s,e.memoizedState=l}function Gi(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),Zi(t.firstEffect,n),t.firstEffect=t.lastEffect=null,Zi(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function Zi(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;"function"!=typeof n&&s("191",n),n.call(r)}e=e.nextEffect}}function Xi(e,t){return{value:e,source:t,stack:ut(t)}}function Qi(e){e.effectTag|=4}var Ji,ea,ta;Ji=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ea=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var s=t.stateNode;switch(So(_o.current),e=null,n){case"input":a=_t(s,a),r=_t(s,r),e=[];break;case"option":a=Gn(s,a),r=Gn(s,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Xn(s,a),r=Xn(s,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(s.onclick=mr)}hr(n,r),s=n=void 0;var c=null;for(n in a)if(!r.hasOwnProperty(n)&&a.hasOwnProperty(n)&&null!=a[n])if("style"===n){var l=a[n];for(s in l)l.hasOwnProperty(s)&&(c||(c={}),c[s]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(_.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var u=r[n];if(l=null!=a?a[n]:void 0,r.hasOwnProperty(n)&&u!==l&&(null!=u||null!=l))if("style"===n)if(l){for(s in l)!l.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(c||(c={}),c[s]="");for(s in u)u.hasOwnProperty(s)&&l[s]!==u[s]&&(c||(c={}),c[s]=u[s])}else c||(e||(e=[]),e.push(n,c)),c=u;else"dangerouslySetInnerHTML"===n?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(e=e||[]).push(n,""+u)):"children"===n?l===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(n,""+u):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(_.hasOwnProperty(n)?(null!=u&&vr(i,n),e||l===u||(e=[])):(e=e||[]).push(n,u))}c&&(e=e||[]).push("style",c),i=e,(t.updateQueue=i)&&Qi(t)}},ta=function(e,t,n,r){n!==r&&Qi(t)};var na="function"==typeof WeakSet?WeakSet:Set;function ra(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ut(n)),null!==n&&lt(n.type),t=t.value,null!==e&&1===e.tag&&lt(e.type);try{console.error(t)}catch(o){setTimeout((function(){throw o}))}}function oa(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){Ha(e,n)}else t.current=null}function ia(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if(0!=(r.tag&e)){var o=r.destroy;r.destroy=void 0,void 0!==o&&o()}0!=(r.tag&t)&&(o=r.create,r.destroy=o()),r=r.next}while(r!==n)}}function aa(e){switch("function"==typeof Wr&&Wr(e),e.tag){case 0:case 11:case 14:case 15:var t=e.updateQueue;if(null!==t&&null!==(t=t.lastEffect)){var n=t=t.next;do{var r=n.destroy;if(void 0!==r){var o=e;try{r()}catch(i){Ha(o,i)}}n=n.next}while(n!==t)}break;case 1:if(oa(e),"function"==typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(i){Ha(e,i)}break;case 5:oa(e);break;case 4:la(e)}}function sa(e){return 5===e.tag||3===e.tag||4===e.tag}function ca(e){e:{for(var t=e.return;null!==t;){if(sa(t)){var n=t;break e}t=t.return}s("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:s("161")}16&n.effectTag&&(sr(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||sa(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(r){var i=t,a=o.stateNode,c=n;8===i.nodeType?i.parentNode.insertBefore(a,c):i.insertBefore(a,c)}else t.insertBefore(o.stateNode,n);else r?(a=t,c=o.stateNode,8===a.nodeType?(i=a.parentNode).insertBefore(c,a):(i=a).appendChild(c),null!=(a=a._reactRootContainer)||null!==i.onclick||(i.onclick=mr)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function la(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&s("160"),n.tag){case 5:r=n.stateNode,o=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,a=i;;)if(aa(a),null!==a.child&&4!==a.tag)a.child.return=a,a=a.child;else{if(a===i)break;for(;null===a.sibling;){if(null===a.return||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}o?(i=r,a=t.stateNode,8===i.nodeType?i.parentNode.removeChild(a):i.removeChild(a)):r.removeChild(t.stateNode)}else if(4===t.tag){if(null!==t.child){r=t.stateNode.containerInfo,o=!0,t.child.return=t,t=t.child;continue}}else if(aa(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function ua(e,t){switch(t.tag){case 0:case 11:case 14:case 15:ia(4,8,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,n,r,o){e[L]=o,"input"===n&&"radio"===o.type&&null!=o.name&&Ot(e,o),pr(n,r),r=pr(n,o);for(var i=0;i<t.length;i+=2){var a=t[i],s=t[i+1];"style"===a?dr(e,s):"dangerouslySetInnerHTML"===a?ar(e,s):"children"===a?sr(e,s):yt(e,a,s,r)}switch(n){case"input":St(e,o);break;case"textarea":Jn(e,o);break;case"select":t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,null!=(n=o.value)?Zn(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?Zn(e,!!o.multiple,o.defaultValue,!0):Zn(e,!!o.multiple,o.multiple?[]:"",!1))}}(n,i,o,e,r)}break;case 6:null===t.stateNode&&s("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t.memoizedState,r=void 0,e=t,null===n?r=!1:(r=!0,e=t.child,0===n.timedOutAt&&(n.timedOutAt=ms())),null!==e&&function(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)r.style.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=ur("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else{if(13===n.tag&&null!==n.memoizedState){(r=n.child.sibling).return=n,n=r;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(e,r),null!==(n=t.updateQueue)){t.updateQueue=null;var a=t.stateNode;null===a&&(a=t.stateNode=new na),n.forEach((function(e){var n=Ua.bind(null,t,e);a.has(e)||(a.add(e),e.then(n,n))}))}break;case 17:break;default:s("163")}}var da="function"==typeof WeakMap?WeakMap:Map;function fa(e,t,n){(n=Bi(n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Cs(r),ra(e,t)},n}function ha(e,t,n){(n=Bi(n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Da?Da=new Set([this]):Da.add(this));var n=t.value,o=t.stack;ra(e,t),this.componentDidCatch(n,{componentStack:null!==o?o:""})}),n}function pa(e){switch(e.tag){case 1:Lr(e.type)&&Ar();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:return Co(),zr(),0!=(64&(t=e.effectTag))&&s("285"),e.effectTag=-2049&t|64,e;case 5:return xo(e),null;case 13:return 2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 4:return Co(),null;case 10:return Ni(e),null;default:return null}}var va=Ye.ReactCurrentDispatcher,ma=Ye.ReactCurrentOwner,ba=1073741822,ga=!1,ya=null,ka=null,_a=0,wa=-1,Oa=!1,Sa=null,Ea=!1,Ca=null,Ta=null,xa=null,Da=null;function Ma(){if(null!==ya)for(var e=ya.return;null!==e;){var t=e;switch(t.tag){case 1:var n=t.type.childContextTypes;null!=n&&Ar();break;case 3:Co(),zr();break;case 5:xo(t);break;case 4:Co();break;case 10:Ni(t)}e=e.return}ka=null,_a=0,wa=-1,Oa=!1,ya=null}function ja(){for(;null!==Sa;){var e=Sa.effectTag;if(16&e&&sr(Sa.stateNode,""),128&e){var t=Sa.alternate;null!==t&&(null!==(t=t.ref)&&("function"==typeof t?t(null):t.current=null))}switch(14&e){case 2:ca(Sa),Sa.effectTag&=-3;break;case 6:ca(Sa),Sa.effectTag&=-3,ua(Sa.alternate,Sa);break;case 4:ua(Sa.alternate,Sa);break;case 8:la(e=Sa),e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,null!==(e=e.alternate)&&(e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null)}Sa=Sa.nextEffect}}function Ia(){for(;null!==Sa;){if(256&Sa.effectTag)e:{var e=Sa.alternate,t=Sa;switch(t.tag){case 0:case 11:case 15:ia(2,0,t);break e;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:io(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}break e;case 3:case 5:case 6:case 4:case 17:break e;default:s("163")}}Sa=Sa.nextEffect}}function Pa(e,t){for(;null!==Sa;){var n=Sa.effectTag;if(36&n){var r=Sa.alternate,o=Sa,i=t;switch(o.tag){case 0:case 11:case 15:ia(16,32,o);break;case 1:var a=o.stateNode;if(4&o.effectTag)if(null===r)a.componentDidMount();else{var c=o.elementType===o.type?r.memoizedProps:io(o.type,r.memoizedProps);a.componentDidUpdate(c,r.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}null!==(r=o.updateQueue)&&Gi(0,r,a);break;case 3:if(null!==(r=o.updateQueue)){if(a=null,null!==o.child)switch(o.child.tag){case 5:a=o.child.stateNode;break;case 1:a=o.child.stateNode}Gi(0,r,a)}break;case 5:i=o.stateNode,null===r&&4&o.effectTag&&yr(o.type,o.memoizedProps)&&i.focus();break;case 6:case 4:case 12:case 13:case 17:break;default:s("163")}}128&n&&(null!==(o=Sa.ref)&&(i=Sa.stateNode,"function"==typeof o?o(i):o.current=i)),512&n&&(Ca=e),Sa=Sa.nextEffect}}function Na(e,t){xa=Ta=Ca=null;var n=Xa;Xa=!0;do{if(512&t.effectTag){var r=!1,o=void 0;try{var i=t;ia(128,0,i),ia(0,64,i)}catch(a){r=!0,o=a}r&&Ha(t,o)}t=t.nextEffect}while(null!==t);Xa=n,0!==(n=e.expirationTime)&&bs(e,n),rs||Xa||ws(1073741823,!1)}function Ra(){null!==Ta&&Sr(Ta),null!==xa&&xa()}function La(e,t){Ea=ga=!0,e.current===t&&s("177");var n=e.pendingCommitExpirationTime;0===n&&s("261"),e.pendingCommitExpirationTime=0;var r=t.expirationTime,o=t.childExpirationTime;for(function(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{t<e.latestPingedTime&&(e.latestPingedTime=0);var n=e.latestPendingTime;0!==n&&(n>t?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(n=e.earliestSuspendedTime)?to(e,t):t<e.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,to(e,t)):t>n&&to(e,t)}oo(0,e)}(e,o>r?o:r),ma.current=null,r=void 0,1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,r=t.firstEffect):r=t:r=t.firstEffect,br=Cn,gr=function(){var e=zn();if(Fn(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(h){t=null;break e}var i=0,a=-1,s=-1,c=0,l=0,u=e,d=null;t:for(;;){for(var f;u!==t||0!==r&&3!==u.nodeType||(a=i+r),u!==o||0!==n&&3!==u.nodeType||(s=i+n),3===u.nodeType&&(i+=u.nodeValue.length),null!==(f=u.firstChild);)d=u,u=f;for(;;){if(u===e)break t;if(d===t&&++c===r&&(a=i),d===o&&++l===n&&(s=i),null!==(f=u.nextSibling))break;d=(u=d).parentNode}u=f}t=-1===a||-1===s?null:{start:a,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}(),Cn=!1,Sa=r;null!==Sa;){o=!1;var a=void 0;try{Ia()}catch(l){o=!0,a=l}o&&(null===Sa&&s("178"),Ha(Sa,a),null!==Sa&&(Sa=Sa.nextEffect))}for(Sa=r;null!==Sa;){o=!1,a=void 0;try{ja()}catch(l){o=!0,a=l}o&&(null===Sa&&s("178"),Ha(Sa,a),null!==Sa&&(Sa=Sa.nextEffect))}for(Hn(gr),gr=null,Cn=!!br,br=null,e.current=t,Sa=r;null!==Sa;){o=!1,a=void 0;try{Pa(e,n)}catch(l){o=!0,a=l}o&&(null===Sa&&s("178"),Ha(Sa,a),null!==Sa&&(Sa=Sa.nextEffect))}if(null!==r&&null!==Ca){var c=Na.bind(null,e,r);Ta=i.unstable_runWithPriority(i.unstable_NormalPriority,(function(){return Or(c)})),xa=c}ga=Ea=!1,"function"==typeof Ur&&Ur(t.stateNode),n=t.expirationTime,0===(t=(t=t.childExpirationTime)>n?t:n)&&(Da=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function Aa(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){ya=e;e:{var i=t,a=_a,c=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Lr(t.type)&&Ar();break;case 3:Co(),zr(),(c=t.stateNode).pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==i&&null!==i.child||(hi(t),t.effectTag&=-3);break;case 5:xo(t);var l=So(Oo.current);if(a=t.type,null!==i&&null!=t.stateNode)ea(i,t,a,c,l),i.ref!==t.ref&&(t.effectTag|=128);else if(c){var u=So(_o.current);if(hi(t)){i=(c=t).stateNode;var d=c.type,f=c.memoizedProps,h=l;switch(i[R]=c,i[L]=f,a=void 0,l=d){case"iframe":case"object":Tn("load",i);break;case"video":case"audio":for(d=0;d<re.length;d++)Tn(re[d],i);break;case"source":Tn("error",i);break;case"img":case"image":case"link":Tn("error",i),Tn("load",i);break;case"form":Tn("reset",i),Tn("submit",i);break;case"details":Tn("toggle",i);break;case"input":wt(i,f),Tn("invalid",i),vr(h,"onChange");break;case"select":i._wrapperState={wasMultiple:!!f.multiple},Tn("invalid",i),vr(h,"onChange");break;case"textarea":Qn(i,f),Tn("invalid",i),vr(h,"onChange")}for(a in hr(l,f),d=null,f)f.hasOwnProperty(a)&&(u=f[a],"children"===a?"string"==typeof u?i.textContent!==u&&(d=["children",u]):"number"==typeof u&&i.textContent!==""+u&&(d=["children",""+u]):_.hasOwnProperty(a)&&null!=u&&vr(h,a));switch(l){case"input":We(i),Et(i,f,!0);break;case"textarea":We(i),er(i);break;case"select":case"option":break;default:"function"==typeof f.onClick&&(i.onclick=mr)}a=d,c.updateQueue=a,(c=null!==a)&&Qi(t)}else{f=t,h=a,i=c,d=9===l.nodeType?l:l.ownerDocument,u===tr&&(u=rr(h)),u===tr?"script"===h?((i=d.createElement("div")).innerHTML="<script><\/script>",d=i.removeChild(i.firstChild)):"string"==typeof i.is?d=d.createElement(h,{is:i.is}):(d=d.createElement(h),"select"===h&&(h=d,i.multiple?h.multiple=!0:i.size&&(h.size=i.size))):d=d.createElementNS(u,h),(i=d)[R]=f,i[L]=c,Ji(i,t),h=i;var p=l,v=pr(d=a,f=c);switch(d){case"iframe":case"object":Tn("load",h),l=f;break;case"video":case"audio":for(l=0;l<re.length;l++)Tn(re[l],h);l=f;break;case"source":Tn("error",h),l=f;break;case"img":case"image":case"link":Tn("error",h),Tn("load",h),l=f;break;case"form":Tn("reset",h),Tn("submit",h),l=f;break;case"details":Tn("toggle",h),l=f;break;case"input":wt(h,f),l=_t(h,f),Tn("invalid",h),vr(p,"onChange");break;case"option":l=Gn(h,f);break;case"select":h._wrapperState={wasMultiple:!!f.multiple},l=o({},f,{value:void 0}),Tn("invalid",h),vr(p,"onChange");break;case"textarea":Qn(h,f),l=Xn(h,f),Tn("invalid",h),vr(p,"onChange");break;default:l=f}hr(d,l),u=void 0;var m=d,b=h,g=l;for(u in g)if(g.hasOwnProperty(u)){var y=g[u];"style"===u?dr(b,y):"dangerouslySetInnerHTML"===u?null!=(y=y?y.__html:void 0)&&ar(b,y):"children"===u?"string"==typeof y?("textarea"!==m||""!==y)&&sr(b,y):"number"==typeof y&&sr(b,""+y):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(_.hasOwnProperty(u)?null!=y&&vr(p,u):null!=y&&yt(b,u,y,v))}switch(d){case"input":We(h),Et(h,f,!1);break;case"textarea":We(h),er(h);break;case"option":null!=f.value&&h.setAttribute("value",""+kt(f.value));break;case"select":(l=h).multiple=!!f.multiple,null!=(h=f.value)?Zn(l,!!f.multiple,h,!1):null!=f.defaultValue&&Zn(l,!!f.multiple,f.defaultValue,!0);break;default:"function"==typeof l.onClick&&(h.onclick=mr)}(c=yr(a,c))&&Qi(t),t.stateNode=i}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&s("166");break;case 6:i&&null!=t.stateNode?ta(0,t,i.memoizedProps,c):("string"!=typeof c&&(null===t.stateNode&&s("166")),i=So(Oo.current),So(_o.current),hi(t)?(a=(c=t).stateNode,i=c.memoizedProps,a[R]=c,(c=a.nodeValue!==i)&&Qi(t)):(a=t,(c=(9===i.nodeType?i:i.ownerDocument).createTextNode(c))[R]=t,a.stateNode=c));break;case 11:break;case 13:if(c=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=a,ya=t;break e}c=null!==c,a=null!==i&&null!==i.memoizedState,null!==i&&!c&&a&&(null!==(i=i.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=i,i.nextEffect=l):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),(c||a)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Co();break;case 10:Ni(t);break;case 9:case 14:break;case 17:Lr(t.type)&&Ar();break;case 18:break;default:s("156")}ya=null}if(t=e,1===_a||1!==t.childExpirationTime){for(c=0,a=t.child;null!==a;)(i=a.expirationTime)>c&&(c=i),(l=a.childExpirationTime)>c&&(c=l),a=a.sibling;t.childExpirationTime=c}if(null!==ya)return ya;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e))}else{if(null!==(e=pa(e)))return e.effectTag&=1023,e;null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=1024)}if(null!==r)return r;if(null===n)break;e=n}return null}function za(e){var t=xi(e.alternate,e,_a);return e.memoizedProps=e.pendingProps,null===t&&(t=Aa(e)),ma.current=null,t}function Fa(e,t){ga&&s("243"),Ra(),ga=!0;var n=va.current;va.current=ri;var r=e.nextExpirationTimeToWorkOn;r===_a&&e===ka&&null!==ya||(Ma(),_a=r,ya=Gr((ka=e).current,null),e.pendingCommitExpirationTime=0);for(var o=!1;;){try{if(t)for(;null!==ya&&!ks();)ya=za(ya);else for(;null!==ya;)ya=za(ya)}catch(b){if(Ii=ji=Mi=null,Yo(),null===ya)o=!0,Cs(b);else{null===ya&&s("271");var i=ya,a=i.return;if(null!==a){e:{var c=e,l=a,u=i,d=b;if(a=_a,u.effectTag|=1024,u.firstEffect=u.lastEffect=null,null!==d&&"object"==typeof d&&"function"==typeof d.then){var f=d;d=l;var h=-1,p=-1;do{if(13===d.tag){var v=d.alternate;if(null!==v&&null!==(v=v.memoizedState)){p=10*(1073741822-v.timedOutAt);break}"number"==typeof(v=d.pendingProps.maxDuration)&&(0>=v?h=0:(-1===h||v<h)&&(h=v))}d=d.return}while(null!==d);d=l;do{if((v=13===d.tag)&&(v=void 0!==d.memoizedProps.fallback&&null===d.memoizedState),v){if(null===(l=d.updateQueue)?((l=new Set).add(f),d.updateQueue=l):l.add(f),0==(1&d.mode)){d.effectTag|=64,u.effectTag&=-1957,1===u.tag&&(null===u.alternate?u.tag=17:((a=Bi(1073741823)).tag=zi,Wi(u,a))),u.expirationTime=1073741823;break e}l=a;var m=(u=c).pingCache;null===m?(m=u.pingCache=new da,v=new Set,m.set(f,v)):void 0===(v=m.get(f))&&(v=new Set,m.set(f,v)),v.has(l)||(v.add(l),u=Ba.bind(null,u,f,l),f.then(u,u)),-1===h?c=1073741823:(-1===p&&(p=10*(1073741822-ro(c,a))-5e3),c=p+h),0<=c&&wa<c&&(wa=c),d.effectTag|=2048,d.expirationTime=a;break e}d=d.return}while(null!==d);d=Error((lt(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ut(u))}Oa=!0,d=Xi(d,u),c=l;do{switch(c.tag){case 3:c.effectTag|=2048,c.expirationTime=a,Ki(c,a=fa(c,d,a));break e;case 1:if(h=d,p=c.type,u=c.stateNode,0==(64&c.effectTag)&&("function"==typeof p.getDerivedStateFromError||null!==u&&"function"==typeof u.componentDidCatch&&(null===Da||!Da.has(u)))){c.effectTag|=2048,c.expirationTime=a,Ki(c,a=ha(c,h,a));break e}}c=c.return}while(null!==c)}ya=Aa(i);continue}o=!0,Cs(b)}}break}if(ga=!1,va.current=n,Ii=ji=Mi=null,Yo(),o)ka=null,e.finishedWork=null;else if(null!==ya)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&s("281"),ka=null,Oa){if(o=e.latestPendingTime,i=e.latestSuspendedTime,a=e.latestPingedTime,0!==o&&o<r||0!==i&&i<r||0!==a&&a<r)return no(e,r),void ps(e,n,r,e.expirationTime,-1);if(!e.didError&&t)return e.didError=!0,r=e.nextExpirationTimeToWorkOn=r,t=e.expirationTime=1073741823,void ps(e,n,r,t,-1)}t&&-1!==wa?(no(e,r),(t=10*(1073741822-ro(e,r)))<wa&&(wa=t),t=10*(1073741822-ms()),t=wa-t,ps(e,n,r,e.expirationTime,0>t?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function Ha(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Da||!Da.has(r)))return Wi(n,e=ha(n,e=Xi(t,e),1073741823)),void Ka(n,1073741823);break;case 3:return Wi(n,e=fa(n,e=Xi(t,e),1073741823)),void Ka(n,1073741823)}n=n.return}3===e.tag&&(Wi(e,n=fa(e,n=Xi(t,e),1073741823)),Ka(e,1073741823))}function Va(e,t){var n=i.unstable_getCurrentPriorityLevel(),r=void 0;if(0==(1&t.mode))r=1073741823;else if(ga&&!Ea)r=_a;else{switch(n){case i.unstable_ImmediatePriority:r=1073741823;break;case i.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case i.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case i.unstable_LowPriority:case i.unstable_IdlePriority:r=1;break;default:s("313")}null!==ka&&r===_a&&--r}return n===i.unstable_UserBlockingPriority&&(0===es||r<es)&&(es=r),r}function Ba(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),null!==ka&&_a===n?ka=null:(t=e.earliestSuspendedTime,r=e.latestSuspendedTime,0!==t&&n<=t&&n>=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),oo(n,e),0!==(n=e.expirationTime)&&bs(e,n)))}function Ua(e,t){var n=e.stateNode;null!==n&&n.delete(t),null!==(e=Wa(e,t=Va(t=ms(),e)))&&(to(e,t),0!==(t=e.expirationTime)&&bs(e,t))}function Wa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return o}function Ka(e,t){null!==(e=Wa(e,t))&&(!ga&&0!==_a&&t>_a&&Ma(),to(e,t),ga&&!Ea&&ka===e||bs(e,e.expirationTime),us>ls&&(us=0,s("185")))}function Ya(e,t,n,r,o){return i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){return e(t,n,r,o)}))}var $a=null,qa=null,Ga=0,Za=void 0,Xa=!1,Qa=null,Ja=0,es=0,ts=!1,ns=null,rs=!1,os=!1,is=null,as=i.unstable_now(),ss=1073741822-(as/10|0),cs=ss,ls=50,us=0,ds=null;function fs(){ss=1073741822-((i.unstable_now()-as)/10|0)}function hs(e,t){if(0!==Ga){if(t<Ga)return;null!==Za&&i.unstable_cancelCallback(Za)}Ga=t,e=i.unstable_now()-as,Za=i.unstable_scheduleCallback(_s,{timeout:10*(1073741822-t)-e})}function ps(e,t,n,r,o){e.expirationTime=r,0!==o||ks()?0<o&&(e.timeoutHandle=_r(vs.bind(null,e,t,n),o)):(e.pendingCommitExpirationTime=n,e.finishedWork=t)}function vs(e,t,n){e.pendingCommitExpirationTime=n,e.finishedWork=t,fs(),cs=ss,Os(e,n)}function ms(){return Xa?cs:(gs(),0!==Ja&&1!==Ja||(fs(),cs=ss),cs)}function bs(e,t){null===e.nextScheduledRoot?(e.expirationTime=t,null===qa?($a=qa=e,e.nextScheduledRoot=e):(qa=qa.nextScheduledRoot=e).nextScheduledRoot=$a):t>e.expirationTime&&(e.expirationTime=t),Xa||(rs?os&&(Qa=e,Ja=1073741823,Ss(e,1073741823,!1)):1073741823===t?ws(1073741823,!1):hs(e,t))}function gs(){var e=0,t=null;if(null!==qa)for(var n=qa,r=$a;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===qa)&&s("244"),r===r.nextScheduledRoot){$a=qa=r.nextScheduledRoot=null;break}if(r===$a)$a=o=r.nextScheduledRoot,qa.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===qa){(qa=n).nextScheduledRoot=$a,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(o>e&&(e=o,t=r),r===qa)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}Qa=t,Ja=e}var ys=!1;function ks(){return!!ys||!!i.unstable_shouldYield()&&(ys=!0)}function _s(){try{if(!ks()&&null!==$a){fs();var e=$a;do{var t=e.expirationTime;0!==t&&ss<=t&&(e.nextExpirationTimeToWorkOn=ss),e=e.nextScheduledRoot}while(e!==$a)}ws(0,!0)}finally{ys=!1}}function ws(e,t){if(gs(),t)for(fs(),cs=ss;null!==Qa&&0!==Ja&&e<=Ja&&!(ys&&ss>Ja);)Ss(Qa,Ja,ss>Ja),gs(),fs(),cs=ss;else for(;null!==Qa&&0!==Ja&&e<=Ja;)Ss(Qa,Ja,!1),gs();if(t&&(Ga=0,Za=null),0!==Ja&&hs(Qa,Ja),us=0,ds=null,null!==is)for(e=is,is=null,t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(r){ts||(ts=!0,ns=r)}}if(ts)throw e=ns,ns=null,ts=!1,e}function Os(e,t){Xa&&s("253"),Qa=e,Ja=t,Ss(e,t,!1),ws(1073741823,!1)}function Ss(e,t,n){if(Xa&&s("245"),Xa=!0,n){var r=e.finishedWork;null!==r?Es(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,wr(r)),Fa(e,n),null!==(r=e.finishedWork)&&(ks()?e.finishedWork=r:Es(e,r,t)))}else null!==(r=e.finishedWork)?Es(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,wr(r)),Fa(e,n),null!==(r=e.finishedWork)&&Es(e,r,t));Xa=!1}function Es(e,t,n){var r=e.firstBatch;if(null!==r&&r._expirationTime>=n&&(null===is?is=[r]:is.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===ds?us++:(ds=e,us=0),i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){La(e,t)}))}function Cs(e){null===Qa&&s("246"),Qa.expirationTime=0,ts||(ts=!0,ns=e)}function Ts(e,t){var n=rs;rs=!0;try{return e(t)}finally{(rs=n)||Xa||ws(1073741823,!1)}}function xs(e,t){if(rs&&!os){os=!0;try{return e(t)}finally{os=!1}}return e(t)}function Ds(e,t,n){rs||Xa||0===es||(ws(es,!1),es=0);var r=rs;rs=!0;try{return i.unstable_runWithPriority(i.unstable_UserBlockingPriority,(function(){return e(t,n)}))}finally{(rs=r)||Xa||ws(1073741823,!1)}}function Ms(e,t,n,r,o){var i=t.current;e:if(n){t:{2===rn(n=n._reactInternalFiber)&&1===n.tag||s("170");var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(Lr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);s("171"),a=void 0}if(1===n.tag){var c=n.type;if(Lr(c)){n=Hr(n,c,a);break e}}n=a}else n=jr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=Bi(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Ra(),Wi(i,o),Ka(i,r),r}function js(e,t,n,r){var o=t.current;return Ms(e,t,n,o=Va(ms(),o),r)}function Is(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ps(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ze,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Ns(e){var t=1073741822-25*(1+((1073741822-ms()+500)/25|0));t>=ba&&(t=ba-1),this._expirationTime=ba=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Rs(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Ls(e,t,n){e={current:t=$r(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function As(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function zs(e,t,n,r,o){var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=Is(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ls(e,!1,t)}(n,r),"function"==typeof o){var s=o;o=function(){var e=Is(i._internalRoot);s.call(e)}}xs((function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}))}return Is(i._internalRoot)}function Fs(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return As(t)||s("200"),Ps(e,t,null,n)}xe=function(e,t,n){switch(t){case"input":if(St(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=H(r);o||s("90"),Ke(r),St(r,o)}}}break;case"textarea":Jn(e,n);break;case"select":null!=(t=n.value)&&Zn(e,!!n.multiple,t,!1)}},Ns.prototype.render=function(e){this._defer||s("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new Rs;return Ms(e,t,null,n,r._onCommit),r},Ns.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Ns.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||s("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,o=t;o!==this;)r=o,o=o._next;null===r&&s("251"),r._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,Os(e,n),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Ns.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Rs.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Rs.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n&&s("191",n),n()}}},Ls.prototype.render=function(e,t){var n=this._internalRoot,r=new Rs;return null!==(t=void 0===t?null:t)&&r.then(t),js(e,n,null,r._onCommit),r},Ls.prototype.unmount=function(e){var t=this._internalRoot,n=new Rs;return null!==(e=void 0===e?null:e)&&n.then(e),js(null,t,null,n._onCommit),n},Ls.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,o=new Rs;return null!==(n=void 0===n?null:n)&&o.then(n),js(t,r,e,o._onCommit),o},Ls.prototype.createBatch=function(){var e=new Ns(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime>=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Ne=Ts,Re=Ds,Le=function(){Xa||0===es||(ws(es,!1),es=0)};var Hs,Vs,Bs={createPortal:Fs,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?s("188"):s("268",Object.keys(e))),e=null===(e=an(t))?null:e.stateNode},hydrate:function(e,t,n){return As(t)||s("200"),zs(null,e,t,!0,n)},render:function(e,t,n){return As(t)||s("200"),zs(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return As(n)||s("200"),(null==e||void 0===e._reactInternalFiber)&&s("38"),zs(e,t,n,!1,r)},unmountComponentAtNode:function(e){return As(e)||s("40"),!!e._reactRootContainer&&(xs((function(){zs(null,null,e,!1,(function(){e._reactRootContainer=null}))})),!0)},unstable_createPortal:function(){return Fs.apply(void 0,arguments)},unstable_batchedUpdates:Ts,unstable_interactiveUpdates:Ds,flushSync:function(e,t){Xa&&s("187");var n=rs;rs=!0;try{return Ya(e,t)}finally{rs=n,ws(1073741823,!1)}},unstable_createRoot:function(e,t){return As(e)||s("299","unstable_createRoot"),new Ls(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=rs;rs=!0;try{Ya(e)}finally{(rs=t)||Xa||ws(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[z,F,H,j.injectEventPluginsByName,k,Y,function(e){x(e,K)},Ie,Pe,Mn,P]}};Vs=(Hs={findFiberByHostInstance:A,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ur=Kr((function(e){return t.onCommitFiberRoot(n,e)})),Wr=Kr((function(e){return t.onCommitFiberUnmount(n,e)}))}catch(r){}}(o({},Hs,{overrideProps:null,currentDispatcherRef:Ye.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=an(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Vs?Vs(e):null}}));var Us={default:Bs},Ws=Us&&Bs||Us;e.exports=Ws.default||Ws},function(e,t,n){"use strict";e.exports=n(143)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=null,o=!1,i=3,a=-1,s=-1,c=!1,l=!1;function u(){if(!c){var e=r.expirationTime;l?S():l=!0,O(h,e)}}function d(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var o=i,a=s;i=e,s=t;try{var c=n()}finally{i=o,s=a}if("function"==typeof c)if(c={callback:c,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=c.next=c.previous=c;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=c,u()),(t=n.previous).next=n.previous=c,c.next=n,c.previous=t}}function f(){if(-1===a&&null!==r&&1===r.priorityLevel){c=!0;try{do{d()}while(null!==r&&1===r.priorityLevel)}finally{c=!1,null!==r?u():l=!1}}}function h(e){c=!0;var n=o;o=e;try{if(e)for(;null!==r;){var i=t.unstable_now();if(!(r.expirationTime<=i))break;do{d()}while(null!==r&&r.expirationTime<=i)}else if(null!==r)do{d()}while(null!==r&&!E())}finally{c=!1,o=n,null!==r?u():l=!1,f()}}var p,v,m=Date,b="function"==typeof setTimeout?setTimeout:void 0,g="function"==typeof clearTimeout?clearTimeout:void 0,y="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,k="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function _(e){p=y((function(t){g(v),e(t)})),v=b((function(){k(p),e(t.unstable_now())}),100)}if("object"==typeof performance&&"function"==typeof performance.now){var w=performance;t.unstable_now=function(){return w.now()}}else t.unstable_now=function(){return m.now()};var O,S,E,C=null;if("undefined"!=typeof window?C=window:"undefined"!=typeof window&&(C=window),C&&C._schedMock){var T=C._schedMock;O=T[0],S=T[1],E=T[2],t.unstable_now=T[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var x=null,D=function(e){if(null!==x)try{x(e)}finally{x=null}};O=function(e){null!==x?setTimeout(O,0,e):(x=e,setTimeout(D,0,!1))},S=function(){x=null},E=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof y&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof k&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,j=!1,I=-1,P=!1,N=!1,R=0,L=33,A=33;E=function(){return R<=t.unstable_now()};var z=new MessageChannel,F=z.port2;z.port1.onmessage=function(){j=!1;var e=M,n=I;M=null,I=-1;var r=t.unstable_now(),o=!1;if(0>=R-r){if(!(-1!==n&&n<=r))return P||(P=!0,_(H)),M=e,void(I=n);o=!0}if(null!==e){N=!0;try{e(o)}finally{N=!1}}};var H=function(e){if(null!==M){_(H);var t=e-R+A;t<A&&L<A?(8>t&&(t=8),A=t<L?L:t):L=t,R=e+A,j||(j=!0,F.postMessage(void 0))}else P=!1};O=function(e,t){M=e,I=t,N||0>t?F.postMessage(void 0):P||(P=!0,_(H))},S=function(){M=null,j=!1,I=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=i,o=a;i=e,a=t.unstable_now();try{return n()}finally{i=r,a=o,f()}},t.unstable_next=function(e){switch(i){case 1:case 2:case 3:var n=3;break;default:n=i}var r=i,o=a;i=n,a=t.unstable_now();try{return e()}finally{i=r,a=o,f()}},t.unstable_scheduleCallback=function(e,n){var o=-1!==a?a:t.unstable_now();if("object"==typeof n&&null!==n&&"number"==typeof n.timeout)n=o+n.timeout;else switch(i){case 1:n=o+-1;break;case 2:n=o+250;break;case 5:n=o+1073741823;break;case 4:n=o+1e4;break;default:n=o+5e3}if(e={callback:e,priorityLevel:i,expirationTime:n,next:null,previous:null},null===r)r=e.next=e.previous=e,u();else{o=null;var s=r;do{if(s.expirationTime>n){o=s;break}s=s.next}while(s!==r);null===o?o=r:o===r&&(r=e,u()),(n=o.previous).next=o.previous=e,e.next=o,e.previous=n}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=i;return function(){var r=i,o=a;i=n,a=t.unstable_now();try{return e.apply(this,arguments)}finally{i=r,a=o,f()}}},t.unstable_getCurrentPriorityLevel=function(){return i},t.unstable_shouldYield=function(){return!o&&(null!==r&&r.expirationTime<s||E())},t.unstable_continueExecution=function(){null!==r&&u()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return r}},function(e,t,n){"use strict";var r=n(59),o=n(1);function i(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);i(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var s="function"==typeof Symbol&&Symbol.for,c=s?Symbol.for("react.portal"):60106,l=s?Symbol.for("react.fragment"):60107,u=s?Symbol.for("react.strict_mode"):60108,d=s?Symbol.for("react.profiler"):60114,f=s?Symbol.for("react.provider"):60109,h=s?Symbol.for("react.context"):60110,p=s?Symbol.for("react.concurrent_mode"):60111,v=s?Symbol.for("react.forward_ref"):60112,m=s?Symbol.for("react.suspense"):60113,b=s?Symbol.for("react.memo"):60115,g=s?Symbol.for("react.lazy"):60116;function y(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"ConcurrentMode";case l:return"Fragment";case c:return"Portal";case d:return"Profiler";case u:return"StrictMode";case m:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case h:return"Context.Consumer";case f:return"Context.Provider";case v:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case b:return y(e.type);case g:if(e=1===e._status?e._result:null)return y(e)}return null}var k=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;k.hasOwnProperty("ReactCurrentDispatcher")||(k.ReactCurrentDispatcher={current:null});var _={};function w(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var O=new Uint16Array(16),S=0;15>S;S++)O[S]=S+1;O[15]=0;var E=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,C=Object.prototype.hasOwnProperty,T={},x={};function D(e){return!!C.call(x,e)||!C.call(T,e)&&(E.test(e)?x[e]=!0:(T[e]=!0,!1))}function M(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function j(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){I[e]=new j(e,0,!1,e,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];I[t]=new j(t,1,!1,e[1],null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){I[e]=new j(e,2,!1,e.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){I[e]=new j(e,2,!1,e,null)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){I[e]=new j(e,3,!1,e.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(e){I[e]=new j(e,3,!0,e,null)})),["capture","download"].forEach((function(e){I[e]=new j(e,4,!1,e,null)})),["cols","rows","size","span"].forEach((function(e){I[e]=new j(e,6,!1,e,null)})),["rowSpan","start"].forEach((function(e){I[e]=new j(e,5,!1,e.toLowerCase(),null)}));var P=/[\-:]([a-z])/g;function N(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(P,N);I[t]=new j(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(P,N);I[t]=new j(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(P,N);I[t]=new j(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){I[e]=new j(e,1,!1,e.toLowerCase(),null)}));var R=/["'&<>]/;function L(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=R.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var A=null,z=null,F=null,H=!1,V=!1,B=null,U=0;function W(){return null===A&&a("321"),A}function K(){return 0<U&&a("312"),{memoizedState:null,queue:null,next:null}}function Y(){return null===F?null===z?(H=!1,z=F=K()):(H=!0,F=z):null===F.next?(H=!1,F=F.next=K()):(H=!0,F=F.next),F}function $(e,t,n,r){for(;V;)V=!1,U+=1,F=null,n=e(t,r);return z=A=null,U=0,F=B=null,n}function q(e,t){return"function"==typeof t?t(e):t}function G(e,t,n){if(A=W(),F=Y(),H){var r=F.queue;if(t=r.dispatch,null!==B&&void 0!==(n=B.get(r))){B.delete(r),r=F.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return F.memoizedState=r,[r,t]}return[F.memoizedState,t]}return e=e===q?"function"==typeof t?t():t:void 0!==n?n(t):t,F.memoizedState=e,e=(e=F.queue={last:null,dispatch:null}).dispatch=Z.bind(null,A,e),[F.memoizedState,e]}function Z(e,t,n){if(25>U||a("301"),e===A)if(V=!0,e={action:n,next:null},null===B&&(B=new Map),void 0===(n=B.get(t)))B.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function X(){}var Q=0,J={readContext:function(e){var t=Q;return w(e,t),e[t]},useContext:function(e){W();var t=Q;return w(e,t),e[t]},useMemo:function(e,t){if(A=W(),t=void 0===t?null:t,null!==(F=Y())){var n=F.memoizedState;if(null!==n&&null!==t){e:{var r=n[1];if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++){var i=t[o],a=r[o];if((i!==a||0===i&&1/i!=1/a)&&(i==i||a==a)){r=!1;break e}}r=!0}}if(r)return n[0]}}return e=e(),F.memoizedState=[e,t],e},useReducer:G,useRef:function(e){A=W();var t=(F=Y()).memoizedState;return null===t?(e={current:e},F.memoizedState=e):t},useState:function(e){return G(q,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:X,useEffect:X,useDebugValue:X},ee="http://www.w3.org/1999/xhtml";function te(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var ne={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},re=r({menuitem:!0},ne),oe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ie=["Webkit","ms","Moz","O"];Object.keys(oe).forEach((function(e){ie.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),oe[t]=oe[e]}))}));var ae=/([A-Z])/g,se=/^ms-/,ce=o.Children.toArray,le=k.ReactCurrentDispatcher,ue={listing:!0,pre:!0,textarea:!0},de=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,fe={},he={};var pe=Object.prototype.hasOwnProperty,ve={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function me(e,t){void 0===e&&a("152",y(t)||"Component")}function be(e,t,n){function i(o,i){var s=function(e,t,n){var r=e.contextType;if("object"==typeof r&&null!==r)return w(r,n),r[n];if(e=e.contextTypes){for(var o in n={},e)n[o]=t[o];t=n}else t=_;return t}(i,t,n),c=[],l=!1,u={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===c)return null},enqueueReplaceState:function(e,t){l=!0,c=[t]},enqueueSetState:function(e,t){if(null===c)return null;c.push(t)}},d=void 0;if(i.prototype&&i.prototype.isReactComponent){if(d=new i(o.props,s,u),"function"==typeof i.getDerivedStateFromProps){var f=i.getDerivedStateFromProps.call(null,o.props,d.state);null!=f&&(d.state=r({},d.state,f))}}else if(A={},d=i(o.props,s,u),null==(d=$(i,o.props,d,s))||null==d.render)return void me(e=d,i);if(d.props=o.props,d.context=s,d.updater=u,void 0===(u=d.state)&&(d.state=u=null),"function"==typeof d.UNSAFE_componentWillMount||"function"==typeof d.componentWillMount)if("function"==typeof d.componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&d.componentWillMount(),"function"==typeof d.UNSAFE_componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&d.UNSAFE_componentWillMount(),c.length){u=c;var h=l;if(c=null,l=!1,h&&1===u.length)d.state=u[0];else{f=h?u[0]:d.state;var p=!0;for(h=h?1:0;h<u.length;h++){var v=u[h];null!=(v="function"==typeof v?v.call(d,f,o.props,s):v)&&(p?(p=!1,f=r({},f,v)):r(f,v))}d.state=f}}else c=null;if(me(e=d.render(),i),o=void 0,"function"==typeof d.getChildContext&&"object"==typeof(s=i.childContextTypes))for(var m in o=d.getChildContext())m in s||a("108",y(i)||"Unknown",m);o&&(t=r({},t,o))}for(;o.isValidElement(e);){var s=e,c=s.type;if("function"!=typeof c)break;i(s,c)}return{child:e,context:t}}var ge=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");o.isValidElement(t)?t.type!==l?t=[t]:(t=t.props.children,t=o.isValidElement(t)?[t]:ce(t)):t=ce(t),t={type:null,domNamespace:ee,children:t,childIndex:0,context:_,footer:""};var r=O[0];if(0===r){var i=O,s=2*(r=i.length);65536>=s||a("304");var c=new Uint16Array(s);for(c.set(i),(O=c)[0]=r+1,i=r;i<s-1;i++)O[i]=i+1;O[s-1]=0}else O[0]=O[r];this.threadID=r,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}return e.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;O[e]=O[0],O[0]=e}},e.prototype.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;w(n,r);var o=n[r];this.contextStack[t]=n,this.contextValueStack[t]=o,n[r]=e.props.value},e.prototype.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},e.prototype.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},e.prototype.read=function(e){if(this.exhausted)return null;var t=Q;Q=this.threadID;var n=le.current;le.current=J;try{for(var r=[""],o=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var i=this.threadID;O[i]=O[0],O[0]=i;break}var s=this.stack[this.stack.length-1];if(o||s.childIndex>=s.children.length){var c=s.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===f)this.popProvider(s.type);else if(s.type===m){this.suspenseDepth--;var l=r.pop();if(o){o=!1;var u=s.fallbackFrame;u||a("303"),this.stack.push(u);continue}r[this.suspenseDepth]+=l}r[this.suspenseDepth]+=c}else{var d=s.children[s.childIndex++],h="";try{h+=this.render(d,s.context,s.domNamespace)}catch(p){throw p}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=h}}return r[0]}finally{le.current=n,Q=t}},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?L(n):this.previousWasTextNode?"\x3c!-- --\x3e"+L(n):(this.previousWasTextNode=!0,L(n));if(e=(t=be(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var i=e.$$typeof;i===c&&a("257"),a("258",i.toString())}return e=ce(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(i=e.type))return this.renderDOM(e,t,n);switch(i){case u:case p:case d:case l:return e=ce(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case m:a("294")}if("object"==typeof i&&null!==i)switch(i.$$typeof){case v:A={};var s=i.render(e.props,e.ref);return s=$(i.render,e.props,s,e.ref),s=ce(s),this.stack.push({type:null,domNamespace:n,children:s,childIndex:0,context:t,footer:""}),"";case b:return e=[o.createElement(i.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case f:return n={type:e,domNamespace:n,children:i=ce(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case h:i=e.type,s=e.props;var y=this.threadID;return w(i,y),i=ce(s.children(i[y])),this.stack.push({type:e,domNamespace:n,children:i,childIndex:0,context:t,footer:""}),"";case g:a("295")}a("130",null==i?i:typeof i,"")},e.prototype.renderDOM=function(e,t,n){var i=e.type.toLowerCase();n===ee&&te(i),fe.hasOwnProperty(i)||(de.test(i)||a("65",i),fe[i]=!0);var s=e.props;if("input"===i)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===i){var c=s.value;if(null==c){c=s.defaultValue;var l=s.children;null!=l&&(null!=c&&a("92"),Array.isArray(l)&&(1>=l.length||a("93"),l=l[0]),c=""+l),null==c&&(c="")}s=r({},s,{value:void 0,children:""+c})}else if("select"===i)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===i){l=this.currentSelectValue;var u=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(s.children);if(null!=l){var d=null!=s.value?s.value+"":u;if(c=!1,Array.isArray(l)){for(var f=0;f<l.length;f++)if(""+l[f]===d){c=!0;break}}else c=""+l===d;s=r({selected:void 0,children:void 0},s,{selected:c,children:u})}}for(k in(c=s)&&(re[i]&&(null!=c.children||null!=c.dangerouslySetInnerHTML)&&a("137",i,""),null!=c.dangerouslySetInnerHTML&&(null!=c.children&&a("60"),"object"==typeof c.dangerouslySetInnerHTML&&"__html"in c.dangerouslySetInnerHTML||a("61")),null!=c.style&&"object"!=typeof c.style&&a("62","")),c=s,l=this.makeStaticMarkup,u=1===this.stack.length,d="<"+e.type,c)if(pe.call(c,k)){var h=c[k];if(null!=h){if("style"===k){f=void 0;var p="",v="";for(f in h)if(h.hasOwnProperty(f)){var m=0===f.indexOf("--"),b=h[f];if(null!=b){var g=f;if(he.hasOwnProperty(g))g=he[g];else{var y=g.replace(ae,"-$1").toLowerCase().replace(se,"-ms-");g=he[g]=y}p+=v+g+":",v=f,p+=m=null==b||"boolean"==typeof b||""===b?"":m||"number"!=typeof b||0===b||oe.hasOwnProperty(v)&&oe[v]?(""+b).trim():b+"px",v=";"}}h=p||null}f=null;e:if(m=i,b=c,-1===m.indexOf("-"))m="string"==typeof b.is;else switch(m){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":m=!1;break e;default:m=!0}m?ve.hasOwnProperty(k)||(f=D(f=k)&&null!=h?f+'="'+L(h)+'"':""):(m=k,f=h,h=I.hasOwnProperty(m)?I[m]:null,(b="style"!==m)&&(b=null!==h?0===h.type:2<m.length&&("o"===m[0]||"O"===m[0])&&("n"===m[1]||"N"===m[1])),b||M(m,f,h,!1)?f="":null!==h?(m=h.attributeName,f=3===(h=h.type)||4===h&&!0===f?m+'=""':m+'="'+L(f)+'"'):f=D(m)?m+'="'+L(f)+'"':""),f&&(d+=" "+f)}}l||u&&(d+=' data-reactroot=""');var k=d;c="",ne.hasOwnProperty(i)?k+="/>":(k+=">",c="</"+e.type+">");e:{if(null!=(l=s.dangerouslySetInnerHTML)){if(null!=l.__html){l=l.__html;break e}}else if("string"==typeof(l=s.children)||"number"==typeof l){l=L(l);break e}l=null}return null!=l?(s=[],ue[i]&&"\n"===l.charAt(0)&&(k+="\n"),k+=l):s=ce(s.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?te(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:i,children:s,childIndex:0,context:t,footer:c}),this.previousWasTextNode=!1,k},e}(),ye={renderToString:function(e){e=new ge(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new ge(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){a("207")},renderToStaticNodeStream:function(){a("208")},version:"16.8.6"},ke={default:ye},_e=ke&&ye||ke;e.exports=_e.default||_e},function(e,t,n){"use strict";var r=n(74),o=n(75),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,formatter:o.formatters[o.default],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f=function e(t,n,o,i,a,c,u,f,h,p,v,m,b){var g=t;if("function"==typeof u?g=u(n,g):g instanceof Date?g=p(g):"comma"===o&&s(g)&&(g=g.join(",")),null===g){if(i)return c&&!m?c(n,d.encoder,b):n;g=""}if("string"==typeof g||"number"==typeof g||"boolean"==typeof g||r.isBuffer(g))return c?[v(m?n:c(n,d.encoder,b))+"="+v(c(g,d.encoder,b))]:[v(n)+"="+v(String(g))];var y,k=[];if(void 0===g)return k;if(s(u))y=u;else{var _=Object.keys(g);y=f?_.sort(f):_}for(var w=0;w<y.length;++w){var O=y[w];a&&null===g[O]||(s(g)?l(k,e(g[O],"function"==typeof o?o(n,O):n,o,i,a,c,u,f,h,p,v,m,b)):l(k,e(g[O],n+(h?"."+O:"["+O+"]"),o,i,a,c,u,f,h,p,v,m,b)))}return k};e.exports=function(e,t){var n,r=e,c=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=d.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof c.filter?r=(0,c.filter)("",r):s(c.filter)&&(n=c.filter);var u,h=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=a[u];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var v=0;v<n.length;++v){var m=n[v];c.skipNulls&&null===r[m]||l(h,f(r[m],m,p,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.formatter,c.encodeValuesOnly,c.charset))}var b=h.join(c.delimiter),g=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),b.length>0?g+b:""}},function(e,t,n){"use strict";var r=n(74),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var l=0;null!==(a=i.exec(r))&&l<n.depth;){if(l+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a&&n.parseArrays)i=[].concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);n.parseArrays||""!==s?!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(i=[])[c]=r:i[s]=r:i={0:r}}r=i}return r}(c,t,n)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,s={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=c.split(t.delimiter,l),d=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<u.length;++n)0===u[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[n]?f="utf-8":"utf8=%26%2310003%3B"===u[n]&&(f="iso-8859-1"),d=n,n=u.length);for(n=0;n<u.length;++n)if(n!==d){var h,p,v=u[n],m=v.indexOf("]="),b=-1===m?v.indexOf("="):m+1;-1===b?(h=t.decoder(v,i.decoder,f),p=t.strictNullHandling?null:""):(h=t.decoder(v.slice(0,b),i.decoder,f),p=t.decoder(v.slice(b+1),i.decoder,f)),p&&t.interpretNumericEntities&&"iso-8859-1"===f&&(p=a(p)),p&&t.comma&&p.indexOf(",")>-1&&(p=p.split(",")),o.call(s,h)?s[h]=r.combine(s[h],p):s[h]=p}return s}(e,n):e,l=n.plainObjects?Object.create(null):{},u=Object.keys(c),d=0;d<u.length;++d){var f=u[d],h=s(f,c[f],n);l=r.merge(l,h,n)}return r.compact(l)}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a,s;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(void 0===(s=e[a=n[i]])&&!t.hasOwnProperty(a)||s!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),a=new w(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=c(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=s;var l={};function u(){}function d(){}function f(){}var h={};h[o]=function(){return this};var p=Object.getPrototypeOf,v=p&&p(p(O([])));v&&v!==t&&n.call(v,o)&&(h=v);var m=f.prototype=u.prototype=Object.create(h);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function g(e){var t;this._invoke=function(r,o){function i(){return new Promise((function(t,i){!function t(r,o,i,a){var s=c(e[r],e,o);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(u).then((function(e){l.value=e,i(l)}),(function(e){return t("throw",e,i,a)}))}a(s.arg)}(r,o,t,i)}))}return t=t?t.then(i,i):i()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return d.prototype=m.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},b(g.prototype),g.prototype[i]=function(){return this},e.AsyncIterator=g,e.async=function(t,n,r,o){var i=new g(s(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(m),m[a]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(151)),o=i(n(47));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=[].concat(a(e),a(r.default)),n=function e(n){var r=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],a=function(n){var o=function(e){return function(t){try{var o=e?n.throw(t):n.next(t),s=o.value;if(o.done)return r(s);a(s)}catch(c){return i(c)}}},a=function n(r){t.some((function(t){return t(r,n,e,o(!1),o(!0))}))};o(!1)()},s=o.default.iterator(n)?n:regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))();a(s,r,i)};return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.array=t.object=t.error=t.any=void 0;var r,o=n(47),i=(r=o)&&r.__esModule?r:{default:r};var a=t.any=function(e,t,n,r){return r(e),!0},s=t.error=function(e,t,n,r,o){return!!i.default.error(e)&&(o(e.error),!0)},c=t.object=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.obj(e.value))return!1;var a={},s=Object.keys(e.value),c=0,l=!1;return s.map((function(t){n(e.value[t],(function(e){return function(e,t){l||(a[e]=t,++c===s.length&&r(a))}(t,e)}),(function(e){return function(e,t){l||(l=!0,o(t))}(0,e)}))})),!0},l=t.array=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.array(e.value))return!1;var a=[],s=0,c=!1;return e.value.map((function(t,i){n(t,(function(t){return function(t,n){c||(a[t]=n,++s===e.value.length&&r(a))}(i,t)}),(function(e){return function(e,t){c||(c=!0,o(t))}(0,e)}))})),!0},u=t.iterator=function(e,t,n,r,o){return!!i.default.iterator(e)&&(n(e,t,o),!0)};t.default=[s,u,l,c,a]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.race=t.join=t.fork=t.promise=void 0;var r=a(n(47)),o=n(76),i=a(n(153));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.promise=function(e,t,n,o,i){return!!r.default.promise(e)&&(e.then(t,i),!0)},c=new Map,l=t.fork=function(e,t,n){if(!r.default.fork(e))return!1;var a=Symbol("fork"),s=(0,i.default)();c.set(a,s),n(e.iterator.apply(null,e.args),(function(e){return s.dispatch(e)}),(function(e){return s.dispatch((0,o.error)(e))}));var l=s.subscribe((function(){l(),c.delete(a)}));return t(a),!0},u=t.join=function(e,t,n,o,i){if(!r.default.join(e))return!1;var a,s=c.get(e.task);return s?a=s.subscribe((function(e){a(),t(e)})):i("join error : task not found"),!0},d=t.race=function(e,t,n,o,i){if(!r.default.race(e))return!1;var a,s=!1,c=function(e,n,r){s||(s=!0,e[n]=r,t(e))},l=function(e){s||i(e)};return r.default.array(e.competitors)?(a=e.competitors.map((function(){return!1})),e.competitors.forEach((function(e,t){n(e,(function(e){return c(a,t,e)}),l)}))):function(){var t=Object.keys(e.competitors).reduce((function(e,t){return e[t]=!1,e}),{});Object.keys(e.competitors).forEach((function(r){n(e.competitors[r],(function(e){return c(t,r,e)}),l)}))}(),!0};t.default=[s,l,u,d,function(e,t){if(!r.default.subscribe(e))return!1;if(!r.default.channel(e.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var n=e.channel.subscribe((function(e){n&&n(),t(e)}));return!0}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){var e=[];return{subscribe:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},dispatch:function(t){e.slice().forEach((function(e){return e(t)}))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cps=t.call=void 0;var r,o=n(47),i=(r=o)&&r.__esModule?r:{default:r};var a=t.call=function(e,t,n,r,o){if(!i.default.call(e))return!1;try{t(e.func.apply(e.context,e.args))}catch(a){o(a)}return!0},s=t.cps=function(e,t,n,r,o){var a;return!!i.default.cps(e)&&((a=e.func).call.apply(a,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.args),[function(e,n){e?o(e):t(n)}])),!0)};t.default=[a,s]},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a,s;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(void 0===(s=e[a=n[i]])&&!t.hasOwnProperty(a)||s!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){var r=n(37);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return o.colors[Math.abs(t)%o.colors.length]}function o(e){var n;function r(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(r.enabled){var a=r,s=Number(new Date),c=s-(n||s);a.diff=c,a.prev=n,a.curr=s,n=s,t[0]=o.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var r=o.formatters[n];if("function"==typeof r){var i=t[l];e=r.call(a,i),t.splice(l,1),l--}return e})),o.formatArgs.call(a,t);var u=a.log||o.log;u.apply(a,t)}}return r.namespace=e,r.enabled=o.enabled(e),r.useColors=o.useColors(),r.color=t(e),r.destroy=i,r.extend=a,"function"==typeof o.init&&o.init(r),o.instances.push(r),r}function i(){var e=o.instances.indexOf(this);return-1!==e&&(o.instances.splice(e,1),!0)}function a(e,t){var n=o(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return o.debug=o,o.default=o,o.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},o.disable=function(){var e=[].concat(r(o.names.map(s)),r(o.skips.map(s).map((function(e){return"-"+e})))).join(",");return o.enable(""),e},o.enable=function(e){var t;o.save(e),o.names=[],o.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?o.skips.push(new RegExp("^"+e.substr(1)+"$")):o.names.push(new RegExp("^"+e+"$")));for(t=0;t<o.instances.length;t++){var i=o.instances[t];i.enabled=o.enabled(i.namespace)}},o.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=o.skips.length;t<n;t++)if(o.skips[t].test(e))return!1;for(t=0,n=o.names.length;t<n;t++)if(o.names[t].test(e))return!0;return!1},o.humanize=n(162),Object.keys(e).forEach((function(t){o[t]=e[t]})),o.instances=[],o.names=[],o.skips=[],o.formatters={},o.selectColor=t,o.enable(o.load()),o}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){var n=1e3,r=6e4,o=36e5,i=24*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\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(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return a(e,t,i,"day");if(t>=o)return a(e,t,o,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(e[a=n[i]]!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,u=l&&l(Object);e.exports=function e(t,n,d){if("string"!=typeof n){if(u){var f=l(n);f&&f!==u&&e(t,f,d)}var h=a(n);s&&(h=h.concat(s(n)));for(var p=0;p<h.length;++p){var v=h[p];if(!(r[v]||o[v]||d&&d[v])){var m=c(n,v);try{i(t,v,m)}catch(b){}}}return t}return t}},function(e,t){!function(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,i){return!!this.paused||!t[o]&&!t[i]&&n.call(this,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e.init()}(Mousetrap)},function(e,t,n){n(168)},function(e,t,n){"use strict";var r,o=n(169);(0,((r=o)&&r.__esModule?r:{default:r}).default)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,o.default)(r.default)};var r=i(n(170)),o=i(n(191));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){e.exports=n(171).default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=c(n(172)),o=c(n(187)),i=n(188),a=c(n(189)),s=c(n(190));function c(e){return e&&e.__esModule?e:{default:e}}t.default={create:function(e){var t={},n=Object.keys(e),r=(o.default.get(i.GLOBAL_CACHE_KEY)||{}).namespace,s=void 0===r?"":r;return n.forEach((function(e){var n=(0,a.default)(s,e);t[e]=n})),t},resolve:function(e){var t=(0,r.default)(e,1/0),n=(0,s.default)(t),o=n.classNames,i=n.hasInlineStyles,a=n.inlineStyles,c={className:o.map((function(e,t){return String(e)+" "+String(e)+"_"+String(t+1)})).join(" ")};return i&&(c.style=a),c}}},function(e,t,n){"use strict";var r=n(20),o=n(26),i=n(79),a=n(89),s=a(),c=n(186),l=o.call(Function.call,s);r(l,{getPolyfill:a,implementation:i,shim:c}),e.exports=l},function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(78),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),l=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),f=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var p=l&&n;if(s&&e.length>0&&!o.call(e,0))for(var v=0;v<e.length;++v)f.push(String(v));if(r&&e.length>0)for(var m=0;m<e.length;++m)f.push(String(m));else for(var b in e)p&&"prototype"===b||!o.call(e,b)||f.push(String(b));if(c)for(var g=function(e){if("undefined"==typeof window||!h)return d(e);try{return d(e)}catch(t){return!1}}(e),y=0;y<u.length;++y)g&&"constructor"===u[y]||!o.call(e,u[y])||f.push(u[y]);return f}}e.exports=r},function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError(r+t);for(var n,a=o.call(arguments,1),s=function(){if(this instanceof n){var r=t.apply(this,a.concat(o.call(arguments)));return Object(r)===r?r:this}return t.apply(e,a.concat(o.call(arguments)))},c=Math.max(0,t.length-a.length),l=[],u=0;u<c;u++)l.push("$"+u);if(n=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(s),t.prototype){var d=function(){};d.prototype=t.prototype,n.prototype=new d,d.prototype=null}return n}},function(e,t,n){"use strict";var r=n(26),o=n(80),i=n(63),a=n(185),s=n(48),c=s("%TypeError%"),l=r.call(Function.call,s("%ObjectPrototype%").propertyIsEnumerable),u=r.call(Function.apply,s("%ArrayPrototype%").push),d=i(i({},o),{ToIndex:function(e){if(void 0===e)return 0;var t=this.ToInteger(e);if(t<0)throw new RangeError("index must be >= 0");var n=this.ToLength(t);if(!this.SameValueZero(t,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n},EnumerableOwnProperties:function(e,t){var n=o.EnumerableOwnNames(e);if("key"===t)return n;if("value"===t||"key+value"===t){var r=[];return a(n,(function(n){l(e,n)&&u(r,["value"===t?e[n]:[n,e[n]]])})),r}throw new c('Assertion failed: "kind" is not "key", "value", or "key+value": '+t)}});delete d.EnumerableOwnNames,e.exports=d},function(e,t,n){"use strict";var r=n(39),o=n(177),i=n(61),a=n(48),s=a("%TypeError%"),c=a("%SyntaxError%"),l=a("%Array%"),u=a("%String%"),d=a("%Object%"),f=a("%Number%"),h=a("%Symbol%",!0),p=a("%RegExp%"),v=!!h,m=n(84),b=n(85),g=n(86),y=f.MAX_SAFE_INTEGER||Math.pow(2,53)-1,k=n(63),_=n(87),w=n(88),O=n(181),S=parseInt,E=n(26),C=E.call(Function.call,l.prototype.slice),T=E.call(Function.call,u.prototype.slice),x=E.call(Function.call,p.prototype.test,/^0b[01]+$/i),D=E.call(Function.call,p.prototype.test,/^0o[0-7]+$/i),M=E.call(Function.call,p.prototype.exec),j=new p("["+["…","​","￾"].join("")+"]","g"),I=E.call(Function.call,p.prototype.test,j),P=E.call(Function.call,p.prototype.test,/^[-+]0x[0-9a-f]+$/i),N=E.call(Function.call,u.prototype.charCodeAt),R=E.call(Function.call,Object.prototype.toString),L=E.call(Function.call,a("%NumberPrototype%").valueOf),A=E.call(Function.call,a("%BooleanPrototype%").valueOf),z=E.call(Function.call,a("%StringPrototype%").valueOf),F=E.call(Function.call,a("%DatePrototype%").valueOf),H=Math.floor,V=Math.abs,B=Object.create,U=d.getOwnPropertyDescriptor,W=d.isExtensible,K=d.defineProperty,Y=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),$=new RegExp("(^["+Y+"]+)|(["+Y+"]+$)","g"),q=E.call(Function.call,u.prototype.replace),G=n(182),Z=n(184),X=k(k({},G),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new s(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=O(e)?e:o(e,f);if("symbol"==typeof t)throw new s("Cannot convert a Symbol value to a number");if("string"==typeof t){if(x(t))return this.ToNumber(S(T(t,2),2));if(D(t))return this.ToNumber(S(T(t,2),8));if(I(t)||P(t))return NaN;var n=function(e){return q(e,$,"")}(t);if(n!==t)return this.ToNumber(n)}return f(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(b(t)||0===t||!g(t))return 0;var n=_(t)*H(V(t));return w(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(b(t)||t<=0)return 0;if(t>=255)return 255;var n=H(e);return n+.5<t?n+1:t<n+.5?n:n%2!=0?n+1:n},ToString:function(e){if("symbol"==typeof e)throw new s("Cannot convert a Symbol value to a string");return u(e)},ToObject:function(e){return this.RequireObjectCoercible(e),d(e)},ToPropertyKey:function(e){var t=this.ToPrimitive(e,u);return"symbol"==typeof t?t:this.ToString(t)},ToLength:function(e){var t=this.ToInteger(e);return t<=0?0:t>y?y:t},CanonicalNumericIndexString:function(e){if("[object String]"!==R(e))throw new s("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:G.CheckObjectCoercible,IsArray:l.isArray||function(e){return"[object Array]"===R(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!O(e)&&W(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||b(e)||!g(e))return!1;var t=V(e);return H(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(v){var t=e[h.match];if(void 0!==t)return G.ToBoolean(t)}return Z(e)},SameValueZero:function(e,t){return e===t||b(e)&&b(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new s(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":G.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new s("O.constructor is not an Object");var r=v&&h.species?n[h.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new s("no constructor found")},CompletePropertyDescriptor:function(e){return m(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");if("Boolean"!==this.Type(r))throw new s("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(o){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(v&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");var n=C(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!v)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var r=this.Call(n,e);if("Object"!==this.Type(r))throw new s("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new s("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new s("Assertion failed: completion is not a thunk for a Completion Record");var n,r=t,o=this.GetMethod(e,"return");if(void 0===o)return r();try{var i=this.Call(o,e,[])}catch(a){throw n=r(),r=null,a}if(n=r(),r=null,"Object"!==this.Type(i))throw new s("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new s("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new s("R must be an Object");if("String"!==this.Type(t))throw new s("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new s('"exec" method must return `null` or an Object')}return M(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new s("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&v&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return l(r);if(!this.IsConstructor(n))throw new s("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=U(e,t),o=r||"function"!=typeof W||W(e);return!(!(!r||r.writable&&r.configurable)||!o)&&(K(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new s("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new s("Assertion failed: proto must be null or an object");var n=arguments.length<2?[]:t;if(n.length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!B)throw new c("native Object.create support is required to create null objects");return B(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new s("S must be a String");if(!this.IsInteger(t)||t<0||t>y)throw new s("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new s("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=N(e,t);if(r<55296||r>56319)return t+1;var o=N(e,t+1);return o<56320||o>57343?t+1:t+2},CreateMethodProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!K(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0})},DefinePropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!K(e,t,n)},DeletePropertyOrThrow:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=delete e[t];if(!n)throw new TypeError("Attempt to delete property failed.");return n},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");return i(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:L(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:A(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:z(e)},thisTimeValue:function(e){return F(e)}});delete X.CheckObjectCoercible,e.exports=X},function(e,t,n){"use strict";e.exports=n(178)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(81),i=n(62),a=n(179),s=n(82),c=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,a,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(n=e[s[a]],i(n)&&(r=n.call(e),o(r)))return r;throw new TypeError("No default value")},l=function(e,t){var n=e[t];if(null!=n){if(!i(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}};e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var i=t.call(e,n);if(o(i))return i;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(a(e)||s(e))&&(n="string"),c(e,"default"===n?"number":n)}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(t){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";var r=window.Symbol,o=n(83);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=n(48),o=r("%Object%"),i=r("%TypeError%"),a=r("%String%"),s=n(84),c=n(85),l=n(86),u=n(87),d=n(88),f=n(62),h=n(183),p=n(39),v={ToPrimitive:h,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var t=this.ToNumber(e);return c(t)?0:0!==t&&l(t)?u(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(c(t)||0===t||!l(t))return 0;var n=u(t)*Math.floor(Math.abs(t));return d(n,65536)},ToString:function(e){return a(e)},ToObject:function(e){return this.CheckObjectCoercible(e),o(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new i(t||"Cannot call method on "+e);return e},IsCallable:f,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(p(e,n)&&!t[n])return!1;var r=p(e,"[[Value]]"),o=p(e,"[[Get]]")||p(e,"[[Set]]");if(r&&o)throw new i("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Get]]")&&!p(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Value]]")&&!p(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(s(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new i("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new i("ToPropertyDescriptor requires an object");var t={};if(p(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),p(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),p(e,"value")&&(t["[[Value]]"]=e.value),p(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),p(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(p(e,"set")){var r=e.set;if(void 0!==r&&!this.IsCallable(r))throw new i("setter must be a function");t["[[Set]]"]=r}if((p(t,"[[Get]]")||p(t,"[[Set]]"))&&(p(t,"[[Value]]")||p(t,"[[Writable]]")))throw new i("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=v},function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(81),i=n(62),a=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===r.call(e)?String:Number)===String||t===Number){var n,a,s=t===String?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(i(e[s[a]])&&(n=e[s[a]](),o(n)))return n;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")};e.exports=function(e){return o(e)?e:arguments.length>1?a(e,arguments[1]):a(e)}},function(e,t,n){"use strict";var r=n(39),o=RegExp.prototype.exec,i=Object.getOwnPropertyDescriptor,a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===a.call(e);var t=i(e,"lastIndex");return!(!t||!r(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,o.call(e),!0}catch(n){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";e.exports=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)}},function(e,t,n){"use strict";var r=n(20),o=n(89);e.exports=function(){var e=o();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";var r=n(20),o=n(82),i="__ global cache key __";"function"==typeof Symbol&&o(Symbol("foo"))&&"function"==typeof Symbol.for&&(i=Symbol.for(i));var a=function(){return!0},s=function(){if(!window[i]){var e={};e[i]={};var t={};t[i]=a,r(window,e,t)}return window[i]},c=s(),l=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete window[i],c=s()},delete:function(e){return u(e),delete c[l(e)],!d.has(e)},get:function(e){return u(e),c[l(e)]},has:function(e){return u(e),l(e)in c},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var i={};return i[n]=a,r(c,o,i),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o<e.length;o++){var i=e[o];i&&("string"==typeof i?t.push(i):(Object.assign(r,i),n=!0))}return{classNames:t,hasInlineStyles:n,inlineStyles:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r.default.registerInterface(e),r.default.registerTheme(o.default)};var r=i(n(90)),o=i(n(91));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);Object.defineProperty(t,"CalendarDay",{enumerable:!0,get:function(){return O(r).default}});var o=n(95);Object.defineProperty(t,"CalendarMonth",{enumerable:!0,get:function(){return O(o).default}});var i=n(97);Object.defineProperty(t,"CalendarMonthGrid",{enumerable:!0,get:function(){return O(i).default}});var a=n(213);Object.defineProperty(t,"DateRangePicker",{enumerable:!0,get:function(){return O(a).default}});var s=n(112);Object.defineProperty(t,"DateRangePickerInput",{enumerable:!0,get:function(){return O(s).default}});var c=n(111);Object.defineProperty(t,"DateRangePickerInputController",{enumerable:!0,get:function(){return O(c).default}});var l=n(104);Object.defineProperty(t,"DateRangePickerShape",{enumerable:!0,get:function(){return O(l).default}});var u=n(71);Object.defineProperty(t,"DayPicker",{enumerable:!0,get:function(){return O(u).default}});var d=n(120);Object.defineProperty(t,"DayPickerRangeController",{enumerable:!0,get:function(){return O(d).default}});var f=n(123);Object.defineProperty(t,"DayPickerSingleDateController",{enumerable:!0,get:function(){return O(f).default}});var h=n(236);Object.defineProperty(t,"SingleDatePicker",{enumerable:!0,get:function(){return O(h).default}});var p=n(125);Object.defineProperty(t,"SingleDatePickerInput",{enumerable:!0,get:function(){return O(p).default}});var v=n(124);Object.defineProperty(t,"SingleDatePickerShape",{enumerable:!0,get:function(){return O(v).default}});var m=n(42);Object.defineProperty(t,"isInclusivelyAfterDay",{enumerable:!0,get:function(){return O(m).default}});var b=n(237);Object.defineProperty(t,"isInclusivelyBeforeDay",{enumerable:!0,get:function(){return O(b).default}});var g=n(121);Object.defineProperty(t,"isNextDay",{enumerable:!0,get:function(){return O(g).default}});var y=n(31);Object.defineProperty(t,"isSameDay",{enumerable:!0,get:function(){return O(y).default}});var k=n(50);Object.defineProperty(t,"toISODateString",{enumerable:!0,get:function(){return O(k).default}});var _=n(69);Object.defineProperty(t,"toLocalizedDateString",{enumerable:!0,get:function(){return O(_).default}});var w=n(32);function O(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"toMomentObject",{enumerable:!0,get:function(){return O(w).default}})},function(e,t,n){"use strict";var r=n(20),o=n(93);e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},function(e,t,n){"use strict";var r=n(195);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){var r=n(6);e.exports={isValidMoment:function(e){return!("function"==typeof r.isMoment&&!r.isMoment(e))&&("function"==typeof e.isValid?e.isValid():!isNaN(e))}}},function(e,t){var n={invalidPredicate:"`predicate` must be a function",invalidPropValidator:"`propValidator` must be a function",requiredCore:"is marked as required",invalidTypeCore:"Invalid input type",predicateFailureCore:"Failed to succeed with predicate",anonymousMessage:"<<anonymous>>",baseInvalidMessage:"Invalid "};function r(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var r=e.bind(null,!1,t);return r.isRequired=e.bind(null,!0,t),r},t}function o(e,t,r){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+r+"`.")}e.exports={constructPropValidatorVariations:r,createMomentChecker:function(e,t,i,a){return r((function(r,s,c,l,u,d,f){var h=c[l],p=typeof h,v=function(e,t,n,r){var i=void 0===r,a=null===r;if(e){if(i)return o(n,t,"undefined");if(a)return o(n,t,"null")}return i||a?null:-1}(r,u=u||n.anonymousMessage,f=f||l,h);if(-1!==v)return v;if(t&&!t(h))return new Error(n.invalidTypeCore+": `"+l+"` of type `"+p+"` supplied to `"+u+"`, expected `"+e+"`.");if(!i(h))return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+p+"` supplied to `"+u+"`, expected `"+a+"`.");if(s&&!s(h)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+p+"` supplied to `"+u+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null}))},messages:n}},function(e,t,n){"use strict";function r(){return null}function o(){return r}r.isRequired=r,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,empty:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:r,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,ref:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var r=n(201),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=c(t),v=c(n),m=0;m<a.length;++m){var b=a[m];if(!(i[b]||r&&r[b]||v&&v[b]||s&&s[b])){var g=f(n,b);try{l(t,b,g)}catch(y){}}}return t}return t}},function(e,t,n){"use strict";e.exports=n(202)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case f:case a:case c:case s:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case l:return e;default:return t}}case m:case v:case i:return t}}}function g(e){return b(e)===f}t.typeOf=b,t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=h,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=i,t.Profiler=c,t.StrictMode=s,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===c||e===s||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h)},t.isAsyncMode=function(e){return g(e)||b(e)===d},t.isConcurrentMode=g,t.isContextConsumer=function(e){return b(e)===u},t.isContextProvider=function(e){return b(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return b(e)===h},t.isFragment=function(e){return b(e)===a},t.isLazy=function(e){return b(e)===m},t.isMemo=function(e){return b(e)===v},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===c},t.isStrictMode=function(e){return b(e)===s},t.isSuspense=function(e){return b(e)===p}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default.shape({getState:i.default.func,setState:i.default.func,subscribe:i.default.func})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),o=n(12),i=s(n(64)),a=s(n(207));function s(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.forbidExtraProps)({children:(0,o.or)([(0,o.childrenOfType)(i.default),(0,o.childrenOfType)(a.default)]).isRequired});function l(e){var t=e.children;return r.default.createElement("tr",null,t)}l.propTypes=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=b(n(13)),a=b(n(1)),s=b(n(4)),c=b(n(30)),l=b(n(21)),u=n(12),d=n(16),f=b(n(6)),h=n(14),p=b(n(15)),v=b(n(94)),m=n(7);function b(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var k=b(n(91)).default.reactDates.color;function _(e,t){if(!e)return null;var n=e.hover;return t&&n?n:e}var w=s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string,hover:s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string})}),O=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:s.default.bool,modifiers:s.default.instanceOf(Set),isFocused:s.default.bool,tabIndex:s.default.oneOf([0,-1]),onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,renderDayContents:s.default.func,ariaLabelFormat:s.default.string,defaultStyles:w,outsideStyles:w,todayStyles:w,firstDayOfWeekStyles:w,lastDayOfWeekStyles:w,highlightedCalendarStyles:w,blockedMinNightsStyles:w,blockedCalendarStyles:w,blockedOutOfRangeStyles:w,hoveredSpanStyles:w,selectedSpanStyles:w,lastInRangeStyles:w,selectedStyles:w,selectedStartStyles:w,selectedEndStyles:w,afterHoveredStartStyles:w,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases))})),S=t.defaultStyles={border:"1px solid "+String(k.core.borderLight),color:k.text,background:k.background,hover:{background:k.core.borderLight,border:"1px double "+String(k.core.borderLight),color:"inherit"}},E=t.outsideStyles={background:k.outside.backgroundColor,border:0,color:k.outside.color},C=t.highlightedCalendarStyles={background:k.highlighted.backgroundColor,color:k.highlighted.color,hover:{background:k.highlighted.backgroundColor_hover,color:k.highlighted.color_active}},T=t.blockedMinNightsStyles={background:k.minimumNights.backgroundColor,border:"1px solid "+String(k.minimumNights.borderColor),color:k.minimumNights.color,hover:{background:k.minimumNights.backgroundColor_hover,color:k.minimumNights.color_active}},x=t.blockedCalendarStyles={background:k.blocked_calendar.backgroundColor,border:"1px solid "+String(k.blocked_calendar.borderColor),color:k.blocked_calendar.color,hover:{background:k.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(k.blocked_calendar.borderColor),color:k.blocked_calendar.color_active}},D=t.blockedOutOfRangeStyles={background:k.blocked_out_of_range.backgroundColor,border:"1px solid "+String(k.blocked_out_of_range.borderColor),color:k.blocked_out_of_range.color,hover:{background:k.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(k.blocked_out_of_range.borderColor),color:k.blocked_out_of_range.color_active}},M=t.hoveredSpanStyles={background:k.hoveredSpan.backgroundColor,border:"1px solid "+String(k.hoveredSpan.borderColor),color:k.hoveredSpan.color,hover:{background:k.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(k.hoveredSpan.borderColor),color:k.hoveredSpan.color_active}},j=t.selectedSpanStyles={background:k.selectedSpan.backgroundColor,border:"1px solid "+String(k.selectedSpan.borderColor),color:k.selectedSpan.color,hover:{background:k.selectedSpan.backgroundColor_hover,border:"1px solid "+String(k.selectedSpan.borderColor),color:k.selectedSpan.color_active}},I=t.lastInRangeStyles={borderRight:k.core.primary},P=t.selectedStyles={background:k.selected.backgroundColor,border:"1px solid "+String(k.selected.borderColor),color:k.selected.color,hover:{background:k.selected.backgroundColor_hover,border:"1px solid "+String(k.selected.borderColor),color:k.selected.color_active}},N={day:(0,f.default)(),daySize:m.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",defaultStyles:S,outsideStyles:E,todayStyles:{},highlightedCalendarStyles:C,blockedMinNightsStyles:T,blockedCalendarStyles:x,blockedOutOfRangeStyles:D,hoveredSpanStyles:M,selectedSpanStyles:j,lastInRangeStyles:I,selectedStyles:P,selectedStartStyles:{},selectedEndStyles:{},afterHoveredStartStyles:{},firstDayOfWeekStyles:{},lastDayOfWeekStyles:{},phrases:h.CalendarDayPhrases},R=function(e){function t(){var e;g(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=y(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.state={isHovered:!1},i.setButtonRef=i.setButtonRef.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){var n=this.props.onDayMouseEnter;this.setState({isHovered:!0}),n(e,t)}},{key:"onDayMouseLeave",value:function(e,t){var n=this.props.onDayMouseLeave;this.setState({isHovered:!1}),n(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,i=t.daySize,s=t.isOutsideDay,c=t.modifiers,l=t.tabIndex,u=t.renderDayContents,f=t.styles,h=t.phrases,p=t.defaultStyles,m=t.outsideStyles,b=t.todayStyles,g=t.firstDayOfWeekStyles,y=t.lastDayOfWeekStyles,k=t.highlightedCalendarStyles,w=t.blockedMinNightsStyles,O=t.blockedCalendarStyles,S=t.blockedOutOfRangeStyles,E=t.hoveredSpanStyles,C=t.selectedSpanStyles,T=t.lastInRangeStyles,x=t.selectedStyles,D=t.selectedStartStyles,M=t.selectedEndStyles,j=t.afterHoveredStartStyles,I=this.state.isHovered;if(!n)return a.default.createElement("td",null);var P=(0,v.default)(n,o,i,c,h),N=P.daySizeStyles,R=P.useDefaultCursor,L=P.selected,A=P.hoveredSpan,z=P.isOutsideRange,F=P.ariaLabel;return a.default.createElement("td",r({},(0,d.css)(f.CalendarDay,R&&f.CalendarDay__defaultCursor,N,_(p,I),s&&_(m,I),c.has("today")&&_(b,I),c.has("first-day-of-week")&&_(g,I),c.has("last-day-of-week")&&_(y,I),c.has("highlighted-calendar")&&_(k,I),c.has("blocked-minimum-nights")&&_(w,I),c.has("blocked-calendar")&&_(O,I),A&&_(E,I),c.has("after-hovered-start")&&_(j,I),c.has("selected-span")&&_(C,I),c.has("last-in-range")&&_(T,I),L&&_(x,I),c.has("selected-start")&&_(D,I),c.has("selected-end")&&_(M,I),z&&_(S,I)),{role:"button",ref:this.setButtonRef,"aria-label":F,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:l}),u?u(n,c):n.format("D"))}}]),t}(a.default.Component);R.propTypes=O,R.defaultProps=N,t.PureCustomizableCalendarDay=R,t.default=(0,d.withStyles)((function(e){return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:e.reactDates.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"}}}))(R)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.default.localeData().firstDayOfWeek();if(!i.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===a.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),o=e.clone().endOf("month").hour(12),s=(r.day()+7-n)%7,c=(n+6-o.day())%7,l=r.clone().subtract(s,"day"),u=o.clone().add(c,"day"),d=u.diff(l,"days")+1,f=l.clone(),h=[],p=0;p<d;p+=1){p%7==0&&h.push([]);var v=null;(p>=s&&p<d-c||t)&&(v=f.clone()),h[h.length-1].push(v),f.add(1,"day")}return h};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!!("undefined"!=typeof window&&"TransitionEvent"in window)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{transform:e,msTransform:e,MozTransform:e,WebkitTransform:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().subtract(1,"month"),t)};var r=i(n(6)),o=i(n(99));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().add(1,"month"),t)};var r=i(n(6)),o=i(n(99));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDateRangePicker=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=C(n(13)),a=C(n(1)),s=C(n(30)),c=C(n(6)),l=n(16),u=n(126),d=n(12),f=n(51),h=C(n(34)),p=C(n(65)),v=C(n(104)),m=n(14),b=C(n(108)),g=C(n(109)),y=C(n(67)),k=C(n(42)),_=C(n(110)),w=C(n(111)),O=C(n(120)),S=C(n(44)),E=n(7);function C(e){return e&&e.__esModule?e:{default:e}}var T=(0,d.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,v.default)),x={startDate:null,endDate:null,focusedInput:null,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",disabled:!1,required:!1,readOnly:!1,screenReaderInputMessage:"",showClearDates:!1,showDefaultInputIcon:!1,inputIconPosition:E.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,keepFocusOnInput:!1,renderMonthText:null,orientation:E.HORIZONTAL_ORIENTATION,anchorDirection:E.ANCHOR_LEFT,openDirection:E.OPEN_DOWN,horizontalMargin:0,withPortal:!1,withFullScreenPortal:!1,appendToBody:!1,disableScroll:!1,initialVisibleMonth:null,numberOfMonths:2,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,renderCalendarInfo:null,calendarInfoPosition:E.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:E.DAY_SIZE,isRTL:!1,firstDayOfWeek:null,verticalHeight:null,transitionDuration:void 0,verticalSpacing:E.DEFAULT_VERTICAL_SPACING,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onClose:function(){},renderCalendarDay:void 0,renderDayContents:null,renderMonthElement:null,minimumNights:1,enableOutsideDays:!1,isDayBlocked:function(){return!1},isOutsideRange:function(e){return!(0,k.default)(e,(0,c.default)())},isDayHighlighted:function(){return!1},displayFormat:function(){return c.default.localeData().longDateFormat("L")},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:m.DateRangePickerPhrases,dayAriaLabelFormat:void 0},D=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={dayPickerContainerStyles:{},isDateRangePickerInputFocused:!1,isDayPickerFocused:!1,showKeyboardShortcuts:!1},n.isTouchDevice=!1,n.onOutsideClick=n.onOutsideClick.bind(n),n.onDateRangePickerInputFocus=n.onDateRangePickerInputFocus.bind(n),n.onDayPickerFocus=n.onDayPickerFocus.bind(n),n.onDayPickerBlur=n.onDayPickerBlur.bind(n),n.showKeyboardShortcutsPanel=n.showKeyboardShortcutsPanel.bind(n),n.responsivizePickerPosition=n.responsivizePickerPosition.bind(n),n.disableScroll=n.disableScroll.bind(n),n.setDayPickerContainerRef=n.setDayPickerContainerRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,f.addEventListener)(window,"resize",this.responsivizePickerPosition,{passive:!0}),this.responsivizePickerPosition(),this.disableScroll(),this.props.focusedInput&&this.setState({isDateRangePickerInputFocused:!0}),this.isTouchDevice=(0,h.default)()}},{key:"shouldComponentUpdate",value:function(e,t){return(0,s.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.focusedInput;!e.focusedInput&&t&&this.isOpened()?(this.responsivizePickerPosition(),this.disableScroll()):!e.focusedInput||t||this.isOpened()||this.enableScroll&&this.enableScroll()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener(),this.enableScroll&&this.enableScroll()}},{key:"onOutsideClick",value:function(e){var t=this.props,n=t.onFocusChange,r=t.onClose,o=t.startDate,i=t.endDate,a=t.appendToBody;this.isOpened()&&(a&&this.dayPickerContainer.contains(e.target)||(this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!1,showKeyboardShortcuts:!1}),n(null),r({startDate:o,endDate:i})))}},{key:"onDateRangePickerInputFocus",value:function(e){var t=this.props,n=t.onFocusChange,r=t.readOnly,o=t.withPortal,i=t.withFullScreenPortal,a=t.keepFocusOnInput;e&&(o||i||r&&!a||this.isTouchDevice&&!a?this.onDayPickerFocus():this.onDayPickerBlur()),n(e)}},{key:"onDayPickerFocus",value:function(){var e=this.props,t=e.focusedInput,n=e.onFocusChange;t||n(E.START_DATE),this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!1})}},{key:"onDayPickerBlur",value:function(){this.setState({isDateRangePickerInputFocused:!0,isDayPickerFocused:!1,showKeyboardShortcuts:!1})}},{key:"setDayPickerContainerRef",value:function(e){this.dayPickerContainer=e}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"isOpened",value:function(){var e=this.props.focusedInput;return e===E.START_DATE||e===E.END_DATE}},{key:"disableScroll",value:function(){var e=this.props,t=e.appendToBody,n=e.disableScroll;(t||n)&&this.isOpened()&&(this.enableScroll=(0,_.default)(this.container))}},{key:"responsivizePickerPosition",value:function(){if(this.setState({dayPickerContainerStyles:{}}),this.isOpened()){var e=this.props,t=e.openDirection,n=e.anchorDirection,r=e.horizontalMargin,o=e.withPortal,a=e.withFullScreenPortal,s=e.appendToBody,c=this.state.dayPickerContainerStyles,l=n===E.ANCHOR_LEFT;if(!o&&!a){var u=this.dayPickerContainer.getBoundingClientRect(),d=c[n]||0,f=l?u[E.ANCHOR_RIGHT]:u[E.ANCHOR_LEFT];this.setState({dayPickerContainerStyles:(0,i.default)({},(0,b.default)(n,d,f,r),s&&(0,g.default)(t,n,this.container))})}}}},{key:"showKeyboardShortcutsPanel",value:function(){this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!0})}},{key:"maybeRenderDayPickerWithPortal",value:function(){var e=this.props,t=e.withPortal,n=e.withFullScreenPortal,r=e.appendToBody;return this.isOpened()?t||n||r?a.default.createElement(u.Portal,null,this.renderDayPicker()):this.renderDayPicker():null}},{key:"renderDayPicker",value:function(){var e=this.props,t=e.anchorDirection,n=e.openDirection,o=e.isDayBlocked,i=e.isDayHighlighted,s=e.isOutsideRange,u=e.numberOfMonths,d=e.orientation,f=e.monthFormat,h=e.renderMonthText,p=e.navPrev,v=e.navNext,m=e.onPrevMonthClick,b=e.onNextMonthClick,g=e.onDatesChange,k=e.onFocusChange,_=e.withPortal,w=e.withFullScreenPortal,C=e.daySize,T=e.enableOutsideDays,x=e.focusedInput,D=e.startDate,M=e.endDate,j=e.minimumNights,I=e.keepOpenOnDateSelect,P=e.renderCalendarDay,N=e.renderDayContents,R=e.renderCalendarInfo,L=e.renderMonthElement,A=e.calendarInfoPosition,z=e.firstDayOfWeek,F=e.initialVisibleMonth,H=e.hideKeyboardShortcutsPanel,V=e.customCloseIcon,B=e.onClose,U=e.phrases,W=e.dayAriaLabelFormat,K=e.isRTL,Y=e.weekDayFormat,$=e.styles,q=e.verticalHeight,G=e.transitionDuration,Z=e.verticalSpacing,X=e.small,Q=e.disabled,J=e.theme.reactDates,ee=this.state,te=ee.dayPickerContainerStyles,ne=ee.isDayPickerFocused,re=ee.showKeyboardShortcuts,oe=!w&&_?this.onOutsideClick:void 0,ie=F||function(){return D||M||(0,c.default)()},ae=V||a.default.createElement(S.default,(0,l.css)($.DateRangePicker_closeButton_svg)),se=(0,y.default)(J,X),ce=_||w;return a.default.createElement("div",r({ref:this.setDayPickerContainerRef},(0,l.css)($.DateRangePicker_picker,t===E.ANCHOR_LEFT&&$.DateRangePicker_picker__directionLeft,t===E.ANCHOR_RIGHT&&$.DateRangePicker_picker__directionRight,d===E.HORIZONTAL_ORIENTATION&&$.DateRangePicker_picker__horizontal,d===E.VERTICAL_ORIENTATION&&$.DateRangePicker_picker__vertical,!ce&&n===E.OPEN_DOWN&&{top:se+Z},!ce&&n===E.OPEN_UP&&{bottom:se+Z},ce&&$.DateRangePicker_picker__portal,w&&$.DateRangePicker_picker__fullScreenPortal,K&&$.DateRangePicker_picker__rtl,te),{onClick:oe}),a.default.createElement(O.default,{orientation:d,enableOutsideDays:T,numberOfMonths:u,onPrevMonthClick:m,onNextMonthClick:b,onDatesChange:g,onFocusChange:k,onClose:B,focusedInput:x,startDate:D,endDate:M,monthFormat:f,renderMonthText:h,withPortal:ce,daySize:C,initialVisibleMonth:ie,hideKeyboardShortcutsPanel:H,navPrev:p,navNext:v,minimumNights:j,isOutsideRange:s,isDayHighlighted:i,isDayBlocked:o,keepOpenOnDateSelect:I,renderCalendarDay:P,renderDayContents:N,renderCalendarInfo:R,renderMonthElement:L,calendarInfoPosition:A,isFocused:ne,showKeyboardShortcuts:re,onBlur:this.onDayPickerBlur,phrases:U,dayAriaLabelFormat:W,isRTL:K,firstDayOfWeek:z,weekDayFormat:Y,verticalHeight:q,transitionDuration:G,disabled:Q}),w&&a.default.createElement("button",r({},(0,l.css)($.DateRangePicker_closeButton),{type:"button",onClick:this.onOutsideClick,"aria-label":U.closeDatePicker}),ae))}},{key:"render",value:function(){var e=this.props,t=e.startDate,n=e.startDateId,o=e.startDatePlaceholderText,i=e.endDate,s=e.endDateId,c=e.endDatePlaceholderText,u=e.focusedInput,d=e.screenReaderInputMessage,f=e.showClearDates,h=e.showDefaultInputIcon,v=e.inputIconPosition,m=e.customInputIcon,b=e.customArrowIcon,g=e.customCloseIcon,y=e.disabled,k=e.required,_=e.readOnly,O=e.openDirection,S=e.phrases,C=e.isOutsideRange,T=e.minimumNights,x=e.withPortal,D=e.withFullScreenPortal,M=e.displayFormat,j=e.reopenPickerOnClearDates,I=e.keepOpenOnDateSelect,P=e.onDatesChange,N=e.onClose,R=e.isRTL,L=e.noBorder,A=e.block,z=e.verticalSpacing,F=e.small,H=e.regular,V=e.styles,B=this.state.isDateRangePickerInputFocused,U=!x&&!D,W=z<E.FANG_HEIGHT_PX,K=a.default.createElement(w.default,{startDate:t,startDateId:n,startDatePlaceholderText:o,isStartDateFocused:u===E.START_DATE,endDate:i,endDateId:s,endDatePlaceholderText:c,isEndDateFocused:u===E.END_DATE,displayFormat:M,showClearDates:f,showCaret:!x&&!D&&!W,showDefaultInputIcon:h,inputIconPosition:v,customInputIcon:m,customArrowIcon:b,customCloseIcon:g,disabled:y,required:k,readOnly:_,openDirection:O,reopenPickerOnClearDates:j,keepOpenOnDateSelect:I,isOutsideRange:C,minimumNights:T,withFullScreenPortal:D,onDatesChange:P,onFocusChange:this.onDateRangePickerInputFocus,onKeyDownArrowDown:this.onDayPickerFocus,onKeyDownQuestionMark:this.showKeyboardShortcutsPanel,onClose:N,phrases:S,screenReaderMessage:d,isFocused:B,isRTL:R,noBorder:L,block:A,small:F,regular:H,verticalSpacing:z});return a.default.createElement("div",r({ref:this.setContainerRef},(0,l.css)(V.DateRangePicker,A&&V.DateRangePicker__block)),U&&a.default.createElement(p.default,{onOutsideClick:this.onOutsideClick},K,this.maybeRenderDayPickerWithPortal()),!U&&K,!U&&this.maybeRenderDayPickerWithPortal())}}]),t}(a.default.Component);D.propTypes=T,D.defaultProps=x,t.PureDateRangePicker=D,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.zIndex;return{DateRangePicker:{position:"relative",display:"inline-block"},DateRangePicker__block:{display:"block"},DateRangePicker_picker:{zIndex:r+1,backgroundColor:n.background,position:"absolute"},DateRangePicker_picker__rtl:{direction:"rtl"},DateRangePicker_picker__directionLeft:{left:0},DateRangePicker_picker__directionRight:{right:0},DateRangePicker_picker__portal:{backgroundColor:"rgba(0, 0, 0, 0.3)",position:"fixed",top:0,left:0,height:"100%",width:"100%"},DateRangePicker_picker__fullScreenPortal:{backgroundColor:n.background},DateRangePicker_closeButton:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",position:"absolute",top:0,right:0,padding:15,zIndex:r+2,":hover":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"},":focus":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"}},DateRangePicker_closeButton_svg:{height:15,width:15,fill:n.core.grayLighter}}}))(D)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(1)),i=u(n(4)),a=n(12),s=n(51),c=u(n(66)),l=u(n(217));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h={BLOCK:"block",FLEX:"flex",INLINE_BLOCK:"inline-block"},p=(0,a.forbidExtraProps)({children:i.default.node.isRequired,onOutsideClick:i.default.func.isRequired,disabled:i.default.bool,useCapture:i.default.bool,display:i.default.oneOf((0,c.default)(h))}),v={disabled:!1,useCapture:!0,display:h.BLOCK},m=function(e){function t(){var e;d(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.onMouseDown=i.onMouseDown.bind(i),i.onMouseUp=i.onMouseUp.bind(i),i.setChildNodeRef=i.setChildNodeRef.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.disabled,n=e.useCapture;t||this.addMouseDownEventListener(n)}},{key:"componentWillReceiveProps",value:function(e){var t=e.disabled,n=e.useCapture;this.props.disabled!==t&&(t?this.removeEventListeners():this.addMouseDownEventListener(n))}},{key:"componentWillUnmount",value:function(){this.removeEventListeners()}},{key:"onMouseDown",value:function(e){var t=this.props.useCapture;this.childNode&&(0,l.default)(this.childNode,e.target)||(this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),this.removeMouseUp=(0,s.addEventListener)(document,"mouseup",this.onMouseUp,{capture:t}))}},{key:"onMouseUp",value:function(e){var t=this.props.onOutsideClick,n=this.childNode&&(0,l.default)(this.childNode,e.target);this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),n||t(e)}},{key:"setChildNodeRef",value:function(e){this.childNode=e}},{key:"addMouseDownEventListener",value:function(e){this.removeMouseDown=(0,s.addEventListener)(document,"mousedown",this.onMouseDown,{capture:e})}},{key:"removeEventListeners",value:function(){this.removeMouseDown&&this.removeMouseDown(),this.removeMouseUp&&this.removeMouseUp()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.display;return o.default.createElement("div",{ref:this.setChildNodeRef,style:n!==h.BLOCK&&(0,c.default)(h).includes(n)?{display:n}:void 0},t)}}]),t}(o.default.Component);t.default=m,m.propTypes=p,m.defaultProps=v},function(e,t,n){"use strict";e.exports=n(80)},function(e,t,n){"use strict";var r=n(101),o=n(20);e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},function(e,t,n){"use strict";var r=n(20),o=n(102),i=n(103),a=i(),s=function(e,t){return a.apply(e,[t])};r(s,{getPolyfill:i,implementation:o,shim:n(218)}),e.exports=s},function(e,t,n){"use strict";var r=n(20),o=n(103);e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},function(e,t,n){var r=n(68),o=n(220),i=n(222),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,l,u,d,f,h,p=0,v=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=c,r=l;return c=l=void 0,p=t,d=e.apply(r,n)}function y(e){return p=e,f=setTimeout(_,t),v?g(e):d}function k(e){var n=e-h;return void 0===h||n>=t||n<0||m&&e-p>=u}function _(){var e=o();if(k(e))return w(e);f=setTimeout(_,function(e){var n=t-(e-h);return m?s(n,u-(e-p)):n}(e))}function w(e){return f=void 0,b&&c?g(e):(c=l=void 0,d)}function O(){var e=o(),n=k(e);if(c=arguments,l=this,h=e,n){if(void 0===f)return y(h);if(m)return clearTimeout(f),f=setTimeout(_,t),g(h)}return void 0===f&&(f=setTimeout(_,t)),d}return t=i(t)||0,r(n)&&(v=!!n.leading,u=(m="maxWait"in n)?a(i(n.maxWait)||0,t):u,b="trailing"in n?!!n.trailing:b),O.cancel=function(){void 0!==f&&clearTimeout(f),p=0,c=h=l=f=void 0},O.flush=function(){return void 0===f?d:w(o())},O}},function(e,t,n){var r=n(115);e.exports=function(){return r.Date.now()}},function(e,t){var n="object"==typeof window&&window&&window.Object===Object&&window;e.exports=n},function(e,t,n){var r=n(68),o=n(223),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(224),o=n(227);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(116),o=n(225),i=n(226),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(116),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return e?n(e(t.clone())):t};var r=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=b(n(13)),i=b(n(1)),a=b(n(4)),s=n(12),c=n(16),l=n(14),u=b(n(15)),d=b(n(118)),f=b(n(117)),h=b(n(230)),p=b(n(231)),v=b(n(33)),m=n(7);function b(e){return e&&e.__esModule?e:{default:e}}function g(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var y=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{navPrev:a.default.node,navNext:a.default.node,orientation:v.default,onPrevMonthClick:a.default.func,onNextMonthClick:a.default.func,phrases:a.default.shape((0,u.default)(l.DayPickerNavigationPhrases)),isRTL:a.default.bool})),k={navPrev:null,navNext:null,orientation:m.HORIZONTAL_ORIENTATION,onPrevMonthClick:function(){},onNextMonthClick:function(){},phrases:l.DayPickerNavigationPhrases,isRTL:!1};function _(e){var t=e.navPrev,n=e.navNext,o=e.onPrevMonthClick,a=e.onNextMonthClick,s=e.orientation,l=e.phrases,u=e.isRTL,v=e.styles,b=s===m.HORIZONTAL_ORIENTATION,y=s!==m.HORIZONTAL_ORIENTATION,k=s===m.VERTICAL_SCROLLABLE,_=t,w=n,O=!1,S=!1;if(!_){O=!0;var E=y?h.default:d.default;u&&!y&&(E=f.default),_=i.default.createElement(E,(0,c.css)(b&&v.DayPickerNavigation_svg__horizontal,y&&v.DayPickerNavigation_svg__vertical))}if(!w){S=!0;var C=y?p.default:f.default;u&&!y&&(C=d.default),w=i.default.createElement(C,(0,c.css)(b&&v.DayPickerNavigation_svg__horizontal,y&&v.DayPickerNavigation_svg__vertical))}var T=k?S:S||O;return i.default.createElement("div",c.css.apply(void 0,[v.DayPickerNavigation,b&&v.DayPickerNavigation__horizontal].concat(g(y&&[v.DayPickerNavigation__vertical,T&&v.DayPickerNavigation__verticalDefault]),g(k&&[v.DayPickerNavigation__verticalScrollable,T&&v.DayPickerNavigation__verticalScrollableDefault]))),!k&&i.default.createElement("div",r({role:"button",tabIndex:"0"},c.css.apply(void 0,[v.DayPickerNavigation_button,O&&v.DayPickerNavigation_button__default].concat(g(b&&[v.DayPickerNavigation_button__horizontal].concat(g(O&&[v.DayPickerNavigation_button__horizontalDefault,!u&&v.DayPickerNavigation_leftButton__horizontalDefault,u&&v.DayPickerNavigation_rightButton__horizontalDefault]))),g(y&&[v.DayPickerNavigation_button__vertical].concat(g(O&&[v.DayPickerNavigation_button__verticalDefault,v.DayPickerNavigation_prevButton__verticalDefault]))))),{"aria-label":l.jumpToPrevMonth,onClick:o,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||o(e)},onMouseUp:function(e){e.currentTarget.blur()}}),_),i.default.createElement("div",r({role:"button",tabIndex:"0"},c.css.apply(void 0,[v.DayPickerNavigation_button,S&&v.DayPickerNavigation_button__default].concat(g(b&&[v.DayPickerNavigation_button__horizontal].concat(g(S&&[v.DayPickerNavigation_button__horizontalDefault,u&&v.DayPickerNavigation_leftButton__horizontalDefault,!u&&v.DayPickerNavigation_rightButton__horizontalDefault]))),g(y&&[v.DayPickerNavigation_button__vertical,v.DayPickerNavigation_nextButton__vertical].concat(g(S&&[v.DayPickerNavigation_button__verticalDefault,v.DayPickerNavigation_nextButton__verticalDefault,k&&v.DayPickerNavigation_nextButton__verticalScrollableDefault]))))),{"aria-label":l.jumpToNextMonth,onClick:a,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||a(e)},onMouseUp:function(e){e.currentTarget.blur()}}),w))}_.propTypes=y,_.defaultProps=k,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color;return{DayPickerNavigation:{position:"relative",zIndex:t.zIndex+2},DayPickerNavigation__horizontal:{height:0},DayPickerNavigation__vertical:{},DayPickerNavigation__verticalScrollable:{},DayPickerNavigation__verticalDefault:{position:"absolute",width:"100%",height:52,bottom:0,left:0},DayPickerNavigation__verticalScrollableDefault:{position:"relative"},DayPickerNavigation_button:{cursor:"pointer",userSelect:"none",border:0,padding:0,margin:0},DayPickerNavigation_button__default:{border:"1px solid "+String(n.core.borderLight),backgroundColor:n.background,color:n.placeholderText,":focus":{border:"1px solid "+String(n.core.borderMedium)},":hover":{border:"1px solid "+String(n.core.borderMedium)},":active":{background:n.backgroundDark}},DayPickerNavigation_button__horizontal:{},DayPickerNavigation_button__horizontalDefault:{position:"absolute",top:18,lineHeight:.78,borderRadius:3,padding:"6px 9px"},DayPickerNavigation_leftButton__horizontalDefault:{left:22},DayPickerNavigation_rightButton__horizontalDefault:{right:22},DayPickerNavigation_button__vertical:{},DayPickerNavigation_button__verticalDefault:{padding:5,background:n.background,boxShadow:"0 0 5px 2px rgba(0, 0, 0, 0.1)",position:"relative",display:"inline-block",height:"100%",width:"50%"},DayPickerNavigation_prevButton__verticalDefault:{},DayPickerNavigation_nextButton__verticalDefault:{borderLeft:0},DayPickerNavigation_nextButton__verticalScrollableDefault:{width:"100%"},DayPickerNavigation_svg__horizontal:{height:19,width:19,fill:n.core.grayLight,display:"block"},DayPickerNavigation_svg__vertical:{height:42,width:42,fill:n.text,display:"block"}}}))(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BOTTOM_RIGHT=t.TOP_RIGHT=t.TOP_LEFT=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=p(n(13)),a=p(n(1)),s=p(n(4)),c=n(12),l=n(16),u=n(14),d=p(n(15)),f=p(n(233)),h=p(n(44));function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=t.TOP_LEFT="top-left",g=t.TOP_RIGHT="top-right",y=t.BOTTOM_RIGHT="bottom-right",k=(0,c.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,{block:s.default.bool,buttonLocation:s.default.oneOf([b,g,y]),showKeyboardShortcutsPanel:s.default.bool,openKeyboardShortcutsPanel:s.default.func,closeKeyboardShortcutsPanel:s.default.func,phrases:s.default.shape((0,d.default)(u.DayPickerKeyboardShortcutsPhrases))})),_={block:!1,buttonLocation:y,showKeyboardShortcutsPanel:!1,openKeyboardShortcutsPanel:function(){},closeKeyboardShortcutsPanel:function(){},phrases:u.DayPickerKeyboardShortcutsPhrases};function w(e){return[{unicode:"↵",label:e.enterKey,action:e.selectFocusedDate},{unicode:"←/→",label:e.leftArrowRightArrow,action:e.moveFocusByOneDay},{unicode:"↑/↓",label:e.upArrowDownArrow,action:e.moveFocusByOneWeek},{unicode:"PgUp/PgDn",label:e.pageUpPageDown,action:e.moveFocusByOneMonth},{unicode:"Home/End",label:e.homeEnd,action:e.moveFocustoStartAndEndOfWeek},{unicode:"Esc",label:e.escape,action:e.returnFocusToInput},{unicode:"?",label:e.questionMark,action:e.openThisPanel}]}var O=function(e){function t(){var e;v(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),a=i.props.phrases;return i.keyboardShortcuts=w(a),i.onShowKeyboardShortcutsButtonClick=i.onShowKeyboardShortcutsButtonClick.bind(i),i.setShowKeyboardShortcutsButtonRef=i.setShowKeyboardShortcutsButtonRef.bind(i),i.setHideKeyboardShortcutsButtonRef=i.setHideKeyboardShortcutsButtonRef.bind(i),i.handleFocus=i.handleFocus.bind(i),i.onKeyDown=i.onKeyDown.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.phrases;e.phrases!==t&&(this.keyboardShortcuts=w(e.phrases))}},{key:"componentDidUpdate",value:function(){this.handleFocus()}},{key:"onKeyDown",value:function(e){e.stopPropagation();var t=this.props.closeKeyboardShortcutsPanel;switch(e.key){case"Enter":case" ":case"Spacebar":case"Escape":t();break;case"ArrowUp":case"ArrowDown":break;case"Tab":case"Home":case"End":case"PageUp":case"PageDown":case"ArrowLeft":case"ArrowRight":e.preventDefault()}}},{key:"onShowKeyboardShortcutsButtonClick",value:function(){var e=this;(0,this.props.openKeyboardShortcutsPanel)((function(){e.showKeyboardShortcutsButton.focus()}))}},{key:"setShowKeyboardShortcutsButtonRef",value:function(e){this.showKeyboardShortcutsButton=e}},{key:"setHideKeyboardShortcutsButtonRef",value:function(e){this.hideKeyboardShortcutsButton=e}},{key:"handleFocus",value:function(){this.hideKeyboardShortcutsButton&&this.hideKeyboardShortcutsButton.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.block,o=t.buttonLocation,i=t.showKeyboardShortcutsPanel,s=t.closeKeyboardShortcutsPanel,c=t.styles,u=t.phrases,d=i?u.hideKeyboardShortcutsPanel:u.showKeyboardShortcutsPanel,p=o===y,v=o===g,m=o===b;return a.default.createElement("div",null,a.default.createElement("button",r({ref:this.setShowKeyboardShortcutsButtonRef},(0,l.css)(c.DayPickerKeyboardShortcuts_buttonReset,c.DayPickerKeyboardShortcuts_show,p&&c.DayPickerKeyboardShortcuts_show__bottomRight,v&&c.DayPickerKeyboardShortcuts_show__topRight,m&&c.DayPickerKeyboardShortcuts_show__topLeft),{type:"button","aria-label":d,onClick:this.onShowKeyboardShortcutsButtonClick,onKeyDown:function(t){"Enter"===t.key?t.preventDefault():"Space"===t.key&&e.onShowKeyboardShortcutsButtonClick(t)},onMouseUp:function(e){e.currentTarget.blur()}}),a.default.createElement("span",(0,l.css)(c.DayPickerKeyboardShortcuts_showSpan,p&&c.DayPickerKeyboardShortcuts_showSpan__bottomRight,v&&c.DayPickerKeyboardShortcuts_showSpan__topRight,m&&c.DayPickerKeyboardShortcuts_showSpan__topLeft),"?")),i&&a.default.createElement("div",r({},(0,l.css)(c.DayPickerKeyboardShortcuts_panel),{role:"dialog","aria-labelledby":"DayPickerKeyboardShortcuts_title","aria-describedby":"DayPickerKeyboardShortcuts_description"}),a.default.createElement("div",r({},(0,l.css)(c.DayPickerKeyboardShortcuts_title),{id:"DayPickerKeyboardShortcuts_title"}),u.keyboardShortcuts),a.default.createElement("button",r({ref:this.setHideKeyboardShortcutsButtonRef},(0,l.css)(c.DayPickerKeyboardShortcuts_buttonReset,c.DayPickerKeyboardShortcuts_close),{type:"button",tabIndex:"0","aria-label":u.hideKeyboardShortcutsPanel,onClick:s,onKeyDown:this.onKeyDown}),a.default.createElement(h.default,(0,l.css)(c.DayPickerKeyboardShortcuts_closeSvg))),a.default.createElement("ul",r({},(0,l.css)(c.DayPickerKeyboardShortcuts_list),{id:"DayPickerKeyboardShortcuts_description"}),this.keyboardShortcuts.map((function(e){var t=e.unicode,r=e.label,o=e.action;return a.default.createElement(f.default,{key:r,unicode:t,label:r,action:o,block:n})})))))}}]),t}(a.default.Component);O.propTypes=k,O.defaultProps=_,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.zIndex;return{DayPickerKeyboardShortcuts_buttonReset:{background:"none",border:0,borderRadius:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",padding:0,cursor:"pointer",fontSize:r.size,":active":{outline:"none"}},DayPickerKeyboardShortcuts_show:{width:22,position:"absolute",zIndex:o+2},DayPickerKeyboardShortcuts_show__bottomRight:{borderTop:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),bottom:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topRight:{borderBottom:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),top:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topLeft:{borderBottom:"26px solid transparent",borderLeft:"33px solid "+String(n.core.primary),top:0,left:0,":hover":{borderLeft:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_showSpan:{color:n.core.white,position:"absolute"},DayPickerKeyboardShortcuts_showSpan__bottomRight:{bottom:0,right:-28},DayPickerKeyboardShortcuts_showSpan__topRight:{top:1,right:-28},DayPickerKeyboardShortcuts_showSpan__topLeft:{top:1,left:-28},DayPickerKeyboardShortcuts_panel:{overflow:"auto",background:n.background,border:"1px solid "+String(n.core.border),borderRadius:2,position:"absolute",top:0,bottom:0,right:0,left:0,zIndex:o+2,padding:22,margin:33},DayPickerKeyboardShortcuts_title:{fontSize:16,fontWeight:"bold",margin:0},DayPickerKeyboardShortcuts_list:{listStyle:"none",padding:0,fontSize:r.size},DayPickerKeyboardShortcuts_close:{position:"absolute",right:22,top:22,zIndex:o+2,":active":{outline:"none"}},DayPickerKeyboardShortcuts_closeSvg:{height:15,width:15,fill:n.core.grayLighter,":hover":{fill:n.core.grayLight},":focus":{fill:n.core.grayLight}}}}))(O)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=l(n(13)),i=l(n(1)),a=l(n(4)),s=n(12),c=n(16);function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{unicode:a.default.string.isRequired,label:a.default.string.isRequired,action:a.default.string.isRequired,block:a.default.bool}));function d(e){var t=e.unicode,n=e.label,o=e.action,a=e.block,s=e.styles;return i.default.createElement("li",(0,c.css)(s.KeyboardShortcutRow,a&&s.KeyboardShortcutRow__block),i.default.createElement("div",(0,c.css)(s.KeyboardShortcutRow_keyContainer,a&&s.KeyboardShortcutRow_keyContainer__block),i.default.createElement("span",r({},(0,c.css)(s.KeyboardShortcutRow_key),{role:"img","aria-label":String(n)+","}),t)),i.default.createElement("div",(0,c.css)(s.KeyboardShortcutRow_action),o))}d.propTypes=u,d.defaultProps={block:!1},t.default=(0,c.withStyles)((function(e){return{KeyboardShortcutRow:{listStyle:"none",margin:"6px 0"},KeyboardShortcutRow__block:{marginBottom:16},KeyboardShortcutRow_keyContainer:{display:"inline-block",whiteSpace:"nowrap",textAlign:"right",marginRight:6},KeyboardShortcutRow_keyContainer__block:{textAlign:"left",display:"inline"},KeyboardShortcutRow_key:{fontFamily:"monospace",fontSize:12,textTransform:"uppercase",background:e.reactDates.color.core.grayLightest,padding:"2px 6px"},KeyboardShortcutRow_action:{display:"inline",wordBreak:"break-word",marginLeft:8}}}))(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.default.localeData().firstDayOfWeek(),n=e.clone().startOf("month"),r=a(n,t);return Math.ceil((r+e.daysInMonth())/7)};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r};function a(e,t){return(e.day()-t+7)%7}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=T(n(13)),a=T(n(1)),s=T(n(6)),c=n(16),l=n(126),u=n(12),d=n(51),f=T(n(34)),h=T(n(65)),p=T(n(124)),v=n(14),m=T(n(32)),b=T(n(69)),g=T(n(108)),y=T(n(109)),k=T(n(67)),_=T(n(42)),w=T(n(110)),O=T(n(125)),S=T(n(123)),E=T(n(44)),C=n(7);function T(e){return e&&e.__esModule?e:{default:e}}var x=(0,u.forbidExtraProps)((0,i.default)({},c.withStylesPropTypes,p.default)),D={date:null,focused:!1,id:"date",placeholder:"Date",disabled:!1,required:!1,readOnly:!1,screenReaderInputMessage:"",showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:C.ICON_BEFORE_POSITION,customInputIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:C.DEFAULT_VERTICAL_SPACING,keepFocusOnInput:!1,orientation:C.HORIZONTAL_ORIENTATION,anchorDirection:C.ANCHOR_LEFT,openDirection:C.OPEN_DOWN,horizontalMargin:0,withPortal:!1,withFullScreenPortal:!1,appendToBody:!1,disableScroll:!1,initialVisibleMonth:null,firstDayOfWeek:null,numberOfMonths:2,keepOpenOnDateSelect:!1,reopenPickerOnClearDate:!1,renderCalendarInfo:null,calendarInfoPosition:C.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:C.DAY_SIZE,isRTL:!1,verticalHeight:null,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onClose:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,renderMonthElement:null,enableOutsideDays:!1,isDayBlocked:function(){return!1},isOutsideRange:function(e){return!(0,_.default)(e,(0,s.default)())},isDayHighlighted:function(){},displayFormat:function(){return s.default.localeData().longDateFormat("L")},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:v.SingleDatePickerPhrases,dayAriaLabelFormat:void 0},M=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.isTouchDevice=!1,n.state={dayPickerContainerStyles:{},isDayPickerFocused:!1,isInputFocused:!1,showKeyboardShortcuts:!1},n.onDayPickerFocus=n.onDayPickerFocus.bind(n),n.onDayPickerBlur=n.onDayPickerBlur.bind(n),n.showKeyboardShortcutsPanel=n.showKeyboardShortcutsPanel.bind(n),n.onChange=n.onChange.bind(n),n.onFocus=n.onFocus.bind(n),n.onClearFocus=n.onClearFocus.bind(n),n.clearDate=n.clearDate.bind(n),n.responsivizePickerPosition=n.responsivizePickerPosition.bind(n),n.disableScroll=n.disableScroll.bind(n),n.setDayPickerContainerRef=n.setDayPickerContainerRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,d.addEventListener)(window,"resize",this.responsivizePickerPosition,{passive:!0}),this.responsivizePickerPosition(),this.disableScroll(),this.props.focused&&this.setState({isInputFocused:!0}),this.isTouchDevice=(0,f.default)()}},{key:"componentDidUpdate",value:function(e){var t=this.props.focused;!e.focused&&t?(this.responsivizePickerPosition(),this.disableScroll()):e.focused&&!t&&this.enableScroll&&this.enableScroll()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener(),this.enableScroll&&this.enableScroll()}},{key:"onChange",value:function(e){var t=this.props,n=t.isOutsideRange,r=t.keepOpenOnDateSelect,o=t.onDateChange,i=t.onFocusChange,a=t.onClose,s=(0,m.default)(e,this.getDisplayFormat());s&&!n(s)?(o(s),r||(i({focused:!1}),a({date:s}))):o(null)}},{key:"onFocus",value:function(){var e=this.props,t=e.disabled,n=e.onFocusChange,r=e.readOnly,o=e.withPortal,i=e.withFullScreenPortal,a=e.keepFocusOnInput;o||i||r&&!a||this.isTouchDevice&&!a?this.onDayPickerFocus():this.onDayPickerBlur(),t||n({focused:!0})}},{key:"onClearFocus",value:function(e){var t=this.props,n=t.date,r=t.focused,o=t.onFocusChange,i=t.onClose,a=t.appendToBody;r&&(a&&this.dayPickerContainer.contains(e.target)||(this.setState({isInputFocused:!1,isDayPickerFocused:!1}),o({focused:!1}),i({date:n})))}},{key:"onDayPickerFocus",value:function(){this.setState({isInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!1})}},{key:"onDayPickerBlur",value:function(){this.setState({isInputFocused:!0,isDayPickerFocused:!1,showKeyboardShortcuts:!1})}},{key:"getDateString",value:function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,b.default)(e)}},{key:"getDisplayFormat",value:function(){var e=this.props.displayFormat;return"string"==typeof e?e:e()}},{key:"setDayPickerContainerRef",value:function(e){this.dayPickerContainer=e}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"clearDate",value:function(){var e=this.props,t=e.onDateChange,n=e.reopenPickerOnClearDate,r=e.onFocusChange;t(null),n&&r({focused:!0})}},{key:"disableScroll",value:function(){var e=this.props,t=e.appendToBody,n=e.disableScroll,r=e.focused;(t||n)&&r&&(this.enableScroll=(0,w.default)(this.container))}},{key:"responsivizePickerPosition",value:function(){this.setState({dayPickerContainerStyles:{}});var e=this.props,t=e.openDirection,n=e.anchorDirection,r=e.horizontalMargin,o=e.withPortal,a=e.withFullScreenPortal,s=e.appendToBody,c=e.focused,l=this.state.dayPickerContainerStyles;if(c){var u=n===C.ANCHOR_LEFT;if(!o&&!a){var d=this.dayPickerContainer.getBoundingClientRect(),f=l[n]||0,h=u?d[C.ANCHOR_RIGHT]:d[C.ANCHOR_LEFT];this.setState({dayPickerContainerStyles:(0,i.default)({},(0,g.default)(n,f,h,r),s&&(0,y.default)(t,n,this.container))})}}}},{key:"showKeyboardShortcutsPanel",value:function(){this.setState({isInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!0})}},{key:"maybeRenderDayPickerWithPortal",value:function(){var e=this.props,t=e.focused,n=e.withPortal,r=e.withFullScreenPortal,o=e.appendToBody;return t?n||r||o?a.default.createElement(l.Portal,null,this.renderDayPicker()):this.renderDayPicker():null}},{key:"renderDayPicker",value:function(){var e=this.props,t=e.anchorDirection,n=e.openDirection,o=e.onDateChange,i=e.date,s=e.onFocusChange,l=e.focused,u=e.enableOutsideDays,d=e.numberOfMonths,f=e.orientation,h=e.monthFormat,p=e.navPrev,v=e.navNext,m=e.onPrevMonthClick,b=e.onNextMonthClick,g=e.onClose,y=e.withPortal,_=e.withFullScreenPortal,w=e.keepOpenOnDateSelect,O=e.initialVisibleMonth,T=e.renderMonthText,x=e.renderCalendarDay,D=e.renderDayContents,M=e.renderCalendarInfo,j=e.renderMonthElement,I=e.calendarInfoPosition,P=e.hideKeyboardShortcutsPanel,N=e.firstDayOfWeek,R=e.customCloseIcon,L=e.phrases,A=e.dayAriaLabelFormat,z=e.daySize,F=e.isRTL,H=e.isOutsideRange,V=e.isDayBlocked,B=e.isDayHighlighted,U=e.weekDayFormat,W=e.styles,K=e.verticalHeight,Y=e.transitionDuration,$=e.verticalSpacing,q=e.horizontalMonthPadding,G=e.small,Z=e.theme.reactDates,X=this.state,Q=X.dayPickerContainerStyles,J=X.isDayPickerFocused,ee=X.showKeyboardShortcuts,te=!_&&y?this.onClearFocus:void 0,ne=R||a.default.createElement(E.default,null),re=(0,k.default)(Z,G),oe=y||_;return a.default.createElement("div",r({ref:this.setDayPickerContainerRef},(0,c.css)(W.SingleDatePicker_picker,t===C.ANCHOR_LEFT&&W.SingleDatePicker_picker__directionLeft,t===C.ANCHOR_RIGHT&&W.SingleDatePicker_picker__directionRight,n===C.OPEN_DOWN&&W.SingleDatePicker_picker__openDown,n===C.OPEN_UP&&W.SingleDatePicker_picker__openUp,!oe&&n===C.OPEN_DOWN&&{top:re+$},!oe&&n===C.OPEN_UP&&{bottom:re+$},f===C.HORIZONTAL_ORIENTATION&&W.SingleDatePicker_picker__horizontal,f===C.VERTICAL_ORIENTATION&&W.SingleDatePicker_picker__vertical,oe&&W.SingleDatePicker_picker__portal,_&&W.SingleDatePicker_picker__fullScreenPortal,F&&W.SingleDatePicker_picker__rtl,Q),{onClick:te}),a.default.createElement(S.default,{date:i,onDateChange:o,onFocusChange:s,orientation:f,enableOutsideDays:u,numberOfMonths:d,monthFormat:h,withPortal:oe,focused:l,keepOpenOnDateSelect:w,hideKeyboardShortcutsPanel:P,initialVisibleMonth:O,navPrev:p,navNext:v,onPrevMonthClick:m,onNextMonthClick:b,onClose:g,renderMonthText:T,renderCalendarDay:x,renderDayContents:D,renderCalendarInfo:M,renderMonthElement:j,calendarInfoPosition:I,isFocused:J,showKeyboardShortcuts:ee,onBlur:this.onDayPickerBlur,phrases:L,dayAriaLabelFormat:A,daySize:z,isRTL:F,isOutsideRange:H,isDayBlocked:V,isDayHighlighted:B,firstDayOfWeek:N,weekDayFormat:U,verticalHeight:K,transitionDuration:Y,horizontalMonthPadding:q}),_&&a.default.createElement("button",r({},(0,c.css)(W.SingleDatePicker_closeButton),{"aria-label":L.closeDatePicker,type:"button",onClick:this.onClearFocus}),a.default.createElement("div",(0,c.css)(W.SingleDatePicker_closeButton_svg),ne)))}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.placeholder,o=e.disabled,i=e.focused,s=e.required,l=e.readOnly,u=e.openDirection,d=e.showClearDate,f=e.showDefaultInputIcon,p=e.inputIconPosition,v=e.customCloseIcon,m=e.customInputIcon,b=e.date,g=e.phrases,y=e.withPortal,k=e.withFullScreenPortal,_=e.screenReaderInputMessage,w=e.isRTL,S=e.noBorder,E=e.block,T=e.small,x=e.regular,D=e.verticalSpacing,M=e.styles,j=this.state.isInputFocused,I=this.getDateString(b),P=!y&&!k,N=D<C.FANG_HEIGHT_PX,R=a.default.createElement(O.default,{id:t,placeholder:n,focused:i,isFocused:j,disabled:o,required:s,readOnly:l,openDirection:u,showCaret:!y&&!k&&!N,onClearDate:this.clearDate,showClearDate:d,showDefaultInputIcon:f,inputIconPosition:p,customCloseIcon:v,customInputIcon:m,displayValue:I,onChange:this.onChange,onFocus:this.onFocus,onKeyDownShiftTab:this.onClearFocus,onKeyDownTab:this.onClearFocus,onKeyDownArrowDown:this.onDayPickerFocus,onKeyDownQuestionMark:this.showKeyboardShortcutsPanel,screenReaderMessage:_,phrases:g,isRTL:w,noBorder:S,block:E,small:T,regular:x,verticalSpacing:D});return a.default.createElement("div",r({ref:this.setContainerRef},(0,c.css)(M.SingleDatePicker,E&&M.SingleDatePicker__block)),P&&a.default.createElement(h.default,{onOutsideClick:this.onClearFocus},R,this.maybeRenderDayPickerWithPortal()),!P&&R,!P&&this.maybeRenderDayPickerWithPortal())}}]),t}(a.default.Component);M.propTypes=x,M.defaultProps=D,t.PureSingleDatePicker=M,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.zIndex;return{SingleDatePicker:{position:"relative",display:"inline-block"},SingleDatePicker__block:{display:"block"},SingleDatePicker_picker:{zIndex:r+1,backgroundColor:n.background,position:"absolute"},SingleDatePicker_picker__rtl:{direction:"rtl"},SingleDatePicker_picker__directionLeft:{left:0},SingleDatePicker_picker__directionRight:{right:0},SingleDatePicker_picker__portal:{backgroundColor:"rgba(0, 0, 0, 0.3)",position:"fixed",top:0,left:0,height:"100%",width:"100%"},SingleDatePicker_picker__fullScreenPortal:{backgroundColor:n.background},SingleDatePicker_closeButton:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",position:"absolute",top:0,right:0,padding:15,zIndex:r+2,":hover":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"},":focus":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"}},SingleDatePicker_closeButton_svg:{height:15,width:15,fill:n.core.grayLighter}}}))(M)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=i(n(6)),o=i(n(54));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=n(239);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,c=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),h=r.offset(e),p=r.outerHeight(e),v=r.outerWidth(e),m=void 0,b=void 0,g=void 0,y=void 0,k=void 0,_=void 0,w=void 0,O=void 0,S=void 0,E=void 0;f?(w=t,E=r.height(w),S=r.width(w),O={left:r.scrollLeft(w),top:r.scrollTop(w)},k={left:h.left-O.left-l,top:h.top-O.top-c},_={left:h.left+v-(O.left+S)+d,top:h.top+p-(O.top+E)+u},y=O):(m=r.offset(t),b=t.clientHeight,g=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},k={left:h.left-(m.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-l,top:h.top-(m.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-c},_={left:h.left+v-(m.left+g+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:h.top+p-(m.top+b+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),k.top<0||_.top>0?!0===a?r.scrollTop(t,y.top+k.top):!1===a?r.scrollTop(t,y.top+_.top):k.top<0?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top):i||((a=void 0===a||!!a)?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top)),o&&(k.left<0||_.left>0?!0===s?r.scrollLeft(t,y.left+k.left):!1===s?r.scrollLeft(t,y.left+_.left):k.left<0?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function s(e){return i(e,!0)}function c(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=s(r),t}var l=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/;var d=void 0;function f(e,t){for(var n=0;n<e.length;n++)t(e[n])}function h(e){return"border-box"===d(e,"boxSizing")}"undefined"!=typeof window&&(d=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(l.test(n)&&!u.test(t)){var r=e.style,o=r.left,i=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,r.left="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r.left=o,e.runtimeStyle.left=i}return""===n?"auto":n});var p=["margin","border","padding"];function v(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function m(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s=void 0;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(d(e,s))||0}return r}function b(e){return null!=e&&e==e.window}var g={};function y(e,t,n){if(b(e))return"width"===t?g.viewportWidth(e):g.viewportHeight(e);if(9===e.nodeType)return"width"===t?g.docWidth(e):g.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(d(e),h(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=d(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var s=void 0!==o||i,c=o||a;if(-1===n)return s?c-m(e,["border","padding"],r):a;if(s){var l=2===n?-m(e,["border"],r):m(e,["margin"],r);return c+(1===n?0:l)}return a+m(e,p.slice(n),r)}f(["Width","Height"],(function(e){g["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],g["viewport"+e](n))},g["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var k={position:"absolute",visibility:"hidden",display:"block"};function _(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=y.apply(void 0,n):v(e,k,(function(){t=y.apply(void 0,n)})),t}function w(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):d(e,t);for(var i in t)t.hasOwnProperty(i)&&w(e,i,t[i])}f(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,n){return t&&_(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,r){if(void 0===r)return t&&_(t,e,-1);if(t){d(t);return h(t)&&(r+=m(t,["padding","border"],n)),w(t,e,r)}}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return c(e);!function(e,t){"static"===w(e,"position")&&(e.style.position="relative");var n=c(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(w(e,i))||0,r[i]=o+t[i]-n[i]);w(e,r)}(e,t)},isWindow:b,each:f,css:w,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(b(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(b(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__rest||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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};t.__esModule=!0;var s=n(1),c=n(4),l=n(245),u=n(246),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.dispatchEvent=function(e){var n=document.createEvent("Event");n.initEvent(e,!0,!1),t.textarea.dispatchEvent(n)},t.updateLineHeight=function(){t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t.saveDOMNodeRef=function(e){var n=t.props.innerRef;n&&n(e),t.textarea=e},t.getLocals=function(){var e=t,n=e.props,r=(n.onResize,n.maxRows),o=(n.onChange,n.style),s=(n.innerRef,a(n,["onResize","maxRows","onChange","style","innerRef"])),c=e.state.lineHeight,l=e.saveDOMNodeRef,u=r&&c?c*r:null;return i({},s,{saveDOMNodeRef:l,style:u?i({},o,{maxHeight:u}):o,onChange:t.onChange})},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows&&this.updateLineHeight(),setTimeout((function(){return l(e.textarea)})),n&&this.textarea.addEventListener("autosize:resized",n)},t.prototype.componentWillUnmount=function(){var e=this.props.onResize;e&&this.textarea.removeEventListener("autosize:resized",e),this.dispatchEvent("autosize:destroy")},t.prototype.render=function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=a(e,["children","saveDOMNodeRef"]);return s.createElement("textarea",i({},r,{ref:n}),t)},t.prototype.componentDidUpdate=function(e){this.props.value===this.currentValue&&this.props.rows===e.rows||this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:c.number,maxRows:c.number,onResize:c.func,innerRef:c.func},t}(s.Component);t.default=d},function(e,t,n){var r,o,i;o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(u){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,a=null,s=function(){e.clientWidth!==r&&d()},c=function(t){window.removeEventListener("resize",s,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",c,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",c,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",s,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:c,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function l(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(l("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),a!==r){a=r;var o=i("autosize:resized");try{e.dispatchEvent(o)}catch(s){}}}}function s(e){var t=o.get(e);t&&t.destroy()}function c(e){var t=o.get(e);t&&t.update()}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((l=function(e){return e}).destroy=function(e){return e},l.update=function(e){return e}):((l=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return a(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],c),e}),t.default=l,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(247);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML="&nbsp;","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=r(e,"font-size");a.style.fontSize=s,a.style.padding="0px",a.style.border="0px";var c=document.body;c.appendChild(a),n=a.offsetHeight,c.removeChild(a)}return n}},function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},function(e,t,n){(function(e){var r;!function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,h=String.fromCharCode;function p(e){throw RangeError(d[e])}function v(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function m(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+v((e=e.replace(u,".")).split("."),t).join(".")}function b(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function g(e){return v(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function k(e,t,n){var r=0;for(e=n?f(e/700):e>>1,e+=f(e/t);e>455;r+=36)e=f(e/35);return f(r+36*e/(e+38))}function _(e){var t,n,r,o,i,a,c,l,u,d,h,v=[],m=e.length,b=0,y=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&p("not-basic"),v.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<m;){for(i=b,a=1,c=36;o>=m&&p("invalid-input"),((l=(h=e.charCodeAt(o++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||l>f((s-b)/a))&&p("overflow"),b+=l*a,!(l<(u=c<=_?1:c>=_+26?26:c-_));c+=36)a>f(s/(d=36-u))&&p("overflow"),a*=d;_=k(b-i,t=v.length+1,0==i),f(b/t)>s-y&&p("overflow"),y+=f(b/t),b%=t,v.splice(b++,0,y)}return g(v)}function w(e){var t,n,r,o,i,a,c,l,u,d,v,m,g,_,w,O=[];for(m=(e=b(e)).length,t=128,n=0,i=72,a=0;a<m;++a)(v=e[a])<128&&O.push(h(v));for(r=o=O.length,o&&O.push("-");r<m;){for(c=s,a=0;a<m;++a)(v=e[a])>=t&&v<c&&(c=v);for(c-t>f((s-n)/(g=r+1))&&p("overflow"),n+=(c-t)*g,t=c,a=0;a<m;++a)if((v=e[a])<t&&++n>s&&p("overflow"),v==t){for(l=n,u=36;!(l<(d=u<=i?1:u>=i+26?26:u-i));u+=36)w=l-d,_=36-d,O.push(h(y(d+w%_,0))),l=f(w/_);O.push(h(y(l,0))),i=k(n,g,r==o),n=0,++r}++n,++t}return O.join("")}a={version:"1.3.2",ucs2:{decode:b,encode:g},decode:_,encode:w,toASCII:function(e){return m(e,(function(e){return l.test(e)?"xn--"+w(e):e}))},toUnicode:function(e){return m(e,(function(e){return c.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(60)(e))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(251),t.encode=t.stringify=n(252)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var a=/\+/g;e=e.split(t);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var l=0;l<c;++l){var u,d,f,h,p=e[l].replace(a,"%20"),v=p.indexOf(n);v>=0?(u=p.substr(0,v),d=p.substr(v+1)):(u=p,d=""),f=decodeURIComponent(u),h=decodeURIComponent(d),r(i,f)?Array.isArray(i[f])?i[f].push(h):i[f]=[i[f],h]:i[f]=h}return i}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,o){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(o){var i=encodeURIComponent(r(o))+n;return Array.isArray(e[o])?e[o].map((function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[o]))})).join(t):o?encodeURIComponent(r(o))+n+encodeURIComponent(r(e)):""}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"getIsResolving",(function(){return yt})),n.d(r,"hasStartedResolution",(function(){return kt})),n.d(r,"hasFinishedResolution",(function(){return _t})),n.d(r,"isResolving",(function(){return wt})),n.d(r,"getCachedResolvers",(function(){return Ot}));var o={};n.r(o),n.d(o,"startResolution",(function(){return St})),n.d(o,"finishResolution",(function(){return Et})),n.d(o,"invalidateResolution",(function(){return Ct})),n.d(o,"invalidateResolutionForStore",(function(){return Tt})),n.d(o,"invalidateResolutionForStoreSelector",(function(){return xt}));var i={};n.r(i),n.d(i,"getIsResolving",(function(){return ir})),n.d(i,"hasStartedResolution",(function(){return ar})),n.d(i,"hasFinishedResolution",(function(){return sr})),n.d(i,"isResolving",(function(){return cr})),n.d(i,"getCachedResolvers",(function(){return lr}));var a={};n.r(a),n.d(a,"startResolution",(function(){return ur})),n.d(a,"finishResolution",(function(){return dr})),n.d(a,"invalidateResolution",(function(){return fr})),n.d(a,"invalidateResolutionForStore",(function(){return hr})),n.d(a,"invalidateResolutionForStoreSelector",(function(){return pr}));var s={};n.r(s),n.d(s,"getFormatTypes",(function(){return so})),n.d(s,"getFormatType",(function(){return co})),n.d(s,"getFormatTypeForBareElement",(function(){return lo})),n.d(s,"getFormatTypeForClassName",(function(){return uo}));var c={};n.r(c),n.d(c,"addFormatTypes",(function(){return fo})),n.d(c,"removeFormatTypes",(function(){return ho}));var l={};n.r(l),n.d(l,"find",(function(){return Ci}));var u={};n.r(u),n.d(u,"isTabbableIndex",(function(){return xi})),n.d(u,"find",(function(){return Ii}));var d={};n.r(d),n.d(d,"getIsResolving",(function(){return au})),n.d(d,"hasStartedResolution",(function(){return su})),n.d(d,"hasFinishedResolution",(function(){return cu})),n.d(d,"isResolving",(function(){return lu})),n.d(d,"getCachedResolvers",(function(){return uu}));var f={};n.r(f),n.d(f,"startResolution",(function(){return du})),n.d(f,"finishResolution",(function(){return fu})),n.d(f,"invalidateResolution",(function(){return hu})),n.d(f,"invalidateResolutionForStore",(function(){return pu})),n.d(f,"invalidateResolutionForStoreSelector",(function(){return vu}));var h={};n.r(h),n.d(h,"getBlockTypes",(function(){return Uu})),n.d(h,"getBlockType",(function(){return Wu})),n.d(h,"getBlockStyles",(function(){return Ku})),n.d(h,"getCategories",(function(){return Yu})),n.d(h,"getDefaultBlockName",(function(){return $u})),n.d(h,"getFreeformFallbackBlockName",(function(){return qu})),n.d(h,"getUnregisteredFallbackBlockName",(function(){return Gu})),n.d(h,"getChildBlockNames",(function(){return Zu})),n.d(h,"getBlockSupport",(function(){return Xu})),n.d(h,"hasBlockSupport",(function(){return Qu})),n.d(h,"isMatchingSearchTerm",(function(){return Ju})),n.d(h,"hasChildBlocks",(function(){return ed})),n.d(h,"hasChildBlocksWithInserterSupport",(function(){return td}));var p={};n.r(p),n.d(p,"addBlockTypes",(function(){return nd})),n.d(p,"removeBlockTypes",(function(){return rd})),n.d(p,"addBlockStyles",(function(){return od})),n.d(p,"removeBlockStyles",(function(){return id})),n.d(p,"setDefaultBlockName",(function(){return ad})),n.d(p,"setFreeformFallbackBlockName",(function(){return sd})),n.d(p,"setUnregisteredFallbackBlockName",(function(){return cd})),n.d(p,"setCategories",(function(){return ld})),n.d(p,"updateCategory",(function(){return ud}));var v={};n.r(v),n.d(v,"getIsResolving",(function(){return mp})),n.d(v,"hasStartedResolution",(function(){return bp})),n.d(v,"hasFinishedResolution",(function(){return gp})),n.d(v,"isResolving",(function(){return yp})),n.d(v,"getCachedResolvers",(function(){return kp}));var m={};n.r(m),n.d(m,"startResolution",(function(){return _p})),n.d(m,"finishResolution",(function(){return wp})),n.d(m,"invalidateResolution",(function(){return Op})),n.d(m,"invalidateResolutionForStore",(function(){return Sp})),n.d(m,"invalidateResolutionForStoreSelector",(function(){return Ep}));var b={};n.r(b),n.d(b,"receiveUserQuery",(function(){return wv})),n.d(b,"receiveCurrentUser",(function(){return Ov})),n.d(b,"addEntities",(function(){return Sv})),n.d(b,"receiveEntityRecords",(function(){return Ev})),n.d(b,"receiveThemeSupports",(function(){return Cv})),n.d(b,"receiveEmbedPreview",(function(){return Tv})),n.d(b,"saveEntityRecord",(function(){return xv})),n.d(b,"receiveUploadPermissions",(function(){return Dv})),n.d(b,"receiveUserPermission",(function(){return Mv})),n.d(b,"receiveAutosaves",(function(){return jv}));var g={};n.r(g),n.d(g,"isRequestingEmbedPreview",(function(){return $v})),n.d(g,"getAuthors",(function(){return qv})),n.d(g,"getCurrentUser",(function(){return Gv})),n.d(g,"getUserQueryResults",(function(){return Zv})),n.d(g,"getEntitiesByKind",(function(){return Xv})),n.d(g,"getEntity",(function(){return Qv})),n.d(g,"getEntityRecord",(function(){return Jv})),n.d(g,"getEntityRecords",(function(){return em})),n.d(g,"getThemeSupports",(function(){return tm})),n.d(g,"getEmbedPreview",(function(){return nm})),n.d(g,"isPreviewEmbedFallback",(function(){return rm})),n.d(g,"hasUploadPermissions",(function(){return om})),n.d(g,"canUser",(function(){return im})),n.d(g,"getAutosaves",(function(){return am})),n.d(g,"getAutosave",(function(){return sm})),n.d(g,"hasFetchedAutosaves",(function(){return cm}));var y={};n.r(y),n.d(y,"getAuthors",(function(){return ym})),n.d(y,"getCurrentUser",(function(){return km})),n.d(y,"getEntityRecord",(function(){return _m})),n.d(y,"getEntityRecords",(function(){return wm})),n.d(y,"getThemeSupports",(function(){return Om})),n.d(y,"getEmbedPreview",(function(){return Sm})),n.d(y,"hasUploadPermissions",(function(){return Em})),n.d(y,"canUser",(function(){return Cm})),n.d(y,"getAutosaves",(function(){return Tm})),n.d(y,"getAutosave",(function(){return xm}));var k={};n.r(k),n.d(k,"getIsResolving",(function(){return Fm})),n.d(k,"hasStartedResolution",(function(){return Hm})),n.d(k,"hasFinishedResolution",(function(){return Vm})),n.d(k,"isResolving",(function(){return Bm})),n.d(k,"getCachedResolvers",(function(){return Um}));var _={};n.r(_),n.d(_,"startResolution",(function(){return Wm})),n.d(_,"finishResolution",(function(){return Km})),n.d(_,"invalidateResolution",(function(){return Ym})),n.d(_,"invalidateResolutionForStore",(function(){return $m})),n.d(_,"invalidateResolutionForStoreSelector",(function(){return qm}));var w={};n.r(w),n.d(w,"setIsMatching",(function(){return wb}));var O={};n.r(O),n.d(O,"isViewportMatch",(function(){return Ob}));var S={};n.r(S),n.d(S,"getIsResolving",(function(){return Ab})),n.d(S,"hasStartedResolution",(function(){return zb})),n.d(S,"hasFinishedResolution",(function(){return Fb})),n.d(S,"isResolving",(function(){return Hb})),n.d(S,"getCachedResolvers",(function(){return Vb}));var E={};n.r(E),n.d(E,"startResolution",(function(){return Bb})),n.d(E,"finishResolution",(function(){return Ub})),n.d(E,"invalidateResolution",(function(){return Wb})),n.d(E,"invalidateResolutionForStore",(function(){return Kb})),n.d(E,"invalidateResolutionForStoreSelector",(function(){return Yb}));var C={};n.r(C),n.d(C,"resetBlocks",(function(){return oy})),n.d(C,"receiveBlocks",(function(){return iy})),n.d(C,"updateBlockAttributes",(function(){return ay})),n.d(C,"updateBlock",(function(){return sy})),n.d(C,"selectBlock",(function(){return cy})),n.d(C,"selectPreviousBlock",(function(){return ly})),n.d(C,"selectNextBlock",(function(){return uy})),n.d(C,"startMultiSelect",(function(){return dy})),n.d(C,"stopMultiSelect",(function(){return fy})),n.d(C,"multiSelect",(function(){return hy})),n.d(C,"clearSelectedBlock",(function(){return py})),n.d(C,"toggleSelection",(function(){return vy})),n.d(C,"replaceBlocks",(function(){return my})),n.d(C,"replaceBlock",(function(){return by})),n.d(C,"moveBlocksDown",(function(){return yy})),n.d(C,"moveBlocksUp",(function(){return ky})),n.d(C,"moveBlockToPosition",(function(){return _y})),n.d(C,"insertBlock",(function(){return wy})),n.d(C,"insertBlocks",(function(){return Oy})),n.d(C,"showInsertionPoint",(function(){return Sy})),n.d(C,"hideInsertionPoint",(function(){return Ey})),n.d(C,"setTemplateValidity",(function(){return Cy})),n.d(C,"synchronizeTemplate",(function(){return Ty})),n.d(C,"mergeBlocks",(function(){return xy})),n.d(C,"removeBlocks",(function(){return Dy})),n.d(C,"removeBlock",(function(){return My})),n.d(C,"replaceInnerBlocks",(function(){return jy})),n.d(C,"toggleBlockMode",(function(){return Iy})),n.d(C,"startTyping",(function(){return Py})),n.d(C,"stopTyping",(function(){return Ny})),n.d(C,"enterFormattedText",(function(){return Ry})),n.d(C,"exitFormattedText",(function(){return Ly})),n.d(C,"selectionChange",(function(){return Ay})),n.d(C,"insertDefaultBlock",(function(){return zy})),n.d(C,"updateBlockListSettings",(function(){return Fy})),n.d(C,"updateSettings",(function(){return Hy})),n.d(C,"__unstableSaveReusableBlock",(function(){return Vy})),n.d(C,"__unstableMarkLastChangeAsPersistent",(function(){return By}));var T={};function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){x(e,t,n[t])}))}return e}function M(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function j(e,t){if(null==e)return{};var n,r,o=M(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.r(T),n.d(T,"INSERTER_UTILITY_HIGH",(function(){return Uy})),n.d(T,"INSERTER_UTILITY_MEDIUM",(function(){return Wy})),n.d(T,"INSERTER_UTILITY_LOW",(function(){return Ky})),n.d(T,"INSERTER_UTILITY_NONE",(function(){return Yy})),n.d(T,"getBlockDependantsCacheBust",(function(){return Gy})),n.d(T,"getBlockName",(function(){return Zy})),n.d(T,"isBlockValid",(function(){return Xy})),n.d(T,"getBlockAttributes",(function(){return Qy})),n.d(T,"getBlock",(function(){return Jy})),n.d(T,"__unstableGetBlockWithoutInnerBlocks",(function(){return ek})),n.d(T,"getBlocks",(function(){return tk})),n.d(T,"getClientIdsOfDescendants",(function(){return nk})),n.d(T,"getClientIdsWithDescendants",(function(){return rk})),n.d(T,"getGlobalBlockCount",(function(){return ok})),n.d(T,"getBlocksByClientId",(function(){return ik})),n.d(T,"getBlockCount",(function(){return ak})),n.d(T,"getSelectionStart",(function(){return sk})),n.d(T,"getSelectionEnd",(function(){return ck})),n.d(T,"getBlockSelectionStart",(function(){return lk})),n.d(T,"getBlockSelectionEnd",(function(){return uk})),n.d(T,"getSelectedBlockCount",(function(){return dk})),n.d(T,"hasSelectedBlock",(function(){return fk})),n.d(T,"getSelectedBlockClientId",(function(){return hk})),n.d(T,"getSelectedBlock",(function(){return pk})),n.d(T,"getBlockRootClientId",(function(){return vk})),n.d(T,"getBlockHierarchyRootClientId",(function(){return mk})),n.d(T,"getAdjacentBlockClientId",(function(){return bk})),n.d(T,"getPreviousBlockClientId",(function(){return gk})),n.d(T,"getNextBlockClientId",(function(){return yk})),n.d(T,"getSelectedBlocksInitialCaretPosition",(function(){return kk})),n.d(T,"getSelectedBlockClientIds",(function(){return _k})),n.d(T,"getMultiSelectedBlockClientIds",(function(){return wk})),n.d(T,"getMultiSelectedBlocks",(function(){return Ok})),n.d(T,"getFirstMultiSelectedBlockClientId",(function(){return Sk})),n.d(T,"getLastMultiSelectedBlockClientId",(function(){return Ek})),n.d(T,"isFirstMultiSelectedBlock",(function(){return Tk})),n.d(T,"isBlockMultiSelected",(function(){return xk})),n.d(T,"isAncestorMultiSelected",(function(){return Dk})),n.d(T,"getMultiSelectedBlocksStartClientId",(function(){return Mk})),n.d(T,"getMultiSelectedBlocksEndClientId",(function(){return jk})),n.d(T,"getBlockOrder",(function(){return Ik})),n.d(T,"getBlockIndex",(function(){return Pk})),n.d(T,"isBlockSelected",(function(){return Nk})),n.d(T,"hasSelectedInnerBlock",(function(){return Rk})),n.d(T,"isBlockWithinSelection",(function(){return Lk})),n.d(T,"hasMultiSelection",(function(){return Ak})),n.d(T,"isMultiSelecting",(function(){return zk})),n.d(T,"isSelectionEnabled",(function(){return Fk})),n.d(T,"getBlockMode",(function(){return Hk})),n.d(T,"isTyping",(function(){return Vk})),n.d(T,"isCaretWithinFormattedText",(function(){return Bk})),n.d(T,"getBlockInsertionPoint",(function(){return Uk})),n.d(T,"isBlockInsertionPointVisible",(function(){return Wk})),n.d(T,"isValidTemplate",(function(){return Kk})),n.d(T,"getTemplate",(function(){return Yk})),n.d(T,"getTemplateLock",(function(){return $k})),n.d(T,"canInsertBlockType",(function(){return Gk})),n.d(T,"getInserterItems",(function(){return Jk})),n.d(T,"hasInserterItems",(function(){return e_})),n.d(T,"getBlockListSettings",(function(){return t_})),n.d(T,"getSettings",(function(){return n_})),n.d(T,"isLastBlockChangePersistent",(function(){return r_})),n.d(T,"__unstableIsLastBlockChangeIgnored",(function(){return o_}));var I=n(1),P=n.n(I),N=n(0);function R(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t,n){return I.Children.forEach(t,(function(t,r){t&&"string"!=typeof t&&(t=Object(I.cloneElement)(t,{key:[n,r].join()})),e.push(t)})),e}),[])}var L=n(11),A=function(e){return!Object(N.isNumber)(e)&&(Object(N.isString)(e)||Object(N.isArray)(e)?!e.length:!e)};function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(e){return(F="function"==typeof Symbol&&"symbol"===z(Symbol.iterator)?function(e){return z(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":z(e)})(e)}var H=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function V(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function B(e){return function(e){return e.replace(/>/g,"&gt;")}(function(e){return e.replace(/"/g,"&quot;")}(V(e)))}function U(e){return function(e){return e.replace(/</g,"&lt;")}(V(e))}function W(e){return!H.test(e)}function K(e){var t=e.children,n=j(e,["children"]);return Object(I.createElement)("div",D({dangerouslySetInnerHTML:{__html:t}},n))}var Y=Object(I.createContext)(),$=Y.Provider,q=Y.Consumer,G=new Set(["string","boolean","number"]),Z=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),X=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"]),Q=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"]),J=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 ee(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}function te(e){return"key"===e||"children"===e}function ne(e,t){switch(e){case"style":return function(e){if(!Object(N.isPlainObject)(e))return e;var t;for(var n in e){var r=e[n];if(null!=r){t?t+=";":t="";var o=oe(n),i=ie(n,r);t+=o+":"+i}}return t}(t)}return t}function re(e){switch(e){case"htmlFor":return"for";case"className":return"class"}return e.toLowerCase()}function oe(e){return Object(N.startsWith)(e,"--")?e:ee(e,["ms","O","Moz","Webkit"])?"-"+Object(N.kebabCase)(e):Object(N.kebabCase)(e)}function ie(e,t){return"number"!=typeof t||0===t||J.has(e)?t:t+"px"}function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return le(e,t,n);switch(F(e)){case"string":return U(e);case"number":return e.toString()}var r=e.type,o=e.props;switch(r){case I.StrictMode:case I.Fragment:return le(o.children,t,n);case K:var i=o.children,a=j(o,["children"]);return se(Object(N.isEmpty)(a)?null:"div",D({},a,{dangerouslySetInnerHTML:{__html:i}}),t,n)}switch(F(r)){case"string":return se(r,o,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?ce(r,o,t,n):ae(r(o,n),t,n)}switch(r&&r.$$typeof){case $.$$typeof:return le(o.children,o.value,n);case q.$$typeof:return ae(o.children(t||r._currentValue),t,n)}return""}function se(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=le(t.value,n,r),t=Object(N.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=le(t.children,n,r)),!e)return o;var i=ue(t);return Z.has(e)?"<"+e+i+"/>":"<"+e+i+">"+o+"</"+e+">"}function ce(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());var i=ae(o.render(),n,r);return i}function le(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(N.castArray)(e);for(var o=0;o<e.length;o++){var i=e[o];r+=ae(i,t,n)}return r}function ue(e){var t="";for(var n in e){var r=re(n);if(W(r)){var o=ne(n,e[n]);if(G.has(F(o))&&!te(n)){var i=X.has(r);if(!i||!1!==o){var a=i||ee(n,["data-","aria-"])||Q.has(r);("boolean"!=typeof o||a)&&(t+=" "+r,i||("string"==typeof o&&(o=B(o)),t+='="'+o+'"'))}}}}return t}var de=ae,fe=n(127),he=n(128),pe=n.n(he),ve=function(e,t){return Object(I.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php esc_html_e( '".concat(e,"', '").concat(t,"' ) ?>")}})},me=function(e,t,n,r){return Object(I.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php echo esc_html( _n( '".concat(e,"', '").concat(t,"', ").concat(n,", '").concat(r,"' ) ) ?>")}})},be=function(e,t,n){return Object(I.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php echo esc_html( _x( '".concat(e,"', '").concat(t,"', '").concat(n,"' ) ) ?>")}})},ge=function(e){return e},ye=n(38),ke=/^(?:https?:)?\/\/\S+$/i;function _e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var n=e,r=e.indexOf("?");return-1!==r&&(t=Object.assign(Object(ye.parse)(e.substr(r+1)),t),n=n.substr(0,r)),n+"?"+Object(ye.stringify)(t)}function we(e,t){return void 0!==function(e,t){var n=e.indexOf("?");return(-1!==n?Object(ye.parse)(e.substr(n+1)):{})[t]}(e,t)}var Oe=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};var Se=Object(I.createContext)();Se.Provider,Se.Consumer,Object(I.forwardRef)((function(){return null})),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),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"]),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"]),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 Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Te(e,t,n){return t&&Ce(e.prototype,t),n&&Ce(e,n),e}function xe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e,t){return!t||"object"!==F(t)&&"function"!=typeof t?xe(e):t}function Me(e){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&je(e,t)}var Pe=n(58),Ne=n.n(Pe),Re=Oe((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Ne()(e,this.props)||!Ne()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Ne()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure");function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());Oe((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),Oe((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");function Ae(e){if(Array.isArray(e))return e}function ze(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Fe(e,t){return Ae(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||ze()}window.navigator.userAgent.indexOf("Trident");var He=n(9),Ve=n.n(He),Be=n(3),Ue=n.n(Be);function We(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function Ke(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){We(i,r,o,a,s,"next",e)}function s(e){We(i,r,o,a,s,"throw",e)}a(void 0)}))}}var Ye=n(72),$e=function(){return Math.random().toString(36).substring(7).split("").join(".")},qe={INIT:"@@redux/INIT"+$e(),REPLACE:"@@redux/REPLACE"+$e(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$e()}};function Ge(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ze(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(Ze)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function u(){if(c)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(c)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return l(),s.push(e),function(){if(t){if(c)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,l();var n=s.indexOf(e);s.splice(n,1)}}}function f(e){if(!Ge(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,i=o(i,e)}finally{c=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}function h(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,f({type:qe.REPLACE})}function p(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[Ye.a]=function(){return this},e}return f({type:qe.INIT}),(r={dispatch:f,subscribe:d,getState:u,replaceReducer:h})[Ye.a]=p,r}function Xe(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function Qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Je(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Je(n,!0).forEach((function(t){Qe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Je(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function nt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return et({},n,{dispatch:r=tt.apply(void 0,i)(n.dispatch)})}}}function rt(e){return!!e&&"Generator"===e[Symbol.toStringTag]}var ot=n(18),it=n(10),at=n.n(it);function st(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function ct(e,t){return st(e)&&e.type===t}function lt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!ct(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!st(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){st(e)&&t(e),n(e)}),r)}))}}var ut=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}};function dt(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function ft(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||dt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ht,pt=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},vt=n(8),mt=n.n(vt),bt=Object(N.flowRight)([(ht="selectorName",function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=n[ht];if(void 0===r)return t;var o=e(t[r],n);return o===t[r]?t:D({},t,x({},r,o))}})])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),gt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return bt(e,t)}return e};function yt(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function kt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==yt(e,t,n)}function _t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===yt(e,t,n)}function wt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===yt(e,t,n)}function Ot(e){return e}function St(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Et(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Ct(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Tt(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function xt(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Dt(e,t,n){var i,a=t.reducer,s=function(e,t,n){var r=[pt(n,e),ut];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=lt(e,t.dispatch);return function(e){return function(t){return rt(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:gt,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),c=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},o,t.actions),s),l=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(r,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),s,n);if(t.resolvers){var u=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!kt(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(St(o,a)),e.next=9,Mt.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(Et(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,l,s);i=u.resolvers,l=u.selectors}s.__unstableOriginalGetState=s.getState,s.getState=function(){return s.__unstableOriginalGetState().root};var d=s&&function(e){var t=s.__unstableOriginalGetState();s.subscribe((function(){var n=s.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:a,store:s,actions:c,selectors:l,resolvers:i,getSelectors:function(){return l},getActions:function(){return c},subscribe:d}}function Mt(e,t,n){return jt.apply(this,arguments)}function jt(){return(jt=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var It=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Dt(e,t,u);return l(e,n),n.store},l("core/data",It(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}();var Nt=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var Rt=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var Lt=function(e){return function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(Rt(t)&&Nt(n))if("function"==typeof r)if("number"==typeof o){var i={callback:r,priority:o,namespace:n};if(e[t]){var a,s=e[t].handlers;for(a=s.length;a>0&&!(o>=s[a-1].priority);a--);a===s.length?s[a]=i:s.splice(a,0,i),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=a&&e.currentIndex++}))}else e[t]={handlers:[i],runs:0};"hookAdded"!==t&&Wt("hookAdded",t,n,r,o)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var At=function(e,t){return function(n,r){if(Rt(n)&&(t||Nt(r))){if(!e[n])return 0;var o=0;if(t)o=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var i=e[n].handlers,a=function(t){i[t].namespace===r&&(i.splice(t,1),o++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},s=i.length-1;s>=0;s--)a(s);return"hookRemoved"!==n&&Wt("hookRemoved",n,r),o}}};var zt=function(e){return function(t){return t in e}};var Ft=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;var r=e[n].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(!r||!r.length)return t?i[0]:void 0;var s={name:n,currentIndex:0};for(e.__current.push(s);s.currentIndex<r.length;){var c=r[s.currentIndex],l=c.callback.apply(null,i);t&&(i[0]=l),s.currentIndex++}return e.__current.pop(),t?i[0]:void 0}};var Ht=function(e){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}};var Vt=function(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}};var Bt=function(e){return function(t){if(Rt(t))return e[t]&&e[t].runs?e[t].runs:0}};var Ut=function(){var e=Object.create(null),t=Object.create(null);return e.__current=[],t.__current=[],{addAction:Lt(e),addFilter:Lt(t),removeAction:At(e),removeFilter:At(t),hasAction:zt(e),hasFilter:zt(t),removeAllActions:At(e,!0),removeAllFilters:At(t,!0),doAction:Ft(e),applyFilters:Ft(t,!0),currentAction:Ht(e),currentFilter:Ht(t),doingAction:Vt(e),doingFilter:Vt(t),didAction:Bt(e),didFilter:Bt(t),actions:e,filters:t}}(),Wt=(Ut.addAction,Ut.addFilter,Ut.removeAction,Ut.removeFilter,Ut.hasAction,Ut.hasFilter,Ut.removeAllActions,Ut.removeAllFilters,Ut.doAction);Ut.applyFilters,Ut.currentAction,Ut.currentFilter,Ut.doingAction,Ut.doingFilter,Ut.didAction,Ut.didFilter,Ut.actions,Ut.filters,Object.create(null);var Kt,Yt,$t={getItem:function(e){return Kt&&Kt[e]?Kt[e]:null},setItem:function(e,t){Kt||$t.clear(),Kt[e]=String(t)},clear:function(){Kt=Object.create(null)}},qt=$t;try{(Yt=window.localStorage).setItem("__wpDataTestLocalStorage",""),Yt.removeItem("__wpDataTestLocalStorage")}catch(hE){Yt=qt}var Gt=Yt;function Zt(e){var t,n=e.storage,r=void 0===n?Gt:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Xt=function(e,t){var n=Zt(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};Xt.__unstableMigrate=function(e){var t=Zt(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var Qt=Object(I.createContext)();Qt.Provider,Qt.Consumer,Object(I.forwardRef)((function(){return null})),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),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"]),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"]),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"]);var Jt=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,en=n(130),tn=Object(I.createContext)(Pt),nn=tn.Consumer,rn=(tn.Provider,nn);function on(){return Object(I.useContext)(tn)}var an=Object(I.createContext)(!1);an.Consumer,an.Provider;var sn,cn,ln,un,dn="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,fn=(sn=[],cn=new WeakMap,ln=!1,un=function e(t){do{if(0===sn.length)return void(ln=!1);var n=sn.shift();cn.get(n)(),cn.delete(n)}while(t&&t.timeRemaining&&t.timeRemaining()>0);Jt(e)},{add:function(e,t){cn.has(e)||sn.push(e),cn.set(e,t),ln||(ln=!0,Jt(un))},flush:function(e){if(!cn.has(e))return!1;cn.delete(e);var t=sn.indexOf(e);return sn.splice(t,1),!0}});function hn(e,t){var n,r=Object(I.useCallback)(e,t),o=on(),i=Object(I.useContext)(an),a=Object(I.useMemo)((function(){return{queue:!0}}),[o]),s=Fe(Object(I.useReducer)((function(e){return e+1}),0),2)[1],c=Object(I.useRef)(),l=Object(I.useRef)(i),u=Object(I.useRef)(),d=Object(I.useRef)(),f=Object(I.useRef)();try{n=c.current!==r||d.current?r(o.select,o):u.current}catch(hE){var h="An error occurred while running 'mapSelect': ".concat(hE.message);if(d.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(d.current.stack,"\n\n"),h+="Original stack trace:",new Error(h)}return dn((function(){c.current=r,l.current!==i&&(l.current=i,fn.flush(a)),u.current=n,d.current=void 0,f.current=!0})),dn((function(){var e=function(){if(f.current){try{var e=c.current(o.select,o);if(Object(en.isShallowEqualObjects)(u.current,e))return;u.current=e}catch(hE){d.current=hE}s({})}};l.current?fn.add(a,e):e();var t=o.subscribe((function(){l.current?fn.add(a,e):e()}));return function(){f.current=!1,t(),fn.flush(a)}}),[o]),n}var pn=function(e){return Oe((function(t){return Re((function(n){var r=hn((function(t,r){return e(t,n,r)}));return Object(I.createElement)(t,Le({},n,r))}))}),"withSelect")},vn="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,mn=function(e,t){var n=on(),r=Object(I.useRef)(e);return vn((function(){r.current=e})),Object(I.useMemo)((function(){var e=r.current(n.dispatch,n);return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=r.current(n.dispatch,n))[t].apply(e,arguments)}}))}),[n].concat(ft(t)))},bn=function(e){return Oe((function(t){return function(n){var r=mn((function(t,r){return e(t,n,r)}),[]);return Object(I.createElement)(t,Le({},n,r))}}),"withDispatch")};Oe((function(e){return function(t){return Object(I.createElement)(rn,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");Pt.select,Pt.dispatch,Pt.subscribe,Pt.registerGenericStore;var gn=Pt.registerStore,yn=(Pt.use,n(131)),kn={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var _n,wn,On=function(e){if(e in kn)return kn[e];throw new Error("config key `"+e+"` does not exist")},Sn=n.n(yn)()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var En={initialize:function(e,t,n){En.setUser(e,t),En.setSuperProps(n),En.identifyUser()},setUser:function(e,t){wn={ID:e,username:t}},setSuperProps:function(e){_n=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);Sn("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),Sn('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);On("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);Sn("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),Sn('Built stat "%s" in group "%s"',t,e);return n}(e,t);On("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){En.tracks.recordPageView(e),En.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,o,i,a){En.ga.recordPurchase(e,t,n,r,o,i,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(_n&&(Sn("- Super Props: %o",_n),t=Object(N.assign)(t,_n)),Sn('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):Sn('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};En.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){En.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){Sn("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};En.ga.initialized||(wn&&(e={userId:"u-"+wn.ID}),window.ga("create",On("google_analytics_key"),"auto",e),En.ga.initialized=!0)},recordPageView:function(e,t){En.ga.initialize(),Sn("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),On("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){En.ga.initialize();var o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),Sn(o),On("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,o,i,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){wn&&window._tkq.push(["identifyUser",wn.ID,wn.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},Cn=En,Tn=function(e){return Object(I.createElement)("g",e)},xn=function(e){return Object(I.createElement)("path",e)},Dn=function(e){return Object(I.createElement)("polygon",e)},Mn=function(e){var t=D({},e,{role:"img","aria-hidden":"true",focusable:"false"});return Object(I.createElement)("svg",t)},jn=n(2),In=n.n(jn);var Pn=function(e){var t=e.type,n=e.options,r=void 0===n?{}:n,o=e.children;if("appear"===t){var i,a=r.origin,s=Fe((void 0===a?"top":a).split(" "),2),c=s[0],l=s[1],u=void 0===l?"center":l;return o({className:In()("components-animate__appear",(i={},x(i,"is-from-"+u,"center"!==u),x(i,"is-from-"+c,"middle"!==c),i))})}if("slide-in"===t){var d=r.origin,f=void 0===d?"left":d;return o({className:In()("components-animate__slide-in","is-from-"+f)})}return o({})};function Nn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(N.includes)(["iPad","iPhone"],t)}var Rn="alt",Ln="ctrl",An="shift",zn={primary:function(e){return e()?["meta"]:[Ln]},primaryShift:function(e){return e()?[An,"meta"]:[Ln,An]},primaryAlt:function(e){return e()?[Rn,"meta"]:[Ln,Rn]},secondary:function(e){return e()?[An,Rn,"meta"]:[Ln,An,Rn]},access:function(e){return e()?[Ln,Rn]:[An,Rn]},ctrl:function(){return[Ln]},alt:function(){return[Rn]},ctrlShift:function(){return[Ln,An]},shift:function(){return[An]},shiftAlt:function(){return[An,Rn]}},Fn=Object(N.mapValues)(zn,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nn;return[].concat(ft(e(n)),[t.toLowerCase()]).join("+")}})),Hn=Object(N.mapValues)(zn,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nn,o=r(),i=(x(n={},Rn,o?"⌥":"Alt"),x(n,Ln,o?"^":"Ctrl"),x(n,"meta","⌘"),x(n,An,o?"⇧":"Shift"),n),a=e(r).reduce((function(e,t){var n=Object(N.get)(i,t,t);return[].concat(ft(e),o?[n]:[n,"+"])}),[]),s=Object(N.capitalize)(t);return[].concat(ft(a),[s])}})),Vn=Object(N.mapValues)(Hn,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nn;return e(t,n).join("")}})),Bn=(Object(N.mapValues)(zn,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nn,o=r(),i=(x(n={},An,"Shift"),x(n,"meta",o?"Command":"Control"),x(n,Ln,"Control"),x(n,Rn,o?"Option":"Alt"),x(n,",",ve("Comma")),x(n,".",ve("Period")),x(n,"`",ve("Backtick")),n);return[].concat(ft(e(r)),[t]).map((function(e){return Object(N.capitalize)(Object(N.get)(i,e,e))})).join(o?" ":" + ")}})),Object(N.mapValues)(zn,(function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Nn,o=e(r);return!!o.every((function(e){return t["".concat(e,"Key")]}))&&(n?t.key===n:Object(N.includes)(o,t.key.toLowerCase()))}})));var Un=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}},Wn=n(5),Kn=n.n(Wn),Yn=Un((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),$n=new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());var qn=function(e){return Un((function(t){var n=function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).handleEvent=e.handleEvent.bind(xe(e)),e.handleRef=e.handleRef.bind(xe(e)),e}return Ie(r,n),Te(r,[{key:"componentDidMount",value:function(){var t=this;Object(N.forEach)(e,(function(e,n){$n.add(n,t)}))}},{key:"componentWillUnmount",value:function(){var t=this;Object(N.forEach)(e,(function(e,n){$n.remove(n,t)}))}},{key:"handleEvent",value:function(t){var n=e[t.type];"function"==typeof this.wrappedRef[n]&&this.wrappedRef[n](t)}},{key:"handleRef",value:function(e){this.wrappedRef=e,this.props.forwardedRef&&this.props.forwardedRef(e)}},{key:"render",value:function(){return Object(I.createElement)(t,Le({},this.props.ownProps,{ref:this.handleRef}))}}]),r}(I.Component);return Object(I.forwardRef)((function(e,t){return Object(I.createElement)(n,{ownProps:e,forwardedRef:t})}))}),"withGlobalEvents")},Gn=Un((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),Zn=Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");function Xn(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function Qn(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function Jn(e,t){return Qn(e)&&e.type===t}function er(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!Jn(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!Qn(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){Qn(e)&&t(e),n(e)}),r)}))}}var tr=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},nr=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},rr=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),or=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return rr(e,t)}return e};function ir(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function ar(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==ir(e,t,n)}function sr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===ir(e,t,n)}function cr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===ir(e,t,n)}function lr(e){return e}function ur(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function dr(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function fr(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function hr(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function pr(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function vr(e,t,n){var r,o=t.reducer,s=function(e,t,n){var r=[nr(n,e),tr];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=er(e,t.dispatch);return function(e){return function(t){return Xn(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:or,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),c=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},a,t.actions),s),l=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(i,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),s,n);if(t.resolvers){var u=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!ar(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(ur(o,a)),e.next=9,mr.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(dr(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,l,s);r=u.resolvers,l=u.selectors}s.__unstableOriginalGetState=s.getState,s.getState=function(){return s.__unstableOriginalGetState().root};var d=s&&function(e){var t=s.__unstableOriginalGetState();s.subscribe((function(){var n=s.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:s,actions:c,selectors:l,resolvers:r,getSelectors:function(){return l},getActions:function(){return c},subscribe:d}}function mr(e,t,n){return br.apply(this,arguments)}function br(){return(br=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var gr=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var yr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=vr(e,t,u);return l(e,n),n.store},l("core/data",gr(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}();var kr=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var _r=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var wr=function(e){return function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(_r(t)&&kr(n))if("function"==typeof r)if("number"==typeof o){var i={callback:r,priority:o,namespace:n};if(e[t]){var a,s=e[t].handlers;for(a=s.length;a>0&&!(o>=s[a-1].priority);a--);a===s.length?s[a]=i:s.splice(a,0,i),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=a&&e.currentIndex++}))}else e[t]={handlers:[i],runs:0};"hookAdded"!==t&&Rr("hookAdded",t,n,r,o)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var Or=function(e,t){return function(n,r){if(_r(n)&&(t||kr(r))){if(!e[n])return 0;var o=0;if(t)o=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var i=e[n].handlers,a=function(t){i[t].namespace===r&&(i.splice(t,1),o++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},s=i.length-1;s>=0;s--)a(s);return"hookRemoved"!==n&&Rr("hookRemoved",n,r),o}}};var Sr=function(e){return function(t){return t in e}};var Er=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;var r=e[n].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(!r||!r.length)return t?i[0]:void 0;var s={name:n,currentIndex:0};for(e.__current.push(s);s.currentIndex<r.length;){var c=r[s.currentIndex],l=c.callback.apply(null,i);t&&(i[0]=l),s.currentIndex++}return e.__current.pop(),t?i[0]:void 0}};var Cr=function(e){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}};var Tr=function(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}};var xr=function(e){return function(t){if(_r(t))return e[t]&&e[t].runs?e[t].runs:0}};var Dr=function(){var e=Object.create(null),t=Object.create(null);return e.__current=[],t.__current=[],{addAction:wr(e),addFilter:wr(t),removeAction:Or(e),removeFilter:Or(t),hasAction:Sr(e),hasFilter:Sr(t),removeAllActions:Or(e,!0),removeAllFilters:Or(t,!0),doAction:Er(e),applyFilters:Er(t,!0),currentAction:Cr(e),currentFilter:Cr(t),doingAction:Tr(e),doingFilter:Tr(t),didAction:xr(e),didFilter:xr(t),actions:e,filters:t}},Mr=Dr(),jr=Mr.addAction,Ir=Mr.addFilter,Pr=Mr.removeAction,Nr=(Mr.removeFilter,Mr.hasAction,Mr.hasFilter),Rr=(Mr.removeAllActions,Mr.removeAllFilters,Mr.doAction),Lr=Mr.applyFilters,Ar=(Mr.currentAction,Mr.currentFilter,Mr.doingAction,Mr.doingFilter,Mr.didAction,Mr.didFilter,Mr.actions,Mr.filters,Object.create(null));function zr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,r=t.alternative,o=t.plugin,i=t.link,a=t.hint,s=o?" from ".concat(o):"",c=n?"".concat(s," in ").concat(n):"",l=r?" Please use ".concat(r," instead."):"",u=i?" See: ".concat(i):"",d=a?" Note: ".concat(a):"",f="".concat(e," is deprecated and will be removed").concat(c,".").concat(l).concat(u).concat(d);f in Ar||(Rr("deprecated",e,t,f),console.warn(f),Ar[f]=!0)}var Fr,Hr,Vr={getItem:function(e){return Fr&&Fr[e]?Fr[e]:null},setItem:function(e,t){Fr||Vr.clear(),Fr[e]=String(t)},clear:function(){Fr=Object.create(null)}},Br=Vr;try{(Hr=window.localStorage).setItem("__wpDataTestLocalStorage",""),Hr.removeItem("__wpDataTestLocalStorage")}catch(hE){Hr=Br}var Ur=Hr;function Wr(e){var t,n=e.storage,r=void 0===n?Ur:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Kr=function(e,t){var n=Wr(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};Kr.__unstableMigrate=function(e){var t=Wr(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var Yr=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};Yr((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());Yr((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),Yr((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var $r=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,qr=Object(I.createContext)(yr),Gr=qr.Consumer,Zr=(qr.Provider,Gr);var Xr=Object(I.createContext)(!1);Xr.Consumer,Xr.Provider;"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);$r(r)}}();"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,Yr((function(e){return function(t){return Object(I.createElement)(Zr,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");var Qr=yr.select,Jr=(yr.dispatch,yr.subscribe,yr.registerGenericStore,yr.registerStore);yr.use;var eo,to,no=Ve()({formatTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return D({},e,Object(N.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(N.omit)(e,t.names)}return e}});function ro(e){return[e]}function oo(){var e={clear:function(){e.head=null}};return e}function io(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}eo={},to="undefined"!=typeof WeakMap;var ao=function(e,t){var n,r;function o(){n=to?new WeakMap:oo()}function i(){var n,o,i,a,s,c=arguments.length;for(a=new Array(c),i=0;i<c;i++)a[i]=arguments[i];for(s=t.apply(null,a),(n=r(s)).isUniqueByDependants||(n.lastDependants&&!io(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),o=n.head;o;){if(io(o.args,a,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,a)},a[0]=null,o.args=a,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=ro),r=to?function(e){var t,r,o,i,a,s=n,c=!0;for(t=0;t<e.length;t++){if(r=e[t],!(a=r)||"object"!=typeof a){c=!1;break}s.has(r)?s=s.get(r):(o=new WeakMap,s.set(r,o),s=o)}return s.has(eo)||((i=oo()).isUniqueByDependants=c,s.set(eo,i)),s.get(eo)}:function(){return n},i.getDependants=t,i.clear=o,o(),i},so=ao((function(e){return Object.values(e.formatTypes)}),(function(e){return[e.formatTypes]}));function co(e,t){return e.formatTypes[t]}function lo(e,t){return Object(N.find)(so(e),(function(e){var n=e.className,r=e.tagName;return null===n&&t===r}))}function uo(e,t){return Object(N.find)(so(e),(function(e){var n=e.className;return null!==n&&" ".concat(t," ").indexOf(" ".concat(n," "))>=0}))}function fo(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(N.castArray)(e)}}function ho(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(N.castArray)(e)}}function po(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;var o=Object.keys(n),i=Object.keys(r);if(o.length!==i.length)return!1;for(var a=o.length,s=0;s<a;s++){var c=o[s];if(n[c]!==r[c])return!1}return!0}function vo(e){var t=e.formats.slice();return t.forEach((function(e,n){var r=t[n-1];if(r){var o=e.slice();o.forEach((function(e,t){var n=r[t];po(e,n)&&(o[t]=n)})),t[n]=o}})),D({},e,{formats:t})}function mo(e,t,n){return(e=e.slice())[t]=n,e}function bo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.activeFormats,a=o.slice();if(n===r){var s=Object(N.find)(a[n],{type:t.type});if(s){for(var c=a[n].indexOf(s);a[n]&&a[n][c]===s;)a[n]=mo(a[n],c,t),n--;for(r++;a[r]&&a[r][c]===s;)a[r]=mo(a[r],c,t),r++}}else{for(var l=1/0,u=n;u<r;u++)if(a[u]){a[u]=a[u].filter((function(e){return e.type!==t.type}));var d=a[u].length;d<l&&(l=d)}else a[u]=[],l=0;for(var f=n;f<r;f++)a[f].splice(l,0,t)}return vo(D({},e,{formats:a,activeFormats:[].concat(ft(Object(N.reject)(i,{type:t.type})),[t])}))}function go(e,t){var n=e.implementation;return go.body||(go.body=n.createHTMLDocument("").body),go.body.innerHTML=t,go.body}Jr("core/rich-text",{reducer:no,selectors:s,actions:c});var yo=window.Node,ko=yo.TEXT_NODE,_o=yo.ELEMENT_NODE;function wo(e,t){for(var n in e)if(e[n]===t)return n}function Oo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,n=e.text,r=e.html,o=e.range,i=e.multilineTag,a=e.multilineWrapperTags,s=e.__unstableIsEditableTree;return"string"==typeof n&&n.length>0?{formats:Array(n.length),replacements:Array(n.length),text:n}:("string"==typeof r&&r.length>0&&(t=go(document,r)),"object"!==F(t)?{formats:[],replacements:[],text:""}:i?To({element:t,range:o,multilineTag:i,multilineWrapperTags:a,isEditableTree:s}):Co({element:t,range:o,isEditableTree:s}))}function So(e,t,n,r){if(n){var o=t.parentNode,i=n.startContainer,a=n.startOffset,s=n.endContainer,c=n.endOffset,l=e.text.length;void 0!==r.start?e.start=l+r.start:t===i&&t.nodeType===ko?e.start=l+a:o===i&&t===i.childNodes[a]?e.start=l:o===i&&t===i.childNodes[a-1]?e.start=l+r.text.length:t===i&&(e.start=l),void 0!==r.end?e.end=l+r.end:t===s&&t.nodeType===ko?e.end=l+c:o===s&&t===s.childNodes[c-1]?e.end=l+r.text.length:o===s&&t===s.childNodes[c]?e.end=l:t===s&&(e.end=l+c)}}function Eo(e){return e.replace(/[\n\r\t]+/g," ")}function Co(e){var t=e.element,n=e.range,r=e.multilineTag,o=e.multilineWrapperTags,i=e.currentWrapperTags,a=void 0===i?[]:i,s=e.isEditableTree,c={formats:[],replacements:[],text:""};if(!t)return c;if(!t.hasChildNodes())return So(c,t,n,{formats:[],replacements:[],text:""}),c;for(var l=t.childNodes.length,u=function(e){var i=t.childNodes[e],l=i.nodeName.toLowerCase();if(i.nodeType===ko){var u=Eo(i.nodeValue);return n=function(e,t,n){if(t){var r=t.startContainer,o=t.endContainer,i=t.startOffset,a=t.endOffset;return e===r&&(i=n(e.nodeValue.slice(0,i)).length),e===o&&(a=n(e.nodeValue.slice(0,a)).length),{startContainer:r,startOffset:i,endContainer:o,endOffset:a}}}(i,n,Eo),So(c,i,n,{text:u}),c.formats.length+=u.length,c.replacements.length+=u.length,c.text+=u,"continue"}if(i.nodeType!==_o)return"continue";if(i.getAttribute("data-rich-text-padding")||s&&"br"===l&&!i.getAttribute("data-rich-text-line-break"))return So(c,i,n,{formats:[],replacements:[],text:""}),"continue";if("br"===l)return So(c,i,n,{formats:[],replacements:[],text:""}),Do(c,Oo({text:"\n"})),"continue";var d=c.formats[c.formats.length-1],f=d&&d[d.length-1],h=function(e){var t,n=e.type,r=e.attributes;if(r&&r.class&&(t=Qr("core/rich-text").getFormatTypeForClassName(r.class))&&(r.class=" ".concat(r.class," ").replace(" ".concat(t.className," ")," ").trim(),r.class||delete r.class),t||(t=Qr("core/rich-text").getFormatTypeForBareElement(n)),!t)return r?{type:n,attributes:r}:{type:n};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{type:t.name};var o={},i={};for(var a in r){var s=wo(t.attributes,a);s?o[s]=r[a]:i[a]=r[a]}return{type:t.name,attributes:o,unregisteredAttributes:i}}({type:l,attributes:xo({element:i})}),p=po(h,f)?f:h;if(o&&-1!==o.indexOf(l)){var v=To({element:i,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:[].concat(ft(a),[p]),isEditableTree:s});return So(c,i,n,v),Do(c,v),"continue"}var m=Co({element:i,range:n,multilineTag:r,multilineWrapperTags:o,isEditableTree:s});So(c,i,n,m),p?0===m.text.length?p.attributes&&Do(c,{formats:[,],replacements:[p],text:""}):Do(c,D({},m,{formats:Array.from(m.formats,(function(e){return e?[p].concat(ft(e)):[p]}))})):Do(c,m)},d=0;d<l;d++)u(d);return c}function To(e){var t=e.element,n=e.range,r=e.multilineTag,o=e.multilineWrapperTags,i=e.currentWrapperTags,a=void 0===i?[]:i,s=e.isEditableTree,c={formats:[],replacements:[],text:""};if(!t||!t.hasChildNodes())return c;for(var l=t.children.length,u=0;u<l;u++){var d=t.children[u];if(d.nodeName.toLowerCase()===r){var f=Co({element:d,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:a,isEditableTree:s});(0!==u||a.length>0)&&Do(c,{formats:[,],replacements:a.length>0?[a]:[,],text:"\u2028"}),So(c,d,n,f),Do(c,f)}}return c}function xo(e){var t=e.element;if(t.hasAttributes()){for(var n,r=t.attributes.length,o=0;o<r;o++){var i=t.attributes[o],a=i.name,s=i.value;0!==a.indexOf("data-rich-text-")&&((n=n||{})[a]=s)}return n}}function Do(e,t){return e.formats=e.formats.concat(t.formats),e.replacements=e.replacements.concat(t.replacements),e.text+=t.text,e}function Mo(e){var t=e.formats,n=e.start,r=e.end,o=e.activeFormats;if(void 0===n)return[];if(n===r){if(o)return o;var i=t[n-1]||[],a=t[n]||[];return i.length<a.length?i:a}return t[n]||[]}function jo(e,t){return Object(N.find)(Mo(e),{type:t})}function Io(e){return e.text}function Po(e){for(var t=e.start,n=e.text,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,o=r;o--;)if("\u2028"===n[o])return o}function No(e){var t=e.replacements[Po(e,e.start)];return!t||t.length<1}function Ro(e,t,n){var r=e.replacements[Po(e,e.start)];return r&&0!==r.length?r[r.length-1].type===t:t===n}function Lo(e){var t=e.start,n=e.end;if(void 0!==t&&void 0!==n)return t===n}function Ao(e){return 0===e.text.length}function zo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.activeFormats,a=o.slice();if(n===r){var s=Object(N.find)(a[n],{type:t});if(s){for(;Object(N.find)(a[n],s);)Fo(a,n,t),n--;for(r++;Object(N.find)(a[r],s);)Fo(a,r,t),r++}}else for(var c=n;c<r;c++)a[c]&&Fo(a,c,t);return vo(D({},e,{formats:a,activeFormats:Object(N.reject)(i,{type:t})}))}function Fo(e,t,n){var r=e[t].filter((function(e){return e.type!==n}));r.length?e[t]=r:delete e[t]}function Ho(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.replacements,a=e.text;"string"==typeof t&&(t=Oo({text:t}));var s=n+t.text.length;return vo({formats:o.slice(0,n).concat(t.formats,o.slice(r)),replacements:i.slice(0,n).concat(t.replacements,i.slice(r)),text:a.slice(0,n)+t.text+a.slice(r),start:s,end:s})}function Vo(e,t,n){return Ho(e,Oo(),t,n)}function Bo(e,t,n){var r=e.formats,o=e.replacements,i=e.text,a=e.start,s=e.end;return i=i.replace(t,(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),c=1;c<t;c++)i[c-1]=arguments[c];var l,u,d=i[i.length-2],f=n;return"function"==typeof f&&(f=n.apply(void 0,[e].concat(i))),"object"===F(f)?(l=f.formats,u=f.replacements,f=f.text):(l=Array(f.length),u=Array(f.length),r[d]&&(l=l.fill(r[d]))),r=r.slice(0,d).concat(l,r.slice(d+e.length)),o=o.slice(0,d).concat(u,o.slice(d+e.length)),a&&(a=s=d+f.length),f})),vo({formats:r,replacements:o,text:i,start:a,end:s})}function Uo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=e.formats,o=e.replacements,i=e.text;return void 0===t||void 0===n?D({},e):{formats:r.slice(t,n),replacements:o.slice(t,n),text:i.slice(t,n)}}function Wo(e,t){var n=e.formats,r=e.replacements,o=e.text,i=e.start,a=e.end;if("string"!=typeof t)return Ko.apply(void 0,arguments);var s=0;return o.split(t).map((function(e){var o=s,c={formats:n.slice(o,o+e.length),replacements:r.slice(o,o+e.length),text:e};return s+=t.length+e.length,void 0!==i&&void 0!==a&&(i>=o&&i<s?c.start=i-o:i<o&&a>o&&(c.start=0),a>=o&&a<s?c.end=a-o:i<s&&a>s&&(c.end=e.length)),c}))}function Ko(e){var t=e.formats,n=e.replacements,r=e.text,o=e.start,i=e.end,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,c={formats:t.slice(0,a),replacements:n.slice(0,a),text:r.slice(0,a)},l={formats:t.slice(s),replacements:n.slice(s),text:r.slice(s),start:0,end:0};return[Bo(c,/\u2028+$/,""),Bo(l,/^\u2028+/,"")]}function Yo(e){var t=e.type,n=e.attributes,r=e.unregisteredAttributes,o=e.object,i=e.boundaryClass,a=function(e){return Qr("core/rich-text").getFormatType(e)}(t),s={};if(i&&(s["data-rich-text-format-boundary"]="true"),!a)return n&&(s=D({},n,s)),{type:t,attributes:s,object:o};for(var c in s=D({},r,s),n){var l=!!a.attributes&&a.attributes[c];l?s[l]=n[c]:s[c]=n[c]}return a.className&&(s.class?s.class="".concat(a.className," ").concat(s.class):s.class=a.className),{type:a.tagName,object:a.object,attributes:s}}var $o={type:"br",attributes:{"data-rich-text-padding":"true"},object:!0};function qo(e){var t,n,r,o=e.value,i=e.multilineTag,a=e.createEmpty,s=e.append,c=e.getLastChild,l=e.getParent,u=e.isText,d=e.getText,f=e.remove,h=e.appendText,p=e.onStartIndex,v=e.onEndIndex,m=e.isEditableTree,b=o.formats,g=o.replacements,y=o.text,k=o.start,_=o.end,w=b.length+1,O=a(),S={type:i},E=Mo(o),C=E[E.length-1];i?(s(s(O,{type:i}),""),n=t=[S]):s(O,"");for(var T=function(e){var o=y.charAt(e),a=m&&(!r||"\u2028"===r||"\n"===r),w=b[e];i&&(w="\u2028"===o?t=(g[e]||[]).reduce((function(e,t){return e.push(t,S),e}),[S]):[].concat(ft(t),ft(w||[])));var E=c(O);if(a&&"\u2028"===o){for(var T=E;!u(T);)T=c(T);s(l(T),$o),s(l(T),"")}if("\u2028"===r){for(var x=E;!u(x);)x=c(x);p&&k===e&&p(O,x),v&&_===e&&v(O,x)}if(w&&w.forEach((function(e,t){if(!E||!n||e!==n[t]||"\u2028"===o&&w.length-1===t){var r=e.type,i=e.attributes,a=e.unregisteredAttributes,h=m&&"\u2028"!==o&&e===C,p=l(E),v=s(p,Yo({type:r,attributes:i,unregisteredAttributes:a,boundaryClass:h}));u(E)&&0===d(E).length&&f(E),E=s(v,"")}else E=c(E)})),"\u2028"===o)return n=w,r=o,"continue";0===e&&(p&&0===k&&p(O,E),v&&0===_&&v(O,E)),""===o?(E=s(l(E),Yo(D({},g[e],{object:!0}))),E=s(l(E),"")):"\n"===o?(E=s(l(E),{type:"br",attributes:m?{"data-rich-text-line-break":"true"}:void 0,object:!0}),E=s(l(E),"")):u(E)?h(E,o):E=s(l(E),o),p&&k===e+1&&p(O,E),v&&_===e+1&&v(O,E),a&&e===y.length&&s(l(E),$o),n=w,r=o},x=0;x<w;x++)T(x);return O}var Go=window.Node.TEXT_NODE;function Zo(e,t,n){for(var r=e.parentNode,o=0;e=e.previousSibling;)o++;return n=[o].concat(ft(n)),r!==t&&(n=Zo(r,t,n)),n}function Xo(e,t){for(t=ft(t);e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var Qo=function(){return go(document,"")};function Jo(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var n=t,r=n.type,o=n.attributes;if(r)for(var i in t=e.ownerDocument.createElement(r),o)t.setAttribute(i,o[i]);return e.appendChild(t)}function ei(e,t){e.appendData(t)}function ti(e){return e.lastChild}function ni(e){return e.parentNode}function ri(e){return e.nodeType===Go}function oi(e){return e.nodeValue}function ii(e){return e.parentNode.removeChild(e)}function ai(e){var t=e.value,n=e.multilineTag,r=e.prepareEditableTree,o=e.isEditableTree,i=void 0===o||o,a=[],s=[];return r&&(t=D({},t,{formats:r(t)})),{body:qo({value:t,multilineTag:n,createEmpty:Qo,append:Jo,getLastChild:ti,getParent:ni,isText:ri,getText:oi,remove:ii,appendText:ei,onStartIndex:function(e,t){a=Zo(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){s=Zo(t,e,[t.nodeValue.length])},isEditableTree:i}),selection:{startPath:a,endPath:s}}}function si(e){var t=e.value,n=e.current,r=e.multilineTag,o=e.prepareEditableTree,i=e.__unstableDomOnly,a=ai({value:t,multilineTag:r,prepareEditableTree:o}),s=a.body,c=a.selection;!function e(t,n){var r,o=0;for(;r=t.firstChild;){var i=n.childNodes[o];if(i)if(i.isEqualNode(r))t.removeChild(r);else if(i.nodeName!==r.nodeName||i.nodeType===Go&&i.data!==r.data)n.replaceChild(r,i);else{var a=i.attributes,s=r.attributes;if(a)for(var c=a.length;c--;){var l=a[c].name;r.getAttribute(l)||i.removeAttribute(l)}if(s)for(var u=0;u<s.length;u++){var d=s[u],f=(l=d.name,d.value);i.getAttribute(l)!==f&&i.setAttribute(l,f)}e(r,i),t.removeChild(r)}else n.appendChild(r);o++}for(;n.childNodes[o];)n.removeChild(n.childNodes[o])}(s,n),void 0===t.start||i||function(e,t){var n=e.startPath,r=e.endPath,o=Xo(t,n),i=o.node,a=o.offset,s=Xo(t,r),c=s.node,l=s.offset,u=window.getSelection(),d=t.ownerDocument,f=d.createRange();f.setStart(i,a),f.setEnd(c,l),d.activeElement!==t&&t.focus();if(u.rangeCount>0){if(h=f,p=u.getRangeAt(0),h.startContainer===p.startContainer&&h.startOffset===p.startOffset&&h.endContainer===p.endContainer&&h.endOffset===p.endOffset)return;u.removeAllRanges()}var h,p;u.addRange(f)}(c,n)}function ci(e){return gi(qo({value:e.value,multilineTag:e.multilineTag,createEmpty:li,append:di,getLastChild:ui,getParent:hi,isText:pi,getText:vi,remove:mi,appendText:fi}).children)}function li(){return{}}function ui(e){var t=e.children;return t&&t[t.length-1]}function di(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function fi(e,t){e.text+=t}function hi(e){return e.parent}function pi(e){return"string"==typeof e.text}function vi(e){return e.text}function mi(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function bi(e){var t=e.type,n=e.attributes,r=e.object,o=e.children,i="";for(var a in n)W(a)&&(i+=" ".concat(a,'="').concat(B(n[a]),'"'));return r?"<".concat(t).concat(i,">"):"<".concat(t).concat(i,">").concat(gi(o),"</").concat(t,">")}function gi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return void 0===e.text?bi(e):U(e.text)})).join("")}function yi(e,t){var n=Po(e);if(void 0===n)return e;var r=e.text,o=e.replacements,i=e.end,a=Po(e,n),s=o[n]||[],c=o[a]||[];if(s.length>c.length)return e;for(var l=o.slice(),u=function(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t;i-- >=0;)if("\u2028"===n[i]){var a=r[i]||[];if(a.length===o.length+1)return i;if(a.length<=o.length)return}}(e,n),d=n;d<i;d++)if("\u2028"===r[d])if(u){var f=o[u]||[];l[d]=f.concat((l[d]||[]).slice(f.length-1))}else{var h=o[a]||[],p=h[h.length-1]||t;l[d]=h.concat([p],(l[d]||[]).slice(h.length))}return D({},e,{replacements:l})}function ki(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t;i-- >=0;){if("\u2028"===n[i])if((r[i]||[]).length===o.length-1)return i}}function _i(e){var t=e.text,n=e.replacements,r=e.start,o=e.end,i=Po(e,r);if(void 0===n[i])return e;for(var a=n.slice(0),s=n[ki(e,i)]||[],c=function(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t,a=t||0;a<n.length;a++)if("\u2028"===n[a]){if(!((r[a]||[]).length>=o.length))return i;i=a}return i}(e,Po(e,o)),l=i;l<=c;l++)if("\u2028"===t[l]){var u=a[l]||[];a[l]=s.concat(u.slice(s.length+1)),0===a[l].length&&delete a[l]}return D({},e,{replacements:a})}function wi(e,t){for(var n,r=e.text,o=e.replacements,i=e.start,a=e.end,s=Po(e,i),c=o[s]||[],l=o[Po(e,a)]||[],u=ki(e,s),d=o.slice(),f=c.length-1,h=l.length-1,p=u+1||0;p<r.length;p++)if("\u2028"===r[p]){if((d[p]||[]).length<=f)break;d[p]&&(n=!0,d[p]=d[p].map((function(e,n){return n<f||n>h?e:t})))}return n?D({},e,{replacements:d}):e}function Oi(e){var t=e.value,n=e.start,r=e.end,o=e.formats,i=t.formats[n-1]||[],a=t.formats[r]||[];for(t.activeFormats=o.map((function(e,t){if(i[t]){if(po(e,i[t]))return i[t]}else if(a[t]&&po(e,a[t]))return a[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}var Si=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function Ei(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function Ci(e){return ft(e.querySelectorAll(Si)).filter((function(e){return!!Ei(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&Ei(n)}(e))}))}function Ti(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function xi(e){return-1!==Ti(e)}function Di(e,t){return{element:e,index:t}}function Mi(e){return e.element}function ji(e,t){var n=Ti(e.element),r=Ti(t.element);return n===r?e.index-t.index:n-r}function Ii(e){return Ci(e).filter(xi).map(Di).sort(ji).map(Mi).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var s=t.hasOwnProperty(a);if(!i&&s)return e;if(s){var c=t[a];e=Object(N.without)(e,c)}return t[a]=n,e.concat(n)}),[]);var t}var Pi=window.getComputedStyle,Ni=window.Node,Ri=Ni.TEXT_NODE,Li=(Ni.ELEMENT_NODE,Ni.DOCUMENT_POSITION_PRECEDING),Ai=Ni.DOCUMENT_POSITION_FOLLOWING;function zi(e,t,n){if(Object(N.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=r.getRangeAt(0).cloneRange(),i=function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&Li)&&(!!(i&Ai)||(0!==i||r<=o))}(r),a=r.isCollapsed;a||o.collapse(!i);var s=Vi(o);if(!s)return!1;var c=window.getComputedStyle(e),l=parseInt(c.lineHeight,10)||0;if(!a&&s.height>l&&i===t)return!1;var u=parseInt(c["padding".concat(t?"Top":"Bottom")],10)||0,d=3*parseInt(l,10)/4,f=e.getBoundingClientRect();if(!(t?f.top+u>s.top-d:f.bottom-u<s.bottom+d))return!1;if(n)return!0;var h="rtl"===c.direction?!t:t,p=h?f.left+1:f.right-1,v=t?f.top+d:f.bottom-d,m=Ui(document,p,v,e);if(!m)return!1;var b=h?"left":"right",g=Vi(m);return Math.round(g[b])===Math.round(s[b])}function Fi(e,t){return zi(e,t)}function Hi(e,t){return zi(e,t,!0)}function Vi(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t);(e=document.createRange()).setStart(n,r),e.setEnd(n,r)}var o=e.getClientRects()[0];if(!o){var i=document.createTextNode("​");(e=e.cloneRange()).insertNode(i),o=e.getClientRects()[0],i.parentNode.removeChild(i)}return o}function Bi(e,t){if(e){if(Object(N.includes)(["INPUT","TEXTAREA"],e.tagName))return e.focus(),void(t?(e.selectionStart=e.value.length,e.selectionEnd=e.value.length):(e.selectionStart=0,e.selectionEnd=0));if(e.focus(),e.isContentEditable){var n=e[t?"lastChild":"firstChild"];if(n){var r=window.getSelection(),o=document.createRange();o.selectNodeContents(n),o.collapse(!t),r.removeAllRanges(),r.addRange(o)}}}}function Ui(e,t,n,r){r.style.zIndex="10000";var o=function(e,t,n){if(e.caretRangeFromPoint)return e.caretRangeFromPoint(t,n);if(!e.caretPositionFromPoint)return null;var r=e.caretPositionFromPoint(t,n);if(!r)return null;var o=e.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}(e,t,n);return r.style.zIndex=null,o}function Wi(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(hE){return!1}}function Ki(e){if(Object(N.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var s=e.lastChild,c=s.nodeType===Ri?s.data.length:s.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===c}function Yi(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return Yi(e.parentNode)}}function $i(e,t){Gi(t,e.parentNode),qi(e)}function qi(e){e.parentNode.removeChild(e)}function Gi(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function Zi(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function Xi(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function Qi(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}var Ji={focusable:l,tabbable:u},ea=["button","submit"];var ta=Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).bindNode=e.bindNode.bind(xe(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(xe(e)),e.queueBlurCheck=e.queueBlurCheck.bind(xe(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e)}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(N.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(N.includes)(ea,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(I.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(I.createElement)(e,Le({ref:this.bindNode},this.props)))}}]),n}(I.Component)}),"withFocusOutside");var na=Object(I.forwardRef)((function(e,t){var n=e.href,r=e.target,o=e.isPrimary,i=e.isLarge,a=e.isSmall,s=e.isTertiary,c=e.isToggled,l=e.isBusy,u=e.isDefault,d=e.isLink,f=e.isDestructive,h=e.className,p=e.disabled,v=j(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isToggled","isBusy","isDefault","isLink","isDestructive","className","disabled"]),m=In()("components-button",h,{"is-button":u||o||i||a,"is-default":u||i||a,"is-primary":o,"is-large":i,"is-small":a,"is-tertiary":s,"is-toggled":c,"is-busy":l,"is-link":d,"is-destructive":f}),b=void 0===n||p?"button":"a",g="a"===b?{href:n,target:r}:{type:"button",disabled:p};return Object(I.createElement)(b,D({},g,v,{className:m,ref:t}))})),ra=function(){return window.innerWidth<782},oa=function(){return"rtl"===document.documentElement.dir};function ia(e,t,n,r){var o=t.width;"left"===n&&oa()?n="right":"right"===n&&oa()&&(n="left");var i,a=Math.round(e.left+e.width/2),s={popoverLeft:a,contentWidth:(a-o/2>0?o/2:a)+(a+o/2>window.innerWidth?window.innerWidth-a:o/2)},c="middle"===r?e.left:a,l={popoverLeft:c,contentWidth:c-o>0?o:c},u="middle"===r?e.right:a,d={popoverLeft:u,contentWidth:u+o>window.innerWidth?window.innerWidth-u:o},f=null;if("center"===n&&s.contentWidth===o)i="center";else if("left"===n&&l.contentWidth===o)i="left";else if("right"===n&&d.contentWidth===o)i="right";else{var h="left"===(i=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;f=h!==o?h:null}return{xAxis:i,popoverLeft:"center"===i?s.popoverLeft:"left"===i?l.popoverLeft:d.popoverLeft,contentWidth:f}}function aa(e,t,n){var r,o=t.height,i=e.top+e.height/2,a={popoverTop:i,contentHeight:(i-o/2>0?o/2:i)+(i+o/2>window.innerHeight?window.innerHeight-i:o/2)},s={popoverTop:e.top,contentHeight:e.top-10-o>0?o:e.top-10},c={popoverTop:e.bottom,contentHeight:e.bottom+10+o>window.innerHeight?window.innerHeight-10-e.bottom:o},l=null;if("middle"===n&&a.contentHeight===o)r="middle";else if("top"===n&&s.contentHeight===o)r="top";else if("bottom"===n&&c.contentHeight===o)r="bottom";else{var u="top"===(r=s.contentHeight>c.contentHeight?"top":"bottom")?s.contentHeight:c.contentHeight;l=u!==o?u:null}return{yAxis:r,popoverTop:"middle"===r?a.popoverTop:"top"===r?s.popoverTop:c.popoverTop,contentHeight:l}}var sa=Object(I.createContext)({focusHistory:[]}),ca=sa.Provider,la=sa.Consumer;ca.displayName="FocusReturnProvider",la.displayName="FocusReturnConsumer";I.Component;var ua=Un((function e(t){if((r=t)instanceof I.Component||"function"==typeof r){var n=t;return e({})(n)}var r,o=t.onFocusReturn,i=void 0===o?N.stubTrue:o;return function(e){var t=function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==i())for(var r,o=[].concat(ft(N.without.apply(void 0,[this.props.focusHistory].concat(ft(n)))),[e]);r=o.pop();)if(document.body.contains(r))return void r.focus()}},{key:"render",value:function(){return Object(I.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(I.createElement)(e,this.props))}}]),n}(I.Component);return function(e){return Object(I.createElement)(la,null,(function(n){return Object(I.createElement)(t,Le({},e,n))}))}}}),"withFocusReturn"),da=Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).focusContainRef=Object(I.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"handleTabBehaviour",value:function(e){if(9===e.keyCode){var t=Ji.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(I.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(I.createElement)(e,this.props))}}]),n}(I.Component)}),"withConstrainedTabbing"),fa=n(55),ha=n.n(fa),pa=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"handleClickOutside",value:function(e){var t=this.props.onClickOutside;t&&t(e)}},{key:"render",value:function(){return this.props.children}}]),t}(I.Component),va=ha()(pa);var ma=function(e){var t,n,r=e.shortcut,o=e.className;return r?(Object(N.isString)(r)&&(t=r),Object(N.isObject)(r)&&(t=r.display,n=r.ariaLabel),Object(I.createElement)("span",{className:o,"aria-label":n},t)):null},ba=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).delayedSetIsOver=Object(N.debounce)((function(t){return e.setState({isOver:t})}),700),e.state={isOver:!1},e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel()}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===I.Children.count(n)){var r=I.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!r.currentTarget.disabled){n.delayedSetIsOver.cancel();var o=Object(N.includes)(["focus","mouseenter"],r.type);o!==n.state.isOver&&(t?n.delayedSetIsOver(o):n.setState({isOver:o}))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,o=e.shortcut;if(1!==I.Children.count(t))return t;var i=I.Children.only(t),a=this.state.isOver;return Object(I.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),children:R(i.props.children,a&&Object(I.createElement)(La,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1},r,Object(I.createElement)(ma,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),t}(I.Component),ga=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"render",value:function(){var e,t=this.props,n=t.icon,r=t.size,o=void 0===r?20:r,i=t.className,a=(t.ariaPressed,j(t,["icon","size","className","ariaPressed"]));switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var s=function(e,t){return["dashicon","dashicons-"+e,t].filter(Boolean).join(" ")}(n,i);return Object(I.createElement)(Mn,Le({"aria-hidden":!0,role:"img",focusable:"false",className:s,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 20 20"},a),Object(I.createElement)(xn,{d:e}))}}]),t}(I.Component);var ya=Object(I.forwardRef)((function(e,t){var n=e.icon,r=e.children,o=e.label,i=e.className,a=e.tooltip,s=e.shortcut,c=e.labelPosition,l=j(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),u=l["aria-pressed"],d=In()("components-icon-button",i,{"has-text":r}),f=a||o,h=!l.disabled&&(a||s||!!o&&(!r||Object(N.isArray)(r)&&!r.length)&&!1!==a),p=Object(I.createElement)(na,Le({"aria-label":o},l,{className:d,ref:t}),Object(N.isString)(n)?Object(I.createElement)(ga,{icon:n,ariaPressed:u}):n,r);return h&&(p=Object(I.createElement)(ba,{text:f,shortcut:s,position:c},p)),p}));var ka=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,i=0,a=0;function s(e){var t=n.scrollingElement||n.body;e&&(a=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=a)}function c(){0===i&&s(!0),++i}function l(){1===i&&s(!1),--i}return(function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){c()}},{key:"componentWillUnmount",value:function(){l()}},{key:"render",value:function(){return null}}]),t}(I.Component))}(),_a=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).stopEventPropagationOutsideContainer=n.stopEventPropagationOutsideContainer.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"stopEventPropagationOutsideContainer",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this.props,t=e.children,n=j(e,["children"]);return Object(I.createElement)("div",Le({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(I.Component),wa=Object(I.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){}}),Oa=wa.Provider,Sa=wa.Consumer,Ea=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(xe(e)),e.registerFill=e.registerFill.bind(xe(e)),e.unregisterSlot=e.unregisterSlot.bind(xe(e)),e.unregisterFill=e.unregisterFill.bind(xe(e)),e.getSlot=e.getSlot.bind(xe(e)),e.getFills=e.getFills.bind(xe(e)),e.slots={},e.fills={},e.state={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills},e}return Ie(t,e),Te(t,[{key:"registerSlot",value:function(e,t){var n=this.slots[e];this.slots[e]=t,this.forceUpdateFills(e),this.forceUpdateSlot(e),n&&n.forceUpdate()}},{key:"registerFill",value:function(e,t){this.fills[e]=[].concat(ft(this.fills[e]||[]),[t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e,t){this.slots[e]===t&&(delete this.slots[e],this.forceUpdateFills(e))}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(N.without)(this.fills[e],t),this.resetFillOccurrence(e),this.forceUpdateSlot(e)}},{key:"getSlot",value:function(e){return this.slots[e]}},{key:"getFills",value:function(e,t){return this.slots[e]!==t?[]:Object(N.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(N.forEach)(this.fills[e],(function(e){e.occurrence=void 0}))}},{key:"forceUpdateFills",value:function(e){Object(N.forEach)(this.fills[e],(function(e){e.forceUpdate()}))}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"render",value:function(){return Object(I.createElement)(Oa,{value:this.state},this.props.children)}}]),t}(I.Component),Ca=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindNode=e.bindNode.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.bubblesVirtually,o=void 0!==r&&r,i=e.fillProps,a=void 0===i?{}:i,s=e.getFills;if(o)return Object(I.createElement)("div",{ref:this.bindNode});var c=Object(N.map)(s(n,this),(function(e){var t=e.occurrence,n=Object(N.isFunction)(e.children)?e.children(a):e.children;return I.Children.map(n,(function(e,n){if(!e||Object(N.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(I.cloneElement)(e,{key:r})}))})).filter(Object(N.negate)(A));return Object(I.createElement)(I.Fragment,null,Object(N.isFunction)(t)?t(c):c)}}]),t}(I.Component),Ta=function(e){return Object(I.createElement)(Sa,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,o=t.getFills;return Object(I.createElement)(Ca,Le({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}))},xa=0;function Da(e){var t=e.name,n=e.getSlot,r=e.children,o=e.registerFill,i=e.unregisterFill,a=Fe(Object(I.useState)({}),2)[1],s=function(){return a({})},c=Object(I.useRef)({name:t,children:r});c.current.occurrence||(c.current.occurrence=++xa),Object(I.useLayoutEffect)((function(){return c.current.forceUpdate=s,o(t,c.current),function(){return i(t,c.current)}}),[]),Object(I.useLayoutEffect)((function(){c.current.children=r;var e=n(t);e&&!e.props.bubblesVirtually&&e.forceUpdate()}),[r]),Object(I.useLayoutEffect)((function(){t!==c.current.name&&(i(c.current.name,c.current),c.current.name=t,o(t,c.current))}),[t]);var l=n(t);return l&&l.node&&l.props.bubblesVirtually?(Object(N.isFunction)(r)&&(r=r(l.props.fillProps)),Object(L.createPortal)(r,l.node)):null}var Ma=function(e){return Object(I.createElement)(Sa,null,(function(t){var n=t.getSlot,r=t.registerFill,o=t.unregisterFill;return Object(I.createElement)(Da,Le({},e,{getSlot:n,registerFill:r,unregisterFill:o}))}))};function ja(e){var t=function(t){return Object(I.createElement)(Ma,Le({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(I.createElement)(Ta,Le({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var Ia=da(ua((function(e){return e.children})));function Pa(e,t){Object(I.useEffect)((function(){var n,r=function(r){window.cancelAnimationFrame(n),t&&r&&"scroll"===r.type&&t.current.contains(r.target)||(n=window.requestAnimationFrame(e))};return window.addEventListener("resize",r),window.addEventListener("scroll",r),function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r)}}),[])}function Na(e,t,n,r,o){var i=Fe(Object(I.useState)({popoverLeft:null,popoverTop:null,yAxis:"top",xAxis:"center",contentHeight:null,contentWidth:null,isMobile:!1}),2),a=i[0],s=i[1],c=function(){if(e&&t){var o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n.split(" "),i=Fe(o,2),a=i[0],s=i[1],c=void 0===s?"center":s,l=aa(e,t,a),u=ia(e,t,c,l.yAxis);return D({isMobile:ra()&&r},u,l)}(e,t,n,r);a.yAxis===o.yAxis&&a.xAxis===o.xAxis&&a.popoverLeft===o.popoverLeft&&a.popoverTop===o.popoverTop&&a.contentHeight===o.contentHeight&&a.contentWidth===o.contentWidth&&a.isMobile===o.isMobile||s(o)}};return Object(I.useEffect)(c,[e,t]),Pa(c,o),a}var Ra=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,o=e.children,i=e.className,a=e.onClickOutside,s=void 0===a?n:a,c=e.noArrow,l=void 0!==c&&c,u=e.position,d=void 0===u?"top":u,f=(e.range,e.focusOnMount),h=void 0===f?"firstElement":f,p=e.anchorRect,v=e.getAnchorRect,m=e.expandOnMobile,b=e.animate,g=void 0===b||b,y=j(e,["headerTitle","onClose","onKeyDown","children","className","onClickOutside","noArrow","position","range","focusOnMount","anchorRect","getAnchorRect","expandOnMobile","animate"]),k=Object(I.useRef)(null),_=Object(I.useRef)(null),w=Fe(Object(I.useState)(!1),2),O=w[0],S=w[1],E=function(e,t,n,r){var o=Fe(Object(I.useState)(null),2),i=o[0],a=o[1],s=function(){if(e.current){var t;if(n)t=n;else if(r)t=r(e.current);else{var o=e.current.parentNode.getBoundingClientRect(),s=window.getComputedStyle(e.current.parentNode),c=s.paddingTop,l=s.paddingBottom,u=parseInt(c,10),d=parseInt(l,10);t={x:o.left,y:o.top+u,width:o.width,height:o.height-u-d,left:o.left,right:o.right,top:o.top+u,bottom:o.bottom-d}}!Kn()(t,i)&&a(t)}};return Object(I.useEffect)(s,[n,r]),Object(I.useEffect)((function(){if(!n){var e=setInterval(s,500);return function(){return clearInterval(e)}}}),[n]),Pa(s,t),i}(k,_,p,v),C=function(e){var t=Fe(Object(I.useState)(null),2),n=t[0],r=t[1];return Object(I.useEffect)((function(){var t=e.current.getBoundingClientRect();r({width:t.width,height:t.height})}),[]),n}(_);Object(I.useEffect)((function(){C&&S(!0)}),[C]);var T=Na(E,C,d,m,_);!function(e,t){Object(I.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=Ji.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(h,_);var x=function(e){27===e.keyCode&&n&&(e.stopPropagation(),n()),r&&r(e)},D={top:"bottom",bottom:"top"}[T.yAxis]||"middle",M={left:"right",right:"left"}[T.xAxis]||"center",P=In()("components-popover",i,"is-"+T.yAxis,"is-"+T.xAxis,{"is-mobile":T.isMobile,"is-without-arrow":l||"center"===T.xAxis&&"middle"===T.yAxis}),N=Object(I.createElement)(va,{onClickOutside:s},Object(I.createElement)(Pn,{type:g&&O?"appear":null,options:{origin:D+" "+M}},(function(e){var r=e.className;return Object(I.createElement)(_a,Le({className:In()(P,r),style:{top:!T.isMobile&&T.popoverTop?T.popoverTop+"px":void 0,left:!T.isMobile&&T.popoverLeft?T.popoverLeft+"px":void 0,visibility:C?void 0:"hidden"}},y,{onKeyDown:x}),T.isMobile&&Object(I.createElement)("div",{className:"components-popover__header"},Object(I.createElement)("span",{className:"components-popover__header-title"},t),Object(I.createElement)(ya,{className:"components-popover__close",icon:"no-alt",onClick:n})),Object(I.createElement)("div",{ref:_,className:"components-popover__content",style:{maxHeight:!T.isMobile&&T.contentHeight?T.contentHeight+"px":void 0,maxWidth:!T.isMobile&&T.contentWidth?T.contentWidth+"px":void 0},tabIndex:"-1"},o))})));return h&&(N=Object(I.createElement)(Ia,null,N)),Object(I.createElement)(Sa,null,(function(e){var t=e.getSlot;return t&&t("Popover")&&(N=Object(I.createElement)(Ma,{name:"Popover"},N)),Object(I.createElement)("span",{ref:k},N,T.isMobile&&m&&Object(I.createElement)(ka,null))}))};Ra.Slot=function(){return Object(I.createElement)(Ta,{bubblesVirtually:!0,name:"Popover"})};var La=Ra,Aa=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},za=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},Fa="",Ha=function(e){return e=e.replace(/<[^<>]+>/g," "),Fa===e&&(e+=" "),Fa=e,e};(function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)})((function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=Aa("polite")),null===t&&(t=Aa("assertive"))}));var Va=function(e,t){za(),e=Ha(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)},Ba=Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).debouncedSpeak=Object(N.debounce)(e.speak.bind(xe(e)),500),e}return Ie(n,t),Te(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Va(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(I.Component)}),"withSpokenMessages");function Ua(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=[],o=0;o<t.length;o++){var i=t[o],a=i.keywords,s=void 0===a?[]:a;"string"==typeof i.label&&(s=[].concat(ft(s),[i.label]));var c=s.some((function(t){return e.test(Object(N.deburr)(t))}));if(c&&(r.push(i),r.length===n))break}return r}function Wa(){var e=window.getSelection().getRangeAt(0);if(e)return Vi(e)}var Ka=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindNode=e.bindNode.bind(xe(e)),e.select=e.select.bind(xe(e)),e.reset=e.reset.bind(xe(e)),e.resetWhenSuppressed=e.resetWhenSuppressed.bind(xe(e)),e.handleKeyDown=e.handleKeyDown.bind(xe(e)),e.debouncedLoadOptions=Object(N.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return Ie(t,e),Te(t,null,[{key:"getInitialState",value:function(){return{search:/./,selectedIndex:0,suppress:void 0,open:void 0,query:void 0,filteredOptions:[]}}}]),Te(t,[{key:"bindNode",value:function(e){this.node=e}},{key:"insertCompletion",value:function(e){var t=this.state,n=t.open,r=t.query,o=this.props,i=o.record,a=o.onChange,s=i.start,c=s-n.triggerPrefix.length-r.length;a(Ho(i,Oo({html:de(e)}),c,s))}},{key:"select",value:function(e){var t=this.props.onReplace,n=this.state,r=n.open,o=n.query,i=(r||{}).getOptionCompletion;if(!e.isDisabled){if(i){var a=i(e.value,o),s=void 0===a.action||void 0===a.value?{action:"insert-at-caret",value:a}:a,c=s.action,l=s.value;"replace"===c?t([l]):"insert-at-caret"===c&&this.insertCompletion(l)}this.reset()}}},{key:"reset",value:function(){!!this.node&&this.setState(this.constructor.getInitialState())}},{key:"resetWhenSuppressed",value:function(){var e=this.state,t=e.open,n=e.suppress;t&&n===t.idx&&this.reset()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(ge(me("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t(ve("No results."),"assertive"))}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,o=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then((function(t){var r;if(o===n.activePromise){var i=t.map((function(t,n){return{key:"".concat(e.idx,"-").concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[],isDisabled:!!e.isOptionDisabled&&e.isOptionDisabled(t)}})),a=Ua(n.state.search,i),s=a.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((x(r={},"options_"+e.idx,i),x(r,"filteredOptions",a),x(r,"selectedIndex",s),r)),n.announce(a)}}))}},{key:"handleKeyDown",value:function(e){var t=this.state,n=t.open,r=t.suppress,o=t.selectedIndex,i=t.filteredOptions;if(n)if(r!==n.idx){if(0!==i.length){var a;switch(e.keyCode){case 38:a=(0===o?i.length:o)-1,this.setState({selectedIndex:a});break;case 40:a=(o+1)%i.length,this.setState({selectedIndex:a});break;case 27:this.setState({suppress:n.idx});break;case 13:this.select(i[o]);break;case 37:case 39:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()}}else switch(e.keyCode){case 32:var s=e.ctrlKey,c=e.shiftKey,l=e.altKey,u=e.metaKey;s&&!(c||l||u)&&(this.setState({suppress:void 0}),e.preventDefault(),e.stopPropagation());break;case 38:case 40:case 37:case 39:this.reset()}}},{key:"toggleKeyEvents",value:function(e){var t=e?"addEventListener":"removeEventListener";this.node[t]("keydown",this.handleKeyDown,!0)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.record,o=n.completers,i=e.record,a=t.open;if(!this.state.open!=!a&&this.toggleKeyEvents(!!this.state.open),Lo(r)){var s=Object(N.deburr)(Io(Uo(r,0))),c=Object(N.deburr)(Io(Uo(i,0)));if(s!==c){var l=Io(Uo(r,void 0,Io(r).length)),u=Object(N.map)(o,(function(e,t){return D({},e,{idx:t})})),d=Object(N.find)(u,(function(e){var t=e.triggerPrefix,n=e.allowContext,r=s.lastIndexOf(t);return-1!==r&&(!(n&&!n(s.slice(0,r),l))&&/^\S*$/.test(s.slice(r+t.length)))}));if(!d)return void this.reset();var f=Object(N.escapeRegExp)(d.triggerPrefix),h=s.match(new RegExp("".concat(f,"(\\S*)$"))),p=h&&h[1],v=this.state,m=v.open,b=v.suppress,g=v.query;!d||m&&d.idx===m.idx&&p===g||(d.isDebounced?this.debouncedLoadOptions(d,p):this.loadOptions(d,p));var y=d?new RegExp("(?:\\b|\\s|^)"+Object(N.escapeRegExp)(p),"i"):/./,k=d?Ua(y,this.state["options_"+d.idx]):[],_=d&&b===d.idx?b:void 0;(m||d)&&this.setState({selectedIndex:0,filteredOptions:k,suppress:_,search:y,open:d,query:p}),d&&this.state["options_"+d.idx]&&this.announce(k)}}}},{key:"componentWillUnmount",value:function(){this.toggleKeyEvents(!1),this.debouncedLoadOptions.cancel()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.instanceId,o=this.state,i=o.open,a=o.suppress,s=o.selectedIndex,c=o.filteredOptions,l=(c[s]||{}).key,u=void 0===l?"":l,d=i||{},f=d.className,h=a!==d.idx&&c.length>0,p=h?"components-autocomplete-listbox-".concat(r):null,v=h?"components-autocomplete-item-".concat(r,"-").concat(u):null;return Object(I.createElement)("div",{ref:this.bindNode,onClick:this.resetWhenSuppressed,className:"components-autocomplete"},n({isExpanded:h,listBoxId:p,activeId:v}),h&&Object(I.createElement)(La,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:Wa},Object(I.createElement)("div",{id:p,role:"listbox",className:"components-autocomplete__results"},h&&Object(N.map)(c,(function(t,n){return Object(I.createElement)(na,{key:t.key,id:"components-autocomplete-item-".concat(r,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:In()("components-autocomplete__result",f,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)})))))}}]),t}(I.Component),Ya=Object(N.flowRight)([Ba,Gn,ta])(Ka);function $a(e){var t=e.id,n=e.label,r=e.help,o=e.className,i=e.children;return Object(I.createElement)("div",{className:In()("components-base-control",o)},Object(I.createElement)("div",{className:"components-base-control__field"},n&&t&&Object(I.createElement)("label",{className:"components-base-control__label",htmlFor:t},n),n&&!t&&Object(I.createElement)($a.VisualLabel,null,n),i),!!r&&Object(I.createElement)("p",{id:t+"__help",className:"components-base-control__help"},r))}$a.VisualLabel=function(e){var t=e.className,n=e.children;return t=In()("components-base-control__label",t),Object(I.createElement)("span",{className:t},n)};var qa=$a;Gn((function(e){var t=e.label,n=e.className,r=e.heading,o=e.checked,i=e.help,a=e.instanceId,s=e.onChange,c=j(e,["label","className","heading","checked","help","instanceId","onChange"]),l="inspector-checkbox-control-".concat(a);return Object(I.createElement)(qa,{label:r,id:l,help:i,className:n},Object(I.createElement)("input",Le({id:l,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return s(e.target.checked)},checked:o,"aria-describedby":i?l+"__help":void 0},c)),Object(I.createElement)("label",{className:"components-checkbox-control__label",htmlFor:l},t))}));var Ga=n(132),Za=n.n(Ga),Xa=(I.Component,function(e){var t=e.className,n=e.colorValue,r=j(e,["className","colorValue"]);return Object(I.createElement)("span",Le({className:In()("component-color-indicator",t),style:{background:n}},r))}),Qa=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).toggle=e.toggle.bind(xe(e)),e.close=e.close.bind(xe(e)),e.closeIfClickOutside=e.closeIfClickOutside.bind(xe(e)),e.containerRef=Object(I.createRef)(),e.state={isOpen:!1},e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfClickOutside",value:function(e){this.containerRef.current.contains(e.target)||this.close()}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,r=t.renderToggle,o=t.position,i=void 0===o?"bottom":o,a=t.className,s=t.contentClassName,c=t.expandOnMobile,l=t.headerTitle,u=t.focusOnMount,d={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(I.createElement)("div",{className:a,ref:this.containerRef},r(d),e&&Object(I.createElement)(La,{className:s,position:i,onClose:this.close,onClickOutside:this.closeIfClickOutside,expandOnMobile:c,headerTitle:l,focusOnMount:u},n(d)))}}]),t}(I.Component),Ja=n(17),es=n.n(Ja);function ts(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?es()(e.hex):es()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);var o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);var i=n.toRgb(),a=n.toHex();0===r.s&&(r.h=t||0,o.h=t||0);var s="000000"===a&&0===i.a;return{color:n,hex:s?"transparent":"#".concat(a),hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:i,source:e.source}}function ns(e,t){e.preventDefault();var n=t.getBoundingClientRect(),r=n.left,o=n.top,i=n.width,a=n.height,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,c="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(r+window.pageXOffset),u=c-(o+window.pageYOffset);return l<0?l=0:l>i?l=i:u<0?u=0:u>a&&(u=a),{top:u,left:l,width:i,height:a}}function rs(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&es()(e).isValid()}var os=n(133),is=n.n(os);n(166);var as=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new is.a(n),Object(N.forEach)(this.props.shortcuts,(function(t,n){var r=e.props,o=r.bindGlobal,i=r.eventName,a=o?"bindGlobal":"bind";e.mousetrap[a](n,t,i)}))}},{key:"componentWillUnmount",value:function(){this.mousetrap.reset()}},{key:"bindKeyTarget",value:function(e){this.keyTarget=e}},{key:"render",value:function(){var e=this.props.children;return I.Children.count(e)?Object(I.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(I.Component),ss=Yn(function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).container=Object(I.createRef)(),e.increase=e.increase.bind(xe(e)),e.decrease=e.decrease.bind(xe(e)),e.handleChange=e.handleChange.bind(xe(e)),e.handleMouseDown=e.handleMouseDown.bind(xe(e)),e.handleMouseUp=e.handleMouseUp.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r;e=parseInt(100*e,10);var i={h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"};o(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r,i=parseInt(100*n.a,10)-parseInt(100*e,10),a={h:n.h,s:n.s,l:n.l,a:n.a<=e?0:i/100,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?N.noop:t,r=function(e,t,n){var r=ns(e,n),o=r.left,i=r.width,a=o<0?0:Math.round(100*o/i)/100;return t.hsl.a!==a?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){9!==e.keyCode&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),r={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},o={left:"".concat(100*t.a,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(I.createElement)(as,{shortcuts:i},Object(I.createElement)("div",{className:"components-color-picker__alpha"},Object(I.createElement)("div",{className:"components-color-picker__alpha-gradient",style:r}),Object(I.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(I.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":ve("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:o,onKeyDown:this.preventKeyEvents}))))}}]),t}(I.Component)),cs=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).container=Object(I.createRef)(),e.increase=e.increase.bind(xe(e)),e.decrease=e.decrease.bind(xe(e)),e.handleChange=e.handleChange.bind(xe(e)),e.handleMouseDown=e.handleMouseDown.bind(xe(e)),e.handleMouseUp=e.handleMouseUp.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r,i={h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r,i={h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?N.noop:t,r=function(e,t,n){var r=ns(e,n),o=r.left,i=r.width,a=o>=i?359:360*(100*o/i)/100;return t.hsl.h!==a?{h:a,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){9!==e.keyCode&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,r=void 0===n?{}:n,o=t.instanceId,i={left:"".concat(100*r.h/360,"%")},a={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(I.createElement)(as,{shortcuts:a},Object(I.createElement)("div",{className:"components-color-picker__hue"},Object(I.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(I.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(I.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":r.h,"aria-orientation":"horizontal","aria-label":ve("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(o),className:"components-color-picker__hue-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(I.createElement)("p",{className:"components-color-picker__hue-description screen-reader-text",id:"components-color-picker__hue-description-".concat(o)},ve("Move the arrow left or right to change hue.")))))}}]),t}(I.Component),ls=Object(N.flowRight)(Yn,Gn)(cs);var us=Gn((function(e){var t=e.label,n=e.value,r=e.help,o=e.className,i=e.instanceId,a=e.onChange,s=e.type,c=void 0===s?"text":s,l=j(e,["label","value","help","className","instanceId","onChange","type"]),u="inspector-text-control-".concat(i);return Object(I.createElement)(qa,{label:t,id:u,help:r,className:o},Object(I.createElement)("input",Le({className:"components-text-control__input",type:c,id:u,value:n,onChange:function(e){return a(e.target.value)},"aria-describedby":r?u+"__help":void 0},l)))})),ds=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).handleBlur=e.handleBlur.bind(xe(e)),e.handleChange=e.handleChange.bind(xe(e)),e.handleKeyDown=e.handleKeyDown.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"handleBlur",value:function(){var e=this.props,t=e.value,n=e.valueKey;(0,e.onChange)({source:e.source,state:"commit",value:t,valueKey:n})}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,r=t.onChange,o=t.source;e.length>4&&rs(e)?r({source:o,state:"commit",value:e,valueKey:n}):r({source:o,state:"draft",value:e,valueKey:n})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(13===t||38===t||40===t){var n=this.props,r=n.value,o=n.valueKey;(0,n.onChange)({source:n.source,state:"commit",value:r,valueKey:o})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.value,o=j(t,["label","value"]);return Object(I.createElement)(us,Le({className:"components-color-picker__inputs-field",label:n,value:r,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(N.omit)(o,["onChange","valueKey","source"])))}}]),t}(I.Component),fs=Yn(ya),hs=function(e){function t(e){var n,r=e.hsl;Ee(this,t),n=De(this,Me(t).apply(this,arguments));var o=1===r.a?"hex":"rgb";return n.state={view:o},n.toggleViews=n.toggleViews.bind(xe(n)),n.resetDraftValues=n.resetDraftValues.bind(xe(n)),n.handleChange=n.handleChange.bind(xe(n)),n.normalizeValue=n.normalizeValue.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),Va(ve("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Va(ve("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Va(ve("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Va(ve("RGB mode active"))))}},{key:"resetDraftValues",value:function(){return this.props.onChange({state:"reset"})}},{key:"normalizeValue",value:function(e,t){return"a"!==e?t:t>0?0:t>1?1:Math.round(100*t)/100}},{key:"handleChange",value:function(e){var t=e.source,n=e.state,r=e.value,o=e.valueKey;this.props.onChange({source:t,state:n,valueKey:o,value:this.normalizeValue(o,r)})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(I.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(I.createElement)(ds,{source:this.state.view,label:ve("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"screen-reader-text"},ve("Color value in RGB")),Object(I.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(I.createElement)(ds,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(I.createElement)(ds,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(I.createElement)(ds,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(I.createElement)(ds,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"screen-reader-text"},ve("Color value in HSL")),Object(I.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(I.createElement)(ds,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(I.createElement)(ds,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(I.createElement)(ds,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(I.createElement)(ds,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(I.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(I.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(I.createElement)(fs,{icon:"arrow-down-alt2",label:ve("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(I.Component),ps=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).throttle=Object(N.throttle)((function(e,t,n){e(t,n)}),50),n.container=Object(I.createRef)(),n.saturate=n.saturate.bind(xe(n)),n.brighten=n.brighten.bind(xe(n)),n.handleChange=n.handleChange.bind(xe(n)),n.handleMouseDown=n.handleMouseDown.bind(xe(n)),n.handleMouseUp=n.handleMouseUp.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?N.noop:r,i=Object(N.clamp)(n.s+Math.round(100*e),0,100),a={h:n.h,s:i,v:n.v,a:n.a,source:"rgb"};o(a)}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?N.noop:r,i=Object(N.clamp)(n.v+Math.round(100*e),0,100),a={h:n.h,s:n.s,v:i,a:n.a,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?N.noop:t,r=function(e,t,n){var r=ns(e,n),o=r.top,i=r.left,a=r.width,s=r.height,c=i<0?0:100*i/a,l=o>=s?0:-100*o/s+100;return l<1&&(l=0),{h:t.hsl.h,s:c,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){9!==e.keyCode&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,r=t.hsl,o=t.instanceId,i={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},a={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(I.createElement)(as,{shortcuts:a},Object(I.createElement)("div",{style:{background:"hsl(".concat(r.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(I.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(I.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(I.createElement)("button",{"aria-label":ve("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(o),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(I.createElement)("div",{className:"screen-reader-text",id:"color-picker-saturation-".concat(o)},ve("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(I.Component),vs=Object(N.flowRight)(Yn,Gn)(ps),ms=function(e){return String(e).toLowerCase()},bs=function(e){return e.hex?rs(e.hex):(t=e,n=0,r=0,Object(N.each)(["r","g","b","a","h","s","l","v"],(function(e){t[e]&&(n+=1,isNaN(t[e])||(r+=1))})),n===r&&t);var t,n,r},gs=function(e,t){var n=t.source,r=t.valueKey,o=t.value;return"hex"===n?x({source:n},n,o):D({source:n},D({},e[n],x({},r,o)))},ys=function(e){function t(e){var n,r=e.color,o=void 0===r?"0071a1":r;Ee(this,t),n=De(this,Me(t).apply(this,arguments));var i=ts(o);return n.state=D({},i,{draftHex:ms(i.hex),draftRgb:i.rgb,draftHsl:i.hsl}),n.commitValues=n.commitValues.bind(xe(n)),n.setDraftValues=n.setDraftValues.bind(xe(n)),n.resetDraftValues=n.resetDraftValues.bind(xe(n)),n.handleInputChange=n.handleInputChange.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"commitValues",value:function(e){var t=this.props,n=t.oldHue,r=t.onChangeComplete,o=void 0===r?N.noop:r;if(bs(e)){var i=ts(e,e.h||n);this.setState(D({},i,{draftHex:ms(i.hex),draftHsl:i.hsl,draftRgb:i.rgb}),Object(N.debounce)(Object(N.partial)(o,i),100))}}},{key:"resetDraftValues",value:function(){this.setState({draftHex:this.state.hex,draftHsl:this.state.hsl,draftRgb:this.state.rgb})}},{key:"setDraftValues",value:function(e){switch(e.source){case"hex":this.setState({draftHex:ms(e.hex)});break;case"rgb":this.setState({draftRgb:e});break;case"hsl":this.setState({draftHsl:e})}}},{key:"handleInputChange",value:function(e){switch(e.state){case"reset":this.resetDraftValues();break;case"commit":var t=gs(this.state,e);(function(e){return"hex"===e.source&&!e.hex||(!("hsl"!==e.source||e.h&&e.s&&e.l)||!("rgb"!==e.source||e.r&&e.g&&e.b||e.h&&e.s&&e.v&&e.a||e.h&&e.s&&e.l&&e.a))})(t)||this.commitValues(t);break;case"draft":this.setDraftValues(gs(this.state,e))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,r=this.state,o=r.color,i=r.hsl,a=r.hsv,s=r.rgb,c=r.draftHex,l=r.draftHsl,u=r.draftRgb,d=In()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(I.createElement)("div",{className:d},Object(I.createElement)("div",{className:"components-color-picker__saturation"},Object(I.createElement)(vs,{hsl:i,hsv:a,onChange:this.commitValues})),Object(I.createElement)("div",{className:"components-color-picker__body"},Object(I.createElement)("div",{className:"components-color-picker__controls"},Object(I.createElement)("div",{className:"components-color-picker__swatch"},Object(I.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:o&&o.toRgbString()}})),Object(I.createElement)("div",{className:"components-color-picker__toggles"},Object(I.createElement)(ls,{hsl:i,onChange:this.commitValues}),n?null:Object(I.createElement)(ss,{rgb:s,hsl:i,onChange:this.commitValues}))),Object(I.createElement)(hs,{rgb:u,hsl:l,hex:c,onChange:this.handleInputChange,disableAlpha:n})))}}]),t}(I.Component);n(167);var ks=n(6),_s=n.n(ks),ws=n(134),Os=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,r=t.onChange,o=n?_s()(n):_s()(),i={hours:o.hours(),minutes:o.minutes(),seconds:0};r(e.set(i).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?_s()(e):_s()()}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,r=this.getMomentDate(t);return Object(I.createElement)("div",{className:"components-datetime__date"},Object(I.createElement)(ws.DayPickerSingleDateController,{date:r,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(r?r.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:"rtl"===document.documentElement.dir,isOutsideRange:function(e){return n&&n(e.toDate())}}))}}]),t}(I.Component),Ss=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.changeDate=e.changeDate.bind(xe(e)),e.updateMonth=e.updateMonth.bind(xe(e)),e.onChangeMonth=e.onChangeMonth.bind(xe(e)),e.updateDay=e.updateDay.bind(xe(e)),e.onChangeDay=e.onChangeDay.bind(xe(e)),e.updateYear=e.updateYear.bind(xe(e)),e.onChangeYear=e.onChangeYear.bind(xe(e)),e.updateHours=e.updateHours.bind(xe(e)),e.updateMinutes=e.updateMinutes.bind(xe(e)),e.onChangeHours=e.onChangeHours.bind(xe(e)),e.onChangeMinutes=e.onChangeMinutes.bind(xe(e)),e.renderMonth=e.renderMonth.bind(xe(e)),e.renderDay=e.renderDay.bind(xe(e)),e.renderDayMonthFormat=e.renderDayMonthFormat.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,r=t.is12Hour;n===e.currentTime&&r===e.is12Hour||this.syncState(this.props)}},{key:"changeDate",value:function(e){var t=e.clone().startOf("minute");this.setState({date:t}),this.props.onChange(e.format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,r=t?_s()(t):_s()(),o=r.format("DD"),i=r.format("MM"),a=r.format("YYYY"),s=r.format("mm"),c=r.format("A"),l=r.format(n?"hh":"HH"),u=t?_s()(t):_s()();this.setState({day:o,month:i,year:a,minutes:s,hours:l,am:c,date:u})}},{key:"updateHours",value:function(){var e=this.props.is12Hour,t=this.state,n=t.am,r=t.hours,o=t.date,i=parseInt(r,10);if(!Object(N.isInteger)(i)||e&&(i<1||i>12)||!e&&(i<0||i>23))this.syncState(this.props);else{var a=e?o.clone().hours("AM"===n?i%12:(i%12+12)%24):o.clone().hours(i);this.changeDate(a)}}},{key:"updateMinutes",value:function(){var e=this.state,t=e.minutes,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var o=n.clone().minutes(r);this.changeDate(o)}}},{key:"updateDay",value:function(){var e=this.state,t=e.day,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var o=n.clone().date(r);this.changeDate(o)}}},{key:"updateMonth",value:function(){var e=this.state,t=e.month,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var o=n.clone().month(r-1);this.changeDate(o)}}},{key:"updateYear",value:function(){var e=this.state,t=e.year,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<0||r>9999)this.syncState(this.props);else{var o=n.clone().year(r);this.changeDate(o)}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,r=t.state,o=r.am,i=r.date,a=r.hours;o!==e&&(n="PM"===e?i.clone().hours((parseInt(a,10)%12+12)%24):i.clone().hours(parseInt(a,10)%12),t.changeDate(n))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){var t=e.target.value;this.setState({minutes:""===t?"":("0"+t).slice(-2)})}},{key:"renderMonth",value:function(e){return Object(I.createElement)("div",{key:"render-month",className:"components-datetime__time-field components-datetime__time-field-month"},Object(I.createElement)("select",{"aria-label":ve("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(I.createElement)("option",{value:"01"},ve("January")),Object(I.createElement)("option",{value:"02"},ve("February")),Object(I.createElement)("option",{value:"03"},ve("March")),Object(I.createElement)("option",{value:"04"},ve("April")),Object(I.createElement)("option",{value:"05"},ve("May")),Object(I.createElement)("option",{value:"06"},ve("June")),Object(I.createElement)("option",{value:"07"},ve("July")),Object(I.createElement)("option",{value:"08"},ve("August")),Object(I.createElement)("option",{value:"09"},ve("September")),Object(I.createElement)("option",{value:"10"},ve("October")),Object(I.createElement)("option",{value:"11"},ve("November")),Object(I.createElement)("option",{value:"12"},ve("December"))))}},{key:"renderDay",value:function(e){return Object(I.createElement)("div",{key:"render-day",className:"components-datetime__time-field components-datetime__time-field-day"},Object(I.createElement)("input",{"aria-label":ve("Day"),className:"components-datetime__time-field-day-input",type:"number",value:e,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay}))}},{key:"renderDayMonthFormat",value:function(e){var t=this.state,n=t.day,r=t.month,o=[this.renderDay(n),this.renderMonth(r)];return e?o:o.reverse()}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.year,r=t.minutes,o=t.hours,i=t.am;return Object(I.createElement)("div",{className:In()("components-datetime__time")},Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"components-datetime__time-legend invisible"},ve("Date")),Object(I.createElement)("div",{className:"components-datetime__time-wrapper"},this.renderDayMonthFormat(e),Object(I.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(I.createElement)("input",{"aria-label":ve("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:n,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"components-datetime__time-legend invisible"},ve("Time")),Object(I.createElement)("div",{className:"components-datetime__time-wrapper"},Object(I.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(I.createElement)("input",{"aria-label":ve("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:o,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(I.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(I.createElement)("input",{"aria-label":ve("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:r,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(I.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(I.createElement)(na,{"aria-pressed":"AM"===i,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===i,onClick:this.updateAmPm("AM")},ve("AM")),Object(I.createElement)(na,{"aria-pressed":"PM"===i,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===i,onClick:this.updateAmPm("PM")},ve("PM"))))))}}]),t}(I.Component),Es=(I.Component,Object(I.createContext)(!1)),Cs=Es.Consumer,Ts=Es.Provider,xs=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],Ds=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindNode=e.bindNode.bind(xe(e)),e.disable=e.disable.bind(xe(e)),e.debouncedDisable=Object(N.debounce)(e.disable,{leading:!0}),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){Ji.focusable.find(this.node).forEach((function(e){Object(N.includes)(xs,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))}},{key:"render",value:function(){var e=this.props,t=e.className,n=j(e,["className"]);return Object(I.createElement)(Ts,{value:!0},Object(I.createElement)("div",Le({ref:this.bindNode,className:In()(t,"components-disabled")},n),this.props.children))}}]),t}(I.Component);Ds.Consumer=Cs;var Ms=Ds,js=Zn(function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(xe(e)),e.onDragOver=e.onDragOver.bind(xe(e)),e.onDragEnd=e.onDragEnd.bind(xe(e)),e.resetDragState=e.resetDragState.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?N.noop:t;e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,r=t.transferData,o=t.onDragStart,i=void 0===o?N.noop:o,a=document.getElementById(n);if(a){if("function"==typeof e.dataTransfer.setDragImage){var s=document.createElement("div");s.id="drag-image-".concat(n),s.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(s),e.dataTransfer.setDragImage(s,0,0),this.props.setTimeout((function(){document.body.removeChild(s)}))}e.dataTransfer.setData("text",JSON.stringify(r));var c=a.getBoundingClientRect(),l=a.parentNode,u=parseInt(c.top,10),d=parseInt(c.left,10),f=a.cloneNode(!0);f.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(c.width+40,"px"),c.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(d-20,"px")),ft(f.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),this.cloneWrapper.appendChild(f),l.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),this.props.setTimeout(i)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(I.Component)),Is=Object(I.createContext)({addDropZone:function(){},removeDropZone:function(){}}),Ps=Is.Provider,Ns=Is.Consumer,Rs=function(e){var t=e.dataTransfer;if(t){if(Object(N.includes)(t.types,"Files"))return"file";if(Object(N.includes)(t.types,"text/html"))return"html"}return"default"},Ls=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},As=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(xe(e)),e.onDrop=e.onDrop.bind(xe(e)),e.addDropZone=e.addDropZone.bind(xe(e)),e.removeDropZone=e.removeDropZone.bind(xe(e)),e.resetDragState=e.resetDragState.bind(xe(e)),e.toggleDraggingOverDocument=Object(N.throttle)(e.toggleDraggingOverDocument.bind(xe(e)),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,position:null},e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(N.filter)(this.dropZones,(function(t){return t!==e}))}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,position:null}),this.dropZones.forEach((function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})})))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,r=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,o=Object(N.filter)(this.dropZones,(function(e){return Ls(t,e)&&function(e,t,n){var r=e.getBoundingClientRect();return r.bottom!==r.top&&r.left!==r.right&&(t>=r.left&&t<=r.right&&n>=r.top&&n<=r.bottom)}(e.element,r.clientX,r.clientY)})),i=Object(N.find)(o,(function(e){return!Object(N.some)(o,(function(t){return t!==e&&e.element.parentElement.contains(t.element)}))})),a=this.dropZones.indexOf(i),s=null;if(i){var c=i.element.getBoundingClientRect();s={x:r.clientX-c.left<c.right-r.clientX?"left":"right",y:r.clientY-c.top<c.bottom-r.clientY?"top":"bottom"}}var l=[];this.state.isDraggingOverDocument?a!==this.state.hoveredDropZone?(-1!==this.state.hoveredDropZone&&l.push(this.dropZones[this.state.hoveredDropZone]),i&&l.push(i)):i&&a===this.state.hoveredDropZone&&!Object(N.isEqual)(s,this.state.position)&&l.push(i):l=this.dropZones,l.forEach((function(e){var r=n.dropZones.indexOf(e)===a;e.setState({isDraggingOverDocument:Ls(t,e),isDraggingOverElement:r,position:r?s:null,type:r?t:null})}));var u={isDraggingOverDocument:!0,hoveredDropZone:a,position:s};Kn()(u,this.state)||this.setState(u)}},{key:"onDragOver",value:function(e){this.toggleDraggingOverDocument(e,Rs(e)),e.preventDefault()}},{key:"onDrop",value:function(e){e.dataTransfer&&e.dataTransfer.files.length;var t=this.state,n=t.position,r=t.hoveredDropZone,o=Rs(e),i=this.dropZones[r];if(this.resetDragState(),i)switch(o){case"file":i.onFilesDrop(ft(e.dataTransfer.files),n);break;case"html":i.onHTMLDrop(e.dataTransfer.getData("text/html"),n);break;case"default":i.onDrop(e,n)}e.stopPropagation(),e.preventDefault()}},{key:"render",value:function(){return Object(I.createElement)("div",{onDrop:this.onDrop,className:"components-drop-zone__provider"},Object(I.createElement)(Ps,{value:this.dropZoneCallbacks},this.props.children))}}]),t}(I.Component),zs=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).dropZoneElement=Object(I.createRef)(),e.dropZone={element:null,onDrop:e.props.onDrop,onFilesDrop:e.props.onFilesDrop,onHTMLDrop:e.props.onHTMLDrop,setState:e.setState.bind(xe(e))},e.state={isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null},e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.dropZone.element=this.dropZoneElement.current,this.props.addDropZone(this.dropZone)}},{key:"componentWillUnmount",value:function(){this.props.removeDropZone(this.dropZone)}},{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.label,o=this.state,i=o.isDraggingOverDocument,a=o.isDraggingOverElement,s=o.position,c=o.type,l=In()("components-drop-zone",n,x({"is-active":i||a,"is-dragging-over-document":i,"is-dragging-over-element":a,"is-close-to-top":s&&"top"===s.y,"is-close-to-bottom":s&&"bottom"===s.y,"is-close-to-left":s&&"left"===s.x,"is-close-to-right":s&&"right"===s.x},"is-dragging-".concat(c),!!c));return a&&(e=Object(I.createElement)("div",{className:"components-drop-zone__content"},Object(I.createElement)(ga,{icon:"upload",size:"40",className:"components-drop-zone__content-icon"}),Object(I.createElement)("span",{className:"components-drop-zone__content-text"},r||ve("Drop files to upload")))),Object(I.createElement)("div",{ref:this.dropZoneElement,className:l},e)}}]),t}(I.Component),Fs=function(e){return Object(I.createElement)(Ns,null,(function(t){var n=t.addDropZone,r=t.removeDropZone;return Object(I.createElement)(zs,Le({addDropZone:n,removeDropZone:r},e))}))};var Hs=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(xe(e)),e.bindContainer=e.bindContainer.bind(xe(e)),e.getFocusableContext=e.getFocusableContext.bind(xe(e)),e.getFocusableIndex=e.getFocusableIndex.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(N.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?Ji.tabbable:Ji.focusable).find(this.container),n=this.getFocusableIndex(t,e);return n>-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,o=void 0===r||r,i=n.eventToOffset,a=n.onNavigate,s=void 0===a?N.noop:a,c=n.stopNavigationEvents,l=i(e);if(void 0!==l&&c&&(e.nativeEvent.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault(),e.stopPropagation()),l){var u=t(document.activeElement);if(u){var d=u.index,f=u.focusables,h=o?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(d,f.length,l):d+l;h>=0&&h<f.length&&(f[h].focus(),s(h,f[h]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=j(e,["children"]);return Object(I.createElement)("div",Le({ref:this.bindContainer},Object(N.omit)(n,["stopNavigationEvents","eventToOffset","onNavigate","cycle","onlyBrowserTabstops","forwardedRef"]),{onKeyDown:this.onKeyDown,onFocus:this.onFocus}),t)}}]),t}(I.Component),Vs=function(e,t){return Object(I.createElement)(Hs,Le({},e,{forwardedRef:t}))};Vs.displayName="NavigableContainer";var Bs=Object(I.forwardRef)(Vs);var Us=Object(I.forwardRef)((function(e,t){var n=e.role,r=void 0===n?"menu":n,o=e.orientation,i=void 0===o?"vertical":o,a=j(e,["role","orientation"]);return Object(I.createElement)(Bs,Le({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:r,"aria-orientation":"presentation"===r?null:i,eventToOffset:function(e){var t=e.keyCode,n=[40],r=[38];return"horizontal"===i&&(n=[39],r=[37]),"both"===i&&(n=[39,40],r=[37,38]),Object(N.includes)(n,t)?1:Object(N.includes)(r,t)?-1:void 0}},a))}));Object(I.forwardRef)((function(e,t){var n=e.eventToOffset,r=j(e,["eventToOffset"]);return Object(I.createElement)(Bs,Le({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:function(e){var t=e.keyCode,r=e.shiftKey;return 9===t?r?-1:1:n?n(e):void 0}},r))}));var Ws=function(e){var t,n=e.children,r=e.className,o=e.controls,i=e.icon,a=void 0===i?"menu":i,s=e.label,c=e.menuLabel,l=e.position,u=e.__unstableLabelPosition,d=e.__unstableMenuClassName,f=e.__unstablePopoverClassName,h=e.__unstableToggleClassName;return Object(N.isEmpty)(o)&&!Object(N.isFunction)(n)?null:(Object(N.isEmpty)(o)||(t=o,Array.isArray(t[0])||(t=[t])),Object(I.createElement)(Qa,{className:In()("components-dropdown-menu",r),contentClassName:In()("components-dropdown-menu__popover",f),position:l,renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(ya,{className:In()("components-dropdown-menu__toggle",h,{"is-opened":t}),icon:a,onClick:n,onKeyDown:function(e){t||40!==e.keyCode||(e.preventDefault(),e.stopPropagation(),n())},"aria-haspopup":"true","aria-expanded":t,label:s,labelPosition:u,tooltip:s},!a&&Object(I.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(e){return Object(I.createElement)(Us,{className:In()("components-dropdown-menu__menu",d),role:"menu","aria-label":c||s},Object(N.isFunction)(n)?n(e):null,Object(N.flatMap)(t,(function(t,n){return t.map((function(t,r){return Object(I.createElement)(ya,{key:[n,r].join(),onClick:function(n){n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:In()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive}),icon:t.icon,role:"menuitem",disabled:t.isDisabled},t.title)}))})))}}))};Object(I.forwardRef)((function(e,t){var n=e.href,r=e.children,o=e.className,i=e.rel,a=void 0===i?"":i,s=j(e,["href","children","className","rel"]);a=Object(N.uniq)(Object(N.compact)([].concat(ft(a.split(" ")),["external","noreferrer","noopener"]))).join(" ");var c=In()("components-external-link",o);return(Object(I.createElement)("a",Le({},s,{className:c,href:n,target:"_blank",rel:a,ref:t}),r,Object(I.createElement)("span",{className:"screen-reader-text"},ve("(opens in a new tab)")),Object(I.createElement)(ga,{icon:"external",className:"components-external-link__icon"})))}));var Ks=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).onMouseMove=n.onMouseMove.bind(xe(n)),n.state={isDragging:!1,bounds:{},percentages:e.value},n.containerRef=Object(I.createRef)(),n.imageRef=Object(I.createRef)(),n.horizontalPositionChanged=n.horizontalPositionChanged.bind(xe(n)),n.verticalPositionChanged=n.verticalPositionChanged.bind(xe(n)),n.onLoad=n.onLoad.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1})}},{key:"calculateBounds",value:function(){var e={top:0,left:0,bottom:0,right:0,width:0,height:0};if(!this.imageRef.current)return e;var t=this.imageRef.current.clientWidth,n=this.imageRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,i=r.height/n;return i>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*i,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}},{key:"onLoad",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,r=t.bounds,o=this.props.onChange;if(n){var i=this.pickerDimensions(),a={left:e.pageX-i.left,top:e.pageY-i.top},s=Math.max(r.left,Math.min(a.left,r.right)),c=Math.max(r.top,Math.min(a.top,r.bottom)),l={x:(s-r.left)/(i.width-2*r.left),y:(c-r.top)/(i.height-2*r.top)};this.setState({percentages:l},(function(){o({x:this.state.percentages.x,y:this.state.percentages.y})}))}}},{key:"fractionToPercentage",value:function(e){return Math.round(100*e)}},{key:"horizontalPositionChanged",value:function(e){this.positionChangeFromTextControl("x",e.target.value)}},{key:"verticalPositionChanged",value:function(e){this.positionChangeFromTextControl("y",e.target.value)}},{key:"positionChangeFromTextControl",value:function(e,t){var n=this.props.onChange,r=this.state.percentages,o=Math.max(Math.min(parseInt(t),100),0);r[e]=o?o/100:0,this.setState({percentages:r},(function(){n({x:this.state.percentages.x,y:this.state.percentages.y})}))}},{key:"pickerDimensions",value:function(){return this.containerRef.current?{width:this.containerRef.current.clientWidth,height:this.containerRef.current.clientHeight,top:this.containerRef.current.getBoundingClientRect().top+document.body.scrollTop,left:this.containerRef.current.getBoundingClientRect().left}:{width:0,height:0,left:0,top:0}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.url,o=t.value,i=t.label,a=t.help,s=t.className,c=this.state,l=c.bounds,u=c.isDragging,d=c.percentages,f=this.pickerDimensions(),h={left:o.x*(f.width-2*l.left)+l.left,top:o.y*(f.height-2*l.top)+l.top},p={left:"".concat(h.left,"px"),top:"".concat(h.top,"px")},v=In()("components-focal-point-picker__icon_container",u?"is-dragging":null),m="inspector-focal-point-picker-control-".concat(n),b="inspector-focal-point-picker-control-horizontal-position-".concat(n),g="inspector-focal-point-picker-control-vertical-position-".concat(n);return Object(I.createElement)(qa,{label:i,id:m,help:a,className:s},Object(I.createElement)("div",{className:"components-focal-point-picker-wrapper"},Object(I.createElement)("div",{className:"components-focal-point-picker",onMouseDown:function(){return e.setState({isDragging:!0})},onDragStart:function(){return e.setState({isDragging:!0})},onMouseUp:function(){return e.setState({isDragging:!1})},onDrop:function(){return e.setState({isDragging:!1})},onMouseMove:this.onMouseMove,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(I.createElement)("img",{alt:"Dimensions helper",onLoad:this.onLoad,ref:this.imageRef,src:r,draggable:"false"}),Object(I.createElement)("div",{className:v,style:p},Object(I.createElement)(Mn,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(I.createElement)(xn,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(I.createElement)(xn,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"}))))),Object(I.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(I.createElement)(qa,{label:ve("Horizontal Pos."),id:b},Object(I.createElement)("input",{className:"components-text-control__input",id:b,max:100,min:0,onChange:this.horizontalPositionChanged,type:"number",value:this.fractionToPercentage(d.x)}),Object(I.createElement)("span",null,"%")),Object(I.createElement)(qa,{label:ve("Vertical Pos."),id:g},Object(I.createElement)("input",{className:"components-text-control__input",id:g,max:100,min:0,onChange:this.verticalPositionChanged,type:"number",value:this.fractionToPercentage(d.y)}),Object(I.createElement)("span",null,"%"))))}}]),t}(I.Component);Ks.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};Object(N.flowRight)([Gn,ta])(Ks);var Ys=window.FocusEvent,$s=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(xe(n)),n.node=e.iframeRef||Object(I.createRef)(),n}return Ie(t,e),Te(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new Ys("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(I.createElement)("iframe",Le({ref:this.node},Object(N.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(I.Component),qs=qn({blur:"checkFocus"})($s);var Gs=Object(N.flowRight)([Gn,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Un((function(t){return function(n){function r(){var t;return Ee(this,r),(t=De(this,Me(r).apply(this,arguments))).setState=t.setState.bind(xe(t)),t.state=e,t}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(t,Le({},this.props,this.state,{setState:this.setState}))}}]),r}(I.Component)}),"withState")}({currentInput:null})])((function(e){var t=e.className,n=e.currentInput,r=e.label,o=e.value,i=e.instanceId,a=e.onChange,s=e.beforeIcon,c=e.afterIcon,l=e.help,u=e.allowReset,d=e.initialPosition,f=e.min,h=e.max,p=e.setState,v=j(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),m="inspector-range-control-".concat(i),b=null===n?o:n,g=function(){null!==n&&p({currentInput:null})},y=function(e){var t=e.target.value;e.target.checkValidity()?(g(),a(""===t?void 0:parseFloat(t))):p({currentInput:t})},k=Object(N.isFinite)(b)?b:d||"";return Object(I.createElement)(qa,{label:r,id:m,help:l,className:In()("components-range-control",t)},s&&Object(I.createElement)(ga,{icon:s}),Object(I.createElement)("input",Le({className:"components-range-control__slider",id:m,type:"range",value:k,onChange:y,"aria-describedby":l?m+"__help":void 0,min:f,max:h},v)),c&&Object(I.createElement)(ga,{icon:c}),Object(I.createElement)("input",Le({className:"components-range-control__number",type:"number",onChange:y,"aria-label":r,value:b,min:f,max:h,onBlur:g},v)),u&&Object(I.createElement)(na,{onClick:function(){g(),a()},disabled:void 0===o,isSmall:!0,isDefault:!0,className:"components-range-control__reset"},ve("Reset")))}));var Zs=function(e){var t=e.fallbackFontSize,n=e.fontSizes,r=void 0===n?[]:n,o=e.disableCustomFontSizes,i=void 0!==o&&o,a=e.onChange,s=e.value,c=e.withSlider,l=void 0!==c&&c;if(i&&!r.length)return null;var u=r.find((function(e){return e.size===s})),d=u&&u.name||!s&&be("Normal","font size name")||be("Custom","font size name");return Object(I.createElement)(qa,null,Object(I.createElement)(qa.VisualLabel,null,ve("Font Size")),Object(I.createElement)("div",{className:"components-font-size-picker__buttons"},r.length>0&&Object(I.createElement)(Qa,{className:"components-font-size-picker__dropdown",contentClassName:"components-font-size-picker__dropdown-content",position:"bottom",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(na,{className:"components-font-size-picker__selector",isLarge:!0,onClick:n,"aria-expanded":t,"aria-label":ve("Font size: %s")},d)},renderContent:function(){return Object(I.createElement)(Us,null,Object(N.map)(r,(function(e){var t=e.name,n=e.size,r=e.slug,o=s===n||!s&&"normal"===r;return Object(I.createElement)(na,{key:r,onClick:function(){return a("normal"===r?void 0:n)},className:"is-font-".concat(r),role:"menuitemradio","aria-checked":o},o&&Object(I.createElement)(ga,{icon:"saved"}),Object(I.createElement)("span",{className:"components-font-size-picker__dropdown-text-size",style:{fontSize:n}},t))})))}}),!l&&!i&&Object(I.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;a(""!==t?Number(t):void 0)},"aria-label":ve("Custom font size"),value:s||""}),Object(I.createElement)(na,{className:"components-color-palette__clear",type:"button",disabled:void 0===s,onClick:function(){return a(void 0)},isSmall:!0,isDefault:!0},ve("Reset"))),l&&Object(I.createElement)(Gs,{className:"components-font-size-picker__custom-input",label:ve("Custom Size"),value:s||"",initialPosition:t,onChange:a,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))},Xs=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(xe(e)),e.bindInput=e.bindInput.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.children,r=e.icon,o=void 0===r?"upload":r,i=e.multiple,a=void 0!==i&&i,s=e.onChange,c=e.render,l=j(e,["accept","children","icon","multiple","onChange","render"]),u=c?c({openFileDialog:this.openFileDialog}):Object(I.createElement)(ya,Le({icon:o,onClick:this.openFileDialog},l),n);return Object(I.createElement)("div",{className:"components-form-file-upload"},u,Object(I.createElement)("input",{type:"file",ref:this.bindInput,multiple:a,style:{display:"none"},accept:t,onChange:s}))}}]),t}(I.Component);var Qs=function(e){var t=e.className,n=e.checked,r=e.id,o=e.onChange,i=void 0===o?N.noop:o,a=j(e,["className","checked","id","onChange"]),s=In()("components-form-toggle",t,{"is-checked":n});return Object(I.createElement)("span",{className:s},Object(I.createElement)("input",Le({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:i},a)),Object(I.createElement)("span",{className:"components-form-toggle__track"}),Object(I.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(I.createElement)(Mn,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(I.createElement)(xn,{d:"M0 0h2v6H0z"})):Object(I.createElement)(Mn,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(I.createElement)(xn,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))};var Js=Gn((function(e){var t=e.value,n=e.status,r=e.title,o=e.displayTransform,i=e.isBorderless,a=void 0!==i&&i,s=e.disabled,c=void 0!==s&&s,l=e.onClickRemove,u=void 0===l?N.noop:l,d=e.onMouseEnter,f=e.onMouseLeave,h=e.messages,p=(e.termPosition,e.termsCount,e.instanceId),v=In()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":a,"is-disabled":c}),m=o(t),b=ve("%1$s (%2$s of %3$s)");return Object(I.createElement)("span",{className:v,onMouseEnter:d,onMouseLeave:f,title:r},Object(I.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(p)},Object(I.createElement)("span",{className:"screen-reader-text"},b),Object(I.createElement)("span",{"aria-hidden":"true"},m)),Object(I.createElement)(ya,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!c&&function(){return u({value:t})},label:h.remove,"aria-describedby":"components-form-token-field__token-text-".concat(p)}))})),ec=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onChange=e.onChange.bind(xe(e)),e.bindInput=e.bindInput.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,r=e.instanceId,o=e.selectedSuggestionIndex,i=j(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),a=t.length+1;return Object(I.createElement)("input",Le({ref:this.bindInput,id:"components-form-token-input-".concat(r),type:"text"},i,{value:t,onChange:this.onChange,size:a,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(r):void 0,"aria-activedescendant":-1!==o?"components-form-token-suggestions-".concat(r,"-").concat(o):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(r)}))}}]),t}(I.Component),tc=n(22),nc=n.n(tc),rc=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(xe(e)),e.bindList=e.bindList.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,nc()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(I.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(N.map)(this.props.suggestions,(function(t,n){var r=e.computeSuggestionMatch(t),o=In()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(I.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:o,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},r?Object(I.createElement)("span",{"aria-label":e.props.displayTransform(t)},r.suggestionBeforeMatch,Object(I.createElement)("strong",{className:"components-form-token-field__suggestion-match"},r.suggestionMatch),r.suggestionAfterMatch):e.props.displayTransform(t))})))}}]),t}(I.Component);rc.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var oc=Zn(rc),ic={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},ac=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state=ic,e.onKeyDown=e.onKeyDown.bind(xe(e)),e.onKeyPress=e.onKeyPress.bind(xe(e)),e.onFocus=e.onFocus.bind(xe(e)),e.onBlur=e.onBlur.bind(xe(e)),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(xe(e)),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(xe(e)),e.addCurrentToken=e.addCurrentToken.bind(xe(e)),e.onContainerTouched=e.onContainerTouched.bind(xe(e)),e.renderToken=e.renderToken.bind(xe(e)),e.onTokenClickRemove=e.onTokenClickRemove.bind(xe(e)),e.onSuggestionHovered=e.onSuggestionHovered.bind(xe(e)),e.onSuggestionSelected=e.onSuggestionSelected.bind(xe(e)),e.onInputChange=e.onInputChange.bind(xe(e)),e.bindInput=e.bindInput.bind(xe(e)),e.bindTokensAndInput=e.bindTokensAndInput.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(){this.state.isActive&&!this.input.hasFocus()&&this.input.focus()}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(ic)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case 8:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case 13:t=this.addCurrentToken();break;case 37:t=this.handleLeftArrowKey();break;case 38:t=this.handleUpArrowKey();break;case 39:t=this.handleRightArrowKey();break;case 40:t=this.handleDownArrowKey();break;case 46:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case 32:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case 27:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=Object(N.last)(r)||"",i=o.trim().length>1,a=this.getMatchingSuggestions(o),s=i&&!!a.length;r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.props.onInputChange(o),i&&(this.setState({isExpanded:s}),a.length?this.props.debouncedSpeak(ge(me("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",a.length),a.length),"assertive"):this.props.debouncedSpeak(ve("No results."),"assertive"))}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}})),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}})),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState((function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}}))}},{key:"moveInputBeforePreviousToken",value:function(){this.setState((function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}}))}},{key:"moveInputAfterNextToken",value:function(){this.setState((function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}}))}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e<this.props.value.length&&(this.deleteToken(this.props.value[e]),this.moveInputToIndex(e))}},{key:"addCurrentToken",value:function(){var e=!1,t=this.getSelectedSuggestion();return t?(this.addNewToken(t),e=!0):this.inputHasValidValue()&&(this.addNewToken(this.state.incompleteTokenValue),e=!0),e}},{key:"addNewTokens",value:function(e){var t=this,n=Object(N.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter((function(e){return!t.valueContainsToken(e)})));if(n.length>0){var r=Object(N.clone)(this.props.value);r.splice.apply(r,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(r)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter((function(n){return t.getTokenValue(n)!==t.getTokenValue(e)}));this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===F(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform,i=o(e),a=[],s=[];return 0===i.length?t=Object(N.difference)(t,n):(i=i.toLocaleLowerCase(),Object(N.each)(t,(function(e){var t=e.toLocaleLowerCase().indexOf(i);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&s.push(e))})),t=a.concat(s)),Object(N.take)(t,r)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(N.some)(this.props.value,(function(n){return t.getTokenValue(e)===t.getTokenValue(n)}))}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"renderTokensAndInput",value:function(){var e=Object(N.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var r=this.getTokenValue(e),o=e.status?e.status:void 0,i=t+1,a=n.length;return Object(I.createElement)(Js,{key:"token-"+r,value:r,status:o,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==o&&this.props.disabled,messages:this.props.messages,termsCount:a,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,r=e.maxLength,o=e.value,i={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return r&&o.length>=r||(i=D({},i,{onChange:this.onInputChange})),Object(I.createElement)(ec,i)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,r=void 0===n?ve("Add item"):n,o=e.instanceId,i=e.className,a=this.state.isExpanded,s=In()(i,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":t}),c={className:"components-form-token-field",tabIndex:"-1"},l=this.getMatchingSuggestions();return t||(c=Object.assign({},c,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(I.createElement)("div",c,Object(I.createElement)("label",{htmlFor:"components-form-token-input-".concat(o),className:"components-form-token-field__label"},r),Object(I.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),a&&Object(I.createElement)(oc,{instanceId:o,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:l,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),Object(I.createElement)("p",{id:"components-form-token-suggestions-howto-".concat(o),className:"components-form-token-field__help"},this.props.tokenizeOnSpace?ve("Separate with commas, spaces, or the Enter key."):ve("Separate with commas or the Enter key.")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(I.Component);ac.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:N.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:ve("Item added."),removed:ve("Item removed."),remove:ve("Remove item")}};Ba(Gn(ac));var sc=function(e){var t,n=e.icon,r=void 0===n?null:n,o=e.size,i=j(e,["icon","size"]);if("string"==typeof r)return t=o||20,Object(I.createElement)(ga,Le({icon:r,size:t},i));if(t=o||24,"function"==typeof r)return r.prototype instanceof I.Component?Object(I.createElement)(r,D({size:t},i)):r(D({size:t},i));if(r&&("svg"===r.type||r.type===Mn)){var a=D({width:t,height:t},r.props,i);return Object(I.createElement)(Mn,a)}return Object(I.isValidElement)(r)?Object(I.cloneElement)(r,D({size:t},i)):r};var cc=Gn((function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.instanceId,i=e.label;if(!I.Children.count(t))return null;var a="components-menu-group-label-".concat(o),s=In()(r,"components-menu-group");return Object(I.createElement)("div",{className:s},i&&Object(I.createElement)("div",{className:"components-menu-group__label",id:a,"aria-hidden":"true"},i),Object(I.createElement)("div",{role:"group","aria-labelledby":i?a:null},t))}));var lc=function(e){var t=e.children,n=e.info,r=e.className,o=e.icon,i=e.shortcut,a=e.isSelected,s=e.role,c=void 0===s?"menuitem":s,l=j(e,["children","info","className","icon","shortcut","isSelected","role"]);r=In()("components-menu-item__button",r,{"has-icon":o}),n&&(t=Object(I.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(I.createElement)("span",{className:"components-menu-item__info"},n)));var u=na;return o&&(Object(N.isString)(o)||(o=Object(I.cloneElement)(o,{className:"components-menu-items__item-icon",height:20,width:20})),u=ya,l.icon=o),Object(I.createElement)(u,D({"aria-checked":"menuitemcheckbox"===c||"menuitemradio"===c?a:void 0,role:c,className:r},l),t,Object(I.createElement)(ma,{className:"components-menu-item__shortcut",shortcut:i}))};var uc=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).containerRef=Object(I.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(xe(e)),e.handleClickOutside=e.handleClickOutside.bind(xe(e)),e.focusFirstTabbable=e.focusFirstTabbable.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=Ji.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleClickOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){27===e.keyCode&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.preventDefault(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.contentLabel,n=e.aria,r=n.describedby,o=n.labelledby,i=e.children,a=e.className,s=e.role,c=e.style;return Object(I.createElement)("div",{className:a,style:c,ref:this.containerRef,role:s,"aria-label":t,"aria-labelledby":t?null:o,"aria-describedby":r,tabIndex:"-1"},i)}}]),t}(I.Component),dc=Object(N.flowRight)([ua,da,ha.a,qn({keydown:"handleKeyDown"})])(uc),fc=function(e){var t=e.icon,n=e.title,r=e.onClose,o=e.closeLabel,i=e.headingId,a=e.isDismissable,s=o||ve("Close dialog");return Object(I.createElement)("div",{className:"components-modal__header"},Object(I.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(I.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(I.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),a&&Object(I.createElement)(ya,{onClick:r,icon:"no-alt",label:s}))},hc=new Set(["alert","status","log","marquee","timer"]),pc=[],vc=!1;function mc(e){if(!vc){var t=document.body.children;Object(N.forEach)(t,(function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||hc.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),pc.push(t))})),vc=!0}}var bc,gc=0,yc=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).prepareDOM(),n}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){1===++gc&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--gc&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){bc||(bc=document.createElement("div"),document.body.appendChild(bc)),this.node=document.createElement("div"),bc.appendChild(this.node)}},{key:"cleanDOM",value:function(){bc.removeChild(this.node)}},{key:"openFirstModal",value:function(){mc(bc),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),vc&&(Object(N.forEach)(pc,(function(e){e.removeAttribute("aria-hidden")})),pc=[],vc=!1)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.className,r=e.onRequestClose,o=e.title,i=e.icon,a=e.closeButtonLabel,s=e.children,c=e.aria,l=e.instanceId,u=e.isDismissable,d=j(e,["overlayClassName","className","onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),f=c.labelledby||"components-modal-header-".concat(l);return Object(L.createPortal)(Object(I.createElement)(_a,{className:In()("components-modal__screen-overlay",t)},Object(I.createElement)(dc,Le({className:In()("components-modal__frame",n),onRequestClose:r,aria:{labelledby:o?f:null,describedby:c.describedby}},d),Object(I.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(I.createElement)(fc,{closeLabel:a,headingId:f,icon:i,isDismissable:u,onClose:r,title:o}),s))),this.node)}}]),t}(I.Component);yc.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,onRequestClose:N.noop,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissable:!0,aria:{labelledby:null,describedby:null}};var kc=Gn(yc);var _c=function(e){var t=e.className,n=e.status,r=e.children,o=e.onRemove,i=void 0===o?N.noop:o,a=e.isDismissible,s=void 0===a||a,c=e.actions,l=void 0===c?[]:c,u=e.__unstableHTML,d=In()(t,"components-notice","is-"+n,{"is-dismissible":s});return u&&(r=Object(I.createElement)(K,null,r)),Object(I.createElement)("div",{className:d},Object(I.createElement)("div",{className:"components-notice__content"},r,l.map((function(e,t){var n=e.className,r=e.label,o=e.noDefaultClasses,i=void 0!==o&&o,a=e.onClick,s=e.url;return Object(I.createElement)(na,{key:t,href:s,isDefault:!i&&!s,isLink:!i&&!!s,onClick:s?void 0:a,className:In()("components-notice__action",n)},r)}))),s&&Object(I.createElement)(ya,{className:"components-notice__dismiss",icon:"no",label:ve("Dismiss this notice"),onClick:i,tooltip:!1}))};var wc=function(e){var t=e.notices,n=e.onRemove,r=void 0===n?N.noop:n,o=e.className,i=e.children;return o=In()("components-notice-list",o),Object(I.createElement)("div",{className:o},i,ft(t).reverse().map((function(e){return Object(I.createElement)(_c,Le({},Object(N.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return r(t)})}),e.content);var t})))};var Oc=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"toggle",value:function(e){e.preventDefault(),void 0===this.props.opened&&this.setState((function(e){return{opened:!e.opened}})),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.opened,o=e.className,i=e.icon,a=e.forwardedRef,s=void 0===r?this.state.opened:r,c=In()("components-panel__body",o,{"is-opened":s});return Object(I.createElement)("div",{className:c,ref:a},!!t&&Object(I.createElement)("h2",{className:"components-panel__body-title"},Object(I.createElement)(na,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":s},Object(I.createElement)("span",{"aria-hidden":"true"},s?Object(I.createElement)(Mn,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(I.createElement)(Tn,null,Object(I.createElement)(xn,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(I.createElement)(Tn,null,Object(I.createElement)(xn,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):Object(I.createElement)(Mn,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(I.createElement)(Tn,null,Object(I.createElement)(xn,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(I.createElement)(Tn,null,Object(I.createElement)(xn,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,i&&Object(I.createElement)(sc,{icon:i,className:"components-panel__icon",size:20}))),s&&n)}}]),t}(I.Component),Sc=function(e,t){return Object(I.createElement)(Oc,Le({},e,{forwardedRef:t}))};Sc.displayName="PanelBody";var Ec=Object(I.forwardRef)(Sc);var Cc=function(e){var t=e.icon,n=e.children,r=e.label,o=e.instructions,i=e.className,a=e.notices,s=e.preview,c=e.isColumnLayout,l=j(e,["icon","children","label","instructions","className","notices","preview","isColumnLayout"]),u=In()("components-placeholder",i),d=In()("components-placeholder__fieldset",{"is-column-layout":c});return Object(I.createElement)("div",Le({},l,{className:u}),a,s&&Object(I.createElement)("div",{className:"components-placeholder__preview"},s),Object(I.createElement)("div",{className:"components-placeholder__label"},Object(N.isString)(t)?Object(I.createElement)(ga,{icon:t}):t,r),!!o&&Object(I.createElement)("div",{className:"components-placeholder__instructions"},o),Object(I.createElement)("div",{className:d},n))};Gn((function(e){var t=e.label,n=e.className,r=e.selected,o=e.help,i=e.instanceId,a=e.onChange,s=e.options,c=void 0===s?[]:s,l="inspector-radio-control-".concat(i),u=function(e){return a(e.target.value)};return!Object(N.isEmpty)(c)&&Object(I.createElement)(qa,{label:t,id:l,help:o,className:In()(n,"components-radio-control")},c.map((function(e,t){return Object(I.createElement)("div",{key:"".concat(l,"-").concat(t),className:"components-radio-control__option"},Object(I.createElement)("input",{id:"".concat(l,"-").concat(t),className:"components-radio-control__input",type:"radio",name:l,value:e.value,onChange:u,checked:e.value===r,"aria-describedby":o?"".concat(l,"__help"):void 0}),Object(I.createElement)("label",{htmlFor:"".concat(l,"-").concat(t)},e.label))})))}));var Tc=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),xc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dc={base:{position:"absolute",userSelect:"none",MsUserSelect:"none"},top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},Mc=function(e){return Object(I.createElement)("div",{className:e.className,style:xc({},Dc.base,Dc[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}},e.children)},jc={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},Ic={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},Pc=function(e,t,n){return Math.max(Math.min(e,n),t)},Nc=function(e,t){return Math.round(e/t)*t},Rc=function(e,t){return t.reduce((function(t,n){return Math.abs(n-e)<Math.abs(t-e)?n:t}))},Lc=function(e,t){return e.substr(e.length-t.length,t.length)===t},Ac=function(e){return"auto"===e.toString()?e.toString():Lc(e.toString(),"px")?e.toString():Lc(e.toString(),"%")?e.toString():Lc(e.toString(),"vh")?e.toString():Lc(e.toString(),"vw")?e.toString():Lc(e.toString(),"vmax")?e.toString():Lc(e.toString(),"vmin")?e.toString():e+"px"},zc=["style","className","grid","snap","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio"],Fc=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isResizing:!1,resizeCursor:"auto",width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0}},n.updateExtendsProps(e),n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),"undefined"!=typeof window&&(window.addEventListener("mouseup",n.onMouseUp),window.addEventListener("mousemove",n.onMouseMove),window.addEventListener("mouseleave",n.onMouseUp),window.addEventListener("touchmove",n.onMouseMove),window.addEventListener("touchend",n.onMouseUp)),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Tc(t,[{key:"updateExtendsProps",value:function(e){this.extendsProps=Object.keys(e).reduce((function(t,n){return-1!==zc.indexOf(n)?t:(t[n]=e[n],t)}),{})}},{key:"getParentSize",value:function(){var e=this.base;if(!e)return{width:window.innerWidth,height:window.innerHeight};var t=!1,n=this.parentNode.style.flexWrap,r=e.style.minWidth;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var o={width:e.offsetWidth,height:e.offsetHeight};return e.style.position="absolute",t&&(this.parentNode.style.flexWrap=n),e.style.minWidth=r,o}},{key:"componentDidMount",value:function(){var e=this.size;this.setState({width:this.state.width||e.width,height:this.state.height||e.height});var t=this.parentNode;if(t instanceof HTMLElement&&!this.base){var n=document.createElement("div");n.style.width="100%",n.style.height="100%",n.style.position="absolute",n.style.transform="scale(0, 0)",n.style.left="0",n.style.flex="0",n.classList?n.classList.add("__resizable_base__"):n.className+="__resizable_base__",t.appendChild(n)}}},{key:"componentWillReceiveProps",value:function(e){this.updateExtendsProps(e)}},{key:"componentWillUnmount",value:function(){if("undefined"!=typeof window){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseleave",this.onMouseUp),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("touchend",this.onMouseUp);var e=this.parentNode,t=this.base;if(!t||!e)return;if(!(e instanceof HTMLElement&&t instanceof Node))return;e.removeChild(t)}}},{key:"calculateNewSize",value:function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"}},{key:"onResizeStart",value:function(e,t){var n=0,r=0;if(e.nativeEvent instanceof MouseEvent){if(n=e.nativeEvent.clientX,r=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent instanceof TouchEvent&&(n=e.nativeEvent.touches[0].clientX,r=e.nativeEvent.touches[0].clientY);this.props.onResizeStart&&this.props.onResizeStart(e,t,this.resizable),this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.setState({original:{x:n,y:r,width:this.size.width,height:this.size.height},isResizing:!0,resizeCursor:window.getComputedStyle(e.target).cursor,direction:t})}},{key:"onMouseMove",value:function(e){if(this.state.isResizing){var t=e instanceof MouseEvent?e.clientX:e.touches[0].clientX,n=e instanceof MouseEvent?e.clientY:e.touches[0].clientY,r=this.state,o=r.direction,i=r.original,a=r.width,s=r.height,c=this.props,l=c.lockAspectRatio,u=c.lockAspectRatioExtraHeight,d=c.lockAspectRatioExtraWidth,f=this.props.scale||1,h=this.props,p=h.maxWidth,v=h.maxHeight,m=h.minWidth,b=h.minHeight,g=this.props.resizeRatio||1,y=this.getParentSize();if(p&&"string"==typeof p&&Lc(p,"%")){var k=Number(p.replace("%",""))/100;p=y.width*k}if(v&&"string"==typeof v&&Lc(v,"%")){var _=Number(v.replace("%",""))/100;v=y.height*_}if(m&&"string"==typeof m&&Lc(m,"%")){var w=Number(m.replace("%",""))/100;m=y.width*w}if(b&&"string"==typeof b&&Lc(b,"%")){var O=Number(b.replace("%",""))/100;b=y.height*O}p=void 0===p?void 0:Number(p),v=void 0===v?void 0:Number(v),m=void 0===m?void 0:Number(m),b=void 0===b?void 0:Number(b);var S="number"==typeof l?l:i.width/i.height,E=i.width,C=i.height;if(/right/i.test(o)&&(E=i.width+(t-i.x)*g/f,l&&(C=(E-d)/S+u)),/left/i.test(o)&&(E=i.width-(t-i.x)*g/f,l&&(C=(E-d)/S+u)),/bottom/i.test(o)&&(C=i.height+(n-i.y)*g/f,l&&(E=(C-u)*S+d)),/top/i.test(o)&&(C=i.height-(n-i.y)*g/f,l&&(E=(C-u)*S+d)),"parent"===this.props.bounds){var T=this.parentNode;if(T instanceof HTMLElement){var x=T.getBoundingClientRect(),D=x.left,M=x.top,j=this.resizable.getBoundingClientRect(),I=j.left,P=j.top,N=T.offsetWidth+(D-I),R=T.offsetHeight+(M-P);p=p&&p<N?p:N,v=v&&v<R?v:R}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var L=this.resizable.getBoundingClientRect(),A=L.left,z=L.top,F=window.innerWidth-A,H=window.innerHeight-z;p=p&&p<F?p:F,v=v&&v<H?v:H}}else if(this.props.bounds instanceof HTMLElement){var V=this.props.bounds.getBoundingClientRect(),B=V.left,U=V.top,W=this.resizable.getBoundingClientRect(),K=W.left,Y=W.top;if(!(this.props.bounds instanceof HTMLElement))return;var $=this.props.bounds.offsetWidth+(B-K),q=this.props.bounds.offsetHeight+(U-Y);p=p&&p<$?p:$,v=v&&v<q?v:q}var G=void 0===m?10:m,Z=void 0===p||p<0?E:p,X=void 0===b?10:b,Q=void 0===v||v<0?C:v;if(l){var J=(X-u)*S+d,ee=(Q-u)*S+d,te=(G-d)/S+u,ne=(Z-d)/S+u,re=Math.max(G,J),oe=Math.min(Z,ee),ie=Math.max(X,te),ae=Math.min(Q,ne);E=Pc(E,re,oe),C=Pc(C,ie,ae)}else E=Pc(E,G,Z),C=Pc(C,X,Q);this.props.grid&&(E=Nc(E,this.props.grid[0])),this.props.grid&&(C=Nc(C,this.props.grid[1])),this.props.snap&&this.props.snap.x&&(E=Rc(E,this.props.snap.x)),this.props.snap&&this.props.snap.y&&(C=Rc(C,this.props.snap.y));var se={width:E-i.width,height:C-i.height};if(a&&"string"==typeof a&&Lc(a,"%"))E=E/y.width*100+"%";if(s&&"string"==typeof s&&Lc(s,"%"))C=C/y.height*100+"%";this.setState({width:this.calculateNewSize(E,"width"),height:this.calculateNewSize(C,"height")}),this.props.onResize&&this.props.onResize(e,o,this.resizable,se)}}},{key:"onMouseUp",value:function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n){var i={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,i),this.props.size&&this.setState(this.props.size),this.setState({isResizing:!1,resizeCursor:"auto"})}}},{key:"updateSize",value:function(e){this.setState({width:e.width,height:e.height})}},{key:"renderResizer",value:function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,o=t.handleClasses,i=t.handleWrapperStyle,a=t.handleWrapperClass,s=t.handleComponent;if(!n)return null;var c=Object.keys(n).map((function(t){return!1!==n[t]?Object(I.createElement)(Mc,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]},s&&s[t]?Object(I.createElement)(s[t]):null):null}));return Object(I.createElement)("span",{className:a,style:i},c)}},{key:"render",value:function(){var e=this,t=this.state.isResizing?jc:Ic;return Object(I.createElement)("div",xc({ref:function(t){t&&(e.resizable=t)},style:xc({position:"relative"},t,this.props.style,this.sizeStyle,{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box"}),className:this.props.className},this.extendsProps),this.state.isResizing&&Object(I.createElement)("div",{style:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:""+(this.state.resizeCursor||"auto"),opacity:"0",position:"fixed",zIndex:"9999",top:"0",left:"0",bottom:"0",right:"0"}}),this.props.children,this.renderResizer())}},{key:"parentNode",get:function(){return this.resizable.parentNode}},{key:"propsSize",get:function(){return this.props.size||this.props.defaultSize}},{key:"base",get:function(){var e=this.parentNode;if(e)for(var t=[].slice.call(e.children),n=0;n<t.length;n+=1){var r=t[n];if(r instanceof HTMLElement&&r.classList.contains("__resizable_base__"))return r}}},{key:"size",get:function(){var e=0,t=0;if("undefined"!=typeof window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,o=this.resizable.style.position;"relative"!==o&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=o}return{width:e,height:t}}},{key:"sizeStyle",get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&Lc(e.propsSize[t].toString(),"%")){if(Lc(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return Ac(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?Ac(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?Ac(t.height):n("height")}}}]),t}(I.Component);Fc.defaultProps={onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1};var Hc=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).trySandbox=e.trySandbox.bind(xe(e)),e.checkMessageForResize=e.checkMessageForResize.bind(xe(e)),e.iframe=Object(I.createRef)(),e.state={width:0,height:0},e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.trySandbox()}},{key:"componentDidUpdate",value:function(){this.trySandbox()}},{key:"isFrameAccessible",value:function(){try{return!!this.iframe.current.contentDocument.body}catch(e){return!1}}},{key:"checkMessageForResize",value:function(e){var t=this.iframe.current,n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(u){}if(t&&t.contentWindow===e.source){var r=n,o=r.action,i=r.width,a=r.height,s=this.state,c=s.width,l=s.height;"resize"!==o||c===i&&l===a||this.setState({width:i,height:a})}}},{key:"trySandbox",value:function(){if(this.isFrameAccessible()&&null===this.iframe.current.contentDocument.body.getAttribute("data-resizable-iframe-connected")){var e=Object(I.createElement)("html",{lang:document.documentElement.lang,className:this.props.type},Object(I.createElement)("head",null,Object(I.createElement)("title",null,this.props.title),Object(I.createElement)("style",{dangerouslySetInnerHTML:{__html:"\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody,\n\t\t\tbody > div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}}),this.props.styles&&this.props.styles.map((function(e,t){return Object(I.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})}))),Object(I.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(I.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(I.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map((function(e){return Object(I.createElement)("script",{key:e,src:e})})))),t=this.iframe.current.contentWindow.document;t.open(),t.write("<!DOCTYPE html>"+de(e)),t.close()}}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.onFocus;return Object(I.createElement)(qs,{iframeRef:this.iframe,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,onFocus:n,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(I.Component);Hc=qn({message:"checkMessageForResize"})(Hc);Gn((function(e){var t=e.help,n=e.instanceId,r=e.label,o=e.multiple,i=void 0!==o&&o,a=e.onChange,s=e.options,c=void 0===s?[]:s,l=e.className,u=j(e,["help","instanceId","label","multiple","onChange","options","className"]),d="inspector-select-control-".concat(n);return!Object(N.isEmpty)(c)&&Object(I.createElement)(qa,{label:r,id:d,help:t,className:l},Object(I.createElement)("select",Le({id:d,className:"components-select-control__input",onChange:function(e){if(i){var t=ft(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));a(t)}else a(e.target.value)},"aria-describedby":t?"".concat(d,"__help"):void 0,multiple:i},u),c.map((function(e,t){return Object(I.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)}))))}));Object(I.forwardRef)((function(e,t){var n=e.className,r=e.children,o=e.actions,i=void 0===o?[]:o,a=e.onRemove,s=void 0===a?N.noop:a;Object(I.useEffect)((function(){var e=setTimeout((function(){s()}),1e4);return function(){return clearTimeout(e)}}),[]);var c=In()(n,"components-snackbar");return Object(I.createElement)("div",{ref:t,className:c,onClick:s,tabIndex:"0",role:"button",onKeyPress:s,label:ve("Dismiss this notice")},Object(I.createElement)("div",{className:"components-snackbar__content"},r,i.map((function(e,t){var n=e.className,r=e.label,o=e.onClick,i=e.url;return Object(I.createElement)(na,{key:t,href:i,isTertiary:!0,onClick:function(e){e.stopPropagation(),o&&o(e)},className:In()("components-snackbar__action",n)},r)}))))})),n(37);var Vc=n(23),Bc=n.n(Vc),Uc=n(24),Wc=n.n(Uc),Kc=n(28),Yc=n.n(Kc),$c=n(25),qc=n.n($c),Gc=n(19),Zc=n.n(Gc),Xc=n(29),Qc=n.n(Xc),Jc=(n(46),{arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(Jc.str(e)||Jc.num(e))return e===t;if(Jc.obj(e)&&Jc.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!Jc.und(n)||e===t}});function el(){var e=Object(I.useState)(!1)[1];return Object(I.useCallback)((function(){return e((function(e){return!e}))}),[])}var tl,nl=function(){function e(){Zc()(this,e),this.payload=void 0,this.children=[]}return Qc()(e,[{key:"getAnimatedValue",value:function(){return this.getValue()}},{key:"getPayload",value:function(){return this.payload||this}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"getChildren",value:function(){return this.children}},{key:"addChild",value:function(e){0===this.children.length&&this.attach(),this.children.push(e)}},{key:"removeChild",value:function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}]),e}(),rl=function(e){function t(){var e;return Zc()(this,t),(e=Bc()(this,Wc()(t).apply(this,arguments))).payload={},e.attach=function(){return Object.values(e.payload).forEach((function(t){return t instanceof nl&&t.addChild(Yc()(e))}))},e.detach=function(){return Object.values(e.payload).forEach((function(t){return t instanceof nl&&t.removeChild(Yc()(e))}))},e}return qc()(t,e),Qc()(t,[{key:"getValue",value:function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof nl)&&(t[n]=r instanceof nl?r[e?"getAnimatedValue":"getValue"]():r)}return t}},{key:"getAnimatedValue",value:function(){return this.getValue(!0)}}]),t}(nl);function ol(e,t){tl={fn:e,transform:t}}function il(e){e}var al;function sl(e){al=e}function cl(e){e}var ll,ul=function(e){return e.current};function dl(e){ll=e}var fl=function(e){function t(e,n){var r;return Zc()(this,t),(r=Bc()(this,Wc()(t).call(this))).update=void 0,r.payload=e.style?Le({},e,{style:ll(e.style)}):e,r.update=n,r.attach(),r}return qc()(t,e),t}(rl);new Set;function hl(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return hl({range:e,output:t,extrapolate:n});if(al&&"string"==typeof e.output[0])return al(e);var r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,s,c){var l=c?c(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=i(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,i[t],i[t+1],o[t],o[t+1],c,a,s,r.map)}}var pl=function(e){function t(e){var n;return Zc()(this,t),void 0===e&&(e={}),n=Bc()(this,Wc()(t).call(this)),!e.transform||e.transform instanceof nl||(e=tl.transform(e)),n.payload=e,n}return qc()(t,e),t}(rl),vl={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},ml="[-+]?\\d*\\.?\\d+",bl=ml+"%";function gl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var yl=new RegExp("rgb"+gl(ml,ml,ml)),kl=new RegExp("rgba"+gl(ml,ml,ml,ml)),_l=new RegExp("hsl"+gl(ml,bl,bl)),wl=new RegExp("hsla"+gl(ml,bl,bl,ml)),Ol=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Sl=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,El=/^#([0-9a-fA-F]{6})$/,Cl=/^#([0-9a-fA-F]{8})$/;function Tl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function xl(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=Tl(o,r,e+1/3),a=Tl(o,r,e),s=Tl(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Dl(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function Ml(e){return(parseFloat(e)%360+360)%360/360}function jl(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Il(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function Pl(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=El.exec(t))?parseInt(n[1]+"ff",16)>>>0:vl.hasOwnProperty(t)?vl[t]:(n=yl.exec(t))?(Dl(n[1])<<24|Dl(n[2])<<16|Dl(n[3])<<8|255)>>>0:(n=kl.exec(t))?(Dl(n[1])<<24|Dl(n[2])<<16|Dl(n[3])<<8|jl(n[4]))>>>0:(n=Ol.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=Cl.exec(t))?parseInt(n[1],16)>>>0:(n=Sl.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=_l.exec(t))?(255|xl(Ml(n[1]),Il(n[2]),Il(n[3])))>>>0:(n=wl.exec(t))?(xl(Ml(n[1]),Il(n[2]),Il(n[3]))|jl(n[4]))>>>0:null;if(null===r)return e;var o=(16711680&(r=r||0))>>>16,i=(65280&r)>>>8,a=(255&r)/255;return"rgba(".concat((4278190080&r)>>>24,", ").concat(o,", ").concat(i,", ").concat(a,")")}var Nl=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Rl=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ll=new RegExp("(".concat(Object.keys(vl).join("|"),")"),"g"),Al={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},zl=["Webkit","Ms","Moz","O"];function Fl(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Al.hasOwnProperty(e)&&Al[e]?(""+t).trim():t+"px"}Al=Object.keys(Al).reduce((function(e,t){return zl.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),Al);var Hl={};dl((function(e){return new pl(e)})),cl("div"),sl((function(e){var t=e.output.map((function(e){return e.replace(Rl,Pl)})).map((function(e){return e.replace(Ll,Pl)})),n=t[0].match(Nl).map((function(){return[]}));t.forEach((function(e){e.match(Nl).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(Nl).map((function(t,r){return hl(Le({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(Nl,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba(".concat(Math.round(t),", ").concat(Math.round(n),", ").concat(Math.round(r),", ").concat(o,")")}))}})),il(vl),ol((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,a=M(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var c in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(c)){var l=0===c.indexOf("--"),u=Fl(c,n[c],l);"float"===c&&(c="cssFloat"),l?e.style.setProperty(c,u):e.style[c]=u}for(var d in a){var f=s?d:Hl[d]||(Hl[d]=d.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(f)&&e.setAttribute(f,a[d])}}),(function(e){return e}));var Vl,Bl;(Vl=function(e){return Object(I.forwardRef)((function(t,n){var r=el(),o=Object(I.useRef)(!0),i=Object(I.useRef)(null),a=Object(I.useRef)(null),s=Object(I.useCallback)((function(e){var t=i.current;i.current=new fl(e,(function(){var e=!1;a.current&&(e=tl.fn(a.current,i.current.getAnimatedValue())),a.current&&!1!==e||r()})),t&&t.detach()}),[]);Object(I.useEffect)((function(){return function(){o.current=!1,i.current&&i.current.detach()}}),[]),Object(I.useImperativeHandle)(n,(function(){return ul(a,o,r)})),s(t);var c,l=i.current.getValue(),u=(l.scrollTop,l.scrollLeft,M(l,["scrollTop","scrollLeft"])),d=(c=e,!Jc.fun(c)||c.prototype instanceof P.a.Component?function(e){return a.current=function(e,t){return t&&(Jc.fun(t)?t(e):Jc.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return P.a.createElement(e,Le({},u,{ref:d}))}))},void 0===(Bl=!1)&&(Bl=!0),function(e){return(Jc.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Bl?t[0].toLowerCase()+t.substring(1):t;return e[n]=Vl(n),e}),Vl)})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);function Ul(){return Object(I.createElement)("span",{className:"components-spinner"})}var Wl=function(e){var t=e.tabId,n=e.onClick,r=e.children,o=e.selected,i=j(e,["tabId","onClick","children","selected"]);return Object(I.createElement)(na,Le({role:"tab",tabIndex:o?null:-1,"aria-selected":o,id:t,onClick:n},i),r)};Gn(function(e){function t(){var e;Ee(this,t);var n=(e=De(this,Me(t).apply(this,arguments))).props,r=n.tabs,o=n.initialTabName;return e.handleClick=e.handleClick.bind(xe(e)),e.onNavigate=e.onNavigate.bind(xe(e)),e.state={selected:o||(r.length>0?r[0].name:null)},e}return Ie(t,e),Te(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?N.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,o=void 0===r?"is-active":r,i=n.className,a=n.instanceId,s=n.orientation,c=void 0===s?"horizontal":s,l=n.tabs,u=Object(N.find)(l,{name:t}),d=a+"-"+u.name;return Object(I.createElement)("div",{className:i},Object(I.createElement)(Us,{role:"tablist",orientation:c,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},l.map((function(n){return Object(I.createElement)(Wl,{className:"".concat(n.className," ").concat(n.name===t?o:""),tabId:a+"-"+n.name,"aria-controls":a+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(N.partial)(e.handleClick,n.name)},n.title)}))),u&&Object(I.createElement)("div",{"aria-labelledby":d,role:"tabpanel",id:d+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(u)))}}]),t}(I.Component));Gn((function(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,i=e.onChange,a=e.rows,s=void 0===a?4:a,c=e.className,l=j(e,["label","value","help","instanceId","onChange","rows","className"]),u="inspector-textarea-control-".concat(o);return Object(I.createElement)(qa,{label:t,id:u,help:r,className:c},Object(I.createElement)("textarea",Le({className:"components-textarea-control__input",id:u,rows:s,onChange:function(e){return i(e.target.value)},"aria-describedby":r?u+"__help":void 0,value:n},l)))})),Gn(function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onChange=e.onChange.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,r=n.label,o=n.checked,i=n.help,a=n.instanceId,s=n.className,c="inspector-toggle-control-".concat(a);return i&&(e=c+"__help",t=Object(N.isFunction)(i)?i(o):i),Object(I.createElement)(qa,{id:c,help:t,className:In()("components-toggle-control",s)},Object(I.createElement)(Qs,{id:c,checked:o,onChange:this.onChange,"aria-describedby":e}),Object(I.createElement)("label",{htmlFor:c,className:"components-toggle-control__label"},r))}}]),t}(I.Component));var Kl=function(e){return Object(I.createElement)("div",{className:e.className},e.children)};var Yl=function(e){var t=e.containerClassName,n=e.icon,r=e.title,o=e.shortcut,i=e.subscript,a=e.onClick,s=e.className,c=e.isActive,l=e.isDisabled,u=e.extraProps,d=e.children;return Object(I.createElement)(Kl,{className:t},Object(I.createElement)(ya,Le({icon:n,label:r,shortcut:o,"data-subscript":i,onClick:function(e){e.stopPropagation(),a()},className:In()("components-toolbar__control",s,{"is-active":c}),"aria-pressed":c,disabled:l},u)),d)},$l=function(e){return Object(I.createElement)("div",{className:e.className},e.children)};var ql=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.children,o=e.className,i=e.isCollapsed,a=e.icon,s=e.label,c=j(e,["controls","children","className","isCollapsed","icon","label"]);if(!(n&&n.length||r))return null;var l=n;return Array.isArray(l[0])||(l=[l]),i?Object(I.createElement)(Ws,{icon:a,label:s,controls:l,className:In()("components-toolbar",o)}):Object(I.createElement)($l,Le({className:In()("components-toolbar",o)},c),Object(N.flatMap)(l,(function(e,t){return e.map((function(e,n){return Object(I.createElement)(Yl,Le({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))}))})),r)};Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(xe(e)),e.focusNextRegion=e.focusRegion.bind(xe(e),1),e.focusPreviousRegion=e.focusRegion.bind(xe(e),-1),e.onClick=e.onClick.bind(xe(e)),e.state={isFocusingRegions:!1},e}return Ie(n,t),Te(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=ft(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],r=t.indexOf(document.activeElement);if(-1!==r){var o=r+e;n=t[o=(o=-1===o?t.length-1:o)===t.length?0:o]}n.focus(),this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t,n=In()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(I.createElement)("div",{ref:this.bindContainer,className:n,onClick:this.onClick},Object(I.createElement)(as,{bindGlobal:!0,shortcuts:(t={"ctrl+`":this.focusNextRegion},x(t,Fn.access("n"),this.focusNextRegion),x(t,"ctrl+shift+`",this.focusPreviousRegion),x(t,Fn.access("p"),this.focusPreviousRegion),t)}),Object(I.createElement)(e,this.props))}}]),n}(I.Component)}),"navigateRegions");function Gl(e){return Un((function(t){var n,r="core/with-filters/"+e;function o(){void 0===n&&(n=Lr(e,t))}var i=function(e){function t(){var e;return Ee(this,t),e=De(this,Me(t).apply(this,arguments)),o(),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){t.instances.push(this),1===t.instances.length&&(jr("hookRemoved",r,s),jr("hookAdded",r,s))}},{key:"componentWillUnmount",value:function(){t.instances=Object(N.without)(t.instances,this),0===t.instances.length&&(Pr("hookRemoved",r),Pr("hookAdded",r))}},{key:"render",value:function(){return Object(I.createElement)(n,this.props)}}]),t}(I.Component);i.instances=[];var a=Object(N.debounce)((function(){n=Lr(e,t),i.instances.forEach((function(e){e.forceUpdate()}))}),16);function s(t){t===e&&a()}return i}),"withFilters")}var Zl=n(45),Xl=n.n(Zl);Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).createNotice=e.createNotice.bind(xe(e)),e.createErrorNotice=e.createErrorNotice.bind(xe(e)),e.removeNotice=e.removeNotice.bind(xe(e)),e.removeAllNotices=e.removeAllNotices.bind(xe(e)),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Ie(n,t),Te(n,[{key:"createNotice",value:function(e){var t=e.id?e:D({},e,{id:Xl()()});this.setState((function(e){return{noticeList:[].concat(ft(e.noticeList),[t])}}))}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState((function(t){return{noticeList:t.noticeList.filter((function(t){return t.id!==e}))}}))}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(I.createElement)(e,Le({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(I.createElement)(wc,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(I.Component)}));function Ql(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function Jl(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function eu(e,t){return Jl(e)&&e.type===t}function tu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!eu(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!Jl(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){Jl(e)&&t(e),n(e)}),r)}))}}var nu=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},ru=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},ou=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),iu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return ou(e,t)}return e};function au(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function su(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==au(e,t,n)}function cu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===au(e,t,n)}function lu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===au(e,t,n)}function uu(e){return e}function du(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function fu(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function hu(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function pu(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function vu(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function mu(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[ru(n,e),nu];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=tu(e,t.dispatch);return function(e){return function(t){return Ql(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:iu,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},f,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(d,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!su(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(du(o,a)),e.next=9,bu.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(fu(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function bu(e,t,n){return gu.apply(this,arguments)}function gu(){return(gu=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var yu=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var ku,_u,wu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=mu(e,t,u);return l(e,n),n.store},l("core/data",yu(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}(),Ou={getItem:function(e){return ku&&ku[e]?ku[e]:null},setItem:function(e,t){ku||Ou.clear(),ku[e]=String(t)},clear:function(){ku=Object.create(null)}},Su=Ou;try{(_u=window.localStorage).setItem("__wpDataTestLocalStorage",""),_u.removeItem("__wpDataTestLocalStorage")}catch(hE){_u=Su}var Eu=_u;function Cu(e){var t,n=e.storage,r=void 0===n?Eu:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Tu=function(e,t){var n=Cu(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};Tu.__unstableMigrate=function(e){var t=Cu(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var xu=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};xu((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());xu((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),xu((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var Du=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Mu=Object(I.createContext)(wu),ju=Mu.Consumer,Iu=(Mu.Provider,ju);var Pu=Object(I.createContext)(!1);Pu.Consumer,Pu.Provider;"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);Du(r)}}();"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,xu((function(e){return function(t){return Object(I.createElement)(Iu,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");var Nu=wu.select,Ru=(wu.dispatch,wu.subscribe,wu.registerGenericStore,wu.registerStore),Lu=(wu.use,[{slug:"common",title:ve("Common Blocks")},{slug:"formatting",title:ve("Formatting")},{slug:"layout",title:ve("Layout Elements")},{slug:"widgets",title:ve("Widgets")},{slug:"embed",title:ve("Embeds")},{slug:"reusable",title:ve("Reusable Blocks")}]);function Au(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"REMOVE_BLOCK_TYPES":return-1!==n.names.indexOf(t)?null:t;case e:return n.name||null}return t}}var zu=Au("SET_DEFAULT_BLOCK_NAME"),Fu=Au("SET_FREEFORM_FALLBACK_BLOCK_NAME"),Hu=Au("SET_UNREGISTERED_FALLBACK_BLOCK_NAME");var Vu=Ve()({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return D({},e,Object(N.keyBy)(Object(N.map)(t.blockTypes,(function(e){return Object(N.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(N.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return D({},e,Object(N.mapValues)(Object(N.keyBy)(t.blockTypes,"name"),(function(t){return Object(N.uniqBy)([].concat(ft(Object(N.get)(t,["styles"],[])),ft(Object(N.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return D({},e,x({},t.blockName,Object(N.uniqBy)([].concat(ft(Object(N.get)(e,[t.blockName],[])),ft(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return D({},e,x({},t.blockName,Object(N.filter)(Object(N.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},defaultBlockName:zu,freeformFallbackBlockName:Fu,unregisteredFallbackBlockName:Hu,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lu,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(N.isEmpty)(t.category))return e;var n=Object(N.find)(e,["slug",t.slug]);if(n)return Object(N.map)(e,(function(e){return e.slug===t.slug?D({},e,t.category):e}))}return e}}),Bu=function(e,t){return"string"==typeof t?Wu(e,t):t},Uu=ao((function(e){return Object.values(e.blockTypes)}),(function(e){return[e.blockTypes]}));function Wu(e,t){return e.blockTypes[t]}function Ku(e,t){return e.blockStyles[t]}function Yu(e){return e.categories}function $u(e){return e.defaultBlockName}function qu(e){return e.freeformFallbackBlockName}function Gu(e){return e.unregisteredFallbackBlockName}var Zu=ao((function(e,t){return Object(N.map)(Object(N.filter)(e.blockTypes,(function(e){return Object(N.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),Xu=function(e,t,n,r){var o=Bu(e,t);return Object(N.get)(o,["supports",n],r)};function Qu(e,t,n,r){return!!Xu(e,t,n,r)}function Ju(e,t,n){var r=Bu(e,t),o=Object(N.flow)([N.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=o(n),a=Object(N.flow)([o,function(e){return Object(N.includes)(e,i)}]);return a(r.title)||Object(N.some)(r.keywords,a)||a(r.category)}var ed=function(e,t){return Zu(e,t).length>0},td=function(e,t){return Object(N.some)(Zu(e,t),(function(t){return Qu(e,t,"inserter",!0)}))};function nd(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(N.castArray)(e)}}function rd(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(N.castArray)(e)}}function od(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(N.castArray)(t),blockName:e}}function id(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(N.castArray)(t),blockName:e}}function ad(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function sd(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function cd(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function ld(e){return{type:"SET_CATEGORIES",categories:e}}function ud(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Ru("core/blocks",{reducer:Vu,selectors:h,actions:p});function dd(e){var t=vd();if(e.name!==t)return!1;dd.block&&dd.block.name===t||(dd.block=wd(t));var n=dd.block,r=md(t);return Object(N.every)(r.attributes,(function(t,r){return n.attributes[r]===e.attributes[r]}))}function fd(e){return Object(N.isString)(e)?md(e):e}function hd(){return Nu("core/blocks").getFreeformFallbackBlockName()}function pd(){return Nu("core/blocks").getUnregisteredFallbackBlockName()}function vd(){return Nu("core/blocks").getDefaultBlockName()}function md(e){return Nu("core/blocks").getBlockType(e)}function bd(){return Nu("core/blocks").getBlockTypes()}function gd(e,t,n){return Nu("core/blocks").getBlockSupport(e,t,n)}function yd(e,t,n){return Nu("core/blocks").hasBlockSupport(e,t,n)}function kd(e){return"core/block"===e.name}var _d=function(e){return Nu("core/blocks").hasChildBlocksWithInserterSupport(e)};function wd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=md(e),o=Object(N.reduce)(r.attributes,(function(e,n,r){var o=t[r];return void 0!==o?e[r]=o:n.hasOwnProperty("default")&&(e[r]=n.default),-1!==["node","children"].indexOf(n.source)&&("string"==typeof e[r]?e[r]=[e[r]]:Array.isArray(e[r])||(e[r]=[])),e}),{}),i=Xl()();return{clientId:i,name:e,isValid:!0,attributes:o,innerBlocks:n}}var Od=function(e,t,n){if(Object(N.isEmpty)(n))return!1;var r=n.length>1,o=Object(N.first)(n).name;if(!(Sd(e)||!r||e.isMultiBlock))return!1;if(!Sd(e)&&!Object(N.every)(n,{name:o}))return!1;if(!("block"===e.type))return!1;var i=Object(N.first)(n);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||Sd(e)))return!1;if(!r&&Ed(i.name)&&Ed(e.blockName))return!1;if(Object(N.isFunction)(e.isMatch)){var a=e.isMultiBlock?n.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(a))return!1}return!0},Sd=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},Ed=function(e){return"core/group"===e};function Cd(e){if(Object(N.isEmpty)(e))return[];var t=function(e){if(Object(N.isEmpty)(e))return[];var t=bd();return Object(N.filter)(t,(function(t){return!!Td(xd("from",t.name),(function(t){return Od(t,"from",e)}))}))}(e),n=function(e){if(Object(N.isEmpty)(e))return[];var t=xd("to",md(Object(N.first)(e).name).name),n=Object(N.filter)(t,(function(t){return t&&Od(t,"to",e)}));return Object(N.flatMap)(n,(function(e){return e.blocks})).map((function(e){return md(e)}))}(e);return Object(N.uniq)([].concat(ft(t),ft(n)))}function Td(e,t){for(var n=Dr(),r=function(r){var o=e[r];t(o)&&n.addFilter("transform","transform/"+r.toString(),(function(e){return e||o}),o.priority)},o=0;o<e.length;o++)r(o);return n.applyFilters("transform",null)}function xd(e,t){if(void 0===t)return Object(N.flatMap)(bd(),(function(t){var n=t.name;return xd(e,n)}));var n=fd(t)||{},r=n.name,o=n.transforms;return o&&Array.isArray(o[e])?o[e].map((function(e){return D({},e,{blockName:r})})):[]}function Dd(e,t){var n=Object(N.castArray)(e),r=n.length>1,o=n[0],i=o.name;if(!Ed(t)&&r&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return!1;var t=e[0].name;return Object(N.every)(e,["name",t])}(n))return null;var a,s=xd("from",t),c=Td(xd("to",i),(function(e){return"block"===e.type&&(Sd(e)||-1!==e.blocks.indexOf(t))&&(!r||e.isMultiBlock)}))||Td(s,(function(e){return"block"===e.type&&(Sd(e)||-1!==e.blocks.indexOf(i))&&(!r||e.isMultiBlock)}));if(!c)return null;if(a=c.isMultiBlock?Object(N.has)(c,"__experimentalConvert")?c.__experimentalConvert(n):c.transform(n.map((function(e){return e.attributes})),n.map((function(e){return e.innerBlocks}))):Object(N.has)(c,"__experimentalConvert")?c.__experimentalConvert(o):c.transform(o.attributes,o.innerBlocks),!Object(N.isObjectLike)(a))return null;if((a=Object(N.castArray)(a)).some((function(e){return!md(e.name)})))return null;var l=Object(N.findIndex)(a,(function(e){return e.name===t}));return l<0?null:a.map((function(t,n){var r=D({},t,{clientId:n===l?o.clientId:t.clientId});return Lr("blocks.switchToBlockType.transformedBlock",r,e)}))}function Md(e,t){for(var n,r=t.split(".");n=r.shift();){if(!(n in e))return;e=e[n]}return e}var jd,Id=function(){return jd||(jd=document.implementation.createHTMLDocument("")),jd};function Pd(e,t){if(t){if("string"==typeof e){var n=Id();n.body.innerHTML=e,e=n.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(n,r){return n[r]=Pd(e,t[r]),n}),{})}}function Nd(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return Md(r,t)}}var Rd,Ld,Ad,zd,Fd=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function Hd(e,t){for(var n=function(e){for(var t,n=[],r=e;t=r.match(Fd);)n.push(r.slice(0,t.index)),n.push(t[0]),r=r.slice(t.index+t[0].length);return r.length&&n.push(r),n}(e),r=!1,o=Object.keys(t),i=1;i<n.length;i+=2)for(var a=0;a<o.length;a++){var s=o[a];if(-1!==n[i].indexOf(s)){n[i]=n[i].replace(new RegExp(s,"g"),t[s]),r=!0;break}}return r&&(e=n.join("")),e}var Vd=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function Bd(e,t,n,r,o){return{blockName:e,attrs:t,innerBlocks:n,innerHTML:r,innerContent:o}}function Ud(e){return Bd(null,{},[],e,[e])}function Wd(){var e=function(){var e=Vd.exec(Rd);if(null===e)return["no-more-tokens"];var t=e.index,n=Fe(e,7),r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],c=n[6],l=r.length,u=!!o,d=!!c,f=(i||"core/")+a,h=!!s,p=h?function(e){try{return JSON.parse(e)}catch(t){return null}}(s):{};if(d)return["void-block",f,p,t,l];if(u)return["block-closer",f,null,t,l];return["block-opener",f,p,t,l]}(),t=Fe(e,5),n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],s=zd.length,c=i>Ld?Ld:null;switch(n){case"no-more-tokens":if(0===s)return Kd(),!1;if(1===s)return $d(),!1;for(;0<zd.length;)$d();return!1;case"void-block":return 0===s?(null!==c&&Ad.push(Ud(Rd.substr(c,i-c))),Ad.push(Bd(r,o,[],"",[])),Ld=i+a,!0):(Yd(Bd(r,o,[],"",[]),i,a),Ld=i+a,!0);case"block-opener":return zd.push(function(e,t,n,r,o){return{block:e,tokenStart:t,tokenLength:n,prevOffset:r||t+n,leadingHtmlStart:o}}(Bd(r,o,[],"",[]),i,a,i+a,c)),Ld=i+a,!0;case"block-closer":if(0===s)return Kd(),!1;if(1===s)return $d(i),Ld=i+a,!0;var l=zd.pop(),u=Rd.substr(l.prevOffset,i-l.prevOffset);return l.block.innerHTML+=u,l.block.innerContent.push(u),l.prevOffset=i+a,Yd(l.block,l.tokenStart,l.tokenLength,i+a),Ld=i+a,!0;default:return Kd(),!1}}function Kd(e){var t=e||Rd.length-Ld;0!==t&&Ad.push(Ud(Rd.substr(Ld,t)))}function Yd(e,t,n,r){var o=zd[zd.length-1];o.block.innerBlocks.push(e);var i=Rd.substr(o.prevOffset,t-o.prevOffset);i&&(o.block.innerHTML+=i,o.block.innerContent.push(i)),o.block.innerContent.push(null),o.prevOffset=r||t+n}function $d(e){var t=zd.pop(),n=t.block,r=t.leadingHtmlStart,o=t.prevOffset,i=t.tokenStart,a=e?Rd.substr(o,e-o):Rd.substr(o);a&&(n.innerHTML+=a,n.innerContent.push(a)),null!==r&&Ad.push(Ud(Rd.substr(r,i-r))),Ad.push(n)}var qd=/^#[xX]([A-Fa-f0-9]+)$/,Gd=/^#([0-9]+)$/,Zd=/^([A-Za-z0-9]+)$/,Xd=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(qd);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(Gd))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(Zd))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),Qd=/[A-Za-z]/,Jd=/\r\n?/g;function ef(e){return Xd.test(e)}function tf(e){return Qd.test(e)}var nf,rf=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer.toLowerCase();"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||tf(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.peek()&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();ef(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();ef(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();ef(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();ef(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();ef(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();ef(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();ef(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();ef(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||tf(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(Jd,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer.toLowerCase();return"title"===e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),of=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new rf(this,e),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}();function af(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===nf&&(nf=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),nf.innerHTML=e;var t=nf.textContent;return nf.innerHTML="",t}var sf=Object(I.createContext)((function(){})),cf=sf.Consumer,lf=sf.Provider,uf=xu((function(e){return function(t){return Object(I.createElement)(cf,null,(function(n){return Object(I.createElement)(e,Le({},t,{BlockContent:n}))}))}}),"withBlockContentContext"),df=function(e){var t=e.children,n=e.innerBlocks;return Object(I.createElement)(lf,{value:function(){var e=gf(n);return Object(I.createElement)(K,null,e)}},t)};function ff(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Lr("blocks.getBlockDefaultClassName",t,e)}function hf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=fd(e),o=r.save;if(o.prototype instanceof I.Component){var i=new o({attributes:t});o=i.render.bind(i)}var a=o({attributes:t,innerBlocks:n});if(Object(N.isObject)(a)&&Nr("blocks.getSaveContent.extraProps")){var s=Lr("blocks.getSaveContent.extraProps",D({},a.props),r,t);Kn()(s,a.props)||(a=Object(I.cloneElement)(a,s))}return a=Lr("blocks.getSaveElement",a,r,t),Object(I.createElement)(df,{innerBlocks:n},a)}function pf(e,t,n){var r=fd(e);return de(hf(r,t,n))}function vf(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=pf(e.name,e.attributes,e.innerBlocks)}catch(hE){}return t}function mf(e,t,n){var r=Object(N.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",o=Object(N.startsWith)(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:".concat(o," ").concat(r,"--\x3e\n")+n+"\n\x3c!-- /wp:".concat(o," --\x3e"):"\x3c!-- wp:".concat(o," ").concat(r,"/--\x3e")}function bf(e){var t=e.name,n=vf(e);switch(t){case hd():case pd():return n;default:return mf(t,function(e,t){return Object(N.reduce)(e.attributes,(function(e,n,r){var o=t[r];return void 0===o?e:void 0!==n.source?e:"default"in n&&n.default===o?e:(e[r]=o,e)}),{})}(md(t),e.attributes),n)}}function gf(e){return Object(N.castArray)(e).map(bf).join("\n\n")}var yf=/[\t\n\r\v\f ]+/g,kf=/^[\t\n\r\v\f ]*$/,_f=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,wf=["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"],Of=[].concat(wf,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),Sf=[N.identity,function(e){return Mf(e).join(" ")}],Ef=/^[\da-z]+$/i,Cf=/^#\d+$/,Tf=/^#x[\da-f]+$/i;var xf=function(){function e(){Ee(this,e)}return Te(e,[{key:"parse",value:function(e){if(t=e,Ef.test(t)||Cf.test(t)||Tf.test(t))return af("&"+e+";");var t}}]),e}(),Df=function(){function e(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,["Block validation: "+t].concat(r))}}return{error:e(console.error),warning:e(console.warn)}}();function Mf(e){return e.trim().split(yf)}function jf(e){return e.attributes.filter((function(e){var t=Fe(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||Object(N.includes)(Of,n)}))}function If(e,t){for(var n=e.chars,r=t.chars,o=0;o<Sf.length;o++){var i=Sf[o];if((n=i(n))===(r=i(r)))return!0}return Df.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function Pf(e){return e.replace(_f,"url($1)")}function Nf(e){var t=e.replace(/;?\s*$/,"").split(";").map((function(e){var t,n=e.split(":"),r=Ae(t=n)||dt(t)||ze(),o=r[0],i=r.slice(1).join(":");return[o.trim(),Pf(i.trim())]}));return Object(N.fromPairs)(t)}var Rf=D({class:function(e,t){return!N.xor.apply(void 0,ft([e,t].map(Mf))).length},style:function(e,t){return N.isEqual.apply(void 0,ft([e,t].map(Nf)))}},Object(N.fromPairs)(wf.map((function(e){return[e,N.stubTrue]}))));function Lf(e,t){if(e.length!==t.length)return Df.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=Fe([e,t].map(N.fromPairs),2),r=n[0],o=n[1];for(var i in r){if(!o.hasOwnProperty(i))return Df.warning("Encountered unexpected attribute `%s`.",i),!1;var a=r[i],s=o[i],c=Rf[i];if(c){if(!c(a,s))return Df.warning("Expected attribute `%s` of value `%s`, saw `%s`.",i,s,a),!1}else if(a!==s)return Df.warning("Expected attribute `%s` of value `%s`, saw `%s`.",i,s,a),!1}return!0}var Af={StartTag:function(e,t){return e.tagName!==t.tagName?(Df.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):Lf.apply(void 0,ft([e,t].map(jf)))},Chars:If,Comment:If};function zf(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!kf.test(t.chars))return t}}function Ff(e){try{return new of(new xf).tokenize(e)}catch(t){Df.warning("Malformed HTML detected: %s",e)}return null}function Hf(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Vf(e,t,n){var r,o=fd(e);try{r=pf(o,t)}catch(hE){return Df.error("Block validation failed because an error occurred while generating block content:\n\n%s",hE.toString()),!1}var i=function(e,t){var n,r,o=Fe([e,t].map(Ff),2),i=o[0],a=o[1];if(!i||!a)return!1;for(;n=zf(i);){if(!(r=zf(a)))return Df.warning("Expected end of content, instead saw %o.",n),!1;if(n.type!==r.type)return Df.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",r.type,r,n.type,n),!1;var s=Af[n.type];if(s&&!s(n,r))return!1;Hf(n,a[0])?zf(a):Hf(r,i[0])&&zf(i)}return!(r=zf(a))||(Df.warning("Expected %o, instead saw end of content.",r),!1)}(n,r);return i||Df.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",o.name,o,r,n),i}function Bf(e){for(var t=[],n=0;n<e.length;n++)try{t.push(Zf(e[n]))}catch(hE){}return t}function Uf(e){return de(e)}function Wf(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Bf(n.childNodes):[]}}var Kf={concat:function(){for(var e=[],t=0;t<arguments.length;t++)for(var n=Object(N.castArray)(t<0||arguments.length<=t?void 0:arguments[t]),r=0;r<n.length;r++){var o=n[r],i="string"==typeof o&&"string"==typeof e[e.length-1];i?e[e.length-1]+=o:e.push(o)}return e},getChildrenArray:function(e){return e},fromDOM:Bf,toHTML:Uf,matcher:Wf},Yf=window.Node,$f=Yf.TEXT_NODE,qf=Yf.ELEMENT_NODE;function Gf(e){for(var t={},n=0;n<e.length;n++){var r=e[n],o=r.name,i=r.value;t[o]=i}return t}function Zf(e){if(e.nodeType===$f)return e.nodeValue;if(e.nodeType!==qf)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:D({},Gf(e.attributes),{children:Bf(e.childNodes)})}}function Xf(e){return function(t){var n=t;e&&(n=t.querySelector(e));try{return Zf(n)}catch(hE){return null}}}new Set(["attribute","html","text","tag"]);function Qf(e,t){return t.some((function(t){return function(e,t){switch(t){case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t)}))}function Jf(e){switch(e.source){case"attribute":var t=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=Nd(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(t=function(e){return Object(N.flow)([e,function(e){return void 0!==e}])}(t)),t;case"html":return r=e.selector,o=e.multiline,function(e){var t=e;if(r&&(t=e.querySelector(r)),!t)return"";if(o){for(var n="",i=t.children.length,a=0;a<i;a++){var s=t.children[a];s.nodeName.toLowerCase()===o&&(n+=s.outerHTML)}return n}return t.innerHTML};case"text":return function(e){return Nd(e,"textContent")}(e.selector);case"children":return Wf(e.selector);case"node":return Xf(e.selector);case"query":var n=Object(N.mapValues)(e.query,Jf);return function(e,t){return function(n){var r=n.querySelectorAll(e);return[].map.call(r,(function(e){return Pd(e,t)}))}}(e.selector,n);case"tag":return Object(N.flow)([Nd(e.selector,"nodeName"),function(e){return e.toLowerCase()}]);default:console.error('Unknown source type "'.concat(e.source,'"'))}var r,o}function eh(e,t){return Pd(e,Jf(t))}function th(e,t,n,r){var o,i=t.type,a=t.enum;switch(t.source){case void 0:o=r?r[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":o=eh(n,t)}return function(e,t){return void 0===t||Qf(e,Object(N.castArray)(t))}(o,i)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(o,a)||(o=void 0),void 0===o?t.default:o}function nh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=fd(e),o=Object(N.mapValues)(r.attributes,(function(e,r){return th(r,e,t,n)}));return Lr("blocks.getBlockAttributes",o,r,t,n)}function rh(e){var t=e.blockName,n=e.attrs,r=e.innerBlocks,o=void 0===r?[]:r,i=e.innerHTML,a=hd(),s=pd()||a;n=n||{},i=i.trim();var c=t||a;"core/cover-image"===c&&(c="core/cover"),"core/text"!==c&&"core/cover-text"!==c||(c="core/paragraph"),c===a&&(i=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var r=e.split("</pre>"),o=r.pop();e="";for(var i=0;i<r.length;i++){var a=r[i],s=a.indexOf("<pre");if(-1!==s){var c="<pre wp-pre-tag-"+i+"></pre>";n.push([c,a.substr(s)+"</pre>"]),e+=a.substr(0,s)+c}else e+=a}e+=o}var l="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=Hd(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+l+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+l+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var u=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",u.forEach((function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"})),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+l+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+l+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+l+"[^>]*>)\\s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,(function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")}))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,(function(e,t){return t?e:"<br />\n"}))).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+l+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach((function(t){var n=Fe(t,2),r=n[0],o=n[1];e=e.replace(r,o)})),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}(i).trim());var l=md(c);if(!l){var u=i;c&&(i=mf(c,n,i)),n={originalName:t,originalUndelimitedContent:u},l=md(c=s)}o=o.map(rh);var d=c===a||c===s;if(l&&(i||!d)){var f=wd(c,nh(l,i,n),o);return d||(f.isValid=Vf(l,f.attributes,i)),f.originalContent=i,f=function(e,t){var n=md(e.name),r=n.deprecated;if(!r||!r.length)return e;for(var o=e,i=o.originalContent,a=o.innerBlocks,s=0;s<r.length;s++){var c=r[s].isEligible,l=void 0===c?N.stubFalse:c;if(!e.isValid||l(t,a)){var u=Object.assign(Object(N.omit)(n,["attributes","save","supports"]),r[s]),d=nh(u,i,t);if(Vf(u,d,i)){e=D({},e,{isValid:!0});var f=a,h=u.migrate;if(h){var p=Fe(Object(N.castArray)(h(d,a)),2),v=p[0];d=void 0===v?t:v;var m=p[1];f=void 0===m?a:m}e.attributes=d,e.innerBlocks=f}}}return e}(f,n)}}var oh,ih=(oh=function(e){Rd=e,Ld=0,Ad=[],zd=[],Vd.lastIndex=0;do{}while(Wd());return Ad},function(e){return oh(e).reduce((function(e,t){var n=rh(t);return n&&e.push(n),e}),[])}),ah={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function sh(){return ah}function ch(e){var t=e.nodeName.toLowerCase();return sh().hasOwnProperty(t)||"span"===t}["strong","em","s","del","ins","a","code","abbr","sub","sup"].forEach((function(e){ah[e].children=Object(N.omit)(ah,e)}));var lh=window.Node,uh=lh.ELEMENT_NODE,dh=lh.TEXT_NODE;function fh(e){var t=e.map((function(e){var t=e.isMatch,n=e.blockName,r=e.schema,o=yd(n,"anchor");return o||t?Object(N.mapValues)(r,(function(e){var n=e.attributes||[];return o&&(n=[].concat(ft(n),["id"])),D({},e,{attributes:n,isMatch:t||void 0})})):r}));return N.mergeWith.apply(void 0,[{}].concat(ft(t),[function(e,t,n){switch(n){case"children":return"*"===e||"*"===t?"*":D({},e,t);case"attributes":case"require":return[].concat(ft(e||[]),ft(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function hh(e){return!e.hasChildNodes()||Array.from(e.childNodes).every((function(e){return e.nodeType===dh?!e.nodeValue.trim():e.nodeType!==uh||("BR"===e.nodeName||!e.hasAttributes()&&hh(e))}))}function ph(e,t,n,r){Array.from(e).forEach((function(e){ph(e.childNodes,t,n,r),t.forEach((function(t){n.contains(e)&&t(e,n,r)}))}))}function vh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,ph(r.body.childNodes,t,r,n),r.body.innerHTML}function mh(e,t,n){var r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,function e(t,n,r,o){Array.from(t).forEach((function(t){var i=t.nodeName.toLowerCase();if(!r.hasOwnProperty(i)||r[i].isMatch&&!r[i].isMatch(t))e(t.childNodes,n,r,o),o&&!ch(t)&&t.nextElementSibling&&Gi(n.createElement("br"),t),Zi(t);else if(t.nodeType===uh){var a=r[i],s=a.attributes,c=void 0===s?[]:s,l=a.classes,u=void 0===l?[]:l,d=a.children,f=a.require,h=void 0===f?[]:f,p=a.allowEmpty;if(d&&!p&&hh(t))return void qi(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((function(e){var n=e.name;"class"===n||Object(N.includes)(c,n)||t.removeAttribute(n)})),t.classList&&t.classList.length)){var v=u.map((function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:N.noop}));Array.from(t.classList).forEach((function(e){v.some((function(t){return t(e)}))||t.classList.remove(e)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===d)return;if(d)h.length&&!t.querySelector(h.join(","))?(e(t.childNodes,n,r,o),Zi(t)):"BODY"===t.parentNode.nodeName&&ch(t)?(e(t.childNodes,n,r,o),Array.from(t.childNodes).some((function(e){return!ch(e)}))&&Zi(t)):e(t.childNodes,n,d,o);else for(;t.firstChild;)qi(t.firstChild)}}}))}(r.body.childNodes,r,t,n),r.body.innerHTML}var bh=window.Node,gh=bh.ELEMENT_NODE,yh=bh.TEXT_NODE,kh=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),r=t.body,o=n.body;for(r.innerHTML=e;r.firstChild;){var i=r.firstChild;i.nodeType===yh?i.nodeValue.trim()?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(n.createElement("P")),o.lastChild.appendChild(i)):r.removeChild(i):i.nodeType===gh?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(o.appendChild(n.createElement("P")),r.removeChild(i.nextSibling)),o.lastChild&&"P"===o.lastChild.nodeName&&o.lastChild.hasChildNodes()?o.lastChild.appendChild(i):r.removeChild(i)):"P"===i.nodeName?hh(i)?r.removeChild(i):o.appendChild(i):ch(i)?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(n.createElement("P")),o.lastChild.appendChild(i)):o.appendChild(i):r.removeChild(i)}return o.innerHTML},_h=window.Node.COMMENT_NODE,wh=function(e,t){if(e.nodeType===_h)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var n=e.nodeValue.slice(4).trim(),r=e,o=!1;r=r.nextSibling;)if(r.nodeType===_h&&"noteaser"===r.nodeValue){o=!0,qi(r);break}$i(e,function(e,t,n){var r=n.createElement("wp-block");r.dataset.block="core/more",e&&(r.dataset.customText=e);t&&(r.dataset.noTeaser="");return r}(n,o,t))}}else $i(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function Oh(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Sh=function(e){if(Oh(e)){var t=e,n=e.previousElementSibling;if(n&&n.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)n.appendChild(t.firstChild);t.parentNode.removeChild(t)}var r,o=e.parentNode;if(o&&"LI"===o.nodeName&&1===o.children.length&&!/\S/.test((r=o,ft(r.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var i=o,a=i.previousElementSibling,s=i.parentNode;a?(a.appendChild(t),s.removeChild(i)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(o&&Oh(o)){var c=e.previousElementSibling;c?c.appendChild(e):Zi(e)}}},Eh=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=kh(e.innerHTML))};var Ch=function(e,t,n){if(function(e,t){var n=e.nodeName.toLowerCase();return"figcaption"!==n&&!ch(e)&&Object(N.has)(t,["figure","children",n])}(e,n)){var r=e,o=e.parentNode;(function(e,t){var n=e.nodeName.toLowerCase();return Object(N.has)(t,["figure","children","a","children",n])})(e,n)&&"A"===o.nodeName&&1===o.childNodes.length&&(r=e.parentNode);for(var i=r;i&&"P"!==i.nodeName;)i=i.parentElement;var a=t.createElement("figure");i?i.parentNode.insertBefore(a,i):r.parentNode.insertBefore(a,r),a.appendChild(r)}},Th=n(56),xh=n.n(Th);function Dh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Mh(e);r.lastIndex=n;var o=r.exec(t);if(o){if("["===o[1]&&"]"===o[7])return Dh(e,t,r.lastIndex);var i={index:o.index,content:o[0],shortcode:Ih(o)};return o[1]&&(i.content=i.content.slice(1),i.index++),o[7]&&(i.content=i.content.slice(0,-1)),i}}function Mh(e){return new RegExp("\\[(\\[?)("+e+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var jh=xh()((function(e){var t,n={},r=[],o=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(e=e.replace(/[\u00a0\u200b]/g," ");t=o.exec(e);)t[1]?n[t[1].toLowerCase()]=t[2]:t[3]?n[t[3].toLowerCase()]=t[4]:t[5]?n[t[5].toLowerCase()]=t[6]:t[7]?r.push(t[7]):t[8]?r.push(t[8]):t[9]&&r.push(t[9]);return{named:n,numeric:r}}));function Ih(e){var t;return t=e[4]?"self-closing":e[6]?"closed":"single",new Ph({tag:e[2],attrs:e[3],type:t,content:e[5]})}var Ph=Object(N.extend)((function(e){var t=this;Object(N.extend)(this,Object(N.pick)(e||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(N.isString)(n)?this.attrs=jh(n):Object(N.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(N.forEach)(n,(function(e,n){t.set(n,e)})))}),{next:Dh,replace:function(e,t,n){var r=arguments;return t.replace(Mh(e),(function(e,t,o,i,a,s,c,l){if("["===t&&"]"===l)return e;var u=n(Ih(r));return u?t+u+l:e}))},string:function(e){return new Ph(e).string()},regexp:Mh,attrs:jh,fromMatch:Ih});Object(N.extend)(Ph.prototype,{get:function(e){return this.attrs[Object(N.isNumber)(e)?"numeric":"named"][e]},set:function(e,t){return this.attrs[Object(N.isNumber)(e)?"numeric":"named"][e]=t,this},string:function(){var e="["+this.tag;return Object(N.forEach)(this.attrs.numeric,(function(t){/\s/.test(t)?e+=' "'+t+'"':e+=" "+t})),Object(N.forEach)(this.attrs.named,(function(t,n){e+=" "+n+'="'+t+'"'})),"single"===this.type?e+"]":"self-closing"===this.type?e+" /]":(e+="]",this.content&&(e+=this.content),e+"[/"+this.tag+"]")}});var Nh=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=xd("from"),o=Td(r,(function(e){return"shortcode"===e.type&&Object(N.some)(Object(N.castArray)(e.tag),(function(e){return Mh(e).test(t)}))}));if(!o)return[t];var i,a=Object(N.castArray)(o.tag),s=Object(N.first)(a);if(i=Dh(s,t,n)){var c=t.substr(0,i.index);if(n=i.index+i.content.length,!Object(N.includes)(i.shortcode.content||"","<")&&!/(\n|<p>)\s*$/.test(c))return e(t,n);var l=Object(N.mapValues)(Object(N.pickBy)(o.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(i.shortcode.attrs,i)})),u=wd(o.blockName,nh(D({},md(o.blockName),{attributes:o.attributes}),i.shortcode.content,l));return[c,u].concat(ft(e(t.substr(n))))}return[t]},Rh=window.Node.COMMENT_NODE,Lh=function(e){e.nodeType===Rh&&qi(e)};function Ah(e,t){return e.every((function(e){return function(e,t){if(ch(e))return!0;if(!t)return!1;var n=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(N.difference)([n,t],e).length}))}(e,t)&&Ah(Array.from(e.children),t)}))}function zh(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var Fh=function(e,t){if("SPAN"===e.nodeName&&e.style){var n=e.style,r=n.fontWeight,o=n.fontStyle,i=n.textDecorationLine,a=n.verticalAlign;"bold"!==r&&"700"!==r||Qi(t.createElement("strong"),e),"italic"===o&&Qi(t.createElement("em"),e),"line-through"===i&&Qi(t.createElement("s"),e),"super"===a?Qi(t.createElement("sup"),e):"sub"===a&&Qi(t.createElement("sub"),e)}else"B"===e.nodeName?e=Xi(e,"strong"):"I"===e.nodeName?e=Xi(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},Hh=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},Vh=window.parseInt;function Bh(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Uh=function(e,t){if("P"===e.nodeName){var n=e.getAttribute("style");if(n&&-1!==n.indexOf("mso-list")){var r=/mso-list\s*:[^;]+level([0-9]+)/i.exec(n);if(r){var o=Vh(r[1],10)-1||0,i=e.previousElementSibling;if(!i||!Bh(i)){var a=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(a),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",a),e.parentNode.insertBefore(c,e)}var l=e.previousElementSibling,u=l.nodeName,d=t.createElement("li"),f=l;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;o--;)Bh(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);Bh(f)||(f=f.appendChild(t.createElement(u))),f.appendChild(d),e.parentNode.removeChild(e)}}}},Wh=window.URL,Kh=Wh.createObjectURL,Yh=(Wh.revokeObjectURL,{});function $h(e){var t=Kh(e);return Yh[t]=e,t}var qh=window,Gh=qh.atob,Zh=qh.File,Xh=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,n=Fe(e.src.split(","),2),r=n[0],o=n[1],i=Fe(r.slice(5).split(";"),1)[0];if(!o||!i)return void(e.src="");try{t=Gh(o)}catch(u){return void(e.src="")}for(var a=new Uint8Array(t.length),s=0;s<a.length;s++)a[s]=t.charCodeAt(s);var c=i.replace("/","."),l=new Zh([a],c,{type:i});e.src=$h(l)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}},Qh=n(135),Jh=new(n.n(Qh).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});var ep=function(e){"IFRAME"===e.nodeName&&qi(e)},tp=function(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Zi(e)},np=window.console;function rp(e){return e=mh(e=vh(e,[tp,Fh,Lh]),sh(),{inline:!0}),np.log("Processed inline HTML:\n\n",e),e}function op(e){var t,n=e.HTML,r=void 0===n?"":n,o=e.plainText,i=void 0===o?"":o,a=e.mode,s=void 0===a?"AUTO":a,c=e.tagName,l=e.canUserUseUnfilteredHTML,u=void 0!==l&&l;if(r=r.replace(/<meta[^>]+>/,""),"INLINE"!==s){var d=r||i;if(-1!==d.indexOf("\x3c!-- wp:"))return ih(d)}if(String.prototype.normalize&&(r=r.normalize()),!i||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(t=i,r=Jh.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(function(e,t,n,r){return"".concat(t,"\n").concat(n,"\n").concat(r)}))}(t)),"AUTO"===s&&-1===i.indexOf("\n")&&0!==i.indexOf("<p>")&&0===r.indexOf("<p>")&&(s="INLINE")),"INLINE"===s)return rp(r);var f=Nh(r),h=f.length>1;if("AUTO"===s&&!h&&function(e,t){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;var r=Array.from(n.body.children);return!r.some(zh)&&Ah(r,t)}(r,c))return rp(r);var p=Object(N.filter)(xd("from"),{type:"raw"}).map((function(e){return e.isMatch?e:D({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),v=sh(),m=fh(p),b=Object(N.compact)(Object(N.flatMap)(f,(function(e){if("string"!=typeof e)return e;var t=[tp,Uh,Hh,Sh,Xh,Fh,wh,Lh,Ch,Eh];u||t.unshift(ep);var n=D({},m,v);return e=mh(e=vh(e,t,m),n),e=kh(e),np.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,n=e.rawTransforms,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,Array.from(r.body.children).map((function(e){var t=Td(n,(function(t){return(0,t.isMatch)(e)}));if(!t)return wd("core/html",nh("core/html",e.outerHTML));var r=t.transform,o=t.blockName;return r?r(e):wd(o,nh(o,e.outerHTML))}))}({html:e,rawTransforms:p})})));if("AUTO"===s&&1===b.length){var g=i.trim();if(""!==g&&-1===g.indexOf("\n"))return mh(vf(b[0]),v)}return b}function ip(e){var t=e.HTML,n=void 0===t?"":t;if(-1!==n.indexOf("\x3c!-- wp:"))return ih(n);var r=Nh(n),o=Object(N.filter)(xd("from"),{type:"raw"}).map((function(e){return e.isMatch?e:D({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),i=fh(o);return Object(N.compact)(Object(N.flatMap)(r,(function(e){return"string"!=typeof e?e:(e=vh(e,[Sh,wh,Ch,Eh],i),function(e){var t=e.html,n=e.rawTransforms,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,Array.from(r.body.children).map((function(e){var t=Td(n,(function(t){return(0,t.isMatch)(e)}));if(!t)return wd("core/html",nh("core/html",e.outerHTML));var r=t.transform,o=t.blockName;return r?r(e):wd(o,nh(o,e.outerHTML))}))}({html:e=kh(e),rawTransforms:o}))})))}function ap(){return Nu("core/blocks").getCategories()}function sp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(N.map)(t,(function(t,n){var r=Fe(t,3),o=r[0],i=r[1],a=r[2],s=e[n];if(s&&s.name===o)return D({},s,{innerBlocks:sp(s.innerBlocks,a)});var c=md(o),l=function(e,t){return Object(N.mapValues)(t,(function(t,n){return u(e[n],t)}))},u=function(e,t){return n=e,"html"===Object(N.get)(n,["source"])&&Object(N.isArray)(t)?de(t):function(e){return"query"===Object(N.get)(e,["source"])}(e)&&t?t.map((function(t){return l(e.query,t)})):t;var n};return wd(o,l(Object(N.get)(c,["attributes"],{}),i),sp([],a))})):e}function cp(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function lp(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function up(e,t){return lp(e)&&e.type===t}function dp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!up(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!lp(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){lp(e)&&t(e),n(e)}),r)}))}}var fp=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},hp=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},pp=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),vp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return pp(e,t)}return e};function mp(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function bp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==mp(e,t,n)}function gp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===mp(e,t,n)}function yp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===mp(e,t,n)}function kp(e){return e}function _p(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function wp(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Op(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Sp(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Ep(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Cp(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[hp(n,e),fp];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=dp(e,t.dispatch);return function(e){return function(t){return cp(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:vp,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},m,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(v,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!bp(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(_p(o,a)),e.next=9,Tp.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(wp(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function Tp(e,t,n){return xp.apply(this,arguments)}function xp(){return(xp=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Dp=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Mp,jp,Ip=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Cp(e,t,u);return l(e,n),n.store},l("core/data",Dp(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}(),Pp={getItem:function(e){return Mp&&Mp[e]?Mp[e]:null},setItem:function(e,t){Mp||Pp.clear(),Mp[e]=String(t)},clear:function(){Mp=Object.create(null)}},Np=Pp;try{(jp=window.localStorage).setItem("__wpDataTestLocalStorage",""),jp.removeItem("__wpDataTestLocalStorage")}catch(hE){jp=Np}var Rp=jp;function Lp(e){var t,n=e.storage,r=void 0===n?Rp:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Ap=function(e,t){var n=Lp(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};Ap.__unstableMigrate=function(e){var t=Lp(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var zp=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};zp((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());zp((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),zp((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var Fp=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Hp=Object(I.createContext)(Ip),Vp=Hp.Consumer,Bp=(Hp.Provider,Vp);var Up=Object(I.createContext)(!1);Up.Consumer,Up.Provider;"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);Fp(r)}}();"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,zp((function(e){return function(t){return Object(I.createElement)(Bp,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");function Wp(e){return e.isRegistrySelector=!0,e}function Kp(e){return e.isRegistryControl=!0,e}Ip.select,Ip.dispatch,Ip.subscribe,Ip.registerGenericStore;var Yp=Ip.registerStore,$p=(Ip.use,function(e){return function(t){return function(n,r){return void 0===n||e(r)?t(n,r):n}}}),qp=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}},Gp=function(e){return function(t){return function(n,r){return t(n,e(r))}}};function Zp(e){return{type:"RECEIVE_ITEMS",items:Object(N.castArray)(e)}}function Xp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return D({},Zp(e),{query:t})}var Qp=function(e){var t=new WeakMap;return function(n){var r;return t.has(n)?r=t.get(n):(r=e(n),Object(N.isObjectLike)(n)&&t.set(n,r)),r}}((function(e){for(var t={stableKey:"",page:1,perPage:10},n=Object.keys(e).sort(),r=0;r<n.length;r++){var o=n[r],i=e[o];switch(o){case"page":t[o]=Number(i);break;case"per_page":t.perPage=Number(i);break;default:t.stableKey+=(t.stableKey?"&":"")+_e("",x({},o,i)).slice(1)}}return t})),Jp=new WeakMap;function ev(e,t){var n=Qp(t),r=n.stableKey,o=n.page,i=n.perPage;if(!e.queries[r])return null;var a=e.queries[r];if(!a)return null;for(var s=-1===i?0:(o-1)*i,c=-1===i?a.length:Math.min(s+i,a.length),l=[],u=s;u<c;u++){var d=a[u];l.push(e.items[d])}return l}var tv=ao((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Jp.get(e);if(n){var r=n.get(t);if(void 0!==r)return r}else n=new mt.a,Jp.set(e,n);var o=ev(e,t);return n.set(t,o),o}));var nv=function(e){function t(e,n){var r=e.headers,o=void 0===r?{}:r;for(var i in o)if("x-wp-nonce"===i.toLowerCase())return n(e);return n(D({},e,{headers:D({},o,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},rv=function(e,t){var n,r,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(n=e.namespace.replace(/^\/|\/$/g,""),o=(r=e.endpoint.replace(/^\//,""))?n+"/"+r:n),delete e.namespace,delete e.endpoint,t(D({},e,{path:o}))},ov=function(e){return function(t,n){return rv(t,(function(t){var r,o=t.url,i=t.path;return"string"==typeof i&&(r=e,-1!==e.indexOf("?")&&(i=i.replace("?","&")),i=i.replace(/^\//,""),"string"==typeof r&&-1!==r.indexOf("?")&&(i=i.replace("?","&")),o=r+i),n(D({},t,{url:o}))}))}},iv=function(e){return function(t,n){var r=t.parse,o=void 0===r||r;if("string"==typeof t.path){var i=t.method||"GET",a=function(e){var t=e.split("?"),n=t[1],r=t[0];return n?r+"?"+n.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):r}(t.path);if(o&&"GET"===i&&e[a])return Promise.resolve(e[a].body);if("OPTIONS"===i&&e[i]&&e[i][a])return Promise.resolve(e[i][a])}return n(t)}},av=function(e){return e.json?e.json():Promise.reject(e)},sv=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},cv=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),n=e.url&&-1!==e.url.indexOf("per_page=-1");return t||n},lv=function(){var e=Ke(Ue.a.mark((function e(t,n){var r,o,i,a,s,c;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",n(t));case 2:if(cv(t)){e.next=4;break}return e.abrupt("return",n(t));case 4:return e.next=6,n(D({},(u={per_page:100},d=void 0,f=void 0,d=(l=t).path,f=l.url,D({},j(l,["path","url"]),{url:f&&_e(f,u),path:d&&_e(d,u)})),{parse:!1}));case 6:return r=e.sent,e.next=9,av(r);case 9:if(o=e.sent,Array.isArray(o)){e.next=12;break}return e.abrupt("return",o);case 12:if(i=sv(r)){e.next=15;break}return e.abrupt("return",o);case 15:a=[].concat(o);case 16:if(!i){e.next=27;break}return e.next=19,n(D({},t,{path:void 0,url:i,parse:!1}));case 19:return s=e.sent,e.next=22,av(s);case 22:c=e.sent,a=a.concat(c),i=sv(s),e.next=16;break;case 27:return e.abrupt("return",a);case 28:case"end":return e.stop()}var l,u,d,f}),e)})));return function(t,n){return e.apply(this,arguments)}}(),uv=new Set(["PATCH","PUT","DELETE"]);var dv={Accept:"application/json, */*;q=0.1"},fv={credentials:"include"},hv=[function(e,t){return"string"!=typeof e.url||we(e.url,"_locale")||(e.url=_e(e.url,{_locale:"user"})),"string"!=typeof e.path||we(e.path,"_locale")||(e.path=_e(e.path,{_locale:"user"})),t(e,t)},rv,function(e,t){var n=e.method,r=void 0===n?"GET":n;return uv.has(r.toUpperCase())&&(e=D({},e,{headers:D({},e.headers,{"X-HTTP-Method-Override":r,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},lv];var pv=function(e){var t=e.url,n=e.path,r=e.data,o=e.parse,i=void 0===o||o,a=j(e,["url","path","data","parse"]),s=e.body,c=e.headers;c=D({},dv,c),r&&(s=JSON.stringify(r),c["Content-Type"]="application/json");return window.fetch(t||n,D({},fv,a,{body:s,headers:c})).then((function(e){if(e.status>=200&&e.status<300)return e;throw e})).then((function(e){return i?204===e.status?null:e.json?e.json():Promise.reject(e):e})).catch((function(e){if(!i)throw e;var t={code:"invalid_json",message:ve("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t})).then((function(e){var t={code:"unknown_error",message:ve("An unknown error occurred.")};throw e||t}))}))};function vv(e){var t=[].concat(hv,[pv]);return function e(n){return function(r){var o=t[n];return n===t.length-1?o(r):o(r,e(n+1))}}(0)(e)}vv.use=function(e){hv.unshift(e)},vv.setFetchHandler=function(e){pv=e},vv.createNonceMiddleware=nv,vv.createPreloadingMiddleware=iv,vv.createRootURLMiddleware=ov,vv.fetchAllMiddleware=lv;var mv=vv;function bv(e){return{type:"API_FETCH",request:e}}function gv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:"SELECT",selectorName:e,args:n}}function yv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:"RESOLVE_SELECT",selectorName:e,args:n}}var kv={API_FETCH:function(e){var t=e.request;return mv(t)},SELECT:Kp((function(e){return function(t){var n,r=t.selectorName,o=t.args;return(n=e.select("core"))[r].apply(n,ft(o))}})),RESOLVE_SELECT:Kp((function(e){return function(t){var n=t.selectorName,r=t.args;return new Promise((function(t){var o=function(){return e.select("core/data").hasFinishedResolution("core",n,r)},i=function(){return e.select("core")[n].apply(null,r)},a=i();if(o())return t(a);var s=e.subscribe((function(){o()&&(s(),t(i()))}))}))}}))},_v=Ue.a.mark(xv);function wv(e,t){return{type:"RECEIVE_USER_QUERY",users:Object(N.castArray)(t),queryID:e}}function Ov(e){return{type:"RECEIVE_CURRENT_USER",currentUser:e}}function Sv(e){return{type:"ADD_ENTITIES",entities:e}}function Ev(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return D({},r?Xp(n,r):Zp(n),{kind:e,name:t,invalidateCache:o})}function Cv(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function Tv(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function xv(e,t,n){var r,o,i,a,s;return Ue.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Vv(e);case 2:if(r=c.sent,o=Object(N.find)(r,{kind:e,name:t})){c.next=6;break}return c.abrupt("return");case 6:return i=o.key||Rv,a=n[i],c.next=10,bv({path:"".concat(o.baseURL).concat(a?"/"+a:""),method:a?"PUT":"POST",data:n});case 10:return s=c.sent,c.next=13,Ev(e,t,s,void 0,!0);case 13:return c.abrupt("return",s);case 14:case"end":return c.stop()}}),_v)}function Dv(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function Mv(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function jv(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(N.castArray)(t)}}var Iv=Ue.a.mark(zv),Pv=Ue.a.mark(Fv),Nv=Ue.a.mark(Vv),Rv="id",Lv=[{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"},{name:"widgetArea",kind:"root",baseURL:"/__experimental/widget-areas",plural:"widgetAreas"}],Av=[{name:"postType",loadEntities:zv},{name:"taxonomy",loadEntities:Fv}];function zv(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(N.map)(e,(function(e,t){return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),Iv)}function Fv(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(N.map)(e,(function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),Pv)}var Hv=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Object(N.find)(Lv,{kind:e,name:t}),i="root"===e?"":Object(N.upperFirst)(Object(N.camelCase)(e)),a=Object(N.upperFirst)(Object(N.camelCase)(t))+(r?"s":""),s=r&&o.plural?Object(N.upperFirst)(Object(N.camelCase)(o.plural)):a;return"".concat(n).concat(i).concat(s)};function Vv(e){var t,n;return Ue.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,gv("getEntitiesByKind",e);case 2:if(!(t=r.sent)||0===t.length){r.next=5;break}return r.abrupt("return",t);case 5:if(n=Object(N.find)(Av,{name:e})){r.next=8;break}return r.abrupt("return",[]);case 8:return r.next=10,n.loadEntities();case 10:return t=r.sent,r.next=13,Sv(t);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}}),Nv)}function Bv(e,t,n,r){for(var o=(n-1)*r,i=Math.max(e.length,o+t.length),a=new Array(i),s=0;s<i;s++){var c=s>=o&&s<o+t.length;a[s]=c?t[s-o]:e[s]}return a}var Uv=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:qe.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:qe.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+qe.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(s){i=s}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},s=0;s<a.length;s++){var c=a[s],l=n[c],u=e[c],d=l(u,t);if(void 0===d){var f=Xe(c,t);throw new Error(f)}o[c]=d,r=r||d!==u}return r?o:e}}({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return D({},e,Object(N.keyBy)(t.items,t.key||Rv))}return e},queries:Object(N.flowRight)([$p((function(e){return"query"in e})),Gp((function(e){return e.query?D({},e,Qp(e.query)):e})),qp("stableKey")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.page,o=t.perPage,i=t.key,a=void 0===i?Rv:i;return"RECEIVE_ITEMS"!==n?e:Bv(e||[],Object(N.map)(t.items,a),r,o)}))});function Wv(e){return Object(N.flowRight)([$p((function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind})),Gp((function(t){return D({},t,{key:e.key||Rv})}))])(Uv)}function Kv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lv,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[].concat(ft(e),ft(t.entities))}return e}var Yv=Ve()({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return D({},e,x({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:D({},e.byId,Object(N.keyBy)(t.users,"id")),queries:D({},e.queries,x({},t.queryID,Object(N.map)(t.users,(function(e){return e.id}))))}}return e},currentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return D({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Kv(e.config,t),r=e.reducer;if(!r||n!==e.config){var o=Object(N.groupBy)(n,"kind");r=Ve()(Object.entries(o).reduce((function(e,t){var n=Fe(t,2),r=n[0],o=n[1],i=Ve()(o.reduce((function(e,t){return D({},e,x({},t.name,Wv(t)))}),{}));return e[r]=i,e}),{}))}var i=r(e.data,t);return i===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:i,config:n}},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var n=t.url,r=t.preview;return D({},e,x({},n,r))}return e},userPermissions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return D({},e,x({},t.key,t.isAllowed))}return e},autosaves:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_AUTOSAVES":var n=t.postId,r=t.autosaves;return D({},e,x({},n,r))}return e}}),$v=Wp((function(e){return function(t,n){return e("core/data").isResolving("core","getEmbedPreview",[n])}}));function qv(e){return Zv(e,"authors")}function Gv(e){return e.currentUser}var Zv=ao((function(e,t){var n=e.users.queries[t];return Object(N.map)(n,(function(t){return e.users.byId[t]}))}),(function(e,t){return[e.users.queries[t],e.users.byId]}));function Xv(e,t){return Object(N.filter)(e.entities.config,{kind:t})}function Qv(e,t,n){return Object(N.find)(e.entities.config,{kind:t,name:n})}function Jv(e,t,n,r){return Object(N.get)(e.entities.data,[t,n,"items",r])}function em(e,t,n,r){var o=Object(N.get)(e.entities.data,[t,n]);return o?tv(o,r):[]}function tm(e){return e.themeSupports}function nm(e,t){return e.embedPreviews[t]}function rm(e,t){var n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function om(e){return zr("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(N.defaultTo)(im(e,"create","media"),!0)}function im(e,t,n,r){var o=Object(N.compact)([t,n,r]).join("/");return Object(N.get)(e,["userPermissions",o])}function am(e,t,n){return e.autosaves[n]}function sm(e,t,n,r){if(void 0!==r){var o=e.autosaves[n];return Object(N.find)(o,{author:r})}}var cm=Wp((function(e){return function(t,n,r){return e("core").hasFinishedResolution("getAutosaves",[n,r])}})),lm=Ue.a.mark(ym),um=Ue.a.mark(km),dm=Ue.a.mark(_m),fm=Ue.a.mark(wm),hm=Ue.a.mark(Om),pm=Ue.a.mark(Sm),vm=Ue.a.mark(Em),mm=Ue.a.mark(Cm),bm=Ue.a.mark(Tm),gm=Ue.a.mark(xm);function ym(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,wv("authors",e);case 5:case"end":return t.stop()}}),lm)}function km(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/users/me"});case 2:return e=t.sent,t.next=5,Ov(e);case 5:case"end":return t.stop()}}),um)}function _m(e,t,n){var r,o,i;return Ue.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Vv(e);case 2:if(r=a.sent,o=Object(N.find)(r,{kind:e,name:t})){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,bv({path:"".concat(o.baseURL,"/").concat(n,"?context=edit")});case 8:return i=a.sent,a.next=11,Ev(e,t,i);case 11:case"end":return a.stop()}}),dm)}function wm(e,t){var n,r,o,i,a,s=arguments;return Ue.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=s.length>2&&void 0!==s[2]?s[2]:{},c.next=3,Vv(e);case 3:if(r=c.sent,o=Object(N.find)(r,{kind:e,name:t})){c.next=7;break}return c.abrupt("return");case 7:return i=_e(o.baseURL,D({},n,{context:"edit"})),c.next=10,bv({path:i});case 10:return a=c.sent,c.next=13,Ev(e,t,Object.values(a),n);case 13:case"end":return c.stop()}}),fm)}function Om(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,Cv(e[0].theme_supports);case 5:case"end":return t.stop()}}),hm)}function Sm(e){var t;return Ue.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,bv({path:_e("/oembed/1.0/proxy",{url:e})});case 3:return t=n.sent,n.next=6,Tv(e,t);case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,Tv(e,!1);case 12:case"end":return n.stop()}}),pm,null,[[0,8]])}function Em(){return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return zr("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(Cm("create","media"),"t0",2);case 2:case"end":return e.stop()}}),vm)}function Cm(e,t,n){var r,o,i,a,s,c;return Ue.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e]){l.next=4;break}throw new Error("'".concat(e,"' is not a valid action."));case 4:return o=n?"/wp/v2/".concat(t,"/").concat(n):"/wp/v2/".concat(t),l.prev=5,l.next=8,bv({path:o,method:n?"GET":"OPTIONS",parse:!1});case 8:i=l.sent,l.next=14;break;case 11:return l.prev=11,l.t0=l.catch(5),l.abrupt("return");case 14:return a=Object(N.hasIn)(i,["headers","get"])?i.headers.get("allow"):Object(N.get)(i,["headers","Allow"],""),s=Object(N.compact)([e,t,n]).join("/"),c=Object(N.includes)(a,r),l.next=19,Mv(s,c);case 19:case"end":return l.stop()}}),mm,null,[[5,11]])}function Tm(e,t){var n,r,o;return Ue.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,yv("getPostType",e);case 2:return n=i.sent,r=n.rest_base,i.next=6,bv({path:"/wp/v2/".concat(r,"/").concat(t,"/autosaves?context=edit")});case 6:if(!(o=i.sent)||!o.length){i.next=10;break}return i.next=10,jv(t,o);case 10:case"end":return i.stop()}}),bm)}function xm(e,t){return Ue.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,yv("getAutosaves",e,t);case 2:case"end":return n.stop()}}),gm)}wm.shouldInvalidate=function(e,t,n){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&n===e.name};var Dm=Lv.reduce((function(e,t){var n=t.kind,r=t.name;return e[Hv(n,r)]=function(e,t){return Jv(e,n,r,t)},e[Hv(n,r,"get",!0)]=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];return em.apply(g,[e,n,r].concat(o))},e}),{}),Mm=Lv.reduce((function(e,t){var n=t.kind,r=t.name;e[Hv(n,r)]=function(e){return _m(n,r,e)};var o=Hv(n,r,"get",!0);return e[o]=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return wm.apply(y,[n,r].concat(t))},e[o].shouldInvalidate=function(e){for(var t,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(t=wm).shouldInvalidate.apply(t,[e,n,r].concat(i))},e}),{});function jm(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function Im(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function Pm(e,t){return Im(e)&&e.type===t}function Nm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!Pm(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!Im(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){Im(e)&&t(e),n(e)}),r)}))}}Yp("core",{reducer:Yv,controls:kv,actions:D({},b,Lv.reduce((function(e,t){var n=t.kind,r=t.name;return e[Hv(n,r,"save")]=function(e){return xv(n,r,e)},e}),{})),selectors:D({},g,Dm),resolvers:D({},y,Mm)});var Rm=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},Lm=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},Am=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),zm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return Am(e,t)}return e};function Fm(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function Hm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==Fm(e,t,n)}function Vm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===Fm(e,t,n)}function Bm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===Fm(e,t,n)}function Um(e){return e}function Wm(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Km(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Ym(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function $m(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function qm(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Gm(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[Lm(n,e),Rm];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=Nm(e,t.dispatch);return function(e){return function(t){return jm(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:zm,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},_,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(k,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!Hm(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(Wm(o,a)),e.next=9,Zm.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(Km(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function Zm(e,t,n){return Xm.apply(this,arguments)}function Xm(){return(Xm=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Qm=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Jm,eb,tb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Gm(e,t,u);return l(e,n),n.store},l("core/data",Qm(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}(),nb={getItem:function(e){return Jm&&Jm[e]?Jm[e]:null},setItem:function(e,t){Jm||nb.clear(),Jm[e]=String(t)},clear:function(){Jm=Object.create(null)}},rb=nb;try{(eb=window.localStorage).setItem("__wpDataTestLocalStorage",""),eb.removeItem("__wpDataTestLocalStorage")}catch(hE){eb=rb}var ob=eb;function ib(e){var t,n=e.storage,r=void 0===n?ob:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var ab=function(e,t){var n=ib(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};ab.__unstableMigrate=function(e){var t=ib(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var sb=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}},cb=function(e){return sb((function(t){return function(n){return e(n)?Object(I.createElement)(t,n):null}}),"ifCondition")},lb=sb((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure");new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());sb((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),sb((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var ub=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,db=Object(I.createContext)(tb),fb=db.Consumer,hb=(db.Provider,fb);function pb(){return Object(I.useContext)(db)}var vb=Object(I.createContext)(!1);vb.Consumer,vb.Provider;var mb="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,bb=function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);ub(r)};return{add:function(o,i){t.has(o)||e.push(o),t.set(o,i),n||(n=!0,ub(r))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}();function gb(e,t){var n,r=Object(I.useCallback)(e,t),o=pb(),i=Object(I.useContext)(vb),a=Object(I.useMemo)((function(){return{queue:!0}}),[o]),s=Fe(Object(I.useReducer)((function(e){return e+1}),0),2)[1],c=Object(I.useRef)(),l=Object(I.useRef)(i),u=Object(I.useRef)(),d=Object(I.useRef)(),f=Object(I.useRef)();try{n=c.current!==r||d.current?r(o.select,o):u.current}catch(hE){var h="An error occurred while running 'mapSelect': ".concat(hE.message);if(d.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(d.current.stack,"\n\n"),h+="Original stack trace:",new Error(h)}return mb((function(){c.current=r,l.current!==i&&(l.current=i,bb.flush(a)),u.current=n,d.current=void 0,f.current=!0})),mb((function(){var e=function(){if(f.current){try{var e=c.current(o.select,o);if(Object(Wn.isShallowEqualObjects)(u.current,e))return;u.current=e}catch(hE){d.current=hE}s({})}};l.current?bb.add(a,e):e();var t=o.subscribe((function(){l.current?bb.add(a,e):e()}));return function(){f.current=!1,t(),bb.flush(a)}}),[o]),n}var yb=function(e){return sb((function(t){return lb((function(n){var r=gb((function(t,r){return e(t,n,r)}));return Object(I.createElement)(t,Le({},n,r))}))}),"withSelect")};"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,sb((function(e){return function(t){return Object(I.createElement)(hb,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");tb.select;var kb=tb.dispatch,_b=(tb.subscribe,tb.registerGenericStore,tb.registerStore);tb.use;function wb(e){return{type:"SET_IS_MATCHING",values:e}}function Ob(e,t){return-1===t.indexOf(" ")&&(t=">= "+t),!!e[t]}_b("core/viewport",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_IS_MATCHING":return t.values}return e},actions:w,selectors:O});var Sb=function(e){return sb(yb((function(t){return Object(N.mapValues)(e,(function(e){return t("core/viewport").isViewportMatch(e)}))})),"withViewportMatch")},Eb=function(e){return sb(Object(N.flowRight)([Sb({isViewportMatch:e}),cb((function(e){return e.isViewportMatch}))]),"ifViewportMatches")},Cb={"<":"max-width",">=":"min-width"},Tb=Object(N.debounce)((function(){var e=Object(N.mapValues)(xb,(function(e){return e.matches}));kb("core/viewport").setIsMatching(e)}),{leading:!0}),xb=Object(N.reduce)({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},(function(e,t,n){return Object(N.forEach)(Cb,(function(r,o){var i=window.matchMedia("(".concat(r,": ").concat(t,"px)"));i.addListener(Tb);var a=[o,n].join(" ");e[a]=i})),e}),{});function Db(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function Mb(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function jb(e,t){return Mb(e)&&e.type===t}function Ib(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!jb(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!Mb(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){Mb(e)&&t(e),n(e)}),r)}))}}window.addEventListener("orientationchange",Tb),Tb(),Tb.flush();var Pb=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},Nb=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},Rb=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),Lb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return Rb(e,t)}return e};function Ab(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function zb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==Ab(e,t,n)}function Fb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===Ab(e,t,n)}function Hb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===Ab(e,t,n)}function Vb(e){return e}function Bb(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Ub(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Wb(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Kb(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Yb(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function $b(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[Nb(n,e),Pb];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=Ib(e,t.dispatch);return function(e){return function(t){return Db(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:Lb,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},E,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(S,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!zb(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(Bb(o,a)),e.next=9,qb.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(Ub(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function qb(e,t,n){return Gb.apply(this,arguments)}function Gb(){return(Gb=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Zb=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};function Xb(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=$b(e,t,u);return l(e,n),n.store},l("core/data",Zb(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}var Qb,Jb,eg=Xb(),tg={getItem:function(e){return Qb&&Qb[e]?Qb[e]:null},setItem:function(e,t){Qb||tg.clear(),Qb[e]=String(t)},clear:function(){Qb=Object.create(null)}},ng=tg;try{(Jb=window.localStorage).setItem("__wpDataTestLocalStorage",""),Jb.removeItem("__wpDataTestLocalStorage")}catch(hE){Jb=ng}var rg=Jb;function og(e){var t,n=e.storage,r=void 0===n?rg:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var ig=function(e,t){var n=og(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};ig.__unstableMigrate=function(e){var t=og(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var ag=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}},sg=function(e){return ag((function(t){return function(n){return e(n)?Object(I.createElement)(t,n):null}}),"ifCondition")},cg=ag((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure");new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());var lg=ag((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),ug=ag((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var dg=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,fg=Object(I.createContext)(eg),hg=fg.Consumer,pg=fg.Provider,vg=hg,mg=pg;function bg(){return Object(I.useContext)(fg)}var gg=Object(I.createContext)(!1),yg=(gg.Consumer,gg.Provider);var kg="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,_g=function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);dg(r)};return{add:function(o,i){t.has(o)||e.push(o),t.set(o,i),n||(n=!0,dg(r))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}();function wg(e,t){var n,r=Object(I.useCallback)(e,t),o=bg(),i=Object(I.useContext)(gg),a=Object(I.useMemo)((function(){return{queue:!0}}),[o]),s=Fe(Object(I.useReducer)((function(e){return e+1}),0),2)[1],c=Object(I.useRef)(),l=Object(I.useRef)(i),u=Object(I.useRef)(),d=Object(I.useRef)(),f=Object(I.useRef)();try{n=c.current!==r||d.current?r(o.select,o):u.current}catch(hE){var h="An error occurred while running 'mapSelect': ".concat(hE.message);if(d.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(d.current.stack,"\n\n"),h+="Original stack trace:",new Error(h)}return kg((function(){c.current=r,l.current!==i&&(l.current=i,_g.flush(a)),u.current=n,d.current=void 0,f.current=!0})),kg((function(){var e=function(){if(f.current){try{var e=c.current(o.select,o);if(Object(Wn.isShallowEqualObjects)(u.current,e))return;u.current=e}catch(hE){d.current=hE}s({})}};l.current?_g.add(a,e):e();var t=o.subscribe((function(){l.current?_g.add(a,e):e()}));return function(){f.current=!1,t(),_g.flush(a)}}),[o]),n}var Og=function(e){return ag((function(t){return cg((function(n){var r=wg((function(t,r){return e(t,n,r)}));return Object(I.createElement)(t,Le({},n,r))}))}),"withSelect")},Sg="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,Eg=function(e,t){var n=bg(),r=Object(I.useRef)(e);return Sg((function(){r.current=e})),Object(I.useMemo)((function(){var e=r.current(n.dispatch,n);return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=r.current(n.dispatch,n))[t].apply(e,arguments)}}))}),[n].concat(ft(t)))},Cg=function(e){return ag((function(t){return function(n){var r=Eg((function(t,r){return e(t,n,r)}),[]);return Object(I.createElement)(t,Le({},n,r))}}),"withDispatch")},Tg=ag((function(e){return function(t){return Object(I.createElement)(vg,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");eg.select,eg.dispatch,eg.subscribe,eg.registerGenericStore;var xg=eg.registerStore,Dg=(eg.use,{insertUsage:{}}),Mg={alignWide:!1,colors:[{name:ve("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:ve("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:ve("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:ve("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:ve("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:ve("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:ve("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:ve("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:ve("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:ve("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:ve("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:be("Small","font size name"),size:13,slug:"small"},{name:be("Normal","font size name"),size:16,slug:"normal"},{name:be("Medium","font size name"),size:20,slug:"medium"},{name:be("Large","font size name"),size:36,slug:"large"},{name:be("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",label:ve("Thumbnail")},{slug:"medium",label:ve("Medium")},{slug:"large",label:ve("Large")},{slug:"full",label:ve("Full Size")}],maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},hasPermissionsToManageWidgets:!1};function jg(e,t,n){return[].concat(ft(e.slice(0,n)),ft(Object(N.castArray)(t)),ft(e.slice(n)))}function Ig(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=ft(e);return o.splice(t,r),jg(o,e.slice(t,t+r),n)}function Pg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=x({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,Pg(o,r))})),n}function Ng(e,t){for(var n={},r=ft(e);r.length;){var o=r.shift(),i=o.innerBlocks,a=j(o,["innerBlocks"]);r.push.apply(r,ft(i)),n[a.clientId]=t(a)}return n}function Rg(e){return Ng(e,(function(e){return Object(N.omit)(e,"attributes")}))}function Lg(e){return Ng(e,(function(e){return e.attributes}))}function Ag(e,t){return e===t?D({},e):t}function zg(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(N.isEqual)(Object(N.keys)(n),Object(N.keys)(r)));var n,r}var Fg=Object(N.flow)(Ve.a,(function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var r=ft(n.clientIds),o=0;o<r.length;o++)r.push.apply(r,ft(t.order[r[o]]));n=D({},n,{clientIds:r})}return e(t,n)}}),(function(e){return function(t,n){if("REPLACE_INNER_BLOCKS"!==n.type)return e(t,n);var r=t;t.order[n.rootClientId]&&(r=e(r,{type:"REMOVE_BLOCKS",clientIds:t.order[n.rootClientId]}));var o=r;return n.blocks.length&&(o=e(o,D({},n,{type:"INSERT_BLOCKS",index:0}))),o}}),(function(e){return function(t,n){if(t&&"RESET_BLOCKS"===n.type){var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(N.reduce)(t[n],(function(n,r){return[].concat(ft(n),[r],ft(e(t,r)))}),[])}(t.order);return D({},t,{byClientId:D({},Object(N.omit)(t.byClientId,r),Rg(n.blocks)),attributes:D({},Object(N.omit)(t.attributes,r),Lg(n.blocks)),order:D({},Object(N.omit)(t.order,r),Pg(n.blocks))})}return e(t,n)}}),(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=D({},t)).attributes=Object(N.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?D({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){var t;return function(n,r){var o=e(n,r),i="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;if(n===o&&!i){var a=Object(N.get)(n,["isPersistentChange"],!0);return n.isPersistentChange===a?n:D({},o,{isPersistentChange:a})}return o=D({},o,{isPersistentChange:i||!zg(r,t)}),t=r,o}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Rg(t.blocks);case"RECEIVE_BLOCKS":return D({},e,Rg(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(N.omit)(t.updates,"attributes");return Object(N.isEmpty)(n)?e:D({},e,x({},t.clientId,D({},e[t.clientId],n)));case"INSERT_BLOCKS":return D({},e,Rg(t.blocks));case"REPLACE_BLOCKS":return t.blocks?D({},Object(N.omit)(e,t.clientIds),Rg(t.blocks)):e;case"REMOVE_BLOCKS":return Object(N.omit)(e,t.clientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Lg(t.blocks);case"RECEIVE_BLOCKS":return D({},e,Lg(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?D({},e,x({},t.clientId,D({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(N.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=Ag(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:D({},e,x({},t.clientId,n));case"INSERT_BLOCKS":return D({},e,Lg(t.blocks));case"REPLACE_BLOCKS":return t.blocks?D({},Object(N.omit)(e,t.clientIds),Lg(t.blocks)):e;case"REMOVE_BLOCKS":return Object(N.omit)(e,t.clientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Pg(t.blocks);case"RECEIVE_BLOCKS":return D({},e,Object(N.omit)(Pg(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=Pg(t.blocks,r),a=t.index,s=void 0===a?o.length:a;return D({},e,i,x({},r,jg(o,i[r],s)));case"MOVE_BLOCK_TO_POSITION":var c,l=t.fromRootClientId,u=void 0===l?"":l,d=t.toRootClientId,f=void 0===d?"":d,h=t.clientId,p=t.index,v=void 0===p?e[f].length:p;if(u===f){var m=e[f],b=m.indexOf(h);return D({},e,x({},f,Ig(e[f],b,v)))}return D({},e,(x(c={},u,Object(N.without)(e[u],h)),x(c,f,jg(e[f],h,v)),c));case"MOVE_BLOCKS_UP":var g=t.clientIds,y=t.rootClientId,k=void 0===y?"":y,_=Object(N.first)(g),w=e[k];if(!w.length||_===Object(N.first)(w))return e;var O=w.indexOf(_);return D({},e,x({},k,Ig(w,O,O-1,g.length)));case"MOVE_BLOCKS_DOWN":var S=t.clientIds,E=t.rootClientId,C=void 0===E?"":E,T=Object(N.first)(S),M=Object(N.last)(S),j=e[C];if(!j.length||M===Object(N.last)(j))return e;var I=j.indexOf(T);return D({},e,x({},C,Ig(j,I,I+1,S.length)));case"REPLACE_BLOCKS":var P=t.clientIds;if(!t.blocks)return e;var R=Pg(t.blocks);return Object(N.flow)([function(e){return Object(N.omit)(e,P)},function(e){return D({},e,Object(N.omit)(R,""))},function(e){return Object(N.mapValues)(e,(function(e){return Object(N.reduce)(e,(function(e,t){return t===P[0]?[].concat(ft(e),ft(R[""])):(-1===P.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS":return Object(N.flow)([function(e){return Object(N.omit)(e,t.clientIds)},function(e){return Object(N.mapValues)(e,(function(e){return N.without.apply(void 0,[e].concat(ft(t.clientIds)))}))}])(e)}return e}});var Hg={},Vg={start:Hg,end:Hg,isMultiSelecting:!1,isEnabled:!0,initialPosition:null};var Bg=Ve()({blocks:Fg,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vg,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return Vg;case"START_MULTI_SELECT":return e.isMultiSelecting?e:D({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?D({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return D({},Vg,{isMultiSelecting:e.isMultiSelecting,start:{clientId:t.start},end:{clientId:t.end}});case"SELECT_BLOCK":return t.clientId===e.start.clientId&&t.clientId===e.end.clientId?e:D({},Vg,{initialPosition:t.initialPosition,start:{clientId:t.clientId},end:{clientId:t.clientId}});case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?D({},Vg,{start:{clientId:t.blocks[0].clientId},end:{clientId:t.blocks[0].clientId}}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start.clientId)?Vg:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.start.clientId&&r.clientId===e.end.clientId?e:D({},Vg,{start:{clientId:r.clientId},end:{clientId:r.clientId}}):Vg;case"TOGGLE_SELECTION":return D({},Vg,{isEnabled:t.isSelectionEnabled});case"SELECTION_CHANGE":return D({},Vg,{start:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},end:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}})}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return D({},e,x({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(N.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(N.isEqual)(e[n],t.settings)?e:D({},e,x({},n,t.settings)):e.hasOwnProperty(n)?Object(N.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":var n=t.rootClientId,r=t.index;return{rootClientId:n,index:r};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return D({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mg,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return D({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Dg,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return kd(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),D({},e,{insertUsage:D({},e.insertUsage,x({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e}}),Ug=n(136),Wg=n.n(Ug),Kg=n(137),Yg=n.n(Kg);function $g(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:"SELECT",storeName:e,selectorName:t,args:r}}var qg,Gg={SELECT:(qg=function(e){return function(t){var n,r=t.storeName,o=t.selectorName,i=t.args;return(n=e.select(r))[o].apply(n,ft(i))}},qg.isRegistryControl=!0,qg)},Zg=Ue.a.mark(ry),Xg=Ue.a.mark(ly),Qg=Ue.a.mark(uy),Jg=Ue.a.mark(my),ey=Ue.a.mark(_y),ty=Ue.a.mark(Oy),ny=Ue.a.mark(Dy);function ry(){return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$g("core/block-editor","getBlockCount");case 2:if(0!==e.sent){e.next=6;break}return e.next=6,zy();case 6:case"end":return e.stop()}}),Zg)}function oy(e){return{type:"RESET_BLOCKS",blocks:e}}function iy(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function ay(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function sy(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function cy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function ly(e){var t;return Ue.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,$g("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,cy(t,-1);case 6:case"end":return n.stop()}}),Xg)}function uy(e){var t;return Ue.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,$g("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,cy(t);case 6:case"end":return n.stop()}}),Qg)}function dy(){return{type:"START_MULTI_SELECT"}}function fy(){return{type:"STOP_MULTI_SELECT"}}function hy(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function py(){return{type:"CLEAR_SELECTED_BLOCK"}}function vy(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function my(e,t,n){var r,o,i;return Ue.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return e=Object(N.castArray)(e),t=Object(N.castArray)(t),a.next=4,$g("core/block-editor","getBlockRootClientId",Object(N.first)(e));case 4:r=a.sent,o=0;case 6:if(!(o<t.length)){a.next=16;break}return i=t[o],a.next=10,$g("core/block-editor","canInsertBlockType",i.name,r);case 10:if(a.sent){a.next=13;break}return a.abrupt("return");case 13:o++,a.next=6;break;case 16:return a.next=18,{type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n};case 18:return a.delegateYield(ry(),"t0",19);case 19:case"end":return a.stop()}}),Jg)}function by(e,t){return my(e,t)}function gy(e){return function(t,n){return{clientIds:Object(N.castArray)(t),type:e,rootClientId:n}}}var yy=gy("MOVE_BLOCKS_DOWN"),ky=gy("MOVE_BLOCKS_UP");function _y(e){var t,n,r,o,i,a=arguments;return Ue.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return t=a.length>1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,s.next=5,$g("core/block-editor","getTemplateLock",t);case 5:if("all"!==s.sent){s.next=8;break}return s.abrupt("return");case 8:if(o={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){s.next=13;break}return s.next=12,o;case 12:return s.abrupt("return");case 13:return s.next=15,$g("core/block-editor","getBlockName",e);case 15:return i=s.sent,s.next=18,$g("core/block-editor","canInsertBlockType",i,n);case 18:if(!s.sent){s.next=22;break}return s.next=22,o;case 22:case"end":return s.stop()}}),ey)}function wy(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return Oy([e],t,n,r)}function Oy(e,t,n){var r,o,i,a,s,c,l,u,d=arguments;return Ue.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:r=!(d.length>3&&void 0!==d[3])||d[3],e=Object(N.castArray)(e),o=[],i=!0,a=!1,s=void 0,f.prev=6,c=e[Symbol.iterator]();case 8:if(i=(l=c.next()).done){f.next=17;break}return u=l.value,f.next=12,$g("core/block-editor","canInsertBlockType",u.name,n);case 12:f.sent&&o.push(u);case 14:i=!0,f.next=8;break;case 17:f.next=23;break;case 19:f.prev=19,f.t0=f.catch(6),a=!0,s=f.t0;case 23:f.prev=23,f.prev=24,i||null==c.return||c.return();case 26:if(f.prev=26,!a){f.next=29;break}throw s;case 29:return f.finish(26);case 30:return f.finish(23);case 31:if(!o.length){f.next=33;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 33:case"end":return f.stop()}}),ty,null,[[6,19,23,31],[24,,26,30]])}function Sy(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Ey(){return{type:"HIDE_INSERTION_POINT"}}function Cy(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Ty(){return{type:"SYNCHRONIZE_TEMPLATE"}}function xy(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Dy(e){var t,n=arguments;return Ue.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(N.castArray)(e),!t){r.next=5;break}return r.next=5,ly(e[0]);case 5:return r.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return r.delegateYield(ry(),"t0",8);case 8:case"end":return r.stop()}}),ny)}function My(e,t){return Dy([e],t)}function jy(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,time:Date.now()}}function Iy(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Py(){return{type:"START_TYPING"}}function Ny(){return{type:"STOP_TYPING"}}function Ry(){return{type:"ENTER_FORMATTED_TEXT"}}function Ly(){return{type:"EXIT_FORMATTED_TEXT"}}function Ay(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function zy(e,t,n){var r=vd();if(r)return wy(wd(r,e),n,t)}function Fy(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Hy(e){return{type:"UPDATE_SETTINGS",settings:e}}function Vy(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function By(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}var Uy=3,Wy=2,Ky=1,Yy=0,$y=[],qy={},Gy=ao((function(){return[]}),(function(e,t){return Object(N.map)(Ik(e,t),(function(t){return Jy(e,t)}))}));function Zy(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function Xy(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}var Qy=ao((function(e,t){var n=e.blocks.byClientId[t];if(!n)return null;var r=e.blocks.attributes[t],o=md(n.name);return o&&(r=Object(N.reduce)(o.attributes,(function(t,n,o){return"meta"===n.source&&(t===r&&(t=D({},t)),t[o]=i_(e,n.meta)),t}),r)),r}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t],i_(e)]})),Jy=ao((function(e,t){var n=e.blocks.byClientId[t];return n?D({},n,{attributes:Qy(e,t),innerBlocks:tk(e,t)}):null}),(function(e,t){return[].concat(ft(Qy.getDependants(e,t)),[Gy(e,t)])})),ek=ao((function(e,t){var n=e.blocks.byClientId[t];return n?D({},n,{attributes:Qy(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t]].concat(ft(Qy.getDependants(e,t)))})),tk=ao((function(e,t){return Object(N.map)(Ik(e,t),(function(t){return Jy(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),nk=function e(t,n){return Object(N.flatMap)(n,(function(n){var r=Ik(t,n);return[].concat(ft(r),ft(e(t,r)))}))},rk=ao((function(e){var t=Ik(e);return[].concat(ft(t),ft(nk(e,t)))}),(function(e){return[e.blocks.order]})),ok=ao((function(e,t){var n=rk(e);return t?Object(N.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),ik=ao((function(e,t){return Object(N.map)(Object(N.castArray)(t),(function(t){return Jy(e,t)}))}),(function(e){return[i_(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function ak(e,t){return Ik(e,t).length}function sk(e){return e.blockSelection.start}function ck(e){return e.blockSelection.end}function lk(e){return e.blockSelection.start.clientId}function uk(e){return e.blockSelection.end.clientId}function dk(e){var t=wk(e).length;return t||(e.blockSelection.start.clientId?1:0)}function fk(e){var t=e.blockSelection,n=t.start,r=t.end;return!!n.clientId&&n.clientId===r.clientId}function hk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId&&n.clientId===r.clientId&&e.blocks.byClientId[n.clientId]?n.clientId:null}function pk(e){var t=hk(e);return t?Jy(e,t):null}var vk=ao((function(e,t){var n=e.blocks.order;for(var r in n)if(Object(N.includes)(n[r],t))return r;return null}),(function(e){return[e.blocks.order]})),mk=ao((function(e,t){for(var n=t,r=t;n;)n=vk(e,r=n);return r}),(function(e){return[e.blocks.order]}));function bk(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=hk(e)),void 0===t&&(t=n<0?Sk(e):Ek(e)),!t)return null;var r=vk(e,t);if(null===r)return null;var o=e.blocks.order,i=o[r],a=i.indexOf(t),s=a+1*n;return s<0?null:s===i.length?null:i[s]}function gk(e,t){return bk(e,t,-1)}function yk(e,t){return bk(e,t,1)}function kk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId&&n.clientId?e.blockSelection.initialPosition:null}var _k=ao((function(e){var t=e.blockSelection,n=t.start,r=t.end;if(void 0===n.clientId||void 0===r.clientId)return $y;if(n.clientId===r.clientId)return[n.clientId];var o=vk(e,n.clientId);if(null===o)return $y;var i=Ik(e,o),a=i.indexOf(n.clientId),s=i.indexOf(r.clientId);return a>s?i.slice(s,a+1):i.slice(a,s+1)}),(function(e){return[e.blocks.order,e.blockSelection.start.clientId,e.blockSelection.end.clientId]}));function wk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?$y:_k(e)}var Ok=ao((function(e){var t=wk(e);return t.length?t.map((function(t){return Jy(e,t)})):$y}),(function(e){return[].concat(ft(_k.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes,i_(e)])}));function Sk(e){return Object(N.first)(wk(e))||null}function Ek(e){return Object(N.last)(wk(e))||null}var Ck=ao((function(e,t,n){for(var r=n;t!==r&&r;)r=vk(e,r);return t===r}),(function(e){return[e.blocks.order]}));function Tk(e,t){return Sk(e)===t}function xk(e,t){return-1!==wk(e).indexOf(t)}var Dk=ao((function(e,t){for(var n=t,r=!1;n&&!r;)r=xk(e,n=vk(e,n));return r}),(function(e){return[e.blocks.order,e.blockSelection.start.clientId,e.blockSelection.end.clientId]}));function Mk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:n.clientId||null}function jk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:r.clientId||null}function Ik(e,t){return e.blocks.order[t||""]||$y}function Pk(e,t,n){return Ik(e,n).indexOf(t)}function Nk(e,t){var n=e.blockSelection,r=n.start,o=n.end;return r.clientId===o.clientId&&r.clientId===t}function Rk(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(N.some)(Ik(e,t),(function(t){return Nk(e,t)||xk(e,t)||n&&Rk(e,t,n)}))}function Lk(e,t){if(!t)return!1;var n=wk(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function Ak(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId!==r.clientId}function zk(e){return e.blockSelection.isMultiSelecting}function Fk(e){return e.blockSelection.isEnabled}function Hk(e,t){return e.blocksMode[t]||"visual"}function Vk(e){return e.isTyping}function Bk(e){return e.isCaretWithinFormattedText}function Uk(e){var t,n,r=e.insertionPoint,o=e.blockSelection;if(null!==r)return r;var i=o.end;return i.clientId?(t=vk(e,i.clientId)||void 0,n=Pk(e,i.clientId,t)+1):n=Ik(e).length,{rootClientId:t,index:n}}function Wk(e){return null!==e.insertionPoint}function Kk(e){return e.template.isValid}function Yk(e){return e.settings.template}function $k(e,t){if(!t)return e.settings.templateLock;var n=t_(e,t);return n?n.templateLock:null}var qk=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(N.isBoolean)(e)?e:Object(N.isArray)(e)?Object(N.includes)(e,t):n},o=md(t);if(!o)return!1;var i=n_(e),a=i.allowedBlockTypes,s=r(a,t,!0);if(!s)return!1;var c=!!$k(e,n);if(c)return!1;var l=t_(e,n),u=Object(N.get)(l,["allowedBlocks"]),d=r(u,t),f=o.parent,h=Zy(e,n),p=r(f,h);return null!==d&&null!==p?d||p:null!==d?d:null===p||p},Gk=ao(qk,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function Zk(e,t){return Object(N.get)(e.preferences.insertUsage,[t],null)}var Xk=function(e,t,n){return!!yd(t,"inserter",!0)&&qk(e,t.name,n)},Qk=function(e,t,n){if(!qk(e,"core/block",n))return!1;var r=Zy(e,t.clientId);return!!r&&(!!md(r)&&(!!qk(e,r,n)&&!Ck(e,t.clientId,n)))},Jk=ao((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?Uy:t>0?Wy:"common"===e?Ky:Yy},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,i=!1;yd(t.name,"multiple",!0)||(i=Object(N.some)(ik(e,rk(e)),{name:t.name}));var a=Object(N.isArray)(t.parent),s=Zk(e,o)||{},c=s.time,l=s.count,u=void 0===l?0:l;return{id:o,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:i,utility:n(t.category,u,a),frecency:r(c,u),hasChildBlocksWithInserterSupport:_d(t.name)}},i=function(t){var o="core/block/".concat(t.id),i=md(Zy(e,t.clientId)),a=Zk(e,o)||{},s=a.time,c=a.count,l=void 0===c?0:c,u=n("reusable",l,!1),d=r(s,l);return{id:o,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:i.icon,category:"reusable",keywords:[],isDisabled:!1,utility:u,frecency:d}},a=bd().filter((function(n){return Xk(e,n,t)})).map(o),s=a_(e).filter((function(n){return Qk(e,n,t)})).map(i);return Object(N.orderBy)([].concat(ft(a),ft(s)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,a_(e),bd()]})),e_=ao((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(N.some)(bd(),(function(n){return Xk(e,n,t)}));if(n)return!0;var r=Object(N.some)(a_(e),(function(n){return Qk(e,n,t)}));return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,a_(e),bd()]}));function t_(e,t){return e.blockListSettings[t]}function n_(e){return e.settings}function r_(e){return e.blocks.isPersistentChange}function o_(e){return e.blocks.isIgnoredChange}function i_(e,t){return void 0===t?Object(N.get)(e,["settings","__experimentalMetaSource","value"],qy):Object(N.get)(e,["settings","__experimentalMetaSource","value",t])}function a_(e){return Object(N.get)(e,["settings","__experimentalReusableBlocks"],$y)}var s_={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Fe(e.blocks,2),i=o[0],a=o[1],s=Jy(r,i),c=md(s.name);if(c.merge){var l=Jy(r,a),u=md(l.name),d=sk(r),f=d.clientId,h=d.attributeKey,p=d.offset,v=f===i||f===a,m=f===i?s:l,b=m.attributes[h];if(v){var g=(f===i?c:u).attributes[h].multiline,y=Ho(Oo({html:b,multilineTag:g}),"†",p,p);m.attributes[h]=ci({value:y,multilineTag:g})}var k=s.name===l.name?[l]:Dd(l,s.name);if(k&&k.length){var _=c.merge(s.attributes,k[0].attributes);if(v){var w=Object(N.findKey)(_,(function(e){return"string"==typeof e&&-1!==e.indexOf("†")})),O=_[w],S=c.attributes[w].multiline,E=Oo({html:O,multilineTag:S}),C=E.text.indexOf("†"),T=ci({value:Vo(E,C,C+1),multilineTag:S});_[w]=T,m.attributes[h]=b,n(Ay(s.clientId,w,C,C))}n(my([s.clientId,l.clientId],[D({},s,{attributes:D({},s.attributes,_)})].concat(ft(k.slice(1)))))}}else n(cy(s.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=Yk(n),o=$k(n),i=!r||"all"!==o||function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length===n.length&&Object(N.every)(n,(function(n,r){var o=Fe(n,3),i=o[0],a=o[2],s=t[r];return i===s.name&&e(s.innerBlocks,a)}))}(e.blocks,r);if(i!==Kk(n))return Cy(i)}],MULTI_SELECT:function(e,t){var n=dk((0,t.getState)());Va(me("%s block selected.","%s blocks selected.",n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)();return oy(sp(tk(n),Yk(n)))}};var c_=function(e){var t,n=[Wg()(s_),Yg.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=N.flowRight.apply(void 0,ft(t))(e.dispatch),e.dispatch=r,e},l_={reducer:Bg,selectors:T,actions:C,controls:Gg},u_=xg("core/block-editor",D({},l_,{persist:["preferences"]}));c_(u_);var d_=function(e,t){return Object(N.find)(e,{color:t})};Og((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(Zs);var f_=Object(I.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:N.noop,clientId:null}),h_=f_.Consumer,p_=f_.Provider,v_=function(e){return ag((function(t){return function(n){return Object(I.createElement)(h_,null,(function(r){return Object(I.createElement)(t,Le({},n,e(r,n)))}))}}),"withBlockEditContext")},m_=ag((function(e){return function(t){return Object(I.createElement)(h_,null,(function(n){return n.isSelected&&Object(I.createElement)(e,t)}))}}),"ifBlockEditSelected"),b_=[{icon:"editor-alignleft",title:ve("Align text left"),align:"left"},{icon:"editor-aligncenter",title:ve("Align text center"),align:"center"},{icon:"editor-alignright",title:ve("Align text right"),align:"right"}];Object(N.flowRight)(v_((function(e){return{clientId:e.clientId}})),Sb({isLargeViewport:"medium"}),Og((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/block-editor"),a=i.getBlockRootClientId,s=i.getSettings;return{isCollapsed:o||!r||!s().hasFixedToolbar&&a(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.alignmentControls,i=void 0===o?b_:o;function a(e){return function(){return r(n===e?void 0:e)}}var s=Object(N.find)(i,(function(e){return e.align===n}));return Object(I.createElement)(ql,{isCollapsed:t,icon:s?s.icon:"editor-alignleft",label:ve("Change Text Alignment"),controls:i.map((function(e){var t=e.align;return D({},e,{isActive:n===t,onClick:a(t)})}))})}));var g_=[];var y_=Object(N.flowRight)([v_((function(e){return{blockName:e.name}})),function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).call(this))).state={completers:g_},e.saveParentRef=e.saveParentRef.bind(xe(e)),e.onFocus=e.onFocus.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentDidUpdate",value:function(){this.parentNode.contains(document.activeElement)&&this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"onFocus",value:function(){this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"hasStaleCompleters",value:function(){return!("lastFilteredCompletersProp"in this.state)||this.state.lastFilteredCompletersProp!==this.props.completers}},{key:"updateCompletersState",value:function(){var e=this.props,t=e.blockName,n=e.completers,r=n;Nr("editor.Autocomplete.completers")&&(n=Lr("editor.Autocomplete.completers",n&&n.map(N.clone),t)),this.setState({lastFilteredCompletersProp:r,completers:n||g_})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var t=this.state.completers,n=D({},this.props,{completers:t});return Object(I.createElement)("div",{onFocus:this.onFocus,ref:this.saveParentRef},Object(I.createElement)(e,Le({onFocus:this.onFocus},n)))}}]),n}(I.Component)}])(Ya),k_={left:{icon:"align-left",title:ve("Align left")},center:{icon:"align-center",title:ve("Align center")},right:{icon:"align-right",title:ve("Align right")},wide:{icon:"align-wide",title:ve("Wide width")},full:{icon:"align-full-width",title:ve("Full width")}},__=["left","center","right","wide","full"],w_=["wide","full"];var O_=Object(N.flowRight)(v_((function(e){return{clientId:e.clientId}})),Sb({isLargeViewport:"medium"}),Og((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/block-editor"),a=i.getBlockRootClientId,s=(0,i.getSettings)();return{wideControlsEnabled:s.alignWide,isCollapsed:o||!r||!s.hasFixedToolbar&&a(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,i=void 0===o?__:o,a=e.wideControlsEnabled,s=void 0!==a&&a?i:i.filter((function(e){return-1===w_.indexOf(e)})),c=k_[n];return Object(I.createElement)(ql,{isCollapsed:t,icon:c?c.icon:"align-left",label:ve("Change Alignment"),controls:s.map((function(e){return D({},k_[e],{isActive:n===e,onClick:(t=e,function(){return r(n===t?void 0:t)})});var t}))})})),S_=ja("BlockControls"),E_=S_.Fill,C_=S_.Slot,T_=m_((function(e){var t=e.controls,n=e.children;return Object(I.createElement)(E_,null,Object(I.createElement)(ql,{controls:t}),n)}));T_.Slot=C_;var x_=T_,D_=Gl("editor.BlockEdit")((function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=md(r);if(!o)return null;var i=yd(o,"className",!0)?ff(r):null,a=In()(i,n.className),s=o.edit||o.save;return Object(I.createElement)(s,Le({},e,{className:a}))})),M_=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).propsToContext=xh()(e.propsToContext.bind(xe(e)),{maxSize:1}),e}return Ie(t,e),Te(t,[{key:"propsToContext",value:function(e,t,n,r,o){return{name:e,isSelected:t,clientId:n,onFocus:r,onCaretVerticalPositionChange:o}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.isSelected,r=e.clientId,o=e.onFocus,i=e.onCaretVerticalPositionChange,a=this.propsToContext(t,n,r,o,i);return Object(I.createElement)(p_,{value:a},Object(I.createElement)(D_,this.props))}}]),t}(I.Component),j_=ja("BlockFormatControls"),I_=j_.Fill,P_=j_.Slot,N_=m_(I_);N_.Slot=P_;var R_=N_;function L_(e){var t=e.icon,n=e.showColors,r=void 0!==n&&n,o=e.className;"block-default"===Object(N.get)(t,["src"])&&(t={src:Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(I.createElement)(sc,{icon:t&&t.src?t.src:t}),a=r?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(I.createElement)("span",{style:a,className:In()("editor-block-icon block-editor-block-icon",o,{"has-colors":r})},i)}function A_(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showNestedBlocks;return(Object(I.createElement)("ul",{className:"editor-block-navigation__list block-editor-block-navigation__list",role:"list"},Object(N.map)(t,(function(e){var t=md(e.name),i=e.clientId===n;return Object(I.createElement)("li",{key:e.clientId},Object(I.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(I.createElement)(na,{className:In()("editor-block-navigation__item-button block-editor-block-navigation__item-button",{"is-selected":i}),onClick:function(){return r(e.clientId)}},Object(I.createElement)(L_,{icon:t.icon,showColors:!0}),t.title,i&&Object(I.createElement)("span",{className:"screen-reader-text"},ve("(selected block)")))),o&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(I.createElement)(A_,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,showNestedBlocks:!0}))}))))}var z_=Object(N.flowRight)(Og((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,a=n();return{rootBlocks:i(),rootBlock:a?o(r(a)):null,selectedBlockClientId:a}})),Cg((function(e,t){var n=t.onSelect,r=void 0===n?N.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(I.createElement)(Us,{role:"presentation",className:"editor-block-navigation__container block-editor-block-navigation__container"},Object(I.createElement)("p",{className:"editor-block-navigation__label block-editor-block-navigation__label"},ve("Block Navigation")),i&&Object(I.createElement)(A_,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(I.createElement)(A_,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),F_=Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(I.createElement)(xn,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));Og((function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}}))((function(e){var t=e.hasBlocks,n=e.isDisabled,r=t&&!n;return Object(I.createElement)(Qa,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(I.Fragment,null,r&&Object(I.createElement)(as,{bindGlobal:!0,shortcuts:x({},Fn.access("o"),n)}),Object(I.createElement)(ya,{icon:F_,"aria-expanded":t,onClick:r?n:void 0,label:ve("Block Navigation"),className:"editor-block-navigation block-editor-block-navigation",shortcut:Vn.access("o"),"aria-disabled":!r}))},renderContent:function(e){var t=e.onClose;return Object(I.createElement)(z_,{onSelect:t})}})}));var H_=Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(I.createElement)(xn,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),V_=Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(I.createElement)(xn,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"})),B_={top:{icon:Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(I.createElement)(xn,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:be("Vertically Align Top","Block vertical alignment setting")},center:{icon:V_,title:be("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:H_,title:be("Vertically Align Bottom","Block vertical alignment setting")}},U_=["top","center","bottom"];Object(N.flowRight)(v_((function(e){return{clientId:e.clientId}})),Sb({isLargeViewport:"medium"}),Og((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/block-editor"),a=i.getBlockRootClientId,s=i.getSettings;return{isCollapsed:o||!r||!s().hasFixedToolbar&&a(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,i=void 0===o?U_:o,a=B_[n],s=B_.top;return Object(I.createElement)(ql,{isCollapsed:t,icon:a?a.icon:s.icon,label:be("Change Alignment","Block vertical alignment setting label"),controls:i.map((function(e){return D({},B_[e],{isActive:n===e,onClick:(t=e,function(){return r(n===t?void 0:t)})});var t}))})}));var W_=Og((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),K_=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onFilesDrop=e.onFilesDrop.bind(xe(e)),e.onHTMLDrop=e.onHTMLDrop.bind(xe(e)),e.onDrop=e.onDrop.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"getInsertIndex",value:function(e){var t=this.props,n=t.clientId,r=t.rootClientId,o=t.getBlockIndex;if(void 0!==n){var i=o(n,r);return"top"===e.y?i:i+1}}},{key:"onFilesDrop",value:function(e,t){var n=Td(xd("from"),(function(t){return"files"===t.type&&t.isMatch(e)}));if(n){var r=this.getInsertIndex(t),o=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(o,r)}}},{key:"onHTMLDrop",value:function(e,t){var n=op({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){var n=this.props,r=n.rootClientId,o=n.clientId,i=n.getClientIdsOfDescendants,a=n.getBlockIndex,s=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(n){return t}return t}(e),c=s.srcRootClientId,l=s.srcClientId,u=s.srcIndex,d=s.type;if("block"===d&&l!==o&&!function(e,t){return i([e]).some((function(e){return e===t}))}(l,o||r)){var f,h,p=o?a(o,r):void 0,v=this.getInsertIndex(t),m=p&&u<p&&((f=c)===(h=r)||1==!f&&1==!h)?v-1:v;this.props.moveBlockToPosition(l,c,m)}}},{key:"render",value:function(){var e=this.props,t=e.isLockedAll,n=e.index;if(t)return null;var r=void 0===n;return Object(I.createElement)(W_,null,Object(I.createElement)(Fs,{className:In()("editor-block-drop-zone block-editor-block-drop-zone",{"is-appender":r}),onFilesDrop:this.onFilesDrop,onHTMLDrop:this.onHTMLDrop,onDrop:this.onDrop}))}}]),t}(I.Component),Y_=Object(N.flowRight)(Cg((function(e,t){var n=e("core/block-editor"),r=n.insertBlocks,o=n.updateBlockAttributes,i=n.moveBlockToPosition;return{insertBlocks:function(e,n){var o=t.rootClientId;r(e,n,o)},updateBlockAttributes:function(){o.apply(void 0,arguments)},moveBlockToPosition:function(e,n,r){var o=t.rootClientId;i(e,n,o,r)}}})),Og((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getClientIdsOfDescendants,i=r.getTemplateLock,a=r.getBlockIndex;return{isLockedAll:"all"===i(n),getClientIdsOfDescendants:o,getBlockIndex:a}})),Gl("editor.BlockDropZone"))(K_),$_=ag((function(e){return Tg((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=j(t,["useSubRegistry","registry"]);if(!r)return Object(I.createElement)(e,Le({registry:o},i));var a=Fe(Object(I.useState)(null),2),s=a[0],c=a[1];return Object(I.useEffect)((function(){var e=Xb({},o),t=e.registerStore("core/block-editor",l_);c_(t),c(e)}),[o]),s?Object(I.createElement)(mg,{value:s},Object(I.createElement)(e,Le({registry:s},i))):null}))}),"withRegistryProvider"),q_=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,a=t.registry;n!==e.settings&&r(n),a!==e.registry&&this.attachChangeObserver(a),this.isSyncingOutcomingValue?this.isSyncingOutcomingValue=!1:o!==e.value&&(this.isSyncingIncomingValue=!0,i(o))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.isLastBlockChangePersistent,i=n.__unstableIsLastBlockChangeIgnored,a=r(),s=o();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,c=e.onInput,l=r(),u=o();if(l!==a&&(t.isSyncingIncomingValue||i()))return t.isSyncingIncomingValue=!1,a=l,void(s=u);(l!==a||u&&!s)&&(l!==a&&(t.isSyncingOutcomingValue=!0),a=l,(s=u)?n(a):c(a))}))}},{key:"render",value:function(){var e=this.props.children;return Object(I.createElement)(Ea,null,Object(I.createElement)(As,null,e))}}]),t}(I.Component),G_=Object(N.flowRight)([$_,Cg((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks}}))])(q_),Z_=function(e){var t=e.children,n=e.clientId,r=e.isBlockInSelection,o=wg((function(e){return e("core/block-editor").hasSelectedInnerBlock(n,!0)})),i=r||o;return Object(I.createElement)(yg,{value:!i},t)};function X_(e,t,n,r,o,i){return e>1?function(e,t,n,r,o){if(o<0&&n)return ve("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return ve("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return me("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e);if(o>0&&!r)return me("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e)}(e,0,r,o,i):r&&o?ve("Block %s is the only block, and cannot be moved"):i>0&&!o?ve("Move %1$s block from position %2$d down to position %3$d"):i>0&&o?ve("Block %s is at the end of the content and can’t be moved down"):i<0&&!r?ve("Move %1$s block from position %2$d up to position %3$d"):i<0&&r?ve("Block %s is at the beginning of the content and can’t be moved up"):void 0}var Q_=Object(I.createElement)(Mn,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(I.createElement)(Dn,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),J_=Object(I.createElement)(Mn,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(I.createElement)(Dn,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),ew=Object(I.createElement)(Mn,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(I.createElement)(xn,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),tw=Og((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlockIndex,i=(0,r.getBlockRootClientId)(n);return{index:o(n,i),rootClientId:i}}))((function(e){var t=e.children,n=e.clientId,r=e.rootClientId,o=e.blockElementId,i=e.index,a=e.onDragStart,s=e.onDragEnd,c={type:"block",srcIndex:i,srcRootClientId:r,srcClientId:n};return Object(I.createElement)(js,{elementId:o,transferData:c,onDragStart:a,onDragEnd:s},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))})),nw=function(e){var t=e.isVisible,n=e.className,r=e.icon,o=e.onDragStart,i=e.onDragEnd,a=e.blockElementId,s=e.clientId;if(!t)return null;var c=In()("editor-block-mover__control-drag-handle block-editor-block-mover__control-drag-handle",n);return Object(I.createElement)(tw,{clientId:s,blockElementId:a,onDragStart:o,onDragEnd:i},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(I.createElement)("div",{className:c,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},r)}))},rw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(xe(e)),e.onBlur=e.onBlur.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.isFirst,o=e.isLast,i=e.isDraggable,a=e.onDragStart,s=e.onDragEnd,c=e.clientIds,l=e.blockElementId,u=e.blockType,d=(e.firstIndex,e.isLocked),f=e.instanceId,h=e.isHidden,p=e.rootClientId,v=this.state.isFocused,m=Object(N.castArray)(c).length;return d||r&&o&&!p?null:Object(I.createElement)("div",{className:In()("editor-block-mover block-editor-block-mover",{"is-visible":v||!h})},Object(I.createElement)(ya,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:r?null:t,icon:Q_,label:ve("Move up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(f),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(I.createElement)(nw,{className:"editor-block-mover__control block-editor-block-mover__control",icon:ew,clientId:c,blockElementId:l,isVisible:i,onDragStart:a,onDragEnd:s}),Object(I.createElement)(ya,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:o?null:n,icon:J_,label:ve("Move down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(f),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(I.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(f),className:"editor-block-mover__description block-editor-block-mover__description"},X_(m,u&&u.title,0,r,o,-1)),Object(I.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(f),className:"editor-block-mover__description block-editor-block-mover__description"},X_(m,u&&u.title,0,r,o,1)))}}]),t}(I.Component),ow=Object(N.flowRight)(Og((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockIndex,a=r.getTemplateLock,s=r.getBlockRootClientId,c=r.getBlockOrder,l=Object(N.castArray)(n),u=Object(N.first)(l),d=o(u),f=s(Object(N.first)(l)),h=c(f),p=i(u,f),v=i(Object(N.last)(l),f);return{blockType:d?md(d.name):null,isLocked:"all"===a(f),rootClientId:f,firstIndex:p,isFirst:0===p,isLast:v===h.length-1}})),Cg((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,a=o.moveBlocksUp;return{onMoveDown:Object(N.partial)(i,n,r),onMoveUp:Object(N.partial)(a,n,r)}})),lg)(rw);var iw=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(I.createElement)("div",{className:In()(t,"editor-warning block-editor-warning")},Object(I.createElement)("div",{className:"editor-warning__contents block-editor-warning__contents"},Object(I.createElement)("p",{className:"editor-warning__message block-editor-warning__message"},r),I.Children.count(n)>0&&Object(I.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},I.Children.map(n,(function(e,t){return Object(I.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)})))),o&&Object(I.createElement)(Qa,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(ya,{icon:"ellipsis",label:ve("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(I.createElement)(cc,null,o.map((function(e,t){return Object(I.createElement)(lc,{onClick:e.onClick,key:t},e.title)})))}}))},aw=n(138),sw=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,a=e.className;return Object(I.createElement)("div",{className:a},Object(I.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(I.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(I.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(I.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(I.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(I.createElement)(na,{isLarge:!0,tabIndex:"0",onClick:o},i)))},cw=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"getDifference",value:function(e,t){return Object(aw.diffChars)(e,t).map((function(e,t){var n=In()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(I.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:hf(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(N.castArray)(e),n=t.map((function(e){return pf(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return hf(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,a=this.getOriginalContent(t),s=this.getConvertedContent(o(t)),c=this.getDifference(a.rawContent,s.rawContent);return Object(I.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(I.createElement)(sw,{title:ve("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:ve("Convert to HTML"),rawContent:a.rawContent,renderedContent:a.renderedContent}),Object(I.createElement)(sw,{title:ve("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:r,actionText:i,rawContent:c,renderedContent:s.renderedContent}))}}]),t}(I.Component),lw=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(xe(n)),n.onCompareClose=n.onCompareClose.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,i=e.block,a=!!md("core/html"),s=this.state.compare,c=[{title:ve("Convert to Classic Block"),onClick:r},{title:ve("Attempt Block Recovery"),onClick:o}];return s?Object(I.createElement)(kc,{title:ve("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(I.createElement)(cw,{block:i,onKeep:t,onConvert:n,convertor:uw,convertButtonText:ve("Convert to Blocks")})):Object(I.createElement)(iw,{actions:[Object(I.createElement)(na,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!a},be("Resolve","imperative verb")),a&&Object(I.createElement)(na,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},ve("Convert to HTML"))],secondaryActions:c},ve("This block contains unexpected or invalid content."))}}]),t}(I.Component),uw=function(e){return ip({HTML:e.originalContent})},dw=Object(N.flowRight)([Og((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Cg((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return wd("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return wd("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,uw(n))},attemptBlockRecovery:function(){var e;r(n.clientId,wd((e=n).name,e.attributes,e.innerBlocks))}}}))])(lw),fw=Object(I.createElement)(iw,null,ve("This block has encountered an error and cannot be previewed.")),hw=function(){return fw},pw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={hasError:!1},e}return Ie(t,e),Te(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(I.Component),vw=n(36),mw=n.n(vw),bw=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).apply(this,arguments))).onChange=n.onChange.bind(xe(n)),n.onBlur=n.onBlur.bind(xe(n)),n.state={html:e.block.isValid?vf(e.block):e.block.originalContent},n}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(e){Object(N.isEqual)(this.props.block.attributes,e.block.attributes)||this.setState({html:vf(this.props.block)})}},{key:"onBlur",value:function(){var e=this.state.html,t=md(this.props.block.name),n=nh(t,e,this.props.block.attributes),r=e||pf(t,n),o=!e||Vf(t,n,r);this.props.onChange(this.props.clientId,n,r,o),e||this.setState({html:r})}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return Object(I.createElement)(mw.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(I.Component),gw=Object(N.flowRight)([Og((function(e,t){return{block:e("core/block-editor").getBlock(t.clientId)}})),Cg((function(e){return{onChange:function(t,n,r,o){e("core/block-editor").updateBlock(t,{attributes:n,originalContent:r,isValid:o})}}}))])(bw);var yw=Og((function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}}))((function(e){var t=e.name;if(!t)return null;var n=md(t);return n?n.title:null})),kw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(xe(e)),e.onBlur=e.onBlur.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.rootClientId;return Object(I.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(I.createElement)(ql,null,n&&Object(I.createElement)(I.Fragment,null,Object(I.createElement)(yw,{clientId:n}),Object(I.createElement)("span",{className:"editor-block-list__descendant-arrow block-editor-block-list__descendant-arrow"})),Object(I.createElement)(yw,{clientId:t})))}}]),t}(I.Component),_w=Object(N.flowRight)([Og((function(e,t){return{rootClientId:(0,e("core/block-editor").getBlockRootClientId)(t.clientId)}}))])(kw),ww=window,Ow=ww.Node,Sw=ww.getSelection,Ew=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(xe(e)),e.focusSelection=e.focusSelection.bind(xe(e)),e.switchOnKeyDown=Object(N.cond)([[Object(N.matchesProperty)(["keyCode"],27),e.focusSelection]]),e.toolbar=Object(I.createRef)(),e}return Ie(t,e),Te(t,[{key:"focusToolbar",value:function(){var e=Ji.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=Sw();if(e){var t=e.focusNode;t.nodeType!==Ow.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar()}},{key:"render",value:function(){var e=this.props,t=e.children,n=j(e,["children"]);return Object(I.createElement)(Us,Le({orientation:"horizontal",role:"toolbar",ref:this.toolbar,onKeyDown:this.switchOnKeyDown},Object(N.omit)(n,["focusOnMount"])),Object(I.createElement)(as,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(I.Component);var Cw=function(e){var t=e.focusOnMount;return Object(I.createElement)(Ew,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":ve("Block tools")},Object(I.createElement)(LS,null))};var Tw=Og((function(e){var t=e("core/block-editor"),n=t.getMultiSelectedBlockClientIds,r=t.isMultiSelecting;return{multiSelectedBlockClientIds:n(),isSelecting:r()}}))((function(e){var t=e.multiSelectedBlockClientIds;return e.isSelecting?null:Object(I.createElement)(ow,{clientIds:t})}));var xw=Eb("< small")((function(e){var t=e.clientId;return Object(I.createElement)("div",{className:"editor-block-list__block-mobile-toolbar block-editor-block-list__block-mobile-toolbar"},Object(I.createElement)(rO,null),Object(I.createElement)(ow,{clientIds:[t]}))})),Dw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(xe(e)),e.onFocusInserter=e.onFocusInserter.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onFocusInserter",value:function(e){e.stopPropagation(),this.setState({isInserterFocused:!0})}},{key:"onBlurInserter",value:function(){this.setState({isInserterFocused:!1})}},{key:"render",value:function(){var e=this.state.isInserterFocused,t=this.props,n=t.showInsertionPoint,r=t.rootClientId,o=t.clientId;return Object(I.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},n&&Object(I.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(I.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:In()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(I.createElement)(rO,{rootClientId:r,clientId:o})))}}]),t}(I.Component),Mw=Og((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockIndex,a=o.getBlockInsertionPoint,s=o.isBlockInsertionPointVisible,c=i(n,r),l=a();return{showInsertionPoint:s()&&l.index===c&&l.rootClientId===r}}))(Dw),jw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(xe(e)),e.eventMap={},e}return Ie(t,e),Te(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,r=void 0===n?[]:n,o=t.forwardedRef,i=j(t,["childHandledEvents","forwardedRef"]),a=Object(N.reduce)([].concat(ft(r),ft(Object.keys(i))),(function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete i[n];var o="on"+r[1];t[o]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=o}return t}),{});return Object(I.createElement)("div",Le({ref:o},i,a))}}]),t}(I.Component),Iw=function(e,t){return Object(I.createElement)(jw,Le({},e,{forwardedRef:t}))};Iw.displayName="IgnoreNestedEvents";var Pw=Object(I.forwardRef)(Iw);var Nw=Object(N.flowRight)(Og((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getInserterItems,i=r.getTemplateLock;return{items:o(n),isLocked:!!i(n)}})),Cg((function(e,t){var n=t.clientId,r=t.rootClientId;return{onInsert:function(t){var o=wd(t.name,t.initialAttributes);n?e("core/block-editor").replaceBlocks(n,o):e("core/block-editor").insertBlock(o,void 0,r)}}})))((function(e){var t=e.items,n=e.isLocked,r=e.onInsert;if(n)return null;var o=Object(N.filter)(t,(function(e){return!(e.isDisabled||e.name===vd()&&Object(N.isEmpty)(e.initialAttributes))})).slice(0,3);return Object(I.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},o.map((function(e){return Object(I.createElement)(ya,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:ge(ve("Add %s"),e.title),icon:Object(I.createElement)(L_,{icon:e.icon})})})))})),Rw=function(e){var t=Fe(Object(I.useState)(null),2),n=t[0],r=t[1];return Object(I.useEffect)((function(){var t=function(){n&&r(null)},o=function(t){var n=e.current.getBoundingClientRect(),o=n.width,i=n.left,a=n.right,s=null;t.clientX-i<o/3?s="left":a-t.clientX<o/3&&(s="right"),r(s)};return e.current.addEventListener("mousemove",o),e.current.addEventListener("mouseleave",t),function(){e.current.removeEventListener("mousemove",o),e.current.removeEventListener("mouseleave",t)}}),[]),n};function Lw(e){return document.querySelector('[data-block="'+e+'"]')}var Aw=function(e){e.preventDefault()};var zw=Og((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,i=e("core/block-editor"),a=i.isBlockSelected,s=i.isAncestorMultiSelected,c=i.isBlockMultiSelected,l=i.isFirstMultiSelectedBlock,u=i.isTyping,d=i.isCaretWithinFormattedText,f=i.getBlockMode,h=i.isSelectionEnabled,p=i.getSelectedBlocksInitialCaretPosition,v=i.getSettings,m=i.hasSelectedInnerBlock,b=i.getTemplateLock,g=i.getBlockIndex,y=i.getBlockOrder,k=(0,i.__unstableGetBlockWithoutInnerBlocks)(n),_=a(n),w=v(),O=w.hasFixedToolbar,S=w.focusMode,E=w.isRTL,C=b(r),T=m(n,!0),x=g(n,r),D=y(r),M=k||{},j=M.name,I=M.attributes,P=M.isValid;return{isPartOfMultiSelection:c(n)||s(n),isFirstMultiSelected:l(n),isTypingWithinBlock:(_||T)&&u(),isCaretWithinFormattedText:d(),mode:f(n),isSelectionEnabled:h(),initialPosition:_?p():null,isEmptyDefaultBlock:j&&dd({name:j,attributes:I}),isMovable:"all"!==C,isLocked:!!C,isFocusMode:S&&o,hasFixedToolbar:O&&o,isLast:x===D.length-1,isRTL:E,block:k,name:j,attributes:I,isValid:P,isSelected:_,isParentOfSelectedBlock:T}})),Fw=Cg((function(e,t,n){var r=n.select,o=e("core/block-editor"),i=o.updateBlockAttributes,a=o.selectBlock,s=o.multiSelect,c=o.insertBlocks,l=o.insertDefaultBlock,u=o.removeBlock,d=o.mergeBlocks,f=o.replaceBlocks,h=o.toggleSelection;return{setAttributes:function(e){var n=t.name,o=t.clientId,a=md(n);var s=Object(N.reduce)(e,(function(e,t,n){return!function(e){return"meta"===Object(N.get)(a,["attributes",e,"source"])}(n)?e.blockAttributes[n]=t:e.metaAttributes[a.attributes[n].meta]=t,e}),{blockAttributes:{},metaAttributes:{}}),c=s.blockAttributes,l=s.metaAttributes;(Object(N.size)(c)&&i(o,c),Object(N.size)(l))&&(0,(0,r("core/block-editor").getSettings)().__experimentalMetaSource.onChange)(l)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;a(e,n)},onInsertBlocks:function(e,n){var r=t.rootClientId;c(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);l({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);c(e,i+1,o)},onRemove:function(e){u(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,a=o.getNextBlockClientId;if(e){var s=a(n);s&&d(n,s)}else{var c=i(n);c&&d(c,n)}},onReplace:function(e,n){f([t.clientId],e,n)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=r("core/block-editor").getBlockSelectionStart;e()?s(e(),t.clientId):a(t.clientId)}},toggleSelection:function(e){h(e)}}})),Hw=Object(N.flowRight)(cg,Sb({isLargeViewport:"medium"}),zw,Fw,Gl("editor.BlockListBlock"))((function(e){var t=e.blockRef,n=e.mode,r=e.isFocusMode,o=e.hasFixedToolbar,i=e.isLocked,a=e.clientId,s=e.rootClientId,c=e.isSelected,l=e.isPartOfMultiSelection,u=e.isFirstMultiSelected,d=e.isTypingWithinBlock,f=e.isCaretWithinFormattedText,h=e.isEmptyDefaultBlock,p=e.isMovable,v=e.isParentOfSelectedBlock,m=e.isDraggable,b=e.isSelectionEnabled,g=e.isRTL,y=e.className,k=e.name,_=e.isValid,w=e.isLast,O=e.attributes,S=e.initialPosition,E=e.wrapperProps,C=e.setAttributes,T=e.onReplace,x=e.onInsertBlocksAfter,M=e.onMerge,j=e.onSelect,P=e.onRemove,R=e.onInsertDefaultBlockAfter,L=e.toggleSelection,A=e.onShiftSelection,z=e.onSelectionStart,F=Fe(Object(I.useState)({}),2)[1],H=Object(I.useRef)(null);Object(I.useEffect)((function(){t(H.current,a)}),[]);var V=Object(I.useRef)(),B=Rw(H),U=Object(I.useRef)(!1),W=Fe(Object(I.useState)(!1),2),K=W[0],Y=W[1],$=function(){K&&Y(!1)};Object(I.useEffect)((function(){(d||c)&&$()}));var q=Fe(Object(I.useState)(!1),2),G=q[0],Z=q[1],X=Fe(Object(I.useState)(!1),2),Q=X[0],J=X[1],ee=Object(I.useRef)(!1);Object(I.useEffect)((function(){ee.current&&(ee.current=!1)}));var te=Object(I.useRef)(!0);Object(I.useEffect)((function(){c&&function(e){if(!H.current.contains(document.activeElement)){var t=Ji.tabbable.find(V.current).filter(Wi).filter((function(t){return!e||(n=V.current,r=t,o=n.querySelector(".block-editor-block-list__layout"),n.contains(r)&&(!o||!o.contains(r)));var n,r,o})),n=-1===S,r=(n?N.last:N.first)(t);r?Bi(r,n):H.current.focus()}}(!te.current),te.current=!1}),[c]),Object(I.useEffect)((function(){u&&H.current.focus()}),[u]);var ne=function(e){e&&!c&&j()},re=K&&!l,oe=md(k),ie=ge(ve("Block: %s"),oe.title),ae=k===pd(),se=(c||re)&&h&&_,ce=(c||re||w)&&h&&_,le=!r&&!ce&&c&&!d,ue=!r&&!o&&re&&!h,de=(c||B===(g?"right":"left"))&&!ce&&!l&&!d,fe=!r&&re&&!h,he=!o&&!ce&&(c&&(!d||f)||u),pe=le,me=l&&u||!l,be=In()("wp-block editor-block-list__block block-editor-block-list__block",{"has-warning":!_||!!Q||ae,"is-selected":le,"is-multi-selected":l,"is-hovered":ue,"is-reusable":kd(oe),"is-dragging":G,"is-typing":d,"is-focused":r&&(c||v),"is-focus-mode":r},y),ye=E;oe.getEditWrapperProps&&(ye=D({},ye,oe.getEditWrapperProps(O)));var ke="block-".concat(a),_e=Object(I.createElement)(M_,{name:k,isSelected:c,attributes:O,setAttributes:C,insertBlocksAfter:i?void 0:x,onReplace:i?void 0:T,mergeBlocks:i?void 0:M,clientId:a,isSelectionEnabled:b,toggleSelection:L});return"visual"!==n&&(_e=Object(I.createElement)("div",{style:{display:"none"}},_e)),Object(I.createElement)(Pw,Le({id:ke,ref:H,onMouseOver:function(){K||l||c||U.current||Y(!0)},onMouseOverHandled:$,onMouseLeave:$,className:be,"data-type":k,onTouchStart:function(){U.current=!0},onFocus:function(){c||l||j()},onClick:function(){U.current=!1},onKeyDown:function(e){var t=e.keyCode,n=e.target;if(c&&n===H.current&&!i)switch(t){case 13:R(),e.preventDefault();break;case 8:case 46:P(a),e.preventDefault()}},tabIndex:"0","aria-label":ie,childHandledEvents:["onDragStart","onMouseDown"]},ye),me&&Object(I.createElement)(Mw,{clientId:a,rootClientId:s}),Object(I.createElement)(Y_,{clientId:a,rootClientId:s}),u&&Object(I.createElement)(Tw,{rootClientId:s}),Object(I.createElement)("div",{className:"editor-block-list__block-edit block-editor-block-list__block-edit"},de&&Object(I.createElement)(ow,{clientIds:a,blockElementId:ke,isHidden:!(re||c)||B!==(g?"right":"left"),isDraggable:!1!==m&&!l&&p,onDragStart:function(){Z(!0)},onDragEnd:function(){Z(!1)}}),fe&&Object(I.createElement)(_w,{clientId:a,isHidden:!(re||c)||B!==(g?"right":"left")}),(he||ee.current)&&Object(I.createElement)(Cw,{focusOnMount:ee.current}),!he&&c&&!o&&!h&&Object(I.createElement)(as,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":function(){ee.current=!0,F({})}}}),Object(I.createElement)(Pw,{ref:V,onDragStart:Aw,onMouseDown:function(e){0===e.button&&(e.shiftKey?c||(A(),e.preventDefault()):(z(a),l&&j()))},"data-block":a},Object(I.createElement)(pw,{onError:function(){return J(!1)}},_&&_e,_&&"html"===n&&Object(I.createElement)(gw,{clientId:a}),!_&&[Object(I.createElement)(dw,{key:"invalid-warning",clientId:a}),Object(I.createElement)("div",{key:"invalid-preview"},hf(oe,O))]),pe&&Object(I.createElement)(xw,{clientId:a}),!!Q&&Object(I.createElement)(hw,null))),se&&Object(I.createElement)("div",{className:"editor-block-list__side-inserter block-editor-block-list__side-inserter"},Object(I.createElement)(Nw,{clientId:a,rootClientId:s,onToggle:ne})),ce&&Object(I.createElement)("div",{className:"editor-block-list__empty-block-inserter block-editor-block-list__empty-block-inserter"},Object(I.createElement)(rO,{position:"top right",onToggle:ne,rootClientId:s,clientId:a})))}));var Vw=Object(N.flowRight)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ag((function(t){return function(n){function r(){var t;return Ee(this,r),(t=De(this,Me(r).apply(this,arguments))).setState=t.setState.bind(xe(t)),t.state=e,t}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(t,Le({},this.props,this.state,{setState:this.setState}))}}]),r}(I.Component)}),"withState")}({hovered:!1}),Og((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,i=n.isBlockValid,a=n.getSettings,s=n.getTemplateLock,c=!r(t.rootClientId),l=o(t.lastBlockClientId)===vd(),u=i(t.lastBlockClientId),d=a().bodyPlaceholder;return{isVisible:c||!l||!u,showPrompt:c,isLocked:!!s(t.rootClientId),placeholder:d}})),Cg((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,a=e.rootClientId,s=e.hovered,c=e.setState;if(t||!n)return null;var l=af(i)||ve("Start writing or type / to choose a block");return Object(I.createElement)("div",{"data-root-client-id":a||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return c({hovered:!0})},onMouseLeave:function(){return c({hovered:!1})}},Object(I.createElement)(Y_,{rootClientId:a}),Object(I.createElement)(mw.a,{role:"button","aria-label":ve("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?l:""}),s&&Object(I.createElement)(Nw,{rootClientId:a}),Object(I.createElement)(rO,{rootClientId:a,position:"top right",isAppender:!0}))}));var Bw=Og((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,i=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:i(vd(),n)}}))((function(e){var t=e.blockClientIds,n=e.rootClientId,r=e.canInsertDefaultBlock,o=e.isLocked,i=e.renderAppender;return o?null:i?Object(I.createElement)("div",{className:"block-list-appender"},Object(I.createElement)(i,null)):r?Object(I.createElement)("div",{className:"block-list-appender"},Object(I.createElement)(Pw,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(I.createElement)(Vw,{rootClientId:n,lastBlockClientId:Object(N.last)(t)}))):Object(I.createElement)("div",{className:"block-list-appender"},Object(I.createElement)(oO,{rootClientId:n,className:"block-list-appender__toggle"}))})),Uw=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(xe(n)),n.onSelectionEnd=n.onSelectionEnd.bind(xe(n)),n.setBlockRef=n.setBlockRef.bind(xe(n)),n.setLastClientY=n.setLastClientY.bind(xe(n)),n.onPointerMove=Object(N.throttle)(n.onPointerMove.bind(xe(n)),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=D({},this.nodes,x({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=Lw(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var r=t-n.top,o=Object(N.findLast)(this.coordMapKeys,(function(e){return e<r}));this.onSelectionChange(this.coordMap[o])}}},{key:"onSelectionStart",value:function(e){if(this.props.isSelectionEnabled){var t=this.nodes[e].getBoundingClientRect(),n=Object(N.mapValues)(this.nodes,(function(e){return e.getBoundingClientRect().top-t.top}));this.coordMap=Object(N.invert)(n),this.coordMapKeys=Object(N.sortBy)(Object.values(n)),this.selectionAtStart=e,window.addEventListener("mousemove",this.onPointerMove),window.addEventListener("scroll",this.onScroll,!0),window.addEventListener("mouseup",this.onSelectionEnd)}}},{key:"onSelectionChange",value:function(e){var t=this.props,n=t.onMultiSelect,r=t.selectionStart,o=t.selectionEnd,i=this.selectionAtStart,a=i===e;i&&this.props.isSelectionEnabled&&(a&&r&&n(null,null),a||o===e||n(i,e))}},{key:"onSelectionEnd",value:function(){this.onPointerMove.cancel(),delete this.coordMap,delete this.coordMapKeys,delete this.selectionAtStart,window.removeEventListener("mousemove",this.onPointerMove),window.removeEventListener("scroll",this.onScroll,!0),window.removeEventListener("mouseup",this.onSelectionEnd),this.props.isMultiSelecting&&this.props.onStopMultiSelect()}},{key:"render",value:function(){var e=this,t=this.props,n=t.blockClientIds,r=t.rootClientId,o=t.isDraggable,i=t.selectedBlockClientId,a=t.multiSelectedBlockClientIds,s=t.hasMultiSelection,c=t.renderAppender;return Object(I.createElement)("div",{className:"editor-block-list__layout block-editor-block-list__layout"},Object(N.map)(n,(function(t){var n=s?a.includes(t):i===t;return Object(I.createElement)(Z_,{key:"block-"+t,clientId:t,isBlockInSelection:n},Object(I.createElement)(Hw,{clientId:t,blockRef:e.setBlockRef,onSelectionStart:e.onSelectionStart,rootClientId:r,isDraggable:o}))})),Object(I.createElement)(Bw,{rootClientId:r,renderAppender:c}))}}]),t}(I.Component),Ww=Object(N.flowRight)([function(e){return function(t){return Object(I.createElement)(yg,{value:!1},Object(I.createElement)(e,t))}},Og((function(e,t){var n=e("core/block-editor"),r=n.getBlockOrder,o=n.isSelectionEnabled,i=n.isMultiSelecting,a=n.getMultiSelectedBlocksStartClientId,s=n.getMultiSelectedBlocksEndClientId,c=n.getSelectedBlockClientId,l=n.getMultiSelectedBlockClientIds,u=n.hasMultiSelection;return{blockClientIds:r(t.rootClientId),selectionStart:a(),selectionEnd:s(),isSelectionEnabled:o(),isMultiSelecting:i(),selectedBlockClientId:c(),multiSelectedBlockClientIds:l(),hasMultiSelection:u()}})),Cg((function(e){var t=e("core/block-editor");return{onStartMultiSelect:t.startMultiSelect,onStopMultiSelect:t.stopMultiSelect,onMultiSelect:t.multiSelect}}))])(Uw);function Kw(e){var t=e.name,n=e.attributes,r=e.innerBlocks,o=e.settings,i=wd(t,n,r);return Object(I.createElement)(Ms,{className:"editor-block-preview__content block-editor-block-preview__content editor-styles-wrapper","aria-hidden":!0},Object(I.createElement)(G_,{value:[i],settings:o},Object(I.createElement)(Ww,null)))}var Yw=Og((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){return Object(I.createElement)("div",{className:"editor-block-preview block-editor-block-preview"},Object(I.createElement)("div",{className:"editor-block-preview__title block-editor-block-preview__title"},ve("Preview")),Object(I.createElement)(Kw,e))}));var $w=function(e){var t=e.icon,n=e.hasChildBlocksWithInserterSupport,r=e.onClick,o=e.isDisabled,i=e.title,a=e.className,s=j(e,["icon","hasChildBlocksWithInserterSupport","onClick","isDisabled","title","className"]),c=t?{backgroundColor:t.background,color:t.foreground}:{},l=t&&t.shadowColor?{backgroundColor:t.shadowColor}:{};return Object(I.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(I.createElement)("button",Le({className:In()("editor-block-types-list__item block-editor-block-types-list__item",a,{"editor-block-types-list__item-has-children block-editor-block-types-list__item-has-children":n}),onClick:function(e){e.preventDefault(),r()},disabled:o},s),Object(I.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:c},Object(I.createElement)(L_,{icon:t,showColors:!0}),n&&Object(I.createElement)("span",{className:"editor-block-types-list__item-icon-stack block-editor-block-types-list__item-icon-stack",style:l})),Object(I.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},i)))};var qw=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,i=e.children;return(Object(I.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map((function(e){return Object(I.createElement)($w,{key:e.id,className:(t=e.id,r="editor-block-list-item-"+t.replace(/\//,"-").replace(/^core-/,""),Lr("blocks.getBlockMenuDefaultClassName",r,t)),icon:e.icon,hasChildBlocksWithInserterSupport:e.hasChildBlocksWithInserterSupport,onClick:function(){n(e),o(null)},onFocus:function(){return o(e)},onMouseEnter:function(){return o(e)},onMouseLeave:function(){return o(null)},onBlur:function(){return o(null)},isDisabled:e.isDisabled,title:e.title});var t,r})),i))};var Gw=Object(N.flowRight)(sg((function(e){var t=e.items;return t&&t.length>0})),Og((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=j(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(I.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(I.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(I.createElement)(L_,{icon:t,showColors:!0}),n&&Object(I.createElement)("h2",null,n)),Object(I.createElement)(qw,Le({items:r},o)))})),Zw=function(e){return e.stopPropagation()},Xw=function(e,t){var n=Qw(t),r=function(e){return-1!==Qw(e).indexOf(n)},o=ap();return e.filter((function(e){var t=Object(N.find)(o,{slug:e.category});return r(e.title)||Object(N.some)(e.keywords,r)||t&&r(t.title)}))},Qw=function(e){return e=(e=(e=(e=Object(N.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},Jw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(xe(e)),e.onHover=e.onHover.bind(xe(e)),e.panels={},e.inserterResults=Object(I.createRef)(),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(N.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(ft(t.state.openPanels),[e])}),t.props.setTimeout((function(){nc()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var o=[];return r.length>0&&o.push("reusable"),n.length>0&&(o=o.concat(Object.keys(t))),o}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,r=t.items,o=t.rootChildBlocks,i=Xw(r,e),a=Object(N.filter)(i,(function(e){var t=e.name;return Object(N.includes)(o,t)})),s=[];if(!e){var c=this.props.maxSuggestedItems||9;s=Object(N.filter)(r,(function(e){return e.utility>0})).slice(0,c)}var l=Object(N.filter)(i,{category:"reusable"}),u=function(e){return Object(N.findIndex)(ap(),(function(t){return t.slug===e.category}))},d=Object(N.flow)((function(e){return Object(N.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(N.sortBy)(e,u)}),(function(e){return Object(N.groupBy)(e,"category")}))(i);this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:s,reusableItems:l,itemsPerCategory:d,openPanels:this.filterOpenPanels(e,d,i,l)});var f=Object.keys(d).reduce((function(e,t){return e+d[t].length}),0),h=me("%d result found.","%d results found.",f);n(h)}},{key:"onKeyDown",value:function(e){Object(N.includes)([37,40,39,38,8,13],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.onSelect,o=t.rootClientId,i=this.state,a=i.childItems,s=i.hoveredItem,c=i.itemsPerCategory,l=i.openPanels,u=i.reusableItems,d=i.suggestedItems,f=function(e){return-1!==l.indexOf(e)};return Object(I.createElement)("div",{className:"editor-inserter__menu block-editor-inserter__menu",onKeyPress:Zw,onKeyDown:this.onKeyDown},Object(I.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},ve("Search for a block")),Object(I.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:ve("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(I.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":ve("Available block types")},Object(I.createElement)(Gw,{rootClientId:o,items:a,onSelect:r,onHover:this.onHover}),!!d.length&&Object(I.createElement)(Ec,{title:be("Most Used","blocks"),opened:f("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(I.createElement)(qw,{items:d,onSelect:r,onHover:this.onHover})),Object(N.map)(ap(),(function(t){var n=c[t.slug];return n&&n.length?Object(I.createElement)(Ec,{key:t.slug,title:t.title,icon:t.icon,opened:f(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(I.createElement)(qw,{items:n,onSelect:r,onHover:e.onHover})):null})),!!u.length&&Object(I.createElement)(Ec,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:ve("Reusable"),opened:f("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(I.createElement)(qw,{items:u,onSelect:r,onHover:this.onHover}),Object(I.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:_e("edit.php",{post_type:"wp_block"})},ve("Manage All Reusable Blocks"))),Object(N.isEmpty)(d)&&Object(N.isEmpty)(u)&&Object(N.isEmpty)(c)&&Object(I.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},ve("No blocks found."))),s&&kd(s)&&Object(I.createElement)(Yw,{name:s.name,attributes:s.initialAttributes}))}}]),t}(I.Component),eO=Object(N.flowRight)(Og((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=e("core/block-editor"),a=i.getInserterItems,s=i.getBlockName,c=i.getBlockRootClientId,l=i.getBlockSelectionEnd,u=e("core/blocks").getChildBlockNames,d=o;if(!d&&!n&&!r){var f=l();f&&(d=c(f)||void 0)}return{rootChildBlocks:u(s(d)),items:a(d),destinationRootClientId:d}})),Cg((function(e,t,n){var r=n.select,o=e("core/block-editor"),i=o.showInsertionPoint,a=o.hideInsertionPoint;function s(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,a=t.clientId,s=t.destinationRootClientId,c=t.isAppender;if(a)return n(a,s);var l=o();return!c&&l?n(l,s)+1:i(s).length}return{fetchReusableBlocks:e("core/editor").__experimentalFetchReusableBlocks,showInsertionPoint:function(){var e=s();i(t.destinationRootClientId,e)},hideInsertionPoint:a,onSelect:function(n){var o=e("core/block-editor"),i=o.replaceBlocks,a=o.insertBlock,c=r("core/block-editor").getSelectedBlock,l=t.isAppender,u=n.name,d=n.initialAttributes,f=c(),h=wd(u,d);!l&&f&&dd(f)?i(f.clientId,h):a(h,s(),t.destinationRootClientId),t.onSelect()}}})),Ba,lg,ug)(Jw),tO=function(e){var t=e.onToggle,n=e.disabled,r=e.isOpen;return Object(I.createElement)(ya,{icon:"insert",label:ve("Add block"),labelPosition:"bottom",onClick:t,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":"true","aria-expanded":r,disabled:n})},nO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onToggle=e.onToggle.bind(xe(e)),e.renderToggle=e.renderToggle.bind(xe(e)),e.renderContent=e.renderContent.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.renderToggle,a=void 0===i?tO:i;return a({onToggle:t,isOpen:n,disabled:o})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender;return Object(I.createElement)(eO,{onSelect:t,rootClientId:r,clientId:o,isAppender:i})}},{key:"render",value:function(){var e=this.props.position;return Object(I.createElement)(Qa,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:e,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:ve("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(I.Component),rO=Object(N.flowRight)([Og((function(e,t){var n=t.rootClientId;return{hasItems:(0,e("core/block-editor").hasInserterItems)(n)}})),sg((function(e){return e.hasItems}))])(nO);var oO=function(e){var t=e.rootClientId,n=e.className;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(Y_,{rootClientId:t}),Object(I.createElement)(rO,{rootClientId:t,renderToggle:function(e){var t=e.onToggle,r=e.disabled,o=e.isOpen;return Object(I.createElement)(na,{className:In()(n,"block-editor-button-block-appender"),onClick:t,"aria-expanded":o,disabled:r},Object(I.createElement)("span",{className:"screen-reader-text"},ve("Add Block")),Object(I.createElement)(sc,{icon:"insert"}))},isAppender:!0}))},iO=ag(Og((function(e,t){var n=e("core/block-editor").getSettings(),r=void 0===t.colors?n.colors:t.colors,o=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:r,disableCustomColors:o,hasColorsToChoose:!Object(N.isEmpty)(r)||!o}})),"withColorContext"),aO=iO((function(e){var t=e.colors,n=e.disableCustomColors,r=void 0!==n&&n,o=e.value,i=e.onChange,a=e.className;function s(e){return function(){return i(o===e?void 0:e)}}var c=ve("Custom color picker"),l=In()("components-color-palette",a);return Object(I.createElement)("div",{className:l},Object(N.map)(t,(function(e){var t=e.color,n=e.name,r={color:t},i=In()("components-color-palette__item",{"is-active":o===t});return Object(I.createElement)("div",{key:t,className:"components-color-palette__item-wrapper"},Object(I.createElement)(ba,{text:n||ve("Color code: %s")},Object(I.createElement)("button",{type:"button",className:i,style:r,onClick:s(t),"aria-label":ve(n?"Color: %s":"Color code: %s"),"aria-pressed":o===t})),o===t&&Object(I.createElement)(ga,{icon:"saved"}))})),Object(I.createElement)("div",{className:"components-color-palette__custom-clear-wrapper"},!r&&Object(I.createElement)(Qa,{className:"components-color-palette__custom-color",contentClassName:"components-color-palette__picker",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(na,{"aria-expanded":t,onClick:n,"aria-label":c,isLink:!0},ve("Custom Color"))},renderContent:function(){return Object(I.createElement)(ys,{color:o,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),Object(I.createElement)(na,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},ve("Clear"))))}));var sO=ag((function(e){return v_((function(e){return Object(N.pick)(e,["clientId"])}))(e)}),"withClientId"),cO=sO((function(e){var t=e.clientId;return Object(I.createElement)(oO,{rootClientId:t})})),lO=Object(N.flowRight)([sO,Og((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(N.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(I.createElement)(Pw,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(I.createElement)(Vw,{rootClientId:t,lastBlockClientId:n}))})),uO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Ie(t,e),Te(t,[{key:"getTemplateLock",value:function(){var e=this.props,t=e.templateLock,n=e.parentLock;return void 0===t?n:t}},{key:"componentDidMount",value:function(){0!==this.props.block.innerBlocks.length&&"all"!==this.getTemplateLock()||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.template,r=t.block.innerBlocks;(this.updateNestedSettings(),0===r.length||"all"===this.getTemplateLock())&&(!Object(N.isEqual)(n,e.template)&&this.synchronizeBlocksWithTemplate())}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,i=sp(o,t);Object(N.isEqual)(i,o)||r(i)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o={allowedBlocks:n,templateLock:this.getTemplateLock()};Kn()(t,o)||r(o)}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.hasOverlay,r=e.renderAppender,o=this.state.templateInProcess,i=In()("editor-inner-blocks block-editor-inner-blocks",{"has-overlay":n});return Object(I.createElement)("div",{className:i},!o&&Object(I.createElement)(Ww,{rootClientId:t,renderAppender:r}))}}]),t}(I.Component);(uO=Object(N.flowRight)([v_((function(e){return Object(N.pick)(e,["clientId"])})),Og((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,a=n.getBlockListSettings,s=n.getBlockRootClientId,c=n.getTemplateLock,l=t.clientId,u=i(l),d=s(l);return{block:u,blockListSettings:a(l),hasOverlay:"core/template"!==u.name&&!r(l)&&!o(l,!0),parentLock:c(d)}})),Cg((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.updateBlockListSettings,i=t.block,a=t.clientId,s=t.templateInsertUpdatesSelection,c=void 0===s||s;return{replaceInnerBlocks:function(e){r(a,e,0===i.innerBlocks.length&&c)},updateNestedSettings:function(t){e(o(a,t))}}}))])(uO)).DefaultBlockAppender=lO,uO.ButtonBlockAppender=cO,uO.Content=uf((function(e){var t=e.BlockContent;return Object(I.createElement)(t,null)}));var dO=ja("InspectorAdvancedControls"),fO=dO.Fill,hO=dO.Slot,pO=m_(fO);pO.Slot=hO;var vO=pO,mO=ja("InspectorControls"),bO=mO.Fill,gO=mO.Slot,yO=m_(bO);yO.Slot=gO;var kO=yO,_O=Gl("editor.MediaUpload")((function(){return null})),wO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(xe(e)),e.state={isSettingsExpanded:!1},e}return Ie(t,e),Te(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.renderSettings,r=e.position,o=void 0===r?"bottom center":r,i=e.focusOnMount,a=void 0===i?"firstElement":i,s=j(e,["children","renderSettings","position","focusOnMount"]),c=this.state.isSettingsExpanded,l=!!n&&c;return Object(I.createElement)(La,Le({className:"editor-url-popover block-editor-url-popover",focusOnMount:a,position:o},s),Object(I.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},t,!!n&&Object(I.createElement)(ya,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:ve("Link Settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":c})),l&&Object(I.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},n()))}}]),t}(I.Component),OO=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(I.createElement)(wO,{onClose:o},Object(I.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:r},Object(I.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":ve("URL"),placeholder:ve("Paste or type URL"),onChange:n,value:t}),Object(I.createElement)(ya,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:ve("Apply"),type:"submit"})))},SO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(xe(e)),e.onSubmitSrc=e.onSubmitSrc.bind(xe(e)),e.onUpload=e.onUpload.bind(xe(e)),e.onFilesUpload=e.onFilesUpload.bind(xe(e)),e.openURLInput=e.openURLInput.bind(xe(e)),e.closeURLInput=e.closeURLInput.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(N.every)(e,(function(e){return"image"===e||Object(N.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(N.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(N.get)(e.value,["src"],"")!==Object(N.get)(this.props.value,["src"],"")&&this.setState({src:Object(N.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,a=n.multiple,s=n.onError,c=n.onSelect,l=n.value;if(a)if(r){var u=void 0===l?[]:l;t=function(e){c(u.concat(e))}}else t=c;else t=function(e){var t=Fe(e,1)[0];return c(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:s})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,a=n.icon,s=n.isAppender,c=n.labels,l=void 0===c?{}:c,u=n.onDoubleClick,d=n.mediaPreview,f=n.notices,h=n.onSelectURL,p=n.mediaUpload,v=l.instructions,m=l.title;if(p||h||(v=ve("To edit this block, you need permission to upload media.")),void 0===v||void 0===m){var b=1===o.length,g=b&&"audio"===o[0],y=b&&"image"===o[0],k=b&&"video"===o[0];void 0===v&&p&&(v=ve("Drag a media file, upload a new one or select a file from your library."),g?v=ve("Drag an audio, upload a new one or select a file from your library."):y?v=ve("Drag an image, upload a new one or select a file from your library."):k&&(v=ve("Drag a video, upload a new one or select a file from your library."))),void 0===m&&(m=ve("Media"),g?m=ve("Audio"):y?m=ve("Image"):k&&(m=ve("Video")))}var _=In()("block-editor-media-placeholder","editor-media-placeholder",i,{"is-appender":s});return Object(I.createElement)(Cc,{icon:a,label:m,instructions:v,className:_,notices:f,onClick:t,onDoubleClick:u,preview:d},e)}},{key:"renderDropZone",value:function(){var e=this.props.onHTMLDrop,t=void 0===e?N.noop:e;return Object(I.createElement)(Fs,{onFilesDrop:this.onFilesUpload,onHTMLDrop:t})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(I.createElement)(na,{className:"block-editor-media-placeholder__cancel-button",title:ve("Cancel"),isLink:!0,onClick:e},ve("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(I.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(I.createElement)(na,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:t,isLarge:!0},ve("Insert from URL")),t&&Object(I.createElement)(OO,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,a=t.isAppender,s=t.mediaUpload,c=t.multiple,l=void 0!==c&&c,u=t.onSelect,d=t.value,f=void 0===d?{}:d,h=Object(I.createElement)(_O,{addToGallery:r,gallery:l&&this.onlyAllowsImages(),multiple:l,onSelect:u,allowedTypes:i,value:Object(N.isArray)(f)?f.map((function(e){return e.id})):f.id,render:function(e){var t=e.open;return Object(I.createElement)(na,{isLarge:!0,className:In()("editor-media-placeholder__button","editor-media-placeholder__media-library-button"),onClick:function(e){e.stopPropagation(),t()}},ve("Media Library"))}});if(s&&a)return Object(I.createElement)(I.Fragment,null,this.renderDropZone(),Object(I.createElement)(Xs,{onChange:this.onUpload,accept:n,multiple:l,render:function(t){var n=t.openFileDialog,r=Object(I.createElement)(I.Fragment,null,Object(I.createElement)(ya,{isLarge:!0,className:In()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),icon:"upload"},ve("Upload")),h,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(s){var p=Object(I.createElement)(I.Fragment,null,this.renderDropZone(),Object(I.createElement)(Xs,{isLarge:!0,className:In()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:l},ve("Upload")),h,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(p)}return this.renderPlaceholder(h)}},{key:"render",value:function(){return this.props.dropZoneUIOnly?Object(I.createElement)(W_,null,this.renderDropZone()):Object(I.createElement)(W_,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(I.Component),EO=Og((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}})),CO=(Object(N.flowRight)(EO,Gl("editor.MediaPlaceholder"))(SO),ve("(current %s: %s)"));var TO=Object(N.flowRight)([iO,sg((function(e){return e.hasColorsToChoose}))])((function(e){var t=e.colors,n=e.disableCustomColors,r=e.label,o=e.onChange,i=e.value,a=d_(t,i),s=(a&&a.name,ge(CO,r.toLowerCase()));return Object(I.createElement)(qa,{className:"editor-color-palette-control block-editor-color-palette-control"},Object(I.createElement)(qa.VisualLabel,null,r,i&&Object(I.createElement)(Xa,{colorValue:i,"aria-label":s})),Object(I.createElement)(aO,Le({className:"editor-color-palette-control__color-palette block-editor-color-palette-control__color-palette",value:i,onChange:o},{colors:t,disableCustomColors:n})))})),xO=function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e},DO=ve("(%s: %s)"),MO=(iO(sg((function(e){var t=e.colors,n=e.disableCustomColors,r=e.colorSettings;return Object(N.some)(r,(function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!xO(t,n)||(n.colors||e).length>0}(t,n,e)}))}))((function(e){var t=e.children,n=e.colors,r=e.colorSettings,o=e.disableCustomColors,i=e.title,a=j(e,["children","colors","colorSettings","disableCustomColors","title"]),s=Object(I.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map((function(e,n){var r=e.value,o=e.label,i=e.colors;if(!r)return null;var a=d_(i||t,r),s=(a&&a.name,ge(DO,o.toLowerCase()));return Object(I.createElement)(Xa,{key:n,colorValue:r,"aria-label":s})}))}(r,n));return Object(I.createElement)(Ec,Le({className:"editor-panel-color-settings block-editor-panel-color-settings",title:s},a),r.map((function(e,t){return Object(I.createElement)(TO,Le({key:t},D({colors:n,disableCustomColors:o},e)))})),t)}))),Object(I.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=j(e,["onChange","className"]);return Object(I.createElement)(mw.a,Le({ref:t,className:In()("editor-plain-text block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))})),Og((function(e){return{formatTypes:(0,e("core/rich-text").getFormatTypes)()}}))((function(e){var t=e.formatTypes,n=e.onChange,r=e.value;return Object(I.createElement)(I.Fragment,null,t.map((function(e){var t=e.name,o=e.edit;if(!o)return null;var i=jo(r,t),a=void 0!==i,s=function(e){var t=e.start,n=e.end,r=e.replacements,o=e.text;if(t+1===n&&""===o[t])return r[t]}(r),c=void 0!==s;return Object(I.createElement)(o,{key:t,isActive:a,activeAttributes:a&&i.attributes||{},isObjectActive:c,activeObjectAttributes:c&&s.attributes||{},value:r,onChange:n})})))}))),jO=function(e){var t=e.controls;return Object(I.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(I.createElement)(ql,null,t.map((function(e){return Object(I.createElement)(Ta,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(I.createElement)(Ta,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(I.createElement)(Ws,{icon:!1,position:"bottom left",label:ve("More Rich Text Controls"),controls:Object(N.orderBy)(e.map((function(e){return Fe(e,1)[0].props})),"title")})}))))},IO=function(e){return Object(N.pickBy)(e,(function(e,t){return n=t,Object(N.startsWith)(n,"aria-")&&!Object(N.isNil)(e);var n}))},PO=window.navigator.userAgent;var NO=PO.indexOf("Trident")>=0,RO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).call(this))).bindEditorNode=e.bindEditorNode.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(N.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,e.style)),Object(N.isEqual)(this.props.className,e.className)||(this.editorNode.className=In()("block-editor-rich-text__editable","editor-rich-text__editable",e.className));var n=function(e,t){var n=Object(N.keys)(IO(e)),r=Object(N.keys)(IO(t));return{removedKeys:Object(N.difference)(n,r),updatedKeys:r.filter((function(n){return!Object(N.isEqual)(e[n],t[n])}))}}(this.props,e),r=n.removedKeys,o=n.updatedKeys;return r.forEach((function(e){return t.editorNode.removeAttribute(e)})),o.forEach((function(n){return t.editorNode.setAttribute(n,e[n])})),!1}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef(e),NO&&(e?this.removeInternetExplorerInputFix=function(e){function t(e){e.stopImmediatePropagation();var t=document.createEvent("Event");t.initEvent("input",!0,!1),t.data=e.data,e.target.dispatchEvent(t)}function n(t){var n=t.target,r=t.keyCode;if((8===r||46===r)&&e.contains(n)){var o=document.createEvent("Event");o.initEvent("input",!0,!1),o.data=null,n.dispatchEvent(o)}}return e.addEventListener("textinput",t),document.addEventListener("keyup",n,!0),function(){e.removeEventListener("textinput",t),document.removeEventListener("keyup",n,!0)}}(e):this.removeInternetExplorerInputFix())}},{key:"render",value:function(){var e,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.record,a=t.valueToEditableHTML,s=t.className,c=t.isPlaceholderVisible,l=j(t,["tagName","style","record","valueToEditableHTML","className","isPlaceholderVisible"]);return delete l.setRef,Object(I.createElement)(r,D((x(e={role:"textbox","aria-multiline":!0,className:In()("block-editor-rich-text__editable","editor-rich-text__editable",s),contentEditable:!0},"data-is-placeholder-visible",c),x(e,"ref",this.bindEditorNode),x(e,"style",o),x(e,"suppressContentEditableWarning",!0),x(e,"dangerouslySetInnerHTML",{__html:a(i)}),e),l))}}]),t}(I.Component);function LO(e){var t=e.onReplace,n=e.valueToFormat,r=xd("from").filter((function(e){return"prefix"===e.type}));return[function(e){if(!t)return e;var o=e.start,i=Io(e),a=i.slice(o-1,o);if(!/\s/.test(a))return e;var s=i.slice(0,o).trim(),c=Td(r,(function(e){var t=e.prefix;return s===t}));if(!c)return e;var l=n(Uo(e,o,i.length)),u=c.transform(l);return t([u]),e},function(e){var t=e.start,n=Io(e);if("`"!==n.slice(t-1,t))return e;var r=n.slice(0,t-1).lastIndexOf("`");if(-1===r)return e;var o=r,i=t-2;return o===i?e:(e=Vo(e,o,o+1),e=bo(e=Vo(e,i,i+1),{type:"code"},o,i))}]}var AO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onUse=e.onUse.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(I.createElement)(as,{bindGlobal:!0,shortcuts:x({},Fn[n](t),this.onUse)})}}]),t}(I.Component),zO=function(e){var t=e.onTagNameChange,n=e.tagName,r=e.value,o=e.onChange;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(AO,{type:"primary",character:"[",onUse:function(){o(_i(r))}}),Object(I.createElement)(AO,{type:"primary",character:"]",onUse:function(){o(yi(r,{type:n}))}}),Object(I.createElement)(AO,{type:"primary",character:"m",onUse:function(){o(yi(r,{type:n}))}}),Object(I.createElement)(AO,{type:"primaryShift",character:"m",onUse:function(){o(_i(r))}}),Object(I.createElement)(R_,null,Object(I.createElement)(ql,{controls:[t&&{icon:"editor-ul",title:ve("Convert to unordered list"),isActive:Ro(r,"ul",n),onClick:function(){o(wi(r,{type:"ul"})),No(r)&&t("ul")}},t&&{icon:"editor-ol",title:ve("Convert to ordered list"),isActive:Ro(r,"ol",n),onClick:function(){o(wi(r,{type:"ol"})),No(r)&&t("ol")}},{icon:"editor-outdent",title:ve("Outdent list item"),shortcut:be("Backspace","keyboard key"),onClick:function(){o(_i(r))}},{icon:"editor-indent",title:ve("Indent list item"),shortcut:be("Space","keyboard key"),onClick:function(){o(yi(r,{type:n}))}}].filter(Boolean)})))},FO=[Fn.primary("z"),Fn.primaryShift("z"),Fn.primary("y")],HO=Object(I.createElement)(as,{bindGlobal:!0,shortcuts:Object(N.fromPairs)(FO.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),VO=function(){return HO};I.Component;var BO=window,UO=BO.getSelection,WO=BO.getComputedStyle,KO=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),YO=document.createElement("style");function $O(e,t){var n=Object.keys(e).reduce((function(n,r){return r.startsWith(t)&&n.push(e[r]),n}),[]);return function(e){return n.reduce((function(t,n){return n(t,e.text)}),e.formats)}}document.head.appendChild(YO);var qO=function(e){function t(e){var n,r=e.value,o=e.onReplace,i=e.multiline,a=e.selectionStart,s=e.selectionEnd;return Ee(this,t),n=De(this,Me(t).apply(this,arguments)),!0!==i&&"p"!==i&&"li"!==i||(n.multilineTag=!0===i?"p":i),"li"===n.multilineTag&&(n.multilineWrapperTags=["ul","ol"]),n.onFocus=n.onFocus.bind(xe(n)),n.onBlur=n.onBlur.bind(xe(n)),n.onChange=n.onChange.bind(xe(n)),n.onDeleteKeyDown=n.onDeleteKeyDown.bind(xe(n)),n.onKeyDown=n.onKeyDown.bind(xe(n)),n.onPaste=n.onPaste.bind(xe(n)),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(xe(n)),n.onInput=n.onInput.bind(xe(n)),n.onCompositionEnd=n.onCompositionEnd.bind(xe(n)),n.onSelectionChange=n.onSelectionChange.bind(xe(n)),n.getRecord=n.getRecord.bind(xe(n)),n.createRecord=n.createRecord.bind(xe(n)),n.applyRecord=n.applyRecord.bind(xe(n)),n.isEmpty=n.isEmpty.bind(xe(n)),n.valueToFormat=n.valueToFormat.bind(xe(n)),n.setRef=n.setRef.bind(xe(n)),n.valueToEditableHTML=n.valueToEditableHTML.bind(xe(n)),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(xe(n)),n.onPointerDown=n.onPointerDown.bind(xe(n)),n.onSplit=n.onSplit.bind(xe(n)),n.patterns=LO({onReplace:o,valueToFormat:n.valueToFormat}),n.enterPatterns=xd("from").filter((function(e){return"enter"===e.type})),n.state={},n.usedDeprecatedChildrenSource=Array.isArray(r),n.lastHistoryValue=r,n.value=r,n.record=n.formatToValue(r),n.record.start=a,n.record.end=s,n}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"setRef",value:function(e){e?this.editableRef=e:delete this.editableRef}},{key:"getRecord",value:function(){return this.record}},{key:"createRecord",value:function(){var e=UO(),t=e.rangeCount>0?e.getRangeAt(0):null;return Oo({element:this.editableRef,range:t,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,__unstableIsEditableTree:!0})}},{key:"applyRecord",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.domOnly;si({value:e,current:this.editableRef,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:$O(this.props,"format_prepare_functions"),__unstableDomOnly:n})}},{key:"isEmpty",value:function(){return Ao(this.record)}},{key:"onPaste",value:function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(N.isNil)(n)?[]:n,r=Object(N.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(g){try{i=t.getData("Text")}catch(y){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",i),window.console.log("Received plain text:\n\n",o);var a,s=Object(N.find)([].concat(ft(n),ft(r)),(function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})),c=this.getRecord();if(s&&!i){var l=s.getAsFile?s.getAsFile():s,u=op({HTML:'<img src="'.concat($h(l),'">'),mode:"BLOCKS",tagName:this.props.tagName}),d=this.props.onReplace&&this.isEmpty();return window.console.log("Received item:\n\n",l),void(d?this.props.onReplace(u):this.onSplit&&this.onSplit(c,u))}if(!Lo(c)){var f=(i||o).replace(/<[^>]+>/g,"").trim();if(a=f,ke.test(a))return this.onChange(bo(c,{type:"a",attributes:{href:af(f)}})),void window.console.log("Created link:\n\n",f)}var h=this.props.onReplace&&this.isEmpty(),p=this.props.onReplace&&this.props.onSplit,v="INLINE";h?v="BLOCKS":p&&(v="AUTO");var m=op({HTML:i,plainText:o,mode:v,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.props.canUserUseUnfilteredHTML});if("string"==typeof m){var b=Oo({html:m});this.multilineTag&&(b=Bo(b,/\n+/g,"\u2028")),this.onChange(Ho(c,b))}else m.length>0&&(h?this.props.onReplace(m):this.onSplit(c,m))}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e(),this.recalculateBoundaryStyle();this.record=D({},this.record,{start:void 0,end:void 0,activeFormats:void 0}),this.props.onSelectionChange(void 0,void 0),this.setState({activeFormats:void 0}),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){if(e&&e.nativeEvent.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else{if(e&&e.nativeEvent.inputType){var t=e.nativeEvent.inputType;if(0===t.indexOf("format")||KO.has(t))return void this.applyRecord(this.getRecord())}var n=this.createRecord(),r=this.record,o=r.start,i=r.activeFormats,a=void 0===i?[]:i,s=Oi({value:n,start:o,end:n.start,formats:a});this.onChange(s,{withoutHistory:!0});var c=this.patterns.reduce((function(e,t){return t(e)}),s);c!==s&&(this.onCreateUndoLevel(),this.onChange(D({},c,{activeFormats:a}))),this.props.clearTimeout(this.onInput.timeout),this.onInput.timeout=this.props.setTimeout(this.onCreateUndoLevel,1e3)}}},{key:"onCompositionEnd",value:function(){this.onInput(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(){var e=this.createRecord(),t=e.start,n=e.end,r=this.getRecord();if(t!==r.start||n!==r.end){var o=this.props.isCaretWithinFormattedText,i=D({},r,{start:t,end:n,activeFormats:void 0}),a=Mo(i);i.activeFormats=a,!o&&a.length?this.props.onEnterFormattedText():o&&!a.length&&this.props.onExitFormattedText(),this.record=i,this.applyRecord(i,{domOnly:!0}),this.props.onSelectionChange(t,n),this.setState({activeFormats:a}),a.length>0&&this.recalculateBoundaryStyle()}}},{key:"recalculateBoundaryStyle",value:function(){var e=this.editableRef.querySelector("*[data-rich-text-format-boundary]");if(e){var t=WO(e).color.replace(")",", 0.2)").replace("rgb","rgba"),n=".".concat("block-editor-rich-text__editable",":focus ").concat("*[data-rich-text-format-boundary]"),r="background-color: ".concat(t);YO.innerHTML="".concat(n," {").concat(r,"}")}}},{key:"onChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.withoutHistory;this.applyRecord(e);var r=e.start,o=e.end,i=e.activeFormats,a=void 0===i?[]:i,s=Object(N.pickBy)(this.props,(function(e,t){return t.startsWith("format_on_change_functions_")}));Object.values(s).forEach((function(t){t(e.formats,e.text)})),this.value=this.valueToFormat(e),this.record=e,this.props.onChange(this.value),this.props.onSelectionChange(r,o),this.setState({activeFormats:a}),n||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.value&&(this.props.onCreateUndoLevel(),this.lastHistoryValue=this.value)}},{key:"onDeleteKeyDown",value:function(e){var t=this.props,n=t.onMerge,r=t.onRemove;if(n||r){var o=8===e.keyCode;if(Lo(this.createRecord())){var i=this.isEmpty();(i||Fi(this.editableRef,o))&&(n&&n(!o),r&&i&&o&&r(!o),e.preventDefault())}}}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=e.shiftKey,r=e.altKey,o=e.metaKey,i=e.ctrlKey,a=this.props,s=a.onReplace,c=a.onSplit,l=s&&c;if(n||r||o||i||37!==t&&39!==t||this.handleHorizontalNavigation(e),32===t&&"li"===this.multilineTag){var u=this.createRecord();if(Lo(u)){var d=u.text[u.start-1];d&&"\u2028"!==d||(this.onChange(yi(u,{type:this.props.tagName})),e.preventDefault())}}if(46===t||8===t){var f=this.createRecord(),h=f.start,p=f.end;if(0===h&&0!==p&&p===f.text.length)return this.onChange(Vo(f)),void e.preventDefault();if(this.multilineTag){var v=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.replacements,r=e.text,o=e.start,i=e.end,a=Lo(e),s=o-1,c=a?o-1:o,l=i;if(t||(s=i,c=o,l=a?i+1:i),"\u2028"===r[s]){var u;if(a&&n[s]&&n[s].length){var d=n.slice();d[s]=n[s].slice(0,-1),u=D({},e,{replacements:d})}else u=Vo(e,c,l);return u}}(f,8===t);v&&(this.onChange(v),e.preventDefault())}this.onDeleteKeyDown(e)}else if(13===t){e.preventDefault();var m=this.createRecord();if(this.props.onReplace){var b=Io(m),g=Td(this.enterPatterns,(function(e){return e.regExp.test(b)}));if(g)return void this.props.onReplace([g.transform({content:b})])}this.multilineTag?e.shiftKey?this.onChange(Ho(m,"\n")):l&&function(e){var t=e.text,n=e.start,r=e.end;return n===r&&(0===t.length||(0===n&&"\u2028"===t.slice(0,1)||(n===t.length&&"\u2028"===t.slice(-1)||t.slice(n-1,r+1)==="".concat("\u2028").concat("\u2028"))))}(m)?this.onSplit(m):this.onChange(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=Io(e).slice(0,t),o=r.lastIndexOf("\u2028"),i=e.replacements[o],a=[,];i&&(a=[i]);var s={formats:[,],replacements:a,text:"\u2028"};return Ho(e,s,t,n)}(m)):e.shiftKey||!l?this.onChange(Ho(m,"\n")):this.onSplit(m)}}},{key:"handleHorizontalNavigation",value:function(e){var t=this,n=this.getRecord(),r=n.text,o=n.formats,i=n.start,a=n.end,s=n.activeFormats,c=void 0===s?[]:s,l=Lo(n),u="rtl"===WO(this.editableRef).direction?39:37,d=e.keyCode===u;if(l&&0===c.length){if(0===i&&d)return;if(a===r.length&&!d)return}if(l){e.preventDefault();var f=o[i-1]||[],h=o[i]||[],p=c.length,v=h;if(f.length>h.length&&(v=f),f.length<h.length?(!d&&c.length<h.length&&p++,d&&c.length>f.length&&p--):f.length>h.length&&(!d&&c.length>h.length&&p--,d&&c.length<f.length&&p++),this.props.setTimeout((function(){return t.recalculateBoundaryStyle()})),p!==c.length){var m=v.slice(0,p),b=D({},n,{activeFormats:m});return this.record=b,this.applyRecord(b),void this.setState({activeFormats:m})}var g=n.start+(d?-1:1),y=d?f:h,k=D({},n,{start:g,end:g,activeFormats:y});this.record=k,this.applyRecord(k),this.props.onSelectionChange(g,g),this.setState({activeFormats:y})}}},{key:"onSplit",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.props,r=n.onReplace,o=n.onSplit,i=n.__unstableOnSplitMiddle;if(r&&o){var a=[],s=Wo(e),c=Fe(s,2),l=c[0],u=c[1],d=t.length>0;d&&Ao(l)||a.push(o(this.valueToFormat(l))),d?a.push.apply(a,ft(t)):i&&a.push(i()),!d&&i&&Ao(u)||a.push(o(this.valueToFormat(u)));var f=d?a.length-1:1;r(a,f)}}},{key:"onPointerDown",value:function(e){var t=e.target;if(t!==this.editableRef&&!t.textContent){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t),o=t.ownerDocument.createRange(),i=UO();o.setStart(t.parentNode,r),o.setEnd(t.parentNode,r+1),i.removeAllRanges(),i.addRange(o)}}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.tagName,r=t.value,o=t.selectionStart,i=t.selectionEnd,a=t.isSelected,s=n===e.tagName&&r!==e.value&&r!==this.value;s=s||a&&!e.isSelected&&(this.record.start!==o||this.record.end!==i);var c=function(e,t){return t.startsWith("format_prepare_props_")},l=Object(N.pickBy)(this.props,c),u=Object(N.pickBy)(e,c);s=s||!Kn()(l,u);var d=this.record.activeFormats,f=void 0===d?[]:d;s?(this.value=r,this.record=this.formatToValue(r),this.record.start=o,this.record.end=i,Oi({value:this.record,start:this.record.start,end:this.record.end,formats:f}),this.applyRecord(this.record)):this.record.start===o&&this.record.end===i||(this.record=D({},this.record,{start:o,end:i}))}},{key:"formatToValue",value:function(e){if(Array.isArray(e)&&(e=Kf.toHTML(e)),"string"===this.props.format){var t=$O(this.props,"format_value_functions");return(e=Oo({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags})).formats=t(e),e}return e}},{key:"valueToEditableHTML",value:function(e){return ai({value:e,multilineTag:this.multilineTag,prepareEditableTree:$O(this.props,"format_prepare_functions")}).body.innerHTML}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach((function(t){t.__experimentalCreatePrepareEditableTree&&(e=zo(e,t.name,0,e.text.length))})),e}},{key:"valueToFormat",value:function(e){return e=this.removeEditorOnlyFormats(e),this.usedDeprecatedChildrenSource?Kf.fromDOM(ai({value:e,multilineTag:this.multilineTag,isEditableTree:!1}).body.childNodes):"string"===this.props.format?ci({value:e,multilineTag:this.multilineTag}):e}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.wrapperClassName,a=t.className,s=t.inlineToolbar,c=void 0!==s&&s,l=t.formattingControls,u=t.placeholder,d=t.keepPlaceholderOnFocus,f=void 0!==d&&d,h=t.isSelected,p=t.autocompleters,v=t.onTagNameChange,m=r,b=this.multilineTag,g=IO(this.props),y=u&&(!h||f)&&this.isEmpty(),k=In()(i,"editor-rich-text block-editor-rich-text"),_=this.getRecord();return Object(I.createElement)("div",{className:k},h&&"li"===this.multilineTag&&Object(I.createElement)(zO,{onTagNameChange:v,tagName:r,value:_,onChange:this.onChange}),h&&!c&&Object(I.createElement)(R_,null,Object(I.createElement)(jO,{controls:l})),h&&c&&Object(I.createElement)(_a,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(I.createElement)(jO,{controls:l})),Object(I.createElement)(y_,{onReplace:this.props.onReplace,completers:p,record:_,onChange:this.onChange},(function(t){var n=t.listBoxId,i=t.activeId;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(RO,Le({tagName:r,style:o,record:_,valueToEditableHTML:e.valueToEditableHTML,isPlaceholderVisible:y,"aria-label":u,"aria-autocomplete":"list","aria-owns":n,"aria-activedescendant":i},g,{className:a,key:m,onPaste:e.onPaste,onInput:e.onInput,onCompositionEnd:e.onCompositionEnd,onKeyDown:e.onKeyDown,onFocus:e.onFocus,onBlur:e.onBlur,onMouseDown:e.onPointerDown,onTouchStart:e.onPointerDown,setRef:e.setRef})),y&&Object(I.createElement)(r,{className:In()("editor-rich-text__editable block-editor-rich-text__editable",a),style:o},b?Object(I.createElement)(b,null,u):u),h&&Object(I.createElement)(MO,{value:_,onChange:e.onChange}))})),h&&Object(I.createElement)(VO,null))}}]),t}(I.Component);qO.defaultProps={formattingControls:["bold","italic","link","strikethrough"],format:"string",value:""};var GO=Object(N.flowRight)([lg,v_((function(e){return{clientId:e.clientId}})),Og((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,a=t.isSelected,s=e("core/editor").canUserUseUnfilteredHTML,c=e("core/block-editor"),l=c.isCaretWithinFormattedText,u=c.getSelectionStart,d=c.getSelectionEnd,f=e("core/rich-text").getFormatTypes,h=u(),p=d();return void 0===a&&(a=h.clientId===n&&h.attributeKey===i),{canUserUseUnfilteredHTML:s(),isCaretWithinFormattedText:l(),formatTypes:f(),selectionStart:a?h.offset:void 0,selectionEnd:a?p.offset:void 0,isSelected:a}})),Cg((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,a=e("core/block-editor"),s=a.__unstableMarkLastChangeAsPersistent,c=a.enterFormattedText,l=a.exitFormattedText,u=a.selectionChange;return{onCreateUndoLevel:s,onEnterFormattedText:c,onExitFormattedText:l,onSelectionChange:function(e,t){u(n,i,e,t)}}})),ug,Gl("experimentalRichText")])(qO);GO.Content=function(e){var t,n=e.value,r=e.tagName,o=e.multiline,i=j(e,["value","tagName","multiline"]),a=n;!0!==o&&"p"!==o&&"li"!==o||(t=!0===o?"p":o),Array.isArray(n)&&(a=Kf.toHTML(n)),!a&&t&&(a="<".concat(t,"></").concat(t,">"));var s=Object(I.createElement)(K,null,a);return r?Object(I.createElement)(r,Object(N.omit)(i,["format"]),s):s},GO.isEmpty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Array.isArray(e)&&!e||0===e.length},GO.Content.defaultProps={format:"string",value:""};var ZO=function(e){return e.stopPropagation()},XO=function(e){function t(e){var n,r=e.autocompleteRef;return Ee(this,t),(n=De(this,Me(t).apply(this,arguments))).onChange=n.onChange.bind(xe(n)),n.onKeyDown=n.onKeyDown.bind(xe(n)),n.autocompleteRef=r||Object(I.createRef)(),n.inputRef=Object(I.createRef)(),n.updateSuggestions=Object(N.throttle)(n.updateSuggestions.bind(xe(n)),200),n.suggestionNodes=[],n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,nc()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props.fetchLinkSuggestions;if(n)if(e.length<2||/^https?:/.test(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var r=n(e);r.then((function(e){t.suggestionsRequest===r&&(t.setState({suggestions:e,loading:!1}),e.length?t.props.debouncedSpeak(ge(me("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(ve("No results."),"assertive"))})).catch((function(){t.suggestionsRequest===r&&t.setState({loading:!1})})),this.suggestionsRequest=r}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i){var a=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case 38:e.stopPropagation(),e.preventDefault();var s=r?r-1:o.length-1;this.setState({selectedSuggestion:s});break;case 40:e.stopPropagation(),e.preventDefault();var c=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:c});break;case 9:null!==this.state.selectedSuggestion&&(this.selectLink(a),this.props.speak(ve("Link selected.")));break;case 13:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(a))}}else switch(e.keyCode){case 38:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case 40:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=void 0===n?"":n,o=t.autoFocus,i=void 0===o||o,a=t.instanceId,s=t.className,c=this.state,l=c.showSuggestions,u=c.suggestions,d=c.selectedSuggestion,f=c.loading,h="block-editor-url-input-suggestions-".concat(a),p="block-editor-url-input-suggestion-".concat(a);return Object(I.createElement)("div",{className:In()("editor-url-input block-editor-url-input",s)},Object(I.createElement)("input",{autoFocus:i,type:"text","aria-label":ve("URL"),required:!0,value:r,onChange:this.onChange,onInput:ZO,placeholder:ve("Paste URL or type to search"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":l,"aria-autocomplete":"list","aria-owns":h,"aria-activedescendant":null!==d?"".concat(p,"-").concat(d):void 0,ref:this.inputRef}),f&&Object(I.createElement)(Ul,null),l&&!!u.length&&Object(I.createElement)(La,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(I.createElement)("div",{className:"editor-url-input__suggestions block-editor-url-input__suggestions",id:h,ref:this.autocompleteRef,role:"listbox"},u.map((function(t,n){return Object(I.createElement)("button",{key:t.id,role:"option",tabIndex:"-1",id:"".concat(p,"-").concat(n),ref:e.bindSuggestionNode(n),className:In()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===d}),onClick:function(){return e.handleOnClick(t)},"aria-selected":n===d},t.title)})))))}}]),t}(I.Component),QO=Object(N.flowRight)(ug,Ba,lg,Og((function(e){return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(XO),JO=(I.Component,ja("__experimentalBlockSettingsMenuFirstItem")),eS=JO.Fill,tS=JO.Slot;eS.Slot=tS;var nS=eS,rS=ja("__experimentalBlockSettingsMenuPluginsExtension"),oS=rS.Fill,iS=rS.Slot;oS.Slot=iS;var aS=oS;var sS=Object(N.flowRight)([Og((function(e,t){var n=e("core/block-editor"),r=n.getBlocksByClientId,o=n.getTemplateLock,i=n.getBlockRootClientId,a=r(t.clientIds),s=Object(N.every)(a,(function(e){return!!e&&yd(e.name,"multiple",!0)})),c=i(t.clientIds[0]);return{isLocked:!!o(c),blocks:a,canDuplicate:s,rootClientId:c,extraProps:t}})),Cg((function(e,t,n){var r=n.select,o=t.clientIds,i=t.rootClientId,a=t.blocks,s=t.isLocked,c=t.canDuplicate,l=e("core/block-editor"),u=l.insertBlocks,d=l.multiSelect,f=l.removeBlocks,h=l.insertDefaultBlock,p=l.replaceBlocks;return{onDuplicate:function(){if(!s&&c){var e=(0,r("core/block-editor").getBlockIndex)(Object(N.last)(Object(N.castArray)(o)),i),t=a.map((function(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=Xl()();return D({},t,{clientId:o,attributes:D({},t.attributes,n),innerBlocks:r||t.innerBlocks.map((function(t){return e(t)}))})}(e)}));u(t,e+1,i),t.length>1&&d(Object(N.first)(t).clientId,Object(N.last)(t).clientId)}},onRemove:function(){s||f(o)},onInsertBefore:function(){if(!s){var e=(0,r("core/block-editor").getBlockIndex)(Object(N.first)(Object(N.castArray)(o)),i);h({},i,e)}},onInsertAfter:function(){if(!s){var e=(0,r("core/block-editor").getBlockIndex)(Object(N.last)(Object(N.castArray)(o)),i);h({},i,e+1)}},onGroup:function(){if(a.length){var e=Dd(a,"core/group");e&&p(o,e)}},onUngroup:function(){if(a.length){var e=a[0].innerBlocks;e.length&&p(o,e)}}}}))])((function(e){var t=e.onDuplicate,n=e.onRemove,r=e.onInsertBefore,o=e.onInsertAfter,i=e.onGroup,a=e.onUngroup,s=e.isLocked,c=e.canDuplicate;return(0,e.children)({onDuplicate:t,onRemove:n,onInsertAfter:o,onInsertBefore:r,onGroup:i,onUngroup:a,isLocked:s,canDuplicate:c})})),cS=function(e){return e.preventDefault(),e},lS={duplicate:{raw:Fn.primaryShift("d"),display:Vn.primaryShift("d")},removeBlock:{raw:Fn.access("z"),display:Vn.access("z")},insertBefore:{raw:Fn.primaryAlt("t"),display:Vn.primaryAlt("t")},insertAfter:{raw:Fn.primaryAlt("y"),display:Vn.primaryAlt("y")}},uS=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).selectAll=e.selectAll.bind(xe(e)),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(xe(e)),e.clearMultiSelection=e.clearMultiSelection.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,r=t.onMultiSelect;e.preventDefault(),r(Object(N.first)(n),Object(N.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,r=t.hasMultiSelection,o=t.onRemove,i=t.isLocked;r&&(e.preventDefault(),i||o(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(as,{shortcuts:(e={},x(e,Fn.primary("a"),this.selectAll),x(e,"backspace",this.deleteSelectedBlocks),x(e,"del",this.deleteSelectedBlocks),x(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(I.createElement)(sS,{clientIds:t},(function(e){var t,n=e.onDuplicate,r=e.onRemove,o=e.onInsertAfter,i=e.onInsertBefore;return Object(I.createElement)(as,{bindGlobal:!0,shortcuts:(t={},x(t,lS.duplicate.raw,Object(N.flow)(cS,n)),x(t,lS.removeBlock.raw,Object(N.flow)(cS,r)),x(t,lS.insertBefore.raw,Object(N.flow)(cS,i)),x(t,lS.insertAfter.raw,Object(N.flow)(cS,o)),t)})})))}}]),t}(I.Component),dS=(Object(N.flowRight)([Og((function(e){var t=e("core/block-editor"),n=t.getBlockOrder,r=t.getSelectedBlockClientIds,o=t.hasMultiSelection,i=t.getBlockRootClientId,a=t.getTemplateLock,s=r();return{rootBlocksClientIds:n(),hasMultiSelection:o(),isLocked:Object(N.some)(s,(function(e){return!!a(i(e))})),selectedBlockClientIds:s}})),Cg((function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}}))])(uS),Og((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(I.createElement)(na,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){Lw(t).closest(".block-editor-block-list__block").focus()}},ve("Skip to the selected block"))}))),fS=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Ee(this,e),this.value=n,["entries","forEach","keys","values"].forEach((function(e){t[e]=function(){var t;return(t=this._valueAsArray)[e].apply(t,arguments)}.bind(t)}))}return Te(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:Ue.a.mark((function e(){return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}}),e,this)}))},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value+=" "+t.join(" ")}},{key:"remove",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value=N.without.apply(void 0,[this._valueAsArray].concat(t)).join(" ")}},{key:"toggle",value:function(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}},{key:"replace",value:function(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(e){e=String(e),this._valueAsArray=Object(N.uniq)(Object(N.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),e}();function hS(e,t,n){var r=new fS(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var pS=Object(N.flowRight)([Og((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,i=r(n),a=md(i.name);return{block:i,name:i.name,attributes:i.attributes,className:i.attributes.className||"",styles:o(i.name),type:a}})),Cg((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.name,i=e.attributes,a=e.type,s=e.block,c=e.onSwitch,l=void 0===c?N.noop:c,u=e.onHoverClassName,d=void 0===u?N.noop:u;if(!t||0===t.length)return null;a.styles||Object(N.find)(t,"isDefault")||(t=[{name:"default",label:be("Default","block style"),isDefault:!0}].concat(ft(t)));var f=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=new fS(t).values()[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;if(-1!==s.indexOf("is-style-")){var c=s.substring(9),l=Object(N.find)(e,{name:c});if(l)return l}}}catch(u){r=!0,o=u}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return Object(N.find)(e,"isDefault")}(t,n);function h(e){var t=hS(n,f,e);r(t),d(null),l()}return Object(I.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map((function(e){var t=hS(n,f,e);return Object(I.createElement)("div",{key:e.name,className:In()("editor-block-styles__item block-editor-block-styles__item",{"is-active":f===e}),onClick:function(){return h(e)},onKeyDown:function(t){13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),h(e))},onMouseEnter:function(){return d(t)},onMouseLeave:function(){return d(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(I.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(I.createElement)(Kw,{name:o,attributes:D({},i,{className:t}),innerBlocks:s.innerBlocks})),Object(I.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))})))})),vS={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/&nbsp;|&#160;/gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},mS=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},bS=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},gS=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},yS=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},kS=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},_S=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},wS=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},OS=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},SS=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function ES(e,t,n){if(""===e)return 0;if(e){var r=function(e,t){var n=Object(N.extend)(vS,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),o=r[t+"RegExp"],i="words"===r.type?function(e,t,n){return e=Object(N.flow)(mS.bind(this,n),_S.bind(this,n),wS.bind(this,n),OS.bind(this,n),gS.bind(this,n),yS.bind(this,n),kS.bind(this,n))(e),(e+="\n").match(t)}(e,o,r):function(e,t,n){return e=Object(N.flow)(mS.bind(this,n),_S.bind(this,n),wS.bind(this,n),OS.bind(this,n),bS.bind(this,n),SS.bind(this,n))(e),(e+="\n").match(t)}(e,o,r);return i?i.length:0}}var CS=Og((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=ES(gf(t),"words");return Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(I.createElement)(L_,{icon:Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},ge(me("%d block","%d blocks",t.length),t.length)),Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},me("%d word","%d words",n))))})),TS=(Og((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,i=e("core/blocks").getBlockStyles,a=n(),s=a&&o(a),c=a&&md(s),l=a&&i(s);return{count:r(),hasBlockStyles:l&&l.length>0,selectedBlockName:s,selectedBlockClientId:a,blockType:c}}))((function(e){var t=e.selectedBlockClientId,n=e.selectedBlockName,r=e.blockType,o=e.count,i=e.hasBlockStyles;if(o>1)return Object(I.createElement)(CS,null);var a=n===pd();return r&&t&&!a?Object(I.createElement)(I.Fragment,null,Object(I.createElement)("div",{className:"editor-block-inspector__card block-editor-block-inspector__card"},Object(I.createElement)(L_,{icon:r.icon,showColors:!0}),Object(I.createElement)("div",{className:"editor-block-inspector__card-content block-editor-block-inspector__card-content"},Object(I.createElement)("div",{className:"editor-block-inspector__card-title block-editor-block-inspector__card-title"},r.title),Object(I.createElement)("div",{className:"editor-block-inspector__card-description block-editor-block-inspector__card-description"},r.description))),i&&Object(I.createElement)("div",null,Object(I.createElement)(Ec,{title:ve("Styles"),initialOpen:!1},Object(I.createElement)(pS,{clientId:t}))),Object(I.createElement)("div",null,Object(I.createElement)(kO.Slot,null)),Object(I.createElement)("div",null,Object(I.createElement)(vO.Slot,null,(function(e){return!Object(N.isEmpty)(e)&&Object(I.createElement)(Ec,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:ve("Advanced"),initialOpen:!1},e)}))),Object(I.createElement)(dS,{key:"back"})):Object(I.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},ve("No block selected."))})),function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(xe(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(I.createElement)("div",Le({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(N.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(I.Component));Object(N.flowRight)([Og((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Cg((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(TS);var xS=Object(N.flowRight)([Og((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockMode,a=r.getSettings,s=o(n),c=a().codeEditingEnabled;return{mode:i(n),blockType:s?md(s.name):null,isCodeEditingEnabled:c}})),Cg((function(e,t){var n=t.onToggle,r=void 0===n?N.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,i=void 0!==o&&o,a=e.isCodeEditingEnabled,s=void 0===a||a;if(!yd(t,"html",!0)||!s)return null;var c=ve("visual"===n?"Edit as HTML":"Edit visually");return Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:r,icon:"html"},!i&&c)}));function DS(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=ve("Convert to Blocks");return Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!r&&o)}var MS=Object(N.flowRight)(Og((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Cg((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,ip({HTML:vf(n)}))}}})))(DS),jS=Object(N.flowRight)(Og((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===hd()}})),Cg((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,ip({HTML:gf(n)}))}}})))(DS);var IS=function(e){var t=e.clientIds,n=Object(N.castArray)(t),r=n.length,o=n[0];return Object(I.createElement)(sS,{clientIds:t},(function(e){var n=e.onDuplicate,i=e.onRemove,a=e.onInsertAfter,s=e.onInsertBefore,c=e.canDuplicate,l=e.isLocked;return Object(I.createElement)(ql,null,Object(I.createElement)(Ws,{icon:"ellipsis",label:ve("More options"),position:"bottom right",className:"block-editor-block-settings-menu",__unstableToggleClassName:"block-editor-block-settings-menu__toggle editor-block-settings-menu__toggle",__unstableMenuClassName:"block-editor-block-settings-menu__content editor-block-settings-menu__content",__unstablePopoverClassName:"block-editor-block-settings-menu__popover editor-block-settings-menu__popover"},(function(e){var u=e.onClose;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(cc,null,Object(I.createElement)(nS.Slot,{fillProps:{onClose:u}}),1===r&&Object(I.createElement)(jS,{clientId:o}),1===r&&Object(I.createElement)(MS,{clientId:o}),!l&&c&&Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,n),icon:"admin-page",shortcut:lS.duplicate.display},ve("Duplicate")),!l&&Object(I.createElement)(I.Fragment,null,Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,s),icon:"insert-before",shortcut:lS.insertBefore.display},ve("Insert Before")),Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,a),icon:"insert-after",shortcut:lS.insertAfter.display},ve("Insert After"))),1===r&&Object(I.createElement)(xS,{clientId:o,onToggle:u}),Object(I.createElement)(aS.Slot,{fillProps:{clientIds:t,onClose:u}})),Object(I.createElement)(cc,null,!l&&Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,i),icon:"trash",shortcut:lS.removeBlock.display},ve("Remove Block"))))})))}))},PS=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,i=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var s,c=Object(N.mapKeys)(o,(function(e){return e.name})),l=Object(N.orderBy)(Object(N.filter)(Cd(n),(function(e){return e&&!!c[e.name]})),(function(e){return c[e.name].frecency}),"desc");if(1===Object(N.uniq)(Object(N.map)(n,"name")).length){var u=md(n[0].name);s=u.icon}else s="layout";return i||l.length?Object(I.createElement)(Qa,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?ve("Change block type or style"):ge(me("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(I.createElement)(ql,null,Object(I.createElement)(ya,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,tooltip:o,onKeyDown:function(e){r||40!==e.keyCode||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(I.createElement)(I.Fragment,null,Object(I.createElement)(L_,{icon:s,showColors:!0}),Object(I.createElement)(Mn,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(I.createElement)(I.Fragment,null,i&&Object(I.createElement)(Ec,{title:ve("Block Styles"),initialOpen:!0},Object(I.createElement)(pS,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==l.length&&Object(I.createElement)(Ec,{title:ve("Transform To:"),initialOpen:!0},Object(I.createElement)(qw,{items:l.map((function(e){return{id:e.name,icon:e.icon,title:e.title,hasChildBlocksWithInserterSupport:_d(e.name)}})),onSelect:function(e){r(n,e.id),o()}})),null!==a&&Object(I.createElement)(Yw,{name:n[0].name,attributes:D({},n[0].attributes,{className:a}),innerBlocks:n[0].innerBlocks}))}}):Object(I.createElement)(ql,null,Object(I.createElement)(ya,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:ve("Block icon"),icon:Object(I.createElement)(L_,{icon:s,showColors:!0})}))}}]),t}(I.Component),NS=Object(N.flowRight)(Og((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,a=r.getInserterItems,s=e("core/blocks").getBlockStyles,c=i(Object(N.first)(Object(N.castArray)(n))),l=o(n),u=l&&1===l.length?l[0]:null,d=u&&s(u.name);return{blocks:l,inserterItems:a(c),hasBlockStyles:d&&d.length>0}})),Cg((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Dd(n,r))}}})))(PS);var RS=Og((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(I.createElement)(NS,{key:"switcher",clientIds:n}):null}));var LS=Og((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=r();return{blockClientIds:i,isValid:1===i.length?o(i[0]):null,mode:1===i.length?n(i[0]):null}}))((function(e){var t=e.blockClientIds,n=e.isValid,r=e.mode;return 0===t.length?null:t.length>1?Object(I.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(I.createElement)(RS,null),Object(I.createElement)(IS,{clientIds:t})):Object(I.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===r&&n&&Object(I.createElement)(I.Fragment,null,Object(I.createElement)(NS,{clientIds:t}),Object(I.createElement)(x_.Slot,null),Object(I.createElement)(R_.Slot,null)),Object(I.createElement)(IS,{clientIds:t}))}));Object(N.flowRight)([Cg((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,i=r.getSelectedBlockClientIds,a=r.hasMultiSelection,s=e("core/block-editor").removeBlocks,c=function(e){var t=i();if(0!==t.length&&(a()||!function(){if(Wi(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}())){var n=gf(o(t));e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",n),e.preventDefault()}};return{onCopy:c,onCut:function(e){if(c(e),a()){var t=i();s(t)}}}}))])((function(e){var t=e.children,n=e.onCopy,r=e.onCut;return Object(I.createElement)("div",{onCopy:n,onCut:r},t)}));var AS=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=Lw(e);if(t){var n=Yi(t);n&&nc()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(I.Component),zS=(Og((function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}}))(AS),[38,39,40,37,13,8]);var FS=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(xe(e)),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(xe(e)),e.startTypingInTextField=e.startTypingInTextField.bind(xe(e)),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(xe(e)),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(xe(e)),e.onKeyDown=Object(N.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&27===e.keyCode&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!Wi(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(N.includes)(zS,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout((function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!Wi(i)&&o()}))}},{key:"render",value:function(){var e=this.props.children;return Object(I.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(I.Component),HS=(Object(N.flowRight)([Og((function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}})),Cg((function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}})),ug])(FS),function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props,n=t.blockOrder,r=t.selectionStart;return n!==e.blockOrder&&r?this.getOffset(r):null}},{key:"componentDidUpdate",value:function(e,t,n){n&&this.restorePreviousOffset(n)}},{key:"getOffset",value:function(e){var t=Lw(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=Lw(this.props.selectionStart);if(t){var n=Yi(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(I.Component)),VS=(Og((function(e){return{blockOrder:e("core/block-editor").getBlockOrder(),selectionStart:e("core/block-editor").getBlockSelectionStart()}}))(HS),window),BS=VS.getSelection,US=VS.getComputedStyle,WS=Object(N.overEvery)([Wi,Ji.tabbable.isTabbableIndex]);var KS=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(xe(e)),e.bindContainer=e.bindContainer.bind(xe(e)),e.clearVerticalRect=e.clearVerticalRect.bind(xe(e)),e.focusLastTextField=e.focusLastTextField.bind(xe(e)),e.verticalRect=null,e}return Ie(t,e),Te(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=Ji.focusable.find(this.container);return t&&(n=Object(N.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(N.find)(n,(function t(n,r,o){if(!Ji.tabbable.isTabbableIndex(n))return!1;if(Wi(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,a=1;(i=o[r+a])&&n.contains(i);a++)if(t(i,r+a,o))return!1;return!0}))}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockClientId,r=t.selectionStartClientId,o=t.selectionBeforeEndClientId,i=t.selectionAfterEndClientId,a=e?o:i;a&&this.props.onMultiSelect(r||n,a)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstClientId,r=t.selectedLastClientId,o=e?n:r;o&&this.props.onSelectBlock(o)}},{key:"isTabbableEdge",value:function(e,t){var n,r,o=this.getClosestTabbable(e,t);return!(o&&(n=e,r=o,n.closest("[data-block]")===r.closest("[data-block]")))}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.hasMultiSelection,r=t.onMultiSelect,o=t.blocks,i=t.selectionBeforeEndClientId,a=t.selectionAfterEndClientId,s=e.keyCode,c=e.target,l=38===s,u=37===s,d=l||u,f=u||39===s,h=l||40===s,p=f||h,v=e.shiftKey,m=v||e.ctrlKey||e.altKey||e.metaKey,b=h?Hi:Fi;if(h?this.verticalRect||(this.verticalRect=function(){var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;if(t)return Vi(t)}()):this.verticalRect=null,!p)return Bn.primary(e)&&(this.isEntirelySelected=Ki(c)),void(Bn.primary(e,"a")&&((c.isContentEditable?this.isEntirelySelected:Ki(c))&&(r(Object(N.first)(o),Object(N.last)(o)),e.preventDefault()),this.isEntirelySelected=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((38===t||40===t)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(c,s,m)){var g="rtl"===US(c).direction?!d:d;if(v)(d&&i||!d&&a)&&(n||this.isTabbableEdge(c,d)&&b(c,d))&&(this.expandSelection(d),e.preventDefault());else if(n)this.moveSelection(d),e.preventDefault();else if(h&&Hi(c,d)){var y=this.getClosestTabbable(c,d);y&&(!function e(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t)if(r&&t.isContentEditable){var i=r.height/2,a=t.getBoundingClientRect(),s=r.left,c=n?a.bottom-i:a.top+i,l=Ui(document,s,c,t);if(!l||!t.contains(l.startContainer))return!o||l&&l.startContainer&&l.startContainer.contains(t)?void Bi(t,n):(t.scrollIntoView(n),void e(t,n,r,!1));if(l.startContainer.nodeType===Ri){var u=l.startContainer.parentNode,d=u.getBoundingClientRect(),f=n?"bottom":"top",h=parseInt(Pi(u).getPropertyValue("padding-".concat(f)),10)||0,p=n?d.bottom-h-i:d.top+h+i;c!==p&&(l=Ui(document,s,p,t))}var v=window.getSelection();v.removeAllRanges(),v.addRange(l),t.focus(),v.removeAllRanges(),v.addRange(l)}else Bi(t,n)}(y,d,this.verticalRect),e.preventDefault())}else if(f&&BS().isCollapsed&&Fi(c,g)){Bi(this.getClosestTabbable(c,g),g),e.preventDefault()}}}},{key:"focusLastTextField",value:function(){var e=Ji.focusable.find(this.container),t=Object(N.findLast)(e,WS);t&&Bi(t,!0)}},{key:"render",value:function(){var e=this.props.children;return Object(I.createElement)("div",{className:"editor-writing-flow block-editor-writing-flow"},Object(I.createElement)("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),Object(I.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"wp-block editor-writing-flow__click-redirect block-editor-writing-flow__click-redirect"}))}}]),t}(I.Component),YS=(Object(N.flowRight)([Og((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,a=t.getNextBlockClientId,s=t.getFirstMultiSelectedBlockClientId,c=t.getLastMultiSelectedBlockClientId,l=t.hasMultiSelection,u=t.getBlockOrder,d=n(),f=r(),h=o();return{selectedBlockClientId:d,selectionStartClientId:f,selectionBeforeEndClientId:i(h||d),selectionAfterEndClientId:a(h||d),selectedFirstClientId:s(),selectedLastClientId:c(),hasMultiSelection:l(),blocks:u()}})),Cg((function(e){var t=e("core/block-editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}}))])(KS),["left","center","right","wide","full"]),$S=["wide","full"];function qS(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?YS:[],!r||!0===e&&!n?N.without.apply(void 0,[t].concat($S)):t}var GS=ag((function(e){return function(t){var n=t.name,r=qS(gd(n,"align"),yd(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(I.createElement)(x_,{key:"align-controls"},Object(I.createElement)(O_,{value:t.attributes.align,onChange:function(e){if(!e){var n=md(t.name);Object(N.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(I.createElement)(e,Le({key:"edit"},t))]}}),"withToolbarControls"),ZS=ag(Object(N.flowRight)([Og((function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}})),function(e){return function(t){var n=t.name,r=t.attributes,o=t.hasWideEnabled,i=r.align,a=qS(gd(n,"align"),yd(n,"alignWide",!0),o),s=t.wrapperProps;return Object(N.includes)(a,i)&&(s=D({},s,{"data-align":i})),Object(I.createElement)(e,Le({},t,{wrapperProps:s}))}}]));Ir("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(N.has)(e.attributes,["align","type"])?e:(yd(e,"align")&&(e.attributes=Object(N.assign)(e.attributes,{align:{type:"string"}})),e)})),Ir("editor.BlockListBlock","core/editor/align/with-data-align",ZS),Ir("editor.BlockEdit","core/editor/align/with-toolbar-controls",GS),Ir("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=gd(t,"align"),i=yd(t,"alignWide",!0);return Object(N.includes)(qS(o,i),r)&&(e.className=In()("align".concat(r),e.className)),e}));var XS=/[\s#]/g;var QS=ag((function(e){return function(t){return yd(t.name,"anchor")&&t.isSelected?Object(I.createElement)(I.Fragment,null,Object(I.createElement)(e,t),Object(I.createElement)(vO,null,Object(I.createElement)(us,{label:ve("HTML Anchor"),help:ve("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(XS,"-"),t.setAttributes({anchor:e})}}))):Object(I.createElement)(e,t)}}),"withInspectorControl");Ir("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(N.has)(e.attributes,["anchor","type"])?e:(yd(e,"anchor")&&(e.attributes=Object(N.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e)})),Ir("editor.BlockEdit","core/editor/anchor/with-inspector-control",QS),Ir("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return yd(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var JS=ag((function(e){return function(t){return yd(t.name,"customClassName",!0)&&t.isSelected?Object(I.createElement)(I.Fragment,null,Object(I.createElement)(e,t),Object(I.createElement)(vO,null,Object(I.createElement)(us,{label:ve("Additional CSS Class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:ve("Separate multiple classes with spaces.")}))):Object(I.createElement)(e,t)}}),"withInspectorControl");function eE(e){var t=eh(e="<div data-custom-class-name>".concat(e,"</div>"),{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Ir("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return yd(e,"customClassName",!0)&&(e.attributes=Object(N.assign)(e.attributes,{className:{type:"string"}})),e})),Ir("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",JS),Ir("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return yd(t,"customClassName",!0)&&n.className&&(e.className=In()(e.className,n.className)),e})),Ir("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(yd(t,"customClassName",!0)){var r=pf(t,Object(N.omit)(e,["className"])),o=eE(r),i=eE(n),a=Object(N.difference)(i,o);a.length?e.className=a.join(" "):r&&delete e.className}return e})),Ir("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return yd(t,"className",!0)&&("string"==typeof e.className?e.className=Object(N.uniq)([ff(t.name)].concat(ft(e.className.split(" ")))).join(" ").trim():e.className=ff(t.name)),e}));n(139);var tE=n(57),nE=n.n(tE),rE=oE;function oE(e){this.options=e||{}}oE.prototype.emit=function(e){return e},oE.prototype.visit=function(e){return this[e.type](e)},oE.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r<o;r++)n+=this.visit(e[r]),t&&r<o-1&&(n+=this.emit(t));return n};function iE(e){rE.call(this,e)}nE()(iE,rE),iE.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},iE.prototype.comment=function(e){return this.emit("",e.position)},iE.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},iE.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},iE.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},iE.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},iE.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},iE.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},iE.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},iE.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},iE.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", "):"";return this.emit("@page "+t,e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},iE.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},iE.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},iE.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},iE.prototype.rule=function(e){var t=e.declarations;return t.length?this.emit(e.selectors.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}"):""},iE.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};function aE(e){e=e||{},rE.call(this,e),this.indentation=e.indent}nE()(aE,rE),aE.prototype.compile=function(e){return this.stylesheet(e)},aE.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},aE.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},aE.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},aE.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},aE.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},aE.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},aE.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},aE.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},aE.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.keyframes,"\n")+this.emit(this.indent(-1)+"}")},aE.prototype.keyframe=function(e){var t=e.declarations;return this.emit(this.indent())+this.emit(e.values.join(", "),e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")},aE.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", ")+" ":"";return this.emit("@page "+t,e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},aE.prototype["font-face"]=function(e){return this.emit("@font-face ",e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},aE.prototype.host=function(e){return this.emit("@host",e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},aE.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},aE.prototype.rule=function(e){var t=this.indent(),n=e.declarations;return n.length?this.emit(e.selectors.map((function(e){return t+e})).join(",\n"),e.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(n,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}"):""},aE.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},aE.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};n(73);n(253);var sE=Object(N.flowRight)([bn((function(e,t){var n=t.blockName,r=t.href,o=t.onClick;return{autosaveAndRedirect:function(t){return regeneratorRuntime.async((function(i){for(;;)switch(i.prev=i.next){case 0:return t.preventDefault(),o(n),i.next=4,regeneratorRuntime.awrap(e("core/editor").autosave());case 4:window.top.location.href=r;case 5:case"end":return i.stop()}}))}}}))])((function(e){var t=e.autosaveAndRedirect,n=e.buttonLabel,r=e.href,o=e.icon,i=e.subtitle,a=e.title;return Object(I.createElement)(iw,{actions:r&&[Object(I.createElement)(na,{href:r,onClick:t,target:"_top",isDefault:!0},n)],className:"jetpack-block-nudge"},Object(I.createElement)("span",{className:"jetpack-block-nudge__info"},o,Object(I.createElement)("span",{className:"jetpack-block-nudge__text-container"},Object(I.createElement)("span",{className:"jetpack-block-nudge__title"},a),Object(I.createElement)("span",{className:"jetpack-block-nudge__message"},i))))}));function cE(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}function lE(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}var uE={setPlans:function(e){return{type:"SET_PLANS",plans:e}},fetchFromAPI:function(e){return{type:"FETCH_FROM_API",url:e}}};gn("wordpress-com/plans",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PLANS":return t.plans}return e},actions:uE,selectors:{getPlan:function(e,t){return e.find((function(e){return e.product_slug===t}))}},controls:{FETCH_FROM_API:function(e){var t=e.url;return fetch(t).then((function(e){return e.json()}))}},resolvers:{getPlan:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"https://public-api.wordpress.com/rest/v1.5/plans",e.next=3,uE.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");case 3:return t=e.sent,e.abrupt("return",uE.setPlans(t));case 5:case"end":return e.stop()}}),e)}))}});n(254);var dE=function(e){var t=e.planName,n=e.trackEvent,r=e.upgradeUrl;return Object(I.createElement)(sE,{buttonLabel:ve("Upgrade","jetpack"),icon:Object(I.createElement)(pe.a,{className:"jetpack-upgrade-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:r,onClick:n,title:ve(t?"Upgrade to %(planName)s to use this block on your site.":"Upgrade to a paid plan to use this block on your site.","jetpack"),subtitle:ve("You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.","jetpack")})},fE=(Object(N.flowRight)([pn((function(e,t){var n=t.plan,r=e("wordpress-com/plans").getPlan(n),o=Object(N.startsWith)(n,"jetpack_")?n.substr("jetpack_".length):Object(N.get)(r,["path_slug"]),i=e("core/editor").getCurrentPostId(),a=e("core/editor").getCurrentPostType(),s=["page","post"].includes(a)?"":"edit",c="simple"===lE()?_e("/"+Object(N.compact)([s,a,cE(),i]).join("/"),{plan_upgraded:1}):_e(window.location.protocol+"//".concat(cE().replace("::","/"),"/wp-admin/post.php"),{action:"edit",post:i,plan_upgraded:1}),l=o&&_e("https://wordpress.com/checkout/".concat(cE(),"/").concat(o),{redirect_to:c});return{trackEvent:function(e){Cn.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:r,block:e})},planName:Object(N.get)(r,["product_name"]),upgradeUrl:l}}))])(dE),n(255),Object(fe.renderToStaticMarkup)(Object(I.createElement)(dE,{planName:"#planName#",upgradeUrl:"#upgradeUrl#"})));t.default=function(){return{"upgrade-nudge.html":fE}}}]); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/components.rtl.css b/plugins/jetpack/_inc/blocks/components.rtl.css
index 56a90689..4e799def 100644
--- a/plugins/jetpack/_inc/blocks/components.rtl.css
+++ b/plugins/jetpack/_inc/blocks/components.rtl.css
@@ -1 +1 @@
-.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;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff}.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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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;width:100%}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.block-editor-warning{border:1px solid #e0e0e0;padding:10px 14px}.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none} \ No newline at end of file
+.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;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff}.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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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;width:100%}.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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.block-editor-warning{border:1px solid #e0e0e0;padding:10px 14px}.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/contact-info/view.asset.php b/plugins/jetpack/_inc/blocks/contact-info/view.asset.php
index 68a5b5af..1e70baff 100644
--- a/plugins/jetpack/_inc/blocks/contact-info/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/contact-info/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'bd7dad5bce49d5eb5e0e074001289dbe'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => '6349062f7798f75e185e');
diff --git a/plugins/jetpack/_inc/blocks/contact-info/view.js b/plugins/jetpack/_inc/blocks/contact-info/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/contact-info/view.js
+++ b/plugins/jetpack/_inc/blocks/contact-info/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/dialogue/view.asset.php b/plugins/jetpack/_inc/blocks/dialogue/view.asset.php
index d4945d61..3c727cbc 100644
--- a/plugins/jetpack/_inc/blocks/dialogue/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/dialogue/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-polyfill'), 'version' => '227e4c0621e17bd94c29d032478bb3d3'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-polyfill'), 'version' => 'e06afcade5e07b738f17');
diff --git a/plugins/jetpack/_inc/blocks/dialogue/view.js b/plugins/jetpack/_inc/blocks/dialogue/view.js
index 7f2156a3..26eb1884 100644
--- a/plugins/jetpack/_inc/blocks/dialogue/view.js
+++ b/plugins/jetpack/_inc/blocks/dialogue/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,e,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},9818:function(t){"use strict";t.exports=window.wp.data},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"}(),function(){"use strict";r(57836)}(),function(){"use strict";var t=r(47701),e=r.n(t),n=r(9818);const o="jetpack/media-source";e()((function(){const t=(0,n.select)(o)?.getDefaultMediaSource();t||document?.body.classList.add("no-media-source"),document.body.addEventListener("click",(e=>{if(!e?.target?.classList?.contains("wp-block-jetpack-dialogue__timestamp_link"))return;const r=e.target?.href?.split("#")?.[1];r&&t&&(e.preventDefault(),(0,n.dispatch)(o).setMediaSourceCurrentTime(t.id,r),(0,n.dispatch)(o).playMediaSource(t.id,r))}))}))}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,e,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},9818:function(t){"use strict";t.exports=window.wp.data},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"}(),function(){"use strict";r(80425)}(),function(){"use strict";var t=r(47701),e=r.n(t),n=r(9818);const o="jetpack/media-source";e()((function(){var t;const e=null===(t=(0,n.select)(o))||void 0===t?void 0:t.getDefaultMediaSource();var r;e||(null===(r=document)||void 0===r||r.body.classList.add("no-media-source"));document.body.addEventListener("click",(t=>{var r,i,c,u,s;if(null==t||null===(r=t.target)||void 0===r||null===(i=r.classList)||void 0===i||!i.contains("wp-block-jetpack-dialogue__timestamp_link"))return;const a=null===(c=t.target)||void 0===c||null===(u=c.href)||void 0===u||null===(s=u.split("#"))||void 0===s?void 0:s[1];a&&e&&(t.preventDefault(),(0,n.dispatch)(o).setMediaSourceCurrentTime(e.id,a),(0,n.dispatch)(o).playMediaSource(e.id,a))}))}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/donations/view.asset.php b/plugins/jetpack/_inc/blocks/donations/view.asset.php
index ce8974d5..165c440b 100644
--- a/plugins/jetpack/_inc/blocks/donations/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/donations/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-dom-ready', 'wp-keycodes', 'wp-polyfill', 'wp-url'), 'version' => 'b1cd3a3d133ee9024b5e8dccf136f071'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-keycodes', 'wp-polyfill', 'wp-url'), 'version' => 'db13ce542535a0710707');
diff --git a/plugins/jetpack/_inc/blocks/donations/view.css b/plugins/jetpack/_inc/blocks/donations/view.css
index 3bc7f346..09681abb 100644
--- a/plugins/jetpack/_inc/blocks/donations/view.css
+++ b/plugins/jetpack/_inc/blocks/donations/view.css
@@ -1 +1 @@
-.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{margin-left: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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-block-jetpack-donations .donations__container:not(.loaded){height:200px;position:relative;width:100%}.wp-block-jetpack-donations .donations__container:not(.loaded) *{display:none}.wp-block-jetpack-donations .donations__container:not(.loaded):before{background-color:#949494;border-radius:100%;content:"";height:18px;left:50%;opacity:.7;position:absolute;top:50%;transform:translate(-50%,-50%);width:18px}.wp-block-jetpack-donations .donations__container:not(.loaded):after{animation:spinner 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;left:50%;margin-left:-6px;margin-top:-6px;position:absolute;top:50%;transform-origin:6px 6px;width:4px}.wp-block-jetpack-donations .donations__tab.is-annual .donations__monthly-item,.wp-block-jetpack-donations .donations__tab.is-annual .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__monthly-item{display:none}.wp-block-jetpack-donations .donations__amount{cursor:pointer}.wp-block-jetpack-donations .donations__amount.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount{cursor:text}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;text-align:left;white-space:pre-wrap}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:empty:after{color:#ccc;content:attr(data-empty-text)}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:focus{outline:none}.wp-block-jetpack-donations .donations__donate-button.is-disabled{opacity:.2;pointer-events:none} \ No newline at end of file
+.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{margin-left: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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-block-jetpack-donations .donations__container:not(.loaded){height:200px;position:relative;width:100%}.wp-block-jetpack-donations .donations__container:not(.loaded) *{display:none}.wp-block-jetpack-donations .donations__container:not(.loaded):before{background-color:#949494;border-radius:100%;content:"";height:16px;left:50%;opacity:.7;position:absolute;top:50%;transform:translate(-50%,-50%);width:16px}.wp-block-jetpack-donations .donations__container:not(.loaded):after{animation:spinner 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:3.5555555556px;left:50%;margin-left:-5.3333333333px;margin-top:-5.3333333333px;position:absolute;top:50%;transform-origin:5.3333333333px 5.3333333333px;width:3.5555555556px}.wp-block-jetpack-donations .donations__tab.is-annual .donations__monthly-item,.wp-block-jetpack-donations .donations__tab.is-annual .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__monthly-item{display:none}.wp-block-jetpack-donations .donations__amount{cursor:pointer}.wp-block-jetpack-donations .donations__amount.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount{cursor:text}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;text-align:left;white-space:pre-wrap}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:empty:after{color:#ccc;content:attr(data-empty-text)}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:focus{outline:none}.wp-block-jetpack-donations .donations__donate-button.is-disabled{opacity:.2;pointer-events:none} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/donations/view.js b/plugins/jetpack/_inc/blocks/donations/view.js
index 290eb1fc..6bc0052e 100644
--- a/plugins/jetpack/_inc/blocks/donations/view.js
+++ b/plugins/jetpack/_inc/blocks/donations/view.js
@@ -1,2 +1,2 @@
/*! For license information please see view.js.LICENSE.txt */
-!function(){var t={8172:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(31354),i=n(64803);function o(t){var e=(0,r.Z)(t);return function(t){return(0,i.Z)(e,t)}}},64803:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r={"!":function(t){return!t},"*":function(t,e){return t*e},"/":function(t,e){return t/e},"%":function(t,e){return t%e},"+":function(t,e){return t+e},"-":function(t,e){return t-e},"<":function(t,e){return t<e},"<=":function(t,e){return t<=e},">":function(t,e){return t>e},">=":function(t,e){return t>=e},"==":function(t,e){return t===e},"!=":function(t,e){return t!==e},"&&":function(t,e){return t&&e},"||":function(t,e){return t||e},"?:":function(t,e,n){if(t)throw e;return n}};function i(t,e){var n,i,o,s,c,u,a=[];for(n=0;n<t.length;n++){if(c=t[n],s=r[c]){for(i=s.length,o=Array(i);i--;)o[i]=a.pop();try{u=s.apply(null,o)}catch(t){return t}}else u=e.hasOwnProperty(c)?e[c]:+c;a.push(u)}return a[0]}},7478:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(8172);function i(t){var e=(0,r.Z)(t);return function(t){return+e({n:t})}}},31354:function(t,e,n){"use strict";var r,i,o,s;function c(t){for(var e,n,c,u,a=[],l=[];e=t.match(s);){for(n=e[0],(c=t.substr(0,e.index).trim())&&a.push(c);u=l.pop();){if(o[n]){if(o[n][0]===u){n=o[n][1]||n;break}}else if(i.indexOf(u)>=0||r[u]<r[n]){l.push(u);break}a.push(u)}o[n]||l.push(n),t=t.substr(e.index+n.length)}return(t=t.trim())&&a.push(t),a.concat(l.reverse())}n.d(e,{Z:function(){return c}}),r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},i=["(","?"],o={")":["("],":":["?","?:"]},s=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},702:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function i(t,e){var n;if(!Array.isArray(e))for(e=new Array(arguments.length-1),n=1;n<arguments.length;n++)e[n-1]=arguments[n];return n=1,t.replace(r,(function(){var t,r,i,o,s;return t=arguments[3],r=arguments[5],"%"===(o=arguments[9])?"%":("*"===(i=arguments[7])&&(i=e[n-1],n++),void 0!==r?e[0]&&"object"==typeof e[0]&&e[0].hasOwnProperty(r)&&(s=e[0][r]):(void 0===t&&(t=n),n++,s=e[t-1]),"f"===o?s=parseFloat(s)||0:"d"===o&&(s=parseInt(s)||0),void 0!==i&&("f"===o?s=s.toFixed(i):"s"===o&&(s=s.substr(0,i))),null!=s?s:"")}))}},2571:function(t){"use strict";var e,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};e=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var i=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(t,e){return new Promise((function(n,r){function i(n){t.removeListener(e,o),r(n)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),n([].slice.call(arguments))}d(t,e,o,{once:!0}),"error"!==e&&function(t,e,n){"function"==typeof t.on&&d(t,"error",e,n)}(t,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function a(t,e,n,r){var i,o,s,a;if(c(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),s=o[e]),void 0===s)s=o[e]=n,++t._eventsCount;else if("function"==typeof s?s=o[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=u(t))>0&&s.length>i&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=s.length,a=l,console&&console.warn&&console.warn(a)}return t}function l(){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 p(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function f(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):g(i,i.length)}function m(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function d(t,e,n,r){if("function"==typeof t.on)r.once?t.once(e,n):t.on(e,n);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){r.once&&t.removeEventListener(e,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");s=t}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var i="error"===t,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var s;if(e.length>0&&(s=e[0]),s instanceof Error)throw s;var c=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var u=o[t];if(void 0===u)return!1;if("function"==typeof u)r(u,this,e);else{var a=u.length,l=g(u,a);for(n=0;n<a;++n)r(l[n],this,e)}return!0},o.prototype.addListener=function(t,e){return a(this,t,e,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(t,e){return a(this,t,e,!0)},o.prototype.once=function(t,e){return c(e),this.on(t,p(this,t,e)),this},o.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,p(this,t,e)),this},o.prototype.removeListener=function(t,e){var n,r,i,o,s;if(c(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,s||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},o.prototype.listeners=function(t){return f(this,t,!0)},o.prototype.rawListeners=function(t){return f(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},95949:function(t,e,n){"use strict";var r=n(53566),i=n(48282);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=r.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=t>>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},69016:function(t,e,n){"use strict";var r=n(53566),i=n(95949),o=n(47574),s=r.rotl32,c=r.sum32,u=r.sum32_5,a=o.ft_1,l=i.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(f,l),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=s(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],f=this.h[3],m=this.h[4];for(r=0;r<n.length;r++){var g=~~(r/20),d=u(s(i,5),a(g,o,l,f),m,n[r],p[g]);m=f,f=l,l=s(o,30),o=i,i=d}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],o),this.h[2]=c(this.h[2],l),this.h[3]=c(this.h[3],f),this.h[4]=c(this.h[4],m)},f.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},47574:function(t,e,n){"use strict";var r=n(53566).rotr32;function i(t,e,n){return t&e^~t&n}function o(t,e,n){return t&e^t&n^e&n}function s(t,e,n){return t^e^n}e.ft_1=function(t,e,n,r){return 0===t?i(e,n,r):1===t||3===t?s(e,n,r):2===t?o(e,n,r):void 0},e.ch32=i,e.maj32=o,e.p32=s,e.s0_256=function(t){return r(t,2)^r(t,13)^r(t,22)},e.s1_256=function(t){return r(t,6)^r(t,11)^r(t,25)},e.g0_256=function(t){return r(t,7)^r(t,18)^t>>>3},e.g1_256=function(t){return r(t,17)^r(t,19)^t>>>10}},53566:function(t,e,n){"use strict";var r=n(48282),i=n(59503);function o(t,e){return 55296==(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function s(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function c(t){return 1===t.length?"0"+t:t}function u(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16))}else for(var r=0,i=0;i<t.length;i++){var s=t.charCodeAt(i);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):o(t,i)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i<t.length;i++)n[i]=0|t[i];return n},e.toHex=function(t){for(var e="",n=0;n<t.length;n++)e+=c(t[n].toString(16));return e},e.htonl=s,e.toHex32=function(t,e){for(var n="",r=0;r<t.length;r++){var i=t[r];"little"===e&&(i=s(i)),n+=u(i.toString(16))}return n},e.zero2=c,e.zero8=u,e.join32=function(t,e,n,i){var o=n-e;r(o%4==0);for(var s=new Array(o/4),c=0,u=e;c<s.length;c++,u+=4){var a;a="big"===i?t[u]<<24|t[u+1]<<16|t[u+2]<<8|t[u+3]:t[u+3]<<24|t[u+2]<<16|t[u+1]<<8|t[u],s[c]=a>>>0}return s},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r<t.length;r++,i+=4){var o=t[r];"big"===e?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,i){return t+e+n+r+i>>>0},e.sum64=function(t,e,n,r){var i=t[e],o=r+t[e+1]>>>0,s=(o<r?1:0)+n+i;t[e]=s>>>0,t[e+1]=o},e.sum64_hi=function(t,e,n,r){return(e+r>>>0<e?1:0)+t+n>>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,i,o,s,c){var u=0,a=e;return u+=(a=a+r>>>0)<e?1:0,u+=(a=a+o>>>0)<o?1:0,t+n+i+s+(u+=(a=a+c>>>0)<c?1:0)>>>0},e.sum64_4_lo=function(t,e,n,r,i,o,s,c){return e+r+o+c>>>0},e.sum64_5_hi=function(t,e,n,r,i,o,s,c,u,a){var l=0,p=e;return l+=(p=p+r>>>0)<e?1:0,l+=(p=p+o>>>0)<o?1:0,l+=(p=p+c>>>0)<c?1:0,t+n+i+s+u+(l+=(p=p+a>>>0)<a?1:0)>>>0},e.sum64_5_lo=function(t,e,n,r,i,o,s,c,u,a){return e+r+o+c+a>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},88617:function(t,e,n){"use strict";var r=n(59128),i=n(98086),o=n(90922),s=n.n(o),c=n(94481),u=n(88090),a=n(75565),l=n.n(a),p=n(69016),f=n.n(p),m=n(2571),g=n(702),d=n(92846),h=s()("i18n-calypso"),y="number_format_decimals",b="number_format_thousands_sep",v="messages",w=[function(t){return t}],C={};function _(){L.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function S(t){return Array.prototype.slice.call(t)}function F(t){var e=t[0];("string"!=typeof e||t.length>3||t.length>2&&"object"==typeof t[1]&&"object"==typeof t[2])&&_("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",S(t),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===t.length&&"string"==typeof e&&"string"==typeof t[1]&&_("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",S(t));for(var n={},r=0;r<t.length;r++)"object"==typeof t[r]&&(n=t[r]);if("string"==typeof e?n.original=e:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof t[1]&&(n.plural=t[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function O(t,e){return t.dcnpgettext(v,e.context,e.original,e.plural,e.count)}function A(t,e){for(var n=w.length-1;n>=0;n--){var r=w[n](Object.assign({},e)),i=r.context?r.context+""+r.original:r.original;if(t.state.locale[i])return O(t.state.tannin,r)}return null}function L(){if(!(this instanceof L))return new L;this.defaultLocaleSlug="en",this.defaultPluralForms=function(t){return 1===t?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:l()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new m.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}L.throwErrors=!1,L.prototype.on=function(){var t;(t=this.stateObserver).on.apply(t,arguments)},L.prototype.off=function(){var t;(t=this.stateObserver).off.apply(t,arguments)},L.prototype.emit=function(){var t;(t=this.stateObserver).emit.apply(t,arguments)},L.prototype.numberFormat=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof e?e:e.decimals||0,r=e.decPoint||this.state.numberFormatSettings.decimal_point||".",i=e.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,d.Z)(t,n,r,i)},L.prototype.configure=function(t){Object.assign(this,t||{}),this.setLocale()},L.prototype.setLocale=function(t){var e,n,r;if(t&&t[""]&&t[""]["key-hash"]){var o=t[""]["key-hash"],s=function(t,e){var n=!1===e?"":String(e);if(void 0!==C[n+t])return C[n+t];var r=f()().update(t).digest("hex");return C[n+t]=e?r.substr(0,e):r},c=function(t){return function(e){return e.context?(e.original=s(e.context+String.fromCharCode(4)+e.original,t),delete e.context):e.original=s(e.original,t),e}};if("sha1"===o.substr(0,4))if(4===o.length)w.push(c(!1));else{var a=o.substr(5).indexOf("-");if(a<0){var l=Number(o.substr(5));w.push(c(l))}else for(var p=Number(o.substr(5,a)),m=Number(o.substr(6+a)),g=p;g<=m;g++)w.push(c(g))}}if(t&&t[""].localeSlug)if(t[""].localeSlug===this.state.localeSlug){if(t===this.state.locale)return;Object.assign(this.state.locale,t)}else this.state.locale=Object.assign({},t);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(e=this.state.locale["text directionltr"])||void 0===e?void 0:e[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new u.Z((0,i.Z)({},v,this.state.locale)),this.state.numberFormatSettings.decimal_point=O(this.state.tannin,F([y])),this.state.numberFormatSettings.thousands_sep=O(this.state.tannin,F([b])),this.state.numberFormatSettings.decimal_point===y&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===b&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},L.prototype.getLocale=function(){return this.state.locale},L.prototype.getLocaleSlug=function(){return this.state.localeSlug},L.prototype.isRtl=function(){return"rtl"===this.state.textDirection},L.prototype.addTranslations=function(t){for(var e in t)""!==e&&(this.state.tannin.data.messages[e]=t[e]);this.stateObserver.emit("change")},L.prototype.hasTranslation=function(){return!!A(this,F(arguments))},L.prototype.translate=function(){var t=F(arguments),e=A(this,t);if(e||(e=O(this.state.tannin,t)),t.args){var n=Array.isArray(t.args)?t.args.slice(0):[t.args];n.unshift(e);try{e=g.Z.apply(void 0,(0,r.Z)(n))}catch(t){if(!window||!window.console)return;var i=this.throwErrors?"error":"warn";"string"!=typeof t?window.console[i](t):window.console[i]("i18n sprintf error:",n)}}return t.components&&(e=(0,c.Z)({mixedString:e,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){e=n(e,t)})),e},L.prototype.reRenderTranslations=function(){h("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},L.prototype.registerComponentUpdateHook=function(t){this.componentUpdateHooks.push(t)},L.prototype.registerTranslateHook=function(t){this.translateHooks.push(t)},e.Z=L},63807:function(t,e,n){"use strict";n.d(e,{Y4:function(){return u}});var r=n(88617),i=n(42928),o=n(80975),s=n(24531),c=new r.Z,u=c.numberFormat.bind(c),a=(c.translate.bind(c),c.configure.bind(c),c.setLocale.bind(c),c.getLocale.bind(c),c.getLocaleSlug.bind(c),c.addTranslations.bind(c),c.reRenderTranslations.bind(c),c.registerComponentUpdateHook.bind(c),c.registerTranslateHook.bind(c),c.state,c.stateObserver,c.on.bind(c),c.off.bind(c),c.emit.bind(c),(0,i.Z)(c),(0,o.Z)(c),(0,s.Z)(c));a.useRtl,a.withRtl},42928:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(59591),i=n(71687),o=n(93772),s=n(55200),c=n(82104),u=n(9057),a=n(98086),l=n(99196),p=n.n(l);function f(t){var e={numberFormat:t.numberFormat.bind(t),translate:t.translate.bind(t)};return function(n){var l,f,m=n.displayName||n.name||"";return f=l=function(l){(0,c.Z)(m,l);var f=(0,u.Z)(m);function m(){var t;(0,i.Z)(this,m);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t=f.call.apply(f,[this].concat(n)),(0,a.Z)((0,s.Z)(t),"boundForceUpdate",t.forceUpdate.bind((0,s.Z)(t))),t}return(0,o.Z)(m,[{key:"componentDidMount",value:function(){t.on("change",this.boundForceUpdate)}},{key:"componentWillUnmount",value:function(){t.off("change",this.boundForceUpdate)}},{key:"render",value:function(){var i=(0,r.Z)({locale:t.getLocaleSlug()},this.props,{},e);return p().createElement(n,i)}}]),m}(p().Component),(0,a.Z)(l,"displayName","Localized("+m+")"),f}}},92846:function(t,e,n){"use strict";function r(t,e,n,r){t=(t+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+t)?+t:0,o=isFinite(+e)?Math.abs(e):0,s=void 0===r?",":r,c=void 0===n?".":n,u="";return u=(o?function(t,e){var n=Math.pow(10,e);return""+(Math.round(t*n)/n).toFixed(e)}(i,o):""+Math.round(i)).split("."),u[0].length>3&&(u[0]=u[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,s)),(u[1]||"").length<o&&(u[1]=u[1]||"",u[1]+=new Array(o-u[1].length+1).join("0")),u.join(c)}n.d(e,{Z:function(){return r}})},24531:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(95672),i=n(99196),o=n.n(i),s=n(20036),c=n(94333);function u(t){var e={getCurrentValue:function(){return t.isRtl()},subscribe:function(e){return t.on("change",e),function(){return t.off("change",e)}}};function n(){return(0,s.useSubscription)(e)}var u=(0,c.createHigherOrderComponent)((function(t){return(0,i.forwardRef)((function(e,i){var s=n();return o().createElement(t,(0,r.Z)({},e,{isRtl:s,ref:i}))}))}),"WithRTL");return{useRtl:n,withRtl:u}}},80975:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(50572),i=n(99196),o=n.n(i);function s(t){function e(){var e=t.translate.bind(t);return Object.defineProperty(e,"localeSlug",{get:t.getLocaleSlug.bind(t)}),e}return function(){var n=o().useState(e),i=(0,r.Z)(n,2),s=i[0],c=i[1];return o().useEffect((function(){var n=function(){return c(e)};return t.on("change",n),function(){return t.off("change",n)}}),[]),s}}},59503:function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},75565:function(t,e,n){var r=n(2571),i=n(59503);function o(t){if(!(this instanceof o))return new o(t);"number"==typeof t&&(t={max:t}),t||(t={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=t.max||1e3,this.maxAge=t.maxAge||0}t.exports=o,i(o,r.EventEmitter),Object.defineProperty(o.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),o.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},o.prototype.remove=function(t){if("string"!=typeof t&&(t=""+t),this.cache.hasOwnProperty(t)){var e=this.cache[t];return delete this.cache[t],this._unlink(t,e.prev,e.next),e.value}},o.prototype._unlink=function(t,e,n){this.length--,0===this.length?this.head=this.tail=null:this.head===t?(this.head=e,this.cache[this.head].next=null):this.tail===t?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[e].next=n,this.cache[n].prev=e)},o.prototype.peek=function(t){if(this.cache.hasOwnProperty(t)){var e=this.cache[t];if(this._checkAge(t,e))return e.value}},o.prototype.set=function(t,e){var n;if("string"!=typeof t&&(t=""+t),this.cache.hasOwnProperty(t)){if((n=this.cache[t]).value=e,this.maxAge&&(n.modified=Date.now()),t===this.head)return e;this._unlink(t,n.prev,n.next)}else n={value:e,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[t]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=t),this.head=t,this.tail||(this.tail=t),e},o.prototype._checkAge=function(t,e){return!(this.maxAge&&Date.now()-e.modified>this.maxAge)||(this.remove(t),this.emit("evict",{key:t,value:e.value}),!1)},o.prototype.get=function(t){if("string"!=typeof t&&(t=""+t),this.cache.hasOwnProperty(t)){var e=this.cache[t];if(this._checkAge(t,e))return this.head!==t&&(t===this.tail?(this.tail=e.next,this.cache[this.tail].prev=null):this.cache[e.prev].next=e.next,this.cache[e.next].prev=e.prev,this.cache[this.head].next=t,e.prev=this.head,e.next=null,this.head=t),e.value}},o.prototype.evict=function(){if(this.tail){var t=this.tail,e=this.remove(this.tail);this.emit("evict",{key:t,value:e})}}},48282:function(t){function e(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},32002:function(t){var e=1e3,n=60*e,r=60*n,i=24*r,o=7*i,s=365.25*i;function c(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}t.exports=function(t,u){u=u||{};var a=typeof t;if("string"===a&&t.length>0)return function(t){if((t=String(t)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!c)return;var u=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*o;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(t);if("number"===a&&isFinite(t))return u.long?function(t){var o=Math.abs(t);if(o>=i)return c(t,o,i,"day");if(o>=r)return c(t,o,r,"hour");if(o>=n)return c(t,o,n,"minute");if(o>=e)return c(t,o,e,"second");return t+" ms"}(t):function(t){var o=Math.abs(t);if(o>=i)return Math.round(t/i)+"d";if(o>=r)return Math.round(t/r)+"h";if(o>=n)return Math.round(t/n)+"m";if(o>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},1625:function(t){"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var s,c,u=i(t),a=1;a<arguments.length;a++){for(var l in s=Object(arguments[a]))n.call(s,l)&&(u[l]=s[l]);if(e){c=e(s);for(var p=0;p<c.length;p++)r.call(s,c[p])&&(u[c[p]]=s[c[p]])}}return u}},88090:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(7478),i={contextDelimiter:"",onMissingKey:null};function o(t,e){var n;for(n in this.data=t,this.pluralForms={},this.options={},i)this.options[n]=void 0!==e&&n in e?e[n]:i[n]}o.prototype.getPluralForm=function(t,e){var n,i,o,s=this.pluralForms[t];return s||("function"!=typeof(o=(n=this.data[t][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(i=function(t){var e,n,r;for(e=t.split(";"),n=0;n<e.length;n++)if(0===(r=e[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=(0,r.Z)(i)),s=this.pluralForms[t]=o),s(e)},o.prototype.dcnpgettext=function(t,e,n,r,i){var o,s,c;return o=void 0===i?0:this.getPluralForm(t,i),s=n,e&&(s=e+this.options.contextDelimiter+n),(c=this.data[t][s])&&c[o]?c[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,t),0===o?n:r)}},17882:function(t,e,n){"use strict";n.d(e,{hj:function(){return s},Vm:function(){return c}});var r=n(75139),i=n(92819);const o={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(o).map((t=>{const{symbol:e}=(0,r.X)(t);return{value:t,label:e===t?t:`${t} ${(0,i.trimEnd)(e,".")}`}}));function s(t){return o[t]}function c(t,e){return t?"number"==typeof t?t:(t=parseFloat(t.replace(new RegExp("\\"+r.M[e].grouping,"g"),"").replace(new RegExp("\\"+r.M[e].decimal,"g"),".")),isNaN(t)?null:t):null}},53857:function(t,e,n){"use strict";function r(t){if("https://subscribe.wordpress.com"===t.origin&&t.data){const e=JSON.parse(t.data);e&&"close"===e.action&&(window.removeEventListener("message",r),tb_remove())}}n.d(e,{f:function(){return i}});const i=t=>{Array.prototype.slice.call(document.querySelectorAll(t)).forEach((t=>{if("true"!==t.getAttribute("data-jetpack-memberships-button-initialized")){try{!function(t){t.addEventListener("click",(e=>{e.preventDefault();const n=t.getAttribute("href");window.scrollTo(0,0),tb_show(null,n+"&display=alternate&TB_iframe=true",null),window.addEventListener("message",r,!1),document.querySelector("#TB_window").classList.add("jetpack-memberships-modal"),window.scrollTo(0,0)}))}(t)}catch(t){console.error("Problem setting up Thickbox",t)}t.setAttribute("data-jetpack-memberships-button-initialized","true")}}))}},57836:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},75139:function(t,e,n){"use strict";n.d(e,{M:function(){return r},X:function(){return i}});var r={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 i(t){return r[t]||{symbol:"$",grouping:",",decimal:".",precision:2}}},78850:function(t,e,n){"use strict";n.d(e,{ZP:function(){return s}});var r=n(52141),i=n(63807),o=n(75139);function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(0,o.X)(e);if(!s||isNaN(t))return null;var c=(0,r.Z)({},s,n),u=c.decimal,a=c.grouping,l=c.precision,p=c.symbol,f=t<0?"-":"",m=(0,i.Y4)(Math.abs(t),{decimals:l,thousandsSep:a,decPoint:u});return"".concat(f).concat(p).concat(m)}},94481:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(99196),i=n(32365);function o(t,e){let n,i,s=[];for(let r=0;r<t.length;r++){const o=t[r];if("string"!==o.type){if(void 0===e[o.value])throw new Error(`Invalid interpolation, missing component node: \`${o.value}\``);if("object"!=typeof e[o.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${o.value}\``);if("componentClose"===o.type)throw new Error(`Missing opening component token: \`${o.value}\``);if("componentOpen"===o.type){n=e[o.value],i=r;break}s.push(e[o.value])}else s.push(o.value)}if(n){const c=function(t,e){const n=e[t];let r=0;for(let i=t+1;i<e.length;i++){const t=e[i];if(t.value===n.value){if("componentOpen"===t.type){r++;continue}if("componentClose"===t.type){if(0===r)return i;r--}}}throw new Error("Missing closing component token `"+n.value+"`")}(i,t),u=o(t.slice(i+1,c),e),a=(0,r.cloneElement)(n,{},u);if(s.push(a),c<t.length-1){const n=o(t.slice(c+1),e);s=s.concat(n)}}return s=s.filter(Boolean),0===s.length?null:1===s.length?s[0]:(0,r.createElement)(r.Fragment,null,...s)}function s(t){const{mixedString:e,components:n,throwErrors:r}=t;if(!n)return e;if("object"!=typeof n){if(r)throw new Error(`Interpolation Error: unable to process \`${e}\` because components is not an object`);return e}const s=(0,i.Z)(e);try{return o(s,n)}catch(t){if(r)throw new Error(`Interpolation Error: unable to process \`${e}\` because of error \`${t.message}\``);return e}}},32365:function(t,e,n){"use strict";function r(t){return t.startsWith("{{/")?{type:"componentClose",value:t.replace(/\W/g,"")}:t.endsWith("/}}")?{type:"componentSelfClosing",value:t.replace(/\W/g,"")}:t.startsWith("{{")?{type:"componentOpen",value:t.replace(/\W/g,"")}:{type:"string",value:t}}function i(t){return t.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}n.d(e,{Z:function(){return i}})},90922:function(t,e,n){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))})),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},e.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=n(31967)(e);const{formatters:r}=t.exports;r.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},31967:function(t,e,n){t.exports=function(t){function e(t){let n,i,o,s=null;function c(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];if(!c.enabled)return;const o=c,s=Number(new Date),u=s-(n||s);o.diff=u,o.prev=n,o.curr=s,n=s,r[0]=e.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let a=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if("%%"===t)return"%";a++;const i=e.formatters[n];if("function"==typeof i){const e=r[a];t=i.call(o,e),r.splice(a,1),a--}return t})),e.formatArgs.call(o,r);const l=o.log||e.log;l.apply(o,r)}return c.namespace=t,c.useColors=e.useColors(),c.color=e.selectColor(t),c.extend=r,c.destroy=e.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==e.namespaces&&(i=e.namespaces,o=e.enabled(t)),o),set:t=>{s=t}}),"function"==typeof e.init&&e.init(c),c}function r(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function i(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(i),...e.skips.map(i).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(32002),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}},11043:function(t,e,n){"use strict";var r=n(1625),i=n(99196);e.useSubscription=function(t){var e=t.getCurrentValue,n=t.subscribe,o=i.useState((function(){return{getCurrentValue:e,subscribe:n,value:e()}}));t=o[0];var s=o[1];return o=t.value,t.getCurrentValue===e&&t.subscribe===n||(o=e(),s({getCurrentValue:e,subscribe:n,value:o})),i.useDebugValue(o),i.useEffect((function(){function t(){if(!i){var t=e();s((function(i){return i.getCurrentValue!==e||i.subscribe!==n||i.value===t?i:r({},i,{value:t})}))}}var i=!1,o=n(t);return t(),function(){i=!0,o()}}),[e,n]),o}},20036:function(t,e,n){"use strict";t.exports=n(11043)},99196:function(t){"use strict";t.exports=window.React},92819:function(t){"use strict";t.exports=window.lodash},94333:function(t){"use strict";t.exports=window.wp.compose},47701:function(t){"use strict";t.exports=window.wp.domReady},39630:function(t){"use strict";t.exports=window.wp.keycodes},96483:function(t){"use strict";t.exports=window.wp.url},8134:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:function(){return r}})},14316:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,{Z:function(){return r}})},97024:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(8134);function i(t){if(Array.isArray(t))return(0,r.Z)(t)}},55200:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{Z:function(){return r}})},71687:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,{Z:function(){return r}})},93772:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,{Z:function(){return i}})},9057:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(72406),i=n(58189),o=n(34621);function s(t){var e=(0,i.Z)();return function(){var n,i=(0,r.Z)(t);if(e){var s=(0,r.Z)(this).constructor;n=Reflect.construct(i,arguments,s)}else n=i.apply(this,arguments);return(0,o.Z)(this,n)}}},98086:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return r}})},95672:function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{Z:function(){return r}})},72406:function(t,e,n){"use strict";function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}n.d(e,{Z:function(){return r}})},82104:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(43051);function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&(0,r.Z)(t,e)}},58189:function(t,e,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}n.d(e,{Z:function(){return r}})},40613:function(t,e,n){"use strict";function r(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,{Z:function(){return r}})},20120:function(t,e,n){"use strict";function r(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],_n=!0,s=!1;try{for(n=n.call(t);!(_n=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);_n=!0);}catch(t){s=!0,i=t}finally{try{_n||null==n.return||n.return()}finally{if(s)throw i}}return o}}n.d(e,{Z:function(){return r}})},41722:function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{Z:function(){return r}})},56083:function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{Z:function(){return r}})},52141:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98086);function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?Object(arguments[e]):{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach((function(e){(0,r.Z)(t,e,n[e])}))}return t}},59591:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(98086);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},34621:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(29504),i=n(55200);function o(t,e){if(e&&("object"===(0,r.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(t)}},43051:function(t,e,n){"use strict";function r(t,e){return r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,{Z:function(){return r}})},50572:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(14316),i=n(20120),o=n(33611),s=n(41722);function c(t,e){return(0,r.Z)(t)||(0,i.Z)(t,e)||(0,o.Z)(t,e)||(0,s.Z)()}},59128:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(97024),i=n(40613),o=n(33611),s=n(56083);function c(t){return(0,r.Z)(t)||(0,i.Z)(t)||(0,o.Z)(t)||(0,s.Z)()}},29504:function(t,e,n){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:function(){return r}})},33611:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(8134);function i(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t+"../"}(),function(){"use strict";n(57836)}(),function(){"use strict";var t=n(78850),e=n(47701),r=n.n(e),i=n(39630),o=n(96483),s=n(17882),c=n(53857);class u{constructor(t){this.block=t,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(t){return this.block.querySelector(`.donations__nav-item[data-interval="${t}"]`)}resetSelectedAmount(){const t=this.block.querySelector(".donations__amount.is-selected");t&&t.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(t){const e=this.getDonateButton();t?e.classList.remove("is-disabled"):e.classList.add("is-disabled")}updateUrl(){const t=this.getDonateButton(),e=t.getAttribute("href");this.amount?t.setAttribute("href",(0,o.addQueryArgs)(e,{amount:this.amount,...this.isCustomAmount&&{customAmount:!0}})):t.setAttribute("href",(0,o.removeQueryArgs)(e,"amount","customAmount"))}updateAmountFromCustomAmountInput(){const t=this.block.querySelector(".donations__custom-amount .donations__amount-value"),e=this.block.querySelector(".donations__custom-amount"),n=t.innerHTML;if(!n)return this.amount=null,void this.toggleDonateButton(!1);const r=t.dataset.currency,i=(0,s.Vm)(n,r);i&&i>=(0,s.hj)(r)?(e.classList.remove("has-error"),this.amount=i,this.toggleDonateButton(!0)):(e.classList.add("has-error"),this.amount=null,this.toggleDonateButton(!1)),this.updateUrl()}initNavigation(){const t=this.block.querySelectorAll(".donations__nav-item"),e=this.block.querySelector(".donations__tab"),n={"one-time":"is-one-time","1 month":"is-monthly","1 year":"is-annual"},r=t=>{const r=this.interval,i=t.target.dataset.interval;this.interval=i;const o=this.getNavItem(r);o&&o.classList.remove("is-active");const s=this.getNavItem(i);s&&s.classList.add("is-active"),e.classList.remove(n[r]),e.classList.add(n[i]),this.amount=null,this.isCustomAmount=!1,this.resetSelectedAmount(),this.updateUrl(),this.toggleDonateButton(!1)};t.forEach((t=>{t.addEventListener("click",r),t.addEventListener("keydown",r)}));const i=this.getNavItem(this.interval);i&&i.classList.add("is-active"),e.classList.add(n[this.interval])}handleCustomAmount(){const e=this.block.querySelector(".donations__custom-amount .donations__amount-value");if(!e)return;const n=this.block.querySelector(".donations__custom-amount");e.setAttribute("contenteditable",""),e.addEventListener("keydown",(t=>{t.keyCode===i.ENTER&&t.preventDefault()})),e.addEventListener("focus",(()=>{this.resetSelectedAmount(),n.classList.add("is-selected"),this.isCustomAmount||(this.isCustomAmount=!0,this.updateAmountFromCustomAmountInput())})),e.addEventListener("blur",(()=>{this.isCustomAmount&&this.amount&&(e.innerHTML=(0,t.ZP)(this.amount,e.dataset.currency,{symbol:""}))})),e.addEventListener("input",(()=>this.updateAmountFromCustomAmountInput()))}handleChosenAmount(){this.block.querySelectorAll(".donations__amount:not( .donations__custom-amount )").forEach((t=>{t.addEventListener("click",(t=>{this.resetSelectedAmount(),t.target.classList.add("is-selected"),this.amount=t.target.dataset.amount,this.isCustomAmount=!1;const e=this.block.querySelector(".donations__custom-amount");e&&e.classList.remove("has-error"),this.updateUrl();this.getDonateButton().classList.remove("is-disabled")}))})),this.block.querySelectorAll(".donations__donate-button").forEach((t=>t.classList.add("is-disabled")))}}r()((()=>{document.querySelectorAll(".wp-block-jetpack-donations").forEach((t=>new u(t))),(0,c.f)(".donations__donate-button")}))}()}(); \ No newline at end of file
+!function(){var i={79162:function(i,o,e){"use strict";e.d(o,{Vm:function(){return c},hj:function(){return t}});var n=e(43317),s=e(92819);const r={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(r).map((i=>{const{symbol:o}=(0,n.X)(i);return{value:i,label:o===i?i:`${i} ${(0,s.trimEnd)(o,".")}`}}));function t(i){return r[i]}function c(i,o){return i?"number"==typeof i?i:(i=parseFloat(i.replace(new RegExp("\\"+n.M[o].grouping,"g"),"").replace(new RegExp("\\"+n.M[o].decimal,"g"),".")),isNaN(i)?null:i):null}},63166:function(i,o,e){"use strict";function n(i){if("https://subscribe.wordpress.com"===i.origin&&i.data){const o=JSON.parse(i.data);o&&"close"===o.action&&(window.removeEventListener("message",n),tb_remove())}}e.d(o,{f:function(){return s}});const s=i=>{Array.prototype.slice.call(document.querySelectorAll(i)).forEach((i=>{if("true"!==i.getAttribute("data-jetpack-memberships-button-initialized")){try{!function(i){i.addEventListener("click",(o=>{o.preventDefault();const e=i.getAttribute("href");window.scrollTo(0,0),tb_show(null,e+"&display=alternate&TB_iframe=true",null),window.addEventListener("message",n,!1),document.querySelector("#TB_window").classList.add("jetpack-memberships-modal"),window.scrollTo(0,0)}))}(i)}catch(i){console.error("Problem setting up Thickbox",i)}i.setAttribute("data-jetpack-memberships-button-initialized","true")}}))}},80425:function(i,o,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)},43317:function(i,o,e){"use strict";e.d(o,{M:function(){return n},X:function(){return s}});const n={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 s(i){return n[i]||{symbol:"$",grouping:",",decimal:".",precision:2}}},25607:function(i,o,e){"use strict";e.d(o,{ZP:function(){return r}});var n=e(43317),s=e(5375);function r(i,o){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,n.X)(o);if(!r||isNaN(i))return null;const{decimal:c,grouping:l,precision:m,symbol:a}={...r,...e},u=i<0?"-":"";let p=(0,s.Z)(Math.abs(i),m,c,l);return e.stripZeros&&(p=t(p,c)),`${u}${a}${p}`}function t(i,o){const e=new RegExp(`\\${o}0+$`);return i.replace(e,"")}},5375:function(i,o,e){"use strict";function n(i,o){const e=Math.pow(10,o);return""+(Math.round(i*e)/e).toFixed(o)}function s(i){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";const r=(i+"").replace(/[^0-9+\-Ee.]/g,""),t=isFinite(+r)?+r:0,c=isFinite(+o)?Math.abs(o):0,l=(c?n(t,c):""+Math.round(t)).split(".");return l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,s)),(l[1]||"").length<c&&(l[1]=l[1]||"",l[1]+=new Array(c-l[1].length+1).join("0")),l.join(e)}e.d(o,{Z:function(){return s}})},92819:function(i){"use strict";i.exports=window.lodash},47701:function(i){"use strict";i.exports=window.wp.domReady},39630:function(i){"use strict";i.exports=window.wp.keycodes},96483:function(i){"use strict";i.exports=window.wp.url}},o={};function e(n){var s=o[n];if(void 0!==s)return s.exports;var r=o[n]={exports:{}};return i[n](r,r.exports,e),r.exports}e.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return e.d(o,{a:o}),o},e.d=function(i,o){for(var n in o)e.o(o,n)&&!e.o(i,n)&&Object.defineProperty(i,n,{enumerable:!0,get:o[n]})},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=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},function(){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 n=o.getElementsByTagName("script");n.length&&(i=n[n.length-1].src)}if(!i)throw new Error("Automatic publicPath is not supported in this browser");i=i.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=i+"../"}(),function(){"use strict";e(80425)}(),function(){"use strict";var i=e(25607),o=e(47701),n=e.n(o),s=e(39630),r=e(96483),t=e(79162),c=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,r.addQueryArgs)(o,{amount:this.amount,...this.isCustomAmount&&{customAmount:!0}})):i.setAttribute("href",(0,r.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 n=i.dataset.currency,s=(0,t.Vm)(e,n);s&&s>=(0,t.hj)(n)?(o.classList.remove("has-error"),this.amount=s,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"},n=i=>{const n=this.interval,s=i.target.dataset.interval;this.interval=s;const r=this.getNavItem(n);r&&r.classList.remove("is-active");const t=this.getNavItem(s);t&&t.classList.add("is-active"),o.classList.remove(e[n]),o.classList.add(e[s]),this.amount=null,this.isCustomAmount=!1,this.resetSelectedAmount(),this.updateUrl(),this.toggleDonateButton(!1)};i.forEach((i=>{i.addEventListener("click",n),i.addEventListener("keydown",n)}));const s=this.getNavItem(this.interval);s&&s.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=>{i.keyCode===s.ENTER&&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")))}}n()((()=>{document.querySelectorAll(".wp-block-jetpack-donations").forEach((i=>new l(i))),(0,c.f)(".donations__donate-button")}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/donations/view.js.LICENSE.txt b/plugins/jetpack/_inc/blocks/donations/view.js.LICENSE.txt
index e9b10c94..b6e9870a 100644
--- a/plugins/jetpack/_inc/blocks/donations/view.js.LICENSE.txt
+++ b/plugins/jetpack/_inc/blocks/donations/view.js.LICENSE.txt
@@ -5,18 +5,3 @@
* @license See CREDITS.md
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
*/
-
-/*
-object-assign
-(c) Sindre Sorhus
-@license MIT
-*/
-
-/** @license React vundefined
- * use-subscription.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
diff --git a/plugins/jetpack/_inc/blocks/donations/view.rtl.css b/plugins/jetpack/_inc/blocks/donations/view.rtl.css
index 8f0a2a9a..4550a6c6 100644
--- a/plugins/jetpack/_inc/blocks/donations/view.rtl.css
+++ b/plugins/jetpack/_inc/blocks/donations/view.rtl.css
@@ -1 +1 @@
-.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{margin-right: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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-block-jetpack-donations .donations__container:not(.loaded){height:200px;position:relative;width:100%}.wp-block-jetpack-donations .donations__container:not(.loaded) *{display:none}.wp-block-jetpack-donations .donations__container:not(.loaded):before{background-color:#949494;border-radius:100%;content:"";height:18px;opacity:.7;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:18px}.wp-block-jetpack-donations .donations__container:not(.loaded):after{animation:spinner 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;margin-right:-6px;margin-top:-6px;position:absolute;right:50%;top:50%;transform-origin:6px 6px;width:4px}.wp-block-jetpack-donations .donations__tab.is-annual .donations__monthly-item,.wp-block-jetpack-donations .donations__tab.is-annual .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__monthly-item{display:none}.wp-block-jetpack-donations .donations__amount{cursor:pointer}.wp-block-jetpack-donations .donations__amount.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount{cursor:text}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;text-align:right;white-space:pre-wrap}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:empty:after{color:#ccc;content:attr(data-empty-text)}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:focus{outline:none}.wp-block-jetpack-donations .donations__donate-button.is-disabled{opacity:.2;pointer-events:none} \ No newline at end of file
+.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{margin-right: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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-block-jetpack-donations .donations__container:not(.loaded){height:200px;position:relative;width:100%}.wp-block-jetpack-donations .donations__container:not(.loaded) *{display:none}.wp-block-jetpack-donations .donations__container:not(.loaded):before{background-color:#949494;border-radius:100%;content:"";height:16px;opacity:.7;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:16px}.wp-block-jetpack-donations .donations__container:not(.loaded):after{animation:spinner 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:3.5555555556px;margin-right:-5.3333333333px;margin-top:-5.3333333333px;position:absolute;right:50%;top:50%;transform-origin:5.3333333333px 5.3333333333px;width:3.5555555556px}.wp-block-jetpack-donations .donations__tab.is-annual .donations__monthly-item,.wp-block-jetpack-donations .donations__tab.is-annual .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__monthly-item{display:none}.wp-block-jetpack-donations .donations__amount{cursor:pointer}.wp-block-jetpack-donations .donations__amount.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount{cursor:text}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;text-align:right;white-space:pre-wrap}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:empty:after{color:#ccc;content:attr(data-empty-text)}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:focus{outline:none}.wp-block-jetpack-donations .donations__donate-button.is-disabled{opacity:.2;pointer-events:none} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-beta.asset.php b/plugins/jetpack/_inc/blocks/editor-beta.asset.php
index 0ce4f5bf..d216755e 100644
--- a/plugins/jetpack/_inc/blocks/editor-beta.asset.php
+++ b/plugins/jetpack/_inc/blocks/editor-beta.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => '89c6abee98ffea69b5aafffa60e28a36'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', '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-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'b0d5fa7f2d5f64c923a4');
diff --git a/plugins/jetpack/_inc/blocks/editor-beta.css b/plugins/jetpack/_inc/blocks/editor-beta.css
index 199c2419..3ac5704f 100644
--- a/plugins/jetpack/_inc/blocks/editor-beta.css
+++ b/plugins/jetpack/_inc/blocks/editor-beta.css
@@ -1 +1 @@
-.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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;-o-object-fit:contain;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 transparent}.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__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-right:12px}.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-right:8px}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-right: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-left:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.paid-block-media-placeholder{width:100%}.wp-block-cover .paid-block-media-placeholder:not(:only-child){bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-right:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-right:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-right:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-right:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-right:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left;margin:3px 5px 0 0}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:left;margin:0 5px 0 0}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-right:16px;padding:6px}.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-left: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 transparent;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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-right:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;left:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{left: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-right:12px}.components-placeholder.is-large .image-compare__image-after{padding-left: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:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}div.jx-arrow.jx-right{border-color:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;left:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;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:rgba(0,0,0,.7);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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-right: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button: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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#2fb41f!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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.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}.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:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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>.wp-block-jetpack-opentable.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:transparent;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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-right: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:10px 24px 10px 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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-left: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-left:59px}.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 width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-left: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}.jetpack-publicize__connections-list{list-style-type:none;margin:0;width:100%}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.publicize-jetpack-connection-container{display:flex}.publicize-jetpack-connection-container .components-disabled{width:100%}.jetpack-publicize-gutenberg-social-icon{margin-right:5px}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-bottom:13px;margin-left:0;margin-right:0}.jetpack-publicize-notice .components-button{height:auto;line-height:normal;padding-bottom:6px;padding-top:6px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.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-disabled .jetpack-publicize-toggle,.jetpack-publicize-disabled .jetpack-publicize__connections-list{opacity:.5}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 0 0 8px}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-left:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-left:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);left:-10px;position:absolute;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.jetpack-publicize-connection-label{align-items:center;display:flex}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-left:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled,.components-disabled .components-connection-toggle{opacity:.5}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;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 transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.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:var(--muriel-hot-red-500);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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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{fill:red;color: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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-left:5px}.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}@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{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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{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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto}.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-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}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-right:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-right:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-left:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 2px -4px 0;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-right:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.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{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-gutenberg-social-icon.jetpack-social-previews__icon{fill:currentColor;margin-right:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;left:3px;position:absolute;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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:rgba(0,0,0,.5);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-expand svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span,.wp-story-container .wp-story-overlay .wp-story-embed-icon 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:transparent}.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:hsla(0,0%,100%,.4)}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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:#0e1112e0;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:transparent;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:transparent;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}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;margin:0;position:absolute;right:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{left:0}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-left: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:rgba(243,106,188,.3);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:rgba(127,187,227,.2);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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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}.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}[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}.anchor-post-publish-outbound-link .anchor-post-publish-outbound-link__external_icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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:transparent;border:none;display:flex;flex-direction:row;margin-right:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-left:auto}.premium-content-wrapper{margin:0}.premium-content-block-nudge .editor-warning{margin-bottom:0}.premium-content-block-nudge .editor-warning__message{margin:13px 0}.premium-content-block-nudge .editor-warning__actions{line-height:1}.premium-content-block-nudge .premium-content-block-nudge__info{display:flex;flex-direction:row;font-size:13px;line-height:1.4}.premium-content-block-nudge .premium-content-block-nudge__text-container{display:flex;flex-direction:column;padding-left:10px}.premium-content-block-nudge .premium-content-block-nudge__title{font-size:14px}.premium-content-block-nudge__message{color:#646970}.editor-styles-wrapper a.premium-content-block-nudge__button{color:#0075af;text-decoration:none}.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-premium-content-container---settings-add_plan .components-panel__row.plan-interval .components-base-control,.wp-block-premium-content-container---settings-add_plan .components-panel__row.plan-name .components-base-control{width:100%}.wp-block-premium-content-container---settings-add_plan .components-panel__row.plan-price .components-base-control{margin:0;width:45%}.wp-block-premium-content-container---settings-add_plan .components-panel__row:last-child{margin-top:25px}.wp-block-premium-content-container---settings-add_plan .components-base-control:last-child{margin:0}.wp-block-premium-content-container---link-to-earn{display:block;margin:16px}.premium-content-toolbar-button .components-dropdown-menu__toggle:after{border-color:transparent currentcolor currentcolor transparent;border-style:solid;border-width:4px;bottom:1px;content:"";display:block;position:absolute;right:0}.connect-stripe.has-icon.has-text svg{margin-right:0}.connect-stripe.has-icon.has-text{font-weight:400}.wp-block-buttons .wp-block[data-type="jetpack/recurring-payments"]{display:inline-block;margin:0 .5em 0 0}.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 .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}.wp-block-jetpack-conversation__participant{display:flex;height:30px;line-height:30px}.wp-block-jetpack-conversation__participant-label{flex-grow:2}.wp-block-jetpack-conversation__placeholder,.wp-block-jetpack-dialogue__timestamp-controls{display:flex}.wp-block-jetpack-dialogue__timestamp-controls .components-number-control{min-width:60px}.wp-block-jetpack-dialogue__timestamp-button{margin-left:6px}.wp-block-jetpack-dialogue__timestamp-control__hour,.wp-block-jetpack-dialogue__timestamp-control__minute{margin-right:5px}.wp-block-jetpack-dialogue__timestamp-control__play-button{align-self:flex-end;margin-left:10px}.wp-block-jetpack-dialogue__timestamp-content .wp-block-jetpack-dialogue__timestamp-container{min-width:290px}.wp-block-jetpack-dialogue__timestamp-range-control{margin-right:16px;margin-top:8px}.wp-block-jetpack-dialogue__timestamp-dropdown{min-width:90px}.wp-block-jetpack-dialogue__participant.is-participant-adding,.wp-block-jetpack-dialogue__participant.is-participant-editing{opacity:.7}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta.has-not-media-source>div{width:100%}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta .wp-block-jetpack-dialogue__participant{min-width:50px}.media-player-control__current-time{align-items:center;display:flex;font-size:14px;min-width:55px;padding:0 12px 0 5px}.media-player-control__current-time.is-disabled{color:#757575;cursor:default}.wp-block-jetpack-dialogue__timestamp-player{display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px}.wp-block-jetpack-dialogue__timestamp-player button{padding:0}.media-player-control__toolbar .components-toolbar-button .dashicons{margin:0}.wp-block-jetpack-dialogue{margin-bottom:20px;margin-top:20px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{align-items:center;display:flex;flex-direction:row;min-height:38px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{color:inherit;font-size:inherit;line-height:17px;line-height:var(--global--line-height-body);overflow-wrap:anywhere;padding:0}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-label{color:inherit;font-size:16px;margin-left:5px;margin-right:0;padding:6px 12px;text-align:right;white-space:nowrap}.wp-block-jetpack-dialogue__participant{height:auto;line-height:1.2;padding:3px 0}.wp-block-jetpack-dialogue__participant.has-bold-style{font-weight:700}.wp-block-jetpack-dialogue__participant.has-italic-style{font-style:italic}.wp-block-jetpack-dialogue__participant.has-uppercase-style{text-transform:uppercase}.block-editor-block-list__block .wp-block-jetpack-dialogue__content{margin:0 0 1em}@media(min-width:600px){.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue{display:flex}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{display:block;flex:0 0 25%;text-align:right}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{margin-right:12px}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .components-dropdown,.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-dropdown{display:block}}body.no-media-source .wp-block-jetpack-dialogue__timestamp-label{display:none}.wp-block-jetpack-amazon{font-size:14px}.wp-block-jetpack-amazon-title{font-weight:700;line-height:1.3em}.wp-block-jetpack-amazon-title a{text-decoration:none}.wp-block-jetpack-amazon-button{justify-content:center;width:100%} \ 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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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;-o-object-fit:contain;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 transparent}.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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-right:8px}.editor-post-featured-image .components-dropdown{display:initial}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-right: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-left:auto}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.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:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-right:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-right:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-right:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-right:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-right:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left;margin:3px 5px 0 0}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:left;margin:0 5px 0 0}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-right:16px;padding:6px}.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-left: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 transparent;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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-right:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;left:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{left: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-right:12px}.components-placeholder.is-large .image-compare__image-after{padding-left: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:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}div.jx-arrow.jx-right{border-color:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;left:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;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:rgba(0,0,0,.7);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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-right: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-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:#2fb41f!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}.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}.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:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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>.wp-block-jetpack-opentable.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:transparent;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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-right: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:10px 24px 10px 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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-left: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-left:59px}.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 width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-left: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}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 0 0 8px}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-left:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-left:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);left:-10px;position:absolute;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.sDAzdUdcbaYmUMZBe2XW{fill:#2c3338}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:#39579a;border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:#55acee}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:#0976b4}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:#35465c}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.jetpack-publicize-gutenberg-social-icon{margin-right:5px}.jetpack-publicize-connection-label{align-items:center;display:flex;flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-left:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled{opacity:.5;width:100%}.KQcQQLxH5fI08DfOlKwL{display:flex}.GkSdCYn_REWEdI_aqvQk{margin-top:3px}.__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}.xwd1zFILyAv6XzDjevFA{margin:15px 0}.Ua6eKcnk_tQQpFlgXMSn{list-style-type:none;margin:0;width:100%}.Ua6eKcnk_tQQpFlgXMSn .SHqrIEguRfCILRHPyxE9{margin:5px 0 10px}.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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;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 transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.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:var(--muriel-hot-red-500);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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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{fill:red;color: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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-left:5px}.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{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto}.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-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}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-right:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-right:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-left:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 2px -4px 0;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-right:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.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{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-social-previews__icon{fill:currentColor;margin-right:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;left:3px;position:absolute;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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:rgba(0,0,0,.5);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:transparent}.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:hsla(0,0%,100%,.4)}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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:#0e1112e0;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:transparent;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:transparent;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}.is-style-compact .wp-block-button__link,.is-style-compact .wp-block-jetpack-subscriptions__button{border-bottom-left-radius:0!important;border-top-left-radius:0!important;margin-left:0!important}.is-style-compact .components-text-control__input,.is-style-compact p#subscribe-email input[type=email]{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-right-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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;line-height:1.3;white-space:nowrap}.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 form input[type=email]::placeholder{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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;margin:0;position:absolute;right:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{left:0}.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}.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{text-decoration:underline;white-space:nowrap}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-left: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:rgba(243,106,188,.3);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:rgba(127,187,227,.2);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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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}.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}.resumable-upload__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px}.resumable-upload__logo-text{margin-left:10px}.resumable-upload__status{align-items:center;display:flex;flex-direction:column;margin-top:24px;width:100%}.resumable-upload__file-info{display:flex;flex-direction:row;margin-bottom:16px;width:100%}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;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;justify-content:space-between;margin-top:16px;width:100%}.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}.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}[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-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:transparent;border:none;display:flex;flex-direction:row;margin-right:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-left: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}.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}.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}.qr-post-modal__actions_buttons{display:flex;justify-content:right;margin:10px auto;max-width:300px}.qr-post-modal__actions_buttons .components-button{margin-left:5px}.anchor-post-publish-outbound-link .anchor-post-publish-outbound-link__external_icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.wp-block-jetpack-conversation__participant{display:flex;height:30px;line-height:30px}.wp-block-jetpack-conversation__participant-label{flex-grow:2}.wp-block-jetpack-conversation__placeholder,.wp-block-jetpack-dialogue__timestamp-controls{display:flex}.wp-block-jetpack-dialogue__timestamp-controls .components-number-control{min-width:60px}.wp-block-jetpack-dialogue__timestamp-button{margin-left:6px}.wp-block-jetpack-dialogue__timestamp-control__hour,.wp-block-jetpack-dialogue__timestamp-control__minute{margin-right:5px}.wp-block-jetpack-dialogue__timestamp-control__play-button{align-self:flex-end;margin-left:10px}.wp-block-jetpack-dialogue__timestamp-content .wp-block-jetpack-dialogue__timestamp-container{min-width:290px}.wp-block-jetpack-dialogue__timestamp-range-control{margin-right:16px;margin-top:8px}.wp-block-jetpack-dialogue__timestamp-dropdown{min-width:90px}.wp-block-jetpack-dialogue__participant.is-participant-adding,.wp-block-jetpack-dialogue__participant.is-participant-editing{opacity:.7}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta.has-not-media-source>div{width:100%}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta .wp-block-jetpack-dialogue__participant{min-width:50px}.media-player-control__current-time{align-items:center;display:flex;font-size:14px;min-width:55px;padding:0 12px 0 5px}.media-player-control__current-time.is-disabled{color:#757575;cursor:default}.wp-block-jetpack-dialogue__timestamp-player{display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px}.wp-block-jetpack-dialogue__timestamp-player button{padding:0}.media-player-control__toolbar .components-toolbar-button .dashicons{margin:0}.wp-block-jetpack-dialogue{margin-bottom:20px;margin-top:20px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{align-items:center;display:flex;flex-direction:row;min-height:38px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{color:inherit;font-size:inherit;line-height:17px;line-height:var(--global--line-height-body);overflow-wrap:anywhere;padding:0}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-label{color:inherit;font-size:16px;margin-left:5px;margin-right:0;padding:6px 12px;text-align:right;white-space:nowrap}.wp-block-jetpack-dialogue__participant{height:auto;line-height:1.2;padding:3px 0}.wp-block-jetpack-dialogue__participant.has-bold-style{font-weight:700}.wp-block-jetpack-dialogue__participant.has-italic-style{font-style:italic}.wp-block-jetpack-dialogue__participant.has-uppercase-style{text-transform:uppercase}.block-editor-block-list__block .wp-block-jetpack-dialogue__content{margin:0 0 1em}@media(min-width:600px){.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue{display:flex}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{display:block;flex:0 0 25%;text-align:right}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{margin-right:12px}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .components-dropdown,.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-dropdown{display:block}}body.no-media-source .wp-block-jetpack-dialogue__timestamp-label{display:none}.wp-block-jetpack-amazon{font-size:14px}.wp-block-jetpack-amazon-title{font-weight:700;line-height:1.3em}.wp-block-jetpack-amazon-title a{text-decoration:none}.wp-block-jetpack-amazon-button{justify-content:center;width:100%} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-beta.js b/plugins/jetpack/_inc/blocks/editor-beta.js
index fcef9624..117996a8 100644
--- a/plugins/jetpack/_inc/blocks/editor-beta.js
+++ b/plugins/jetpack/_inc/blocks/editor-beta.js
@@ -1,111 +1,108 @@
/*! For license information please see editor-beta.js.LICENSE.txt */
-!function(){var e,t,n,r,a,o,i={27538:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},29183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},8172:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31354),a=n(64803);function o(e){var t=(0,r.Z)(e);return function(e){return(0,a.Z)(t,e)}}},64803:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function a(e,t){var n,a,o,i,s,l,c=[];for(n=0;n<e.length;n++){if(s=e[n],i=r[s]){for(a=i.length,o=Array(a);a--;)o[a]=c.pop();try{l=i.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(s)?t[s]:+s;c.push(l)}return c[0]}},7478:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8172);function a(e){var t=(0,r.Z)(e);return function(e){return+t({n:e})}}},31354:function(e,t,n){"use strict";var r,a,o,i;function s(e){for(var t,n,s,l,c=[],u=[];t=e.match(i);){for(n=t[0],(s=e.substr(0,t.index).trim())&&c.push(s);l=u.pop();){if(o[n]){if(o[n][0]===l){n=o[n][1]||n;break}}else if(a.indexOf(l)>=0||r[l]<r[n]){u.push(l);break}c.push(l)}o[n]||u.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&c.push(e),c.concat(u.reverse())}n.d(t,{Z:function(){return s}}),r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},a=["(","?"],o={")":["("],":":["?","?:"]},i=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},702:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function a(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(r,(function(){var e,r,a,o,i;return e=arguments[3],r=arguments[5],"%"===(o=arguments[9])?"%":("*"===(a=arguments[7])&&(a=t[n-1],n++),void 0!==r?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(i=t[0][r]):(void 0===e&&(e=n),n++,i=t[e-1]),"f"===o?i=parseFloat(i)||0:"d"===o&&(i=parseInt(i)||0),void 0!==a&&("f"===o?i=i.toFixed(a):"s"===o&&(i=i.substr(0,a))),null!=i?i:"")}))}},22607:function(e,t,n){"use strict";var r=n(69307);t.Z=function(e){let{icon:t,size:n=24,...a}=e;return(0,r.cloneElement)(t,{width:n,height:n,...a})}},15284:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(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 12.8h8v-1.5H8v1.5z"}));t.Z=o},84675:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.Z=o},35127:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.Z=o},41221:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.Z=o},7345:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(a.Path,{d:"M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z"}));t.Z=o},31266:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},81326:function(e,t){var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)a(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function a(e,a){if(a){var o=typeof a;"string"===o?function(e,t){for(var n=t.split(r),a=n.length,o=0;o<a;++o)e[n[o]]=!0}(e,a):Array.isArray(a)?t(e,a):"object"===o?function(e,t){if(t.toString===Object.prototype.toString)for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,a):"number"===o&&function(e,t){e[t]=!0}(e,a)}}return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=new e;t(o,r);var i=[];for(var s in o)o[s]&&i.push(s);return i.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},89105:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},92213:function(e){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,a,o,i=-1;for(t=0,a=e.length;t<a;t+=1){for(o=255&(i^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;i=i>>>8^o}return-1^i}function a(e,n){var r,o,i;if(void 0!==a.crc&&n&&e||(a.crc=-1,e)){for(r=a.crc,o=0,i=e.length;o<i;o+=1)r=r>>>8^t[255&(r^e[o])];return a.crc=r,-1^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}()},97115:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var a=o(n[0]);a!==n[0]&&(t[n[0]]=a)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var l=i[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},89453:function(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}))}},2571:function(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 o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,a,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var a,o,i,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),i=o[t]),void 0===i)i=o[t]=n,++e._eventsCount;else if("function"==typeof i?i=o[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(a=l(e))>0&&i.length>a&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}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 p(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 d(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;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):h(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function f(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function a(o){r.once&&e.removeEventListener(t,a),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var a="error"===e,o=this._events;if(void 0!==o)a=a&&void 0===o.error;else if(!a)return!1;if(a){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,a,o,i;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){i=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(a=o[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},95946:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o<r.length;o++){var i=r[o],s=e[i];(a?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},95949:function(e,t,n){"use strict";var r=n(53566),a=n(48282);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var a=0;a<e.length;a+=this._delta32)this._update(e,a,a+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),a(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var a=1;a<n;a++)r[a]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[a++]=0;r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=e>>>24&255,r[a++]=e>>>16&255,r[a++]=e>>>8&255,r[a++]=255&e}else for(r[a++]=255&e,r[a++]=e>>>8&255,r[a++]=e>>>16&255,r[a++]=e>>>24&255,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,o=8;o<this.padLength;o++)r[a++]=0;return r}},69016:function(e,t,n){"use strict";var r=n(53566),a=n(95949),o=n(47574),i=r.rotl32,s=r.sum32,l=r.sum32_5,c=o.ft_1,u=a.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=i(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var a=this.h[0],o=this.h[1],u=this.h[2],d=this.h[3],m=this.h[4];for(r=0;r<n.length;r++){var h=~~(r/20),f=l(i(a,5),c(h,o,u,d),m,n[r],p[h]);m=d,d=u,u=i(o,30),o=a,a=f}this.h[0]=s(this.h[0],a),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],u),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],m)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},47574:function(e,t,n){"use strict";var r=n(53566).rotr32;function a(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function i(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?a(t,n,r):1===e||3===e?i(t,n,r):2===e?o(t,n,r):void 0},t.ch32=a,t.maj32=o,t.p32=i,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},53566:function(e,t,n){"use strict";var r=n(48282),a=n(59503);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function i(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=a,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),a=0;a<e.length;a+=2)n.push(parseInt(e[a]+e[a+1],16))}else for(var r=0,a=0;a<e.length;a++){var i=e.charCodeAt(a);i<128?n[r++]=i:i<2048?(n[r++]=i>>6|192,n[r++]=63&i|128):o(e,a)?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++a)),n[r++]=i>>18|240,n[r++]=i>>12&63|128,n[r++]=i>>6&63|128,n[r++]=63&i|128):(n[r++]=i>>12|224,n[r++]=i>>6&63|128,n[r++]=63&i|128)}else for(a=0;a<e.length;a++)n[a]=0|e[a];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=i,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e[r];"little"===t&&(a=i(a)),n+=l(a.toString(16))}return n},t.zero2=s,t.zero8=l,t.join32=function(e,t,n,a){var o=n-t;r(o%4==0);for(var i=new Array(o/4),s=0,l=t;s<i.length;s++,l+=4){var c;c="big"===a?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],i[s]=c>>>0}return i},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,a=0;r<e.length;r++,a+=4){var o=e[r];"big"===t?(n[a]=o>>>24,n[a+1]=o>>>16&255,n[a+2]=o>>>8&255,n[a+3]=255&o):(n[a+3]=o>>>24,n[a+2]=o>>>16&255,n[a+1]=o>>>8&255,n[a]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,a){return e+t+n+r+a>>>0},t.sum64=function(e,t,n,r){var a=e[t],o=r+e[t+1]>>>0,i=(o<r?1:0)+n+a;e[t]=i>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,a,o,i,s){var l=0,c=t;return l+=(c=c+r>>>0)<t?1:0,l+=(c=c+o>>>0)<o?1:0,e+n+a+i+(l+=(c=c+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,a,o,i,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,a,o,i,s,l,c){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+o>>>0)<o?1:0,u+=(p=p+s>>>0)<s?1:0,e+n+a+i+l+(u+=(p=p+c>>>0)<c?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,a,o,i,s,l,c){return t+r+o+s+c>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},88617:function(e,t,n){"use strict";var r=n(59128),a=n(98086),o=n(90922),i=n.n(o),s=n(94481),l=n(88090),c=n(75565),u=n.n(c),p=n(69016),d=n.n(p),m=n(2571),h=n(702),f=n(92846),g=i()("i18n-calypso"),b="number_format_decimals",v="number_format_thousands_sep",k="messages",y=[function(e){return e}],E={};function w(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function _(e){return Array.prototype.slice.call(e)}function C(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&w("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",_(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&w("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",_(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function j(e,t){return e.dcnpgettext(k,t.context,t.original,t.plural,t.count)}function S(e,t){for(var n=y.length-1;n>=0;n--){var r=y[n](Object.assign({},t)),a=r.context?r.context+""+r.original:r.original;if(e.state.locale[a])return j(e.state.tannin,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:u()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new m.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",a=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,f.Z)(e,n,r,a)},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var o=e[""]["key-hash"],i=function(e,t){var n=!1===t?"":String(t);if(void 0!==E[n+e])return E[n+e];var r=d()().update(e).digest("hex");return E[n+e]=t?r.substr(0,t):r},s=function(e){return function(t){return t.context?(t.original=i(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=i(t.original,e),t}};if("sha1"===o.substr(0,4))if(4===o.length)y.push(s(!1));else{var c=o.substr(5).indexOf("-");if(c<0){var u=Number(o.substr(5));y.push(s(u))}else for(var p=Number(o.substr(5,c)),m=Number(o.substr(6+c)),h=p;h<=m;h++)y.push(s(h))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new l.Z((0,a.Z)({},k,this.state.locale)),this.state.numberFormatSettings.decimal_point=j(this.state.tannin,C([b])),this.state.numberFormatSettings.thousands_sep=j(this.state.tannin,C([v])),this.state.numberFormatSettings.decimal_point===b&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===v&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.isRtl=function(){return"rtl"===this.state.textDirection},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!S(this,C(arguments))},x.prototype.translate=function(){var e=C(arguments),t=S(this,e);if(t||(t=j(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=h.Z.apply(void 0,(0,r.Z)(n))}catch(e){if(!window||!window.console)return;var a=this.throwErrors?"error":"warn";"string"!=typeof e?window.console[a](e):window.console[a]("i18n sprintf error:",n)}}return e.components&&(t=(0,s.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},x.prototype.reRenderTranslations=function(){g("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)},t.Z=x},63807:function(e,t,n){"use strict";n.d(t,{Y4:function(){return l}});var r=n(88617),a=n(42928),o=n(80975),i=n(24531),s=new r.Z,l=s.numberFormat.bind(s),c=(s.translate.bind(s),s.configure.bind(s),s.setLocale.bind(s),s.getLocale.bind(s),s.getLocaleSlug.bind(s),s.addTranslations.bind(s),s.reRenderTranslations.bind(s),s.registerComponentUpdateHook.bind(s),s.registerTranslateHook.bind(s),s.state,s.stateObserver,s.on.bind(s),s.off.bind(s),s.emit.bind(s),(0,a.Z)(s),(0,o.Z)(s),(0,i.Z)(s));c.useRtl,c.withRtl},42928:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(59591),a=n(71687),o=n(93772),i=n(55200),s=n(82104),l=n(9057),c=n(98086),u=n(99196),p=n.n(u);function d(e){var t={numberFormat:e.numberFormat.bind(e),translate:e.translate.bind(e)};return function(n){var u,d,m=n.displayName||n.name||"";return d=u=function(u){(0,s.Z)(m,u);var d=(0,l.Z)(m);function m(){var e;(0,a.Z)(this,m);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=d.call.apply(d,[this].concat(n)),(0,c.Z)((0,i.Z)(e),"boundForceUpdate",e.forceUpdate.bind((0,i.Z)(e))),e}return(0,o.Z)(m,[{key:"componentDidMount",value:function(){e.on("change",this.boundForceUpdate)}},{key:"componentWillUnmount",value:function(){e.off("change",this.boundForceUpdate)}},{key:"render",value:function(){var a=(0,r.Z)({locale:e.getLocaleSlug()},this.props,{},t);return p().createElement(n,a)}}]),m}(p().Component),(0,c.Z)(u,"displayName","Localized("+m+")"),d}}},92846:function(e,t,n){"use strict";function r(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var a=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,i=void 0===r?",":r,s=void 0===n?".":n,l="";return l=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(a,o):""+Math.round(a)).split("."),l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(l[1]||"").length<o&&(l[1]=l[1]||"",l[1]+=new Array(o-l[1].length+1).join("0")),l.join(s)}n.d(t,{Z:function(){return r}})},24531:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(95672),a=n(99196),o=n.n(a),i=n(20036),s=n(94333);function l(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return(0,i.useSubscription)(t)}var l=(0,s.createHigherOrderComponent)((function(e){return(0,a.forwardRef)((function(t,a){var i=n();return o().createElement(e,(0,r.Z)({},t,{isRtl:i,ref:a}))}))}),"WithRTL");return{useRtl:n,withRtl:l}}},80975:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(50572),a=n(99196),o=n.n(a);function i(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}return function(){var n=o().useState(t),a=(0,r.Z)(n,2),i=a[0],s=a[1];return o().useEffect((function(){var n=function(){return s(t)};return e.on("change",n),function(){return e.off("change",n)}}),[]),i}}},59503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},30045:function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(49872)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?o(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,o,i,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(a=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},49872:function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(26285).source,t.src_Cc=n(84080).source,t.src_Z=n(76202).source,t.src_P=n(87696).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},47595:function(e,t,n){"use strict";const r=n(22199),a=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),h=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[s])return}else n&&(e[m]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},b=e=>{if(e[o]>e[a])for(let t=e[p].tail;e[o]>e[a]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[p].removeNode(t)}};class k{constructor(e,t,n,r,a){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=a||0}}const y=(e,t,n,r)=>{let a=n.value;g(e,a)&&(v(e,n),e[s]||(a=void 0)),a&&t.call(r,a.value,a.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[a]=e.max||1/0;const t=e.length||h;if(this[i]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,b(this)}get max(){return this[a]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,b(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[i]&&(this[i]=e,this[o]=0,this[p].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),b(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[p].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new r,this[o]=0}dump(){return this[p].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[i](t,e);if(this[d].has(e)){if(s>this[a])return v(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=r,i.maxAge=n,i.value=t,this[o]+=s-i.length,i.length=s,this.get(e),b(this),!0}const m=new k(e,t,s,r,n);return m.length>this[a]?(this[c]&&this[c](e,t),!1):(this[o]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),b(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],a=r.e||0;if(0===a)this.set(r.k,r.v);else{const e=a-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},75565:function(e,t,n){var r=n(2571),a=n(59503);function o(e){if(!(this instanceof o))return new o(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=o,a(o,r.EventEmitter),Object.defineProperty(o.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),o.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},o.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},o.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},o.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},o.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},o.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},o.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},o.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},69472:function(e,t,n){"use strict";e.exports=n(98092)},95926:function(e,t,n){"use strict";e.exports=n(60231)},4692:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},75501:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=a},58201:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(95926);var p=/[&<>"]/,d=/[&<>"]/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return m[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var g=n(87696);t.lib={},t.lib.mdurl=n(36664),t.lib.ucmicro=n(39126),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},69486:function(e,t,n){"use strict";t.parseLinkLabel=n(53020),t.parseLinkDestination=n(80113),t.parseLinkTitle=n(7266)},80113:function(e,t,n){"use strict";var r=n(58201).unescapeAll;e.exports=function(e,t,n){var a,o,i=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t)))return s;if(60===a)return s;if(62===a)return s.pos=t+1,s.str=r(e.slice(i+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===a&&++o>32)return s;if(41===a){if(0===o)break;o--}t++}return i===t||0!==o||(s.str=r(e.slice(i,t)),s.lines=0,s.pos=t,s.ok=!0),s}},53020:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)r++;else if(n)return e.pos=c,-1}return a&&(s=e.pos),e.pos=c,s}},7266:function(e,t,n){"use strict";var r=n(58201).unescapeAll;e.exports=function(e,t,n){var a,o,i=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((a=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=i,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===a&&41===o)return l;10===a?i++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&i++),t++}return l}},98092:function(e,t,n){"use strict";var r=n(58201),a=n(69486),o=n(54065),i=n(36020),s=n(63435),l=n(92241),c=n(30045),u=n(36664),p=n(15661),d={default:n(36101),zero:n(67545),commonmark:n(45815)},m=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!m.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function k(e,t){if(!(this instanceof k))return new k(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new i,this.renderer=new o,this.linkify=new c,this.validateLink=f,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}k.prototype.set=function(e){return r.assign(this.options,e),this},k.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},k.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},k.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},k.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},k.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},k.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},k.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},k.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=k},63435:function(e,t,n){"use strict";var r=n(21473),a=[["table",n(33168),["paragraph","reference"]],["code",n(63390)],["fence",n(7477),["paragraph","reference","blockquote","list"]],["blockquote",n(61264),["paragraph","reference","blockquote","list"]],["hr",n(94438),["paragraph","reference","blockquote","list"]],["list",n(90185),["paragraph","reference","blockquote"]],["reference",n(48707)],["heading",n(66926),["paragraph","reference","blockquote"]],["lheading",n(22288)],["html_block",n(77476),["paragraph","reference","blockquote"]],["paragraph",n(13958)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),o=a.length,i=t,s=!1,l=e.md.options.maxNesting;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!a[r](e,i,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<n&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},o.prototype.State=n(62389),e.exports=o},36020:function(e,t,n){"use strict";var r=n(21473),a=[["normalize",n(75615)],["block",n(37262)],["inline",n(50127)],["linkify",n(65644)],["replacements",n(652)],["smartquotes",n(34335)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(53706),e.exports=o},92241:function(e,t,n){"use strict";var r=n(21473),a=[["text",n(96733)],["newline",n(22051)],["escape",n(52960)],["backticks",n(61191)],["strikethrough",n(30832).w],["emphasis",n(98052).w],["link",n(68839)],["image",n(39590)],["autolink",n(84145)],["html_inline",n(20354)],["entity",n(44659)]],o=[["balance_pairs",n(93296)],["strikethrough",n(30832).g],["emphasis",n(98052).g],["text_collapse",n(72300)]];function i(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}i.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),o=a.length,i=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<i)for(n=0;n<o&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},i.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,n,r){var a,o,i,s=new this.State(e,t,n,r);for(this.tokenize(s),i=(o=this.ruler2.getRules("")).length,a=0;a<i;a++)o[a](s)},i.prototype.State=n(4160),e.exports=i},45815:function(e){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},36101:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},67545:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},54065:function(e,t,n){"use strict";var r=n(58201).assign,a=n(58201).unescapeAll,o=n(58201).escapeHtml,i={};function s(){this.rules=r({},i)}i.code_inline=function(e,t,n,r,a){var i=e[t];return"<code"+a.renderAttrs(i)+">"+o(e[t].content)+"</code>"},i.code_block=function(e,t,n,r,a){var i=e[t];return"<pre"+a.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,n,r,i){var s,l,c,u,p,d=e[t],m=d.info?a(d.info).trim():"",h="",f="";return m&&(h=(c=m.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,h,f)||o(d.content)).indexOf("<pre")?s+"\n":m?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),p={attrs:u},"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},i.image=function(e,t,n,r,a){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=a.renderInlineAsText(o.children,n,r),a.renderToken(e,t,n)},i.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return o(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,a="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===i.nesting?"</":"<")+i.tag,a+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(a+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===i.tag)&&(o=!1)),a+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,a="",o=this.rules,i=0,s=e.length;i<s;i++)void 0!==o[r=e[i].type]?a+=o[r](e,i,t,n,this):a+=this.renderToken(e,i,t);return a},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,o=e.length;a<o;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type&&(r+=this.renderInlineAsText(e[a].children,t,n));return r},s.prototype.render=function(e,t,n){var r,a,o,i="",s=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(o=e[r].type)?i+=this.renderInline(e[r].children,t,n):void 0!==s[o]?i+=s[e[r].type](e,r,t,n,this):i+=this.renderToken(e,r,t,n);return i},e.exports=s},21473:function(e){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},61264:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j=e.lineMax,S=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(a)return!0;for(l=m=e.sCount[t]+1,32===e.src.charCodeAt(S)?(S++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[t]+m)%4==3?(S++,l++,m++,o=!1):o=!0):y=!1,h=[e.bMarks[t]],e.bMarks[t]=S;S<x&&(i=e.src.charCodeAt(S),r(i));)9===i?m+=4-(m+e.bsCount[t]+(o?1:0))%4:m++,S++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=S>=x,v=[e.sCount[t]],e.sCount[t]=m-l,k=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(C=e.sCount[d]<e.blkIndent,!((S=e.bMarks[d]+e.tShift[d])>=(x=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(S++)||C){if(u)break;for(E=!1,s=0,c=w.length;s<c;s++)if(w[s](e,d,n,!0)){E=!0;break}if(E){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(l=m=e.sCount[d]+1,32===e.src.charCodeAt(S)?(S++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[d]+m)%4==3?(S++,l++,m++,o=!1):o=!0):y=!1,h.push(e.bMarks[d]),e.bMarks[d]=S;S<x&&(i=e.src.charCodeAt(S),r(i));)9===i?m+=4-(m+e.bsCount[d]+(o?1:0))%4:m++,S++;u=S>=x,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=m-l,k.push(e.tShift[d]),e.tShift[d]=S-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=p=[t,0],e.md.block.tokenize(e,t,d),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=j,e.parentType=b,p[1]=e.line,s=0;s<k.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=k[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=f[s];return e.blkIndent=g,!0}},63390:function(e){"use strict";e.exports=function(e,t,n){var r,a,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(o=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!0),o.map=[t,e.line],!0}},7477:function(e){"use strict";e.exports=function(e,t,n,r){var a,o,i,s,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>m)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(l=d,(o=(d=e.skipChars(d,a))-l)<3)return!1;if(u=e.src.slice(l,d),i=e.src.slice(d,m),96===a&&i.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((d=l=e.bMarks[s]+e.tShift[s])<(m=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,a))-l<o||(d=e.skipSpaces(d))<m)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=i,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},66926:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(i=1,o=e.src.charCodeAt(++c);35===o&&c<u&&i<=6;)i++,o=e.src.charCodeAt(++c);return!(i>6||c<u&&!r(o))&&(a||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}},94438:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(i=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&i++}return!(i<3)&&(a||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(o))),!0)}},77476:function(e,t,n){"use strict";var r=n(4692),a=n(75501).q,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),a=0;a<o.length&&!o[a][0].test(l);a++);if(a===o.length)return!1;if(r)return o[a][2];if(i=t+1,!o[a][1].test(l))for(;i<n&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),o[a][1].test(l)){0!==l.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}},22288:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s,l,c,u,p,d,m=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";m<n&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(l=e.bMarks[m]+e.tShift[m])<(c=e.eMarks[m])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[m]<0)){for(a=!1,o=0,i=h.length;o<i;o++)if(h[o](e,m,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,m,e.blkIndent,!1).trim(),e.line=m+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},90185:function(e,t,n){"use strict";var r=n(58201).isSpace;function a(e,t){var n,a,o,i;return a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n||a<o&&(i=e.src.charCodeAt(a),!r(i))?-1:a}function o(e,t){var n,a=e.bMarks[t]+e.tShift[t],o=a,i=e.eMarks[t];if(o+1>=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-a>=10)return-1}return o<i&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j,S,x,T,P,N,A,I,B,M=!1,R=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(M=!0),(T=o(e,t))>=0){if(d=!0,N=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(N,T-N-1)),M&&1!==v)return!1}else{if(!((T=a(e,t))>=0))return!1;d=!1}if(M&&e.skipSpaces(T)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(T-1),r)return!0;for(g=e.tokens.length,d?(B=e.push("ordered_list_open","ol",1),1!==v&&(B.attrs=[["start",v]])):B=e.push("bullet_list_open","ul",1),B.map=f=[t,0],B.markup=String.fromCharCode(b),y=t,P=!1,I=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";y<n;){for(x=T,k=e.eMarks[y],p=E=e.sCount[y]+T-(e.bMarks[t]+e.tShift[t]);x<k;){if(9===(i=e.src.charCodeAt(x)))E+=4-(E+e.bsCount[y])%4;else{if(32!==i)break;E++}x++}if((u=(s=x)>=k?1:E-p)>4&&(u=1),c=p+u,(B=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),B.map=m=[t,0],S=e.tight,j=e.tShift[t],C=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=k&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!P||(R=!1),P=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=j,e.sCount[t]=C,e.tight=S,(B=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),y=t=e.line,m[1]=y,s=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(A=!1,l=0,h=I.length;l<h;l++)if(I[l](e,y,n,!0)){A=!0;break}if(A)break;if(d){if((T=o(e,y))<0)break}else if((T=a(e,y))<0)break;if(b!==e.src.charCodeAt(T-1))break}return(B=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),f[1]=y,e.line=y,e.parentType=_,R&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},13958:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,a=0,o=c.length;a<o;a++)if(c[a](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=n,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}},48707:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t,n,o){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w=0,_=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],j=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(_))return!1;for(;++_<C;)if(93===e.src.charCodeAt(_)&&92!==e.src.charCodeAt(_-1)){if(_+1===C)return!1;if(58!==e.src.charCodeAt(_+1))return!1;break}for(c=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";j<c&&!e.isEmpty(j);j++)if(!(e.sCount[j]-e.blkIndent>3||e.sCount[j]<0)){for(k=!1,p=0,d=y.length;p<d;p++)if(y[p](e,j,c,!0)){k=!0;break}if(k)break}for(C=(v=e.getLines(t,j,e.blkIndent,!1).trim()).length,_=1;_<C;_++){if(91===(i=v.charCodeAt(_)))return!1;if(93===i){h=_;break}(10===i||92===i&&++_<C&&10===v.charCodeAt(_))&&w++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(_=h+2;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;if(!(g=e.md.helpers.parseLinkDestination(v,_,C)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=_=g.pos,l=w+=g.lines,b=_;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;for(g=e.md.helpers.parseLinkTitle(v,_,C),_<C&&b!==_&&g.ok?(E=g.str,_=g.pos,w+=g.lines):(E="",_=s,w=l);_<C&&(i=v.charCodeAt(_),a(i));)_++;if(_<C&&10!==v.charCodeAt(_)&&E)for(E="",_=s,w=l;_<C&&(i=v.charCodeAt(_),a(i));)_++;return!(_<C&&10!==v.charCodeAt(_))&&(!!(m=r(v.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:E,href:u}),e.parentType=f,e.line=t+w+1),!0))}},62389:function(e,t,n){"use strict";var r=n(82069),a=n(58201).isSpace;function o(e,t,n,r){var o,i,s,l,c,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=p=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!d){if(a(o)){u++,9===o?p+=4-p%4:p++;continue}d=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,i,s,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),o=0;d<t;d++,o++){for(i=0,p=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&i<n;){if(s=this.src.charCodeAt(l),a(s))9===s?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(l-p<this.tShift[d]))break;i++}l++}u[o]=i>n?new Array(i-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=r,e.exports=o},33168:function(e,t,n){"use strict";var r=n(58201).isSpace;function a(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,a=e.length,o=!1,i=0,s="";for(t=e.charCodeAt(r);r<a;)124===t&&(o?(s+=e.substring(i,r-1),i=r):(n.push(s+e.substring(i,r)),s="",i=r+1)),o=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(i)),n}e.exports=function(e,t,n,i){var s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(m=(l=a(e,t+1)).split("|"),g=[],u=0;u<m.length;u++){if(!(b=m[u].trim())){if(0===u||u===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?g.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),0===(h=m.length)||h!==g.length)return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(f=e.push("table_open","table",1)).map=v=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<m.length;u++)f=e.push("th_open","th",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u].trim(),f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),d=t+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(E=!1,u=0,p=w.length;u<p;u++)if(w[u](e,d,n,!0)){E=!0;break}if(E)break;if(!(l=a(e,d).trim()))break;if(e.sCount[d]-e.blkIndent>=4)break;for((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),d===t+2&&((f=e.push("tbody_open","tbody",1)).map=k=[t+2,0]),(f=e.push("tr_open","tr",1)).map=[d,d+1],u=0;u<h;u++)f=e.push("td_open","td",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u]?m[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return k&&(f=e.push("tbody_close","tbody",-1),k[1]=d),f=e.push("table_close","table",-1),v[1]=d,e.parentType=y,e.line=d,!0}},37262:function(e){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},50127:function(e){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},65644:function(e,t,n){"use strict";var r=n(58201).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(f=0,t=(i=E[n].children).length-1;t>=0;t--)if("link_close"!==(l=i[t]).type){if("html_inline"===l.type&&(y=l.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(l.content)&&f++),!(f>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,k=e.md.linkify.match(p),c=[],h=l.level,m=0,u=0;u<k.length;u++)g=k[u].url,b=e.md.normalizeLink(g),e.md.validateLink(b)&&(v=k[u].text,v=k[u].schema?"mailto:"!==k[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=k[u].index)>m&&((s=new e.Token("text","",0)).content=p.slice(m,d),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",b]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=v,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),m=k[u].lastIndex);m<p.length&&((s=new e.Token("text","",0)).content=p.slice(m),s.level=h,c.push(s)),E[n].children=i=r(i,t,c)}}else for(t--;i[t].level!==l.level&&"link_open"!==i[t].type;)t--}},75615:function(e){"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},652:function(e){"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return a[t.toLowerCase()]}function i(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}function s(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||a||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&i(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},34335:function(e,t,n){"use strict";var r=n(58201).isWhiteSpace,a=n(58201).isPunctChar,o=n(58201).isMdAsciiPunct,i=/['"]/,s=/['"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,i,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j,S,x;for(j=[],n=0;n<e.length;n++){for(i=e[n],m=e[n].level,_=j.length-1;_>=0&&!(j[_].level<=m);_--);if(j.length=_+1,"text"===i.type){p=0,d=(c=i.content).length;e:for(;p<d&&(s.lastIndex=p,u=s.exec(c));){if(E=w=!0,p=u.index+1,C="'"===u[0],f=32,u.index-1>=0)f=c.charCodeAt(u.index-1);else for(_=n-1;_>=0&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_--)if(e[_].content){f=e[_].content.charCodeAt(e[_].content.length-1);break}if(g=32,p<d)g=c.charCodeAt(p);else for(_=n+1;_<e.length&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_++)if(e[_].content){g=e[_].content.charCodeAt(0);break}if(b=o(f)||a(String.fromCharCode(f)),v=o(g)||a(String.fromCharCode(g)),k=r(f),(y=r(g))?E=!1:v&&(k||b||(E=!1)),k?w=!1:b&&(y||v||(w=!1)),34===g&&'"'===u[0]&&f>=48&&f<=57&&(w=E=!1),E&&w&&(E=b,w=v),E||w){if(w)for(_=j.length-1;_>=0&&(h=j[_],!(j[_].level<m));_--)if(h.single===C&&j[_].level===m){h=j[_],C?(S=t.md.options.quotes[2],x=t.md.options.quotes[3]):(S=t.md.options.quotes[0],x=t.md.options.quotes[1]),i.content=l(i.content,u.index,x),e[h.token].content=l(e[h.token].content,h.pos,S),p+=x.length-1,h.token===n&&(p+=S.length-1),d=(c=i.content).length,j.length=_;continue e}E?j.push({token:n,pos:u.index,single:C,level:m}):w&&C&&(i.content=l(i.content,u.index,"’"))}else C&&(i.content=l(i.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},53706:function(e,t,n){"use strict";var r=n(82069);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},84145:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var a,o,i,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return a=e.src.slice(l+1,u),n.test(a)?(o=e.md.normalizeLink(a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0)):!!t.test(a)&&(o=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0))}},61191:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(a=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=a),e.pos+=l,!0;for(i=s=u;-1!==(i=e.src.indexOf("`",s));){for(s=i+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-i)===l)return t||((o=e.push("code_inline","code",0)).markup=a,o.content=e.src.slice(u,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=i}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=l,!0}},93296:function(e){"use strict";function t(e,t){var n,r,a,o,i,s,l,c,u={},p=t.length;for(n=0;n<p;n++)if((a=t[n]).length=a.length||0,a.close){for(u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1]),i=u[a.marker][a.length%3],(r=n-a.jump-1)<-1&&(r=-1),s=r;r>i;r-=o.jump+1)if((o=t[r]).marker===a.marker&&o.open&&o.end<0&&(l=!1,(o.close||a.open)&&(o.length+a.length)%3==0&&(o.length%3==0&&a.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?t[r-1].jump+1:0,a.jump=n-r+c,a.open=!1,o.end=n,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(u[a.marker][(a.length||0)%3]=s)}}e.exports=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},98052:function(e){"use strict";function t(e,t){var n,r,a,o,i,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(a=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===a.token+1&&t[n-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?i+i:i,o.content="",(o=e.tokens[a.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?i+i:i,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,a=e.pos,o=e.src.charCodeAt(a);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},44659:function(e,t,n){"use strict";var r=n(95926),a=n(58201).has,o=n(58201).isValidEntityCode,i=n(58201).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?i(n):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&a(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},52960:function(e,t,n){"use strict";for(var r=n(58201).isSpace,a=[],o=0;o<256;o++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<i){if((n=e.src.charCodeAt(o))<256&&0!==a[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<i&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},20354:function(e,t,n){"use strict";var r=n(75501).n;e.exports=function(e,t){var n,a,o,i=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=o)&&(!(33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(i).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+a[0].length)),e.pos+=a[0].length,!0))))}},39590:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d,m,h,f,g,b="",v=e.pos,k=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<k&&40===e.src.charCodeAt(u)){for(u++;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(u>=k)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<k&&g!==u&&d.ok)for(m=d.str,u=d.pos;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);else m="";if(u>=k||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<k&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(p=e.env.references[r(s)]))return e.pos=v,!1;b=p.href,m=p.title}return t||(i=e.src.slice(c,l),e.md.inline.parse(i,e.md,e.env,f=[]),(h=e.push("image","img",0)).attrs=n=[["src",b],["alt",""]],h.children=f,h.content=i,m&&n.push(["title",m])),e.pos=u,e.posMax=k,!0}},68839:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d="",m="",h=e.pos,f=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<f&&40===e.src.charCodeAt(c)){for(b=!1,c++;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(c>=f)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d="",g=c;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<f&&g!==c&&u.ok)for(m=u.str,c=u.pos;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);}(c>=f||41!==e.src.charCodeAt(c))&&(b=!0),c++}if(b){if(void 0===e.env.references)return!1;if(c<f&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?i=e.src.slice(g,c++):c=s+1):c=s+1,i||(i=e.src.slice(l,s)),!(p=e.env.references[r(i)]))return e.pos=h,!1;d=p.href,m=p.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=f,!0}},22051:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t){var n,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,a=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<a&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},4160:function(e,t,n){"use strict";var r=n(82069),a=n(58201).isWhiteSpace,o=n(58201).isPunctChar,i=n(58201).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(o),a},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,d,m,h=e,f=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,r=h<b?this.src.charCodeAt(h):32,p=i(n)||o(String.fromCharCode(n)),m=i(r)||o(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:m&&(u||p||(f=!1)),u?g=!1:p&&(d||m||(g=!1)),t?(l=f,c=g):(l=f&&(!g||p),c=g&&(!f||m)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},30832:function(e){"use strict";function t(e,t){var n,r,a,o,i,s=[],l=t.length;for(n=0;n<l;n++)126===(a=t[n]).marker&&-1!==a.end&&(o=t[a.end],(i=e.tokens[a.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=i)}}e.exports.w=function(e,t){var n,r,a,o,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=o,a--),n=0;n<a;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,jump:n/2,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},96733:function(e){"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},72300:function(e){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)a[t].nesting<0&&r--,a[t].level=r,a[t].nesting>0&&r++,"text"===a[t].type&&t+1<o&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},82069:function(e){"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},62098:function(e){"use strict";var t={};function n(e,r){var a;return"string"!=typeof r&&(r=n.defaultChars),a=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),a.push(r);for(n=0;n<e.length;n++)a[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return a}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,i,s,l,c="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=a[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&i))?(c+=(l=r<<12&61440|o<<6&4032|63&i)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&i)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|i<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},9401:function(e){"use strict";var t={};function n(e,r,a){var o,i,s,l,c,u="";for("string"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),c=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),o=0,i=e.length;o<i;o++)if(s=e.charCodeAt(o),a&&37===s&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<i&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},56558:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},36664:function(e,t,n){"use strict";e.exports.encode=n(9401),e.exports.decode=n(62098),e.exports.format=n(56558),e.exports.parse=n(5)},5:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),i=["'"].concat(o),s=["%","/","?",";","#"].concat(i),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,o,i,m,h,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var g=a.exec(f);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=n.exec(f);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,f=f.substr(b.length)),(t||b||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===f.substr(0,2))||b&&p[b]||(f=f.substr(2),this.slashes=!0)),!p[b]&&(h||b&&!d[b])){var v,k,y=-1;for(r=0;r<l.length;r++)-1!==(m=f.indexOf(l[r]))&&(-1===y||m<y)&&(y=m);for(-1!==(k=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,k),f=f.slice(k+1),this.auth=v),y=-1,r=0;r<s.length;r++)-1!==(m=f.indexOf(s[r]))&&(-1===y||m<y)&&(y=m);-1===y&&(y=f.length),":"===f[y-1]&&y--;var E=f.slice(0,y);f=f.slice(y),this.parseHost(E),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var _=this.hostname.split(/\./);for(r=0,o=_.length;r<o;r++){var C=_[r];if(C&&!C.match(c)){for(var j="",S=0,x=C.length;S<x;S++)C.charCodeAt(S)>127?j+="x":j+=C[S];if(!j.match(c)){var T=_.slice(0,r),P=_.slice(r+1),N=C.match(u);N&&(T.push(N[1]),P.unshift(N[2])),P.length&&(f=P.join(".")+f),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=f.indexOf("#");-1!==A&&(this.hash=f.substr(A),f=f.slice(0,A));var I=f.indexOf("?");return-1!==I&&(this.search=f.substr(I),f=f.slice(0,I)),f&&(this.pathname=f),d[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},99889:function(){},93474:function(){},33285:function(){},48282:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},32002:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=7*a,i=365.25*a;function s(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=a)return s(e,o,a,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=a)return Math.round(e/a)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},1625:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var p=0;p<s.length;p++)r.call(i,s[p])&&(l[s[p]]=i[s[p]])}}return l}},40278:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(92213),a=n.n(r),o=n(68211),i=n.n(o),s=n(48468),l=n.n(s)()("photon"),c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function d(e,t){var n;try{n=new URL(e,p)}catch(e){return null}var r,o,s,d,m,h="https:"===n.protocol,f=new URL("https://i0.wp.com");if(m=n.host,/^i[0-2]\.wp\.com$/.test(m))f.pathname=n.pathname,f.hostname=n.hostname;else{if(n.search)return null;var g=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(g=n.pathname.replace("://","//")),n.hostname===u&&(g=n.pathname),f.pathname=g,f.hostname=(r=g,o=a()(r),s=i()(o),d="i"+Math.floor(3*s()),l('determined server "%s" to use with "%s"',d,r),d+".wp.com"),h&&f.searchParams.set("ssl",1)}if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?f.searchParams.set(c[b]||b,t[b]):f.protocol="http:":f.hostname=t[b];return l("generated Photon URL: %s",f.href),f.href}},9587:function(e,t,n){"use strict";var r=n(45843);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},11268:function(e,t,n){e.exports=n(9587)()},45843:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},10753:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,a){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var i=/\+/g;e=e.split(n);var s=1e3;a&&"number"==typeof a.maxKeys&&(s=a.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var u,p,d,m,h=e[c].replace(i,"%20"),f=h.indexOf(r);f>=0?(u=h.substr(0,f),p=h.substr(f+1)):(u=h,p=""),d=decodeURIComponent(u),m=decodeURIComponent(p),t(o,d)?Array.isArray(o[d])?o[d].push(m):o[d]=[o[d],m]:o[d]=m}return o}},68527:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,a){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(a){var o=encodeURIComponent(t(a))+r;return Array.isArray(e[a])?e[a].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[a]))})).join(n):a?encodeURIComponent(t(a))+r+encodeURIComponent(t(e)):""}},76250:function(e,t,n){"use strict";t.decode=t.parse=n(10753),t.encode=t.stringify=n(68527)},97765:function(e,t,n){"use strict";var r=n(11268),a=n.n(r),o=n(99196),i=n.n(o),s=n(63130),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isSupported:s.Gb&&s.WD},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.state.isSupported&&(this.handleVisibilityChange=this.handleVisibilityChange.bind(this),document.addEventListener(s.WD.event,this.handleVisibilityChange))}},{key:"componentWillUnmount",value:function(){this.state.isSupported&&document.removeEventListener(s.WD.event,this.handleVisibilityChange)}},{key:"handleVisibilityChange",value:function(){var e;"function"==typeof this.props.onChange&&(e=this.props).onChange.apply(e,c((0,s.XO)()));"function"==typeof this.props.children&&this.forceUpdate()}},{key:"render",value:function(){return this.props.children?"function"==typeof this.props.children?this.state.isSupported?(e=this.props).children.apply(e,c((0,s.XO)())):this.props.children():i().Children.only(this.props.children):null;var e}}]),t}(i().Component);u.displayName="PageVisibility",u.propTypes={onChange:a().func,children:a().oneOfType([a().node,a().func])},t.Z=u},75031:function(e,t,n){"use strict";var r=n(97765);t.Z=r.Z},63130:function(e,t,n){"use strict";n.d(t,{Gb:function(){return o},WD:function(){return i},XO:function(){return s}});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"}],o=r&&Boolean(document.addEventListener),i=function(){if(!o)return null;var e=!0,t=!1,n=void 0;try{for(var r,i=a[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var s=r.value;if(s.hidden in document)return s}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}return null}(),s=function(){if(!i)return[!0,"visible"];var e=i.hidden,t=i.state;return[!document[e],document[t]]}},2601:function(e){"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)t(e,n[r]);else for(r in n)e[r]=(e[r]||[]).concat(n[r])}e.exports=function(e){var n,r={};return t(r,e),(n=function(e){return function(t){return function(n){var a,o,i=r[n.type],s=t(n);if(i)for(a=0;a<i.length;a++)(o=i[a](n,e))&&e.dispatch(o);return s}}}).effects=r,n}},19551:function(e,t,n){"use strict";var r,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function l(e,t){var n,l;function c(){n=a?new WeakMap:i()}function u(){var n,r,a,o,i,c=arguments.length;for(o=new Array(c),a=0;a<c;a++)o[a]=arguments[a];for(i=t.apply(null,o),(n=l(i)).isUniqueByDependants||(n.lastDependants&&!s(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(s(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),l=a?function(e){var t,a,o,s,l,c=n,u=!0;for(t=0;t<e.length;t++){if(a=e[t],!(l=a)||"object"!=typeof l){u=!1;break}c.has(a)?c=c.get(a):(o=new WeakMap,c.set(a,o),c=o)}return c.has(r)||((s=i()).isUniqueByDependants=u,c.set(r,s)),c.get(r)}:function(){return n},u.getDependants=t,u.clear=c,c(),u}n.d(t,{Z:function(){return l}}),r={},a="undefined"!=typeof WeakMap},54166:function(e,t){"use strict";var n=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__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var i=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&l()}function s(){o(i)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},p=b(0,0,0,0);function d(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=u(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=d(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,s=d(r.width),l=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+i)!==n&&(l-=m(r,"top","bottom")+i)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(a.left,a.top,s,l)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?f(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):p}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,a,o,i,s,l,u=(r=(n=t).x,a=n.y,o=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:a,width:o,height:i,top:a,right:r+o,bottom:i+a,left:r}),l);c(this,{target:e,contentRect:u})},y=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new n,w=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 y(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var _=void 0!==a.ResizeObserver?a.ResizeObserver:w;t.Z=_},68211:function(e){"use strict";var t=256,n=[],r=window,a=Math.pow(t,6),o=Math.pow(2,52),i=2*o,s=255,l=Math.random;function c(e){var n,r=e.length,a=this,o=0,i=a.i=a.j=0,l=a.S=[];for(r||(e=[r++]);o<t;)l[o]=o++;for(o=0;o<t;o++)l[o]=l[i=s&i+e[o%r]+(n=l[o])],l[i]=n;(a.g=function(e){for(var n,r=0,o=a.i,i=a.j,l=a.S;e--;)n=l[o=s&o+1],r=r*t+l[s&(l[o]=l[i=s&i+n])+(l[i]=n)];return a.i=o,a.j=i,r})(t)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(e){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[s&a]=s&(n^=19*t[s&a])+r.charCodeAt(a++);return m(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),m(e)}catch(e){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,m(n)]}}function m(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,s){if(s&&!0===s.global)return s.global=!1,Math.random=e.exports(r,s),s.global=!0,Math.random;var l=s&&s.entropy||!1,h=[],f=(p(u(l?[r,m(n)]:0 in arguments?r:d(),3),h),new c(h));return p(m(f.S),n),function(){for(var e=f.g(6),n=a,r=0;e<o;)e=(e+r)*t,n*=t,r=f.g(1);for(;e>=i;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=l},p(Math.random(),n)},45702:function(e,t,n){const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||c}}e.exports=a;const o=n(75265),{re:i,t:s}=n(75698),l=n(48937),c=n(72840),u=n(88208),p=n(55062)},55062:function(e,t,n){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!h(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,x(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),s("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(/\s+/).join(" ");const l=r?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],f=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),g=(f.length,new Map);for(const e of f){if(h(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const v=[...g.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>g(n,t)&&e.set.some((e=>g(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(T(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const a=new(n(47595))({max:1e3}),o=n(75265),i=n(45702),s=n(72840),l=n(88208),{re:c,t:u,comparatorTrimReplace:p,tildeTrimReplace:d,caretTrimReplace:m}=n(75698),h=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=E(e,t),s("caret",e),e=k(e,t),s("tildes",e),e=_(e,t),s("xrange",e),e=j(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,k=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},E=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{s("caret",e,t);const n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let l;return s("caret",e,t,n,a,o,i),v(n)?l="":v(a)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?l="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),l="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",l),l}))},_=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,((n,r,a,o,i,l)=>{s("xRange",e,n,r,a,o,i,l);const c=v(a),u=c||v(o),p=u||v(i),d=p;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(l="-0"),n=`${r+a}.${o}.${i}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:p&&(n=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},j=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),S=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),x=e=>(t,n,r,a,o,i,s,l,c,u,p,d,m)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=v(c)?"":v(u)?`<${+c+1}.0.0-0`:v(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),T=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==i.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},88208:function(e,t,n){const r=n(72840),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(29609),{re:i,t:s}=n(75698),l=n(75265),{compareIdentifiers:c}=n(15322);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],a=e.build[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},52045:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},48937:function(e,t,n){const r=n(42969),a=n(74619),o=n(74765),i=n(71767),s=n(63590),l=n(94638);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return a(e,n,c);case">":return o(e,n,c);case">=":return i(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},12977:function(e,t,n){const r=n(88208),a=n(38675),{re:o,t:i}=n(75698);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},58230:function(e,t,n){const r=n(88208);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},25112:function(e,t,n){const r=n(50192);e.exports=(e,t)=>r(e,t,!0)},50192:function(e,t,n){const r=n(88208);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},13751:function(e,t,n){const r=n(38675),a=n(42969);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},42969:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>0===r(e,t,n)},74765:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)>0},71767:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)>=0},20177:function(e,t,n){const r=n(88208);e.exports=(e,t,n,a)=>{"string"==typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(e){return null}}},63590:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)<0},94638:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)<=0},51847:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).major},87989:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).minor},74619:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>0!==r(e,t,n)},38675:function(e,t,n){const{MAX_LENGTH:r}=n(29609),{re:a,t:o}=n(75698),i=n(88208),s=n(75265);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},8906:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).patch},85676:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},82576:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(t,e,n)},25709:function(e,t,n){const r=n(58230);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},53907:function(e,t,n){const r=n(55062);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},21978:function(e,t,n){const r=n(58230);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},55641:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},53377:function(e,t,n){const r=n(75698);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(29609).SEMVER_SPEC_VERSION,SemVer:n(88208),compareIdentifiers:n(15322).compareIdentifiers,rcompareIdentifiers:n(15322).rcompareIdentifiers,parse:n(38675),valid:n(55641),clean:n(52045),inc:n(20177),diff:n(13751),major:n(51847),minor:n(87989),patch:n(8906),prerelease:n(85676),compare:n(50192),rcompare:n(82576),compareLoose:n(25112),compareBuild:n(58230),sort:n(21978),rsort:n(25709),gt:n(74765),lt:n(63590),eq:n(42969),neq:n(74619),gte:n(71767),lte:n(94638),cmp:n(48937),coerce:n(12977),Comparator:n(45702),Range:n(55062),satisfies:n(53907),toComparators:n(76055),maxSatisfying:n(33422),minSatisfying:n(17212),minVersion:n(9077),validRange:n(53140),outside:n(44494),gtr:n(2824),ltr:n(34370),intersects:n(30723),simplifyRange:n(23589),subset:n(34992)}},29609:function(e){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},72840:function(e){const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},15322:function(e){const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},75265:function(e){const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},75698:function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(29609),a=n(72840),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let l=0;const c=(e,t,n)=>{const r=l++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},2824:function(e,t,n){const r=n(44494);e.exports=(e,t,n)=>r(e,t,">",n)},30723:function(e,t,n){const r=n(55062);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},34370:function(e,t,n){const r=n(44494);e.exports=(e,t,n)=>r(e,t,"<",n)},33422:function(e,t,n){const r=n(88208),a=n(55062);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},17212:function(e,t,n){const r=n(88208),a=n(55062);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},9077:function(e,t,n){const r=n(88208),a=n(55062),o=n(74765);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const a=e.set[t];let i=null;a.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},44494:function(e,t,n){const r=n(88208),a=n(45702),{ANY:o}=a,i=n(55062),s=n(53907),l=n(74765),c=n(63590),u=n(94638),p=n(71767);e.exports=(e,t,n,d)=>{let m,h,f,g,b;switch(e=new r(e,d),t=new i(t,d),n){case">":m=l,h=u,f=c,g=">",b=">=";break;case"<":m=c,h=p,f=l,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let i=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,d)?i=e:f(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===b)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===b&&f(e,s.semver))return!1}return!0}},23589:function(e,t,n){const r=n(53907),a=n(50192);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const l=e.sort(((e,t)=>a(e,t,n)));for(const e of l){r(e,t,n)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length<p.length?u:t}},34992:function(e,t,n){const r=n(55062),a=n(45702),{ANY:o}=a,i=n(53907),s=n(50192),l=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?[new a(">=0.0.0-0")]:[new a(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=[new a(">=0.0.0")]}const r=new Set;let l,p,d,m,h,f,g;for(const t of e)">"===t.operator||">="===t.operator?l=c(l,t,n):"<"===t.operator||"<="===t.operator?p=u(p,t,n):r.add(t.semver);if(r.size>1)return null;if(l&&p){if(d=s(l.semver,p.semver,n),d>0)return null;if(0===d&&(">="!==l.operator||"<="!==p.operator))return null}for(const e of r){if(l&&!i(e,String(l),n))return null;if(p&&!i(e,String(p),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let b=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,v=!(!l||n.includePrerelease||!l.semver.prerelease.length)&&l.semver;b&&1===b.prerelease.length&&"<"===p.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,l)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(m=c(l,e,n),m===e&&m!==l)return!1}else if(">="===l.operator&&!i(l.semver,String(e),n))return!1;if(p)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=u(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!i(p.semver,String(e),n))return!1;if(!e.operator&&(p||l)&&0!==d)return!1}return!(l&&f&&!p&&0!==d)&&(!(p&&g&&!l&&0!==d)&&(!v&&!b))},c=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=l(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},76055:function(e,t,n){const r=n(55062);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},53140:function(e,t,n){const r=n(55062);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},88090:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7478),a={contextDelimiter:"",onMissingKey:null};function o(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},a)this.options[n]=void 0!==t&&n in t?t[n]:a[n]}o.prototype.getPluralForm=function(e,t){var n,a,o,i=this.pluralForms[e];return i||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(a=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=(0,r.Z)(a)),i=this.pluralForms[e]=o),i(t)},o.prototype.dcnpgettext=function(e,t,n,r,a){var o,i,s;return o=void 0===a?0:this.getPluralForm(e,a),i=n,t&&(i=t+this.options.contextDelimiter+n),(s=this.data[e][i])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)}},80816:function(e,t,n){"use strict";var r=n(90922),a=n.n(r),o=n(92819);const i=a()("dops:analytics");let s,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){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]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);this.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]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,o,i){c.ga.recordPurchase(e,t,n,r,a,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=(0,o.assign)(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),i("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){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),i(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=c},9481:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},11973:function(e,t,n){"use strict";var r=n(9481),a=n(80816);a.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),a.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=a.Z},78953:function(e,t,n){"use strict";var r=n(68039);t.Z={backgroundColor:{type:"string",validator:r.Z},textColor:{type:"string",validator:r.Z},buttonAndLinkColor:{type:"string",validator:r.Z},style:{type:"string",default:"small",validValues:["small","large"]},asin:{type:"string"},showImage:{default:!0,type:"boolean"},showTitle:{default:!0,type:"boolean"},showSeller:{default:!1,type:"boolean"},showPrice:{default:!0,type:"boolean"},showPurchaseButton:{default:!0,type:"boolean"}}},44046:function(e,t){"use strict";t.Z={products:[{title:"New York Biology Dead Sea Mud Mask for Face and Body - All Natural - Spa Quality Pore Reducer for Acne, Blackheads and Oily Skin - Tightens Skin for A Healthier Complexion - 8.8 oz",asin:"B01NCM25K7",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"New York Biology",detailPageUrl:"https://www.amazon.com/New-York-Biology-Dead-Mask/dp/B01NCM25K7?psc=1&SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B01NCM25K7",listPrice:"$14.95",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51asbRHNuVL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:62,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51asbRHNuVL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:133,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51asbRHNuVL.jpg",imageHeightLarge:500,imageWidthLarge:415,authorshipInfo:"New York Biology"},{title:"Face/Off",asin:"B002PT1KH6",productGroup:"Movie",authors:[],artists:[],actors:["John Travolta","Nicolas Cage","Joan Allen","Alessandro Nivola","Gina Gershon"],detailPageUrl:"https://www.amazon.com/Face-Off-John-Travolta/dp/B002PT1KH6?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B002PT1KH6",listPrice:"$9.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51TyrHec4QL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:50,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51TyrHec4QL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:107,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51TyrHec4QL.jpg",imageHeightLarge:500,imageWidthLarge:333,authorshipInfo:"Starring John Travolta, Nicolas Cage, Joan Allen, Alessandro Nivola, Gina Gershon"},{title:"PIXNOR Facial Cleansing Brush [Newest 2020], Waterproof Face Spin Brush with 7 Brush Heads for Deep Cleansing, Gentle Exfoliating, Removing Blackhead, Massaging(Pink)",asin:"B077ZW5YQP",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"PIXNOR",detailPageUrl:"https://www.amazon.com/PIXNOR-Cleansing-Waterproof-Exfoliating-Blackhead/dp/B077ZW5YQP?psc=1&SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B077ZW5YQP",listPrice:"$39.99",salePrice:"$22.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/41KQCaa1hjL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/41KQCaa1hjL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/41KQCaa1hjL.jpg",imageHeightLarge:500,imageWidthLarge:500,authorshipInfo:"PIXNOR"},{title:"BESTOPE Blackhead Remover Pimple Comedone Extractor Tool Best Acne Removal Kit - Treatment for Blemish, Whitehead Popping, Zit Removing for Risk Free Nose Face Skin with Metal Case",asin:"B019SVHLEY",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"Doctor PimplePopper",detailPageUrl:"https://www.amazon.com/BESTOPE-Blackhead-Remover-Comedone-Extractor/dp/B019SVHLEY?psc=1&SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B019SVHLEY",listPrice:"$7.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51QHC5fDdfL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51QHC5fDdfL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51QHC5fDdfL.jpg",imageHeightLarge:500,imageWidthLarge:500,authorshipInfo:"Doctor PimplePopper"},{title:"Welcome to the Jungle",asin:"B004L3L9PM",productGroup:"TV Series Episode Video on Demand",authors:[],artists:[],actors:[],detailPageUrl:"https://www.amazon.com/Welcome-to-the-Jungle/dp/B004L3L9PM?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B004L3L9PM",listPrice:"$2.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51KBv1L7lJL._SL75_.jpg",imageHeightSmall:56,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51KBv1L7lJL._SL160_.jpg",imageHeightMedium:120,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51KBv1L7lJL.jpg",imageHeightLarge:375,imageWidthLarge:500,authorshipInfo:""},{title:"Black Charcoal Mask - Face Peel Off Mask with Organic Bamboo and Vitamin C - Deep Cleansing Pore Blackhead Removal and Purifying Black Mask for Men and Women",asin:"B07V1MPG8N",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"O'linear",detailPageUrl:"https://www.amazon.com/Black-Charcoal-Mask-Cleansing-Blackhead/dp/B07V1MPG8N?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B07V1MPG8N",listPrice:"$7.49",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51QkF1BReJL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51QkF1BReJL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51QkF1BReJL.jpg",imageHeightLarge:500,imageWidthLarge:500,authorshipInfo:"O'linear"},{title:"Girl, Wash Your Face: Stop Believing the Lies about Who You Are So You Can Become Who You Were Meant to Be",asin:"1400201659",productGroup:"Book",authors:["Rachel Hollis"],artists:[],actors:[],manufacturer:"Thomas Nelson",detailPageUrl:"https://www.amazon.com/Girl-Wash-Your-Face-Believing/dp/1400201659?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=1400201659",listPrice:"$11.88",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51uuwa-5OgL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:49,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51uuwa-5OgL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:104,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51uuwa-5OgL.jpg",imageHeightLarge:500,imageWidthLarge:326,authorshipInfo:"By Rachel Hollis"},{title:"Death Dealers",asin:"B07F75BN4W",productGroup:"TV Series Episode Video on Demand",authors:[],artists:[],actors:[],detailPageUrl:"https://www.amazon.com/Death-Dealers/dp/B07F75BN4W?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B07F75BN4W",listPrice:"$1.99",authorshipInfo:""},{title:"eDiva Natural Jade Roller- Gua Sha - Lymphatic Drainage Tool for Face, Neck, Body - Anti Aging Treatment - Reduces Wrinkles and Fine Lines",asin:"B07HHF37F7",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"eDiva",detailPageUrl:"https://www.amazon.com/eDiva-Natural-Jade-Roller-Gua/dp/B07HHF37F7?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B07HHF37F7",listPrice:"$49.95",salePrice:"$22.95",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/41DWi8-M92L._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/41DWi8-M92L._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/41DWi8-M92L.jpg",imageHeightLarge:500,imageWidthLarge:500,authorshipInfo:"eDiva"},{title:"Pack Leaders",asin:"B071GRS6R9",productGroup:"TV Series Episode Video on Demand",authors:[],artists:[],actors:["McKenzie Westmore","Ve Neill","Glenn Hetrick","Neville Page","Michael Westmore"],detailPageUrl:"https://www.amazon.com/Pack-Leaders/dp/B071GRS6R9?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B071GRS6R9",listPrice:"$2.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51rP3BM0oxL._SL75_.jpg",imageHeightSmall:56,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51rP3BM0oxL._SL160_.jpg",imageHeightMedium:120,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51rP3BM0oxL.jpg",imageHeightLarge:375,imageWidthLarge:500,authorshipInfo:"Starring McKenzie Westmore, Ve Neill, Glenn Hetrick, Neville Page, Michael Westmore"}]}},23609:function(e,t,n){"use strict";var r=n(69307),a=n(55066),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(4981),u=n(33352),p=n(44046);const __=i.__;t.Z=(0,l.withNotices)((function(e){let{attributes:{backgroundColor:t,textColor:n,buttonAndLinkColor:a,asin:i,showImage:d,showTitle:m,showSeller:h,showPrice:f,showPurchaseButton:g},className:b,name:v,noticeUI:k,setAttributes:y}=e;const E=(0,c.getBlockDefaultClassName)(v),[w,_]=(0,r.useState)([]),C=/^(\d+)$|\(ASIN:(.+)\)$/,j=(0,r.createElement)(l.Placeholder,{label:__("Amazon","jetpack"),instructions:__("Search by entering an Amazon product name or ID below.","jetpack"),icon:(0,r.createElement)(s.BlockIcon,{icon:u.Z}),notices:k},(0,r.createElement)("form",null,(0,r.createElement)(l.FormTokenField,{value:i,suggestions:w,onInputChange:()=>{_(p.Z.products.map((e=>`${e.title} (ASIN:${e.asin})`)))},maxSuggestions:10,label:__("Products","jetpack"),onChange:e=>{const t=e.map((e=>{const t=C.exec(e),n=t[1]||t[2];return p.Z.products.filter((e=>e.asin===n))}));y({asin:t[0][0].asin})}}),(0,r.createElement)(l.Button,{isSecondary:!0,isLarge:!0,type:"submit"},__("Preview","jetpack")))),S=(0,r.createElement)(s.InspectorControls,null,i&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.PanelBody,{title:__("Promotion Settings","jetpack")},(0,r.createElement)(l.ToggleControl,{label:__("Show Image","jetpack"),checked:d,onChange:()=>y({showImage:!d})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Title","jetpack"),checked:m,onChange:()=>y({showTitle:!m})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Author/Seller","jetpack"),checked:h,onChange:()=>y({showSeller:!h})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Price","jetpack"),checked:f,onChange:()=>y({showPrice:!f})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Purchase Button","jetpack"),checked:g,onChange:()=>y({showPurchaseButton:!g})})),(0,r.createElement)(s.PanelColorSettings,{title:__("Color Settings","jetpack"),colorSettings:[{value:t,onChange:e=>y({backgroundColor:e}),label:__("Background Color","jetpack")},{value:n,onChange:e=>y({textColor:e}),label:__("Text Color","jetpack")},{value:a,onChange:e=>y({buttonAndLinkColor:e}),label:__("Button & Link Color","jetpack")}]},(0,r.createElement)(s.ContrastChecker,{isLargeText:!1,textColor:n,backgroundColor:t}))));return(0,r.createElement)("div",{className:b},S,i?(()=>{const{title:e,detailPageUrl:s,listPrice:c,imageUrlMedium:b,imageWidthMedium:v,imageHeightMedium:k}=p.Z.products.filter((e=>e.asin===i))[0],y="TODO",w=b&&(0,r.createElement)("a",{target:"_blank",href:s,rel:"noopener noreferrer"},(0,r.createElement)("img",{alt:e,src:b,width:v,heigth:k})),_=o().mostReadable(a,["#ffffff"],{includeFallbackColors:!0,size:"small"}).toHexString();return i?(0,r.createElement)("div",{style:{backgroundColor:t,color:n,width:v}},d&&w,m&&(0,r.createElement)("div",{className:`${E}-title`},(0,r.createElement)(l.ExternalLink,{href:s,style:{color:a}},e)),h&&(0,r.createElement)("div",{className:`${E}-seller`},y),f&&(0,r.createElement)("div",{className:`${E}-list-price`},c),g&&(0,r.createElement)(l.Button,{href:s,icon:u.Z,isPrimary:!0,className:`${E}-button`,style:{color:_,backgroundColor:a,borderColor:a}},__("Shop Now","jetpack"))):null})():j)}))},33352:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{clipRule:"evenodd",d:"m13.958 10.09c0 1.232.029 2.256-.591 3.351-.502.891-1.301 1.438-2.186 1.438-1.214 0-1.922-.924-1.922-2.292 0-2.692 2.415-3.182 4.7-3.182v.685zm3.186 7.705c-.209.189-.512.201-.745.074-1.052-.872-1.238-1.276-1.814-2.106-1.734 1.767-2.962 2.297-5.209 2.297-2.66 0-4.731-1.641-4.731-4.925 0-2.565 1.391-4.309 3.37-5.164 1.715-.754 4.11-.891 5.942-1.095v-.41c0-.753.06-1.642-.383-2.294-.385-.579-1.124-.82-1.775-.82-1.205 0-2.277.618-2.54 1.897-.054.285-.261.567-.549.582l-3.061-.333c-.259-.056-.548-.266-.472-.66.704-3.716 4.06-4.838 7.066-4.838 1.537 0 3.547.41 4.758 1.574 1.538 1.436 1.392 3.352 1.392 5.438v4.923c0 1.481.616 2.13 1.192 2.929.204.287.247.63-.01.839-.647.541-1.794 1.537-2.423 2.099zm3.559 1.988c-2.748 1.472-5.735 2.181-8.453 2.181-4.027 0-7.927-1.393-11.081-3.706-.277002-.202-.481003.154-.251003.416 2.925003 3.326 6.786003 5.326 11.076003 5.326 3.061 0 6.614-1.214 9.066-3.494.406-.377.058-.945-.357-.723zm.67 2.216c-.091.227.104.32.31.147 1.339-1.12 1.685-3.466 1.411-3.804-.272-.336-2.612-.626-4.04.377-.22.154-.182.367.062.337.805-.096 2.595-.312 2.913.098.319.41-.355 2.094-.656 2.845z",fillRule:"evenodd"}))},6007:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},Xd:function(){return u}});var r=n(65736),a=n(78953),o=n(23609),i=n(33352),s=n(57535);const __=r.__,l="amazon",c=__("Amazon","jetpack"),u={attributes:a.Z,title:c,description:__("Promote Amazon products and earn a commission from sales.","jetpack"),icon:{src:i.Z,foreground:(0,s.m)()},category:"earn",keywords:[__("amazon","jetpack"),__("affiliate","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:o.Z,save:()=>null,example:{attributes:{}}}},22874:function(e,t,n){"use strict";n.d(t,{J:function(){return p},F:function(){return d}});var r=n(4981),a=n(9818),o=n(65736),i=n(57535),s=n(41362);const _x=o._x,__=o.__;function l(e){let{spotifyShowUrl:t,spotifyImageUrl:n}=e;return[["core/image",{url:n,linkDestination:"none",href:t,align:"center",width:165,height:40,className:"is-spotify-podcast-badge"}]]}function c(e){let{episodeTrack:t,feedUrl:n}=e;const{guid:r}=t;return[["jetpack/podcast-player",{customPrimaryColor:(0,i.m)(),hexPrimaryColor:(0,i.m)(),url:n,selectedEpisodes:r?[{guid:r}]:[],showCoverArt:!1,showEpisodeTitle:!1,showEpisodeDescription:!1}]]}function u(e){let{spotifyShowUrl:t,spotifyImageUrl:n,episodeTrack:o={},feedUrl:i}=e;const s=[...c({episodeTrack:o,feedUrl:i})];return t&&n&&s.push(...l({spotifyShowUrl:t,spotifyImageUrl:n})),s.push(...function(e){let{episodeTrack:t}=e;const n=[["core/heading",{level:3,content:_x("Summary","noun: summary of a podcast episode","jetpack"),placeholder:__("Podcast episode title","jetpack")}]],a=(0,r.pasteHandler)({HTML:t.description_html,mode:"BLOCKS"});return a.length?n.push(...a):n.push(["core/paragraph",{placeholder:__("Podcast episode summary","jetpack")}]),n}({episodeTrack:o})),s.push(...function(){const e="jetpack/conversation";return(0,a.select)("core/blocks").getBlockType(e)?[[e,{participants:[{slug:"participant-0",label:__("Speaker 1","jetpack")},{slug:"participant-1",label:__("Speaker 2","jetpack")},{slug:"participant-2",label:__("Speaker 3","jetpack")}]},[["core/heading",{level:3,content:__("Transcription","jetpack"),placeholder:__("Podcast episode transcription","jetpack")}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-0"}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-1"}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-2"}]]]]:[["core/heading",{level:3,content:__("Transcription","jetpack"),placeholder:__("Podcast episode transcription","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}]]}()),s}function p(e){return(0,s.Z)(u(e))}function d(e){if(e.spotifyImageUrl&&e.spotifyShowUrl)return(0,s.Z)([...l(e)])}},63533:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(55609),u=n(92819);const __=l.__,p="09:00",d="17:00";class m extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,{opening:r,closing:a}=e;return(0,o.createElement)(o.Fragment,{key:t},(0,o.createElement)("div",{className:"business-hours__row"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.TextControl,{type:"time",label:__("Opening","jetpack"),value:r,className:"business-hours__open",placeholder:p,onChange:e=>{this.setHour(e,"opening",t)}}),(0,o.createElement)(c.TextControl,{type:"time",label:__("Closing","jetpack"),value:a,className:"business-hours__close",placeholder:d,onChange:e=>{this.setHour(e,"closing",t)}})),(0,o.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,o.createElement)(c.Button,{isSmall:!0,isLink:!0,icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,o.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")}," "),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.Button,{isLink:!0,label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,o.createElement)("div",{className:"business-hours__remove"}," ")))})),a()(this,"setHour",((e,t,n)=>{const{day:r,attributes:a,setAttributes:o}=this.props,{days:i}=a;o({days:i.map((a=>a.name===r.name?{...a,hours:a.hours.map(((r,a)=>a===n?{...r,[t]:e}:r))}:a))})})),a()(this,"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:p,closing:d}]:[];return{...n,hours:t}}return n}))})})),a()(this,"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))})})),a()(this,"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,u.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,o.createElement)(c.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,o.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,o.createElement)("div",{className:s()(e.name,"business-hours__day")},this.renderDayToggle()),(0,o.createElement)("div",{className:s()(e.name,"closed","business-hours__hours")}," "),(0,o.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}t.Z=m},20920:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(69771),l=n(92819);const _x=i._x;class c extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,r=n.hours;return(0,o.createElement)("span",{key:t},(0,i.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),r.length>1+t&&(0,o.createElement)("span",null,", "))}))}formatTime(e){const{timeFormat:t}=this.props,[n,r]=e.split(":"),a=new Date;return!(!n||!r)&&(a.setHours(n),a.setMinutes(r),(0,s.date)(t,a))}render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,o.createElement)("div",{className:"jetpack-business-hours__item"},(0,o.createElement)("dt",{className:e.name},t.days[e.name]),(0,o.createElement)("dd",null,(0,l.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,o.createElement)("br",null)))}}t.Z=c},85932:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(27538),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(89105),p=n.n(u),d=n(65736),m=n(69771),h=n(52175),f=n(55609),g=n(63533),b=n(20920),v=n(8042);const __=d.__,k={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0};class y extends s.Component{constructor(){super(...arguments),i()(this,"state",{localization:k,hasFetched:!1})}componentDidMount(){this.apiFetch()}apiFetch(){this.setState({data:k},(()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{this.setState({localization:e,hasFetched:!0})}),(()=>{this.setState({localization:k,hasFetched:!0})}))}))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{days:r}=e,{localization:o,hasFetched:i}=this.state,{startOfWeek:l}=o,c=r.concat(r.slice(0,l)).slice(l);if(!i)return(0,s.createElement)(f.Placeholder,{icon:(0,s.createElement)(h.BlockIcon,{icon:v.qv}),label:__("Loading business hours","jetpack")});if(!n){const e=(0,m.__experimentalGetSettings)(),{formats:{time:n}}=e;return(0,s.createElement)("dl",{className:p()(t,"jetpack-business-hours")},c.map(((e,t)=>(0,s.createElement)(b.Z,{key:t,day:e,localization:o,timeFormat:n}))))}return(0,s.createElement)("div",{className:p()(t,"is-edit")},c.map(((e,t)=>(0,s.createElement)(g.Z,a()({key:t,day:e,localization:o},this.props)))))}}t.Z=y},8042:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},qv:function(){return p},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(85932),s=n(41632),l=n(57535);const __=a.__,_x=a._x,c=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],u="business-hours",p=(0,s.Z)((0,r.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),d={title:__("Business Hours","jetpack"),description:__("Display opening hours for your business.","jetpack"),icon:{src:p,foreground:(0,l.m)()},category:"grow",supports:{html:!0},keywords:[_x("opening hours","block search term","jetpack"),_x("closing time","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("working day","block search term","jetpack")],attributes:{days:{type:"array",default:c}},edit:e=>(0,r.createElement)(i.Z,e),save:()=>null,example:{attributes:{days:c}}}},83487:function(e,t,n){"use strict";var r=n(92819),a=n(55609);const o=(0,a.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:a}=t,o=(0,r.get)(n,"color"),i=!(0,r.get)(a,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:a||!i?void 0:getComputedStyle(i).color}}));t.Z=o},70443:function(e,t,n){"use strict";var r=n(68039);t.Z={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.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:r.Z},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},24429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(77012);const __=o.__;function s(e){let{borderRadius:t="",setAttributes:n}=e;const o=(0,r.useCallback)((e=>n({borderRadius:e})),[n]);return(0,r.createElement)(a.PanelBody,{title:__("Border Settings","jetpack")},(0,r.createElement)(a.RangeControl,{allowReset:!0,initialPosition:i.pg,label:__("Border radius","jetpack"),max:i.Gp,min:i.G0,onChange:o,value:t}))}},63020:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(65736);const __=o.__;function i(e){let{isGradientAvailable:t,backgroundColor:n,fallbackBackgroundColor:o,fallbackTextColor:i,gradientValue:s,setBackgroundColor:l,setGradient:c,setTextColor:u,textColor:p}=e;const d=(0,r.createElement)(a.ContrastChecker,{backgroundColor:n.color,fallbackBackgroundColor:o,fallbackTextColor:i,isLargeText:!1,textColor:p.color});return t?(0,r.createElement)(a.__experimentalPanelColorGradientSettings,{settings:[{colorValue:p.color,label:__("Text Color","jetpack"),onColorChange:u},{colorValue:n.color,gradientValue:s,label:__("Background","jetpack"),onColorChange:l,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,r.createElement)(a.PanelColorSettings,{colorSettings:[{value:p.color,onChange:u,label:__("Text Color","jetpack")},{value:n.color,onChange:l,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},80790:function(e,t,n){"use strict";n.d(t,{Z:function(){return p},h:function(){return d}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=[{value:"px",label:"px",default:150},{value:"%",label:"%",default:100},{value:"em",label:"em",default:10}],c=[{value:"px",label:"px",default:150},{value:"em",label:"em",default:10}],u=["25%","50%","75%","100%"];function p(e){return(0,r.createElement)(i.PanelBody,{title:__("Width settings","jetpack")},(0,r.createElement)(d,e))}function d(e){let{align:t,width:n,onChange:a}=e;const[s,p]=(0,r.useState)(null);(0,r.useEffect)((()=>{void 0===n&&p("px")}),[n]);const d="left"===t||"right"===t;return(0,r.createElement)(i.BaseControl,{label:__("Button width","jetpack")},(0,r.createElement)("div",{className:o()("jetpack-button__width-settings",{"is-aligned":d})},!d&&(0,r.createElement)(i.ButtonGroup,{"aria-label":__("Percentage Width","jetpack")},u.map((e=>(0,r.createElement)(i.Button,{key:e,isSmall:!0,isPrimary:e===n,onClick:()=>function(e){const t=n===e?void 0:e;p("%"),a(t)}(e)},e)))),(0,r.createElement)(i.__experimentalUnitControl,{className:"jetpack-button__custom-width",isResetValueOnUnitChange:!0,max:"%"===s||n?.includes("%")?100:void 0,min:0,onChange:e=>a(e),onUnitChange:e=>p(e),size:"small",units:d?c:l,value:n,unit:s})))}},77012:function(e,t,n){"use strict";n.d(t,{DA:function(){return a},pg:function(){return o},Gp:function(){return i},G0:function(){return s}});var r=n(52175);const a=!!r.__experimentalUseGradient,o=5,i=50,s=0},78593:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(24429),o=n(63020),i=n(80790);function s(e){let{attributes:t,backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,setAttributes:c,setBackgroundColor:u,setTextColor:p,textColor:d,gradientValue:m,setGradient:h,isGradientAvailable:f}=e;const{align:g,borderRadius:b,width:v}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,gradientValue:m,setBackgroundColor:u,setGradient:h,setTextColor:p,textColor:d,isGradientAvailable:f}),(0,r.createElement)(a.Z,{borderRadius:b,setAttributes:c}),(0,r.createElement)(i.Z,{align:g,width:v,onChange:e=>c({width:e})}))}},16867:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(52175),c=n(94333),u=n(65736),p=n(83487),d=n(78593),m=n(77012),h=n(31123);const __=u.__;t.Z=(0,c.compose)((0,l.withColors)({backgroundColor:"background-color"},{textColor:"color"}),p.Z)((function(e){const{attributes:t,backgroundColor:n,className:r,clientId:i,setAttributes:c,textColor:u}=e,{align:p,borderRadius:f,element:g,placeholder:b,text:v,width:k}=t,y=(e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current})(p);(0,h.Z)({attributes:t,clientId:i,setAttributes:c}),(0,o.useEffect)((()=>{y!==p&&("left"===p||"right"===p)&&k?.includes("%")&&c({width:void 0})}),[p,y,c,k]);const{gradientClass:E,gradientValue:w,setGradient:_}=m.DA?(0,l.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},C=s()("wp-block-button",r),j=s()("wp-block-button__link",{"has-background":n.color||w,[n.class]:!w&&n.class,"has-text-color":u.color,[u.class]:u.class,[E]:E,"no-border-radius":0===f,"has-custom-width":!!k}),S={...!n.color&&w?{background:w}:{backgroundColor:n.color},color:u.color,borderRadius:f?f+"px":void 0,width:k};return(0,o.createElement)("div",{className:C},(0,o.createElement)(l.RichText,{allowedFormats:"input"===g?[]:void 0,className:j,disableLineBreaks:"input"===g,onChange:e=>{const t="input"===g?e.replace(/<br>/gim," "):e;c({text:t})},placeholder:b||__("Add text…","jetpack"),style:S,value:v,withoutInteractiveFormatting:!0}),(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(d.Z,a()({gradientValue:w,setGradient:_,isGradientAvailable:m.DA},e))))}))},51245:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(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"}))},32278:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(65736),a=n(70443),o=n(16867),i=n(51245),s=n(41328),l=n(20510);const __=r.__,c="button",u={title:__("Button","jetpack"),icon:i.Z,category:(0,l.Z)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"]},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:a.Z,edit:o.Z,save:s.Z}},41328:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(77012);function l(e){let{attributes:t,blockName:n,uniqueId:a}=e;const{backgroundColor:l,borderRadius:c,className:u,customBackgroundColor:p,customGradient:d,customTextColor:m,gradient:h,saveInPostContent:f,text:g,textColor:b,url:v,width:k}=t;if(!f)return null;const y=(0,i.getColorClassName)("background-color",l),E=s.DA?(0,i.__experimentalGetGradientClass)(h):void 0,w=(0,i.getColorClassName)("color",b),_=o()("wp-block-button","jetpack-submit-button",u,{[`wp-block-jetpack-${n}`]:n}),C=o()("wp-block-button__link",{"has-text-color":b||m,[w]:w,"has-background":l||h||p||d,[y]:y,[E]:E,"no-border-radius":0===c,"has-custom-width":!!k}),j={background:d||void 0,backgroundColor:y||d||h?void 0:p,color:w?void 0:m,borderRadius:c?c+"px":void 0,width:k};return(0,r.createElement)("div",{className:_},(0,r.createElement)(i.RichText.Content,{className:C,"data-id-attr":a||"placeholder",href:v,id:a,rel:"noopener noreferrer",role:"button",style:j,tagName:"a",target:"_blank",value:g}))}},31123:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(9818),o=n(69307);function i(e){let{attributes:t,clientId:n,setAttributes:i}=e;const{passthroughAttributes:s}=t,{attributesToSync:l}=(0,a.useSelect)((e=>{const{getBlockAttributes:a,getBlockRootClientId:o}=e("core/block-editor"),i=a(o(n))||{},l=(0,r.mapValues)(s,(e=>i[e]));return{attributesToSync:(0,r.pickBy)(l,((e,n)=>e!==t[n]))}}));(0,o.useEffect)((()=>{(0,r.isEmpty)(l)||i(l)}),[l,i])}},35932:function(e,t,n){"use strict";var r=n(68039);t.Z={backgroundColor:{type:"string",default:"ffffff",validator:r.Z},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:r.Z},textColor:{type:"string",default:"4D5055",validator:r.Z},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")}}},16485:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(72566);const __=i.__,_x=i._x,l=e=>{let{onEditClick:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{onClick:()=>t(!0)},__("Edit","jetpack")))},c=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:a,embedCode:i,parseEmbedCode:s,setAttributes:l,setEmbedCode:c}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:s,className:`${a}-embed-form-sidebar`},(0,r.createElement)("input",{type:"text",id:"embedCode",onChange:e=>c(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,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)(o.ToggleControl,{label:__("Hide event type details","jetpack"),checked:t,onChange:()=>l({hideEventTypeDetails:!t})})),n&&(0,r.createElement)(o.Notice,{className:`${a}-color-notice`,isDismissible:!1},(0,r.createElement)(o.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},__("Follow these instructions to change the colors in this block.","jetpack"))))};t.ZP=e=>{const{attributes:t,clientId:n,isEditingUrl:o,setAttributes:i,setIsEditingUrl:u}=e,{style:p,url:d}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,r.createElement)(r.Fragment,null,d&&!o&&(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(l,{onEditClick:u})),d&&(0,r.createElement)(s.Z,{clientId:n,styleOptions:m,onSelectStyle:i,activeStyle:p,attributes:t,viewportWidth:500}),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(c,e)))}},77017:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(68039);const __=o.__;t.Z={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:i.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:i.Z},textColor:{type:"string",default:"4D5055",validator:i.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:i.Z},customTextButtonColor:{type:"string",validator:i.Z}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:r,submitButtonClasses:o,backgroundButtonColor:i,textButtonColor:s,customBackgroundButtonColor:l,customTextButtonColor:c,...u}=e,p={text:(d=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:d.submitButtonTextColor||d.textButtonColor,customTextColor:d.customTextButtonColor,backgroundColor:d.submitButtonBackgroundColor||d.backgroundButtonColor,customBackgroundColor:d.customBackgroundButtonColor,url:d.url};var d;return[u,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...p})]]},save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)}}},96537:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=(n(86841),n(92819)),s=n(5157),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(9818),m=n(59040),h=n(35932),f=n(14087),g=n(79042),b=n(79884),v=n(87072),k=n(16485);const __=u.__,_x=u._x;t.Z=(0,c.withNotices)((function(e){const{attributes:t,className:n,clientId:r,name:u,noticeOperations:y,noticeUI:E,setAttributes:w}=e,_=(0,p.getBlockDefaultClassName)(u),C=(0,f.S)(h.Z,t);(0,i.isEqual)(C,t)||w(C);const{backgroundColor:j,hideEventTypeDetails:S,primaryColor:x,textColor:T,style:P,url:N}=C,[A,I]=(0,o.useState)(N),[B,M]=(0,o.useState)(!1),[R,L]=(0,o.useState)(!1),[Z,F]=(0,o.useState)({}),D=()=>{y.removeAllNotices(),y.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,o.useEffect)((()=>{N&&b.lR!==N&&"link"!==P&&(0,v.Z)(N,L).catch((()=>{w({url:void 0}),D()}))}),[]);const O=e=>{if(!e)return void D();e.preventDefault();const t=(0,g.CC)(A);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,d.select)("core/editor").getBlocksByClientId(r);e.length&&e[0].innerBlocks.forEach((e=>{(0,d.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),F(t.buttonAttributes)}(0,v.Z)(t.url,L).then((()=>{const e=(0,f.S)(h.Z,t);w(e),M(!1),y.removeAllNotices()})).catch((()=>{w({url:void 0}),D()}))}else D()},z=(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(c.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack"))),U=(0,o.createElement)(c.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:(0,o.createElement)(l.BlockIcon,{icon:m.Z}),notices:E},(0,o.createElement)("form",{onSubmit:O},(0,o.createElement)("input",{type:"text",id:"embedCode",onChange:e=>I(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:A||"",className:"components-placeholder__input"}),(0,o.createElement)("div",null,(0,o.createElement)(c.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,o.createElement)("div",{className:`${_}-learn-more`},(0,o.createElement)(c.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),$=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:`${_}-overlay`}),(0,o.createElement)("iframe",{src:(()=>{const e=s.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:S?1:0,background_color:j,primary_color:x,text_color:T});return`${N}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),V=(0,o.createElement)(l.InnerBlocks,{template:[[b.Ss.name,{...b.Ss.attributes,...Z,passthroughAttributes:{url:"url"}}]],templateLock:"all"});if(R)return z;let G=n;return N&&!B&&(G+=` calendly-style-${P}`),(0,o.createElement)("div",{className:G},(0,o.createElement)(k.ZP,a()({},e,{defaultClassName:_,embedCode:A,isEditingUrl:B,parseEmbedCode:O,setEmbedCode:I,setIsEditingUrl:M})),N&&!B?"inline"===P?$:V:U)}))},59040:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19,1h-2.3v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H8.6v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H4C1.8,1,0,2.8,0,5 v15c0,2.2,1.8,4,4,4h15c2.2,0,4-1.8,4-4V5C23,2.8,21.2,1,19,1z M21,20c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V5c0-1.1,0.9-2,2-2h2.6 v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3h6.1v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3H19c1.1,0,2,0.9,2,2V20z M13.9,14.8l1.4,1.4 c-0.9,0.9-2.1,1.3-3.5,1.3c-2.4,0-4.5-2.1-4.5-4.7s2.1-4.7,4.5-4.7c1.4,0,2.5,0.4,3.4,1.1L14,10.9c-0.5-0.4-1.2-0.6-2.1-0.6 c-1.2,0-2.5,1.1-2.5,2.7c0,1.6,1.3,2.7,2.5,2.7C12.7,15.5,13.4,15.3,13.9,14.8z"}))},79884:function(e,t,n){"use strict";n.d(t,{lR:function(){return d},Ss:function(){return m},u2:function(){return h},Xd:function(){return f}});var r=n(65736),a=n(4981),o=n(35932),i=n(77017),s=n(96537),l=n(59040),c=n(56610),u=n(79042),p=n(57535);const __=r.__,_x=r._x,d="https://calendly.com/wpcom/jetpack-block-example",m={name:"jetpack/button",attributes:{element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:d}},h="calendly",f={title:__("Calendly","jetpack"),description:__("Embed a calendar for customers to schedule appointments","jetpack"),icon:{src:l.Z,foreground:(0,p.m)()},category:"grow",keywords:[_x("calendar","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack"),_x("events","block search term","jetpack"),_x("dates","block search term","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:s.Z,save:c.Z,attributes:o.Z,example:{attributes:{hideEventTypeDetails:!1,style:"inline",url:d},innerBlocks:[m]},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&u.mL.test(e.textContent),transform:e=>{const t=(0,u.CC)(e.textContent);return(0,a.createBlock)("jetpack/calendly",t)}}]},deprecated:[i.Z]}},56610:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null))}},79042:function(e,t,n){"use strict";n.d(t,{mL:function(){return r},CC:function(){return 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"),o=r.get("primary_color"),i=r.get("text_color"),s=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(s)&&(t.backgroundColor=a),o&&o.match(s)&&(t.primaryColor=o),i&&i.match(s)&&(t.textColor=i),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}},89534:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Message Sent","jetpack")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0}}},60689:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "<error />".',"jetpack"),{error:(0,r.createElement)("span",null,t)}))}},81316:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(60689);const __=s.__,c=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:s,crmData:c,setCRMData:u}=e;const p=((e,t,n,r)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},n);t.jp_form_ext_enabled=!0,r(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(n,s,c,u);return t?(0,r.createElement)(i.Spinner,null):a?(0,r.createElement)(l.Z,{error:a}):(0,r.createElement)(i.Button,{isSecondary:!0,onClick:p},__("Enable Jetpack Forms Extension","jetpack"))},u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack"));t.Z=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s}=e;return i.can_activate_extension?(0,r.createElement)("div",null,(0,r.createElement)(p,null),(0,r.createElement)("br",null),(0,r.createElement)(c,{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s})):(0,r.createElement)(u,null)}},36080:function(e,t,n){"use strict";var r=n(69307),a=n(53377),o=n.n(a),i=n(55609),s=n(65736),l=n(81316);const __=s.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM is installed but has an invalid version.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Zero BS CRM plugin is now Jetpack CRM. Update to the latest version to integrate your contact form with your CRM.","jetpack")),d=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},(0,r.createInterpolateElement)(__("You can save contacts from Jetpack contact forms in Jetpack CRM. Learn more at <a>jetpackcrm.com</a>","jetpack"),{a:(0,r.createElement)(i.ExternalLink,{href:"https://jetpackcrm.com"})})),m=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You already have the Jetpack CRM plugin installed, but it's not activated. Activate the Jetpack CRM plugin to save contacts from this contact form in your Jetpack CRM.","jetpack")),h=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:s}=e;const[c,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)(!1);return t.jp_form_ext_enabled?o().satisfies(o().coerce(t.crm_version),"3.0.19 - 4.0.0")?(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack")):(0,r.createElement)(i.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack"),checked:a,onChange:e=>s({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack")}):(0,r.createElement)(l.Z,{isActivatingExt:c,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:n})};t.Z=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}=e;const s=o().coerce(t.crm_version);if(t.crm_installed&&!s)return(0,r.createElement)(u,null);if(t.crm_installed&&o().lt(s,"3.0.19"))return(0,r.createElement)(p,null);let l=c.NOT_INSTALLED;return t.crm_active?l=c.ACTIVE:t.crm_installed&&(l=c.INSTALLED),(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===l&&(0,r.createElement)(h,{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}),c.INSTALLED===l&&(0,r.createElement)(m,null),c.NOT_INSTALLED===l&&(0,r.createElement)(d,null))}},6361:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(36080);const __=s.__,c=e=>{let{isFetchingCRMData:t,hasCRMDataError:n,crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c}=e;return t?(0,r.createElement)(i.Spinner,null):n?null:(0,r.createElement)(l.Z,{crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c})};t.Z=e=>{let{jetpackCRM:t,setAttributes:n}=e;const[a,s]=(0,r.useState)(!0),[l,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)();return(0,r.useEffect)((()=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((e=>{if(e.error)throw e.message;u(!1),d(e)})).catch((()=>u(!0))).finally((()=>s(!1)))}),[]),(0,r.createElement)(i.PanelBody,{title:__("CRM Integration","jetpack"),initialOpen:!1},(0,r.createElement)(i.BaseControl,null,(0,r.createElement)(c,{isFetchingCRMData:a,hasCRMDataError:l,crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:n})))}},69802:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(80500),c=n(8523);const __=a.__;t.Z=(0,s.withInstanceId)((function(e){const{id:t,instanceId:n,required:a,label:s,setAttributes:u,width:p,defaultValue:d}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-checkbox-${n}`,className:"jetpack-field jetpack-field-checkbox",label:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:d}),(0,r.createElement)(l.Z,{required:a,label:s,setAttributes:u}),(0,r.createElement)(c.Z,{id:t,required:a,width:p,setAttributes:u}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Checkbox Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Checked by default","jetpack"),checked:d,onChange:e=>u({defaultValue:e?"true":""})}))))})}))},57324:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(80500),c=n(84803),u=n(10745);const __=a.__;t.Z=(0,s.withInstanceId)((e=>{var t;let{id:n,instanceId:s,width:p,consentType:d,implicitConsentMessage:m,explicitConsentMessage:h,setAttributes:f}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-consent-${s}`,className:"jetpack-field jetpack-field-consent",label:(0,r.createElement)(r.Fragment,null,"explicit"===d&&(0,r.createElement)("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),(0,r.createElement)(l.Z,{required:!1,label:null!==(t={implicit:m,explicit:h}[d])&&void 0!==t?t:"",setAttributes:f,labelFieldName:`${d}ConsentMessage`,placeholder:(0,a.sprintf)(
+!function(){var e,t,n,r,a,o,i={18294:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},82402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},90054:function(e,t,n){"use strict";var r=n(94605),a=n(71253),o=n(52875),i=n(17227),s=n(70173),l=n(24912),c=function(e,t,n){for(var r=0,o=0;r=o,o=(0,a.fj)(),38===r&&12===o&&(t[n]=1),!(0,a.r)(o);)(0,a.lp)();return(0,a.tP)(e,a.FK)},u=function(e,t){return(0,a.cE)(function(e,t){var n=-1,r=44;do{switch((0,a.r)(r)){case 0:38===r&&12===(0,a.fj)()&&(t[n]=1),e[n]+=c(a.FK-1,t,n);break;case 2:e[n]+=(0,a.iF)(r);break;case 4:if(44===r){e[++n]=58===(0,a.fj)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,o.Dp)(r)}}while(r=(0,a.lp)());return e}((0,a.un)(e),t))},p=new WeakMap,d=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||p.get(n))&&!r){p.set(e,!0);for(var a=[],o=u(t,a),i=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=a[s]?o[s].replace(/&\f/g,i[c]):i[c]+" "+o[s]}}},m=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},h=[i.Ji];t.Z=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||h;var o,c,u={},p=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)u[t[n]]=!0;p.push(e)}));var f=[d,m];var g,b=[s.P,(0,i.cD)((function(e){g.insert(e)}))],v=(0,i.qR)(f.concat(a,b));c=function(e,t,n,r){g=n,function(e){(0,s.q)((0,l.MY)(e),v)}(e?e+"{"+t.styles+"}":t.styles),r&&(k.inserted[t.name]=!0)};var k={key:t,sheet:new r.m({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:u,registered:{},insert:c};return k.sheet.hydrate(p),k}},81109:function(e,t){"use strict";t.Z=function(e){for(var t,n=0,r=0,a=e.length;a>=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}},58101:function(e,t){"use strict";t.Z=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},13788:function(e,t,n){"use strict";n.d(t,{E:function(){return f},c:function(){return m},h:function(){return s}});var r=n(99196),a=n(90054),o=n(10431),i=n(90359),s={}.hasOwnProperty,l=(0,r.createContext)("undefined"!=typeof HTMLElement?(0,a.Z)({key:"css"}):null);l.Provider;var c=function(e){return(0,r.forwardRef)((function(t,n){var a=(0,r.useContext)(l);return e(t,a,n)}))},u=(0,r.createContext)({});var p=r.useInsertionEffect?r.useInsertionEffect:function(e){e()};var d="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[d]=e,n},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;(0,o.hC)(t,n,r);p((function(){return(0,o.My)(t,n,r)}));return null},f=c((function(e,t,n){var a=e.css;"string"==typeof a&&void 0!==t.registered[a]&&(a=t.registered[a]);var l=e[d],c=[a],p="";"string"==typeof e.className?p=(0,o.fp)(t.registered,c,e.className):null!=e.className&&(p=e.className+" ");var m=(0,i.O)(c,void 0,(0,r.useContext)(u));p+=t.key+"-"+m.name;var f={};for(var g in e)s.call(e,g)&&"css"!==g&&g!==d&&(f[g]=e[g]);return f.ref=n,f.className=p,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h,{cache:t,serialized:m,isStringTag:"string"==typeof l}),(0,r.createElement)(l,f))}))},94362:function(e,t,n){"use strict";n.d(t,{BX:function(){return i},tZ:function(){return o}});n(99196),n(90054);var r=n(13788),a=(n(57692),n(90359),n(30275));a.Fragment;function o(e,t,n){return r.h.call(t,"css")?(0,a.jsx)(r.E,(0,r.c)(e,t),n):(0,a.jsx)(e,t,n)}function i(e,t,n){return r.h.call(t,"css")?(0,a.jsxs)(r.E,(0,r.c)(e,t),n):(0,a.jsxs)(e,t,n)}},90359:function(e,t,n){"use strict";n.d(t,{O:function(){return f}});var r=n(81109),a=n(40891),o=n(58101),i=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===a.Z[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return m={name:n.name,styles:n.styles,next:m},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)m={name:r.name,styles:r.styles,next:m},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=d(e,t,n[a])+";";else for(var o in n){var i=n[o];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=o+"{"+t[i]+"}":c(i)&&(r+=u(o)+":"+p(o,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=d(e,t,i);switch(o){case"animation":case"animationName":r+=u(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var l=0;l<i.length;l++)c(i[l])&&(r+=u(o)+":"+p(o,i[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=m,o=n(e);return m=a,d(e,t,o)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var m,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var f=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,o="";m=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,o+=d(n,t,i)):o+=i[0];for(var s=1;s<e.length;s++)o+=d(n,t,e[s]),a&&(o+=i[s]);h.lastIndex=0;for(var l,c="";null!==(l=h.exec(o));)c+="-"+l[1];return{name:(0,r.Z)(o)+c,styles:o,next:m}}},94605:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},40891:function(e,t){"use strict";t.Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},10431:function(e,t,n){"use strict";n.d(t,{My:function(){return o},fp:function(){return r},hC:function(){return a}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var a=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){a(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0);o=o.next}while(void 0!==o)}}},61074:function(e,t,n){"use strict";var r=n(69307);t.Z=function(e){let{icon:t,size:n=24,...a}=e;return(0,r.cloneElement)(t,{width:n,height:n,...a})}},58829:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(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 12.8h8v-1.5H8v1.5z"}));t.Z=o},79201:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));t.Z=o},64967:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},15381:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.Z=o},1078:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(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"}));t.Z=o},20843:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.Z=o},77840:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.Z=o},48381:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(a.Path,{d:"M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z"}));t.Z=o},47659:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},30797:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(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"}));t.Z=o},73320:function(e,t){var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)a(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function a(e,a){if(a){var o=typeof a;"string"===o?function(e,t){for(var n=t.split(r),a=n.length,o=0;o<a;++o)e[n[o]]=!0}(e,a):Array.isArray(a)?t(e,a):"object"===o?function(e,t){if(t.toString===Object.prototype.toString)for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,a):"number"===o&&function(e,t){e[t]=!0}(e,a)}}return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=new e;t(o,r);var i=[];for(var s in o)o[s]&&i.push(s);return i.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},65235:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},94273:function(e){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,a,o,i=-1;for(t=0,a=e.length;t<a;t+=1){for(o=255&(i^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;i=i>>>8^o}return-1^i}function a(e,n){var r,o,i;if(void 0!==a.crc&&n&&e||(a.crc=-1,e)){for(r=a.crc,o=0,i=e.length;o<i;o+=1)r=r>>>8^t[255&(r^e[o])];return a.crc=r,-1^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}()},22424:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var a=o(n[0]);a!==n[0]&&(t[n[0]]=a)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var l=i[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},92384:function(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:function(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 o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,a,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var a,o,i,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),i=o[t]),void 0===i)i=o[t]=n,++e._eventsCount;else if("function"==typeof i?i=o[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(a=l(e))>0&&i.length>a&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}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 p(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 d(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;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):h(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function f(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function a(o){r.once&&e.removeEventListener(t,a),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var a="error"===e,o=this._events;if(void 0!==o)a=a&&void 0===o.error;else if(!a)return!1;if(a){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,a,o,i;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){i=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(a=o[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.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"]},r={floor:Math.floor,ceil:Math.ceil};function a(a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,S,j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},x=[],P=0;if(isNaN(a))throw new TypeError("Invalid number");if(s=!0===j.bits,k=!0===j.unix,g=!0===j.pad,i=j.base||10,b=void 0!==j.round?j.round:k?1:2,p=void 0!==j.locale?j.locale:"",d=j.localeOptions||{},y=void 0!==j.separator?j.separator:"",E=void 0!==j.spacer?j.spacer:k?"":" ",_=j.symbols||{},w=2===i?j.standard||"iec":"jedec",f=j.output||"string",c=!0===j.fullform,u=j.fullforms instanceof Array?j.fullforms:[],o=void 0!==j.exponent?j.exponent:-1,C=r[j.roundingMethod]||Math.round,m=(h=Number(a))<0,l=i>2?1e3:1024,S=!1===isNaN(j.precision)?parseInt(j.precision,10):0,m&&(h=-h),(-1===o||isNaN(o))&&(o=Math.floor(Math.log(h)/Math.log(l)))<0&&(o=0),o>8&&(S>0&&(S+=8-o),o=8),"exponent"===f)return o;if(0===h)x[0]=0,v=x[1]=k?"":t[w][s?"bits":"bytes"][o];else{P=h/(2===i?Math.pow(2,10*o):Math.pow(1e3,o)),s&&(P*=8)>=l&&o<8&&(P/=l,o++);var T=Math.pow(10,o>0?b:0);x[0]=C(P*T)/T,x[0]===l&&o<8&&void 0===j.exponent&&(x[0]=1,o++),v=x[1]=10===i&&1===o?s?"kbit":"kB":t[w][s?"bits":"bytes"][o],k&&(x[1]=x[1].charAt(0),e.test(x[1])&&(x[0]=Math.floor(x[0]),x[1]=""))}if(m&&(x[0]=-x[0]),S>0&&(x[0]=x[0].toPrecision(S)),x[1]=_[x[1]]||x[1],!0===p?x[0]=x[0].toLocaleString():p.length>0?x[0]=x[0].toLocaleString(p,d):y.length>0&&(x[0]=x[0].toString().replace(".",y)),g&&!1===Number.isInteger(x[0])&&b>0){var N=y||".",A=x[0].toString().split(N),I=A[1]||"",B=I.length,M=b-B;x[0]="".concat(A[0]).concat(N).concat(I.padEnd(B+M,"0"))}return c&&(x[1]=u[o]?u[o]:n[w][o]+(s?"bit":"byte")+(1===x[0]?"":"s")),"array"===f?x:"object"===f?{value:x[0],symbol:x[1],exponent:o,unit:v}:x.join(E)}return a.partial=function(e){return function(t){return a(t,e)}},a}()},68017:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o<r.length;o++){var i=r[o],s=e[i];(a?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},57692:function(e,t,n){"use strict";var r=n(93801),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=m(n);a&&a!==h&&e(t,a,r)}var i=u(n);p&&(i=i.concat(p(n)));for(var s=l(t),f=l(n),g=0;g<i.length;++g){var b=i[g];if(!(o[b]||r&&r[b]||f&&f[b]||s&&s[b])){var v=d(n,b);try{c(t,b,v)}catch(e){}}}}return t}},84097: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,o=(r=r||{}).Base64,i="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),c=String.fromCharCode,u=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},p=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(p,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[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},h=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)},f=function(e){return h(d(String(e)))},g=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},b=function(e,t){return t?g(f(e)):f(e)},v=function(e){return b(e,!0)};r.Uint8Array&&(a=function(e,t){for(var n="",r=0,a=e.length;r<a;r+=3){var o=e[r],i=e[r+1],l=e[r+2],c=o<<16|i<<8|l;n+=s.charAt(c>>>18)+s.charAt(c>>>12&63)+(void 0!==i?s.charAt(c>>>6&63):"=")+(void 0!==l?s.charAt(63&c):"=")}return t?g(n):n});var k,y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=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 c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(y,E)},_=function(e){var t=e.length,n=t%4,r=(t>0?l[e.charAt(0)]<<18:0)|(t>1?l[e.charAt(1)]<<12:0)|(t>2?l[e.charAt(2)]<<6:0)|(t>3?l[e.charAt(3)]:0),a=[c(r>>>16),c(r>>>8&255),c(255&r)];return a.length-=[0,0,2,1][n],a.join("")},C=r.atob&&"function"==typeof r.atob?function(e){return r.atob(e)}:function(e){return e.replace(/\S{1,4}/g,_)},S=function(e){return C(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},j=function(e){return w(C(e))},x=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},P=function(e){return j(x(e))};r.Uint8Array&&(k=function(e){return Uint8Array.from(S(x(e)),(function(e){return e.charCodeAt(0)}))});var T=function(){var e=r.Base64;return r.Base64=o,e};if(r.Base64={VERSION:i,atob:S,btoa:h,fromBase64:P,toBase64:b,utob:d,encode:b,encodeURI:v,btou:w,decode:P,noConflict:T,fromUint8Array:a,toUint8Array:k},"function"==typeof Object.defineProperty){var N=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N((function(){return P(this)}))),Object.defineProperty(String.prototype,"toBase64",N((function(e){return b(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",N((function(){return b(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)},62232:function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(95843)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?o(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,o,i,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(a=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},95843:function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(44957).source,t.src_Cc=n(19590).source,t.src_Z=n(59939).source,t.src_P=n(95162).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},82746:function(e,t,n){"use strict";const r=n(17811),a=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),h=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[s])return}else n&&(e[m]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},b=e=>{if(e[o]>e[a])for(let t=e[p].tail;e[o]>e[a]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[p].removeNode(t)}};class k{constructor(e,t,n,r,a){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=a||0}}const y=(e,t,n,r)=>{let a=n.value;g(e,a)&&(v(e,n),e[s]||(a=void 0)),a&&t.call(r,a.value,a.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[a]=e.max||1/0;const t=e.length||h;if(this[i]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,b(this)}get max(){return this[a]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,b(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[i]&&(this[i]=e,this[o]=0,this[p].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),b(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[p].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new r,this[o]=0}dump(){return this[p].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[i](t,e);if(this[d].has(e)){if(s>this[a])return v(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=r,i.maxAge=n,i.value=t,this[o]+=s-i.length,i.length=s,this.get(e),b(this),!0}const m=new k(e,t,s,r,n);return m.length>this[a]?(this[c]&&this[c](e,t),!1):(this[o]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),b(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],a=r.e||0;if(0===a)this.set(r.k,r.v);else{const e=a-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},10185:function(e,t,n){"use strict";e.exports=n(9702)},38337:function(e,t,n){"use strict";e.exports=n(84321)},43093:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},36570:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=a},39615:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(38337);var p=/[&<>"]/,d=/[&<>"]/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return m[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var g=n(95162);t.lib={},t.lib.mdurl=n(49236),t.lib.ucmicro=n(84353),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},57007:function(e,t,n){"use strict";t.parseLinkLabel=n(82174),t.parseLinkDestination=n(36990),t.parseLinkTitle=n(15336)},36990:function(e,t,n){"use strict";var r=n(39615).unescapeAll;e.exports=function(e,t,n){var a,o,i=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t)))return s;if(60===a)return s;if(62===a)return s.pos=t+1,s.str=r(e.slice(i+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===a&&++o>32)return s;if(41===a){if(0===o)break;o--}t++}return i===t||0!==o||(s.str=r(e.slice(i,t)),s.lines=0,s.pos=t,s.ok=!0),s}},82174:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)r++;else if(n)return e.pos=c,-1}return a&&(s=e.pos),e.pos=c,s}},15336:function(e,t,n){"use strict";var r=n(39615).unescapeAll;e.exports=function(e,t,n){var a,o,i=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((a=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=i,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===a&&41===o)return l;10===a?i++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&i++),t++}return l}},9702:function(e,t,n){"use strict";var r=n(39615),a=n(57007),o=n(42403),i=n(17742),s=n(99575),l=n(37487),c=n(62232),u=n(49236),p=n(60300),d={default:n(66223),zero:n(11582),commonmark:n(9372)},m=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!m.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function k(e,t){if(!(this instanceof k))return new k(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new i,this.renderer=new o,this.linkify=new c,this.validateLink=f,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}k.prototype.set=function(e){return r.assign(this.options,e),this},k.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},k.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},k.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},k.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},k.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},k.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},k.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},k.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=k},99575:function(e,t,n){"use strict";var r=n(81377),a=[["table",n(12592),["paragraph","reference"]],["code",n(99334)],["fence",n(79783),["paragraph","reference","blockquote","list"]],["blockquote",n(36901),["paragraph","reference","blockquote","list"]],["hr",n(68837),["paragraph","reference","blockquote","list"]],["list",n(46388),["paragraph","reference","blockquote"]],["reference",n(33765)],["html_block",n(33869),["paragraph","reference","blockquote"]],["heading",n(21127),["paragraph","reference","blockquote"]],["lheading",n(5393)],["paragraph",n(24934)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),o=a.length,i=t,s=!1,l=e.md.options.maxNesting;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!a[r](e,i,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<n&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},o.prototype.State=n(75355),e.exports=o},17742:function(e,t,n){"use strict";var r=n(81377),a=[["normalize",n(13837)],["block",n(30884)],["inline",n(25334)],["linkify",n(64756)],["replacements",n(60555)],["smartquotes",n(28867)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(30727),e.exports=o},37487:function(e,t,n){"use strict";var r=n(81377),a=[["text",n(10937)],["newline",n(62378)],["escape",n(8329)],["backticks",n(7912)],["strikethrough",n(54988).w],["emphasis",n(56141).w],["link",n(95028)],["image",n(92560)],["autolink",n(73273)],["html_inline",n(9955)],["entity",n(54408)]],o=[["balance_pairs",n(76399)],["strikethrough",n(54988).g],["emphasis",n(56141).g],["text_collapse",n(52406)]];function i(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}i.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),o=a.length,i=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<i)for(n=0;n<o&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},i.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,n,r){var a,o,i,s=new this.State(e,t,n,r);for(this.tokenize(s),i=(o=this.ruler2.getRules("")).length,a=0;a<i;a++)o[a](s)},i.prototype.State=n(25240),e.exports=i},9372:function(e){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},66223:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},11582:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},42403:function(e,t,n){"use strict";var r=n(39615).assign,a=n(39615).unescapeAll,o=n(39615).escapeHtml,i={};function s(){this.rules=r({},i)}i.code_inline=function(e,t,n,r,a){var i=e[t];return"<code"+a.renderAttrs(i)+">"+o(e[t].content)+"</code>"},i.code_block=function(e,t,n,r,a){var i=e[t];return"<pre"+a.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,n,r,i){var s,l,c,u,p,d=e[t],m=d.info?a(d.info).trim():"",h="",f="";return m&&(h=(c=m.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,h,f)||o(d.content)).indexOf("<pre")?s+"\n":m?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),p={attrs:u},"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},i.image=function(e,t,n,r,a){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=a.renderInlineAsText(o.children,n,r),a.renderToken(e,t,n)},i.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return o(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,a="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===i.nesting?"</":"<")+i.tag,a+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(a+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===i.tag)&&(o=!1)),a+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,a="",o=this.rules,i=0,s=e.length;i<s;i++)void 0!==o[r=e[i].type]?a+=o[r](e,i,t,n,this):a+=this.renderToken(e,i,t);return a},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,o=e.length;a<o;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type?r+=this.renderInlineAsText(e[a].children,t,n):"softbreak"===e[a].type&&(r+="\n");return r},s.prototype.render=function(e,t,n){var r,a,o,i="",s=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(o=e[r].type)?i+=this.renderInline(e[r].children,t,n):void 0!==s[o]?i+=s[e[r].type](e,r,t,n,this):i+=this.renderToken(e,r,t,n);return i},e.exports=s},81377:function(e){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},36901:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,S=e.lineMax,j=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(j++))return!1;if(a)return!0;for(l=m=e.sCount[t]+1,32===e.src.charCodeAt(j)?(j++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(j)?(y=!0,(e.bsCount[t]+m)%4==3?(j++,l++,m++,o=!1):o=!0):y=!1,h=[e.bMarks[t]],e.bMarks[t]=j;j<x&&(i=e.src.charCodeAt(j),r(i));)9===i?m+=4-(m+e.bsCount[t]+(o?1:0))%4:m++,j++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=j>=x,v=[e.sCount[t]],e.sCount[t]=m-l,k=[e.tShift[t]],e.tShift[t]=j-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(C=e.sCount[d]<e.blkIndent,!((j=e.bMarks[d]+e.tShift[d])>=(x=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(j++)||C){if(u)break;for(E=!1,s=0,c=w.length;s<c;s++)if(w[s](e,d,n,!0)){E=!0;break}if(E){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(l=m=e.sCount[d]+1,32===e.src.charCodeAt(j)?(j++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(j)?(y=!0,(e.bsCount[d]+m)%4==3?(j++,l++,m++,o=!1):o=!0):y=!1,h.push(e.bMarks[d]),e.bMarks[d]=j;j<x&&(i=e.src.charCodeAt(j),r(i));)9===i?m+=4-(m+e.bsCount[d]+(o?1:0))%4:m++,j++;u=j>=x,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=m-l,k.push(e.tShift[d]),e.tShift[d]=j-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=p=[t,0],e.md.block.tokenize(e,t,d),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=S,e.parentType=b,p[1]=e.line,s=0;s<k.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=k[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=f[s];return e.blkIndent=g,!0}},99334:function(e){"use strict";e.exports=function(e,t,n){var r,a,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(o=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}},79783:function(e){"use strict";e.exports=function(e,t,n,r){var a,o,i,s,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>m)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(l=d,(o=(d=e.skipChars(d,a))-l)<3)return!1;if(u=e.src.slice(l,d),i=e.src.slice(d,m),96===a&&i.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((d=l=e.bMarks[s]+e.tShift[s])<(m=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,a))-l<o||(d=e.skipSpaces(d))<m)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=i,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},21127:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(i=1,o=e.src.charCodeAt(++c);35===o&&c<u&&i<=6;)i++,o=e.src.charCodeAt(++c);return!(i>6||c<u&&!r(o))&&(a||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}},68837:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(i=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&i++}return!(i<3)&&(a||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(o))),!0)}},33869:function(e,t,n){"use strict";var r=n(43093),a=n(36570).q,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),a=0;a<o.length&&!o[a][0].test(l);a++);if(a===o.length)return!1;if(r)return o[a][2];if(i=t+1,!o[a][1].test(l))for(;i<n&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),o[a][1].test(l)){0!==l.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}},5393:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s,l,c,u,p,d,m=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";m<n&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(l=e.bMarks[m]+e.tShift[m])<(c=e.eMarks[m])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[m]<0)){for(a=!1,o=0,i=h.length;o<i;o++)if(h[o](e,m,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,m,e.blkIndent,!1).trim(),e.line=m+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},46388:function(e,t,n){"use strict";var r=n(39615).isSpace;function a(e,t){var n,a,o,i;return a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n||a<o&&(i=e.src.charCodeAt(a),!r(i))?-1:a}function o(e,t){var n,a=e.bMarks[t]+e.tShift[t],o=a,i=e.eMarks[t];if(o+1>=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-a>=10)return-1}return o<i&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,S,j,x,P,T,N,A,I,B,M=!1,R=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(M=!0),(P=o(e,t))>=0){if(d=!0,N=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(N,P-1)),M&&1!==v)return!1}else{if(!((P=a(e,t))>=0))return!1;d=!1}if(M&&e.skipSpaces(P)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(P-1),r)return!0;for(g=e.tokens.length,d?(B=e.push("ordered_list_open","ol",1),1!==v&&(B.attrs=[["start",v]])):B=e.push("bullet_list_open","ul",1),B.map=f=[t,0],B.markup=String.fromCharCode(b),y=t,T=!1,I=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";y<n;){for(x=P,k=e.eMarks[y],p=E=e.sCount[y]+P-(e.bMarks[t]+e.tShift[t]);x<k;){if(9===(i=e.src.charCodeAt(x)))E+=4-(E+e.bsCount[y])%4;else{if(32!==i)break;E++}x++}if((u=(s=x)>=k?1:E-p)>4&&(u=1),c=p+u,(B=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),B.map=m=[t,0],d&&(B.info=e.src.slice(N,P-1)),j=e.tight,S=e.tShift[t],C=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=k&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!T||(R=!1),T=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=S,e.sCount[t]=C,e.tight=j,(B=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),y=t=e.line,m[1]=y,s=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(A=!1,l=0,h=I.length;l<h;l++)if(I[l](e,y,n,!0)){A=!0;break}if(A)break;if(d){if((P=o(e,y))<0)break;N=e.bMarks[y]+e.tShift[y]}else if((P=a(e,y))<0)break;if(b!==e.src.charCodeAt(P-1))break}return(B=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),f[1]=y,e.line=y,e.parentType=_,R&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},24934:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,a=0,o=c.length;a<o;a++)if(c[a](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=n,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}},33765:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t,n,o){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w=0,_=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],S=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(_))return!1;for(;++_<C;)if(93===e.src.charCodeAt(_)&&92!==e.src.charCodeAt(_-1)){if(_+1===C)return!1;if(58!==e.src.charCodeAt(_+1))return!1;break}for(c=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";S<c&&!e.isEmpty(S);S++)if(!(e.sCount[S]-e.blkIndent>3||e.sCount[S]<0)){for(k=!1,p=0,d=y.length;p<d;p++)if(y[p](e,S,c,!0)){k=!0;break}if(k)break}for(C=(v=e.getLines(t,S,e.blkIndent,!1).trim()).length,_=1;_<C;_++){if(91===(i=v.charCodeAt(_)))return!1;if(93===i){h=_;break}(10===i||92===i&&++_<C&&10===v.charCodeAt(_))&&w++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(_=h+2;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;if(!(g=e.md.helpers.parseLinkDestination(v,_,C)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=_=g.pos,l=w+=g.lines,b=_;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;for(g=e.md.helpers.parseLinkTitle(v,_,C),_<C&&b!==_&&g.ok?(E=g.str,_=g.pos,w+=g.lines):(E="",_=s,w=l);_<C&&(i=v.charCodeAt(_),a(i));)_++;if(_<C&&10!==v.charCodeAt(_)&&E)for(E="",_=s,w=l;_<C&&(i=v.charCodeAt(_),a(i));)_++;return!(_<C&&10!==v.charCodeAt(_))&&(!!(m=r(v.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:E,href:u}),e.parentType=f,e.line=t+w+1),!0))}},75355:function(e,t,n){"use strict";var r=n(71872),a=n(39615).isSpace;function o(e,t,n,r){var o,i,s,l,c,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=p=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!d){if(a(o)){u++,9===o?p+=4-p%4:p++;continue}d=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,i,s,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),o=0;d<t;d++,o++){for(i=0,p=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&i<n;){if(s=this.src.charCodeAt(l),a(s))9===s?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(l-p<this.tShift[d]))break;i++}l++}u[o]=i>n?new Array(i-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=r,e.exports=o},12592:function(e,t,n){"use strict";var r=n(39615).isSpace;function a(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,a=e.length,o=!1,i=0,s="";for(t=e.charCodeAt(r);r<a;)124===t&&(o?(s+=e.substring(i,r-1),i=r):(n.push(s+e.substring(i,r)),s="",i=r+1)),o=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(i)),n}e.exports=function(e,t,n,i){var s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(_=e.src.charCodeAt(c++))&&45!==_&&58!==_)return!1;if(c>=e.eMarks[d])return!1;if(124!==(C=e.src.charCodeAt(c++))&&45!==C&&58!==C&&!r(C))return!1;if(45===_&&r(C))return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(m=(l=a(e,t+1)).split("|"),g=[],u=0;u<m.length;u++){if(!(b=m[u].trim())){if(0===u||u===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?g.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),0===(h=m.length)||h!==g.length)return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(f=e.push("table_open","table",1)).map=v=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<m.length;u++)f=e.push("th_open","th",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u].trim(),f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),d=t+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(E=!1,u=0,p=w.length;u<p;u++)if(w[u](e,d,n,!0)){E=!0;break}if(E)break;if(!(l=a(e,d).trim()))break;if(e.sCount[d]-e.blkIndent>=4)break;for((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),d===t+2&&((f=e.push("tbody_open","tbody",1)).map=k=[t+2,0]),(f=e.push("tr_open","tr",1)).map=[d,d+1],u=0;u<h;u++)f=e.push("td_open","td",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u]?m[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return k&&(f=e.push("tbody_close","tbody",-1),k[1]=d),f=e.push("table_close","table",-1),v[1]=d,e.parentType=y,e.line=d,!0}},30884:function(e){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},25334:function(e){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},64756:function(e,t,n){"use strict";var r=n(39615).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(f=0,t=(i=E[n].children).length-1;t>=0;t--)if("link_close"!==(l=i[t]).type){if("html_inline"===l.type&&(y=l.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(l.content)&&f++),!(f>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,k=e.md.linkify.match(p),c=[],h=l.level,m=0,u=0;u<k.length;u++)g=k[u].url,b=e.md.normalizeLink(g),e.md.validateLink(b)&&(v=k[u].text,v=k[u].schema?"mailto:"!==k[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=k[u].index)>m&&((s=new e.Token("text","",0)).content=p.slice(m,d),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",b]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=v,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),m=k[u].lastIndex);m<p.length&&((s=new e.Token("text","",0)).content=p.slice(m),s.level=h,c.push(s)),E[n].children=i=r(i,t,c)}}else for(t--;i[t].level!==l.level&&"link_open"!==i[t].type;)t--}},13837:function(e){"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},60555:function(e){"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return a[t.toLowerCase()]}function i(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}function s(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||a||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&i(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},28867:function(e,t,n){"use strict";var r=n(39615).isWhiteSpace,a=n(39615).isPunctChar,o=n(39615).isMdAsciiPunct,i=/['"]/,s=/['"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,i,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,S,j,x;for(S=[],n=0;n<e.length;n++){for(i=e[n],m=e[n].level,_=S.length-1;_>=0&&!(S[_].level<=m);_--);if(S.length=_+1,"text"===i.type){p=0,d=(c=i.content).length;e:for(;p<d&&(s.lastIndex=p,u=s.exec(c));){if(E=w=!0,p=u.index+1,C="'"===u[0],f=32,u.index-1>=0)f=c.charCodeAt(u.index-1);else for(_=n-1;_>=0&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_--)if(e[_].content){f=e[_].content.charCodeAt(e[_].content.length-1);break}if(g=32,p<d)g=c.charCodeAt(p);else for(_=n+1;_<e.length&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_++)if(e[_].content){g=e[_].content.charCodeAt(0);break}if(b=o(f)||a(String.fromCharCode(f)),v=o(g)||a(String.fromCharCode(g)),k=r(f),(y=r(g))?E=!1:v&&(k||b||(E=!1)),k?w=!1:b&&(y||v||(w=!1)),34===g&&'"'===u[0]&&f>=48&&f<=57&&(w=E=!1),E&&w&&(E=b,w=v),E||w){if(w)for(_=S.length-1;_>=0&&(h=S[_],!(S[_].level<m));_--)if(h.single===C&&S[_].level===m){h=S[_],C?(j=t.md.options.quotes[2],x=t.md.options.quotes[3]):(j=t.md.options.quotes[0],x=t.md.options.quotes[1]),i.content=l(i.content,u.index,x),e[h.token].content=l(e[h.token].content,h.pos,j),p+=x.length-1,h.token===n&&(p+=j.length-1),d=(c=i.content).length,S.length=_;continue e}E?S.push({token:n,pos:u.index,single:C,level:m}):w&&C&&(i.content=l(i.content,u.index,"’"))}else C&&(i.content=l(i.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},30727:function(e,t,n){"use strict";var r=n(71872);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},73273:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var a,o,i,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return a=e.src.slice(l+1,u),n.test(a)?(o=e.md.normalizeLink(a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0)):!!t.test(a)&&(o=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0))}},7912:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(a=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=a),e.pos+=l,!0;for(i=s=u;-1!==(i=e.src.indexOf("`",s));){for(s=i+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-i)===l)return t||((o=e.push("code_inline","code",0)).markup=a,o.content=e.src.slice(u,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=i}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=l,!0}},76399:function(e){"use strict";function t(e,t){var n,r,a,o,i,s,l,c,u={},p=t.length;if(p){var d=0,m=-2,h=[];for(n=0;n<p;n++)if(a=t[n],h.push(0),t[d].marker===a.marker&&m===a.token-1||(d=n),m=a.token,a.length=a.length||0,a.close){for(u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1,-1,-1,-1]),i=u[a.marker][(a.open?3:0)+a.length%3],s=r=d-h[d]-1;r>i;r-=h[r]+1)if((o=t[r]).marker===a.marker&&o.open&&o.end<0&&(l=!1,(o.close||a.open)&&(o.length+a.length)%3==0&&(o.length%3==0&&a.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+c,h[r]=c,a.open=!1,o.end=n,o.close=!1,s=-1,m=-2;break}-1!==s&&(u[a.marker][(a.open?3:0)+(a.length||0)%3]=s)}}}e.exports=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},56141:function(e){"use strict";function t(e,t){var n,r,a,o,i,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(a=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===a.token+1,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?i+i:i,o.content="",(o=e.tokens[a.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?i+i:i,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,a=e.pos,o=e.src.charCodeAt(a);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},54408:function(e,t,n){"use strict";var r=n(38337),a=n(39615).has,o=n(39615).isValidEntityCode,i=n(39615).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?i(n):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&a(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},8329:function(e,t,n){"use strict";for(var r=n(39615).isSpace,a=[],o=0;o<256;o++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<i){if((n=e.src.charCodeAt(o))<256&&0!==a[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<i&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},9955:function(e,t,n){"use strict";var r=n(36570).n;e.exports=function(e,t){var n,a,o,i=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=o)&&(!(33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(i).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+a[0].length)),e.pos+=a[0].length,!0))))}},92560:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d,m,h,f,g,b="",v=e.pos,k=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<k&&40===e.src.charCodeAt(u)){for(u++;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(u>=k)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<k&&g!==u&&d.ok)for(m=d.str,u=d.pos;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);else m="";if(u>=k||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<k&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(p=e.env.references[r(s)]))return e.pos=v,!1;b=p.href,m=p.title}return t||(i=e.src.slice(c,l),e.md.inline.parse(i,e.md,e.env,f=[]),(h=e.push("image","img",0)).attrs=n=[["src",b],["alt",""]],h.children=f,h.content=i,m&&n.push(["title",m])),e.pos=u,e.posMax=k,!0}},95028:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d="",m="",h=e.pos,f=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<f&&40===e.src.charCodeAt(c)){for(b=!1,c++;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(c>=f)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d="",g=c;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<f&&g!==c&&u.ok)for(m=u.str,c=u.pos;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);}(c>=f||41!==e.src.charCodeAt(c))&&(b=!0),c++}if(b){if(void 0===e.env.references)return!1;if(c<f&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?i=e.src.slice(g,c++):c=s+1):c=s+1,i||(i=e.src.slice(l,s)),!(p=e.env.references[r(i)]))return e.pos=h,!1;d=p.href,m=p.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=f,!0}},62378:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t){var n,a,o,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;if(n=e.pending.length-1,a=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i<a&&r(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},25240:function(e,t,n){"use strict";var r=n(71872),a=n(39615).isWhiteSpace,o=n(39615).isPunctChar,i=n(39615).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(o),a},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,d,m,h=e,f=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,r=h<b?this.src.charCodeAt(h):32,p=i(n)||o(String.fromCharCode(n)),m=i(r)||o(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:m&&(u||p||(f=!1)),u?g=!1:p&&(d||m||(g=!1)),t?(l=f,c=g):(l=f&&(!g||p),c=g&&(!f||m)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},54988:function(e){"use strict";function t(e,t){var n,r,a,o,i,s=[],l=t.length;for(n=0;n<l;n++)126===(a=t[n]).marker&&-1!==a.end&&(o=t[a.end],(i=e.tokens[a.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=i)}}e.exports.w=function(e,t){var n,r,a,o,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=o,a--),n=0;n<a;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},10937:function(e){"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},52406:function(e){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)a[t].nesting<0&&r--,a[t].level=r,a[t].nesting>0&&r++,"text"===a[t].type&&t+1<o&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},71872:function(e){"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},64309:function(e){"use strict";var t={};function n(e,r){var a;return"string"!=typeof r&&(r=n.defaultChars),a=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),a.push(r);for(n=0;n<e.length;n++)a[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return a}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,i,s,l,c="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=a[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&i))?(c+=(l=r<<12&61440|o<<6&4032|63&i)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&i)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|i<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},16087:function(e){"use strict";var t={};function n(e,r,a){var o,i,s,l,c,u="";for("string"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),c=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),o=0,i=e.length;o<i;o++)if(s=e.charCodeAt(o),a&&37===s&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<i&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},46175:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},49236:function(e,t,n){"use strict";e.exports.encode=n(16087),e.exports.decode=n(64309),e.exports.format=n(46175),e.exports.parse=n(57507)},57507:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),i=["'"].concat(o),s=["%","/","?",";","#"].concat(i),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,o,i,m,h,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var g=a.exec(f);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=n.exec(f);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,f=f.substr(b.length)),(t||b||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===f.substr(0,2))||b&&p[b]||(f=f.substr(2),this.slashes=!0)),!p[b]&&(h||b&&!d[b])){var v,k,y=-1;for(r=0;r<l.length;r++)-1!==(m=f.indexOf(l[r]))&&(-1===y||m<y)&&(y=m);for(-1!==(k=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,k),f=f.slice(k+1),this.auth=v),y=-1,r=0;r<s.length;r++)-1!==(m=f.indexOf(s[r]))&&(-1===y||m<y)&&(y=m);-1===y&&(y=f.length),":"===f[y-1]&&y--;var E=f.slice(0,y);f=f.slice(y),this.parseHost(E),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var _=this.hostname.split(/\./);for(r=0,o=_.length;r<o;r++){var C=_[r];if(C&&!C.match(c)){for(var S="",j=0,x=C.length;j<x;j++)C.charCodeAt(j)>127?S+="x":S+=C[j];if(!S.match(c)){var P=_.slice(0,r),T=_.slice(r+1),N=C.match(u);N&&(P.push(N[1]),T.unshift(N[2])),T.length&&(f=T.join(".")+f),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=f.indexOf("#");-1!==A&&(this.hash=f.substr(A),f=f.slice(0,A));var I=f.indexOf("?");return-1!==I&&(this.search=f.substr(I),f=f.slice(0,I)),f&&(this.pathname=f),d[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},59961:function(){},18783:function(){},58449:function(){},45460:function(e,t){"use strict";t.Z={iconWrapper:"sDAzdUdcbaYmUMZBe2XW","star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43"}},91853:function(e,t){"use strict";t.Z={"connection-container":"KQcQQLxH5fI08DfOlKwL","connection-toggle":"GkSdCYn_REWEdI_aqvQk"}},75631:function(e,t){"use strict";t.Z={"connections-list":"Ua6eKcnk_tQQpFlgXMSn","components-notice":"SHqrIEguRfCILRHPyxE9"}},78619:function(e,t){"use strict";t.Z={"add-connection-wrapper":"xwd1zFILyAv6XzDjevFA"}},28161:function(e,t){"use strict";t.Z={"publicize-notice":"__nV49on4_ijaV8Brnsw","components-notice":"zZ3Pu7E87XyYIdPR2WTt","components-button":"fLC8AaLf3xcKaoJ4Opax"}},73171:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=7*a,i=365.25*a;function s(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=a)return s(e,o,a,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=a)return Math.round(e/a)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},47563:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var p=0;p<s.length;p++)r.call(i,s[p])&&(l[s[p]]=i[s[p]])}}return l}},69424:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(94273),a=n.n(r),o=n(53191),i=n.n(o),s=n(60686),l=n.n(s)()("photon"),c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function d(e,t){var n;try{n=new URL(e,p)}catch(e){return null}var r,o,s,d,m,h="https:"===n.protocol,f=new URL("https://i0.wp.com");if(m=n.host,/^i[0-2]\.wp\.com$/.test(m))f.pathname=n.pathname,f.hostname=n.hostname;else{if(n.search)return null;var g=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(g=n.pathname.replace("://","//")),n.hostname===u&&(g=n.pathname),f.pathname=g,f.hostname=(r=g,o=a()(r),s=i()(o),d="i"+Math.floor(3*s()),l('determined server "%s" to use with "%s"',d,r),d+".wp.com"),h&&f.searchParams.set("ssl",1)}if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?f.searchParams.set(c[b]||b,t[b]):f.protocol="http:":f.hostname=t[b];return l("generated Photon URL: %s",f.href),f.href}},469:function(e,t,n){"use strict";var r=n(90758);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,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:o,resetWarningCache:a};return n.PropTypes=n,n}},25162:function(e,t,n){e.exports=n(469)()},90758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},56388:function(e,t,n){var r=n(75963);function a(e){this.mode=r.MODE_8BIT_BYTE,this.data=e}a.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=a},46015:function(e){function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},7329:function(e){e.exports={L:1,M:0,Q:3,H:2}},29497:function(e,t,n){var r=n(44177);function a(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}a.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var o=0;o<e.getLength();o++)t[n+o]^=r.gexp(r.glog(this.get(n))+r.glog(e.get(o)));return new a(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=r.glog(this.get(0))-r.glog(e.get(0)),n=new Array(this.getLength()),o=0;o<this.getLength();o++)n[o]=this.get(o);for(o=0;o<e.getLength();o++)n[o]^=r.gexp(r.glog(e.get(o))+t);return new a(n,0).mod(e)}},e.exports=a},41122:function(e,t,n){var r=n(56388),a=n(63714),o=n(46015),i=n(39469),s=n(29497);function l(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=l.prototype;c.addData=function(e){var t=new r(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=a.getRSBlocks(e,this.errorCorrectLevel),n=new o,r=0,s=0;s<t.length;s++)r+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var l=this.dataList[s];n.put(l.mode,4),n.put(l.getLength(),i.getLengthInBits(l.mode,e)),l.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=l.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=i.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},c.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var a=0;a<this.modules.length;a++)for(var o=1*a,i=0;i<this.modules[a].length;i++){var s=1*i;this.modules[a][i]&&(r.beginFill(0,100),r.moveTo(s,o),r.lineTo(s+1,o),r.lineTo(s+1,o+1),r.lineTo(s,o+1),r.endFill())}return r},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=i.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],a=e[n];if(null==this.modules[r][a])for(var o=-2;o<=2;o++)for(var s=-2;s<=2;s++)this.modules[r+o][a+s]=-2==o||2==o||-2==s||2==s||0==o&&0==s}},c.setupTypeNumber=function(e){for(var t=i.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},c.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=i.getBCHTypeInfo(n),a=0;a<15;a++){var o=!e&&1==(r>>a&1);a<6?this.modules[a][8]=o:a<8?this.modules[a+1][8]=o:this.modules[this.moduleCount-15+a][8]=o}for(a=0;a<15;a++){o=!e&&1==(r>>a&1);a<8?this.modules[8][this.moduleCount-a-1]=o:a<9?this.modules[8][15-a-1+1]=o:this.modules[8][15-a-1]=o}this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,a=7,o=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var c=!1;o<e.length&&(c=1==(e[o]>>>a&1)),i.getMask(t,r,s-l)&&(c=!c),this.modules[r][s-l]=c,-1==--a&&(o++,a=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},l.PAD0=236,l.PAD1=17,l.createData=function(e,t,n){for(var r=a.getRSBlocks(e,t),s=new o,c=0;c<n.length;c++){var u=n[c];s.put(u.mode,4),s.put(u.getLength(),i.getLengthInBits(u.mode,e)),u.write(s)}var p=0;for(c=0;c<r.length;c++)p+=r[c].dataCount;if(s.getLengthInBits()>8*p)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*p+")");for(s.getLengthInBits()+4<=8*p&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*p||(s.put(l.PAD0,8),s.getLengthInBits()>=8*p));)s.put(l.PAD1,8);return l.createBytes(s,r)},l.createBytes=function(e,t){for(var n=0,r=0,a=0,o=new Array(t.length),l=new Array(t.length),c=0;c<t.length;c++){var u=t[c].dataCount,p=t[c].totalCount-u;r=Math.max(r,u),a=Math.max(a,p),o[c]=new Array(u);for(var d=0;d<o[c].length;d++)o[c][d]=255&e.buffer[d+n];n+=u;var m=i.getErrorCorrectPolynomial(p),h=new s(o[c],m.getLength()-1).mod(m);l[c]=new Array(m.getLength()-1);for(d=0;d<l[c].length;d++){var f=d+h.getLength()-l[c].length;l[c][d]=f>=0?h.get(f):0}}var g=0;for(d=0;d<t.length;d++)g+=t[d].totalCount;var b=new Array(g),v=0;for(d=0;d<r;d++)for(c=0;c<t.length;c++)d<o[c].length&&(b[v++]=o[c][d]);for(d=0;d<a;d++)for(c=0;c<t.length;c++)d<l[c].length&&(b[v++]=l[c][d]);return b},e.exports=l},63714:function(e,t,n){var r=n(7329);function a(e,t){this.totalCount=e,this.dataCount=t}a.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],a.getRSBlocks=function(e,t){var n=a.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=new Array,i=0;i<r;i++)for(var s=n[3*i+0],l=n[3*i+1],c=n[3*i+2],u=0;u<s;u++)o.push(new a(l,c));return o},a.getRsBlockTable=function(e,t){switch(t){case r.L:return a.RS_BLOCK_TABLE[4*(e-1)+0];case r.M:return a.RS_BLOCK_TABLE[4*(e-1)+1];case r.Q:return a.RS_BLOCK_TABLE[4*(e-1)+2];case r.H:return a.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=a},44177:function(e){for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},n=0;n<8;n++)t.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.EXP_TABLE[n]=t.EXP_TABLE[n-4]^t.EXP_TABLE[n-5]^t.EXP_TABLE[n-6]^t.EXP_TABLE[n-8];for(n=0;n<255;n++)t.LOG_TABLE[t.EXP_TABLE[n]]=n;e.exports=t},75963:function(e){e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},39469:function(e,t,n){var r=n(75963),a=n(29497),o=n(44177),i=0,s=1,l=2,c=3,u=4,p=5,d=6,m=7,h={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;h.getBCHDigit(t)-h.getBCHDigit(h.G15)>=0;)t^=h.G15<<h.getBCHDigit(t)-h.getBCHDigit(h.G15);return(e<<10|t)^h.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;h.getBCHDigit(t)-h.getBCHDigit(h.G18)>=0;)t^=h.G18<<h.getBCHDigit(t)-h.getBCHDigit(h.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return h.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case i:return(t+n)%2==0;case s:return t%2==0;case l:return n%3==0;case c:return(t+n)%3==0;case u:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case p:return t*n%2+t*n%3==0;case d:return(t*n%2+t*n%3)%2==0;case m:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new a([1],0),n=0;n<e;n++)t=t.multiply(new a([1,o.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var a=0;a<t;a++){for(var o=0,i=e.isDark(r,a),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l++)a+l<0||t<=a+l||0==s&&0==l||i==e.isDark(r+s,a+l)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<t-1;r++)for(a=0;a<t-1;a++){var c=0;e.isDark(r,a)&&c++,e.isDark(r+1,a)&&c++,e.isDark(r,a+1)&&c++,e.isDark(r+1,a+1)&&c++,0!=c&&4!=c||(n+=3)}for(r=0;r<t;r++)for(a=0;a<t-6;a++)e.isDark(r,a)&&!e.isDark(r,a+1)&&e.isDark(r,a+2)&&e.isDark(r,a+3)&&e.isDark(r,a+4)&&!e.isDark(r,a+5)&&e.isDark(r,a+6)&&(n+=40);for(a=0;a<t;a++)for(r=0;r<t-6;r++)e.isDark(r,a)&&!e.isDark(r+1,a)&&e.isDark(r+2,a)&&e.isDark(r+3,a)&&e.isDark(r+4,a)&&!e.isDark(r+5,a)&&e.isDark(r+6,a)&&(n+=40);var u=0;for(a=0;a<t;a++)for(r=0;r<t;r++)e.isDark(r,a)&&u++;return n+=10*(Math.abs(100*u/t/t-50)/5)}};e.exports=h},37562:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var a=["value","size","level","bgColor","fgColor","style","includeMargin","imageSettings"],o=["value","size","level","bgColor","fgColor","includeMargin","imageSettings"],i=["renderAs"];function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var a=k(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=n(99196),w=(n(25162),n(41122)),_=n(7329);function C(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r<2048?(t+=String.fromCharCode(192|r>>6),t+=String.fromCharCode(128|63&r)):r<55296||r>=57344?(t+=String.fromCharCode(224|r>>12),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r)):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t+=String.fromCharCode(240|r>>18),t+=String.fromCharCode(128|r>>12&63),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r))}return t}var S={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return e.forEach((function(e,r){var a=null;e.forEach((function(o,i){if(!o&&null!==a)return n.push("M".concat(a+t," ").concat(r+t,"h").concat(i-a,"v1H").concat(a+t,"z")),void(a=null);if(i!==e.length-1)o&&null===a&&(a=i);else{if(!o)return;null===a?n.push("M".concat(i+t,",").concat(r+t," h1v1H").concat(i+t,"z")):n.push("M".concat(a+t,",").concat(r+t," h").concat(i+1-a,"v1H").concat(a+t,"z"))}}))})),n.join("")}function x(e,t){return e.slice().map((function(e,n){return n<t.y||n>=t.y+t.h?e:e.map((function(e,n){return(n<t.x||n>=t.x+t.w)&&e}))}))}function P(e,t){var n=e.imageSettings,r=e.size,a=e.includeMargin;if(null==n)return null;var o=a?4:0,i=t.length+2*o,s=Math.floor(.1*r),l=i/r,c=(n.width||s)*l,u=(n.height||s)*l,p=null==n.x?t.length/2-c/2:n.x*l,d=null==n.y?t.length/2-u/2:n.y*l,m=null;if(n.excavate){var h=Math.floor(p),f=Math.floor(d);m={x:h,y:f,w:Math.ceil(c+p-h),h:Math.ceil(u+d-f)}}return{x:p,y:d,h:u,w:c,excavation:m}}var T=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),N=function(e){h(n,e);var t=g(n);function n(){var e;p(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return y(v(e=t.call.apply(t,[this].concat(a))),"_canvas",void 0),y(v(e),"_image",void 0),y(v(e),"state",{imgLoaded:!1}),y(v(e),"handleImageLoad",(function(){e.setState({imgLoaded:!0})})),e}return m(n,[{key:"componentDidMount",value:function(){this._image&&this._image.complete&&this.handleImageLoad(),this.update()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t,n;(null===(t=this.props.imageSettings)||void 0===t?void 0:t.src)!==(null===(n=e.imageSettings)||void 0===n?void 0:n.src)&&this.setState({imgLoaded:!1})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var e=this.props,t=e.value,n=e.size,r=e.level,a=e.bgColor,o=e.fgColor,i=e.includeMargin,s=e.imageSettings,l=new w(-1,_[r]);if(l.addData(C(t)),l.make(),null!=this._canvas){var c=this._canvas,u=c.getContext("2d");if(!u)return;var p=l.modules;if(null===p)return;var d=i?4:0,m=p.length+2*d,h=P(this.props,p);null!=s&&null!=h&&null!=h.excavation&&(p=x(p,h.excavation));var f=window.devicePixelRatio||1;c.height=c.width=n*f;var g=n/m*f;u.scale(g,g),u.fillStyle=a,u.fillRect(0,0,m,m),u.fillStyle=o,T?u.fill(new Path2D(j(p,d))):p.forEach((function(e,t){e.forEach((function(e,n){e&&u.fillRect(n+d,t+d,1,1)}))})),this.state.imgLoaded&&this._image&&null!=h&&u.drawImage(this._image,h.x+d,h.y+d,h.w,h.h)}}},{key:"render",value:function(){var e=this,t=this.props,n=(t.value,t.size),r=(t.level,t.bgColor,t.fgColor,t.style),o=(t.includeMargin,t.imageSettings),i=u(t,a),l=c({height:n,width:n},r),p=null,d=o&&o.src;return null!=o&&null!=d&&(p=E.createElement("img",{src:d,style:{display:"none"},onLoad:this.handleImageLoad,ref:function(t){return e._image=t}})),E.createElement(E.Fragment,null,E.createElement("canvas",s({style:l,height:n,width:n,ref:function(t){return e._canvas=t}},i)),p)}}]),n}(E.PureComponent);y(N,"defaultProps",S);var A=function(e){h(n,e);var t=g(n);function n(){return p(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this.props,t=e.value,n=e.size,r=e.level,a=e.bgColor,i=e.fgColor,l=e.includeMargin,c=e.imageSettings,p=u(e,o),d=new w(-1,_[r]);d.addData(C(t)),d.make();var m=d.modules;if(null===m)return null;var h=l?4:0,f=m.length+2*h,g=P(this.props,m),b=null;null!=c&&null!=g&&(null!=g.excavation&&(m=x(m,g.excavation)),b=E.createElement("image",{xlinkHref:c.src,height:g.h,width:g.w,x:g.x+h,y:g.y+h,preserveAspectRatio:"none"}));var v=j(m,h);return E.createElement("svg",s({shapeRendering:"crispEdges",height:n,width:n,viewBox:"0 0 ".concat(f," ").concat(f)},p),E.createElement("path",{fill:a,d:"M0,0 h".concat(f,"v").concat(f,"H0z")}),E.createElement("path",{fill:i,d:v}),b)}}]),n}(E.PureComponent);y(A,"defaultProps",S);var I=function(e){var t=e.renderAs,n=u(e,i),r="svg"===t?A:N;return E.createElement(r,n)};I.defaultProps=c({renderAs:"canvas"},S),e.exports=I},40142:function(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,o,i=[];for(o in"string"!=typeof t&&(t="?"),e)if(n.call(e,o)){if((r=e[o])||null!=r&&!isNaN(r)||(r=""),o=a(o),r=a(r),null===o||null===r)continue;i.push(o+"="+r)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,a={};t=n.exec(e);){var o=r(t[1]),i=r(t[2]);null===o||null===i||o in a||(a[o]=i)}return a}},8922:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,f=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,k=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case p:case o:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case f:case l:return e;default:return t}}case a:return t}}}function w(e){return E(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=g,t.Memo=f,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||E(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===f},t.isPortal=function(e){return E(e)===a},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===s||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===k||e.$$typeof===y||e.$$typeof===b)},t.typeOf=E},93801:function(e,t,n){"use strict";e.exports=n(8922)},671:function(e,t,n){"use strict";var r=n(25162),a=n.n(r),o=n(99196),i=n.n(o),s=n(19905),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isSupported:s.Gb&&s.WD},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.state.isSupported&&(this.handleVisibilityChange=this.handleVisibilityChange.bind(this),document.addEventListener(s.WD.event,this.handleVisibilityChange))}},{key:"componentWillUnmount",value:function(){this.state.isSupported&&document.removeEventListener(s.WD.event,this.handleVisibilityChange)}},{key:"handleVisibilityChange",value:function(){var e;"function"==typeof this.props.onChange&&(e=this.props).onChange.apply(e,c((0,s.XO)()));"function"==typeof this.props.children&&this.forceUpdate()}},{key:"render",value:function(){return this.props.children?"function"==typeof this.props.children?this.state.isSupported?(e=this.props).children.apply(e,c((0,s.XO)())):this.props.children():i().Children.only(this.props.children):null;var e}}]),t}(i().Component);u.displayName="PageVisibility",u.propTypes={onChange:a().func,children:a().oneOfType([a().node,a().func])},t.Z=u},90105:function(e,t,n){"use strict";var r=n(671);t.Z=r.Z},19905:function(e,t,n){"use strict";n.d(t,{Gb:function(){return o},WD:function(){return i},XO:function(){return s}});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"}],o=r&&Boolean(document.addEventListener),i=function(){if(!o)return null;var e=!0,t=!1,n=void 0;try{for(var r,i=a[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var s=r.value;if(s.hidden in document)return s}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}return null}(),s=function(){if(!i)return[!0,"visible"];var e=i.hidden,t=i.state;return[!document[e],document[t]]}},24561:function(e,t,n){"use strict";n(47563);var r=n(99196),a=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;a=o("react.element"),t.Fragment=o("react.fragment")}var i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:i.current}}t.jsx=c,t.jsxs=c},30275:function(e,t,n){"use strict";e.exports=n(24561)},24274:function(e){"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)t(e,n[r]);else for(r in n)e[r]=(e[r]||[]).concat(n[r])}e.exports=function(e){var n,r={};return t(r,e),(n=function(e){return function(t){return function(n){var a,o,i=r[n.type],s=t(n);if(i)for(a=0;a<i.length;a++)(o=i[a](n,e))&&e.dispatch(o);return s}}}).effects=r,n}},95386:function(e,t,n){"use strict";var r,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function l(e,t){var n,l;function c(){n=a?new WeakMap:i()}function u(){var n,r,a,o,i,c=arguments.length;for(o=new Array(c),a=0;a<c;a++)o[a]=arguments[a];for(i=t.apply(null,o),(n=l(i)).isUniqueByDependants||(n.lastDependants&&!s(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(s(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),l=a?function(e){var t,a,o,s,l,c=n,u=!0;for(t=0;t<e.length;t++){if(a=e[t],!(l=a)||"object"!=typeof l){u=!1;break}c.has(a)?c=c.get(a):(o=new WeakMap,c.set(a,o),c=o)}return c.has(r)||((s=i()).isUniqueByDependants=u,c.set(r,s)),c.get(r)}:function(){return n},u.getDependants=t,u.clear=c,c(),u}n.d(t,{Z:function(){return l}}),r={},a="undefined"!=typeof WeakMap},82298:function(e){"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:function(e,t){"use strict";var n=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__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var i=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&l()}function s(){o(i)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},p=b(0,0,0,0);function d(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=u(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=d(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,s=d(r.width),l=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+i)!==n&&(l-=m(r,"top","bottom")+i)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(a.left,a.top,s,l)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?f(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):p}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,a,o,i,s,l,u=(r=(n=t).x,a=n.y,o=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:a,width:o,height:i,top:a,right:r+o,bottom:i+a,left:r}),l);c(this,{target:e,contentRect:u})},y=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new n,w=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 y(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var _=void 0!==a.ResizeObserver?a.ResizeObserver:w;t.Z=_},53191:function(e){"use strict";var t=256,n=[],r=window,a=Math.pow(t,6),o=Math.pow(2,52),i=2*o,s=255,l=Math.random;function c(e){var n,r=e.length,a=this,o=0,i=a.i=a.j=0,l=a.S=[];for(r||(e=[r++]);o<t;)l[o]=o++;for(o=0;o<t;o++)l[o]=l[i=s&i+e[o%r]+(n=l[o])],l[i]=n;(a.g=function(e){for(var n,r=0,o=a.i,i=a.j,l=a.S;e--;)n=l[o=s&o+1],r=r*t+l[s&(l[o]=l[i=s&i+n])+(l[i]=n)];return a.i=o,a.j=i,r})(t)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(e){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[s&a]=s&(n^=19*t[s&a])+r.charCodeAt(a++);return m(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),m(e)}catch(e){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,m(n)]}}function m(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,s){if(s&&!0===s.global)return s.global=!1,Math.random=e.exports(r,s),s.global=!0,Math.random;var l=s&&s.entropy||!1,h=[],f=(p(u(l?[r,m(n)]:0 in arguments?r:d(),3),h),new c(h));return p(m(f.S),n),function(){for(var e=f.g(6),n=a,r=0;e<o;)e=(e+r)*t,n*=t,r=f.g(1);for(;e>=i;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=l},p(Math.random(),n)},49079:function(e,t,n){const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||c}}e.exports=a;const o=n(14916),{re:i,t:s}=n(11037),l=n(86574),c=n(29262),u=n(8693),p=n(53538)},53538:function(e,t,n){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!h(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,x(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),s("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(/\s+/).join(" ");const l=r?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],f=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>j(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),g=(f.length,new Map);for(const e of f){if(h(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const v=[...g.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>g(n,t)&&e.set.some((e=>g(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const a=new(n(82746))({max:1e3}),o=n(14916),i=n(49079),s=n(29262),l=n(8693),{re:c,t:u,comparatorTrimReplace:p,tildeTrimReplace:d,caretTrimReplace:m}=n(11037),h=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=E(e,t),s("caret",e),e=k(e,t),s("tildes",e),e=_(e,t),s("xrange",e),e=S(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,k=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},E=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{s("caret",e,t);const n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let l;return s("caret",e,t,n,a,o,i),v(n)?l="":v(a)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?l="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),l="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",l),l}))},_=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,((n,r,a,o,i,l)=>{s("xRange",e,n,r,a,o,i,l);const c=v(a),u=c||v(o),p=u||v(i),d=p;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(l="-0"),n=`${r+a}.${o}.${i}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:p&&(n=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},S=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),j=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),x=e=>(t,n,r,a,o,i,s,l,c,u,p,d,m)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=v(c)?"":v(u)?`<${+c+1}.0.0-0`:v(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),P=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==i.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},8693:function(e,t,n){const r=n(29262),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(80581),{re:i,t:s}=n(11037),l=n(14916),{compareIdentifiers:c}=n(68693);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],a=e.build[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},20881:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},86574:function(e,t,n){const r=n(16825),a=n(80525),o=n(68586),i=n(33408),s=n(58546),l=n(66123);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return a(e,n,c);case">":return o(e,n,c);case">=":return i(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},36171:function(e,t,n){const r=n(8693),a=n(82323),{re:o,t:i}=n(11037);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},51310:function(e,t,n){const r=n(8693);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},84773:function(e,t,n){const r=n(256);e.exports=(e,t)=>r(e,t,!0)},256:function(e,t,n){const r=n(8693);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},86690:function(e,t,n){const r=n(82323),a=n(16825);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},16825:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>0===r(e,t,n)},68586:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)>0},33408:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)>=0},73469:function(e,t,n){const r=n(8693);e.exports=(e,t,n,a)=>{"string"==typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(e){return null}}},58546:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)<0},66123:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)<=0},20651:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).major},3857:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).minor},80525:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>0!==r(e,t,n)},82323:function(e,t,n){const{MAX_LENGTH:r}=n(80581),{re:a,t:o}=n(11037),i=n(8693),s=n(14916);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},23982:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).patch},57665:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},48824:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(t,e,n)},3135:function(e,t,n){const r=n(51310);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},44938:function(e,t,n){const r=n(53538);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},13782:function(e,t,n){const r=n(51310);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},75652:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},55589:function(e,t,n){const r=n(11037);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(80581).SEMVER_SPEC_VERSION,SemVer:n(8693),compareIdentifiers:n(68693).compareIdentifiers,rcompareIdentifiers:n(68693).rcompareIdentifiers,parse:n(82323),valid:n(75652),clean:n(20881),inc:n(73469),diff:n(86690),major:n(20651),minor:n(3857),patch:n(23982),prerelease:n(57665),compare:n(256),rcompare:n(48824),compareLoose:n(84773),compareBuild:n(51310),sort:n(13782),rsort:n(3135),gt:n(68586),lt:n(58546),eq:n(16825),neq:n(80525),gte:n(33408),lte:n(66123),cmp:n(86574),coerce:n(36171),Comparator:n(49079),Range:n(53538),satisfies:n(44938),toComparators:n(35559),maxSatisfying:n(43912),minSatisfying:n(80887),minVersion:n(77124),validRange:n(13228),outside:n(62051),gtr:n(48118),ltr:n(80382),intersects:n(27445),simplifyRange:n(19282),subset:n(79910)}},80581:function(e){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},29262:function(e){const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},68693:function(e){const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},14916:function(e){const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},11037:function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(80581),a=n(29262),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let l=0;const c=(e,t,n)=>{const r=l++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},48118:function(e,t,n){const r=n(62051);e.exports=(e,t,n)=>r(e,t,">",n)},27445:function(e,t,n){const r=n(53538);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},80382:function(e,t,n){const r=n(62051);e.exports=(e,t,n)=>r(e,t,"<",n)},43912:function(e,t,n){const r=n(8693),a=n(53538);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},80887:function(e,t,n){const r=n(8693),a=n(53538);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},77124:function(e,t,n){const r=n(8693),a=n(53538),o=n(68586);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const a=e.set[t];let i=null;a.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},62051:function(e,t,n){const r=n(8693),a=n(49079),{ANY:o}=a,i=n(53538),s=n(44938),l=n(68586),c=n(58546),u=n(66123),p=n(33408);e.exports=(e,t,n,d)=>{let m,h,f,g,b;switch(e=new r(e,d),t=new i(t,d),n){case">":m=l,h=u,f=c,g=">",b=">=";break;case"<":m=c,h=p,f=l,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let i=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,d)?i=e:f(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===b)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===b&&f(e,s.semver))return!1}return!0}},19282:function(e,t,n){const r=n(44938),a=n(256);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const l=e.sort(((e,t)=>a(e,t,n)));for(const e of l){r(e,t,n)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length<p.length?u:t}},79910:function(e,t,n){const r=n(53538),a=n(49079),{ANY:o}=a,i=n(44938),s=n(256),l=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?[new a(">=0.0.0-0")]:[new a(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=[new a(">=0.0.0")]}const r=new Set;let l,p,d,m,h,f,g;for(const t of e)">"===t.operator||">="===t.operator?l=c(l,t,n):"<"===t.operator||"<="===t.operator?p=u(p,t,n):r.add(t.semver);if(r.size>1)return null;if(l&&p){if(d=s(l.semver,p.semver,n),d>0)return null;if(0===d&&(">="!==l.operator||"<="!==p.operator))return null}for(const e of r){if(l&&!i(e,String(l),n))return null;if(p&&!i(e,String(p),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let b=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,v=!(!l||n.includePrerelease||!l.semver.prerelease.length)&&l.semver;b&&1===b.prerelease.length&&"<"===p.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,l)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(m=c(l,e,n),m===e&&m!==l)return!1}else if(">="===l.operator&&!i(l.semver,String(e),n))return!1;if(p)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=u(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!i(p.semver,String(e),n))return!1;if(!e.operator&&(p||l)&&0!==d)return!1}return!(l&&f&&!p&&0!==d)&&(!(p&&g&&!l&&0!==d)&&(!v&&!b))},c=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=l(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},35559:function(e,t,n){const r=n(53538);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},13228:function(e,t,n){const r=n(53538);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},6975:function(e,t,n){"use strict";var r=n(51128),a=n.n(r),o=n(92819);const i=a()("dops:analytics");let s,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=(0,o.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]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.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]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,o,i){c.ga.recordPurchase(e,t,n,r,a,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=(0,o.assign)(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),i("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){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),i(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=c},31020:function(e,t,n){"use strict";n.d(t,{av:function(){return h}});var r=n(82402),a=n.n(r),o=n(65235),i=n.n(o),s=n(99196),l=n.n(s),c=n(55609),u=n(45460);function p(e){let{className:t,size:n=24,viewBox:r="0 0 24 24",opacity:o=1,color:s,children:p}=e;const d={className:i()(u.Z.iconWrapper,t),width:n,height:n,viewBox:r,opacity:o};return s&&(d.fill=s),l().createElement(c.SVG,a()({},d,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),l().createElement(c.G,{opacity:o},p))}function d(e){let{className:t,fill:n="none",size:r,children:a}=e;return l().createElement(p,{className:i()(u.Z.socialIcon,t),size:r,fill:n},a)}const m={"anti-spam":e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"m8.455 21.207 8-17.5-.91-.416-1.261 2.76A4.979 4.979 0 0 0 12 5.5c-1.062 0-2.046.33-2.855.895L7.19 4.44 6.13 5.5l1.926 1.927A4.975 4.975 0 0 0 7.025 10H5v1.5h2V13H5v1.5h2.1a5.001 5.001 0 0 0 1.937 3.028L7.545 20.79l.91.416ZM9.68 16.12A3.492 3.492 0 0 1 8.5 13.5v-3a3.5 3.5 0 0 1 5.159-3.083L9.68 16.121Zm5.675-6.62.81-1.77c.44.663.728 1.436.81 2.269H19v1.5h-2V13h2v1.5h-2.1a5.002 5.002 0 0 1-5.634 3.947l.662-1.448L12 17a3.5 3.5 0 0 0 3.5-3.5v-3a3.5 3.5 0 0 0-.145-.998Z"}))},backup:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"m15.82 11.373.013-1.277v-.03c0-1.48-1.352-2.9-3.3-2.9-1.627 0-2.87 1.015-3.205 2.208l-.32 1.143-1.186-.048a2.192 2.192 0 0 0-.089-.002c-1.19 0-2.233 1.008-2.233 2.35 0 1.34 1.04 2.348 2.23 2.35H16.8c.895 0 1.7-.762 1.7-1.8 0-.927-.649-1.643-1.423-1.777l-1.258-.217ZM7.883 8.97l-.15-.003C5.67 8.967 4 10.69 4 12.817c0 2.126 1.671 3.85 3.733 3.85H16.8c1.767 0 3.2-1.478 3.2-3.3 0-1.635-1.154-2.993-2.667-3.255v-.045c0-2.43-2.149-4.4-4.8-4.4-2.237 0-4.118 1.403-4.65 3.303Z",fill:"#000"}))},boost:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"}))},crm:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.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 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"}))},extras:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"}))},protect:e=>{let{opacity:t=1,size:n,className:r}=e;return l().createElement(p,{className:r,size:n,opacity:t},l().createElement(c.Path,{d:"M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z"}),l().createElement(c.Path,{d:"M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z"}))},scan:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"}))},search:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},social:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"}))},star:e=>{let{size:t,className:n=u.Z["star-icon"]}=e;return l().createElement(p,{className:n,size:t},l().createElement(c.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"}))},videopress:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M5.286 4.5h13.428c.434 0 .786.352.786.786v13.428a.786.786 0 0 1-.786.786H5.286a.786.786 0 0 1-.786-.786V5.286c0-.434.352-.786.786-.786ZM3 5.286A2.286 2.286 0 0 1 5.286 3h13.428A2.286 2.286 0 0 1 21 5.286v13.428A2.286 2.286 0 0 1 18.714 21H5.286A2.286 2.286 0 0 1 3 18.714V5.286ZM15 12l-5-3v6l5-3Z"}))},jetpack:e=>{let{size:t,className:n=u.Z.jetpack}=e;return l().createElement(p,{className:n,size:t,viewBox:"0 0 32 32"},l().createElement(c.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),l().createElement(c.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),l().createElement(c.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"}))},facebook:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.facebook,r)},l().createElement(c.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.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))},twitter:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.twitter,r)},l().createElement(c.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))},linkedin:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.linkedin,r)},l().createElement(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))},tumblr:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.tumblr,r)},l().createElement(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},google:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.google,r)},l().createElement(c.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.05h-9.36z"}))}};const h=e=>{let{serviceName:t,className:n}=e;const r=m[a=t]?m[a]:null;var a;return r?l().createElement(r,{className:n}):null}},91202:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(25162),l=n.n(s),c=n(99196),u=n.n(c),p=n(65235),d=n.n(p),m=n(65736);const __=m.__;class h extends u().Component{render(){const{logoColor:e,showText:t,className:n,...r}=this.props,o=t?"0 0 118 32":"0 0 32 32";return u().createElement("svg",a()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:o,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},r),u().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),u().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&&u().createElement(c.Fragment,null,u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"})))}}i()(h,"propTypes",{className:l().string,width:l().number,height:l().number,showText:l().bool,logoColor:l().string}),i()(h,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=h},52947:function(e,t,n){"use strict";var r=n(6028);t.Z=e=>{const t=(0,r.X)();return new Intl.NumberFormat(t).format(e)}},49777:function(e,t,n){"use strict";var r=n(37562),a=n.n(r);t.Z=e=>{let{value:t="https://jetpack.com",bgColor:n,fgColor:r,level:o,includeMargin:i,imageSettings:s,renderAs:l="canvas",size:c=248}=e;return React.createElement(a(),{value:t,size:c,bgColor:n,fgColor:r,level:o,includeMargin:i,imageSettings:s,renderAs:l})}},6028:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});var r=n(69771);const a=()=>{var e,t,n,a;const{l10n:{locale:o}}=(0,r.__experimentalGetSettings)();if(o)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"})(o);return null!==(e=null===(t=window)||void 0===t||null===(n=t.window)||void 0===n||null===(a=n.navigator)||void 0===a?void 0:a.language)&&void 0!==e?e:"en-US"}},26324:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;var a;"undefined"!=typeof window&&(r=null===(a=window.Initial_State)||void 0===a?void 0:a.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const o=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+o}n.d(t,{Z:function(){return r}})},74356:function(e,t,n){"use strict";n.d(t,{LJ:function(){return c.Z},M1:function(){return u.M},dZ:function(){return a.Z},ew:function(){return r.Z},iS:function(){return i.ZP},l0:function(){return o.Z},oL:function(){return l.Z},rP:function(){return s.Z}});n(77771);var r=n(4277),a=n(49021),o=n(95788),i=n(68407),s=n(63609),l=n(37568),c=n(48751),u=n(86419)},85761:function(e,t,n){"use strict";var r=n(25162),a=n.n(r),o=n(31020);const i=e=>{const{id:t,serviceName:n,label:r,profilePicture:a}=e;return React.createElement("label",{htmlFor:t,className:"jetpack-publicize-connection-label"},React.createElement("div",{className:a?"components-connection-icon__picture":""},a&&React.createElement("img",{src:a,alt:r}),React.createElement(o.av,{serviceName:n,className:"jetpack-publicize-gutenberg-social-icon"})),React.createElement("span",{className:"jetpack-publicize-connection-label-copy"},r))};i.propTypes={id:a().string.isRequired,serviceName:a().string,label:a().string,profilePicture:a().string},t.Z=i},24479:function(e,t,n){"use strict";var r=n(65235),a=n.n(r),o=n(25162),i=n.n(o),s=n(55609),l=n(85761);const c=e=>{const{className:t,checked:n,id:r,disabled:o,onChange:i,serviceName:c,label:u,profilePicture:p}=e,d=a()("components-connection-toggle",{"is-not-checked":!n,"is-disabled":o});return React.createElement("div",{className:d},React.createElement(l.Z,{id:r,serviceName:c,label:u,profilePicture:p}),React.createElement(s.FormToggle,{id:r,className:t,checked:n,onChange:i,disabled:o}))};c.propTypes={className:i().string,checked:i().bool,id:i().string.isRequired,disabled:i().bool,onChange:i().func,serviceName:i().string,label:i().string,profilePicture:i().string},t.Z=c},49021:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(65736),i=n(55609),s=n(69307),l=n(94333),c=n(9818);const __=o.__;class u extends s.Component{constructor(){super(...arguments),a()(this,"refreshConnectionClick",(e=>{const{href:t,title:n}=e.target;e.preventDefault();const r=window.open(t,n,""),a=window.setInterval((()=>{!1!==r.closed&&(window.clearInterval(a),this.props.refreshConnections())}),500)}))}componentDidMount(){this.props.refreshConnections()}renderRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>e.can_refresh));return t.length?React.createElement(i.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},React.createElement("p",null,__("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((e=>React.createElement(i.Button,{href:e.refresh_url,isSmall:!0,key:e.id,onClick:this.refreshConnectionClick,title:e.refresh_text},e.refresh_text)))):null}renderNonRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>!e.can_refresh));return t.length?t.map((e=>React.createElement(i.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},React.createElement("p",null,e.test_message)))):null}render(){return React.createElement(s.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}t.Z=(0,l.compose)([(0,c.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections()}))),(0,c.withDispatch)((e=>({refreshConnections:e("jetpack/publicize").refreshConnectionTestResults})))])(u)},4277:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(65736),i=n(69307),s=n(55609),l=n(9818),c=n(92819),u=n(13419),p=n(24479),d=n(91853),m=n(28161);const __=o.__;class h extends i.Component{constructor(){super(...arguments),a()(this,"maybeDisplayLinkedInNotice",(()=>this.connectionNeedsReauth()&&React.createElement(s.Notice,{className:m.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(s.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,u.lQ)()}`},__("Go to Sharing settings","jetpack"))))),a()(this,"connectionNeedsReauth",(()=>(0,c.includes)(this.props.mustReauthConnections,this.props.name))),a()(this,"onConnectionChange",(()=>{const{id:e}=this.props;this.props.toggleConnection(e)}))}connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}render(){const{disabled:e,enabled:t,id:n,label:r,name:a,profilePicture:o}=this.props,i="connection-"+a+"-"+n,s=a.replace("_","-"),l=React.createElement(p.Z,{id:i,className:d.Z["connection-toggle"],checked:t,onChange:this.onConnectionChange,disabled:e||this.connectionIsFailing()||this.connectionNeedsReauth(),serviceName:s,label:r,profilePicture:o});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.Z["connection-container"]},l))}}t.Z=(0,l.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()})))(h)},95788:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(55609),a=n(69307),o=n(74356),i=n(69709),s=n(71961),l=n(37568),c=n(48751),u=n(75631);function p(e){let{isPublicizeEnabled:t,isRePublicizeFeatureEnabled:n,isPublicizeDisabledBySitePlan:p}=e;const{connections:d,toggleById:m,hasConnections:h}=(0,l.Z)(),{message:f,updateMessage:g,maxLength:b}=(0,c.Z)(),v=p?r.Disabled:a.Fragment;return React.createElement(v,null,h&&React.createElement(r.PanelRow,null,React.createElement("ul",{className:u.Z["connections-list"]},d.map((e=>{let{display_name:r,enabled:a,id:i,service_name:s,toggleable:l,profile_picture:c}=e;return React.createElement(o.ew,{disabled:n?!t:!l,enabled:a&&!p,key:i,id:i,label:r,name:s,toggleConnection:m,profilePicture:c})})))),!p&&React.createElement(a.Fragment,null,React.createElement(i.Z,null),t&&d.some((e=>e.enabled))&&React.createElement(s.Z,{disabled:!n&&d.every((e=>!e.toggleable)),maxLength:b,onChange:g,message:f})))}},71961:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(65736),a=n(55609);const __=r.__,_n=r._n;function o(e){let{message:t="",onChange:n,disabled:o,maxLength:i}=e;const s=i-t.length;return React.createElement(a.TextareaControl,{value:t,onChange:n,disabled:o,maxLength:i,placeholder:__("Write a message for your audience here.","jetpack"),rows:4,help:(0,r.sprintf)(
+/* translators: placeholder is a number. */
+_n("%d character remaining","%d characters remaining",s,"jetpack"),s)})}},69709:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(90105),o=n(13419),i=n(65736),s=n(55609),l=n(37568),c=n(78619);const __=i.__;function u(){var e,t;const{refresh:n}=(0,l.Z)(),i=(0,o.lQ)(),u=(0,r.debounce)((function(e){e&&n()}),2e3),p=null!==(e=null===(t=(0,o.Pb)())||void 0===t?void 0:t.publicizeConnectionsUrl)&&void 0!==e?e:"https://wordpress.com/marketing/connections/",d=i?`${p}${i}`:"options-general.php?page=sharing&publicize_popup=true";return React.createElement(a.Z,{onChange:u},React.createElement("div",{className:c.Z["add-connection-wrapper"]},React.createElement(s.ExternalLink,{href:d,target:"_blank"},__("Connect an account","jetpack"))))}},68407:function(e,t,n){"use strict";n.d(t,{H8:function(){return l},nE:function(){return s}});var r=n(94333),a=n(9818),o=n(92694),i=n(36797);const s={"core/gallery":{contentAttributes:["images"]},"core/heading":{contentAttributes:["content"]},"core/image":{contentAttributes:["alt","url"]},"core/list":{contentAttributes:["values"]},"core/paragraph":{contentAttributes:["content"]},"core/quote":{contentAttributes:["value","citation"]},"core/separator":{contentAttributes:[]},"core/spacer":{contentAttributes:[]},"core/verse":{contentAttributes:["content"]},"core/video":{contentAttributes:["src"]},"core/embed":{contentAttributes:["url"]},"jetpack/gif":{contentAttributes:["giphyUrl"]}},l=["core/column","core/columns","core/group"];(0,o.addFilter)("blocks.registerBlockType","jetpack/publishing-tweetstorms",(e=>{const{edit:t}=e;return{...e,edit:e=>React.createElement(i.Z,{ChildEdit:t,childProps:e})}}));t.ZP=(0,r.compose)([(0,a.withSelect)((e=>({isTweetStorm:e("jetpack/publicize").isTweetStorm(),isTyping:e("core/block-editor").isTyping()})))])((e=>{let{isTweetStorm:t,isTyping:n}=e;return t?document.body.classList.add("jetpack-tweetstorm"):document.body.classList.remove("jetpack-tweetstorm"),t&&n?document.body.classList.add("jetpack-tweetstorm-is-typing"):document.body.classList.remove("jetpack-tweetstorm-is-typing"),null}))},63609:function(e,t,n){"use strict";var r=n(65736),a=n(55609),o=n(69307),i=n(94333),s=n(9818);n(42998);const __=r.__;t.Z=(0,i.compose)([(0,s.withSelect)((e=>{const{isTweetStorm:t,getTweetStorm:n}=e("jetpack/publicize");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),isTweetStorm:t(),tweetStormLength:n().length}})),(0,s.withDispatch)((e=>({setTweetstorm:t=>{e("core/editor").editPost({meta:{jetpack_is_tweetstorm:t}}),t?e("jetpack/publicize").refreshTweets():(e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm"),e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm-line-break"))}})))])((e=>{let{connections:t,isTweetStorm:n,tweetStormLength:r,setTweetstorm:i,prePublish:s}=e;const l=(0,o.useCallback)((e=>{i("tweetstorm"===e)}),[i]);if(null==t||!t.some((e=>"twitter"===e.service_name&&e.enabled)))return null;const c=(e,t)=>React.createElement(React.Fragment,null,React.createElement("strong",null,e),React.createElement("br",null),t),u=[];return r>=102?u.push({id:"jetpack-publicize-twitter-tweetstorm-too-long",status:"error",content:__("Only the first 100 tweets of this post will be published in the Twitter thread.","jetpack"),isDismissible:!1}):r>=22?u.push({id:"jetpack-publicize-twitter-tweetstorm-a-bit-long",status:"warning",content:__("This post will create a Twitter thread more than 20 tweets long.","jetpack"),isDismissible:!1}):s&&r<=2&&u.push({id:"jetpack-publicize-twitter-tweetstorm-too-short",status:"warning",content:__("None of the content in this post could be transformed into tweets, it may be better to share as a single tweet.","jetpack"),isDismissible:!1}),React.createElement(a.PanelRow,null,React.createElement(a.RadioControl,{label:__("Twitter settings","jetpack"),selected:n?"tweetstorm":"single",options:[{label:c(__("Single Tweet","jetpack"),__("Share a link to this post to Twitter.","jetpack")),value:"single"},{label:c(__("Twitter Thread","jetpack"),__("Share the content of this post as a Twitter thread.","jetpack")),value:"tweetstorm"}],onChange:l}),n&&React.createElement(a.NoticeList,{className:"jetpack-publicize-twitter-options__notices",notices:u}))}))},36797:function(e,t,n){"use strict";var r=n(92819),a=n(31020),o=n(55609),i=n(94333),s=n(9818),l=n(69307);n(42998);class c extends l.Component{componentDidMount(){const{isTweetStorm:e,updateTweets:t}=this.props;e&&t()}componentDidUpdate(e){const{boundaries:t,childProps:n,currentAnnotations:a,isTweetStorm:o,updateAnnotations:i,updateTweets:s,supportedBlockType:l,contentAttributesChanged:c}=this.props;o&&l&&(c(e.childProps,n)&&s(),a.length===t.filter((e=>["normal","line-break"].includes(e.type))).length&&(0,r.isEqual)(e.boundaries,t)||i())}render(){const{ChildEdit:e,childProps:t,isTweetStorm:n,isSelectedTweetBoundary:r,boundaryStylesSelectors:i,popoverWarnings:s}=this.props;return n?React.createElement(React.Fragment,null,React.createElement(e,t),r&&React.createElement("div",{className:"jetpack-publicize-twitter__tweet-divider"},React.createElement("div",{className:"jetpack-publicize-twitter__tweet-divider-icon"},React.createElement(a.av,{serviceName:"twitter"})),s.length>0&&React.createElement(o.Popover,{className:"jetpack-publicize-twitter__tweet-divider-popover",focusOnMount:!1,position:"bottom center"},React.createElement("ol",null,s.map(((e,t)=>React.createElement("li",{key:`jetpack-publicize-twitter__tweet-divider-popover-warning-${t}`},e)))))),i&&React.createElement("style",{type:"text/css"},i.map((e=>`${e}::after {\n\t\t\t\t\t\t\t\tcontent: "";\n\t\t\t\t\t\t\t\tbackground: #0009;\n\t\t\t\t\t\t\t\twidth: 3px;\n\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\tmargin: 0 1px;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.is-dark-theme ${e}::after {\n\t\t\t\t\t\t\t\tbackground: #fff9;\n\t\t\t\t\t\t\t}`)))):React.createElement(e,t)}}t.Z=(0,i.compose)([(0,s.withSelect)(((e,t)=>{let{childProps:n}=t;const{isTweetStorm:r,getPopoverWarnings:a,getBoundariesForBlock:o,getBoundaryStyleSelectors:i,isSelectedTweetBoundary:s,getSupportedBlockType:l,contentAttributesChanged:c}=e("jetpack/publicize"),u=e("core/annotations").__experimentalGetAllAnnotationsForBlock(n.clientId);return{isTweetStorm:r(),isSelectedTweetBoundary:s(n),boundaries:o(n.clientId),boundaryStylesSelectors:i(n.clientId),popoverWarnings:a(n),currentAnnotations:u,supportedBlockType:l(n.name),contentAttributesChanged:c}})),(0,s.withDispatch)(((e,t,n)=>{let{childProps:r}=t,{select:a}=n;return{updateTweets:()=>e("jetpack/publicize").refreshTweets(),updateAnnotations:()=>{const{contentAttributesChanged:t,getTweetsForBlock:n}=a("jetpack/publicize"),o=n(r.clientId);if(!o||0===o.length)return;if(t(o.reduce(((e,t)=>e||t.blocks.find((e=>e.clientId===r.clientId))),!1),r))return;a("core/annotations").__experimentalGetAllAnnotationsForBlock(r.clientId).forEach((t=>{["jetpack-tweetstorm","jetpack-tweetstorm-line-break"].includes(t.source)&&e("core/annotations").__experimentalRemoveAnnotation(t.id)}));o.filter((e=>e.boundary)).map((e=>e.boundary)).forEach((t=>{const{container:n,type:a,start:o,end:i}=t;"normal"===a?e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm",richTextIdentifier:n,range:{start:o,end:i}}):"line-break"===a&&e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm-line-break",richTextIdentifier:n,range:{start:o,end:i}})}))}}}))])(c)},86419:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(94333),a=n(12238),o=n(9818),i=n(69307);function s(e,t){const n=(0,o.useSelect)((e=>e(a.store).isPublishingPost()),[]),s=(0,r.usePrevious)(n);(0,i.useEffect)((()=>{s&&!n&&e()}),[n,s,e,t])}},37568:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9818);function a(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,r.useDispatch)("jetpack/publicize"),n=(0,r.useSelect)((e=>e("jetpack/publicize").getConnections()),[]),a=n.filter((e=>!e.enabled)).map((e=>e.id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:n&&n.some((e=>e.enabled)),skippedConnections:a,toggleById:t,refresh:e}}},48751:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9818),a=n(12238);function o(){const{editPost:e}=(0,r.useDispatch)(a.store),{message:t,maxLength:n}=(0,r.useSelect)((e=>({message:e("jetpack/publicize").getShareMessage(),maxLength:e("jetpack/publicize").getShareMessageMaxLength()})),[]);return{message:t,maxLength:n,updateMessage:function(t){e({meta:{jetpack_publicize_message:t}})}}}},13530:function(e,t,n){"use strict";n.r(t),n.d(t,{fetchFromAPI:function(){return s},getTwitterCards:function(){return u},refreshConnectionTestResults:function(){return a},refreshTweets:function(){return l},setTweets:function(){return c},setTwitterCards:function(){return p},toggleConnectionById:function(){return o},togglePublicizeFeature:function(){return i}});var r=n(9818);function a(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function o(e){return{type:"TOGGLE_CONNECTION_BY_ID",connectionId:e}}function i(){return{type:"TOGGLE_PUBLICIZE_FEATURE"}}function s(e){return{type:"FETCH_FROM_API",path:e}}function l(){return{type:"REFRESH_TWEETS"}}function c(e){return{type:"SET_TWEETS",tweets:e}}function u(e){const{twitterCardIsCached:t}=(0,r.select)("jetpack/publicize");return{type:"GET_TWITTER_CARDS",urls:e.filter((e=>!t(e)))}}function p(e){return{type:"SET_TWITTER_CARDS",cards:e}}},99376:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z={FETCH_FROM_API:e=>{let{path:t}=e;return a()({path:t})}}},43785:function(e,t,n){"use strict";var r=n(92819),a=n(86989),o=n.n(a),i=n(4981),s=n(9818),l=n(12238),c=n(13419),u=n(68407);const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const{getSupportedBlockType:t}=(0,s.select)("jetpack/publicize");return(0,r.flatMap)(e,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(e.name)||e.name.startsWith("core-embed/")?e:u.H8.includes(e.name)?p(e.innerBlocks):[]}))};const d=(0,r.throttle)((async function(){const e=(0,s.select)("core/editor").getBlocks(),t=p(e);try{const e=await o()({path:"/wpcom/v2/tweetstorm/parse",data:{blocks:t.map((e=>({attributes:e.attributes,block:(0,i.serialize)(e),clientId:e.clientId})))},method:"POST"}),n=(0,r.flatMap)(e,(e=>e.urls));return(0,s.dispatch)("jetpack/publicize").getTwitterCards(n),(0,s.dispatch)("jetpack/publicize").setTweets(e)}catch(e){}}),2e3,{leading:!0,trailing:!0});t.ZP={REFRESH_CONNECTION_TEST_RESULTS:async function(){try{var e,t;const n=null!==(e=null===(t=(0,c.Pb)())||void 0===t?void 0:t.connectionRefreshPath)&&void 0!==e?e:"/wpcom/v2/publicize/connection-test-results",r=await o()({path:n}),a=(0,s.select)("jetpack/publicize").getConnections(),i=r,u=[],p={done:!1,enabled:!0,toggleable:!0};for(const e of i){const t=a.find((t=>t.id===e.id)),{done:n,enabled:r,toggleable:o}=null!=t?t:p,i={display_name:e.display_name,service_name:e.service_name,id:e.id,profile_picture:e.profile_picture,done:n,enabled:r,toggleable:o};u.push(i)}return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:u})}catch(e){}},TOGGLE_CONNECTION_BY_ID:async function(e){let{connectionId:t}=e;const n=(0,s.select)("jetpack/publicize").getConnections().map((e=>({...e,enabled:e.id===t?!e.enabled:e.enabled})));return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:n})},TOGGLE_PUBLICIZE_FEATURE:async function(){const e=(0,s.select)("jetpack/publicize").getFeatureEnableState();return(0,s.dispatch)(l.store).editPost({meta:{jetpack_publicize_feature_enabled:!e}})},REFRESH_TWEETS:d,GET_TWITTER_CARDS:async function(e){if(0===e.urls.length)return(0,s.dispatch)("jetpack/publicize").setTwitterCards([]);try{const t=await o()({path:"/wpcom/v2/tweetstorm/generate-cards",data:{urls:e.urls},method:"POST"});return(0,s.dispatch)("jetpack/publicize").setTwitterCards(t)}catch(e){}}}},77771:function(e,t,n){"use strict";var r=n(9818),a=n(13530),o=n(34074),i=n(92479),s=n(99376),l=n(82726);const c=(0,r.registerStore)("jetpack/publicize",{actions:a,controls:s.Z,reducer:l.Z,selectors:o});(0,i.Z)(c)},92479:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(24274),a=n.n(r),o=n(92819),i=n(43785);function s(e){const t=[a()(i.ZP)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},82726:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={tweets:[],twitterCards:[]};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REFRESH_CONNECTION_TEST_RESULTS":case"TOGGLE_CONNECTION_BY_ID":case"TOGGLE_PUBLICIZE_FEATURE":return e;case"SET_TWEETS":return{...e,tweets:t.tweets};case"GET_TWITTER_CARDS":{const n={};return t.urls.forEach((e=>n[e]={error:"loading"})),{...e,twitterCards:{...e.twitterCards,...n}}}case"SET_TWITTER_CARDS":return{...e,twitterCards:{...e.twitterCards,...t.cards}}}return e}},34074:function(e,t,n){"use strict";n.r(t),n.d(t,{checkForTagsInContentAttributes:function(){return j},contentAttributesChanged:function(){return T},getBoundariesForBlock:function(){return _},getBoundaryStyleSelectors:function(){return S},getConnections:function(){return N},getFailedConnections:function(){return u},getFeatureEnableState:function(){return A},getFirstTweet:function(){return h},getLastTweet:function(){return f},getMustReauthConnections:function(){return p},getPopoverWarnings:function(){return x},getShareMessage:function(){return y},getShareMessageMaxLength:function(){return E},getSupportedBlockType:function(){return g},getTweetStorm:function(){return m},getTweetTemplate:function(){return d},getTweetsForBlock:function(){return b},getTwitterCardForURLs:function(){return v},isSelectedTweetBoundary:function(){return P},isTweetStorm:function(){return w},twitterCardIsCached:function(){return k}});var r=n(92819),a=n(95386),o=n(9818),i=n(65736),s=n(12238),l=n(68407);const __=i.__,c="\n\n"+__("A thread ⬇️","jetpack");function u(){return N().filter((e=>!1===e.test_success))}function p(){return N().filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function d(e){const t=e.connections||N(),n=null==t?void 0:t.find((e=>"twitter"===e.service_name));return{date:Date.now(),name:(null==n?void 0:n.profile_display_name)||__("Account Name","jetpack"),profileImage:(null==n?void 0:n.profile_picture)||"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:(null==n?void 0:n.display_name)||""}}function m(e){const t=d(e),n=[h(e),...e.tweets.slice(0,100).map((n=>({...t,text:n.text,media:n.media,tweet:n.tweet,urls:n.urls,card:v(e,n.urls)})))];return n.length>1&&n.push(f(e)),n}function h(e){var t,n,r,a;if(!(0,o.select)("core"))return;const i=d(e),{getMedia:s}=(0,o.select)("core"),{getEditedPostAttribute:l}=(0,o.select)("core/editor"),c=l("featured_media"),u=l("link"),p=c&&s(c),m=(null==p||null===(t=p.media_details)||void 0===t||null===(n=t.sizes)||void 0===n||null===(r=n.large)||void 0===r?void 0:r.source_url)||(null==p?void 0:p.source_url);return{...i,text:y()+` ${u}`,urls:[u],card:{title:l("title"),description:(null===(a=l("meta"))||void 0===a?void 0:a.advanced_seo_description)||l("excerpt")||l("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:u,image:m,type:m?"summary_large_image":"summary"}}}function f(e){if(!(0,o.select)("core/editor"))return;const{getEditedPostAttribute:t}=(0,o.select)("core/editor"),n=t("link"),r=e.tweets.length>100?__("The rest of this thread can be read here:","jetpack"):__("This thread can be read here:","jetpack");return{...h(e),text:`${r} ${n}`}}function g(e,t){if(l.nE[t])return l.nE[t]}const b=(0,a.Z)(((e,t)=>e.tweets.filter((e=>!!e.blocks.find((e=>e.clientId===t))))),(e=>[e.tweets]));function v(e,t){if(t)return t.reduce(((t,n)=>t||(e.twitterCards[n]&&!e.twitterCards[n].error?{url:n,...e.twitterCards[n]}:void 0)),void 0)}function k(e,t){return!!e.twitterCards[t]}function y(){const{getEditedPostAttribute:e}=(0,o.select)("core/editor"),t=e("meta"),n=e("title"),a=(0,r.get)(t,["jetpack_publicize_message"],"");return a?a.substr(0,E()):w()&&n?n.substr(0,E())+c:""}function E(){return w()?255-c.length:255}function w(){var e;return!(null===(e=(0,o.select)("core/editor").getEditedPostAttribute("meta"))||void 0===e||!e.jetpack_is_tweetstorm)}const _=(0,a.Z)(((e,t)=>{if(!w())return[];const n=b(e,t);return n&&0!==n.length?n.filter((e=>e.boundary)).map((e=>e.boundary)):[]}),(e=>[e.tweets]));function C(e,t){if(`block-${t}`===e.id)return`#block-${t}`;const n=e.parentNode,r=Array.prototype.indexOf.call(n.children,e);return C(n,t)+` > :nth-child( ${r+1} )`}const S=(0,a.Z)(((e,t)=>{const n=_(e,t),r=document.getElementById(`block-${t}`);return n.filter((e=>"end-of-line"===e.type)).map((e=>{if(!r)return!1;const n=r.getElementsByTagName("li").item(e.line);return!!n&&C(n,t)})).filter((e=>!!e))}),(e=>[e.tweets]));function j(e,t,n){var r;if(0===n.length)return!1;if(null===(r=g(0,t.name))||void 0===r||!r.contentAttributes)return!1;const a=new RegExp(`<(${n.join("|")})( |>|/>)`,"gi");return g(0,t.name).contentAttributes.reduce(((e,n)=>!!e||a.test(t.attributes[n])),!1)}const x=(0,a.Z)(((e,t)=>{const{isTyping:n,isDraggingBlocks:r,isMultiSelecting:a,hasMultiSelection:i,isCaretWithinFormattedText:s}=(0,o.select)("core/block-editor");if(!w())return[];if(n()||r()||a()||i()||s())return[];const c=[];return g(0,t.name)||l.H8[t.name]?("core/gallery"===t.name&&t.attributes.images.length>4&&c.push(__("Twitter displays the first four images.","jetpack")),j(0,t,["strong","bold","em","i","sup","sub","span","s"])&&c.push(__("Twitter removes all text formatting.","jetpack")),j(0,t,["a"])&&c.push(__("Links will be posted seperately.","jetpack"))):c.push(__("This block is not exportable to Twitter","jetpack")),c}),(e=>[e.tweets]));function P(e,t){const{isBlockSelected:n}=(0,o.select)("core/block-editor");if(!w())return!1;const r=g(0,t.name),a=b(e,t.clientId);if(!a||0===a.length)return!1;const i=a[a.length-1];return n(t.clientId)&&!r||i.blocks[i.blocks.length-1].clientId===t.clientId&&a.some((e=>e.blocks.some((e=>n(e.clientId)))))}function T(e,t,n){const a=g(0,n.name);if(!a)return!1;const o=a.contentAttributes;return!(0,r.isEqual)(o.map((e=>({attribute:e,content:t.attributes[e]}))),o.map((e=>({attribute:e,content:n.attributes[e]}))))}function N(){return(0,o.select)(s.store).getEditedPostAttribute("jetpack_publicize_connections")||[]}function A(){const{getEditedPostAttribute:e}=(0,o.select)(s.store),t=e("meta");return(0,r.get)(t,["jetpack_publicize_feature_enabled"],!0)}},13419:function(e,t,n){"use strict";n.d(t,{FK:function(){return c.FK},HD:function(){return c.HD},M6:function(){return o.M6},OZ:function(){return i.Z},Pb:function(){return r.Z},Qq:function(){return c.Qq},Rl:function(){return c.Rl},T:function(){return l.Z},Ug:function(){return o.Ug},Wp:function(){return o.Wp},X1:function(){return c.X1},_D:function(){return c._D},aQ:function(){return o.aQ},lQ:function(){return a.Z},m3:function(){return c.m3},o_:function(){return s.Z}});var r=n(50148),a=n(35004),o=n(99505),i=n(48052),s=n(76714),l=n(80354),c=n(75404)},50148:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(){var e,t;return"object"==typeof window&&null!==(e=null===(t=window)||void 0===t?void 0:t.Jetpack_Editor_Initial_State)&&void 0!==e?e:null}},48052:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(50148);function a(e){var t,n,a,o,i,s,l,c,u;const p=(0,r.Z)(),d=null!==(t=null==p||null===(n=p.available_blocks)||void 0===n||null===(a=n[e])||void 0===a?void 0:a.available)&&void 0!==t&&t,m=null!==(o=null==p||null===(i=p.available_blocks)||void 0===i||null===(s=i[e])||void 0===s?void 0:s.unavailable_reason)&&void 0!==o?o:"unknown",h=null!==(l=null==p||null===(c=p.available_blocks)||void 0===c||null===(u=c[e])||void 0===u?void 0:u.details)&&void 0!==l?l:[];return{available:d,...!d&&{details:h,unavailableReason:m}}}},35004:function(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,{Z:function(){return r}})},75404:function(e,t,n){"use strict";n.d(t,{FK:function(){return f},HD:function(){return g},Qq:function(){return u},Rl:function(){return m},X1:function(){return p},_D:function(){return d},m3:function(){return b}});var r=n(92819),a=n(96483),o=n(65736),i=n(99505),s=n(50148),l=n(48052),c=n(35004);const __=o.__;function u(e){let{planSlug:t,plan:n,postId:o,postType:s}=e;const l=(0,r.startsWith)(t,"jetpack_")?t:(0,r.get)(n,["path_slug"]),u=(void 0===s?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/admin.php`,{page:"gutenberg-edit-site",postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(s)?"":"edit";return(0,i.Wp)()?(0,a.addQueryArgs)("/"+(0,r.compact)([e,s,(0,c.Z)(),o]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:o,plan_upgraded:1})})();return(0,i.Ug)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,c.Z)()}`,{redirect_to:u,customerType:"business"}):l&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,c.Z)()}/${l}`,{redirect_to:u})}function p(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:r}=(0,l.Z)(t);return!n&&"missing_plan"===r}function d(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,l.Z)(t);return d(r,n)}const h=[{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 f(){return(0,r.get)((0,s.Z)(),"jetpack.enable_upgrade_nudge",!1)}const g=e=>(0,r.map)(h,"name").includes(e),b=e=>(0,r.head)((0,r.filter)(h,(t=>{let{name:n}=t;return n===e})))},76714:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98817),a=n(48052);function o(e,t){const{available:n,unavailableReason:o}=(0,a.Z)(e);return!!n&&(0,r.registerPlugin)(`jetpack-${e}`,t)}},99505:function(e,t,n){"use strict";n.d(t,{M6:function(){return s},Ug:function(){return i},Wp:function(){return o},aQ:function(){return l}});var r=n(50148);function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function i(){return"atomic"===a()}function s(){var e,t;const n=(0,r.Z)();return null!==(e=null==n||null===(t=n.jetpack)||void 0===t?void 0:t.is_private_site)&&void 0!==e&&e}function l(){var e,t;const n=(0,r.Z)();return null!==(e=null==n||null===(t=n.jetpack)||void 0===t?void 0:t.is_coming_soon)&&void 0!==e&&e}},80354:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(94333);t.Z=e=>(0,o.createHigherOrderComponent)((t=>n=>React.createElement(t,a()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},35182:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},84069:function(e,t,n){"use strict";var r=n(35182),a=n(6975);a.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),a.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=a.Z},37943:function(e,t,n){"use strict";var r=n(24381);t.Z={backgroundColor:{type:"string",validator:r.Z},textColor:{type:"string",validator:r.Z},buttonAndLinkColor:{type:"string",validator:r.Z},style:{type:"string",default:"small",validValues:["small","large"]},asin:{type:"string"},showImage:{default:!0,type:"boolean"},showTitle:{default:!0,type:"boolean"},showSeller:{default:!1,type:"boolean"},showPrice:{default:!0,type:"boolean"},showPurchaseButton:{default:!0,type:"boolean"}}},95216:function(e,t){"use strict";t.Z={products:[{title:"New York Biology Dead Sea Mud Mask for Face and Body - All Natural - Spa Quality Pore Reducer for Acne, Blackheads and Oily Skin - Tightens Skin for A Healthier Complexion - 8.8 oz",asin:"B01NCM25K7",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"New York Biology",detailPageUrl:"https://www.amazon.com/New-York-Biology-Dead-Mask/dp/B01NCM25K7?psc=1&SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B01NCM25K7",listPrice:"$14.95",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51asbRHNuVL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:62,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51asbRHNuVL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:133,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51asbRHNuVL.jpg",imageHeightLarge:500,imageWidthLarge:415,authorshipInfo:"New York Biology"},{title:"Face/Off",asin:"B002PT1KH6",productGroup:"Movie",authors:[],artists:[],actors:["John Travolta","Nicolas Cage","Joan Allen","Alessandro Nivola","Gina Gershon"],detailPageUrl:"https://www.amazon.com/Face-Off-John-Travolta/dp/B002PT1KH6?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B002PT1KH6",listPrice:"$9.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51TyrHec4QL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:50,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51TyrHec4QL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:107,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51TyrHec4QL.jpg",imageHeightLarge:500,imageWidthLarge:333,authorshipInfo:"Starring John Travolta, Nicolas Cage, Joan Allen, Alessandro Nivola, Gina Gershon"},{title:"PIXNOR Facial Cleansing Brush [Newest 2020], Waterproof Face Spin Brush with 7 Brush Heads for Deep Cleansing, Gentle Exfoliating, Removing Blackhead, Massaging(Pink)",asin:"B077ZW5YQP",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"PIXNOR",detailPageUrl:"https://www.amazon.com/PIXNOR-Cleansing-Waterproof-Exfoliating-Blackhead/dp/B077ZW5YQP?psc=1&SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B077ZW5YQP",listPrice:"$39.99",salePrice:"$22.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/41KQCaa1hjL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/41KQCaa1hjL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/41KQCaa1hjL.jpg",imageHeightLarge:500,imageWidthLarge:500,authorshipInfo:"PIXNOR"},{title:"BESTOPE Blackhead Remover Pimple Comedone Extractor Tool Best Acne Removal Kit - Treatment for Blemish, Whitehead Popping, Zit Removing for Risk Free Nose Face Skin with Metal Case",asin:"B019SVHLEY",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"Doctor PimplePopper",detailPageUrl:"https://www.amazon.com/BESTOPE-Blackhead-Remover-Comedone-Extractor/dp/B019SVHLEY?psc=1&SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B019SVHLEY",listPrice:"$7.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51QHC5fDdfL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51QHC5fDdfL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51QHC5fDdfL.jpg",imageHeightLarge:500,imageWidthLarge:500,authorshipInfo:"Doctor PimplePopper"},{title:"Welcome to the Jungle",asin:"B004L3L9PM",productGroup:"TV Series Episode Video on Demand",authors:[],artists:[],actors:[],detailPageUrl:"https://www.amazon.com/Welcome-to-the-Jungle/dp/B004L3L9PM?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B004L3L9PM",listPrice:"$2.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51KBv1L7lJL._SL75_.jpg",imageHeightSmall:56,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51KBv1L7lJL._SL160_.jpg",imageHeightMedium:120,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51KBv1L7lJL.jpg",imageHeightLarge:375,imageWidthLarge:500,authorshipInfo:""},{title:"Black Charcoal Mask - Face Peel Off Mask with Organic Bamboo and Vitamin C - Deep Cleansing Pore Blackhead Removal and Purifying Black Mask for Men and Women",asin:"B07V1MPG8N",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"O'linear",detailPageUrl:"https://www.amazon.com/Black-Charcoal-Mask-Cleansing-Blackhead/dp/B07V1MPG8N?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B07V1MPG8N",listPrice:"$7.49",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51QkF1BReJL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51QkF1BReJL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51QkF1BReJL.jpg",imageHeightLarge:500,imageWidthLarge:500,authorshipInfo:"O'linear"},{title:"Girl, Wash Your Face: Stop Believing the Lies about Who You Are So You Can Become Who You Were Meant to Be",asin:"1400201659",productGroup:"Book",authors:["Rachel Hollis"],artists:[],actors:[],manufacturer:"Thomas Nelson",detailPageUrl:"https://www.amazon.com/Girl-Wash-Your-Face-Believing/dp/1400201659?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=1400201659",listPrice:"$11.88",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51uuwa-5OgL._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:49,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51uuwa-5OgL._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:104,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51uuwa-5OgL.jpg",imageHeightLarge:500,imageWidthLarge:326,authorshipInfo:"By Rachel Hollis"},{title:"Death Dealers",asin:"B07F75BN4W",productGroup:"TV Series Episode Video on Demand",authors:[],artists:[],actors:[],detailPageUrl:"https://www.amazon.com/Death-Dealers/dp/B07F75BN4W?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B07F75BN4W",listPrice:"$1.99",authorshipInfo:""},{title:"eDiva Natural Jade Roller- Gua Sha - Lymphatic Drainage Tool for Face, Neck, Body - Anti Aging Treatment - Reduces Wrinkles and Fine Lines",asin:"B07HHF37F7",productGroup:"Beauty",authors:[],artists:[],actors:[],manufacturer:"eDiva",detailPageUrl:"https://www.amazon.com/eDiva-Natural-Jade-Roller-Gua/dp/B07HHF37F7?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B07HHF37F7",listPrice:"$49.95",salePrice:"$22.95",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/41DWi8-M92L._SL75_.jpg",imageHeightSmall:75,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/41DWi8-M92L._SL160_.jpg",imageHeightMedium:160,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/41DWi8-M92L.jpg",imageHeightLarge:500,imageWidthLarge:500,authorshipInfo:"eDiva"},{title:"Pack Leaders",asin:"B071GRS6R9",productGroup:"TV Series Episode Video on Demand",authors:[],artists:[],actors:["McKenzie Westmore","Ve Neill","Glenn Hetrick","Neville Page","Michael Westmore"],detailPageUrl:"https://www.amazon.com/Pack-Leaders/dp/B071GRS6R9?SubscriptionId=AKIAIA3UEVTLIG7AIKFA&tag=%5Bassociate-id-placeholder%5D&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B071GRS6R9",listPrice:"$2.99",imageUrlSmall:"https://images-na.ssl-images-amazon.com/images/I/51rP3BM0oxL._SL75_.jpg",imageHeightSmall:56,imageWidthSmall:75,imageUrlMedium:"https://images-na.ssl-images-amazon.com/images/I/51rP3BM0oxL._SL160_.jpg",imageHeightMedium:120,imageWidthMedium:160,imageUrlLarge:"https://images-na.ssl-images-amazon.com/images/I/51rP3BM0oxL.jpg",imageHeightLarge:375,imageWidthLarge:500,authorshipInfo:"Starring McKenzie Westmore, Ve Neill, Glenn Hetrick, Neville Page, Michael Westmore"}]}},48480:function(e,t,n){"use strict";var r=n(69307),a=n(99217),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(4981),u=n(15639),p=n(95216);const __=i.__;t.Z=(0,l.withNotices)((function(e){let{attributes:{backgroundColor:t,textColor:n,buttonAndLinkColor:a,asin:i,showImage:d,showTitle:m,showSeller:h,showPrice:f,showPurchaseButton:g},className:b,name:v,noticeUI:k,setAttributes:y}=e;const E=(0,c.getBlockDefaultClassName)(v),[w,_]=(0,r.useState)([]),C=/^(\d+)$|\(ASIN:(.+)\)$/,S=(0,r.createElement)(l.Placeholder,{label:__("Amazon","jetpack"),instructions:__("Search by entering an Amazon product name or ID below.","jetpack"),icon:u.Z,notices:k},(0,r.createElement)("form",null,(0,r.createElement)(l.FormTokenField,{value:i,suggestions:w,onInputChange:()=>{_(p.Z.products.map((e=>`${e.title} (ASIN:${e.asin})`)))},maxSuggestions:10,label:__("Products","jetpack"),onChange:e=>{const t=e.map((e=>{const t=C.exec(e),n=t[1]||t[2];return p.Z.products.filter((e=>e.asin===n))}));y({asin:t[0][0].asin})}}),(0,r.createElement)(l.Button,{variant:"secondary",type:"submit"},__("Preview","jetpack")))),j=(0,r.createElement)(s.InspectorControls,null,i&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.PanelBody,{title:__("Promotion Settings","jetpack")},(0,r.createElement)(l.ToggleControl,{label:__("Show Image","jetpack"),checked:d,onChange:()=>y({showImage:!d})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Title","jetpack"),checked:m,onChange:()=>y({showTitle:!m})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Author/Seller","jetpack"),checked:h,onChange:()=>y({showSeller:!h})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Price","jetpack"),checked:f,onChange:()=>y({showPrice:!f})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Purchase Button","jetpack"),checked:g,onChange:()=>y({showPurchaseButton:!g})})),(0,r.createElement)(s.PanelColorSettings,{title:__("Color Settings","jetpack"),colorSettings:[{value:t,onChange:e=>y({backgroundColor:e}),label:__("Background Color","jetpack")},{value:n,onChange:e=>y({textColor:e}),label:__("Text Color","jetpack")},{value:a,onChange:e=>y({buttonAndLinkColor:e}),label:__("Button & Link Color","jetpack")}]},(0,r.createElement)(s.ContrastChecker,{isLargeText:!1,textColor:n,backgroundColor:t}))));return(0,r.createElement)("div",{className:b},j,i?(()=>{const{title:e,detailPageUrl:s,listPrice:c,imageUrlMedium:b,imageWidthMedium:v,imageHeightMedium:k}=p.Z.products.filter((e=>e.asin===i))[0],y="TODO",w=b&&(0,r.createElement)("a",{target:"_blank",href:s,rel:"noopener noreferrer"},(0,r.createElement)("img",{alt:e,src:b,width:v,heigth:k})),_=o().mostReadable(a,["#ffffff"],{includeFallbackColors:!0,size:"small"}).toHexString();return i?(0,r.createElement)("div",{style:{backgroundColor:t,color:n,width:v}},d&&w,m&&(0,r.createElement)("div",{className:`${E}-title`},(0,r.createElement)(l.ExternalLink,{href:s,style:{color:a}},e)),h&&(0,r.createElement)("div",{className:`${E}-seller`},y),f&&(0,r.createElement)("div",{className:`${E}-list-price`},c),g&&(0,r.createElement)(l.Button,{href:s,icon:u.Z,variant:"primary",className:`${E}-button`,style:{color:_,backgroundColor:a,borderColor:a}},__("Shop Now","jetpack"))):null})():S)}))},15639:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{clipRule:"evenodd",d:"m13.958 10.09c0 1.232.029 2.256-.591 3.351-.502.891-1.301 1.438-2.186 1.438-1.214 0-1.922-.924-1.922-2.292 0-2.692 2.415-3.182 4.7-3.182v.685zm3.186 7.705c-.209.189-.512.201-.745.074-1.052-.872-1.238-1.276-1.814-2.106-1.734 1.767-2.962 2.297-5.209 2.297-2.66 0-4.731-1.641-4.731-4.925 0-2.565 1.391-4.309 3.37-5.164 1.715-.754 4.11-.891 5.942-1.095v-.41c0-.753.06-1.642-.383-2.294-.385-.579-1.124-.82-1.775-.82-1.205 0-2.277.618-2.54 1.897-.054.285-.261.567-.549.582l-3.061-.333c-.259-.056-.548-.266-.472-.66.704-3.716 4.06-4.838 7.066-4.838 1.537 0 3.547.41 4.758 1.574 1.538 1.436 1.392 3.352 1.392 5.438v4.923c0 1.481.616 2.13 1.192 2.929.204.287.247.63-.01.839-.647.541-1.794 1.537-2.423 2.099zm3.559 1.988c-2.748 1.472-5.735 2.181-8.453 2.181-4.027 0-7.927-1.393-11.081-3.706-.277002-.202-.481003.154-.251003.416 2.925003 3.326 6.786003 5.326 11.076003 5.326 3.061 0 6.614-1.214 9.066-3.494.406-.377.058-.945-.357-.723zm.67 2.216c-.091.227.104.32.31.147 1.339-1.12 1.685-3.466 1.411-3.804-.272-.336-2.612-.626-4.04.377-.22.154-.182.367.062.337.805-.096 2.595-.312 2.913.098.319.41-.355 2.094-.656 2.845z",fillRule:"evenodd"}))},43090:function(e,t,n){"use strict";n.d(t,{Xd:function(){return u},u2:function(){return l}});var r=n(65736),a=n(37943),o=n(48480),i=n(15639),s=n(70355);const __=r.__,l="amazon",c=__("Amazon","jetpack"),u={attributes:a.Z,title:c,description:__("Promote Amazon products and earn a commission from sales.","jetpack"),icon:{src:i.Z,foreground:(0,s.m)()},category:"earn",keywords:[__("amazon","jetpack"),__("affiliate","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:o.Z,save:()=>null,example:{attributes:{}}}},26881:function(e,t,n){"use strict";n.d(t,{F:function(){return d},J:function(){return p}});var r=n(4981),a=n(9818),o=n(65736),i=n(70355),s=n(6598);const _x=o._x,__=o.__;function l(e){let{spotifyShowUrl:t,spotifyImageUrl:n}=e;return[["core/image",{url:n,linkDestination:"none",href:t,align:"center",width:165,height:40,className:"is-spotify-podcast-badge"}]]}function c(e){let{episodeTrack:t,feedUrl:n}=e;const{guid:r}=t;return[["jetpack/podcast-player",{customPrimaryColor:(0,i.m)(),hexPrimaryColor:(0,i.m)(),url:n,selectedEpisodes:r?[{guid:r}]:[],showCoverArt:!1,showEpisodeTitle:!1,showEpisodeDescription:!1}]]}function u(e){let{spotifyShowUrl:t,spotifyImageUrl:n,episodeTrack:o={},feedUrl:i}=e;const s=[...c({episodeTrack:o,feedUrl:i})];return t&&n&&s.push(...l({spotifyShowUrl:t,spotifyImageUrl:n})),s.push(...function(e){let{episodeTrack:t}=e;const n=[["core/heading",{level:3,content:_x("Summary","noun: summary of a podcast episode","jetpack"),placeholder:__("Podcast episode title","jetpack")}]],a=(0,r.pasteHandler)({HTML:t.description_html,mode:"BLOCKS"});return a.length?n.push(...a):n.push(["core/paragraph",{placeholder:__("Podcast episode summary","jetpack")}]),n}({episodeTrack:o})),s.push(...function(){const e="jetpack/conversation";return(0,a.select)("core/blocks").getBlockType(e)?[[e,{participants:[{slug:"participant-0",label:__("Speaker 1","jetpack")},{slug:"participant-1",label:__("Speaker 2","jetpack")},{slug:"participant-2",label:__("Speaker 3","jetpack")}]},[["core/heading",{level:3,content:__("Transcription","jetpack"),placeholder:__("Podcast episode transcription","jetpack")}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-0"}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-1"}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-2"}]]]]:[["core/heading",{level:3,content:__("Transcription","jetpack"),placeholder:__("Podcast episode transcription","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}]]}()),s}function p(e){return(0,s.Z)(u(e))}function d(e){if(e.spotifyImageUrl&&e.spotifyShowUrl)return(0,s.Z)([...l(e)])}},50756:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(55609),u=n(92819);const __=l.__,p="09:00",d="17:00";class m extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,{opening:r,closing:a}=e;return(0,o.createElement)(o.Fragment,{key:t},(0,o.createElement)("div",{className:"business-hours__row"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.TextControl,{type:"time",label:__("Opening","jetpack"),value:r,className:"business-hours__open",placeholder:p,onChange:e=>{this.setHour(e,"opening",t)}}),(0,o.createElement)(c.TextControl,{type:"time",label:__("Closing","jetpack"),value:a,className:"business-hours__close",placeholder:d,onChange:e=>{this.setHour(e,"closing",t)}})),(0,o.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,o.createElement)(c.Button,{isSmall:!0,variant:"link",icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,o.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")}," "),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.Button,{variant:"link",label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,o.createElement)("div",{className:"business-hours__remove"}," ")))})),a()(this,"setHour",((e,t,n)=>{const{day:r,attributes:a,setAttributes:o}=this.props,{days:i}=a;o({days:i.map((a=>a.name===r.name?{...a,hours:a.hours.map(((r,a)=>a===n?{...r,[t]:e}:r))}:a))})})),a()(this,"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:p,closing:d}]:[];return{...n,hours:t}}return n}))})})),a()(this,"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))})})),a()(this,"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,u.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,o.createElement)(c.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,o.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,o.createElement)("div",{className:s()(e.name,"business-hours__day")},this.renderDayToggle()),(0,o.createElement)("div",{className:s()(e.name,"closed","business-hours__hours")}," "),(0,o.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}t.Z=m},80190:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(69771),l=n(92819);const _x=i._x;class c extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,r=n.hours;return(0,o.createElement)("span",{key:t},(0,i.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),r.length>1+t&&(0,o.createElement)("span",null,", "))}))}formatTime(e){const{timeFormat:t}=this.props,[n,r]=e.split(":"),a=new Date;return!(!n||!r)&&(a.setHours(n),a.setMinutes(r),(0,s.date)(t,a))}render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,o.createElement)("div",{className:"jetpack-business-hours__item"},(0,o.createElement)("dt",{className:e.name},t.days[e.name]),(0,o.createElement)("dd",null,(0,l.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,o.createElement)("br",null)))}}t.Z=c},86162:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(65235),p=n.n(u),d=n(65736),m=n(69771),h=n(55609),f=n(50756),g=n(80190),b=n(96405);const __=d.__,v={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0};class k extends s.Component{constructor(){super(...arguments),i()(this,"state",{localization:v,hasFetched:!1})}componentDidMount(){this.apiFetch()}apiFetch(){this.setState({data:v},(()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{this.setState({localization:e,hasFetched:!0})}),(()=>{this.setState({localization:v,hasFetched:!0})}))}))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{days:r}=e,{localization:o,hasFetched:i}=this.state,{startOfWeek:l}=o,c=r.concat(r.slice(0,l)).slice(l);if(!i)return(0,s.createElement)(h.Placeholder,{icon:b.qv,label:__("Loading business hours","jetpack")});if(!n){const e=(0,m.__experimentalGetSettings)(),{formats:{time:n}}=e;return(0,s.createElement)("dl",{className:p()(t,"jetpack-business-hours")},c.map(((e,t)=>(0,s.createElement)(g.Z,{key:t,day:e,localization:o,timeFormat:n}))))}return(0,s.createElement)("div",{className:p()(t,"is-edit")},c.map(((e,t)=>(0,s.createElement)(f.Z,a()({key:t,day:e,localization:o},this.props)))))}}t.Z=k},96405:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},qv:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(86162),s=n(36598),l=n(70355);const __=a.__,_x=a._x,c=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],u="business-hours",p=(0,s.Z)((0,r.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),d={title:__("Business Hours","jetpack"),description:__("Display opening hours for your business.","jetpack"),icon:{src:p,foreground:(0,l.m)()},category:"grow",supports:{html:!0,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0},align:["wide","full"]},keywords:[_x("opening hours","block search term","jetpack"),_x("closing time","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("working day","block search term","jetpack")],attributes:{days:{type:"array",default:c}},edit:e=>(0,r.createElement)(i.Z,e),save:()=>null,example:{attributes:{days:c}}}},98625:function(e,t,n){"use strict";var r=n(92819),a=n(55609);const o=(0,a.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:a}=t,o=(0,r.get)(n,"color"),i=!(0,r.get)(a,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:a||!i?void 0:getComputedStyle(i).color}}));t.Z=o},70424:function(e,t,n){"use strict";var r=n(24381);t.Z={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.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:r.Z},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},43043:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(90446);const __=o.__;function s(e){let{borderRadius:t="",setAttributes:n}=e;const o=(0,r.useCallback)((e=>n({borderRadius:e})),[n]);return(0,r.createElement)(a.PanelBody,{title:__("Border Settings","jetpack")},(0,r.createElement)(a.RangeControl,{allowReset:!0,initialPosition:i.pg,label:__("Border radius","jetpack"),max:i.Gp,min:i.G0,onChange:o,value:t}))}},36953:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(65736);const __=o.__;function i(e){let{isGradientAvailable:t,backgroundColor:n,fallbackBackgroundColor:o,fallbackTextColor:i,gradientValue:s,setBackgroundColor:l,setGradient:c,setTextColor:u,textColor:p}=e;const d=(0,r.createElement)(a.ContrastChecker,{backgroundColor:n.color,fallbackBackgroundColor:o,fallbackTextColor:i,isLargeText:!1,textColor:p.color});return t?(0,r.createElement)(a.__experimentalPanelColorGradientSettings,{settings:[{colorValue:p.color,label:__("Text Color","jetpack"),onColorChange:u},{colorValue:n.color,gradientValue:s,label:__("Background","jetpack"),onColorChange:l,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,r.createElement)(a.PanelColorSettings,{colorSettings:[{value:p.color,onChange:u,label:__("Text Color","jetpack")},{value:n.color,onChange:l,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},91947:function(e,t,n){"use strict";n.d(t,{Z:function(){return p},h:function(){return d}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=[{value:"px",label:"px",default:150},{value:"%",label:"%",default:100},{value:"em",label:"em",default:10}],c=[{value:"px",label:"px",default:150},{value:"em",label:"em",default:10}],u=["25%","50%","75%","100%"];function p(e){return(0,r.createElement)(i.PanelBody,{title:__("Width settings","jetpack")},(0,r.createElement)(d,e))}function d(e){let{align:t,width:n,onChange:a}=e;const[s,p]=(0,r.useState)(null);(0,r.useEffect)((()=>{void 0===n&&p("px")}),[n]);const d="left"===t||"right"===t;return(0,r.createElement)(i.BaseControl,{label:__("Button width","jetpack")},(0,r.createElement)("div",{className:o()("jetpack-button__width-settings",{"is-aligned":d})},!d&&(0,r.createElement)(i.ButtonGroup,{"aria-label":__("Percentage Width","jetpack")},u.map((e=>(0,r.createElement)(i.Button,{key:e,isSmall:!0,variant:e===n?"primary":void 0,onClick:()=>function(e){const t=n===e?void 0:e;p("%"),a(t)}(e)},e)))),(0,r.createElement)(i.__experimentalUnitControl,{className:"jetpack-button__custom-width",isResetValueOnUnitChange:!0,max:"%"===s||null!=n&&n.includes("%")?100:void 0,min:0,onChange:e=>a(e),onUnitChange:e=>p(e),size:"small",units:d?c:l,value:n,unit:s})))}},90446:function(e,t,n){"use strict";n.d(t,{DA:function(){return a},G0:function(){return s},Gp:function(){return i},pg:function(){return o}});var r=n(52175);const a=!!r.__experimentalUseGradient,o=5,i=50,s=0},29343:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(43043),o=n(36953),i=n(91947);function s(e){let{attributes:t,backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,setAttributes:c,setBackgroundColor:u,setTextColor:p,textColor:d,gradientValue:m,setGradient:h,isGradientAvailable:f}=e;const{align:g,borderRadius:b,width:v}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,gradientValue:m,setBackgroundColor:u,setGradient:h,setTextColor:p,textColor:d,isGradientAvailable:f}),(0,r.createElement)(a.Z,{borderRadius:b,setAttributes:c}),(0,r.createElement)(i.Z,{align:g,width:v,onChange:e=>c({width:e})}))}},5501:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(52175),c=n(94333),u=n(65736),p=n(98625),d=n(29343),m=n(90446),h=n(16969);const __=u.__;t.Z=(0,c.compose)((0,l.withColors)({backgroundColor:"background-color"},{textColor:"color"}),p.Z)((function(e){const{attributes:t,backgroundColor:n,className:r,clientId:i,setAttributes:c,textColor:u}=e,{align:p,borderRadius:f,element:g,placeholder:b,text:v,width:k}=t,y=(e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current})(p);(0,h.Z)({attributes:t,clientId:i,setAttributes:c}),(0,o.useEffect)((()=>{y!==p&&("left"===p||"right"===p)&&null!=k&&k.includes("%")&&c({width:void 0})}),[p,y,c,k]);const{gradientClass:E,gradientValue:w,setGradient:_}=m.DA?(0,l.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},C=s()("wp-block-button",r),S=s()("wp-block-button__link",{"has-background":n.color||w,[n.class]:!w&&n.class,"has-text-color":u.color,[u.class]:u.class,[E]:E,"no-border-radius":0===f,"has-custom-width":!!k}),j={...!n.color&&w?{background:w}:{backgroundColor:n.color},color:u.color,borderRadius:f?f+"px":void 0,width:k};return(0,o.createElement)("div",{className:C},(0,o.createElement)(l.RichText,{allowedFormats:"input"===g?[]:void 0,className:S,disableLineBreaks:"input"===g,onChange:e=>c({text:e}),placeholder:b||__("Add text…","jetpack"),style:j,value:v,withoutInteractiveFormatting:!0}),(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(d.Z,a()({gradientValue:w,setGradient:_,isGradientAvailable:m.DA},e))))}))},26361:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(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"}))},77123:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(65736),a=n(70424),o=n(5501),i=n(26361),s=n(29586),l=n(5820);const __=r.__,c="button",u={title:__("Button","jetpack"),icon:i.Z,category:(0,l.Z)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"]},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:a.Z,edit:o.Z,save:s.Z}},29586:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(90446);function l(e){let{attributes:t,blockName:n,uniqueId:a}=e;const{backgroundColor:l,borderRadius:c,className:u,customBackgroundColor:p,customGradient:d,customTextColor:m,gradient:h,saveInPostContent:f,text:g,textColor:b,url:v,width:k}=t;if(!f)return null;const y=(0,i.getColorClassName)("background-color",l),E=s.DA?(0,i.__experimentalGetGradientClass)(h):void 0,w=(0,i.getColorClassName)("color",b),_=o()("wp-block-button","jetpack-submit-button",u,{[`wp-block-jetpack-${n}`]:n}),C=o()("wp-block-button__link",{"has-text-color":b||m,[w]:w,"has-background":l||h||p||d,[y]:y,[E]:E,"no-border-radius":0===c,"has-custom-width":!!k}),S={background:d||void 0,backgroundColor:y||d||h?void 0:p,color:w?void 0:m,borderRadius:c?c+"px":void 0,width:k};return(0,r.createElement)("div",{className:_},(0,r.createElement)(i.RichText.Content,{className:C,"data-id-attr":a||"placeholder",href:v,id:a,rel:"noopener noreferrer",role:"button",style:S,tagName:"a",target:"_blank",value:g}))}},16969:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(9818),o=n(69307);function i(e){let{attributes:t,clientId:n,setAttributes:i}=e;const{passthroughAttributes:s}=t,{attributesToSync:l}=(0,a.useSelect)((e=>{const{getBlockAttributes:a,getBlockRootClientId:o}=e("core/block-editor"),i=a(o(n))||{},l=(0,r.mapValues)(s,(e=>i[e]));return{attributesToSync:(0,r.pickBy)(l,((e,n)=>e!==t[n]))}}));(0,o.useEffect)((()=>{(0,r.isEmpty)(l)||i(l)}),[l,i])}},81340:function(e,t,n){"use strict";var r=n(24381);t.Z={backgroundColor:{type:"string",default:"ffffff",validator:r.Z},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:r.Z},textColor:{type:"string",default:"4D5055",validator:r.Z},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")}}},60153:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(57538);const __=i.__,_x=i._x,l=e=>{let{onEditClick:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{onClick:()=>t(!0)},__("Edit","jetpack")))},c=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:a,embedCode:i,parseEmbedCode:s,setAttributes:l,setEmbedCode:c}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:s,className:`${a}-embed-form-sidebar`},(0,r.createElement)("input",{type:"text",id:"embedCode",onChange:e=>c(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})})),n&&(0,r.createElement)(o.Notice,{className:`${a}-color-notice`,isDismissible:!1},(0,r.createElement)(o.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},__("Follow these instructions to change the colors in this block.","jetpack"))))};t.ZP=e=>{const{attributes:t,clientId:n,isEditingUrl:o,setAttributes:i,setIsEditingUrl:u}=e,{style:p,url:d}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,r.createElement)(r.Fragment,null,d&&!o&&(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(l,{onEditClick:u})),d&&(0,r.createElement)(s.Z,{clientId:n,styleOptions:m,onSelectStyle:i,activeStyle:p,attributes:t,viewportWidth:500}),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(c,e)))}},83830:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(24381);const __=o.__;t.Z={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:i.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:i.Z},textColor:{type:"string",default:"4D5055",validator:i.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:i.Z},customTextButtonColor:{type:"string",validator:i.Z}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:r,submitButtonClasses:o,backgroundButtonColor:i,textButtonColor:s,customBackgroundButtonColor:l,customTextButtonColor:c,...u}=e,p={text:(d=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:d.submitButtonTextColor||d.textButtonColor,customTextColor:d.customTextButtonColor,backgroundColor:d.submitButtonBackgroundColor||d.backgroundButtonColor,customBackgroundColor:d.customBackgroundButtonColor,url:d.url};var d;return[u,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...p})]]},save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)}}},29415:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(92819),s=n(40230),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(9818),m=n(70176),h=n(81340),f=n(4554),g=n(4867),b=n(50785),v=n(23621),k=n(60153);const __=u.__,_x=u._x;t.Z=(0,c.withNotices)((function(e){const{attributes:t,className:n,clientId:r,name:u,noticeOperations:y,noticeUI:E,setAttributes:w}=e,_=(0,p.getBlockDefaultClassName)(u),C=(0,f.S)(h.Z,t);(0,i.isEqual)(C,t)||w(C);const{backgroundColor:S,hideEventTypeDetails:j,primaryColor:x,textColor:P,style:T,url:N}=C,[A,I]=(0,o.useState)(N),[B,M]=(0,o.useState)(!1),[R,L]=(0,o.useState)(!1),[Z,D]=(0,o.useState)({}),F=()=>{y.removeAllNotices(),y.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,o.useEffect)((()=>{N&&b.lR!==N&&"link"!==T&&(0,v.Z)(N,L).catch((()=>{w({url:void 0}),F()}))}),[]);const z=e=>{if(!e)return void F();e.preventDefault();const t=(0,g.CC)(A);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,d.select)("core/editor").getBlocksByClientId(r);e.length&&e[0].innerBlocks.forEach((e=>{(0,d.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),D(t.buttonAttributes)}(0,v.Z)(t.url,L).then((()=>{const e=(0,f.S)(h.Z,t);w(e),M(!1),y.removeAllNotices()})).catch((()=>{w({url:void 0}),F()}))}else F()},O=(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(c.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack"))),U=(0,o.createElement)(c.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:m.Z,notices:E},(0,o.createElement)("form",{onSubmit:z},(0,o.createElement)("input",{type:"text",id:"embedCode",onChange:e=>I(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:A||"",className:"components-placeholder__input"}),(0,o.createElement)("div",null,(0,o.createElement)(c.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,o.createElement)("div",{className:`${_}-learn-more`},(0,o.createElement)(c.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),$=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:`${_}-overlay`}),(0,o.createElement)("iframe",{src:(()=>{const e=s.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:j?1:0,background_color:S,primary_color:x,text_color:P});return`${N}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),H=(0,o.createElement)(l.InnerBlocks,{template:[[b.Ss.name,{...b.Ss.attributes,...Z,passthroughAttributes:{url:"url"}}]],templateLock:"all"});if(R)return O;let V=n;return N&&!B&&(V+=` calendly-style-${T}`),(0,o.createElement)("div",{className:V},(0,o.createElement)(k.ZP,a()({},e,{defaultClassName:_,embedCode:A,isEditingUrl:B,parseEmbedCode:z,setEmbedCode:I,setIsEditingUrl:M})),N&&!B?"inline"===T?$:H:U)}))},70176:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19,1h-2.3v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H8.6v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H4C1.8,1,0,2.8,0,5 v15c0,2.2,1.8,4,4,4h15c2.2,0,4-1.8,4-4V5C23,2.8,21.2,1,19,1z M21,20c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V5c0-1.1,0.9-2,2-2h2.6 v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3h6.1v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3H19c1.1,0,2,0.9,2,2V20z M13.9,14.8l1.4,1.4 c-0.9,0.9-2.1,1.3-3.5,1.3c-2.4,0-4.5-2.1-4.5-4.7s2.1-4.7,4.5-4.7c1.4,0,2.5,0.4,3.4,1.1L14,10.9c-0.5-0.4-1.2-0.6-2.1-0.6 c-1.2,0-2.5,1.1-2.5,2.7c0,1.6,1.3,2.7,2.5,2.7C12.7,15.5,13.4,15.3,13.9,14.8z"}))},50785:function(e,t,n){"use strict";n.d(t,{Ss:function(){return m},Xd:function(){return f},lR:function(){return d},u2:function(){return h}});var r=n(65736),a=n(4981),o=n(81340),i=n(83830),s=n(29415),l=n(70176),c=n(15816),u=n(4867),p=n(70355);const __=r.__,_x=r._x,d="https://calendly.com/wpcom/jetpack-block-example",m={name:"jetpack/button",attributes:{element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:d}},h="calendly",f={title:__("Calendly","jetpack"),description:__("Embed a calendar for customers to schedule appointments","jetpack"),icon:{src:l.Z,foreground:(0,p.m)()},category:"grow",keywords:[_x("calendar","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack"),_x("events","block search term","jetpack"),_x("dates","block search term","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:s.Z,save:c.Z,attributes:o.Z,example:{attributes:{hideEventTypeDetails:!1,style:"inline",url:d},innerBlocks:[m]},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&u.mL.test(e.textContent),transform:e=>{const t=(0,u.CC)(e.textContent);return(0,a.createBlock)("jetpack/calendly",t)}}]},deprecated:[i.Z]}},15816:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null))}},4867:function(e,t,n){"use strict";n.d(t,{CC:function(){return a},mL:function(){return r}});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"),o=r.get("primary_color"),i=r.get("text_color"),s=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(s)&&(t.backgroundColor=a),o&&o.match(s)&&(t.primaryColor=o),i&&i.match(s)&&(t.textColor=i),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}},99837:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Message Sent","jetpack")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0}}},39549:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "<error />".',"jetpack"),{error:(0,r.createElement)("span",null,t)}))}},57586:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(39549);const __=s.__,c=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:s,crmData:c,setCRMData:u}=e;const p=((e,t,n,r)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},n);t.jp_form_ext_enabled=!0,r(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(n,s,c,u);return t?(0,r.createElement)(i.Spinner,null):a?(0,r.createElement)(l.Z,{error:a}):(0,r.createElement)(i.Button,{variant:"secondary",onClick:p},__("Enable Jetpack Forms Extension","jetpack"))},u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack"));t.Z=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s}=e;return i.can_activate_extension?(0,r.createElement)("div",null,(0,r.createElement)(p,null),(0,r.createElement)("br",null),(0,r.createElement)(c,{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s})):(0,r.createElement)(u,null)}},87459:function(e,t,n){"use strict";var r=n(69307),a=n(55589),o=n.n(a),i=n(55609),s=n(65736),l=n(57586),c=n(45092);const __=s.__,u=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack")),d=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack")),m=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(i.Button,{variant:"secondary",icon:(0,r.createElement)(i.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},h=e=>{let{installAndActivateCRMPlugin:t,isInstalling:n}=e,a=(0,r.createElement)(i.Button,{variant:"secondary",onClick:t},__("Install Jetpack CRM","jetpack"));return n&&(a=(0,r.createElement)(m,null)),(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack"),(0,r.createElement)("br",null),a))},f=e=>{let{activateCRMPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},(0,r.createElement)("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(m,{isActivating:!0}),!n&&(0,r.createElement)(i.Button,{variant:"secondary",onClick:t},__("Activate the Jetpack CRM plugin","jetpack")))},g=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:s}=e;const[c,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)(!1);return t.jp_form_ext_enabled?o().satisfies(o().coerce(t.crm_version),"3.0.19 - 4.0.0")?(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack")):(0,r.createElement)(i.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack"),checked:a,onChange:e=>s({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack")}):(0,r.createElement)(l.Z,{isActivatingExt:c,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:n})};t.Z=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i,onCRMPluginClick:s,isInstalling:l}=e;const m=o().coerce(t.crm_version);if(t.crm_installed&&!m)return(0,r.createElement)(p,null);if(t.crm_installed&&o().lt(m,"4.9.1"))return(0,r.createElement)(d,null);let b=u.NOT_INSTALLED;return t.crm_active?b=u.ACTIVE:t.crm_installed&&(b=u.INSTALLED),(0,r.createElement)("div",{"aria-live":"polite"},u.ACTIVE===b&&(0,r.createElement)(g,{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}),u.INSTALLED===b&&(0,r.createElement)(f,{activateCRMPlugin:()=>s(c.bu,"zero-bs-crm/ZeroBSCRM"),isInstalling:l}),u.NOT_INSTALLED===b&&(0,r.createElement)(h,{installAndActivateCRMPlugin:()=>s(c.yX,"zero-bs-crm"),isInstalling:l}))}},38101:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(87459);const __=s.__,c=(e,t,n)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((n=>{if(n.error)throw n.message;e(!1),t(n)})).catch((()=>e(!0))).finally((()=>n(!1)))},u=e=>{let{isFetchingCRMData:t,hasCRMDataError:n,crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c,onCRMPluginClick:u,isInstalling:p}=e;return t?(0,r.createElement)(i.Spinner,null):n?null:(0,r.createElement)(l.Z,{crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c,onCRMPluginClick:u,isInstalling:p})};t.Z=e=>{let{jetpackCRM:t,setAttributes:n}=e;const[a,o]=(0,r.useState)(!0),[s,l]=(0,r.useState)(!1),[p,d]=(0,r.useState)(),[m,h]=(0,r.useState)(!1),f=(0,r.useCallback)(((e,t)=>{h(!0),e(t).catch((()=>{l(!0)})).finally((()=>{h(!1),o(!0),c(l,d,o)}))}),[h,l,o]);return(0,r.useEffect)((()=>{c(l,d,o)}),[]),(0,r.createElement)(i.PanelBody,{title:__("CRM Integration","jetpack"),initialOpen:!1},(0,r.createElement)(i.BaseControl,null,(0,r.createElement)(u,{isFetchingCRMData:a,hasCRMDataError:s,crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:n,isInstalling:m,onCRMPluginClick:f})))}},55740:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(15642),c=n(26588);const __=a.__;t.Z=(0,s.withInstanceId)((function(e){const{id:t,instanceId:n,required:a,label:s,setAttributes:u,width:p,defaultValue:d}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-checkbox-${n}`,className:"jetpack-field jetpack-field-checkbox",label:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:d}),(0,r.createElement)(l.Z,{required:a,label:s,setAttributes:u}),(0,r.createElement)(c.Z,{id:t,required:a,width:p,setAttributes:u}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Checkbox Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Checked by default","jetpack"),checked:d,onChange:e=>u({defaultValue:e?"true":""})}))))})}))},82150:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(15642),c=n(50686),u=n(98677);const __=a.__;t.Z=(0,s.withInstanceId)((e=>{var t;let{id:n,instanceId:s,width:p,consentType:d,implicitConsentMessage:m,explicitConsentMessage:h,setAttributes:f}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-consent-${s}`,className:"jetpack-field jetpack-field-consent",label:(0,r.createElement)(r.Fragment,null,"explicit"===d&&(0,r.createElement)("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),(0,r.createElement)(l.Z,{required:!1,label:null!==(t={implicit:m,explicit:h}[d])&&void 0!==t?t:"",setAttributes:f,labelFieldName:`${d}ConsentMessage`,placeholder:(0,a.sprintf)(
/* translators: placeholder is a type of consent: implicit or explicit */
-__("Add %s consent message…","jetpack"),d)}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(c.Z,{setAttributes:f,width:p}))),(0,r.createElement)(i.InspectorAdvancedControls,null,(0,r.createElement)(u.Z,{setAttributes:f,id:n})),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Consent Settings","jetpack")},(0,r.createElement)(o.BaseControl,null,(0,r.createElement)(o.SelectControl,{label:__("Permission to email","jetpack"),value:d,options:[{label:__("Mention that you can email","jetpack"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack"),value:"explicit"}],onChange:e=>f({consentType:e})})))))})}))},8523:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(41632),l=n(84803),c=n(10745);const __=a.__;t.Z=e=>{let{setAttributes:t,width:n,id:a,required:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(i.ToolbarGroup,null,(0,r.createElement)(i.ToolbarButton,{title:__("Required","jetpack"),icon:(0,s.Z)((0,r.createElement)(i.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{t({required:!u})},className:u?"is-pressed":void 0}))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Field is required","jetpack"),className:"jetpack-field-label__required",checked:u,onChange:e=>t({required:e}),help:__("Does this field have to be completed for the form to be submitted?","jetpack")}),(0,r.createElement)(l.Z,{setAttributes:t,width:n}))),(0,r.createElement)(o.InspectorAdvancedControls,null,(0,r.createElement)(c.Z,{setAttributes:t,id:a})))}},10745:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,id:n}=e;return(0,r.createElement)(o.TextControl,{label:__("Unique CSS ID","jetpack"),value:n,onChange:e=>t({id:e}),help:__("A unique ID that can be used in CSS or as an anchor.","jetpack")})}},80500:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175);const __=a.__;t.Z=e=>{let{setAttributes:t,label:n,labelFieldName:a,placeholder:i,resetFocus:s,required:l}=e;return(0,r.createElement)("div",{className:"jetpack-field-label"},(0,r.createElement)(o.RichText,{tagName:"label",value:n,className:"jetpack-field-label__input",onChange:e=>{s&&s(),t(a?{[a]:e}:{label:e})},placeholder:null!=i?i:__("Add label…","jetpack"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),l&&(0,r.createElement)("span",{className:"required"},__("(required)","jetpack")))}},56764:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(80500),l=n(29110),c=n(8523);const __=a.__;t.Z=(0,i.withInstanceId)((function(e){const{id:t,type:n,instanceId:a,required:i,label:u,setAttributes:p,isSelected:d,width:m,options:h}=e,[f,g]=(0,r.useState)(null),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=h.slice(0);null===t?(n.splice(e,1),e>0&&g(e-1)):(n.splice(e,1,t),g(e)),p({options:n})},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=h.slice(0);let n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),g(n),p({options:t})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{id:`jetpack-field-multiple-${a}`,className:"jetpack-field jetpack-field-multiple",label:(0,r.createElement)(s.Z,{required:i,label:u,setAttributes:p,isSelected:d,resetFocus:()=>g(null)})},(0,r.createElement)("ol",{className:"jetpack-field-multiple__list",id:`jetpack-field-multiple-${a}`},h.map(((e,t)=>(0,r.createElement)(l.Z,{type:n,key:t,option:e,index:t,onChangeOption:b,onAddOption:v,isInFocus:t===f&&d,isSelected:d})))),d&&(0,r.createElement)(o.Button,{className:"jetpack-field-multiple__add-option",icon:"insert",label:__("Insert option","jetpack"),onClick:v},__("Add option","jetpack"))),(0,r.createElement)(c.Z,{id:t,required:i,setAttributes:p,width:m}))}))},7640:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(80500),s=n(8523);const __=a.__;function l(e){const{id:t,required:n,label:a,setAttributes:l,placeholder:c,width:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"jetpack-field"},(0,r.createElement)(i.Z,{required:n,label:a,setAttributes:l}),(0,r.createElement)(o.Disabled,null,(0,r.createElement)(o.TextareaControl,{placeholder:c,value:c,onChange:e=>l({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,r.createElement)(s.Z,{id:t,required:n,setAttributes:l,width:u}))}},84803:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,width:n}=e;return(0,r.createElement)(o.BaseControl,{label:__("Field Width","jetpack"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack"),className:"jetpack-field-label__width"},(0,r.createElement)(o.ButtonGroup,{"aria-label":__("Field Width","jetpack")},[25,50,75,100].map((e=>(0,r.createElement)(o.Button,{key:e,isSmall:!0,isPrimary:e===n,onClick:()=>t({width:e})},e,"%")))))}},36755:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(29183),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(55609),c=n(92694),u=n(80500),p=n(8523);const __=i.__;function d(e){const{id:t,type:n,required:r,label:a,setAttributes:i,placeholder:s,width:c}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"jetpack-field"},(0,o.createElement)(u.Z,{required:r,label:a,setAttributes:i}),(0,o.createElement)(l.Disabled,null,(0,o.createElement)(l.TextControl,{type:n,placeholder:s,value:s,onChange:e=>i({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,o.createElement)(p.Z,{id:t,required:r,width:c,setAttributes:i}))}const m=(0,s.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const n=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return(0,o.createElement)(e,a()({},t,{className:n}))}return(0,o.createElement)(e,t)}),"withCustomClassName");(0,c.addFilter)("editor.BlockListBlock","jetpack/contact-form",m)},32605:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(9818),s=n(4981);const __=o.__,l=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,i.useDispatch)("core/block-editor");return{insertConsentBlock:(0,r.useCallback)((async()=>{var n;let r=(null!==(n=e.innerBlocks)&&void 0!==n?n:[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));var a;-1===r&&(r=(null!==(a=e.innerBlocks)&&void 0!==a?a:[]).length);const o=await(0,s.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack")),(0,r.createElement)(a.Button,{isSecondary:!0,onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack")),(0,r.createElement)("br",null))};t.Z=()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,r.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),n=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!n})(e.innerBlocks)),[e.innerBlocks])?(0,r.createElement)(l,null):null}},95363:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=(n(65736),n(92819)),i=n(99230),s=n(56994),l=n(58505);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:n}=e;const[a,o]=(0,r.useState)(),[i,c]=(0,r.useState)(!1),u=((e,t,n)=>(0,r.useCallback)(((r,a)=>{e(void 0),t(!0),r(a).then((()=>{n(l.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,n]))(o,c,n);return a?(0,r.createElement)(s.Z,{error:a}):(0,r.createElement)(l.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:i})},p=e=>{let{isFetchingPlugins:t,hasError:n,pluginState:o,setPluginState:i}=e;return t?(0,r.createElement)(a.Spinner,null):n?null:(0,r.createElement)(u,{pluginState:o,setPluginState:i})};t.Z=()=>{const[e,t]=(0,r.useState)(!0),[n,a]=(0,r.useState)(!1),[s,u]=(0,r.useState)(l.Q.NOT_INSTALLED);return(0,r.useEffect)((()=>{(0,i.uM)().then((e=>{a(!1),(0,o.get)(e,c)&&((0,o.get)(e,[c,"active"])?u(l.Q.ACTIVE):u(l.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),(0,r.createElement)(p,{isFetchingPlugins:e,hasError:n,pluginState:s,setPluginState:u})}},56994:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__("The plugin failed to install. <b /> Please check the <a>plugin information</a> for detailed requirements.","jetpack"),{a:(0,r.createElement)(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:(0,r.createElement)("span",null,t)}))}},58505:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(69307),a=n(55609),o=n(65736),i=n(99230),s=n(47583),l=n(92819);const __=o.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(a.Button,{isSecondary:!0,icon:(0,r.createElement)(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},p=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",null,(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack"),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,null),!n&&(0,r.createElement)(a.Button,{isSecondary:!0,onClick:t},__("Install Creative Mail plugin","jetpack"))))},d=e=>{let{activateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,{isActivating:!0}),!n&&(0,r.createElement)(a.Button,{isSecondary:!0,onClick:t},__("Activate Creative Mail Plugin","jetpack")))},m=()=>(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack"),(0,r.createElement)("br",null),(0,r.createElement)(a.ExternalLink,{href:`${(0,l.get)((0,s.Z)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack"))));t.Z=e=>{let{pluginState:t,onCreativeMailPluginClick:n,isInstalling:a}=e;return(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===t&&(0,r.createElement)(m,null),c.INSTALLED===t&&(0,r.createElement)(d,{activateCreativeMailPlugin:()=>n(i.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),c.NOT_INSTALLED===t&&(0,r.createElement)(p,{installAndActivateCreativeMailPlugin:()=>n(i.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},31186:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(32605),s=n(95363);const __=o.__;t.Z=()=>(0,r.createElement)(a.PanelBody,{title:__("Newsletter Integration","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,null,(0,r.createElement)(i.Z,null),(0,r.createElement)(s.Z,null)))},29110:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;class i extends r.Component{constructor(){super(...arguments),this.onChangeOption=this.onChangeOption.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onDeleteOption=this.onDeleteOption.bind(this),this.textInput=(0,r.createRef)()}componentDidMount(){this.props.isInFocus&&this.textInput.current.focus()}componentDidUpdate(){this.props.isInFocus&&this.textInput.current.focus()}onChangeOption(e){this.props.onChangeOption(this.props.index,e.target.value)}onKeyPress(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}onDeleteOption(){this.props.onChangeOption(this.props.index)}render(){const{isSelected:e,option:t,type:n}=this.props;return(0,r.createElement)("li",{className:"jetpack-option"},n&&"select"!==n&&(0,r.createElement)("input",{className:"jetpack-option__type",type:n,disabled:!0}),(0,r.createElement)("input",{type:"text",className:"jetpack-option__input",value:t,placeholder:__("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),e&&(0,r.createElement)(o.Button,{className:"jetpack-option__remove",icon:"trash",label:__("Remove option","jetpack"),onClick:this.onDeleteOption}))}}t.Z=i},89998:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(4981),l=n(89534);const __=o.__,c=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"];t.Z=[{attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...l.Z},migrate:(e,t)=>{const n=(0,a.omit)(e,c),r={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[n,t.concat((0,s.createBlock)("jetpack/button",{element:"button",...r}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)}]},31970:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(89105),i=n.n(o),s=n(89453),l=n(65736),c=n(94333),u=n(4981),p=n(9818),d=n(39630),m=n(52175),h=n(55609),f=n(22985),g=n(12289),b=n(6361),v=n(31186),k=n(58014);const __=l.__,y=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"];t.Z=(0,c.compose)([(0,p.withSelect)(((e,t)=>{const{getBlockType:n,getBlockVariations:r,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:i}=e("core/block-editor"),{getEditedPostAttribute:s}=e("core/editor"),{getSite:l,getUser:c}=e("core"),u=i(t.clientId),p=s("author"),d=p&&c(p)&&c(p).email,m=s("title");return{blockType:n&&n(t.name),defaultVariation:o&&o(t.name,"block"),variations:r&&r(t.name,"block"),innerBlocks:u,hasInnerBlocks:u.length>0,siteTitle:(0,a.get)(l&&l(),["title"]),postTitle:m,postAuthorEmail:d}})),(0,p.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:n}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:n}})),c.withInstanceId])((function(e){let{attributes:t,setAttributes:n,siteTitle:o,postTitle:c,postAuthorEmail:p,hasInnerBlocks:E,replaceInnerBlocks:w,selectBlock:_,clientId:C,instanceId:j,className:S,blockType:x,variations:T,defaultVariation:P}=e;const{to:N,subject:A,customThankyou:I,customThankyouHeading:B,customThankyouMessage:M,customThankyouRedirect:R,jetpackCRM:L}=t,[Z,F]=(0,r.useState)(!1),D=i()(S,"jetpack-contact-form"),O=e=>(0,a.map)(e,(e=>{let[t,n,r=[]]=e;return(0,u.createBlock)(t,n,O(r))})),z=e=>{e.attributes&&n(e.attributes),e.innerBlocks&&w(C,O(e.innerBlocks)),_(C)};(0,r.useEffect)((()=>{E||u.registerBlockVariation||z(g.Z[0])})),(0,r.useEffect)((()=>{if(void 0===N&&p&&n({to:p}),void 0===A&&void 0!==o&&void 0!==c){n({subject:"["+o+"] "+c})}}),[N,p,A,o,c,n]);const U=e=>0!==(e=e.trim()).length&&(!s.validate(e)&&{email:e}),$=e=>{if(0===e.target.value.length)return F(!1),void n({to:p});const t=e.target.value.split(",").map(U).filter(Boolean);t&&t.length&&F(t)},V=e=>{F(!1),n({to:e.trim()})},G=()=>{const e=void 0!==N?N:"",t=void 0!==A?A:"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h.TextControl,{"aria-describedby":`contact-form-${j}-email-${Z&&Z.length>0?"error":"help"}`,label:__("Email address to send to","jetpack"),placeholder:__("name@example.com","jetpack"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:$,onChange:V,help:__("You can enter multiple email addresses separated by commas.","jetpack")}),(0,r.createElement)(f.Z,{isError:!0,id:`contact-form-${j}-email-error`},(()=>{if(Z){if(1===Z.length)return Z[0]&&Z[0].email?(0,l.sprintf)(
+__("Add %s consent message…","jetpack"),d)}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(c.Z,{setAttributes:f,width:p}))),(0,r.createElement)(i.InspectorAdvancedControls,null,(0,r.createElement)(u.Z,{setAttributes:f,id:n})),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Consent Settings","jetpack")},(0,r.createElement)(o.BaseControl,null,(0,r.createElement)(o.SelectControl,{label:__("Permission to email","jetpack"),value:d,options:[{label:__("Mention that you can email","jetpack"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack"),value:"explicit"}],onChange:e=>f({consentType:e})})))))})}))},26588:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(36598),l=n(50686),c=n(98677);const __=a.__;t.Z=e=>{let{setAttributes:t,width:n,id:a,required:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(i.ToolbarGroup,null,(0,r.createElement)(i.ToolbarButton,{title:__("Required","jetpack"),icon:(0,s.Z)((0,r.createElement)(i.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{t({required:!u})},className:u?"is-pressed":void 0}))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Field is required","jetpack"),className:"jetpack-field-label__required",checked:u,onChange:e=>t({required:e}),help:__("Does this field have to be completed for the form to be submitted?","jetpack")}),(0,r.createElement)(l.Z,{setAttributes:t,width:n}))),(0,r.createElement)(o.InspectorAdvancedControls,null,(0,r.createElement)(c.Z,{setAttributes:t,id:a})))}},98677:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,id:n}=e;return(0,r.createElement)(o.TextControl,{label:__("Unique CSS ID","jetpack"),value:n,onChange:e=>t({id:e}),help:__("A unique ID that can be used in CSS or as an anchor.","jetpack")})}},15642:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175);const __=a.__;t.Z=e=>{let{setAttributes:t,label:n,labelFieldName:a,placeholder:i,resetFocus:s,required:l}=e;return(0,r.createElement)("div",{className:"jetpack-field-label"},(0,r.createElement)(o.RichText,{tagName:"label",value:n,className:"jetpack-field-label__input",onChange:e=>{s&&s(),t(a?{[a]:e}:{label:e})},placeholder:null!=i?i:__("Add label…","jetpack"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),l&&(0,r.createElement)("span",{className:"required"},__("(required)","jetpack")))}},26838:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(15642),l=n(81713),c=n(26588);const __=a.__;t.Z=(0,i.withInstanceId)((function(e){const{id:t,type:n,instanceId:a,required:i,label:u,setAttributes:p,isSelected:d,width:m,options:h}=e,[f,g]=(0,r.useState)(null),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=h.slice(0);null===t?(n.splice(e,1),e>0&&g(e-1)):(n.splice(e,1,t),g(e)),p({options:n})},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=h.slice(0);let n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),g(n),p({options:t})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{id:`jetpack-field-multiple-${a}`,className:"jetpack-field jetpack-field-multiple",label:(0,r.createElement)(s.Z,{required:i,label:u,setAttributes:p,isSelected:d,resetFocus:()=>g(null)})},(0,r.createElement)("ol",{className:"jetpack-field-multiple__list",id:`jetpack-field-multiple-${a}`},h.map(((e,t)=>(0,r.createElement)(l.Z,{type:n,key:t,option:e,index:t,onChangeOption:b,onAddOption:v,isInFocus:t===f&&d,isSelected:d})))),d&&(0,r.createElement)(o.Button,{className:"jetpack-field-multiple__add-option",icon:"insert",label:__("Insert option","jetpack"),onClick:v},__("Add option","jetpack"))),(0,r.createElement)(c.Z,{id:t,required:i,setAttributes:p,width:m}))}))},92158:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(15642),s=n(26588);const __=a.__;function l(e){const{id:t,required:n,label:a,setAttributes:l,placeholder:c,width:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"jetpack-field"},(0,r.createElement)(i.Z,{required:n,label:a,setAttributes:l}),(0,r.createElement)(o.Disabled,null,(0,r.createElement)(o.TextareaControl,{placeholder:c,value:c,onChange:e=>l({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,r.createElement)(s.Z,{id:t,required:n,setAttributes:l,width:u}))}},50686:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,width:n}=e;return(0,r.createElement)(o.BaseControl,{label:__("Field Width","jetpack"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack"),className:"jetpack-field-label__width"},(0,r.createElement)(o.ButtonGroup,{"aria-label":__("Field Width","jetpack")},[25,50,75,100].map((e=>(0,r.createElement)(o.Button,{key:e,isSmall:!0,variant:e===n?"primary":void 0,onClick:()=>t({width:e})},e,"%")))))}},47081:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(55609),c=n(92694),u=n(15642),p=n(26588);const __=i.__;function d(e){const{id:t,type:n,required:r,label:a,setAttributes:i,placeholder:s,width:c}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"jetpack-field"},(0,o.createElement)(u.Z,{required:r,label:a,setAttributes:i}),(0,o.createElement)(l.Disabled,null,(0,o.createElement)(l.TextControl,{type:n,placeholder:s,value:s,onChange:e=>i({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,o.createElement)(p.Z,{id:t,required:r,width:c,setAttributes:i}))}const m=(0,s.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const n=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return(0,o.createElement)(e,a()({},t,{className:n}))}return(0,o.createElement)(e,t)}),"withCustomClassName");(0,c.addFilter)("editor.BlockListBlock","jetpack/contact-form",m)},8971:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(9818),s=n(4981);const __=o.__,l=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,i.useDispatch)("core/block-editor");return{insertConsentBlock:(0,r.useCallback)((async()=>{var n;let r=(null!==(n=e.innerBlocks)&&void 0!==n?n:[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));var a;-1===r&&(r=(null!==(a=e.innerBlocks)&&void 0!==a?a:[]).length);const o=await(0,s.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack")),(0,r.createElement)(a.Button,{variant:"secondary",onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack")),(0,r.createElement)("br",null))};t.Z=()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,r.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),n=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!n})(e.innerBlocks)),[e.innerBlocks])?(0,r.createElement)(l,null):null}},29643:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(92819),i=n(45092),s=n(46229),l=n(53125);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:n}=e;const[a,o]=(0,r.useState)(),[i,c]=(0,r.useState)(!1),u=((e,t,n)=>(0,r.useCallback)(((r,a)=>{e(void 0),t(!0),r(a).then((()=>{n(l.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,n]))(o,c,n);return a?(0,r.createElement)(s.Z,{error:a}):(0,r.createElement)(l.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:i})},p=e=>{let{isFetchingPlugins:t,hasError:n,pluginState:o,setPluginState:i}=e;return t?(0,r.createElement)(a.Spinner,null):n?null:(0,r.createElement)(u,{pluginState:o,setPluginState:i})};t.Z=()=>{const[e,t]=(0,r.useState)(!0),[n,a]=(0,r.useState)(!1),[s,u]=(0,r.useState)(l.Q.NOT_INSTALLED);return(0,r.useEffect)((()=>{(0,i.uM)().then((e=>{a(!1),(0,o.get)(e,c)&&((0,o.get)(e,[c,"active"])?u(l.Q.ACTIVE):u(l.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),(0,r.createElement)(p,{isFetchingPlugins:e,hasError:n,pluginState:s,setPluginState:u})}},46229:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__("The plugin failed to install. <b /> Please check the <a>plugin information</a> for detailed requirements.","jetpack"),{a:(0,r.createElement)(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:(0,r.createElement)("span",null,t)}))}},53125:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(69307),a=n(13419),o=n(55609),i=n(65736),s=n(45092),l=n(92819);const __=i.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(o.Button,{variant:"secondary",icon:(0,r.createElement)(o.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},p=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__integration-panel"},(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack"),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,null),!n&&(0,r.createElement)(o.Button,{variant:"secondary",onClick:t},__("Install Creative Mail plugin","jetpack"))))},d=e=>{let{activateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__integration-panel"},(0,r.createElement)("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,{isActivating:!0}),!n&&(0,r.createElement)(o.Button,{variant:"secondary",onClick:t},__("Activate Creative Mail Plugin","jetpack")))},m=()=>(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack"),(0,r.createElement)("br",null),(0,r.createElement)(o.ExternalLink,{href:`${(0,l.get)((0,a.Pb)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack"))));t.Z=e=>{let{pluginState:t,onCreativeMailPluginClick:n,isInstalling:a}=e;return(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===t&&(0,r.createElement)(m,null),c.INSTALLED===t&&(0,r.createElement)(d,{activateCreativeMailPlugin:()=>n(s.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),c.NOT_INSTALLED===t&&(0,r.createElement)(p,{installAndActivateCreativeMailPlugin:()=>n(s.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},74901:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(8971),s=n(29643);const __=o.__;t.Z=()=>(0,r.createElement)(a.PanelBody,{title:__("Newsletter Integration","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,null,(0,r.createElement)(i.Z,null),(0,r.createElement)(s.Z,null)))},81713:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;class i extends r.Component{constructor(){super(...arguments),this.onChangeOption=this.onChangeOption.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onDeleteOption=this.onDeleteOption.bind(this),this.textInput=(0,r.createRef)()}componentDidMount(){this.props.isInFocus&&this.textInput.current.focus()}componentDidUpdate(){this.props.isInFocus&&this.textInput.current.focus()}onChangeOption(e){this.props.onChangeOption(this.props.index,e.target.value)}onKeyPress(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}onDeleteOption(){this.props.onChangeOption(this.props.index)}render(){const{isSelected:e,option:t,type:n}=this.props;return(0,r.createElement)("li",{className:"jetpack-option"},n&&"select"!==n&&(0,r.createElement)("input",{className:"jetpack-option__type",type:n,disabled:!0}),(0,r.createElement)("input",{type:"text",className:"jetpack-option__input",value:t,placeholder:__("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),e&&(0,r.createElement)(o.Button,{className:"jetpack-option__remove",icon:"trash",label:__("Remove option","jetpack"),onClick:this.onDeleteOption}))}}t.Z=i},4901:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(4981),l=n(99837);const __=o.__,c=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"],u={attributes:{...l.Z},supports:{html:!1},save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)},p={attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...l.Z},migrate:(e,t)=>{const n=(0,a.omit)(e,c),r={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[n,t.concat((0,s.createBlock)("jetpack/button",{element:"button",...r}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)};t.Z=[u,p]},8565:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65235),i=n.n(o),s=n(92384),l=n(65736),c=n(94333),u=n(4981),p=n(9818),d=n(39630),m=n(52175),h=n(55609),f=n(13419),g=n(59809),b=n(14142),v=n(38101),k=n(74901);const __=l.__,y=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"];t.Z=(0,c.compose)([(0,p.withSelect)(((e,t)=>{const{getBlockType:n,getBlockVariations:r,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:i}=e("core/block-editor"),{getEditedPostAttribute:s}=e("core/editor"),{getSite:l,getUser:c,canUser:u}=e("core"),p=i(t.clientId),d=s("author"),m=d&&c(d)&&c(d).email,h=s("title"),f=u("create","plugins");return{blockType:n&&n(t.name),canUserInstallPlugins:f,defaultVariation:o&&o(t.name,"block"),variations:r&&r(t.name,"block"),innerBlocks:p,hasInnerBlocks:p.length>0,siteTitle:(0,a.get)(l&&l(),["title"]),postTitle:h,postAuthorEmail:m}})),(0,p.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:n}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:n}})),c.withInstanceId])((function(e){let{attributes:t,setAttributes:n,siteTitle:o,postTitle:c,postAuthorEmail:p,hasInnerBlocks:E,replaceInnerBlocks:w,selectBlock:_,clientId:C,instanceId:S,className:j,blockType:x,variations:P,defaultVariation:T,canUserInstallPlugins:N}=e;const{to:A,subject:I,customThankyou:B,customThankyouHeading:M,customThankyouMessage:R,customThankyouRedirect:L,jetpackCRM:Z}=t,[D,F]=(0,r.useState)(!1),z=i()(j,"jetpack-contact-form"),O=e=>(0,a.map)(e,(e=>{let[t,n,r=[]]=e;return(0,u.createBlock)(t,n,O(r))})),U=e=>{e.attributes&&n(e.attributes),e.innerBlocks&&w(C,O(e.innerBlocks)),_(C)};(0,r.useEffect)((()=>{E||u.registerBlockVariation||U(b.Z[0])})),(0,r.useEffect)((()=>{if(void 0===A&&p&&n({to:p}),void 0===I&&void 0!==o&&void 0!==c){n({subject:"["+o+"] "+c})}}),[A,p,I,o,c,n]);const $=e=>0!==(e=e.trim()).length&&(!s.validate(e)&&{email:e}),H=e=>{if(0===e.target.value.length)return F(!1),void n({to:p});const t=e.target.value.split(",").map($).filter(Boolean);t&&t.length&&F(t)},V=e=>{F(!1),n({to:e.trim()})},G=()=>{const e=void 0!==A?A:"",t=void 0!==I?I:"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h.TextControl,{"aria-describedby":`contact-form-${S}-email-${D&&D.length>0?"error":"help"}`,label:__("Email address to send to","jetpack"),placeholder:__("name@example.com","jetpack"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:H,onChange:V,help:__("You can enter multiple email addresses separated by commas.","jetpack")}),(0,r.createElement)(g.Z,{isError:!0,id:`contact-form-${S}-email-error`},(()=>{if(D){if(1===D.length)return D[0]&&D[0].email?(0,l.sprintf)(
/* translators: placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),Z[0].email):Z[0];if(2===Z.length)return(0,l.sprintf)(
+__("%s is not a valid email address.","jetpack"),D[0].email):D[0];if(2===D.length)return(0,l.sprintf)(
/* translators: placeholders are email addresses. */
-__("%1$s and %2$s are not a valid email address.","jetpack"),Z[0].email,Z[1].email);const e=Z.map((e=>e.email));return(0,l.sprintf)(
+__("%1$s and %2$s are not a valid email address.","jetpack"),D[0].email,D[1].email);const e=D.map((e=>e.email));return(0,l.sprintf)(
/* translators: placeholder is a list of email addresses. */
-__("%s are not a valid email address.","jetpack"),e.join(", "))}return null})()),(0,r.createElement)(h.TextControl,{label:__("Email subject line","jetpack"),value:t,placeholder:__("Enter a subject","jetpack"),onChange:e=>n({subject:e}),help:__("Choose a subject line that you recognize as an email from your website.","jetpack")}),(0,r.createElement)(h.SelectControl,{label:__("On Submission","jetpack"),value:I,options:[{label:__("Show a summary of submitted fields","jetpack"),value:""},{label:__("Show a custom text message","jetpack"),value:"message"},{label:__("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:e=>n({customThankyou:e})}),"redirect"!==I&&(0,r.createElement)(h.TextControl,{label:__("Message Heading","jetpack"),value:B,placeholder:__("Message Sent","jetpack"),onChange:e=>n({customThankyouHeading:e})}),"message"===I&&(0,r.createElement)(h.TextareaControl,{label:__("Message Text","jetpack"),value:M,placeholder:__("Thank you for your submission!","jetpack"),onChange:e=>n({customThankyouMessage:e})}),"redirect"===I&&(0,r.createElement)(h.BaseControl,{label:__("Redirect Address","jetpack"),id:`contact-form-${j}-thankyou-url`},(0,r.createElement)(m.URLInput,{id:`contact-form-${j}-thankyou-url`,value:R,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>n({customThankyouRedirect:e})})))};return!E&&u.registerBlockVariation?(0,r.createElement)("div",{className:D},(0,r.createElement)(m.__experimentalBlockVariationPicker,{icon:(0,a.get)(x,["icon","src"]),label:(0,a.get)(x,["title"]),instructions:__("Please select which type of form you'd like to add, or create your own using the skip option.","jetpack"),variations:T,allowSkip:!0,onSelect:function(){z(arguments.length>0&&void 0!==arguments[0]?arguments[0]:P)}})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.BlockControls,null,(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(h.ToolbarItem,null,(()=>(0,r.createElement)(h.Dropdown,{position:"bottom right",className:"jetpack-contact-form-settings-selector",contentClassName:"jetpack-contact-form__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(h.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("Edit Form Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==d.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,r.createElement)(h.Icon,{icon:"edit"})}))(t,n)},renderContent:()=>G()}))))),(0,r.createElement)(m.InspectorControls,null,(0,r.createElement)(h.PanelBody,{title:__("Form Settings","jetpack")},G()),!(0,k.Wp)()&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(b.Z,{jetpackCRM:L,setAttributes:n}),(0,r.createElement)(v.Z,null))),(0,r.createElement)("div",{className:D},(0,r.createElement)(m.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))}))},75494:function(e,t,n){"use strict";n.d(t,{u2:function(){return y},Xd:function(){return w},Nk:function(){return x}});var r=n(69307),a=n(65736),o=n(4981),i=n(55609),s=n(52175),l=n(31970),c=n(89534),u=n(12289),p=n(89998),d=n(54789),m=n(36755),h=n(7640),f=n(69802),g=n(56764),b=n(41632),v=n(57535),k=n(57324);const __=a.__,_x=a._x,y="contact-form",E=(0,b.Z)((0,r.createElement)(i.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 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-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),w={title:__("Form","jetpack"),description:__("A simple way to get feedback from folks visiting your site.","jetpack"),icon:{src:E,foreground:(0,v.m)()},keywords:[_x("email","block search term","jetpack"),_x("feedback","block search term","jetpack"),_x("contact form","block search term","jetpack")],supports:{html:!1},attributes:c.Z,edit:l.Z,save:()=>(0,r.createElement)(s.InnerBlocks.Content,null),variations:u.Z,category:"grow",transforms:d.Z,deprecated:p.Z},_={category:"grow",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-checkbox-multiple",e)},{type:"block",blocks:["jetpack/field-radio"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-radio",e)},{type:"block",blocks:["jetpack/field-select"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-select",e)},{type:"block",blocks:["jetpack/field-consent"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-consent",e)}]},save:()=>null,example:{}},C=e=>{let{attributes:t,name:n}=e;return null===t.label?(0,o.getBlockType)(n).title:t.label},j=e=>t=>(0,r.createElement)(m.Z,{type:e,label:C(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width}),S=e=>t=>(0,r.createElement)(g.Z,{label:C(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width}),x=[{name:"field-text",settings:{..._,title:__("Text","jetpack"),description:__("When you need just a small amount of text, add a text input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:j("text")}},{name:"field-name",settings:{..._,title:__("Name","jetpack"),description:__("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:j("text")}},{name:"field-email",settings:{..._,title:__("Email","jetpack"),keywords:[__("e-mail","jetpack"),__("mail","jetpack"),"email"],description:__("Want to reply to folks? Add an email address input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:j("email")}},{name:"field-url",settings:{..._,title:__("Website","jetpack"),keywords:["url",__("internet page","jetpack"),"link"],description:__("Add an address input for a website.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:j("url")}},{name:"field-date",settings:{..._,title:__("Date Picker","jetpack"),keywords:[__("Calendar","jetpack"),_x("day month year","block search term","jetpack")],description:__("The best way to set a date. Add a date picker.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:j("text")}},{name:"field-telephone",settings:{..._,title:__("Phone Number","jetpack"),keywords:[__("Phone","jetpack"),__("Cellular phone","jetpack"),__("Mobile","jetpack")],description:__("Add a phone number input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:j("tel")}},{name:"field-textarea",settings:{..._,title:__("Message","jetpack"),keywords:[__("Textarea","jetpack"),"textarea",__("Multiline text","jetpack")],description:__("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:e=>(0,r.createElement)(h.Z,{label:C(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})}},{name:"field-checkbox",settings:{..._,title:__("Checkbox","jetpack"),keywords:[__("Confirm","jetpack"),__("Accept","jetpack")],description:__("Add a single checkbox.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:e=>(0,r.createElement)(f.Z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width}),attributes:{..._.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{..._,title:__("Consent","jetpack"),keywords:[__("Consent","jetpack")],description:__("Ask for consent","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"m81 370h142v40h-142zm0-39h142v-40h-142zm0-79h245v-40h-245zm378 260h-40c0-40.253906-32.746094-73-73-73s-73 32.746094-73 73h-40c0-42.085938 23.128906-78.867188 57.34375-98.3125-11.40625-13.023438-18.34375-30.054688-18.34375-48.6875 0-40.804688 33.195312-74 74-74s74 33.195312 74 74c0 18.632812-6.9375 35.664062-18.34375 48.6875 34.214844 19.445312 57.34375 56.226562 57.34375 98.3125zm-113-113c18.746094 0 34-15.253906 34-34s-15.253906-34-34-34-34 15.253906-34 34 15.253906 34 34 34zm-286 73h138.316406c-3.460937 12.757812-5.316406 26.164062-5.316406 40h-133c-33.085938 0-60-26.914062-60-60v-392c0-33.085938 26.914062-60 60-60h203.757812l142.132813 142.855469v125.210937c-12.042969-7.476562-25.453125-12.765625-39.890625-15.324218v-81.632813h-71.109375c-33.085937 0-60-26.914063-60-60v-71.109375h-174.890625c-11.027344 0-20 8.972656-20 20v392c0 11.027344 8.972656 20 20 20zm234.890625-340.890625h42.972656l-62.972656-63.234375v43.234375c0 11.03125 8.96875 20 20 20zm0 0"}),24,25,"-26 0 512 512"),attributes:{..._.attributes,label:{type:"string",default:__("Consent","jetpack")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack")}},edit:e=>{let{attributes:t,isSelected:n,setAttributes:a}=e;const{id:o,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c}=t;return(0,r.createElement)(k.Z,{id:o,isSelected:n,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c,setAttributes:a})}}},{name:"field-checkbox-multiple",settings:{..._,title:__("Checkbox Group","jetpack"),keywords:[__("Choose Multiple","jetpack"),__("Option","jetpack")],description:__("People love options. Add several checkbox items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:S("checkbox"),attributes:{..._.attributes,label:{type:"string",default:"Choose several"}}}},{name:"field-radio",settings:{..._,title:__("Radio","jetpack"),keywords:[__("Choose","jetpack"),__("Select","jetpack"),__("Option","jetpack")],description:__("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.createElement)(i.Circle,{cx:"12",cy:"12",r:"5"}))),edit:S("radio"),attributes:{..._.attributes,label:{type:"string",default:"Choose one"}}}},{name:"field-select",settings:{..._,title:__("Select","jetpack"),keywords:[__("Choose","jetpack"),__("Dropdown","jetpack"),__("Option","jetpack")],description:__("Compact, but powerful. Add a select box with several items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:S("select"),attributes:{..._.attributes,label:{type:"string",default:"Select one"}}}}]},54789:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=(e,t,n)=>{const r=n.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(r&&r.length)return r[1];const a=n.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(a&&a.length)return a[1];const o=n.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!o||!o.length)&&o[1]},s={root:{},innerBlocks:[]};t.Z={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("<br>","");if(t.includes("[contact-form")&&(s.root={},s.innerBlocks=[],s.root=(e=>{const t={to:i("contact-form","to",e),subject:i("contact-form","subject",e),submitButtonText:i("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,r.pickBy)(t,r.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{s.innerBlocks.push((e=>{const t={label:i("contact-field","label",e),placeholder:i("contact-field","placeholder",e),required:i("contact-field","required",e),options:i("contact-field","options",e)},n=(e=>{const t={text:"jetpack/field-text",url:"jetpack/field-text",textarea:"jetpack/field-textarea",radio:"jetpack/field-radio",checkbox:"jetpack/field-checkbox","checkbox-multiple":"jetpack/field-checkbox-multiple",select:"jetpack/field-select",email:"jetpack/field-email",name:"jetpack/field-name",default:"jetpack/field-text"};return t[e]?t[e]:t.default})(i("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(n,(0,r.pickBy)(t,r.identity))})(e))}))}if(t.includes("[/contact-form]")){s.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:s.root.attrs.submitButtonText||__("Contact Us","jetpack")}));return(0,a.createBlock)(s.root.blockName,s.root.attrs,s.innerBlocks)}return!1}}]}},12289:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(55609),s=n(58014),l=n(41632),c=n(57535);const __=o.__,u=(0,a.compact)([{name:"contact-form",title:__("Contact Form","jetpack"),description:__("Add a contact form to your page.","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M21.99 8c0-.72-.37-1.35-.94-1.7l-8.04-4.71c-.62-.37-1.4-.37-2.02 0L2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zm-11.05 4.34l-7.2-4.5 7.25-4.25c.62-.37 1.4-.37 2.02 0l7.25 4.25-7.2 4.5c-.65.4-1.47.4-2.12 0z"}),48,48,"-4 -4 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-textarea",{}],["jetpack/button",{text:__("Contact Us","jetpack"),element:"button"}]]},!(0,s.Wp)()&&{name:"newsletter-form",title:__("Newsletter Sign-up","jetpack"),description:__("A simple way to collect information from folks visiting your site.","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M37.9999 7.59998C49.3999 7.59998 68.3999 26.6 68.3999 26.6V68.4H7.59985V26.6C7.59985 26.6 26.5999 7.59998 37.9999 7.59998ZM64.5999 63.536L50.4259 52.44L64.5999 41.8L62.9659 40.394L54.3779 45.334L55.2899 28.956L21.9639 26.98L20.2159 44.232L12.6539 40.622L11.3999 41.8L25.5739 52.44L12.5019 63.27L14.0219 64.904L37.9999 49.4L62.8139 65.17L64.5999 63.536Z"}),48,48,"-6 -6 92 92"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack"),element:"button"}]]},{name:"rsvp-form",title:__("RSVP Form","jetpack"),description:__("Add an RSVP form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M10 9V7.41c0-.89-1.08-1.34-1.71-.71L3.7 11.29c-.39.39-.39 1.02 0 1.41l4.59 4.59c.63.63 1.71.19 1.71-.7V14.9c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Attending?","jetpack"),required:!0,options:[__("Yes","jetpack"),__("No","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send RSVP","jetpack"),element:"button"}]],attributes:{subject:__("A new RSVP from your website","jetpack")}},{name:"registration-form",title:__("Registration Form","jetpack"),description:__("Add a Registration form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M11.34 15.02c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95zm2.12-10.61L17 7.95l-4.95 4.95-3.54-3.54 4.95-4.95zm6.95 11l-2.12-2.12c-.18-.18-.44-.29-.7-.29h-.27l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2h-.42c-.27 0-.52.11-.71.29l-2.12 2.12c-.37.38-.58.89-.58 1.42V20c0 1.1.9 2 2 2h14c1.1 0 2-.89 2-2v-3.17c0-.53-.21-1.04-.59-1.42z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{label:__("Phone Number","jetpack")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack"),options:[__("Search Engine","jetpack"),__("Social Media","jetpack"),__("TV","jetpack"),__("Radio","jetpack"),__("Friend or Family","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send","jetpack"),element:"button"}]],attributes:{subject:__("A new registration from your website","jetpack")}},{name:"appointment-form",title:__("Appointment Form","jetpack"),description:__("Add an Appointment booking form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V8c0-.55-.45-1-1-1s-1 .45-1 1v2H2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1H6zm9 4c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{required:!0}],["jetpack/field-date",{label:__("Date","jetpack"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack"),required:!0,options:[__("Morning","jetpack"),__("Afternoon","jetpack")]}],["jetpack/field-textarea",{label:__("Notes","jetpack")}],["jetpack/button",{text:__("Book Appointment","jetpack"),element:"button"}]],attributes:{subject:__("A new appointment booked from your website","jetpack")}},{name:"feedback-form",title:__("Feedback Form","jetpack"),description:__("Add a Feedback form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.03 0 3.8-1.11 4.75-2.75.19-.33-.05-.75-.44-.75H7.69c-.38 0-.63.42-.44.75.95 1.64 2.72 2.75 4.75 2.75z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Please rate our website","jetpack"),required:!0,options:[__("1 - Very Bad","jetpack"),__("2 - Poor","jetpack"),__("3 - Average","jetpack"),__("4 - Good","jetpack"),__("5 - Excellent","jetpack")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack")}],["jetpack/button",{text:__("Send Feedback","jetpack"),element:"button"}]],attributes:{subject:__("New feedback received from your website","jetpack")}}]);t.Z=u},4352:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(29756);const __=i.__;class u extends r.Component{constructor(){super(...arguments),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"!==e.key||e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:a,region:i,postal:u,country:p,linkToGoogleMaps:d},isSelected:m,setAttributes:h}=this.props,f=[e,t,n,a,i,u,p].some((e=>""!==e)),g=o()({"jetpack-address-block":!0,"is-selected":m}),b=(0,r.createElement)(l.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:d,onChange:e=>h({linkToGoogleMaps:e})});return(0,r.createElement)("div",{className:g},!m&&f&&(0,c.Z)(this.props),(m||!f)&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>h({address:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>h({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>h({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:a,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>h({city:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:i,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>h({region:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:u,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>h({postal:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>h({country:e}),onKeyDown:this.preventEnterKey}),b))}}t.Z=u},47559:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(4352),s=n(29756),l=n(41632);const __=a.__,_x=a._x,c="address",u={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,l.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.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)(o.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:i.Z,save:s.Z}},29756:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:a,city:o,region:i,postal:s,country:l}}=e;return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},t),n&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},n),a&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(i||s)&&(0,r.createElement)("div",{className:"jetpack-address__city"},o),o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__city"},o),", ",(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&(0,r.createElement)("div",{className:"jetpack-address__country"},l))},i=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}}=e;let l=o?`+${o},`:"";l=i?`${l}+${i}`:l;return`https://www.google.com/maps/search/${t?`${t},`:""}${n?`${n},`:""}${r?`${r},`:""}${a?`+${a},`:""}${l}${s?`+${s}`:""}`.replace(" ","+")};t.Z=e=>(e=>{let{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}=e;return[t,n,r,a,o,i,s].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))},18680:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(89105),i=n.n(o);const s=["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"]];t.Z=e=>{const{isSelected:t}=e;return(0,r.createElement)("div",{className:i()({"jetpack-contact-info-block":!0,"is-selected":t})},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:s,templateLock:!1,template:l}))}},63015:function(e,t,n){"use strict";var r=n(59861),a=n(55637),o=n(65736);const __=o.__;t.Z=e=>{const{setAttributes:t}=e;return(0,a.Z)("email",e,__("Email","jetpack"),r.Z,(e=>t({email:e})))}},52413:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(63015),s=n(41632),l=n(59861);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z,parent:["jetpack/contact-info"]}},59861:function(e,t,n){"use strict";var r=n(69307),a=n(89453);t.Z=e=>{let{attributes:{email:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},t.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&a.validate(n)?e===n?(0,r.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,r.createElement)(r.Fragment,{key:t},(0,r.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,r.createElement)(r.Fragment,null,e.slice(-(e.length-n.length)))):(0,r.createElement)(r.Fragment,{key:t},e)})))}},20195:function(e,t,n){"use strict";n.d(t,{u2:function(){return h},Xd:function(){return g},Nk:function(){return b}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(4981),l=n(18680),c=n(41632),u=n(47559),p=n(52413),d=n(51592),m=n(57535);const __=a.__,_x=a._x,h="contact-info",f=(0,c.Z)((0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),g={title:__("Contact Info","jetpack"),description:__("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[_x("email","block search term","jetpack"),_x("phone","block search term","jetpack"),_x("address","block search term","jetpack")],icon:{src:f,foreground:(0,m.m)()},category:"grow",supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"widget_contact_info"===t},transform:e=>{let{instance:t}=e,n=[(0,s.createBlock)("core/heading",{content:t.raw.title}),(0,s.createBlock)("jetpack/email",{email:t.raw.email}),(0,s.createBlock)("jetpack/phone",{phone:t.raw.phone}),(0,s.createBlock)("jetpack/address",{address:t.raw.address})];return t.raw.hours&&(n=[...n,(0,s.createBlock)("core/paragraph",{content:t.raw.hours})]),t.raw.showmap&&t.raw.address&&(n=[...n,(0,s.createBlock)("jetpack/map",{address:t.raw.address})]),(0,s.createBlock)("jetpack/contact-info",{},n)}}]},attributes:{},edit:l.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},b=[{name:u.u,settings:u.X},{name:p.u,settings:p.X},{name:d.u,settings:d.X}]},51633:function(e,t,n){"use strict";var r=n(65736),a=n(18690),o=n(55637);const __=r.__;t.Z=e=>{const{setAttributes:t}=e;return(0,o.Z)("phone",e,__("Phone number","jetpack"),a.Z,(e=>t({phone:e})))}},51592:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(51633),s=n(41632),l=n(18690);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z}},18690:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{attributes:{phone:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},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,o=n?e.substring(0,n):"",i=a.replace(/\D/g,"");return/[0-9/+/(]/.test(a[0])?(o=o.slice(0,-1),"+"===a[0]&&(i="+"+i)):a=a.substring(1),[o.trim()?(0,r.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,(0,r.createElement)("a",{key:"phoneNumber",href:`tel:${i}`},a)]}(t))}},2534:function(e,t){"use strict";t.Z={participants:{type:"array"},showTimestamps:{type:"boolean",default:!1},skipUpload:{type:"boolean",default:!1}}},74113:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.createContext)()},78e3:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n(69307),a=n(55609),o=n(65736),i=n(90566);const __=o.__,_x=o._x;function s(e){let{className:t,participants:n,onDelete:o}=e;return(0,r.createElement)("div",{className:`${t}__participant-control`},n.map((e=>{let{label:n,slug:s}=e;return(0,r.createElement)("div",{key:`${s}-key`,className:`${t}__participant`},(0,r.createElement)("div",{className:`${t}__participant-label`},(0,i.iT)(n)),(0,r.createElement)(a.Button,{className:`${t}__remove-participant`,label:__("Remove participant","jetpack"),onClick:()=>o(s),isTertiary:!0,isSmall:!0},_x("Remove","verb: remove item from a list","jetpack")))})))}function l(e){let{participants:t,className:n,onChange:a,onDelete:o}=e;return(0,r.createElement)(s,{className:n,participants:t,onChange:a,onDelete:o})}},63414:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(9818),l=n(78e3),c=n(74113),u=n(51591),p=n(41362),d=n(90566);const __=a.__,m=[["jetpack/dialogue"]];t.Z=(0,i.withNotices)((function(e){let{className:t,attributes:n,setAttributes:a,noticeUI:h,clientId:f,noticeOperations:g}=e;const{participants:b=[],showTimestamps:v,skipUpload:k}=n,[y,E]=(0,r.useState)(""),{insertBlocks:w}=(0,s.useDispatch)("core/block-editor"),_=(0,r.useCallback)((e=>{a({participants:b.map((t=>t.slug!==e.slug?t:{...t,...e}))})}),[a,b]),C=(0,r.useCallback)((function(e){let{label:t,slug:n}=e;if(!t)return;const r=t.trim();if(!r?.length)return;const o=(0,d.tQ)(b,r);if(o)return o;const i={slug:n||"speaker-"+ +new Date,label:r};return a({participants:[...b,i]}),i}),[b,a]),j=(0,r.useCallback)(a,[a]),S=(0,r.useMemo)((()=>({setAttributes:j,updateParticipants:_,addNewParticipant:C,attributes:{showTimestamps:v}})),[C,j,v,_]);function x(e){g.removeAllNotices(),g.createErrorNotice(e),E(!1)}const T="wp-block-jetpack-conversation";return b?.length||k?(0,r.createElement)(c.Z.Provider,{value:S},(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.Panel,null,(0,r.createElement)(i.PanelBody,{title:__("Speakers","jetpack"),className:`${T}__participants`},(0,r.createElement)(l.C,{className:T,participants:b,onDelete:function(e){a({participants:b.filter((t=>{let{slug:n}=t;return n!==e}))})}})))),(0,r.createElement)(o.InnerBlocks,{template:m}))):(0,r.createElement)(i.Placeholder,{label:__("Conversation","jetpack"),instructions:(0,r.createElement)(r.Fragment,null,__("Upload a transcript file or create a conversation with blank content.","jetpack"),(0,r.createElement)("div",null,(0,r.createElement)("em",null,__("Accepted file formats:","jetpack"),(0,r.createElement)("strong",null," ",d.bZ),"."))),icon:(0,r.createElement)(o.BlockIcon,{icon:u.Xu}),notices:h},(0,r.createElement)("div",{className:`${T}__placeholder`},(0,r.createElement)(i.FormFileUpload,{multiple:!1,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:function(e){const t=e.target.files?.[0];if(!t)return x(__("Transcript file not found.","jetpack"));if(t?.size&&t.size<=0||!t?.size||t.size>d.$n)return x(__("Invalid transcript file size.","jetpack"));if(t?.type?.length&&"text/plain"!==t.type)return x(__("Invalid transcript file type.","jetpack"));const n=(0,d.Y7)(t?.name);if(!(0,d.P8)(n))return x(__("Invalid transcript file extension.","jetpack"));E(!0),(0,d.Bt)(t,(function(e,t){let{conversation:n,dialogues:r}=e;if(t)return x(t);a({participants:n.speakers,skipUpload:!n?.length});const o=r.map((e=>e.slug||e.timestamp?["jetpack/dialogue",e]:["core/paragraph",e])),i=(0,p.Z)(o);w(i,0,f),E(!1)}))},accept:d.bZ,isPrimary:!0,title:`${__("Accepted file formats:","jetpack")} ${d.bZ}`,disabled:y},__("Upload transcript","jetpack")),(0,r.createElement)(i.Button,{isTertiary:!0,disabled:y,onClick:()=>a({skipUpload:!0})},__("Skip upload","jetpack"))))}))},34376:function(e,t,n){"use strict";var r=n(65736);const __=r.__,a=[{slug:"participant-0",label:"Rosalind"},{slug:"participant-1",label:"Orlando"}],o=[{name:"core/heading",attributes:{content:__("Shakespeare text","jetpack"),level:4}},{name:"jetpack/dialogue",attributes:{...a[0],content:__("O, my dear Orlando, how it grieves me to see thee wear thy heart in a scarf!","jetpack"),timestamp:"00:10"}},{name:"jetpack/dialogue",attributes:{...a[1],content:__("It is my arm.","jetpack"),timestamp:"00:15"}},{name:"jetpack/dialogue",attributes:{...a[0],content:__("I thought thy heart had been wounded with the claws of a lion.","jetpack"),timestamp:"00:32"}},{name:"jetpack/dialogue",attributes:{...a[1],content:__("Wounded it is, but with the eyes of a lady.","jetpack"),timestamp:"00:37"}}];t.Z={attributes:{participants:a,showTimestamps:!0,className:"is-style-row"},innerBlocks:o}},36384:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},Xd:function(){return d}});var r=n(65736),a=n(4981),o=n(51591),i=n(41362),s=n(2534),l=n(63414),c=n(22766),u=n(34376);const __=r.__,_x=r._x,p="conversation",d={title:__("Conversation","jetpack"),description:__("Create a transcription of a speech or conversation, with any number of participants, using dialogue blocks.","jetpack"),icon:o.Xu,category:"layout",keywords:[_x("conversation","block search term","jetpack"),_x("transcription","block search term","jetpack"),_x("dialogue","block search term","jetpack"),_x("speaker","block search term","jetpack")],supports:{align:!0},attributes:s.Z,example:u.Z,styles:[{name:"row",label:__("Row","jetpack"),isDefault:!0},{name:"column",label:__("Column","jetpack")}],edit:l.Z,save:c.Z,providesContext:{"jetpack/conversation-participants":"participants","jetpack/conversation-showTimestamps":"showTimestamps"},transforms:{from:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>{const t=e.map((e=>{let{content:t}=e;return["jetpack/dialogue",{content:t}]}));return(0,a.createBlock)("jetpack/conversation",{},(0,i.Z)(t))}}]}}},22766:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175);function s(e){let{attributes:t}=e;return(0,r.createElement)("div",{className:o()("wp-block-jetpack-conversation",{"show-timestamps":t?.showTimestamp})},(0,r.createElement)(i.InnerBlocks.Content,null))}},90566:function(e,t,n){"use strict";n.d(t,{ly:function(){return i},tQ:function(){return s},iT:function(){return l},Y7:function(){return c},bZ:function(){return m},$n:function(){return h},P8:function(){return k},Bt:function(){return y}});var r=n(72629),a=n(81975),o=n(65736);const __=o.__;function i(e,t){const n=e.filter((e=>{let{slug:n}=e;return n===t}));return n?.length?n[0]:null}function s(e,t){const n=e.filter((e=>{let{label:n}=e;return n?.toLowerCase()===t?.toLowerCase()}));return n?.length?n[0]:null}function l(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=(0,r.getTextContent)((0,r.create)({html:e}))?.trim();return t?(0,a.escapeHTML)(n):n}function c(e){return`.${e.substr(e.lastIndexOf(".")+1)}`}const u=".srt",p=".txt",d=[u,p,".vtt",".sbv"],m=d.join(", "),h=1e5,f=/(.*[^\s])\s{1,}(\d{1,2}(?::\d{1,2}?)+)\s+\n([\s\S]*?(?=\n{2}|$))/,g=/(?:(.*[^\s]):\s+)?(?:\[(\d+(?::\d+)*?(?:\.\d*)?)])?(?:[\s])*?([^\s].+?(?:\n+|$))/,b=[{name:"otter",re:new RegExp(f,"gm"),testRE:new RegExp(f,"g")},{name:"sonix",re:new RegExp(g,"gm"),testRE:new RegExp(g,"g")}],v=/(\d+)\n([\d:,]+)\s+-{2}>\s+([\d:,]+)\n([\s\S]*?(?=\n{2}|$))/gm;function k(e){return d.indexOf(e)>=0}function y(e,t){const n=c(e?.name),r=new FileReader;r.addEventListener("load",(e=>{const r=e.target.result?e.target.result.replace(/\r\n|\r|\n/g,"\n"):null;if(!r?.length)return t({},__("Transcript content is empty","jetpack"));let a={};if(n&&n!==p&&n===u&&(a=function(e){const t={conversation:{speakers:[]},dialogues:[]};let n;for(;null!==(n=v.exec(e));)t.dialogues.push({timestamp:n[2],content:n[4]});return t}(r)),n===p&&(a=function(e){const t={dialogues:[],conversation:{speakers:[]}},n=b.filter((t=>{let{testRE:n}=t;return n.test(e)}));if(!n?.length)return t;const r=n[0];let a;for(;null!=(a=r.re.exec(e));){const e=a[r?.indexes?.speaker||1]||"";e?.length&&t.conversation.speakers.indexOf(e)<0&&t.conversation.speakers.push(e);const n={content:a[r?.indexes?.content||3],timestamp:a[r?.indexes?.timestamp||2],showTimestamp:!0};e?.length&&(n.label=e,n.slug=`speaker-${t.conversation.speakers.indexOf(e)}`),t.dialogues.push(n)}return t.conversation.speakers=t.conversation.speakers.map(((e,t)=>({label:e,slug:`speaker-${t}`}))),t}(r)),!a.dialogues?.length)return t({},__("Transcript format not supported","jetpack"));t(a)})),r.readAsText(e)}},60522:function(e,t){"use strict";t.Z={label:{type:"string",source:"html",selector:".wp-block-jetpack-dialogue__participant"},slug:{type:"string"},timestamp:{type:"string",default:"00:00"},showTimestamp:{type:"boolean",default:!1},placeholder:{type:"string"},content:{type:"string",source:"html",selector:".wp-block-jetpack-dialogue__content"}}},23180:function(e,t,n){"use strict";n.d(t,{Ev:function(){return m},v$:function(){return g}});n(29183);var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736),l=n(52175),c=n(90566);const __=s.__,u="is-participant-adding",p="is-participant-selecting",d="was-participant-selected";function m(e){let{participants:t,slug:n,onSelect:a}=e;return(0,r.createElement)(i.SelectControl,{label:__("Speaker name","jetpack"),value:n,options:t.map((e=>{let{slug:t,label:n}=e;return{label:(0,c.iT)(n),value:t}})),onChange:e=>a((0,c.ly)(t,e))})}const h=(0,i.withFocusOutside)(class extends r.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return(0,r.createElement)("div",{className:this.props.className},this.props.children)}});function f(e){return{name:"jetpack/conversation-participants",triggerPrefix:"",options:e,getOptionLabel:e=>{let{label:t}=e;return(0,r.createElement)("span",null,(0,c.iT)(t))},getOptionKeywords:e=>{let{label:t}=e;return[t]},getOptionCompletion:e=>({action:"replace",value:e}),popoverProps:{position:"bottom"}}}function g(e){let{className:t,label:n,participant:a,participants:i,transcriptRef:s,onParticipantChange:m,onUpdate:g=(()=>{}),onSelect:b,onAdd:v,onClean:k}=e;const[y,E]=(0,r.useState)("is-participant-ready");function w(){if(!n)return;const e=(0,c.tQ)(i,n);return a&&a.label!==n?e&&e.slug!==a.slug?(E(d),b(e)):(E("was-participant-edited"),g({...a,label:(0,c.iT)(n,!0)})):e?(E(d),b(e)):(v((0,c.iT)(n,!0)),E("was-participant-added"))}const _=(0,r.useMemo)((()=>y?y!==u&&y!==p?[]:[f(i)]:[]),[i,y]);return(0,r.createElement)(h,{className:o()(t,{"has-bold-style":n?.length,[y]:y}),onFocusOutside:w},(0,r.createElement)(l.RichText,{tagName:"div",value:n,allowedFormats:[],withoutInteractiveFormatting:!0,onChange:function(e){if(!e?.length)return E(u),k();m(e);const t=(0,c.tQ)(i,e);a?a.label===e?E(p):E("is-participant-editing"):E(t?p:u)},placeholder:__("Speaker","jetpack"),keepPlaceholderOnFocus:!0,onSplit:()=>{},onReplace:e=>{setTimeout((()=>s?.current?.focus()),10);const t=e?.[0];if(t){const{label:e}=t;return m(e),E(d),b(t)}return w()},autocompleters:_}))}},94371:function(e,t,n){"use strict";n.d(t,{dG:function(){return d},S6:function(){return f}});var r=n(69307),a=n(92819),o=n(55609),i=n(65736),s=n(38205),l=n(98017);const __=i.__,_x=i._x;const c=["hour","min","sec"];function u(e,t){const n=Object.keys(e)?.[0];if(!n)return t.join(":");let r=String((a=e[n],o="hour"===n?23:59,Math.max(0,Math.min(a,o))));var a,o;return 1===r?.length?r=`0${r}`:0===r?.length&&(r="00"),t[c.indexOf(n)]=r,3===t.length&&"00"===t[0]&&t.shift(),t.join(":")}const p=(0,a.debounce)((function(e,t){t((0,l.H)(e))}),250);function d(e){let{value:t,className:n,onChange:a,shortLabel:i=!1,isDisabled:c=!1,duration:d}=e;const[m,h]=(0,r.useState)((0,l.i)(t)),f=t.split(":");return f.length<=2&&f.unshift("00"),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${n}__timestamp-controls`},(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__hour`,label:i?_x("Hour","hour (short form)","jetpack"):_x("Hour","hour (long form)","jetpack",0),value:f[0],min:0,max:23,onChange:e=>!c&&a(u({hour:e},f)),disabled:c}),(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__minute`,label:i?_x("Min","Short for Minute","jetpack"):__("Minute","jetpack"),value:f[1],min:0,max:59,onChange:e=>!c&&a(u({min:e},f)),disabled:c}),(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__second`,label:i?_x("Sec","Short for Second","jetpack"):__("Second","jetpack"),value:f[2],min:0,max:59,onChange:e=>!c&&a(u({sec:e},f)),disabled:c})),(0,r.createElement)(o.RangeControl,{disabled:void 0===d,value:m,className:`${n}__timestamp-range-control`,min:0,max:d,onChange:e=>{h(e),p(e,a)},withInputField:!1,renderTooltipContent:e=>(0,l.H)(e)}))}function m(e){let{className:t,onPlayback:n,value:a}=e;return(0,r.createElement)(o.Button,{className:t,isTertiary:!0,onClick:()=>n((0,l.i)(a))},a)}function h(e){let{className:t,currentTime:n,isTimestampButtonVisible:a,children:i,onChange:s,onToggle:c}=e;return(0,r.createElement)(o.Button,{className:t,isSmall:!0,isTertiary:!0,onClick:()=>{c(!a),a||s((0,l.H)(n),s)}},i)}function f(e){let{className:t,isSelected:n,show:a,value:o,mediaCurrentTime:i=0,onChange:s,onToggle:l,onPlayback:c}=e;return n?a?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m,{className:`${t}__timestamp-label`,value:o,onPlayback:c}),(0,r.createElement)(h,{className:`${t}__timestamp-button`,currentTime:i,onChange:s,onToggle:l,isTimestampButtonVisible:a},__("Remove","jetpack"))):(0,r.createElement)(h,{className:`${t}__timestamp-button`,currentTime:i,onChange:s,onToggle:l,isTimestampButtonVisible:a},__("Add timestamp","jetpack")):a?(0,r.createElement)(m,{className:`${t}__timestamp-label`,value:o,onPlayback:c}):null}},27257:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(52175),l=n(4981),c=n(9818),u=n(55609),p=n(23180),d=n(94371),m=n(38882),h=n(74113),f=n(15111),g=n(37837),b=n(98017),v=n(90566);const __=i.__,k="core/paragraph";function y(e){let{className:t,attributes:n,setAttributes:a,context:i,onReplace:y,mergeBlocks:E,isSelected:w}=e;const{content:_,label:C,slug:j,placeholder:S,showTimestamp:x,timestamp:T}=n,{mediaSource:P,mediaCurrentTime:N,mediaDuration:A,mediaDomReference:I,isMultipleSelection:B}=(0,c.useSelect)((e=>{const{getDefaultMediaSource:t,getMediaSourceCurrentTime:n,getMediaSourceDuration:r,getMediaSourceDomReference:a}=e(f.tT);return{mediaSource:t(),mediaCurrentTime:n(),mediaDuration:r(),mediaDomReference:a(),isMultipleSelection:e("core/block-editor").getMultiSelectedBlocks().length>0}}),[]),{playMediaSource:M,setMediaSourceCurrentTime:R}=(0,c.useDispatch)(f.tT),L=(0,r.useRef)(),Z=i["jetpack/conversation-participants"],F=Z?.length?Z:[],D=(0,v.ly)(F,j),O=(0,r.useContext)(h.Z);function z(e){a({timestamp:e})}return(0,r.useEffect)((()=>{B||w||D&&D.slug===j&&D.label!==C&&a({label:D.label})}),[D,C,j,B,w,a]),(0,r.createElement)("div",{className:t},(0,r.createElement)(s.BlockControls,null,P&&(0,r.createElement)(g.m,{onTimestampClick:e=>{a({showTimestamp:!0}),z((0,b.H)(e))}})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(u.Panel,null,(0,r.createElement)(u.PanelBody,{title:__("Speaker","jetpack")},(0,r.createElement)(p.Ev,{className:m.P,participants:F,slug:j||"",onSelect:a})),!!P?.title&&(0,r.createElement)(u.PanelBody,{title:__("Podcast episode","jetpack")},(0,r.createElement)("p",null,P.title)),P&&x&&(0,r.createElement)(u.PanelBody,{title:__("Timestamp","jetpack")},(0,r.createElement)(d.dG,{className:m.P,value:T,onChange:z,mediaSource:P,duration:A})))),(0,r.createElement)("div",{className:o()(`${m.P}__meta`,{"has-not-media-source":!P})},(0,r.createElement)(p.v$,{className:`${m.P}__participant`,label:C,participant:D,participants:F,transcriptRef:L,onParticipantChange:e=>{a({label:e})},onSelect:e=>{B||a(e)},onClean:()=>{a({slug:null,label:""})},onAdd:e=>{const t=O.addNewParticipant({label:e,slug:j});a(t)},onUpdate:e=>{O.updateParticipants(e)}}),P&&(0,r.createElement)(d.S6,{className:m.P,show:x,isSelected:w,value:T,mediaCurrentTime:N,onChange:z,onToggle:e=>a({showTimestamp:e}),onPlayback:function(e){I&&(I.currentTime=e),R(e),M()}})),(0,r.createElement)(s.RichText,{ref:L,identifier:"content",tagName:"p",className:`${m.P}__content`,value:_,onChange:e=>a({content:e}),onMerge:E,onSplit:e=>{if(!_?.length)return(0,l.createBlock)(k);const t=e?.length?n:{};return(0,l.createBlock)("jetpack/dialogue",{...t,content:e})},onReplace:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return O?e[0]?.name!==k||e[1]?.name!==k||e[0]?.attributes.content||e[1]?.attributes.content?void y(e,...n):((0,c.dispatch)("core/block-editor").selectBlock(e[0].clientId),y([e[0]],...n)):y(e,...n)},onRemove:y?()=>y([]):void 0,placeholder:S||__("Write dialogue…","jetpack"),keepPlaceholderOnFocus:!0}))}},98956:function(e,t,n){"use strict";n.d(t,{u2:function(){return d},Xd:function(){return m}});var r=n(65736),a=n(4981),o=n(60522),i=n(27257),s=n(57937),l=n(51591),c=n(90059),u=n(36384);const __=r.__,_x=r._x,p=c.p,d="dialogue",m={title:__("Dialogue","jetpack"),description:__("Create a dialogue paragraph, setting the participant with an optional timestamp.","jetpack"),parent:[`jetpack/${u.u2}`],icon:l.VV,category:"layout",edit:i.Z,save:s.Z,attributes:o.Z,usesContext:["jetpack/conversation-participants","jetpack/conversation-showTimestamps"],keywords:[_x("dialogue","block search term","jetpack"),_x("participant","block search term","jetpack"),_x("transcription","block search term","jetpack"),_x("speaker","block search term","jetpack")],transforms:{to:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>e.map((e=>{let{content:t,label:n}=e;return(0,a.createBlock)("core/paragraph",{content:(n?.length?`<strong>${n}</strong>: `:"")+t})}))}],from:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>e.map((e=>{let{content:t}=e;return(0,a.createBlock)("jetpack/dialogue",{participant:p[0],content:t})}))}]}}},57937:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(52175),o=n(38882),i=n(98017);function s(e){let{attributes:t}=e;const{content:n,label:s,showTimestamp:l,timestamp:c}=t;return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:`${o.P}__meta`},(0,r.createElement)(a.RichText.Content,{className:`${o.P}__participant has-bold-style`,tagName:"div",value:s}),l&&(0,r.createElement)("div",{className:`${o.P}__timestamp-label`},(0,r.createElement)("a",{className:`${o.P}__timestamp_link`,href:`#${(0,i.i)(c)}`},c))),(0,r.createElement)(a.RichText.Content,{className:`${o.P}__content`,tagName:"p",value:n}))}},38882:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});const r="wp-block-jetpack-dialogue"},48387:function(e,t,n){"use strict";var r=n(69307),a=n(78850),o=n(75139),i=n(89105),s=n.n(i),l=n(52175),c=n(17882);t.Z=e=>{let{className:t=null,currency:n=null,defaultValue:i=null,disabled:u=!1,label:p="",onChange:d=null,value:m=""}=e;const[h,f]=(0,r.useState)((0,a.ZP)(m,n,{symbol:""})),[g,b]=(0,r.useState)(!1),[v,k]=(0,r.useState)(!1),y=(0,r.useRef)(null),E=(0,r.useCallback)((e=>{if(f(e),!d)return;const t=(0,c.Vm)(e,n);t&&t>=(0,c.hj)(n)?(d(t),k(!1)):e&&k(!0)}),[n,d]),w=()=>{y.current&&(y.current.focus(),b(!0))};return(0,r.useEffect)((()=>{y.current&&y.current.addEventListener("blur",(()=>b(!1)))}),[y]),(0,r.useEffect)((()=>{g||h||E((0,a.ZP)(i,n,{symbol:""}))}),[n,i,h,g,E]),(0,r.useEffect)((()=>{g||v||f((0,a.ZP)(m,n,{symbol:""}))}),[n,g,v,E,m]),(0,r.createElement)("div",{className:s()("donations__amount",t,{"has-focus":g,"has-error":v}),role:"button",tabIndex:0,onClick:w,onKeyDown:w},o.M[n].symbol,u?(0,r.createElement)("div",{className:"donations__amount-value"},(0,a.ZP)(m||i,n,{symbol:""})):(0,r.createElement)(l.RichText,{allowedFormats:[],"aria-label":p,keepPlaceholderOnFocus:!0,multiline:!1,onChange:e=>E(e),placeholder:(0,a.ZP)(i,n,{symbol:""}),ref:y,value:h,withoutInteractiveFormatting:!0}))}},46928:function(e,t,n){"use strict";var r=n(69307),a=n(75139),o=n(52175),i=n(55609),s=n(65736),l=n(39630),c=n(17882),u=n(4235);const __=s.__;t.Z=e=>{const{attributes:t,setAttributes:n}=e,{currency:s,monthlyDonation:p,annualDonation:d,showCustomAmount:m}=t,h=(e,r)=>{const a={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],o=t[a];n({[a]:{...o,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:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(i.Button,{className:"jetpack-donations__currency-toggle",icon:(0,r.createElement)(r.Fragment,null,a.M[s].symbol+" - "+s,(0,r.createElement)(i.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:t,onKeyDown:e=>{n||e.keyCode!==l.DOWN||(e.preventDefault(),e.stopPropagation(),t())}})},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(i.MenuGroup,null,Object.keys(c.ck).map((e=>(0,r.createElement)(i.MenuItem,{isSelected:e===s,onClick:()=>{n({currency:e}),t()},key:`jetpack-donations-currency-${e}`},a.M[e].symbol+" - "+e))))}}))))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{checked:p.show,onChange:e=>h("1 month",e),label:__("Show monthly donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:d.show,onChange:e=>h("1 year",e),label:__("Show annual donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:m,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,r.createElement)(i.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,u.Z)()}`},__("View donation earnings","jetpack")))))}},92202:function(e,t,n){"use strict";var r=n(69307),a=n(78850),o=n(75139),i=n(52175),s=n(65736),l=n(17882);const __=s.__;t.Z={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:e=>{let{attributes:t}=e;const{currency:n,oneTimeDonation:s,monthlyDonation:c,annualDonation:u,showCustomAmount:p,chooseAmountText:d,customAmountText:m}=t;if(!s||!s.show||-1===s.planId)return null;const h={"one-time":{title:__("One-Time","jetpack")},...c.show&&{"1 month":{title:__("Monthly","jetpack")}},...u.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"donations__container"},Object.keys(h).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(h).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${t} `,"data-interval":t},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:s.heading}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:c.heading}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:u.heading}),(0,r.createElement)(i.RichText.Content,{tagName:"p",value:d}),(0,r.createElement)("div",{className:"donations__amounts donations__one-time-item"},s.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),c.show&&(0,r.createElement)("div",{className:"donations__amounts donations__monthly-item"},c.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),u.show&&(0,r.createElement)("div",{className:"donations__amounts donations__annual-item"},u.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),p&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.RichText.Content,{tagName:"p",value:m}),(0,r.createElement)("div",{className:"donations__amount donations__custom-amount"},o.M[n].symbol,(0,r.createElement)("div",{className:"donations__amount-value","data-currency":n,"data-empty-text":(0,a.ZP)(100*(0,l.hj)(n),n,{symbol:""})}))),(0,r.createElement)("div",{className:"donations__separator"},"——"),(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:s.extraText}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:c.extraText}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__annual-item",value:u.extraText}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:s.buttonText})),c.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:c.buttonText})),u.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:u.buttonText}))))))}}},53104:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(9818),s=n(65736),l=n(53823),c=n(82116),u=n(83040),p=n(10756);const __=s.__;t.Z=e=>{const{attributes:t,className:n,setAttributes:r}=e,{currency:s}=t,[d,m]=(0,o.useState)(""),[h,f]=(0,o.useState)(!1),[g,b]=(0,o.useState)(!1),[v,k]=(0,o.useState)([]),y=(0,i.useSelect)((e=>e("core/editor").getCurrentPost()),[]);(0,o.useEffect)((()=>{r({fallbackLinkUrl:y.link})}),[y.link,r]);const E=e=>{m(e)},w=e=>e.reduce(((e,t)=>{let{id:n,currency:r,type:a,interval:o}=t;return r===s&&"donation"===a&&(e[o]=n),e}),{}),_=e=>{if(!e&&"object"!=typeof e||e.errors)return void m(__("Could not load data from WordPress.com.","jetpack"));f(e.should_upgrade_to_access_memberships),b(e.connect_url);const t=w(e.products);(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(t)?k(t):e.should_upgrade_to_access_memberships||e.connect_url?k({"one-time":-1,"1 month":-1,"1 year":-1}):(0,u.Z)(s).then((e=>k(w(e))),E)};return(0,o.useEffect)((()=>{(0,p.Z)("donation").then(_,E)}),[s]),d?(0,o.createElement)(c.Z,{className:n,error:d}):(0,o.createElement)(l.Z,a()({},e,{products:v,shouldUpgrade:h,stripeConnectUrl:g}))}},83040:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z=async e=>{try{return await a()({path:"/wpcom/v2/memberships/products",method:"POST",data:{type:"donation",currency:e}})}catch(e){return Promise.reject(e.message)}}},10756:function(e,t,n){"use strict";var r=n(82827),a=n(86989),o=n.n(a),i=n(96483);t.Z=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const{query:t}=(0,r.Qc)(window.location.href,!0),n=(0,i.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===t.origin?"gutenberg-wpcom":"gutenberg",...e&&{type:e}});try{return await o()({path:n,method:"GET"})}catch(e){return Promise.reject(e.message)}}},63445:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},Xd:function(){return c}});var r=n(65736),a=n(53104),o=n(56734),i=n(92202),s=n(51591);const __=r.__,l="donations",c={title:__("Donations","jetpack"),description:__("Collect one-time, monthly, or annually recurring donations.","jetpack"),icon:s.K9,category:"earn",keywords:[__("Donations","jetpack")],supports:{html:!1},edit:a.Z,save:o.Z,example:{},deprecated:[i.Z]}},82116:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=e=>{let{className:t,error:n}=e;return(0,r.createElement)(o.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:n,className:t})}},56734:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t}=e;const{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:s}=t;return o&&o.show&&o.planId&&-1!==o.planId?(0,r.createElement)("div",null,(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:o.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:o.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:o.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:i.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:i.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:i.buttonText})),s.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value: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.buttonText}))):null}},75242:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(9818),i=n(65736),s=n(48387),l=n(17882);const __=i.__;t.Z=e=>{let{activeTab:t,attributes:n,setAttributes:c}=e;const{currency:u,oneTimeDonation:p,monthlyDonation:d,annualDonation:m,showCustomAmount:h,chooseAmountText:f,customAmountText:g}=n,b={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"},v=e=>n[b[t]][e],k=(e,r)=>{const a=b[t],o=n[a];c({[a]:{...o,[e]:r}})},[y,E]=(0,r.useState)(u),w=(0,l.hj)(u),_=(0,r.useMemo)((()=>[10*w,30*w,200*w]),[w]);(0,r.useEffect)((()=>{y!==u&&(E(u),c({oneTimeDonation:{...p,amounts:_},monthlyDonation:{...d,amounts:_},annualDonation:{...m,amounts:_}}))}),[u,y,_,p,d,m,c]);const C=v("amounts"),j=(0,o.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:v("heading"),onChange:e=>k("heading",e)}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:f,onChange:e=>c({chooseAmountText:e})}),(0,r.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,r.createElement)(s.Z,{currency:u,defaultValue:_[t],label:(0,i.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,k("amounts",n)})(e,t),value:e})))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:g,onChange:e=>c({customAmountText:e})}),(0,r.createElement)(s.Z,{currency:u,label:__("Custom amount","jetpack"),defaultValue:100*(0,l.hj)(u),className:"donations__custom-amount",disabled:!0})),(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:v("extraText"),onChange:e=>k("extraText",e)}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper"},(0,r.createElement)(a.RichText,{className:"wp-block-button__link donations__donate-button",placeholder:__("Write a message…","jetpack"),value:v("buttonText"),onChange:e=>{return t=e,void c({oneTimeDonation:{...p,buttonText:t},monthlyDonation:{...d,buttonText:t},annualDonation:{...m,buttonText:t}});var t},allowedFormats:j})))}},53823:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(9818),s=n(65736),l=n(46928),c=n(75242),u=n(43393);const __=s.__;t.Z=e=>{const{attributes:t,className:n,products:a,setAttributes:s,shouldUpgrade:p,stripeConnectUrl:d}=e,{oneTimeDonation:m,monthlyDonation:h,annualDonation:f}=t,[g,b]=(0,r.useState)("one-time"),v=(0,i.useSelect)((e=>e("core/editor").getCurrentPostId()),[]),k=(0,r.useCallback)((e=>g===e),[g]),y={"one-time":{title:__("One-Time","jetpack")},...h.show&&{"1 month":{title:__("Monthly","jetpack")}},...f.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.useEffect)((()=>{m.planId===a["one-time"]&&h.planId===a["1 month"]&&f.planId===a["1 year"]||s({oneTimeDonation:{...m,planId:a["one-time"]},monthlyDonation:{...h,planId:a["1 month"]},annualDonation:{...f,planId:a["1 year"]}})}),[m,h,f,s,a]),(0,r.useEffect)((()=>{!h.show&&k("1 month")&&b("one-time"),!f.show&&k("1 year")&&b("one-time")}),[h,f,b,k]),(0,r.createElement)("div",{className:n},!p&&d&&(0,r.createElement)(u.Z,{blockName:"donations",postId:v,stripeConnectUrl:d}),(0,r.createElement)("div",{className:"donations__container"},Object.keys(y).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(y).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:o()("donations__nav-item",{"is-active":k(t)}),onClick:()=>b(t),onKeyDown:()=>b(t),key:`jetpack-donations-nav-item-${t} `},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)(c.Z,{activeTab:g,attributes:t,setAttributes:s}))),(0,r.createElement)(l.Z,e))}},28559:function(e,t){"use strict";t.Z={url:{type:"string",validator:e=>!e||e.startsWith("http")},eventId:{type:"number"},style:{type:"string",default:"inline"}}},77019:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__,i=e=>{let{setEditingUrl:t}=e;return(0,r.createElement)(a.ToolbarGroup,null,(0,r.createElement)(a.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},48631:function(e,t,n){"use strict";var r=n(61652);t.Z=[r.Z]},61652:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(92819),l=n(4981),c=n(65736);const _x=c._x,u=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius"];t.Z={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 r=n;r||(r=e.useModal?"modal":"inline");const a={...(0,s.omit)(e,["useModal",...u]),className:t&&t.replace("is-style-outline",""),style:r},o=(0,s.pick)(e,u);return[a,[(0,l.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(e){let{attributes:t}=e;const{eventId:n,useModal:a,url:s,style:l}=t;if(n)return a||"modal"===l?function(e){const{backgroundColor:t,borderRadius:n,customBackgroundColor:a,customTextColor:s,eventId:l,text:c,textColor:u,url:p}=e,d=(0,i.getColorClassName)("color",u),m=(0,i.getColorClassName)("background-color",t),h=o()("wp-block-button__link",{"has-text-color":u||s,[d]:d,"has-background":t||a,[m]:m,"no-border-radius":0===n}),f={backgroundColor:m?void 0:a,color:d?void 0:s,borderRadius:n?n+"px":void 0};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{className:h,href:p,id:`eventbrite-widget-${l}`,rel:"noopener noreferrer",role:"button",style:f,tagName:"a",target:"_blank",value:c}))}(t):s&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:s},s)},isEligible:(e,t)=>("modal"===e.style||e.useModal)&&((0,s.isEmpty)(t)||(0,s.some)((0,s.pick)(e,u),Boolean))}},62337:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(45166),u=n(28559),p=n(62194),d=n(14087),m=n(58014),h=n(8964),f=n(72566),g=n(87072),b=n(77019);const __=i.__,_x=i._x;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{editedUrl:this.props.attributes.url||"",editingUrl:!1,isResolvingUrl:!1}),a()(this,"setUrl",(e=>{const{attributes:t,noticeOperations:n,setAttributes:r}=this.props,{style:a}=t;if(!e||c.Q7===e||"modal"===a)return;const o=(0,p.Ve)(e);if(o){const t={eventId:o,url:e};(0,g.Z)(t.url,this.setIsResolvingUrl).then((e=>{const a=(0,d.S)(u.Z,{...t,url:e});r(a),this.setState({editedUrl:e}),n.removeAllNotices()})).catch((()=>{r({eventId:void 0,url:void 0}),this.setErrorNotice()}))}else this.setErrorNotice()})),a()(this,"setIsResolvingUrl",(e=>this.setState({isResolvingUrl:e}))),a()(this,"setEditingUrl",(e=>this.setState({editingUrl:e}))),a()(this,"setErrorNotice",(()=>{const{noticeOperations:e,onReplace:t}=this.props,{editedUrl:n}=this.state;e.removeAllNotices(),e.createErrorNotice((0,o.createElement)(o.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,o.createElement)(s.Button,{isLink:!0,onClick:()=>(0,p.N3)(n,t)},_x("Convert block to link","button label","jetpack"))))})),a()(this,"submitForm",(e=>{e&&e.preventDefault(),this.setUrl((0,p.qq)(this.state.editedUrl)),this.setState({editingUrl:!1})})),a()(this,"cannotEmbed",(()=>{const{url:e}=this.props.attributes,{isResolvingUrl:t}=this.state;return!t&&e&&!c.Wh.test(e)}))}componentDidMount(){const{url:e}=this.props.attributes;this.setUrl(e)}renderLoading(){return(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(s.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack")))}renderInspectorControls(){const{style:e}=this.props.attributes,{attributes:t,clientId:n,setAttributes:r}=this.props,a=[{value:"inline",label:__("In-page Embed","jetpack"),preview:(0,o.createElement)("div",{className:"block-editor-block-preview__container"},(0,o.createElement)("img",{src:h,alt:__("In page Eventbrite checkout example","jetpack")}))},{value:"modal",label:__("Button & Modal","jetpack")}];return(0,o.createElement)(f.Z,{title:_x("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack"),clientId:n,styleOptions:a,onSelectStyle:r,activeStyle:e,attributes:t,viewportWidth:130})}renderEditEmbed(){const{className:e,noticeUI:t}=this.props,{editedUrl:n}=this.state,r=(0,m.Wp)()||(0,m.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.Placeholder,{label:__("Eventbrite Checkout","jetpack"),instructions:__("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:(0,o.createElement)(l.BlockIcon,{icon:c.qv}),notices:t},(0,o.createElement)("form",{onSubmit:this.submitForm},(0,o.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:e=>this.setState({editedUrl:e.target.value})}),(0,o.createElement)(s.Button,{isSecondary:!0,type:"submit"},_x("Embed","submit button label","jetpack"))),(0,o.createElement)("div",{className:"components-placeholder__learn-more"},(0,o.createElement)(s.ExternalLink,{href:r},__("Learn more about Eventbrite embeds","jetpack")))))}renderInlinePreview(){const{className:e}=this.props,{eventId:t}=this.props.attributes;if(!t)return;const n=`eventbrite-widget-${t}`,r=`\n\t\t\t<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ${t},\n\t\t\t\t\tiframeContainerId: '${n}',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id="${n}"></div>\n\t\t`;return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.SandBox,{html:r}),(0,o.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}render(){const{attributes:e}=this.props,{url:t,style:n}=e,{editingUrl:r,isResolvingUrl:a}=this.state;return a?this.renderLoading():r||!t||this.cannotEmbed()?this.renderEditEmbed():(0,o.createElement)(o.Fragment,null,this.renderInspectorControls(),(0,o.createElement)(l.BlockControls,null,(0,o.createElement)(b.J,{setEditingUrl:this.setEditingUrl})),"modal"===n?(0,o.createElement)(l.InnerBlocks,{template:[[c.Ss.name,c.Ss.attributes]],templateLock:"all"}):this.renderInlinePreview())}}t.Z=(0,s.withNotices)(v)},45166:function(e,t,n){"use strict";n.d(t,{Ss:function(){return d},Wh:function(){return m},Q7:function(){return f},u2:function(){return g},qv:function(){return v},Xd:function(){return k}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(28559),l=n(48631),c=n(62337),u=n(74318),p=n(57535);const __=a.__,_x=a._x,d={name:"jetpack/button",attributes:{element:"a",text:_x("Register","verb: e.g. register for an event.","jetpack"),uniqueId:"eventbrite-widget-id"}},m=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,h=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,f="https://www.eventbrite.com/e/test-event-tickets-123456789",g="eventbrite",b=__("Eventbrite Checkout","jetpack"),v=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,{id:"eventbrite-icon"},(0,r.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),k={title:b,description:__("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:{src:v,foreground:(0,p.m)()},category:"embed",keywords:[_x("events","block search term","jetpack"),_x("tickets","block search term","jetpack")],supports:{html:!1,align:!0},attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&(m.test(e.textContent)||h.test(e.textContent)),transform:e=>(0,i.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}]},example:{attributes:{url:f,eventId:123456789,style:"modal"},innerBlocks:[d]},deprecated:l.Z}},74318:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{eventId:n,style:o,url:i}=t;if(n)return"modal"===o?(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null)):i&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:i},i)}},62194:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},Ve:function(){return i},qq:function(){return s}});var r=n(69307),a=n(4981);function o(e,t){const n=(0,r.createElement)("a",{href:e},e);t((0,a.createBlock)("core/paragraph",{content:(0,r.renderToString)(n)}))}function i(e){if(!e)return null;const t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&"string"==typeof e?e.trim():null}},47271:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(4981),u=n(9818);const __=s.__;function p(e){let{onReplace:t}=e;const[n,a]=(0,i.useState)(!1),s=(0,u.useSelect)((e=>e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")));return{isGatheringStorm:n,unleashStorm:(e,n)=>{if((0,r.isEmpty)(e))return;const i=e.match(/^https?:\/\/(?:www\.)?twitter\.com\/([^/]+)\/status\/\d+/);if((0,r.isEmpty)(i))return;const p=i[1];n.removeAllNotices(),a(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/tweetstorm/gather",{url:e})}).then((e=>{if(a(!1),!(0,r.isArray)(e))return void n.createErrorNotice(__("An error occurred. Please try again later.","jetpack"));if((0,r.isEmpty)(e))return void n.createErrorNotice(__("We were unable to get any content from this tweet.","jetpack"));t(e.map((e=>{switch(e.type){case"paragraph":return(0,c.createBlock)("core/paragraph",{content:e.content});case"gallery":return(0,c.createBlock)("core/gallery",{images:e.images});case"image":return(0,c.createBlock)("core/image",{url:e.url,alt:e.alt});case"video":return(0,c.createBlock)("core/video",{src:e.url,caption:e.alt});case"embed":return(0,c.createBlock)("core/embed",{url:e.url})}})));(0,r.some)(s,(e=>"twitter"===e.service_name&&`@${p}`===e.display_name))||(0,u.dispatch)("core/notices").createWarningNotice(__("We were unable to verify that this Twitter thread was published on a Twitter account belonging to you. Please ensure you have permission to reproduce it before publishing.","jetpack")),(0,u.dispatch)("core/notices").createSuccessNotice(__("Twitter thread successfully imported","jetpack"),{type:"snackbar"})})).catch((e=>{a(!1),n.createErrorNotice(e.message)}))}}}},72966:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=(0,r.forwardRef)((function(e,t){let{onSubmit:n,onChange:a,value:i=""}=e;return(0,r.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:n},(0,r.createElement)("input",{type:"text",className:"wp-block-jetpack-gif_input components-placeholder__input",placeholder:__("Enter search terms, e.g. cat…","jetpack"),value:i,onChange:a,ref:t,"aria-labelledby":"wp-block-jetpack-gif_search-button"}),(0,r.createElement)(o.Button,{id:"wp-block-jetpack-gif_search-button",isSecondary:!0,type:"submit"},__("Search","jetpack")))}))},32882:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW"},68055:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(52175);function i(){return(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(a.PanelBody,{className:"components-panel__body-gif-branding"},(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,r.createElement)(a.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,r.createElement)(a.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"}))))}},61796:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(31072),u=n(80917),p=n(72966),d=n(68055),m=n(21835);const __=i.__;t.Z=function(e){let{attributes:t,setAttributes:n,className:a,isSelected:i}=e;const{align:h,caption:f,giphyUrl:g,searchText:b,paddingTop:v}=t,k=o()(a,`align${h}`),[y,E]=(0,r.useState)(!1),w=(0,r.createRef)(),{isFetching:_,giphyData:C,fetchGiphyData:j}=(0,m.Z)(),S=()=>{w.current.focus(),E(!1)};(0,r.useEffect)((()=>{C&&C[0]&&n((0,u.ix)(C[0]))}),[C,n]);const x=e=>{e.preventDefault(),t.searchText&&!_&&j((0,u.Gr)(t.searchText))},T=e=>n({searchText:e.target.value});return(0,r.createElement)("div",{className:k},(0,r.createElement)(d.Z,null),g?(0,r.createElement)("figure",null,i&&(0,r.createElement)(p.Z,{onSubmit:x,onChange:T,value:b,ref:w}),i&&C&&C.length>1&&(0,r.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},C.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,r.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:e.id,onClick:t=>{t.preventDefault(),(e=>{n((0,u.ix)(e))})(e)},style:t})}))),(0,r.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:{paddingTop:v}},(0,r.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:S,onKeyDown:S,role:"button",tabIndex:"0"}),(0,r.createElement)("iframe",{src:g,title:b})),(!l.RichText.isEmpty(f)||i)&&!!g&&(0,r.createElement)(l.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:y,unstableOnFocus:()=>E(!1),onChange:e=>n({caption:e}),placeholder:__("Write caption…","jetpack"),tagName:"figcaption",value:f})):(0,r.createElement)(s.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:c.qv,label:c.TN,instructions:__("Search for a term or paste a Giphy URL","jetpack")},(0,r.createElement)(p.Z,{onSubmit:x,onChange:T,value:b,ref:w})))}},21835:function(e,t,n){"use strict";var r=n(69307);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const[t,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(e),[i,s]=(0,r.useState)("");return(0,r.useEffect)((()=>{if(!i)return;(async()=>{n(!0);const e=await fetch(i).then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json(),n=void 0!==t.data.images?[t.data]:t.data;n[0].images&&o(n)}n(!1)})()}),[i]),{isFetching:t,giphyData:a,fetchGiphyData:s}}},31072:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},TN:function(){return c},qv:function(){return u},Xd:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(61796),s=n(57535);const __=a.__,_x=a._x,l="gif",c=__("GIF","jetpack"),u=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),p={title:c,icon:{src:u,foreground:(0,s.m)()},category:"embed",keywords:[_x("animated","block search term","jetpack"),_x("giphy","block search term","jetpack"),_x("image","block search term","jetpack")],description:__("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:i.Z,save:()=>null,example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}}},80917:function(e,t,n){"use strict";n.d(t,{Gr:function(){return s},ix:function(){return u}});var r=n(32882);const a=e=>`https://api.giphy.com/v1/gifs/search?q=${encodeURIComponent(e)}&api_key=${encodeURIComponent(r.U)}&limit=10`,o=e=>`https://api.giphy.com/v1/gifs/${encodeURIComponent(e)}?api_key=${encodeURIComponent(r.U)}`,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n=e.split(t);return n[n.length-1]},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;e=e.trim();const n=/^https?:\/\/(media\.|i\.)?giphy\.com\/(embed|gifs|media)?\/?([-\w]*)(\/giphy)?(\.gif)?$/,r=e.match(n);return r&&r[3]&&(t=i(r[3],"-")),t?o(t):a(e)},l=e=>`${Math.floor(e.images.original.height/e.images.original.width*100)}%`,c=e=>e?.embed_url,u=e=>({giphyUrl:c(e),paddingTop:l(e)})},76280:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__,_x=o._x;t.Z=e=>{const{className:t,embedValue:n,onChange:o,onSubmit:i}=e;return(0,r.createElement)(a.PanelBody,{title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:i,className:t},(0,r.createElement)("textarea",{type:"text",value:n,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:o}),(0,r.createElement)(a.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack"))))}},53997:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(52175),l=n(90162),c=n(4981),u=n(76280),p=n(54286),d=n(3030),m=n(58014);const __=a.__,_x=a._x;t.Z=(0,i.compose)(o.withNotices,(0,l.withViewportMatch)({isMobile:"< small"}))((function(e){const{attributes:{url:t,height:n},className:a,isMobile:i,isSelected:l,name:h,noticeOperations:f,noticeUI:g,setAttributes:b}=e,[v,k]=(0,r.useState)(t||""),[y,E]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1);(0,r.useEffect)((()=>{!l&&w&&_(!1)}),[l,w]);const C=()=>{_(!0)},j=e=>{e&&e.preventDefault();const t=(0,d.L7)(v.trim());if(!d.Wh.test(t.url))return f.removeAllNotices(),void f.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or Embed Code. Please note, you need to use the 'Public URL' or 'Embed Code', the 'Shareable Link' will not work.","jetpack"));b(t),E(!1),f.removeAllNotices()},S=(0,c.getBlockDefaultClassName)(h),x=`<iframe src="${t}" style="border:0" scrolling="no" frameborder="0" height="${i?"300":n}"></iframe>`,T=(0,r.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/google-calendar/"},__("Enable Permissions for the calendar you want to share","jetpack")),P=(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(u.Z,{className:`${S}-embed-form-sidebar`,embedValue:v,onChange:e=>k(e.target.value),onSubmit:j}));if(y||!t){const e=(0,m.Wp)()||(0,m.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/google-calendar/":"https://jetpack.com/support/jetpack-blocks/google-calendar/";return(0,r.createElement)("div",{className:a},P,(0,r.createElement)(o.Placeholder,{className:a,label:__("Google Calendar","jetpack"),icon:(0,r.createElement)(s.BlockIcon,{icon:p.Z}),instructions:(0,r.createElement)("ol",{className:`${S}-placeholder-instructions`},(0,r.createElement)("li",null,T),(0,r.createElement)("li",null,__("Paste the embed code you copied from your Google Calendar below","jetpack"))),notices:g},(N=`${S}-embed-form-editor`,(0,r.createElement)("form",{onSubmit:j,className:N},(0,r.createElement)("textarea",{type:"text",value:v,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:e=>k(e.target.value)}),(0,r.createElement)(o.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)("div",{className:`${S}-placeholder-links`},(0,r.createElement)(o.ExternalLink,{href:e},__("Learn more","jetpack")))))}var N;return(0,r.createElement)("div",{className:a},P,(0,r.createElement)("div",null,(0,r.createElement)(o.SandBox,{html:x,onFocus:C}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:C})))}))},54286:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"23",viewBox:"0 0 24 23",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19.5,23h-15c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h15c2.2,0,4,1.8,4,4v15C23.5,21.2,21.7,23,19.5,23z M4.5,2 c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2V4c0-1.1-0.9-2-2-2H4.5z M6.9,3.9L6.9,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0C6.5,5.9,6.1,5.5,6.1,5V4.7C6.1,4.3,6.5,3.9,6.9,3.9z M17,3.9L17,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0c-0.5,0-0.9-0.4-0.9-0.9V4.7C16.2,4.3,16.5,3.9,17,3.9z M8.8,17.6c1.8,0,3.2-1,3.2-2.4 c0-1.1-0.7-1.8-1.8-1.9v-0.1c0.9-0.2,1.5-0.9,1.5-1.8c0-1.3-1.2-2.2-2.9-2.2c-1.8,0-2.9,1-3,2.5h1.6c0-0.7,0.6-1.1,1.4-1.1 c0.8,0,1.3,0.4,1.3,1.1c0,0.7-0.5,1.1-1.3,1.1h-1v1.3h1c0.9,0,1.5,0.4,1.5,1.1c0,0.7-0.6,1.2-1.4,1.2c-0.9,0-1.4-0.4-1.5-1.1H5.7 C5.8,16.6,7,17.6,8.8,17.6z M17.6,17.4V9.3h-1.7l-2.1,1.4v1.6l2-1.4h0.1v6.4H17.6z"}))},13984:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p}});var r=n(69307),a=n(65736),o=n(4981),i=n(53997),s=n(3030),l=n(54286),c=n(57535);const __=a.__,_x=a._x,u="google-calendar",p={title:__("Google Calendar","jetpack"),description:__("Embed a Google Calendar","jetpack"),keywords:[_x("events","block search term","jetpack"),_x("dates","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack")],icon:{src:l.Z,foreground:(0,c.m)()},category:"embed",supports:{align:!0,alignWide:!0,html:!1},attributes:{url:{type:"string"},height:{type:"integer",default:600}},edit:i.Z,save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)},transforms:{from:[{type:"shortcode",tag:"googleapps",isMatch:function(e){return"calendar"===e.named.domain},attributes:{url:{type:"string",shortcode:e=>{let{named:{domain:t,dir:n,query:r}}=e;return`https://${t}.google.com/${n}?${r}`}}}},{type:"raw",isMatch:e=>"P"===e.nodeName&&s.Wh.test(e.textContent),transform:e=>(0,o.createBlock)("jetpack/google-calendar",{url:e.textContent.trim()})},{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&s.E6.test(e.innerHTML),transform:e=>{const{url:t,height:n}=(0,s.jj)(e.innerHTML.trim());return(0,o.createBlock)("jetpack/google-calendar",{url:t,height:n})}}]},example:{attributes:{url:"https://calendar.google.com/calendar/embed?src=jb4bu80jirp0u11a6niie21pp4%40group.calendar.google.com&ctz=America/New_York"}}}},3030:function(e,t,n){"use strict";n.d(t,{Wh:function(){return a},E6:function(){return o},jj:function(){return c},L7:function(){return u}});const r="s*https?://calendar.google.com/calendar",a=new RegExp(`^${r}`,"i"),o=new RegExp(`<iframe((?:\\s+\\w+=(['"]).*?\\2)*)\\s+src=(["'])(${r}.*?)\\3((?:\\s+\\w+=(['"]).*?\\6)*)`,"i"),i=new RegExp(`${r}\\?cid=([-A-Za-z0-9+/]+={0,3})`,"i"),s=/\s+(\w+)=(["'])(.*?)\2/gi;function l(e){const t=i.exec(e);if(t)return"https://calendar.google.com/calendar/embed?src="+encodeURIComponent(atob(t[1]))}function c(e){const t=o.exec(e);if(!t)return;const n={};return t.forEach(((e,t)=>{if(0===t)return;if(a.test(e))return void(n.url=e);let r;for(;null!==(r=s.exec(e));)n[r[1]]=r[3]})),{url:n.url,width:n.width,height:n.height}}function u(e){return o.test(e)?c(e):i.test(e)?{url:l(e)}:{url:e}}},74956:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{attributes:t,setAttributes:n}=e;const{orientation:o}=t;return(0,r.createElement)(a.PanelBody,{title:__("Orientation","jetpack")},(0,r.createElement)(a.RadioControl,{selected:o||"horizontal",options:[{label:__("Side by side","jetpack"),value:"horizontal"},{label:__("Above and below","jetpack"),value:"vertical"}],onChange:e=>n({orientation:e})}))}},38544:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(94333),s=n(65736),l=n(5968),c=n(74956),u=n(91667),p=n(12379);n(728);const __=s.__;t.Z=e=>{let{attributes:t,className:n,clientId:s,isSelected:d,setAttributes:m}=e;const{imageBefore:h,imageAfter:f,caption:g,orientation:b}=t;let v=null,k=null;const y=(0,r.useRef)();i.useResizeObserver&&([v,k]=(0,i.useResizeObserver)(),(0,p.Z)((e=>{e>0&&"undefined"!=typeof juxtapose&&juxtapose.sliders&&juxtapose.sliders.forEach((t=>{t.wrapper.parentElement.id===s&&t.optimizeWrapper(e)}))}),200,k.width));const E=h&&h.url&&f&&f.url?"image-compare__comparison juxtapose":"image-compare__placeholder";return(0,r.useLayoutEffect)((()=>{h.url&&f.url&&"undefined"!=typeof juxtapose&&juxtapose.makeSlider(y?.current)}),[h,f,b]),(0,r.createElement)("figure",{className:n,id:s},v,(0,r.createElement)(a.InspectorControls,{key:"controls"},(0,r.createElement)(c.Z,{attributes:t,setAttributes:m})),(0,r.createElement)("div",{ref:y,className:E,"data-mode":b||"horizontal"},(0,r.createElement)(o.Placeholder,{label:null},(0,r.createElement)("div",{className:"image-compare__image-before"},(0,r.createElement)(u.Z,{image:{id:h.id,url:h.url,alt:h.alt},placeHolderLabel:__("Image before","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=i?.width)&&void 0!==t?t:e.width,c=null!==(n=i?.height)&&void 0!==n?n:e.height;m({imageBefore:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})),(0,r.createElement)("div",{className:"image-compare__image-after"},(0,r.createElement)(u.Z,{image:{id:f.id,url:f.url,alt:f.alt},placeHolderLabel:__("Image after","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=i?.width)&&void 0!==t?t:e.width,c=null!==(n=i?.height)&&void 0!==n?n:e.height;m({imageAfter:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})))),(!a.RichText.isEmpty(g)||d&&h.url&&f.url)&&(0,r.createElement)(a.RichText,{tagName:"figcaption",placeholder:__("Write caption","jetpack"),value:g,onChange:e=>m({caption:e}),inlineToolbar:!0}))}},94703:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M21 4h-6v1.5h6c.3 0 .5.2.5.5v.4l-3.6 3.5L15 8.1v1.8l2.6 1.7c.1.1.3.1.4.1.2 0 .4-.1.5-.2l3-2.9V18c0 .3-.2.5-.5.5h-6V20h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM1 6v12c0 1.1.9 2 2 2h10.5V4H3c-1.1 0-2 .9-2 2zm11 12.5H3c-.3 0-.5-.2-.5-.5v-1.4L5 14.7l1.5-1.1.1-.1 3 1.9c.1.1.3.1.4.1.2 0 .4-.1.5-.2L12 14v4.5zm0-6.6l-2.1 2L7 12c-.1-.1-.3-.1-.4-.1h-.1c-.1 0-.3.1-.4.1l-1.1.9-2.5 1.8V6c0-.3.2-.5.5-.5h9v6.4z"}))},91667:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(55609);t.Z=(0,a.compose)([i.withNotices])((e=>{const{image:t,noticeOperations:n,noticeUI:a,onChange:i,placeHolderLabel:s}=e,l=(0,r.createElement)("img",{id:t.id,src:t.url,alt:t.alt}),c=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.MediaPlaceholder,{labels:{title:s},accept:"image/*",allowedTypes:["image"],onSelect:i,onError:e=>n.createErrorNotice(e),notices:a}));return t&&t.url?l:c}))},1624:function(e,t,n){"use strict";n.d(t,{u:function(){return p},X:function(){return d}});var r=n(65736),a=n(38544),o=n(94703),i=n(31105),s=n(90767),l=n(58632),c=n(20510),u=n(57535);const __=r.__,_x=r._x,p="image-compare",d={title:__("Image Compare","jetpack"),description:__("Compare two images with a slider. Works best with images of the same size.","jetpack"),icon:{src:o.Z,foreground:(0,u.m)()},category:(0,c.Z)("media","layout"),keywords:[_x("juxtapose","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("side by side","block search term","jetpack"),_x("slider","block search term","jetpack")],attributes:{imageBefore:{type:"object",default:{}},imageAfter:{type:"object",default:{}},caption:{type:"string"},orientation:{type:"string",default:"horizontal"}},example:{attributes:{imageBefore:{id:1,url:l,alt:__("Before","jetpack")},imageAfter:{id:2,url:s,alt:__("After","jetpack")},caption:__("Example image","jetpack")}},edit:a.Z,save:i.Z}},31105:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t,className:n}=e;const{imageBefore:o,imageAfter:i,caption:s,orientation:l}=t;return(0,r.createElement)("figure",{className:n},(0,r.createElement)("div",{className:"juxtapose","data-mode":l||"horizontal"},(0,r.createElement)("img",{id:o.id,src:o.url,alt:o.alt,width:o.width,height:o.height,className:"image-compare__image-before"}),(0,r.createElement)("img",{id:i.id,src:i.url,alt:i.alt,width:i.width,height:i.height,className:"image-compare__image-after"})),!a.RichText.isEmpty(s)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:s}))}},12379:function(e,t,n){"use strict";var r=n(69307);t.Z=(e,t,n)=>{(0,r.useEffect)((()=>{const r=setTimeout((()=>e(n)),t);return()=>clearTimeout(r)}),[n])}},728:function(e,t,n){"use strict";var r=n(47701);n.n(r)()((function(){const e={sliders:[],OPTIMIZATION_ACCEPTED:1,OPTIMIZATION_WAS_CONSTRAINED:2};function t(e,t){const n=this;this.image=new Image,this.loaded=!1,this.image.onload=function(){n.loaded=!0,t._onLoaded()},this.image.src=e.src,this.image.alt=e.alt||"",this.label=e.label||!1}function n(e,t){e&&e.classList.add(t)}function r(e,t){e&&e.classList.remove(t)}function a(e){return{width:parseInt(window.getComputedStyle(e).width,10),height:parseInt(window.getComputedStyle(e).height,10)}}function o(e,t){let n;if("string"==typeof t||"number"==typeof t)n=parseInt(t,10);else{const r=e.getBoundingClientRect(),a={top:r.top+document.body.scrollTop+document.documentElement.scrollTop,left:r.left+document.body.scrollLeft+document.documentElement.scrollLeft},o=e.offsetWidth;n=(function(e){let t;return t=e.pageX?e.pageX:e.touches?e.touches[0].pageX:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,t}(t)-a.left)/o*100}return n}function i(e,t,n){let r;if("string"==typeof t||"number"==typeof t)r=parseInt(t,10);else{const a=e.getBoundingClientRect(),o={top:a.top+n.body.scrollTop+n.documentElement.scrollTop,left:a.left+n.body.scrollLeft+n.documentElement.scrollLeft},i=e.offsetHeight;r=(function(e){let t;return t=e.pageY?e.pageY:e.touches?e.touches[0].pageY:e.clientY+document.body.scrollTop+document.documentElement.scrollTop,t}(t)-o.top)/i*100}return r}const s={animate:!0,showLabels:!0,makeResponsive:!0};function l(e,n,r){let a;for(a in this.element=e,this.options={animate:!0,showLabels:!0,makeResponsive:!0,startingPosition:"50%",mode:"horizontal",callback:null},this.options)a in r&&(this.options[a]=a in s?"string"!=typeof(o=r[a])?Boolean(o):!("false"===o||""===o):r[a]);var o;2===n.length&&(this.imgBefore=new t(n[0],this),this.imgAfter=new t(n[1],this))}l.prototype={updateSlider:function(e,t){let a;a="vertical"===this.options.mode?i(this.slider,e,this.sliderParentDocument):o(this.slider,e),a=a.toFixed(2)+"%";const s=parseFloat(a),l=100-s+"%";s>0&&s<100&&(r(this.handle,"transition"),r(this.rightImage,"transition"),r(this.leftImage,"transition"),this.options.animate&&t&&(n(this.handle,"transition"),n(this.leftImage,"transition"),n(this.rightImage,"transition")),"vertical"===this.options.mode?(this.handle.style.top=a,this.leftImage.style.height=a,this.rightImage.style.height=l):(this.handle.style.left=a,this.leftImage.style.width=a,this.rightImage.style.width=l),this.sliderPosition=a)},getPosition:function(){return this.sliderPosition},displayLabel:function(e,t){const n=document.createElement("div");n.className="jx-label",n.setAttribute("tabindex",0),function(e,t){document.body.textContent?e.textContent=t:e.innerText=t}(n,t),e.appendChild(n)},setStartingPosition:function(e){this.options.startingPosition=e},calculateDims:function(e,t){const n=(r=this.imgBefore.image,{width:r.naturalWidth,height:r.naturalHeight,aspect:function(){return this.width/this.height}}).aspect();var r;return e?t=e/n:t&&(e=t*n),{width:e,height:t,ratio:n}},responsivizeIframe:function(e){return e.height<window.innerHeight?e.ratio>=1&&(this.wrapper.style.paddingTop=parseInt((window.innerHeight-e.height)/2)+"px"):e.height>window.innerHeight&&(e=this.calculateDims(0,window.innerHeight),this.wrapper.style.paddingLeft=parseInt((window.innerWidth-e.width)/2)+"px"),e},setWrapperDimensions:function(){const e=a(this.wrapper.parentNode).width,t=a(this.wrapper.parentNode).height;let n=this.calculateDims(e,t);window.location===window.parent.location||this.options.makeResponsive||(n=this.responsivizeIframe(n)),this.wrapper.style.height=parseInt(n.height)+"px",this.wrapper.style.width=parseInt(n.width)+"px"},optimizeWrapper:function(t){let n=e.OPTIMIZATION_ACCEPTED;return this.imgBefore.image.naturalWidth>=t&&this.imgAfter.image.naturalWidth>=t?(this.wrapper.style.width=t+"px",n=e.OPTIMIZATION_WAS_CONSTRAINED):this.imgAfter.image.naturalWidth<t?this.wrapper.style.width=this.imgAfter.image.naturalWidth+"px":this.wrapper.style.width=this.imgBefore.image.naturalWidth+"px",this.setWrapperDimensions(),n},_onLoaded:function(){if(this.imgBefore&&!0===this.imgBefore.loaded&&this.imgAfter&&!0===this.imgAfter.loaded){if(this.wrapper=this.element,!this.wrapper||this.wrapper.querySelector(".jx-slider"))return;n(this.wrapper,"juxtapose"),this.wrapper.style.width=this.imgBefore.image.naturalWidth,this.setWrapperDimensions(),this.slider=document.createElement("div"),this.slider.className="jx-slider",this.wrapper.appendChild(this.slider),this.sliderParentDocument=this.wrapper.ownerDocument,"horizontal"!==this.options.mode&&n(this.slider,this.options.mode),this.handle=document.createElement("div"),this.handle.className="jx-handle",this.rightImage=document.createElement("div"),this.rightImage.className="jx-image jx-right",this.rightImage.appendChild(this.imgAfter.image),this.leftImage=document.createElement("div"),this.leftImage.className="jx-image jx-left",this.leftImage.appendChild(this.imgBefore.image),this.slider.appendChild(this.handle),this.slider.appendChild(this.leftImage),this.slider.appendChild(this.rightImage),this.leftArrow=document.createElement("div"),this.rightArrow=document.createElement("div"),this.control=document.createElement("div"),this.controller=document.createElement("div"),this.leftArrow.className="jx-arrow jx-left",this.rightArrow.className="jx-arrow jx-right",this.control.className="jx-control",this.controller.className="jx-controller",this.controller.setAttribute("tabindex",0),this.controller.setAttribute("role","slider"),this.controller.setAttribute("aria-valuenow",50),this.controller.setAttribute("aria-valuemin",0),this.controller.setAttribute("aria-valuemax",100),this.controller.setAttribute("aria-label",window.imageCompareHandle?.msg||"Slide to compare images"),this.handle.appendChild(this.leftArrow),this.handle.appendChild(this.control),this.handle.appendChild(this.rightArrow),this.control.appendChild(this.controller),this._init()}},_init:function(){this.updateSlider(this.options.startingPosition,!1),!0===this.options.showLabels&&(this.imgBefore.label&&this.displayLabel(this.leftImage,this.imgBefore.label),this.imgAfter.label&&this.displayLabel(this.rightImage,this.imgAfter.label));const t=this;window.addEventListener("resize",(function(){t.setWrapperDimensions()})),this.slider.addEventListener("mousedown",(function(e){e.preventDefault(),t.updateSlider(e,!0);let n=!0;this.addEventListener("mousemove",(function(e){e.preventDefault(),n&&t.updateSlider(e,!1)})),this.addEventListener("mouseup",(function(e){e.preventDefault(),e.stopPropagation(),n=!1}))})),this.slider.addEventListener("touchstart",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!0),this.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!1)}))})),this.handle.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;let r=parseFloat(this.style.left);if(37===n){r-=1;const e=parseFloat(this.style.left)-1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}if(39===n){r+=1;const e=parseFloat(this.style.left)+1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}})),this.leftImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("90%",!0),t.controller.setAttribute("aria-valuenow",91))})),this.rightImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("10%",!0),t.controller.setAttribute("aria-valuenow",10))})),e.sliders.push(this),this.options.callback&&"function"==typeof this.options.callback&&this.options.callback(this)}},e.makeSlider=function(t,r){void 0===r&&(r=e.sliders.length);const a=t,o=a.querySelectorAll("img");if(o.length<2)return;const i={};a.getAttribute("data-animate")&&(i.animate=a.getAttribute("data-animate")),a.getAttribute("data-showlabels")&&(i.showLabels=a.getAttribute("data-showlabels")),a.getAttribute("data-startingposition")&&(i.startingPosition=a.getAttribute("data-startingposition")),a.getAttribute("data-mode")&&(i.mode=a.getAttribute("data-mode")),a.getAttribute("data-makeresponsive")&&(i.mode=a.getAttribute("data-makeresponsive"));return n(t,"juxtapose-"+r),a.innerHTML?a.innerHTML="":a.innerText="",new e.JXSlider(t,[{src:o[0].src,label:o[0].getAttribute("data-label"),alt:o[0].alt},{src:o[1].src,label:o[1].getAttribute("data-label"),alt:o[1].alt}],i)},e.scanPage=function(){const t=document.querySelectorAll(".juxtapose");for(let n=0;n<t.length;n++)e.makeSlider(t[n],n)},e.JXSlider=l,window.juxtapose=e,e.scanPage()}))},18776:function(e,t){"use strict";t.Z={accessToken:{type:"string"},instagramUser:{type:"string"},columns:{type:"number",default:3,min:1,max:6},count:{type:"number",default:9,min:1,max:30},spacing:{type:"number",default:10,min:0,max:50},isStackedOnMobile:{type:"boolean",default:!0}}},14937:function(e,t,n){"use strict";n.d(t,{u:function(){return r},D:function(){return a}});const r=30,a="jetpack-new-instagram-connection"},3802:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(14937);const __=o.__,_n=o._n;function s(e){let{accountImageTotal:t,attributes:n,currentUserConnected:s,disconnectFromService:l,shouldRenderSidebarNotice:c,setAttributes:u}=e;const{accessToken:p,columns:d,count:m,instagramUser:h,isStackedOnMobile:f,spacing:g}=n;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelBody,{title:__("Account Settings","jetpack")},(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("span",null,__("Account","jetpack")),(0,r.createElement)(a.ExternalLink,{href:`https://www.instagram.com/${h}/`},"@",h)),s&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isDestructive:!0,isLink:!0,onClick:()=>l(p)},__("Disconnect your account","jetpack")))),(0,r.createElement)(a.PanelBody,{title:__("Display Settings","jetpack")},c?(()=>{const e=t?(0,o.sprintf)(
+__("%s are not a valid email address.","jetpack"),e.join(", "))}return null})()),(0,r.createElement)(h.TextControl,{label:__("Email subject line","jetpack"),value:t,placeholder:__("Enter a subject","jetpack"),onChange:e=>n({subject:e}),help:__("Choose a subject line that you recognize as an email from your website.","jetpack")}),(0,r.createElement)(h.SelectControl,{label:__("On Submission","jetpack"),value:B,options:[{label:__("Show a summary of submitted fields","jetpack"),value:""},{label:__("Show a custom text message","jetpack"),value:"message"},{label:__("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:e=>n({customThankyou:e})}),"redirect"!==B&&(0,r.createElement)(h.TextControl,{label:__("Message Heading","jetpack"),value:M,placeholder:__("Message Sent","jetpack"),onChange:e=>n({customThankyouHeading:e})}),"message"===B&&(0,r.createElement)(h.TextareaControl,{label:__("Message Text","jetpack"),value:R,placeholder:__("Thank you for your submission!","jetpack"),onChange:e=>n({customThankyouMessage:e})}),"redirect"===B&&(0,r.createElement)(h.BaseControl,{label:__("Redirect Address","jetpack"),id:`contact-form-${S}-thankyou-url`},(0,r.createElement)(m.URLInput,{id:`contact-form-${S}-thankyou-url`,value:L,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>n({customThankyouRedirect:e})})))};return!E&&u.registerBlockVariation?(0,r.createElement)("div",{className:z},(0,r.createElement)(m.__experimentalBlockVariationPicker,{icon:(0,a.get)(x,["icon","src"]),label:(0,a.get)(x,["title"]),instructions:__("Please select which type of form you'd like to add, or create your own using the skip option.","jetpack"),variations:P,allowSkip:!0,onSelect:function(){U(arguments.length>0&&void 0!==arguments[0]?arguments[0]:T)}})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.BlockControls,null,(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(h.ToolbarItem,null,(()=>(0,r.createElement)(h.Dropdown,{position:"bottom right",className:"jetpack-contact-form-settings-selector",contentClassName:"jetpack-contact-form__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(h.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("Edit Form Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==d.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,r.createElement)(h.Icon,{icon:"edit"})}))(t,n)},renderContent:()=>G()}))))),(0,r.createElement)(m.InspectorControls,null,(0,r.createElement)(h.PanelBody,{title:__("Form Settings","jetpack")},G()),!(0,f.Wp)()&&(0,r.createElement)(r.Fragment,null,N&&(0,r.createElement)(v.Z,{jetpackCRM:Z,setAttributes:n}),(0,r.createElement)(k.Z,null))),(0,r.createElement)("div",{className:z},(0,r.createElement)(m.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))}))},6528:function(e,t,n){"use strict";n.d(t,{Nk:function(){return x},Xd:function(){return w},u2:function(){return y}});var r=n(69307),a=n(65736),o=n(4981),i=n(55609),s=n(52175),l=n(8565),c=n(99837),u=n(14142),p=n(4901),d=n(62992),m=n(47081),h=n(92158),f=n(55740),g=n(26838),b=n(36598),v=n(70355),k=n(82150);const __=a.__,_x=a._x,y="contact-form",E=(0,b.Z)((0,r.createElement)(i.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 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-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),w={title:__("Form","jetpack"),description:__("A simple way to get feedback from folks visiting your site.","jetpack"),icon:{src:E,foreground:(0,v.m)()},keywords:[_x("email","block search term","jetpack"),_x("feedback","block search term","jetpack"),_x("contact form","block search term","jetpack")],supports:{color:{link:!0,gradients:!0},html:!1,spacing:{padding:!0,margin:!0}},attributes:c.Z,edit:l.Z,save:()=>{const e=s.useBlockProps.save();return(0,r.createElement)("div",e,(0,r.createElement)(s.InnerBlocks.Content,null))},variations:u.Z,category:"grow",transforms:d.Z,deprecated:p.Z},_={category:"grow",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-checkbox-multiple",e)},{type:"block",blocks:["jetpack/field-radio"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-radio",e)},{type:"block",blocks:["jetpack/field-select"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-select",e)},{type:"block",blocks:["jetpack/field-consent"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-consent",e)}]},save:()=>null,example:{}},C=e=>{let{attributes:t,name:n}=e;return null===t.label?(0,o.getBlockType)(n).title:t.label},S=e=>t=>(0,r.createElement)(m.Z,{type:e,label:C(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width}),j=e=>t=>(0,r.createElement)(g.Z,{label:C(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width}),x=[{name:"field-text",settings:{..._,title:__("Text","jetpack"),description:__("When you need just a small amount of text, add a text input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:S("text")}},{name:"field-name",settings:{..._,title:__("Name","jetpack"),description:__("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:S("text")}},{name:"field-email",settings:{..._,title:__("Email","jetpack"),keywords:[__("e-mail","jetpack"),__("mail","jetpack"),"email"],description:__("Want to reply to folks? Add an email address input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:S("email")}},{name:"field-url",settings:{..._,title:__("Website","jetpack"),keywords:["url",__("internet page","jetpack"),"link"],description:__("Add an address input for a website.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:S("url")}},{name:"field-date",settings:{..._,title:__("Date Picker","jetpack"),keywords:[__("Calendar","jetpack"),_x("day month year","block search term","jetpack")],description:__("The best way to set a date. Add a date picker.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:S("text")}},{name:"field-telephone",settings:{..._,title:__("Phone Number","jetpack"),keywords:[__("Phone","jetpack"),__("Cellular phone","jetpack"),__("Mobile","jetpack")],description:__("Add a phone number input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:S("tel")}},{name:"field-textarea",settings:{..._,title:__("Message","jetpack"),keywords:[__("Textarea","jetpack"),"textarea",__("Multiline text","jetpack")],description:__("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:e=>(0,r.createElement)(h.Z,{label:C(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})}},{name:"field-checkbox",settings:{..._,title:__("Checkbox","jetpack"),keywords:[__("Confirm","jetpack"),__("Accept","jetpack")],description:__("Add a single checkbox.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:e=>(0,r.createElement)(f.Z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width}),attributes:{..._.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{..._,title:__("Consent","jetpack"),keywords:[__("Consent","jetpack")],description:__("Ask for consent","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"m81 370h142v40h-142zm0-39h142v-40h-142zm0-79h245v-40h-245zm378 260h-40c0-40.253906-32.746094-73-73-73s-73 32.746094-73 73h-40c0-42.085938 23.128906-78.867188 57.34375-98.3125-11.40625-13.023438-18.34375-30.054688-18.34375-48.6875 0-40.804688 33.195312-74 74-74s74 33.195312 74 74c0 18.632812-6.9375 35.664062-18.34375 48.6875 34.214844 19.445312 57.34375 56.226562 57.34375 98.3125zm-113-113c18.746094 0 34-15.253906 34-34s-15.253906-34-34-34-34 15.253906-34 34 15.253906 34 34 34zm-286 73h138.316406c-3.460937 12.757812-5.316406 26.164062-5.316406 40h-133c-33.085938 0-60-26.914062-60-60v-392c0-33.085938 26.914062-60 60-60h203.757812l142.132813 142.855469v125.210937c-12.042969-7.476562-25.453125-12.765625-39.890625-15.324218v-81.632813h-71.109375c-33.085937 0-60-26.914063-60-60v-71.109375h-174.890625c-11.027344 0-20 8.972656-20 20v392c0 11.027344 8.972656 20 20 20zm234.890625-340.890625h42.972656l-62.972656-63.234375v43.234375c0 11.03125 8.96875 20 20 20zm0 0"}),24,25,"-26 0 512 512"),attributes:{..._.attributes,label:{type:"string",default:__("Consent","jetpack")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack")}},edit:e=>{let{attributes:t,isSelected:n,setAttributes:a}=e;const{id:o,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c}=t;return(0,r.createElement)(k.Z,{id:o,isSelected:n,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c,setAttributes:a})}}},{name:"field-checkbox-multiple",settings:{..._,title:__("Checkbox Group","jetpack"),keywords:[__("Choose Multiple","jetpack"),__("Option","jetpack")],description:__("People love options. Add several checkbox items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:j("checkbox"),attributes:{..._.attributes,label:{type:"string",default:"Choose several"}}}},{name:"field-radio",settings:{..._,title:__("Radio","jetpack"),keywords:[__("Choose","jetpack"),__("Select","jetpack"),__("Option","jetpack")],description:__("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.createElement)(i.Circle,{cx:"12",cy:"12",r:"5"}))),edit:j("radio"),attributes:{..._.attributes,label:{type:"string",default:"Choose one"}}}},{name:"field-select",settings:{..._,title:__("Select","jetpack"),keywords:[__("Choose","jetpack"),__("Dropdown","jetpack"),__("Option","jetpack")],description:__("Compact, but powerful. Add a select box with several items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:j("select"),attributes:{..._.attributes,label:{type:"string",default:"Select one"}}}}]},62992:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=(e,t,n)=>{const r=n.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(r&&r.length)return r[1];const a=n.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(a&&a.length)return a[1];const o=n.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!o||!o.length)&&o[1]},s={root:{},innerBlocks:[]};t.Z={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("<br>","");if(t.includes("[contact-form")&&(s.root={},s.innerBlocks=[],s.root=(e=>{const t={to:i("contact-form","to",e),subject:i("contact-form","subject",e),submitButtonText:i("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,r.pickBy)(t,r.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{s.innerBlocks.push((e=>{const t={label:i("contact-field","label",e),placeholder:i("contact-field","placeholder",e),required:i("contact-field","required",e),options:i("contact-field","options",e)},n=(e=>{const t={text:"jetpack/field-text",url:"jetpack/field-text",textarea:"jetpack/field-textarea",radio:"jetpack/field-radio",checkbox:"jetpack/field-checkbox","checkbox-multiple":"jetpack/field-checkbox-multiple",select:"jetpack/field-select",email:"jetpack/field-email",name:"jetpack/field-name",default:"jetpack/field-text"};return t[e]?t[e]:t.default})(i("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(n,(0,r.pickBy)(t,r.identity))})(e))}))}if(t.includes("[/contact-form]")){s.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:s.root.attrs.submitButtonText||__("Contact Us","jetpack")}));return(0,a.createBlock)(s.root.blockName,s.root.attrs,s.innerBlocks)}return!1}}]}},14142:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(13419),i=n(65736),s=n(55609),l=n(36598),c=n(70355);const __=i.__,u=(0,a.compact)([{name:"contact-form",title:__("Contact Form","jetpack"),description:__("Add a contact form to your page.","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M21.99 8c0-.72-.37-1.35-.94-1.7l-8.04-4.71c-.62-.37-1.4-.37-2.02 0L2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zm-11.05 4.34l-7.2-4.5 7.25-4.25c.62-.37 1.4-.37 2.02 0l7.25 4.25-7.2 4.5c-.65.4-1.47.4-2.12 0z"}),48,48,"-4 -4 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-textarea",{}],["jetpack/button",{text:__("Contact Us","jetpack"),element:"button"}]]},!(0,o.Wp)()&&{name:"newsletter-form",title:__("Newsletter Sign-up","jetpack"),description:__("A simple way to collect information from folks visiting your site.","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M37.9999 7.59998C49.3999 7.59998 68.3999 26.6 68.3999 26.6V68.4H7.59985V26.6C7.59985 26.6 26.5999 7.59998 37.9999 7.59998ZM64.5999 63.536L50.4259 52.44L64.5999 41.8L62.9659 40.394L54.3779 45.334L55.2899 28.956L21.9639 26.98L20.2159 44.232L12.6539 40.622L11.3999 41.8L25.5739 52.44L12.5019 63.27L14.0219 64.904L37.9999 49.4L62.8139 65.17L64.5999 63.536Z"}),48,48,"-6 -6 92 92"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack"),element:"button"}]]},{name:"rsvp-form",title:__("RSVP Form","jetpack"),description:__("Add an RSVP form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M10 9V7.41c0-.89-1.08-1.34-1.71-.71L3.7 11.29c-.39.39-.39 1.02 0 1.41l4.59 4.59c.63.63 1.71.19 1.71-.7V14.9c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Attending?","jetpack"),required:!0,options:[__("Yes","jetpack"),__("No","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send RSVP","jetpack"),element:"button"}]],attributes:{subject:__("A new RSVP from your website","jetpack")}},{name:"registration-form",title:__("Registration Form","jetpack"),description:__("Add a Registration form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M11.34 15.02c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95zm2.12-10.61L17 7.95l-4.95 4.95-3.54-3.54 4.95-4.95zm6.95 11l-2.12-2.12c-.18-.18-.44-.29-.7-.29h-.27l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2h-.42c-.27 0-.52.11-.71.29l-2.12 2.12c-.37.38-.58.89-.58 1.42V20c0 1.1.9 2 2 2h14c1.1 0 2-.89 2-2v-3.17c0-.53-.21-1.04-.59-1.42z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{label:__("Phone Number","jetpack")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack"),options:[__("Search Engine","jetpack"),__("Social Media","jetpack"),__("TV","jetpack"),__("Radio","jetpack"),__("Friend or Family","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send","jetpack"),element:"button"}]],attributes:{subject:__("A new registration from your website","jetpack")}},{name:"appointment-form",title:__("Appointment Form","jetpack"),description:__("Add an Appointment booking form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V8c0-.55-.45-1-1-1s-1 .45-1 1v2H2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1H6zm9 4c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{required:!0}],["jetpack/field-date",{label:__("Date","jetpack"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack"),required:!0,options:[__("Morning","jetpack"),__("Afternoon","jetpack")]}],["jetpack/field-textarea",{label:__("Notes","jetpack")}],["jetpack/button",{text:__("Book Appointment","jetpack"),element:"button"}]],attributes:{subject:__("A new appointment booked from your website","jetpack")}},{name:"feedback-form",title:__("Feedback Form","jetpack"),description:__("Add a Feedback form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.03 0 3.8-1.11 4.75-2.75.19-.33-.05-.75-.44-.75H7.69c-.38 0-.63.42-.44.75.95 1.64 2.72 2.75 4.75 2.75z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Please rate our website","jetpack"),required:!0,options:[__("1 - Very Bad","jetpack"),__("2 - Poor","jetpack"),__("3 - Average","jetpack"),__("4 - Good","jetpack"),__("5 - Excellent","jetpack")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack")}],["jetpack/button",{text:__("Send Feedback","jetpack"),element:"button"}]],attributes:{subject:__("New feedback received from your website","jetpack")}}]);t.Z=u},36553:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(35208);const __=i.__;class u extends r.Component{constructor(){super(...arguments),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"!==e.key||e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:a,region:i,postal:u,country:p,linkToGoogleMaps:d},isSelected:m,setAttributes:h}=this.props,f=[e,t,n,a,i,u,p].some((e=>""!==e)),g=o()({"jetpack-address-block":!0,"is-selected":m}),b=(0,r.createElement)(l.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:d,onChange:e=>h({linkToGoogleMaps:e})});return(0,r.createElement)("div",{className:g},!m&&f&&(0,c.Z)(this.props),(m||!f)&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>h({address:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>h({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>h({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:a,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>h({city:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:i,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>h({region:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:u,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>h({postal:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>h({country:e}),onKeyDown:this.preventEnterKey}),b))}}t.Z=u},11005:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(36553),s=n(35208),l=n(36598);const __=a.__,_x=a._x,c="address",u={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,l.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.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)(o.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:i.Z,save:s.Z}},35208:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:a,city:o,region:i,postal:s,country:l}}=e;return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},t),n&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},n),a&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(i||s)&&(0,r.createElement)("div",{className:"jetpack-address__city"},o),o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__city"},o),", ",(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&(0,r.createElement)("div",{className:"jetpack-address__country"},l))},i=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}}=e;let l=o?`+${o},`:"";l=i?`${l}+${i}`:l;return`https://www.google.com/maps/search/${t?`${t},`:""}${n?`${n},`:""}${r?`${r},`:""}${a?`+${a},`:""}${l}${s?`+${s}`:""}`.replace(" ","+")};t.Z=e=>(e=>{let{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}=e;return[t,n,r,a,o,i,s].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))},83238:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65235),i=n.n(o);const s=["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"]];t.Z=e=>{const{isSelected:t}=e;return(0,r.createElement)("div",{className:i()({"jetpack-contact-info-block":!0,"is-selected":t})},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:s,templateLock:!1,template:l}))}},31336:function(e,t,n){"use strict";var r=n(90458),a=n(66425),o=n(65736);const __=o.__;t.Z=e=>{const{setAttributes:t}=e;return(0,a.Z)("email",e,__("Email","jetpack"),r.Z,(e=>t({email:e})))}},99804:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(31336),s=n(36598),l=n(90458);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z,parent:["jetpack/contact-info"]}},90458:function(e,t,n){"use strict";var r=n(69307),a=n(92384);t.Z=e=>{let{attributes:{email:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},t.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&a.validate(n)?e===n?(0,r.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,r.createElement)(r.Fragment,{key:t},(0,r.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,r.createElement)(r.Fragment,null,e.slice(-(e.length-n.length)))):(0,r.createElement)(r.Fragment,{key:t},e)})))}},64446:function(e,t,n){"use strict";n.d(t,{Nk:function(){return b},Xd:function(){return g},u2:function(){return h}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(4981),l=n(83238),c=n(36598),u=n(11005),p=n(99804),d=n(52398),m=n(70355);const __=a.__,_x=a._x,h="contact-info",f=(0,c.Z)((0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),g={title:__("Contact Info","jetpack"),description:__("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[_x("email","block search term","jetpack"),_x("phone","block search term","jetpack"),_x("address","block search term","jetpack")],icon:{src:f,foreground:(0,m.m)()},category:"grow",supports:{align:["wide","full"],html:!1,color:{link:!0,gradients:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"widget_contact_info"===t},transform:e=>{let{instance:t}=e,n=[(0,s.createBlock)("core/heading",{content:t.raw.title}),(0,s.createBlock)("jetpack/email",{email:t.raw.email}),(0,s.createBlock)("jetpack/phone",{phone:t.raw.phone}),(0,s.createBlock)("jetpack/address",{address:t.raw.address})];return t.raw.hours&&(n=[...n,(0,s.createBlock)("core/paragraph",{content:t.raw.hours})]),t.raw.showmap&&t.raw.address&&(n=[...n,(0,s.createBlock)("jetpack/map",{address:t.raw.address})]),(0,s.createBlock)("jetpack/contact-info",{},n)}}]},attributes:{},edit:l.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},b=[{name:u.u,settings:u.X},{name:p.u,settings:p.X},{name:d.u,settings:d.X}]},70835:function(e,t,n){"use strict";var r=n(65736),a=n(21621),o=n(66425);const __=r.__;t.Z=e=>{const{setAttributes:t}=e;return(0,o.Z)("phone",e,__("Phone number","jetpack"),a.Z,(e=>t({phone:e})))}},52398:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(70835),s=n(36598),l=n(21621);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z}},21621:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{attributes:{phone:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},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,o=n?e.substring(0,n):"",i=a.replace(/\D/g,"");return/[0-9/+/(]/.test(a[0])?(o=o.slice(0,-1),"+"===a[0]&&(i="+"+i)):a=a.substring(1),[o.trim()?(0,r.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,(0,r.createElement)("a",{key:"phoneNumber",href:`tel:${i}`},a)]}(t))}},4913:function(e,t){"use strict";t.Z={participants:{type:"array"},showTimestamps:{type:"boolean",default:!1},skipUpload:{type:"boolean",default:!1}}},24225:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.createContext)()},79585:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n(69307),a=n(55609),o=n(65736),i=n(79891);const __=o.__,_x=o._x;function s(e){let{className:t,participants:n,onDelete:o}=e;return(0,r.createElement)("div",{className:`${t}__participant-control`},n.map((e=>{let{label:n,slug:s}=e;return(0,r.createElement)("div",{key:`${s}-key`,className:`${t}__participant`},(0,r.createElement)("div",{className:`${t}__participant-label`},(0,i.iT)(n)),(0,r.createElement)(a.Button,{className:`${t}__remove-participant`,label:__("Remove participant","jetpack"),onClick:()=>o(s),variant:"tertiary",isSmall:!0},_x("Remove","verb: remove item from a list","jetpack")))})))}function l(e){let{participants:t,className:n,onChange:a,onDelete:o}=e;return(0,r.createElement)(s,{className:n,participants:t,onChange:a,onDelete:o})}},94013:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(9818),l=n(79585),c=n(24225),u=n(81427),p=n(6598),d=n(79891);const __=a.__,m=[["jetpack/dialogue"]];t.Z=(0,i.withNotices)((function(e){let{className:t,attributes:n,setAttributes:a,noticeUI:h,clientId:f,noticeOperations:g}=e;const{participants:b=[],showTimestamps:v,skipUpload:k}=n,[y,E]=(0,r.useState)(""),{insertBlocks:w}=(0,s.useDispatch)("core/block-editor"),_=(0,r.useCallback)((e=>{a({participants:b.map((t=>t.slug!==e.slug?t:{...t,...e}))})}),[a,b]),C=(0,r.useCallback)((function(e){let{label:t,slug:n}=e;if(!t)return;const r=t.trim();if(null==r||!r.length)return;const o=(0,d.tQ)(b,r);if(o)return o;const i={slug:n||"speaker-"+ +new Date,label:r};return a({participants:[...b,i]}),i}),[b,a]),S=(0,r.useCallback)(a,[a]),j=(0,r.useMemo)((()=>({setAttributes:S,updateParticipants:_,addNewParticipant:C,attributes:{showTimestamps:v}})),[C,S,v,_]);function x(e){g.removeAllNotices(),g.createErrorNotice(e),E(!1)}const P="wp-block-jetpack-conversation";return null!=b&&b.length||k?(0,r.createElement)(c.Z.Provider,{value:j},(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.Panel,null,(0,r.createElement)(i.PanelBody,{title:__("Speakers","jetpack"),className:`${P}__participants`},(0,r.createElement)(l.C,{className:P,participants:b,onDelete:function(e){a({participants:b.filter((t=>{let{slug:n}=t;return n!==e}))})}})))),(0,r.createElement)(o.InnerBlocks,{template:m}))):(0,r.createElement)(i.Placeholder,{label:__("Conversation","jetpack"),instructions:(0,r.createElement)(r.Fragment,null,__("Upload a transcript file or create a conversation with blank content.","jetpack"),(0,r.createElement)("div",null,(0,r.createElement)("em",null,__("Accepted file formats:","jetpack"),(0,r.createElement)("strong",null," ",d.bZ),"."))),icon:(0,r.createElement)(o.BlockIcon,{icon:u.Xu}),notices:h},(0,r.createElement)("div",{className:`${P}__placeholder`},(0,r.createElement)(i.FormFileUpload,{multiple:!1,className:"wp-block-jetpack-slideshow__add-item-button",onChange:function(e){var t,n;const r=null===(t=e.target.files)||void 0===t?void 0:t[0];if(!r)return x(__("Transcript file not found.","jetpack"));if(null!=r&&r.size&&r.size<=0||null==r||!r.size||r.size>d.$n)return x(__("Invalid transcript file size.","jetpack"));if(null!=r&&null!==(n=r.type)&&void 0!==n&&n.length&&"text/plain"!==r.type)return x(__("Invalid transcript file type.","jetpack"));const o=(0,d.Y7)(null==r?void 0:r.name);if(!(0,d.P8)(o))return x(__("Invalid transcript file extension.","jetpack"));E(!0),(0,d.Bt)(r,(function(e,t){let{conversation:n,dialogues:r}=e;if(t)return x(t);a({participants:n.speakers,skipUpload:!(null!=n&&n.length)});const o=r.map((e=>e.slug||e.timestamp?["jetpack/dialogue",e]:["core/paragraph",e])),i=(0,p.Z)(o);w(i,0,f),E(!1)}))},accept:d.bZ,variant:"primary",title:`${__("Accepted file formats:","jetpack")} ${d.bZ}`,disabled:y},__("Upload transcript","jetpack")),(0,r.createElement)(i.Button,{variant:"tertiary",disabled:y,onClick:()=>a({skipUpload:!0})},__("Skip upload","jetpack"))))}))},71375:function(e,t,n){"use strict";var r=n(65736);const __=r.__,a=[{slug:"participant-0",label:"Rosalind"},{slug:"participant-1",label:"Orlando"}],o=[{name:"core/heading",attributes:{content:__("Shakespeare text","jetpack"),level:4}},{name:"jetpack/dialogue",attributes:{...a[0],content:__("O, my dear Orlando, how it grieves me to see thee wear thy heart in a scarf!","jetpack"),timestamp:"00:10"}},{name:"jetpack/dialogue",attributes:{...a[1],content:__("It is my arm.","jetpack"),timestamp:"00:15"}},{name:"jetpack/dialogue",attributes:{...a[0],content:__("I thought thy heart had been wounded with the claws of a lion.","jetpack"),timestamp:"00:32"}},{name:"jetpack/dialogue",attributes:{...a[1],content:__("Wounded it is, but with the eyes of a lady.","jetpack"),timestamp:"00:37"}}];t.Z={attributes:{participants:a,showTimestamps:!0,className:"is-style-row"},innerBlocks:o}},24881:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},u2:function(){return p}});var r=n(65736),a=n(4981),o=n(81427),i=n(6598),s=n(4913),l=n(94013),c=n(99030),u=n(71375);const __=r.__,_x=r._x,p="conversation",d={title:__("Conversation","jetpack"),description:__("Create a transcription of a speech or conversation, with any number of participants, using dialogue blocks.","jetpack"),icon:o.Xu,category:"layout",keywords:[_x("conversation","block search term","jetpack"),_x("transcription","block search term","jetpack"),_x("dialogue","block search term","jetpack"),_x("speaker","block search term","jetpack")],supports:{align:!0},attributes:s.Z,example:u.Z,styles:[{name:"row",label:__("Row","jetpack"),isDefault:!0},{name:"column",label:__("Column","jetpack")}],edit:l.Z,save:c.Z,providesContext:{"jetpack/conversation-participants":"participants","jetpack/conversation-showTimestamps":"showTimestamps"},transforms:{from:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>{const t=e.map((e=>{let{content:t}=e;return["jetpack/dialogue",{content:t}]}));return(0,a.createBlock)("jetpack/conversation",{},(0,i.Z)(t))}}]}}},99030:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175);function s(e){let{attributes:t}=e;return(0,r.createElement)("div",{className:o()("wp-block-jetpack-conversation",{"show-timestamps":null==t?void 0:t.showTimestamp})},(0,r.createElement)(i.InnerBlocks.Content,null))}},79891:function(e,t,n){"use strict";n.d(t,{$n:function(){return h},Bt:function(){return y},P8:function(){return k},Y7:function(){return c},bZ:function(){return m},iT:function(){return l},ly:function(){return i},tQ:function(){return s}});var r=n(72629),a=n(81975),o=n(65736);const __=o.__;function i(e,t){const n=e.filter((e=>{let{slug:n}=e;return n===t}));return null!=n&&n.length?n[0]:null}function s(e,t){const n=e.filter((e=>{let{label:n}=e;return(null==n?void 0:n.toLowerCase())===(null==t?void 0:t.toLowerCase())}));return null!=n&&n.length?n[0]:null}function l(e){var t;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=null===(t=(0,r.getTextContent)((0,r.create)({html:e})))||void 0===t?void 0:t.trim();return n?(0,a.escapeHTML)(o):o}function c(e){return`.${e.substr(e.lastIndexOf(".")+1)}`}const u=".srt",p=".txt",d=[u,p,".vtt",".sbv"],m=d.join(", "),h=1e5,f=/(.*[^\s])\s{1,}(\d{1,2}(?::\d{1,2}?)+)\s+\n([\s\S]*?(?=\n{2}|$))/,g=/(?:(.*[^\s]):\s+)?(?:\[(\d+(?::\d+)*?(?:\.\d*)?)])?(?:[\s])*?([^\s].+?(?:\n+|$))/,b=[{name:"otter",re:new RegExp(f,"gm"),testRE:new RegExp(f,"g")},{name:"sonix",re:new RegExp(g,"gm"),testRE:new RegExp(g,"g")}],v=/(\d+)\n([\d:,]+)\s+-{2}>\s+([\d:,]+)\n([\s\S]*?(?=\n{2}|$))/gm;function k(e){return d.indexOf(e)>=0}function y(e,t){const n=c(null==e?void 0:e.name),r=new FileReader;r.addEventListener("load",(e=>{var r;const a=e.target.result?e.target.result.replace(/\r\n|\r|\n/g,"\n"):null;if(null==a||!a.length)return t({},__("Transcript content is empty","jetpack"));let o={};if(n&&n!==p&&n===u&&(o=function(e){const t={conversation:{speakers:[]},dialogues:[]};let n;for(;null!==(n=v.exec(e));)t.dialogues.push({timestamp:n[2],content:n[4]});return t}(a)),n===p&&(o=function(e){const t={dialogues:[],conversation:{speakers:[]}},n=b.filter((t=>{let{testRE:n}=t;return n.test(e)}));if(null==n||!n.length)return t;const r=n[0];let a;for(;null!=(a=r.re.exec(e));){var o,i,s;const e=a[(null==r||null===(o=r.indexes)||void 0===o?void 0:o.speaker)||1]||"";null!=e&&e.length&&t.conversation.speakers.indexOf(e)<0&&t.conversation.speakers.push(e);const n={content:a[(null==r||null===(i=r.indexes)||void 0===i?void 0:i.content)||3],timestamp:a[(null==r||null===(s=r.indexes)||void 0===s?void 0:s.timestamp)||2],showTimestamp:!0};null!=e&&e.length&&(n.label=e,n.slug=`speaker-${t.conversation.speakers.indexOf(e)}`),t.dialogues.push(n)}return t.conversation.speakers=t.conversation.speakers.map(((e,t)=>({label:e,slug:`speaker-${t}`}))),t}(a)),null===(r=o.dialogues)||void 0===r||!r.length)return t({},__("Transcript format not supported","jetpack"));t(o)})),r.readAsText(e)}},53953:function(e,t){"use strict";t.Z={label:{type:"string",source:"html",selector:".wp-block-jetpack-dialogue__participant"},slug:{type:"string"},timestamp:{type:"string",default:"00:00"},showTimestamp:{type:"boolean",default:!1},placeholder:{type:"string"},content:{type:"string",source:"html",selector:".wp-block-jetpack-dialogue__content"}}},61240:function(e,t,n){"use strict";n.d(t,{Ev:function(){return m},v$:function(){return g}});n(82402);var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736),l=n(52175),c=n(79891);const __=s.__,u="is-participant-adding",p="is-participant-selecting",d="was-participant-selected";function m(e){let{participants:t,slug:n,onSelect:a}=e;return(0,r.createElement)(i.SelectControl,{label:__("Speaker name","jetpack"),value:n,options:t.map((e=>{let{slug:t,label:n}=e;return{label:(0,c.iT)(n),value:t}})),onChange:e=>a((0,c.ly)(t,e))})}const h=(0,i.withFocusOutside)(class extends r.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return(0,r.createElement)("div",{className:this.props.className},this.props.children)}});function f(e){return{name:"jetpack/conversation-participants",triggerPrefix:"",options:e,getOptionLabel:e=>{let{label:t}=e;return(0,r.createElement)("span",null,(0,c.iT)(t))},getOptionKeywords:e=>{let{label:t}=e;return[t]},getOptionCompletion:e=>({action:"replace",value:e}),popoverProps:{position:"bottom"}}}function g(e){let{className:t,label:n,participant:a,participants:i,transcriptRef:s,onParticipantChange:m,onUpdate:g=(()=>{}),onSelect:b,onAdd:v,onClean:k}=e;const[y,E]=(0,r.useState)("is-participant-ready");function w(){if(!n)return;const e=(0,c.tQ)(i,n);return a&&a.label!==n?e&&e.slug!==a.slug?(E(d),b(e)):(E("was-participant-edited"),g({...a,label:(0,c.iT)(n,!0)})):e?(E(d),b(e)):(v((0,c.iT)(n,!0)),E("was-participant-added"))}const _=(0,r.useMemo)((()=>y?y!==u&&y!==p?[]:[f(i)]:[]),[i,y]);return(0,r.createElement)(h,{className:o()(t,{"has-bold-style":null==n?void 0:n.length,[y]:y}),onFocusOutside:w},(0,r.createElement)(l.RichText,{tagName:"div",value:n,allowedFormats:[],withoutInteractiveFormatting:!0,onChange:function(e){if(null==e||!e.length)return E(u),k();m(e);const t=(0,c.tQ)(i,e);a?a.label===e?E(p):E("is-participant-editing"):E(t?p:u)},placeholder:__("Speaker","jetpack"),onSplit:()=>{},onReplace:e=>{setTimeout((()=>{var e;return null==s||null===(e=s.current)||void 0===e?void 0:e.focus()}),10);const t=null==e?void 0:e[0];if(t){const{label:e}=t;return m(e),E(d),b(t)}return w()},autocompleters:_}))}},29726:function(e,t,n){"use strict";n.d(t,{S6:function(){return f},dG:function(){return d}});var r=n(69307),a=n(92819),o=n(55609),i=n(65736),s=n(20769),l=n(26706);const __=i.__,_x=i._x;const c=["hour","min","sec"];function u(e,t){var n,r,a;const o=null===(n=Object.keys(e))||void 0===n?void 0:n[0];if(!o)return t.join(":");let i=String((s=e[o],l="hour"===o?23:59,Math.max(0,Math.min(s,l))));var s,l;return 1===(null===(r=i)||void 0===r?void 0:r.length)?i=`0${i}`:0===(null===(a=i)||void 0===a?void 0:a.length)&&(i="00"),t[c.indexOf(o)]=i,3===t.length&&"00"===t[0]&&t.shift(),t.join(":")}const p=(0,a.debounce)((function(e,t){t((0,l.H)(e))}),250);function d(e){let{value:t,className:n,onChange:a,shortLabel:i=!1,isDisabled:c=!1,duration:d}=e;const[m,h]=(0,r.useState)((0,l.i)(t)),f=t.split(":");return f.length<=2&&f.unshift("00"),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${n}__timestamp-controls`},(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__hour`,label:i?_x("Hour","hour (short form)","jetpack"):_x("Hour","hour (long form)","jetpack",0),value:f[0],min:0,max:23,onChange:e=>!c&&a(u({hour:e},f)),disabled:c}),(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__minute`,label:i?_x("Min","Short for Minute","jetpack"):__("Minute","jetpack"),value:f[1],min:0,max:59,onChange:e=>!c&&a(u({min:e},f)),disabled:c}),(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__second`,label:i?_x("Sec","Short for Second","jetpack"):__("Second","jetpack"),value:f[2],min:0,max:59,onChange:e=>!c&&a(u({sec:e},f)),disabled:c})),(0,r.createElement)(o.RangeControl,{disabled:void 0===d,value:m,className:`${n}__timestamp-range-control`,min:0,max:d,onChange:e=>{h(e),p(e,a)},withInputField:!1,renderTooltipContent:e=>(0,l.H)(e)}))}function m(e){let{className:t,onPlayback:n,value:a}=e;return(0,r.createElement)(o.Button,{className:t,variant:"tertiary",onClick:()=>n((0,l.i)(a))},a)}function h(e){let{className:t,currentTime:n,isTimestampButtonVisible:a,children:i,onChange:s,onToggle:c}=e;return(0,r.createElement)(o.Button,{className:t,isSmall:!0,variant:"tertiary",onClick:()=>{c(!a),a||s((0,l.H)(n),s)}},i)}function f(e){let{className:t,isSelected:n,show:a,value:o,mediaCurrentTime:i=0,onChange:s,onToggle:l,onPlayback:c}=e;return n?a?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m,{className:`${t}__timestamp-label`,value:o,onPlayback:c}),(0,r.createElement)(h,{className:`${t}__timestamp-button`,currentTime:i,onChange:s,onToggle:l,isTimestampButtonVisible:a},__("Remove","jetpack"))):(0,r.createElement)(h,{className:`${t}__timestamp-button`,currentTime:i,onChange:s,onToggle:l,isTimestampButtonVisible:a},__("Add timestamp","jetpack")):a?(0,r.createElement)(m,{className:`${t}__timestamp-label`,value:o,onPlayback:c}):null}},6254:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(52175),l=n(4981),c=n(9818),u=n(55609),p=n(61240),d=n(29726),m=n(22474),h=n(24225),f=n(97115),g=n(86263),b=n(26706),v=n(79891);const __=i.__,k="core/paragraph";function y(e){let{className:t,attributes:n,setAttributes:a,context:i,onReplace:y,mergeBlocks:E,isSelected:w}=e;const{content:_,label:C,slug:S,placeholder:j,showTimestamp:x,timestamp:P}=n,{mediaSource:T,mediaCurrentTime:N,mediaDuration:A,mediaDomReference:I,isMultipleSelection:B}=(0,c.useSelect)((e=>{const{getDefaultMediaSource:t,getMediaSourceCurrentTime:n,getMediaSourceDuration:r,getMediaSourceDomReference:a}=e(f.tT);return{mediaSource:t(),mediaCurrentTime:n(),mediaDuration:r(),mediaDomReference:a(),isMultipleSelection:e("core/block-editor").getMultiSelectedBlocks().length>0}}),[]),{playMediaSource:M,setMediaSourceCurrentTime:R}=(0,c.useDispatch)(f.tT),L=(0,r.useRef)(),Z=i["jetpack/conversation-participants"],D=null!=Z&&Z.length?Z:[],F=(0,v.ly)(D,S),z=(0,r.useContext)(h.Z);function O(e){a({timestamp:e})}return(0,r.useEffect)((()=>{B||w||F&&F.slug===S&&F.label!==C&&a({label:F.label})}),[F,C,S,B,w,a]),(0,r.createElement)("div",{className:t},(0,r.createElement)(s.BlockControls,null,T&&(0,r.createElement)(g.m,{onTimestampClick:e=>{a({showTimestamp:!0}),O((0,b.H)(e))}})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(u.Panel,null,(0,r.createElement)(u.PanelBody,{title:__("Speaker","jetpack")},(0,r.createElement)(p.Ev,{className:m.P,participants:D,slug:S||"",onSelect:a})),!(null==T||!T.title)&&(0,r.createElement)(u.PanelBody,{title:__("Podcast episode","jetpack")},(0,r.createElement)("p",null,T.title)),T&&x&&(0,r.createElement)(u.PanelBody,{title:__("Timestamp","jetpack")},(0,r.createElement)(d.dG,{className:m.P,value:P,onChange:O,mediaSource:T,duration:A})))),(0,r.createElement)("div",{className:o()(`${m.P}__meta`,{"has-not-media-source":!T})},(0,r.createElement)(p.v$,{className:`${m.P}__participant`,label:C,participant:F,participants:D,transcriptRef:L,onParticipantChange:e=>{a({label:e})},onSelect:e=>{B||a(e)},onClean:()=>{a({slug:null,label:""})},onAdd:e=>{const t=z.addNewParticipant({label:e,slug:S});a(t)},onUpdate:e=>{z.updateParticipants(e)}}),T&&(0,r.createElement)(d.S6,{className:m.P,show:x,isSelected:w,value:P,mediaCurrentTime:N,onChange:O,onToggle:e=>a({showTimestamp:e}),onPlayback:function(e){I&&(I.currentTime=e),R(e),M()}})),(0,r.createElement)(s.RichText,{ref:L,identifier:"content",tagName:"p",className:`${m.P}__content`,value:_,onChange:e=>a({content:e}),onMerge:E,onSplit:e=>{if(null==_||!_.length)return(0,l.createBlock)(k);const t=null!=e&&e.length?n:{};return(0,l.createBlock)("jetpack/dialogue",{...t,content:e})},onReplace:function(e){for(var t,n,r,a,o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];return z?(null===(t=e[0])||void 0===t?void 0:t.name)!==k||(null===(n=e[1])||void 0===n?void 0:n.name)!==k||null!==(r=e[0])&&void 0!==r&&r.attributes.content||null!==(a=e[1])&&void 0!==a&&a.attributes.content?void y(e,...i):((0,c.dispatch)("core/block-editor").selectBlock(e[0].clientId),y([e[0]],...i)):y(e,...i)},onRemove:y?()=>y([]):void 0,placeholder:j||__("Write dialogue…","jetpack")}))}},13010:function(e,t,n){"use strict";n.d(t,{Xd:function(){return m},u2:function(){return d}});var r=n(65736),a=n(4981),o=n(53953),i=n(6254),s=n(54835),l=n(81427),c=n(90059),u=n(24881);const __=r.__,_x=r._x,p=c.p,d="dialogue",m={title:__("Dialogue","jetpack"),description:__("Create a dialogue paragraph, setting the participant with an optional timestamp.","jetpack"),parent:[`jetpack/${u.u2}`],icon:l.VV,category:"layout",edit:i.Z,save:s.Z,attributes:o.Z,usesContext:["jetpack/conversation-participants","jetpack/conversation-showTimestamps"],keywords:[_x("dialogue","block search term","jetpack"),_x("participant","block search term","jetpack"),_x("transcription","block search term","jetpack"),_x("speaker","block search term","jetpack")],transforms:{to:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>e.map((e=>{let{content:t,label:n}=e;return(0,a.createBlock)("core/paragraph",{content:(null!=n&&n.length?`<strong>${n}</strong>: `:"")+t})}))}],from:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>e.map((e=>{let{content:t}=e;return(0,a.createBlock)("jetpack/dialogue",{participant:p[0],content:t})}))}]}}},54835:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(52175),o=n(22474),i=n(26706);function s(e){let{attributes:t}=e;const{content:n,label:s,showTimestamp:l,timestamp:c}=t;return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:`${o.P}__meta`},(0,r.createElement)(a.RichText.Content,{className:`${o.P}__participant has-bold-style`,tagName:"div",value:s}),l&&(0,r.createElement)("div",{className:`${o.P}__timestamp-label`},(0,r.createElement)("a",{className:`${o.P}__timestamp_link`,href:`#${(0,i.i)(c)}`},c))),(0,r.createElement)(a.RichText.Content,{className:`${o.P}__content`,tagName:"p",value:n}))}},22474:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});const r="wp-block-jetpack-dialogue"},10764:function(e,t,n){"use strict";var r=n(69307),a=n(25607),o=n(43317),i=n(65235),s=n.n(i),l=n(52175),c=n(79162);t.Z=e=>{let{className:t=null,currency:n=null,defaultValue:i=null,disabled:u=!1,label:p="",onChange:d=null,value:m=""}=e;const[h,f]=(0,r.useState)((0,a.ZP)(m,n,{symbol:""})),[g,b]=(0,r.useState)(!1),[v,k]=(0,r.useState)(!1),y=(0,r.useRef)(null),E=(0,r.useCallback)((e=>{if(f(e),!d)return;const t=(0,c.Vm)(e,n);t&&t>=(0,c.hj)(n)?(d(t),k(!1)):e&&k(!0)}),[n,d]),w=()=>{y.current&&(y.current.focus(),b(!0))};return(0,r.useEffect)((()=>{y.current&&y.current.addEventListener("blur",(()=>b(!1)))}),[y]),(0,r.useEffect)((()=>{g||h||E((0,a.ZP)(i,n,{symbol:""}))}),[n,i,h,g,E]),(0,r.useEffect)((()=>{g||v||f((0,a.ZP)(m,n,{symbol:""}))}),[n,g,v,E,m]),(0,r.createElement)("div",{className:s()("donations__amount",t,{"has-focus":g,"has-error":v}),role:"button",tabIndex:0,onClick:w,onKeyDown:w},o.M[n].symbol,u?(0,r.createElement)("div",{className:"donations__amount-value"},(0,a.ZP)(m||i,n,{symbol:""})):(0,r.createElement)(l.RichText,{allowedFormats:[],"aria-label":p,multiline:!1,onChange:e=>E(e),placeholder:(0,a.ZP)(i,n,{symbol:""}),ref:y,value:h,withoutInteractiveFormatting:!0}))}},82275:function(e,t,n){"use strict";var r=n(69307),a=n(43317),o=n(13419),i=n(52175),s=n(55609),l=n(65736),c=n(39630),u=n(79162);const __=l.__;t.Z=e=>{const{attributes:t,setAttributes:n}=e,{currency:l,monthlyDonation:p,annualDonation:d,showCustomAmount:m}=t,h=(e,r)=>{const a={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],o=t[a];n({[a]:{...o,show:r}})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(s.Dropdown,{contentClassName:"jetpack-donations__currency-popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(s.Button,{className:"jetpack-donations__currency-toggle",icon:(0,r.createElement)(r.Fragment,null,l+" - "+a.M[l].symbol,(0,r.createElement)(s.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:t,onKeyDown:e=>{n||e.keyCode!==c.DOWN||(e.preventDefault(),e.stopPropagation(),t())}})},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(s.MenuGroup,null,Object.keys(u.ck).map((e=>(0,r.createElement)(s.MenuItem,{isSelected:e===l,onClick:()=>{n({currency:e}),t()},key:`jetpack-donations-currency-${e}`},e+" - "+a.M[e].symbol))))}}))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.ToggleControl,{checked:p.show,onChange:e=>h("1 month",e),label:__("Show monthly donations","jetpack")}),(0,r.createElement)(s.ToggleControl,{checked:d.show,onChange:e=>h("1 year",e),label:__("Show annual donations","jetpack")}),(0,r.createElement)(s.ToggleControl,{checked:m,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,r.createElement)(s.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,o.lQ)()}`},__("View donation earnings","jetpack")))))}},853:function(e,t,n){"use strict";var r=n(69307),a=n(25607),o=n(43317),i=n(52175),s=n(65736),l=n(79162);const __=s.__;t.Z={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:e=>{let{attributes:t}=e;const{currency:n,oneTimeDonation:s,monthlyDonation:c,annualDonation:u,showCustomAmount:p,chooseAmountText:d,customAmountText:m}=t;if(!s||!s.show||-1===s.planId)return null;const h={"one-time":{title:__("One-Time","jetpack")},...c.show&&{"1 month":{title:__("Monthly","jetpack")}},...u.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"donations__container"},Object.keys(h).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(h).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${t} `,"data-interval":t},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:s.heading}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:c.heading}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:u.heading}),(0,r.createElement)(i.RichText.Content,{tagName:"p",value:d}),(0,r.createElement)("div",{className:"donations__amounts donations__one-time-item"},s.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),c.show&&(0,r.createElement)("div",{className:"donations__amounts donations__monthly-item"},c.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),u.show&&(0,r.createElement)("div",{className:"donations__amounts donations__annual-item"},u.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),p&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.RichText.Content,{tagName:"p",value:m}),(0,r.createElement)("div",{className:"donations__amount donations__custom-amount"},o.M[n].symbol,(0,r.createElement)("div",{className:"donations__amount-value","data-currency":n,"data-empty-text":(0,a.ZP)(100*(0,l.hj)(n),n,{symbol:""})}))),(0,r.createElement)("div",{className:"donations__separator"},"——"),(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:s.extraText}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:c.extraText}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__annual-item",value:u.extraText}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:s.buttonText})),c.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:c.buttonText})),u.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:u.buttonText}))))))}}},86245:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(9818),s=n(65736),l=n(72833),c=n(24177),u=n(21789),p=n(85731),d=n(74251),m=n(23267);const __=s.__;t.Z=e=>{const{attributes:t,className:n,setAttributes:r}=e,{currency:s}=t,[h,f]=(0,o.useState)(""),[g,b]=(0,o.useState)([]),v=(0,i.useSelect)((e=>e("core/editor").getCurrentPost()),[]),{setShouldUpgrade:k,setConnectUrl:y}=(0,i.useDispatch)(m.G4);(0,o.useEffect)((()=>{r({fallbackLinkUrl:v.link})}),[v.link,r]);const E=e=>{f(e)},w=e=>e.reduce(((e,t)=>{let{id:n,currency:r,type:a,interval:o}=t;return r===s&&"donation"===a&&(e[o]=n),e}),{}),_=e=>{if(!e&&"object"!=typeof e||e.errors)return void f(__("Could not load data from WordPress.com.","jetpack"));k(e.should_upgrade_to_access_memberships),y((0,d.Z)(v.id,e.connect_url));const t=w(e.products);(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(t)?b(t):e.should_upgrade_to_access_memberships||e.connect_url?b({"one-time":-1,"1 month":-1,"1 year":-1}):(0,u.Z)(s).then((e=>b(w(e))),E)};return(0,o.useEffect)((()=>{(0,p.Z)("donation").then(_,E)}),[s]),h?(0,o.createElement)(c.Z,{className:n,error:h}):(0,o.createElement)(l.Z,a()({},e,{products:g}))}},21789:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z=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)}}},85731:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(96483);t.Z=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=new URLSearchParams(window.location.search),n=(0,o.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)}}},29800:function(e,t,n){"use strict";n.d(t,{Xd:function(){return c},u2:function(){return l}});var r=n(65736),a=n(86245),o=n(75314),i=n(853),s=n(81427);const __=r.__,_x=r._x,l="donations",c={title:__("Donations Form","jetpack"),description:__("Collect one-time, monthly, or annually recurring donations.","jetpack"),icon:s.K9,category:"earn",keywords:[_x("charity","block search term","jetpack"),_x("contribution","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("donate","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),_x("fundraising","block search term","jetpack"),_x("fundraiser","block search term","jetpack"),"gofundme",_x("money","block search term","jetpack"),_x("nonprofit","block search term","jetpack"),_x("non-profit","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("recurring","block search term","jetpack"),"stripe",_x("sponsor","block search term","jetpack"),"square",_x("tipping","block search term","jetpack"),"venmo"],supports:{html:!1},edit:a.Z,save:o.Z,example:{},deprecated:[i.Z]}},24177:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=e=>{let{className:t,error:n}=e;return(0,r.createElement)(o.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:n,className:t})}},75314:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t}=e;const{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:s}=t;return o&&o.show&&o.planId&&-1!==o.planId?(0,r.createElement)("div",null,(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:o.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:o.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:o.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:i.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:i.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:i.buttonText})),s.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value: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.buttonText}))):null}},91757:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(9818),i=n(65736),s=n(10764),l=n(79162);const __=i.__;t.Z=e=>{let{activeTab:t,attributes:n,setAttributes:c}=e;const{currency:u,oneTimeDonation:p,monthlyDonation:d,annualDonation:m,showCustomAmount:h,chooseAmountText:f,customAmountText:g}=n,b={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"},v=e=>n[b[t]][e],k=(e,r)=>{const a=b[t],o=n[a];c({[a]:{...o,[e]:r}})},[y,E]=(0,r.useState)(u),w=(0,l.hj)(u),_=(0,r.useMemo)((()=>[10*w,30*w,200*w]),[w]);(0,r.useEffect)((()=>{y!==u&&(E(u),c({oneTimeDonation:{...p,amounts:_},monthlyDonation:{...d,amounts:_},annualDonation:{...m,amounts:_}}))}),[u,y,_,p,d,m,c]);const C=v("amounts"),S=(0,o.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:v("heading"),onChange:e=>k("heading",e)}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:f,onChange:e=>c({chooseAmountText:e})}),(0,r.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,r.createElement)(s.Z,{currency:u,defaultValue:_[t],label:(0,i.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,k("amounts",n)})(e,t),value:e})))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:g,onChange:e=>c({customAmountText:e})}),(0,r.createElement)(s.Z,{currency:u,label:__("Custom amount","jetpack"),defaultValue:100*(0,l.hj)(u),className:"donations__custom-amount",disabled:!0})),(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:v("extraText"),onChange:e=>k("extraText",e)}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper"},(0,r.createElement)(a.RichText,{className:"wp-block-button__link donations__donate-button",placeholder:__("Write a message…","jetpack"),value:v("buttonText"),onChange:e=>{return t=e,void c({oneTimeDonation:{...p,buttonText:t},monthlyDonation:{...d,buttonText:t},annualDonation:{...m,buttonText:t}});var t},allowedFormats:S})))}},72833:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(82275),l=n(91757),c=n(16367);const __=i.__;t.Z=e=>{const{attributes:t,className:n,products:a,setAttributes:i}=e,{oneTimeDonation:u,monthlyDonation:p,annualDonation:d}=t,[m,h]=(0,r.useState)("one-time"),f=(0,r.useCallback)((e=>m===e),[m]),g={"one-time":{title:__("One-Time","jetpack")},...p.show&&{"1 month":{title:__("Monthly","jetpack")}},...d.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.useEffect)((()=>{u.planId===a["one-time"]&&p.planId===a["1 month"]&&d.planId===a["1 year"]||i({...a["one-time"]&&{oneTimeDonation:{...u,planId:a["one-time"]}},...a["1 month"]&&{monthlyDonation:{...p,planId:a["1 month"]}},...a["1 year"]&&{annualDonation:{...d,planId:a["1 year"]}}})}),[u,p,d,i,a]),(0,r.useEffect)((()=>{!p.show&&f("1 month")&&h("one-time"),!d.show&&f("1 year")&&h("one-time")}),[p,d,h,f]),(0,r.createElement)("div",{className:n},(0,r.createElement)(c.U,{blockName:"donations"}),(0,r.createElement)("div",{className:"donations__container"},Object.keys(g).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(g).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:o()("donations__nav-item",{"is-active":f(t)}),onClick:()=>h(t),onKeyDown:()=>h(t),key:`jetpack-donations-nav-item-${t} `},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)(l.Z,{activeTab:m,attributes:t,setAttributes:i}))),(0,r.createElement)(s.Z,e))}},2785:function(e,t){"use strict";t.Z={url:{type:"string",validator:e=>!e||e.startsWith("http")},eventId:{type:"number"},style:{type:"string",default:"inline"}}},6949:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__,i=e=>{let{setEditingUrl:t}=e;return(0,r.createElement)(a.ToolbarGroup,null,(0,r.createElement)(a.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},1344:function(e,t,n){"use strict";var r=n(24717);t.Z=[r.Z]},24717:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(92819),l=n(4981),c=n(65736);const _x=c._x,u=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius"];t.Z={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 r=n;r||(r=e.useModal?"modal":"inline");const a={...(0,s.omit)(e,["useModal",...u]),className:t&&t.replace("is-style-outline",""),style:r},o=(0,s.pick)(e,u);return[a,[(0,l.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(e){let{attributes:t}=e;const{eventId:n,useModal:a,url:s,style:l}=t;if(n)return a||"modal"===l?function(e){const{backgroundColor:t,borderRadius:n,customBackgroundColor:a,customTextColor:s,eventId:l,text:c,textColor:u,url:p}=e,d=(0,i.getColorClassName)("color",u),m=(0,i.getColorClassName)("background-color",t),h=o()("wp-block-button__link",{"has-text-color":u||s,[d]:d,"has-background":t||a,[m]:m,"no-border-radius":0===n}),f={backgroundColor:m?void 0:a,color:d?void 0:s,borderRadius:n?n+"px":void 0};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{className:h,href:p,id:`eventbrite-widget-${l}`,rel:"noopener noreferrer",role:"button",style:f,tagName:"a",target:"_blank",value:c}))}(t):s&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:s},s)},isEligible:(e,t)=>("modal"===e.style||e.useModal)&&((0,s.isEmpty)(t)||(0,s.some)((0,s.pick)(e,u),Boolean))}},16078:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(13419),u=n(75334),p=n(2785),d=n(77825),m=n(4554),h=n(8964),f=n(57538),g=n(23621),b=n(6949);const __=i.__,_x=i._x;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{editedUrl:this.props.attributes.url||"",editingUrl:!1,isResolvingUrl:!1}),a()(this,"setUrl",(e=>{const{attributes:t,noticeOperations:n,setAttributes:r}=this.props,{style:a}=t;if(!e||u.Q7===e||"modal"===a)return;const o=(0,d.Ve)(e);if(o){const t={eventId:o,url:e};(0,g.Z)(t.url,this.setIsResolvingUrl).then((e=>{const a=(0,m.S)(p.Z,{...t,url:e});r(a),this.setState({editedUrl:e}),n.removeAllNotices()})).catch((()=>{r({eventId:void 0,url:void 0}),this.setErrorNotice()}))}else this.setErrorNotice()})),a()(this,"setIsResolvingUrl",(e=>this.setState({isResolvingUrl:e}))),a()(this,"setEditingUrl",(e=>this.setState({editingUrl:e}))),a()(this,"setErrorNotice",(()=>{const{noticeOperations:e,onReplace:t}=this.props,{editedUrl:n}=this.state;e.removeAllNotices(),e.createErrorNotice((0,o.createElement)(o.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,o.createElement)(s.Button,{variant:"link",onClick:()=>(0,d.N3)(n,t)},_x("Convert block to link","button label","jetpack"))))})),a()(this,"submitForm",(e=>{e&&e.preventDefault(),this.setUrl((0,d.qq)(this.state.editedUrl)),this.setState({editingUrl:!1})})),a()(this,"cannotEmbed",(()=>{const{url:e}=this.props.attributes,{isResolvingUrl:t}=this.state;return!t&&e&&!u.Wh.test(e)}))}componentDidMount(){const{url:e}=this.props.attributes;this.setUrl(e)}renderLoading(){return(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(s.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack")))}renderInspectorControls(){const{style:e}=this.props.attributes,{attributes:t,clientId:n,setAttributes:r}=this.props,a=[{value:"inline",label:__("In-page Embed","jetpack"),preview:(0,o.createElement)("div",{className:"block-editor-block-preview__container"},(0,o.createElement)("img",{src:h,alt:__("In page Eventbrite checkout example","jetpack")}))},{value:"modal",label:__("Button & Modal","jetpack")}];return(0,o.createElement)(f.Z,{title:_x("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack"),clientId:n,styleOptions:a,onSelectStyle:r,activeStyle:e,attributes:t,viewportWidth:130})}renderEditEmbed(){const{className:e,noticeUI:t}=this.props,{editedUrl:n}=this.state,r=(0,c.Wp)()||(0,c.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.Placeholder,{label:__("Eventbrite Checkout","jetpack"),instructions:__("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:u.qv,notices:t},(0,o.createElement)("form",{onSubmit:this.submitForm},(0,o.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:e=>this.setState({editedUrl:e.target.value})}),(0,o.createElement)(s.Button,{variant:"secondary",type:"submit"},_x("Embed","submit button label","jetpack"))),(0,o.createElement)("div",{className:"components-placeholder__learn-more"},(0,o.createElement)(s.ExternalLink,{href:r},__("Learn more about Eventbrite embeds","jetpack")))))}renderInlinePreview(){const{className:e}=this.props,{eventId:t}=this.props.attributes;if(!t)return;const n=`eventbrite-widget-${t}`,r=`\n\t\t\t<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ${t},\n\t\t\t\t\tiframeContainerId: '${n}',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id="${n}"></div>\n\t\t`;return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.SandBox,{html:r}),(0,o.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}render(){const{attributes:e}=this.props,{url:t,style:n}=e,{editingUrl:r,isResolvingUrl:a}=this.state;return a?this.renderLoading():r||!t||this.cannotEmbed()?this.renderEditEmbed():(0,o.createElement)(o.Fragment,null,this.renderInspectorControls(),(0,o.createElement)(l.BlockControls,null,(0,o.createElement)(b.J,{setEditingUrl:this.setEditingUrl})),"modal"===n?(0,o.createElement)(l.InnerBlocks,{template:[[u.Ss.name,u.Ss.attributes]],templateLock:"all"}):this.renderInlinePreview())}}t.Z=(0,s.withNotices)(v)},75334:function(e,t,n){"use strict";n.d(t,{Q7:function(){return f},Ss:function(){return d},Wh:function(){return m},Xd:function(){return k},qv:function(){return v},u2:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(2785),l=n(1344),c=n(16078),u=n(86435),p=n(70355);const __=a.__,_x=a._x,d={name:"jetpack/button",attributes:{element:"a",text:_x("Register","verb: e.g. register for an event.","jetpack"),uniqueId:"eventbrite-widget-id"}},m=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,h=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,f="https://www.eventbrite.com/e/test-event-tickets-123456789",g="eventbrite",b=__("Eventbrite Checkout","jetpack"),v=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,{id:"eventbrite-icon"},(0,r.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),k={title:b,description:__("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:{src:v,foreground:(0,p.m)()},category:"embed",keywords:[_x("events","block search term","jetpack"),_x("tickets","block search term","jetpack")],supports:{html:!1,align:!0},attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&(m.test(e.textContent)||h.test(e.textContent)),transform:e=>(0,i.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}]},example:{attributes:{url:f,eventId:123456789,style:"modal"},innerBlocks:[d]},deprecated:l.Z}},86435:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{eventId:n,style:o,url:i}=t;if(n)return"modal"===o?(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null)):i&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:i},i)}},77825:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},Ve:function(){return i},qq:function(){return s}});var r=n(69307),a=n(4981);function o(e,t){const n=(0,r.createElement)("a",{href:e},e);t((0,a.createBlock)("core/paragraph",{content:(0,r.renderToString)(n)}))}function i(e){if(!e)return null;const t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&"string"==typeof e?e.trim():null}},13306:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(4981),u=n(9818);const __=s.__;function p(e){let{onReplace:t}=e;const[n,a]=(0,i.useState)(!1),s=(0,u.useSelect)((e=>e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")));return{isGatheringStorm:n,unleashStorm:(e,n)=>{if((0,r.isEmpty)(e))return;const i=e.match(/^https?:\/\/(?:www\.)?twitter\.com\/([^/]+)\/status\/\d+/);if((0,r.isEmpty)(i))return;const p=i[1];n.removeAllNotices(),a(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/tweetstorm/gather",{url:e})}).then((e=>{if(a(!1),!(0,r.isArray)(e))return void n.createErrorNotice(__("An error occurred. Please try again later.","jetpack"));if((0,r.isEmpty)(e))return void n.createErrorNotice(__("We were unable to get any content from this tweet.","jetpack"));t(e.map((e=>{switch(e.type){case"paragraph":return(0,c.createBlock)("core/paragraph",{content:e.content});case"gallery":return(0,c.createBlock)("core/gallery",{images:e.images});case"image":return(0,c.createBlock)("core/image",{url:e.url,alt:e.alt});case"video":return(0,c.createBlock)("core/video",{src:e.url,caption:e.alt});case"embed":return(0,c.createBlock)("core/embed",{url:e.url})}})));(0,r.some)(s,(e=>"twitter"===e.service_name&&`@${p}`===e.display_name))||(0,u.dispatch)("core/notices").createWarningNotice(__("We were unable to verify that this Twitter thread was published on a Twitter account belonging to you. Please ensure you have permission to reproduce it before publishing.","jetpack")),(0,u.dispatch)("core/notices").createSuccessNotice(__("Twitter thread successfully imported","jetpack"),{type:"snackbar"})})).catch((e=>{a(!1),n.createErrorNotice(e.message)}))}}}},12084:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=(0,r.forwardRef)((function(e,t){let{onSubmit:n,onChange:a,value:i=""}=e;return(0,r.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:n},(0,r.createElement)("input",{type:"text",className:"wp-block-jetpack-gif_input components-placeholder__input",placeholder:__("Enter search terms, e.g. cat…","jetpack"),value:i,onChange:a,ref:t,"aria-labelledby":"wp-block-jetpack-gif_search-button"}),(0,r.createElement)(o.Button,{id:"wp-block-jetpack-gif_search-button",variant:"secondary",type:"submit"},__("Search","jetpack")))}))},72844:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW"},57852:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(52175);function i(){return(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(a.PanelBody,{className:"components-panel__body-gif-branding"},(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,r.createElement)(a.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,r.createElement)(a.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"}))))}},61266:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(25073),u=n(80163),p=n(12084),d=n(57852),m=n(27147);const __=i.__;t.Z=function(e){let{attributes:t,setAttributes:n,className:a,isSelected:i}=e;const{align:h,caption:f,giphyUrl:g,searchText:b,paddingTop:v}=t,k=o()(a,`align${h}`),[y,E]=(0,r.useState)(!1),w=(0,r.createRef)(),{isFetching:_,giphyData:C,fetchGiphyData:S}=(0,m.Z)(),j=()=>{w.current.focus(),E(!1)};(0,r.useEffect)((()=>{C&&C[0]&&n((0,u.ix)(C[0]))}),[C,n]);const x=e=>{e.preventDefault(),t.searchText&&!_&&S((0,u.Gr)(t.searchText))},P=e=>n({searchText:e.target.value});return(0,r.createElement)("div",{className:k},(0,r.createElement)(d.Z,null),g?(0,r.createElement)("figure",null,i&&(0,r.createElement)(p.Z,{onSubmit:x,onChange:P,value:b,ref:w}),i&&C&&C.length>1&&(0,r.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},C.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,r.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:e.id,onClick:t=>{t.preventDefault(),(e=>{n((0,u.ix)(e))})(e)},style:t})}))),(0,r.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:{paddingTop:v}},(0,r.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:j,onKeyDown:j,role:"button",tabIndex:"0"}),(0,r.createElement)("iframe",{src:g,title:b})),(!l.RichText.isEmpty(f)||i)&&!!g&&(0,r.createElement)(l.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:y,unstableOnFocus:()=>E(!1),onChange:e=>n({caption:e}),placeholder:__("Write caption…","jetpack"),tagName:"figcaption",value:f})):(0,r.createElement)(s.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:c.qv,label:c.TN,instructions:__("Search for a term or paste a Giphy URL","jetpack")},(0,r.createElement)(p.Z,{onSubmit:x,onChange:P,value:b,ref:w})))}},27147:function(e,t,n){"use strict";var r=n(69307);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const[t,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(e),[i,s]=(0,r.useState)("");return(0,r.useEffect)((()=>{if(!i)return;(async()=>{n(!0);const e=await fetch(i).then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json(),n=void 0!==t.data.images?[t.data]:t.data;n[0].images&&o(n)}n(!1)})()}),[i]),{isFetching:t,giphyData:a,fetchGiphyData:s}}},25073:function(e,t,n){"use strict";n.d(t,{TN:function(){return c},Xd:function(){return p},qv:function(){return u},u2:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(61266),s=n(70355);const __=a.__,_x=a._x,l="gif",c=__("GIF","jetpack"),u=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),p={title:c,icon:{src:u,foreground:(0,s.m)()},category:"embed",keywords:[_x("animated","block search term","jetpack"),_x("giphy","block search term","jetpack"),_x("image","block search term","jetpack")],description:__("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:i.Z,save:()=>null,example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}}},80163:function(e,t,n){"use strict";n.d(t,{Gr:function(){return s},ix:function(){return u}});var r=n(72844);const a=e=>`https://api.giphy.com/v1/gifs/search?q=${encodeURIComponent(e)}&api_key=${encodeURIComponent(r.U)}&limit=10`,o=e=>`https://api.giphy.com/v1/gifs/${encodeURIComponent(e)}?api_key=${encodeURIComponent(r.U)}`,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n=e.split(t);return n[n.length-1]},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;e=e.trim();const n=/^https?:\/\/(media\.|i\.)?giphy\.com\/(embed|gifs|media)?\/?([-\w]*)(\/giphy)?(\.gif)?$/,r=e.match(n);return r&&r[3]&&(t=i(r[3],"-")),t?o(t):a(e)},l=e=>`${Math.floor(e.images.original.height/e.images.original.width*100)}%`,c=e=>null==e?void 0:e.embed_url,u=e=>({giphyUrl:c(e),paddingTop:l(e)})},4966:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__,_x=o._x;t.Z=e=>{const{className:t,embedValue:n,onChange:o,onSubmit:i}=e;return(0,r.createElement)(a.PanelBody,{title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:i,className:t},(0,r.createElement)("textarea",{type:"text",value:n,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:o}),(0,r.createElement)(a.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack"))))}},81907:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(52175),l=n(90162),c=n(4981),u=n(13419),p=n(4966),d=n(47875),m=n(4525);const __=a.__,_x=a._x;t.Z=(0,i.compose)(o.withNotices,(0,l.withViewportMatch)({isMobile:"< small"}))((function(e){const{attributes:{url:t,height:n},className:a,isMobile:i,isSelected:l,name:h,noticeOperations:f,noticeUI:g,setAttributes:b}=e,[v,k]=(0,r.useState)(t||""),[y,E]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1);(0,r.useEffect)((()=>{!l&&w&&_(!1)}),[l,w]);const C=()=>{_(!0)},S=e=>{e&&e.preventDefault();const t=(0,m.L7)(v.trim());if(!m.Wh.test(t.url))return f.removeAllNotices(),void f.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or Embed Code. Please note, you need to use the 'Public URL' or 'Embed Code', the 'Shareable Link' will not work.","jetpack"));b(t),E(!1),f.removeAllNotices()},j=(0,c.getBlockDefaultClassName)(h),x=`<iframe src="${t}" style="border:0" scrolling="no" frameborder="0" height="${i?"300":n}"></iframe>`,P=(0,r.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/google-calendar/"},__("Enable Permissions for the calendar you want to share","jetpack")),T=(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(p.Z,{className:`${j}-embed-form-sidebar`,embedValue:v,onChange:e=>k(e.target.value),onSubmit:S}));if(y||!t){const e=(0,u.Wp)()||(0,u.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/google-calendar/":"https://jetpack.com/support/jetpack-blocks/google-calendar/";return(0,r.createElement)("div",{className:a},T,(0,r.createElement)(o.Placeholder,{className:a,label:__("Google Calendar","jetpack"),icon:d.Z,instructions:(0,r.createElement)("ol",{className:`${j}-placeholder-instructions`},(0,r.createElement)("li",null,P),(0,r.createElement)("li",null,__("Paste the embed code you copied from your Google Calendar below","jetpack"))),notices:g},(N=`${j}-embed-form-editor`,(0,r.createElement)("form",{onSubmit:S,className:N},(0,r.createElement)("textarea",{type:"text",value:v,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:e=>k(e.target.value)}),(0,r.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)("div",{className:`${j}-placeholder-links`},(0,r.createElement)(o.ExternalLink,{href:e},__("Learn more","jetpack")))))}var N;return(0,r.createElement)("div",{className:a},T,(0,r.createElement)("div",null,(0,r.createElement)(o.SandBox,{html:x,onFocus:C}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:C})))}))},47875:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"23",viewBox:"0 0 24 23",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19.5,23h-15c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h15c2.2,0,4,1.8,4,4v15C23.5,21.2,21.7,23,19.5,23z M4.5,2 c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2V4c0-1.1-0.9-2-2-2H4.5z M6.9,3.9L6.9,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0C6.5,5.9,6.1,5.5,6.1,5V4.7C6.1,4.3,6.5,3.9,6.9,3.9z M17,3.9L17,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0c-0.5,0-0.9-0.4-0.9-0.9V4.7C16.2,4.3,16.5,3.9,17,3.9z M8.8,17.6c1.8,0,3.2-1,3.2-2.4 c0-1.1-0.7-1.8-1.8-1.9v-0.1c0.9-0.2,1.5-0.9,1.5-1.8c0-1.3-1.2-2.2-2.9-2.2c-1.8,0-2.9,1-3,2.5h1.6c0-0.7,0.6-1.1,1.4-1.1 c0.8,0,1.3,0.4,1.3,1.1c0,0.7-0.5,1.1-1.3,1.1h-1v1.3h1c0.9,0,1.5,0.4,1.5,1.1c0,0.7-0.6,1.2-1.4,1.2c-0.9,0-1.4-0.4-1.5-1.1H5.7 C5.8,16.6,7,17.6,8.8,17.6z M17.6,17.4V9.3h-1.7l-2.1,1.4v1.6l2-1.4h0.1v6.4H17.6z"}))},13839:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(4981),i=n(81907),s=n(4525),l=n(47875),c=n(70355);const __=a.__,_x=a._x,u="google-calendar",p={title:__("Google Calendar","jetpack"),description:__("Embed a Google Calendar","jetpack"),keywords:[_x("events","block search term","jetpack"),_x("dates","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack")],icon:{src:l.Z,foreground:(0,c.m)()},category:"embed",supports:{align:!0,alignWide:!0,html:!1},attributes:{url:{type:"string"},height:{type:"integer",default:600}},edit:i.Z,save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)},transforms:{from:[{type:"shortcode",tag:"googleapps",isMatch:function(e){return"calendar"===e.named.domain},attributes:{url:{type:"string",shortcode:e=>{let{named:{domain:t,dir:n,query:r}}=e;return`https://${t}.google.com/${n}?${r}`}}}},{type:"raw",isMatch:e=>"P"===e.nodeName&&s.Wh.test(e.textContent),transform:e=>(0,o.createBlock)("jetpack/google-calendar",{url:e.textContent.trim()})},{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&s.E6.test(e.innerHTML),transform:e=>{const{url:t,height:n}=(0,s.jj)(e.innerHTML.trim());return(0,o.createBlock)("jetpack/google-calendar",{url:t,height:n})}}]},example:{attributes:{url:"https://calendar.google.com/calendar/embed?src=jb4bu80jirp0u11a6niie21pp4%40group.calendar.google.com&ctz=America/New_York"}}}},4525:function(e,t,n){"use strict";n.d(t,{E6:function(){return o},L7:function(){return u},Wh:function(){return a},jj:function(){return c}});const r="s*https?://calendar.google.com/calendar",a=new RegExp(`^${r}`,"i"),o=new RegExp(`<iframe((?:\\s+\\w+=(['"]).*?\\2)*)\\s+src=(["'])(${r}.*?)\\3((?:\\s+\\w+=(['"]).*?\\6)*)`,"i"),i=new RegExp(`${r}\\?cid=([-A-Za-z0-9+/]+={0,3})`,"i"),s=/\s+(\w+)=(["'])(.*?)\2/gi;function l(e){const t=i.exec(e);if(t)return"https://calendar.google.com/calendar/embed?src="+encodeURIComponent(atob(t[1]))}function c(e){const t=o.exec(e);if(!t)return;const n={};return t.forEach(((e,t)=>{if(0===t)return;if(a.test(e))return void(n.url=e);let r;for(;null!==(r=s.exec(e));)n[r[1]]=r[3]})),{url:n.url,width:n.width,height:n.height}}function u(e){return o.test(e)?c(e):i.test(e)?{url:l(e)}:{url:e}}},76579:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{attributes:t,setAttributes:n}=e;const{orientation:o}=t;return(0,r.createElement)(a.PanelBody,{title:__("Orientation","jetpack")},(0,r.createElement)(a.RadioControl,{selected:o||"horizontal",options:[{label:__("Side by side","jetpack"),value:"horizontal"},{label:__("Above and below","jetpack"),value:"vertical"}],onChange:e=>n({orientation:e})}))}},63157:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(94333),s=n(65736),l=n(13369),c=n(76579),u=n(86504),p=n(37879);n(8503);const __=s.__;t.Z=e=>{let{attributes:t,className:n,clientId:s,isSelected:d,setAttributes:m}=e;const{align:h,imageBefore:f,imageAfter:g,caption:b,orientation:v}=t;let k=null,y=null;const E=(0,r.useRef)();i.useResizeObserver&&([k,y]=(0,i.useResizeObserver)(),(0,p.Z)((e=>{e>0&&"undefined"!=typeof juxtapose&&juxtapose.sliders&&juxtapose.sliders.forEach((t=>{t.wrapper.parentElement.id===s&&t.optimizeWrapper(e)}))}),200,y.width));const w=f&&f.url&&g&&g.url?"image-compare__comparison juxtapose":"image-compare__placeholder";return(0,r.useLayoutEffect)((()=>{f.url&&g.url&&"undefined"!=typeof juxtapose&&juxtapose.makeSlider(null==E?void 0:E.current)}),[h,f,g,v]),(0,r.createElement)("figure",{className:n,id:s},k,(0,r.createElement)(a.InspectorControls,{key:"controls"},(0,r.createElement)(c.Z,{attributes:t,setAttributes:m})),(0,r.createElement)("div",{ref:E,className:w,"data-mode":v||"horizontal"},(0,r.createElement)(o.Placeholder,{label:null},(0,r.createElement)("div",{className:"image-compare__image-before"},(0,r.createElement)(u.Z,{image:{id:f.id,url:f.url,alt:f.alt},placeHolderLabel:__("Image before","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=null==i?void 0:i.width)&&void 0!==t?t:e.width,c=null!==(n=null==i?void 0:i.height)&&void 0!==n?n:e.height;m({imageBefore:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})),(0,r.createElement)("div",{className:"image-compare__image-after"},(0,r.createElement)(u.Z,{image:{id:g.id,url:g.url,alt:g.alt},placeHolderLabel:__("Image after","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=null==i?void 0:i.width)&&void 0!==t?t:e.width,c=null!==(n=null==i?void 0:i.height)&&void 0!==n?n:e.height;m({imageAfter:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})))),(!a.RichText.isEmpty(b)||d&&f.url&&g.url)&&(0,r.createElement)(a.RichText,{tagName:"figcaption",placeholder:__("Write caption","jetpack"),value:b,onChange:e=>m({caption:e}),inlineToolbar:!0}))}},17990:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M21 4h-6v1.5h6c.3 0 .5.2.5.5v.4l-3.6 3.5L15 8.1v1.8l2.6 1.7c.1.1.3.1.4.1.2 0 .4-.1.5-.2l3-2.9V18c0 .3-.2.5-.5.5h-6V20h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM1 6v12c0 1.1.9 2 2 2h10.5V4H3c-1.1 0-2 .9-2 2zm11 12.5H3c-.3 0-.5-.2-.5-.5v-1.4L5 14.7l1.5-1.1.1-.1 3 1.9c.1.1.3.1.4.1.2 0 .4-.1.5-.2L12 14v4.5zm0-6.6l-2.1 2L7 12c-.1-.1-.3-.1-.4-.1h-.1c-.1 0-.3.1-.4.1l-1.1.9-2.5 1.8V6c0-.3.2-.5.5-.5h9v6.4z"}))},86504:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(55609);t.Z=(0,a.compose)([i.withNotices])((e=>{const{image:t,noticeOperations:n,noticeUI:a,onChange:i,placeHolderLabel:s}=e,l=(0,r.createElement)("img",{id:t.id,src:t.url,alt:t.alt}),c=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.MediaPlaceholder,{labels:{title:s},accept:"image/*",allowedTypes:["image"],onSelect:i,onError:e=>n.createErrorNotice(e),notices:a}));return t&&t.url?l:c}))},94039:function(e,t,n){"use strict";n.d(t,{X:function(){return d},u:function(){return p}});var r=n(65736),a=n(63157),o=n(17990),i=n(25250),s=n(90767),l=n(58632),c=n(5820),u=n(70355);const __=r.__,_x=r._x,p="image-compare",d={title:__("Image Compare","jetpack"),description:__("Compare two images with a slider. Works best with images of the same size.","jetpack"),icon:{src:o.Z,foreground:(0,u.m)()},category:(0,c.Z)("media","layout"),keywords:[_x("juxtapose","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("side by side","block search term","jetpack"),_x("slider","block search term","jetpack")],supports:{align:["wide","full"]},attributes:{imageBefore:{type:"object",default:{}},imageAfter:{type:"object",default:{}},caption:{type:"string"},orientation:{type:"string",default:"horizontal"}},example:{attributes:{imageBefore:{id:1,url:l,alt:__("Before","jetpack")},imageAfter:{id:2,url:s,alt:__("After","jetpack")},caption:__("Example image","jetpack")}},edit:a.Z,save:i.Z}},25250:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t,className:n}=e;const{imageBefore:o,imageAfter:i,caption:s,orientation:l}=t;return(0,r.createElement)("figure",{className:n},(0,r.createElement)("div",{className:"juxtapose","data-mode":l||"horizontal"},(0,r.createElement)("img",{id:o.id,src:o.url,alt:o.alt,width:o.width,height:o.height,className:"image-compare__image-before"}),(0,r.createElement)("img",{id:i.id,src:i.url,alt:i.alt,width:i.width,height:i.height,className:"image-compare__image-after"})),!a.RichText.isEmpty(s)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:s}))}},37879:function(e,t,n){"use strict";var r=n(69307);t.Z=(e,t,n)=>{(0,r.useEffect)((()=>{const r=setTimeout((()=>e(n)),t);return()=>clearTimeout(r)}),[n])}},8503:function(e,t,n){"use strict";var r=n(47701);n.n(r)()((function(){const e={sliders:[],OPTIMIZATION_ACCEPTED:1,OPTIMIZATION_WAS_CONSTRAINED:2};function t(e,t){const n=this;this.image=new Image,this.loaded=!1,this.image.onload=function(){n.loaded=!0,t._onLoaded()},this.image.src=e.src,this.image.alt=e.alt||"",this.label=e.label||!1}function n(e,t){e&&e.classList.add(t)}function r(e,t){e&&e.classList.remove(t)}function a(e){return{width:parseInt(window.getComputedStyle(e).width,10),height:parseInt(window.getComputedStyle(e).height,10)}}function o(e,t){let n;if("string"==typeof t||"number"==typeof t)n=parseInt(t,10);else{const r=e.getBoundingClientRect(),a={top:r.top+document.body.scrollTop+document.documentElement.scrollTop,left:r.left+document.body.scrollLeft+document.documentElement.scrollLeft},o=e.offsetWidth;n=(function(e){let t;return t=e.pageX?e.pageX:e.touches?e.touches[0].pageX:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,t}(t)-a.left)/o*100}return n}function i(e,t,n){let r;if("string"==typeof t||"number"==typeof t)r=parseInt(t,10);else{const a=e.getBoundingClientRect(),o={top:a.top+n.body.scrollTop+n.documentElement.scrollTop,left:a.left+n.body.scrollLeft+n.documentElement.scrollLeft},i=e.offsetHeight;r=(function(e){let t;return t=e.pageY?e.pageY:e.touches?e.touches[0].pageY:e.clientY+document.body.scrollTop+document.documentElement.scrollTop,t}(t)-o.top)/i*100}return r}const s={animate:!0,showLabels:!0,makeResponsive:!0};function l(e,n,r){let a;for(a in this.element=e,this.options={animate:!0,showLabels:!0,makeResponsive:!0,startingPosition:"50%",mode:"horizontal",callback:null},this.options)a in r&&(this.options[a]=a in s?"string"!=typeof(o=r[a])?Boolean(o):!("false"===o||""===o):r[a]);var o;2===n.length&&(this.imgBefore=new t(n[0],this),this.imgAfter=new t(n[1],this))}l.prototype={updateSlider:function(e,t){let a;a="vertical"===this.options.mode?i(this.slider,e,this.sliderParentDocument):o(this.slider,e),a=a.toFixed(2)+"%";const s=parseFloat(a),l=100-s+"%";s>0&&s<100&&(r(this.handle,"transition"),r(this.rightImage,"transition"),r(this.leftImage,"transition"),this.options.animate&&t&&(n(this.handle,"transition"),n(this.leftImage,"transition"),n(this.rightImage,"transition")),"vertical"===this.options.mode?(this.handle.style.top=a,this.leftImage.style.height=a,this.rightImage.style.height=l):(this.handle.style.left=a,this.leftImage.style.width=a,this.rightImage.style.width=l),this.sliderPosition=a)},getPosition:function(){return this.sliderPosition},displayLabel:function(e,t){const n=document.createElement("div");n.className="jx-label",n.setAttribute("tabindex",0),function(e,t){document.body.textContent?e.textContent=t:e.innerText=t}(n,t),e.appendChild(n)},setStartingPosition:function(e){this.options.startingPosition=e},calculateDims:function(e,t){const n=(r=this.imgBefore.image,{width:r.naturalWidth,height:r.naturalHeight,aspect:function(){return this.width/this.height}}).aspect();var r;return e?t=e/n:t&&(e=t*n),{width:e,height:t,ratio:n}},responsivizeIframe:function(e){return e.height<window.innerHeight?e.ratio>=1&&(this.wrapper.style.paddingTop=parseInt((window.innerHeight-e.height)/2)+"px"):e.height>window.innerHeight&&(e=this.calculateDims(0,window.innerHeight),this.wrapper.style.paddingLeft=parseInt((window.innerWidth-e.width)/2)+"px"),e},setWrapperDimensions:function(){const e=a(this.wrapper.parentNode).width,t=a(this.wrapper.parentNode).height;let n=this.calculateDims(e,t);window.location===window.parent.location||this.options.makeResponsive||(n=this.responsivizeIframe(n)),this.wrapper.style.height=parseInt(n.height)+"px",this.wrapper.style.width=parseInt(n.width)+"px"},optimizeWrapper:function(t){let n=e.OPTIMIZATION_ACCEPTED;return this.imgBefore.image.naturalWidth>=t&&this.imgAfter.image.naturalWidth>=t?(this.wrapper.style.width=t+"px",n=e.OPTIMIZATION_WAS_CONSTRAINED):this.imgAfter.image.naturalWidth<t?this.wrapper.style.width=this.imgAfter.image.naturalWidth+"px":this.wrapper.style.width=this.imgBefore.image.naturalWidth+"px",this.setWrapperDimensions(),n},_onLoaded:function(){if(this.imgBefore&&!0===this.imgBefore.loaded&&this.imgAfter&&!0===this.imgAfter.loaded){var e;if(this.wrapper=this.element,!this.wrapper||this.wrapper.querySelector(".jx-slider"))return;n(this.wrapper,"juxtapose"),this.wrapper.style.width=this.imgBefore.image.naturalWidth,this.setWrapperDimensions(),this.slider=document.createElement("div"),this.slider.className="jx-slider",this.wrapper.appendChild(this.slider),this.sliderParentDocument=this.wrapper.ownerDocument,"horizontal"!==this.options.mode&&n(this.slider,this.options.mode),this.handle=document.createElement("div"),this.handle.className="jx-handle",this.rightImage=document.createElement("div"),this.rightImage.className="jx-image jx-right",this.rightImage.appendChild(this.imgAfter.image),this.leftImage=document.createElement("div"),this.leftImage.className="jx-image jx-left",this.leftImage.appendChild(this.imgBefore.image),this.slider.appendChild(this.handle),this.slider.appendChild(this.leftImage),this.slider.appendChild(this.rightImage),this.leftArrow=document.createElement("div"),this.rightArrow=document.createElement("div"),this.control=document.createElement("div"),this.controller=document.createElement("div"),this.leftArrow.className="jx-arrow jx-left",this.rightArrow.className="jx-arrow jx-right",this.control.className="jx-control",this.controller.className="jx-controller",this.controller.setAttribute("tabindex",0),this.controller.setAttribute("role","slider"),this.controller.setAttribute("aria-valuenow",50),this.controller.setAttribute("aria-valuemin",0),this.controller.setAttribute("aria-valuemax",100),this.controller.setAttribute("aria-label",(null===(e=window.imageCompareHandle)||void 0===e?void 0:e.msg)||"Slide to compare images"),this.handle.appendChild(this.leftArrow),this.handle.appendChild(this.control),this.handle.appendChild(this.rightArrow),this.control.appendChild(this.controller),this._init()}},_init:function(){this.updateSlider(this.options.startingPosition,!1),!0===this.options.showLabels&&(this.imgBefore.label&&this.displayLabel(this.leftImage,this.imgBefore.label),this.imgAfter.label&&this.displayLabel(this.rightImage,this.imgAfter.label));const t=this;window.addEventListener("resize",(function(){t.setWrapperDimensions()})),this.slider.addEventListener("mousedown",(function(e){e.preventDefault(),t.updateSlider(e,!0);let n=!0;this.addEventListener("mousemove",(function(e){e.preventDefault(),n&&t.updateSlider(e,!1)})),this.addEventListener("mouseup",(function(e){e.preventDefault(),e.stopPropagation(),n=!1}))})),this.slider.addEventListener("touchstart",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!0),this.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!1)}))})),this.handle.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;let r=parseFloat(this.style.left);if(37===n){r-=1;const e=parseFloat(this.style.left)-1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}if(39===n){r+=1;const e=parseFloat(this.style.left)+1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}})),this.leftImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("90%",!0),t.controller.setAttribute("aria-valuenow",91))})),this.rightImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("10%",!0),t.controller.setAttribute("aria-valuenow",10))})),e.sliders.push(this),this.options.callback&&"function"==typeof this.options.callback&&this.options.callback(this)}},e.makeSlider=function(t,r){void 0===r&&(r=e.sliders.length);const a=t,o=a.querySelectorAll("img");if(o.length<2)return;const i={};a.getAttribute("data-animate")&&(i.animate=a.getAttribute("data-animate")),a.getAttribute("data-showlabels")&&(i.showLabels=a.getAttribute("data-showlabels")),a.getAttribute("data-startingposition")&&(i.startingPosition=a.getAttribute("data-startingposition")),a.getAttribute("data-mode")&&(i.mode=a.getAttribute("data-mode")),a.getAttribute("data-makeresponsive")&&(i.mode=a.getAttribute("data-makeresponsive"));return n(t,"juxtapose-"+r),a.innerHTML?a.innerHTML="":a.innerText="",new e.JXSlider(t,[{src:o[0].src,label:o[0].getAttribute("data-label"),alt:o[0].alt},{src:o[1].src,label:o[1].getAttribute("data-label"),alt:o[1].alt}],i)},e.scanPage=function(){const t=document.querySelectorAll(".juxtapose");for(let n=0;n<t.length;n++)e.makeSlider(t[n],n)},e.JXSlider=l,window.juxtapose=e,e.scanPage()}))},8979:function(e,t){"use strict";t.Z={accessToken:{type:"string"},instagramUser:{type:"string"},columns:{type:"number",default:3,min:1,max:6},count:{type:"number",default:9,min:1,max:30},spacing:{type:"number",default:10,min:0,max:50},isStackedOnMobile:{type:"boolean",default:!0}}},696:function(e,t,n){"use strict";n.d(t,{D:function(){return a},u:function(){return r}});const r=30,a="jetpack-new-instagram-connection"},64129:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(696);const __=o.__,_n=o._n;function s(e){let{accountImageTotal:t,attributes:n,currentUserConnected:s,disconnectFromService:l,shouldRenderSidebarNotice:c,setAttributes:u}=e;const{accessToken:p,columns:d,count:m,instagramUser:h,isStackedOnMobile:f,spacing:g}=n;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelBody,{title:__("Account Settings","jetpack")},(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("span",null,__("Account","jetpack")),(0,r.createElement)(a.ExternalLink,{href:`https://www.instagram.com/${h}/`},"@",h)),s&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isDestructive:!0,variant:"link",onClick:()=>l(p)},__("Disconnect your account","jetpack")))),(0,r.createElement)(a.PanelBody,{title:__("Display Settings","jetpack")},c?(()=>{const e=t?(0,o.sprintf)(
/* translators: placeholder is a number. */
-_n("There is currently only %s post in your Instagram account.","There are currently only %s posts in your Instagram account.",t,"jetpack"),t):__("There are currently no posts in your Instagram account.","jetpack");return(0,r.createElement)("div",{className:"wp-block-jetpack-instagram-gallery__count-notice"},(0,r.createElement)(a.Notice,{isDismissible:!1,status:"info"},e))})():null,(0,r.createElement)(a.RangeControl,{label:__("Number of Posts","jetpack"),value:m,onChange:e=>u({count:e}),min:1,max:i.u}),(0,r.createElement)(a.RangeControl,{label:__("Number of Columns","jetpack"),value:d,onChange:e=>u({columns:e}),min:1,max:6}),(0,r.createElement)(a.RangeControl,{label:__("Image Spacing (px)","jetpack"),value:g,onChange:e=>u({spacing:e}),min:0,max:50}),(0,r.createElement)(a.ToggleControl,{label:__("Stack on mobile","jetpack"),checked:f,onChange:()=>u({isStackedOnMobile:!f})})))}},66137:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(18776),p=n(14937),d=n(14087),m=n(10273),h=n(2992),f=n(44420),g=n(76853),b=n(63729),v=n(3802);const __=c.__;t.Z=(0,l.withNotices)((e=>{const{attributes:t,className:n,isSelected:a,noticeOperations:c,noticeUI:k,setAttributes:y}=e,{accessToken:E,align:w,columns:_,count:C,isStackedOnMobile:j,spacing:S}=t;(0,r.useEffect)((()=>{const e=(0,d.S)(u.Z,t);(0,i.isEqual)(e,t)||y(e)}),[t,y]);const[x,T]=(0,r.useState)(E),{isRequestingWpcomConnectUrl:P,wpcomConnectUrl:N}=(0,h.Z)(),{images:A,isLoadingGallery:I,setImages:B}=(0,f.Z)({accessToken:E,noticeOperations:c,setAttributes:y,setSelectedAccount:T}),{connectToService:M,disconnectFromService:R,isConnecting:L,isRequestingUserConnections:Z,userConnections:F}=(0,m.Z)({accessToken:E,noticeOperations:c,selectedAccount:x,setAttributes:y,setImages:B,setSelectedAccount:T}),D=(0,b.Z)(),O=C>A.length?A.length:C,z=!I&&(!E||(0,i.isEmpty)(A)),U=!z,$=E&&I&&(0,i.isEmpty)(A),V=!z&&!$,G=o()(n,{[`align${w}`]:w}),H=o()("wp-block-jetpack-instagram-gallery__grid",`wp-block-jetpack-instagram-gallery__grid-columns-${_}`,{"is-stacked-on-mobile":j}),q={gridGap:S,"--latest-instagram-posts-spacing":S?`${S}px`:void 0},W={padding:S},K=()=>{x&&p.D!==x?y({accessToken:x,instagramUser:(0,i.find)(F,{token:x}).username}):M()};return(0,r.createElement)("div",{className:G},z&&(0,r.createElement)(l.Placeholder,{icon:"instagram",instructions:D?Z||F.length?void 0:__("Connect to Instagram to start sharing your images.","jetpack"):__("First, you'll need to connect your WordPress.com account.","jetpack"),label:__("Latest Instagram Posts","jetpack"),notices:k},D?(()=>{const e=F.length>0,t=[...(0,i.map)(F,(e=>({label:`@${e.username}`,value:e.token}))),{label:__("Add a new account","jetpack"),value:p.D}],n=L||Z||e&&!x;return(0,r.createElement)("div",null,e&&(0,r.createElement)(l.RadioControl,{label:__("Select your Instagram account:","jetpack"),onChange:e=>T(e),options:t,selected:x}),p.D===x&&(0,r.createElement)("p",{className:"wp-block-jetpack-instagram-gallery__new-account-instructions"},__("If you are currently logged in to Instagram on this device, you might need to log out of it first.","jetpack")),(0,r.createElement)(l.Button,{disabled:n,isPrimary:!0,onClick:K},L&&__("Connecting…","jetpack"),Z&&__("Loading your connections…","jetpack"),!L&&!Z&&__("Connect to Instagram","jetpack")))})():(0,r.createElement)(l.Button,{disabled:P||!N,href:N,isSecondary:!0},__("Connect to WordPress.com","jetpack"))),$&&(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(l.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack"))),V&&(0,r.createElement)("div",{className:H,style:q},(0,i.times)(a?C:O,(e=>(0,r.createElement)("span",{className:o()("wp-block-jetpack-instagram-gallery__grid-post"),key:e,style:W},(e=>{if(A[e]){const n=A[e];return(0,r.createElement)(g.Z,{alt:n.title||n.url,src:n.url,attributes:t,spacing:S})}return(0,r.createElement)("img",{alt:__("Latest Instagram Posts placeholder","jetpack"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNMyc2tBwAEOgG/c94mJwAAAABJRU5ErkJggg=="})})(e))))),U&&(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(v.Z,{accountImageTotal:A.length,attributes:t,currentUserConnected:D,disconnectFromService:R,shouldRenderSidebarNotice:U&&!$&&A.length<C,setAttributes:y})))}))},76853:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{src:t,alt:n,spacing:a}=e;const[i,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)("auto"),u=(0,r.useRef)(),p=()=>{s(!0),c("auto")};(0,r.useEffect)((()=>{const e=t;if(e){const t=new window.Image;t.src=e,t.onload=p}u.current&&c(u.current.parentNode.getBoundingClientRect().width)}),[t]);const d=-1*a,m=o()("wp-block-jetpack-instagram-gallery__placeholder",{"is-loaded":i}),h=i?{margin:d}:{margin:d,height:l},f=o()({"is-loaded":i});return(0,r.createElement)("span",{style:h,className:m},(0,r.createElement)("img",{alt:n,className:f,ref:u,src:t}))}},77007:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(4981),i=n(18776),s=n(66137),l=n(57535);const __=a.__,_x=a._x,c="instagram-gallery",u={title:__("Latest Instagram Posts","jetpack"),description:__("Display an automatically updating list of the latest posts from your Instagram feed.","jetpack"),icon:{src:"instagram",foreground:(0,l.m)()},category:"embed",keywords:[_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack")],supports:{align:!0,html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"wpcom_instagram_widget"===t},transform:e=>{let{instance:t}=e;return(0,o.createBlock)("jetpack/instagram-gallery",{columns:t.raw.columns,count:t.raw.count,accessToken:t.raw.token_id})}}]},attributes:i.Z,edit:s.Z,save:e=>{let{attributes:{instagramUser:t}}=e;return t&&(0,r.createElement)("div",null,(0,r.createElement)("a",{href:`https://www.instagram.com/${t}/`,rel:"noopener noreferrer",target:"_blank"},`https://www.instagram.com/${t}/`))}}},10273:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(59177),a=n(92819),o=n(86989),i=n.n(o),s=n(69307),l=n(65736),c=n(14937),u=n(63729);const __=l.__;function p(e){let{accessToken:t,noticeOperations:n,selectedAccount:o,setAttributes:l,setImages:p,setSelectedAccount:d}=e;const[m,h]=(0,s.useState)(!1),[f,g]=(0,s.useState)(!1),[b,v]=(0,s.useState)([]),k=(0,u.Z)();(0,s.useEffect)((()=>{!t&&k&&(g(!0),i()({path:"/wpcom/v2/instagram-gallery/connections"}).then((e=>{g(!1),v(e)})).catch((()=>{g(!1),v([])})))}),[t,k]),(0,s.useEffect)((()=>{c.D===o||(0,a.find)(b,{token:o})||d(void 0)}),[o,d,b]);return{connectToService:()=>{n.removeAllNotices(),h(!0),i()({path:"/wpcom/v2/instagram-gallery/connect-url"}).then((e=>{const t=new r.Z;t.open(e,"connect-to-instagram-popup","toolbar=0,location=0,menubar=0,"+t.getScreenCenterSpecs(700,700)),t.on("message",(e=>{let{keyring_id:t}=e;if(h(!1),t){const e=t.toString();l({accessToken:e}),d(e)}})),t.on("close",(e=>{"connect-to-instagram-popup"===e&&h(!1)}))})).catch((()=>{n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),h(!1)}))},disconnectFromService:()=>{n.removeAllNotices(),l({accessToken:void 0,instagramUser:void 0}),p([])},isConnecting:m,isRequestingUserConnections:f,userConnections:b}}},2992:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(86989),a=n.n(r),o=n(9818),i=n(69307),s=n(96483),l=n(63729);function c(){const{isAutoDraft:e}=(0,o.useSelect)((e=>{const{status:t}=e("core/editor").getCurrentPost();return{isAutoDraft:"auto-draft"===t}})),{savePost:t}=(0,o.useDispatch)("core/editor"),[n,r]=(0,i.useState)(),[c,u]=(0,i.useState)(!1),p=(0,l.Z)();return(0,i.useEffect)((()=>{p||n||c||(e?t():(u(!0),a()({path:(0,s.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((e=>{r(e),u(!1)}))))}),[p,e,c,t,n]),{isRequestingWpcomConnectUrl:c,wpcomConnectUrl:n}}},44420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(14937);const __=s.__;function u(e){let{accessToken:t,noticeOperations:n,setAttributes:a,setSelectedAccount:s}=e;const[u,p]=(0,i.useState)([]),[d,m]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{t&&(n.removeAllNotices(),m(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/instagram-gallery/gallery",{access_token:t,count:c.u})}).then((e=>{let{external_name:t,images:o}=e;if(m(!1),!o||!(0,r.isArray)(o))return n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),p([]),a({accessToken:void 0,instagramUser:void 0}),void s(void 0);(0,r.isEmpty)(o)&&n.createErrorNotice(__("No images were found in your Instagram account.","jetpack")),a({instagramUser:t}),p(o)})).catch((()=>{m(!1),p([]),a({accessToken:void 0,instagramUser:void 0}),s(void 0)})))}),[t,a,s]),{images:u,isLoadingGallery:d,setImages:p}}},66916:function(e,t,n){"use strict";n.d(t,{u:function(){return a},X:function(){return o}});var r=n(48355);const a="likes",o={render:r.Z}},48355:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(12238),l=n(9818),c=n(23539);const __=a.__,u=(0,l.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{areLikesEnabled:t("jetpack_likes_enabled")}})),p=(0,l.withDispatch)((e=>{const{editPost:t}=e("core/editor");return{editPost:t}}));t.Z=(0,i.compose)([u,p])((e=>{let{areLikesEnabled:t,editPost:n}=e;return(0,r.createElement)(s.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},(0,r.createElement)(c.Z,null,(0,r.createElement)(o.CheckboxControl,{label:__("Show likes.","jetpack"),checked:t,onChange:e=>{n({jetpack_likes_enabled:e})}})))}))},25887:function(e,t,n){"use strict";n.d(t,{N3:function(){return r},sf:function(){return a},Cw:function(){return o}});const r="processing",a="success",o="error"},50013:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(18417),s=n(25887);const __=a.__;function l(e){let{auditionNotification:t,clearAudition:n,setAttributes:a,emailPlaceholder:l,processingLabel:c,successLabel:u,errorLabel:p,interests:d,signupFieldTag:m,signupFieldValue:h,connectURL:f}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Text Elements","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Email Placeholder","jetpack"),value:l,onChange:e=>{a({emailPlaceholder:e}),n()}})),(0,r.createElement)(o.PanelBody,{title:__("Notifications","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Processing text","jetpack"),value:c,onChange:e=>{a({processingLabel:e}),t(s.N3)}}),(0,r.createElement)(o.TextControl,{label:__("Success text","jetpack"),value:u,onChange:e=>{a({successLabel:e}),t(s.sf)}}),(0,r.createElement)(o.TextControl,{label:__("Error text","jetpack"),value:p,onChange:e=>{a({errorLabel:e}),t(s.Cw)}})),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Groups","jetpack")},(0,r.createElement)(i.Z,{interests:d,onChange:(e,t)=>{const n=[...new Set([...d,e])].filter((n=>!(n===e&&!t)&&n));a({interests:n})}}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},__("Learn about groups","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Signup Location Tracking","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Signup Field Tag","jetpack"),placeholder:__("SIGNUP","jetpack"),value:m,onChange:e=>a({signupFieldTag:e})}),(0,r.createElement)(o.TextControl,{label:__("Signup Field Value","jetpack"),placeholder:__("website","jetpack"),value:h,onChange:e=>a({signupFieldValue:e})}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},__("Learn about signup location tracking","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Connection","jetpack")},(0,r.createElement)(o.ExternalLink,{href:f},__("Manage Connection","jetpack"))))}},58791:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=["submitButtonText","backgroundButtonColor","textButtonColor","submitButtonClasses","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},submitButtonText:{type:"string",default:__("Join my email list","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},submitButtonClasses:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},migrate:e=>{const t=(0,r.omit)(e,i),n={text:(o=e).submitButtonText||__("Join my email list","jetpack"),textColor:o.textButtonColor,customTextColor:o.customTextButtonColor,backgroundColor:o.backgroundButtonColor,customBackgroundColor:o.customBackgroundButtonColor};var o;return[t,[(0,a.createBlock)("jetpack/button",{element:"button",uniqueId:"mailchimp-widget-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,i),Boolean),save:()=>null}},87539:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(89105),c=n.n(l),u=n(65736),p=n(96483),d=n(55609),m=n(52175),h=n(19916),f=n(50013),g=n(63729),b=n(25887);const __=u.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e=(0,g.Z)();if(e){const t={path:"/wpcom/v2/mailchimp",method:"GET"};s()(t).then((t=>{const n=t.connect_url,r="connected"===t.code?1:2;this.setState({currentUserConnected:e,connected:r,connectURL:n})}),(t=>{this.setState({currentUserConnected:e,connected:2,connectURL:null}),this.onError(t.message)}))}else s()({path:(0,p.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((t=>{const n=t;this.setState({currentUserConnected:e,connected:2,connectURL:n})}))})),a()(this,"auditionNotification",(e=>{this.setState({audition:e}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.clearAudition,3e3)})),a()(this,"clearAudition",(()=>{this.setState({audition:null})})),a()(this,"labelForAuditionType",(e=>{const{attributes:t}=this.props,{processingLabel:n,successLabel:r,errorLabel:a}=t;return e===b.N3?n:e===b.sf?r:e===b.Cw?a:null})),a()(this,"roleForAuditionType",(e=>e===b.Cw?"alert":"status")),a()(this,"render",(()=>{const{attributes:e,className:t,notices:n,noticeUI:r,setAttributes:a}=this.props,{audition:i,connected:s,connectURL:l,currentUserConnected:u}=this.state,{emailPlaceholder:p,consentText:g,interests:b,processingLabel:v,successLabel:k,errorLabel:y,preview:E,signupFieldTag:w,signupFieldValue:_}=e,C="wp-block-jetpack-mailchimp",j=(0,o.createElement)(d.Placeholder,{icon:h.qv,notices:n},(0,o.createElement)(d.Spinner,null)),S=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("You need to connect your Mailchimp account and choose an audience in order to start collecting Email subscribers.","jetpack")},(0,o.createElement)(d.Button,{isSecondary:!0,isLarge:!0,href:l,target:"_blank"},__("Set up Mailchimp form","jetpack")),(0,o.createElement)("div",{className:`${C}-recheck`},(0,o.createElement)(d.Button,{isLink:!0,onClick:this.apiCall},__("Re-check Connection","jetpack")))),x=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("First, you'll need to connect your WordPress.com account.","jetpack")},(0,o.createElement)(d.Button,{isSecondary:!0,isLarge:!0,href:l},__("Connect to WordPress.com","jetpack"))),T=(0,o.createElement)(m.InspectorControls,null,(0,o.createElement)(f.Q,{auditionNotification:this.auditionNotification,clearAudition:this.clearAudition,emailPlaceholder:p,processingLabel:v,successLabel:k,errorLabel:y,interests:b,setAttributes:this.props.setAttributes,signupFieldTag:w,signupFieldValue:_,connectURL:l})),P=c()(t,{[`${C}_notication-audition`]:i}),N=(0,o.createElement)("div",{className:P},(0,o.createElement)(d.TextControl,{"aria-label":p,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:()=>!1,placeholder:p,title:__("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),(0,o.createElement)(m.InnerBlocks,{template:[[h.Ss.name,h.Ss.attributes]],templateLock:"all"}),(0,o.createElement)(m.RichText,{tagName:"p",placeholder:__("Write consent text","jetpack"),value:g,onChange:e=>a({consentText:e}),inlineToolbar:!0}),i&&(0,o.createElement)("div",{className:`${C}_notification ${C}_${i}`,role:this.roleForAuditionType(i)},this.labelForAuditionType(i))),A=N;return(0,o.createElement)(o.Fragment,null,r,E&&A,!E&&0===s&&j,!E&&2===s&&u&&S,!E&&2===s&&!u&&x,!E&&1===s&&T,!E&&1===s&&N)})),this.state={audition:null,connected:0,connectURL:null,currentUserConnected:null},this.timeout=null}}t.Z=(0,d.withNotices)(v)},19916:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},qv:function(){return p},Ss:function(){return d},Xd:function(){return m}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(58791),l=n(87539),c=n(57535);const __=a.__,_x=a._x,u="mailchimp",p=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(i.G,{transform:"translate(-45.478101,-100.73059)"},(0,r.createElement)(i.G,{transform:"matrix(0.26458333,0,0,0.26458333,15.6741,59.72)"},(0,r.createElement)(i.Path,{d:"m 176.433,197.529 c 0.657,-0.078 1.286,-0.082 1.865,0 0.335,-0.768 0.392,-2.091 0.091,-3.532 -0.447,-2.142 -1.053,-3.438 -2.305,-3.236 -1.252,0.202 -1.298,1.754 -0.85,3.895 0.252,1.205 0.7,2.235 1.199,2.873"}),(0,r.createElement)(i.Path,{d:"m 165.688,199.224 c 0.895,0.393 1.446,0.654 1.661,0.426 0.139,-0.142 0.097,-0.413 -0.117,-0.762 -0.442,-0.721 -1.351,-1.453 -2.316,-1.864 -1.972,-0.849 -4.325,-0.567 -6.14,0.737 -0.599,0.439 -1.167,1.047 -1.086,1.416 0.026,0.119 0.116,0.209 0.326,0.239 0.494,0.056 2.22,-0.816 4.209,-0.938 1.403,-0.086 2.566,0.353 3.462,0.746"}),(0,r.createElement)(i.Path,{d:"m 163.887,200.252 c -1.167,0.184 -1.81,0.569 -2.223,0.926 -0.352,0.308 -0.57,0.649 -0.568,0.888 0.001,0.114 0.05,0.18 0.089,0.213 0.053,0.047 0.116,0.073 0.192,0.073 0.263,0 0.854,-0.237 0.854,-0.237 1.623,-0.581 2.694,-0.51 3.755,-0.39 0.586,0.066 0.864,0.102 0.992,-0.099 0.038,-0.058 0.084,-0.183 -0.033,-0.373 -0.273,-0.443 -1.451,-1.192 -3.057,-1.001"}),(0,r.createElement)(i.Path,{d:"m 172.805,204.025 c 0.792,0.389 1.664,0.236 1.948,-0.341 0.284,-0.577 -0.128,-1.361 -0.92,-1.75 -0.792,-0.389 -1.664,-0.236 -1.948,0.341 -0.284,0.578 0.128,1.361 0.92,1.75"}),(0,r.createElement)(i.Path,{d:"m 177.896,199.576 c -0.643,-0.011 -1.177,0.695 -1.192,1.578 -0.015,0.883 0.495,1.606 1.138,1.617 0.643,0.011 1.177,-0.695 1.192,-1.578 0.015,-0.882 -0.495,-1.606 -1.138,-1.617"}),(0,r.createElement)(i.Path,{d:"m 134.683,215.485 c -0.16,-0.201 -0.423,-0.14 -0.678,-0.08 -0.178,0.042 -0.379,0.088 -0.6,0.085 -0.473,-0.009 -0.874,-0.211 -1.099,-0.557 -0.293,-0.45 -0.276,-1.121 0.047,-1.889 l 0.151,-0.344 c 0.516,-1.158 1.379,-3.095 0.41,-4.941 -0.73,-1.39 -1.92,-2.255 -3.351,-2.437 -1.374,-0.174 -2.788,0.335 -3.69,1.33 -1.423,1.57 -1.646,3.707 -1.371,4.462 0.101,0.276 0.259,0.353 0.373,0.369 0.242,0.032 0.6,-0.144 0.824,-0.747 l 0.064,-0.196 c 0.1,-0.319 0.286,-0.913 0.591,-1.389 0.368,-0.574 0.94,-0.969 1.612,-1.114 0.684,-0.147 1.384,-0.016 1.97,0.368 0.997,0.652 1.381,1.874 0.955,3.039 -0.22,0.603 -0.578,1.756 -0.499,2.703 0.16,1.917 1.339,2.687 2.398,2.769 1.03,0.039 1.75,-0.54 1.932,-0.962 0.107,-0.25 0.017,-0.402 -0.042,-0.467"}),(0,r.createElement)(i.Path,{d:"m 144.475,180.275 c 3.36,-3.882 7.495,-7.257 11.2,-9.152 0.128,-0.066 0.264,0.073 0.195,0.199 -0.294,0.533 -0.861,1.674 -1.04,2.539 -0.028,0.135 0.119,0.236 0.233,0.159 2.305,-1.571 6.314,-3.255 9.831,-3.471 0.151,-0.009 0.224,0.184 0.104,0.277 -0.535,0.41 -1.12,0.978 -1.547,1.552 -0.073,0.098 -0.004,0.238 0.118,0.239 2.469,0.018 5.95,0.882 8.219,2.155 0.153,0.086 0.044,0.383 -0.128,0.344 -3.433,-0.787 -9.052,-1.384 -14.89,0.04 -5.211,1.271 -9.189,3.234 -12.09,5.344 -0.147,0.107 -0.323,-0.087 -0.204,-0.224 z m 16.732,37.612 0.001,0.002 0.002,0.004 z m 13.854,1.635 c 0.1,-0.042 0.168,-0.155 0.157,-0.268 -0.014,-0.139 -0.138,-0.24 -0.277,-0.226 0,0 -7.169,1.061 -13.942,-1.418 0.738,-2.398 2.699,-1.532 5.664,-1.293 5.344,0.319 10.134,-0.462 13.674,-1.478 3.067,-0.88 7.096,-2.616 10.225,-5.086 1.055,2.318 1.428,4.87 1.428,4.87 0,0 0.817,-0.146 1.5,0.274 0.645,0.397 1.118,1.222 0.795,3.356 -0.658,3.986 -2.352,7.222 -5.2,10.199 -1.734,1.866 -3.838,3.488 -6.246,4.668 -1.279,0.672 -2.64,1.253 -4.079,1.722 -10.736,3.507 -21.726,-0.348 -25.268,-8.626 -0.283,-0.622 -0.522,-1.274 -0.71,-1.955 -1.509,-5.455 -0.228,-12 3.778,-16.12 v -0.002 c 0.247,-0.262 0.499,-0.571 0.499,-0.96 0,-0.325 -0.207,-0.668 -0.386,-0.912 -1.402,-2.033 -6.257,-5.497 -5.282,-12.201 0.7,-4.816 4.912,-8.208 8.839,-8.007 l 0.995,0.057 c 1.702,0.101 3.186,0.319 4.587,0.378 2.345,0.102 4.453,-0.239 6.951,-2.32 0.842,-0.702 1.518,-1.311 2.661,-1.504 0.12,-0.021 0.419,-0.128 1.016,-0.1 0.61,0.033 1.19,0.2 1.711,0.547 2.002,1.332 2.286,4.559 2.39,6.919 0.059,1.347 0.222,4.607 0.278,5.543 0.127,2.14 0.69,2.441 1.828,2.816 0.64,0.211 1.234,0.368 2.11,0.614 2.65,0.744 4.221,1.499 5.212,2.469 0.591,0.606 0.866,1.25 0.951,1.864 0.312,2.28 -1.77,5.096 -7.283,7.655 -6.026,2.797 -13.337,3.505 -18.388,2.942 l -1.77,-0.2 c -4.04,-0.544 -6.345,4.677 -3.92,8.255 1.563,2.306 5.82,3.806 10.079,3.807 9.765,0.001 17.271,-4.169 20.063,-7.77 l 0.223,-0.318 c 0.138,-0.207 0.024,-0.321 -0.147,-0.204 -2.281,1.561 -12.413,7.758 -23.251,5.893 0,0 -1.317,-0.217 -2.519,-0.684 -0.955,-0.372 -2.955,-1.292 -3.198,-3.343 8.746,2.705 14.253,0.148 14.253,0.148 z m -48.039,-20.785 c -3.042,0.591 -5.723,2.315 -7.362,4.697 -0.98,-0.817 -2.805,-2.399 -3.128,-3.016 -2.617,-4.97 2.856,-14.632 6.68,-20.089 9.45,-13.485 24.25,-23.692 31.101,-21.84 1.114,0.315 4.803,4.592 4.803,4.592 0,0 -6.849,3.8 -13.2,9.097 -8.558,6.589 -15.022,16.166 -18.895,26.559 z m 5.111,22.805 c -0.46,0.079 -0.93,0.11 -1.404,0.098 -4.577,-0.123 -9.52,-4.243 -10.011,-9.129 -0.543,-5.401 2.217,-9.557 7.103,-10.543 0.584,-0.118 1.29,-0.186 2.051,-0.146 2.738,0.15 6.772,2.252 7.693,8.216 0.816,5.282 -0.48,10.659 -5.432,11.503 z m 61.996,-9.564 c -0.039,-0.139 -0.295,-1.072 -0.646,-2.197 -0.351,-1.126 -0.714,-1.917 -0.714,-1.917 1.408,-2.107 1.433,-3.992 1.245,-5.059 -0.2,-1.323 -0.751,-2.45 -1.861,-3.616 -1.11,-1.165 -3.381,-2.359 -6.572,-3.255 l -1.674,-0.465 c -0.008,-0.069 -0.088,-3.947 -0.16,-5.612 -0.053,-1.204 -0.156,-3.083 -0.739,-4.933 -0.695,-2.505 -1.905,-4.697 -3.416,-6.099 4.17,-4.322 6.773,-9.084 6.766,-13.168 -0.012,-7.855 -9.659,-10.232 -21.548,-5.309 l -2.519,1.069 c -0.011,-0.011 -4.554,-4.468 -4.622,-4.528 -13.555,-11.823 -55.935,35.284 -42.386,46.725 l 2.961,2.509 c -0.768,1.99 -1.07,4.27 -0.823,6.721 0.316,3.149 1.94,6.167 4.573,8.499 2.499,2.214 5.785,3.616 8.973,3.613 5.273,12.151 17.321,19.605 31.447,20.025 15.153,0.45 27.873,-6.66 33.203,-19.432 0.349,-0.896 1.828,-4.935 1.828,-8.501 0,-3.583 -2.026,-5.068 -3.316,-5.068"})))),d={name:"jetpack/button",attributes:{element:"button",text:__("Join my Mailchimp audience","jetpack"),uniqueId:"mailchimp-widget-id"}},m={title:__("Mailchimp","jetpack"),icon:{src:p,foreground:(0,c.m)()},description:__("A form enabling readers to join a Mailchimp audience.","jetpack"),category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:l.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null),example:{attributes:{preview:!0},innerBlocks:[d]},deprecated:[s.Z]}},18417:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(55609);class c extends o.Component{constructor(){super(...arguments),a()(this,"state",{interest_categories:[]}),a()(this,"retrieveGroups",(()=>{s()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((e=>{const{interest_categories:t}=e;this.setState({interest_categories:t})}))})),a()(this,"render",(()=>{const{interest_categories:e}=this.state,{interests:t,onChange:n}=this.props;return(0,o.createElement)(o.Fragment,null,e&&(e||[]).map((e=>e.interests.map((e=>(0,o.createElement)(l.CheckboxControl,{label:e.name,value:e.id,checked:t.includes(e.id),onChange:t=>n(e.id,t),key:e.id}))))))}))}componentDidMount(){this.retrieveGroups()}}t.Z=c,c.defaultProps={interests:[],onChange:()=>null}},36710:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(1595);const __=a.__;class s extends r.Component{render(){const{onClose:e,onAddPoint:t,onError:n,apiKey:a}=this.props;return(0,r.createElement)(o.Button,{className:"component__add-point"},__("Add marker","jetpack"),(0,r.createElement)(o.Popover,{className:"component__add-point__popover",position:"bottom center"},(0,r.createElement)(o.Button,{className:"component__add-point__close",onClick:e},(0,r.createElement)(o.Dashicon,{icon:"no"})),(0,r.createElement)(i.Z,{onAddPoint:t,label:__("Add a location","jetpack"),apiKey:a,onError:n})))}}s.defaultProps={onAddPoint:()=>{},onClose:()=>{},onError:()=>{}},t.Z=s},79267:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(55609),c=n(81041),u=n(77714),p=n(73242),d=n(87929),m=n(45388);const __=i.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),a()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),a()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),a()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:r}=n.props,a=t.slice(0);(0,s.assign)(a[r],e),this.props.onSetPoints(a)})),a()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,r=e.slice(0);r.splice(n,1),this.props.onSetPoints(r),this.setState({activeMarker:null})})),a()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,r=Math.min(e*(3/4),t);n.style.height=r+"px"}t.resize(),this.setBoundsByMarkers()})),a()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),a()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:r,zoom:a}=this.props,{map:o,activeMarker:i,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!o)return;if(r.length&&e?o.dragPan.disable():o.dragPan.enable(),!r.length)return;if(i)return;const u=new s.LngLatBounds;if(r.forEach((e=>{u.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(u.getCenter()),r.length>1){o.fitBounds(u,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{o.removeControl(l)}catch(e){}}else{if(o.setCenter(u.getCenter()),c){const e=12;o.setZoom(e),n(e)}else o.setZoom(parseInt(a,10));o.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),a()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),a()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,o.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:r}=this.props,{map:a,activeMarker:i,mapboxgl:p}=this.state,{onMarkerClick:d,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(i,"props.point")||{},{title:g,caption:b}=f,v=o.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),k=a&&p&&e.map(((e,t)=>(0,o.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:a,mapboxgl:p,markerColor:r,onClick:d}))),y=p&&(0,o.createElement)(u.Z,{activeMarker:i,map:a,mapboxgl:p,unsetActiveMarker:()=>this.setState({activeMarker:null})},i&&t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,o.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:b,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,o.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,o.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),i&&!t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h3",null,g),(0,o.createElement)("p",null,b)));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},k),y,v)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:r,points:a,mapStyle:o,mapDetails:i,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:u}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&i===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(u),t&&u._fullscreenButton&&(u._fullscreenButton.disabled=!0)):c.removeControl(u))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,p.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,d.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,d.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,d.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:r,onError:a,scrollToZoom:o,showFullscreenButton:i,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}o||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{a("mapbox_error",e.error.message)}));const u=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:u,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(u),i&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),r(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},20522:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(41626),l=n(17885);const __=a.__;t.Z=e=>{let{attributes:t,setAttributes:n,state:a,setState:c,context:u,mapRef:p,instanceId:d,minHeight:m,removeAPIKey:h,updateAPIKey:f,setPointVisibility:g}=e;const b=e=>{n({align:e}),setTimeout(p.current.sizeMap,0)};return"toolbar"===u?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockAlignmentToolbar,{value:t.align,onChange:b,controls:["center","wide","full"]}),(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:l.X.markerIcon,label:__("Add a marker","jetpack"),onClick:g}))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.PanelColorSettings,{title:__("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:t.markerColor,onChange:e=>n({markerColor:e}),label:__("Marker Color","jetpack")}]}),(0,r.createElement)(o.PanelBody,{title:__("Map Settings","jetpack")},(0,r.createElement)(o.BaseControl,{label:__("Height in pixels","jetpack"),id:`block-jetpack-map-height-input-${d}`},(0,r.createElement)("input",{type:"number",id:`block-jetpack-map-height-input-${d}`,className:"wp-block-jetpack-map__height_input",onChange:e=>{n({mapHeight:e.target.value}),e.target!==document.activeElement&&setTimeout(p.current.sizeMap,0)},onBlur:e=>{const{mapHeight:r}=t;let a=parseInt(e.target.value,10);isNaN(a)?a=null:null==r?a=p.current.mapRef.current.offsetHeight:a<m&&(a=m),n({mapHeight:a}),setTimeout(p.current.sizeMap,0)},value:t.mapHeight||"",min:m,step:"10"})),(0,r.createElement)(o.RangeControl,{label:__("Zoom level","jetpack"),help:t.points.length>1&&__("The default zoom level cannot be changed when there are two or more markers on the map.","jetpack"),disabled:t.points.length>1,value:t.zoom,onChange:e=>{n({zoom:e}),setTimeout(p.current.updateZoom,0)},min:0,max:22}),(0,r.createElement)(o.ToggleControl,{label:__("Show street names","jetpack"),checked:t.mapDetails,onChange:e=>n({mapDetails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Scroll to zoom","jetpack"),help:__("Allow the map to capture scrolling, and zoom in or out.","jetpack"),checked:t.scrollToZoom,onChange:e=>n({scrollToZoom:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Show Fullscreen Button","jetpack"),help:__("Allow your visitors to display the map in fullscreen.","jetpack"),checked:t.showFullscreenButton,onChange:e=>n({showFullscreenButton:e})})),t.points.length?(0,r.createElement)(o.PanelBody,{title:__("Markers","jetpack"),initialOpen:!1},(0,r.createElement)(s.Z,{points:t.points,onChange:e=>{n({points:e})}})):null,(0,r.createElement)(o.PanelBody,{title:__("Mapbox Access Token","jetpack"),initialOpen:!1},(0,r.createElement)(o.TextControl,{help:"wpcom"===a.apiKeySource&&(0,r.createElement)(r.Fragment,null,__("You can optionally enter your own access token.","jetpack")," ",(0,r.createElement)(o.ExternalLink,{href:"https://account.mapbox.com/access-tokens/"},__("Find it on Mapbox","jetpack"))),label:__("Mapbox Access Token","jetpack"),value:a.apiKeyControl,onChange:e=>c({apiKeyControl:e})}),(0,r.createElement)(o.ButtonGroup,null,(0,r.createElement)(o.Button,{type:"button",onClick:f,disabled:!a.apiKeyControl||a.apiKeyControl===a.apiKey},__("Update Token","jetpack")),(0,r.createElement)(o.Button,{type:"button",onClick:h,disabled:"wpcom"===a.apiKeySource,isSecondary:!0},__("Remove Token","jetpack")))))}},86124:function(e,t,n){"use strict";var r=n(98372);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,showFullscreenButton:!0,className:t}},save:r.Z}},98372:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u}=e,p=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),d=t?`align${t}`:null;return(0,r.createElement)("div",{className:d,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null},o.length>0&&(0,r.createElement)("ul",null,p))}}t.Z=a},91576:function(e,t,n){"use strict";var r=n(51694);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,className:t}},save:r.Z}},51694:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u,showFullscreenButton:p}=e,d=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),m=t?`align${t}`:null;return(0,r.createElement)("div",{className:m,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null,"data-show-fullscreen-button":p||null},o.length>0&&(0,r.createElement)("ul",null,d))}}t.Z=a},70312:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65736),c=n(55609),u=n(52175),p=n(36710),d=n(79267),m=n(20522),h=n(17885),f=n(96406),g=n(94333),b=n(9818),v=n(98085),k=n(14499);const __=l.__,y={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};class E extends o.Component{constructor(){super(...arguments),a()(this,"geoCodeAddress",((e,t)=>{t&&(0,k.P)(e,t).then((e=>{if(e.features?.length){const t=e.features[0],n=[{title:t.text,placeTitle:t.text,caption:t.place_name,id:t.id,coordinates:{latitude:t.center[1],longitude:t.center[0]}}];this.props.setAttributes({points:n})}else this.onError(null,__("Could not find the coordinates of the provided address. Displaying default location. Feel free to add the location manually.","jetpack"))})).catch((e=>this.onError(null,e.message)))})),a()(this,"componentDidUpdate",(e=>{const t=this.props.attributes?.address,n=e.attributes?.address;t&&n!==t&&this.geoCodeAddress(t,this.state.apiKey)})),a()(this,"addPoint",(e=>{const{attributes:t,setAttributes:n}=this.props,{points:r}=t,a=r.slice(0);let o=!1;r.map((t=>{t.id===e.id&&(o=!0)})),o||(a.push(e),n({points:a}),this.setState({addPointVisibility:!1}))})),a()(this,"setPointVisibility",(()=>{this.setState({addPointVisibility:!0})})),a()(this,"updateAPIKeyControl",(e=>{this.setState({apiKeyControl:e.target.value})})),a()(this,"updateAPIKey",(()=>{const{noticeOperations:e}=this.props,{apiKeyControl:t}=this.state;e.removeAllNotices(),t&&this.apiCall(t,"POST")})),a()(this,"removeAPIKey",(()=>{this.apiCall(null,"DELETE")})),a()(this,"onError",((e,t)=>{const{noticeOperations:n}=this.props;n.removeAllNotices(),n.createErrorNotice(t)})),a()(this,"onMapResize",((e,t,n,r)=>{const{onResizeStop:a,setAttributes:o}=this.props;a();o({mapHeight:parseInt(this.mapRef.current.mapRef.current.offsetHeight+r.height,10)}),setTimeout(this.mapRef.current.sizeMap,0)})),this.state={addPointVisibility:!1,apiState:0},this.mapRef=(0,o.createRef)()}apiCall(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise(((n,r)=>{const{noticeOperations:a}=this.props,o="/wpcom/v2/service-api-keys/mapbox",i=e?{path:o,method:t,data:{service_api_key:e}}:{path:o,method:t};this.setState({apiRequestOutstanding:!0},(()=>{s()(i).then((e=>{let{service_api_key:t,service_api_key_source:r}=e;a.removeAllNotices();const o=t?2:1,i="wpcom"===r?"":t;this.setState({apiState:o,apiKey:t,apiKeyControl:i,apiKeySource:r,apiRequestOutstanding:!1}),n()}),(e=>{let{message:t}=e;this.onError(null,t),this.setState({apiState:1,apiRequestOutstanding:!1}),r()}))}))}))}componentDidMount(){this.apiCall().then((()=>{this.props.attributes?.address&&this.geoCodeAddress(this.props.attributes?.address,this.state.apiKey)}))}render(){const{className:e,setAttributes:t,attributes:n,noticeUI:r,notices:a,isSelected:i,instanceId:s,onResizeStart:l}=this.props,{mapDetails:g,points:b,zoom:k,mapCenter:E,markerColor:w,preview:_,mapHeight:C,showFullscreenButton:j}=n,{addPointVisibility:S,apiKey:x,apiKeyControl:T,apiState:P,apiRequestOutstanding:N}=this.state,A=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setPointVisibility:this.setPointVisibility,context:"toolbar",mapRef:this.mapRef})),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setState:this.setState,mapRef:this.mapRef,instanceId:s,minHeight:400,removeAPIKey:this.removeAPIKey,updateAPIKey:this.updateAPIKey}))),I=(0,o.createElement)(c.Placeholder,{icon:h.X.icon},(0,o.createElement)(c.Spinner,null)),B=(0,o.createElement)(o.Fragment,null,__("To use the map block, you need an Access Token.","jetpack"),(0,o.createElement)("br",null),(0,o.createElement)(c.ExternalLink,{href:"https://www.mapbox.com"},__("Create an account or log in to Mapbox.","jetpack")),(0,o.createElement)("br",null),__("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),M=(0,o.createElement)(c.Placeholder,{icon:h.X.icon,label:__("Map","jetpack"),notices:a,instructions:B},(0,o.createElement)(o.Fragment,null,(0,o.createElement)("form",null,(0,o.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:N,placeholder:__("Paste Token Here","jetpack"),value:T,onChange:this.updateAPIKeyControl}),(0,o.createElement)(c.Button,{isSecondary:!0,disabled:N||!T||T.length<1,onClick:this.updateAPIKey},__("Set Token","jetpack"))))),R=i&&b.length<=1,L=(0,v.t)(h.X.styles,n.className),Z=(0,o.createElement)(o.Fragment,null,A,(0,o.createElement)("div",{className:e},(0,o.createElement)(c.ResizableBox,{size:{height:C||"auto",width:"100%"},grid:[10,10],showHandle:i,minHeight:400,enable:y,onResizeStart:l,onResizeStop:this.onMapResize},(0,o.createElement)("div",{className:"wp-block-jetpack-map__map_wrapper"},(0,o.createElement)(d.Z,{ref:this.mapRef,scrollToZoom:R,showFullscreenButton:j,mapStyle:L||"default",mapDetails:g,mapHeight:C,points:b,zoom:k,mapCenter:E,markerColor:w,onSetZoom:e=>{t({zoom:e})},admin:!0,apiKey:x,onSetPoints:e=>t({points:e}),onSetMapCenter:e=>t({mapCenter:e}),onMapLoaded:()=>this.setState({addPointVisibility:!b.length}),onMarkerClick:()=>this.setState({addPointVisibility:!1}),onError:this.onError},i&&S&&(0,o.createElement)(p.Z,{onAddPoint:this.addPoint,onClose:()=>this.setState({addPointVisibility:!1}),apiKey:x,onError:this.onError,tagName:"AddPoint"})))))),F=h.X.styles.find((e=>e.name===L)),D=(0,o.createElement)("div",null,(0,o.createElement)("img",{alt:__("Map Preview","jetpack"),src:F?F.preview:f}));return(0,o.createElement)(o.Fragment,null,r,_&&D,!_&&0===P&&I,!_&&1===P&&M,!_&&2===P&&Z)}}t.Z=(0,g.compose)([c.withNotices,(0,b.withDispatch)((e=>{const{toggleSelection:t}=e("core/block-editor");return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}))])(E)},14499:function(e,t,n){"use strict";function r(e,t){return fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(e)}.json?access_token=${encodeURIComponent(t)}`).then((e=>e.json()))}n.d(t,{P:function(){return r}})},92828:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(17885),a=n(70312),o=n(18156),i=n(86124),s=n(91576),l=n(57535);const{name:c}=r.X,u={title:r.X.title,icon:{src:r.X.icon,foreground:(0,l.m)()},category:r.X.category,keywords:r.X.keywords,description:r.X.description,attributes:r.X.attributes,supports:r.X.supports,styles:r.X.styles,getEditWrapperProps(e){const{align:t}=e;if(-1!==r.X.validAlignments.indexOf(t))return{"data-align":t}},edit:a.Z,save:o.Z,example:r.X.example,deprecated:[s.Z,i.Z]}},77714:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307);class i extends o.Component{constructor(){super(...arguments),a()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,o.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}i.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=i},1595:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(95319);const c=(0,i.__)("Add a marker…","jetpack");class u extends o.Component{constructor(){super(...arguments),a()(this,"getOptionCompletion",(e=>{const{value:t}=e,n={placeTitle:t.text,title:t.text,caption:t.place_name,id:t.id,coordinates:{longitude:t.geometry.coordinates[0],latitude:t.geometry.coordinates[1]}};return this.props.onAddPoint(n),t.text})),a()(this,"search",(e=>{const{apiKey:t,onError:n}=this.props,r="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(e)+".json?access_token="+t;return new Promise((function(e,t){const a=new XMLHttpRequest;a.open("GET",r),a.onload=function(){if(200===a.status){const t=JSON.parse(a.responseText);e(t.features)}else{const e=JSON.parse(a.responseText);n(e.statusText,e.responseJSON.message),t(new Error("Mapbox Places Error"))}},a.send()}))})),a()(this,"onReset",(()=>{this.textRef.current.value=null})),this.textRef=(0,o.createRef)(),this.containerRef=(0,o.createRef)(),this.state={isEmpty:!0},this.autocompleter={name:"placeSearch",options:this.search,isDebounced:!0,getOptionLabel:e=>(0,o.createElement)("span",null,e.place_name),getOptionKeywords:e=>[e.place_name],getOptionCompletion:this.getOptionCompletion}}componentDidMount(){setTimeout((()=>{this.containerRef.current.querySelector("input").focus()}),50)}render(){const{label:e}=this.props;return(0,o.createElement)("div",{ref:this.containerRef},(0,o.createElement)(s.BaseControl,{label:e,className:"components-location-search"},(0,o.createElement)(l.Z,{completer:this.autocompleter,onReset:this.onReset},(e=>{let{isExpanded:t,listBoxId:n,activeId:r,onChange:a,onKeyDown:i}=e;return(0,o.createElement)(s.TextControl,{placeholder:c,ref:this.textRef,onChange:a,"aria-expanded":t,"aria-owns":n,"aria-activedescendant":r,onKeyDown:i})}))))}}u.defaultProps={onError:()=>{}},t.Z=u},41626:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(55609);class s extends o.Component{constructor(){super(...arguments),a()(this,"onDeletePoint",(e=>{const t=parseInt(e.target.getAttribute("data-id")),{points:n,onChange:r}=this.props,a=n.slice(0);a.splice(t,1),r(a)})),this.state={selectedCell:null}}setMarkerField(e,t,n){const{points:r,onChange:a}=this.props,o=r.slice(0);o[n][e]=t,a(o)}render(){const{points:e}=this.props,t=e.map(((e,t)=>(0,o.createElement)(i.PanelBody,{title:e.placeTitle,key:e.id,initialOpen:!1},(0,o.createElement)(i.TextControl,{label:"Marker Title",value:e.title,onChange:e=>this.setMarkerField("title",e,t)}),(0,o.createElement)(i.TextareaControl,{label:"Marker Caption",value:e.caption,rows:"3",onChange:e=>this.setMarkerField("caption",e,t)}),(0,o.createElement)(i.Button,{"data-id":t,onClick:this.onDeletePoint,className:"component__locations__delete-btn"},(0,o.createElement)(i.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))));return(0,o.createElement)("div",{className:"component__locations"},(0,o.createElement)(i.Panel,{className:"component__locations__panel"},t))}}s.defaultProps={points:Object.freeze([]),onChange:()=>{}},t.Z=s},95319:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(55609),u=n(92819),p=n(39630),d=n(94333);const __=l.__,_n=l._n;function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;const n=[];for(let r=0;r<e.length;r++){const a=e[r];let{keywords:o=[]}=a;if("string"==typeof a.label&&(o=[...o,a.label]),n.push(a),n.length===t)break}return n}class h extends o.Component{static getInitialState(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}constructor(){super(...arguments),a()(this,"select",(e=>{const{completer:t}=this.props;(t.getOptionCompletion||{})(e),this.reset()})),a()(this,"reset",(()=>{this.setState(this.constructor.getInitialState())})),a()(this,"onChange",(e=>{const{completer:t}=this.props,{options:n}=this.state;if(!e)return void this.reset();t&&(t.isDebounced?this.debouncedLoadOptions(t,e):this.loadOptions(t,e));const r=t?m(n):[];t&&this.setState({selectedIndex:0,filteredOptions:r,query:e})})),a()(this,"onKeyDown",(e=>{const{isOpen:t,selectedIndex:n,filteredOptions:r}=this.state;if(!t)return;let a;switch(e.keyCode){case p.UP:a=(0===n?r.length:n)-1,this.setState({selectedIndex:a});break;case p.DOWN:a=(n+1)%r.length,this.setState({selectedIndex:a});break;case p.ENTER:this.select(r[n]);break;case p.LEFT:case p.RIGHT:case p.ESCAPE:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()})),this.debouncedLoadOptions=(0,u.debounce)(this.loadOptions,250),this.state=this.constructor.getInitialState()}componentWillUnmount(){this.debouncedLoadOptions.cancel()}handleFocusOutside(){this.reset()}loadOptions(e,t){const{options:n}=e,r=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then((t=>{if(r!==this.activePromise)return;const n=t.map(((t,n)=>({key:`${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}))),a=m(n),o=a.length===this.state.filteredOptions.length?this.state.selectedIndex:0;this.setState({options:n,filteredOptions:a,selectedIndex:o,isOpen:a.length>0}),this.announce(a)}))}announce(e){const{debouncedSpeak:t}=this.props;t&&(e.length?t((0,l.sprintf)(
+_n("There is currently only %s post in your Instagram account.","There are currently only %s posts in your Instagram account.",t,"jetpack"),t):__("There are currently no posts in your Instagram account.","jetpack");return(0,r.createElement)("div",{className:"wp-block-jetpack-instagram-gallery__count-notice"},(0,r.createElement)(a.Notice,{isDismissible:!1,status:"info"},e))})():null,(0,r.createElement)(a.RangeControl,{label:__("Number of Posts","jetpack"),value:m,onChange:e=>u({count:e}),min:1,max:i.u}),(0,r.createElement)(a.RangeControl,{label:__("Number of Columns","jetpack"),value:d,onChange:e=>u({columns:e}),min:1,max:6}),(0,r.createElement)(a.RangeControl,{label:__("Image Spacing (px)","jetpack"),value:g,onChange:e=>u({spacing:e}),min:0,max:50}),(0,r.createElement)(a.ToggleControl,{label:__("Stack on mobile","jetpack"),checked:f,onChange:()=>u({isStackedOnMobile:!f})})))}},36420:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(8979),p=n(696),d=n(4554),m=n(79236),h=n(2681),f=n(75412),g=n(44961),b=n(35089),v=n(64129);const __=c.__;t.Z=(0,l.withNotices)((e=>{const{attributes:t,className:n,isSelected:a,noticeOperations:c,noticeUI:k,setAttributes:y}=e,{accessToken:E,align:w,columns:_,count:C,isStackedOnMobile:S,spacing:j}=t;(0,r.useEffect)((()=>{const e=(0,d.S)(u.Z,t);(0,i.isEqual)(e,t)||y(e)}),[t,y]);const[x,P]=(0,r.useState)(E),{isRequestingWpcomConnectUrl:T,wpcomConnectUrl:N}=(0,h.Z)(),{images:A,isLoadingGallery:I,setImages:B}=(0,f.Z)({accessToken:E,noticeOperations:c,setAttributes:y,setSelectedAccount:P}),{connectToService:M,disconnectFromService:R,isConnecting:L,isRequestingUserConnections:Z,userConnections:D}=(0,m.Z)({accessToken:E,noticeOperations:c,selectedAccount:x,setAttributes:y,setImages:B,setSelectedAccount:P}),F=(0,b.Z)(),z=C>A.length?A.length:C,O=!I&&(!E||(0,i.isEmpty)(A)),U=!O,$=E&&I&&(0,i.isEmpty)(A),H=!O&&!$,V=o()(n,{[`align${w}`]:w}),G=o()("wp-block-jetpack-instagram-gallery__grid",`wp-block-jetpack-instagram-gallery__grid-columns-${_}`,{"is-stacked-on-mobile":S}),q={gridGap:j,"--latest-instagram-posts-spacing":j?`${j}px`:void 0},W={padding:j},K=()=>{x&&p.D!==x?y({accessToken:x,instagramUser:(0,i.find)(D,{token:x}).username}):M()};return(0,r.createElement)("div",{className:V},O&&(0,r.createElement)(l.Placeholder,{icon:"instagram",instructions:F?Z||D.length?void 0:__("Connect to Instagram to start sharing your images.","jetpack"):__("First, you'll need to connect your WordPress.com account.","jetpack"),label:__("Latest Instagram Posts","jetpack"),notices:k},F?(()=>{const e=D.length>0,t=[...(0,i.map)(D,(e=>({label:`@${e.username}`,value:e.token}))),{label:__("Add a new account","jetpack"),value:p.D}],n=L||Z||e&&!x;return(0,r.createElement)("div",null,e&&(0,r.createElement)(l.RadioControl,{label:__("Select your Instagram account:","jetpack"),onChange:e=>P(e),options:t,selected:x}),p.D===x&&(0,r.createElement)("p",{className:"wp-block-jetpack-instagram-gallery__new-account-instructions"},__("If you are currently logged in to Instagram on this device, you might need to log out of it first.","jetpack")),(0,r.createElement)(l.Button,{disabled:n,variant:"primary",onClick:K},L&&__("Connecting…","jetpack"),Z&&__("Loading your connections…","jetpack"),!L&&!Z&&__("Connect to Instagram","jetpack")))})():(0,r.createElement)(l.Button,{disabled:T||!N,href:N,variant:"secondary"},__("Connect to WordPress.com","jetpack"))),$&&(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(l.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack"))),H&&(0,r.createElement)("div",{className:G,style:q},(0,i.times)(a?C:z,(e=>(0,r.createElement)("span",{className:o()("wp-block-jetpack-instagram-gallery__grid-post"),key:e,style:W},(e=>{if(A[e]){const n=A[e];return(0,r.createElement)(g.Z,{alt:n.title||n.url,src:n.url,attributes:t,spacing:j})}return(0,r.createElement)("img",{alt:__("Latest Instagram Posts placeholder","jetpack"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNMyc2tBwAEOgG/c94mJwAAAABJRU5ErkJggg=="})})(e))))),U&&(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(v.Z,{accountImageTotal:A.length,attributes:t,currentUserConnected:F,disconnectFromService:R,shouldRenderSidebarNotice:U&&!$&&A.length<C,setAttributes:y})))}))},44961:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{src:t,alt:n,spacing:a}=e;const[i,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)("auto"),u=(0,r.useRef)(),p=()=>{s(!0),c("auto")};(0,r.useEffect)((()=>{const e=t;if(e){const t=new window.Image;t.src=e,t.onload=p}u.current&&c(u.current.parentNode.getBoundingClientRect().width)}),[t]);const d=-1*a,m=o()("wp-block-jetpack-instagram-gallery__placeholder",{"is-loaded":i}),h=i?{margin:d}:{margin:d,height:l},f=o()({"is-loaded":i});return(0,r.createElement)("span",{style:h,className:m},(0,r.createElement)("img",{alt:n,className:f,ref:u,src:t}))}},78544:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(4981),i=n(8979),s=n(36420),l=n(70355);const __=a.__,_x=a._x,c="instagram-gallery",u={title:__("Latest Instagram Posts","jetpack"),description:__("Display an automatically updating list of the latest posts from your Instagram feed.","jetpack"),icon:{src:"instagram",foreground:(0,l.m)()},category:"embed",keywords:[_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack")],supports:{align:!0,html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"wpcom_instagram_widget"===t},transform:e=>{let{instance:t}=e;return(0,o.createBlock)("jetpack/instagram-gallery",{columns:t.raw.columns,count:t.raw.count,accessToken:t.raw.token_id})}}]},attributes:i.Z,edit:s.Z,save:e=>{let{attributes:{instagramUser:t}}=e;return t&&(0,r.createElement)("div",null,(0,r.createElement)("a",{href:`https://www.instagram.com/${t}/`,rel:"noopener noreferrer",target:"_blank"},`https://www.instagram.com/${t}/`))}}},79236:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7211),a=n(92819),o=n(86989),i=n.n(o),s=n(69307),l=n(65736),c=n(696),u=n(35089);const __=l.__;function p(e){let{accessToken:t,noticeOperations:n,selectedAccount:o,setAttributes:l,setImages:p,setSelectedAccount:d}=e;const[m,h]=(0,s.useState)(!1),[f,g]=(0,s.useState)(!1),[b,v]=(0,s.useState)([]),k=(0,u.Z)();(0,s.useEffect)((()=>{!t&&k&&(g(!0),i()({path:"/wpcom/v2/instagram-gallery/connections"}).then((e=>{g(!1),v(e)})).catch((()=>{g(!1),v([])})))}),[t,k]),(0,s.useEffect)((()=>{c.D===o||(0,a.find)(b,{token:o})||d(void 0)}),[o,d,b]);return{connectToService:()=>{n.removeAllNotices(),h(!0),i()({path:"/wpcom/v2/instagram-gallery/connect-url"}).then((e=>{const t=new r.Z;t.open(e,"connect-to-instagram-popup","toolbar=0,location=0,menubar=0,"+t.getScreenCenterSpecs(700,700)),t.on("message",(e=>{let{keyring_id:t}=e;if(h(!1),t){const e=t.toString();l({accessToken:e}),d(e)}})),t.on("close",(e=>{"connect-to-instagram-popup"===e&&h(!1)}))})).catch((()=>{n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),h(!1)}))},disconnectFromService:()=>{n.removeAllNotices(),l({accessToken:void 0,instagramUser:void 0}),p([])},isConnecting:m,isRequestingUserConnections:f,userConnections:b}}},2681:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(86989),a=n.n(r),o=n(9818),i=n(69307),s=n(96483),l=n(35089);function c(){const{isAutoDraft:e}=(0,o.useSelect)((e=>{const{status:t}=e("core/editor").getCurrentPost();return{isAutoDraft:"auto-draft"===t}})),{savePost:t}=(0,o.useDispatch)("core/editor"),[n,r]=(0,i.useState)(),[c,u]=(0,i.useState)(!1),p=(0,l.Z)();return(0,i.useEffect)((()=>{p||n||c||(e?t():(u(!0),a()({path:(0,s.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((e=>{r(e),u(!1)}))))}),[p,e,c,t,n]),{isRequestingWpcomConnectUrl:c,wpcomConnectUrl:n}}},75412:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(696);const __=s.__;function u(e){let{accessToken:t,noticeOperations:n,setAttributes:a,setSelectedAccount:s}=e;const[u,p]=(0,i.useState)([]),[d,m]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{t&&(n.removeAllNotices(),m(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/instagram-gallery/gallery",{access_token:t,count:c.u})}).then((e=>{let{external_name:t,images:o}=e;if(m(!1),!o||!(0,r.isArray)(o))return n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),p([]),a({accessToken:void 0,instagramUser:void 0}),void s(void 0);(0,r.isEmpty)(o)&&n.createErrorNotice(__("No images were found in your Instagram account.","jetpack")),a({instagramUser:t}),p(o)})).catch((()=>{m(!1),p([]),a({accessToken:void 0,instagramUser:void 0}),s(void 0)})))}),[t,a,s]),{images:u,isLoadingGallery:d,setImages:p}}},64007:function(e,t,n){"use strict";n.d(t,{X:function(){return o},u:function(){return a}});var r=n(28495);const a="likes",o={render:r.Z}},28495:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(12238),l=n(9818),c=n(8264);const __=a.__,u=(0,l.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{areLikesEnabled:t("jetpack_likes_enabled")}})),p=(0,l.withDispatch)((e=>{const{editPost:t}=e("core/editor");return{editPost:t}}));t.Z=(0,i.compose)([u,p])((e=>{let{areLikesEnabled:t,editPost:n}=e;return(0,r.createElement)(s.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},(0,r.createElement)(c.Z,null,(0,r.createElement)(o.CheckboxControl,{label:__("Show likes.","jetpack"),checked:t,onChange:e=>{n({jetpack_likes_enabled:e})}})))}))},64968:function(e,t,n){"use strict";n.d(t,{Cw:function(){return o},N3:function(){return r},sf:function(){return a}});const r="processing",a="success",o="error"},84038:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(24535),s=n(64968);const __=a.__;function l(e){let{auditionNotification:t,clearAudition:n,setAttributes:a,emailPlaceholder:l,processingLabel:c,successLabel:u,errorLabel:p,interests:d,signupFieldTag:m,signupFieldValue:h,connectURL:f}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Text Elements","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Email Placeholder","jetpack"),value:l,onChange:e=>{a({emailPlaceholder:e}),n()}})),(0,r.createElement)(o.PanelBody,{title:__("Notifications","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Processing text","jetpack"),value:c,onChange:e=>{a({processingLabel:e}),t(s.N3)}}),(0,r.createElement)(o.TextControl,{label:__("Success text","jetpack"),value:u,onChange:e=>{a({successLabel:e}),t(s.sf)}}),(0,r.createElement)(o.TextControl,{label:__("Error text","jetpack"),value:p,onChange:e=>{a({errorLabel:e}),t(s.Cw)}})),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Groups","jetpack")},(0,r.createElement)(i.Z,{interests:d,onChange:(e,t)=>{const n=[...new Set([...d,e])].filter((n=>!(n===e&&!t)&&n));a({interests:n})}}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},__("Learn about groups","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Signup Location Tracking","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Signup Field Tag","jetpack"),placeholder:__("SIGNUP","jetpack"),value:m,onChange:e=>a({signupFieldTag:e})}),(0,r.createElement)(o.TextControl,{label:__("Signup Field Value","jetpack"),placeholder:__("website","jetpack"),value:h,onChange:e=>a({signupFieldValue:e})}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},__("Learn about signup location tracking","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Connection","jetpack")},(0,r.createElement)(o.ExternalLink,{href:f},__("Manage Connection","jetpack"))))}},748:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=["submitButtonText","backgroundButtonColor","textButtonColor","submitButtonClasses","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},submitButtonText:{type:"string",default:__("Join my email list","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},submitButtonClasses:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},migrate:e=>{const t=(0,r.omit)(e,i),n={text:(o=e).submitButtonText||__("Join my email list","jetpack"),textColor:o.textButtonColor,customTextColor:o.customTextButtonColor,backgroundColor:o.backgroundButtonColor,customBackgroundColor:o.customBackgroundButtonColor};var o;return[t,[(0,a.createBlock)("jetpack/button",{element:"button",uniqueId:"mailchimp-widget-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,i),Boolean),save:()=>null}},43818:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65235),c=n.n(l),u=n(65736),p=n(96483),d=n(55609),m=n(52175),h=n(4495),f=n(84038),g=n(35089),b=n(64968);const __=u.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e=(0,g.Z)();if(e){const t={path:"/wpcom/v2/mailchimp",method:"GET"};s()(t).then((t=>{const n=t.connect_url,r="connected"===t.code?1:2;this.setState({currentUserConnected:e,connected:r,connectURL:n})}),(t=>{this.setState({currentUserConnected:e,connected:2,connectURL:null}),this.onError(t.message)}))}else s()({path:(0,p.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((t=>{const n=t;this.setState({currentUserConnected:e,connected:2,connectURL:n})}))})),a()(this,"auditionNotification",(e=>{this.setState({audition:e}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.clearAudition,3e3)})),a()(this,"clearAudition",(()=>{this.setState({audition:null})})),a()(this,"labelForAuditionType",(e=>{const{attributes:t}=this.props,{processingLabel:n,successLabel:r,errorLabel:a}=t;return e===b.N3?n:e===b.sf?r:e===b.Cw?a:null})),a()(this,"roleForAuditionType",(e=>e===b.Cw?"alert":"status")),a()(this,"render",(()=>{const{attributes:e,className:t,notices:n,noticeUI:r,setAttributes:a}=this.props,{audition:i,connected:s,connectURL:l,currentUserConnected:u}=this.state,{emailPlaceholder:p,consentText:g,interests:b,processingLabel:v,successLabel:k,errorLabel:y,preview:E,signupFieldTag:w,signupFieldValue:_}=e,C="wp-block-jetpack-mailchimp",S=(0,o.createElement)(d.Placeholder,{icon:h.qv,notices:n},(0,o.createElement)(d.Spinner,null)),j=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("You need to connect your Mailchimp account and choose an audience in order to start collecting Email subscribers.","jetpack")},(0,o.createElement)(d.Button,{variant:"secondary",href:l,target:"_blank"},__("Set up Mailchimp form","jetpack")),(0,o.createElement)("div",{className:`${C}-recheck`},(0,o.createElement)(d.Button,{variant:"link",onClick:this.apiCall},__("Re-check Connection","jetpack")))),x=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("First, you'll need to connect your WordPress.com account.","jetpack")},(0,o.createElement)(d.Button,{variant:"secondary",href:l},__("Connect to WordPress.com","jetpack"))),P=(0,o.createElement)(m.InspectorControls,null,(0,o.createElement)(f.Q,{auditionNotification:this.auditionNotification,clearAudition:this.clearAudition,emailPlaceholder:p,processingLabel:v,successLabel:k,errorLabel:y,interests:b,setAttributes:this.props.setAttributes,signupFieldTag:w,signupFieldValue:_,connectURL:l})),T=c()(t,{[`${C}_notication-audition`]:i}),N=(0,o.createElement)("div",{className:T},(0,o.createElement)(d.TextControl,{"aria-label":p,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:()=>!1,placeholder:p,title:__("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),(0,o.createElement)(m.InnerBlocks,{template:[[h.Ss.name,h.Ss.attributes]],templateLock:"all"}),(0,o.createElement)(m.RichText,{tagName:"p",placeholder:__("Write consent text","jetpack"),value:g,onChange:e=>a({consentText:e}),inlineToolbar:!0}),i&&(0,o.createElement)("div",{className:`${C}_notification ${C}_${i}`,role:this.roleForAuditionType(i)},this.labelForAuditionType(i))),A=N;return(0,o.createElement)(o.Fragment,null,r,E&&A,!E&&0===s&&S,!E&&2===s&&u&&j,!E&&2===s&&!u&&x,!E&&1===s&&P,!E&&1===s&&N)})),this.state={audition:null,connected:0,connectURL:null,currentUserConnected:null},this.timeout=null}}t.Z=(0,d.withNotices)(v)},4495:function(e,t,n){"use strict";n.d(t,{Ss:function(){return d},Xd:function(){return m},qv:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(748),l=n(43818),c=n(70355);const __=a.__,_x=a._x,u="mailchimp",p=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(i.G,{transform:"translate(-45.478101,-100.73059)"},(0,r.createElement)(i.G,{transform:"matrix(0.26458333,0,0,0.26458333,15.6741,59.72)"},(0,r.createElement)(i.Path,{d:"m 176.433,197.529 c 0.657,-0.078 1.286,-0.082 1.865,0 0.335,-0.768 0.392,-2.091 0.091,-3.532 -0.447,-2.142 -1.053,-3.438 -2.305,-3.236 -1.252,0.202 -1.298,1.754 -0.85,3.895 0.252,1.205 0.7,2.235 1.199,2.873"}),(0,r.createElement)(i.Path,{d:"m 165.688,199.224 c 0.895,0.393 1.446,0.654 1.661,0.426 0.139,-0.142 0.097,-0.413 -0.117,-0.762 -0.442,-0.721 -1.351,-1.453 -2.316,-1.864 -1.972,-0.849 -4.325,-0.567 -6.14,0.737 -0.599,0.439 -1.167,1.047 -1.086,1.416 0.026,0.119 0.116,0.209 0.326,0.239 0.494,0.056 2.22,-0.816 4.209,-0.938 1.403,-0.086 2.566,0.353 3.462,0.746"}),(0,r.createElement)(i.Path,{d:"m 163.887,200.252 c -1.167,0.184 -1.81,0.569 -2.223,0.926 -0.352,0.308 -0.57,0.649 -0.568,0.888 0.001,0.114 0.05,0.18 0.089,0.213 0.053,0.047 0.116,0.073 0.192,0.073 0.263,0 0.854,-0.237 0.854,-0.237 1.623,-0.581 2.694,-0.51 3.755,-0.39 0.586,0.066 0.864,0.102 0.992,-0.099 0.038,-0.058 0.084,-0.183 -0.033,-0.373 -0.273,-0.443 -1.451,-1.192 -3.057,-1.001"}),(0,r.createElement)(i.Path,{d:"m 172.805,204.025 c 0.792,0.389 1.664,0.236 1.948,-0.341 0.284,-0.577 -0.128,-1.361 -0.92,-1.75 -0.792,-0.389 -1.664,-0.236 -1.948,0.341 -0.284,0.578 0.128,1.361 0.92,1.75"}),(0,r.createElement)(i.Path,{d:"m 177.896,199.576 c -0.643,-0.011 -1.177,0.695 -1.192,1.578 -0.015,0.883 0.495,1.606 1.138,1.617 0.643,0.011 1.177,-0.695 1.192,-1.578 0.015,-0.882 -0.495,-1.606 -1.138,-1.617"}),(0,r.createElement)(i.Path,{d:"m 134.683,215.485 c -0.16,-0.201 -0.423,-0.14 -0.678,-0.08 -0.178,0.042 -0.379,0.088 -0.6,0.085 -0.473,-0.009 -0.874,-0.211 -1.099,-0.557 -0.293,-0.45 -0.276,-1.121 0.047,-1.889 l 0.151,-0.344 c 0.516,-1.158 1.379,-3.095 0.41,-4.941 -0.73,-1.39 -1.92,-2.255 -3.351,-2.437 -1.374,-0.174 -2.788,0.335 -3.69,1.33 -1.423,1.57 -1.646,3.707 -1.371,4.462 0.101,0.276 0.259,0.353 0.373,0.369 0.242,0.032 0.6,-0.144 0.824,-0.747 l 0.064,-0.196 c 0.1,-0.319 0.286,-0.913 0.591,-1.389 0.368,-0.574 0.94,-0.969 1.612,-1.114 0.684,-0.147 1.384,-0.016 1.97,0.368 0.997,0.652 1.381,1.874 0.955,3.039 -0.22,0.603 -0.578,1.756 -0.499,2.703 0.16,1.917 1.339,2.687 2.398,2.769 1.03,0.039 1.75,-0.54 1.932,-0.962 0.107,-0.25 0.017,-0.402 -0.042,-0.467"}),(0,r.createElement)(i.Path,{d:"m 144.475,180.275 c 3.36,-3.882 7.495,-7.257 11.2,-9.152 0.128,-0.066 0.264,0.073 0.195,0.199 -0.294,0.533 -0.861,1.674 -1.04,2.539 -0.028,0.135 0.119,0.236 0.233,0.159 2.305,-1.571 6.314,-3.255 9.831,-3.471 0.151,-0.009 0.224,0.184 0.104,0.277 -0.535,0.41 -1.12,0.978 -1.547,1.552 -0.073,0.098 -0.004,0.238 0.118,0.239 2.469,0.018 5.95,0.882 8.219,2.155 0.153,0.086 0.044,0.383 -0.128,0.344 -3.433,-0.787 -9.052,-1.384 -14.89,0.04 -5.211,1.271 -9.189,3.234 -12.09,5.344 -0.147,0.107 -0.323,-0.087 -0.204,-0.224 z m 16.732,37.612 0.001,0.002 0.002,0.004 z m 13.854,1.635 c 0.1,-0.042 0.168,-0.155 0.157,-0.268 -0.014,-0.139 -0.138,-0.24 -0.277,-0.226 0,0 -7.169,1.061 -13.942,-1.418 0.738,-2.398 2.699,-1.532 5.664,-1.293 5.344,0.319 10.134,-0.462 13.674,-1.478 3.067,-0.88 7.096,-2.616 10.225,-5.086 1.055,2.318 1.428,4.87 1.428,4.87 0,0 0.817,-0.146 1.5,0.274 0.645,0.397 1.118,1.222 0.795,3.356 -0.658,3.986 -2.352,7.222 -5.2,10.199 -1.734,1.866 -3.838,3.488 -6.246,4.668 -1.279,0.672 -2.64,1.253 -4.079,1.722 -10.736,3.507 -21.726,-0.348 -25.268,-8.626 -0.283,-0.622 -0.522,-1.274 -0.71,-1.955 -1.509,-5.455 -0.228,-12 3.778,-16.12 v -0.002 c 0.247,-0.262 0.499,-0.571 0.499,-0.96 0,-0.325 -0.207,-0.668 -0.386,-0.912 -1.402,-2.033 -6.257,-5.497 -5.282,-12.201 0.7,-4.816 4.912,-8.208 8.839,-8.007 l 0.995,0.057 c 1.702,0.101 3.186,0.319 4.587,0.378 2.345,0.102 4.453,-0.239 6.951,-2.32 0.842,-0.702 1.518,-1.311 2.661,-1.504 0.12,-0.021 0.419,-0.128 1.016,-0.1 0.61,0.033 1.19,0.2 1.711,0.547 2.002,1.332 2.286,4.559 2.39,6.919 0.059,1.347 0.222,4.607 0.278,5.543 0.127,2.14 0.69,2.441 1.828,2.816 0.64,0.211 1.234,0.368 2.11,0.614 2.65,0.744 4.221,1.499 5.212,2.469 0.591,0.606 0.866,1.25 0.951,1.864 0.312,2.28 -1.77,5.096 -7.283,7.655 -6.026,2.797 -13.337,3.505 -18.388,2.942 l -1.77,-0.2 c -4.04,-0.544 -6.345,4.677 -3.92,8.255 1.563,2.306 5.82,3.806 10.079,3.807 9.765,0.001 17.271,-4.169 20.063,-7.77 l 0.223,-0.318 c 0.138,-0.207 0.024,-0.321 -0.147,-0.204 -2.281,1.561 -12.413,7.758 -23.251,5.893 0,0 -1.317,-0.217 -2.519,-0.684 -0.955,-0.372 -2.955,-1.292 -3.198,-3.343 8.746,2.705 14.253,0.148 14.253,0.148 z m -48.039,-20.785 c -3.042,0.591 -5.723,2.315 -7.362,4.697 -0.98,-0.817 -2.805,-2.399 -3.128,-3.016 -2.617,-4.97 2.856,-14.632 6.68,-20.089 9.45,-13.485 24.25,-23.692 31.101,-21.84 1.114,0.315 4.803,4.592 4.803,4.592 0,0 -6.849,3.8 -13.2,9.097 -8.558,6.589 -15.022,16.166 -18.895,26.559 z m 5.111,22.805 c -0.46,0.079 -0.93,0.11 -1.404,0.098 -4.577,-0.123 -9.52,-4.243 -10.011,-9.129 -0.543,-5.401 2.217,-9.557 7.103,-10.543 0.584,-0.118 1.29,-0.186 2.051,-0.146 2.738,0.15 6.772,2.252 7.693,8.216 0.816,5.282 -0.48,10.659 -5.432,11.503 z m 61.996,-9.564 c -0.039,-0.139 -0.295,-1.072 -0.646,-2.197 -0.351,-1.126 -0.714,-1.917 -0.714,-1.917 1.408,-2.107 1.433,-3.992 1.245,-5.059 -0.2,-1.323 -0.751,-2.45 -1.861,-3.616 -1.11,-1.165 -3.381,-2.359 -6.572,-3.255 l -1.674,-0.465 c -0.008,-0.069 -0.088,-3.947 -0.16,-5.612 -0.053,-1.204 -0.156,-3.083 -0.739,-4.933 -0.695,-2.505 -1.905,-4.697 -3.416,-6.099 4.17,-4.322 6.773,-9.084 6.766,-13.168 -0.012,-7.855 -9.659,-10.232 -21.548,-5.309 l -2.519,1.069 c -0.011,-0.011 -4.554,-4.468 -4.622,-4.528 -13.555,-11.823 -55.935,35.284 -42.386,46.725 l 2.961,2.509 c -0.768,1.99 -1.07,4.27 -0.823,6.721 0.316,3.149 1.94,6.167 4.573,8.499 2.499,2.214 5.785,3.616 8.973,3.613 5.273,12.151 17.321,19.605 31.447,20.025 15.153,0.45 27.873,-6.66 33.203,-19.432 0.349,-0.896 1.828,-4.935 1.828,-8.501 0,-3.583 -2.026,-5.068 -3.316,-5.068"})))),d={name:"jetpack/button",attributes:{element:"button",text:__("Join my Mailchimp audience","jetpack"),uniqueId:"mailchimp-widget-id"}},m={title:__("Mailchimp","jetpack"),icon:{src:p,foreground:(0,c.m)()},description:__("A form enabling readers to join a Mailchimp audience.","jetpack"),category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack")],supports:{align:["wide","full"],color:{gradients:!0},spacing:{padding:!0,margin:!0}},attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:l.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null),example:{attributes:{preview:!0},innerBlocks:[d]},deprecated:[s.Z]}},24535:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(55609);class c extends o.Component{constructor(){super(...arguments),a()(this,"state",{interest_categories:[]}),a()(this,"retrieveGroups",(()=>{s()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((e=>{const{interest_categories:t}=e;this.setState({interest_categories:t})}))})),a()(this,"render",(()=>{const{interest_categories:e}=this.state,{interests:t,onChange:n}=this.props;return(0,o.createElement)(o.Fragment,null,e&&(e||[]).map((e=>e.interests.map((e=>(0,o.createElement)(l.CheckboxControl,{label:e.name,value:e.id,checked:t.includes(e.id),onChange:t=>n(e.id,t),key:e.id}))))))}))}componentDidMount(){this.retrieveGroups()}}t.Z=c,c.defaultProps={interests:[],onChange:()=>null}},2944:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(31852);const __=a.__;class s extends r.Component{render(){const{onClose:e,onAddPoint:t,onError:n,apiKey:a}=this.props;return(0,r.createElement)(o.Button,{className:"component__add-point"},__("Add marker","jetpack"),(0,r.createElement)(o.Popover,{className:"component__add-point__popover",position:"bottom center"},(0,r.createElement)(o.Button,{className:"component__add-point__close",onClick:e},(0,r.createElement)(o.Dashicon,{icon:"no"})),(0,r.createElement)(i.Z,{onAddPoint:t,label:__("Add a location","jetpack"),apiKey:a,onError:n})))}}s.defaultProps={onAddPoint:()=>{},onClose:()=>{},onError:()=>{}},t.Z=s},93846:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(55609),c=n(9262),u=n(82621),p=n(90055),d=n(85007),m=n(45388);const __=i.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),a()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),a()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),a()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:r}=n.props,a=t.slice(0);(0,s.assign)(a[r],e),this.props.onSetPoints(a)})),a()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,r=e.slice(0);r.splice(n,1),this.props.onSetPoints(r),this.setState({activeMarker:null})})),a()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,r=Math.min(e*(3/4),t);n.style.height=r+"px"}t.resize(),this.setBoundsByMarkers()})),a()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),a()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:r,zoom:a}=this.props,{map:o,activeMarker:i,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!o)return;if(r.length&&e?o.dragPan.disable():o.dragPan.enable(),!r.length)return;if(i)return;const u=new s.LngLatBounds;if(r.forEach((e=>{u.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(u.getCenter()),r.length>1){o.fitBounds(u,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{o.removeControl(l)}catch(e){}}else{if(o.setCenter(u.getCenter()),c){const e=12;o.setZoom(e),n(e)}else o.setZoom(parseInt(a,10));o.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),a()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),a()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,o.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:r}=this.props,{map:a,activeMarker:i,mapboxgl:p}=this.state,{onMarkerClick:d,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(i,"props.point")||{},{title:g,caption:b}=f,v=o.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),k=a&&p&&e.map(((e,t)=>(0,o.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:a,mapboxgl:p,markerColor:r,onClick:d}))),y=p&&(0,o.createElement)(u.Z,{activeMarker:i,map:a,mapboxgl:p,unsetActiveMarker:()=>this.setState({activeMarker:null})},i&&t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,o.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:b,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,o.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,o.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),i&&!t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h3",null,g),(0,o.createElement)("p",null,b)));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},k),y,v)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:r,points:a,mapStyle:o,mapDetails:i,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:u}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&i===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(u),t&&u._fullscreenButton&&(u._fullscreenButton.disabled=!0)):c.removeControl(u))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,p.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,d.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,d.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,d.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:r,onError:a,scrollToZoom:o,showFullscreenButton:i,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}o||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{a("mapbox_error",e.error.message)}));const u=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:u,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(u),i&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),r(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},53036:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(57897),l=n(82695);const __=a.__;t.Z=e=>{let{attributes:t,setAttributes:n,state:a,setState:c,context:u,mapRef:p,instanceId:d,minHeight:m,removeAPIKey:h,updateAPIKey:f,setPointVisibility:g}=e;const b=e=>{n({align:e}),setTimeout(p.current.sizeMap,0)};return"toolbar"===u?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockAlignmentToolbar,{value:t.align,onChange:b,controls:["center","wide","full"]}),(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:l.X.markerIcon,label:__("Add a marker","jetpack"),onClick:g}))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.PanelColorSettings,{title:__("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:t.markerColor,onChange:e=>n({markerColor:e}),label:__("Marker Color","jetpack")}]}),(0,r.createElement)(o.PanelBody,{title:__("Map Settings","jetpack")},(0,r.createElement)(o.BaseControl,{label:__("Height in pixels","jetpack"),id:`block-jetpack-map-height-input-${d}`},(0,r.createElement)("input",{type:"number",id:`block-jetpack-map-height-input-${d}`,className:"wp-block-jetpack-map__height_input",onChange:e=>{n({mapHeight:e.target.value}),e.target!==document.activeElement&&setTimeout(p.current.sizeMap,0)},onBlur:e=>{const{mapHeight:r}=t;let a=parseInt(e.target.value,10);isNaN(a)?a=null:null==r?a=p.current.mapRef.current.offsetHeight:a<m&&(a=m),n({mapHeight:a}),setTimeout(p.current.sizeMap,0)},value:t.mapHeight||"",min:m,step:"10"})),(0,r.createElement)(o.RangeControl,{label:__("Zoom level","jetpack"),help:t.points.length>1&&__("The default zoom level cannot be changed when there are two or more markers on the map.","jetpack"),disabled:t.points.length>1,value:t.zoom,onChange:e=>{n({zoom:e}),setTimeout(p.current.updateZoom,0)},min:0,max:22}),(0,r.createElement)(o.ToggleControl,{label:__("Show street names","jetpack"),checked:t.mapDetails,onChange:e=>n({mapDetails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Scroll to zoom","jetpack"),help:__("Allow the map to capture scrolling, and zoom in or out.","jetpack"),checked:t.scrollToZoom,onChange:e=>n({scrollToZoom:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Show Fullscreen Button","jetpack"),help:__("Allow your visitors to display the map in fullscreen.","jetpack"),checked:t.showFullscreenButton,onChange:e=>n({showFullscreenButton:e})})),t.points.length?(0,r.createElement)(o.PanelBody,{title:__("Markers","jetpack"),initialOpen:!1},(0,r.createElement)(s.Z,{points:t.points,onChange:e=>{n({points:e})}})):null,(0,r.createElement)(o.PanelBody,{title:__("Mapbox Access Token","jetpack"),initialOpen:!1},(0,r.createElement)(o.TextControl,{help:"wpcom"===a.apiKeySource&&(0,r.createElement)(r.Fragment,null,__("You can optionally enter your own access token.","jetpack")," ",(0,r.createElement)(o.ExternalLink,{href:"https://account.mapbox.com/access-tokens/"},__("Find it on Mapbox","jetpack"))),label:__("Mapbox Access Token","jetpack"),value:a.apiKeyControl,onChange:e=>c({apiKeyControl:e})}),(0,r.createElement)(o.ButtonGroup,null,(0,r.createElement)(o.Button,{type:"button",onClick:f,disabled:!a.apiKeyControl||a.apiKeyControl===a.apiKey},__("Update Token","jetpack")),(0,r.createElement)(o.Button,{type:"button",onClick:h,disabled:"wpcom"===a.apiKeySource,variant:"secondary"},__("Remove Token","jetpack")))))}},55109:function(e,t,n){"use strict";var r=n(85888);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,showFullscreenButton:!0,className:t}},save:r.Z}},85888:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u}=e,p=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),d=t?`align${t}`:null;return(0,r.createElement)("div",{className:d,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null},o.length>0&&(0,r.createElement)("ul",null,p))}}t.Z=a},45051:function(e,t,n){"use strict";var r=n(95382);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,className:t}},save:r.Z}},95382:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u,showFullscreenButton:p}=e,d=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),m=t?`align${t}`:null;return(0,r.createElement)("div",{className:m,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null,"data-show-fullscreen-button":p||null},o.length>0&&(0,r.createElement)("ul",null,d))}}t.Z=a},740:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65736),c=n(55609),u=n(52175),p=n(2944),d=n(93846),m=n(53036),h=n(82695),f=n(96406),g=n(94333),b=n(9818),v=n(81518),k=n(1555);const __=l.__,y={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};class E extends o.Component{constructor(){super(...arguments),a()(this,"geoCodeAddress",((e,t)=>{t&&(0,k.P)(e,t).then((e=>{var t;if(null!==(t=e.features)&&void 0!==t&&t.length){const t=e.features[0],n=[{title:t.text,placeTitle:t.text,caption:t.place_name,id:t.id,coordinates:{latitude:t.center[1],longitude:t.center[0]}}];this.props.setAttributes({points:n})}else this.onError(null,__("Could not find the coordinates of the provided address. Displaying default location. Feel free to add the location manually.","jetpack"))})).catch((e=>this.onError(null,e.message)))})),a()(this,"componentDidUpdate",(e=>{var t,n;const r=null===(t=this.props.attributes)||void 0===t?void 0:t.address,a=null===(n=e.attributes)||void 0===n?void 0:n.address;r&&a!==r&&this.geoCodeAddress(r,this.state.apiKey)})),a()(this,"addPoint",(e=>{const{attributes:t,setAttributes:n}=this.props,{points:r}=t,a=r.slice(0);let o=!1;r.map((t=>{t.id===e.id&&(o=!0)})),o||(a.push(e),n({points:a}),this.setState({addPointVisibility:!1}))})),a()(this,"setPointVisibility",(()=>{this.setState({addPointVisibility:!0})})),a()(this,"updateAPIKeyControl",(e=>{this.setState({apiKeyControl:e.target.value})})),a()(this,"updateAPIKey",(()=>{const{noticeOperations:e}=this.props,{apiKeyControl:t}=this.state;e.removeAllNotices(),t&&this.apiCall(t,"POST")})),a()(this,"removeAPIKey",(()=>{this.apiCall(null,"DELETE")})),a()(this,"onError",((e,t)=>{const{noticeOperations:n}=this.props;n.removeAllNotices(),n.createErrorNotice(t)})),a()(this,"onMapResize",((e,t,n,r)=>{const{onResizeStop:a,setAttributes:o}=this.props;a();o({mapHeight:parseInt(this.mapRef.current.mapRef.current.offsetHeight+r.height,10)}),setTimeout(this.mapRef.current.sizeMap,0)})),this.state={addPointVisibility:!1,apiState:0},this.mapRef=(0,o.createRef)()}apiCall(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise(((n,r)=>{const{noticeOperations:a}=this.props,o="/wpcom/v2/service-api-keys/mapbox",i=e?{path:o,method:t,data:{service_api_key:e}}:{path:o,method:t};this.setState({apiRequestOutstanding:!0},(()=>{s()(i).then((e=>{let{service_api_key:t,service_api_key_source:r}=e;a.removeAllNotices();const o=t?2:1,i="wpcom"===r?"":t;this.setState({apiState:o,apiKey:t,apiKeyControl:i,apiKeySource:r,apiRequestOutstanding:!1}),n()}),(e=>{let{message:t}=e;this.onError(null,t),this.setState({apiState:1,apiRequestOutstanding:!1}),r()}))}))}))}componentDidMount(){this.apiCall().then((()=>{var e,t;null!==(e=this.props.attributes)&&void 0!==e&&e.address&&this.geoCodeAddress(null===(t=this.props.attributes)||void 0===t?void 0:t.address,this.state.apiKey)}))}render(){const{className:e,setAttributes:t,attributes:n,noticeUI:r,notices:a,isSelected:i,instanceId:s,onResizeStart:l}=this.props,{mapDetails:g,points:b,zoom:k,mapCenter:E,markerColor:w,preview:_,mapHeight:C,showFullscreenButton:S}=n,{addPointVisibility:j,apiKey:x,apiKeyControl:P,apiState:T,apiRequestOutstanding:N}=this.state,A=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setPointVisibility:this.setPointVisibility,context:"toolbar",mapRef:this.mapRef})),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setState:this.setState,mapRef:this.mapRef,instanceId:s,minHeight:400,removeAPIKey:this.removeAPIKey,updateAPIKey:this.updateAPIKey}))),I=(0,o.createElement)(c.Placeholder,{icon:h.X.icon},(0,o.createElement)(c.Spinner,null)),B=(0,o.createElement)(o.Fragment,null,__("To use the map block, you need an Access Token.","jetpack"),(0,o.createElement)("br",null),(0,o.createElement)(c.ExternalLink,{href:"https://www.mapbox.com"},__("Create an account or log in to Mapbox.","jetpack")),(0,o.createElement)("br",null),__("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),M=(0,o.createElement)(c.Placeholder,{icon:h.X.icon,label:__("Map","jetpack"),notices:a,instructions:B},(0,o.createElement)(o.Fragment,null,(0,o.createElement)("form",null,(0,o.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:N,placeholder:__("Paste Token Here","jetpack"),value:P,onChange:this.updateAPIKeyControl}),(0,o.createElement)(c.Button,{variant:"secondary",disabled:N||!P||P.length<1,onClick:this.updateAPIKey},__("Set Token","jetpack"))))),R=i&&b.length<=1,L=(0,v.t)(h.X.styles,n.className),Z=(0,o.createElement)(o.Fragment,null,A,(0,o.createElement)("div",{className:e},(0,o.createElement)(c.ResizableBox,{size:{height:C||"auto",width:"100%"},grid:[10,10],showHandle:i,minHeight:400,enable:y,onResizeStart:l,onResizeStop:this.onMapResize},(0,o.createElement)("div",{className:"wp-block-jetpack-map__map_wrapper"},(0,o.createElement)(d.Z,{ref:this.mapRef,scrollToZoom:R,showFullscreenButton:S,mapStyle:L||"default",mapDetails:g,mapHeight:C,points:b,zoom:k,mapCenter:E,markerColor:w,onSetZoom:e=>{t({zoom:e})},admin:!0,apiKey:x,onSetPoints:e=>t({points:e}),onSetMapCenter:e=>t({mapCenter:e}),onMapLoaded:()=>this.setState({addPointVisibility:!b.length}),onMarkerClick:()=>this.setState({addPointVisibility:!1}),onError:this.onError},i&&j&&(0,o.createElement)(p.Z,{onAddPoint:this.addPoint,onClose:()=>this.setState({addPointVisibility:!1}),apiKey:x,onError:this.onError,tagName:"AddPoint"})))))),D=h.X.styles.find((e=>e.name===L)),F=(0,o.createElement)("div",null,(0,o.createElement)("img",{alt:__("Map Preview","jetpack"),src:D?D.preview:f}));return(0,o.createElement)(o.Fragment,null,r,_&&F,!_&&0===T&&I,!_&&1===T&&M,!_&&2===T&&Z)}}t.Z=(0,g.compose)([c.withNotices,(0,b.withDispatch)((e=>{const{toggleSelection:t}=e("core/block-editor");return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}))])(E)},1555:function(e,t,n){"use strict";function r(e,t){return fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(e)}.json?access_token=${encodeURIComponent(t)}`).then((e=>e.json()))}n.d(t,{P:function(){return r}})},85406:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(82695),a=n(740),o=n(19496),i=n(55109),s=n(45051),l=n(70355);const{name:c}=r.X,u={title:r.X.title,icon:{src:r.X.icon,foreground:(0,l.m)()},category:r.X.category,keywords:r.X.keywords,description:r.X.description,attributes:r.X.attributes,supports:r.X.supports,styles:r.X.styles,getEditWrapperProps(e){const{align:t}=e;if(-1!==r.X.validAlignments.indexOf(t))return{"data-align":t}},edit:a.Z,save:o.Z,example:r.X.example,deprecated:[s.Z,i.Z]}},82621:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307);class i extends o.Component{constructor(){super(...arguments),a()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,o.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}i.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=i},31852:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(96881);const c=(0,i.__)("Add a marker…","jetpack");class u extends o.Component{constructor(){super(...arguments),a()(this,"getOptionCompletion",(e=>{const{value:t}=e,n={placeTitle:t.text,title:t.text,caption:t.place_name,id:t.id,coordinates:{longitude:t.geometry.coordinates[0],latitude:t.geometry.coordinates[1]}};return this.props.onAddPoint(n),t.text})),a()(this,"search",(e=>{const{apiKey:t,onError:n}=this.props,r="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(e)+".json?access_token="+t;return new Promise((function(e,t){const a=new XMLHttpRequest;a.open("GET",r),a.onload=function(){if(200===a.status){const t=JSON.parse(a.responseText);e(t.features)}else{const e=JSON.parse(a.responseText);n(e.statusText,e.responseJSON.message),t(new Error("Mapbox Places Error"))}},a.send()}))})),a()(this,"onReset",(()=>{this.textRef.current.value=null})),this.textRef=(0,o.createRef)(),this.containerRef=(0,o.createRef)(),this.state={isEmpty:!0},this.autocompleter={name:"placeSearch",options:this.search,isDebounced:!0,getOptionLabel:e=>(0,o.createElement)("span",null,e.place_name),getOptionKeywords:e=>[e.place_name],getOptionCompletion:this.getOptionCompletion}}componentDidMount(){setTimeout((()=>{this.containerRef.current.querySelector("input").focus()}),50)}render(){const{label:e}=this.props;return(0,o.createElement)("div",{ref:this.containerRef},(0,o.createElement)(s.BaseControl,{label:e,className:"components-location-search"},(0,o.createElement)(l.Z,{completer:this.autocompleter,onReset:this.onReset},(e=>{let{isExpanded:t,listBoxId:n,activeId:r,onChange:a,onKeyDown:i}=e;return(0,o.createElement)(s.TextControl,{placeholder:c,ref:this.textRef,onChange:a,"aria-expanded":t,"aria-owns":n,"aria-activedescendant":r,onKeyDown:i})}))))}}u.defaultProps={onError:()=>{}},t.Z=u},57897:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(55609);class s extends o.Component{constructor(){super(...arguments),a()(this,"onDeletePoint",(e=>{const t=parseInt(e.target.getAttribute("data-id")),{points:n,onChange:r}=this.props,a=n.slice(0);a.splice(t,1),r(a)})),this.state={selectedCell:null}}setMarkerField(e,t,n){const{points:r,onChange:a}=this.props,o=r.slice(0);o[n][e]=t,a(o)}render(){const{points:e}=this.props,t=e.map(((e,t)=>(0,o.createElement)(i.PanelBody,{title:e.placeTitle,key:e.id,initialOpen:!1},(0,o.createElement)(i.TextControl,{label:"Marker Title",value:e.title,onChange:e=>this.setMarkerField("title",e,t)}),(0,o.createElement)(i.TextareaControl,{label:"Marker Caption",value:e.caption,rows:"3",onChange:e=>this.setMarkerField("caption",e,t)}),(0,o.createElement)(i.Button,{"data-id":t,onClick:this.onDeletePoint,className:"component__locations__delete-btn"},(0,o.createElement)(i.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))));return(0,o.createElement)("div",{className:"component__locations"},(0,o.createElement)(i.Panel,{className:"component__locations__panel"},t))}}s.defaultProps={points:Object.freeze([]),onChange:()=>{}},t.Z=s},96881:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(55609),u=n(92819),p=n(39630),d=n(94333);const __=l.__,_n=l._n;function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;const n=[];for(let r=0;r<e.length;r++){const a=e[r];let{keywords:o=[]}=a;if("string"==typeof a.label&&(o=[...o,a.label]),n.push(a),n.length===t)break}return n}class h extends o.Component{static getInitialState(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}constructor(){super(...arguments),a()(this,"select",(e=>{const{completer:t}=this.props;(t.getOptionCompletion||{})(e),this.reset()})),a()(this,"reset",(()=>{this.setState(this.constructor.getInitialState())})),a()(this,"onChange",(e=>{const{completer:t}=this.props,{options:n}=this.state;if(!e)return void this.reset();t&&(t.isDebounced?this.debouncedLoadOptions(t,e):this.loadOptions(t,e));const r=t?m(n):[];t&&this.setState({selectedIndex:0,filteredOptions:r,query:e})})),a()(this,"onKeyDown",(e=>{const{isOpen:t,selectedIndex:n,filteredOptions:r}=this.state;if(!t)return;let a;switch(e.keyCode){case p.UP:a=(0===n?r.length:n)-1,this.setState({selectedIndex:a});break;case p.DOWN:a=(n+1)%r.length,this.setState({selectedIndex:a});break;case p.ENTER:this.select(r[n]);break;case p.LEFT:case p.RIGHT:case p.ESCAPE:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()})),this.debouncedLoadOptions=(0,u.debounce)(this.loadOptions,250),this.state=this.constructor.getInitialState()}componentWillUnmount(){this.debouncedLoadOptions.cancel()}handleFocusOutside(){this.reset()}loadOptions(e,t){const{options:n}=e,r=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then((t=>{if(r!==this.activePromise)return;const n=t.map(((t,n)=>({key:`${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}))),a=m(n),o=a.length===this.state.filteredOptions.length?this.state.selectedIndex:0;this.setState({options:n,filteredOptions:a,selectedIndex:o,isOpen:a.length>0}),this.announce(a)}))}announce(e){const{debouncedSpeak:t}=this.props;t&&(e.length?t((0,l.sprintf)(
/* translators: placeholder is a number. */
-_n("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(__("No results.","jetpack"),"assertive"))}render(){const{onChange:e,onKeyDown:t}=this,{children:n,instanceId:r,completer:a}=this.props,{selectedIndex:i,filteredOptions:l}=this.state,{key:p=""}=l[i]||{},{className:d}=a,m=l.length>0,h=m?`components-autocomplete-listbox-${r}`:null,f=m?`components-autocomplete-item-${r}-${p}`:null;return(0,o.createElement)("div",{className:"components-autocomplete"},n({isExpanded:m,listBoxId:h,activeId:f,onChange:e,onKeyDown:t}),m&&(0,o.createElement)(c.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},(0,o.createElement)("div",{id:h,role:"listbox",className:"components-autocomplete__results"},(0,u.map)(l,((e,t)=>(0,o.createElement)(c.Button,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===i,disabled:e.isDisabled,className:s()("components-autocomplete__result",d,{"is-selected":t===i}),onClick:()=>this.select(e)},e.label))))))}}t.Z=(0,d.compose)([c.withSpokenMessages,d.withInstanceId,c.withFocusOutside])(h)},81041:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(87929);class s extends o.Component{constructor(){super(...arguments),a()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),a()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:r,mapRef:a}=this.props,{handleClick:o}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,i.bL)(a.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+r+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},73242:function(e,t,n){"use strict";function r(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return r}})},18156:function(e,t,n){"use strict";var r=n(69307),a=n(17885),o=n(98085);class i extends r.Component{render(){const{attributes:e}=this.props,{align:t,className:n,mapDetails:i,points:s,zoom:l,mapCenter:c,markerColor:u,scrollToZoom:p,mapHeight:d,showFullscreenButton:m}=e,h=(0,o.t)(a.X.styles,n),f=s.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),g=t?`align${t}`:null;return(0,r.createElement)("div",{className:g,"data-map-style":h,"data-map-details":i,"data-points":JSON.stringify(s),"data-zoom":l,"data-map-center":JSON.stringify(c),"data-marker-color":u,"data-scroll-to-zoom":p||null,"data-map-height":d||null,"data-show-fullscreen-button":m||null},s.length>0&&(0,r.createElement)("ul",null,f))}}t.Z=i},17885:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(69307),a=n(65736),o=n(56932),i=n(45107),s=n(65765),l=n(34140);const __=a.__,_x=a._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:o,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:i},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},81092:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(52175),u=n(94333),p=n(9818),d=n(4822);const __=l.__,m="editor",h="preview";class f extends o.Component{constructor(){super(...arguments),a()(this,"input",null),a()(this,"state",{activePanel:m}),a()(this,"bindInput",(e=>{this.input=e})),a()(this,"updateSource",(e=>this.props.setAttributes({source:e}))),a()(this,"handleKeyDown",(e=>{const{attributes:t,removeBlock:n}=this.props,{source:r}=t;8===e.keyCode&&""===r&&(n(),e.preventDefault())})),a()(this,"toggleMode",(e=>()=>this.setState({activePanel:e})))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===h&&this.toggleMode(m)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===m&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:n}=this.state,{className:r}=this.props,a=s()(r,"components-button components-tab-button",{"is-pressed":n===e});return(0,o.createElement)("button",{className:a,onClick:this.toggleMode(e)},(0,o.createElement)("span",null,t))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{source:r}=e,{activePanel:a}=this.state;return!n&&this.isEmpty()?(0,o.createElement)("p",{className:`${t}__placeholder`},__("Write your _Markdown_ **here**…","jetpack")):(0,o.createElement)("div",{className:t},(0,o.createElement)(c.BlockControls,null,(0,o.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(m,__("Markdown","jetpack")),this.renderToolbarButton(h,__("Preview","jetpack")))),a!==h&&n?(0,o.createElement)(c.PlainText,{className:`${t}__editor`,onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":__("Markdown","jetpack"),innerRef:this.bindInput,value:r}):(0,o.createElement)(d.Z,{className:`${t}__preview`,source:r}))}}t.Z=(0,u.compose)([(0,p.withSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),(0,p.withDispatch)(((e,t)=>{let{currentBlockId:n}=t;return{removeBlock:()=>e("core/block-editor").removeBlocks(n)}}))])(f)},7882:function(e,t,n){"use strict";n.d(t,{u:function(){return p},X:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(58014),s=n(81092),l=n(27279),c=n(57535),u=n(20510);const __=a.__,_x=a._x,p="markdown",d=__("Try Markdown","jetpack"),m=__("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},(0,r.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),(0,r.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),f=(0,i.Wp)()||(0,i.Ug)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",g={title:__("Markdown","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Use regular characters and punctuation to style text, links, and lists.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:f},__("Support reference","jetpack"))),icon:{src:h,foreground:(0,c.m)()},category:(0,u.Z)("text","formatting"),keywords:[_x("formatting","block search term","jetpack"),_x("syntax","block search term","jetpack"),_x("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:s.Z,save:l.Z,example:{attributes:{source:`## ## ${d}\n\n${m}`}}}},4822:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(69472),i=n.n(o);const __=a.__,s=new(i()),l=e=>{if("A"===e.target.nodeName){window.confirm(__("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault()}};t.Z=e=>{let{className:t,source:n=""}=e;return(0,r.createElement)(r.RawHTML,{className:t,onClick:l},n.length?s.render(n):"")}},27279:function(e,t,n){"use strict";var r=n(69307),a=n(4822);t.Z=e=>{let{attributes:t,className:n}=e;return(0,r.createElement)(a.Z,{className:n,source:t.source})}},11868:function(e,t,n){"use strict";n.d(t,{V1:function(){return i},vW:function(){return s},jn:function(){return l},Eo:function(){return c},fL:function(){return u},ez:function(){return m}});var r=n(65736),a=n(9818),o=n(92819);const __=r.__,i=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],s=i.map((e=>e.value));const l={name:"button",label:__("Button (210 x 113 pixels)","jetpack")},c=e=>(0,o.compact)([{name:"standard",label:__("Standard (224 x 301 pixels)","jetpack"),isDefault:!0},{name:"tall",label:__("Tall (288 x 490 pixels)","jetpack")},{name:"wide",label:__("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&l]),u=e=>c(e).map((e=>e.name)),{siteLocale:p}=(0,a.select)("core/block-editor").getSettings(),d=!(0,o.isEmpty)(p)&&s.includes(p)?p:"en-US",m={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:u()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:d,type:"string",validValues:s},newtab:{default:!1,type:"boolean"},negativeMargin:{default:!1,type:"boolean"}}},65618:function(e,t,n){"use strict";var r=n(69307),a=n(11868);t.Z={attributes:a.ez,supports:{align:!0,html:!1},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)(r.Fragment,null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},77583:function(e,t,n){"use strict";var r=n(69307),a=n(11868);t.Z={attributes:a.ez,migrate:e=>{const{style:t,className:n}=e,r="standard"===t?"":`is-style-${t}`;return{...e,className:n?`${n} ${r}`:r}},isEligible:e=>{let{style:t,className:n}=e;return!(!t||"standard"===t)&&(!n||-1===n.indexOf("is-style-"))},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},97372:function(e,t,n){"use strict";var r=n(69307),a=(n(86841),n(89105)),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(4981),p=n(12087),d=n(58014),m=n(70718),h=n(18746),f=n(11868),g=n(14087),b=n(98085),v=n(88707);const __=c.__;t.Z=(0,l.withNotices)((function(e){let{attributes:t,className:n,clientId:a,isSelected:k,name:y,noticeOperations:E,noticeUI:w,setAttributes:_}=e;const C=(0,u.getBlockDefaultClassName)(y),j=(0,g.S)(f.ez,t);(0,i.isEqual)(j,t)||_(j);const{align:S,rid:x,iframe:T,domain:P,lang:N,newtab:A,negativeMargin:I}=t,B=(0,i.isEmpty)(x),M=(0,b.t)((0,f.Eo)(),t.className),R=(0,b.t)((0,f.Eo)(x),t.className),L=(0,h.Z)(R),Z=(0,i.isEqual)(x,["1"]);(0,r.useEffect)((()=>{if(E.removeAllNotices(),!B&&!Z&&"wide"===R&&"wide"!==S&&"full"!==S){const e=(0,r.createElement)(r.Fragment,null,__('With the OpenTable block you may encounter display issues if you use its "wide" style with anything other than "wide" or "full" alignment. The wide display style may also not work well on smaller screens.',"jetpack"));E.createNotice({status:"warning",content:e})}}),[Z,S,B,x,R]),(0,r.useEffect)((()=>{"button"===M&&Array.isArray(x)&&x.length>1&&_({className:"",style:""})}),[x,M,_]),(0,r.useEffect)((()=>{k&&(Array.isArray(x)&&x.length>1?(0,u.unregisterBlockStyle)("jetpack/opentable",["button"]):(0,u.registerBlockStyle)("jetpack/opentable",f.jn))}),[k,x]),(0,r.useEffect)((()=>{"wide"===L&&"wide"===S&&_({align:""}),"wide"===R&&L&&R!==L&&_({align:"wide"}),_({style:R})}),[R]);const F=(0,f.fL)(x),D=e=>x.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e],O=e=>{Array.isArray(e)?_({rid:e,style:e.length>1&&"button"===R?"standard":R}):(e=>{const t=(0,v.CC)(e);t||(E.removeAllNotices(),E.createErrorNotice((0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,__("We ran into an issue","jetpack")),(0,r.createElement)("br",null),__("Please ensure this embed matches the one from your OpenTable account","jetpack"))));const n=(0,g.S)(f.ez,t);_(n),E.removeAllNotices()})(e)},z=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.InspectorAdvancedControls,null,(0,r.createElement)(l.ToggleControl,{label:__("Load the widget in an iFrame (Recommended)","jetpack"),checked:T,onChange:()=>_({iframe:!T}),className:"is-opentable"}),"button"===R&&(0,r.createElement)(l.ToggleControl,{label:__("Remove button margin","jetpack"),checked:I,onChange:()=>_({negativeMargin:!I})})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(m.Z,{rids:x,onChange:O}),(0,r.createElement)(l.SelectControl,{label:__("Language","jetpack"),value:N,onChange:e=>_({lang:e}),options:f.V1}),(0,r.createElement)(l.ToggleControl,{label:__("Open in a new window","jetpack"),checked:A,onChange:()=>_({newtab:!A})})))),U=(0,d.Wp)()||(0,d.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",$=(0,r.createElement)(l.Placeholder,{label:__("OpenTable Reservation","jetpack"),icon:(0,r.createElement)(s.BlockIcon,{icon:p.Z}),instructions:__("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:w},(0,r.createElement)(m.Z,{rids:x,onSubmit:O}),(0,r.createElement)("div",{className:`${C}-placeholder-links`},(0,r.createElement)(l.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},__("Sign up for OpenTable","jetpack")),(0,r.createElement)(l.ExternalLink,{href:U},__("Learn more","jetpack")))),V=o()(n,{[`is-style-${R}`]:!B&&F.includes(R)&&-1===n.indexOf("is-style"),"is-placeholder":B,"is-multi":"multi"===D(R)[0],[`align${S}`]:S,"has-no-margin":I});return(0,r.createElement)(r.Fragment,null,w,(0,r.createElement)("div",{className:V},!B&&z,B?$:(e=>{const[t,n]=D(e||R);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${C}-overlay`}),(0,r.createElement)("iframe",{title:(0,c.sprintf)(
+_n("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(__("No results.","jetpack"),"assertive"))}render(){const{onChange:e,onKeyDown:t}=this,{children:n,instanceId:r,completer:a}=this.props,{selectedIndex:i,filteredOptions:l}=this.state,{key:p=""}=l[i]||{},{className:d}=a,m=l.length>0,h=m?`components-autocomplete-listbox-${r}`:null,f=m?`components-autocomplete-item-${r}-${p}`:null;return(0,o.createElement)("div",{className:"components-autocomplete"},n({isExpanded:m,listBoxId:h,activeId:f,onChange:e,onKeyDown:t}),m&&(0,o.createElement)(c.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},(0,o.createElement)("div",{id:h,role:"listbox",className:"components-autocomplete__results"},(0,u.map)(l,((e,t)=>(0,o.createElement)(c.Button,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===i,disabled:e.isDisabled,className:s()("components-autocomplete__result",d,{"is-selected":t===i}),onClick:()=>this.select(e)},e.label))))))}}t.Z=(0,d.compose)([c.withSpokenMessages,d.withInstanceId,c.withFocusOutside])(h)},9262:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(85007);class s extends o.Component{constructor(){super(...arguments),a()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),a()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:r,mapRef:a}=this.props,{handleClick:o}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,i.bL)(a.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+r+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},90055:function(e,t,n){"use strict";function r(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return r}})},19496:function(e,t,n){"use strict";var r=n(69307),a=n(82695),o=n(81518);class i extends r.Component{render(){const{attributes:e}=this.props,{align:t,className:n,mapDetails:i,points:s,zoom:l,mapCenter:c,markerColor:u,scrollToZoom:p,mapHeight:d,showFullscreenButton:m}=e,h=(0,o.t)(a.X.styles,n),f=s.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),g=t?`align${t}`:null;return(0,r.createElement)("div",{className:g,"data-map-style":h,"data-map-details":i,"data-points":JSON.stringify(s),"data-zoom":l,"data-map-center":JSON.stringify(c),"data-marker-color":u,"data-scroll-to-zoom":p||null,"data-map-height":d||null,"data-show-fullscreen-button":m||null},s.length>0&&(0,r.createElement)("ul",null,f))}}t.Z=i},82695:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(69307),a=n(65736),o=n(56932),i=n(45107),s=n(65765),l=n(34140);const __=a.__,_x=a._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:o,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:i},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},461:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(52175),u=n(94333),p=n(9818),d=n(69283);const __=l.__,m="editor",h="preview";class f extends o.Component{constructor(){super(...arguments),a()(this,"input",null),a()(this,"state",{activePanel:m}),a()(this,"bindInput",(e=>{this.input=e})),a()(this,"updateSource",(e=>this.props.setAttributes({source:e}))),a()(this,"handleKeyDown",(e=>{const{attributes:t,removeBlock:n}=this.props,{source:r}=t;8===e.keyCode&&""===r&&(n(),e.preventDefault())})),a()(this,"toggleMode",(e=>()=>this.setState({activePanel:e})))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===h&&this.toggleMode(m)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===m&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:n}=this.state,{className:r}=this.props,a=s()(r,"components-button components-tab-button",{"is-pressed":n===e});return(0,o.createElement)("button",{className:a,onClick:this.toggleMode(e)},(0,o.createElement)("span",null,t))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{source:r}=e,{activePanel:a}=this.state;return!n&&this.isEmpty()?(0,o.createElement)("p",{className:`${t}__placeholder`},__("Write your _Markdown_ **here**…","jetpack")):(0,o.createElement)("div",{className:t},(0,o.createElement)(c.BlockControls,null,(0,o.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(m,__("Markdown","jetpack")),this.renderToolbarButton(h,__("Preview","jetpack")))),a!==h&&n?(0,o.createElement)(c.PlainText,{className:`${t}__editor`,onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":__("Markdown","jetpack"),innerRef:this.bindInput,value:r}):(0,o.createElement)(d.Z,{className:`${t}__preview`,source:r}))}}t.Z=(0,u.compose)([(0,p.withSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),(0,p.withDispatch)(((e,t)=>{let{currentBlockId:n}=t;return{removeBlock:()=>e("core/block-editor").removeBlocks(n)}}))])(f)},80723:function(e,t,n){"use strict";n.d(t,{X:function(){return g},u:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(461),l=n(2683),c=n(70355),u=n(5820);const __=a.__,_x=a._x,p="markdown",d=__("Try Markdown","jetpack"),m=__("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},(0,r.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),(0,r.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),f=(0,i.Wp)()||(0,i.Ug)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",g={title:__("Markdown","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Use regular characters and punctuation to style text, links, and lists.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:f},__("Support reference","jetpack"))),icon:{src:h,foreground:(0,c.m)()},category:(0,u.Z)("text","formatting"),keywords:[_x("formatting","block search term","jetpack"),_x("syntax","block search term","jetpack"),_x("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{align:["wide","full"],html:!1,spacing:{padding:!0,margin:!0,__experimentalDefaultControls:{padding:!0,margin:!0}}},edit:s.Z,save:l.Z,example:{attributes:{source:`## ## ${d}\n\n${m}`}}}},69283:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(10185),i=n.n(o),s=n(52175);const __=a.__,l=new(i()),c=e=>{if("A"===e.target.nodeName){window.confirm(__("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault()}},u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=null===s.__experimentalGetSpacingClassesAndStyles||void 0===s.__experimentalGetSpacingClassesAndStyles?void 0:(0,s.__experimentalGetSpacingClassesAndStyles)(e);return null!=t&&t.style?t.style:{}};t.Z=e=>{let{className:t,source:n="",attributes:a}=e;return(0,r.createElement)(r.RawHTML,{className:t,onClick:c,style:u(a)},n.length?l.render(n):"")}},2683:function(e,t,n){"use strict";var r=n(69307),a=n(69283);t.Z=e=>{let{attributes:t,className:n}=e;return(0,r.createElement)(a.Z,{className:n,source:t.source,attributes:t})}},31283:function(e,t,n){"use strict";n.d(t,{Eo:function(){return p},V1:function(){return l},ez:function(){return f},fL:function(){return d},jn:function(){return u},vW:function(){return c}});var r,a,o,i=n(65736),s=n(92819);const __=i.__,l=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],c=l.map((e=>e.value));const u={name:"button",label:__("Button (210 x 113 pixels)","jetpack")},p=e=>(0,s.compact)([{name:"standard",label:__("Standard (224 x 301 pixels)","jetpack"),isDefault:!0},{name:"tall",label:__("Tall (288 x 490 pixels)","jetpack")},{name:"wide",label:__("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&u]),d=e=>p(e).map((e=>e.name)),m=null!==(r=null===(a=window)||void 0===a||null===(o=a.Jetpack_Editor_Initial_State)||void 0===o?void 0:o.siteLocale)&&void 0!==r?r:"en-US",h=!(0,s.isEmpty)(m)&&c.includes(m)?m:"en-US",f={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:d()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:h,type:"string",validValues:c},newtab:{default:!1,type:"boolean"},negativeMargin:{default:!1,type:"boolean"}}},80452:function(e,t,n){"use strict";var r=n(69307),a=n(31283);t.Z={attributes:a.ez,supports:{align:!0,html:!1},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)(r.Fragment,null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},70398:function(e,t,n){"use strict";var r=n(69307),a=n(31283);t.Z={attributes:a.ez,migrate:e=>{const{style:t,className:n}=e,r="standard"===t?"":`is-style-${t}`;return{...e,className:n?`${n} ${r}`:r}},isEligible:e=>{let{style:t,className:n}=e;return!(!t||"standard"===t)&&(!n||-1===n.indexOf("is-style-"))},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},76851:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(13419),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(15040),m=n(57087),h=n(41007),f=n(31283),g=n(4554),b=n(81518),v=n(48769);const __=u.__;t.Z=(0,c.withNotices)((function(e){let{attributes:t,className:n,clientId:a,isSelected:k,name:y,noticeOperations:E,noticeUI:w,setAttributes:_}=e;const C=(0,p.getBlockDefaultClassName)(y),S=(0,g.S)(f.ez,t);(0,i.isEqual)(S,t)||_(S);const{align:j,rid:x,iframe:P,domain:T,lang:N,newtab:A,negativeMargin:I}=t,B=(0,i.isEmpty)(x),M=(0,b.t)((0,f.Eo)(),t.className),R=(0,b.t)((0,f.Eo)(x),t.className),L=(0,h.Z)(R),Z=(0,i.isEqual)(x,["1"]);(0,r.useEffect)((()=>{if(E.removeAllNotices(),!B&&!Z&&"wide"===R&&"wide"!==j&&"full"!==j){const e=(0,r.createElement)(r.Fragment,null,__('With the OpenTable block you may encounter display issues if you use its "wide" style with anything other than "wide" or "full" alignment. The wide display style may also not work well on smaller screens.',"jetpack"));E.createNotice({status:"warning",content:e})}}),[Z,j,B,x,R]),(0,r.useEffect)((()=>{"button"===M&&Array.isArray(x)&&x.length>1&&_({className:"",style:""})}),[x,M,_]),(0,r.useEffect)((()=>{k&&(Array.isArray(x)&&x.length>1?(0,p.unregisterBlockStyle)("jetpack/opentable",["button"]):(0,p.registerBlockStyle)("jetpack/opentable",f.jn))}),[k,x]),(0,r.useEffect)((()=>{"wide"===L&&"wide"===j&&_({align:""}),"wide"===R&&L&&R!==L&&_({align:"wide"}),_({style:R})}),[R]);const D=(0,f.fL)(x),F=e=>x.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e],z=e=>{Array.isArray(e)?_({rid:e,style:e.length>1&&"button"===R?"standard":R}):(e=>{const t=(0,v.CC)(e);t||(E.removeAllNotices(),E.createErrorNotice((0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,__("We ran into an issue","jetpack")),(0,r.createElement)("br",null),__("Please ensure this embed matches the one from your OpenTable account","jetpack"))));const n=(0,g.S)(f.ez,t);_(n),E.removeAllNotices()})(e)},O=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.InspectorAdvancedControls,null,(0,r.createElement)(c.ToggleControl,{label:__("Load the widget in an iFrame (Recommended)","jetpack"),checked:P,onChange:()=>_({iframe:!P}),className:"is-opentable"}),"button"===R&&(0,r.createElement)(c.ToggleControl,{label:__("Remove button margin","jetpack"),checked:I,onChange:()=>_({negativeMargin:!I})})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(m.Z,{rids:x,onChange:z}),(0,r.createElement)(c.SelectControl,{label:__("Language","jetpack"),value:N,onChange:e=>_({lang:e}),options:f.V1}),(0,r.createElement)(c.ToggleControl,{label:__("Open in a new window","jetpack"),checked:A,onChange:()=>_({newtab:!A})})))),U=(0,s.Wp)()||(0,s.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",$=(0,r.createElement)(c.Placeholder,{label:__("OpenTable Reservation","jetpack"),icon:d.Z,instructions:__("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:w},(0,r.createElement)(m.Z,{rids:x,onSubmit:z}),(0,r.createElement)("div",{className:`${C}-placeholder-links`},(0,r.createElement)(c.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},__("Sign up for OpenTable","jetpack")),(0,r.createElement)(c.ExternalLink,{href:U},__("Learn more","jetpack")))),H=o()(n,{[`is-style-${R}`]:!B&&D.includes(R)&&-1===n.indexOf("is-style"),"is-placeholder":B,"is-multi":"multi"===F(R)[0],[`align${j}`]:j,"has-no-margin":I});return(0,r.createElement)(r.Fragment,null,w,(0,r.createElement)("div",{className:H},!B&&O,B?$:(e=>{const[t,n]=F(e||R);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${C}-overlay`}),(0,r.createElement)("iframe",{title:(0,u.sprintf)(
/* translators: Placeholder is a unique ID. */
-__("Open Table Preview %s","jetpack"),a),scrolling:"no",src:`https://www.opentable.com/widget/reservation/canvas?rid=${(0,i.join)(x,"%2C")}&type=${t}&theme=${n}&overlay=false&domain=${P}&lang=${N&&f.vW.includes(N)?N:"en-US"}&newtab=${A}&disablega=true`}))})()))}))},12087:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},(0,r.createElement)(a.Path,{d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))},5458:function(e,t,n){"use strict";n.d(t,{u2:function(){return m},Xd:function(){return h}});var r=n(69307),a=n(65736),o=n(4981),i=n(11868),s=n(65618),l=n(77583),c=n(97372),u=n(12087),p=n(88707),d=n(57535);n(6757);const __=a.__,_x=a._x,m="opentable",h={title:__("OpenTable","jetpack"),description:__("Allow visitors to book a reservation with OpenTable","jetpack"),icon:{src:u.Z,foreground:(0,d.m)()},category:"earn",keywords:[_x("booking","block search term","jetpack"),_x("reservation","block search term","jetpack"),_x("restaurant","block search term","jetpack")],supports:{align:!0,html:!1},edit:c.Z,save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map(((e,t)=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`,key:`${e}-${t}`},`https://www.opentable.com/restref/client/?rid=${e}`))))},attributes:i.ez,styles:(0,i.Eo)(),example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1,negativeMargin:!1}},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&0===e.textContent.indexOf("http")&&(p.pU.test(e.textContent)||p.tC.test(e.textContent)),transform:e=>{const t=(0,p.CC)(e.textContent);return(0,o.createBlock)("jetpack/opentable",t)}}]},deprecated:[s.Z,l.Z]}},70718:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(92819),s=n(55609),l=n(65736),c=n(74701);const __=l.__,_n=l._n;function u(e){const[t,n]=(0,o.useState)(""),r=(0,c.Z)(t,20),[l,u]=(0,o.useState)(e.rids||[]),p=/^(\d+)$|\(\#(\d+)\)$/,d=r.filter((e=>l.indexOf(e.rid.toString())<0)).map((e=>e.name+` (#${e.rid})`)),m=(0,o.createElement)(s.FormTokenField,a()({value:l,suggestions:d,saveTransform:e=>c.$.test(e)?"":e.trim(),onInputChange:n,maxSuggestions:20,label:_n("Restaurant","Restaurants",l.length,"jetpack")},e,{onChange:t=>{const n=t.map((e=>{const t=p.exec(e);return t[1]||t[2]}));u(n),e.onChange&&e.onChange(n)}}));return(0,o.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),e.onSubmit((0,i.isEmpty)(l)?t:l)}},m,(0,o.createElement)(s.Button,{isSecondary:!0,type:"submit"},__("Embed","jetpack"))):m)}},18746:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},74701:function(e,t,n){"use strict";n.d(t,{$:function(){return o},Z:function(){return i}});var r=n(92819),a=n(69307);const o=/^\s*(http[s]?:\/\/|\<script)/;function i(e,t){const[n,i]=(0,a.useState)([]),s=(0,a.useCallback)((0,r.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((e=>e.json())).then((e=>i((0,r.unionBy)(n,e.items,"rid"))))}),500),[n]);return(0,a.useEffect)((()=>{(0,r.isEmpty)(e)||o.test(e)||s(e)}),[e]),n}},88707:function(e,t,n){"use strict";n.d(t,{tC:function(){return a},pU:function(){return o},CC:function(){return i}});const r=/<\s*script[^>]*src\s*=\s*["']?([^"']*)/i,a=/restref=([0-9]+)&/,o=/rid=([0-9]+)&/,i=e=>{if(e)return(e=>{if(!e)return;let t="";if(t=0===e.indexOf("http")?new URL(e):new URL("http:"+e),!t.host||-1===t.host.indexOf("opentable")||!t.search)return;const n=new URLSearchParams(t.search);let r=n.get("theme");"button"===n.get("type")&&(r=n.get("type"));let a=n.getAll("rid");if(a&&0!==a.length||(a=n.getAll("restref")),!a||0===a.length)return;const o={};a&&(o.rid=a);const i=n.get("domain");i&&(o.domain=i);const s=n.get("iframe");s&&(o.iframe=s);const l=n.get("lang");l&&(o.lang=l);const c=n.get("newtab");return c&&(o.newtab=c),r&&(o.style=r),o})((e=>{const t=e.match(r);return t&&t[1]?t[1]:a.test(e)||o.test(e)?e:void 0})(e))}},79509:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(18161);const __=a.__,_x=a._x;function l(e){let{className:t,onSubmit:n,noticeUI:a,url:l,setUrl:c}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.Placeholder,{label:__("Pinterest","jetpack"),icon:(0,r.createElement)(i.BlockIcon,{icon:s.qv}),notices:a},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),n()}},(0,r.createElement)("input",{type:"url",value:l,className:"components-placeholder__input","aria-label":__("Pinterest URL","jetpack"),placeholder:__("Enter URL to embed here…","jetpack"),onChange:e=>c(e.target.value)}),(0,r.createElement)(o.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))))}},49362:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981);const __=a.__,_x=a._x;function s(e){let{fallbackUrl:t,onClick:n}=e;return(0,r.createElement)(r.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,r.createElement)(o.Button,{isLink:!0,onClick:()=>{const e=(0,r.createElement)("a",{href:t},t);n((0,i.createBlock)("core/paragraph",{content:(0,r.renderToString)(e)}))}},_x("Convert block to link","button label","jetpack")))}},61989:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(){return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(o.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack")))}},4052:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setEditingState:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},41659:function(e,t,n){"use strict";var r=n(69307),a=n(94991);t.Z={attributes:{url:{type:"string"}},supports:{align:!1,html:!1},save:e=>{let{attributes:t,className:n}=e;const{url:o}=t;return(0,a.t)(o)?(0,r.createElement)("div",{className:n},(0,r.createElement)("a",{"data-pin-do":(0,a.t)(o),href:o})):null}}},81253:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(52175),i=n(94991),s=n(4052),l=n(61989),c=n(79509),u=n(49362),p=n(79474);t.Z=(0,a.withNotices)((function(e){let{attributes:t,isSelected:n,className:d,noticeOperations:m,noticeUI:h,setAttributes:f,onReplace:g}=e;const{url:b}=t,{isFetching:v,pinterestUrl:k,testUrl:y,hasTestUrlError:E}=(0,p.Z)(),[w,_]=(0,r.useState)(!1),[C,j]=(0,r.useState)(""),[S,x]=(0,r.useState)(!1),T=(0,r.useCallback)((()=>(0,r.createElement)(u.Z,{fallbackUrl:C,onClick:g})),[E]),P=()=>{v||(y(C),x(!1))},N=()=>{_(!0)};if((0,r.useEffect)((()=>{b&&y(b)}),[]),(0,r.useEffect)((()=>{!n&&w&&_(!1)}),[n,w]),(0,r.useEffect)((()=>{f({url:k}),m.removeAllNotices(),k&&j(k),E&&m.createErrorNotice(T())}),[k,E,f,T]),v)return(0,r.createElement)(l.Z,null);const A=(0,i.t)(b);if(S||!b||b&&!A)return(0,r.createElement)(c.Z,{className:d,onSubmit:P,noticeUI:h,url:C,setUrl:j});const I=`<a data-pin-do='${A}' href='${b}'></a>`;return(0,r.createElement)("div",{className:d},(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.C,{setEditingState:x})),(0,r.createElement)("div",null,(0,r.createElement)(a.SandBox,{html:I,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:N}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:N})))}))},79474:function(e,t,n){"use strict";var r=n(69307),a=n(87072),o=n(18161);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(!1),[i,s]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i&&i!==o.a0&&(n(!0),(0,a.Z)(i).then((e=>{n(!1),s(e),c(!1)})).catch((()=>{n(!1),s(i||void 0),c(!0)})))}),[i]),{isFetching:t,pinterestUrl:i,hasTestUrlError:l,testUrl:s}}},18161:function(e,t,n){"use strict";n.d(t,{Wh:function(){return p},a0:function(){return d},u2:function(){return m},qv:function(){return f},Xd:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(81253),l=n(26981),c=n(57535),u=n(41659);const __=a.__,_x=a._x,p=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,d="https://pinterest.com/anapinskywalker/",m="pinterest",h=__("Pinterest","jetpack"),f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,null,(0,r.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),g={title:h,description:__("Embed a Pinterest pin, board, or user.","jetpack"),icon:{src:f,foreground:(0,c.m)()},category:"embed",keywords:[_x("social","block search term","jetpack"),_x("pinboard","block search term","jetpack"),_x("pins","block search term","jetpack")],supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:s.Z,save:l.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&p.test(e.textContent),transform:e=>(0,i.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}]},example:{attributes:{url:d}},deprecated:[u.Z]}},26981:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;return(0,r.createElement)("a",{href:n},n)}},94991:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(96483),a=n(18161);function o(e){if(!a.Wh.test(e))return"";const t=(0,r.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}},45452:function(e,t,n){"use strict";n.d(t,{G:function(){return s},q:function(){return l}});var r=n(12761),a=n(86989),o=n.n(a),i=n(96483);const s=async()=>await o()({path:"/wpcom/v2/podcast-player/track-quantity"}),l=async e=>{let t,n,a,{url:s,guids:l=[],fetchEpisodeOptions:c=!1}=e;try{t=await o()({path:(0,i.addQueryArgs)("/wpcom/v2/podcast-player",{url:s,guids:l,"episode-options":c})})}catch(e){n=e}if(t)return{type:r.u,data:t};try{a=await o()({path:(0,i.addQueryArgs)("/oembed/1.0/proxy",{url:s})})}catch(e){}const u='<a href="'+s+'">'+s+"</a>";if(a&&a.html!==u)return{type:r.b};throw n}},23600:function(e,t,n){"use strict";var r=n(96483),a=n(68039);t.Z={url:{type:"string",validator:r.isUrl},selectedEpisodes:{type:"array",default:[]},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeTitle:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}}},98006:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(76814);const s=(0,r.memo)((e=>{let{playerId:t,title:n,cover:a,link:o,track:i,children:s,showEpisodeTitle:c,showCoverArt:u,showEpisodeDescription:p,colors:d}=e;return u||c||p?(0,r.createElement)("div",{className:"jetpack-podcast-player__header"},(0,r.createElement)("div",{className:"jetpack-podcast-player__current-track-info"},u&&a&&(0,r.createElement)("div",{className:"jetpack-podcast-player__cover"},(0,r.createElement)("img",{className:"jetpack-podcast-player__cover-image",src:a,alt:""})),c&&!!(n||i&&i.title)&&(0,r.createElement)(l,{playerId:t,title:n,link:o,track:i,colors:d})),!!(p&&i&&i.description)&&(0,r.createElement)("p",{id:`${t}__track-description`,className:"jetpack-podcast-player__track-description"},i.description),s):s})),l=(0,r.memo)((e=>{let{playerId:t,title:n,link:a,track:s,colors:l={primary:{name:null,custom:null,classes:""}}}=e;return(0,r.createElement)("h2",{id:`${t}__title`,className:"jetpack-podcast-player__title"},!(!s||!s.title)&&(0,r.createElement)("span",{className:o()("jetpack-podcast-player__current-track-title",l.primary.classes),style:{color:l.primary.custom}},s.title,(0,r.createElement)("a",{className:"jetpack-podcast-player__track-title-link",href:s.link||s.src,target:"_blank",rel:"noopener noreferrer nofollow"},i.Z)),!!(s&&s.title&&n)&&(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"}," - "),!!n&&(0,r.createElement)(c,{title:n,link:a,colors:l}))})),c=(0,r.memo)((e=>{let{title:t,link:n}=e;return(0,r.createElement)("span",{className:"jetpack-podcast-player__podcast-title"},n?(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:n,target:"_blank",rel:"noopener noreferrer nofollow"},t):{title:t})}));t.Z=s},66530:function(e,t,n){"use strict";var r=n(69307),a=n(15111),o=n(15020);const i=(0,r.memo)((e=>{let{playerId:t,tracks:n,selectTrack:i,currentTrack:s,playerState:l,colors:c}=e;return(0,r.createElement)("ol",{className:"jetpack-podcast-player__tracks","aria-labelledby":`jetpack-podcast-player__tracklist-title--${t}`,"aria-describedby":`jetpack-podcast-player__tracklist-description--${t}`},n.map(((e,t)=>{const n=s===t;return(0,r.createElement)(o.Z,{key:e.id,index:t,track:e,selectTrack:i,isActive:n,isPlaying:n&&l===a.Wp,isError:n&&l===a.Vy,colors:c})})))}));t.Z=i},58627:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(25158),u=n(94333),p=n(9818),d=n(15111),m=n(92924),h=n(66530),f=n(98006),g=n(74693),b=n(56551);const __=l.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{currentTrack:0,hasUserInteraction:!1}),a()(this,"recordUserInteraction",(()=>{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})})),a()(this,"selectTrack",(e=>{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&&this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)})),a()(this,"loadTrack",(e=>{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&&this.setState({currentTrack:e});const{title:n,link:r,description:a}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:n,link:r}),(0,c.speak)(
+__("Open Table Preview %s","jetpack"),a),scrolling:"no",src:`https://www.opentable.com/widget/reservation/canvas?rid=${(0,i.join)(x,"%2C")}&type=${t}&theme=${n}&overlay=false&domain=${T}&lang=${N&&f.vW.includes(N)?N:"en-US"}&newtab=${A}&disablega=true`}))})()))}))},15040:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},(0,r.createElement)(a.Path,{d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))},69309:function(e,t,n){"use strict";n.d(t,{Xd:function(){return h},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(4981),i=n(31283),s=n(80452),l=n(70398),c=n(76851),u=n(15040),p=n(48769),d=n(70355);n(85921);const __=a.__,_x=a._x,m="opentable",h={title:__("OpenTable","jetpack"),description:__("Allow visitors to book a reservation with OpenTable","jetpack"),icon:{src:u.Z,foreground:(0,d.m)()},category:"earn",keywords:[_x("booking","block search term","jetpack"),_x("reservation","block search term","jetpack"),_x("restaurant","block search term","jetpack")],supports:{align:!0,html:!1},edit:c.Z,save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map(((e,t)=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`,key:`${e}-${t}`},`https://www.opentable.com/restref/client/?rid=${e}`))))},attributes:i.ez,styles:(0,i.Eo)(),example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1,negativeMargin:!1}},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&0===e.textContent.indexOf("http")&&(p.pU.test(e.textContent)||p.tC.test(e.textContent)),transform:e=>{const t=(0,p.CC)(e.textContent);return(0,o.createBlock)("jetpack/opentable",t)}}]},deprecated:[s.Z,l.Z]}},57087:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(92819),s=n(55609),l=n(65736),c=n(25392);const __=l.__,_n=l._n;function u(e){const[t,n]=(0,o.useState)(""),r=(0,c.Z)(t,20),[l,u]=(0,o.useState)(e.rids||[]),p=/^(\d+)$|\(\#(\d+)\)$/,d=r.filter((e=>l.indexOf(e.rid.toString())<0)).map((e=>e.name+` (#${e.rid})`)),m=(0,o.createElement)(s.FormTokenField,a()({value:l,suggestions:d,saveTransform:e=>c.$.test(e)?"":e.trim(),onInputChange:n,maxSuggestions:20,label:_n("Restaurant","Restaurants",l.length,"jetpack")},e,{onChange:t=>{const n=t.map((e=>{const t=p.exec(e);return t[1]||t[2]}));u(n),e.onChange&&e.onChange(n)}}));return(0,o.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),e.onSubmit((0,i.isEmpty)(l)?t:l)}},m,(0,o.createElement)(s.Button,{variant:"secondary",type:"submit"},__("Embed","jetpack"))):m)}},41007:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},25392:function(e,t,n){"use strict";n.d(t,{$:function(){return o},Z:function(){return i}});var r=n(92819),a=n(69307);const o=/^\s*(http[s]?:\/\/|\<script)/;function i(e,t){const[n,i]=(0,a.useState)([]),s=(0,a.useCallback)((0,r.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((e=>e.json())).then((e=>i((0,r.unionBy)(n,e.items,"rid"))))}),500),[n]);return(0,a.useEffect)((()=>{(0,r.isEmpty)(e)||o.test(e)||s(e)}),[e]),n}},48769:function(e,t,n){"use strict";n.d(t,{CC:function(){return i},pU:function(){return o},tC:function(){return a}});const r=/<\s*script[^>]*src\s*=\s*["']?([^"']*)/i,a=/restref=([0-9]+)&/,o=/rid=([0-9]+)&/,i=e=>{if(e)return(e=>{if(!e)return;let t="";if(t=0===e.indexOf("http")?new URL(e):new URL("http:"+e),!t.host||-1===t.host.indexOf("opentable")||!t.search)return;const n=new URLSearchParams(t.search);let r=n.get("theme");"button"===n.get("type")&&(r=n.get("type"));let a=n.getAll("rid");if(a&&0!==a.length||(a=n.getAll("restref")),!a||0===a.length)return;const o={};a&&(o.rid=a);const i=n.get("domain");i&&(o.domain=i);const s=n.get("iframe");s&&(o.iframe=s);const l=n.get("lang");l&&(o.lang=l);const c=n.get("newtab");return c&&(o.newtab=c),r&&(o.style=r),o})((e=>{const t=e.match(r);return t&&t[1]?t[1]:a.test(e)||o.test(e)?e:void 0})(e))}},50215:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(92819),o=n(65736),i=n(4981),s=n(9818),l=n(52175),c=n(76039);const __=o.__;function u(e){let{name:t,clientId:n}=e;const{blockType:o,hasInnerBlocks:u}=(0,s.useSelect)((e=>{var r;const{getBlocks:a}=e(l.store);return{blockType:(0,i.getBlockType)(t),hasInnerBlocks:(null===(r=a(n))||void 0===r?void 0:r.length)>0}})),{replaceBlock:p,selectBlock:d}=(0,s.useDispatch)(l.store),m=e=>{p(n,(0,i.createBlock)(e.name)),d(n)},h=c.Z.filter((e=>(0,i.getBlockType)(e.name)));(0,r.useEffect)((()=>{u||i.registerBlockVariation||m(h[0])}));return!u&&i.registerBlockVariation?(0,r.createElement)(l.__experimentalBlockVariationPicker,{icon:(0,a.get)(o,["icon","src"]),label:(0,a.get)(o,["title"]),instructions:__("Please select which kind of payment you'd like to add.","jetpack"),variations:h,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h[0];m(e)}}):(0,r.createElement)(l.InnerBlocks,null)}},68007:function(e,t,n){"use strict";n.d(t,{Xd:function(){return m},u2:function(){return d}});var r=n(69307),a=n(65736),o=n(52175),i=n(64967),s=n(50215),l=n(70355),c=n(29800),u=n(56367),p=n(50851);const __=a.__,_x=a._x,d="payments-intro",m={title:__("Payments","jetpack"),description:__("Sell products and services or receive donations on your website","jetpack"),icon:{src:i.Z,foreground:(0,l.m)()},category:"earn",keywords:[...new Set([c.Xd.title,...c.Xd.keywords,u.Xd.title,...u.Xd.keywords,p.X.title,...p.X.keywords,_x("paid","block search term","jetpack"),_x("pay","block search term","jetpack"),_x("money","block search term","jetpack"),_x("checkout","block search term","jetpack")])],supports:{alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:s.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null)}},76039:function(e,t,n){"use strict";var r=n(50851),a=n(29800),o=n(56367);const i=[[a.u2,a.Xd],[o.u2,o.Xd],[r.u,r.X]].map((e=>{var t;let[n,r]=e;return{name:n.includes("/")?n:"jetpack/"+n,title:r.title,description:r.description,icon:null!==(t=r.icon.src)&&void 0!==t?t:r.icon}}));t.Z=i},15774:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(66094);const __=a.__,_x=a._x;function s(e){let{className:t,onSubmit:n,noticeUI:a,url:s,setUrl:l}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.Placeholder,{label:__("Pinterest","jetpack"),icon:i.qv,notices:a},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),n()}},(0,r.createElement)("input",{type:"url",value:s,className:"components-placeholder__input","aria-label":__("Pinterest URL","jetpack"),placeholder:__("Enter URL to embed here…","jetpack"),onChange:e=>l(e.target.value)}),(0,r.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))))}},89488:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981);const __=a.__,_x=a._x;function s(e){let{fallbackUrl:t,onClick:n}=e;return(0,r.createElement)(r.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,r.createElement)(o.Button,{variant:"link",onClick:()=>{const e=(0,r.createElement)("a",{href:t},t);n((0,i.createBlock)("core/paragraph",{content:(0,r.renderToString)(e)}))}},_x("Convert block to link","button label","jetpack")))}},13647:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(){return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(o.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack")))}},89852:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setEditingState:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},15479:function(e,t,n){"use strict";var r=n(69307),a=n(34098);t.Z={attributes:{url:{type:"string"}},supports:{align:!1,html:!1},save:e=>{let{attributes:t,className:n}=e;const{url:o}=t;return(0,a.t)(o)?(0,r.createElement)("div",{className:n},(0,r.createElement)("a",{"data-pin-do":(0,a.t)(o),href:o})):null}}},43529:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(52175),i=n(34098),s=n(89852),l=n(13647),c=n(15774),u=n(89488),p=n(18867);t.Z=(0,a.withNotices)((function(e){let{attributes:t,isSelected:n,className:d,noticeOperations:m,noticeUI:h,setAttributes:f,onReplace:g}=e;const{url:b}=t,{isFetching:v,pinterestUrl:k,testUrl:y,hasTestUrlError:E}=(0,p.Z)(),[w,_]=(0,r.useState)(!1),[C,S]=(0,r.useState)(""),[j,x]=(0,r.useState)(!1),P=(0,r.useCallback)((()=>(0,r.createElement)(u.Z,{fallbackUrl:C,onClick:g})),[E]),T=()=>{v||(y(C),x(!1))},N=()=>{_(!0)};if((0,r.useEffect)((()=>{b&&y(b)}),[]),(0,r.useEffect)((()=>{!n&&w&&_(!1)}),[n,w]),(0,r.useEffect)((()=>{f({url:k}),m.removeAllNotices(),k&&S(k),E&&m.createErrorNotice(P())}),[k,E,f,P]),v)return(0,r.createElement)(l.Z,null);const A=(0,i.t)(b);if(j||!b||b&&!A)return(0,r.createElement)(c.Z,{className:d,onSubmit:T,noticeUI:h,url:C,setUrl:S});const I=`<a data-pin-do='${A}' href='${b}'></a>`;return(0,r.createElement)("div",{className:d},(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.C,{setEditingState:x})),(0,r.createElement)("div",null,(0,r.createElement)(a.SandBox,{html:I,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:N}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:N})))}))},18867:function(e,t,n){"use strict";var r=n(69307),a=n(23621),o=n(66094);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(!1),[i,s]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i&&i!==o.a0&&(n(!0),(0,a.Z)(i).then((e=>{n(!1),s(e),c(!1)})).catch((()=>{n(!1),s(i||void 0),c(!0)})))}),[i]),{isFetching:t,pinterestUrl:i,hasTestUrlError:l,testUrl:s}}},66094:function(e,t,n){"use strict";n.d(t,{Wh:function(){return p},Xd:function(){return g},a0:function(){return d},qv:function(){return f},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(43529),l=n(54709),c=n(70355),u=n(15479);const __=a.__,_x=a._x,p=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,d="https://pinterest.com/anapinskywalker/",m="pinterest",h=__("Pinterest","jetpack"),f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,null,(0,r.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),g={title:h,description:__("Embed a Pinterest pin, board, or user.","jetpack"),icon:{src:f,foreground:(0,c.m)()},category:"embed",keywords:[_x("social","block search term","jetpack"),_x("pinboard","block search term","jetpack"),_x("pins","block search term","jetpack")],supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:s.Z,save:l.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&p.test(e.textContent),transform:e=>(0,i.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}]},example:{attributes:{url:d}},deprecated:[u.Z]}},54709:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;return(0,r.createElement)("a",{href:n},n)}},34098:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(96483),a=n(66094);function o(e){if(!a.Wh.test(e))return"";const t=(0,r.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}},98075:function(e,t,n){"use strict";n.d(t,{G:function(){return s},q:function(){return l}});var r=n(63226),a=n(86989),o=n.n(a),i=n(96483);const s=async()=>await o()({path:"/wpcom/v2/podcast-player/track-quantity"}),l=async e=>{let t,n,a,{url:s,guids:l=[],fetchEpisodeOptions:c=!1}=e;try{t=await o()({path:(0,i.addQueryArgs)("/wpcom/v2/podcast-player",{url:s,guids:l,"episode-options":c})})}catch(e){n=e}if(t)return{type:r.u,data:t};try{a=await o()({path:(0,i.addQueryArgs)("/oembed/1.0/proxy",{url:s})})}catch(e){}const u='<a href="'+s+'">'+s+"</a>";if(a&&a.html!==u)return{type:r.b};throw n}},30723:function(e,t,n){"use strict";var r=n(96483),a=n(24381);t.Z={url:{type:"string",validator:r.isUrl},selectedEpisodes:{type:"array",default:[]},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeTitle:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}}},77715:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(29431);const s=(0,r.memo)((e=>{let{playerId:t,title:n,cover:a,link:o,track:i,children:s,showEpisodeTitle:c,showCoverArt:u,showEpisodeDescription:p,colors:d}=e;return u||c||p?(0,r.createElement)("div",{className:"jetpack-podcast-player__header"},(0,r.createElement)("div",{className:"jetpack-podcast-player__current-track-info"},u&&a&&(0,r.createElement)("div",{className:"jetpack-podcast-player__cover"},(0,r.createElement)("img",{className:"jetpack-podcast-player__cover-image",src:a,alt:""})),c&&!!(n||i&&i.title)&&(0,r.createElement)(l,{playerId:t,title:n,link:o,track:i,colors:d})),!!(p&&i&&i.description)&&(0,r.createElement)("p",{id:`${t}__track-description`,className:"jetpack-podcast-player__track-description"},i.description),s):s})),l=(0,r.memo)((e=>{let{playerId:t,title:n,link:a,track:s,colors:l={primary:{name:null,custom:null,classes:""}}}=e;return(0,r.createElement)("h2",{id:`${t}__title`,className:"jetpack-podcast-player__title"},!(!s||!s.title)&&(0,r.createElement)("span",{className:o()("jetpack-podcast-player__current-track-title",l.primary.classes),style:{color:l.primary.custom}},s.title,(0,r.createElement)("a",{className:"jetpack-podcast-player__track-title-link",href:s.link||s.src,target:"_blank",rel:"noopener noreferrer nofollow"},i.Z)),!!(s&&s.title&&n)&&(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"}," - "),!!n&&(0,r.createElement)(c,{title:n,link:a,colors:l}))})),c=(0,r.memo)((e=>{let{title:t,link:n}=e;return(0,r.createElement)("span",{className:"jetpack-podcast-player__podcast-title"},n?(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:n,target:"_blank",rel:"noopener noreferrer nofollow"},t):{title:t})}));t.Z=s},39122:function(e,t,n){"use strict";var r=n(69307),a=n(97115),o=n(72862);const i=(0,r.memo)((e=>{let{playerId:t,tracks:n,selectTrack:i,currentTrack:s,playerState:l,colors:c}=e;return(0,r.createElement)("ol",{className:"jetpack-podcast-player__tracks","aria-labelledby":`jetpack-podcast-player__tracklist-title--${t}`,"aria-describedby":`jetpack-podcast-player__tracklist-description--${t}`},n.map(((e,t)=>{const n=s===t;return(0,r.createElement)(o.Z,{key:e.id,index:t,track:e,selectTrack:i,isActive:n,isPlaying:n&&l===a.Wp,isError:n&&l===a.Vy,colors:c})})))}));t.Z=i},71600:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(25158),u=n(94333),p=n(9818),d=n(97115),m=n(72752),h=n(39122),f=n(77715),g=n(66085),b=n(71540);const __=l.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{currentTrack:0,hasUserInteraction:!1}),a()(this,"recordUserInteraction",(()=>{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})})),a()(this,"selectTrack",(e=>{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&&this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)})),a()(this,"loadTrack",(e=>{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&&this.setState({currentTrack:e});const{title:n,link:r,description:a}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:n,link:r}),(0,c.speak)(
/* translators: %s is the track title. It describes the current state of the track as "Loading: [track title]". */
-`${(0,l.sprintf)(__("Loading: %s","jetpack"),n)} ${a}`,"assertive"),!0})),a()(this,"loadAndPlay",(e=>{this.recordUserInteraction(),this.loadTrack(e)&&this.props.playMediaSource(this.props.playerId)})),a()(this,"getTrack",(e=>this.props.tracks[e])),a()(this,"handleError",(e=>{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?"IE11: Playing sounds in webpages setting is not checked":e;this.setState((()=>{throw new Error(t)}))}this.props.errorMediaSource(this.props.playerId),(0,c.speak)(`${__("Error: Episode unavailable - Open in a new tab","jetpack")}`,"assertive")})),a()(this,"handlePlay",(()=>{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})})),a()(this,"handlePause",(()=>{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==d.Vy&&this.props.pauseMediaSource(this.props.playerId)})),a()(this,"handleTimeChange",(e=>{this.props.setMediaSourceCurrentTime(this.props.playerId,e)})),a()(this,"handleJump",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)})),a()(this,"handleSkip",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)})),a()(this,"updateMediaData",(e=>{this.props.updateMediaSourceData(this.props.playerId,{duration:e.target?.duration,domId:e.target?.id})}))}registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:d._5}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&&this.registerPlayer()}componentWillUnmount(){this.props.playerId&&this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=>e?.length?e.map((e=>e.guid)):[],n=t(this.props.tracks),r=new Set(t(e.tracks));n.length===r.size&&n.every((e=>r.has(e)))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length<=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:n,cover:r,tracks:a,attributes:i,currentTime:c,playerState:u}=this.props,{itemsToShow:p,primaryColor:d,customPrimaryColor:b,hexPrimaryColor:v,secondaryColor:k,customSecondaryColor:y,hexSecondaryColor:E,backgroundColor:w,customBackgroundColor:_,hexBackgroundColor:C,showCoverArt:j,showEpisodeTitle:S,showEpisodeDescription:x}=i,{currentTrack:T}=this.state,P=a.slice(0,p),N=this.getTrack(T),A=(0,g.Aq)({primaryColor:d,customPrimaryColor:b,secondaryColor:k,customSecondaryColor:y,backgroundColor:w,customBackgroundColor:_}),I={color:y,backgroundColor:_,"--jetpack-podcast-player-primary":v,"--jetpack-podcast-player-secondary":E,"--jetpack-podcast-player-background":C},B=s()("jetpack-podcast-player",u,A.secondary.classes,A.background.classes);return(0,o.createElement)("section",{className:B,style:I,"aria-labelledby":t||N&&N.title?`${e}__title`:void 0,"aria-describedby":N&&N.description?`${e}__track-description`:void 0,"data-jetpack-iframe-ignore":!0},(0,o.createElement)(f.Z,{playerId:e,title:t,link:n,cover:r,track:this.getTrack(T),showCoverArt:j,showEpisodeTitle:S,showEpisodeDescription:x,colors:A},(0,o.createElement)(m.Z,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(T).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:u,currentTime:c,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})),P.length>1&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h4",{id:`jetpack-podcast-player__tracklist-title--${e}`,className:"jetpack-podcast-player--visually-hidden"},(0,l.sprintf)(// translators: %s is the track title.
-__("Playlist: %s","jetpack"),t)),(0,o.createElement)("p",{id:`jetpack-podcast-player__tracklist-description--${e}`,className:"jetpack-podcast-player--visually-hidden"},__("Select an episode to play it in the audio player.","jetpack")),(0,o.createElement)(h.Z,{playerId:e,playerState:u,currentTrack:T,tracks:P,selectTrack:this.selectTrack,colors:A})))}}v.defaultProps={title:"",cover:"",link:"",attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]},t.Z=(0,u.compose)([b.Z,(0,p.withSelect)(((e,t)=>{const{playerId:n}=t,{getMediaSourceCurrentTime:r,getMediaPlayerState:a}=e(d.tT);return{currentTime:r(n),playerState:a(n)}})),(0,p.withDispatch)((e=>{const{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}=e(d.tT);return{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}}))])(v)},86852:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=(0,r.memo)((e=>{let{link:t,title:n,colors:o}=e;return(0,r.createElement)("div",{className:"jetpack-podcast-player__track-error"},__("Episode unavailable. ","jetpack"),t&&(0,r.createElement)("span",{className:o.secondary.classes,style:{color:o.secondary.custom}},(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:t,rel:"noopener noreferrer nofollow",target:"_blank"},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${(0,a.sprintf)(
+`${(0,l.sprintf)(__("Loading: %s","jetpack"),n)} ${a}`,"assertive"),!0})),a()(this,"loadAndPlay",(e=>{this.recordUserInteraction(),this.loadTrack(e)&&this.props.playMediaSource(this.props.playerId)})),a()(this,"getTrack",(e=>this.props.tracks[e])),a()(this,"handleError",(e=>{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?"IE11: Playing sounds in webpages setting is not checked":e;this.setState((()=>{throw new Error(t)}))}this.props.errorMediaSource(this.props.playerId),(0,c.speak)(`${__("Error: Episode unavailable - Open in a new tab","jetpack")}`,"assertive")})),a()(this,"handlePlay",(()=>{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})})),a()(this,"handlePause",(()=>{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==d.Vy&&this.props.pauseMediaSource(this.props.playerId)})),a()(this,"handleTimeChange",(e=>{this.props.setMediaSourceCurrentTime(this.props.playerId,e)})),a()(this,"handleJump",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)})),a()(this,"handleSkip",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)})),a()(this,"updateMediaData",(e=>{var t,n;this.props.updateMediaSourceData(this.props.playerId,{duration:null===(t=e.target)||void 0===t?void 0:t.duration,domId:null===(n=e.target)||void 0===n?void 0:n.id})}))}registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:d._5}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&&this.registerPlayer()}componentWillUnmount(){this.props.playerId&&this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=>null!=e&&e.length?e.map((e=>e.guid)):[],n=t(this.props.tracks),r=new Set(t(e.tracks));n.length===r.size&&n.every((e=>r.has(e)))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length<=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:n,cover:r,tracks:a,attributes:i,currentTime:c,playerState:u}=this.props,{itemsToShow:p,primaryColor:d,customPrimaryColor:b,hexPrimaryColor:v,secondaryColor:k,customSecondaryColor:y,hexSecondaryColor:E,backgroundColor:w,customBackgroundColor:_,hexBackgroundColor:C,showCoverArt:S,showEpisodeTitle:j,showEpisodeDescription:x}=i,{currentTrack:P}=this.state,T=a.slice(0,p),N=this.getTrack(P),A=(0,g.Aq)({primaryColor:d,customPrimaryColor:b,secondaryColor:k,customSecondaryColor:y,backgroundColor:w,customBackgroundColor:_}),I={color:y,backgroundColor:_,"--jetpack-podcast-player-primary":v,"--jetpack-podcast-player-secondary":E,"--jetpack-podcast-player-background":C},B=s()("jetpack-podcast-player",u,A.secondary.classes,A.background.classes);return(0,o.createElement)("section",{className:B,style:I,"aria-labelledby":t||N&&N.title?`${e}__title`:void 0,"aria-describedby":N&&N.description?`${e}__track-description`:void 0,"data-jetpack-iframe-ignore":!0},(0,o.createElement)(f.Z,{playerId:e,title:t,link:n,cover:r,track:this.getTrack(P),showCoverArt:S,showEpisodeTitle:j,showEpisodeDescription:x,colors:A},(0,o.createElement)(m.Z,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(P).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:u,currentTime:c,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})),T.length>1&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h4",{id:`jetpack-podcast-player__tracklist-title--${e}`,className:"jetpack-podcast-player--visually-hidden"},(0,l.sprintf)(// translators: %s is the track title.
+__("Playlist: %s","jetpack"),t)),(0,o.createElement)("p",{id:`jetpack-podcast-player__tracklist-description--${e}`,className:"jetpack-podcast-player--visually-hidden"},__("Select an episode to play it in the audio player.","jetpack")),(0,o.createElement)(h.Z,{playerId:e,playerState:u,currentTrack:P,tracks:T,selectTrack:this.selectTrack,colors:A})))}}v.defaultProps={title:"",cover:"",link:"",attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]},t.Z=(0,u.compose)([b.Z,(0,p.withSelect)(((e,t)=>{const{playerId:n}=t,{getMediaSourceCurrentTime:r,getMediaPlayerState:a}=e(d.tT);return{currentTime:r(n),playerState:a(n)}})),(0,p.withDispatch)((e=>{const{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}=e(d.tT);return{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}}))])(v)},46843:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=(0,r.memo)((e=>{let{link:t,title:n,colors:o}=e;return(0,r.createElement)("div",{className:"jetpack-podcast-player__track-error"},__("Episode unavailable. ","jetpack"),t&&(0,r.createElement)("span",{className:o.secondary.classes,style:{color:o.secondary.custom}},(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:t,rel:"noopener noreferrer nofollow",target:"_blank"},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${(0,a.sprintf)(
/* translators: %s is the title of the track. This text is visually hidden from the screen, but available to screen readers. */
-__("%s:","jetpack"),n)} `),__("Open in a new tab","jetpack"))))}));t.Z=o},71938:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(72086);const __=a.__,i=(0,r.memo)((e=>{let t,n,{isPlaying:a,isError:i,className:s}=e;i?(n="error",
+__("%s:","jetpack"),n)} `),__("Open in a new tab","jetpack"))))}));t.Z=o},96817:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(69650);const __=a.__,i=(0,r.memo)((e=>{let t,n,{isPlaying:a,isError:i,className:s}=e;i?(n="error",
/* translators: This is text to describe the current state. This will go
before the track title, such as "Error: [The title of the track]". */
t=__("Error:","jetpack")):a&&(n="playing",
/* translators: Text to describe the current state. This will go before the
track title, such as "Playing: [The title of the track]". */
-t=__("Playing:","jetpack"));const l=o[n];return l?(0,r.createElement)("span",{className:`${s} ${s}--${n}`},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${t} `),l):(0,r.createElement)("span",{className:s})}));t.Z=i},15020:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(71938),l=n(86852),c=n(74693);const __=i.__,u=(0,r.memo)((e=>{let{track:t,isActive:n,isPlaying:a,isError:i,selectTrack:u,index:p,colors:d={primary:{},secondary:{}}}=e;const m=(0,c.Gd)("color",d.primary.name),h=(0,c.Gd)("color",d.secondary.name),f=o()("jetpack-podcast-player__track",{"is-active":n,"has-primary":n&&(d.primary.name||d.primary.custom),[m]:n&&!!m,"has-secondary":!n&&(d.secondary.name||d.secondary.custom),[h]:!n&&!!h}),g={};n&&d.primary.custom&&!m?g.color=d.primary.custom:n||!d.secondary.custom||h||(g.color=d.secondary.custom);const
+t=__("Playing:","jetpack"));const l=o[n];return l?(0,r.createElement)("span",{className:`${s} ${s}--${n}`},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${t} `),l):(0,r.createElement)("span",{className:s})}));t.Z=i},72862:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(96817),l=n(46843),c=n(66085);const __=i.__,u=(0,r.memo)((e=>{let{track:t,isActive:n,isPlaying:a,isError:i,selectTrack:u,index:p,colors:d={primary:{},secondary:{}}}=e;const m=(0,c.Gd)("color",d.primary.name),h=(0,c.Gd)("color",d.secondary.name),f=o()("jetpack-podcast-player__track",{"is-active":n,"has-primary":n&&(d.primary.name||d.primary.custom),[m]:n&&!!m,"has-secondary":!n&&(d.secondary.name||d.secondary.custom),[h]:!n&&!!h}),g={};n&&d.primary.custom&&!m?g.color=d.primary.custom:n||!d.secondary.custom||h||(g.color=d.secondary.custom);const
/* translators: This needs to be a single word with no spaces. It describes
the current item in the group. A screen reader will announce it as "[title],
current track". */
-b=n?__("track","jetpack"):void 0;return(0,r.createElement)("li",{className:f,style:Object.keys(g).length?g:null},(0,r.createElement)("a",{className:"jetpack-podcast-player__link jetpack-podcast-player__track-link",href:t.link||t.src,role:"button","aria-current":b,onClick:e=>{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),u(p))},onKeyDown:e=>{" "===event.key&&(e.preventDefault(),u(p))}},(0,r.createElement)(s.Z,{className:"jetpack-podcast-player__track-status-icon",isPlaying:a,isError:i}),(0,r.createElement)("span",{className:"jetpack-podcast-player__track-title"},t.title),t.duration&&(0,r.createElement)("time",{className:"jetpack-podcast-player__track-duration",dateTime:t.duration},t.duration)),n&&i&&(0,r.createElement)(l.Z,{link:t.link,title:t.title,colors:d}))}));t.Z=u},56551:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(27538),a=n.n(r),o=n(69307),i=n(65736);const __=i.__;function s(e){class t extends o.Component{constructor(){super(...arguments),a()(this,"state",{didError:!1,isIE11AudioIssue:!1}),a()(this,"componentDidCatch",((e,t)=>{this.props.onError(e,t)}))}render(){const{didError:t,isIE11AudioIssue:n}=this.state;return t?(0,o.createElement)("section",{className:"jetpack-podcast-player"},(0,o.createElement)("p",{className:"jetpack-podcast-player__error"},n?__('The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s "Internet options" settings. In the "Advanced" tab you will have to check the box next to "Play sounds in webpages" in the "Multimedia" section. Once you have confirmed that the box is checked, please press "Apply" and then reload this page.',"jetpack"):__("An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.","jetpack",0))):(0,o.createElement)(e,this.props)}}return a()(t,"getDerivedStateFromError",(e=>({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)}))),t.defaultProps={onError:()=>{}},t}},12761:function(e,t,n){"use strict";n.d(t,{u:function(){return r},b:function(){return a}});const r="podcast-feed",a="embed-block"},90307:function(e,t,n){"use strict";var r=n(96483),a=n(68039);const o={url:{type:"string",validator:r.isUrl},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}};t.Z={attributes:o,supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},save:()=>null}},87315:function(e,t,n){"use strict";var r=n(69307),a=n(90922),o=n.n(a),i=n(92819),s=n(55609),l=n(94333),c=n(65736),u=n(52175),p=n(9818),d=n(4981),m=n(96483),h=n(14087),f=n(41820),g=n(58014),b=n(23600),v=n(58627),k=n(74693),y=n(45452),E=n(91763),w=n(71420),_=n(12761),C=n(87929);const __=c.__,j=o()("jetpack:podcast-player:edit"),S=(0,g.Wp)()||(0,g.Ug)()?"http://en.support.wordpress.com/wordpress-editor/blocks/podcast-player-block/":"https://jetpack.com/support/jetpack-blocks/podcast-player-block/";t.Z=(0,l.compose)([(0,p.withDispatch)(((e,t)=>{let{clientId:n,attributes:r}=t;return{replaceWithEmbedBlock(){e("core/block-editor").replaceBlock(n,(0,d.createBlock)("core/embed",{url:r.url}))}}})),(0,u.withColors)("backgroundColor",{primaryColor:"color"},{secondaryColor:"color"}),s.withNotices,l.withInstanceId,w.K])((e=>{let{instanceId:t,className:n,attributes:a,setAttributes:o,noticeOperations:{createErrorNotice:l,removeAllNotices:c},noticeUI:p,primaryColor:d,setPrimaryColor:g,secondaryColor:w,setSecondaryColor:x,fallbackTextColor:T,backgroundColor:P,setBackgroundColor:N,fallbackBackgroundColor:A,isSelected:I,replaceWithEmbedBlock:B}=e;const M=(0,h.S)(b.Z,a),{url:R,selectedEpisodes:L,itemsToShow:Z,showCoverArt:F,showEpisodeTitle:D,showEpisodeDescription:O,exampleFeedData:z}=M,U=`jetpack-podcast-player-block-${t}`,[$,V]=(0,r.useState)(!1),[G,H]=(0,r.useState)(10),q=(0,r.useRef)(),[{selectedGuid:W,checkUrl:K,...X},J]=(0,r.useReducer)(E.J,{editedUrl:R||"",isEditing:!R&&!z,isLoading:!1,feedData:z||{},isInteractive:!1,selectedGuid:L?.[0]?.guid,checkUrl:R||""}),Y=(0,r.useMemo)((()=>(0,i.debounce)((e=>{J({type:E.N.START_FETCH}),q.current?.cancel(),q.current=(0,k.W4)((0,y.q)({...e,fetchEpisodeOptions:!0})),q.current.promise.then((t=>{if(c(),t?.isCanceled)j("Block was unmounted during fetch",t);else switch(t?.type){case _.u:return o({url:e.url,selectedEpisodes:e.guids.map((e=>({guid:e})))}),J({type:E.N.FEED_RECEIVED,payload:t.data});case _.b:return B()}}),(e=>{e?.isCanceled?j("Block was unmounted during fetch",e):(j("feed error",e),c(),l(e.message||__("Your podcast couldn't be embedded. Please double check your URL.","jetpack")),J({type:E.N.START_EDITING}))}))}),300)),[B,o,l,c]);(0,r.useEffect)((()=>()=>{q?.current?.cancel?.()}),[]);const Q=(0,r.useCallback)((e=>{null===e||$||((0,C.DT)(["link#mediaelement-css","link#wp-mediaelement-css"],e),V(!0))}),[$]);(0,r.useEffect)((()=>{if(""!==K)return Y({url:K,guids:W?[W]:[]}),()=>q?.current?.cancel?.()}),[Y,K,W]),(0,r.useEffect)((()=>{(0,y.G)().then((e=>{H(e)}))}),[]),(0,r.useEffect)((()=>{W&&1!==Z&&o({itemsToShow:1})}),[W,Z,o]),(0,r.useEffect)((()=>{!I&&X.isInteractive&&J({type:E.N.PREVENT_INTERACTIONS})}),[I,X.isInteractive]);const ee=e=>{if(e.preventDefault(),""===X.editedUrl)return;const t=(0,m.prependHTTP)(X.editedUrl);(0,m.isURL)(t)?(t===K?(J({type:E.N.CLEAR_FEED}),Y({url:K,guids:L[0]?.guid?[L[0].guid]:[]})):J({type:E.N.CHECK_URL,payload:t}),J({type:E.N.FINISH_EDITING,payload:t})):l(__("Your podcast couldn't be embedded. Please double check your URL.","jetpack"))};if(X.isEditing)return(0,r.createElement)(s.Placeholder,{icon:(0,r.createElement)(u.BlockIcon,{icon:f.E}),label:__("Podcast Player","jetpack"),instructions:__("Enter your podcast RSS feed URL.","jetpack"),className:"jetpack-podcast-player__placeholder"},(0,r.createElement)("form",{onSubmit:ee},p,(0,r.createElement)(s.TextControl,{type:"text",inputMode:"url",placeholder:__("Enter URL here…","jetpack"),value:X.editedUrl,className:"components-placeholder__input",onChange:e=>J({type:E.N.EDIT_URL,payload:e})}),(0,r.createElement)(s.Button,{isPrimary:!0,type:"submit"},__("Embed","jetpack"))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(s.ExternalLink,{href:S},__("Learn more about embeds","jetpack"))));if(!X.feedData.tracks?.length)return(0,r.createElement)(s.Placeholder,{icon:(0,r.createElement)(u.BlockIcon,{icon:f.E}),label:__("Podcast Player","jetpack"),instructions:__("Loading podcast feed…","jetpack")},(0,r.createElement)(s.Spinner,null));const te=(e,t)=>n=>{o({[e]:n}),t(n)};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarButton,{"aria-label":__("Edit Podcast Feed URL","jetpack"),onClick:()=>J({type:E.N.START_EDITING})},__("Replace","jetpack")))),(0,r.createElement)(u.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Podcast settings","jetpack")},(s.ComboboxControl||0===L.length)&&(0,r.createElement)(s.RangeControl,{label:__("Number of items","jetpack"),value:Z,onChange:e=>o({itemsToShow:W?1:e}),min:1,max:G,required:!0,disabled:!!W}),s.ComboboxControl&&(0,r.createElement)(s.ComboboxControl,{className:"jetpack-podcast-player__episode-selector",value:W,onChange:e=>J({type:E.N.SELECT_EPISODE,payload:e}),options:X.feedData.options||[],label:__("Episode","jetpack"),onFilterValueChange:i.noop}),(0,r.createElement)(s.ToggleControl,{label:__("Show Cover Art","jetpack"),checked:F,onChange:e=>o({showCoverArt:e})}),(0,r.createElement)(s.ToggleControl,{label:__("Show Episode Title","jetpack"),checked:D,onChange:e=>o({showEpisodeTitle:e})}),(0,r.createElement)(s.ToggleControl,{label:__("Show Episode Description","jetpack"),checked:O,onChange:e=>o({showEpisodeDescription:e})})),(0,r.createElement)(u.PanelColorSettings,{title:__("Color Settings","jetpack"),colorSettings:[{value:d.color,onChange:te("hexPrimaryColor",g),label:__("Primary Color","jetpack")},{value:w.color,onChange:te("hexSecondaryColor",x),label:__("Secondary Color","jetpack")},{value:P.color,onChange:te("hexBackgroundColor",N),label:__("Background Color","jetpack")}]},(0,r.createElement)(u.ContrastChecker,{isLargeText:!1,textColor:w.color,backgroundColor:P.color,fallbackBackgroundColor:A,fallbackTextColor:T}))),(0,r.createElement)("div",{id:U,className:n,ref:Q},(0,r.createElement)(v.Z,{playerId:U,attributes:M,tracks:X.feedData.tracks,cover:X.feedData.cover,title:X.feedData.title,link:X.feedData.link}),!X.isInteractive&&!X.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__interactive-overlay",onMouseUp:()=>J({type:E.N.MAKE_INTERACTIVE})}),X.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__loading-overlay"},(0,r.createElement)(s.Spinner,null))))}))},41820:function(e,t,n){"use strict";n.d(t,{E:function(){return r.Z}});var r=n(95506)},76814:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.Z=o},95506:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,null,(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"})),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,null),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,{transform:"matrix(1 0 0 1 144 120)"},(0,r.createElement)(a.Path,{d:"M-122-114h-5v8.18c-0.31-0.11-0.65-0.18-1-0.18c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3v-9h3V-114 L-122-114z M-129-114h-12v2h12V-114L-129-114z M-129-110h-12v2h12V-110L-129-110z M-133-106h-8v2h8V-106L-133-106z M-129-103 c0-0.55,0.45-1,1-1c0.55,0,1,0.45,1,1s-0.45,1-1,1C-128.55-102-129-102.45-129-103z"})))))},72086:function(e,t,n){"use strict";n.r(t),n.d(t,{playing:function(){return i},error:function(){return s}});var r=n(69307),a=n(55609);const o={height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},i=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"})),s=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},58495:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p}});var r=n(65736),a=n(23600),o=n(90307),i=n(87315),s=n(99944),l=n(41820),c=n(57535);const __=r.__,_x=r._x,u="podcast-player",p={title:__("Podcast Player","jetpack"),description:__("Select and play episodes from a single podcast.","jetpack"),icon:{src:l.E,foreground:(0,c.m)()},category:"embed",keywords:[_x("audio","block search term","jetpack"),_x("embed","block search term","jetpack")],supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},edit:i.Z,save:s.Z,attributes:a.Z,example:{attributes:{customPrimaryColor:(0,c.m)(),hexPrimaryColor:(0,c.m)(),exampleFeedData:{title:__("Jetpack Example Podcast","jetpack"),link:"https://jetpack.com",cover:"https://jetpackme.files.wordpress.com/2020/05/jetpack-example-podcast-cover.png?w=160",tracks:[{id:"3",title:__("3. Our third episode","jetpack"),duration:"14:58"},{id:"2",title:__("2. Interview with a special guest","jetpack"),duration:"19:17"},{id:"1",title:__("1. Welcome to Example Podcast","jetpack"),duration:"11:25"}]}}},deprecated:[o.Z]}},99944:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;if(n&&""!==n)return(0,r.createElement)("a",{className:"jetpack-podcast-player__direct-link",href:n},n)}},91763:function(e,t,n){"use strict";n.d(t,{N:function(){return r},J:function(){return a}});const r={EDIT_URL:"EDIT_URL",FINISH_EDITING:"FINISH_EDITING",START_EDITING:"START_EDITING",SELECT_EPISODE:"SELECT_EPISODE",FEED_RECEIVED:"FEED_RECEIVED",CLEAR_FEED:"CLEAR_FEED",MAKE_INTERACTIVE:"MAKE_INTERACTIVE",PREVENT_INTERACTIONS:"PREVENT_INTERACTIONS",START_FETCH:"START_FETCH",CHECK_URL:"CHECK_URL"},a=(e,t)=>{switch(t.type){case r.EDIT_URL:return{...e,editedUrl:t.payload};case r.START_EDITING:return{...e,isEditing:!0,isLoading:!1};case r.FINISH_EDITING:return{...e,editedUrl:t.payload,isEditing:!1};case r.FEED_RECEIVED:return{...e,isLoading:!1,feedData:t.payload};case r.CLEAR_FEED:return{...e,feedData:{}};case r.MAKE_INTERACTIVE:return{...e,isInteractive:!0};case r.PREVENT_INTERACTIONS:return{...e,isInteractive:!1};case r.START_FETCH:return{...e,isLoading:!0};case r.SELECT_EPISODE:return{...e,selectedGuid:t.payload};case r.CHECK_URL:return{...e,selectedGuid:null,feedData:{},checkUrl:t.payload};default:return{...e}}}},74693:function(e,t,n){"use strict";n.d(t,{Gd:function(){return i},W4:function(){return s},Aq:function(){return l}});var r=n(89105),a=n.n(r),o=n(92819);function i(e,t){if(e&&t)return`has-${t}-${e}`}function s(e){let t=!1;return{promise:new Promise(((n,r)=>{e.then((e=>t?r({isCanceled:!0}):n(e)),(e=>r(t?{isCanceled:!0}:e)))})),cancel(){t=!0}}}const l=(0,o.memoize)((e=>{let{primaryColor:t,customPrimaryColor:n,secondaryColor:r,customSecondaryColor:o,backgroundColor:s,customBackgroundColor:l}=e;const c=i("color",t),u=i("color",r),p=i("background-color",s);return{primary:{name:t,custom:n,classes:a()({"has-primary":c||n,[c]:c})},secondary:{name:r,custom:o,classes:a()({"has-secondary":u||o,[u]:u})},background:{name:s,custom:l,classes:a()({"has-background":p||l,[p]:p})}}}),(e=>Object.values(e).join()))},59189:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"premium-content-wrapper"},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:["premium-content/subscriber-view","premium-content/logged-out-view"],templateLock:"all",template:[["premium-content/subscriber-view"],["premium-content/logged-out-view"]],__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))}},2963:function(e,t,n){"use strict";var r=n(69307);const a={selectedTab:{id:"",className:"",label:(0,r.createElement)(r.Fragment,null)},stripeNudge:null},o=(0,r.createContext)(a);t.Z=o},76136:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(55609),l=n(22607),c=n(7345),u=n(65736),p=n(29917),d=n(20361);const __=u.__;function m(e){const{selectedPlanId:t,onSelected:n,plans:r,getPlanDescription:u}=e,m=r.find((e=>e.id===t));let h=null;return m&&(h=" "+u(m)),(0,o.createElement)(i.BlockControls,null,(0,o.createElement)(s.ToolbarGroup,null,(0,o.createElement)(s.ToolbarItem,null,(()=>(0,o.createElement)(s.DropdownMenu,{icon:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.Z,{icon:c.Z})," ",h&&(0,o.createElement)(o.Fragment,null,h)),label:__("Select a plan","jetpack"),className:"premium-content-toolbar-button"},(t=>{let{onClose:r}=t;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.Z,a()({},e,{onSelected:n,onClose:r,selectedPlan:m})),(0,o.createElement)(d.Z,a()({},e,{onClose:r})))}))))))}},47322:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z"}),(0,r.createElement)(a.Circle,{cx:"12.7439",cy:"8.69796",r:"5.94466",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(a.Path,{d:"M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}))},61114:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(55609),o=n(52175),i=n(65736),s=n(17882);const __=i.__;function l(e){const[t,n]=(0,r.useState)(0),{attributes:i,setAttributes:l,className:c,savePlan:u,siteSlug:p}=e;return(0,r.createElement)(o.InspectorControls,null,p&&(0,r.createElement)(a.ExternalLink,{href:`https://wordpress.com/earn/payments/${p}`,className:"wp-block-premium-content-container---link-to-earn"},__("Manage your subscriptions.","jetpack")),(0,r.createElement)(a.PanelBody,{title:__("Add a new subscription","jetpack"),initialOpen:!0,className:`${c}---settings-add_plan`},1===t&&(0,r.createElement)(a.Placeholder,{icon:"lock",label:__("Premium Content","jetpack"),instructions:__("Saving plan…","jetpack")},(0,r.createElement)(a.Spinner,null)),0===t&&(0,r.createElement)("div",null,(0,r.createElement)(a.PanelRow,{className:"plan-name"},(0,r.createElement)(a.TextControl,{id:"new-plan-name",label:__("Name","jetpack"),value:i.newPlanName,onChange:e=>l({newPlanName:e})})),(0,r.createElement)(a.PanelRow,{className:"plan-price"},(0,r.createElement)(a.SelectControl,{label:__("Currency","jetpack"),onChange:e=>l({newPlanCurrency:e}),value:i.newPlanCurrency,options:s.Xy}),(0,r.createElement)(a.TextControl,{label:__("Price","jetpack"),value:i.newPlanPrice,onChange:e=>l({newPlanPrice:parseFloat(e)}),type:"number"})),(0,r.createElement)(a.PanelRow,{className:"plan-interval"},(0,r.createElement)(a.SelectControl,{label:__("Interval","jetpack"),onChange:e=>l({newPlanInterval:e}),value:i.newPlanInterval,options:[{label:__("Month","jetpack"),value:"1 month"},{label:__("Year","jetpack"),value:"1 year"}]})),(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isSecondary:!0,isLarge:!0,onClick:t=>{t.preventDefault(),n(1),u(e.attributes,(e=>{n(0),e&&(l({newPlanPrice:5}),l({newPlanName:""}))}))}},__("Add subscription","jetpack"))))))}},20361:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(9818),o=n(55609),i=n(65736);const __=i.__;function s(e){return(0,r.createElement)(o.MenuGroup,null,(0,r.createElement)(o.MenuItem,{onClick:t=>{t.preventDefault(),(0,a.select)("core/edit-post").isEditorSidebarOpened()||(0,a.dispatch)("core/edit-post").openGeneralSidebar("edit-post/block");const n=document.getElementById("new-plan-name");null!==n&&n.focus(),e.onClose()}},__("Add a new subscription","jetpack")))}},61556:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(55609);function o(e){const{className:t,plan:n,selectedPlan:o,onSelected:i,onClose:s,getPlanDescription:l}=e,c=o&&n.id===o.id,u=(c?["is-selected"]:[]).concat([t]).join(" "),p=c?"yes":void 0;let d=null;return n&&(d=" "+l(n)),(0,r.createElement)(a.MenuItem,{onClick:e=>{e.preventDefault(),i(n),s()},className:u,key:n.id,value:n.id,selected:c,icon:p},n.title," : ",d)}},29917:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(29183),a=n.n(r),o=n(69307),i=n(55609),s=n(61556);function l(e){const{plans:t,selectedPlan:n,onSelected:r}=e;return(0,o.createElement)(i.MenuGroup,null,t.map((t=>(0,o.createElement)(s.Z,a()({},e,{key:t.id,selectedPlan:n,onSelected:r,plan:t})))))}},34411:function(e,t,n){"use strict";n.d(t,{W:function(){return a},H:function(){return o}});var r=n(9818);const a=e=>0===e.name.indexOf("premium-content/")||e.innerBlocks.some(a),o=e=>{const{getBlocksByClientId:t,getBlockParents:n}=(0,r.select)("core/block-editor");return!!t(n(e.clientId)).find((e=>0===e.name.indexOf("premium-content/")))}},97894:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(94333),i=n(9818),s=n(65736),l=n(92694);const __=s.__,c=["core/button","jetpack/recurring-payments","premium-content/login-button"];t.Z=(0,o.compose)([(0,i.withSelect)(((e,t)=>({subscribeButton:e("core/block-editor").getBlock(t.clientId).innerBlocks.find((e=>"jetpack/recurring-payments"===e.name))}))),(0,i.withDispatch)(((e,t)=>({setSubscribeButtonPlan(n){e("core/block-editor").updateBlockAttributes(t.subscribeButton.clientId,{planId:n})}})))])((function(e){let{context:t,subscribeButton:n,setSubscribeButtonPlan:o}=e;const i=t?t["premium-content/planId"]:null,s=!!t&&t["premium-content/isPreview"],u=[["core/button",{element:"a",uniqueId:"recurring-payments-id",text:__("Subscribe","jetpack")}],["premium-content/login-button"]],p=[["jetpack/recurring-payments",{planId:i},[["jetpack/button",{element:"a",uniqueId:"recurring-payments-id",text:__("Subscribe","jetpack")}]]],["premium-content/login-button"]];(0,r.useEffect)((()=>{i&&n&&n.attributes.planId!==i&&o(i)}),[i,n,o]),(0,r.useEffect)((()=>{n&&(0,l.addFilter)("jetpack.RecurringPayments.showControls","jetpack/premium-content-hide-recurring-payments-controls",((e,t)=>t!==n.clientId&&e))}),[n]);const d=(0,a.useBlockProps)({className:"wp-block-buttons"});return(0,r.createElement)("div",d,(0,r.createElement)(a.InnerBlocks,{allowedBlocks:c,template:s?u:p,templateInsertUpdatesSelection:!1,__experimentalLayout:{type:"default",alignments:[]},__experimentalMoverDirection:"horizontal"}))}))},46157:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(15284),i=n(52175),s=n(97894),l=n(71586);const __=a.__,c="premium-content/buttons",u={apiVersion:2,title:__("Premium Content buttons","jetpack"),description:__("Prompt Premium Content visitors to take action with a group of button-style links.","jetpack"),category:"grow",icon:o.Z,supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},keywords:[__("link","jetpack")],edit:s.Z,save:l.Z,usesContext:["premium-content/planId","premium-content/isPreview"],deprecated:[{attributes:{},supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-buttons"},(0,r.createElement)(i.InnerBlocks.Content,null))}]}},71586:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){const e=a.useBlockProps.save({className:"wp-block-buttons"});return(0,r.createElement)("div",e,(0,r.createElement)(a.InnerBlocks.Content,null))}},86633:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(55609),s=n(52175),l=n(65736),c=n(94333),u=n(9818),p=n(96483),d=n(78850),m=n(86989),h=n.n(m),f=n(59189),g=n(76136),b=n(61114),v=n(2963),k=n(51591),y=n(17882),E=n(2368),w=n(37930);const __=l.__,_=[{id:"premium",label:(0,o.createElement)("span",null,__("Subscriber View","jetpack")),className:"wp-premium-content-subscriber-view"},{id:"wall",label:(0,o.createElement)("span",null,__("Non-subscriber View","jetpack")),className:"wp-premium-content-logged-out-view"}],C=[];function j(e){const[t,n]=(0,o.useState)(_[1]),[r,c]=(0,o.useState)(!1),[u,m]=(0,o.useState)(C),[j,x]=(0,o.useState)(null),[T,P]=(0,o.useState)(0),[N,A]=(0,o.useState)(!1),[I,B]=(0,o.useState)(""),{isPreview:M}=e.attributes;function R(t,n){if(!t.newPlanName||0===t.newPlanName.length)return S(e,__("Plan requires a name","jetpack")),void n(!1);const r=parseFloat(t.newPlanPrice),a=(0,y.hj)(t.newPlanCurrency),o=(0,l.sprintf)(// translators: %s: Price
-__("Minimum allowed price is %s.","jetpack"),(0,d.ZP)(a,t.newPlanCurrency));if(r<a)return S(e,o),void n(!1);if(!(0,y.vs)(t.newPlanCurrency,r))return S(e,__("Plan requires a valid price","jetpack")),void n(!1);const i={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:t.newPlanCurrency,price:t.newPlanPrice,title:t.newPlanName,interval:t.newPlanInterval}};h()(i).then((t=>{const r={id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency};m(u.concat([r])),L(r),function(e,t){e.createSuccessNotice(t,{type:"snackbar"})}(e,__("Successfully created plan","jetpack")),n&&n(!0)}),(()=>{S(e,__("There was an error when adding the plan.","jetpack")),n&&n(!1)}))}function L(t){e.setAttributes({selectedPlanId:t.id})}const Z=(0,o.useRef)(null);!function(e,t){function n(n){e.current&&n.target&&n.target instanceof Node&&!e.current.contains(n.target)?t(!1):t(!0)}(0,o.useEffect)((()=>(document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)})))}(Z,c);const{isSelected:F,className:D}=e;(0,o.useEffect)((()=>{if(M)return;const t=(0,p.getQueryArg)(window.location.href,"origin"),n={path:(0,p.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===t?"gutenberg-wpcom":"gutenberg"}),method:"GET"};h()(n).then((t=>{if(t||"object"==typeof t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return P(2),void S(e,Object.values(t.errors)[0][0]);x((0,E.Z)(e.postId,t.connect_url)),A(t.should_upgrade_to_access_memberships),B(t.site_slug),t.products&&0===t.products.length&&!t.should_upgrade_to_access_memberships&&t.connected_account_id?R({newPlanCurrency:"USD",newPlanPrice:5,newPlanName:__("Monthly Subscription","jetpack"),newPlanInterval:"1 month"},(()=>{P(t.connected_account_id?1:2)})):(t.products&&t.products.length>0&&(m(t.products),e.attributes.selectedPlanId||L(t.products[0])),P(t.connected_account_id?1:2))}}),(t=>{x(null),P(2),S(e,t.message)})),setTimeout((()=>e.selectBlock()),1e3)}),[]);const{autosaveAndRedirect:O}=(0,w.Z)(j);return 0!==T||M?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.BlockControls,null,!N&&1!==T&&j&&(0,o.createElement)(i.ToolbarGroup,null,(0,o.createElement)(i.ToolbarButton,{icon:k.Pw,onClick:O,className:"connect-stripe components-tab-button"},__("Connect Stripe","jetpack"))),(0,o.createElement)(i.ToolbarGroup,null,(0,o.createElement)(i.ToolbarButton,{onClick:()=>{n(_[1])},className:"components-tab-button",isPressed:"wp-premium-content-logged-out-view"===t.className},(0,o.createElement)("span",null,__("Visitor View","jetpack"))),(0,o.createElement)(i.ToolbarButton,{onClick:()=>{n(_[0])},className:"components-tab-button",isPressed:"wp-premium-content-logged-out-view"!==t.className},(0,o.createElement)("span",null,__("Subscriber View","jetpack"))))),(0,o.createElement)("div",{className:D,ref:Z},(F||r)&&1===T&&(0,o.createElement)(g.Z,a()({},e,{plans:u,selectedPlanId:e.attributes.selectedPlanId,onSelected:L,getPlanDescription:function(e){const t=(0,d.ZP)(parseFloat(e.price),e.currency);return"1 month"===e.interval?(0,l.sprintf)(// translators: %s: amount
-__("%s / month","jetpack"),t):"1 year"===e.interval?(0,l.sprintf)(// translators: %s: amount
-__("%s / year","jetpack"),t):"one-time"===e.interval?t:(0,l.sprintf)(// translators: %s: amount, plan interval
-__("%1$s / %2$s","jetpack"),t,e.interval)}})),(F||r)&&1===T&&(0,o.createElement)(b.Z,a()({},e,{savePlan:R,siteSlug:I})),(0,o.createElement)(v.Z.Provider,{value:{selectedTab:t}},(0,o.createElement)(f.Z,null)))):(0,o.createElement)("div",{className:D,ref:Z},(0,o.createElement)(i.Placeholder,{icon:"lock",label:__("Premium Content","jetpack"),instructions:__("Loading data…","jetpack")},(0,o.createElement)(i.Spinner,null)))}function S(e,t){e.createErrorNotice(t,{type:"snackbar"})}t.Z=(0,c.compose)([(0,u.withSelect)((e=>{const{getCurrentPostId:t}=e("core/editor");return{postId:t()}})),(0,u.withDispatch)(((e,t)=>{const n=e("core/block-editor"),r=e("core/notices");return{selectBlock(){n.selectBlock(t.clientId)},createErrorNotice:r.createErrorNotice,createSuccessNotice:r.createSuccessNotice}}))])((function(e){return(0,o.createElement)(i.Disabled.Consumer,null,(t=>(0,o.createElement)(j,a()({},e,{attributes:{...e.attributes,isPreview:t||e.attributes?.isPreview}}))))}))},98034:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(65736),a=n(4981),o=n(86633),i=n(77940),s=n(47322),l=n(34411);const __=r.__,_x=r._x,c="premium-content/container",u={title:__("Premium Content","jetpack"),description:__("Restrict access to your content for paying subscribers.","jetpack"),icon:s.Z,category:"grow",keywords:[_x("paywall","keyword","jetpack"),_x("paid","keyword","jetpack"),_x("subscribe","keyword","jetpack"),_x("membership","keyword","jetpack")],attributes:{newPlanName:{type:"string",default:__("Monthly Subscription","jetpack")},newPlanCurrency:{type:"string",default:"USD"},newPlanPrice:{type:"number",default:5},newPlanInterval:{type:"string",default:"1 month"},selectedPlanId:{type:"number",default:0},isPreview:{type:"boolean",default:!1},isPremiumContentChild:{type:"bool",default:!0}},edit:o.Z,save:i.Z,providesContext:{"premium-content/planId":"selectedPlanId","premium-content/isPreview":"isPreview",isPremiumContentChild:"isPremiumContentChild"},supports:{html:!1},example:{attributes:{isPreview:!0}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(e.some(l.W))return;if((0,l.H)(e[0]))return;const t=e.map((e=>(0,a.createBlock)(e.name,e.attributes,e.innerBlocks)));return(0,a.createBlock)("premium-content/container",{},[(0,a.createBlock)("premium-content/subscriber-view",{},t),(0,a.createBlock)("premium-content/logged-out-view")])}}]}}},93068:function(e,t,n){"use strict";var r=n(25905),a=n(9109);t.Z=[r.Z,a.Z]},25905:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(52175);t.Z={attributes:{subscribeButtonText:{type:"string",default:"Subscribe"},loginButtonText:{type:"string",default:"Log In"},buttonClasses:{type:"string",default:""},backgroundButtonColor:{type:"string",default:""},textButtonColor:{type:"string",default:""},customBackgroundButtonColor:{type:"string",default:""},customTextButtonColor:{type:"string",default:""}},isEligible:e=>{let{buttonClasses:t}=e;return!!t},migrate:(e,t)=>{if(Array.isArray(t))for(let n=0;n<t.length;n++)if(t[n].name&&"premium-content/buttons"===t[n].name)return[e,[...t]];const n=(0,a.createBlock)("premium-content/buttons",{},[(0,a.createBlock)("jetpack/recurring-payments",{submitButtonText:e.subscribeButtonText,backgroundButtonColor:e.backgroundButtonColor,textButtonColor:e.textButtonColor,customBackgroundButtonColor:e.customBackgroundButtonColor,customTextButtonColor:e.customTextButtonColor}),(0,a.createBlock)("premium-content/login-button",{text:e.loginButtonText,backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,style:{color:{background:e.customBackgroundButtonColor,text:e.customTextButtonColor}}})]);return[e,[...t,n]]},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view"},(0,r.createElement)(o.InnerBlocks.Content,null))}},9109:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{},supports:{inserter:!1,html:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view"})}},43279:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65736),i=n(9818),s=n(94333),l=n(2963);const __=o.__;t.Z=(0,s.compose)((0,i.withSelect)((e=>{const{getBlockParents:t,getSelectedBlockClientId:n}=e("core/block-editor"),r=t(n());return{parentClientId:r.length?r[r.length-1]:void 0}})))((function(e){let{parentClientId:t,isSelected:n}=e;const{selectBlock:o}=(0,i.useDispatch)("core/block-editor");return(0,r.useEffect)((()=>{n&&o(t)}),[o,n,t]),(0,r.createElement)(l.Z.Consumer,null,(e=>{let{selectedTab:t,stripeNudge:n}=e;return(0,r.createElement)("div",{hidden:"premium"===t.id,className:t.className},n,(0,r.createElement)(a.InnerBlocks,{templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/heading",{content:__("Subscribe to get access","jetpack"),level:3}],["core/paragraph",{content:__("Read more of this content when you subscribe today.","jetpack")}],["premium-content/buttons"]]}))}))}))},76883:function(e,t,n){"use strict";n.d(t,{u:function(){return p},X:function(){return d}});var r=n(43279),a=n(54222),o=n(93068),i=n(47322),s=n(94333),l=n(9818),c=n(65736),u=n(72629);const __=c.__,p="premium-content/logged-out-view",d={title:__("Logged Out View","jetpack"),description:__("The container for all content shown to site visitors who are not subscribers.","jetpack"),icon:i.Z,category:"grow",parent:["premium-content/container"],supports:{inserter:!1,html:!1},edit:r.Z,save:a.Z,deprecated:o.Z},m=(0,l.subscribe)((()=>{const e=(0,l.select)("core/rich-text").getFormatType("core/link");if(!e)return;m(),(0,u.unregisterFormatType)("core/link");const t=(0,s.compose)((0,l.withSelect)((e=>({selectedBlock:e("core/block-editor").getSelectedBlock()}))),(0,s.ifCondition)((e=>e.selectedBlock&&e.selectedBlock.name!==p)))(e.edit);(0,u.registerFormatType)("core/link",{...e,edit:t})}))},54222:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view entry-content"},(0,r.createElement)(a.InnerBlocks.Content,null))}},43110:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={text:{type:"string",source:"html",selector:"a",default:__("Log in","jetpack")},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}}},19398:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(9818),s=n(52175);const __=o.__,l="web"===r.Platform.OS;const c=e=>{if(!(0,a.isObject)(e))return e;const t=(0,a.pickBy)((0,a.mapValues)(e,c),a.identity);return(0,a.isEqual)(t,{})?void 0:t};function u(e){let{settings:t,clientId:n,enableContrastChecking:a=!0}=e;const{getComputedStyle:o,Node:i}=window,[c,u]=(0,r.useState)(),[p,d]=(0,r.useState)(),m=l?__("Color settings","jetpack"):__("Color Settings","jetpack",0);return(0,r.useEffect)((()=>{if(l&&!a)return;const e=function(e){return document.getElementById("block-"+e)}(n);if(!e)return;d(o(e).color);let t=e,r=o(t).backgroundColor;for(;"rgba(0, 0, 0, 0)"===r&&t.parentNode&&t.parentNode.nodeType===i.ELEMENT_NODE;)t=t.parentNode,r=o(t).backgroundColor;u(r)})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(s.__experimentalPanelColorGradientSettings,{title:m,initialOpen:!1,settings:t},l&&a&&(0,r.createElement)(s.ContrastChecker,{backgroundColor:c,textColor:p})))}t.Z=function(e){const{attributes:t}=e,{colors:n,gradients:a}=(0,i.useSelect)((e=>e("core/block-editor").getSettings()),[]),o=(0,r.useRef)(t);(0,r.useEffect)((()=>{o.current=t}),[t]);const{style:l,textColor:p,backgroundColor:d,gradient:m}=t;let h;h=m?(0,s.getGradientValueBySlug)(a,m):l?.color?.gradient;const f=t=>r=>{const a=(0,s.getColorObjectByColorValue)(n,r),i=t+"Color",l={...o.current.style,color:{...o.current?.style?.color,[t]:a?.slug?void 0:r}},u=a?.slug?a.slug:void 0,p={style:c(l),[i]:u};e.setAttributes(p),o.current={...o.current,...p}};return(0,r.createElement)(u,{enableContrastChecking:!m&&!l?.color?.gradient,clientId:e.clientId,settings:[{label:__("Text Color","jetpack"),onColorChange:f("text"),colorValue:(0,s.getColorObjectByAttributeValues)(n,p,l?.color?.text).color},{label:__("Background Color","jetpack"),onColorChange:f("background"),colorValue:(0,s.getColorObjectByAttributeValues)(n,d,l?.color?.background).color,gradientValue:h,onGradientChange:t=>{const n=(0,s.getGradientSlugByValue)(a,t);let r;if(n){const e={...o.current?.style,color:{...o.current?.style?.color,gradient:void 0}};r={style:c(e),gradient:n}}else{const e={...o.current?.style,color:{...o.current?.style?.color,gradient:t}};r={style:c(e),gradient:void 0}}e.setAttributes(r),o.current={...o.current,...r}}}]})}},97209:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89105),a=n.n(r),o=n(52175);function i(e){const{backgroundColor:t,textColor:n,gradient:r,style:i}=e,s=(0,o.getColorClassName)("background-color",t),l=(0,o.__experimentalGetGradientClass)(r),c=(0,o.getColorClassName)("color",n),u=a()(c,l,{[s]:!i?.color?.gradient&&!!s,"has-text-color":n||i?.color?.text,"has-background":t||i?.color?.background||r||i?.color?.gradient});return{className:u||void 0,style:i?.color?.background||i?.color?.text||i?.color?.gradient?{background:i?.color?.gradient?i.color.gradient:void 0,backgroundColor:i?.color?.background?i.color.background:void 0,color:i?.color?.text?i.color.text:void 0}:{}}}},48186:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(65736),l=n(97209);const __=s.__;t.Z={attributes:{text:{type:"string",source:"html",selector:"a",default:__("Log in","jetpack")},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},save:e=>{let{attributes:t}=e;const{borderRadius:n,text:a}=t,s=(0,l.Z)(t),c=o()("wp-block-button__link",s.className,{"no-border-radius":0===n}),u={borderRadius:n?n+"px":void 0,...s.style};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:c,style:u,value:a}))}}},87909:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(19398),u=n(97209);const __=i.__;function p(e){let{borderRadius:t="",setAttributes:n}=e;const a=(0,r.useCallback)((e=>{n({borderRadius:e})}),[n]);return(0,r.createElement)(s.PanelBody,{title:__("Border settings","jetpack")},(0,r.createElement)(s.RangeControl,{value:t,label:__("Border radius","jetpack"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:a}))}t.Z=function(e){const{attributes:t,setAttributes:n,className:a}=e,{borderRadius:i,text:s}=t,d=(0,u.Z)(t),m=(0,l.useBlockProps)({className:"wp-block-button"});return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",m,(0,r.createElement)(l.RichText,{placeholder:__("Add text…","jetpack"),value:s,onChange:e=>n({text:e}),withoutInteractiveFormatting:!0,className:o()(a,"wp-block-button__link",d.className,{"no-border-radius":0===i}),style:{borderRadius:i?i+"px":void 0,...d.style}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.Z,e),(0,r.createElement)(p,{borderRadius:i,setAttributes:n})))}},37436:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(15284),a=n(65736),o=n(87909),i=n(54662),s=n(43110),l=n(48186);const __=a.__,c="premium-content/login-button",u={title:__("Premium Content login button","jetpack"),description:__("Prompt subscriber visitors to log in with a button-style link (only visible for logged out users).","jetpack"),category:"grow",attributes:s.Z,icon:r.Z,keywords:[__("link","jetpack")],supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],edit:o.Z,save:i.Z,deprecated:[l.Z]}},54662:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(97209);function l(e){let{attributes:t}=e;const{borderRadius:n,text:a,align:l}=t,c=(0,s.Z)(t),u=o()("wp-block-button","wp-block-premium-content-login-button",{alignleft:"left"===l},{aligncenter:"center"===l},{alignright:"right"===l}),p=o()("wp-block-button__link",c.className,{"no-border-radius":0===n}),d={borderRadius:n?n+"px":void 0,...c.style},m=i.useBlockProps.save({className:u});return(0,r.createElement)("div",m,(0,r.createElement)(i.RichText.Content,{tagName:"a",className:p,style:d,value:a}))}},77940:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-container"},(0,r.createElement)(a.InnerBlocks.Content,null))}},37915:function(e,t,n){"use strict";var r=n(54682);t.Z=[r.Z]},54682:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{},supports:{inserter:!1,html:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-subscriber-view"})}},6627:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65736),i=n(9818),s=n(94333),l=n(2963);const __=o.__;t.Z=(0,s.compose)([(0,i.withSelect)(((e,t)=>{const{getBlockParents:n,getSelectedBlockClientId:r}=e("core/block-editor"),a=n(r());return{parentClientId:a.length?a[a.length-1]:void 0,hasInnerBlocks:!!e("core/block-editor").getBlocksByClientId(t.clientId)[0].innerBlocks.length}}))])((function(e){let{hasInnerBlocks:t,parentClientId:n,isSelected:o}=e;const{selectBlock:s}=(0,i.useDispatch)("core/block-editor");return(0,r.useEffect)((()=>{o&&s(n)}),[s,o,n]),(0,r.createElement)(l.Z.Consumer,null,(e=>{let{selectedTab:n,stripeNudge:o}=e;return(0,r.createElement)("div",{hidden:"wall"===n.id,className:n.className},o,(0,r.createElement)(a.InnerBlocks,{renderAppender:!t&&a.InnerBlocks.ButtonBlockAppender,templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/heading",{content:__("Subscriber Content","jetpack"),level:3}],["core/paragraph",{content:__("Add content here that will only be visible to your subscribers.","jetpack")}]]}))}))}))},24720:function(e,t,n){"use strict";n.d(t,{u:function(){return l},X:function(){return c}});var r=n(6627),a=n(2718),o=n(37915),i=n(47322),s=n(65736);const __=s.__,l="premium-content/subscriber-view",c={title:__("Subscriber View","jetpack"),description:__("The container for all content shown to subscribers.","jetpack"),icon:i.Z,category:"grow",attributes:{},edit:r.Z,save:a.Z,parent:["premium-content/container"],supports:{inserter:!1,html:!1},deprecated:o.Z}},2718:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-subscriber-view entry-content"},(0,r.createElement)(a.InnerBlocks.Content,null))}},96440:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(55609),l=n(39630);const __=o.__,c=e=>{let{id:t,setRating:n,children:a}=e;return(0,r.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(o=t,e=>{let{keyCode:t}=e;return t===l.ENTER?n(o):null}),onClick:(e=>()=>n(e))(t)},a);var o};t.Z=e=>function(t){let{className:n,setAttributes:o,attributes:{align:l,color:u,rating:p,maxRating:d}}=t;const m=e=>{e===p?Math.ceil(p)===p&&(e-=.5):.5===p&&1===e&&(e=0),o({rating:e})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(i.AlignmentToolbar,{value:l,onChange:e=>o({align:e})})),(0,r.createElement)("div",{className:n,style:{textAlign:l}},(0,a.range)(1,d+1).map((t=>(0,r.createElement)(c,{key:t,id:t,setRating:m},(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t-.5?null:"is-rating-unfilled",color:u})),(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t?null:"is-rating-unfilled",color:u})))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.RangeControl,{label:__("Highest rating","jetpack"),value:d,onChange:e=>o({maxRating:e}),min:2,max:10}),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:u,onChange:e=>o({color:e}),label:__("Color","jetpack")}]}))))}},9615:function(e,t,n){"use strict";n.d(t,{d:function(){return o},r:function(){return i}});var r=n(69307),a=n(55609);const o=()=>(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"})),i=e=>{const t=(e=>e&&e.color?e.color:"currentColor")(e),n=(e=>e&&e.className?e.className:"")(e);return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},(0,r.createElement)(a.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))}},84807:function(e,t,n){"use strict";n.d(t,{u:function(){return l},X:function(){return c}});var r=n(65736),a=n(96440),o=n(2027),i=n(9615),s=n(57535);const __=r.__,_x=r._x,l="rating-star",c={title:__("Star Rating","jetpack"),description:__("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:{src:i.d,foreground:(0,s.m)()},keywords:[_x("star","block search term","jetpack"),_x("rating","block search term","jetpack"),_x("review","block search term","jetpack")],category:"widgets",example:{},styles:[{name:"filled",label:_x("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:_x("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:(0,a.Z)(i.r),save:(0,o.Z)("★")}},2027:function(e,t,n){"use strict";var r=n(69307),a=n(92819);t.Z=e=>function(t){let{className:n,attributes:{align:o,rating:i,color:s}}=t;return(0,r.createElement)("figure",{className:n,style:{textAlign:o}},(0,a.range)(1,i+1).map((t=>(0,r.createElement)("span",{key:t,style:{color:s}},e))))}},79642:function(e,t,n){"use strict";n.d(t,{G:function(){return u},J:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(51591),s=n(48721),l=n(4235),c=n(37930);const __=a.__;function u(e){let{attributes:{planId:t},products:n,setMembershipAmount:a}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Payment plan","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Payment plan","jetpack"),value:t,onChange:e=>a(e),options:n.map((e=>({label:(0,s.C)(e),value:e.id,key:e.id})))})),(0,r.createElement)(o.PanelBody,{title:__("Management","jetpack")},(0,r.createElement)(o.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,l.Z)()}`},__("See your earnings, subscriber list, and payment plans.","jetpack"))))}function p(e){let{connected:t,connectURL:n,hasUpgradeNudge:a,shouldUpgrade:s}=e;const{autosaveAndRedirect:l}=(0,c.Z)(n);return(0,r.createElement)(r.Fragment,null,!a&&!s&&!t&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:i.Pw,onClick:l,className:"connect-stripe components-tab-button"},__("Connect Stripe","jetpack"))))}},2235:function(e,t,n){"use strict";var r=n(92819),a=n(4981);const o=["submitButtonText","submitButtonClasses","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},submitButtonClasses:{type:"string"},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},migrate:e=>{const t=(0,r.omit)(e,o),n={text:(i=e).submitButtonText,textColor:i.textButtonColor,customTextColor:i.customTextButtonColor,backgroundColor:i.backgroundButtonColor,customBackgroundColor:i.customBackgroundButtonColor};var i;return[t,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"recurring-payments-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,o),Boolean),save:()=>null}},39035:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(86989),c=n.n(l),u=n(65736),p=n(78850),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(92694),b=n(21409),v=n(17882),k=n(2368),y=n(82163),E=n(79642),w=n(48721);const __=u.__;class _ extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e={path:"/wpcom/v2/memberships/status",method:"GET"};c()(e).then((e=>{if(e.errors&&Object.values(e.errors)&&Object.values(e.errors)[0][0])return this.setState({connected:null,connectURL:2}),void this.onError(Object.values(e.errors)[0][0]);const{connect_url:t,products:n,should_upgrade_to_access_memberships:r,upgrade_url:a}=e,o=e.connected_account_id?1:2;this.setState({connected:o,connectURL:t,shouldUpgrade:r,upgradeURL:a,products:(0,y.ME)(n)})}),(e=>{this.setState({connected:2,connectURL:null}),this.onError(e.message)}))})),a()(this,"handleCurrencyChange",(e=>{let t=this.state.editedProductPrice;(0,v.vs)(e,t)||(t=(0,w.w)((0,v.hj)(e),e)),this.setState({editedProductCurrency:e,editedProductPrice:t,editedProductPriceValid:!0})})),a()(this,"handleRenewIntervalChange",(e=>this.setState({editedProductRenewInterval:e}))),a()(this,"handlePriceChange",(e=>{const t=parseFloat(e),n=(0,v.vs)(this.state.editedProductCurrency,t);this.setState({editedProductPrice:t,editedProductPriceValid:n})})),a()(this,"handleTitleChange",(e=>this.setState({editedProductTitle:e,editedProductTitleValid:e.length>0}))),a()(this,"saveProduct",(()=>{if(!this.state.editedProductTitle||0===this.state.editedProductTitle.length)return void this.setState({editedProductTitleValid:!1});if(!this.state.editedProductPrice||!(0,v.vs)(this.state.editedProductCurrency,this.state.editedProductPrice))return void this.setState({editedProductPriceValid:!1});this.setState({addingMembershipAmount:2});const e={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:this.state.editedProductCurrency,price:this.state.editedProductPrice,title:this.state.editedProductTitle,interval:this.state.editedProductRenewInterval}};c()(e).then((e=>{this.setState({addingMembershipAmount:0,products:this.state.products.concat([{id:e.id,title:e.title,interval:e.interval,price:e.price,currency:e.currency}])}),this.setMembershipAmount(e.id)}),(e=>{this.setState({addingMembershipAmount:1}),this.onError(e.message)}))})),a()(this,"renderAddMembershipAmount",(e=>{if(0===this.state.addingMembershipAmount&&!e)return(0,o.createElement)(h.Button,{isPrimary:!0,isLarge:!0,onClick:()=>this.setState({addingMembershipAmount:1})},__("Add a payment plan","jetpack"));if(2===this.state.addingMembershipAmount)return;const t=(0,p.ZP)((0,v.hj)(this.state.editedProductCurrency),this.state.editedProductCurrency),n=(0,u.sprintf)(
-/* translators: placeholder is a price. */
-__("Minimum allowed price is %s.","jetpack"),t);return(0,o.createElement)("div",null,(0,o.createElement)("div",{className:"membership-button__price-container"},(0,o.createElement)(h.SelectControl,{className:"membership-button__field membership-button__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:v.Xy,value:this.state.editedProductCurrency}),(0,o.createElement)("div",{className:"membership-membership-button__field membership-button__field-price"},(0,o.createElement)(h.TextControl,{label:__("Price","jetpack"),className:s()({"membership-button__field-error":!this.state.editedProductPriceValid}),onChange:this.handlePriceChange,placeholder:t,required:!0,min:"0",step:"1",type:"number",value:this.state.editedProductPrice||""}),(0,o.createElement)("p",null,n))),(0,o.createElement)(h.TextControl,{className:s()({"membership-button__field":!0,"membership-button__field-error":!this.state.editedProductTitleValid}),label:__("Describe your subscription in a few words","jetpack"),onChange:this.handleTitleChange,placeholder:__("Subscription description","jetpack"),value:this.state.editedProductTitle}),(0,o.createElement)(h.SelectControl,{label:__("Renew interval","jetpack"),onChange:this.handleRenewIntervalChange,options:[{label:__("Monthly","jetpack"),value:"1 month"},{label:__("Yearly","jetpack"),value:"1 year"},{label:__("One-Time Payment","jetpack"),value:"one-time"}],value:this.state.editedProductRenewInterval}),(0,o.createElement)("div",null,(0,o.createElement)(h.Button,{isPrimary:!0,isLarge:!0,className:"membership-button__field-button membership-button__add-amount",onClick:this.saveProduct},__("Add this payment plan","jetpack")),(0,o.createElement)(h.Button,{isLarge:!0,className:"membership-button__field-button",onClick:()=>this.setState({addingMembershipAmount:0})},__("Cancel","jetpack"))))})),a()(this,"getFormattedPriceByProductId",(e=>{const t=this.state.products.filter((t=>parseInt(t.id)===parseInt(e))).pop();return(0,p.ZP)(parseFloat(t.price),t.currency)})),a()(this,"setMembershipAmount",(e=>{const{innerButtons:t,updateBlockAttributes:n,setAttributes:r}=this.props,a=this.props.attributes.planId,o=(0,u.sprintf)(
-/* translators: placeholder is an amount of money. */
-__("%s contribution","jetpack"),this.getFormattedPriceByProductId(e)),i=a?(0,u.sprintf)(
-/* translators: placeholder is an amount of money. */
-__("%s contribution","jetpack"),this.getFormattedPriceByProductId(a)):void 0;return t&&t.length&&t[0].innerBlocks.forEach((e=>{const t=e.attributes.text,r=t===i?o:t;n(e.clientId,{text:r})})),r({planId:parseInt(e)})})),a()(this,"renderMembershipAmounts",(()=>(0,o.createElement)("div",null,this.state.products.map((e=>(0,o.createElement)(h.Button,{className:"membership-button__field-button",isLarge:!0,isSecondary:!0,key:e.id,onClick:()=>this.setMembershipAmount(e.id)},(0,w.C)(e))))))),a()(this,"renderDisclaimer",(()=>(0,o.createElement)("div",{className:"membership-button__disclaimer"},(0,o.createElement)(h.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack"))))),a()(this,"renderUpgradeNudges",(()=>{const{notices:e}=this.props;return(0,o.createElement)(o.Fragment,null,!this.hasUpgradeNudge&&this.state.shouldUpgrade&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e,instructions:__("You'll need to upgrade your plan to use the Payments block.","jetpack")},(0,o.createElement)(h.Button,{isSecondary:!0,isLarge:!0,href:this.state.upgradeURL,target:"_blank"},__("Upgrade your plan","jetpack")),this.renderDisclaimer())))})),a()(this,"renderPlanNotices",(()=>{const{notices:e}=this.props,{connected:t,products:n}=this.state;return(0,o.createElement)(o.Fragment,null,(0===t||2===this.state.addingMembershipAmount)&&!this.props.attributes.planId&&(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),notices:e},(0,o.createElement)(h.Spinner,null)),!this.state.shouldUpgrade&&!this.props.attributes.planId&&1===t&&0===n.length&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e},(0,o.createElement)("div",{className:"components-placeholder__instructions"},(0,o.createElement)("p",null,__("To use this block, first add at least one payment plan.","jetpack")),this.renderAddMembershipAmount(!0),this.renderDisclaimer()))),!this.state.shouldUpgrade&&!this.props.attributes.planId&&2!==this.state.addingMembershipAmount&&1===t&&n.length>0&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e},(0,o.createElement)("div",{className:"components-placeholder__instructions"},(0,o.createElement)("p",null,__("To use this block, select a previously created payment plan.","jetpack")),this.renderMembershipAmounts(),(0,o.createElement)("p",null,__("Or a new one.","jetpack")),this.renderAddMembershipAmount(!1),this.renderDisclaimer()))))})),a()(this,"render",(()=>{const{connected:e,connectURL:t,products:n}=this.state,r=(0,g.applyFilters)("jetpack.RecurringPayments.showControls",n.length>0,this.props.clientId),a=(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(E.G,{attributes:this.props.attributes,products:n,setMembershipAmount:this.setMembershipAmount})),i=(0,o.createElement)(f.BlockControls,null,(0,o.createElement)(E.J,{connected:2!==e,connectURL:(0,k.Z)(this.props.postId,t),hasUpgradeNudge:this.hasUpgradeNudge,shouldUpgrade:this.state.shouldUpgrade}));return(0,o.createElement)(o.Fragment,null,this.props.noticeUI,!this.isPremiumContentChild&&this.renderUpgradeNudges(),!this.isPremiumContentChild&&this.renderPlanNotices(),r&&a,i,(0,o.createElement)(f.InnerBlocks,{template:[["jetpack/button",{element:"a",uniqueId:"recurring-payments-id"}]],templateLock:"all",__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))})),this.state={connected:0,connectURL:null,addingMembershipAmount:0,shouldUpgrade:!1,upgradeURL:"",products:[],editedProductCurrency:"USD",editedProductPrice:(0,w.w)((0,v.hj)("USD"),"USD"),editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},this.timeout=null;const e=(0,b.Z)("recurring-payments");this.hasUpgradeNudge=!e.available&&"missing_plan"===e.unavailableReason,this.isPremiumContentChild=this.props.context.isPremiumContentChild||!1}}t.Z=(0,d.compose)([(0,m.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()}))),(0,m.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/editor");return{updateBlockAttributes:t,autosaveAndRedirect:async(t,n)=>{t.preventDefault(),await e("core/editor").savePost(),window.top.location.href=n}}})),h.withNotices])(_)},82163:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},qv:function(){return d},Xd:function(){return m},ME:function(){return h}});var r=n(69307),a=n(55609),o=n(52175),i=n(65736),s=n(57535),l=n(2235),c=n(39035),u=n(17882);const __=i.__,_x=i._x,p="recurring-payments",d=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},(0,r.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"}))),m={title:__("Payments","jetpack"),icon:{src:d,foreground:(0,s.m)()},description:__("Button allowing you to sell products and subscriptions.","jetpack"),category:"earn",keywords:[_x("sell","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("product","block search term","jetpack"),"stripe",_x("memberships","block search term","jetpack")],usesContext:["isPremiumContentChild"],attributes:{planId:{type:"integer"},align:{type:"string"}},edit:c.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},supports:{html:!1,align:!0},deprecated:[l.Z]};function h(e){return e.filter((e=>(0,u.vs)(e.currency,e.price)))}},48721:function(e,t,n){"use strict";n.d(t,{w:function(){return o},C:function(){return i}});var r=n(65736),a=n(78850);const __=r.__,o=(e,t)=>(0,a.ZP)(e,t,{decimal:".",symbol:""}),i=e=>{const t=(0,a.ZP)(parseFloat(e.price),e.currency);return"1 month"===e.interval?(0,r.sprintf)(
-/* translators: placeholder is a price. */
-__("%s / month","jetpack"),t):"1 year"===e.interval?(0,r.sprintf)(
-/* translators: placeholder is a price. */
-__("%s / year","jetpack"),t):"one-time"===e.interval?t:(0,r.sprintf)(
-/* translators: %1$s is a price, %2$s is a period (1 year for example) */
-__("%1$s / %2$s","jetpack"),t,e.interval)}},14823:function(e,t,n){"use strict";n.d(t,{Hj:function(){return i},AP:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{attributes:t,setAttributes:n}=e;const{displayContext:a,displayDate:i,displayThumbnails:s,postsToShow:l}=t;return(0,r.createElement)(o.PanelBody,{title:__("Related Posts Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Display thumbnails","jetpack"),checked:s,onChange:e=>n({displayThumbnails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display date","jetpack"),checked:i,onChange:e=>n({displayDate:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display context (category or tag)","jetpack"),checked:a,onChange:e=>n({displayContext:e})}),(0,r.createElement)(o.RangeControl,{label:__("Number of posts","jetpack"),value:l,onChange:e=>n({postsToShow:Math.min(e,6)}),min:1,max:6}))}function s(e){let{attributes:t,setAttributes:n}=e;const{postLayout:a}=t,i=[{icon:"grid-view",title:__("Grid View","jetpack"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===a},{icon:"list-view",title:__("List View","jetpack"),onClick:()=>n({postLayout:"list"}),isActive:"list"===a}];return(0,r.createElement)(o.ToolbarGroup,{controls:i})}},31759:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(92819),l=n(9818),c=n(94333),u=n(14823);const __=a.__;function p(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},e.isInSiteEditor?__("Preview unavailable in site editor.","jetpack"):__("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&(0,r.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":__("Placeholder image","jetpack")},(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},(0,r.createElement)("title",null,__("Grey square","jetpack")),(0,r.createElement)(i.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("title",null,__("Icon for image","jetpack")),(0,r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},__("August 3, 2018","jetpack")),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},__("In “Uncategorized”","jetpack")))}function d(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&(0,r.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},(0,r.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function m(e){const t="jp-related-posts-i2__row";let n=0;const a=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:n=2;break;default:n=3}return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(0,n).length},e.posts.slice(0,n)),a&&(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(n).length},e.posts.slice(n)))}class h extends r.Component{render(){const{attributes:e,className:t,posts:n,setAttributes:a,instanceId:i,isInSiteEditor:s}=this.props,{displayContext:l,displayDate:c,displayThumbnails:h,postLayout:f,postsToShow:g}=e,b="jp-relatedposts-i2",v=[];for(let e=0;e<g;e++)n[e]?v.push((0,r.createElement)(d,{id:`related-posts-${i}-post-${e}`,key:b+"-"+e,post:n[e],displayThumbnails:h,displayDate:c,displayContext:l})):v.push((0,r.createElement)(p,{id:`related-posts-${i}-post-${e}`,key:"related-post-placeholder-"+e,displayThumbnails:h,displayDate:c,displayContext:l,isInSiteEditor:s}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(u.Hj,{attributes:e,setAttributes:a})),(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(u.AP,{attributes:e,setAttributes:a})),(0,r.createElement)("div",{className:t,id:`related-posts-${i}`},(0,r.createElement)("div",{className:b,"data-layout":f},(0,r.createElement)(m,{posts:v}))))}}t.ZP=(0,c.compose)(c.withInstanceId,(0,l.withSelect)((e=>{const{getCurrentPost:t}=e("core/editor"),n=t();return{posts:(0,s.get)(n,"jetpack-related-posts",[]),isInSiteEditor:(0,s.isEmpty)(n)}})))(h)},32051:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},Xd:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(31759),s=n(57535);const __=a.__,_x=a._x,l="related-posts",c=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},(0,r.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),u={title:__("Related Posts","jetpack"),icon:{src:c,foreground:(0,s.m)()},category:"embed",keywords:[_x("similar content","block search term","jetpack"),_x("linked","block search term","jetpack"),_x("connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:i.ZP,save:()=>null,example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}}},35978:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(9818),u=n(89105),p=n.n(u),d=n(46314),m=n(57368);const __=i.__,_n=i._n,h=[{value:d.FV,label:__("Show after threshold","jetpack")},{value:d.Am,label:__("Show before threshold","jetpack")}];class f extends o.Component{constructor(){super(...arguments),a()(this,"state",{isThresholdValid:!0}),a()(this,"setCriteria",(e=>this.props.setAttributes({criteria:e}))),a()(this,"setThreshold",(e=>{if(/^\d+$/.test(e)&&+e>0)return this.props.setAttributes({threshold:+e}),void this.setState({isThresholdValid:!0});this.setState({isThresholdValid:!1})}))}getNoticeLabel(){return this.props.attributes.criteria===d.FV?1===this.props.attributes.threshold?__("This block will only appear to people who have visited this page more than once.","jetpack"):(0,i.sprintf)(
+b=n?__("track","jetpack"):void 0;return(0,r.createElement)("li",{className:f,style:Object.keys(g).length?g:null},(0,r.createElement)("a",{className:"jetpack-podcast-player__link jetpack-podcast-player__track-link",href:t.link||t.src,role:"button","aria-current":b,onClick:e=>{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),u(p))},onKeyDown:e=>{" "===event.key&&(e.preventDefault(),u(p))}},(0,r.createElement)(s.Z,{className:"jetpack-podcast-player__track-status-icon",isPlaying:a,isError:i}),(0,r.createElement)("span",{className:"jetpack-podcast-player__track-title"},t.title),t.duration&&(0,r.createElement)("time",{className:"jetpack-podcast-player__track-duration",dateTime:t.duration},t.duration)),n&&i&&(0,r.createElement)(l.Z,{link:t.link,title:t.title,colors:d}))}));t.Z=u},71540:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(18294),a=n.n(r),o=n(69307),i=n(65736);const __=i.__;function s(e){class t extends o.Component{constructor(){super(...arguments),a()(this,"state",{didError:!1,isIE11AudioIssue:!1}),a()(this,"componentDidCatch",((e,t)=>{this.props.onError(e,t)}))}render(){const{didError:t,isIE11AudioIssue:n}=this.state;return t?(0,o.createElement)("section",{className:"jetpack-podcast-player"},(0,o.createElement)("p",{className:"jetpack-podcast-player__error"},n?__('The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s "Internet options" settings. In the "Advanced" tab you will have to check the box next to "Play sounds in webpages" in the "Multimedia" section. Once you have confirmed that the box is checked, please press "Apply" and then reload this page.',"jetpack"):__("An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.","jetpack",0))):(0,o.createElement)(e,this.props)}}return a()(t,"getDerivedStateFromError",(e=>({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)}))),t.defaultProps={onError:()=>{}},t}},63226:function(e,t,n){"use strict";n.d(t,{b:function(){return a},u:function(){return r}});const r="podcast-feed",a="embed-block"},16542:function(e,t,n){"use strict";var r=n(96483),a=n(24381);const o={url:{type:"string",validator:r.isUrl},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}};t.Z={attributes:o,supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},save:()=>null}},99800:function(e,t,n){"use strict";var r=n(69307),a=n(51128),o=n.n(a),i=n(92819),s=n(13419),l=n(55609),c=n(94333),u=n(65736),p=n(52175),d=n(9818),m=n(4981),h=n(96483),f=n(4554),g=n(13331),b=n(30723),v=n(71600),k=n(66085),y=n(98075),E=n(93610),w=n(43718),_=n(63226),C=n(85007);const __=u.__,S=o()("jetpack:podcast-player:edit"),j=(0,s.Wp)()||(0,s.Ug)()?"http://en.support.wordpress.com/wordpress-editor/blocks/podcast-player-block/":"https://jetpack.com/support/jetpack-blocks/podcast-player-block/";t.Z=(0,c.compose)([(0,d.withDispatch)(((e,t)=>{let{clientId:n,attributes:r}=t;return{replaceWithEmbedBlock(){e("core/block-editor").replaceBlock(n,(0,m.createBlock)("core/embed",{url:r.url}))}}})),(0,p.withColors)("backgroundColor",{primaryColor:"color"},{secondaryColor:"color"}),l.withNotices,c.withInstanceId,w.K])((e=>{var t,n;let{instanceId:a,className:o,attributes:s,setAttributes:c,noticeOperations:{createErrorNotice:u,removeAllNotices:d},noticeUI:m,primaryColor:w,setPrimaryColor:x,secondaryColor:P,setSecondaryColor:T,fallbackTextColor:N,backgroundColor:A,setBackgroundColor:I,fallbackBackgroundColor:B,isSelected:M,replaceWithEmbedBlock:R}=e;const L=(0,f.S)(b.Z,s),{url:Z,selectedEpisodes:D,itemsToShow:F,showCoverArt:z,showEpisodeTitle:O,showEpisodeDescription:U,exampleFeedData:$}=L,H=`jetpack-podcast-player-block-${a}`,[V,G]=(0,r.useState)(!1),[q,W]=(0,r.useState)(10),K=(0,r.useRef)(),[{selectedGuid:X,checkUrl:J,...Y},Q]=(0,r.useReducer)(E.J,{editedUrl:Z||"",isEditing:!Z&&!$,isLoading:!1,feedData:$||{},isInteractive:!1,selectedGuid:null==D||null===(t=D[0])||void 0===t?void 0:t.guid,checkUrl:Z||""}),ee=(0,r.useMemo)((()=>(0,i.debounce)((e=>{var t;Q({type:E.N.START_FETCH}),null===(t=K.current)||void 0===t||t.cancel(),K.current=(0,k.W4)((0,y.q)({...e,fetchEpisodeOptions:!0})),K.current.promise.then((t=>{if(d(),null!=t&&t.isCanceled)S("Block was unmounted during fetch",t);else switch(null==t?void 0:t.type){case _.u:return c({url:e.url,selectedEpisodes:e.guids.map((e=>({guid:e})))}),Q({type:E.N.FEED_RECEIVED,payload:t.data});case _.b:return R()}}),(e=>{null!=e&&e.isCanceled?S("Block was unmounted during fetch",e):(S("feed error",e),d(),u(e.message||__("Your podcast couldn't be embedded. Please double check your URL.","jetpack")),Q({type:E.N.START_EDITING}))}))}),300)),[R,c,u,d]);(0,r.useEffect)((()=>()=>{var e,t;null==K||null===(e=K.current)||void 0===e||null===(t=e.cancel)||void 0===t||t.call(e)}),[]);const te=(0,r.useCallback)((e=>{null===e||V||((0,C.DT)(["link#mediaelement-css","link#wp-mediaelement-css"],e),G(!0))}),[V]);(0,r.useEffect)((()=>{if(""!==J)return ee({url:J,guids:X?[X]:[]}),()=>{var e,t;return null==K||null===(e=K.current)||void 0===e||null===(t=e.cancel)||void 0===t?void 0:t.call(e)}}),[ee,J,X]),(0,r.useEffect)((()=>{(0,y.G)().then((e=>{W(e)}))}),[]),(0,r.useEffect)((()=>{X&&1!==F&&c({itemsToShow:1})}),[X,F,c]),(0,r.useEffect)((()=>{!M&&Y.isInteractive&&Q({type:E.N.PREVENT_INTERACTIONS})}),[M,Y.isInteractive]);const ne=e=>{if(e.preventDefault(),""===Y.editedUrl)return;const t=(0,h.prependHTTP)(Y.editedUrl);if((0,h.isURL)(t)){var n;if(t===J)Q({type:E.N.CLEAR_FEED}),ee({url:J,guids:null!==(n=D[0])&&void 0!==n&&n.guid?[D[0].guid]:[]});else Q({type:E.N.CHECK_URL,payload:t});Q({type:E.N.FINISH_EDITING,payload:t})}else u(__("Your podcast couldn't be embedded. Please double check your URL.","jetpack"))};if(Y.isEditing)return(0,r.createElement)(l.Placeholder,{icon:g.E,label:__("Podcast Player","jetpack"),instructions:__("Enter your podcast RSS feed URL.","jetpack"),className:"jetpack-podcast-player__placeholder"},(0,r.createElement)("form",{onSubmit:ne},m,(0,r.createElement)(l.TextControl,{type:"text",inputMode:"url",placeholder:__("Enter URL here…","jetpack"),value:Y.editedUrl,className:"components-placeholder__input",onChange:e=>Q({type:E.N.EDIT_URL,payload:e})}),(0,r.createElement)(l.Button,{variant:"primary",type:"submit"},__("Embed","jetpack"))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(l.ExternalLink,{href:j},__("Learn more about embeds","jetpack"))));if(null===(n=Y.feedData.tracks)||void 0===n||!n.length)return(0,r.createElement)(l.Placeholder,{icon:g.E,label:__("Podcast Player","jetpack"),instructions:__("Loading podcast feed…","jetpack")},(0,r.createElement)(l.Spinner,null));const re=(e,t)=>n=>{c({[e]:n}),t(n)};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p.BlockControls,null,(0,r.createElement)(l.ToolbarGroup,null,(0,r.createElement)(l.ToolbarButton,{"aria-label":__("Edit Podcast Feed URL","jetpack"),onClick:()=>Q({type:E.N.START_EDITING})},__("Replace","jetpack")))),(0,r.createElement)(p.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:__("Podcast settings","jetpack")},(l.ComboboxControl||0===D.length)&&(0,r.createElement)(l.RangeControl,{label:__("Number of items","jetpack"),value:F,onChange:e=>c({itemsToShow:X?1:e}),min:1,max:q,required:!0,disabled:!!X}),l.ComboboxControl&&(0,r.createElement)(l.ComboboxControl,{className:"jetpack-podcast-player__episode-selector",value:X,onChange:e=>Q({type:E.N.SELECT_EPISODE,payload:e}),options:Y.feedData.options||[],label:__("Episode","jetpack"),onFilterValueChange:i.noop}),(0,r.createElement)(l.ToggleControl,{label:__("Show Cover Art","jetpack"),checked:z,onChange:e=>c({showCoverArt:e})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Episode Title","jetpack"),checked:O,onChange:e=>c({showEpisodeTitle:e})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Episode Description","jetpack"),checked:U,onChange:e=>c({showEpisodeDescription:e})})),(0,r.createElement)(p.PanelColorSettings,{title:__("Color Settings","jetpack"),colorSettings:[{value:w.color,onChange:re("hexPrimaryColor",x),label:__("Primary Color","jetpack")},{value:P.color,onChange:re("hexSecondaryColor",T),label:__("Secondary Color","jetpack")},{value:A.color,onChange:re("hexBackgroundColor",I),label:__("Background Color","jetpack")}]},(0,r.createElement)(p.ContrastChecker,{isLargeText:!1,textColor:P.color,backgroundColor:A.color,fallbackBackgroundColor:B,fallbackTextColor:N}))),(0,r.createElement)("div",{id:H,className:o,ref:te},(0,r.createElement)(v.Z,{playerId:H,attributes:L,tracks:Y.feedData.tracks,cover:Y.feedData.cover,title:Y.feedData.title,link:Y.feedData.link}),!Y.isInteractive&&!Y.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__interactive-overlay",onMouseUp:()=>Q({type:E.N.MAKE_INTERACTIVE})}),Y.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__loading-overlay"},(0,r.createElement)(l.Spinner,null))))}))},13331:function(e,t,n){"use strict";n.d(t,{E:function(){return r.Z}});var r=n(26152)},29431:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.Z=o},26152:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,null,(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"})),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,null),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,{transform:"matrix(1 0 0 1 144 120)"},(0,r.createElement)(a.Path,{d:"M-122-114h-5v8.18c-0.31-0.11-0.65-0.18-1-0.18c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3v-9h3V-114 L-122-114z M-129-114h-12v2h12V-114L-129-114z M-129-110h-12v2h12V-110L-129-110z M-133-106h-8v2h8V-106L-133-106z M-129-103 c0-0.55,0.45-1,1-1c0.55,0,1,0.45,1,1s-0.45,1-1,1C-128.55-102-129-102.45-129-103z"})))))},69650:function(e,t,n){"use strict";n.r(t),n.d(t,{error:function(){return s},playing:function(){return i}});var r=n(69307),a=n(55609);const o={height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},i=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"})),s=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},74989:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u}});var r=n(65736),a=n(30723),o=n(16542),i=n(99800),s=n(10591),l=n(13331),c=n(70355);const __=r.__,_x=r._x,u="podcast-player",p={title:__("Podcast Player","jetpack"),description:__("Select and play episodes from a single podcast.","jetpack"),icon:{src:l.E,foreground:(0,c.m)()},category:"embed",keywords:[_x("audio","block search term","jetpack"),_x("embed","block search term","jetpack")],supports:{align:["wide","full"],spacing:{padding:!0,margin:!0},anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},edit:i.Z,save:s.Z,attributes:a.Z,example:{attributes:{customPrimaryColor:(0,c.m)(),hexPrimaryColor:(0,c.m)(),exampleFeedData:{title:__("Jetpack Example Podcast","jetpack"),link:"https://jetpack.com",cover:"https://jetpackme.files.wordpress.com/2020/05/jetpack-example-podcast-cover.png?w=160",tracks:[{id:"3",title:__("3. Our third episode","jetpack"),duration:"14:58"},{id:"2",title:__("2. Interview with a special guest","jetpack"),duration:"19:17"},{id:"1",title:__("1. Welcome to Example Podcast","jetpack"),duration:"11:25"}]}}},deprecated:[o.Z]}},10591:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;if(n&&""!==n)return(0,r.createElement)("a",{className:"jetpack-podcast-player__direct-link",href:n},n)}},93610:function(e,t,n){"use strict";n.d(t,{J:function(){return a},N:function(){return r}});const r={EDIT_URL:"EDIT_URL",FINISH_EDITING:"FINISH_EDITING",START_EDITING:"START_EDITING",SELECT_EPISODE:"SELECT_EPISODE",FEED_RECEIVED:"FEED_RECEIVED",CLEAR_FEED:"CLEAR_FEED",MAKE_INTERACTIVE:"MAKE_INTERACTIVE",PREVENT_INTERACTIONS:"PREVENT_INTERACTIONS",START_FETCH:"START_FETCH",CHECK_URL:"CHECK_URL"},a=(e,t)=>{switch(t.type){case r.EDIT_URL:return{...e,editedUrl:t.payload};case r.START_EDITING:return{...e,isEditing:!0,isLoading:!1};case r.FINISH_EDITING:return{...e,editedUrl:t.payload,isEditing:!1};case r.FEED_RECEIVED:return{...e,isLoading:!1,feedData:t.payload};case r.CLEAR_FEED:return{...e,feedData:{}};case r.MAKE_INTERACTIVE:return{...e,isInteractive:!0};case r.PREVENT_INTERACTIONS:return{...e,isInteractive:!1};case r.START_FETCH:return{...e,isLoading:!0};case r.SELECT_EPISODE:return{...e,selectedGuid:t.payload};case r.CHECK_URL:return{...e,selectedGuid:null,feedData:{},checkUrl:t.payload};default:return{...e}}}},66085:function(e,t,n){"use strict";n.d(t,{Aq:function(){return l},Gd:function(){return i},W4:function(){return s}});var r=n(65235),a=n.n(r),o=n(92819);function i(e,t){if(e&&t)return`has-${t}-${e}`}function s(e){let t=!1;return{promise:new Promise(((n,r)=>{e.then((e=>t?r({isCanceled:!0}):n(e)),(e=>r(t?{isCanceled:!0}:e)))})),cancel(){t=!0}}}const l=(0,o.memoize)((e=>{let{primaryColor:t,customPrimaryColor:n,secondaryColor:r,customSecondaryColor:o,backgroundColor:s,customBackgroundColor:l}=e;const c=i("color",t),u=i("color",r),p=i("background-color",s);return{primary:{name:t,custom:n,classes:a()({"has-primary":c||n,[c]:c})},secondary:{name:r,custom:o,classes:a()({"has-secondary":u||o,[u]:u})},background:{name:s,custom:l,classes:a()({"has-background":p||l,[p]:p})}}}),(e=>Object.values(e).join()))},51054:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"premium-content-wrapper"},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:["premium-content/subscriber-view","premium-content/logged-out-view"],templateLock:"all",template:[["premium-content/subscriber-view"],["premium-content/logged-out-view"]],__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))}},59948:function(e,t,n){"use strict";var r=n(69307);const a={selectedTab:{id:"",className:"",label:(0,r.createElement)(r.Fragment,null)}},o=(0,r.createContext)(a);t.Z=o},34601:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z"}),(0,r.createElement)(a.Circle,{cx:"12.7439",cy:"8.69796",r:"5.94466",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(a.Path,{d:"M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}))},86614:function(e,t,n){"use strict";n.d(t,{H2:function(){return s},Wp:function(){return i},ch:function(){return l}});var r=n(9818),a=n(4981),o=n(50851);const i=e=>0===e.name.indexOf("premium-content/")||e.innerBlocks.some(i),s=e=>{const{getBlocksByClientId:t,getBlockParents:n}=(0,r.select)("core/block-editor");return!!t(n(e.clientId)).find((e=>0===e.name.indexOf("premium-content/")))};function l(){return(0,r.useSelect)((e=>e(a.store).getBlockTypes()),[]).reduce(((e,t)=>(t.name!==o.u&&e.push(t.name),e)),[])}},83196:function(e,t,n){"use strict";var r=n(69307),a=n(72067),o=n(9818),i=n(65736),s=n(16912),l=n(50851);const __=i.__;function c(){const e=(0,o.select)("core/block-editor").getSelectedBlock();(0,o.dispatch)("core/block-editor").replaceBlock(e.clientId,(0,s.e)(e.innerBlocks))}t.Z=()=>(0,r.createElement)(a.PluginBlockSettingsMenuItem,{allowedBlocks:[l.u],label:__("Remove block and keep content","jetpack"),onClick:c})},16912:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(4981);const a=e=>{const t=e.find((e=>"premium-content/subscriber-view"===e.name));return 1===t.innerBlocks.length&&"core/group"===t.innerBlocks[0].name?t.innerBlocks[0]:(0,r.createBlock)("core/group",{},t.innerBlocks)}},63613:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(55609);function i(e){const{options:t,selectedOption:n,selectAction:i,contractViewport:s,label:l}=e,c=e=>e.id===n.id;return s?(0,r.createElement)(a.BlockControls,{group:"block"},(0,r.createElement)(o.ToolbarDropdownMenu,{label:l,icon:"arrow-down",text:n.label},(e=>{let{onClose:n}=e;return(0,r.createElement)(o.MenuGroup,null,t.map((e=>{const t=c(e);return(0,r.createElement)(o.MenuItem,{isSelected:t,icon:t?"yes":void 0,onClick:()=>{i(e),n()},key:`jetpack-premium-content-tab-${e.id}`},e.label)})))}))):(0,r.createElement)(a.BlockControls,{group:"other"},t.map((e=>{const t=c(e);return(0,r.createElement)(o.ToolbarButton,{onClick:()=>{i(e)},className:"components-tab-button",isPressed:t,key:`jetpack-premium-content-tab-${e.id}`},(0,r.createElement)("span",null,e.label))})))}},72738:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(94333),i=n(9818),s=n(65736),l=n(92694);const __=s.__,c=["core/button","jetpack/recurring-payments","premium-content/login-button"];t.Z=(0,o.compose)([(0,i.withSelect)(((e,t)=>({subscribeButton:e("core/block-editor").getBlock(t.clientId).innerBlocks.find((e=>"jetpack/recurring-payments"===e.name))}))),(0,i.withDispatch)(((e,t)=>({setSubscribeButtonPlan(n){e("core/block-editor").updateBlockAttributes(t.subscribeButton.clientId,{planId:n})}})))])((function(e){let{context:t,subscribeButton:n,setSubscribeButtonPlan:o}=e;const i=t?t["premium-content/planId"]:null,s=!!t&&t["premium-content/isPreview"],u=[["core/button",{element:"a",uniqueId:"recurring-payments-id",text:__("Subscribe","jetpack")}],["premium-content/login-button"]],p=[["jetpack/recurring-payments",{planId:i},[["jetpack/button",{element:"a",uniqueId:"recurring-payments-id",text:__("Subscribe","jetpack"),passthroughAttributes:{uniqueId:"uniqueId",url:"url"}}]]],["premium-content/login-button"]];(0,r.useEffect)((()=>{i&&n&&n.attributes.planId!==i&&o(i)}),[i,n,o]),(0,r.useEffect)((()=>{n&&(0,l.addFilter)("jetpack.RecurringPayments.showControls","jetpack/premium-content-hide-recurring-payments-controls",((e,t)=>t!==n.clientId&&e))}),[n]);const d=(0,a.useBlockProps)({className:"wp-block-buttons"});return(0,r.createElement)("div",d,(0,r.createElement)(a.InnerBlocks,{allowedBlocks:c,template:s?u:p,templateInsertUpdatesSelection:!1,__experimentalLayout:{type:"default",alignments:[]},__experimentalMoverDirection:"horizontal"}))}))},737:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(58829),i=n(52175),s=n(72738),l=n(60439);const __=a.__,c="premium-content/buttons",u={apiVersion:2,title:__("Premium Content buttons","jetpack"),description:__("Prompt Premium Content visitors to take action with a group of button-style links.","jetpack"),category:"grow",icon:o.Z,supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},keywords:[__("link","jetpack")],edit:s.Z,save:l.Z,usesContext:["premium-content/planId","premium-content/isPreview"],deprecated:[{attributes:{},supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-buttons"},(0,r.createElement)(i.InnerBlocks.Content,null))}]}},60439:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){const e=a.useBlockProps.save({className:"wp-block-buttons"});return(0,r.createElement)("div",e,(0,r.createElement)(a.InnerBlocks.Content,null))}},23842:function(e,t,n){"use strict";var r=n(96882);t.Z={isEligible:(e,t)=>{var n;if("premium-content/logged-out-view"===(null==t||null===(n=t[0])||void 0===n?void 0:n.name))return!0},migrate:(e,t)=>[e,[t[1],t[0]]],save:r.Z}},12215:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(82402),a=n.n(r),o=n(69307),i=n(55609),s=n(65736),l=n(94333),c=n(9818),u=n(52175),p=n(51054),d=n(59948),m=n(63613),h=n(60386),f=n(14436),g=n(7652),b=n(16367);const __=s.__,v=[{id:"premium",label:(0,o.createElement)("span",null,__("Subscriber View","jetpack")),className:"wp-premium-content-subscriber-view"},{id:"wall",label:(0,o.createElement)("span",null,__("Guest View","jetpack")),className:"wp-premium-content-logged-out-view"}],k="premium-content";function y(e){const[t,n]=(0,o.useState)(v[1]),{isPreview:r,selectedPlanId:a}=e.attributes,{clientId:s,isSelected:y,className:E,setAttributes:w}=e,{isApiLoading:_,selectedBlock:C}=(0,c.useSelect)((e=>({selectedBlock:e(u.store).getSelectedBlock(),isApiLoading:e(g.h).isApiStateLoading()})));(0,o.useEffect)((()=>{if(y)return;if(!C)return;const e=(0,c.select)(u.store);e.getBlockParents(C.clientId).includes(s)&&("premium-content/logged-out-view"===C.name||e.getBlockParentsByBlockName(C.clientId,"premium-content/logged-out-view").length?n(v[1]):n(v[0]))}),[s,y,C]);const S=(0,l.useViewportMatch)("medium","<");return(0,o.createElement)("div",{className:E},!r&&(0,o.createElement)(o.Fragment,null,_&&(0,o.createElement)(i.Placeholder,{icon:"lock",label:__("Premium Content","jetpack"),instructions:__("Loading data…","jetpack")},(0,o.createElement)(i.Spinner,null)),(0,o.createElement)(h.Z,{blockName:k,clientId:s,productType:f.DM,selectedProductId:a,setSelectedProductId:e=>w({selectedPlanId:e})}),(0,o.createElement)(m.Z,{options:v,selectedOption:t,selectAction:n,contractViewport:S,label:__("Change view","jetpack")})),!_&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(b.U,{blockName:k}),(0,o.createElement)(d.Z.Provider,{value:{selectedTab:t}},(0,o.createElement)(p.Z,null))))}function E(e){return(0,o.createElement)(i.Disabled.Consumer,null,(t=>{var n;return(0,o.createElement)(y,a()({},e,{attributes:{...e.attributes,isPreview:t||(null===(n=e.attributes)||void 0===n?void 0:n.isPreview)}}))}))}},50851:function(e,t,n){"use strict";n.d(t,{X:function(){return h},u:function(){return m}});var r=n(65736),a=n(4981),o=n(12215),i=n(96882),s=n(23842),l=n(34601),c=n(86614),u=n(16912);const __=r.__,_x=r._x,p=["core/nextpage","core/spacer","core/separator","core/more","core/loginout","core/post-navigation-link"],d=e=>{if(e.some(c.Wp))return!1;if((0,c.H2)(e[0]))return!1;return!e.every((e=>p.includes(e.name)))},m="premium-content/container",h={title:__("Premium Content","jetpack"),description:__("Restrict access to your content for paying subscribers.","jetpack"),icon:l.Z,category:"grow",keywords:[_x("buy","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("exclusive","block search term","jetpack"),_x("gated","block search term","jetpack"),"gofundme",_x("memberships","block search term","jetpack"),_x("money","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("paywall","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("recurring","block search term","jetpack"),_x("repeat","block search term","jetpack"),_x("signin","block search term","jetpack"),"stripe",_x("subscribe","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("support","block search term","jetpack"),_x("sponsor","block search term","jetpack"),"square","toast","venmo","stripe","substack"],attributes:{newPlanName:{type:"string",default:__("Monthly Subscription","jetpack")},newPlanCurrency:{type:"string",default:"USD"},newPlanPrice:{type:"number",default:5},newPlanInterval:{type:"string",default:"1 month"},selectedPlanId:{type:"number",default:0},isPreview:{type:"boolean",default:!1},isPremiumContentChild:{type:"bool",default:!0}},edit:o.Z,save:i.Z,providesContext:{"premium-content/planId":"selectedPlanId","premium-content/isPreview":"isPreview",isPremiumContentChild:"isPremiumContentChild"},supports:{html:!1},example:{attributes:{isPreview:!0}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],isMatch:(e,t)=>!e.some((e=>e.isPremiumContentChild))&&(void 0===t||d(t)),__experimentalConvert(e){if(!d(e))return;const t=e.map((e=>(0,a.createBlock)(e.name,e.attributes,e.innerBlocks)));return(0,a.createBlock)("premium-content/container",{},[(0,a.createBlock)("premium-content/subscriber-view",{},t),(0,a.createBlock)("premium-content/logged-out-view")])}}],to:[{type:"block",blocks:["core/group"],transform:(e,t)=>(0,u.e)(t)}]},deprecated:[s.Z]}},98143:function(e,t,n){"use strict";var r=n(2582),a=n(52439);t.Z=[r.Z,a.Z]},2582:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(52175);t.Z={attributes:{subscribeButtonText:{type:"string",default:"Subscribe"},loginButtonText:{type:"string",default:"Log In"},buttonClasses:{type:"string",default:""},backgroundButtonColor:{type:"string",default:""},textButtonColor:{type:"string",default:""},customBackgroundButtonColor:{type:"string",default:""},customTextButtonColor:{type:"string",default:""}},isEligible:e=>{let{buttonClasses:t}=e;return!!t},migrate:(e,t)=>{if(Array.isArray(t))for(let n=0;n<t.length;n++)if(t[n].name&&"premium-content/buttons"===t[n].name)return[e,[...t]];const n=(0,a.createBlock)("premium-content/buttons",{},[(0,a.createBlock)("jetpack/recurring-payments",{submitButtonText:e.subscribeButtonText,backgroundButtonColor:e.backgroundButtonColor,textButtonColor:e.textButtonColor,customBackgroundButtonColor:e.customBackgroundButtonColor,customTextButtonColor:e.customTextButtonColor}),(0,a.createBlock)("premium-content/login-button",{text:e.loginButtonText,backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,style:{color:{background:e.customBackgroundButtonColor,text:e.customTextButtonColor}}})]);return[e,[...t,n]]},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view"},(0,r.createElement)(o.InnerBlocks.Content,null))}},52439:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{},supports:{inserter:!1,html:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view"})}},36694:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65736),i=n(59948),s=n(86614);const __=o.__;function l(){const e=(0,s.ch)();return(0,r.createElement)(i.Z.Consumer,null,(t=>{let{selectedTab:n}=t;return(0,r.createElement)("div",{hidden:"premium"===n.id,className:n.className},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:e,templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/heading",{content:__("Subscribe to get access","jetpack"),level:3}],["core/paragraph",{content:__("Read more of this content when you subscribe today.","jetpack")}],["premium-content/buttons"]]}))}))}},9160:function(e,t,n){"use strict";n.d(t,{X:function(){return d},u:function(){return p}});var r=n(36694),a=n(96588),o=n(98143),i=n(34601),s=n(94333),l=n(9818),c=n(65736),u=n(72629);const __=c.__,p="premium-content/logged-out-view",d={title:__("Guest View","jetpack"),description:__("The container for all content shown to site visitors who are not subscribers.","jetpack"),icon:i.Z,category:"grow",parent:["premium-content/container"],supports:{inserter:!1,html:!1},edit:r.Z,save:a.Z,deprecated:o.Z},m=(0,l.subscribe)((()=>{const e=(0,l.select)("core/rich-text").getFormatType("core/link");if(!e)return;m(),(0,u.unregisterFormatType)("core/link");const t=(0,s.compose)((0,l.withSelect)((e=>({selectedBlock:e("core/block-editor").getSelectedBlock()}))),(0,s.ifCondition)((e=>e.selectedBlock&&e.selectedBlock.name!==p)))(e.edit);(0,u.registerFormatType)("core/link",{...e,edit:t})}))},96588:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view entry-content"},(0,r.createElement)(a.InnerBlocks.Content,null))}},34154:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={text:{type:"string",source:"html",selector:"a",default:__("Log in","jetpack")},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}}},98810:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(9818),s=n(52175);const __=o.__,l="web"===r.Platform.OS;const c=e=>{if(!(0,a.isObject)(e))return e;const t=(0,a.pickBy)((0,a.mapValues)(e,c),a.identity);return(0,a.isEqual)(t,{})?void 0:t};function u(e){let{settings:t,clientId:n,enableContrastChecking:a=!0}=e;const{getComputedStyle:o,Node:i}=window,[c,u]=(0,r.useState)(),[p,d]=(0,r.useState)(),m=l?__("Color settings","jetpack"):__("Color Settings","jetpack",0);return(0,r.useEffect)((()=>{if(l&&!a)return;const e=function(e){return document.getElementById("block-"+e)}(n);if(!e)return;d(o(e).color);let t=e,r=o(t).backgroundColor;for(;"rgba(0, 0, 0, 0)"===r&&t.parentNode&&t.parentNode.nodeType===i.ELEMENT_NODE;)t=t.parentNode,r=o(t).backgroundColor;u(r)})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(s.__experimentalPanelColorGradientSettings,{title:m,initialOpen:!1,settings:t},l&&a&&(0,r.createElement)(s.ContrastChecker,{backgroundColor:c,textColor:p})))}t.Z=function(e){var t,n,a;const{attributes:o}=e,{colors:l,gradients:p}=(0,i.useSelect)((e=>e("core/block-editor").getSettings()),[]),d=(0,r.useRef)(o);(0,r.useEffect)((()=>{d.current=o}),[o]);const{style:m,textColor:h,backgroundColor:f,gradient:g}=o;let b;var v;b=g?(0,s.getGradientValueBySlug)(p,g):null==m||null===(v=m.color)||void 0===v?void 0:v.gradient;const k=t=>n=>{var r,a;const o=(0,s.getColorObjectByColorValue)(l,n),i=t+"Color",u={...d.current.style,color:{...null===(r=d.current)||void 0===r||null===(a=r.style)||void 0===a?void 0:a.color,[t]:null!=o&&o.slug?void 0:n}},p=null!=o&&o.slug?o.slug:void 0,m={style:c(u),[i]:p};e.setAttributes(m),d.current={...d.current,...m}};return(0,r.createElement)(u,{enableContrastChecking:!(g||null!=m&&null!==(t=m.color)&&void 0!==t&&t.gradient),clientId:e.clientId,settings:[{label:__("Text Color","jetpack"),onColorChange:k("text"),colorValue:(0,s.getColorObjectByAttributeValues)(l,h,null==m||null===(n=m.color)||void 0===n?void 0:n.text).color},{label:__("Background Color","jetpack"),onColorChange:k("background"),colorValue:(0,s.getColorObjectByAttributeValues)(l,f,null==m||null===(a=m.color)||void 0===a?void 0:a.background).color,gradientValue:b,onGradientChange:t=>{const n=(0,s.getGradientSlugByValue)(p,t);let r;if(n){var a,o,i;const e={...null===(a=d.current)||void 0===a?void 0:a.style,color:{...null===(o=d.current)||void 0===o||null===(i=o.style)||void 0===i?void 0:i.color,gradient:void 0}};r={style:c(e),gradient:n}}else{var l,u,m;const e={...null===(l=d.current)||void 0===l?void 0:l.style,color:{...null===(u=d.current)||void 0===u||null===(m=u.style)||void 0===m?void 0:m.color,gradient:t}};r={style:c(e),gradient:void 0}}e.setAttributes(r),d.current={...d.current,...r}}}]})}},53201:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(65235),a=n.n(r),o=n(52175);function i(e){var t,n,r,i,s,l,c,u,p,d;const{backgroundColor:m,textColor:h,gradient:f,style:g}=e,b=(0,o.getColorClassName)("background-color",m),v=(0,o.__experimentalGetGradientClass)(f),k=(0,o.getColorClassName)("color",h),y=a()(k,v,{[b]:!(null!=g&&null!==(t=g.color)&&void 0!==t&&t.gradient||!b),"has-text-color":h||(null==g||null===(n=g.color)||void 0===n?void 0:n.text),"has-background":m||(null==g||null===(r=g.color)||void 0===r?void 0:r.background)||f||(null==g||null===(i=g.color)||void 0===i?void 0:i.gradient)});return{className:y||void 0,style:null!=g&&null!==(s=g.color)&&void 0!==s&&s.background||null!=g&&null!==(l=g.color)&&void 0!==l&&l.text||null!=g&&null!==(c=g.color)&&void 0!==c&&c.gradient?{background:null!=g&&null!==(u=g.color)&&void 0!==u&&u.gradient?g.color.gradient:void 0,backgroundColor:null!=g&&null!==(p=g.color)&&void 0!==p&&p.background?g.color.background:void 0,color:null!=g&&null!==(d=g.color)&&void 0!==d&&d.text?g.color.text:void 0}:{}}}},74634:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(65736),l=n(53201);const __=s.__;t.Z={attributes:{text:{type:"string",source:"html",selector:"a",default:__("Log in","jetpack")},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},save:e=>{let{attributes:t}=e;const{borderRadius:n,text:a}=t,s=(0,l.Z)(t),c=o()("wp-block-button__link",s.className,{"no-border-radius":0===n}),u={borderRadius:n?n+"px":void 0,...s.style};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:c,style:u,value:a}))}}},53163:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(98810),u=n(53201);const __=i.__;function p(e){let{borderRadius:t="",setAttributes:n}=e;const a=(0,r.useCallback)((e=>{n({borderRadius:e})}),[n]);return(0,r.createElement)(s.PanelBody,{title:__("Border settings","jetpack")},(0,r.createElement)(s.RangeControl,{value:t,label:__("Border radius","jetpack"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:a}))}t.Z=function(e){const{attributes:t,setAttributes:n,className:a}=e,{borderRadius:i,text:s}=t,d=(0,u.Z)(t),m=(0,l.useBlockProps)({className:"wp-block-button"});return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",m,(0,r.createElement)(l.RichText,{placeholder:__("Add text…","jetpack"),value:s,onChange:e=>n({text:e}),withoutInteractiveFormatting:!0,className:o()(a,"wp-block-button__link",d.className,{"no-border-radius":0===i}),style:{borderRadius:i?i+"px":void 0,...d.style}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.Z,e),(0,r.createElement)(p,{borderRadius:i,setAttributes:n})))}},88430:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(58829),a=n(65736),o=n(53163),i=n(91430),s=n(34154),l=n(74634);const __=a.__,c="premium-content/login-button",u={title:__("Premium Content login button","jetpack"),description:__("Prompt subscriber visitors to log in with a button-style link (only visible for logged out users).","jetpack"),category:"grow",attributes:s.Z,icon:r.Z,keywords:[__("link","jetpack")],supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],edit:o.Z,save:i.Z,deprecated:[l.Z]}},91430:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(53201);function l(e){let{attributes:t}=e;const{borderRadius:n,text:a,align:l}=t,c=(0,s.Z)(t),u=o()("wp-block-button","wp-block-premium-content-login-button",{alignleft:"left"===l},{aligncenter:"center"===l},{alignright:"right"===l}),p=o()("wp-block-button__link",c.className,{"no-border-radius":0===n}),d={borderRadius:n?n+"px":void 0,...c.style},m=i.useBlockProps.save({className:u});return(0,r.createElement)("div",m,(0,r.createElement)(i.RichText.Content,{tagName:"a",className:p,style:d,value:a}))}},96882:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-container"},(0,r.createElement)(a.InnerBlocks.Content,null))}},67416:function(e,t,n){"use strict";var r=n(19178);t.Z=[r.Z]},19178:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{},supports:{inserter:!1,html:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-subscriber-view"})}},34166:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65736),i=n(9818),s=n(94333),l=n(59948),c=n(86614);const __=o.__;t.Z=(0,s.compose)([(0,i.withSelect)(((e,t)=>({hasInnerBlocks:!!e("core/block-editor").getBlocksByClientId(t.clientId)[0].innerBlocks.length})))])((function(e){let{hasInnerBlocks:t}=e;const n=(0,c.ch)();return(0,r.createElement)(l.Z.Consumer,null,(e=>{let{selectedTab:o}=e;return(0,r.createElement)("div",{hidden:"wall"===o.id,className:o.className},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:n,renderAppender:!t&&a.InnerBlocks.ButtonBlockAppender,templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/heading",{content:__("Subscriber Content","jetpack"),level:3}],["core/paragraph",{content:__("Add content here that will only be visible to your subscribers.","jetpack")}]]}))}))}))},52149:function(e,t,n){"use strict";n.d(t,{X:function(){return c},u:function(){return l}});var r=n(34166),a=n(31356),o=n(67416),i=n(34601),s=n(65736);const __=s.__,l="premium-content/subscriber-view",c={title:__("Subscriber View","jetpack"),description:__("The container for all content shown to subscribers.","jetpack"),icon:i.Z,category:"grow",attributes:{},edit:r.Z,save:a.Z,parent:["premium-content/container"],supports:{inserter:!1,html:!1},deprecated:o.Z}},31356:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-subscriber-view entry-content"},(0,r.createElement)(a.InnerBlocks.Content,null))}},10799:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(55609);const __=o.__,l=e=>{let{id:t,setRating:n,children:a}=e;return(0,r.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(o=t,e=>{let{code:t}=e;return"Enter"===t?n(o):null}),onClick:(e=>()=>n(e))(t)},a);var o};t.Z=e=>function(t){let{className:n,setAttributes:o,attributes:{align:c,color:u,rating:p,maxRating:d}}=t;const m=e=>{e===p?Math.ceil(p)===p&&(e-=.5):.5===p&&1===e&&(e=0),o({rating:e})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(i.AlignmentToolbar,{value:c,onChange:e=>o({align:e})})),(0,r.createElement)("div",{className:n,style:{textAlign:c}},(0,a.range)(1,d+1).map((t=>(0,r.createElement)(l,{key:t,id:t,setRating:m},(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t-.5?null:"is-rating-unfilled",color:u})),(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t?null:"is-rating-unfilled",color:u})))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.RangeControl,{label:__("Highest rating","jetpack"),value:d,onChange:e=>o({maxRating:e}),min:2,max:10}),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:u,onChange:e=>o({color:e}),label:__("Color","jetpack")}]}))))}},5056:function(e,t,n){"use strict";n.d(t,{d:function(){return o},r:function(){return i}});var r=n(69307),a=n(55609);const o=()=>(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"})),i=e=>{const t=(e=>e&&e.color?e.color:"currentColor")(e),n=(e=>e&&e.className?e.className:"")(e);return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},(0,r.createElement)(a.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))}},90362:function(e,t,n){"use strict";n.d(t,{X:function(){return c},u:function(){return l}});var r=n(65736),a=n(10799),o=n(78403),i=n(5056),s=n(70355);const __=r.__,_x=r._x,l="rating-star",c={title:__("Star Rating","jetpack"),description:__("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:{src:i.d,foreground:(0,s.m)()},keywords:[_x("star","block search term","jetpack"),_x("rating","block search term","jetpack"),_x("review","block search term","jetpack")],category:"widgets",example:{},styles:[{name:"filled",label:_x("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:_x("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:(0,a.Z)(i.r),save:(0,o.Z)("★")}},78403:function(e,t,n){"use strict";var r=n(69307),a=n(92819);t.Z=e=>function(t){let{className:n,attributes:{align:o,rating:i,color:s}}=t;return(0,r.createElement)("figure",{className:n,style:{textAlign:o}},(0,a.range)(1,i+1).map((t=>(0,r.createElement)("span",{key:t,style:{color:s}},e))))}},7463:function(e,t,n){"use strict";var r=n(92819),a=n(4981);const o=["submitButtonText","submitButtonClasses","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},submitButtonClasses:{type:"string"},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},migrate:e=>{const t=(0,r.omit)(e,o),n={text:(i=e).submitButtonText,textColor:i.textButtonColor,customTextColor:i.customTextButtonColor,backgroundColor:i.backgroundButtonColor,customBackgroundColor:i.customBackgroundButtonColor};var i;return[t,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"recurring-payments-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,o),Boolean),save:()=>null}},3821:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(13419),o=n(99196),i=n(52175),s=n(55609),l=n(9818),c=n(12238),u=n(92694),p=n(65736),d=n(56367),m=n(60386),h=n(7652),f=n(99307),g=n(16367);const __=p.__,b="recurring-payments";function v(e){let{attributes:t,clientId:n,context:p,setAttributes:v}=e;const{planId:k}=t,{isPremiumContentChild:y}=p,E=(0,f.j3)(),w=(0,l.useSelect)((e=>{var t,n;return null===(t=e(c.store))||void 0===t||null===(n=t.getCurrentPost())||void 0===n?void 0:n.link}),[]),_=(0,l.useSelect)((e=>e(h.h).getUpgradeUrl())),C=(0,o.useCallback)((e=>{v({planId:e,url:(e=>{if(f.yn!==E||!w)return"#";const t=new URL(w);return t.searchParams.set("recurring_payments",e),t.toString()})(e),uniqueId:`recurring-payments-${e}`})}),[E,w,v]);(0,r.useEffect)((()=>{C(k)}),[k,C]);const S=(0,u.applyFilters)("jetpack.RecurringPayments.showControls",!0,n),j=(0,a.OZ)("recurring-payments"),x=!j.available&&"missing_plan"===j.unavailableReason,P=!!_&&!x&&!y;return(0,r.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},S&&(0,r.createElement)(m.Z,{blockName:b,clientId:n,selectedProductId:k,setSelectedProductId:C}),P&&(0,r.createElement)(s.Placeholder,{icon:d.qv,instructions:__("You'll need to upgrade your plan to use the Payments block.","jetpack"),label:d.TN},(0,r.createElement)(s.Button,{href:_,target:"_blank",variant:"secondary"},__("Upgrade your plan","jetpack")),(0,r.createElement)("div",{className:"membership-button__disclaimer"},(0,r.createElement)(s.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack")))),(0,r.createElement)(g.U,{blockName:b}),(0,r.createElement)(i.InnerBlocks,{template:[["jetpack/button",{element:"a",passthroughAttributes:{uniqueId:"uniqueId",url:"url"}}]],templateLock:"all",__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))}},56367:function(e,t,n){"use strict";n.d(t,{TN:function(){return m},Xd:function(){return g},qv:function(){return h},u2:function(){return d}});var r=n(69307),a=n(13419),o=n(52175),i=n(4981),s=n(55609),l=n(65736),c=n(70355),u=n(7463),p=n(3821);n(79162);const __=l.__,_x=l._x,d="recurring-payments",m=__("Payment Button","jetpack"),h=(0,r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(s.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(s.G,null,(0,r.createElement)(s.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"}))),f=(0,a.Wp)()||(0,a.Ug)()?"https://wordpress.com/support/video-tutorials-add-payments-features-to-your-site-with-our-guides/#how-to-use-the-payments-block-video":"https://jetpack.com/support/jetpack-blocks/payments-block/",g={title:m,icon:{src:h,foreground:(0,c.m)()},description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Button allowing you to sell products and subscriptions.","jetpack")),(0,r.createElement)(s.ExternalLink,{href:f},__("Support reference","jetpack"))),category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("contribution","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("donate","block search term","jetpack"),_x("Donations","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),"gofundme",_x("memberships","block search term","jetpack"),_x("money","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("recurring","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),"stripe",_x("subscribe","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("sponsor","block search term","jetpack"),"square","toast","venmo"],usesContext:["isPremiumContentChild"],attributes:{planId:{type:"integer"},align:{type:"string"},url:{type:"string",default:"#"},uniqueId:{type:"string",default:"id"}},edit:p.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},supports:{html:!1,__experimentalExposeControlsToChildren:!0},deprecated:[u.Z],transforms:{from:[{type:"block",blocks:["core/buttons"],isMatch:(e,t)=>void 0!==t&&1===t.innerBlocks.length&&"core/button"===t.innerBlocks[0].name,transform:(e,t)=>{var n,r,a,o;const s=t[0],l={element:"a",text:null!==(n=s.attributes.text)&&void 0!==n?n:"",className:null!==(r=s.attributes.className)&&void 0!==r?r:""},c=s.attributes.width;c&&(l.width=c.toString()+"%");const u=null===(a=s.attributes.style)||void 0===a||null===(o=a.border)||void 0===o?void 0:o.radius;u&&(l.borderRadius=parseInt(u.substring(0,u.length-2)));const p=(0,i.createBlock)("jetpack/button",l,[]);return(0,i.createBlock)("jetpack/"+d,{},[p])}}]}}},53296:function(e,t,n){"use strict";n.d(t,{AP:function(){return s},Hj:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{attributes:t,setAttributes:n}=e;const{displayContext:a,displayDate:i,displayThumbnails:s,postsToShow:l}=t;return(0,r.createElement)(o.PanelBody,{title:__("Related Posts Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Display thumbnails","jetpack"),checked:s,onChange:e=>n({displayThumbnails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display date","jetpack"),checked:i,onChange:e=>n({displayDate:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display context (category or tag)","jetpack"),checked:a,onChange:e=>n({displayContext:e})}),(0,r.createElement)(o.RangeControl,{label:__("Number of posts","jetpack"),value:l,onChange:e=>n({postsToShow:Math.min(e,6)}),min:1,max:6}))}function s(e){let{attributes:t,setAttributes:n}=e;const{postLayout:a}=t,i=[{icon:"grid-view",title:__("Grid View","jetpack"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===a},{icon:"list-view",title:__("List View","jetpack"),onClick:()=>n({postLayout:"list"}),isActive:"list"===a}];return(0,r.createElement)(o.ToolbarGroup,{controls:i})}},86434:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(92819),l=n(9818),c=n(94333),u=n(53296);const __=a.__;function p(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},e.isInSiteEditor?__("Preview unavailable in site editor.","jetpack"):__("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&(0,r.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":__("Placeholder image","jetpack")},(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},(0,r.createElement)("title",null,__("Grey square","jetpack")),(0,r.createElement)(i.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("title",null,__("Icon for image","jetpack")),(0,r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},__("August 3, 2018","jetpack")),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},__("In “Uncategorized”","jetpack")))}function d(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&(0,r.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},(0,r.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function m(e){const t="jp-related-posts-i2__row";let n=0;const a=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:n=2;break;default:n=3}return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(0,n).length},e.posts.slice(0,n)),a&&(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(n).length},e.posts.slice(n)))}class h extends r.Component{render(){const{attributes:e,className:t,posts:n,setAttributes:a,instanceId:i,isInSiteEditor:s}=this.props,{displayContext:l,displayDate:c,displayThumbnails:h,postLayout:f,postsToShow:g}=e,b="jp-relatedposts-i2",v=[];for(let e=0;e<g;e++)n[e]?v.push((0,r.createElement)(d,{id:`related-posts-${i}-post-${e}`,key:b+"-"+e,post:n[e],displayThumbnails:h,displayDate:c,displayContext:l})):v.push((0,r.createElement)(p,{id:`related-posts-${i}-post-${e}`,key:"related-post-placeholder-"+e,displayThumbnails:h,displayDate:c,displayContext:l,isInSiteEditor:s}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(u.Hj,{attributes:e,setAttributes:a})),(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(u.AP,{attributes:e,setAttributes:a})),(0,r.createElement)("div",{className:t,id:`related-posts-${i}`},(0,r.createElement)("div",{className:b,"data-layout":f},(0,r.createElement)(m,{posts:v}))))}}t.ZP=(0,c.compose)(c.withInstanceId,(0,l.withSelect)((e=>{const{getCurrentPost:t}=e("core/editor"),n=t();return{posts:(0,s.get)(n,"jetpack-related-posts",[]),isInSiteEditor:(0,s.isEmpty)(n)}})))(h)},92882:function(e,t,n){"use strict";n.d(t,{Xd:function(){return u},u2:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(86434),s=n(70355);const __=a.__,_x=a._x,l="related-posts",c=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},(0,r.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),u={title:__("Related Posts","jetpack"),icon:{src:c,foreground:(0,s.m)()},category:"embed",keywords:[_x("similar content","block search term","jetpack"),_x("linked","block search term","jetpack"),_x("connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1,color:{gradients:!0,link:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0},align:["wide","full"]},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:i.ZP,save:()=>null,example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}}},4498:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(9818),u=n(65235),p=n.n(u),d=n(51100),m=n(30314);const __=i.__,_n=i._n,h=[{value:d.FV,label:__("Show after threshold","jetpack")},{value:d.Am,label:__("Show before threshold","jetpack")}];class f extends o.Component{constructor(){super(...arguments),a()(this,"state",{isThresholdValid:!0}),a()(this,"setCriteria",(e=>this.props.setAttributes({criteria:e}))),a()(this,"setThreshold",(e=>{if(/^\d+$/.test(e)&&+e>0)return this.props.setAttributes({threshold:+e}),void this.setState({isThresholdValid:!0});this.setState({isThresholdValid:!1})}))}getNoticeLabel(){return this.props.attributes.criteria===d.FV?1===this.props.attributes.threshold?__("This block will only appear to people who have visited this page more than once.","jetpack"):(0,i.sprintf)(
/* translators: placeholder is a number. */
_n("This block will only appear to people who have visited this page more than %d time.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):1===this.props.attributes.threshold?__("This block will only appear to people who are visiting this page for the first time.","jetpack"):(0,i.sprintf)(
/* translators: placeholder is a number. */
-_n("This block will only appear to people who are visiting this page for %d time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}render(){return(0,o.createElement)("div",{className:p()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},(0,o.createElement)(s.Placeholder,{icon:m.qv,label:__("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},(0,o.createElement)(s.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":__("Please enter a valid number.","jetpack"),label:__("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),(0,o.createElement)(s.RadioControl,{label:__("Visibility","jetpack"),selected:this.props.attributes.criteria,options:h,onChange:this.setCriteria})),(0,o.createElement)(s.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),(0,o.createElement)(l.InnerBlocks,null))}}t.Z=(0,c.withSelect)(((e,t)=>{const{isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{isSelected:n(t.clientId)||r(t.clientId)}}))(f)},42860:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks.Content,null))}},46314:function(e,t,n){"use strict";n.d(t,{FV:function(){return r},Am:function(){return a},Kv:function(){return o}});const r="after-visits",a="before-visits",o=3},57368:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},qv:function(){return d},Xd:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(41632),s=n(35978),l=n(42860),c=n(46314),u=n(57535);const __=a.__,_x=a._x,p="repeat-visitor",d=(0,i.Z)((0,r.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})),m={attributes:{criteria:{type:"string",default:c.FV},threshold:{type:"number",default:c.Kv}},category:"widgets",description:__("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:{src:d,foreground:(0,u.m)()},keywords:[_x("return","block search term","jetpack"),_x("visitors","block search term","jetpack"),_x("visibility","block search term","jetpack")],supports:{html:!1},title:__("Repeat Visitor","jetpack"),edit:s.Z,save:l.Z,example:{attributes:{criteria:c.FV,threshold:c.Kv},innerBlocks:[{name:"core/paragraph",attributes:{content:__("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]}}},92826:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={revueUsername:{type:"string"},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0}}},26246:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(4981),i=n(65736);const _x=i._x,__=i.__,s=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius","gradient","customGradient"];t.Z={attributes:{revueUsername:{type:"string"},text:{type:"string",default:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},migrate:e=>{const t=(0,a.omit)(e,s),n=(0,a.pick)(e,s);return[t,[(0,o.createBlock)("jetpack/button",{element:"button",text:n.text||"Subscribe",...n})]]},isEligible:(e,t)=>(0,a.isEmpty)(t)||(0,a.some)((0,a.pick)(e,s),Boolean),save:e=>{let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)("a",{href:n},n))}}},55380:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(92819),o=n(52175),i=n(55609),s=n(65736),l=n(8223),c=n(92826),u=n(80500),p=n(93641),d=n(14087),m=n(58014);const __=s.__;function h(e){let{attributes:t,className:n,setAttributes:s}=e;(0,r.useEffect)((()=>{const e=(0,d.S)(c.Z,t);(0,a.isEqual)(e,t)||s(e)}),[t,s]);const{revueUsername:h,emailLabel:f,emailPlaceholder:g,firstNameLabel:b,firstNamePlaceholder:v,firstNameShow:k,lastNameLabel:y,lastNamePlaceholder:E,lastNameShow:w}=t,[_,C]=(0,r.useState)("");(0,r.useEffect)((()=>{!_&&h&&C(h)}),[]);const j=(0,m.Wp)()||(0,m.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/revue-block/":"https://jetpack.com/support/jetpack-blocks/revue-block/";return(0,r.createElement)("div",{className:n},!h&&(0,r.createElement)(i.Placeholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:p.Z}),instructions:__("Enter your Revue username.","jetpack"),label:__("Revue","jetpack")},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),s({revueUsername:_.trim()})}},(0,r.createElement)("input",{className:"components-placeholder__input",onChange:e=>C(e.target.value.trim()),placeholder:__("Enter your Revue username here…","jetpack"),type:"text",value:_}),(0,r.createElement)("div",null,(0,r.createElement)(i.Button,{disabled:!_,isDefault:!0,isLarge:!0,isSecondary:!0,type:"submit"},__("Add Form","jetpack")))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(i.ExternalLink,{href:j},__("Need help finding your Revue username?","jetpack")))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Show first name field.","jetpack"),checked:k,onChange:()=>s({firstNameShow:!k})}),(0,r.createElement)(i.ToggleControl,{label:__("Show last name field.","jetpack"),checked:w,onChange:()=>s({lastNameShow:!w})}),(0,r.createElement)(i.TextControl,{label:__("Revue Username","jetpack"),onChange:e=>{C(e.trim()),s({revueUsername:e.trim()})},value:h}))),(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:f,labelFieldName:"emailLabel",required:!0,setAttributes:s}),onChange:e=>s({emailPlaceholder:e}),placeholder:g,value:g}),k&&(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:b,labelFieldName:"firstNameLabel",setAttributes:s}),onChange:e=>s({firstNamePlaceholder:e}),placeholder:v,value:v}),w&&(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:y,labelFieldName:"lastNameLabel",setAttributes:s}),onChange:e=>s({lastNamePlaceholder:e}),placeholder:E,value:E}),(0,r.createElement)(o.InnerBlocks,{template:[[l.Ss.name,l.Ss.attributes]],templateLock:"all"})))}},93641:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,{fillRule:"nonzero"},(0,r.createElement)(a.Path,{d:"M16.8452322,23.2301186 C13.9471277,22.2565366 12.0226052,20.2188069 10.6188359,16.5961763 C10.2565728,15.6225943 9.87166831,14.4905223 9.80374399,14.1056178 C9.66789534,13.4037331 9.6452539,13.3810917 8.96601067,13.6075061 C7.8792215,13.9697691 7.76601429,14.1282592 7.35846835,15.758443 C6.724508,18.2490015 6.45281071,18.7244718 5.56979451,18.8829619 C5.09432424,18.9735276 4.5735711,18.9282447 4.27923236,18.7697547 C3.84904498,18.5433402 3.8037621,18.3848502 3.93961075,17.501834 C4.00753507,16.9584394 4.41508101,15.3056142 4.82262695,13.8339205 C5.8414918,10.2792143 6.11318909,8.98865211 6.29432062,7.1094125 C6.43016927,5.63771883 6.47545215,5.50187018 7.08677106,5.20753145 C7.92450438,4.79998551 8.80752058,5.09432424 9.19242508,5.88677468 C9.44148093,6.38488639 9.39619805,6.90563953 8.96601067,8.98865211 C8.67167193,10.3924215 8.51318185,11.5244935 8.62638905,11.5244935 C9.12450076,11.5244935 11.2754377,10.2565728 12.0452467,9.50940525 C13.8339205,7.83393861 14.2641079,5.77356748 13.2905259,3.82640354 C12.5886412,2.4226342 11.6150593,1.94716393 9.78110255,2.08301258 C6.97356385,2.28678555 4.43772245,4.25659092 3.01131166,7.35846835 C2.21886123,9.05657643 2.19621978,9.07921787 1.49433511,8.94336923 C-1.74339096,8.28676744 0.63396035,3.39621616 5.29809721,1.19999638 C8.39997464,-0.294338734 11.5018521,-0.362263057 14.0829764,0.950940525 C17.0716466,2.51319996 18.0225871,5.93205756 16.2791961,8.96601067 C15.5999529,10.1433656 14.2641079,11.3886449 12.9509043,12.0678881 C12.5433584,12.2716611 12.2037367,12.5207169 12.2037367,12.6339241 C12.2037367,12.9509043 13.2678845,15.9395745 13.6301475,16.6641006 C14.3093908,17.9773042 16.2339133,19.8112609 17.4565511,20.377297 C18.8829619,21.0112573 21.4640861,21.0791816 23.0263456,20.5131456 L23.9772861,20.1508826 L23.9772861,20.7169186 C23.9772861,21.5320105 23.3433258,22.3471023 22.3018195,22.8904969 C21.147106,23.4791744 18.1584357,23.6603059 16.8452322,23.2301186 Z"})))},8223:function(e,t,n){"use strict";n.d(t,{Ss:function(){return u},u2:function(){return p},Xd:function(){return d}});var r=n(65736),a=n(92826),o=n(26246),i=n(55380),s=n(93641),l=n(57535),c=n(12628);const __=r.__,_x=r._x,u={name:"jetpack/button",attributes:{element:"button",text:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")}},p="revue",d={title:__("Revue","jetpack"),description:__("Add a subscription form for your Revue newsletter.","jetpack"),icon:{src:s.Z,foreground:(0,l.m)()},category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("mailing list","block search term","jetpack")],supports:{html:!1},attributes:a.Z,edit:i.Z,save:c.Z,example:{attributes:{revueUsername:"example"},innerBlocks:[u]},deprecated:[o.Z]}},12628:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null),(0,r.createElement)("a",{className:"wp-block-jetpack-revue__fallback",href:n},n))}},37161:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks,{template:[["jetpack/whatsapp-button",{}]],allowedBlocks:["jetpack/whatsapp-button"]}))}},93636:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(37161),l=n(1720),c=n(41632),u=n(57535);const __=a.__,_x=a._x,p="send-a-message",d={title:__("Send A Message","jetpack"),description:__("Let your visitors send you messages with the tap of a button.","jetpack"),icon:{src:(0,c.Z)((0,r.createElement)(i.Path,{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"})),foreground:(0,u.m)()},category:"grow",keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1},attributes:{},edit:s.Z,save:e=>(0,r.createElement)("div",{className:e.className},(0,r.createElement)(o.InnerBlocks.Content,null)),variations:l.Z,example:{}}},64566:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});const r=[{code:"US",label:"🇺🇸 +1",value:"1US"},{code:"CA",label:"🇨🇦 +1",value:"1CA"},{code:"BS",label:"🇧🇸 +1242",value:"1242BS"},{code:"BB",label:"🇧🇧 +1246",value:"1246BB"},{code:"AI",label:"🇦🇮 +1264",value:"1264AI"},{code:"AG",label:"🇦🇬 +1268",value:"1268AG"},{code:"VG",label:"🇻🇬 +1284",value:"1284VG"},{code:"VI",label:"🇻🇮 +1340",value:"1340VI"},{code:"BM",label:"🇧🇲 +1441",value:"1441BM"},{code:"GD",label:"🇬🇩 +1473",value:"1473GD"},{code:"TC",label:"🇹🇨 +1649",value:"1649TC"},{code:"MS",label:"🇲🇸 +1664",value:"1664MS"},{code:"MP",label:"🇲🇵 +1670",value:"1670MP"},{code:"GU",label:"🇬🇺 +1671",value:"1671GU"},{code:"AS",label:"🇦🇸 +1684",value:"1684AS"},{code:"LC",label:"🇱🇨 +1758",value:"1758LC"},{code:"DM",label:"🇩🇲 +1767",value:"1767DM"},{code:"VC",label:"🇻🇨 +1784",value:"1784VC"},{code:"DO",label:"🇩🇴 +1849",value:"1849DO"},{code:"TT",label:"🇹🇹 +1868",value:"1868TT"},{code:"KN",label:"🇰🇳 +1869",value:"1869KN"},{code:"JM",label:"🇯🇲 +1876",value:"1876JM"},{code:"PR",label:"🇵🇷 +1939",value:"1939PR"},{code:"EG",label:"🇪🇬 +20",value:"20EG"},{code:"MA",label:"🇲🇦 +212",value:"212MA"},{code:"DZ",label:"🇩🇿 +213",value:"213DZ"},{code:"TN",label:"🇹🇳 +216",value:"216TN"},{code:"LY",label:"🇱🇾 +218",value:"218LY"},{code:"GM",label:"🇬🇲 +220",value:"220GM"},{code:"SN",label:"🇸🇳 +221",value:"221SN"},{code:"MR",label:"🇲🇷 +222",value:"222MR"},{code:"ML",label:"🇲🇱 +223",value:"223ML"},{code:"GN",label:"🇬🇳 +224",value:"224GN"},{code:"CI",label:"🇨🇮 +225",value:"225CI"},{code:"BF",label:"🇧🇫 +226",value:"226BF"},{code:"NE",label:"🇳🇪 +227",value:"227NE"},{code:"TG",label:"🇹🇬 +228",value:"228TG"},{code:"BJ",label:"🇧🇯 +229",value:"229BJ"},{code:"MU",label:"🇲🇺 +230",value:"230MU"},{code:"LR",label:"🇱🇷 +231",value:"231LR"},{code:"SL",label:"🇸🇱 +232",value:"232SL"},{code:"GH",label:"🇬🇭 +233",value:"233GH"},{code:"NG",label:"🇳🇬 +234",value:"234NG"},{code:"TD",label:"🇹🇩 +235",value:"235TD"},{code:"CF",label:"🇨🇫 +236",value:"236CF"},{code:"CM",label:"🇨🇲 +237",value:"237CM"},{code:"CV",label:"🇨🇻 +238",value:"238CV"},{code:"ST",label:"🇸🇹 +239",value:"239ST"},{code:"GQ",label:"🇬🇶 +240",value:"240GQ"},{code:"GA",label:"🇬🇦 +241",value:"241GA"},{code:"CG",label:"🇨🇬 +242",value:"242CG"},{code:"CD",label:"🇨🇩 +243",value:"243CD"},{code:"AO",label:"🇦🇴 +244",value:"244AO"},{code:"GW",label:"🇬🇼 +245",value:"245GW"},{code:"IO",label:"🇮🇴 +246",value:"246IO"},{code:"SC",label:"🇸🇨 +248",value:"248SC"},{code:"SD",label:"🇸🇩 +249",value:"249SD"},{code:"RW",label:"🇷🇼 +250",value:"250RW"},{code:"ET",label:"🇪🇹 +251",value:"251ET"},{code:"SO",label:"🇸🇴 +252",value:"252SO"},{code:"DJ",label:"🇩🇯 +253",value:"253DJ"},{code:"KE",label:"🇰🇪 +254",value:"254KE"},{code:"TZ",label:"🇹🇿 +255",value:"255TZ"},{code:"UG",label:"🇺🇬 +256",value:"256UG"},{code:"BI",label:"🇧🇮 +257",value:"257BI"},{code:"MZ",label:"🇲🇿 +258",value:"258MZ"},{code:"ZM",label:"🇿🇲 +260",value:"260ZM"},{code:"MG",label:"🇲🇬 +261",value:"261MG"},{code:"YT",label:"🇾🇹 +262",value:"262YT"},{code:"RE",label:"🇷🇪 +262",value:"262RE"},{code:"ZW",label:"🇿🇼 +263",value:"263ZW"},{code:"NA",label:"🇳🇦 +264",value:"264NA"},{code:"MW",label:"🇲🇼 +265",value:"265MW"},{code:"LS",label:"🇱🇸 +266",value:"266LS"},{code:"BW",label:"🇧🇼 +267",value:"267BW"},{code:"SZ",label:"🇸🇿 +268",value:"268SZ"},{code:"KM",label:"🇰🇲 +269",value:"269KM"},{code:"ZA",label:"🇿🇦 +27",value:"27ZA"},{code:"SH",label:"🇸🇭 +290",value:"290SH"},{code:"ER",label:"🇪🇷 +291",value:"291ER"},{code:"AW",label:"🇦🇼 +297",value:"297AW"},{code:"FO",label:"🇫🇴 +298",value:"298FO"},{code:"GL",label:"🇬🇱 +299",value:"299GL"},{code:"GR",label:"🇬🇷 +30",value:"30GR"},{code:"NL",label:"🇳🇱 +31",value:"31NL"},{code:"BE",label:"🇧🇪 +32",value:"32BE"},{code:"FR",label:"🇫🇷 +33",value:"33FR"},{code:"ES",label:"🇪🇸 +34",value:"34ES"},{code:"KY",label:"🇰🇾 +345",value:"345KY"},{code:"GI",label:"🇬🇮 +350",value:"350GI"},{code:"PT",label:"🇵🇹 +351",value:"351PT"},{code:"LU",label:"🇱🇺 +352",value:"352LU"},{code:"IE",label:"🇮🇪 +353",value:"353IE"},{code:"IS",label:"🇮🇸 +354",value:"354IS"},{code:"AL",label:"🇦🇱 +355",value:"355AL"},{code:"MT",label:"🇲🇹 +356",value:"356MT"},{code:"CY",label:"🇨🇾 +357",value:"357CY"},{code:"FI",label:"🇫🇮 +358",value:"358FI"},{code:"BG",label:"🇧🇬 +359",value:"359BG"},{code:"HU",label:"🇭🇺 +36",value:"36HU"},{code:"LT",label:"🇱🇹 +370",value:"370LT"},{code:"LV",label:"🇱🇻 +371",value:"371LV"},{code:"EE",label:"🇪🇪 +372",value:"372EE"},{code:"MD",label:"🇲🇩 +373",value:"373MD"},{code:"AM",label:"🇦🇲 +374",value:"374AM"},{code:"BY",label:"🇧🇾 +375",value:"375BY"},{code:"AD",label:"🇦🇩 +376",value:"376AD"},{code:"MC",label:"🇲🇨 +377",value:"377MC"},{code:"SM",label:"🇸🇲 +378",value:"378SM"},{code:"VA",label:"🇻🇦 +379",value:"379VA"},{code:"UA",label:"🇺🇦 +380",value:"380UA"},{code:"RS",label:"🇷🇸 +381",value:"381RS"},{code:"ME",label:"🇲🇪 +382",value:"382ME"},{code:"XK",label:"🇽🇰 +383",value:"383XK"},{code:"HR",label:"🇭🇷 +385",value:"385HR"},{code:"SI",label:"🇸🇮 +386",value:"386SI"},{code:"BA",label:"🇧🇦 +387",value:"387BA"},{code:"MK",label:"🇲🇰 +389",value:"389MK"},{code:"IT",label:"🇮🇹 +39",value:"39IT"},{code:"RO",label:"🇷🇴 +40",value:"40RO"},{code:"CH",label:"🇨🇭 +41",value:"41CH"},{code:"CZ",label:"🇨🇿 +420",value:"420CZ"},{code:"SK",label:"🇸🇰 +421",value:"421SK"},{code:"LI",label:"🇱🇮 +423",value:"423LI"},{code:"AT",label:"🇦🇹 +43",value:"43AT"},{code:"IM",label:"🇮🇲 +44",value:"44IM"},{code:"GG",label:"🇬🇬 +44",value:"44GG"},{code:"JE",label:"🇯🇪 +44",value:"44JE"},{code:"GB",label:"🇬🇧 +44",value:"44GB"},{code:"DK",label:"🇩🇰 +45",value:"45DK"},{code:"SE",label:"🇸🇪 +46",value:"46SE"},{code:"NO",label:"🇳🇴 +47",value:"47NO"},{code:"SJ",label:"🇸🇯 +47",value:"47SJ"},{code:"PL",label:"🇵🇱 +48",value:"48PL"},{code:"DE",label:"🇩🇪 +49",value:"49DE"},{code:"FK",label:"🇫🇰 +500",value:"500FK"},{code:"GS",label:"🇬🇸 +500",value:"500GS"},{code:"BZ",label:"🇧🇿 +501",value:"501BZ"},{code:"GT",label:"🇬🇹 +502",value:"502GT"},{code:"SV",label:"🇸🇻 +503",value:"503SV"},{code:"HN",label:"🇭🇳 +504",value:"504HN"},{code:"NI",label:"🇳🇮 +505",value:"505NI"},{code:"CR",label:"🇨🇷 +506",value:"506CR"},{code:"PA",label:"🇵🇦 +507",value:"507PA"},{code:"PM",label:"🇵🇲 +508",value:"508PM"},{code:"HT",label:"🇭🇹 +509",value:"509HT"},{code:"PE",label:"🇵🇪 +51",value:"51PE"},{code:"MX",label:"🇲🇽 +52",value:"52MX"},{code:"CU",label:"🇨🇺 +53",value:"53CU"},{code:"AR",label:"🇦🇷 +54",value:"54AR"},{code:"BR",label:"🇧🇷 +55",value:"55BR"},{code:"CL",label:"🇨🇱 +56",value:"56CL"},{code:"CO",label:"🇨🇴 +57",value:"57CO"},{code:"VE",label:"🇻🇪 +58",value:"58VE"},{code:"BL",label:"🇧🇱 +590",value:"590BL"},{code:"MF",label:"🇲🇫 +590",value:"590MF"},{code:"GP",label:"🇬🇵 +590",value:"590GP"},{code:"BO",label:"🇧🇴 +591",value:"591BO"},{code:"GY",label:"🇬🇾 +592",value:"592GY"},{code:"EC",label:"🇪🇨 +593",value:"593EC"},{code:"GF",label:"🇬🇫 +594",value:"594GF"},{code:"PY",label:"🇵🇾 +595",value:"595PY"},{code:"MQ",label:"🇲🇶 +596",value:"596MQ"},{code:"SR",label:"🇸🇷 +597",value:"597SR"},{code:"UY",label:"🇺🇾 +598",value:"598UY"},{code:"MY",label:"🇲🇾 +60",value:"60MY"},{code:"CC",label:"🇨🇨 +61",value:"61CC"},{code:"AU",label:"🇦🇺 +61",value:"61AU"},{code:"CX",label:"🇨🇽 +61",value:"61CX"},{code:"ID",label:"🇮🇩 +62",value:"62ID"},{code:"PH",label:"🇵🇭 +63",value:"63PH"},{code:"NZ",label:"🇳🇿 +64",value:"64NZ"},{code:"SG",label:"🇸🇬 +65",value:"65SG"},{code:"TH",label:"🇹🇭 +66",value:"66TH"},{code:"TL",label:"🇹🇱 +670",value:"670TL"},{code:"NF",label:"🇳🇫 +672",value:"672NF"},{code:"BN",label:"🇧🇳 +673",value:"673BN"},{code:"NR",label:"🇳🇷 +674",value:"674NR"},{code:"PG",label:"🇵🇬 +675",value:"675PG"},{code:"TO",label:"🇹🇴 +676",value:"676TO"},{code:"SB",label:"🇸🇧 +677",value:"677SB"},{code:"VU",label:"🇻🇺 +678",value:"678VU"},{code:"FJ",label:"🇫🇯 +679",value:"679FJ"},{code:"PW",label:"🇵🇼 +680",value:"680PW"},{code:"WF",label:"🇼🇫 +681",value:"681WF"},{code:"CK",label:"🇨🇰 +682",value:"682CK"},{code:"NU",label:"🇳🇺 +683",value:"683NU"},{code:"WS",label:"🇼🇸 +685",value:"685WS"},{code:"KI",label:"🇰🇮 +686",value:"686KI"},{code:"NC",label:"🇳🇨 +687",value:"687NC"},{code:"TV",label:"🇹🇻 +688",value:"688TV"},{code:"PF",label:"🇵🇫 +689",value:"689PF"},{code:"TK",label:"🇹🇰 +690",value:"690TK"},{code:"FM",label:"🇫🇲 +691",value:"691FM"},{code:"MH",label:"🇲🇭 +692",value:"692MH"},{code:"RU",label:"🇷🇺 +7",value:"7RU"},{code:"KZ",label:"🇰🇿 +77",value:"77KZ"},{code:"JP",label:"🇯🇵 +81",value:"81JP"},{code:"KR",label:"🇰🇷 +82",value:"82KR"},{code:"VN",label:"🇻🇳 +84",value:"84VN"},{code:"KP",label:"🇰🇵 +850",value:"850KP"},{code:"HK",label:"🇭🇰 +852",value:"852HK"},{code:"MO",label:"🇲🇴 +853",value:"853MO"},{code:"KH",label:"🇰🇭 +855",value:"855KH"},{code:"LA",label:"🇱🇦 +856",value:"856LA"},{code:"CN",label:"🇨🇳 +86",value:"86CN"},{code:"PN",label:"🇵🇳 +872",value:"872PN"},{code:"BD",label:"🇧🇩 +880",value:"880BD"},{code:"TW",label:"🇹🇼 +886",value:"886TW"},{code:"TR",label:"🇹🇷 +90",value:"90TR"},{code:"IN",label:"🇮🇳 +91",value:"91IN"},{code:"PK",label:"🇵🇰 +92",value:"92PK"},{code:"AF",label:"🇦🇫 +93",value:"93AF"},{code:"LK",label:"🇱🇰 +94",value:"94LK"},{code:"MM",label:"🇲🇲 +95",value:"95MM"},{code:"MV",label:"🇲🇻 +960",value:"960MV"},{code:"LB",label:"🇱🇧 +961",value:"961LB"},{code:"JO",label:"🇯🇴 +962",value:"962JO"},{code:"SY",label:"🇸🇾 +963",value:"963SY"},{code:"IQ",label:"🇮🇶 +964",value:"964IQ"},{code:"KW",label:"🇰🇼 +965",value:"965KW"},{code:"SA",label:"🇸🇦 +966",value:"966SA"},{code:"YE",label:"🇾🇪 +967",value:"967YE"},{code:"OM",label:"🇴🇲 +968",value:"968OM"},{code:"PS",label:"🇵🇸 +970",value:"970PS"},{code:"AE",label:"🇦🇪 +971",value:"971AE"},{code:"IL",label:"🇮🇱 +972",value:"972IL"},{code:"BH",label:"🇧🇭 +973",value:"973BH"},{code:"QA",label:"🇶🇦 +974",value:"974QA"},{code:"BT",label:"🇧🇹 +975",value:"975BT"},{code:"MN",label:"🇲🇳 +976",value:"976MN"},{code:"NP",label:"🇳🇵 +977",value:"977NP"},{code:"IR",label:"🇮🇷 +98",value:"98IR"},{code:"TJ",label:"🇹🇯 +992",value:"992TJ"},{code:"TM",label:"🇹🇲 +993",value:"993TM"},{code:"AZ",label:"🇦🇿 +994",value:"994AZ"},{code:"GE",label:"🇬🇪 +995",value:"995GE"},{code:"KG",label:"🇰🇬 +996",value:"996KG"},{code:"UZ",label:"🇺🇿 +998",value:"998UZ"}]},1720:function(e,t,n){"use strict";var r=n(65736),a=n(22823),o=n(32220);const __=r.__,i=[{isDefault:!0,name:"whatsapp-button",title:__("WhatsApp Button","jetpack"),description:__("Let your visitors send you messages on WhatsApp with the tap of a button.","jetpack"),icon:(0,o.p)("send-a-message",a.Z),innerBlocks:[["jetpack/whatsapp-button",{}]]}];t.Z=i},87165:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={countryCode:{type:"string"},phoneNumber:{type:"string"},firstMessage:{type:"string",default:__("Hi, I got your WhatsApp information from your website.","jetpack")},buttonText:{type:"array",source:"children",selector:"a.whatsapp-block__button",default:__("Chat on WhatsApp","jetpack")},backgroundColor:{type:"string",default:"#25D366"},colorClass:{type:"string",default:"dark"},openInNewTab:{type:"boolean",default:!1}}},93374:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(39630),l=n(64566),c=n(41632),u=n(22985);const __=a.__,_x=a._x,p="#25D366",d="#465B64";function m(e){let{attributes:t,setAttributes:n,context:a}=e;const{countryCode:m,phoneNumber:h,firstMessage:f,openInNewTab:g,backgroundColor:b}=t,[v,k]=(0,r.useState)(!0),y=()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{label:__("Phone Number","jetpack"),help:__("Enter the phone number you use for WhatsApp and would like to be contacted on.","jetpack"),className:"jetpack-whatsapp-button__phonenumber"},(0,r.createElement)(o.SelectControl,{label:__("Country code","jetpack"),value:m,onChange:e=>n({countryCode:e}),options:l.n,hideLabelFromVision:!0}),(0,r.createElement)(o.TextControl,{placeholder:__("Your phone number…","jetpack"),onChange:e=>{n({phoneNumber:e}),0===e.length&&k(!0),e.length>2&&k((e=>{const t=RegExp(/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,"g");return!(void 0===e||e.length<1)&&t.test(m.replace(/\D/g,"")+e)})(e))},value:h}),!v&&(0,r.createElement)(u.Z,{isError:!0,className:"jetpack-whatsapp-error"},__("Please enter a valid phone number.","jetpack"))),"inspector"===a&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.TextareaControl,{label:__("Default First Message","jetpack"),help:__("The default first message that will be sent by visitors when using this button.","jetpack"),value:f,onChange:e=>n({firstMessage:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Open in new tab","jetpack"),checked:g,onChange:e=>n({openInNewTab:e}),help:__("When the button is tapped, should a new tab be opened if the visitor does not have WhatsApp installed?","jetpack")})));return"toolbar"===a?(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"jetpack-whatsapp-button-settings-selector",contentClassName:"jetpack-whatsapp-button__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(o.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("WhatsApp Button Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==s.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,c.Z)((0,r.createElement)(o.Path,{d:"M10.82 12.49c.02-.16.04-.32.04-.49 0-.17-.02-.33-.04-.49l1.08-.82c.1-.07.12-.21.06-.32l-1.03-1.73c-.06-.11-.2-.15-.31-.11l-1.28.5c-.27-.2-.56-.36-.87-.49l-.2-1.33c0-.12-.11-.21-.24-.21H5.98c-.13 0-.24.09-.26.21l-.2 1.32c-.31.12-.6.3-.87.49l-1.28-.5c-.12-.05-.25 0-.31.11l-1.03 1.73c-.06.12-.03.25.07.33l1.08.82c-.02.16-.03.33-.03.49 0 .17.02.33.04.49l-1.09.83c-.1.07-.12.21-.06.32l1.03 1.73c.06.11.2.15.31.11l1.28-.5c.27.2.56.36.87.49l.2 1.32c.01.12.12.21.25.21h2.06c.13 0 .24-.09.25-.21l.2-1.32c.31-.12.6-.3.87-.49l1.28.5c.12.05.25 0 .31-.11l1.03-1.73c.06-.11.04-.24-.06-.32l-1.1-.83zM7 13.75c-.99 0-1.8-.78-1.8-1.75s.81-1.75 1.8-1.75 1.8.78 1.8 1.75S8 13.75 7 13.75zM18 1.01L8 1c-1.1 0-2 .9-2 2v3h2V5h10v14H8v-1H6v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99z"}))}))(t,n)},renderContent:y})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("WhatsApp Button Settings","jetpack"),initialOpen:!0},y()),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!1,colorSettings:[{value:b,onChange:e=>(e=>{if(n({backgroundColor:e}),void 0===e||e===p||e===d)return n({colorClass:"dark"});n({colorClass:"light"})})(e),label:__("Background Color","jetpack"),disableCustomColors:!0,colors:[{name:_x("WhatsApp Green","background color name","jetpack"),slug:"whatsapp-green",color:p},{name:_x("WhatsApp Dark","background color name","jetpack"),slug:"whatsapp-dark",color:d},{name:_x("WhatsApp Light","background color name","jetpack"),slug:"whatsapp-light",color:"#F4F4F4"},{name:_x("White","background color name","jetpack"),slug:"whatsapp-white",color:"#FFFFFF"}]}]}))}},11026:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(59770),l=n(87165);t.Z={attributes:l.Z,supports:{html:!1,reusable:!1},save:function(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,colorClass:u,buttonText:p,backgroundColor:d,openInNewTab:m}=t,h=m?"_blank":"_self",f=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",g=o()(n,u?"is-color-"+u:void 0,p.length?void 0:"has-no-text");return(0,r.createElement)("div",{className:g},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+f;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:d},target:h,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:p})))}}},60249:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(89105),o=n.n(a),i=n(9818),s=n(52175),l=n(64566),c=n(93374);function u(e){let{attributes:t,setAttributes:n,className:a,clientId:u}=e;const{countryCode:p,buttonText:d,colorClass:m,backgroundColor:h}=t,{selectBlock:f}=(0,i.useDispatch)("core/block-editor"),g=(0,r.useCallback)((async()=>{n({countryCode:"1"});const e=await fetch("https://public-api.wordpress.com/geo/").then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json();l.n.forEach((e=>{e.code===t.country_short&&n({countryCode:e.value})}))}}),[n]);(0,r.useEffect)((()=>{void 0===p&&(g(),f(u))}),[u,p,g,f]);return(0,r.createElement)("div",{className:o()(a,m?"is-color-"+m:void 0)},(0,r.createElement)(s.BlockControls,null,(0,r.createElement)(c.Z,{context:"toolbar",setAttributes:n,attributes:t})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(c.Z,{context:"inspector",setAttributes:n,attributes:t})),(0,r.createElement)(s.RichText,{placeholder:d.default,value:d,onChange:e=>n({buttonText:e}),withoutInteractiveFormatting:!0,allowedFormats:[],className:"whatsapp-block__button",tagName:"a",preserveWhiteSpace:!1,style:{backgroundColor:h,color:"dark"===m?"#fff":"#465B64"}}))}},22823:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(57535);t.Z=(0,r.createElement)(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,r.createElement)(a.Path,{fill:(0,o.m)(),d:"M24,11.6909333 C24,18.1477333 18.7256,23.3818667 12.2181333,23.3818667 C10.1522667,23.3818667 8.21146667,22.8538667 6.52293333,21.9272 L0,24 L2.12666667,17.7274667 C1.05386667,15.9658667 0.436,13.8997333 0.436,11.6909333 C0.436,5.23413333 5.71093333,0 12.2181333,0 C18.7261333,0 24,5.23413333 24,11.6909333 Z M12.2181333,1.86186667 C6.75573333,1.86186667 2.31253333,6.2712 2.31253333,11.6909333 C2.31253333,13.8416 3.0136,15.8333333 4.19946667,17.4536 L2.96186667,21.104 L6.76853333,19.8941333 C8.33253333,20.9210667 10.2061333,21.52 12.2184,21.52 C17.68,21.52 22.124,17.1112 22.124,11.6914667 C22.124,6.27173333 17.6802667,1.86186667 12.2181333,1.86186667 Z M18.1677333,14.3834667 C18.0949333,14.2642667 17.9026667,14.1922667 17.6141333,14.0490667 C17.3250667,13.9058667 15.9048,13.2122667 15.6408,13.1170667 C15.376,13.0216 15.1829333,12.9736 14.9906667,13.2602667 C14.7984,13.5472 14.2448,14.1922667 14.076,14.3834667 C13.9074667,14.5752 13.7392,14.5992 13.4501333,14.4557333 C13.1616,14.3125333 12.2312,14.0096 11.128,13.0336 C10.2696,12.2741333 9.68986667,11.3365333 9.52133333,11.0493333 C9.35306667,10.7626667 9.50373333,10.6077333 9.648,10.4650667 C9.77813333,10.3365333 9.93706667,10.1304 10.0813333,9.9632 C10.2261333,9.79573333 10.2741333,9.67653333 10.3698667,9.48506667 C10.4666667,9.29386667 10.4184,9.12666667 10.3458667,8.98293333 C10.2738667,8.83973333 9.69573333,7.4296 9.4552,6.85573333 C9.21466667,6.2824 8.9744,6.37786667 8.8056,6.37786667 C8.63733333,6.37786667 8.44453333,6.35386667 8.252,6.35386667 C8.05946667,6.35386667 7.7464,6.4256 7.4816,6.71226667 C7.21706667,6.9992 6.4712,7.69253333 6.4712,9.1024 C6.4712,10.5125333 7.5056,11.8749333 7.6504,12.0658667 C7.79466667,12.2568 9.64773333,15.2445333 12.5837333,16.392 C15.52,17.5389333 15.52,17.1562667 16.0496,17.1082667 C16.5786667,17.0605333 17.7578667,16.4152 17.9994667,15.7464 C18.2394667,15.0765333 18.2394667,14.5029333 18.1677333,14.3834667 Z"}))},59770:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},pf:function(){return d},Xd:function(){return m}});var r=n(65736),a=n(57535),o=n(87165),i=n(60249),s=n(4114),l=n(11026),c=n(22823);const __=r.__,_x=r._x,u="whatsapp-button",p=__("WhatsApp Button","jetpack"),d="https://api.whatsapp.com/send?phone=",m=(__("Chat on WhatsApp","jetpack"),__("Hi, I got your WhatsApp information from your website.","jetpack"),{title:p,description:__("Let your visitors send you a message on WhatsApp with the tap of a button.","jetpack"),icon:{src:c.Z,foreground:(0,a.m)()},category:"grow",parent:["jetpack/send-a-message"],keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1,reusable:!1,align:["left","center","right"]},attributes:o.Z,edit:i.Z,save:s.Z,example:{attributes:{countryCode:"1",phoneNumber:"555-123-4567"}},deprecated:[l.Z]})},4114:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(59770);function l(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,buttonText:u,backgroundColor:p,colorClass:d,openInNewTab:m}=t,h=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",f=o()(n,d?"is-color-"+d:void 0,u.length?void 0:"has-no-text"),g=m?"_blank":"_self";return(0,r.createElement)("div",{className:f},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+h;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:p,color:"dark"===d?"#fff":"#465B64"},target:g,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:u})))}},96594:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(32673),l=n(20489);const __=a.__,c="seo",u={render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("SEO Description","jetpack")},(0,r.createElement)(l.Z,null))),(0,r.createElement)(i.PluginPrePublishPanel,{initialOpen:!0,id:"seo-title",title:(0,r.createElement)("span",{id:"seo-defaults",key:"seo-title-span"},__("SEO Description","jetpack"))},(0,r.createElement)(l.Z,null)))}},20489:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(9818);const __=i.__,_n=i._n;class u extends o.Component{constructor(){super(...arguments),a()(this,"onMessageChange",(e=>{this.props.updateSeoDescription(e.target.value)}))}render(){const{seoDescription:e}=this.props;return(0,o.createElement)("div",{className:"jetpack-seo-message-box"},(0,o.createElement)("textarea",{value:e,onChange:this.onMessageChange,placeholder:__("Write a description…","jetpack"),rows:4}),(0,o.createElement)("div",{className:"jetpack-seo-character-count"},(0,i.sprintf)(
+_n("This block will only appear to people who are visiting this page for %d time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}render(){return(0,o.createElement)("div",{className:p()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},(0,o.createElement)(s.Placeholder,{icon:m.qv,label:__("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},(0,o.createElement)(s.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":__("Please enter a valid number.","jetpack"),label:__("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),(0,o.createElement)(s.RadioControl,{label:__("Visibility","jetpack"),selected:this.props.attributes.criteria,options:h,onChange:this.setCriteria})),(0,o.createElement)(s.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),(0,o.createElement)("div",{className:"wp-block-jetpack-repeat-visitor__inner-container"},(0,o.createElement)(l.InnerBlocks,null)))}}t.Z=(0,c.withSelect)(((e,t)=>{const{isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{isSelected:n(t.clientId)||r(t.clientId)}}))(f)},48516:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)("div",{className:"wp-block-jetpack-repeat-visitor__inner-container"},(0,r.createElement)(a.InnerBlocks.Content,null)))}},51100:function(e,t,n){"use strict";n.d(t,{Am:function(){return a},FV:function(){return r},Kv:function(){return o}});const r="after-visits",a="before-visits",o=3},30314:function(e,t,n){"use strict";n.d(t,{Xd:function(){return f},qv:function(){return h},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(36598),l=n(4498),c=n(48516),u=n(51100),p=n(70355);const __=a.__,_x=a._x,d={attributes:{criteria:{type:"string",default:u.FV},threshold:{type:"number",default:u.Kv}},supports:{html:!1},save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(i.InnerBlocks.Content,null))}},m="repeat-visitor",h=(0,s.Z)((0,r.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})),f={attributes:{criteria:{type:"string",default:u.FV},threshold:{type:"number",default:u.Kv}},category:"widgets",description:__("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:{src:h,foreground:(0,p.m)()},keywords:[_x("return","block search term","jetpack"),_x("visitors","block search term","jetpack"),_x("visibility","block search term","jetpack")],supports:{align:["wide","full"],html:!1},title:__("Repeat Visitor","jetpack"),edit:l.Z,save:c.Z,example:{attributes:{criteria:u.FV,threshold:u.Kv},innerBlocks:[{name:"core/paragraph",attributes:{content:__("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]},deprecated:[d]}},98052:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={revueUsername:{type:"string"},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0}}},67686:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(4981),i=n(65736);const _x=i._x,__=i.__,s=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius","gradient","customGradient"];t.Z={attributes:{revueUsername:{type:"string"},text:{type:"string",default:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},migrate:e=>{const t=(0,a.omit)(e,s),n=(0,a.pick)(e,s);return[t,[(0,o.createBlock)("jetpack/button",{element:"button",text:n.text||"Subscribe",...n})]]},isEligible:(e,t)=>(0,a.isEmpty)(t)||(0,a.some)((0,a.pick)(e,s),Boolean),save:e=>{let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)("a",{href:n},n))}}},40349:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(92819),o=n(13419),i=n(52175),s=n(55609),l=n(65736),c=n(12012),u=n(98052),p=n(15642),d=n(63519),m=n(4554);const __=l.__;function h(e){let{attributes:t,className:n,setAttributes:l}=e;(0,r.useEffect)((()=>{const e=(0,m.S)(u.Z,t);(0,a.isEqual)(e,t)||l(e)}),[t,l]);const{revueUsername:h,emailLabel:f,emailPlaceholder:g,firstNameLabel:b,firstNamePlaceholder:v,firstNameShow:k,lastNameLabel:y,lastNamePlaceholder:E,lastNameShow:w}=t,[_,C]=(0,r.useState)("");(0,r.useEffect)((()=>{!_&&h&&C(h)}),[]);const S=(0,o.Wp)()||(0,o.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/revue-block/":"https://jetpack.com/support/jetpack-blocks/revue-block/";return(0,r.createElement)("div",{className:n},!h&&(0,r.createElement)(s.Placeholder,{icon:d.Z,instructions:__("Enter your Revue username.","jetpack"),label:__("Revue","jetpack")},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),l({revueUsername:_.trim()})}},(0,r.createElement)("input",{className:"components-placeholder__input",onChange:e=>C(e.target.value.trim()),placeholder:__("Enter your Revue username here…","jetpack"),type:"text",value:_}),(0,r.createElement)("div",null,(0,r.createElement)(s.Button,{disabled:!_,variant:"secondary",type:"submit"},__("Add Form","jetpack")))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(s.ExternalLink,{href:S},__("Need help finding your Revue username?","jetpack")))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.ToggleControl,{label:__("Show first name field.","jetpack"),checked:k,onChange:()=>l({firstNameShow:!k})}),(0,r.createElement)(s.ToggleControl,{label:__("Show last name field.","jetpack"),checked:w,onChange:()=>l({lastNameShow:!w})}),(0,r.createElement)(s.TextControl,{label:__("Revue Username","jetpack"),onChange:e=>{C(e.trim()),l({revueUsername:e.trim()})},value:h}))),(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:f,labelFieldName:"emailLabel",required:!0,setAttributes:l}),onChange:e=>l({emailPlaceholder:e}),placeholder:g,value:g}),k&&(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:b,labelFieldName:"firstNameLabel",setAttributes:l}),onChange:e=>l({firstNamePlaceholder:e}),placeholder:v,value:v}),w&&(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:y,labelFieldName:"lastNameLabel",setAttributes:l}),onChange:e=>l({lastNamePlaceholder:e}),placeholder:E,value:E}),(0,r.createElement)(i.InnerBlocks,{template:[[c.Ss.name,c.Ss.attributes]],templateLock:"all"})))}},63519:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,{fillRule:"nonzero"},(0,r.createElement)(a.Path,{d:"M16.8452322,23.2301186 C13.9471277,22.2565366 12.0226052,20.2188069 10.6188359,16.5961763 C10.2565728,15.6225943 9.87166831,14.4905223 9.80374399,14.1056178 C9.66789534,13.4037331 9.6452539,13.3810917 8.96601067,13.6075061 C7.8792215,13.9697691 7.76601429,14.1282592 7.35846835,15.758443 C6.724508,18.2490015 6.45281071,18.7244718 5.56979451,18.8829619 C5.09432424,18.9735276 4.5735711,18.9282447 4.27923236,18.7697547 C3.84904498,18.5433402 3.8037621,18.3848502 3.93961075,17.501834 C4.00753507,16.9584394 4.41508101,15.3056142 4.82262695,13.8339205 C5.8414918,10.2792143 6.11318909,8.98865211 6.29432062,7.1094125 C6.43016927,5.63771883 6.47545215,5.50187018 7.08677106,5.20753145 C7.92450438,4.79998551 8.80752058,5.09432424 9.19242508,5.88677468 C9.44148093,6.38488639 9.39619805,6.90563953 8.96601067,8.98865211 C8.67167193,10.3924215 8.51318185,11.5244935 8.62638905,11.5244935 C9.12450076,11.5244935 11.2754377,10.2565728 12.0452467,9.50940525 C13.8339205,7.83393861 14.2641079,5.77356748 13.2905259,3.82640354 C12.5886412,2.4226342 11.6150593,1.94716393 9.78110255,2.08301258 C6.97356385,2.28678555 4.43772245,4.25659092 3.01131166,7.35846835 C2.21886123,9.05657643 2.19621978,9.07921787 1.49433511,8.94336923 C-1.74339096,8.28676744 0.63396035,3.39621616 5.29809721,1.19999638 C8.39997464,-0.294338734 11.5018521,-0.362263057 14.0829764,0.950940525 C17.0716466,2.51319996 18.0225871,5.93205756 16.2791961,8.96601067 C15.5999529,10.1433656 14.2641079,11.3886449 12.9509043,12.0678881 C12.5433584,12.2716611 12.2037367,12.5207169 12.2037367,12.6339241 C12.2037367,12.9509043 13.2678845,15.9395745 13.6301475,16.6641006 C14.3093908,17.9773042 16.2339133,19.8112609 17.4565511,20.377297 C18.8829619,21.0112573 21.4640861,21.0791816 23.0263456,20.5131456 L23.9772861,20.1508826 L23.9772861,20.7169186 C23.9772861,21.5320105 23.3433258,22.3471023 22.3018195,22.8904969 C21.147106,23.4791744 18.1584357,23.6603059 16.8452322,23.2301186 Z"})))},12012:function(e,t,n){"use strict";n.d(t,{Ss:function(){return u},Xd:function(){return d},u2:function(){return p}});var r=n(65736),a=n(98052),o=n(67686),i=n(40349),s=n(63519),l=n(70355),c=n(15014);const __=r.__,_x=r._x,u={name:"jetpack/button",attributes:{element:"button",text:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")}},p="revue",d={title:__("Revue","jetpack"),description:__("Add a subscription form for your Revue newsletter.","jetpack"),icon:{src:s.Z,foreground:(0,l.m)()},category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("mailing list","block search term","jetpack")],supports:{html:!1},attributes:a.Z,edit:i.Z,save:c.Z,example:{attributes:{revueUsername:"example"},innerBlocks:[u]},deprecated:[o.Z]}},15014:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null),(0,r.createElement)("a",{className:"wp-block-jetpack-revue__fallback",href:n},n))}},26208:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks,{template:[["jetpack/whatsapp-button",{}]],allowedBlocks:["jetpack/whatsapp-button"]}))}},17458:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},u2:function(){return p}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(26208),l=n(1645),c=n(36598),u=n(70355);const __=a.__,_x=a._x,p="send-a-message",d={title:__("Send A Message","jetpack"),description:__("Let your visitors send you messages with the tap of a button.","jetpack"),icon:{src:(0,c.Z)((0,r.createElement)(i.Path,{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"})),foreground:(0,u.m)()},category:"grow",keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1},attributes:{},edit:s.Z,save:e=>(0,r.createElement)("div",{className:e.className},(0,r.createElement)(o.InnerBlocks.Content,null)),variations:l.Z,example:{}}},46482:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});const r=[{code:"US",label:"🇺🇸 +1",value:"1US"},{code:"CA",label:"🇨🇦 +1",value:"1CA"},{code:"BS",label:"🇧🇸 +1242",value:"1242BS"},{code:"BB",label:"🇧🇧 +1246",value:"1246BB"},{code:"AI",label:"🇦🇮 +1264",value:"1264AI"},{code:"AG",label:"🇦🇬 +1268",value:"1268AG"},{code:"VG",label:"🇻🇬 +1284",value:"1284VG"},{code:"VI",label:"🇻🇮 +1340",value:"1340VI"},{code:"BM",label:"🇧🇲 +1441",value:"1441BM"},{code:"GD",label:"🇬🇩 +1473",value:"1473GD"},{code:"TC",label:"🇹🇨 +1649",value:"1649TC"},{code:"MS",label:"🇲🇸 +1664",value:"1664MS"},{code:"MP",label:"🇲🇵 +1670",value:"1670MP"},{code:"GU",label:"🇬🇺 +1671",value:"1671GU"},{code:"AS",label:"🇦🇸 +1684",value:"1684AS"},{code:"LC",label:"🇱🇨 +1758",value:"1758LC"},{code:"DM",label:"🇩🇲 +1767",value:"1767DM"},{code:"VC",label:"🇻🇨 +1784",value:"1784VC"},{code:"DO",label:"🇩🇴 +1849",value:"1849DO"},{code:"TT",label:"🇹🇹 +1868",value:"1868TT"},{code:"KN",label:"🇰🇳 +1869",value:"1869KN"},{code:"JM",label:"🇯🇲 +1876",value:"1876JM"},{code:"PR",label:"🇵🇷 +1939",value:"1939PR"},{code:"EG",label:"🇪🇬 +20",value:"20EG"},{code:"MA",label:"🇲🇦 +212",value:"212MA"},{code:"DZ",label:"🇩🇿 +213",value:"213DZ"},{code:"TN",label:"🇹🇳 +216",value:"216TN"},{code:"LY",label:"🇱🇾 +218",value:"218LY"},{code:"GM",label:"🇬🇲 +220",value:"220GM"},{code:"SN",label:"🇸🇳 +221",value:"221SN"},{code:"MR",label:"🇲🇷 +222",value:"222MR"},{code:"ML",label:"🇲🇱 +223",value:"223ML"},{code:"GN",label:"🇬🇳 +224",value:"224GN"},{code:"CI",label:"🇨🇮 +225",value:"225CI"},{code:"BF",label:"🇧🇫 +226",value:"226BF"},{code:"NE",label:"🇳🇪 +227",value:"227NE"},{code:"TG",label:"🇹🇬 +228",value:"228TG"},{code:"BJ",label:"🇧🇯 +229",value:"229BJ"},{code:"MU",label:"🇲🇺 +230",value:"230MU"},{code:"LR",label:"🇱🇷 +231",value:"231LR"},{code:"SL",label:"🇸🇱 +232",value:"232SL"},{code:"GH",label:"🇬🇭 +233",value:"233GH"},{code:"NG",label:"🇳🇬 +234",value:"234NG"},{code:"TD",label:"🇹🇩 +235",value:"235TD"},{code:"CF",label:"🇨🇫 +236",value:"236CF"},{code:"CM",label:"🇨🇲 +237",value:"237CM"},{code:"CV",label:"🇨🇻 +238",value:"238CV"},{code:"ST",label:"🇸🇹 +239",value:"239ST"},{code:"GQ",label:"🇬🇶 +240",value:"240GQ"},{code:"GA",label:"🇬🇦 +241",value:"241GA"},{code:"CG",label:"🇨🇬 +242",value:"242CG"},{code:"CD",label:"🇨🇩 +243",value:"243CD"},{code:"AO",label:"🇦🇴 +244",value:"244AO"},{code:"GW",label:"🇬🇼 +245",value:"245GW"},{code:"IO",label:"🇮🇴 +246",value:"246IO"},{code:"SC",label:"🇸🇨 +248",value:"248SC"},{code:"SD",label:"🇸🇩 +249",value:"249SD"},{code:"RW",label:"🇷🇼 +250",value:"250RW"},{code:"ET",label:"🇪🇹 +251",value:"251ET"},{code:"SO",label:"🇸🇴 +252",value:"252SO"},{code:"DJ",label:"🇩🇯 +253",value:"253DJ"},{code:"KE",label:"🇰🇪 +254",value:"254KE"},{code:"TZ",label:"🇹🇿 +255",value:"255TZ"},{code:"UG",label:"🇺🇬 +256",value:"256UG"},{code:"BI",label:"🇧🇮 +257",value:"257BI"},{code:"MZ",label:"🇲🇿 +258",value:"258MZ"},{code:"ZM",label:"🇿🇲 +260",value:"260ZM"},{code:"MG",label:"🇲🇬 +261",value:"261MG"},{code:"YT",label:"🇾🇹 +262",value:"262YT"},{code:"RE",label:"🇷🇪 +262",value:"262RE"},{code:"ZW",label:"🇿🇼 +263",value:"263ZW"},{code:"NA",label:"🇳🇦 +264",value:"264NA"},{code:"MW",label:"🇲🇼 +265",value:"265MW"},{code:"LS",label:"🇱🇸 +266",value:"266LS"},{code:"BW",label:"🇧🇼 +267",value:"267BW"},{code:"SZ",label:"🇸🇿 +268",value:"268SZ"},{code:"KM",label:"🇰🇲 +269",value:"269KM"},{code:"ZA",label:"🇿🇦 +27",value:"27ZA"},{code:"SH",label:"🇸🇭 +290",value:"290SH"},{code:"ER",label:"🇪🇷 +291",value:"291ER"},{code:"AW",label:"🇦🇼 +297",value:"297AW"},{code:"FO",label:"🇫🇴 +298",value:"298FO"},{code:"GL",label:"🇬🇱 +299",value:"299GL"},{code:"GR",label:"🇬🇷 +30",value:"30GR"},{code:"NL",label:"🇳🇱 +31",value:"31NL"},{code:"BE",label:"🇧🇪 +32",value:"32BE"},{code:"FR",label:"🇫🇷 +33",value:"33FR"},{code:"ES",label:"🇪🇸 +34",value:"34ES"},{code:"KY",label:"🇰🇾 +345",value:"345KY"},{code:"GI",label:"🇬🇮 +350",value:"350GI"},{code:"PT",label:"🇵🇹 +351",value:"351PT"},{code:"LU",label:"🇱🇺 +352",value:"352LU"},{code:"IE",label:"🇮🇪 +353",value:"353IE"},{code:"IS",label:"🇮🇸 +354",value:"354IS"},{code:"AL",label:"🇦🇱 +355",value:"355AL"},{code:"MT",label:"🇲🇹 +356",value:"356MT"},{code:"CY",label:"🇨🇾 +357",value:"357CY"},{code:"FI",label:"🇫🇮 +358",value:"358FI"},{code:"BG",label:"🇧🇬 +359",value:"359BG"},{code:"HU",label:"🇭🇺 +36",value:"36HU"},{code:"LT",label:"🇱🇹 +370",value:"370LT"},{code:"LV",label:"🇱🇻 +371",value:"371LV"},{code:"EE",label:"🇪🇪 +372",value:"372EE"},{code:"MD",label:"🇲🇩 +373",value:"373MD"},{code:"AM",label:"🇦🇲 +374",value:"374AM"},{code:"BY",label:"🇧🇾 +375",value:"375BY"},{code:"AD",label:"🇦🇩 +376",value:"376AD"},{code:"MC",label:"🇲🇨 +377",value:"377MC"},{code:"SM",label:"🇸🇲 +378",value:"378SM"},{code:"VA",label:"🇻🇦 +379",value:"379VA"},{code:"UA",label:"🇺🇦 +380",value:"380UA"},{code:"RS",label:"🇷🇸 +381",value:"381RS"},{code:"ME",label:"🇲🇪 +382",value:"382ME"},{code:"XK",label:"🇽🇰 +383",value:"383XK"},{code:"HR",label:"🇭🇷 +385",value:"385HR"},{code:"SI",label:"🇸🇮 +386",value:"386SI"},{code:"BA",label:"🇧🇦 +387",value:"387BA"},{code:"MK",label:"🇲🇰 +389",value:"389MK"},{code:"IT",label:"🇮🇹 +39",value:"39IT"},{code:"RO",label:"🇷🇴 +40",value:"40RO"},{code:"CH",label:"🇨🇭 +41",value:"41CH"},{code:"CZ",label:"🇨🇿 +420",value:"420CZ"},{code:"SK",label:"🇸🇰 +421",value:"421SK"},{code:"LI",label:"🇱🇮 +423",value:"423LI"},{code:"AT",label:"🇦🇹 +43",value:"43AT"},{code:"IM",label:"🇮🇲 +44",value:"44IM"},{code:"GG",label:"🇬🇬 +44",value:"44GG"},{code:"JE",label:"🇯🇪 +44",value:"44JE"},{code:"GB",label:"🇬🇧 +44",value:"44GB"},{code:"DK",label:"🇩🇰 +45",value:"45DK"},{code:"SE",label:"🇸🇪 +46",value:"46SE"},{code:"NO",label:"🇳🇴 +47",value:"47NO"},{code:"SJ",label:"🇸🇯 +47",value:"47SJ"},{code:"PL",label:"🇵🇱 +48",value:"48PL"},{code:"DE",label:"🇩🇪 +49",value:"49DE"},{code:"FK",label:"🇫🇰 +500",value:"500FK"},{code:"GS",label:"🇬🇸 +500",value:"500GS"},{code:"BZ",label:"🇧🇿 +501",value:"501BZ"},{code:"GT",label:"🇬🇹 +502",value:"502GT"},{code:"SV",label:"🇸🇻 +503",value:"503SV"},{code:"HN",label:"🇭🇳 +504",value:"504HN"},{code:"NI",label:"🇳🇮 +505",value:"505NI"},{code:"CR",label:"🇨🇷 +506",value:"506CR"},{code:"PA",label:"🇵🇦 +507",value:"507PA"},{code:"PM",label:"🇵🇲 +508",value:"508PM"},{code:"HT",label:"🇭🇹 +509",value:"509HT"},{code:"PE",label:"🇵🇪 +51",value:"51PE"},{code:"MX",label:"🇲🇽 +52",value:"52MX"},{code:"CU",label:"🇨🇺 +53",value:"53CU"},{code:"AR",label:"🇦🇷 +54",value:"54AR"},{code:"BR",label:"🇧🇷 +55",value:"55BR"},{code:"CL",label:"🇨🇱 +56",value:"56CL"},{code:"CO",label:"🇨🇴 +57",value:"57CO"},{code:"VE",label:"🇻🇪 +58",value:"58VE"},{code:"BL",label:"🇧🇱 +590",value:"590BL"},{code:"MF",label:"🇲🇫 +590",value:"590MF"},{code:"GP",label:"🇬🇵 +590",value:"590GP"},{code:"BO",label:"🇧🇴 +591",value:"591BO"},{code:"GY",label:"🇬🇾 +592",value:"592GY"},{code:"EC",label:"🇪🇨 +593",value:"593EC"},{code:"GF",label:"🇬🇫 +594",value:"594GF"},{code:"PY",label:"🇵🇾 +595",value:"595PY"},{code:"MQ",label:"🇲🇶 +596",value:"596MQ"},{code:"SR",label:"🇸🇷 +597",value:"597SR"},{code:"UY",label:"🇺🇾 +598",value:"598UY"},{code:"MY",label:"🇲🇾 +60",value:"60MY"},{code:"CC",label:"🇨🇨 +61",value:"61CC"},{code:"AU",label:"🇦🇺 +61",value:"61AU"},{code:"CX",label:"🇨🇽 +61",value:"61CX"},{code:"ID",label:"🇮🇩 +62",value:"62ID"},{code:"PH",label:"🇵🇭 +63",value:"63PH"},{code:"NZ",label:"🇳🇿 +64",value:"64NZ"},{code:"SG",label:"🇸🇬 +65",value:"65SG"},{code:"TH",label:"🇹🇭 +66",value:"66TH"},{code:"TL",label:"🇹🇱 +670",value:"670TL"},{code:"NF",label:"🇳🇫 +672",value:"672NF"},{code:"BN",label:"🇧🇳 +673",value:"673BN"},{code:"NR",label:"🇳🇷 +674",value:"674NR"},{code:"PG",label:"🇵🇬 +675",value:"675PG"},{code:"TO",label:"🇹🇴 +676",value:"676TO"},{code:"SB",label:"🇸🇧 +677",value:"677SB"},{code:"VU",label:"🇻🇺 +678",value:"678VU"},{code:"FJ",label:"🇫🇯 +679",value:"679FJ"},{code:"PW",label:"🇵🇼 +680",value:"680PW"},{code:"WF",label:"🇼🇫 +681",value:"681WF"},{code:"CK",label:"🇨🇰 +682",value:"682CK"},{code:"NU",label:"🇳🇺 +683",value:"683NU"},{code:"WS",label:"🇼🇸 +685",value:"685WS"},{code:"KI",label:"🇰🇮 +686",value:"686KI"},{code:"NC",label:"🇳🇨 +687",value:"687NC"},{code:"TV",label:"🇹🇻 +688",value:"688TV"},{code:"PF",label:"🇵🇫 +689",value:"689PF"},{code:"TK",label:"🇹🇰 +690",value:"690TK"},{code:"FM",label:"🇫🇲 +691",value:"691FM"},{code:"MH",label:"🇲🇭 +692",value:"692MH"},{code:"RU",label:"🇷🇺 +7",value:"7RU"},{code:"KZ",label:"🇰🇿 +77",value:"77KZ"},{code:"JP",label:"🇯🇵 +81",value:"81JP"},{code:"KR",label:"🇰🇷 +82",value:"82KR"},{code:"VN",label:"🇻🇳 +84",value:"84VN"},{code:"KP",label:"🇰🇵 +850",value:"850KP"},{code:"HK",label:"🇭🇰 +852",value:"852HK"},{code:"MO",label:"🇲🇴 +853",value:"853MO"},{code:"KH",label:"🇰🇭 +855",value:"855KH"},{code:"LA",label:"🇱🇦 +856",value:"856LA"},{code:"CN",label:"🇨🇳 +86",value:"86CN"},{code:"PN",label:"🇵🇳 +872",value:"872PN"},{code:"BD",label:"🇧🇩 +880",value:"880BD"},{code:"TW",label:"🇹🇼 +886",value:"886TW"},{code:"TR",label:"🇹🇷 +90",value:"90TR"},{code:"IN",label:"🇮🇳 +91",value:"91IN"},{code:"PK",label:"🇵🇰 +92",value:"92PK"},{code:"AF",label:"🇦🇫 +93",value:"93AF"},{code:"LK",label:"🇱🇰 +94",value:"94LK"},{code:"MM",label:"🇲🇲 +95",value:"95MM"},{code:"MV",label:"🇲🇻 +960",value:"960MV"},{code:"LB",label:"🇱🇧 +961",value:"961LB"},{code:"JO",label:"🇯🇴 +962",value:"962JO"},{code:"SY",label:"🇸🇾 +963",value:"963SY"},{code:"IQ",label:"🇮🇶 +964",value:"964IQ"},{code:"KW",label:"🇰🇼 +965",value:"965KW"},{code:"SA",label:"🇸🇦 +966",value:"966SA"},{code:"YE",label:"🇾🇪 +967",value:"967YE"},{code:"OM",label:"🇴🇲 +968",value:"968OM"},{code:"PS",label:"🇵🇸 +970",value:"970PS"},{code:"AE",label:"🇦🇪 +971",value:"971AE"},{code:"IL",label:"🇮🇱 +972",value:"972IL"},{code:"BH",label:"🇧🇭 +973",value:"973BH"},{code:"QA",label:"🇶🇦 +974",value:"974QA"},{code:"BT",label:"🇧🇹 +975",value:"975BT"},{code:"MN",label:"🇲🇳 +976",value:"976MN"},{code:"NP",label:"🇳🇵 +977",value:"977NP"},{code:"IR",label:"🇮🇷 +98",value:"98IR"},{code:"TJ",label:"🇹🇯 +992",value:"992TJ"},{code:"TM",label:"🇹🇲 +993",value:"993TM"},{code:"AZ",label:"🇦🇿 +994",value:"994AZ"},{code:"GE",label:"🇬🇪 +995",value:"995GE"},{code:"KG",label:"🇰🇬 +996",value:"996KG"},{code:"UZ",label:"🇺🇿 +998",value:"998UZ"}]},1645:function(e,t,n){"use strict";var r=n(65736),a=n(57954),o=n(42770);const __=r.__,i=[{isDefault:!0,name:"whatsapp-button",title:__("WhatsApp Button","jetpack"),description:__("Let your visitors send you messages on WhatsApp with the tap of a button.","jetpack"),icon:(0,o.p)("send-a-message",a.Z),innerBlocks:[["jetpack/whatsapp-button",{}]]}];t.Z=i},88377:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={countryCode:{type:"string"},phoneNumber:{type:"string"},firstMessage:{type:"string",default:__("Hi, I got your WhatsApp information from your website.","jetpack")},buttonText:{type:"array",source:"children",selector:"a.whatsapp-block__button",default:__("Chat on WhatsApp","jetpack")},backgroundColor:{type:"string",default:"#25D366"},colorClass:{type:"string",default:"dark"},openInNewTab:{type:"boolean",default:!1}}},35513:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(39630),l=n(46482),c=n(36598),u=n(59809);const __=a.__,_x=a._x,p="#25D366",d="#465B64";function m(e){let{attributes:t,setAttributes:n,context:a}=e;const{countryCode:m,phoneNumber:h,firstMessage:f,openInNewTab:g,backgroundColor:b}=t,[v,k]=(0,r.useState)(!0),y=()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{label:__("Phone Number","jetpack"),help:__("Enter the phone number you use for WhatsApp and would like to be contacted on.","jetpack"),className:"jetpack-whatsapp-button__phonenumber"},(0,r.createElement)(o.SelectControl,{label:__("Country code","jetpack"),value:m,onChange:e=>n({countryCode:e}),options:l.n,hideLabelFromVision:!0}),(0,r.createElement)(o.TextControl,{placeholder:__("Your phone number…","jetpack"),onChange:e=>{n({phoneNumber:e}),0===e.length&&k(!0),e.length>2&&k((e=>{const t=RegExp(/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,"g");return!(void 0===e||e.length<1)&&t.test(m.replace(/\D/g,"")+e)})(e))},value:h}),!v&&(0,r.createElement)(u.Z,{isError:!0,className:"jetpack-whatsapp-error"},__("Please enter a valid phone number.","jetpack"))),"inspector"===a&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.TextareaControl,{label:__("Default First Message","jetpack"),help:__("The default first message that will be sent by visitors when using this button.","jetpack"),value:f,onChange:e=>n({firstMessage:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Open in new tab","jetpack"),checked:g,onChange:e=>n({openInNewTab:e}),help:__("When the button is tapped, should a new tab be opened if the visitor does not have WhatsApp installed?","jetpack")})));return"toolbar"===a?(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"jetpack-whatsapp-button-settings-selector",contentClassName:"jetpack-whatsapp-button__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(o.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("WhatsApp Button Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==s.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,c.Z)((0,r.createElement)(o.Path,{d:"M10.82 12.49c.02-.16.04-.32.04-.49 0-.17-.02-.33-.04-.49l1.08-.82c.1-.07.12-.21.06-.32l-1.03-1.73c-.06-.11-.2-.15-.31-.11l-1.28.5c-.27-.2-.56-.36-.87-.49l-.2-1.33c0-.12-.11-.21-.24-.21H5.98c-.13 0-.24.09-.26.21l-.2 1.32c-.31.12-.6.3-.87.49l-1.28-.5c-.12-.05-.25 0-.31.11l-1.03 1.73c-.06.12-.03.25.07.33l1.08.82c-.02.16-.03.33-.03.49 0 .17.02.33.04.49l-1.09.83c-.1.07-.12.21-.06.32l1.03 1.73c.06.11.2.15.31.11l1.28-.5c.27.2.56.36.87.49l.2 1.32c.01.12.12.21.25.21h2.06c.13 0 .24-.09.25-.21l.2-1.32c.31-.12.6-.3.87-.49l1.28.5c.12.05.25 0 .31-.11l1.03-1.73c.06-.11.04-.24-.06-.32l-1.1-.83zM7 13.75c-.99 0-1.8-.78-1.8-1.75s.81-1.75 1.8-1.75 1.8.78 1.8 1.75S8 13.75 7 13.75zM18 1.01L8 1c-1.1 0-2 .9-2 2v3h2V5h10v14H8v-1H6v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99z"}))}))(t,n)},renderContent:y})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("WhatsApp Button Settings","jetpack"),initialOpen:!0},y()),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!1,colorSettings:[{value:b,onChange:e=>(e=>{if(n({backgroundColor:e}),void 0===e||e===p||e===d)return n({colorClass:"dark"});n({colorClass:"light"})})(e),label:__("Background Color","jetpack"),disableCustomColors:!0,colors:[{name:_x("WhatsApp Green","background color name","jetpack"),slug:"whatsapp-green",color:p},{name:_x("WhatsApp Dark","background color name","jetpack"),slug:"whatsapp-dark",color:d},{name:_x("WhatsApp Light","background color name","jetpack"),slug:"whatsapp-light",color:"#F4F4F4"},{name:_x("White","background color name","jetpack"),slug:"whatsapp-white",color:"#FFFFFF"}]}]}))}},33314:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(71290),l=n(88377);t.Z={attributes:l.Z,supports:{html:!1,reusable:!1},save:function(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,colorClass:u,buttonText:p,backgroundColor:d,openInNewTab:m}=t,h=m?"_blank":"_self",f=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",g=o()(n,u?"is-color-"+u:void 0,p.length?void 0:"has-no-text");return(0,r.createElement)("div",{className:g},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+f;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:d},target:h,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:p})))}}},49150:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(65235),o=n.n(a),i=n(9818),s=n(52175),l=n(46482),c=n(35513);function u(e){let{attributes:t,setAttributes:n,className:a,clientId:u}=e;const{countryCode:p,buttonText:d,colorClass:m,backgroundColor:h}=t,{selectBlock:f}=(0,i.useDispatch)("core/block-editor"),g=(0,r.useCallback)((async()=>{n({countryCode:"1"});const e=await fetch("https://public-api.wordpress.com/geo/").then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json();l.n.forEach((e=>{e.code===t.country_short&&n({countryCode:e.value})}))}}),[n]);(0,r.useEffect)((()=>{void 0===p&&(g(),f(u))}),[u,p,g,f]);return(0,r.createElement)("div",{className:o()(a,m?"is-color-"+m:void 0)},(0,r.createElement)(s.BlockControls,null,(0,r.createElement)(c.Z,{context:"toolbar",setAttributes:n,attributes:t})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(c.Z,{context:"inspector",setAttributes:n,attributes:t})),(0,r.createElement)(s.RichText,{placeholder:d.default,value:d,onChange:e=>n({buttonText:e}),withoutInteractiveFormatting:!0,allowedFormats:[],className:"whatsapp-block__button",tagName:"a",preserveWhiteSpace:!1,style:{backgroundColor:h,color:"dark"===m?"#fff":"#465B64"}}))}},57954:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(70355);t.Z=(0,r.createElement)(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,r.createElement)(a.Path,{fill:(0,o.m)(),d:"M24,11.6909333 C24,18.1477333 18.7256,23.3818667 12.2181333,23.3818667 C10.1522667,23.3818667 8.21146667,22.8538667 6.52293333,21.9272 L0,24 L2.12666667,17.7274667 C1.05386667,15.9658667 0.436,13.8997333 0.436,11.6909333 C0.436,5.23413333 5.71093333,0 12.2181333,0 C18.7261333,0 24,5.23413333 24,11.6909333 Z M12.2181333,1.86186667 C6.75573333,1.86186667 2.31253333,6.2712 2.31253333,11.6909333 C2.31253333,13.8416 3.0136,15.8333333 4.19946667,17.4536 L2.96186667,21.104 L6.76853333,19.8941333 C8.33253333,20.9210667 10.2061333,21.52 12.2184,21.52 C17.68,21.52 22.124,17.1112 22.124,11.6914667 C22.124,6.27173333 17.6802667,1.86186667 12.2181333,1.86186667 Z M18.1677333,14.3834667 C18.0949333,14.2642667 17.9026667,14.1922667 17.6141333,14.0490667 C17.3250667,13.9058667 15.9048,13.2122667 15.6408,13.1170667 C15.376,13.0216 15.1829333,12.9736 14.9906667,13.2602667 C14.7984,13.5472 14.2448,14.1922667 14.076,14.3834667 C13.9074667,14.5752 13.7392,14.5992 13.4501333,14.4557333 C13.1616,14.3125333 12.2312,14.0096 11.128,13.0336 C10.2696,12.2741333 9.68986667,11.3365333 9.52133333,11.0493333 C9.35306667,10.7626667 9.50373333,10.6077333 9.648,10.4650667 C9.77813333,10.3365333 9.93706667,10.1304 10.0813333,9.9632 C10.2261333,9.79573333 10.2741333,9.67653333 10.3698667,9.48506667 C10.4666667,9.29386667 10.4184,9.12666667 10.3458667,8.98293333 C10.2738667,8.83973333 9.69573333,7.4296 9.4552,6.85573333 C9.21466667,6.2824 8.9744,6.37786667 8.8056,6.37786667 C8.63733333,6.37786667 8.44453333,6.35386667 8.252,6.35386667 C8.05946667,6.35386667 7.7464,6.4256 7.4816,6.71226667 C7.21706667,6.9992 6.4712,7.69253333 6.4712,9.1024 C6.4712,10.5125333 7.5056,11.8749333 7.6504,12.0658667 C7.79466667,12.2568 9.64773333,15.2445333 12.5837333,16.392 C15.52,17.5389333 15.52,17.1562667 16.0496,17.1082667 C16.5786667,17.0605333 17.7578667,16.4152 17.9994667,15.7464 C18.2394667,15.0765333 18.2394667,14.5029333 18.1677333,14.3834667 Z"}))},71290:function(e,t,n){"use strict";n.d(t,{Xd:function(){return m},pf:function(){return d},u2:function(){return u}});var r=n(65736),a=n(70355),o=n(88377),i=n(49150),s=n(89014),l=n(33314),c=n(57954);const __=r.__,_x=r._x,u="whatsapp-button",p=__("WhatsApp Button","jetpack"),d="https://api.whatsapp.com/send?phone=",m=(__("Chat on WhatsApp","jetpack"),__("Hi, I got your WhatsApp information from your website.","jetpack"),{title:p,description:__("Let your visitors send you a message on WhatsApp with the tap of a button.","jetpack"),icon:{src:c.Z,foreground:(0,a.m)()},category:"grow",parent:["jetpack/send-a-message"],keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1,reusable:!1,align:["left","center","right"]},attributes:o.Z,edit:i.Z,save:s.Z,example:{attributes:{countryCode:"1",phoneNumber:"555-123-4567"}},deprecated:[l.Z]})},89014:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(71290);function l(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,buttonText:u,backgroundColor:p,colorClass:d,openInNewTab:m}=t,h=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",f=o()(n,d?"is-color-"+d:void 0,u.length?void 0:"has-no-text"),g=m?"_blank":"_self";return(0,r.createElement)("div",{className:f},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+h;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:p,color:"dark"===d?"#fff":"#465B64"},target:g,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:u})))}},8606:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(34613),l=n(32088);const __=a.__,c="seo",u={render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("SEO Description","jetpack")},(0,r.createElement)(l.Z,null))),(0,r.createElement)(i.PluginPrePublishPanel,{initialOpen:!0,id:"seo-title",title:(0,r.createElement)("span",{id:"seo-defaults",key:"seo-title-span"},__("SEO Description","jetpack"))},(0,r.createElement)(l.Z,null)))}},32088:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(9818);const __=i.__,_n=i._n;class u extends o.Component{constructor(){super(...arguments),a()(this,"onMessageChange",(e=>{this.props.updateSeoDescription(e.target.value)}))}render(){const{seoDescription:e}=this.props;return(0,o.createElement)("div",{className:"jetpack-seo-message-box"},(0,o.createElement)("textarea",{value:e,onChange:this.onMessageChange,placeholder:__("Write a description…","jetpack"),rows:4}),(0,o.createElement)("div",{className:"jetpack-seo-character-count"},(0,i.sprintf)(
/* translators: Placeholder is a number of characters in a sentence. */
-_n("%d character","%d characters",e.length,"jetpack"),e.length)))}}t.Z=(0,s.compose)([(0,c.withSelect)((e=>({seoDescription:(0,l.get)(e("core/editor").getEditedPostAttribute("meta"),["advanced_seo_description"],"")}))),(0,c.withDispatch)((e=>({updateSeoDescription(t){e("core/editor").editPost({meta:{advanced_seo_description:t}})}})))])(u)},71730:function(e,t,n){"use strict";n.d(t,{u:function(){return u},X:function(){return p}});var r=n(69307),a=n(65736),o=n(92819),i=n(55609),s=n(9818),l=n(70609),c=n(32673);const __=a.__,u="shortlinks",p={render:()=>(0,r.createElement)(m,null)};class d extends r.Component{render(){const{shortlink:e}=this.props;return e?(0,r.createElement)(c.Z,null,(0,r.createElement)(i.PanelBody,{title:__("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},(0,r.createElement)(l.Z,{link:e}))):null}}const m=(0,s.withSelect)((e=>{const t=e("core/editor").getCurrentPost();return{shortlink:(0,o.get)(t,"jetpack_shortlink","")}}))(d)},47175:function(e,t,n){"use strict";n.d(t,{LC:function(){return r},a7:function(){return a},Rh:function(){return o}});const r="jp_pay_product",a="USD",o=[a,"EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"]},81255:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{setAttributes:t,postLinkText:n}=e;return(0,r.createElement)(a.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,r.createElement)(a.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>t({postLinkText:e}),value:n})))}},56511:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},save:e=>{let{attributes:t}=e;const{productId:n}=t;return n?(0,r.createElement)(r.RawHTML,null,`[simple-payment id="${n}"]`):null}}},75050:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(89453),c=n(92819),u=n(75139),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(22985),b=n(87079),v=n(8565),k=n(37299),y=n(47175);const __=p.__,_n=p._n;class E extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
+_n("%d character","%d characters",e.length,"jetpack"),e.length)))}}t.Z=(0,s.compose)([(0,c.withSelect)((e=>({seoDescription:(0,l.get)(e("core/editor").getEditedPostAttribute("meta"),["advanced_seo_description"],"")}))),(0,c.withDispatch)((e=>({updateSeoDescription(t){e("core/editor").editPost({meta:{advanced_seo_description:t}})}})))])(u)},44487:function(e,t,n){"use strict";n.d(t,{X:function(){return p},u:function(){return u}});var r=n(69307),a=n(65736),o=n(92819),i=n(55609),s=n(9818),l=n(26788),c=n(34613);const __=a.__,u="shortlinks",p={render:()=>(0,r.createElement)(m,null)};class d extends r.Component{render(){const{shortlink:e}=this.props;return e?(0,r.createElement)(c.Z,null,(0,r.createElement)(i.PanelBody,{title:__("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},(0,r.createElement)(l.Z,{link:e}))):null}}const m=(0,s.withSelect)((e=>{const t=e("core/editor").getCurrentPost();return{shortlink:(0,o.get)(t,"jetpack_shortlink","")}}))(d)},36825:function(e,t,n){"use strict";n.d(t,{LC:function(){return r},Rh:function(){return o},a7:function(){return a}});const r="jp_pay_product",a="USD",o=[a,"EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"]},65093:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{setAttributes:t,postLinkText:n}=e;return(0,r.createElement)(a.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,r.createElement)(a.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>t({postLinkText:e}),value:n})))}},66763:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},save:e=>{let{attributes:t}=e;const{productId:n}=t;return n?(0,r.createElement)(r.RawHTML,null,`[simple-payment id="${n}"]`):null}}},21559:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92384),c=n(92819),u=n(43317),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(59809),b=n(72802),v=n(39416),k=n(96059),y=n(36825);const __=p.__,_n=p._n;class E extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
/* translators: Placeholder is a number of decimals in a number. */
_n("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",n,"jetpack"),n)}),!1):(this.state.fieldPriceError&&this.setState({fieldPriceError:null}),!0):(this.setState({fieldPriceError:__("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),a()(this,"validateEmail",(()=>{const{email:e}=this.props.attributes;return e?l.validate(e)?(this.state.fieldEmailError&&this.setState({fieldEmailError:null}),!0):(this.setState({fieldEmailError:(0,p.sprintf)(
/* translators: placeholder is an email address. */
__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",y.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(h.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,o.createElement)(h.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,o.createElement)(h.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>this.props.setAttributes({postLinkText:e}),value:this.props.attributes.postLinkText}))))))}componentDidMount(){this.injectPaymentAttributes();const{attributes:e,hasPublishAction:t,postLinkUrl:n,setAttributes:r}=this.props,{productId:a}=e;!a&&t&&this.saveProduct();const o=n&&n!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&r({...o&&{postLinkUrl:n},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&t&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes();const o=r&&r!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&a({...o&&{postLinkUrl:r},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",y.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
/* translators: placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:j}=r,S=C&&(0,c.isEmpty)(u);if(!i&&S)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&j&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.w)(_,d),multiple:w,title:j});const x=S?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:j}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.w)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const w=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u.link}}));t.Z=(0,d.compose)(w,d.withInstanceId)(E)},19372:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(47175),s=n(58014),l=n(57535),c=n(75050),u=n(63290);const __=a.__,_x=a._x,p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),d=(0,s.Wp)()||(0,s.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",m={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:d},__("Support reference","jetpack"))),icon:{src:p,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:i.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};t.Z=m},63290:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(37299);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.w)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},81666:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(89453),c=n(92819),u=n(75139),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(22985),b=n(87079),v=n(8565),k=n(37299),y=n(47175),E=n(81255);const __=p.__,_n=p._n;class w extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
+__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:S}=r,j=C&&(0,c.isEmpty)(u);if(!i&&j)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&S&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.w)(_,d),multiple:w,title:S});const x=j?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:S}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.w)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const w=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u.link}}));t.Z=(0,d.compose)(w,d.withInstanceId)(E)},24097:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(36825),l=n(70355),c=n(21559),u=n(83080);const __=a.__,_x=a._x,p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),d=(0,i.Wp)()||(0,i.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",m={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:d},__("Support reference","jetpack"))),icon:{src:p,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:s.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};t.Z=m},83080:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(96059);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.w)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},36239:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92384),c=n(92819),u=n(43317),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(6551),b=n(59809),v=n(72802),k=n(39416),y=n(96059),E=n(36825),w=n(65093);const __=p.__,_n=p._n;class _ extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return E.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,y.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
/* translators: Placeholder is a number of decimals in a number. */
_n("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",n,"jetpack"),n)}),!1):(this.state.fieldPriceError&&this.setState({fieldPriceError:null}),!0):(this.setState({fieldPriceError:__("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),a()(this,"validateEmail",(()=>{const{email:e}=this.props.attributes;return e?l.validate(e)?(this.state.fieldEmailError&&this.setState({fieldEmailError:null}),!0):(this.setState({fieldEmailError:(0,p.sprintf)(
/* translators: Placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",y.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(E.G,{postLinkText:this.props.attributes.postLinkText,setAttributes:this.props.setAttributes}))))}componentDidMount(){this.injectPaymentAttributes();const{attributes:e,hasPublishAction:t,postLinkUrl:n,setAttributes:r,isPostEditor:a}=this.props,{productId:o}=e;(!o&&t||!a)&&this.saveProduct();const i=n&&n!==this.props.attributes.postLinkUrl,s=!this.props.attributes.postLinkText;(i||s)&&r({...i&&{postLinkUrl:n},...s&&{postLinkText:__("Click here to purchase.","jetpack")}})}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&t&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes();const o=r&&r!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&a({...o&&{postLinkUrl:r},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",y.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
+__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",E.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(w.G,{postLinkText:this.props.attributes.postLinkText,setAttributes:this.props.setAttributes}))))}componentDidMount(){var e,t;this.injectPaymentAttributes();const{attributes:n,hasPublishAction:r,postLinkUrl:a,setAttributes:o,isPostEditor:i}=this.props,{productId:s}=n;(!s&&r||!i)&&this.saveProduct();const l=a&&a!==this.props.attributes.postLinkUrl,c=!this.props.attributes.postLinkText;(l||c)&&o({...l&&{postLinkUrl:a},...c&&{postLinkText:__("Click here to purchase.","jetpack")}}),null===(e=window.wp)||void 0===e||null===(t=e.customize)||void 0===t||t.bind("change",(e=>{let t;const n=e.id.match(/^widget_(.+)(?:\[(\d+)\])$/);if(n){t=`${n[1]}-${parseInt(n[2],10)}`}else t=e.id;t===(0,g.getWidgetIdFromBlock)(this.props.block)&&this.validateAttributes()&&this.saveProduct()}))}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a,isPostEditor:o}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),e.isSaving||!this.props.isSaving||!t&&o||!this.validateAttributes()?e.isSelected&&!n&&this.validateAttributes():this.saveProduct();const i=r&&r!==this.props.attributes.postLinkUrl,s=!this.props.attributes.postLinkText;(i||s)&&a({...i&&{postLinkUrl:r},...s&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",E.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
/* translators: Placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:j}=r,S=C&&(0,c.isEmpty)(u);if(!i&&S)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&j&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.T4)(_,d),multiple:w,title:j});const x=S?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:j}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),"aria-label":__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.T4)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const _=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u?.link,isPostEditor:Object.keys(o()).length>0}}));t.Z=(0,d.compose)(_,d.withInstanceId)(w)},8565:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(92819),s=n(55609),l=n(58703);const __=a.__,c=e=>t=>e({featuredMediaId:(0,i.get)(t,"id",0),featuredMediaUrl:(0,i.get)(t,"url",null),featuredMediaTitle:(0,i.get)(t,"title",null)});t.Z=e=>{let{featuredMediaId:t,featuredMediaUrl:n,featuredMediaTitle:a,setAttributes:i}=e;return t?(0,r.createElement)("div",null,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(o.MediaUpload,{onSelect:c(i),allowedTypes:["image"],value:t,render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Image","jetpack"),onClick:t})}}))),(0,r.createElement)(s.ToolbarButton,{icon:"trash",title:__("Remove Image","jetpack"),onClick:()=>i({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}))),(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:n,alt:a})))):(0,r.createElement)(o.MediaPlaceholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:"format-image"}),labels:{title:__("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:c(i)})}},35289:function(e,t,n){"use strict";n.d(t,{u2:function(){return h},Xd:function(){return b}});var r=n(69307),a=n(65736),o=n(55609),i=n(47175),s=n(58014),l=n(57535),c=n(81666),u=n(73e3),p=n(56511),d=n(19372),m=n(60206);const __=a.__,_x=a._x,h="simple-payments",f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),g=(0,s.Wp)()||(0,s.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",b={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:g},__("Support reference","jetpack"))),icon:{src:f,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:i.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,example:{attributes:{price:25,title:__("Jetpack t-shirt","jetpack"),content:__("Take flight in ultimate comfort with this stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:m}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},deprecated:[p.Z,d.Z]}},87079:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(22323),i=n(23879);const __=a.__;t.Z=e=>{let{title:t="",content:n="",formattedPrice:a="",multiple:s=!1,featuredMediaUrl:l=null,featuredMediaTitle:c=null}=e;return(0,r.createElement)("div",{className:"jetpack-simple-payments-wrapper"},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},l&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("figure",{className:"jetpack-simple-payments-image"},(0,r.createElement)("img",{src:l,alt:c}))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},t&&(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,t)),n&&(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),a&&(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,a)),(0,r.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},s&&(0,r.createElement)("div",{className:"jetpack-simple-payments-items"},(0,r.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),(0,r.createElement)("div",{className:"jetpack-simple-payments-button"},(0,r.createElement)("img",{alt:__("Pay with PayPal","jetpack"),src:o,srcSet:`${i} 2x`}))))))}},73e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(37299);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.T4)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},37299:function(e,t,n){"use strict";n.d(t,{N3:function(){return i},w:function(){return l},T4:function(){return c}});var r=n(75139),a=n(92819),o=n(9818);n(47175);const i=e=>{const t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},s=function(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";const a=window?.window?.navigator;return a?.languages?.length?a.languages[0]:null!==(e=null!==(t=null!==(n=a?.userLanguage)&&void 0!==n?n:a?.language)&&void 0!==t?t:a?.browserLanguage)&&void 0!==e?e:r},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{precision:o,symbol:i}=(0,r.X)(t),s=e.toFixed(o);return n?`${s} ${(0,a.trimEnd)(i,".")}`:s},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!window.Intl||"function"!=typeof Intl.NumberFormat)return l(e,t,n);const{siteLocale:r}=(0,o.select)("core/block-editor").getSettings(),a=[r,s(),"en-US"];let i,c={};for(i of(n&&(c={style:"currency",currency:t}),a))try{return Intl.NumberFormat(i,c).format(e)}catch{continue}return l(e,t,n)}},98972:function(e,t,n){"use strict";n.d(t,{G:function(){return c},J:function(){return u}});var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(92819),l=n(58703);const __=i.__,_x=i._x;function c(e){let{attributes:{autoplay:t,delay:n,effect:a,images:i,sizeSlug:l},imageSizeOptions:c,onChangeImageSize:u,setAttributes:p}=e;const d="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=[{label:_x("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:_x("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Autoplay","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Autoplay","jetpack"),help:__("Autoplay between slides","jetpack"),checked:t,onChange:e=>{p({autoplay:e})}}),t&&(0,r.createElement)(o.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack"),value:n,onChange:e=>{p({delay:e})},min:1,max:5}),t&&d&&(0,r.createElement)("span",null,__("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Effects","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Transition effect","jetpack"),value:a,onChange:e=>{p({effect:e})},options:m})),!(0,s.isEmpty)(i)&&!(0,s.isEmpty)(c)&&(0,r.createElement)(o.PanelBody,{title:__("Image Settings","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Image Size","jetpack"),value:l,options:c,onChange:e=>u(e)})))}function u(e){let{allowedMediaTypes:t,attributes:{images:n},onSelectImages:i}=e;return(0,r.createElement)(r.Fragment,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{onSelect:i,allowedTypes:t,multiple:!0,gallery:!0,value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Slideshow","jetpack"),onClick:t})}})))))}},44890:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(a,(e=>function(){e(this)}))},[{default:i}]=await Promise.all([Promise.all([n.e(860),n.e(390)]).then(n.t.bind(n,16402,23)),Promise.all([n.e(860),n.e(390)]).then(n.bind(n,78858))]);return new i(e,(0,r.merge)({},o,t))}},67448:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(11313),u=n(9818),p=n(52175),d=n(12238),m=n(55609),h=n(94120),f=n(98972),g=n(712);const __=i.__,b=["image"],v=(e,t)=>{const n=(0,l.pick)(e,["alt","id","link","caption"]);return n.url=(0,l.get)(e,["sizes",t,"url"])||(0,l.get)(e,["media_details","sizes",t,"source_url"])||e.url,n};class k extends o.Component{constructor(){super(...arguments),a()(this,"onSelectImages",(e=>{const{sizeSlug:t}=this.props.attributes,n=e.map((e=>v(e,t)));this.setAttributes({images:n})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,l.filter)(this.props.attributes.images,((t,n)=>e!==n));this.setState({selectedImage:null}),this.setAttributes({images:t})})),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],n=this.props.attributes.sizeSlug,{lockPostSaving:r,unlockPostSaving:a,noticeOperations:o}=this.props,i="slideshowBlockLock";r(i),(0,d.mediaUpload)({allowedTypes:b,filesList:e,onFileChange:e=>{const r=e.map((e=>v(e,n)));this.setAttributes({images:[...t,...r]}),r.every((e=>(0,c.isBlobURL)(e.url)))||a(i)},onError:o.createErrorNotice})})),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files))),a()(this,"updateImagesSize",(e=>{const{images:t}=this.props.attributes,{resizedImages:n}=this.props,r=t.map((t=>{const r=n.find((e=>{let{id:n}=e;return parseInt(n,10)===parseInt(t.id,10)})),a=(0,l.get)(r,["sizes",e,"source_url"]);return{...t,...a&&{url:a}}}));this.setAttributes({images:r,sizeSlug:e})})),this.state={selectedImage:null}}componentDidMount(){const{ids:e,sizeSlug:t}=this.props.attributes;t||this.setAttributes({sizeSlug:e.length?"full":"large"})}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}getImageSizeOptions(){const{imageSizes:e}=this.props;return(0,l.map)(e,(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}))}render(){const{attributes:e,className:t,isSelected:n,noticeOperations:r,noticeUI:a}=this.props,{align:i,autoplay:s,delay:l,effect:c,images:u}=e,d=this.getImageSizeOptions(),v=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.InspectorControls,null,(0,o.createElement)(f.G,{attributes:e,imageSizeOptions:d,onChangeImageSize:this.updateImagesSize,setAttributes:e=>this.setAttributes(e)})),(0,o.createElement)(p.BlockControls,null,(0,o.createElement)(f.J,{allowedMediaTypes:b,attributes:e,onSelectImages:this.onSelectImages})));return 0===u.length?(0,o.createElement)(o.Fragment,null,v,(0,o.createElement)(p.MediaPlaceholder,{icon:(0,o.createElement)(p.BlockIcon,{icon:h.qv}),className:t,labels:{title:__("Slideshow","jetpack"),instructions:__("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:b,multiple:!0,notices:a,onError:r.createErrorNotice})):(0,o.createElement)(o.Fragment,null,v,a,(0,o.createElement)(g.Z,{align:i,autoplay:s,className:t,delay:l,effect:c,images:u,onError:r.createErrorNotice}),(0,o.createElement)(m.DropZone,{onFilesDrop:this.addFiles}),n&&(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},(0,o.createElement)(m.FormFileUpload,{multiple:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack"))))}}t.ZP=(0,s.compose)((0,u.withSelect)(((e,t)=>({imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce(((t,n)=>{const r=e("core").getMedia(n);return[...t,{id:n,sizes:(0,l.get)(r,["media_details","sizes"])}]}),[])}))),(0,u.withDispatch)((e=>{const{lockPostSaving:t,unlockPostSaving:n}=e("core/editor");return{lockPostSaving:t,unlockPostSaving:n}})),m.withNotices)(k)},94120:function(e,t,n){"use strict";n.d(t,{qv:function(){return h},u2:function(){return g},Xd:function(){return b}});var r=n(69307),a=n(65736),o=n(55609),i=n(67448),s=n(91957),l=n(4830),c=n(57535),u=n(20510),p=n(65784),d=n(6425),m=n(85983);const __=a.__,_x=a._x,h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)(o.Path,{d:"M21 8V19C21 20.1046 20.1057 21 19.0011 21C15.8975 21 9.87435 21 6 21",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Rect,{x:"3.75",y:"3.75",width:"13.5",height:"13.5",rx:"0.875",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Path,{d:"M9 14L12 11L9 8",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})),f={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:p},{alt:"",caption:"",id:23,url:d},{alt:"",caption:"",id:23,url:m}],effect:"slide"},g="slideshow",b={title:__("Slideshow","jetpack"),category:(0,u.Z)("media","layout"),keywords:[_x("image","block search term","jetpack"),_x("gallery","block search term","jetpack"),_x("slider","block search term","jetpack")],description:__("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:{src:h,foreground:(0,c.m)()},edit:i.ZP,save:s.Z,transforms:l.Z,example:{attributes:f}}},91957:function(e,t,n){"use strict";var r=n(69307),a=n(712);t.Z=e=>{let{attributes:{align:t,autoplay:n,delay:o,effect:i,images:s},className:l}=e;return(0,r.createElement)(a.Z,{align:t,autoplay:n,className:l,delay:o,effect:i,images:s})}},712:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(54166),c=n(65736),u=n(11313),p=n(92819),d=n(52175),m=n(55609),h=n(44890),f=n(10099);const __=c.__;class g extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"pendingRequestAnimationFrame",null),a()(this,"resizeObserver",null),a()(this,"initializeResizeObserver",(e=>{this.clearResizeObserver(),this.resizeObserver=new l.Z((()=>{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame((()=>{(0,f.$m)(e),e.update()}))})),this.resizeObserver.observe(e.el)})),a()(this,"clearPendingRequestAnimationFrame",(()=>{this.pendingRequestAnimationFrame&&(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)})),a()(this,"clearResizeObserver",(()=>{this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)})),a()(this,"prefersReducedMotion",(()=>"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)),a()(this,"buildSwiper",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,h.Z)(t.slideshowRef.current,{autoplay:!(!t.props.autoplay||t.prefersReducedMotion())&&{delay:1e3*t.props.delay,disableOnInteraction:!1},effect:t.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:t.btnNextRef.current,prevEl:t.btnPrevRef.current},pagination:{clickable:!0,el:t.paginationRef.current,type:"bullets"}},{init:f.UA,imagesReady:f.$m,paginationRender:f.Wj,transitionEnd:f.HV})})),this.slideshowRef=(0,o.createRef)(),this.btnNextRef=(0,o.createRef)(),this.btnPrevRef=(0,o.createRef)(),this.paginationRef=(0,o.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{e(__("The Swiper library could not be loaded.","jetpack"))}))}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:n,delay:r,effect:a,images:o,onError:i}=this.props;if(t===e.align&&(0,p.isEqual)(o,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||n!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{i(__("The Swiper library could not be loaded.","jetpack"))}))}}render(){if(!this.props?.images?.length)return null;const{autoplay:e,className:t,delay:n,effect:r,images:a}=this.props;return(0,o.createElement)("div",{className:t,"data-autoplay":e||null,"data-delay":e?n:null,"data-effect":r},(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},(0,o.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},a.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return(0,o.createElement)("li",{className:s()("wp-block-jetpack-slideshow_slide","swiper-slide",(0,u.isBlobURL)(a)&&"is-transient"),key:r||a},(0,o.createElement)("figure",null,(0,o.createElement)("img",{alt:t,className:`wp-block-jetpack-slideshow_image wp-image-${r}`,"data-id":r,src:a}),(0,u.isBlobURL)(a)&&(0,o.createElement)(m.Spinner,null),n&&(0,o.createElement)(d.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),(0,o.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}a()(g,"defaultProps",{effect:"slide"}),t.Z=g},10099:function(e,t,n){"use strict";n.d(t,{HV:function(){return l},UA:function(){return i},Wj:function(){return c},$m:function(){return s}});var r=n(81975),a=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function i(e){s(e),l(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function s(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),a="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,a),i=`${Math.floor(o)}px`,s=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=i,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=s}function l(e){(0,a.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(a.alt))}(e)}function c(e){(0,a.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},4830:function(e,t,n){"use strict";var r=n(4981),a=n(92819);function o(e){return(0,a.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const i={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>o(e).length>0,transform:e=>{const t=o(e);return(0,r.createBlock)("jetpack/slideshow",{images:t.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:e=>{let{images:t}=e;const n=o(t);return n.length>0?(0,r.createBlock)("jetpack/slideshow",{images:n.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,r.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n}=e;return(0,r.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:e=>{let{images:t}=e;return t.length>0?t.map((e=>{let{id:t,url:n,alt:a,caption:o}=e;return(0,r.createBlock)("core/image",{id:t,url:n,alt:a,caption:o})})):(0,r.createBlock)("core/image")}}]};t.Z=i},23133:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(65736),s=n(80505),l=n(52489),c=n(79465);const __=i.__,u=[{title:__("Google Search","jetpack"),icon:"google",name:"google",preview:s.Z},{title:__("Facebook","jetpack"),icon:"facebook",name:"facebook",preview:e=>(0,o.createElement)(l.Z,a()({type:"article"},e))},{title:__("Twitter","jetpack"),icon:"twitter",name:"twitter",preview:e=>(0,o.createElement)(c.Z,e)}]},42366:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p},w6:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(32673),l=n(8277),c=n(6538);const __=a.__,u="social-previews",p={render:()=>(0,r.createElement)(d,null)},d=function(e){let{showUpgradeNudge:t}=e;const[n,a]=(0,r.useState)(!1);return(0,r.createElement)(r.Fragment,null,n&&(0,r.createElement)(c.Z,{showUpgradeNudge:t,onClose:()=>a(!1)}),(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t}))),(0,r.createElement)(i.PluginPrePublishPanel,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t})))}},6538:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(28723),l=n(23133),c=n(51591),u=n(479);const __=a.__;t.Z=(0,i.withSelect)(((e,t)=>{if(t.showUpgradeNudge)return{};const{getMedia:n,getUser:r}=e("core"),{getCurrentPost:a,getEditedPostAttribute:o}=e("core/editor"),{getTweetTemplate:i,getTweetStorm:s,getShareMessage:l,isTweetStorm:c}=e("jetpack/publicize"),p=o("featured_media"),d=o("author"),m=d&&r(d),h={post:a(),title:o("title"),description:o("meta")?.advanced_seo_description||o("excerpt")||o("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:o("link"),author:m?.name,image:!!p&&(0,u.i)(n(p))};let f=[];return c()?f=s():f.push({...i(),text:l(),card:{...h,type:h.image?"summary_large_image":"summary"}}),{...h,tweets:f,isTweetStorm:c()}}))((function(e){let{onClose:t,showUpgradeNudge:n,image:a,title:i,description:u,url:p,author:d,isTweetStorm:m,tweets:h}=e;const f=l.z.map((e=>({...e,title:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.av,{serviceName:e.icon}),e.title)})));return(0,r.createElement)(o.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:"jetpack-social-previews__modal"},n?(0,r.createElement)(s.Z,null):(0,r.createElement)(o.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:f,initialTabName:m?"twitter":null,orientation:"vertical"},(e=>(0,r.createElement)("div",null,(0,r.createElement)(e.preview,{title:i,description:u,url:p,author:d,image:a,isTweetStorm:m,tweets:h})))))}))},8277:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(23133),s=n(51591);const __=a.__;t.Z=function(e){let{openModal:t,showUpgradeNudge:n}=e;const a=n?__("Learn more","jetpack"):__("Preview","jetpack",0),l=n?__("Learn more about paid plans","jetpack"):__("Open Social Previews","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__panel"},(0,r.createElement)("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),n&&(0,r.createElement)("p",null,__("Business or eCommerce plan required.","jetpack")),(0,r.createElement)("div",{className:"jetpack-gutenberg-social-icons"},i.z.map((e=>(0,r.createElement)(s.av,{key:e.icon,serviceName:e.icon,className:"jetpack-social-previews__icon"})))),(0,r.createElement)(o.Button,{isSecondary:!0,onClick:t,label:l},a))}},28723:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(55609),o=n(65736),i=n(11973),s=n(37447),l=n(18733),c=n(21409),u=n(42366);const __=o.__;function p(){const e=(0,c.Z)(u.u2)?.details?.required_plan,[t,n,o]=(0,l.Z)(e,(()=>{i.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:e,block:u.u2})})),p=o?__("Redirecting…","jetpack"):__("Upgrade","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__modal-upgrade"},(0,r.createElement)("img",{className:"jetpack-social-previews__upgrade-illustration",src:s,width:"351",height:"264",alt:""}),(0,r.createElement)("div",{className:"jetpack-social-previews__upgrade-description"},(0,r.createElement)("h2",{className:"jetpack-social-previews__upgrade-heading"},__("Upgrade to a Business plan to unlock the power of our SEO tools","jetpack")),(0,r.createElement)("ul",{className:"jetpack-social-previews__upgrade-feature-list"},(0,r.createElement)("li",null,__("Preview your site’s content as it will appear on Facebook, Twitter, and the WordPress.com Reader.","jetpack")),(0,r.createElement)("li",null,__("Control how page titles will appear on Google search results and social networks.","jetpack")),(0,r.createElement)("li",null,__("Customize your front page metadata to change how your site appears to search engines.","jetpack"))),(0,r.createElement)(a.Button,{href:t,isPrimary:!0,label:__("Purchase a Business plan to access social previews","jetpack"),onClick:n,target:"_top",isBusy:o},p)))}},479:function(e,t,n){"use strict";function r(e){return e?e.media_details?.sizes?.large?.source_url||e.source_url:null}n.d(t,{i:function(){return r}})},22547:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(58703);const __=i.__;t.Z=e=>{let{allowedMediaTypes:t,attributes:{mediaFiles:n},onSelectMedia:i}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{title:__("Edit Story","jetpack"),onSelect:i,allowedTypes:t,addToGallery:!0,multiple:"add",value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(s.Z,{label:__("Edit Story","jetpack"),onClick:t})}}))))))}},68329:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(65736),l=n(11313),c=n(9818),u=n(52175),p=n(55609),d=n(20222),m=n(22547),h=n(4045);const __=s.__,f=["image","video"],g=e=>{const t=(0,i.pick)(e,["alt","title","id","link","type","mime","caption","width","height"]);return t.url=(0,i.get)(e,["media_details","original","url"])||(0,i.get)(e,["media_details","videopress","original"])||(0,i.get)(e,["media_details","sizes","large","source_url"])||(0,i.get)(e,["sizes","large","url"])||e.url,t.type=e.media_type||e.type,t.mime=e.mime_type||e.mime,t.title=t.title?.rendered||t.title,t.width=t.width||e.media_details?.width,t.height=t.height||e.media_details?.height,t};t.Z=(0,p.withNotices)((function(e){let{attributes:t,className:n,isSelected:a,noticeOperations:i,noticeUI:s,setAttributes:p}=e;const{mediaFiles:b}=t,{lockPostSaving:v,unlockPostSaving:k}=(0,c.useDispatch)("core/editor"),y="storyBlockLock",E=e=>{const t=e.map((e=>{if(!isNaN(e)){return b.find((t=>t.id===e))||{id:e}}return e})).map(g),n=t.filter((e=>!(0,l.isBlobURL)(e.url)));t.length!==n.length?v(y):k(y),p({mediaFiles:t})},w=(0,r.createElement)(m.Z,{allowedMediaTypes:f,attributes:t,onSelectMedia:E}),_=!!b.length,C=(0,r.createElement)(u.MediaPlaceholder,{addToGallery:_,isAppender:_,className:n,disableMediaButtons:_&&!a,icon:!_&&(0,r.createElement)(u.BlockIcon,{icon:d.qv}),labels:{title:!_&&__("Story","jetpack"),instructions:!_&&__("Drag images and videos, upload new ones, or select files from your library.","jetpack")},onSelect:E,accept:f.map((e=>e+"/*")).join(","),allowedTypes:f,multiple:"add",value:b,notices:_?void 0:s,onError:i.createErrorNotice});return _?(0,r.createElement)(r.Fragment,null,w,s,(0,r.createElement)("div",{className:o()("wp-block-jetpack-story","wp-story",n)},(0,r.createElement)(h.Z,{slides:b,disabled:!a,showSlideCount:a,shadowDOM:{enabled:!1},playInFullscreen:!1,tapToPlayPause:!1,playOnNextSlide:!1})),a&&C):(0,r.createElement)(r.Fragment,null,w,C)}))},96178:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,n(41632).Z)((0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,r.createElement)(a.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,r.createElement)(a.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));t.Z=o},20222:function(e,t,n){"use strict";n.d(t,{qv:function(){return i.Z},u2:function(){return p},Xd:function(){return d}});var r=n(65736),a=n(68329),o=n(1436),i=n(96178),s=n(20510),l=n(57535),c=n(15915);const __=r.__,_x=r._x,u={mediaFiles:[{alt:"",caption:"",mime:"image/jpg",type:"image",id:22,url:c}]},p="story",d={title:__("Story","jetpack"),category:(0,s.Z)("media","layout"),keywords:[_x("story","block search term","jetpack"),_x("image","block search term","jetpack"),_x("video","block search term","jetpack"),_x("gallery","block search term","jetpack")],description:__("Add an interactive story.","jetpack"),attributes:{settings:{type:"object"},mediaFiles:{type:"array",default:[]}},supports:{html:!1},icon:{src:i.Z,foreground:(0,l.m)()},edit:a.Z,save:o.Z,example:{attributes:u}}},18754:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(55609);function o(e){let{currentMedia:t}=e;const n=t&&"image"===t.type?t.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:n?`url("${n}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(a.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},85974:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609);const __=i.__;function l(e){let{isEllipsis:t,disabled:n,index:a,isSelected:l,progress:c,onClick:u}=e;const p=n||t;let d=null;return t||(d=l?(0,i.sprintf)(
+__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:g,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:S}=r,j=C&&(0,c.isEmpty)(u);if(!i&&j)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(v.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&S&&!e&&!t&&!n)return(0,o.createElement)(v.Z,{"aria-busy":"false",content:p,featuredMediaUrl:g,featuredMediaTitle:E,formattedPrice:(0,y.T4)(_,d),multiple:w,title:S});const x=j?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(k.Z,{featuredMediaId:f,featuredMediaUrl:g,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:S}),(0,o.createElement)(b.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),"aria-label":__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,y.T4)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(b.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(b.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(b.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const C=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{getCurrentPost:a}=e("core/editor"),{__experimentalGetDirtyEntityRecords:o,isSavingEntityRecord:i}=e("core"),s=o,{productId:l,featuredMediaId:u}=t.attributes,p=l?(0,c.pick)(n("postType",E.LC,l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,d=a();return{block:e("core/block-editor").getBlock(t.clientId),hasPublishAction:!!(0,c.get)(d,["_links","wp:action-publish"]),isSaving:s().some((e=>i(e.kind,e.name,e.key))),simplePayment:p,featuredMedia:u?r(u):null,postLinkUrl:null==d?void 0:d.link,isPostEditor:Object.keys(a()).length>0}}));t.Z=(0,d.compose)(C,d.withInstanceId)(_)},39416:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(92819),s=n(55609),l=n(94545);const __=a.__,c=e=>t=>e({featuredMediaId:(0,i.get)(t,"id",0),featuredMediaUrl:(0,i.get)(t,"url",null),featuredMediaTitle:(0,i.get)(t,"title",null)});t.Z=e=>{let{featuredMediaId:t,featuredMediaUrl:n,featuredMediaTitle:a,setAttributes:i}=e;return t?(0,r.createElement)("div",null,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(o.MediaUpload,{onSelect:c(i),allowedTypes:["image"],value:t,render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Image","jetpack"),onClick:t})}}))),(0,r.createElement)(s.ToolbarButton,{icon:"trash",title:__("Remove Image","jetpack"),onClick:()=>i({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}))),(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:n,alt:a})))):(0,r.createElement)(o.MediaPlaceholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:"format-image"}),labels:{title:__("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:c(i)})}},61390:function(e,t,n){"use strict";n.d(t,{Xd:function(){return b},u2:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(36825),l=n(70355),c=n(36239),u=n(16376),p=n(66763),d=n(24097),m=n(60206);const __=a.__,_x=a._x,h="simple-payments",f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),g=(0,i.Wp)()||(0,i.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",b={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:g},__("Support reference","jetpack"))),icon:{src:f,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),_x("money","block search term","jetpack"),_x("paid","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),"square",_x("payments","block search term","jetpack")],attributes:{currency:{type:"string",default:s.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,example:{attributes:{price:25,title:__("Jetpack t-shirt","jetpack"),content:__("Take flight in ultimate comfort with this stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:m}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},deprecated:[p.Z,d.Z]}},72802:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(22323),i=n(23879);const __=a.__;t.Z=e=>{let{title:t="",content:n="",formattedPrice:a="",multiple:s=!1,featuredMediaUrl:l=null,featuredMediaTitle:c=null}=e;return(0,r.createElement)("div",{className:"jetpack-simple-payments-wrapper"},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},l&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("figure",{className:"jetpack-simple-payments-image"},(0,r.createElement)("img",{src:l,alt:c}))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},t&&(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,t)),n&&(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),a&&(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,a)),(0,r.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},s&&(0,r.createElement)("div",{className:"jetpack-simple-payments-items"},(0,r.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),(0,r.createElement)("div",{className:"jetpack-simple-payments-button"},(0,r.createElement)("img",{alt:__("Pay with PayPal","jetpack"),src:o,srcSet:`${i} 2x`}))))))}},16376:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(96059);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.T4)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},96059:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},T4:function(){return l},w:function(){return s}});var r=n(43317),a=n(92819);n(36825);const o=e=>{const t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},i=function(){var e,t,n,r,a,o;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";const s=null===(e=window)||void 0===e||null===(t=e.window)||void 0===t?void 0:t.navigator;return null!=s&&null!==(n=s.languages)&&void 0!==n&&n.length?s.languages[0]:null!==(r=null!==(a=null!==(o=null==s?void 0:s.userLanguage)&&void 0!==o?o:null==s?void 0:s.language)&&void 0!==a?a:null==s?void 0:s.browserLanguage)&&void 0!==r?r:i},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{precision:o,symbol:i}=(0,r.X)(t),s=e.toFixed(o);return n?`${s} ${(0,a.trimEnd)(i,".")}`:s},l=function(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1?arguments[1]:void 0,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!window.Intl||"function"!=typeof Intl.NumberFormat)return s(r,a,o);const l=null!==(e=null===(t=window)||void 0===t||null===(n=t.Jetpack_Editor_Initial_State)||void 0===n?void 0:n.siteLocale)&&void 0!==e?e:"en-US",c=[l,i(),"en-US"];let u,p={};for(u of(o&&(p={style:"currency",currency:a}),c))try{return Intl.NumberFormat(u,p).format(r)}catch{continue}return s(r,a,o)}},20288:function(e,t,n){"use strict";n.d(t,{G:function(){return c},J:function(){return u}});var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(92819),l=n(94545);const __=i.__,_x=i._x;function c(e){let{attributes:{autoplay:t,delay:n,effect:a,images:i,sizeSlug:l},imageSizeOptions:c,onChangeImageSize:u,setAttributes:p}=e;const d="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=[{label:_x("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:_x("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Autoplay","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Autoplay","jetpack"),help:__("Autoplay between slides","jetpack"),checked:t,onChange:e=>{p({autoplay:e})}}),t&&(0,r.createElement)(o.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack"),value:n,onChange:e=>{p({delay:e})},min:1,max:5}),t&&d&&(0,r.createElement)("span",null,__("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Effects","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Transition effect","jetpack"),value:a,onChange:e=>{p({effect:e})},options:m})),!(0,s.isEmpty)(i)&&!(0,s.isEmpty)(c)&&(0,r.createElement)(o.PanelBody,{title:__("Image Settings","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Image Size","jetpack"),value:l,options:c,onChange:e=>u(e)})))}function u(e){let{allowedMediaTypes:t,attributes:{images:n},onSelectImages:i}=e;return(0,r.createElement)(r.Fragment,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{onSelect:i,allowedTypes:t,multiple:!0,gallery:!0,value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Slideshow","jetpack"),onClick:t})}})))))}},30847:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(a,(e=>function(){e(this)}))},[{default:i}]=await Promise.all([Promise.all([n.e(302),n.e(390)]).then(n.t.bind(n,59101,23)),Promise.all([n.e(302),n.e(390)]).then(n.bind(n,89701))]);return new i(e,(0,r.merge)({},o,t))}},21233:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(11313),u=n(9818),p=n(52175),d=n(12238),m=n(55609),h=n(19775),f=n(20288),g=n(19486);const __=i.__,b=["image"],v=(e,t)=>{const n=(0,l.pick)(e,["alt","id","link","caption"]);return n.url=(0,l.get)(e,["sizes",t,"url"])||(0,l.get)(e,["media_details","sizes",t,"source_url"])||e.url,n};class k extends o.Component{constructor(){super(...arguments),a()(this,"onSelectImages",(e=>{const{sizeSlug:t}=this.props.attributes,n=e.map((e=>v(e,t)));this.setAttributes({images:n})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,l.filter)(this.props.attributes.images,((t,n)=>e!==n));this.setState({selectedImage:null}),this.setAttributes({images:t})})),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],n=this.props.attributes.sizeSlug,{lockPostSaving:r,unlockPostSaving:a,noticeOperations:o}=this.props,i="slideshowBlockLock";r(i),(0,d.mediaUpload)({allowedTypes:b,filesList:e,onFileChange:e=>{const r=e.map((e=>v(e,n)));this.setAttributes({images:[...t,...r]}),r.every((e=>(0,c.isBlobURL)(e.url)))||a(i)},onError:o.createErrorNotice})})),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files))),a()(this,"updateImagesSize",(e=>{const{images:t}=this.props.attributes,{resizedImages:n}=this.props,r=t.map((t=>{const r=n.find((e=>{let{id:n}=e;return parseInt(n,10)===parseInt(t.id,10)})),a=(0,l.get)(r,["sizes",e,"source_url"]);return{...t,...a&&{url:a}}}));this.setAttributes({images:r,sizeSlug:e})})),this.state={selectedImage:null}}componentDidMount(){const{ids:e,sizeSlug:t}=this.props.attributes;t||this.setAttributes({sizeSlug:e.length?"full":"large"})}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}getImageSizeOptions(){const{imageSizes:e}=this.props;return(0,l.map)(e,(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}))}render(){const{attributes:e,className:t,isSelected:n,noticeOperations:r,noticeUI:a}=this.props,{align:i,autoplay:s,delay:l,effect:c,images:u}=e,d=this.getImageSizeOptions(),v=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.InspectorControls,null,(0,o.createElement)(f.G,{attributes:e,imageSizeOptions:d,onChangeImageSize:this.updateImagesSize,setAttributes:e=>this.setAttributes(e)})),(0,o.createElement)(p.BlockControls,null,(0,o.createElement)(f.J,{allowedMediaTypes:b,attributes:e,onSelectImages:this.onSelectImages})));return 0===u.length?(0,o.createElement)(o.Fragment,null,v,(0,o.createElement)(p.MediaPlaceholder,{icon:h.qv,className:t,labels:{title:__("Slideshow","jetpack"),instructions:__("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:b,multiple:!0,notices:a,onError:r.createErrorNotice})):(0,o.createElement)(o.Fragment,null,v,a,(0,o.createElement)(g.Z,{align:i,autoplay:s,className:t,delay:l,effect:c,images:u,onError:r.createErrorNotice}),(0,o.createElement)(m.DropZone,{onFilesDrop:this.addFiles}),n&&(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},(0,o.createElement)(m.FormFileUpload,{multiple:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack"))))}}t.ZP=(0,s.compose)((0,u.withSelect)(((e,t)=>({imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce(((t,n)=>{const r=e("core").getMedia(n);return[...t,{id:n,sizes:(0,l.get)(r,["media_details","sizes"])}]}),[])}))),(0,u.withDispatch)((e=>{const{lockPostSaving:t,unlockPostSaving:n}=e("core/editor");return{lockPostSaving:t,unlockPostSaving:n}})),m.withNotices)(k)},19775:function(e,t,n){"use strict";n.d(t,{Xd:function(){return b},qv:function(){return h},u2:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(21233),s=n(67240),l=n(81504),c=n(70355),u=n(5820),p=n(65784),d=n(6425),m=n(85983);const __=a.__,_x=a._x,h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)(o.Path,{d:"M21 8V19C21 20.1046 20.1057 21 19.0011 21C15.8975 21 9.87435 21 6 21",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Rect,{x:"3.75",y:"3.75",width:"13.5",height:"13.5",rx:"0.875",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Path,{d:"M9 14L12 11L9 8",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})),f={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:p},{alt:"",caption:"",id:23,url:d},{alt:"",caption:"",id:23,url:m}],effect:"slide"},g="slideshow",b={title:__("Slideshow","jetpack"),category:(0,u.Z)("media","layout"),keywords:[_x("image","block search term","jetpack"),_x("gallery","block search term","jetpack"),_x("slider","block search term","jetpack")],description:__("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:{src:h,foreground:(0,c.m)()},edit:i.ZP,save:s.Z,transforms:l.Z,example:{attributes:f}}},67240:function(e,t,n){"use strict";var r=n(69307),a=n(19486);t.Z=e=>{let{attributes:{align:t,autoplay:n,delay:o,effect:i,images:s},className:l}=e;return(0,r.createElement)(a.Z,{align:t,autoplay:n,className:l,delay:o,effect:i,images:s})}},19486:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(6209),c=n(65736),u=n(11313),p=n(92819),d=n(52175),m=n(55609),h=n(30847),f=n(17766);const __=c.__;class g extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"pendingRequestAnimationFrame",null),a()(this,"resizeObserver",null),a()(this,"initializeResizeObserver",(e=>{this.clearResizeObserver(),this.resizeObserver=new l.Z((()=>{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame((()=>{(0,f.$m)(e),e.update()}))})),this.resizeObserver.observe(e.el)})),a()(this,"clearPendingRequestAnimationFrame",(()=>{this.pendingRequestAnimationFrame&&(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)})),a()(this,"clearResizeObserver",(()=>{this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)})),a()(this,"prefersReducedMotion",(()=>"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)),a()(this,"buildSwiper",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,h.Z)(t.slideshowRef.current,{autoplay:!(!t.props.autoplay||t.prefersReducedMotion())&&{delay:1e3*t.props.delay,disableOnInteraction:!1},effect:t.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:t.btnNextRef.current,prevEl:t.btnPrevRef.current},pagination:{clickable:!0,el:t.paginationRef.current,type:"bullets"}},{init:f.UA,imagesReady:f.$m,paginationRender:f.Wj,transitionEnd:f.HV})})),this.slideshowRef=(0,o.createRef)(),this.btnNextRef=(0,o.createRef)(),this.btnPrevRef=(0,o.createRef)(),this.paginationRef=(0,o.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{e(__("The Swiper library could not be loaded.","jetpack"))}))}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:n,delay:r,effect:a,images:o,onError:i}=this.props;if(t===e.align&&(0,p.isEqual)(o,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||n!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{i(__("The Swiper library could not be loaded.","jetpack"))}))}}render(){var e,t;if(null===(e=this.props)||void 0===e||null===(t=e.images)||void 0===t||!t.length)return null;const{autoplay:n,className:r,delay:a,effect:i,images:l}=this.props;return(0,o.createElement)("div",{className:r,"data-autoplay":n||null,"data-delay":n?a:null,"data-effect":i},(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},(0,o.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},l.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return(0,o.createElement)("li",{className:s()("wp-block-jetpack-slideshow_slide","swiper-slide",(0,u.isBlobURL)(a)&&"is-transient"),key:r||a},(0,o.createElement)("figure",null,(0,o.createElement)("img",{alt:t,className:`wp-block-jetpack-slideshow_image wp-image-${r}`,"data-id":r,src:a}),(0,u.isBlobURL)(a)&&(0,o.createElement)(m.Spinner,null),n&&(0,o.createElement)(d.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),(0,o.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}a()(g,"defaultProps",{effect:"slide"}),t.Z=g},17766:function(e,t,n){"use strict";n.d(t,{$m:function(){return s},HV:function(){return l},UA:function(){return i},Wj:function(){return c}});var r=n(81975),a=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function i(e){s(e),l(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function s(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),a="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,a),i=`${Math.floor(o)}px`,s=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=i,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=s}function l(e){(0,a.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(a.alt))}(e)}function c(e){(0,a.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},81504:function(e,t,n){"use strict";var r=n(4981),a=n(92819);function o(e){return(0,a.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const i={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>o(e).length>0,transform:e=>{const t=o(e);return(0,r.createBlock)("jetpack/slideshow",{images:t.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:e=>{let{images:t}=e;const n=o(t);return n.length>0?(0,r.createBlock)("jetpack/slideshow",{images:n.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,r.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n}=e;return(0,r.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:e=>{let{images:t}=e;return t.length>0?t.map((e=>{let{id:t,url:n,alt:a,caption:o}=e;return(0,r.createBlock)("core/image",{id:t,url:n,alt:a,caption:o})})):(0,r.createBlock)("core/image")}}]};t.Z=i},64250:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65736),s=n(27143),l=n(79988),c=n(50149);const __=i.__,u=[{title:__("Google Search","jetpack"),icon:"google",name:"google",preview:s.Z},{title:__("Facebook","jetpack"),icon:"facebook",name:"facebook",preview:e=>(0,o.createElement)(l.Z,a()({type:"article"},e))},{title:__("Twitter","jetpack"),icon:"twitter",name:"twitter",preview:e=>(0,o.createElement)(c.Z,e)}]},32078:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u},w6:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(34613),l=n(55382),c=n(54339);const __=a.__,u="social-previews",p={render:()=>(0,r.createElement)(d,null)},d=function(e){let{showUpgradeNudge:t}=e;const[n,a]=(0,r.useState)(!1);return(0,r.createElement)(r.Fragment,null,n&&(0,r.createElement)(c.Z,{showUpgradeNudge:t,onClose:()=>a(!1)}),(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t}))),(0,r.createElement)(i.PluginPrePublishPanel,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t})))}},54339:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(31020),l=n(17296),c=n(64250),u=n(97069);const __=a.__;t.Z=(0,i.withSelect)(((e,t)=>{var n;if(t.showUpgradeNudge)return{};const{getMedia:r,getUser:a}=e("core"),{getCurrentPost:o,getEditedPostAttribute:i}=e("core/editor"),{getTweetTemplate:s,getTweetStorm:l,getShareMessage:c,isTweetStorm:p}=e("jetpack/publicize"),d=i("featured_media"),m=i("author"),h=m&&a(m),f={post:o(),title:i("title"),description:(null===(n=i("meta"))||void 0===n?void 0:n.advanced_seo_description)||i("excerpt")||i("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:i("link"),author:null==h?void 0:h.name,image:!!d&&(0,u.i)(r(d))};let g=[];return p()?g=l():g.push({...s(),text:c(),card:{...f,type:f.image?"summary_large_image":"summary"}}),{...f,tweets:g,isTweetStorm:p()}}))((function(e){let{onClose:t,showUpgradeNudge:n,image:a,title:i,description:u,url:p,author:d,isTweetStorm:m,tweets:h}=e;const f=c.z.map((e=>({...e,title:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.av,{serviceName:e.icon}),e.title)})));return(0,r.createElement)(o.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:"jetpack-social-previews__modal"},n?(0,r.createElement)(l.Z,null):(0,r.createElement)(o.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:f,initialTabName:m?"twitter":null,orientation:"vertical"},(e=>(0,r.createElement)("div",null,(0,r.createElement)(e.preview,{title:i,description:u,url:p,author:d,image:a,isTweetStorm:m,tweets:h})))))}))},55382:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(31020),s=n(64250);const __=a.__;t.Z=function(e){let{openModal:t,showUpgradeNudge:n}=e;const a=n?__("Learn more","jetpack"):__("Preview","jetpack",0),l=n?__("Learn more about paid plans","jetpack"):__("Open Social Previews","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__panel"},(0,r.createElement)("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),n&&(0,r.createElement)("p",null,__("Pro plan required.","jetpack")),(0,r.createElement)("div",{className:"jetpack-gutenberg-social-icons"},s.z.map((e=>(0,r.createElement)(i.av,{key:e.icon,serviceName:e.icon,className:"jetpack-social-previews__icon"})))),(0,r.createElement)(o.Button,{variant:"secondary",onClick:t,label:l},a))}},17296:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(55609),o=n(65736),i=n(13419),s=n(84069),l=n(37447),c=n(78798),u=n(32078);const __=o.__;function p(){var e,t;const n=null===(e=(0,i.OZ)(u.u2))||void 0===e||null===(t=e.details)||void 0===t?void 0:t.required_plan,[o,p,d]=(0,c.Z)(n,(()=>{s.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:n,block:u.u2})})),m=d?__("Redirecting…","jetpack"):__("Upgrade","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__modal-upgrade"},(0,r.createElement)("img",{className:"jetpack-social-previews__upgrade-illustration",src:l,width:"351",height:"264",alt:""}),(0,r.createElement)("div",{className:"jetpack-social-previews__upgrade-description"},(0,r.createElement)("h2",{className:"jetpack-social-previews__upgrade-heading"},__("Upgrade to a Pro plan to unlock the power of our SEO tools","jetpack")),(0,r.createElement)("ul",{className:"jetpack-social-previews__upgrade-feature-list"},(0,r.createElement)("li",null,__("Preview your site’s content as it will appear on Facebook, Twitter, and the WordPress.com Reader.","jetpack")),(0,r.createElement)("li",null,__("Control how page titles will appear on Google search results and social networks.","jetpack")),(0,r.createElement)("li",null,__("Customize your front page metadata to change how your site appears to search engines.","jetpack"))),(0,r.createElement)(a.Button,{href:o,variant:"primary",label:__("Purchase a Business plan to access social previews","jetpack"),onClick:p,target:"_top",isBusy:d},m)))}},97069:function(e,t,n){"use strict";function r(e){var t,n,r;return e?(null===(t=e.media_details)||void 0===t||null===(n=t.sizes)||void 0===n||null===(r=n.large)||void 0===r?void 0:r.source_url)||e.source_url:null}n.d(t,{i:function(){return r}})},65492:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(94545);const __=i.__;t.Z=e=>{let{allowedMediaTypes:t,attributes:{mediaFiles:n},onSelectMedia:i}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{title:__("Edit Story","jetpack"),onSelect:i,allowedTypes:t,addToGallery:!0,multiple:"add",value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(s.Z,{label:__("Edit Story","jetpack"),onClick:t})}}))))))}},19693:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(65736),l=n(11313),c=n(9818),u=n(52175),p=n(55609),d=n(93688),m=n(65492),h=n(73022);const __=s.__,f=["image","video"],g=e=>{var t,n,r;const a=(0,i.pick)(e,["alt","title","id","link","type","mime","caption","width","height"]);return a.url=(0,i.get)(e,["media_details","original","url"])||(0,i.get)(e,["media_details","videopress","original"])||(0,i.get)(e,["media_details","sizes","large","source_url"])||(0,i.get)(e,["sizes","large","url"])||e.url,a.type=e.media_type||e.type,a.mime=e.mime_type||e.mime,a.title=(null===(t=a.title)||void 0===t?void 0:t.rendered)||a.title,a.width=a.width||(null===(n=e.media_details)||void 0===n?void 0:n.width),a.height=a.height||(null===(r=e.media_details)||void 0===r?void 0:r.height),a};t.Z=(0,p.withNotices)((function(e){let{attributes:t,className:n,isSelected:a,noticeOperations:i,noticeUI:s,setAttributes:p}=e;const{mediaFiles:b}=t,{lockPostSaving:v,unlockPostSaving:k}=(0,c.useDispatch)("core/editor"),y="storyBlockLock",E=e=>{const t=e.map((e=>{if(!isNaN(e)){return b.find((t=>t.id===e))||{id:e}}return e})).map(g),n=t.filter((e=>!(0,l.isBlobURL)(e.url)));t.length!==n.length?v(y):k(y),p({mediaFiles:t})},w=(0,r.createElement)(m.Z,{allowedMediaTypes:f,attributes:t,onSelectMedia:E}),_=!!b.length,C=(0,r.createElement)(u.MediaPlaceholder,{addToGallery:_,isAppender:_,className:n,disableMediaButtons:_&&!a,icon:!_&&d.qv,labels:{title:!_&&__("Story","jetpack"),instructions:!_&&__("Drag images and videos, upload new ones, or select files from your library.","jetpack")},onSelect:E,accept:f.map((e=>e+"/*")).join(","),allowedTypes:f,multiple:"add",value:b,notices:_?void 0:s,onError:i.createErrorNotice});return _?(0,r.createElement)(r.Fragment,null,w,s,(0,r.createElement)("div",{className:o()("wp-block-jetpack-story","wp-story",n)},(0,r.createElement)(h.Z,{slides:b,disabled:!a,showSlideCount:a,shadowDOM:{enabled:!1},playInFullscreen:!1,tapToPlayPause:!1,playOnNextSlide:!1})),a&&C):(0,r.createElement)(r.Fragment,null,w,C)}))},66512:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,n(36598).Z)((0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,r.createElement)(a.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,r.createElement)(a.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));t.Z=o},93688:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},qv:function(){return i.Z},u2:function(){return p}});var r=n(65736),a=n(19693),o=n(29143),i=n(66512),s=n(5820),l=n(70355),c=n(15915);const __=r.__,_x=r._x,u={mediaFiles:[{alt:"",caption:"",mime:"image/jpg",type:"image",id:22,url:c}]},p="story",d={title:__("Story","jetpack"),category:(0,s.Z)("media","layout"),keywords:[_x("story","block search term","jetpack"),_x("image","block search term","jetpack"),_x("video","block search term","jetpack"),_x("gallery","block search term","jetpack")],description:__("Add an interactive story.","jetpack"),attributes:{settings:{type:"object"},mediaFiles:{type:"array",default:[]}},supports:{html:!1},icon:{src:i.Z,foreground:(0,l.m)()},edit:a.Z,save:o.Z,example:{attributes:u}}},19395:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(55609);function o(e){let{currentMedia:t}=e;const n=t&&"image"===t.type?t.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:n?`url("${n}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(a.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},94754:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(55609);const __=i.__;function l(e){let{isEllipsis:t,disabled:n,index:a,isSelected:l,progress:c,onClick:u}=e;const p=n||t;let d=null;return t||(d=l?(0,i.sprintf)(
/* translators: %d: Slide number. */
__("Slide %d, currently selected","jetpack"),a+1):(0,i.sprintf)(
/* translators: %d: Slide number. */
-__("Go to slide %d","jetpack"),a+1)),(0,r.createElement)(s.Button,{role:p?"presentation":"tab",key:a,className:o()("wp-story-pagination-bullet",{"wp-story-pagination-ellipsis":t}),"aria-label":d,"aria-disabled":p||l,onClick:p||l?void 0:u,disabled:p},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar"},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar-progress",style:{width:`${c}%`}})))}},9610:function(e,t,n){"use strict";n.d(t,{b:function(){return l},r:function(){return c}});var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i);const l=e=>{let{className:t,size:n,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button","circle-icon","outlined","bordered",t),style:{width:`${n}px`,height:`${n}px`}},l))},c=e=>{let{className:t,size:n=24,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button",t),style:{width:`${n}px`,height:`${n}px`}},l))}},1019:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("div",{className:"wp-story-loading-spinner"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__outer"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__inner"})))},50281:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(9610),i=n(29089);const _x=a._x;function s(e){let{playing:t,muted:n,onPlayPressed:a,onMutePressed:s,showMute:l}=e;return(0,r.createElement)("div",{className:"wp-story-controls"},(0,r.createElement)(o.r,{isPressed:t,label:t?_x("pause","Button tooltip text","jetpack"):_x("play","Button tooltip text","jetpack",0),onClick:a},t?(0,r.createElement)(i.fp,null):(0,r.createElement)(i.o1,null)),l&&(0,r.createElement)(o.r,{isPressed:n,label:n?_x("unmute","Button tooltip text","jetpack"):_x("mute","Button tooltip text","jetpack",0),onClick:s},n?(0,r.createElement)(i.xb,null):(0,r.createElement)(i.MC,null)))}},40220:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(9610),i=n(29089);const __=a.__;function s(e){let{fullscreen:t,onExitFullscreen:n,siteIconUrl:a,storyTitle:s}=e;return t?(0,r.createElement)("div",{className:"wp-story-meta"},(0,r.createElement)("div",{className:"wp-story-icon"},(0,r.createElement)("img",{alt:__("Site icon","jetpack"),src:a,width:"40",height:"40"})),(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"wp-story-title"},s)),(0,r.createElement)(o.r,{className:"wp-story-exit-fullscreen",label:__("Exit Fullscreen","jetpack"),onClick:n},(0,r.createElement)(i.Tw,null))):null}},29089:function(e,t,n){"use strict";n.d(t,{o1:function(){return s},fp:function(){return l},Tw:function(){return c},MC:function(){return u},xb:function(){return p},JM:function(){return d},Vq:function(){return m}});var r=n(69307),a=n(55609),o=n(41632);const i=e=>{let{children:t,size:n}=e;return(0,o.Z)(t,n,n)},s=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M8 5v14l11-7z"}))},l=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}))},c=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))},u=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}))},p=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}))},d=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}))},m=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}))}},27870:function(e,t,n){"use strict";n.d(t,{gT:function(){return r.Z},ZX:function(){return a.Z},h4:function(){return o.Z},aV:function(){return i.Z},Aq:function(){return s.Z},WB:function(){return l.Z},pU:function(){return c.pU}});var r=n(85974),a=n(50281),o=n(40220),i=n(46531),s=n(18754),l=n(1019),c=n(64816);n(9610)},64816:function(e,t,n){"use strict";n.d(t,{pU:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i);const l=e=>{let{title:t,alt:n,className:r,id:a,mediaRef:i,mime:l,sizes:c,srcset:u,url:p}=e;return(0,o.createElement)("img",{ref:i,"data-id":a,"data-mime":l,title:t,alt:n,src:p,className:s()("wp-story-image",`wp-image-${a}`,r),srcSet:u,sizes:c})},c=e=>{let{title:t,className:n,id:r,mediaRef:a,mime:i,url:l,poster:c}=e;return(0,o.createElement)("video",{className:s()("wp-story-video","intrinsic-ignore",`wp-video-${r}`,n),ref:a,"data-id":r,title:t,type:i,src:l,poster:c,tabIndex:-1,preload:"auto",playsInline:!0})},u=e=>{let{targetAspectRatio:t,cropUpTo:n,type:r,width:i,height:s,...u}=e,p=null;if(i&&s){const e=i/s;if(e>=t){e>t/(1-n)||(p="wp-story-crop-wide")}else{e<t*(1-n)||(p="wp-story-crop-narrow")}}const d="video"===r||(u.mime||"").startsWith("video/");return(0,o.createElement)("figure",null,d?(0,o.createElement)(c,a()({},u,{className:p})):(0,o.createElement)(l,a()({},u,{className:p})))}},46531:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(48735),o=n.n(a),i=n(65736),s=n(9610),l=n(29089);const __=i.__;function c(e){let{ended:t,hasPrevious:n,onNextSlide:a,onPreviousSlide:c,icon:u,slideCount:p,showSlideCount:d}=e;const m=(0,r.useCallback)((e=>{t||(e.stopPropagation(),c())}),[c,t]),h=(0,r.useCallback)((e=>{t||(e.stopPropagation(),a())}),[a,t]);return(0,r.createElement)("div",{className:"wp-story-overlay"},d&&(0,r.createElement)("div",{className:"wp-story-embed-icon"},u,(0,r.createElement)("span",null,p)),!d&&(0,r.createElement)("div",{className:"wp-story-embed-icon-expand"},(0,r.createElement)(o(),{role:"img"})),n&&(0,r.createElement)("div",{className:"wp-story-prev-slide",onClick:m},(0,r.createElement)(s.b,{size:44,label:__("Previous Slide","jetpack"),className:"outlined-w"},(0,i.isRTL)()?(0,r.createElement)(l.Vq,{size:24}):(0,r.createElement)(l.JM,{size:24}))),(0,r.createElement)("div",{className:"wp-story-next-slide",onClick:h},(0,r.createElement)(s.b,{size:44,label:__("Next Slide","jetpack"),className:"outlined-w"},(0,i.isRTL)()?(0,r.createElement)(l.JM,{size:24}):(0,r.createElement)(l.Vq,{size:24}))))}},58871:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(89105),o=n.n(a),i=n(31158),s=n(29891),l=n(72096);const c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function u(e){let{className:t,fullscreenClassName:n,bodyFullscreenClassName:a,fullscreen:u,shadowDOM:p,onKeyDown:d,onExitFullscreen:m,playerQuerySelector:h,children:f}=e;const g=(0,r.useRef)(),b=(0,r.useRef)(),[v,k]=(0,r.useState)(null),y=c&&s.am(),E=u&&!y,w=u&&y;return(0,r.useLayoutEffect)((()=>{if(y)u?g.current&&s.uP(g.current,m):s.bG()&&s.JF();else if(u){if(k([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(a),document.getElementsByTagName("html")[0].classList.add(a),b.current){const e=b.current.querySelector(h);e&&e.focus()}}else if(document.body.classList.remove(a),document.getElementsByTagName("html")[0].classList.remove(a),v){window.scrollTo(...v);const e=g.current.querySelector(h);e&&e.focus()}}),[u]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,p,(0,r.createElement)("div",{ref:g,className:o()(t,{[n]:w}),onKeyDown:d},!E&&f)),(0,r.createElement)(l.Z,{className:o()(t,{[n]:E}),isOpened:E,onRequestClose:m,shadowDOM:p,onKeyDown:E&&d,focusOnMount:!1,modalRef:b},E&&f))}},4045:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(9818),o=n(39630),i=(n(66930),n(54616)),s=n(58871);function l(e){let{id:t,slides:n,metadata:l,disabled:c,...u}=e;const p=(0,r.useMemo)((()=>t||Math.random().toString(36)),[t]),{init:d,setEnded:m,setPlaying:h,setFullscreen:f,showSlide:g}=(0,a.useDispatch)("jetpack/story/player"),{playing:b,currentSlideIndex:v,fullscreen:k,isReady:y,playerSettings:E}=(0,a.useSelect)((e=>{const{getCurrentSlideIndex:t,getSettings:n,isFullscreen:r,isPlayerReady:a,isPlaying:o}=e("jetpack/story/player");return a(p)?{playing:o(p),currentSlideIndex:t(p),isReady:!0,fullscreen:r(p),playerSettings:n(p)}:{isReady:!1}}),[p]);(0,r.useEffect)((()=>{y||d(p,{slideCount:n.length,...u})}),[y,p]);const w=(0,r.useCallback)((e=>{switch(e.keyCode){case o.ENTER:if(k)break;case o.SPACE:h(p,!b);break;case o.LEFT:v>0&&g(p,v-1);break;case o.RIGHT:v<n.length-1?g(p,v+1):m(p)}}),[p,v,k,b]),_=(0,r.useCallback)((()=>{f(p,!1)}),[p]);return y?(0,r.createElement)(s.Z,{shadowDOM:E.shadowDOM,className:"wp-story-app",fullscreenClassName:"wp-story-fullscreen",bodyFullscreenClassName:"wp-story-in-fullscreen",playerQuerySelector:".wp-story-container",fullscreen:k,onExitFullscreen:_,onKeyDown:w},(0,r.createElement)(i.Z,{id:p,slides:n,metadata:l,disabled:c})):null}},29891:function(e,t,n){"use strict";n.d(t,{am:function(){return r},bG:function(){return a},uP:function(){return o},JF:function(){return i}});const r=()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,a=()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,o=(e,t)=>{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=>{document.fullscreenElement||(document.removeEventListener("fullscreenchange",e),t())};document.addEventListener("fullscreenchange",e)}},i=()=>(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},31158:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);const a=window&&window.Element&&window.Element.prototype.hasOwnProperty("attachShadow");function o(e){let{enabled:t,delegatesFocus:n=!1,mode:o="open",globalStyleElements:s=[],adoptedStyleSheets:l=null,mountOnElement:c=null,children:u}=e;const[p,d]=(0,r.useState)(null),m=c||p,[h,f]=(0,r.useState)(null),g="string"==typeof s?[...document.querySelectorAll(s)]:s,b=a&&t&&g.length>0,v=(0,r.useCallback)((e=>{null!==e&&d(e.parentNode)}),[]);if((0,r.useEffect)((()=>{if(!m)return;if(m.shadowRoot)return void f(m.shadowRoot);const e=m.attachShadow({delegatesFocus:n,mode:o});l&&(e.adoptedStyleSheets=l),f(e)}),[m]),b&&!h)return c?null:(0,r.createElement)("span",{ref:v});const k=(0,r.createElement)(r.Fragment,null,b&&(0,r.createElement)(i,{globalStyleElements:g}),u);return b?(0,r.createPortal)(k,h):k}function i(e){let{globalStyleElements:t}=e;return(0,r.createElement)(r.Fragment,null,t.map(((e,t)=>{let{id:n,tagName:a,attributes:o,innerHTML:i}=e;return"LINK"===a?(0,r.createElement)("link",{key:n||t,id:n,rel:o.rel.value,href:o.href.value}):"STYLE"===a?(0,r.createElement)("style",{key:n||t,id:n},i):void 0})))}},94292:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{const t=(0,r.useRef)(),n=(0,r.useRef)(),a=(0,r.useRef)(e),o=(0,r.useCallback)((e=>{e.touches&&1===e.touches.length&&e.preventDefault()}),[]);return(0,r.useEffect)((()=>{a.current=e}),[e]),{onTouchStart:(0,r.useCallback)((e=>{e.target&&(e.target.addEventListener("touchend",o,{passive:!1}),n.current=e.target),t.current=setTimeout((()=>{a.current&&a.current(!0),t.current=null}),200)}),[]),onTouchEnd:(0,r.useCallback)((e=>{t.current?clearTimeout(t.current):(a.current&&a.current(!1),e.stopPropagation()),n.current&&n.current.removeEventListener("touchend",o)}),[])}}},21531:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)(null),n=(0,r.useRef)(!1),a=(0,r.useRef)(e),o=(0,r.useRef)(e);return o.current=e,(0,r.useLayoutEffect)((()=>{e.forEach(((e,r)=>{const o=a.current[r];"function"==typeof e&&e!==o&&!1===n.current&&(o(null),e(t.current))})),a.current=e}),e),(0,r.useLayoutEffect)((()=>{n.current=!1})),(0,r.useCallback)((e=>{t.current=e,n.current=!0;(e?o.current:a.current).forEach((t=>{"function"==typeof t?t(e):t&&t.hasOwnProperty("current")&&(t.current=e)}))}),[])}},97524:function(e,t,n){"use strict";async function r(e){const t=e.tagName.toLowerCase();if("img"===t){if(e.complete)return;await new Promise((t=>{e.addEventListener("load",t,{once:!0})}))}else if("video"===t||"audio"===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise((t=>{e.addEventListener("canplaythrough",t,{once:!0}),e.addEventListener("load",t,{once:!0}),e.HAVE_NOTHING===e.readyState&&e.networkState!==e.NETWORK_LOADING&&e.load()}))}}n.d(t,{Z:function(){return r}})},82295:function(e,t,n){"use strict";n.d(t,{BM:function(){return s},i1:function(){return l}});var r=n(92819);const a=new Set(["alert","status","log","marquee","timer"]);let o=[],i=!1;function s(e){if(i)return;const t=document.body.children;(0,r.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||a.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),o.push(t))})),i=!0}function l(){i&&((0,r.forEach)(o,(e=>{e.removeAttribute("aria-hidden")})),o=[],i=!1)}},97790:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(39630),o=n(94333),i=n(21531);function s(e){let{overlayClassName:t,children:n,className:s,focusOnMount:l,shouldCloseOnEsc:c=!0,onRequestClose:u,onKeyDown:p,modalRef:d}=e;const m=(0,o.useFocusOnMount)(l),h=(0,o.useConstrainedTabbing)(),f=(0,o.useFocusReturn)();return(0,r.createElement)("div",{className:t,onKeyDown:function(e){c&&e.keyCode===a.ESCAPE&&(e.stopPropagation(),u&&u(e)),e.target&&"button"===e.target.tagName.toLowerCase()&&e.keyCode===a.SPACE||p&&p(e)}},(0,r.createElement)("div",{className:s,ref:(0,i.Z)([h,f,m,d])},n))}},72096:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(94333),s=n(31158),l=n(97790),c=n(82295);let u,p=0;const d=()=>{};class m extends o.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){p++,1===p&&this.openFirstModal()}componentWillUnmount(){p--,0===p&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){u||(u=document.createElement("div"),document.body.appendChild(u)),this.node=document.createElement("div"),u.appendChild(this.node),this.node.ontouchstart=d,this.node.ontouchend=d}cleanDOM(){u.removeChild(this.node)}openFirstModal(){c.BM(u)}closeLastModal(){c.i1()}render(){const{children:e,isOpened:t,shadowDOM:n,...r}=this.props;return(0,o.createElement)(s.Z,a()({},n,{mountOnElement:this.node}),t&&(0,o.createElement)(l.Z,r,e))}}m.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0},t.Z=(0,i.withInstanceId)(m)},54616:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(92819),c=n(11313),u=n(94333),p=n(65736),d=n(9818),m=n(12378),h=n(96178),f=n(16019),g=n(27870),b=n(94292);const __=p.__;function v(e){let{id:t,slides:n,metadata:r,disabled:i}=e;const{setFullscreen:p,setEnded:v,setPlaying:k,setMuted:y,showSlide:E}=(0,d.useDispatch)("jetpack/story/player"),{playing:w,muted:_,currentSlideIndex:C,currentSlideEnded:j,ended:S,fullscreen:x,settings:T}=(0,d.useSelect)((e=>{const{getCurrentSlideIndex:n,getSettings:r,hasCurrentSlideEnded:a,hasEnded:o,isFullscreen:i,isMuted:s,isPlaying:l}=e("jetpack/story/player");return{playing:l(t),muted:s(t),currentSlideIndex:n(t),currentSlideEnded:a(t),ended:o(t),fullscreen:i(t),settings:r(t)}}),[t]),P=(0,o.useRef)(),[N,A]=(0,o.useState)(null),[I,{width:B,height:M}]=(0,u.useResizeObserver)(),[R,L]=(0,o.useState)(T.defaultAspectRatio),Z=(0,l.some)(n,(e=>(0,c.isBlobURL)(e.url))),F=e=>{E(t,e)},D=(0,o.useCallback)((()=>{i||x||T.playInFullscreen&&!w&&k(t,!0)}),[w,i,x]),{onTouchStart:O,onTouchEnd:z}=(0,b.Z)((e=>{k(t,!e)}),[]),U=(0,o.useCallback)((()=>{C>0&&F(C-1)}),[C]),$=(0,o.useCallback)((()=>{C<n.length-1?F(C+1):v(t)}),[C,n]),V=(0,o.useCallback)((()=>{p(t,!1)}),[]);let G,H;return(0,o.useEffect)((()=>{i&&w&&k(t,!1)}),[i,w]),(0,o.useEffect)((()=>{w&&j&&$()}),[w,j]),(0,o.useLayoutEffect)((()=>{if(!P.current)return;let e=Math.round(T.defaultAspectRatio*P.current.offsetHeight);x&&(e=Math.abs(1-e/B)<T.cropUpTo?B:e),A(e)}),[B,M,x]),(0,o.useLayoutEffect)((()=>{N&&P.current&&P.current.offsetHeight>0&&L(N/P.current.offsetHeight)}),[N]),G=x?[__("You are currently playing a story.","jetpack"),w?__("Press space to pause.","jetpack"):__("Press space to play.","jetpack",0),__("Press escape to exit.","jetpack")].join(" "):__("Play story","jetpack"),H=i?"presentation":x?"dialog":"button",(0,o.createElement)("div",{className:"wp-story-display-contents"},I,(0,o.createElement)("div",{role:H,"aria-label":G,tabIndex:x?-1:0,className:s()("wp-story-container",{"wp-story-with-controls":!i&&!x&&!T.playInFullscreen,"wp-story-fullscreen":x,"wp-story-ended":S,"wp-story-disabled":i,"wp-story-clickable":!i&&!x}),style:{maxWidth:`${N}px`},onClick:D,onTouchStart:O,onTouchEnd:z},(0,o.createElement)(g.h4,a()({},r,{fullscreen:x,onExitFullscreen:V})),(0,o.createElement)("div",{ref:P,className:"wp-story-wrapper"},n.map(((e,n)=>(0,o.createElement)(m.Z,{playerId:t,key:n,media:e,index:n,playing:!i&&w,uploading:Z,settings:T,targetAspectRatio:R})))),(0,o.createElement)(g.aV,{icon:h.Z,slideCount:n.length,showSlideCount:T.showSlideCount,ended:S,hasPrevious:C>0,onPreviousSlide:U,onNextSlide:$}),T.showProgressBar&&(0,o.createElement)(f.ZP,{playerId:t,slides:n,disabled:!x,onSlideSeek:F,maxBullets:x?T.maxBulletsFullscreen:T.maxBullets}),(0,o.createElement)(g.ZX,{playing:w,muted:_,onPlayPressed:()=>k(t,!w),onMutePressed:()=>y(t,!_),showMute:(e=>{const t=e<n.length?n[e]:null;return!!t&&("video"===t.type||(t.mime||"").startsWith("video/"))})(C)})),x&&(0,o.createElement)(g.Aq,{currentMedia:T.blurredBackground&&n.length>C&&n[C]}))}},16019:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(27870),i=n(9818);const s=e=>{let{key:t,playerId:n,index:a,disabled:s,isSelected:l,onClick:c}=e;const u=(0,i.useSelect)((e=>e("jetpack/story/player").getCurrentSlideProgressPercentage(n)),[]);return(0,r.createElement)(o.gT,{key:t,index:a,progress:u,disabled:s,isSelected:l,onClick:c})};t.ZP=e=>{let{playerId:t,slides:n,disabled:l,onSlideSeek:c,maxBullets:u}=e;const{currentSlideIndex:p}=(0,i.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t)})),[]),d=Math.min(n.length,u),m=Math.floor(d/2);let h,f=0,g=n.length-1;return n.length<=u||p<m?(h=p,g=d-1):p>=n.length-m?(h=p-n.length+d,f=n.length-d):(h=m,f=p-m,g=p+m),(0,r.createElement)("div",{className:"wp-story-pagination wp-story-pagination-bullets",role:"tablist"},f>0&&(0,r.createElement)(o.gT,{key:"bullet-0",index:f-1,progress:100,isEllipsis:!0}),(0,a.range)(1,d+1).map(((e,n)=>{const a=n+f;let i=null;if(a<p)i=100;else{if(!(a>p))return(0,r.createElement)(s,{playerId:t,key:`bullet-${n}`,index:a,disabled:l,isSelected:h===n,onClick:()=>c(a)});i=0}return(0,r.createElement)(o.gT,{key:`bullet-${n}`,index:a,progress:i,disabled:l,isSelected:h===n,onClick:()=>c(a)})})),g<n.length-1&&(0,r.createElement)(o.gT,{key:`bullet-${d+1}`,index:g+1,progress:0,isEllipsis:!0}))}},12378:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(97524),s=n(89105),l=n.n(s),c=n(9818),u=n(27870);t.Z=e=>{let{playerId:t,media:n,index:r,playing:s,uploading:p,settings:d,targetAspectRatio:m}=e;const{currentSlideIndex:h,buffering:f}=(0,c.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t),buffering:e("jetpack/story/player").isBuffering(t)})),[]),{slideReady:g}=(0,c.useDispatch)("jetpack/story/player"),b=r===h,v=(0,o.useRef)(null),[k,y]=(0,o.useState)(!1),[E,w]=(0,o.useState)(!0);return(0,o.useEffect)((()=>{if(b&&!E){const e=v.current&&v.current.src&&"video"===v.current.tagName.toLowerCase()?v.current:null;g(t,v.current,e?e.duration:d.imageTime)}}),[b,E]),(0,o.useEffect)((()=>{r<=h+(s?1:0)&&y(!0)}),[s,h]),(0,o.useLayoutEffect)((()=>{v.current&&(0,i.Z)(v.current).then((()=>{w(!1)}))}),[k,p]),(0,o.createElement)(o.Fragment,null,b&&(E||p||f)&&(0,o.createElement)("div",{className:l()("wp-story-slide","is-loading",{transparent:s&&f,"semi-transparent":p||!s&&f})},(0,o.createElement)(u.WB,null)),(0,o.createElement)("div",{role:"figure",className:"wp-story-slide",style:{display:b&&!E?"block":"none"},tabIndex:b?0:-1},k&&(0,o.createElement)(u.pU,a()({},n,{targetAspectRatio:m,cropUpTo:d.cropUpTo,index:r,mediaRef:v}))))}},46192:function(e,t,n){"use strict";function r(e,t){return{type:"SET_MUTED",value:t,playerId:e}}function a(e,t){return{type:"SET_PLAYING",value:t,playerId:e}}function o(e,t){return{type:"SHOW_SLIDE",index:t,playerId:e}}function i(e,t,n){return{type:"SLIDE_READY",mediaElement:t,duration:n,playerId:e}}function s(e,t){return{type:"SET_CURRENT_SLIDE_PROGRESS",value:t,playerId:e}}function l(e){return{type:"RESET_CURRENT_SLIDE_PROGRESS",playerId:e}}function c(e){return{type:"SET_CURRENT_SLIDE_ENDED",playerId:e}}function u(e,t){return{type:"SET_FULLSCREEN",playerId:e,fullscreen:t}}function p(e){return{type:"ENDED",playerId:e}}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"INIT",playerId:e,settings:t}}function m(e,t){return{type:"SET_BUFFERING",value:t,playerId:e}}n.r(t),n.d(t,{setMuted:function(){return r},setPlaying:function(){return a},showSlide:function(){return o},slideReady:function(){return i},setCurrentSlideProgress:function(){return s},resetCurrentSlideProgress:function(){return l},setCurrentSlideEnded:function(){return c},setFullscreen:function(){return u},setEnded:function(){return p},init:function(){return d},setBuffering:function(){return m}})},58571:function(e,t,n){"use strict";n.d(t,{XO:function(){return r},Qz:function(){return a},H2:function(){return o}});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},a={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},o={slideCount:0,currentSlide:a,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:"open",globalStyleElements:'#jetpack-block-story-css, link[href*="jetpack/_inc/blocks/story/view.css"]'},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},83566:function(e,t,n){"use strict";var r=n(46192),a=n(96494);const o=e=>e&&e.src&&"video"===e.tagName.toLowerCase();function i(e,t){const{getState:n}=t,r=e.playerId,i=(0,a.isMuted)(n(),r),s=(0,a.isPlaying)(n(),r),l=(0,a.getCurrentMediaElement)(n(),r),c=(0,a.getPreviousSlideMediaElement)(n(),r),u=(0,a.getSettings)(n(),r);o(c)&&(c.currentTime=0,c.onwaiting=null,c.onplaying=null,c.pause()),o(l)&&(i!==l.muted&&(l.muted=i,i||(l.volume=u.volume)),s?l.play():l.pause())}function s(e,t){const{getState:n,dispatch:i}=t,l=e.playerId,c=(0,a.isCurrentSlideReady)(n(),l),u=(0,a.isPlaying)(n(),l),p=(0,a.getCurrentSlideProgress)(n(),l);if(clearTimeout(p.timeout),!u||!c)return void(p.lastUpdate&&i((0,r.setCurrentSlideProgress)(l,{...p,lastUpdate:null})));const d=(0,a.getCurrentMediaElement)(n(),l),m=(0,a.getCurrentMediaDuration)(n(),l),h=p.lastUpdate?Date.now()-p.lastUpdate:100,f=o(d)?d.currentTime:p.currentTime+h/1e3;if(f>=m){i((0,r.setCurrentSlideEnded)(l));const e=(0,a.getSlideCount)(n(),l);(0,a.getCurrentSlideIndex)(n(),l)===e-1&&i((0,r.setEnded)(l))}else i((0,r.setCurrentSlideProgress)(l,{timeout:setTimeout((()=>s(e,t)),100),lastUpdate:Date.now(),duration:m,currentTime:f}))}t.Z={SET_PLAYING:[s,i],SLIDE_READY:[function(e,t){const{getState:n,dispatch:i}=t,s=e.playerId,l=(0,a.getCurrentMediaElement)(n(),s);if(!o(l))return;const c=(0,a.getCurrentSlideProgress)(n(),s);0===l.currentTime&&c.currentTime>0&&(l.currentTime=c.currentTime),l.onwaiting=()=>i((0,r.setBuffering)(s,!0)),l.onplaying=()=>i((0,r.setBuffering)(s,!1))},s,i],SET_MUTED:i,SHOW_SLIDE:i}},66930:function(e,t,n){"use strict";var r=n(9818),a=n(46192),o=n(96494),i=n(36978),s=n(2814);const l=(0,r.registerStore)("jetpack/story/player",{actions:a,reducer:s.Z,selectors:o});(0,i.Z)(l)},36978:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2601),a=n.n(r),o=n(92819),i=n(83566);function s(e){const t=[a()(i.Z)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},2814:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(58571);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.H2,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_SLIDE":{const n=e.currentSlide===t.index+1;return{...e,currentSlide:{...a.Qz,index:t.index},previousSlide:e.currentSlide,playing:n?e.settings.playOnNextSlide:e.playing}}case"SLIDE_READY":return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case"SET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case"SET_CURRENT_SLIDE_ENDED":return{...e,currentSlide:{...e.currentSlide,ended:!0}};case"RESET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:{...a.XO}}};case"SET_MUTED":return{...e,muted:t.value};case"SET_PLAYING":{const n=t.value&&e.ended;return{...e,playing:t.value,buffering:!!t.value&&e.buffering,fullscreen:!e.playing&&t.value?e.settings.playInFullscreen:e.fullscreen,ended:!n&&e.ended,currentSlide:n?{...a.Qz,index:0}:e.currentSlide,previousSlide:n?null:e.previousSlide}}case"SET_BUFFERING":return{...e,buffering:t.value};case"SET_FULLSCREEN":return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&&!t.fullscreen&&e.settings.playInFullscreen)&&e.playing};case"INIT":{const n=(0,r.merge)({},e.settings,t.settings);return{...e,settings:n,playing:n.playOnLoad,fullscreen:n.loadInFullscreen}}case"ENDED":return{...e,currentSlide:{...a.Qz,index:e.settings.slideCount-1,progress:{...a.XO,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.playerId?{...e,[t.playerId]:o(e[t.playerId],t)}:e}},96494:function(e,t,n){"use strict";function r(e,t){return!!e[t]}function a(e,t){return e[t].currentSlide.index}function o(e,t){return e[t].currentSlide.progress}function i(e,t){const n=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,a=Math.round(100*n/r);return a>=100?100:a}function s(e,t){return e[t].playing}function l(e,t){return e[t].muted}function c(e,t){return e[t].buffering}function u(e,t){return e[t].currentSlide.mediaElement}function p(e,t){return e[t].currentSlide.duration}function d(e,t){return e[t].currentSlide.ended}function m(e,t){return e[t].currentSlide.ready}function h(e,t){return e[t].previousSlide?.mediaElement}function f(e,t){return e[t].fullscreen}function g(e,t){return e[t].ended}function b(e,t){return e[t].settings}function v(e,t){return e[t].settings.slideCount}n.r(t),n.d(t,{isPlayerReady:function(){return r},getCurrentSlideIndex:function(){return a},getCurrentSlideProgress:function(){return o},getCurrentSlideProgressPercentage:function(){return i},isPlaying:function(){return s},isMuted:function(){return l},isBuffering:function(){return c},getCurrentMediaElement:function(){return u},getCurrentMediaDuration:function(){return p},hasCurrentSlideEnded:function(){return d},isCurrentSlideReady:function(){return m},getPreviousSlideMediaElement:function(){return h},isFullscreen:function(){return f},hasEnded:function(){return g},getSettings:function(){return b},getSlideCount:function(){return v}})},1436:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:o()("wp-story",t)})}},79885:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"},successMessage:{type:"string",default:__("Success! An email was just sent to confirm your subscription. Please find the email now and click 'Confirm Follow' to start subscribing.","jetpack")}}},87138:function(e,t,n){"use strict";n.d(t,{G0:function(){return r},Gp:function(){return a},S9:function(){return o},VF:function(){return i},K3:function(){return s},XJ:function(){return l},xV:function(){return c},bK:function(){return u},HE:function(){return p},Tr:function(){return d},pC:function(){return m},FP:function(){return h},tm:function(){return f}});const r=0,a=50,o=0,i=0,s=15,l=1,c=5,u=50,p=15,d=0,m=50,h=10,f="16px"},45643:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(80790),l=n(87138);const __=a.__;function c(e){let{buttonBackgroundColor:t,borderColor:n,buttonGradient:a,borderRadius:c,borderWeight:u,buttonOnNewLine:p,emailFieldBackgroundColor:d,fallbackButtonBackgroundColor:m,fallbackTextColor:h,fontSize:f,isGradientAvailable:g,padding:b,setAttributes:v,setButtonBackgroundColor:k,setTextColor:y,showSubscribersTotal:E,spacing:w,subscriberCount:_,textColor:C,buttonWidth:j,successMessage:S}=e;return(0,r.createElement)(r.Fragment,null,g&&(0,r.createElement)(i.__experimentalPanelColorGradientSettings,{title:__("Color Settings","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",settings:[{colorValue:t.color,onColorChange:k,gradientValue:a.gradientValue,onGradientChange:a.setGradient,label:__("Button Background Color","jetpack")},{colorValue:C.color,onColorChange:y,label:__("Button Text Color","jetpack")},{colorValue:n.color,onColorChange:e=>{v({borderColor:e,customBorderColor:e})},label:__("Border Color","jetpack")}],initialOpen:!0},(0,r.createElement)(i.ContrastChecker,{fontSize:f.size,textColor:C.color,backgroundColor:d.color,fallbackButtonBackgroundColor:m,fallbackTextColor:h})),!g&&(0,r.createElement)(i.PanelColorSettings,{title:__("Background Colors","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",colorSettings:[{value:t.color,onChange:k,label:__("Button Background Color","jetpack")},{value:C.color,onChange:y,label:__("Button Text Color","jetpack")},{value:n.color,onColorChange:e=>{v({borderColor:e,customBorderColor:e})},label:__("Border Color","jetpack")}],initialOpen:!1},(0,r.createElement)(i.ContrastChecker,{fontSize:f.size,textColor:C.color,backgroundColor:d.color,fallbackButtonBackgroundColor:m,fallbackTextColor:h})),(0,r.createElement)(o.PanelBody,{title:__("Text Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__textpanel"},(0,r.createElement)(i.FontSizePicker,{withSlider:!0,value:f.size,onChange:e=>{const t=e||l.tm;v({fontSize:t,customFontSize:t})}})),(0,r.createElement)(o.PanelBody,{title:__("Border Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__borderpanel"},(0,r.createElement)(o.RangeControl,{value:c,label:__("Border Radius","jetpack"),min:l.G0,max:l.Gp,initialPosition:l.S9,allowReset:!0,onChange:e=>v({borderRadius:e})}),(0,r.createElement)(o.RangeControl,{value:u,label:__("Border Weight","jetpack"),min:l.VF,max:l.K3,initialPosition:l.XJ,allowReset:!0,onChange:e=>v({borderWeight:e})})),(0,r.createElement)(o.PanelBody,{title:__("Spacing Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__spacingpanel"},(0,r.createElement)(o.RangeControl,{value:b,label:__("Space Inside","jetpack"),min:l.xV,max:l.bK,initialPosition:l.HE,allowReset:!0,onChange:e=>v({padding:e})}),(0,r.createElement)(o.RangeControl,{value:w,label:__("Space Between","jetpack"),min:l.Tr,max:l.pC,initialPosition:l.FP,allowReset:!0,onChange:e=>v({spacing:e})}),(0,r.createElement)(s.h,{width:j,onChange:e=>v({buttonWidth:e})})),(0,r.createElement)(o.PanelBody,{title:__("Display Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__displaypanel"},(0,r.createElement)(o.ToggleControl,{label:__("Show subscriber count","jetpack"),checked:E,onChange:()=>{v({showSubscribersTotal:!E})},help:()=>{if(!_||_<1)return __("This will remain hidden on your website until you have at least one subscriber.","jetpack")}}),(0,r.createElement)(o.ToggleControl,{label:__("Place button on new line","jetpack"),checked:p,onChange:()=>{v({buttonOnNewLine:!p})}})),(0,r.createElement)(o.PanelBody,{title:__("Success Message Text","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__successpanel"},(0,r.createElement)(o.TextareaControl,{value:S,label:__("Success Message Text","jetpack"),hideLabelFromVision:!0,help:__("Save your custom message to display when a user subscribes your website.","jetpack"),onChange:e=>v({successMessage:e})})))}},58363:function(e,t,n){"use strict";var r=n(26233),a=n(80960),o=n(28897),i=n(73300),s=n(56286),l=n(16949);t.Z=[l.Z,s.Z,i.Z,o.Z,a.Z,r.Z]},26233:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(92819);const __=a.__;t.Z={attributes:{subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:e=>({submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal}),isEligible:e=>!(!e.hasOwnProperty("subscribeButton")||!(0,o.isEmpty)(e.subscribeButton)),save:function(e){let{attributes:t}=e;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_subscribers_total="${t.showSubscribersTotal}" show_only_email_and_button="true"]`)}}},80960:function(e,t,n){"use strict";var r=n(65736),a=n(51268);const __=r.__;t.Z={attributes:{subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},migrate:e=>({subscribePlaceholder:e.subscribePlaceholder,showSubscribersTotal:e.showSubscribersTotal,buttonOnNewLine:!0,submitButtonText:e.submitButtonText,buttonBackgroundColor:e.backgroundButtonColor?e.backgroundButtonColor:"primary",customButtonBackgroundColor:e.customBackgroundButtonColor,textColor:e.textButtonColor?e.textButtonColor:"background",customTextColor:e.customTextButtonColor}),save:a.Z}},51268:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{showSubscribersTotal:n,submitButtonClasses:a,customBackgroundButtonColor:o,customTextButtonColor:i,submitButtonText:s}=t;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="${o}" custom_text_button_color="${i}" submit_button_text="${s}" submit_button_classes="${a}" show_subscribers_total="${n}" ]`)}},80929:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Enter your email address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Sign Up","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"number"},customFontSize:{type:"number"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},69283:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(80929);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const{subscribePlaceholder:o,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:p,customEmailFieldBackgroundColor:d,emailFieldGradient:m,customEmailFieldGradient:h,buttonBackgroundColor:f,customButtonBackgroundColor:g,buttonGradient:b,customButtonGradient:v,textColor:k,customTextColor:y,fontSize:E,customFontSize:w,borderRadius:_,borderWeight:C,borderColor:j,customBorderColor:S,padding:x,spacing:T}=t,P=!!a.__experimentalGetGradientClass,N=(0,a.getColorClassName)("color",k),A=(0,a.getFontSizeClass)(E),I=(0,a.getColorClassName)("border-color",j),B=(0,a.getColorClassName)("background-color",f),M=P?(0,a.__experimentalGetGradientClass)(b):void 0,R=(0,a.getColorClassName)("background-color",p),L=P?(0,a.__experimentalGetGradientClass)(m):void 0,Z=i()(0===_?"no-border-radius":void 0,A,I),F=i()(Z,k?"has-text-color":void 0,N,f||b?"has-background":void 0,B,M),D=i()(Z,R,L),O=!R&&h?h:d,z=!B&&v?v:g,U=()=>i()(e,"wp-block-jetpack-subscriptions__supports-newline",c?"wp-block-jetpack-subscriptions__use-newline":void 0,l?"wp-block-jetpack-subscriptions__show-subs":void 0);let $=o,V=u;return"check-text-defaults"===n&&($=o===s.Z.subscribePlaceholder.default?"Enter your email address":o,V=u===s.Z.submitButtonText.default?"Sign Up":u),(0,r.createElement)("div",{className:U()},(0,r.createElement)(r.RawHTML,null,`\n\t\t\t[jetpack_subscription_form\n\t\t\t\tsubscribe_placeholder="${$}"\n\t\t\t\tshow_subscribers_total="${l}"\n\t\t\t\tbutton_on_newline="${c}"\n\t\t\t\tsubmit_button_text="${V}"\n\t\t\t\tcustom_background_emailfield_color="${O}"\n\t\t\t\tcustom_background_button_color="${z}"\n\t\t\t\tcustom_text_button_color="${y}"\n\t\t\t\tcustom_font_size="${w||16}"\n\t\t\t\tcustom_border_radius="${_||0}"\n\t\t\t\tcustom_border_weight="${C||1}"\n\t\t\t\tcustom_border_color="${S}"\n\t\t\t\tcustom_padding="${x||15}"\n\t\t\t\tcustom_spacing="${T||10}"\n\t\t\t\tsubmit_button_classes="${F}"\n\t\t\t\temail_field_classes="${D}"\n\t\t\t\tshow_only_email_and_button="true"\n\t\t\t]`))}},28897:function(e,t,n){"use strict";var r=n(80929),a=n(69283);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n)}}},73300:function(e,t,n){"use strict";var r=n(80929),a=n(69283);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n,"check-text-defaults")}}},56286:function(e,t,n){"use strict";var r=n(80929),a=n(14556);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:a.ZP}},14556:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(80929);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:j,borderColor:S,customBorderColor:x,padding:T,spacing:P}=n,N=!!a.__experimentalGetGradientClass,A=(0,a.getColorClassName)("color",y),I=(0,a.getFontSizeClass)(w),B=(0,a.getColorClassName)("border-color",S),M=(0,a.getColorClassName)("background-color",g),R=N?(0,a.__experimentalGetGradientClass)(v):void 0,L=(0,a.getColorClassName)("background-color",d),Z=N?(0,a.__experimentalGetGradientClass)(h):void 0,F=i()(0===C?"no-border-radius":void 0,I,B),D=i()(F,y?"has-text-color":void 0,A,g||v?"has-background":void 0,M,R),O=i()(F,L,Z),z=!L&&f?f:m,U=!M&&k?k:b,$={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:z,custom_background_button_color:U,custom_text_button_color:E,custom_font_size:_||16,custom_border_radius:C||0,custom_border_weight:j||1,custom_border_color:x,custom_padding:T||15,custom_spacing:P||10,submit_button_classes:D,email_field_classes:O,show_only_email_and_button:!0},V=(0,s.reduce)($,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${V}]`))}},61798:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},16949:function(e,t,n){"use strict";var r=n(61798),a=n(75799);t.Z={attributes:r.Z,save:a.Z}},75799:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(61798);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:j,borderColor:S,customBorderColor:x,padding:T,spacing:P,buttonWidth:N}=n,A=!!a.__experimentalGetGradientClass,I=(0,a.getColorClassName)("color",y),B=(0,a.getFontSizeClass)(w),M=(0,a.getColorClassName)("border-color",S),R=(0,a.getColorClassName)("background-color",g),L=A?(0,a.__experimentalGetGradientClass)(v):void 0,Z=(0,a.getColorClassName)("background-color",d),F=A?(0,a.__experimentalGetGradientClass)(h):void 0,D=i()(0===C?"no-border-radius":void 0,B,M),O=i()(D,y?"has-text-color":void 0,I,g||v?"has-background":void 0,R,L),z=i()(D,Z,F),U=!Z&&f?f:m,$=!R&&k?k:b,V=N||void 0,G={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:U,custom_background_button_color:$,custom_text_button_color:E,custom_font_size:_||"16px",custom_border_radius:C||0,custom_border_weight:j||1,custom_border_color:x,custom_button_width:V,custom_padding:T||15,custom_spacing:P||10,submit_button_classes:O,email_field_classes:z,show_only_email_and_button:!0},H=(0,s.reduce)(G,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${H}]`))}},73228:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(86989),l=n.n(s),c=n(65736),u=n(55609),p=n(52175),d=n(94333),m=n(79885),h=n(14087),f=n(87138),g=n(45643);const __=c.__,_n=c._n,{getComputedStyle:b}=window,v=!!p.__experimentalUseGradient,k=(0,u.withFallbackStyles)(((e,t)=>{const{buttonBackgroundColor:n,textColor:r}=t,a=n&&n.color,o=r&&r.color,i=e.querySelector(".wp-block-jetpack-subscriptions__button");return{fallbackButtonBackgroundColor:a||!e?void 0:i&&b(i).backgroundColor,fallbackTextColor:o||!e?void 0:i&&b(i).color}}));t.Z=(0,d.compose)([(0,p.withColors)({emailFieldBackgroundColor:"backgroundColor"},{buttonBackgroundColor:"backgroundColor"},{textColor:"color"},"borderColor"),(0,p.withFontSizes)("fontSize"),k])((function(e){const{className:t,attributes:n,setAttributes:a,emailFieldBackgroundColor:s,buttonBackgroundColor:d,setButtonBackgroundColor:b,fallbackButtonBackgroundColor:k,textColor:y,fallbackTextColor:E,setTextColor:w,borderColor:_,fontSize:C}=e,j=(0,h.S)(m.Z,n);(0,i.isEqual)(j,n)||a(j);const{borderRadius:S,borderWeight:x,buttonWidth:T,padding:P,spacing:N,submitButtonText:A,subscribePlaceholder:I,showSubscribersTotal:B,buttonOnNewLine:M,successMessage:R}=j,[L,Z]=(0,r.useState)(""),[F,D]=(0,r.useState)(""),O=v?(0,p.__experimentalUseGradient)({gradientAttribute:"emailFieldGradient",customGradientAttribute:"customEmailFieldGradient"}):{},z=v?(0,p.__experimentalUseGradient)({gradientAttribute:"buttonGradient",customGradientAttribute:"customButtonGradient"}):{},U={"no-border-radius":0===S,[C.class]:C.class,"has-text-color":y.color,[y.class]:y.class},$={...U,"has-background":s.color||O.gradientValue,[s.class]:!O.gradientValue&&s.class,[O.gradientClass]:O.gradientClass},V={...U,"has-background":d.color||z.gradientValue,[d.class]:!z.gradientValue&&d.class,[z.gradientClass]:z.gradientClass},G=e=>e||f.FP,H={color:y.color,borderColor:_.color,borderRadius:S?S+"px":f.S9+"px",borderWidth:x?x+"px":f.XJ+"px",fontSize:C.size?C.size:f.tm,padding:(e=>{const t=e||f.HE;return t+"px "+Math.round(1.5*t)+"px "+t+"px "+Math.round(1.5*t)+"px"})(P)},q={...H,...!s.color&&O.gradientValue?{background:O.gradientValue}:{backgroundColor:s.color}},W={...H,...!d.color&&z.gradientValue?{background:z.gradientValue}:{backgroundColor:d.color},...M?{marginTop:G(N)+"px"}:{marginLeft:G(N)+"px"},width:T};return(0,r.useEffect)((()=>{l()({path:"/wpcom/v2/subscribers/count"}).then((e=>{e.hasOwnProperty("count")?(Z((0,c.sprintf)(
+__("Go to slide %d","jetpack"),a+1)),(0,r.createElement)(s.Button,{role:p?"presentation":"tab",key:a,className:o()("wp-story-pagination-bullet",{"wp-story-pagination-ellipsis":t}),"aria-label":d,"aria-disabled":p||l,onClick:p||l?void 0:u,disabled:p},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar"},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar-progress",style:{width:`${c}%`}})))}},44689:function(e,t,n){"use strict";n.d(t,{b:function(){return l},r:function(){return c}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i);const l=e=>{let{className:t,size:n,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button","circle-icon","outlined","bordered",t),style:{width:`${n}px`,height:`${n}px`}},l))},c=e=>{let{className:t,size:n=24,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button",t),style:{width:`${n}px`,height:`${n}px`}},l))}},51543:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("div",{className:"wp-story-loading-spinner"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__outer"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__inner"})))},85584:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(44689),i=n(89620);const _x=a._x;function s(e){let{playing:t,muted:n,onPlayPressed:a,onMutePressed:s,showMute:l}=e;return(0,r.createElement)("div",{className:"wp-story-controls"},(0,r.createElement)(o.r,{isPressed:t,label:t?_x("pause","Button tooltip text","jetpack"):_x("play","Button tooltip text","jetpack",0),onClick:a},t?(0,r.createElement)(i.fp,null):(0,r.createElement)(i.o1,null)),l&&(0,r.createElement)(o.r,{isPressed:n,label:n?_x("unmute","Button tooltip text","jetpack"):_x("mute","Button tooltip text","jetpack",0),onClick:s},n?(0,r.createElement)(i.xb,null):(0,r.createElement)(i.MC,null)))}},14904:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(44689),i=n(89620);const __=a.__;function s(e){let{fullscreen:t,onExitFullscreen:n,siteIconUrl:a,storyTitle:s}=e;return t?(0,r.createElement)("div",{className:"wp-story-meta"},(0,r.createElement)("div",{className:"wp-story-icon"},(0,r.createElement)("img",{alt:__("Site icon","jetpack"),src:a,width:"40",height:"40"})),(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"wp-story-title"},s)),(0,r.createElement)(o.r,{className:"wp-story-exit-fullscreen",label:__("Exit Fullscreen","jetpack"),onClick:n},(0,r.createElement)(i.Tw,null))):null}},89620:function(e,t,n){"use strict";n.d(t,{JM:function(){return d},MC:function(){return u},Tw:function(){return c},Vq:function(){return m},fp:function(){return l},o1:function(){return s},xb:function(){return p}});var r=n(69307),a=n(55609),o=n(36598);const i=e=>{let{children:t,size:n}=e;return(0,o.Z)(t,n,n)},s=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M8 5v14l11-7z"}))},l=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}))},c=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))},u=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}))},p=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}))},d=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}))},m=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}))}},69835:function(e,t,n){"use strict";n.d(t,{Aq:function(){return s.Z},WB:function(){return l.Z},ZX:function(){return a.Z},aV:function(){return i.Z},gT:function(){return r.Z},h4:function(){return o.Z},pU:function(){return c.pU}});var r=n(94754),a=n(85584),o=n(14904),i=n(74629),s=n(19395),l=n(51543),c=n(41126);n(44689)},41126:function(e,t,n){"use strict";n.d(t,{pU:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i);const l=e=>{let{title:t,alt:n,className:r,id:a,mediaRef:i,mime:l,sizes:c,srcset:u,url:p}=e;return(0,o.createElement)("img",{ref:i,"data-id":a,"data-mime":l,title:t,alt:n,src:p,className:s()("wp-story-image",`wp-image-${a}`,r),srcSet:u,sizes:c})},c=e=>{let{title:t,className:n,id:r,mediaRef:a,mime:i,url:l,poster:c}=e;return(0,o.createElement)("video",{className:s()("wp-story-video","intrinsic-ignore",`wp-video-${r}`,n),ref:a,"data-id":r,title:t,type:i,src:l,poster:c,tabIndex:-1,preload:"auto",playsInline:!0})},u=e=>{let{targetAspectRatio:t,cropUpTo:n,type:r,width:i,height:s,...u}=e,p=null;if(i&&s){const e=i/s;if(e>=t){e>t/(1-n)||(p="wp-story-crop-wide")}else{e<t*(1-n)||(p="wp-story-crop-narrow")}}const d="video"===r||(u.mime||"").startsWith("video/");return(0,o.createElement)("figure",null,d?(0,o.createElement)(c,a()({},u,{className:p})):(0,o.createElement)(l,a()({},u,{className:p})))}},74629:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(99891),o=n(65736),i=n(44689),s=n(89620);const __=o.__;function l(e){let{ended:t,hasPrevious:n,onNextSlide:l,onPreviousSlide:c,icon:u,slideCount:p,showSlideCount:d}=e;const m=(0,r.useCallback)((e=>{t||(e.stopPropagation(),c())}),[c,t]),h=(0,r.useCallback)((e=>{t||(e.stopPropagation(),l())}),[l,t]);return(0,r.createElement)("div",{className:"wp-story-overlay"},d&&(0,r.createElement)("div",{className:"wp-story-embed-icon"},u,(0,r.createElement)("span",null,p)),!d&&(0,r.createElement)("div",{className:"wp-story-embed-icon-expand"},(0,r.createElement)(a.Z,{role:"img"})),n&&(0,r.createElement)("div",{className:"wp-story-prev-slide",onClick:m},(0,r.createElement)(i.b,{size:44,label:__("Previous Slide","jetpack"),className:"outlined-w"},(0,o.isRTL)()?(0,r.createElement)(s.Vq,{size:24}):(0,r.createElement)(s.JM,{size:24}))),(0,r.createElement)("div",{className:"wp-story-next-slide",onClick:h},(0,r.createElement)(i.b,{size:44,label:__("Next Slide","jetpack"),className:"outlined-w"},(0,o.isRTL)()?(0,r.createElement)(s.JM,{size:24}):(0,r.createElement)(s.Vq,{size:24}))))}},93340:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(65235),o=n.n(a),i=n(74240),s=n(47591),l=n(7449);const c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function u(e){let{className:t,fullscreenClassName:n,bodyFullscreenClassName:a,fullscreen:u,shadowDOM:p,onKeyDown:d,onExitFullscreen:m,playerQuerySelector:h,children:f}=e;const g=(0,r.useRef)(),b=(0,r.useRef)(),[v,k]=(0,r.useState)(null),y=c&&s.am(),E=u&&!y,w=u&&y;return(0,r.useLayoutEffect)((()=>{if(y)u?g.current&&s.uP(g.current,m):s.bG()&&s.JF();else if(u){if(k([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(a),document.getElementsByTagName("html")[0].classList.add(a),b.current){const e=b.current.querySelector(h);e&&e.focus()}}else if(document.body.classList.remove(a),document.getElementsByTagName("html")[0].classList.remove(a),v){window.scrollTo(...v);const e=g.current.querySelector(h);e&&e.focus()}}),[u]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,p,(0,r.createElement)("div",{ref:g,className:o()(t,{[n]:w}),onKeyDown:d},!E&&f)),(0,r.createElement)(l.Z,{className:o()(t,{[n]:E}),isOpened:E,onRequestClose:m,shadowDOM:p,onKeyDown:E&&d,focusOnMount:!1,modalRef:b},E&&f))}},73022:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(9818),o=n(39630),i=(n(31179),n(75096)),s=n(93340);function l(e){let{id:t,slides:n,metadata:l,disabled:c,...u}=e;const p=(0,r.useMemo)((()=>t||Math.random().toString(36)),[t]),{init:d,setEnded:m,setPlaying:h,setFullscreen:f,showSlide:g}=(0,a.useDispatch)("jetpack/story/player"),{playing:b,currentSlideIndex:v,fullscreen:k,isReady:y,playerSettings:E}=(0,a.useSelect)((e=>{const{getCurrentSlideIndex:t,getSettings:n,isFullscreen:r,isPlayerReady:a,isPlaying:o}=e("jetpack/story/player");return a(p)?{playing:o(p),currentSlideIndex:t(p),isReady:!0,fullscreen:r(p),playerSettings:n(p)}:{isReady:!1}}),[p]);(0,r.useEffect)((()=>{y||d(p,{slideCount:n.length,...u})}),[y,p]);const w=(0,r.useCallback)((e=>{switch(e.keyCode){case o.ENTER:if(k)break;case o.SPACE:h(p,!b);break;case o.LEFT:v>0&&g(p,v-1);break;case o.RIGHT:v<n.length-1?g(p,v+1):m(p)}}),[p,v,k,b]),_=(0,r.useCallback)((()=>{f(p,!1)}),[p]);return y?(0,r.createElement)(s.Z,{shadowDOM:E.shadowDOM,className:"wp-story-app",fullscreenClassName:"wp-story-fullscreen",bodyFullscreenClassName:"wp-story-in-fullscreen",playerQuerySelector:".wp-story-container",fullscreen:k,onExitFullscreen:_,onKeyDown:w},(0,r.createElement)(i.Z,{id:p,slides:n,metadata:l,disabled:c})):null}},47591:function(e,t,n){"use strict";n.d(t,{JF:function(){return i},am:function(){return r},bG:function(){return a},uP:function(){return o}});const r=()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,a=()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,o=(e,t)=>{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=>{document.fullscreenElement||(document.removeEventListener("fullscreenchange",e),t())};document.addEventListener("fullscreenchange",e)}},i=()=>(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},74240:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);const a=window&&window.Element&&window.Element.prototype.hasOwnProperty("attachShadow");function o(e){let{enabled:t,delegatesFocus:n=!1,mode:o="open",globalStyleElements:s=[],adoptedStyleSheets:l=null,mountOnElement:c=null,children:u}=e;const[p,d]=(0,r.useState)(null),m=c||p,[h,f]=(0,r.useState)(null),g="string"==typeof s?[...document.querySelectorAll(s)]:s,b=a&&t&&g.length>0,v=(0,r.useCallback)((e=>{null!==e&&d(e.parentNode)}),[]);if((0,r.useEffect)((()=>{if(!m)return;if(m.shadowRoot)return void f(m.shadowRoot);const e=m.attachShadow({delegatesFocus:n,mode:o});l&&(e.adoptedStyleSheets=l),f(e)}),[m]),b&&!h)return c?null:(0,r.createElement)("span",{ref:v});const k=(0,r.createElement)(r.Fragment,null,b&&(0,r.createElement)(i,{globalStyleElements:g}),u);return b?(0,r.createPortal)(k,h):k}function i(e){let{globalStyleElements:t}=e;return(0,r.createElement)(r.Fragment,null,t.map(((e,t)=>{let{id:n,tagName:a,attributes:o,innerHTML:i}=e;return"LINK"===a?(0,r.createElement)("link",{key:n||t,id:n,rel:o.rel.value,href:o.href.value}):"STYLE"===a?(0,r.createElement)("style",{key:n||t,id:n},i):void 0})))}},64930:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{const t=(0,r.useRef)(),n=(0,r.useRef)(),a=(0,r.useRef)(e),o=(0,r.useCallback)((e=>{e.touches&&1===e.touches.length&&e.preventDefault()}),[]);return(0,r.useEffect)((()=>{a.current=e}),[e]),{onTouchStart:(0,r.useCallback)((e=>{e.target&&(e.target.addEventListener("touchend",o,{passive:!1}),n.current=e.target),t.current=setTimeout((()=>{a.current&&a.current(!0),t.current=null}),200)}),[]),onTouchEnd:(0,r.useCallback)((e=>{t.current?clearTimeout(t.current):(a.current&&a.current(!1),e.stopPropagation()),n.current&&n.current.removeEventListener("touchend",o)}),[])}}},3065:function(e,t,n){"use strict";async function r(e){const t=e.tagName.toLowerCase();if("img"===t){if(e.complete)return;await new Promise((t=>{e.addEventListener("load",t,{once:!0})}))}else if("video"===t||"audio"===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise((t=>{e.addEventListener("canplaythrough",t,{once:!0}),e.addEventListener("load",t,{once:!0}),e.HAVE_NOTHING===e.readyState&&e.networkState!==e.NETWORK_LOADING&&e.load()}))}}n.d(t,{Z:function(){return r}})},89082:function(e,t,n){"use strict";n.d(t,{BM:function(){return s},i1:function(){return l}});var r=n(92819);const a=new Set(["alert","status","log","marquee","timer"]);let o=[],i=!1;function s(e){if(i)return;const t=document.body.children;(0,r.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||a.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),o.push(t))})),i=!0}function l(){i&&((0,r.forEach)(o,(e=>{e.removeAttribute("aria-hidden")})),o=[],i=!1)}},43520:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(39630),o=n(94333);function i(e){let{overlayClassName:t,children:n,className:i,focusOnMount:s,shouldCloseOnEsc:l=!0,onRequestClose:c,onKeyDown:u,modalRef:p}=e;const d=(0,o.useFocusOnMount)(s),m=(0,o.useConstrainedTabbing)(),h=(0,o.useFocusReturn)();return(0,r.createElement)("div",{className:t,onKeyDown:function(e){l&&e.keyCode===a.ESCAPE&&(e.stopPropagation(),c&&c(e)),e.target&&"button"===e.target.tagName.toLowerCase()&&e.keyCode===a.SPACE||u&&u(e)}},(0,r.createElement)("div",{className:i,ref:(0,o.useMergeRefs)([m,h,d,p])},n))}},7449:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(94333),s=n(74240),l=n(43520),c=n(89082);let u,p=0;const d=()=>{};class m extends o.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){p++,1===p&&this.openFirstModal()}componentWillUnmount(){p--,0===p&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){u||(u=document.createElement("div"),document.body.appendChild(u)),this.node=document.createElement("div"),u.appendChild(this.node),this.node.ontouchstart=d,this.node.ontouchend=d}cleanDOM(){u.removeChild(this.node)}openFirstModal(){c.BM(u)}closeLastModal(){c.i1()}render(){const{children:e,isOpened:t,shadowDOM:n,...r}=this.props;return(0,o.createElement)(s.Z,a()({},n,{mountOnElement:this.node}),t&&(0,o.createElement)(l.Z,r,e))}}m.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0},t.Z=(0,i.withInstanceId)(m)},75096:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92819),c=n(11313),u=n(94333),p=n(65736),d=n(9818),m=n(63408),h=n(66512),f=n(68440),g=n(69835),b=n(64930);const __=p.__;function v(e){let{id:t,slides:n,metadata:r,disabled:i}=e;const{setFullscreen:p,setEnded:v,setPlaying:k,setMuted:y,showSlide:E}=(0,d.useDispatch)("jetpack/story/player"),{playing:w,muted:_,currentSlideIndex:C,currentSlideEnded:S,ended:j,fullscreen:x,settings:P}=(0,d.useSelect)((e=>{const{getCurrentSlideIndex:n,getSettings:r,hasCurrentSlideEnded:a,hasEnded:o,isFullscreen:i,isMuted:s,isPlaying:l}=e("jetpack/story/player");return{playing:l(t),muted:s(t),currentSlideIndex:n(t),currentSlideEnded:a(t),ended:o(t),fullscreen:i(t),settings:r(t)}}),[t]),T=(0,o.useRef)(),[N,A]=(0,o.useState)(null),[I,{width:B,height:M}]=(0,u.useResizeObserver)(),[R,L]=(0,o.useState)(P.defaultAspectRatio),Z=(0,l.some)(n,(e=>(0,c.isBlobURL)(e.url))),D=e=>{E(t,e)},F=(0,o.useCallback)((()=>{i||x||P.playInFullscreen&&!w&&k(t,!0)}),[w,i,x]),{onTouchStart:z,onTouchEnd:O}=(0,b.Z)((e=>{k(t,!e)}),[]),U=(0,o.useCallback)((()=>{C>0&&D(C-1)}),[C]),$=(0,o.useCallback)((()=>{C<n.length-1?D(C+1):v(t)}),[C,n]),H=(0,o.useCallback)((()=>{p(t,!1)}),[]);let V,G;return(0,o.useEffect)((()=>{i&&w&&k(t,!1)}),[i,w]),(0,o.useEffect)((()=>{w&&S&&$()}),[w,S]),(0,o.useLayoutEffect)((()=>{if(!T.current)return;let e=Math.round(P.defaultAspectRatio*T.current.offsetHeight);x&&(e=Math.abs(1-e/B)<P.cropUpTo?B:e),A(e)}),[B,M,x]),(0,o.useLayoutEffect)((()=>{N&&T.current&&T.current.offsetHeight>0&&L(N/T.current.offsetHeight)}),[N]),V=x?[__("You are currently playing a story.","jetpack"),w?__("Press space to pause.","jetpack"):__("Press space to play.","jetpack",0),__("Press escape to exit.","jetpack")].join(" "):__("Play story","jetpack"),G=i?"presentation":x?"dialog":"button",(0,o.createElement)("div",{className:"wp-story-display-contents"},I,(0,o.createElement)("div",{role:G,"aria-label":V,tabIndex:x?-1:0,className:s()("wp-story-container",{"wp-story-with-controls":!i&&!x&&!P.playInFullscreen,"wp-story-fullscreen":x,"wp-story-ended":j,"wp-story-disabled":i,"wp-story-clickable":!i&&!x}),style:{maxWidth:`${N}px`},onClick:F,onTouchStart:z,onTouchEnd:O},(0,o.createElement)(g.h4,a()({},r,{fullscreen:x,onExitFullscreen:H})),(0,o.createElement)("div",{ref:T,className:"wp-story-wrapper"},n.map(((e,n)=>(0,o.createElement)(m.Z,{playerId:t,key:n,media:e,index:n,playing:!i&&w,uploading:Z,settings:P,targetAspectRatio:R})))),(0,o.createElement)(g.aV,{icon:h.Z,slideCount:n.length,showSlideCount:P.showSlideCount,ended:j,hasPrevious:C>0,onPreviousSlide:U,onNextSlide:$}),P.showProgressBar&&(0,o.createElement)(f.ZP,{playerId:t,slides:n,disabled:!x,onSlideSeek:D,maxBullets:x?P.maxBulletsFullscreen:P.maxBullets}),(0,o.createElement)(g.ZX,{playing:w,muted:_,onPlayPressed:()=>k(t,!w),onMutePressed:()=>y(t,!_),showMute:(e=>{const t=e<n.length?n[e]:null;return!!t&&("video"===t.type||(t.mime||"").startsWith("video/"))})(C)})),x&&(0,o.createElement)(g.Aq,{currentMedia:P.blurredBackground&&n.length>C&&n[C]}))}},68440:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(69835),i=n(9818);const s=e=>{let{key:t,playerId:n,index:a,disabled:s,isSelected:l,onClick:c}=e;const u=(0,i.useSelect)((e=>e("jetpack/story/player").getCurrentSlideProgressPercentage(n)),[]);return(0,r.createElement)(o.gT,{key:t,index:a,progress:u,disabled:s,isSelected:l,onClick:c})};t.ZP=e=>{let{playerId:t,slides:n,disabled:l,onSlideSeek:c,maxBullets:u}=e;const{currentSlideIndex:p}=(0,i.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t)})),[]),d=Math.min(n.length,u),m=Math.floor(d/2);let h,f=0,g=n.length-1;return n.length<=u||p<m?(h=p,g=d-1):p>=n.length-m?(h=p-n.length+d,f=n.length-d):(h=m,f=p-m,g=p+m),(0,r.createElement)("div",{className:"wp-story-pagination wp-story-pagination-bullets",role:"tablist"},f>0&&(0,r.createElement)(o.gT,{key:"bullet-0",index:f-1,progress:100,isEllipsis:!0}),(0,a.range)(1,d+1).map(((e,n)=>{const a=n+f;let i=null;if(a<p)i=100;else{if(!(a>p))return(0,r.createElement)(s,{playerId:t,key:`bullet-${n}`,index:a,disabled:l,isSelected:h===n,onClick:()=>c(a)});i=0}return(0,r.createElement)(o.gT,{key:`bullet-${n}`,index:a,progress:i,disabled:l,isSelected:h===n,onClick:()=>c(a)})})),g<n.length-1&&(0,r.createElement)(o.gT,{key:`bullet-${d+1}`,index:g+1,progress:0,isEllipsis:!0}))}},63408:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(3065),s=n(65235),l=n.n(s),c=n(9818),u=n(69835);t.Z=e=>{let{playerId:t,media:n,index:r,playing:s,uploading:p,settings:d,targetAspectRatio:m}=e;const{currentSlideIndex:h,buffering:f}=(0,c.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t),buffering:e("jetpack/story/player").isBuffering(t)})),[]),{slideReady:g}=(0,c.useDispatch)("jetpack/story/player"),b=r===h,v=(0,o.useRef)(null),[k,y]=(0,o.useState)(!1),[E,w]=(0,o.useState)(!0);return(0,o.useEffect)((()=>{if(b&&!E){const e=v.current&&v.current.src&&"video"===v.current.tagName.toLowerCase()?v.current:null;g(t,v.current,e?e.duration:d.imageTime)}}),[b,E]),(0,o.useEffect)((()=>{r<=h+(s?1:0)&&y(!0)}),[s,h]),(0,o.useLayoutEffect)((()=>{v.current&&(0,i.Z)(v.current).then((()=>{w(!1)}))}),[k,p]),(0,o.createElement)(o.Fragment,null,b&&(E||p||f)&&(0,o.createElement)("div",{className:l()("wp-story-slide","is-loading",{transparent:s&&f,"semi-transparent":p||!s&&f})},(0,o.createElement)(u.WB,null)),(0,o.createElement)("div",{role:"figure",className:"wp-story-slide",style:{display:b&&!E?"block":"none"},tabIndex:b?0:-1},k&&(0,o.createElement)(u.pU,a()({},n,{targetAspectRatio:m,cropUpTo:d.cropUpTo,index:r,mediaRef:v}))))}},29154:function(e,t,n){"use strict";function r(e,t){return{type:"SET_MUTED",value:t,playerId:e}}function a(e,t){return{type:"SET_PLAYING",value:t,playerId:e}}function o(e,t){return{type:"SHOW_SLIDE",index:t,playerId:e}}function i(e,t,n){return{type:"SLIDE_READY",mediaElement:t,duration:n,playerId:e}}function s(e,t){return{type:"SET_CURRENT_SLIDE_PROGRESS",value:t,playerId:e}}function l(e){return{type:"RESET_CURRENT_SLIDE_PROGRESS",playerId:e}}function c(e){return{type:"SET_CURRENT_SLIDE_ENDED",playerId:e}}function u(e,t){return{type:"SET_FULLSCREEN",playerId:e,fullscreen:t}}function p(e){return{type:"ENDED",playerId:e}}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"INIT",playerId:e,settings:t}}function m(e,t){return{type:"SET_BUFFERING",value:t,playerId:e}}n.r(t),n.d(t,{init:function(){return d},resetCurrentSlideProgress:function(){return l},setBuffering:function(){return m},setCurrentSlideEnded:function(){return c},setCurrentSlideProgress:function(){return s},setEnded:function(){return p},setFullscreen:function(){return u},setMuted:function(){return r},setPlaying:function(){return a},showSlide:function(){return o},slideReady:function(){return i}})},17380:function(e,t,n){"use strict";n.d(t,{H2:function(){return o},Qz:function(){return a},XO:function(){return r}});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},a={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},o={slideCount:0,currentSlide:a,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:"open",globalStyleElements:'#jetpack-block-story-css, link[href*="jetpack/_inc/blocks/story/view.css"]'},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},78733:function(e,t,n){"use strict";var r=n(29154),a=n(20876);const o=e=>e&&e.src&&"video"===e.tagName.toLowerCase();function i(e,t){const{getState:n}=t,r=e.playerId,i=(0,a.isMuted)(n(),r),s=(0,a.isPlaying)(n(),r),l=(0,a.getCurrentMediaElement)(n(),r),c=(0,a.getPreviousSlideMediaElement)(n(),r),u=(0,a.getSettings)(n(),r);o(c)&&(c.currentTime=0,c.onwaiting=null,c.onplaying=null,c.pause()),o(l)&&(i!==l.muted&&(l.muted=i,i||(l.volume=u.volume)),s?l.play():l.pause())}function s(e,t){const{getState:n,dispatch:i}=t,l=e.playerId,c=(0,a.isCurrentSlideReady)(n(),l),u=(0,a.isPlaying)(n(),l),p=(0,a.getCurrentSlideProgress)(n(),l);if(clearTimeout(p.timeout),!u||!c)return void(p.lastUpdate&&i((0,r.setCurrentSlideProgress)(l,{...p,lastUpdate:null})));const d=(0,a.getCurrentMediaElement)(n(),l),m=(0,a.getCurrentMediaDuration)(n(),l),h=p.lastUpdate?Date.now()-p.lastUpdate:100,f=o(d)?d.currentTime:p.currentTime+h/1e3;if(f>=m){i((0,r.setCurrentSlideEnded)(l));const e=(0,a.getSlideCount)(n(),l);(0,a.getCurrentSlideIndex)(n(),l)===e-1&&i((0,r.setEnded)(l))}else i((0,r.setCurrentSlideProgress)(l,{timeout:setTimeout((()=>s(e,t)),100),lastUpdate:Date.now(),duration:m,currentTime:f}))}t.Z={SET_PLAYING:[s,i],SLIDE_READY:[function(e,t){const{getState:n,dispatch:i}=t,s=e.playerId,l=(0,a.getCurrentMediaElement)(n(),s);if(!o(l))return;const c=(0,a.getCurrentSlideProgress)(n(),s);0===l.currentTime&&c.currentTime>0&&(l.currentTime=c.currentTime),l.onwaiting=()=>i((0,r.setBuffering)(s,!0)),l.onplaying=()=>i((0,r.setBuffering)(s,!1))},s,i],SET_MUTED:i,SHOW_SLIDE:i}},31179:function(e,t,n){"use strict";var r=n(9818),a=n(29154),o=n(20876),i=n(74787),s=n(13498);const l=(0,r.registerStore)("jetpack/story/player",{actions:a,reducer:s.Z,selectors:o});(0,i.Z)(l)},74787:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(24274),a=n.n(r),o=n(92819),i=n(78733);function s(e){const t=[a()(i.Z)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},13498:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(17380);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.H2,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_SLIDE":{const n=e.currentSlide===t.index+1;return{...e,currentSlide:{...a.Qz,index:t.index},previousSlide:e.currentSlide,playing:n?e.settings.playOnNextSlide:e.playing}}case"SLIDE_READY":return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case"SET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case"SET_CURRENT_SLIDE_ENDED":return{...e,currentSlide:{...e.currentSlide,ended:!0}};case"RESET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:{...a.XO}}};case"SET_MUTED":return{...e,muted:t.value};case"SET_PLAYING":{const n=t.value&&e.ended;return{...e,playing:t.value,buffering:!!t.value&&e.buffering,fullscreen:!e.playing&&t.value?e.settings.playInFullscreen:e.fullscreen,ended:!n&&e.ended,currentSlide:n?{...a.Qz,index:0}:e.currentSlide,previousSlide:n?null:e.previousSlide}}case"SET_BUFFERING":return{...e,buffering:t.value};case"SET_FULLSCREEN":return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&&!t.fullscreen&&e.settings.playInFullscreen)&&e.playing};case"INIT":{const n=(0,r.merge)({},e.settings,t.settings);return{...e,settings:n,playing:n.playOnLoad,fullscreen:n.loadInFullscreen}}case"ENDED":return{...e,currentSlide:{...a.Qz,index:e.settings.slideCount-1,progress:{...a.XO,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.playerId?{...e,[t.playerId]:o(e[t.playerId],t)}:e}},20876:function(e,t,n){"use strict";function r(e,t){return!!e[t]}function a(e,t){return e[t].currentSlide.index}function o(e,t){return e[t].currentSlide.progress}function i(e,t){const n=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,a=Math.round(100*n/r);return a>=100?100:a}function s(e,t){return e[t].playing}function l(e,t){return e[t].muted}function c(e,t){return e[t].buffering}function u(e,t){return e[t].currentSlide.mediaElement}function p(e,t){return e[t].currentSlide.duration}function d(e,t){return e[t].currentSlide.ended}function m(e,t){return e[t].currentSlide.ready}function h(e,t){var n;return null===(n=e[t].previousSlide)||void 0===n?void 0:n.mediaElement}function f(e,t){return e[t].fullscreen}function g(e,t){return e[t].ended}function b(e,t){return e[t].settings}function v(e,t){return e[t].settings.slideCount}n.r(t),n.d(t,{getCurrentMediaDuration:function(){return p},getCurrentMediaElement:function(){return u},getCurrentSlideIndex:function(){return a},getCurrentSlideProgress:function(){return o},getCurrentSlideProgressPercentage:function(){return i},getPreviousSlideMediaElement:function(){return h},getSettings:function(){return b},getSlideCount:function(){return v},hasCurrentSlideEnded:function(){return d},hasEnded:function(){return g},isBuffering:function(){return c},isCurrentSlideReady:function(){return m},isFullscreen:function(){return f},isMuted:function(){return l},isPlayerReady:function(){return r},isPlaying:function(){return s}})},29143:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:o()("wp-story",t)})}},95494:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(86989),a=n.n(r);function o(e,t){return a()({path:"/wpcom/v2/subscribers/count"}).then((n=>{n.hasOwnProperty("count")?e(n.count):t()}))}},62924:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Type your email…","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"},successMessage:{type:"string",default:__("Success! An email was just sent to confirm your subscription. Please find the email now and click 'Confirm Follow' to start subscribing.","jetpack")}}},58841:function(e,t,n){"use strict";n.d(t,{FP:function(){return h},G0:function(){return r},Gp:function(){return a},HE:function(){return p},K3:function(){return s},S9:function(){return o},Tr:function(){return d},VF:function(){return i},XJ:function(){return l},bK:function(){return u},pC:function(){return m},tm:function(){return f},xV:function(){return c}});const r=0,a=50,o=0,i=0,s=15,l=1,c=5,u=50,p=15,d=0,m=50,h=10,f="16px"},57532:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(13419),l=n(34904),c=n(91947),u=n(58841);const __=a.__,_n=a._n;function p(e){let{buttonBackgroundColor:t,borderColor:n,buttonGradient:p,borderRadius:d,borderWeight:m,buttonOnNewLine:h,emailFieldBackgroundColor:f,fallbackButtonBackgroundColor:g,fallbackTextColor:b,fontSize:v,isGradientAvailable:k,padding:y,setAttributes:E,setBorderColor:w,setButtonBackgroundColor:_,setTextColor:C,showSubscribersTotal:S,spacing:j,subscriberCount:x,textColor:P,buttonWidth:T,successMessage:N}=e;return(0,r.createElement)(r.Fragment,null,x>1&&(0,r.createElement)(l.Z,null,(0,r.createInterpolateElement)((0,a.sprintf)(
+/* translators: %s is the number of subscribers. The \xA0 non-breaking space is to make sure the last two words are on the same line. */
+_n("<span>%s reader</span> is subscribed.","<span>%s readers</span> are subscribed.",x,"jetpack"),x),{span:(0,r.createElement)("span",{style:{textDecoration:"underline"}})})),k&&(0,r.createElement)(i.__experimentalPanelColorGradientSettings,{title:__("Color","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",settings:[{colorValue:t.color,onColorChange:_,gradientValue:p.gradientValue,onGradientChange:p.setGradient,label:__("Button Background","jetpack")},{colorValue:P.color,onColorChange:C,label:__("Button Text","jetpack")},{colorValue:n.color,onColorChange:w,label:__("Border","jetpack")}],initialOpen:!0},(0,r.createElement)(i.ContrastChecker,{fontSize:v.size,textColor:P.color,backgroundColor:f.color,fallbackButtonBackgroundColor:g,fallbackTextColor:b})),!k&&(0,r.createElement)(i.PanelColorSettings,{title:__("Background Colors","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",colorSettings:[{value:t.color,onChange:_,label:__("Button Background Color","jetpack")},{value:P.color,onChange:C,label:__("Button Text Color","jetpack")},{value:n.color,onColorChange:w,label:__("Border Color","jetpack")}],initialOpen:!1},(0,r.createElement)(i.ContrastChecker,{fontSize:v.size,textColor:P.color,backgroundColor:f.color,fallbackButtonBackgroundColor:g,fallbackTextColor:b})),(0,r.createElement)(o.PanelBody,{title:__("Typography","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__textpanel"},(0,r.createElement)(i.FontSizePicker,{withSlider:!0,value:v.size,onChange:e=>{const t=e||u.tm;E({fontSize:t,customFontSize:t})}})),(0,r.createElement)(o.PanelBody,{title:__("Border","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__borderpanel"},(0,r.createElement)(o.RangeControl,{value:d,label:__("Border Radius","jetpack"),min:u.G0,max:u.Gp,initialPosition:u.S9,allowReset:!0,onChange:e=>E({borderRadius:e})}),(0,r.createElement)(o.RangeControl,{value:m,label:__("Border Weight","jetpack"),min:u.VF,max:u.K3,initialPosition:u.XJ,allowReset:!0,onChange:e=>E({borderWeight:e})})),(0,r.createElement)(o.PanelBody,{title:__("Spacing","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__spacingpanel"},(0,r.createElement)(o.RangeControl,{value:y,label:__("Space Inside","jetpack"),min:u.xV,max:u.bK,initialPosition:u.HE,allowReset:!0,onChange:e=>E({padding:e})}),(0,r.createElement)(o.RangeControl,{value:j,label:__("Space Between","jetpack"),min:u.Tr,max:u.pC,initialPosition:u.FP,allowReset:!0,onChange:e=>E({spacing:e})}),(0,r.createElement)(c.h,{width:T,onChange:e=>E({buttonWidth:e})})),(0,r.createElement)(o.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__displaypanel"},(0,r.createElement)(o.ToggleControl,{label:__("Show subscriber count","jetpack"),checked:S,onChange:()=>{E({showSubscribersTotal:!S})},help:()=>{if(!x||x<1)return __("This will remain hidden until there is at least one subscriber.","jetpack")}}),(0,r.createElement)(o.ToggleControl,{label:__("Place button on new line","jetpack"),checked:h,onChange:()=>{E({buttonOnNewLine:!h})}}),!(0,s.Wp)()&&(0,r.createElement)(o.TextareaControl,{value:N,label:__("Success message","jetpack"),help:__("Edit the message displayed when a user subscribes.","jetpack"),onChange:e=>E({successMessage:e})})))}},2916:function(e,t,n){"use strict";var r=n(75623),a=n(45097),o=n(20121),i=n(76609),s=n(11689),l=n(79024);t.Z=[l.Z,s.Z,i.Z,o.Z,a.Z,r.Z]},75623:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(92819);const __=a.__;t.Z={attributes:{subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:e=>({submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal}),isEligible:e=>!(!e.hasOwnProperty("subscribeButton")||!(0,o.isEmpty)(e.subscribeButton)),save:function(e){let{attributes:t}=e;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_subscribers_total="${t.showSubscribersTotal}" show_only_email_and_button="true"]`)}}},45097:function(e,t,n){"use strict";var r=n(65736),a=n(65534);const __=r.__;t.Z={attributes:{subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},migrate:e=>({subscribePlaceholder:e.subscribePlaceholder,showSubscribersTotal:e.showSubscribersTotal,buttonOnNewLine:!0,submitButtonText:e.submitButtonText,buttonBackgroundColor:e.backgroundButtonColor?e.backgroundButtonColor:"primary",customButtonBackgroundColor:e.customBackgroundButtonColor,textColor:e.textButtonColor?e.textButtonColor:"background",customTextColor:e.customTextButtonColor}),save:a.Z}},65534:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{showSubscribersTotal:n,submitButtonClasses:a,customBackgroundButtonColor:o,customTextButtonColor:i,submitButtonText:s}=t;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="${o}" custom_text_button_color="${i}" submit_button_text="${s}" submit_button_classes="${a}" show_subscribers_total="${n}" ]`)}},20084:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Enter your email address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Sign Up","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"number"},customFontSize:{type:"number"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},60293:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(20084);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const{subscribePlaceholder:o,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:p,customEmailFieldBackgroundColor:d,emailFieldGradient:m,customEmailFieldGradient:h,buttonBackgroundColor:f,customButtonBackgroundColor:g,buttonGradient:b,customButtonGradient:v,textColor:k,customTextColor:y,fontSize:E,customFontSize:w,borderRadius:_,borderWeight:C,borderColor:S,customBorderColor:j,padding:x,spacing:P}=t,T=!!a.__experimentalGetGradientClass,N=(0,a.getColorClassName)("color",k),A=(0,a.getFontSizeClass)(E),I=(0,a.getColorClassName)("border-color",S),B=(0,a.getColorClassName)("background-color",f),M=T?(0,a.__experimentalGetGradientClass)(b):void 0,R=(0,a.getColorClassName)("background-color",p),L=T?(0,a.__experimentalGetGradientClass)(m):void 0,Z=i()(0===_?"no-border-radius":void 0,A,I),D=i()(Z,k?"has-text-color":void 0,N,f||b?"has-background":void 0,B,M),F=i()(Z,R,L),z=!R&&h?h:d,O=!B&&v?v:g,U=()=>i()(e,"wp-block-jetpack-subscriptions__supports-newline",c?"wp-block-jetpack-subscriptions__use-newline":void 0,l?"wp-block-jetpack-subscriptions__show-subs":void 0);let $=o,H=u;return"check-text-defaults"===n&&($=o===s.Z.subscribePlaceholder.default?"Enter your email address":o,H=u===s.Z.submitButtonText.default?"Sign Up":u),(0,r.createElement)("div",{className:U()},(0,r.createElement)(r.RawHTML,null,`\n\t\t\t[jetpack_subscription_form\n\t\t\t\tsubscribe_placeholder="${$}"\n\t\t\t\tshow_subscribers_total="${l}"\n\t\t\t\tbutton_on_newline="${c}"\n\t\t\t\tsubmit_button_text="${H}"\n\t\t\t\tcustom_background_emailfield_color="${z}"\n\t\t\t\tcustom_background_button_color="${O}"\n\t\t\t\tcustom_text_button_color="${y}"\n\t\t\t\tcustom_font_size="${w||16}"\n\t\t\t\tcustom_border_radius="${_||0}"\n\t\t\t\tcustom_border_weight="${C||1}"\n\t\t\t\tcustom_border_color="${j}"\n\t\t\t\tcustom_padding="${x||15}"\n\t\t\t\tcustom_spacing="${P||10}"\n\t\t\t\tsubmit_button_classes="${D}"\n\t\t\t\temail_field_classes="${F}"\n\t\t\t\tshow_only_email_and_button="true"\n\t\t\t]`))}},20121:function(e,t,n){"use strict";var r=n(20084),a=n(60293);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n)}}},76609:function(e,t,n){"use strict";var r=n(20084),a=n(60293);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n,"check-text-defaults")}}},11689:function(e,t,n){"use strict";var r=n(20084),a=n(92167);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:a.ZP}},92167:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(92819),l=n(20084);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:S,borderColor:j,customBorderColor:x,padding:P,spacing:T}=n,N=!!a.__experimentalGetGradientClass,A=(0,a.getColorClassName)("color",y),I=(0,a.getFontSizeClass)(w),B=(0,a.getColorClassName)("border-color",j),M=(0,a.getColorClassName)("background-color",g),R=N?(0,a.__experimentalGetGradientClass)(v):void 0,L=(0,a.getColorClassName)("background-color",d),Z=N?(0,a.__experimentalGetGradientClass)(h):void 0,D=i()(0===C?"no-border-radius":void 0,I,B),F=i()(D,y?"has-text-color":void 0,A,g||v?"has-background":void 0,M,R),z=i()(D,L,Z),O=!L&&f?f:m,U=!M&&k?k:b,$={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:O,custom_background_button_color:U,custom_text_button_color:E,custom_font_size:_||16,custom_border_radius:C||0,custom_border_weight:S||1,custom_border_color:x,custom_padding:P||15,custom_spacing:T||10,submit_button_classes:F,email_field_classes:z,show_only_email_and_button:!0},H=(0,s.reduce)($,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${H}]`))}},29053:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},79024:function(e,t,n){"use strict";var r=n(29053),a=n(62788);t.Z={attributes:r.Z,save:a.Z}},62788:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(92819),l=n(29053);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:S,borderColor:j,customBorderColor:x,padding:P,spacing:T,buttonWidth:N}=n,A=!!a.__experimentalGetGradientClass,I=(0,a.getColorClassName)("color",y),B=(0,a.getFontSizeClass)(w),M=(0,a.getColorClassName)("border-color",j),R=(0,a.getColorClassName)("background-color",g),L=A?(0,a.__experimentalGetGradientClass)(v):void 0,Z=(0,a.getColorClassName)("background-color",d),D=A?(0,a.__experimentalGetGradientClass)(h):void 0,F=i()(0===C?"no-border-radius":void 0,B,M),z=i()(F,y?"has-text-color":void 0,I,g||v?"has-background":void 0,R,L),O=i()(F,Z,D),U=!Z&&f?f:m,$=!R&&k?k:b,H=N||void 0,V={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:U,custom_background_button_color:$,custom_text_button_color:E,custom_font_size:_||"16px",custom_border_radius:C||0,custom_border_weight:S||1,custom_border_color:x,custom_button_width:H,custom_padding:P||15,custom_spacing:T||10,submit_button_classes:z,email_field_classes:O,show_only_email_and_button:!0},G=(0,s.reduce)(V,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${G}]`))}},99343:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(65736),l=n(55609),c=n(52175),u=n(94333),p=n(95494),d=n(62924),m=n(4554),h=n(58841),f=n(57532);const __=s.__,_n=s._n,{getComputedStyle:g}=window,b=!!c.__experimentalUseGradient,v=(0,l.withFallbackStyles)(((e,t)=>{const{buttonBackgroundColor:n,textColor:r}=t,a=n&&n.color,o=r&&r.color,i=e.querySelector(".wp-block-jetpack-subscriptions__button");return{fallbackButtonBackgroundColor:a||!e?void 0:i&&g(i).backgroundColor,fallbackTextColor:o||!e?void 0:i&&g(i).color}}));t.Z=(0,u.compose)([(0,c.withColors)({emailFieldBackgroundColor:"backgroundColor"},{buttonBackgroundColor:"backgroundColor"},{textColor:"color"},"borderColor"),(0,c.withFontSizes)("fontSize"),v])((function(e){const{className:t,attributes:n,setAttributes:a,emailFieldBackgroundColor:g,buttonBackgroundColor:v,setButtonBackgroundColor:k,fallbackButtonBackgroundColor:y,textColor:E,fallbackTextColor:w,setTextColor:_,borderColor:C,setBorderColor:S,fontSize:j}=e,x=(0,m.S)(d.Z,n);(0,i.isEqual)(x,n)||a(x);const{borderRadius:P,borderWeight:T,buttonWidth:N,padding:A,spacing:I,submitButtonText:B,subscribePlaceholder:M,showSubscribersTotal:R,buttonOnNewLine:L,successMessage:Z}=x,[D,F]=(0,r.useState)(""),[z,O]=(0,r.useState)(""),U=b?(0,c.__experimentalUseGradient)({gradientAttribute:"emailFieldGradient",customGradientAttribute:"customEmailFieldGradient"}):{},$=b?(0,c.__experimentalUseGradient)({gradientAttribute:"buttonGradient",customGradientAttribute:"customButtonGradient"}):{},H={"no-border-radius":0===P,[j.class]:j.class,"has-text-color":E.color,[E.class]:E.class},V={...H,"has-background":g.color||U.gradientValue,[g.class]:!U.gradientValue&&g.class,[U.gradientClass]:U.gradientClass},G={...H,"has-background":v.color||$.gradientValue,[v.class]:!$.gradientValue&&v.class,[$.gradientClass]:$.gradientClass},q=e=>e||h.FP,W={color:E.color,borderColor:C.color,borderRadius:P?P+"px":h.S9+"px",borderWidth:T?T+"px":h.XJ+"px",fontSize:j.size?j.size:h.tm,padding:(e=>{const t=e||h.HE;return t+"px "+Math.round(1.5*t)+"px "+t+"px "+Math.round(1.5*t)+"px"})(A)},K={...W,...!g.color&&U.gradientValue?{background:U.gradientValue}:{backgroundColor:g.color}},X={...W,...!v.color&&$.gradientValue?{background:$.gradientValue}:{backgroundColor:v.color},...L?{marginTop:q(I)+"px"}:{marginLeft:q(I)+"px"},width:N};(0,r.useEffect)((()=>{(0,p.z)((e=>{F((0,s.sprintf)(
/* translators: Placeholder is a number of subscribers. */
-_n("Join %s other subscriber","Join %s other subscribers",e.count,"jetpack"),e.count)),D(e.count)):(Z(__("Subscriber count unavailable","jetpack")),D(0))}))}),[]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p.InspectorControls,null,(0,r.createElement)(g.Z,{buttonBackgroundColor:d,borderColor:_,buttonGradient:z,borderRadius:S,borderWeight:x,buttonOnNewLine:M,emailFieldBackgroundColor:s,fallbackButtonBackgroundColor:k,fallbackTextColor:E,fontSize:C,isGradientAvailable:v,padding:P,setAttributes:a,setButtonBackgroundColor:b,setTextColor:w,showSubscribersTotal:B,spacing:N,subscriberCount:F,textColor:y,buttonWidth:T,successMessage:R})),(0,r.createElement)("div",{className:o()(t,"wp-block-jetpack-subscriptions__supports-newline",M?"wp-block-jetpack-subscriptions__use-newline":void 0,B?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)("div",{className:"wp-block-jetpack-subscriptions__form",role:"form"},(0,r.createElement)(u.TextControl,{placeholder:I,disabled:!0,className:o()($,"wp-block-jetpack-subscriptions__textfield"),style:q}),(0,r.createElement)(p.RichText,{className:o()(V,"wp-block-jetpack-subscriptions__button","wp-block-button__link"),onChange:e=>a({submitButtonText:e}),style:W,value:A,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"]})),B&&(0,r.createElement)("p",{className:"wp-block-jetpack-subscriptions__subscount"},L)))}))},57211:function(e,t,n){"use strict";n.d(t,{u2:function(){return d},Xd:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(79885),l=n(58363),c=n(73228),u=n(5321),p=n(57535);const __=a.__,_x=a._x,d="subscriptions",m=(0,r.createElement)(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Rect,{x:"4.75",y:"6.75",width:"14.5",height:"10.5",rx:"1.25",stroke:(0,p.m)(),strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(o.Path,{d:"M19 7L13.3609 12.2363C12.5935 12.9489 11.4065 12.9489 10.6391 12.2363L5 7",stroke:(0,p.m)(),strokeWidth:"1.5",strokeLinejoin:"bevel",fill:"none"})),h={title:__("Subscription Form","jetpack"),description:(0,r.createElement)("p",null,__("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:{src:m,foreground:(0,p.m)()},category:"grow",keywords:[_x("subscribe","block search term","jetpack"),_x("join","block search term","jetpack"),_x("follow","block search term","jetpack")],attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"blog_subscription"===t},transform:e=>{let{instance:t}=e;return(0,i.createBlock)("jetpack/subscriptions",{showSubscribersTotal:t.raw.show_subscribers_total,submitButtonText:t.raw.subscribe_button,subscribePlaceholder:t.raw.subscribe_placeholder,successMessage:t.raw.success_message})}}]},example:{attributes:{}},deprecated:l.Z}},5321:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(79885),c=n(87138);function u(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:u,buttonOnNewLine:p,submitButtonText:d,emailFieldBackgroundColor:m,customEmailFieldBackgroundColor:h,emailFieldGradient:f,customEmailFieldGradient:g,buttonBackgroundColor:b,customButtonBackgroundColor:v,buttonGradient:k,customButtonGradient:y,textColor:E,customTextColor:w,fontSize:_,customFontSize:C,borderRadius:j,borderWeight:S,borderColor:x,customBorderColor:T,padding:P,spacing:N,buttonWidth:A,successMessage:I}=n,B=!!a.__experimentalGetGradientClass,M=(0,a.getColorClassName)("color",E),R=(0,a.getFontSizeClass)(_),L=(0,a.getColorClassName)("border-color",x),Z=(0,a.getColorClassName)("background-color",b),F=B?(0,a.__experimentalGetGradientClass)(k):void 0,D=(0,a.getColorClassName)("background-color",m),O=B?(0,a.__experimentalGetGradientClass)(f):void 0,z=i()(0===j?"no-border-radius":void 0,R,L),U=i()(z,E?"has-text-color":void 0,M,b||k?"has-background":void 0,Z,F),$=i()(z,D,O),V=!D&&g?g:h,G=!Z&&y?y:v,H=A||void 0,q={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:u,button_on_newline:p,submit_button_text:d!==l.Z.submitButtonText.default?d:void 0,custom_background_emailfield_color:V,custom_background_button_color:G,custom_text_button_color:w,custom_font_size:C||c.tm,custom_border_radius:j||c.S9,custom_border_weight:S||c.XJ,custom_border_color:T,custom_button_width:H,custom_padding:P||c.HE,custom_spacing:N||c.FP,submit_button_classes:U,email_field_classes:$,show_only_email_and_button:!0,success_message:I},W=(0,s.reduce)(q,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",p?"wp-block-jetpack-subscriptions__use-newline":void 0,u?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${W}]`))}},28526:function(e,t,n){"use strict";n.d(t,{RA:function(){return r},q3:function(){return a},hI:function(){return o},Z5:function(){return i},GP:function(){return s},xJ:function(){return l},sw:function(){return c},EU:function(){return u},yw:function(){return p},P0:function(){return d}});const r=["image"],a=4,o=20,i=20,s=2e3,l="circle",c="columns",u="rectangular",p="square",d=[{isDefault:!0,name:u},{name:l},{name:p},{name:c}]},70132:function(e,t,n){"use strict";var r=n(25689),a=n(47330),o=n(35660);t.Z=[o,a,r]},66105:function(e,t,n){"use strict";n.d(t,{q3:function(){return r},hI:function(){return a},GP:function(){return o},EU:function(){return i},P0:function(){return s}});const r=4,a=20,o=2e3,i="rectangular",s=[{isDefault:!0,name:i},{name:"circle"},{name:"square"},{name:"columns"}]},2589:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(11313);function o(e){const{"aria-label":t,alt:n,height:o,id:i,link:s,linkTo:l,origUrl:c,url:u,width:p}=e;if((0,a.isBlobURL)(c))return null;let d;switch(l){case"media":d=u;break;case"attachment":d=s}const m=(0,r.createElement)("img",{alt:n,"aria-label":t,"data-height":o,"data-id":i,"data-link":s,"data-url":c,"data-width":p,src:u});return(0,r.createElement)("figure",{className:"tiled-gallery__item"},d?(0,r.createElement)("a",{href:d},m):m)}},25689:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return r.Z},attributes:function(){return a},support:function(){return o}});var r=n(19092);const a={align:{default:"center",type:"string"},className:{default:`is-style-${n(66105).EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},o={align:["center","wide","full"],customClassName:!1,html:!1}},43064:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},7696:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},17357:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(40278),o=n(65736),i=n(82827),s=n(11313),l=n(2589),c=n(1077),u=n(47536),p=n(66105);const __=o.__;class d extends r.Component{photonize(e){let{height:t,width:n,url:r}=e;if(!r)return;if((0,s.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;const o=r.split("?",1)[0],l=function(e){const{host:t}=(0,i.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}(r)?h:a.Z,{layoutStyle:c}=this.props;if(m(c)&&n&&t){const e=Math.min(p.GP,n,t);return l(o,{resize:`${e},${e}`})}return l(o)}renderImage(e,t){const{images:n,linkTo:a,selectedImage:i}=this.props,s=(0,o.sprintf)(
+_n("Join %s other subscriber","Join %s other subscribers",e,"jetpack"),e)),O(e)}),(()=>{F(__("Subscriber count unavailable","jetpack")),O(0)}))}),[]);const J=(0,u.usePrevious)(v);return(0,r.useEffect)((()=>{(null==J?void 0:J.color)===(null==C?void 0:C.color)&&(null==C?void 0:C.color)!==(null==v?void 0:v.color)&&S(v.color)}),[v,J,C,S]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.InspectorControls,null,(0,r.createElement)(f.Z,{buttonBackgroundColor:v,borderColor:C,buttonGradient:$,borderRadius:P,borderWeight:T,buttonOnNewLine:L,emailFieldBackgroundColor:g,fallbackButtonBackgroundColor:y,fallbackTextColor:w,fontSize:j,isGradientAvailable:b,padding:A,setAttributes:a,setBorderColor:S,setButtonBackgroundColor:k,setTextColor:_,showSubscribersTotal:R,spacing:I,subscriberCount:z,textColor:E,buttonWidth:N,successMessage:Z})),(0,r.createElement)("div",{className:o()(t,"wp-block-jetpack-subscriptions__supports-newline",L?"wp-block-jetpack-subscriptions__use-newline":void 0,R?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)("div",{className:"wp-block-jetpack-subscriptions__form",role:"form"},(0,r.createElement)(l.TextControl,{placeholder:M,disabled:!0,className:o()(V,"wp-block-jetpack-subscriptions__textfield"),style:K}),(0,r.createElement)(c.RichText,{className:o()(G,"wp-block-jetpack-subscriptions__button","wp-block-button__link"),onChange:e=>a({submitButtonText:e}),style:X,value:B,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"]})),R&&(0,r.createElement)("p",{className:"wp-block-jetpack-subscriptions__subscount"},D)))}))},30217:function(e,t,n){"use strict";n.d(t,{Xd:function(){return f},eC:function(){return g},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(62924),l=n(2916),c=n(99343),u=n(27296),p=n(79914),d=n(70355);const __=a.__,_x=a._x,m="subscriptions",h=(0,r.createElement)(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{d:"M20.9997 6.96749L21 7V17C21 18.1046 20.1046 19 19 19H5C3.89543 19 3 18.1046 3 17V7L3.00026 6.96747L3 6.96092C3 5.87793 3.87793 5 4.96092 5H19.0391C20.1221 5 21 5.87793 21 6.96092L20.9997 6.96749ZM19.3044 17.3967L13.9142 12.9048L13.2804 13.433C12.5387 14.0511 11.4613 14.0511 10.7196 13.433L10.0858 12.9048L4.69555 17.3967C4.77987 17.4615 4.88543 17.5 5 17.5H19C19.1146 17.5 19.2201 17.4615 19.3044 17.3967ZM19.5 15.6071V8.25L15.0858 11.9285L19.5 15.6071ZM4.5 8.25V15.6071L8.91424 11.9285L4.5 8.25ZM4.79543 6.54363C4.85788 6.51559 4.92712 6.5 5 6.5H19C19.0729 6.5 19.1421 6.51559 19.2046 6.54363L12.3201 12.2807C12.1347 12.4352 11.8653 12.4352 11.6799 12.2807L4.79543 6.54363Z",fill:(0,d.m)(),fillRule:"evenodd",clipRule:"evenodd"})),f={title:__("Subscribe","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Allow readers to receive a newsletter with future posts in their inbox.","jetpack")),(0,r.createElement)("p",null,(0,r.createInterpolateElement)(__("Subscribers can get notifications through email or <ExternalLink>the Reader app</ExternalLink>.","jetpack"),{ExternalLink:(0,r.createElement)(o.ExternalLink,{href:"https://wordpress.com/read"})}))),icon:{src:h,foreground:(0,d.m)()},category:"grow",keywords:[_x("newsletter","block search term","jetpack"),_x("email","block search term","jetpack"),_x("follow","block search term","jetpack")],attributes:s.Z,edit:c.Z,save:u.Z,styles:[{name:"compact",label:__("Compact","jetpack")},{name:"split",label:__("Split","jetpack"),isDefault:!0}],transforms:{from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"blog_subscription"===t},transform:e=>{let{instance:t}=e;return(0,i.createBlock)("jetpack/subscriptions",{showSubscribersTotal:t.raw.show_subscribers_total,submitButtonText:t.raw.subscribe_button,subscribePlaceholder:t.raw.subscribe_placeholder,successMessage:t.raw.success_message})}}]},example:{attributes:{}},supports:{spacing:{margin:!0,padding:!0},align:["wide","full"]},deprecated:l.Z},g={render:p.Z}},79914:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(72067),o=n(9818),i=n(12238),s=n(65736),l=n(13419),c=n(52947),u=n(95494),p=n(34904);const __=s.__,_n=s._n;function d(){const[e,t]=(0,r.useState)(null);(0,r.useEffect)((()=>{(0,u.z)((e=>t(e)))}),[]);return"post"!==(0,o.useSelect)((e=>e(i.store).getCurrentPostType()),[])||(0,l.M6)()||(0,l.aQ)()||!Number.isFinite(e)||e<=0?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PluginPrePublishPanel,{className:"jetpack-subscribe-pre-publish-panel",initialOpen:!0,title:__("Subscribers","jetpack")},(0,r.createElement)(p.Z,null,(0,r.createInterpolateElement)((0,s.sprintf)(
+/* translators: %s is the number of subscribers */
+_n("This post will be sent to <span>%s reader</span>","This post will be sent to <span>%s readers</span>",e,"jetpack"),(0,c.Z)(e)),{span:(0,r.createElement)("span",{className:"jetpack-subscribe-reader-count"})}))),(0,r.createElement)(a.PluginPostPublishPanel,{className:"jetpack-subscribe-post-publish-panel",initialOpen:!0},(0,r.createElement)(p.Z,null,(0,r.createInterpolateElement)((0,s.sprintf)(
+/* translators: %s is the number of subscribers */
+_n("This post has been sent to <span>%s reader</span>","This post has been sent to <span>%s readers</span>",e,"jetpack"),(0,c.Z)(e)),{span:(0,r.createElement)("span",{className:"jetpack-subscribe-reader-count"})}))))}},27296:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(92819),l=n(62924),c=n(58841);function u(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:u,buttonOnNewLine:p,submitButtonText:d,emailFieldBackgroundColor:m,customEmailFieldBackgroundColor:h,emailFieldGradient:f,customEmailFieldGradient:g,buttonBackgroundColor:b,customButtonBackgroundColor:v,buttonGradient:k,customButtonGradient:y,textColor:E,customTextColor:w,fontSize:_,customFontSize:C,borderRadius:S,borderWeight:j,borderColor:x,customBorderColor:P,padding:T,spacing:N,buttonWidth:A,successMessage:I}=n,B=!!a.__experimentalGetGradientClass,M=(0,a.getColorClassName)("color",E),R=(0,a.getFontSizeClass)(_),L=(0,a.getColorClassName)("border-color",x),Z=(0,a.getColorClassName)("background-color",b),D=B?(0,a.__experimentalGetGradientClass)(k):void 0,F=(0,a.getColorClassName)("background-color",m),z=B?(0,a.__experimentalGetGradientClass)(f):void 0,O=i()(0===S?"no-border-radius":void 0,R,L),U=i()(O,E?"has-text-color":void 0,M,b||k?"has-background":void 0,Z,D),$=i()(O,F,z),H=!F&&g?g:h,V=!Z&&y?y:v,G=A||void 0,q={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:u,button_on_newline:p,submit_button_text:d!==l.Z.submitButtonText.default?d:void 0,custom_background_emailfield_color:H,custom_background_button_color:V,custom_text_button_color:w,custom_font_size:C||c.tm,custom_border_radius:S||c.S9,custom_border_weight:j||c.XJ,custom_border_color:P,custom_button_width:G,custom_padding:T||c.HE,custom_spacing:N||c.FP,submit_button_classes:U,email_field_classes:$,show_only_email_and_button:!0,success_message:I},W=(0,s.reduce)(q,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",p?"wp-block-jetpack-subscriptions__use-newline":void 0,u?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${W}]`))}},3740:function(e,t,n){"use strict";n.d(t,{EU:function(){return u},GP:function(){return s},P0:function(){return d},RA:function(){return r},Z5:function(){return i},hI:function(){return o},q3:function(){return a},sw:function(){return c},xJ:function(){return l},yw:function(){return p}});const r=["image"],a=4,o=20,i=20,s=2e3,l="circle",c="columns",u="rectangular",p="square",d=[{isDefault:!0,name:u},{name:l},{name:p},{name:c}]},73463:function(e,t,n){"use strict";var r=n(76476),a=n(43125),o=n(67525);t.Z=[o,a,r]},1377:function(e,t,n){"use strict";n.d(t,{EU:function(){return i},GP:function(){return o},P0:function(){return s},hI:function(){return a},q3:function(){return r}});const r=4,a=20,o=2e3,i="rectangular",s=[{isDefault:!0,name:i},{name:"circle"},{name:"square"},{name:"columns"}]},56005:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(11313);function o(e){const{"aria-label":t,alt:n,height:o,id:i,link:s,linkTo:l,origUrl:c,url:u,width:p}=e;if((0,a.isBlobURL)(c))return null;let d;switch(l){case"media":d=u;break;case"attachment":d=s}const m=(0,r.createElement)("img",{alt:n,"aria-label":t,"data-height":o,"data-id":i,"data-link":s,"data-url":c,"data-width":p,src:u});return(0,r.createElement)("figure",{className:"tiled-gallery__item"},d?(0,r.createElement)("a",{href:d},m):m)}},76476:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return a},save:function(){return r.Z},support:function(){return o}});var r=n(91507);const a={align:{default:"center",type:"string"},className:{default:`is-style-${n(1377).EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},o={align:["center","wide","full"],customClassName:!1,html:!1}},52235:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},89754:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},15645:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(69424),o=n(65736),i=n(11313),s=n(56005),l=n(30791),c=n(79313),u=n(1377);const __=o.__;class p extends r.Component{photonize(e){let{height:t,width:n,url:r}=e;if(!r)return;if((0,i.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;const o=r.split("?",1)[0],s=function(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}(r)?m:a.Z,{layoutStyle:l}=this.props;if(d(l)&&n&&t){const e=Math.min(u.GP,n,t);return s(o,{resize:`${e},${e}`})}return s(o)}renderImage(e,t){const{images:n,linkTo:a,selectedImage:i}=this.props,l=(0,o.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,n.length);return(0,r.createElement)(l.Z,{alt:e.alt,"aria-label":s,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:i}=this.props,s=m(i)?u.Z:c.Z,l=this.props.images.map(this.renderImage,this);return(0,r.createElement)("div",{className:n},(0,r.createElement)(s,{align:e,columns:a,images:o,layoutStyle:i,renderedImages:l}),t)}}function m(e){return["circle","square"].includes(e)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:a,port:o,query:s,search:l,...c}=(0,i.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,i.WU)(c)}},1077:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),a=n.n(r),o=n(69307),i=n(54166),s=n(43064),l=n(7696),c=n(8292),u=n(37335),p=n(54794);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t;(0,u.W)(n).forEach((t=>(0,u.i)(t,e)))}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(s.Z,{key:t},n)}))))))}}},54794:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=P([N,N,A,N,N]),c=P([N,N,N,A,N,N,N]),u=T([3,1,3],5),p=P([A,N,N,A]),d=T([1,2,1],5),m=P([A,N,N,N]),h=T([1,3],3),f=P([N,N,N,A]),g=T([3,1],3),b=P([B(1.6),(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=P([(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2)),B(1.6)]),_=T([2,1],3),C=P([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function P(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function B(e){return t=>t<e}},37335:function(e,t,n){"use strict";n.d(t,{i:function(){return o},W:function(){return i}});var r=n(66105);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){!function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);!function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},8292:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},47536:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(8292),i=n(43064),s=n(7696),l=n(66105);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},19092:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(17357),o=n(98085),i=n(66105);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{images:n}=t;if(!n.length)return null;const{align:l,className:c,columns:u=s(t),linkTo:p}=t;return(0,r.createElement)(a.Z,{align:l,className:c,columns:u,images:n,layoutStyle:(0,o.t)(i.P0,c),linkTo:p})}},96470:function(e,t,n){"use strict";n.d(t,{hI:function(){return r},Z5:function(){return a},GP:function(){return o},xJ:function(){return i},EU:function(){return s},P0:function(){return l}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},72285:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},47330:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return a.Z},attributes:function(){return o},supports:function(){return i}});var r=n(96470),a=n(96659);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1}},71410:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},86159:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},15515:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(72285),l=n(56556),c=n(14916),u=n(92805),p=n(96470);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,linkTo:l,layoutStyle:c,selectedImage:p}=this.props,d=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,n.length);return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":l,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:i}=this.props,s=d(i)?c.Z:l.Z,u=this.props.images.map(this.renderImage,this);return(0,r.createElement)("div",{className:n},(0,r.createElement)(s,{align:e,columns:a,images:o,layoutStyle:i,renderedImages:u}),t)}}function d(e){return["circle","square"].includes(e)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},30791:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(18294),a=n.n(r),o=n(69307),i=n(6209),s=n(52235),l=n(89754),c=n(36472),u=n(6648),p=n(6817);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t;(0,u.W)(n).forEach((t=>(0,u.i)(t,e)))}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(s.Z,{key:t},n)}))))))}}},6817:function(e,t,n){"use strict";n.d(t,{T9:function(){return S},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([B(1.6),(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2)),B(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function S(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function B(e){return t=>t<e}},6648:function(e,t,n){"use strict";n.d(t,{W:function(){return i},i:function(){return o}});var r=n(1377);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){!function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);!function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},36472:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},79313:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(36472),i=n(52235),s=n(89754),l=n(1377);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},91507:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(15645),o=n(81518),i=n(1377);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{images:n}=t;if(!n.length)return null;const{align:l,className:c,columns:u=s(t),linkTo:p}=t;return(0,r.createElement)(a.Z,{align:l,className:c,columns:u,images:n,layoutStyle:(0,o.t)(i.P0,c),linkTo:p})}},86738:function(e,t,n){"use strict";n.d(t,{EU:function(){return s},GP:function(){return o},P0:function(){return l},Z5:function(){return a},hI:function(){return r},xJ:function(){return i}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},64931:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},43125:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return o},save:function(){return a.Z},supports:function(){return i}});var r=n(86738),a=n(68405);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1}},85407:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},40195:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},73208:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(64931),l=n(84420),c=n(87178),u=n(67091),p=n(86738);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,linkTo:l,layoutStyle:c,selectedImage:p}=this.props,d=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:m,srcSet:h}=(0,u.z)(e,{layoutStyle:c});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":d,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:p===t,key:t,link:e.link,linkTo:l,origUrl:e.url,showMovers:i.length>1,srcSet:h,url:m,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d}=this.props,m=(0,u.v)(s)?c.Z:l.Z,h=this.props.images.map(this.renderImage,this),f=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${f}`]:f>0})},(0,r.createElement)(m,{align:e,columns:a,images:o,layoutStyle:s,renderedImages:h}),t)}}},56556:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27538),a=n.n(r),o=n(69307),i=n(71410),s=n(86159),l=n(8955),c=n(9972);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,u=(0,c.h9)(n),p="columns"===r?(0,c.sv)(u,t):(0,c.T9)(u,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},p.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(i.Z,{key:t},n)}))))))}}},9972:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=P([N,N,A,N,N]),c=P([N,N,N,A,N,N,N]),u=T([3,1,3],5),p=P([A,N,N,A]),d=T([1,2,1],5),m=P([A,N,N,N]),h=T([1,3],3),f=P([N,N,N,A]),g=T([3,1],3),b=P([B(1.6),(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=P([(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2)),B(1.6)]),_=T([2,1],3),C=P([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function P(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function B(e){return t=>t<e}},8955:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},14916:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(8955),i=n(71410),s=n(86159),l=n(96470);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},96659:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(15515),o=n(98085),i=n(96470);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m})}},92805:function(e,t,n){"use strict";n.d(t,{v:function(){return l},z:function(){return c}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(96470);function l(e){return["circle","square"].includes(e)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:c}=e,{layoutStyle:m}=t,h=p(n)||!0===u()?d:r.Z;let f;if(l(m)&&c&&a){const e=Math.min(s.GP,c,a);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(l(m)){const e=Math.min(b,c,a),t=Math.min(s.GP,c,a);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,c),t=Math.min(s.GP,c);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function u(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function p(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},30154:function(e,t,n){"use strict";n.d(t,{hI:function(){return r},Z5:function(){return a},GP:function(){return o},xJ:function(){return i},EU:function(){return s},P0:function(){return l}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},7214:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},35660:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return a.Z},attributes:function(){return o},supports:function(){return i},migrate:function(){return s}});var r=n(30154),a=n(2387);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1},s=e=>{const t=Math.pow(10,5);return{...e,columnWidths:e.columnWidths.map((e=>e.map((e=>Math.round(e*t)/t))))}}},62940:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=Math.pow(10,12),o=Math.round(n*a)/a,i=n?{flexBasis:`${o}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:i},t)}},68742:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},62108:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(7214),l=n(34506),c=n(85185),u=n(60185),p=n(30154);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:l,linkTo:c,layoutStyle:p,onMoveBackward:d,onMoveForward:m,onRemoveImage:h,onSelectImage:f,selectedImage:g,setImageAttributes:b}=this.props,v=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:m,srcSet:h}=(0,u.z)(e,{layoutStyle:c});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":d,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:p===t,key:t,link:e.link,linkTo:l,origUrl:e.url,showMovers:i.length>1,srcSet:h,url:m,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d}=this.props,m=(0,u.v)(s)?c.Z:l.Z,h=this.props.images.map(this.renderImage,this),f=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${f}`]:f>0})},(0,r.createElement)(m,{align:e,columns:a,images:o,layoutStyle:s,renderedImages:h}),t)}}},84420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(18294),a=n.n(r),o=n(69307),i=n(85407),s=n(40195),l=n(56243),c=n(12126);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,u=(0,c.h9)(n),p="columns"===r?(0,c.sv)(u,t):(0,c.T9)(u,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},p.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(i.Z,{key:t},n)}))))))}}},12126:function(e,t,n){"use strict";n.d(t,{T9:function(){return S},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([B(1.6),(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2)),B(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function S(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function B(e){return t=>t<e}},56243:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},87178:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(56243),i=n(85407),s=n(40195),l=n(86738);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},68405:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(73208),o=n(81518),i=n(86738);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m})}},67091:function(e,t,n){"use strict";n.d(t,{v:function(){return s},z:function(){return l}});var r=n(69424),a=n(11313),o=n(92819),i=n(86738);function s(e){return["circle","square"].includes(e)}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:l,width:d}=e,{layoutStyle:m}=t,h=u(n)||!0===c()?p:r.Z;let f;if(s(m)&&d&&l){const e=Math.min(i.GP,d,l);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(s(m)){const e=Math.min(b,d,l),t=Math.min(i.GP,d,l);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,d),t=Math.min(i.GP,d);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function c(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function u(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},13993:function(e,t,n){"use strict";n.d(t,{EU:function(){return s},GP:function(){return o},P0:function(){return l},Z5:function(){return a},hI:function(){return r},xJ:function(){return i}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},21959:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},67525:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return o},migrate:function(){return s},save:function(){return a.Z},supports:function(){return i}});var r=n(13993),a=n(5826);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1},s=e=>{const t=Math.pow(10,5);return{...e,columnWidths:e.columnWidths.map((e=>e.map((e=>Math.round(e*t)/t))))}}},17410:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=Math.pow(10,12),o=Math.round(n*a)/a,i=n?{flexBasis:`${o}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:i},t)}},46349:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},178:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(21959),l=n(47510),c=n(65662),u=n(11197),p=n(13993);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:l,linkTo:c,layoutStyle:p,onMoveBackward:d,onMoveForward:m,onRemoveImage:h,onSelectImage:f,selectedImage:g,setImageAttributes:b}=this.props,v=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:k,srcSet:y}=(0,u.z)(e,{layoutStyle:p});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":v,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:g===t,key:t,link:e.link,linkTo:c,onMoveBackward:l?void 0:d(t),onMoveForward:l?void 0:m(t),onRemove:l?void 0:h(t),onSelect:l?void 0:f(t),origUrl:e.url,setAttributes:l?void 0:b(t),showMovers:i.length>1,srcSet:y,url:k,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,u.v)(s)?c.Z:l.Z,b=this.props.images.map(this.renderImage,this),v=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},34506:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27538),a=n.n(r),o=n(69307),i=n(62940),s=n(68742),l=n(7930),c=n(58174);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:u}=this.props,p=(0,c.h9)(n),d="columns"===r?(0,c.sv)(p,t):(0,c.T9)(p,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,n)=>{const r=a.slice(m,m+e);return m+=e,(0,o.createElement)(i.Z,{key:n,width:u?.[t]?.[n]},r)}))))))}}},58174:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=P([N,N,A,N,N]),c=P([N,N,N,A,N,N,N]),u=T([3,1,3],5),p=P([A,N,N,A]),d=T([1,2,1],5),m=P([A,N,N,N]),h=T([1,3],3),f=P([N,N,N,A]),g=T([3,1],3),b=P([B(1.6),(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=P([(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2)),B(1.6)]),_=T([2,1],3),C=P([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function P(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function B(e){return t=>t<e}},7930:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},85185:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(7930),i=n(62940),s=n(68742),l=n(30154);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},2387:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(62108),o=n(98085),i=n(30154);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},60185:function(e,t,n){"use strict";n.d(t,{v:function(){return l},z:function(){return c}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(30154);function l(e){return["circle","square"].includes(e)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:c}=e,{layoutStyle:m}=t,h=p(n)||!0===u()?d:r.Z;let f;if(l(m)&&c&&a){const e=Math.min(s.GP,c,a);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(l(m)){const e=Math.min(b,c,a),t=Math.min(s.GP,c,a);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,c),t=Math.min(s.GP,c);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function u(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function p(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},86655:function(e,t,n){"use strict";n.d(t,{F:function(){return v}});var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(52175),c=n(12238),u=n(55609),p=n(41451),d=n(6624),m=n(28526),h=n(98085),f=n(80349),g=n(58703);const __=i.__,b=[{value:"attachment",label:__("Attachment Page","jetpack")},{value:"media",label:__("Media File","jetpack")},{value:"none",label:__("None","jetpack")}];function v(e){return Math.min(3,e.images.length)}const k=e=>{const t=(0,s.pick)(e,[["alt"],["id"],["link"]]);return t.url=(0,s.get)(e,["sizes","large","url"])||(0,s.get)(e,["media_details","sizes","large","source_url"])||e.url,t};class y extends o.Component{constructor(){super(...arguments),a()(this,"state",{selectedImage:null,changed:void 0===this.props.attributes.columnWidths||0===this.props.attributes.columnWidths?.length}),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],{noticeOperations:n}=this.props;(0,c.mediaUpload)({allowedTypes:m.RA,filesList:e,onFileChange:e=>{const n=e.map((e=>k(e)));this.setAttributes({images:t.concat(n)})},onError:n.createErrorNotice}),this.setState({changed:!0})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,s.filter)(this.props.attributes.images,((t,n)=>e!==n)),{columns:n}=this.props.attributes;this.setState({selectedImage:null,changed:!0}),this.setAttributes({images:t,columns:n?Math.min(t.length,n):n})})),a()(this,"onSelectImage",(e=>()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})})),a()(this,"onSelectImages",(e=>{const{columns:t}=this.props.attributes;this.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((e=>k(e)))}),this.setState({changed:!0})})),a()(this,"onMove",((e,t)=>{const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t,changed:!0}),this.setAttributes({images:n})})),a()(this,"onMoveForward",(e=>()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)})),a()(this,"onMoveBackward",(e=>()=>{0!==e&&this.onMove(e,e-1)})),a()(this,"onResize",(e=>{this.state.changed&&this.setAttributes({columnWidths:e})})),a()(this,"setColumnsNumber",(e=>this.setAttributes({columns:e}))),a()(this,"setRoundedCorners",(e=>this.setAttributes({roundedCorners:e}))),a()(this,"setImageAttributes",(e=>t=>{const{attributes:{images:n}}=this.props;n[e]&&this.setAttributes({images:[...n.slice(0,e),{...n[e],...t},...n.slice(e+1)]})})),a()(this,"setLinkTo",(e=>this.setAttributes({linkTo:e}))),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files)))}static getDerivedStateFromProps(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}render(){const{selectedImage:e}=this.state,{attributes:t,isSelected:n,className:r,noticeOperations:a,noticeUI:i,setAttributes:s}=this.props,{align:c,columns:k=v(t),imageFilter:y,images:E,linkTo:w,roundedCorners:_}=t,C=(0,o.createElement)(u.DropZone,{onFilesDrop:this.addFiles}),j=(0,o.createElement)(l.BlockControls,null,!!E.length&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToolbarGroup,null,(0,o.createElement)(u.ToolbarItem,null,(()=>(0,o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:m.RA,multiple:!0,gallery:!0,value:E.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,o.createElement)(g.Z,{label:__("Edit Gallery","jetpack"),onClick:t})}})))),(0,o.createElement)(p.Z,{value:y,onChange:e=>{s({imageFilter:e}),this.setState({selectedImage:null})}})));if(0===E.length)return(0,o.createElement)(o.Fragment,null,j,(0,o.createElement)(l.MediaPlaceholder,{icon:(0,o.createElement)(l.BlockIcon,{icon:f.qv}),className:r,labels:{title:__("Tiled Gallery","jetpack"),name:__("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:m.RA,multiple:!0,notices:i,onError:a.createErrorNotice}));const S=(0,h.t)(m.P0,t.className);return(0,o.createElement)(o.Fragment,null,j,(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:__("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(S)&&E.length>1&&(0,o.createElement)(u.RangeControl,{label:__("Columns","jetpack"),value:k,onChange:this.setColumnsNumber,min:1,max:Math.min(m.hI,E.length)}),S!==m.xJ&&(0,o.createElement)(u.RangeControl,{label:__("Rounded corners","jetpack"),value:_,onChange:this.setRoundedCorners,min:0,max:m.Z5}),(0,o.createElement)(u.SelectControl,{label:__("Link To","jetpack"),value:w,onChange:this.setLinkTo,options:b}))),i,(0,o.createElement)(d.Z,{align:c,className:r,columns:k,imageFilter:y,images:E,layoutStyle:S,linkTo:w,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onResize:this.onResize,roundedCorners:_,selectedImage:n?e:null,setImageAttributes:this.setImageAttributes},C,n&&(0,o.createElement)("div",{className:"tiled-gallery__add-item"},(0,o.createElement)(u.FormFileUpload,{multiple:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack")))))}}t.ZP=(0,u.withNotices)(y)},41451:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_x=a._x,i=[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Original","image style","jetpack"),value:void 0},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Black and White","image style","jetpack"),value:"black-and-white"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:_x("Sepia","image style","jetpack"),value:"sepia"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Clarendon","image style","jetpack"),value:"clarendon"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:_x("Gingham","image style","jetpack"),value:"gingham"}],s=__("Pick an image filter","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:s,tooltip:s,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},i.map((e=>{let{icon:i,title:s,value:l}=e;return(0,r.createElement)(o.MenuItem,{className:t===l?"is-active":void 0,icon:i,isSelected:t===l,key:l||"original",onClick:(c=l,()=>{n(t===c?void 0:c),a()}),role:"menuitemcheckbox"},s);var c})))}})}},79906:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(39630),u=n(55609),p=n(11313),d=n(9818),m=n(9512);const __=l.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"img",(0,o.createRef)()),a()(this,"onImageClick",(()=>{this.props.isSelected||this.props.onSelect()})),a()(this,"onImageKeyDown",(e=>{this.img.current===document.activeElement&&this.props.isSelected&&[c.BACKSPACE,c.DELETE].includes(e.keyCode)&&this.props.onRemove()}))}componentDidUpdate(){const{alt:e,height:t,image:n,link:r,url:a,width:o}=this.props;if(n){const i={};!e&&n.alt_text&&(i.alt=n.alt_text),!t&&n.media_details&&n.media_details.height&&(i.height=+n.media_details.height),!r&&n.link&&(i.link=n.link),!a&&n.source_url&&(i.url=n.source_url),!o&&n.media_details&&n.media_details.width&&(i.width=+n.media_details.width),Object.keys(i).length&&this.props.setAttributes(i)}}render(){const{"aria-label":e,alt:t,columns:n,height:r,id:a,imageFilter:i,isFirstItem:l,isLastItem:c,isSelected:d,link:h,linkTo:f,onMoveBackward:g,onMoveForward:b,onRemove:v,origUrl:k,showMovers:y,srcSet:E,url:w,width:_}=this.props;let C;switch(f){case"media":C=w;break;case"attachment":C=h}const j=(0,p.isBlobURL)(k),S=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("img",{alt:t,"aria-label":e,"data-height":r,"data-id":a,"data-link":h,"data-url":k,"data-width":_,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:j?void 0:w,srcSet:j?void 0:E,tabIndex:"0",style:j?{backgroundImage:`url(${k})`}:void 0}),j&&(0,o.createElement)(u.Spinner,null));return(0,o.createElement)("figure",{className:s()("tiled-gallery__item",{"is-selected":d,"is-transient":j,[`filter__${i}`]:!!i})},y&&(0,o.createElement)("div",{className:"tiled-gallery__item__move-menu"},(0,o.createElement)(u.Button,{icon:1===n?m.WO:m.KT,onClick:l?void 0:g,className:"tiled-gallery__item__move-backward",label:__("Move image backward","jetpack"),"aria-disabled":l,disabled:!d}),(0,o.createElement)(u.Button,{icon:1===n?m.xf:m.zz,onClick:c?void 0:b,className:"tiled-gallery__item__move-forward",label:__("Move image forward","jetpack"),"aria-disabled":c,disabled:!d})),(0,o.createElement)("div",{className:"tiled-gallery__item__inline-menu"},(0,o.createElement)(u.Button,{icon:m.xv,onClick:v,className:"tiled-gallery__item__remove",label:__("Remove image","jetpack"),disabled:!d})),C?(0,o.createElement)("a",null,S):S)}}t.Z=(0,d.withSelect)(((e,t)=>{const{getMedia:n}=e("core"),{id:r}=t;return{image:r?n(r):null}}))(h)},97671:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p,"data-amp-layout":"responsive"});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},9512:function(e,t,n){"use strict";n.d(t,{KT:function(){return o},zz:function(){return i},xf:function(){return s},WO:function(){return l},xv:function(){return c}});var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),i=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),s=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})),l=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})),c=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"-2 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))},80349:function(e,t,n){"use strict";n.d(t,{u2:function(){return S},qv:function(){return x},Xd:function(){return T}});var r=n(69307),a=n(65736),o=n(4981),i=n(92819),s=n(55609),l=n(86655),c=n(57713),u=n(28526),p=n(58014),d=n(57535),m=n(20510),h=n(70132),f=n(96606),g=n(85472),b=n(79009),v=n(10742),k=n(52642),y=n(41145);const __=a.__,_x=a._x,E={[u.EU]:_x("Tiled mosaic","Tiled gallery layout","jetpack"),[u.xJ]:_x("Circles","Tiled gallery layout","jetpack"),[u.sw]:_x("Tiled columns","Tiled gallery layout","jetpack"),[u.yw]:_x("Square tiles","Tiled gallery layout","jetpack")},w=u.P0.map((e=>({...e,label:E[e.name]})));function _(e){return(0,i.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const C={align:{default:"center",type:"string"},className:{default:`is-style-${u.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},j={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:f,width:160,height:95},{alt:"",link:"",url:g,width:160,height:107},{alt:"",link:"",url:b,width:304,height:203},{alt:"",link:"",url:v,width:312,height:207},{alt:"",link:"",url:k,width:152,height:101},{alt:"",link:"",url:y,width:152,height:105}],linkTo:"none"},S="tiled-gallery",x=(0,r.createElement)(s.SVG,{viewBox:"0 0 24 24",width:24,height:24},(0,r.createElement)(s.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),T={attributes:C,category:(0,m.Z)("media","layout"),description:__("Display multiple images in an elegantly organized tiled layout.","jetpack")+((0,p.Wp)()?"":" "+__("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:{src:x,foreground:(0,d.m)()},keywords:[_x("columns","block search term","jetpack"),_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("square","block search term","jetpack"),_x("circle","block search term","jetpack"),_x("mosaic","block search term","jetpack")],styles:w,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:__("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>_(e).length>0,transform:e=>{const t=_(e);return(0,o.createBlock)(`jetpack/${S}`,{images:t.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:e=>{let{images:t}=e;const n=_(t);return n.length>0?(0,o.createBlock)(`jetpack/${S}`,{images:n.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,o.createBlock)(`jetpack/${S}`)}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n,columns:r,linkTo:a}=e;return(0,o.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:e=>{let{align:t,images:n}=e;return n.length>0?n.map((e=>{let{id:n,url:r,alt:a}=e;return(0,o.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):(0,o.createBlock)("core/image")}}]},edit:l.ZP,save:c.Z,deprecated:h.Z,example:{attributes:j}}},64597:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=n?{flexBasis:`${n}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:a},t)}},31766:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},6624:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(79906),l=n(97671),c=n(83958),u=n(92870),p=n(5968),d=n(28526);const __=a.__;class m extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:c,linkTo:u,layoutStyle:d,onMoveBackward:m,onMoveForward:h,onRemoveImage:f,onSelectImage:g,selectedImage:b,setImageAttributes:v}=this.props,k=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:k,srcSet:y}=(0,u.z)(e,{layoutStyle:p});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":v,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:g===t,key:t,link:e.link,linkTo:c,onMoveBackward:l?void 0:d(t),onMoveForward:l?void 0:m(t),onRemove:l?void 0:h(t),onSelect:l?void 0:f(t),origUrl:e.url,setAttributes:l?void 0:b(t),showMovers:i.length>1,srcSet:y,url:k,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,u.v)(s)?c.Z:l.Z,b=this.props.images.map(this.renderImage,this),v=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},47510:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(18294),a=n.n(r),o=n(69307),i=n(17410),s=n(46349),l=n(78922),c=n(3453);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:u}=this.props,p=(0,c.h9)(n),d="columns"===r?(0,c.sv)(p,t):(0,c.T9)(p,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,n)=>{var r;const s=a.slice(m,m+e);return m+=e,(0,o.createElement)(i.Z,{key:n,width:null==u||null===(r=u[t])||void 0===r?void 0:r[n]},s)}))))))}}},3453:function(e,t,n){"use strict";n.d(t,{T9:function(){return S},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([B(1.6),(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2)),B(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function S(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function B(e){return t=>t<e}},78922:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},65662:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(78922),i=n(17410),s=n(46349),l=n(13993);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},5826:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(178),o=n(81518),i=n(13993);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},11197:function(e,t,n){"use strict";n.d(t,{v:function(){return s},z:function(){return l}});var r=n(69424),a=n(11313),o=n(92819),i=n(13993);function s(e){return["circle","square"].includes(e)}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:l,width:d}=e,{layoutStyle:m}=t,h=u(n)||!0===c()?p:r.Z;let f;if(s(m)&&d&&l){const e=Math.min(i.GP,d,l);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(s(m)){const e=Math.min(b,d,l),t=Math.min(i.GP,d,l);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,d),t=Math.min(i.GP,d);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function c(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function u(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},15078:function(e,t,n){"use strict";n.d(t,{F:function(){return v}});var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(52175),c=n(12238),u=n(55609),p=n(38897),d=n(21340),m=n(3740),h=n(81518),f=n(99602),g=n(94545);const __=i.__,b=[{value:"attachment",label:__("Attachment Page","jetpack")},{value:"media",label:__("Media File","jetpack")},{value:"none",label:__("None","jetpack")}];function v(e){return Math.min(3,e.images.length)}const k=e=>{const t=(0,s.pick)(e,[["alt"],["id"],["link"]]);return t.url=(0,s.get)(e,["sizes","large","url"])||(0,s.get)(e,["media_details","sizes","large","source_url"])||e.url,t};class y extends o.Component{constructor(){var e;super(...arguments),a()(this,"state",{selectedImage:null,changed:void 0===this.props.attributes.columnWidths||0===(null===(e=this.props.attributes.columnWidths)||void 0===e?void 0:e.length)}),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],{noticeOperations:n}=this.props;(0,c.mediaUpload)({allowedTypes:m.RA,filesList:e,onFileChange:e=>{const n=e.map((e=>k(e)));this.setAttributes({images:t.concat(n)})},onError:n.createErrorNotice}),this.setState({changed:!0})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,s.filter)(this.props.attributes.images,((t,n)=>e!==n)),{columns:n}=this.props.attributes;this.setState({selectedImage:null,changed:!0}),this.setAttributes({images:t,columns:n?Math.min(t.length,n):n})})),a()(this,"onSelectImage",(e=>()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})})),a()(this,"onSelectImages",(e=>{const{columns:t}=this.props.attributes;this.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((e=>k(e)))}),this.setState({changed:!0})})),a()(this,"onMove",((e,t)=>{const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t,changed:!0}),this.setAttributes({images:n})})),a()(this,"onMoveForward",(e=>()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)})),a()(this,"onMoveBackward",(e=>()=>{0!==e&&this.onMove(e,e-1)})),a()(this,"onResize",(e=>{this.state.changed&&this.setAttributes({columnWidths:e})})),a()(this,"setColumnsNumber",(e=>this.setAttributes({columns:e}))),a()(this,"setRoundedCorners",(e=>this.setAttributes({roundedCorners:e}))),a()(this,"setImageAttributes",(e=>t=>{const{attributes:{images:n}}=this.props;n[e]&&this.setAttributes({images:[...n.slice(0,e),{...n[e],...t},...n.slice(e+1)]})})),a()(this,"setLinkTo",(e=>this.setAttributes({linkTo:e}))),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files)))}static getDerivedStateFromProps(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}render(){const{selectedImage:e}=this.state,{attributes:t,isSelected:n,className:r,noticeOperations:a,noticeUI:i,setAttributes:s}=this.props,{align:c,columns:k=v(t),imageFilter:y,images:E,linkTo:w,roundedCorners:_}=t,C=(0,o.createElement)(u.DropZone,{onFilesDrop:this.addFiles}),S=(0,o.createElement)(l.BlockControls,null,!!E.length&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToolbarGroup,null,(0,o.createElement)(u.ToolbarItem,null,(()=>(0,o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:m.RA,multiple:!0,gallery:!0,value:E.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,o.createElement)(g.Z,{label:__("Edit Gallery","jetpack"),onClick:t})}})))),(0,o.createElement)(p.Z,{value:y,onChange:e=>{s({imageFilter:e}),this.setState({selectedImage:null})}})));if(0===E.length)return(0,o.createElement)(o.Fragment,null,S,(0,o.createElement)(l.MediaPlaceholder,{icon:f.qv,className:r,labels:{title:__("Tiled Gallery","jetpack"),name:__("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:m.RA,multiple:!0,notices:i,onError:a.createErrorNotice}));const j=(0,h.t)(m.P0,t.className);return(0,o.createElement)(o.Fragment,null,S,(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:__("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(j)&&E.length>1&&(0,o.createElement)(u.RangeControl,{label:__("Columns","jetpack"),value:k,onChange:this.setColumnsNumber,min:1,max:Math.min(m.hI,E.length)}),j!==m.xJ&&(0,o.createElement)(u.RangeControl,{label:__("Rounded corners","jetpack"),value:_,onChange:this.setRoundedCorners,min:0,max:m.Z5}),(0,o.createElement)(u.SelectControl,{label:__("Link To","jetpack"),value:w,onChange:this.setLinkTo,options:b}))),i,(0,o.createElement)(d.Z,{align:c,className:r,columns:k,imageFilter:y,images:E,layoutStyle:j,linkTo:w,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onResize:this.onResize,roundedCorners:_,selectedImage:n?e:null,setImageAttributes:this.setImageAttributes},C,n&&(0,o.createElement)("div",{className:"tiled-gallery__add-item"},(0,o.createElement)(u.FormFileUpload,{multiple:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack")))))}}t.ZP=(0,u.withNotices)(y)},38897:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_x=a._x,i=[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Original","image style","jetpack"),value:void 0},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Black and White","image style","jetpack"),value:"black-and-white"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:_x("Sepia","image style","jetpack"),value:"sepia"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Clarendon","image style","jetpack"),value:"clarendon"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:_x("Gingham","image style","jetpack"),value:"gingham"}],s=__("Pick an image filter","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:s,tooltip:s,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},i.map((e=>{let{icon:i,title:s,value:l}=e;return(0,r.createElement)(o.MenuItem,{className:t===l?"is-active":void 0,icon:i,isSelected:t===l,key:l||"original",onClick:(c=l,()=>{n(t===c?void 0:c),a()}),role:"menuitemcheckbox"},s);var c})))}})}},57773:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(39630),u=n(55609),p=n(11313),d=n(9818),m=n(17752);const __=l.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"img",(0,o.createRef)()),a()(this,"onImageClick",(()=>{this.props.isSelected||this.props.onSelect()})),a()(this,"onImageKeyDown",(e=>{this.img.current===document.activeElement&&this.props.isSelected&&[c.BACKSPACE,c.DELETE].includes(e.keyCode)&&this.props.onRemove()}))}componentDidUpdate(){const{alt:e,height:t,image:n,link:r,url:a,width:o}=this.props;if(n){const i={};!e&&n.alt_text&&(i.alt=n.alt_text),!t&&n.media_details&&n.media_details.height&&(i.height=+n.media_details.height),!r&&n.link&&(i.link=n.link),!a&&n.source_url&&(i.url=n.source_url),!o&&n.media_details&&n.media_details.width&&(i.width=+n.media_details.width),Object.keys(i).length&&this.props.setAttributes(i)}}render(){const{"aria-label":e,alt:t,columns:n,height:r,id:a,imageFilter:i,isFirstItem:l,isLastItem:c,isSelected:d,link:h,linkTo:f,onMoveBackward:g,onMoveForward:b,onRemove:v,origUrl:k,showMovers:y,srcSet:E,url:w,width:_}=this.props;let C;switch(f){case"media":C=w;break;case"attachment":C=h}const S=(0,p.isBlobURL)(k),j=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("img",{alt:t,"aria-label":e,"data-height":r,"data-id":a,"data-link":h,"data-url":k,"data-width":_,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:S?void 0:w,srcSet:S?void 0:E,tabIndex:"0",style:S?{backgroundImage:`url(${k})`}:void 0}),S&&(0,o.createElement)(u.Spinner,null));return(0,o.createElement)("figure",{className:s()("tiled-gallery__item",{"is-selected":d,"is-transient":S,[`filter__${i}`]:!!i})},y&&(0,o.createElement)("div",{className:"tiled-gallery__item__move-menu"},(0,o.createElement)(u.Button,{icon:1===n?m.WO:m.KT,onClick:l?void 0:g,className:"tiled-gallery__item__move-backward",label:__("Move image backward","jetpack"),"aria-disabled":l,disabled:!d}),(0,o.createElement)(u.Button,{icon:1===n?m.xf:m.zz,onClick:c?void 0:b,className:"tiled-gallery__item__move-forward",label:__("Move image forward","jetpack"),"aria-disabled":c,disabled:!d})),(0,o.createElement)("div",{className:"tiled-gallery__item__inline-menu"},(0,o.createElement)(u.Button,{icon:m.xv,onClick:v,className:"tiled-gallery__item__remove",label:__("Remove image","jetpack"),disabled:!d})),C?(0,o.createElement)("a",null,j):j)}}t.Z=(0,d.withSelect)(((e,t)=>{const{getMedia:n}=e("core"),{id:r}=t;return{image:r?n(r):null}}))(h)},81921:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p,"data-amp-layout":"responsive"});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},17752:function(e,t,n){"use strict";n.d(t,{KT:function(){return o},WO:function(){return l},xf:function(){return s},xv:function(){return c},zz:function(){return i}});var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),i=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),s=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})),l=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})),c=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"-2 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))},99602:function(e,t,n){"use strict";n.d(t,{Xd:function(){return P},qv:function(){return x},u2:function(){return j}});var r=n(69307),a=n(65736),o=n(4981),i=n(92819),s=n(55609),l=n(13419),c=n(15078),u=n(10745),p=n(3740),d=n(70355),m=n(5820),h=n(73463),f=n(96606),g=n(85472),b=n(79009),v=n(10742),k=n(52642),y=n(41145);const __=a.__,_x=a._x,E={[p.EU]:_x("Tiled mosaic","Tiled gallery layout","jetpack"),[p.xJ]:_x("Circles","Tiled gallery layout","jetpack"),[p.sw]:_x("Tiled columns","Tiled gallery layout","jetpack"),[p.yw]:_x("Square tiles","Tiled gallery layout","jetpack")},w=p.P0.map((e=>({...e,label:E[e.name]})));function _(e){return(0,i.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const C={align:{default:"center",type:"string"},className:{default:`is-style-${p.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},imageCrop:{type:"boolean",default:!0},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},S={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:f,width:160,height:95},{alt:"",link:"",url:g,width:160,height:107},{alt:"",link:"",url:b,width:304,height:203},{alt:"",link:"",url:v,width:312,height:207},{alt:"",link:"",url:k,width:152,height:101},{alt:"",link:"",url:y,width:152,height:105}],linkTo:"none"},j="tiled-gallery",x=(0,r.createElement)(s.SVG,{viewBox:"0 0 24 24",width:24,height:24},(0,r.createElement)(s.Path,{d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),P={attributes:C,category:(0,m.Z)("media","layout"),description:__("Display multiple images in an elegantly organized tiled layout.","jetpack")+((0,l.Wp)()?"":" "+__("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:{src:x,foreground:(0,d.m)()},keywords:[_x("columns","block search term","jetpack"),_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("square","block search term","jetpack"),_x("circle","block search term","jetpack"),_x("mosaic","block search term","jetpack")],styles:w,supports:{align:["center","wide","full"],color:{gradients:!0,text:!1},customClassName:!1,html:!1,spacing:{margin:!0,padding:!0},__experimentalHideChildBlockControls:!0},title:__("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>_(e).length>0,transform:e=>{const t=_(e);return(0,o.createBlock)(`jetpack/${j}`,{images:t.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:e=>{let{images:t}=e;const n=_(t);return n.length>0?(0,o.createBlock)(`jetpack/${j}`,{images:n.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,o.createBlock)(`jetpack/${j}`)}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n,columns:r,linkTo:a}=e;return(0,o.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:e=>{let{align:t,images:n}=e;return n.length>0?n.map((e=>{let{id:n,url:r,alt:a}=e;return(0,o.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):(0,o.createBlock)("core/image")}}]},edit:c.ZP,save:u.Z,providesContext:{imageCrop:"imageCrop"},deprecated:h.Z,example:{attributes:S}}},46936:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=n?{flexBasis:`${n}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:a},t)}},75084:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},21340:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(57773),l=n(81921),c=n(46438),u=n(70216),p=n(13369),d=n(3740);const __=a.__;class m extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:c,linkTo:u,layoutStyle:d,onMoveBackward:m,onMoveForward:h,onRemoveImage:f,onSelectImage:g,selectedImage:b,setImageAttributes:v}=this.props,k=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),y=c?l.Z:s.Z,{src:E,srcSet:w}=(0,p.z)(e,{layoutStyle:d});return(0,r.createElement)(y,{alt:e.alt,"aria-label":k,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:b===t,key:t,link:e.link,linkTo:u,onMoveBackward:c?void 0:m(t),onMoveForward:c?void 0:h(t),onRemove:c?void 0:f(t),onSelect:c?void 0:g(t),origUrl:e.url,setAttributes:c?void 0:v(t),showMovers:i.length>1,srcSet:w,url:E,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:l,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,p.v)(s)?u.Z:c.Z,b=this.props.images.map(this.renderImage,this),v=s!==d.xJ?Math.min(l,d.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},83958:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),a=n.n(r),o=n(69307),i=n(54166),s=n(64597),l=n(31766),c=n(92212),u=n(17265),p=n(58731);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t,r=[];(0,u.W)(n).forEach((t=>{r.push((0,u.i)(t,e))})),void 0!==this.props.onResize&&this.props.onResize(r)}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:i}=this.props,u=(0,p.h9)(n),d="columns"===r?(0,p.sv)(u,t):(0,p.T9)(u,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,n)=>{const r=a.slice(m,m+e);return m+=e,(0,o.createElement)(s.Z,{key:n,width:i?.[t]?.[n]},r)}))))))}}},58731:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=P([N,N,A,N,N]),c=P([N,N,N,A,N,N,N]),u=T([3,1,3],5),p=P([A,N,N,A]),d=T([1,2,1],5),m=P([A,N,N,N]),h=T([1,3],3),f=P([N,N,N,A]),g=T([3,1],3),b=P([B(1.6),(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=P([(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2)),B(1.6)]),_=T([2,1],3),C=P([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function P(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function B(e){return t=>t<e}},17265:function(e,t,n){"use strict";n.d(t,{i:function(){return o},W:function(){return i}});var r=n(28526);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){return function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);return function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}));return d.map((e=>parseFloat(e/o*100).toFixed(5)))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},92212:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},92870:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(92212),i=n(64597),s=n(31766),l=n(28526);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},57713:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(6624),o=n(86655),i=n(98085),s=n(28526);function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=(0,o.F)(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,i.t)(s.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},5968:function(e,t,n){"use strict";n.d(t,{v:function(){return u},z:function(){return p}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(28526),l=n(58014),c=n(47077);function u(e){return["circle","square"].includes(e)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,c.Z)())return{src:e.url};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,l.Ug)()&&(0,l.M6)())return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:p}=e,{layoutStyle:f}=t,g=m(n)||!0===d()?h:r.Z;let b;if(u(f)&&p&&a){const e=Math.min(s.GP,p,a);b=g(n,{resize:`${e},${e}`})}else b=g(n);const v=300,k=600;let y;if(u(f)){const e=Math.min(k,p,a),t=Math.min(s.GP,p,a);y=(0,i.range)(e,t,v).map((e=>{const t=g(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(k,p),t=Math.min(s.GP,p);y=(0,i.range)(e,t,v).map((e=>{const t=g(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:b},y&&{srcSet:y})}function d(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function m(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},96816:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}]},71486:function(e,t,n){"use strict";var r=n(70124);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:r.Z,isDeprecation:!0}},70124:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{caption:n,guid:o}=t;if(!o)return null;const i=`https://videopress.com/v/${o}`;return(0,r.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${i}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},4207:function(e,t,n){"use strict";var r=n(30663),a=n(7332);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"},videoPressClassNames:{type:"string"},align:{type:"wide"}},support:{reusable:!1},isEligible:e=>{let{videoPressClassNames:t,guid:n}=e;return n&&void 0===t},migrate:e=>{const{className:t,videoPressClassNames:n}=e;return{...e,...(0,a.a)(t,n)}},save:r.Z,isDeprecation:!0}},30663:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(10198);function i(e){const{attributes:{autoplay:t,caption:n,controls:i,guid:s,loop:l,muted:c,poster:u,preload:p,videoPressClassNames:d}={}}=e;if(!s)return null;const m=(0,o.p)(s,{autoplay:t,controls:i,loop:l,muted:c,poster:u,preload:p});return(0,r.createElement)("figure",{className:d},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${m}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},10198:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,poster:s,preload:l}=t;if(!e)return null;const c={...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{posterUrl:s},..."none"!==l&&{preloadContent:l}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,c)}},7332:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(81326),a=n.n(r),o=n(29512),i=n.n(o);const s=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],l=(e,t)=>{const n=s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1}),r=a()(e,{...n,"wp-block-embed":!1,"is-type-video":!1,"is-provider-videopress":!1}),o=new(i())(r);let l=a()(e,t);return o.forEach((e=>{l=l.replace(e,"")})),{className:r,videoPressClassNames:l.trim()}}},3082:function(e,t,n){"use strict";var r=n(38225);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,save:r.Z,isDeprecation:!0}},38225:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(14842);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k}={}}=e,y=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),E=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});return(0,r.createElement)("figure",y,(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${E}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},14842:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},6976:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(27538),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(11313),p=n(55609),d=n(94333),m=n(9818),h=n(52175),f=n(65736),g=n(22607),b=n(41221),v=n(89105),k=n.n(v),y=n(92819),E=n(38341),w=n(45151),_=n(43501),C=n(72905),j=n(9360);const __=f.__,_x=f._x,S=["image"],x=e=>{const{html:t,scripts:n,interactive:r,caption:a,isSelected:o,hideOverlay:i,attributes:l,setAttributes:c}=e,{align:u,className:d,videoPressClassNames:m,maxWidth:f}=l,g=(0,h.useBlockProps)({className:k()("wp-block-video",d,m,{[`align${u}`]:u})});return(0,s.createElement)("figure",g,(0,s.createElement)("div",{className:"wp-block-embed__wrapper"},(0,s.createElement)(p.ResizableBox,{enable:{top:!1,bottom:!1,left:!0,right:!0},maxWidth:"100%",size:{width:f},style:{margin:"auto"},onResizeStop:(e,t,n)=>{let r=getComputedStyle(n).width;if(null!==n.parentElement){r===getComputedStyle(n.parentElement).width&&(r="100%")}c({maxWidth:r})}},(0,s.createElement)(p.SandBox,{html:t,scripts:n,type:m}))),!r&&(0,s.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:i}),(!h.RichText.isEmpty(a)||o)&&(0,s.createElement)(h.RichText,{tagName:"figcaption",placeholder:__("Write caption…","jetpack"),value:a,onChange:e=>c({caption:e}),inlineToolbar:!0}))};t.Z=(0,d.createHigherOrderComponent)((0,d.compose)([(0,m.withSelect)(((e,t)=>{const{autoplay:n,controls:r,guid:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:p,seekbarLoadingColor:d,seekbarPlayedColor:m,src:h,useAverageColor:f}=t.attributes,{getEmbedPreview:g,isRequestingEmbedPreview:b}=e("core"),v=(0,w.p)(a,{autoplay:n,controls:r,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:p,seekbarLoadingColor:d,seekbarPlayedColor:m,useAverageColor:f}),k=!!v&&g(v);return{isFetchingPreview:!!v&&b(v),isUploading:(0,u.isBlobURL)(h),preview:k,url:v}})),(0,m.withDispatch)((e=>({invalidateCachedEmbedPreview:t=>{e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}))),d.withInstanceId,e=>class extends s.Component{constructor(){super(...arguments),i()(this,"hideOverlay",(()=>{this.setState({interactive:!0})})),i()(this,"setRatingAndAllowDownload",(async()=>{const e=(0,y.get)(this.props,"attributes.id"),t=await this.requestMedia(e);let n=(0,y.get)(t,"jetpack_videopress.rating");const r=(0,y.get)(t,"media_details.videopress.allow_download");n&&("X-18"===n&&(n="R-17"),this.setState({rating:n})),void 0!==r&&this.setState({allowDownload:!!r})})),i()(this,"schedulePreviewCacheReload",(()=>{const{invalidateCachedEmbedPreview:e,url:t}=this.props;null===this.previewCacheReloadTimer&&this.previewFailuresCount<5&&(this.previewFailuresCount++,this.previewCacheReloadTimer=setTimeout((()=>{e(t),this.previewCacheReloadTimer=null}),2e3*this.previewFailuresCount))})),i()(this,"fallbackToCore",(()=>{this.props.setAttributes({guid:void 0}),this.setState({fallback:!0})})),i()(this,"setGuid",(async()=>{const{attributes:e,setAttributes:t}=this.props,{id:n}=e;if(n)try{const e=await this.requestMedia(n);if(null===e)return;const r=(0,y.get)(e,"jetpack_videopress.guid");r?(t({guid:r}),this.setTracks(r)):this.fallbackToCore()}catch(e){this.setState({isFetchingMedia:!1}),this.fallbackToCore()}else t({guid:void 0})})),i()(this,"requestMedia",(async e=>{if(!e)return null;if(null!==this.state.media&&this.state.lastRequestedMediaId===e)return this.state.media;this.setState({isFetchingMedia:!0});const t=await c()({path:`/wp/v2/media/${e}`}).catch((()=>(this.setState({fallback:!0}),null))).finally((()=>{this.setState({isFetchingMedia:!1})})),{id:n}=this.props.attributes;return e!==n?null:(this.setState({media:t,lastRequestedMediaId:e}),t)})),i()(this,"setTracks",(e=>{const{setAttributes:t}=this.props;e&&c()({url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}`,credentials:"omit",global:!0}).then((e=>{const n=[];Object.keys(e.tracks).forEach((t=>{for(const r in e.tracks[t]){const a=e.tracks[t][r];n.push({src:a.src,kind:t,srcLang:r,label:a.label})}})),t({videoPressTracks:n})}))})),i()(this,"switchToEditing",(()=>{this.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),i()(this,"onSelectPoster",(e=>{const{setAttributes:t}=this.props;t({poster:e.url})})),i()(this,"onRemovePoster",(()=>{const{setAttributes:e}=this.props;e({poster:""}),this.posterImageButton.current.focus()})),i()(this,"toggleAttribute",(e=>t=>{this.props.setAttributes({[e]:t})})),i()(this,"getAutoplayHelp",(e=>e?__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null)),i()(this,"onChangeRating",(e=>{const t=this.state.rating;"X-18"===e&&(e="R-17"),-1!==(0,y.indexOf)(["G","PG-13","R-17"],e)&&this.updateMetaApiCall({rating:e},(()=>this.setState({isUpdatingRating:!0,rating:e})),(()=>this.setState({rating:t})),(()=>this.setState({isUpdatingRating:!1})))})),i()(this,"onChangeAllowDownload",(e=>{const t=this.state.allowDownload;this.updateMetaApiCall({allow_download:e?1:0},(()=>this.setState({isUpdatingAllowDownload:!0,allowDownload:e})),(()=>this.setState({allowDownload:t})),(()=>this.setState({isUpdatingAllowDownload:!1})))})),i()(this,"updateMetaApiCall",((e,t,n,r)=>{const{invalidateCachedEmbedPreview:a,url:o}=this.props,{id:i}=this.props.attributes;if(!i)return;t();const s={id:i};Object.assign(s,e),c()({path:"/wpcom/v2/videopress/meta",method:"POST",data:s}).then((e=>{status in e&&200!==e.status&&n()})).catch((()=>n())).finally((()=>{r(),a(o)}))})),this.state={media:null,isFetchingMedia:!1,fallback:!1,interactive:!1,rating:null,lastRequestedMediaId:null,isUpdatingRating:!1,allowDownload:null,isUpdatingAllowDownload:!1},this.posterImageButton=(0,s.createRef)(),this.previewCacheReloadTimer=null,this.previewFailuresCount=0}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}async componentDidMount(){const{guid:e}=this.props.attributes;e?this.setTracks(e):await this.setGuid(),this.setRatingAndAllowDownload()}async componentDidUpdate(e){const{attributes:t,invalidateCachedEmbedPreview:n,preview:r,setAttributes:a,url:o,isFetchingPreview:i}=this.props;t.id!==e.attributes.id&&(await this.setGuid(),this.setRatingAndAllowDownload());let s=!1;if(o&&o!==e.url&&(n(o),s=!0),r){const e=(0,_.f)(r.html,k()("wp-block-embed","is-type-video","is-provider-videopress"),!1);this.previewFailuresCount=0,a({videoPressClassNames:e})}else i||s||!this.props.attributes.guid||this.schedulePreviewCacheReload()}getPreloadHelp(){const{attributes:e}=this.props;return"auto"===e.preload?__("Note: Automatically downloading videos may cause issues if there are many videos displayed on the same page.","jetpack"):null}renderControlLabelWithTooltip(e,t){return(0,s.createElement)(p.Tooltip,{text:t,position:"top"},(0,s.createElement)("span",null,e))}render(){const{attributes:t,instanceId:n,isFetchingPreview:r,isUploading:o,preview:i,setAttributes:l}=this.props,{fallback:c,isFetchingMedia:u,isUpdatingRating:d,interactive:m,rating:v,allowDownload:k,isUpdatingAllowDownload:y}=this.state,{autoplay:w,caption:_,controls:T,guid:P,loop:N,muted:A,playsinline:I,poster:B,preload:M,useAverageColor:R,videoPressTracks:L,isVideoPressExample:Z,src:F}=t;if(Z&&F)return(0,s.createElement)("img",{src:F,alt:_});const D=`video-block__poster-image-description-${n}`,O=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h.BlockControls,{group:"block"},(0,s.createElement)(j.Z,{tracks:L,onChange:e=>{l({videoPressTracks:e})},guid:P})),(0,s.createElement)(h.BlockControls,null,(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{className:"components-icon-button components-toolbar__control",label:__("Edit video","jetpack"),onClick:this.switchToEditing,icon:(0,s.createElement)(g.Z,{icon:b.Z})}))),(0,s.createElement)(h.InspectorControls,null,(0,s.createElement)(p.PanelBody,{title:__("Video Settings","jetpack")},(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Autoplay","jetpack"),
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),y=c?l.Z:s.Z,{src:E,srcSet:w}=(0,p.z)(e,{layoutStyle:d});return(0,r.createElement)(y,{alt:e.alt,"aria-label":k,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:b===t,key:t,link:e.link,linkTo:u,onMoveBackward:c?void 0:m(t),onMoveForward:c?void 0:h(t),onRemove:c?void 0:f(t),onSelect:c?void 0:g(t),origUrl:e.url,setAttributes:c?void 0:v(t),showMovers:i.length>1,srcSet:w,url:E,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:l,onResize:m,style:h,isSave:f,columnWidths:g}=this.props,b=(0,p.v)(s)?u.Z:c.Z,v=this.props.images.map(this.renderImage,this),k=s!==d.xJ?Math.min(l,d.Z5):0;return(0,r.createElement)("div",{style:h,className:i()(n,{[`has-rounded-corners-${k}`]:k>0})},(0,r.createElement)(b,{align:e,columns:a,columnWidths:f?g:void 0,images:o,layoutStyle:s,renderedImages:v,onResize:f?void 0:m}),t)}}},46438:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(18294),a=n.n(r),o=n(69307),i=n(6209),s=n(46936),l=n(75084),c=n(51309),u=n(99856),p=n(96001);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t,r=[];(0,u.W)(n).forEach((t=>{r.push((0,u.i)(t,e))})),void 0!==this.props.onResize&&this.props.onResize(r)}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}getColumnWidths(e,t,n){let r=0;return e.map((e=>e.map((e=>{const n=t.slice(r,r+e);return r+=e,n})))).map((e=>(0,u.i)(e,n)))}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)}),d=o.Platform.select({web:()=>this.props.columnWidths,native:()=>this.getColumnWidths(u,a,1e3)})();let m=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,n)=>{var r;const i=a.slice(m,m+e);return m+=e,(0,o.createElement)(s.Z,{key:n,width:null==d||null===(r=d[t])||void 0===r?void 0:r[n]},i)}))))))}}},96001:function(e,t,n){"use strict";n.d(t,{T9:function(){return S},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([B(1.6),(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(I(.9),B(2)),(0,r.overEvery)(I(.9),B(2)),B(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function S(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function B(e){return t=>t<e}},99856:function(e,t,n){"use strict";n.d(t,{W:function(){return i},i:function(){return o}});var r=n(3740);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){return function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);return function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}));return d.map((e=>parseFloat(e/o*100).toFixed(5)))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},51309:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},70216:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(51309),i=n(46936),s=n(75084),l=n(3740);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},10745:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(21340),o=n(15078),i=n(81518),s=n(3740);function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=(0,o.F)(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,i.t)(s.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},13369:function(e,t,n){"use strict";n.d(t,{v:function(){return c},z:function(){return u}});var r=n(69424),a=n(11313),o=n(92819),i=n(13419),s=n(3740),l=n(99621);function c(e){return["circle","square"].includes(e)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,l.Z)())return{src:e.url};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,i.Ug)()&&(0,i.M6)())return{src:e.url};const n=e.url.split("?",1)[0],{height:u,width:h}=e,{layoutStyle:f}=t,g=d(n)||!0===p()?m:r.Z;let b;if(c(f)&&h&&u){const e=Math.min(s.GP,h,u);b=g(n,{resize:`${e},${e}`})}else b=g(n);const v=300,k=600;let y;if(c(f)){const e=Math.min(k,h,u),t=Math.min(s.GP,h,u);y=(0,o.range)(e,t,v).map((e=>{const t=g(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(k,h),t=Math.min(s.GP,h);y=(0,o.range)(e,t,v).map((e=>{const t=g(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:b},y&&{srcSet:y})}function p(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function d(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},10723:function(e,t,n){"use strict";n.d(t,{H:function(){return a},Z:function(){return o}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onFilesSelected:t,onMediaItemSelected:n,onUploadFinished:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onFilesSelected:t,onMediaItemSelected:n,onUploadFinished:o},children:i})}},90879:function(e,t,n){"use strict";n.d(t,{s:function(){return r},v:function(){return a}});const r=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],a={PUBLIC:0,PRIVATE:1,SITE_DEFAULT:2}},29899:function(e,t,n){"use strict";var r=n(4900);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:r.Z,isDeprecation:!0}},4900:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{caption:n,guid:o}=t;if(!o)return null;const i=`https://videopress.com/v/${o}`;return(0,r.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${i}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},97504:function(e,t,n){"use strict";var r=n(30454),a=n(93512);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"},videoPressClassNames:{type:"string"},align:{type:"wide"}},support:{reusable:!1},isEligible:e=>{let{videoPressClassNames:t,guid:n}=e;return n&&void 0===t},migrate:e=>{const{className:t,videoPressClassNames:n}=e;return{...e,...(0,a.a)(t,n)}},save:r.Z,isDeprecation:!0}},30454:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(92490);function i(e){const{attributes:{autoplay:t,caption:n,controls:i,guid:s,loop:l,muted:c,poster:u,preload:p,videoPressClassNames:d}={}}=e;if(!s)return null;const m=(0,o.p)(s,{autoplay:t,controls:i,loop:l,muted:c,poster:u,preload:p});return(0,r.createElement)("figure",{className:d},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${m}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},92490:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,poster:s,preload:l}=t;if(!e)return null;const c={...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{posterUrl:s},..."none"!==l&&{preloadContent:l}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,c)}},93512:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(73320),a=n.n(r),o=n(29512),i=n.n(o);const s=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],l=(e,t)=>{const n=s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1}),r=a()(e,{...n,"wp-block-embed":!1,"is-type-video":!1,"is-provider-videopress":!1}),o=new(i())(r);let l=a()(e,t);return o.forEach((e=>{l=l.replace(e,"")})),{className:r,videoPressClassNames:l.trim()}}},34284:function(e,t,n){"use strict";var r=n(46721);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,save:r.Z,isDeprecation:!0}},46721:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(96931);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k}={}}=e,y=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),E=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});return(0,r.createElement)("figure",y,(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${E}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},96931:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},58351:function(e,t,n){"use strict";var r=n(83619);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,migrate:e=>({...e,useAverageColor:!1}),save:r.Z,isDeprecation:!0}},83619:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(67502);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k,maxWidth:y}={}}=e,E=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),w=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});let _={};return y&&y.length>0&&"100%"!==y&&(_={maxWidth:y,margin:"auto"}),(0,r.createElement)("figure",E,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:_},`\n${w}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},67502:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},30053:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(11313),p=n(55609),d=n(94333),m=n(9818),h=n(52175),f=n(65736),g=n(61074),b=n(77840),v=n(65235),k=n.n(v),y=n(92819),E=n(31302),w=n(90953),_=n(77290),C=n(43774),S=n(75880),j=n(22081),x=n(10723),P=n(90879);const __=f.__,_x=f._x,T=["image"],N=e=>{let{scripts:t}=e;const{html:n,interactive:r,caption:a,isSelected:o,hideOverlay:i,attributes:l,setAttributes:c}=e,{align:u,className:d,videoPressClassNames:m,maxWidth:f}=l,g=(0,h.useBlockProps)({className:k()("wp-block-video",d,m,{[`align${u}`]:u})});if("object"!=typeof t&&(t=[]),window.videopressAjax){const e=new Blob([`var videopressAjax = ${JSON.stringify(window.videopressAjax)};`],{type:"text/javascript"});t.push(URL.createObjectURL(e),window.videopressAjax.bridgeUrl)}return(0,s.createElement)("figure",g,(0,s.createElement)("div",{className:"wp-block-embed__wrapper"},(0,s.createElement)(p.ResizableBox,{enable:{top:!1,bottom:!1,left:!0,right:!0},maxWidth:"100%",size:{width:f},style:{margin:"auto"},onResizeStop:(e,t,n)=>{let r=getComputedStyle(n).width;if(null!==n.parentElement){r===getComputedStyle(n.parentElement).width&&(r="100%")}c({maxWidth:r})}},(0,s.createElement)(p.SandBox,{html:n,scripts:t,type:m}))),!r&&(0,s.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:i}),(!h.RichText.isEmpty(a)||o)&&(0,s.createElement)(h.RichText,{tagName:"figcaption",placeholder:__("Write caption…","jetpack"),value:a,onChange:e=>c({caption:e}),inlineToolbar:!0}))};t.Z=(0,d.createHigherOrderComponent)((0,d.compose)([(0,m.withSelect)(((e,t)=>{const{autoplay:n,controls:r,fileForImmediateUpload:a,guid:o,loop:i,muted:s,playsinline:l,poster:c,preload:p,seekbarColor:d,seekbarLoadingColor:m,seekbarPlayedColor:h,src:f,useAverageColor:g}=t.attributes,{getEmbedPreview:b,isRequestingEmbedPreview:v}=e("core"),k=(0,w.p)(o,{autoplay:n,controls:r,loop:i,muted:s,playsinline:l,poster:c,preload:p,seekbarColor:d,seekbarLoadingColor:m,seekbarPlayedColor:h,useAverageColor:g}),y=!!k&&b(k),E=!!k&&v(k),_=!!window.videoPressResumableEnabled;return{fileForImmediateUpload:a,isFetchingPreview:E,isUploading:!_&&(0,u.isBlobURL)(f),preview:y,resumableUploadEnabled:_,url:k}})),(0,m.withDispatch)((e=>({invalidateCachedEmbedPreview:t=>{e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}))),d.withInstanceId,e=>class extends s.Component{constructor(e){super(...arguments),i()(this,"hideOverlay",(()=>{this.setState({interactive:!0})})),i()(this,"setRatingAndAllowDownload",(async()=>{const e=(0,y.get)(this.props,"attributes.id"),t=await this.requestMedia(e);let n=(0,y.get)(t,"jetpack_videopress.rating");const r=(0,y.get)(t,"jetpack_videopress.allow_download"),a=(0,y.get)(t,"jetpack_videopress.privacy_setting",P.v.SITE_DEFAULT);n&&("X-18"===n&&(n="R-17"),this.setState({rating:n})),void 0!==r&&this.setState({allowDownload:!!r}),void 0!==a&&this.setState({privacySetting:a})})),i()(this,"schedulePreviewCacheReload",(()=>{const{invalidateCachedEmbedPreview:e,url:t}=this.props;null===this.previewCacheReloadTimer&&this.previewFailuresCount<5&&(this.previewFailuresCount++,this.previewCacheReloadTimer=setTimeout((()=>{e(t),this.previewCacheReloadTimer=null}),2e3*this.previewFailuresCount))})),i()(this,"fallbackToCore",(()=>{this.props.setAttributes({guid:void 0}),this.setState({fallback:!0})})),i()(this,"setGuid",(async()=>{const{attributes:e,setAttributes:t}=this.props,{id:n}=e;if(n)try{const e=await this.requestMedia(n);if(null===e)return;const r=(0,y.get)(e,"jetpack_videopress.guid");r?(t({guid:r}),this.setTracks(r)):this.fallbackToCore()}catch(e){this.setState({isFetchingMedia:!1}),this.fallbackToCore()}else t({guid:void 0})})),i()(this,"requestMedia",(async e=>{if(!e)return null;if(null!==this.state.media&&this.state.lastRequestedMediaId===e)return this.state.media;this.setState({isFetchingMedia:!0});const t=await c()({path:`/wp/v2/media/${e}`}).catch((()=>(this.setState({fallback:!0}),null))).finally((()=>{this.setState({isFetchingMedia:!1})})),{id:n}=this.props.attributes;return e!==n?null:(this.setState({media:t,lastRequestedMediaId:e}),t)})),i()(this,"setTracks",(e=>{const{setAttributes:t}=this.props;e&&c()({url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}`,credentials:"omit",global:!0}).then((e=>{const n=[];Object.keys(e.tracks).forEach((t=>{for(const r in e.tracks[t]){const a=e.tracks[t][r];n.push({src:a.src,kind:t,srcLang:r,label:a.label})}})),t({videoPressTracks:n})}))})),i()(this,"switchToEditing",(()=>{this.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),i()(this,"onSelectPoster",(e=>{const{setAttributes:t}=this.props;t({poster:e.url})})),i()(this,"onRemovePoster",(()=>{const{setAttributes:e}=this.props;e({poster:""}),this.posterImageButton.current.focus()})),i()(this,"toggleAttribute",(e=>t=>{this.props.setAttributes({[e]:t})})),i()(this,"getAutoplayHelp",(e=>e?__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null)),i()(this,"getPrivacySettingHelp",(e=>{const t=parseInt(e,10);return P.v.PRIVATE===t?__("Restrict views to members of this site","jetpack"):P.v.PUBLIC===t?__("Video can be viewed by anyone","jetpack"):__("Follow the site privacy setting","jetpack")})),i()(this,"onChangeRating",(e=>{const t=this.state.rating;"X-18"===e&&(e="R-17"),-1!==(0,y.indexOf)(["G","PG-13","R-17"],e)&&this.updateMetaApiCall({rating:e},(()=>this.setState({isUpdatingRating:!0,rating:e})),(()=>this.setState({rating:t})),(()=>this.setState({isUpdatingRating:!1})))})),i()(this,"onChangeAllowDownload",(e=>{const t=this.state.allowDownload;this.updateMetaApiCall({allow_download:e?1:0},(()=>this.setState({isUpdatingAllowDownload:!0,allowDownload:e})),(()=>this.setState({allowDownload:t})),(()=>this.setState({isUpdatingAllowDownload:!1})))})),i()(this,"onChangePrivacySetting",(e=>{const t=this.state.privacySetting;this.updateMetaApiCall({privacy_setting:e},(()=>this.setState({isUpdatingPrivacySetting:!0,privacySetting:e})),(()=>this.setState({privacySetting:t})),(()=>this.setState({isUpdatingPrivacySetting:!1})))})),i()(this,"updateMetaApiCall",((e,t,n,r)=>{const{invalidateCachedEmbedPreview:a,url:o}=this.props,{id:i}=this.props.attributes;if(!i)return;t();const s={id:i};Object.assign(s,e),c()({path:"/wpcom/v2/videopress/meta",method:"POST",data:s}).then((e=>{status in e&&200!==e.status&&n()})).catch((()=>n())).finally((()=>{r(),a(o)}))})),this.state={media:null,isFetchingMedia:!1,fallback:!1,interactive:!1,rating:null,lastRequestedMediaId:null,isUpdatingRating:!1,allowDownload:null,privacySetting:P.v.SITE_DEFAULT,isUpdatingAllowDownload:!1,fileForUpload:e.fileForImmediateUpload,isUpdatingIsPrivate:!1},this.posterImageButton=(0,s.createRef)(),this.previewCacheReloadTimer=null,this.previewFailuresCount=0}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}async componentDidMount(){const{guid:e}=this.props.attributes;e?this.setTracks(e):await this.setGuid(),this.setRatingAndAllowDownload()}async componentDidUpdate(e){const{attributes:t,invalidateCachedEmbedPreview:n,preview:r,setAttributes:a,url:o,isFetchingPreview:i}=this.props;t.id!==e.attributes.id&&(await this.setGuid(),this.setRatingAndAllowDownload());let s=!1;if(o&&o!==e.url&&(n(o),s=!0),r){const e=(0,_.f)(r.html,k()("wp-block-embed","is-type-video","is-provider-videopress"),!1);this.previewFailuresCount=0,a({videoPressClassNames:e})}else i||s||!this.props.attributes.guid||this.schedulePreviewCacheReload()}getPreloadHelp(){const{attributes:e}=this.props;return"auto"===e.preload?__("Note: Automatically downloading videos may cause issues if there are many videos displayed on the same page.","jetpack"):null}renderControlLabelWithTooltip(e,t){return(0,s.createElement)(p.Tooltip,{text:t,position:"top"},(0,s.createElement)("span",null,e))}render(){const{attributes:t,instanceId:n,isFetchingPreview:r,isUploading:o,preview:i,resumableUploadEnabled:l,setAttributes:c}=this.props,{fallback:u,fileForUpload:d,isFetchingMedia:m,isUpdatingRating:v,interactive:k,rating:y,allowDownload:w,privacySetting:_,isUpdatingAllowDownload:A,isUpdatingPrivacySetting:I}=this.state,{autoplay:B,caption:M,controls:R,guid:L,loop:Z,muted:D,playsinline:F,poster:z,preload:O,useAverageColor:U,videoPressTracks:$,isVideoPressExample:H,src:V}=t;if(H&&V)return(0,s.createElement)("img",{src:V,alt:M});const G=`video-block__poster-image-description-${n}`,q=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h.BlockControls,{group:"block"},(0,s.createElement)(j.Z,{tracks:$,onChange:e=>{c({videoPressTracks:e})},guid:L})),(0,s.createElement)(h.BlockControls,null,(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{className:"components-icon-button components-toolbar__control",label:__("Edit video","jetpack"),onClick:this.switchToEditing,icon:(0,s.createElement)(g.Z,{icon:b.Z})}))),(0,s.createElement)(h.InspectorControls,null,(0,s.createElement)(p.PanelBody,{title:__("Video Settings","jetpack")},(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Autoplay","jetpack"),
/* translators: Tooltip describing the "autoplay" option for the VideoPress player */
-__("Start playing the video as soon as the page loads","jetpack")),onChange:this.toggleAttribute("autoplay"),checked:w,help:this.getAutoplayHelp}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Loop","jetpack"),
+__("Start playing the video as soon as the page loads","jetpack")),onChange:this.toggleAttribute("autoplay"),checked:B,help:this.getAutoplayHelp}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Loop","jetpack"),
/* translators: Tooltip describing the "loop" option for the VideoPress player */
-__("Restarts the video when it reaches the end","jetpack")),onChange:this.toggleAttribute("loop"),checked:N}),(0,s.createElement)(p.ToggleControl,{label:__("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:A}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Playback Controls","jetpack"),
+__("Restarts the video when it reaches the end","jetpack")),onChange:this.toggleAttribute("loop"),checked:Z}),(0,s.createElement)(p.ToggleControl,{label:__("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:D}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Playback Controls","jetpack"),
/* translators: Tooltip describing the "controls" option for the VideoPress player */
-__("Display the video playback controls","jetpack")),onChange:this.toggleAttribute("controls"),checked:T}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Play Inline","jetpack"),
+__("Display the video playback controls","jetpack")),onChange:this.toggleAttribute("controls"),checked:R}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Play Inline","jetpack"),
/* translators: Tooltip describing the "playsinline" option for the VideoPress player */
-__("Play the video inline instead of full-screen on mobile devices","jetpack")),onChange:this.toggleAttribute("playsinline"),checked:I}),(0,s.createElement)(p.SelectControl,{label:this.renderControlLabelWithTooltip(__("Preload","jetpack"),
+__("Play the video inline instead of full-screen on mobile devices","jetpack")),onChange:this.toggleAttribute("playsinline"),checked:F}),(0,s.createElement)(p.SelectControl,{label:this.renderControlLabelWithTooltip(__("Preload","jetpack"),
/* translators: Tooltip describing the "preload" option for the VideoPress player */
-__("Content to dowload before the video is played","jetpack")),value:M,onChange:e=>l({preload:e}),options:[{value:"auto",label:_x("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:_x("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:_x("None","VideoPress preload setting","jetpack")}],help:this.getPreloadHelp()}),(0,s.createElement)(h.MediaUploadCheck,null,(0,s.createElement)(p.BaseControl,{className:"editor-video-poster-control",label:__("Poster Image","jetpack")},(0,s.createElement)(h.MediaUpload,{title:__("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:S,render:e=>{let{open:t}=e;return(0,s.createElement)(p.Button,{isDefault:!0,onClick:t,ref:this.posterImageButton,"aria-describedby":D},B?__("Replace image","jetpack",0):__("Select Poster Image","jetpack"))}}),(0,s.createElement)("p",{id:D,hidden:!0},B?(0,f.sprintf)(
+__("Content to dowload before the video is played","jetpack")),value:O,onChange:e=>c({preload:e}),options:[{value:"auto",label:_x("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:_x("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:_x("None","VideoPress preload setting","jetpack")}],help:this.getPreloadHelp()}),(0,s.createElement)(h.MediaUploadCheck,null,(0,s.createElement)(p.BaseControl,{className:"editor-video-poster-control",label:__("Poster Image","jetpack")},(0,s.createElement)(h.MediaUpload,{title:__("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:T,render:e=>{let{open:t}=e;return(0,s.createElement)(p.Button,{variant:"secondary",onClick:t,ref:this.posterImageButton,"aria-describedby":G},z?__("Replace image","jetpack",0):__("Select Poster Image","jetpack"))}}),(0,s.createElement)("p",{id:G,hidden:!0},z?(0,f.sprintf)(
/* translators: Placeholder is an image URL. */
-__("The current poster image url is %s","jetpack"),B):__("There is no poster image currently selected","jetpack")),!!B&&(0,s.createElement)(p.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},__("Remove Poster Image","jetpack"))))),(0,s.createElement)(C.Z,{attributes:t,setAttributes:l,useAverageColor:R,toggleAttribute:this.toggleAttribute}),(0,s.createElement)(p.PanelBody,{title:__("Video File Settings","jetpack")},(0,s.createElement)(p.SelectControl,{label:_x("Rating","The age rating for this video.","jetpack"),value:v,disabled:u||d,options:[{label:_x("G",'Video rating for "General Audiences".',"jetpack"),value:"G"},{label:_x("PG-13",'Video rating for "Parental Guidance", unsuitable for children under 13.',"jetpack"),value:"PG-13"},{label:_x("R",'Video rating for "Restricted", not recommended for children under 17.',"jetpack"),value:"R-17"}],onChange:this.onChangeRating}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Allow download","jetpack"),
+__("The current poster image url is %s","jetpack"),z):__("There is no poster image currently selected","jetpack")),!!z&&(0,s.createElement)(p.Button,{onClick:this.onRemovePoster,variant:"link",isDestructive:!0},__("Remove Poster Image","jetpack"))))),(0,s.createElement)(S.Z,{attributes:t,setAttributes:c,useAverageColor:U,toggleAttribute:this.toggleAttribute}),(0,s.createElement)(p.PanelBody,{title:__("Video File Settings","jetpack")},(0,s.createElement)(p.SelectControl,{label:_x("Rating","The age rating for this video.","jetpack"),value:y,disabled:m||v,options:[{label:_x("G",'Video rating for "General Audiences".',"jetpack"),value:"G"},{label:_x("PG-13",'Video rating for "Parental Guidance", unsuitable for children under 13.',"jetpack"),value:"PG-13"},{label:_x("R",'Video rating for "Restricted", not recommended for children under 17.',"jetpack"),value:"R-17"}],onChange:this.onChangeRating}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Allow download","jetpack"),
/* translators: Tooltip describing the "allow download" option for the VideoPress player */
-__("Display download option and allow viewers to download this video","jetpack")),onChange:this.onChangeAllowDownload,checked:k,disabled:u||y})))),z=u||r,U=c||o||!P,$=U&&!o&&!z;if(U)return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:o||z?"":"videopress-block-hide"},(0,s.createElement)(E.Z,{text:o?__("Uploading…","jetpack"):__("Generating preview…","jetpack",0)})),(0,s.createElement)("div",{className:$?"":"videopress-block-hide"},(0,s.createElement)(e,this.props)));const{html:V,scripts:G}=i||{html:null,scripts:null},H=z||!i;return(0,s.createElement)(s.Fragment,null,O,H&&(0,s.createElement)(E.Z,{text:__("Generating preview…","jetpack")}),!H&&(0,s.createElement)(x,a()({},this.props,{hideOverlay:this.hideOverlay,html:V,scripts:G,interactive:m,caption:_})))}}]),"withVideoPressEdit")},38341:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{text:t}=e;return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(a.Spinner,null),(0,r.createElement)("p",null,t))}},64089:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(89105),s=n.n(i),l=n(45151);t.Z=(0,a.createHigherOrderComponent)((e=>t=>{const{attributes:{autoplay:n,caption:a,controls:i,guid:c,loop:u,muted:p,playsinline:d,poster:m,preload:h,videoPressClassNames:f,className:g,align:b,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E,maxWidth:w}={}}=t,_=o.useBlockProps.save({className:s()("wp-block-video",g,f,{[`align${b}`]:b})});if(!c)return e(t);const C=(0,l.p)(c,{autoplay:n,controls:i,loop:u,muted:p,playsinline:d,poster:m,preload:h,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E});let j={};return w&&w.length>0&&"100%"!==w&&(j={maxWidth:w,margin:"auto"}),(0,r.createElement)("figure",_,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:j},`\n${C}\n`),!o.RichText.isEmpty(a)&&(0,r.createElement)(o.RichText.Content,{tagName:"figcaption",value:a}))}),"withVideoPressSave")},72905:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=(n(99196),n(55609)),s=n(52175),l=n(65736);const __=l.__;class c extends o.Component{constructor(){super(...arguments),a()(this,"handleChangeSeekbarColor",(e=>{this.setState({seekbarColor:e})})),a()(this,"handleChangeSeekbarLoadingColor",(e=>{this.setState({seekbarLoadingColor:e})})),a()(this,"handleChangeSeekbarPlayedColor",(e=>{this.setState({seekbarPlayedColor:e})})),a()(this,"saveColors",(()=>{const{seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n}=this.state,{setAttributes:r}=this.props;r({seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n})}));const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.props.attributes;this.state={seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}}render(){const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.state,{toggleAttribute:r,useAverageColor:a}=this.props,l=!0;return(0,o.createElement)(i.PanelBody,{className:"seekbar-color-settings__panel",title:__("Progress Bar Colors","jetpack"),initialOpen:!1},(0,o.createElement)(i.ToggleControl,{label:__("Match video","jetpack"),help:__("Colors adapt to the video as it plays","jetpack"),onChange:r("useAverageColor"),checked:a}),(0,o.createElement)(s.PanelColorSettings,{opened:!a,showTitle:!1,colorSettings:[{value:e,onChange:this.handleChangeSeekbarColor,label:__("Main","jetpack"),showTitle:l},{value:n,onChange:this.handleChangeSeekbarLoadingColor,label:__("Loaded","jetpack"),showTitle:l},{value:t,onChange:this.handleChangeSeekbarPlayedColor,label:__("Progress","jetpack"),showTitle:l}]},(0,o.createElement)(i.Button,{variant:"secondary",onClick:this.saveColors},__("Save colors","jetpack"))))}}t.Z=c},9360:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(86989),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(31266),u=n(9818);const __=i.__,p="subtitles",d=".vtt,text/vtt",m=[{label:__("Subtitles","jetpack"),value:"subtitles"},{label:__("Captions","jetpack"),value:"captions"},{label:__("Descriptions","jetpack"),value:"descriptions"},{label:__("Chapters","jetpack"),value:"chapters"},{label:__("Metadata","jetpack"),value:"metadata"}],h=(0,r.createElement)(s.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},(0,r.createElement)(s.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(s.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),(0,r.createElement)(s.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"})),f=()=>"videoPressUploadTrack"in window;function g(e){let{tracks:t,onChange:n,guid:a}=e;const[l=-1,c]=(0,r.useState)(),u=e=>{const r=t[e];c(e),((e,t)=>{if(f())return window.videoPressDeleteTrack(t,e.kind,e.srcLang);const n={method:"POST",path:`/videos/${t}/tracks/delete`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang]]};return o()(n)})(r,a).finally((()=>{n(t.filter(((t,n)=>n!==e))),c(-1)}))};let p;return p=0===t.length?(0,r.createElement)("p",{className:"videopress-block-tracks-editor__tracks-informative-message"},__("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.","jetpack")):t.map(((e,t)=>(0,r.createElement)("div",{key:t,className:"videopress-block-tracks-editor__track-list-track"},(0,r.createElement)("span",null,e.label),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__track-list-track-delete"},(0,r.createElement)(s.Button,{isLink:!0,isDestructive:!0,onClick:()=>{u(t)},"aria-label":(0,i.sprintf)(
+__("Display download option and allow viewers to download this video","jetpack")),onChange:this.onChangeAllowDownload,checked:w,disabled:m||A}),(0,s.createElement)(p.SelectControl,{label:__("Video Privacy","jetpack"),help:this.getPrivacySettingHelp(_),onChange:this.onChangePrivacySetting,value:_,options:[{value:P.v.SITE_DEFAULT,label:_x("Site Default","VideoPress privacy setting","jetpack")},{value:P.v.PUBLIC,label:_x("Public","VideoPress privacy setting","jetpack")},{value:P.v.PRIVATE,label:_x("Private","VideoPress privacy setting","jetpack")}],disabled:m||I})))),W=e=>{this.setState({fileForUpload:e[0]})},K=e=>{var t,n;e&&e.url?(this.props.setAttributes({src:e.url,id:e.id,poster:(null===(t=e.image)||void 0===t?void 0:t.src)!==e.icon?null===(n=e.image)||void 0===n?void 0:n.src:void 0}),e.videopress_guid&&this.props.setAttributes({guid:e.videopress_guid})):c({src:void 0,id:void 0,poster:void 0})},X=e=>{let{mediaId:t,guid:n,src:r}=e;this.setState({fileForUpload:null}),t&&n&&r&&c({id:t,guid:n,src:r})};if(null!==d&&d instanceof File)return(0,s.createElement)(x.Z,{onUploadFinished:X},(0,s.createElement)(s.Fragment,null,q,(0,s.createElement)(C.Z,a()({file:d},this.props))));const J=m||r,Y=u||o||!L,Q=Y&&!o&&!J,ee=(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:o||J?"":"videopress-block-hide"},(0,s.createElement)(E.Z,{text:o?__("Uploading…","jetpack"):__("Generating preview…","jetpack",0)})),(0,s.createElement)("div",{className:Q?"":"videopress-block-hide"},(0,s.createElement)(e,this.props)));if(Y)return l?(0,s.createElement)(x.Z,{onFilesSelected:W,onMediaItemSelected:K},ee):(0,s.createElement)(s.Fragment,null,ee);const{html:te,scripts:ne}=i||{html:null,scripts:null},re=J||!i;return(0,s.createElement)(s.Fragment,null,q,re&&(0,s.createElement)(E.Z,{text:__("Generating preview…","jetpack")}),!re&&(0,s.createElement)(N,a()({},this.props,{hideOverlay:this.hideOverlay,html:te,scripts:ne,interactive:k,caption:M})))}}]),"withVideoPressEdit")},31302:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{text:t}=e;return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(a.Spinner,null),(0,r.createElement)("p",null,t))}},43774:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(90861),o=n.n(a),i=n(65736),s=n(81975),l=n(5482),c=n(55609),u=n(52175),p=n(81427),d=n(10723);const __=i.__;function m(e){let{file:t}=e;const[n,a]=(0,r.useState)(0),[m,h]=(0,r.useState)(!1),[f,g]=(0,r.useState)(null),[b,v]=(0,r.useState)(null),{onUploadFinished:k}=(0,r.useContext)(d.H),y=(0,r.useRef)(null);y.current=f;const E=(0,u.useBlockProps)({className:"resumable-upload"}),w=(0,r.useCallback)((()=>{const e=(0,l.J)({onError:e=>{v(e)},onProgress:(e,t)=>{a(e/t*100)},onSuccess:e=>{k(e)}});(0,l.v)().then((n=>{const r=e(t,n);g(r)})).catch((e=>{v(e)}))}),[t,k]);(0,r.useEffect)((()=>(w(),()=>{null!==y.current&&y.current.abort()})),[]);const _=Math.round(n),C={width:`${_}%`},S=(0,s.escapeHTML)(t.name),j=(0,r.createInterpolateElement)((0,i.sprintf)(
+/* translators: Placeholder is a video file name. */
+__("Uploading <strong>%s</strong>","jetpack"),S),{strong:(0,r.createElement)("strong",null)}),x=o()(t.size);return(0,r.createElement)("div",E,(0,r.createElement)("div",{className:"resumable-upload__logo"},(0,r.createElement)(c.Icon,{icon:p.ll}),(0,r.createElement)("div",{className:"resumable-upload__logo-text"},__("VideoPress","jetpack"))),null!==b?(0,r.createElement)("div",{className:"resumable-upload__error"},(0,r.createElement)("div",{className:"resumable-upload__error-text"},__("An error was encountered during the upload. Check your network connection.","jetpack")),(0,r.createElement)(c.Button,{variant:"primary",onClick:()=>(v(null),void w())},__("Try again","jetpack")),(0,r.createElement)(c.Button,{variant:"secondary",onClick:()=>k(),className:"resumable-upload__error-cancel"},__("Cancel","jetpack"))):(0,r.createElement)("div",{className:"resumable-upload__status"},(0,r.createElement)("div",{className:"resumable-upload__file-info"},(0,r.createElement)("div",{className:"resumable-upload__file-name"},j)," — ",(0,r.createElement)("div",{className:"resumable-upload__file-size"},x)),(0,r.createElement)("div",{className:"resumable-upload__progress"},(0,r.createElement)("div",{className:"resumable-upload__progress-loaded",style:C})),(0,r.createElement)("div",{className:"resumable-upload__actions"},(0,r.createElement)("div",{className:"videopress-upload__percent-complete"},`${_}%`),(0,r.createElement)(c.Button,{variant:"link",onClick:()=>{f&&(m?f.start():f.abort(),h(!m))}},m?"Resume":"Pause"))))}},5482:function(e,t,n){"use strict";n.d(t,{J:function(){return i},v:function(){return a}});var r=n(99537);const a=function(e){return new Promise((function(t,n){const r=e?{data:{key:e}}:{};wp.media.ajax("videopress-get-upload-jwt",{async:!0,...r}).done((function(e){t({token:e.upload_token,blogId:e.upload_blog_id,url:e.upload_action_url})})).fail((function(e){n(e)}))}))},o={},i=e=>{let{onError:t,onProgress:n,onSuccess:i}=e;return(e,s)=>{const l=new r.gq(e,{onError:t,onProgress:n,endpoint:s.url,removeFingerprintOnSuccess:!0,withCredentials:!1,autoRetry:!0,overridePatchMethod:!1,chunkSize:1e7,allowedFileTypes:["video/*"],metadata:{filename:e.name,filetype:e.type},retryDelays:[0,1e3,3e3,5e3,1e4],onAfterResponse:function(e,t){if(t.getStatus()>=400)return;const n=t.getHeader("x-videopress-upload-guid"),r=t.getHeader("x-videopress-upload-media-id"),a=t.getHeader("x-videopress-upload-src-url");if(n&&r&&a)return void(i&&i({mediaId:Number(r),guid:n,src:a}));const s={"x-videopress-upload-key-token":"token","x-videopress-upload-key":"key"},l={};Object.keys(s).forEach((function(e){const n=t.getHeader(e);n&&(l[s[e]]=n)})),l.key&&l.token&&(o[l.key]=l.token)},onBeforeRequest:function(e){const t=e._method;if(["HEAD","OPTIONS"].indexOf(t)>=0&&(e._method="GET",e.setHeader("X-HTTP-Method-Override",t)),["DELETE","PUT","PATCH"].indexOf(t)>=0&&(e._method="POST",e.setHeader("X-HTTP-Method-Override",t)),e._xhr.open(e._method,e._url,!0),Object.keys(e._headers).map((function(t){e.setHeader(t,e._headers[t])})),"POST"===t){if(!!!s.token)throw"should never happen";e.setHeader("x-videopress-upload-token",s.token)}if(["OPTIONS","GET","HEAD","DELETE","PUT","PATCH"].indexOf(t)>=0){const n=new URL(e._url).pathname.split("/"),r=n[n.length-1];if(o[r])e.setHeader("x-videopress-upload-token",o[r]);else if("HEAD"===t)return a(r).then((t=>(o[r]=t.token,e.setHeader("x-videopress-upload-token",t.token),e)))}return Promise.resolve(e)}});return l.findPreviousUploads().then((function(e){e.length&&l.resumeFromPreviousUpload(e[0]),l.start()})),l}}},23096:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(65235),s=n.n(i),l=n(90953);t.Z=(0,a.createHigherOrderComponent)((e=>t=>{const{attributes:{autoplay:n,caption:a,controls:i,guid:c,loop:u,muted:p,playsinline:d,poster:m,preload:h,videoPressClassNames:f,className:g,align:b,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E,maxWidth:w}={}}=t,_=o.useBlockProps.save({className:s()("wp-block-video",g,f,{[`align${b}`]:b})});if(!c)return e(t);const C=(0,l.p)(c,{autoplay:n,controls:i,loop:u,muted:p,playsinline:d,poster:m,preload:h,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E});let S={};return w&&w.length>0&&"100%"!==w&&(S={maxWidth:w,margin:"auto"}),(0,r.createElement)("figure",_,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:S},`\n${C}\n`),!o.RichText.isEmpty(a)&&(0,r.createElement)(o.RichText.Content,{tagName:"figcaption",value:a}))}),"withVideoPressSave")},75880:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=(n(99196),n(55609)),s=n(52175),l=n(65736);const __=l.__;class c extends o.Component{constructor(){super(...arguments),a()(this,"handleChangeSeekbarColor",(e=>{this.setState({seekbarColor:e})})),a()(this,"handleChangeSeekbarLoadingColor",(e=>{this.setState({seekbarLoadingColor:e})})),a()(this,"handleChangeSeekbarPlayedColor",(e=>{this.setState({seekbarPlayedColor:e})})),a()(this,"saveColors",(()=>{const{seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n}=this.state,{setAttributes:r}=this.props;r({seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n})}));const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.props.attributes;this.state={seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}}render(){const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.state,{toggleAttribute:r,useAverageColor:a}=this.props,l=!0;return(0,o.createElement)(i.PanelBody,{className:"seekbar-color-settings__panel",title:__("Progress Bar Colors","jetpack"),initialOpen:!1},(0,o.createElement)(i.ToggleControl,{label:__("Match video","jetpack"),help:__("Colors adapt to the video as it plays","jetpack"),onChange:r("useAverageColor"),checked:a}),(0,o.createElement)(s.PanelColorSettings,{opened:!a,showTitle:!1,colorSettings:[{value:e,onChange:this.handleChangeSeekbarColor,label:__("Main","jetpack"),showTitle:l},{value:n,onChange:this.handleChangeSeekbarLoadingColor,label:__("Loaded","jetpack"),showTitle:l},{value:t,onChange:this.handleChangeSeekbarPlayedColor,label:__("Progress","jetpack"),showTitle:l}]},(0,o.createElement)(i.Button,{variant:"secondary",onClick:this.saveColors},__("Save colors","jetpack"))))}}t.Z=c},22081:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(86989),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(47659),u=n(9818);const __=i.__,p="subtitles",d=".vtt,text/vtt",m=[{label:__("Subtitles","jetpack"),value:"subtitles"},{label:__("Captions","jetpack"),value:"captions"},{label:__("Descriptions","jetpack"),value:"descriptions"},{label:__("Chapters","jetpack"),value:"chapters"},{label:__("Metadata","jetpack"),value:"metadata"}],h=(0,r.createElement)(s.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},(0,r.createElement)(s.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(s.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),(0,r.createElement)(s.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"})),f=()=>"videoPressUploadTrack"in window;function g(e){let{tracks:t,onChange:n,guid:a}=e;const[l=-1,c]=(0,r.useState)(),u=e=>{const r=t[e];c(e),((e,t)=>{if(f())return window.videoPressDeleteTrack(t,e.kind,e.srcLang);const n={method:"POST",path:`/videos/${t}/tracks/delete`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang]]};return o()(n)})(r,a).finally((()=>{n(t.filter(((t,n)=>n!==e))),c(-1)}))};let p;return p=0===t.length?(0,r.createElement)("p",{className:"videopress-block-tracks-editor__tracks-informative-message"},__("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.","jetpack")):t.map(((e,t)=>(0,r.createElement)("div",{key:t,className:"videopress-block-tracks-editor__track-list-track"},(0,r.createElement)("span",null,e.label),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__track-list-track-delete"},(0,r.createElement)(s.Button,{variant:"link",isDestructive:!0,onClick:()=>{u(t)},"aria-label":(0,i.sprintf)(
/* translators: %s: Label of the video text track e.g: "French subtitles" */
-__("Delete %s","jetpack"),e.label),disabled:l===t},l===t?__("Deleting","jetpack"):__("Delete","jetpack",0)))))),(0,r.createElement)(s.MenuGroup,{label:__("Text tracks","jetpack"),className:"videopress-block-tracks-editor__track-list"},p)}function b(e){let{track:t,guid:n,onChange:a,onClose:c,onCancel:h,trackExists:g}=e;const[b,v]=(0,r.useState)(),[k=!1,y]=(0,r.useState)(),{label:E="",srcLang:w="",kind:_=p}=t,C=t.tmpFile?t.tmpFile.name:"";if(!(0,u.useSelect)((e=>e(l.store).getSettings().mediaUpload),[]))return null;return(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor"},(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-label"},__("Edit track","jetpack")),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file"},(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label"},(0,r.createElement)("span",null,__("File","jetpack"),":"),""!==C&&(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label-name"},(0,r.createElement)("strong",null,C)),(0,r.createElement)(l.MediaUploadCheck,null,(0,r.createElement)(s.FormFileUpload,{onChange:e=>{const n=e.target.files;!n.length>0||(t.tmpFile=n[0],a(t))},accept:d,render:e=>{let{openFileDialog:t}=e;return(0,r.createElement)(s.Button,{isLink:!0,onClick:()=>{t()}},""===C?__("Select track","jetpack"):__("Change track","jetpack",0))},disabled:k}))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-help"},
+__("Delete %s","jetpack"),e.label),disabled:l===t},l===t?__("Deleting","jetpack"):__("Delete","jetpack",0)))))),(0,r.createElement)(s.MenuGroup,{label:__("Text tracks","jetpack"),className:"videopress-block-tracks-editor__track-list"},p)}function b(e){let{track:t,guid:n,onChange:a,onClose:c,onCancel:h,trackExists:g}=e;const[b,v]=(0,r.useState)(),[k=!1,y]=(0,r.useState)(),{label:E="",srcLang:w="",kind:_=p}=t,C=t.tmpFile?t.tmpFile.name:"";if(!(0,u.useSelect)((e=>e(l.store).getSettings().mediaUpload),[]))return null;return(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor"},(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-label"},__("Edit track","jetpack")),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file"},(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label"},(0,r.createElement)("span",null,__("File","jetpack"),":"),""!==C&&(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label-name"},(0,r.createElement)("strong",null,C)),(0,r.createElement)(l.MediaUploadCheck,null,(0,r.createElement)(s.FormFileUpload,{onChange:e=>{const n=e.target.files;!n.length>0||(t.tmpFile=n[0],a(t))},accept:d,render:e=>{let{openFileDialog:t}=e;return(0,r.createElement)(s.Button,{variant:"link",onClick:()=>{t()}},""===C?__("Select track","jetpack"):__("Change track","jetpack",0))},disabled:k}))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-help"},
/* translators: %s: The allowed file types to be uploaded as a video text track." */
(0,i.sprintf)(__("Allowed formats: %s","jetpack"),d))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-label-language"},(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,label:e}),label:__("Label","jetpack"),value:E,help:__("Title of track","jetpack"),disabled:k}),(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,srcLang:e}),label:__("Source language","jetpack"),value:w,help:__("Language tag (en, fr, etc.)","jetpack"),disabled:k})),(0,r.createElement)(s.SelectControl,{className:"videopress-block-tracks-editor__single-track-editor-kind-select",options:m,value:_,label:
/* translators: %s: The kind of video text track e.g: "Subtitles, Captions" */
-__("Kind","jetpack"),onChange:e=>{a({...t,kind:e})},disabled:k}),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-buttons-container"},k?(0,r.createElement)(s.Spinner,null):(0,r.createElement)(s.Button,{isSecondary:!0,disabled:!t.tmpFile,onClick:()=>{v(null),""===E&&(t.label=__("English","jetpack")),""===w&&(t.srcLang="en"),void 0===t.kind&&(t.kind=p),g(t)?v(__("A track already exists for that language and kind.","jetpack")):(y(!0),((e,t)=>{if(f())return window.videoPressUploadTrack(t,e.kind,e.srcLang,e.label,e.tmpFile);const n={method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang],["label",e.label],["vtt",e.tmpFile]]};return o()(n)})(t,n).then((()=>{a(t),v(null),c()})).catch((e=>{e.message&&v(e.message)})).finally((()=>{y(!1)})))}},__("Save","jetpack")),(0,r.createElement)(s.Button,{isLink:!0,onClick:h},__("Close","jetpack"))),b&&(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-error"},
+__("Kind","jetpack"),onChange:e=>{a({...t,kind:e})},disabled:k}),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-buttons-container"},k?(0,r.createElement)(s.Spinner,null):(0,r.createElement)(s.Button,{variant:"secondary",disabled:!t.tmpFile,onClick:()=>{v(null),""===E&&(t.label=__("English","jetpack")),""===w&&(t.srcLang="en"),void 0===t.kind&&(t.kind=p),g(t)?v(__("A track already exists for that language and kind.","jetpack")):(y(!0),((e,t)=>{if(f())return window.videoPressUploadTrack(t,e.kind,e.srcLang,e.label,e.tmpFile);const n={method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang],["label",e.label],["vtt",e.tmpFile]]};return o()(n)})(t,n).then((()=>{a(t),v(null),c()})).catch((e=>{e.message&&v(e.message)})).finally((()=>{y(!1)})))}},__("Save","jetpack")),(0,r.createElement)(s.Button,{variant:"link",onClick:h},__("Close","jetpack"))),b&&(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-error"},
/* translators: %s: An error message returned after a failed video track file upload." */
-(0,i.sprintf)(__("Error: %s","jetpack"),b))))}function v(e){let{tracks:t=[],onChange:n,guid:a}=e;const[o,i]=(0,r.useState)(null);return(0,r.createElement)(s.Dropdown,{contentClassName:"videopress-block-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,r.createElement)(s.ToolbarButton,{label:__("Text tracks","jetpack"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:h})},renderContent:()=>null!==o?(0,r.createElement)(b,{track:t[o],guid:a,onChange:e=>{const r=[...t];r[o]=e,n(r)},onClose:()=>i(null),onCancel:()=>{n(t.filter(((e,t)=>t!==o))),i(null)},trackExists:e=>-1!==t.filter(((e,t)=>t!==o)).findIndex((t=>t.kind===e.kind&&t.srcLang===e.srcLang))}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)(g,{tracks:t,onChange:n,guid:a}),(0,r.createElement)(s.MenuGroup,{className:"videopress-block-tracks-editor__add-tracks-container",label:__("Add tracks","jetpack")},(0,r.createElement)(s.MenuItem,{icon:c.Z,onClick:()=>{(()=>{const e=t.length,r=[...t];r[e]||(r[e]={}),r[e]={...t[e]},n(r),i(e)})()}},__("Upload track","jetpack")))))})}},45151:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d,useAverageColor:m}=t;if(!e)return null;const h={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d},...m&&{useAverageColor:!0}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,h)}},43501:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(96816),a=n(89105),o=n.n(a);const i=e=>{const t=r.s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1});return o()(e,t)};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return i(t);const a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;const s=a.body.querySelector("iframe");if(s&&s.height&&s.width){const e=(s.width/s.height).toFixed(2);for(let n=0;n<r.s.length;n++){const a=r.s[n];if(e>=a.ratio)return o()(i(t),a.className,"wp-has-aspect-ratio")}}return t}},33144:function(e,t,n){"use strict";n.d(t,{U:function(){return i},m:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i="mrec",s=[{height:250,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:__("Rectangle 300x250","jetpack"),tag:i,width:300,editorPadding:30},{height:90,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:__("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:__("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),(0,r.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:__("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}]},67907:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(21762);const __=i.__,l=e=>{let{value:t,onChange:n}=e;return(0,r.createElement)(o.PanelBody,{title:__("Visibility","jetpack")},(0,r.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:!!t,label:__("Hide on mobile","jetpack"),help:__("Hides this block for site visitors on mobile devices.","jetpack"),onChange:n}))};t.Z=e=>{let{attributes:{format:t,hideMobile:n},setAttributes:o}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(s.Z,{value:t,onChange:e=>o({format:e})})),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(l,{value:n,onChange:e=>o({hideMobile:!!e})})))}},7299:function(e,t,n){"use strict";var r=n(69307),a=n(67907),o=n(33144),i=n(72473),s=n(52203),l=n(38511),c=n(80405);t.Z=e=>{let{attributes:t,setAttributes:n}=e;const{format:u}=t,p=o.m.find((e=>{let{tag:t}=e;return t===u}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Z,{attributes:t,setAttributes:n}),(0,r.createElement)("div",{className:`wp-block-jetpack-wordads jetpack-wordads-${u}`},(0,r.createElement)("div",{className:"jetpack-wordads__ad",style:{width:p.width,height:p.height,backgroundImage:`url( ${(e=>{switch(e){case"leaderboard":return s;case"mobile_leaderboard":return l;case"wideskyscraper":return c;default:return i}})(u)} )`,backgroundSize:"cover"}})))}},21762:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(33144);const s=(0,a.__)("Pick an ad format","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.ToolbarGroup,{controls:[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:s,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},i.m.map((e=>{let{tag:i,name:s,icon:l}=e;return(0,r.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:l,isSelected:i===t,key:i,onClick:()=>{n(i),a()},role:"menuitemcheckbox"},s)})))}})}},62086:function(e,t,n){"use strict";n.d(t,{u2:function(){return c},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(7299),s=n(33144),l=n(57535);const __=a.__,_x=a._x,c="wordads",u=__("Ad","jetpack"),p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),d={title:u,description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Earn income by adding high quality ads to your post","jetpack")),(0,r.createElement)(o.ExternalLink,{href:"https://wordads.co/"},__("Learn all about WordAds","jetpack"))),icon:{src:p,foreground:(0,l.m)()},attributes:{align:{type:"string",default:"center"},format:{type:"string",default:s.U},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"earn",keywords:[_x("ads","block search term","jetpack"),"WordAds",_x("advertisement","block search term","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:i.Z,save:()=>null}},81921:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(57535);const __=a.__,_x=a._x,i={name:"facebook",title:"Facebook",icon:{src:"facebook",foreground:(0,o.m)()},keywords:[_x("social","block search term","jetpack")],description:__("Embed a Facebook post.","jetpack"),patterns:[/^https?:\/\/www\.facebook.com\/.+/i],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateFacebookEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations)return e;const n=e.variations.filter((e=>e.name!==i.name));return e.variations=[...n,i],e}))},17269:function(e,t,n){"use strict";n(81921),n(82122),n(19775),n(34034)},82122:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(57535),i=n(28938);const __=a.__,_x=a._x,s={name:"instagram",title:"Instagram",icon:{src:"instagram",foreground:(0,o.m)()},keywords:[_x("image","block search term","jetpack"),_x("social","block search term","jetpack")],description:__("Embed an Instagram post.","jetpack"),patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i],attributes:{providerNameSlug:"instagram",responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateInstagramEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations||!(0,i.Z)())return e;const n=e.variations.filter((e=>e.name!==s.name));return e.variations=[...n,s],e}))},19775:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(51591);const __=a.__,i={name:"loom",title:"Loom",icon:o.zf,keywords:[__("video","jetpack")],description:__("Embed a Loom video.","jetpack"),patterns:[/^https?:\/\/(www\.)?loom\.com\/share\/.+/i],attributes:{providerNameSlug:"loom",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},34034:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(51591);const __=a.__,i={name:"smartframe",title:"SmartFrame",icon:o.Ae,keywords:[__("smartframe","jetpack")],description:__("Embed a SmartFrame Image.","jetpack"),patterns:[/^https?:\/\/(.*?).smartframe.(io|net)\/.*/i],attributes:{providerNameSlug:"smartframe",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},56771:function(e,t,n){"use strict";var r=n(92694),a=n(4981),o=n(33722);const i={from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"jetpack_widget_social_icons"===t},transform:e=>{let{instance:t}=e,n=[];return t.raw.icons.forEach((e=>{const t=new URL(e.url.includes(":")?e.url:"https://"+e.url),r=t.hostname?t.hostname:t.protocol,i=o.Z.find((e=>r.includes(e.url)||e.url.includes(r))),s=(0,a.createBlock)("core/social-link",{service:i?i.name:"chain",url:e.url});n=[...n,s]})),(0,a.createBlock)("core/social-links",{},n)}}]};(0,r.addFilter)("blocks.registerBlockType","addTransformToSocialLinksWidget",(function(e,t){return"core/social-links"!==t||(e.transforms=i),e}))},33722:function(e,t){"use strict";t.Z=[{name:"wordpress",url:["wordpress."]},{name:"fivehundredpx",url:["500px.com"]},{name:"amazon",url:["amazon."]},{name:"bandcamp",url:["bandcamp.com"]},{name:"behance",url:["behance.net"]},{name:"codepen",url:["codepen.io"]},{name:"deviantart",url:["deviantart.com"]},{name:"dribbble",url:["dribbble.com"]},{name:"dropbox",url:["dropbox.com"]},{name:"etsy",url:["etsy.com"]},{name:"facebook",url:["facebook.com"]},{name:"flickr",url:["flickr.com"]},{name:"foursquare",url:["foursquare.com"]},{name:"goodreads",url:["goodreads.com"]},{name:"google",url:["google."]},{name:"github",url:["github.com"]},{name:"instagram",url:["instagram.com"]},{name:"lastfm",url:["last.fm"]},{name:"linkedin",url:["linkedin.com"]},{name:"mail",url:["mailto:"]},{name:"linkedin",url:["linkedin.com"]},{name:"mastodon",url:["mastodon.social"]},{name:"meetup",url:["meetup.com"]},{name:"medium",url:["medium.com"]},{name:"patreon",url:["patreon.com"]},{name:"pinterest",url:["pinterest."]},{name:"pocket",url:["getpocket.com"]},{name:"reddit",url:["reddit.com"]},{name:"skype",url:["skype.com","skype:"]},{name:"snapchat",url:["snapchat.com"]},{name:"soundcloud",url:["soundcloud.com"]},{name:"spotify",url:["spotify.com"]},{name:"telegram",url:["telegram.me","t.me"]},{name:"tiktok",url:["tiktok.com"]},{name:"tumblr",url:["tumblr.com"]},{name:"twitch",url:["twitch.tv"]},{name:"twitter",url:["twitter.com"]},{name:"vimeo",url:["vimeo.com"]},{name:"vk",url:["vk.com"]},{name:"yelp",url:["yelp.com"]},{name:"youtube",url:["youtube.com"]}]},32630:function(e,t,n){"use strict";n.d(t,{x:function(){return a},L:function(){return o}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o},children:i})}},58721:function(e,t,n){"use strict";var r=n(92819),a=n(47701),o=n.n(a),i=n(92694),s=n(65736),l=n(81475),c=n(44298),u=n(32220),p=n(94239),d=n(99199);const __=s.__,m=[];(0,i.addFilter)("blocks.registerBlockType","jetpack/paid-block",((e,t)=>((0,c.X1)(t)&&(m.includes(t)||m.push(t),e.keywords=(0,r.uniq)([...e.keywords,"premium",__("premium","jetpack")]),(0,c.HD)(t)||(e.icon=(0,u.Z)(e.icon)),e.attributes.shouldDisplayFrontendBanner||(e.attributes.shouldDisplayFrontendBanner={type:"boolean",default:!0})),e))),(0,i.addFilter)("editor.BlockListBlock","jetpack/paid-block-with-warning",l.Z),(0,i.addFilter)("editor.MediaPlaceholder","jetpack/paid-block-media-placeholder",p.Z),(0,i.addFilter)("editor.MediaReplaceFlow","jetpack/paid-block-media-placeholder",d.Z),o()((function(){(0,c.FK)()&&document.body.classList.add("jetpack-enable-upgrade-nudge")}))},94239:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(36745),c=n(44298),u=n(32630);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,c.m3)(n);if(!r?.mediaPlaceholder||!(0,c.X1)(n))return(0,o.createElement)(e,t);const{fileType:s}=r,{onError:p}=t,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x),m=(0,o.useCallback)((e=>d(e?.length&&(0,l.Qu)(e[0],s))),[s,d]),h=(0,o.useCallback)((e=>{const t=e?.[0]?.props?.children;return(0,l.Qu)(t,s)?m([t]):p(e)}),[m,s,p]);return(0,o.createElement)("div",{className:"paid-block-media-placeholder"},(0,o.createElement)(e,a()({},t,{onFilesPreUpload:m,onError:h})))}),"withMediaPlaceholderUpgradable")},99199:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(36745),c=n(44298),u=n(32630);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,c.m3)(n),s=(0,o.useRef)();if(!r?.mediaReplaceFlow||!(0,c.X1)(n))return(0,o.createElement)(e,t);const{fileType:p}=r,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x);return(0,o.createElement)(e,a()({},t,{onFilesUpload:e=>{s.current=e?.length?e[0]:null,d(e?.length&&(0,l.Qu)(e[0],p))},createNotice:(e,n,r)=>{if((0,l.Qu)(s.current,p))return s.current=null,null;t.createNotice(e,n,r)}}))}),"withMediaReplaceFlowUpgradable")},25122:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{cx:t=23,cy:n=3,r:o=4,fill:i="#e34c84",stroke:s="#ffffff",strokeWidth:l="2"}=e;return(0,r.createElement)(a.Circle,{className:"jetpack-paid-block-symbol",cx:t,cy:n,r:o,fill:i,stroke:s,strokeWidth:l})}},32220:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(69307),a=n(25122),o=n(44298);const i=e=>(e?.src?e={...e,src:(0,r.cloneElement)(e.src,{children:[e.src.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})}:e?.props?.children&&(e=(0,r.cloneElement)(e,{children:[e.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})),e);function s(e,t){return(0,o.X1)(e)?i(t):t}t.Z=i},53283:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(18733),i=n(19356);const __=a.__,s=__("Premium Block","jetpack"),l=__("Upgrade your plan to use this premium block","jetpack"),c=__("Upgrade","jetpack");t.ZP=e=>{let{onRedirect:t,align:n,className:a,title:u=s,description:p=l,buttonText:d=c,visible:m=!0,requiredPlan:h,context:f}=e;const[g,b,v]=(0,o.Z)(h,t);return(0,r.createElement)(i.p,{align:n,buttonText:d,checkoutUrl:g,className:a,context:f,description:p,goToCheckoutPage:b,isRedirecting:v,title:u,visible:m})}},63627:function(e,t,n){"use strict";n.d(t,{v:function(){return a},W:function(){return o}});var r=n(11973);const a=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:t,block:n,context:a})},o=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_banner_impression",{plan:t,block:n,context:a})}},81475:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(94333),c=n(9818),u=n(44298),p=n(53283),d=n(32630),m=n(63627);t.Z=(0,l.createHigherOrderComponent)((e=>t=>{const{name:n,className:r,clientId:i,isSelected:l,attributes:h,setAttributes:f}=t||{},{onChildBannerVisibilityChange:g,hasParentBanner:b}=(0,o.useContext)(d.x)||{},v=(0,u.Rl)(n);if(!v)return(0,o.createElement)(e,t);const k=(0,u.HD)(n),y=(0,u.m3)(n),[E,w]=(0,o.useState)(!k),[_,C]=(0,o.useState)(!1),[j,S]=(0,o.useState)(!1),x="editor-canvas",T=(0,c.useSelect)((e=>e("core/block-editor").hasSelectedInnerBlock(i,!0)),[]),P=(l||T)&&E&&!j,N=(0,o.useMemo)((()=>({plan:v,blockName:n,context:x})),[v,n,x]);(0,o.useEffect)((()=>{P&&C(!0)}),[P,C]),(0,o.useEffect)((()=>{!_&&P&&(0,m.W)(N)}),[_,N,P]),(0,o.useEffect)((()=>w(!k)),[h,w,k]),(0,o.useEffect)((()=>{f({shouldDisplayFrontendBanner:!b})}),[f,b]),(0,o.useEffect)((()=>{g&&g(P||j)}),[P,j,g]);const A=s()(r,{"is-upgradable":P});return(0,o.createElement)(d.L,{onBannerVisibilityChange:w,onChildBannerVisibilityChange:S,hasParentBanner:!0},(0,o.createElement)(p.ZP,{className:`is-${t.name.replace(/\//,"-")}-paid-block`,title:null,align:t?.attributes?.align,visible:P,description:y?.description,requiredPlan:v,context:x,onRedirect:()=>(0,m.v)(N)}),(0,o.createElement)(e,a()({},t,{className:A})))}),"withUpgradeBanner")},5587:function(e,t,n){"use strict";var r=n(69307),a=n(11268),o=n.n(a),i=n(51591);const s=e=>{const{id:t,serviceName:n,label:a,profilePicture:o}=e;return(0,r.createElement)("label",{htmlFor:t,className:"jetpack-publicize-connection-label"},(0,r.createElement)("div",{className:o?"components-connection-icon__picture":""},o&&(0,r.createElement)("img",{src:o,alt:a}),(0,r.createElement)(i.av,{serviceName:n,className:"jetpack-publicize-gutenberg-social-icon"})),(0,r.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},a))};s.propTypes={id:o().string.isRequired,serviceName:o().string,label:o().string,profilePicture:o().string},t.Z=s},90342:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(11268),s=n.n(i),l=n(55609),c=n(5587);const u=e=>{const{className:t,checked:n,id:a,disabled:i,onChange:s,serviceName:u,label:p,profilePicture:d}=e,m=o()("components-connection-toggle",{"is-not-checked":!n,"is-disabled":i});return(0,r.createElement)("div",{className:m},(0,r.createElement)(c.Z,{id:a,serviceName:u,label:p,profilePicture:d}),(0,r.createElement)(l.FormToggle,{id:a,className:t,checked:n,onChange:s,disabled:i}))};u.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},t.Z=u},9580:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(94333),c=n(9818);const __=i.__;class u extends o.Component{constructor(){super(...arguments),a()(this,"refreshConnectionClick",(e=>{const{href:t,title:n}=e.target;e.preventDefault();const r=window.open(t,n,""),a=window.setInterval((()=>{!1!==r.closed&&(window.clearInterval(a),this.props.refreshConnections())}),500)}))}componentDidMount(){this.props.refreshConnections()}renderRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>e.can_refresh));return t.length?(0,o.createElement)(s.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},(0,o.createElement)("p",null,__("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((e=>(0,o.createElement)(s.Button,{href:e.refresh_url,isSmall:!0,key:e.id,onClick:this.refreshConnectionClick,title:e.refresh_text},e.refresh_text)))):null}renderNonRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>!e.can_refresh));return t.length?t.map((e=>(0,o.createElement)(s.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},(0,o.createElement)("p",null,e.test_message)))):null}render(){return(0,o.createElement)(o.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}t.Z=(0,l.compose)([(0,c.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections()}))),(0,c.withDispatch)((e=>({refreshConnections:e("jetpack/publicize").refreshConnectionTestResults})))])(u)},65459:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(9818),c=n(92819),u=n(4235),p=n(90342);const __=i.__;class d extends o.Component{constructor(){super(...arguments),a()(this,"maybeDisplayLinkedInNotice",(()=>this.connectionNeedsReauth()&&(0,o.createElement)(s.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},(0,o.createElement)("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),(0,o.createElement)(s.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,u.Z)()}`},__("Go to Sharing settings","jetpack"))))),a()(this,"connectionNeedsReauth",(()=>(0,c.includes)(this.props.mustReauthConnections,this.props.name))),a()(this,"onConnectionChange",(()=>{const{id:e}=this.props;this.props.toggleConnection(e)}))}connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}render(){const{disabled:e,enabled:t,id:n,label:r,name:a,profilePicture:i}=this.props,l="connection-"+a+"-"+n,c=a.replace("_","-");let u=(0,o.createElement)(p.Z,{id:l,className:"jetpack-publicize-connection-toggle",checked:t,onChange:this.onConnectionChange,disabled:e,serviceName:c,label:r,profilePicture:i});return(e||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=(0,o.createElement)(s.Disabled,null,u)),(0,o.createElement)("li",null,this.maybeDisplayLinkedInNotice(),(0,o.createElement)("div",{className:"publicize-jetpack-connection-container"},u))}}t.Z=(0,l.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()})))(d)},94552:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(55609),o=n(65459),i=n(97527),s=n(11230),l=n(69423),c=n(47959);function u(e){let{isPublicizeEnabled:t,isRePublicizeFeatureEnabled:n,isPublicizeDisabledBySitePlan:u}=e;const{connections:p,toggleById:d,hasConnections:m}=(0,l.Z)(),{message:h,updateMessage:f,maxLength:g}=(0,c.Z)();const b=u?a.Disabled:r.Fragment;return(0,r.createElement)(b,null,m&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("ul",{className:"jetpack-publicize__connections-list"},p.map((e=>{let{display_name:a,enabled:i,id:s,service_name:l,toggleable:c,profile_picture:p}=e;return(0,r.createElement)(o.Z,{disabled:n?!t:!c,enabled:i&&!u,key:s,id:s,label:a,name:l,toggleConnection:d,profilePicture:p})})))),!u&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,null),p.some((e=>e.enabled))&&(0,r.createElement)(s.Z,{disabled:!n&&p.every((e=>!e.toggleable)),maxLength:g,onChange:f,message:h})))}},11230:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_n=a._n;function i(e){let{message:t="",onChange:n,disabled:i,maxLength:s}=e;const l=s-t.length;return(0,r.createElement)(o.TextareaControl,{value:t,onChange:n,disabled:i,maxLength:s,placeholder:__("Write a message for your audience here.","jetpack"),rows:4,help:(0,a.sprintf)(
-/* translators: placeholder is a number. */
-_n("%d character remaining","%d characters remaining",l,"jetpack"),l)})}},8425:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(12238),s=n(9818),l=n(9580),c=n(94552),u=n(58933),p=n(69423),d=n(20265),m=n(23731),h=n(99490),f=n(96609);const __=a.__;t.Z=e=>{let{prePublish:t}=e;const{refresh:n,hasConnections:a,hasEnabledConnections:g}=(0,p.Z)(),b=(0,s.useSelect)((e=>e(i.store).isCurrentPostPublished()),[]),{isRePublicizeFeatureEnabled:v,isPublicizeEnabled:k,togglePublicizeFeature:y,isPublicizeDisabledBySitePlan:E,hideRePublicizeFeature:w}=(0,m.Z)(),_=k&&!E;(0,d.M)((function(){g&&n()}),[g,n]);const C=E?o.Disabled:o.PanelRow,j=t?r.Fragment:o.PanelBody,S=t?{}:{title:__("Share this post","jetpack"),className:E?"jetpack-publicize-disabled":""};return(0,r.createElement)(j,S,(0,r.createElement)(f.Z,{isPostPublished:b}),!w&&(0,r.createElement)(r.Fragment,null,v&&!b&&(0,r.createElement)(C,null,(0,r.createElement)(o.ToggleControl,{className:"jetpack-publicize-toggle",label:_&&!E?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:y,checked:_,disabled:!a})),(0,r.createElement)(l.Z,null),(0,r.createElement)(c.Z,{isPublicizeEnabled:_,isRePublicizeFeatureEnabled:v,isPublicizeDisabledBySitePlan:E}),!E&&(0,r.createElement)(u.Z,{prePublish:t}),(0,r.createElement)(h.o,null)))}},97527:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(92819),o=n(75031),i=n(65736),s=n(55609),l=n(4235),c=n(69423);const __=i.__;function u(){const{refresh:e}=(0,c.Z)(),t=(0,l.Z)(),n=(0,a.debounce)((function(t){t&&e()}),2e3),i=t?`https://wordpress.com/marketing/connections/${t}`:"options-general.php?page=sharing&publicize_popup=true";return(0,r.createElement)(o.Z,{onChange:n},(0,r.createElement)("div",{className:"jetpack-publicize-add-connection-wrapper"},(0,r.createElement)(s.ExternalLink,{href:i,target:"_blank"},__("Connect an account","jetpack"))))}},99490:function(e,t,n){"use strict";n.d(t,{o:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(53961),l=n(12238),c=n(90732),u=n(69423),p=n(23731);const __=a.__;function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:__("Unable to share the Post","jetpack");const{createErrorNotice:t}=(0,i.dispatch)(s.store);t(e,{id:"publicize-post-share-message"})}function m(){const{hasEnabledConnections:e}=(0,u.Z)(),{isPublicizeEnabled:t}=(0,p.Z)(),{isFetching:n,isError:a,isSuccess:m,doPublicize:h}=(0,c.Z)(),f=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);(0,r.useEffect)((()=>{if(!n)return a?d():void(m&&function(){const{createSuccessNotice:e}=(0,i.dispatch)(s.store);e(__("Post shared","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[n,a,m]);const g=!t||!e||!f||n;return(0,r.createElement)(o.Button,{isSecondary:!0,onClick:function(){if(!f)return d(__("You must publish your post before you can share it.","jetpack"));(0,i.dispatch)(s.store).removeNotice("publicize-post-share-message"),h()},disabled:g,isBusy:n},__("Share post","jetpack"))}function h(){const{isRePublicizeFeatureEnabled:e,isRePublicizeUpgradableViaUpsell:t}=(0,p.Z)(),n=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);return e&&n?t?null:(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(m,null)):null}},41093:function(e,t,n){"use strict";n.d(t,{nE:function(){return l},H8:function(){return c}});var r=n(69307),a=n(94333),o=n(9818),i=n(92694),s=n(54802);const l={"core/gallery":{contentAttributes:["images"]},"core/heading":{contentAttributes:["content"]},"core/image":{contentAttributes:["alt","url"]},"core/list":{contentAttributes:["values"]},"core/paragraph":{contentAttributes:["content"]},"core/quote":{contentAttributes:["value","citation"]},"core/separator":{contentAttributes:[]},"core/spacer":{contentAttributes:[]},"core/verse":{contentAttributes:["content"]},"core/video":{contentAttributes:["src"]},"core/embed":{contentAttributes:["url"]},"jetpack/gif":{contentAttributes:["giphyUrl"]}},c=["core/column","core/columns","core/group"];(0,i.addFilter)("blocks.registerBlockType","jetpack/publishing-tweetstorms",(e=>{const{edit:t}=e;return{...e,edit:e=>(0,r.createElement)(s.Z,{ChildEdit:t,childProps:e})}}));t.ZP=(0,a.compose)([(0,o.withSelect)((e=>({isTweetStorm:e("jetpack/publicize").isTweetStorm(),isTyping:e("core/block-editor").isTyping()})))])((e=>{let{isTweetStorm:t,isTyping:n}=e;return t?document.body.classList.add("jetpack-tweetstorm"):document.body.classList.remove("jetpack-tweetstorm"),t&&n?document.body.classList.add("jetpack-tweetstorm-is-typing"):document.body.classList.remove("jetpack-tweetstorm-is-typing"),null}))},58933:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(9818);n(42998);const __=a.__;t.Z=(0,i.compose)([(0,s.withSelect)((e=>{const{isTweetStorm:t,getTweetStorm:n}=e("jetpack/publicize");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),isTweetStorm:t(),tweetStormLength:n().length}})),(0,s.withDispatch)((e=>({setTweetstorm:t=>{e("core/editor").editPost({meta:{jetpack_is_tweetstorm:t}}),t?e("jetpack/publicize").refreshTweets():(e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm"),e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm-line-break"))}})))])((e=>{let{connections:t,isTweetStorm:n,tweetStormLength:a,setTweetstorm:i,prePublish:s}=e;if(!t?.some((e=>"twitter"===e.service_name&&e.enabled)))return null;const l=(e,t)=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,e),(0,r.createElement)("br",null),t),c=[];return a>=102?c.push({id:"jetpack-publicize-twitter-tweetstorm-too-long",status:"error",content:__("Only the first 100 tweets of this post will be published in the Twitter thread.","jetpack"),isDismissible:!1}):a>=22?c.push({id:"jetpack-publicize-twitter-tweetstorm-a-bit-long",status:"warning",content:__("This post will create a Twitter thread more than 20 tweets long.","jetpack"),isDismissible:!1}):s&&a<=2&&c.push({id:"jetpack-publicize-twitter-tweetstorm-too-short",status:"warning",content:__("None of the content in this post could be transformed into tweets, it may be better to share as a single tweet.","jetpack"),isDismissible:!1}),(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(o.RadioControl,{label:__("Twitter settings","jetpack"),selected:n?"tweetstorm":"single",options:[{label:l(__("Single Tweet","jetpack"),__("Share a link to this post to Twitter.","jetpack")),value:"single"},{label:l(__("Twitter Thread","jetpack"),__("Share the content of this post as a Twitter thread.","jetpack")),value:"tweetstorm"}],onChange:e=>{i("tweetstorm"===e)}}),n&&(0,r.createElement)(o.NoticeList,{className:"jetpack-publicize-twitter-options__notices",notices:c}))}))},54802:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(55609),i=n(94333),s=n(9818),l=(n(42998),n(51591));class c extends r.Component{componentDidMount(){const{isTweetStorm:e,updateTweets:t}=this.props;e&&t()}componentDidUpdate(e){const{boundaries:t,childProps:n,currentAnnotations:r,isTweetStorm:o,updateAnnotations:i,updateTweets:s,supportedBlockType:l,contentAttributesChanged:c}=this.props;o&&l&&(c(e.childProps,n)&&s(),r.length===t.filter((e=>["normal","line-break"].includes(e.type))).length&&(0,a.isEqual)(e.boundaries,t)||i())}render(){const{ChildEdit:e,childProps:t,isTweetStorm:n,isSelectedTweetBoundary:a,boundaryStylesSelectors:i,popoverWarnings:s}=this.props;return n?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(e,t),a&&(0,r.createElement)("div",{className:"jetpack-publicize-twitter__tweet-divider"},(0,r.createElement)("div",{className:"jetpack-publicize-twitter__tweet-divider-icon"},(0,r.createElement)(l.av,{serviceName:"twitter"})),s.length>0&&(0,r.createElement)(o.Popover,{className:"jetpack-publicize-twitter__tweet-divider-popover",focusOnMount:!1,position:"bottom center"},(0,r.createElement)("ol",null,s.map(((e,t)=>(0,r.createElement)("li",{key:`jetpack-publicize-twitter__tweet-divider-popover-warning-${t}`},e)))))),i&&(0,r.createElement)("style",{type:"text/css"},i.map((e=>`${e}::after {\n\t\t\t\t\t\t\t\tcontent: "";\n\t\t\t\t\t\t\t\tbackground: #0009;\n\t\t\t\t\t\t\t\twidth: 3px;\n\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\tmargin: 0 1px;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.is-dark-theme ${e}::after {\n\t\t\t\t\t\t\t\tbackground: #fff9;\n\t\t\t\t\t\t\t}`)))):(0,r.createElement)(e,t)}}t.Z=(0,i.compose)([(0,s.withSelect)(((e,t)=>{let{childProps:n}=t;const{isTweetStorm:r,getPopoverWarnings:a,getBoundariesForBlock:o,getBoundaryStyleSelectors:i,isSelectedTweetBoundary:s,getSupportedBlockType:l,contentAttributesChanged:c}=e("jetpack/publicize"),u=e("core/annotations").__experimentalGetAllAnnotationsForBlock(n.clientId);return{isTweetStorm:r(),isSelectedTweetBoundary:s(n),boundaries:o(n.clientId),boundaryStylesSelectors:i(n.clientId),popoverWarnings:a(n),currentAnnotations:u,supportedBlockType:l(n.name),contentAttributesChanged:c}})),(0,s.withDispatch)(((e,t,n)=>{let{childProps:r}=t,{select:a}=n;return{updateTweets:()=>e("jetpack/publicize").refreshTweets(),updateAnnotations:()=>{const{contentAttributesChanged:t,getTweetsForBlock:n}=a("jetpack/publicize"),o=n(r.clientId);if(!o||0===o.length)return;if(t(o.reduce(((e,t)=>e||t.blocks.find((e=>e.clientId===r.clientId))),!1),r))return;a("core/annotations").__experimentalGetAllAnnotationsForBlock(r.clientId).forEach((t=>{["jetpack-tweetstorm","jetpack-tweetstorm-line-break"].includes(t.source)&&e("core/annotations").__experimentalRemoveAnnotation(t.id)}));o.filter((e=>e.boundary)).map((e=>e.boundary)).forEach((t=>{const{container:n,type:a,start:o,end:i}=t;"normal"===a?e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm",richTextIdentifier:n,range:{start:o,end:i}}):"line-break"===a&&e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm-line-break",richTextIdentifier:n,range:{start:o,end:i}})}))}}}))])(c)},96609:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609),l=n(84675),c=n(44298),u=n(18733),p=n(23731),d=n(58014),m=n(69423);const __=i.__;function h(e){let{isPostPublished:t}=e;const{isRePublicizeFeatureEnabled:n,isRePublicizeUpgradableViaUpsell:a,isRePublicizeFeatureAvailable:h,isPublicizeEnabled:f}=(0,p.Z)(),g=(0,c.Rl)("republicize"),[b,v,k,y]=(0,u.Z)(g),{hasConnections:E,hasEnabledConnections:w}=(0,m.Z)(),_=f&&!(a&&n);if(!t||!n||t&&h)return(0,r.createElement)("div",null,function(e,t,n,r,a){const o=__("Start sharing your posts by connecting your social media accounts.","jetpack"),i=__("This post will be shared on all your enabled social media accounts the moment you publish the post.","jetpack");return t?r?n&&a?n&&a&&!e?i:__("Share this post on all your enabled social media accounts by clicking on the share post button.","jetpack"):__("Use this tool to share your post on all your social media accounts.","jetpack"):o:e?o:i}(t,n,_,E,w));const C=y?.product_name||__("paid","jetpack"),j=!(0,d.Ug)()&&!(0,d.Wp)(),S=j?__("Re-sharing your content","jetpack"):__("Share Your Content Again","jetpack",0),x=j?"https://jetpack.com/support/publicize/#re-sharing-your-content":"https://wordpress.com/support/publicize/#share-your-content-again",T=__("Upgrade now","jetpack");return h||a?(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("div",{className:"jetpack-publicize__upsell-description"},(0,i.sprintf)(
+(0,i.sprintf)(__("Error: %s","jetpack"),b))))}function v(e){let{tracks:t=[],onChange:n,guid:a}=e;const[o,i]=(0,r.useState)(null);return(0,r.createElement)(s.Dropdown,{contentClassName:"videopress-block-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,r.createElement)(s.ToolbarButton,{label:__("Text tracks","jetpack"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:h})},renderContent:()=>null!==o?(0,r.createElement)(b,{track:t[o],guid:a,onChange:e=>{const r=[...t];r[o]=e,n(r)},onClose:()=>i(null),onCancel:()=>{n(t.filter(((e,t)=>t!==o))),i(null)},trackExists:e=>-1!==t.filter(((e,t)=>t!==o)).findIndex((t=>t.kind===e.kind&&t.srcLang===e.srcLang))}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)(g,{tracks:t,onChange:n,guid:a}),(0,r.createElement)(s.MenuGroup,{className:"videopress-block-tracks-editor__add-tracks-container",label:__("Add tracks","jetpack")},(0,r.createElement)(s.MenuItem,{icon:c.Z,onClick:()=>{(()=>{const e=t.length,r=[...t];r[e]||(r[e]={}),r[e]={...t[e]},n(r),i(e)})()}},__("Upload track","jetpack")))))})}},90953:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d,useAverageColor:m}=t;if(!e)return null;const h={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d},...m&&{useAverageColor:!0}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,h)}},77290:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(90879),a=n(65235),o=n.n(a);const i=e=>{const t=r.s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1});return o()(e,t)};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return i(t);const a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;const s=a.body.querySelector("iframe");if(s&&s.height&&s.width){const e=(s.width/s.height).toFixed(2);for(let n=0;n<r.s.length;n++){const a=r.s[n];if(e>=a.ratio)return o()(i(t),a.className,"wp-has-aspect-ratio")}}return t}},50354:function(e,t,n){"use strict";n.d(t,{U:function(){return i},m:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i="mrec",s=[{height:250,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:__("Rectangle 300x250","jetpack"),tag:i,width:300,editorPadding:30},{height:90,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:__("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:__("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),(0,r.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:__("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}]},56565:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(1020);const __=i.__,l=e=>{let{value:t,onChange:n}=e;return(0,r.createElement)(o.PanelBody,{title:__("Visibility","jetpack")},(0,r.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:!!t,label:__("Hide on mobile","jetpack"),help:__("Hides this block for site visitors on mobile devices.","jetpack"),onChange:n}))};t.Z=e=>{let{attributes:{format:t,hideMobile:n},setAttributes:o}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(s.Z,{value:t,onChange:e=>o({format:e})})),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(l,{value:n,onChange:e=>o({hideMobile:!!e})})))}},53193:function(e,t,n){"use strict";var r=n(69307),a=n(56565),o=n(50354),i=n(72473),s=n(52203),l=n(38511),c=n(80405);t.Z=e=>{let{attributes:t,setAttributes:n}=e;const{format:u}=t,p=o.m.find((e=>{let{tag:t}=e;return t===u}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Z,{attributes:t,setAttributes:n}),(0,r.createElement)("div",{className:`wp-block-jetpack-wordads jetpack-wordads-${u}`},(0,r.createElement)("div",{className:"jetpack-wordads__ad",style:{width:p.width,height:p.height,backgroundImage:`url( ${(e=>{switch(e){case"leaderboard":return s;case"mobile_leaderboard":return l;case"wideskyscraper":return c;default:return i}})(u)} )`,backgroundSize:"cover"}})))}},1020:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(50354);const s=(0,a.__)("Pick an ad format","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.ToolbarGroup,{controls:[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:s,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},i.m.map((e=>{let{tag:i,name:s,icon:l}=e;return(0,r.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:l,isSelected:i===t,key:i,onClick:()=>{n(i),a()},role:"menuitemcheckbox"},s)})))}})}},57795:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},u2:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(53193),s=n(50354),l=n(70355);const __=a.__,_x=a._x,c="wordads",u=__("Ad","jetpack"),p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),d={title:u,description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Earn income by adding high quality ads to your post","jetpack")),(0,r.createElement)(o.ExternalLink,{href:"https://wordads.co/"},__("Learn all about WordAds","jetpack"))),icon:{src:p,foreground:(0,l.m)()},attributes:{align:{type:"string",default:"center"},format:{type:"string",default:s.U},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"earn",keywords:[_x("ads","block search term","jetpack"),"WordAds",_x("advertisement","block search term","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:i.Z,save:()=>null}},6460:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"descript",title:"Descript",icon:o.h,keywords:[__("descript","jetpack")],description:__("Embed a Descript Item.","jetpack"),patterns:[/^https:\/\/share.descript.com\/(view|embed)\/\w+/i],attributes:{providerNameSlug:"descript",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},5166:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(70355);const __=a.__,_x=a._x,i={name:"facebook",title:"Facebook",icon:{src:"facebook",foreground:(0,o.m)()},keywords:[_x("social","block search term","jetpack")],description:__("Embed a Facebook post.","jetpack"),patterns:[/^https?:\/\/www\.facebook.com\/.+/i],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateFacebookEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations)return e;const n=e.variations.filter((e=>e.name!==i.name));return e.variations=[...n,i],e}))},36215:function(e,t,n){"use strict";n(5166),n(20970),n(25467),n(91128),n(6460)},20970:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(70355),i=n(12923);const __=a.__,_x=a._x,s={name:"instagram",title:"Instagram",icon:{src:"instagram",foreground:(0,o.m)()},keywords:[_x("image","block search term","jetpack"),_x("social","block search term","jetpack")],description:__("Embed an Instagram post.","jetpack"),patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i],attributes:{providerNameSlug:"instagram",responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateInstagramEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations||!(0,i.Z)())return e;const n=e.variations.filter((e=>e.name!==s.name));return e.variations=[...n,s],e}))},25467:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"loom",title:"Loom",icon:o.zf,keywords:[__("video","jetpack")],description:__("Embed a Loom video.","jetpack"),patterns:[/^https?:\/\/(www\.)?loom\.com\/share\/.+/i],attributes:{providerNameSlug:"loom",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},91128:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"smartframe",title:"SmartFrame",icon:o.Ae,keywords:[__("smartframe","jetpack")],description:__("Embed a SmartFrame Image.","jetpack"),patterns:[/^https?:\/\/(.*?).smartframe.(io|net)\/.*/i],attributes:{providerNameSlug:"smartframe",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},31657:function(e,t,n){"use strict";var r=n(92694),a=n(4981),o=n(6512);const i={from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"jetpack_widget_social_icons"===t},transform:e=>{let{instance:t}=e,n=[];return t.raw.icons.forEach((e=>{const t=new URL(e.url.includes(":")?e.url:"https://"+e.url),r=t.hostname?t.hostname:t.protocol,i=o.Z.find((e=>r.includes(e.url)||e.url.includes(r))),s=(0,a.createBlock)("core/social-link",{service:i?i.name:"chain",url:e.url});n=[...n,s]})),(0,a.createBlock)("core/social-links",{},n)}}]};(0,r.addFilter)("blocks.registerBlockType","addTransformToSocialLinksWidget",(function(e,t){return"core/social-links"!==t||(e.transforms=i),e}))},6512:function(e,t){"use strict";t.Z=[{name:"wordpress",url:["wordpress."]},{name:"fivehundredpx",url:["500px.com"]},{name:"amazon",url:["amazon."]},{name:"bandcamp",url:["bandcamp.com"]},{name:"behance",url:["behance.net"]},{name:"codepen",url:["codepen.io"]},{name:"deviantart",url:["deviantart.com"]},{name:"dribbble",url:["dribbble.com"]},{name:"dropbox",url:["dropbox.com"]},{name:"etsy",url:["etsy.com"]},{name:"facebook",url:["facebook.com"]},{name:"flickr",url:["flickr.com"]},{name:"foursquare",url:["foursquare.com"]},{name:"goodreads",url:["goodreads.com"]},{name:"google",url:["google."]},{name:"github",url:["github.com"]},{name:"instagram",url:["instagram.com"]},{name:"lastfm",url:["last.fm"]},{name:"linkedin",url:["linkedin.com"]},{name:"mail",url:["mailto:"]},{name:"linkedin",url:["linkedin.com"]},{name:"mastodon",url:["mastodon.social"]},{name:"meetup",url:["meetup.com"]},{name:"medium",url:["medium.com"]},{name:"patreon",url:["patreon.com"]},{name:"pinterest",url:["pinterest."]},{name:"pocket",url:["getpocket.com"]},{name:"reddit",url:["reddit.com"]},{name:"skype",url:["skype.com","skype:"]},{name:"snapchat",url:["snapchat.com"]},{name:"soundcloud",url:["soundcloud.com"]},{name:"spotify",url:["spotify.com"]},{name:"telegram",url:["telegram.me","t.me"]},{name:"tiktok",url:["tiktok.com"]},{name:"tumblr",url:["tumblr.com"]},{name:"twitch",url:["twitch.tv"]},{name:"twitter",url:["twitter.com"]},{name:"vimeo",url:["vimeo.com"]},{name:"vk",url:["vk.com"]},{name:"yelp",url:["yelp.com"]},{name:"youtube",url:["youtube.com"]}]},87950:function(e,t,n){"use strict";n.d(t,{L:function(){return o},x:function(){return a}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o},children:i})}},23984:function(e,t,n){"use strict";var r=n(92819),a=n(13419),o=n(47701),i=n.n(o),s=n(92694),l=n(65736),c=n(27003),u=n(42770),p=n(30371),d=n(7832);const __=l.__,m=[];(0,s.addFilter)("blocks.registerBlockType","jetpack/paid-block",((e,t)=>((0,a.X1)(t)&&(m.includes(t)||m.push(t),e.keywords=(0,r.uniq)([...e.keywords,"premium",__("premium","jetpack")]),(0,a.HD)(t)||(e.icon=(0,u.Z)(e.icon)),e.attributes.shouldDisplayFrontendBanner||(e.attributes.shouldDisplayFrontendBanner={type:"boolean",default:!0})),e))),(0,s.addFilter)("editor.BlockListBlock","jetpack/paid-block-with-warning",c.Z),(0,s.addFilter)("editor.MediaPlaceholder","jetpack/paid-block-media-placeholder",p.Z),(0,s.addFilter)("editor.MediaReplaceFlow","jetpack/paid-block-media-placeholder",d.Z),i()((function(){(0,a.FK)()&&document.body.classList.add("jetpack-enable-upgrade-nudge")}))},30371:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(13419),c=n(11317),u=n(87950);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,l.m3)(n);if(null==r||!r.mediaPlaceholder||!(0,l.X1)(n))return(0,o.createElement)(e,t);const{fileType:s}=r,{onError:p}=t,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x),m=(0,o.useCallback)((e=>d((null==e?void 0:e.length)&&(0,c.Qu)(e[0],s))),[s,d]),h=(0,o.useCallback)((e=>{var t,n;const r=null==e||null===(t=e[0])||void 0===t||null===(n=t.props)||void 0===n?void 0:n.children;return(0,c.Qu)(r,s)?m([r]):p(e)}),[m,s,p]);return(0,o.createElement)("div",{className:"paid-block-media-placeholder"},(0,o.createElement)(e,a()({},t,{onFilesPreUpload:m,onError:h})))}),"withMediaPlaceholderUpgradable")},7832:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(13419),s=n(52175),l=n(94333),c=n(11317),u=n(87950);t.Z=(0,l.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,s.useBlockEditContext)(),r=(0,i.m3)(n),l=(0,o.useRef)();if(null==r||!r.mediaReplaceFlow||!(0,i.X1)(n))return(0,o.createElement)(e,t);const{fileType:p}=r,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x);return(0,o.createElement)(e,a()({},t,{onFilesUpload:e=>{l.current=null!=e&&e.length?e[0]:null,d((null==e?void 0:e.length)&&(0,c.Qu)(e[0],p))},createNotice:(e,n,r)=>{if((0,c.Qu)(l.current,p))return l.current=null,null;t.createNotice(e,n,r)}}))}),"withMediaReplaceFlowUpgradable")},95796:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{cx:t=23,cy:n=3,r:o=4,fill:i="#e34c84",stroke:s="#ffffff",strokeWidth:l="2"}=e;return(0,r.createElement)(a.Circle,{className:"jetpack-paid-block-symbol",cx:t,cy:n,r:o,fill:i,stroke:s,strokeWidth:l})}},42770:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(69307),a=n(13419),o=n(95796);const i=e=>{var t,n,a;return null!==(t=e)&&void 0!==t&&t.src?e={...e,src:(0,r.cloneElement)(e.src,{children:[e.src.props.children,(0,r.createElement)(o.Z,{key:"paid-symbol"})]})}:null!==(n=e)&&void 0!==n&&null!==(a=n.props)&&void 0!==a&&a.children&&(e=(0,r.cloneElement)(e,{children:[e.props.children,(0,r.createElement)(o.Z,{key:"paid-symbol"})]})),e};function s(e,t){return(0,a.X1)(e)?i(t):t}t.Z=i},66316:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(9818),i=n(78798),s=n(26546);const __=a.__,l=__("Premium Block","jetpack"),
+/** translators: %s: name of the plan. */
+c=__("Upgrade to %s to use this premium block","jetpack"),u=(__("Upgrade your plan to use this premium block","jetpack"),__("Upgrade","jetpack"));t.ZP=e=>{let{onRedirect:t,align:n,className:p,title:d=l,description:m=null,buttonText:h=u,visible:f=!0,requiredPlan:g,context:b}=e;const[v,k,y]=(0,i.Z)(g,t),E=(0,o.useSelect)((e=>{if(m)return m;const t=e("wordpress-com/plans"),n=t&&t.getPlan(g);return n?(0,a.sprintf)(c,n.product_name_short):null}),[m]);return E&&(0,r.createElement)(s.p,{align:n,buttonText:h,checkoutUrl:v,className:p,context:b,description:E,goToCheckoutPage:k,isRedirecting:y,title:d,visible:f})}},38140:function(e,t,n){"use strict";n.d(t,{W:function(){return o},v:function(){return a}});var r=n(84069);const a=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:t,block:n,context:a})},o=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_banner_impression",{plan:t,block:n,context:a})}},27003:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(13419),c=n(94333),u=n(9818),p=n(66316),d=n(87950),m=n(38140);t.Z=(0,c.createHigherOrderComponent)((e=>t=>{var n;const{name:r,className:i,clientId:c,isSelected:h,attributes:f,setAttributes:g}=t||{},{onChildBannerVisibilityChange:b,hasParentBanner:v}=(0,o.useContext)(d.x)||{},k=(0,l.Rl)(r);if(!k)return(0,o.createElement)(e,t);const y=(0,l.HD)(r),E=(0,l.m3)(r),[w,_]=(0,o.useState)(!y),[C,S]=(0,o.useState)(!1),[j,x]=(0,o.useState)(!1),P="editor-canvas",T=(0,u.useSelect)((e=>e("core/block-editor").hasSelectedInnerBlock(c,!0)),[]),N=(h||T)&&w&&!j,A=(0,o.useMemo)((()=>({plan:k,blockName:r,context:P})),[k,r,P]);(0,o.useEffect)((()=>{N&&S(!0)}),[N,S]),(0,o.useEffect)((()=>{!C&&N&&(0,m.W)(A)}),[C,A,N]),(0,o.useEffect)((()=>_(!y)),[f,_,y]),(0,o.useEffect)((()=>{g({shouldDisplayFrontendBanner:!v})}),[g,v]),(0,o.useEffect)((()=>{b&&b(N||j)}),[N,j,b]);const I=s()(i,{"is-upgradable":N});return(0,o.createElement)(d.L,{onBannerVisibilityChange:_,onChildBannerVisibilityChange:x,hasParentBanner:!0},(0,o.createElement)(p.ZP,{className:`is-${t.name.replace(/\//,"-")}-paid-block`,title:null,align:null==t||null===(n=t.attributes)||void 0===n?void 0:n.align,visible:N,description:null==E?void 0:E.description,requiredPlan:k,context:P,onRedirect:()=>(0,m.v)(A)}),(0,o.createElement)(e,a()({},t,{className:I})))}),"withUpgradeBanner")},29719:function(e,t,n){"use strict";n.d(t,{X:function(){return m},u:function(){return d}});var r=n(69307),a=n(26324),o=n(55609),i=n(72067),s=n(9818),l=n(12238),c=n(64967),u=n(65736),p=n(84069);const __=u.__,d="payments",m={render:()=>{const e=(0,a.Z)("wpcom-payments-donations");return"page"!==(0,s.useSelect)((e=>e(l.store).getCurrentPostType()),[])?null:(0,r.createElement)(i.PluginPostPublishPanel,{className:"jetpack-payments-post-publish-panel",title:__("Start accepting payments","jetpack"),initialOpen:!0,icon:c.Z},(0,r.createElement)("p",null,__("Insert the Payment Button or the Donations Form — no plugin required.","jetpack")),(0,r.createElement)("p",null,(0,r.createElement)(o.ExternalLink,{href:e,onClick:()=>{p.Z.tracks.recordEvent("jetpack_editor_payments_post_publish_click")}},__("Learn more about these blocks","jetpack"))))}}},69683:function(e,t,n){"use strict";n.d(t,{D:function(){return m}});var r=n(69307),a=n(9818),o=n(12238),i=n(55609),s=n(65736),l=n(49777),c=n(41141),u=n(65864),p=n(81427);const __=s.__;function d(){const e=(0,r.useRef)(),[t,n]=(0,r.useState)();(0,r.useEffect)((()=>{if(null==e||!e.current)return;const t=e.current.querySelector("svg");if(!t)return;const r=(new XMLSerializer).serializeToString(t);n(`data:image/svg+xml;base64,${window.btoa(r)}`)}),[e]);const i=(0,a.useSelect)((e=>e(o.store).getPermalink()),[]),{dataUrl:s}=(0,c.Z)({generateDataUrl:!0}),u=s||t;return(0,r.createElement)("div",{ref:e},(0,r.createElement)(l.Z,{value:i,size:300,imageSettings:u&&{src:u,width:64,height:64},renderAs:"canvas",level:"H"}),(0,r.createElement)(p.IM,{className:"qr-post-jetpack-logo",size:48,border:2}))}function m(){const e=(0,r.useRef)(),t=(0,a.useSelect)((e=>e(o.store).getEditedPostSlug()),[]),[n,s]=(0,r.useState)(!1),l=()=>s(!1);return(0,r.createElement)("div",{className:"qr-post-button"},(0,r.createElement)(i.Button,{isSecondary:!0,onClick:()=>s((e=>!e))},__("Get QR code","jetpack")),n&&(0,r.createElement)(i.Modal,{title:__("QR Post code","jetpack"),onRequestClose:l,className:"qr-post-modal"},(0,r.createElement)("div",{className:"qr-post-modal__qr-code",ref:e},(0,r.createElement)(d,null)),(0,r.createElement)("div",{className:"qr-post-modal__actions_buttons"},(0,r.createElement)(i.Button,{isSecondary:!0,onClick:()=>(0,u.N)(t,e)},__("Download","jetpack")),(0,r.createElement)(i.Button,{isSecondary:!0,onClick:l},__("Close","jetpack")))))}},41141:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9818),a=n(69307),o=n(37798),i=n(92694);function s(){let{generateDataUrl:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=(0,a.useState)(),{id:s,mediaItemData:l}=(0,r.useSelect)((e=>{const{canUser:t,getEntityRecord:n,getEditedEntityRecord:r}=e(o.store),a=r("root","site"),i=n("root","__unstableBase"),s=null==a?void 0:a.site_logo,l=null==i?void 0:i.site_logo,c=t("update","settings")?s:l,u=c&&e(o.store).getMedia(c,{context:"view"});return{id:c,mediaItemData:u&&{mediaId:u.id,url:u.source_url,alt:u.alt_text}}}),[]);if(!s||null==l||!l.url)return{};if(!e)return{id:s,...l};const c=new Image,u=(0,i.applyFilters)("media.crossOrigin",void 0,l.url);return"string"==typeof u&&(c.crossOrigin=u),c.onload=function(){const e=document.createElement("canvas"),t=e.getContext("2d");e.height=this.naturalHeight,e.width=this.naturalWidth,t.fillStyle="white",t.lineJoin="round",t.fillRect(0,0,e.width,e.height);const r=.08*e.width;t.drawImage(this,r,r,e.width-2*r,e.height-2*r);try{n(e.toDataURL("image/png"))}catch(e){console.warn("Error generating QR code extensions post-publish-qr-post-panel: ",e),console.warn("In case it's a cross-origin issue, take a look at https://developer.wordpress.org/block-editor/reference-guides/filters/editor-filters/#media-crossorigin"),n(null)}},c.src=l.url,{id:s,...l,dataUrl:t}}},30730:function(e,t,n){"use strict";n.d(t,{X:function(){return d},u:function(){return p}});var r=n(69307),a=n(55609),o=n(72067),i=n(65736),s=n(9818),l=n(12238),c=n(34613),u=n(69683);const __=i.__,p="post-publish-qr-post-panel",d={render:function(){const e={name:"post-publish-qr-post-panel",title:__("QR Code","jetpack"),className:"post-publish-qr-post-panel",icon:null,initialOpen:!0},t=(0,s.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);function n(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("p",null,__("Take advantage of the QR code to open the post from different devices.","jetpack"))),(0,r.createElement)(u.D,null))}return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PluginPostPublishPanel,e,(0,r.createElement)(n,null)),t&&(0,r.createElement)(c.Z,null,(0,r.createElement)(a.PanelBody,e,(0,r.createElement)(n,null))))}}},65864:function(e,t,n){"use strict";function r(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return;if(null==t||!t.current)return;const r=t.current.querySelector("canvas");r&&r.toBlob((t=>{const r=URL.createObjectURL(t),a=document.createElement("a");a.href=r,a.setAttribute(n?"download":"target",`qr-post-${e}.png`),a.click()}))}n.d(t,{N:function(){return r}})},1393:function(e,t,n){"use strict";var r=n(69307),a=n(74356),o=n(65736),i=n(55609),s=n(12238),l=n(9818),c=n(42401),u=n(37271),p=n(18374);const __=o.__;t.Z=e=>{let{prePublish:t}=e;const{refresh:n,hasConnections:o,hasEnabledConnections:d}=(0,a.oL)(),m=(0,l.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),{isRePublicizeFeatureEnabled:h,isPublicizeEnabled:f,togglePublicizeFeature:g,isPublicizeDisabledBySitePlan:b,hideRePublicizeFeature:v}=(0,c.Z)(),k=f&&!b;(0,a.M1)((function(){d&&n()}),[d,n]);const y=b?i.Disabled:i.PanelRow,E=t?r.Fragment:i.PanelBody,w=t?{}:{title:__("Share this post","jetpack"),className:b?"jetpack-publicize-disabled":""};return(0,r.createElement)(E,w,(0,r.createElement)(p.Z,{isPostPublished:m}),!v&&(0,r.createElement)(r.Fragment,null,h&&!m&&(0,r.createElement)(y,null,(0,r.createElement)(i.ToggleControl,{className:"jetpack-publicize-toggle",label:k&&!b?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:g,checked:k,disabled:!o})),(0,r.createElement)(a.dZ,null),(0,r.createElement)(a.l0,{isPublicizeEnabled:k,isRePublicizeFeatureEnabled:h,isPublicizeDisabledBySitePlan:b}),k&&(0,r.createElement)(a.rP,{prePublish:t}),(0,r.createElement)(u.o,null)))}},37271:function(e,t,n){"use strict";n.d(t,{o:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(53961),l=n(12238),c=n(74356),u=n(31281),p=n(42401);const __=a.__;function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:__("Unable to share the Post","jetpack");const{createErrorNotice:t}=(0,i.dispatch)(s.store);t(e,{id:"publicize-post-share-message"})}function m(){const{hasEnabledConnections:e}=(0,c.oL)(),{isPublicizeEnabled:t}=(0,p.Z)(),{isFetching:n,isError:a,isSuccess:m,doPublicize:h}=(0,u.Z)(),f=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);(0,r.useEffect)((()=>{if(!n)return a?d():void(m&&function(){const{createSuccessNotice:e}=(0,i.dispatch)(s.store);e(__("Post shared","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[n,a,m]);const g=!t||!e||!f||n;return(0,r.createElement)(o.Button,{variant:"secondary",onClick:function(){if(!f)return d(__("You must publish your post before you can share it.","jetpack"));(0,i.dispatch)(s.store).removeNotice("publicize-post-share-message"),h()},disabled:g,isBusy:n},__("Share post","jetpack"))}function h(){const{isRePublicizeFeatureEnabled:e,isRePublicizeUpgradableViaUpsell:t}=(0,p.Z)(),n=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);return e&&n?t?null:(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(m,null)):null}},18374:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65235),o=n.n(a),i=n(13419),s=n(65736),l=n(55609),c=n(15381),u=n(74356),p=n(78798),d=n(42401);const __=s.__;function m(e){let{isPostPublished:t}=e;const{isRePublicizeFeatureEnabled:n,isRePublicizeUpgradableViaUpsell:a,isRePublicizeFeatureAvailable:m,isPublicizeEnabled:h}=(0,d.Z)(),f=(0,i.Rl)("republicize"),[g,b,v,k]=(0,p.Z)(f),{hasConnections:y,hasEnabledConnections:E}=(0,u.oL)(),w=h&&!(a&&n);if(!t||!n||t&&m)return(0,r.createElement)("div",null,function(e,t,n,r,a){const o=__("Start sharing your posts by connecting your social media accounts.","jetpack"),i=__("This post will be shared on all your enabled social media accounts the moment you publish the post.","jetpack");return t?r?n&&a?n&&a&&!e?i:__("Share this post on all your enabled social media accounts by clicking on the share post button.","jetpack"):__("Use this tool to share your post on all your social media accounts.","jetpack"):o:e?o:i}(t,n,w,y,E));const _=(null==k?void 0:k.product_name)||__("paid","jetpack"),C=!(0,i.Ug)()&&!(0,i.Wp)(),S=C?__("Re-sharing your content","jetpack"):__("Share Your Content Again","jetpack",0),j=C?"https://jetpack.com/support/publicize/#re-sharing-your-content":"https://wordpress.com/support/publicize/#share-your-content-again",x=__("Upgrade now","jetpack");return m||a?(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("div",{className:"jetpack-publicize__upsell-description"},(0,s.sprintf)(
/* translators: placeholder is the product name of the plan. */
-__("To re-share a post, you need to upgrade to the %s plan","jetpack"),C)),(0,r.createElement)(s.Button,{href:k?null:b,onClick:v,target:"_top",icon:l.Z,className:o()("jetpack-publicize__upsell-button is-primary",{"jetpack-upgrade-plan__hidden":!b}),isBusy:k},k?__("Redirecting…","jetpack"):T)):(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("strong",null,S),(0,r.createElement)("br",null),(0,i.sprintf)(
+__("To re-share a post, you need to upgrade to the %s plan","jetpack"),_)),(0,r.createElement)(l.Button,{href:v?null:g,onClick:b,target:"_top",icon:c.Z,className:o()("jetpack-publicize__upsell-button is-primary",{"jetpack-upgrade-plan__hidden":!g}),isBusy:v},v?__("Redirecting…","jetpack"):x)):(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("strong",null,S),(0,r.createElement)("br",null),(0,s.sprintf)(
/* translators: placeholder is the product name of the plan. */
-__("This feature is for sites with a %s plan.","jetpack"),C),(0,r.createElement)("br",null),(0,r.createElement)(s.ExternalLink,{href:x},__("More information.","jetpack")))}},23731:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(9818),a=n(12238),o=n(21409),i=n(44298);const s="republicize";function l(){const{togglePublicizeFeature:e}=(0,r.useDispatch)("jetpack/publicize"),{available:t}=(0,o.Z)(s),n=(0,r.useSelect)((e=>e(a.store).isCurrentPostPublished()),[]),l=(0,r.useSelect)((e=>e("jetpack/publicize").getFeatureEnableState()),[]),c=!!window?.Jetpack_Editor_Initial_State.jetpack?.republicize_enabled,u=(0,i.X1)(s);return{isPublicizeEnabledMeta:l,isRePublicizeFeatureEnabled:c,isPublicizeEnabled:n&&!(u&&c)||l,togglePublicizeFeature:e,isPublicizeDisabledBySitePlan:c&&n&&u,isRePublicizeFeatureAvailable:t,isRePublicizeUpgradableViaUpsell:u,hideRePublicizeFeature:n&&!t&&!u&&c}}},20265:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(94333),a=n(12238),o=n(9818),i=n(69307);function s(e,t){const n=(0,o.useSelect)((e=>e(a.store).isPublishingPost()),[]),s=(0,r.usePrevious)(n);(0,i.useEffect)((()=>{s&&!n&&e()}),[n,s,e,t])}},90732:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(86989),a=n.n(r),o=n(9818),i=n(12238),s=n(69307),l=n(65736),c=n(47959),u=n(69423);const __=l.__;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 d(e){const{message:t}=(0,c.Z)(),{skippedConnections:n}=(0,u.Z)(),r=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]);e=e||r;const[l,d]=(0,s.useState)({data:[],error:{}}),m=(0,s.useCallback)((function(){const r={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(!l.isFetching)return d({...r,isFetching:!0}),a()({path:`/wpcom/v2/posts/${e}/publicize`,method:"POST",data:{message:t,skipped_connections:n}}).then((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=p(e);if(t)return d((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));d((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:e?.results,error:{}})))})).catch((e=>{d((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:p(e)})))})),function(){d(r)}}),[e,t,n,l.isFetching]);return{...l,doPublicize:m}}},69423:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9818);function a(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,r.useDispatch)("jetpack/publicize"),n=(0,r.useSelect)((e=>e("jetpack/publicize").getConnections()),[]),a=n.filter((e=>!e.enabled)).map((e=>e.id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:n&&n.some((e=>e.enabled)),skippedConnections:a,toggleById:t,refresh:e}}},47959:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9818),a=n(12238);function o(){const{editPost:e}=(0,r.useDispatch)(a.store),{message:t,maxLength:n}=(0,r.useSelect)((e=>({message:e("jetpack/publicize").getShareMessage(),maxLength:e("jetpack/publicize").getShareMessageMaxLength()})),[]);return{message:t,maxLength:n,updateMessage:function(t){e({meta:{jetpack_publicize_message:t}})}}}},72228:function(e,t,n){"use strict";n.d(t,{u:function(){return u},X:function(){return p}});var r=n(69307),a=n(65736),o=n(72067),i=n(12238),s=(n(64967),n(41093)),l=n(32673),c=n(8425);const __=a.__,u="publicize",p={render:()=>(0,r.createElement)(i.PostTypeSupportCheck,{supportKeys:"publicize"},(0,r.createElement)(s.ZP,null),(0,r.createElement)(l.Z,null,(0,r.createElement)(c.Z,null)),(0,r.createElement)(o.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:(0,r.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},__("Share this post","jetpack"))},(0,r.createElement)(c.Z,{prePublish:!0})))}},59213:function(e,t,n){"use strict";n.r(t),n.d(t,{refreshConnectionTestResults:function(){return a},toggleConnectionById:function(){return o},togglePublicizeFeature:function(){return i},fetchFromAPI:function(){return s},refreshTweets:function(){return l},setTweets:function(){return c},getTwitterCards:function(){return u},setTwitterCards:function(){return p}});var r=n(9818);function a(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function o(e){return{type:"TOGGLE_CONNECTION_BY_ID",connectionId:e}}function i(){return{type:"TOGGLE_PUBLICIZE_FEATURE"}}function s(e){return{type:"FETCH_FROM_API",path:e}}function l(){return{type:"REFRESH_TWEETS"}}function c(e){return{type:"SET_TWEETS",tweets:e}}function u(e){const{twitterCardIsCached:t}=(0,r.select)("jetpack/publicize");return{type:"GET_TWITTER_CARDS",urls:e.filter((e=>!t(e)))}}function p(e){return{type:"SET_TWITTER_CARDS",cards:e}}},39808:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z={FETCH_FROM_API:e=>{let{path:t}=e;return a()({path:t})}}},94663:function(e,t,n){"use strict";var r=n(92819),a=n(86989),o=n.n(a),i=n(4981),s=n(9818),l=n(12238),c=n(41093);const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const{getSupportedBlockType:t}=(0,s.select)("jetpack/publicize");return(0,r.flatMap)(e,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(e.name)||e.name.startsWith("core-embed/")?e:c.H8.includes(e.name)?u(e.innerBlocks):[]}))};const p=(0,r.throttle)((async function(){const e=(0,s.select)("core/editor").getBlocks(),t=u(e);try{const e=await o()({path:"/wpcom/v2/tweetstorm/parse",data:{blocks:t.map((e=>({attributes:e.attributes,block:(0,i.serialize)(e),clientId:e.clientId})))},method:"POST"}),n=(0,r.flatMap)(e,(e=>e.urls));return(0,s.dispatch)("jetpack/publicize").getTwitterCards(n),(0,s.dispatch)("jetpack/publicize").setTweets(e)}catch(e){}}),2e3,{leading:!0,trailing:!0});t.ZP={REFRESH_CONNECTION_TEST_RESULTS:async function(){try{const e=await o()({path:"/wpcom/v2/publicize/connection-test-results"}),t=(0,s.select)("jetpack/publicize").getConnections(),n=e,r=[],a={done:!1,enabled:!0,toggleable:!0};for(const e of n){const n=t.find((t=>t.id===e.id)),{done:o,enabled:i,toggleable:s}=null!=n?n:a,l={display_name:e.display_name,service_name:e.service_name,id:e.id,profile_picture:e.profile_picture,done:o,enabled:i,toggleable:s};r.push(l)}return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:r})}catch(e){}},TOGGLE_CONNECTION_BY_ID:async function(e){let{connectionId:t}=e;const n=(0,s.select)("jetpack/publicize").getConnections().map((e=>({...e,enabled:e.id===t?!e.enabled:e.enabled})));return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:n})},TOGGLE_PUBLICIZE_FEATURE:async function(){const e=(0,s.select)("jetpack/publicize").getFeatureEnableState();return(0,s.dispatch)(l.store).editPost({meta:{jetpack_publicize_feature_enabled:!e}})},REFRESH_TWEETS:p,GET_TWITTER_CARDS:async function(e){if(0===e.urls.length)return(0,s.dispatch)("jetpack/publicize").setTwitterCards([]);try{const t=await o()({path:"/wpcom/v2/tweetstorm/generate-cards",data:{urls:e.urls},method:"POST"});return(0,s.dispatch)("jetpack/publicize").setTwitterCards(t)}catch(e){}}}},64967:function(e,t,n){"use strict";var r=n(9818),a=n(59213),o=n(62016),i=n(49591),s=n(39808),l=n(44391);const c=(0,r.registerStore)("jetpack/publicize",{actions:a,controls:s.Z,reducer:l.Z,selectors:o});(0,i.Z)(c)},49591:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2601),a=n.n(r),o=n(92819),i=n(94663);function s(e){const t=[a()(i.ZP)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},44391:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={tweets:[],twitterCards:[]};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REFRESH_CONNECTION_TEST_RESULTS":case"TOGGLE_CONNECTION_BY_ID":case"TOGGLE_PUBLICIZE_FEATURE":return e;case"SET_TWEETS":return{...e,tweets:t.tweets};case"GET_TWITTER_CARDS":{const n={};return t.urls.forEach((e=>n[e]={error:"loading"})),{...e,twitterCards:{...e.twitterCards,...n}}}case"SET_TWITTER_CARDS":return{...e,twitterCards:{...e.twitterCards,...t.cards}}}return e}},62016:function(e,t,n){"use strict";n.r(t),n.d(t,{getFailedConnections:function(){return u},getMustReauthConnections:function(){return p},getTweetTemplate:function(){return d},getTweetStorm:function(){return m},getFirstTweet:function(){return h},getLastTweet:function(){return f},getSupportedBlockType:function(){return g},getTweetsForBlock:function(){return b},getTwitterCardForURLs:function(){return v},twitterCardIsCached:function(){return k},getShareMessage:function(){return y},getShareMessageMaxLength:function(){return E},isTweetStorm:function(){return w},getBoundariesForBlock:function(){return _},getBoundaryStyleSelectors:function(){return j},checkForTagsInContentAttributes:function(){return S},getPopoverWarnings:function(){return x},isSelectedTweetBoundary:function(){return T},contentAttributesChanged:function(){return P},getConnections:function(){return N},getFeatureEnableState:function(){return A}});var r=n(92819),a=n(19551),o=n(9818),i=n(65736),s=n(12238),l=n(41093);const __=i.__,c="\n\n"+__("A thread ⬇️","jetpack");function u(){return N().filter((e=>!1===e.test_success))}function p(){return N().filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function d(e){const t=(e.connections||N())?.find((e=>"twitter"===e.service_name));return{date:Date.now(),name:t?.profile_display_name||__("Account Name","jetpack"),profileImage:t?.profile_picture||"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:t?.display_name||""}}function m(e){const t=d(e),n=[h(e),...e.tweets.slice(0,100).map((n=>({...t,text:n.text,media:n.media,tweet:n.tweet,urls:n.urls,card:v(e,n.urls)})))];return n.length>1&&n.push(f(e)),n}function h(e){if(!(0,o.select)("core"))return;const t=d(e),{getMedia:n}=(0,o.select)("core"),{getEditedPostAttribute:r}=(0,o.select)("core/editor"),a=r("featured_media"),i=r("link"),s=a&&n(a),l=s?.media_details?.sizes?.large?.source_url||s?.source_url;return{...t,text:y()+` ${i}`,urls:[i],card:{title:r("title"),description:r("meta")?.advanced_seo_description||r("excerpt")||r("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:i,image:l,type:l?"summary_large_image":"summary"}}}function f(e){if(!(0,o.select)("core/editor"))return;const{getEditedPostAttribute:t}=(0,o.select)("core/editor"),n=t("link"),r=e.tweets.length>100?__("The rest of this thread can be read here:","jetpack"):__("This thread can be read here:","jetpack");return{...h(e),text:`${r} ${n}`}}function g(e,t){if(l.nE[t])return l.nE[t]}const b=(0,a.Z)(((e,t)=>e.tweets.filter((e=>!!e.blocks.find((e=>e.clientId===t))))),(e=>[e.tweets]));function v(e,t){if(t)return t.reduce(((t,n)=>t||(e.twitterCards[n]&&!e.twitterCards[n].error?{url:n,...e.twitterCards[n]}:void 0)),void 0)}function k(e,t){return!!e.twitterCards[t]}function y(){const{getEditedPostAttribute:e}=(0,o.select)("core/editor"),t=e("meta"),n=e("title"),a=(0,r.get)(t,["jetpack_publicize_message"],"");return a?a.substr(0,E()):w()&&n?n.substr(0,E())+c:""}function E(){return w()?255-c.length:255}function w(){return!!(0,o.select)("core/editor").getEditedPostAttribute("meta")?.jetpack_is_tweetstorm}const _=(0,a.Z)(((e,t)=>{if(!w())return[];const n=b(e,t);return n&&0!==n.length?n.filter((e=>e.boundary)).map((e=>e.boundary)):[]}),(e=>[e.tweets]));function C(e,t){if(`block-${t}`===e.id)return`#block-${t}`;const n=e.parentNode,r=Array.prototype.indexOf.call(n.children,e);return C(n,t)+` > :nth-child( ${r+1} )`}const j=(0,a.Z)(((e,t)=>{const n=_(e,t),r=document.getElementById(`block-${t}`);return n.filter((e=>"end-of-line"===e.type)).map((e=>{if(!r)return!1;const n=r.getElementsByTagName("li").item(e.line);return!!n&&C(n,t)})).filter((e=>!!e))}),(e=>[e.tweets]));function S(e,t,n){if(0===n.length)return!1;if(!g(0,t.name)?.contentAttributes)return!1;const r=new RegExp(`<(${n.join("|")})( |>|/>)`,"gi");return g(0,t.name).contentAttributes.reduce(((e,n)=>!!e||r.test(t.attributes[n])),!1)}const x=(0,a.Z)(((e,t)=>{const{isTyping:n,isDraggingBlocks:r,isMultiSelecting:a,hasMultiSelection:i,isCaretWithinFormattedText:s}=(0,o.select)("core/block-editor");if(!w())return[];if(n()||r()||a()||i()||s())return[];const c=[];return g(0,t.name)||l.H8[t.name]?("core/gallery"===t.name&&t.attributes.images.length>4&&c.push(__("Twitter displays the first four images.","jetpack")),S(0,t,["strong","bold","em","i","sup","sub","span","s"])&&c.push(__("Twitter removes all text formatting.","jetpack")),S(0,t,["a"])&&c.push(__("Links will be posted seperately.","jetpack"))):c.push(__("This block is not exportable to Twitter","jetpack")),c}),(e=>[e.tweets]));function T(e,t){const{isBlockSelected:n}=(0,o.select)("core/block-editor");if(!w())return!1;const r=g(0,t.name),a=b(e,t.clientId);if(!a||0===a.length)return!1;const i=a[a.length-1];return n(t.clientId)&&!r||i.blocks[i.blocks.length-1].clientId===t.clientId&&a.some((e=>e.blocks.some((e=>n(e.clientId)))))}function P(e,t,n){const a=g(0,n.name);if(!a)return!1;const o=a.contentAttributes;return!(0,r.isEqual)(o.map((e=>({attribute:e,content:t.attributes[e]}))),o.map((e=>({attribute:e,content:n.attributes[e]}))))}function N(){return(0,o.select)(s.store).getEditedPostAttribute("jetpack_publicize_connections")||[]}function A(){const{getEditedPostAttribute:e}=(0,o.select)(s.store),t=e("meta");return(0,r.get)(t,["jetpack_publicize_feature_enabled"],!0)}},60756:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(55609),o=n(65736),i=n(12238),s=n(9818),l=n(23539);const __=o.__;function c(e){let{checked:t,onChange:n}=e;return(0,r.createElement)(a.CheckboxControl,{label:__("Show sharing buttons.","jetpack"),checked:t,onChange:e=>{n({jetpack_sharing_enabled:e})}})}function u(){const e=(0,s.useSelect)((e=>e(i.store).getEditedPostAttribute("jetpack_sharing_enabled")),[]),{editPost:t}=(0,s.useDispatch)(i.store);return(0,r.createElement)(i.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},(0,r.createElement)(l.Z,null,(0,r.createElement)(c,{checked:e,onChange:t})))}},91994:function(e,t,n){"use strict";n.d(t,{u:function(){return a},X:function(){return o}});var r=n(60756);const a="sharing",o={render:r.Z}},71420:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(55609);const a=(0,r.withFallbackStyles)(((e,t)=>{const{textColor:n,backgroundColor:r}=t,a=r&&r.color,o=n&&n.color;return{fallbackBackgroundColor:a||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:o||!e?void 0:getComputedStyle(e).color}}))},6757:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(51591),s=n(58014);const __=o.__;(0,s.Wp)()||(0,s.Ug)()||(0,a.registerBlockCollection)("jetpack",{title:"Jetpack",icon:(0,r.createElement)(i.IM,null)}),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"earn"!==t})),{slug:"earn",title:__("Earn","jetpack"),icon:(0,r.createElement)(i.IM,null)}]),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"grow"!==t})),{slug:"grow",title:__("Grow","jetpack"),icon:(0,r.createElement)(i.IM,null)}])},87929:function(e,t,n){"use strict";function r(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function a(e){const{currentWindow:t}=r(e);return"editor-canvas"===t.name&&t.self!==t.top}function o(e){try{return!!e?.parent?.location.href}catch(e){return!1}}function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=[];if(!t||!e&&!e.length||!a(t))return i;const{currentDoc:s,currentWindow:l}=r(t);if(!o(l))return i;const c=l?.parent?.document;return s&&c?(i=e.filter((e=>{const t=c.querySelector(e),r=!!s.querySelector(e);return!(!t||r)&&(s.head.appendChild(t.cloneNode()),n&&t.remove(),!0)})),i):void 0}function s(e,t,n){const a=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:o}=r(n),i=o.getElementsByTagName("head")[0];e.forEach((e=>{const[n,r]=e.file.split("/").pop().split(".");if("css"===r){if(o.getElementById(e.id))return;const t=o.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${a}/${n}-${e.version}.${r}`,i.appendChild(t)}if("js"===r){const s=t[e.id]?t[e.id]:null;if(o.getElementById(e.id))return s();const l=o.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${a}/${n}-${e.version}.${r}`,l.onload=s,i.appendChild(l)}}))}function l(e,t){return new Promise((n=>{const r=()=>{e[t]?n(e[t]):e.requestAnimationFrame(r)};r()}))}n.d(t,{bL:function(){return r},DT:function(){return i},Pp:function(){return s},Dz:function(){return l}})},57535:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(27655),a=n(58014);const o=r.O["Jetpack Green 40"];function i(){return(0,a.Ug)()||(0,a.Wp)()?null:o}},98085:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(29512),a=n.n(r),o=n(92819);function i(e,t){const n=function(e,t){for(const n of new(a())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),r=(0,o.find)(e,{name:t});if(r)return r}return(0,o.find)(e,"isDefault")}(e,t);return n?n.name:null}},70609:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609);const __=i.__,_x=i._x;class l extends o.Component{constructor(){super(...arguments),a()(this,"state",{hasCopied:!1}),a()(this,"onCopy",(()=>this.setState({hasCopied:!0}))),a()(this,"onFinishCopy",(()=>this.setState({hasCopied:!1}))),a()(this,"onFocus",(e=>e.target.select()))}render(){const{link:e}=this.props,{hasCopied:t}=this.state;return e?(0,o.createElement)("div",{className:"jetpack-clipboard-input"},(0,o.createElement)(s.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),(0,o.createElement)(s.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?__("Copied!","jetpack"):_x("Copy","verb","jetpack"))):null}}t.Z=l},68039:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r=/^#?[A-Fa-f0-9]{6}$/;function a(e){return r.test(e)}},92924:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(25158),s=n(15111);const __=o.__,l="undefined"!=typeof _wpmejsSettings?_wpmejsSettings:{};function c(e,t,n){const r=document.createElement("div");r.className=e;const a=document.createElement("button");return a.innerText=t,a.addEventListener("click",n),a.setAttribute("aria-label",t),a.setAttribute("title",t),r.appendChild(a),r}t.Z=function(e){let{trackSource:t,onPlay:n,onPause:o,onError:u,onTimeChange:p,onSkipForward:d,onJumpBack:m,currentTime:h,playStatus:f=s._5,onMetadataLoaded:g,loadWhenReady:b=!1,preload:v="metadata"}=e;const k=(0,r.useRef)(),y=()=>{k.current.play().catch((()=>{}))},E=()=>{k.current.pause(),(0,i.speak)(__("Paused","jetpack"),"assertive")};return(0,r.useEffect)((()=>{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&&e._setResponsiveMode()})}),[]),(0,r.useEffect)((()=>{const e=k.current;e.preload=v;const t=new MediaElementPlayer(e,{...l,success:()=>b&&e?.load()});if(m||d){const e=`${t.options.classPrefix}button ${t.options.classPrefix}jump-button`;if(m){const n=`${e} ${t.options.classPrefix}jump-backward-button`;t.addControlElement(c(n,__("Jump Back","jetpack"),m),"jumpBackwardButton")}if(d){const n=`${e} ${t.options.classPrefix}skip-forward-button`;t.addControlElement(c(n,__("Skip Forward","jetpack"),d),"skipForwardButton")}}return n&&e.addEventListener("play",n),o&&e.addEventListener("pause",o),u&&e.addEventListener("error",u),g&&e.addEventListener("loadedmetadata",g),()=>{t.remove(),n&&e.removeEventListener("play",n),o&&e.removeEventListener("pause",o),u&&e.removeEventListener("error",u),g&&e.removeEventListener("loadedmetadata",g)}}),[n,o,u,m,d,g,b,v]),(0,r.useEffect)((()=>{const[e,t]=!1===k.current?.paused?[s.Wp,E]:[s._5,y],n=(0,a.debounce)(t,100);return s.Vy!==f&&e!==f&&n(),()=>{n.cancel()}}),[k,f,t]),(0,r.useEffect)((()=>{if(!p)return;const e=k.current,t=(0,a.throttle)((e=>p(e)),1e3,{leading:!0,trailing:!1}),n=e=>t(e.target.currentTime);return p&&e?.addEventListener("timeupdate",n),()=>{t.cancel(),e?.removeEventListener("timeupdate",n)}}),[k,p]),(0,r.useEffect)((()=>{const e=k.current;h&&e&&Math.abs(Math.floor(h-e.currentTime))>1&&(e.currentTime=h)}),[k,h]),(0,r.createElement)("div",{className:"jetpack-audio-player"},(0,r.createElement)("audio",{src:t,ref:k}))}},62475:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(52175),l=n(37930);function c(e){let{blockName:t,buttonLabel:n,href:a,icon:c,onClick:u,subtitle:p,title:d,className:m}=e;const{autosaveAndRedirect:h}=(0,l.Z)(a);return(0,r.createElement)(s.Warning,{actions:a&&[(0,r.createElement)(i.Button,{href:a,onClick:e=>{e.preventDefault(),u(t),h(e)},target:"_top",isSecondary:!0,isLarge:!0},n)],className:o()(m,"jetpack-block-nudge wp-block")},(0,r.createElement)("span",{className:"jetpack-block-nudge__info"},c,(0,r.createElement)("span",{className:"jetpack-block-nudge__text-container"},(0,r.createElement)("span",{className:"jetpack-block-nudge__title"},d),p&&(0,r.createElement)("span",{className:"jetpack-block-nudge__message"},p))))}},72566:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(4981),l=n(52175),c=n(55609),u=n(9818),p=n(39630),d=n(65736);const __=d.__,m=e=>{let{attributes:t,styleOption:n,viewportWidth:a,blockName:o}=e;const i=(0,s.getBlockType)(o);return(0,r.createElement)(l.BlockPreview,{viewportWidth:a,blocks:(c=i.example?(0,s.getBlockFromExample)(o,{attributes:{...i.example.attributes,style:n.value},innerBlocks:i.example.innerBlocks}):(0,s.createBlock)(o,t),{...c,attributes:{...c.attributes,__isBlockPreview:!0}})});var c},h=r.memo?(0,r.memo)(m,((e,t)=>(0,i.isEqual)(e,t))):m;function f(e){let t,{attributes:n,clientId:a,styleOptions:i,onSelectStyle:s,activeStyle:d,viewportWidth:m,title:f}=e;return u.useSelect&&(t=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(a)}))),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.BlockControls,null,(0,r.createElement)(c.ToolbarGroup,{isCollapsed:!0,icon:"admin-appearance",label:__("Style","jetpack"),controls:i.map((e=>({title:e.label,isActive:e.value===d,onClick:()=>s({style:e.value})}))),popoverProps:{className:"jetpack-block-styles-selector-toolbar"}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:f||__("Styles","jetpack")},(0,r.createElement)("div",{className:"block-editor-block-styles jetpack-block-styles-selector"},i.map((e=>{const a={...n,style:e.value};return(0,r.createElement)("div",{key:e.value,className:o()("block-editor-block-styles__item",{"is-active":e.value===d}),onClick:()=>{s({style:e.value})},onKeyDown:t=>{p.ENTER!==t.keyCode&&p.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},(0,r.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.preview?e.preview:u.useSelect&&t&&(0,r.createElement)(h,{blockName:t.name,styleOption:e,attributes:a,viewportWidth:m})),(0,r.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))}))))))}},37837:function(e,t,n){"use strict";n.d(t,{m:function(){return m}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(9818),l=n(65736),c=n(51591),u=n(15111),p=n(98017);const __=l.__;function d(e){let{skipForwardTime:t=5,jumpBackTime:n=5,playIcon:a="controls-play",pauseIcon:l="controls-pause",jumpBackIcon:d=c.Qv,skipForwardIcon:m=c._z,currenTimeDisplay:h=!0,onTimestampClick:f}=e;const{playerState:g,mediaCurrentTime:b,defaultMediaSource:v,mediaDomReference:k}=(0,s.useSelect)((e=>{const{getMediaSourceCurrentTime:t,getMediaPlayerState:n,getDefaultMediaSource:r,getMediaSourceDuration:a,getMediaSourceDomReference:o}=e(u.tT);return{playerState:n(),mediaCurrentTime:t(),mediaDuration:a(),defaultMediaSource:r(),mediaDomReference:o()}}),[]),y=(0,p.H)(b),E=!v,{toggleMediaSource:w,setMediaSourceCurrentTime:_}=(0,s.useDispatch)(u.tT);function C(e){!function(e){k&&(k.currentTime=e),_(v.id,e)}(e),k&&(k.currentTime=e)}return(0,r.createElement)(r.Fragment,null,!1!==n&&(0,r.createElement)(i.ToolbarButton,{icon:d,isDisabled:E,onClick:()=>C(b-n),label:__("Jump back","jetpack")}),(0,r.createElement)(i.ToolbarButton,{icon:g===u._5?a:l,isDisabled:E,onClick:function(){w(v.id)},label:__("Play","jetpack")}),t&&(0,r.createElement)(i.ToolbarButton,{icon:m,isDisabled:E,onClick:()=>C(b+t),label:__("Skip forward","jetpack")}),h&&(0,r.createElement)(i.ToolbarButton,{className:o()("media-player-control__current-time",{"is-disabled":E}),label:__("Set timestamp","jetpack"),onClick:()=>f(b)},y))}function m(e){return(0,r.createElement)(i.ToolbarGroup,{className:"media-player-control__toolbar"},(0,r.createElement)(i.ToolbarItem,null,(()=>(0,r.createElement)(d,e))))}},98017:function(e,t,n){"use strict";n.d(t,{H:function(){return r},i:function(){return a}});const r=mejs.Utils.secondsToTimeCode,a=mejs.Utils.timeCodeToSeconds},38205:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(55609);const s=i.NumberControl||i.__experimentalNumberControl||function(e){return(0,o.createElement)(i.TextControl,a()({type:"number",inputMode:"numeric"},e))};t.Z=s},43393:function(e,t,n){"use strict";var r=n(69307),a=n(35381),o=n.n(a),i=n(65736),s=n(11973),l=n(62475),c=n(2368);const __=i.__,u=e=>{let{blockName:t,url:n}=e;return(0,r.createElement)(l.Z,{className:"jetpack-stripe-nudge__banner",buttonLabel:__("Connect","jetpack"),icon:(0,r.createElement)(o(),{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:n,onClick:()=>{s.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t})},title:__("Connect to Stripe to use this block on your site","jetpack"),subtitle:__("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})};t.Z=e=>{let{blockName:t,postId:n,stripeConnectUrl:a}=e;const o=(0,c.Z)(n,a);return o?(0,r.createElement)(u,{blockName:t,url:o}):null}},19356:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=e=>{let{align:t,className:n,title:a,description:s,buttonText:l,visible:c=!0,context:u,checkoutUrl:p,goToCheckoutPage:d,isRedirecting:m=!1}=e;const h=o()(n,"jetpack-upgrade-plan-banner",{"wp-block":"editor-canvas"===u,"block-editor-block-list__block":"editor-canvas"===u,"jetpack-upgrade-plan__hidden":!c}),f=__("Redirecting…","jetpack");return(0,r.createElement)("div",{className:h,"data-align":t},(0,r.createElement)("div",{className:"jetpack-upgrade-plan-banner__wrapper"},a&&(0,r.createElement)("strong",{className:o()("banner-title",{[`${n}__title`]:n})},a),s&&(0,r.createElement)("span",{className:`${n}__description banner-description`},s),(0,r.createElement)(i.Button,{href:m?null:p,onClick:d,target:"_top",className:o()("is-primary",{"jetpack-upgrade-plan__hidden":!p}),isBusy:m},m?f:l)))}},13180:function(e,t,n){"use strict";var r=n(9818);const a={setPlans:e=>({type:"SET_PLANS",plans:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",url:e})};(0,r.registerStore)("wordpress-com/plans",{reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?t.plans:e},actions:a,selectors:{getPlan:(e,t)=>e.find((e=>e.product_slug===t))},controls:{FETCH_FROM_API(e){let{url:t}=e;return fetch(t).then((e=>e.json()))}},resolvers:{*getPlan(){const e=yield a.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");return a.setPlans(e)}}})},41362:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return void 0!==r.createBlocksFromInnerBlocksTemplate?(0,r.createBlocksFromInnerBlocksTemplate)(e):e.map((e=>{const t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],[n,o,i=[]]=t;return(0,r.createBlock)(n,o,a(i))}))}},17882:function(e,t,n){"use strict";n.d(t,{ck:function(){return o},Xy:function(){return i},hj:function(){return s},vs:function(){return l},Vm:function(){return c}});var r=n(75139),a=n(92819);const o={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},i=Object.keys(o).map((e=>{const{symbol:t}=(0,r.X)(e);return{value:e,label:t===e?e:`${e} ${(0,a.trimEnd)(t,".")}`}}));function s(e){return o[e]}function l(e,t){return!isNaN(t)&&t>=s(e)}function c(e,t){return e?"number"==typeof e?e:(e=parseFloat(e.replace(new RegExp("\\"+r.M[t].grouping,"g"),"").replace(new RegExp("\\"+r.M[t].decimal,"g"),".")),isNaN(e)?null:e):null}},58703:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{label:t,onClick:n}=e;return(0,r.createElement)(a.Button,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},99418:function(e,t,n){"use strict";n.d(t,{iT:function(){return i},wk:function(){return s},oI:function(){return l},Tu:function(){return c},OG:function(){return u},tY:function(){return p},h9:function(){return d},CY:function(){return m},Wm:function(){return h},Qh:function(){return f},Bb:function(){return g},En:function(){return b},yD:function(){return v},QU:function(){return k},zs:function(){return y},l5:function(){return E}});var r=n(65736),a=n(69771),o=n(92819);const __=r.__,i="google_photos",s="pexels",l="recent",c="/",u=[{value:l,label:__("Photos","jetpack")},{value:c,label:__("Albums","jetpack")}],p=[{value:"",
+__("This feature is for sites with a %s plan.","jetpack"),_),(0,r.createElement)("br",null),(0,r.createElement)(l.ExternalLink,{href:j},__("More information.","jetpack")))}},42401:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9818),a=n(12238),o=n(13419);const i="republicize";function s(){var e,t;const{togglePublicizeFeature:n}=(0,r.useDispatch)("jetpack/publicize"),{available:s}=(0,o.OZ)(i),l=(0,r.useSelect)((e=>e(a.store).isCurrentPostPublished()),[]),c=(0,r.useSelect)((e=>e("jetpack/publicize").getFeatureEnableState()),[]),u=!(null===(e=window)||void 0===e||null===(t=e.Jetpack_Editor_Initial_State.jetpack)||void 0===t||!t.republicize_enabled),p=(0,o.X1)(i);return{isPublicizeEnabledMeta:c,isRePublicizeFeatureEnabled:u,isPublicizeEnabled:l&&!(p&&u)||c,togglePublicizeFeature:n,isPublicizeDisabledBySitePlan:u&&l&&p,isRePublicizeFeatureAvailable:s,isRePublicizeUpgradableViaUpsell:p,hideRePublicizeFeature:l&&!s&&!p&&u}}},31281:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(86989),a=n.n(r),o=n(9818),i=n(12238),s=n(69307),l=n(65736),c=n(74356);const __=l.__;function u(e){var t;const n=null==e?void 0:e.code,r=null==e||null===(t=e.errors)||void 0===t?void 0:t.length;if(!n&&!r)return!1;let a="";return n&&(a=__("Unable to share the Post","jetpack")),r&&(a=__("Unable to share the Post","jetpack")),{message:a,result:e}}function p(e){const{message:t}=(0,c.LJ)(),{skippedConnections:n}=(0,c.oL)(),r=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]);e=e||r;const[l,p]=(0,s.useState)({data:[],error:{}}),d=(0,s.useCallback)((function(){const r={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(!l.isFetching)return p({...r,isFetching:!0}),a()({path:`/wpcom/v2/posts/${e}/publicize`,method:"POST",data:{message:t,skipped_connections:n}}).then((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=u(e);if(t)return p((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));p((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:null==e?void 0:e.results,error:{}})))})).catch((e=>{p((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:u(e)})))})),function(){p(r)}}),[e,t,n,l.isFetching]);return{...l,doPublicize:d}}},71259:function(e,t,n){"use strict";n.d(t,{X:function(){return p},u:function(){return u}});var r=n(69307),a=n(74356),o=n(65736),i=n(72067),s=n(12238),l=n(34613),c=n(1393);const __=o.__,u="publicize",p={render:()=>(0,r.createElement)(s.PostTypeSupportCheck,{supportKeys:"publicize"},(0,r.createElement)(a.iS,null),(0,r.createElement)(l.Z,null,(0,r.createElement)(c.Z,null)),(0,r.createElement)(i.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:(0,r.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},__("Share this post","jetpack"))},(0,r.createElement)(c.Z,{prePublish:!0})))}},14166:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(55609),o=n(65736),i=n(12238),s=n(9818),l=n(8264);const __=o.__;function c(e){let{checked:t,onChange:n}=e;return(0,r.createElement)(a.CheckboxControl,{label:__("Show sharing buttons.","jetpack"),checked:t,onChange:e=>{n({jetpack_sharing_enabled:e})}})}function u(){const e=(0,s.useSelect)((e=>e(i.store).getEditedPostAttribute("jetpack_sharing_enabled")),[]),{editPost:t}=(0,s.useDispatch)(i.store);return(0,r.createElement)(i.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},(0,r.createElement)(l.Z,null,(0,r.createElement)(c,{checked:e,onChange:t})))}},3378:function(e,t,n){"use strict";n.d(t,{X:function(){return o},u:function(){return a}});var r=n(14166);const a="sharing",o={render:r.Z}},43718:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(55609);const a=(0,r.withFallbackStyles)(((e,t)=>{const{textColor:n,backgroundColor:r}=t,a=r&&r.color,o=n&&n.color;return{fallbackBackgroundColor:a||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:o||!e?void 0:getComputedStyle(e).color}}))},85921:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(13419),s=n(81427);const __=o.__;(0,i.Wp)()||(0,i.Ug)()||(0,a.registerBlockCollection)("jetpack",{title:"Jetpack",icon:(0,r.createElement)(s.IM,null)}),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"earn"!==t})),{slug:"earn",title:__("Earn","jetpack"),icon:(0,r.createElement)(s.IM,null)}]),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"grow"!==t})),{slug:"grow",title:__("Grow","jetpack"),icon:(0,r.createElement)(s.IM,null)}])},85007:function(e,t,n){"use strict";function r(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function a(e){const{currentWindow:t}=r(e);return"editor-canvas"===t.name&&t.self!==t.top}function o(e){try{var t;return!(null==e||null===(t=e.parent)||void 0===t||!t.location.href)}catch(e){return!1}}function i(e,t){var n;let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=[];if(!t||!e&&!e.length||!a(t))return s;const{currentDoc:l,currentWindow:c}=r(t);if(!o(c))return s;const u=null==c||null===(n=c.parent)||void 0===n?void 0:n.document;return l&&u?(s=e.filter((e=>{const t=u.querySelector(e),n=!!l.querySelector(e);return!(!t||n)&&(l.head.appendChild(t.cloneNode()),i&&t.remove(),!0)})),s):void 0}function s(e,t,n){const a=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:o}=r(n),i=o.getElementsByTagName("head")[0];e.forEach((e=>{const[n,r]=e.file.split("/").pop().split(".");if("css"===r){if(o.getElementById(e.id))return;const t=o.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${a}/${n}-${e.version}.${r}`,i.appendChild(t)}if("js"===r){const s=t[e.id]?t[e.id]:null;if(o.getElementById(e.id))return s();const l=o.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${a}/${n}-${e.version}.${r}`,l.onload=s,i.appendChild(l)}}))}function l(e,t){return new Promise((n=>{const r=()=>{e[t]?n(e[t]):e.requestAnimationFrame(r)};r()}))}n.d(t,{DT:function(){return i},Dz:function(){return l},Pp:function(){return s},bL:function(){return r}})},70355:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(13419);const a=n(80550).O["Jetpack Green 40"];function o(){return(0,r.Ug)()||(0,r.Wp)()?null:a}},81518:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(29512),a=n.n(r),o=n(92819);function i(e,t){const n=function(e,t){for(const n of new(a())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),r=(0,o.find)(e,{name:t});if(r)return r}return(0,o.find)(e,"isDefault")}(e,t);return n?n.name:null}},26788:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609);const __=i.__,_x=i._x;class l extends o.Component{constructor(){super(...arguments),a()(this,"state",{hasCopied:!1}),a()(this,"onCopy",(()=>this.setState({hasCopied:!0}))),a()(this,"onFinishCopy",(()=>this.setState({hasCopied:!1}))),a()(this,"onFocus",(e=>e.target.select()))}render(){const{link:e}=this.props,{hasCopied:t}=this.state;return e?(0,o.createElement)("div",{className:"jetpack-clipboard-input"},(0,o.createElement)(s.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),(0,o.createElement)(s.ClipboardButton,{variant:"secondary",onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?__("Copied!","jetpack"):_x("Copy","verb","jetpack"))):null}}t.Z=l},24381:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r=/^#?[A-Fa-f0-9]{6}$/;function a(e){return r.test(e)}},72752:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(25158),s=n(97115);const __=o.__,l="undefined"!=typeof _wpmejsSettings?_wpmejsSettings:{};function c(e,t,n){const r=document.createElement("div");r.className=e;const a=document.createElement("button");return a.innerText=t,a.addEventListener("click",n),a.setAttribute("aria-label",t),a.setAttribute("title",t),r.appendChild(a),r}t.Z=function(e){let{trackSource:t,onPlay:n,onPause:o,onError:u,onTimeChange:p,onSkipForward:d,onJumpBack:m,currentTime:h,playStatus:f=s._5,onMetadataLoaded:g,loadWhenReady:b=!1,preload:v="metadata"}=e;const k=(0,r.useRef)(),y=()=>{k.current.play().catch((()=>{}))},E=()=>{k.current.pause(),(0,i.speak)(__("Paused","jetpack"),"assertive")};return(0,r.useEffect)((()=>{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&&e._setResponsiveMode()})}),[]),(0,r.useEffect)((()=>{const e=k.current;e.preload=v;const t=new MediaElementPlayer(e,{...l,success:()=>b&&(null==e?void 0:e.load())});if(m||d){const e=`${t.options.classPrefix}button ${t.options.classPrefix}jump-button`;if(m){const n=`${e} ${t.options.classPrefix}jump-backward-button`;t.addControlElement(c(n,__("Jump Back","jetpack"),m),"jumpBackwardButton")}if(d){const n=`${e} ${t.options.classPrefix}skip-forward-button`;t.addControlElement(c(n,__("Skip Forward","jetpack"),d),"skipForwardButton")}}return n&&e.addEventListener("play",n),o&&e.addEventListener("pause",o),u&&e.addEventListener("error",u),g&&e.addEventListener("loadedmetadata",g),()=>{t.remove(),n&&e.removeEventListener("play",n),o&&e.removeEventListener("pause",o),u&&e.removeEventListener("error",u),g&&e.removeEventListener("loadedmetadata",g)}}),[n,o,u,m,d,g,b,v]),(0,r.useEffect)((()=>{var e;const[t,n]=!1===(null===(e=k.current)||void 0===e?void 0:e.paused)?[s.Wp,E]:[s._5,y],r=(0,a.debounce)(n,100);return s.Vy!==f&&t!==f&&r(),()=>{r.cancel()}}),[k,f,t]),(0,r.useEffect)((()=>{if(!p)return;const e=k.current,t=(0,a.throttle)((e=>p(e)),1e3,{leading:!0,trailing:!1}),n=e=>t(e.target.currentTime);return p&&(null==e||e.addEventListener("timeupdate",n)),()=>{t.cancel(),null==e||e.removeEventListener("timeupdate",n)}}),[k,p]),(0,r.useEffect)((()=>{const e=k.current;h&&e&&Math.abs(Math.floor(h-e.currentTime))>1&&(e.currentTime=h)}),[k,h]),(0,r.createElement)("div",{className:"jetpack-audio-player"},(0,r.createElement)("audio",{src:t,ref:k}))}},44738:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(52175),l=n(46867);function c(e){let{blockName:t,buttonLabel:n,href:a,icon:c,onClick:u,subtitle:p,title:d,className:m}=e;const{autosaveAndRedirect:h}=(0,l.Z)(a);return(0,r.createElement)(s.Warning,{actions:a&&[(0,r.createElement)(i.Button,{href:a,onClick:e=>{e.preventDefault(),u(t),h(e)},target:"_top",variant:"secondary"},n)],className:o()(m,"jetpack-block-nudge wp-block")},(0,r.createElement)("span",{className:"jetpack-block-nudge__info"},c,(0,r.createElement)("span",{className:"jetpack-block-nudge__text-container"},(0,r.createElement)("span",{className:"jetpack-block-nudge__title"},d),p&&(0,r.createElement)("span",{className:"jetpack-block-nudge__message"},p))))}},57538:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(4981),l=n(52175),c=n(55609),u=n(9818),p=n(39630),d=n(65736);const __=d.__,m=e=>{let{attributes:t,styleOption:n,viewportWidth:a,blockName:o}=e;const i=(0,s.getBlockType)(o);return(0,r.createElement)(l.BlockPreview,{viewportWidth:a,blocks:(c=i.example?(0,s.getBlockFromExample)(o,{attributes:{...i.example.attributes,style:n.value},innerBlocks:i.example.innerBlocks}):(0,s.createBlock)(o,t),{...c,attributes:{...c.attributes,__isBlockPreview:!0}})});var c},h=r.memo?(0,r.memo)(m,((e,t)=>(0,i.isEqual)(e,t))):m;function f(e){let t,{attributes:n,clientId:a,styleOptions:i,onSelectStyle:s,activeStyle:d,viewportWidth:m,title:f}=e;return u.useSelect&&(t=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(a)}))),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.BlockControls,null,(0,r.createElement)(c.ToolbarGroup,{isCollapsed:!0,icon:"admin-appearance",label:__("Style","jetpack"),controls:i.map((e=>({title:e.label,isActive:e.value===d,onClick:()=>s({style:e.value})}))),popoverProps:{className:"jetpack-block-styles-selector-toolbar"}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:f||__("Styles","jetpack")},(0,r.createElement)("div",{className:"block-editor-block-styles jetpack-block-styles-selector"},i.map((e=>{const a={...n,style:e.value};return(0,r.createElement)("div",{key:e.value,className:o()("block-editor-block-styles__item",{"is-active":e.value===d}),onClick:()=>{s({style:e.value})},onKeyDown:t=>{p.ENTER!==t.keyCode&&p.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},(0,r.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.preview?e.preview:u.useSelect&&t&&(0,r.createElement)(h,{blockName:t.name,styleOption:e,attributes:a,viewportWidth:m})),(0,r.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))}))))))}},34904:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(91202);function o(e){let{children:t}=e;return(0,r.createElement)("div",{className:"jetpack-inspector-notice"},(0,r.createElement)("span",null,t),(0,r.createElement)(a.Z,{height:16,logoColor:"#1a1a1a",showText:!1}))}},86263:function(e,t,n){"use strict";n.d(t,{m:function(){return m}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(9818),l=n(65736),c=n(81427),u=n(97115),p=n(26706);const __=l.__;function d(e){let{skipForwardTime:t=5,jumpBackTime:n=5,playIcon:a="controls-play",pauseIcon:l="controls-pause",jumpBackIcon:d=c.Qv,skipForwardIcon:m=c._z,currenTimeDisplay:h=!0,onTimestampClick:f}=e;const{playerState:g,mediaCurrentTime:b,defaultMediaSource:v,mediaDomReference:k}=(0,s.useSelect)((e=>{const{getMediaSourceCurrentTime:t,getMediaPlayerState:n,getDefaultMediaSource:r,getMediaSourceDuration:a,getMediaSourceDomReference:o}=e(u.tT);return{playerState:n(),mediaCurrentTime:t(),mediaDuration:a(),defaultMediaSource:r(),mediaDomReference:o()}}),[]),y=(0,p.H)(b),E=!v,{toggleMediaSource:w,setMediaSourceCurrentTime:_}=(0,s.useDispatch)(u.tT);function C(e){!function(e){k&&(k.currentTime=e),_(v.id,e)}(e),k&&(k.currentTime=e)}return(0,r.createElement)(r.Fragment,null,!1!==n&&(0,r.createElement)(i.ToolbarButton,{icon:d,isDisabled:E,onClick:()=>C(b-n),label:__("Jump back","jetpack")}),(0,r.createElement)(i.ToolbarButton,{icon:g===u._5?a:l,isDisabled:E,onClick:function(){w(v.id)},label:__("Play","jetpack")}),t&&(0,r.createElement)(i.ToolbarButton,{icon:m,isDisabled:E,onClick:()=>C(b+t),label:__("Skip forward","jetpack")}),h&&(0,r.createElement)(i.ToolbarButton,{className:o()("media-player-control__current-time",{"is-disabled":E}),label:__("Set timestamp","jetpack"),onClick:()=>f(b)},y))}function m(e){return(0,r.createElement)(i.ToolbarGroup,{className:"media-player-control__toolbar"},(0,r.createElement)(i.ToolbarItem,null,(()=>(0,r.createElement)(d,e))))}},26706:function(e,t,n){"use strict";n.d(t,{H:function(){return r},i:function(){return a}});const r=mejs.Utils.secondsToTimeCode,a=mejs.Utils.timeCodeToSeconds},20769:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(55609);const s=i.NumberControl||i.__experimentalNumberControl||function(e){return(0,o.createElement)(i.TextControl,a()({type:"number",inputMode:"numeric"},e))};t.Z=s},14436:function(e,t,n){"use strict";n.d(t,{Bn:function(){return o},DM:function(){return i},DW:function(){return a},mj:function(){return r}});const r=0,a=1,o="payment-plan",i="subscription"},68880:function(e,t,n){"use strict";n.d(t,{Q:function(){return i},a:function(){return o}});var r=n(69307),a=n(14436);const o=(0,r.createContext)({blockName:void 0,clientId:void 0,products:[],productType:a.Bn,selectedProductId:0,setSelectedProductId:()=>{}}),i=()=>(0,r.useContext)(o)},60386:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(52175),o=n(9818),i=n(14436),s=n(68880),l=n(86102),c=n(16842),u=n(21200),p=n(2327),d=n(7652);function m(e){let{blockName:t,clientId:n,productType:m=i.Bn,selectedProductId:h=0,setSelectedProductId:f=(()=>{})}=e;const g=(0,o.useSelect)((e=>e(d.h).getProducts(m,h,f)),[]),{connectUrl:b,isApiConnected:v,isSelectedProductInvalid:k,shouldUpgrade:y}=(0,o.useSelect)((e=>{const{getConnectUrl:t,getShouldUpgrade:n,isApiStateConnected:r,isInvalidProduct:a}=e(d.h);return{connectUrl:t(),isApiConnected:r(),isSelectedProductInvalid:a(h),shouldUpgrade:n()}}));if(y&&!v)return null;const E={blockName:t,clientId:n,products:g,productType:m,selectedProductId:h,setSelectedProductId:f};return(0,r.createElement)(s.a.Provider,{value:E},!v&&!!b&&(0,r.createElement)(a.BlockControls,{__experimentalShareWithChildBlocks:!0,group:"block"},(0,r.createElement)(p.Z,{blockName:t,connectUrl:b})),v&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Z,null),(0,r.createElement)(c.Z,null)),v&&k&&(0,r.createElement)(u.Z,null))}},86102:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(52175),o=n(55609),i=n(9818),s=n(65736),l=n(1078),c=n(14436),u=n(68880),p=n(51585),d=n(79162),m=n(7652);const __=s.__,h="1 month";function f(){const{productType:e,setSelectedProductId:t}=(0,u.Q)(),{shouldUpgrade:n,siteSlug:s}=(0,i.useSelect)((e=>{const{getShouldUpgrade:t,getSiteSlug:n}=e(m.h);return{shouldUpgrade:t(),siteSlug:n()}})),{saveProduct:f}=(0,i.useDispatch)(m.h),[g,b]=(0,r.useState)(c.mj),[v,k]=(0,r.useState)((0,p.l)("default new product title",e)),[y,E]=(0,r.useState)("USD"),[w,_]=(0,r.useState)(5),[C,S]=(0,r.useState)(h),[j,x]=(0,r.useState)(false),[P,T]=(0,r.useState)(false),N=[{label:__("Month","jetpack"),value:"1 month"},{label:__("Year","jetpack"),value:"1 year"},{label:__("One-Time Payment","jetpack"),value:"one-time"}];return(0,r.createElement)(a.InspectorControls,null,s&&(0,r.createElement)(o.PanelBody,null,(0,r.createElement)(o.ExternalLink,{href:`https://wordpress.com/earn/payments/${s}`},(0,p.l)("manage your products",e))),!n&&(0,r.createElement)(o.PanelBody,{title:(0,p.l)("add a new product",e),initialOpen:!0,className:"product-management-control-inspector__add-plan"},g===c.DW&&(0,r.createElement)(o.Placeholder,{icon:l.Z,label:(0,p.l)("saving product",e)},(0,r.createElement)(o.Spinner,null)),g===c.mj&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelRow,{className:"product-management-control-inspector__product-title"},(0,r.createElement)(o.TextControl,{id:"new-product-title",label:__("Name","jetpack"),onChange:e=>k(e),value:v})),(0,r.createElement)(o.PanelRow,{className:"product-management-control-inspector__product-price"},(0,r.createElement)(o.SelectControl,{label:__("Currency","jetpack"),onChange:e=>E(e),options:d.Xy,value:y}),(0,r.createElement)(o.TextControl,{label:__("Price","jetpack"),onChange:e=>_(e),type:"number",value:w})),(0,r.createElement)(o.PanelRow,{className:"plan-interval"},(0,r.createElement)(o.SelectControl,{label:__("Interval","jetpack"),onChange:e=>S(e),options:N,value:C})),(0,r.createElement)(o.PanelRow,{className:"donation-subscription"},(0,r.createElement)(o.ToggleControl,{label:(0,p.l)("mark this product as a donation",e),onChange:e=>x(e),checked:j})),(0,r.createElement)(o.PanelRow,{className:"custom-amount"},(0,r.createElement)(o.ToggleControl,{label:__("Enable customers to pick their own amount","jetpack"),onChange:e=>T(e),checked:P})),(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(o.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack"))),(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(o.Button,{onClick:n=>{n.preventDefault(),b(c.DW),f({title:v,currency:y,price:w,interval:C,type:j?"donation":null,buyer_can_change_amount:P,is_editable:!0},e,t,(t=>{if(b(c.mj),t){const t=(0,p.l)("default new product title",e);_(5),k(t),S(h),x(false),T(false),E("USD")}}))},variant:"secondary"},(0,p.l)("add product",e))))))}},21200:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(61074),i=n(30797),s=n(68880),l=n(51585);function c(){const{productType:e}=(0,s.Q)();return(0,r.createElement)(a.Warning,{className:"product-management-control-nudge"},(0,r.createElement)("span",{className:"product-management-control-nudge__info"},(0,r.createElement)(o.Z,{icon:i.Z}),(0,r.createElement)("span",{className:"product-management-control-nudge__text-container"},(0,r.createElement)("span",{className:"product-management-control-nudge__title"},(0,l.l)("invalid product configured for this block",e)),(0,r.createElement)("span",{className:"product-management-control-nudge__message"},(0,l.l)("the button will be hidden from your visitors until you select a valid product",e)))))}},16842:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(69307),a=n(25607),o=n(52175),i=n(55609),s=n(9818),l=n(65736),c=n(79201),u=n(48381),p=n(30797),d=n(68880),m=n(60510),h=n(51585),f=n(7652),g=n(99307);const __=l.__;function b(e){const{currency:t,interval:n,price:r}=e,o=(0,a.ZP)(parseFloat(r),t);switch(n){case"1 month":return(0,l.sprintf)(// translators: %s: amount
+__("%s / month","jetpack"),o);case"1 year":return(0,l.sprintf)(// translators: %s: amount
+__("%s / year","jetpack"),o);case"one-time":return o}return(0,l.sprintf)(// translators: %s: amount, plan interval
+__("%1$s / %2$s","jetpack"),o,n)}function v(e){let{onClose:t,product:n}=e;const{selectedProductId:a,setSelectedProductId:o}=(0,d.Q)(),{id:s,title:l}=n,u=a&&a===s,p=u?c.Z:void 0,m=n?" "+b(n):null;return(0,r.createElement)(i.MenuItem,{icon:p,onClick:e=>{e.preventDefault(),o(s),t()},selected:u,value:s},l," : ",m)}function k(e){let{onClose:t}=e;const{clientId:n,productType:a}=(0,d.Q)(),o=(0,s.useSelect)((e=>e(f.h).getSiteSlug())),l=(0,m.Z)(n);if(g.BM===(0,g.j3)())return(0,r.createElement)(i.MenuItem,null,o&&(0,r.createElement)(i.ExternalLink,{href:`https://wordpress.com/earn/payments-plans/${o}`},(0,h.l)("add a new product",a)));return(0,r.createElement)(i.MenuItem,{onClick:e=>{e.preventDefault(),l(),setTimeout((()=>{const e=document.getElementById("new-product-title");null!==e&&e.focus()}),100),t()}},(0,h.l)("add a new product",a))}function y(){const{products:e,productType:t,selectedProductId:n}=(0,d.Q)(),{selectedProduct:a,shouldUpgrade:l}=(0,s.useSelect)((e=>{const{getProduct:t,getShouldUpgrade:r}=e(f.h);return{selectedProduct:t(n),shouldUpgrade:r()}}));let c=null,m=u.Z;return a&&(c=b(a)),n&&!a&&(c=(0,h.l)("product not found",t),m=p.Z),(0,r.createElement)(o.BlockControls,{__experimentalShareWithChildBlocks:!0,group:"block"},(0,r.createElement)(i.ToolbarDropdownMenu,{className:"product-management-control-toolbar__dropdown-button",icon:m,label:(0,h.l)("select a product",t),text:c},(t=>{let{onClose:n}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.MenuGroup,null,e.map((e=>(0,r.createElement)(v,{key:e.id,onClose:n,product:e})))),!l&&(0,r.createElement)(i.MenuGroup,null,(0,r.createElement)(k,{onClose:n})))})))}},60510:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(52175),a=n(72067),o=n(9818),i=n(99307);function s(e){const t=(0,i.j3)(),{selectBlock:n}=(0,o.useDispatch)(r.store),{enableComplementaryArea:s}=(0,o.useDispatch)("core/interface"),{closePublishSidebar:l}=(0,o.useDispatch)(a.store);return()=>{switch(e&&n(e),t){case i.fH:return s("core/edit-site","edit-site/block-inspector");case i.CG:return s("core/edit-widgets","edit-widgets/block-inspector");default:l(),s("core/edit-post","edit-post/block")}}}},51585:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(65736),a=n(14436);const __=r.__,o={"add a new product":{[a.Bn]:__("Add a new payment plan","jetpack"),[a.DM]:__("Add a new subscription","jetpack")},"product not found":{[a.Bn]:__("Payment plan not found","jetpack"),[a.DM]:__("Subscription not found","jetpack")},"select a product":{[a.Bn]:__("Select a payment plan","jetpack"),[a.DM]:__("Select a subscription","jetpack")},"default new product title":{[a.Bn]:__("Monthly Subscription","jetpack"),[a.DM]:__("Monthly Subscription","jetpack")},"manage your products":{[a.Bn]:__("Manage your payment plans.","jetpack"),[a.DM]:__("Manage your subscriptions.","jetpack")},"saving product":{[a.Bn]:__("Saving payment plan…","jetpack"),[a.DM]:__("Saving subscription…","jetpack")},"add product":{[a.Bn]:__("Add payment plan","jetpack"),[a.DM]:__("Add subscription","jetpack")},"product requires a name":{[a.Bn]:__("Payment plan requires a name","jetpack"),[a.DM]:__("Subscription requires a name","jetpack")},"product requires a valid price":{[a.Bn]:__("Payment plan requires a valid price","jetpack"),[a.DM]:__("Subscription requires a valid price","jetpack")},"successfully created product":{[a.Bn]:__("Successfully created payment plan","jetpack"),[a.DM]:__("Successfully created subscription","jetpack")},"there was an error when adding the product":{[a.Bn]:__("There was an error when adding the payment plan.","jetpack"),[a.DM]:__("There was an error when adding the subscription.","jetpack")},"invalid product configured for this block":{[a.Bn]:__("Invalid payment plan configured for this block.","jetpack"),[a.DM]:__("Invalid subscription configured for this block.","jetpack")},"the button will be hidden from your visitors until you select a valid product":{[a.Bn]:__("The button will be hidden from your visitors until you select a valid payment plan.","jetpack"),[a.DM]:__("The subscribe button will be hidden from your visitors until you select a valid subscription.","jetpack")},"mark this product as a donation":{[a.Bn]:__("Mark this payment plan as a donation","jetpack"),[a.DM]:__("Mark this subscription as a donation","jetpack")}};function i(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.Bn;return(null==o||null===(t=o[e])||void 0===t?void 0:t[n])||null}},2327:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(55609),o=n(65736),i=n(81427),s=n(46867),l=n(84069);const __=o.__;function c(e){let{blockName:t,connectUrl:n}=e;const{autosaveAndRedirect:o}=(0,s.Z)(n);return(0,r.createElement)(a.ToolbarButton,{className:"connect-stripe components-tab-button",icon:i.Pw,onClick:e=>{e.preventDefault(),l.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t}),o(e)}},__("Connect Stripe","jetpack"))}},16367:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(69307),a=n(89933),o=n(65736),i=n(9818),s=n(84069),l=n(44738),c=n(7652);const __=o.__,u=e=>{let{blockName:t}=e;const n=(0,i.select)(c.h),o=n.getConnectUrl();return n.getShouldUpgrade()||!o?null:(0,r.createElement)(l.Z,{className:"jetpack-stripe-nudge__banner",buttonLabel:__("Connect","jetpack"),icon:(0,r.createElement)(a.Z,{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:o,onClick:()=>s.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t}),title:__("Connect to Stripe to use this block on your site","jetpack"),subtitle:__("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})}},26546:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=e=>{let{align:t,className:n,title:a,description:s,buttonText:l,visible:c=!0,context:u,checkoutUrl:p,goToCheckoutPage:d,isRedirecting:m=!1}=e;const h=o()(n,"jetpack-upgrade-plan-banner",{"wp-block":"editor-canvas"===u,"block-editor-block-list__block":"editor-canvas"===u,"jetpack-upgrade-plan__hidden":!c}),f=__("Redirecting…","jetpack");return(0,r.createElement)("div",{className:h,"data-align":t},(0,r.createElement)("div",{className:"jetpack-upgrade-plan-banner__wrapper"},a&&(0,r.createElement)("strong",{className:o()("banner-title",{[`${n}__title`]:n})},a),s&&(0,r.createElement)("span",{className:`${n}__description banner-description`},s),(0,r.createElement)(i.Button,{href:m?null:p,onClick:d,target:"_top",className:o()("is-primary",{"jetpack-upgrade-plan__hidden":!p}),isBusy:m},m?f:l)))}},87553:function(e,t,n){"use strict";var r=n(9818);const a={setPlans:e=>({type:"SET_PLANS",plans:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",url:e})};(0,r.registerStore)("wordpress-com/plans",{reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?t.plans:e},actions:a,selectors:{getPlan:(e,t)=>e.find((e=>e.product_slug===t))},controls:{FETCH_FROM_API(e){let{url:t}=e;return fetch(t).then((e=>e.json()))}},resolvers:{*getPlan(){const e=yield a.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");return a.setPlans(e)}}})},6598:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return void 0!==r.createBlocksFromInnerBlocksTemplate?(0,r.createBlocksFromInnerBlocksTemplate)(e):e.map((e=>{const t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],[n,o,i=[]]=t;return(0,r.createBlock)(n,o,a(i))}))}},79162:function(e,t,n){"use strict";n.d(t,{Vm:function(){return c},Xy:function(){return i},ck:function(){return o},hj:function(){return s},vs:function(){return l}});var r=n(43317),a=n(92819);const o={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},i=Object.keys(o).map((e=>{const{symbol:t}=(0,r.X)(e);return{value:e,label:t===e?e:`${e} ${(0,a.trimEnd)(t,".")}`}}));function s(e){return o[e]}function l(e,t){return!isNaN(t)&&t>=s(e)}function c(e,t){return e?"number"==typeof e?e:(e=parseFloat(e.replace(new RegExp("\\"+r.M[t].grouping,"g"),"").replace(new RegExp("\\"+r.M[t].decimal,"g"),".")),isNaN(e)?null:e):null}},94545:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{label:t,onClick:n}=e;return(0,r.createElement)(a.Button,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},73905:function(e,t){"use strict";const n=new Map,r=e=>n.has(e);t.Z={acquire:e=>{if(r(e))return null;const t=Math.random();return n.set(e,t),[e,t]},blockExecution:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;for(;r(e);)await new Promise((e=>setTimeout(e,t)))},clearAll:()=>n.clear(),isLocked:r,release:e=>{const[t,a]=e;return!(!r(t)||n.get(t)!==a)&&(n.delete(t),!0)}}},20982:function(e,t,n){"use strict";n.d(t,{Bb:function(){return b},CY:function(){return h},Eh:function(){return s},En:function(){return v},OG:function(){return p},QU:function(){return y},Qh:function(){return g},Tu:function(){return u},Wm:function(){return f},h9:function(){return m},iT:function(){return i},l5:function(){return w},oI:function(){return c},tY:function(){return d},wk:function(){return l},yD:function(){return k},zs:function(){return E}});var r=n(65736),a=n(69771),o=n(92819);const __=r.__,i="google_photos",s="openverse",l="pexels",c="recent",u="/",p=[{value:c,label:__("Photos","jetpack")},{value:u,label:__("Albums","jetpack")}],d=[{value:"",
/* translators: category of images */
label:__("All categories","jetpack")},{value:"animals",
/* translators: category of images */
@@ -147,6 +144,7 @@ label:__("Sport","jetpack")},{value:"travel",
/* translators: category of images */
label:__("Travel","jetpack")},{value:"weddings",
/* translators: category of images */
-label:__("Weddings","jetpack")}],d=["mountain","ocean","river","clouds","pattern","abstract","sky"],m="ANY",h="LAST_7_DAYS",f="LAST_30_DAYS",g="LAST_6_MONTHS",b="LAST_12_MONTHS",v="CUSTOM",k=[{value:m,label:__("Any time","jetpack")},{value:h,label:__("Last 7 days","jetpack")},{value:f,label:__("Last 30 days","jetpack")},{value:g,label:__("Last 6 months","jetpack")},{value:b,label:__("Last 12 months","jetpack")},{value:v,label:__("Specific Month/Year","jetpack")}],y=(new Date).getFullYear(),E=[{label:__("Any Month","jetpack"),value:-1},...(0,o.map)((0,o.range)(0,12),(e=>({label:(0,a.dateI18n)("F",new Date(0,e)),value:e})))]},26634:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(92694),s=n(52175),l=n(63729),c=n(97294),u=n(34724);if((0,l.Z)()&&"function"==typeof s.useBlockEditContext){const e=e=>e.unstableFeaturedImageFlow||e.modalClass&&e.modalClass.indexOf("featured-image")>-1,t=(e,t)=>["core/cover","core/image","core/gallery","core/media-text","jetpack/image-compare","jetpack/slideshow","jetpack/story","jetpack/tiled-gallery"].indexOf(e)>-1&&-1===t.toString().indexOf("coblocks");(0,i.addFilter)("editor.MediaUpload","external-media/replace-media-upload",(n=>r=>{const{name:i}=(0,s.useBlockEditContext)();let{render:l}=r;if(t(i,l)||e(r)){const{allowedTypes:e,gallery:t=!1,value:n=[]}=r;e.indexOf("image")>-1&&!(t&&n.length>0)&&(l=e=>(0,o.createElement)(c.Z,a()({},e,{mediaProps:r})))}return(0,o.createElement)(n,a()({},r,{render:l}))}),100),(0,i.addFilter)("blocks.registerBlockType","external-media/individual-blocks",(function(e,t){return"core/image"!==t?e:{...e,keywords:[...e.keywords,...u.Dv.map((e=>e.keyword))]}}))}},6966:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(55609),l=n(65736),c=n(39630),u=n(25432),p=n(9236);const __=l.__,d=(0,r.memo)((()=>(0,r.createElement)("div",{className:"jetpack-external-media-browser__empty"},(0,r.createElement)("p",null,__("Sorry, but nothing matched your search criteria.","jetpack")))));t.Z=function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,className:m,multiple:h,setPath:f,nextPage:g,onCopy:b}=e,[v,k]=(0,r.useState)([]),[y,E]=(0,r.useState)(-1),w=(0,r.useRef)(-1),_=(0,r.useRef)(null),C=(0,r.useCallback)((e=>{let t=[e];"folder"===e.type?f(e.ID):h?(t=v.slice(0,9).concat(e),v.find((t=>e.ID===t.ID))&&(t=v.filter((t=>t.ID!==e.ID)))):1===v.length&&e.ID===v[0].ID&&(t=[]),k(t)}),[v,h,f]),j=(0,r.useCallback)((()=>{b(v)}),[v,b]),S=t.filter((e=>"folder"!==e.type)).length>0,x=o()({"jetpack-external-media-browser__media":!0,"jetpack-external-media-browser__media__loading":a}),T=o()({"jetpack-external-media-browser":!0,[m]:!0}),P=()=>{let e=1;const t=_.current.children;if(t.length>0){const n=t[0].offsetTop;for(;e<t.length&&t[e].offsetTop===n;)++e}w.current=e},N=(0,i.debounce)(P,400);(0,r.useEffect)((()=>(window.addEventListener("resize",N),()=>{window.removeEventListener("resize",N)})),[]),(0,r.useEffect)((()=>{t.length&&-1===w.current&&P()}),[t]);const A=(e,t)=>{let{item:n}=t;C(n)},I=(e,n)=>{let{item:r,index:a}=n;[c.LEFT,c.RIGHT,c.UP,c.DOWN].includes(e.keyCode)?((e,n)=>{switch(e){case c.LEFT:n>=1&&E(n-1);break;case c.RIGHT:n<t.length&&E(n+1);break;case c.UP:n>=w.current&&E(n-w.current);break;case c.DOWN:n<t.length-w.current&&E(n+w.current)}})(e.keyCode,a):c.SPACE===e.keyCode?(C(r),e.preventDefault()):c.ENTER===e.keyCode&&C(r),[c.LEFT,c.RIGHT,c.UP,c.DOWN,c.SPACE,c.ENTER].includes(e.keyCode)&&e.stopPropagation()};return(0,r.createElement)("div",{className:T},(0,r.createElement)("ul",{ref:_,className:x},t.map(((e,t)=>(0,r.createElement)(p.Z,{item:e,index:t,key:e.ID,onClick:A,onKeyDown:I,focus:t===y,isSelected:v.find((t=>t.ID===e.ID)),isCopying:n}))),0===t.length&&!a&&(0,r.createElement)(d,null),a&&(0,r.createElement)(u.Z,null),l&&!a&&(0,r.createElement)(s.Button,{isSecondary:!0,className:"jetpack-external-media-browser__loadmore",disabled:a||n,onClick:()=>{t.length&&E(t.length),g()}},__("Load More","jetpack"))),S&&(0,r.createElement)((()=>{const e=0===v.length||n,t=n?__("Inserting…","jetpack"):__("Select","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__toolbar"},(0,r.createElement)(s.Button,{isPrimary:!0,isBusy:n,disabled:e,onClick:j},t))}),null))}},9236:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__;t.Z=function(e){const{item:t,focus:n,isSelected:a,isCopying:s=!1}=e,{thumbnails:l,caption:c,name:u,title:p,type:d,children:m=0}=t,{medium:h=null,fmt_hd:f=null}=l,g=p||c||u,b=o()({"jetpack-external-media-browser__media__item":!0,"jetpack-external-media-browser__media__item__selected":a,"jetpack-external-media-browser__media__folder":"folder"===d,"is-transient":s}),v=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n&&v.current.focus()}),[n]),(0,r.createElement)("li",{ref:v,className:b,onClick:s?void 0:t=>{const{item:n,index:r}=e;e.onClick&&e.onClick(t,{item:n,index:r})},onKeyDown:s?void 0:t=>{const{item:n,index:r}=e;e.onKeyDown&&e.onKeyDown(t,{item:n,index:r})},role:"checkbox",tabIndex:"0","aria-checked":!!a,"aria-disabled":!!s},a&&s&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator"},(0,r.createElement)(i.Spinner,null),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator__label"},__("Inserting Image…","jetpack"))),(0,r.createElement)("img",{src:h||f,alt:g}),"folder"===d&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__info"},(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__name"},u),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__count"},m)))}},25432:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.memo)((function(){const e="jetpack-external-media-browser__media__item jetpack-external-media-browser__media__placeholder";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}))}))},97294:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(34724),s=n(60133);const l=e=>e.unstableFeaturedImageFlow||e.modalClass&&-1!==e.modalClass.indexOf("featured-image"),c=e=>void 0===e.multiple&&!l(e);t.Z=function(e){const{mediaProps:t}=e,[n,r]=(0,o.useState)(null),u=(0,i.ZR)(n);return(0,o.createElement)("div",{onClick:e=>e.stopPropagation()},(0,o.createElement)(s.Z,a()({},e,{setSelectedSource:r,isReplace:c(t),isFeatured:l(t),hasImage:t.value>0})),u&&(0,o.createElement)(u,a()({onClose:e=>{e&&(e.stopPropagation(),e.target.closest(".jetpack-external-media-header__dropdown"))||r(null)}},t)))}},60133:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(35127),s=n(2562);const __=o.__;t.Z=function(e){const{mediaProps:t,open:n,setSelectedSource:o,isFeatured:l,isReplace:c,hasImage:u}=e,p=t.render;let d=l,m=!1,h=!l;if(c)return(0,r.createElement)(s.Z,{originalButton:p,open:n,setSource:o});let f=__("Select Image","jetpack");return t.multiple&&(f=__("Select Images","jetpack")),t.allowedTypes.length>1&&(f=__("Select Media","jetpack")),l&&(f=__("Replace Image","jetpack"),d=!1,h=!1,m=!0),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Dropdown,{position:"bottom right",contentClassName:"jetpack-external-media-button-menu__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;const o=p&&p({open:n});return l&&u||o&&"string"!=typeof o.props.children?o:(0,r.createElement)(a.Button,{isPrimary:d,isSecondary:m,isTertiary:h,className:"jetpack-external-media-button-menu","aria-haspopup":"true","aria-expanded":t,onClick:n},f)},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(a.NavigableMenu,{"aria-label":f},(0,r.createElement)(a.MenuGroup,null,(0,r.createElement)(a.MenuItem,{icon:i.Z,onClick:()=>{t(),n()}},__("Media Library","jetpack")),(0,r.createElement)(s.Z,{open:n,setSource:o,onClick:t})))}}))}},2562:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(34724);t.Z=function(e){let{originalButton:t=null,onClick:n=(()=>{}),open:i,setSource:s}=e;return(0,r.createElement)(r.Fragment,null,t&&t({open:i}),o.Dv.map((e=>{let{icon:t,id:o,label:i}=e;return(0,r.createElement)(a.MenuItem,{icon:t,key:o,onClick:()=>{n(),s(o)}},i)})))}},67236:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(96483);const a={list:"/wpcom/v2/external-media/list/",copy:(0,n(58014).Wp)()?"/rest/v1.1/external-media-upload?service=":"/wpcom/v2/external-media/copy/",connection:"/wpcom/v2/external-media/connection/"};function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a[e]?(0,r.addQueryArgs)(a[e]+t,n):null}},97416:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(51591);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.JO,null),(0,r.createElement)("p",null,__("To get started, connect your site to your Google Photos library.","jetpack")),(0,r.createElement)("p",null,__("You can remove the connection in either of these places:","jetpack")),(0,r.createElement)("ul",null,(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://myaccount.google.com/security"},__("Google Security page","jetpack"))),(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://wordpress.com/marketing/connections/"},__("WordPress.com Connections","jetpack")))))}))},75039:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)("p",null,__("Awaiting authorization","jetpack"))}))},72475:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(99418);const __=a.__;t.Z=(0,r.memo)((function(e){let{path:t,setPath:n}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Button,{isTertiary:!0,onClick:()=>n(i.Tu)},__("Albums","jetpack")),"→   ",t.name)}))},10365:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(99418),l=n(38205);const __=a.__;function c(e){let{value:t,updateFilter:n}=e;return(0,r.createElement)(o.SelectControl,{label:__("Category","jetpack"),value:t,options:s.tY,onChange:n})}function u(e){let{value:t,updateFilter:n}=e;const a=t?.range||s.CY,[i,c]=(0,r.useState)(-1),[u,p]=(0,r.useState)(s.zs);return(0,r.createElement)("div",{className:"jetpack-external-media-date-filter"},(0,r.createElement)(o.SelectControl,{label:__("Filter by time period","jetpack"),value:a,options:s.QU,onChange:e=>n({range:e})}),a===s.yD&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Month","jetpack"),value:i,options:s.l5,onChange:c}),(0,r.createElement)(l.Z,{className:"components-base-control",label:__("Year","jetpack"),value:u,min:1970,onChange:p}),(0,r.createElement)(o.Button,{isSecondary:!0,disabled:t?.month===i&&t?.year===u,onClick:()=>{n({range:a,month:i,year:u})}},__("Apply","jetpack"))))}function p(){return(0,r.createElement)("span",null,__("Favorites","jetpack"))}function d(e){let{value:t,updateFilter:n}=e;const a=[{label:__("All","jetpack"),value:""},{label:__("Images","jetpack"),value:"photo"},{label:__("Videos","jetpack"),value:"video"}];return(0,r.createElement)(o.SelectControl,{label:__("Type","jetpack"),value:t,options:a,onChange:n})}function m(e){let{children:t,removeFilter:n,isRemovable:a=!1}=e;return(0,r.createElement)("div",{className:"jetpack-external-media-googlephotos-filter"},t,!!a&&(0,r.createElement)(o.Button,{onClick:n,isSmall:!0},__("Remove Filter","jetpack")))}t.Z=function(e){let{filters:t,setFilters:n,canChangeMedia:a}=e;const o=Object.keys(t).filter((e=>a||"mediaType"!==e)).map((e=>{return(0,r.createElement)(m,{key:e,removeFilter:()=>n((0,i.omit)(t,e))},(a=e,o=t[e],s=r=>n(function(e,t,n){const r={...e,[t]:n};return"mediaType"===t&&"video"===n?delete r.category:"category"===t&&"video"===r.mediaType&&delete r.mediaType,r}(t,e,r)),"category"===a?(0,r.createElement)(c,{value:o,updateFilter:s}):"date"===a?(0,r.createElement)(u,{value:o,updateFilter:s}):"favorite"===a?(0,r.createElement)(p,{value:o}):"mediaType"===a?(0,r.createElement)(d,{value:o,updateFilter:s}):null));var a,o,s}));return 0===o.length?null:o}},50254:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(76292),a=n.n(r),o=n(99418);const i=a()();function s(e){const{mediaType:t,category:n,favorite:r,date:s}=e,l=[];if(t&&l.push("mediaType="+t),n&&"video"!==t&&l.push("categoryInclude="+n),void 0!==r&&l.push("feature=favorite"),s){let e=null,t=null;switch(s.range){case o.Wm:e=a()(i).subtract(7,"days"),t=i;break;case o.Qh:e=a()(i).subtract(30,"days"),t=i;break;case o.Bb:e=a()(i).subtract(6,"months"),t=i;break;case o.En:e=a()(i).subtract(1,"year"),t=i;break;case o.yD:const n=parseInt(s.month),r=parseInt(s.year);isNaN(n)||isNaN(r)||(-1===n?(e=a()([r,0]),t=a()(e).endOf("year")):(e=a()([r,n]),t=a()(e).endOf("month")))}const n=e?e.format("YYYY-MM-DD"):"0000-00-00",r=t?t.format("YYYY-MM-DD"):"0000-00-00";l.push(`dateRange=${n}:${r}`)}return l.length>0?l:null}},48389:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i=[{label:__("Category","jetpack"),value:"category"},{label:__("Date","jetpack"),value:"date"},{label:__("Favorites","jetpack"),value:"favorite"},{label:__("Media Type","jetpack"),value:"mediaType"}];function s(e){return i.filter((t=>void 0===e[t.value]))}function l(e){const t=s(e);return t.length>0?t[0].value:""}t.Z=function(e){const[t,n]=(0,r.useState)(l([])),{isLoading:a,isCopying:i,filters:c,canChangeMedia:u}=e,p=function(e,t){return t?e:e.filter((e=>"mediaType"!==e.value))}(s(c),u);return 0===p.length?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Filters","jetpack"),value:t,disabled:a||i,options:p,onChange:n}),(0,r.createElement)(o.Button,{disabled:a||i,isSecondary:!0,isSmall:!0,onClick:()=>{const r=(a=c,o=t,{...a,[o]:"favorite"===o||""});var a,o;e.setFilters(r),n(l(r))}},__("Add Filter","jetpack")))}},72461:function(e,t,n){"use strict";var r=n(69307),a=n(3308);t.Z=e=>{let{account:t,setAuthenticated:n}=e;const{image:o,name:i}=t||{};return(0,r.createElement)("div",{className:"jetpack-external-media-header__account"},(0,r.createElement)("div",{className:"jetpack-external-media-header__account-info"},o&&(0,r.createElement)("img",{className:"jetpack-external-media-header__account-image",src:o,alt:"",height:"18",width:"18"}),i&&(0,r.createElement)("div",{className:"jetpack-external-media-header__account-name"},i)),(0,r.createElement)(a.Z,{setAuthenticated:n}))}},17482:function(e,t,n){"use strict";var r=n(69307),a=n(39151),o=n(86989),i=n.n(o),s=n(65736),l=n(55609),c=n(99418),u=n(67236),p=n(97416),d=n(75039);const __=s.__;t.Z=function(e){const{setAuthenticated:t}=e,[n,o]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{o(!0),i()({path:(0,u.k)("connection",c.iT)}).then((e=>{if(e.error)throw e.message;(0,a.Z)(e.connect_URL,(()=>{o(!1),t(!0)}))})).catch((()=>{o(!1)}))}),[t]);return(0,r.createElement)("div",{className:"jetpack-external-media-auth"},n?(0,r.createElement)(d.Z,null):(0,r.createElement)(p.Z,null),(0,r.createElement)(l.Button,{isPrimary:!0,disabled:n,onClick:s},__("Connect to Google Photos","jetpack")))}},3308:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(67236),c=n(99418);const __=s.__;t.Z=e=>{let{setAuthenticated:t}=e;const[n,a]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{a(!0),o()({method:"DELETE",path:(0,l.k)("connection",c.iT)}).then((()=>t(!1))).catch((()=>a(!1)))}),[t]);return(0,r.createElement)(i.Button,{isSecondary:!0,className:"jetpack-external-media-browser__disconnect",onClick:s,disabled:n,isBusy:n},__("Disconnect from Google Photos","jetpack"))}},8910:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(99418),s=n(6966),l=n(67236),c=n(10365),u=n(48389),p=n(72461),d=n(72475),m=n(50254);const __=a.__;t.Z=function(e){const{account:t,allowedTypes:n,copyMedia:a,getMedia:h,isCopying:f,isLoading:g,media:b,multiple:v,onChangePath:k,pageHandle:y,path:E,setAuthenticated:w,showAdditionalFilters:_=!1}=e,C=(j=n)&&1===j.length&&"image"===j[0];var j;const[S,x]=(0,r.useState)(C?{mediaType:"photo",date:{range:i.CY}}:{date:{range:i.CY}}),T=(0,r.useRef)(""),P=(0,r.useRef)(""),N=E.ID===i.oI?(0,m.Z)(S):null,A={number:20,path:E.ID};N&&(A.filter=N);const I=(0,l.k)("list",i.iT,A),B=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(I,t)}),[h,I]),M=(0,r.useCallback)((e=>{const t=b.find((t=>t.ID===e));P.current=E,k(t||{ID:e})}),[b,k,P,E]),R=(0,r.useCallback)((e=>{a(e,(0,l.k)("copy",i.iT),i.iT)}),[a]);return(0,r.useEffect)((()=>{T!==I&&(T.current=I,B({},E!==P.current))}),[T,I,B,E]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__google"},(0,r.createElement)("div",{className:"jetpack-external-media-header__view"},(0,r.createElement)(o.SelectControl,{className:"jetpack-external-media-header__select",label:__("View","jetpack"),value:E.ID!==i.oI?i.Tu:i.oI,disabled:g||f,options:i.OG,onChange:M}),_&&E.ID===i.oI&&(0,r.createElement)(u.Z,{filters:S,isLoading:g,setFilters:x,canChangeMedia:!C}),(0,r.createElement)("div",{className:"jetpack-external-media-header__filter"},E.ID===i.oI&&(0,r.createElement)(c.Z,{filters:S,isLoading:g,setFilters:x,canChangeMedia:!C}),E.ID!==i.oI&&E.ID!==i.Tu&&(0,r.createElement)(d.Z,{path:E,setPath:M})),(!g||b.length>0)&&(0,r.createElement)(p.Z,{account:t,setAuthenticated:w})),(0,r.createElement)(s.Z,{className:"jetpack-external-media-browser__google",key:I,media:b,isCopying:f,isLoading:g,nextPage:B,onCopy:R,pageHandle:y,multiple:v,setPath:M}))}},5465:function(e,t,n){"use strict";var r=n(69307),a=n(37603),o=n(17482),i=n(8910);t.Z=(0,a.Z)()((function(e){return e.isAuthenticated?(0,r.createElement)(i.Z,e):(0,r.createElement)(o.Z,e)}))},34724:function(e,t,n){"use strict";n.d(t,{Dv:function(){return c},ZR:function(){return u}});var r=n(69307),a=n(65736),o=n(51591),i=n(5465),s=n(7500),l=n(99418);const __=a.__,c=[{id:l.iT,label:__("Google Photos","jetpack"),icon:(0,r.createElement)(o.He,{className:"components-menu-items__item-icon"}),keyword:"google photos"},{id:l.wk,label:__("Pexels Free Photos","jetpack"),icon:(0,r.createElement)(o.yk,{className:"components-menu-items__item-icon"}),keyword:"pexels"}];function u(e){return e===l.wk?s.Z:e===l.iT?i.Z:null}},7500:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(99418),l=n(37603),c=n(6966),u=n(67236);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.wk),s.wk)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.wk,{number:20,path:"recent",search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(!w.current)return;const e=Array.from(w.current.elements).find((e=>"search"===e.type));e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__pexels"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__pexels",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{isPrimary:!0,onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__pexels",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},37603:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(27538),a=n.n(r),o=n(69307),i=n(92819),s=n(89105),l=n.n(s),c=n(86989),u=n.n(c),p=n(94333),d=n(55609),m=n(65736),h=n(39630),f=n(9818),g=n(99418);const __=m.__;function b(){return(0,p.createHigherOrderComponent)((e=>{class t extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"contentRef",(e=>{e?(this.contentElement=e,this.modalElement=e.closest(".jetpack-external-media-browser"),this.modalElement&&this.modalElement.addEventListener("keydown",this.stopArrowKeysPropagation)):this.modalElement&&(this.modalElement.removeEventListener("keydown",this.stopArrowKeysPropagation),this.modalElement=null,this.contentElement=null)})),a()(this,"stopArrowKeysPropagation",(e=>{[h.UP,h.DOWN,h.LEFT,h.RIGHT].includes(e.keyCode)&&!e.target.classList.contains("jetpack-external-media-browser__media__item")&&e.stopPropagation()})),a()(this,"setAuthenticated",(e=>this.setState({isAuthenticated:e}))),a()(this,"getMedia",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.state.isLoading||(n&&t.props.noticeOperations.removeAllNotices(),t.setState({account:n?t.defaultAccount:t.state.account,isLoading:!0,media:n?[]:t.state.media,nextHandle:!n&&t.state.nextHandle},(()=>t.getMediaRequest(e))))})),a()(this,"handleApiError",(e=>{if("authorization_required"===e.code)return void this.setState({isAuthenticated:!1,isLoading:!1,isCopying:!1});e.errors?.length&&(e={code:e.errors[0].error,message:e.errors[0].message});const{noticeOperations:t}=this.props;t.createErrorNotice("internal_server_error"===e.code?"Internal server error":e.message),this.setState({isLoading:!1,isCopying:!1})})),a()(this,"getMediaRequest",(e=>{const{nextHandle:t,media:n}=this.state;if(!1===t&&n.length>0)return void this.setState({isLoading:!1});const r=this.getRequestUrl(e);this.setAuthenticated(!0),u()({path:r,method:"GET",parse:void 0===window.wpcomFetch}).then((e=>{this.setState({account:e.meta.account,media:this.mergeMedia(n,e.media),nextHandle:e.meta.next_page,isLoading:!1})})).catch(this.handleApiError)})),a()(this,"copyMedia",((e,t,n)=>{var r;this.setState({isCopying:e}),this.props.noticeOperations.removeAllNotices(),this.modalElement&&this.modalElement.focus(),u()({path:t,method:"POST",data:{external_ids:e.map((e=>e.guid)),media:e.map((e=>({guid:e.guid,caption:e.caption,title:e.title}))),service:n,post_id:null!==(r=this.props.postId)&&void 0!==r?r:0}}).then((e=>{e.media&&(e=e.media.map((e=>({alt:e.alt,caption:e.caption,id:e.ID,type:"image",url:e.URL}))));const{value:t,addToGallery:n,multiple:r}=this.props,a=r?e:e[0],o=e.find((e=>e.errors));if(o){const{errors:e}=o,t=Object.keys(e)[0];this.handleApiError({code:t,message:e[t]})}else this.props.onClose(),this.props.onSelect(n?t.concat(e):a)})).catch(this.handleApiError)})),a()(this,"onChangePath",((e,t)=>{this.setState({path:e},t)})),this.defaultAccount={image:"",name:""},this.state={account:this.defaultAccount,media:[],nextHandle:!1,isLoading:!1,isCopying:null,isAuthenticated:!0,path:{ID:g.oI}}}mergeMedia(e,t){return(0,i.uniqBy)(e.concat(t),"ID")}getRequestUrl(e){const{nextHandle:t}=this.state;return t?e+"&page_handle="+encodeURIComponent(t):e}render(){const{account:t,isAuthenticated:n,isCopying:r,isLoading:a,media:i,nextHandle:s,path:c}=this.state,{allowedTypes:u,multiple:p=!1,noticeUI:m,onClose:h}=this.props,f=r?__("Inserting media","jetpack"):__("Select media","jetpack",0),g=r?__("When the media is finished copying and inserting, you will be returned to the editor.","jetpack"):__("Select the media you would like to insert into the editor.","jetpack",0),b="jetpack-external-media-browser__description",v=l()({"jetpack-external-media-browser":!0,"jetpack-external-media-browser--is-copying":r});return(0,o.createElement)(d.Modal,{onRequestClose:h,title:f,aria:{describedby:b},className:v},(0,o.createElement)("div",{ref:this.contentRef},m,(0,o.createElement)("p",{id:b,className:"jetpack-external-media-browser--visually-hidden"},g),(0,o.createElement)(e,{account:t,getMedia:this.getMedia,copyMedia:this.copyMedia,isCopying:r,isLoading:a,media:i,pageHandle:s,allowedTypes:u,isAuthenticated:n,setAuthenticated:this.setAuthenticated,multiple:p,path:c,onChangePath:this.onChangePath})))}}return(0,f.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()})))((0,d.withNotices)(t))}))}},36745:function(e,t,n){"use strict";n.d(t,{Qu:function(){return i}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["allowedMimeTypes"],[])}function i(e,t){if(!e||!t)return!1;if(!o())return!1;const n=(a=t)?(0,r.pickBy)(o(),(e=>(0,r.startsWith)(e,`${a}/`))):{};var a;const i=(s=n)?(0,r.flatten)((0,r.map)((0,r.keys)(s),(e=>e.split("|")))):[];var s;if("string"==typeof e){const t=e.split(".").pop();return t&&i.includes(t)}return"object"==typeof e&&(e.type&&(0,r.values)(n).includes(e.type))}},20510:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){const e=(0,r.getCategories)();for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];for(const t of n)if(e.some((e=>{let{slug:n}=e;return n===t})))return t;throw new Error(`Could not find a category from the provided list: ${n.join(",")}`)}},2368:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(96483);function a(e,t){if(!(0,r.isURL)(t))return null;let n=t;try{const a=(0,r.getQueryArg)(t,"state"),o=JSON.parse(atob(a));if(e)o.from_editor_post_id=e;else{const e=new URLSearchParams(window.location.search);o.from_site_editor_post_id=e.get("postId"),o.from_site_editor_post_type=e.get("postType")}n=(0,r.addQueryArgs)(t,{state:btoa(JSON.stringify(o))})}catch(e){0}return n}},47583:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);function a(){return(0,r.get)("object"==typeof window?window:null,["Jetpack_Editor_Initial_State"],null)}},21409:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(e){const t=(0,a.Z)(),n=(0,r.get)(t,["available_blocks",e,"available"],!1),o=(0,r.get)(t,["available_blocks",e,"unavailable_reason"],"unknown"),i=(0,r.get)(t,["available_blocks",e,"details"],[]);return{available:n,...!n&&{details:i,unavailableReason:o}}}},4235:function(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,{Z:function(){return r}})},14087:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(92819);const a=(e,t)=>(0,r.reduce)(t,((t,n,r)=>{if(void 0===e[r])return t;const{type:a,validator:o,validValues:i,default:s}=e[r];return t[r]="boolean"===a?"false"!==n&&!!n:o?o(n)?n:s:i?i.includes(n)?n:s:n,t}),{})},22985:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(20651),c=n.n(l);t.Z=e=>{let{children:t=null,isError:n=!1,...r}=e;const i=s()("help-message",{"help-message-is-error":n});return t&&(0,o.createElement)("div",a()({className:i},r),n&&(0,o.createElement)(c(),{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),(0,o.createElement)("span",null,t))}},51591:function(e,t,n){"use strict";n.d(t,{He:function(){return d},yk:function(){return m},JO:function(){return h},IM:function(){return f},zf:function(){return E},Ae:function(){return w},K9:function(){return _},Xu:function(){return C},VV:function(){return j},_z:function(){return S},Qv:function(){return x},av:function(){return T},Pw:function(){return P}});var r=n(29183),a=n.n(r),o=n(69307),i=n(55609),s=n(89105),l=n.n(s),c=n(27655),u=n(57535);const p=c.O["Jetpack Green 40"],d=e=>(0,o.createElement)(i.SVG,a()({height:"24",width:"24",viewBox:"1.2 10.8 169.6 169.6",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.Path,{d:"m43.6 49.4c23.4 0 42.4 19 42.4 42.4v3.9h-80.9c-2.1 0-3.8-1.7-3.9-3.9 0-23.4 19-42.4 42.4-42.4z",fill:"#f6bc04"}),(0,o.createElement)(i.Path,{d:"m132.2 53.2c0 23.4-19 42.4-42.4 42.4h-3.8v-80.9c0-2.1 1.7-3.9 3.8-3.9 23.5 0 42.4 19 42.4 42.4z",fill:"#ea4335"}),(0,o.createElement)(i.Path,{d:"m128.4 141.9c-23.4 0-42.4-19-42.4-42.4v-3.9h80.9c2.1 0 3.9 1.7 3.9 3.8 0 23.5-19 42.5-42.4 42.5z",fill:"#4285f4"}),(0,o.createElement)(i.Path,{d:"m39.8 138c0-23.4 19-42.4 42.4-42.4h3.8v80.9c0 2.1-1.7 3.8-3.9 3.9-23.4 0-42.3-19-42.3-42.4z",fill:"#34a853"})),m=e=>(0,o.createElement)(i.SVG,a()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),(0,o.createElement)(i.Path,{d:"M14 7H9v10h3.9v-3.8H14c1.7 0 3.1-1.4 3.1-3.1C17.2 8.4 15.8 7 14 7z"}),(0,o.createElement)(i.Path,{d:"M20.5 2h-17C2.7 2 2 2.7 2 3.5v17c0 .8.7 1.5 1.5 1.5h17c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5zm-5.6 13.2V19H7V5h7c2.8 0 5.1 2.3 5.1 5.1.1 2.5-1.8 4.7-4.2 5.1z"})),h=()=>{const e="#757575";return(0,o.createElement)(i.SVG,{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/SVG",x:"0px",y:"0px",viewBox:"0 0 1292 448",style:{enableBackground:"new 0 0 1292 448"}},(0,o.createElement)(i.G,{id:"Icon"},(0,o.createElement)(i.Path,{class:"st0",fill:"#F6B704",d:"M171.6,177.4c23.4,0,42.4,19,42.4,42.4v3.9h-80.9c-2.1,0-3.8-1.7-3.9-3.9C129.2,196.4,148.2,177.4,171.6,177.4 C171.6,177.4,171.6,177.4,171.6,177.4z"}),(0,o.createElement)(i.Path,{class:"st1",fill:"#E54335",d:"M260.2,181.2c0,23.4-19,42.4-42.4,42.4H214v-80.9c0-2.1,1.7-3.9,3.8-3.9h0 C241.3,138.8,260.2,157.8,260.2,181.2C260.2,181.2,260.2,181.2,260.2,181.2z"}),(0,o.createElement)(i.Path,{class:"st2",fill:"#4280EF",d:"M256.4,269.9c-23.4,0-42.4-19-42.4-42.4v-3.9h80.9c2.1,0,3.9,1.7,3.9,3.8v0 C298.8,250.9,279.8,269.9,256.4,269.9C256.4,269.9,256.4,269.9,256.4,269.9z"}),(0,o.createElement)(i.Path,{class:"st3",fill:"#34A353",d:"M167.8,266c0-23.4,19-42.4,42.4-42.4c0,0,0,0,0,0h3.9v80.9c0,2.1-1.7,3.8-3.9,3.9 C186.7,308.4,167.8,289.4,167.8,266z"})),(0,o.createElement)(i.G,{id:"Photos"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M796,272v-91.6h31.2c15.2,0,28.7,11.3,28.7,27.3s-13.4,27.3-28.7,27.3h-19.4V272H796z M827.5,223.6 c8.8,0,16-7.2,16-16s-7.2-16-16-16h-19.7v32H827.5z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M875.8,209.3l-0.5,8.7h0.5c3.3-5.8,11.3-10.8,19.8-10.8c16,0,23.9,10.9,23.9,26.4V272h-11.8v-36.6 c0-13-6.5-17.4-15.5-17.4c-10.2,0-16.5,9.7-16.5,19.3V272H864v-91.6h11.8V209.3z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M993.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4S993.8,221.6,993.8,240.6z M982,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S982,255,982,240.6L982,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1008,252.9V220h-11v-10.7h11v-19.2h11.8v19.2h15.3V220h-15.3v32c0,7,2.9,10.2,8.4,10.2c1.8,0.1,3.7-0.3,5.4-1 l4.1,10.1c-3,1.2-6.2,1.8-9.5,1.7C1015,273,1008,265.7,1008,252.9z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1105.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4 S1105.8,221.6,1105.8,240.6z M1094,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S1094,255,1094,240.6 L1094,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1111,256.1l10.5-4.4c3.3,7.9,9.5,11.8,17,11.8c7.3,0,12.5-3.6,12.5-8.8c0-3.2-1.9-6.6-8.6-8.3l-12.7-3.1 c-5.8-1.4-16.8-6.4-16.8-17.4c0-11.4,11.8-18.7,24.8-18.7c10.9,0,20.3,5,24.2,14.6l-10.2,4.2c-2.4-5.9-8.2-8.3-14.3-8.3 c-6.7,0-12.4,3-12.4,8.1c0,4,3.3,6.1,8.3,7.3l12.4,2.9c12.4,2.9,17.3,10.6,17.3,18.3c0,11.1-10,19.7-24.7,19.7 C1123.2,274,1114.7,265.1,1111,256.1z"})),(0,o.createElement)(i.G,{id:"Google"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M348.7,221.6c0-28.9,24.3-52.5,53.2-52.5c13.5-0.2,26.4,5,36,14.5l-10.1,10.1c-6.9-6.7-16.2-10.4-25.9-10.2 c-21.1,0-37.6,17-37.6,38.2s16.5,38.1,37.6,38.1c13.7,0,21.5-5.5,26.5-10.5c4.1-4.1,6.8-10,7.8-18H402v-14.4h48.3 c0.5,3,0.8,6,0.8,9c0,10.8-2.9,24.1-12.4,33.5c-9.2,9.6-21,14.7-36.6,14.7C373,274,348.7,250.5,348.7,221.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M490,206.5c-18.7,0-33.9,14.2-33.9,33.8S471.3,274,490,274s33.9-14.3,33.9-33.8S508.7,206.5,490,206.5z M490,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S500.2,260.7,490,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M564,206.5c-18.7,0-33.9,14.2-33.9,33.8S545.3,274,564,274s33.9-14.3,33.9-33.8S582.7,206.5,564,206.5z M564,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S574.2,260.7,564,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M654.8,208.5v5.5h-0.5c-3.3-4-9.7-7.6-17.8-7.6c-16.9,0-32.4,14.9-32.4,33.9s15.5,33.7,32.4,33.7 c8.1,0,14.5-3.6,17.8-7.7h0.5v4.9c0,12.9-6.9,19.8-18,19.8c-9.1,0-14.7-6.5-17-12l-12.9,5.4c5,12.1,16.8,20.1,30,20 c17.4,0,32.1-10.2,32.1-35.2v-60.7H654.8z M637.8,260.7c-10.2,0-18.8-8.6-18.8-20.4s8.6-20.6,18.8-20.6s18,8.7,18,20.6 S647.9,260.7,637.8,260.7L637.8,260.7z"}),(0,o.createElement)(i.Rect,{x:"679.2",y:"172.7",class:"st4",fill:e,width:"14.8",height:"99.3"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M734.7,260.7c-7.6,0-12.9-3.5-16.4-10.2l45.2-18.7L762,228c-2.8-7.6-11.4-21.5-28.9-21.5s-31.9,13.7-31.9,33.8 c0,19,14.3,33.8,33.5,33.8c11.3,0.1,21.9-5.6,28.2-15l-11.5-7.7C747.5,257,742.3,260.7,734.7,260.7z M733.6,219.5 c5.9,0,10.9,2.9,12.5,7.2l-30.2,12.5C715.5,226.2,726,219.5,733.6,219.5L733.6,219.5z"})))},f=e=>{let{size:t=24,className:n}=e;return(0,o.createElement)(i.SVG,{className:l()("jetpack-logo",n),width:t,height:t,viewBox:"0 0 32 32"},(0,o.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:p,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))},g=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.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.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))),b=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))),v=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),k=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),y=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.G,null,(0,o.createElement)(i.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.05h-9.36z"}))),E={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 100 100"},(0,o.createElement)(i.Path,{d:"M100,44H72.4l23.9-13.8l-6-10.4L66.4,33.6L80.2,9.7l-10.4-6L56,27.59V0H44v27.6L30.2,3.7l-10.4,6l13.8,23.9 L9.7,19.8l-6,10.4L27.6,44H0V56h27.6L3.7,69.8l6,10.4l23.9-13.8L19.8,90.3l10.4,6L44,72.4V100H56V72.41l13.8,23.9l10.4-6L66.4,66.4 l23.9,13.8l6-10.4L72.4,56H100V44z M50,65.23c-8.41,0-15.23-6.82-15.23-15.23c0-8.41,6.82-15.23,15.23-15.23S65.23,41.59,65.23,50 C65.23,58.41,58.41,65.23,50,65.23z"}))},w={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.7 17",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{d:"m20.7 12.9-.9-11c0-.5-.2-.9-.5-1.3-.3-.3-.8-.5-1.3-.5L1.9 0h-.1c-.2 0-.5 0-.7.1C.9.2.7.4.5.5.4.7.2.9.1 1.1c-.1.2-.1.5-.1.7v.1l.9 13.4c0 .5.2.9.5 1.3.3.2.8.4 1.3.4H3l16.1-2c.4 0 .9-.3 1.1-.6.3-.3.5-.8.5-1.2v-.3zm-3.1.8L4.2 15.3H4c-.4 0-.8-.1-1-.4-.3-.3-.4-.6-.5-1L1.7 3.2v-.1c0-.4.2-.8.5-1 .3-.3.7-.4 1-.4h.1l13.5.1c.4 0 .8.1 1 .4.3.3.4.6.5 1L19 12v.3c0 .4-.2.7-.4 1-.3.2-.6.4-1 .4z"}))},_={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})))},C=((0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M15.9216 2H2.98533C2.43803 2 1.99023 2.45 1.99023 3V17L5.97062 13H15.9216C16.4689 13 16.9167 12.55 16.9167 12V3C16.9167 2.45 16.4689 2 15.9216 2ZM14.9265 4V11H5.14469L3.98043 12.17V4H14.9265ZM18.9069 6H20.8971C21.4444 6 21.8922 6.45 21.8922 7V22L17.9118 18H6.96572C6.41842 18 5.97062 17.55 5.97062 17V15H18.9069V6Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M3.98042 2H19.9019C20.9965 2 21.8921 2.9 21.8921 4V16C21.8921 17.1 20.9965 18 19.9019 18H5.97061L1.99023 22V4C1.99023 2.9 2.88582 2 3.98042 2ZM5.97061 16H19.9019V4H3.98042V18L5.97061 16Z"}))),{foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M11.1114 8H20.0002M11.1113 15H20.0002",stroke:(0,u.m)(),strokeWidth:"1.5"}),(0,o.createElement)(i.Path,{d:"M4 10V6L8 8L4 10Z",fill:(0,u.m)()}),(0,o.createElement)(i.Path,{d:"M4 17V13L8 15L4 17Z",fill:(0,u.m)()})))}),j={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M4 12V4L11 8L4 12Z"}),(0,o.createElement)(i.Path,{d:"M4 14.5H20V16H4V14.5Z"}),(0,o.createElement)(i.Path,{d:"M4 18.5H13V20H4V18.5Z"})))},S=((0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M2.5 7.5V4.5H15.5V7.5H10.5V19.5H7.5V7.5H2.5ZM12.5 9.5H21.5V12.5H18.5V19.5H15.5V12.5H12.5V9.5Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M12.7049 2V6C8.30658 6 4.74414 9.58 4.74414 14C4.74414 18.42 8.30658 22 12.7049 22C17.1032 22 20.6656 18.42 20.6656 14H18.6755C18.6755 17.31 15.9987 20 12.7049 20C9.41113 20 6.73433 17.31 6.73433 14C6.73433 10.69 9.41113 8 12.7049 8V12L17.6804 7L12.7049 2ZM11.6501 12.73L11.4013 14.9L12.068 15.06C12.0753 15.0526 12.0827 15.0447 12.0901 15.0366C12.1131 15.0116 12.1375 14.9851 12.1675 14.97C12.1874 14.96 12.2073 14.9475 12.2272 14.935C12.2471 14.9225 12.2671 14.91 12.287 14.9C12.3268 14.88 12.3865 14.86 12.4362 14.85C12.486 14.84 12.5556 14.83 12.6352 14.83C12.7447 14.83 12.8542 14.85 12.9338 14.88C13.0134 14.91 13.083 14.96 13.1427 15.03C13.2024 15.1 13.2422 15.17 13.2721 15.27C13.302 15.37 13.3119 15.47 13.3119 15.58V15.58C13.3119 15.69 13.3119 15.79 13.2821 15.89C13.2522 15.99 13.2124 16.07 13.1726 16.14C13.1328 16.21 13.0631 16.27 12.9935 16.31C12.9238 16.35 12.8343 16.37 12.7248 16.37C12.5556 16.37 12.4163 16.31 12.3069 16.22C12.1974 16.13 12.1377 15.99 12.1178 15.81H11.2819C11.2819 16.01 11.3317 16.19 11.4113 16.34C11.4909 16.49 11.5904 16.63 11.7297 16.73C11.869 16.83 12.0183 16.92 12.1874 16.97C12.3566 17.02 12.5357 17.05 12.7148 17.05C12.9636 17.05 13.1726 17 13.3517 16.93C13.5308 16.86 13.6801 16.75 13.7995 16.62C13.9189 16.49 14.0085 16.34 14.0682 16.17C14.1279 16 14.1577 15.82 14.1577 15.63C14.1577 15.41 14.1179 15.21 14.0682 15.03C14.0184 14.85 13.9289 14.7 13.8194 14.58C13.7099 14.46 13.5706 14.37 13.4114 14.3C13.2522 14.23 13.0731 14.2 12.8641 14.2C12.7945 14.2 12.7248 14.21 12.6651 14.22C12.6352 14.225 12.6054 14.2325 12.5755 14.24C12.5457 14.2475 12.5158 14.255 12.486 14.26C12.4263 14.27 12.3765 14.29 12.3367 14.31C12.3201 14.3183 12.3035 14.325 12.2876 14.3313C12.2654 14.3401 12.2446 14.3483 12.2272 14.36L12.3367 13.44H14.0284V12.73H11.6501Z"}))),x=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M11.9412 2V6C16.3395 6 19.902 9.58 19.902 14C19.902 18.42 16.3395 22 11.9412 22C7.54291 22 3.98047 18.42 3.98047 14H5.97066C5.97066 17.31 8.64746 20 11.9412 20C15.235 20 17.9118 17.31 17.9118 14C17.9118 10.69 15.235 8 11.9412 8V12L6.96575 7L11.9412 2ZM10.8864 12.73L10.6376 14.9L11.3044 15.06C11.3117 15.0526 11.319 15.0447 11.3264 15.0366C11.3494 15.0116 11.3738 14.9851 11.4039 14.97C11.4238 14.96 11.4437 14.9475 11.4636 14.935C11.4835 14.9225 11.5034 14.91 11.5233 14.9C11.5631 14.88 11.6228 14.86 11.6725 14.85C11.7223 14.84 11.792 14.83 11.8716 14.83C11.981 14.83 12.0905 14.85 12.1701 14.88C12.2497 14.91 12.3194 14.96 12.3791 15.03C12.4388 15.1 12.4786 15.17 12.5084 15.27C12.5383 15.37 12.5482 15.47 12.5482 15.58V15.58C12.5482 15.69 12.5482 15.79 12.5184 15.89C12.4885 15.99 12.4487 16.07 12.4089 16.14C12.3691 16.21 12.2995 16.27 12.2298 16.31C12.1601 16.35 12.0706 16.37 11.9611 16.37C11.792 16.37 11.6526 16.31 11.5432 16.22C11.4337 16.13 11.374 15.99 11.3541 15.81H10.5182C10.5182 16.01 10.568 16.19 10.6476 16.34C10.7272 16.49 10.8267 16.63 10.966 16.73C11.1053 16.83 11.2546 16.92 11.4238 16.97C11.5929 17.02 11.7721 17.05 11.9512 17.05C12.1999 17.05 12.4089 17 12.588 16.93C12.7672 16.86 12.9164 16.75 13.0358 16.62C13.1552 16.49 13.2448 16.34 13.3045 16.17C13.3642 16 13.3941 15.82 13.3941 15.63C13.3941 15.41 13.3543 15.21 13.3045 15.03C13.2547 14.85 13.1652 14.7 13.0557 14.58C12.9463 14.46 12.807 14.37 12.6477 14.3C12.4885 14.23 12.3094 14.2 12.1004 14.2C12.0308 14.2 11.9611 14.21 11.9014 14.22C11.8716 14.225 11.8417 14.2325 11.8119 14.24C11.782 14.2475 11.7522 14.255 11.7223 14.26C11.6626 14.27 11.6128 14.29 11.573 14.31C11.5564 14.3183 11.5398 14.325 11.5239 14.3313C11.5017 14.3401 11.481 14.3483 11.4636 14.36L11.573 13.44H13.2647V12.73H10.8864Z"})),T=e=>{let{serviceName:t,className:n}=e;const r={className:l()("jetpack-gutenberg-social-icon",`is-${t}`,n),size:24};switch(t){case"facebook":return(0,o.createElement)(i.Icon,a()({icon:g},r));case"twitter":return(0,o.createElement)(i.Icon,a()({icon:b},r));case"linkedin":return(0,o.createElement)(i.Icon,a()({icon:v},r));case"tumblr":return(0,o.createElement)(i.Icon,a()({icon:k},r));case"google":return(0,o.createElement)(i.Icon,a()({icon:y},r))}return null},P=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M0 0h24v24H0z",fill:"none"}),(0,o.createElement)(i.Path,{d:"M7 2v11h3v9l7-12h-4l4-8z",fill:"currentColor"}))},28938:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_active"],!1)}},63729:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_current_user_connected"],!1)}},47077:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_offline_mode"],!1)}},23539:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(98817),s=n(32673);const __=a.__,{Fill:l,Slot:c}=(0,o.createSlotFill)("JetpackLikesAndSharingPanel");(0,i.registerPlugin)("jetpack-likes-and-sharing-panel",{render:()=>(0,r.createElement)(c,null,(e=>e.length?(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Likes and Sharing","jetpack")},e)):null))})},32673:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(55609),o=n(72067),i=n(98817),s=n(9818),l=n(96483),c=n(47701),u=n.n(c),p=n(51591);const{Fill:d,Slot:m}=(0,a.createSlotFill)("JetpackPluginSidebar");u()((function(){"true"===(0,l.getQueryArg)(window.location.search,"jetpackSidebarIsOpen")&&(0,s.dispatch)("core/interface").enableComplementaryArea("core/edit-post","jetpack-sidebar/jetpack")})),(0,i.registerPlugin)("jetpack-sidebar",{render:()=>(0,r.createElement)(m,null,(e=>e.length?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PluginSidebarMoreMenuItem,{target:"jetpack",icon:(0,r.createElement)(p.IM,null)},"Jetpack"),(0,r.createElement)(o.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:(0,r.createElement)(p.IM,null)},e)):null))})},7616:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(9818),i=n(65736),s=(n(53961),n(82827),n(4235)),l=n(58014);const __=i.__;function c(){const e=(0,s.Z)();return void 0!==typeof window&&window.location&&e?(0,l.Wp)()||(0,l.Ug)()?`https://wordpress.com/plans/my-plan/${e}`:`${window.location.protocol}//${e.replace("::","/")}/wp-admin/admin.php?page=jetpack#/my-plan`:null}(async()=>{if(void 0!==typeof window&&window.location){if(new URLSearchParams(window.location.search).get("plan_upgraded")){let e=null;e:try{if((0,l.Wp)())break e;const t=await a()({path:"/jetpack/v4/site"});e=JSON.parse(t.data).plan.product_name}finally{const t=c();(0,o.dispatch)("core/notices").createNotice("success",e?(0,i.sprintf)(
+label:__("Weddings","jetpack")}],m=["mountain","ocean","river","clouds","pattern","abstract","sky"],h="ANY",f="LAST_7_DAYS",g="LAST_30_DAYS",b="LAST_6_MONTHS",v="LAST_12_MONTHS",k="CUSTOM",y=[{value:h,label:__("Any time","jetpack")},{value:f,label:__("Last 7 days","jetpack")},{value:g,label:__("Last 30 days","jetpack")},{value:b,label:__("Last 6 months","jetpack")},{value:v,label:__("Last 12 months","jetpack")},{value:k,label:__("Specific Month/Year","jetpack")}],E=(new Date).getFullYear(),w=[{label:__("Any Month","jetpack"),value:-1},...(0,o.map)((0,o.range)(0,12),(e=>({label:(0,a.dateI18n)("F",new Date(0,e)),value:e})))]},54414:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(92694),s=n(52175),l=n(35089),c=n(10892),u=n(38457);if((0,l.Z)()&&"function"==typeof s.useBlockEditContext){const e=e=>e.unstableFeaturedImageFlow||e.modalClass&&e.modalClass.indexOf("featured-image")>-1,t=(e,t)=>["core/cover","core/image","core/gallery","core/media-text","jetpack/image-compare","jetpack/slideshow","jetpack/story","jetpack/tiled-gallery"].indexOf(e)>-1&&-1===t.toString().indexOf("coblocks");(0,i.addFilter)("editor.MediaUpload","external-media/replace-media-upload",(n=>r=>{const{name:i}=(0,s.useBlockEditContext)();let{render:l}=r;if(t(i,l)||e(r)){const{allowedTypes:e,gallery:t=!1,value:n=[]}=r;e.indexOf("image")>-1&&!(t&&n.length>0)&&(l=e=>(0,o.createElement)(c.Z,a()({},e,{mediaProps:r})))}return(0,o.createElement)(n,a()({},r,{render:l}))}),100),(0,i.addFilter)("blocks.registerBlockType","external-media/individual-blocks",(function(e,t){return"core/image"!==t?e:{...e,keywords:[...e.keywords,...u.Dv.map((e=>e.keyword))]}}))}},11583:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(55609),l=n(65736),c=n(39630),u=n(9827),p=n(46406);const __=l.__,d=(0,r.memo)((()=>(0,r.createElement)("div",{className:"jetpack-external-media-browser__empty"},(0,r.createElement)("p",null,__("Sorry, but nothing matched your search criteria.","jetpack")))));t.Z=function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,className:m,multiple:h,setPath:f,nextPage:g,onCopy:b}=e,[v,k]=(0,r.useState)([]),[y,E]=(0,r.useState)(-1),w=(0,r.useRef)(-1),_=(0,r.useRef)(null),C=(0,r.useCallback)((e=>{let t=[e];"folder"===e.type?f(e.ID):h?(t=v.slice(0,9).concat(e),v.find((t=>e.ID===t.ID))&&(t=v.filter((t=>t.ID!==e.ID)))):1===v.length&&e.ID===v[0].ID&&(t=[]),k(t)}),[v,h,f]),S=(0,r.useCallback)((()=>{b(v)}),[v,b]),j=t.filter((e=>"folder"!==e.type)).length>0,x=o()({"jetpack-external-media-browser__media":!0,"jetpack-external-media-browser__media__loading":a}),P=o()({"jetpack-external-media-browser":!0,[m]:!0}),T=()=>{let e=1;const t=_.current.children;if(t.length>0){const n=t[0].offsetTop;for(;e<t.length&&t[e].offsetTop===n;)++e}w.current=e},N=(0,i.debounce)(T,400);(0,r.useEffect)((()=>(window.addEventListener("resize",N),()=>{window.removeEventListener("resize",N)})),[]),(0,r.useEffect)((()=>{t.length&&-1===w.current&&T()}),[t]);const A=(e,t)=>{let{item:n}=t;C(n)},I=(e,n)=>{let{item:r,index:a}=n;[c.LEFT,c.RIGHT,c.UP,c.DOWN].includes(e.keyCode)?((e,n)=>{switch(e){case c.LEFT:n>=1&&E(n-1);break;case c.RIGHT:n<t.length&&E(n+1);break;case c.UP:n>=w.current&&E(n-w.current);break;case c.DOWN:n<t.length-w.current&&E(n+w.current)}})(e.keyCode,a):c.SPACE===e.keyCode?(C(r),e.preventDefault()):c.ENTER===e.keyCode&&C(r),[c.LEFT,c.RIGHT,c.UP,c.DOWN,c.SPACE,c.ENTER].includes(e.keyCode)&&e.stopPropagation()};return(0,r.createElement)("div",{className:P},(0,r.createElement)("ul",{ref:_,className:x},t.map(((e,t)=>(0,r.createElement)(p.Z,{item:e,index:t,key:e.ID,onClick:A,onKeyDown:I,focus:t===y,isSelected:v.find((t=>t.ID===e.ID)),isCopying:n}))),0===t.length&&!a&&(0,r.createElement)(d,null),a&&(0,r.createElement)(u.Z,null),l&&!a&&(0,r.createElement)(s.Button,{variant:"secondary",className:"jetpack-external-media-browser__loadmore",disabled:a||n,onClick:()=>{t.length&&E(t.length),g()}},__("Load More","jetpack"))),j&&(0,r.createElement)((()=>{const e=0===v.length||n,t=n?__("Inserting…","jetpack"):__("Select","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__toolbar"},(0,r.createElement)(s.Button,{variant:"primary",isBusy:n,disabled:e,onClick:S},t))}),null))}},46406:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__;t.Z=function(e){const{item:t,focus:n,isSelected:a,isCopying:s=!1}=e,{thumbnails:l,caption:c,name:u,title:p,type:d,children:m=0}=t,{medium:h=null,fmt_hd:f=null,thumbnail:g=null}=l,b=p||c||u,v=o()({"jetpack-external-media-browser__media__item":!0,"jetpack-external-media-browser__media__item__selected":a,"jetpack-external-media-browser__media__folder":"folder"===d,"is-transient":s}),k=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n&&k.current.focus()}),[n]),(0,r.createElement)("li",{ref:k,className:v,onClick:s?void 0:t=>{const{item:n,index:r}=e;e.onClick&&e.onClick(t,{item:n,index:r})},onKeyDown:s?void 0:t=>{const{item:n,index:r}=e;e.onKeyDown&&e.onKeyDown(t,{item:n,index:r})},role:"checkbox",tabIndex:"0","aria-checked":!!a,"aria-disabled":!!s},a&&s&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator"},(0,r.createElement)(i.Spinner,null),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator__label"},__("Inserting Image…","jetpack"))),(0,r.createElement)("img",{src:h||f||g,alt:b}),"folder"===d&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__info"},(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__name"},u),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__count"},m)))}},9827:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.memo)((function(){const e="jetpack-external-media-browser__media__item jetpack-external-media-browser__media__placeholder";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}))}))},10892:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(38457),s=n(95833);const l=e=>e.unstableFeaturedImageFlow||e.modalClass&&-1!==e.modalClass.indexOf("featured-image"),c=e=>void 0===e.multiple&&!l(e);t.Z=function(e){const{mediaProps:t}=e,[n,r]=(0,o.useState)(null),u=(0,i.ZR)(n);return(0,o.createElement)("div",{onClick:e=>e.stopPropagation()},(0,o.createElement)(s.Z,a()({},e,{setSelectedSource:r,isReplace:c(t),isFeatured:l(t),hasImage:t.value>0})),u&&(0,o.createElement)(u,a()({},t,{onClose:e=>{var n;e&&(e.stopPropagation(),e.target.closest(".jetpack-external-media-header__dropdown"))||(r(null),null===(n=t.onClose)||void 0===n||n.call(t))}})))}},95833:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(20843),s=n(13959);const __=o.__;t.Z=function(e){const{mediaProps:t,open:n,setSelectedSource:o,isFeatured:l,isReplace:c,hasImage:u}=e,p=t.render;let d="tertiary";if(c)return(0,r.createElement)(s.Z,{originalButton:p,open:n,setSource:o});let m=__("Select Image","jetpack");return t.multiple&&(m=__("Select Images","jetpack")),t.allowedTypes.length>1&&(m=__("Select Media","jetpack")),l&&(m=__("Replace Image","jetpack"),d="secondary"),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Dropdown,{position:"bottom right",contentClassName:"jetpack-external-media-button-menu__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;const o=p&&p({open:n});return l&&u||o&&"string"!=typeof o.props.children?o:(0,r.createElement)(a.Button,{variant:d,className:"jetpack-external-media-button-menu","aria-haspopup":"true","aria-expanded":t,onClick:n},m)},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(a.NavigableMenu,{"aria-label":m},(0,r.createElement)(a.MenuGroup,null,(0,r.createElement)(a.MenuItem,{icon:i.Z,onClick:()=>{t(),n()}},__("Media Library","jetpack")),(0,r.createElement)(s.Z,{open:n,setSource:o,onClick:t})))}}))}},13959:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(38457);t.Z=function(e){let{originalButton:t=null,onClick:n=(()=>{}),open:i,setSource:s}=e;return(0,r.createElement)(r.Fragment,null,t&&t({open:i}),o.Dv.map((e=>{let{icon:t,id:o,label:i}=e;return(0,r.createElement)(a.MenuItem,{icon:t,key:o,onClick:()=>{n(),s(o)}},i)})))}},47285:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(96483);const a={list:"/wpcom/v2/external-media/list/",copy:(0,n(13419).Wp)()?"/rest/v1.1/external-media-upload?service=":"/wpcom/v2/external-media/copy/",connection:"/wpcom/v2/external-media/connection/"};function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a[e]?(0,r.addQueryArgs)(a[e]+t,n):null}},53463:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(81427);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.JO,null),(0,r.createElement)("p",null,__("To get started, connect your site to your Google Photos library.","jetpack")),(0,r.createElement)("p",null,__("You can remove the connection in either of these places:","jetpack")),(0,r.createElement)("ul",null,(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://myaccount.google.com/security"},__("Google Security page","jetpack"))),(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://wordpress.com/marketing/connections/"},__("WordPress.com Connections","jetpack")))))}))},5890:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)("p",null,__("Awaiting authorization","jetpack"))}))},86167:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(20982);const __=a.__;t.Z=(0,r.memo)((function(e){let{path:t,setPath:n}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Button,{variant:"tertiary",onClick:()=>n(i.Tu)},__("Albums","jetpack")),"→   ",t.name)}))},4819:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(20769);const __=a.__;function c(e){let{value:t,updateFilter:n}=e;return(0,r.createElement)(o.SelectControl,{label:__("Category","jetpack"),value:t,options:s.tY,onChange:n})}function u(e){let{value:t,updateFilter:n}=e;const a=(null==t?void 0:t.range)||s.CY,[i,c]=(0,r.useState)(-1),[u,p]=(0,r.useState)(s.zs);return(0,r.createElement)("div",{className:"jetpack-external-media-date-filter"},(0,r.createElement)(o.SelectControl,{label:__("Filter by time period","jetpack"),value:a,options:s.QU,onChange:e=>n({range:e})}),a===s.yD&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Month","jetpack"),value:i,options:s.l5,onChange:c}),(0,r.createElement)(l.Z,{className:"components-base-control",label:__("Year","jetpack"),value:u,min:1970,onChange:p}),(0,r.createElement)(o.Button,{variant:"secondary",disabled:(null==t?void 0:t.month)===i&&(null==t?void 0:t.year)===u,onClick:()=>{n({range:a,month:i,year:u})}},__("Apply","jetpack"))))}function p(){return(0,r.createElement)("span",null,__("Favorites","jetpack"))}function d(e){let{value:t,updateFilter:n}=e;const a=[{label:__("All","jetpack"),value:""},{label:__("Images","jetpack"),value:"photo"},{label:__("Videos","jetpack"),value:"video"}];return(0,r.createElement)(o.SelectControl,{label:__("Type","jetpack"),value:t,options:a,onChange:n})}function m(e){let{children:t,removeFilter:n,isRemovable:a=!1}=e;return(0,r.createElement)("div",{className:"jetpack-external-media-googlephotos-filter"},t,!!a&&(0,r.createElement)(o.Button,{onClick:n,isSmall:!0},__("Remove Filter","jetpack")))}t.Z=function(e){let{filters:t,setFilters:n,canChangeMedia:a}=e;const o=Object.keys(t).filter((e=>a||"mediaType"!==e)).map((e=>{return(0,r.createElement)(m,{key:e,removeFilter:()=>n((0,i.omit)(t,e))},(a=e,o=t[e],s=r=>n(function(e,t,n){const r={...e,[t]:n};return"mediaType"===t&&"video"===n?delete r.category:"category"===t&&"video"===r.mediaType&&delete r.mediaType,r}(t,e,r)),"category"===a?(0,r.createElement)(c,{value:o,updateFilter:s}):"date"===a?(0,r.createElement)(u,{value:o,updateFilter:s}):"favorite"===a?(0,r.createElement)(p,{value:o}):"mediaType"===a?(0,r.createElement)(d,{value:o,updateFilter:s}):null));var a,o,s}));return 0===o.length?null:o}},58912:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(76292),a=n.n(r),o=n(20982);const i=a()();function s(e){const{mediaType:t,category:n,favorite:r,date:s}=e,l=[];if(t&&l.push("mediaType="+t),n&&"video"!==t&&l.push("categoryInclude="+n),void 0!==r&&l.push("feature=favorite"),s){let e=null,t=null;switch(s.range){case o.Wm:e=a()(i).subtract(7,"days"),t=i;break;case o.Qh:e=a()(i).subtract(30,"days"),t=i;break;case o.Bb:e=a()(i).subtract(6,"months"),t=i;break;case o.En:e=a()(i).subtract(1,"year"),t=i;break;case o.yD:const n=parseInt(s.month),r=parseInt(s.year);isNaN(n)||isNaN(r)||(-1===n?(e=a()([r,0]),t=a()(e).endOf("year")):(e=a()([r,n]),t=a()(e).endOf("month")))}const n=e?e.format("YYYY-MM-DD"):"0000-00-00",r=t?t.format("YYYY-MM-DD"):"0000-00-00";l.push(`dateRange=${n}:${r}`)}return l.length>0?l:null}},53800:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i=[{label:__("Category","jetpack"),value:"category"},{label:__("Date","jetpack"),value:"date"},{label:__("Favorites","jetpack"),value:"favorite"},{label:__("Media Type","jetpack"),value:"mediaType"}];function s(e){return i.filter((t=>void 0===e[t.value]))}function l(e){const t=s(e);return t.length>0?t[0].value:""}t.Z=function(e){const[t,n]=(0,r.useState)(l([])),{isLoading:a,isCopying:i,filters:c,canChangeMedia:u}=e,p=function(e,t){return t?e:e.filter((e=>"mediaType"!==e.value))}(s(c),u);return 0===p.length?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Filters","jetpack"),value:t,disabled:a||i,options:p,onChange:n}),(0,r.createElement)(o.Button,{disabled:a||i,variant:"secondary",isSmall:!0,onClick:()=>{const r=(a=c,o=t,{...a,[o]:"favorite"===o||""});var a,o;e.setFilters(r),n(l(r))}},__("Add Filter","jetpack")))}},64034:function(e,t,n){"use strict";var r=n(69307),a=n(2772);t.Z=e=>{let{account:t,setAuthenticated:n}=e;const{image:o,name:i}=t||{};return(0,r.createElement)("div",{className:"jetpack-external-media-header__account"},(0,r.createElement)("div",{className:"jetpack-external-media-header__account-info"},o&&(0,r.createElement)("img",{className:"jetpack-external-media-header__account-image",src:o,alt:"",height:"18",width:"18"}),i&&(0,r.createElement)("div",{className:"jetpack-external-media-header__account-name"},i)),(0,r.createElement)(a.Z,{setAuthenticated:n}))}},62494:function(e,t,n){"use strict";var r=n(69307),a=n(39229),o=n(86989),i=n.n(o),s=n(65736),l=n(55609),c=n(20982),u=n(47285),p=n(53463),d=n(5890);const __=s.__;t.Z=function(e){const{setAuthenticated:t}=e,[n,o]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{o(!0),i()({path:(0,u.k)("connection",c.iT)}).then((e=>{if(e.error)throw e.message;(0,a.Z)(e.connect_URL,(()=>{o(!1),t(!0)}))})).catch((()=>{o(!1)}))}),[t]);return(0,r.createElement)("div",{className:"jetpack-external-media-auth"},n?(0,r.createElement)(d.Z,null):(0,r.createElement)(p.Z,null),(0,r.createElement)(l.Button,{variant:"primary",disabled:n,onClick:s},__("Connect to Google Photos","jetpack")))}},2772:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(47285),c=n(20982);const __=s.__;t.Z=e=>{let{setAuthenticated:t}=e;const[n,a]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{a(!0),o()({method:"DELETE",path:(0,l.k)("connection",c.iT)}).then((()=>t(!1))).catch((()=>a(!1)))}),[t]);return(0,r.createElement)(i.Button,{variant:"secondary",className:"jetpack-external-media-browser__disconnect",onClick:s,disabled:n,isBusy:n},__("Disconnect from Google Photos","jetpack"))}},20107:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(20982),s=n(11583),l=n(47285),c=n(4819),u=n(53800),p=n(64034),d=n(86167),m=n(58912);const __=a.__;t.Z=function(e){const{account:t,allowedTypes:n,copyMedia:a,getMedia:h,isCopying:f,isLoading:g,media:b,multiple:v,onChangePath:k,pageHandle:y,path:E,setAuthenticated:w,showAdditionalFilters:_=!1}=e,C=(S=n)&&1===S.length&&"image"===S[0];var S;const[j,x]=(0,r.useState)(C?{mediaType:"photo",date:{range:i.CY}}:{date:{range:i.CY}}),P=(0,r.useRef)(""),T=(0,r.useRef)(""),N=E.ID===i.oI?(0,m.Z)(j):null,A={number:20,path:E.ID};N&&(A.filter=N);const I=(0,l.k)("list",i.iT,A),B=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(I,t)}),[h,I]),M=(0,r.useCallback)((e=>{const t=b.find((t=>t.ID===e));T.current=E,k(t||{ID:e})}),[b,k,T,E]),R=(0,r.useCallback)((e=>{a(e,(0,l.k)("copy",i.iT),i.iT)}),[a]);return(0,r.useEffect)((()=>{P!==I&&(P.current=I,B({},E!==T.current))}),[P,I,B,E]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__google"},(0,r.createElement)("div",{className:"jetpack-external-media-header__view"},(0,r.createElement)(o.SelectControl,{className:"jetpack-external-media-header__select",label:__("View","jetpack"),value:E.ID!==i.oI?i.Tu:i.oI,disabled:g||f,options:i.OG,onChange:M}),_&&E.ID===i.oI&&(0,r.createElement)(u.Z,{filters:j,isLoading:g,setFilters:x,canChangeMedia:!C}),(0,r.createElement)("div",{className:"jetpack-external-media-header__filter"},E.ID===i.oI&&(0,r.createElement)(c.Z,{filters:j,isLoading:g,setFilters:x,canChangeMedia:!C}),E.ID!==i.oI&&E.ID!==i.Tu&&(0,r.createElement)(d.Z,{path:E,setPath:M})),(!g||b.length>0)&&(0,r.createElement)(p.Z,{account:t,setAuthenticated:w})),(0,r.createElement)(s.Z,{className:"jetpack-external-media-browser__google",key:I,media:b,isCopying:f,isLoading:g,nextPage:B,onCopy:R,pageHandle:y,multiple:v,setPath:M}))}},77453:function(e,t,n){"use strict";var r=n(69307),a=n(97893),o=n(62494),i=n(20107);t.Z=(0,a.Z)()((function(e){return e.isAuthenticated?(0,r.createElement)(i.Z,e):(0,r.createElement)(o.Z,e)}))},38457:function(e,t,n){"use strict";n.d(t,{Dv:function(){return u},ZR:function(){return p}});var r=n(69307),a=n(65736),o=n(81427),i=n(77453),s=n(41214),l=n(12533),c=n(20982);const __=a.__,u=[{id:c.iT,label:__("Google Photos","jetpack"),icon:(0,r.createElement)(o.He,{className:"components-menu-items__item-icon"}),keyword:"google photos"},{id:c.wk,label:__("Pexels Free Photos","jetpack"),icon:(0,r.createElement)(o.yk,{className:"components-menu-items__item-icon"}),keyword:"pexels"},{id:c.Eh,label:__("Openverse","jetpack"),icon:(0,r.createElement)(o.FG,{className:"components-menu-items__item-icon"}),keyword:"openverse"}];function p(e){return e===c.wk?l.Z:e===c.iT?i.Z:e===c.Eh?s.Z:null}},41214:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(97893),c=n(11583),u=n(47285);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.Eh),s.Eh)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.Eh,{number:20,search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(null==w||!w.current)return;const e=w.current.querySelector("input[type='search']");e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__openverse"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__openverse",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{isPrimary:!0,onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__openverse",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},12533:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(97893),c=n(11583),u=n(47285);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.wk),s.wk)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.wk,{number:20,path:"recent",search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(!w.current)return;const e=Array.from(w.current.elements).find((e=>"search"===e.type));e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__pexels"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__pexels",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{variant:"primary",onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__pexels",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},97893:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(18294),a=n.n(r),o=n(69307),i=n(92819),s=n(65235),l=n.n(s),c=n(86989),u=n.n(c),p=n(94333),d=n(55609),m=n(65736),h=n(39630),f=n(9818),g=n(20982);const __=m.__;function b(){return(0,p.createHigherOrderComponent)((e=>{class t extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"contentRef",(e=>{e?(this.contentElement=e,this.modalElement=e.closest(".jetpack-external-media-browser"),this.modalElement&&this.modalElement.addEventListener("keydown",this.stopArrowKeysPropagation)):this.modalElement&&(this.modalElement.removeEventListener("keydown",this.stopArrowKeysPropagation),this.modalElement=null,this.contentElement=null)})),a()(this,"stopArrowKeysPropagation",(e=>{[h.UP,h.DOWN,h.LEFT,h.RIGHT].includes(e.keyCode)&&!e.target.classList.contains("jetpack-external-media-browser__media__item")&&e.stopPropagation()})),a()(this,"setAuthenticated",(e=>this.setState({isAuthenticated:e}))),a()(this,"getMedia",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.state.isLoading||(n&&t.props.noticeOperations.removeAllNotices(),t.setState({account:n?t.defaultAccount:t.state.account,isLoading:!0,media:n?[]:t.state.media,nextHandle:!n&&t.state.nextHandle},(()=>t.getMediaRequest(e))))})),a()(this,"handleApiError",(e=>{var t;if("authorization_required"===e.code)return void this.setState({isAuthenticated:!1,isLoading:!1,isCopying:!1});null!==(t=e.errors)&&void 0!==t&&t.length&&(e={code:e.errors[0].error,message:e.errors[0].message});const{noticeOperations:n}=this.props;n.createErrorNotice("internal_server_error"===e.code?"Internal server error":e.message),this.setState({isLoading:!1,isCopying:!1})})),a()(this,"getMediaRequest",(e=>{const{nextHandle:t,media:n}=this.state;if(!1===t&&n.length>0)return void this.setState({isLoading:!1});const r=this.getRequestUrl(e);this.setAuthenticated(!0),u()({path:r,method:"GET",parse:void 0===window.wpcomFetch}).then((e=>{this.setState({account:e.meta.account,media:this.mergeMedia(n,e.media),nextHandle:e.meta.next_page,isLoading:!1})})).catch(this.handleApiError)})),a()(this,"copyMedia",((e,t,n)=>{var r;this.setState({isCopying:e}),this.props.noticeOperations.removeAllNotices(),this.modalElement&&this.modalElement.focus(),u()({path:t,method:"POST",data:{external_ids:e.map((e=>e.guid)),media:e.map((e=>({guid:e.guid,caption:e.caption,title:e.title}))),service:n,post_id:null!==(r=this.props.postId)&&void 0!==r?r:0}}).then((e=>{e.media&&(e=e.media.map((e=>({alt:e.alt,caption:e.caption,id:e.ID,type:"image",url:e.URL}))));const{value:t,addToGallery:n,multiple:r}=this.props,a=r?e:e[0],o=e.find((e=>e.errors));if(o){const{errors:e}=o,t=Object.keys(e)[0];this.handleApiError({code:t,message:e[t]})}else this.props.onClose(),this.props.onSelect(n?t.concat(e):a)})).catch(this.handleApiError)})),a()(this,"onChangePath",((e,t)=>{this.setState({path:e},t)})),this.defaultAccount={image:"",name:""},this.state={account:this.defaultAccount,media:[],nextHandle:!1,isLoading:!1,isCopying:null,isAuthenticated:!0,path:{ID:g.oI}}}mergeMedia(e,t){return(0,i.uniqBy)(e.concat(t),"ID")}getRequestUrl(e){const{nextHandle:t}=this.state;return t?e+"&page_handle="+encodeURIComponent(t):e}render(){const{account:t,isAuthenticated:n,isCopying:r,isLoading:a,media:i,nextHandle:s,path:c}=this.state,{allowedTypes:u,multiple:p=!1,noticeUI:m,onClose:h}=this.props,f=r?__("Inserting media","jetpack"):__("Select media","jetpack",0),g=r?__("When the media is finished copying and inserting, you will be returned to the editor.","jetpack"):__("Select the media you would like to insert into the editor.","jetpack",0),b="jetpack-external-media-browser__description",v=l()({"jetpack-external-media-browser":!0,"jetpack-external-media-browser--is-copying":r});return(0,o.createElement)(d.Modal,{onRequestClose:h,title:f,aria:{describedby:b},className:v},(0,o.createElement)("div",{ref:this.contentRef},m,(0,o.createElement)("p",{id:b,className:"jetpack-external-media-browser--visually-hidden"},g),(0,o.createElement)(e,{account:t,getMedia:this.getMedia,copyMedia:this.copyMedia,isCopying:r,isLoading:a,media:i,pageHandle:s,allowedTypes:u,isAuthenticated:n,setAuthenticated:this.setAuthenticated,multiple:p,path:c,onChangePath:this.onChangePath})))}}return(0,f.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()})))((0,d.withNotices)(t))}))}},11317:function(e,t,n){"use strict";n.d(t,{Qu:function(){return i}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["allowedMimeTypes"],[])}function i(e,t){if(!e||!t)return!1;if(!o())return!1;const n=(r=t)?(0,a.pickBy)(o(),(e=>(0,a.startsWith)(e,`${r}/`))):{};var r;const i=(s=n)?(0,a.flatten)((0,a.map)((0,a.keys)(s),(e=>e.split("|")))):[];var s;if("string"==typeof e){const t=e.split(".").pop();return t&&i.includes(t)}return"object"==typeof e&&(e.type&&(0,a.values)(n).includes(e.type))}},5820:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){const e=(0,r.getCategories)();for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];for(const t of n)if(e.some((e=>{let{slug:n}=e;return n===t})))return t;throw new Error(`Could not find a category from the provided list: ${n.join(",")}`)}},74251:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(96483);function a(e,t){if(!(0,r.isURL)(t))return null;let n=t;try{const a=(0,r.getQueryArg)(t,"state"),o=JSON.parse(atob(a));if(e)o.from_editor_post_id=e;else{const e=new URLSearchParams(window.location.search);o.from_site_editor_post_id=e.get("postId"),o.from_site_editor_post_type=e.get("postType")}n=(0,r.addQueryArgs)(t,{state:btoa(JSON.stringify(o))})}catch(e){0}return n}},99307:function(e,t,n){"use strict";n.d(t,{BM:function(){return s},CG:function(){return o},fH:function(){return a},j3:function(){return l},yn:function(){return i}});var r=n(9818);const a="site",o="widget",i="post",s="customizer",l=()=>(0,r.select)("core/edit-site")?a:(0,r.select)("core/edit-widgets")?o:(0,r.select)("core/customize-widgets")?s:(0,r.select)("core/edit-navigation")?"navigation":(0,r.select)("core/edit-post")?i:"unknown"},4554:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(92819);const a=(e,t)=>(0,r.reduce)(t,((t,n,r)=>{if(void 0===e[r])return t;const{type:a,validator:o,validValues:i,default:s}=e[r];return t[r]="boolean"===a?"false"!==n&&!!n:o?o(n)?n:s:i?i.includes(n)?n:s:n,t}),{})},59809:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(73139);t.Z=e=>{let{children:t=null,isError:n=!1,...r}=e;const i=s()("help-message",{"help-message-is-error":n});return t&&(0,o.createElement)("div",a()({className:i},r),n&&(0,o.createElement)(l.Z,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),(0,o.createElement)("span",null,t))}},81427:function(e,t,n){"use strict";n.d(t,{Ae:function(){return v},FG:function(){return m},He:function(){return d},IM:function(){return g},JO:function(){return f},K9:function(){return y},Pw:function(){return S},Qv:function(){return C},VV:function(){return w},Xu:function(){return E},_z:function(){return _},h:function(){return k},ll:function(){return j},yk:function(){return h},zf:function(){return b}});var r=n(82402),a=n.n(r),o=n(69307),i=n(55609),s=n(65235),l=n.n(s),c=n(80550),u=n(70355);const p=c.O["Jetpack Green 40"],d=e=>(0,o.createElement)(i.SVG,a()({height:"24",width:"24",viewBox:"1.2 10.8 169.6 169.6",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.Path,{d:"m43.6 49.4c23.4 0 42.4 19 42.4 42.4v3.9h-80.9c-2.1 0-3.8-1.7-3.9-3.9 0-23.4 19-42.4 42.4-42.4z",fill:"#f6bc04"}),(0,o.createElement)(i.Path,{d:"m132.2 53.2c0 23.4-19 42.4-42.4 42.4h-3.8v-80.9c0-2.1 1.7-3.9 3.8-3.9 23.5 0 42.4 19 42.4 42.4z",fill:"#ea4335"}),(0,o.createElement)(i.Path,{d:"m128.4 141.9c-23.4 0-42.4-19-42.4-42.4v-3.9h80.9c2.1 0 3.9 1.7 3.9 3.8 0 23.5-19 42.5-42.4 42.5z",fill:"#4285f4"}),(0,o.createElement)(i.Path,{d:"m39.8 138c0-23.4 19-42.4 42.4-42.4h3.8v80.9c0 2.1-1.7 3.8-3.9 3.9-23.4 0-42.3-19-42.3-42.4z",fill:"#34a853"})),m=e=>(0,o.createElement)(i.SVG,a()({style:{fill:"#30272e",background:"#ffe033",padding:"3px",width:"22px",height:"24px"},width:"46",height:"42",viewBox:"0 0 46 42",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M0 9.3975C0 14.5687 4.1722 18.795 9.3353 18.795V0C4.1722 0 0 4.2 0 9.3975Z"}),(0,o.createElement)(i.Path,{d:"M13.6118 9.3975C13.6118 14.5687 17.784 18.795 22.9471 18.795V0C17.8101 0 13.6118 4.2 13.6118 9.3975Z"}),(0,o.createElement)(i.Path,{d:"M36.5589 18.795C41.7147 18.795 45.8942 14.5876 45.8942 9.3975C45.8942 4.2074 41.7147 0 36.5589 0C31.4032 0 27.2236 4.2074 27.2236 9.3975C27.2236 14.5876 31.4032 18.795 36.5589 18.795Z"}),(0,o.createElement)(i.Path,{d:"M0 32.6025C0 37.8 4.1722 42 9.3353 42V23.2312C4.1722 23.2312 0 27.4312 0 32.6025Z"}),(0,o.createElement)(i.Path,{d:"M13.6118 32.5238C13.6118 37.695 17.784 41.9213 22.9471 41.9213V23.1525C17.8101 23.1525 13.6118 27.3525 13.6118 32.5238Z"}),(0,o.createElement)(i.Path,{d:"M36.5589 41.9212C41.7147 41.9212 45.8942 37.7138 45.8942 32.5238C45.8942 27.3337 41.7147 23.1263 36.5589 23.1263C31.4032 23.1263 27.2236 27.3337 27.2236 32.5238C27.2236 37.7138 31.4032 41.9212 36.5589 41.9212Z"}))),h=e=>(0,o.createElement)(i.SVG,a()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),(0,o.createElement)(i.Path,{d:"M14 7H9v10h3.9v-3.8H14c1.7 0 3.1-1.4 3.1-3.1C17.2 8.4 15.8 7 14 7z"}),(0,o.createElement)(i.Path,{d:"M20.5 2h-17C2.7 2 2 2.7 2 3.5v17c0 .8.7 1.5 1.5 1.5h17c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5zm-5.6 13.2V19H7V5h7c2.8 0 5.1 2.3 5.1 5.1.1 2.5-1.8 4.7-4.2 5.1z"})),f=()=>{const e="#757575";return(0,o.createElement)(i.SVG,{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/SVG",x:"0px",y:"0px",viewBox:"0 0 1292 448",style:{enableBackground:"new 0 0 1292 448"}},(0,o.createElement)(i.G,{id:"Icon"},(0,o.createElement)(i.Path,{class:"st0",fill:"#F6B704",d:"M171.6,177.4c23.4,0,42.4,19,42.4,42.4v3.9h-80.9c-2.1,0-3.8-1.7-3.9-3.9C129.2,196.4,148.2,177.4,171.6,177.4 C171.6,177.4,171.6,177.4,171.6,177.4z"}),(0,o.createElement)(i.Path,{class:"st1",fill:"#E54335",d:"M260.2,181.2c0,23.4-19,42.4-42.4,42.4H214v-80.9c0-2.1,1.7-3.9,3.8-3.9h0 C241.3,138.8,260.2,157.8,260.2,181.2C260.2,181.2,260.2,181.2,260.2,181.2z"}),(0,o.createElement)(i.Path,{class:"st2",fill:"#4280EF",d:"M256.4,269.9c-23.4,0-42.4-19-42.4-42.4v-3.9h80.9c2.1,0,3.9,1.7,3.9,3.8v0 C298.8,250.9,279.8,269.9,256.4,269.9C256.4,269.9,256.4,269.9,256.4,269.9z"}),(0,o.createElement)(i.Path,{class:"st3",fill:"#34A353",d:"M167.8,266c0-23.4,19-42.4,42.4-42.4c0,0,0,0,0,0h3.9v80.9c0,2.1-1.7,3.8-3.9,3.9 C186.7,308.4,167.8,289.4,167.8,266z"})),(0,o.createElement)(i.G,{id:"Photos"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M796,272v-91.6h31.2c15.2,0,28.7,11.3,28.7,27.3s-13.4,27.3-28.7,27.3h-19.4V272H796z M827.5,223.6 c8.8,0,16-7.2,16-16s-7.2-16-16-16h-19.7v32H827.5z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M875.8,209.3l-0.5,8.7h0.5c3.3-5.8,11.3-10.8,19.8-10.8c16,0,23.9,10.9,23.9,26.4V272h-11.8v-36.6 c0-13-6.5-17.4-15.5-17.4c-10.2,0-16.5,9.7-16.5,19.3V272H864v-91.6h11.8V209.3z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M993.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4S993.8,221.6,993.8,240.6z M982,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S982,255,982,240.6L982,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1008,252.9V220h-11v-10.7h11v-19.2h11.8v19.2h15.3V220h-15.3v32c0,7,2.9,10.2,8.4,10.2c1.8,0.1,3.7-0.3,5.4-1 l4.1,10.1c-3,1.2-6.2,1.8-9.5,1.7C1015,273,1008,265.7,1008,252.9z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1105.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4 S1105.8,221.6,1105.8,240.6z M1094,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S1094,255,1094,240.6 L1094,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1111,256.1l10.5-4.4c3.3,7.9,9.5,11.8,17,11.8c7.3,0,12.5-3.6,12.5-8.8c0-3.2-1.9-6.6-8.6-8.3l-12.7-3.1 c-5.8-1.4-16.8-6.4-16.8-17.4c0-11.4,11.8-18.7,24.8-18.7c10.9,0,20.3,5,24.2,14.6l-10.2,4.2c-2.4-5.9-8.2-8.3-14.3-8.3 c-6.7,0-12.4,3-12.4,8.1c0,4,3.3,6.1,8.3,7.3l12.4,2.9c12.4,2.9,17.3,10.6,17.3,18.3c0,11.1-10,19.7-24.7,19.7 C1123.2,274,1114.7,265.1,1111,256.1z"})),(0,o.createElement)(i.G,{id:"Google"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M348.7,221.6c0-28.9,24.3-52.5,53.2-52.5c13.5-0.2,26.4,5,36,14.5l-10.1,10.1c-6.9-6.7-16.2-10.4-25.9-10.2 c-21.1,0-37.6,17-37.6,38.2s16.5,38.1,37.6,38.1c13.7,0,21.5-5.5,26.5-10.5c4.1-4.1,6.8-10,7.8-18H402v-14.4h48.3 c0.5,3,0.8,6,0.8,9c0,10.8-2.9,24.1-12.4,33.5c-9.2,9.6-21,14.7-36.6,14.7C373,274,348.7,250.5,348.7,221.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M490,206.5c-18.7,0-33.9,14.2-33.9,33.8S471.3,274,490,274s33.9-14.3,33.9-33.8S508.7,206.5,490,206.5z M490,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S500.2,260.7,490,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M564,206.5c-18.7,0-33.9,14.2-33.9,33.8S545.3,274,564,274s33.9-14.3,33.9-33.8S582.7,206.5,564,206.5z M564,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S574.2,260.7,564,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M654.8,208.5v5.5h-0.5c-3.3-4-9.7-7.6-17.8-7.6c-16.9,0-32.4,14.9-32.4,33.9s15.5,33.7,32.4,33.7 c8.1,0,14.5-3.6,17.8-7.7h0.5v4.9c0,12.9-6.9,19.8-18,19.8c-9.1,0-14.7-6.5-17-12l-12.9,5.4c5,12.1,16.8,20.1,30,20 c17.4,0,32.1-10.2,32.1-35.2v-60.7H654.8z M637.8,260.7c-10.2,0-18.8-8.6-18.8-20.4s8.6-20.6,18.8-20.6s18,8.7,18,20.6 S647.9,260.7,637.8,260.7L637.8,260.7z"}),(0,o.createElement)(i.Rect,{x:"679.2",y:"172.7",class:"st4",fill:e,width:"14.8",height:"99.3"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M734.7,260.7c-7.6,0-12.9-3.5-16.4-10.2l45.2-18.7L762,228c-2.8-7.6-11.4-21.5-28.9-21.5s-31.9,13.7-31.9,33.8 c0,19,14.3,33.8,33.5,33.8c11.3,0.1,21.9-5.6,28.2-15l-11.5-7.7C747.5,257,742.3,260.7,734.7,260.7z M733.6,219.5 c5.9,0,10.9,2.9,12.5,7.2l-30.2,12.5C715.5,226.2,726,219.5,733.6,219.5L733.6,219.5z"})))},g=e=>{let{size:t=24,border:n=0,className:r,color:a=p}=e;const s=n?-n/t*32:0;return(0,o.createElement)(i.SVG,{className:l()("jetpack-logo",r),width:t,height:t,viewBox:`${s} ${s} ${32-2*s} ${32-2*s}`},(0,o.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:a,stroke:n?"#fff":"transparent",strokeWidth:n,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:`15,19 ${7-.5*s},19 15,${3-s}`}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:`17,${29+s} 17,13 ${25+.5*s},13`}))},b={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 100 100"},(0,o.createElement)(i.Path,{d:"M100,44H72.4l23.9-13.8l-6-10.4L66.4,33.6L80.2,9.7l-10.4-6L56,27.59V0H44v27.6L30.2,3.7l-10.4,6l13.8,23.9 L9.7,19.8l-6,10.4L27.6,44H0V56h27.6L3.7,69.8l6,10.4l23.9-13.8L19.8,90.3l10.4,6L44,72.4V100H56V72.41l13.8,23.9l10.4-6L66.4,66.4 l23.9,13.8l6-10.4L72.4,56H100V44z M50,65.23c-8.41,0-15.23-6.82-15.23-15.23c0-8.41,6.82-15.23,15.23-15.23S65.23,41.59,65.23,50 C65.23,58.41,58.41,65.23,50,65.23z"}))},v={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.7 17",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{d:"m20.7 12.9-.9-11c0-.5-.2-.9-.5-1.3-.3-.3-.8-.5-1.3-.5L1.9 0h-.1c-.2 0-.5 0-.7.1C.9.2.7.4.5.5.4.7.2.9.1 1.1c-.1.2-.1.5-.1.7v.1l.9 13.4c0 .5.2.9.5 1.3.3.2.8.4 1.3.4H3l16.1-2c.4 0 .9-.3 1.1-.6.3-.3.5-.8.5-1.2v-.3zm-3.1.8L4.2 15.3H4c-.4 0-.8-.1-1-.4-.3-.3-.4-.6-.5-1L1.7 3.2v-.1c0-.4.2-.8.5-1 .3-.3.7-.4 1-.4h.1l13.5.1c.4 0 .8.1 1 .4.3.3.4.6.5 1L19 12v.3c0 .4-.2.7-.4 1-.3.2-.6.4-1 .4z"}))},k={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 43",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{transform:"translate(-25)",fillRule:"evenodd",d:"M37 31.908c0 1.376.893 2.268 2.27 2.268H45.9c3.956 0 7.192-1.337 9.392-3.68H37v1.412zM45.901 9H39.27C37.893 9 37 9.893 37 11.269v1.411h18.294C53.093 10.338 49.857 9 45.9 9zm5.787 16.176c0 1.113.726 1.835 1.845 1.835h3.973c.45-1.117.753-2.345.894-3.671h-4.867c-1.119 0-1.845.722-1.845 1.836zm-5.507-7.166c0 1.113.725 1.836 1.844 1.836H58.4a13.644 13.644 0 00-.894-3.672h-9.481c-1.119 0-1.844.723-1.844 1.836zm1.843 7.166c0-1.114-.726-1.836-1.845-1.836H37v3.671h9.18c1.118 0 1.843-.722 1.843-1.835zm-5.508-7.166c0-1.113-.726-1.836-1.844-1.836H37v3.672h3.672c1.118 0 1.844-.723 1.844-1.836zM83.667 21.209c.296-1.437",clipRule:"evenodd"}))},y={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})))},E=((0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M15.9216 2H2.98533C2.43803 2 1.99023 2.45 1.99023 3V17L5.97062 13H15.9216C16.4689 13 16.9167 12.55 16.9167 12V3C16.9167 2.45 16.4689 2 15.9216 2ZM14.9265 4V11H5.14469L3.98043 12.17V4H14.9265ZM18.9069 6H20.8971C21.4444 6 21.8922 6.45 21.8922 7V22L17.9118 18H6.96572C6.41842 18 5.97062 17.55 5.97062 17V15H18.9069V6Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M3.98042 2H19.9019C20.9965 2 21.8921 2.9 21.8921 4V16C21.8921 17.1 20.9965 18 19.9019 18H5.97061L1.99023 22V4C1.99023 2.9 2.88582 2 3.98042 2ZM5.97061 16H19.9019V4H3.98042V18L5.97061 16Z"}))),{foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M11.1114 8H20.0002M11.1113 15H20.0002",stroke:(0,u.m)(),strokeWidth:"1.5"}),(0,o.createElement)(i.Path,{d:"M4 10V6L8 8L4 10Z",fill:(0,u.m)()}),(0,o.createElement)(i.Path,{d:"M4 17V13L8 15L4 17Z",fill:(0,u.m)()})))}),w={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M4 12V4L11 8L4 12Z"}),(0,o.createElement)(i.Path,{d:"M4 14.5H20V16H4V14.5Z"}),(0,o.createElement)(i.Path,{d:"M4 18.5H13V20H4V18.5Z"})))},_=((0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M2.5 7.5V4.5H15.5V7.5H10.5V19.5H7.5V7.5H2.5ZM12.5 9.5H21.5V12.5H18.5V19.5H15.5V12.5H12.5V9.5Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M12.7049 2V6C8.30658 6 4.74414 9.58 4.74414 14C4.74414 18.42 8.30658 22 12.7049 22C17.1032 22 20.6656 18.42 20.6656 14H18.6755C18.6755 17.31 15.9987 20 12.7049 20C9.41113 20 6.73433 17.31 6.73433 14C6.73433 10.69 9.41113 8 12.7049 8V12L17.6804 7L12.7049 2ZM11.6501 12.73L11.4013 14.9L12.068 15.06C12.0753 15.0526 12.0827 15.0447 12.0901 15.0366C12.1131 15.0116 12.1375 14.9851 12.1675 14.97C12.1874 14.96 12.2073 14.9475 12.2272 14.935C12.2471 14.9225 12.2671 14.91 12.287 14.9C12.3268 14.88 12.3865 14.86 12.4362 14.85C12.486 14.84 12.5556 14.83 12.6352 14.83C12.7447 14.83 12.8542 14.85 12.9338 14.88C13.0134 14.91 13.083 14.96 13.1427 15.03C13.2024 15.1 13.2422 15.17 13.2721 15.27C13.302 15.37 13.3119 15.47 13.3119 15.58V15.58C13.3119 15.69 13.3119 15.79 13.2821 15.89C13.2522 15.99 13.2124 16.07 13.1726 16.14C13.1328 16.21 13.0631 16.27 12.9935 16.31C12.9238 16.35 12.8343 16.37 12.7248 16.37C12.5556 16.37 12.4163 16.31 12.3069 16.22C12.1974 16.13 12.1377 15.99 12.1178 15.81H11.2819C11.2819 16.01 11.3317 16.19 11.4113 16.34C11.4909 16.49 11.5904 16.63 11.7297 16.73C11.869 16.83 12.0183 16.92 12.1874 16.97C12.3566 17.02 12.5357 17.05 12.7148 17.05C12.9636 17.05 13.1726 17 13.3517 16.93C13.5308 16.86 13.6801 16.75 13.7995 16.62C13.9189 16.49 14.0085 16.34 14.0682 16.17C14.1279 16 14.1577 15.82 14.1577 15.63C14.1577 15.41 14.1179 15.21 14.0682 15.03C14.0184 14.85 13.9289 14.7 13.8194 14.58C13.7099 14.46 13.5706 14.37 13.4114 14.3C13.2522 14.23 13.0731 14.2 12.8641 14.2C12.7945 14.2 12.7248 14.21 12.6651 14.22C12.6352 14.225 12.6054 14.2325 12.5755 14.24C12.5457 14.2475 12.5158 14.255 12.486 14.26C12.4263 14.27 12.3765 14.29 12.3367 14.31C12.3201 14.3183 12.3035 14.325 12.2876 14.3313C12.2654 14.3401 12.2446 14.3483 12.2272 14.36L12.3367 13.44H14.0284V12.73H11.6501Z"}))),C=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M11.9412 2V6C16.3395 6 19.902 9.58 19.902 14C19.902 18.42 16.3395 22 11.9412 22C7.54291 22 3.98047 18.42 3.98047 14H5.97066C5.97066 17.31 8.64746 20 11.9412 20C15.235 20 17.9118 17.31 17.9118 14C17.9118 10.69 15.235 8 11.9412 8V12L6.96575 7L11.9412 2ZM10.8864 12.73L10.6376 14.9L11.3044 15.06C11.3117 15.0526 11.319 15.0447 11.3264 15.0366C11.3494 15.0116 11.3738 14.9851 11.4039 14.97C11.4238 14.96 11.4437 14.9475 11.4636 14.935C11.4835 14.9225 11.5034 14.91 11.5233 14.9C11.5631 14.88 11.6228 14.86 11.6725 14.85C11.7223 14.84 11.792 14.83 11.8716 14.83C11.981 14.83 12.0905 14.85 12.1701 14.88C12.2497 14.91 12.3194 14.96 12.3791 15.03C12.4388 15.1 12.4786 15.17 12.5084 15.27C12.5383 15.37 12.5482 15.47 12.5482 15.58V15.58C12.5482 15.69 12.5482 15.79 12.5184 15.89C12.4885 15.99 12.4487 16.07 12.4089 16.14C12.3691 16.21 12.2995 16.27 12.2298 16.31C12.1601 16.35 12.0706 16.37 11.9611 16.37C11.792 16.37 11.6526 16.31 11.5432 16.22C11.4337 16.13 11.374 15.99 11.3541 15.81H10.5182C10.5182 16.01 10.568 16.19 10.6476 16.34C10.7272 16.49 10.8267 16.63 10.966 16.73C11.1053 16.83 11.2546 16.92 11.4238 16.97C11.5929 17.02 11.7721 17.05 11.9512 17.05C12.1999 17.05 12.4089 17 12.588 16.93C12.7672 16.86 12.9164 16.75 13.0358 16.62C13.1552 16.49 13.2448 16.34 13.3045 16.17C13.3642 16 13.3941 15.82 13.3941 15.63C13.3941 15.41 13.3543 15.21 13.3045 15.03C13.2547 14.85 13.1652 14.7 13.0557 14.58C12.9463 14.46 12.807 14.37 12.6477 14.3C12.4885 14.23 12.3094 14.2 12.1004 14.2C12.0308 14.2 11.9611 14.21 11.9014 14.22C11.8716 14.225 11.8417 14.2325 11.8119 14.24C11.782 14.2475 11.7522 14.255 11.7223 14.26C11.6626 14.27 11.6128 14.29 11.573 14.31C11.5564 14.3183 11.5398 14.325 11.5239 14.3313C11.5017 14.3401 11.481 14.3483 11.4636 14.36L11.573 13.44H13.2647V12.73H10.8864Z"})),S=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M0 0h24v24H0z",fill:"none"}),(0,o.createElement)(i.Path,{d:"M7 2v11h3v9l7-12h-4l4-8z",fill:"currentColor"})),j=(0,o.createElement)(i.SVG,{width:"29",height:"21",viewBox:"0 0 29 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(i.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2.79037 0.59375C4.0363 0.59375 5.13102 1.41658 5.47215 2.60947L8.8452 14.4044C8.8486 14.4164 8.85411 14.4273 8.86124 14.4368L12.8572 0.59375H15.0927H21.2721C25.6033 0.59375 28.5066 3.39892 28.5066 7.64565C28.5066 11.9411 25.5272 14.6196 21.0818 14.6196H18.1499H14.3719L13.6379 16.8813C12.9796 18.9095 11.0827 20.2839 8.94152 20.2839C6.80035 20.2839 4.90341 18.9095 4.24517 16.8813L0.137069 4.22276C-0.444671 2.43022 0.898038 0.59375 2.79037 0.59375ZM15.7374 10.4119H20.0156C21.8718 10.4119 22.9856 9.35018 22.9856 7.64565C22.9856 5.93137 21.8718 4.91839 20.0156 4.91839H17.5202L15.7374 10.4119Z",fill:"#000000"}))},12923:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_active"],!1)}},35089:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_current_user_connected"],!1)}},99621:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_offline_mode"],!1)}},8264:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(98817),s=n(34613);const __=a.__,{Fill:l,Slot:c}=(0,o.createSlotFill)("JetpackLikesAndSharingPanel");(0,i.registerPlugin)("jetpack-likes-and-sharing-panel",{render:()=>(0,r.createElement)(c,null,(e=>e.length?(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Likes and Sharing","jetpack")},e)):null))})},34613:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(55609),o=n(72067),i=n(98817),s=n(9818),l=n(96483),c=n(47701),u=n.n(c),p=n(81427);const{Fill:d,Slot:m}=(0,a.createSlotFill)("JetpackPluginSidebar");u()((function(){"true"===(0,l.getQueryArg)(window.location.search,"jetpackSidebarIsOpen")&&(0,s.dispatch)("core/interface").enableComplementaryArea("core/edit-post","jetpack-sidebar/jetpack")})),(0,i.registerPlugin)("jetpack-sidebar",{render:()=>(0,r.createElement)(m,null,(e=>e.length?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PluginSidebarMoreMenuItem,{target:"jetpack",icon:(0,r.createElement)(p.IM,null)},"Jetpack"),(0,r.createElement)(o.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:(0,r.createElement)(p.IM,null)},e)):null))})},63066:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(9818),i=n(65736),s=(n(53961),n(13419));const __=i.__;function l(){const e=(0,s.lQ)();return void 0!==typeof window&&window.location&&e?(0,s.Wp)()||(0,s.Ug)()?`https://wordpress.com/plans/my-plan/${e}`:`${window.location.protocol}//${e.replace("::","/")}/wp-admin/admin.php?page=jetpack#/my-plan`:null}(async()=>{if(void 0!==typeof window&&window.location){if(new URLSearchParams(window.location.search).get("plan_upgraded")){let e=null;e:try{if((0,s.Wp)())break e;const t=await a()({path:"/jetpack/v4/site"});e=JSON.parse(t.data).plan.product_name}finally{const t=l();(0,o.dispatch)("core/notices").createNotice("success",e?(0,i.sprintf)(
/* translators: %s is the plan name, such as Jetpack Premium. */
-__("Congratulations! Your site is now on the %s plan.","jetpack"),e):__("Congratulations! Your site is now on a paid plan.","jetpack"),{isDismissible:!0,...t&&{actions:[{url:c(),label:__("View my plan","jetpack")}]}})}}}})()},44298:function(e,t,n){"use strict";n.d(t,{Qq:function(){return p},X1:function(){return d},Rl:function(){return m},FK:function(){return f},HD:function(){return g},m3:function(){return b}});var r=n(92819),a=n(96483),o=n(65736),i=n(47583),s=n(58014),l=n(4235),c=n(21409),u=n(28069);const __=o.__;function p(e){let{planSlug:t,plan:n,postId:o,postType:i}=e;const c=(0,r.startsWith)(t,"jetpack_")?t:(0,r.get)(n,["path_slug"]),u=(void 0===i?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.Z)().replace("::","/")}/wp-admin/admin.php`,{page:"gutenberg-edit-site",postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(i)?"":"edit";return(0,s.Wp)()?(0,a.addQueryArgs)("/"+(0,r.compact)([e,i,(0,l.Z)(),o]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.Z)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:o,plan_upgraded:1})})();return(0,s.Ug)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,l.Z)()}`,{redirect_to:u,customerType:"business"}):c&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.Z)()}/${c}`,{redirect_to:u})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:r}=(0,c.Z)(t);return!n&&"missing_plan"===r}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:r}=(0,c.Z)(t);return(0,u._)(r,n)}const h=[{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 f(){return(0,r.get)((0,i.Z)(),"jetpack.enable_upgrade_nudge",!1)}const g=e=>(0,r.map)(h,"name").includes(e),b=e=>(0,r.head)((0,r.filter)(h,(t=>{let{name:n}=t;return n===e})))},99230:function(e,t,n){"use strict";n.d(t,{uM:function(){return i},yX:function(){return s},bu:function(){return l}});var r=n(86989),a=n.n(r),o=n(58014);async function i(){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function l(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},57836:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},28069:function(e,t,n){"use strict";n.d(t,{_:function(){return p},Z:function(){return h}});var r=n(65736),a=n(92694),o=n(4981),i=n(1949),s=n(21409),l=n(28137);const __=r.__,c={paid:(0,r._x)("paid","Short label appearing near a block requiring a paid plan","jetpack"),beta:__("beta","jetpack")},u=i.Kc||[];function p(e,t){return"missing_plan"===e&&t.required_plan}function d(e){const t=[];return u.includes(e)&&t.push(c.beta),t}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length?`${e} (${t.join(", ")})`:e}function h(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:i,details:c,unavailableReason:u}=(0,s.Z)(e),h=p(u,c),f=r?"jetpack/":"";if(!i&&!h)return!1;const g=(0,o.registerBlockType)(f+e,{...t,title:m(t.title,d(e))});return h&&(0,a.addFilter)("editor.BlockListBlock",`${f+e}-with-has-warning-is-interactive-class-names`,(0,l.Z)(f+e)),n.forEach((e=>(0,o.registerBlockType)(f+e.name,e.settings))),g}},52291:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98817),a=n(21409);function o(e,t){const{available:n,unavailableReason:o}=(0,a.Z)(e);return!!n&&(0,r.registerPlugin)(`jetpack-${e}`,t)}},41632:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:o},(0,r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},55637:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=(e,t,n,o,i)=>{const{isSelected:s}=t,l=t.attributes[e];return(0,r.createElement)("div",{className:s?`jetpack-${e}-block is-selected`:`jetpack-${e}-block`},!s&&""!==l&&o(t),(s||""===l)&&(0,r.createElement)(a.PlainText,{value:l,placeholder:n,"aria-label":n,onChange:i}))}},58014:function(e,t,n){"use strict";n.d(t,{Wp:function(){return i},Ug:function(){return s},M6:function(){return l}});var r=n(92819),a=n(47583);function o(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===o()}function s(){return"atomic"===o()}function l(){return(0,r.get)((0,a.Z)(),["jetpack","is_private_site"],!1)}},92919:function(e,t,n){"use strict";var r=n(9818),a=n(65736),o=(n(53961),n(82827));const __=a.__;if(void 0!==typeof window&&window.location){const{query:e}=(0,o.Qc)(window.location.href,!0);e.stripe_connect_success?(0,r.dispatch)("core/notices").createNotice("success",__("Congrats! Your site is now connected to Stripe. You can now start accepting funds!","jetpack")):e.stripe_connect_cancelled&&(0,r.dispatch)("core/notices").createNotice("error",__("You cancelled connecting your site to Stripe.","jetpack"))}},87072:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(86989),o=n.n(a);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;return t(!0),new Promise(((n,r)=>{o()({path:`/wpcom/v2/resolve-redirect/?url=${encodeURIComponent(e)}`}).then((a=>{t(!1);const o=a.status?parseInt(a.status,10):null;o&&o>=400?r():n(a.url||e)}),(()=>{t(!1),r()}))}))}},37930:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),a=n(9818),o=n(69307);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t&&t(e),n?window.open(e,"_blank"):window.top.location.href=e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const[n,s]=(0,o.useState)(!1),{isAutosaveablePost:l,isDirtyPost:c,currentPost:u}=(0,a.useSelect)((e=>{const t=e("core/editor");return{isAutosaveablePost:t.isEditedPostAutosaveable(),isDirtyPost:t.isEditedPostDirty(),currentPost:t.getCurrentPost()}}),[]),p=Object.keys(u).length>0,d=(0,a.useSelect)((e=>!!window.wp.customize||!!e("core/edit-widgets"))),m=(0,a.dispatch)("core/editor").savePost,h=(0,a.useSelect)((e=>e("core").__experimentalGetDirtyEntityRecords())),f=async()=>{for(let e=0;e<h.length;e++)await(0,a.dispatch)("core").saveEditedEntityRecord(h[e].kind,h[e].name,h[e].key)},g=async e=>{e.preventDefault(),p?c&&l&&await m(e):await f(e)},b=async r=>{r.preventDefault(),n||(s(!0),g(r).then((()=>{i(e,t,d)})))};return{autosave:g,autosaveAndRedirect:b,isRedirecting:n}}},18733:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(92819),a=n(9818),o=n(92694),i=(n(13180),n(44298)),s=n(37930);const l="a8c.wpcom-block-editor.openCheckoutModal";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const{checkoutUrl:n,planData:c}=(0,a.useSelect)((t=>{const n=t("core/editor"),r=t("wordpress-com/plans"),{id:a,type:o}=n.getCurrentPost(),s=r&&r.getPlan(e);return{checkoutUrl:(0,i.Qq)({plan:s,planSlug:e,postId:a,postType:o}),planData:s}}),[]),{autosave:u,autosaveAndRedirect:p,isRedirecting:d}=(0,s.Z)(n,t),m=async e=>{if(e.preventDefault(),(0,o.hasAction)(l))return e.preventDefault(),u(e),void(0,o.doAction)(l,{products:[c]});p(e)};return[n,m,d,c]}},33690:function(e,t,n){"use strict";n.d(t,{U:function(){return a}});var r=n(9818);const a=async()=>new Promise((e=>{const t=(0,r.subscribe)((()=>{(0,r.select)("core/editor").isCleanNewPost()&&(t(),e());(0,r.select)("core/editor").getBlocks().length>0&&(t(),e())}))}))},28137:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(94333);t.Z=e=>(0,i.createHigherOrderComponent)((t=>n=>(0,o.createElement)(t,a()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},15111:function(e,t,n){"use strict";n.d(t,{tT:function(){return r},Wp:function(){return a},Vy:function(){return o},_5:function(){return i}});const r="jetpack/media-source",a="is-playing",o="is-error",i="is-paused"},73617:function(e,t,n){"use strict";var r=n(9818),a=n(46169),o=n(15111);if(void 0!==r.createReduxStore){const e=(0,r.createReduxStore)(o.tT,a.Z);(0,r.register)(e)}else(0,r.registerStore)(o.tT,a.Z)},46169:function(e,t,n){"use strict";var r=n(15111);const a={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const n=Object.keys(e.sources);if(e.default?t=e.default:n?.length&&(t=e.sources[n[0]].id),t)return e.sources[t]},getMediaPlayerState:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.state,getMediaSourceCurrentTime:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.currentTime,getMediaSourceDuration(e,t){if(!t){return o.getDefaultMediaSource(e)?.duration}return e.sources?.[t]?.duration},getMediaSourceDomReference(e,t){const n=t?e.sources?.[t]:o.getDefaultMediaSource(e);if(!n)return;const r=n?.domId;return r?document.getElementById(r):void 0}},i={reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;const n=t.id||e.default||Object.keys(e.sources)?.[0];switch(t.type){case"REGISTER_MEDIA_SOURCE":return{...e,sources:{...e.sources,[t.id]:{id:t.id,...t.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...e,sources:{...e.sources,[t.id]:{...e.sources[t.id],...t.data}}};case"UNREGISTER_MEDIA_SOURCE":{const n=Object.assign({},e);return n.sources[t.id]&&delete n.sources[t.id],t.id===e.default&&(n.default=Object.keys(e.sources)?.[0]),n}case"SET_DEFAULT_MEDIA_SOURCE":return{...e,default:t.id};case"SET_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[n]:{...e.sources[n],state:t.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[n]:{...e.sources[n],state:e.sources[n].state===r.Wp?r._5:r.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...e,sources:{...e.sources,[n]:{...e.sources[n],currentTime:t.currentTime}}}}return e},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=i},75139:function(e,t,n){"use strict";n.d(t,{M:function(){return r},X:function(){return a}});var r={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 a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},78850:function(e,t,n){"use strict";n.d(t,{ZP:function(){return i}});var r=n(52141),a=n(63807),o=n(75139);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,o.X)(t);if(!i||isNaN(e))return null;var s=(0,r.Z)({},i,n),l=s.decimal,c=s.grouping,u=s.precision,p=s.symbol,d=e<0?"-":"",m=(0,a.Y4)(Math.abs(e),{decimals:u,thousandsSep:c,decPoint:l});return"".concat(d).concat(p).concat(m)}},94481:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99196),a=n(32365);function o(e,t){let n,a,i=[];for(let r=0;r<e.length;r++){const o=e[r];if("string"!==o.type){if(void 0===t[o.value])throw new Error(`Invalid interpolation, missing component node: \`${o.value}\``);if("object"!=typeof t[o.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${o.value}\``);if("componentClose"===o.type)throw new Error(`Missing opening component token: \`${o.value}\``);if("componentOpen"===o.type){n=t[o.value],a=r;break}i.push(t[o.value])}else i.push(o.value)}if(n){const s=function(e,t){const n=t[e];let r=0;for(let a=e+1;a<t.length;a++){const e=t[a];if(e.value===n.value){if("componentOpen"===e.type){r++;continue}if("componentClose"===e.type){if(0===r)return a;r--}}}throw new Error("Missing closing component token `"+n.value+"`")}(a,e),l=o(e.slice(a+1,s),t),c=(0,r.cloneElement)(n,{},l);if(i.push(c),s<e.length-1){const n=o(e.slice(s+1),t);i=i.concat(n)}}return i=i.filter(Boolean),0===i.length?null:1===i.length?i[0]:(0,r.createElement)(r.Fragment,null,...i)}function i(e){const{mixedString:t,components:n,throwErrors:r}=e;if(!n)return t;if("object"!=typeof n){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const i=(0,a.Z)(t);try{return o(i,n)}catch(e){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}},32365:function(e,t,n){"use strict";function r(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function a(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}n.d(t,{Z:function(){return a}})},47236:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(2571);function o(e){(0,r.assign)(e,a.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},59177:function(e,t,n){"use strict";function r(){var e=this;this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=function(t){t.source===e.windowInstance&&e.emit("message",t.data)}}(0,n(47236).Z)(r.prototype),r.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},r.prototype.getScreenCenterSpecs=function(e,t){var n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},r.prototype.isOpen=function(e){var t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},r.prototype.checkStatus=function(){for(var e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},r.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=r},39151:function(e,t,n){"use strict";var r=n(59177);t.Z=function(e,t){var n,a=new r.Z;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(function(){var e={};n&&n.keyring_id&&(e.keyring_id=Number(n.keyring_id),e.id_token=n.id_token,e.user=n.user),t(e)})),a.on("message",(function(e){return n=e}))}},52489:function(e,t,n){"use strict";var r=n(45086),a=n(57275),o=n(45814),i=n(15746),s=n(11268),l=n.n(s),c=n(99196),u=n.n(c),p=n(92819),d=n(13639),m=(n(99889),function(e){return e&&e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,"")}),h=(0,d.SL)((0,d.hs)(80),(0,d.KB)(80)),f=(0,d.SL)((0,d.hs)(200),(0,d.KB)(200)),g=function(e){(0,o.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.url,n=e.type,r=e.title,a=e.description,o=e.image,i=e.author;return u().createElement("div",{className:"facebook-preview facebook-preview__".concat(n)},u().createElement("div",{className:"facebook-preview__content"},u().createElement("div",{className:"facebook-preview__image"},o&&u().createElement("img",{alt:"Facebook Preview Thumbnail",src:o})),u().createElement("div",{className:"facebook-preview__body"},u().createElement("div",{className:"facebook-preview__url"},(0,p.compact)([m(t),i]).join(" | ")),u().createElement("div",{className:"facebook-preview__title"},h(r||"")),u().createElement("div",{className:"facebook-preview__description"},f((0,d.ju)(a))))))}}]),n}(c.PureComponent);g.propTypes={url:l().string,type:l().string,title:l().string,description:l().string,image:l().string,author:l().string},t.Z=g},13639:function(e,t,n){"use strict";n.d(t,{hs:function(){return a},I$:function(){return o},KB:function(){return i},SL:function(){return s},ju:function(){return l}});var r=n(92819),a=function(e){return function(t){return t.length<=e&&t}},o=function(e,t){return function(n){var r=n.slice(0,t),a=r.lastIndexOf(" ");return a>e&&a<t&&r.slice(0,a).concat("…")}},i=function(e){return function(t){return t.slice(0,e).concat("…")}},s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return(0,r.find)(t,(function(t){return!1!==t(e)}))(e)}},l=function(e){return e?e.replace(/(<([^>]+)>)/gi,""):""}},80505:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(11268),a=n.n(r),o=n(99196),i=n.n(o),s=n(13639),l=(n(93474),160),c=(0,s.SL)((0,s.hs)(63),(0,s.I$)(23,73),(0,s.KB)(63)),u=(0,s.SL)((0,s.hs)(l),(0,s.I$)(80,170),(0,s.KB)(l));function p(e){var t=e.description,n=e.title,r=e.url;return i().createElement("div",{className:"search-preview"},i().createElement("div",{className:"search-preview__display"},i().createElement("div",{className:"search-preview__url"},function(e){var t=e.replace(/^[^/]+[/]*/,"").split("/").join(" › ");return(0,s.SL)((0,s.hs)(68),(0,s.KB)(68))(t)}(r)," ▾"),i().createElement("div",{className:"search-preview__title"},c(n)),i().createElement("div",{className:"search-preview__description"},u((0,s.ju)(t)))))}p.propTypes={title:a().string,url:a().string,description:a().string},p.defaultProps={title:"",url:"",description:""}},79465:function(e,t,n){"use strict";var r=n(40988),a=n(49058),o=n(45086),i=n(57275),s=n(45814),l=n(15746),c=n(11268),u=n.n(c),p=n(99196),d=n.n(p),m=n(82943),h=(n(33285),function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props.tweets||[{text:"",media:[],card:(0,a.Z)((0,a.Z)({},this.props),{},{type:"large_image_summary"===this.props.type?"summary_large_image":this.props.type}),date:Date.now(),name:"Account Name",profileImage:"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:"@account"}];return d().createElement("div",{className:"twitter-preview"},e&&e.map((function(t,n){return d().createElement(m.t,(0,r.Z)({key:"twitter-preview__tweet-".concat(n),isLast:n+1===e.length},t))})))}}]),n}(p.PureComponent));h.propTypes={tweets:u().array},t.Z=h},82943:function(e,t,n){"use strict";n.d(t,{t:function(){return k}});var r=n(45086),a=n(57275),o=n(45814),i=n(15746),s=n(89105),l=n.n(s),c=n(11268),u=n.n(c),p=n(99196),d=n.n(p),m=n(76292),h=n.n(m),f=n(65736),g=n(55609),b=n(13639);n(33285);var __=f.__,v=(0,b.SL)((0,b.hs)(200),(0,b.KB)(200)),k=function(e){(0,o.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"renderSidebar",value:function(e,t){return d().createElement("div",{className:"twitter-preview__sidebar"},d().createElement("div",{className:"twitter-preview__profile-image"},d().createElement("img",{alt:__("Twitter profile image","jetpack"),src:e})),!t&&d().createElement("div",{className:"twitter-preview__connector"}))}},{key:"renderHeader",value:function(e,t,n){return d().createElement("div",{className:"twitter-preview__header"},d().createElement("span",{className:"twitter-preview__name"},e),d().createElement("span",{className:"twitter-preview__screen-name"},t),d().createElement("span",{className:"twitter-preview__date"},h()(n).format("MMM D")))}},{key:"renderText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.url||"",a=e.endsWith(r)?e.substr(0,e.lastIndexOf(r)):e,o=t.reduce((function(e,t){return e.replace(new RegExp("\\("+t+"\\)","g"),'(<a href="'.concat(t,'">').concat(t,"</a>)"))}),(0,b.ju)(a).replace(new RegExp("\\n","g"),"<br/>"));return d().createElement("div",{className:"twitter-preview__text",dangerouslySetInnerHTML:{__html:o}})}},{key:"renderMedia",value:function(e){if(e){var t=e.filter((function(e){return e.type.startsWith("image/")||e.type.startsWith("video/")})).filter((function(e,t,n){return 0===t||!n[0].type.startsWith("video/")&&"image/gif"!==n[0].type&&(!e.type.startsWith("video/")&&"image/gif"!==e.type)})).slice(0,4),n=t.length>0&&t[0].type.startsWith("video/"),r=l()(["twitter-preview__media","twitter-preview__media-children-"+t.length]);if(0!==t.length)return d().createElement("div",{className:r},n&&t.map((function(e,t){return d().createElement("video",{key:"twitter-preview__media-item-".concat(t),controls:!0},d().createElement("source",{src:e.url,type:e.type})," ")})),!n&&t.map((function(e,t){return d().createElement("img",{key:"twitter-preview__media-item-".concat(t),alt:e.alt,src:e.url})})))}}},{key:"renderQuoteTweet",value:function(e){if(e)return d().createElement("div",{className:"twitter-preview__quote-tweet"},d().createElement(g.SandBox,{html:'<blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><a href="'.concat(e,'"></a></blockquote>'),scripts:["https://platform.twitter.com/widgets.js"],title:"Embedded tweet",onFocus:this.hideOverlay}),d().createElement("div",{className:"twitter-preview__quote-tweet-overlay"}))}},{key:"renderCard",value:function(e){if(e){var t=e.description,n=e.image,r=e.title,a=e.type,o=e.url,i=l()("twitter-preview__card-".concat(a),{"twitter-preview__card-has-image":!!n});return d().createElement("div",{className:"twitter-preview__card"},d().createElement("div",{className:i},n&&d().createElement("img",{className:"twitter-preview__card-image",src:n,alt:""}),d().createElement("div",{className:"twitter-preview__card-body"},d().createElement("div",{className:"twitter-preview__card-title"},r),d().createElement("div",{className:"twitter-preview__card-description"},v((0,b.ju)(t))),d().createElement("div",{className:"twitter-preview__card-url"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("g",null,d().createElement("path",{d:"M11.96 14.945c-.067 0-.136-.01-.203-.027-1.13-.318-2.097-.986-2.795-1.932-.832-1.125-1.176-2.508-.968-3.893s.942-2.605 2.068-3.438l3.53-2.608c2.322-1.716 5.61-1.224 7.33 1.1.83 1.127 1.175 2.51.967 3.895s-.943 2.605-2.07 3.438l-1.48 1.094c-.333.246-.804.175-1.05-.158-.246-.334-.176-.804.158-1.05l1.48-1.095c.803-.592 1.327-1.463 1.476-2.45.148-.988-.098-1.975-.69-2.778-1.225-1.656-3.572-2.01-5.23-.784l-3.53 2.608c-.802.593-1.326 1.464-1.475 2.45-.15.99.097 1.975.69 2.778.498.675 1.187 1.15 1.992 1.377.4.114.633.528.52.928-.092.33-.394.547-.722.547z"}),d().createElement("path",{d:"M7.27 22.054c-1.61 0-3.197-.735-4.225-2.125-.832-1.127-1.176-2.51-.968-3.894s.943-2.605 2.07-3.438l1.478-1.094c.334-.245.805-.175 1.05.158s.177.804-.157 1.05l-1.48 1.095c-.803.593-1.326 1.464-1.475 2.45-.148.99.097 1.975.69 2.778 1.225 1.657 3.57 2.01 5.23.785l3.528-2.608c1.658-1.225 2.01-3.57.785-5.23-.498-.674-1.187-1.15-1.992-1.376-.4-.113-.633-.527-.52-.927.112-.4.528-.63.926-.522 1.13.318 2.096.986 2.794 1.932 1.717 2.324 1.224 5.612-1.1 7.33l-3.53 2.608c-.933.693-2.023 1.026-3.105 1.026z"}))),function(e){return e.replace(/^[^/]+[/]*(www\.)?/,"").replace(/\/.*$/,"")}(o||"")))))}}},{key:"renderFooter",value:function(){return d().createElement("div",{className:"twitter-preview__footer"},d().createElement("span",{className:"twitter-preview__icon-replies"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M14.046 2.242l-4.148-.01h-.002c-4.374 0-7.8 3.427-7.8 7.802 0 4.098 3.186 7.206 7.465 7.37v3.828c0 .108.044.286.12.403.142.225.384.347.632.347.138 0 .277-.038.402-.118.264-.168 6.473-4.14 8.088-5.506 1.902-1.61 3.04-3.97 3.043-6.312v-.017c-.006-4.367-3.43-7.787-7.8-7.788zm3.787 12.972c-1.134.96-4.862 3.405-6.772 4.643V16.67c0-.414-.335-.75-.75-.75h-.396c-3.66 0-6.318-2.476-6.318-5.886 0-3.534 2.768-6.302 6.3-6.302l4.147.01h.002c3.532 0 6.3 2.766 6.302 6.296-.003 1.91-.942 3.844-2.514 5.176z"}))),d().createElement("span",{className:"twitter-preview__icon-retweets"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M23.77 15.67c-.292-.293-.767-.293-1.06 0l-2.22 2.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414 0-.75.336-.75.75s.336.75.75.75h5.85c1.24 0 2.25 1.01 2.25 2.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06 0s-.294.768 0 1.06l3.5 3.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767 0-1.06zm-10.66 3.28H7.26c-1.24 0-2.25-1.01-2.25-2.25V6.46l2.22 2.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768 0-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06 0l-3.5 3.5c-.294.292-.294.767 0 1.06s.767.293 1.06 0l2.22-2.22V16.7c0 2.068 1.683 3.75 3.75 3.75h5.85c.414 0 .75-.336.75-.75s-.337-.75-.75-.75z"}))),d().createElement("span",{className:"twitter-preview__icon-likes"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"}))),d().createElement("span",{className:"twitter-preview__icon-share"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M17.53 7.47l-5-5c-.293-.293-.768-.293-1.06 0l-5 5c-.294.293-.294.768 0 1.06s.767.294 1.06 0l3.72-3.72V15c0 .414.336.75.75.75s.75-.336.75-.75V4.81l3.72 3.72c.146.147.338.22.53.22s.384-.072.53-.22c.293-.293.293-.767 0-1.06z"}),d().createElement("path",{d:"M19.708 21.944H4.292C3.028 21.944 2 20.916 2 19.652V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 .437.355.792.792.792h15.416c.437 0 .792-.355.792-.792V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 1.264-1.028 2.292-2.292 2.292z"}))))}},{key:"render",value:function(){var e=this.props,t=e.isLast,n=e.profileImage,r=e.name,a=e.screenName,o=e.date,i=e.text,s=e.media,l=e.tweet,c=e.urls,u=e.card;return d().createElement("div",{className:"twitter-preview__container"},this.renderSidebar(n,t),d().createElement("div",{className:"twitter-preview__main"},this.renderHeader(r,a,o),d().createElement("div",{className:"twitter-preview__content"},this.renderText(i,c,u),this.renderMedia(s),this.renderQuoteTweet(l),this.renderCard(u)),this.renderFooter()))}}]),n}(p.PureComponent);k.propTypes={tweets:u().array,isLast:u().bool,profileImage:u().string,name:u().string,screenName:u().string,date:u().number,text:u().string,media:u().array,tweet:u().string,urls:u().array,card:u().object}},48468:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(83712)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},83712:function(e,t,n){e.exports=function(e){function t(e){let n,a=null;function o(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!o.enabled)return;const i=o,s=Number(new Date),l=s-(n||s);i.diff=l,i.prev=n,i.curr=s,n=s,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(i,t),r.splice(c,1),c--}return e})),t.formatArgs.call(i,r);const u=i.log||t.log;u.apply(i,r)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=r,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null===a?t.enabled(e):a,set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},90922:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(31967)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},31967:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},48735:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,a=e.onClick,o=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-fullscreen",o,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:l,height:n,width:n,onClick:a},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21 3v6h-2V6.41l-3.29 3.3-1.42-1.42L17.59 5H15V3zM3 3v6h2V6.41l3.29 3.3 1.42-1.42L6.41 5H9V3zm18 18v-6h-2v2.59l-3.29-3.29-1.41 1.41L17.59 19H15v2zM9 21v-2H6.41l3.29-3.29-1.41-1.42L5 17.59V15H3v6z"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},20651:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,o=e.onClick,s=(e.icon,e.className),l=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-notice-outline",s,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:c,height:a,width:a,onClick:o},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},35381:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,o=e.onClick,s=(e.icon,e.className),l=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-star",s,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:c,height:a,width:a,onClick:o},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},7104:function(e,t,n){var r;e=n.nmd(e),function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof window&&window;o.global!==o&&o.window!==o&&o.self;var i,s=2147483647,l=36,c=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,h=String.fromCharCode;function f(e){throw RangeError(d[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function b(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(p,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],a=0,o=e.length;a<o;)(t=e.charCodeAt(a++))>=55296&&t<=56319&&a<o?56320==(64512&(n=e.charCodeAt(a++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),a--):r.push(t);return r}function k(e){return g(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?m(e/700):e>>1,e+=m(e/t);e>455;r+=l)e=m(e/35);return m(r+36*e/(e+38))}function w(e){var t,n,r,a,o,i,c,u,p,d,h,g=[],b=e.length,v=0,y=128,w=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&f("not-basic"),g.push(e.charCodeAt(r));for(a=n>0?n+1:0;a<b;){for(o=v,i=1,c=l;a>=b&&f("invalid-input"),((u=(h=e.charCodeAt(a++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l)>=l||u>m((s-v)/i))&&f("overflow"),v+=u*i,!(u<(p=c<=w?1:c>=w+26?26:c-w));c+=l)i>m(s/(d=l-p))&&f("overflow"),i*=d;w=E(v-o,t=g.length+1,0==o),m(v/t)>s-y&&f("overflow"),y+=m(v/t),v%=t,g.splice(v++,0,y)}return k(g)}function _(e){var t,n,r,a,o,i,c,u,p,d,g,b,k,w,_,C=[];for(b=(e=v(e)).length,t=128,n=0,o=72,i=0;i<b;++i)(g=e[i])<128&&C.push(h(g));for(r=a=C.length,a&&C.push("-");r<b;){for(c=s,i=0;i<b;++i)(g=e[i])>=t&&g<c&&(c=g);for(c-t>m((s-n)/(k=r+1))&&f("overflow"),n+=(c-t)*k,t=c,i=0;i<b;++i)if((g=e[i])<t&&++n>s&&f("overflow"),g==t){for(u=n,p=l;!(u<(d=p<=o?1:p>=o+26?26:p-o));p+=l)_=u-d,w=l-d,C.push(h(y(d+_%w,0))),u=m(_/w);C.push(h(y(u,0))),o=E(n,k,r==a),n=0,++r}++n,++t}return C.join("")}i={version:"1.3.2",ucs2:{decode:v,encode:k},decode:w,encode:_,toASCII:function(e){return b(e,(function(e){return u.test(e)?"xn--"+_(e):e}))},toUnicode:function(e){return b(e,(function(e){return c.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},15661:function(e,t,n){"use strict";n.r(t),n.d(t,{ucs2decode:function(){return m},ucs2encode:function(){return h},decode:function(){return b},encode:function(){return v},toASCII:function(){return y},toUnicode:function(){return k}});const r=2147483647,a=36,o=/^xn--/,i=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(l[e])}function d(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(s,".")).split("."),t).join(".");return r+a}function m(e){const t=[];let n=0;const r=e.length;for(;n<r;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t}const h=e=>String.fromCodePoint(...e),f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=a)e=c(e/35);return c(r+36*e/(e+38))},b=function(e){const t=[],n=e.length;let o=0,i=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let d=l>0?l+1:0;d<n;){let l=o;for(let t=1,i=a;;i+=a){d>=n&&p("invalid-input");const l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:a;(l>=a||l>c((r-o)/t))&&p("overflow"),o+=l*t;const m=i<=s?1:i>=s+26?26:i-s;if(l<m)break;const h=a-m;t>c(r/h)&&p("overflow"),t*=h}const m=t.length+1;s=g(o-l,m,0==l),c(o/m)>r-i&&p("overflow"),i+=c(o/m),o%=m,t.splice(o++,0,i)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let n=(e=m(e)).length,o=128,i=0,s=72;for(const n of e)n<128&&t.push(u(n));let l=t.length,d=l;for(l&&t.push("-");d<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const m=d+1;n-o>c((r-i)/m)&&p("overflow"),i+=(n-o)*m,o=n;for(const n of e)if(n<o&&++i>r&&p("overflow"),n==o){let e=i;for(let n=a;;n+=a){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const o=e-r,i=a-r;t.push(u(f(r+o%i,0))),e=c(o/i)}t.push(u(f(e,0))),s=g(i,m,d==l),i=0,++d}++i,++o}return t.join("")},k=function(e){return d(e,(function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e}))},y=function(e){return d(e,(function(e){return i.test(e)?"xn--"+v(e):e}))},E={version:"2.1.0",ucs2:{decode:m,encode:h},decode:b,encode:v,toASCII:y,toUnicode:k};t.default=E},5157:function(e,t,n){"use strict";const r=n(55778),a=n(97115),o=n(63851),i=n(95946);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?a(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const a="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!a&&c(n,e).includes(e.arrayFormatSeparator);n=o?c(n,e):n;const i=a||o?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const a=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!a)return void(r[t]=n?c(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>c(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const a of e.split("&")){if(""===a)continue;let[e,i]=o(t.decode?a.replace(/\+/g," "):a,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:c(i,t),n(c(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=m(n[e],t);else r[e]=m(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=u(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",a,"]"].join("")]:[...n,[l(t,e),"[",l(a,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:(a=null===a?"":a,0===r.length?[[l(n,e),t,l(a,e)].join("")]:[[r,l(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const o=Object.keys(a);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const a=e[n];return void 0===a?"":null===a?l(n,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":a.reduce(r(n),[]).join("&"):l(n,t)+"="+l(a,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=p(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query);let s=t.stringify(i,n);s&&(s=`?${s}`);let c=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c=`#${l(e.fragmentIdentifier,n)}`),`${r}${s}${c}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:i(o,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}},63851:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},55778:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},55066:function(e,t,n){var r;!function(a){var o=/^\s+/,i=/\s+$/,s=0,l=a.round,c=a.min,u=a.max,p=a.random;function d(e,t){if(t=t||{},(e=e||"")instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,l=null,p=!1,d=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var t,n=!1;if(N[e])e=N[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=$.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=$.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=$.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=$.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=$.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=$.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=$.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:D(t[4]),format:n?"name":"hex8"};if(t=$.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=$.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:D(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=$.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(V(e.r)&&V(e.g)&&V(e.b)?(m=e.r,h=e.g,f=e.b,t={r:255*B(m,255),g:255*B(h,255),b:255*B(f,255)},p=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):V(e.h)&&V(e.s)&&V(e.v)?(r=Z(e.s),s=Z(e.v),t=function(e,t,n){e=6*B(e,360),t=B(t,100),n=B(n,100);var r=a.floor(e),o=e-r,i=n*(1-t),s=n*(1-o*t),l=n*(1-(1-o)*t),c=r%6;return{r:255*[n,s,i,i,l,n][c],g:255*[l,n,n,s,i,i][c],b:255*[i,i,l,n,n,s][c]}}(e.h,r,s),p=!0,d="hsv"):V(e.h)&&V(e.s)&&V(e.l)&&(r=Z(e.s),l=Z(e.l),t=function(e,t,n){var r,a,o;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=B(e,360),t=B(t,100),n=B(n,100),0===t)r=a=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=i(l,s,e+1/3),a=i(l,s,e),o=i(l,s,e-1/3)}return{r:255*r,g:255*a,b:255*o}}(e.h,r,l),p=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var m,h,f;return n=I(n),{ok:p,format:e.format||d,r:c(255,u(t.r,0)),g:c(255,u(t.g,0)),b:c(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=s++}function m(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,a,o=u(e,t,n),i=c(e,t,n),s=(o+i)/2;if(o==i)r=a=0;else{var l=o-i;switch(a=s>.5?l/(2-o-i):l/(o+i),o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:a,l:s}}function h(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,a,o=u(e,t,n),i=c(e,t,n),s=o,l=o-i;if(a=0===o?0:l/o,o==i)r=0;else{switch(o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:a,v:s}}function f(e,t,n,r){var a=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16))];return r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function g(e,t,n,r){return[L(F(r)),L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=M(n.s),d(n)}function v(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=M(n.s),d(n)}function k(e){return d(e).desaturate(100)}function y(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=M(n.l),d(n)}function E(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),d(n)}function w(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=M(n.l),d(n)}function _(e,t){var n=d(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,d(n)}function C(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function j(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function x(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function T(e,t,n){t=t||6,n=n||30;var r=d(e).toHsl(),a=360/n,o=[d(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(d(r));return o}function P(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,a=n.s,o=n.v,i=[],s=1/t;t--;)i.push(d({h:r,s:a,v:o})),o=(o+s)%1;return i}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:a.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,a){var o=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(F(r))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*B(this._r,255))+"%",g:l(100*B(this._g,255))+"%",b:l(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%)":"rgba("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(A[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var a=d(e);n="#"+g(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(E,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(k,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(T,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(j,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:Z(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:p(),g:p(),b:p()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),a=d(t).toRgb(),o=n/100;return d({r:(a.r-r.r)*o+r.r,g:(a.g-r.g)*o+r.g,b:(a.b-r.b)*o+r.b,a:(a.a-r.a)*o+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(a.max(n.getLuminance(),r.getLuminance())+.05)/(a.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,a,o=d.readability(e,t);switch(a=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},d.mostReadable=function(e,t,n){var r,a,o,i,s=null,l=0;a=(n=n||{}).includeFallbackColors,o=n.level,i=n.size;for(var c=0;c<t.length;c++)(r=d.readability(e,t[c]))>l&&(l=r,s=d(t[c]));return d.isReadable(e,s,{level:o,size:i})||!a?s:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var N=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},A=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(N);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return c(1,u(0,e))}function R(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function Z(e){return e<=1&&(e=100*e+"%"),e}function F(e){return a.round(255*parseFloat(e)).toString(16)}function D(e){return R(e)/255}var O,z,U,$=(z="[\\s|\\(]+("+(O="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",U="[\\s|\\(]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",{CSS_UNIT:new RegExp(O),rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"+U),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function V(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},84080:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},75423:function(e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},87696:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},76202:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},39126:function(e,t,n){"use strict";t.Any=n(26285),t.Cc=n(84080),t.Cf=n(75423),t.P=n(87696),t.Z=n(76202)},26285:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},86841:function(){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},a=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(e){return!1}})()||function(){var a=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof a){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var o=e[r];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var i in e)e.hasOwnProperty(i)&&this.append(i,e[i])}},o=a.prototype;o.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},o.delete=function(e){delete this._entries[e]},o.get=function(e){return e in this._entries?this._entries[e][0]:null},o.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},o.has=function(e){return e in this._entries},o.set=function(e,t){this._entries[e]=[String(t)]},o.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var a=0;a<n.length;a++)e.call(t,n[a],r,this)}},o.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},o.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},o.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=a}();var o=e.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,o=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)r=o[n].split("="),this.append(a(r[0]),r.length>1?a(r[1]):"")}})}("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var r,a=document;if(n&&(void 0===e.location||n!==e.location.href)){n=n.toLowerCase(),(r=(a=document.implementation.createHTMLDocument("")).createElement("base")).href=n,a.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=a.createElement("a");o.href=t,r&&(a.body.appendChild(o),o.href=o.href);var i=a.createElement("input");if(i.type="url",i.value=t,":"===o.protocol||!/:/.test(o.href)||!i.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new e.URLSearchParams(this.search),l=!0,c=!0,u=this;["append","delete","set"].forEach((function(e){var t=s[e];s[e]=function(){t.apply(s,arguments),l&&(c=!1,u.search=s.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var p=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==p&&(p=this.search,c&&(l=!1,this.searchParams._fromString(this.search),l=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},82827:function(e,t,n){"use strict";var r=n(7104),a=n(68070);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.Qc=k,t.WU=function(e){a.isString(e)&&(e=k(e));return e instanceof o?e.format():o.prototype.format.call(e)};var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(76250);function k(e,t,n){if(e&&a.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var k=e=c.join(s);if(k=k.trim(),!n&&1===e.split("#").length){var y=l.exec(k);if(y)return this.path=k,this.href=k,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=i.exec(k);if(E){var w=(E=E[0]).toLowerCase();this.protocol=w,k=k.substr(E.length)}if(n||E||k.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===k.substr(0,2);!_||E&&g[E]||(k=k.substr(2),this.slashes=!0)}if(!g[E]&&(_||E&&!b[E])){for(var C,j,S=-1,x=0;x<d.length;x++){-1!==(T=k.indexOf(d[x]))&&(-1===S||T<S)&&(S=T)}-1!==(j=-1===S?k.lastIndexOf("@"):k.lastIndexOf("@",S))&&(C=k.slice(0,j),k=k.slice(j+1),this.auth=decodeURIComponent(C)),S=-1;for(x=0;x<p.length;x++){var T;-1!==(T=k.indexOf(p[x]))&&(-1===S||T<S)&&(S=T)}-1===S&&(S=k.length),this.host=k.slice(0,S),k=k.slice(S),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var N=this.hostname.split(/\./),A=(x=0,N.length);x<A;x++){var I=N[x];if(I&&!I.match(m)){for(var B="",M=0,R=I.length;M<R;M++)I.charCodeAt(M)>127?B+="x":B+=I[M];if(!B.match(m)){var L=N.slice(0,x),Z=N.slice(x+1),F=I.match(h);F&&(L.push(F[1]),Z.unshift(F[2])),Z.length&&(k="/"+Z.join(".")+k),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=r.toASCII(this.hostname));var D=this.port?":"+this.port:"",O=this.hostname||"";this.host=O+D,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==k[0]&&(k="/"+k))}if(!f[w])for(x=0,A=u.length;x<A;x++){var z=u[x];if(-1!==k.indexOf(z)){var U=encodeURIComponent(z);U===z&&(U=escape(z)),k=k.split(z).join(U)}}var $=k.indexOf("#");-1!==$&&(this.hash=k.substr($),k=k.slice(0,$));var V=k.indexOf("?");if(-1!==V?(this.search=k.substr(V),this.query=k.substr(V+1),t&&(this.query=v.parse(this.query)),k=k.slice(0,V)):t&&(this.search="",this.query={}),k&&(this.pathname=k),b[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var G=this.search||"";this.path=D+G}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(i=v.stringify(this.query));var s=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(k(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(a.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),i=0;i<r.length;i++){var s=r[i];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var p=Object.keys(e),d=0;d<p.length;d++){var m=p[d];n[m]=e[m]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var k=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),E=y||k||n.host&&e.pathname,w=E,_=n.pathname&&n.pathname.split("/")||[],C=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(C&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),E=E&&(""===h[0]||""===_[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=h;else if(h.length)_||(_=[]),_.pop(),_=_.concat(h),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search)){if(C)n.hostname=n.host=_.shift(),(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift());return n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var j=_.slice(-1)[0],S=(n.host||e.host||_.length>1)&&("."===j||".."===j)||""===j,x=0,T=_.length;T>=0;T--)"."===(j=_[T])?_.splice(T,1):".."===j?(_.splice(T,1),x++):x&&(_.splice(T,1),x--);if(!E&&!w)for(;x--;x)_.unshift("..");!E||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),S&&"/"!==_.join("/").substr(-1)&&_.push("");var P,N=""===_[0]||_[0]&&"/"===_[0].charAt(0);C&&(n.hostname=n.host=N?"":_.length?_.shift():"",(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift()));return(E=E||n.host&&_.length)&&!N&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},68070:function(e){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},11043:function(e,t,n){"use strict";var r=n(1625),a=n(99196);t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,o=a.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=o[0];var i=o[1];return o=e.value,e.getCurrentValue===t&&e.subscribe===n||(o=t(),i({getCurrentValue:t,subscribe:n,value:o})),a.useDebugValue(o),a.useEffect((function(){function e(){if(!a){var e=t();i((function(a){return a.getCurrentValue!==t||a.subscribe!==n||a.value===e?a:r({},a,{value:e})}))}}var a=!1,o=n(e);return e(),function(){a=!0,o()}}),[t,n]),o}},20036:function(e,t,n){"use strict";e.exports=n(11043)},61521:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},22199:function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,a=arguments.length;n<a;n++)t.push(arguments[n]);return t}function a(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,a=this.head;null!==a;)n.push(e.call(t,a.value,this)),a=a.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,a=this.tail;null!==a;)n.push(e.call(t,a.value,this)),a=a.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var a=0;null!==r;a++)n=e(n,r.value,a),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var a=this.length-1;null!==r;a--)n=e(n,r.value,a),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=0,o=this.head;null!==o&&a<e;a++)o=o.next;for(;null!==o&&a<t;a++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=this.length,o=this.tail;null!==o&&a>t;a--)o=o.prev;for(;null!==o&&a>e;a--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var i=[];for(r=0;o&&r<t;r++)i.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=a(this,o,n[r]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(61521)(r)}catch(e){}},8964:function(e,t,n){"use strict";e.exports=n.p+"images/eventbrite-in-page-example-c351ec80e4dd5d39433d.png"},90767:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-after-d6db862c442c24ad1c63.png"},58632:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-before-4592b4656108c1429614.png"},96406:function(e,t,n){"use strict";e.exports=n.p+"images/map-preview-97bda80ebb6981457630.jpg"},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},23879:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-2x-3d5d36867a0f3728cc3a.png"},22323:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-5ecd2d5421d74f39e027.png"},60206:function(e,t,n){"use strict";e.exports=n.p+"images/simple-payments_example-1-0273eeccd8d120df4984.jpg"},65784:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-1-07a3f164621235df0419.jpg"},6425:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-2-2ee401e47066229bdac5.jpg"},85983:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-3-0682afca66c485f17ff6.jpg"},37447:function(e,t,n){"use strict";e.exports=n.p+"images/upgrade-illustration-5b3059f7101ac37f4339.svg"},15915:function(e,t,n){"use strict";e.exports=n.p+"images/story_example-1-716db2e4f5a074d302f7.png"},96606:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-1-d2817eb0e669267ab3eb.jpg"},85472:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-2-7d8f0cf8e262f0112691.jpg"},79009:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-3-07a3f164621235df0419.jpg"},10742:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-4-2ee401e47066229bdac5.jpg"},52642:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-5-a1935fd9cf1181168d90.jpg"},41145:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-6-9f9d39c6af0fb4b0d99c.jpg"},41194:function(e,t,n){"use strict";e.exports=n.p+"images/videopress-block-example-image-da9ef73787adca8896f2.jpg"},80405:function(e,t,n){"use strict";e.exports=n.p+"images/example_160x600-ccbc594f54431dafa70d.png"},72473:function(e,t,n){"use strict";e.exports=n.p+"images/example_300x250-5b93e8174f02d48c40b7.png"},38511:function(e,t,n){"use strict";e.exports=n.p+"images/example_320x50-7110edf045141630a222.png"},52203:function(e,t,n){"use strict";e.exports=n.p+"images/example_728x90-d9de384932330b92e1c3.png"},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},76292:function(e){"use strict";e.exports=window.moment},25158:function(e){"use strict";e.exports=window.wp.a11y},42998:function(e){"use strict";e.exports=window.wp.annotations},86989:function(e){"use strict";e.exports=window.wp.apiFetch},11313:function(e){"use strict";e.exports=window.wp.blob},52175:function(e){"use strict";e.exports=window.wp.blockEditor},4981:function(e){"use strict";e.exports=window.wp.blocks},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},69771:function(e){"use strict";e.exports=window.wp.date},47701:function(e){"use strict";e.exports=window.wp.domReady},72067:function(e){"use strict";e.exports=window.wp.editPost},12238:function(e){"use strict";e.exports=window.wp.editor},69307:function(e){"use strict";e.exports=window.wp.element},81975:function(e){"use strict";e.exports=window.wp.escapeHtml},92694:function(e){"use strict";e.exports=window.wp.hooks},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes},53961:function(e){"use strict";e.exports=window.wp.notices},98817:function(e){"use strict";e.exports=window.wp.plugins},70444:function(e){"use strict";e.exports=window.wp.primitives},72629:function(e){"use strict";e.exports=window.wp.richText},29512:function(e){"use strict";e.exports=window.wp.tokenList},96483:function(e){"use strict";e.exports=window.wp.url},90162:function(e){"use strict";e.exports=window.wp.viewport},25303:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},45086:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},57275:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return a}})},15746:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6336),a=n(77363),o=n(2102);function i(e){var t=(0,a.Z)();return function(){var n,a=(0,r.Z)(e);if(t){var i=(0,r.Z)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,o.Z)(this,n)}}},12472:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},40988:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},6336:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},45814:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(99112);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},77363:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},49058:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(12472);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},2102:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31344),a=n(25303);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}},99112:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},31344:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},8134:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},14316:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},97024:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8134);function a(e){if(Array.isArray(e))return(0,r.Z)(e)}},55200:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},71687:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},93772:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return a}})},9057:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(72406),a=n(58189),o=n(34621);function i(e){var t=(0,a.Z)();return function(){var n,a=(0,r.Z)(e);if(t){var i=(0,r.Z)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,o.Z)(this,n)}}},98086:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},95672:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},72406:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},82104:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(43051);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},58189:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},40613:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},20120:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],_n=!0,i=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);_n=!0);}catch(e){i=!0,a=e}finally{try{_n||null==n.return||n.return()}finally{if(i)throw a}}return o}}n.d(t,{Z:function(){return r}})},41722:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},56083:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},52141:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(98086);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},59591:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98086);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},34621:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(29504),a=n(55200);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}},43051:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},50572:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(14316),a=n(20120),o=n(33611),i=n(41722);function s(e,t){return(0,r.Z)(e)||(0,a.Z)(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},59128:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(97024),a=n(40613),o=n(33611),i=n(56083);function s(e){return(0,r.Z)(e)||(0,a.Z)(e)||(0,o.Z)(e)||(0,i.Z)()}},29504:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},33611:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8134);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},27655:function(e){"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')},60231:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},90059:function(e){"use strict";e.exports=JSON.parse('{"p":[{"slug":"participant-0","label":"Speaker 1"},{"slug":"participant-1","label":"Speaker 2"},{"slug":"participant-2","label":"Speaker 3"}]}')},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')},1949:function(e){"use strict";e.exports={Kc:["amazon"]}}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,l),n.loaded=!0,n.exports}l.m=i,l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);l.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},l.d(a,o),a},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(t,n){return l.f[n](e,t),t}),[]))},l.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{390:"87699145e1e11e92e952",860:"d8d32efbe3dcb1077f70"}[e]},l.miniCssF=function(e){return"swiper.css?minify=false&ver=4f0a26962ac03729a198"},function(){if(!l.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;l.miniCssF=(e=l.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",l.l=function(e,t,a,o){if(n[e])n[e].push(t);else{var i,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",r+a),i.src=e),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(m);var a=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((function(e){return e(r)})),t)return t(r)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.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(/\/[^\/]+$/,"/"),l.p=e}(),a=function(e){return new Promise((function(t,n){var r=l.miniCssF(e),a=l.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var a=(i=n[r]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(a===e||a===t))return i}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var i;if((a=(i=o[r]).getAttribute("data-href"))===e||a===t)return i}}(r,a))return t();!function(e,t,n,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(o){if(a.onerror=a.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode.removeChild(a),r(l)}},a.href=t,document.head.appendChild(a)}(e,a,t,n)}))},o={35:0,189:0,161:0,486:0},l.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=a(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={35:0,189:0,161:0,486:0};l.f.j=function(t,n){var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var a=new Promise((function(n,a){r=e[t]=[n,a]}));n.push(r[2]=a);var o=l.p+l.u(t),i=new Error;l.l(o,(function(n){if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,r[1](i)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,a,o=n[0],i=n[1],s=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(s)s(l)}for(t&&t(n);c<o.length;c++)a=o[c],l.o(e,a)&&e[a]&&e[a][0](),e[o[c]]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";l(57836),l(6757),l(7616),l(92919),l(26634),l(17269),l(56771),l(58721),l(73617);var e=l(11973);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){const{userid:t,username:n}=window.Jetpack_Editor_Initial_State.tracksUserData;e.Z.initialize(t,n,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}}(),function(){"use strict";var e=l(28069),t=l(8042);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(32278);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(79884);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(75494);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(28069),t=l(20195);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(28069),t=l(63445);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(45166);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(92694),n=l(52175),r=l(55609),a=l(65736),o=l(47271);const __=a.__,i=t=>{if(t.isDeprecation)return t;if("core/embed"!==t.name)return t;const{edit:a}=t;return{...t,edit:(0,r.withNotices)((t=>{const{noticeOperations:i,noticeUI:s,onReplace:l}=t,{url:c}=t.attributes,{isGatheringStorm:u,unleashStorm:p}=(0,o.Z)({onReplace:l});return"twitter"!==t.attributes.providerNameSlug?(0,e.createElement)(a,t):(0,e.createElement)(e.Fragment,null,s,(0,e.createElement)(n.BlockControls,null,(0,e.createElement)(r.ToolbarGroup,{className:"gathering-tweetstorms__embed-toolbar"},(0,e.createElement)(r.ToolbarButton,{className:"gathering-tweetstorms__embed-toolbar-button",onClick:()=>p(c,i),label:__("Import the entire Twitter thread directly into this post.","jetpack"),showTooltip:!0,disabled:u||!c},__("Unroll","jetpack")),u&&(0,e.createElement)(r.ToolbarItem,{as:r.Spinner}))),(0,e.createElement)(a,t))}))}};(0,t.addFilter)("blocks.registerBlockType","jetpack/gathering-tweetstorms",i)}(),function(){"use strict";var e=l(28069),t=l(31072);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(13984);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(1624);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(77007);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(66916);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(28069),t=l(19916);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(92828);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(7882);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(5458);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(18161);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(58495);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(72228);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(28069),t=l(84807);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(82163);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(32051);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(57368);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(8223);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(93636),n=l(59770);(0,e.Z)(t.u2,t.Xd,[{name:n.u2,settings:n.Xd}])}(),function(){"use strict";var e=l(96594);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(91994);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(71730);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(28069),t=l(35289);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(94120);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(98817),n=l(42366),r=l(21409),a=l(58014);(0,l(52291).Z)(n.u2,n.Xd);const o=(0,r.Z)("social-previews")?.available;!o&&(0,a.Wp)()&&(0,t.registerPlugin)(`jetpack-${n.u2}-upgrade-nudge`,{render:()=>(0,e.createElement)(n.w6,{showUpgradeNudge:!0})})}(),function(){"use strict";var e=l(28069),t=l(20222);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(57211);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(80349);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(29183),t=l.n(e),n=l(69307),r=l(55609),a=l(11313),o=l(4981),i=l(12238),s=l(52175),c=l(92694),u=l(94333),p=l(65736),d=l(92819),m=l(6976),h=l(64089),f=l(21409),g=l(71486),b=l(4207),v=l(3082),k=l(58014),y=l(28137),E=l(41194);const __=p.__,w=(0,u.createHigherOrderComponent)((e=>a=>{const{name:o}=(0,s.useBlockEditContext)();return"core/video"!==o?(0,n.createElement)(e,a):(0,n.createElement)(e,t()({},a,{disableDropZone:!0,className:"no-videopress-media-placeholder"}),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",isSecondary:!0},__("Media Library","jetpack")),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",isSecondary:!0},__("Upload","jetpack")))}),"videoPressNoPlanMediaPlaceholder"),_=(e,t,n)=>("core/video"!==t.name||!n.guid||n.className?.indexOf("wp-block-video")>=0||n.videoPressClassNames||(e.className=e.className.replace("wp-block-video","").trim()),e);(0,c.addFilter)("blocks.registerBlockType","jetpack/videopress",((e,t)=>{if("core/embed"===t)return(e=>{if(!("variations"in e)||"object"!=typeof e.variations)return;const{available:t}=(0,f.Z)("videopress");e.variations.some((e=>"videopress"===e.name&&(t&&(e.scope=[]),e.patterns.push(/^https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?$/i),!0)))})(e),e;if("core/video"!==t||e.isDeprecation)return e;const{deprecated:n,edit:r,save:s,supports:l,transforms:u}=e,{available:p,unavailableReason:C}=(0,f.Z)("videopress");if(((0,k.Wp)()||(0,k.Ug)())&&["missing_plan","unknown"].includes(C)?((0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",w),(0,c.addFilter)("editor.BlockListBlock","jetpack/videopress-with-has-warning-is-interactive-class-names",(0,y.Z)("core/video"))):p&&(e.description=__("Embed a video from your media library or upload a new one with VideoPress.","jetpack"),e.example.attributes={caption:"",isVideoPressExample:!0,src:E}),(0,c.addFilter)("blocks.getSaveContent.extraProps","jetpack/videopress",_,20),p||["missing_plan","missing_module","unknown"].includes(C)){const t={autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},useAverageColor:{type:"boolean"},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"}},c=/https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?/i;return{...e,attributes:t,transforms:{...u,from:[{type:"files",isMatch:e=>(0,d.every)(e,(e=>0===e.type.indexOf("video/"))),priority:9,transform:(e,t)=>{const n=[];return e.forEach((e=>{const r=(0,o.createBlock)("core/video",{src:(0,a.createBlobURL)(e)});(0,i.mediaUpload)({filesList:[e],onFileChange:e=>{let[{id:n,url:a}]=e;t(r.clientId,{id:n,src:a})},allowedTypes:["video"]}),n.push(r)})),n}},{type:"raw",isMatch:e=>"P"===e.nodeName&&c.test(e.innerHTML),transform:e=>{const t=c.exec(e.innerHTML);return(0,o.createBlock)("core/embed",{url:"https://videopress.com/v/"+t[1].trim()})}}]},supports:{...l,reusable:!1},edit:(0,m.Z)(r),save:(0,h.Z)(s),deprecated:[...n||[],v.Z,{attributes:t,isEligible:e=>!e.guid,save:s,supports:l,isDeprecation:!0},b.Z,g.Z]}}return e}),5)}(),function(){"use strict";var e=l(28069),t=l(62086);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(92819),n=l(99196),r=l(9818),a=l(72067),o=l(22607),i=l(84675),s=l(65736),c=l(98817),u=l(55609),p=(l(53961),l(33690)),d=l(22874),m=l(11973);const __=s.__;async function h(e){await(0,p.U)();const{insertBlocks:t}=(0,r.dispatch)("core/block-editor");let n;switch(e.tpl){case"spotifyBadge":n=(0,d.F)(e);break;case"basicEpisode":n=(0,d.J)(e)}n?.length&&t(n,0,void 0,!1)}const f=()=>{(0,n.useEffect)((()=>{m.Z.tracks.recordEvent("jetpack_editor_block_anchor_fm_post_publish_impression")}),[]);const t=(0,n.useCallback)((()=>m.Z.tracks.recordEvent("jetpack_editor_block_anchor_fm_post_publish_click")),[]);return(0,e.createElement)(a.PluginPostPublishPanel,{className:"anchor-post-publish-outbound-link"},(0,e.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},(0,e.createElement)("strong",null,__("Convert to audio","jetpack"))),(0,e.createElement)("p",null,__("Seamlessly turn this post into a podcast episode with Anchor - and let readers listen to your post.","jetpack")),(0,e.createElement)("div",{role:"link",className:"post-publish-panel__postpublish-buttons",tabIndex:0,onClick:t,onKeyDown:t},(0,e.createElement)(u.Button,{isPrimary:!0,href:"https://anchor.fm/wordpressdotcom",target:"_top"},__("Create a podcast episode","jetpack")," ",(0,e.createElement)(o.Z,{icon:i.Z,className:"anchor-post-publish-outbound-link__external_icon"}))))};!function(){const e=window.Jetpack_AnchorFm;"object"==typeof e&&e.actions.forEach((e=>{const[n,a]=(0,t.castArray)(e);switch(n){case"insert-spotify-badge":h({...a,tpl:"spotifyBadge"});break;case"insert-episode-template":h({...a,tpl:"basicEpisode"});break;case"show-post-publish-outbound-link":(0,c.registerPlugin)("anchor-post-publish-outbound-link",{render:f});break;case"set-episode-title":!async function(e){let{title:t}=e;t&&(await(0,p.U)(),(0,r.dispatch)("core/editor").editPost({title:t}))}(a);break;case"create-episode-error-notice":o=a,(0,r.dispatch)("core/notices").createNotice("error",__("We couldn't find that episode in your feed. If you just published the episode, please try creating the post again in a few minutes.","jetpack"),{id:"episode-error-notice",actions:[{onClick(){window.location.href=o.retry_url},onKeyDown(){window.location.href=o.retry_url},label:__("Retry","jetpack")}]})}var o}))}()}(),function(){"use strict";var e=l(28069),t=l(98034),n=l(76883),r=l(24720),a=l(46157),o=l(37436);(0,e.Z)(t.u,t.X,[{name:n.u,settings:n.X},{name:r.u,settings:r.X},{name:a.u,settings:a.X},{name:o.u,settings:o.X}],!1)}(),function(){"use strict";var e=l(28069),t=l(36384);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(98956);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(6007);(0,e.Z)(t.u2,t.Xd)}()}(); \ No newline at end of file
+__("Congratulations! Your site is now on the %s plan.","jetpack"),e):__("Congratulations! Your site is now on a paid plan.","jetpack"),{isDismissible:!0,...t&&{actions:[{url:l(),label:__("View my plan","jetpack")}]}})}}}})()},45092:function(e,t,n){"use strict";n.d(t,{bu:function(){return l},uM:function(){return i},yX:function(){return s}});var r=n(86989),a=n.n(r),o=n(13419);async function i(){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function l(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},80425:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},31985:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(65736),a=n(92694),o=n(4981),i=n(13419),s=n(1949);const __=r.__,l={paid:(0,r._x)("paid","Short label appearing near a block requiring a paid plan","jetpack"),beta:__("beta","jetpack")},c=s.Kc||[];function u(e){const t=[];return c.includes(e)&&t.push(l.beta),t}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length?`${e} (${t.join(", ")})`:e}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:s,details:l,unavailableReason:c}=(0,i.OZ)(e),d=(0,i._D)(c,l),m=r?"jetpack/":"";if(!s&&!d)return!1;const h=(0,o.registerBlockType)(m+e,{...t,title:p(t.title,u(e))});return d&&(0,a.addFilter)("editor.BlockListBlock",`${m+e}-with-has-warning-is-interactive-class-names`,(0,i.T)(m+e)),n.forEach((e=>(0,o.registerBlockType)(m+e.name,e.settings))),h}},36598:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:o},(0,r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},66425:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=(e,t,n,o,i)=>{const{isSelected:s}=t,l=t.attributes[e];return(0,r.createElement)("div",{className:s?`jetpack-${e}-block is-selected`:`jetpack-${e}-block`},!s&&""!==l&&o(t),(s||""===l)&&(0,r.createElement)(a.PlainText,{value:l,placeholder:n,"aria-label":n,onChange:i}))}},92713:function(e,t,n){"use strict";var r=n(9818),a=n(65736);n(53961);const __=a.__;if("undefined"!=typeof window&&window.location){const e=new URLSearchParams(window.location.search);e.get("stripe_connect_success")?(0,r.dispatch)("core/notices").createNotice("success",__("Congrats! Your site is now connected to Stripe. You can now start accepting funds!","jetpack")):e.get("stripe_connect_cancelled")&&(0,r.dispatch)("core/notices").createNotice("error",__("You cancelled connecting your site to Stripe.","jetpack"))}},23621:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(86989),o=n.n(a);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;return t(!0),new Promise(((n,r)=>{o()({path:`/wpcom/v2/resolve-redirect/?url=${encodeURIComponent(e)}`}).then((a=>{t(!1);const o=a.status?parseInt(a.status,10):null;o&&o>=400?r():n(a.url||e)}),(()=>{t(!1),r()}))}))}},46867:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),a=n(9818),o=n(69307);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t&&t(e),n?window.open(e,"_blank"):window.top.location.href=e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const[n,s]=(0,o.useState)(!1),{isAutosaveablePost:l,isDirtyPost:c,currentPost:u}=(0,a.useSelect)((e=>{const t=e("core/editor");return{isAutosaveablePost:t.isEditedPostAutosaveable(),isDirtyPost:t.isEditedPostDirty(),currentPost:t.getCurrentPost()}}),[]),p=Object.keys(u).length>0,d=(0,a.useSelect)((e=>!!window.wp.customize||!!e("core/edit-widgets"))),m=(0,a.dispatch)("core/editor").savePost,h=(0,a.useSelect)((e=>e("core").__experimentalGetDirtyEntityRecords())),f=async()=>{for(let e=0;e<h.length;e++)await(0,a.dispatch)("core").saveEditedEntityRecord(h[e].kind,h[e].name,h[e].key)},g=async e=>{e.preventDefault(),p?c&&l&&await m(e):await f(e)},b=async r=>{r.preventDefault(),n||(s(!0),g(r).then((()=>{i(e,t,d)})))};return{autosave:g,autosaveAndRedirect:b,isRedirecting:n}}},78798:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(92819),a=n(13419),o=n(9818),i=n(92694),s=(n(87553),n(46867));const l="a8c.wpcom-block-editor.openCheckoutModal";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const{checkoutUrl:n,planData:c}=(0,o.useSelect)((t=>{const n=t("core/editor"),r=t("wordpress-com/plans"),{id:o,type:i}=n.getCurrentPost(),s=r&&r.getPlan(e);return{checkoutUrl:(0,a.Qq)({plan:s,planSlug:e,postId:o,postType:i}),planData:s}}),[]),{autosave:u,autosaveAndRedirect:p,isRedirecting:d}=(0,s.Z)(n,t),m=async e=>{if(e.preventDefault(),(0,i.hasAction)(l))return e.preventDefault(),u(e),void(0,i.doAction)(l,{products:[c]});p(e)};return[n,m,d,c]}},46185:function(e,t,n){"use strict";n.d(t,{U:function(){return a}});var r=n(9818);const a=async()=>new Promise((e=>{const t=(0,r.subscribe)((()=>{(0,r.select)("core/editor").isCleanNewPost()&&(t(),e());(0,r.select)("core/editor").getBlocks().length>0&&(t(),e())}))}))},97115:function(e,t,n){"use strict";n.d(t,{Vy:function(){return o},Wp:function(){return a},_5:function(){return i},tT:function(){return r}});const r="jetpack/media-source",a="is-playing",o="is-error",i="is-paused"},14688:function(e,t,n){"use strict";var r=n(9818),a=n(66858),o=n(97115);if(void 0!==r.createReduxStore){const e=(0,r.createReduxStore)(o.tT,a.Z);(0,r.register)(e)}else(0,r.registerStore)(o.tT,a.Z)},66858:function(e,t,n){"use strict";var r=n(97115);const a={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const n=Object.keys(e.sources);if(e.default?t=e.default:null!=n&&n.length&&(t=e.sources[n[0]].id),t)return e.sources[t]},getMediaPlayerState(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);return null==r?void 0:r.state},getMediaSourceCurrentTime(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);return null==r?void 0:r.currentTime},getMediaSourceDuration(e,t){var n,r;if(!t){const t=o.getDefaultMediaSource(e);return null==t?void 0:t.duration}return null===(n=e.sources)||void 0===n||null===(r=n[t])||void 0===r?void 0:r.duration},getMediaSourceDomReference(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);if(!r)return;const a=null==r?void 0:r.domId;return a?document.getElementById(a):void 0}},i={reducer(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,n=arguments.length>1?arguments[1]:void 0;const o=n.id||t.default||(null===(e=Object.keys(t.sources))||void 0===e?void 0:e[0]);switch(n.type){case"REGISTER_MEDIA_SOURCE":return{...t,sources:{...t.sources,[n.id]:{id:n.id,...n.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...t,sources:{...t.sources,[n.id]:{...t.sources[n.id],...n.data}}};case"UNREGISTER_MEDIA_SOURCE":{const e=Object.assign({},t);var i;if(e.sources[n.id]&&delete e.sources[n.id],n.id===t.default)e.default=null===(i=Object.keys(t.sources))||void 0===i?void 0:i[0];return e}case"SET_DEFAULT_MEDIA_SOURCE":return{...t,default:n.id};case"SET_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:n.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:t.sources[o].state===r.Wp?r._5:r.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...t,sources:{...t.sources,[o]:{...t.sources[o],currentTime:n.currentTime}}}}return t},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=i},6247:function(e,t,n){"use strict";n.r(t),n.d(t,{saveProduct:function(){return v},setApiState:function(){return h},setConnectUrl:function(){return m},setProducts:function(){return d},setShouldUpgrade:function(){return f},setSiteSlug:function(){return g},setUpgradeUrl:function(){return b}});var r=n(25607),a=n(86989),o=n.n(a),i=n(65736),s=n(23267),l=n(46529),c=n(79162),u=n(14436),p=n(51585);const __=i.__,d=e=>({type:"SET_PRODUCTS",products:e}),m=e=>({type:"SET_CONNECT_URL",connectUrl:e}),h=e=>({type:"SET_API_STATE",apiState:e}),f=e=>({type:"SET_SHOULD_UPGRADE",shouldUpgrade:e}),g=e=>({type:"SET_SITE_SLUG",siteSlug:e}),b=e=>({type:"SET_UPGRADE_URL",upgradeUrl:e}),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.Bn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{};return async u=>{let{dispatch:m,registry:h}=u;const{title:f,price:g,currency:b}=e;if(!f||0===f.length)return(0,l.q)((0,p.l)("product requires a name",t),h),void a(!1);const v=parseFloat(g),k=(0,c.hj)(b);if(v<k)return(0,l.q)((0,i.sprintf)(// translators: %s: Price
+__("Minimum allowed price is %s.","jetpack"),(0,r.ZP)(k,b)),h),void a(!1);if(!(0,c.vs)(b,v))return(0,l.q)((0,p.l)("product requires a valid price",t),h),void a(!1);try{const r=await o()({path:"/wpcom/v2/memberships/product",method:"POST",data:e}),i={id:r.id,title:r.title,interval:r.interval,price:r.price,currency:r.currency},c=h.select(s.G4).getProducts();m(d(c.concat([i]))),n(i.id),(0,l.w)((0,p.l)("successfully created product",t),h),a(!0)}catch(e){(0,l.q)((0,p.l)("there was an error when adding the product",t),h),a(!1)}}}},23267:function(e,t,n){"use strict";n.d(t,{G4:function(){return r},P:function(){return i},cH:function(){return o},lp:function(){return a}});const r="jetpack/membership-products",a=0,o=1,i=2},7652:function(e,t,n){"use strict";n.d(t,{h:function(){return c}});var r=n(9818),a=n(6247),o=n(93100),i=n(20360),s=n(93245),l=n(23267);const c=(0,r.createReduxStore)(l.G4,{actions:a,reducer:o.Z,resolvers:i,selectors:s,__experimentalUseThunks:!0});(0,r.register)(c)},93100:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={products:[],apiState:n(23267).lp,connectUrl:null,shouldUpgrade:!1,siteSlug:"",upgradeUrl:null};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PRODUCTS":return{...e,products:t.products};case"SET_CONNECT_URL":return{...e,connectUrl:t.connectUrl};case"SET_API_STATE":return{...e,apiState:t.apiState};case"SET_SHOULD_UPGRADE":return{...e,shouldUpgrade:t.shouldUpgrade};case"SET_SITE_SLUG":return{...e,siteSlug:t.siteSlug};case"SET_UPGRADE_URL":return{...e,upgradeUrl:t.upgradeUrl}}return e}},20360:function(e,t,n){"use strict";n.r(t),n.d(t,{getProducts:function(){return E}});var r=n(86989),a=n.n(r),o=n(12238),i=n(96483),s=n(6247),l=n(46529),c=n(23267),u=n(74251),p=n(14436),d=n(51585),m=n(73905);const h="membership-products-resolver-getProducts";let f=!1;const g=async()=>{var e,t;const n=(0,i.getQueryArg)(window.location.href,"origin"),r=(0,i.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===n?"gutenberg-wpcom":"gutenberg",type:"all",is_editable:!0}),o=await a()({path:r,method:"GET"});if(!o&&"object"!=typeof o)throw new Error("Unexpected API response");const s=(null==o?void 0:o.errors)&&(null===(e=Object.values(o.errors))||void 0===e||null===(t=e[0])||void 0===t?void 0:t[0]);if(s)throw new Error(s);return o},b=(e,t,n)=>{const r=t.select(o.store).getCurrentPostId();n((0,s.setConnectUrl)((0,u.Z)(r,e.connect_url))),n((0,s.setShouldUpgrade)(e.should_upgrade_to_access_memberships)),n((0,s.setSiteSlug)(e.site_slug)),n((0,s.setUpgradeUrl)(e.upgrade_url)),n((0,s.setProducts)(e.products)),n((0,s.setApiState)(e.connected_account_id?c.cH:c.P))},v=async(e,t,n)=>{await n((0,s.saveProduct)({title:(0,d.l)("default new product title",e),currency:"USD",price:5,interval:"1 month"},e,t))},k=e=>!e.products.length&&!e.should_upgrade_to_access_memberships&&e.connected_account_id,y=(e,t,n)=>{var r;if(e)return;const a=null===(r=n.getProductsNoResolver()[0])||void 0===r?void 0:r.id;a&&t(a)},E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.Bn,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};return async r=>{let{dispatch:a,registry:o,select:i}=r;if(await m.Z.blockExecution(h),f)return void y(t,n,i);const u=m.Z.acquire(h);try{const r=await g();b(r,o,a),k(r)&&await v(e,n,a),y(t,n,i),f=!0}catch(e){a((0,s.setConnectUrl)(null)),a((0,s.setApiState)(c.P)),(0,l.q)(e.message,o)}m.Z.release(u)}}},93245:function(e,t,n){"use strict";n.r(t),n.d(t,{getApiState:function(){return a},getConnectUrl:function(){return o},getProduct:function(){return l},getProducts:function(){return i},getProductsNoResolver:function(){return s},getShouldUpgrade:function(){return c},getSiteSlug:function(){return u},getUpgradeUrl:function(){return p},isApiStateConnected:function(){return d},isApiStateLoading:function(){return m},isInvalidProduct:function(){return h}});var r=n(23267);const a=e=>e.apiState,o=e=>e.connectUrl,i=e=>e.products,s=e=>i(e),l=(e,t)=>i(e).find((e=>e.id===t)),c=e=>e.shouldUpgrade,u=e=>e.siteSlug,p=e=>!!c(e)&&e.upgradeUrl,d=e=>e.apiState===r.cH,m=e=>e.apiState===r.lp,h=(e,t)=>!!t&&!l(e,t)},46529:function(e,t,n){"use strict";n.d(t,{q:function(){return a},w:function(){return o}});var r=n(53961);const a=(e,t)=>t.dispatch(r.store).createErrorNotice(e,{type:"snackbar"}),o=(e,t)=>t.dispatch(r.store).createSuccessNotice(e,{type:"snackbar"})},43317:function(e,t,n){"use strict";n.d(t,{M:function(){return r},X:function(){return a}});const r={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 a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},25607:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});var r=n(43317),a=n(5375);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=(0,r.X)(t);if(!o||isNaN(e))return null;const{decimal:s,grouping:l,precision:c,symbol:u}={...o,...n},p=e<0?"-":"";let d=(0,a.Z)(Math.abs(e),c,s,l);return n.stripZeros&&(d=i(d,s)),`${p}${u}${d}`}function i(e,t){const n=new RegExp(`\\${t}0+$`);return e.replace(n,"")}},5375:function(e,t,n){"use strict";function r(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";const o=(e+"").replace(/[^0-9+\-Ee.]/g,""),i=isFinite(+o)?+o:0,s=isFinite(+t)?Math.abs(t):0,l=(s?r(i,s):""+Math.round(i)).split(".");return l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(l[1]||"").length<s&&(l[1]=l[1]||"",l[1]+=new Array(s-l[1].length+1).join("0")),l.join(n)}n.d(t,{Z:function(){return a}})},81530:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53184);function a(e){Object.assign(e,r.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},7211:function(e,t,n){"use strict";function r(){this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=e=>{e.source===this.windowInstance&&this.emit("message",e.data)}}(0,n(81530).Z)(r.prototype),r.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},r.prototype.getScreenCenterSpecs=function(e,t){const n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},r.prototype.isOpen=function(e){let t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},r.prototype.checkStatus=function(){for(const e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},r.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=r},39229:function(e,t,n){"use strict";var r=n(7211);t.Z=function(e,t){var n,a=new r.Z;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(function(){var e={};n&&n.keyring_id&&(e.keyring_id=Number(n.keyring_id),e.id_token=n.id_token,e.user=n.user),t(e)})),a.on("message",(function(e){return n=e}))}},79988:function(e,t,n){"use strict";var r=n(92819),a=n(25162),o=n.n(a),i=n(99196),s=n(21987),l=(n(59961),n(94362));const c=e=>e&&e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,""),u=(0,s.SL)((0,s.hs)(80),(0,s.KB)(80)),p=(0,s.SL)((0,s.hs)(200),(0,s.KB)(200));class d extends i.PureComponent{render(){const{url:e,type:t,title:n,description:a,image:o,author:i}=this.props;return(0,l.tZ)("div",{className:`facebook-preview facebook-preview__${t}`,children:(0,l.BX)("div",{className:"facebook-preview__content",children:[(0,l.tZ)("div",{className:"facebook-preview__image",children:o&&(0,l.tZ)("img",{alt:"Facebook Preview Thumbnail",src:o})}),(0,l.BX)("div",{className:"facebook-preview__body",children:[(0,l.tZ)("div",{className:"facebook-preview__url",children:(0,r.compact)([c(e),i]).join(" | ")}),(0,l.tZ)("div",{className:"facebook-preview__title",children:u(n||"")}),(0,l.tZ)("div",{className:"facebook-preview__description",children:p((0,s.ju)(a))})]})]})})}}d.propTypes={url:o().string,type:o().string,title:o().string,description:o().string,image:o().string,author:o().string},t.Z=d},21987:function(e,t,n){"use strict";n.d(t,{I$:function(){return o},KB:function(){return i},SL:function(){return s},hs:function(){return a},ju:function(){return l}});var r=n(92819);const a=e=>t=>t.length<=e&&t,o=(e,t)=>n=>{const r=n.slice(0,t),a=r.lastIndexOf(" ");return a>e&&a<t&&r.slice(0,a).concat("…")},i=e=>t=>t.slice(0,e).concat("…"),s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>(0,r.find)(t,(t=>!1!==t(e)))(e)},l=e=>e?e.replace(/(<([^>]+)>)/gi,""):""},27143:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(25162),a=n.n(r),o=n(21987),i=(n(18783),n(94362));const s=160,l=e=>{const t=e.replace(/^[^/]+[/]*/,"").split("/").join(" › ");return(0,o.SL)((0,o.hs)(68),(0,o.KB)(68))(t)},c=(0,o.SL)((0,o.hs)(63),(0,o.I$)(23,73),(0,o.KB)(63)),u=(0,o.SL)((0,o.hs)(s),(0,o.I$)(80,170),(0,o.KB)(s));function p(e){let{description:t,title:n,url:r}=e;return(0,i.tZ)("div",{className:"search-preview",children:(0,i.BX)("div",{className:"search-preview__display",children:[(0,i.BX)("div",{className:"search-preview__url",children:[l(r)," ▾"]}),(0,i.tZ)("div",{className:"search-preview__title",children:c(n)}),(0,i.tZ)("div",{className:"search-preview__description",children:u((0,o.ju)(t))})]})})}p.propTypes={title:a().string,url:a().string,description:a().string},p.defaultProps={title:"",url:"",description:""}},50149:function(e,t,n){"use strict";var r=n(25162),a=n.n(r),o=n(99196),i=n(43667),s=(n(58449),n(94362));class l extends o.PureComponent{render(){const e=this.props.tweets||[{text:"",media:[],card:{...this.props,type:"large_image_summary"===this.props.type?"summary_large_image":this.props.type},date:Date.now(),name:"Account Name",profileImage:"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:"@account"}];return(0,s.tZ)("div",{className:"twitter-preview",children:e&&e.map(((t,n)=>(0,s.tZ)(i.t,{isLast:n+1===e.length,...t},`twitter-preview__tweet-${n}`)))})}}l.propTypes={tweets:a().array},t.Z=l},43667:function(e,t,n){"use strict";n.d(t,{t:function(){return g}});var r=n(55609),a=n(65736),o=n(65235),i=n.n(o),s=n(76292),l=n.n(s),c=n(25162),u=n.n(c),p=n(99196),d=n(21987),m=(n(58449),n(94362));const __=a.__,h=e=>e.replace(/^[^/]+[/]*(www\.)?/,"").replace(/\/.*$/,""),f=(0,d.SL)((0,d.hs)(200),(0,d.KB)(200));class g extends p.PureComponent{renderSidebar(e,t){return(0,m.BX)("div",{className:"twitter-preview__sidebar",children:[(0,m.tZ)("div",{className:"twitter-preview__profile-image",children:(0,m.tZ)("img",{alt:__("Twitter profile image","jetpack"),src:e})}),!t&&(0,m.tZ)("div",{className:"twitter-preview__connector"})]})}renderHeader(e,t,n){return(0,m.BX)("div",{className:"twitter-preview__header",children:[(0,m.tZ)("span",{className:"twitter-preview__name",children:e}),(0,m.tZ)("span",{className:"twitter-preview__screen-name",children:t}),(0,m.tZ)("span",{className:"twitter-preview__date",children:l()(n).format("MMM D")})]})}renderText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).url||"",r=e.endsWith(n)?e.substr(0,e.lastIndexOf(n)):e,a=t.reduce(((e,t)=>e.replace(new RegExp("\\("+t+"\\)","g"),`(<a href="${t}">${t}</a>)`)),(0,d.ju)(r).replace(new RegExp("\\n","g"),"<br/>"));return(0,m.tZ)("div",{className:"twitter-preview__text",dangerouslySetInnerHTML:{__html:a}})}renderMedia(e){if(!e)return;const t=e.filter((e=>e.type.startsWith("image/")||e.type.startsWith("video/"))).filter(((e,t,n)=>0===t||!n[0].type.startsWith("video/")&&"image/gif"!==n[0].type&&(!e.type.startsWith("video/")&&"image/gif"!==e.type))).slice(0,4),n=t.length>0&&t[0].type.startsWith("video/"),r=i()(["twitter-preview__media","twitter-preview__media-children-"+t.length]);return 0!==t.length?(0,m.BX)("div",{className:r,children:[n&&t.map(((e,t)=>(0,m.BX)("video",{controls:!0,children:[(0,m.tZ)("source",{src:e.url,type:e.type})," "]},`twitter-preview__media-item-${t}`))),!n&&t.map(((e,t)=>(0,m.tZ)("img",{alt:e.alt,src:e.url},`twitter-preview__media-item-${t}`)))]}):void 0}renderQuoteTweet(e){if(e)return(0,m.BX)("div",{className:"twitter-preview__quote-tweet",children:[(0,m.tZ)(r.SandBox,{html:`<blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><a href="${e}"></a></blockquote>`,scripts:["https://platform.twitter.com/widgets.js"],title:"Embedded tweet",onFocus:this.hideOverlay}),(0,m.tZ)("div",{className:"twitter-preview__quote-tweet-overlay"})]})}renderCard(e){if(!e)return;const{description:t,image:n,title:r,type:a,url:o}=e,s=i()(`twitter-preview__card-${a}`,{"twitter-preview__card-has-image":!!n});return(0,m.tZ)("div",{className:"twitter-preview__card",children:(0,m.BX)("div",{className:s,children:[n&&(0,m.tZ)("img",{className:"twitter-preview__card-image",src:n,alt:""}),(0,m.BX)("div",{className:"twitter-preview__card-body",children:[(0,m.tZ)("div",{className:"twitter-preview__card-title",children:r}),(0,m.tZ)("div",{className:"twitter-preview__card-description",children:f((0,d.ju)(t))}),(0,m.BX)("div",{className:"twitter-preview__card-url",children:[(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.BX)("g",{children:[(0,m.tZ)("path",{d:"M11.96 14.945c-.067 0-.136-.01-.203-.027-1.13-.318-2.097-.986-2.795-1.932-.832-1.125-1.176-2.508-.968-3.893s.942-2.605 2.068-3.438l3.53-2.608c2.322-1.716 5.61-1.224 7.33 1.1.83 1.127 1.175 2.51.967 3.895s-.943 2.605-2.07 3.438l-1.48 1.094c-.333.246-.804.175-1.05-.158-.246-.334-.176-.804.158-1.05l1.48-1.095c.803-.592 1.327-1.463 1.476-2.45.148-.988-.098-1.975-.69-2.778-1.225-1.656-3.572-2.01-5.23-.784l-3.53 2.608c-.802.593-1.326 1.464-1.475 2.45-.15.99.097 1.975.69 2.778.498.675 1.187 1.15 1.992 1.377.4.114.633.528.52.928-.092.33-.394.547-.722.547z"}),(0,m.tZ)("path",{d:"M7.27 22.054c-1.61 0-3.197-.735-4.225-2.125-.832-1.127-1.176-2.51-.968-3.894s.943-2.605 2.07-3.438l1.478-1.094c.334-.245.805-.175 1.05.158s.177.804-.157 1.05l-1.48 1.095c-.803.593-1.326 1.464-1.475 2.45-.148.99.097 1.975.69 2.778 1.225 1.657 3.57 2.01 5.23.785l3.528-2.608c1.658-1.225 2.01-3.57.785-5.23-.498-.674-1.187-1.15-1.992-1.376-.4-.113-.633-.527-.52-.927.112-.4.528-.63.926-.522 1.13.318 2.096.986 2.794 1.932 1.717 2.324 1.224 5.612-1.1 7.33l-3.53 2.608c-.933.693-2.023 1.026-3.105 1.026z"})]})}),h(o||"")]})]})]})})}renderFooter(){return(0,m.BX)("div",{className:"twitter-preview__footer",children:[(0,m.tZ)("span",{className:"twitter-preview__icon-replies",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M14.046 2.242l-4.148-.01h-.002c-4.374 0-7.8 3.427-7.8 7.802 0 4.098 3.186 7.206 7.465 7.37v3.828c0 .108.044.286.12.403.142.225.384.347.632.347.138 0 .277-.038.402-.118.264-.168 6.473-4.14 8.088-5.506 1.902-1.61 3.04-3.97 3.043-6.312v-.017c-.006-4.367-3.43-7.787-7.8-7.788zm3.787 12.972c-1.134.96-4.862 3.405-6.772 4.643V16.67c0-.414-.335-.75-.75-.75h-.396c-3.66 0-6.318-2.476-6.318-5.886 0-3.534 2.768-6.302 6.3-6.302l4.147.01h.002c3.532 0 6.3 2.766 6.302 6.296-.003 1.91-.942 3.844-2.514 5.176z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-retweets",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M23.77 15.67c-.292-.293-.767-.293-1.06 0l-2.22 2.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414 0-.75.336-.75.75s.336.75.75.75h5.85c1.24 0 2.25 1.01 2.25 2.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06 0s-.294.768 0 1.06l3.5 3.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767 0-1.06zm-10.66 3.28H7.26c-1.24 0-2.25-1.01-2.25-2.25V6.46l2.22 2.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768 0-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06 0l-3.5 3.5c-.294.292-.294.767 0 1.06s.767.293 1.06 0l2.22-2.22V16.7c0 2.068 1.683 3.75 3.75 3.75h5.85c.414 0 .75-.336.75-.75s-.337-.75-.75-.75z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-likes",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-share",children:(0,m.BX)("svg",{viewBox:"0 0 24 24",children:[(0,m.tZ)("path",{d:"M17.53 7.47l-5-5c-.293-.293-.768-.293-1.06 0l-5 5c-.294.293-.294.768 0 1.06s.767.294 1.06 0l3.72-3.72V15c0 .414.336.75.75.75s.75-.336.75-.75V4.81l3.72 3.72c.146.147.338.22.53.22s.384-.072.53-.22c.293-.293.293-.767 0-1.06z"}),(0,m.tZ)("path",{d:"M19.708 21.944H4.292C3.028 21.944 2 20.916 2 19.652V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 .437.355.792.792.792h15.416c.437 0 .792-.355.792-.792V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 1.264-1.028 2.292-2.292 2.292z"})]})})]})}render(){const{isLast:e,profileImage:t,name:n,screenName:r,date:a,text:o,media:i,tweet:s,urls:l,card:c}=this.props;return(0,m.BX)("div",{className:"twitter-preview__container",children:[this.renderSidebar(t,e),(0,m.BX)("div",{className:"twitter-preview__main",children:[this.renderHeader(n,r,a),(0,m.BX)("div",{className:"twitter-preview__content",children:[this.renderText(o,l,c),this.renderMedia(i),this.renderQuoteTweet(s),this.renderCard(c)]}),this.renderFooter()]})]})}}g.propTypes={tweets:u().array,isLast:u().bool,profileImage:u().string,name:u().string,screenName:u().string,date:u().number,text:u().string,media:u().array,tweet:u().string,urls:u().array,card:u().object}},51128:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(62942)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},62942:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(73171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},60686:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(5728)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5728:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(73171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},99891:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-fullscreen",s,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M21 3v6h-2V6.41l-3.29 3.3-1.42-1.42L17.59 5H15V3zM3 3v6h2V6.41l3.29 3.3 1.42-1.42L6.41 5H9V3zm18 18v-6h-2v2.59l-3.29-3.29-1.41 1.41L17.59 19H15v2zM9 21v-2H6.41l3.29-3.29-1.41-1.42L5 17.59V15H3v6z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},73139:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-notice-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},89933:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-star",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.891 5.82 21l2.002-7.141L2 9.257l7.418-.304z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},60300:function(e,t,n){"use strict";n.r(t),n.d(t,{decode:function(){return b},encode:function(){return v},toASCII:function(){return y},toUnicode:function(){return k},ucs2decode:function(){return m},ucs2encode:function(){return h}});const r=2147483647,a=36,o=/^xn--/,i=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(l[e])}function d(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(s,".")).split("."),t).join(".");return r+a}function m(e){const t=[];let n=0;const r=e.length;for(;n<r;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t}const h=e=>String.fromCodePoint(...e),f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=a)e=c(e/35);return c(r+36*e/(e+38))},b=function(e){const t=[],n=e.length;let o=0,i=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let d=l>0?l+1:0;d<n;){let l=o;for(let t=1,i=a;;i+=a){d>=n&&p("invalid-input");const l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:a;(l>=a||l>c((r-o)/t))&&p("overflow"),o+=l*t;const m=i<=s?1:i>=s+26?26:i-s;if(l<m)break;const h=a-m;t>c(r/h)&&p("overflow"),t*=h}const m=t.length+1;s=g(o-l,m,0==l),c(o/m)>r-i&&p("overflow"),i+=c(o/m),o%=m,t.splice(o++,0,i)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let n=(e=m(e)).length,o=128,i=0,s=72;for(const n of e)n<128&&t.push(u(n));let l=t.length,d=l;for(l&&t.push("-");d<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const m=d+1;n-o>c((r-i)/m)&&p("overflow"),i+=(n-o)*m,o=n;for(const n of e)if(n<o&&++i>r&&p("overflow"),n==o){let e=i;for(let n=a;;n+=a){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const o=e-r,i=a-r;t.push(u(f(r+o%i,0))),e=c(o/i)}t.push(u(f(e,0))),s=g(i,m,d==l),i=0,++d}++i,++o}return t.join("")},k=function(e){return d(e,(function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e}))},y=function(e){return d(e,(function(e){return i.test(e)?"xn--"+v(e):e}))},E={version:"2.1.0",ucs2:{decode:m,encode:h},decode:b,encode:v,toASCII:y,toUnicode:k};t.default=E},40230:function(e,t,n){"use strict";const r=n(31259),a=n(22424),o=n(86785),i=n(68017);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?a(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const a="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!a&&c(n,e).includes(e.arrayFormatSeparator);n=o?c(n,e):n;const i=a||o?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const a=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!a)return void(r[t]=n?c(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>c(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const a of e.split("&")){if(""===a)continue;let[e,i]=o(t.decode?a.replace(/\+/g," "):a,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:c(i,t),n(c(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=m(n[e],t);else r[e]=m(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=u(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",a,"]"].join("")]:[...n,[l(t,e),"[",l(a,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:(a=null===a?"":a,0===r.length?[[l(n,e),t,l(a,e)].join("")]:[[r,l(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const o=Object.keys(a);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const a=e[n];return void 0===a?"":null===a?l(n,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":a.reduce(r(n),[]).join("&"):l(n,t)+"="+l(a,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=p(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query);let s=t.stringify(i,n);s&&(s=`?${s}`);let c=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c=`#${l(e.fragmentIdentifier,n)}`),`${r}${s}${c}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:i(o,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}},86785:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},31259:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},99217:function(e,t,n){var r;!function(a){var o=/^\s+/,i=/\s+$/,s=0,l=a.round,c=a.min,u=a.max,p=a.random;function d(e,t){if(t=t||{},(e=e||"")instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,l=null,p=!1,d=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var t,n=!1;if(N[e])e=N[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=$.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=$.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=$.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=$.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=$.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=$.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=$.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=$.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=$.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=$.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(H(e.r)&&H(e.g)&&H(e.b)?(m=e.r,h=e.g,f=e.b,t={r:255*B(m,255),g:255*B(h,255),b:255*B(f,255)},p=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):H(e.h)&&H(e.s)&&H(e.v)?(r=Z(e.s),s=Z(e.v),t=function(e,t,n){e=6*B(e,360),t=B(t,100),n=B(n,100);var r=a.floor(e),o=e-r,i=n*(1-t),s=n*(1-o*t),l=n*(1-(1-o)*t),c=r%6;return{r:255*[n,s,i,i,l,n][c],g:255*[l,n,n,s,i,i][c],b:255*[i,i,l,n,n,s][c]}}(e.h,r,s),p=!0,d="hsv"):H(e.h)&&H(e.s)&&H(e.l)&&(r=Z(e.s),l=Z(e.l),t=function(e,t,n){var r,a,o;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=B(e,360),t=B(t,100),n=B(n,100),0===t)r=a=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=i(l,s,e+1/3),a=i(l,s,e),o=i(l,s,e-1/3)}return{r:255*r,g:255*a,b:255*o}}(e.h,r,l),p=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var m,h,f;return n=I(n),{ok:p,format:e.format||d,r:c(255,u(t.r,0)),g:c(255,u(t.g,0)),b:c(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=s++}function m(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,a,o=u(e,t,n),i=c(e,t,n),s=(o+i)/2;if(o==i)r=a=0;else{var l=o-i;switch(a=s>.5?l/(2-o-i):l/(o+i),o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:a,l:s}}function h(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,a,o=u(e,t,n),i=c(e,t,n),s=o,l=o-i;if(a=0===o?0:l/o,o==i)r=0;else{switch(o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:a,v:s}}function f(e,t,n,r){var a=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16))];return r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function g(e,t,n,r){return[L(D(r)),L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=M(n.s),d(n)}function v(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=M(n.s),d(n)}function k(e){return d(e).desaturate(100)}function y(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=M(n.l),d(n)}function E(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),d(n)}function w(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=M(n.l),d(n)}function _(e,t){var n=d(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,d(n)}function C(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function S(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function j(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function x(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function P(e,t,n){t=t||6,n=n||30;var r=d(e).toHsl(),a=360/n,o=[d(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(d(r));return o}function T(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,a=n.s,o=n.v,i=[],s=1/t;t--;)i.push(d({h:r,s:a,v:o})),o=(o+s)%1;return i}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:a.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,a){var o=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(D(r))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*B(this._r,255))+"%",g:l(100*B(this._g,255))+"%",b:l(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%)":"rgba("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(A[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var a=d(e);n="#"+g(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(E,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(k,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(P,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(j,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:Z(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:p(),g:p(),b:p()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),a=d(t).toRgb(),o=n/100;return d({r:(a.r-r.r)*o+r.r,g:(a.g-r.g)*o+r.g,b:(a.b-r.b)*o+r.b,a:(a.a-r.a)*o+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(a.max(n.getLuminance(),r.getLuminance())+.05)/(a.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,a,o=d.readability(e,t);switch(a=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},d.mostReadable=function(e,t,n){var r,a,o,i,s=null,l=0;a=(n=n||{}).includeFallbackColors,o=n.level,i=n.size;for(var c=0;c<t.length;c++)(r=d.readability(e,t[c]))>l&&(l=r,s=d(t[c]));return d.isReadable(e,s,{level:o,size:i})||!a?s:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var N=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},A=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(N);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return c(1,u(0,e))}function R(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function Z(e){return e<=1&&(e=100*e+"%"),e}function D(e){return a.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var z,O,U,$=(O="[\\s|\\(]+("+(z="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",U="[\\s|\\(]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",{CSS_UNIT:new RegExp(z),rgb:new RegExp("rgb"+O),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+O),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+O),hsva:new RegExp("hsva"+U),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function H(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},23427:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(75908),a=n(9106),o=n(85016),i=n(11662);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}var u=function(){function e(t){s(this,e),this._file=t,this.size=t.size}return c(e,[{key:"slice",value:function(e,t){if((0,o.Z)())return(0,i.Z)(this._file.slice(e,t));var n=this._file.slice(e,t);return Promise.resolve({value:n})}},{key:"close",value:function(){}}]),e}(),p=function(){function e(t,n){s(this,e),this._chunkSize=n,this._buffer=void 0,this._bufferOffset=0,this._reader=t,this._done=!1}return c(e,[{key:"slice",value:function(e,t){return e<this._bufferOffset?Promise.reject(new Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(e,t)}},{key:"_readUntilEnoughDataOrDone",value:function(e,t){var n=this,r=t<=this._bufferOffset+d(this._buffer);if(this._done||r){var a=this._getDataFromBuffer(e,t),o=null==a&&this._done;return Promise.resolve({value:a,done:o})}return this._reader.read().then((function(r){var a=r.value;return r.done?n._done=!0:void 0===n._buffer?n._buffer=a:n._buffer=function(e,t){if(e.concat)return e.concat(t);if(e instanceof Blob)return new Blob([e,t],{type:e.type});if(e.set){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}throw new Error("Unknown data type")}(n._buffer,a),n._readUntilEnoughDataOrDone(e,t)}))}},{key:"_getDataFromBuffer",value:function(e,t){e>this._bufferOffset&&(this._buffer=this._buffer.slice(e-this._bufferOffset),this._bufferOffset=e);var n=0===d(this._buffer);return this._done&&n?null:this._buffer.slice(0,t-e)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}]),e}();function d(e){return void 0===e?0:void 0!==e.size?e.size:e.length}var m=function(){function e(){s(this,e)}return c(e,[{key:"openFile",value:function(e,t){return(0,r.Z)()&&e&&void 0!==e.uri?(0,a.Z)(e.uri).then((function(e){return new u(e)})).catch((function(e){throw new Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(e))})):"function"==typeof e.slice&&void 0!==e.size?Promise.resolve(new u(e)):"function"==typeof e.read?(t=+t,isFinite(t)?Promise.resolve(new p(e,t)):Promise.reject(new Error("cannot create source for stream without a finite value for the `chunkSize` option"))):Promise.reject(new Error("source object may only be an instance of File, Blob, or Reader in this environment"))}}]),e}()},41264:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(75908);function a(e,t){return(0,r.Z)()?Promise.resolve(function(e,t){var n=e.exif?function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return t}(JSON.stringify(e.exif)):"noexif";return["tus-rn",e.name||"noname",e.size||"nosize",n,t.endpoint].join("/")}(e,t)):Promise.resolve(["tus-br",e.name,e.type,e.size,e.lastModified,t.endpoint].join("-"))}},56940:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}n.d(t,{Z:function(){return i}});var i=function(){function e(){r(this,e)}return o(e,[{key:"createRequest",value:function(e,t){return new s(e,t)}},{key:"getName",value:function(){return"XHRHttpStack"}}]),e}(),s=function(){function e(t,n){r(this,e),this._xhr=new XMLHttpRequest,this._xhr.open(t,n,!0),this._method=t,this._url=n,this._headers={}}return o(e,[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(e,t){this._xhr.setRequestHeader(e,t),this._headers[e]=t}},{key:"getHeader",value:function(e){return this._headers[e]}},{key:"setProgressHandler",value:function(e){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(t){t.lengthComputable&&e(t.loaded)})}},{key:"send",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new Promise((function(n,r){e._xhr.onload=function(){n(new l(e._xhr))},e._xhr.onerror=function(e){r(e)},e._xhr.send(t)}))}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}(),l=function(){function e(t){r(this,e),this._xhr=t}return o(e,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(e){return this._xhr.getResponseHeader(e)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}()},99537:function(e,t,n){"use strict";n.d(t,{gq:function(){return y}});var r=n(63620),a=n(85799),o=n(15866),i=n(56940),s=n(23427),l=n(41264);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(){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 f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=b({},r.Z.defaultOptions,{httpStack:new i.Z,fileReader:new s.Z,urlStorage:o.H?new o.n:new a.Z,fingerprint:l.Z}),y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,a,o,i=(t=s,function(){var e,n=f(t);if(h()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u(this,s),t=b({},k,{},t),i.call(this,e,t)}return n=s,o=[{key:"terminate",value:function(e,t,n){return t=b({},k,{},t),r.Z.terminate(e,t,n)}}],(a=null)&&p(n.prototype,a),o&&p(n,o),s}(r.Z),E=window,w=E.XMLHttpRequest,_=E.Blob;w&&_&&_.prototype.slice},85016:function(e,t){"use strict";t.Z=function(){return"undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)}},75908:function(e,t){"use strict";t.Z=function(){return"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()}},11662:function(e,t,n){"use strict";function r(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(){var e=new Uint8Array(r.result);t({value:e})},r.onerror=function(e){n(e)},r.readAsArrayBuffer(e)}))}n.d(t,{Z:function(){return r}})},9106:function(e,t,n){"use strict";function r(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.responseType="blob",r.onload=function(){var e=r.response;t(e)},r.onerror=function(e){n(e)},r.open("GET",e),r.send()}))}n.d(t,{Z:function(){return r}})},15866:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{H:function(){return i},n:function(){return s}});var a=!1;try{a="localStorage"in window;var o="tusSupport";localStorage.setItem(o,localStorage.getItem(o))}catch(e){if(e.code!==e.SECURITY_ERR&&e.code!==e.QUOTA_EXCEEDED_ERR)throw e;a=!1}var i=a,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,n=[{key:"findAllUploads",value:function(){var e=this._findEntries("tus::");return Promise.resolve(e)}},{key:"findUploadsByFingerprint",value:function(e){var t=this._findEntries("tus::".concat(e,"::"));return Promise.resolve(t)}},{key:"removeUpload",value:function(e){return localStorage.removeItem(e),Promise.resolve()}},{key:"addUpload",value:function(e,t){var n=Math.round(1e12*Math.random()),r="tus::".concat(e,"::").concat(n);return localStorage.setItem(r,JSON.stringify(t)),Promise.resolve(r)}},{key:"_findEntries",value:function(e){for(var t=[],n=0;n<localStorage.length;n++){var r=localStorage.key(n);if(0===r.indexOf(e))try{var a=JSON.parse(localStorage.getItem(r));a.urlStorageKey=r,t.push(a)}catch(e){}}return t}}],n&&r(t.prototype,n),a&&r(t,a),e}()},56971:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;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,r)}function r(){return i(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,e)},o(e)}function i(e,t,n){return i=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&l(a,n.prototype),a},i.apply(null,arguments)}function s(){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 l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(o,e);var t,n=(t=o,function(){var e,n=c(t);if(s()){var r=c(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function o(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(r(this,o),(t=n.call(this,e)).originalRequest=i,t.originalResponse=s,t.causingError=a,null!=a&&(e+=", caused by ".concat(a.toString())),null!=i){var l=i.getHeader("X-Request-ID")||"n/a",c=i.getMethod(),u=i.getURL(),p=s?s.getStatus():"n/a",d=s?s.getBody()||"":"n/a";e+=", originated from request (method: ".concat(c,", url: ").concat(u,", response code: ").concat(p,", response text: ").concat(d,", request id: ").concat(l,")")}return t.message=e,t}return o}(o(Error));t.Z=u},51336:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=!1;function a(e){r&&console.log(e)}},85799:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,(n=[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(e){return Promise.resolve([])}},{key:"removeUpload",value:function(e){return Promise.resolve()}},{key:"addUpload",value:function(e,t){return Promise.resolve(null)}}])&&r(t.prototype,n),a&&r(t,a),e}()},63620:function(e,t,n){"use strict";var r=n(84097),a=n(41294),o=n.n(a),i=n(56971),s=n(51336),l=n(98184);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var m={endpoint:null,uploadUrl:null,metadata:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,_onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:null,chunkSize:1/0,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null},h=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"resume"in n&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=n,this._urlStorage=this.options.urlStorage,this.file=t,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}var t,n,r;return t=e,n=[{key:"findPreviousUploads",value:function(){var e=this;return this.options.fingerprint(this.file,this.options).then((function(t){return e._urlStorage.findUploadsByFingerprint(t)}))}},{key:"resumeFromPreviousUpload",value:function(e){this.url=e.uploadUrl||null,this._parallelUploadUrls=e.parallelUploadUrls||null,this._urlStorageKey=e.urlStorageKey}},{key:"start",value:function(){var e=this,t=this.file;if(t)if(this.options.endpoint||this.options.uploadUrl){var n=this.options.retryDelays;null==n||"[object Array]"===Object.prototype.toString.call(n)?(this.options.parallelUploads>1&&["uploadUrl","uploadSize","uploadLengthDeferred"].forEach((function(t){e.options[t]&&e._emitError(new Error("tus: cannot use the ".concat(t," option when parallelUploads is enabled")))})),this.options.fingerprint(t,this.options).then((function(n){return null==n?(0,s.c)("No fingerprint was calculated meaning that the upload cannot be stored in the URL storage."):(0,s.c)("Calculated fingerprint: ".concat(n)),e._fingerprint=n,e._source?e._source:e.options.fileReader.openFile(t,e.options.chunkSize)})).then((function(t){e._source=t,e.options.parallelUploads>1||null!=e._parallelUploadUrls?e._startParallelUpload():e._startSingleUpload()})).catch((function(t){e._emitError(t)}))):this._emitError(new Error("tus: the `retryDelays` option must either be an array or null"))}else this._emitError(new Error("tus: neither an endpoint or an upload URL is provided"));else this._emitError(new Error("tus: no file or stream to upload provided"))}},{key:"_startParallelUpload",value:function(){var t=this,n=this._size=this._source.size,r=0;this._parallelUploads=[];var a=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,o=function(e,t,n){for(var r=Math.floor(e/t),a=[],o=0;o<t;o++)a.push({start:r*o,end:r*(o+1)});return a[t-1].end=e,n&&a.forEach((function(e,t){e.uploadUrl=n[t]||null})),a}(this._source.size,a,this._parallelUploadUrls);this._parallelUploadUrls=new Array(o.length);var i,l=o.map((function(a,i){var s=0;return t._source.slice(a.start,a.end).then((function(l){var c=l.value;return new Promise((function(l,p){var d=u({},t.options,{uploadUrl:a.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,metadata:{},headers:u({},t.options.headers,{"Upload-Concat":"partial"}),onSuccess:l,onError:p,onProgress:function(e){r=r-s+e,s=e,t._emitProgress(r,n)},_onUploadUrlAvailable:function(){t._parallelUploadUrls[i]=m.url,t._parallelUploadUrls.filter((function(e){return!!e})).length===o.length&&t._saveUploadInUrlStorage()}}),m=new e(c,d);m.start(),t._parallelUploads.push(m)}))}))}));Promise.all(l).then((function(){(i=t._openRequest("POST",t.options.endpoint)).setHeader("Upload-Concat","final;".concat(t._parallelUploadUrls.join(" ")));var e=f(t.options.metadata);return""!==e&&i.setHeader("Upload-Metadata",e),t._sendRequest(i,null)})).then((function(e){if(g(e.getStatus(),200)){var n=e.getHeader("Location");null!=n?(t.url=y(t.options.endpoint,n),(0,s.c)("Created upload at ".concat(t.url)),t._emitSuccess()):t._emitHttpError(i,e,"tus: invalid or missing Location header")}else t._emitHttpError(i,e,"tus: unexpected response while creating upload")})).catch((function(e){t._emitError(e)}))}},{key:"_startSingleUpload",value:function(){if(this.options.uploadLengthDeferred)this._size=null;else if(null!=this.options.uploadSize){if(this._size=+this.options.uploadSize,isNaN(this._size))return void this._emitError(new Error("tus: cannot convert `uploadSize` option into a number"))}else if(this._size=this._source.size,null==this._size)return void this._emitError(new Error("tus: cannot automatically derive upload's size from input and must be specified manually using the `uploadSize` option"));return this._aborted=!1,null!=this.url?((0,s.c)("Resuming upload from previous URL: ".concat(this.url)),void this._resumeUpload()):null!=this.options.uploadUrl?((0,s.c)("Resuming upload from provided URL: ".concat(this.options.url)),this.url=this.options.uploadUrl,void this._resumeUpload()):((0,s.c)("Creating a new upload"),void this._createUpload())}},{key:"abort",value:function(t){var n=this;if(arguments.length>1&&"function"==typeof arguments[1])throw new Error("tus: the abort function does not accept a callback since v2 anymore; please use the returned Promise instead");return null!=this._parallelUploads&&this._parallelUploads.forEach((function(e){e.abort(t)})),null!==this._req&&(this._req.abort(),this._source.close()),this._aborted=!0,null!=this._retryTimeout&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),t&&null!=this.url?e.terminate(this.url,this.options).then((function(){return n._removeFromUrlStorage()})):Promise.resolve()}},{key:"_emitHttpError",value:function(e,t,n,r){this._emitError(new i.Z(n,r,e,t))}},{key:"_emitError",value:function(e){var t=this;if(!this._aborted){if(null!=this.options.retryDelays&&(null!=this._offset&&this._offset>this._offsetBeforeRetry&&(this._retryAttempt=0),k(e,this._retryAttempt,this.options))){var n=this.options.retryDelays[this._retryAttempt++];return this._offsetBeforeRetry=this._offset,void(this._retryTimeout=setTimeout((function(){t.start()}),n))}if("function"!=typeof this.options.onError)throw e;this.options.onError(e)}}},{key:"_emitSuccess",value:function(){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),"function"==typeof this.options.onSuccess&&this.options.onSuccess()}},{key:"_emitProgress",value:function(e,t){"function"==typeof this.options.onProgress&&this.options.onProgress(e,t)}},{key:"_emitChunkComplete",value:function(e,t,n){"function"==typeof this.options.onChunkComplete&&this.options.onChunkComplete(e,t,n)}},{key:"_createUpload",value:function(){var e=this;if(this.options.endpoint){var t=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?t.setHeader("Upload-Defer-Length",1):t.setHeader("Upload-Length",this._size);var n,r=f(this.options.metadata);""!==r&&t.setHeader("Upload-Metadata",r),this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,n=this._addChunkToRequest(t)):n=this._sendRequest(t,null),n.then((function(n){if(g(n.getStatus(),200)){var r=n.getHeader("Location");if(null!=r){if(e.url=y(e.options.endpoint,r),(0,s.c)("Created upload at ".concat(e.url)),"function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),0===e._size)return e._emitSuccess(),void e._source.close();e._saveUploadInUrlStorage(),e.options.uploadDataDuringCreation?e._handleUploadResponse(t,n):(e._offset=0,e._performUpload())}else e._emitHttpError(t,n,"tus: invalid or missing Location header")}else e._emitHttpError(t,n,"tus: unexpected response while creating upload")})).catch((function(n){e._emitHttpError(t,null,"tus: failed to create upload",n)}))}else this._emitError(new Error("tus: unable to create upload because no endpoint is provided"))}},{key:"_resumeUpload",value:function(){var e=this,t=this._openRequest("HEAD",this.url);this._sendRequest(t,null).then((function(n){var r=n.getStatus();if(!g(r,200))return g(r,400)&&e._removeFromUrlStorage(),423===r?void e._emitHttpError(t,n,"tus: upload is currently locked; retry later"):e.options.endpoint?(e.url=null,void e._createUpload()):void e._emitHttpError(t,n,"tus: unable to resume upload (new upload cannot be created without an endpoint)");var a=parseInt(n.getHeader("Upload-Offset"),10);if(isNaN(a))e._emitHttpError(t,n,"tus: invalid or missing offset value");else{var o=parseInt(n.getHeader("Upload-Length"),10);if(!isNaN(o)||e.options.uploadLengthDeferred){if("function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),a===o)return e._emitProgress(o,o),void e._emitSuccess();e._offset=a,e._performUpload()}else e._emitHttpError(t,n,"tus: invalid or missing length value")}})).catch((function(n){e._emitHttpError(t,null,"tus: failed to resume upload",n)}))}},{key:"_performUpload",value:function(){var e,t=this;this._aborted||(this.options.overridePatchMethod?(e=this._openRequest("POST",this.url)).setHeader("X-HTTP-Method-Override","PATCH"):e=this._openRequest("PATCH",this.url),e.setHeader("Upload-Offset",this._offset),this._addChunkToRequest(e).then((function(n){g(n.getStatus(),200)?t._handleUploadResponse(e,n):t._emitHttpError(e,n,"tus: unexpected response while uploading chunk")})).catch((function(n){t._aborted||t._emitHttpError(e,null,"tus: failed to upload chunk at offset ".concat(t._offset),n)})))}},{key:"_addChunkToRequest",value:function(e){var t=this,n=this._offset,r=this._offset+this.options.chunkSize;return e.setProgressHandler((function(e){t._emitProgress(n+e,t._size)})),e.setHeader("Content-Type","application/offset+octet-stream"),(r===1/0||r>this._size)&&!this.options.uploadLengthDeferred&&(r=this._size),this._source.slice(n,r).then((function(n){var r=n.value,a=n.done;return t.options.uploadLengthDeferred&&a&&(t._size=t._offset+(r&&r.size?r.size:0),e.setHeader("Upload-Length",t._size)),null===r?t._sendRequest(e):(t._emitProgress(t._offset,t._size),t._sendRequest(e,r))}))}},{key:"_handleUploadResponse",value:function(e,t){var n=parseInt(t.getHeader("Upload-Offset"),10);if(isNaN(n))this._emitHttpError(e,t,"tus: invalid or missing offset value");else{if(this._emitProgress(n,this._size),this._emitChunkComplete(n-this._offset,n,this._size),this._offset=n,n==this._size)return this._emitSuccess(),void this._source.close();this._performUpload()}}},{key:"_openRequest",value:function(e,t){var n=b(e,t,this.options);return this._req=n,n}},{key:"_removeFromUrlStorage",value:function(){var e=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch((function(t){e._emitError(t)})),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var e=this;if(this.options.storeFingerprintForResuming&&this._fingerprint){var t={size:this._size,metadata:this.options.metadata,creationTime:(new Date).toString()};this._parallelUploads?t.parallelUploadUrls=this._parallelUploadUrls:t.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,t).then((function(t){return e._urlStorageKey=t})).catch((function(t){e._emitError(t)}))}}},{key:"_sendRequest",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return v(e,t,this.options)}}],r=[{key:"terminate",value:function(t,n){if(arguments.length>1&&"function"==typeof arguments[arguments.length-1])throw new Error("tus: the terminate function does not accept a callback since v2 anymore; please use the returned Promise instead");void 0===n&&(n={});var r=b("DELETE",t,n);return v(r,null,n).then((function(e){if(204!==e.getStatus())throw new i.Z("tus: unexpected response while terminating upload",null,r,e)})).catch((function(a){if(a instanceof i.Z||(a=new i.Z("tus: failed to terminate upload",a,r,null)),!k(a,0,n))throw a;var o=n.retryDelays[0],s=n.retryDelays.slice(1),l=u({},n,{retryDelays:s});return new Promise((function(e){return setTimeout(e,o)})).then((function(){return e.terminate(t,l)}))}))}}],n&&d(t.prototype,n),r&&d(t,r),e}();function f(e){var t=[];for(var n in e)t.push("".concat(n," ").concat(r.Base64.encode(e[n])));return t.join(",")}function g(e,t){return e>=t&&e<t+100}function b(e,t,n){var r=n.httpStack.createRequest(e,t);r.setHeader("Tus-Resumable","1.0.0");var a=n.headers||{};for(var o in a)r.setHeader(o,a[o]);if(n.addRequestId){var i=(0,l.Z)();r.setHeader("X-Request-ID",i)}return r}function v(e,t,n){return("function"==typeof n.onBeforeRequest?Promise.resolve(n.onBeforeRequest(e)):Promise.resolve()).then((function(){return e.send(t).then((function(t){return("function"==typeof n.onAfterResponse?Promise.resolve(n.onAfterResponse(e,t)):Promise.resolve()).then((function(){return t}))}))}))}function k(e,t,n){if(null==n.retryDelays||t>=n.retryDelays.length||null==e.originalRequest)return!1;if(n&&"function"==typeof n.onShouldRetry)return n.onShouldRetry(e,t,n);var r,a=e.originalResponse?e.originalResponse.getStatus():0;return(!g(a,400)||409===a||423===a)&&(r=!0,"undefined"!=typeof window&&"navigator"in window&&!1===window.navigator.onLine&&(r=!1),r)}function y(e,t){return new(o())(t,e).toString()}h.defaultOptions=m,t.Z=h},98184:function(e,t,n){"use strict";function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}n.d(t,{Z:function(){return r}})},19590:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},20994:function(e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},95162:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},59939:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},84353:function(e,t,n){"use strict";t.Any=n(44957),t.Cc=n(19590),t.Cf=n(20994),t.P=n(95162),t.Z=n(59939)},44957:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},41294:function(e,t,n){"use strict";var r=n(82298),a=n(40142),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function p(e){return(e||"").toString().replace(o,"")}var d=[["#","hash"],["?","query"],function(e,t){return f(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],m={hash:1,query:1};function h(e){var t,n=("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).location||{},r={},a=typeof(e=e||n);if("blob:"===e.protocol)r=new b(unescape(e.pathname),{});else if("string"===a)for(t in r=new b(e,{}),m)delete r[t];else if("object"===a){for(t in e)t in m||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=s.test(e.href))}return r}function f(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=p(e)).replace(i,""),t=t||{};var n,r=c.exec(e),a=r[1]?r[1].toLowerCase():"",o=!!r[2],s=!!r[3],l=0;return o?s?(n=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(n=r[2]+r[4],l=r[2].length):s?(n=r[3]+r[4],l=r[3].length):n=r[4],"file:"===a?l>=2&&(n=n.slice(2)):f(a)?n=r[4]:a?o&&(n=n.slice(2)):l>=2&&f(t.protocol)&&(n=r[4]),{protocol:a,slashes:o||f(a),slashesCount:l,rest:n}}function b(e,t,n){if(e=(e=p(e)).replace(i,""),!(this instanceof b))return new b(e,t,n);var o,s,l,c,m,v,k=d.slice(),y=typeof t,E=this,w=0;for("object"!==y&&"string"!==y&&(n=t,t=null),n&&"function"!=typeof n&&(n=a.parse),o=!(s=g(e||"",t=h(t))).protocol&&!s.slashes,E.slashes=s.slashes||o&&t.slashes,E.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||u.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!f(E.protocol)))&&(k[3]=[/(.*)/,"pathname"]);w<k.length;w++)"function"!=typeof(c=k[w])?(l=c[0],v=c[1],l!=l?E[v]=e:"string"==typeof l?~(m="@"===l?e.lastIndexOf(l):e.indexOf(l))&&("number"==typeof c[2]?(E[v]=e.slice(0,m),e=e.slice(m+c[2])):(E[v]=e.slice(m),e=e.slice(0,m))):(m=l.exec(e))&&(E[v]=m[1],e=e.slice(0,m.index)),E[v]=E[v]||o&&c[3]&&t[v]||"",c[4]&&(E[v]=E[v].toLowerCase())):e=c(e,E);n&&(E.query=n(E.query)),o&&t.slashes&&"/"!==E.pathname.charAt(0)&&(""!==E.pathname||""!==t.pathname)&&(E.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,a=n[r-1],o=!1,i=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),i++):i&&(0===r&&(o=!0),n.splice(r,1),i--);return o&&n.unshift(""),"."!==a&&".."!==a||n.push(""),n.join("/")}(E.pathname,t.pathname)),"/"!==E.pathname.charAt(0)&&f(E.protocol)&&(E.pathname="/"+E.pathname),r(E.port,E.protocol)||(E.host=E.hostname,E.port=""),E.username=E.password="",E.auth&&(~(m=E.auth.indexOf(":"))?(E.username=E.auth.slice(0,m),E.username=encodeURIComponent(decodeURIComponent(E.username)),E.password=E.auth.slice(m+1),E.password=encodeURIComponent(decodeURIComponent(E.password))):E.username=encodeURIComponent(decodeURIComponent(E.auth)),E.auth=E.password?E.username+":"+E.password:E.username),E.origin="file:"!==E.protocol&&f(E.protocol)&&E.host?E.protocol+"//"+E.host:"null",E.href=E.toString()}b.prototype={set:function(e,t,n){var o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||a.parse)(t)),o[e]=t;break;case"port":o[e]=t,r(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,l.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!n;break;case"pathname":case"hash":if(t){var i="pathname"===e?"/":"#";o[e]=t.charAt(0)!==i?i+t:t}else o[e]=t;break;case"username":case"password":o[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(o.username=t.slice(0,s),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(s+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var c=0;c<d.length;c++){var u=d[c];u[4]&&(o[u[1]]=o[u[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&f(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=a.stringify);var t,n=this,r=n.host,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var i=o+(n.protocol&&n.slashes||f(n.protocol)?"//":"");return n.username?(i+=n.username,n.password&&(i+=":"+n.password),i+="@"):n.password?(i+=":"+n.password,i+="@"):"file:"!==n.protocol&&f(n.protocol)&&!r&&"/"!==n.pathname&&(i+="@"),(":"===r[r.length-1]||l.test(n.hostname)&&!n.port)&&(r+=":"),i+=r+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},b.extractProtocol=g,b.location=h,b.trimLeft=p,b.qs=a,e.exports=b},76389:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},17811:function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,a=arguments.length;n<a;n++)t.push(arguments[n]);return t}function a(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,a=this.head;null!==a;)n.push(e.call(t,a.value,this)),a=a.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,a=this.tail;null!==a;)n.push(e.call(t,a.value,this)),a=a.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var a=0;null!==r;a++)n=e(n,r.value,a),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var a=this.length-1;null!==r;a--)n=e(n,r.value,a),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=0,o=this.head;null!==o&&a<e;a++)o=o.next;for(;null!==o&&a<t;a++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=this.length,o=this.tail;null!==o&&a>t;a--)o=o.prev;for(;null!==o&&a>e;a--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var i=[];for(r=0;o&&r<t;r++)i.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=a(this,o,n[r]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(76389)(r)}catch(e){}},8964:function(e,t,n){"use strict";e.exports=n.p+"images/eventbrite-in-page-example-c351ec80e4dd5d39433d.png"},90767:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-after-d6db862c442c24ad1c63.png"},58632:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-before-4592b4656108c1429614.png"},96406:function(e,t,n){"use strict";e.exports=n.p+"images/map-preview-97bda80ebb6981457630.jpg"},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},23879:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-2x-62cd99bcc3acbd1ff504.png"},22323:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-a51d6c3207b0a904edb7.png"},60206:function(e,t,n){"use strict";e.exports=n.p+"images/simple-payments_example-1-0273eeccd8d120df4984.jpg"},65784:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-1-07a3f164621235df0419.jpg"},6425:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-2-2ee401e47066229bdac5.jpg"},85983:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-3-0682afca66c485f17ff6.jpg"},37447:function(e,t,n){"use strict";e.exports=n.p+"images/upgrade-illustration-5b3059f7101ac37f4339.svg"},15915:function(e,t,n){"use strict";e.exports=n.p+"images/story_example-1-716db2e4f5a074d302f7.png"},96606:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-1-d2817eb0e669267ab3eb.jpg"},85472:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-2-7d8f0cf8e262f0112691.jpg"},79009:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-3-07a3f164621235df0419.jpg"},10742:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-4-2ee401e47066229bdac5.jpg"},52642:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-5-a1935fd9cf1181168d90.jpg"},41145:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-6-9f9d39c6af0fb4b0d99c.jpg"},41194:function(e,t,n){"use strict";e.exports=n.p+"images/videopress-block-example-image-da9ef73787adca8896f2.jpg"},80405:function(e,t,n){"use strict";e.exports=n.p+"images/example_160x600-ccbc594f54431dafa70d.png"},72473:function(e,t,n){"use strict";e.exports=n.p+"images/example_300x250-5b93e8174f02d48c40b7.png"},38511:function(e,t,n){"use strict";e.exports=n.p+"images/example_320x50-7110edf045141630a222.png"},52203:function(e,t,n){"use strict";e.exports=n.p+"images/example_728x90-d9de384932330b92e1c3.png"},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},76292:function(e){"use strict";e.exports=window.moment},25158:function(e){"use strict";e.exports=window.wp.a11y},42998:function(e){"use strict";e.exports=window.wp.annotations},86989:function(e){"use strict";e.exports=window.wp.apiFetch},11313:function(e){"use strict";e.exports=window.wp.blob},52175:function(e){"use strict";e.exports=window.wp.blockEditor},4981:function(e){"use strict";e.exports=window.wp.blocks},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},37798:function(e){"use strict";e.exports=window.wp.coreData},9818:function(e){"use strict";e.exports=window.wp.data},69771:function(e){"use strict";e.exports=window.wp.date},47701:function(e){"use strict";e.exports=window.wp.domReady},72067:function(e){"use strict";e.exports=window.wp.editPost},12238:function(e){"use strict";e.exports=window.wp.editor},69307:function(e){"use strict";e.exports=window.wp.element},81975:function(e){"use strict";e.exports=window.wp.escapeHtml},92694:function(e){"use strict";e.exports=window.wp.hooks},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes},53961:function(e){"use strict";e.exports=window.wp.notices},98817:function(e){"use strict";e.exports=window.wp.plugins},70444:function(e){"use strict";e.exports=window.wp.primitives},72629:function(e){"use strict";e.exports=window.wp.richText},29512:function(e){"use strict";e.exports=window.wp.tokenList},96483:function(e){"use strict";e.exports=window.wp.url},90162:function(e){"use strict";e.exports=window.wp.viewport},6551:function(e){"use strict";e.exports=window.wp.widgets},42263:function(e,t,n){"use strict";n.d(t,{Ab:function(){return i},Fr:function(){return s},G$:function(){return o},K$:function(){return c},MS:function(){return r},h5:function(){return l},lK:function(){return u},uj:function(){return a}});var r="-ms-",a="-moz-",o="-webkit-",i="comm",s="rule",l="decl",c="@import",u="@keyframes"},17227:function(e,t,n){"use strict";n.d(t,{Ji:function(){return u},cD:function(){return c},qR:function(){return l}});var r=n(42263),a=n(52875),o=n(71253),i=n(70173),s=n(89430);function l(e){var t=(0,a.Ei)(e);return function(n,r,a,o){for(var i="",s=0;s<t;s++)i+=e[s](n,r,a,o)||"";return i}}function c(e){return function(t){t.root||(t=t.return)&&e(t)}}function u(e,t,n,l){if(e.length>-1&&!e.return)switch(e.type){case r.h5:e.return=(0,s.O)(e.value,e.length);break;case r.lK:return(0,i.q)([(0,o.JG)(e,{value:(0,a.gx)(e.value,"@","@"+r.G$)})],l);case r.Fr:if(e.length)return(0,a.$e)(e.props,(function(t){switch((0,a.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,i.q)([(0,o.JG)(e,{props:[(0,a.gx)(t,/:(read-\w+)/,":"+r.uj+"$1")]})],l);case"::placeholder":return(0,i.q)([(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+r.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+r.uj+"$1")]}),(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,r.MS+"input-$1")]})],l)}return""}))}}},24912:function(e,t,n){"use strict";n.d(t,{MY:function(){return i}});var r=n(42263),a=n(52875),o=n(71253);function i(e){return(0,o.cE)(s("",null,null,null,[""],e=(0,o.un)(e),0,[0],e))}function s(e,t,n,r,i,p,d,m,h){for(var f=0,g=0,b=d,v=0,k=0,y=0,E=1,w=1,_=1,C=0,S="",j=i,x=p,P=r,T=S;w;)switch(y=C,C=(0,o.lp)()){case 40:if(108!=y&&58==T.charCodeAt(b-1)){-1!=(0,a.Cw)(T+=(0,a.gx)((0,o.iF)(C),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:T+=(0,o.iF)(C);break;case 9:case 10:case 13:case 32:T+=(0,o.Qb)(y);break;case 92:T+=(0,o.kq)((0,o.Ud)()-1,7);continue;case 47:switch((0,o.fj)()){case 42:case 47:(0,a.R3)(c((0,o.q6)((0,o.lp)(),(0,o.Ud)()),t,n),h);break;default:T+="/"}break;case 123*E:m[f++]=(0,a.to)(T)*_;case 125*E:case 59:case 0:switch(C){case 0:case 125:w=0;case 59+g:k>0&&(0,a.to)(T)-b&&(0,a.R3)(k>32?u(T+";",r,n,b-1):u((0,a.gx)(T," ","")+";",r,n,b-2),h);break;case 59:T+=";";default:if((0,a.R3)(P=l(T,t,n,f,g,i,m,S,j=[],x=[],b),p),123===C)if(0===g)s(T,t,P,P,j,p,b,m,x);else switch(v){case 100:case 109:case 115:s(e,P,P,r&&(0,a.R3)(l(e,P,P,0,0,i,m,S,i,j=[],b),x),i,x,b,m,r?j:x);break;default:s(T,P,P,P,[""],x,0,m,x)}}f=g=k=0,E=_=1,S=T="",b=d;break;case 58:b=1+(0,a.to)(T),k=y;default:if(E<1)if(123==C)--E;else if(125==C&&0==E++&&125==(0,o.mp)())continue;switch(T+=(0,a.Dp)(C),C*E){case 38:_=g>0?1:(T+="\f",-1);break;case 44:m[f++]=((0,a.to)(T)-1)*_,_=1;break;case 64:45===(0,o.fj)()&&(T+=(0,o.iF)((0,o.lp)())),v=(0,o.fj)(),g=b=(0,a.to)(S=T+=(0,o.QU)((0,o.Ud)())),C++;break;case 45:45===y&&2==(0,a.to)(T)&&(E=0)}}return p}function l(e,t,n,i,s,l,c,u,p,d,m){for(var h=s-1,f=0===s?l:[""],g=(0,a.Ei)(f),b=0,v=0,k=0;b<i;++b)for(var y=0,E=(0,a.tb)(e,h+1,h=(0,a.Wn)(v=c[b])),w=e;y<g;++y)(w=(0,a.fy)(v>0?f[y]+" "+E:(0,a.gx)(E,/&\f/g,f[y])))&&(p[k++]=w);return(0,o.dH)(e,t,n,0===s?r.Fr:u,p,d,m)}function c(e,t,n){return(0,o.dH)(e,t,n,r.Ab,(0,a.Dp)((0,o.Tb)()),(0,a.tb)(e,2,-2),0)}function u(e,t,n,i){return(0,o.dH)(e,t,n,r.h5,(0,a.tb)(e,0,i),(0,a.tb)(e,i+1,-1),i)}},89430:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var r=n(42263),a=n(52875);function o(e,t){switch((0,a.vp)(e,t)){case 5103:return r.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return r.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r.G$+e+r.uj+e+r.MS+e+e;case 6828:case 4268:return r.G$+e+r.MS+e+e;case 6165:return r.G$+e+r.MS+"flex-"+e+e;case 5187:return r.G$+e+(0,a.gx)(e,/(\w+).+(:[^]+)/,r.G$+"box-$1$2"+r.MS+"flex-$1$2")+e;case 5443:return r.G$+e+r.MS+"flex-item-"+(0,a.gx)(e,/flex-|-self/,"")+e;case 4675:return r.G$+e+r.MS+"flex-line-pack"+(0,a.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return r.G$+e+r.MS+(0,a.gx)(e,"shrink","negative")+e;case 5292:return r.G$+e+r.MS+(0,a.gx)(e,"basis","preferred-size")+e;case 6060:return r.G$+"box-"+(0,a.gx)(e,"-grow","")+r.G$+e+r.MS+(0,a.gx)(e,"grow","positive")+e;case 4554:return r.G$+(0,a.gx)(e,/([^-])(transform)/g,"$1"+r.G$+"$2")+e;case 6187:return(0,a.gx)((0,a.gx)((0,a.gx)(e,/(zoom-|grab)/,r.G$+"$1"),/(image-set)/,r.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,a.gx)(e,/(image-set\([^]*)/,r.G$+"$1$`$1");case 4968:return(0,a.gx)((0,a.gx)(e,/(.+:)(flex-)?(.*)/,r.G$+"box-pack:$3"+r.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,a.gx)(e,/(.+)-inline(.+)/,r.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,a.to)(e)-1-t>6)switch((0,a.uO)(e,t+1)){case 109:if(45!==(0,a.uO)(e,t+4))break;case 102:return(0,a.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+r.G$+"$2-$3$1"+r.uj+(108==(0,a.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,a.Cw)(e,"stretch")?o((0,a.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,a.uO)(e,t+1))break;case 6444:switch((0,a.uO)(e,(0,a.to)(e)-3-(~(0,a.Cw)(e,"!important")&&10))){case 107:return(0,a.gx)(e,":",":"+r.G$)+e;case 101:return(0,a.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r.G$+(45===(0,a.uO)(e,14)?"inline-":"")+"box$3$1"+r.G$+"$2$3$1"+r.MS+"$2box$3")+e}break;case 5936:switch((0,a.uO)(e,t+11)){case 114:return r.G$+e+r.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r.G$+e+r.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r.G$+e+r.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r.G$+e+r.MS+e+e}return e}},70173:function(e,t,n){"use strict";n.d(t,{P:function(){return i},q:function(){return o}});var r=n(42263),a=n(52875);function o(e,t){for(var n="",r=(0,a.Ei)(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function i(e,t,n,i){switch(e.type){case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.lK:return e.return=e.value+"{"+o(e.children,i)+"}";case r.Fr:e.value=e.props.join(",")}return(0,a.to)(n=o(e.children,i))?e.return=e.value+"{"+n+"}":""}},71253:function(e,t,n){"use strict";n.d(t,{FK:function(){return s},JG:function(){return p},QU:function(){return j},Qb:function(){return w},Tb:function(){return d},Ud:function(){return g},cE:function(){return y},dH:function(){return u},fj:function(){return f},iF:function(){return E},kq:function(){return _},lp:function(){return h},mp:function(){return m},q6:function(){return S},r:function(){return v},tP:function(){return b},un:function(){return k}});var r=n(52875),a=1,o=1,i=0,s=0,l=0,c="";function u(e,t,n,r,i,s,l){return{value:e,root:t,parent:n,type:r,props:i,children:s,line:a,column:o,length:l,return:""}}function p(e,t){return(0,r.f0)(u("",null,null,"",null,null,0),e,{length:-e.length},t)}function d(){return l}function m(){return l=s>0?(0,r.uO)(c,--s):0,o--,10===l&&(o=1,a--),l}function h(){return l=s<i?(0,r.uO)(c,s++):0,o++,10===l&&(o=1,a++),l}function f(){return(0,r.uO)(c,s)}function g(){return s}function b(e,t){return(0,r.tb)(c,e,t)}function v(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function k(e){return a=o=1,i=(0,r.to)(c=e),s=0,[]}function y(e){return c="",e}function E(e){return(0,r.fy)(b(s-1,C(91===e?e+2:40===e?e+1:e)))}function w(e){for(;(l=f())&&l<33;)h();return v(e)>2||v(l)>3?"":" "}function _(e,t){for(;--t&&h()&&!(l<48||l>102||l>57&&l<65||l>70&&l<97););return b(e,g()+(t<6&&32==f()&&32==h()))}function C(e){for(;h();)switch(l){case e:return s;case 34:case 39:34!==e&&39!==e&&C(l);break;case 40:41===e&&C(e);break;case 92:h()}return s}function S(e,t){for(;h()&&e+l!==57&&(e+l!==84||47!==f()););return"/*"+b(t,s-1)+"*"+(0,r.Dp)(47===e?e:h())}function j(e){for(;!v(f());)h();return b(e,s)}},52875:function(e,t,n){"use strict";n.d(t,{$e:function(){return g},Cw:function(){return u},Dp:function(){return a},EQ:function(){return l},Ei:function(){return h},R3:function(){return f},Wn:function(){return r},f0:function(){return o},fy:function(){return s},gx:function(){return c},tb:function(){return d},to:function(){return m},uO:function(){return p},vp:function(){return i}});var r=Math.abs,a=String.fromCharCode,o=Object.assign;function i(e,t){return(((t<<2^p(e,0))<<2^p(e,1))<<2^p(e,2))<<2^p(e,3)}function s(e){return e.trim()}function l(e,t){return(e=t.exec(e))?e[0]:e}function c(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function m(e){return e.length}function h(e){return e.length}function f(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}},80550:function(e){"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')},84321:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},90059:function(e){"use strict";e.exports=JSON.parse('{"p":[{"slug":"participant-0","label":"Speaker 1"},{"slug":"participant-1","label":"Speaker 2"},{"slug":"participant-2","label":"Speaker 3"}]}')},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')},1949:function(e){"use strict";e.exports={Kc:["amazon"]}}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return i[e].call(n.exports,n,n.exports,l),n.exports}l.m=i,l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);l.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},l.d(a,o),a},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(t,n){return l.f[n](e,t),t}),[]))},l.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{302:"8477ea85482e6f10802f",390:"e97a60781e1543c44f3c"}[e]},l.miniCssF=function(e){return"swiper.css?minify=false&ver=eacdc1a03fc9a7e72e14"},function(){if(!l.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;l.miniCssF=(e=l.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",l.l=function(e,t,a,o){if(n[e])n[e].push(t);else{var i,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",r+a),i.src=e),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(m);var a=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((function(e){return e(r)})),t)return t(r)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.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(/\/[^\/]+$/,"/"),l.p=e}(),a=function(e){return new Promise((function(t,n){var r=l.miniCssF(e),a=l.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var a=(i=n[r]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(a===e||a===t))return i}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var i;if((a=(i=o[r]).getAttribute("data-href"))===e||a===t)return i}}(r,a))return t();!function(e,t,n,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(o){if(a.onerror=a.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode.removeChild(a),r(l)}},a.href=t,document.head.appendChild(a)}(e,a,t,n)}))},o={35:0,189:0,161:0,486:0},l.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=a(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={35:0,189:0,161:0,486:0};l.f.j=function(t,n){var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var a=new Promise((function(n,a){r=e[t]=[n,a]}));n.push(r[2]=a);var o=l.p+l.u(t),i=new Error;l.l(o,(function(n){if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,r[1](i)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,a,o=n[0],i=n[1],s=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(s)s(l)}for(t&&t(n);c<o.length;c++)a=o[c],l.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";l(80425),l(85921),l(63066),l(92713),l(54414),l(36215),l(31657),l(23984),l(14688),l(7652);var e=l(84069);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){const{userid:t,username:n}=window.Jetpack_Editor_Initial_State.tracksUserData;e.Z.initialize(t,n,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}}(),function(){"use strict";var e=l(31985),t=l(96405);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(77123);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(50785);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(6528);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(31985),t=l(64446);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(31985),t=l(29800);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(75334);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(92694),n=l(52175),r=l(55609),a=l(65736),o=l(13306);const __=a.__,i=t=>{if(t.isDeprecation)return t;if("core/embed"!==t.name)return t;const{edit:a}=t;return{...t,edit:(0,r.withNotices)((t=>{const{noticeOperations:i,noticeUI:s,onReplace:l}=t,{url:c}=t.attributes,{isGatheringStorm:u,unleashStorm:p}=(0,o.Z)({onReplace:l});return"twitter"!==t.attributes.providerNameSlug?(0,e.createElement)(a,t):(0,e.createElement)(e.Fragment,null,s,(0,e.createElement)(n.BlockControls,null,(0,e.createElement)(r.ToolbarGroup,{className:"gathering-tweetstorms__embed-toolbar"},(0,e.createElement)(r.ToolbarButton,{className:"gathering-tweetstorms__embed-toolbar-button",onClick:()=>p(c,i),label:__("Import the entire Twitter thread directly into this post.","jetpack"),showTooltip:!0,disabled:u||!c},__("Unroll","jetpack")),u&&(0,e.createElement)(r.ToolbarItem,{as:r.Spinner}))),(0,e.createElement)(a,t))}))}};(0,t.addFilter)("blocks.registerBlockType","jetpack/gathering-tweetstorms",i)}(),function(){"use strict";var e=l(31985),t=l(25073);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(13839);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(94039);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(78544);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(13419),t=l(64007);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(4495);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(85406);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(80723);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(69309);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(29719);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(66094);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(74989);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(71259);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(90362);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(56367);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(92882);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(30314);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(12012);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(17458),n=l(71290);(0,e.Z)(t.u2,t.Xd,[{name:n.u2,settings:n.Xd}])}(),function(){"use strict";var e=l(13419),t=l(8606);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(13419),t=l(3378);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(13419),t=l(44487);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(61390);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(19775);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e,t=l(69307),n=l(98817),r=l(13419),a=l(32078);(0,r.o_)(a.u2,a.Xd);!(null===(e=(0,r.OZ)("social-previews"))||void 0===e?void 0:e.available)&&(0,r.Wp)()&&(0,n.registerPlugin)(`jetpack-${a.u2}-upgrade-nudge`,{render:()=>(0,t.createElement)(a.w6,{showUpgradeNudge:!0})})}(),function(){"use strict";var e=l(31985),t=l(93688);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(31985),n=l(30217);(0,t.Z)(n.u2,n.Xd),(0,e.o_)(n.u2,n.eC)}(),function(){"use strict";var e=l(31985),t=l(99602);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(82402),t=l.n(e),n=l(69307),r=l(55609),a=l(11313),o=l(4981),i=l(12238),s=l(52175),c=l(92694),u=l(94333),p=l(65736),d=l(13419),m=l(92819),h=l(30053),f=l(23096),g=l(10723),b=l(29899),v=l(97504),k=l(34284),y=l(58351),E=l(41194);const __=p.__,w=(0,u.createHigherOrderComponent)((e=>a=>{const{name:o}=(0,s.useBlockEditContext)();return"core/video"!==o?(0,n.createElement)(e,a):(0,n.createElement)(e,t()({},a,{disableDropZone:!0,className:"no-videopress-media-placeholder"}),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",variant:"secondary"},__("Media Library","jetpack")),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",variant:"secondary"},__("Upload","jetpack")))}),"videoPressNoPlanMediaPlaceholder"),_=(0,u.createHigherOrderComponent)((e=>r=>{const{name:a}=(0,s.useBlockEditContext)();if("core/video"!==a)return(0,n.createElement)(e,r);const{onFilesSelected:o,onMediaItemSelected:i}=(0,n.useContext)(g.H),l={...r,handleUpload:!1,disableDropZone:!0,onSelect:e=>{e instanceof FileList?o(e):i(e)}};return(0,n.createElement)(e,t()({},l,{className:"videopress-media-placeholder"}))}),"videoPressMediaPlaceholder"),C=(e,t,n)=>{var r;return"core/video"!==t.name||!n.guid||(null===(r=n.className)||void 0===r?void 0:r.indexOf("wp-block-video"))>=0||n.videoPressClassNames||(e.className=e.className.replace("wp-block-video","").trim()),e};(0,c.addFilter)("blocks.registerBlockType","jetpack/videopress",((e,t)=>{if("core/embed"===t)return(e=>{if(!("variations"in e)||"object"!=typeof e.variations)return;const{available:t}=(0,d.OZ)("videopress");e.variations.some((e=>"videopress"===e.name&&(t&&(e.scope=[]),e.patterns.push(/^https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?$/i),!0)))})(e),e;if("core/video"!==t||e.isDeprecation)return e;const{deprecated:n,edit:r,save:s,supports:l,transforms:u}=e,{available:p,unavailableReason:g}=(0,d.OZ)("videopress"),S=((0,d.Wp)()||(0,d.Ug)())&&["missing_plan","unknown"].includes(g),j=!!window.videoPressResumableEnabled;if(S?((0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",w),(0,c.addFilter)("editor.BlockListBlock","jetpack/videopress-with-has-warning-is-interactive-class-names",(0,d.T)("core/video"))):p&&(j&&(0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",_),e.description=__("Embed a video from your media library or upload a new one with VideoPress.","jetpack"),e.example.attributes={caption:"",isVideoPressExample:!0,src:E}),(0,c.addFilter)("blocks.getSaveContent.extraProps","jetpack/videopress",C,20),p||["missing_plan","missing_module","unknown"].includes(g)){const t={autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},useAverageColor:{type:"boolean",default:!0},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"},fileForImmediateUpload:{type:"object",default:null}},c=/https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?/i;return{...e,attributes:t,transforms:{...u,from:[{type:"files",isMatch:e=>(0,m.every)(e,(e=>0===e.type.indexOf("video/"))),priority:9,transform:(e,t)=>{const n=[];return e.forEach((e=>{if(p&&j){const t=(0,o.createBlock)("core/video",{fileForImmediateUpload:e});n.push(t)}else{const r=(0,o.createBlock)("core/video",{src:(0,a.createBlobURL)(e)});(0,i.mediaUpload)({filesList:[e],onFileChange:e=>{let[{id:n,url:a}]=e;t(r.clientId,{id:n,src:a})},allowedTypes:["video"]}),n.push(r)}})),n}},{type:"raw",isMatch:e=>"P"===e.nodeName&&c.test(e.innerHTML),transform:e=>{const t=c.exec(e.innerHTML);return(0,o.createBlock)("core/embed",{url:"https://videopress.com/v/"+t[1].trim()})}}]},supports:{...l,reusable:!1},edit:(0,h.Z)(r),save:(0,f.Z)(s),deprecated:[...n||[],y.Z,k.Z,{attributes:t,isEligible:e=>!e.guid,save:s,supports:l,isDeprecation:!0},v.Z,b.Z]}}return e}),5)}(),function(){"use strict";var e=l(31985),t=l(57795);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(68007);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(30730);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(69307),t=l(92819),n=l(99196),r=l(9818),a=l(72067),o=l(61074),i=l(15381),s=l(65736),c=l(98817),u=l(55609),p=(l(53961),l(46185)),d=l(26881),m=l(84069);const __=s.__;async function h(e){var t;await(0,p.U)();const{insertBlocks:n}=(0,r.dispatch)("core/block-editor");let a;switch(e.tpl){case"spotifyBadge":a=(0,d.F)(e);break;case"basicEpisode":a=(0,d.J)(e)}null!==(t=a)&&void 0!==t&&t.length&&n(a,0,void 0,!1)}const f=()=>{(0,n.useEffect)((()=>{m.Z.tracks.recordEvent("jetpack_editor_block_anchor_fm_post_publish_impression")}),[]);const t=(0,n.useCallback)((()=>m.Z.tracks.recordEvent("jetpack_editor_block_anchor_fm_post_publish_click")),[]);return(0,e.createElement)(a.PluginPostPublishPanel,{className:"anchor-post-publish-outbound-link"},(0,e.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},(0,e.createElement)("strong",null,__("Convert to audio","jetpack"))),(0,e.createElement)("p",null,__("Seamlessly turn this post into a podcast episode with Anchor - and let readers listen to your post.","jetpack")),(0,e.createElement)("div",{role:"link",className:"post-publish-panel__postpublish-buttons",tabIndex:0,onClick:t,onKeyDown:t},(0,e.createElement)(u.Button,{variant:"primary",href:"https://anchor.fm/wordpressdotcom",target:"_top"},__("Create a podcast episode","jetpack")," ",(0,e.createElement)(o.Z,{icon:i.Z,className:"anchor-post-publish-outbound-link__external_icon"}))))};!function(){const e=window.Jetpack_AnchorFm;"object"==typeof e&&e.actions.forEach((e=>{const[n,a]=(0,t.castArray)(e);switch(n){case"insert-spotify-badge":h({...a,tpl:"spotifyBadge"});break;case"insert-episode-template":h({...a,tpl:"basicEpisode"});break;case"show-post-publish-outbound-link":(0,c.registerPlugin)("anchor-post-publish-outbound-link",{render:f});break;case"set-episode-title":!async function(e){let{title:t}=e;t&&(await(0,p.U)(),(0,r.dispatch)("core/editor").editPost({title:t}))}(a);break;case"create-episode-error-notice":o=a,(0,r.dispatch)("core/notices").createNotice("error",__("We couldn't find that episode in your feed. If you just published the episode, please try creating the post again in a few minutes.","jetpack"),{id:"episode-error-notice",actions:[{onClick(){window.location.href=o.retry_url},onKeyDown(){window.location.href=o.retry_url},label:__("Retry","jetpack")}]})}var o}))}()}(),function(){"use strict";var e=l(13419),t=l(98817),n=l(31985),r=l(50851),a=l(9160),o=l(52149),i=l(737),s=l(88430),c=l(83196);((0,e.Wp)()||(0,e.Ug)())&&(0,n.Z)(r.u,r.X,[{name:a.u,settings:a.X},{name:o.u,settings:o.X},{name:i.u,settings:i.X},{name:s.u,settings:s.X}],false),(0,t.registerPlugin)("block-settings-remove-block-keep-content",{render:c.Z})}(),function(){"use strict";var e=l(31985),t=l(24881);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(13010);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(43090);(0,e.Z)(t.u2,t.Xd)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-beta.js.LICENSE.txt b/plugins/jetpack/_inc/blocks/editor-beta.js.LICENSE.txt
index f4234c69..8eb93824 100644
--- a/plugins/jetpack/_inc/blocks/editor-beta.js.LICENSE.txt
+++ b/plugins/jetpack/_inc/blocks/editor-beta.js.LICENSE.txt
@@ -18,10 +18,22 @@ object-assign
http://jedwatson.github.io/classnames
*/
-/*! https://mths.be/punycode v1.3.2 by @mathias */
+/*!
+ 2021 Jason Mulligan <jason.mulligan@avoidwork.com>
+ @version 8.0.6
+*/
+
+/** @license React v16.13.1
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
-/** @license React vundefined
- * use-subscription.production.min.js
+/** @license React v17.0.2
+ * react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
diff --git a/plugins/jetpack/_inc/blocks/editor-beta.rtl.css b/plugins/jetpack/_inc/blocks/editor-beta.rtl.css
index 41ea37c2..49cdbbe1 100644
--- a/plugins/jetpack/_inc/blocks/editor-beta.rtl.css
+++ b/plugins/jetpack/_inc/blocks/editor-beta.rtl.css
@@ -1 +1 @@
-.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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);-o-object-fit:contain;object-fit:contain;position:absolute;right:8px;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;position:absolute;right:0;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:right;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 transparent}.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;padding:20px 0;position:fixed;position:sticky;right:0;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-left:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-left: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-right:1px solid #ccc;margin-right:16px;padding-right: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-left: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 0 9px 1px}@media only screen and (min-width:783px){.jetpack-external-media-header__account .jetpack-external-media-browser__disconnect{height:30px}}.jetpack-external-media-header__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-left:12px}.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.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;left:0;margin-top:-48px;padding:0;position:absolute;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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-left:8px}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-left: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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.paid-block-media-placeholder{width:100%}.wp-block-cover .paid-block-media-placeholder:not(:only-child){bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-left: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-left: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-left:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-left:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-left:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-left:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-left:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right;margin:3px 0 0 5px}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:right;margin:0 0 0 5px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-left:16px;padding:6px}.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-right: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 transparent;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:right}.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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-left:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;margin:0;padding:0;position:absolute;right:0;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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;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-left: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:right}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{right: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-left:12px}.components-placeholder.is-large .image-compare__image-after{padding-right: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-right:-20px;position:absolute;width:40px;z-index:15}.vertical div.jx-handle{cursor:row-resize;height:40px;margin-right: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 -3px auto auto;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:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}div.jx-arrow.jx-right{border-color:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;right:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;border-style:solid;border-width:8px 8px 0;bottom:2px;left:0;top:auto}div.jx-handle:active div.jx-arrow.jx-left,div.jx-handle:hover div.jx-arrow.jx-left{right:-1px}div.jx-handle:active div.jx-arrow.jx-right,div.jx-handle:hover div.jx-arrow.jx-right{left:-1px}.vertical div.jx-handle:active div.jx-arrow.jx-left,.vertical div.jx-handle:hover div.jx-arrow.jx-left{right: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;left:0}div.jx-image{display:inline-block;height:100%;overflow:hidden;position:absolute;top:0}.vertical div.jx-image{right: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:100%;right:0}div.jx-image.jx-left img{right:0}div.jx-image.jx-right{background-position:0;left:0}div.jx-image.jx-right img{bottom:0;left: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:rgba(0,0,0,.7);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:right;right:0}div.jx-image.jx-right div.jx-label{float:left;left:0}.vertical div.jx-image div.jx-label{display:table;position:absolute}.vertical div.jx-image.jx-right div.jx-label{bottom:0;right:0;top:auto}div.jx-image.transition{transition:width .5s ease}div.jx-handle.transition{transition:right .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-right:-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=);right:0}div.jx-arrow.jx-right{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEwLjYgNiA5LjQgN2w0LjYgNS00LjYgNSAxLjIgMSA1LjQtNnoiLz48L3N2Zz4=);left: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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-left: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{height:20px;width:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left: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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button: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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#2fb41f!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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.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-left: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}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;margin-right:-16px;margin-top:-19px;position:absolute;right:50%;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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:left;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-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.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 9px 5px 10px}.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-right:4px solid #000;margin-left:0;margin-right:0;padding-right: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-right:1.3em;padding-right: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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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 4px 0 0;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 0 .25em 1em}@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:0;padding-right:1em}.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:right}.wp-block>.wp-block-jetpack-opentable.is-style-wide.alignright{left:0;right:auto}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:right}.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:transparent;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{left:auto;margin-right:2rem;max-width:840px}.wp-block-jetpack-opentable.is-style-wide.alignright{max-width:840px;right:calc(100% - 840px - 2rem)}.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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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:18px;padding-right:15px}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-left: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:10px 22px 10px 24px;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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-right: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-right:59px}.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 0 0 2px;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-right: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}.jetpack-publicize__connections-list{list-style-type:none;margin:0;width:100%}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.publicize-jetpack-connection-container{display:flex}.publicize-jetpack-connection-container .components-disabled{width:100%}.jetpack-publicize-gutenberg-social-icon{margin-left:5px}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-bottom:13px;margin-left:0;margin-right:0}.jetpack-publicize-notice .components-button{height:auto;line-height:normal;padding-bottom:6px;padding-top:6px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.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-left: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-disabled .jetpack-publicize-toggle,.jetpack-publicize-disabled .jetpack-publicize__connections-list{opacity:.5}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 8px 0 0}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-right:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-right:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);position:absolute;right:-10px;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.jetpack-publicize-connection-label{align-items:center;display:flex}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-right:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled,.components-disabled .components-connection-toggle{opacity:.5}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.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 8px 0 24px}.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-left: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-left: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-left:10px solid transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{position:absolute;right:calc(50% - 12px);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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.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-left:.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:var(--muriel-hot-red-500);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-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right: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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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 56px 8px 16px;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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right:10px;width:105px}.jetpack-whatsapp-button__phonenumber .components-placeholder__label svg{margin-left:6px}.jetpack-whatsapp-error{display:inline-flex;margin-bottom:10px}.jetpack-whatsapp-error span,.jetpack-whatsapp-error svg{fill:red;color:red;vertical-align:middle}.jetpack-whatsapp-error svg{margin:-3px 0 0 5px}.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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-right:5px}.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-right: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;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;right:50%;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-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@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-right:1em}}.wp-block-jetpack-simple-payments{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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-left: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;left:0;padding:0 4px;pointer-events:none;position:absolute;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{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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left:auto;padding-top:0;position:relative}.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-jetpack-slideshow_slide .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-left:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-left:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-right:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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-right: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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:right;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 0 -4px 2px;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-left:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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-right: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:"✓";position:absolute;right:-20px}@media(min-width:600px){.jetpack-social-previews__modal-upgrade{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{grid-column:2;grid-row:1;max-width:100%;padding-left: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-right:0}}@media(min-width:782px){.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{padding:0 2em 2em}}.jetpack-gutenberg-social-icons{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-gutenberg-social-icon.jetpack-social-previews__icon{fill:currentColor;margin-left:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;position:absolute;right:3px;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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-left-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:rgba(0,0,0,.5);border-radius:5px;color:#fff;display:flex;left:0;margin:15px;padding:5px 3px;position:absolute;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-expand svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span,.wp-story-container .wp-story-overlay .wp-story-embed-icon 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:transparent}.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:hsla(0,0%,100%,.4)}.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{margin:auto;right:-84px}.wp-story-container .wp-story-next-slide{left:-84px;margin:auto}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-next-slide{left:-48px;margin:auto}.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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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 0 0 16px;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 0 0 12px;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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-right: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{right:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{left: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-right:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-left: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:100%;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:#0e1112e0;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-left: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:transparent;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:transparent;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}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;left:0;margin:0;position:absolute}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{right:0}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-right: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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:rgba(243,106,188,.3);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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);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%;pointer-events:none;position:absolute;right:0;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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{position:absolute;right:-2px;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{margin:0;position:absolute;right:50%;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}.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-left: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 12px 4px 0;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-left: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-right: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}[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}.anchor-post-publish-outbound-link .anchor-post-publish-outbound-link__external_icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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 -1px 0 0;padding:8px 14px;position:relative}.wp-block-premium-content-container--tab{align-items:center;background:transparent;border:none;display:flex;flex-direction:row;margin-left:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-right:auto}.premium-content-wrapper{margin:0}.premium-content-block-nudge .editor-warning{margin-bottom:0}.premium-content-block-nudge .editor-warning__message{margin:13px 0}.premium-content-block-nudge .editor-warning__actions{line-height:1}.premium-content-block-nudge .premium-content-block-nudge__info{display:flex;flex-direction:row;font-size:13px;line-height:1.4}.premium-content-block-nudge .premium-content-block-nudge__text-container{display:flex;flex-direction:column;padding-right:10px}.premium-content-block-nudge .premium-content-block-nudge__title{font-size:14px}.premium-content-block-nudge__message{color:#646970}.editor-styles-wrapper a.premium-content-block-nudge__button{color:#0075af;text-decoration:none}.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-premium-content-container---settings-add_plan .components-panel__row.plan-interval .components-base-control,.wp-block-premium-content-container---settings-add_plan .components-panel__row.plan-name .components-base-control{width:100%}.wp-block-premium-content-container---settings-add_plan .components-panel__row.plan-price .components-base-control{margin:0;width:45%}.wp-block-premium-content-container---settings-add_plan .components-panel__row:last-child{margin-top:25px}.wp-block-premium-content-container---settings-add_plan .components-base-control:last-child{margin:0}.wp-block-premium-content-container---link-to-earn{display:block;margin:16px}.premium-content-toolbar-button .components-dropdown-menu__toggle:after{border-color:transparent transparent currentcolor currentcolor;border-style:solid;border-width:4px;bottom:1px;content:"";display:block;left:0;position:absolute}.connect-stripe.has-icon.has-text svg{margin-left:0}.connect-stripe.has-icon.has-text{font-weight:400}.wp-block-buttons .wp-block[data-type="jetpack/recurring-payments"]{display:inline-block;margin:0 0 0 .5em}.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 .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}.wp-block-jetpack-conversation__participant{display:flex;height:30px;line-height:30px}.wp-block-jetpack-conversation__participant-label{flex-grow:2}.wp-block-jetpack-conversation__placeholder,.wp-block-jetpack-dialogue__timestamp-controls{display:flex}.wp-block-jetpack-dialogue__timestamp-controls .components-number-control{min-width:60px}.wp-block-jetpack-dialogue__timestamp-button{margin-right:6px}.wp-block-jetpack-dialogue__timestamp-control__hour,.wp-block-jetpack-dialogue__timestamp-control__minute{margin-left:5px}.wp-block-jetpack-dialogue__timestamp-control__play-button{align-self:flex-end;margin-right:10px}.wp-block-jetpack-dialogue__timestamp-content .wp-block-jetpack-dialogue__timestamp-container{min-width:290px}.wp-block-jetpack-dialogue__timestamp-range-control{margin-left:16px;margin-top:8px}.wp-block-jetpack-dialogue__timestamp-dropdown{min-width:90px}.wp-block-jetpack-dialogue__participant.is-participant-adding,.wp-block-jetpack-dialogue__participant.is-participant-editing{opacity:.7}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta.has-not-media-source>div{width:100%}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta .wp-block-jetpack-dialogue__participant{min-width:50px}.media-player-control__current-time{align-items:center;display:flex;font-size:14px;min-width:55px;padding:0 5px 0 12px}.media-player-control__current-time.is-disabled{color:#757575;cursor:default}.wp-block-jetpack-dialogue__timestamp-player{display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px}.wp-block-jetpack-dialogue__timestamp-player button{padding:0}.media-player-control__toolbar .components-toolbar-button .dashicons{margin:0}.wp-block-jetpack-dialogue{margin-bottom:20px;margin-top:20px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{align-items:center;display:flex;flex-direction:row;min-height:38px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{color:inherit;font-size:inherit;line-height:17px;line-height:var(--global--line-height-body);overflow-wrap:anywhere;padding:0}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-label{color:inherit;font-size:16px;margin-left:0;margin-right:5px;padding:6px 12px;text-align:left;white-space:nowrap}.wp-block-jetpack-dialogue__participant{height:auto;line-height:1.2;padding:3px 0}.wp-block-jetpack-dialogue__participant.has-bold-style{font-weight:700}.wp-block-jetpack-dialogue__participant.has-italic-style{font-style:italic}.wp-block-jetpack-dialogue__participant.has-uppercase-style{text-transform:uppercase}.block-editor-block-list__block .wp-block-jetpack-dialogue__content{margin:0 0 1em}@media(min-width:600px){.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue{display:flex}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{display:block;flex:0 0 25%;text-align:left}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{margin-left:12px}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .components-dropdown,.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-dropdown{display:block}}body.no-media-source .wp-block-jetpack-dialogue__timestamp-label{display:none}.wp-block-jetpack-amazon{font-size:14px}.wp-block-jetpack-amazon-title{font-weight:700;line-height:1.3em}.wp-block-jetpack-amazon-title a{text-decoration:none}.wp-block-jetpack-amazon-button{justify-content:center;width:100%} \ 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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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);-o-object-fit:contain;object-fit:contain;position:absolute;right:8px;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;position:absolute;right:0;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:right;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 transparent}.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;padding:20px 0;position:fixed;position:sticky;right:0;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-left:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-left: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-right:1px solid #ccc;margin-right:16px;padding-right: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-left: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 0 9px 1px}@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-left: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;left:0;margin-top:-48px;padding:0;position:absolute;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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-left:8px}.editor-post-featured-image .components-dropdown{display:initial}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-left: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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.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:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-left: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-left: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-left:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-left:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-left:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-left:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-left:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right;margin:3px 0 0 5px}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:right;margin:0 0 0 5px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-left:16px;padding:6px}.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-right: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 transparent;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:right}.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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-left:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;margin:0;padding:0;position:absolute;right:0;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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;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-left: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:right}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{right: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-left:12px}.components-placeholder.is-large .image-compare__image-after{padding-right: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-right:-20px;position:absolute;width:40px;z-index:15}.vertical div.jx-handle{cursor:row-resize;height:40px;margin-right: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 -3px auto auto;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:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}div.jx-arrow.jx-right{border-color:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;right:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;border-style:solid;border-width:8px 8px 0;bottom:2px;left:0;top:auto}div.jx-handle:active div.jx-arrow.jx-left,div.jx-handle:hover div.jx-arrow.jx-left{right:-1px}div.jx-handle:active div.jx-arrow.jx-right,div.jx-handle:hover div.jx-arrow.jx-right{left:-1px}.vertical div.jx-handle:active div.jx-arrow.jx-left,.vertical div.jx-handle:hover div.jx-arrow.jx-left{right: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;left:0}div.jx-image{display:inline-block;height:100%;overflow:hidden;position:absolute;top:0}.vertical div.jx-image{right: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:100%;right:0}div.jx-image.jx-left img{right:0}div.jx-image.jx-right{background-position:0;left:0}div.jx-image.jx-right img{bottom:0;left: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:rgba(0,0,0,.7);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:right;right:0}div.jx-image.jx-right div.jx-label{float:left;left:0}.vertical div.jx-image div.jx-label{display:table;position:absolute}.vertical div.jx-image.jx-right div.jx-label{bottom:0;right:0;top:auto}div.jx-image.transition{transition:width .5s ease}div.jx-handle.transition{transition:right .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-right:-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=);right:0}div.jx-arrow.jx-right{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEwLjYgNiA5LjQgN2w0LjYgNS00LjYgNSAxLjIgMSA1LjQtNnoiLz48L3N2Zz4=);left: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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-left: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{height:20px;width:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left: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:#2fb41f!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}.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-left: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}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;margin-right:-16px;margin-top:-19px;position:absolute;right:50%;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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:left;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-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.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 9px 5px 10px}.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-right:4px solid #000;margin-left:0;margin-right:0;padding-right: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-right:1.3em;padding-right: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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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 4px 0 0;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 0 .25em 1em}@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:0;padding-right:1em}.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:right}.wp-block>.wp-block-jetpack-opentable.is-style-wide.alignright{left:0;right:auto}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:right}.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:transparent;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{left:auto;margin-right:2rem;max-width:840px}.wp-block-jetpack-opentable.is-style-wide.alignright{max-width:840px;right:calc(100% - 840px - 2rem)}.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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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:18px;padding-right:15px}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-left: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:10px 22px 10px 24px;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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-right: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-right:59px}.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 0 0 2px;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-right: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}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 8px 0 0}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-right:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-right:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);position:absolute;right:-10px;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.sDAzdUdcbaYmUMZBe2XW{fill:#2c3338}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:#39579a;border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:#55acee}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:#0976b4}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:#35465c}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.jetpack-publicize-gutenberg-social-icon{margin-left:5px}.jetpack-publicize-connection-label{align-items:center;display:flex;flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-right:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled{opacity:.5;width:100%}.KQcQQLxH5fI08DfOlKwL{display:flex}.GkSdCYn_REWEdI_aqvQk{margin-top:3px}.__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}.xwd1zFILyAv6XzDjevFA{margin:15px 0}.Ua6eKcnk_tQQpFlgXMSn{list-style-type:none;margin:0;width:100%}.Ua6eKcnk_tQQpFlgXMSn .SHqrIEguRfCILRHPyxE9{margin:5px 0 10px}.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-left: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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.connect-stripe.has-icon.has-text svg{margin-left: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-right: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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.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 8px 0 24px}.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-left: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-left: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-left:10px solid transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{position:absolute;right:calc(50% - 12px);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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.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-left:.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:var(--muriel-hot-red-500);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-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right: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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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 56px 8px 16px;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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right:10px;width:105px}.jetpack-whatsapp-button__phonenumber .components-placeholder__label svg{margin-left:6px}.jetpack-whatsapp-error{display:inline-flex;margin-bottom:10px}.jetpack-whatsapp-error span,.jetpack-whatsapp-error svg{fill:red;color:red;vertical-align:middle}.jetpack-whatsapp-error svg{margin:-3px 0 0 5px}.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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-right:5px}.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-right: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;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;right:50%;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-left: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-right:1em}}.wp-block-jetpack-simple-payments{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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-left: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;left:0;padding:0 4px;pointer-events:none;position:absolute;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{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left: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-jetpack-slideshow_slide .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-left:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-left:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-right:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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-right: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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:right;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 0 -4px 2px;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-left:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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-right: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:"✓";position:absolute;right:-20px}@media(min-width:600px){.jetpack-social-previews__modal-upgrade{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{grid-column:2;grid-row:1;max-width:100%;padding-left: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-right:0}}@media(min-width:782px){.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{padding:0 2em 2em}}.jetpack-gutenberg-social-icons{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-social-previews__icon{fill:currentColor;margin-left:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;position:absolute;right:3px;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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-left-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:rgba(0,0,0,.5);border-radius:5px;color:#fff;display:flex;left:0;margin:15px;padding:5px 3px;position:absolute;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:transparent}.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:hsla(0,0%,100%,.4)}.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{margin:auto;right:-84px}.wp-story-container .wp-story-next-slide{left:-84px;margin:auto}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-next-slide{left:-48px;margin:auto}.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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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 0 0 16px;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 0 0 12px;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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-right: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{right:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{left: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-right:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-left: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:100%;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:#0e1112e0;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-left: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:transparent;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:transparent;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}.is-style-compact .wp-block-button__link,.is-style-compact .wp-block-jetpack-subscriptions__button{border-bottom-right-radius:0!important;border-top-right-radius:0!important;margin-right:0!important}.is-style-compact .components-text-control__input,.is-style-compact p#subscribe-email input[type=email]{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-left-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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;line-height:1.3;white-space:nowrap}.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 form input[type=email]::placeholder{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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;left:0;margin:0;position:absolute}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{right:0}.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-right:12px}.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{text-decoration:underline;white-space:nowrap}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-right: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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:rgba(243,106,188,.3);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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);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%;pointer-events:none;position:absolute;right:0;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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{position:absolute;right:-2px;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{margin:0;position:absolute;right:50%;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}.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}.resumable-upload__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px}.resumable-upload__logo-text{margin-right:10px}.resumable-upload__status{align-items:center;display:flex;flex-direction:column;margin-top:24px;width:100%}.resumable-upload__file-info{display:flex;flex-direction:row;margin-bottom:16px;width:100%}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;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-right:12px}.resumable-upload__actions{align-items:center;display:flex;justify-content:space-between;margin-top:16px;width:100%}.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-right:12px;margin-top:16px}.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-left: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 12px 4px 0;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-left: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-right: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}[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-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 -1px 0 0;padding:8px 14px;position:relative}.wp-block-premium-content-container--tab{align-items:center;background:transparent;border:none;display:flex;flex-direction:row;margin-left:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-right: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 0 0 .5em}.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}.post-publish-qr-post-panel .components-panel__body-toggle>svg{margin-right: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}.qr-post-modal__actions_buttons{display:flex;justify-content:right;margin:10px auto;max-width:300px}.qr-post-modal__actions_buttons .components-button{margin-right:5px}.anchor-post-publish-outbound-link .anchor-post-publish-outbound-link__external_icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.wp-block-jetpack-conversation__participant{display:flex;height:30px;line-height:30px}.wp-block-jetpack-conversation__participant-label{flex-grow:2}.wp-block-jetpack-conversation__placeholder,.wp-block-jetpack-dialogue__timestamp-controls{display:flex}.wp-block-jetpack-dialogue__timestamp-controls .components-number-control{min-width:60px}.wp-block-jetpack-dialogue__timestamp-button{margin-right:6px}.wp-block-jetpack-dialogue__timestamp-control__hour,.wp-block-jetpack-dialogue__timestamp-control__minute{margin-left:5px}.wp-block-jetpack-dialogue__timestamp-control__play-button{align-self:flex-end;margin-right:10px}.wp-block-jetpack-dialogue__timestamp-content .wp-block-jetpack-dialogue__timestamp-container{min-width:290px}.wp-block-jetpack-dialogue__timestamp-range-control{margin-left:16px;margin-top:8px}.wp-block-jetpack-dialogue__timestamp-dropdown{min-width:90px}.wp-block-jetpack-dialogue__participant.is-participant-adding,.wp-block-jetpack-dialogue__participant.is-participant-editing{opacity:.7}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta.has-not-media-source>div{width:100%}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta .wp-block-jetpack-dialogue__participant{min-width:50px}.media-player-control__current-time{align-items:center;display:flex;font-size:14px;min-width:55px;padding:0 5px 0 12px}.media-player-control__current-time.is-disabled{color:#757575;cursor:default}.wp-block-jetpack-dialogue__timestamp-player{display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px}.wp-block-jetpack-dialogue__timestamp-player button{padding:0}.media-player-control__toolbar .components-toolbar-button .dashicons{margin:0}.wp-block-jetpack-dialogue{margin-bottom:20px;margin-top:20px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{align-items:center;display:flex;flex-direction:row;min-height:38px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{color:inherit;font-size:inherit;line-height:17px;line-height:var(--global--line-height-body);overflow-wrap:anywhere;padding:0}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-label{color:inherit;font-size:16px;margin-left:0;margin-right:5px;padding:6px 12px;text-align:left;white-space:nowrap}.wp-block-jetpack-dialogue__participant{height:auto;line-height:1.2;padding:3px 0}.wp-block-jetpack-dialogue__participant.has-bold-style{font-weight:700}.wp-block-jetpack-dialogue__participant.has-italic-style{font-style:italic}.wp-block-jetpack-dialogue__participant.has-uppercase-style{text-transform:uppercase}.block-editor-block-list__block .wp-block-jetpack-dialogue__content{margin:0 0 1em}@media(min-width:600px){.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue{display:flex}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{display:block;flex:0 0 25%;text-align:left}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{margin-left:12px}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .components-dropdown,.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-dropdown{display:block}}body.no-media-source .wp-block-jetpack-dialogue__timestamp-label{display:none}.wp-block-jetpack-amazon{font-size:14px}.wp-block-jetpack-amazon-title{font-weight:700;line-height:1.3em}.wp-block-jetpack-amazon-title a{text-decoration:none}.wp-block-jetpack-amazon-button{justify-content:center;width:100%} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-experimental.asset.php b/plugins/jetpack/_inc/blocks/editor-experimental.asset.php
index 5c38d052..af29d88a 100644
--- a/plugins/jetpack/_inc/blocks/editor-experimental.asset.php
+++ b/plugins/jetpack/_inc/blocks/editor-experimental.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => '506556acd0fd8d576c3b30f6285a162e'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', '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-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '3bcf88c286585f65ce1a');
diff --git a/plugins/jetpack/_inc/blocks/editor-experimental.css b/plugins/jetpack/_inc/blocks/editor-experimental.css
index c2a760db..79c3f261 100644
--- a/plugins/jetpack/_inc/blocks/editor-experimental.css
+++ b/plugins/jetpack/_inc/blocks/editor-experimental.css
@@ -1 +1 @@
-.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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;-o-object-fit:contain;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 transparent}.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__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-right:12px}.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-right:8px}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-right: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-left:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.paid-block-media-placeholder{width:100%}.wp-block-cover .paid-block-media-placeholder:not(:only-child){bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-right:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-right:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-right:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-right:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-right:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left;margin:3px 5px 0 0}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:left;margin:0 5px 0 0}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-right:16px;padding:6px}.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-left: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 transparent;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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-right:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;left:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{left: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-right:12px}.components-placeholder.is-large .image-compare__image-after{padding-left: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:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}div.jx-arrow.jx-right{border-color:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;left:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;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:rgba(0,0,0,.7);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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-right: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button: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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#2fb41f!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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.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}.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:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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>.wp-block-jetpack-opentable.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:transparent;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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-right: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:10px 24px 10px 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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-left: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-left:59px}.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 width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-left: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}.jetpack-publicize__connections-list{list-style-type:none;margin:0;width:100%}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.publicize-jetpack-connection-container{display:flex}.publicize-jetpack-connection-container .components-disabled{width:100%}.jetpack-publicize-gutenberg-social-icon{margin-right:5px}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-bottom:13px;margin-left:0;margin-right:0}.jetpack-publicize-notice .components-button{height:auto;line-height:normal;padding-bottom:6px;padding-top:6px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.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-disabled .jetpack-publicize-toggle,.jetpack-publicize-disabled .jetpack-publicize__connections-list{opacity:.5}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 0 0 8px}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-left:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-left:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);left:-10px;position:absolute;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.jetpack-publicize-connection-label{align-items:center;display:flex}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-left:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled,.components-disabled .components-connection-toggle{opacity:.5}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;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 transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.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:var(--muriel-hot-red-500);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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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{fill:red;color: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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-left:5px}.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}@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{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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{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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto}.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-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}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-right:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-right:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-left:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 2px -4px 0;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-right:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.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{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-gutenberg-social-icon.jetpack-social-previews__icon{fill:currentColor;margin-right:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;left:3px;position:absolute;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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:rgba(0,0,0,.5);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-expand svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span,.wp-story-container .wp-story-overlay .wp-story-embed-icon 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:transparent}.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:hsla(0,0%,100%,.4)}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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:#0e1112e0;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:transparent;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:transparent;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}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;margin:0;position:absolute;right:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{left:0}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-left: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:rgba(243,106,188,.3);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:rgba(127,187,227,.2);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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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}.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}[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}.anchor-post-publish-outbound-link .anchor-post-publish-outbound-link__external_icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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:transparent;border:none;display:flex;flex-direction:row;margin-right:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-left:auto}.premium-content-wrapper{margin:0}.premium-content-block-nudge .editor-warning{margin-bottom:0}.premium-content-block-nudge .editor-warning__message{margin:13px 0}.premium-content-block-nudge .editor-warning__actions{line-height:1}.premium-content-block-nudge .premium-content-block-nudge__info{display:flex;flex-direction:row;font-size:13px;line-height:1.4}.premium-content-block-nudge .premium-content-block-nudge__text-container{display:flex;flex-direction:column;padding-left:10px}.premium-content-block-nudge .premium-content-block-nudge__title{font-size:14px}.premium-content-block-nudge__message{color:#646970}.editor-styles-wrapper a.premium-content-block-nudge__button{color:#0075af;text-decoration:none}.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-premium-content-container---settings-add_plan .components-panel__row.plan-interval .components-base-control,.wp-block-premium-content-container---settings-add_plan .components-panel__row.plan-name .components-base-control{width:100%}.wp-block-premium-content-container---settings-add_plan .components-panel__row.plan-price .components-base-control{margin:0;width:45%}.wp-block-premium-content-container---settings-add_plan .components-panel__row:last-child{margin-top:25px}.wp-block-premium-content-container---settings-add_plan .components-base-control:last-child{margin:0}.wp-block-premium-content-container---link-to-earn{display:block;margin:16px}.premium-content-toolbar-button .components-dropdown-menu__toggle:after{border-color:transparent currentcolor currentcolor transparent;border-style:solid;border-width:4px;bottom:1px;content:"";display:block;position:absolute;right:0}.connect-stripe.has-icon.has-text svg{margin-right:0}.connect-stripe.has-icon.has-text{font-weight:400}.wp-block-buttons .wp-block[data-type="jetpack/recurring-payments"]{display:inline-block;margin:0 .5em 0 0}.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 .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}.wp-block-jetpack-conversation__participant{display:flex;height:30px;line-height:30px}.wp-block-jetpack-conversation__participant-label{flex-grow:2}.wp-block-jetpack-conversation__placeholder,.wp-block-jetpack-dialogue__timestamp-controls{display:flex}.wp-block-jetpack-dialogue__timestamp-controls .components-number-control{min-width:60px}.wp-block-jetpack-dialogue__timestamp-button{margin-left:6px}.wp-block-jetpack-dialogue__timestamp-control__hour,.wp-block-jetpack-dialogue__timestamp-control__minute{margin-right:5px}.wp-block-jetpack-dialogue__timestamp-control__play-button{align-self:flex-end;margin-left:10px}.wp-block-jetpack-dialogue__timestamp-content .wp-block-jetpack-dialogue__timestamp-container{min-width:290px}.wp-block-jetpack-dialogue__timestamp-range-control{margin-right:16px;margin-top:8px}.wp-block-jetpack-dialogue__timestamp-dropdown{min-width:90px}.wp-block-jetpack-dialogue__participant.is-participant-adding,.wp-block-jetpack-dialogue__participant.is-participant-editing{opacity:.7}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta.has-not-media-source>div{width:100%}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta .wp-block-jetpack-dialogue__participant{min-width:50px}.media-player-control__current-time{align-items:center;display:flex;font-size:14px;min-width:55px;padding:0 12px 0 5px}.media-player-control__current-time.is-disabled{color:#757575;cursor:default}.wp-block-jetpack-dialogue__timestamp-player{display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px}.wp-block-jetpack-dialogue__timestamp-player button{padding:0}.media-player-control__toolbar .components-toolbar-button .dashicons{margin:0}.wp-block-jetpack-dialogue{margin-bottom:20px;margin-top:20px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{align-items:center;display:flex;flex-direction:row;min-height:38px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{color:inherit;font-size:inherit;line-height:17px;line-height:var(--global--line-height-body);overflow-wrap:anywhere;padding:0}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-label{color:inherit;font-size:16px;margin-left:5px;margin-right:0;padding:6px 12px;text-align:right;white-space:nowrap}.wp-block-jetpack-dialogue__participant{height:auto;line-height:1.2;padding:3px 0}.wp-block-jetpack-dialogue__participant.has-bold-style{font-weight:700}.wp-block-jetpack-dialogue__participant.has-italic-style{font-style:italic}.wp-block-jetpack-dialogue__participant.has-uppercase-style{text-transform:uppercase}.block-editor-block-list__block .wp-block-jetpack-dialogue__content{margin:0 0 1em}@media(min-width:600px){.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue{display:flex}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{display:block;flex:0 0 25%;text-align:right}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{margin-right:12px}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .components-dropdown,.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-dropdown{display:block}}body.no-media-source .wp-block-jetpack-dialogue__timestamp-label{display:none} \ 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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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;-o-object-fit:contain;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 transparent}.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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-right:8px}.editor-post-featured-image .components-dropdown{display:initial}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-right: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-left:auto}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.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:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-right:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-right:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-right:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-right:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-right:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left;margin:3px 5px 0 0}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:left;margin:0 5px 0 0}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-right:16px;padding:6px}.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-left: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 transparent;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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-right:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;left:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{left: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-right:12px}.components-placeholder.is-large .image-compare__image-after{padding-left: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:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}div.jx-arrow.jx-right{border-color:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;left:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;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:rgba(0,0,0,.7);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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-right: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-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:#2fb41f!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}.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}.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:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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>.wp-block-jetpack-opentable.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:transparent;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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-right: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:10px 24px 10px 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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-left: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-left:59px}.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 width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-left: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}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 0 0 8px}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-left:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-left:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);left:-10px;position:absolute;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.sDAzdUdcbaYmUMZBe2XW{fill:#2c3338}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:#39579a;border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:#55acee}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:#0976b4}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:#35465c}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.jetpack-publicize-gutenberg-social-icon{margin-right:5px}.jetpack-publicize-connection-label{align-items:center;display:flex;flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-left:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled{opacity:.5;width:100%}.KQcQQLxH5fI08DfOlKwL{display:flex}.GkSdCYn_REWEdI_aqvQk{margin-top:3px}.__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}.xwd1zFILyAv6XzDjevFA{margin:15px 0}.Ua6eKcnk_tQQpFlgXMSn{list-style-type:none;margin:0;width:100%}.Ua6eKcnk_tQQpFlgXMSn .SHqrIEguRfCILRHPyxE9{margin:5px 0 10px}.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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;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 transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.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:var(--muriel-hot-red-500);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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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{fill:red;color: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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-left:5px}.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{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto}.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-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}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-right:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-right:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-left:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 2px -4px 0;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-right:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.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{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-social-previews__icon{fill:currentColor;margin-right:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;left:3px;position:absolute;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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:rgba(0,0,0,.5);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:transparent}.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:hsla(0,0%,100%,.4)}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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:#0e1112e0;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:transparent;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:transparent;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}.is-style-compact .wp-block-button__link,.is-style-compact .wp-block-jetpack-subscriptions__button{border-bottom-left-radius:0!important;border-top-left-radius:0!important;margin-left:0!important}.is-style-compact .components-text-control__input,.is-style-compact p#subscribe-email input[type=email]{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-right-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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;line-height:1.3;white-space:nowrap}.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 form input[type=email]::placeholder{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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;margin:0;position:absolute;right:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{left:0}.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}.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{text-decoration:underline;white-space:nowrap}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-left: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:rgba(243,106,188,.3);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:rgba(127,187,227,.2);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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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}.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}.resumable-upload__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px}.resumable-upload__logo-text{margin-left:10px}.resumable-upload__status{align-items:center;display:flex;flex-direction:column;margin-top:24px;width:100%}.resumable-upload__file-info{display:flex;flex-direction:row;margin-bottom:16px;width:100%}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;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;justify-content:space-between;margin-top:16px;width:100%}.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}.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}[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-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:transparent;border:none;display:flex;flex-direction:row;margin-right:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-left: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}.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}.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}.qr-post-modal__actions_buttons{display:flex;justify-content:right;margin:10px auto;max-width:300px}.qr-post-modal__actions_buttons .components-button{margin-left:5px}.anchor-post-publish-outbound-link .anchor-post-publish-outbound-link__external_icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.wp-block-jetpack-conversation__participant{display:flex;height:30px;line-height:30px}.wp-block-jetpack-conversation__participant-label{flex-grow:2}.wp-block-jetpack-conversation__placeholder,.wp-block-jetpack-dialogue__timestamp-controls{display:flex}.wp-block-jetpack-dialogue__timestamp-controls .components-number-control{min-width:60px}.wp-block-jetpack-dialogue__timestamp-button{margin-left:6px}.wp-block-jetpack-dialogue__timestamp-control__hour,.wp-block-jetpack-dialogue__timestamp-control__minute{margin-right:5px}.wp-block-jetpack-dialogue__timestamp-control__play-button{align-self:flex-end;margin-left:10px}.wp-block-jetpack-dialogue__timestamp-content .wp-block-jetpack-dialogue__timestamp-container{min-width:290px}.wp-block-jetpack-dialogue__timestamp-range-control{margin-right:16px;margin-top:8px}.wp-block-jetpack-dialogue__timestamp-dropdown{min-width:90px}.wp-block-jetpack-dialogue__participant.is-participant-adding,.wp-block-jetpack-dialogue__participant.is-participant-editing{opacity:.7}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta.has-not-media-source>div{width:100%}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta .wp-block-jetpack-dialogue__participant{min-width:50px}.media-player-control__current-time{align-items:center;display:flex;font-size:14px;min-width:55px;padding:0 12px 0 5px}.media-player-control__current-time.is-disabled{color:#757575;cursor:default}.wp-block-jetpack-dialogue__timestamp-player{display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px}.wp-block-jetpack-dialogue__timestamp-player button{padding:0}.media-player-control__toolbar .components-toolbar-button .dashicons{margin:0}.wp-block-jetpack-dialogue{margin-bottom:20px;margin-top:20px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{align-items:center;display:flex;flex-direction:row;min-height:38px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{color:inherit;font-size:inherit;line-height:17px;line-height:var(--global--line-height-body);overflow-wrap:anywhere;padding:0}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-label{color:inherit;font-size:16px;margin-left:5px;margin-right:0;padding:6px 12px;text-align:right;white-space:nowrap}.wp-block-jetpack-dialogue__participant{height:auto;line-height:1.2;padding:3px 0}.wp-block-jetpack-dialogue__participant.has-bold-style{font-weight:700}.wp-block-jetpack-dialogue__participant.has-italic-style{font-style:italic}.wp-block-jetpack-dialogue__participant.has-uppercase-style{text-transform:uppercase}.block-editor-block-list__block .wp-block-jetpack-dialogue__content{margin:0 0 1em}@media(min-width:600px){.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue{display:flex}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{display:block;flex:0 0 25%;text-align:right}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{margin-right:12px}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .components-dropdown,.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-dropdown{display:block}}body.no-media-source .wp-block-jetpack-dialogue__timestamp-label{display:none} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-experimental.js b/plugins/jetpack/_inc/blocks/editor-experimental.js
index 5e37630c..2c593014 100644
--- a/plugins/jetpack/_inc/blocks/editor-experimental.js
+++ b/plugins/jetpack/_inc/blocks/editor-experimental.js
@@ -1,111 +1,108 @@
/*! For license information please see editor-experimental.js.LICENSE.txt */
-!function(){var e,t,n,r,a,o,i={27538:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},29183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},8172:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31354),a=n(64803);function o(e){var t=(0,r.Z)(e);return function(e){return(0,a.Z)(t,e)}}},64803:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function a(e,t){var n,a,o,i,s,l,c=[];for(n=0;n<e.length;n++){if(s=e[n],i=r[s]){for(a=i.length,o=Array(a);a--;)o[a]=c.pop();try{l=i.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(s)?t[s]:+s;c.push(l)}return c[0]}},7478:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8172);function a(e){var t=(0,r.Z)(e);return function(e){return+t({n:e})}}},31354:function(e,t,n){"use strict";var r,a,o,i;function s(e){for(var t,n,s,l,c=[],u=[];t=e.match(i);){for(n=t[0],(s=e.substr(0,t.index).trim())&&c.push(s);l=u.pop();){if(o[n]){if(o[n][0]===l){n=o[n][1]||n;break}}else if(a.indexOf(l)>=0||r[l]<r[n]){u.push(l);break}c.push(l)}o[n]||u.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&c.push(e),c.concat(u.reverse())}n.d(t,{Z:function(){return s}}),r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},a=["(","?"],o={")":["("],":":["?","?:"]},i=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},702:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function a(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(r,(function(){var e,r,a,o,i;return e=arguments[3],r=arguments[5],"%"===(o=arguments[9])?"%":("*"===(a=arguments[7])&&(a=t[n-1],n++),void 0!==r?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(i=t[0][r]):(void 0===e&&(e=n),n++,i=t[e-1]),"f"===o?i=parseFloat(i)||0:"d"===o&&(i=parseInt(i)||0),void 0!==a&&("f"===o?i=i.toFixed(a):"s"===o&&(i=i.substr(0,a))),null!=i?i:"")}))}},22607:function(e,t,n){"use strict";var r=n(69307);t.Z=function(e){let{icon:t,size:n=24,...a}=e;return(0,r.cloneElement)(t,{width:n,height:n,...a})}},15284:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(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 12.8h8v-1.5H8v1.5z"}));t.Z=o},84675:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.Z=o},35127:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.Z=o},41221:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.Z=o},7345:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(a.Path,{d:"M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z"}));t.Z=o},31266:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},81326:function(e,t){var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)a(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function a(e,a){if(a){var o=typeof a;"string"===o?function(e,t){for(var n=t.split(r),a=n.length,o=0;o<a;++o)e[n[o]]=!0}(e,a):Array.isArray(a)?t(e,a):"object"===o?function(e,t){if(t.toString===Object.prototype.toString)for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,a):"number"===o&&function(e,t){e[t]=!0}(e,a)}}return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=new e;t(o,r);var i=[];for(var s in o)o[s]&&i.push(s);return i.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},89105:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},92213:function(e){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,a,o,i=-1;for(t=0,a=e.length;t<a;t+=1){for(o=255&(i^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;i=i>>>8^o}return-1^i}function a(e,n){var r,o,i;if(void 0!==a.crc&&n&&e||(a.crc=-1,e)){for(r=a.crc,o=0,i=e.length;o<i;o+=1)r=r>>>8^t[255&(r^e[o])];return a.crc=r,-1^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}()},97115:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var a=o(n[0]);a!==n[0]&&(t[n[0]]=a)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var l=i[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},89453:function(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}))}},2571:function(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 o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,a,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var a,o,i,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),i=o[t]),void 0===i)i=o[t]=n,++e._eventsCount;else if("function"==typeof i?i=o[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(a=l(e))>0&&i.length>a&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}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 p(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 d(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;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):h(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function f(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function a(o){r.once&&e.removeEventListener(t,a),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var a="error"===e,o=this._events;if(void 0!==o)a=a&&void 0===o.error;else if(!a)return!1;if(a){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,a,o,i;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){i=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(a=o[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},95946:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o<r.length;o++){var i=r[o],s=e[i];(a?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},95949:function(e,t,n){"use strict";var r=n(53566),a=n(48282);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var a=0;a<e.length;a+=this._delta32)this._update(e,a,a+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),a(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var a=1;a<n;a++)r[a]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[a++]=0;r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=e>>>24&255,r[a++]=e>>>16&255,r[a++]=e>>>8&255,r[a++]=255&e}else for(r[a++]=255&e,r[a++]=e>>>8&255,r[a++]=e>>>16&255,r[a++]=e>>>24&255,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,o=8;o<this.padLength;o++)r[a++]=0;return r}},69016:function(e,t,n){"use strict";var r=n(53566),a=n(95949),o=n(47574),i=r.rotl32,s=r.sum32,l=r.sum32_5,c=o.ft_1,u=a.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=i(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var a=this.h[0],o=this.h[1],u=this.h[2],d=this.h[3],m=this.h[4];for(r=0;r<n.length;r++){var h=~~(r/20),f=l(i(a,5),c(h,o,u,d),m,n[r],p[h]);m=d,d=u,u=i(o,30),o=a,a=f}this.h[0]=s(this.h[0],a),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],u),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],m)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},47574:function(e,t,n){"use strict";var r=n(53566).rotr32;function a(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function i(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?a(t,n,r):1===e||3===e?i(t,n,r):2===e?o(t,n,r):void 0},t.ch32=a,t.maj32=o,t.p32=i,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},53566:function(e,t,n){"use strict";var r=n(48282),a=n(59503);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function i(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=a,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),a=0;a<e.length;a+=2)n.push(parseInt(e[a]+e[a+1],16))}else for(var r=0,a=0;a<e.length;a++){var i=e.charCodeAt(a);i<128?n[r++]=i:i<2048?(n[r++]=i>>6|192,n[r++]=63&i|128):o(e,a)?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++a)),n[r++]=i>>18|240,n[r++]=i>>12&63|128,n[r++]=i>>6&63|128,n[r++]=63&i|128):(n[r++]=i>>12|224,n[r++]=i>>6&63|128,n[r++]=63&i|128)}else for(a=0;a<e.length;a++)n[a]=0|e[a];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=i,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e[r];"little"===t&&(a=i(a)),n+=l(a.toString(16))}return n},t.zero2=s,t.zero8=l,t.join32=function(e,t,n,a){var o=n-t;r(o%4==0);for(var i=new Array(o/4),s=0,l=t;s<i.length;s++,l+=4){var c;c="big"===a?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],i[s]=c>>>0}return i},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,a=0;r<e.length;r++,a+=4){var o=e[r];"big"===t?(n[a]=o>>>24,n[a+1]=o>>>16&255,n[a+2]=o>>>8&255,n[a+3]=255&o):(n[a+3]=o>>>24,n[a+2]=o>>>16&255,n[a+1]=o>>>8&255,n[a]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,a){return e+t+n+r+a>>>0},t.sum64=function(e,t,n,r){var a=e[t],o=r+e[t+1]>>>0,i=(o<r?1:0)+n+a;e[t]=i>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,a,o,i,s){var l=0,c=t;return l+=(c=c+r>>>0)<t?1:0,l+=(c=c+o>>>0)<o?1:0,e+n+a+i+(l+=(c=c+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,a,o,i,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,a,o,i,s,l,c){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+o>>>0)<o?1:0,u+=(p=p+s>>>0)<s?1:0,e+n+a+i+l+(u+=(p=p+c>>>0)<c?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,a,o,i,s,l,c){return t+r+o+s+c>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},88617:function(e,t,n){"use strict";var r=n(59128),a=n(98086),o=n(90922),i=n.n(o),s=n(94481),l=n(88090),c=n(75565),u=n.n(c),p=n(69016),d=n.n(p),m=n(2571),h=n(702),f=n(92846),g=i()("i18n-calypso"),b="number_format_decimals",v="number_format_thousands_sep",k="messages",y=[function(e){return e}],E={};function w(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function _(e){return Array.prototype.slice.call(e)}function C(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&w("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",_(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&w("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",_(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function j(e,t){return e.dcnpgettext(k,t.context,t.original,t.plural,t.count)}function S(e,t){for(var n=y.length-1;n>=0;n--){var r=y[n](Object.assign({},t)),a=r.context?r.context+""+r.original:r.original;if(e.state.locale[a])return j(e.state.tannin,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:u()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new m.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",a=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,f.Z)(e,n,r,a)},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var o=e[""]["key-hash"],i=function(e,t){var n=!1===t?"":String(t);if(void 0!==E[n+e])return E[n+e];var r=d()().update(e).digest("hex");return E[n+e]=t?r.substr(0,t):r},s=function(e){return function(t){return t.context?(t.original=i(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=i(t.original,e),t}};if("sha1"===o.substr(0,4))if(4===o.length)y.push(s(!1));else{var c=o.substr(5).indexOf("-");if(c<0){var u=Number(o.substr(5));y.push(s(u))}else for(var p=Number(o.substr(5,c)),m=Number(o.substr(6+c)),h=p;h<=m;h++)y.push(s(h))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new l.Z((0,a.Z)({},k,this.state.locale)),this.state.numberFormatSettings.decimal_point=j(this.state.tannin,C([b])),this.state.numberFormatSettings.thousands_sep=j(this.state.tannin,C([v])),this.state.numberFormatSettings.decimal_point===b&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===v&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.isRtl=function(){return"rtl"===this.state.textDirection},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!S(this,C(arguments))},x.prototype.translate=function(){var e=C(arguments),t=S(this,e);if(t||(t=j(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=h.Z.apply(void 0,(0,r.Z)(n))}catch(e){if(!window||!window.console)return;var a=this.throwErrors?"error":"warn";"string"!=typeof e?window.console[a](e):window.console[a]("i18n sprintf error:",n)}}return e.components&&(t=(0,s.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},x.prototype.reRenderTranslations=function(){g("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)},t.Z=x},63807:function(e,t,n){"use strict";n.d(t,{Y4:function(){return l}});var r=n(88617),a=n(42928),o=n(80975),i=n(24531),s=new r.Z,l=s.numberFormat.bind(s),c=(s.translate.bind(s),s.configure.bind(s),s.setLocale.bind(s),s.getLocale.bind(s),s.getLocaleSlug.bind(s),s.addTranslations.bind(s),s.reRenderTranslations.bind(s),s.registerComponentUpdateHook.bind(s),s.registerTranslateHook.bind(s),s.state,s.stateObserver,s.on.bind(s),s.off.bind(s),s.emit.bind(s),(0,a.Z)(s),(0,o.Z)(s),(0,i.Z)(s));c.useRtl,c.withRtl},42928:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(59591),a=n(71687),o=n(93772),i=n(55200),s=n(82104),l=n(9057),c=n(98086),u=n(99196),p=n.n(u);function d(e){var t={numberFormat:e.numberFormat.bind(e),translate:e.translate.bind(e)};return function(n){var u,d,m=n.displayName||n.name||"";return d=u=function(u){(0,s.Z)(m,u);var d=(0,l.Z)(m);function m(){var e;(0,a.Z)(this,m);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=d.call.apply(d,[this].concat(n)),(0,c.Z)((0,i.Z)(e),"boundForceUpdate",e.forceUpdate.bind((0,i.Z)(e))),e}return(0,o.Z)(m,[{key:"componentDidMount",value:function(){e.on("change",this.boundForceUpdate)}},{key:"componentWillUnmount",value:function(){e.off("change",this.boundForceUpdate)}},{key:"render",value:function(){var a=(0,r.Z)({locale:e.getLocaleSlug()},this.props,{},t);return p().createElement(n,a)}}]),m}(p().Component),(0,c.Z)(u,"displayName","Localized("+m+")"),d}}},92846:function(e,t,n){"use strict";function r(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var a=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,i=void 0===r?",":r,s=void 0===n?".":n,l="";return l=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(a,o):""+Math.round(a)).split("."),l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(l[1]||"").length<o&&(l[1]=l[1]||"",l[1]+=new Array(o-l[1].length+1).join("0")),l.join(s)}n.d(t,{Z:function(){return r}})},24531:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(95672),a=n(99196),o=n.n(a),i=n(20036),s=n(94333);function l(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return(0,i.useSubscription)(t)}var l=(0,s.createHigherOrderComponent)((function(e){return(0,a.forwardRef)((function(t,a){var i=n();return o().createElement(e,(0,r.Z)({},t,{isRtl:i,ref:a}))}))}),"WithRTL");return{useRtl:n,withRtl:l}}},80975:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(50572),a=n(99196),o=n.n(a);function i(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}return function(){var n=o().useState(t),a=(0,r.Z)(n,2),i=a[0],s=a[1];return o().useEffect((function(){var n=function(){return s(t)};return e.on("change",n),function(){return e.off("change",n)}}),[]),i}}},59503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},30045:function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(49872)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?o(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,o,i,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(a=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},49872:function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(26285).source,t.src_Cc=n(84080).source,t.src_Z=n(76202).source,t.src_P=n(87696).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},47595:function(e,t,n){"use strict";const r=n(22199),a=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),h=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[s])return}else n&&(e[m]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},b=e=>{if(e[o]>e[a])for(let t=e[p].tail;e[o]>e[a]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[p].removeNode(t)}};class k{constructor(e,t,n,r,a){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=a||0}}const y=(e,t,n,r)=>{let a=n.value;g(e,a)&&(v(e,n),e[s]||(a=void 0)),a&&t.call(r,a.value,a.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[a]=e.max||1/0;const t=e.length||h;if(this[i]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,b(this)}get max(){return this[a]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,b(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[i]&&(this[i]=e,this[o]=0,this[p].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),b(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[p].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new r,this[o]=0}dump(){return this[p].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[i](t,e);if(this[d].has(e)){if(s>this[a])return v(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=r,i.maxAge=n,i.value=t,this[o]+=s-i.length,i.length=s,this.get(e),b(this),!0}const m=new k(e,t,s,r,n);return m.length>this[a]?(this[c]&&this[c](e,t),!1):(this[o]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),b(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],a=r.e||0;if(0===a)this.set(r.k,r.v);else{const e=a-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},75565:function(e,t,n){var r=n(2571),a=n(59503);function o(e){if(!(this instanceof o))return new o(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=o,a(o,r.EventEmitter),Object.defineProperty(o.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),o.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},o.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},o.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},o.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},o.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},o.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},o.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},o.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},69472:function(e,t,n){"use strict";e.exports=n(98092)},95926:function(e,t,n){"use strict";e.exports=n(60231)},4692:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},75501:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=a},58201:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(95926);var p=/[&<>"]/,d=/[&<>"]/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return m[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var g=n(87696);t.lib={},t.lib.mdurl=n(36664),t.lib.ucmicro=n(39126),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},69486:function(e,t,n){"use strict";t.parseLinkLabel=n(53020),t.parseLinkDestination=n(80113),t.parseLinkTitle=n(7266)},80113:function(e,t,n){"use strict";var r=n(58201).unescapeAll;e.exports=function(e,t,n){var a,o,i=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t)))return s;if(60===a)return s;if(62===a)return s.pos=t+1,s.str=r(e.slice(i+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===a&&++o>32)return s;if(41===a){if(0===o)break;o--}t++}return i===t||0!==o||(s.str=r(e.slice(i,t)),s.lines=0,s.pos=t,s.ok=!0),s}},53020:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)r++;else if(n)return e.pos=c,-1}return a&&(s=e.pos),e.pos=c,s}},7266:function(e,t,n){"use strict";var r=n(58201).unescapeAll;e.exports=function(e,t,n){var a,o,i=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((a=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=i,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===a&&41===o)return l;10===a?i++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&i++),t++}return l}},98092:function(e,t,n){"use strict";var r=n(58201),a=n(69486),o=n(54065),i=n(36020),s=n(63435),l=n(92241),c=n(30045),u=n(36664),p=n(15661),d={default:n(36101),zero:n(67545),commonmark:n(45815)},m=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!m.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function k(e,t){if(!(this instanceof k))return new k(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new i,this.renderer=new o,this.linkify=new c,this.validateLink=f,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}k.prototype.set=function(e){return r.assign(this.options,e),this},k.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},k.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},k.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},k.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},k.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},k.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},k.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},k.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=k},63435:function(e,t,n){"use strict";var r=n(21473),a=[["table",n(33168),["paragraph","reference"]],["code",n(63390)],["fence",n(7477),["paragraph","reference","blockquote","list"]],["blockquote",n(61264),["paragraph","reference","blockquote","list"]],["hr",n(94438),["paragraph","reference","blockquote","list"]],["list",n(90185),["paragraph","reference","blockquote"]],["reference",n(48707)],["heading",n(66926),["paragraph","reference","blockquote"]],["lheading",n(22288)],["html_block",n(77476),["paragraph","reference","blockquote"]],["paragraph",n(13958)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),o=a.length,i=t,s=!1,l=e.md.options.maxNesting;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!a[r](e,i,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<n&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},o.prototype.State=n(62389),e.exports=o},36020:function(e,t,n){"use strict";var r=n(21473),a=[["normalize",n(75615)],["block",n(37262)],["inline",n(50127)],["linkify",n(65644)],["replacements",n(652)],["smartquotes",n(34335)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(53706),e.exports=o},92241:function(e,t,n){"use strict";var r=n(21473),a=[["text",n(96733)],["newline",n(22051)],["escape",n(52960)],["backticks",n(61191)],["strikethrough",n(30832).w],["emphasis",n(98052).w],["link",n(68839)],["image",n(39590)],["autolink",n(84145)],["html_inline",n(20354)],["entity",n(44659)]],o=[["balance_pairs",n(93296)],["strikethrough",n(30832).g],["emphasis",n(98052).g],["text_collapse",n(72300)]];function i(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}i.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),o=a.length,i=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<i)for(n=0;n<o&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},i.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,n,r){var a,o,i,s=new this.State(e,t,n,r);for(this.tokenize(s),i=(o=this.ruler2.getRules("")).length,a=0;a<i;a++)o[a](s)},i.prototype.State=n(4160),e.exports=i},45815:function(e){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},36101:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},67545:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},54065:function(e,t,n){"use strict";var r=n(58201).assign,a=n(58201).unescapeAll,o=n(58201).escapeHtml,i={};function s(){this.rules=r({},i)}i.code_inline=function(e,t,n,r,a){var i=e[t];return"<code"+a.renderAttrs(i)+">"+o(e[t].content)+"</code>"},i.code_block=function(e,t,n,r,a){var i=e[t];return"<pre"+a.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,n,r,i){var s,l,c,u,p,d=e[t],m=d.info?a(d.info).trim():"",h="",f="";return m&&(h=(c=m.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,h,f)||o(d.content)).indexOf("<pre")?s+"\n":m?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),p={attrs:u},"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},i.image=function(e,t,n,r,a){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=a.renderInlineAsText(o.children,n,r),a.renderToken(e,t,n)},i.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return o(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,a="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===i.nesting?"</":"<")+i.tag,a+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(a+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===i.tag)&&(o=!1)),a+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,a="",o=this.rules,i=0,s=e.length;i<s;i++)void 0!==o[r=e[i].type]?a+=o[r](e,i,t,n,this):a+=this.renderToken(e,i,t);return a},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,o=e.length;a<o;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type&&(r+=this.renderInlineAsText(e[a].children,t,n));return r},s.prototype.render=function(e,t,n){var r,a,o,i="",s=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(o=e[r].type)?i+=this.renderInline(e[r].children,t,n):void 0!==s[o]?i+=s[e[r].type](e,r,t,n,this):i+=this.renderToken(e,r,t,n);return i},e.exports=s},21473:function(e){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},61264:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j=e.lineMax,S=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(a)return!0;for(l=m=e.sCount[t]+1,32===e.src.charCodeAt(S)?(S++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[t]+m)%4==3?(S++,l++,m++,o=!1):o=!0):y=!1,h=[e.bMarks[t]],e.bMarks[t]=S;S<x&&(i=e.src.charCodeAt(S),r(i));)9===i?m+=4-(m+e.bsCount[t]+(o?1:0))%4:m++,S++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=S>=x,v=[e.sCount[t]],e.sCount[t]=m-l,k=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(C=e.sCount[d]<e.blkIndent,!((S=e.bMarks[d]+e.tShift[d])>=(x=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(S++)||C){if(u)break;for(E=!1,s=0,c=w.length;s<c;s++)if(w[s](e,d,n,!0)){E=!0;break}if(E){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(l=m=e.sCount[d]+1,32===e.src.charCodeAt(S)?(S++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[d]+m)%4==3?(S++,l++,m++,o=!1):o=!0):y=!1,h.push(e.bMarks[d]),e.bMarks[d]=S;S<x&&(i=e.src.charCodeAt(S),r(i));)9===i?m+=4-(m+e.bsCount[d]+(o?1:0))%4:m++,S++;u=S>=x,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=m-l,k.push(e.tShift[d]),e.tShift[d]=S-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=p=[t,0],e.md.block.tokenize(e,t,d),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=j,e.parentType=b,p[1]=e.line,s=0;s<k.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=k[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=f[s];return e.blkIndent=g,!0}},63390:function(e){"use strict";e.exports=function(e,t,n){var r,a,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(o=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!0),o.map=[t,e.line],!0}},7477:function(e){"use strict";e.exports=function(e,t,n,r){var a,o,i,s,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>m)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(l=d,(o=(d=e.skipChars(d,a))-l)<3)return!1;if(u=e.src.slice(l,d),i=e.src.slice(d,m),96===a&&i.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((d=l=e.bMarks[s]+e.tShift[s])<(m=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,a))-l<o||(d=e.skipSpaces(d))<m)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=i,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},66926:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(i=1,o=e.src.charCodeAt(++c);35===o&&c<u&&i<=6;)i++,o=e.src.charCodeAt(++c);return!(i>6||c<u&&!r(o))&&(a||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}},94438:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(i=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&i++}return!(i<3)&&(a||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(o))),!0)}},77476:function(e,t,n){"use strict";var r=n(4692),a=n(75501).q,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),a=0;a<o.length&&!o[a][0].test(l);a++);if(a===o.length)return!1;if(r)return o[a][2];if(i=t+1,!o[a][1].test(l))for(;i<n&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),o[a][1].test(l)){0!==l.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}},22288:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s,l,c,u,p,d,m=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";m<n&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(l=e.bMarks[m]+e.tShift[m])<(c=e.eMarks[m])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[m]<0)){for(a=!1,o=0,i=h.length;o<i;o++)if(h[o](e,m,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,m,e.blkIndent,!1).trim(),e.line=m+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},90185:function(e,t,n){"use strict";var r=n(58201).isSpace;function a(e,t){var n,a,o,i;return a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n||a<o&&(i=e.src.charCodeAt(a),!r(i))?-1:a}function o(e,t){var n,a=e.bMarks[t]+e.tShift[t],o=a,i=e.eMarks[t];if(o+1>=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-a>=10)return-1}return o<i&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j,S,x,T,N,P,A,I,M,B=!1,R=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(B=!0),(T=o(e,t))>=0){if(d=!0,P=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(P,T-P-1)),B&&1!==v)return!1}else{if(!((T=a(e,t))>=0))return!1;d=!1}if(B&&e.skipSpaces(T)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(T-1),r)return!0;for(g=e.tokens.length,d?(M=e.push("ordered_list_open","ol",1),1!==v&&(M.attrs=[["start",v]])):M=e.push("bullet_list_open","ul",1),M.map=f=[t,0],M.markup=String.fromCharCode(b),y=t,N=!1,I=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";y<n;){for(x=T,k=e.eMarks[y],p=E=e.sCount[y]+T-(e.bMarks[t]+e.tShift[t]);x<k;){if(9===(i=e.src.charCodeAt(x)))E+=4-(E+e.bsCount[y])%4;else{if(32!==i)break;E++}x++}if((u=(s=x)>=k?1:E-p)>4&&(u=1),c=p+u,(M=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),M.map=m=[t,0],S=e.tight,j=e.tShift[t],C=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=k&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!N||(R=!1),N=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=j,e.sCount[t]=C,e.tight=S,(M=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),y=t=e.line,m[1]=y,s=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(A=!1,l=0,h=I.length;l<h;l++)if(I[l](e,y,n,!0)){A=!0;break}if(A)break;if(d){if((T=o(e,y))<0)break}else if((T=a(e,y))<0)break;if(b!==e.src.charCodeAt(T-1))break}return(M=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),f[1]=y,e.line=y,e.parentType=_,R&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},13958:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,a=0,o=c.length;a<o;a++)if(c[a](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=n,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}},48707:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t,n,o){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w=0,_=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],j=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(_))return!1;for(;++_<C;)if(93===e.src.charCodeAt(_)&&92!==e.src.charCodeAt(_-1)){if(_+1===C)return!1;if(58!==e.src.charCodeAt(_+1))return!1;break}for(c=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";j<c&&!e.isEmpty(j);j++)if(!(e.sCount[j]-e.blkIndent>3||e.sCount[j]<0)){for(k=!1,p=0,d=y.length;p<d;p++)if(y[p](e,j,c,!0)){k=!0;break}if(k)break}for(C=(v=e.getLines(t,j,e.blkIndent,!1).trim()).length,_=1;_<C;_++){if(91===(i=v.charCodeAt(_)))return!1;if(93===i){h=_;break}(10===i||92===i&&++_<C&&10===v.charCodeAt(_))&&w++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(_=h+2;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;if(!(g=e.md.helpers.parseLinkDestination(v,_,C)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=_=g.pos,l=w+=g.lines,b=_;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;for(g=e.md.helpers.parseLinkTitle(v,_,C),_<C&&b!==_&&g.ok?(E=g.str,_=g.pos,w+=g.lines):(E="",_=s,w=l);_<C&&(i=v.charCodeAt(_),a(i));)_++;if(_<C&&10!==v.charCodeAt(_)&&E)for(E="",_=s,w=l;_<C&&(i=v.charCodeAt(_),a(i));)_++;return!(_<C&&10!==v.charCodeAt(_))&&(!!(m=r(v.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:E,href:u}),e.parentType=f,e.line=t+w+1),!0))}},62389:function(e,t,n){"use strict";var r=n(82069),a=n(58201).isSpace;function o(e,t,n,r){var o,i,s,l,c,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=p=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!d){if(a(o)){u++,9===o?p+=4-p%4:p++;continue}d=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,i,s,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),o=0;d<t;d++,o++){for(i=0,p=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&i<n;){if(s=this.src.charCodeAt(l),a(s))9===s?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(l-p<this.tShift[d]))break;i++}l++}u[o]=i>n?new Array(i-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=r,e.exports=o},33168:function(e,t,n){"use strict";var r=n(58201).isSpace;function a(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,a=e.length,o=!1,i=0,s="";for(t=e.charCodeAt(r);r<a;)124===t&&(o?(s+=e.substring(i,r-1),i=r):(n.push(s+e.substring(i,r)),s="",i=r+1)),o=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(i)),n}e.exports=function(e,t,n,i){var s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(m=(l=a(e,t+1)).split("|"),g=[],u=0;u<m.length;u++){if(!(b=m[u].trim())){if(0===u||u===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?g.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),0===(h=m.length)||h!==g.length)return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(f=e.push("table_open","table",1)).map=v=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<m.length;u++)f=e.push("th_open","th",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u].trim(),f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),d=t+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(E=!1,u=0,p=w.length;u<p;u++)if(w[u](e,d,n,!0)){E=!0;break}if(E)break;if(!(l=a(e,d).trim()))break;if(e.sCount[d]-e.blkIndent>=4)break;for((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),d===t+2&&((f=e.push("tbody_open","tbody",1)).map=k=[t+2,0]),(f=e.push("tr_open","tr",1)).map=[d,d+1],u=0;u<h;u++)f=e.push("td_open","td",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u]?m[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return k&&(f=e.push("tbody_close","tbody",-1),k[1]=d),f=e.push("table_close","table",-1),v[1]=d,e.parentType=y,e.line=d,!0}},37262:function(e){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},50127:function(e){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},65644:function(e,t,n){"use strict";var r=n(58201).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(f=0,t=(i=E[n].children).length-1;t>=0;t--)if("link_close"!==(l=i[t]).type){if("html_inline"===l.type&&(y=l.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(l.content)&&f++),!(f>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,k=e.md.linkify.match(p),c=[],h=l.level,m=0,u=0;u<k.length;u++)g=k[u].url,b=e.md.normalizeLink(g),e.md.validateLink(b)&&(v=k[u].text,v=k[u].schema?"mailto:"!==k[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=k[u].index)>m&&((s=new e.Token("text","",0)).content=p.slice(m,d),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",b]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=v,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),m=k[u].lastIndex);m<p.length&&((s=new e.Token("text","",0)).content=p.slice(m),s.level=h,c.push(s)),E[n].children=i=r(i,t,c)}}else for(t--;i[t].level!==l.level&&"link_open"!==i[t].type;)t--}},75615:function(e){"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},652:function(e){"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return a[t.toLowerCase()]}function i(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}function s(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||a||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&i(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},34335:function(e,t,n){"use strict";var r=n(58201).isWhiteSpace,a=n(58201).isPunctChar,o=n(58201).isMdAsciiPunct,i=/['"]/,s=/['"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,i,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j,S,x;for(j=[],n=0;n<e.length;n++){for(i=e[n],m=e[n].level,_=j.length-1;_>=0&&!(j[_].level<=m);_--);if(j.length=_+1,"text"===i.type){p=0,d=(c=i.content).length;e:for(;p<d&&(s.lastIndex=p,u=s.exec(c));){if(E=w=!0,p=u.index+1,C="'"===u[0],f=32,u.index-1>=0)f=c.charCodeAt(u.index-1);else for(_=n-1;_>=0&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_--)if(e[_].content){f=e[_].content.charCodeAt(e[_].content.length-1);break}if(g=32,p<d)g=c.charCodeAt(p);else for(_=n+1;_<e.length&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_++)if(e[_].content){g=e[_].content.charCodeAt(0);break}if(b=o(f)||a(String.fromCharCode(f)),v=o(g)||a(String.fromCharCode(g)),k=r(f),(y=r(g))?E=!1:v&&(k||b||(E=!1)),k?w=!1:b&&(y||v||(w=!1)),34===g&&'"'===u[0]&&f>=48&&f<=57&&(w=E=!1),E&&w&&(E=b,w=v),E||w){if(w)for(_=j.length-1;_>=0&&(h=j[_],!(j[_].level<m));_--)if(h.single===C&&j[_].level===m){h=j[_],C?(S=t.md.options.quotes[2],x=t.md.options.quotes[3]):(S=t.md.options.quotes[0],x=t.md.options.quotes[1]),i.content=l(i.content,u.index,x),e[h.token].content=l(e[h.token].content,h.pos,S),p+=x.length-1,h.token===n&&(p+=S.length-1),d=(c=i.content).length,j.length=_;continue e}E?j.push({token:n,pos:u.index,single:C,level:m}):w&&C&&(i.content=l(i.content,u.index,"’"))}else C&&(i.content=l(i.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},53706:function(e,t,n){"use strict";var r=n(82069);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},84145:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var a,o,i,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return a=e.src.slice(l+1,u),n.test(a)?(o=e.md.normalizeLink(a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0)):!!t.test(a)&&(o=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0))}},61191:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(a=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=a),e.pos+=l,!0;for(i=s=u;-1!==(i=e.src.indexOf("`",s));){for(s=i+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-i)===l)return t||((o=e.push("code_inline","code",0)).markup=a,o.content=e.src.slice(u,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=i}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=l,!0}},93296:function(e){"use strict";function t(e,t){var n,r,a,o,i,s,l,c,u={},p=t.length;for(n=0;n<p;n++)if((a=t[n]).length=a.length||0,a.close){for(u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1]),i=u[a.marker][a.length%3],(r=n-a.jump-1)<-1&&(r=-1),s=r;r>i;r-=o.jump+1)if((o=t[r]).marker===a.marker&&o.open&&o.end<0&&(l=!1,(o.close||a.open)&&(o.length+a.length)%3==0&&(o.length%3==0&&a.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?t[r-1].jump+1:0,a.jump=n-r+c,a.open=!1,o.end=n,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(u[a.marker][(a.length||0)%3]=s)}}e.exports=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},98052:function(e){"use strict";function t(e,t){var n,r,a,o,i,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(a=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===a.token+1&&t[n-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?i+i:i,o.content="",(o=e.tokens[a.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?i+i:i,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,a=e.pos,o=e.src.charCodeAt(a);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},44659:function(e,t,n){"use strict";var r=n(95926),a=n(58201).has,o=n(58201).isValidEntityCode,i=n(58201).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?i(n):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&a(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},52960:function(e,t,n){"use strict";for(var r=n(58201).isSpace,a=[],o=0;o<256;o++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<i){if((n=e.src.charCodeAt(o))<256&&0!==a[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<i&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},20354:function(e,t,n){"use strict";var r=n(75501).n;e.exports=function(e,t){var n,a,o,i=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=o)&&(!(33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(i).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+a[0].length)),e.pos+=a[0].length,!0))))}},39590:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d,m,h,f,g,b="",v=e.pos,k=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<k&&40===e.src.charCodeAt(u)){for(u++;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(u>=k)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<k&&g!==u&&d.ok)for(m=d.str,u=d.pos;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);else m="";if(u>=k||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<k&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(p=e.env.references[r(s)]))return e.pos=v,!1;b=p.href,m=p.title}return t||(i=e.src.slice(c,l),e.md.inline.parse(i,e.md,e.env,f=[]),(h=e.push("image","img",0)).attrs=n=[["src",b],["alt",""]],h.children=f,h.content=i,m&&n.push(["title",m])),e.pos=u,e.posMax=k,!0}},68839:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d="",m="",h=e.pos,f=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<f&&40===e.src.charCodeAt(c)){for(b=!1,c++;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(c>=f)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d="",g=c;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<f&&g!==c&&u.ok)for(m=u.str,c=u.pos;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);}(c>=f||41!==e.src.charCodeAt(c))&&(b=!0),c++}if(b){if(void 0===e.env.references)return!1;if(c<f&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?i=e.src.slice(g,c++):c=s+1):c=s+1,i||(i=e.src.slice(l,s)),!(p=e.env.references[r(i)]))return e.pos=h,!1;d=p.href,m=p.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=f,!0}},22051:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t){var n,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,a=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<a&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},4160:function(e,t,n){"use strict";var r=n(82069),a=n(58201).isWhiteSpace,o=n(58201).isPunctChar,i=n(58201).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(o),a},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,d,m,h=e,f=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,r=h<b?this.src.charCodeAt(h):32,p=i(n)||o(String.fromCharCode(n)),m=i(r)||o(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:m&&(u||p||(f=!1)),u?g=!1:p&&(d||m||(g=!1)),t?(l=f,c=g):(l=f&&(!g||p),c=g&&(!f||m)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},30832:function(e){"use strict";function t(e,t){var n,r,a,o,i,s=[],l=t.length;for(n=0;n<l;n++)126===(a=t[n]).marker&&-1!==a.end&&(o=t[a.end],(i=e.tokens[a.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=i)}}e.exports.w=function(e,t){var n,r,a,o,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=o,a--),n=0;n<a;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,jump:n/2,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},96733:function(e){"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},72300:function(e){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)a[t].nesting<0&&r--,a[t].level=r,a[t].nesting>0&&r++,"text"===a[t].type&&t+1<o&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},82069:function(e){"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},62098:function(e){"use strict";var t={};function n(e,r){var a;return"string"!=typeof r&&(r=n.defaultChars),a=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),a.push(r);for(n=0;n<e.length;n++)a[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return a}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,i,s,l,c="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=a[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&i))?(c+=(l=r<<12&61440|o<<6&4032|63&i)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&i)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|i<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},9401:function(e){"use strict";var t={};function n(e,r,a){var o,i,s,l,c,u="";for("string"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),c=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),o=0,i=e.length;o<i;o++)if(s=e.charCodeAt(o),a&&37===s&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<i&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},56558:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},36664:function(e,t,n){"use strict";e.exports.encode=n(9401),e.exports.decode=n(62098),e.exports.format=n(56558),e.exports.parse=n(5)},5:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),i=["'"].concat(o),s=["%","/","?",";","#"].concat(i),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,o,i,m,h,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var g=a.exec(f);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=n.exec(f);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,f=f.substr(b.length)),(t||b||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===f.substr(0,2))||b&&p[b]||(f=f.substr(2),this.slashes=!0)),!p[b]&&(h||b&&!d[b])){var v,k,y=-1;for(r=0;r<l.length;r++)-1!==(m=f.indexOf(l[r]))&&(-1===y||m<y)&&(y=m);for(-1!==(k=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,k),f=f.slice(k+1),this.auth=v),y=-1,r=0;r<s.length;r++)-1!==(m=f.indexOf(s[r]))&&(-1===y||m<y)&&(y=m);-1===y&&(y=f.length),":"===f[y-1]&&y--;var E=f.slice(0,y);f=f.slice(y),this.parseHost(E),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var _=this.hostname.split(/\./);for(r=0,o=_.length;r<o;r++){var C=_[r];if(C&&!C.match(c)){for(var j="",S=0,x=C.length;S<x;S++)C.charCodeAt(S)>127?j+="x":j+=C[S];if(!j.match(c)){var T=_.slice(0,r),N=_.slice(r+1),P=C.match(u);P&&(T.push(P[1]),N.unshift(P[2])),N.length&&(f=N.join(".")+f),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=f.indexOf("#");-1!==A&&(this.hash=f.substr(A),f=f.slice(0,A));var I=f.indexOf("?");return-1!==I&&(this.search=f.substr(I),f=f.slice(0,I)),f&&(this.pathname=f),d[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},99889:function(){},93474:function(){},33285:function(){},48282:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},32002:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=7*a,i=365.25*a;function s(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=a)return s(e,o,a,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=a)return Math.round(e/a)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},1625:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var p=0;p<s.length;p++)r.call(i,s[p])&&(l[s[p]]=i[s[p]])}}return l}},40278:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(92213),a=n.n(r),o=n(68211),i=n.n(o),s=n(48468),l=n.n(s)()("photon"),c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function d(e,t){var n;try{n=new URL(e,p)}catch(e){return null}var r,o,s,d,m,h="https:"===n.protocol,f=new URL("https://i0.wp.com");if(m=n.host,/^i[0-2]\.wp\.com$/.test(m))f.pathname=n.pathname,f.hostname=n.hostname;else{if(n.search)return null;var g=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(g=n.pathname.replace("://","//")),n.hostname===u&&(g=n.pathname),f.pathname=g,f.hostname=(r=g,o=a()(r),s=i()(o),d="i"+Math.floor(3*s()),l('determined server "%s" to use with "%s"',d,r),d+".wp.com"),h&&f.searchParams.set("ssl",1)}if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?f.searchParams.set(c[b]||b,t[b]):f.protocol="http:":f.hostname=t[b];return l("generated Photon URL: %s",f.href),f.href}},9587:function(e,t,n){"use strict";var r=n(45843);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},11268:function(e,t,n){e.exports=n(9587)()},45843:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},10753:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,a){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var i=/\+/g;e=e.split(n);var s=1e3;a&&"number"==typeof a.maxKeys&&(s=a.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var u,p,d,m,h=e[c].replace(i,"%20"),f=h.indexOf(r);f>=0?(u=h.substr(0,f),p=h.substr(f+1)):(u=h,p=""),d=decodeURIComponent(u),m=decodeURIComponent(p),t(o,d)?Array.isArray(o[d])?o[d].push(m):o[d]=[o[d],m]:o[d]=m}return o}},68527:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,a){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(a){var o=encodeURIComponent(t(a))+r;return Array.isArray(e[a])?e[a].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[a]))})).join(n):a?encodeURIComponent(t(a))+r+encodeURIComponent(t(e)):""}},76250:function(e,t,n){"use strict";t.decode=t.parse=n(10753),t.encode=t.stringify=n(68527)},97765:function(e,t,n){"use strict";var r=n(11268),a=n.n(r),o=n(99196),i=n.n(o),s=n(63130),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isSupported:s.Gb&&s.WD},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.state.isSupported&&(this.handleVisibilityChange=this.handleVisibilityChange.bind(this),document.addEventListener(s.WD.event,this.handleVisibilityChange))}},{key:"componentWillUnmount",value:function(){this.state.isSupported&&document.removeEventListener(s.WD.event,this.handleVisibilityChange)}},{key:"handleVisibilityChange",value:function(){var e;"function"==typeof this.props.onChange&&(e=this.props).onChange.apply(e,c((0,s.XO)()));"function"==typeof this.props.children&&this.forceUpdate()}},{key:"render",value:function(){return this.props.children?"function"==typeof this.props.children?this.state.isSupported?(e=this.props).children.apply(e,c((0,s.XO)())):this.props.children():i().Children.only(this.props.children):null;var e}}]),t}(i().Component);u.displayName="PageVisibility",u.propTypes={onChange:a().func,children:a().oneOfType([a().node,a().func])},t.Z=u},75031:function(e,t,n){"use strict";var r=n(97765);t.Z=r.Z},63130:function(e,t,n){"use strict";n.d(t,{Gb:function(){return o},WD:function(){return i},XO:function(){return s}});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"}],o=r&&Boolean(document.addEventListener),i=function(){if(!o)return null;var e=!0,t=!1,n=void 0;try{for(var r,i=a[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var s=r.value;if(s.hidden in document)return s}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}return null}(),s=function(){if(!i)return[!0,"visible"];var e=i.hidden,t=i.state;return[!document[e],document[t]]}},2601:function(e){"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)t(e,n[r]);else for(r in n)e[r]=(e[r]||[]).concat(n[r])}e.exports=function(e){var n,r={};return t(r,e),(n=function(e){return function(t){return function(n){var a,o,i=r[n.type],s=t(n);if(i)for(a=0;a<i.length;a++)(o=i[a](n,e))&&e.dispatch(o);return s}}}).effects=r,n}},19551:function(e,t,n){"use strict";var r,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function l(e,t){var n,l;function c(){n=a?new WeakMap:i()}function u(){var n,r,a,o,i,c=arguments.length;for(o=new Array(c),a=0;a<c;a++)o[a]=arguments[a];for(i=t.apply(null,o),(n=l(i)).isUniqueByDependants||(n.lastDependants&&!s(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(s(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),l=a?function(e){var t,a,o,s,l,c=n,u=!0;for(t=0;t<e.length;t++){if(a=e[t],!(l=a)||"object"!=typeof l){u=!1;break}c.has(a)?c=c.get(a):(o=new WeakMap,c.set(a,o),c=o)}return c.has(r)||((s=i()).isUniqueByDependants=u,c.set(r,s)),c.get(r)}:function(){return n},u.getDependants=t,u.clear=c,c(),u}n.d(t,{Z:function(){return l}}),r={},a="undefined"!=typeof WeakMap},54166:function(e,t){"use strict";var n=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__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var i=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&l()}function s(){o(i)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},p=b(0,0,0,0);function d(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=u(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=d(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,s=d(r.width),l=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+i)!==n&&(l-=m(r,"top","bottom")+i)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(a.left,a.top,s,l)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?f(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):p}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,a,o,i,s,l,u=(r=(n=t).x,a=n.y,o=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:a,width:o,height:i,top:a,right:r+o,bottom:i+a,left:r}),l);c(this,{target:e,contentRect:u})},y=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new n,w=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 y(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var _=void 0!==a.ResizeObserver?a.ResizeObserver:w;t.Z=_},68211:function(e){"use strict";var t=256,n=[],r=window,a=Math.pow(t,6),o=Math.pow(2,52),i=2*o,s=255,l=Math.random;function c(e){var n,r=e.length,a=this,o=0,i=a.i=a.j=0,l=a.S=[];for(r||(e=[r++]);o<t;)l[o]=o++;for(o=0;o<t;o++)l[o]=l[i=s&i+e[o%r]+(n=l[o])],l[i]=n;(a.g=function(e){for(var n,r=0,o=a.i,i=a.j,l=a.S;e--;)n=l[o=s&o+1],r=r*t+l[s&(l[o]=l[i=s&i+n])+(l[i]=n)];return a.i=o,a.j=i,r})(t)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(e){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[s&a]=s&(n^=19*t[s&a])+r.charCodeAt(a++);return m(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),m(e)}catch(e){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,m(n)]}}function m(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,s){if(s&&!0===s.global)return s.global=!1,Math.random=e.exports(r,s),s.global=!0,Math.random;var l=s&&s.entropy||!1,h=[],f=(p(u(l?[r,m(n)]:0 in arguments?r:d(),3),h),new c(h));return p(m(f.S),n),function(){for(var e=f.g(6),n=a,r=0;e<o;)e=(e+r)*t,n*=t,r=f.g(1);for(;e>=i;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=l},p(Math.random(),n)},45702:function(e,t,n){const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||c}}e.exports=a;const o=n(75265),{re:i,t:s}=n(75698),l=n(48937),c=n(72840),u=n(88208),p=n(55062)},55062:function(e,t,n){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!h(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,x(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),s("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(/\s+/).join(" ");const l=r?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],f=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),g=(f.length,new Map);for(const e of f){if(h(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const v=[...g.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>g(n,t)&&e.set.some((e=>g(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(T(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const a=new(n(47595))({max:1e3}),o=n(75265),i=n(45702),s=n(72840),l=n(88208),{re:c,t:u,comparatorTrimReplace:p,tildeTrimReplace:d,caretTrimReplace:m}=n(75698),h=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=E(e,t),s("caret",e),e=k(e,t),s("tildes",e),e=_(e,t),s("xrange",e),e=j(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,k=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},E=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{s("caret",e,t);const n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let l;return s("caret",e,t,n,a,o,i),v(n)?l="":v(a)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?l="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),l="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",l),l}))},_=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,((n,r,a,o,i,l)=>{s("xRange",e,n,r,a,o,i,l);const c=v(a),u=c||v(o),p=u||v(i),d=p;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(l="-0"),n=`${r+a}.${o}.${i}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:p&&(n=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},j=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),S=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),x=e=>(t,n,r,a,o,i,s,l,c,u,p,d,m)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=v(c)?"":v(u)?`<${+c+1}.0.0-0`:v(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),T=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==i.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},88208:function(e,t,n){const r=n(72840),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(29609),{re:i,t:s}=n(75698),l=n(75265),{compareIdentifiers:c}=n(15322);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],a=e.build[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},52045:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},48937:function(e,t,n){const r=n(42969),a=n(74619),o=n(74765),i=n(71767),s=n(63590),l=n(94638);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return a(e,n,c);case">":return o(e,n,c);case">=":return i(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},12977:function(e,t,n){const r=n(88208),a=n(38675),{re:o,t:i}=n(75698);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},58230:function(e,t,n){const r=n(88208);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},25112:function(e,t,n){const r=n(50192);e.exports=(e,t)=>r(e,t,!0)},50192:function(e,t,n){const r=n(88208);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},13751:function(e,t,n){const r=n(38675),a=n(42969);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},42969:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>0===r(e,t,n)},74765:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)>0},71767:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)>=0},20177:function(e,t,n){const r=n(88208);e.exports=(e,t,n,a)=>{"string"==typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(e){return null}}},63590:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)<0},94638:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)<=0},51847:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).major},87989:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).minor},74619:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>0!==r(e,t,n)},38675:function(e,t,n){const{MAX_LENGTH:r}=n(29609),{re:a,t:o}=n(75698),i=n(88208),s=n(75265);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},8906:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).patch},85676:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},82576:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(t,e,n)},25709:function(e,t,n){const r=n(58230);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},53907:function(e,t,n){const r=n(55062);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},21978:function(e,t,n){const r=n(58230);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},55641:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},53377:function(e,t,n){const r=n(75698);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(29609).SEMVER_SPEC_VERSION,SemVer:n(88208),compareIdentifiers:n(15322).compareIdentifiers,rcompareIdentifiers:n(15322).rcompareIdentifiers,parse:n(38675),valid:n(55641),clean:n(52045),inc:n(20177),diff:n(13751),major:n(51847),minor:n(87989),patch:n(8906),prerelease:n(85676),compare:n(50192),rcompare:n(82576),compareLoose:n(25112),compareBuild:n(58230),sort:n(21978),rsort:n(25709),gt:n(74765),lt:n(63590),eq:n(42969),neq:n(74619),gte:n(71767),lte:n(94638),cmp:n(48937),coerce:n(12977),Comparator:n(45702),Range:n(55062),satisfies:n(53907),toComparators:n(76055),maxSatisfying:n(33422),minSatisfying:n(17212),minVersion:n(9077),validRange:n(53140),outside:n(44494),gtr:n(2824),ltr:n(34370),intersects:n(30723),simplifyRange:n(23589),subset:n(34992)}},29609:function(e){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},72840:function(e){const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},15322:function(e){const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},75265:function(e){const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},75698:function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(29609),a=n(72840),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let l=0;const c=(e,t,n)=>{const r=l++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},2824:function(e,t,n){const r=n(44494);e.exports=(e,t,n)=>r(e,t,">",n)},30723:function(e,t,n){const r=n(55062);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},34370:function(e,t,n){const r=n(44494);e.exports=(e,t,n)=>r(e,t,"<",n)},33422:function(e,t,n){const r=n(88208),a=n(55062);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},17212:function(e,t,n){const r=n(88208),a=n(55062);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},9077:function(e,t,n){const r=n(88208),a=n(55062),o=n(74765);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const a=e.set[t];let i=null;a.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},44494:function(e,t,n){const r=n(88208),a=n(45702),{ANY:o}=a,i=n(55062),s=n(53907),l=n(74765),c=n(63590),u=n(94638),p=n(71767);e.exports=(e,t,n,d)=>{let m,h,f,g,b;switch(e=new r(e,d),t=new i(t,d),n){case">":m=l,h=u,f=c,g=">",b=">=";break;case"<":m=c,h=p,f=l,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let i=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,d)?i=e:f(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===b)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===b&&f(e,s.semver))return!1}return!0}},23589:function(e,t,n){const r=n(53907),a=n(50192);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const l=e.sort(((e,t)=>a(e,t,n)));for(const e of l){r(e,t,n)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length<p.length?u:t}},34992:function(e,t,n){const r=n(55062),a=n(45702),{ANY:o}=a,i=n(53907),s=n(50192),l=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?[new a(">=0.0.0-0")]:[new a(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=[new a(">=0.0.0")]}const r=new Set;let l,p,d,m,h,f,g;for(const t of e)">"===t.operator||">="===t.operator?l=c(l,t,n):"<"===t.operator||"<="===t.operator?p=u(p,t,n):r.add(t.semver);if(r.size>1)return null;if(l&&p){if(d=s(l.semver,p.semver,n),d>0)return null;if(0===d&&(">="!==l.operator||"<="!==p.operator))return null}for(const e of r){if(l&&!i(e,String(l),n))return null;if(p&&!i(e,String(p),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let b=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,v=!(!l||n.includePrerelease||!l.semver.prerelease.length)&&l.semver;b&&1===b.prerelease.length&&"<"===p.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,l)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(m=c(l,e,n),m===e&&m!==l)return!1}else if(">="===l.operator&&!i(l.semver,String(e),n))return!1;if(p)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=u(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!i(p.semver,String(e),n))return!1;if(!e.operator&&(p||l)&&0!==d)return!1}return!(l&&f&&!p&&0!==d)&&(!(p&&g&&!l&&0!==d)&&(!v&&!b))},c=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=l(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},76055:function(e,t,n){const r=n(55062);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},53140:function(e,t,n){const r=n(55062);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},88090:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7478),a={contextDelimiter:"",onMissingKey:null};function o(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},a)this.options[n]=void 0!==t&&n in t?t[n]:a[n]}o.prototype.getPluralForm=function(e,t){var n,a,o,i=this.pluralForms[e];return i||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(a=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=(0,r.Z)(a)),i=this.pluralForms[e]=o),i(t)},o.prototype.dcnpgettext=function(e,t,n,r,a){var o,i,s;return o=void 0===a?0:this.getPluralForm(e,a),i=n,t&&(i=t+this.options.contextDelimiter+n),(s=this.data[e][i])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)}},80816:function(e,t,n){"use strict";var r=n(90922),a=n.n(r),o=n(92819);const i=a()("dops:analytics");let s,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){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]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);this.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]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,o,i){c.ga.recordPurchase(e,t,n,r,a,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=(0,o.assign)(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),i("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){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),i(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=c},9481:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},11973:function(e,t,n){"use strict";var r=n(9481),a=n(80816);a.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),a.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=a.Z},22874:function(e,t,n){"use strict";n.d(t,{J:function(){return p},F:function(){return d}});var r=n(4981),a=n(9818),o=n(65736),i=n(57535),s=n(41362);const _x=o._x,__=o.__;function l(e){let{spotifyShowUrl:t,spotifyImageUrl:n}=e;return[["core/image",{url:n,linkDestination:"none",href:t,align:"center",width:165,height:40,className:"is-spotify-podcast-badge"}]]}function c(e){let{episodeTrack:t,feedUrl:n}=e;const{guid:r}=t;return[["jetpack/podcast-player",{customPrimaryColor:(0,i.m)(),hexPrimaryColor:(0,i.m)(),url:n,selectedEpisodes:r?[{guid:r}]:[],showCoverArt:!1,showEpisodeTitle:!1,showEpisodeDescription:!1}]]}function u(e){let{spotifyShowUrl:t,spotifyImageUrl:n,episodeTrack:o={},feedUrl:i}=e;const s=[...c({episodeTrack:o,feedUrl:i})];return t&&n&&s.push(...l({spotifyShowUrl:t,spotifyImageUrl:n})),s.push(...function(e){let{episodeTrack:t}=e;const n=[["core/heading",{level:3,content:_x("Summary","noun: summary of a podcast episode","jetpack"),placeholder:__("Podcast episode title","jetpack")}]],a=(0,r.pasteHandler)({HTML:t.description_html,mode:"BLOCKS"});return a.length?n.push(...a):n.push(["core/paragraph",{placeholder:__("Podcast episode summary","jetpack")}]),n}({episodeTrack:o})),s.push(...function(){const e="jetpack/conversation";return(0,a.select)("core/blocks").getBlockType(e)?[[e,{participants:[{slug:"participant-0",label:__("Speaker 1","jetpack")},{slug:"participant-1",label:__("Speaker 2","jetpack")},{slug:"participant-2",label:__("Speaker 3","jetpack")}]},[["core/heading",{level:3,content:__("Transcription","jetpack"),placeholder:__("Podcast episode transcription","jetpack")}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-0"}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-1"}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-2"}]]]]:[["core/heading",{level:3,content:__("Transcription","jetpack"),placeholder:__("Podcast episode transcription","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}]]}()),s}function p(e){return(0,s.Z)(u(e))}function d(e){if(e.spotifyImageUrl&&e.spotifyShowUrl)return(0,s.Z)([...l(e)])}},63533:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(55609),u=n(92819);const __=l.__,p="09:00",d="17:00";class m extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,{opening:r,closing:a}=e;return(0,o.createElement)(o.Fragment,{key:t},(0,o.createElement)("div",{className:"business-hours__row"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.TextControl,{type:"time",label:__("Opening","jetpack"),value:r,className:"business-hours__open",placeholder:p,onChange:e=>{this.setHour(e,"opening",t)}}),(0,o.createElement)(c.TextControl,{type:"time",label:__("Closing","jetpack"),value:a,className:"business-hours__close",placeholder:d,onChange:e=>{this.setHour(e,"closing",t)}})),(0,o.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,o.createElement)(c.Button,{isSmall:!0,isLink:!0,icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,o.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")}," "),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.Button,{isLink:!0,label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,o.createElement)("div",{className:"business-hours__remove"}," ")))})),a()(this,"setHour",((e,t,n)=>{const{day:r,attributes:a,setAttributes:o}=this.props,{days:i}=a;o({days:i.map((a=>a.name===r.name?{...a,hours:a.hours.map(((r,a)=>a===n?{...r,[t]:e}:r))}:a))})})),a()(this,"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:p,closing:d}]:[];return{...n,hours:t}}return n}))})})),a()(this,"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))})})),a()(this,"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,u.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,o.createElement)(c.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,o.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,o.createElement)("div",{className:s()(e.name,"business-hours__day")},this.renderDayToggle()),(0,o.createElement)("div",{className:s()(e.name,"closed","business-hours__hours")}," "),(0,o.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}t.Z=m},20920:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(69771),l=n(92819);const _x=i._x;class c extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,r=n.hours;return(0,o.createElement)("span",{key:t},(0,i.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),r.length>1+t&&(0,o.createElement)("span",null,", "))}))}formatTime(e){const{timeFormat:t}=this.props,[n,r]=e.split(":"),a=new Date;return!(!n||!r)&&(a.setHours(n),a.setMinutes(r),(0,s.date)(t,a))}render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,o.createElement)("div",{className:"jetpack-business-hours__item"},(0,o.createElement)("dt",{className:e.name},t.days[e.name]),(0,o.createElement)("dd",null,(0,l.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,o.createElement)("br",null)))}}t.Z=c},85932:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(27538),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(89105),p=n.n(u),d=n(65736),m=n(69771),h=n(52175),f=n(55609),g=n(63533),b=n(20920),v=n(8042);const __=d.__,k={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0};class y extends s.Component{constructor(){super(...arguments),i()(this,"state",{localization:k,hasFetched:!1})}componentDidMount(){this.apiFetch()}apiFetch(){this.setState({data:k},(()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{this.setState({localization:e,hasFetched:!0})}),(()=>{this.setState({localization:k,hasFetched:!0})}))}))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{days:r}=e,{localization:o,hasFetched:i}=this.state,{startOfWeek:l}=o,c=r.concat(r.slice(0,l)).slice(l);if(!i)return(0,s.createElement)(f.Placeholder,{icon:(0,s.createElement)(h.BlockIcon,{icon:v.qv}),label:__("Loading business hours","jetpack")});if(!n){const e=(0,m.__experimentalGetSettings)(),{formats:{time:n}}=e;return(0,s.createElement)("dl",{className:p()(t,"jetpack-business-hours")},c.map(((e,t)=>(0,s.createElement)(b.Z,{key:t,day:e,localization:o,timeFormat:n}))))}return(0,s.createElement)("div",{className:p()(t,"is-edit")},c.map(((e,t)=>(0,s.createElement)(g.Z,a()({key:t,day:e,localization:o},this.props)))))}}t.Z=y},8042:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},qv:function(){return p},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(85932),s=n(41632),l=n(57535);const __=a.__,_x=a._x,c=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],u="business-hours",p=(0,s.Z)((0,r.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),d={title:__("Business Hours","jetpack"),description:__("Display opening hours for your business.","jetpack"),icon:{src:p,foreground:(0,l.m)()},category:"grow",supports:{html:!0},keywords:[_x("opening hours","block search term","jetpack"),_x("closing time","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("working day","block search term","jetpack")],attributes:{days:{type:"array",default:c}},edit:e=>(0,r.createElement)(i.Z,e),save:()=>null,example:{attributes:{days:c}}}},83487:function(e,t,n){"use strict";var r=n(92819),a=n(55609);const o=(0,a.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:a}=t,o=(0,r.get)(n,"color"),i=!(0,r.get)(a,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:a||!i?void 0:getComputedStyle(i).color}}));t.Z=o},70443:function(e,t,n){"use strict";var r=n(68039);t.Z={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.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:r.Z},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},24429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(77012);const __=o.__;function s(e){let{borderRadius:t="",setAttributes:n}=e;const o=(0,r.useCallback)((e=>n({borderRadius:e})),[n]);return(0,r.createElement)(a.PanelBody,{title:__("Border Settings","jetpack")},(0,r.createElement)(a.RangeControl,{allowReset:!0,initialPosition:i.pg,label:__("Border radius","jetpack"),max:i.Gp,min:i.G0,onChange:o,value:t}))}},63020:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(65736);const __=o.__;function i(e){let{isGradientAvailable:t,backgroundColor:n,fallbackBackgroundColor:o,fallbackTextColor:i,gradientValue:s,setBackgroundColor:l,setGradient:c,setTextColor:u,textColor:p}=e;const d=(0,r.createElement)(a.ContrastChecker,{backgroundColor:n.color,fallbackBackgroundColor:o,fallbackTextColor:i,isLargeText:!1,textColor:p.color});return t?(0,r.createElement)(a.__experimentalPanelColorGradientSettings,{settings:[{colorValue:p.color,label:__("Text Color","jetpack"),onColorChange:u},{colorValue:n.color,gradientValue:s,label:__("Background","jetpack"),onColorChange:l,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,r.createElement)(a.PanelColorSettings,{colorSettings:[{value:p.color,onChange:u,label:__("Text Color","jetpack")},{value:n.color,onChange:l,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},80790:function(e,t,n){"use strict";n.d(t,{Z:function(){return p},h:function(){return d}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=[{value:"px",label:"px",default:150},{value:"%",label:"%",default:100},{value:"em",label:"em",default:10}],c=[{value:"px",label:"px",default:150},{value:"em",label:"em",default:10}],u=["25%","50%","75%","100%"];function p(e){return(0,r.createElement)(i.PanelBody,{title:__("Width settings","jetpack")},(0,r.createElement)(d,e))}function d(e){let{align:t,width:n,onChange:a}=e;const[s,p]=(0,r.useState)(null);(0,r.useEffect)((()=>{void 0===n&&p("px")}),[n]);const d="left"===t||"right"===t;return(0,r.createElement)(i.BaseControl,{label:__("Button width","jetpack")},(0,r.createElement)("div",{className:o()("jetpack-button__width-settings",{"is-aligned":d})},!d&&(0,r.createElement)(i.ButtonGroup,{"aria-label":__("Percentage Width","jetpack")},u.map((e=>(0,r.createElement)(i.Button,{key:e,isSmall:!0,isPrimary:e===n,onClick:()=>function(e){const t=n===e?void 0:e;p("%"),a(t)}(e)},e)))),(0,r.createElement)(i.__experimentalUnitControl,{className:"jetpack-button__custom-width",isResetValueOnUnitChange:!0,max:"%"===s||n?.includes("%")?100:void 0,min:0,onChange:e=>a(e),onUnitChange:e=>p(e),size:"small",units:d?c:l,value:n,unit:s})))}},77012:function(e,t,n){"use strict";n.d(t,{DA:function(){return a},pg:function(){return o},Gp:function(){return i},G0:function(){return s}});var r=n(52175);const a=!!r.__experimentalUseGradient,o=5,i=50,s=0},78593:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(24429),o=n(63020),i=n(80790);function s(e){let{attributes:t,backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,setAttributes:c,setBackgroundColor:u,setTextColor:p,textColor:d,gradientValue:m,setGradient:h,isGradientAvailable:f}=e;const{align:g,borderRadius:b,width:v}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,gradientValue:m,setBackgroundColor:u,setGradient:h,setTextColor:p,textColor:d,isGradientAvailable:f}),(0,r.createElement)(a.Z,{borderRadius:b,setAttributes:c}),(0,r.createElement)(i.Z,{align:g,width:v,onChange:e=>c({width:e})}))}},16867:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(52175),c=n(94333),u=n(65736),p=n(83487),d=n(78593),m=n(77012),h=n(31123);const __=u.__;t.Z=(0,c.compose)((0,l.withColors)({backgroundColor:"background-color"},{textColor:"color"}),p.Z)((function(e){const{attributes:t,backgroundColor:n,className:r,clientId:i,setAttributes:c,textColor:u}=e,{align:p,borderRadius:f,element:g,placeholder:b,text:v,width:k}=t,y=(e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current})(p);(0,h.Z)({attributes:t,clientId:i,setAttributes:c}),(0,o.useEffect)((()=>{y!==p&&("left"===p||"right"===p)&&k?.includes("%")&&c({width:void 0})}),[p,y,c,k]);const{gradientClass:E,gradientValue:w,setGradient:_}=m.DA?(0,l.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},C=s()("wp-block-button",r),j=s()("wp-block-button__link",{"has-background":n.color||w,[n.class]:!w&&n.class,"has-text-color":u.color,[u.class]:u.class,[E]:E,"no-border-radius":0===f,"has-custom-width":!!k}),S={...!n.color&&w?{background:w}:{backgroundColor:n.color},color:u.color,borderRadius:f?f+"px":void 0,width:k};return(0,o.createElement)("div",{className:C},(0,o.createElement)(l.RichText,{allowedFormats:"input"===g?[]:void 0,className:j,disableLineBreaks:"input"===g,onChange:e=>{const t="input"===g?e.replace(/<br>/gim," "):e;c({text:t})},placeholder:b||__("Add text…","jetpack"),style:S,value:v,withoutInteractiveFormatting:!0}),(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(d.Z,a()({gradientValue:w,setGradient:_,isGradientAvailable:m.DA},e))))}))},51245:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(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"}))},32278:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(65736),a=n(70443),o=n(16867),i=n(51245),s=n(41328),l=n(20510);const __=r.__,c="button",u={title:__("Button","jetpack"),icon:i.Z,category:(0,l.Z)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"]},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:a.Z,edit:o.Z,save:s.Z}},41328:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(77012);function l(e){let{attributes:t,blockName:n,uniqueId:a}=e;const{backgroundColor:l,borderRadius:c,className:u,customBackgroundColor:p,customGradient:d,customTextColor:m,gradient:h,saveInPostContent:f,text:g,textColor:b,url:v,width:k}=t;if(!f)return null;const y=(0,i.getColorClassName)("background-color",l),E=s.DA?(0,i.__experimentalGetGradientClass)(h):void 0,w=(0,i.getColorClassName)("color",b),_=o()("wp-block-button","jetpack-submit-button",u,{[`wp-block-jetpack-${n}`]:n}),C=o()("wp-block-button__link",{"has-text-color":b||m,[w]:w,"has-background":l||h||p||d,[y]:y,[E]:E,"no-border-radius":0===c,"has-custom-width":!!k}),j={background:d||void 0,backgroundColor:y||d||h?void 0:p,color:w?void 0:m,borderRadius:c?c+"px":void 0,width:k};return(0,r.createElement)("div",{className:_},(0,r.createElement)(i.RichText.Content,{className:C,"data-id-attr":a||"placeholder",href:v,id:a,rel:"noopener noreferrer",role:"button",style:j,tagName:"a",target:"_blank",value:g}))}},31123:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(9818),o=n(69307);function i(e){let{attributes:t,clientId:n,setAttributes:i}=e;const{passthroughAttributes:s}=t,{attributesToSync:l}=(0,a.useSelect)((e=>{const{getBlockAttributes:a,getBlockRootClientId:o}=e("core/block-editor"),i=a(o(n))||{},l=(0,r.mapValues)(s,(e=>i[e]));return{attributesToSync:(0,r.pickBy)(l,((e,n)=>e!==t[n]))}}));(0,o.useEffect)((()=>{(0,r.isEmpty)(l)||i(l)}),[l,i])}},35932:function(e,t,n){"use strict";var r=n(68039);t.Z={backgroundColor:{type:"string",default:"ffffff",validator:r.Z},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:r.Z},textColor:{type:"string",default:"4D5055",validator:r.Z},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")}}},16485:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(72566);const __=i.__,_x=i._x,l=e=>{let{onEditClick:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{onClick:()=>t(!0)},__("Edit","jetpack")))},c=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:a,embedCode:i,parseEmbedCode:s,setAttributes:l,setEmbedCode:c}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:s,className:`${a}-embed-form-sidebar`},(0,r.createElement)("input",{type:"text",id:"embedCode",onChange:e=>c(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,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)(o.ToggleControl,{label:__("Hide event type details","jetpack"),checked:t,onChange:()=>l({hideEventTypeDetails:!t})})),n&&(0,r.createElement)(o.Notice,{className:`${a}-color-notice`,isDismissible:!1},(0,r.createElement)(o.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},__("Follow these instructions to change the colors in this block.","jetpack"))))};t.ZP=e=>{const{attributes:t,clientId:n,isEditingUrl:o,setAttributes:i,setIsEditingUrl:u}=e,{style:p,url:d}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,r.createElement)(r.Fragment,null,d&&!o&&(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(l,{onEditClick:u})),d&&(0,r.createElement)(s.Z,{clientId:n,styleOptions:m,onSelectStyle:i,activeStyle:p,attributes:t,viewportWidth:500}),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(c,e)))}},77017:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(68039);const __=o.__;t.Z={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:i.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:i.Z},textColor:{type:"string",default:"4D5055",validator:i.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:i.Z},customTextButtonColor:{type:"string",validator:i.Z}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:r,submitButtonClasses:o,backgroundButtonColor:i,textButtonColor:s,customBackgroundButtonColor:l,customTextButtonColor:c,...u}=e,p={text:(d=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:d.submitButtonTextColor||d.textButtonColor,customTextColor:d.customTextButtonColor,backgroundColor:d.submitButtonBackgroundColor||d.backgroundButtonColor,customBackgroundColor:d.customBackgroundButtonColor,url:d.url};var d;return[u,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...p})]]},save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)}}},96537:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=(n(86841),n(92819)),s=n(5157),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(9818),m=n(59040),h=n(35932),f=n(14087),g=n(79042),b=n(79884),v=n(87072),k=n(16485);const __=u.__,_x=u._x;t.Z=(0,c.withNotices)((function(e){const{attributes:t,className:n,clientId:r,name:u,noticeOperations:y,noticeUI:E,setAttributes:w}=e,_=(0,p.getBlockDefaultClassName)(u),C=(0,f.S)(h.Z,t);(0,i.isEqual)(C,t)||w(C);const{backgroundColor:j,hideEventTypeDetails:S,primaryColor:x,textColor:T,style:N,url:P}=C,[A,I]=(0,o.useState)(P),[M,B]=(0,o.useState)(!1),[R,L]=(0,o.useState)(!1),[Z,F]=(0,o.useState)({}),D=()=>{y.removeAllNotices(),y.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,o.useEffect)((()=>{P&&b.lR!==P&&"link"!==N&&(0,v.Z)(P,L).catch((()=>{w({url:void 0}),D()}))}),[]);const O=e=>{if(!e)return void D();e.preventDefault();const t=(0,g.CC)(A);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,d.select)("core/editor").getBlocksByClientId(r);e.length&&e[0].innerBlocks.forEach((e=>{(0,d.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),F(t.buttonAttributes)}(0,v.Z)(t.url,L).then((()=>{const e=(0,f.S)(h.Z,t);w(e),B(!1),y.removeAllNotices()})).catch((()=>{w({url:void 0}),D()}))}else D()},z=(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(c.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack"))),U=(0,o.createElement)(c.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:(0,o.createElement)(l.BlockIcon,{icon:m.Z}),notices:E},(0,o.createElement)("form",{onSubmit:O},(0,o.createElement)("input",{type:"text",id:"embedCode",onChange:e=>I(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:A||"",className:"components-placeholder__input"}),(0,o.createElement)("div",null,(0,o.createElement)(c.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,o.createElement)("div",{className:`${_}-learn-more`},(0,o.createElement)(c.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),$=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:`${_}-overlay`}),(0,o.createElement)("iframe",{src:(()=>{const e=s.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:S?1:0,background_color:j,primary_color:x,text_color:T});return`${P}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),V=(0,o.createElement)(l.InnerBlocks,{template:[[b.Ss.name,{...b.Ss.attributes,...Z,passthroughAttributes:{url:"url"}}]],templateLock:"all"});if(R)return z;let G=n;return P&&!M&&(G+=` calendly-style-${N}`),(0,o.createElement)("div",{className:G},(0,o.createElement)(k.ZP,a()({},e,{defaultClassName:_,embedCode:A,isEditingUrl:M,parseEmbedCode:O,setEmbedCode:I,setIsEditingUrl:B})),P&&!M?"inline"===N?$:V:U)}))},59040:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19,1h-2.3v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H8.6v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H4C1.8,1,0,2.8,0,5 v15c0,2.2,1.8,4,4,4h15c2.2,0,4-1.8,4-4V5C23,2.8,21.2,1,19,1z M21,20c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V5c0-1.1,0.9-2,2-2h2.6 v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3h6.1v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3H19c1.1,0,2,0.9,2,2V20z M13.9,14.8l1.4,1.4 c-0.9,0.9-2.1,1.3-3.5,1.3c-2.4,0-4.5-2.1-4.5-4.7s2.1-4.7,4.5-4.7c1.4,0,2.5,0.4,3.4,1.1L14,10.9c-0.5-0.4-1.2-0.6-2.1-0.6 c-1.2,0-2.5,1.1-2.5,2.7c0,1.6,1.3,2.7,2.5,2.7C12.7,15.5,13.4,15.3,13.9,14.8z"}))},79884:function(e,t,n){"use strict";n.d(t,{lR:function(){return d},Ss:function(){return m},u2:function(){return h},Xd:function(){return f}});var r=n(65736),a=n(4981),o=n(35932),i=n(77017),s=n(96537),l=n(59040),c=n(56610),u=n(79042),p=n(57535);const __=r.__,_x=r._x,d="https://calendly.com/wpcom/jetpack-block-example",m={name:"jetpack/button",attributes:{element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:d}},h="calendly",f={title:__("Calendly","jetpack"),description:__("Embed a calendar for customers to schedule appointments","jetpack"),icon:{src:l.Z,foreground:(0,p.m)()},category:"grow",keywords:[_x("calendar","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack"),_x("events","block search term","jetpack"),_x("dates","block search term","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:s.Z,save:c.Z,attributes:o.Z,example:{attributes:{hideEventTypeDetails:!1,style:"inline",url:d},innerBlocks:[m]},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&u.mL.test(e.textContent),transform:e=>{const t=(0,u.CC)(e.textContent);return(0,a.createBlock)("jetpack/calendly",t)}}]},deprecated:[i.Z]}},56610:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null))}},79042:function(e,t,n){"use strict";n.d(t,{mL:function(){return r},CC:function(){return 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"),o=r.get("primary_color"),i=r.get("text_color"),s=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(s)&&(t.backgroundColor=a),o&&o.match(s)&&(t.primaryColor=o),i&&i.match(s)&&(t.textColor=i),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}},89534:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Message Sent","jetpack")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0}}},60689:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "<error />".',"jetpack"),{error:(0,r.createElement)("span",null,t)}))}},81316:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(60689);const __=s.__,c=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:s,crmData:c,setCRMData:u}=e;const p=((e,t,n,r)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},n);t.jp_form_ext_enabled=!0,r(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(n,s,c,u);return t?(0,r.createElement)(i.Spinner,null):a?(0,r.createElement)(l.Z,{error:a}):(0,r.createElement)(i.Button,{isSecondary:!0,onClick:p},__("Enable Jetpack Forms Extension","jetpack"))},u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack"));t.Z=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s}=e;return i.can_activate_extension?(0,r.createElement)("div",null,(0,r.createElement)(p,null),(0,r.createElement)("br",null),(0,r.createElement)(c,{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s})):(0,r.createElement)(u,null)}},36080:function(e,t,n){"use strict";var r=n(69307),a=n(53377),o=n.n(a),i=n(55609),s=n(65736),l=n(81316);const __=s.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM is installed but has an invalid version.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Zero BS CRM plugin is now Jetpack CRM. Update to the latest version to integrate your contact form with your CRM.","jetpack")),d=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},(0,r.createInterpolateElement)(__("You can save contacts from Jetpack contact forms in Jetpack CRM. Learn more at <a>jetpackcrm.com</a>","jetpack"),{a:(0,r.createElement)(i.ExternalLink,{href:"https://jetpackcrm.com"})})),m=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You already have the Jetpack CRM plugin installed, but it's not activated. Activate the Jetpack CRM plugin to save contacts from this contact form in your Jetpack CRM.","jetpack")),h=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:s}=e;const[c,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)(!1);return t.jp_form_ext_enabled?o().satisfies(o().coerce(t.crm_version),"3.0.19 - 4.0.0")?(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack")):(0,r.createElement)(i.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack"),checked:a,onChange:e=>s({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack")}):(0,r.createElement)(l.Z,{isActivatingExt:c,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:n})};t.Z=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}=e;const s=o().coerce(t.crm_version);if(t.crm_installed&&!s)return(0,r.createElement)(u,null);if(t.crm_installed&&o().lt(s,"3.0.19"))return(0,r.createElement)(p,null);let l=c.NOT_INSTALLED;return t.crm_active?l=c.ACTIVE:t.crm_installed&&(l=c.INSTALLED),(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===l&&(0,r.createElement)(h,{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}),c.INSTALLED===l&&(0,r.createElement)(m,null),c.NOT_INSTALLED===l&&(0,r.createElement)(d,null))}},6361:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(36080);const __=s.__,c=e=>{let{isFetchingCRMData:t,hasCRMDataError:n,crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c}=e;return t?(0,r.createElement)(i.Spinner,null):n?null:(0,r.createElement)(l.Z,{crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c})};t.Z=e=>{let{jetpackCRM:t,setAttributes:n}=e;const[a,s]=(0,r.useState)(!0),[l,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)();return(0,r.useEffect)((()=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((e=>{if(e.error)throw e.message;u(!1),d(e)})).catch((()=>u(!0))).finally((()=>s(!1)))}),[]),(0,r.createElement)(i.PanelBody,{title:__("CRM Integration","jetpack"),initialOpen:!1},(0,r.createElement)(i.BaseControl,null,(0,r.createElement)(c,{isFetchingCRMData:a,hasCRMDataError:l,crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:n})))}},69802:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(80500),c=n(8523);const __=a.__;t.Z=(0,s.withInstanceId)((function(e){const{id:t,instanceId:n,required:a,label:s,setAttributes:u,width:p,defaultValue:d}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-checkbox-${n}`,className:"jetpack-field jetpack-field-checkbox",label:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:d}),(0,r.createElement)(l.Z,{required:a,label:s,setAttributes:u}),(0,r.createElement)(c.Z,{id:t,required:a,width:p,setAttributes:u}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Checkbox Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Checked by default","jetpack"),checked:d,onChange:e=>u({defaultValue:e?"true":""})}))))})}))},57324:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(80500),c=n(84803),u=n(10745);const __=a.__;t.Z=(0,s.withInstanceId)((e=>{var t;let{id:n,instanceId:s,width:p,consentType:d,implicitConsentMessage:m,explicitConsentMessage:h,setAttributes:f}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-consent-${s}`,className:"jetpack-field jetpack-field-consent",label:(0,r.createElement)(r.Fragment,null,"explicit"===d&&(0,r.createElement)("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),(0,r.createElement)(l.Z,{required:!1,label:null!==(t={implicit:m,explicit:h}[d])&&void 0!==t?t:"",setAttributes:f,labelFieldName:`${d}ConsentMessage`,placeholder:(0,a.sprintf)(
+!function(){var e,t,n,r,a,o,i={18294:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},82402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},90054:function(e,t,n){"use strict";var r=n(94605),a=n(71253),o=n(52875),i=n(17227),s=n(70173),l=n(24912),c=function(e,t,n){for(var r=0,o=0;r=o,o=(0,a.fj)(),38===r&&12===o&&(t[n]=1),!(0,a.r)(o);)(0,a.lp)();return(0,a.tP)(e,a.FK)},u=function(e,t){return(0,a.cE)(function(e,t){var n=-1,r=44;do{switch((0,a.r)(r)){case 0:38===r&&12===(0,a.fj)()&&(t[n]=1),e[n]+=c(a.FK-1,t,n);break;case 2:e[n]+=(0,a.iF)(r);break;case 4:if(44===r){e[++n]=58===(0,a.fj)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,o.Dp)(r)}}while(r=(0,a.lp)());return e}((0,a.un)(e),t))},p=new WeakMap,d=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||p.get(n))&&!r){p.set(e,!0);for(var a=[],o=u(t,a),i=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=a[s]?o[s].replace(/&\f/g,i[c]):i[c]+" "+o[s]}}},m=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},h=[i.Ji];t.Z=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||h;var o,c,u={},p=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)u[t[n]]=!0;p.push(e)}));var f=[d,m];var g,b=[s.P,(0,i.cD)((function(e){g.insert(e)}))],v=(0,i.qR)(f.concat(a,b));c=function(e,t,n,r){g=n,function(e){(0,s.q)((0,l.MY)(e),v)}(e?e+"{"+t.styles+"}":t.styles),r&&(k.inserted[t.name]=!0)};var k={key:t,sheet:new r.m({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:u,registered:{},insert:c};return k.sheet.hydrate(p),k}},81109:function(e,t){"use strict";t.Z=function(e){for(var t,n=0,r=0,a=e.length;a>=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}},58101:function(e,t){"use strict";t.Z=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},13788:function(e,t,n){"use strict";n.d(t,{E:function(){return f},c:function(){return m},h:function(){return s}});var r=n(99196),a=n(90054),o=n(10431),i=n(90359),s={}.hasOwnProperty,l=(0,r.createContext)("undefined"!=typeof HTMLElement?(0,a.Z)({key:"css"}):null);l.Provider;var c=function(e){return(0,r.forwardRef)((function(t,n){var a=(0,r.useContext)(l);return e(t,a,n)}))},u=(0,r.createContext)({});var p=r.useInsertionEffect?r.useInsertionEffect:function(e){e()};var d="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[d]=e,n},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;(0,o.hC)(t,n,r);p((function(){return(0,o.My)(t,n,r)}));return null},f=c((function(e,t,n){var a=e.css;"string"==typeof a&&void 0!==t.registered[a]&&(a=t.registered[a]);var l=e[d],c=[a],p="";"string"==typeof e.className?p=(0,o.fp)(t.registered,c,e.className):null!=e.className&&(p=e.className+" ");var m=(0,i.O)(c,void 0,(0,r.useContext)(u));p+=t.key+"-"+m.name;var f={};for(var g in e)s.call(e,g)&&"css"!==g&&g!==d&&(f[g]=e[g]);return f.ref=n,f.className=p,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h,{cache:t,serialized:m,isStringTag:"string"==typeof l}),(0,r.createElement)(l,f))}))},94362:function(e,t,n){"use strict";n.d(t,{BX:function(){return i},tZ:function(){return o}});n(99196),n(90054);var r=n(13788),a=(n(57692),n(90359),n(30275));a.Fragment;function o(e,t,n){return r.h.call(t,"css")?(0,a.jsx)(r.E,(0,r.c)(e,t),n):(0,a.jsx)(e,t,n)}function i(e,t,n){return r.h.call(t,"css")?(0,a.jsxs)(r.E,(0,r.c)(e,t),n):(0,a.jsxs)(e,t,n)}},90359:function(e,t,n){"use strict";n.d(t,{O:function(){return f}});var r=n(81109),a=n(40891),o=n(58101),i=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===a.Z[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return m={name:n.name,styles:n.styles,next:m},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)m={name:r.name,styles:r.styles,next:m},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=d(e,t,n[a])+";";else for(var o in n){var i=n[o];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=o+"{"+t[i]+"}":c(i)&&(r+=u(o)+":"+p(o,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=d(e,t,i);switch(o){case"animation":case"animationName":r+=u(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var l=0;l<i.length;l++)c(i[l])&&(r+=u(o)+":"+p(o,i[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=m,o=n(e);return m=a,d(e,t,o)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var m,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var f=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,o="";m=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,o+=d(n,t,i)):o+=i[0];for(var s=1;s<e.length;s++)o+=d(n,t,e[s]),a&&(o+=i[s]);h.lastIndex=0;for(var l,c="";null!==(l=h.exec(o));)c+="-"+l[1];return{name:(0,r.Z)(o)+c,styles:o,next:m}}},94605:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},40891:function(e,t){"use strict";t.Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},10431:function(e,t,n){"use strict";n.d(t,{My:function(){return o},fp:function(){return r},hC:function(){return a}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var a=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){a(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0);o=o.next}while(void 0!==o)}}},61074:function(e,t,n){"use strict";var r=n(69307);t.Z=function(e){let{icon:t,size:n=24,...a}=e;return(0,r.cloneElement)(t,{width:n,height:n,...a})}},58829:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(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 12.8h8v-1.5H8v1.5z"}));t.Z=o},79201:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));t.Z=o},64967:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},15381:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.Z=o},1078:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(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"}));t.Z=o},20843:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.Z=o},77840:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.Z=o},48381:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(a.Path,{d:"M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z"}));t.Z=o},47659:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},30797:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(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"}));t.Z=o},73320:function(e,t){var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)a(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function a(e,a){if(a){var o=typeof a;"string"===o?function(e,t){for(var n=t.split(r),a=n.length,o=0;o<a;++o)e[n[o]]=!0}(e,a):Array.isArray(a)?t(e,a):"object"===o?function(e,t){if(t.toString===Object.prototype.toString)for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,a):"number"===o&&function(e,t){e[t]=!0}(e,a)}}return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=new e;t(o,r);var i=[];for(var s in o)o[s]&&i.push(s);return i.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},65235:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},94273:function(e){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,a,o,i=-1;for(t=0,a=e.length;t<a;t+=1){for(o=255&(i^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;i=i>>>8^o}return-1^i}function a(e,n){var r,o,i;if(void 0!==a.crc&&n&&e||(a.crc=-1,e)){for(r=a.crc,o=0,i=e.length;o<i;o+=1)r=r>>>8^t[255&(r^e[o])];return a.crc=r,-1^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}()},22424:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var a=o(n[0]);a!==n[0]&&(t[n[0]]=a)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var l=i[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},92384:function(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:function(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 o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,a,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var a,o,i,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),i=o[t]),void 0===i)i=o[t]=n,++e._eventsCount;else if("function"==typeof i?i=o[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(a=l(e))>0&&i.length>a&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}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 p(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 d(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;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):h(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function f(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function a(o){r.once&&e.removeEventListener(t,a),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var a="error"===e,o=this._events;if(void 0!==o)a=a&&void 0===o.error;else if(!a)return!1;if(a){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,a,o,i;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){i=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(a=o[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.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"]},r={floor:Math.floor,ceil:Math.ceil};function a(a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j,S=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},x=[],P=0;if(isNaN(a))throw new TypeError("Invalid number");if(s=!0===S.bits,k=!0===S.unix,g=!0===S.pad,i=S.base||10,b=void 0!==S.round?S.round:k?1:2,p=void 0!==S.locale?S.locale:"",d=S.localeOptions||{},y=void 0!==S.separator?S.separator:"",E=void 0!==S.spacer?S.spacer:k?"":" ",_=S.symbols||{},w=2===i?S.standard||"iec":"jedec",f=S.output||"string",c=!0===S.fullform,u=S.fullforms instanceof Array?S.fullforms:[],o=void 0!==S.exponent?S.exponent:-1,C=r[S.roundingMethod]||Math.round,m=(h=Number(a))<0,l=i>2?1e3:1024,j=!1===isNaN(S.precision)?parseInt(S.precision,10):0,m&&(h=-h),(-1===o||isNaN(o))&&(o=Math.floor(Math.log(h)/Math.log(l)))<0&&(o=0),o>8&&(j>0&&(j+=8-o),o=8),"exponent"===f)return o;if(0===h)x[0]=0,v=x[1]=k?"":t[w][s?"bits":"bytes"][o];else{P=h/(2===i?Math.pow(2,10*o):Math.pow(1e3,o)),s&&(P*=8)>=l&&o<8&&(P/=l,o++);var T=Math.pow(10,o>0?b:0);x[0]=C(P*T)/T,x[0]===l&&o<8&&void 0===S.exponent&&(x[0]=1,o++),v=x[1]=10===i&&1===o?s?"kbit":"kB":t[w][s?"bits":"bytes"][o],k&&(x[1]=x[1].charAt(0),e.test(x[1])&&(x[0]=Math.floor(x[0]),x[1]=""))}if(m&&(x[0]=-x[0]),j>0&&(x[0]=x[0].toPrecision(j)),x[1]=_[x[1]]||x[1],!0===p?x[0]=x[0].toLocaleString():p.length>0?x[0]=x[0].toLocaleString(p,d):y.length>0&&(x[0]=x[0].toString().replace(".",y)),g&&!1===Number.isInteger(x[0])&&b>0){var N=y||".",A=x[0].toString().split(N),I=A[1]||"",M=I.length,B=b-M;x[0]="".concat(A[0]).concat(N).concat(I.padEnd(M+B,"0"))}return c&&(x[1]=u[o]?u[o]:n[w][o]+(s?"bit":"byte")+(1===x[0]?"":"s")),"array"===f?x:"object"===f?{value:x[0],symbol:x[1],exponent:o,unit:v}:x.join(E)}return a.partial=function(e){return function(t){return a(t,e)}},a}()},68017:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o<r.length;o++){var i=r[o],s=e[i];(a?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},57692:function(e,t,n){"use strict";var r=n(93801),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=m(n);a&&a!==h&&e(t,a,r)}var i=u(n);p&&(i=i.concat(p(n)));for(var s=l(t),f=l(n),g=0;g<i.length;++g){var b=i[g];if(!(o[b]||r&&r[b]||f&&f[b]||s&&s[b])){var v=d(n,b);try{c(t,b,v)}catch(e){}}}}return t}},84097: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,o=(r=r||{}).Base64,i="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),c=String.fromCharCode,u=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},p=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(p,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[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},h=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)},f=function(e){return h(d(String(e)))},g=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},b=function(e,t){return t?g(f(e)):f(e)},v=function(e){return b(e,!0)};r.Uint8Array&&(a=function(e,t){for(var n="",r=0,a=e.length;r<a;r+=3){var o=e[r],i=e[r+1],l=e[r+2],c=o<<16|i<<8|l;n+=s.charAt(c>>>18)+s.charAt(c>>>12&63)+(void 0!==i?s.charAt(c>>>6&63):"=")+(void 0!==l?s.charAt(63&c):"=")}return t?g(n):n});var k,y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=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 c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(y,E)},_=function(e){var t=e.length,n=t%4,r=(t>0?l[e.charAt(0)]<<18:0)|(t>1?l[e.charAt(1)]<<12:0)|(t>2?l[e.charAt(2)]<<6:0)|(t>3?l[e.charAt(3)]:0),a=[c(r>>>16),c(r>>>8&255),c(255&r)];return a.length-=[0,0,2,1][n],a.join("")},C=r.atob&&"function"==typeof r.atob?function(e){return r.atob(e)}:function(e){return e.replace(/\S{1,4}/g,_)},j=function(e){return C(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},S=function(e){return w(C(e))},x=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},P=function(e){return S(x(e))};r.Uint8Array&&(k=function(e){return Uint8Array.from(j(x(e)),(function(e){return e.charCodeAt(0)}))});var T=function(){var e=r.Base64;return r.Base64=o,e};if(r.Base64={VERSION:i,atob:j,btoa:h,fromBase64:P,toBase64:b,utob:d,encode:b,encodeURI:v,btou:w,decode:P,noConflict:T,fromUint8Array:a,toUint8Array:k},"function"==typeof Object.defineProperty){var N=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N((function(){return P(this)}))),Object.defineProperty(String.prototype,"toBase64",N((function(e){return b(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",N((function(){return b(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)},62232:function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(95843)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?o(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,o,i,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(a=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},95843:function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(44957).source,t.src_Cc=n(19590).source,t.src_Z=n(59939).source,t.src_P=n(95162).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},82746:function(e,t,n){"use strict";const r=n(17811),a=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),h=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[s])return}else n&&(e[m]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},b=e=>{if(e[o]>e[a])for(let t=e[p].tail;e[o]>e[a]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[p].removeNode(t)}};class k{constructor(e,t,n,r,a){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=a||0}}const y=(e,t,n,r)=>{let a=n.value;g(e,a)&&(v(e,n),e[s]||(a=void 0)),a&&t.call(r,a.value,a.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[a]=e.max||1/0;const t=e.length||h;if(this[i]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,b(this)}get max(){return this[a]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,b(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[i]&&(this[i]=e,this[o]=0,this[p].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),b(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[p].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new r,this[o]=0}dump(){return this[p].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[i](t,e);if(this[d].has(e)){if(s>this[a])return v(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=r,i.maxAge=n,i.value=t,this[o]+=s-i.length,i.length=s,this.get(e),b(this),!0}const m=new k(e,t,s,r,n);return m.length>this[a]?(this[c]&&this[c](e,t),!1):(this[o]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),b(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],a=r.e||0;if(0===a)this.set(r.k,r.v);else{const e=a-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},10185:function(e,t,n){"use strict";e.exports=n(9702)},38337:function(e,t,n){"use strict";e.exports=n(84321)},43093:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},36570:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=a},39615:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(38337);var p=/[&<>"]/,d=/[&<>"]/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return m[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var g=n(95162);t.lib={},t.lib.mdurl=n(49236),t.lib.ucmicro=n(84353),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},57007:function(e,t,n){"use strict";t.parseLinkLabel=n(82174),t.parseLinkDestination=n(36990),t.parseLinkTitle=n(15336)},36990:function(e,t,n){"use strict";var r=n(39615).unescapeAll;e.exports=function(e,t,n){var a,o,i=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t)))return s;if(60===a)return s;if(62===a)return s.pos=t+1,s.str=r(e.slice(i+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===a&&++o>32)return s;if(41===a){if(0===o)break;o--}t++}return i===t||0!==o||(s.str=r(e.slice(i,t)),s.lines=0,s.pos=t,s.ok=!0),s}},82174:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)r++;else if(n)return e.pos=c,-1}return a&&(s=e.pos),e.pos=c,s}},15336:function(e,t,n){"use strict";var r=n(39615).unescapeAll;e.exports=function(e,t,n){var a,o,i=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((a=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=i,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===a&&41===o)return l;10===a?i++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&i++),t++}return l}},9702:function(e,t,n){"use strict";var r=n(39615),a=n(57007),o=n(42403),i=n(17742),s=n(99575),l=n(37487),c=n(62232),u=n(49236),p=n(60300),d={default:n(66223),zero:n(11582),commonmark:n(9372)},m=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!m.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function k(e,t){if(!(this instanceof k))return new k(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new i,this.renderer=new o,this.linkify=new c,this.validateLink=f,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}k.prototype.set=function(e){return r.assign(this.options,e),this},k.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},k.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},k.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},k.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},k.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},k.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},k.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},k.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=k},99575:function(e,t,n){"use strict";var r=n(81377),a=[["table",n(12592),["paragraph","reference"]],["code",n(99334)],["fence",n(79783),["paragraph","reference","blockquote","list"]],["blockquote",n(36901),["paragraph","reference","blockquote","list"]],["hr",n(68837),["paragraph","reference","blockquote","list"]],["list",n(46388),["paragraph","reference","blockquote"]],["reference",n(33765)],["html_block",n(33869),["paragraph","reference","blockquote"]],["heading",n(21127),["paragraph","reference","blockquote"]],["lheading",n(5393)],["paragraph",n(24934)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),o=a.length,i=t,s=!1,l=e.md.options.maxNesting;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!a[r](e,i,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<n&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},o.prototype.State=n(75355),e.exports=o},17742:function(e,t,n){"use strict";var r=n(81377),a=[["normalize",n(13837)],["block",n(30884)],["inline",n(25334)],["linkify",n(64756)],["replacements",n(60555)],["smartquotes",n(28867)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(30727),e.exports=o},37487:function(e,t,n){"use strict";var r=n(81377),a=[["text",n(10937)],["newline",n(62378)],["escape",n(8329)],["backticks",n(7912)],["strikethrough",n(54988).w],["emphasis",n(56141).w],["link",n(95028)],["image",n(92560)],["autolink",n(73273)],["html_inline",n(9955)],["entity",n(54408)]],o=[["balance_pairs",n(76399)],["strikethrough",n(54988).g],["emphasis",n(56141).g],["text_collapse",n(52406)]];function i(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}i.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),o=a.length,i=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<i)for(n=0;n<o&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},i.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,n,r){var a,o,i,s=new this.State(e,t,n,r);for(this.tokenize(s),i=(o=this.ruler2.getRules("")).length,a=0;a<i;a++)o[a](s)},i.prototype.State=n(25240),e.exports=i},9372:function(e){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},66223:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},11582:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},42403:function(e,t,n){"use strict";var r=n(39615).assign,a=n(39615).unescapeAll,o=n(39615).escapeHtml,i={};function s(){this.rules=r({},i)}i.code_inline=function(e,t,n,r,a){var i=e[t];return"<code"+a.renderAttrs(i)+">"+o(e[t].content)+"</code>"},i.code_block=function(e,t,n,r,a){var i=e[t];return"<pre"+a.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,n,r,i){var s,l,c,u,p,d=e[t],m=d.info?a(d.info).trim():"",h="",f="";return m&&(h=(c=m.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,h,f)||o(d.content)).indexOf("<pre")?s+"\n":m?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),p={attrs:u},"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},i.image=function(e,t,n,r,a){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=a.renderInlineAsText(o.children,n,r),a.renderToken(e,t,n)},i.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return o(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,a="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===i.nesting?"</":"<")+i.tag,a+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(a+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===i.tag)&&(o=!1)),a+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,a="",o=this.rules,i=0,s=e.length;i<s;i++)void 0!==o[r=e[i].type]?a+=o[r](e,i,t,n,this):a+=this.renderToken(e,i,t);return a},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,o=e.length;a<o;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type?r+=this.renderInlineAsText(e[a].children,t,n):"softbreak"===e[a].type&&(r+="\n");return r},s.prototype.render=function(e,t,n){var r,a,o,i="",s=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(o=e[r].type)?i+=this.renderInline(e[r].children,t,n):void 0!==s[o]?i+=s[e[r].type](e,r,t,n,this):i+=this.renderToken(e,r,t,n);return i},e.exports=s},81377:function(e){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},36901:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j=e.lineMax,S=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(a)return!0;for(l=m=e.sCount[t]+1,32===e.src.charCodeAt(S)?(S++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[t]+m)%4==3?(S++,l++,m++,o=!1):o=!0):y=!1,h=[e.bMarks[t]],e.bMarks[t]=S;S<x&&(i=e.src.charCodeAt(S),r(i));)9===i?m+=4-(m+e.bsCount[t]+(o?1:0))%4:m++,S++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=S>=x,v=[e.sCount[t]],e.sCount[t]=m-l,k=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(C=e.sCount[d]<e.blkIndent,!((S=e.bMarks[d]+e.tShift[d])>=(x=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(S++)||C){if(u)break;for(E=!1,s=0,c=w.length;s<c;s++)if(w[s](e,d,n,!0)){E=!0;break}if(E){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(l=m=e.sCount[d]+1,32===e.src.charCodeAt(S)?(S++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[d]+m)%4==3?(S++,l++,m++,o=!1):o=!0):y=!1,h.push(e.bMarks[d]),e.bMarks[d]=S;S<x&&(i=e.src.charCodeAt(S),r(i));)9===i?m+=4-(m+e.bsCount[d]+(o?1:0))%4:m++,S++;u=S>=x,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=m-l,k.push(e.tShift[d]),e.tShift[d]=S-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=p=[t,0],e.md.block.tokenize(e,t,d),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=j,e.parentType=b,p[1]=e.line,s=0;s<k.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=k[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=f[s];return e.blkIndent=g,!0}},99334:function(e){"use strict";e.exports=function(e,t,n){var r,a,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(o=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}},79783:function(e){"use strict";e.exports=function(e,t,n,r){var a,o,i,s,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>m)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(l=d,(o=(d=e.skipChars(d,a))-l)<3)return!1;if(u=e.src.slice(l,d),i=e.src.slice(d,m),96===a&&i.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((d=l=e.bMarks[s]+e.tShift[s])<(m=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,a))-l<o||(d=e.skipSpaces(d))<m)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=i,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},21127:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(i=1,o=e.src.charCodeAt(++c);35===o&&c<u&&i<=6;)i++,o=e.src.charCodeAt(++c);return!(i>6||c<u&&!r(o))&&(a||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}},68837:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(i=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&i++}return!(i<3)&&(a||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(o))),!0)}},33869:function(e,t,n){"use strict";var r=n(43093),a=n(36570).q,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),a=0;a<o.length&&!o[a][0].test(l);a++);if(a===o.length)return!1;if(r)return o[a][2];if(i=t+1,!o[a][1].test(l))for(;i<n&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),o[a][1].test(l)){0!==l.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}},5393:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s,l,c,u,p,d,m=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";m<n&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(l=e.bMarks[m]+e.tShift[m])<(c=e.eMarks[m])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[m]<0)){for(a=!1,o=0,i=h.length;o<i;o++)if(h[o](e,m,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,m,e.blkIndent,!1).trim(),e.line=m+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},46388:function(e,t,n){"use strict";var r=n(39615).isSpace;function a(e,t){var n,a,o,i;return a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n||a<o&&(i=e.src.charCodeAt(a),!r(i))?-1:a}function o(e,t){var n,a=e.bMarks[t]+e.tShift[t],o=a,i=e.eMarks[t];if(o+1>=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-a>=10)return-1}return o<i&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j,S,x,P,T,N,A,I,M,B=!1,R=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(B=!0),(P=o(e,t))>=0){if(d=!0,N=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(N,P-1)),B&&1!==v)return!1}else{if(!((P=a(e,t))>=0))return!1;d=!1}if(B&&e.skipSpaces(P)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(P-1),r)return!0;for(g=e.tokens.length,d?(M=e.push("ordered_list_open","ol",1),1!==v&&(M.attrs=[["start",v]])):M=e.push("bullet_list_open","ul",1),M.map=f=[t,0],M.markup=String.fromCharCode(b),y=t,T=!1,I=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";y<n;){for(x=P,k=e.eMarks[y],p=E=e.sCount[y]+P-(e.bMarks[t]+e.tShift[t]);x<k;){if(9===(i=e.src.charCodeAt(x)))E+=4-(E+e.bsCount[y])%4;else{if(32!==i)break;E++}x++}if((u=(s=x)>=k?1:E-p)>4&&(u=1),c=p+u,(M=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),M.map=m=[t,0],d&&(M.info=e.src.slice(N,P-1)),S=e.tight,j=e.tShift[t],C=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=k&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!T||(R=!1),T=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=j,e.sCount[t]=C,e.tight=S,(M=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),y=t=e.line,m[1]=y,s=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(A=!1,l=0,h=I.length;l<h;l++)if(I[l](e,y,n,!0)){A=!0;break}if(A)break;if(d){if((P=o(e,y))<0)break;N=e.bMarks[y]+e.tShift[y]}else if((P=a(e,y))<0)break;if(b!==e.src.charCodeAt(P-1))break}return(M=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),f[1]=y,e.line=y,e.parentType=_,R&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},24934:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,a=0,o=c.length;a<o;a++)if(c[a](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=n,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}},33765:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t,n,o){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w=0,_=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],j=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(_))return!1;for(;++_<C;)if(93===e.src.charCodeAt(_)&&92!==e.src.charCodeAt(_-1)){if(_+1===C)return!1;if(58!==e.src.charCodeAt(_+1))return!1;break}for(c=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";j<c&&!e.isEmpty(j);j++)if(!(e.sCount[j]-e.blkIndent>3||e.sCount[j]<0)){for(k=!1,p=0,d=y.length;p<d;p++)if(y[p](e,j,c,!0)){k=!0;break}if(k)break}for(C=(v=e.getLines(t,j,e.blkIndent,!1).trim()).length,_=1;_<C;_++){if(91===(i=v.charCodeAt(_)))return!1;if(93===i){h=_;break}(10===i||92===i&&++_<C&&10===v.charCodeAt(_))&&w++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(_=h+2;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;if(!(g=e.md.helpers.parseLinkDestination(v,_,C)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=_=g.pos,l=w+=g.lines,b=_;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;for(g=e.md.helpers.parseLinkTitle(v,_,C),_<C&&b!==_&&g.ok?(E=g.str,_=g.pos,w+=g.lines):(E="",_=s,w=l);_<C&&(i=v.charCodeAt(_),a(i));)_++;if(_<C&&10!==v.charCodeAt(_)&&E)for(E="",_=s,w=l;_<C&&(i=v.charCodeAt(_),a(i));)_++;return!(_<C&&10!==v.charCodeAt(_))&&(!!(m=r(v.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:E,href:u}),e.parentType=f,e.line=t+w+1),!0))}},75355:function(e,t,n){"use strict";var r=n(71872),a=n(39615).isSpace;function o(e,t,n,r){var o,i,s,l,c,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=p=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!d){if(a(o)){u++,9===o?p+=4-p%4:p++;continue}d=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,i,s,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),o=0;d<t;d++,o++){for(i=0,p=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&i<n;){if(s=this.src.charCodeAt(l),a(s))9===s?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(l-p<this.tShift[d]))break;i++}l++}u[o]=i>n?new Array(i-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=r,e.exports=o},12592:function(e,t,n){"use strict";var r=n(39615).isSpace;function a(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,a=e.length,o=!1,i=0,s="";for(t=e.charCodeAt(r);r<a;)124===t&&(o?(s+=e.substring(i,r-1),i=r):(n.push(s+e.substring(i,r)),s="",i=r+1)),o=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(i)),n}e.exports=function(e,t,n,i){var s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(_=e.src.charCodeAt(c++))&&45!==_&&58!==_)return!1;if(c>=e.eMarks[d])return!1;if(124!==(C=e.src.charCodeAt(c++))&&45!==C&&58!==C&&!r(C))return!1;if(45===_&&r(C))return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(m=(l=a(e,t+1)).split("|"),g=[],u=0;u<m.length;u++){if(!(b=m[u].trim())){if(0===u||u===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?g.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),0===(h=m.length)||h!==g.length)return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(f=e.push("table_open","table",1)).map=v=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<m.length;u++)f=e.push("th_open","th",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u].trim(),f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),d=t+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(E=!1,u=0,p=w.length;u<p;u++)if(w[u](e,d,n,!0)){E=!0;break}if(E)break;if(!(l=a(e,d).trim()))break;if(e.sCount[d]-e.blkIndent>=4)break;for((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),d===t+2&&((f=e.push("tbody_open","tbody",1)).map=k=[t+2,0]),(f=e.push("tr_open","tr",1)).map=[d,d+1],u=0;u<h;u++)f=e.push("td_open","td",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u]?m[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return k&&(f=e.push("tbody_close","tbody",-1),k[1]=d),f=e.push("table_close","table",-1),v[1]=d,e.parentType=y,e.line=d,!0}},30884:function(e){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},25334:function(e){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},64756:function(e,t,n){"use strict";var r=n(39615).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(f=0,t=(i=E[n].children).length-1;t>=0;t--)if("link_close"!==(l=i[t]).type){if("html_inline"===l.type&&(y=l.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(l.content)&&f++),!(f>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,k=e.md.linkify.match(p),c=[],h=l.level,m=0,u=0;u<k.length;u++)g=k[u].url,b=e.md.normalizeLink(g),e.md.validateLink(b)&&(v=k[u].text,v=k[u].schema?"mailto:"!==k[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=k[u].index)>m&&((s=new e.Token("text","",0)).content=p.slice(m,d),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",b]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=v,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),m=k[u].lastIndex);m<p.length&&((s=new e.Token("text","",0)).content=p.slice(m),s.level=h,c.push(s)),E[n].children=i=r(i,t,c)}}else for(t--;i[t].level!==l.level&&"link_open"!==i[t].type;)t--}},13837:function(e){"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},60555:function(e){"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return a[t.toLowerCase()]}function i(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}function s(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||a||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&i(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},28867:function(e,t,n){"use strict";var r=n(39615).isWhiteSpace,a=n(39615).isPunctChar,o=n(39615).isMdAsciiPunct,i=/['"]/,s=/['"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,i,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j,S,x;for(j=[],n=0;n<e.length;n++){for(i=e[n],m=e[n].level,_=j.length-1;_>=0&&!(j[_].level<=m);_--);if(j.length=_+1,"text"===i.type){p=0,d=(c=i.content).length;e:for(;p<d&&(s.lastIndex=p,u=s.exec(c));){if(E=w=!0,p=u.index+1,C="'"===u[0],f=32,u.index-1>=0)f=c.charCodeAt(u.index-1);else for(_=n-1;_>=0&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_--)if(e[_].content){f=e[_].content.charCodeAt(e[_].content.length-1);break}if(g=32,p<d)g=c.charCodeAt(p);else for(_=n+1;_<e.length&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_++)if(e[_].content){g=e[_].content.charCodeAt(0);break}if(b=o(f)||a(String.fromCharCode(f)),v=o(g)||a(String.fromCharCode(g)),k=r(f),(y=r(g))?E=!1:v&&(k||b||(E=!1)),k?w=!1:b&&(y||v||(w=!1)),34===g&&'"'===u[0]&&f>=48&&f<=57&&(w=E=!1),E&&w&&(E=b,w=v),E||w){if(w)for(_=j.length-1;_>=0&&(h=j[_],!(j[_].level<m));_--)if(h.single===C&&j[_].level===m){h=j[_],C?(S=t.md.options.quotes[2],x=t.md.options.quotes[3]):(S=t.md.options.quotes[0],x=t.md.options.quotes[1]),i.content=l(i.content,u.index,x),e[h.token].content=l(e[h.token].content,h.pos,S),p+=x.length-1,h.token===n&&(p+=S.length-1),d=(c=i.content).length,j.length=_;continue e}E?j.push({token:n,pos:u.index,single:C,level:m}):w&&C&&(i.content=l(i.content,u.index,"’"))}else C&&(i.content=l(i.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},30727:function(e,t,n){"use strict";var r=n(71872);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},73273:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var a,o,i,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return a=e.src.slice(l+1,u),n.test(a)?(o=e.md.normalizeLink(a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0)):!!t.test(a)&&(o=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0))}},7912:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(a=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=a),e.pos+=l,!0;for(i=s=u;-1!==(i=e.src.indexOf("`",s));){for(s=i+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-i)===l)return t||((o=e.push("code_inline","code",0)).markup=a,o.content=e.src.slice(u,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=i}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=l,!0}},76399:function(e){"use strict";function t(e,t){var n,r,a,o,i,s,l,c,u={},p=t.length;if(p){var d=0,m=-2,h=[];for(n=0;n<p;n++)if(a=t[n],h.push(0),t[d].marker===a.marker&&m===a.token-1||(d=n),m=a.token,a.length=a.length||0,a.close){for(u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1,-1,-1,-1]),i=u[a.marker][(a.open?3:0)+a.length%3],s=r=d-h[d]-1;r>i;r-=h[r]+1)if((o=t[r]).marker===a.marker&&o.open&&o.end<0&&(l=!1,(o.close||a.open)&&(o.length+a.length)%3==0&&(o.length%3==0&&a.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+c,h[r]=c,a.open=!1,o.end=n,o.close=!1,s=-1,m=-2;break}-1!==s&&(u[a.marker][(a.open?3:0)+(a.length||0)%3]=s)}}}e.exports=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},56141:function(e){"use strict";function t(e,t){var n,r,a,o,i,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(a=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===a.token+1,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?i+i:i,o.content="",(o=e.tokens[a.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?i+i:i,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,a=e.pos,o=e.src.charCodeAt(a);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},54408:function(e,t,n){"use strict";var r=n(38337),a=n(39615).has,o=n(39615).isValidEntityCode,i=n(39615).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?i(n):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&a(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},8329:function(e,t,n){"use strict";for(var r=n(39615).isSpace,a=[],o=0;o<256;o++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<i){if((n=e.src.charCodeAt(o))<256&&0!==a[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<i&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},9955:function(e,t,n){"use strict";var r=n(36570).n;e.exports=function(e,t){var n,a,o,i=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=o)&&(!(33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(i).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+a[0].length)),e.pos+=a[0].length,!0))))}},92560:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d,m,h,f,g,b="",v=e.pos,k=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<k&&40===e.src.charCodeAt(u)){for(u++;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(u>=k)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<k&&g!==u&&d.ok)for(m=d.str,u=d.pos;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);else m="";if(u>=k||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<k&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(p=e.env.references[r(s)]))return e.pos=v,!1;b=p.href,m=p.title}return t||(i=e.src.slice(c,l),e.md.inline.parse(i,e.md,e.env,f=[]),(h=e.push("image","img",0)).attrs=n=[["src",b],["alt",""]],h.children=f,h.content=i,m&&n.push(["title",m])),e.pos=u,e.posMax=k,!0}},95028:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d="",m="",h=e.pos,f=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<f&&40===e.src.charCodeAt(c)){for(b=!1,c++;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(c>=f)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d="",g=c;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<f&&g!==c&&u.ok)for(m=u.str,c=u.pos;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);}(c>=f||41!==e.src.charCodeAt(c))&&(b=!0),c++}if(b){if(void 0===e.env.references)return!1;if(c<f&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?i=e.src.slice(g,c++):c=s+1):c=s+1,i||(i=e.src.slice(l,s)),!(p=e.env.references[r(i)]))return e.pos=h,!1;d=p.href,m=p.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=f,!0}},62378:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t){var n,a,o,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;if(n=e.pending.length-1,a=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i<a&&r(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},25240:function(e,t,n){"use strict";var r=n(71872),a=n(39615).isWhiteSpace,o=n(39615).isPunctChar,i=n(39615).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(o),a},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,d,m,h=e,f=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,r=h<b?this.src.charCodeAt(h):32,p=i(n)||o(String.fromCharCode(n)),m=i(r)||o(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:m&&(u||p||(f=!1)),u?g=!1:p&&(d||m||(g=!1)),t?(l=f,c=g):(l=f&&(!g||p),c=g&&(!f||m)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},54988:function(e){"use strict";function t(e,t){var n,r,a,o,i,s=[],l=t.length;for(n=0;n<l;n++)126===(a=t[n]).marker&&-1!==a.end&&(o=t[a.end],(i=e.tokens[a.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=i)}}e.exports.w=function(e,t){var n,r,a,o,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=o,a--),n=0;n<a;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},10937:function(e){"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},52406:function(e){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)a[t].nesting<0&&r--,a[t].level=r,a[t].nesting>0&&r++,"text"===a[t].type&&t+1<o&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},71872:function(e){"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},64309:function(e){"use strict";var t={};function n(e,r){var a;return"string"!=typeof r&&(r=n.defaultChars),a=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),a.push(r);for(n=0;n<e.length;n++)a[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return a}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,i,s,l,c="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=a[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&i))?(c+=(l=r<<12&61440|o<<6&4032|63&i)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&i)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|i<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},16087:function(e){"use strict";var t={};function n(e,r,a){var o,i,s,l,c,u="";for("string"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),c=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),o=0,i=e.length;o<i;o++)if(s=e.charCodeAt(o),a&&37===s&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<i&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},46175:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},49236:function(e,t,n){"use strict";e.exports.encode=n(16087),e.exports.decode=n(64309),e.exports.format=n(46175),e.exports.parse=n(57507)},57507:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),i=["'"].concat(o),s=["%","/","?",";","#"].concat(i),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,o,i,m,h,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var g=a.exec(f);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=n.exec(f);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,f=f.substr(b.length)),(t||b||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===f.substr(0,2))||b&&p[b]||(f=f.substr(2),this.slashes=!0)),!p[b]&&(h||b&&!d[b])){var v,k,y=-1;for(r=0;r<l.length;r++)-1!==(m=f.indexOf(l[r]))&&(-1===y||m<y)&&(y=m);for(-1!==(k=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,k),f=f.slice(k+1),this.auth=v),y=-1,r=0;r<s.length;r++)-1!==(m=f.indexOf(s[r]))&&(-1===y||m<y)&&(y=m);-1===y&&(y=f.length),":"===f[y-1]&&y--;var E=f.slice(0,y);f=f.slice(y),this.parseHost(E),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var _=this.hostname.split(/\./);for(r=0,o=_.length;r<o;r++){var C=_[r];if(C&&!C.match(c)){for(var j="",S=0,x=C.length;S<x;S++)C.charCodeAt(S)>127?j+="x":j+=C[S];if(!j.match(c)){var P=_.slice(0,r),T=_.slice(r+1),N=C.match(u);N&&(P.push(N[1]),T.unshift(N[2])),T.length&&(f=T.join(".")+f),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=f.indexOf("#");-1!==A&&(this.hash=f.substr(A),f=f.slice(0,A));var I=f.indexOf("?");return-1!==I&&(this.search=f.substr(I),f=f.slice(0,I)),f&&(this.pathname=f),d[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},59961:function(){},18783:function(){},58449:function(){},45460:function(e,t){"use strict";t.Z={iconWrapper:"sDAzdUdcbaYmUMZBe2XW","star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43"}},91853:function(e,t){"use strict";t.Z={"connection-container":"KQcQQLxH5fI08DfOlKwL","connection-toggle":"GkSdCYn_REWEdI_aqvQk"}},75631:function(e,t){"use strict";t.Z={"connections-list":"Ua6eKcnk_tQQpFlgXMSn","components-notice":"SHqrIEguRfCILRHPyxE9"}},78619:function(e,t){"use strict";t.Z={"add-connection-wrapper":"xwd1zFILyAv6XzDjevFA"}},28161:function(e,t){"use strict";t.Z={"publicize-notice":"__nV49on4_ijaV8Brnsw","components-notice":"zZ3Pu7E87XyYIdPR2WTt","components-button":"fLC8AaLf3xcKaoJ4Opax"}},73171:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=7*a,i=365.25*a;function s(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=a)return s(e,o,a,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=a)return Math.round(e/a)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},47563:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var p=0;p<s.length;p++)r.call(i,s[p])&&(l[s[p]]=i[s[p]])}}return l}},69424:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(94273),a=n.n(r),o=n(53191),i=n.n(o),s=n(60686),l=n.n(s)()("photon"),c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function d(e,t){var n;try{n=new URL(e,p)}catch(e){return null}var r,o,s,d,m,h="https:"===n.protocol,f=new URL("https://i0.wp.com");if(m=n.host,/^i[0-2]\.wp\.com$/.test(m))f.pathname=n.pathname,f.hostname=n.hostname;else{if(n.search)return null;var g=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(g=n.pathname.replace("://","//")),n.hostname===u&&(g=n.pathname),f.pathname=g,f.hostname=(r=g,o=a()(r),s=i()(o),d="i"+Math.floor(3*s()),l('determined server "%s" to use with "%s"',d,r),d+".wp.com"),h&&f.searchParams.set("ssl",1)}if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?f.searchParams.set(c[b]||b,t[b]):f.protocol="http:":f.hostname=t[b];return l("generated Photon URL: %s",f.href),f.href}},469:function(e,t,n){"use strict";var r=n(90758);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,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:o,resetWarningCache:a};return n.PropTypes=n,n}},25162:function(e,t,n){e.exports=n(469)()},90758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},56388:function(e,t,n){var r=n(75963);function a(e){this.mode=r.MODE_8BIT_BYTE,this.data=e}a.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=a},46015:function(e){function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},7329:function(e){e.exports={L:1,M:0,Q:3,H:2}},29497:function(e,t,n){var r=n(44177);function a(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}a.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var o=0;o<e.getLength();o++)t[n+o]^=r.gexp(r.glog(this.get(n))+r.glog(e.get(o)));return new a(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=r.glog(this.get(0))-r.glog(e.get(0)),n=new Array(this.getLength()),o=0;o<this.getLength();o++)n[o]=this.get(o);for(o=0;o<e.getLength();o++)n[o]^=r.gexp(r.glog(e.get(o))+t);return new a(n,0).mod(e)}},e.exports=a},41122:function(e,t,n){var r=n(56388),a=n(63714),o=n(46015),i=n(39469),s=n(29497);function l(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=l.prototype;c.addData=function(e){var t=new r(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=a.getRSBlocks(e,this.errorCorrectLevel),n=new o,r=0,s=0;s<t.length;s++)r+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var l=this.dataList[s];n.put(l.mode,4),n.put(l.getLength(),i.getLengthInBits(l.mode,e)),l.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=l.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=i.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},c.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var a=0;a<this.modules.length;a++)for(var o=1*a,i=0;i<this.modules[a].length;i++){var s=1*i;this.modules[a][i]&&(r.beginFill(0,100),r.moveTo(s,o),r.lineTo(s+1,o),r.lineTo(s+1,o+1),r.lineTo(s,o+1),r.endFill())}return r},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=i.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],a=e[n];if(null==this.modules[r][a])for(var o=-2;o<=2;o++)for(var s=-2;s<=2;s++)this.modules[r+o][a+s]=-2==o||2==o||-2==s||2==s||0==o&&0==s}},c.setupTypeNumber=function(e){for(var t=i.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},c.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=i.getBCHTypeInfo(n),a=0;a<15;a++){var o=!e&&1==(r>>a&1);a<6?this.modules[a][8]=o:a<8?this.modules[a+1][8]=o:this.modules[this.moduleCount-15+a][8]=o}for(a=0;a<15;a++){o=!e&&1==(r>>a&1);a<8?this.modules[8][this.moduleCount-a-1]=o:a<9?this.modules[8][15-a-1+1]=o:this.modules[8][15-a-1]=o}this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,a=7,o=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var c=!1;o<e.length&&(c=1==(e[o]>>>a&1)),i.getMask(t,r,s-l)&&(c=!c),this.modules[r][s-l]=c,-1==--a&&(o++,a=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},l.PAD0=236,l.PAD1=17,l.createData=function(e,t,n){for(var r=a.getRSBlocks(e,t),s=new o,c=0;c<n.length;c++){var u=n[c];s.put(u.mode,4),s.put(u.getLength(),i.getLengthInBits(u.mode,e)),u.write(s)}var p=0;for(c=0;c<r.length;c++)p+=r[c].dataCount;if(s.getLengthInBits()>8*p)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*p+")");for(s.getLengthInBits()+4<=8*p&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*p||(s.put(l.PAD0,8),s.getLengthInBits()>=8*p));)s.put(l.PAD1,8);return l.createBytes(s,r)},l.createBytes=function(e,t){for(var n=0,r=0,a=0,o=new Array(t.length),l=new Array(t.length),c=0;c<t.length;c++){var u=t[c].dataCount,p=t[c].totalCount-u;r=Math.max(r,u),a=Math.max(a,p),o[c]=new Array(u);for(var d=0;d<o[c].length;d++)o[c][d]=255&e.buffer[d+n];n+=u;var m=i.getErrorCorrectPolynomial(p),h=new s(o[c],m.getLength()-1).mod(m);l[c]=new Array(m.getLength()-1);for(d=0;d<l[c].length;d++){var f=d+h.getLength()-l[c].length;l[c][d]=f>=0?h.get(f):0}}var g=0;for(d=0;d<t.length;d++)g+=t[d].totalCount;var b=new Array(g),v=0;for(d=0;d<r;d++)for(c=0;c<t.length;c++)d<o[c].length&&(b[v++]=o[c][d]);for(d=0;d<a;d++)for(c=0;c<t.length;c++)d<l[c].length&&(b[v++]=l[c][d]);return b},e.exports=l},63714:function(e,t,n){var r=n(7329);function a(e,t){this.totalCount=e,this.dataCount=t}a.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],a.getRSBlocks=function(e,t){var n=a.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=new Array,i=0;i<r;i++)for(var s=n[3*i+0],l=n[3*i+1],c=n[3*i+2],u=0;u<s;u++)o.push(new a(l,c));return o},a.getRsBlockTable=function(e,t){switch(t){case r.L:return a.RS_BLOCK_TABLE[4*(e-1)+0];case r.M:return a.RS_BLOCK_TABLE[4*(e-1)+1];case r.Q:return a.RS_BLOCK_TABLE[4*(e-1)+2];case r.H:return a.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=a},44177:function(e){for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},n=0;n<8;n++)t.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.EXP_TABLE[n]=t.EXP_TABLE[n-4]^t.EXP_TABLE[n-5]^t.EXP_TABLE[n-6]^t.EXP_TABLE[n-8];for(n=0;n<255;n++)t.LOG_TABLE[t.EXP_TABLE[n]]=n;e.exports=t},75963:function(e){e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},39469:function(e,t,n){var r=n(75963),a=n(29497),o=n(44177),i=0,s=1,l=2,c=3,u=4,p=5,d=6,m=7,h={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;h.getBCHDigit(t)-h.getBCHDigit(h.G15)>=0;)t^=h.G15<<h.getBCHDigit(t)-h.getBCHDigit(h.G15);return(e<<10|t)^h.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;h.getBCHDigit(t)-h.getBCHDigit(h.G18)>=0;)t^=h.G18<<h.getBCHDigit(t)-h.getBCHDigit(h.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return h.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case i:return(t+n)%2==0;case s:return t%2==0;case l:return n%3==0;case c:return(t+n)%3==0;case u:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case p:return t*n%2+t*n%3==0;case d:return(t*n%2+t*n%3)%2==0;case m:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new a([1],0),n=0;n<e;n++)t=t.multiply(new a([1,o.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var a=0;a<t;a++){for(var o=0,i=e.isDark(r,a),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l++)a+l<0||t<=a+l||0==s&&0==l||i==e.isDark(r+s,a+l)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<t-1;r++)for(a=0;a<t-1;a++){var c=0;e.isDark(r,a)&&c++,e.isDark(r+1,a)&&c++,e.isDark(r,a+1)&&c++,e.isDark(r+1,a+1)&&c++,0!=c&&4!=c||(n+=3)}for(r=0;r<t;r++)for(a=0;a<t-6;a++)e.isDark(r,a)&&!e.isDark(r,a+1)&&e.isDark(r,a+2)&&e.isDark(r,a+3)&&e.isDark(r,a+4)&&!e.isDark(r,a+5)&&e.isDark(r,a+6)&&(n+=40);for(a=0;a<t;a++)for(r=0;r<t-6;r++)e.isDark(r,a)&&!e.isDark(r+1,a)&&e.isDark(r+2,a)&&e.isDark(r+3,a)&&e.isDark(r+4,a)&&!e.isDark(r+5,a)&&e.isDark(r+6,a)&&(n+=40);var u=0;for(a=0;a<t;a++)for(r=0;r<t;r++)e.isDark(r,a)&&u++;return n+=10*(Math.abs(100*u/t/t-50)/5)}};e.exports=h},37562:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var a=["value","size","level","bgColor","fgColor","style","includeMargin","imageSettings"],o=["value","size","level","bgColor","fgColor","includeMargin","imageSettings"],i=["renderAs"];function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var a=k(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=n(99196),w=(n(25162),n(41122)),_=n(7329);function C(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r<2048?(t+=String.fromCharCode(192|r>>6),t+=String.fromCharCode(128|63&r)):r<55296||r>=57344?(t+=String.fromCharCode(224|r>>12),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r)):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t+=String.fromCharCode(240|r>>18),t+=String.fromCharCode(128|r>>12&63),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r))}return t}var j={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return e.forEach((function(e,r){var a=null;e.forEach((function(o,i){if(!o&&null!==a)return n.push("M".concat(a+t," ").concat(r+t,"h").concat(i-a,"v1H").concat(a+t,"z")),void(a=null);if(i!==e.length-1)o&&null===a&&(a=i);else{if(!o)return;null===a?n.push("M".concat(i+t,",").concat(r+t," h1v1H").concat(i+t,"z")):n.push("M".concat(a+t,",").concat(r+t," h").concat(i+1-a,"v1H").concat(a+t,"z"))}}))})),n.join("")}function x(e,t){return e.slice().map((function(e,n){return n<t.y||n>=t.y+t.h?e:e.map((function(e,n){return(n<t.x||n>=t.x+t.w)&&e}))}))}function P(e,t){var n=e.imageSettings,r=e.size,a=e.includeMargin;if(null==n)return null;var o=a?4:0,i=t.length+2*o,s=Math.floor(.1*r),l=i/r,c=(n.width||s)*l,u=(n.height||s)*l,p=null==n.x?t.length/2-c/2:n.x*l,d=null==n.y?t.length/2-u/2:n.y*l,m=null;if(n.excavate){var h=Math.floor(p),f=Math.floor(d);m={x:h,y:f,w:Math.ceil(c+p-h),h:Math.ceil(u+d-f)}}return{x:p,y:d,h:u,w:c,excavation:m}}var T=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),N=function(e){h(n,e);var t=g(n);function n(){var e;p(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return y(v(e=t.call.apply(t,[this].concat(a))),"_canvas",void 0),y(v(e),"_image",void 0),y(v(e),"state",{imgLoaded:!1}),y(v(e),"handleImageLoad",(function(){e.setState({imgLoaded:!0})})),e}return m(n,[{key:"componentDidMount",value:function(){this._image&&this._image.complete&&this.handleImageLoad(),this.update()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t,n;(null===(t=this.props.imageSettings)||void 0===t?void 0:t.src)!==(null===(n=e.imageSettings)||void 0===n?void 0:n.src)&&this.setState({imgLoaded:!1})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var e=this.props,t=e.value,n=e.size,r=e.level,a=e.bgColor,o=e.fgColor,i=e.includeMargin,s=e.imageSettings,l=new w(-1,_[r]);if(l.addData(C(t)),l.make(),null!=this._canvas){var c=this._canvas,u=c.getContext("2d");if(!u)return;var p=l.modules;if(null===p)return;var d=i?4:0,m=p.length+2*d,h=P(this.props,p);null!=s&&null!=h&&null!=h.excavation&&(p=x(p,h.excavation));var f=window.devicePixelRatio||1;c.height=c.width=n*f;var g=n/m*f;u.scale(g,g),u.fillStyle=a,u.fillRect(0,0,m,m),u.fillStyle=o,T?u.fill(new Path2D(S(p,d))):p.forEach((function(e,t){e.forEach((function(e,n){e&&u.fillRect(n+d,t+d,1,1)}))})),this.state.imgLoaded&&this._image&&null!=h&&u.drawImage(this._image,h.x+d,h.y+d,h.w,h.h)}}},{key:"render",value:function(){var e=this,t=this.props,n=(t.value,t.size),r=(t.level,t.bgColor,t.fgColor,t.style),o=(t.includeMargin,t.imageSettings),i=u(t,a),l=c({height:n,width:n},r),p=null,d=o&&o.src;return null!=o&&null!=d&&(p=E.createElement("img",{src:d,style:{display:"none"},onLoad:this.handleImageLoad,ref:function(t){return e._image=t}})),E.createElement(E.Fragment,null,E.createElement("canvas",s({style:l,height:n,width:n,ref:function(t){return e._canvas=t}},i)),p)}}]),n}(E.PureComponent);y(N,"defaultProps",j);var A=function(e){h(n,e);var t=g(n);function n(){return p(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this.props,t=e.value,n=e.size,r=e.level,a=e.bgColor,i=e.fgColor,l=e.includeMargin,c=e.imageSettings,p=u(e,o),d=new w(-1,_[r]);d.addData(C(t)),d.make();var m=d.modules;if(null===m)return null;var h=l?4:0,f=m.length+2*h,g=P(this.props,m),b=null;null!=c&&null!=g&&(null!=g.excavation&&(m=x(m,g.excavation)),b=E.createElement("image",{xlinkHref:c.src,height:g.h,width:g.w,x:g.x+h,y:g.y+h,preserveAspectRatio:"none"}));var v=S(m,h);return E.createElement("svg",s({shapeRendering:"crispEdges",height:n,width:n,viewBox:"0 0 ".concat(f," ").concat(f)},p),E.createElement("path",{fill:a,d:"M0,0 h".concat(f,"v").concat(f,"H0z")}),E.createElement("path",{fill:i,d:v}),b)}}]),n}(E.PureComponent);y(A,"defaultProps",j);var I=function(e){var t=e.renderAs,n=u(e,i),r="svg"===t?A:N;return E.createElement(r,n)};I.defaultProps=c({renderAs:"canvas"},j),e.exports=I},40142:function(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,o,i=[];for(o in"string"!=typeof t&&(t="?"),e)if(n.call(e,o)){if((r=e[o])||null!=r&&!isNaN(r)||(r=""),o=a(o),r=a(r),null===o||null===r)continue;i.push(o+"="+r)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,a={};t=n.exec(e);){var o=r(t[1]),i=r(t[2]);null===o||null===i||o in a||(a[o]=i)}return a}},8922:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,f=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,k=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case p:case o:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case f:case l:return e;default:return t}}case a:return t}}}function w(e){return E(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=g,t.Memo=f,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||E(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===f},t.isPortal=function(e){return E(e)===a},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===s||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===k||e.$$typeof===y||e.$$typeof===b)},t.typeOf=E},93801:function(e,t,n){"use strict";e.exports=n(8922)},671:function(e,t,n){"use strict";var r=n(25162),a=n.n(r),o=n(99196),i=n.n(o),s=n(19905),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isSupported:s.Gb&&s.WD},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.state.isSupported&&(this.handleVisibilityChange=this.handleVisibilityChange.bind(this),document.addEventListener(s.WD.event,this.handleVisibilityChange))}},{key:"componentWillUnmount",value:function(){this.state.isSupported&&document.removeEventListener(s.WD.event,this.handleVisibilityChange)}},{key:"handleVisibilityChange",value:function(){var e;"function"==typeof this.props.onChange&&(e=this.props).onChange.apply(e,c((0,s.XO)()));"function"==typeof this.props.children&&this.forceUpdate()}},{key:"render",value:function(){return this.props.children?"function"==typeof this.props.children?this.state.isSupported?(e=this.props).children.apply(e,c((0,s.XO)())):this.props.children():i().Children.only(this.props.children):null;var e}}]),t}(i().Component);u.displayName="PageVisibility",u.propTypes={onChange:a().func,children:a().oneOfType([a().node,a().func])},t.Z=u},90105:function(e,t,n){"use strict";var r=n(671);t.Z=r.Z},19905:function(e,t,n){"use strict";n.d(t,{Gb:function(){return o},WD:function(){return i},XO:function(){return s}});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"}],o=r&&Boolean(document.addEventListener),i=function(){if(!o)return null;var e=!0,t=!1,n=void 0;try{for(var r,i=a[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var s=r.value;if(s.hidden in document)return s}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}return null}(),s=function(){if(!i)return[!0,"visible"];var e=i.hidden,t=i.state;return[!document[e],document[t]]}},24561:function(e,t,n){"use strict";n(47563);var r=n(99196),a=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;a=o("react.element"),t.Fragment=o("react.fragment")}var i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:i.current}}t.jsx=c,t.jsxs=c},30275:function(e,t,n){"use strict";e.exports=n(24561)},24274:function(e){"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)t(e,n[r]);else for(r in n)e[r]=(e[r]||[]).concat(n[r])}e.exports=function(e){var n,r={};return t(r,e),(n=function(e){return function(t){return function(n){var a,o,i=r[n.type],s=t(n);if(i)for(a=0;a<i.length;a++)(o=i[a](n,e))&&e.dispatch(o);return s}}}).effects=r,n}},95386:function(e,t,n){"use strict";var r,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function l(e,t){var n,l;function c(){n=a?new WeakMap:i()}function u(){var n,r,a,o,i,c=arguments.length;for(o=new Array(c),a=0;a<c;a++)o[a]=arguments[a];for(i=t.apply(null,o),(n=l(i)).isUniqueByDependants||(n.lastDependants&&!s(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(s(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),l=a?function(e){var t,a,o,s,l,c=n,u=!0;for(t=0;t<e.length;t++){if(a=e[t],!(l=a)||"object"!=typeof l){u=!1;break}c.has(a)?c=c.get(a):(o=new WeakMap,c.set(a,o),c=o)}return c.has(r)||((s=i()).isUniqueByDependants=u,c.set(r,s)),c.get(r)}:function(){return n},u.getDependants=t,u.clear=c,c(),u}n.d(t,{Z:function(){return l}}),r={},a="undefined"!=typeof WeakMap},82298:function(e){"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:function(e,t){"use strict";var n=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__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var i=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&l()}function s(){o(i)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},p=b(0,0,0,0);function d(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=u(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=d(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,s=d(r.width),l=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+i)!==n&&(l-=m(r,"top","bottom")+i)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(a.left,a.top,s,l)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?f(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):p}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,a,o,i,s,l,u=(r=(n=t).x,a=n.y,o=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:a,width:o,height:i,top:a,right:r+o,bottom:i+a,left:r}),l);c(this,{target:e,contentRect:u})},y=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new n,w=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 y(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var _=void 0!==a.ResizeObserver?a.ResizeObserver:w;t.Z=_},53191:function(e){"use strict";var t=256,n=[],r=window,a=Math.pow(t,6),o=Math.pow(2,52),i=2*o,s=255,l=Math.random;function c(e){var n,r=e.length,a=this,o=0,i=a.i=a.j=0,l=a.S=[];for(r||(e=[r++]);o<t;)l[o]=o++;for(o=0;o<t;o++)l[o]=l[i=s&i+e[o%r]+(n=l[o])],l[i]=n;(a.g=function(e){for(var n,r=0,o=a.i,i=a.j,l=a.S;e--;)n=l[o=s&o+1],r=r*t+l[s&(l[o]=l[i=s&i+n])+(l[i]=n)];return a.i=o,a.j=i,r})(t)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(e){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[s&a]=s&(n^=19*t[s&a])+r.charCodeAt(a++);return m(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),m(e)}catch(e){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,m(n)]}}function m(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,s){if(s&&!0===s.global)return s.global=!1,Math.random=e.exports(r,s),s.global=!0,Math.random;var l=s&&s.entropy||!1,h=[],f=(p(u(l?[r,m(n)]:0 in arguments?r:d(),3),h),new c(h));return p(m(f.S),n),function(){for(var e=f.g(6),n=a,r=0;e<o;)e=(e+r)*t,n*=t,r=f.g(1);for(;e>=i;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=l},p(Math.random(),n)},49079:function(e,t,n){const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||c}}e.exports=a;const o=n(14916),{re:i,t:s}=n(11037),l=n(86574),c=n(29262),u=n(8693),p=n(53538)},53538:function(e,t,n){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!h(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,x(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),s("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(/\s+/).join(" ");const l=r?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],f=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),g=(f.length,new Map);for(const e of f){if(h(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const v=[...g.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>g(n,t)&&e.set.some((e=>g(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const a=new(n(82746))({max:1e3}),o=n(14916),i=n(49079),s=n(29262),l=n(8693),{re:c,t:u,comparatorTrimReplace:p,tildeTrimReplace:d,caretTrimReplace:m}=n(11037),h=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=E(e,t),s("caret",e),e=k(e,t),s("tildes",e),e=_(e,t),s("xrange",e),e=j(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,k=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},E=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{s("caret",e,t);const n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let l;return s("caret",e,t,n,a,o,i),v(n)?l="":v(a)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?l="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),l="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",l),l}))},_=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,((n,r,a,o,i,l)=>{s("xRange",e,n,r,a,o,i,l);const c=v(a),u=c||v(o),p=u||v(i),d=p;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(l="-0"),n=`${r+a}.${o}.${i}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:p&&(n=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},j=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),S=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),x=e=>(t,n,r,a,o,i,s,l,c,u,p,d,m)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=v(c)?"":v(u)?`<${+c+1}.0.0-0`:v(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),P=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==i.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},8693:function(e,t,n){const r=n(29262),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(80581),{re:i,t:s}=n(11037),l=n(14916),{compareIdentifiers:c}=n(68693);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],a=e.build[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},20881:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},86574:function(e,t,n){const r=n(16825),a=n(80525),o=n(68586),i=n(33408),s=n(58546),l=n(66123);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return a(e,n,c);case">":return o(e,n,c);case">=":return i(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},36171:function(e,t,n){const r=n(8693),a=n(82323),{re:o,t:i}=n(11037);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},51310:function(e,t,n){const r=n(8693);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},84773:function(e,t,n){const r=n(256);e.exports=(e,t)=>r(e,t,!0)},256:function(e,t,n){const r=n(8693);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},86690:function(e,t,n){const r=n(82323),a=n(16825);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},16825:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>0===r(e,t,n)},68586:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)>0},33408:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)>=0},73469:function(e,t,n){const r=n(8693);e.exports=(e,t,n,a)=>{"string"==typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(e){return null}}},58546:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)<0},66123:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)<=0},20651:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).major},3857:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).minor},80525:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>0!==r(e,t,n)},82323:function(e,t,n){const{MAX_LENGTH:r}=n(80581),{re:a,t:o}=n(11037),i=n(8693),s=n(14916);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},23982:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).patch},57665:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},48824:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(t,e,n)},3135:function(e,t,n){const r=n(51310);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},44938:function(e,t,n){const r=n(53538);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},13782:function(e,t,n){const r=n(51310);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},75652:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},55589:function(e,t,n){const r=n(11037);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(80581).SEMVER_SPEC_VERSION,SemVer:n(8693),compareIdentifiers:n(68693).compareIdentifiers,rcompareIdentifiers:n(68693).rcompareIdentifiers,parse:n(82323),valid:n(75652),clean:n(20881),inc:n(73469),diff:n(86690),major:n(20651),minor:n(3857),patch:n(23982),prerelease:n(57665),compare:n(256),rcompare:n(48824),compareLoose:n(84773),compareBuild:n(51310),sort:n(13782),rsort:n(3135),gt:n(68586),lt:n(58546),eq:n(16825),neq:n(80525),gte:n(33408),lte:n(66123),cmp:n(86574),coerce:n(36171),Comparator:n(49079),Range:n(53538),satisfies:n(44938),toComparators:n(35559),maxSatisfying:n(43912),minSatisfying:n(80887),minVersion:n(77124),validRange:n(13228),outside:n(62051),gtr:n(48118),ltr:n(80382),intersects:n(27445),simplifyRange:n(19282),subset:n(79910)}},80581:function(e){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},29262:function(e){const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},68693:function(e){const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},14916:function(e){const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},11037:function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(80581),a=n(29262),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let l=0;const c=(e,t,n)=>{const r=l++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},48118:function(e,t,n){const r=n(62051);e.exports=(e,t,n)=>r(e,t,">",n)},27445:function(e,t,n){const r=n(53538);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},80382:function(e,t,n){const r=n(62051);e.exports=(e,t,n)=>r(e,t,"<",n)},43912:function(e,t,n){const r=n(8693),a=n(53538);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},80887:function(e,t,n){const r=n(8693),a=n(53538);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},77124:function(e,t,n){const r=n(8693),a=n(53538),o=n(68586);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const a=e.set[t];let i=null;a.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},62051:function(e,t,n){const r=n(8693),a=n(49079),{ANY:o}=a,i=n(53538),s=n(44938),l=n(68586),c=n(58546),u=n(66123),p=n(33408);e.exports=(e,t,n,d)=>{let m,h,f,g,b;switch(e=new r(e,d),t=new i(t,d),n){case">":m=l,h=u,f=c,g=">",b=">=";break;case"<":m=c,h=p,f=l,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let i=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,d)?i=e:f(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===b)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===b&&f(e,s.semver))return!1}return!0}},19282:function(e,t,n){const r=n(44938),a=n(256);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const l=e.sort(((e,t)=>a(e,t,n)));for(const e of l){r(e,t,n)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length<p.length?u:t}},79910:function(e,t,n){const r=n(53538),a=n(49079),{ANY:o}=a,i=n(44938),s=n(256),l=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?[new a(">=0.0.0-0")]:[new a(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=[new a(">=0.0.0")]}const r=new Set;let l,p,d,m,h,f,g;for(const t of e)">"===t.operator||">="===t.operator?l=c(l,t,n):"<"===t.operator||"<="===t.operator?p=u(p,t,n):r.add(t.semver);if(r.size>1)return null;if(l&&p){if(d=s(l.semver,p.semver,n),d>0)return null;if(0===d&&(">="!==l.operator||"<="!==p.operator))return null}for(const e of r){if(l&&!i(e,String(l),n))return null;if(p&&!i(e,String(p),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let b=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,v=!(!l||n.includePrerelease||!l.semver.prerelease.length)&&l.semver;b&&1===b.prerelease.length&&"<"===p.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,l)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(m=c(l,e,n),m===e&&m!==l)return!1}else if(">="===l.operator&&!i(l.semver,String(e),n))return!1;if(p)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=u(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!i(p.semver,String(e),n))return!1;if(!e.operator&&(p||l)&&0!==d)return!1}return!(l&&f&&!p&&0!==d)&&(!(p&&g&&!l&&0!==d)&&(!v&&!b))},c=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=l(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},35559:function(e,t,n){const r=n(53538);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},13228:function(e,t,n){const r=n(53538);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},6975:function(e,t,n){"use strict";var r=n(51128),a=n.n(r),o=n(92819);const i=a()("dops:analytics");let s,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=(0,o.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]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.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]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,o,i){c.ga.recordPurchase(e,t,n,r,a,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=(0,o.assign)(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),i("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){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),i(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=c},31020:function(e,t,n){"use strict";n.d(t,{av:function(){return h}});var r=n(82402),a=n.n(r),o=n(65235),i=n.n(o),s=n(99196),l=n.n(s),c=n(55609),u=n(45460);function p(e){let{className:t,size:n=24,viewBox:r="0 0 24 24",opacity:o=1,color:s,children:p}=e;const d={className:i()(u.Z.iconWrapper,t),width:n,height:n,viewBox:r,opacity:o};return s&&(d.fill=s),l().createElement(c.SVG,a()({},d,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),l().createElement(c.G,{opacity:o},p))}function d(e){let{className:t,fill:n="none",size:r,children:a}=e;return l().createElement(p,{className:i()(u.Z.socialIcon,t),size:r,fill:n},a)}const m={"anti-spam":e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"m8.455 21.207 8-17.5-.91-.416-1.261 2.76A4.979 4.979 0 0 0 12 5.5c-1.062 0-2.046.33-2.855.895L7.19 4.44 6.13 5.5l1.926 1.927A4.975 4.975 0 0 0 7.025 10H5v1.5h2V13H5v1.5h2.1a5.001 5.001 0 0 0 1.937 3.028L7.545 20.79l.91.416ZM9.68 16.12A3.492 3.492 0 0 1 8.5 13.5v-3a3.5 3.5 0 0 1 5.159-3.083L9.68 16.121Zm5.675-6.62.81-1.77c.44.663.728 1.436.81 2.269H19v1.5h-2V13h2v1.5h-2.1a5.002 5.002 0 0 1-5.634 3.947l.662-1.448L12 17a3.5 3.5 0 0 0 3.5-3.5v-3a3.5 3.5 0 0 0-.145-.998Z"}))},backup:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"m15.82 11.373.013-1.277v-.03c0-1.48-1.352-2.9-3.3-2.9-1.627 0-2.87 1.015-3.205 2.208l-.32 1.143-1.186-.048a2.192 2.192 0 0 0-.089-.002c-1.19 0-2.233 1.008-2.233 2.35 0 1.34 1.04 2.348 2.23 2.35H16.8c.895 0 1.7-.762 1.7-1.8 0-.927-.649-1.643-1.423-1.777l-1.258-.217ZM7.883 8.97l-.15-.003C5.67 8.967 4 10.69 4 12.817c0 2.126 1.671 3.85 3.733 3.85H16.8c1.767 0 3.2-1.478 3.2-3.3 0-1.635-1.154-2.993-2.667-3.255v-.045c0-2.43-2.149-4.4-4.8-4.4-2.237 0-4.118 1.403-4.65 3.303Z",fill:"#000"}))},boost:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"}))},crm:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.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 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"}))},extras:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"}))},protect:e=>{let{opacity:t=1,size:n,className:r}=e;return l().createElement(p,{className:r,size:n,opacity:t},l().createElement(c.Path,{d:"M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z"}),l().createElement(c.Path,{d:"M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z"}))},scan:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"}))},search:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},social:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"}))},star:e=>{let{size:t,className:n=u.Z["star-icon"]}=e;return l().createElement(p,{className:n,size:t},l().createElement(c.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"}))},videopress:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M5.286 4.5h13.428c.434 0 .786.352.786.786v13.428a.786.786 0 0 1-.786.786H5.286a.786.786 0 0 1-.786-.786V5.286c0-.434.352-.786.786-.786ZM3 5.286A2.286 2.286 0 0 1 5.286 3h13.428A2.286 2.286 0 0 1 21 5.286v13.428A2.286 2.286 0 0 1 18.714 21H5.286A2.286 2.286 0 0 1 3 18.714V5.286ZM15 12l-5-3v6l5-3Z"}))},jetpack:e=>{let{size:t,className:n=u.Z.jetpack}=e;return l().createElement(p,{className:n,size:t,viewBox:"0 0 32 32"},l().createElement(c.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),l().createElement(c.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),l().createElement(c.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"}))},facebook:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.facebook,r)},l().createElement(c.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.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))},twitter:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.twitter,r)},l().createElement(c.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))},linkedin:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.linkedin,r)},l().createElement(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))},tumblr:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.tumblr,r)},l().createElement(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},google:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.google,r)},l().createElement(c.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.05h-9.36z"}))}};const h=e=>{let{serviceName:t,className:n}=e;const r=m[a=t]?m[a]:null;var a;return r?l().createElement(r,{className:n}):null}},91202:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(25162),l=n.n(s),c=n(99196),u=n.n(c),p=n(65235),d=n.n(p),m=n(65736);const __=m.__;class h extends u().Component{render(){const{logoColor:e,showText:t,className:n,...r}=this.props,o=t?"0 0 118 32":"0 0 32 32";return u().createElement("svg",a()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:o,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},r),u().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),u().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&&u().createElement(c.Fragment,null,u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"})))}}i()(h,"propTypes",{className:l().string,width:l().number,height:l().number,showText:l().bool,logoColor:l().string}),i()(h,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=h},52947:function(e,t,n){"use strict";var r=n(6028);t.Z=e=>{const t=(0,r.X)();return new Intl.NumberFormat(t).format(e)}},49777:function(e,t,n){"use strict";var r=n(37562),a=n.n(r);t.Z=e=>{let{value:t="https://jetpack.com",bgColor:n,fgColor:r,level:o,includeMargin:i,imageSettings:s,renderAs:l="canvas",size:c=248}=e;return React.createElement(a(),{value:t,size:c,bgColor:n,fgColor:r,level:o,includeMargin:i,imageSettings:s,renderAs:l})}},6028:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});var r=n(69771);const a=()=>{var e,t,n,a;const{l10n:{locale:o}}=(0,r.__experimentalGetSettings)();if(o)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"})(o);return null!==(e=null===(t=window)||void 0===t||null===(n=t.window)||void 0===n||null===(a=n.navigator)||void 0===a?void 0:a.language)&&void 0!==e?e:"en-US"}},26324:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;var a;"undefined"!=typeof window&&(r=null===(a=window.Initial_State)||void 0===a?void 0:a.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const o=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+o}n.d(t,{Z:function(){return r}})},74356:function(e,t,n){"use strict";n.d(t,{LJ:function(){return c.Z},M1:function(){return u.M},dZ:function(){return a.Z},ew:function(){return r.Z},iS:function(){return i.ZP},l0:function(){return o.Z},oL:function(){return l.Z},rP:function(){return s.Z}});n(77771);var r=n(4277),a=n(49021),o=n(95788),i=n(68407),s=n(63609),l=n(37568),c=n(48751),u=n(86419)},85761:function(e,t,n){"use strict";var r=n(25162),a=n.n(r),o=n(31020);const i=e=>{const{id:t,serviceName:n,label:r,profilePicture:a}=e;return React.createElement("label",{htmlFor:t,className:"jetpack-publicize-connection-label"},React.createElement("div",{className:a?"components-connection-icon__picture":""},a&&React.createElement("img",{src:a,alt:r}),React.createElement(o.av,{serviceName:n,className:"jetpack-publicize-gutenberg-social-icon"})),React.createElement("span",{className:"jetpack-publicize-connection-label-copy"},r))};i.propTypes={id:a().string.isRequired,serviceName:a().string,label:a().string,profilePicture:a().string},t.Z=i},24479:function(e,t,n){"use strict";var r=n(65235),a=n.n(r),o=n(25162),i=n.n(o),s=n(55609),l=n(85761);const c=e=>{const{className:t,checked:n,id:r,disabled:o,onChange:i,serviceName:c,label:u,profilePicture:p}=e,d=a()("components-connection-toggle",{"is-not-checked":!n,"is-disabled":o});return React.createElement("div",{className:d},React.createElement(l.Z,{id:r,serviceName:c,label:u,profilePicture:p}),React.createElement(s.FormToggle,{id:r,className:t,checked:n,onChange:i,disabled:o}))};c.propTypes={className:i().string,checked:i().bool,id:i().string.isRequired,disabled:i().bool,onChange:i().func,serviceName:i().string,label:i().string,profilePicture:i().string},t.Z=c},49021:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(65736),i=n(55609),s=n(69307),l=n(94333),c=n(9818);const __=o.__;class u extends s.Component{constructor(){super(...arguments),a()(this,"refreshConnectionClick",(e=>{const{href:t,title:n}=e.target;e.preventDefault();const r=window.open(t,n,""),a=window.setInterval((()=>{!1!==r.closed&&(window.clearInterval(a),this.props.refreshConnections())}),500)}))}componentDidMount(){this.props.refreshConnections()}renderRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>e.can_refresh));return t.length?React.createElement(i.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},React.createElement("p",null,__("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((e=>React.createElement(i.Button,{href:e.refresh_url,isSmall:!0,key:e.id,onClick:this.refreshConnectionClick,title:e.refresh_text},e.refresh_text)))):null}renderNonRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>!e.can_refresh));return t.length?t.map((e=>React.createElement(i.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},React.createElement("p",null,e.test_message)))):null}render(){return React.createElement(s.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}t.Z=(0,l.compose)([(0,c.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections()}))),(0,c.withDispatch)((e=>({refreshConnections:e("jetpack/publicize").refreshConnectionTestResults})))])(u)},4277:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(65736),i=n(69307),s=n(55609),l=n(9818),c=n(92819),u=n(13419),p=n(24479),d=n(91853),m=n(28161);const __=o.__;class h extends i.Component{constructor(){super(...arguments),a()(this,"maybeDisplayLinkedInNotice",(()=>this.connectionNeedsReauth()&&React.createElement(s.Notice,{className:m.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(s.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,u.lQ)()}`},__("Go to Sharing settings","jetpack"))))),a()(this,"connectionNeedsReauth",(()=>(0,c.includes)(this.props.mustReauthConnections,this.props.name))),a()(this,"onConnectionChange",(()=>{const{id:e}=this.props;this.props.toggleConnection(e)}))}connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}render(){const{disabled:e,enabled:t,id:n,label:r,name:a,profilePicture:o}=this.props,i="connection-"+a+"-"+n,s=a.replace("_","-"),l=React.createElement(p.Z,{id:i,className:d.Z["connection-toggle"],checked:t,onChange:this.onConnectionChange,disabled:e||this.connectionIsFailing()||this.connectionNeedsReauth(),serviceName:s,label:r,profilePicture:o});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.Z["connection-container"]},l))}}t.Z=(0,l.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()})))(h)},95788:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(55609),a=n(69307),o=n(74356),i=n(69709),s=n(71961),l=n(37568),c=n(48751),u=n(75631);function p(e){let{isPublicizeEnabled:t,isRePublicizeFeatureEnabled:n,isPublicizeDisabledBySitePlan:p}=e;const{connections:d,toggleById:m,hasConnections:h}=(0,l.Z)(),{message:f,updateMessage:g,maxLength:b}=(0,c.Z)(),v=p?r.Disabled:a.Fragment;return React.createElement(v,null,h&&React.createElement(r.PanelRow,null,React.createElement("ul",{className:u.Z["connections-list"]},d.map((e=>{let{display_name:r,enabled:a,id:i,service_name:s,toggleable:l,profile_picture:c}=e;return React.createElement(o.ew,{disabled:n?!t:!l,enabled:a&&!p,key:i,id:i,label:r,name:s,toggleConnection:m,profilePicture:c})})))),!p&&React.createElement(a.Fragment,null,React.createElement(i.Z,null),t&&d.some((e=>e.enabled))&&React.createElement(s.Z,{disabled:!n&&d.every((e=>!e.toggleable)),maxLength:b,onChange:g,message:f})))}},71961:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(65736),a=n(55609);const __=r.__,_n=r._n;function o(e){let{message:t="",onChange:n,disabled:o,maxLength:i}=e;const s=i-t.length;return React.createElement(a.TextareaControl,{value:t,onChange:n,disabled:o,maxLength:i,placeholder:__("Write a message for your audience here.","jetpack"),rows:4,help:(0,r.sprintf)(
+/* translators: placeholder is a number. */
+_n("%d character remaining","%d characters remaining",s,"jetpack"),s)})}},69709:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(90105),o=n(13419),i=n(65736),s=n(55609),l=n(37568),c=n(78619);const __=i.__;function u(){var e,t;const{refresh:n}=(0,l.Z)(),i=(0,o.lQ)(),u=(0,r.debounce)((function(e){e&&n()}),2e3),p=null!==(e=null===(t=(0,o.Pb)())||void 0===t?void 0:t.publicizeConnectionsUrl)&&void 0!==e?e:"https://wordpress.com/marketing/connections/",d=i?`${p}${i}`:"options-general.php?page=sharing&publicize_popup=true";return React.createElement(a.Z,{onChange:u},React.createElement("div",{className:c.Z["add-connection-wrapper"]},React.createElement(s.ExternalLink,{href:d,target:"_blank"},__("Connect an account","jetpack"))))}},68407:function(e,t,n){"use strict";n.d(t,{H8:function(){return l},nE:function(){return s}});var r=n(94333),a=n(9818),o=n(92694),i=n(36797);const s={"core/gallery":{contentAttributes:["images"]},"core/heading":{contentAttributes:["content"]},"core/image":{contentAttributes:["alt","url"]},"core/list":{contentAttributes:["values"]},"core/paragraph":{contentAttributes:["content"]},"core/quote":{contentAttributes:["value","citation"]},"core/separator":{contentAttributes:[]},"core/spacer":{contentAttributes:[]},"core/verse":{contentAttributes:["content"]},"core/video":{contentAttributes:["src"]},"core/embed":{contentAttributes:["url"]},"jetpack/gif":{contentAttributes:["giphyUrl"]}},l=["core/column","core/columns","core/group"];(0,o.addFilter)("blocks.registerBlockType","jetpack/publishing-tweetstorms",(e=>{const{edit:t}=e;return{...e,edit:e=>React.createElement(i.Z,{ChildEdit:t,childProps:e})}}));t.ZP=(0,r.compose)([(0,a.withSelect)((e=>({isTweetStorm:e("jetpack/publicize").isTweetStorm(),isTyping:e("core/block-editor").isTyping()})))])((e=>{let{isTweetStorm:t,isTyping:n}=e;return t?document.body.classList.add("jetpack-tweetstorm"):document.body.classList.remove("jetpack-tweetstorm"),t&&n?document.body.classList.add("jetpack-tweetstorm-is-typing"):document.body.classList.remove("jetpack-tweetstorm-is-typing"),null}))},63609:function(e,t,n){"use strict";var r=n(65736),a=n(55609),o=n(69307),i=n(94333),s=n(9818);n(42998);const __=r.__;t.Z=(0,i.compose)([(0,s.withSelect)((e=>{const{isTweetStorm:t,getTweetStorm:n}=e("jetpack/publicize");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),isTweetStorm:t(),tweetStormLength:n().length}})),(0,s.withDispatch)((e=>({setTweetstorm:t=>{e("core/editor").editPost({meta:{jetpack_is_tweetstorm:t}}),t?e("jetpack/publicize").refreshTweets():(e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm"),e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm-line-break"))}})))])((e=>{let{connections:t,isTweetStorm:n,tweetStormLength:r,setTweetstorm:i,prePublish:s}=e;const l=(0,o.useCallback)((e=>{i("tweetstorm"===e)}),[i]);if(null==t||!t.some((e=>"twitter"===e.service_name&&e.enabled)))return null;const c=(e,t)=>React.createElement(React.Fragment,null,React.createElement("strong",null,e),React.createElement("br",null),t),u=[];return r>=102?u.push({id:"jetpack-publicize-twitter-tweetstorm-too-long",status:"error",content:__("Only the first 100 tweets of this post will be published in the Twitter thread.","jetpack"),isDismissible:!1}):r>=22?u.push({id:"jetpack-publicize-twitter-tweetstorm-a-bit-long",status:"warning",content:__("This post will create a Twitter thread more than 20 tweets long.","jetpack"),isDismissible:!1}):s&&r<=2&&u.push({id:"jetpack-publicize-twitter-tweetstorm-too-short",status:"warning",content:__("None of the content in this post could be transformed into tweets, it may be better to share as a single tweet.","jetpack"),isDismissible:!1}),React.createElement(a.PanelRow,null,React.createElement(a.RadioControl,{label:__("Twitter settings","jetpack"),selected:n?"tweetstorm":"single",options:[{label:c(__("Single Tweet","jetpack"),__("Share a link to this post to Twitter.","jetpack")),value:"single"},{label:c(__("Twitter Thread","jetpack"),__("Share the content of this post as a Twitter thread.","jetpack")),value:"tweetstorm"}],onChange:l}),n&&React.createElement(a.NoticeList,{className:"jetpack-publicize-twitter-options__notices",notices:u}))}))},36797:function(e,t,n){"use strict";var r=n(92819),a=n(31020),o=n(55609),i=n(94333),s=n(9818),l=n(69307);n(42998);class c extends l.Component{componentDidMount(){const{isTweetStorm:e,updateTweets:t}=this.props;e&&t()}componentDidUpdate(e){const{boundaries:t,childProps:n,currentAnnotations:a,isTweetStorm:o,updateAnnotations:i,updateTweets:s,supportedBlockType:l,contentAttributesChanged:c}=this.props;o&&l&&(c(e.childProps,n)&&s(),a.length===t.filter((e=>["normal","line-break"].includes(e.type))).length&&(0,r.isEqual)(e.boundaries,t)||i())}render(){const{ChildEdit:e,childProps:t,isTweetStorm:n,isSelectedTweetBoundary:r,boundaryStylesSelectors:i,popoverWarnings:s}=this.props;return n?React.createElement(React.Fragment,null,React.createElement(e,t),r&&React.createElement("div",{className:"jetpack-publicize-twitter__tweet-divider"},React.createElement("div",{className:"jetpack-publicize-twitter__tweet-divider-icon"},React.createElement(a.av,{serviceName:"twitter"})),s.length>0&&React.createElement(o.Popover,{className:"jetpack-publicize-twitter__tweet-divider-popover",focusOnMount:!1,position:"bottom center"},React.createElement("ol",null,s.map(((e,t)=>React.createElement("li",{key:`jetpack-publicize-twitter__tweet-divider-popover-warning-${t}`},e)))))),i&&React.createElement("style",{type:"text/css"},i.map((e=>`${e}::after {\n\t\t\t\t\t\t\t\tcontent: "";\n\t\t\t\t\t\t\t\tbackground: #0009;\n\t\t\t\t\t\t\t\twidth: 3px;\n\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\tmargin: 0 1px;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.is-dark-theme ${e}::after {\n\t\t\t\t\t\t\t\tbackground: #fff9;\n\t\t\t\t\t\t\t}`)))):React.createElement(e,t)}}t.Z=(0,i.compose)([(0,s.withSelect)(((e,t)=>{let{childProps:n}=t;const{isTweetStorm:r,getPopoverWarnings:a,getBoundariesForBlock:o,getBoundaryStyleSelectors:i,isSelectedTweetBoundary:s,getSupportedBlockType:l,contentAttributesChanged:c}=e("jetpack/publicize"),u=e("core/annotations").__experimentalGetAllAnnotationsForBlock(n.clientId);return{isTweetStorm:r(),isSelectedTweetBoundary:s(n),boundaries:o(n.clientId),boundaryStylesSelectors:i(n.clientId),popoverWarnings:a(n),currentAnnotations:u,supportedBlockType:l(n.name),contentAttributesChanged:c}})),(0,s.withDispatch)(((e,t,n)=>{let{childProps:r}=t,{select:a}=n;return{updateTweets:()=>e("jetpack/publicize").refreshTweets(),updateAnnotations:()=>{const{contentAttributesChanged:t,getTweetsForBlock:n}=a("jetpack/publicize"),o=n(r.clientId);if(!o||0===o.length)return;if(t(o.reduce(((e,t)=>e||t.blocks.find((e=>e.clientId===r.clientId))),!1),r))return;a("core/annotations").__experimentalGetAllAnnotationsForBlock(r.clientId).forEach((t=>{["jetpack-tweetstorm","jetpack-tweetstorm-line-break"].includes(t.source)&&e("core/annotations").__experimentalRemoveAnnotation(t.id)}));o.filter((e=>e.boundary)).map((e=>e.boundary)).forEach((t=>{const{container:n,type:a,start:o,end:i}=t;"normal"===a?e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm",richTextIdentifier:n,range:{start:o,end:i}}):"line-break"===a&&e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm-line-break",richTextIdentifier:n,range:{start:o,end:i}})}))}}}))])(c)},86419:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(94333),a=n(12238),o=n(9818),i=n(69307);function s(e,t){const n=(0,o.useSelect)((e=>e(a.store).isPublishingPost()),[]),s=(0,r.usePrevious)(n);(0,i.useEffect)((()=>{s&&!n&&e()}),[n,s,e,t])}},37568:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9818);function a(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,r.useDispatch)("jetpack/publicize"),n=(0,r.useSelect)((e=>e("jetpack/publicize").getConnections()),[]),a=n.filter((e=>!e.enabled)).map((e=>e.id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:n&&n.some((e=>e.enabled)),skippedConnections:a,toggleById:t,refresh:e}}},48751:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9818),a=n(12238);function o(){const{editPost:e}=(0,r.useDispatch)(a.store),{message:t,maxLength:n}=(0,r.useSelect)((e=>({message:e("jetpack/publicize").getShareMessage(),maxLength:e("jetpack/publicize").getShareMessageMaxLength()})),[]);return{message:t,maxLength:n,updateMessage:function(t){e({meta:{jetpack_publicize_message:t}})}}}},13530:function(e,t,n){"use strict";n.r(t),n.d(t,{fetchFromAPI:function(){return s},getTwitterCards:function(){return u},refreshConnectionTestResults:function(){return a},refreshTweets:function(){return l},setTweets:function(){return c},setTwitterCards:function(){return p},toggleConnectionById:function(){return o},togglePublicizeFeature:function(){return i}});var r=n(9818);function a(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function o(e){return{type:"TOGGLE_CONNECTION_BY_ID",connectionId:e}}function i(){return{type:"TOGGLE_PUBLICIZE_FEATURE"}}function s(e){return{type:"FETCH_FROM_API",path:e}}function l(){return{type:"REFRESH_TWEETS"}}function c(e){return{type:"SET_TWEETS",tweets:e}}function u(e){const{twitterCardIsCached:t}=(0,r.select)("jetpack/publicize");return{type:"GET_TWITTER_CARDS",urls:e.filter((e=>!t(e)))}}function p(e){return{type:"SET_TWITTER_CARDS",cards:e}}},99376:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z={FETCH_FROM_API:e=>{let{path:t}=e;return a()({path:t})}}},43785:function(e,t,n){"use strict";var r=n(92819),a=n(86989),o=n.n(a),i=n(4981),s=n(9818),l=n(12238),c=n(13419),u=n(68407);const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const{getSupportedBlockType:t}=(0,s.select)("jetpack/publicize");return(0,r.flatMap)(e,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(e.name)||e.name.startsWith("core-embed/")?e:u.H8.includes(e.name)?p(e.innerBlocks):[]}))};const d=(0,r.throttle)((async function(){const e=(0,s.select)("core/editor").getBlocks(),t=p(e);try{const e=await o()({path:"/wpcom/v2/tweetstorm/parse",data:{blocks:t.map((e=>({attributes:e.attributes,block:(0,i.serialize)(e),clientId:e.clientId})))},method:"POST"}),n=(0,r.flatMap)(e,(e=>e.urls));return(0,s.dispatch)("jetpack/publicize").getTwitterCards(n),(0,s.dispatch)("jetpack/publicize").setTweets(e)}catch(e){}}),2e3,{leading:!0,trailing:!0});t.ZP={REFRESH_CONNECTION_TEST_RESULTS:async function(){try{var e,t;const n=null!==(e=null===(t=(0,c.Pb)())||void 0===t?void 0:t.connectionRefreshPath)&&void 0!==e?e:"/wpcom/v2/publicize/connection-test-results",r=await o()({path:n}),a=(0,s.select)("jetpack/publicize").getConnections(),i=r,u=[],p={done:!1,enabled:!0,toggleable:!0};for(const e of i){const t=a.find((t=>t.id===e.id)),{done:n,enabled:r,toggleable:o}=null!=t?t:p,i={display_name:e.display_name,service_name:e.service_name,id:e.id,profile_picture:e.profile_picture,done:n,enabled:r,toggleable:o};u.push(i)}return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:u})}catch(e){}},TOGGLE_CONNECTION_BY_ID:async function(e){let{connectionId:t}=e;const n=(0,s.select)("jetpack/publicize").getConnections().map((e=>({...e,enabled:e.id===t?!e.enabled:e.enabled})));return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:n})},TOGGLE_PUBLICIZE_FEATURE:async function(){const e=(0,s.select)("jetpack/publicize").getFeatureEnableState();return(0,s.dispatch)(l.store).editPost({meta:{jetpack_publicize_feature_enabled:!e}})},REFRESH_TWEETS:d,GET_TWITTER_CARDS:async function(e){if(0===e.urls.length)return(0,s.dispatch)("jetpack/publicize").setTwitterCards([]);try{const t=await o()({path:"/wpcom/v2/tweetstorm/generate-cards",data:{urls:e.urls},method:"POST"});return(0,s.dispatch)("jetpack/publicize").setTwitterCards(t)}catch(e){}}}},77771:function(e,t,n){"use strict";var r=n(9818),a=n(13530),o=n(34074),i=n(92479),s=n(99376),l=n(82726);const c=(0,r.registerStore)("jetpack/publicize",{actions:a,controls:s.Z,reducer:l.Z,selectors:o});(0,i.Z)(c)},92479:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(24274),a=n.n(r),o=n(92819),i=n(43785);function s(e){const t=[a()(i.ZP)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},82726:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={tweets:[],twitterCards:[]};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REFRESH_CONNECTION_TEST_RESULTS":case"TOGGLE_CONNECTION_BY_ID":case"TOGGLE_PUBLICIZE_FEATURE":return e;case"SET_TWEETS":return{...e,tweets:t.tweets};case"GET_TWITTER_CARDS":{const n={};return t.urls.forEach((e=>n[e]={error:"loading"})),{...e,twitterCards:{...e.twitterCards,...n}}}case"SET_TWITTER_CARDS":return{...e,twitterCards:{...e.twitterCards,...t.cards}}}return e}},34074:function(e,t,n){"use strict";n.r(t),n.d(t,{checkForTagsInContentAttributes:function(){return S},contentAttributesChanged:function(){return T},getBoundariesForBlock:function(){return _},getBoundaryStyleSelectors:function(){return j},getConnections:function(){return N},getFailedConnections:function(){return u},getFeatureEnableState:function(){return A},getFirstTweet:function(){return h},getLastTweet:function(){return f},getMustReauthConnections:function(){return p},getPopoverWarnings:function(){return x},getShareMessage:function(){return y},getShareMessageMaxLength:function(){return E},getSupportedBlockType:function(){return g},getTweetStorm:function(){return m},getTweetTemplate:function(){return d},getTweetsForBlock:function(){return b},getTwitterCardForURLs:function(){return v},isSelectedTweetBoundary:function(){return P},isTweetStorm:function(){return w},twitterCardIsCached:function(){return k}});var r=n(92819),a=n(95386),o=n(9818),i=n(65736),s=n(12238),l=n(68407);const __=i.__,c="\n\n"+__("A thread ⬇️","jetpack");function u(){return N().filter((e=>!1===e.test_success))}function p(){return N().filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function d(e){const t=e.connections||N(),n=null==t?void 0:t.find((e=>"twitter"===e.service_name));return{date:Date.now(),name:(null==n?void 0:n.profile_display_name)||__("Account Name","jetpack"),profileImage:(null==n?void 0:n.profile_picture)||"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:(null==n?void 0:n.display_name)||""}}function m(e){const t=d(e),n=[h(e),...e.tweets.slice(0,100).map((n=>({...t,text:n.text,media:n.media,tweet:n.tweet,urls:n.urls,card:v(e,n.urls)})))];return n.length>1&&n.push(f(e)),n}function h(e){var t,n,r,a;if(!(0,o.select)("core"))return;const i=d(e),{getMedia:s}=(0,o.select)("core"),{getEditedPostAttribute:l}=(0,o.select)("core/editor"),c=l("featured_media"),u=l("link"),p=c&&s(c),m=(null==p||null===(t=p.media_details)||void 0===t||null===(n=t.sizes)||void 0===n||null===(r=n.large)||void 0===r?void 0:r.source_url)||(null==p?void 0:p.source_url);return{...i,text:y()+` ${u}`,urls:[u],card:{title:l("title"),description:(null===(a=l("meta"))||void 0===a?void 0:a.advanced_seo_description)||l("excerpt")||l("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:u,image:m,type:m?"summary_large_image":"summary"}}}function f(e){if(!(0,o.select)("core/editor"))return;const{getEditedPostAttribute:t}=(0,o.select)("core/editor"),n=t("link"),r=e.tweets.length>100?__("The rest of this thread can be read here:","jetpack"):__("This thread can be read here:","jetpack");return{...h(e),text:`${r} ${n}`}}function g(e,t){if(l.nE[t])return l.nE[t]}const b=(0,a.Z)(((e,t)=>e.tweets.filter((e=>!!e.blocks.find((e=>e.clientId===t))))),(e=>[e.tweets]));function v(e,t){if(t)return t.reduce(((t,n)=>t||(e.twitterCards[n]&&!e.twitterCards[n].error?{url:n,...e.twitterCards[n]}:void 0)),void 0)}function k(e,t){return!!e.twitterCards[t]}function y(){const{getEditedPostAttribute:e}=(0,o.select)("core/editor"),t=e("meta"),n=e("title"),a=(0,r.get)(t,["jetpack_publicize_message"],"");return a?a.substr(0,E()):w()&&n?n.substr(0,E())+c:""}function E(){return w()?255-c.length:255}function w(){var e;return!(null===(e=(0,o.select)("core/editor").getEditedPostAttribute("meta"))||void 0===e||!e.jetpack_is_tweetstorm)}const _=(0,a.Z)(((e,t)=>{if(!w())return[];const n=b(e,t);return n&&0!==n.length?n.filter((e=>e.boundary)).map((e=>e.boundary)):[]}),(e=>[e.tweets]));function C(e,t){if(`block-${t}`===e.id)return`#block-${t}`;const n=e.parentNode,r=Array.prototype.indexOf.call(n.children,e);return C(n,t)+` > :nth-child( ${r+1} )`}const j=(0,a.Z)(((e,t)=>{const n=_(e,t),r=document.getElementById(`block-${t}`);return n.filter((e=>"end-of-line"===e.type)).map((e=>{if(!r)return!1;const n=r.getElementsByTagName("li").item(e.line);return!!n&&C(n,t)})).filter((e=>!!e))}),(e=>[e.tweets]));function S(e,t,n){var r;if(0===n.length)return!1;if(null===(r=g(0,t.name))||void 0===r||!r.contentAttributes)return!1;const a=new RegExp(`<(${n.join("|")})( |>|/>)`,"gi");return g(0,t.name).contentAttributes.reduce(((e,n)=>!!e||a.test(t.attributes[n])),!1)}const x=(0,a.Z)(((e,t)=>{const{isTyping:n,isDraggingBlocks:r,isMultiSelecting:a,hasMultiSelection:i,isCaretWithinFormattedText:s}=(0,o.select)("core/block-editor");if(!w())return[];if(n()||r()||a()||i()||s())return[];const c=[];return g(0,t.name)||l.H8[t.name]?("core/gallery"===t.name&&t.attributes.images.length>4&&c.push(__("Twitter displays the first four images.","jetpack")),S(0,t,["strong","bold","em","i","sup","sub","span","s"])&&c.push(__("Twitter removes all text formatting.","jetpack")),S(0,t,["a"])&&c.push(__("Links will be posted seperately.","jetpack"))):c.push(__("This block is not exportable to Twitter","jetpack")),c}),(e=>[e.tweets]));function P(e,t){const{isBlockSelected:n}=(0,o.select)("core/block-editor");if(!w())return!1;const r=g(0,t.name),a=b(e,t.clientId);if(!a||0===a.length)return!1;const i=a[a.length-1];return n(t.clientId)&&!r||i.blocks[i.blocks.length-1].clientId===t.clientId&&a.some((e=>e.blocks.some((e=>n(e.clientId)))))}function T(e,t,n){const a=g(0,n.name);if(!a)return!1;const o=a.contentAttributes;return!(0,r.isEqual)(o.map((e=>({attribute:e,content:t.attributes[e]}))),o.map((e=>({attribute:e,content:n.attributes[e]}))))}function N(){return(0,o.select)(s.store).getEditedPostAttribute("jetpack_publicize_connections")||[]}function A(){const{getEditedPostAttribute:e}=(0,o.select)(s.store),t=e("meta");return(0,r.get)(t,["jetpack_publicize_feature_enabled"],!0)}},13419:function(e,t,n){"use strict";n.d(t,{FK:function(){return c.FK},HD:function(){return c.HD},M6:function(){return o.M6},OZ:function(){return i.Z},Pb:function(){return r.Z},Qq:function(){return c.Qq},Rl:function(){return c.Rl},T:function(){return l.Z},Ug:function(){return o.Ug},Wp:function(){return o.Wp},X1:function(){return c.X1},_D:function(){return c._D},aQ:function(){return o.aQ},lQ:function(){return a.Z},m3:function(){return c.m3},o_:function(){return s.Z}});var r=n(50148),a=n(35004),o=n(99505),i=n(48052),s=n(76714),l=n(80354),c=n(75404)},50148:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(){var e,t;return"object"==typeof window&&null!==(e=null===(t=window)||void 0===t?void 0:t.Jetpack_Editor_Initial_State)&&void 0!==e?e:null}},48052:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(50148);function a(e){var t,n,a,o,i,s,l,c,u;const p=(0,r.Z)(),d=null!==(t=null==p||null===(n=p.available_blocks)||void 0===n||null===(a=n[e])||void 0===a?void 0:a.available)&&void 0!==t&&t,m=null!==(o=null==p||null===(i=p.available_blocks)||void 0===i||null===(s=i[e])||void 0===s?void 0:s.unavailable_reason)&&void 0!==o?o:"unknown",h=null!==(l=null==p||null===(c=p.available_blocks)||void 0===c||null===(u=c[e])||void 0===u?void 0:u.details)&&void 0!==l?l:[];return{available:d,...!d&&{details:h,unavailableReason:m}}}},35004:function(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,{Z:function(){return r}})},75404:function(e,t,n){"use strict";n.d(t,{FK:function(){return f},HD:function(){return g},Qq:function(){return u},Rl:function(){return m},X1:function(){return p},_D:function(){return d},m3:function(){return b}});var r=n(92819),a=n(96483),o=n(65736),i=n(99505),s=n(50148),l=n(48052),c=n(35004);const __=o.__;function u(e){let{planSlug:t,plan:n,postId:o,postType:s}=e;const l=(0,r.startsWith)(t,"jetpack_")?t:(0,r.get)(n,["path_slug"]),u=(void 0===s?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/admin.php`,{page:"gutenberg-edit-site",postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(s)?"":"edit";return(0,i.Wp)()?(0,a.addQueryArgs)("/"+(0,r.compact)([e,s,(0,c.Z)(),o]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:o,plan_upgraded:1})})();return(0,i.Ug)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,c.Z)()}`,{redirect_to:u,customerType:"business"}):l&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,c.Z)()}/${l}`,{redirect_to:u})}function p(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:r}=(0,l.Z)(t);return!n&&"missing_plan"===r}function d(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,l.Z)(t);return d(r,n)}const h=[{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 f(){return(0,r.get)((0,s.Z)(),"jetpack.enable_upgrade_nudge",!1)}const g=e=>(0,r.map)(h,"name").includes(e),b=e=>(0,r.head)((0,r.filter)(h,(t=>{let{name:n}=t;return n===e})))},76714:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98817),a=n(48052);function o(e,t){const{available:n,unavailableReason:o}=(0,a.Z)(e);return!!n&&(0,r.registerPlugin)(`jetpack-${e}`,t)}},99505:function(e,t,n){"use strict";n.d(t,{M6:function(){return s},Ug:function(){return i},Wp:function(){return o},aQ:function(){return l}});var r=n(50148);function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function i(){return"atomic"===a()}function s(){var e,t;const n=(0,r.Z)();return null!==(e=null==n||null===(t=n.jetpack)||void 0===t?void 0:t.is_private_site)&&void 0!==e&&e}function l(){var e,t;const n=(0,r.Z)();return null!==(e=null==n||null===(t=n.jetpack)||void 0===t?void 0:t.is_coming_soon)&&void 0!==e&&e}},80354:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(94333);t.Z=e=>(0,o.createHigherOrderComponent)((t=>n=>React.createElement(t,a()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},35182:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},84069:function(e,t,n){"use strict";var r=n(35182),a=n(6975);a.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),a.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=a.Z},26881:function(e,t,n){"use strict";n.d(t,{F:function(){return d},J:function(){return p}});var r=n(4981),a=n(9818),o=n(65736),i=n(70355),s=n(6598);const _x=o._x,__=o.__;function l(e){let{spotifyShowUrl:t,spotifyImageUrl:n}=e;return[["core/image",{url:n,linkDestination:"none",href:t,align:"center",width:165,height:40,className:"is-spotify-podcast-badge"}]]}function c(e){let{episodeTrack:t,feedUrl:n}=e;const{guid:r}=t;return[["jetpack/podcast-player",{customPrimaryColor:(0,i.m)(),hexPrimaryColor:(0,i.m)(),url:n,selectedEpisodes:r?[{guid:r}]:[],showCoverArt:!1,showEpisodeTitle:!1,showEpisodeDescription:!1}]]}function u(e){let{spotifyShowUrl:t,spotifyImageUrl:n,episodeTrack:o={},feedUrl:i}=e;const s=[...c({episodeTrack:o,feedUrl:i})];return t&&n&&s.push(...l({spotifyShowUrl:t,spotifyImageUrl:n})),s.push(...function(e){let{episodeTrack:t}=e;const n=[["core/heading",{level:3,content:_x("Summary","noun: summary of a podcast episode","jetpack"),placeholder:__("Podcast episode title","jetpack")}]],a=(0,r.pasteHandler)({HTML:t.description_html,mode:"BLOCKS"});return a.length?n.push(...a):n.push(["core/paragraph",{placeholder:__("Podcast episode summary","jetpack")}]),n}({episodeTrack:o})),s.push(...function(){const e="jetpack/conversation";return(0,a.select)("core/blocks").getBlockType(e)?[[e,{participants:[{slug:"participant-0",label:__("Speaker 1","jetpack")},{slug:"participant-1",label:__("Speaker 2","jetpack")},{slug:"participant-2",label:__("Speaker 3","jetpack")}]},[["core/heading",{level:3,content:__("Transcription","jetpack"),placeholder:__("Podcast episode transcription","jetpack")}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-0"}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-1"}],["jetpack/dialogue",{placeholder:__("Podcast episode dialogue","jetpack"),slug:"participant-2"}]]]]:[["core/heading",{level:3,content:__("Transcription","jetpack"),placeholder:__("Podcast episode transcription","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}],["core/paragraph",{placeholder:__("Podcast episode dialogue","jetpack")}]]}()),s}function p(e){return(0,s.Z)(u(e))}function d(e){if(e.spotifyImageUrl&&e.spotifyShowUrl)return(0,s.Z)([...l(e)])}},50756:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(55609),u=n(92819);const __=l.__,p="09:00",d="17:00";class m extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,{opening:r,closing:a}=e;return(0,o.createElement)(o.Fragment,{key:t},(0,o.createElement)("div",{className:"business-hours__row"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.TextControl,{type:"time",label:__("Opening","jetpack"),value:r,className:"business-hours__open",placeholder:p,onChange:e=>{this.setHour(e,"opening",t)}}),(0,o.createElement)(c.TextControl,{type:"time",label:__("Closing","jetpack"),value:a,className:"business-hours__close",placeholder:d,onChange:e=>{this.setHour(e,"closing",t)}})),(0,o.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,o.createElement)(c.Button,{isSmall:!0,variant:"link",icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,o.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")}," "),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.Button,{variant:"link",label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,o.createElement)("div",{className:"business-hours__remove"}," ")))})),a()(this,"setHour",((e,t,n)=>{const{day:r,attributes:a,setAttributes:o}=this.props,{days:i}=a;o({days:i.map((a=>a.name===r.name?{...a,hours:a.hours.map(((r,a)=>a===n?{...r,[t]:e}:r))}:a))})})),a()(this,"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:p,closing:d}]:[];return{...n,hours:t}}return n}))})})),a()(this,"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))})})),a()(this,"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,u.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,o.createElement)(c.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,o.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,o.createElement)("div",{className:s()(e.name,"business-hours__day")},this.renderDayToggle()),(0,o.createElement)("div",{className:s()(e.name,"closed","business-hours__hours")}," "),(0,o.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}t.Z=m},80190:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(69771),l=n(92819);const _x=i._x;class c extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,r=n.hours;return(0,o.createElement)("span",{key:t},(0,i.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),r.length>1+t&&(0,o.createElement)("span",null,", "))}))}formatTime(e){const{timeFormat:t}=this.props,[n,r]=e.split(":"),a=new Date;return!(!n||!r)&&(a.setHours(n),a.setMinutes(r),(0,s.date)(t,a))}render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,o.createElement)("div",{className:"jetpack-business-hours__item"},(0,o.createElement)("dt",{className:e.name},t.days[e.name]),(0,o.createElement)("dd",null,(0,l.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,o.createElement)("br",null)))}}t.Z=c},86162:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(65235),p=n.n(u),d=n(65736),m=n(69771),h=n(55609),f=n(50756),g=n(80190),b=n(96405);const __=d.__,v={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0};class k extends s.Component{constructor(){super(...arguments),i()(this,"state",{localization:v,hasFetched:!1})}componentDidMount(){this.apiFetch()}apiFetch(){this.setState({data:v},(()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{this.setState({localization:e,hasFetched:!0})}),(()=>{this.setState({localization:v,hasFetched:!0})}))}))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{days:r}=e,{localization:o,hasFetched:i}=this.state,{startOfWeek:l}=o,c=r.concat(r.slice(0,l)).slice(l);if(!i)return(0,s.createElement)(h.Placeholder,{icon:b.qv,label:__("Loading business hours","jetpack")});if(!n){const e=(0,m.__experimentalGetSettings)(),{formats:{time:n}}=e;return(0,s.createElement)("dl",{className:p()(t,"jetpack-business-hours")},c.map(((e,t)=>(0,s.createElement)(g.Z,{key:t,day:e,localization:o,timeFormat:n}))))}return(0,s.createElement)("div",{className:p()(t,"is-edit")},c.map(((e,t)=>(0,s.createElement)(f.Z,a()({key:t,day:e,localization:o},this.props)))))}}t.Z=k},96405:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},qv:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(86162),s=n(36598),l=n(70355);const __=a.__,_x=a._x,c=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],u="business-hours",p=(0,s.Z)((0,r.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),d={title:__("Business Hours","jetpack"),description:__("Display opening hours for your business.","jetpack"),icon:{src:p,foreground:(0,l.m)()},category:"grow",supports:{html:!0,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0},align:["wide","full"]},keywords:[_x("opening hours","block search term","jetpack"),_x("closing time","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("working day","block search term","jetpack")],attributes:{days:{type:"array",default:c}},edit:e=>(0,r.createElement)(i.Z,e),save:()=>null,example:{attributes:{days:c}}}},98625:function(e,t,n){"use strict";var r=n(92819),a=n(55609);const o=(0,a.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:a}=t,o=(0,r.get)(n,"color"),i=!(0,r.get)(a,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:a||!i?void 0:getComputedStyle(i).color}}));t.Z=o},70424:function(e,t,n){"use strict";var r=n(24381);t.Z={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.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:r.Z},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},43043:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(90446);const __=o.__;function s(e){let{borderRadius:t="",setAttributes:n}=e;const o=(0,r.useCallback)((e=>n({borderRadius:e})),[n]);return(0,r.createElement)(a.PanelBody,{title:__("Border Settings","jetpack")},(0,r.createElement)(a.RangeControl,{allowReset:!0,initialPosition:i.pg,label:__("Border radius","jetpack"),max:i.Gp,min:i.G0,onChange:o,value:t}))}},36953:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(65736);const __=o.__;function i(e){let{isGradientAvailable:t,backgroundColor:n,fallbackBackgroundColor:o,fallbackTextColor:i,gradientValue:s,setBackgroundColor:l,setGradient:c,setTextColor:u,textColor:p}=e;const d=(0,r.createElement)(a.ContrastChecker,{backgroundColor:n.color,fallbackBackgroundColor:o,fallbackTextColor:i,isLargeText:!1,textColor:p.color});return t?(0,r.createElement)(a.__experimentalPanelColorGradientSettings,{settings:[{colorValue:p.color,label:__("Text Color","jetpack"),onColorChange:u},{colorValue:n.color,gradientValue:s,label:__("Background","jetpack"),onColorChange:l,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,r.createElement)(a.PanelColorSettings,{colorSettings:[{value:p.color,onChange:u,label:__("Text Color","jetpack")},{value:n.color,onChange:l,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},91947:function(e,t,n){"use strict";n.d(t,{Z:function(){return p},h:function(){return d}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=[{value:"px",label:"px",default:150},{value:"%",label:"%",default:100},{value:"em",label:"em",default:10}],c=[{value:"px",label:"px",default:150},{value:"em",label:"em",default:10}],u=["25%","50%","75%","100%"];function p(e){return(0,r.createElement)(i.PanelBody,{title:__("Width settings","jetpack")},(0,r.createElement)(d,e))}function d(e){let{align:t,width:n,onChange:a}=e;const[s,p]=(0,r.useState)(null);(0,r.useEffect)((()=>{void 0===n&&p("px")}),[n]);const d="left"===t||"right"===t;return(0,r.createElement)(i.BaseControl,{label:__("Button width","jetpack")},(0,r.createElement)("div",{className:o()("jetpack-button__width-settings",{"is-aligned":d})},!d&&(0,r.createElement)(i.ButtonGroup,{"aria-label":__("Percentage Width","jetpack")},u.map((e=>(0,r.createElement)(i.Button,{key:e,isSmall:!0,variant:e===n?"primary":void 0,onClick:()=>function(e){const t=n===e?void 0:e;p("%"),a(t)}(e)},e)))),(0,r.createElement)(i.__experimentalUnitControl,{className:"jetpack-button__custom-width",isResetValueOnUnitChange:!0,max:"%"===s||null!=n&&n.includes("%")?100:void 0,min:0,onChange:e=>a(e),onUnitChange:e=>p(e),size:"small",units:d?c:l,value:n,unit:s})))}},90446:function(e,t,n){"use strict";n.d(t,{DA:function(){return a},G0:function(){return s},Gp:function(){return i},pg:function(){return o}});var r=n(52175);const a=!!r.__experimentalUseGradient,o=5,i=50,s=0},29343:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(43043),o=n(36953),i=n(91947);function s(e){let{attributes:t,backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,setAttributes:c,setBackgroundColor:u,setTextColor:p,textColor:d,gradientValue:m,setGradient:h,isGradientAvailable:f}=e;const{align:g,borderRadius:b,width:v}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,gradientValue:m,setBackgroundColor:u,setGradient:h,setTextColor:p,textColor:d,isGradientAvailable:f}),(0,r.createElement)(a.Z,{borderRadius:b,setAttributes:c}),(0,r.createElement)(i.Z,{align:g,width:v,onChange:e=>c({width:e})}))}},5501:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(52175),c=n(94333),u=n(65736),p=n(98625),d=n(29343),m=n(90446),h=n(16969);const __=u.__;t.Z=(0,c.compose)((0,l.withColors)({backgroundColor:"background-color"},{textColor:"color"}),p.Z)((function(e){const{attributes:t,backgroundColor:n,className:r,clientId:i,setAttributes:c,textColor:u}=e,{align:p,borderRadius:f,element:g,placeholder:b,text:v,width:k}=t,y=(e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current})(p);(0,h.Z)({attributes:t,clientId:i,setAttributes:c}),(0,o.useEffect)((()=>{y!==p&&("left"===p||"right"===p)&&null!=k&&k.includes("%")&&c({width:void 0})}),[p,y,c,k]);const{gradientClass:E,gradientValue:w,setGradient:_}=m.DA?(0,l.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},C=s()("wp-block-button",r),j=s()("wp-block-button__link",{"has-background":n.color||w,[n.class]:!w&&n.class,"has-text-color":u.color,[u.class]:u.class,[E]:E,"no-border-radius":0===f,"has-custom-width":!!k}),S={...!n.color&&w?{background:w}:{backgroundColor:n.color},color:u.color,borderRadius:f?f+"px":void 0,width:k};return(0,o.createElement)("div",{className:C},(0,o.createElement)(l.RichText,{allowedFormats:"input"===g?[]:void 0,className:j,disableLineBreaks:"input"===g,onChange:e=>c({text:e}),placeholder:b||__("Add text…","jetpack"),style:S,value:v,withoutInteractiveFormatting:!0}),(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(d.Z,a()({gradientValue:w,setGradient:_,isGradientAvailable:m.DA},e))))}))},26361:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(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"}))},77123:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(65736),a=n(70424),o=n(5501),i=n(26361),s=n(29586),l=n(5820);const __=r.__,c="button",u={title:__("Button","jetpack"),icon:i.Z,category:(0,l.Z)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"]},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:a.Z,edit:o.Z,save:s.Z}},29586:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(90446);function l(e){let{attributes:t,blockName:n,uniqueId:a}=e;const{backgroundColor:l,borderRadius:c,className:u,customBackgroundColor:p,customGradient:d,customTextColor:m,gradient:h,saveInPostContent:f,text:g,textColor:b,url:v,width:k}=t;if(!f)return null;const y=(0,i.getColorClassName)("background-color",l),E=s.DA?(0,i.__experimentalGetGradientClass)(h):void 0,w=(0,i.getColorClassName)("color",b),_=o()("wp-block-button","jetpack-submit-button",u,{[`wp-block-jetpack-${n}`]:n}),C=o()("wp-block-button__link",{"has-text-color":b||m,[w]:w,"has-background":l||h||p||d,[y]:y,[E]:E,"no-border-radius":0===c,"has-custom-width":!!k}),j={background:d||void 0,backgroundColor:y||d||h?void 0:p,color:w?void 0:m,borderRadius:c?c+"px":void 0,width:k};return(0,r.createElement)("div",{className:_},(0,r.createElement)(i.RichText.Content,{className:C,"data-id-attr":a||"placeholder",href:v,id:a,rel:"noopener noreferrer",role:"button",style:j,tagName:"a",target:"_blank",value:g}))}},16969:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(9818),o=n(69307);function i(e){let{attributes:t,clientId:n,setAttributes:i}=e;const{passthroughAttributes:s}=t,{attributesToSync:l}=(0,a.useSelect)((e=>{const{getBlockAttributes:a,getBlockRootClientId:o}=e("core/block-editor"),i=a(o(n))||{},l=(0,r.mapValues)(s,(e=>i[e]));return{attributesToSync:(0,r.pickBy)(l,((e,n)=>e!==t[n]))}}));(0,o.useEffect)((()=>{(0,r.isEmpty)(l)||i(l)}),[l,i])}},81340:function(e,t,n){"use strict";var r=n(24381);t.Z={backgroundColor:{type:"string",default:"ffffff",validator:r.Z},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:r.Z},textColor:{type:"string",default:"4D5055",validator:r.Z},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")}}},60153:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(57538);const __=i.__,_x=i._x,l=e=>{let{onEditClick:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{onClick:()=>t(!0)},__("Edit","jetpack")))},c=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:a,embedCode:i,parseEmbedCode:s,setAttributes:l,setEmbedCode:c}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:s,className:`${a}-embed-form-sidebar`},(0,r.createElement)("input",{type:"text",id:"embedCode",onChange:e=>c(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})})),n&&(0,r.createElement)(o.Notice,{className:`${a}-color-notice`,isDismissible:!1},(0,r.createElement)(o.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},__("Follow these instructions to change the colors in this block.","jetpack"))))};t.ZP=e=>{const{attributes:t,clientId:n,isEditingUrl:o,setAttributes:i,setIsEditingUrl:u}=e,{style:p,url:d}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,r.createElement)(r.Fragment,null,d&&!o&&(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(l,{onEditClick:u})),d&&(0,r.createElement)(s.Z,{clientId:n,styleOptions:m,onSelectStyle:i,activeStyle:p,attributes:t,viewportWidth:500}),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(c,e)))}},83830:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(24381);const __=o.__;t.Z={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:i.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:i.Z},textColor:{type:"string",default:"4D5055",validator:i.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:i.Z},customTextButtonColor:{type:"string",validator:i.Z}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:r,submitButtonClasses:o,backgroundButtonColor:i,textButtonColor:s,customBackgroundButtonColor:l,customTextButtonColor:c,...u}=e,p={text:(d=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:d.submitButtonTextColor||d.textButtonColor,customTextColor:d.customTextButtonColor,backgroundColor:d.submitButtonBackgroundColor||d.backgroundButtonColor,customBackgroundColor:d.customBackgroundButtonColor,url:d.url};var d;return[u,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...p})]]},save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)}}},29415:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(92819),s=n(40230),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(9818),m=n(70176),h=n(81340),f=n(4554),g=n(4867),b=n(50785),v=n(23621),k=n(60153);const __=u.__,_x=u._x;t.Z=(0,c.withNotices)((function(e){const{attributes:t,className:n,clientId:r,name:u,noticeOperations:y,noticeUI:E,setAttributes:w}=e,_=(0,p.getBlockDefaultClassName)(u),C=(0,f.S)(h.Z,t);(0,i.isEqual)(C,t)||w(C);const{backgroundColor:j,hideEventTypeDetails:S,primaryColor:x,textColor:P,style:T,url:N}=C,[A,I]=(0,o.useState)(N),[M,B]=(0,o.useState)(!1),[R,L]=(0,o.useState)(!1),[Z,D]=(0,o.useState)({}),F=()=>{y.removeAllNotices(),y.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,o.useEffect)((()=>{N&&b.lR!==N&&"link"!==T&&(0,v.Z)(N,L).catch((()=>{w({url:void 0}),F()}))}),[]);const O=e=>{if(!e)return void F();e.preventDefault();const t=(0,g.CC)(A);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,d.select)("core/editor").getBlocksByClientId(r);e.length&&e[0].innerBlocks.forEach((e=>{(0,d.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),D(t.buttonAttributes)}(0,v.Z)(t.url,L).then((()=>{const e=(0,f.S)(h.Z,t);w(e),B(!1),y.removeAllNotices()})).catch((()=>{w({url:void 0}),F()}))}else F()},z=(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(c.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack"))),U=(0,o.createElement)(c.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:m.Z,notices:E},(0,o.createElement)("form",{onSubmit:O},(0,o.createElement)("input",{type:"text",id:"embedCode",onChange:e=>I(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:A||"",className:"components-placeholder__input"}),(0,o.createElement)("div",null,(0,o.createElement)(c.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,o.createElement)("div",{className:`${_}-learn-more`},(0,o.createElement)(c.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),$=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:`${_}-overlay`}),(0,o.createElement)("iframe",{src:(()=>{const e=s.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:S?1:0,background_color:j,primary_color:x,text_color:P});return`${N}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),V=(0,o.createElement)(l.InnerBlocks,{template:[[b.Ss.name,{...b.Ss.attributes,...Z,passthroughAttributes:{url:"url"}}]],templateLock:"all"});if(R)return z;let G=n;return N&&!M&&(G+=` calendly-style-${T}`),(0,o.createElement)("div",{className:G},(0,o.createElement)(k.ZP,a()({},e,{defaultClassName:_,embedCode:A,isEditingUrl:M,parseEmbedCode:O,setEmbedCode:I,setIsEditingUrl:B})),N&&!M?"inline"===T?$:V:U)}))},70176:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19,1h-2.3v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H8.6v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H4C1.8,1,0,2.8,0,5 v15c0,2.2,1.8,4,4,4h15c2.2,0,4-1.8,4-4V5C23,2.8,21.2,1,19,1z M21,20c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V5c0-1.1,0.9-2,2-2h2.6 v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3h6.1v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3H19c1.1,0,2,0.9,2,2V20z M13.9,14.8l1.4,1.4 c-0.9,0.9-2.1,1.3-3.5,1.3c-2.4,0-4.5-2.1-4.5-4.7s2.1-4.7,4.5-4.7c1.4,0,2.5,0.4,3.4,1.1L14,10.9c-0.5-0.4-1.2-0.6-2.1-0.6 c-1.2,0-2.5,1.1-2.5,2.7c0,1.6,1.3,2.7,2.5,2.7C12.7,15.5,13.4,15.3,13.9,14.8z"}))},50785:function(e,t,n){"use strict";n.d(t,{Ss:function(){return m},Xd:function(){return f},lR:function(){return d},u2:function(){return h}});var r=n(65736),a=n(4981),o=n(81340),i=n(83830),s=n(29415),l=n(70176),c=n(15816),u=n(4867),p=n(70355);const __=r.__,_x=r._x,d="https://calendly.com/wpcom/jetpack-block-example",m={name:"jetpack/button",attributes:{element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:d}},h="calendly",f={title:__("Calendly","jetpack"),description:__("Embed a calendar for customers to schedule appointments","jetpack"),icon:{src:l.Z,foreground:(0,p.m)()},category:"grow",keywords:[_x("calendar","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack"),_x("events","block search term","jetpack"),_x("dates","block search term","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:s.Z,save:c.Z,attributes:o.Z,example:{attributes:{hideEventTypeDetails:!1,style:"inline",url:d},innerBlocks:[m]},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&u.mL.test(e.textContent),transform:e=>{const t=(0,u.CC)(e.textContent);return(0,a.createBlock)("jetpack/calendly",t)}}]},deprecated:[i.Z]}},15816:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null))}},4867:function(e,t,n){"use strict";n.d(t,{CC:function(){return a},mL:function(){return r}});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"),o=r.get("primary_color"),i=r.get("text_color"),s=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(s)&&(t.backgroundColor=a),o&&o.match(s)&&(t.primaryColor=o),i&&i.match(s)&&(t.textColor=i),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}},99837:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Message Sent","jetpack")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0}}},39549:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "<error />".',"jetpack"),{error:(0,r.createElement)("span",null,t)}))}},57586:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(39549);const __=s.__,c=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:s,crmData:c,setCRMData:u}=e;const p=((e,t,n,r)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},n);t.jp_form_ext_enabled=!0,r(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(n,s,c,u);return t?(0,r.createElement)(i.Spinner,null):a?(0,r.createElement)(l.Z,{error:a}):(0,r.createElement)(i.Button,{variant:"secondary",onClick:p},__("Enable Jetpack Forms Extension","jetpack"))},u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack"));t.Z=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s}=e;return i.can_activate_extension?(0,r.createElement)("div",null,(0,r.createElement)(p,null),(0,r.createElement)("br",null),(0,r.createElement)(c,{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s})):(0,r.createElement)(u,null)}},87459:function(e,t,n){"use strict";var r=n(69307),a=n(55589),o=n.n(a),i=n(55609),s=n(65736),l=n(57586),c=n(45092);const __=s.__,u=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack")),d=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack")),m=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(i.Button,{variant:"secondary",icon:(0,r.createElement)(i.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},h=e=>{let{installAndActivateCRMPlugin:t,isInstalling:n}=e,a=(0,r.createElement)(i.Button,{variant:"secondary",onClick:t},__("Install Jetpack CRM","jetpack"));return n&&(a=(0,r.createElement)(m,null)),(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack"),(0,r.createElement)("br",null),a))},f=e=>{let{activateCRMPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},(0,r.createElement)("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(m,{isActivating:!0}),!n&&(0,r.createElement)(i.Button,{variant:"secondary",onClick:t},__("Activate the Jetpack CRM plugin","jetpack")))},g=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:s}=e;const[c,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)(!1);return t.jp_form_ext_enabled?o().satisfies(o().coerce(t.crm_version),"3.0.19 - 4.0.0")?(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack")):(0,r.createElement)(i.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack"),checked:a,onChange:e=>s({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack")}):(0,r.createElement)(l.Z,{isActivatingExt:c,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:n})};t.Z=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i,onCRMPluginClick:s,isInstalling:l}=e;const m=o().coerce(t.crm_version);if(t.crm_installed&&!m)return(0,r.createElement)(p,null);if(t.crm_installed&&o().lt(m,"4.9.1"))return(0,r.createElement)(d,null);let b=u.NOT_INSTALLED;return t.crm_active?b=u.ACTIVE:t.crm_installed&&(b=u.INSTALLED),(0,r.createElement)("div",{"aria-live":"polite"},u.ACTIVE===b&&(0,r.createElement)(g,{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}),u.INSTALLED===b&&(0,r.createElement)(f,{activateCRMPlugin:()=>s(c.bu,"zero-bs-crm/ZeroBSCRM"),isInstalling:l}),u.NOT_INSTALLED===b&&(0,r.createElement)(h,{installAndActivateCRMPlugin:()=>s(c.yX,"zero-bs-crm"),isInstalling:l}))}},38101:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(87459);const __=s.__,c=(e,t,n)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((n=>{if(n.error)throw n.message;e(!1),t(n)})).catch((()=>e(!0))).finally((()=>n(!1)))},u=e=>{let{isFetchingCRMData:t,hasCRMDataError:n,crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c,onCRMPluginClick:u,isInstalling:p}=e;return t?(0,r.createElement)(i.Spinner,null):n?null:(0,r.createElement)(l.Z,{crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c,onCRMPluginClick:u,isInstalling:p})};t.Z=e=>{let{jetpackCRM:t,setAttributes:n}=e;const[a,o]=(0,r.useState)(!0),[s,l]=(0,r.useState)(!1),[p,d]=(0,r.useState)(),[m,h]=(0,r.useState)(!1),f=(0,r.useCallback)(((e,t)=>{h(!0),e(t).catch((()=>{l(!0)})).finally((()=>{h(!1),o(!0),c(l,d,o)}))}),[h,l,o]);return(0,r.useEffect)((()=>{c(l,d,o)}),[]),(0,r.createElement)(i.PanelBody,{title:__("CRM Integration","jetpack"),initialOpen:!1},(0,r.createElement)(i.BaseControl,null,(0,r.createElement)(u,{isFetchingCRMData:a,hasCRMDataError:s,crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:n,isInstalling:m,onCRMPluginClick:f})))}},55740:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(15642),c=n(26588);const __=a.__;t.Z=(0,s.withInstanceId)((function(e){const{id:t,instanceId:n,required:a,label:s,setAttributes:u,width:p,defaultValue:d}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-checkbox-${n}`,className:"jetpack-field jetpack-field-checkbox",label:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:d}),(0,r.createElement)(l.Z,{required:a,label:s,setAttributes:u}),(0,r.createElement)(c.Z,{id:t,required:a,width:p,setAttributes:u}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Checkbox Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Checked by default","jetpack"),checked:d,onChange:e=>u({defaultValue:e?"true":""})}))))})}))},82150:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(15642),c=n(50686),u=n(98677);const __=a.__;t.Z=(0,s.withInstanceId)((e=>{var t;let{id:n,instanceId:s,width:p,consentType:d,implicitConsentMessage:m,explicitConsentMessage:h,setAttributes:f}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-consent-${s}`,className:"jetpack-field jetpack-field-consent",label:(0,r.createElement)(r.Fragment,null,"explicit"===d&&(0,r.createElement)("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),(0,r.createElement)(l.Z,{required:!1,label:null!==(t={implicit:m,explicit:h}[d])&&void 0!==t?t:"",setAttributes:f,labelFieldName:`${d}ConsentMessage`,placeholder:(0,a.sprintf)(
/* translators: placeholder is a type of consent: implicit or explicit */
-__("Add %s consent message…","jetpack"),d)}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(c.Z,{setAttributes:f,width:p}))),(0,r.createElement)(i.InspectorAdvancedControls,null,(0,r.createElement)(u.Z,{setAttributes:f,id:n})),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Consent Settings","jetpack")},(0,r.createElement)(o.BaseControl,null,(0,r.createElement)(o.SelectControl,{label:__("Permission to email","jetpack"),value:d,options:[{label:__("Mention that you can email","jetpack"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack"),value:"explicit"}],onChange:e=>f({consentType:e})})))))})}))},8523:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(41632),l=n(84803),c=n(10745);const __=a.__;t.Z=e=>{let{setAttributes:t,width:n,id:a,required:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(i.ToolbarGroup,null,(0,r.createElement)(i.ToolbarButton,{title:__("Required","jetpack"),icon:(0,s.Z)((0,r.createElement)(i.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{t({required:!u})},className:u?"is-pressed":void 0}))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Field is required","jetpack"),className:"jetpack-field-label__required",checked:u,onChange:e=>t({required:e}),help:__("Does this field have to be completed for the form to be submitted?","jetpack")}),(0,r.createElement)(l.Z,{setAttributes:t,width:n}))),(0,r.createElement)(o.InspectorAdvancedControls,null,(0,r.createElement)(c.Z,{setAttributes:t,id:a})))}},10745:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,id:n}=e;return(0,r.createElement)(o.TextControl,{label:__("Unique CSS ID","jetpack"),value:n,onChange:e=>t({id:e}),help:__("A unique ID that can be used in CSS or as an anchor.","jetpack")})}},80500:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175);const __=a.__;t.Z=e=>{let{setAttributes:t,label:n,labelFieldName:a,placeholder:i,resetFocus:s,required:l}=e;return(0,r.createElement)("div",{className:"jetpack-field-label"},(0,r.createElement)(o.RichText,{tagName:"label",value:n,className:"jetpack-field-label__input",onChange:e=>{s&&s(),t(a?{[a]:e}:{label:e})},placeholder:null!=i?i:__("Add label…","jetpack"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),l&&(0,r.createElement)("span",{className:"required"},__("(required)","jetpack")))}},56764:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(80500),l=n(29110),c=n(8523);const __=a.__;t.Z=(0,i.withInstanceId)((function(e){const{id:t,type:n,instanceId:a,required:i,label:u,setAttributes:p,isSelected:d,width:m,options:h}=e,[f,g]=(0,r.useState)(null),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=h.slice(0);null===t?(n.splice(e,1),e>0&&g(e-1)):(n.splice(e,1,t),g(e)),p({options:n})},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=h.slice(0);let n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),g(n),p({options:t})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{id:`jetpack-field-multiple-${a}`,className:"jetpack-field jetpack-field-multiple",label:(0,r.createElement)(s.Z,{required:i,label:u,setAttributes:p,isSelected:d,resetFocus:()=>g(null)})},(0,r.createElement)("ol",{className:"jetpack-field-multiple__list",id:`jetpack-field-multiple-${a}`},h.map(((e,t)=>(0,r.createElement)(l.Z,{type:n,key:t,option:e,index:t,onChangeOption:b,onAddOption:v,isInFocus:t===f&&d,isSelected:d})))),d&&(0,r.createElement)(o.Button,{className:"jetpack-field-multiple__add-option",icon:"insert",label:__("Insert option","jetpack"),onClick:v},__("Add option","jetpack"))),(0,r.createElement)(c.Z,{id:t,required:i,setAttributes:p,width:m}))}))},7640:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(80500),s=n(8523);const __=a.__;function l(e){const{id:t,required:n,label:a,setAttributes:l,placeholder:c,width:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"jetpack-field"},(0,r.createElement)(i.Z,{required:n,label:a,setAttributes:l}),(0,r.createElement)(o.Disabled,null,(0,r.createElement)(o.TextareaControl,{placeholder:c,value:c,onChange:e=>l({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,r.createElement)(s.Z,{id:t,required:n,setAttributes:l,width:u}))}},84803:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,width:n}=e;return(0,r.createElement)(o.BaseControl,{label:__("Field Width","jetpack"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack"),className:"jetpack-field-label__width"},(0,r.createElement)(o.ButtonGroup,{"aria-label":__("Field Width","jetpack")},[25,50,75,100].map((e=>(0,r.createElement)(o.Button,{key:e,isSmall:!0,isPrimary:e===n,onClick:()=>t({width:e})},e,"%")))))}},36755:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(29183),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(55609),c=n(92694),u=n(80500),p=n(8523);const __=i.__;function d(e){const{id:t,type:n,required:r,label:a,setAttributes:i,placeholder:s,width:c}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"jetpack-field"},(0,o.createElement)(u.Z,{required:r,label:a,setAttributes:i}),(0,o.createElement)(l.Disabled,null,(0,o.createElement)(l.TextControl,{type:n,placeholder:s,value:s,onChange:e=>i({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,o.createElement)(p.Z,{id:t,required:r,width:c,setAttributes:i}))}const m=(0,s.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const n=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return(0,o.createElement)(e,a()({},t,{className:n}))}return(0,o.createElement)(e,t)}),"withCustomClassName");(0,c.addFilter)("editor.BlockListBlock","jetpack/contact-form",m)},32605:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(9818),s=n(4981);const __=o.__,l=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,i.useDispatch)("core/block-editor");return{insertConsentBlock:(0,r.useCallback)((async()=>{var n;let r=(null!==(n=e.innerBlocks)&&void 0!==n?n:[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));var a;-1===r&&(r=(null!==(a=e.innerBlocks)&&void 0!==a?a:[]).length);const o=await(0,s.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack")),(0,r.createElement)(a.Button,{isSecondary:!0,onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack")),(0,r.createElement)("br",null))};t.Z=()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,r.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),n=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!n})(e.innerBlocks)),[e.innerBlocks])?(0,r.createElement)(l,null):null}},95363:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=(n(65736),n(92819)),i=n(99230),s=n(56994),l=n(58505);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:n}=e;const[a,o]=(0,r.useState)(),[i,c]=(0,r.useState)(!1),u=((e,t,n)=>(0,r.useCallback)(((r,a)=>{e(void 0),t(!0),r(a).then((()=>{n(l.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,n]))(o,c,n);return a?(0,r.createElement)(s.Z,{error:a}):(0,r.createElement)(l.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:i})},p=e=>{let{isFetchingPlugins:t,hasError:n,pluginState:o,setPluginState:i}=e;return t?(0,r.createElement)(a.Spinner,null):n?null:(0,r.createElement)(u,{pluginState:o,setPluginState:i})};t.Z=()=>{const[e,t]=(0,r.useState)(!0),[n,a]=(0,r.useState)(!1),[s,u]=(0,r.useState)(l.Q.NOT_INSTALLED);return(0,r.useEffect)((()=>{(0,i.uM)().then((e=>{a(!1),(0,o.get)(e,c)&&((0,o.get)(e,[c,"active"])?u(l.Q.ACTIVE):u(l.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),(0,r.createElement)(p,{isFetchingPlugins:e,hasError:n,pluginState:s,setPluginState:u})}},56994:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__("The plugin failed to install. <b /> Please check the <a>plugin information</a> for detailed requirements.","jetpack"),{a:(0,r.createElement)(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:(0,r.createElement)("span",null,t)}))}},58505:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(69307),a=n(55609),o=n(65736),i=n(99230),s=n(47583),l=n(92819);const __=o.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(a.Button,{isSecondary:!0,icon:(0,r.createElement)(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},p=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",null,(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack"),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,null),!n&&(0,r.createElement)(a.Button,{isSecondary:!0,onClick:t},__("Install Creative Mail plugin","jetpack"))))},d=e=>{let{activateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,{isActivating:!0}),!n&&(0,r.createElement)(a.Button,{isSecondary:!0,onClick:t},__("Activate Creative Mail Plugin","jetpack")))},m=()=>(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack"),(0,r.createElement)("br",null),(0,r.createElement)(a.ExternalLink,{href:`${(0,l.get)((0,s.Z)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack"))));t.Z=e=>{let{pluginState:t,onCreativeMailPluginClick:n,isInstalling:a}=e;return(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===t&&(0,r.createElement)(m,null),c.INSTALLED===t&&(0,r.createElement)(d,{activateCreativeMailPlugin:()=>n(i.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),c.NOT_INSTALLED===t&&(0,r.createElement)(p,{installAndActivateCreativeMailPlugin:()=>n(i.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},31186:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(32605),s=n(95363);const __=o.__;t.Z=()=>(0,r.createElement)(a.PanelBody,{title:__("Newsletter Integration","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,null,(0,r.createElement)(i.Z,null),(0,r.createElement)(s.Z,null)))},29110:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;class i extends r.Component{constructor(){super(...arguments),this.onChangeOption=this.onChangeOption.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onDeleteOption=this.onDeleteOption.bind(this),this.textInput=(0,r.createRef)()}componentDidMount(){this.props.isInFocus&&this.textInput.current.focus()}componentDidUpdate(){this.props.isInFocus&&this.textInput.current.focus()}onChangeOption(e){this.props.onChangeOption(this.props.index,e.target.value)}onKeyPress(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}onDeleteOption(){this.props.onChangeOption(this.props.index)}render(){const{isSelected:e,option:t,type:n}=this.props;return(0,r.createElement)("li",{className:"jetpack-option"},n&&"select"!==n&&(0,r.createElement)("input",{className:"jetpack-option__type",type:n,disabled:!0}),(0,r.createElement)("input",{type:"text",className:"jetpack-option__input",value:t,placeholder:__("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),e&&(0,r.createElement)(o.Button,{className:"jetpack-option__remove",icon:"trash",label:__("Remove option","jetpack"),onClick:this.onDeleteOption}))}}t.Z=i},89998:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(4981),l=n(89534);const __=o.__,c=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"];t.Z=[{attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...l.Z},migrate:(e,t)=>{const n=(0,a.omit)(e,c),r={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[n,t.concat((0,s.createBlock)("jetpack/button",{element:"button",...r}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)}]},31970:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(89105),i=n.n(o),s=n(89453),l=n(65736),c=n(94333),u=n(4981),p=n(9818),d=n(39630),m=n(52175),h=n(55609),f=n(22985),g=n(12289),b=n(6361),v=n(31186),k=n(58014);const __=l.__,y=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"];t.Z=(0,c.compose)([(0,p.withSelect)(((e,t)=>{const{getBlockType:n,getBlockVariations:r,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:i}=e("core/block-editor"),{getEditedPostAttribute:s}=e("core/editor"),{getSite:l,getUser:c}=e("core"),u=i(t.clientId),p=s("author"),d=p&&c(p)&&c(p).email,m=s("title");return{blockType:n&&n(t.name),defaultVariation:o&&o(t.name,"block"),variations:r&&r(t.name,"block"),innerBlocks:u,hasInnerBlocks:u.length>0,siteTitle:(0,a.get)(l&&l(),["title"]),postTitle:m,postAuthorEmail:d}})),(0,p.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:n}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:n}})),c.withInstanceId])((function(e){let{attributes:t,setAttributes:n,siteTitle:o,postTitle:c,postAuthorEmail:p,hasInnerBlocks:E,replaceInnerBlocks:w,selectBlock:_,clientId:C,instanceId:j,className:S,blockType:x,variations:T,defaultVariation:N}=e;const{to:P,subject:A,customThankyou:I,customThankyouHeading:M,customThankyouMessage:B,customThankyouRedirect:R,jetpackCRM:L}=t,[Z,F]=(0,r.useState)(!1),D=i()(S,"jetpack-contact-form"),O=e=>(0,a.map)(e,(e=>{let[t,n,r=[]]=e;return(0,u.createBlock)(t,n,O(r))})),z=e=>{e.attributes&&n(e.attributes),e.innerBlocks&&w(C,O(e.innerBlocks)),_(C)};(0,r.useEffect)((()=>{E||u.registerBlockVariation||z(g.Z[0])})),(0,r.useEffect)((()=>{if(void 0===P&&p&&n({to:p}),void 0===A&&void 0!==o&&void 0!==c){n({subject:"["+o+"] "+c})}}),[P,p,A,o,c,n]);const U=e=>0!==(e=e.trim()).length&&(!s.validate(e)&&{email:e}),$=e=>{if(0===e.target.value.length)return F(!1),void n({to:p});const t=e.target.value.split(",").map(U).filter(Boolean);t&&t.length&&F(t)},V=e=>{F(!1),n({to:e.trim()})},G=()=>{const e=void 0!==P?P:"",t=void 0!==A?A:"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h.TextControl,{"aria-describedby":`contact-form-${j}-email-${Z&&Z.length>0?"error":"help"}`,label:__("Email address to send to","jetpack"),placeholder:__("name@example.com","jetpack"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:$,onChange:V,help:__("You can enter multiple email addresses separated by commas.","jetpack")}),(0,r.createElement)(f.Z,{isError:!0,id:`contact-form-${j}-email-error`},(()=>{if(Z){if(1===Z.length)return Z[0]&&Z[0].email?(0,l.sprintf)(
+__("Add %s consent message…","jetpack"),d)}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(c.Z,{setAttributes:f,width:p}))),(0,r.createElement)(i.InspectorAdvancedControls,null,(0,r.createElement)(u.Z,{setAttributes:f,id:n})),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Consent Settings","jetpack")},(0,r.createElement)(o.BaseControl,null,(0,r.createElement)(o.SelectControl,{label:__("Permission to email","jetpack"),value:d,options:[{label:__("Mention that you can email","jetpack"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack"),value:"explicit"}],onChange:e=>f({consentType:e})})))))})}))},26588:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(36598),l=n(50686),c=n(98677);const __=a.__;t.Z=e=>{let{setAttributes:t,width:n,id:a,required:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(i.ToolbarGroup,null,(0,r.createElement)(i.ToolbarButton,{title:__("Required","jetpack"),icon:(0,s.Z)((0,r.createElement)(i.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{t({required:!u})},className:u?"is-pressed":void 0}))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Field is required","jetpack"),className:"jetpack-field-label__required",checked:u,onChange:e=>t({required:e}),help:__("Does this field have to be completed for the form to be submitted?","jetpack")}),(0,r.createElement)(l.Z,{setAttributes:t,width:n}))),(0,r.createElement)(o.InspectorAdvancedControls,null,(0,r.createElement)(c.Z,{setAttributes:t,id:a})))}},98677:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,id:n}=e;return(0,r.createElement)(o.TextControl,{label:__("Unique CSS ID","jetpack"),value:n,onChange:e=>t({id:e}),help:__("A unique ID that can be used in CSS or as an anchor.","jetpack")})}},15642:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175);const __=a.__;t.Z=e=>{let{setAttributes:t,label:n,labelFieldName:a,placeholder:i,resetFocus:s,required:l}=e;return(0,r.createElement)("div",{className:"jetpack-field-label"},(0,r.createElement)(o.RichText,{tagName:"label",value:n,className:"jetpack-field-label__input",onChange:e=>{s&&s(),t(a?{[a]:e}:{label:e})},placeholder:null!=i?i:__("Add label…","jetpack"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),l&&(0,r.createElement)("span",{className:"required"},__("(required)","jetpack")))}},26838:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(15642),l=n(81713),c=n(26588);const __=a.__;t.Z=(0,i.withInstanceId)((function(e){const{id:t,type:n,instanceId:a,required:i,label:u,setAttributes:p,isSelected:d,width:m,options:h}=e,[f,g]=(0,r.useState)(null),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=h.slice(0);null===t?(n.splice(e,1),e>0&&g(e-1)):(n.splice(e,1,t),g(e)),p({options:n})},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=h.slice(0);let n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),g(n),p({options:t})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{id:`jetpack-field-multiple-${a}`,className:"jetpack-field jetpack-field-multiple",label:(0,r.createElement)(s.Z,{required:i,label:u,setAttributes:p,isSelected:d,resetFocus:()=>g(null)})},(0,r.createElement)("ol",{className:"jetpack-field-multiple__list",id:`jetpack-field-multiple-${a}`},h.map(((e,t)=>(0,r.createElement)(l.Z,{type:n,key:t,option:e,index:t,onChangeOption:b,onAddOption:v,isInFocus:t===f&&d,isSelected:d})))),d&&(0,r.createElement)(o.Button,{className:"jetpack-field-multiple__add-option",icon:"insert",label:__("Insert option","jetpack"),onClick:v},__("Add option","jetpack"))),(0,r.createElement)(c.Z,{id:t,required:i,setAttributes:p,width:m}))}))},92158:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(15642),s=n(26588);const __=a.__;function l(e){const{id:t,required:n,label:a,setAttributes:l,placeholder:c,width:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"jetpack-field"},(0,r.createElement)(i.Z,{required:n,label:a,setAttributes:l}),(0,r.createElement)(o.Disabled,null,(0,r.createElement)(o.TextareaControl,{placeholder:c,value:c,onChange:e=>l({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,r.createElement)(s.Z,{id:t,required:n,setAttributes:l,width:u}))}},50686:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,width:n}=e;return(0,r.createElement)(o.BaseControl,{label:__("Field Width","jetpack"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack"),className:"jetpack-field-label__width"},(0,r.createElement)(o.ButtonGroup,{"aria-label":__("Field Width","jetpack")},[25,50,75,100].map((e=>(0,r.createElement)(o.Button,{key:e,isSmall:!0,variant:e===n?"primary":void 0,onClick:()=>t({width:e})},e,"%")))))}},47081:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(55609),c=n(92694),u=n(15642),p=n(26588);const __=i.__;function d(e){const{id:t,type:n,required:r,label:a,setAttributes:i,placeholder:s,width:c}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"jetpack-field"},(0,o.createElement)(u.Z,{required:r,label:a,setAttributes:i}),(0,o.createElement)(l.Disabled,null,(0,o.createElement)(l.TextControl,{type:n,placeholder:s,value:s,onChange:e=>i({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,o.createElement)(p.Z,{id:t,required:r,width:c,setAttributes:i}))}const m=(0,s.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const n=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return(0,o.createElement)(e,a()({},t,{className:n}))}return(0,o.createElement)(e,t)}),"withCustomClassName");(0,c.addFilter)("editor.BlockListBlock","jetpack/contact-form",m)},8971:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(9818),s=n(4981);const __=o.__,l=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,i.useDispatch)("core/block-editor");return{insertConsentBlock:(0,r.useCallback)((async()=>{var n;let r=(null!==(n=e.innerBlocks)&&void 0!==n?n:[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));var a;-1===r&&(r=(null!==(a=e.innerBlocks)&&void 0!==a?a:[]).length);const o=await(0,s.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack")),(0,r.createElement)(a.Button,{variant:"secondary",onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack")),(0,r.createElement)("br",null))};t.Z=()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,r.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),n=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!n})(e.innerBlocks)),[e.innerBlocks])?(0,r.createElement)(l,null):null}},29643:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(92819),i=n(45092),s=n(46229),l=n(53125);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:n}=e;const[a,o]=(0,r.useState)(),[i,c]=(0,r.useState)(!1),u=((e,t,n)=>(0,r.useCallback)(((r,a)=>{e(void 0),t(!0),r(a).then((()=>{n(l.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,n]))(o,c,n);return a?(0,r.createElement)(s.Z,{error:a}):(0,r.createElement)(l.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:i})},p=e=>{let{isFetchingPlugins:t,hasError:n,pluginState:o,setPluginState:i}=e;return t?(0,r.createElement)(a.Spinner,null):n?null:(0,r.createElement)(u,{pluginState:o,setPluginState:i})};t.Z=()=>{const[e,t]=(0,r.useState)(!0),[n,a]=(0,r.useState)(!1),[s,u]=(0,r.useState)(l.Q.NOT_INSTALLED);return(0,r.useEffect)((()=>{(0,i.uM)().then((e=>{a(!1),(0,o.get)(e,c)&&((0,o.get)(e,[c,"active"])?u(l.Q.ACTIVE):u(l.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),(0,r.createElement)(p,{isFetchingPlugins:e,hasError:n,pluginState:s,setPluginState:u})}},46229:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__("The plugin failed to install. <b /> Please check the <a>plugin information</a> for detailed requirements.","jetpack"),{a:(0,r.createElement)(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:(0,r.createElement)("span",null,t)}))}},53125:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(69307),a=n(13419),o=n(55609),i=n(65736),s=n(45092),l=n(92819);const __=i.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(o.Button,{variant:"secondary",icon:(0,r.createElement)(o.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},p=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__integration-panel"},(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack"),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,null),!n&&(0,r.createElement)(o.Button,{variant:"secondary",onClick:t},__("Install Creative Mail plugin","jetpack"))))},d=e=>{let{activateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__integration-panel"},(0,r.createElement)("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,{isActivating:!0}),!n&&(0,r.createElement)(o.Button,{variant:"secondary",onClick:t},__("Activate Creative Mail Plugin","jetpack")))},m=()=>(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack"),(0,r.createElement)("br",null),(0,r.createElement)(o.ExternalLink,{href:`${(0,l.get)((0,a.Pb)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack"))));t.Z=e=>{let{pluginState:t,onCreativeMailPluginClick:n,isInstalling:a}=e;return(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===t&&(0,r.createElement)(m,null),c.INSTALLED===t&&(0,r.createElement)(d,{activateCreativeMailPlugin:()=>n(s.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),c.NOT_INSTALLED===t&&(0,r.createElement)(p,{installAndActivateCreativeMailPlugin:()=>n(s.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},74901:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(8971),s=n(29643);const __=o.__;t.Z=()=>(0,r.createElement)(a.PanelBody,{title:__("Newsletter Integration","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,null,(0,r.createElement)(i.Z,null),(0,r.createElement)(s.Z,null)))},81713:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;class i extends r.Component{constructor(){super(...arguments),this.onChangeOption=this.onChangeOption.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onDeleteOption=this.onDeleteOption.bind(this),this.textInput=(0,r.createRef)()}componentDidMount(){this.props.isInFocus&&this.textInput.current.focus()}componentDidUpdate(){this.props.isInFocus&&this.textInput.current.focus()}onChangeOption(e){this.props.onChangeOption(this.props.index,e.target.value)}onKeyPress(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}onDeleteOption(){this.props.onChangeOption(this.props.index)}render(){const{isSelected:e,option:t,type:n}=this.props;return(0,r.createElement)("li",{className:"jetpack-option"},n&&"select"!==n&&(0,r.createElement)("input",{className:"jetpack-option__type",type:n,disabled:!0}),(0,r.createElement)("input",{type:"text",className:"jetpack-option__input",value:t,placeholder:__("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),e&&(0,r.createElement)(o.Button,{className:"jetpack-option__remove",icon:"trash",label:__("Remove option","jetpack"),onClick:this.onDeleteOption}))}}t.Z=i},4901:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(4981),l=n(99837);const __=o.__,c=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"],u={attributes:{...l.Z},supports:{html:!1},save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)},p={attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...l.Z},migrate:(e,t)=>{const n=(0,a.omit)(e,c),r={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[n,t.concat((0,s.createBlock)("jetpack/button",{element:"button",...r}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)};t.Z=[u,p]},8565:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65235),i=n.n(o),s=n(92384),l=n(65736),c=n(94333),u=n(4981),p=n(9818),d=n(39630),m=n(52175),h=n(55609),f=n(13419),g=n(59809),b=n(14142),v=n(38101),k=n(74901);const __=l.__,y=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"];t.Z=(0,c.compose)([(0,p.withSelect)(((e,t)=>{const{getBlockType:n,getBlockVariations:r,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:i}=e("core/block-editor"),{getEditedPostAttribute:s}=e("core/editor"),{getSite:l,getUser:c,canUser:u}=e("core"),p=i(t.clientId),d=s("author"),m=d&&c(d)&&c(d).email,h=s("title"),f=u("create","plugins");return{blockType:n&&n(t.name),canUserInstallPlugins:f,defaultVariation:o&&o(t.name,"block"),variations:r&&r(t.name,"block"),innerBlocks:p,hasInnerBlocks:p.length>0,siteTitle:(0,a.get)(l&&l(),["title"]),postTitle:h,postAuthorEmail:m}})),(0,p.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:n}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:n}})),c.withInstanceId])((function(e){let{attributes:t,setAttributes:n,siteTitle:o,postTitle:c,postAuthorEmail:p,hasInnerBlocks:E,replaceInnerBlocks:w,selectBlock:_,clientId:C,instanceId:j,className:S,blockType:x,variations:P,defaultVariation:T,canUserInstallPlugins:N}=e;const{to:A,subject:I,customThankyou:M,customThankyouHeading:B,customThankyouMessage:R,customThankyouRedirect:L,jetpackCRM:Z}=t,[D,F]=(0,r.useState)(!1),O=i()(S,"jetpack-contact-form"),z=e=>(0,a.map)(e,(e=>{let[t,n,r=[]]=e;return(0,u.createBlock)(t,n,z(r))})),U=e=>{e.attributes&&n(e.attributes),e.innerBlocks&&w(C,z(e.innerBlocks)),_(C)};(0,r.useEffect)((()=>{E||u.registerBlockVariation||U(b.Z[0])})),(0,r.useEffect)((()=>{if(void 0===A&&p&&n({to:p}),void 0===I&&void 0!==o&&void 0!==c){n({subject:"["+o+"] "+c})}}),[A,p,I,o,c,n]);const $=e=>0!==(e=e.trim()).length&&(!s.validate(e)&&{email:e}),V=e=>{if(0===e.target.value.length)return F(!1),void n({to:p});const t=e.target.value.split(",").map($).filter(Boolean);t&&t.length&&F(t)},G=e=>{F(!1),n({to:e.trim()})},H=()=>{const e=void 0!==A?A:"",t=void 0!==I?I:"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h.TextControl,{"aria-describedby":`contact-form-${j}-email-${D&&D.length>0?"error":"help"}`,label:__("Email address to send to","jetpack"),placeholder:__("name@example.com","jetpack"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:V,onChange:G,help:__("You can enter multiple email addresses separated by commas.","jetpack")}),(0,r.createElement)(g.Z,{isError:!0,id:`contact-form-${j}-email-error`},(()=>{if(D){if(1===D.length)return D[0]&&D[0].email?(0,l.sprintf)(
/* translators: placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),Z[0].email):Z[0];if(2===Z.length)return(0,l.sprintf)(
+__("%s is not a valid email address.","jetpack"),D[0].email):D[0];if(2===D.length)return(0,l.sprintf)(
/* translators: placeholders are email addresses. */
-__("%1$s and %2$s are not a valid email address.","jetpack"),Z[0].email,Z[1].email);const e=Z.map((e=>e.email));return(0,l.sprintf)(
+__("%1$s and %2$s are not a valid email address.","jetpack"),D[0].email,D[1].email);const e=D.map((e=>e.email));return(0,l.sprintf)(
/* translators: placeholder is a list of email addresses. */
-__("%s are not a valid email address.","jetpack"),e.join(", "))}return null})()),(0,r.createElement)(h.TextControl,{label:__("Email subject line","jetpack"),value:t,placeholder:__("Enter a subject","jetpack"),onChange:e=>n({subject:e}),help:__("Choose a subject line that you recognize as an email from your website.","jetpack")}),(0,r.createElement)(h.SelectControl,{label:__("On Submission","jetpack"),value:I,options:[{label:__("Show a summary of submitted fields","jetpack"),value:""},{label:__("Show a custom text message","jetpack"),value:"message"},{label:__("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:e=>n({customThankyou:e})}),"redirect"!==I&&(0,r.createElement)(h.TextControl,{label:__("Message Heading","jetpack"),value:M,placeholder:__("Message Sent","jetpack"),onChange:e=>n({customThankyouHeading:e})}),"message"===I&&(0,r.createElement)(h.TextareaControl,{label:__("Message Text","jetpack"),value:B,placeholder:__("Thank you for your submission!","jetpack"),onChange:e=>n({customThankyouMessage:e})}),"redirect"===I&&(0,r.createElement)(h.BaseControl,{label:__("Redirect Address","jetpack"),id:`contact-form-${j}-thankyou-url`},(0,r.createElement)(m.URLInput,{id:`contact-form-${j}-thankyou-url`,value:R,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>n({customThankyouRedirect:e})})))};return!E&&u.registerBlockVariation?(0,r.createElement)("div",{className:D},(0,r.createElement)(m.__experimentalBlockVariationPicker,{icon:(0,a.get)(x,["icon","src"]),label:(0,a.get)(x,["title"]),instructions:__("Please select which type of form you'd like to add, or create your own using the skip option.","jetpack"),variations:T,allowSkip:!0,onSelect:function(){z(arguments.length>0&&void 0!==arguments[0]?arguments[0]:N)}})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.BlockControls,null,(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(h.ToolbarItem,null,(()=>(0,r.createElement)(h.Dropdown,{position:"bottom right",className:"jetpack-contact-form-settings-selector",contentClassName:"jetpack-contact-form__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(h.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("Edit Form Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==d.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,r.createElement)(h.Icon,{icon:"edit"})}))(t,n)},renderContent:()=>G()}))))),(0,r.createElement)(m.InspectorControls,null,(0,r.createElement)(h.PanelBody,{title:__("Form Settings","jetpack")},G()),!(0,k.Wp)()&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(b.Z,{jetpackCRM:L,setAttributes:n}),(0,r.createElement)(v.Z,null))),(0,r.createElement)("div",{className:D},(0,r.createElement)(m.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))}))},75494:function(e,t,n){"use strict";n.d(t,{u2:function(){return y},Xd:function(){return w},Nk:function(){return x}});var r=n(69307),a=n(65736),o=n(4981),i=n(55609),s=n(52175),l=n(31970),c=n(89534),u=n(12289),p=n(89998),d=n(54789),m=n(36755),h=n(7640),f=n(69802),g=n(56764),b=n(41632),v=n(57535),k=n(57324);const __=a.__,_x=a._x,y="contact-form",E=(0,b.Z)((0,r.createElement)(i.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 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-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),w={title:__("Form","jetpack"),description:__("A simple way to get feedback from folks visiting your site.","jetpack"),icon:{src:E,foreground:(0,v.m)()},keywords:[_x("email","block search term","jetpack"),_x("feedback","block search term","jetpack"),_x("contact form","block search term","jetpack")],supports:{html:!1},attributes:c.Z,edit:l.Z,save:()=>(0,r.createElement)(s.InnerBlocks.Content,null),variations:u.Z,category:"grow",transforms:d.Z,deprecated:p.Z},_={category:"grow",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-checkbox-multiple",e)},{type:"block",blocks:["jetpack/field-radio"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-radio",e)},{type:"block",blocks:["jetpack/field-select"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-select",e)},{type:"block",blocks:["jetpack/field-consent"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-consent",e)}]},save:()=>null,example:{}},C=e=>{let{attributes:t,name:n}=e;return null===t.label?(0,o.getBlockType)(n).title:t.label},j=e=>t=>(0,r.createElement)(m.Z,{type:e,label:C(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width}),S=e=>t=>(0,r.createElement)(g.Z,{label:C(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width}),x=[{name:"field-text",settings:{..._,title:__("Text","jetpack"),description:__("When you need just a small amount of text, add a text input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:j("text")}},{name:"field-name",settings:{..._,title:__("Name","jetpack"),description:__("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:j("text")}},{name:"field-email",settings:{..._,title:__("Email","jetpack"),keywords:[__("e-mail","jetpack"),__("mail","jetpack"),"email"],description:__("Want to reply to folks? Add an email address input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:j("email")}},{name:"field-url",settings:{..._,title:__("Website","jetpack"),keywords:["url",__("internet page","jetpack"),"link"],description:__("Add an address input for a website.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:j("url")}},{name:"field-date",settings:{..._,title:__("Date Picker","jetpack"),keywords:[__("Calendar","jetpack"),_x("day month year","block search term","jetpack")],description:__("The best way to set a date. Add a date picker.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:j("text")}},{name:"field-telephone",settings:{..._,title:__("Phone Number","jetpack"),keywords:[__("Phone","jetpack"),__("Cellular phone","jetpack"),__("Mobile","jetpack")],description:__("Add a phone number input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:j("tel")}},{name:"field-textarea",settings:{..._,title:__("Message","jetpack"),keywords:[__("Textarea","jetpack"),"textarea",__("Multiline text","jetpack")],description:__("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:e=>(0,r.createElement)(h.Z,{label:C(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})}},{name:"field-checkbox",settings:{..._,title:__("Checkbox","jetpack"),keywords:[__("Confirm","jetpack"),__("Accept","jetpack")],description:__("Add a single checkbox.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:e=>(0,r.createElement)(f.Z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width}),attributes:{..._.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{..._,title:__("Consent","jetpack"),keywords:[__("Consent","jetpack")],description:__("Ask for consent","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"m81 370h142v40h-142zm0-39h142v-40h-142zm0-79h245v-40h-245zm378 260h-40c0-40.253906-32.746094-73-73-73s-73 32.746094-73 73h-40c0-42.085938 23.128906-78.867188 57.34375-98.3125-11.40625-13.023438-18.34375-30.054688-18.34375-48.6875 0-40.804688 33.195312-74 74-74s74 33.195312 74 74c0 18.632812-6.9375 35.664062-18.34375 48.6875 34.214844 19.445312 57.34375 56.226562 57.34375 98.3125zm-113-113c18.746094 0 34-15.253906 34-34s-15.253906-34-34-34-34 15.253906-34 34 15.253906 34 34 34zm-286 73h138.316406c-3.460937 12.757812-5.316406 26.164062-5.316406 40h-133c-33.085938 0-60-26.914062-60-60v-392c0-33.085938 26.914062-60 60-60h203.757812l142.132813 142.855469v125.210937c-12.042969-7.476562-25.453125-12.765625-39.890625-15.324218v-81.632813h-71.109375c-33.085937 0-60-26.914063-60-60v-71.109375h-174.890625c-11.027344 0-20 8.972656-20 20v392c0 11.027344 8.972656 20 20 20zm234.890625-340.890625h42.972656l-62.972656-63.234375v43.234375c0 11.03125 8.96875 20 20 20zm0 0"}),24,25,"-26 0 512 512"),attributes:{..._.attributes,label:{type:"string",default:__("Consent","jetpack")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack")}},edit:e=>{let{attributes:t,isSelected:n,setAttributes:a}=e;const{id:o,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c}=t;return(0,r.createElement)(k.Z,{id:o,isSelected:n,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c,setAttributes:a})}}},{name:"field-checkbox-multiple",settings:{..._,title:__("Checkbox Group","jetpack"),keywords:[__("Choose Multiple","jetpack"),__("Option","jetpack")],description:__("People love options. Add several checkbox items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:S("checkbox"),attributes:{..._.attributes,label:{type:"string",default:"Choose several"}}}},{name:"field-radio",settings:{..._,title:__("Radio","jetpack"),keywords:[__("Choose","jetpack"),__("Select","jetpack"),__("Option","jetpack")],description:__("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.createElement)(i.Circle,{cx:"12",cy:"12",r:"5"}))),edit:S("radio"),attributes:{..._.attributes,label:{type:"string",default:"Choose one"}}}},{name:"field-select",settings:{..._,title:__("Select","jetpack"),keywords:[__("Choose","jetpack"),__("Dropdown","jetpack"),__("Option","jetpack")],description:__("Compact, but powerful. Add a select box with several items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:S("select"),attributes:{..._.attributes,label:{type:"string",default:"Select one"}}}}]},54789:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=(e,t,n)=>{const r=n.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(r&&r.length)return r[1];const a=n.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(a&&a.length)return a[1];const o=n.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!o||!o.length)&&o[1]},s={root:{},innerBlocks:[]};t.Z={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("<br>","");if(t.includes("[contact-form")&&(s.root={},s.innerBlocks=[],s.root=(e=>{const t={to:i("contact-form","to",e),subject:i("contact-form","subject",e),submitButtonText:i("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,r.pickBy)(t,r.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{s.innerBlocks.push((e=>{const t={label:i("contact-field","label",e),placeholder:i("contact-field","placeholder",e),required:i("contact-field","required",e),options:i("contact-field","options",e)},n=(e=>{const t={text:"jetpack/field-text",url:"jetpack/field-text",textarea:"jetpack/field-textarea",radio:"jetpack/field-radio",checkbox:"jetpack/field-checkbox","checkbox-multiple":"jetpack/field-checkbox-multiple",select:"jetpack/field-select",email:"jetpack/field-email",name:"jetpack/field-name",default:"jetpack/field-text"};return t[e]?t[e]:t.default})(i("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(n,(0,r.pickBy)(t,r.identity))})(e))}))}if(t.includes("[/contact-form]")){s.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:s.root.attrs.submitButtonText||__("Contact Us","jetpack")}));return(0,a.createBlock)(s.root.blockName,s.root.attrs,s.innerBlocks)}return!1}}]}},12289:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(55609),s=n(58014),l=n(41632),c=n(57535);const __=o.__,u=(0,a.compact)([{name:"contact-form",title:__("Contact Form","jetpack"),description:__("Add a contact form to your page.","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M21.99 8c0-.72-.37-1.35-.94-1.7l-8.04-4.71c-.62-.37-1.4-.37-2.02 0L2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zm-11.05 4.34l-7.2-4.5 7.25-4.25c.62-.37 1.4-.37 2.02 0l7.25 4.25-7.2 4.5c-.65.4-1.47.4-2.12 0z"}),48,48,"-4 -4 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-textarea",{}],["jetpack/button",{text:__("Contact Us","jetpack"),element:"button"}]]},!(0,s.Wp)()&&{name:"newsletter-form",title:__("Newsletter Sign-up","jetpack"),description:__("A simple way to collect information from folks visiting your site.","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M37.9999 7.59998C49.3999 7.59998 68.3999 26.6 68.3999 26.6V68.4H7.59985V26.6C7.59985 26.6 26.5999 7.59998 37.9999 7.59998ZM64.5999 63.536L50.4259 52.44L64.5999 41.8L62.9659 40.394L54.3779 45.334L55.2899 28.956L21.9639 26.98L20.2159 44.232L12.6539 40.622L11.3999 41.8L25.5739 52.44L12.5019 63.27L14.0219 64.904L37.9999 49.4L62.8139 65.17L64.5999 63.536Z"}),48,48,"-6 -6 92 92"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack"),element:"button"}]]},{name:"rsvp-form",title:__("RSVP Form","jetpack"),description:__("Add an RSVP form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M10 9V7.41c0-.89-1.08-1.34-1.71-.71L3.7 11.29c-.39.39-.39 1.02 0 1.41l4.59 4.59c.63.63 1.71.19 1.71-.7V14.9c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Attending?","jetpack"),required:!0,options:[__("Yes","jetpack"),__("No","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send RSVP","jetpack"),element:"button"}]],attributes:{subject:__("A new RSVP from your website","jetpack")}},{name:"registration-form",title:__("Registration Form","jetpack"),description:__("Add a Registration form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M11.34 15.02c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95zm2.12-10.61L17 7.95l-4.95 4.95-3.54-3.54 4.95-4.95zm6.95 11l-2.12-2.12c-.18-.18-.44-.29-.7-.29h-.27l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2h-.42c-.27 0-.52.11-.71.29l-2.12 2.12c-.37.38-.58.89-.58 1.42V20c0 1.1.9 2 2 2h14c1.1 0 2-.89 2-2v-3.17c0-.53-.21-1.04-.59-1.42z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{label:__("Phone Number","jetpack")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack"),options:[__("Search Engine","jetpack"),__("Social Media","jetpack"),__("TV","jetpack"),__("Radio","jetpack"),__("Friend or Family","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send","jetpack"),element:"button"}]],attributes:{subject:__("A new registration from your website","jetpack")}},{name:"appointment-form",title:__("Appointment Form","jetpack"),description:__("Add an Appointment booking form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V8c0-.55-.45-1-1-1s-1 .45-1 1v2H2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1H6zm9 4c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{required:!0}],["jetpack/field-date",{label:__("Date","jetpack"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack"),required:!0,options:[__("Morning","jetpack"),__("Afternoon","jetpack")]}],["jetpack/field-textarea",{label:__("Notes","jetpack")}],["jetpack/button",{text:__("Book Appointment","jetpack"),element:"button"}]],attributes:{subject:__("A new appointment booked from your website","jetpack")}},{name:"feedback-form",title:__("Feedback Form","jetpack"),description:__("Add a Feedback form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.03 0 3.8-1.11 4.75-2.75.19-.33-.05-.75-.44-.75H7.69c-.38 0-.63.42-.44.75.95 1.64 2.72 2.75 4.75 2.75z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Please rate our website","jetpack"),required:!0,options:[__("1 - Very Bad","jetpack"),__("2 - Poor","jetpack"),__("3 - Average","jetpack"),__("4 - Good","jetpack"),__("5 - Excellent","jetpack")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack")}],["jetpack/button",{text:__("Send Feedback","jetpack"),element:"button"}]],attributes:{subject:__("New feedback received from your website","jetpack")}}]);t.Z=u},4352:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(29756);const __=i.__;class u extends r.Component{constructor(){super(...arguments),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"!==e.key||e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:a,region:i,postal:u,country:p,linkToGoogleMaps:d},isSelected:m,setAttributes:h}=this.props,f=[e,t,n,a,i,u,p].some((e=>""!==e)),g=o()({"jetpack-address-block":!0,"is-selected":m}),b=(0,r.createElement)(l.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:d,onChange:e=>h({linkToGoogleMaps:e})});return(0,r.createElement)("div",{className:g},!m&&f&&(0,c.Z)(this.props),(m||!f)&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>h({address:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>h({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>h({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:a,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>h({city:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:i,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>h({region:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:u,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>h({postal:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>h({country:e}),onKeyDown:this.preventEnterKey}),b))}}t.Z=u},47559:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(4352),s=n(29756),l=n(41632);const __=a.__,_x=a._x,c="address",u={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,l.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.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)(o.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:i.Z,save:s.Z}},29756:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:a,city:o,region:i,postal:s,country:l}}=e;return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},t),n&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},n),a&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(i||s)&&(0,r.createElement)("div",{className:"jetpack-address__city"},o),o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__city"},o),", ",(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&(0,r.createElement)("div",{className:"jetpack-address__country"},l))},i=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}}=e;let l=o?`+${o},`:"";l=i?`${l}+${i}`:l;return`https://www.google.com/maps/search/${t?`${t},`:""}${n?`${n},`:""}${r?`${r},`:""}${a?`+${a},`:""}${l}${s?`+${s}`:""}`.replace(" ","+")};t.Z=e=>(e=>{let{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}=e;return[t,n,r,a,o,i,s].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))},18680:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(89105),i=n.n(o);const s=["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"]];t.Z=e=>{const{isSelected:t}=e;return(0,r.createElement)("div",{className:i()({"jetpack-contact-info-block":!0,"is-selected":t})},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:s,templateLock:!1,template:l}))}},63015:function(e,t,n){"use strict";var r=n(59861),a=n(55637),o=n(65736);const __=o.__;t.Z=e=>{const{setAttributes:t}=e;return(0,a.Z)("email",e,__("Email","jetpack"),r.Z,(e=>t({email:e})))}},52413:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(63015),s=n(41632),l=n(59861);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z,parent:["jetpack/contact-info"]}},59861:function(e,t,n){"use strict";var r=n(69307),a=n(89453);t.Z=e=>{let{attributes:{email:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},t.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&a.validate(n)?e===n?(0,r.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,r.createElement)(r.Fragment,{key:t},(0,r.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,r.createElement)(r.Fragment,null,e.slice(-(e.length-n.length)))):(0,r.createElement)(r.Fragment,{key:t},e)})))}},20195:function(e,t,n){"use strict";n.d(t,{u2:function(){return h},Xd:function(){return g},Nk:function(){return b}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(4981),l=n(18680),c=n(41632),u=n(47559),p=n(52413),d=n(51592),m=n(57535);const __=a.__,_x=a._x,h="contact-info",f=(0,c.Z)((0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),g={title:__("Contact Info","jetpack"),description:__("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[_x("email","block search term","jetpack"),_x("phone","block search term","jetpack"),_x("address","block search term","jetpack")],icon:{src:f,foreground:(0,m.m)()},category:"grow",supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"widget_contact_info"===t},transform:e=>{let{instance:t}=e,n=[(0,s.createBlock)("core/heading",{content:t.raw.title}),(0,s.createBlock)("jetpack/email",{email:t.raw.email}),(0,s.createBlock)("jetpack/phone",{phone:t.raw.phone}),(0,s.createBlock)("jetpack/address",{address:t.raw.address})];return t.raw.hours&&(n=[...n,(0,s.createBlock)("core/paragraph",{content:t.raw.hours})]),t.raw.showmap&&t.raw.address&&(n=[...n,(0,s.createBlock)("jetpack/map",{address:t.raw.address})]),(0,s.createBlock)("jetpack/contact-info",{},n)}}]},attributes:{},edit:l.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},b=[{name:u.u,settings:u.X},{name:p.u,settings:p.X},{name:d.u,settings:d.X}]},51633:function(e,t,n){"use strict";var r=n(65736),a=n(18690),o=n(55637);const __=r.__;t.Z=e=>{const{setAttributes:t}=e;return(0,o.Z)("phone",e,__("Phone number","jetpack"),a.Z,(e=>t({phone:e})))}},51592:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(51633),s=n(41632),l=n(18690);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z}},18690:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{attributes:{phone:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},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,o=n?e.substring(0,n):"",i=a.replace(/\D/g,"");return/[0-9/+/(]/.test(a[0])?(o=o.slice(0,-1),"+"===a[0]&&(i="+"+i)):a=a.substring(1),[o.trim()?(0,r.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,(0,r.createElement)("a",{key:"phoneNumber",href:`tel:${i}`},a)]}(t))}},2534:function(e,t){"use strict";t.Z={participants:{type:"array"},showTimestamps:{type:"boolean",default:!1},skipUpload:{type:"boolean",default:!1}}},74113:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.createContext)()},78e3:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n(69307),a=n(55609),o=n(65736),i=n(90566);const __=o.__,_x=o._x;function s(e){let{className:t,participants:n,onDelete:o}=e;return(0,r.createElement)("div",{className:`${t}__participant-control`},n.map((e=>{let{label:n,slug:s}=e;return(0,r.createElement)("div",{key:`${s}-key`,className:`${t}__participant`},(0,r.createElement)("div",{className:`${t}__participant-label`},(0,i.iT)(n)),(0,r.createElement)(a.Button,{className:`${t}__remove-participant`,label:__("Remove participant","jetpack"),onClick:()=>o(s),isTertiary:!0,isSmall:!0},_x("Remove","verb: remove item from a list","jetpack")))})))}function l(e){let{participants:t,className:n,onChange:a,onDelete:o}=e;return(0,r.createElement)(s,{className:n,participants:t,onChange:a,onDelete:o})}},63414:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(9818),l=n(78e3),c=n(74113),u=n(51591),p=n(41362),d=n(90566);const __=a.__,m=[["jetpack/dialogue"]];t.Z=(0,i.withNotices)((function(e){let{className:t,attributes:n,setAttributes:a,noticeUI:h,clientId:f,noticeOperations:g}=e;const{participants:b=[],showTimestamps:v,skipUpload:k}=n,[y,E]=(0,r.useState)(""),{insertBlocks:w}=(0,s.useDispatch)("core/block-editor"),_=(0,r.useCallback)((e=>{a({participants:b.map((t=>t.slug!==e.slug?t:{...t,...e}))})}),[a,b]),C=(0,r.useCallback)((function(e){let{label:t,slug:n}=e;if(!t)return;const r=t.trim();if(!r?.length)return;const o=(0,d.tQ)(b,r);if(o)return o;const i={slug:n||"speaker-"+ +new Date,label:r};return a({participants:[...b,i]}),i}),[b,a]),j=(0,r.useCallback)(a,[a]),S=(0,r.useMemo)((()=>({setAttributes:j,updateParticipants:_,addNewParticipant:C,attributes:{showTimestamps:v}})),[C,j,v,_]);function x(e){g.removeAllNotices(),g.createErrorNotice(e),E(!1)}const T="wp-block-jetpack-conversation";return b?.length||k?(0,r.createElement)(c.Z.Provider,{value:S},(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.Panel,null,(0,r.createElement)(i.PanelBody,{title:__("Speakers","jetpack"),className:`${T}__participants`},(0,r.createElement)(l.C,{className:T,participants:b,onDelete:function(e){a({participants:b.filter((t=>{let{slug:n}=t;return n!==e}))})}})))),(0,r.createElement)(o.InnerBlocks,{template:m}))):(0,r.createElement)(i.Placeholder,{label:__("Conversation","jetpack"),instructions:(0,r.createElement)(r.Fragment,null,__("Upload a transcript file or create a conversation with blank content.","jetpack"),(0,r.createElement)("div",null,(0,r.createElement)("em",null,__("Accepted file formats:","jetpack"),(0,r.createElement)("strong",null," ",d.bZ),"."))),icon:(0,r.createElement)(o.BlockIcon,{icon:u.Xu}),notices:h},(0,r.createElement)("div",{className:`${T}__placeholder`},(0,r.createElement)(i.FormFileUpload,{multiple:!1,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:function(e){const t=e.target.files?.[0];if(!t)return x(__("Transcript file not found.","jetpack"));if(t?.size&&t.size<=0||!t?.size||t.size>d.$n)return x(__("Invalid transcript file size.","jetpack"));if(t?.type?.length&&"text/plain"!==t.type)return x(__("Invalid transcript file type.","jetpack"));const n=(0,d.Y7)(t?.name);if(!(0,d.P8)(n))return x(__("Invalid transcript file extension.","jetpack"));E(!0),(0,d.Bt)(t,(function(e,t){let{conversation:n,dialogues:r}=e;if(t)return x(t);a({participants:n.speakers,skipUpload:!n?.length});const o=r.map((e=>e.slug||e.timestamp?["jetpack/dialogue",e]:["core/paragraph",e])),i=(0,p.Z)(o);w(i,0,f),E(!1)}))},accept:d.bZ,isPrimary:!0,title:`${__("Accepted file formats:","jetpack")} ${d.bZ}`,disabled:y},__("Upload transcript","jetpack")),(0,r.createElement)(i.Button,{isTertiary:!0,disabled:y,onClick:()=>a({skipUpload:!0})},__("Skip upload","jetpack"))))}))},34376:function(e,t,n){"use strict";var r=n(65736);const __=r.__,a=[{slug:"participant-0",label:"Rosalind"},{slug:"participant-1",label:"Orlando"}],o=[{name:"core/heading",attributes:{content:__("Shakespeare text","jetpack"),level:4}},{name:"jetpack/dialogue",attributes:{...a[0],content:__("O, my dear Orlando, how it grieves me to see thee wear thy heart in a scarf!","jetpack"),timestamp:"00:10"}},{name:"jetpack/dialogue",attributes:{...a[1],content:__("It is my arm.","jetpack"),timestamp:"00:15"}},{name:"jetpack/dialogue",attributes:{...a[0],content:__("I thought thy heart had been wounded with the claws of a lion.","jetpack"),timestamp:"00:32"}},{name:"jetpack/dialogue",attributes:{...a[1],content:__("Wounded it is, but with the eyes of a lady.","jetpack"),timestamp:"00:37"}}];t.Z={attributes:{participants:a,showTimestamps:!0,className:"is-style-row"},innerBlocks:o}},36384:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},Xd:function(){return d}});var r=n(65736),a=n(4981),o=n(51591),i=n(41362),s=n(2534),l=n(63414),c=n(22766),u=n(34376);const __=r.__,_x=r._x,p="conversation",d={title:__("Conversation","jetpack"),description:__("Create a transcription of a speech or conversation, with any number of participants, using dialogue blocks.","jetpack"),icon:o.Xu,category:"layout",keywords:[_x("conversation","block search term","jetpack"),_x("transcription","block search term","jetpack"),_x("dialogue","block search term","jetpack"),_x("speaker","block search term","jetpack")],supports:{align:!0},attributes:s.Z,example:u.Z,styles:[{name:"row",label:__("Row","jetpack"),isDefault:!0},{name:"column",label:__("Column","jetpack")}],edit:l.Z,save:c.Z,providesContext:{"jetpack/conversation-participants":"participants","jetpack/conversation-showTimestamps":"showTimestamps"},transforms:{from:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>{const t=e.map((e=>{let{content:t}=e;return["jetpack/dialogue",{content:t}]}));return(0,a.createBlock)("jetpack/conversation",{},(0,i.Z)(t))}}]}}},22766:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175);function s(e){let{attributes:t}=e;return(0,r.createElement)("div",{className:o()("wp-block-jetpack-conversation",{"show-timestamps":t?.showTimestamp})},(0,r.createElement)(i.InnerBlocks.Content,null))}},90566:function(e,t,n){"use strict";n.d(t,{ly:function(){return i},tQ:function(){return s},iT:function(){return l},Y7:function(){return c},bZ:function(){return m},$n:function(){return h},P8:function(){return k},Bt:function(){return y}});var r=n(72629),a=n(81975),o=n(65736);const __=o.__;function i(e,t){const n=e.filter((e=>{let{slug:n}=e;return n===t}));return n?.length?n[0]:null}function s(e,t){const n=e.filter((e=>{let{label:n}=e;return n?.toLowerCase()===t?.toLowerCase()}));return n?.length?n[0]:null}function l(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=(0,r.getTextContent)((0,r.create)({html:e}))?.trim();return t?(0,a.escapeHTML)(n):n}function c(e){return`.${e.substr(e.lastIndexOf(".")+1)}`}const u=".srt",p=".txt",d=[u,p,".vtt",".sbv"],m=d.join(", "),h=1e5,f=/(.*[^\s])\s{1,}(\d{1,2}(?::\d{1,2}?)+)\s+\n([\s\S]*?(?=\n{2}|$))/,g=/(?:(.*[^\s]):\s+)?(?:\[(\d+(?::\d+)*?(?:\.\d*)?)])?(?:[\s])*?([^\s].+?(?:\n+|$))/,b=[{name:"otter",re:new RegExp(f,"gm"),testRE:new RegExp(f,"g")},{name:"sonix",re:new RegExp(g,"gm"),testRE:new RegExp(g,"g")}],v=/(\d+)\n([\d:,]+)\s+-{2}>\s+([\d:,]+)\n([\s\S]*?(?=\n{2}|$))/gm;function k(e){return d.indexOf(e)>=0}function y(e,t){const n=c(e?.name),r=new FileReader;r.addEventListener("load",(e=>{const r=e.target.result?e.target.result.replace(/\r\n|\r|\n/g,"\n"):null;if(!r?.length)return t({},__("Transcript content is empty","jetpack"));let a={};if(n&&n!==p&&n===u&&(a=function(e){const t={conversation:{speakers:[]},dialogues:[]};let n;for(;null!==(n=v.exec(e));)t.dialogues.push({timestamp:n[2],content:n[4]});return t}(r)),n===p&&(a=function(e){const t={dialogues:[],conversation:{speakers:[]}},n=b.filter((t=>{let{testRE:n}=t;return n.test(e)}));if(!n?.length)return t;const r=n[0];let a;for(;null!=(a=r.re.exec(e));){const e=a[r?.indexes?.speaker||1]||"";e?.length&&t.conversation.speakers.indexOf(e)<0&&t.conversation.speakers.push(e);const n={content:a[r?.indexes?.content||3],timestamp:a[r?.indexes?.timestamp||2],showTimestamp:!0};e?.length&&(n.label=e,n.slug=`speaker-${t.conversation.speakers.indexOf(e)}`),t.dialogues.push(n)}return t.conversation.speakers=t.conversation.speakers.map(((e,t)=>({label:e,slug:`speaker-${t}`}))),t}(r)),!a.dialogues?.length)return t({},__("Transcript format not supported","jetpack"));t(a)})),r.readAsText(e)}},60522:function(e,t){"use strict";t.Z={label:{type:"string",source:"html",selector:".wp-block-jetpack-dialogue__participant"},slug:{type:"string"},timestamp:{type:"string",default:"00:00"},showTimestamp:{type:"boolean",default:!1},placeholder:{type:"string"},content:{type:"string",source:"html",selector:".wp-block-jetpack-dialogue__content"}}},23180:function(e,t,n){"use strict";n.d(t,{Ev:function(){return m},v$:function(){return g}});n(29183);var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736),l=n(52175),c=n(90566);const __=s.__,u="is-participant-adding",p="is-participant-selecting",d="was-participant-selected";function m(e){let{participants:t,slug:n,onSelect:a}=e;return(0,r.createElement)(i.SelectControl,{label:__("Speaker name","jetpack"),value:n,options:t.map((e=>{let{slug:t,label:n}=e;return{label:(0,c.iT)(n),value:t}})),onChange:e=>a((0,c.ly)(t,e))})}const h=(0,i.withFocusOutside)(class extends r.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return(0,r.createElement)("div",{className:this.props.className},this.props.children)}});function f(e){return{name:"jetpack/conversation-participants",triggerPrefix:"",options:e,getOptionLabel:e=>{let{label:t}=e;return(0,r.createElement)("span",null,(0,c.iT)(t))},getOptionKeywords:e=>{let{label:t}=e;return[t]},getOptionCompletion:e=>({action:"replace",value:e}),popoverProps:{position:"bottom"}}}function g(e){let{className:t,label:n,participant:a,participants:i,transcriptRef:s,onParticipantChange:m,onUpdate:g=(()=>{}),onSelect:b,onAdd:v,onClean:k}=e;const[y,E]=(0,r.useState)("is-participant-ready");function w(){if(!n)return;const e=(0,c.tQ)(i,n);return a&&a.label!==n?e&&e.slug!==a.slug?(E(d),b(e)):(E("was-participant-edited"),g({...a,label:(0,c.iT)(n,!0)})):e?(E(d),b(e)):(v((0,c.iT)(n,!0)),E("was-participant-added"))}const _=(0,r.useMemo)((()=>y?y!==u&&y!==p?[]:[f(i)]:[]),[i,y]);return(0,r.createElement)(h,{className:o()(t,{"has-bold-style":n?.length,[y]:y}),onFocusOutside:w},(0,r.createElement)(l.RichText,{tagName:"div",value:n,allowedFormats:[],withoutInteractiveFormatting:!0,onChange:function(e){if(!e?.length)return E(u),k();m(e);const t=(0,c.tQ)(i,e);a?a.label===e?E(p):E("is-participant-editing"):E(t?p:u)},placeholder:__("Speaker","jetpack"),keepPlaceholderOnFocus:!0,onSplit:()=>{},onReplace:e=>{setTimeout((()=>s?.current?.focus()),10);const t=e?.[0];if(t){const{label:e}=t;return m(e),E(d),b(t)}return w()},autocompleters:_}))}},94371:function(e,t,n){"use strict";n.d(t,{dG:function(){return d},S6:function(){return f}});var r=n(69307),a=n(92819),o=n(55609),i=n(65736),s=n(38205),l=n(98017);const __=i.__,_x=i._x;const c=["hour","min","sec"];function u(e,t){const n=Object.keys(e)?.[0];if(!n)return t.join(":");let r=String((a=e[n],o="hour"===n?23:59,Math.max(0,Math.min(a,o))));var a,o;return 1===r?.length?r=`0${r}`:0===r?.length&&(r="00"),t[c.indexOf(n)]=r,3===t.length&&"00"===t[0]&&t.shift(),t.join(":")}const p=(0,a.debounce)((function(e,t){t((0,l.H)(e))}),250);function d(e){let{value:t,className:n,onChange:a,shortLabel:i=!1,isDisabled:c=!1,duration:d}=e;const[m,h]=(0,r.useState)((0,l.i)(t)),f=t.split(":");return f.length<=2&&f.unshift("00"),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${n}__timestamp-controls`},(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__hour`,label:i?_x("Hour","hour (short form)","jetpack"):_x("Hour","hour (long form)","jetpack",0),value:f[0],min:0,max:23,onChange:e=>!c&&a(u({hour:e},f)),disabled:c}),(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__minute`,label:i?_x("Min","Short for Minute","jetpack"):__("Minute","jetpack"),value:f[1],min:0,max:59,onChange:e=>!c&&a(u({min:e},f)),disabled:c}),(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__second`,label:i?_x("Sec","Short for Second","jetpack"):__("Second","jetpack"),value:f[2],min:0,max:59,onChange:e=>!c&&a(u({sec:e},f)),disabled:c})),(0,r.createElement)(o.RangeControl,{disabled:void 0===d,value:m,className:`${n}__timestamp-range-control`,min:0,max:d,onChange:e=>{h(e),p(e,a)},withInputField:!1,renderTooltipContent:e=>(0,l.H)(e)}))}function m(e){let{className:t,onPlayback:n,value:a}=e;return(0,r.createElement)(o.Button,{className:t,isTertiary:!0,onClick:()=>n((0,l.i)(a))},a)}function h(e){let{className:t,currentTime:n,isTimestampButtonVisible:a,children:i,onChange:s,onToggle:c}=e;return(0,r.createElement)(o.Button,{className:t,isSmall:!0,isTertiary:!0,onClick:()=>{c(!a),a||s((0,l.H)(n),s)}},i)}function f(e){let{className:t,isSelected:n,show:a,value:o,mediaCurrentTime:i=0,onChange:s,onToggle:l,onPlayback:c}=e;return n?a?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m,{className:`${t}__timestamp-label`,value:o,onPlayback:c}),(0,r.createElement)(h,{className:`${t}__timestamp-button`,currentTime:i,onChange:s,onToggle:l,isTimestampButtonVisible:a},__("Remove","jetpack"))):(0,r.createElement)(h,{className:`${t}__timestamp-button`,currentTime:i,onChange:s,onToggle:l,isTimestampButtonVisible:a},__("Add timestamp","jetpack")):a?(0,r.createElement)(m,{className:`${t}__timestamp-label`,value:o,onPlayback:c}):null}},27257:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(52175),l=n(4981),c=n(9818),u=n(55609),p=n(23180),d=n(94371),m=n(38882),h=n(74113),f=n(15111),g=n(37837),b=n(98017),v=n(90566);const __=i.__,k="core/paragraph";function y(e){let{className:t,attributes:n,setAttributes:a,context:i,onReplace:y,mergeBlocks:E,isSelected:w}=e;const{content:_,label:C,slug:j,placeholder:S,showTimestamp:x,timestamp:T}=n,{mediaSource:N,mediaCurrentTime:P,mediaDuration:A,mediaDomReference:I,isMultipleSelection:M}=(0,c.useSelect)((e=>{const{getDefaultMediaSource:t,getMediaSourceCurrentTime:n,getMediaSourceDuration:r,getMediaSourceDomReference:a}=e(f.tT);return{mediaSource:t(),mediaCurrentTime:n(),mediaDuration:r(),mediaDomReference:a(),isMultipleSelection:e("core/block-editor").getMultiSelectedBlocks().length>0}}),[]),{playMediaSource:B,setMediaSourceCurrentTime:R}=(0,c.useDispatch)(f.tT),L=(0,r.useRef)(),Z=i["jetpack/conversation-participants"],F=Z?.length?Z:[],D=(0,v.ly)(F,j),O=(0,r.useContext)(h.Z);function z(e){a({timestamp:e})}return(0,r.useEffect)((()=>{M||w||D&&D.slug===j&&D.label!==C&&a({label:D.label})}),[D,C,j,M,w,a]),(0,r.createElement)("div",{className:t},(0,r.createElement)(s.BlockControls,null,N&&(0,r.createElement)(g.m,{onTimestampClick:e=>{a({showTimestamp:!0}),z((0,b.H)(e))}})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(u.Panel,null,(0,r.createElement)(u.PanelBody,{title:__("Speaker","jetpack")},(0,r.createElement)(p.Ev,{className:m.P,participants:F,slug:j||"",onSelect:a})),!!N?.title&&(0,r.createElement)(u.PanelBody,{title:__("Podcast episode","jetpack")},(0,r.createElement)("p",null,N.title)),N&&x&&(0,r.createElement)(u.PanelBody,{title:__("Timestamp","jetpack")},(0,r.createElement)(d.dG,{className:m.P,value:T,onChange:z,mediaSource:N,duration:A})))),(0,r.createElement)("div",{className:o()(`${m.P}__meta`,{"has-not-media-source":!N})},(0,r.createElement)(p.v$,{className:`${m.P}__participant`,label:C,participant:D,participants:F,transcriptRef:L,onParticipantChange:e=>{a({label:e})},onSelect:e=>{M||a(e)},onClean:()=>{a({slug:null,label:""})},onAdd:e=>{const t=O.addNewParticipant({label:e,slug:j});a(t)},onUpdate:e=>{O.updateParticipants(e)}}),N&&(0,r.createElement)(d.S6,{className:m.P,show:x,isSelected:w,value:T,mediaCurrentTime:P,onChange:z,onToggle:e=>a({showTimestamp:e}),onPlayback:function(e){I&&(I.currentTime=e),R(e),B()}})),(0,r.createElement)(s.RichText,{ref:L,identifier:"content",tagName:"p",className:`${m.P}__content`,value:_,onChange:e=>a({content:e}),onMerge:E,onSplit:e=>{if(!_?.length)return(0,l.createBlock)(k);const t=e?.length?n:{};return(0,l.createBlock)("jetpack/dialogue",{...t,content:e})},onReplace:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return O?e[0]?.name!==k||e[1]?.name!==k||e[0]?.attributes.content||e[1]?.attributes.content?void y(e,...n):((0,c.dispatch)("core/block-editor").selectBlock(e[0].clientId),y([e[0]],...n)):y(e,...n)},onRemove:y?()=>y([]):void 0,placeholder:S||__("Write dialogue…","jetpack"),keepPlaceholderOnFocus:!0}))}},98956:function(e,t,n){"use strict";n.d(t,{u2:function(){return d},Xd:function(){return m}});var r=n(65736),a=n(4981),o=n(60522),i=n(27257),s=n(57937),l=n(51591),c=n(90059),u=n(36384);const __=r.__,_x=r._x,p=c.p,d="dialogue",m={title:__("Dialogue","jetpack"),description:__("Create a dialogue paragraph, setting the participant with an optional timestamp.","jetpack"),parent:[`jetpack/${u.u2}`],icon:l.VV,category:"layout",edit:i.Z,save:s.Z,attributes:o.Z,usesContext:["jetpack/conversation-participants","jetpack/conversation-showTimestamps"],keywords:[_x("dialogue","block search term","jetpack"),_x("participant","block search term","jetpack"),_x("transcription","block search term","jetpack"),_x("speaker","block search term","jetpack")],transforms:{to:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>e.map((e=>{let{content:t,label:n}=e;return(0,a.createBlock)("core/paragraph",{content:(n?.length?`<strong>${n}</strong>: `:"")+t})}))}],from:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>e.map((e=>{let{content:t}=e;return(0,a.createBlock)("jetpack/dialogue",{participant:p[0],content:t})}))}]}}},57937:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(52175),o=n(38882),i=n(98017);function s(e){let{attributes:t}=e;const{content:n,label:s,showTimestamp:l,timestamp:c}=t;return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:`${o.P}__meta`},(0,r.createElement)(a.RichText.Content,{className:`${o.P}__participant has-bold-style`,tagName:"div",value:s}),l&&(0,r.createElement)("div",{className:`${o.P}__timestamp-label`},(0,r.createElement)("a",{className:`${o.P}__timestamp_link`,href:`#${(0,i.i)(c)}`},c))),(0,r.createElement)(a.RichText.Content,{className:`${o.P}__content`,tagName:"p",value:n}))}},38882:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});const r="wp-block-jetpack-dialogue"},48387:function(e,t,n){"use strict";var r=n(69307),a=n(78850),o=n(75139),i=n(89105),s=n.n(i),l=n(52175),c=n(17882);t.Z=e=>{let{className:t=null,currency:n=null,defaultValue:i=null,disabled:u=!1,label:p="",onChange:d=null,value:m=""}=e;const[h,f]=(0,r.useState)((0,a.ZP)(m,n,{symbol:""})),[g,b]=(0,r.useState)(!1),[v,k]=(0,r.useState)(!1),y=(0,r.useRef)(null),E=(0,r.useCallback)((e=>{if(f(e),!d)return;const t=(0,c.Vm)(e,n);t&&t>=(0,c.hj)(n)?(d(t),k(!1)):e&&k(!0)}),[n,d]),w=()=>{y.current&&(y.current.focus(),b(!0))};return(0,r.useEffect)((()=>{y.current&&y.current.addEventListener("blur",(()=>b(!1)))}),[y]),(0,r.useEffect)((()=>{g||h||E((0,a.ZP)(i,n,{symbol:""}))}),[n,i,h,g,E]),(0,r.useEffect)((()=>{g||v||f((0,a.ZP)(m,n,{symbol:""}))}),[n,g,v,E,m]),(0,r.createElement)("div",{className:s()("donations__amount",t,{"has-focus":g,"has-error":v}),role:"button",tabIndex:0,onClick:w,onKeyDown:w},o.M[n].symbol,u?(0,r.createElement)("div",{className:"donations__amount-value"},(0,a.ZP)(m||i,n,{symbol:""})):(0,r.createElement)(l.RichText,{allowedFormats:[],"aria-label":p,keepPlaceholderOnFocus:!0,multiline:!1,onChange:e=>E(e),placeholder:(0,a.ZP)(i,n,{symbol:""}),ref:y,value:h,withoutInteractiveFormatting:!0}))}},46928:function(e,t,n){"use strict";var r=n(69307),a=n(75139),o=n(52175),i=n(55609),s=n(65736),l=n(39630),c=n(17882),u=n(4235);const __=s.__;t.Z=e=>{const{attributes:t,setAttributes:n}=e,{currency:s,monthlyDonation:p,annualDonation:d,showCustomAmount:m}=t,h=(e,r)=>{const a={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],o=t[a];n({[a]:{...o,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:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(i.Button,{className:"jetpack-donations__currency-toggle",icon:(0,r.createElement)(r.Fragment,null,a.M[s].symbol+" - "+s,(0,r.createElement)(i.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:t,onKeyDown:e=>{n||e.keyCode!==l.DOWN||(e.preventDefault(),e.stopPropagation(),t())}})},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(i.MenuGroup,null,Object.keys(c.ck).map((e=>(0,r.createElement)(i.MenuItem,{isSelected:e===s,onClick:()=>{n({currency:e}),t()},key:`jetpack-donations-currency-${e}`},a.M[e].symbol+" - "+e))))}}))))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{checked:p.show,onChange:e=>h("1 month",e),label:__("Show monthly donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:d.show,onChange:e=>h("1 year",e),label:__("Show annual donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:m,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,r.createElement)(i.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,u.Z)()}`},__("View donation earnings","jetpack")))))}},92202:function(e,t,n){"use strict";var r=n(69307),a=n(78850),o=n(75139),i=n(52175),s=n(65736),l=n(17882);const __=s.__;t.Z={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:e=>{let{attributes:t}=e;const{currency:n,oneTimeDonation:s,monthlyDonation:c,annualDonation:u,showCustomAmount:p,chooseAmountText:d,customAmountText:m}=t;if(!s||!s.show||-1===s.planId)return null;const h={"one-time":{title:__("One-Time","jetpack")},...c.show&&{"1 month":{title:__("Monthly","jetpack")}},...u.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"donations__container"},Object.keys(h).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(h).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${t} `,"data-interval":t},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:s.heading}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:c.heading}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:u.heading}),(0,r.createElement)(i.RichText.Content,{tagName:"p",value:d}),(0,r.createElement)("div",{className:"donations__amounts donations__one-time-item"},s.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),c.show&&(0,r.createElement)("div",{className:"donations__amounts donations__monthly-item"},c.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),u.show&&(0,r.createElement)("div",{className:"donations__amounts donations__annual-item"},u.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),p&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.RichText.Content,{tagName:"p",value:m}),(0,r.createElement)("div",{className:"donations__amount donations__custom-amount"},o.M[n].symbol,(0,r.createElement)("div",{className:"donations__amount-value","data-currency":n,"data-empty-text":(0,a.ZP)(100*(0,l.hj)(n),n,{symbol:""})}))),(0,r.createElement)("div",{className:"donations__separator"},"——"),(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:s.extraText}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:c.extraText}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__annual-item",value:u.extraText}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:s.buttonText})),c.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:c.buttonText})),u.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:u.buttonText}))))))}}},53104:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(9818),s=n(65736),l=n(53823),c=n(82116),u=n(83040),p=n(10756);const __=s.__;t.Z=e=>{const{attributes:t,className:n,setAttributes:r}=e,{currency:s}=t,[d,m]=(0,o.useState)(""),[h,f]=(0,o.useState)(!1),[g,b]=(0,o.useState)(!1),[v,k]=(0,o.useState)([]),y=(0,i.useSelect)((e=>e("core/editor").getCurrentPost()),[]);(0,o.useEffect)((()=>{r({fallbackLinkUrl:y.link})}),[y.link,r]);const E=e=>{m(e)},w=e=>e.reduce(((e,t)=>{let{id:n,currency:r,type:a,interval:o}=t;return r===s&&"donation"===a&&(e[o]=n),e}),{}),_=e=>{if(!e&&"object"!=typeof e||e.errors)return void m(__("Could not load data from WordPress.com.","jetpack"));f(e.should_upgrade_to_access_memberships),b(e.connect_url);const t=w(e.products);(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(t)?k(t):e.should_upgrade_to_access_memberships||e.connect_url?k({"one-time":-1,"1 month":-1,"1 year":-1}):(0,u.Z)(s).then((e=>k(w(e))),E)};return(0,o.useEffect)((()=>{(0,p.Z)("donation").then(_,E)}),[s]),d?(0,o.createElement)(c.Z,{className:n,error:d}):(0,o.createElement)(l.Z,a()({},e,{products:v,shouldUpgrade:h,stripeConnectUrl:g}))}},83040:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z=async e=>{try{return await a()({path:"/wpcom/v2/memberships/products",method:"POST",data:{type:"donation",currency:e}})}catch(e){return Promise.reject(e.message)}}},10756:function(e,t,n){"use strict";var r=n(82827),a=n(86989),o=n.n(a),i=n(96483);t.Z=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const{query:t}=(0,r.Qc)(window.location.href,!0),n=(0,i.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===t.origin?"gutenberg-wpcom":"gutenberg",...e&&{type:e}});try{return await o()({path:n,method:"GET"})}catch(e){return Promise.reject(e.message)}}},63445:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},Xd:function(){return c}});var r=n(65736),a=n(53104),o=n(56734),i=n(92202),s=n(51591);const __=r.__,l="donations",c={title:__("Donations","jetpack"),description:__("Collect one-time, monthly, or annually recurring donations.","jetpack"),icon:s.K9,category:"earn",keywords:[__("Donations","jetpack")],supports:{html:!1},edit:a.Z,save:o.Z,example:{},deprecated:[i.Z]}},82116:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=e=>{let{className:t,error:n}=e;return(0,r.createElement)(o.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:n,className:t})}},56734:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t}=e;const{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:s}=t;return o&&o.show&&o.planId&&-1!==o.planId?(0,r.createElement)("div",null,(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:o.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:o.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:o.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:i.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:i.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:i.buttonText})),s.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value: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.buttonText}))):null}},75242:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(9818),i=n(65736),s=n(48387),l=n(17882);const __=i.__;t.Z=e=>{let{activeTab:t,attributes:n,setAttributes:c}=e;const{currency:u,oneTimeDonation:p,monthlyDonation:d,annualDonation:m,showCustomAmount:h,chooseAmountText:f,customAmountText:g}=n,b={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"},v=e=>n[b[t]][e],k=(e,r)=>{const a=b[t],o=n[a];c({[a]:{...o,[e]:r}})},[y,E]=(0,r.useState)(u),w=(0,l.hj)(u),_=(0,r.useMemo)((()=>[10*w,30*w,200*w]),[w]);(0,r.useEffect)((()=>{y!==u&&(E(u),c({oneTimeDonation:{...p,amounts:_},monthlyDonation:{...d,amounts:_},annualDonation:{...m,amounts:_}}))}),[u,y,_,p,d,m,c]);const C=v("amounts"),j=(0,o.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:v("heading"),onChange:e=>k("heading",e)}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:f,onChange:e=>c({chooseAmountText:e})}),(0,r.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,r.createElement)(s.Z,{currency:u,defaultValue:_[t],label:(0,i.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,k("amounts",n)})(e,t),value:e})))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:g,onChange:e=>c({customAmountText:e})}),(0,r.createElement)(s.Z,{currency:u,label:__("Custom amount","jetpack"),defaultValue:100*(0,l.hj)(u),className:"donations__custom-amount",disabled:!0})),(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:v("extraText"),onChange:e=>k("extraText",e)}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper"},(0,r.createElement)(a.RichText,{className:"wp-block-button__link donations__donate-button",placeholder:__("Write a message…","jetpack"),value:v("buttonText"),onChange:e=>{return t=e,void c({oneTimeDonation:{...p,buttonText:t},monthlyDonation:{...d,buttonText:t},annualDonation:{...m,buttonText:t}});var t},allowedFormats:j})))}},53823:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(9818),s=n(65736),l=n(46928),c=n(75242),u=n(43393);const __=s.__;t.Z=e=>{const{attributes:t,className:n,products:a,setAttributes:s,shouldUpgrade:p,stripeConnectUrl:d}=e,{oneTimeDonation:m,monthlyDonation:h,annualDonation:f}=t,[g,b]=(0,r.useState)("one-time"),v=(0,i.useSelect)((e=>e("core/editor").getCurrentPostId()),[]),k=(0,r.useCallback)((e=>g===e),[g]),y={"one-time":{title:__("One-Time","jetpack")},...h.show&&{"1 month":{title:__("Monthly","jetpack")}},...f.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.useEffect)((()=>{m.planId===a["one-time"]&&h.planId===a["1 month"]&&f.planId===a["1 year"]||s({oneTimeDonation:{...m,planId:a["one-time"]},monthlyDonation:{...h,planId:a["1 month"]},annualDonation:{...f,planId:a["1 year"]}})}),[m,h,f,s,a]),(0,r.useEffect)((()=>{!h.show&&k("1 month")&&b("one-time"),!f.show&&k("1 year")&&b("one-time")}),[h,f,b,k]),(0,r.createElement)("div",{className:n},!p&&d&&(0,r.createElement)(u.Z,{blockName:"donations",postId:v,stripeConnectUrl:d}),(0,r.createElement)("div",{className:"donations__container"},Object.keys(y).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(y).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:o()("donations__nav-item",{"is-active":k(t)}),onClick:()=>b(t),onKeyDown:()=>b(t),key:`jetpack-donations-nav-item-${t} `},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)(c.Z,{activeTab:g,attributes:t,setAttributes:s}))),(0,r.createElement)(l.Z,e))}},28559:function(e,t){"use strict";t.Z={url:{type:"string",validator:e=>!e||e.startsWith("http")},eventId:{type:"number"},style:{type:"string",default:"inline"}}},77019:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__,i=e=>{let{setEditingUrl:t}=e;return(0,r.createElement)(a.ToolbarGroup,null,(0,r.createElement)(a.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},48631:function(e,t,n){"use strict";var r=n(61652);t.Z=[r.Z]},61652:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(92819),l=n(4981),c=n(65736);const _x=c._x,u=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius"];t.Z={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 r=n;r||(r=e.useModal?"modal":"inline");const a={...(0,s.omit)(e,["useModal",...u]),className:t&&t.replace("is-style-outline",""),style:r},o=(0,s.pick)(e,u);return[a,[(0,l.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(e){let{attributes:t}=e;const{eventId:n,useModal:a,url:s,style:l}=t;if(n)return a||"modal"===l?function(e){const{backgroundColor:t,borderRadius:n,customBackgroundColor:a,customTextColor:s,eventId:l,text:c,textColor:u,url:p}=e,d=(0,i.getColorClassName)("color",u),m=(0,i.getColorClassName)("background-color",t),h=o()("wp-block-button__link",{"has-text-color":u||s,[d]:d,"has-background":t||a,[m]:m,"no-border-radius":0===n}),f={backgroundColor:m?void 0:a,color:d?void 0:s,borderRadius:n?n+"px":void 0};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{className:h,href:p,id:`eventbrite-widget-${l}`,rel:"noopener noreferrer",role:"button",style:f,tagName:"a",target:"_blank",value:c}))}(t):s&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:s},s)},isEligible:(e,t)=>("modal"===e.style||e.useModal)&&((0,s.isEmpty)(t)||(0,s.some)((0,s.pick)(e,u),Boolean))}},62337:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(45166),u=n(28559),p=n(62194),d=n(14087),m=n(58014),h=n(8964),f=n(72566),g=n(87072),b=n(77019);const __=i.__,_x=i._x;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{editedUrl:this.props.attributes.url||"",editingUrl:!1,isResolvingUrl:!1}),a()(this,"setUrl",(e=>{const{attributes:t,noticeOperations:n,setAttributes:r}=this.props,{style:a}=t;if(!e||c.Q7===e||"modal"===a)return;const o=(0,p.Ve)(e);if(o){const t={eventId:o,url:e};(0,g.Z)(t.url,this.setIsResolvingUrl).then((e=>{const a=(0,d.S)(u.Z,{...t,url:e});r(a),this.setState({editedUrl:e}),n.removeAllNotices()})).catch((()=>{r({eventId:void 0,url:void 0}),this.setErrorNotice()}))}else this.setErrorNotice()})),a()(this,"setIsResolvingUrl",(e=>this.setState({isResolvingUrl:e}))),a()(this,"setEditingUrl",(e=>this.setState({editingUrl:e}))),a()(this,"setErrorNotice",(()=>{const{noticeOperations:e,onReplace:t}=this.props,{editedUrl:n}=this.state;e.removeAllNotices(),e.createErrorNotice((0,o.createElement)(o.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,o.createElement)(s.Button,{isLink:!0,onClick:()=>(0,p.N3)(n,t)},_x("Convert block to link","button label","jetpack"))))})),a()(this,"submitForm",(e=>{e&&e.preventDefault(),this.setUrl((0,p.qq)(this.state.editedUrl)),this.setState({editingUrl:!1})})),a()(this,"cannotEmbed",(()=>{const{url:e}=this.props.attributes,{isResolvingUrl:t}=this.state;return!t&&e&&!c.Wh.test(e)}))}componentDidMount(){const{url:e}=this.props.attributes;this.setUrl(e)}renderLoading(){return(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(s.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack")))}renderInspectorControls(){const{style:e}=this.props.attributes,{attributes:t,clientId:n,setAttributes:r}=this.props,a=[{value:"inline",label:__("In-page Embed","jetpack"),preview:(0,o.createElement)("div",{className:"block-editor-block-preview__container"},(0,o.createElement)("img",{src:h,alt:__("In page Eventbrite checkout example","jetpack")}))},{value:"modal",label:__("Button & Modal","jetpack")}];return(0,o.createElement)(f.Z,{title:_x("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack"),clientId:n,styleOptions:a,onSelectStyle:r,activeStyle:e,attributes:t,viewportWidth:130})}renderEditEmbed(){const{className:e,noticeUI:t}=this.props,{editedUrl:n}=this.state,r=(0,m.Wp)()||(0,m.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.Placeholder,{label:__("Eventbrite Checkout","jetpack"),instructions:__("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:(0,o.createElement)(l.BlockIcon,{icon:c.qv}),notices:t},(0,o.createElement)("form",{onSubmit:this.submitForm},(0,o.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:e=>this.setState({editedUrl:e.target.value})}),(0,o.createElement)(s.Button,{isSecondary:!0,type:"submit"},_x("Embed","submit button label","jetpack"))),(0,o.createElement)("div",{className:"components-placeholder__learn-more"},(0,o.createElement)(s.ExternalLink,{href:r},__("Learn more about Eventbrite embeds","jetpack")))))}renderInlinePreview(){const{className:e}=this.props,{eventId:t}=this.props.attributes;if(!t)return;const n=`eventbrite-widget-${t}`,r=`\n\t\t\t<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ${t},\n\t\t\t\t\tiframeContainerId: '${n}',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id="${n}"></div>\n\t\t`;return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.SandBox,{html:r}),(0,o.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}render(){const{attributes:e}=this.props,{url:t,style:n}=e,{editingUrl:r,isResolvingUrl:a}=this.state;return a?this.renderLoading():r||!t||this.cannotEmbed()?this.renderEditEmbed():(0,o.createElement)(o.Fragment,null,this.renderInspectorControls(),(0,o.createElement)(l.BlockControls,null,(0,o.createElement)(b.J,{setEditingUrl:this.setEditingUrl})),"modal"===n?(0,o.createElement)(l.InnerBlocks,{template:[[c.Ss.name,c.Ss.attributes]],templateLock:"all"}):this.renderInlinePreview())}}t.Z=(0,s.withNotices)(v)},45166:function(e,t,n){"use strict";n.d(t,{Ss:function(){return d},Wh:function(){return m},Q7:function(){return f},u2:function(){return g},qv:function(){return v},Xd:function(){return k}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(28559),l=n(48631),c=n(62337),u=n(74318),p=n(57535);const __=a.__,_x=a._x,d={name:"jetpack/button",attributes:{element:"a",text:_x("Register","verb: e.g. register for an event.","jetpack"),uniqueId:"eventbrite-widget-id"}},m=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,h=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,f="https://www.eventbrite.com/e/test-event-tickets-123456789",g="eventbrite",b=__("Eventbrite Checkout","jetpack"),v=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,{id:"eventbrite-icon"},(0,r.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),k={title:b,description:__("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:{src:v,foreground:(0,p.m)()},category:"embed",keywords:[_x("events","block search term","jetpack"),_x("tickets","block search term","jetpack")],supports:{html:!1,align:!0},attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&(m.test(e.textContent)||h.test(e.textContent)),transform:e=>(0,i.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}]},example:{attributes:{url:f,eventId:123456789,style:"modal"},innerBlocks:[d]},deprecated:l.Z}},74318:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{eventId:n,style:o,url:i}=t;if(n)return"modal"===o?(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null)):i&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:i},i)}},62194:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},Ve:function(){return i},qq:function(){return s}});var r=n(69307),a=n(4981);function o(e,t){const n=(0,r.createElement)("a",{href:e},e);t((0,a.createBlock)("core/paragraph",{content:(0,r.renderToString)(n)}))}function i(e){if(!e)return null;const t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&"string"==typeof e?e.trim():null}},47271:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(4981),u=n(9818);const __=s.__;function p(e){let{onReplace:t}=e;const[n,a]=(0,i.useState)(!1),s=(0,u.useSelect)((e=>e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")));return{isGatheringStorm:n,unleashStorm:(e,n)=>{if((0,r.isEmpty)(e))return;const i=e.match(/^https?:\/\/(?:www\.)?twitter\.com\/([^/]+)\/status\/\d+/);if((0,r.isEmpty)(i))return;const p=i[1];n.removeAllNotices(),a(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/tweetstorm/gather",{url:e})}).then((e=>{if(a(!1),!(0,r.isArray)(e))return void n.createErrorNotice(__("An error occurred. Please try again later.","jetpack"));if((0,r.isEmpty)(e))return void n.createErrorNotice(__("We were unable to get any content from this tweet.","jetpack"));t(e.map((e=>{switch(e.type){case"paragraph":return(0,c.createBlock)("core/paragraph",{content:e.content});case"gallery":return(0,c.createBlock)("core/gallery",{images:e.images});case"image":return(0,c.createBlock)("core/image",{url:e.url,alt:e.alt});case"video":return(0,c.createBlock)("core/video",{src:e.url,caption:e.alt});case"embed":return(0,c.createBlock)("core/embed",{url:e.url})}})));(0,r.some)(s,(e=>"twitter"===e.service_name&&`@${p}`===e.display_name))||(0,u.dispatch)("core/notices").createWarningNotice(__("We were unable to verify that this Twitter thread was published on a Twitter account belonging to you. Please ensure you have permission to reproduce it before publishing.","jetpack")),(0,u.dispatch)("core/notices").createSuccessNotice(__("Twitter thread successfully imported","jetpack"),{type:"snackbar"})})).catch((e=>{a(!1),n.createErrorNotice(e.message)}))}}}},72966:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=(0,r.forwardRef)((function(e,t){let{onSubmit:n,onChange:a,value:i=""}=e;return(0,r.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:n},(0,r.createElement)("input",{type:"text",className:"wp-block-jetpack-gif_input components-placeholder__input",placeholder:__("Enter search terms, e.g. cat…","jetpack"),value:i,onChange:a,ref:t,"aria-labelledby":"wp-block-jetpack-gif_search-button"}),(0,r.createElement)(o.Button,{id:"wp-block-jetpack-gif_search-button",isSecondary:!0,type:"submit"},__("Search","jetpack")))}))},32882:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW"},68055:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(52175);function i(){return(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(a.PanelBody,{className:"components-panel__body-gif-branding"},(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,r.createElement)(a.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,r.createElement)(a.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"}))))}},61796:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(31072),u=n(80917),p=n(72966),d=n(68055),m=n(21835);const __=i.__;t.Z=function(e){let{attributes:t,setAttributes:n,className:a,isSelected:i}=e;const{align:h,caption:f,giphyUrl:g,searchText:b,paddingTop:v}=t,k=o()(a,`align${h}`),[y,E]=(0,r.useState)(!1),w=(0,r.createRef)(),{isFetching:_,giphyData:C,fetchGiphyData:j}=(0,m.Z)(),S=()=>{w.current.focus(),E(!1)};(0,r.useEffect)((()=>{C&&C[0]&&n((0,u.ix)(C[0]))}),[C,n]);const x=e=>{e.preventDefault(),t.searchText&&!_&&j((0,u.Gr)(t.searchText))},T=e=>n({searchText:e.target.value});return(0,r.createElement)("div",{className:k},(0,r.createElement)(d.Z,null),g?(0,r.createElement)("figure",null,i&&(0,r.createElement)(p.Z,{onSubmit:x,onChange:T,value:b,ref:w}),i&&C&&C.length>1&&(0,r.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},C.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,r.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:e.id,onClick:t=>{t.preventDefault(),(e=>{n((0,u.ix)(e))})(e)},style:t})}))),(0,r.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:{paddingTop:v}},(0,r.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:S,onKeyDown:S,role:"button",tabIndex:"0"}),(0,r.createElement)("iframe",{src:g,title:b})),(!l.RichText.isEmpty(f)||i)&&!!g&&(0,r.createElement)(l.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:y,unstableOnFocus:()=>E(!1),onChange:e=>n({caption:e}),placeholder:__("Write caption…","jetpack"),tagName:"figcaption",value:f})):(0,r.createElement)(s.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:c.qv,label:c.TN,instructions:__("Search for a term or paste a Giphy URL","jetpack")},(0,r.createElement)(p.Z,{onSubmit:x,onChange:T,value:b,ref:w})))}},21835:function(e,t,n){"use strict";var r=n(69307);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const[t,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(e),[i,s]=(0,r.useState)("");return(0,r.useEffect)((()=>{if(!i)return;(async()=>{n(!0);const e=await fetch(i).then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json(),n=void 0!==t.data.images?[t.data]:t.data;n[0].images&&o(n)}n(!1)})()}),[i]),{isFetching:t,giphyData:a,fetchGiphyData:s}}},31072:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},TN:function(){return c},qv:function(){return u},Xd:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(61796),s=n(57535);const __=a.__,_x=a._x,l="gif",c=__("GIF","jetpack"),u=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),p={title:c,icon:{src:u,foreground:(0,s.m)()},category:"embed",keywords:[_x("animated","block search term","jetpack"),_x("giphy","block search term","jetpack"),_x("image","block search term","jetpack")],description:__("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:i.Z,save:()=>null,example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}}},80917:function(e,t,n){"use strict";n.d(t,{Gr:function(){return s},ix:function(){return u}});var r=n(32882);const a=e=>`https://api.giphy.com/v1/gifs/search?q=${encodeURIComponent(e)}&api_key=${encodeURIComponent(r.U)}&limit=10`,o=e=>`https://api.giphy.com/v1/gifs/${encodeURIComponent(e)}?api_key=${encodeURIComponent(r.U)}`,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n=e.split(t);return n[n.length-1]},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;e=e.trim();const n=/^https?:\/\/(media\.|i\.)?giphy\.com\/(embed|gifs|media)?\/?([-\w]*)(\/giphy)?(\.gif)?$/,r=e.match(n);return r&&r[3]&&(t=i(r[3],"-")),t?o(t):a(e)},l=e=>`${Math.floor(e.images.original.height/e.images.original.width*100)}%`,c=e=>e?.embed_url,u=e=>({giphyUrl:c(e),paddingTop:l(e)})},76280:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__,_x=o._x;t.Z=e=>{const{className:t,embedValue:n,onChange:o,onSubmit:i}=e;return(0,r.createElement)(a.PanelBody,{title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:i,className:t},(0,r.createElement)("textarea",{type:"text",value:n,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:o}),(0,r.createElement)(a.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack"))))}},53997:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(52175),l=n(90162),c=n(4981),u=n(76280),p=n(54286),d=n(3030),m=n(58014);const __=a.__,_x=a._x;t.Z=(0,i.compose)(o.withNotices,(0,l.withViewportMatch)({isMobile:"< small"}))((function(e){const{attributes:{url:t,height:n},className:a,isMobile:i,isSelected:l,name:h,noticeOperations:f,noticeUI:g,setAttributes:b}=e,[v,k]=(0,r.useState)(t||""),[y,E]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1);(0,r.useEffect)((()=>{!l&&w&&_(!1)}),[l,w]);const C=()=>{_(!0)},j=e=>{e&&e.preventDefault();const t=(0,d.L7)(v.trim());if(!d.Wh.test(t.url))return f.removeAllNotices(),void f.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or Embed Code. Please note, you need to use the 'Public URL' or 'Embed Code', the 'Shareable Link' will not work.","jetpack"));b(t),E(!1),f.removeAllNotices()},S=(0,c.getBlockDefaultClassName)(h),x=`<iframe src="${t}" style="border:0" scrolling="no" frameborder="0" height="${i?"300":n}"></iframe>`,T=(0,r.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/google-calendar/"},__("Enable Permissions for the calendar you want to share","jetpack")),N=(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(u.Z,{className:`${S}-embed-form-sidebar`,embedValue:v,onChange:e=>k(e.target.value),onSubmit:j}));if(y||!t){const e=(0,m.Wp)()||(0,m.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/google-calendar/":"https://jetpack.com/support/jetpack-blocks/google-calendar/";return(0,r.createElement)("div",{className:a},N,(0,r.createElement)(o.Placeholder,{className:a,label:__("Google Calendar","jetpack"),icon:(0,r.createElement)(s.BlockIcon,{icon:p.Z}),instructions:(0,r.createElement)("ol",{className:`${S}-placeholder-instructions`},(0,r.createElement)("li",null,T),(0,r.createElement)("li",null,__("Paste the embed code you copied from your Google Calendar below","jetpack"))),notices:g},(P=`${S}-embed-form-editor`,(0,r.createElement)("form",{onSubmit:j,className:P},(0,r.createElement)("textarea",{type:"text",value:v,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:e=>k(e.target.value)}),(0,r.createElement)(o.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)("div",{className:`${S}-placeholder-links`},(0,r.createElement)(o.ExternalLink,{href:e},__("Learn more","jetpack")))))}var P;return(0,r.createElement)("div",{className:a},N,(0,r.createElement)("div",null,(0,r.createElement)(o.SandBox,{html:x,onFocus:C}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:C})))}))},54286:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"23",viewBox:"0 0 24 23",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19.5,23h-15c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h15c2.2,0,4,1.8,4,4v15C23.5,21.2,21.7,23,19.5,23z M4.5,2 c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2V4c0-1.1-0.9-2-2-2H4.5z M6.9,3.9L6.9,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0C6.5,5.9,6.1,5.5,6.1,5V4.7C6.1,4.3,6.5,3.9,6.9,3.9z M17,3.9L17,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0c-0.5,0-0.9-0.4-0.9-0.9V4.7C16.2,4.3,16.5,3.9,17,3.9z M8.8,17.6c1.8,0,3.2-1,3.2-2.4 c0-1.1-0.7-1.8-1.8-1.9v-0.1c0.9-0.2,1.5-0.9,1.5-1.8c0-1.3-1.2-2.2-2.9-2.2c-1.8,0-2.9,1-3,2.5h1.6c0-0.7,0.6-1.1,1.4-1.1 c0.8,0,1.3,0.4,1.3,1.1c0,0.7-0.5,1.1-1.3,1.1h-1v1.3h1c0.9,0,1.5,0.4,1.5,1.1c0,0.7-0.6,1.2-1.4,1.2c-0.9,0-1.4-0.4-1.5-1.1H5.7 C5.8,16.6,7,17.6,8.8,17.6z M17.6,17.4V9.3h-1.7l-2.1,1.4v1.6l2-1.4h0.1v6.4H17.6z"}))},13984:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p}});var r=n(69307),a=n(65736),o=n(4981),i=n(53997),s=n(3030),l=n(54286),c=n(57535);const __=a.__,_x=a._x,u="google-calendar",p={title:__("Google Calendar","jetpack"),description:__("Embed a Google Calendar","jetpack"),keywords:[_x("events","block search term","jetpack"),_x("dates","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack")],icon:{src:l.Z,foreground:(0,c.m)()},category:"embed",supports:{align:!0,alignWide:!0,html:!1},attributes:{url:{type:"string"},height:{type:"integer",default:600}},edit:i.Z,save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)},transforms:{from:[{type:"shortcode",tag:"googleapps",isMatch:function(e){return"calendar"===e.named.domain},attributes:{url:{type:"string",shortcode:e=>{let{named:{domain:t,dir:n,query:r}}=e;return`https://${t}.google.com/${n}?${r}`}}}},{type:"raw",isMatch:e=>"P"===e.nodeName&&s.Wh.test(e.textContent),transform:e=>(0,o.createBlock)("jetpack/google-calendar",{url:e.textContent.trim()})},{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&s.E6.test(e.innerHTML),transform:e=>{const{url:t,height:n}=(0,s.jj)(e.innerHTML.trim());return(0,o.createBlock)("jetpack/google-calendar",{url:t,height:n})}}]},example:{attributes:{url:"https://calendar.google.com/calendar/embed?src=jb4bu80jirp0u11a6niie21pp4%40group.calendar.google.com&ctz=America/New_York"}}}},3030:function(e,t,n){"use strict";n.d(t,{Wh:function(){return a},E6:function(){return o},jj:function(){return c},L7:function(){return u}});const r="s*https?://calendar.google.com/calendar",a=new RegExp(`^${r}`,"i"),o=new RegExp(`<iframe((?:\\s+\\w+=(['"]).*?\\2)*)\\s+src=(["'])(${r}.*?)\\3((?:\\s+\\w+=(['"]).*?\\6)*)`,"i"),i=new RegExp(`${r}\\?cid=([-A-Za-z0-9+/]+={0,3})`,"i"),s=/\s+(\w+)=(["'])(.*?)\2/gi;function l(e){const t=i.exec(e);if(t)return"https://calendar.google.com/calendar/embed?src="+encodeURIComponent(atob(t[1]))}function c(e){const t=o.exec(e);if(!t)return;const n={};return t.forEach(((e,t)=>{if(0===t)return;if(a.test(e))return void(n.url=e);let r;for(;null!==(r=s.exec(e));)n[r[1]]=r[3]})),{url:n.url,width:n.width,height:n.height}}function u(e){return o.test(e)?c(e):i.test(e)?{url:l(e)}:{url:e}}},74956:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{attributes:t,setAttributes:n}=e;const{orientation:o}=t;return(0,r.createElement)(a.PanelBody,{title:__("Orientation","jetpack")},(0,r.createElement)(a.RadioControl,{selected:o||"horizontal",options:[{label:__("Side by side","jetpack"),value:"horizontal"},{label:__("Above and below","jetpack"),value:"vertical"}],onChange:e=>n({orientation:e})}))}},38544:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(94333),s=n(65736),l=n(5968),c=n(74956),u=n(91667),p=n(12379);n(728);const __=s.__;t.Z=e=>{let{attributes:t,className:n,clientId:s,isSelected:d,setAttributes:m}=e;const{imageBefore:h,imageAfter:f,caption:g,orientation:b}=t;let v=null,k=null;const y=(0,r.useRef)();i.useResizeObserver&&([v,k]=(0,i.useResizeObserver)(),(0,p.Z)((e=>{e>0&&"undefined"!=typeof juxtapose&&juxtapose.sliders&&juxtapose.sliders.forEach((t=>{t.wrapper.parentElement.id===s&&t.optimizeWrapper(e)}))}),200,k.width));const E=h&&h.url&&f&&f.url?"image-compare__comparison juxtapose":"image-compare__placeholder";return(0,r.useLayoutEffect)((()=>{h.url&&f.url&&"undefined"!=typeof juxtapose&&juxtapose.makeSlider(y?.current)}),[h,f,b]),(0,r.createElement)("figure",{className:n,id:s},v,(0,r.createElement)(a.InspectorControls,{key:"controls"},(0,r.createElement)(c.Z,{attributes:t,setAttributes:m})),(0,r.createElement)("div",{ref:y,className:E,"data-mode":b||"horizontal"},(0,r.createElement)(o.Placeholder,{label:null},(0,r.createElement)("div",{className:"image-compare__image-before"},(0,r.createElement)(u.Z,{image:{id:h.id,url:h.url,alt:h.alt},placeHolderLabel:__("Image before","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=i?.width)&&void 0!==t?t:e.width,c=null!==(n=i?.height)&&void 0!==n?n:e.height;m({imageBefore:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})),(0,r.createElement)("div",{className:"image-compare__image-after"},(0,r.createElement)(u.Z,{image:{id:f.id,url:f.url,alt:f.alt},placeHolderLabel:__("Image after","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=i?.width)&&void 0!==t?t:e.width,c=null!==(n=i?.height)&&void 0!==n?n:e.height;m({imageAfter:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})))),(!a.RichText.isEmpty(g)||d&&h.url&&f.url)&&(0,r.createElement)(a.RichText,{tagName:"figcaption",placeholder:__("Write caption","jetpack"),value:g,onChange:e=>m({caption:e}),inlineToolbar:!0}))}},94703:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M21 4h-6v1.5h6c.3 0 .5.2.5.5v.4l-3.6 3.5L15 8.1v1.8l2.6 1.7c.1.1.3.1.4.1.2 0 .4-.1.5-.2l3-2.9V18c0 .3-.2.5-.5.5h-6V20h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM1 6v12c0 1.1.9 2 2 2h10.5V4H3c-1.1 0-2 .9-2 2zm11 12.5H3c-.3 0-.5-.2-.5-.5v-1.4L5 14.7l1.5-1.1.1-.1 3 1.9c.1.1.3.1.4.1.2 0 .4-.1.5-.2L12 14v4.5zm0-6.6l-2.1 2L7 12c-.1-.1-.3-.1-.4-.1h-.1c-.1 0-.3.1-.4.1l-1.1.9-2.5 1.8V6c0-.3.2-.5.5-.5h9v6.4z"}))},91667:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(55609);t.Z=(0,a.compose)([i.withNotices])((e=>{const{image:t,noticeOperations:n,noticeUI:a,onChange:i,placeHolderLabel:s}=e,l=(0,r.createElement)("img",{id:t.id,src:t.url,alt:t.alt}),c=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.MediaPlaceholder,{labels:{title:s},accept:"image/*",allowedTypes:["image"],onSelect:i,onError:e=>n.createErrorNotice(e),notices:a}));return t&&t.url?l:c}))},1624:function(e,t,n){"use strict";n.d(t,{u:function(){return p},X:function(){return d}});var r=n(65736),a=n(38544),o=n(94703),i=n(31105),s=n(90767),l=n(58632),c=n(20510),u=n(57535);const __=r.__,_x=r._x,p="image-compare",d={title:__("Image Compare","jetpack"),description:__("Compare two images with a slider. Works best with images of the same size.","jetpack"),icon:{src:o.Z,foreground:(0,u.m)()},category:(0,c.Z)("media","layout"),keywords:[_x("juxtapose","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("side by side","block search term","jetpack"),_x("slider","block search term","jetpack")],attributes:{imageBefore:{type:"object",default:{}},imageAfter:{type:"object",default:{}},caption:{type:"string"},orientation:{type:"string",default:"horizontal"}},example:{attributes:{imageBefore:{id:1,url:l,alt:__("Before","jetpack")},imageAfter:{id:2,url:s,alt:__("After","jetpack")},caption:__("Example image","jetpack")}},edit:a.Z,save:i.Z}},31105:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t,className:n}=e;const{imageBefore:o,imageAfter:i,caption:s,orientation:l}=t;return(0,r.createElement)("figure",{className:n},(0,r.createElement)("div",{className:"juxtapose","data-mode":l||"horizontal"},(0,r.createElement)("img",{id:o.id,src:o.url,alt:o.alt,width:o.width,height:o.height,className:"image-compare__image-before"}),(0,r.createElement)("img",{id:i.id,src:i.url,alt:i.alt,width:i.width,height:i.height,className:"image-compare__image-after"})),!a.RichText.isEmpty(s)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:s}))}},12379:function(e,t,n){"use strict";var r=n(69307);t.Z=(e,t,n)=>{(0,r.useEffect)((()=>{const r=setTimeout((()=>e(n)),t);return()=>clearTimeout(r)}),[n])}},728:function(e,t,n){"use strict";var r=n(47701);n.n(r)()((function(){const e={sliders:[],OPTIMIZATION_ACCEPTED:1,OPTIMIZATION_WAS_CONSTRAINED:2};function t(e,t){const n=this;this.image=new Image,this.loaded=!1,this.image.onload=function(){n.loaded=!0,t._onLoaded()},this.image.src=e.src,this.image.alt=e.alt||"",this.label=e.label||!1}function n(e,t){e&&e.classList.add(t)}function r(e,t){e&&e.classList.remove(t)}function a(e){return{width:parseInt(window.getComputedStyle(e).width,10),height:parseInt(window.getComputedStyle(e).height,10)}}function o(e,t){let n;if("string"==typeof t||"number"==typeof t)n=parseInt(t,10);else{const r=e.getBoundingClientRect(),a={top:r.top+document.body.scrollTop+document.documentElement.scrollTop,left:r.left+document.body.scrollLeft+document.documentElement.scrollLeft},o=e.offsetWidth;n=(function(e){let t;return t=e.pageX?e.pageX:e.touches?e.touches[0].pageX:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,t}(t)-a.left)/o*100}return n}function i(e,t,n){let r;if("string"==typeof t||"number"==typeof t)r=parseInt(t,10);else{const a=e.getBoundingClientRect(),o={top:a.top+n.body.scrollTop+n.documentElement.scrollTop,left:a.left+n.body.scrollLeft+n.documentElement.scrollLeft},i=e.offsetHeight;r=(function(e){let t;return t=e.pageY?e.pageY:e.touches?e.touches[0].pageY:e.clientY+document.body.scrollTop+document.documentElement.scrollTop,t}(t)-o.top)/i*100}return r}const s={animate:!0,showLabels:!0,makeResponsive:!0};function l(e,n,r){let a;for(a in this.element=e,this.options={animate:!0,showLabels:!0,makeResponsive:!0,startingPosition:"50%",mode:"horizontal",callback:null},this.options)a in r&&(this.options[a]=a in s?"string"!=typeof(o=r[a])?Boolean(o):!("false"===o||""===o):r[a]);var o;2===n.length&&(this.imgBefore=new t(n[0],this),this.imgAfter=new t(n[1],this))}l.prototype={updateSlider:function(e,t){let a;a="vertical"===this.options.mode?i(this.slider,e,this.sliderParentDocument):o(this.slider,e),a=a.toFixed(2)+"%";const s=parseFloat(a),l=100-s+"%";s>0&&s<100&&(r(this.handle,"transition"),r(this.rightImage,"transition"),r(this.leftImage,"transition"),this.options.animate&&t&&(n(this.handle,"transition"),n(this.leftImage,"transition"),n(this.rightImage,"transition")),"vertical"===this.options.mode?(this.handle.style.top=a,this.leftImage.style.height=a,this.rightImage.style.height=l):(this.handle.style.left=a,this.leftImage.style.width=a,this.rightImage.style.width=l),this.sliderPosition=a)},getPosition:function(){return this.sliderPosition},displayLabel:function(e,t){const n=document.createElement("div");n.className="jx-label",n.setAttribute("tabindex",0),function(e,t){document.body.textContent?e.textContent=t:e.innerText=t}(n,t),e.appendChild(n)},setStartingPosition:function(e){this.options.startingPosition=e},calculateDims:function(e,t){const n=(r=this.imgBefore.image,{width:r.naturalWidth,height:r.naturalHeight,aspect:function(){return this.width/this.height}}).aspect();var r;return e?t=e/n:t&&(e=t*n),{width:e,height:t,ratio:n}},responsivizeIframe:function(e){return e.height<window.innerHeight?e.ratio>=1&&(this.wrapper.style.paddingTop=parseInt((window.innerHeight-e.height)/2)+"px"):e.height>window.innerHeight&&(e=this.calculateDims(0,window.innerHeight),this.wrapper.style.paddingLeft=parseInt((window.innerWidth-e.width)/2)+"px"),e},setWrapperDimensions:function(){const e=a(this.wrapper.parentNode).width,t=a(this.wrapper.parentNode).height;let n=this.calculateDims(e,t);window.location===window.parent.location||this.options.makeResponsive||(n=this.responsivizeIframe(n)),this.wrapper.style.height=parseInt(n.height)+"px",this.wrapper.style.width=parseInt(n.width)+"px"},optimizeWrapper:function(t){let n=e.OPTIMIZATION_ACCEPTED;return this.imgBefore.image.naturalWidth>=t&&this.imgAfter.image.naturalWidth>=t?(this.wrapper.style.width=t+"px",n=e.OPTIMIZATION_WAS_CONSTRAINED):this.imgAfter.image.naturalWidth<t?this.wrapper.style.width=this.imgAfter.image.naturalWidth+"px":this.wrapper.style.width=this.imgBefore.image.naturalWidth+"px",this.setWrapperDimensions(),n},_onLoaded:function(){if(this.imgBefore&&!0===this.imgBefore.loaded&&this.imgAfter&&!0===this.imgAfter.loaded){if(this.wrapper=this.element,!this.wrapper||this.wrapper.querySelector(".jx-slider"))return;n(this.wrapper,"juxtapose"),this.wrapper.style.width=this.imgBefore.image.naturalWidth,this.setWrapperDimensions(),this.slider=document.createElement("div"),this.slider.className="jx-slider",this.wrapper.appendChild(this.slider),this.sliderParentDocument=this.wrapper.ownerDocument,"horizontal"!==this.options.mode&&n(this.slider,this.options.mode),this.handle=document.createElement("div"),this.handle.className="jx-handle",this.rightImage=document.createElement("div"),this.rightImage.className="jx-image jx-right",this.rightImage.appendChild(this.imgAfter.image),this.leftImage=document.createElement("div"),this.leftImage.className="jx-image jx-left",this.leftImage.appendChild(this.imgBefore.image),this.slider.appendChild(this.handle),this.slider.appendChild(this.leftImage),this.slider.appendChild(this.rightImage),this.leftArrow=document.createElement("div"),this.rightArrow=document.createElement("div"),this.control=document.createElement("div"),this.controller=document.createElement("div"),this.leftArrow.className="jx-arrow jx-left",this.rightArrow.className="jx-arrow jx-right",this.control.className="jx-control",this.controller.className="jx-controller",this.controller.setAttribute("tabindex",0),this.controller.setAttribute("role","slider"),this.controller.setAttribute("aria-valuenow",50),this.controller.setAttribute("aria-valuemin",0),this.controller.setAttribute("aria-valuemax",100),this.controller.setAttribute("aria-label",window.imageCompareHandle?.msg||"Slide to compare images"),this.handle.appendChild(this.leftArrow),this.handle.appendChild(this.control),this.handle.appendChild(this.rightArrow),this.control.appendChild(this.controller),this._init()}},_init:function(){this.updateSlider(this.options.startingPosition,!1),!0===this.options.showLabels&&(this.imgBefore.label&&this.displayLabel(this.leftImage,this.imgBefore.label),this.imgAfter.label&&this.displayLabel(this.rightImage,this.imgAfter.label));const t=this;window.addEventListener("resize",(function(){t.setWrapperDimensions()})),this.slider.addEventListener("mousedown",(function(e){e.preventDefault(),t.updateSlider(e,!0);let n=!0;this.addEventListener("mousemove",(function(e){e.preventDefault(),n&&t.updateSlider(e,!1)})),this.addEventListener("mouseup",(function(e){e.preventDefault(),e.stopPropagation(),n=!1}))})),this.slider.addEventListener("touchstart",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!0),this.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!1)}))})),this.handle.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;let r=parseFloat(this.style.left);if(37===n){r-=1;const e=parseFloat(this.style.left)-1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}if(39===n){r+=1;const e=parseFloat(this.style.left)+1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}})),this.leftImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("90%",!0),t.controller.setAttribute("aria-valuenow",91))})),this.rightImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("10%",!0),t.controller.setAttribute("aria-valuenow",10))})),e.sliders.push(this),this.options.callback&&"function"==typeof this.options.callback&&this.options.callback(this)}},e.makeSlider=function(t,r){void 0===r&&(r=e.sliders.length);const a=t,o=a.querySelectorAll("img");if(o.length<2)return;const i={};a.getAttribute("data-animate")&&(i.animate=a.getAttribute("data-animate")),a.getAttribute("data-showlabels")&&(i.showLabels=a.getAttribute("data-showlabels")),a.getAttribute("data-startingposition")&&(i.startingPosition=a.getAttribute("data-startingposition")),a.getAttribute("data-mode")&&(i.mode=a.getAttribute("data-mode")),a.getAttribute("data-makeresponsive")&&(i.mode=a.getAttribute("data-makeresponsive"));return n(t,"juxtapose-"+r),a.innerHTML?a.innerHTML="":a.innerText="",new e.JXSlider(t,[{src:o[0].src,label:o[0].getAttribute("data-label"),alt:o[0].alt},{src:o[1].src,label:o[1].getAttribute("data-label"),alt:o[1].alt}],i)},e.scanPage=function(){const t=document.querySelectorAll(".juxtapose");for(let n=0;n<t.length;n++)e.makeSlider(t[n],n)},e.JXSlider=l,window.juxtapose=e,e.scanPage()}))},18776:function(e,t){"use strict";t.Z={accessToken:{type:"string"},instagramUser:{type:"string"},columns:{type:"number",default:3,min:1,max:6},count:{type:"number",default:9,min:1,max:30},spacing:{type:"number",default:10,min:0,max:50},isStackedOnMobile:{type:"boolean",default:!0}}},14937:function(e,t,n){"use strict";n.d(t,{u:function(){return r},D:function(){return a}});const r=30,a="jetpack-new-instagram-connection"},3802:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(14937);const __=o.__,_n=o._n;function s(e){let{accountImageTotal:t,attributes:n,currentUserConnected:s,disconnectFromService:l,shouldRenderSidebarNotice:c,setAttributes:u}=e;const{accessToken:p,columns:d,count:m,instagramUser:h,isStackedOnMobile:f,spacing:g}=n;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelBody,{title:__("Account Settings","jetpack")},(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("span",null,__("Account","jetpack")),(0,r.createElement)(a.ExternalLink,{href:`https://www.instagram.com/${h}/`},"@",h)),s&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isDestructive:!0,isLink:!0,onClick:()=>l(p)},__("Disconnect your account","jetpack")))),(0,r.createElement)(a.PanelBody,{title:__("Display Settings","jetpack")},c?(()=>{const e=t?(0,o.sprintf)(
+__("%s are not a valid email address.","jetpack"),e.join(", "))}return null})()),(0,r.createElement)(h.TextControl,{label:__("Email subject line","jetpack"),value:t,placeholder:__("Enter a subject","jetpack"),onChange:e=>n({subject:e}),help:__("Choose a subject line that you recognize as an email from your website.","jetpack")}),(0,r.createElement)(h.SelectControl,{label:__("On Submission","jetpack"),value:M,options:[{label:__("Show a summary of submitted fields","jetpack"),value:""},{label:__("Show a custom text message","jetpack"),value:"message"},{label:__("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:e=>n({customThankyou:e})}),"redirect"!==M&&(0,r.createElement)(h.TextControl,{label:__("Message Heading","jetpack"),value:B,placeholder:__("Message Sent","jetpack"),onChange:e=>n({customThankyouHeading:e})}),"message"===M&&(0,r.createElement)(h.TextareaControl,{label:__("Message Text","jetpack"),value:R,placeholder:__("Thank you for your submission!","jetpack"),onChange:e=>n({customThankyouMessage:e})}),"redirect"===M&&(0,r.createElement)(h.BaseControl,{label:__("Redirect Address","jetpack"),id:`contact-form-${j}-thankyou-url`},(0,r.createElement)(m.URLInput,{id:`contact-form-${j}-thankyou-url`,value:L,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>n({customThankyouRedirect:e})})))};return!E&&u.registerBlockVariation?(0,r.createElement)("div",{className:O},(0,r.createElement)(m.__experimentalBlockVariationPicker,{icon:(0,a.get)(x,["icon","src"]),label:(0,a.get)(x,["title"]),instructions:__("Please select which type of form you'd like to add, or create your own using the skip option.","jetpack"),variations:P,allowSkip:!0,onSelect:function(){U(arguments.length>0&&void 0!==arguments[0]?arguments[0]:T)}})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.BlockControls,null,(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(h.ToolbarItem,null,(()=>(0,r.createElement)(h.Dropdown,{position:"bottom right",className:"jetpack-contact-form-settings-selector",contentClassName:"jetpack-contact-form__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(h.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("Edit Form Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==d.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,r.createElement)(h.Icon,{icon:"edit"})}))(t,n)},renderContent:()=>H()}))))),(0,r.createElement)(m.InspectorControls,null,(0,r.createElement)(h.PanelBody,{title:__("Form Settings","jetpack")},H()),!(0,f.Wp)()&&(0,r.createElement)(r.Fragment,null,N&&(0,r.createElement)(v.Z,{jetpackCRM:Z,setAttributes:n}),(0,r.createElement)(k.Z,null))),(0,r.createElement)("div",{className:O},(0,r.createElement)(m.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))}))},6528:function(e,t,n){"use strict";n.d(t,{Nk:function(){return x},Xd:function(){return w},u2:function(){return y}});var r=n(69307),a=n(65736),o=n(4981),i=n(55609),s=n(52175),l=n(8565),c=n(99837),u=n(14142),p=n(4901),d=n(62992),m=n(47081),h=n(92158),f=n(55740),g=n(26838),b=n(36598),v=n(70355),k=n(82150);const __=a.__,_x=a._x,y="contact-form",E=(0,b.Z)((0,r.createElement)(i.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 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-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),w={title:__("Form","jetpack"),description:__("A simple way to get feedback from folks visiting your site.","jetpack"),icon:{src:E,foreground:(0,v.m)()},keywords:[_x("email","block search term","jetpack"),_x("feedback","block search term","jetpack"),_x("contact form","block search term","jetpack")],supports:{color:{link:!0,gradients:!0},html:!1,spacing:{padding:!0,margin:!0}},attributes:c.Z,edit:l.Z,save:()=>{const e=s.useBlockProps.save();return(0,r.createElement)("div",e,(0,r.createElement)(s.InnerBlocks.Content,null))},variations:u.Z,category:"grow",transforms:d.Z,deprecated:p.Z},_={category:"grow",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-checkbox-multiple",e)},{type:"block",blocks:["jetpack/field-radio"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-radio",e)},{type:"block",blocks:["jetpack/field-select"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-select",e)},{type:"block",blocks:["jetpack/field-consent"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-consent",e)}]},save:()=>null,example:{}},C=e=>{let{attributes:t,name:n}=e;return null===t.label?(0,o.getBlockType)(n).title:t.label},j=e=>t=>(0,r.createElement)(m.Z,{type:e,label:C(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width}),S=e=>t=>(0,r.createElement)(g.Z,{label:C(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width}),x=[{name:"field-text",settings:{..._,title:__("Text","jetpack"),description:__("When you need just a small amount of text, add a text input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:j("text")}},{name:"field-name",settings:{..._,title:__("Name","jetpack"),description:__("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:j("text")}},{name:"field-email",settings:{..._,title:__("Email","jetpack"),keywords:[__("e-mail","jetpack"),__("mail","jetpack"),"email"],description:__("Want to reply to folks? Add an email address input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:j("email")}},{name:"field-url",settings:{..._,title:__("Website","jetpack"),keywords:["url",__("internet page","jetpack"),"link"],description:__("Add an address input for a website.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:j("url")}},{name:"field-date",settings:{..._,title:__("Date Picker","jetpack"),keywords:[__("Calendar","jetpack"),_x("day month year","block search term","jetpack")],description:__("The best way to set a date. Add a date picker.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:j("text")}},{name:"field-telephone",settings:{..._,title:__("Phone Number","jetpack"),keywords:[__("Phone","jetpack"),__("Cellular phone","jetpack"),__("Mobile","jetpack")],description:__("Add a phone number input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:j("tel")}},{name:"field-textarea",settings:{..._,title:__("Message","jetpack"),keywords:[__("Textarea","jetpack"),"textarea",__("Multiline text","jetpack")],description:__("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:e=>(0,r.createElement)(h.Z,{label:C(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})}},{name:"field-checkbox",settings:{..._,title:__("Checkbox","jetpack"),keywords:[__("Confirm","jetpack"),__("Accept","jetpack")],description:__("Add a single checkbox.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:e=>(0,r.createElement)(f.Z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width}),attributes:{..._.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{..._,title:__("Consent","jetpack"),keywords:[__("Consent","jetpack")],description:__("Ask for consent","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"m81 370h142v40h-142zm0-39h142v-40h-142zm0-79h245v-40h-245zm378 260h-40c0-40.253906-32.746094-73-73-73s-73 32.746094-73 73h-40c0-42.085938 23.128906-78.867188 57.34375-98.3125-11.40625-13.023438-18.34375-30.054688-18.34375-48.6875 0-40.804688 33.195312-74 74-74s74 33.195312 74 74c0 18.632812-6.9375 35.664062-18.34375 48.6875 34.214844 19.445312 57.34375 56.226562 57.34375 98.3125zm-113-113c18.746094 0 34-15.253906 34-34s-15.253906-34-34-34-34 15.253906-34 34 15.253906 34 34 34zm-286 73h138.316406c-3.460937 12.757812-5.316406 26.164062-5.316406 40h-133c-33.085938 0-60-26.914062-60-60v-392c0-33.085938 26.914062-60 60-60h203.757812l142.132813 142.855469v125.210937c-12.042969-7.476562-25.453125-12.765625-39.890625-15.324218v-81.632813h-71.109375c-33.085937 0-60-26.914063-60-60v-71.109375h-174.890625c-11.027344 0-20 8.972656-20 20v392c0 11.027344 8.972656 20 20 20zm234.890625-340.890625h42.972656l-62.972656-63.234375v43.234375c0 11.03125 8.96875 20 20 20zm0 0"}),24,25,"-26 0 512 512"),attributes:{..._.attributes,label:{type:"string",default:__("Consent","jetpack")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack")}},edit:e=>{let{attributes:t,isSelected:n,setAttributes:a}=e;const{id:o,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c}=t;return(0,r.createElement)(k.Z,{id:o,isSelected:n,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c,setAttributes:a})}}},{name:"field-checkbox-multiple",settings:{..._,title:__("Checkbox Group","jetpack"),keywords:[__("Choose Multiple","jetpack"),__("Option","jetpack")],description:__("People love options. Add several checkbox items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:S("checkbox"),attributes:{..._.attributes,label:{type:"string",default:"Choose several"}}}},{name:"field-radio",settings:{..._,title:__("Radio","jetpack"),keywords:[__("Choose","jetpack"),__("Select","jetpack"),__("Option","jetpack")],description:__("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.createElement)(i.Circle,{cx:"12",cy:"12",r:"5"}))),edit:S("radio"),attributes:{..._.attributes,label:{type:"string",default:"Choose one"}}}},{name:"field-select",settings:{..._,title:__("Select","jetpack"),keywords:[__("Choose","jetpack"),__("Dropdown","jetpack"),__("Option","jetpack")],description:__("Compact, but powerful. Add a select box with several items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:S("select"),attributes:{..._.attributes,label:{type:"string",default:"Select one"}}}}]},62992:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=(e,t,n)=>{const r=n.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(r&&r.length)return r[1];const a=n.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(a&&a.length)return a[1];const o=n.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!o||!o.length)&&o[1]},s={root:{},innerBlocks:[]};t.Z={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("<br>","");if(t.includes("[contact-form")&&(s.root={},s.innerBlocks=[],s.root=(e=>{const t={to:i("contact-form","to",e),subject:i("contact-form","subject",e),submitButtonText:i("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,r.pickBy)(t,r.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{s.innerBlocks.push((e=>{const t={label:i("contact-field","label",e),placeholder:i("contact-field","placeholder",e),required:i("contact-field","required",e),options:i("contact-field","options",e)},n=(e=>{const t={text:"jetpack/field-text",url:"jetpack/field-text",textarea:"jetpack/field-textarea",radio:"jetpack/field-radio",checkbox:"jetpack/field-checkbox","checkbox-multiple":"jetpack/field-checkbox-multiple",select:"jetpack/field-select",email:"jetpack/field-email",name:"jetpack/field-name",default:"jetpack/field-text"};return t[e]?t[e]:t.default})(i("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(n,(0,r.pickBy)(t,r.identity))})(e))}))}if(t.includes("[/contact-form]")){s.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:s.root.attrs.submitButtonText||__("Contact Us","jetpack")}));return(0,a.createBlock)(s.root.blockName,s.root.attrs,s.innerBlocks)}return!1}}]}},14142:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(13419),i=n(65736),s=n(55609),l=n(36598),c=n(70355);const __=i.__,u=(0,a.compact)([{name:"contact-form",title:__("Contact Form","jetpack"),description:__("Add a contact form to your page.","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M21.99 8c0-.72-.37-1.35-.94-1.7l-8.04-4.71c-.62-.37-1.4-.37-2.02 0L2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zm-11.05 4.34l-7.2-4.5 7.25-4.25c.62-.37 1.4-.37 2.02 0l7.25 4.25-7.2 4.5c-.65.4-1.47.4-2.12 0z"}),48,48,"-4 -4 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-textarea",{}],["jetpack/button",{text:__("Contact Us","jetpack"),element:"button"}]]},!(0,o.Wp)()&&{name:"newsletter-form",title:__("Newsletter Sign-up","jetpack"),description:__("A simple way to collect information from folks visiting your site.","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M37.9999 7.59998C49.3999 7.59998 68.3999 26.6 68.3999 26.6V68.4H7.59985V26.6C7.59985 26.6 26.5999 7.59998 37.9999 7.59998ZM64.5999 63.536L50.4259 52.44L64.5999 41.8L62.9659 40.394L54.3779 45.334L55.2899 28.956L21.9639 26.98L20.2159 44.232L12.6539 40.622L11.3999 41.8L25.5739 52.44L12.5019 63.27L14.0219 64.904L37.9999 49.4L62.8139 65.17L64.5999 63.536Z"}),48,48,"-6 -6 92 92"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack"),element:"button"}]]},{name:"rsvp-form",title:__("RSVP Form","jetpack"),description:__("Add an RSVP form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M10 9V7.41c0-.89-1.08-1.34-1.71-.71L3.7 11.29c-.39.39-.39 1.02 0 1.41l4.59 4.59c.63.63 1.71.19 1.71-.7V14.9c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Attending?","jetpack"),required:!0,options:[__("Yes","jetpack"),__("No","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send RSVP","jetpack"),element:"button"}]],attributes:{subject:__("A new RSVP from your website","jetpack")}},{name:"registration-form",title:__("Registration Form","jetpack"),description:__("Add a Registration form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M11.34 15.02c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95zm2.12-10.61L17 7.95l-4.95 4.95-3.54-3.54 4.95-4.95zm6.95 11l-2.12-2.12c-.18-.18-.44-.29-.7-.29h-.27l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2h-.42c-.27 0-.52.11-.71.29l-2.12 2.12c-.37.38-.58.89-.58 1.42V20c0 1.1.9 2 2 2h14c1.1 0 2-.89 2-2v-3.17c0-.53-.21-1.04-.59-1.42z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{label:__("Phone Number","jetpack")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack"),options:[__("Search Engine","jetpack"),__("Social Media","jetpack"),__("TV","jetpack"),__("Radio","jetpack"),__("Friend or Family","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send","jetpack"),element:"button"}]],attributes:{subject:__("A new registration from your website","jetpack")}},{name:"appointment-form",title:__("Appointment Form","jetpack"),description:__("Add an Appointment booking form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V8c0-.55-.45-1-1-1s-1 .45-1 1v2H2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1H6zm9 4c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{required:!0}],["jetpack/field-date",{label:__("Date","jetpack"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack"),required:!0,options:[__("Morning","jetpack"),__("Afternoon","jetpack")]}],["jetpack/field-textarea",{label:__("Notes","jetpack")}],["jetpack/button",{text:__("Book Appointment","jetpack"),element:"button"}]],attributes:{subject:__("A new appointment booked from your website","jetpack")}},{name:"feedback-form",title:__("Feedback Form","jetpack"),description:__("Add a Feedback form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.03 0 3.8-1.11 4.75-2.75.19-.33-.05-.75-.44-.75H7.69c-.38 0-.63.42-.44.75.95 1.64 2.72 2.75 4.75 2.75z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Please rate our website","jetpack"),required:!0,options:[__("1 - Very Bad","jetpack"),__("2 - Poor","jetpack"),__("3 - Average","jetpack"),__("4 - Good","jetpack"),__("5 - Excellent","jetpack")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack")}],["jetpack/button",{text:__("Send Feedback","jetpack"),element:"button"}]],attributes:{subject:__("New feedback received from your website","jetpack")}}]);t.Z=u},36553:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(35208);const __=i.__;class u extends r.Component{constructor(){super(...arguments),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"!==e.key||e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:a,region:i,postal:u,country:p,linkToGoogleMaps:d},isSelected:m,setAttributes:h}=this.props,f=[e,t,n,a,i,u,p].some((e=>""!==e)),g=o()({"jetpack-address-block":!0,"is-selected":m}),b=(0,r.createElement)(l.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:d,onChange:e=>h({linkToGoogleMaps:e})});return(0,r.createElement)("div",{className:g},!m&&f&&(0,c.Z)(this.props),(m||!f)&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>h({address:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>h({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>h({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:a,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>h({city:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:i,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>h({region:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:u,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>h({postal:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>h({country:e}),onKeyDown:this.preventEnterKey}),b))}}t.Z=u},11005:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(36553),s=n(35208),l=n(36598);const __=a.__,_x=a._x,c="address",u={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,l.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.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)(o.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:i.Z,save:s.Z}},35208:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:a,city:o,region:i,postal:s,country:l}}=e;return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},t),n&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},n),a&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(i||s)&&(0,r.createElement)("div",{className:"jetpack-address__city"},o),o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__city"},o),", ",(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&(0,r.createElement)("div",{className:"jetpack-address__country"},l))},i=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}}=e;let l=o?`+${o},`:"";l=i?`${l}+${i}`:l;return`https://www.google.com/maps/search/${t?`${t},`:""}${n?`${n},`:""}${r?`${r},`:""}${a?`+${a},`:""}${l}${s?`+${s}`:""}`.replace(" ","+")};t.Z=e=>(e=>{let{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}=e;return[t,n,r,a,o,i,s].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))},83238:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65235),i=n.n(o);const s=["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"]];t.Z=e=>{const{isSelected:t}=e;return(0,r.createElement)("div",{className:i()({"jetpack-contact-info-block":!0,"is-selected":t})},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:s,templateLock:!1,template:l}))}},31336:function(e,t,n){"use strict";var r=n(90458),a=n(66425),o=n(65736);const __=o.__;t.Z=e=>{const{setAttributes:t}=e;return(0,a.Z)("email",e,__("Email","jetpack"),r.Z,(e=>t({email:e})))}},99804:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(31336),s=n(36598),l=n(90458);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z,parent:["jetpack/contact-info"]}},90458:function(e,t,n){"use strict";var r=n(69307),a=n(92384);t.Z=e=>{let{attributes:{email:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},t.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&a.validate(n)?e===n?(0,r.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,r.createElement)(r.Fragment,{key:t},(0,r.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,r.createElement)(r.Fragment,null,e.slice(-(e.length-n.length)))):(0,r.createElement)(r.Fragment,{key:t},e)})))}},64446:function(e,t,n){"use strict";n.d(t,{Nk:function(){return b},Xd:function(){return g},u2:function(){return h}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(4981),l=n(83238),c=n(36598),u=n(11005),p=n(99804),d=n(52398),m=n(70355);const __=a.__,_x=a._x,h="contact-info",f=(0,c.Z)((0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),g={title:__("Contact Info","jetpack"),description:__("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[_x("email","block search term","jetpack"),_x("phone","block search term","jetpack"),_x("address","block search term","jetpack")],icon:{src:f,foreground:(0,m.m)()},category:"grow",supports:{align:["wide","full"],html:!1,color:{link:!0,gradients:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"widget_contact_info"===t},transform:e=>{let{instance:t}=e,n=[(0,s.createBlock)("core/heading",{content:t.raw.title}),(0,s.createBlock)("jetpack/email",{email:t.raw.email}),(0,s.createBlock)("jetpack/phone",{phone:t.raw.phone}),(0,s.createBlock)("jetpack/address",{address:t.raw.address})];return t.raw.hours&&(n=[...n,(0,s.createBlock)("core/paragraph",{content:t.raw.hours})]),t.raw.showmap&&t.raw.address&&(n=[...n,(0,s.createBlock)("jetpack/map",{address:t.raw.address})]),(0,s.createBlock)("jetpack/contact-info",{},n)}}]},attributes:{},edit:l.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},b=[{name:u.u,settings:u.X},{name:p.u,settings:p.X},{name:d.u,settings:d.X}]},70835:function(e,t,n){"use strict";var r=n(65736),a=n(21621),o=n(66425);const __=r.__;t.Z=e=>{const{setAttributes:t}=e;return(0,o.Z)("phone",e,__("Phone number","jetpack"),a.Z,(e=>t({phone:e})))}},52398:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(70835),s=n(36598),l=n(21621);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z}},21621:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{attributes:{phone:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},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,o=n?e.substring(0,n):"",i=a.replace(/\D/g,"");return/[0-9/+/(]/.test(a[0])?(o=o.slice(0,-1),"+"===a[0]&&(i="+"+i)):a=a.substring(1),[o.trim()?(0,r.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,(0,r.createElement)("a",{key:"phoneNumber",href:`tel:${i}`},a)]}(t))}},4913:function(e,t){"use strict";t.Z={participants:{type:"array"},showTimestamps:{type:"boolean",default:!1},skipUpload:{type:"boolean",default:!1}}},24225:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.createContext)()},79585:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n(69307),a=n(55609),o=n(65736),i=n(79891);const __=o.__,_x=o._x;function s(e){let{className:t,participants:n,onDelete:o}=e;return(0,r.createElement)("div",{className:`${t}__participant-control`},n.map((e=>{let{label:n,slug:s}=e;return(0,r.createElement)("div",{key:`${s}-key`,className:`${t}__participant`},(0,r.createElement)("div",{className:`${t}__participant-label`},(0,i.iT)(n)),(0,r.createElement)(a.Button,{className:`${t}__remove-participant`,label:__("Remove participant","jetpack"),onClick:()=>o(s),variant:"tertiary",isSmall:!0},_x("Remove","verb: remove item from a list","jetpack")))})))}function l(e){let{participants:t,className:n,onChange:a,onDelete:o}=e;return(0,r.createElement)(s,{className:n,participants:t,onChange:a,onDelete:o})}},94013:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(9818),l=n(79585),c=n(24225),u=n(81427),p=n(6598),d=n(79891);const __=a.__,m=[["jetpack/dialogue"]];t.Z=(0,i.withNotices)((function(e){let{className:t,attributes:n,setAttributes:a,noticeUI:h,clientId:f,noticeOperations:g}=e;const{participants:b=[],showTimestamps:v,skipUpload:k}=n,[y,E]=(0,r.useState)(""),{insertBlocks:w}=(0,s.useDispatch)("core/block-editor"),_=(0,r.useCallback)((e=>{a({participants:b.map((t=>t.slug!==e.slug?t:{...t,...e}))})}),[a,b]),C=(0,r.useCallback)((function(e){let{label:t,slug:n}=e;if(!t)return;const r=t.trim();if(null==r||!r.length)return;const o=(0,d.tQ)(b,r);if(o)return o;const i={slug:n||"speaker-"+ +new Date,label:r};return a({participants:[...b,i]}),i}),[b,a]),j=(0,r.useCallback)(a,[a]),S=(0,r.useMemo)((()=>({setAttributes:j,updateParticipants:_,addNewParticipant:C,attributes:{showTimestamps:v}})),[C,j,v,_]);function x(e){g.removeAllNotices(),g.createErrorNotice(e),E(!1)}const P="wp-block-jetpack-conversation";return null!=b&&b.length||k?(0,r.createElement)(c.Z.Provider,{value:S},(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.Panel,null,(0,r.createElement)(i.PanelBody,{title:__("Speakers","jetpack"),className:`${P}__participants`},(0,r.createElement)(l.C,{className:P,participants:b,onDelete:function(e){a({participants:b.filter((t=>{let{slug:n}=t;return n!==e}))})}})))),(0,r.createElement)(o.InnerBlocks,{template:m}))):(0,r.createElement)(i.Placeholder,{label:__("Conversation","jetpack"),instructions:(0,r.createElement)(r.Fragment,null,__("Upload a transcript file or create a conversation with blank content.","jetpack"),(0,r.createElement)("div",null,(0,r.createElement)("em",null,__("Accepted file formats:","jetpack"),(0,r.createElement)("strong",null," ",d.bZ),"."))),icon:(0,r.createElement)(o.BlockIcon,{icon:u.Xu}),notices:h},(0,r.createElement)("div",{className:`${P}__placeholder`},(0,r.createElement)(i.FormFileUpload,{multiple:!1,className:"wp-block-jetpack-slideshow__add-item-button",onChange:function(e){var t,n;const r=null===(t=e.target.files)||void 0===t?void 0:t[0];if(!r)return x(__("Transcript file not found.","jetpack"));if(null!=r&&r.size&&r.size<=0||null==r||!r.size||r.size>d.$n)return x(__("Invalid transcript file size.","jetpack"));if(null!=r&&null!==(n=r.type)&&void 0!==n&&n.length&&"text/plain"!==r.type)return x(__("Invalid transcript file type.","jetpack"));const o=(0,d.Y7)(null==r?void 0:r.name);if(!(0,d.P8)(o))return x(__("Invalid transcript file extension.","jetpack"));E(!0),(0,d.Bt)(r,(function(e,t){let{conversation:n,dialogues:r}=e;if(t)return x(t);a({participants:n.speakers,skipUpload:!(null!=n&&n.length)});const o=r.map((e=>e.slug||e.timestamp?["jetpack/dialogue",e]:["core/paragraph",e])),i=(0,p.Z)(o);w(i,0,f),E(!1)}))},accept:d.bZ,variant:"primary",title:`${__("Accepted file formats:","jetpack")} ${d.bZ}`,disabled:y},__("Upload transcript","jetpack")),(0,r.createElement)(i.Button,{variant:"tertiary",disabled:y,onClick:()=>a({skipUpload:!0})},__("Skip upload","jetpack"))))}))},71375:function(e,t,n){"use strict";var r=n(65736);const __=r.__,a=[{slug:"participant-0",label:"Rosalind"},{slug:"participant-1",label:"Orlando"}],o=[{name:"core/heading",attributes:{content:__("Shakespeare text","jetpack"),level:4}},{name:"jetpack/dialogue",attributes:{...a[0],content:__("O, my dear Orlando, how it grieves me to see thee wear thy heart in a scarf!","jetpack"),timestamp:"00:10"}},{name:"jetpack/dialogue",attributes:{...a[1],content:__("It is my arm.","jetpack"),timestamp:"00:15"}},{name:"jetpack/dialogue",attributes:{...a[0],content:__("I thought thy heart had been wounded with the claws of a lion.","jetpack"),timestamp:"00:32"}},{name:"jetpack/dialogue",attributes:{...a[1],content:__("Wounded it is, but with the eyes of a lady.","jetpack"),timestamp:"00:37"}}];t.Z={attributes:{participants:a,showTimestamps:!0,className:"is-style-row"},innerBlocks:o}},24881:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},u2:function(){return p}});var r=n(65736),a=n(4981),o=n(81427),i=n(6598),s=n(4913),l=n(94013),c=n(99030),u=n(71375);const __=r.__,_x=r._x,p="conversation",d={title:__("Conversation","jetpack"),description:__("Create a transcription of a speech or conversation, with any number of participants, using dialogue blocks.","jetpack"),icon:o.Xu,category:"layout",keywords:[_x("conversation","block search term","jetpack"),_x("transcription","block search term","jetpack"),_x("dialogue","block search term","jetpack"),_x("speaker","block search term","jetpack")],supports:{align:!0},attributes:s.Z,example:u.Z,styles:[{name:"row",label:__("Row","jetpack"),isDefault:!0},{name:"column",label:__("Column","jetpack")}],edit:l.Z,save:c.Z,providesContext:{"jetpack/conversation-participants":"participants","jetpack/conversation-showTimestamps":"showTimestamps"},transforms:{from:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>{const t=e.map((e=>{let{content:t}=e;return["jetpack/dialogue",{content:t}]}));return(0,a.createBlock)("jetpack/conversation",{},(0,i.Z)(t))}}]}}},99030:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175);function s(e){let{attributes:t}=e;return(0,r.createElement)("div",{className:o()("wp-block-jetpack-conversation",{"show-timestamps":null==t?void 0:t.showTimestamp})},(0,r.createElement)(i.InnerBlocks.Content,null))}},79891:function(e,t,n){"use strict";n.d(t,{$n:function(){return h},Bt:function(){return y},P8:function(){return k},Y7:function(){return c},bZ:function(){return m},iT:function(){return l},ly:function(){return i},tQ:function(){return s}});var r=n(72629),a=n(81975),o=n(65736);const __=o.__;function i(e,t){const n=e.filter((e=>{let{slug:n}=e;return n===t}));return null!=n&&n.length?n[0]:null}function s(e,t){const n=e.filter((e=>{let{label:n}=e;return(null==n?void 0:n.toLowerCase())===(null==t?void 0:t.toLowerCase())}));return null!=n&&n.length?n[0]:null}function l(e){var t;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=null===(t=(0,r.getTextContent)((0,r.create)({html:e})))||void 0===t?void 0:t.trim();return n?(0,a.escapeHTML)(o):o}function c(e){return`.${e.substr(e.lastIndexOf(".")+1)}`}const u=".srt",p=".txt",d=[u,p,".vtt",".sbv"],m=d.join(", "),h=1e5,f=/(.*[^\s])\s{1,}(\d{1,2}(?::\d{1,2}?)+)\s+\n([\s\S]*?(?=\n{2}|$))/,g=/(?:(.*[^\s]):\s+)?(?:\[(\d+(?::\d+)*?(?:\.\d*)?)])?(?:[\s])*?([^\s].+?(?:\n+|$))/,b=[{name:"otter",re:new RegExp(f,"gm"),testRE:new RegExp(f,"g")},{name:"sonix",re:new RegExp(g,"gm"),testRE:new RegExp(g,"g")}],v=/(\d+)\n([\d:,]+)\s+-{2}>\s+([\d:,]+)\n([\s\S]*?(?=\n{2}|$))/gm;function k(e){return d.indexOf(e)>=0}function y(e,t){const n=c(null==e?void 0:e.name),r=new FileReader;r.addEventListener("load",(e=>{var r;const a=e.target.result?e.target.result.replace(/\r\n|\r|\n/g,"\n"):null;if(null==a||!a.length)return t({},__("Transcript content is empty","jetpack"));let o={};if(n&&n!==p&&n===u&&(o=function(e){const t={conversation:{speakers:[]},dialogues:[]};let n;for(;null!==(n=v.exec(e));)t.dialogues.push({timestamp:n[2],content:n[4]});return t}(a)),n===p&&(o=function(e){const t={dialogues:[],conversation:{speakers:[]}},n=b.filter((t=>{let{testRE:n}=t;return n.test(e)}));if(null==n||!n.length)return t;const r=n[0];let a;for(;null!=(a=r.re.exec(e));){var o,i,s;const e=a[(null==r||null===(o=r.indexes)||void 0===o?void 0:o.speaker)||1]||"";null!=e&&e.length&&t.conversation.speakers.indexOf(e)<0&&t.conversation.speakers.push(e);const n={content:a[(null==r||null===(i=r.indexes)||void 0===i?void 0:i.content)||3],timestamp:a[(null==r||null===(s=r.indexes)||void 0===s?void 0:s.timestamp)||2],showTimestamp:!0};null!=e&&e.length&&(n.label=e,n.slug=`speaker-${t.conversation.speakers.indexOf(e)}`),t.dialogues.push(n)}return t.conversation.speakers=t.conversation.speakers.map(((e,t)=>({label:e,slug:`speaker-${t}`}))),t}(a)),null===(r=o.dialogues)||void 0===r||!r.length)return t({},__("Transcript format not supported","jetpack"));t(o)})),r.readAsText(e)}},53953:function(e,t){"use strict";t.Z={label:{type:"string",source:"html",selector:".wp-block-jetpack-dialogue__participant"},slug:{type:"string"},timestamp:{type:"string",default:"00:00"},showTimestamp:{type:"boolean",default:!1},placeholder:{type:"string"},content:{type:"string",source:"html",selector:".wp-block-jetpack-dialogue__content"}}},61240:function(e,t,n){"use strict";n.d(t,{Ev:function(){return m},v$:function(){return g}});n(82402);var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736),l=n(52175),c=n(79891);const __=s.__,u="is-participant-adding",p="is-participant-selecting",d="was-participant-selected";function m(e){let{participants:t,slug:n,onSelect:a}=e;return(0,r.createElement)(i.SelectControl,{label:__("Speaker name","jetpack"),value:n,options:t.map((e=>{let{slug:t,label:n}=e;return{label:(0,c.iT)(n),value:t}})),onChange:e=>a((0,c.ly)(t,e))})}const h=(0,i.withFocusOutside)(class extends r.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return(0,r.createElement)("div",{className:this.props.className},this.props.children)}});function f(e){return{name:"jetpack/conversation-participants",triggerPrefix:"",options:e,getOptionLabel:e=>{let{label:t}=e;return(0,r.createElement)("span",null,(0,c.iT)(t))},getOptionKeywords:e=>{let{label:t}=e;return[t]},getOptionCompletion:e=>({action:"replace",value:e}),popoverProps:{position:"bottom"}}}function g(e){let{className:t,label:n,participant:a,participants:i,transcriptRef:s,onParticipantChange:m,onUpdate:g=(()=>{}),onSelect:b,onAdd:v,onClean:k}=e;const[y,E]=(0,r.useState)("is-participant-ready");function w(){if(!n)return;const e=(0,c.tQ)(i,n);return a&&a.label!==n?e&&e.slug!==a.slug?(E(d),b(e)):(E("was-participant-edited"),g({...a,label:(0,c.iT)(n,!0)})):e?(E(d),b(e)):(v((0,c.iT)(n,!0)),E("was-participant-added"))}const _=(0,r.useMemo)((()=>y?y!==u&&y!==p?[]:[f(i)]:[]),[i,y]);return(0,r.createElement)(h,{className:o()(t,{"has-bold-style":null==n?void 0:n.length,[y]:y}),onFocusOutside:w},(0,r.createElement)(l.RichText,{tagName:"div",value:n,allowedFormats:[],withoutInteractiveFormatting:!0,onChange:function(e){if(null==e||!e.length)return E(u),k();m(e);const t=(0,c.tQ)(i,e);a?a.label===e?E(p):E("is-participant-editing"):E(t?p:u)},placeholder:__("Speaker","jetpack"),onSplit:()=>{},onReplace:e=>{setTimeout((()=>{var e;return null==s||null===(e=s.current)||void 0===e?void 0:e.focus()}),10);const t=null==e?void 0:e[0];if(t){const{label:e}=t;return m(e),E(d),b(t)}return w()},autocompleters:_}))}},29726:function(e,t,n){"use strict";n.d(t,{S6:function(){return f},dG:function(){return d}});var r=n(69307),a=n(92819),o=n(55609),i=n(65736),s=n(20769),l=n(26706);const __=i.__,_x=i._x;const c=["hour","min","sec"];function u(e,t){var n,r,a;const o=null===(n=Object.keys(e))||void 0===n?void 0:n[0];if(!o)return t.join(":");let i=String((s=e[o],l="hour"===o?23:59,Math.max(0,Math.min(s,l))));var s,l;return 1===(null===(r=i)||void 0===r?void 0:r.length)?i=`0${i}`:0===(null===(a=i)||void 0===a?void 0:a.length)&&(i="00"),t[c.indexOf(o)]=i,3===t.length&&"00"===t[0]&&t.shift(),t.join(":")}const p=(0,a.debounce)((function(e,t){t((0,l.H)(e))}),250);function d(e){let{value:t,className:n,onChange:a,shortLabel:i=!1,isDisabled:c=!1,duration:d}=e;const[m,h]=(0,r.useState)((0,l.i)(t)),f=t.split(":");return f.length<=2&&f.unshift("00"),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${n}__timestamp-controls`},(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__hour`,label:i?_x("Hour","hour (short form)","jetpack"):_x("Hour","hour (long form)","jetpack",0),value:f[0],min:0,max:23,onChange:e=>!c&&a(u({hour:e},f)),disabled:c}),(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__minute`,label:i?_x("Min","Short for Minute","jetpack"):__("Minute","jetpack"),value:f[1],min:0,max:59,onChange:e=>!c&&a(u({min:e},f)),disabled:c}),(0,r.createElement)(s.Z,{className:`${n}__timestamp-control__second`,label:i?_x("Sec","Short for Second","jetpack"):__("Second","jetpack"),value:f[2],min:0,max:59,onChange:e=>!c&&a(u({sec:e},f)),disabled:c})),(0,r.createElement)(o.RangeControl,{disabled:void 0===d,value:m,className:`${n}__timestamp-range-control`,min:0,max:d,onChange:e=>{h(e),p(e,a)},withInputField:!1,renderTooltipContent:e=>(0,l.H)(e)}))}function m(e){let{className:t,onPlayback:n,value:a}=e;return(0,r.createElement)(o.Button,{className:t,variant:"tertiary",onClick:()=>n((0,l.i)(a))},a)}function h(e){let{className:t,currentTime:n,isTimestampButtonVisible:a,children:i,onChange:s,onToggle:c}=e;return(0,r.createElement)(o.Button,{className:t,isSmall:!0,variant:"tertiary",onClick:()=>{c(!a),a||s((0,l.H)(n),s)}},i)}function f(e){let{className:t,isSelected:n,show:a,value:o,mediaCurrentTime:i=0,onChange:s,onToggle:l,onPlayback:c}=e;return n?a?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m,{className:`${t}__timestamp-label`,value:o,onPlayback:c}),(0,r.createElement)(h,{className:`${t}__timestamp-button`,currentTime:i,onChange:s,onToggle:l,isTimestampButtonVisible:a},__("Remove","jetpack"))):(0,r.createElement)(h,{className:`${t}__timestamp-button`,currentTime:i,onChange:s,onToggle:l,isTimestampButtonVisible:a},__("Add timestamp","jetpack")):a?(0,r.createElement)(m,{className:`${t}__timestamp-label`,value:o,onPlayback:c}):null}},6254:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(52175),l=n(4981),c=n(9818),u=n(55609),p=n(61240),d=n(29726),m=n(22474),h=n(24225),f=n(97115),g=n(86263),b=n(26706),v=n(79891);const __=i.__,k="core/paragraph";function y(e){let{className:t,attributes:n,setAttributes:a,context:i,onReplace:y,mergeBlocks:E,isSelected:w}=e;const{content:_,label:C,slug:j,placeholder:S,showTimestamp:x,timestamp:P}=n,{mediaSource:T,mediaCurrentTime:N,mediaDuration:A,mediaDomReference:I,isMultipleSelection:M}=(0,c.useSelect)((e=>{const{getDefaultMediaSource:t,getMediaSourceCurrentTime:n,getMediaSourceDuration:r,getMediaSourceDomReference:a}=e(f.tT);return{mediaSource:t(),mediaCurrentTime:n(),mediaDuration:r(),mediaDomReference:a(),isMultipleSelection:e("core/block-editor").getMultiSelectedBlocks().length>0}}),[]),{playMediaSource:B,setMediaSourceCurrentTime:R}=(0,c.useDispatch)(f.tT),L=(0,r.useRef)(),Z=i["jetpack/conversation-participants"],D=null!=Z&&Z.length?Z:[],F=(0,v.ly)(D,j),O=(0,r.useContext)(h.Z);function z(e){a({timestamp:e})}return(0,r.useEffect)((()=>{M||w||F&&F.slug===j&&F.label!==C&&a({label:F.label})}),[F,C,j,M,w,a]),(0,r.createElement)("div",{className:t},(0,r.createElement)(s.BlockControls,null,T&&(0,r.createElement)(g.m,{onTimestampClick:e=>{a({showTimestamp:!0}),z((0,b.H)(e))}})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(u.Panel,null,(0,r.createElement)(u.PanelBody,{title:__("Speaker","jetpack")},(0,r.createElement)(p.Ev,{className:m.P,participants:D,slug:j||"",onSelect:a})),!(null==T||!T.title)&&(0,r.createElement)(u.PanelBody,{title:__("Podcast episode","jetpack")},(0,r.createElement)("p",null,T.title)),T&&x&&(0,r.createElement)(u.PanelBody,{title:__("Timestamp","jetpack")},(0,r.createElement)(d.dG,{className:m.P,value:P,onChange:z,mediaSource:T,duration:A})))),(0,r.createElement)("div",{className:o()(`${m.P}__meta`,{"has-not-media-source":!T})},(0,r.createElement)(p.v$,{className:`${m.P}__participant`,label:C,participant:F,participants:D,transcriptRef:L,onParticipantChange:e=>{a({label:e})},onSelect:e=>{M||a(e)},onClean:()=>{a({slug:null,label:""})},onAdd:e=>{const t=O.addNewParticipant({label:e,slug:j});a(t)},onUpdate:e=>{O.updateParticipants(e)}}),T&&(0,r.createElement)(d.S6,{className:m.P,show:x,isSelected:w,value:P,mediaCurrentTime:N,onChange:z,onToggle:e=>a({showTimestamp:e}),onPlayback:function(e){I&&(I.currentTime=e),R(e),B()}})),(0,r.createElement)(s.RichText,{ref:L,identifier:"content",tagName:"p",className:`${m.P}__content`,value:_,onChange:e=>a({content:e}),onMerge:E,onSplit:e=>{if(null==_||!_.length)return(0,l.createBlock)(k);const t=null!=e&&e.length?n:{};return(0,l.createBlock)("jetpack/dialogue",{...t,content:e})},onReplace:function(e){for(var t,n,r,a,o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];return O?(null===(t=e[0])||void 0===t?void 0:t.name)!==k||(null===(n=e[1])||void 0===n?void 0:n.name)!==k||null!==(r=e[0])&&void 0!==r&&r.attributes.content||null!==(a=e[1])&&void 0!==a&&a.attributes.content?void y(e,...i):((0,c.dispatch)("core/block-editor").selectBlock(e[0].clientId),y([e[0]],...i)):y(e,...i)},onRemove:y?()=>y([]):void 0,placeholder:S||__("Write dialogue…","jetpack")}))}},13010:function(e,t,n){"use strict";n.d(t,{Xd:function(){return m},u2:function(){return d}});var r=n(65736),a=n(4981),o=n(53953),i=n(6254),s=n(54835),l=n(81427),c=n(90059),u=n(24881);const __=r.__,_x=r._x,p=c.p,d="dialogue",m={title:__("Dialogue","jetpack"),description:__("Create a dialogue paragraph, setting the participant with an optional timestamp.","jetpack"),parent:[`jetpack/${u.u2}`],icon:l.VV,category:"layout",edit:i.Z,save:s.Z,attributes:o.Z,usesContext:["jetpack/conversation-participants","jetpack/conversation-showTimestamps"],keywords:[_x("dialogue","block search term","jetpack"),_x("participant","block search term","jetpack"),_x("transcription","block search term","jetpack"),_x("speaker","block search term","jetpack")],transforms:{to:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>e.map((e=>{let{content:t,label:n}=e;return(0,a.createBlock)("core/paragraph",{content:(null!=n&&n.length?`<strong>${n}</strong>: `:"")+t})}))}],from:[{type:"block",blocks:["core/paragraph"],isMultiBlock:!0,transform:e=>e.map((e=>{let{content:t}=e;return(0,a.createBlock)("jetpack/dialogue",{participant:p[0],content:t})}))}]}}},54835:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(52175),o=n(22474),i=n(26706);function s(e){let{attributes:t}=e;const{content:n,label:s,showTimestamp:l,timestamp:c}=t;return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:`${o.P}__meta`},(0,r.createElement)(a.RichText.Content,{className:`${o.P}__participant has-bold-style`,tagName:"div",value:s}),l&&(0,r.createElement)("div",{className:`${o.P}__timestamp-label`},(0,r.createElement)("a",{className:`${o.P}__timestamp_link`,href:`#${(0,i.i)(c)}`},c))),(0,r.createElement)(a.RichText.Content,{className:`${o.P}__content`,tagName:"p",value:n}))}},22474:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});const r="wp-block-jetpack-dialogue"},10764:function(e,t,n){"use strict";var r=n(69307),a=n(25607),o=n(43317),i=n(65235),s=n.n(i),l=n(52175),c=n(79162);t.Z=e=>{let{className:t=null,currency:n=null,defaultValue:i=null,disabled:u=!1,label:p="",onChange:d=null,value:m=""}=e;const[h,f]=(0,r.useState)((0,a.ZP)(m,n,{symbol:""})),[g,b]=(0,r.useState)(!1),[v,k]=(0,r.useState)(!1),y=(0,r.useRef)(null),E=(0,r.useCallback)((e=>{if(f(e),!d)return;const t=(0,c.Vm)(e,n);t&&t>=(0,c.hj)(n)?(d(t),k(!1)):e&&k(!0)}),[n,d]),w=()=>{y.current&&(y.current.focus(),b(!0))};return(0,r.useEffect)((()=>{y.current&&y.current.addEventListener("blur",(()=>b(!1)))}),[y]),(0,r.useEffect)((()=>{g||h||E((0,a.ZP)(i,n,{symbol:""}))}),[n,i,h,g,E]),(0,r.useEffect)((()=>{g||v||f((0,a.ZP)(m,n,{symbol:""}))}),[n,g,v,E,m]),(0,r.createElement)("div",{className:s()("donations__amount",t,{"has-focus":g,"has-error":v}),role:"button",tabIndex:0,onClick:w,onKeyDown:w},o.M[n].symbol,u?(0,r.createElement)("div",{className:"donations__amount-value"},(0,a.ZP)(m||i,n,{symbol:""})):(0,r.createElement)(l.RichText,{allowedFormats:[],"aria-label":p,multiline:!1,onChange:e=>E(e),placeholder:(0,a.ZP)(i,n,{symbol:""}),ref:y,value:h,withoutInteractiveFormatting:!0}))}},82275:function(e,t,n){"use strict";var r=n(69307),a=n(43317),o=n(13419),i=n(52175),s=n(55609),l=n(65736),c=n(39630),u=n(79162);const __=l.__;t.Z=e=>{const{attributes:t,setAttributes:n}=e,{currency:l,monthlyDonation:p,annualDonation:d,showCustomAmount:m}=t,h=(e,r)=>{const a={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],o=t[a];n({[a]:{...o,show:r}})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(s.Dropdown,{contentClassName:"jetpack-donations__currency-popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(s.Button,{className:"jetpack-donations__currency-toggle",icon:(0,r.createElement)(r.Fragment,null,l+" - "+a.M[l].symbol,(0,r.createElement)(s.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:t,onKeyDown:e=>{n||e.keyCode!==c.DOWN||(e.preventDefault(),e.stopPropagation(),t())}})},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(s.MenuGroup,null,Object.keys(u.ck).map((e=>(0,r.createElement)(s.MenuItem,{isSelected:e===l,onClick:()=>{n({currency:e}),t()},key:`jetpack-donations-currency-${e}`},e+" - "+a.M[e].symbol))))}}))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.ToggleControl,{checked:p.show,onChange:e=>h("1 month",e),label:__("Show monthly donations","jetpack")}),(0,r.createElement)(s.ToggleControl,{checked:d.show,onChange:e=>h("1 year",e),label:__("Show annual donations","jetpack")}),(0,r.createElement)(s.ToggleControl,{checked:m,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,r.createElement)(s.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,o.lQ)()}`},__("View donation earnings","jetpack")))))}},853:function(e,t,n){"use strict";var r=n(69307),a=n(25607),o=n(43317),i=n(52175),s=n(65736),l=n(79162);const __=s.__;t.Z={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:e=>{let{attributes:t}=e;const{currency:n,oneTimeDonation:s,monthlyDonation:c,annualDonation:u,showCustomAmount:p,chooseAmountText:d,customAmountText:m}=t;if(!s||!s.show||-1===s.planId)return null;const h={"one-time":{title:__("One-Time","jetpack")},...c.show&&{"1 month":{title:__("Monthly","jetpack")}},...u.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"donations__container"},Object.keys(h).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(h).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${t} `,"data-interval":t},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:s.heading}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:c.heading}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:u.heading}),(0,r.createElement)(i.RichText.Content,{tagName:"p",value:d}),(0,r.createElement)("div",{className:"donations__amounts donations__one-time-item"},s.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),c.show&&(0,r.createElement)("div",{className:"donations__amounts donations__monthly-item"},c.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),u.show&&(0,r.createElement)("div",{className:"donations__amounts donations__annual-item"},u.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),p&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.RichText.Content,{tagName:"p",value:m}),(0,r.createElement)("div",{className:"donations__amount donations__custom-amount"},o.M[n].symbol,(0,r.createElement)("div",{className:"donations__amount-value","data-currency":n,"data-empty-text":(0,a.ZP)(100*(0,l.hj)(n),n,{symbol:""})}))),(0,r.createElement)("div",{className:"donations__separator"},"——"),(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:s.extraText}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:c.extraText}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__annual-item",value:u.extraText}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:s.buttonText})),c.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:c.buttonText})),u.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:u.buttonText}))))))}}},86245:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(9818),s=n(65736),l=n(72833),c=n(24177),u=n(21789),p=n(85731),d=n(74251),m=n(23267);const __=s.__;t.Z=e=>{const{attributes:t,className:n,setAttributes:r}=e,{currency:s}=t,[h,f]=(0,o.useState)(""),[g,b]=(0,o.useState)([]),v=(0,i.useSelect)((e=>e("core/editor").getCurrentPost()),[]),{setShouldUpgrade:k,setConnectUrl:y}=(0,i.useDispatch)(m.G4);(0,o.useEffect)((()=>{r({fallbackLinkUrl:v.link})}),[v.link,r]);const E=e=>{f(e)},w=e=>e.reduce(((e,t)=>{let{id:n,currency:r,type:a,interval:o}=t;return r===s&&"donation"===a&&(e[o]=n),e}),{}),_=e=>{if(!e&&"object"!=typeof e||e.errors)return void f(__("Could not load data from WordPress.com.","jetpack"));k(e.should_upgrade_to_access_memberships),y((0,d.Z)(v.id,e.connect_url));const t=w(e.products);(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(t)?b(t):e.should_upgrade_to_access_memberships||e.connect_url?b({"one-time":-1,"1 month":-1,"1 year":-1}):(0,u.Z)(s).then((e=>b(w(e))),E)};return(0,o.useEffect)((()=>{(0,p.Z)("donation").then(_,E)}),[s]),h?(0,o.createElement)(c.Z,{className:n,error:h}):(0,o.createElement)(l.Z,a()({},e,{products:g}))}},21789:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z=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)}}},85731:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(96483);t.Z=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=new URLSearchParams(window.location.search),n=(0,o.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)}}},29800:function(e,t,n){"use strict";n.d(t,{Xd:function(){return c},u2:function(){return l}});var r=n(65736),a=n(86245),o=n(75314),i=n(853),s=n(81427);const __=r.__,_x=r._x,l="donations",c={title:__("Donations Form","jetpack"),description:__("Collect one-time, monthly, or annually recurring donations.","jetpack"),icon:s.K9,category:"earn",keywords:[_x("charity","block search term","jetpack"),_x("contribution","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("donate","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),_x("fundraising","block search term","jetpack"),_x("fundraiser","block search term","jetpack"),"gofundme",_x("money","block search term","jetpack"),_x("nonprofit","block search term","jetpack"),_x("non-profit","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("recurring","block search term","jetpack"),"stripe",_x("sponsor","block search term","jetpack"),"square",_x("tipping","block search term","jetpack"),"venmo"],supports:{html:!1},edit:a.Z,save:o.Z,example:{},deprecated:[i.Z]}},24177:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=e=>{let{className:t,error:n}=e;return(0,r.createElement)(o.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:n,className:t})}},75314:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t}=e;const{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:s}=t;return o&&o.show&&o.planId&&-1!==o.planId?(0,r.createElement)("div",null,(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:o.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:o.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:o.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:i.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:i.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:i.buttonText})),s.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value: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.buttonText}))):null}},91757:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(9818),i=n(65736),s=n(10764),l=n(79162);const __=i.__;t.Z=e=>{let{activeTab:t,attributes:n,setAttributes:c}=e;const{currency:u,oneTimeDonation:p,monthlyDonation:d,annualDonation:m,showCustomAmount:h,chooseAmountText:f,customAmountText:g}=n,b={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"},v=e=>n[b[t]][e],k=(e,r)=>{const a=b[t],o=n[a];c({[a]:{...o,[e]:r}})},[y,E]=(0,r.useState)(u),w=(0,l.hj)(u),_=(0,r.useMemo)((()=>[10*w,30*w,200*w]),[w]);(0,r.useEffect)((()=>{y!==u&&(E(u),c({oneTimeDonation:{...p,amounts:_},monthlyDonation:{...d,amounts:_},annualDonation:{...m,amounts:_}}))}),[u,y,_,p,d,m,c]);const C=v("amounts"),j=(0,o.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:v("heading"),onChange:e=>k("heading",e)}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:f,onChange:e=>c({chooseAmountText:e})}),(0,r.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,r.createElement)(s.Z,{currency:u,defaultValue:_[t],label:(0,i.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,k("amounts",n)})(e,t),value:e})))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:g,onChange:e=>c({customAmountText:e})}),(0,r.createElement)(s.Z,{currency:u,label:__("Custom amount","jetpack"),defaultValue:100*(0,l.hj)(u),className:"donations__custom-amount",disabled:!0})),(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:v("extraText"),onChange:e=>k("extraText",e)}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper"},(0,r.createElement)(a.RichText,{className:"wp-block-button__link donations__donate-button",placeholder:__("Write a message…","jetpack"),value:v("buttonText"),onChange:e=>{return t=e,void c({oneTimeDonation:{...p,buttonText:t},monthlyDonation:{...d,buttonText:t},annualDonation:{...m,buttonText:t}});var t},allowedFormats:j})))}},72833:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(82275),l=n(91757),c=n(16367);const __=i.__;t.Z=e=>{const{attributes:t,className:n,products:a,setAttributes:i}=e,{oneTimeDonation:u,monthlyDonation:p,annualDonation:d}=t,[m,h]=(0,r.useState)("one-time"),f=(0,r.useCallback)((e=>m===e),[m]),g={"one-time":{title:__("One-Time","jetpack")},...p.show&&{"1 month":{title:__("Monthly","jetpack")}},...d.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.useEffect)((()=>{u.planId===a["one-time"]&&p.planId===a["1 month"]&&d.planId===a["1 year"]||i({...a["one-time"]&&{oneTimeDonation:{...u,planId:a["one-time"]}},...a["1 month"]&&{monthlyDonation:{...p,planId:a["1 month"]}},...a["1 year"]&&{annualDonation:{...d,planId:a["1 year"]}}})}),[u,p,d,i,a]),(0,r.useEffect)((()=>{!p.show&&f("1 month")&&h("one-time"),!d.show&&f("1 year")&&h("one-time")}),[p,d,h,f]),(0,r.createElement)("div",{className:n},(0,r.createElement)(c.U,{blockName:"donations"}),(0,r.createElement)("div",{className:"donations__container"},Object.keys(g).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(g).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:o()("donations__nav-item",{"is-active":f(t)}),onClick:()=>h(t),onKeyDown:()=>h(t),key:`jetpack-donations-nav-item-${t} `},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)(l.Z,{activeTab:m,attributes:t,setAttributes:i}))),(0,r.createElement)(s.Z,e))}},2785:function(e,t){"use strict";t.Z={url:{type:"string",validator:e=>!e||e.startsWith("http")},eventId:{type:"number"},style:{type:"string",default:"inline"}}},6949:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__,i=e=>{let{setEditingUrl:t}=e;return(0,r.createElement)(a.ToolbarGroup,null,(0,r.createElement)(a.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},1344:function(e,t,n){"use strict";var r=n(24717);t.Z=[r.Z]},24717:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(92819),l=n(4981),c=n(65736);const _x=c._x,u=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius"];t.Z={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 r=n;r||(r=e.useModal?"modal":"inline");const a={...(0,s.omit)(e,["useModal",...u]),className:t&&t.replace("is-style-outline",""),style:r},o=(0,s.pick)(e,u);return[a,[(0,l.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(e){let{attributes:t}=e;const{eventId:n,useModal:a,url:s,style:l}=t;if(n)return a||"modal"===l?function(e){const{backgroundColor:t,borderRadius:n,customBackgroundColor:a,customTextColor:s,eventId:l,text:c,textColor:u,url:p}=e,d=(0,i.getColorClassName)("color",u),m=(0,i.getColorClassName)("background-color",t),h=o()("wp-block-button__link",{"has-text-color":u||s,[d]:d,"has-background":t||a,[m]:m,"no-border-radius":0===n}),f={backgroundColor:m?void 0:a,color:d?void 0:s,borderRadius:n?n+"px":void 0};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{className:h,href:p,id:`eventbrite-widget-${l}`,rel:"noopener noreferrer",role:"button",style:f,tagName:"a",target:"_blank",value:c}))}(t):s&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:s},s)},isEligible:(e,t)=>("modal"===e.style||e.useModal)&&((0,s.isEmpty)(t)||(0,s.some)((0,s.pick)(e,u),Boolean))}},16078:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(13419),u=n(75334),p=n(2785),d=n(77825),m=n(4554),h=n(8964),f=n(57538),g=n(23621),b=n(6949);const __=i.__,_x=i._x;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{editedUrl:this.props.attributes.url||"",editingUrl:!1,isResolvingUrl:!1}),a()(this,"setUrl",(e=>{const{attributes:t,noticeOperations:n,setAttributes:r}=this.props,{style:a}=t;if(!e||u.Q7===e||"modal"===a)return;const o=(0,d.Ve)(e);if(o){const t={eventId:o,url:e};(0,g.Z)(t.url,this.setIsResolvingUrl).then((e=>{const a=(0,m.S)(p.Z,{...t,url:e});r(a),this.setState({editedUrl:e}),n.removeAllNotices()})).catch((()=>{r({eventId:void 0,url:void 0}),this.setErrorNotice()}))}else this.setErrorNotice()})),a()(this,"setIsResolvingUrl",(e=>this.setState({isResolvingUrl:e}))),a()(this,"setEditingUrl",(e=>this.setState({editingUrl:e}))),a()(this,"setErrorNotice",(()=>{const{noticeOperations:e,onReplace:t}=this.props,{editedUrl:n}=this.state;e.removeAllNotices(),e.createErrorNotice((0,o.createElement)(o.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,o.createElement)(s.Button,{variant:"link",onClick:()=>(0,d.N3)(n,t)},_x("Convert block to link","button label","jetpack"))))})),a()(this,"submitForm",(e=>{e&&e.preventDefault(),this.setUrl((0,d.qq)(this.state.editedUrl)),this.setState({editingUrl:!1})})),a()(this,"cannotEmbed",(()=>{const{url:e}=this.props.attributes,{isResolvingUrl:t}=this.state;return!t&&e&&!u.Wh.test(e)}))}componentDidMount(){const{url:e}=this.props.attributes;this.setUrl(e)}renderLoading(){return(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(s.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack")))}renderInspectorControls(){const{style:e}=this.props.attributes,{attributes:t,clientId:n,setAttributes:r}=this.props,a=[{value:"inline",label:__("In-page Embed","jetpack"),preview:(0,o.createElement)("div",{className:"block-editor-block-preview__container"},(0,o.createElement)("img",{src:h,alt:__("In page Eventbrite checkout example","jetpack")}))},{value:"modal",label:__("Button & Modal","jetpack")}];return(0,o.createElement)(f.Z,{title:_x("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack"),clientId:n,styleOptions:a,onSelectStyle:r,activeStyle:e,attributes:t,viewportWidth:130})}renderEditEmbed(){const{className:e,noticeUI:t}=this.props,{editedUrl:n}=this.state,r=(0,c.Wp)()||(0,c.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.Placeholder,{label:__("Eventbrite Checkout","jetpack"),instructions:__("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:u.qv,notices:t},(0,o.createElement)("form",{onSubmit:this.submitForm},(0,o.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:e=>this.setState({editedUrl:e.target.value})}),(0,o.createElement)(s.Button,{variant:"secondary",type:"submit"},_x("Embed","submit button label","jetpack"))),(0,o.createElement)("div",{className:"components-placeholder__learn-more"},(0,o.createElement)(s.ExternalLink,{href:r},__("Learn more about Eventbrite embeds","jetpack")))))}renderInlinePreview(){const{className:e}=this.props,{eventId:t}=this.props.attributes;if(!t)return;const n=`eventbrite-widget-${t}`,r=`\n\t\t\t<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ${t},\n\t\t\t\t\tiframeContainerId: '${n}',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id="${n}"></div>\n\t\t`;return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.SandBox,{html:r}),(0,o.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}render(){const{attributes:e}=this.props,{url:t,style:n}=e,{editingUrl:r,isResolvingUrl:a}=this.state;return a?this.renderLoading():r||!t||this.cannotEmbed()?this.renderEditEmbed():(0,o.createElement)(o.Fragment,null,this.renderInspectorControls(),(0,o.createElement)(l.BlockControls,null,(0,o.createElement)(b.J,{setEditingUrl:this.setEditingUrl})),"modal"===n?(0,o.createElement)(l.InnerBlocks,{template:[[u.Ss.name,u.Ss.attributes]],templateLock:"all"}):this.renderInlinePreview())}}t.Z=(0,s.withNotices)(v)},75334:function(e,t,n){"use strict";n.d(t,{Q7:function(){return f},Ss:function(){return d},Wh:function(){return m},Xd:function(){return k},qv:function(){return v},u2:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(2785),l=n(1344),c=n(16078),u=n(86435),p=n(70355);const __=a.__,_x=a._x,d={name:"jetpack/button",attributes:{element:"a",text:_x("Register","verb: e.g. register for an event.","jetpack"),uniqueId:"eventbrite-widget-id"}},m=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,h=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,f="https://www.eventbrite.com/e/test-event-tickets-123456789",g="eventbrite",b=__("Eventbrite Checkout","jetpack"),v=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,{id:"eventbrite-icon"},(0,r.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),k={title:b,description:__("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:{src:v,foreground:(0,p.m)()},category:"embed",keywords:[_x("events","block search term","jetpack"),_x("tickets","block search term","jetpack")],supports:{html:!1,align:!0},attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&(m.test(e.textContent)||h.test(e.textContent)),transform:e=>(0,i.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}]},example:{attributes:{url:f,eventId:123456789,style:"modal"},innerBlocks:[d]},deprecated:l.Z}},86435:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{eventId:n,style:o,url:i}=t;if(n)return"modal"===o?(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null)):i&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:i},i)}},77825:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},Ve:function(){return i},qq:function(){return s}});var r=n(69307),a=n(4981);function o(e,t){const n=(0,r.createElement)("a",{href:e},e);t((0,a.createBlock)("core/paragraph",{content:(0,r.renderToString)(n)}))}function i(e){if(!e)return null;const t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&"string"==typeof e?e.trim():null}},13306:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(4981),u=n(9818);const __=s.__;function p(e){let{onReplace:t}=e;const[n,a]=(0,i.useState)(!1),s=(0,u.useSelect)((e=>e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")));return{isGatheringStorm:n,unleashStorm:(e,n)=>{if((0,r.isEmpty)(e))return;const i=e.match(/^https?:\/\/(?:www\.)?twitter\.com\/([^/]+)\/status\/\d+/);if((0,r.isEmpty)(i))return;const p=i[1];n.removeAllNotices(),a(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/tweetstorm/gather",{url:e})}).then((e=>{if(a(!1),!(0,r.isArray)(e))return void n.createErrorNotice(__("An error occurred. Please try again later.","jetpack"));if((0,r.isEmpty)(e))return void n.createErrorNotice(__("We were unable to get any content from this tweet.","jetpack"));t(e.map((e=>{switch(e.type){case"paragraph":return(0,c.createBlock)("core/paragraph",{content:e.content});case"gallery":return(0,c.createBlock)("core/gallery",{images:e.images});case"image":return(0,c.createBlock)("core/image",{url:e.url,alt:e.alt});case"video":return(0,c.createBlock)("core/video",{src:e.url,caption:e.alt});case"embed":return(0,c.createBlock)("core/embed",{url:e.url})}})));(0,r.some)(s,(e=>"twitter"===e.service_name&&`@${p}`===e.display_name))||(0,u.dispatch)("core/notices").createWarningNotice(__("We were unable to verify that this Twitter thread was published on a Twitter account belonging to you. Please ensure you have permission to reproduce it before publishing.","jetpack")),(0,u.dispatch)("core/notices").createSuccessNotice(__("Twitter thread successfully imported","jetpack"),{type:"snackbar"})})).catch((e=>{a(!1),n.createErrorNotice(e.message)}))}}}},12084:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=(0,r.forwardRef)((function(e,t){let{onSubmit:n,onChange:a,value:i=""}=e;return(0,r.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:n},(0,r.createElement)("input",{type:"text",className:"wp-block-jetpack-gif_input components-placeholder__input",placeholder:__("Enter search terms, e.g. cat…","jetpack"),value:i,onChange:a,ref:t,"aria-labelledby":"wp-block-jetpack-gif_search-button"}),(0,r.createElement)(o.Button,{id:"wp-block-jetpack-gif_search-button",variant:"secondary",type:"submit"},__("Search","jetpack")))}))},72844:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW"},57852:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(52175);function i(){return(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(a.PanelBody,{className:"components-panel__body-gif-branding"},(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,r.createElement)(a.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,r.createElement)(a.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"}))))}},61266:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(25073),u=n(80163),p=n(12084),d=n(57852),m=n(27147);const __=i.__;t.Z=function(e){let{attributes:t,setAttributes:n,className:a,isSelected:i}=e;const{align:h,caption:f,giphyUrl:g,searchText:b,paddingTop:v}=t,k=o()(a,`align${h}`),[y,E]=(0,r.useState)(!1),w=(0,r.createRef)(),{isFetching:_,giphyData:C,fetchGiphyData:j}=(0,m.Z)(),S=()=>{w.current.focus(),E(!1)};(0,r.useEffect)((()=>{C&&C[0]&&n((0,u.ix)(C[0]))}),[C,n]);const x=e=>{e.preventDefault(),t.searchText&&!_&&j((0,u.Gr)(t.searchText))},P=e=>n({searchText:e.target.value});return(0,r.createElement)("div",{className:k},(0,r.createElement)(d.Z,null),g?(0,r.createElement)("figure",null,i&&(0,r.createElement)(p.Z,{onSubmit:x,onChange:P,value:b,ref:w}),i&&C&&C.length>1&&(0,r.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},C.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,r.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:e.id,onClick:t=>{t.preventDefault(),(e=>{n((0,u.ix)(e))})(e)},style:t})}))),(0,r.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:{paddingTop:v}},(0,r.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:S,onKeyDown:S,role:"button",tabIndex:"0"}),(0,r.createElement)("iframe",{src:g,title:b})),(!l.RichText.isEmpty(f)||i)&&!!g&&(0,r.createElement)(l.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:y,unstableOnFocus:()=>E(!1),onChange:e=>n({caption:e}),placeholder:__("Write caption…","jetpack"),tagName:"figcaption",value:f})):(0,r.createElement)(s.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:c.qv,label:c.TN,instructions:__("Search for a term or paste a Giphy URL","jetpack")},(0,r.createElement)(p.Z,{onSubmit:x,onChange:P,value:b,ref:w})))}},27147:function(e,t,n){"use strict";var r=n(69307);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const[t,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(e),[i,s]=(0,r.useState)("");return(0,r.useEffect)((()=>{if(!i)return;(async()=>{n(!0);const e=await fetch(i).then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json(),n=void 0!==t.data.images?[t.data]:t.data;n[0].images&&o(n)}n(!1)})()}),[i]),{isFetching:t,giphyData:a,fetchGiphyData:s}}},25073:function(e,t,n){"use strict";n.d(t,{TN:function(){return c},Xd:function(){return p},qv:function(){return u},u2:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(61266),s=n(70355);const __=a.__,_x=a._x,l="gif",c=__("GIF","jetpack"),u=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),p={title:c,icon:{src:u,foreground:(0,s.m)()},category:"embed",keywords:[_x("animated","block search term","jetpack"),_x("giphy","block search term","jetpack"),_x("image","block search term","jetpack")],description:__("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:i.Z,save:()=>null,example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}}},80163:function(e,t,n){"use strict";n.d(t,{Gr:function(){return s},ix:function(){return u}});var r=n(72844);const a=e=>`https://api.giphy.com/v1/gifs/search?q=${encodeURIComponent(e)}&api_key=${encodeURIComponent(r.U)}&limit=10`,o=e=>`https://api.giphy.com/v1/gifs/${encodeURIComponent(e)}?api_key=${encodeURIComponent(r.U)}`,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n=e.split(t);return n[n.length-1]},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;e=e.trim();const n=/^https?:\/\/(media\.|i\.)?giphy\.com\/(embed|gifs|media)?\/?([-\w]*)(\/giphy)?(\.gif)?$/,r=e.match(n);return r&&r[3]&&(t=i(r[3],"-")),t?o(t):a(e)},l=e=>`${Math.floor(e.images.original.height/e.images.original.width*100)}%`,c=e=>null==e?void 0:e.embed_url,u=e=>({giphyUrl:c(e),paddingTop:l(e)})},4966:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__,_x=o._x;t.Z=e=>{const{className:t,embedValue:n,onChange:o,onSubmit:i}=e;return(0,r.createElement)(a.PanelBody,{title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:i,className:t},(0,r.createElement)("textarea",{type:"text",value:n,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:o}),(0,r.createElement)(a.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack"))))}},81907:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(52175),l=n(90162),c=n(4981),u=n(13419),p=n(4966),d=n(47875),m=n(4525);const __=a.__,_x=a._x;t.Z=(0,i.compose)(o.withNotices,(0,l.withViewportMatch)({isMobile:"< small"}))((function(e){const{attributes:{url:t,height:n},className:a,isMobile:i,isSelected:l,name:h,noticeOperations:f,noticeUI:g,setAttributes:b}=e,[v,k]=(0,r.useState)(t||""),[y,E]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1);(0,r.useEffect)((()=>{!l&&w&&_(!1)}),[l,w]);const C=()=>{_(!0)},j=e=>{e&&e.preventDefault();const t=(0,m.L7)(v.trim());if(!m.Wh.test(t.url))return f.removeAllNotices(),void f.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or Embed Code. Please note, you need to use the 'Public URL' or 'Embed Code', the 'Shareable Link' will not work.","jetpack"));b(t),E(!1),f.removeAllNotices()},S=(0,c.getBlockDefaultClassName)(h),x=`<iframe src="${t}" style="border:0" scrolling="no" frameborder="0" height="${i?"300":n}"></iframe>`,P=(0,r.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/google-calendar/"},__("Enable Permissions for the calendar you want to share","jetpack")),T=(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(p.Z,{className:`${S}-embed-form-sidebar`,embedValue:v,onChange:e=>k(e.target.value),onSubmit:j}));if(y||!t){const e=(0,u.Wp)()||(0,u.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/google-calendar/":"https://jetpack.com/support/jetpack-blocks/google-calendar/";return(0,r.createElement)("div",{className:a},T,(0,r.createElement)(o.Placeholder,{className:a,label:__("Google Calendar","jetpack"),icon:d.Z,instructions:(0,r.createElement)("ol",{className:`${S}-placeholder-instructions`},(0,r.createElement)("li",null,P),(0,r.createElement)("li",null,__("Paste the embed code you copied from your Google Calendar below","jetpack"))),notices:g},(N=`${S}-embed-form-editor`,(0,r.createElement)("form",{onSubmit:j,className:N},(0,r.createElement)("textarea",{type:"text",value:v,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:e=>k(e.target.value)}),(0,r.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)("div",{className:`${S}-placeholder-links`},(0,r.createElement)(o.ExternalLink,{href:e},__("Learn more","jetpack")))))}var N;return(0,r.createElement)("div",{className:a},T,(0,r.createElement)("div",null,(0,r.createElement)(o.SandBox,{html:x,onFocus:C}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:C})))}))},47875:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"23",viewBox:"0 0 24 23",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19.5,23h-15c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h15c2.2,0,4,1.8,4,4v15C23.5,21.2,21.7,23,19.5,23z M4.5,2 c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2V4c0-1.1-0.9-2-2-2H4.5z M6.9,3.9L6.9,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0C6.5,5.9,6.1,5.5,6.1,5V4.7C6.1,4.3,6.5,3.9,6.9,3.9z M17,3.9L17,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0c-0.5,0-0.9-0.4-0.9-0.9V4.7C16.2,4.3,16.5,3.9,17,3.9z M8.8,17.6c1.8,0,3.2-1,3.2-2.4 c0-1.1-0.7-1.8-1.8-1.9v-0.1c0.9-0.2,1.5-0.9,1.5-1.8c0-1.3-1.2-2.2-2.9-2.2c-1.8,0-2.9,1-3,2.5h1.6c0-0.7,0.6-1.1,1.4-1.1 c0.8,0,1.3,0.4,1.3,1.1c0,0.7-0.5,1.1-1.3,1.1h-1v1.3h1c0.9,0,1.5,0.4,1.5,1.1c0,0.7-0.6,1.2-1.4,1.2c-0.9,0-1.4-0.4-1.5-1.1H5.7 C5.8,16.6,7,17.6,8.8,17.6z M17.6,17.4V9.3h-1.7l-2.1,1.4v1.6l2-1.4h0.1v6.4H17.6z"}))},13839:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(4981),i=n(81907),s=n(4525),l=n(47875),c=n(70355);const __=a.__,_x=a._x,u="google-calendar",p={title:__("Google Calendar","jetpack"),description:__("Embed a Google Calendar","jetpack"),keywords:[_x("events","block search term","jetpack"),_x("dates","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack")],icon:{src:l.Z,foreground:(0,c.m)()},category:"embed",supports:{align:!0,alignWide:!0,html:!1},attributes:{url:{type:"string"},height:{type:"integer",default:600}},edit:i.Z,save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)},transforms:{from:[{type:"shortcode",tag:"googleapps",isMatch:function(e){return"calendar"===e.named.domain},attributes:{url:{type:"string",shortcode:e=>{let{named:{domain:t,dir:n,query:r}}=e;return`https://${t}.google.com/${n}?${r}`}}}},{type:"raw",isMatch:e=>"P"===e.nodeName&&s.Wh.test(e.textContent),transform:e=>(0,o.createBlock)("jetpack/google-calendar",{url:e.textContent.trim()})},{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&s.E6.test(e.innerHTML),transform:e=>{const{url:t,height:n}=(0,s.jj)(e.innerHTML.trim());return(0,o.createBlock)("jetpack/google-calendar",{url:t,height:n})}}]},example:{attributes:{url:"https://calendar.google.com/calendar/embed?src=jb4bu80jirp0u11a6niie21pp4%40group.calendar.google.com&ctz=America/New_York"}}}},4525:function(e,t,n){"use strict";n.d(t,{E6:function(){return o},L7:function(){return u},Wh:function(){return a},jj:function(){return c}});const r="s*https?://calendar.google.com/calendar",a=new RegExp(`^${r}`,"i"),o=new RegExp(`<iframe((?:\\s+\\w+=(['"]).*?\\2)*)\\s+src=(["'])(${r}.*?)\\3((?:\\s+\\w+=(['"]).*?\\6)*)`,"i"),i=new RegExp(`${r}\\?cid=([-A-Za-z0-9+/]+={0,3})`,"i"),s=/\s+(\w+)=(["'])(.*?)\2/gi;function l(e){const t=i.exec(e);if(t)return"https://calendar.google.com/calendar/embed?src="+encodeURIComponent(atob(t[1]))}function c(e){const t=o.exec(e);if(!t)return;const n={};return t.forEach(((e,t)=>{if(0===t)return;if(a.test(e))return void(n.url=e);let r;for(;null!==(r=s.exec(e));)n[r[1]]=r[3]})),{url:n.url,width:n.width,height:n.height}}function u(e){return o.test(e)?c(e):i.test(e)?{url:l(e)}:{url:e}}},76579:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{attributes:t,setAttributes:n}=e;const{orientation:o}=t;return(0,r.createElement)(a.PanelBody,{title:__("Orientation","jetpack")},(0,r.createElement)(a.RadioControl,{selected:o||"horizontal",options:[{label:__("Side by side","jetpack"),value:"horizontal"},{label:__("Above and below","jetpack"),value:"vertical"}],onChange:e=>n({orientation:e})}))}},63157:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(94333),s=n(65736),l=n(13369),c=n(76579),u=n(86504),p=n(37879);n(8503);const __=s.__;t.Z=e=>{let{attributes:t,className:n,clientId:s,isSelected:d,setAttributes:m}=e;const{align:h,imageBefore:f,imageAfter:g,caption:b,orientation:v}=t;let k=null,y=null;const E=(0,r.useRef)();i.useResizeObserver&&([k,y]=(0,i.useResizeObserver)(),(0,p.Z)((e=>{e>0&&"undefined"!=typeof juxtapose&&juxtapose.sliders&&juxtapose.sliders.forEach((t=>{t.wrapper.parentElement.id===s&&t.optimizeWrapper(e)}))}),200,y.width));const w=f&&f.url&&g&&g.url?"image-compare__comparison juxtapose":"image-compare__placeholder";return(0,r.useLayoutEffect)((()=>{f.url&&g.url&&"undefined"!=typeof juxtapose&&juxtapose.makeSlider(null==E?void 0:E.current)}),[h,f,g,v]),(0,r.createElement)("figure",{className:n,id:s},k,(0,r.createElement)(a.InspectorControls,{key:"controls"},(0,r.createElement)(c.Z,{attributes:t,setAttributes:m})),(0,r.createElement)("div",{ref:E,className:w,"data-mode":v||"horizontal"},(0,r.createElement)(o.Placeholder,{label:null},(0,r.createElement)("div",{className:"image-compare__image-before"},(0,r.createElement)(u.Z,{image:{id:f.id,url:f.url,alt:f.alt},placeHolderLabel:__("Image before","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=null==i?void 0:i.width)&&void 0!==t?t:e.width,c=null!==(n=null==i?void 0:i.height)&&void 0!==n?n:e.height;m({imageBefore:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})),(0,r.createElement)("div",{className:"image-compare__image-after"},(0,r.createElement)(u.Z,{image:{id:g.id,url:g.url,alt:g.alt},placeHolderLabel:__("Image after","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=null==i?void 0:i.width)&&void 0!==t?t:e.width,c=null!==(n=null==i?void 0:i.height)&&void 0!==n?n:e.height;m({imageAfter:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})))),(!a.RichText.isEmpty(b)||d&&f.url&&g.url)&&(0,r.createElement)(a.RichText,{tagName:"figcaption",placeholder:__("Write caption","jetpack"),value:b,onChange:e=>m({caption:e}),inlineToolbar:!0}))}},17990:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M21 4h-6v1.5h6c.3 0 .5.2.5.5v.4l-3.6 3.5L15 8.1v1.8l2.6 1.7c.1.1.3.1.4.1.2 0 .4-.1.5-.2l3-2.9V18c0 .3-.2.5-.5.5h-6V20h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM1 6v12c0 1.1.9 2 2 2h10.5V4H3c-1.1 0-2 .9-2 2zm11 12.5H3c-.3 0-.5-.2-.5-.5v-1.4L5 14.7l1.5-1.1.1-.1 3 1.9c.1.1.3.1.4.1.2 0 .4-.1.5-.2L12 14v4.5zm0-6.6l-2.1 2L7 12c-.1-.1-.3-.1-.4-.1h-.1c-.1 0-.3.1-.4.1l-1.1.9-2.5 1.8V6c0-.3.2-.5.5-.5h9v6.4z"}))},86504:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(55609);t.Z=(0,a.compose)([i.withNotices])((e=>{const{image:t,noticeOperations:n,noticeUI:a,onChange:i,placeHolderLabel:s}=e,l=(0,r.createElement)("img",{id:t.id,src:t.url,alt:t.alt}),c=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.MediaPlaceholder,{labels:{title:s},accept:"image/*",allowedTypes:["image"],onSelect:i,onError:e=>n.createErrorNotice(e),notices:a}));return t&&t.url?l:c}))},94039:function(e,t,n){"use strict";n.d(t,{X:function(){return d},u:function(){return p}});var r=n(65736),a=n(63157),o=n(17990),i=n(25250),s=n(90767),l=n(58632),c=n(5820),u=n(70355);const __=r.__,_x=r._x,p="image-compare",d={title:__("Image Compare","jetpack"),description:__("Compare two images with a slider. Works best with images of the same size.","jetpack"),icon:{src:o.Z,foreground:(0,u.m)()},category:(0,c.Z)("media","layout"),keywords:[_x("juxtapose","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("side by side","block search term","jetpack"),_x("slider","block search term","jetpack")],supports:{align:["wide","full"]},attributes:{imageBefore:{type:"object",default:{}},imageAfter:{type:"object",default:{}},caption:{type:"string"},orientation:{type:"string",default:"horizontal"}},example:{attributes:{imageBefore:{id:1,url:l,alt:__("Before","jetpack")},imageAfter:{id:2,url:s,alt:__("After","jetpack")},caption:__("Example image","jetpack")}},edit:a.Z,save:i.Z}},25250:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t,className:n}=e;const{imageBefore:o,imageAfter:i,caption:s,orientation:l}=t;return(0,r.createElement)("figure",{className:n},(0,r.createElement)("div",{className:"juxtapose","data-mode":l||"horizontal"},(0,r.createElement)("img",{id:o.id,src:o.url,alt:o.alt,width:o.width,height:o.height,className:"image-compare__image-before"}),(0,r.createElement)("img",{id:i.id,src:i.url,alt:i.alt,width:i.width,height:i.height,className:"image-compare__image-after"})),!a.RichText.isEmpty(s)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:s}))}},37879:function(e,t,n){"use strict";var r=n(69307);t.Z=(e,t,n)=>{(0,r.useEffect)((()=>{const r=setTimeout((()=>e(n)),t);return()=>clearTimeout(r)}),[n])}},8503:function(e,t,n){"use strict";var r=n(47701);n.n(r)()((function(){const e={sliders:[],OPTIMIZATION_ACCEPTED:1,OPTIMIZATION_WAS_CONSTRAINED:2};function t(e,t){const n=this;this.image=new Image,this.loaded=!1,this.image.onload=function(){n.loaded=!0,t._onLoaded()},this.image.src=e.src,this.image.alt=e.alt||"",this.label=e.label||!1}function n(e,t){e&&e.classList.add(t)}function r(e,t){e&&e.classList.remove(t)}function a(e){return{width:parseInt(window.getComputedStyle(e).width,10),height:parseInt(window.getComputedStyle(e).height,10)}}function o(e,t){let n;if("string"==typeof t||"number"==typeof t)n=parseInt(t,10);else{const r=e.getBoundingClientRect(),a={top:r.top+document.body.scrollTop+document.documentElement.scrollTop,left:r.left+document.body.scrollLeft+document.documentElement.scrollLeft},o=e.offsetWidth;n=(function(e){let t;return t=e.pageX?e.pageX:e.touches?e.touches[0].pageX:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,t}(t)-a.left)/o*100}return n}function i(e,t,n){let r;if("string"==typeof t||"number"==typeof t)r=parseInt(t,10);else{const a=e.getBoundingClientRect(),o={top:a.top+n.body.scrollTop+n.documentElement.scrollTop,left:a.left+n.body.scrollLeft+n.documentElement.scrollLeft},i=e.offsetHeight;r=(function(e){let t;return t=e.pageY?e.pageY:e.touches?e.touches[0].pageY:e.clientY+document.body.scrollTop+document.documentElement.scrollTop,t}(t)-o.top)/i*100}return r}const s={animate:!0,showLabels:!0,makeResponsive:!0};function l(e,n,r){let a;for(a in this.element=e,this.options={animate:!0,showLabels:!0,makeResponsive:!0,startingPosition:"50%",mode:"horizontal",callback:null},this.options)a in r&&(this.options[a]=a in s?"string"!=typeof(o=r[a])?Boolean(o):!("false"===o||""===o):r[a]);var o;2===n.length&&(this.imgBefore=new t(n[0],this),this.imgAfter=new t(n[1],this))}l.prototype={updateSlider:function(e,t){let a;a="vertical"===this.options.mode?i(this.slider,e,this.sliderParentDocument):o(this.slider,e),a=a.toFixed(2)+"%";const s=parseFloat(a),l=100-s+"%";s>0&&s<100&&(r(this.handle,"transition"),r(this.rightImage,"transition"),r(this.leftImage,"transition"),this.options.animate&&t&&(n(this.handle,"transition"),n(this.leftImage,"transition"),n(this.rightImage,"transition")),"vertical"===this.options.mode?(this.handle.style.top=a,this.leftImage.style.height=a,this.rightImage.style.height=l):(this.handle.style.left=a,this.leftImage.style.width=a,this.rightImage.style.width=l),this.sliderPosition=a)},getPosition:function(){return this.sliderPosition},displayLabel:function(e,t){const n=document.createElement("div");n.className="jx-label",n.setAttribute("tabindex",0),function(e,t){document.body.textContent?e.textContent=t:e.innerText=t}(n,t),e.appendChild(n)},setStartingPosition:function(e){this.options.startingPosition=e},calculateDims:function(e,t){const n=(r=this.imgBefore.image,{width:r.naturalWidth,height:r.naturalHeight,aspect:function(){return this.width/this.height}}).aspect();var r;return e?t=e/n:t&&(e=t*n),{width:e,height:t,ratio:n}},responsivizeIframe:function(e){return e.height<window.innerHeight?e.ratio>=1&&(this.wrapper.style.paddingTop=parseInt((window.innerHeight-e.height)/2)+"px"):e.height>window.innerHeight&&(e=this.calculateDims(0,window.innerHeight),this.wrapper.style.paddingLeft=parseInt((window.innerWidth-e.width)/2)+"px"),e},setWrapperDimensions:function(){const e=a(this.wrapper.parentNode).width,t=a(this.wrapper.parentNode).height;let n=this.calculateDims(e,t);window.location===window.parent.location||this.options.makeResponsive||(n=this.responsivizeIframe(n)),this.wrapper.style.height=parseInt(n.height)+"px",this.wrapper.style.width=parseInt(n.width)+"px"},optimizeWrapper:function(t){let n=e.OPTIMIZATION_ACCEPTED;return this.imgBefore.image.naturalWidth>=t&&this.imgAfter.image.naturalWidth>=t?(this.wrapper.style.width=t+"px",n=e.OPTIMIZATION_WAS_CONSTRAINED):this.imgAfter.image.naturalWidth<t?this.wrapper.style.width=this.imgAfter.image.naturalWidth+"px":this.wrapper.style.width=this.imgBefore.image.naturalWidth+"px",this.setWrapperDimensions(),n},_onLoaded:function(){if(this.imgBefore&&!0===this.imgBefore.loaded&&this.imgAfter&&!0===this.imgAfter.loaded){var e;if(this.wrapper=this.element,!this.wrapper||this.wrapper.querySelector(".jx-slider"))return;n(this.wrapper,"juxtapose"),this.wrapper.style.width=this.imgBefore.image.naturalWidth,this.setWrapperDimensions(),this.slider=document.createElement("div"),this.slider.className="jx-slider",this.wrapper.appendChild(this.slider),this.sliderParentDocument=this.wrapper.ownerDocument,"horizontal"!==this.options.mode&&n(this.slider,this.options.mode),this.handle=document.createElement("div"),this.handle.className="jx-handle",this.rightImage=document.createElement("div"),this.rightImage.className="jx-image jx-right",this.rightImage.appendChild(this.imgAfter.image),this.leftImage=document.createElement("div"),this.leftImage.className="jx-image jx-left",this.leftImage.appendChild(this.imgBefore.image),this.slider.appendChild(this.handle),this.slider.appendChild(this.leftImage),this.slider.appendChild(this.rightImage),this.leftArrow=document.createElement("div"),this.rightArrow=document.createElement("div"),this.control=document.createElement("div"),this.controller=document.createElement("div"),this.leftArrow.className="jx-arrow jx-left",this.rightArrow.className="jx-arrow jx-right",this.control.className="jx-control",this.controller.className="jx-controller",this.controller.setAttribute("tabindex",0),this.controller.setAttribute("role","slider"),this.controller.setAttribute("aria-valuenow",50),this.controller.setAttribute("aria-valuemin",0),this.controller.setAttribute("aria-valuemax",100),this.controller.setAttribute("aria-label",(null===(e=window.imageCompareHandle)||void 0===e?void 0:e.msg)||"Slide to compare images"),this.handle.appendChild(this.leftArrow),this.handle.appendChild(this.control),this.handle.appendChild(this.rightArrow),this.control.appendChild(this.controller),this._init()}},_init:function(){this.updateSlider(this.options.startingPosition,!1),!0===this.options.showLabels&&(this.imgBefore.label&&this.displayLabel(this.leftImage,this.imgBefore.label),this.imgAfter.label&&this.displayLabel(this.rightImage,this.imgAfter.label));const t=this;window.addEventListener("resize",(function(){t.setWrapperDimensions()})),this.slider.addEventListener("mousedown",(function(e){e.preventDefault(),t.updateSlider(e,!0);let n=!0;this.addEventListener("mousemove",(function(e){e.preventDefault(),n&&t.updateSlider(e,!1)})),this.addEventListener("mouseup",(function(e){e.preventDefault(),e.stopPropagation(),n=!1}))})),this.slider.addEventListener("touchstart",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!0),this.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!1)}))})),this.handle.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;let r=parseFloat(this.style.left);if(37===n){r-=1;const e=parseFloat(this.style.left)-1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}if(39===n){r+=1;const e=parseFloat(this.style.left)+1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}})),this.leftImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("90%",!0),t.controller.setAttribute("aria-valuenow",91))})),this.rightImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("10%",!0),t.controller.setAttribute("aria-valuenow",10))})),e.sliders.push(this),this.options.callback&&"function"==typeof this.options.callback&&this.options.callback(this)}},e.makeSlider=function(t,r){void 0===r&&(r=e.sliders.length);const a=t,o=a.querySelectorAll("img");if(o.length<2)return;const i={};a.getAttribute("data-animate")&&(i.animate=a.getAttribute("data-animate")),a.getAttribute("data-showlabels")&&(i.showLabels=a.getAttribute("data-showlabels")),a.getAttribute("data-startingposition")&&(i.startingPosition=a.getAttribute("data-startingposition")),a.getAttribute("data-mode")&&(i.mode=a.getAttribute("data-mode")),a.getAttribute("data-makeresponsive")&&(i.mode=a.getAttribute("data-makeresponsive"));return n(t,"juxtapose-"+r),a.innerHTML?a.innerHTML="":a.innerText="",new e.JXSlider(t,[{src:o[0].src,label:o[0].getAttribute("data-label"),alt:o[0].alt},{src:o[1].src,label:o[1].getAttribute("data-label"),alt:o[1].alt}],i)},e.scanPage=function(){const t=document.querySelectorAll(".juxtapose");for(let n=0;n<t.length;n++)e.makeSlider(t[n],n)},e.JXSlider=l,window.juxtapose=e,e.scanPage()}))},8979:function(e,t){"use strict";t.Z={accessToken:{type:"string"},instagramUser:{type:"string"},columns:{type:"number",default:3,min:1,max:6},count:{type:"number",default:9,min:1,max:30},spacing:{type:"number",default:10,min:0,max:50},isStackedOnMobile:{type:"boolean",default:!0}}},696:function(e,t,n){"use strict";n.d(t,{D:function(){return a},u:function(){return r}});const r=30,a="jetpack-new-instagram-connection"},64129:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(696);const __=o.__,_n=o._n;function s(e){let{accountImageTotal:t,attributes:n,currentUserConnected:s,disconnectFromService:l,shouldRenderSidebarNotice:c,setAttributes:u}=e;const{accessToken:p,columns:d,count:m,instagramUser:h,isStackedOnMobile:f,spacing:g}=n;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelBody,{title:__("Account Settings","jetpack")},(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("span",null,__("Account","jetpack")),(0,r.createElement)(a.ExternalLink,{href:`https://www.instagram.com/${h}/`},"@",h)),s&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isDestructive:!0,variant:"link",onClick:()=>l(p)},__("Disconnect your account","jetpack")))),(0,r.createElement)(a.PanelBody,{title:__("Display Settings","jetpack")},c?(()=>{const e=t?(0,o.sprintf)(
/* translators: placeholder is a number. */
-_n("There is currently only %s post in your Instagram account.","There are currently only %s posts in your Instagram account.",t,"jetpack"),t):__("There are currently no posts in your Instagram account.","jetpack");return(0,r.createElement)("div",{className:"wp-block-jetpack-instagram-gallery__count-notice"},(0,r.createElement)(a.Notice,{isDismissible:!1,status:"info"},e))})():null,(0,r.createElement)(a.RangeControl,{label:__("Number of Posts","jetpack"),value:m,onChange:e=>u({count:e}),min:1,max:i.u}),(0,r.createElement)(a.RangeControl,{label:__("Number of Columns","jetpack"),value:d,onChange:e=>u({columns:e}),min:1,max:6}),(0,r.createElement)(a.RangeControl,{label:__("Image Spacing (px)","jetpack"),value:g,onChange:e=>u({spacing:e}),min:0,max:50}),(0,r.createElement)(a.ToggleControl,{label:__("Stack on mobile","jetpack"),checked:f,onChange:()=>u({isStackedOnMobile:!f})})))}},66137:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(18776),p=n(14937),d=n(14087),m=n(10273),h=n(2992),f=n(44420),g=n(76853),b=n(63729),v=n(3802);const __=c.__;t.Z=(0,l.withNotices)((e=>{const{attributes:t,className:n,isSelected:a,noticeOperations:c,noticeUI:k,setAttributes:y}=e,{accessToken:E,align:w,columns:_,count:C,isStackedOnMobile:j,spacing:S}=t;(0,r.useEffect)((()=>{const e=(0,d.S)(u.Z,t);(0,i.isEqual)(e,t)||y(e)}),[t,y]);const[x,T]=(0,r.useState)(E),{isRequestingWpcomConnectUrl:N,wpcomConnectUrl:P}=(0,h.Z)(),{images:A,isLoadingGallery:I,setImages:M}=(0,f.Z)({accessToken:E,noticeOperations:c,setAttributes:y,setSelectedAccount:T}),{connectToService:B,disconnectFromService:R,isConnecting:L,isRequestingUserConnections:Z,userConnections:F}=(0,m.Z)({accessToken:E,noticeOperations:c,selectedAccount:x,setAttributes:y,setImages:M,setSelectedAccount:T}),D=(0,b.Z)(),O=C>A.length?A.length:C,z=!I&&(!E||(0,i.isEmpty)(A)),U=!z,$=E&&I&&(0,i.isEmpty)(A),V=!z&&!$,G=o()(n,{[`align${w}`]:w}),q=o()("wp-block-jetpack-instagram-gallery__grid",`wp-block-jetpack-instagram-gallery__grid-columns-${_}`,{"is-stacked-on-mobile":j}),H={gridGap:S,"--latest-instagram-posts-spacing":S?`${S}px`:void 0},W={padding:S},K=()=>{x&&p.D!==x?y({accessToken:x,instagramUser:(0,i.find)(F,{token:x}).username}):B()};return(0,r.createElement)("div",{className:G},z&&(0,r.createElement)(l.Placeholder,{icon:"instagram",instructions:D?Z||F.length?void 0:__("Connect to Instagram to start sharing your images.","jetpack"):__("First, you'll need to connect your WordPress.com account.","jetpack"),label:__("Latest Instagram Posts","jetpack"),notices:k},D?(()=>{const e=F.length>0,t=[...(0,i.map)(F,(e=>({label:`@${e.username}`,value:e.token}))),{label:__("Add a new account","jetpack"),value:p.D}],n=L||Z||e&&!x;return(0,r.createElement)("div",null,e&&(0,r.createElement)(l.RadioControl,{label:__("Select your Instagram account:","jetpack"),onChange:e=>T(e),options:t,selected:x}),p.D===x&&(0,r.createElement)("p",{className:"wp-block-jetpack-instagram-gallery__new-account-instructions"},__("If you are currently logged in to Instagram on this device, you might need to log out of it first.","jetpack")),(0,r.createElement)(l.Button,{disabled:n,isPrimary:!0,onClick:K},L&&__("Connecting…","jetpack"),Z&&__("Loading your connections…","jetpack"),!L&&!Z&&__("Connect to Instagram","jetpack")))})():(0,r.createElement)(l.Button,{disabled:N||!P,href:P,isSecondary:!0},__("Connect to WordPress.com","jetpack"))),$&&(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(l.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack"))),V&&(0,r.createElement)("div",{className:q,style:H},(0,i.times)(a?C:O,(e=>(0,r.createElement)("span",{className:o()("wp-block-jetpack-instagram-gallery__grid-post"),key:e,style:W},(e=>{if(A[e]){const n=A[e];return(0,r.createElement)(g.Z,{alt:n.title||n.url,src:n.url,attributes:t,spacing:S})}return(0,r.createElement)("img",{alt:__("Latest Instagram Posts placeholder","jetpack"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNMyc2tBwAEOgG/c94mJwAAAABJRU5ErkJggg=="})})(e))))),U&&(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(v.Z,{accountImageTotal:A.length,attributes:t,currentUserConnected:D,disconnectFromService:R,shouldRenderSidebarNotice:U&&!$&&A.length<C,setAttributes:y})))}))},76853:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{src:t,alt:n,spacing:a}=e;const[i,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)("auto"),u=(0,r.useRef)(),p=()=>{s(!0),c("auto")};(0,r.useEffect)((()=>{const e=t;if(e){const t=new window.Image;t.src=e,t.onload=p}u.current&&c(u.current.parentNode.getBoundingClientRect().width)}),[t]);const d=-1*a,m=o()("wp-block-jetpack-instagram-gallery__placeholder",{"is-loaded":i}),h=i?{margin:d}:{margin:d,height:l},f=o()({"is-loaded":i});return(0,r.createElement)("span",{style:h,className:m},(0,r.createElement)("img",{alt:n,className:f,ref:u,src:t}))}},77007:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(4981),i=n(18776),s=n(66137),l=n(57535);const __=a.__,_x=a._x,c="instagram-gallery",u={title:__("Latest Instagram Posts","jetpack"),description:__("Display an automatically updating list of the latest posts from your Instagram feed.","jetpack"),icon:{src:"instagram",foreground:(0,l.m)()},category:"embed",keywords:[_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack")],supports:{align:!0,html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"wpcom_instagram_widget"===t},transform:e=>{let{instance:t}=e;return(0,o.createBlock)("jetpack/instagram-gallery",{columns:t.raw.columns,count:t.raw.count,accessToken:t.raw.token_id})}}]},attributes:i.Z,edit:s.Z,save:e=>{let{attributes:{instagramUser:t}}=e;return t&&(0,r.createElement)("div",null,(0,r.createElement)("a",{href:`https://www.instagram.com/${t}/`,rel:"noopener noreferrer",target:"_blank"},`https://www.instagram.com/${t}/`))}}},10273:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(59177),a=n(92819),o=n(86989),i=n.n(o),s=n(69307),l=n(65736),c=n(14937),u=n(63729);const __=l.__;function p(e){let{accessToken:t,noticeOperations:n,selectedAccount:o,setAttributes:l,setImages:p,setSelectedAccount:d}=e;const[m,h]=(0,s.useState)(!1),[f,g]=(0,s.useState)(!1),[b,v]=(0,s.useState)([]),k=(0,u.Z)();(0,s.useEffect)((()=>{!t&&k&&(g(!0),i()({path:"/wpcom/v2/instagram-gallery/connections"}).then((e=>{g(!1),v(e)})).catch((()=>{g(!1),v([])})))}),[t,k]),(0,s.useEffect)((()=>{c.D===o||(0,a.find)(b,{token:o})||d(void 0)}),[o,d,b]);return{connectToService:()=>{n.removeAllNotices(),h(!0),i()({path:"/wpcom/v2/instagram-gallery/connect-url"}).then((e=>{const t=new r.Z;t.open(e,"connect-to-instagram-popup","toolbar=0,location=0,menubar=0,"+t.getScreenCenterSpecs(700,700)),t.on("message",(e=>{let{keyring_id:t}=e;if(h(!1),t){const e=t.toString();l({accessToken:e}),d(e)}})),t.on("close",(e=>{"connect-to-instagram-popup"===e&&h(!1)}))})).catch((()=>{n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),h(!1)}))},disconnectFromService:()=>{n.removeAllNotices(),l({accessToken:void 0,instagramUser:void 0}),p([])},isConnecting:m,isRequestingUserConnections:f,userConnections:b}}},2992:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(86989),a=n.n(r),o=n(9818),i=n(69307),s=n(96483),l=n(63729);function c(){const{isAutoDraft:e}=(0,o.useSelect)((e=>{const{status:t}=e("core/editor").getCurrentPost();return{isAutoDraft:"auto-draft"===t}})),{savePost:t}=(0,o.useDispatch)("core/editor"),[n,r]=(0,i.useState)(),[c,u]=(0,i.useState)(!1),p=(0,l.Z)();return(0,i.useEffect)((()=>{p||n||c||(e?t():(u(!0),a()({path:(0,s.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((e=>{r(e),u(!1)}))))}),[p,e,c,t,n]),{isRequestingWpcomConnectUrl:c,wpcomConnectUrl:n}}},44420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(14937);const __=s.__;function u(e){let{accessToken:t,noticeOperations:n,setAttributes:a,setSelectedAccount:s}=e;const[u,p]=(0,i.useState)([]),[d,m]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{t&&(n.removeAllNotices(),m(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/instagram-gallery/gallery",{access_token:t,count:c.u})}).then((e=>{let{external_name:t,images:o}=e;if(m(!1),!o||!(0,r.isArray)(o))return n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),p([]),a({accessToken:void 0,instagramUser:void 0}),void s(void 0);(0,r.isEmpty)(o)&&n.createErrorNotice(__("No images were found in your Instagram account.","jetpack")),a({instagramUser:t}),p(o)})).catch((()=>{m(!1),p([]),a({accessToken:void 0,instagramUser:void 0}),s(void 0)})))}),[t,a,s]),{images:u,isLoadingGallery:d,setImages:p}}},66916:function(e,t,n){"use strict";n.d(t,{u:function(){return a},X:function(){return o}});var r=n(48355);const a="likes",o={render:r.Z}},48355:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(12238),l=n(9818),c=n(23539);const __=a.__,u=(0,l.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{areLikesEnabled:t("jetpack_likes_enabled")}})),p=(0,l.withDispatch)((e=>{const{editPost:t}=e("core/editor");return{editPost:t}}));t.Z=(0,i.compose)([u,p])((e=>{let{areLikesEnabled:t,editPost:n}=e;return(0,r.createElement)(s.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},(0,r.createElement)(c.Z,null,(0,r.createElement)(o.CheckboxControl,{label:__("Show likes.","jetpack"),checked:t,onChange:e=>{n({jetpack_likes_enabled:e})}})))}))},25887:function(e,t,n){"use strict";n.d(t,{N3:function(){return r},sf:function(){return a},Cw:function(){return o}});const r="processing",a="success",o="error"},50013:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(18417),s=n(25887);const __=a.__;function l(e){let{auditionNotification:t,clearAudition:n,setAttributes:a,emailPlaceholder:l,processingLabel:c,successLabel:u,errorLabel:p,interests:d,signupFieldTag:m,signupFieldValue:h,connectURL:f}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Text Elements","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Email Placeholder","jetpack"),value:l,onChange:e=>{a({emailPlaceholder:e}),n()}})),(0,r.createElement)(o.PanelBody,{title:__("Notifications","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Processing text","jetpack"),value:c,onChange:e=>{a({processingLabel:e}),t(s.N3)}}),(0,r.createElement)(o.TextControl,{label:__("Success text","jetpack"),value:u,onChange:e=>{a({successLabel:e}),t(s.sf)}}),(0,r.createElement)(o.TextControl,{label:__("Error text","jetpack"),value:p,onChange:e=>{a({errorLabel:e}),t(s.Cw)}})),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Groups","jetpack")},(0,r.createElement)(i.Z,{interests:d,onChange:(e,t)=>{const n=[...new Set([...d,e])].filter((n=>!(n===e&&!t)&&n));a({interests:n})}}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},__("Learn about groups","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Signup Location Tracking","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Signup Field Tag","jetpack"),placeholder:__("SIGNUP","jetpack"),value:m,onChange:e=>a({signupFieldTag:e})}),(0,r.createElement)(o.TextControl,{label:__("Signup Field Value","jetpack"),placeholder:__("website","jetpack"),value:h,onChange:e=>a({signupFieldValue:e})}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},__("Learn about signup location tracking","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Connection","jetpack")},(0,r.createElement)(o.ExternalLink,{href:f},__("Manage Connection","jetpack"))))}},58791:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=["submitButtonText","backgroundButtonColor","textButtonColor","submitButtonClasses","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},submitButtonText:{type:"string",default:__("Join my email list","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},submitButtonClasses:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},migrate:e=>{const t=(0,r.omit)(e,i),n={text:(o=e).submitButtonText||__("Join my email list","jetpack"),textColor:o.textButtonColor,customTextColor:o.customTextButtonColor,backgroundColor:o.backgroundButtonColor,customBackgroundColor:o.customBackgroundButtonColor};var o;return[t,[(0,a.createBlock)("jetpack/button",{element:"button",uniqueId:"mailchimp-widget-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,i),Boolean),save:()=>null}},87539:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(89105),c=n.n(l),u=n(65736),p=n(96483),d=n(55609),m=n(52175),h=n(19916),f=n(50013),g=n(63729),b=n(25887);const __=u.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e=(0,g.Z)();if(e){const t={path:"/wpcom/v2/mailchimp",method:"GET"};s()(t).then((t=>{const n=t.connect_url,r="connected"===t.code?1:2;this.setState({currentUserConnected:e,connected:r,connectURL:n})}),(t=>{this.setState({currentUserConnected:e,connected:2,connectURL:null}),this.onError(t.message)}))}else s()({path:(0,p.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((t=>{const n=t;this.setState({currentUserConnected:e,connected:2,connectURL:n})}))})),a()(this,"auditionNotification",(e=>{this.setState({audition:e}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.clearAudition,3e3)})),a()(this,"clearAudition",(()=>{this.setState({audition:null})})),a()(this,"labelForAuditionType",(e=>{const{attributes:t}=this.props,{processingLabel:n,successLabel:r,errorLabel:a}=t;return e===b.N3?n:e===b.sf?r:e===b.Cw?a:null})),a()(this,"roleForAuditionType",(e=>e===b.Cw?"alert":"status")),a()(this,"render",(()=>{const{attributes:e,className:t,notices:n,noticeUI:r,setAttributes:a}=this.props,{audition:i,connected:s,connectURL:l,currentUserConnected:u}=this.state,{emailPlaceholder:p,consentText:g,interests:b,processingLabel:v,successLabel:k,errorLabel:y,preview:E,signupFieldTag:w,signupFieldValue:_}=e,C="wp-block-jetpack-mailchimp",j=(0,o.createElement)(d.Placeholder,{icon:h.qv,notices:n},(0,o.createElement)(d.Spinner,null)),S=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("You need to connect your Mailchimp account and choose an audience in order to start collecting Email subscribers.","jetpack")},(0,o.createElement)(d.Button,{isSecondary:!0,isLarge:!0,href:l,target:"_blank"},__("Set up Mailchimp form","jetpack")),(0,o.createElement)("div",{className:`${C}-recheck`},(0,o.createElement)(d.Button,{isLink:!0,onClick:this.apiCall},__("Re-check Connection","jetpack")))),x=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("First, you'll need to connect your WordPress.com account.","jetpack")},(0,o.createElement)(d.Button,{isSecondary:!0,isLarge:!0,href:l},__("Connect to WordPress.com","jetpack"))),T=(0,o.createElement)(m.InspectorControls,null,(0,o.createElement)(f.Q,{auditionNotification:this.auditionNotification,clearAudition:this.clearAudition,emailPlaceholder:p,processingLabel:v,successLabel:k,errorLabel:y,interests:b,setAttributes:this.props.setAttributes,signupFieldTag:w,signupFieldValue:_,connectURL:l})),N=c()(t,{[`${C}_notication-audition`]:i}),P=(0,o.createElement)("div",{className:N},(0,o.createElement)(d.TextControl,{"aria-label":p,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:()=>!1,placeholder:p,title:__("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),(0,o.createElement)(m.InnerBlocks,{template:[[h.Ss.name,h.Ss.attributes]],templateLock:"all"}),(0,o.createElement)(m.RichText,{tagName:"p",placeholder:__("Write consent text","jetpack"),value:g,onChange:e=>a({consentText:e}),inlineToolbar:!0}),i&&(0,o.createElement)("div",{className:`${C}_notification ${C}_${i}`,role:this.roleForAuditionType(i)},this.labelForAuditionType(i))),A=P;return(0,o.createElement)(o.Fragment,null,r,E&&A,!E&&0===s&&j,!E&&2===s&&u&&S,!E&&2===s&&!u&&x,!E&&1===s&&T,!E&&1===s&&P)})),this.state={audition:null,connected:0,connectURL:null,currentUserConnected:null},this.timeout=null}}t.Z=(0,d.withNotices)(v)},19916:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},qv:function(){return p},Ss:function(){return d},Xd:function(){return m}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(58791),l=n(87539),c=n(57535);const __=a.__,_x=a._x,u="mailchimp",p=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(i.G,{transform:"translate(-45.478101,-100.73059)"},(0,r.createElement)(i.G,{transform:"matrix(0.26458333,0,0,0.26458333,15.6741,59.72)"},(0,r.createElement)(i.Path,{d:"m 176.433,197.529 c 0.657,-0.078 1.286,-0.082 1.865,0 0.335,-0.768 0.392,-2.091 0.091,-3.532 -0.447,-2.142 -1.053,-3.438 -2.305,-3.236 -1.252,0.202 -1.298,1.754 -0.85,3.895 0.252,1.205 0.7,2.235 1.199,2.873"}),(0,r.createElement)(i.Path,{d:"m 165.688,199.224 c 0.895,0.393 1.446,0.654 1.661,0.426 0.139,-0.142 0.097,-0.413 -0.117,-0.762 -0.442,-0.721 -1.351,-1.453 -2.316,-1.864 -1.972,-0.849 -4.325,-0.567 -6.14,0.737 -0.599,0.439 -1.167,1.047 -1.086,1.416 0.026,0.119 0.116,0.209 0.326,0.239 0.494,0.056 2.22,-0.816 4.209,-0.938 1.403,-0.086 2.566,0.353 3.462,0.746"}),(0,r.createElement)(i.Path,{d:"m 163.887,200.252 c -1.167,0.184 -1.81,0.569 -2.223,0.926 -0.352,0.308 -0.57,0.649 -0.568,0.888 0.001,0.114 0.05,0.18 0.089,0.213 0.053,0.047 0.116,0.073 0.192,0.073 0.263,0 0.854,-0.237 0.854,-0.237 1.623,-0.581 2.694,-0.51 3.755,-0.39 0.586,0.066 0.864,0.102 0.992,-0.099 0.038,-0.058 0.084,-0.183 -0.033,-0.373 -0.273,-0.443 -1.451,-1.192 -3.057,-1.001"}),(0,r.createElement)(i.Path,{d:"m 172.805,204.025 c 0.792,0.389 1.664,0.236 1.948,-0.341 0.284,-0.577 -0.128,-1.361 -0.92,-1.75 -0.792,-0.389 -1.664,-0.236 -1.948,0.341 -0.284,0.578 0.128,1.361 0.92,1.75"}),(0,r.createElement)(i.Path,{d:"m 177.896,199.576 c -0.643,-0.011 -1.177,0.695 -1.192,1.578 -0.015,0.883 0.495,1.606 1.138,1.617 0.643,0.011 1.177,-0.695 1.192,-1.578 0.015,-0.882 -0.495,-1.606 -1.138,-1.617"}),(0,r.createElement)(i.Path,{d:"m 134.683,215.485 c -0.16,-0.201 -0.423,-0.14 -0.678,-0.08 -0.178,0.042 -0.379,0.088 -0.6,0.085 -0.473,-0.009 -0.874,-0.211 -1.099,-0.557 -0.293,-0.45 -0.276,-1.121 0.047,-1.889 l 0.151,-0.344 c 0.516,-1.158 1.379,-3.095 0.41,-4.941 -0.73,-1.39 -1.92,-2.255 -3.351,-2.437 -1.374,-0.174 -2.788,0.335 -3.69,1.33 -1.423,1.57 -1.646,3.707 -1.371,4.462 0.101,0.276 0.259,0.353 0.373,0.369 0.242,0.032 0.6,-0.144 0.824,-0.747 l 0.064,-0.196 c 0.1,-0.319 0.286,-0.913 0.591,-1.389 0.368,-0.574 0.94,-0.969 1.612,-1.114 0.684,-0.147 1.384,-0.016 1.97,0.368 0.997,0.652 1.381,1.874 0.955,3.039 -0.22,0.603 -0.578,1.756 -0.499,2.703 0.16,1.917 1.339,2.687 2.398,2.769 1.03,0.039 1.75,-0.54 1.932,-0.962 0.107,-0.25 0.017,-0.402 -0.042,-0.467"}),(0,r.createElement)(i.Path,{d:"m 144.475,180.275 c 3.36,-3.882 7.495,-7.257 11.2,-9.152 0.128,-0.066 0.264,0.073 0.195,0.199 -0.294,0.533 -0.861,1.674 -1.04,2.539 -0.028,0.135 0.119,0.236 0.233,0.159 2.305,-1.571 6.314,-3.255 9.831,-3.471 0.151,-0.009 0.224,0.184 0.104,0.277 -0.535,0.41 -1.12,0.978 -1.547,1.552 -0.073,0.098 -0.004,0.238 0.118,0.239 2.469,0.018 5.95,0.882 8.219,2.155 0.153,0.086 0.044,0.383 -0.128,0.344 -3.433,-0.787 -9.052,-1.384 -14.89,0.04 -5.211,1.271 -9.189,3.234 -12.09,5.344 -0.147,0.107 -0.323,-0.087 -0.204,-0.224 z m 16.732,37.612 0.001,0.002 0.002,0.004 z m 13.854,1.635 c 0.1,-0.042 0.168,-0.155 0.157,-0.268 -0.014,-0.139 -0.138,-0.24 -0.277,-0.226 0,0 -7.169,1.061 -13.942,-1.418 0.738,-2.398 2.699,-1.532 5.664,-1.293 5.344,0.319 10.134,-0.462 13.674,-1.478 3.067,-0.88 7.096,-2.616 10.225,-5.086 1.055,2.318 1.428,4.87 1.428,4.87 0,0 0.817,-0.146 1.5,0.274 0.645,0.397 1.118,1.222 0.795,3.356 -0.658,3.986 -2.352,7.222 -5.2,10.199 -1.734,1.866 -3.838,3.488 -6.246,4.668 -1.279,0.672 -2.64,1.253 -4.079,1.722 -10.736,3.507 -21.726,-0.348 -25.268,-8.626 -0.283,-0.622 -0.522,-1.274 -0.71,-1.955 -1.509,-5.455 -0.228,-12 3.778,-16.12 v -0.002 c 0.247,-0.262 0.499,-0.571 0.499,-0.96 0,-0.325 -0.207,-0.668 -0.386,-0.912 -1.402,-2.033 -6.257,-5.497 -5.282,-12.201 0.7,-4.816 4.912,-8.208 8.839,-8.007 l 0.995,0.057 c 1.702,0.101 3.186,0.319 4.587,0.378 2.345,0.102 4.453,-0.239 6.951,-2.32 0.842,-0.702 1.518,-1.311 2.661,-1.504 0.12,-0.021 0.419,-0.128 1.016,-0.1 0.61,0.033 1.19,0.2 1.711,0.547 2.002,1.332 2.286,4.559 2.39,6.919 0.059,1.347 0.222,4.607 0.278,5.543 0.127,2.14 0.69,2.441 1.828,2.816 0.64,0.211 1.234,0.368 2.11,0.614 2.65,0.744 4.221,1.499 5.212,2.469 0.591,0.606 0.866,1.25 0.951,1.864 0.312,2.28 -1.77,5.096 -7.283,7.655 -6.026,2.797 -13.337,3.505 -18.388,2.942 l -1.77,-0.2 c -4.04,-0.544 -6.345,4.677 -3.92,8.255 1.563,2.306 5.82,3.806 10.079,3.807 9.765,0.001 17.271,-4.169 20.063,-7.77 l 0.223,-0.318 c 0.138,-0.207 0.024,-0.321 -0.147,-0.204 -2.281,1.561 -12.413,7.758 -23.251,5.893 0,0 -1.317,-0.217 -2.519,-0.684 -0.955,-0.372 -2.955,-1.292 -3.198,-3.343 8.746,2.705 14.253,0.148 14.253,0.148 z m -48.039,-20.785 c -3.042,0.591 -5.723,2.315 -7.362,4.697 -0.98,-0.817 -2.805,-2.399 -3.128,-3.016 -2.617,-4.97 2.856,-14.632 6.68,-20.089 9.45,-13.485 24.25,-23.692 31.101,-21.84 1.114,0.315 4.803,4.592 4.803,4.592 0,0 -6.849,3.8 -13.2,9.097 -8.558,6.589 -15.022,16.166 -18.895,26.559 z m 5.111,22.805 c -0.46,0.079 -0.93,0.11 -1.404,0.098 -4.577,-0.123 -9.52,-4.243 -10.011,-9.129 -0.543,-5.401 2.217,-9.557 7.103,-10.543 0.584,-0.118 1.29,-0.186 2.051,-0.146 2.738,0.15 6.772,2.252 7.693,8.216 0.816,5.282 -0.48,10.659 -5.432,11.503 z m 61.996,-9.564 c -0.039,-0.139 -0.295,-1.072 -0.646,-2.197 -0.351,-1.126 -0.714,-1.917 -0.714,-1.917 1.408,-2.107 1.433,-3.992 1.245,-5.059 -0.2,-1.323 -0.751,-2.45 -1.861,-3.616 -1.11,-1.165 -3.381,-2.359 -6.572,-3.255 l -1.674,-0.465 c -0.008,-0.069 -0.088,-3.947 -0.16,-5.612 -0.053,-1.204 -0.156,-3.083 -0.739,-4.933 -0.695,-2.505 -1.905,-4.697 -3.416,-6.099 4.17,-4.322 6.773,-9.084 6.766,-13.168 -0.012,-7.855 -9.659,-10.232 -21.548,-5.309 l -2.519,1.069 c -0.011,-0.011 -4.554,-4.468 -4.622,-4.528 -13.555,-11.823 -55.935,35.284 -42.386,46.725 l 2.961,2.509 c -0.768,1.99 -1.07,4.27 -0.823,6.721 0.316,3.149 1.94,6.167 4.573,8.499 2.499,2.214 5.785,3.616 8.973,3.613 5.273,12.151 17.321,19.605 31.447,20.025 15.153,0.45 27.873,-6.66 33.203,-19.432 0.349,-0.896 1.828,-4.935 1.828,-8.501 0,-3.583 -2.026,-5.068 -3.316,-5.068"})))),d={name:"jetpack/button",attributes:{element:"button",text:__("Join my Mailchimp audience","jetpack"),uniqueId:"mailchimp-widget-id"}},m={title:__("Mailchimp","jetpack"),icon:{src:p,foreground:(0,c.m)()},description:__("A form enabling readers to join a Mailchimp audience.","jetpack"),category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:l.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null),example:{attributes:{preview:!0},innerBlocks:[d]},deprecated:[s.Z]}},18417:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(55609);class c extends o.Component{constructor(){super(...arguments),a()(this,"state",{interest_categories:[]}),a()(this,"retrieveGroups",(()=>{s()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((e=>{const{interest_categories:t}=e;this.setState({interest_categories:t})}))})),a()(this,"render",(()=>{const{interest_categories:e}=this.state,{interests:t,onChange:n}=this.props;return(0,o.createElement)(o.Fragment,null,e&&(e||[]).map((e=>e.interests.map((e=>(0,o.createElement)(l.CheckboxControl,{label:e.name,value:e.id,checked:t.includes(e.id),onChange:t=>n(e.id,t),key:e.id}))))))}))}componentDidMount(){this.retrieveGroups()}}t.Z=c,c.defaultProps={interests:[],onChange:()=>null}},36710:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(1595);const __=a.__;class s extends r.Component{render(){const{onClose:e,onAddPoint:t,onError:n,apiKey:a}=this.props;return(0,r.createElement)(o.Button,{className:"component__add-point"},__("Add marker","jetpack"),(0,r.createElement)(o.Popover,{className:"component__add-point__popover",position:"bottom center"},(0,r.createElement)(o.Button,{className:"component__add-point__close",onClick:e},(0,r.createElement)(o.Dashicon,{icon:"no"})),(0,r.createElement)(i.Z,{onAddPoint:t,label:__("Add a location","jetpack"),apiKey:a,onError:n})))}}s.defaultProps={onAddPoint:()=>{},onClose:()=>{},onError:()=>{}},t.Z=s},79267:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(55609),c=n(81041),u=n(77714),p=n(73242),d=n(87929),m=n(45388);const __=i.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),a()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),a()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),a()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:r}=n.props,a=t.slice(0);(0,s.assign)(a[r],e),this.props.onSetPoints(a)})),a()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,r=e.slice(0);r.splice(n,1),this.props.onSetPoints(r),this.setState({activeMarker:null})})),a()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,r=Math.min(e*(3/4),t);n.style.height=r+"px"}t.resize(),this.setBoundsByMarkers()})),a()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),a()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:r,zoom:a}=this.props,{map:o,activeMarker:i,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!o)return;if(r.length&&e?o.dragPan.disable():o.dragPan.enable(),!r.length)return;if(i)return;const u=new s.LngLatBounds;if(r.forEach((e=>{u.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(u.getCenter()),r.length>1){o.fitBounds(u,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{o.removeControl(l)}catch(e){}}else{if(o.setCenter(u.getCenter()),c){const e=12;o.setZoom(e),n(e)}else o.setZoom(parseInt(a,10));o.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),a()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),a()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,o.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:r}=this.props,{map:a,activeMarker:i,mapboxgl:p}=this.state,{onMarkerClick:d,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(i,"props.point")||{},{title:g,caption:b}=f,v=o.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),k=a&&p&&e.map(((e,t)=>(0,o.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:a,mapboxgl:p,markerColor:r,onClick:d}))),y=p&&(0,o.createElement)(u.Z,{activeMarker:i,map:a,mapboxgl:p,unsetActiveMarker:()=>this.setState({activeMarker:null})},i&&t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,o.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:b,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,o.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,o.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),i&&!t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h3",null,g),(0,o.createElement)("p",null,b)));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},k),y,v)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:r,points:a,mapStyle:o,mapDetails:i,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:u}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&i===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(u),t&&u._fullscreenButton&&(u._fullscreenButton.disabled=!0)):c.removeControl(u))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,p.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,d.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,d.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,d.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:r,onError:a,scrollToZoom:o,showFullscreenButton:i,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}o||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{a("mapbox_error",e.error.message)}));const u=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:u,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(u),i&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),r(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},20522:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(41626),l=n(17885);const __=a.__;t.Z=e=>{let{attributes:t,setAttributes:n,state:a,setState:c,context:u,mapRef:p,instanceId:d,minHeight:m,removeAPIKey:h,updateAPIKey:f,setPointVisibility:g}=e;const b=e=>{n({align:e}),setTimeout(p.current.sizeMap,0)};return"toolbar"===u?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockAlignmentToolbar,{value:t.align,onChange:b,controls:["center","wide","full"]}),(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:l.X.markerIcon,label:__("Add a marker","jetpack"),onClick:g}))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.PanelColorSettings,{title:__("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:t.markerColor,onChange:e=>n({markerColor:e}),label:__("Marker Color","jetpack")}]}),(0,r.createElement)(o.PanelBody,{title:__("Map Settings","jetpack")},(0,r.createElement)(o.BaseControl,{label:__("Height in pixels","jetpack"),id:`block-jetpack-map-height-input-${d}`},(0,r.createElement)("input",{type:"number",id:`block-jetpack-map-height-input-${d}`,className:"wp-block-jetpack-map__height_input",onChange:e=>{n({mapHeight:e.target.value}),e.target!==document.activeElement&&setTimeout(p.current.sizeMap,0)},onBlur:e=>{const{mapHeight:r}=t;let a=parseInt(e.target.value,10);isNaN(a)?a=null:null==r?a=p.current.mapRef.current.offsetHeight:a<m&&(a=m),n({mapHeight:a}),setTimeout(p.current.sizeMap,0)},value:t.mapHeight||"",min:m,step:"10"})),(0,r.createElement)(o.RangeControl,{label:__("Zoom level","jetpack"),help:t.points.length>1&&__("The default zoom level cannot be changed when there are two or more markers on the map.","jetpack"),disabled:t.points.length>1,value:t.zoom,onChange:e=>{n({zoom:e}),setTimeout(p.current.updateZoom,0)},min:0,max:22}),(0,r.createElement)(o.ToggleControl,{label:__("Show street names","jetpack"),checked:t.mapDetails,onChange:e=>n({mapDetails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Scroll to zoom","jetpack"),help:__("Allow the map to capture scrolling, and zoom in or out.","jetpack"),checked:t.scrollToZoom,onChange:e=>n({scrollToZoom:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Show Fullscreen Button","jetpack"),help:__("Allow your visitors to display the map in fullscreen.","jetpack"),checked:t.showFullscreenButton,onChange:e=>n({showFullscreenButton:e})})),t.points.length?(0,r.createElement)(o.PanelBody,{title:__("Markers","jetpack"),initialOpen:!1},(0,r.createElement)(s.Z,{points:t.points,onChange:e=>{n({points:e})}})):null,(0,r.createElement)(o.PanelBody,{title:__("Mapbox Access Token","jetpack"),initialOpen:!1},(0,r.createElement)(o.TextControl,{help:"wpcom"===a.apiKeySource&&(0,r.createElement)(r.Fragment,null,__("You can optionally enter your own access token.","jetpack")," ",(0,r.createElement)(o.ExternalLink,{href:"https://account.mapbox.com/access-tokens/"},__("Find it on Mapbox","jetpack"))),label:__("Mapbox Access Token","jetpack"),value:a.apiKeyControl,onChange:e=>c({apiKeyControl:e})}),(0,r.createElement)(o.ButtonGroup,null,(0,r.createElement)(o.Button,{type:"button",onClick:f,disabled:!a.apiKeyControl||a.apiKeyControl===a.apiKey},__("Update Token","jetpack")),(0,r.createElement)(o.Button,{type:"button",onClick:h,disabled:"wpcom"===a.apiKeySource,isSecondary:!0},__("Remove Token","jetpack")))))}},86124:function(e,t,n){"use strict";var r=n(98372);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,showFullscreenButton:!0,className:t}},save:r.Z}},98372:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u}=e,p=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),d=t?`align${t}`:null;return(0,r.createElement)("div",{className:d,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null},o.length>0&&(0,r.createElement)("ul",null,p))}}t.Z=a},91576:function(e,t,n){"use strict";var r=n(51694);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,className:t}},save:r.Z}},51694:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u,showFullscreenButton:p}=e,d=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),m=t?`align${t}`:null;return(0,r.createElement)("div",{className:m,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null,"data-show-fullscreen-button":p||null},o.length>0&&(0,r.createElement)("ul",null,d))}}t.Z=a},70312:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65736),c=n(55609),u=n(52175),p=n(36710),d=n(79267),m=n(20522),h=n(17885),f=n(96406),g=n(94333),b=n(9818),v=n(98085),k=n(14499);const __=l.__,y={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};class E extends o.Component{constructor(){super(...arguments),a()(this,"geoCodeAddress",((e,t)=>{t&&(0,k.P)(e,t).then((e=>{if(e.features?.length){const t=e.features[0],n=[{title:t.text,placeTitle:t.text,caption:t.place_name,id:t.id,coordinates:{latitude:t.center[1],longitude:t.center[0]}}];this.props.setAttributes({points:n})}else this.onError(null,__("Could not find the coordinates of the provided address. Displaying default location. Feel free to add the location manually.","jetpack"))})).catch((e=>this.onError(null,e.message)))})),a()(this,"componentDidUpdate",(e=>{const t=this.props.attributes?.address,n=e.attributes?.address;t&&n!==t&&this.geoCodeAddress(t,this.state.apiKey)})),a()(this,"addPoint",(e=>{const{attributes:t,setAttributes:n}=this.props,{points:r}=t,a=r.slice(0);let o=!1;r.map((t=>{t.id===e.id&&(o=!0)})),o||(a.push(e),n({points:a}),this.setState({addPointVisibility:!1}))})),a()(this,"setPointVisibility",(()=>{this.setState({addPointVisibility:!0})})),a()(this,"updateAPIKeyControl",(e=>{this.setState({apiKeyControl:e.target.value})})),a()(this,"updateAPIKey",(()=>{const{noticeOperations:e}=this.props,{apiKeyControl:t}=this.state;e.removeAllNotices(),t&&this.apiCall(t,"POST")})),a()(this,"removeAPIKey",(()=>{this.apiCall(null,"DELETE")})),a()(this,"onError",((e,t)=>{const{noticeOperations:n}=this.props;n.removeAllNotices(),n.createErrorNotice(t)})),a()(this,"onMapResize",((e,t,n,r)=>{const{onResizeStop:a,setAttributes:o}=this.props;a();o({mapHeight:parseInt(this.mapRef.current.mapRef.current.offsetHeight+r.height,10)}),setTimeout(this.mapRef.current.sizeMap,0)})),this.state={addPointVisibility:!1,apiState:0},this.mapRef=(0,o.createRef)()}apiCall(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise(((n,r)=>{const{noticeOperations:a}=this.props,o="/wpcom/v2/service-api-keys/mapbox",i=e?{path:o,method:t,data:{service_api_key:e}}:{path:o,method:t};this.setState({apiRequestOutstanding:!0},(()=>{s()(i).then((e=>{let{service_api_key:t,service_api_key_source:r}=e;a.removeAllNotices();const o=t?2:1,i="wpcom"===r?"":t;this.setState({apiState:o,apiKey:t,apiKeyControl:i,apiKeySource:r,apiRequestOutstanding:!1}),n()}),(e=>{let{message:t}=e;this.onError(null,t),this.setState({apiState:1,apiRequestOutstanding:!1}),r()}))}))}))}componentDidMount(){this.apiCall().then((()=>{this.props.attributes?.address&&this.geoCodeAddress(this.props.attributes?.address,this.state.apiKey)}))}render(){const{className:e,setAttributes:t,attributes:n,noticeUI:r,notices:a,isSelected:i,instanceId:s,onResizeStart:l}=this.props,{mapDetails:g,points:b,zoom:k,mapCenter:E,markerColor:w,preview:_,mapHeight:C,showFullscreenButton:j}=n,{addPointVisibility:S,apiKey:x,apiKeyControl:T,apiState:N,apiRequestOutstanding:P}=this.state,A=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setPointVisibility:this.setPointVisibility,context:"toolbar",mapRef:this.mapRef})),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setState:this.setState,mapRef:this.mapRef,instanceId:s,minHeight:400,removeAPIKey:this.removeAPIKey,updateAPIKey:this.updateAPIKey}))),I=(0,o.createElement)(c.Placeholder,{icon:h.X.icon},(0,o.createElement)(c.Spinner,null)),M=(0,o.createElement)(o.Fragment,null,__("To use the map block, you need an Access Token.","jetpack"),(0,o.createElement)("br",null),(0,o.createElement)(c.ExternalLink,{href:"https://www.mapbox.com"},__("Create an account or log in to Mapbox.","jetpack")),(0,o.createElement)("br",null),__("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),B=(0,o.createElement)(c.Placeholder,{icon:h.X.icon,label:__("Map","jetpack"),notices:a,instructions:M},(0,o.createElement)(o.Fragment,null,(0,o.createElement)("form",null,(0,o.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:P,placeholder:__("Paste Token Here","jetpack"),value:T,onChange:this.updateAPIKeyControl}),(0,o.createElement)(c.Button,{isSecondary:!0,disabled:P||!T||T.length<1,onClick:this.updateAPIKey},__("Set Token","jetpack"))))),R=i&&b.length<=1,L=(0,v.t)(h.X.styles,n.className),Z=(0,o.createElement)(o.Fragment,null,A,(0,o.createElement)("div",{className:e},(0,o.createElement)(c.ResizableBox,{size:{height:C||"auto",width:"100%"},grid:[10,10],showHandle:i,minHeight:400,enable:y,onResizeStart:l,onResizeStop:this.onMapResize},(0,o.createElement)("div",{className:"wp-block-jetpack-map__map_wrapper"},(0,o.createElement)(d.Z,{ref:this.mapRef,scrollToZoom:R,showFullscreenButton:j,mapStyle:L||"default",mapDetails:g,mapHeight:C,points:b,zoom:k,mapCenter:E,markerColor:w,onSetZoom:e=>{t({zoom:e})},admin:!0,apiKey:x,onSetPoints:e=>t({points:e}),onSetMapCenter:e=>t({mapCenter:e}),onMapLoaded:()=>this.setState({addPointVisibility:!b.length}),onMarkerClick:()=>this.setState({addPointVisibility:!1}),onError:this.onError},i&&S&&(0,o.createElement)(p.Z,{onAddPoint:this.addPoint,onClose:()=>this.setState({addPointVisibility:!1}),apiKey:x,onError:this.onError,tagName:"AddPoint"})))))),F=h.X.styles.find((e=>e.name===L)),D=(0,o.createElement)("div",null,(0,o.createElement)("img",{alt:__("Map Preview","jetpack"),src:F?F.preview:f}));return(0,o.createElement)(o.Fragment,null,r,_&&D,!_&&0===N&&I,!_&&1===N&&B,!_&&2===N&&Z)}}t.Z=(0,g.compose)([c.withNotices,(0,b.withDispatch)((e=>{const{toggleSelection:t}=e("core/block-editor");return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}))])(E)},14499:function(e,t,n){"use strict";function r(e,t){return fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(e)}.json?access_token=${encodeURIComponent(t)}`).then((e=>e.json()))}n.d(t,{P:function(){return r}})},92828:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(17885),a=n(70312),o=n(18156),i=n(86124),s=n(91576),l=n(57535);const{name:c}=r.X,u={title:r.X.title,icon:{src:r.X.icon,foreground:(0,l.m)()},category:r.X.category,keywords:r.X.keywords,description:r.X.description,attributes:r.X.attributes,supports:r.X.supports,styles:r.X.styles,getEditWrapperProps(e){const{align:t}=e;if(-1!==r.X.validAlignments.indexOf(t))return{"data-align":t}},edit:a.Z,save:o.Z,example:r.X.example,deprecated:[s.Z,i.Z]}},77714:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307);class i extends o.Component{constructor(){super(...arguments),a()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,o.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}i.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=i},1595:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(95319);const c=(0,i.__)("Add a marker…","jetpack");class u extends o.Component{constructor(){super(...arguments),a()(this,"getOptionCompletion",(e=>{const{value:t}=e,n={placeTitle:t.text,title:t.text,caption:t.place_name,id:t.id,coordinates:{longitude:t.geometry.coordinates[0],latitude:t.geometry.coordinates[1]}};return this.props.onAddPoint(n),t.text})),a()(this,"search",(e=>{const{apiKey:t,onError:n}=this.props,r="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(e)+".json?access_token="+t;return new Promise((function(e,t){const a=new XMLHttpRequest;a.open("GET",r),a.onload=function(){if(200===a.status){const t=JSON.parse(a.responseText);e(t.features)}else{const e=JSON.parse(a.responseText);n(e.statusText,e.responseJSON.message),t(new Error("Mapbox Places Error"))}},a.send()}))})),a()(this,"onReset",(()=>{this.textRef.current.value=null})),this.textRef=(0,o.createRef)(),this.containerRef=(0,o.createRef)(),this.state={isEmpty:!0},this.autocompleter={name:"placeSearch",options:this.search,isDebounced:!0,getOptionLabel:e=>(0,o.createElement)("span",null,e.place_name),getOptionKeywords:e=>[e.place_name],getOptionCompletion:this.getOptionCompletion}}componentDidMount(){setTimeout((()=>{this.containerRef.current.querySelector("input").focus()}),50)}render(){const{label:e}=this.props;return(0,o.createElement)("div",{ref:this.containerRef},(0,o.createElement)(s.BaseControl,{label:e,className:"components-location-search"},(0,o.createElement)(l.Z,{completer:this.autocompleter,onReset:this.onReset},(e=>{let{isExpanded:t,listBoxId:n,activeId:r,onChange:a,onKeyDown:i}=e;return(0,o.createElement)(s.TextControl,{placeholder:c,ref:this.textRef,onChange:a,"aria-expanded":t,"aria-owns":n,"aria-activedescendant":r,onKeyDown:i})}))))}}u.defaultProps={onError:()=>{}},t.Z=u},41626:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(55609);class s extends o.Component{constructor(){super(...arguments),a()(this,"onDeletePoint",(e=>{const t=parseInt(e.target.getAttribute("data-id")),{points:n,onChange:r}=this.props,a=n.slice(0);a.splice(t,1),r(a)})),this.state={selectedCell:null}}setMarkerField(e,t,n){const{points:r,onChange:a}=this.props,o=r.slice(0);o[n][e]=t,a(o)}render(){const{points:e}=this.props,t=e.map(((e,t)=>(0,o.createElement)(i.PanelBody,{title:e.placeTitle,key:e.id,initialOpen:!1},(0,o.createElement)(i.TextControl,{label:"Marker Title",value:e.title,onChange:e=>this.setMarkerField("title",e,t)}),(0,o.createElement)(i.TextareaControl,{label:"Marker Caption",value:e.caption,rows:"3",onChange:e=>this.setMarkerField("caption",e,t)}),(0,o.createElement)(i.Button,{"data-id":t,onClick:this.onDeletePoint,className:"component__locations__delete-btn"},(0,o.createElement)(i.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))));return(0,o.createElement)("div",{className:"component__locations"},(0,o.createElement)(i.Panel,{className:"component__locations__panel"},t))}}s.defaultProps={points:Object.freeze([]),onChange:()=>{}},t.Z=s},95319:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(55609),u=n(92819),p=n(39630),d=n(94333);const __=l.__,_n=l._n;function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;const n=[];for(let r=0;r<e.length;r++){const a=e[r];let{keywords:o=[]}=a;if("string"==typeof a.label&&(o=[...o,a.label]),n.push(a),n.length===t)break}return n}class h extends o.Component{static getInitialState(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}constructor(){super(...arguments),a()(this,"select",(e=>{const{completer:t}=this.props;(t.getOptionCompletion||{})(e),this.reset()})),a()(this,"reset",(()=>{this.setState(this.constructor.getInitialState())})),a()(this,"onChange",(e=>{const{completer:t}=this.props,{options:n}=this.state;if(!e)return void this.reset();t&&(t.isDebounced?this.debouncedLoadOptions(t,e):this.loadOptions(t,e));const r=t?m(n):[];t&&this.setState({selectedIndex:0,filteredOptions:r,query:e})})),a()(this,"onKeyDown",(e=>{const{isOpen:t,selectedIndex:n,filteredOptions:r}=this.state;if(!t)return;let a;switch(e.keyCode){case p.UP:a=(0===n?r.length:n)-1,this.setState({selectedIndex:a});break;case p.DOWN:a=(n+1)%r.length,this.setState({selectedIndex:a});break;case p.ENTER:this.select(r[n]);break;case p.LEFT:case p.RIGHT:case p.ESCAPE:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()})),this.debouncedLoadOptions=(0,u.debounce)(this.loadOptions,250),this.state=this.constructor.getInitialState()}componentWillUnmount(){this.debouncedLoadOptions.cancel()}handleFocusOutside(){this.reset()}loadOptions(e,t){const{options:n}=e,r=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then((t=>{if(r!==this.activePromise)return;const n=t.map(((t,n)=>({key:`${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}))),a=m(n),o=a.length===this.state.filteredOptions.length?this.state.selectedIndex:0;this.setState({options:n,filteredOptions:a,selectedIndex:o,isOpen:a.length>0}),this.announce(a)}))}announce(e){const{debouncedSpeak:t}=this.props;t&&(e.length?t((0,l.sprintf)(
+_n("There is currently only %s post in your Instagram account.","There are currently only %s posts in your Instagram account.",t,"jetpack"),t):__("There are currently no posts in your Instagram account.","jetpack");return(0,r.createElement)("div",{className:"wp-block-jetpack-instagram-gallery__count-notice"},(0,r.createElement)(a.Notice,{isDismissible:!1,status:"info"},e))})():null,(0,r.createElement)(a.RangeControl,{label:__("Number of Posts","jetpack"),value:m,onChange:e=>u({count:e}),min:1,max:i.u}),(0,r.createElement)(a.RangeControl,{label:__("Number of Columns","jetpack"),value:d,onChange:e=>u({columns:e}),min:1,max:6}),(0,r.createElement)(a.RangeControl,{label:__("Image Spacing (px)","jetpack"),value:g,onChange:e=>u({spacing:e}),min:0,max:50}),(0,r.createElement)(a.ToggleControl,{label:__("Stack on mobile","jetpack"),checked:f,onChange:()=>u({isStackedOnMobile:!f})})))}},36420:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(8979),p=n(696),d=n(4554),m=n(79236),h=n(2681),f=n(75412),g=n(44961),b=n(35089),v=n(64129);const __=c.__;t.Z=(0,l.withNotices)((e=>{const{attributes:t,className:n,isSelected:a,noticeOperations:c,noticeUI:k,setAttributes:y}=e,{accessToken:E,align:w,columns:_,count:C,isStackedOnMobile:j,spacing:S}=t;(0,r.useEffect)((()=>{const e=(0,d.S)(u.Z,t);(0,i.isEqual)(e,t)||y(e)}),[t,y]);const[x,P]=(0,r.useState)(E),{isRequestingWpcomConnectUrl:T,wpcomConnectUrl:N}=(0,h.Z)(),{images:A,isLoadingGallery:I,setImages:M}=(0,f.Z)({accessToken:E,noticeOperations:c,setAttributes:y,setSelectedAccount:P}),{connectToService:B,disconnectFromService:R,isConnecting:L,isRequestingUserConnections:Z,userConnections:D}=(0,m.Z)({accessToken:E,noticeOperations:c,selectedAccount:x,setAttributes:y,setImages:M,setSelectedAccount:P}),F=(0,b.Z)(),O=C>A.length?A.length:C,z=!I&&(!E||(0,i.isEmpty)(A)),U=!z,$=E&&I&&(0,i.isEmpty)(A),V=!z&&!$,G=o()(n,{[`align${w}`]:w}),H=o()("wp-block-jetpack-instagram-gallery__grid",`wp-block-jetpack-instagram-gallery__grid-columns-${_}`,{"is-stacked-on-mobile":j}),q={gridGap:S,"--latest-instagram-posts-spacing":S?`${S}px`:void 0},W={padding:S},K=()=>{x&&p.D!==x?y({accessToken:x,instagramUser:(0,i.find)(D,{token:x}).username}):B()};return(0,r.createElement)("div",{className:G},z&&(0,r.createElement)(l.Placeholder,{icon:"instagram",instructions:F?Z||D.length?void 0:__("Connect to Instagram to start sharing your images.","jetpack"):__("First, you'll need to connect your WordPress.com account.","jetpack"),label:__("Latest Instagram Posts","jetpack"),notices:k},F?(()=>{const e=D.length>0,t=[...(0,i.map)(D,(e=>({label:`@${e.username}`,value:e.token}))),{label:__("Add a new account","jetpack"),value:p.D}],n=L||Z||e&&!x;return(0,r.createElement)("div",null,e&&(0,r.createElement)(l.RadioControl,{label:__("Select your Instagram account:","jetpack"),onChange:e=>P(e),options:t,selected:x}),p.D===x&&(0,r.createElement)("p",{className:"wp-block-jetpack-instagram-gallery__new-account-instructions"},__("If you are currently logged in to Instagram on this device, you might need to log out of it first.","jetpack")),(0,r.createElement)(l.Button,{disabled:n,variant:"primary",onClick:K},L&&__("Connecting…","jetpack"),Z&&__("Loading your connections…","jetpack"),!L&&!Z&&__("Connect to Instagram","jetpack")))})():(0,r.createElement)(l.Button,{disabled:T||!N,href:N,variant:"secondary"},__("Connect to WordPress.com","jetpack"))),$&&(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(l.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack"))),V&&(0,r.createElement)("div",{className:H,style:q},(0,i.times)(a?C:O,(e=>(0,r.createElement)("span",{className:o()("wp-block-jetpack-instagram-gallery__grid-post"),key:e,style:W},(e=>{if(A[e]){const n=A[e];return(0,r.createElement)(g.Z,{alt:n.title||n.url,src:n.url,attributes:t,spacing:S})}return(0,r.createElement)("img",{alt:__("Latest Instagram Posts placeholder","jetpack"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNMyc2tBwAEOgG/c94mJwAAAABJRU5ErkJggg=="})})(e))))),U&&(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(v.Z,{accountImageTotal:A.length,attributes:t,currentUserConnected:F,disconnectFromService:R,shouldRenderSidebarNotice:U&&!$&&A.length<C,setAttributes:y})))}))},44961:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{src:t,alt:n,spacing:a}=e;const[i,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)("auto"),u=(0,r.useRef)(),p=()=>{s(!0),c("auto")};(0,r.useEffect)((()=>{const e=t;if(e){const t=new window.Image;t.src=e,t.onload=p}u.current&&c(u.current.parentNode.getBoundingClientRect().width)}),[t]);const d=-1*a,m=o()("wp-block-jetpack-instagram-gallery__placeholder",{"is-loaded":i}),h=i?{margin:d}:{margin:d,height:l},f=o()({"is-loaded":i});return(0,r.createElement)("span",{style:h,className:m},(0,r.createElement)("img",{alt:n,className:f,ref:u,src:t}))}},78544:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(4981),i=n(8979),s=n(36420),l=n(70355);const __=a.__,_x=a._x,c="instagram-gallery",u={title:__("Latest Instagram Posts","jetpack"),description:__("Display an automatically updating list of the latest posts from your Instagram feed.","jetpack"),icon:{src:"instagram",foreground:(0,l.m)()},category:"embed",keywords:[_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack")],supports:{align:!0,html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"wpcom_instagram_widget"===t},transform:e=>{let{instance:t}=e;return(0,o.createBlock)("jetpack/instagram-gallery",{columns:t.raw.columns,count:t.raw.count,accessToken:t.raw.token_id})}}]},attributes:i.Z,edit:s.Z,save:e=>{let{attributes:{instagramUser:t}}=e;return t&&(0,r.createElement)("div",null,(0,r.createElement)("a",{href:`https://www.instagram.com/${t}/`,rel:"noopener noreferrer",target:"_blank"},`https://www.instagram.com/${t}/`))}}},79236:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7211),a=n(92819),o=n(86989),i=n.n(o),s=n(69307),l=n(65736),c=n(696),u=n(35089);const __=l.__;function p(e){let{accessToken:t,noticeOperations:n,selectedAccount:o,setAttributes:l,setImages:p,setSelectedAccount:d}=e;const[m,h]=(0,s.useState)(!1),[f,g]=(0,s.useState)(!1),[b,v]=(0,s.useState)([]),k=(0,u.Z)();(0,s.useEffect)((()=>{!t&&k&&(g(!0),i()({path:"/wpcom/v2/instagram-gallery/connections"}).then((e=>{g(!1),v(e)})).catch((()=>{g(!1),v([])})))}),[t,k]),(0,s.useEffect)((()=>{c.D===o||(0,a.find)(b,{token:o})||d(void 0)}),[o,d,b]);return{connectToService:()=>{n.removeAllNotices(),h(!0),i()({path:"/wpcom/v2/instagram-gallery/connect-url"}).then((e=>{const t=new r.Z;t.open(e,"connect-to-instagram-popup","toolbar=0,location=0,menubar=0,"+t.getScreenCenterSpecs(700,700)),t.on("message",(e=>{let{keyring_id:t}=e;if(h(!1),t){const e=t.toString();l({accessToken:e}),d(e)}})),t.on("close",(e=>{"connect-to-instagram-popup"===e&&h(!1)}))})).catch((()=>{n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),h(!1)}))},disconnectFromService:()=>{n.removeAllNotices(),l({accessToken:void 0,instagramUser:void 0}),p([])},isConnecting:m,isRequestingUserConnections:f,userConnections:b}}},2681:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(86989),a=n.n(r),o=n(9818),i=n(69307),s=n(96483),l=n(35089);function c(){const{isAutoDraft:e}=(0,o.useSelect)((e=>{const{status:t}=e("core/editor").getCurrentPost();return{isAutoDraft:"auto-draft"===t}})),{savePost:t}=(0,o.useDispatch)("core/editor"),[n,r]=(0,i.useState)(),[c,u]=(0,i.useState)(!1),p=(0,l.Z)();return(0,i.useEffect)((()=>{p||n||c||(e?t():(u(!0),a()({path:(0,s.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((e=>{r(e),u(!1)}))))}),[p,e,c,t,n]),{isRequestingWpcomConnectUrl:c,wpcomConnectUrl:n}}},75412:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(696);const __=s.__;function u(e){let{accessToken:t,noticeOperations:n,setAttributes:a,setSelectedAccount:s}=e;const[u,p]=(0,i.useState)([]),[d,m]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{t&&(n.removeAllNotices(),m(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/instagram-gallery/gallery",{access_token:t,count:c.u})}).then((e=>{let{external_name:t,images:o}=e;if(m(!1),!o||!(0,r.isArray)(o))return n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),p([]),a({accessToken:void 0,instagramUser:void 0}),void s(void 0);(0,r.isEmpty)(o)&&n.createErrorNotice(__("No images were found in your Instagram account.","jetpack")),a({instagramUser:t}),p(o)})).catch((()=>{m(!1),p([]),a({accessToken:void 0,instagramUser:void 0}),s(void 0)})))}),[t,a,s]),{images:u,isLoadingGallery:d,setImages:p}}},64007:function(e,t,n){"use strict";n.d(t,{X:function(){return o},u:function(){return a}});var r=n(28495);const a="likes",o={render:r.Z}},28495:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(12238),l=n(9818),c=n(8264);const __=a.__,u=(0,l.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{areLikesEnabled:t("jetpack_likes_enabled")}})),p=(0,l.withDispatch)((e=>{const{editPost:t}=e("core/editor");return{editPost:t}}));t.Z=(0,i.compose)([u,p])((e=>{let{areLikesEnabled:t,editPost:n}=e;return(0,r.createElement)(s.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},(0,r.createElement)(c.Z,null,(0,r.createElement)(o.CheckboxControl,{label:__("Show likes.","jetpack"),checked:t,onChange:e=>{n({jetpack_likes_enabled:e})}})))}))},64968:function(e,t,n){"use strict";n.d(t,{Cw:function(){return o},N3:function(){return r},sf:function(){return a}});const r="processing",a="success",o="error"},84038:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(24535),s=n(64968);const __=a.__;function l(e){let{auditionNotification:t,clearAudition:n,setAttributes:a,emailPlaceholder:l,processingLabel:c,successLabel:u,errorLabel:p,interests:d,signupFieldTag:m,signupFieldValue:h,connectURL:f}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Text Elements","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Email Placeholder","jetpack"),value:l,onChange:e=>{a({emailPlaceholder:e}),n()}})),(0,r.createElement)(o.PanelBody,{title:__("Notifications","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Processing text","jetpack"),value:c,onChange:e=>{a({processingLabel:e}),t(s.N3)}}),(0,r.createElement)(o.TextControl,{label:__("Success text","jetpack"),value:u,onChange:e=>{a({successLabel:e}),t(s.sf)}}),(0,r.createElement)(o.TextControl,{label:__("Error text","jetpack"),value:p,onChange:e=>{a({errorLabel:e}),t(s.Cw)}})),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Groups","jetpack")},(0,r.createElement)(i.Z,{interests:d,onChange:(e,t)=>{const n=[...new Set([...d,e])].filter((n=>!(n===e&&!t)&&n));a({interests:n})}}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},__("Learn about groups","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Signup Location Tracking","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Signup Field Tag","jetpack"),placeholder:__("SIGNUP","jetpack"),value:m,onChange:e=>a({signupFieldTag:e})}),(0,r.createElement)(o.TextControl,{label:__("Signup Field Value","jetpack"),placeholder:__("website","jetpack"),value:h,onChange:e=>a({signupFieldValue:e})}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},__("Learn about signup location tracking","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Connection","jetpack")},(0,r.createElement)(o.ExternalLink,{href:f},__("Manage Connection","jetpack"))))}},748:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=["submitButtonText","backgroundButtonColor","textButtonColor","submitButtonClasses","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},submitButtonText:{type:"string",default:__("Join my email list","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},submitButtonClasses:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},migrate:e=>{const t=(0,r.omit)(e,i),n={text:(o=e).submitButtonText||__("Join my email list","jetpack"),textColor:o.textButtonColor,customTextColor:o.customTextButtonColor,backgroundColor:o.backgroundButtonColor,customBackgroundColor:o.customBackgroundButtonColor};var o;return[t,[(0,a.createBlock)("jetpack/button",{element:"button",uniqueId:"mailchimp-widget-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,i),Boolean),save:()=>null}},43818:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65235),c=n.n(l),u=n(65736),p=n(96483),d=n(55609),m=n(52175),h=n(4495),f=n(84038),g=n(35089),b=n(64968);const __=u.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e=(0,g.Z)();if(e){const t={path:"/wpcom/v2/mailchimp",method:"GET"};s()(t).then((t=>{const n=t.connect_url,r="connected"===t.code?1:2;this.setState({currentUserConnected:e,connected:r,connectURL:n})}),(t=>{this.setState({currentUserConnected:e,connected:2,connectURL:null}),this.onError(t.message)}))}else s()({path:(0,p.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((t=>{const n=t;this.setState({currentUserConnected:e,connected:2,connectURL:n})}))})),a()(this,"auditionNotification",(e=>{this.setState({audition:e}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.clearAudition,3e3)})),a()(this,"clearAudition",(()=>{this.setState({audition:null})})),a()(this,"labelForAuditionType",(e=>{const{attributes:t}=this.props,{processingLabel:n,successLabel:r,errorLabel:a}=t;return e===b.N3?n:e===b.sf?r:e===b.Cw?a:null})),a()(this,"roleForAuditionType",(e=>e===b.Cw?"alert":"status")),a()(this,"render",(()=>{const{attributes:e,className:t,notices:n,noticeUI:r,setAttributes:a}=this.props,{audition:i,connected:s,connectURL:l,currentUserConnected:u}=this.state,{emailPlaceholder:p,consentText:g,interests:b,processingLabel:v,successLabel:k,errorLabel:y,preview:E,signupFieldTag:w,signupFieldValue:_}=e,C="wp-block-jetpack-mailchimp",j=(0,o.createElement)(d.Placeholder,{icon:h.qv,notices:n},(0,o.createElement)(d.Spinner,null)),S=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("You need to connect your Mailchimp account and choose an audience in order to start collecting Email subscribers.","jetpack")},(0,o.createElement)(d.Button,{variant:"secondary",href:l,target:"_blank"},__("Set up Mailchimp form","jetpack")),(0,o.createElement)("div",{className:`${C}-recheck`},(0,o.createElement)(d.Button,{variant:"link",onClick:this.apiCall},__("Re-check Connection","jetpack")))),x=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("First, you'll need to connect your WordPress.com account.","jetpack")},(0,o.createElement)(d.Button,{variant:"secondary",href:l},__("Connect to WordPress.com","jetpack"))),P=(0,o.createElement)(m.InspectorControls,null,(0,o.createElement)(f.Q,{auditionNotification:this.auditionNotification,clearAudition:this.clearAudition,emailPlaceholder:p,processingLabel:v,successLabel:k,errorLabel:y,interests:b,setAttributes:this.props.setAttributes,signupFieldTag:w,signupFieldValue:_,connectURL:l})),T=c()(t,{[`${C}_notication-audition`]:i}),N=(0,o.createElement)("div",{className:T},(0,o.createElement)(d.TextControl,{"aria-label":p,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:()=>!1,placeholder:p,title:__("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),(0,o.createElement)(m.InnerBlocks,{template:[[h.Ss.name,h.Ss.attributes]],templateLock:"all"}),(0,o.createElement)(m.RichText,{tagName:"p",placeholder:__("Write consent text","jetpack"),value:g,onChange:e=>a({consentText:e}),inlineToolbar:!0}),i&&(0,o.createElement)("div",{className:`${C}_notification ${C}_${i}`,role:this.roleForAuditionType(i)},this.labelForAuditionType(i))),A=N;return(0,o.createElement)(o.Fragment,null,r,E&&A,!E&&0===s&&j,!E&&2===s&&u&&S,!E&&2===s&&!u&&x,!E&&1===s&&P,!E&&1===s&&N)})),this.state={audition:null,connected:0,connectURL:null,currentUserConnected:null},this.timeout=null}}t.Z=(0,d.withNotices)(v)},4495:function(e,t,n){"use strict";n.d(t,{Ss:function(){return d},Xd:function(){return m},qv:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(748),l=n(43818),c=n(70355);const __=a.__,_x=a._x,u="mailchimp",p=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(i.G,{transform:"translate(-45.478101,-100.73059)"},(0,r.createElement)(i.G,{transform:"matrix(0.26458333,0,0,0.26458333,15.6741,59.72)"},(0,r.createElement)(i.Path,{d:"m 176.433,197.529 c 0.657,-0.078 1.286,-0.082 1.865,0 0.335,-0.768 0.392,-2.091 0.091,-3.532 -0.447,-2.142 -1.053,-3.438 -2.305,-3.236 -1.252,0.202 -1.298,1.754 -0.85,3.895 0.252,1.205 0.7,2.235 1.199,2.873"}),(0,r.createElement)(i.Path,{d:"m 165.688,199.224 c 0.895,0.393 1.446,0.654 1.661,0.426 0.139,-0.142 0.097,-0.413 -0.117,-0.762 -0.442,-0.721 -1.351,-1.453 -2.316,-1.864 -1.972,-0.849 -4.325,-0.567 -6.14,0.737 -0.599,0.439 -1.167,1.047 -1.086,1.416 0.026,0.119 0.116,0.209 0.326,0.239 0.494,0.056 2.22,-0.816 4.209,-0.938 1.403,-0.086 2.566,0.353 3.462,0.746"}),(0,r.createElement)(i.Path,{d:"m 163.887,200.252 c -1.167,0.184 -1.81,0.569 -2.223,0.926 -0.352,0.308 -0.57,0.649 -0.568,0.888 0.001,0.114 0.05,0.18 0.089,0.213 0.053,0.047 0.116,0.073 0.192,0.073 0.263,0 0.854,-0.237 0.854,-0.237 1.623,-0.581 2.694,-0.51 3.755,-0.39 0.586,0.066 0.864,0.102 0.992,-0.099 0.038,-0.058 0.084,-0.183 -0.033,-0.373 -0.273,-0.443 -1.451,-1.192 -3.057,-1.001"}),(0,r.createElement)(i.Path,{d:"m 172.805,204.025 c 0.792,0.389 1.664,0.236 1.948,-0.341 0.284,-0.577 -0.128,-1.361 -0.92,-1.75 -0.792,-0.389 -1.664,-0.236 -1.948,0.341 -0.284,0.578 0.128,1.361 0.92,1.75"}),(0,r.createElement)(i.Path,{d:"m 177.896,199.576 c -0.643,-0.011 -1.177,0.695 -1.192,1.578 -0.015,0.883 0.495,1.606 1.138,1.617 0.643,0.011 1.177,-0.695 1.192,-1.578 0.015,-0.882 -0.495,-1.606 -1.138,-1.617"}),(0,r.createElement)(i.Path,{d:"m 134.683,215.485 c -0.16,-0.201 -0.423,-0.14 -0.678,-0.08 -0.178,0.042 -0.379,0.088 -0.6,0.085 -0.473,-0.009 -0.874,-0.211 -1.099,-0.557 -0.293,-0.45 -0.276,-1.121 0.047,-1.889 l 0.151,-0.344 c 0.516,-1.158 1.379,-3.095 0.41,-4.941 -0.73,-1.39 -1.92,-2.255 -3.351,-2.437 -1.374,-0.174 -2.788,0.335 -3.69,1.33 -1.423,1.57 -1.646,3.707 -1.371,4.462 0.101,0.276 0.259,0.353 0.373,0.369 0.242,0.032 0.6,-0.144 0.824,-0.747 l 0.064,-0.196 c 0.1,-0.319 0.286,-0.913 0.591,-1.389 0.368,-0.574 0.94,-0.969 1.612,-1.114 0.684,-0.147 1.384,-0.016 1.97,0.368 0.997,0.652 1.381,1.874 0.955,3.039 -0.22,0.603 -0.578,1.756 -0.499,2.703 0.16,1.917 1.339,2.687 2.398,2.769 1.03,0.039 1.75,-0.54 1.932,-0.962 0.107,-0.25 0.017,-0.402 -0.042,-0.467"}),(0,r.createElement)(i.Path,{d:"m 144.475,180.275 c 3.36,-3.882 7.495,-7.257 11.2,-9.152 0.128,-0.066 0.264,0.073 0.195,0.199 -0.294,0.533 -0.861,1.674 -1.04,2.539 -0.028,0.135 0.119,0.236 0.233,0.159 2.305,-1.571 6.314,-3.255 9.831,-3.471 0.151,-0.009 0.224,0.184 0.104,0.277 -0.535,0.41 -1.12,0.978 -1.547,1.552 -0.073,0.098 -0.004,0.238 0.118,0.239 2.469,0.018 5.95,0.882 8.219,2.155 0.153,0.086 0.044,0.383 -0.128,0.344 -3.433,-0.787 -9.052,-1.384 -14.89,0.04 -5.211,1.271 -9.189,3.234 -12.09,5.344 -0.147,0.107 -0.323,-0.087 -0.204,-0.224 z m 16.732,37.612 0.001,0.002 0.002,0.004 z m 13.854,1.635 c 0.1,-0.042 0.168,-0.155 0.157,-0.268 -0.014,-0.139 -0.138,-0.24 -0.277,-0.226 0,0 -7.169,1.061 -13.942,-1.418 0.738,-2.398 2.699,-1.532 5.664,-1.293 5.344,0.319 10.134,-0.462 13.674,-1.478 3.067,-0.88 7.096,-2.616 10.225,-5.086 1.055,2.318 1.428,4.87 1.428,4.87 0,0 0.817,-0.146 1.5,0.274 0.645,0.397 1.118,1.222 0.795,3.356 -0.658,3.986 -2.352,7.222 -5.2,10.199 -1.734,1.866 -3.838,3.488 -6.246,4.668 -1.279,0.672 -2.64,1.253 -4.079,1.722 -10.736,3.507 -21.726,-0.348 -25.268,-8.626 -0.283,-0.622 -0.522,-1.274 -0.71,-1.955 -1.509,-5.455 -0.228,-12 3.778,-16.12 v -0.002 c 0.247,-0.262 0.499,-0.571 0.499,-0.96 0,-0.325 -0.207,-0.668 -0.386,-0.912 -1.402,-2.033 -6.257,-5.497 -5.282,-12.201 0.7,-4.816 4.912,-8.208 8.839,-8.007 l 0.995,0.057 c 1.702,0.101 3.186,0.319 4.587,0.378 2.345,0.102 4.453,-0.239 6.951,-2.32 0.842,-0.702 1.518,-1.311 2.661,-1.504 0.12,-0.021 0.419,-0.128 1.016,-0.1 0.61,0.033 1.19,0.2 1.711,0.547 2.002,1.332 2.286,4.559 2.39,6.919 0.059,1.347 0.222,4.607 0.278,5.543 0.127,2.14 0.69,2.441 1.828,2.816 0.64,0.211 1.234,0.368 2.11,0.614 2.65,0.744 4.221,1.499 5.212,2.469 0.591,0.606 0.866,1.25 0.951,1.864 0.312,2.28 -1.77,5.096 -7.283,7.655 -6.026,2.797 -13.337,3.505 -18.388,2.942 l -1.77,-0.2 c -4.04,-0.544 -6.345,4.677 -3.92,8.255 1.563,2.306 5.82,3.806 10.079,3.807 9.765,0.001 17.271,-4.169 20.063,-7.77 l 0.223,-0.318 c 0.138,-0.207 0.024,-0.321 -0.147,-0.204 -2.281,1.561 -12.413,7.758 -23.251,5.893 0,0 -1.317,-0.217 -2.519,-0.684 -0.955,-0.372 -2.955,-1.292 -3.198,-3.343 8.746,2.705 14.253,0.148 14.253,0.148 z m -48.039,-20.785 c -3.042,0.591 -5.723,2.315 -7.362,4.697 -0.98,-0.817 -2.805,-2.399 -3.128,-3.016 -2.617,-4.97 2.856,-14.632 6.68,-20.089 9.45,-13.485 24.25,-23.692 31.101,-21.84 1.114,0.315 4.803,4.592 4.803,4.592 0,0 -6.849,3.8 -13.2,9.097 -8.558,6.589 -15.022,16.166 -18.895,26.559 z m 5.111,22.805 c -0.46,0.079 -0.93,0.11 -1.404,0.098 -4.577,-0.123 -9.52,-4.243 -10.011,-9.129 -0.543,-5.401 2.217,-9.557 7.103,-10.543 0.584,-0.118 1.29,-0.186 2.051,-0.146 2.738,0.15 6.772,2.252 7.693,8.216 0.816,5.282 -0.48,10.659 -5.432,11.503 z m 61.996,-9.564 c -0.039,-0.139 -0.295,-1.072 -0.646,-2.197 -0.351,-1.126 -0.714,-1.917 -0.714,-1.917 1.408,-2.107 1.433,-3.992 1.245,-5.059 -0.2,-1.323 -0.751,-2.45 -1.861,-3.616 -1.11,-1.165 -3.381,-2.359 -6.572,-3.255 l -1.674,-0.465 c -0.008,-0.069 -0.088,-3.947 -0.16,-5.612 -0.053,-1.204 -0.156,-3.083 -0.739,-4.933 -0.695,-2.505 -1.905,-4.697 -3.416,-6.099 4.17,-4.322 6.773,-9.084 6.766,-13.168 -0.012,-7.855 -9.659,-10.232 -21.548,-5.309 l -2.519,1.069 c -0.011,-0.011 -4.554,-4.468 -4.622,-4.528 -13.555,-11.823 -55.935,35.284 -42.386,46.725 l 2.961,2.509 c -0.768,1.99 -1.07,4.27 -0.823,6.721 0.316,3.149 1.94,6.167 4.573,8.499 2.499,2.214 5.785,3.616 8.973,3.613 5.273,12.151 17.321,19.605 31.447,20.025 15.153,0.45 27.873,-6.66 33.203,-19.432 0.349,-0.896 1.828,-4.935 1.828,-8.501 0,-3.583 -2.026,-5.068 -3.316,-5.068"})))),d={name:"jetpack/button",attributes:{element:"button",text:__("Join my Mailchimp audience","jetpack"),uniqueId:"mailchimp-widget-id"}},m={title:__("Mailchimp","jetpack"),icon:{src:p,foreground:(0,c.m)()},description:__("A form enabling readers to join a Mailchimp audience.","jetpack"),category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack")],supports:{align:["wide","full"],color:{gradients:!0},spacing:{padding:!0,margin:!0}},attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:l.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null),example:{attributes:{preview:!0},innerBlocks:[d]},deprecated:[s.Z]}},24535:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(55609);class c extends o.Component{constructor(){super(...arguments),a()(this,"state",{interest_categories:[]}),a()(this,"retrieveGroups",(()=>{s()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((e=>{const{interest_categories:t}=e;this.setState({interest_categories:t})}))})),a()(this,"render",(()=>{const{interest_categories:e}=this.state,{interests:t,onChange:n}=this.props;return(0,o.createElement)(o.Fragment,null,e&&(e||[]).map((e=>e.interests.map((e=>(0,o.createElement)(l.CheckboxControl,{label:e.name,value:e.id,checked:t.includes(e.id),onChange:t=>n(e.id,t),key:e.id}))))))}))}componentDidMount(){this.retrieveGroups()}}t.Z=c,c.defaultProps={interests:[],onChange:()=>null}},2944:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(31852);const __=a.__;class s extends r.Component{render(){const{onClose:e,onAddPoint:t,onError:n,apiKey:a}=this.props;return(0,r.createElement)(o.Button,{className:"component__add-point"},__("Add marker","jetpack"),(0,r.createElement)(o.Popover,{className:"component__add-point__popover",position:"bottom center"},(0,r.createElement)(o.Button,{className:"component__add-point__close",onClick:e},(0,r.createElement)(o.Dashicon,{icon:"no"})),(0,r.createElement)(i.Z,{onAddPoint:t,label:__("Add a location","jetpack"),apiKey:a,onError:n})))}}s.defaultProps={onAddPoint:()=>{},onClose:()=>{},onError:()=>{}},t.Z=s},93846:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(55609),c=n(9262),u=n(82621),p=n(90055),d=n(85007),m=n(45388);const __=i.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),a()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),a()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),a()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:r}=n.props,a=t.slice(0);(0,s.assign)(a[r],e),this.props.onSetPoints(a)})),a()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,r=e.slice(0);r.splice(n,1),this.props.onSetPoints(r),this.setState({activeMarker:null})})),a()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,r=Math.min(e*(3/4),t);n.style.height=r+"px"}t.resize(),this.setBoundsByMarkers()})),a()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),a()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:r,zoom:a}=this.props,{map:o,activeMarker:i,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!o)return;if(r.length&&e?o.dragPan.disable():o.dragPan.enable(),!r.length)return;if(i)return;const u=new s.LngLatBounds;if(r.forEach((e=>{u.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(u.getCenter()),r.length>1){o.fitBounds(u,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{o.removeControl(l)}catch(e){}}else{if(o.setCenter(u.getCenter()),c){const e=12;o.setZoom(e),n(e)}else o.setZoom(parseInt(a,10));o.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),a()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),a()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,o.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:r}=this.props,{map:a,activeMarker:i,mapboxgl:p}=this.state,{onMarkerClick:d,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(i,"props.point")||{},{title:g,caption:b}=f,v=o.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),k=a&&p&&e.map(((e,t)=>(0,o.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:a,mapboxgl:p,markerColor:r,onClick:d}))),y=p&&(0,o.createElement)(u.Z,{activeMarker:i,map:a,mapboxgl:p,unsetActiveMarker:()=>this.setState({activeMarker:null})},i&&t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,o.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:b,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,o.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,o.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),i&&!t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h3",null,g),(0,o.createElement)("p",null,b)));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},k),y,v)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:r,points:a,mapStyle:o,mapDetails:i,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:u}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&i===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(u),t&&u._fullscreenButton&&(u._fullscreenButton.disabled=!0)):c.removeControl(u))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,p.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,d.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,d.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,d.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:r,onError:a,scrollToZoom:o,showFullscreenButton:i,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}o||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{a("mapbox_error",e.error.message)}));const u=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:u,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(u),i&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),r(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},53036:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(57897),l=n(82695);const __=a.__;t.Z=e=>{let{attributes:t,setAttributes:n,state:a,setState:c,context:u,mapRef:p,instanceId:d,minHeight:m,removeAPIKey:h,updateAPIKey:f,setPointVisibility:g}=e;const b=e=>{n({align:e}),setTimeout(p.current.sizeMap,0)};return"toolbar"===u?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockAlignmentToolbar,{value:t.align,onChange:b,controls:["center","wide","full"]}),(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:l.X.markerIcon,label:__("Add a marker","jetpack"),onClick:g}))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.PanelColorSettings,{title:__("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:t.markerColor,onChange:e=>n({markerColor:e}),label:__("Marker Color","jetpack")}]}),(0,r.createElement)(o.PanelBody,{title:__("Map Settings","jetpack")},(0,r.createElement)(o.BaseControl,{label:__("Height in pixels","jetpack"),id:`block-jetpack-map-height-input-${d}`},(0,r.createElement)("input",{type:"number",id:`block-jetpack-map-height-input-${d}`,className:"wp-block-jetpack-map__height_input",onChange:e=>{n({mapHeight:e.target.value}),e.target!==document.activeElement&&setTimeout(p.current.sizeMap,0)},onBlur:e=>{const{mapHeight:r}=t;let a=parseInt(e.target.value,10);isNaN(a)?a=null:null==r?a=p.current.mapRef.current.offsetHeight:a<m&&(a=m),n({mapHeight:a}),setTimeout(p.current.sizeMap,0)},value:t.mapHeight||"",min:m,step:"10"})),(0,r.createElement)(o.RangeControl,{label:__("Zoom level","jetpack"),help:t.points.length>1&&__("The default zoom level cannot be changed when there are two or more markers on the map.","jetpack"),disabled:t.points.length>1,value:t.zoom,onChange:e=>{n({zoom:e}),setTimeout(p.current.updateZoom,0)},min:0,max:22}),(0,r.createElement)(o.ToggleControl,{label:__("Show street names","jetpack"),checked:t.mapDetails,onChange:e=>n({mapDetails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Scroll to zoom","jetpack"),help:__("Allow the map to capture scrolling, and zoom in or out.","jetpack"),checked:t.scrollToZoom,onChange:e=>n({scrollToZoom:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Show Fullscreen Button","jetpack"),help:__("Allow your visitors to display the map in fullscreen.","jetpack"),checked:t.showFullscreenButton,onChange:e=>n({showFullscreenButton:e})})),t.points.length?(0,r.createElement)(o.PanelBody,{title:__("Markers","jetpack"),initialOpen:!1},(0,r.createElement)(s.Z,{points:t.points,onChange:e=>{n({points:e})}})):null,(0,r.createElement)(o.PanelBody,{title:__("Mapbox Access Token","jetpack"),initialOpen:!1},(0,r.createElement)(o.TextControl,{help:"wpcom"===a.apiKeySource&&(0,r.createElement)(r.Fragment,null,__("You can optionally enter your own access token.","jetpack")," ",(0,r.createElement)(o.ExternalLink,{href:"https://account.mapbox.com/access-tokens/"},__("Find it on Mapbox","jetpack"))),label:__("Mapbox Access Token","jetpack"),value:a.apiKeyControl,onChange:e=>c({apiKeyControl:e})}),(0,r.createElement)(o.ButtonGroup,null,(0,r.createElement)(o.Button,{type:"button",onClick:f,disabled:!a.apiKeyControl||a.apiKeyControl===a.apiKey},__("Update Token","jetpack")),(0,r.createElement)(o.Button,{type:"button",onClick:h,disabled:"wpcom"===a.apiKeySource,variant:"secondary"},__("Remove Token","jetpack")))))}},55109:function(e,t,n){"use strict";var r=n(85888);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,showFullscreenButton:!0,className:t}},save:r.Z}},85888:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u}=e,p=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),d=t?`align${t}`:null;return(0,r.createElement)("div",{className:d,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null},o.length>0&&(0,r.createElement)("ul",null,p))}}t.Z=a},45051:function(e,t,n){"use strict";var r=n(95382);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,className:t}},save:r.Z}},95382:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u,showFullscreenButton:p}=e,d=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),m=t?`align${t}`:null;return(0,r.createElement)("div",{className:m,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null,"data-show-fullscreen-button":p||null},o.length>0&&(0,r.createElement)("ul",null,d))}}t.Z=a},740:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65736),c=n(55609),u=n(52175),p=n(2944),d=n(93846),m=n(53036),h=n(82695),f=n(96406),g=n(94333),b=n(9818),v=n(81518),k=n(1555);const __=l.__,y={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};class E extends o.Component{constructor(){super(...arguments),a()(this,"geoCodeAddress",((e,t)=>{t&&(0,k.P)(e,t).then((e=>{var t;if(null!==(t=e.features)&&void 0!==t&&t.length){const t=e.features[0],n=[{title:t.text,placeTitle:t.text,caption:t.place_name,id:t.id,coordinates:{latitude:t.center[1],longitude:t.center[0]}}];this.props.setAttributes({points:n})}else this.onError(null,__("Could not find the coordinates of the provided address. Displaying default location. Feel free to add the location manually.","jetpack"))})).catch((e=>this.onError(null,e.message)))})),a()(this,"componentDidUpdate",(e=>{var t,n;const r=null===(t=this.props.attributes)||void 0===t?void 0:t.address,a=null===(n=e.attributes)||void 0===n?void 0:n.address;r&&a!==r&&this.geoCodeAddress(r,this.state.apiKey)})),a()(this,"addPoint",(e=>{const{attributes:t,setAttributes:n}=this.props,{points:r}=t,a=r.slice(0);let o=!1;r.map((t=>{t.id===e.id&&(o=!0)})),o||(a.push(e),n({points:a}),this.setState({addPointVisibility:!1}))})),a()(this,"setPointVisibility",(()=>{this.setState({addPointVisibility:!0})})),a()(this,"updateAPIKeyControl",(e=>{this.setState({apiKeyControl:e.target.value})})),a()(this,"updateAPIKey",(()=>{const{noticeOperations:e}=this.props,{apiKeyControl:t}=this.state;e.removeAllNotices(),t&&this.apiCall(t,"POST")})),a()(this,"removeAPIKey",(()=>{this.apiCall(null,"DELETE")})),a()(this,"onError",((e,t)=>{const{noticeOperations:n}=this.props;n.removeAllNotices(),n.createErrorNotice(t)})),a()(this,"onMapResize",((e,t,n,r)=>{const{onResizeStop:a,setAttributes:o}=this.props;a();o({mapHeight:parseInt(this.mapRef.current.mapRef.current.offsetHeight+r.height,10)}),setTimeout(this.mapRef.current.sizeMap,0)})),this.state={addPointVisibility:!1,apiState:0},this.mapRef=(0,o.createRef)()}apiCall(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise(((n,r)=>{const{noticeOperations:a}=this.props,o="/wpcom/v2/service-api-keys/mapbox",i=e?{path:o,method:t,data:{service_api_key:e}}:{path:o,method:t};this.setState({apiRequestOutstanding:!0},(()=>{s()(i).then((e=>{let{service_api_key:t,service_api_key_source:r}=e;a.removeAllNotices();const o=t?2:1,i="wpcom"===r?"":t;this.setState({apiState:o,apiKey:t,apiKeyControl:i,apiKeySource:r,apiRequestOutstanding:!1}),n()}),(e=>{let{message:t}=e;this.onError(null,t),this.setState({apiState:1,apiRequestOutstanding:!1}),r()}))}))}))}componentDidMount(){this.apiCall().then((()=>{var e,t;null!==(e=this.props.attributes)&&void 0!==e&&e.address&&this.geoCodeAddress(null===(t=this.props.attributes)||void 0===t?void 0:t.address,this.state.apiKey)}))}render(){const{className:e,setAttributes:t,attributes:n,noticeUI:r,notices:a,isSelected:i,instanceId:s,onResizeStart:l}=this.props,{mapDetails:g,points:b,zoom:k,mapCenter:E,markerColor:w,preview:_,mapHeight:C,showFullscreenButton:j}=n,{addPointVisibility:S,apiKey:x,apiKeyControl:P,apiState:T,apiRequestOutstanding:N}=this.state,A=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setPointVisibility:this.setPointVisibility,context:"toolbar",mapRef:this.mapRef})),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setState:this.setState,mapRef:this.mapRef,instanceId:s,minHeight:400,removeAPIKey:this.removeAPIKey,updateAPIKey:this.updateAPIKey}))),I=(0,o.createElement)(c.Placeholder,{icon:h.X.icon},(0,o.createElement)(c.Spinner,null)),M=(0,o.createElement)(o.Fragment,null,__("To use the map block, you need an Access Token.","jetpack"),(0,o.createElement)("br",null),(0,o.createElement)(c.ExternalLink,{href:"https://www.mapbox.com"},__("Create an account or log in to Mapbox.","jetpack")),(0,o.createElement)("br",null),__("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),B=(0,o.createElement)(c.Placeholder,{icon:h.X.icon,label:__("Map","jetpack"),notices:a,instructions:M},(0,o.createElement)(o.Fragment,null,(0,o.createElement)("form",null,(0,o.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:N,placeholder:__("Paste Token Here","jetpack"),value:P,onChange:this.updateAPIKeyControl}),(0,o.createElement)(c.Button,{variant:"secondary",disabled:N||!P||P.length<1,onClick:this.updateAPIKey},__("Set Token","jetpack"))))),R=i&&b.length<=1,L=(0,v.t)(h.X.styles,n.className),Z=(0,o.createElement)(o.Fragment,null,A,(0,o.createElement)("div",{className:e},(0,o.createElement)(c.ResizableBox,{size:{height:C||"auto",width:"100%"},grid:[10,10],showHandle:i,minHeight:400,enable:y,onResizeStart:l,onResizeStop:this.onMapResize},(0,o.createElement)("div",{className:"wp-block-jetpack-map__map_wrapper"},(0,o.createElement)(d.Z,{ref:this.mapRef,scrollToZoom:R,showFullscreenButton:j,mapStyle:L||"default",mapDetails:g,mapHeight:C,points:b,zoom:k,mapCenter:E,markerColor:w,onSetZoom:e=>{t({zoom:e})},admin:!0,apiKey:x,onSetPoints:e=>t({points:e}),onSetMapCenter:e=>t({mapCenter:e}),onMapLoaded:()=>this.setState({addPointVisibility:!b.length}),onMarkerClick:()=>this.setState({addPointVisibility:!1}),onError:this.onError},i&&S&&(0,o.createElement)(p.Z,{onAddPoint:this.addPoint,onClose:()=>this.setState({addPointVisibility:!1}),apiKey:x,onError:this.onError,tagName:"AddPoint"})))))),D=h.X.styles.find((e=>e.name===L)),F=(0,o.createElement)("div",null,(0,o.createElement)("img",{alt:__("Map Preview","jetpack"),src:D?D.preview:f}));return(0,o.createElement)(o.Fragment,null,r,_&&F,!_&&0===T&&I,!_&&1===T&&B,!_&&2===T&&Z)}}t.Z=(0,g.compose)([c.withNotices,(0,b.withDispatch)((e=>{const{toggleSelection:t}=e("core/block-editor");return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}))])(E)},1555:function(e,t,n){"use strict";function r(e,t){return fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(e)}.json?access_token=${encodeURIComponent(t)}`).then((e=>e.json()))}n.d(t,{P:function(){return r}})},85406:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(82695),a=n(740),o=n(19496),i=n(55109),s=n(45051),l=n(70355);const{name:c}=r.X,u={title:r.X.title,icon:{src:r.X.icon,foreground:(0,l.m)()},category:r.X.category,keywords:r.X.keywords,description:r.X.description,attributes:r.X.attributes,supports:r.X.supports,styles:r.X.styles,getEditWrapperProps(e){const{align:t}=e;if(-1!==r.X.validAlignments.indexOf(t))return{"data-align":t}},edit:a.Z,save:o.Z,example:r.X.example,deprecated:[s.Z,i.Z]}},82621:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307);class i extends o.Component{constructor(){super(...arguments),a()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,o.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}i.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=i},31852:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(96881);const c=(0,i.__)("Add a marker…","jetpack");class u extends o.Component{constructor(){super(...arguments),a()(this,"getOptionCompletion",(e=>{const{value:t}=e,n={placeTitle:t.text,title:t.text,caption:t.place_name,id:t.id,coordinates:{longitude:t.geometry.coordinates[0],latitude:t.geometry.coordinates[1]}};return this.props.onAddPoint(n),t.text})),a()(this,"search",(e=>{const{apiKey:t,onError:n}=this.props,r="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(e)+".json?access_token="+t;return new Promise((function(e,t){const a=new XMLHttpRequest;a.open("GET",r),a.onload=function(){if(200===a.status){const t=JSON.parse(a.responseText);e(t.features)}else{const e=JSON.parse(a.responseText);n(e.statusText,e.responseJSON.message),t(new Error("Mapbox Places Error"))}},a.send()}))})),a()(this,"onReset",(()=>{this.textRef.current.value=null})),this.textRef=(0,o.createRef)(),this.containerRef=(0,o.createRef)(),this.state={isEmpty:!0},this.autocompleter={name:"placeSearch",options:this.search,isDebounced:!0,getOptionLabel:e=>(0,o.createElement)("span",null,e.place_name),getOptionKeywords:e=>[e.place_name],getOptionCompletion:this.getOptionCompletion}}componentDidMount(){setTimeout((()=>{this.containerRef.current.querySelector("input").focus()}),50)}render(){const{label:e}=this.props;return(0,o.createElement)("div",{ref:this.containerRef},(0,o.createElement)(s.BaseControl,{label:e,className:"components-location-search"},(0,o.createElement)(l.Z,{completer:this.autocompleter,onReset:this.onReset},(e=>{let{isExpanded:t,listBoxId:n,activeId:r,onChange:a,onKeyDown:i}=e;return(0,o.createElement)(s.TextControl,{placeholder:c,ref:this.textRef,onChange:a,"aria-expanded":t,"aria-owns":n,"aria-activedescendant":r,onKeyDown:i})}))))}}u.defaultProps={onError:()=>{}},t.Z=u},57897:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(55609);class s extends o.Component{constructor(){super(...arguments),a()(this,"onDeletePoint",(e=>{const t=parseInt(e.target.getAttribute("data-id")),{points:n,onChange:r}=this.props,a=n.slice(0);a.splice(t,1),r(a)})),this.state={selectedCell:null}}setMarkerField(e,t,n){const{points:r,onChange:a}=this.props,o=r.slice(0);o[n][e]=t,a(o)}render(){const{points:e}=this.props,t=e.map(((e,t)=>(0,o.createElement)(i.PanelBody,{title:e.placeTitle,key:e.id,initialOpen:!1},(0,o.createElement)(i.TextControl,{label:"Marker Title",value:e.title,onChange:e=>this.setMarkerField("title",e,t)}),(0,o.createElement)(i.TextareaControl,{label:"Marker Caption",value:e.caption,rows:"3",onChange:e=>this.setMarkerField("caption",e,t)}),(0,o.createElement)(i.Button,{"data-id":t,onClick:this.onDeletePoint,className:"component__locations__delete-btn"},(0,o.createElement)(i.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))));return(0,o.createElement)("div",{className:"component__locations"},(0,o.createElement)(i.Panel,{className:"component__locations__panel"},t))}}s.defaultProps={points:Object.freeze([]),onChange:()=>{}},t.Z=s},96881:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(55609),u=n(92819),p=n(39630),d=n(94333);const __=l.__,_n=l._n;function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;const n=[];for(let r=0;r<e.length;r++){const a=e[r];let{keywords:o=[]}=a;if("string"==typeof a.label&&(o=[...o,a.label]),n.push(a),n.length===t)break}return n}class h extends o.Component{static getInitialState(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}constructor(){super(...arguments),a()(this,"select",(e=>{const{completer:t}=this.props;(t.getOptionCompletion||{})(e),this.reset()})),a()(this,"reset",(()=>{this.setState(this.constructor.getInitialState())})),a()(this,"onChange",(e=>{const{completer:t}=this.props,{options:n}=this.state;if(!e)return void this.reset();t&&(t.isDebounced?this.debouncedLoadOptions(t,e):this.loadOptions(t,e));const r=t?m(n):[];t&&this.setState({selectedIndex:0,filteredOptions:r,query:e})})),a()(this,"onKeyDown",(e=>{const{isOpen:t,selectedIndex:n,filteredOptions:r}=this.state;if(!t)return;let a;switch(e.keyCode){case p.UP:a=(0===n?r.length:n)-1,this.setState({selectedIndex:a});break;case p.DOWN:a=(n+1)%r.length,this.setState({selectedIndex:a});break;case p.ENTER:this.select(r[n]);break;case p.LEFT:case p.RIGHT:case p.ESCAPE:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()})),this.debouncedLoadOptions=(0,u.debounce)(this.loadOptions,250),this.state=this.constructor.getInitialState()}componentWillUnmount(){this.debouncedLoadOptions.cancel()}handleFocusOutside(){this.reset()}loadOptions(e,t){const{options:n}=e,r=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then((t=>{if(r!==this.activePromise)return;const n=t.map(((t,n)=>({key:`${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}))),a=m(n),o=a.length===this.state.filteredOptions.length?this.state.selectedIndex:0;this.setState({options:n,filteredOptions:a,selectedIndex:o,isOpen:a.length>0}),this.announce(a)}))}announce(e){const{debouncedSpeak:t}=this.props;t&&(e.length?t((0,l.sprintf)(
/* translators: placeholder is a number. */
-_n("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(__("No results.","jetpack"),"assertive"))}render(){const{onChange:e,onKeyDown:t}=this,{children:n,instanceId:r,completer:a}=this.props,{selectedIndex:i,filteredOptions:l}=this.state,{key:p=""}=l[i]||{},{className:d}=a,m=l.length>0,h=m?`components-autocomplete-listbox-${r}`:null,f=m?`components-autocomplete-item-${r}-${p}`:null;return(0,o.createElement)("div",{className:"components-autocomplete"},n({isExpanded:m,listBoxId:h,activeId:f,onChange:e,onKeyDown:t}),m&&(0,o.createElement)(c.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},(0,o.createElement)("div",{id:h,role:"listbox",className:"components-autocomplete__results"},(0,u.map)(l,((e,t)=>(0,o.createElement)(c.Button,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===i,disabled:e.isDisabled,className:s()("components-autocomplete__result",d,{"is-selected":t===i}),onClick:()=>this.select(e)},e.label))))))}}t.Z=(0,d.compose)([c.withSpokenMessages,d.withInstanceId,c.withFocusOutside])(h)},81041:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(87929);class s extends o.Component{constructor(){super(...arguments),a()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),a()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:r,mapRef:a}=this.props,{handleClick:o}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,i.bL)(a.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+r+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},73242:function(e,t,n){"use strict";function r(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return r}})},18156:function(e,t,n){"use strict";var r=n(69307),a=n(17885),o=n(98085);class i extends r.Component{render(){const{attributes:e}=this.props,{align:t,className:n,mapDetails:i,points:s,zoom:l,mapCenter:c,markerColor:u,scrollToZoom:p,mapHeight:d,showFullscreenButton:m}=e,h=(0,o.t)(a.X.styles,n),f=s.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),g=t?`align${t}`:null;return(0,r.createElement)("div",{className:g,"data-map-style":h,"data-map-details":i,"data-points":JSON.stringify(s),"data-zoom":l,"data-map-center":JSON.stringify(c),"data-marker-color":u,"data-scroll-to-zoom":p||null,"data-map-height":d||null,"data-show-fullscreen-button":m||null},s.length>0&&(0,r.createElement)("ul",null,f))}}t.Z=i},17885:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(69307),a=n(65736),o=n(56932),i=n(45107),s=n(65765),l=n(34140);const __=a.__,_x=a._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:o,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:i},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},81092:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(52175),u=n(94333),p=n(9818),d=n(4822);const __=l.__,m="editor",h="preview";class f extends o.Component{constructor(){super(...arguments),a()(this,"input",null),a()(this,"state",{activePanel:m}),a()(this,"bindInput",(e=>{this.input=e})),a()(this,"updateSource",(e=>this.props.setAttributes({source:e}))),a()(this,"handleKeyDown",(e=>{const{attributes:t,removeBlock:n}=this.props,{source:r}=t;8===e.keyCode&&""===r&&(n(),e.preventDefault())})),a()(this,"toggleMode",(e=>()=>this.setState({activePanel:e})))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===h&&this.toggleMode(m)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===m&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:n}=this.state,{className:r}=this.props,a=s()(r,"components-button components-tab-button",{"is-pressed":n===e});return(0,o.createElement)("button",{className:a,onClick:this.toggleMode(e)},(0,o.createElement)("span",null,t))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{source:r}=e,{activePanel:a}=this.state;return!n&&this.isEmpty()?(0,o.createElement)("p",{className:`${t}__placeholder`},__("Write your _Markdown_ **here**…","jetpack")):(0,o.createElement)("div",{className:t},(0,o.createElement)(c.BlockControls,null,(0,o.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(m,__("Markdown","jetpack")),this.renderToolbarButton(h,__("Preview","jetpack")))),a!==h&&n?(0,o.createElement)(c.PlainText,{className:`${t}__editor`,onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":__("Markdown","jetpack"),innerRef:this.bindInput,value:r}):(0,o.createElement)(d.Z,{className:`${t}__preview`,source:r}))}}t.Z=(0,u.compose)([(0,p.withSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),(0,p.withDispatch)(((e,t)=>{let{currentBlockId:n}=t;return{removeBlock:()=>e("core/block-editor").removeBlocks(n)}}))])(f)},7882:function(e,t,n){"use strict";n.d(t,{u:function(){return p},X:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(58014),s=n(81092),l=n(27279),c=n(57535),u=n(20510);const __=a.__,_x=a._x,p="markdown",d=__("Try Markdown","jetpack"),m=__("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},(0,r.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),(0,r.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),f=(0,i.Wp)()||(0,i.Ug)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",g={title:__("Markdown","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Use regular characters and punctuation to style text, links, and lists.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:f},__("Support reference","jetpack"))),icon:{src:h,foreground:(0,c.m)()},category:(0,u.Z)("text","formatting"),keywords:[_x("formatting","block search term","jetpack"),_x("syntax","block search term","jetpack"),_x("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:s.Z,save:l.Z,example:{attributes:{source:`## ## ${d}\n\n${m}`}}}},4822:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(69472),i=n.n(o);const __=a.__,s=new(i()),l=e=>{if("A"===e.target.nodeName){window.confirm(__("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault()}};t.Z=e=>{let{className:t,source:n=""}=e;return(0,r.createElement)(r.RawHTML,{className:t,onClick:l},n.length?s.render(n):"")}},27279:function(e,t,n){"use strict";var r=n(69307),a=n(4822);t.Z=e=>{let{attributes:t,className:n}=e;return(0,r.createElement)(a.Z,{className:n,source:t.source})}},11868:function(e,t,n){"use strict";n.d(t,{V1:function(){return i},vW:function(){return s},jn:function(){return l},Eo:function(){return c},fL:function(){return u},ez:function(){return m}});var r=n(65736),a=n(9818),o=n(92819);const __=r.__,i=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],s=i.map((e=>e.value));const l={name:"button",label:__("Button (210 x 113 pixels)","jetpack")},c=e=>(0,o.compact)([{name:"standard",label:__("Standard (224 x 301 pixels)","jetpack"),isDefault:!0},{name:"tall",label:__("Tall (288 x 490 pixels)","jetpack")},{name:"wide",label:__("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&l]),u=e=>c(e).map((e=>e.name)),{siteLocale:p}=(0,a.select)("core/block-editor").getSettings(),d=!(0,o.isEmpty)(p)&&s.includes(p)?p:"en-US",m={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:u()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:d,type:"string",validValues:s},newtab:{default:!1,type:"boolean"},negativeMargin:{default:!1,type:"boolean"}}},65618:function(e,t,n){"use strict";var r=n(69307),a=n(11868);t.Z={attributes:a.ez,supports:{align:!0,html:!1},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)(r.Fragment,null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},77583:function(e,t,n){"use strict";var r=n(69307),a=n(11868);t.Z={attributes:a.ez,migrate:e=>{const{style:t,className:n}=e,r="standard"===t?"":`is-style-${t}`;return{...e,className:n?`${n} ${r}`:r}},isEligible:e=>{let{style:t,className:n}=e;return!(!t||"standard"===t)&&(!n||-1===n.indexOf("is-style-"))},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},97372:function(e,t,n){"use strict";var r=n(69307),a=(n(86841),n(89105)),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(4981),p=n(12087),d=n(58014),m=n(70718),h=n(18746),f=n(11868),g=n(14087),b=n(98085),v=n(88707);const __=c.__;t.Z=(0,l.withNotices)((function(e){let{attributes:t,className:n,clientId:a,isSelected:k,name:y,noticeOperations:E,noticeUI:w,setAttributes:_}=e;const C=(0,u.getBlockDefaultClassName)(y),j=(0,g.S)(f.ez,t);(0,i.isEqual)(j,t)||_(j);const{align:S,rid:x,iframe:T,domain:N,lang:P,newtab:A,negativeMargin:I}=t,M=(0,i.isEmpty)(x),B=(0,b.t)((0,f.Eo)(),t.className),R=(0,b.t)((0,f.Eo)(x),t.className),L=(0,h.Z)(R),Z=(0,i.isEqual)(x,["1"]);(0,r.useEffect)((()=>{if(E.removeAllNotices(),!M&&!Z&&"wide"===R&&"wide"!==S&&"full"!==S){const e=(0,r.createElement)(r.Fragment,null,__('With the OpenTable block you may encounter display issues if you use its "wide" style with anything other than "wide" or "full" alignment. The wide display style may also not work well on smaller screens.',"jetpack"));E.createNotice({status:"warning",content:e})}}),[Z,S,M,x,R]),(0,r.useEffect)((()=>{"button"===B&&Array.isArray(x)&&x.length>1&&_({className:"",style:""})}),[x,B,_]),(0,r.useEffect)((()=>{k&&(Array.isArray(x)&&x.length>1?(0,u.unregisterBlockStyle)("jetpack/opentable",["button"]):(0,u.registerBlockStyle)("jetpack/opentable",f.jn))}),[k,x]),(0,r.useEffect)((()=>{"wide"===L&&"wide"===S&&_({align:""}),"wide"===R&&L&&R!==L&&_({align:"wide"}),_({style:R})}),[R]);const F=(0,f.fL)(x),D=e=>x.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e],O=e=>{Array.isArray(e)?_({rid:e,style:e.length>1&&"button"===R?"standard":R}):(e=>{const t=(0,v.CC)(e);t||(E.removeAllNotices(),E.createErrorNotice((0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,__("We ran into an issue","jetpack")),(0,r.createElement)("br",null),__("Please ensure this embed matches the one from your OpenTable account","jetpack"))));const n=(0,g.S)(f.ez,t);_(n),E.removeAllNotices()})(e)},z=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.InspectorAdvancedControls,null,(0,r.createElement)(l.ToggleControl,{label:__("Load the widget in an iFrame (Recommended)","jetpack"),checked:T,onChange:()=>_({iframe:!T}),className:"is-opentable"}),"button"===R&&(0,r.createElement)(l.ToggleControl,{label:__("Remove button margin","jetpack"),checked:I,onChange:()=>_({negativeMargin:!I})})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(m.Z,{rids:x,onChange:O}),(0,r.createElement)(l.SelectControl,{label:__("Language","jetpack"),value:P,onChange:e=>_({lang:e}),options:f.V1}),(0,r.createElement)(l.ToggleControl,{label:__("Open in a new window","jetpack"),checked:A,onChange:()=>_({newtab:!A})})))),U=(0,d.Wp)()||(0,d.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",$=(0,r.createElement)(l.Placeholder,{label:__("OpenTable Reservation","jetpack"),icon:(0,r.createElement)(s.BlockIcon,{icon:p.Z}),instructions:__("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:w},(0,r.createElement)(m.Z,{rids:x,onSubmit:O}),(0,r.createElement)("div",{className:`${C}-placeholder-links`},(0,r.createElement)(l.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},__("Sign up for OpenTable","jetpack")),(0,r.createElement)(l.ExternalLink,{href:U},__("Learn more","jetpack")))),V=o()(n,{[`is-style-${R}`]:!M&&F.includes(R)&&-1===n.indexOf("is-style"),"is-placeholder":M,"is-multi":"multi"===D(R)[0],[`align${S}`]:S,"has-no-margin":I});return(0,r.createElement)(r.Fragment,null,w,(0,r.createElement)("div",{className:V},!M&&z,M?$:(e=>{const[t,n]=D(e||R);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${C}-overlay`}),(0,r.createElement)("iframe",{title:(0,c.sprintf)(
+_n("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(__("No results.","jetpack"),"assertive"))}render(){const{onChange:e,onKeyDown:t}=this,{children:n,instanceId:r,completer:a}=this.props,{selectedIndex:i,filteredOptions:l}=this.state,{key:p=""}=l[i]||{},{className:d}=a,m=l.length>0,h=m?`components-autocomplete-listbox-${r}`:null,f=m?`components-autocomplete-item-${r}-${p}`:null;return(0,o.createElement)("div",{className:"components-autocomplete"},n({isExpanded:m,listBoxId:h,activeId:f,onChange:e,onKeyDown:t}),m&&(0,o.createElement)(c.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},(0,o.createElement)("div",{id:h,role:"listbox",className:"components-autocomplete__results"},(0,u.map)(l,((e,t)=>(0,o.createElement)(c.Button,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===i,disabled:e.isDisabled,className:s()("components-autocomplete__result",d,{"is-selected":t===i}),onClick:()=>this.select(e)},e.label))))))}}t.Z=(0,d.compose)([c.withSpokenMessages,d.withInstanceId,c.withFocusOutside])(h)},9262:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(85007);class s extends o.Component{constructor(){super(...arguments),a()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),a()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:r,mapRef:a}=this.props,{handleClick:o}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,i.bL)(a.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+r+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},90055:function(e,t,n){"use strict";function r(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return r}})},19496:function(e,t,n){"use strict";var r=n(69307),a=n(82695),o=n(81518);class i extends r.Component{render(){const{attributes:e}=this.props,{align:t,className:n,mapDetails:i,points:s,zoom:l,mapCenter:c,markerColor:u,scrollToZoom:p,mapHeight:d,showFullscreenButton:m}=e,h=(0,o.t)(a.X.styles,n),f=s.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),g=t?`align${t}`:null;return(0,r.createElement)("div",{className:g,"data-map-style":h,"data-map-details":i,"data-points":JSON.stringify(s),"data-zoom":l,"data-map-center":JSON.stringify(c),"data-marker-color":u,"data-scroll-to-zoom":p||null,"data-map-height":d||null,"data-show-fullscreen-button":m||null},s.length>0&&(0,r.createElement)("ul",null,f))}}t.Z=i},82695:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(69307),a=n(65736),o=n(56932),i=n(45107),s=n(65765),l=n(34140);const __=a.__,_x=a._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:o,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:i},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},461:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(52175),u=n(94333),p=n(9818),d=n(69283);const __=l.__,m="editor",h="preview";class f extends o.Component{constructor(){super(...arguments),a()(this,"input",null),a()(this,"state",{activePanel:m}),a()(this,"bindInput",(e=>{this.input=e})),a()(this,"updateSource",(e=>this.props.setAttributes({source:e}))),a()(this,"handleKeyDown",(e=>{const{attributes:t,removeBlock:n}=this.props,{source:r}=t;8===e.keyCode&&""===r&&(n(),e.preventDefault())})),a()(this,"toggleMode",(e=>()=>this.setState({activePanel:e})))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===h&&this.toggleMode(m)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===m&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:n}=this.state,{className:r}=this.props,a=s()(r,"components-button components-tab-button",{"is-pressed":n===e});return(0,o.createElement)("button",{className:a,onClick:this.toggleMode(e)},(0,o.createElement)("span",null,t))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{source:r}=e,{activePanel:a}=this.state;return!n&&this.isEmpty()?(0,o.createElement)("p",{className:`${t}__placeholder`},__("Write your _Markdown_ **here**…","jetpack")):(0,o.createElement)("div",{className:t},(0,o.createElement)(c.BlockControls,null,(0,o.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(m,__("Markdown","jetpack")),this.renderToolbarButton(h,__("Preview","jetpack")))),a!==h&&n?(0,o.createElement)(c.PlainText,{className:`${t}__editor`,onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":__("Markdown","jetpack"),innerRef:this.bindInput,value:r}):(0,o.createElement)(d.Z,{className:`${t}__preview`,source:r}))}}t.Z=(0,u.compose)([(0,p.withSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),(0,p.withDispatch)(((e,t)=>{let{currentBlockId:n}=t;return{removeBlock:()=>e("core/block-editor").removeBlocks(n)}}))])(f)},80723:function(e,t,n){"use strict";n.d(t,{X:function(){return g},u:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(461),l=n(2683),c=n(70355),u=n(5820);const __=a.__,_x=a._x,p="markdown",d=__("Try Markdown","jetpack"),m=__("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},(0,r.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),(0,r.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),f=(0,i.Wp)()||(0,i.Ug)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",g={title:__("Markdown","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Use regular characters and punctuation to style text, links, and lists.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:f},__("Support reference","jetpack"))),icon:{src:h,foreground:(0,c.m)()},category:(0,u.Z)("text","formatting"),keywords:[_x("formatting","block search term","jetpack"),_x("syntax","block search term","jetpack"),_x("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{align:["wide","full"],html:!1,spacing:{padding:!0,margin:!0,__experimentalDefaultControls:{padding:!0,margin:!0}}},edit:s.Z,save:l.Z,example:{attributes:{source:`## ## ${d}\n\n${m}`}}}},69283:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(10185),i=n.n(o),s=n(52175);const __=a.__,l=new(i()),c=e=>{if("A"===e.target.nodeName){window.confirm(__("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault()}},u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=null===s.__experimentalGetSpacingClassesAndStyles||void 0===s.__experimentalGetSpacingClassesAndStyles?void 0:(0,s.__experimentalGetSpacingClassesAndStyles)(e);return null!=t&&t.style?t.style:{}};t.Z=e=>{let{className:t,source:n="",attributes:a}=e;return(0,r.createElement)(r.RawHTML,{className:t,onClick:c,style:u(a)},n.length?l.render(n):"")}},2683:function(e,t,n){"use strict";var r=n(69307),a=n(69283);t.Z=e=>{let{attributes:t,className:n}=e;return(0,r.createElement)(a.Z,{className:n,source:t.source,attributes:t})}},31283:function(e,t,n){"use strict";n.d(t,{Eo:function(){return p},V1:function(){return l},ez:function(){return f},fL:function(){return d},jn:function(){return u},vW:function(){return c}});var r,a,o,i=n(65736),s=n(92819);const __=i.__,l=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],c=l.map((e=>e.value));const u={name:"button",label:__("Button (210 x 113 pixels)","jetpack")},p=e=>(0,s.compact)([{name:"standard",label:__("Standard (224 x 301 pixels)","jetpack"),isDefault:!0},{name:"tall",label:__("Tall (288 x 490 pixels)","jetpack")},{name:"wide",label:__("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&u]),d=e=>p(e).map((e=>e.name)),m=null!==(r=null===(a=window)||void 0===a||null===(o=a.Jetpack_Editor_Initial_State)||void 0===o?void 0:o.siteLocale)&&void 0!==r?r:"en-US",h=!(0,s.isEmpty)(m)&&c.includes(m)?m:"en-US",f={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:d()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:h,type:"string",validValues:c},newtab:{default:!1,type:"boolean"},negativeMargin:{default:!1,type:"boolean"}}},80452:function(e,t,n){"use strict";var r=n(69307),a=n(31283);t.Z={attributes:a.ez,supports:{align:!0,html:!1},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)(r.Fragment,null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},70398:function(e,t,n){"use strict";var r=n(69307),a=n(31283);t.Z={attributes:a.ez,migrate:e=>{const{style:t,className:n}=e,r="standard"===t?"":`is-style-${t}`;return{...e,className:n?`${n} ${r}`:r}},isEligible:e=>{let{style:t,className:n}=e;return!(!t||"standard"===t)&&(!n||-1===n.indexOf("is-style-"))},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},76851:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(13419),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(15040),m=n(57087),h=n(41007),f=n(31283),g=n(4554),b=n(81518),v=n(48769);const __=u.__;t.Z=(0,c.withNotices)((function(e){let{attributes:t,className:n,clientId:a,isSelected:k,name:y,noticeOperations:E,noticeUI:w,setAttributes:_}=e;const C=(0,p.getBlockDefaultClassName)(y),j=(0,g.S)(f.ez,t);(0,i.isEqual)(j,t)||_(j);const{align:S,rid:x,iframe:P,domain:T,lang:N,newtab:A,negativeMargin:I}=t,M=(0,i.isEmpty)(x),B=(0,b.t)((0,f.Eo)(),t.className),R=(0,b.t)((0,f.Eo)(x),t.className),L=(0,h.Z)(R),Z=(0,i.isEqual)(x,["1"]);(0,r.useEffect)((()=>{if(E.removeAllNotices(),!M&&!Z&&"wide"===R&&"wide"!==S&&"full"!==S){const e=(0,r.createElement)(r.Fragment,null,__('With the OpenTable block you may encounter display issues if you use its "wide" style with anything other than "wide" or "full" alignment. The wide display style may also not work well on smaller screens.',"jetpack"));E.createNotice({status:"warning",content:e})}}),[Z,S,M,x,R]),(0,r.useEffect)((()=>{"button"===B&&Array.isArray(x)&&x.length>1&&_({className:"",style:""})}),[x,B,_]),(0,r.useEffect)((()=>{k&&(Array.isArray(x)&&x.length>1?(0,p.unregisterBlockStyle)("jetpack/opentable",["button"]):(0,p.registerBlockStyle)("jetpack/opentable",f.jn))}),[k,x]),(0,r.useEffect)((()=>{"wide"===L&&"wide"===S&&_({align:""}),"wide"===R&&L&&R!==L&&_({align:"wide"}),_({style:R})}),[R]);const D=(0,f.fL)(x),F=e=>x.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e],O=e=>{Array.isArray(e)?_({rid:e,style:e.length>1&&"button"===R?"standard":R}):(e=>{const t=(0,v.CC)(e);t||(E.removeAllNotices(),E.createErrorNotice((0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,__("We ran into an issue","jetpack")),(0,r.createElement)("br",null),__("Please ensure this embed matches the one from your OpenTable account","jetpack"))));const n=(0,g.S)(f.ez,t);_(n),E.removeAllNotices()})(e)},z=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.InspectorAdvancedControls,null,(0,r.createElement)(c.ToggleControl,{label:__("Load the widget in an iFrame (Recommended)","jetpack"),checked:P,onChange:()=>_({iframe:!P}),className:"is-opentable"}),"button"===R&&(0,r.createElement)(c.ToggleControl,{label:__("Remove button margin","jetpack"),checked:I,onChange:()=>_({negativeMargin:!I})})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(m.Z,{rids:x,onChange:O}),(0,r.createElement)(c.SelectControl,{label:__("Language","jetpack"),value:N,onChange:e=>_({lang:e}),options:f.V1}),(0,r.createElement)(c.ToggleControl,{label:__("Open in a new window","jetpack"),checked:A,onChange:()=>_({newtab:!A})})))),U=(0,s.Wp)()||(0,s.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",$=(0,r.createElement)(c.Placeholder,{label:__("OpenTable Reservation","jetpack"),icon:d.Z,instructions:__("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:w},(0,r.createElement)(m.Z,{rids:x,onSubmit:O}),(0,r.createElement)("div",{className:`${C}-placeholder-links`},(0,r.createElement)(c.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},__("Sign up for OpenTable","jetpack")),(0,r.createElement)(c.ExternalLink,{href:U},__("Learn more","jetpack")))),V=o()(n,{[`is-style-${R}`]:!M&&D.includes(R)&&-1===n.indexOf("is-style"),"is-placeholder":M,"is-multi":"multi"===F(R)[0],[`align${S}`]:S,"has-no-margin":I});return(0,r.createElement)(r.Fragment,null,w,(0,r.createElement)("div",{className:V},!M&&z,M?$:(e=>{const[t,n]=F(e||R);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${C}-overlay`}),(0,r.createElement)("iframe",{title:(0,u.sprintf)(
/* translators: Placeholder is a unique ID. */
-__("Open Table Preview %s","jetpack"),a),scrolling:"no",src:`https://www.opentable.com/widget/reservation/canvas?rid=${(0,i.join)(x,"%2C")}&type=${t}&theme=${n}&overlay=false&domain=${N}&lang=${P&&f.vW.includes(P)?P:"en-US"}&newtab=${A}&disablega=true`}))})()))}))},12087:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},(0,r.createElement)(a.Path,{d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))},5458:function(e,t,n){"use strict";n.d(t,{u2:function(){return m},Xd:function(){return h}});var r=n(69307),a=n(65736),o=n(4981),i=n(11868),s=n(65618),l=n(77583),c=n(97372),u=n(12087),p=n(88707),d=n(57535);n(6757);const __=a.__,_x=a._x,m="opentable",h={title:__("OpenTable","jetpack"),description:__("Allow visitors to book a reservation with OpenTable","jetpack"),icon:{src:u.Z,foreground:(0,d.m)()},category:"earn",keywords:[_x("booking","block search term","jetpack"),_x("reservation","block search term","jetpack"),_x("restaurant","block search term","jetpack")],supports:{align:!0,html:!1},edit:c.Z,save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map(((e,t)=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`,key:`${e}-${t}`},`https://www.opentable.com/restref/client/?rid=${e}`))))},attributes:i.ez,styles:(0,i.Eo)(),example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1,negativeMargin:!1}},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&0===e.textContent.indexOf("http")&&(p.pU.test(e.textContent)||p.tC.test(e.textContent)),transform:e=>{const t=(0,p.CC)(e.textContent);return(0,o.createBlock)("jetpack/opentable",t)}}]},deprecated:[s.Z,l.Z]}},70718:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(92819),s=n(55609),l=n(65736),c=n(74701);const __=l.__,_n=l._n;function u(e){const[t,n]=(0,o.useState)(""),r=(0,c.Z)(t,20),[l,u]=(0,o.useState)(e.rids||[]),p=/^(\d+)$|\(\#(\d+)\)$/,d=r.filter((e=>l.indexOf(e.rid.toString())<0)).map((e=>e.name+` (#${e.rid})`)),m=(0,o.createElement)(s.FormTokenField,a()({value:l,suggestions:d,saveTransform:e=>c.$.test(e)?"":e.trim(),onInputChange:n,maxSuggestions:20,label:_n("Restaurant","Restaurants",l.length,"jetpack")},e,{onChange:t=>{const n=t.map((e=>{const t=p.exec(e);return t[1]||t[2]}));u(n),e.onChange&&e.onChange(n)}}));return(0,o.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),e.onSubmit((0,i.isEmpty)(l)?t:l)}},m,(0,o.createElement)(s.Button,{isSecondary:!0,type:"submit"},__("Embed","jetpack"))):m)}},18746:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},74701:function(e,t,n){"use strict";n.d(t,{$:function(){return o},Z:function(){return i}});var r=n(92819),a=n(69307);const o=/^\s*(http[s]?:\/\/|\<script)/;function i(e,t){const[n,i]=(0,a.useState)([]),s=(0,a.useCallback)((0,r.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((e=>e.json())).then((e=>i((0,r.unionBy)(n,e.items,"rid"))))}),500),[n]);return(0,a.useEffect)((()=>{(0,r.isEmpty)(e)||o.test(e)||s(e)}),[e]),n}},88707:function(e,t,n){"use strict";n.d(t,{tC:function(){return a},pU:function(){return o},CC:function(){return i}});const r=/<\s*script[^>]*src\s*=\s*["']?([^"']*)/i,a=/restref=([0-9]+)&/,o=/rid=([0-9]+)&/,i=e=>{if(e)return(e=>{if(!e)return;let t="";if(t=0===e.indexOf("http")?new URL(e):new URL("http:"+e),!t.host||-1===t.host.indexOf("opentable")||!t.search)return;const n=new URLSearchParams(t.search);let r=n.get("theme");"button"===n.get("type")&&(r=n.get("type"));let a=n.getAll("rid");if(a&&0!==a.length||(a=n.getAll("restref")),!a||0===a.length)return;const o={};a&&(o.rid=a);const i=n.get("domain");i&&(o.domain=i);const s=n.get("iframe");s&&(o.iframe=s);const l=n.get("lang");l&&(o.lang=l);const c=n.get("newtab");return c&&(o.newtab=c),r&&(o.style=r),o})((e=>{const t=e.match(r);return t&&t[1]?t[1]:a.test(e)||o.test(e)?e:void 0})(e))}},79509:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(18161);const __=a.__,_x=a._x;function l(e){let{className:t,onSubmit:n,noticeUI:a,url:l,setUrl:c}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.Placeholder,{label:__("Pinterest","jetpack"),icon:(0,r.createElement)(i.BlockIcon,{icon:s.qv}),notices:a},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),n()}},(0,r.createElement)("input",{type:"url",value:l,className:"components-placeholder__input","aria-label":__("Pinterest URL","jetpack"),placeholder:__("Enter URL to embed here…","jetpack"),onChange:e=>c(e.target.value)}),(0,r.createElement)(o.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))))}},49362:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981);const __=a.__,_x=a._x;function s(e){let{fallbackUrl:t,onClick:n}=e;return(0,r.createElement)(r.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,r.createElement)(o.Button,{isLink:!0,onClick:()=>{const e=(0,r.createElement)("a",{href:t},t);n((0,i.createBlock)("core/paragraph",{content:(0,r.renderToString)(e)}))}},_x("Convert block to link","button label","jetpack")))}},61989:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(){return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(o.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack")))}},4052:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setEditingState:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},41659:function(e,t,n){"use strict";var r=n(69307),a=n(94991);t.Z={attributes:{url:{type:"string"}},supports:{align:!1,html:!1},save:e=>{let{attributes:t,className:n}=e;const{url:o}=t;return(0,a.t)(o)?(0,r.createElement)("div",{className:n},(0,r.createElement)("a",{"data-pin-do":(0,a.t)(o),href:o})):null}}},81253:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(52175),i=n(94991),s=n(4052),l=n(61989),c=n(79509),u=n(49362),p=n(79474);t.Z=(0,a.withNotices)((function(e){let{attributes:t,isSelected:n,className:d,noticeOperations:m,noticeUI:h,setAttributes:f,onReplace:g}=e;const{url:b}=t,{isFetching:v,pinterestUrl:k,testUrl:y,hasTestUrlError:E}=(0,p.Z)(),[w,_]=(0,r.useState)(!1),[C,j]=(0,r.useState)(""),[S,x]=(0,r.useState)(!1),T=(0,r.useCallback)((()=>(0,r.createElement)(u.Z,{fallbackUrl:C,onClick:g})),[E]),N=()=>{v||(y(C),x(!1))},P=()=>{_(!0)};if((0,r.useEffect)((()=>{b&&y(b)}),[]),(0,r.useEffect)((()=>{!n&&w&&_(!1)}),[n,w]),(0,r.useEffect)((()=>{f({url:k}),m.removeAllNotices(),k&&j(k),E&&m.createErrorNotice(T())}),[k,E,f,T]),v)return(0,r.createElement)(l.Z,null);const A=(0,i.t)(b);if(S||!b||b&&!A)return(0,r.createElement)(c.Z,{className:d,onSubmit:N,noticeUI:h,url:C,setUrl:j});const I=`<a data-pin-do='${A}' href='${b}'></a>`;return(0,r.createElement)("div",{className:d},(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.C,{setEditingState:x})),(0,r.createElement)("div",null,(0,r.createElement)(a.SandBox,{html:I,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:P}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:P})))}))},79474:function(e,t,n){"use strict";var r=n(69307),a=n(87072),o=n(18161);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(!1),[i,s]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i&&i!==o.a0&&(n(!0),(0,a.Z)(i).then((e=>{n(!1),s(e),c(!1)})).catch((()=>{n(!1),s(i||void 0),c(!0)})))}),[i]),{isFetching:t,pinterestUrl:i,hasTestUrlError:l,testUrl:s}}},18161:function(e,t,n){"use strict";n.d(t,{Wh:function(){return p},a0:function(){return d},u2:function(){return m},qv:function(){return f},Xd:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(81253),l=n(26981),c=n(57535),u=n(41659);const __=a.__,_x=a._x,p=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,d="https://pinterest.com/anapinskywalker/",m="pinterest",h=__("Pinterest","jetpack"),f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,null,(0,r.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),g={title:h,description:__("Embed a Pinterest pin, board, or user.","jetpack"),icon:{src:f,foreground:(0,c.m)()},category:"embed",keywords:[_x("social","block search term","jetpack"),_x("pinboard","block search term","jetpack"),_x("pins","block search term","jetpack")],supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:s.Z,save:l.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&p.test(e.textContent),transform:e=>(0,i.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}]},example:{attributes:{url:d}},deprecated:[u.Z]}},26981:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;return(0,r.createElement)("a",{href:n},n)}},94991:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(96483),a=n(18161);function o(e){if(!a.Wh.test(e))return"";const t=(0,r.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}},45452:function(e,t,n){"use strict";n.d(t,{G:function(){return s},q:function(){return l}});var r=n(12761),a=n(86989),o=n.n(a),i=n(96483);const s=async()=>await o()({path:"/wpcom/v2/podcast-player/track-quantity"}),l=async e=>{let t,n,a,{url:s,guids:l=[],fetchEpisodeOptions:c=!1}=e;try{t=await o()({path:(0,i.addQueryArgs)("/wpcom/v2/podcast-player",{url:s,guids:l,"episode-options":c})})}catch(e){n=e}if(t)return{type:r.u,data:t};try{a=await o()({path:(0,i.addQueryArgs)("/oembed/1.0/proxy",{url:s})})}catch(e){}const u='<a href="'+s+'">'+s+"</a>";if(a&&a.html!==u)return{type:r.b};throw n}},23600:function(e,t,n){"use strict";var r=n(96483),a=n(68039);t.Z={url:{type:"string",validator:r.isUrl},selectedEpisodes:{type:"array",default:[]},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeTitle:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}}},98006:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(76814);const s=(0,r.memo)((e=>{let{playerId:t,title:n,cover:a,link:o,track:i,children:s,showEpisodeTitle:c,showCoverArt:u,showEpisodeDescription:p,colors:d}=e;return u||c||p?(0,r.createElement)("div",{className:"jetpack-podcast-player__header"},(0,r.createElement)("div",{className:"jetpack-podcast-player__current-track-info"},u&&a&&(0,r.createElement)("div",{className:"jetpack-podcast-player__cover"},(0,r.createElement)("img",{className:"jetpack-podcast-player__cover-image",src:a,alt:""})),c&&!!(n||i&&i.title)&&(0,r.createElement)(l,{playerId:t,title:n,link:o,track:i,colors:d})),!!(p&&i&&i.description)&&(0,r.createElement)("p",{id:`${t}__track-description`,className:"jetpack-podcast-player__track-description"},i.description),s):s})),l=(0,r.memo)((e=>{let{playerId:t,title:n,link:a,track:s,colors:l={primary:{name:null,custom:null,classes:""}}}=e;return(0,r.createElement)("h2",{id:`${t}__title`,className:"jetpack-podcast-player__title"},!(!s||!s.title)&&(0,r.createElement)("span",{className:o()("jetpack-podcast-player__current-track-title",l.primary.classes),style:{color:l.primary.custom}},s.title,(0,r.createElement)("a",{className:"jetpack-podcast-player__track-title-link",href:s.link||s.src,target:"_blank",rel:"noopener noreferrer nofollow"},i.Z)),!!(s&&s.title&&n)&&(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"}," - "),!!n&&(0,r.createElement)(c,{title:n,link:a,colors:l}))})),c=(0,r.memo)((e=>{let{title:t,link:n}=e;return(0,r.createElement)("span",{className:"jetpack-podcast-player__podcast-title"},n?(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:n,target:"_blank",rel:"noopener noreferrer nofollow"},t):{title:t})}));t.Z=s},66530:function(e,t,n){"use strict";var r=n(69307),a=n(15111),o=n(15020);const i=(0,r.memo)((e=>{let{playerId:t,tracks:n,selectTrack:i,currentTrack:s,playerState:l,colors:c}=e;return(0,r.createElement)("ol",{className:"jetpack-podcast-player__tracks","aria-labelledby":`jetpack-podcast-player__tracklist-title--${t}`,"aria-describedby":`jetpack-podcast-player__tracklist-description--${t}`},n.map(((e,t)=>{const n=s===t;return(0,r.createElement)(o.Z,{key:e.id,index:t,track:e,selectTrack:i,isActive:n,isPlaying:n&&l===a.Wp,isError:n&&l===a.Vy,colors:c})})))}));t.Z=i},58627:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(25158),u=n(94333),p=n(9818),d=n(15111),m=n(92924),h=n(66530),f=n(98006),g=n(74693),b=n(56551);const __=l.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{currentTrack:0,hasUserInteraction:!1}),a()(this,"recordUserInteraction",(()=>{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})})),a()(this,"selectTrack",(e=>{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&&this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)})),a()(this,"loadTrack",(e=>{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&&this.setState({currentTrack:e});const{title:n,link:r,description:a}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:n,link:r}),(0,c.speak)(
+__("Open Table Preview %s","jetpack"),a),scrolling:"no",src:`https://www.opentable.com/widget/reservation/canvas?rid=${(0,i.join)(x,"%2C")}&type=${t}&theme=${n}&overlay=false&domain=${T}&lang=${N&&f.vW.includes(N)?N:"en-US"}&newtab=${A}&disablega=true`}))})()))}))},15040:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},(0,r.createElement)(a.Path,{d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))},69309:function(e,t,n){"use strict";n.d(t,{Xd:function(){return h},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(4981),i=n(31283),s=n(80452),l=n(70398),c=n(76851),u=n(15040),p=n(48769),d=n(70355);n(85921);const __=a.__,_x=a._x,m="opentable",h={title:__("OpenTable","jetpack"),description:__("Allow visitors to book a reservation with OpenTable","jetpack"),icon:{src:u.Z,foreground:(0,d.m)()},category:"earn",keywords:[_x("booking","block search term","jetpack"),_x("reservation","block search term","jetpack"),_x("restaurant","block search term","jetpack")],supports:{align:!0,html:!1},edit:c.Z,save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map(((e,t)=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`,key:`${e}-${t}`},`https://www.opentable.com/restref/client/?rid=${e}`))))},attributes:i.ez,styles:(0,i.Eo)(),example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1,negativeMargin:!1}},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&0===e.textContent.indexOf("http")&&(p.pU.test(e.textContent)||p.tC.test(e.textContent)),transform:e=>{const t=(0,p.CC)(e.textContent);return(0,o.createBlock)("jetpack/opentable",t)}}]},deprecated:[s.Z,l.Z]}},57087:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(92819),s=n(55609),l=n(65736),c=n(25392);const __=l.__,_n=l._n;function u(e){const[t,n]=(0,o.useState)(""),r=(0,c.Z)(t,20),[l,u]=(0,o.useState)(e.rids||[]),p=/^(\d+)$|\(\#(\d+)\)$/,d=r.filter((e=>l.indexOf(e.rid.toString())<0)).map((e=>e.name+` (#${e.rid})`)),m=(0,o.createElement)(s.FormTokenField,a()({value:l,suggestions:d,saveTransform:e=>c.$.test(e)?"":e.trim(),onInputChange:n,maxSuggestions:20,label:_n("Restaurant","Restaurants",l.length,"jetpack")},e,{onChange:t=>{const n=t.map((e=>{const t=p.exec(e);return t[1]||t[2]}));u(n),e.onChange&&e.onChange(n)}}));return(0,o.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),e.onSubmit((0,i.isEmpty)(l)?t:l)}},m,(0,o.createElement)(s.Button,{variant:"secondary",type:"submit"},__("Embed","jetpack"))):m)}},41007:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},25392:function(e,t,n){"use strict";n.d(t,{$:function(){return o},Z:function(){return i}});var r=n(92819),a=n(69307);const o=/^\s*(http[s]?:\/\/|\<script)/;function i(e,t){const[n,i]=(0,a.useState)([]),s=(0,a.useCallback)((0,r.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((e=>e.json())).then((e=>i((0,r.unionBy)(n,e.items,"rid"))))}),500),[n]);return(0,a.useEffect)((()=>{(0,r.isEmpty)(e)||o.test(e)||s(e)}),[e]),n}},48769:function(e,t,n){"use strict";n.d(t,{CC:function(){return i},pU:function(){return o},tC:function(){return a}});const r=/<\s*script[^>]*src\s*=\s*["']?([^"']*)/i,a=/restref=([0-9]+)&/,o=/rid=([0-9]+)&/,i=e=>{if(e)return(e=>{if(!e)return;let t="";if(t=0===e.indexOf("http")?new URL(e):new URL("http:"+e),!t.host||-1===t.host.indexOf("opentable")||!t.search)return;const n=new URLSearchParams(t.search);let r=n.get("theme");"button"===n.get("type")&&(r=n.get("type"));let a=n.getAll("rid");if(a&&0!==a.length||(a=n.getAll("restref")),!a||0===a.length)return;const o={};a&&(o.rid=a);const i=n.get("domain");i&&(o.domain=i);const s=n.get("iframe");s&&(o.iframe=s);const l=n.get("lang");l&&(o.lang=l);const c=n.get("newtab");return c&&(o.newtab=c),r&&(o.style=r),o})((e=>{const t=e.match(r);return t&&t[1]?t[1]:a.test(e)||o.test(e)?e:void 0})(e))}},50215:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(92819),o=n(65736),i=n(4981),s=n(9818),l=n(52175),c=n(76039);const __=o.__;function u(e){let{name:t,clientId:n}=e;const{blockType:o,hasInnerBlocks:u}=(0,s.useSelect)((e=>{var r;const{getBlocks:a}=e(l.store);return{blockType:(0,i.getBlockType)(t),hasInnerBlocks:(null===(r=a(n))||void 0===r?void 0:r.length)>0}})),{replaceBlock:p,selectBlock:d}=(0,s.useDispatch)(l.store),m=e=>{p(n,(0,i.createBlock)(e.name)),d(n)},h=c.Z.filter((e=>(0,i.getBlockType)(e.name)));(0,r.useEffect)((()=>{u||i.registerBlockVariation||m(h[0])}));return!u&&i.registerBlockVariation?(0,r.createElement)(l.__experimentalBlockVariationPicker,{icon:(0,a.get)(o,["icon","src"]),label:(0,a.get)(o,["title"]),instructions:__("Please select which kind of payment you'd like to add.","jetpack"),variations:h,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h[0];m(e)}}):(0,r.createElement)(l.InnerBlocks,null)}},68007:function(e,t,n){"use strict";n.d(t,{Xd:function(){return m},u2:function(){return d}});var r=n(69307),a=n(65736),o=n(52175),i=n(64967),s=n(50215),l=n(70355),c=n(29800),u=n(56367),p=n(50851);const __=a.__,_x=a._x,d="payments-intro",m={title:__("Payments","jetpack"),description:__("Sell products and services or receive donations on your website","jetpack"),icon:{src:i.Z,foreground:(0,l.m)()},category:"earn",keywords:[...new Set([c.Xd.title,...c.Xd.keywords,u.Xd.title,...u.Xd.keywords,p.X.title,...p.X.keywords,_x("paid","block search term","jetpack"),_x("pay","block search term","jetpack"),_x("money","block search term","jetpack"),_x("checkout","block search term","jetpack")])],supports:{alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:s.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null)}},76039:function(e,t,n){"use strict";var r=n(50851),a=n(29800),o=n(56367);const i=[[a.u2,a.Xd],[o.u2,o.Xd],[r.u,r.X]].map((e=>{var t;let[n,r]=e;return{name:n.includes("/")?n:"jetpack/"+n,title:r.title,description:r.description,icon:null!==(t=r.icon.src)&&void 0!==t?t:r.icon}}));t.Z=i},15774:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(66094);const __=a.__,_x=a._x;function s(e){let{className:t,onSubmit:n,noticeUI:a,url:s,setUrl:l}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.Placeholder,{label:__("Pinterest","jetpack"),icon:i.qv,notices:a},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),n()}},(0,r.createElement)("input",{type:"url",value:s,className:"components-placeholder__input","aria-label":__("Pinterest URL","jetpack"),placeholder:__("Enter URL to embed here…","jetpack"),onChange:e=>l(e.target.value)}),(0,r.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))))}},89488:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981);const __=a.__,_x=a._x;function s(e){let{fallbackUrl:t,onClick:n}=e;return(0,r.createElement)(r.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,r.createElement)(o.Button,{variant:"link",onClick:()=>{const e=(0,r.createElement)("a",{href:t},t);n((0,i.createBlock)("core/paragraph",{content:(0,r.renderToString)(e)}))}},_x("Convert block to link","button label","jetpack")))}},13647:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(){return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(o.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack")))}},89852:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setEditingState:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},15479:function(e,t,n){"use strict";var r=n(69307),a=n(34098);t.Z={attributes:{url:{type:"string"}},supports:{align:!1,html:!1},save:e=>{let{attributes:t,className:n}=e;const{url:o}=t;return(0,a.t)(o)?(0,r.createElement)("div",{className:n},(0,r.createElement)("a",{"data-pin-do":(0,a.t)(o),href:o})):null}}},43529:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(52175),i=n(34098),s=n(89852),l=n(13647),c=n(15774),u=n(89488),p=n(18867);t.Z=(0,a.withNotices)((function(e){let{attributes:t,isSelected:n,className:d,noticeOperations:m,noticeUI:h,setAttributes:f,onReplace:g}=e;const{url:b}=t,{isFetching:v,pinterestUrl:k,testUrl:y,hasTestUrlError:E}=(0,p.Z)(),[w,_]=(0,r.useState)(!1),[C,j]=(0,r.useState)(""),[S,x]=(0,r.useState)(!1),P=(0,r.useCallback)((()=>(0,r.createElement)(u.Z,{fallbackUrl:C,onClick:g})),[E]),T=()=>{v||(y(C),x(!1))},N=()=>{_(!0)};if((0,r.useEffect)((()=>{b&&y(b)}),[]),(0,r.useEffect)((()=>{!n&&w&&_(!1)}),[n,w]),(0,r.useEffect)((()=>{f({url:k}),m.removeAllNotices(),k&&j(k),E&&m.createErrorNotice(P())}),[k,E,f,P]),v)return(0,r.createElement)(l.Z,null);const A=(0,i.t)(b);if(S||!b||b&&!A)return(0,r.createElement)(c.Z,{className:d,onSubmit:T,noticeUI:h,url:C,setUrl:j});const I=`<a data-pin-do='${A}' href='${b}'></a>`;return(0,r.createElement)("div",{className:d},(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.C,{setEditingState:x})),(0,r.createElement)("div",null,(0,r.createElement)(a.SandBox,{html:I,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:N}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:N})))}))},18867:function(e,t,n){"use strict";var r=n(69307),a=n(23621),o=n(66094);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(!1),[i,s]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i&&i!==o.a0&&(n(!0),(0,a.Z)(i).then((e=>{n(!1),s(e),c(!1)})).catch((()=>{n(!1),s(i||void 0),c(!0)})))}),[i]),{isFetching:t,pinterestUrl:i,hasTestUrlError:l,testUrl:s}}},66094:function(e,t,n){"use strict";n.d(t,{Wh:function(){return p},Xd:function(){return g},a0:function(){return d},qv:function(){return f},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(43529),l=n(54709),c=n(70355),u=n(15479);const __=a.__,_x=a._x,p=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,d="https://pinterest.com/anapinskywalker/",m="pinterest",h=__("Pinterest","jetpack"),f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,null,(0,r.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),g={title:h,description:__("Embed a Pinterest pin, board, or user.","jetpack"),icon:{src:f,foreground:(0,c.m)()},category:"embed",keywords:[_x("social","block search term","jetpack"),_x("pinboard","block search term","jetpack"),_x("pins","block search term","jetpack")],supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:s.Z,save:l.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&p.test(e.textContent),transform:e=>(0,i.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}]},example:{attributes:{url:d}},deprecated:[u.Z]}},54709:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;return(0,r.createElement)("a",{href:n},n)}},34098:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(96483),a=n(66094);function o(e){if(!a.Wh.test(e))return"";const t=(0,r.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}},98075:function(e,t,n){"use strict";n.d(t,{G:function(){return s},q:function(){return l}});var r=n(63226),a=n(86989),o=n.n(a),i=n(96483);const s=async()=>await o()({path:"/wpcom/v2/podcast-player/track-quantity"}),l=async e=>{let t,n,a,{url:s,guids:l=[],fetchEpisodeOptions:c=!1}=e;try{t=await o()({path:(0,i.addQueryArgs)("/wpcom/v2/podcast-player",{url:s,guids:l,"episode-options":c})})}catch(e){n=e}if(t)return{type:r.u,data:t};try{a=await o()({path:(0,i.addQueryArgs)("/oembed/1.0/proxy",{url:s})})}catch(e){}const u='<a href="'+s+'">'+s+"</a>";if(a&&a.html!==u)return{type:r.b};throw n}},30723:function(e,t,n){"use strict";var r=n(96483),a=n(24381);t.Z={url:{type:"string",validator:r.isUrl},selectedEpisodes:{type:"array",default:[]},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeTitle:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}}},77715:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(29431);const s=(0,r.memo)((e=>{let{playerId:t,title:n,cover:a,link:o,track:i,children:s,showEpisodeTitle:c,showCoverArt:u,showEpisodeDescription:p,colors:d}=e;return u||c||p?(0,r.createElement)("div",{className:"jetpack-podcast-player__header"},(0,r.createElement)("div",{className:"jetpack-podcast-player__current-track-info"},u&&a&&(0,r.createElement)("div",{className:"jetpack-podcast-player__cover"},(0,r.createElement)("img",{className:"jetpack-podcast-player__cover-image",src:a,alt:""})),c&&!!(n||i&&i.title)&&(0,r.createElement)(l,{playerId:t,title:n,link:o,track:i,colors:d})),!!(p&&i&&i.description)&&(0,r.createElement)("p",{id:`${t}__track-description`,className:"jetpack-podcast-player__track-description"},i.description),s):s})),l=(0,r.memo)((e=>{let{playerId:t,title:n,link:a,track:s,colors:l={primary:{name:null,custom:null,classes:""}}}=e;return(0,r.createElement)("h2",{id:`${t}__title`,className:"jetpack-podcast-player__title"},!(!s||!s.title)&&(0,r.createElement)("span",{className:o()("jetpack-podcast-player__current-track-title",l.primary.classes),style:{color:l.primary.custom}},s.title,(0,r.createElement)("a",{className:"jetpack-podcast-player__track-title-link",href:s.link||s.src,target:"_blank",rel:"noopener noreferrer nofollow"},i.Z)),!!(s&&s.title&&n)&&(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"}," - "),!!n&&(0,r.createElement)(c,{title:n,link:a,colors:l}))})),c=(0,r.memo)((e=>{let{title:t,link:n}=e;return(0,r.createElement)("span",{className:"jetpack-podcast-player__podcast-title"},n?(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:n,target:"_blank",rel:"noopener noreferrer nofollow"},t):{title:t})}));t.Z=s},39122:function(e,t,n){"use strict";var r=n(69307),a=n(97115),o=n(72862);const i=(0,r.memo)((e=>{let{playerId:t,tracks:n,selectTrack:i,currentTrack:s,playerState:l,colors:c}=e;return(0,r.createElement)("ol",{className:"jetpack-podcast-player__tracks","aria-labelledby":`jetpack-podcast-player__tracklist-title--${t}`,"aria-describedby":`jetpack-podcast-player__tracklist-description--${t}`},n.map(((e,t)=>{const n=s===t;return(0,r.createElement)(o.Z,{key:e.id,index:t,track:e,selectTrack:i,isActive:n,isPlaying:n&&l===a.Wp,isError:n&&l===a.Vy,colors:c})})))}));t.Z=i},71600:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(25158),u=n(94333),p=n(9818),d=n(97115),m=n(72752),h=n(39122),f=n(77715),g=n(66085),b=n(71540);const __=l.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{currentTrack:0,hasUserInteraction:!1}),a()(this,"recordUserInteraction",(()=>{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})})),a()(this,"selectTrack",(e=>{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&&this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)})),a()(this,"loadTrack",(e=>{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&&this.setState({currentTrack:e});const{title:n,link:r,description:a}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:n,link:r}),(0,c.speak)(
/* translators: %s is the track title. It describes the current state of the track as "Loading: [track title]". */
-`${(0,l.sprintf)(__("Loading: %s","jetpack"),n)} ${a}`,"assertive"),!0})),a()(this,"loadAndPlay",(e=>{this.recordUserInteraction(),this.loadTrack(e)&&this.props.playMediaSource(this.props.playerId)})),a()(this,"getTrack",(e=>this.props.tracks[e])),a()(this,"handleError",(e=>{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?"IE11: Playing sounds in webpages setting is not checked":e;this.setState((()=>{throw new Error(t)}))}this.props.errorMediaSource(this.props.playerId),(0,c.speak)(`${__("Error: Episode unavailable - Open in a new tab","jetpack")}`,"assertive")})),a()(this,"handlePlay",(()=>{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})})),a()(this,"handlePause",(()=>{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==d.Vy&&this.props.pauseMediaSource(this.props.playerId)})),a()(this,"handleTimeChange",(e=>{this.props.setMediaSourceCurrentTime(this.props.playerId,e)})),a()(this,"handleJump",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)})),a()(this,"handleSkip",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)})),a()(this,"updateMediaData",(e=>{this.props.updateMediaSourceData(this.props.playerId,{duration:e.target?.duration,domId:e.target?.id})}))}registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:d._5}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&&this.registerPlayer()}componentWillUnmount(){this.props.playerId&&this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=>e?.length?e.map((e=>e.guid)):[],n=t(this.props.tracks),r=new Set(t(e.tracks));n.length===r.size&&n.every((e=>r.has(e)))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length<=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:n,cover:r,tracks:a,attributes:i,currentTime:c,playerState:u}=this.props,{itemsToShow:p,primaryColor:d,customPrimaryColor:b,hexPrimaryColor:v,secondaryColor:k,customSecondaryColor:y,hexSecondaryColor:E,backgroundColor:w,customBackgroundColor:_,hexBackgroundColor:C,showCoverArt:j,showEpisodeTitle:S,showEpisodeDescription:x}=i,{currentTrack:T}=this.state,N=a.slice(0,p),P=this.getTrack(T),A=(0,g.Aq)({primaryColor:d,customPrimaryColor:b,secondaryColor:k,customSecondaryColor:y,backgroundColor:w,customBackgroundColor:_}),I={color:y,backgroundColor:_,"--jetpack-podcast-player-primary":v,"--jetpack-podcast-player-secondary":E,"--jetpack-podcast-player-background":C},M=s()("jetpack-podcast-player",u,A.secondary.classes,A.background.classes);return(0,o.createElement)("section",{className:M,style:I,"aria-labelledby":t||P&&P.title?`${e}__title`:void 0,"aria-describedby":P&&P.description?`${e}__track-description`:void 0,"data-jetpack-iframe-ignore":!0},(0,o.createElement)(f.Z,{playerId:e,title:t,link:n,cover:r,track:this.getTrack(T),showCoverArt:j,showEpisodeTitle:S,showEpisodeDescription:x,colors:A},(0,o.createElement)(m.Z,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(T).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:u,currentTime:c,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})),N.length>1&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h4",{id:`jetpack-podcast-player__tracklist-title--${e}`,className:"jetpack-podcast-player--visually-hidden"},(0,l.sprintf)(// translators: %s is the track title.
-__("Playlist: %s","jetpack"),t)),(0,o.createElement)("p",{id:`jetpack-podcast-player__tracklist-description--${e}`,className:"jetpack-podcast-player--visually-hidden"},__("Select an episode to play it in the audio player.","jetpack")),(0,o.createElement)(h.Z,{playerId:e,playerState:u,currentTrack:T,tracks:N,selectTrack:this.selectTrack,colors:A})))}}v.defaultProps={title:"",cover:"",link:"",attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]},t.Z=(0,u.compose)([b.Z,(0,p.withSelect)(((e,t)=>{const{playerId:n}=t,{getMediaSourceCurrentTime:r,getMediaPlayerState:a}=e(d.tT);return{currentTime:r(n),playerState:a(n)}})),(0,p.withDispatch)((e=>{const{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}=e(d.tT);return{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}}))])(v)},86852:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=(0,r.memo)((e=>{let{link:t,title:n,colors:o}=e;return(0,r.createElement)("div",{className:"jetpack-podcast-player__track-error"},__("Episode unavailable. ","jetpack"),t&&(0,r.createElement)("span",{className:o.secondary.classes,style:{color:o.secondary.custom}},(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:t,rel:"noopener noreferrer nofollow",target:"_blank"},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${(0,a.sprintf)(
+`${(0,l.sprintf)(__("Loading: %s","jetpack"),n)} ${a}`,"assertive"),!0})),a()(this,"loadAndPlay",(e=>{this.recordUserInteraction(),this.loadTrack(e)&&this.props.playMediaSource(this.props.playerId)})),a()(this,"getTrack",(e=>this.props.tracks[e])),a()(this,"handleError",(e=>{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?"IE11: Playing sounds in webpages setting is not checked":e;this.setState((()=>{throw new Error(t)}))}this.props.errorMediaSource(this.props.playerId),(0,c.speak)(`${__("Error: Episode unavailable - Open in a new tab","jetpack")}`,"assertive")})),a()(this,"handlePlay",(()=>{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})})),a()(this,"handlePause",(()=>{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==d.Vy&&this.props.pauseMediaSource(this.props.playerId)})),a()(this,"handleTimeChange",(e=>{this.props.setMediaSourceCurrentTime(this.props.playerId,e)})),a()(this,"handleJump",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)})),a()(this,"handleSkip",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)})),a()(this,"updateMediaData",(e=>{var t,n;this.props.updateMediaSourceData(this.props.playerId,{duration:null===(t=e.target)||void 0===t?void 0:t.duration,domId:null===(n=e.target)||void 0===n?void 0:n.id})}))}registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:d._5}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&&this.registerPlayer()}componentWillUnmount(){this.props.playerId&&this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=>null!=e&&e.length?e.map((e=>e.guid)):[],n=t(this.props.tracks),r=new Set(t(e.tracks));n.length===r.size&&n.every((e=>r.has(e)))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length<=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:n,cover:r,tracks:a,attributes:i,currentTime:c,playerState:u}=this.props,{itemsToShow:p,primaryColor:d,customPrimaryColor:b,hexPrimaryColor:v,secondaryColor:k,customSecondaryColor:y,hexSecondaryColor:E,backgroundColor:w,customBackgroundColor:_,hexBackgroundColor:C,showCoverArt:j,showEpisodeTitle:S,showEpisodeDescription:x}=i,{currentTrack:P}=this.state,T=a.slice(0,p),N=this.getTrack(P),A=(0,g.Aq)({primaryColor:d,customPrimaryColor:b,secondaryColor:k,customSecondaryColor:y,backgroundColor:w,customBackgroundColor:_}),I={color:y,backgroundColor:_,"--jetpack-podcast-player-primary":v,"--jetpack-podcast-player-secondary":E,"--jetpack-podcast-player-background":C},M=s()("jetpack-podcast-player",u,A.secondary.classes,A.background.classes);return(0,o.createElement)("section",{className:M,style:I,"aria-labelledby":t||N&&N.title?`${e}__title`:void 0,"aria-describedby":N&&N.description?`${e}__track-description`:void 0,"data-jetpack-iframe-ignore":!0},(0,o.createElement)(f.Z,{playerId:e,title:t,link:n,cover:r,track:this.getTrack(P),showCoverArt:j,showEpisodeTitle:S,showEpisodeDescription:x,colors:A},(0,o.createElement)(m.Z,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(P).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:u,currentTime:c,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})),T.length>1&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h4",{id:`jetpack-podcast-player__tracklist-title--${e}`,className:"jetpack-podcast-player--visually-hidden"},(0,l.sprintf)(// translators: %s is the track title.
+__("Playlist: %s","jetpack"),t)),(0,o.createElement)("p",{id:`jetpack-podcast-player__tracklist-description--${e}`,className:"jetpack-podcast-player--visually-hidden"},__("Select an episode to play it in the audio player.","jetpack")),(0,o.createElement)(h.Z,{playerId:e,playerState:u,currentTrack:P,tracks:T,selectTrack:this.selectTrack,colors:A})))}}v.defaultProps={title:"",cover:"",link:"",attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]},t.Z=(0,u.compose)([b.Z,(0,p.withSelect)(((e,t)=>{const{playerId:n}=t,{getMediaSourceCurrentTime:r,getMediaPlayerState:a}=e(d.tT);return{currentTime:r(n),playerState:a(n)}})),(0,p.withDispatch)((e=>{const{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}=e(d.tT);return{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}}))])(v)},46843:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=(0,r.memo)((e=>{let{link:t,title:n,colors:o}=e;return(0,r.createElement)("div",{className:"jetpack-podcast-player__track-error"},__("Episode unavailable. ","jetpack"),t&&(0,r.createElement)("span",{className:o.secondary.classes,style:{color:o.secondary.custom}},(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:t,rel:"noopener noreferrer nofollow",target:"_blank"},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${(0,a.sprintf)(
/* translators: %s is the title of the track. This text is visually hidden from the screen, but available to screen readers. */
-__("%s:","jetpack"),n)} `),__("Open in a new tab","jetpack"))))}));t.Z=o},71938:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(72086);const __=a.__,i=(0,r.memo)((e=>{let t,n,{isPlaying:a,isError:i,className:s}=e;i?(n="error",
+__("%s:","jetpack"),n)} `),__("Open in a new tab","jetpack"))))}));t.Z=o},96817:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(69650);const __=a.__,i=(0,r.memo)((e=>{let t,n,{isPlaying:a,isError:i,className:s}=e;i?(n="error",
/* translators: This is text to describe the current state. This will go
before the track title, such as "Error: [The title of the track]". */
t=__("Error:","jetpack")):a&&(n="playing",
/* translators: Text to describe the current state. This will go before the
track title, such as "Playing: [The title of the track]". */
-t=__("Playing:","jetpack"));const l=o[n];return l?(0,r.createElement)("span",{className:`${s} ${s}--${n}`},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${t} `),l):(0,r.createElement)("span",{className:s})}));t.Z=i},15020:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(71938),l=n(86852),c=n(74693);const __=i.__,u=(0,r.memo)((e=>{let{track:t,isActive:n,isPlaying:a,isError:i,selectTrack:u,index:p,colors:d={primary:{},secondary:{}}}=e;const m=(0,c.Gd)("color",d.primary.name),h=(0,c.Gd)("color",d.secondary.name),f=o()("jetpack-podcast-player__track",{"is-active":n,"has-primary":n&&(d.primary.name||d.primary.custom),[m]:n&&!!m,"has-secondary":!n&&(d.secondary.name||d.secondary.custom),[h]:!n&&!!h}),g={};n&&d.primary.custom&&!m?g.color=d.primary.custom:n||!d.secondary.custom||h||(g.color=d.secondary.custom);const
+t=__("Playing:","jetpack"));const l=o[n];return l?(0,r.createElement)("span",{className:`${s} ${s}--${n}`},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${t} `),l):(0,r.createElement)("span",{className:s})}));t.Z=i},72862:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(96817),l=n(46843),c=n(66085);const __=i.__,u=(0,r.memo)((e=>{let{track:t,isActive:n,isPlaying:a,isError:i,selectTrack:u,index:p,colors:d={primary:{},secondary:{}}}=e;const m=(0,c.Gd)("color",d.primary.name),h=(0,c.Gd)("color",d.secondary.name),f=o()("jetpack-podcast-player__track",{"is-active":n,"has-primary":n&&(d.primary.name||d.primary.custom),[m]:n&&!!m,"has-secondary":!n&&(d.secondary.name||d.secondary.custom),[h]:!n&&!!h}),g={};n&&d.primary.custom&&!m?g.color=d.primary.custom:n||!d.secondary.custom||h||(g.color=d.secondary.custom);const
/* translators: This needs to be a single word with no spaces. It describes
the current item in the group. A screen reader will announce it as "[title],
current track". */
-b=n?__("track","jetpack"):void 0;return(0,r.createElement)("li",{className:f,style:Object.keys(g).length?g:null},(0,r.createElement)("a",{className:"jetpack-podcast-player__link jetpack-podcast-player__track-link",href:t.link||t.src,role:"button","aria-current":b,onClick:e=>{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),u(p))},onKeyDown:e=>{" "===event.key&&(e.preventDefault(),u(p))}},(0,r.createElement)(s.Z,{className:"jetpack-podcast-player__track-status-icon",isPlaying:a,isError:i}),(0,r.createElement)("span",{className:"jetpack-podcast-player__track-title"},t.title),t.duration&&(0,r.createElement)("time",{className:"jetpack-podcast-player__track-duration",dateTime:t.duration},t.duration)),n&&i&&(0,r.createElement)(l.Z,{link:t.link,title:t.title,colors:d}))}));t.Z=u},56551:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(27538),a=n.n(r),o=n(69307),i=n(65736);const __=i.__;function s(e){class t extends o.Component{constructor(){super(...arguments),a()(this,"state",{didError:!1,isIE11AudioIssue:!1}),a()(this,"componentDidCatch",((e,t)=>{this.props.onError(e,t)}))}render(){const{didError:t,isIE11AudioIssue:n}=this.state;return t?(0,o.createElement)("section",{className:"jetpack-podcast-player"},(0,o.createElement)("p",{className:"jetpack-podcast-player__error"},n?__('The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s "Internet options" settings. In the "Advanced" tab you will have to check the box next to "Play sounds in webpages" in the "Multimedia" section. Once you have confirmed that the box is checked, please press "Apply" and then reload this page.',"jetpack"):__("An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.","jetpack",0))):(0,o.createElement)(e,this.props)}}return a()(t,"getDerivedStateFromError",(e=>({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)}))),t.defaultProps={onError:()=>{}},t}},12761:function(e,t,n){"use strict";n.d(t,{u:function(){return r},b:function(){return a}});const r="podcast-feed",a="embed-block"},90307:function(e,t,n){"use strict";var r=n(96483),a=n(68039);const o={url:{type:"string",validator:r.isUrl},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}};t.Z={attributes:o,supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},save:()=>null}},87315:function(e,t,n){"use strict";var r=n(69307),a=n(90922),o=n.n(a),i=n(92819),s=n(55609),l=n(94333),c=n(65736),u=n(52175),p=n(9818),d=n(4981),m=n(96483),h=n(14087),f=n(41820),g=n(58014),b=n(23600),v=n(58627),k=n(74693),y=n(45452),E=n(91763),w=n(71420),_=n(12761),C=n(87929);const __=c.__,j=o()("jetpack:podcast-player:edit"),S=(0,g.Wp)()||(0,g.Ug)()?"http://en.support.wordpress.com/wordpress-editor/blocks/podcast-player-block/":"https://jetpack.com/support/jetpack-blocks/podcast-player-block/";t.Z=(0,l.compose)([(0,p.withDispatch)(((e,t)=>{let{clientId:n,attributes:r}=t;return{replaceWithEmbedBlock(){e("core/block-editor").replaceBlock(n,(0,d.createBlock)("core/embed",{url:r.url}))}}})),(0,u.withColors)("backgroundColor",{primaryColor:"color"},{secondaryColor:"color"}),s.withNotices,l.withInstanceId,w.K])((e=>{let{instanceId:t,className:n,attributes:a,setAttributes:o,noticeOperations:{createErrorNotice:l,removeAllNotices:c},noticeUI:p,primaryColor:d,setPrimaryColor:g,secondaryColor:w,setSecondaryColor:x,fallbackTextColor:T,backgroundColor:N,setBackgroundColor:P,fallbackBackgroundColor:A,isSelected:I,replaceWithEmbedBlock:M}=e;const B=(0,h.S)(b.Z,a),{url:R,selectedEpisodes:L,itemsToShow:Z,showCoverArt:F,showEpisodeTitle:D,showEpisodeDescription:O,exampleFeedData:z}=B,U=`jetpack-podcast-player-block-${t}`,[$,V]=(0,r.useState)(!1),[G,q]=(0,r.useState)(10),H=(0,r.useRef)(),[{selectedGuid:W,checkUrl:K,...X},J]=(0,r.useReducer)(E.J,{editedUrl:R||"",isEditing:!R&&!z,isLoading:!1,feedData:z||{},isInteractive:!1,selectedGuid:L?.[0]?.guid,checkUrl:R||""}),Y=(0,r.useMemo)((()=>(0,i.debounce)((e=>{J({type:E.N.START_FETCH}),H.current?.cancel(),H.current=(0,k.W4)((0,y.q)({...e,fetchEpisodeOptions:!0})),H.current.promise.then((t=>{if(c(),t?.isCanceled)j("Block was unmounted during fetch",t);else switch(t?.type){case _.u:return o({url:e.url,selectedEpisodes:e.guids.map((e=>({guid:e})))}),J({type:E.N.FEED_RECEIVED,payload:t.data});case _.b:return M()}}),(e=>{e?.isCanceled?j("Block was unmounted during fetch",e):(j("feed error",e),c(),l(e.message||__("Your podcast couldn't be embedded. Please double check your URL.","jetpack")),J({type:E.N.START_EDITING}))}))}),300)),[M,o,l,c]);(0,r.useEffect)((()=>()=>{H?.current?.cancel?.()}),[]);const Q=(0,r.useCallback)((e=>{null===e||$||((0,C.DT)(["link#mediaelement-css","link#wp-mediaelement-css"],e),V(!0))}),[$]);(0,r.useEffect)((()=>{if(""!==K)return Y({url:K,guids:W?[W]:[]}),()=>H?.current?.cancel?.()}),[Y,K,W]),(0,r.useEffect)((()=>{(0,y.G)().then((e=>{q(e)}))}),[]),(0,r.useEffect)((()=>{W&&1!==Z&&o({itemsToShow:1})}),[W,Z,o]),(0,r.useEffect)((()=>{!I&&X.isInteractive&&J({type:E.N.PREVENT_INTERACTIONS})}),[I,X.isInteractive]);const ee=e=>{if(e.preventDefault(),""===X.editedUrl)return;const t=(0,m.prependHTTP)(X.editedUrl);(0,m.isURL)(t)?(t===K?(J({type:E.N.CLEAR_FEED}),Y({url:K,guids:L[0]?.guid?[L[0].guid]:[]})):J({type:E.N.CHECK_URL,payload:t}),J({type:E.N.FINISH_EDITING,payload:t})):l(__("Your podcast couldn't be embedded. Please double check your URL.","jetpack"))};if(X.isEditing)return(0,r.createElement)(s.Placeholder,{icon:(0,r.createElement)(u.BlockIcon,{icon:f.E}),label:__("Podcast Player","jetpack"),instructions:__("Enter your podcast RSS feed URL.","jetpack"),className:"jetpack-podcast-player__placeholder"},(0,r.createElement)("form",{onSubmit:ee},p,(0,r.createElement)(s.TextControl,{type:"text",inputMode:"url",placeholder:__("Enter URL here…","jetpack"),value:X.editedUrl,className:"components-placeholder__input",onChange:e=>J({type:E.N.EDIT_URL,payload:e})}),(0,r.createElement)(s.Button,{isPrimary:!0,type:"submit"},__("Embed","jetpack"))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(s.ExternalLink,{href:S},__("Learn more about embeds","jetpack"))));if(!X.feedData.tracks?.length)return(0,r.createElement)(s.Placeholder,{icon:(0,r.createElement)(u.BlockIcon,{icon:f.E}),label:__("Podcast Player","jetpack"),instructions:__("Loading podcast feed…","jetpack")},(0,r.createElement)(s.Spinner,null));const te=(e,t)=>n=>{o({[e]:n}),t(n)};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarButton,{"aria-label":__("Edit Podcast Feed URL","jetpack"),onClick:()=>J({type:E.N.START_EDITING})},__("Replace","jetpack")))),(0,r.createElement)(u.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Podcast settings","jetpack")},(s.ComboboxControl||0===L.length)&&(0,r.createElement)(s.RangeControl,{label:__("Number of items","jetpack"),value:Z,onChange:e=>o({itemsToShow:W?1:e}),min:1,max:G,required:!0,disabled:!!W}),s.ComboboxControl&&(0,r.createElement)(s.ComboboxControl,{className:"jetpack-podcast-player__episode-selector",value:W,onChange:e=>J({type:E.N.SELECT_EPISODE,payload:e}),options:X.feedData.options||[],label:__("Episode","jetpack"),onFilterValueChange:i.noop}),(0,r.createElement)(s.ToggleControl,{label:__("Show Cover Art","jetpack"),checked:F,onChange:e=>o({showCoverArt:e})}),(0,r.createElement)(s.ToggleControl,{label:__("Show Episode Title","jetpack"),checked:D,onChange:e=>o({showEpisodeTitle:e})}),(0,r.createElement)(s.ToggleControl,{label:__("Show Episode Description","jetpack"),checked:O,onChange:e=>o({showEpisodeDescription:e})})),(0,r.createElement)(u.PanelColorSettings,{title:__("Color Settings","jetpack"),colorSettings:[{value:d.color,onChange:te("hexPrimaryColor",g),label:__("Primary Color","jetpack")},{value:w.color,onChange:te("hexSecondaryColor",x),label:__("Secondary Color","jetpack")},{value:N.color,onChange:te("hexBackgroundColor",P),label:__("Background Color","jetpack")}]},(0,r.createElement)(u.ContrastChecker,{isLargeText:!1,textColor:w.color,backgroundColor:N.color,fallbackBackgroundColor:A,fallbackTextColor:T}))),(0,r.createElement)("div",{id:U,className:n,ref:Q},(0,r.createElement)(v.Z,{playerId:U,attributes:B,tracks:X.feedData.tracks,cover:X.feedData.cover,title:X.feedData.title,link:X.feedData.link}),!X.isInteractive&&!X.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__interactive-overlay",onMouseUp:()=>J({type:E.N.MAKE_INTERACTIVE})}),X.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__loading-overlay"},(0,r.createElement)(s.Spinner,null))))}))},41820:function(e,t,n){"use strict";n.d(t,{E:function(){return r.Z}});var r=n(95506)},76814:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.Z=o},95506:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,null,(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"})),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,null),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,{transform:"matrix(1 0 0 1 144 120)"},(0,r.createElement)(a.Path,{d:"M-122-114h-5v8.18c-0.31-0.11-0.65-0.18-1-0.18c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3v-9h3V-114 L-122-114z M-129-114h-12v2h12V-114L-129-114z M-129-110h-12v2h12V-110L-129-110z M-133-106h-8v2h8V-106L-133-106z M-129-103 c0-0.55,0.45-1,1-1c0.55,0,1,0.45,1,1s-0.45,1-1,1C-128.55-102-129-102.45-129-103z"})))))},72086:function(e,t,n){"use strict";n.r(t),n.d(t,{playing:function(){return i},error:function(){return s}});var r=n(69307),a=n(55609);const o={height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},i=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"})),s=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},58495:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p}});var r=n(65736),a=n(23600),o=n(90307),i=n(87315),s=n(99944),l=n(41820),c=n(57535);const __=r.__,_x=r._x,u="podcast-player",p={title:__("Podcast Player","jetpack"),description:__("Select and play episodes from a single podcast.","jetpack"),icon:{src:l.E,foreground:(0,c.m)()},category:"embed",keywords:[_x("audio","block search term","jetpack"),_x("embed","block search term","jetpack")],supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},edit:i.Z,save:s.Z,attributes:a.Z,example:{attributes:{customPrimaryColor:(0,c.m)(),hexPrimaryColor:(0,c.m)(),exampleFeedData:{title:__("Jetpack Example Podcast","jetpack"),link:"https://jetpack.com",cover:"https://jetpackme.files.wordpress.com/2020/05/jetpack-example-podcast-cover.png?w=160",tracks:[{id:"3",title:__("3. Our third episode","jetpack"),duration:"14:58"},{id:"2",title:__("2. Interview with a special guest","jetpack"),duration:"19:17"},{id:"1",title:__("1. Welcome to Example Podcast","jetpack"),duration:"11:25"}]}}},deprecated:[o.Z]}},99944:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;if(n&&""!==n)return(0,r.createElement)("a",{className:"jetpack-podcast-player__direct-link",href:n},n)}},91763:function(e,t,n){"use strict";n.d(t,{N:function(){return r},J:function(){return a}});const r={EDIT_URL:"EDIT_URL",FINISH_EDITING:"FINISH_EDITING",START_EDITING:"START_EDITING",SELECT_EPISODE:"SELECT_EPISODE",FEED_RECEIVED:"FEED_RECEIVED",CLEAR_FEED:"CLEAR_FEED",MAKE_INTERACTIVE:"MAKE_INTERACTIVE",PREVENT_INTERACTIONS:"PREVENT_INTERACTIONS",START_FETCH:"START_FETCH",CHECK_URL:"CHECK_URL"},a=(e,t)=>{switch(t.type){case r.EDIT_URL:return{...e,editedUrl:t.payload};case r.START_EDITING:return{...e,isEditing:!0,isLoading:!1};case r.FINISH_EDITING:return{...e,editedUrl:t.payload,isEditing:!1};case r.FEED_RECEIVED:return{...e,isLoading:!1,feedData:t.payload};case r.CLEAR_FEED:return{...e,feedData:{}};case r.MAKE_INTERACTIVE:return{...e,isInteractive:!0};case r.PREVENT_INTERACTIONS:return{...e,isInteractive:!1};case r.START_FETCH:return{...e,isLoading:!0};case r.SELECT_EPISODE:return{...e,selectedGuid:t.payload};case r.CHECK_URL:return{...e,selectedGuid:null,feedData:{},checkUrl:t.payload};default:return{...e}}}},74693:function(e,t,n){"use strict";n.d(t,{Gd:function(){return i},W4:function(){return s},Aq:function(){return l}});var r=n(89105),a=n.n(r),o=n(92819);function i(e,t){if(e&&t)return`has-${t}-${e}`}function s(e){let t=!1;return{promise:new Promise(((n,r)=>{e.then((e=>t?r({isCanceled:!0}):n(e)),(e=>r(t?{isCanceled:!0}:e)))})),cancel(){t=!0}}}const l=(0,o.memoize)((e=>{let{primaryColor:t,customPrimaryColor:n,secondaryColor:r,customSecondaryColor:o,backgroundColor:s,customBackgroundColor:l}=e;const c=i("color",t),u=i("color",r),p=i("background-color",s);return{primary:{name:t,custom:n,classes:a()({"has-primary":c||n,[c]:c})},secondary:{name:r,custom:o,classes:a()({"has-secondary":u||o,[u]:u})},background:{name:s,custom:l,classes:a()({"has-background":p||l,[p]:p})}}}),(e=>Object.values(e).join()))},59189:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"premium-content-wrapper"},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:["premium-content/subscriber-view","premium-content/logged-out-view"],templateLock:"all",template:[["premium-content/subscriber-view"],["premium-content/logged-out-view"]],__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))}},2963:function(e,t,n){"use strict";var r=n(69307);const a={selectedTab:{id:"",className:"",label:(0,r.createElement)(r.Fragment,null)},stripeNudge:null},o=(0,r.createContext)(a);t.Z=o},76136:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(55609),l=n(22607),c=n(7345),u=n(65736),p=n(29917),d=n(20361);const __=u.__;function m(e){const{selectedPlanId:t,onSelected:n,plans:r,getPlanDescription:u}=e,m=r.find((e=>e.id===t));let h=null;return m&&(h=" "+u(m)),(0,o.createElement)(i.BlockControls,null,(0,o.createElement)(s.ToolbarGroup,null,(0,o.createElement)(s.ToolbarItem,null,(()=>(0,o.createElement)(s.DropdownMenu,{icon:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.Z,{icon:c.Z})," ",h&&(0,o.createElement)(o.Fragment,null,h)),label:__("Select a plan","jetpack"),className:"premium-content-toolbar-button"},(t=>{let{onClose:r}=t;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.Z,a()({},e,{onSelected:n,onClose:r,selectedPlan:m})),(0,o.createElement)(d.Z,a()({},e,{onClose:r})))}))))))}},47322:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z"}),(0,r.createElement)(a.Circle,{cx:"12.7439",cy:"8.69796",r:"5.94466",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(a.Path,{d:"M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}))},61114:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(55609),o=n(52175),i=n(65736),s=n(17882);const __=i.__;function l(e){const[t,n]=(0,r.useState)(0),{attributes:i,setAttributes:l,className:c,savePlan:u,siteSlug:p}=e;return(0,r.createElement)(o.InspectorControls,null,p&&(0,r.createElement)(a.ExternalLink,{href:`https://wordpress.com/earn/payments/${p}`,className:"wp-block-premium-content-container---link-to-earn"},__("Manage your subscriptions.","jetpack")),(0,r.createElement)(a.PanelBody,{title:__("Add a new subscription","jetpack"),initialOpen:!0,className:`${c}---settings-add_plan`},1===t&&(0,r.createElement)(a.Placeholder,{icon:"lock",label:__("Premium Content","jetpack"),instructions:__("Saving plan…","jetpack")},(0,r.createElement)(a.Spinner,null)),0===t&&(0,r.createElement)("div",null,(0,r.createElement)(a.PanelRow,{className:"plan-name"},(0,r.createElement)(a.TextControl,{id:"new-plan-name",label:__("Name","jetpack"),value:i.newPlanName,onChange:e=>l({newPlanName:e})})),(0,r.createElement)(a.PanelRow,{className:"plan-price"},(0,r.createElement)(a.SelectControl,{label:__("Currency","jetpack"),onChange:e=>l({newPlanCurrency:e}),value:i.newPlanCurrency,options:s.Xy}),(0,r.createElement)(a.TextControl,{label:__("Price","jetpack"),value:i.newPlanPrice,onChange:e=>l({newPlanPrice:parseFloat(e)}),type:"number"})),(0,r.createElement)(a.PanelRow,{className:"plan-interval"},(0,r.createElement)(a.SelectControl,{label:__("Interval","jetpack"),onChange:e=>l({newPlanInterval:e}),value:i.newPlanInterval,options:[{label:__("Month","jetpack"),value:"1 month"},{label:__("Year","jetpack"),value:"1 year"}]})),(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isSecondary:!0,isLarge:!0,onClick:t=>{t.preventDefault(),n(1),u(e.attributes,(e=>{n(0),e&&(l({newPlanPrice:5}),l({newPlanName:""}))}))}},__("Add subscription","jetpack"))))))}},20361:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(9818),o=n(55609),i=n(65736);const __=i.__;function s(e){return(0,r.createElement)(o.MenuGroup,null,(0,r.createElement)(o.MenuItem,{onClick:t=>{t.preventDefault(),(0,a.select)("core/edit-post").isEditorSidebarOpened()||(0,a.dispatch)("core/edit-post").openGeneralSidebar("edit-post/block");const n=document.getElementById("new-plan-name");null!==n&&n.focus(),e.onClose()}},__("Add a new subscription","jetpack")))}},61556:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(55609);function o(e){const{className:t,plan:n,selectedPlan:o,onSelected:i,onClose:s,getPlanDescription:l}=e,c=o&&n.id===o.id,u=(c?["is-selected"]:[]).concat([t]).join(" "),p=c?"yes":void 0;let d=null;return n&&(d=" "+l(n)),(0,r.createElement)(a.MenuItem,{onClick:e=>{e.preventDefault(),i(n),s()},className:u,key:n.id,value:n.id,selected:c,icon:p},n.title," : ",d)}},29917:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(29183),a=n.n(r),o=n(69307),i=n(55609),s=n(61556);function l(e){const{plans:t,selectedPlan:n,onSelected:r}=e;return(0,o.createElement)(i.MenuGroup,null,t.map((t=>(0,o.createElement)(s.Z,a()({},e,{key:t.id,selectedPlan:n,onSelected:r,plan:t})))))}},34411:function(e,t,n){"use strict";n.d(t,{W:function(){return a},H:function(){return o}});var r=n(9818);const a=e=>0===e.name.indexOf("premium-content/")||e.innerBlocks.some(a),o=e=>{const{getBlocksByClientId:t,getBlockParents:n}=(0,r.select)("core/block-editor");return!!t(n(e.clientId)).find((e=>0===e.name.indexOf("premium-content/")))}},97894:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(94333),i=n(9818),s=n(65736),l=n(92694);const __=s.__,c=["core/button","jetpack/recurring-payments","premium-content/login-button"];t.Z=(0,o.compose)([(0,i.withSelect)(((e,t)=>({subscribeButton:e("core/block-editor").getBlock(t.clientId).innerBlocks.find((e=>"jetpack/recurring-payments"===e.name))}))),(0,i.withDispatch)(((e,t)=>({setSubscribeButtonPlan(n){e("core/block-editor").updateBlockAttributes(t.subscribeButton.clientId,{planId:n})}})))])((function(e){let{context:t,subscribeButton:n,setSubscribeButtonPlan:o}=e;const i=t?t["premium-content/planId"]:null,s=!!t&&t["premium-content/isPreview"],u=[["core/button",{element:"a",uniqueId:"recurring-payments-id",text:__("Subscribe","jetpack")}],["premium-content/login-button"]],p=[["jetpack/recurring-payments",{planId:i},[["jetpack/button",{element:"a",uniqueId:"recurring-payments-id",text:__("Subscribe","jetpack")}]]],["premium-content/login-button"]];(0,r.useEffect)((()=>{i&&n&&n.attributes.planId!==i&&o(i)}),[i,n,o]),(0,r.useEffect)((()=>{n&&(0,l.addFilter)("jetpack.RecurringPayments.showControls","jetpack/premium-content-hide-recurring-payments-controls",((e,t)=>t!==n.clientId&&e))}),[n]);const d=(0,a.useBlockProps)({className:"wp-block-buttons"});return(0,r.createElement)("div",d,(0,r.createElement)(a.InnerBlocks,{allowedBlocks:c,template:s?u:p,templateInsertUpdatesSelection:!1,__experimentalLayout:{type:"default",alignments:[]},__experimentalMoverDirection:"horizontal"}))}))},46157:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(15284),i=n(52175),s=n(97894),l=n(71586);const __=a.__,c="premium-content/buttons",u={apiVersion:2,title:__("Premium Content buttons","jetpack"),description:__("Prompt Premium Content visitors to take action with a group of button-style links.","jetpack"),category:"grow",icon:o.Z,supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},keywords:[__("link","jetpack")],edit:s.Z,save:l.Z,usesContext:["premium-content/planId","premium-content/isPreview"],deprecated:[{attributes:{},supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-buttons"},(0,r.createElement)(i.InnerBlocks.Content,null))}]}},71586:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){const e=a.useBlockProps.save({className:"wp-block-buttons"});return(0,r.createElement)("div",e,(0,r.createElement)(a.InnerBlocks.Content,null))}},86633:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(55609),s=n(52175),l=n(65736),c=n(94333),u=n(9818),p=n(96483),d=n(78850),m=n(86989),h=n.n(m),f=n(59189),g=n(76136),b=n(61114),v=n(2963),k=n(51591),y=n(17882),E=n(2368),w=n(37930);const __=l.__,_=[{id:"premium",label:(0,o.createElement)("span",null,__("Subscriber View","jetpack")),className:"wp-premium-content-subscriber-view"},{id:"wall",label:(0,o.createElement)("span",null,__("Non-subscriber View","jetpack")),className:"wp-premium-content-logged-out-view"}],C=[];function j(e){const[t,n]=(0,o.useState)(_[1]),[r,c]=(0,o.useState)(!1),[u,m]=(0,o.useState)(C),[j,x]=(0,o.useState)(null),[T,N]=(0,o.useState)(0),[P,A]=(0,o.useState)(!1),[I,M]=(0,o.useState)(""),{isPreview:B}=e.attributes;function R(t,n){if(!t.newPlanName||0===t.newPlanName.length)return S(e,__("Plan requires a name","jetpack")),void n(!1);const r=parseFloat(t.newPlanPrice),a=(0,y.hj)(t.newPlanCurrency),o=(0,l.sprintf)(// translators: %s: Price
-__("Minimum allowed price is %s.","jetpack"),(0,d.ZP)(a,t.newPlanCurrency));if(r<a)return S(e,o),void n(!1);if(!(0,y.vs)(t.newPlanCurrency,r))return S(e,__("Plan requires a valid price","jetpack")),void n(!1);const i={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:t.newPlanCurrency,price:t.newPlanPrice,title:t.newPlanName,interval:t.newPlanInterval}};h()(i).then((t=>{const r={id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency};m(u.concat([r])),L(r),function(e,t){e.createSuccessNotice(t,{type:"snackbar"})}(e,__("Successfully created plan","jetpack")),n&&n(!0)}),(()=>{S(e,__("There was an error when adding the plan.","jetpack")),n&&n(!1)}))}function L(t){e.setAttributes({selectedPlanId:t.id})}const Z=(0,o.useRef)(null);!function(e,t){function n(n){e.current&&n.target&&n.target instanceof Node&&!e.current.contains(n.target)?t(!1):t(!0)}(0,o.useEffect)((()=>(document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)})))}(Z,c);const{isSelected:F,className:D}=e;(0,o.useEffect)((()=>{if(B)return;const t=(0,p.getQueryArg)(window.location.href,"origin"),n={path:(0,p.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===t?"gutenberg-wpcom":"gutenberg"}),method:"GET"};h()(n).then((t=>{if(t||"object"==typeof t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return N(2),void S(e,Object.values(t.errors)[0][0]);x((0,E.Z)(e.postId,t.connect_url)),A(t.should_upgrade_to_access_memberships),M(t.site_slug),t.products&&0===t.products.length&&!t.should_upgrade_to_access_memberships&&t.connected_account_id?R({newPlanCurrency:"USD",newPlanPrice:5,newPlanName:__("Monthly Subscription","jetpack"),newPlanInterval:"1 month"},(()=>{N(t.connected_account_id?1:2)})):(t.products&&t.products.length>0&&(m(t.products),e.attributes.selectedPlanId||L(t.products[0])),N(t.connected_account_id?1:2))}}),(t=>{x(null),N(2),S(e,t.message)})),setTimeout((()=>e.selectBlock()),1e3)}),[]);const{autosaveAndRedirect:O}=(0,w.Z)(j);return 0!==T||B?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.BlockControls,null,!P&&1!==T&&j&&(0,o.createElement)(i.ToolbarGroup,null,(0,o.createElement)(i.ToolbarButton,{icon:k.Pw,onClick:O,className:"connect-stripe components-tab-button"},__("Connect Stripe","jetpack"))),(0,o.createElement)(i.ToolbarGroup,null,(0,o.createElement)(i.ToolbarButton,{onClick:()=>{n(_[1])},className:"components-tab-button",isPressed:"wp-premium-content-logged-out-view"===t.className},(0,o.createElement)("span",null,__("Visitor View","jetpack"))),(0,o.createElement)(i.ToolbarButton,{onClick:()=>{n(_[0])},className:"components-tab-button",isPressed:"wp-premium-content-logged-out-view"!==t.className},(0,o.createElement)("span",null,__("Subscriber View","jetpack"))))),(0,o.createElement)("div",{className:D,ref:Z},(F||r)&&1===T&&(0,o.createElement)(g.Z,a()({},e,{plans:u,selectedPlanId:e.attributes.selectedPlanId,onSelected:L,getPlanDescription:function(e){const t=(0,d.ZP)(parseFloat(e.price),e.currency);return"1 month"===e.interval?(0,l.sprintf)(// translators: %s: amount
-__("%s / month","jetpack"),t):"1 year"===e.interval?(0,l.sprintf)(// translators: %s: amount
-__("%s / year","jetpack"),t):"one-time"===e.interval?t:(0,l.sprintf)(// translators: %s: amount, plan interval
-__("%1$s / %2$s","jetpack"),t,e.interval)}})),(F||r)&&1===T&&(0,o.createElement)(b.Z,a()({},e,{savePlan:R,siteSlug:I})),(0,o.createElement)(v.Z.Provider,{value:{selectedTab:t}},(0,o.createElement)(f.Z,null)))):(0,o.createElement)("div",{className:D,ref:Z},(0,o.createElement)(i.Placeholder,{icon:"lock",label:__("Premium Content","jetpack"),instructions:__("Loading data…","jetpack")},(0,o.createElement)(i.Spinner,null)))}function S(e,t){e.createErrorNotice(t,{type:"snackbar"})}t.Z=(0,c.compose)([(0,u.withSelect)((e=>{const{getCurrentPostId:t}=e("core/editor");return{postId:t()}})),(0,u.withDispatch)(((e,t)=>{const n=e("core/block-editor"),r=e("core/notices");return{selectBlock(){n.selectBlock(t.clientId)},createErrorNotice:r.createErrorNotice,createSuccessNotice:r.createSuccessNotice}}))])((function(e){return(0,o.createElement)(i.Disabled.Consumer,null,(t=>(0,o.createElement)(j,a()({},e,{attributes:{...e.attributes,isPreview:t||e.attributes?.isPreview}}))))}))},98034:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(65736),a=n(4981),o=n(86633),i=n(77940),s=n(47322),l=n(34411);const __=r.__,_x=r._x,c="premium-content/container",u={title:__("Premium Content","jetpack"),description:__("Restrict access to your content for paying subscribers.","jetpack"),icon:s.Z,category:"grow",keywords:[_x("paywall","keyword","jetpack"),_x("paid","keyword","jetpack"),_x("subscribe","keyword","jetpack"),_x("membership","keyword","jetpack")],attributes:{newPlanName:{type:"string",default:__("Monthly Subscription","jetpack")},newPlanCurrency:{type:"string",default:"USD"},newPlanPrice:{type:"number",default:5},newPlanInterval:{type:"string",default:"1 month"},selectedPlanId:{type:"number",default:0},isPreview:{type:"boolean",default:!1},isPremiumContentChild:{type:"bool",default:!0}},edit:o.Z,save:i.Z,providesContext:{"premium-content/planId":"selectedPlanId","premium-content/isPreview":"isPreview",isPremiumContentChild:"isPremiumContentChild"},supports:{html:!1},example:{attributes:{isPreview:!0}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(e.some(l.W))return;if((0,l.H)(e[0]))return;const t=e.map((e=>(0,a.createBlock)(e.name,e.attributes,e.innerBlocks)));return(0,a.createBlock)("premium-content/container",{},[(0,a.createBlock)("premium-content/subscriber-view",{},t),(0,a.createBlock)("premium-content/logged-out-view")])}}]}}},93068:function(e,t,n){"use strict";var r=n(25905),a=n(9109);t.Z=[r.Z,a.Z]},25905:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(52175);t.Z={attributes:{subscribeButtonText:{type:"string",default:"Subscribe"},loginButtonText:{type:"string",default:"Log In"},buttonClasses:{type:"string",default:""},backgroundButtonColor:{type:"string",default:""},textButtonColor:{type:"string",default:""},customBackgroundButtonColor:{type:"string",default:""},customTextButtonColor:{type:"string",default:""}},isEligible:e=>{let{buttonClasses:t}=e;return!!t},migrate:(e,t)=>{if(Array.isArray(t))for(let n=0;n<t.length;n++)if(t[n].name&&"premium-content/buttons"===t[n].name)return[e,[...t]];const n=(0,a.createBlock)("premium-content/buttons",{},[(0,a.createBlock)("jetpack/recurring-payments",{submitButtonText:e.subscribeButtonText,backgroundButtonColor:e.backgroundButtonColor,textButtonColor:e.textButtonColor,customBackgroundButtonColor:e.customBackgroundButtonColor,customTextButtonColor:e.customTextButtonColor}),(0,a.createBlock)("premium-content/login-button",{text:e.loginButtonText,backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,style:{color:{background:e.customBackgroundButtonColor,text:e.customTextButtonColor}}})]);return[e,[...t,n]]},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view"},(0,r.createElement)(o.InnerBlocks.Content,null))}},9109:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{},supports:{inserter:!1,html:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view"})}},43279:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65736),i=n(9818),s=n(94333),l=n(2963);const __=o.__;t.Z=(0,s.compose)((0,i.withSelect)((e=>{const{getBlockParents:t,getSelectedBlockClientId:n}=e("core/block-editor"),r=t(n());return{parentClientId:r.length?r[r.length-1]:void 0}})))((function(e){let{parentClientId:t,isSelected:n}=e;const{selectBlock:o}=(0,i.useDispatch)("core/block-editor");return(0,r.useEffect)((()=>{n&&o(t)}),[o,n,t]),(0,r.createElement)(l.Z.Consumer,null,(e=>{let{selectedTab:t,stripeNudge:n}=e;return(0,r.createElement)("div",{hidden:"premium"===t.id,className:t.className},n,(0,r.createElement)(a.InnerBlocks,{templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/heading",{content:__("Subscribe to get access","jetpack"),level:3}],["core/paragraph",{content:__("Read more of this content when you subscribe today.","jetpack")}],["premium-content/buttons"]]}))}))}))},76883:function(e,t,n){"use strict";n.d(t,{u:function(){return p},X:function(){return d}});var r=n(43279),a=n(54222),o=n(93068),i=n(47322),s=n(94333),l=n(9818),c=n(65736),u=n(72629);const __=c.__,p="premium-content/logged-out-view",d={title:__("Logged Out View","jetpack"),description:__("The container for all content shown to site visitors who are not subscribers.","jetpack"),icon:i.Z,category:"grow",parent:["premium-content/container"],supports:{inserter:!1,html:!1},edit:r.Z,save:a.Z,deprecated:o.Z},m=(0,l.subscribe)((()=>{const e=(0,l.select)("core/rich-text").getFormatType("core/link");if(!e)return;m(),(0,u.unregisterFormatType)("core/link");const t=(0,s.compose)((0,l.withSelect)((e=>({selectedBlock:e("core/block-editor").getSelectedBlock()}))),(0,s.ifCondition)((e=>e.selectedBlock&&e.selectedBlock.name!==p)))(e.edit);(0,u.registerFormatType)("core/link",{...e,edit:t})}))},54222:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view entry-content"},(0,r.createElement)(a.InnerBlocks.Content,null))}},43110:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={text:{type:"string",source:"html",selector:"a",default:__("Log in","jetpack")},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}}},19398:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(9818),s=n(52175);const __=o.__,l="web"===r.Platform.OS;const c=e=>{if(!(0,a.isObject)(e))return e;const t=(0,a.pickBy)((0,a.mapValues)(e,c),a.identity);return(0,a.isEqual)(t,{})?void 0:t};function u(e){let{settings:t,clientId:n,enableContrastChecking:a=!0}=e;const{getComputedStyle:o,Node:i}=window,[c,u]=(0,r.useState)(),[p,d]=(0,r.useState)(),m=l?__("Color settings","jetpack"):__("Color Settings","jetpack",0);return(0,r.useEffect)((()=>{if(l&&!a)return;const e=function(e){return document.getElementById("block-"+e)}(n);if(!e)return;d(o(e).color);let t=e,r=o(t).backgroundColor;for(;"rgba(0, 0, 0, 0)"===r&&t.parentNode&&t.parentNode.nodeType===i.ELEMENT_NODE;)t=t.parentNode,r=o(t).backgroundColor;u(r)})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(s.__experimentalPanelColorGradientSettings,{title:m,initialOpen:!1,settings:t},l&&a&&(0,r.createElement)(s.ContrastChecker,{backgroundColor:c,textColor:p})))}t.Z=function(e){const{attributes:t}=e,{colors:n,gradients:a}=(0,i.useSelect)((e=>e("core/block-editor").getSettings()),[]),o=(0,r.useRef)(t);(0,r.useEffect)((()=>{o.current=t}),[t]);const{style:l,textColor:p,backgroundColor:d,gradient:m}=t;let h;h=m?(0,s.getGradientValueBySlug)(a,m):l?.color?.gradient;const f=t=>r=>{const a=(0,s.getColorObjectByColorValue)(n,r),i=t+"Color",l={...o.current.style,color:{...o.current?.style?.color,[t]:a?.slug?void 0:r}},u=a?.slug?a.slug:void 0,p={style:c(l),[i]:u};e.setAttributes(p),o.current={...o.current,...p}};return(0,r.createElement)(u,{enableContrastChecking:!m&&!l?.color?.gradient,clientId:e.clientId,settings:[{label:__("Text Color","jetpack"),onColorChange:f("text"),colorValue:(0,s.getColorObjectByAttributeValues)(n,p,l?.color?.text).color},{label:__("Background Color","jetpack"),onColorChange:f("background"),colorValue:(0,s.getColorObjectByAttributeValues)(n,d,l?.color?.background).color,gradientValue:h,onGradientChange:t=>{const n=(0,s.getGradientSlugByValue)(a,t);let r;if(n){const e={...o.current?.style,color:{...o.current?.style?.color,gradient:void 0}};r={style:c(e),gradient:n}}else{const e={...o.current?.style,color:{...o.current?.style?.color,gradient:t}};r={style:c(e),gradient:void 0}}e.setAttributes(r),o.current={...o.current,...r}}}]})}},97209:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89105),a=n.n(r),o=n(52175);function i(e){const{backgroundColor:t,textColor:n,gradient:r,style:i}=e,s=(0,o.getColorClassName)("background-color",t),l=(0,o.__experimentalGetGradientClass)(r),c=(0,o.getColorClassName)("color",n),u=a()(c,l,{[s]:!i?.color?.gradient&&!!s,"has-text-color":n||i?.color?.text,"has-background":t||i?.color?.background||r||i?.color?.gradient});return{className:u||void 0,style:i?.color?.background||i?.color?.text||i?.color?.gradient?{background:i?.color?.gradient?i.color.gradient:void 0,backgroundColor:i?.color?.background?i.color.background:void 0,color:i?.color?.text?i.color.text:void 0}:{}}}},48186:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(65736),l=n(97209);const __=s.__;t.Z={attributes:{text:{type:"string",source:"html",selector:"a",default:__("Log in","jetpack")},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},save:e=>{let{attributes:t}=e;const{borderRadius:n,text:a}=t,s=(0,l.Z)(t),c=o()("wp-block-button__link",s.className,{"no-border-radius":0===n}),u={borderRadius:n?n+"px":void 0,...s.style};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:c,style:u,value:a}))}}},87909:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(19398),u=n(97209);const __=i.__;function p(e){let{borderRadius:t="",setAttributes:n}=e;const a=(0,r.useCallback)((e=>{n({borderRadius:e})}),[n]);return(0,r.createElement)(s.PanelBody,{title:__("Border settings","jetpack")},(0,r.createElement)(s.RangeControl,{value:t,label:__("Border radius","jetpack"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:a}))}t.Z=function(e){const{attributes:t,setAttributes:n,className:a}=e,{borderRadius:i,text:s}=t,d=(0,u.Z)(t),m=(0,l.useBlockProps)({className:"wp-block-button"});return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",m,(0,r.createElement)(l.RichText,{placeholder:__("Add text…","jetpack"),value:s,onChange:e=>n({text:e}),withoutInteractiveFormatting:!0,className:o()(a,"wp-block-button__link",d.className,{"no-border-radius":0===i}),style:{borderRadius:i?i+"px":void 0,...d.style}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.Z,e),(0,r.createElement)(p,{borderRadius:i,setAttributes:n})))}},37436:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(15284),a=n(65736),o=n(87909),i=n(54662),s=n(43110),l=n(48186);const __=a.__,c="premium-content/login-button",u={title:__("Premium Content login button","jetpack"),description:__("Prompt subscriber visitors to log in with a button-style link (only visible for logged out users).","jetpack"),category:"grow",attributes:s.Z,icon:r.Z,keywords:[__("link","jetpack")],supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],edit:o.Z,save:i.Z,deprecated:[l.Z]}},54662:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(97209);function l(e){let{attributes:t}=e;const{borderRadius:n,text:a,align:l}=t,c=(0,s.Z)(t),u=o()("wp-block-button","wp-block-premium-content-login-button",{alignleft:"left"===l},{aligncenter:"center"===l},{alignright:"right"===l}),p=o()("wp-block-button__link",c.className,{"no-border-radius":0===n}),d={borderRadius:n?n+"px":void 0,...c.style},m=i.useBlockProps.save({className:u});return(0,r.createElement)("div",m,(0,r.createElement)(i.RichText.Content,{tagName:"a",className:p,style:d,value:a}))}},77940:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-container"},(0,r.createElement)(a.InnerBlocks.Content,null))}},37915:function(e,t,n){"use strict";var r=n(54682);t.Z=[r.Z]},54682:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{},supports:{inserter:!1,html:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-subscriber-view"})}},6627:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65736),i=n(9818),s=n(94333),l=n(2963);const __=o.__;t.Z=(0,s.compose)([(0,i.withSelect)(((e,t)=>{const{getBlockParents:n,getSelectedBlockClientId:r}=e("core/block-editor"),a=n(r());return{parentClientId:a.length?a[a.length-1]:void 0,hasInnerBlocks:!!e("core/block-editor").getBlocksByClientId(t.clientId)[0].innerBlocks.length}}))])((function(e){let{hasInnerBlocks:t,parentClientId:n,isSelected:o}=e;const{selectBlock:s}=(0,i.useDispatch)("core/block-editor");return(0,r.useEffect)((()=>{o&&s(n)}),[s,o,n]),(0,r.createElement)(l.Z.Consumer,null,(e=>{let{selectedTab:n,stripeNudge:o}=e;return(0,r.createElement)("div",{hidden:"wall"===n.id,className:n.className},o,(0,r.createElement)(a.InnerBlocks,{renderAppender:!t&&a.InnerBlocks.ButtonBlockAppender,templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/heading",{content:__("Subscriber Content","jetpack"),level:3}],["core/paragraph",{content:__("Add content here that will only be visible to your subscribers.","jetpack")}]]}))}))}))},24720:function(e,t,n){"use strict";n.d(t,{u:function(){return l},X:function(){return c}});var r=n(6627),a=n(2718),o=n(37915),i=n(47322),s=n(65736);const __=s.__,l="premium-content/subscriber-view",c={title:__("Subscriber View","jetpack"),description:__("The container for all content shown to subscribers.","jetpack"),icon:i.Z,category:"grow",attributes:{},edit:r.Z,save:a.Z,parent:["premium-content/container"],supports:{inserter:!1,html:!1},deprecated:o.Z}},2718:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-subscriber-view entry-content"},(0,r.createElement)(a.InnerBlocks.Content,null))}},96440:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(55609),l=n(39630);const __=o.__,c=e=>{let{id:t,setRating:n,children:a}=e;return(0,r.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(o=t,e=>{let{keyCode:t}=e;return t===l.ENTER?n(o):null}),onClick:(e=>()=>n(e))(t)},a);var o};t.Z=e=>function(t){let{className:n,setAttributes:o,attributes:{align:l,color:u,rating:p,maxRating:d}}=t;const m=e=>{e===p?Math.ceil(p)===p&&(e-=.5):.5===p&&1===e&&(e=0),o({rating:e})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(i.AlignmentToolbar,{value:l,onChange:e=>o({align:e})})),(0,r.createElement)("div",{className:n,style:{textAlign:l}},(0,a.range)(1,d+1).map((t=>(0,r.createElement)(c,{key:t,id:t,setRating:m},(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t-.5?null:"is-rating-unfilled",color:u})),(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t?null:"is-rating-unfilled",color:u})))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.RangeControl,{label:__("Highest rating","jetpack"),value:d,onChange:e=>o({maxRating:e}),min:2,max:10}),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:u,onChange:e=>o({color:e}),label:__("Color","jetpack")}]}))))}},9615:function(e,t,n){"use strict";n.d(t,{d:function(){return o},r:function(){return i}});var r=n(69307),a=n(55609);const o=()=>(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"})),i=e=>{const t=(e=>e&&e.color?e.color:"currentColor")(e),n=(e=>e&&e.className?e.className:"")(e);return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},(0,r.createElement)(a.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))}},84807:function(e,t,n){"use strict";n.d(t,{u:function(){return l},X:function(){return c}});var r=n(65736),a=n(96440),o=n(2027),i=n(9615),s=n(57535);const __=r.__,_x=r._x,l="rating-star",c={title:__("Star Rating","jetpack"),description:__("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:{src:i.d,foreground:(0,s.m)()},keywords:[_x("star","block search term","jetpack"),_x("rating","block search term","jetpack"),_x("review","block search term","jetpack")],category:"widgets",example:{},styles:[{name:"filled",label:_x("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:_x("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:(0,a.Z)(i.r),save:(0,o.Z)("★")}},2027:function(e,t,n){"use strict";var r=n(69307),a=n(92819);t.Z=e=>function(t){let{className:n,attributes:{align:o,rating:i,color:s}}=t;return(0,r.createElement)("figure",{className:n,style:{textAlign:o}},(0,a.range)(1,i+1).map((t=>(0,r.createElement)("span",{key:t,style:{color:s}},e))))}},79642:function(e,t,n){"use strict";n.d(t,{G:function(){return u},J:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(51591),s=n(48721),l=n(4235),c=n(37930);const __=a.__;function u(e){let{attributes:{planId:t},products:n,setMembershipAmount:a}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Payment plan","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Payment plan","jetpack"),value:t,onChange:e=>a(e),options:n.map((e=>({label:(0,s.C)(e),value:e.id,key:e.id})))})),(0,r.createElement)(o.PanelBody,{title:__("Management","jetpack")},(0,r.createElement)(o.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,l.Z)()}`},__("See your earnings, subscriber list, and payment plans.","jetpack"))))}function p(e){let{connected:t,connectURL:n,hasUpgradeNudge:a,shouldUpgrade:s}=e;const{autosaveAndRedirect:l}=(0,c.Z)(n);return(0,r.createElement)(r.Fragment,null,!a&&!s&&!t&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:i.Pw,onClick:l,className:"connect-stripe components-tab-button"},__("Connect Stripe","jetpack"))))}},2235:function(e,t,n){"use strict";var r=n(92819),a=n(4981);const o=["submitButtonText","submitButtonClasses","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},submitButtonClasses:{type:"string"},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},migrate:e=>{const t=(0,r.omit)(e,o),n={text:(i=e).submitButtonText,textColor:i.textButtonColor,customTextColor:i.customTextButtonColor,backgroundColor:i.backgroundButtonColor,customBackgroundColor:i.customBackgroundButtonColor};var i;return[t,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"recurring-payments-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,o),Boolean),save:()=>null}},39035:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(86989),c=n.n(l),u=n(65736),p=n(78850),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(92694),b=n(21409),v=n(17882),k=n(2368),y=n(82163),E=n(79642),w=n(48721);const __=u.__;class _ extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e={path:"/wpcom/v2/memberships/status",method:"GET"};c()(e).then((e=>{if(e.errors&&Object.values(e.errors)&&Object.values(e.errors)[0][0])return this.setState({connected:null,connectURL:2}),void this.onError(Object.values(e.errors)[0][0]);const{connect_url:t,products:n,should_upgrade_to_access_memberships:r,upgrade_url:a}=e,o=e.connected_account_id?1:2;this.setState({connected:o,connectURL:t,shouldUpgrade:r,upgradeURL:a,products:(0,y.ME)(n)})}),(e=>{this.setState({connected:2,connectURL:null}),this.onError(e.message)}))})),a()(this,"handleCurrencyChange",(e=>{let t=this.state.editedProductPrice;(0,v.vs)(e,t)||(t=(0,w.w)((0,v.hj)(e),e)),this.setState({editedProductCurrency:e,editedProductPrice:t,editedProductPriceValid:!0})})),a()(this,"handleRenewIntervalChange",(e=>this.setState({editedProductRenewInterval:e}))),a()(this,"handlePriceChange",(e=>{const t=parseFloat(e),n=(0,v.vs)(this.state.editedProductCurrency,t);this.setState({editedProductPrice:t,editedProductPriceValid:n})})),a()(this,"handleTitleChange",(e=>this.setState({editedProductTitle:e,editedProductTitleValid:e.length>0}))),a()(this,"saveProduct",(()=>{if(!this.state.editedProductTitle||0===this.state.editedProductTitle.length)return void this.setState({editedProductTitleValid:!1});if(!this.state.editedProductPrice||!(0,v.vs)(this.state.editedProductCurrency,this.state.editedProductPrice))return void this.setState({editedProductPriceValid:!1});this.setState({addingMembershipAmount:2});const e={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:this.state.editedProductCurrency,price:this.state.editedProductPrice,title:this.state.editedProductTitle,interval:this.state.editedProductRenewInterval}};c()(e).then((e=>{this.setState({addingMembershipAmount:0,products:this.state.products.concat([{id:e.id,title:e.title,interval:e.interval,price:e.price,currency:e.currency}])}),this.setMembershipAmount(e.id)}),(e=>{this.setState({addingMembershipAmount:1}),this.onError(e.message)}))})),a()(this,"renderAddMembershipAmount",(e=>{if(0===this.state.addingMembershipAmount&&!e)return(0,o.createElement)(h.Button,{isPrimary:!0,isLarge:!0,onClick:()=>this.setState({addingMembershipAmount:1})},__("Add a payment plan","jetpack"));if(2===this.state.addingMembershipAmount)return;const t=(0,p.ZP)((0,v.hj)(this.state.editedProductCurrency),this.state.editedProductCurrency),n=(0,u.sprintf)(
-/* translators: placeholder is a price. */
-__("Minimum allowed price is %s.","jetpack"),t);return(0,o.createElement)("div",null,(0,o.createElement)("div",{className:"membership-button__price-container"},(0,o.createElement)(h.SelectControl,{className:"membership-button__field membership-button__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:v.Xy,value:this.state.editedProductCurrency}),(0,o.createElement)("div",{className:"membership-membership-button__field membership-button__field-price"},(0,o.createElement)(h.TextControl,{label:__("Price","jetpack"),className:s()({"membership-button__field-error":!this.state.editedProductPriceValid}),onChange:this.handlePriceChange,placeholder:t,required:!0,min:"0",step:"1",type:"number",value:this.state.editedProductPrice||""}),(0,o.createElement)("p",null,n))),(0,o.createElement)(h.TextControl,{className:s()({"membership-button__field":!0,"membership-button__field-error":!this.state.editedProductTitleValid}),label:__("Describe your subscription in a few words","jetpack"),onChange:this.handleTitleChange,placeholder:__("Subscription description","jetpack"),value:this.state.editedProductTitle}),(0,o.createElement)(h.SelectControl,{label:__("Renew interval","jetpack"),onChange:this.handleRenewIntervalChange,options:[{label:__("Monthly","jetpack"),value:"1 month"},{label:__("Yearly","jetpack"),value:"1 year"},{label:__("One-Time Payment","jetpack"),value:"one-time"}],value:this.state.editedProductRenewInterval}),(0,o.createElement)("div",null,(0,o.createElement)(h.Button,{isPrimary:!0,isLarge:!0,className:"membership-button__field-button membership-button__add-amount",onClick:this.saveProduct},__("Add this payment plan","jetpack")),(0,o.createElement)(h.Button,{isLarge:!0,className:"membership-button__field-button",onClick:()=>this.setState({addingMembershipAmount:0})},__("Cancel","jetpack"))))})),a()(this,"getFormattedPriceByProductId",(e=>{const t=this.state.products.filter((t=>parseInt(t.id)===parseInt(e))).pop();return(0,p.ZP)(parseFloat(t.price),t.currency)})),a()(this,"setMembershipAmount",(e=>{const{innerButtons:t,updateBlockAttributes:n,setAttributes:r}=this.props,a=this.props.attributes.planId,o=(0,u.sprintf)(
-/* translators: placeholder is an amount of money. */
-__("%s contribution","jetpack"),this.getFormattedPriceByProductId(e)),i=a?(0,u.sprintf)(
-/* translators: placeholder is an amount of money. */
-__("%s contribution","jetpack"),this.getFormattedPriceByProductId(a)):void 0;return t&&t.length&&t[0].innerBlocks.forEach((e=>{const t=e.attributes.text,r=t===i?o:t;n(e.clientId,{text:r})})),r({planId:parseInt(e)})})),a()(this,"renderMembershipAmounts",(()=>(0,o.createElement)("div",null,this.state.products.map((e=>(0,o.createElement)(h.Button,{className:"membership-button__field-button",isLarge:!0,isSecondary:!0,key:e.id,onClick:()=>this.setMembershipAmount(e.id)},(0,w.C)(e))))))),a()(this,"renderDisclaimer",(()=>(0,o.createElement)("div",{className:"membership-button__disclaimer"},(0,o.createElement)(h.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack"))))),a()(this,"renderUpgradeNudges",(()=>{const{notices:e}=this.props;return(0,o.createElement)(o.Fragment,null,!this.hasUpgradeNudge&&this.state.shouldUpgrade&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e,instructions:__("You'll need to upgrade your plan to use the Payments block.","jetpack")},(0,o.createElement)(h.Button,{isSecondary:!0,isLarge:!0,href:this.state.upgradeURL,target:"_blank"},__("Upgrade your plan","jetpack")),this.renderDisclaimer())))})),a()(this,"renderPlanNotices",(()=>{const{notices:e}=this.props,{connected:t,products:n}=this.state;return(0,o.createElement)(o.Fragment,null,(0===t||2===this.state.addingMembershipAmount)&&!this.props.attributes.planId&&(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),notices:e},(0,o.createElement)(h.Spinner,null)),!this.state.shouldUpgrade&&!this.props.attributes.planId&&1===t&&0===n.length&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e},(0,o.createElement)("div",{className:"components-placeholder__instructions"},(0,o.createElement)("p",null,__("To use this block, first add at least one payment plan.","jetpack")),this.renderAddMembershipAmount(!0),this.renderDisclaimer()))),!this.state.shouldUpgrade&&!this.props.attributes.planId&&2!==this.state.addingMembershipAmount&&1===t&&n.length>0&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e},(0,o.createElement)("div",{className:"components-placeholder__instructions"},(0,o.createElement)("p",null,__("To use this block, select a previously created payment plan.","jetpack")),this.renderMembershipAmounts(),(0,o.createElement)("p",null,__("Or a new one.","jetpack")),this.renderAddMembershipAmount(!1),this.renderDisclaimer()))))})),a()(this,"render",(()=>{const{connected:e,connectURL:t,products:n}=this.state,r=(0,g.applyFilters)("jetpack.RecurringPayments.showControls",n.length>0,this.props.clientId),a=(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(E.G,{attributes:this.props.attributes,products:n,setMembershipAmount:this.setMembershipAmount})),i=(0,o.createElement)(f.BlockControls,null,(0,o.createElement)(E.J,{connected:2!==e,connectURL:(0,k.Z)(this.props.postId,t),hasUpgradeNudge:this.hasUpgradeNudge,shouldUpgrade:this.state.shouldUpgrade}));return(0,o.createElement)(o.Fragment,null,this.props.noticeUI,!this.isPremiumContentChild&&this.renderUpgradeNudges(),!this.isPremiumContentChild&&this.renderPlanNotices(),r&&a,i,(0,o.createElement)(f.InnerBlocks,{template:[["jetpack/button",{element:"a",uniqueId:"recurring-payments-id"}]],templateLock:"all",__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))})),this.state={connected:0,connectURL:null,addingMembershipAmount:0,shouldUpgrade:!1,upgradeURL:"",products:[],editedProductCurrency:"USD",editedProductPrice:(0,w.w)((0,v.hj)("USD"),"USD"),editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},this.timeout=null;const e=(0,b.Z)("recurring-payments");this.hasUpgradeNudge=!e.available&&"missing_plan"===e.unavailableReason,this.isPremiumContentChild=this.props.context.isPremiumContentChild||!1}}t.Z=(0,d.compose)([(0,m.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()}))),(0,m.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/editor");return{updateBlockAttributes:t,autosaveAndRedirect:async(t,n)=>{t.preventDefault(),await e("core/editor").savePost(),window.top.location.href=n}}})),h.withNotices])(_)},82163:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},qv:function(){return d},Xd:function(){return m},ME:function(){return h}});var r=n(69307),a=n(55609),o=n(52175),i=n(65736),s=n(57535),l=n(2235),c=n(39035),u=n(17882);const __=i.__,_x=i._x,p="recurring-payments",d=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},(0,r.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"}))),m={title:__("Payments","jetpack"),icon:{src:d,foreground:(0,s.m)()},description:__("Button allowing you to sell products and subscriptions.","jetpack"),category:"earn",keywords:[_x("sell","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("product","block search term","jetpack"),"stripe",_x("memberships","block search term","jetpack")],usesContext:["isPremiumContentChild"],attributes:{planId:{type:"integer"},align:{type:"string"}},edit:c.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},supports:{html:!1,align:!0},deprecated:[l.Z]};function h(e){return e.filter((e=>(0,u.vs)(e.currency,e.price)))}},48721:function(e,t,n){"use strict";n.d(t,{w:function(){return o},C:function(){return i}});var r=n(65736),a=n(78850);const __=r.__,o=(e,t)=>(0,a.ZP)(e,t,{decimal:".",symbol:""}),i=e=>{const t=(0,a.ZP)(parseFloat(e.price),e.currency);return"1 month"===e.interval?(0,r.sprintf)(
-/* translators: placeholder is a price. */
-__("%s / month","jetpack"),t):"1 year"===e.interval?(0,r.sprintf)(
-/* translators: placeholder is a price. */
-__("%s / year","jetpack"),t):"one-time"===e.interval?t:(0,r.sprintf)(
-/* translators: %1$s is a price, %2$s is a period (1 year for example) */
-__("%1$s / %2$s","jetpack"),t,e.interval)}},14823:function(e,t,n){"use strict";n.d(t,{Hj:function(){return i},AP:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{attributes:t,setAttributes:n}=e;const{displayContext:a,displayDate:i,displayThumbnails:s,postsToShow:l}=t;return(0,r.createElement)(o.PanelBody,{title:__("Related Posts Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Display thumbnails","jetpack"),checked:s,onChange:e=>n({displayThumbnails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display date","jetpack"),checked:i,onChange:e=>n({displayDate:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display context (category or tag)","jetpack"),checked:a,onChange:e=>n({displayContext:e})}),(0,r.createElement)(o.RangeControl,{label:__("Number of posts","jetpack"),value:l,onChange:e=>n({postsToShow:Math.min(e,6)}),min:1,max:6}))}function s(e){let{attributes:t,setAttributes:n}=e;const{postLayout:a}=t,i=[{icon:"grid-view",title:__("Grid View","jetpack"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===a},{icon:"list-view",title:__("List View","jetpack"),onClick:()=>n({postLayout:"list"}),isActive:"list"===a}];return(0,r.createElement)(o.ToolbarGroup,{controls:i})}},31759:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(92819),l=n(9818),c=n(94333),u=n(14823);const __=a.__;function p(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},e.isInSiteEditor?__("Preview unavailable in site editor.","jetpack"):__("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&(0,r.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":__("Placeholder image","jetpack")},(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},(0,r.createElement)("title",null,__("Grey square","jetpack")),(0,r.createElement)(i.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("title",null,__("Icon for image","jetpack")),(0,r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},__("August 3, 2018","jetpack")),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},__("In “Uncategorized”","jetpack")))}function d(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&(0,r.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},(0,r.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function m(e){const t="jp-related-posts-i2__row";let n=0;const a=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:n=2;break;default:n=3}return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(0,n).length},e.posts.slice(0,n)),a&&(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(n).length},e.posts.slice(n)))}class h extends r.Component{render(){const{attributes:e,className:t,posts:n,setAttributes:a,instanceId:i,isInSiteEditor:s}=this.props,{displayContext:l,displayDate:c,displayThumbnails:h,postLayout:f,postsToShow:g}=e,b="jp-relatedposts-i2",v=[];for(let e=0;e<g;e++)n[e]?v.push((0,r.createElement)(d,{id:`related-posts-${i}-post-${e}`,key:b+"-"+e,post:n[e],displayThumbnails:h,displayDate:c,displayContext:l})):v.push((0,r.createElement)(p,{id:`related-posts-${i}-post-${e}`,key:"related-post-placeholder-"+e,displayThumbnails:h,displayDate:c,displayContext:l,isInSiteEditor:s}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(u.Hj,{attributes:e,setAttributes:a})),(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(u.AP,{attributes:e,setAttributes:a})),(0,r.createElement)("div",{className:t,id:`related-posts-${i}`},(0,r.createElement)("div",{className:b,"data-layout":f},(0,r.createElement)(m,{posts:v}))))}}t.ZP=(0,c.compose)(c.withInstanceId,(0,l.withSelect)((e=>{const{getCurrentPost:t}=e("core/editor"),n=t();return{posts:(0,s.get)(n,"jetpack-related-posts",[]),isInSiteEditor:(0,s.isEmpty)(n)}})))(h)},32051:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},Xd:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(31759),s=n(57535);const __=a.__,_x=a._x,l="related-posts",c=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},(0,r.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),u={title:__("Related Posts","jetpack"),icon:{src:c,foreground:(0,s.m)()},category:"embed",keywords:[_x("similar content","block search term","jetpack"),_x("linked","block search term","jetpack"),_x("connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:i.ZP,save:()=>null,example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}}},35978:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(9818),u=n(89105),p=n.n(u),d=n(46314),m=n(57368);const __=i.__,_n=i._n,h=[{value:d.FV,label:__("Show after threshold","jetpack")},{value:d.Am,label:__("Show before threshold","jetpack")}];class f extends o.Component{constructor(){super(...arguments),a()(this,"state",{isThresholdValid:!0}),a()(this,"setCriteria",(e=>this.props.setAttributes({criteria:e}))),a()(this,"setThreshold",(e=>{if(/^\d+$/.test(e)&&+e>0)return this.props.setAttributes({threshold:+e}),void this.setState({isThresholdValid:!0});this.setState({isThresholdValid:!1})}))}getNoticeLabel(){return this.props.attributes.criteria===d.FV?1===this.props.attributes.threshold?__("This block will only appear to people who have visited this page more than once.","jetpack"):(0,i.sprintf)(
+b=n?__("track","jetpack"):void 0;return(0,r.createElement)("li",{className:f,style:Object.keys(g).length?g:null},(0,r.createElement)("a",{className:"jetpack-podcast-player__link jetpack-podcast-player__track-link",href:t.link||t.src,role:"button","aria-current":b,onClick:e=>{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),u(p))},onKeyDown:e=>{" "===event.key&&(e.preventDefault(),u(p))}},(0,r.createElement)(s.Z,{className:"jetpack-podcast-player__track-status-icon",isPlaying:a,isError:i}),(0,r.createElement)("span",{className:"jetpack-podcast-player__track-title"},t.title),t.duration&&(0,r.createElement)("time",{className:"jetpack-podcast-player__track-duration",dateTime:t.duration},t.duration)),n&&i&&(0,r.createElement)(l.Z,{link:t.link,title:t.title,colors:d}))}));t.Z=u},71540:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(18294),a=n.n(r),o=n(69307),i=n(65736);const __=i.__;function s(e){class t extends o.Component{constructor(){super(...arguments),a()(this,"state",{didError:!1,isIE11AudioIssue:!1}),a()(this,"componentDidCatch",((e,t)=>{this.props.onError(e,t)}))}render(){const{didError:t,isIE11AudioIssue:n}=this.state;return t?(0,o.createElement)("section",{className:"jetpack-podcast-player"},(0,o.createElement)("p",{className:"jetpack-podcast-player__error"},n?__('The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s "Internet options" settings. In the "Advanced" tab you will have to check the box next to "Play sounds in webpages" in the "Multimedia" section. Once you have confirmed that the box is checked, please press "Apply" and then reload this page.',"jetpack"):__("An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.","jetpack",0))):(0,o.createElement)(e,this.props)}}return a()(t,"getDerivedStateFromError",(e=>({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)}))),t.defaultProps={onError:()=>{}},t}},63226:function(e,t,n){"use strict";n.d(t,{b:function(){return a},u:function(){return r}});const r="podcast-feed",a="embed-block"},16542:function(e,t,n){"use strict";var r=n(96483),a=n(24381);const o={url:{type:"string",validator:r.isUrl},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}};t.Z={attributes:o,supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},save:()=>null}},99800:function(e,t,n){"use strict";var r=n(69307),a=n(51128),o=n.n(a),i=n(92819),s=n(13419),l=n(55609),c=n(94333),u=n(65736),p=n(52175),d=n(9818),m=n(4981),h=n(96483),f=n(4554),g=n(13331),b=n(30723),v=n(71600),k=n(66085),y=n(98075),E=n(93610),w=n(43718),_=n(63226),C=n(85007);const __=u.__,j=o()("jetpack:podcast-player:edit"),S=(0,s.Wp)()||(0,s.Ug)()?"http://en.support.wordpress.com/wordpress-editor/blocks/podcast-player-block/":"https://jetpack.com/support/jetpack-blocks/podcast-player-block/";t.Z=(0,c.compose)([(0,d.withDispatch)(((e,t)=>{let{clientId:n,attributes:r}=t;return{replaceWithEmbedBlock(){e("core/block-editor").replaceBlock(n,(0,m.createBlock)("core/embed",{url:r.url}))}}})),(0,p.withColors)("backgroundColor",{primaryColor:"color"},{secondaryColor:"color"}),l.withNotices,c.withInstanceId,w.K])((e=>{var t,n;let{instanceId:a,className:o,attributes:s,setAttributes:c,noticeOperations:{createErrorNotice:u,removeAllNotices:d},noticeUI:m,primaryColor:w,setPrimaryColor:x,secondaryColor:P,setSecondaryColor:T,fallbackTextColor:N,backgroundColor:A,setBackgroundColor:I,fallbackBackgroundColor:M,isSelected:B,replaceWithEmbedBlock:R}=e;const L=(0,f.S)(b.Z,s),{url:Z,selectedEpisodes:D,itemsToShow:F,showCoverArt:O,showEpisodeTitle:z,showEpisodeDescription:U,exampleFeedData:$}=L,V=`jetpack-podcast-player-block-${a}`,[G,H]=(0,r.useState)(!1),[q,W]=(0,r.useState)(10),K=(0,r.useRef)(),[{selectedGuid:X,checkUrl:J,...Y},Q]=(0,r.useReducer)(E.J,{editedUrl:Z||"",isEditing:!Z&&!$,isLoading:!1,feedData:$||{},isInteractive:!1,selectedGuid:null==D||null===(t=D[0])||void 0===t?void 0:t.guid,checkUrl:Z||""}),ee=(0,r.useMemo)((()=>(0,i.debounce)((e=>{var t;Q({type:E.N.START_FETCH}),null===(t=K.current)||void 0===t||t.cancel(),K.current=(0,k.W4)((0,y.q)({...e,fetchEpisodeOptions:!0})),K.current.promise.then((t=>{if(d(),null!=t&&t.isCanceled)j("Block was unmounted during fetch",t);else switch(null==t?void 0:t.type){case _.u:return c({url:e.url,selectedEpisodes:e.guids.map((e=>({guid:e})))}),Q({type:E.N.FEED_RECEIVED,payload:t.data});case _.b:return R()}}),(e=>{null!=e&&e.isCanceled?j("Block was unmounted during fetch",e):(j("feed error",e),d(),u(e.message||__("Your podcast couldn't be embedded. Please double check your URL.","jetpack")),Q({type:E.N.START_EDITING}))}))}),300)),[R,c,u,d]);(0,r.useEffect)((()=>()=>{var e,t;null==K||null===(e=K.current)||void 0===e||null===(t=e.cancel)||void 0===t||t.call(e)}),[]);const te=(0,r.useCallback)((e=>{null===e||G||((0,C.DT)(["link#mediaelement-css","link#wp-mediaelement-css"],e),H(!0))}),[G]);(0,r.useEffect)((()=>{if(""!==J)return ee({url:J,guids:X?[X]:[]}),()=>{var e,t;return null==K||null===(e=K.current)||void 0===e||null===(t=e.cancel)||void 0===t?void 0:t.call(e)}}),[ee,J,X]),(0,r.useEffect)((()=>{(0,y.G)().then((e=>{W(e)}))}),[]),(0,r.useEffect)((()=>{X&&1!==F&&c({itemsToShow:1})}),[X,F,c]),(0,r.useEffect)((()=>{!B&&Y.isInteractive&&Q({type:E.N.PREVENT_INTERACTIONS})}),[B,Y.isInteractive]);const ne=e=>{if(e.preventDefault(),""===Y.editedUrl)return;const t=(0,h.prependHTTP)(Y.editedUrl);if((0,h.isURL)(t)){var n;if(t===J)Q({type:E.N.CLEAR_FEED}),ee({url:J,guids:null!==(n=D[0])&&void 0!==n&&n.guid?[D[0].guid]:[]});else Q({type:E.N.CHECK_URL,payload:t});Q({type:E.N.FINISH_EDITING,payload:t})}else u(__("Your podcast couldn't be embedded. Please double check your URL.","jetpack"))};if(Y.isEditing)return(0,r.createElement)(l.Placeholder,{icon:g.E,label:__("Podcast Player","jetpack"),instructions:__("Enter your podcast RSS feed URL.","jetpack"),className:"jetpack-podcast-player__placeholder"},(0,r.createElement)("form",{onSubmit:ne},m,(0,r.createElement)(l.TextControl,{type:"text",inputMode:"url",placeholder:__("Enter URL here…","jetpack"),value:Y.editedUrl,className:"components-placeholder__input",onChange:e=>Q({type:E.N.EDIT_URL,payload:e})}),(0,r.createElement)(l.Button,{variant:"primary",type:"submit"},__("Embed","jetpack"))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(l.ExternalLink,{href:S},__("Learn more about embeds","jetpack"))));if(null===(n=Y.feedData.tracks)||void 0===n||!n.length)return(0,r.createElement)(l.Placeholder,{icon:g.E,label:__("Podcast Player","jetpack"),instructions:__("Loading podcast feed…","jetpack")},(0,r.createElement)(l.Spinner,null));const re=(e,t)=>n=>{c({[e]:n}),t(n)};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p.BlockControls,null,(0,r.createElement)(l.ToolbarGroup,null,(0,r.createElement)(l.ToolbarButton,{"aria-label":__("Edit Podcast Feed URL","jetpack"),onClick:()=>Q({type:E.N.START_EDITING})},__("Replace","jetpack")))),(0,r.createElement)(p.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:__("Podcast settings","jetpack")},(l.ComboboxControl||0===D.length)&&(0,r.createElement)(l.RangeControl,{label:__("Number of items","jetpack"),value:F,onChange:e=>c({itemsToShow:X?1:e}),min:1,max:q,required:!0,disabled:!!X}),l.ComboboxControl&&(0,r.createElement)(l.ComboboxControl,{className:"jetpack-podcast-player__episode-selector",value:X,onChange:e=>Q({type:E.N.SELECT_EPISODE,payload:e}),options:Y.feedData.options||[],label:__("Episode","jetpack"),onFilterValueChange:i.noop}),(0,r.createElement)(l.ToggleControl,{label:__("Show Cover Art","jetpack"),checked:O,onChange:e=>c({showCoverArt:e})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Episode Title","jetpack"),checked:z,onChange:e=>c({showEpisodeTitle:e})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Episode Description","jetpack"),checked:U,onChange:e=>c({showEpisodeDescription:e})})),(0,r.createElement)(p.PanelColorSettings,{title:__("Color Settings","jetpack"),colorSettings:[{value:w.color,onChange:re("hexPrimaryColor",x),label:__("Primary Color","jetpack")},{value:P.color,onChange:re("hexSecondaryColor",T),label:__("Secondary Color","jetpack")},{value:A.color,onChange:re("hexBackgroundColor",I),label:__("Background Color","jetpack")}]},(0,r.createElement)(p.ContrastChecker,{isLargeText:!1,textColor:P.color,backgroundColor:A.color,fallbackBackgroundColor:M,fallbackTextColor:N}))),(0,r.createElement)("div",{id:V,className:o,ref:te},(0,r.createElement)(v.Z,{playerId:V,attributes:L,tracks:Y.feedData.tracks,cover:Y.feedData.cover,title:Y.feedData.title,link:Y.feedData.link}),!Y.isInteractive&&!Y.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__interactive-overlay",onMouseUp:()=>Q({type:E.N.MAKE_INTERACTIVE})}),Y.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__loading-overlay"},(0,r.createElement)(l.Spinner,null))))}))},13331:function(e,t,n){"use strict";n.d(t,{E:function(){return r.Z}});var r=n(26152)},29431:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.Z=o},26152:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,null,(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"})),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,null),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,{transform:"matrix(1 0 0 1 144 120)"},(0,r.createElement)(a.Path,{d:"M-122-114h-5v8.18c-0.31-0.11-0.65-0.18-1-0.18c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3v-9h3V-114 L-122-114z M-129-114h-12v2h12V-114L-129-114z M-129-110h-12v2h12V-110L-129-110z M-133-106h-8v2h8V-106L-133-106z M-129-103 c0-0.55,0.45-1,1-1c0.55,0,1,0.45,1,1s-0.45,1-1,1C-128.55-102-129-102.45-129-103z"})))))},69650:function(e,t,n){"use strict";n.r(t),n.d(t,{error:function(){return s},playing:function(){return i}});var r=n(69307),a=n(55609);const o={height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},i=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"})),s=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},74989:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u}});var r=n(65736),a=n(30723),o=n(16542),i=n(99800),s=n(10591),l=n(13331),c=n(70355);const __=r.__,_x=r._x,u="podcast-player",p={title:__("Podcast Player","jetpack"),description:__("Select and play episodes from a single podcast.","jetpack"),icon:{src:l.E,foreground:(0,c.m)()},category:"embed",keywords:[_x("audio","block search term","jetpack"),_x("embed","block search term","jetpack")],supports:{align:["wide","full"],spacing:{padding:!0,margin:!0},anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},edit:i.Z,save:s.Z,attributes:a.Z,example:{attributes:{customPrimaryColor:(0,c.m)(),hexPrimaryColor:(0,c.m)(),exampleFeedData:{title:__("Jetpack Example Podcast","jetpack"),link:"https://jetpack.com",cover:"https://jetpackme.files.wordpress.com/2020/05/jetpack-example-podcast-cover.png?w=160",tracks:[{id:"3",title:__("3. Our third episode","jetpack"),duration:"14:58"},{id:"2",title:__("2. Interview with a special guest","jetpack"),duration:"19:17"},{id:"1",title:__("1. Welcome to Example Podcast","jetpack"),duration:"11:25"}]}}},deprecated:[o.Z]}},10591:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;if(n&&""!==n)return(0,r.createElement)("a",{className:"jetpack-podcast-player__direct-link",href:n},n)}},93610:function(e,t,n){"use strict";n.d(t,{J:function(){return a},N:function(){return r}});const r={EDIT_URL:"EDIT_URL",FINISH_EDITING:"FINISH_EDITING",START_EDITING:"START_EDITING",SELECT_EPISODE:"SELECT_EPISODE",FEED_RECEIVED:"FEED_RECEIVED",CLEAR_FEED:"CLEAR_FEED",MAKE_INTERACTIVE:"MAKE_INTERACTIVE",PREVENT_INTERACTIONS:"PREVENT_INTERACTIONS",START_FETCH:"START_FETCH",CHECK_URL:"CHECK_URL"},a=(e,t)=>{switch(t.type){case r.EDIT_URL:return{...e,editedUrl:t.payload};case r.START_EDITING:return{...e,isEditing:!0,isLoading:!1};case r.FINISH_EDITING:return{...e,editedUrl:t.payload,isEditing:!1};case r.FEED_RECEIVED:return{...e,isLoading:!1,feedData:t.payload};case r.CLEAR_FEED:return{...e,feedData:{}};case r.MAKE_INTERACTIVE:return{...e,isInteractive:!0};case r.PREVENT_INTERACTIONS:return{...e,isInteractive:!1};case r.START_FETCH:return{...e,isLoading:!0};case r.SELECT_EPISODE:return{...e,selectedGuid:t.payload};case r.CHECK_URL:return{...e,selectedGuid:null,feedData:{},checkUrl:t.payload};default:return{...e}}}},66085:function(e,t,n){"use strict";n.d(t,{Aq:function(){return l},Gd:function(){return i},W4:function(){return s}});var r=n(65235),a=n.n(r),o=n(92819);function i(e,t){if(e&&t)return`has-${t}-${e}`}function s(e){let t=!1;return{promise:new Promise(((n,r)=>{e.then((e=>t?r({isCanceled:!0}):n(e)),(e=>r(t?{isCanceled:!0}:e)))})),cancel(){t=!0}}}const l=(0,o.memoize)((e=>{let{primaryColor:t,customPrimaryColor:n,secondaryColor:r,customSecondaryColor:o,backgroundColor:s,customBackgroundColor:l}=e;const c=i("color",t),u=i("color",r),p=i("background-color",s);return{primary:{name:t,custom:n,classes:a()({"has-primary":c||n,[c]:c})},secondary:{name:r,custom:o,classes:a()({"has-secondary":u||o,[u]:u})},background:{name:s,custom:l,classes:a()({"has-background":p||l,[p]:p})}}}),(e=>Object.values(e).join()))},51054:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"premium-content-wrapper"},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:["premium-content/subscriber-view","premium-content/logged-out-view"],templateLock:"all",template:[["premium-content/subscriber-view"],["premium-content/logged-out-view"]],__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))}},59948:function(e,t,n){"use strict";var r=n(69307);const a={selectedTab:{id:"",className:"",label:(0,r.createElement)(r.Fragment,null)}},o=(0,r.createContext)(a);t.Z=o},34601:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z"}),(0,r.createElement)(a.Circle,{cx:"12.7439",cy:"8.69796",r:"5.94466",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(a.Path,{d:"M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}))},86614:function(e,t,n){"use strict";n.d(t,{H2:function(){return s},Wp:function(){return i},ch:function(){return l}});var r=n(9818),a=n(4981),o=n(50851);const i=e=>0===e.name.indexOf("premium-content/")||e.innerBlocks.some(i),s=e=>{const{getBlocksByClientId:t,getBlockParents:n}=(0,r.select)("core/block-editor");return!!t(n(e.clientId)).find((e=>0===e.name.indexOf("premium-content/")))};function l(){return(0,r.useSelect)((e=>e(a.store).getBlockTypes()),[]).reduce(((e,t)=>(t.name!==o.u&&e.push(t.name),e)),[])}},83196:function(e,t,n){"use strict";var r=n(69307),a=n(72067),o=n(9818),i=n(65736),s=n(16912),l=n(50851);const __=i.__;function c(){const e=(0,o.select)("core/block-editor").getSelectedBlock();(0,o.dispatch)("core/block-editor").replaceBlock(e.clientId,(0,s.e)(e.innerBlocks))}t.Z=()=>(0,r.createElement)(a.PluginBlockSettingsMenuItem,{allowedBlocks:[l.u],label:__("Remove block and keep content","jetpack"),onClick:c})},16912:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(4981);const a=e=>{const t=e.find((e=>"premium-content/subscriber-view"===e.name));return 1===t.innerBlocks.length&&"core/group"===t.innerBlocks[0].name?t.innerBlocks[0]:(0,r.createBlock)("core/group",{},t.innerBlocks)}},63613:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(55609);function i(e){const{options:t,selectedOption:n,selectAction:i,contractViewport:s,label:l}=e,c=e=>e.id===n.id;return s?(0,r.createElement)(a.BlockControls,{group:"block"},(0,r.createElement)(o.ToolbarDropdownMenu,{label:l,icon:"arrow-down",text:n.label},(e=>{let{onClose:n}=e;return(0,r.createElement)(o.MenuGroup,null,t.map((e=>{const t=c(e);return(0,r.createElement)(o.MenuItem,{isSelected:t,icon:t?"yes":void 0,onClick:()=>{i(e),n()},key:`jetpack-premium-content-tab-${e.id}`},e.label)})))}))):(0,r.createElement)(a.BlockControls,{group:"other"},t.map((e=>{const t=c(e);return(0,r.createElement)(o.ToolbarButton,{onClick:()=>{i(e)},className:"components-tab-button",isPressed:t,key:`jetpack-premium-content-tab-${e.id}`},(0,r.createElement)("span",null,e.label))})))}},72738:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(94333),i=n(9818),s=n(65736),l=n(92694);const __=s.__,c=["core/button","jetpack/recurring-payments","premium-content/login-button"];t.Z=(0,o.compose)([(0,i.withSelect)(((e,t)=>({subscribeButton:e("core/block-editor").getBlock(t.clientId).innerBlocks.find((e=>"jetpack/recurring-payments"===e.name))}))),(0,i.withDispatch)(((e,t)=>({setSubscribeButtonPlan(n){e("core/block-editor").updateBlockAttributes(t.subscribeButton.clientId,{planId:n})}})))])((function(e){let{context:t,subscribeButton:n,setSubscribeButtonPlan:o}=e;const i=t?t["premium-content/planId"]:null,s=!!t&&t["premium-content/isPreview"],u=[["core/button",{element:"a",uniqueId:"recurring-payments-id",text:__("Subscribe","jetpack")}],["premium-content/login-button"]],p=[["jetpack/recurring-payments",{planId:i},[["jetpack/button",{element:"a",uniqueId:"recurring-payments-id",text:__("Subscribe","jetpack"),passthroughAttributes:{uniqueId:"uniqueId",url:"url"}}]]],["premium-content/login-button"]];(0,r.useEffect)((()=>{i&&n&&n.attributes.planId!==i&&o(i)}),[i,n,o]),(0,r.useEffect)((()=>{n&&(0,l.addFilter)("jetpack.RecurringPayments.showControls","jetpack/premium-content-hide-recurring-payments-controls",((e,t)=>t!==n.clientId&&e))}),[n]);const d=(0,a.useBlockProps)({className:"wp-block-buttons"});return(0,r.createElement)("div",d,(0,r.createElement)(a.InnerBlocks,{allowedBlocks:c,template:s?u:p,templateInsertUpdatesSelection:!1,__experimentalLayout:{type:"default",alignments:[]},__experimentalMoverDirection:"horizontal"}))}))},737:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(58829),i=n(52175),s=n(72738),l=n(60439);const __=a.__,c="premium-content/buttons",u={apiVersion:2,title:__("Premium Content buttons","jetpack"),description:__("Prompt Premium Content visitors to take action with a group of button-style links.","jetpack"),category:"grow",icon:o.Z,supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},keywords:[__("link","jetpack")],edit:s.Z,save:l.Z,usesContext:["premium-content/planId","premium-content/isPreview"],deprecated:[{attributes:{},supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-buttons"},(0,r.createElement)(i.InnerBlocks.Content,null))}]}},60439:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){const e=a.useBlockProps.save({className:"wp-block-buttons"});return(0,r.createElement)("div",e,(0,r.createElement)(a.InnerBlocks.Content,null))}},23842:function(e,t,n){"use strict";var r=n(96882);t.Z={isEligible:(e,t)=>{var n;if("premium-content/logged-out-view"===(null==t||null===(n=t[0])||void 0===n?void 0:n.name))return!0},migrate:(e,t)=>[e,[t[1],t[0]]],save:r.Z}},12215:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(82402),a=n.n(r),o=n(69307),i=n(55609),s=n(65736),l=n(94333),c=n(9818),u=n(52175),p=n(51054),d=n(59948),m=n(63613),h=n(60386),f=n(14436),g=n(7652),b=n(16367);const __=s.__,v=[{id:"premium",label:(0,o.createElement)("span",null,__("Subscriber View","jetpack")),className:"wp-premium-content-subscriber-view"},{id:"wall",label:(0,o.createElement)("span",null,__("Guest View","jetpack")),className:"wp-premium-content-logged-out-view"}],k="premium-content";function y(e){const[t,n]=(0,o.useState)(v[1]),{isPreview:r,selectedPlanId:a}=e.attributes,{clientId:s,isSelected:y,className:E,setAttributes:w}=e,{isApiLoading:_,selectedBlock:C}=(0,c.useSelect)((e=>({selectedBlock:e(u.store).getSelectedBlock(),isApiLoading:e(g.h).isApiStateLoading()})));(0,o.useEffect)((()=>{if(y)return;if(!C)return;const e=(0,c.select)(u.store);e.getBlockParents(C.clientId).includes(s)&&("premium-content/logged-out-view"===C.name||e.getBlockParentsByBlockName(C.clientId,"premium-content/logged-out-view").length?n(v[1]):n(v[0]))}),[s,y,C]);const j=(0,l.useViewportMatch)("medium","<");return(0,o.createElement)("div",{className:E},!r&&(0,o.createElement)(o.Fragment,null,_&&(0,o.createElement)(i.Placeholder,{icon:"lock",label:__("Premium Content","jetpack"),instructions:__("Loading data…","jetpack")},(0,o.createElement)(i.Spinner,null)),(0,o.createElement)(h.Z,{blockName:k,clientId:s,productType:f.DM,selectedProductId:a,setSelectedProductId:e=>w({selectedPlanId:e})}),(0,o.createElement)(m.Z,{options:v,selectedOption:t,selectAction:n,contractViewport:j,label:__("Change view","jetpack")})),!_&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(b.U,{blockName:k}),(0,o.createElement)(d.Z.Provider,{value:{selectedTab:t}},(0,o.createElement)(p.Z,null))))}function E(e){return(0,o.createElement)(i.Disabled.Consumer,null,(t=>{var n;return(0,o.createElement)(y,a()({},e,{attributes:{...e.attributes,isPreview:t||(null===(n=e.attributes)||void 0===n?void 0:n.isPreview)}}))}))}},50851:function(e,t,n){"use strict";n.d(t,{X:function(){return h},u:function(){return m}});var r=n(65736),a=n(4981),o=n(12215),i=n(96882),s=n(23842),l=n(34601),c=n(86614),u=n(16912);const __=r.__,_x=r._x,p=["core/nextpage","core/spacer","core/separator","core/more","core/loginout","core/post-navigation-link"],d=e=>{if(e.some(c.Wp))return!1;if((0,c.H2)(e[0]))return!1;return!e.every((e=>p.includes(e.name)))},m="premium-content/container",h={title:__("Premium Content","jetpack"),description:__("Restrict access to your content for paying subscribers.","jetpack"),icon:l.Z,category:"grow",keywords:[_x("buy","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("exclusive","block search term","jetpack"),_x("gated","block search term","jetpack"),"gofundme",_x("memberships","block search term","jetpack"),_x("money","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("paywall","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("recurring","block search term","jetpack"),_x("repeat","block search term","jetpack"),_x("signin","block search term","jetpack"),"stripe",_x("subscribe","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("support","block search term","jetpack"),_x("sponsor","block search term","jetpack"),"square","toast","venmo","stripe","substack"],attributes:{newPlanName:{type:"string",default:__("Monthly Subscription","jetpack")},newPlanCurrency:{type:"string",default:"USD"},newPlanPrice:{type:"number",default:5},newPlanInterval:{type:"string",default:"1 month"},selectedPlanId:{type:"number",default:0},isPreview:{type:"boolean",default:!1},isPremiumContentChild:{type:"bool",default:!0}},edit:o.Z,save:i.Z,providesContext:{"premium-content/planId":"selectedPlanId","premium-content/isPreview":"isPreview",isPremiumContentChild:"isPremiumContentChild"},supports:{html:!1},example:{attributes:{isPreview:!0}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],isMatch:(e,t)=>!e.some((e=>e.isPremiumContentChild))&&(void 0===t||d(t)),__experimentalConvert(e){if(!d(e))return;const t=e.map((e=>(0,a.createBlock)(e.name,e.attributes,e.innerBlocks)));return(0,a.createBlock)("premium-content/container",{},[(0,a.createBlock)("premium-content/subscriber-view",{},t),(0,a.createBlock)("premium-content/logged-out-view")])}}],to:[{type:"block",blocks:["core/group"],transform:(e,t)=>(0,u.e)(t)}]},deprecated:[s.Z]}},98143:function(e,t,n){"use strict";var r=n(2582),a=n(52439);t.Z=[r.Z,a.Z]},2582:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(52175);t.Z={attributes:{subscribeButtonText:{type:"string",default:"Subscribe"},loginButtonText:{type:"string",default:"Log In"},buttonClasses:{type:"string",default:""},backgroundButtonColor:{type:"string",default:""},textButtonColor:{type:"string",default:""},customBackgroundButtonColor:{type:"string",default:""},customTextButtonColor:{type:"string",default:""}},isEligible:e=>{let{buttonClasses:t}=e;return!!t},migrate:(e,t)=>{if(Array.isArray(t))for(let n=0;n<t.length;n++)if(t[n].name&&"premium-content/buttons"===t[n].name)return[e,[...t]];const n=(0,a.createBlock)("premium-content/buttons",{},[(0,a.createBlock)("jetpack/recurring-payments",{submitButtonText:e.subscribeButtonText,backgroundButtonColor:e.backgroundButtonColor,textButtonColor:e.textButtonColor,customBackgroundButtonColor:e.customBackgroundButtonColor,customTextButtonColor:e.customTextButtonColor}),(0,a.createBlock)("premium-content/login-button",{text:e.loginButtonText,backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,style:{color:{background:e.customBackgroundButtonColor,text:e.customTextButtonColor}}})]);return[e,[...t,n]]},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view"},(0,r.createElement)(o.InnerBlocks.Content,null))}},52439:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{},supports:{inserter:!1,html:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view"})}},36694:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65736),i=n(59948),s=n(86614);const __=o.__;function l(){const e=(0,s.ch)();return(0,r.createElement)(i.Z.Consumer,null,(t=>{let{selectedTab:n}=t;return(0,r.createElement)("div",{hidden:"premium"===n.id,className:n.className},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:e,templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/heading",{content:__("Subscribe to get access","jetpack"),level:3}],["core/paragraph",{content:__("Read more of this content when you subscribe today.","jetpack")}],["premium-content/buttons"]]}))}))}},9160:function(e,t,n){"use strict";n.d(t,{X:function(){return d},u:function(){return p}});var r=n(36694),a=n(96588),o=n(98143),i=n(34601),s=n(94333),l=n(9818),c=n(65736),u=n(72629);const __=c.__,p="premium-content/logged-out-view",d={title:__("Guest View","jetpack"),description:__("The container for all content shown to site visitors who are not subscribers.","jetpack"),icon:i.Z,category:"grow",parent:["premium-content/container"],supports:{inserter:!1,html:!1},edit:r.Z,save:a.Z,deprecated:o.Z},m=(0,l.subscribe)((()=>{const e=(0,l.select)("core/rich-text").getFormatType("core/link");if(!e)return;m(),(0,u.unregisterFormatType)("core/link");const t=(0,s.compose)((0,l.withSelect)((e=>({selectedBlock:e("core/block-editor").getSelectedBlock()}))),(0,s.ifCondition)((e=>e.selectedBlock&&e.selectedBlock.name!==p)))(e.edit);(0,u.registerFormatType)("core/link",{...e,edit:t})}))},96588:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-logged-out-view entry-content"},(0,r.createElement)(a.InnerBlocks.Content,null))}},34154:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={text:{type:"string",source:"html",selector:"a",default:__("Log in","jetpack")},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}}},98810:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(9818),s=n(52175);const __=o.__,l="web"===r.Platform.OS;const c=e=>{if(!(0,a.isObject)(e))return e;const t=(0,a.pickBy)((0,a.mapValues)(e,c),a.identity);return(0,a.isEqual)(t,{})?void 0:t};function u(e){let{settings:t,clientId:n,enableContrastChecking:a=!0}=e;const{getComputedStyle:o,Node:i}=window,[c,u]=(0,r.useState)(),[p,d]=(0,r.useState)(),m=l?__("Color settings","jetpack"):__("Color Settings","jetpack",0);return(0,r.useEffect)((()=>{if(l&&!a)return;const e=function(e){return document.getElementById("block-"+e)}(n);if(!e)return;d(o(e).color);let t=e,r=o(t).backgroundColor;for(;"rgba(0, 0, 0, 0)"===r&&t.parentNode&&t.parentNode.nodeType===i.ELEMENT_NODE;)t=t.parentNode,r=o(t).backgroundColor;u(r)})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(s.__experimentalPanelColorGradientSettings,{title:m,initialOpen:!1,settings:t},l&&a&&(0,r.createElement)(s.ContrastChecker,{backgroundColor:c,textColor:p})))}t.Z=function(e){var t,n,a;const{attributes:o}=e,{colors:l,gradients:p}=(0,i.useSelect)((e=>e("core/block-editor").getSettings()),[]),d=(0,r.useRef)(o);(0,r.useEffect)((()=>{d.current=o}),[o]);const{style:m,textColor:h,backgroundColor:f,gradient:g}=o;let b;var v;b=g?(0,s.getGradientValueBySlug)(p,g):null==m||null===(v=m.color)||void 0===v?void 0:v.gradient;const k=t=>n=>{var r,a;const o=(0,s.getColorObjectByColorValue)(l,n),i=t+"Color",u={...d.current.style,color:{...null===(r=d.current)||void 0===r||null===(a=r.style)||void 0===a?void 0:a.color,[t]:null!=o&&o.slug?void 0:n}},p=null!=o&&o.slug?o.slug:void 0,m={style:c(u),[i]:p};e.setAttributes(m),d.current={...d.current,...m}};return(0,r.createElement)(u,{enableContrastChecking:!(g||null!=m&&null!==(t=m.color)&&void 0!==t&&t.gradient),clientId:e.clientId,settings:[{label:__("Text Color","jetpack"),onColorChange:k("text"),colorValue:(0,s.getColorObjectByAttributeValues)(l,h,null==m||null===(n=m.color)||void 0===n?void 0:n.text).color},{label:__("Background Color","jetpack"),onColorChange:k("background"),colorValue:(0,s.getColorObjectByAttributeValues)(l,f,null==m||null===(a=m.color)||void 0===a?void 0:a.background).color,gradientValue:b,onGradientChange:t=>{const n=(0,s.getGradientSlugByValue)(p,t);let r;if(n){var a,o,i;const e={...null===(a=d.current)||void 0===a?void 0:a.style,color:{...null===(o=d.current)||void 0===o||null===(i=o.style)||void 0===i?void 0:i.color,gradient:void 0}};r={style:c(e),gradient:n}}else{var l,u,m;const e={...null===(l=d.current)||void 0===l?void 0:l.style,color:{...null===(u=d.current)||void 0===u||null===(m=u.style)||void 0===m?void 0:m.color,gradient:t}};r={style:c(e),gradient:void 0}}e.setAttributes(r),d.current={...d.current,...r}}}]})}},53201:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(65235),a=n.n(r),o=n(52175);function i(e){var t,n,r,i,s,l,c,u,p,d;const{backgroundColor:m,textColor:h,gradient:f,style:g}=e,b=(0,o.getColorClassName)("background-color",m),v=(0,o.__experimentalGetGradientClass)(f),k=(0,o.getColorClassName)("color",h),y=a()(k,v,{[b]:!(null!=g&&null!==(t=g.color)&&void 0!==t&&t.gradient||!b),"has-text-color":h||(null==g||null===(n=g.color)||void 0===n?void 0:n.text),"has-background":m||(null==g||null===(r=g.color)||void 0===r?void 0:r.background)||f||(null==g||null===(i=g.color)||void 0===i?void 0:i.gradient)});return{className:y||void 0,style:null!=g&&null!==(s=g.color)&&void 0!==s&&s.background||null!=g&&null!==(l=g.color)&&void 0!==l&&l.text||null!=g&&null!==(c=g.color)&&void 0!==c&&c.gradient?{background:null!=g&&null!==(u=g.color)&&void 0!==u&&u.gradient?g.color.gradient:void 0,backgroundColor:null!=g&&null!==(p=g.color)&&void 0!==p&&p.background?g.color.background:void 0,color:null!=g&&null!==(d=g.color)&&void 0!==d&&d.text?g.color.text:void 0}:{}}}},74634:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(65736),l=n(53201);const __=s.__;t.Z={attributes:{text:{type:"string",source:"html",selector:"a",default:__("Log in","jetpack")},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},save:e=>{let{attributes:t}=e;const{borderRadius:n,text:a}=t,s=(0,l.Z)(t),c=o()("wp-block-button__link",s.className,{"no-border-radius":0===n}),u={borderRadius:n?n+"px":void 0,...s.style};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:c,style:u,value:a}))}}},53163:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(98810),u=n(53201);const __=i.__;function p(e){let{borderRadius:t="",setAttributes:n}=e;const a=(0,r.useCallback)((e=>{n({borderRadius:e})}),[n]);return(0,r.createElement)(s.PanelBody,{title:__("Border settings","jetpack")},(0,r.createElement)(s.RangeControl,{value:t,label:__("Border radius","jetpack"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:a}))}t.Z=function(e){const{attributes:t,setAttributes:n,className:a}=e,{borderRadius:i,text:s}=t,d=(0,u.Z)(t),m=(0,l.useBlockProps)({className:"wp-block-button"});return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",m,(0,r.createElement)(l.RichText,{placeholder:__("Add text…","jetpack"),value:s,onChange:e=>n({text:e}),withoutInteractiveFormatting:!0,className:o()(a,"wp-block-button__link",d.className,{"no-border-radius":0===i}),style:{borderRadius:i?i+"px":void 0,...d.style}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.Z,e),(0,r.createElement)(p,{borderRadius:i,setAttributes:n})))}},88430:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(58829),a=n(65736),o=n(53163),i=n(91430),s=n(34154),l=n(74634);const __=a.__,c="premium-content/login-button",u={title:__("Premium Content login button","jetpack"),description:__("Prompt subscriber visitors to log in with a button-style link (only visible for logged out users).","jetpack"),category:"grow",attributes:s.Z,icon:r.Z,keywords:[__("link","jetpack")],supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],edit:o.Z,save:i.Z,deprecated:[l.Z]}},91430:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(53201);function l(e){let{attributes:t}=e;const{borderRadius:n,text:a,align:l}=t,c=(0,s.Z)(t),u=o()("wp-block-button","wp-block-premium-content-login-button",{alignleft:"left"===l},{aligncenter:"center"===l},{alignright:"right"===l}),p=o()("wp-block-button__link",c.className,{"no-border-radius":0===n}),d={borderRadius:n?n+"px":void 0,...c.style},m=i.useBlockProps.save({className:u});return(0,r.createElement)("div",m,(0,r.createElement)(i.RichText.Content,{tagName:"a",className:p,style:d,value:a}))}},96882:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-container"},(0,r.createElement)(a.InnerBlocks.Content,null))}},67416:function(e,t,n){"use strict";var r=n(19178);t.Z=[r.Z]},19178:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{},supports:{inserter:!1,html:!1},save:()=>(0,r.createElement)("div",{className:"wp-block-premium-content-subscriber-view"})}},34166:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65736),i=n(9818),s=n(94333),l=n(59948),c=n(86614);const __=o.__;t.Z=(0,s.compose)([(0,i.withSelect)(((e,t)=>({hasInnerBlocks:!!e("core/block-editor").getBlocksByClientId(t.clientId)[0].innerBlocks.length})))])((function(e){let{hasInnerBlocks:t}=e;const n=(0,c.ch)();return(0,r.createElement)(l.Z.Consumer,null,(e=>{let{selectedTab:o}=e;return(0,r.createElement)("div",{hidden:"wall"===o.id,className:o.className},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:n,renderAppender:!t&&a.InnerBlocks.ButtonBlockAppender,templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/heading",{content:__("Subscriber Content","jetpack"),level:3}],["core/paragraph",{content:__("Add content here that will only be visible to your subscribers.","jetpack")}]]}))}))}))},52149:function(e,t,n){"use strict";n.d(t,{X:function(){return c},u:function(){return l}});var r=n(34166),a=n(31356),o=n(67416),i=n(34601),s=n(65736);const __=s.__,l="premium-content/subscriber-view",c={title:__("Subscriber View","jetpack"),description:__("The container for all content shown to subscribers.","jetpack"),icon:i.Z,category:"grow",attributes:{},edit:r.Z,save:a.Z,parent:["premium-content/container"],supports:{inserter:!1,html:!1},deprecated:o.Z}},31356:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-subscriber-view entry-content"},(0,r.createElement)(a.InnerBlocks.Content,null))}},10799:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(55609);const __=o.__,l=e=>{let{id:t,setRating:n,children:a}=e;return(0,r.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(o=t,e=>{let{code:t}=e;return"Enter"===t?n(o):null}),onClick:(e=>()=>n(e))(t)},a);var o};t.Z=e=>function(t){let{className:n,setAttributes:o,attributes:{align:c,color:u,rating:p,maxRating:d}}=t;const m=e=>{e===p?Math.ceil(p)===p&&(e-=.5):.5===p&&1===e&&(e=0),o({rating:e})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(i.AlignmentToolbar,{value:c,onChange:e=>o({align:e})})),(0,r.createElement)("div",{className:n,style:{textAlign:c}},(0,a.range)(1,d+1).map((t=>(0,r.createElement)(l,{key:t,id:t,setRating:m},(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t-.5?null:"is-rating-unfilled",color:u})),(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t?null:"is-rating-unfilled",color:u})))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.RangeControl,{label:__("Highest rating","jetpack"),value:d,onChange:e=>o({maxRating:e}),min:2,max:10}),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:u,onChange:e=>o({color:e}),label:__("Color","jetpack")}]}))))}},5056:function(e,t,n){"use strict";n.d(t,{d:function(){return o},r:function(){return i}});var r=n(69307),a=n(55609);const o=()=>(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"})),i=e=>{const t=(e=>e&&e.color?e.color:"currentColor")(e),n=(e=>e&&e.className?e.className:"")(e);return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},(0,r.createElement)(a.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))}},90362:function(e,t,n){"use strict";n.d(t,{X:function(){return c},u:function(){return l}});var r=n(65736),a=n(10799),o=n(78403),i=n(5056),s=n(70355);const __=r.__,_x=r._x,l="rating-star",c={title:__("Star Rating","jetpack"),description:__("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:{src:i.d,foreground:(0,s.m)()},keywords:[_x("star","block search term","jetpack"),_x("rating","block search term","jetpack"),_x("review","block search term","jetpack")],category:"widgets",example:{},styles:[{name:"filled",label:_x("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:_x("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:(0,a.Z)(i.r),save:(0,o.Z)("★")}},78403:function(e,t,n){"use strict";var r=n(69307),a=n(92819);t.Z=e=>function(t){let{className:n,attributes:{align:o,rating:i,color:s}}=t;return(0,r.createElement)("figure",{className:n,style:{textAlign:o}},(0,a.range)(1,i+1).map((t=>(0,r.createElement)("span",{key:t,style:{color:s}},e))))}},7463:function(e,t,n){"use strict";var r=n(92819),a=n(4981);const o=["submitButtonText","submitButtonClasses","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},submitButtonClasses:{type:"string"},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},migrate:e=>{const t=(0,r.omit)(e,o),n={text:(i=e).submitButtonText,textColor:i.textButtonColor,customTextColor:i.customTextButtonColor,backgroundColor:i.backgroundButtonColor,customBackgroundColor:i.customBackgroundButtonColor};var i;return[t,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"recurring-payments-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,o),Boolean),save:()=>null}},3821:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(13419),o=n(99196),i=n(52175),s=n(55609),l=n(9818),c=n(12238),u=n(92694),p=n(65736),d=n(56367),m=n(60386),h=n(7652),f=n(99307),g=n(16367);const __=p.__,b="recurring-payments";function v(e){let{attributes:t,clientId:n,context:p,setAttributes:v}=e;const{planId:k}=t,{isPremiumContentChild:y}=p,E=(0,f.j3)(),w=(0,l.useSelect)((e=>{var t,n;return null===(t=e(c.store))||void 0===t||null===(n=t.getCurrentPost())||void 0===n?void 0:n.link}),[]),_=(0,l.useSelect)((e=>e(h.h).getUpgradeUrl())),C=(0,o.useCallback)((e=>{v({planId:e,url:(e=>{if(f.yn!==E||!w)return"#";const t=new URL(w);return t.searchParams.set("recurring_payments",e),t.toString()})(e),uniqueId:`recurring-payments-${e}`})}),[E,w,v]);(0,r.useEffect)((()=>{C(k)}),[k,C]);const j=(0,u.applyFilters)("jetpack.RecurringPayments.showControls",!0,n),S=(0,a.OZ)("recurring-payments"),x=!S.available&&"missing_plan"===S.unavailableReason,P=!!_&&!x&&!y;return(0,r.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},j&&(0,r.createElement)(m.Z,{blockName:b,clientId:n,selectedProductId:k,setSelectedProductId:C}),P&&(0,r.createElement)(s.Placeholder,{icon:d.qv,instructions:__("You'll need to upgrade your plan to use the Payments block.","jetpack"),label:d.TN},(0,r.createElement)(s.Button,{href:_,target:"_blank",variant:"secondary"},__("Upgrade your plan","jetpack")),(0,r.createElement)("div",{className:"membership-button__disclaimer"},(0,r.createElement)(s.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack")))),(0,r.createElement)(g.U,{blockName:b}),(0,r.createElement)(i.InnerBlocks,{template:[["jetpack/button",{element:"a",passthroughAttributes:{uniqueId:"uniqueId",url:"url"}}]],templateLock:"all",__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))}},56367:function(e,t,n){"use strict";n.d(t,{TN:function(){return m},Xd:function(){return g},qv:function(){return h},u2:function(){return d}});var r=n(69307),a=n(13419),o=n(52175),i=n(4981),s=n(55609),l=n(65736),c=n(70355),u=n(7463),p=n(3821);n(79162);const __=l.__,_x=l._x,d="recurring-payments",m=__("Payment Button","jetpack"),h=(0,r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(s.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(s.G,null,(0,r.createElement)(s.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"}))),f=(0,a.Wp)()||(0,a.Ug)()?"https://wordpress.com/support/video-tutorials-add-payments-features-to-your-site-with-our-guides/#how-to-use-the-payments-block-video":"https://jetpack.com/support/jetpack-blocks/payments-block/",g={title:m,icon:{src:h,foreground:(0,c.m)()},description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Button allowing you to sell products and subscriptions.","jetpack")),(0,r.createElement)(s.ExternalLink,{href:f},__("Support reference","jetpack"))),category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("contribution","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("donate","block search term","jetpack"),_x("Donations","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),"gofundme",_x("memberships","block search term","jetpack"),_x("money","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("recurring","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),"stripe",_x("subscribe","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("sponsor","block search term","jetpack"),"square","toast","venmo"],usesContext:["isPremiumContentChild"],attributes:{planId:{type:"integer"},align:{type:"string"},url:{type:"string",default:"#"},uniqueId:{type:"string",default:"id"}},edit:p.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},supports:{html:!1,__experimentalExposeControlsToChildren:!0},deprecated:[u.Z],transforms:{from:[{type:"block",blocks:["core/buttons"],isMatch:(e,t)=>void 0!==t&&1===t.innerBlocks.length&&"core/button"===t.innerBlocks[0].name,transform:(e,t)=>{var n,r,a,o;const s=t[0],l={element:"a",text:null!==(n=s.attributes.text)&&void 0!==n?n:"",className:null!==(r=s.attributes.className)&&void 0!==r?r:""},c=s.attributes.width;c&&(l.width=c.toString()+"%");const u=null===(a=s.attributes.style)||void 0===a||null===(o=a.border)||void 0===o?void 0:o.radius;u&&(l.borderRadius=parseInt(u.substring(0,u.length-2)));const p=(0,i.createBlock)("jetpack/button",l,[]);return(0,i.createBlock)("jetpack/"+d,{},[p])}}]}}},53296:function(e,t,n){"use strict";n.d(t,{AP:function(){return s},Hj:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{attributes:t,setAttributes:n}=e;const{displayContext:a,displayDate:i,displayThumbnails:s,postsToShow:l}=t;return(0,r.createElement)(o.PanelBody,{title:__("Related Posts Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Display thumbnails","jetpack"),checked:s,onChange:e=>n({displayThumbnails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display date","jetpack"),checked:i,onChange:e=>n({displayDate:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display context (category or tag)","jetpack"),checked:a,onChange:e=>n({displayContext:e})}),(0,r.createElement)(o.RangeControl,{label:__("Number of posts","jetpack"),value:l,onChange:e=>n({postsToShow:Math.min(e,6)}),min:1,max:6}))}function s(e){let{attributes:t,setAttributes:n}=e;const{postLayout:a}=t,i=[{icon:"grid-view",title:__("Grid View","jetpack"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===a},{icon:"list-view",title:__("List View","jetpack"),onClick:()=>n({postLayout:"list"}),isActive:"list"===a}];return(0,r.createElement)(o.ToolbarGroup,{controls:i})}},86434:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(92819),l=n(9818),c=n(94333),u=n(53296);const __=a.__;function p(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},e.isInSiteEditor?__("Preview unavailable in site editor.","jetpack"):__("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&(0,r.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":__("Placeholder image","jetpack")},(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},(0,r.createElement)("title",null,__("Grey square","jetpack")),(0,r.createElement)(i.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("title",null,__("Icon for image","jetpack")),(0,r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},__("August 3, 2018","jetpack")),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},__("In “Uncategorized”","jetpack")))}function d(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&(0,r.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},(0,r.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function m(e){const t="jp-related-posts-i2__row";let n=0;const a=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:n=2;break;default:n=3}return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(0,n).length},e.posts.slice(0,n)),a&&(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(n).length},e.posts.slice(n)))}class h extends r.Component{render(){const{attributes:e,className:t,posts:n,setAttributes:a,instanceId:i,isInSiteEditor:s}=this.props,{displayContext:l,displayDate:c,displayThumbnails:h,postLayout:f,postsToShow:g}=e,b="jp-relatedposts-i2",v=[];for(let e=0;e<g;e++)n[e]?v.push((0,r.createElement)(d,{id:`related-posts-${i}-post-${e}`,key:b+"-"+e,post:n[e],displayThumbnails:h,displayDate:c,displayContext:l})):v.push((0,r.createElement)(p,{id:`related-posts-${i}-post-${e}`,key:"related-post-placeholder-"+e,displayThumbnails:h,displayDate:c,displayContext:l,isInSiteEditor:s}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(u.Hj,{attributes:e,setAttributes:a})),(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(u.AP,{attributes:e,setAttributes:a})),(0,r.createElement)("div",{className:t,id:`related-posts-${i}`},(0,r.createElement)("div",{className:b,"data-layout":f},(0,r.createElement)(m,{posts:v}))))}}t.ZP=(0,c.compose)(c.withInstanceId,(0,l.withSelect)((e=>{const{getCurrentPost:t}=e("core/editor"),n=t();return{posts:(0,s.get)(n,"jetpack-related-posts",[]),isInSiteEditor:(0,s.isEmpty)(n)}})))(h)},92882:function(e,t,n){"use strict";n.d(t,{Xd:function(){return u},u2:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(86434),s=n(70355);const __=a.__,_x=a._x,l="related-posts",c=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},(0,r.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),u={title:__("Related Posts","jetpack"),icon:{src:c,foreground:(0,s.m)()},category:"embed",keywords:[_x("similar content","block search term","jetpack"),_x("linked","block search term","jetpack"),_x("connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1,color:{gradients:!0,link:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0},align:["wide","full"]},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:i.ZP,save:()=>null,example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}}},4498:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(9818),u=n(65235),p=n.n(u),d=n(51100),m=n(30314);const __=i.__,_n=i._n,h=[{value:d.FV,label:__("Show after threshold","jetpack")},{value:d.Am,label:__("Show before threshold","jetpack")}];class f extends o.Component{constructor(){super(...arguments),a()(this,"state",{isThresholdValid:!0}),a()(this,"setCriteria",(e=>this.props.setAttributes({criteria:e}))),a()(this,"setThreshold",(e=>{if(/^\d+$/.test(e)&&+e>0)return this.props.setAttributes({threshold:+e}),void this.setState({isThresholdValid:!0});this.setState({isThresholdValid:!1})}))}getNoticeLabel(){return this.props.attributes.criteria===d.FV?1===this.props.attributes.threshold?__("This block will only appear to people who have visited this page more than once.","jetpack"):(0,i.sprintf)(
/* translators: placeholder is a number. */
_n("This block will only appear to people who have visited this page more than %d time.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):1===this.props.attributes.threshold?__("This block will only appear to people who are visiting this page for the first time.","jetpack"):(0,i.sprintf)(
/* translators: placeholder is a number. */
-_n("This block will only appear to people who are visiting this page for %d time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}render(){return(0,o.createElement)("div",{className:p()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},(0,o.createElement)(s.Placeholder,{icon:m.qv,label:__("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},(0,o.createElement)(s.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":__("Please enter a valid number.","jetpack"),label:__("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),(0,o.createElement)(s.RadioControl,{label:__("Visibility","jetpack"),selected:this.props.attributes.criteria,options:h,onChange:this.setCriteria})),(0,o.createElement)(s.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),(0,o.createElement)(l.InnerBlocks,null))}}t.Z=(0,c.withSelect)(((e,t)=>{const{isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{isSelected:n(t.clientId)||r(t.clientId)}}))(f)},42860:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks.Content,null))}},46314:function(e,t,n){"use strict";n.d(t,{FV:function(){return r},Am:function(){return a},Kv:function(){return o}});const r="after-visits",a="before-visits",o=3},57368:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},qv:function(){return d},Xd:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(41632),s=n(35978),l=n(42860),c=n(46314),u=n(57535);const __=a.__,_x=a._x,p="repeat-visitor",d=(0,i.Z)((0,r.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})),m={attributes:{criteria:{type:"string",default:c.FV},threshold:{type:"number",default:c.Kv}},category:"widgets",description:__("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:{src:d,foreground:(0,u.m)()},keywords:[_x("return","block search term","jetpack"),_x("visitors","block search term","jetpack"),_x("visibility","block search term","jetpack")],supports:{html:!1},title:__("Repeat Visitor","jetpack"),edit:s.Z,save:l.Z,example:{attributes:{criteria:c.FV,threshold:c.Kv},innerBlocks:[{name:"core/paragraph",attributes:{content:__("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]}}},92826:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={revueUsername:{type:"string"},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0}}},26246:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(4981),i=n(65736);const _x=i._x,__=i.__,s=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius","gradient","customGradient"];t.Z={attributes:{revueUsername:{type:"string"},text:{type:"string",default:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},migrate:e=>{const t=(0,a.omit)(e,s),n=(0,a.pick)(e,s);return[t,[(0,o.createBlock)("jetpack/button",{element:"button",text:n.text||"Subscribe",...n})]]},isEligible:(e,t)=>(0,a.isEmpty)(t)||(0,a.some)((0,a.pick)(e,s),Boolean),save:e=>{let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)("a",{href:n},n))}}},55380:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(92819),o=n(52175),i=n(55609),s=n(65736),l=n(8223),c=n(92826),u=n(80500),p=n(93641),d=n(14087),m=n(58014);const __=s.__;function h(e){let{attributes:t,className:n,setAttributes:s}=e;(0,r.useEffect)((()=>{const e=(0,d.S)(c.Z,t);(0,a.isEqual)(e,t)||s(e)}),[t,s]);const{revueUsername:h,emailLabel:f,emailPlaceholder:g,firstNameLabel:b,firstNamePlaceholder:v,firstNameShow:k,lastNameLabel:y,lastNamePlaceholder:E,lastNameShow:w}=t,[_,C]=(0,r.useState)("");(0,r.useEffect)((()=>{!_&&h&&C(h)}),[]);const j=(0,m.Wp)()||(0,m.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/revue-block/":"https://jetpack.com/support/jetpack-blocks/revue-block/";return(0,r.createElement)("div",{className:n},!h&&(0,r.createElement)(i.Placeholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:p.Z}),instructions:__("Enter your Revue username.","jetpack"),label:__("Revue","jetpack")},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),s({revueUsername:_.trim()})}},(0,r.createElement)("input",{className:"components-placeholder__input",onChange:e=>C(e.target.value.trim()),placeholder:__("Enter your Revue username here…","jetpack"),type:"text",value:_}),(0,r.createElement)("div",null,(0,r.createElement)(i.Button,{disabled:!_,isDefault:!0,isLarge:!0,isSecondary:!0,type:"submit"},__("Add Form","jetpack")))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(i.ExternalLink,{href:j},__("Need help finding your Revue username?","jetpack")))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Show first name field.","jetpack"),checked:k,onChange:()=>s({firstNameShow:!k})}),(0,r.createElement)(i.ToggleControl,{label:__("Show last name field.","jetpack"),checked:w,onChange:()=>s({lastNameShow:!w})}),(0,r.createElement)(i.TextControl,{label:__("Revue Username","jetpack"),onChange:e=>{C(e.trim()),s({revueUsername:e.trim()})},value:h}))),(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:f,labelFieldName:"emailLabel",required:!0,setAttributes:s}),onChange:e=>s({emailPlaceholder:e}),placeholder:g,value:g}),k&&(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:b,labelFieldName:"firstNameLabel",setAttributes:s}),onChange:e=>s({firstNamePlaceholder:e}),placeholder:v,value:v}),w&&(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:y,labelFieldName:"lastNameLabel",setAttributes:s}),onChange:e=>s({lastNamePlaceholder:e}),placeholder:E,value:E}),(0,r.createElement)(o.InnerBlocks,{template:[[l.Ss.name,l.Ss.attributes]],templateLock:"all"})))}},93641:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,{fillRule:"nonzero"},(0,r.createElement)(a.Path,{d:"M16.8452322,23.2301186 C13.9471277,22.2565366 12.0226052,20.2188069 10.6188359,16.5961763 C10.2565728,15.6225943 9.87166831,14.4905223 9.80374399,14.1056178 C9.66789534,13.4037331 9.6452539,13.3810917 8.96601067,13.6075061 C7.8792215,13.9697691 7.76601429,14.1282592 7.35846835,15.758443 C6.724508,18.2490015 6.45281071,18.7244718 5.56979451,18.8829619 C5.09432424,18.9735276 4.5735711,18.9282447 4.27923236,18.7697547 C3.84904498,18.5433402 3.8037621,18.3848502 3.93961075,17.501834 C4.00753507,16.9584394 4.41508101,15.3056142 4.82262695,13.8339205 C5.8414918,10.2792143 6.11318909,8.98865211 6.29432062,7.1094125 C6.43016927,5.63771883 6.47545215,5.50187018 7.08677106,5.20753145 C7.92450438,4.79998551 8.80752058,5.09432424 9.19242508,5.88677468 C9.44148093,6.38488639 9.39619805,6.90563953 8.96601067,8.98865211 C8.67167193,10.3924215 8.51318185,11.5244935 8.62638905,11.5244935 C9.12450076,11.5244935 11.2754377,10.2565728 12.0452467,9.50940525 C13.8339205,7.83393861 14.2641079,5.77356748 13.2905259,3.82640354 C12.5886412,2.4226342 11.6150593,1.94716393 9.78110255,2.08301258 C6.97356385,2.28678555 4.43772245,4.25659092 3.01131166,7.35846835 C2.21886123,9.05657643 2.19621978,9.07921787 1.49433511,8.94336923 C-1.74339096,8.28676744 0.63396035,3.39621616 5.29809721,1.19999638 C8.39997464,-0.294338734 11.5018521,-0.362263057 14.0829764,0.950940525 C17.0716466,2.51319996 18.0225871,5.93205756 16.2791961,8.96601067 C15.5999529,10.1433656 14.2641079,11.3886449 12.9509043,12.0678881 C12.5433584,12.2716611 12.2037367,12.5207169 12.2037367,12.6339241 C12.2037367,12.9509043 13.2678845,15.9395745 13.6301475,16.6641006 C14.3093908,17.9773042 16.2339133,19.8112609 17.4565511,20.377297 C18.8829619,21.0112573 21.4640861,21.0791816 23.0263456,20.5131456 L23.9772861,20.1508826 L23.9772861,20.7169186 C23.9772861,21.5320105 23.3433258,22.3471023 22.3018195,22.8904969 C21.147106,23.4791744 18.1584357,23.6603059 16.8452322,23.2301186 Z"})))},8223:function(e,t,n){"use strict";n.d(t,{Ss:function(){return u},u2:function(){return p},Xd:function(){return d}});var r=n(65736),a=n(92826),o=n(26246),i=n(55380),s=n(93641),l=n(57535),c=n(12628);const __=r.__,_x=r._x,u={name:"jetpack/button",attributes:{element:"button",text:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")}},p="revue",d={title:__("Revue","jetpack"),description:__("Add a subscription form for your Revue newsletter.","jetpack"),icon:{src:s.Z,foreground:(0,l.m)()},category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("mailing list","block search term","jetpack")],supports:{html:!1},attributes:a.Z,edit:i.Z,save:c.Z,example:{attributes:{revueUsername:"example"},innerBlocks:[u]},deprecated:[o.Z]}},12628:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null),(0,r.createElement)("a",{className:"wp-block-jetpack-revue__fallback",href:n},n))}},37161:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks,{template:[["jetpack/whatsapp-button",{}]],allowedBlocks:["jetpack/whatsapp-button"]}))}},93636:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(37161),l=n(1720),c=n(41632),u=n(57535);const __=a.__,_x=a._x,p="send-a-message",d={title:__("Send A Message","jetpack"),description:__("Let your visitors send you messages with the tap of a button.","jetpack"),icon:{src:(0,c.Z)((0,r.createElement)(i.Path,{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"})),foreground:(0,u.m)()},category:"grow",keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1},attributes:{},edit:s.Z,save:e=>(0,r.createElement)("div",{className:e.className},(0,r.createElement)(o.InnerBlocks.Content,null)),variations:l.Z,example:{}}},64566:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});const r=[{code:"US",label:"🇺🇸 +1",value:"1US"},{code:"CA",label:"🇨🇦 +1",value:"1CA"},{code:"BS",label:"🇧🇸 +1242",value:"1242BS"},{code:"BB",label:"🇧🇧 +1246",value:"1246BB"},{code:"AI",label:"🇦🇮 +1264",value:"1264AI"},{code:"AG",label:"🇦🇬 +1268",value:"1268AG"},{code:"VG",label:"🇻🇬 +1284",value:"1284VG"},{code:"VI",label:"🇻🇮 +1340",value:"1340VI"},{code:"BM",label:"🇧🇲 +1441",value:"1441BM"},{code:"GD",label:"🇬🇩 +1473",value:"1473GD"},{code:"TC",label:"🇹🇨 +1649",value:"1649TC"},{code:"MS",label:"🇲🇸 +1664",value:"1664MS"},{code:"MP",label:"🇲🇵 +1670",value:"1670MP"},{code:"GU",label:"🇬🇺 +1671",value:"1671GU"},{code:"AS",label:"🇦🇸 +1684",value:"1684AS"},{code:"LC",label:"🇱🇨 +1758",value:"1758LC"},{code:"DM",label:"🇩🇲 +1767",value:"1767DM"},{code:"VC",label:"🇻🇨 +1784",value:"1784VC"},{code:"DO",label:"🇩🇴 +1849",value:"1849DO"},{code:"TT",label:"🇹🇹 +1868",value:"1868TT"},{code:"KN",label:"🇰🇳 +1869",value:"1869KN"},{code:"JM",label:"🇯🇲 +1876",value:"1876JM"},{code:"PR",label:"🇵🇷 +1939",value:"1939PR"},{code:"EG",label:"🇪🇬 +20",value:"20EG"},{code:"MA",label:"🇲🇦 +212",value:"212MA"},{code:"DZ",label:"🇩🇿 +213",value:"213DZ"},{code:"TN",label:"🇹🇳 +216",value:"216TN"},{code:"LY",label:"🇱🇾 +218",value:"218LY"},{code:"GM",label:"🇬🇲 +220",value:"220GM"},{code:"SN",label:"🇸🇳 +221",value:"221SN"},{code:"MR",label:"🇲🇷 +222",value:"222MR"},{code:"ML",label:"🇲🇱 +223",value:"223ML"},{code:"GN",label:"🇬🇳 +224",value:"224GN"},{code:"CI",label:"🇨🇮 +225",value:"225CI"},{code:"BF",label:"🇧🇫 +226",value:"226BF"},{code:"NE",label:"🇳🇪 +227",value:"227NE"},{code:"TG",label:"🇹🇬 +228",value:"228TG"},{code:"BJ",label:"🇧🇯 +229",value:"229BJ"},{code:"MU",label:"🇲🇺 +230",value:"230MU"},{code:"LR",label:"🇱🇷 +231",value:"231LR"},{code:"SL",label:"🇸🇱 +232",value:"232SL"},{code:"GH",label:"🇬🇭 +233",value:"233GH"},{code:"NG",label:"🇳🇬 +234",value:"234NG"},{code:"TD",label:"🇹🇩 +235",value:"235TD"},{code:"CF",label:"🇨🇫 +236",value:"236CF"},{code:"CM",label:"🇨🇲 +237",value:"237CM"},{code:"CV",label:"🇨🇻 +238",value:"238CV"},{code:"ST",label:"🇸🇹 +239",value:"239ST"},{code:"GQ",label:"🇬🇶 +240",value:"240GQ"},{code:"GA",label:"🇬🇦 +241",value:"241GA"},{code:"CG",label:"🇨🇬 +242",value:"242CG"},{code:"CD",label:"🇨🇩 +243",value:"243CD"},{code:"AO",label:"🇦🇴 +244",value:"244AO"},{code:"GW",label:"🇬🇼 +245",value:"245GW"},{code:"IO",label:"🇮🇴 +246",value:"246IO"},{code:"SC",label:"🇸🇨 +248",value:"248SC"},{code:"SD",label:"🇸🇩 +249",value:"249SD"},{code:"RW",label:"🇷🇼 +250",value:"250RW"},{code:"ET",label:"🇪🇹 +251",value:"251ET"},{code:"SO",label:"🇸🇴 +252",value:"252SO"},{code:"DJ",label:"🇩🇯 +253",value:"253DJ"},{code:"KE",label:"🇰🇪 +254",value:"254KE"},{code:"TZ",label:"🇹🇿 +255",value:"255TZ"},{code:"UG",label:"🇺🇬 +256",value:"256UG"},{code:"BI",label:"🇧🇮 +257",value:"257BI"},{code:"MZ",label:"🇲🇿 +258",value:"258MZ"},{code:"ZM",label:"🇿🇲 +260",value:"260ZM"},{code:"MG",label:"🇲🇬 +261",value:"261MG"},{code:"YT",label:"🇾🇹 +262",value:"262YT"},{code:"RE",label:"🇷🇪 +262",value:"262RE"},{code:"ZW",label:"🇿🇼 +263",value:"263ZW"},{code:"NA",label:"🇳🇦 +264",value:"264NA"},{code:"MW",label:"🇲🇼 +265",value:"265MW"},{code:"LS",label:"🇱🇸 +266",value:"266LS"},{code:"BW",label:"🇧🇼 +267",value:"267BW"},{code:"SZ",label:"🇸🇿 +268",value:"268SZ"},{code:"KM",label:"🇰🇲 +269",value:"269KM"},{code:"ZA",label:"🇿🇦 +27",value:"27ZA"},{code:"SH",label:"🇸🇭 +290",value:"290SH"},{code:"ER",label:"🇪🇷 +291",value:"291ER"},{code:"AW",label:"🇦🇼 +297",value:"297AW"},{code:"FO",label:"🇫🇴 +298",value:"298FO"},{code:"GL",label:"🇬🇱 +299",value:"299GL"},{code:"GR",label:"🇬🇷 +30",value:"30GR"},{code:"NL",label:"🇳🇱 +31",value:"31NL"},{code:"BE",label:"🇧🇪 +32",value:"32BE"},{code:"FR",label:"🇫🇷 +33",value:"33FR"},{code:"ES",label:"🇪🇸 +34",value:"34ES"},{code:"KY",label:"🇰🇾 +345",value:"345KY"},{code:"GI",label:"🇬🇮 +350",value:"350GI"},{code:"PT",label:"🇵🇹 +351",value:"351PT"},{code:"LU",label:"🇱🇺 +352",value:"352LU"},{code:"IE",label:"🇮🇪 +353",value:"353IE"},{code:"IS",label:"🇮🇸 +354",value:"354IS"},{code:"AL",label:"🇦🇱 +355",value:"355AL"},{code:"MT",label:"🇲🇹 +356",value:"356MT"},{code:"CY",label:"🇨🇾 +357",value:"357CY"},{code:"FI",label:"🇫🇮 +358",value:"358FI"},{code:"BG",label:"🇧🇬 +359",value:"359BG"},{code:"HU",label:"🇭🇺 +36",value:"36HU"},{code:"LT",label:"🇱🇹 +370",value:"370LT"},{code:"LV",label:"🇱🇻 +371",value:"371LV"},{code:"EE",label:"🇪🇪 +372",value:"372EE"},{code:"MD",label:"🇲🇩 +373",value:"373MD"},{code:"AM",label:"🇦🇲 +374",value:"374AM"},{code:"BY",label:"🇧🇾 +375",value:"375BY"},{code:"AD",label:"🇦🇩 +376",value:"376AD"},{code:"MC",label:"🇲🇨 +377",value:"377MC"},{code:"SM",label:"🇸🇲 +378",value:"378SM"},{code:"VA",label:"🇻🇦 +379",value:"379VA"},{code:"UA",label:"🇺🇦 +380",value:"380UA"},{code:"RS",label:"🇷🇸 +381",value:"381RS"},{code:"ME",label:"🇲🇪 +382",value:"382ME"},{code:"XK",label:"🇽🇰 +383",value:"383XK"},{code:"HR",label:"🇭🇷 +385",value:"385HR"},{code:"SI",label:"🇸🇮 +386",value:"386SI"},{code:"BA",label:"🇧🇦 +387",value:"387BA"},{code:"MK",label:"🇲🇰 +389",value:"389MK"},{code:"IT",label:"🇮🇹 +39",value:"39IT"},{code:"RO",label:"🇷🇴 +40",value:"40RO"},{code:"CH",label:"🇨🇭 +41",value:"41CH"},{code:"CZ",label:"🇨🇿 +420",value:"420CZ"},{code:"SK",label:"🇸🇰 +421",value:"421SK"},{code:"LI",label:"🇱🇮 +423",value:"423LI"},{code:"AT",label:"🇦🇹 +43",value:"43AT"},{code:"IM",label:"🇮🇲 +44",value:"44IM"},{code:"GG",label:"🇬🇬 +44",value:"44GG"},{code:"JE",label:"🇯🇪 +44",value:"44JE"},{code:"GB",label:"🇬🇧 +44",value:"44GB"},{code:"DK",label:"🇩🇰 +45",value:"45DK"},{code:"SE",label:"🇸🇪 +46",value:"46SE"},{code:"NO",label:"🇳🇴 +47",value:"47NO"},{code:"SJ",label:"🇸🇯 +47",value:"47SJ"},{code:"PL",label:"🇵🇱 +48",value:"48PL"},{code:"DE",label:"🇩🇪 +49",value:"49DE"},{code:"FK",label:"🇫🇰 +500",value:"500FK"},{code:"GS",label:"🇬🇸 +500",value:"500GS"},{code:"BZ",label:"🇧🇿 +501",value:"501BZ"},{code:"GT",label:"🇬🇹 +502",value:"502GT"},{code:"SV",label:"🇸🇻 +503",value:"503SV"},{code:"HN",label:"🇭🇳 +504",value:"504HN"},{code:"NI",label:"🇳🇮 +505",value:"505NI"},{code:"CR",label:"🇨🇷 +506",value:"506CR"},{code:"PA",label:"🇵🇦 +507",value:"507PA"},{code:"PM",label:"🇵🇲 +508",value:"508PM"},{code:"HT",label:"🇭🇹 +509",value:"509HT"},{code:"PE",label:"🇵🇪 +51",value:"51PE"},{code:"MX",label:"🇲🇽 +52",value:"52MX"},{code:"CU",label:"🇨🇺 +53",value:"53CU"},{code:"AR",label:"🇦🇷 +54",value:"54AR"},{code:"BR",label:"🇧🇷 +55",value:"55BR"},{code:"CL",label:"🇨🇱 +56",value:"56CL"},{code:"CO",label:"🇨🇴 +57",value:"57CO"},{code:"VE",label:"🇻🇪 +58",value:"58VE"},{code:"BL",label:"🇧🇱 +590",value:"590BL"},{code:"MF",label:"🇲🇫 +590",value:"590MF"},{code:"GP",label:"🇬🇵 +590",value:"590GP"},{code:"BO",label:"🇧🇴 +591",value:"591BO"},{code:"GY",label:"🇬🇾 +592",value:"592GY"},{code:"EC",label:"🇪🇨 +593",value:"593EC"},{code:"GF",label:"🇬🇫 +594",value:"594GF"},{code:"PY",label:"🇵🇾 +595",value:"595PY"},{code:"MQ",label:"🇲🇶 +596",value:"596MQ"},{code:"SR",label:"🇸🇷 +597",value:"597SR"},{code:"UY",label:"🇺🇾 +598",value:"598UY"},{code:"MY",label:"🇲🇾 +60",value:"60MY"},{code:"CC",label:"🇨🇨 +61",value:"61CC"},{code:"AU",label:"🇦🇺 +61",value:"61AU"},{code:"CX",label:"🇨🇽 +61",value:"61CX"},{code:"ID",label:"🇮🇩 +62",value:"62ID"},{code:"PH",label:"🇵🇭 +63",value:"63PH"},{code:"NZ",label:"🇳🇿 +64",value:"64NZ"},{code:"SG",label:"🇸🇬 +65",value:"65SG"},{code:"TH",label:"🇹🇭 +66",value:"66TH"},{code:"TL",label:"🇹🇱 +670",value:"670TL"},{code:"NF",label:"🇳🇫 +672",value:"672NF"},{code:"BN",label:"🇧🇳 +673",value:"673BN"},{code:"NR",label:"🇳🇷 +674",value:"674NR"},{code:"PG",label:"🇵🇬 +675",value:"675PG"},{code:"TO",label:"🇹🇴 +676",value:"676TO"},{code:"SB",label:"🇸🇧 +677",value:"677SB"},{code:"VU",label:"🇻🇺 +678",value:"678VU"},{code:"FJ",label:"🇫🇯 +679",value:"679FJ"},{code:"PW",label:"🇵🇼 +680",value:"680PW"},{code:"WF",label:"🇼🇫 +681",value:"681WF"},{code:"CK",label:"🇨🇰 +682",value:"682CK"},{code:"NU",label:"🇳🇺 +683",value:"683NU"},{code:"WS",label:"🇼🇸 +685",value:"685WS"},{code:"KI",label:"🇰🇮 +686",value:"686KI"},{code:"NC",label:"🇳🇨 +687",value:"687NC"},{code:"TV",label:"🇹🇻 +688",value:"688TV"},{code:"PF",label:"🇵🇫 +689",value:"689PF"},{code:"TK",label:"🇹🇰 +690",value:"690TK"},{code:"FM",label:"🇫🇲 +691",value:"691FM"},{code:"MH",label:"🇲🇭 +692",value:"692MH"},{code:"RU",label:"🇷🇺 +7",value:"7RU"},{code:"KZ",label:"🇰🇿 +77",value:"77KZ"},{code:"JP",label:"🇯🇵 +81",value:"81JP"},{code:"KR",label:"🇰🇷 +82",value:"82KR"},{code:"VN",label:"🇻🇳 +84",value:"84VN"},{code:"KP",label:"🇰🇵 +850",value:"850KP"},{code:"HK",label:"🇭🇰 +852",value:"852HK"},{code:"MO",label:"🇲🇴 +853",value:"853MO"},{code:"KH",label:"🇰🇭 +855",value:"855KH"},{code:"LA",label:"🇱🇦 +856",value:"856LA"},{code:"CN",label:"🇨🇳 +86",value:"86CN"},{code:"PN",label:"🇵🇳 +872",value:"872PN"},{code:"BD",label:"🇧🇩 +880",value:"880BD"},{code:"TW",label:"🇹🇼 +886",value:"886TW"},{code:"TR",label:"🇹🇷 +90",value:"90TR"},{code:"IN",label:"🇮🇳 +91",value:"91IN"},{code:"PK",label:"🇵🇰 +92",value:"92PK"},{code:"AF",label:"🇦🇫 +93",value:"93AF"},{code:"LK",label:"🇱🇰 +94",value:"94LK"},{code:"MM",label:"🇲🇲 +95",value:"95MM"},{code:"MV",label:"🇲🇻 +960",value:"960MV"},{code:"LB",label:"🇱🇧 +961",value:"961LB"},{code:"JO",label:"🇯🇴 +962",value:"962JO"},{code:"SY",label:"🇸🇾 +963",value:"963SY"},{code:"IQ",label:"🇮🇶 +964",value:"964IQ"},{code:"KW",label:"🇰🇼 +965",value:"965KW"},{code:"SA",label:"🇸🇦 +966",value:"966SA"},{code:"YE",label:"🇾🇪 +967",value:"967YE"},{code:"OM",label:"🇴🇲 +968",value:"968OM"},{code:"PS",label:"🇵🇸 +970",value:"970PS"},{code:"AE",label:"🇦🇪 +971",value:"971AE"},{code:"IL",label:"🇮🇱 +972",value:"972IL"},{code:"BH",label:"🇧🇭 +973",value:"973BH"},{code:"QA",label:"🇶🇦 +974",value:"974QA"},{code:"BT",label:"🇧🇹 +975",value:"975BT"},{code:"MN",label:"🇲🇳 +976",value:"976MN"},{code:"NP",label:"🇳🇵 +977",value:"977NP"},{code:"IR",label:"🇮🇷 +98",value:"98IR"},{code:"TJ",label:"🇹🇯 +992",value:"992TJ"},{code:"TM",label:"🇹🇲 +993",value:"993TM"},{code:"AZ",label:"🇦🇿 +994",value:"994AZ"},{code:"GE",label:"🇬🇪 +995",value:"995GE"},{code:"KG",label:"🇰🇬 +996",value:"996KG"},{code:"UZ",label:"🇺🇿 +998",value:"998UZ"}]},1720:function(e,t,n){"use strict";var r=n(65736),a=n(22823),o=n(32220);const __=r.__,i=[{isDefault:!0,name:"whatsapp-button",title:__("WhatsApp Button","jetpack"),description:__("Let your visitors send you messages on WhatsApp with the tap of a button.","jetpack"),icon:(0,o.p)("send-a-message",a.Z),innerBlocks:[["jetpack/whatsapp-button",{}]]}];t.Z=i},87165:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={countryCode:{type:"string"},phoneNumber:{type:"string"},firstMessage:{type:"string",default:__("Hi, I got your WhatsApp information from your website.","jetpack")},buttonText:{type:"array",source:"children",selector:"a.whatsapp-block__button",default:__("Chat on WhatsApp","jetpack")},backgroundColor:{type:"string",default:"#25D366"},colorClass:{type:"string",default:"dark"},openInNewTab:{type:"boolean",default:!1}}},93374:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(39630),l=n(64566),c=n(41632),u=n(22985);const __=a.__,_x=a._x,p="#25D366",d="#465B64";function m(e){let{attributes:t,setAttributes:n,context:a}=e;const{countryCode:m,phoneNumber:h,firstMessage:f,openInNewTab:g,backgroundColor:b}=t,[v,k]=(0,r.useState)(!0),y=()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{label:__("Phone Number","jetpack"),help:__("Enter the phone number you use for WhatsApp and would like to be contacted on.","jetpack"),className:"jetpack-whatsapp-button__phonenumber"},(0,r.createElement)(o.SelectControl,{label:__("Country code","jetpack"),value:m,onChange:e=>n({countryCode:e}),options:l.n,hideLabelFromVision:!0}),(0,r.createElement)(o.TextControl,{placeholder:__("Your phone number…","jetpack"),onChange:e=>{n({phoneNumber:e}),0===e.length&&k(!0),e.length>2&&k((e=>{const t=RegExp(/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,"g");return!(void 0===e||e.length<1)&&t.test(m.replace(/\D/g,"")+e)})(e))},value:h}),!v&&(0,r.createElement)(u.Z,{isError:!0,className:"jetpack-whatsapp-error"},__("Please enter a valid phone number.","jetpack"))),"inspector"===a&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.TextareaControl,{label:__("Default First Message","jetpack"),help:__("The default first message that will be sent by visitors when using this button.","jetpack"),value:f,onChange:e=>n({firstMessage:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Open in new tab","jetpack"),checked:g,onChange:e=>n({openInNewTab:e}),help:__("When the button is tapped, should a new tab be opened if the visitor does not have WhatsApp installed?","jetpack")})));return"toolbar"===a?(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"jetpack-whatsapp-button-settings-selector",contentClassName:"jetpack-whatsapp-button__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(o.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("WhatsApp Button Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==s.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,c.Z)((0,r.createElement)(o.Path,{d:"M10.82 12.49c.02-.16.04-.32.04-.49 0-.17-.02-.33-.04-.49l1.08-.82c.1-.07.12-.21.06-.32l-1.03-1.73c-.06-.11-.2-.15-.31-.11l-1.28.5c-.27-.2-.56-.36-.87-.49l-.2-1.33c0-.12-.11-.21-.24-.21H5.98c-.13 0-.24.09-.26.21l-.2 1.32c-.31.12-.6.3-.87.49l-1.28-.5c-.12-.05-.25 0-.31.11l-1.03 1.73c-.06.12-.03.25.07.33l1.08.82c-.02.16-.03.33-.03.49 0 .17.02.33.04.49l-1.09.83c-.1.07-.12.21-.06.32l1.03 1.73c.06.11.2.15.31.11l1.28-.5c.27.2.56.36.87.49l.2 1.32c.01.12.12.21.25.21h2.06c.13 0 .24-.09.25-.21l.2-1.32c.31-.12.6-.3.87-.49l1.28.5c.12.05.25 0 .31-.11l1.03-1.73c.06-.11.04-.24-.06-.32l-1.1-.83zM7 13.75c-.99 0-1.8-.78-1.8-1.75s.81-1.75 1.8-1.75 1.8.78 1.8 1.75S8 13.75 7 13.75zM18 1.01L8 1c-1.1 0-2 .9-2 2v3h2V5h10v14H8v-1H6v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99z"}))}))(t,n)},renderContent:y})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("WhatsApp Button Settings","jetpack"),initialOpen:!0},y()),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!1,colorSettings:[{value:b,onChange:e=>(e=>{if(n({backgroundColor:e}),void 0===e||e===p||e===d)return n({colorClass:"dark"});n({colorClass:"light"})})(e),label:__("Background Color","jetpack"),disableCustomColors:!0,colors:[{name:_x("WhatsApp Green","background color name","jetpack"),slug:"whatsapp-green",color:p},{name:_x("WhatsApp Dark","background color name","jetpack"),slug:"whatsapp-dark",color:d},{name:_x("WhatsApp Light","background color name","jetpack"),slug:"whatsapp-light",color:"#F4F4F4"},{name:_x("White","background color name","jetpack"),slug:"whatsapp-white",color:"#FFFFFF"}]}]}))}},11026:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(59770),l=n(87165);t.Z={attributes:l.Z,supports:{html:!1,reusable:!1},save:function(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,colorClass:u,buttonText:p,backgroundColor:d,openInNewTab:m}=t,h=m?"_blank":"_self",f=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",g=o()(n,u?"is-color-"+u:void 0,p.length?void 0:"has-no-text");return(0,r.createElement)("div",{className:g},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+f;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:d},target:h,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:p})))}}},60249:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(89105),o=n.n(a),i=n(9818),s=n(52175),l=n(64566),c=n(93374);function u(e){let{attributes:t,setAttributes:n,className:a,clientId:u}=e;const{countryCode:p,buttonText:d,colorClass:m,backgroundColor:h}=t,{selectBlock:f}=(0,i.useDispatch)("core/block-editor"),g=(0,r.useCallback)((async()=>{n({countryCode:"1"});const e=await fetch("https://public-api.wordpress.com/geo/").then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json();l.n.forEach((e=>{e.code===t.country_short&&n({countryCode:e.value})}))}}),[n]);(0,r.useEffect)((()=>{void 0===p&&(g(),f(u))}),[u,p,g,f]);return(0,r.createElement)("div",{className:o()(a,m?"is-color-"+m:void 0)},(0,r.createElement)(s.BlockControls,null,(0,r.createElement)(c.Z,{context:"toolbar",setAttributes:n,attributes:t})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(c.Z,{context:"inspector",setAttributes:n,attributes:t})),(0,r.createElement)(s.RichText,{placeholder:d.default,value:d,onChange:e=>n({buttonText:e}),withoutInteractiveFormatting:!0,allowedFormats:[],className:"whatsapp-block__button",tagName:"a",preserveWhiteSpace:!1,style:{backgroundColor:h,color:"dark"===m?"#fff":"#465B64"}}))}},22823:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(57535);t.Z=(0,r.createElement)(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,r.createElement)(a.Path,{fill:(0,o.m)(),d:"M24,11.6909333 C24,18.1477333 18.7256,23.3818667 12.2181333,23.3818667 C10.1522667,23.3818667 8.21146667,22.8538667 6.52293333,21.9272 L0,24 L2.12666667,17.7274667 C1.05386667,15.9658667 0.436,13.8997333 0.436,11.6909333 C0.436,5.23413333 5.71093333,0 12.2181333,0 C18.7261333,0 24,5.23413333 24,11.6909333 Z M12.2181333,1.86186667 C6.75573333,1.86186667 2.31253333,6.2712 2.31253333,11.6909333 C2.31253333,13.8416 3.0136,15.8333333 4.19946667,17.4536 L2.96186667,21.104 L6.76853333,19.8941333 C8.33253333,20.9210667 10.2061333,21.52 12.2184,21.52 C17.68,21.52 22.124,17.1112 22.124,11.6914667 C22.124,6.27173333 17.6802667,1.86186667 12.2181333,1.86186667 Z M18.1677333,14.3834667 C18.0949333,14.2642667 17.9026667,14.1922667 17.6141333,14.0490667 C17.3250667,13.9058667 15.9048,13.2122667 15.6408,13.1170667 C15.376,13.0216 15.1829333,12.9736 14.9906667,13.2602667 C14.7984,13.5472 14.2448,14.1922667 14.076,14.3834667 C13.9074667,14.5752 13.7392,14.5992 13.4501333,14.4557333 C13.1616,14.3125333 12.2312,14.0096 11.128,13.0336 C10.2696,12.2741333 9.68986667,11.3365333 9.52133333,11.0493333 C9.35306667,10.7626667 9.50373333,10.6077333 9.648,10.4650667 C9.77813333,10.3365333 9.93706667,10.1304 10.0813333,9.9632 C10.2261333,9.79573333 10.2741333,9.67653333 10.3698667,9.48506667 C10.4666667,9.29386667 10.4184,9.12666667 10.3458667,8.98293333 C10.2738667,8.83973333 9.69573333,7.4296 9.4552,6.85573333 C9.21466667,6.2824 8.9744,6.37786667 8.8056,6.37786667 C8.63733333,6.37786667 8.44453333,6.35386667 8.252,6.35386667 C8.05946667,6.35386667 7.7464,6.4256 7.4816,6.71226667 C7.21706667,6.9992 6.4712,7.69253333 6.4712,9.1024 C6.4712,10.5125333 7.5056,11.8749333 7.6504,12.0658667 C7.79466667,12.2568 9.64773333,15.2445333 12.5837333,16.392 C15.52,17.5389333 15.52,17.1562667 16.0496,17.1082667 C16.5786667,17.0605333 17.7578667,16.4152 17.9994667,15.7464 C18.2394667,15.0765333 18.2394667,14.5029333 18.1677333,14.3834667 Z"}))},59770:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},pf:function(){return d},Xd:function(){return m}});var r=n(65736),a=n(57535),o=n(87165),i=n(60249),s=n(4114),l=n(11026),c=n(22823);const __=r.__,_x=r._x,u="whatsapp-button",p=__("WhatsApp Button","jetpack"),d="https://api.whatsapp.com/send?phone=",m=(__("Chat on WhatsApp","jetpack"),__("Hi, I got your WhatsApp information from your website.","jetpack"),{title:p,description:__("Let your visitors send you a message on WhatsApp with the tap of a button.","jetpack"),icon:{src:c.Z,foreground:(0,a.m)()},category:"grow",parent:["jetpack/send-a-message"],keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1,reusable:!1,align:["left","center","right"]},attributes:o.Z,edit:i.Z,save:s.Z,example:{attributes:{countryCode:"1",phoneNumber:"555-123-4567"}},deprecated:[l.Z]})},4114:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(59770);function l(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,buttonText:u,backgroundColor:p,colorClass:d,openInNewTab:m}=t,h=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",f=o()(n,d?"is-color-"+d:void 0,u.length?void 0:"has-no-text"),g=m?"_blank":"_self";return(0,r.createElement)("div",{className:f},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+h;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:p,color:"dark"===d?"#fff":"#465B64"},target:g,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:u})))}},96594:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(32673),l=n(20489);const __=a.__,c="seo",u={render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("SEO Description","jetpack")},(0,r.createElement)(l.Z,null))),(0,r.createElement)(i.PluginPrePublishPanel,{initialOpen:!0,id:"seo-title",title:(0,r.createElement)("span",{id:"seo-defaults",key:"seo-title-span"},__("SEO Description","jetpack"))},(0,r.createElement)(l.Z,null)))}},20489:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(9818);const __=i.__,_n=i._n;class u extends o.Component{constructor(){super(...arguments),a()(this,"onMessageChange",(e=>{this.props.updateSeoDescription(e.target.value)}))}render(){const{seoDescription:e}=this.props;return(0,o.createElement)("div",{className:"jetpack-seo-message-box"},(0,o.createElement)("textarea",{value:e,onChange:this.onMessageChange,placeholder:__("Write a description…","jetpack"),rows:4}),(0,o.createElement)("div",{className:"jetpack-seo-character-count"},(0,i.sprintf)(
+_n("This block will only appear to people who are visiting this page for %d time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}render(){return(0,o.createElement)("div",{className:p()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},(0,o.createElement)(s.Placeholder,{icon:m.qv,label:__("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},(0,o.createElement)(s.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":__("Please enter a valid number.","jetpack"),label:__("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),(0,o.createElement)(s.RadioControl,{label:__("Visibility","jetpack"),selected:this.props.attributes.criteria,options:h,onChange:this.setCriteria})),(0,o.createElement)(s.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),(0,o.createElement)("div",{className:"wp-block-jetpack-repeat-visitor__inner-container"},(0,o.createElement)(l.InnerBlocks,null)))}}t.Z=(0,c.withSelect)(((e,t)=>{const{isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{isSelected:n(t.clientId)||r(t.clientId)}}))(f)},48516:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)("div",{className:"wp-block-jetpack-repeat-visitor__inner-container"},(0,r.createElement)(a.InnerBlocks.Content,null)))}},51100:function(e,t,n){"use strict";n.d(t,{Am:function(){return a},FV:function(){return r},Kv:function(){return o}});const r="after-visits",a="before-visits",o=3},30314:function(e,t,n){"use strict";n.d(t,{Xd:function(){return f},qv:function(){return h},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(36598),l=n(4498),c=n(48516),u=n(51100),p=n(70355);const __=a.__,_x=a._x,d={attributes:{criteria:{type:"string",default:u.FV},threshold:{type:"number",default:u.Kv}},supports:{html:!1},save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(i.InnerBlocks.Content,null))}},m="repeat-visitor",h=(0,s.Z)((0,r.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})),f={attributes:{criteria:{type:"string",default:u.FV},threshold:{type:"number",default:u.Kv}},category:"widgets",description:__("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:{src:h,foreground:(0,p.m)()},keywords:[_x("return","block search term","jetpack"),_x("visitors","block search term","jetpack"),_x("visibility","block search term","jetpack")],supports:{align:["wide","full"],html:!1},title:__("Repeat Visitor","jetpack"),edit:l.Z,save:c.Z,example:{attributes:{criteria:u.FV,threshold:u.Kv},innerBlocks:[{name:"core/paragraph",attributes:{content:__("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]},deprecated:[d]}},98052:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={revueUsername:{type:"string"},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0}}},67686:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(4981),i=n(65736);const _x=i._x,__=i.__,s=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius","gradient","customGradient"];t.Z={attributes:{revueUsername:{type:"string"},text:{type:"string",default:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},migrate:e=>{const t=(0,a.omit)(e,s),n=(0,a.pick)(e,s);return[t,[(0,o.createBlock)("jetpack/button",{element:"button",text:n.text||"Subscribe",...n})]]},isEligible:(e,t)=>(0,a.isEmpty)(t)||(0,a.some)((0,a.pick)(e,s),Boolean),save:e=>{let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)("a",{href:n},n))}}},40349:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(92819),o=n(13419),i=n(52175),s=n(55609),l=n(65736),c=n(12012),u=n(98052),p=n(15642),d=n(63519),m=n(4554);const __=l.__;function h(e){let{attributes:t,className:n,setAttributes:l}=e;(0,r.useEffect)((()=>{const e=(0,m.S)(u.Z,t);(0,a.isEqual)(e,t)||l(e)}),[t,l]);const{revueUsername:h,emailLabel:f,emailPlaceholder:g,firstNameLabel:b,firstNamePlaceholder:v,firstNameShow:k,lastNameLabel:y,lastNamePlaceholder:E,lastNameShow:w}=t,[_,C]=(0,r.useState)("");(0,r.useEffect)((()=>{!_&&h&&C(h)}),[]);const j=(0,o.Wp)()||(0,o.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/revue-block/":"https://jetpack.com/support/jetpack-blocks/revue-block/";return(0,r.createElement)("div",{className:n},!h&&(0,r.createElement)(s.Placeholder,{icon:d.Z,instructions:__("Enter your Revue username.","jetpack"),label:__("Revue","jetpack")},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),l({revueUsername:_.trim()})}},(0,r.createElement)("input",{className:"components-placeholder__input",onChange:e=>C(e.target.value.trim()),placeholder:__("Enter your Revue username here…","jetpack"),type:"text",value:_}),(0,r.createElement)("div",null,(0,r.createElement)(s.Button,{disabled:!_,variant:"secondary",type:"submit"},__("Add Form","jetpack")))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(s.ExternalLink,{href:j},__("Need help finding your Revue username?","jetpack")))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.ToggleControl,{label:__("Show first name field.","jetpack"),checked:k,onChange:()=>l({firstNameShow:!k})}),(0,r.createElement)(s.ToggleControl,{label:__("Show last name field.","jetpack"),checked:w,onChange:()=>l({lastNameShow:!w})}),(0,r.createElement)(s.TextControl,{label:__("Revue Username","jetpack"),onChange:e=>{C(e.trim()),l({revueUsername:e.trim()})},value:h}))),(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:f,labelFieldName:"emailLabel",required:!0,setAttributes:l}),onChange:e=>l({emailPlaceholder:e}),placeholder:g,value:g}),k&&(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:b,labelFieldName:"firstNameLabel",setAttributes:l}),onChange:e=>l({firstNamePlaceholder:e}),placeholder:v,value:v}),w&&(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:y,labelFieldName:"lastNameLabel",setAttributes:l}),onChange:e=>l({lastNamePlaceholder:e}),placeholder:E,value:E}),(0,r.createElement)(i.InnerBlocks,{template:[[c.Ss.name,c.Ss.attributes]],templateLock:"all"})))}},63519:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,{fillRule:"nonzero"},(0,r.createElement)(a.Path,{d:"M16.8452322,23.2301186 C13.9471277,22.2565366 12.0226052,20.2188069 10.6188359,16.5961763 C10.2565728,15.6225943 9.87166831,14.4905223 9.80374399,14.1056178 C9.66789534,13.4037331 9.6452539,13.3810917 8.96601067,13.6075061 C7.8792215,13.9697691 7.76601429,14.1282592 7.35846835,15.758443 C6.724508,18.2490015 6.45281071,18.7244718 5.56979451,18.8829619 C5.09432424,18.9735276 4.5735711,18.9282447 4.27923236,18.7697547 C3.84904498,18.5433402 3.8037621,18.3848502 3.93961075,17.501834 C4.00753507,16.9584394 4.41508101,15.3056142 4.82262695,13.8339205 C5.8414918,10.2792143 6.11318909,8.98865211 6.29432062,7.1094125 C6.43016927,5.63771883 6.47545215,5.50187018 7.08677106,5.20753145 C7.92450438,4.79998551 8.80752058,5.09432424 9.19242508,5.88677468 C9.44148093,6.38488639 9.39619805,6.90563953 8.96601067,8.98865211 C8.67167193,10.3924215 8.51318185,11.5244935 8.62638905,11.5244935 C9.12450076,11.5244935 11.2754377,10.2565728 12.0452467,9.50940525 C13.8339205,7.83393861 14.2641079,5.77356748 13.2905259,3.82640354 C12.5886412,2.4226342 11.6150593,1.94716393 9.78110255,2.08301258 C6.97356385,2.28678555 4.43772245,4.25659092 3.01131166,7.35846835 C2.21886123,9.05657643 2.19621978,9.07921787 1.49433511,8.94336923 C-1.74339096,8.28676744 0.63396035,3.39621616 5.29809721,1.19999638 C8.39997464,-0.294338734 11.5018521,-0.362263057 14.0829764,0.950940525 C17.0716466,2.51319996 18.0225871,5.93205756 16.2791961,8.96601067 C15.5999529,10.1433656 14.2641079,11.3886449 12.9509043,12.0678881 C12.5433584,12.2716611 12.2037367,12.5207169 12.2037367,12.6339241 C12.2037367,12.9509043 13.2678845,15.9395745 13.6301475,16.6641006 C14.3093908,17.9773042 16.2339133,19.8112609 17.4565511,20.377297 C18.8829619,21.0112573 21.4640861,21.0791816 23.0263456,20.5131456 L23.9772861,20.1508826 L23.9772861,20.7169186 C23.9772861,21.5320105 23.3433258,22.3471023 22.3018195,22.8904969 C21.147106,23.4791744 18.1584357,23.6603059 16.8452322,23.2301186 Z"})))},12012:function(e,t,n){"use strict";n.d(t,{Ss:function(){return u},Xd:function(){return d},u2:function(){return p}});var r=n(65736),a=n(98052),o=n(67686),i=n(40349),s=n(63519),l=n(70355),c=n(15014);const __=r.__,_x=r._x,u={name:"jetpack/button",attributes:{element:"button",text:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")}},p="revue",d={title:__("Revue","jetpack"),description:__("Add a subscription form for your Revue newsletter.","jetpack"),icon:{src:s.Z,foreground:(0,l.m)()},category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("mailing list","block search term","jetpack")],supports:{html:!1},attributes:a.Z,edit:i.Z,save:c.Z,example:{attributes:{revueUsername:"example"},innerBlocks:[u]},deprecated:[o.Z]}},15014:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null),(0,r.createElement)("a",{className:"wp-block-jetpack-revue__fallback",href:n},n))}},26208:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks,{template:[["jetpack/whatsapp-button",{}]],allowedBlocks:["jetpack/whatsapp-button"]}))}},17458:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},u2:function(){return p}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(26208),l=n(1645),c=n(36598),u=n(70355);const __=a.__,_x=a._x,p="send-a-message",d={title:__("Send A Message","jetpack"),description:__("Let your visitors send you messages with the tap of a button.","jetpack"),icon:{src:(0,c.Z)((0,r.createElement)(i.Path,{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"})),foreground:(0,u.m)()},category:"grow",keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1},attributes:{},edit:s.Z,save:e=>(0,r.createElement)("div",{className:e.className},(0,r.createElement)(o.InnerBlocks.Content,null)),variations:l.Z,example:{}}},46482:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});const r=[{code:"US",label:"🇺🇸 +1",value:"1US"},{code:"CA",label:"🇨🇦 +1",value:"1CA"},{code:"BS",label:"🇧🇸 +1242",value:"1242BS"},{code:"BB",label:"🇧🇧 +1246",value:"1246BB"},{code:"AI",label:"🇦🇮 +1264",value:"1264AI"},{code:"AG",label:"🇦🇬 +1268",value:"1268AG"},{code:"VG",label:"🇻🇬 +1284",value:"1284VG"},{code:"VI",label:"🇻🇮 +1340",value:"1340VI"},{code:"BM",label:"🇧🇲 +1441",value:"1441BM"},{code:"GD",label:"🇬🇩 +1473",value:"1473GD"},{code:"TC",label:"🇹🇨 +1649",value:"1649TC"},{code:"MS",label:"🇲🇸 +1664",value:"1664MS"},{code:"MP",label:"🇲🇵 +1670",value:"1670MP"},{code:"GU",label:"🇬🇺 +1671",value:"1671GU"},{code:"AS",label:"🇦🇸 +1684",value:"1684AS"},{code:"LC",label:"🇱🇨 +1758",value:"1758LC"},{code:"DM",label:"🇩🇲 +1767",value:"1767DM"},{code:"VC",label:"🇻🇨 +1784",value:"1784VC"},{code:"DO",label:"🇩🇴 +1849",value:"1849DO"},{code:"TT",label:"🇹🇹 +1868",value:"1868TT"},{code:"KN",label:"🇰🇳 +1869",value:"1869KN"},{code:"JM",label:"🇯🇲 +1876",value:"1876JM"},{code:"PR",label:"🇵🇷 +1939",value:"1939PR"},{code:"EG",label:"🇪🇬 +20",value:"20EG"},{code:"MA",label:"🇲🇦 +212",value:"212MA"},{code:"DZ",label:"🇩🇿 +213",value:"213DZ"},{code:"TN",label:"🇹🇳 +216",value:"216TN"},{code:"LY",label:"🇱🇾 +218",value:"218LY"},{code:"GM",label:"🇬🇲 +220",value:"220GM"},{code:"SN",label:"🇸🇳 +221",value:"221SN"},{code:"MR",label:"🇲🇷 +222",value:"222MR"},{code:"ML",label:"🇲🇱 +223",value:"223ML"},{code:"GN",label:"🇬🇳 +224",value:"224GN"},{code:"CI",label:"🇨🇮 +225",value:"225CI"},{code:"BF",label:"🇧🇫 +226",value:"226BF"},{code:"NE",label:"🇳🇪 +227",value:"227NE"},{code:"TG",label:"🇹🇬 +228",value:"228TG"},{code:"BJ",label:"🇧🇯 +229",value:"229BJ"},{code:"MU",label:"🇲🇺 +230",value:"230MU"},{code:"LR",label:"🇱🇷 +231",value:"231LR"},{code:"SL",label:"🇸🇱 +232",value:"232SL"},{code:"GH",label:"🇬🇭 +233",value:"233GH"},{code:"NG",label:"🇳🇬 +234",value:"234NG"},{code:"TD",label:"🇹🇩 +235",value:"235TD"},{code:"CF",label:"🇨🇫 +236",value:"236CF"},{code:"CM",label:"🇨🇲 +237",value:"237CM"},{code:"CV",label:"🇨🇻 +238",value:"238CV"},{code:"ST",label:"🇸🇹 +239",value:"239ST"},{code:"GQ",label:"🇬🇶 +240",value:"240GQ"},{code:"GA",label:"🇬🇦 +241",value:"241GA"},{code:"CG",label:"🇨🇬 +242",value:"242CG"},{code:"CD",label:"🇨🇩 +243",value:"243CD"},{code:"AO",label:"🇦🇴 +244",value:"244AO"},{code:"GW",label:"🇬🇼 +245",value:"245GW"},{code:"IO",label:"🇮🇴 +246",value:"246IO"},{code:"SC",label:"🇸🇨 +248",value:"248SC"},{code:"SD",label:"🇸🇩 +249",value:"249SD"},{code:"RW",label:"🇷🇼 +250",value:"250RW"},{code:"ET",label:"🇪🇹 +251",value:"251ET"},{code:"SO",label:"🇸🇴 +252",value:"252SO"},{code:"DJ",label:"🇩🇯 +253",value:"253DJ"},{code:"KE",label:"🇰🇪 +254",value:"254KE"},{code:"TZ",label:"🇹🇿 +255",value:"255TZ"},{code:"UG",label:"🇺🇬 +256",value:"256UG"},{code:"BI",label:"🇧🇮 +257",value:"257BI"},{code:"MZ",label:"🇲🇿 +258",value:"258MZ"},{code:"ZM",label:"🇿🇲 +260",value:"260ZM"},{code:"MG",label:"🇲🇬 +261",value:"261MG"},{code:"YT",label:"🇾🇹 +262",value:"262YT"},{code:"RE",label:"🇷🇪 +262",value:"262RE"},{code:"ZW",label:"🇿🇼 +263",value:"263ZW"},{code:"NA",label:"🇳🇦 +264",value:"264NA"},{code:"MW",label:"🇲🇼 +265",value:"265MW"},{code:"LS",label:"🇱🇸 +266",value:"266LS"},{code:"BW",label:"🇧🇼 +267",value:"267BW"},{code:"SZ",label:"🇸🇿 +268",value:"268SZ"},{code:"KM",label:"🇰🇲 +269",value:"269KM"},{code:"ZA",label:"🇿🇦 +27",value:"27ZA"},{code:"SH",label:"🇸🇭 +290",value:"290SH"},{code:"ER",label:"🇪🇷 +291",value:"291ER"},{code:"AW",label:"🇦🇼 +297",value:"297AW"},{code:"FO",label:"🇫🇴 +298",value:"298FO"},{code:"GL",label:"🇬🇱 +299",value:"299GL"},{code:"GR",label:"🇬🇷 +30",value:"30GR"},{code:"NL",label:"🇳🇱 +31",value:"31NL"},{code:"BE",label:"🇧🇪 +32",value:"32BE"},{code:"FR",label:"🇫🇷 +33",value:"33FR"},{code:"ES",label:"🇪🇸 +34",value:"34ES"},{code:"KY",label:"🇰🇾 +345",value:"345KY"},{code:"GI",label:"🇬🇮 +350",value:"350GI"},{code:"PT",label:"🇵🇹 +351",value:"351PT"},{code:"LU",label:"🇱🇺 +352",value:"352LU"},{code:"IE",label:"🇮🇪 +353",value:"353IE"},{code:"IS",label:"🇮🇸 +354",value:"354IS"},{code:"AL",label:"🇦🇱 +355",value:"355AL"},{code:"MT",label:"🇲🇹 +356",value:"356MT"},{code:"CY",label:"🇨🇾 +357",value:"357CY"},{code:"FI",label:"🇫🇮 +358",value:"358FI"},{code:"BG",label:"🇧🇬 +359",value:"359BG"},{code:"HU",label:"🇭🇺 +36",value:"36HU"},{code:"LT",label:"🇱🇹 +370",value:"370LT"},{code:"LV",label:"🇱🇻 +371",value:"371LV"},{code:"EE",label:"🇪🇪 +372",value:"372EE"},{code:"MD",label:"🇲🇩 +373",value:"373MD"},{code:"AM",label:"🇦🇲 +374",value:"374AM"},{code:"BY",label:"🇧🇾 +375",value:"375BY"},{code:"AD",label:"🇦🇩 +376",value:"376AD"},{code:"MC",label:"🇲🇨 +377",value:"377MC"},{code:"SM",label:"🇸🇲 +378",value:"378SM"},{code:"VA",label:"🇻🇦 +379",value:"379VA"},{code:"UA",label:"🇺🇦 +380",value:"380UA"},{code:"RS",label:"🇷🇸 +381",value:"381RS"},{code:"ME",label:"🇲🇪 +382",value:"382ME"},{code:"XK",label:"🇽🇰 +383",value:"383XK"},{code:"HR",label:"🇭🇷 +385",value:"385HR"},{code:"SI",label:"🇸🇮 +386",value:"386SI"},{code:"BA",label:"🇧🇦 +387",value:"387BA"},{code:"MK",label:"🇲🇰 +389",value:"389MK"},{code:"IT",label:"🇮🇹 +39",value:"39IT"},{code:"RO",label:"🇷🇴 +40",value:"40RO"},{code:"CH",label:"🇨🇭 +41",value:"41CH"},{code:"CZ",label:"🇨🇿 +420",value:"420CZ"},{code:"SK",label:"🇸🇰 +421",value:"421SK"},{code:"LI",label:"🇱🇮 +423",value:"423LI"},{code:"AT",label:"🇦🇹 +43",value:"43AT"},{code:"IM",label:"🇮🇲 +44",value:"44IM"},{code:"GG",label:"🇬🇬 +44",value:"44GG"},{code:"JE",label:"🇯🇪 +44",value:"44JE"},{code:"GB",label:"🇬🇧 +44",value:"44GB"},{code:"DK",label:"🇩🇰 +45",value:"45DK"},{code:"SE",label:"🇸🇪 +46",value:"46SE"},{code:"NO",label:"🇳🇴 +47",value:"47NO"},{code:"SJ",label:"🇸🇯 +47",value:"47SJ"},{code:"PL",label:"🇵🇱 +48",value:"48PL"},{code:"DE",label:"🇩🇪 +49",value:"49DE"},{code:"FK",label:"🇫🇰 +500",value:"500FK"},{code:"GS",label:"🇬🇸 +500",value:"500GS"},{code:"BZ",label:"🇧🇿 +501",value:"501BZ"},{code:"GT",label:"🇬🇹 +502",value:"502GT"},{code:"SV",label:"🇸🇻 +503",value:"503SV"},{code:"HN",label:"🇭🇳 +504",value:"504HN"},{code:"NI",label:"🇳🇮 +505",value:"505NI"},{code:"CR",label:"🇨🇷 +506",value:"506CR"},{code:"PA",label:"🇵🇦 +507",value:"507PA"},{code:"PM",label:"🇵🇲 +508",value:"508PM"},{code:"HT",label:"🇭🇹 +509",value:"509HT"},{code:"PE",label:"🇵🇪 +51",value:"51PE"},{code:"MX",label:"🇲🇽 +52",value:"52MX"},{code:"CU",label:"🇨🇺 +53",value:"53CU"},{code:"AR",label:"🇦🇷 +54",value:"54AR"},{code:"BR",label:"🇧🇷 +55",value:"55BR"},{code:"CL",label:"🇨🇱 +56",value:"56CL"},{code:"CO",label:"🇨🇴 +57",value:"57CO"},{code:"VE",label:"🇻🇪 +58",value:"58VE"},{code:"BL",label:"🇧🇱 +590",value:"590BL"},{code:"MF",label:"🇲🇫 +590",value:"590MF"},{code:"GP",label:"🇬🇵 +590",value:"590GP"},{code:"BO",label:"🇧🇴 +591",value:"591BO"},{code:"GY",label:"🇬🇾 +592",value:"592GY"},{code:"EC",label:"🇪🇨 +593",value:"593EC"},{code:"GF",label:"🇬🇫 +594",value:"594GF"},{code:"PY",label:"🇵🇾 +595",value:"595PY"},{code:"MQ",label:"🇲🇶 +596",value:"596MQ"},{code:"SR",label:"🇸🇷 +597",value:"597SR"},{code:"UY",label:"🇺🇾 +598",value:"598UY"},{code:"MY",label:"🇲🇾 +60",value:"60MY"},{code:"CC",label:"🇨🇨 +61",value:"61CC"},{code:"AU",label:"🇦🇺 +61",value:"61AU"},{code:"CX",label:"🇨🇽 +61",value:"61CX"},{code:"ID",label:"🇮🇩 +62",value:"62ID"},{code:"PH",label:"🇵🇭 +63",value:"63PH"},{code:"NZ",label:"🇳🇿 +64",value:"64NZ"},{code:"SG",label:"🇸🇬 +65",value:"65SG"},{code:"TH",label:"🇹🇭 +66",value:"66TH"},{code:"TL",label:"🇹🇱 +670",value:"670TL"},{code:"NF",label:"🇳🇫 +672",value:"672NF"},{code:"BN",label:"🇧🇳 +673",value:"673BN"},{code:"NR",label:"🇳🇷 +674",value:"674NR"},{code:"PG",label:"🇵🇬 +675",value:"675PG"},{code:"TO",label:"🇹🇴 +676",value:"676TO"},{code:"SB",label:"🇸🇧 +677",value:"677SB"},{code:"VU",label:"🇻🇺 +678",value:"678VU"},{code:"FJ",label:"🇫🇯 +679",value:"679FJ"},{code:"PW",label:"🇵🇼 +680",value:"680PW"},{code:"WF",label:"🇼🇫 +681",value:"681WF"},{code:"CK",label:"🇨🇰 +682",value:"682CK"},{code:"NU",label:"🇳🇺 +683",value:"683NU"},{code:"WS",label:"🇼🇸 +685",value:"685WS"},{code:"KI",label:"🇰🇮 +686",value:"686KI"},{code:"NC",label:"🇳🇨 +687",value:"687NC"},{code:"TV",label:"🇹🇻 +688",value:"688TV"},{code:"PF",label:"🇵🇫 +689",value:"689PF"},{code:"TK",label:"🇹🇰 +690",value:"690TK"},{code:"FM",label:"🇫🇲 +691",value:"691FM"},{code:"MH",label:"🇲🇭 +692",value:"692MH"},{code:"RU",label:"🇷🇺 +7",value:"7RU"},{code:"KZ",label:"🇰🇿 +77",value:"77KZ"},{code:"JP",label:"🇯🇵 +81",value:"81JP"},{code:"KR",label:"🇰🇷 +82",value:"82KR"},{code:"VN",label:"🇻🇳 +84",value:"84VN"},{code:"KP",label:"🇰🇵 +850",value:"850KP"},{code:"HK",label:"🇭🇰 +852",value:"852HK"},{code:"MO",label:"🇲🇴 +853",value:"853MO"},{code:"KH",label:"🇰🇭 +855",value:"855KH"},{code:"LA",label:"🇱🇦 +856",value:"856LA"},{code:"CN",label:"🇨🇳 +86",value:"86CN"},{code:"PN",label:"🇵🇳 +872",value:"872PN"},{code:"BD",label:"🇧🇩 +880",value:"880BD"},{code:"TW",label:"🇹🇼 +886",value:"886TW"},{code:"TR",label:"🇹🇷 +90",value:"90TR"},{code:"IN",label:"🇮🇳 +91",value:"91IN"},{code:"PK",label:"🇵🇰 +92",value:"92PK"},{code:"AF",label:"🇦🇫 +93",value:"93AF"},{code:"LK",label:"🇱🇰 +94",value:"94LK"},{code:"MM",label:"🇲🇲 +95",value:"95MM"},{code:"MV",label:"🇲🇻 +960",value:"960MV"},{code:"LB",label:"🇱🇧 +961",value:"961LB"},{code:"JO",label:"🇯🇴 +962",value:"962JO"},{code:"SY",label:"🇸🇾 +963",value:"963SY"},{code:"IQ",label:"🇮🇶 +964",value:"964IQ"},{code:"KW",label:"🇰🇼 +965",value:"965KW"},{code:"SA",label:"🇸🇦 +966",value:"966SA"},{code:"YE",label:"🇾🇪 +967",value:"967YE"},{code:"OM",label:"🇴🇲 +968",value:"968OM"},{code:"PS",label:"🇵🇸 +970",value:"970PS"},{code:"AE",label:"🇦🇪 +971",value:"971AE"},{code:"IL",label:"🇮🇱 +972",value:"972IL"},{code:"BH",label:"🇧🇭 +973",value:"973BH"},{code:"QA",label:"🇶🇦 +974",value:"974QA"},{code:"BT",label:"🇧🇹 +975",value:"975BT"},{code:"MN",label:"🇲🇳 +976",value:"976MN"},{code:"NP",label:"🇳🇵 +977",value:"977NP"},{code:"IR",label:"🇮🇷 +98",value:"98IR"},{code:"TJ",label:"🇹🇯 +992",value:"992TJ"},{code:"TM",label:"🇹🇲 +993",value:"993TM"},{code:"AZ",label:"🇦🇿 +994",value:"994AZ"},{code:"GE",label:"🇬🇪 +995",value:"995GE"},{code:"KG",label:"🇰🇬 +996",value:"996KG"},{code:"UZ",label:"🇺🇿 +998",value:"998UZ"}]},1645:function(e,t,n){"use strict";var r=n(65736),a=n(57954),o=n(42770);const __=r.__,i=[{isDefault:!0,name:"whatsapp-button",title:__("WhatsApp Button","jetpack"),description:__("Let your visitors send you messages on WhatsApp with the tap of a button.","jetpack"),icon:(0,o.p)("send-a-message",a.Z),innerBlocks:[["jetpack/whatsapp-button",{}]]}];t.Z=i},88377:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={countryCode:{type:"string"},phoneNumber:{type:"string"},firstMessage:{type:"string",default:__("Hi, I got your WhatsApp information from your website.","jetpack")},buttonText:{type:"array",source:"children",selector:"a.whatsapp-block__button",default:__("Chat on WhatsApp","jetpack")},backgroundColor:{type:"string",default:"#25D366"},colorClass:{type:"string",default:"dark"},openInNewTab:{type:"boolean",default:!1}}},35513:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(39630),l=n(46482),c=n(36598),u=n(59809);const __=a.__,_x=a._x,p="#25D366",d="#465B64";function m(e){let{attributes:t,setAttributes:n,context:a}=e;const{countryCode:m,phoneNumber:h,firstMessage:f,openInNewTab:g,backgroundColor:b}=t,[v,k]=(0,r.useState)(!0),y=()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{label:__("Phone Number","jetpack"),help:__("Enter the phone number you use for WhatsApp and would like to be contacted on.","jetpack"),className:"jetpack-whatsapp-button__phonenumber"},(0,r.createElement)(o.SelectControl,{label:__("Country code","jetpack"),value:m,onChange:e=>n({countryCode:e}),options:l.n,hideLabelFromVision:!0}),(0,r.createElement)(o.TextControl,{placeholder:__("Your phone number…","jetpack"),onChange:e=>{n({phoneNumber:e}),0===e.length&&k(!0),e.length>2&&k((e=>{const t=RegExp(/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,"g");return!(void 0===e||e.length<1)&&t.test(m.replace(/\D/g,"")+e)})(e))},value:h}),!v&&(0,r.createElement)(u.Z,{isError:!0,className:"jetpack-whatsapp-error"},__("Please enter a valid phone number.","jetpack"))),"inspector"===a&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.TextareaControl,{label:__("Default First Message","jetpack"),help:__("The default first message that will be sent by visitors when using this button.","jetpack"),value:f,onChange:e=>n({firstMessage:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Open in new tab","jetpack"),checked:g,onChange:e=>n({openInNewTab:e}),help:__("When the button is tapped, should a new tab be opened if the visitor does not have WhatsApp installed?","jetpack")})));return"toolbar"===a?(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"jetpack-whatsapp-button-settings-selector",contentClassName:"jetpack-whatsapp-button__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(o.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("WhatsApp Button Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==s.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,c.Z)((0,r.createElement)(o.Path,{d:"M10.82 12.49c.02-.16.04-.32.04-.49 0-.17-.02-.33-.04-.49l1.08-.82c.1-.07.12-.21.06-.32l-1.03-1.73c-.06-.11-.2-.15-.31-.11l-1.28.5c-.27-.2-.56-.36-.87-.49l-.2-1.33c0-.12-.11-.21-.24-.21H5.98c-.13 0-.24.09-.26.21l-.2 1.32c-.31.12-.6.3-.87.49l-1.28-.5c-.12-.05-.25 0-.31.11l-1.03 1.73c-.06.12-.03.25.07.33l1.08.82c-.02.16-.03.33-.03.49 0 .17.02.33.04.49l-1.09.83c-.1.07-.12.21-.06.32l1.03 1.73c.06.11.2.15.31.11l1.28-.5c.27.2.56.36.87.49l.2 1.32c.01.12.12.21.25.21h2.06c.13 0 .24-.09.25-.21l.2-1.32c.31-.12.6-.3.87-.49l1.28.5c.12.05.25 0 .31-.11l1.03-1.73c.06-.11.04-.24-.06-.32l-1.1-.83zM7 13.75c-.99 0-1.8-.78-1.8-1.75s.81-1.75 1.8-1.75 1.8.78 1.8 1.75S8 13.75 7 13.75zM18 1.01L8 1c-1.1 0-2 .9-2 2v3h2V5h10v14H8v-1H6v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99z"}))}))(t,n)},renderContent:y})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("WhatsApp Button Settings","jetpack"),initialOpen:!0},y()),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!1,colorSettings:[{value:b,onChange:e=>(e=>{if(n({backgroundColor:e}),void 0===e||e===p||e===d)return n({colorClass:"dark"});n({colorClass:"light"})})(e),label:__("Background Color","jetpack"),disableCustomColors:!0,colors:[{name:_x("WhatsApp Green","background color name","jetpack"),slug:"whatsapp-green",color:p},{name:_x("WhatsApp Dark","background color name","jetpack"),slug:"whatsapp-dark",color:d},{name:_x("WhatsApp Light","background color name","jetpack"),slug:"whatsapp-light",color:"#F4F4F4"},{name:_x("White","background color name","jetpack"),slug:"whatsapp-white",color:"#FFFFFF"}]}]}))}},33314:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(71290),l=n(88377);t.Z={attributes:l.Z,supports:{html:!1,reusable:!1},save:function(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,colorClass:u,buttonText:p,backgroundColor:d,openInNewTab:m}=t,h=m?"_blank":"_self",f=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",g=o()(n,u?"is-color-"+u:void 0,p.length?void 0:"has-no-text");return(0,r.createElement)("div",{className:g},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+f;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:d},target:h,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:p})))}}},49150:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(65235),o=n.n(a),i=n(9818),s=n(52175),l=n(46482),c=n(35513);function u(e){let{attributes:t,setAttributes:n,className:a,clientId:u}=e;const{countryCode:p,buttonText:d,colorClass:m,backgroundColor:h}=t,{selectBlock:f}=(0,i.useDispatch)("core/block-editor"),g=(0,r.useCallback)((async()=>{n({countryCode:"1"});const e=await fetch("https://public-api.wordpress.com/geo/").then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json();l.n.forEach((e=>{e.code===t.country_short&&n({countryCode:e.value})}))}}),[n]);(0,r.useEffect)((()=>{void 0===p&&(g(),f(u))}),[u,p,g,f]);return(0,r.createElement)("div",{className:o()(a,m?"is-color-"+m:void 0)},(0,r.createElement)(s.BlockControls,null,(0,r.createElement)(c.Z,{context:"toolbar",setAttributes:n,attributes:t})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(c.Z,{context:"inspector",setAttributes:n,attributes:t})),(0,r.createElement)(s.RichText,{placeholder:d.default,value:d,onChange:e=>n({buttonText:e}),withoutInteractiveFormatting:!0,allowedFormats:[],className:"whatsapp-block__button",tagName:"a",preserveWhiteSpace:!1,style:{backgroundColor:h,color:"dark"===m?"#fff":"#465B64"}}))}},57954:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(70355);t.Z=(0,r.createElement)(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,r.createElement)(a.Path,{fill:(0,o.m)(),d:"M24,11.6909333 C24,18.1477333 18.7256,23.3818667 12.2181333,23.3818667 C10.1522667,23.3818667 8.21146667,22.8538667 6.52293333,21.9272 L0,24 L2.12666667,17.7274667 C1.05386667,15.9658667 0.436,13.8997333 0.436,11.6909333 C0.436,5.23413333 5.71093333,0 12.2181333,0 C18.7261333,0 24,5.23413333 24,11.6909333 Z M12.2181333,1.86186667 C6.75573333,1.86186667 2.31253333,6.2712 2.31253333,11.6909333 C2.31253333,13.8416 3.0136,15.8333333 4.19946667,17.4536 L2.96186667,21.104 L6.76853333,19.8941333 C8.33253333,20.9210667 10.2061333,21.52 12.2184,21.52 C17.68,21.52 22.124,17.1112 22.124,11.6914667 C22.124,6.27173333 17.6802667,1.86186667 12.2181333,1.86186667 Z M18.1677333,14.3834667 C18.0949333,14.2642667 17.9026667,14.1922667 17.6141333,14.0490667 C17.3250667,13.9058667 15.9048,13.2122667 15.6408,13.1170667 C15.376,13.0216 15.1829333,12.9736 14.9906667,13.2602667 C14.7984,13.5472 14.2448,14.1922667 14.076,14.3834667 C13.9074667,14.5752 13.7392,14.5992 13.4501333,14.4557333 C13.1616,14.3125333 12.2312,14.0096 11.128,13.0336 C10.2696,12.2741333 9.68986667,11.3365333 9.52133333,11.0493333 C9.35306667,10.7626667 9.50373333,10.6077333 9.648,10.4650667 C9.77813333,10.3365333 9.93706667,10.1304 10.0813333,9.9632 C10.2261333,9.79573333 10.2741333,9.67653333 10.3698667,9.48506667 C10.4666667,9.29386667 10.4184,9.12666667 10.3458667,8.98293333 C10.2738667,8.83973333 9.69573333,7.4296 9.4552,6.85573333 C9.21466667,6.2824 8.9744,6.37786667 8.8056,6.37786667 C8.63733333,6.37786667 8.44453333,6.35386667 8.252,6.35386667 C8.05946667,6.35386667 7.7464,6.4256 7.4816,6.71226667 C7.21706667,6.9992 6.4712,7.69253333 6.4712,9.1024 C6.4712,10.5125333 7.5056,11.8749333 7.6504,12.0658667 C7.79466667,12.2568 9.64773333,15.2445333 12.5837333,16.392 C15.52,17.5389333 15.52,17.1562667 16.0496,17.1082667 C16.5786667,17.0605333 17.7578667,16.4152 17.9994667,15.7464 C18.2394667,15.0765333 18.2394667,14.5029333 18.1677333,14.3834667 Z"}))},71290:function(e,t,n){"use strict";n.d(t,{Xd:function(){return m},pf:function(){return d},u2:function(){return u}});var r=n(65736),a=n(70355),o=n(88377),i=n(49150),s=n(89014),l=n(33314),c=n(57954);const __=r.__,_x=r._x,u="whatsapp-button",p=__("WhatsApp Button","jetpack"),d="https://api.whatsapp.com/send?phone=",m=(__("Chat on WhatsApp","jetpack"),__("Hi, I got your WhatsApp information from your website.","jetpack"),{title:p,description:__("Let your visitors send you a message on WhatsApp with the tap of a button.","jetpack"),icon:{src:c.Z,foreground:(0,a.m)()},category:"grow",parent:["jetpack/send-a-message"],keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1,reusable:!1,align:["left","center","right"]},attributes:o.Z,edit:i.Z,save:s.Z,example:{attributes:{countryCode:"1",phoneNumber:"555-123-4567"}},deprecated:[l.Z]})},89014:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(71290);function l(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,buttonText:u,backgroundColor:p,colorClass:d,openInNewTab:m}=t,h=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",f=o()(n,d?"is-color-"+d:void 0,u.length?void 0:"has-no-text"),g=m?"_blank":"_self";return(0,r.createElement)("div",{className:f},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+h;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:p,color:"dark"===d?"#fff":"#465B64"},target:g,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:u})))}},8606:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(34613),l=n(32088);const __=a.__,c="seo",u={render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("SEO Description","jetpack")},(0,r.createElement)(l.Z,null))),(0,r.createElement)(i.PluginPrePublishPanel,{initialOpen:!0,id:"seo-title",title:(0,r.createElement)("span",{id:"seo-defaults",key:"seo-title-span"},__("SEO Description","jetpack"))},(0,r.createElement)(l.Z,null)))}},32088:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(9818);const __=i.__,_n=i._n;class u extends o.Component{constructor(){super(...arguments),a()(this,"onMessageChange",(e=>{this.props.updateSeoDescription(e.target.value)}))}render(){const{seoDescription:e}=this.props;return(0,o.createElement)("div",{className:"jetpack-seo-message-box"},(0,o.createElement)("textarea",{value:e,onChange:this.onMessageChange,placeholder:__("Write a description…","jetpack"),rows:4}),(0,o.createElement)("div",{className:"jetpack-seo-character-count"},(0,i.sprintf)(
/* translators: Placeholder is a number of characters in a sentence. */
-_n("%d character","%d characters",e.length,"jetpack"),e.length)))}}t.Z=(0,s.compose)([(0,c.withSelect)((e=>({seoDescription:(0,l.get)(e("core/editor").getEditedPostAttribute("meta"),["advanced_seo_description"],"")}))),(0,c.withDispatch)((e=>({updateSeoDescription(t){e("core/editor").editPost({meta:{advanced_seo_description:t}})}})))])(u)},71730:function(e,t,n){"use strict";n.d(t,{u:function(){return u},X:function(){return p}});var r=n(69307),a=n(65736),o=n(92819),i=n(55609),s=n(9818),l=n(70609),c=n(32673);const __=a.__,u="shortlinks",p={render:()=>(0,r.createElement)(m,null)};class d extends r.Component{render(){const{shortlink:e}=this.props;return e?(0,r.createElement)(c.Z,null,(0,r.createElement)(i.PanelBody,{title:__("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},(0,r.createElement)(l.Z,{link:e}))):null}}const m=(0,s.withSelect)((e=>{const t=e("core/editor").getCurrentPost();return{shortlink:(0,o.get)(t,"jetpack_shortlink","")}}))(d)},47175:function(e,t,n){"use strict";n.d(t,{LC:function(){return r},a7:function(){return a},Rh:function(){return o}});const r="jp_pay_product",a="USD",o=[a,"EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"]},81255:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{setAttributes:t,postLinkText:n}=e;return(0,r.createElement)(a.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,r.createElement)(a.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>t({postLinkText:e}),value:n})))}},56511:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},save:e=>{let{attributes:t}=e;const{productId:n}=t;return n?(0,r.createElement)(r.RawHTML,null,`[simple-payment id="${n}"]`):null}}},75050:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(89453),c=n(92819),u=n(75139),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(22985),b=n(87079),v=n(8565),k=n(37299),y=n(47175);const __=p.__,_n=p._n;class E extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
+_n("%d character","%d characters",e.length,"jetpack"),e.length)))}}t.Z=(0,s.compose)([(0,c.withSelect)((e=>({seoDescription:(0,l.get)(e("core/editor").getEditedPostAttribute("meta"),["advanced_seo_description"],"")}))),(0,c.withDispatch)((e=>({updateSeoDescription(t){e("core/editor").editPost({meta:{advanced_seo_description:t}})}})))])(u)},44487:function(e,t,n){"use strict";n.d(t,{X:function(){return p},u:function(){return u}});var r=n(69307),a=n(65736),o=n(92819),i=n(55609),s=n(9818),l=n(26788),c=n(34613);const __=a.__,u="shortlinks",p={render:()=>(0,r.createElement)(m,null)};class d extends r.Component{render(){const{shortlink:e}=this.props;return e?(0,r.createElement)(c.Z,null,(0,r.createElement)(i.PanelBody,{title:__("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},(0,r.createElement)(l.Z,{link:e}))):null}}const m=(0,s.withSelect)((e=>{const t=e("core/editor").getCurrentPost();return{shortlink:(0,o.get)(t,"jetpack_shortlink","")}}))(d)},36825:function(e,t,n){"use strict";n.d(t,{LC:function(){return r},Rh:function(){return o},a7:function(){return a}});const r="jp_pay_product",a="USD",o=[a,"EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"]},65093:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{setAttributes:t,postLinkText:n}=e;return(0,r.createElement)(a.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,r.createElement)(a.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>t({postLinkText:e}),value:n})))}},66763:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},save:e=>{let{attributes:t}=e;const{productId:n}=t;return n?(0,r.createElement)(r.RawHTML,null,`[simple-payment id="${n}"]`):null}}},21559:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92384),c=n(92819),u=n(43317),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(59809),b=n(72802),v=n(39416),k=n(96059),y=n(36825);const __=p.__,_n=p._n;class E extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
/* translators: Placeholder is a number of decimals in a number. */
_n("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",n,"jetpack"),n)}),!1):(this.state.fieldPriceError&&this.setState({fieldPriceError:null}),!0):(this.setState({fieldPriceError:__("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),a()(this,"validateEmail",(()=>{const{email:e}=this.props.attributes;return e?l.validate(e)?(this.state.fieldEmailError&&this.setState({fieldEmailError:null}),!0):(this.setState({fieldEmailError:(0,p.sprintf)(
/* translators: placeholder is an email address. */
__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",y.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(h.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,o.createElement)(h.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,o.createElement)(h.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>this.props.setAttributes({postLinkText:e}),value:this.props.attributes.postLinkText}))))))}componentDidMount(){this.injectPaymentAttributes();const{attributes:e,hasPublishAction:t,postLinkUrl:n,setAttributes:r}=this.props,{productId:a}=e;!a&&t&&this.saveProduct();const o=n&&n!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&r({...o&&{postLinkUrl:n},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&t&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes();const o=r&&r!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&a({...o&&{postLinkUrl:r},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",y.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
/* translators: placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:j}=r,S=C&&(0,c.isEmpty)(u);if(!i&&S)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&j&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.w)(_,d),multiple:w,title:j});const x=S?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:j}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.w)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const w=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u.link}}));t.Z=(0,d.compose)(w,d.withInstanceId)(E)},19372:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(47175),s=n(58014),l=n(57535),c=n(75050),u=n(63290);const __=a.__,_x=a._x,p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),d=(0,s.Wp)()||(0,s.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",m={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:d},__("Support reference","jetpack"))),icon:{src:p,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:i.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};t.Z=m},63290:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(37299);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.w)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},81666:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(89453),c=n(92819),u=n(75139),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(22985),b=n(87079),v=n(8565),k=n(37299),y=n(47175),E=n(81255);const __=p.__,_n=p._n;class w extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
+__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:j}=r,S=C&&(0,c.isEmpty)(u);if(!i&&S)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&j&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.w)(_,d),multiple:w,title:j});const x=S?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:j}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.w)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const w=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u.link}}));t.Z=(0,d.compose)(w,d.withInstanceId)(E)},24097:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(36825),l=n(70355),c=n(21559),u=n(83080);const __=a.__,_x=a._x,p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),d=(0,i.Wp)()||(0,i.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",m={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:d},__("Support reference","jetpack"))),icon:{src:p,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:s.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};t.Z=m},83080:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(96059);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.w)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},36239:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92384),c=n(92819),u=n(43317),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(6551),b=n(59809),v=n(72802),k=n(39416),y=n(96059),E=n(36825),w=n(65093);const __=p.__,_n=p._n;class _ extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return E.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,y.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
/* translators: Placeholder is a number of decimals in a number. */
_n("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",n,"jetpack"),n)}),!1):(this.state.fieldPriceError&&this.setState({fieldPriceError:null}),!0):(this.setState({fieldPriceError:__("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),a()(this,"validateEmail",(()=>{const{email:e}=this.props.attributes;return e?l.validate(e)?(this.state.fieldEmailError&&this.setState({fieldEmailError:null}),!0):(this.setState({fieldEmailError:(0,p.sprintf)(
/* translators: Placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",y.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(E.G,{postLinkText:this.props.attributes.postLinkText,setAttributes:this.props.setAttributes}))))}componentDidMount(){this.injectPaymentAttributes();const{attributes:e,hasPublishAction:t,postLinkUrl:n,setAttributes:r,isPostEditor:a}=this.props,{productId:o}=e;(!o&&t||!a)&&this.saveProduct();const i=n&&n!==this.props.attributes.postLinkUrl,s=!this.props.attributes.postLinkText;(i||s)&&r({...i&&{postLinkUrl:n},...s&&{postLinkText:__("Click here to purchase.","jetpack")}})}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&t&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes();const o=r&&r!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&a({...o&&{postLinkUrl:r},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",y.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
+__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",E.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(w.G,{postLinkText:this.props.attributes.postLinkText,setAttributes:this.props.setAttributes}))))}componentDidMount(){var e,t;this.injectPaymentAttributes();const{attributes:n,hasPublishAction:r,postLinkUrl:a,setAttributes:o,isPostEditor:i}=this.props,{productId:s}=n;(!s&&r||!i)&&this.saveProduct();const l=a&&a!==this.props.attributes.postLinkUrl,c=!this.props.attributes.postLinkText;(l||c)&&o({...l&&{postLinkUrl:a},...c&&{postLinkText:__("Click here to purchase.","jetpack")}}),null===(e=window.wp)||void 0===e||null===(t=e.customize)||void 0===t||t.bind("change",(e=>{let t;const n=e.id.match(/^widget_(.+)(?:\[(\d+)\])$/);if(n){t=`${n[1]}-${parseInt(n[2],10)}`}else t=e.id;t===(0,g.getWidgetIdFromBlock)(this.props.block)&&this.validateAttributes()&&this.saveProduct()}))}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a,isPostEditor:o}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),e.isSaving||!this.props.isSaving||!t&&o||!this.validateAttributes()?e.isSelected&&!n&&this.validateAttributes():this.saveProduct();const i=r&&r!==this.props.attributes.postLinkUrl,s=!this.props.attributes.postLinkText;(i||s)&&a({...i&&{postLinkUrl:r},...s&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",E.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
/* translators: Placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:j}=r,S=C&&(0,c.isEmpty)(u);if(!i&&S)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&j&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.T4)(_,d),multiple:w,title:j});const x=S?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:j}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),"aria-label":__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.T4)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const _=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u?.link,isPostEditor:Object.keys(o()).length>0}}));t.Z=(0,d.compose)(_,d.withInstanceId)(w)},8565:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(92819),s=n(55609),l=n(58703);const __=a.__,c=e=>t=>e({featuredMediaId:(0,i.get)(t,"id",0),featuredMediaUrl:(0,i.get)(t,"url",null),featuredMediaTitle:(0,i.get)(t,"title",null)});t.Z=e=>{let{featuredMediaId:t,featuredMediaUrl:n,featuredMediaTitle:a,setAttributes:i}=e;return t?(0,r.createElement)("div",null,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(o.MediaUpload,{onSelect:c(i),allowedTypes:["image"],value:t,render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Image","jetpack"),onClick:t})}}))),(0,r.createElement)(s.ToolbarButton,{icon:"trash",title:__("Remove Image","jetpack"),onClick:()=>i({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}))),(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:n,alt:a})))):(0,r.createElement)(o.MediaPlaceholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:"format-image"}),labels:{title:__("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:c(i)})}},35289:function(e,t,n){"use strict";n.d(t,{u2:function(){return h},Xd:function(){return b}});var r=n(69307),a=n(65736),o=n(55609),i=n(47175),s=n(58014),l=n(57535),c=n(81666),u=n(73e3),p=n(56511),d=n(19372),m=n(60206);const __=a.__,_x=a._x,h="simple-payments",f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),g=(0,s.Wp)()||(0,s.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",b={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:g},__("Support reference","jetpack"))),icon:{src:f,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:i.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,example:{attributes:{price:25,title:__("Jetpack t-shirt","jetpack"),content:__("Take flight in ultimate comfort with this stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:m}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},deprecated:[p.Z,d.Z]}},87079:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(22323),i=n(23879);const __=a.__;t.Z=e=>{let{title:t="",content:n="",formattedPrice:a="",multiple:s=!1,featuredMediaUrl:l=null,featuredMediaTitle:c=null}=e;return(0,r.createElement)("div",{className:"jetpack-simple-payments-wrapper"},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},l&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("figure",{className:"jetpack-simple-payments-image"},(0,r.createElement)("img",{src:l,alt:c}))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},t&&(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,t)),n&&(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),a&&(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,a)),(0,r.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},s&&(0,r.createElement)("div",{className:"jetpack-simple-payments-items"},(0,r.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),(0,r.createElement)("div",{className:"jetpack-simple-payments-button"},(0,r.createElement)("img",{alt:__("Pay with PayPal","jetpack"),src:o,srcSet:`${i} 2x`}))))))}},73e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(37299);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.T4)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},37299:function(e,t,n){"use strict";n.d(t,{N3:function(){return i},w:function(){return l},T4:function(){return c}});var r=n(75139),a=n(92819),o=n(9818);n(47175);const i=e=>{const t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},s=function(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";const a=window?.window?.navigator;return a?.languages?.length?a.languages[0]:null!==(e=null!==(t=null!==(n=a?.userLanguage)&&void 0!==n?n:a?.language)&&void 0!==t?t:a?.browserLanguage)&&void 0!==e?e:r},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{precision:o,symbol:i}=(0,r.X)(t),s=e.toFixed(o);return n?`${s} ${(0,a.trimEnd)(i,".")}`:s},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!window.Intl||"function"!=typeof Intl.NumberFormat)return l(e,t,n);const{siteLocale:r}=(0,o.select)("core/block-editor").getSettings(),a=[r,s(),"en-US"];let i,c={};for(i of(n&&(c={style:"currency",currency:t}),a))try{return Intl.NumberFormat(i,c).format(e)}catch{continue}return l(e,t,n)}},98972:function(e,t,n){"use strict";n.d(t,{G:function(){return c},J:function(){return u}});var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(92819),l=n(58703);const __=i.__,_x=i._x;function c(e){let{attributes:{autoplay:t,delay:n,effect:a,images:i,sizeSlug:l},imageSizeOptions:c,onChangeImageSize:u,setAttributes:p}=e;const d="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=[{label:_x("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:_x("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Autoplay","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Autoplay","jetpack"),help:__("Autoplay between slides","jetpack"),checked:t,onChange:e=>{p({autoplay:e})}}),t&&(0,r.createElement)(o.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack"),value:n,onChange:e=>{p({delay:e})},min:1,max:5}),t&&d&&(0,r.createElement)("span",null,__("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Effects","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Transition effect","jetpack"),value:a,onChange:e=>{p({effect:e})},options:m})),!(0,s.isEmpty)(i)&&!(0,s.isEmpty)(c)&&(0,r.createElement)(o.PanelBody,{title:__("Image Settings","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Image Size","jetpack"),value:l,options:c,onChange:e=>u(e)})))}function u(e){let{allowedMediaTypes:t,attributes:{images:n},onSelectImages:i}=e;return(0,r.createElement)(r.Fragment,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{onSelect:i,allowedTypes:t,multiple:!0,gallery:!0,value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Slideshow","jetpack"),onClick:t})}})))))}},44890:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(a,(e=>function(){e(this)}))},[{default:i}]=await Promise.all([Promise.all([n.e(860),n.e(390)]).then(n.t.bind(n,16402,23)),Promise.all([n.e(860),n.e(390)]).then(n.bind(n,78858))]);return new i(e,(0,r.merge)({},o,t))}},67448:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(11313),u=n(9818),p=n(52175),d=n(12238),m=n(55609),h=n(94120),f=n(98972),g=n(712);const __=i.__,b=["image"],v=(e,t)=>{const n=(0,l.pick)(e,["alt","id","link","caption"]);return n.url=(0,l.get)(e,["sizes",t,"url"])||(0,l.get)(e,["media_details","sizes",t,"source_url"])||e.url,n};class k extends o.Component{constructor(){super(...arguments),a()(this,"onSelectImages",(e=>{const{sizeSlug:t}=this.props.attributes,n=e.map((e=>v(e,t)));this.setAttributes({images:n})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,l.filter)(this.props.attributes.images,((t,n)=>e!==n));this.setState({selectedImage:null}),this.setAttributes({images:t})})),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],n=this.props.attributes.sizeSlug,{lockPostSaving:r,unlockPostSaving:a,noticeOperations:o}=this.props,i="slideshowBlockLock";r(i),(0,d.mediaUpload)({allowedTypes:b,filesList:e,onFileChange:e=>{const r=e.map((e=>v(e,n)));this.setAttributes({images:[...t,...r]}),r.every((e=>(0,c.isBlobURL)(e.url)))||a(i)},onError:o.createErrorNotice})})),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files))),a()(this,"updateImagesSize",(e=>{const{images:t}=this.props.attributes,{resizedImages:n}=this.props,r=t.map((t=>{const r=n.find((e=>{let{id:n}=e;return parseInt(n,10)===parseInt(t.id,10)})),a=(0,l.get)(r,["sizes",e,"source_url"]);return{...t,...a&&{url:a}}}));this.setAttributes({images:r,sizeSlug:e})})),this.state={selectedImage:null}}componentDidMount(){const{ids:e,sizeSlug:t}=this.props.attributes;t||this.setAttributes({sizeSlug:e.length?"full":"large"})}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}getImageSizeOptions(){const{imageSizes:e}=this.props;return(0,l.map)(e,(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}))}render(){const{attributes:e,className:t,isSelected:n,noticeOperations:r,noticeUI:a}=this.props,{align:i,autoplay:s,delay:l,effect:c,images:u}=e,d=this.getImageSizeOptions(),v=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.InspectorControls,null,(0,o.createElement)(f.G,{attributes:e,imageSizeOptions:d,onChangeImageSize:this.updateImagesSize,setAttributes:e=>this.setAttributes(e)})),(0,o.createElement)(p.BlockControls,null,(0,o.createElement)(f.J,{allowedMediaTypes:b,attributes:e,onSelectImages:this.onSelectImages})));return 0===u.length?(0,o.createElement)(o.Fragment,null,v,(0,o.createElement)(p.MediaPlaceholder,{icon:(0,o.createElement)(p.BlockIcon,{icon:h.qv}),className:t,labels:{title:__("Slideshow","jetpack"),instructions:__("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:b,multiple:!0,notices:a,onError:r.createErrorNotice})):(0,o.createElement)(o.Fragment,null,v,a,(0,o.createElement)(g.Z,{align:i,autoplay:s,className:t,delay:l,effect:c,images:u,onError:r.createErrorNotice}),(0,o.createElement)(m.DropZone,{onFilesDrop:this.addFiles}),n&&(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},(0,o.createElement)(m.FormFileUpload,{multiple:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack"))))}}t.ZP=(0,s.compose)((0,u.withSelect)(((e,t)=>({imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce(((t,n)=>{const r=e("core").getMedia(n);return[...t,{id:n,sizes:(0,l.get)(r,["media_details","sizes"])}]}),[])}))),(0,u.withDispatch)((e=>{const{lockPostSaving:t,unlockPostSaving:n}=e("core/editor");return{lockPostSaving:t,unlockPostSaving:n}})),m.withNotices)(k)},94120:function(e,t,n){"use strict";n.d(t,{qv:function(){return h},u2:function(){return g},Xd:function(){return b}});var r=n(69307),a=n(65736),o=n(55609),i=n(67448),s=n(91957),l=n(4830),c=n(57535),u=n(20510),p=n(65784),d=n(6425),m=n(85983);const __=a.__,_x=a._x,h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)(o.Path,{d:"M21 8V19C21 20.1046 20.1057 21 19.0011 21C15.8975 21 9.87435 21 6 21",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Rect,{x:"3.75",y:"3.75",width:"13.5",height:"13.5",rx:"0.875",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Path,{d:"M9 14L12 11L9 8",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})),f={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:p},{alt:"",caption:"",id:23,url:d},{alt:"",caption:"",id:23,url:m}],effect:"slide"},g="slideshow",b={title:__("Slideshow","jetpack"),category:(0,u.Z)("media","layout"),keywords:[_x("image","block search term","jetpack"),_x("gallery","block search term","jetpack"),_x("slider","block search term","jetpack")],description:__("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:{src:h,foreground:(0,c.m)()},edit:i.ZP,save:s.Z,transforms:l.Z,example:{attributes:f}}},91957:function(e,t,n){"use strict";var r=n(69307),a=n(712);t.Z=e=>{let{attributes:{align:t,autoplay:n,delay:o,effect:i,images:s},className:l}=e;return(0,r.createElement)(a.Z,{align:t,autoplay:n,className:l,delay:o,effect:i,images:s})}},712:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(54166),c=n(65736),u=n(11313),p=n(92819),d=n(52175),m=n(55609),h=n(44890),f=n(10099);const __=c.__;class g extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"pendingRequestAnimationFrame",null),a()(this,"resizeObserver",null),a()(this,"initializeResizeObserver",(e=>{this.clearResizeObserver(),this.resizeObserver=new l.Z((()=>{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame((()=>{(0,f.$m)(e),e.update()}))})),this.resizeObserver.observe(e.el)})),a()(this,"clearPendingRequestAnimationFrame",(()=>{this.pendingRequestAnimationFrame&&(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)})),a()(this,"clearResizeObserver",(()=>{this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)})),a()(this,"prefersReducedMotion",(()=>"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)),a()(this,"buildSwiper",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,h.Z)(t.slideshowRef.current,{autoplay:!(!t.props.autoplay||t.prefersReducedMotion())&&{delay:1e3*t.props.delay,disableOnInteraction:!1},effect:t.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:t.btnNextRef.current,prevEl:t.btnPrevRef.current},pagination:{clickable:!0,el:t.paginationRef.current,type:"bullets"}},{init:f.UA,imagesReady:f.$m,paginationRender:f.Wj,transitionEnd:f.HV})})),this.slideshowRef=(0,o.createRef)(),this.btnNextRef=(0,o.createRef)(),this.btnPrevRef=(0,o.createRef)(),this.paginationRef=(0,o.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{e(__("The Swiper library could not be loaded.","jetpack"))}))}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:n,delay:r,effect:a,images:o,onError:i}=this.props;if(t===e.align&&(0,p.isEqual)(o,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||n!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{i(__("The Swiper library could not be loaded.","jetpack"))}))}}render(){if(!this.props?.images?.length)return null;const{autoplay:e,className:t,delay:n,effect:r,images:a}=this.props;return(0,o.createElement)("div",{className:t,"data-autoplay":e||null,"data-delay":e?n:null,"data-effect":r},(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},(0,o.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},a.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return(0,o.createElement)("li",{className:s()("wp-block-jetpack-slideshow_slide","swiper-slide",(0,u.isBlobURL)(a)&&"is-transient"),key:r||a},(0,o.createElement)("figure",null,(0,o.createElement)("img",{alt:t,className:`wp-block-jetpack-slideshow_image wp-image-${r}`,"data-id":r,src:a}),(0,u.isBlobURL)(a)&&(0,o.createElement)(m.Spinner,null),n&&(0,o.createElement)(d.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),(0,o.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}a()(g,"defaultProps",{effect:"slide"}),t.Z=g},10099:function(e,t,n){"use strict";n.d(t,{HV:function(){return l},UA:function(){return i},Wj:function(){return c},$m:function(){return s}});var r=n(81975),a=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function i(e){s(e),l(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function s(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),a="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,a),i=`${Math.floor(o)}px`,s=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=i,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=s}function l(e){(0,a.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(a.alt))}(e)}function c(e){(0,a.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},4830:function(e,t,n){"use strict";var r=n(4981),a=n(92819);function o(e){return(0,a.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const i={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>o(e).length>0,transform:e=>{const t=o(e);return(0,r.createBlock)("jetpack/slideshow",{images:t.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:e=>{let{images:t}=e;const n=o(t);return n.length>0?(0,r.createBlock)("jetpack/slideshow",{images:n.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,r.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n}=e;return(0,r.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:e=>{let{images:t}=e;return t.length>0?t.map((e=>{let{id:t,url:n,alt:a,caption:o}=e;return(0,r.createBlock)("core/image",{id:t,url:n,alt:a,caption:o})})):(0,r.createBlock)("core/image")}}]};t.Z=i},23133:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(65736),s=n(80505),l=n(52489),c=n(79465);const __=i.__,u=[{title:__("Google Search","jetpack"),icon:"google",name:"google",preview:s.Z},{title:__("Facebook","jetpack"),icon:"facebook",name:"facebook",preview:e=>(0,o.createElement)(l.Z,a()({type:"article"},e))},{title:__("Twitter","jetpack"),icon:"twitter",name:"twitter",preview:e=>(0,o.createElement)(c.Z,e)}]},42366:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p},w6:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(32673),l=n(8277),c=n(6538);const __=a.__,u="social-previews",p={render:()=>(0,r.createElement)(d,null)},d=function(e){let{showUpgradeNudge:t}=e;const[n,a]=(0,r.useState)(!1);return(0,r.createElement)(r.Fragment,null,n&&(0,r.createElement)(c.Z,{showUpgradeNudge:t,onClose:()=>a(!1)}),(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t}))),(0,r.createElement)(i.PluginPrePublishPanel,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t})))}},6538:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(28723),l=n(23133),c=n(51591),u=n(479);const __=a.__;t.Z=(0,i.withSelect)(((e,t)=>{if(t.showUpgradeNudge)return{};const{getMedia:n,getUser:r}=e("core"),{getCurrentPost:a,getEditedPostAttribute:o}=e("core/editor"),{getTweetTemplate:i,getTweetStorm:s,getShareMessage:l,isTweetStorm:c}=e("jetpack/publicize"),p=o("featured_media"),d=o("author"),m=d&&r(d),h={post:a(),title:o("title"),description:o("meta")?.advanced_seo_description||o("excerpt")||o("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:o("link"),author:m?.name,image:!!p&&(0,u.i)(n(p))};let f=[];return c()?f=s():f.push({...i(),text:l(),card:{...h,type:h.image?"summary_large_image":"summary"}}),{...h,tweets:f,isTweetStorm:c()}}))((function(e){let{onClose:t,showUpgradeNudge:n,image:a,title:i,description:u,url:p,author:d,isTweetStorm:m,tweets:h}=e;const f=l.z.map((e=>({...e,title:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.av,{serviceName:e.icon}),e.title)})));return(0,r.createElement)(o.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:"jetpack-social-previews__modal"},n?(0,r.createElement)(s.Z,null):(0,r.createElement)(o.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:f,initialTabName:m?"twitter":null,orientation:"vertical"},(e=>(0,r.createElement)("div",null,(0,r.createElement)(e.preview,{title:i,description:u,url:p,author:d,image:a,isTweetStorm:m,tweets:h})))))}))},8277:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(23133),s=n(51591);const __=a.__;t.Z=function(e){let{openModal:t,showUpgradeNudge:n}=e;const a=n?__("Learn more","jetpack"):__("Preview","jetpack",0),l=n?__("Learn more about paid plans","jetpack"):__("Open Social Previews","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__panel"},(0,r.createElement)("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),n&&(0,r.createElement)("p",null,__("Business or eCommerce plan required.","jetpack")),(0,r.createElement)("div",{className:"jetpack-gutenberg-social-icons"},i.z.map((e=>(0,r.createElement)(s.av,{key:e.icon,serviceName:e.icon,className:"jetpack-social-previews__icon"})))),(0,r.createElement)(o.Button,{isSecondary:!0,onClick:t,label:l},a))}},28723:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(55609),o=n(65736),i=n(11973),s=n(37447),l=n(18733),c=n(21409),u=n(42366);const __=o.__;function p(){const e=(0,c.Z)(u.u2)?.details?.required_plan,[t,n,o]=(0,l.Z)(e,(()=>{i.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:e,block:u.u2})})),p=o?__("Redirecting…","jetpack"):__("Upgrade","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__modal-upgrade"},(0,r.createElement)("img",{className:"jetpack-social-previews__upgrade-illustration",src:s,width:"351",height:"264",alt:""}),(0,r.createElement)("div",{className:"jetpack-social-previews__upgrade-description"},(0,r.createElement)("h2",{className:"jetpack-social-previews__upgrade-heading"},__("Upgrade to a Business plan to unlock the power of our SEO tools","jetpack")),(0,r.createElement)("ul",{className:"jetpack-social-previews__upgrade-feature-list"},(0,r.createElement)("li",null,__("Preview your site’s content as it will appear on Facebook, Twitter, and the WordPress.com Reader.","jetpack")),(0,r.createElement)("li",null,__("Control how page titles will appear on Google search results and social networks.","jetpack")),(0,r.createElement)("li",null,__("Customize your front page metadata to change how your site appears to search engines.","jetpack"))),(0,r.createElement)(a.Button,{href:t,isPrimary:!0,label:__("Purchase a Business plan to access social previews","jetpack"),onClick:n,target:"_top",isBusy:o},p)))}},479:function(e,t,n){"use strict";function r(e){return e?e.media_details?.sizes?.large?.source_url||e.source_url:null}n.d(t,{i:function(){return r}})},22547:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(58703);const __=i.__;t.Z=e=>{let{allowedMediaTypes:t,attributes:{mediaFiles:n},onSelectMedia:i}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{title:__("Edit Story","jetpack"),onSelect:i,allowedTypes:t,addToGallery:!0,multiple:"add",value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(s.Z,{label:__("Edit Story","jetpack"),onClick:t})}}))))))}},68329:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(65736),l=n(11313),c=n(9818),u=n(52175),p=n(55609),d=n(20222),m=n(22547),h=n(4045);const __=s.__,f=["image","video"],g=e=>{const t=(0,i.pick)(e,["alt","title","id","link","type","mime","caption","width","height"]);return t.url=(0,i.get)(e,["media_details","original","url"])||(0,i.get)(e,["media_details","videopress","original"])||(0,i.get)(e,["media_details","sizes","large","source_url"])||(0,i.get)(e,["sizes","large","url"])||e.url,t.type=e.media_type||e.type,t.mime=e.mime_type||e.mime,t.title=t.title?.rendered||t.title,t.width=t.width||e.media_details?.width,t.height=t.height||e.media_details?.height,t};t.Z=(0,p.withNotices)((function(e){let{attributes:t,className:n,isSelected:a,noticeOperations:i,noticeUI:s,setAttributes:p}=e;const{mediaFiles:b}=t,{lockPostSaving:v,unlockPostSaving:k}=(0,c.useDispatch)("core/editor"),y="storyBlockLock",E=e=>{const t=e.map((e=>{if(!isNaN(e)){return b.find((t=>t.id===e))||{id:e}}return e})).map(g),n=t.filter((e=>!(0,l.isBlobURL)(e.url)));t.length!==n.length?v(y):k(y),p({mediaFiles:t})},w=(0,r.createElement)(m.Z,{allowedMediaTypes:f,attributes:t,onSelectMedia:E}),_=!!b.length,C=(0,r.createElement)(u.MediaPlaceholder,{addToGallery:_,isAppender:_,className:n,disableMediaButtons:_&&!a,icon:!_&&(0,r.createElement)(u.BlockIcon,{icon:d.qv}),labels:{title:!_&&__("Story","jetpack"),instructions:!_&&__("Drag images and videos, upload new ones, or select files from your library.","jetpack")},onSelect:E,accept:f.map((e=>e+"/*")).join(","),allowedTypes:f,multiple:"add",value:b,notices:_?void 0:s,onError:i.createErrorNotice});return _?(0,r.createElement)(r.Fragment,null,w,s,(0,r.createElement)("div",{className:o()("wp-block-jetpack-story","wp-story",n)},(0,r.createElement)(h.Z,{slides:b,disabled:!a,showSlideCount:a,shadowDOM:{enabled:!1},playInFullscreen:!1,tapToPlayPause:!1,playOnNextSlide:!1})),a&&C):(0,r.createElement)(r.Fragment,null,w,C)}))},96178:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,n(41632).Z)((0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,r.createElement)(a.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,r.createElement)(a.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));t.Z=o},20222:function(e,t,n){"use strict";n.d(t,{qv:function(){return i.Z},u2:function(){return p},Xd:function(){return d}});var r=n(65736),a=n(68329),o=n(1436),i=n(96178),s=n(20510),l=n(57535),c=n(15915);const __=r.__,_x=r._x,u={mediaFiles:[{alt:"",caption:"",mime:"image/jpg",type:"image",id:22,url:c}]},p="story",d={title:__("Story","jetpack"),category:(0,s.Z)("media","layout"),keywords:[_x("story","block search term","jetpack"),_x("image","block search term","jetpack"),_x("video","block search term","jetpack"),_x("gallery","block search term","jetpack")],description:__("Add an interactive story.","jetpack"),attributes:{settings:{type:"object"},mediaFiles:{type:"array",default:[]}},supports:{html:!1},icon:{src:i.Z,foreground:(0,l.m)()},edit:a.Z,save:o.Z,example:{attributes:u}}},18754:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(55609);function o(e){let{currentMedia:t}=e;const n=t&&"image"===t.type?t.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:n?`url("${n}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(a.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},85974:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609);const __=i.__;function l(e){let{isEllipsis:t,disabled:n,index:a,isSelected:l,progress:c,onClick:u}=e;const p=n||t;let d=null;return t||(d=l?(0,i.sprintf)(
+__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:g,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:j}=r,S=C&&(0,c.isEmpty)(u);if(!i&&S)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(v.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&j&&!e&&!t&&!n)return(0,o.createElement)(v.Z,{"aria-busy":"false",content:p,featuredMediaUrl:g,featuredMediaTitle:E,formattedPrice:(0,y.T4)(_,d),multiple:w,title:j});const x=S?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(k.Z,{featuredMediaId:f,featuredMediaUrl:g,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:j}),(0,o.createElement)(b.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),"aria-label":__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,y.T4)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(b.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(b.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(b.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const C=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{getCurrentPost:a}=e("core/editor"),{__experimentalGetDirtyEntityRecords:o,isSavingEntityRecord:i}=e("core"),s=o,{productId:l,featuredMediaId:u}=t.attributes,p=l?(0,c.pick)(n("postType",E.LC,l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,d=a();return{block:e("core/block-editor").getBlock(t.clientId),hasPublishAction:!!(0,c.get)(d,["_links","wp:action-publish"]),isSaving:s().some((e=>i(e.kind,e.name,e.key))),simplePayment:p,featuredMedia:u?r(u):null,postLinkUrl:null==d?void 0:d.link,isPostEditor:Object.keys(a()).length>0}}));t.Z=(0,d.compose)(C,d.withInstanceId)(_)},39416:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(92819),s=n(55609),l=n(94545);const __=a.__,c=e=>t=>e({featuredMediaId:(0,i.get)(t,"id",0),featuredMediaUrl:(0,i.get)(t,"url",null),featuredMediaTitle:(0,i.get)(t,"title",null)});t.Z=e=>{let{featuredMediaId:t,featuredMediaUrl:n,featuredMediaTitle:a,setAttributes:i}=e;return t?(0,r.createElement)("div",null,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(o.MediaUpload,{onSelect:c(i),allowedTypes:["image"],value:t,render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Image","jetpack"),onClick:t})}}))),(0,r.createElement)(s.ToolbarButton,{icon:"trash",title:__("Remove Image","jetpack"),onClick:()=>i({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}))),(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:n,alt:a})))):(0,r.createElement)(o.MediaPlaceholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:"format-image"}),labels:{title:__("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:c(i)})}},61390:function(e,t,n){"use strict";n.d(t,{Xd:function(){return b},u2:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(36825),l=n(70355),c=n(36239),u=n(16376),p=n(66763),d=n(24097),m=n(60206);const __=a.__,_x=a._x,h="simple-payments",f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),g=(0,i.Wp)()||(0,i.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",b={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:g},__("Support reference","jetpack"))),icon:{src:f,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),_x("money","block search term","jetpack"),_x("paid","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),"square",_x("payments","block search term","jetpack")],attributes:{currency:{type:"string",default:s.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,example:{attributes:{price:25,title:__("Jetpack t-shirt","jetpack"),content:__("Take flight in ultimate comfort with this stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:m}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},deprecated:[p.Z,d.Z]}},72802:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(22323),i=n(23879);const __=a.__;t.Z=e=>{let{title:t="",content:n="",formattedPrice:a="",multiple:s=!1,featuredMediaUrl:l=null,featuredMediaTitle:c=null}=e;return(0,r.createElement)("div",{className:"jetpack-simple-payments-wrapper"},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},l&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("figure",{className:"jetpack-simple-payments-image"},(0,r.createElement)("img",{src:l,alt:c}))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},t&&(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,t)),n&&(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),a&&(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,a)),(0,r.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},s&&(0,r.createElement)("div",{className:"jetpack-simple-payments-items"},(0,r.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),(0,r.createElement)("div",{className:"jetpack-simple-payments-button"},(0,r.createElement)("img",{alt:__("Pay with PayPal","jetpack"),src:o,srcSet:`${i} 2x`}))))))}},16376:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(96059);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.T4)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},96059:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},T4:function(){return l},w:function(){return s}});var r=n(43317),a=n(92819);n(36825);const o=e=>{const t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},i=function(){var e,t,n,r,a,o;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";const s=null===(e=window)||void 0===e||null===(t=e.window)||void 0===t?void 0:t.navigator;return null!=s&&null!==(n=s.languages)&&void 0!==n&&n.length?s.languages[0]:null!==(r=null!==(a=null!==(o=null==s?void 0:s.userLanguage)&&void 0!==o?o:null==s?void 0:s.language)&&void 0!==a?a:null==s?void 0:s.browserLanguage)&&void 0!==r?r:i},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{precision:o,symbol:i}=(0,r.X)(t),s=e.toFixed(o);return n?`${s} ${(0,a.trimEnd)(i,".")}`:s},l=function(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1?arguments[1]:void 0,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!window.Intl||"function"!=typeof Intl.NumberFormat)return s(r,a,o);const l=null!==(e=null===(t=window)||void 0===t||null===(n=t.Jetpack_Editor_Initial_State)||void 0===n?void 0:n.siteLocale)&&void 0!==e?e:"en-US",c=[l,i(),"en-US"];let u,p={};for(u of(o&&(p={style:"currency",currency:a}),c))try{return Intl.NumberFormat(u,p).format(r)}catch{continue}return s(r,a,o)}},20288:function(e,t,n){"use strict";n.d(t,{G:function(){return c},J:function(){return u}});var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(92819),l=n(94545);const __=i.__,_x=i._x;function c(e){let{attributes:{autoplay:t,delay:n,effect:a,images:i,sizeSlug:l},imageSizeOptions:c,onChangeImageSize:u,setAttributes:p}=e;const d="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=[{label:_x("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:_x("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Autoplay","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Autoplay","jetpack"),help:__("Autoplay between slides","jetpack"),checked:t,onChange:e=>{p({autoplay:e})}}),t&&(0,r.createElement)(o.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack"),value:n,onChange:e=>{p({delay:e})},min:1,max:5}),t&&d&&(0,r.createElement)("span",null,__("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Effects","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Transition effect","jetpack"),value:a,onChange:e=>{p({effect:e})},options:m})),!(0,s.isEmpty)(i)&&!(0,s.isEmpty)(c)&&(0,r.createElement)(o.PanelBody,{title:__("Image Settings","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Image Size","jetpack"),value:l,options:c,onChange:e=>u(e)})))}function u(e){let{allowedMediaTypes:t,attributes:{images:n},onSelectImages:i}=e;return(0,r.createElement)(r.Fragment,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{onSelect:i,allowedTypes:t,multiple:!0,gallery:!0,value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Slideshow","jetpack"),onClick:t})}})))))}},30847:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(a,(e=>function(){e(this)}))},[{default:i}]=await Promise.all([Promise.all([n.e(302),n.e(390)]).then(n.t.bind(n,59101,23)),Promise.all([n.e(302),n.e(390)]).then(n.bind(n,89701))]);return new i(e,(0,r.merge)({},o,t))}},21233:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(11313),u=n(9818),p=n(52175),d=n(12238),m=n(55609),h=n(19775),f=n(20288),g=n(19486);const __=i.__,b=["image"],v=(e,t)=>{const n=(0,l.pick)(e,["alt","id","link","caption"]);return n.url=(0,l.get)(e,["sizes",t,"url"])||(0,l.get)(e,["media_details","sizes",t,"source_url"])||e.url,n};class k extends o.Component{constructor(){super(...arguments),a()(this,"onSelectImages",(e=>{const{sizeSlug:t}=this.props.attributes,n=e.map((e=>v(e,t)));this.setAttributes({images:n})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,l.filter)(this.props.attributes.images,((t,n)=>e!==n));this.setState({selectedImage:null}),this.setAttributes({images:t})})),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],n=this.props.attributes.sizeSlug,{lockPostSaving:r,unlockPostSaving:a,noticeOperations:o}=this.props,i="slideshowBlockLock";r(i),(0,d.mediaUpload)({allowedTypes:b,filesList:e,onFileChange:e=>{const r=e.map((e=>v(e,n)));this.setAttributes({images:[...t,...r]}),r.every((e=>(0,c.isBlobURL)(e.url)))||a(i)},onError:o.createErrorNotice})})),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files))),a()(this,"updateImagesSize",(e=>{const{images:t}=this.props.attributes,{resizedImages:n}=this.props,r=t.map((t=>{const r=n.find((e=>{let{id:n}=e;return parseInt(n,10)===parseInt(t.id,10)})),a=(0,l.get)(r,["sizes",e,"source_url"]);return{...t,...a&&{url:a}}}));this.setAttributes({images:r,sizeSlug:e})})),this.state={selectedImage:null}}componentDidMount(){const{ids:e,sizeSlug:t}=this.props.attributes;t||this.setAttributes({sizeSlug:e.length?"full":"large"})}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}getImageSizeOptions(){const{imageSizes:e}=this.props;return(0,l.map)(e,(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}))}render(){const{attributes:e,className:t,isSelected:n,noticeOperations:r,noticeUI:a}=this.props,{align:i,autoplay:s,delay:l,effect:c,images:u}=e,d=this.getImageSizeOptions(),v=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.InspectorControls,null,(0,o.createElement)(f.G,{attributes:e,imageSizeOptions:d,onChangeImageSize:this.updateImagesSize,setAttributes:e=>this.setAttributes(e)})),(0,o.createElement)(p.BlockControls,null,(0,o.createElement)(f.J,{allowedMediaTypes:b,attributes:e,onSelectImages:this.onSelectImages})));return 0===u.length?(0,o.createElement)(o.Fragment,null,v,(0,o.createElement)(p.MediaPlaceholder,{icon:h.qv,className:t,labels:{title:__("Slideshow","jetpack"),instructions:__("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:b,multiple:!0,notices:a,onError:r.createErrorNotice})):(0,o.createElement)(o.Fragment,null,v,a,(0,o.createElement)(g.Z,{align:i,autoplay:s,className:t,delay:l,effect:c,images:u,onError:r.createErrorNotice}),(0,o.createElement)(m.DropZone,{onFilesDrop:this.addFiles}),n&&(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},(0,o.createElement)(m.FormFileUpload,{multiple:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack"))))}}t.ZP=(0,s.compose)((0,u.withSelect)(((e,t)=>({imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce(((t,n)=>{const r=e("core").getMedia(n);return[...t,{id:n,sizes:(0,l.get)(r,["media_details","sizes"])}]}),[])}))),(0,u.withDispatch)((e=>{const{lockPostSaving:t,unlockPostSaving:n}=e("core/editor");return{lockPostSaving:t,unlockPostSaving:n}})),m.withNotices)(k)},19775:function(e,t,n){"use strict";n.d(t,{Xd:function(){return b},qv:function(){return h},u2:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(21233),s=n(67240),l=n(81504),c=n(70355),u=n(5820),p=n(65784),d=n(6425),m=n(85983);const __=a.__,_x=a._x,h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)(o.Path,{d:"M21 8V19C21 20.1046 20.1057 21 19.0011 21C15.8975 21 9.87435 21 6 21",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Rect,{x:"3.75",y:"3.75",width:"13.5",height:"13.5",rx:"0.875",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Path,{d:"M9 14L12 11L9 8",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})),f={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:p},{alt:"",caption:"",id:23,url:d},{alt:"",caption:"",id:23,url:m}],effect:"slide"},g="slideshow",b={title:__("Slideshow","jetpack"),category:(0,u.Z)("media","layout"),keywords:[_x("image","block search term","jetpack"),_x("gallery","block search term","jetpack"),_x("slider","block search term","jetpack")],description:__("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:{src:h,foreground:(0,c.m)()},edit:i.ZP,save:s.Z,transforms:l.Z,example:{attributes:f}}},67240:function(e,t,n){"use strict";var r=n(69307),a=n(19486);t.Z=e=>{let{attributes:{align:t,autoplay:n,delay:o,effect:i,images:s},className:l}=e;return(0,r.createElement)(a.Z,{align:t,autoplay:n,className:l,delay:o,effect:i,images:s})}},19486:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(6209),c=n(65736),u=n(11313),p=n(92819),d=n(52175),m=n(55609),h=n(30847),f=n(17766);const __=c.__;class g extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"pendingRequestAnimationFrame",null),a()(this,"resizeObserver",null),a()(this,"initializeResizeObserver",(e=>{this.clearResizeObserver(),this.resizeObserver=new l.Z((()=>{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame((()=>{(0,f.$m)(e),e.update()}))})),this.resizeObserver.observe(e.el)})),a()(this,"clearPendingRequestAnimationFrame",(()=>{this.pendingRequestAnimationFrame&&(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)})),a()(this,"clearResizeObserver",(()=>{this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)})),a()(this,"prefersReducedMotion",(()=>"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)),a()(this,"buildSwiper",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,h.Z)(t.slideshowRef.current,{autoplay:!(!t.props.autoplay||t.prefersReducedMotion())&&{delay:1e3*t.props.delay,disableOnInteraction:!1},effect:t.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:t.btnNextRef.current,prevEl:t.btnPrevRef.current},pagination:{clickable:!0,el:t.paginationRef.current,type:"bullets"}},{init:f.UA,imagesReady:f.$m,paginationRender:f.Wj,transitionEnd:f.HV})})),this.slideshowRef=(0,o.createRef)(),this.btnNextRef=(0,o.createRef)(),this.btnPrevRef=(0,o.createRef)(),this.paginationRef=(0,o.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{e(__("The Swiper library could not be loaded.","jetpack"))}))}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:n,delay:r,effect:a,images:o,onError:i}=this.props;if(t===e.align&&(0,p.isEqual)(o,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||n!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{i(__("The Swiper library could not be loaded.","jetpack"))}))}}render(){var e,t;if(null===(e=this.props)||void 0===e||null===(t=e.images)||void 0===t||!t.length)return null;const{autoplay:n,className:r,delay:a,effect:i,images:l}=this.props;return(0,o.createElement)("div",{className:r,"data-autoplay":n||null,"data-delay":n?a:null,"data-effect":i},(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},(0,o.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},l.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return(0,o.createElement)("li",{className:s()("wp-block-jetpack-slideshow_slide","swiper-slide",(0,u.isBlobURL)(a)&&"is-transient"),key:r||a},(0,o.createElement)("figure",null,(0,o.createElement)("img",{alt:t,className:`wp-block-jetpack-slideshow_image wp-image-${r}`,"data-id":r,src:a}),(0,u.isBlobURL)(a)&&(0,o.createElement)(m.Spinner,null),n&&(0,o.createElement)(d.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),(0,o.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}a()(g,"defaultProps",{effect:"slide"}),t.Z=g},17766:function(e,t,n){"use strict";n.d(t,{$m:function(){return s},HV:function(){return l},UA:function(){return i},Wj:function(){return c}});var r=n(81975),a=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function i(e){s(e),l(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function s(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),a="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,a),i=`${Math.floor(o)}px`,s=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=i,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=s}function l(e){(0,a.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(a.alt))}(e)}function c(e){(0,a.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},81504:function(e,t,n){"use strict";var r=n(4981),a=n(92819);function o(e){return(0,a.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const i={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>o(e).length>0,transform:e=>{const t=o(e);return(0,r.createBlock)("jetpack/slideshow",{images:t.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:e=>{let{images:t}=e;const n=o(t);return n.length>0?(0,r.createBlock)("jetpack/slideshow",{images:n.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,r.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n}=e;return(0,r.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:e=>{let{images:t}=e;return t.length>0?t.map((e=>{let{id:t,url:n,alt:a,caption:o}=e;return(0,r.createBlock)("core/image",{id:t,url:n,alt:a,caption:o})})):(0,r.createBlock)("core/image")}}]};t.Z=i},64250:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65736),s=n(27143),l=n(79988),c=n(50149);const __=i.__,u=[{title:__("Google Search","jetpack"),icon:"google",name:"google",preview:s.Z},{title:__("Facebook","jetpack"),icon:"facebook",name:"facebook",preview:e=>(0,o.createElement)(l.Z,a()({type:"article"},e))},{title:__("Twitter","jetpack"),icon:"twitter",name:"twitter",preview:e=>(0,o.createElement)(c.Z,e)}]},32078:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u},w6:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(34613),l=n(55382),c=n(54339);const __=a.__,u="social-previews",p={render:()=>(0,r.createElement)(d,null)},d=function(e){let{showUpgradeNudge:t}=e;const[n,a]=(0,r.useState)(!1);return(0,r.createElement)(r.Fragment,null,n&&(0,r.createElement)(c.Z,{showUpgradeNudge:t,onClose:()=>a(!1)}),(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t}))),(0,r.createElement)(i.PluginPrePublishPanel,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t})))}},54339:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(31020),l=n(17296),c=n(64250),u=n(97069);const __=a.__;t.Z=(0,i.withSelect)(((e,t)=>{var n;if(t.showUpgradeNudge)return{};const{getMedia:r,getUser:a}=e("core"),{getCurrentPost:o,getEditedPostAttribute:i}=e("core/editor"),{getTweetTemplate:s,getTweetStorm:l,getShareMessage:c,isTweetStorm:p}=e("jetpack/publicize"),d=i("featured_media"),m=i("author"),h=m&&a(m),f={post:o(),title:i("title"),description:(null===(n=i("meta"))||void 0===n?void 0:n.advanced_seo_description)||i("excerpt")||i("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:i("link"),author:null==h?void 0:h.name,image:!!d&&(0,u.i)(r(d))};let g=[];return p()?g=l():g.push({...s(),text:c(),card:{...f,type:f.image?"summary_large_image":"summary"}}),{...f,tweets:g,isTweetStorm:p()}}))((function(e){let{onClose:t,showUpgradeNudge:n,image:a,title:i,description:u,url:p,author:d,isTweetStorm:m,tweets:h}=e;const f=c.z.map((e=>({...e,title:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.av,{serviceName:e.icon}),e.title)})));return(0,r.createElement)(o.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:"jetpack-social-previews__modal"},n?(0,r.createElement)(l.Z,null):(0,r.createElement)(o.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:f,initialTabName:m?"twitter":null,orientation:"vertical"},(e=>(0,r.createElement)("div",null,(0,r.createElement)(e.preview,{title:i,description:u,url:p,author:d,image:a,isTweetStorm:m,tweets:h})))))}))},55382:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(31020),s=n(64250);const __=a.__;t.Z=function(e){let{openModal:t,showUpgradeNudge:n}=e;const a=n?__("Learn more","jetpack"):__("Preview","jetpack",0),l=n?__("Learn more about paid plans","jetpack"):__("Open Social Previews","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__panel"},(0,r.createElement)("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),n&&(0,r.createElement)("p",null,__("Pro plan required.","jetpack")),(0,r.createElement)("div",{className:"jetpack-gutenberg-social-icons"},s.z.map((e=>(0,r.createElement)(i.av,{key:e.icon,serviceName:e.icon,className:"jetpack-social-previews__icon"})))),(0,r.createElement)(o.Button,{variant:"secondary",onClick:t,label:l},a))}},17296:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(55609),o=n(65736),i=n(13419),s=n(84069),l=n(37447),c=n(78798),u=n(32078);const __=o.__;function p(){var e,t;const n=null===(e=(0,i.OZ)(u.u2))||void 0===e||null===(t=e.details)||void 0===t?void 0:t.required_plan,[o,p,d]=(0,c.Z)(n,(()=>{s.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:n,block:u.u2})})),m=d?__("Redirecting…","jetpack"):__("Upgrade","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__modal-upgrade"},(0,r.createElement)("img",{className:"jetpack-social-previews__upgrade-illustration",src:l,width:"351",height:"264",alt:""}),(0,r.createElement)("div",{className:"jetpack-social-previews__upgrade-description"},(0,r.createElement)("h2",{className:"jetpack-social-previews__upgrade-heading"},__("Upgrade to a Pro plan to unlock the power of our SEO tools","jetpack")),(0,r.createElement)("ul",{className:"jetpack-social-previews__upgrade-feature-list"},(0,r.createElement)("li",null,__("Preview your site’s content as it will appear on Facebook, Twitter, and the WordPress.com Reader.","jetpack")),(0,r.createElement)("li",null,__("Control how page titles will appear on Google search results and social networks.","jetpack")),(0,r.createElement)("li",null,__("Customize your front page metadata to change how your site appears to search engines.","jetpack"))),(0,r.createElement)(a.Button,{href:o,variant:"primary",label:__("Purchase a Business plan to access social previews","jetpack"),onClick:p,target:"_top",isBusy:d},m)))}},97069:function(e,t,n){"use strict";function r(e){var t,n,r;return e?(null===(t=e.media_details)||void 0===t||null===(n=t.sizes)||void 0===n||null===(r=n.large)||void 0===r?void 0:r.source_url)||e.source_url:null}n.d(t,{i:function(){return r}})},65492:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(94545);const __=i.__;t.Z=e=>{let{allowedMediaTypes:t,attributes:{mediaFiles:n},onSelectMedia:i}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{title:__("Edit Story","jetpack"),onSelect:i,allowedTypes:t,addToGallery:!0,multiple:"add",value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(s.Z,{label:__("Edit Story","jetpack"),onClick:t})}}))))))}},19693:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(65736),l=n(11313),c=n(9818),u=n(52175),p=n(55609),d=n(93688),m=n(65492),h=n(73022);const __=s.__,f=["image","video"],g=e=>{var t,n,r;const a=(0,i.pick)(e,["alt","title","id","link","type","mime","caption","width","height"]);return a.url=(0,i.get)(e,["media_details","original","url"])||(0,i.get)(e,["media_details","videopress","original"])||(0,i.get)(e,["media_details","sizes","large","source_url"])||(0,i.get)(e,["sizes","large","url"])||e.url,a.type=e.media_type||e.type,a.mime=e.mime_type||e.mime,a.title=(null===(t=a.title)||void 0===t?void 0:t.rendered)||a.title,a.width=a.width||(null===(n=e.media_details)||void 0===n?void 0:n.width),a.height=a.height||(null===(r=e.media_details)||void 0===r?void 0:r.height),a};t.Z=(0,p.withNotices)((function(e){let{attributes:t,className:n,isSelected:a,noticeOperations:i,noticeUI:s,setAttributes:p}=e;const{mediaFiles:b}=t,{lockPostSaving:v,unlockPostSaving:k}=(0,c.useDispatch)("core/editor"),y="storyBlockLock",E=e=>{const t=e.map((e=>{if(!isNaN(e)){return b.find((t=>t.id===e))||{id:e}}return e})).map(g),n=t.filter((e=>!(0,l.isBlobURL)(e.url)));t.length!==n.length?v(y):k(y),p({mediaFiles:t})},w=(0,r.createElement)(m.Z,{allowedMediaTypes:f,attributes:t,onSelectMedia:E}),_=!!b.length,C=(0,r.createElement)(u.MediaPlaceholder,{addToGallery:_,isAppender:_,className:n,disableMediaButtons:_&&!a,icon:!_&&d.qv,labels:{title:!_&&__("Story","jetpack"),instructions:!_&&__("Drag images and videos, upload new ones, or select files from your library.","jetpack")},onSelect:E,accept:f.map((e=>e+"/*")).join(","),allowedTypes:f,multiple:"add",value:b,notices:_?void 0:s,onError:i.createErrorNotice});return _?(0,r.createElement)(r.Fragment,null,w,s,(0,r.createElement)("div",{className:o()("wp-block-jetpack-story","wp-story",n)},(0,r.createElement)(h.Z,{slides:b,disabled:!a,showSlideCount:a,shadowDOM:{enabled:!1},playInFullscreen:!1,tapToPlayPause:!1,playOnNextSlide:!1})),a&&C):(0,r.createElement)(r.Fragment,null,w,C)}))},66512:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,n(36598).Z)((0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,r.createElement)(a.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,r.createElement)(a.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));t.Z=o},93688:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},qv:function(){return i.Z},u2:function(){return p}});var r=n(65736),a=n(19693),o=n(29143),i=n(66512),s=n(5820),l=n(70355),c=n(15915);const __=r.__,_x=r._x,u={mediaFiles:[{alt:"",caption:"",mime:"image/jpg",type:"image",id:22,url:c}]},p="story",d={title:__("Story","jetpack"),category:(0,s.Z)("media","layout"),keywords:[_x("story","block search term","jetpack"),_x("image","block search term","jetpack"),_x("video","block search term","jetpack"),_x("gallery","block search term","jetpack")],description:__("Add an interactive story.","jetpack"),attributes:{settings:{type:"object"},mediaFiles:{type:"array",default:[]}},supports:{html:!1},icon:{src:i.Z,foreground:(0,l.m)()},edit:a.Z,save:o.Z,example:{attributes:u}}},19395:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(55609);function o(e){let{currentMedia:t}=e;const n=t&&"image"===t.type?t.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:n?`url("${n}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(a.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},94754:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(55609);const __=i.__;function l(e){let{isEllipsis:t,disabled:n,index:a,isSelected:l,progress:c,onClick:u}=e;const p=n||t;let d=null;return t||(d=l?(0,i.sprintf)(
/* translators: %d: Slide number. */
__("Slide %d, currently selected","jetpack"),a+1):(0,i.sprintf)(
/* translators: %d: Slide number. */
-__("Go to slide %d","jetpack"),a+1)),(0,r.createElement)(s.Button,{role:p?"presentation":"tab",key:a,className:o()("wp-story-pagination-bullet",{"wp-story-pagination-ellipsis":t}),"aria-label":d,"aria-disabled":p||l,onClick:p||l?void 0:u,disabled:p},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar"},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar-progress",style:{width:`${c}%`}})))}},9610:function(e,t,n){"use strict";n.d(t,{b:function(){return l},r:function(){return c}});var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i);const l=e=>{let{className:t,size:n,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button","circle-icon","outlined","bordered",t),style:{width:`${n}px`,height:`${n}px`}},l))},c=e=>{let{className:t,size:n=24,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button",t),style:{width:`${n}px`,height:`${n}px`}},l))}},1019:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("div",{className:"wp-story-loading-spinner"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__outer"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__inner"})))},50281:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(9610),i=n(29089);const _x=a._x;function s(e){let{playing:t,muted:n,onPlayPressed:a,onMutePressed:s,showMute:l}=e;return(0,r.createElement)("div",{className:"wp-story-controls"},(0,r.createElement)(o.r,{isPressed:t,label:t?_x("pause","Button tooltip text","jetpack"):_x("play","Button tooltip text","jetpack",0),onClick:a},t?(0,r.createElement)(i.fp,null):(0,r.createElement)(i.o1,null)),l&&(0,r.createElement)(o.r,{isPressed:n,label:n?_x("unmute","Button tooltip text","jetpack"):_x("mute","Button tooltip text","jetpack",0),onClick:s},n?(0,r.createElement)(i.xb,null):(0,r.createElement)(i.MC,null)))}},40220:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(9610),i=n(29089);const __=a.__;function s(e){let{fullscreen:t,onExitFullscreen:n,siteIconUrl:a,storyTitle:s}=e;return t?(0,r.createElement)("div",{className:"wp-story-meta"},(0,r.createElement)("div",{className:"wp-story-icon"},(0,r.createElement)("img",{alt:__("Site icon","jetpack"),src:a,width:"40",height:"40"})),(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"wp-story-title"},s)),(0,r.createElement)(o.r,{className:"wp-story-exit-fullscreen",label:__("Exit Fullscreen","jetpack"),onClick:n},(0,r.createElement)(i.Tw,null))):null}},29089:function(e,t,n){"use strict";n.d(t,{o1:function(){return s},fp:function(){return l},Tw:function(){return c},MC:function(){return u},xb:function(){return p},JM:function(){return d},Vq:function(){return m}});var r=n(69307),a=n(55609),o=n(41632);const i=e=>{let{children:t,size:n}=e;return(0,o.Z)(t,n,n)},s=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M8 5v14l11-7z"}))},l=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}))},c=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))},u=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}))},p=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}))},d=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}))},m=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}))}},27870:function(e,t,n){"use strict";n.d(t,{gT:function(){return r.Z},ZX:function(){return a.Z},h4:function(){return o.Z},aV:function(){return i.Z},Aq:function(){return s.Z},WB:function(){return l.Z},pU:function(){return c.pU}});var r=n(85974),a=n(50281),o=n(40220),i=n(46531),s=n(18754),l=n(1019),c=n(64816);n(9610)},64816:function(e,t,n){"use strict";n.d(t,{pU:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i);const l=e=>{let{title:t,alt:n,className:r,id:a,mediaRef:i,mime:l,sizes:c,srcset:u,url:p}=e;return(0,o.createElement)("img",{ref:i,"data-id":a,"data-mime":l,title:t,alt:n,src:p,className:s()("wp-story-image",`wp-image-${a}`,r),srcSet:u,sizes:c})},c=e=>{let{title:t,className:n,id:r,mediaRef:a,mime:i,url:l,poster:c}=e;return(0,o.createElement)("video",{className:s()("wp-story-video","intrinsic-ignore",`wp-video-${r}`,n),ref:a,"data-id":r,title:t,type:i,src:l,poster:c,tabIndex:-1,preload:"auto",playsInline:!0})},u=e=>{let{targetAspectRatio:t,cropUpTo:n,type:r,width:i,height:s,...u}=e,p=null;if(i&&s){const e=i/s;if(e>=t){e>t/(1-n)||(p="wp-story-crop-wide")}else{e<t*(1-n)||(p="wp-story-crop-narrow")}}const d="video"===r||(u.mime||"").startsWith("video/");return(0,o.createElement)("figure",null,d?(0,o.createElement)(c,a()({},u,{className:p})):(0,o.createElement)(l,a()({},u,{className:p})))}},46531:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(48735),o=n.n(a),i=n(65736),s=n(9610),l=n(29089);const __=i.__;function c(e){let{ended:t,hasPrevious:n,onNextSlide:a,onPreviousSlide:c,icon:u,slideCount:p,showSlideCount:d}=e;const m=(0,r.useCallback)((e=>{t||(e.stopPropagation(),c())}),[c,t]),h=(0,r.useCallback)((e=>{t||(e.stopPropagation(),a())}),[a,t]);return(0,r.createElement)("div",{className:"wp-story-overlay"},d&&(0,r.createElement)("div",{className:"wp-story-embed-icon"},u,(0,r.createElement)("span",null,p)),!d&&(0,r.createElement)("div",{className:"wp-story-embed-icon-expand"},(0,r.createElement)(o(),{role:"img"})),n&&(0,r.createElement)("div",{className:"wp-story-prev-slide",onClick:m},(0,r.createElement)(s.b,{size:44,label:__("Previous Slide","jetpack"),className:"outlined-w"},(0,i.isRTL)()?(0,r.createElement)(l.Vq,{size:24}):(0,r.createElement)(l.JM,{size:24}))),(0,r.createElement)("div",{className:"wp-story-next-slide",onClick:h},(0,r.createElement)(s.b,{size:44,label:__("Next Slide","jetpack"),className:"outlined-w"},(0,i.isRTL)()?(0,r.createElement)(l.JM,{size:24}):(0,r.createElement)(l.Vq,{size:24}))))}},58871:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(89105),o=n.n(a),i=n(31158),s=n(29891),l=n(72096);const c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function u(e){let{className:t,fullscreenClassName:n,bodyFullscreenClassName:a,fullscreen:u,shadowDOM:p,onKeyDown:d,onExitFullscreen:m,playerQuerySelector:h,children:f}=e;const g=(0,r.useRef)(),b=(0,r.useRef)(),[v,k]=(0,r.useState)(null),y=c&&s.am(),E=u&&!y,w=u&&y;return(0,r.useLayoutEffect)((()=>{if(y)u?g.current&&s.uP(g.current,m):s.bG()&&s.JF();else if(u){if(k([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(a),document.getElementsByTagName("html")[0].classList.add(a),b.current){const e=b.current.querySelector(h);e&&e.focus()}}else if(document.body.classList.remove(a),document.getElementsByTagName("html")[0].classList.remove(a),v){window.scrollTo(...v);const e=g.current.querySelector(h);e&&e.focus()}}),[u]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,p,(0,r.createElement)("div",{ref:g,className:o()(t,{[n]:w}),onKeyDown:d},!E&&f)),(0,r.createElement)(l.Z,{className:o()(t,{[n]:E}),isOpened:E,onRequestClose:m,shadowDOM:p,onKeyDown:E&&d,focusOnMount:!1,modalRef:b},E&&f))}},4045:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(9818),o=n(39630),i=(n(66930),n(54616)),s=n(58871);function l(e){let{id:t,slides:n,metadata:l,disabled:c,...u}=e;const p=(0,r.useMemo)((()=>t||Math.random().toString(36)),[t]),{init:d,setEnded:m,setPlaying:h,setFullscreen:f,showSlide:g}=(0,a.useDispatch)("jetpack/story/player"),{playing:b,currentSlideIndex:v,fullscreen:k,isReady:y,playerSettings:E}=(0,a.useSelect)((e=>{const{getCurrentSlideIndex:t,getSettings:n,isFullscreen:r,isPlayerReady:a,isPlaying:o}=e("jetpack/story/player");return a(p)?{playing:o(p),currentSlideIndex:t(p),isReady:!0,fullscreen:r(p),playerSettings:n(p)}:{isReady:!1}}),[p]);(0,r.useEffect)((()=>{y||d(p,{slideCount:n.length,...u})}),[y,p]);const w=(0,r.useCallback)((e=>{switch(e.keyCode){case o.ENTER:if(k)break;case o.SPACE:h(p,!b);break;case o.LEFT:v>0&&g(p,v-1);break;case o.RIGHT:v<n.length-1?g(p,v+1):m(p)}}),[p,v,k,b]),_=(0,r.useCallback)((()=>{f(p,!1)}),[p]);return y?(0,r.createElement)(s.Z,{shadowDOM:E.shadowDOM,className:"wp-story-app",fullscreenClassName:"wp-story-fullscreen",bodyFullscreenClassName:"wp-story-in-fullscreen",playerQuerySelector:".wp-story-container",fullscreen:k,onExitFullscreen:_,onKeyDown:w},(0,r.createElement)(i.Z,{id:p,slides:n,metadata:l,disabled:c})):null}},29891:function(e,t,n){"use strict";n.d(t,{am:function(){return r},bG:function(){return a},uP:function(){return o},JF:function(){return i}});const r=()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,a=()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,o=(e,t)=>{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=>{document.fullscreenElement||(document.removeEventListener("fullscreenchange",e),t())};document.addEventListener("fullscreenchange",e)}},i=()=>(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},31158:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);const a=window&&window.Element&&window.Element.prototype.hasOwnProperty("attachShadow");function o(e){let{enabled:t,delegatesFocus:n=!1,mode:o="open",globalStyleElements:s=[],adoptedStyleSheets:l=null,mountOnElement:c=null,children:u}=e;const[p,d]=(0,r.useState)(null),m=c||p,[h,f]=(0,r.useState)(null),g="string"==typeof s?[...document.querySelectorAll(s)]:s,b=a&&t&&g.length>0,v=(0,r.useCallback)((e=>{null!==e&&d(e.parentNode)}),[]);if((0,r.useEffect)((()=>{if(!m)return;if(m.shadowRoot)return void f(m.shadowRoot);const e=m.attachShadow({delegatesFocus:n,mode:o});l&&(e.adoptedStyleSheets=l),f(e)}),[m]),b&&!h)return c?null:(0,r.createElement)("span",{ref:v});const k=(0,r.createElement)(r.Fragment,null,b&&(0,r.createElement)(i,{globalStyleElements:g}),u);return b?(0,r.createPortal)(k,h):k}function i(e){let{globalStyleElements:t}=e;return(0,r.createElement)(r.Fragment,null,t.map(((e,t)=>{let{id:n,tagName:a,attributes:o,innerHTML:i}=e;return"LINK"===a?(0,r.createElement)("link",{key:n||t,id:n,rel:o.rel.value,href:o.href.value}):"STYLE"===a?(0,r.createElement)("style",{key:n||t,id:n},i):void 0})))}},94292:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{const t=(0,r.useRef)(),n=(0,r.useRef)(),a=(0,r.useRef)(e),o=(0,r.useCallback)((e=>{e.touches&&1===e.touches.length&&e.preventDefault()}),[]);return(0,r.useEffect)((()=>{a.current=e}),[e]),{onTouchStart:(0,r.useCallback)((e=>{e.target&&(e.target.addEventListener("touchend",o,{passive:!1}),n.current=e.target),t.current=setTimeout((()=>{a.current&&a.current(!0),t.current=null}),200)}),[]),onTouchEnd:(0,r.useCallback)((e=>{t.current?clearTimeout(t.current):(a.current&&a.current(!1),e.stopPropagation()),n.current&&n.current.removeEventListener("touchend",o)}),[])}}},21531:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)(null),n=(0,r.useRef)(!1),a=(0,r.useRef)(e),o=(0,r.useRef)(e);return o.current=e,(0,r.useLayoutEffect)((()=>{e.forEach(((e,r)=>{const o=a.current[r];"function"==typeof e&&e!==o&&!1===n.current&&(o(null),e(t.current))})),a.current=e}),e),(0,r.useLayoutEffect)((()=>{n.current=!1})),(0,r.useCallback)((e=>{t.current=e,n.current=!0;(e?o.current:a.current).forEach((t=>{"function"==typeof t?t(e):t&&t.hasOwnProperty("current")&&(t.current=e)}))}),[])}},97524:function(e,t,n){"use strict";async function r(e){const t=e.tagName.toLowerCase();if("img"===t){if(e.complete)return;await new Promise((t=>{e.addEventListener("load",t,{once:!0})}))}else if("video"===t||"audio"===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise((t=>{e.addEventListener("canplaythrough",t,{once:!0}),e.addEventListener("load",t,{once:!0}),e.HAVE_NOTHING===e.readyState&&e.networkState!==e.NETWORK_LOADING&&e.load()}))}}n.d(t,{Z:function(){return r}})},82295:function(e,t,n){"use strict";n.d(t,{BM:function(){return s},i1:function(){return l}});var r=n(92819);const a=new Set(["alert","status","log","marquee","timer"]);let o=[],i=!1;function s(e){if(i)return;const t=document.body.children;(0,r.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||a.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),o.push(t))})),i=!0}function l(){i&&((0,r.forEach)(o,(e=>{e.removeAttribute("aria-hidden")})),o=[],i=!1)}},97790:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(39630),o=n(94333),i=n(21531);function s(e){let{overlayClassName:t,children:n,className:s,focusOnMount:l,shouldCloseOnEsc:c=!0,onRequestClose:u,onKeyDown:p,modalRef:d}=e;const m=(0,o.useFocusOnMount)(l),h=(0,o.useConstrainedTabbing)(),f=(0,o.useFocusReturn)();return(0,r.createElement)("div",{className:t,onKeyDown:function(e){c&&e.keyCode===a.ESCAPE&&(e.stopPropagation(),u&&u(e)),e.target&&"button"===e.target.tagName.toLowerCase()&&e.keyCode===a.SPACE||p&&p(e)}},(0,r.createElement)("div",{className:s,ref:(0,i.Z)([h,f,m,d])},n))}},72096:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(94333),s=n(31158),l=n(97790),c=n(82295);let u,p=0;const d=()=>{};class m extends o.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){p++,1===p&&this.openFirstModal()}componentWillUnmount(){p--,0===p&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){u||(u=document.createElement("div"),document.body.appendChild(u)),this.node=document.createElement("div"),u.appendChild(this.node),this.node.ontouchstart=d,this.node.ontouchend=d}cleanDOM(){u.removeChild(this.node)}openFirstModal(){c.BM(u)}closeLastModal(){c.i1()}render(){const{children:e,isOpened:t,shadowDOM:n,...r}=this.props;return(0,o.createElement)(s.Z,a()({},n,{mountOnElement:this.node}),t&&(0,o.createElement)(l.Z,r,e))}}m.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0},t.Z=(0,i.withInstanceId)(m)},54616:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(92819),c=n(11313),u=n(94333),p=n(65736),d=n(9818),m=n(12378),h=n(96178),f=n(16019),g=n(27870),b=n(94292);const __=p.__;function v(e){let{id:t,slides:n,metadata:r,disabled:i}=e;const{setFullscreen:p,setEnded:v,setPlaying:k,setMuted:y,showSlide:E}=(0,d.useDispatch)("jetpack/story/player"),{playing:w,muted:_,currentSlideIndex:C,currentSlideEnded:j,ended:S,fullscreen:x,settings:T}=(0,d.useSelect)((e=>{const{getCurrentSlideIndex:n,getSettings:r,hasCurrentSlideEnded:a,hasEnded:o,isFullscreen:i,isMuted:s,isPlaying:l}=e("jetpack/story/player");return{playing:l(t),muted:s(t),currentSlideIndex:n(t),currentSlideEnded:a(t),ended:o(t),fullscreen:i(t),settings:r(t)}}),[t]),N=(0,o.useRef)(),[P,A]=(0,o.useState)(null),[I,{width:M,height:B}]=(0,u.useResizeObserver)(),[R,L]=(0,o.useState)(T.defaultAspectRatio),Z=(0,l.some)(n,(e=>(0,c.isBlobURL)(e.url))),F=e=>{E(t,e)},D=(0,o.useCallback)((()=>{i||x||T.playInFullscreen&&!w&&k(t,!0)}),[w,i,x]),{onTouchStart:O,onTouchEnd:z}=(0,b.Z)((e=>{k(t,!e)}),[]),U=(0,o.useCallback)((()=>{C>0&&F(C-1)}),[C]),$=(0,o.useCallback)((()=>{C<n.length-1?F(C+1):v(t)}),[C,n]),V=(0,o.useCallback)((()=>{p(t,!1)}),[]);let G,q;return(0,o.useEffect)((()=>{i&&w&&k(t,!1)}),[i,w]),(0,o.useEffect)((()=>{w&&j&&$()}),[w,j]),(0,o.useLayoutEffect)((()=>{if(!N.current)return;let e=Math.round(T.defaultAspectRatio*N.current.offsetHeight);x&&(e=Math.abs(1-e/M)<T.cropUpTo?M:e),A(e)}),[M,B,x]),(0,o.useLayoutEffect)((()=>{P&&N.current&&N.current.offsetHeight>0&&L(P/N.current.offsetHeight)}),[P]),G=x?[__("You are currently playing a story.","jetpack"),w?__("Press space to pause.","jetpack"):__("Press space to play.","jetpack",0),__("Press escape to exit.","jetpack")].join(" "):__("Play story","jetpack"),q=i?"presentation":x?"dialog":"button",(0,o.createElement)("div",{className:"wp-story-display-contents"},I,(0,o.createElement)("div",{role:q,"aria-label":G,tabIndex:x?-1:0,className:s()("wp-story-container",{"wp-story-with-controls":!i&&!x&&!T.playInFullscreen,"wp-story-fullscreen":x,"wp-story-ended":S,"wp-story-disabled":i,"wp-story-clickable":!i&&!x}),style:{maxWidth:`${P}px`},onClick:D,onTouchStart:O,onTouchEnd:z},(0,o.createElement)(g.h4,a()({},r,{fullscreen:x,onExitFullscreen:V})),(0,o.createElement)("div",{ref:N,className:"wp-story-wrapper"},n.map(((e,n)=>(0,o.createElement)(m.Z,{playerId:t,key:n,media:e,index:n,playing:!i&&w,uploading:Z,settings:T,targetAspectRatio:R})))),(0,o.createElement)(g.aV,{icon:h.Z,slideCount:n.length,showSlideCount:T.showSlideCount,ended:S,hasPrevious:C>0,onPreviousSlide:U,onNextSlide:$}),T.showProgressBar&&(0,o.createElement)(f.ZP,{playerId:t,slides:n,disabled:!x,onSlideSeek:F,maxBullets:x?T.maxBulletsFullscreen:T.maxBullets}),(0,o.createElement)(g.ZX,{playing:w,muted:_,onPlayPressed:()=>k(t,!w),onMutePressed:()=>y(t,!_),showMute:(e=>{const t=e<n.length?n[e]:null;return!!t&&("video"===t.type||(t.mime||"").startsWith("video/"))})(C)})),x&&(0,o.createElement)(g.Aq,{currentMedia:T.blurredBackground&&n.length>C&&n[C]}))}},16019:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(27870),i=n(9818);const s=e=>{let{key:t,playerId:n,index:a,disabled:s,isSelected:l,onClick:c}=e;const u=(0,i.useSelect)((e=>e("jetpack/story/player").getCurrentSlideProgressPercentage(n)),[]);return(0,r.createElement)(o.gT,{key:t,index:a,progress:u,disabled:s,isSelected:l,onClick:c})};t.ZP=e=>{let{playerId:t,slides:n,disabled:l,onSlideSeek:c,maxBullets:u}=e;const{currentSlideIndex:p}=(0,i.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t)})),[]),d=Math.min(n.length,u),m=Math.floor(d/2);let h,f=0,g=n.length-1;return n.length<=u||p<m?(h=p,g=d-1):p>=n.length-m?(h=p-n.length+d,f=n.length-d):(h=m,f=p-m,g=p+m),(0,r.createElement)("div",{className:"wp-story-pagination wp-story-pagination-bullets",role:"tablist"},f>0&&(0,r.createElement)(o.gT,{key:"bullet-0",index:f-1,progress:100,isEllipsis:!0}),(0,a.range)(1,d+1).map(((e,n)=>{const a=n+f;let i=null;if(a<p)i=100;else{if(!(a>p))return(0,r.createElement)(s,{playerId:t,key:`bullet-${n}`,index:a,disabled:l,isSelected:h===n,onClick:()=>c(a)});i=0}return(0,r.createElement)(o.gT,{key:`bullet-${n}`,index:a,progress:i,disabled:l,isSelected:h===n,onClick:()=>c(a)})})),g<n.length-1&&(0,r.createElement)(o.gT,{key:`bullet-${d+1}`,index:g+1,progress:0,isEllipsis:!0}))}},12378:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(97524),s=n(89105),l=n.n(s),c=n(9818),u=n(27870);t.Z=e=>{let{playerId:t,media:n,index:r,playing:s,uploading:p,settings:d,targetAspectRatio:m}=e;const{currentSlideIndex:h,buffering:f}=(0,c.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t),buffering:e("jetpack/story/player").isBuffering(t)})),[]),{slideReady:g}=(0,c.useDispatch)("jetpack/story/player"),b=r===h,v=(0,o.useRef)(null),[k,y]=(0,o.useState)(!1),[E,w]=(0,o.useState)(!0);return(0,o.useEffect)((()=>{if(b&&!E){const e=v.current&&v.current.src&&"video"===v.current.tagName.toLowerCase()?v.current:null;g(t,v.current,e?e.duration:d.imageTime)}}),[b,E]),(0,o.useEffect)((()=>{r<=h+(s?1:0)&&y(!0)}),[s,h]),(0,o.useLayoutEffect)((()=>{v.current&&(0,i.Z)(v.current).then((()=>{w(!1)}))}),[k,p]),(0,o.createElement)(o.Fragment,null,b&&(E||p||f)&&(0,o.createElement)("div",{className:l()("wp-story-slide","is-loading",{transparent:s&&f,"semi-transparent":p||!s&&f})},(0,o.createElement)(u.WB,null)),(0,o.createElement)("div",{role:"figure",className:"wp-story-slide",style:{display:b&&!E?"block":"none"},tabIndex:b?0:-1},k&&(0,o.createElement)(u.pU,a()({},n,{targetAspectRatio:m,cropUpTo:d.cropUpTo,index:r,mediaRef:v}))))}},46192:function(e,t,n){"use strict";function r(e,t){return{type:"SET_MUTED",value:t,playerId:e}}function a(e,t){return{type:"SET_PLAYING",value:t,playerId:e}}function o(e,t){return{type:"SHOW_SLIDE",index:t,playerId:e}}function i(e,t,n){return{type:"SLIDE_READY",mediaElement:t,duration:n,playerId:e}}function s(e,t){return{type:"SET_CURRENT_SLIDE_PROGRESS",value:t,playerId:e}}function l(e){return{type:"RESET_CURRENT_SLIDE_PROGRESS",playerId:e}}function c(e){return{type:"SET_CURRENT_SLIDE_ENDED",playerId:e}}function u(e,t){return{type:"SET_FULLSCREEN",playerId:e,fullscreen:t}}function p(e){return{type:"ENDED",playerId:e}}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"INIT",playerId:e,settings:t}}function m(e,t){return{type:"SET_BUFFERING",value:t,playerId:e}}n.r(t),n.d(t,{setMuted:function(){return r},setPlaying:function(){return a},showSlide:function(){return o},slideReady:function(){return i},setCurrentSlideProgress:function(){return s},resetCurrentSlideProgress:function(){return l},setCurrentSlideEnded:function(){return c},setFullscreen:function(){return u},setEnded:function(){return p},init:function(){return d},setBuffering:function(){return m}})},58571:function(e,t,n){"use strict";n.d(t,{XO:function(){return r},Qz:function(){return a},H2:function(){return o}});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},a={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},o={slideCount:0,currentSlide:a,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:"open",globalStyleElements:'#jetpack-block-story-css, link[href*="jetpack/_inc/blocks/story/view.css"]'},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},83566:function(e,t,n){"use strict";var r=n(46192),a=n(96494);const o=e=>e&&e.src&&"video"===e.tagName.toLowerCase();function i(e,t){const{getState:n}=t,r=e.playerId,i=(0,a.isMuted)(n(),r),s=(0,a.isPlaying)(n(),r),l=(0,a.getCurrentMediaElement)(n(),r),c=(0,a.getPreviousSlideMediaElement)(n(),r),u=(0,a.getSettings)(n(),r);o(c)&&(c.currentTime=0,c.onwaiting=null,c.onplaying=null,c.pause()),o(l)&&(i!==l.muted&&(l.muted=i,i||(l.volume=u.volume)),s?l.play():l.pause())}function s(e,t){const{getState:n,dispatch:i}=t,l=e.playerId,c=(0,a.isCurrentSlideReady)(n(),l),u=(0,a.isPlaying)(n(),l),p=(0,a.getCurrentSlideProgress)(n(),l);if(clearTimeout(p.timeout),!u||!c)return void(p.lastUpdate&&i((0,r.setCurrentSlideProgress)(l,{...p,lastUpdate:null})));const d=(0,a.getCurrentMediaElement)(n(),l),m=(0,a.getCurrentMediaDuration)(n(),l),h=p.lastUpdate?Date.now()-p.lastUpdate:100,f=o(d)?d.currentTime:p.currentTime+h/1e3;if(f>=m){i((0,r.setCurrentSlideEnded)(l));const e=(0,a.getSlideCount)(n(),l);(0,a.getCurrentSlideIndex)(n(),l)===e-1&&i((0,r.setEnded)(l))}else i((0,r.setCurrentSlideProgress)(l,{timeout:setTimeout((()=>s(e,t)),100),lastUpdate:Date.now(),duration:m,currentTime:f}))}t.Z={SET_PLAYING:[s,i],SLIDE_READY:[function(e,t){const{getState:n,dispatch:i}=t,s=e.playerId,l=(0,a.getCurrentMediaElement)(n(),s);if(!o(l))return;const c=(0,a.getCurrentSlideProgress)(n(),s);0===l.currentTime&&c.currentTime>0&&(l.currentTime=c.currentTime),l.onwaiting=()=>i((0,r.setBuffering)(s,!0)),l.onplaying=()=>i((0,r.setBuffering)(s,!1))},s,i],SET_MUTED:i,SHOW_SLIDE:i}},66930:function(e,t,n){"use strict";var r=n(9818),a=n(46192),o=n(96494),i=n(36978),s=n(2814);const l=(0,r.registerStore)("jetpack/story/player",{actions:a,reducer:s.Z,selectors:o});(0,i.Z)(l)},36978:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2601),a=n.n(r),o=n(92819),i=n(83566);function s(e){const t=[a()(i.Z)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},2814:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(58571);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.H2,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_SLIDE":{const n=e.currentSlide===t.index+1;return{...e,currentSlide:{...a.Qz,index:t.index},previousSlide:e.currentSlide,playing:n?e.settings.playOnNextSlide:e.playing}}case"SLIDE_READY":return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case"SET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case"SET_CURRENT_SLIDE_ENDED":return{...e,currentSlide:{...e.currentSlide,ended:!0}};case"RESET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:{...a.XO}}};case"SET_MUTED":return{...e,muted:t.value};case"SET_PLAYING":{const n=t.value&&e.ended;return{...e,playing:t.value,buffering:!!t.value&&e.buffering,fullscreen:!e.playing&&t.value?e.settings.playInFullscreen:e.fullscreen,ended:!n&&e.ended,currentSlide:n?{...a.Qz,index:0}:e.currentSlide,previousSlide:n?null:e.previousSlide}}case"SET_BUFFERING":return{...e,buffering:t.value};case"SET_FULLSCREEN":return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&&!t.fullscreen&&e.settings.playInFullscreen)&&e.playing};case"INIT":{const n=(0,r.merge)({},e.settings,t.settings);return{...e,settings:n,playing:n.playOnLoad,fullscreen:n.loadInFullscreen}}case"ENDED":return{...e,currentSlide:{...a.Qz,index:e.settings.slideCount-1,progress:{...a.XO,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.playerId?{...e,[t.playerId]:o(e[t.playerId],t)}:e}},96494:function(e,t,n){"use strict";function r(e,t){return!!e[t]}function a(e,t){return e[t].currentSlide.index}function o(e,t){return e[t].currentSlide.progress}function i(e,t){const n=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,a=Math.round(100*n/r);return a>=100?100:a}function s(e,t){return e[t].playing}function l(e,t){return e[t].muted}function c(e,t){return e[t].buffering}function u(e,t){return e[t].currentSlide.mediaElement}function p(e,t){return e[t].currentSlide.duration}function d(e,t){return e[t].currentSlide.ended}function m(e,t){return e[t].currentSlide.ready}function h(e,t){return e[t].previousSlide?.mediaElement}function f(e,t){return e[t].fullscreen}function g(e,t){return e[t].ended}function b(e,t){return e[t].settings}function v(e,t){return e[t].settings.slideCount}n.r(t),n.d(t,{isPlayerReady:function(){return r},getCurrentSlideIndex:function(){return a},getCurrentSlideProgress:function(){return o},getCurrentSlideProgressPercentage:function(){return i},isPlaying:function(){return s},isMuted:function(){return l},isBuffering:function(){return c},getCurrentMediaElement:function(){return u},getCurrentMediaDuration:function(){return p},hasCurrentSlideEnded:function(){return d},isCurrentSlideReady:function(){return m},getPreviousSlideMediaElement:function(){return h},isFullscreen:function(){return f},hasEnded:function(){return g},getSettings:function(){return b},getSlideCount:function(){return v}})},1436:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:o()("wp-story",t)})}},79885:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"},successMessage:{type:"string",default:__("Success! An email was just sent to confirm your subscription. Please find the email now and click 'Confirm Follow' to start subscribing.","jetpack")}}},87138:function(e,t,n){"use strict";n.d(t,{G0:function(){return r},Gp:function(){return a},S9:function(){return o},VF:function(){return i},K3:function(){return s},XJ:function(){return l},xV:function(){return c},bK:function(){return u},HE:function(){return p},Tr:function(){return d},pC:function(){return m},FP:function(){return h},tm:function(){return f}});const r=0,a=50,o=0,i=0,s=15,l=1,c=5,u=50,p=15,d=0,m=50,h=10,f="16px"},45643:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(80790),l=n(87138);const __=a.__;function c(e){let{buttonBackgroundColor:t,borderColor:n,buttonGradient:a,borderRadius:c,borderWeight:u,buttonOnNewLine:p,emailFieldBackgroundColor:d,fallbackButtonBackgroundColor:m,fallbackTextColor:h,fontSize:f,isGradientAvailable:g,padding:b,setAttributes:v,setButtonBackgroundColor:k,setTextColor:y,showSubscribersTotal:E,spacing:w,subscriberCount:_,textColor:C,buttonWidth:j,successMessage:S}=e;return(0,r.createElement)(r.Fragment,null,g&&(0,r.createElement)(i.__experimentalPanelColorGradientSettings,{title:__("Color Settings","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",settings:[{colorValue:t.color,onColorChange:k,gradientValue:a.gradientValue,onGradientChange:a.setGradient,label:__("Button Background Color","jetpack")},{colorValue:C.color,onColorChange:y,label:__("Button Text Color","jetpack")},{colorValue:n.color,onColorChange:e=>{v({borderColor:e,customBorderColor:e})},label:__("Border Color","jetpack")}],initialOpen:!0},(0,r.createElement)(i.ContrastChecker,{fontSize:f.size,textColor:C.color,backgroundColor:d.color,fallbackButtonBackgroundColor:m,fallbackTextColor:h})),!g&&(0,r.createElement)(i.PanelColorSettings,{title:__("Background Colors","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",colorSettings:[{value:t.color,onChange:k,label:__("Button Background Color","jetpack")},{value:C.color,onChange:y,label:__("Button Text Color","jetpack")},{value:n.color,onColorChange:e=>{v({borderColor:e,customBorderColor:e})},label:__("Border Color","jetpack")}],initialOpen:!1},(0,r.createElement)(i.ContrastChecker,{fontSize:f.size,textColor:C.color,backgroundColor:d.color,fallbackButtonBackgroundColor:m,fallbackTextColor:h})),(0,r.createElement)(o.PanelBody,{title:__("Text Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__textpanel"},(0,r.createElement)(i.FontSizePicker,{withSlider:!0,value:f.size,onChange:e=>{const t=e||l.tm;v({fontSize:t,customFontSize:t})}})),(0,r.createElement)(o.PanelBody,{title:__("Border Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__borderpanel"},(0,r.createElement)(o.RangeControl,{value:c,label:__("Border Radius","jetpack"),min:l.G0,max:l.Gp,initialPosition:l.S9,allowReset:!0,onChange:e=>v({borderRadius:e})}),(0,r.createElement)(o.RangeControl,{value:u,label:__("Border Weight","jetpack"),min:l.VF,max:l.K3,initialPosition:l.XJ,allowReset:!0,onChange:e=>v({borderWeight:e})})),(0,r.createElement)(o.PanelBody,{title:__("Spacing Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__spacingpanel"},(0,r.createElement)(o.RangeControl,{value:b,label:__("Space Inside","jetpack"),min:l.xV,max:l.bK,initialPosition:l.HE,allowReset:!0,onChange:e=>v({padding:e})}),(0,r.createElement)(o.RangeControl,{value:w,label:__("Space Between","jetpack"),min:l.Tr,max:l.pC,initialPosition:l.FP,allowReset:!0,onChange:e=>v({spacing:e})}),(0,r.createElement)(s.h,{width:j,onChange:e=>v({buttonWidth:e})})),(0,r.createElement)(o.PanelBody,{title:__("Display Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__displaypanel"},(0,r.createElement)(o.ToggleControl,{label:__("Show subscriber count","jetpack"),checked:E,onChange:()=>{v({showSubscribersTotal:!E})},help:()=>{if(!_||_<1)return __("This will remain hidden on your website until you have at least one subscriber.","jetpack")}}),(0,r.createElement)(o.ToggleControl,{label:__("Place button on new line","jetpack"),checked:p,onChange:()=>{v({buttonOnNewLine:!p})}})),(0,r.createElement)(o.PanelBody,{title:__("Success Message Text","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__successpanel"},(0,r.createElement)(o.TextareaControl,{value:S,label:__("Success Message Text","jetpack"),hideLabelFromVision:!0,help:__("Save your custom message to display when a user subscribes your website.","jetpack"),onChange:e=>v({successMessage:e})})))}},58363:function(e,t,n){"use strict";var r=n(26233),a=n(80960),o=n(28897),i=n(73300),s=n(56286),l=n(16949);t.Z=[l.Z,s.Z,i.Z,o.Z,a.Z,r.Z]},26233:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(92819);const __=a.__;t.Z={attributes:{subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:e=>({submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal}),isEligible:e=>!(!e.hasOwnProperty("subscribeButton")||!(0,o.isEmpty)(e.subscribeButton)),save:function(e){let{attributes:t}=e;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_subscribers_total="${t.showSubscribersTotal}" show_only_email_and_button="true"]`)}}},80960:function(e,t,n){"use strict";var r=n(65736),a=n(51268);const __=r.__;t.Z={attributes:{subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},migrate:e=>({subscribePlaceholder:e.subscribePlaceholder,showSubscribersTotal:e.showSubscribersTotal,buttonOnNewLine:!0,submitButtonText:e.submitButtonText,buttonBackgroundColor:e.backgroundButtonColor?e.backgroundButtonColor:"primary",customButtonBackgroundColor:e.customBackgroundButtonColor,textColor:e.textButtonColor?e.textButtonColor:"background",customTextColor:e.customTextButtonColor}),save:a.Z}},51268:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{showSubscribersTotal:n,submitButtonClasses:a,customBackgroundButtonColor:o,customTextButtonColor:i,submitButtonText:s}=t;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="${o}" custom_text_button_color="${i}" submit_button_text="${s}" submit_button_classes="${a}" show_subscribers_total="${n}" ]`)}},80929:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Enter your email address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Sign Up","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"number"},customFontSize:{type:"number"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},69283:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(80929);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const{subscribePlaceholder:o,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:p,customEmailFieldBackgroundColor:d,emailFieldGradient:m,customEmailFieldGradient:h,buttonBackgroundColor:f,customButtonBackgroundColor:g,buttonGradient:b,customButtonGradient:v,textColor:k,customTextColor:y,fontSize:E,customFontSize:w,borderRadius:_,borderWeight:C,borderColor:j,customBorderColor:S,padding:x,spacing:T}=t,N=!!a.__experimentalGetGradientClass,P=(0,a.getColorClassName)("color",k),A=(0,a.getFontSizeClass)(E),I=(0,a.getColorClassName)("border-color",j),M=(0,a.getColorClassName)("background-color",f),B=N?(0,a.__experimentalGetGradientClass)(b):void 0,R=(0,a.getColorClassName)("background-color",p),L=N?(0,a.__experimentalGetGradientClass)(m):void 0,Z=i()(0===_?"no-border-radius":void 0,A,I),F=i()(Z,k?"has-text-color":void 0,P,f||b?"has-background":void 0,M,B),D=i()(Z,R,L),O=!R&&h?h:d,z=!M&&v?v:g,U=()=>i()(e,"wp-block-jetpack-subscriptions__supports-newline",c?"wp-block-jetpack-subscriptions__use-newline":void 0,l?"wp-block-jetpack-subscriptions__show-subs":void 0);let $=o,V=u;return"check-text-defaults"===n&&($=o===s.Z.subscribePlaceholder.default?"Enter your email address":o,V=u===s.Z.submitButtonText.default?"Sign Up":u),(0,r.createElement)("div",{className:U()},(0,r.createElement)(r.RawHTML,null,`\n\t\t\t[jetpack_subscription_form\n\t\t\t\tsubscribe_placeholder="${$}"\n\t\t\t\tshow_subscribers_total="${l}"\n\t\t\t\tbutton_on_newline="${c}"\n\t\t\t\tsubmit_button_text="${V}"\n\t\t\t\tcustom_background_emailfield_color="${O}"\n\t\t\t\tcustom_background_button_color="${z}"\n\t\t\t\tcustom_text_button_color="${y}"\n\t\t\t\tcustom_font_size="${w||16}"\n\t\t\t\tcustom_border_radius="${_||0}"\n\t\t\t\tcustom_border_weight="${C||1}"\n\t\t\t\tcustom_border_color="${S}"\n\t\t\t\tcustom_padding="${x||15}"\n\t\t\t\tcustom_spacing="${T||10}"\n\t\t\t\tsubmit_button_classes="${F}"\n\t\t\t\temail_field_classes="${D}"\n\t\t\t\tshow_only_email_and_button="true"\n\t\t\t]`))}},28897:function(e,t,n){"use strict";var r=n(80929),a=n(69283);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n)}}},73300:function(e,t,n){"use strict";var r=n(80929),a=n(69283);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n,"check-text-defaults")}}},56286:function(e,t,n){"use strict";var r=n(80929),a=n(14556);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:a.ZP}},14556:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(80929);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:j,borderColor:S,customBorderColor:x,padding:T,spacing:N}=n,P=!!a.__experimentalGetGradientClass,A=(0,a.getColorClassName)("color",y),I=(0,a.getFontSizeClass)(w),M=(0,a.getColorClassName)("border-color",S),B=(0,a.getColorClassName)("background-color",g),R=P?(0,a.__experimentalGetGradientClass)(v):void 0,L=(0,a.getColorClassName)("background-color",d),Z=P?(0,a.__experimentalGetGradientClass)(h):void 0,F=i()(0===C?"no-border-radius":void 0,I,M),D=i()(F,y?"has-text-color":void 0,A,g||v?"has-background":void 0,B,R),O=i()(F,L,Z),z=!L&&f?f:m,U=!B&&k?k:b,$={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:z,custom_background_button_color:U,custom_text_button_color:E,custom_font_size:_||16,custom_border_radius:C||0,custom_border_weight:j||1,custom_border_color:x,custom_padding:T||15,custom_spacing:N||10,submit_button_classes:D,email_field_classes:O,show_only_email_and_button:!0},V=(0,s.reduce)($,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${V}]`))}},61798:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},16949:function(e,t,n){"use strict";var r=n(61798),a=n(75799);t.Z={attributes:r.Z,save:a.Z}},75799:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(61798);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:j,borderColor:S,customBorderColor:x,padding:T,spacing:N,buttonWidth:P}=n,A=!!a.__experimentalGetGradientClass,I=(0,a.getColorClassName)("color",y),M=(0,a.getFontSizeClass)(w),B=(0,a.getColorClassName)("border-color",S),R=(0,a.getColorClassName)("background-color",g),L=A?(0,a.__experimentalGetGradientClass)(v):void 0,Z=(0,a.getColorClassName)("background-color",d),F=A?(0,a.__experimentalGetGradientClass)(h):void 0,D=i()(0===C?"no-border-radius":void 0,M,B),O=i()(D,y?"has-text-color":void 0,I,g||v?"has-background":void 0,R,L),z=i()(D,Z,F),U=!Z&&f?f:m,$=!R&&k?k:b,V=P||void 0,G={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:U,custom_background_button_color:$,custom_text_button_color:E,custom_font_size:_||"16px",custom_border_radius:C||0,custom_border_weight:j||1,custom_border_color:x,custom_button_width:V,custom_padding:T||15,custom_spacing:N||10,submit_button_classes:O,email_field_classes:z,show_only_email_and_button:!0},q=(0,s.reduce)(G,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${q}]`))}},73228:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(86989),l=n.n(s),c=n(65736),u=n(55609),p=n(52175),d=n(94333),m=n(79885),h=n(14087),f=n(87138),g=n(45643);const __=c.__,_n=c._n,{getComputedStyle:b}=window,v=!!p.__experimentalUseGradient,k=(0,u.withFallbackStyles)(((e,t)=>{const{buttonBackgroundColor:n,textColor:r}=t,a=n&&n.color,o=r&&r.color,i=e.querySelector(".wp-block-jetpack-subscriptions__button");return{fallbackButtonBackgroundColor:a||!e?void 0:i&&b(i).backgroundColor,fallbackTextColor:o||!e?void 0:i&&b(i).color}}));t.Z=(0,d.compose)([(0,p.withColors)({emailFieldBackgroundColor:"backgroundColor"},{buttonBackgroundColor:"backgroundColor"},{textColor:"color"},"borderColor"),(0,p.withFontSizes)("fontSize"),k])((function(e){const{className:t,attributes:n,setAttributes:a,emailFieldBackgroundColor:s,buttonBackgroundColor:d,setButtonBackgroundColor:b,fallbackButtonBackgroundColor:k,textColor:y,fallbackTextColor:E,setTextColor:w,borderColor:_,fontSize:C}=e,j=(0,h.S)(m.Z,n);(0,i.isEqual)(j,n)||a(j);const{borderRadius:S,borderWeight:x,buttonWidth:T,padding:N,spacing:P,submitButtonText:A,subscribePlaceholder:I,showSubscribersTotal:M,buttonOnNewLine:B,successMessage:R}=j,[L,Z]=(0,r.useState)(""),[F,D]=(0,r.useState)(""),O=v?(0,p.__experimentalUseGradient)({gradientAttribute:"emailFieldGradient",customGradientAttribute:"customEmailFieldGradient"}):{},z=v?(0,p.__experimentalUseGradient)({gradientAttribute:"buttonGradient",customGradientAttribute:"customButtonGradient"}):{},U={"no-border-radius":0===S,[C.class]:C.class,"has-text-color":y.color,[y.class]:y.class},$={...U,"has-background":s.color||O.gradientValue,[s.class]:!O.gradientValue&&s.class,[O.gradientClass]:O.gradientClass},V={...U,"has-background":d.color||z.gradientValue,[d.class]:!z.gradientValue&&d.class,[z.gradientClass]:z.gradientClass},G=e=>e||f.FP,q={color:y.color,borderColor:_.color,borderRadius:S?S+"px":f.S9+"px",borderWidth:x?x+"px":f.XJ+"px",fontSize:C.size?C.size:f.tm,padding:(e=>{const t=e||f.HE;return t+"px "+Math.round(1.5*t)+"px "+t+"px "+Math.round(1.5*t)+"px"})(N)},H={...q,...!s.color&&O.gradientValue?{background:O.gradientValue}:{backgroundColor:s.color}},W={...q,...!d.color&&z.gradientValue?{background:z.gradientValue}:{backgroundColor:d.color},...B?{marginTop:G(P)+"px"}:{marginLeft:G(P)+"px"},width:T};return(0,r.useEffect)((()=>{l()({path:"/wpcom/v2/subscribers/count"}).then((e=>{e.hasOwnProperty("count")?(Z((0,c.sprintf)(
+__("Go to slide %d","jetpack"),a+1)),(0,r.createElement)(s.Button,{role:p?"presentation":"tab",key:a,className:o()("wp-story-pagination-bullet",{"wp-story-pagination-ellipsis":t}),"aria-label":d,"aria-disabled":p||l,onClick:p||l?void 0:u,disabled:p},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar"},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar-progress",style:{width:`${c}%`}})))}},44689:function(e,t,n){"use strict";n.d(t,{b:function(){return l},r:function(){return c}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i);const l=e=>{let{className:t,size:n,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button","circle-icon","outlined","bordered",t),style:{width:`${n}px`,height:`${n}px`}},l))},c=e=>{let{className:t,size:n=24,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button",t),style:{width:`${n}px`,height:`${n}px`}},l))}},51543:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("div",{className:"wp-story-loading-spinner"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__outer"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__inner"})))},85584:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(44689),i=n(89620);const _x=a._x;function s(e){let{playing:t,muted:n,onPlayPressed:a,onMutePressed:s,showMute:l}=e;return(0,r.createElement)("div",{className:"wp-story-controls"},(0,r.createElement)(o.r,{isPressed:t,label:t?_x("pause","Button tooltip text","jetpack"):_x("play","Button tooltip text","jetpack",0),onClick:a},t?(0,r.createElement)(i.fp,null):(0,r.createElement)(i.o1,null)),l&&(0,r.createElement)(o.r,{isPressed:n,label:n?_x("unmute","Button tooltip text","jetpack"):_x("mute","Button tooltip text","jetpack",0),onClick:s},n?(0,r.createElement)(i.xb,null):(0,r.createElement)(i.MC,null)))}},14904:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(44689),i=n(89620);const __=a.__;function s(e){let{fullscreen:t,onExitFullscreen:n,siteIconUrl:a,storyTitle:s}=e;return t?(0,r.createElement)("div",{className:"wp-story-meta"},(0,r.createElement)("div",{className:"wp-story-icon"},(0,r.createElement)("img",{alt:__("Site icon","jetpack"),src:a,width:"40",height:"40"})),(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"wp-story-title"},s)),(0,r.createElement)(o.r,{className:"wp-story-exit-fullscreen",label:__("Exit Fullscreen","jetpack"),onClick:n},(0,r.createElement)(i.Tw,null))):null}},89620:function(e,t,n){"use strict";n.d(t,{JM:function(){return d},MC:function(){return u},Tw:function(){return c},Vq:function(){return m},fp:function(){return l},o1:function(){return s},xb:function(){return p}});var r=n(69307),a=n(55609),o=n(36598);const i=e=>{let{children:t,size:n}=e;return(0,o.Z)(t,n,n)},s=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M8 5v14l11-7z"}))},l=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}))},c=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))},u=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}))},p=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}))},d=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}))},m=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}))}},69835:function(e,t,n){"use strict";n.d(t,{Aq:function(){return s.Z},WB:function(){return l.Z},ZX:function(){return a.Z},aV:function(){return i.Z},gT:function(){return r.Z},h4:function(){return o.Z},pU:function(){return c.pU}});var r=n(94754),a=n(85584),o=n(14904),i=n(74629),s=n(19395),l=n(51543),c=n(41126);n(44689)},41126:function(e,t,n){"use strict";n.d(t,{pU:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i);const l=e=>{let{title:t,alt:n,className:r,id:a,mediaRef:i,mime:l,sizes:c,srcset:u,url:p}=e;return(0,o.createElement)("img",{ref:i,"data-id":a,"data-mime":l,title:t,alt:n,src:p,className:s()("wp-story-image",`wp-image-${a}`,r),srcSet:u,sizes:c})},c=e=>{let{title:t,className:n,id:r,mediaRef:a,mime:i,url:l,poster:c}=e;return(0,o.createElement)("video",{className:s()("wp-story-video","intrinsic-ignore",`wp-video-${r}`,n),ref:a,"data-id":r,title:t,type:i,src:l,poster:c,tabIndex:-1,preload:"auto",playsInline:!0})},u=e=>{let{targetAspectRatio:t,cropUpTo:n,type:r,width:i,height:s,...u}=e,p=null;if(i&&s){const e=i/s;if(e>=t){e>t/(1-n)||(p="wp-story-crop-wide")}else{e<t*(1-n)||(p="wp-story-crop-narrow")}}const d="video"===r||(u.mime||"").startsWith("video/");return(0,o.createElement)("figure",null,d?(0,o.createElement)(c,a()({},u,{className:p})):(0,o.createElement)(l,a()({},u,{className:p})))}},74629:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(99891),o=n(65736),i=n(44689),s=n(89620);const __=o.__;function l(e){let{ended:t,hasPrevious:n,onNextSlide:l,onPreviousSlide:c,icon:u,slideCount:p,showSlideCount:d}=e;const m=(0,r.useCallback)((e=>{t||(e.stopPropagation(),c())}),[c,t]),h=(0,r.useCallback)((e=>{t||(e.stopPropagation(),l())}),[l,t]);return(0,r.createElement)("div",{className:"wp-story-overlay"},d&&(0,r.createElement)("div",{className:"wp-story-embed-icon"},u,(0,r.createElement)("span",null,p)),!d&&(0,r.createElement)("div",{className:"wp-story-embed-icon-expand"},(0,r.createElement)(a.Z,{role:"img"})),n&&(0,r.createElement)("div",{className:"wp-story-prev-slide",onClick:m},(0,r.createElement)(i.b,{size:44,label:__("Previous Slide","jetpack"),className:"outlined-w"},(0,o.isRTL)()?(0,r.createElement)(s.Vq,{size:24}):(0,r.createElement)(s.JM,{size:24}))),(0,r.createElement)("div",{className:"wp-story-next-slide",onClick:h},(0,r.createElement)(i.b,{size:44,label:__("Next Slide","jetpack"),className:"outlined-w"},(0,o.isRTL)()?(0,r.createElement)(s.JM,{size:24}):(0,r.createElement)(s.Vq,{size:24}))))}},93340:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(65235),o=n.n(a),i=n(74240),s=n(47591),l=n(7449);const c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function u(e){let{className:t,fullscreenClassName:n,bodyFullscreenClassName:a,fullscreen:u,shadowDOM:p,onKeyDown:d,onExitFullscreen:m,playerQuerySelector:h,children:f}=e;const g=(0,r.useRef)(),b=(0,r.useRef)(),[v,k]=(0,r.useState)(null),y=c&&s.am(),E=u&&!y,w=u&&y;return(0,r.useLayoutEffect)((()=>{if(y)u?g.current&&s.uP(g.current,m):s.bG()&&s.JF();else if(u){if(k([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(a),document.getElementsByTagName("html")[0].classList.add(a),b.current){const e=b.current.querySelector(h);e&&e.focus()}}else if(document.body.classList.remove(a),document.getElementsByTagName("html")[0].classList.remove(a),v){window.scrollTo(...v);const e=g.current.querySelector(h);e&&e.focus()}}),[u]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,p,(0,r.createElement)("div",{ref:g,className:o()(t,{[n]:w}),onKeyDown:d},!E&&f)),(0,r.createElement)(l.Z,{className:o()(t,{[n]:E}),isOpened:E,onRequestClose:m,shadowDOM:p,onKeyDown:E&&d,focusOnMount:!1,modalRef:b},E&&f))}},73022:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(9818),o=n(39630),i=(n(31179),n(75096)),s=n(93340);function l(e){let{id:t,slides:n,metadata:l,disabled:c,...u}=e;const p=(0,r.useMemo)((()=>t||Math.random().toString(36)),[t]),{init:d,setEnded:m,setPlaying:h,setFullscreen:f,showSlide:g}=(0,a.useDispatch)("jetpack/story/player"),{playing:b,currentSlideIndex:v,fullscreen:k,isReady:y,playerSettings:E}=(0,a.useSelect)((e=>{const{getCurrentSlideIndex:t,getSettings:n,isFullscreen:r,isPlayerReady:a,isPlaying:o}=e("jetpack/story/player");return a(p)?{playing:o(p),currentSlideIndex:t(p),isReady:!0,fullscreen:r(p),playerSettings:n(p)}:{isReady:!1}}),[p]);(0,r.useEffect)((()=>{y||d(p,{slideCount:n.length,...u})}),[y,p]);const w=(0,r.useCallback)((e=>{switch(e.keyCode){case o.ENTER:if(k)break;case o.SPACE:h(p,!b);break;case o.LEFT:v>0&&g(p,v-1);break;case o.RIGHT:v<n.length-1?g(p,v+1):m(p)}}),[p,v,k,b]),_=(0,r.useCallback)((()=>{f(p,!1)}),[p]);return y?(0,r.createElement)(s.Z,{shadowDOM:E.shadowDOM,className:"wp-story-app",fullscreenClassName:"wp-story-fullscreen",bodyFullscreenClassName:"wp-story-in-fullscreen",playerQuerySelector:".wp-story-container",fullscreen:k,onExitFullscreen:_,onKeyDown:w},(0,r.createElement)(i.Z,{id:p,slides:n,metadata:l,disabled:c})):null}},47591:function(e,t,n){"use strict";n.d(t,{JF:function(){return i},am:function(){return r},bG:function(){return a},uP:function(){return o}});const r=()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,a=()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,o=(e,t)=>{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=>{document.fullscreenElement||(document.removeEventListener("fullscreenchange",e),t())};document.addEventListener("fullscreenchange",e)}},i=()=>(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},74240:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);const a=window&&window.Element&&window.Element.prototype.hasOwnProperty("attachShadow");function o(e){let{enabled:t,delegatesFocus:n=!1,mode:o="open",globalStyleElements:s=[],adoptedStyleSheets:l=null,mountOnElement:c=null,children:u}=e;const[p,d]=(0,r.useState)(null),m=c||p,[h,f]=(0,r.useState)(null),g="string"==typeof s?[...document.querySelectorAll(s)]:s,b=a&&t&&g.length>0,v=(0,r.useCallback)((e=>{null!==e&&d(e.parentNode)}),[]);if((0,r.useEffect)((()=>{if(!m)return;if(m.shadowRoot)return void f(m.shadowRoot);const e=m.attachShadow({delegatesFocus:n,mode:o});l&&(e.adoptedStyleSheets=l),f(e)}),[m]),b&&!h)return c?null:(0,r.createElement)("span",{ref:v});const k=(0,r.createElement)(r.Fragment,null,b&&(0,r.createElement)(i,{globalStyleElements:g}),u);return b?(0,r.createPortal)(k,h):k}function i(e){let{globalStyleElements:t}=e;return(0,r.createElement)(r.Fragment,null,t.map(((e,t)=>{let{id:n,tagName:a,attributes:o,innerHTML:i}=e;return"LINK"===a?(0,r.createElement)("link",{key:n||t,id:n,rel:o.rel.value,href:o.href.value}):"STYLE"===a?(0,r.createElement)("style",{key:n||t,id:n},i):void 0})))}},64930:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{const t=(0,r.useRef)(),n=(0,r.useRef)(),a=(0,r.useRef)(e),o=(0,r.useCallback)((e=>{e.touches&&1===e.touches.length&&e.preventDefault()}),[]);return(0,r.useEffect)((()=>{a.current=e}),[e]),{onTouchStart:(0,r.useCallback)((e=>{e.target&&(e.target.addEventListener("touchend",o,{passive:!1}),n.current=e.target),t.current=setTimeout((()=>{a.current&&a.current(!0),t.current=null}),200)}),[]),onTouchEnd:(0,r.useCallback)((e=>{t.current?clearTimeout(t.current):(a.current&&a.current(!1),e.stopPropagation()),n.current&&n.current.removeEventListener("touchend",o)}),[])}}},3065:function(e,t,n){"use strict";async function r(e){const t=e.tagName.toLowerCase();if("img"===t){if(e.complete)return;await new Promise((t=>{e.addEventListener("load",t,{once:!0})}))}else if("video"===t||"audio"===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise((t=>{e.addEventListener("canplaythrough",t,{once:!0}),e.addEventListener("load",t,{once:!0}),e.HAVE_NOTHING===e.readyState&&e.networkState!==e.NETWORK_LOADING&&e.load()}))}}n.d(t,{Z:function(){return r}})},89082:function(e,t,n){"use strict";n.d(t,{BM:function(){return s},i1:function(){return l}});var r=n(92819);const a=new Set(["alert","status","log","marquee","timer"]);let o=[],i=!1;function s(e){if(i)return;const t=document.body.children;(0,r.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||a.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),o.push(t))})),i=!0}function l(){i&&((0,r.forEach)(o,(e=>{e.removeAttribute("aria-hidden")})),o=[],i=!1)}},43520:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(39630),o=n(94333);function i(e){let{overlayClassName:t,children:n,className:i,focusOnMount:s,shouldCloseOnEsc:l=!0,onRequestClose:c,onKeyDown:u,modalRef:p}=e;const d=(0,o.useFocusOnMount)(s),m=(0,o.useConstrainedTabbing)(),h=(0,o.useFocusReturn)();return(0,r.createElement)("div",{className:t,onKeyDown:function(e){l&&e.keyCode===a.ESCAPE&&(e.stopPropagation(),c&&c(e)),e.target&&"button"===e.target.tagName.toLowerCase()&&e.keyCode===a.SPACE||u&&u(e)}},(0,r.createElement)("div",{className:i,ref:(0,o.useMergeRefs)([m,h,d,p])},n))}},7449:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(94333),s=n(74240),l=n(43520),c=n(89082);let u,p=0;const d=()=>{};class m extends o.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){p++,1===p&&this.openFirstModal()}componentWillUnmount(){p--,0===p&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){u||(u=document.createElement("div"),document.body.appendChild(u)),this.node=document.createElement("div"),u.appendChild(this.node),this.node.ontouchstart=d,this.node.ontouchend=d}cleanDOM(){u.removeChild(this.node)}openFirstModal(){c.BM(u)}closeLastModal(){c.i1()}render(){const{children:e,isOpened:t,shadowDOM:n,...r}=this.props;return(0,o.createElement)(s.Z,a()({},n,{mountOnElement:this.node}),t&&(0,o.createElement)(l.Z,r,e))}}m.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0},t.Z=(0,i.withInstanceId)(m)},75096:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92819),c=n(11313),u=n(94333),p=n(65736),d=n(9818),m=n(63408),h=n(66512),f=n(68440),g=n(69835),b=n(64930);const __=p.__;function v(e){let{id:t,slides:n,metadata:r,disabled:i}=e;const{setFullscreen:p,setEnded:v,setPlaying:k,setMuted:y,showSlide:E}=(0,d.useDispatch)("jetpack/story/player"),{playing:w,muted:_,currentSlideIndex:C,currentSlideEnded:j,ended:S,fullscreen:x,settings:P}=(0,d.useSelect)((e=>{const{getCurrentSlideIndex:n,getSettings:r,hasCurrentSlideEnded:a,hasEnded:o,isFullscreen:i,isMuted:s,isPlaying:l}=e("jetpack/story/player");return{playing:l(t),muted:s(t),currentSlideIndex:n(t),currentSlideEnded:a(t),ended:o(t),fullscreen:i(t),settings:r(t)}}),[t]),T=(0,o.useRef)(),[N,A]=(0,o.useState)(null),[I,{width:M,height:B}]=(0,u.useResizeObserver)(),[R,L]=(0,o.useState)(P.defaultAspectRatio),Z=(0,l.some)(n,(e=>(0,c.isBlobURL)(e.url))),D=e=>{E(t,e)},F=(0,o.useCallback)((()=>{i||x||P.playInFullscreen&&!w&&k(t,!0)}),[w,i,x]),{onTouchStart:O,onTouchEnd:z}=(0,b.Z)((e=>{k(t,!e)}),[]),U=(0,o.useCallback)((()=>{C>0&&D(C-1)}),[C]),$=(0,o.useCallback)((()=>{C<n.length-1?D(C+1):v(t)}),[C,n]),V=(0,o.useCallback)((()=>{p(t,!1)}),[]);let G,H;return(0,o.useEffect)((()=>{i&&w&&k(t,!1)}),[i,w]),(0,o.useEffect)((()=>{w&&j&&$()}),[w,j]),(0,o.useLayoutEffect)((()=>{if(!T.current)return;let e=Math.round(P.defaultAspectRatio*T.current.offsetHeight);x&&(e=Math.abs(1-e/M)<P.cropUpTo?M:e),A(e)}),[M,B,x]),(0,o.useLayoutEffect)((()=>{N&&T.current&&T.current.offsetHeight>0&&L(N/T.current.offsetHeight)}),[N]),G=x?[__("You are currently playing a story.","jetpack"),w?__("Press space to pause.","jetpack"):__("Press space to play.","jetpack",0),__("Press escape to exit.","jetpack")].join(" "):__("Play story","jetpack"),H=i?"presentation":x?"dialog":"button",(0,o.createElement)("div",{className:"wp-story-display-contents"},I,(0,o.createElement)("div",{role:H,"aria-label":G,tabIndex:x?-1:0,className:s()("wp-story-container",{"wp-story-with-controls":!i&&!x&&!P.playInFullscreen,"wp-story-fullscreen":x,"wp-story-ended":S,"wp-story-disabled":i,"wp-story-clickable":!i&&!x}),style:{maxWidth:`${N}px`},onClick:F,onTouchStart:O,onTouchEnd:z},(0,o.createElement)(g.h4,a()({},r,{fullscreen:x,onExitFullscreen:V})),(0,o.createElement)("div",{ref:T,className:"wp-story-wrapper"},n.map(((e,n)=>(0,o.createElement)(m.Z,{playerId:t,key:n,media:e,index:n,playing:!i&&w,uploading:Z,settings:P,targetAspectRatio:R})))),(0,o.createElement)(g.aV,{icon:h.Z,slideCount:n.length,showSlideCount:P.showSlideCount,ended:S,hasPrevious:C>0,onPreviousSlide:U,onNextSlide:$}),P.showProgressBar&&(0,o.createElement)(f.ZP,{playerId:t,slides:n,disabled:!x,onSlideSeek:D,maxBullets:x?P.maxBulletsFullscreen:P.maxBullets}),(0,o.createElement)(g.ZX,{playing:w,muted:_,onPlayPressed:()=>k(t,!w),onMutePressed:()=>y(t,!_),showMute:(e=>{const t=e<n.length?n[e]:null;return!!t&&("video"===t.type||(t.mime||"").startsWith("video/"))})(C)})),x&&(0,o.createElement)(g.Aq,{currentMedia:P.blurredBackground&&n.length>C&&n[C]}))}},68440:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(69835),i=n(9818);const s=e=>{let{key:t,playerId:n,index:a,disabled:s,isSelected:l,onClick:c}=e;const u=(0,i.useSelect)((e=>e("jetpack/story/player").getCurrentSlideProgressPercentage(n)),[]);return(0,r.createElement)(o.gT,{key:t,index:a,progress:u,disabled:s,isSelected:l,onClick:c})};t.ZP=e=>{let{playerId:t,slides:n,disabled:l,onSlideSeek:c,maxBullets:u}=e;const{currentSlideIndex:p}=(0,i.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t)})),[]),d=Math.min(n.length,u),m=Math.floor(d/2);let h,f=0,g=n.length-1;return n.length<=u||p<m?(h=p,g=d-1):p>=n.length-m?(h=p-n.length+d,f=n.length-d):(h=m,f=p-m,g=p+m),(0,r.createElement)("div",{className:"wp-story-pagination wp-story-pagination-bullets",role:"tablist"},f>0&&(0,r.createElement)(o.gT,{key:"bullet-0",index:f-1,progress:100,isEllipsis:!0}),(0,a.range)(1,d+1).map(((e,n)=>{const a=n+f;let i=null;if(a<p)i=100;else{if(!(a>p))return(0,r.createElement)(s,{playerId:t,key:`bullet-${n}`,index:a,disabled:l,isSelected:h===n,onClick:()=>c(a)});i=0}return(0,r.createElement)(o.gT,{key:`bullet-${n}`,index:a,progress:i,disabled:l,isSelected:h===n,onClick:()=>c(a)})})),g<n.length-1&&(0,r.createElement)(o.gT,{key:`bullet-${d+1}`,index:g+1,progress:0,isEllipsis:!0}))}},63408:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(3065),s=n(65235),l=n.n(s),c=n(9818),u=n(69835);t.Z=e=>{let{playerId:t,media:n,index:r,playing:s,uploading:p,settings:d,targetAspectRatio:m}=e;const{currentSlideIndex:h,buffering:f}=(0,c.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t),buffering:e("jetpack/story/player").isBuffering(t)})),[]),{slideReady:g}=(0,c.useDispatch)("jetpack/story/player"),b=r===h,v=(0,o.useRef)(null),[k,y]=(0,o.useState)(!1),[E,w]=(0,o.useState)(!0);return(0,o.useEffect)((()=>{if(b&&!E){const e=v.current&&v.current.src&&"video"===v.current.tagName.toLowerCase()?v.current:null;g(t,v.current,e?e.duration:d.imageTime)}}),[b,E]),(0,o.useEffect)((()=>{r<=h+(s?1:0)&&y(!0)}),[s,h]),(0,o.useLayoutEffect)((()=>{v.current&&(0,i.Z)(v.current).then((()=>{w(!1)}))}),[k,p]),(0,o.createElement)(o.Fragment,null,b&&(E||p||f)&&(0,o.createElement)("div",{className:l()("wp-story-slide","is-loading",{transparent:s&&f,"semi-transparent":p||!s&&f})},(0,o.createElement)(u.WB,null)),(0,o.createElement)("div",{role:"figure",className:"wp-story-slide",style:{display:b&&!E?"block":"none"},tabIndex:b?0:-1},k&&(0,o.createElement)(u.pU,a()({},n,{targetAspectRatio:m,cropUpTo:d.cropUpTo,index:r,mediaRef:v}))))}},29154:function(e,t,n){"use strict";function r(e,t){return{type:"SET_MUTED",value:t,playerId:e}}function a(e,t){return{type:"SET_PLAYING",value:t,playerId:e}}function o(e,t){return{type:"SHOW_SLIDE",index:t,playerId:e}}function i(e,t,n){return{type:"SLIDE_READY",mediaElement:t,duration:n,playerId:e}}function s(e,t){return{type:"SET_CURRENT_SLIDE_PROGRESS",value:t,playerId:e}}function l(e){return{type:"RESET_CURRENT_SLIDE_PROGRESS",playerId:e}}function c(e){return{type:"SET_CURRENT_SLIDE_ENDED",playerId:e}}function u(e,t){return{type:"SET_FULLSCREEN",playerId:e,fullscreen:t}}function p(e){return{type:"ENDED",playerId:e}}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"INIT",playerId:e,settings:t}}function m(e,t){return{type:"SET_BUFFERING",value:t,playerId:e}}n.r(t),n.d(t,{init:function(){return d},resetCurrentSlideProgress:function(){return l},setBuffering:function(){return m},setCurrentSlideEnded:function(){return c},setCurrentSlideProgress:function(){return s},setEnded:function(){return p},setFullscreen:function(){return u},setMuted:function(){return r},setPlaying:function(){return a},showSlide:function(){return o},slideReady:function(){return i}})},17380:function(e,t,n){"use strict";n.d(t,{H2:function(){return o},Qz:function(){return a},XO:function(){return r}});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},a={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},o={slideCount:0,currentSlide:a,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:"open",globalStyleElements:'#jetpack-block-story-css, link[href*="jetpack/_inc/blocks/story/view.css"]'},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},78733:function(e,t,n){"use strict";var r=n(29154),a=n(20876);const o=e=>e&&e.src&&"video"===e.tagName.toLowerCase();function i(e,t){const{getState:n}=t,r=e.playerId,i=(0,a.isMuted)(n(),r),s=(0,a.isPlaying)(n(),r),l=(0,a.getCurrentMediaElement)(n(),r),c=(0,a.getPreviousSlideMediaElement)(n(),r),u=(0,a.getSettings)(n(),r);o(c)&&(c.currentTime=0,c.onwaiting=null,c.onplaying=null,c.pause()),o(l)&&(i!==l.muted&&(l.muted=i,i||(l.volume=u.volume)),s?l.play():l.pause())}function s(e,t){const{getState:n,dispatch:i}=t,l=e.playerId,c=(0,a.isCurrentSlideReady)(n(),l),u=(0,a.isPlaying)(n(),l),p=(0,a.getCurrentSlideProgress)(n(),l);if(clearTimeout(p.timeout),!u||!c)return void(p.lastUpdate&&i((0,r.setCurrentSlideProgress)(l,{...p,lastUpdate:null})));const d=(0,a.getCurrentMediaElement)(n(),l),m=(0,a.getCurrentMediaDuration)(n(),l),h=p.lastUpdate?Date.now()-p.lastUpdate:100,f=o(d)?d.currentTime:p.currentTime+h/1e3;if(f>=m){i((0,r.setCurrentSlideEnded)(l));const e=(0,a.getSlideCount)(n(),l);(0,a.getCurrentSlideIndex)(n(),l)===e-1&&i((0,r.setEnded)(l))}else i((0,r.setCurrentSlideProgress)(l,{timeout:setTimeout((()=>s(e,t)),100),lastUpdate:Date.now(),duration:m,currentTime:f}))}t.Z={SET_PLAYING:[s,i],SLIDE_READY:[function(e,t){const{getState:n,dispatch:i}=t,s=e.playerId,l=(0,a.getCurrentMediaElement)(n(),s);if(!o(l))return;const c=(0,a.getCurrentSlideProgress)(n(),s);0===l.currentTime&&c.currentTime>0&&(l.currentTime=c.currentTime),l.onwaiting=()=>i((0,r.setBuffering)(s,!0)),l.onplaying=()=>i((0,r.setBuffering)(s,!1))},s,i],SET_MUTED:i,SHOW_SLIDE:i}},31179:function(e,t,n){"use strict";var r=n(9818),a=n(29154),o=n(20876),i=n(74787),s=n(13498);const l=(0,r.registerStore)("jetpack/story/player",{actions:a,reducer:s.Z,selectors:o});(0,i.Z)(l)},74787:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(24274),a=n.n(r),o=n(92819),i=n(78733);function s(e){const t=[a()(i.Z)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},13498:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(17380);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.H2,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_SLIDE":{const n=e.currentSlide===t.index+1;return{...e,currentSlide:{...a.Qz,index:t.index},previousSlide:e.currentSlide,playing:n?e.settings.playOnNextSlide:e.playing}}case"SLIDE_READY":return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case"SET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case"SET_CURRENT_SLIDE_ENDED":return{...e,currentSlide:{...e.currentSlide,ended:!0}};case"RESET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:{...a.XO}}};case"SET_MUTED":return{...e,muted:t.value};case"SET_PLAYING":{const n=t.value&&e.ended;return{...e,playing:t.value,buffering:!!t.value&&e.buffering,fullscreen:!e.playing&&t.value?e.settings.playInFullscreen:e.fullscreen,ended:!n&&e.ended,currentSlide:n?{...a.Qz,index:0}:e.currentSlide,previousSlide:n?null:e.previousSlide}}case"SET_BUFFERING":return{...e,buffering:t.value};case"SET_FULLSCREEN":return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&&!t.fullscreen&&e.settings.playInFullscreen)&&e.playing};case"INIT":{const n=(0,r.merge)({},e.settings,t.settings);return{...e,settings:n,playing:n.playOnLoad,fullscreen:n.loadInFullscreen}}case"ENDED":return{...e,currentSlide:{...a.Qz,index:e.settings.slideCount-1,progress:{...a.XO,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.playerId?{...e,[t.playerId]:o(e[t.playerId],t)}:e}},20876:function(e,t,n){"use strict";function r(e,t){return!!e[t]}function a(e,t){return e[t].currentSlide.index}function o(e,t){return e[t].currentSlide.progress}function i(e,t){const n=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,a=Math.round(100*n/r);return a>=100?100:a}function s(e,t){return e[t].playing}function l(e,t){return e[t].muted}function c(e,t){return e[t].buffering}function u(e,t){return e[t].currentSlide.mediaElement}function p(e,t){return e[t].currentSlide.duration}function d(e,t){return e[t].currentSlide.ended}function m(e,t){return e[t].currentSlide.ready}function h(e,t){var n;return null===(n=e[t].previousSlide)||void 0===n?void 0:n.mediaElement}function f(e,t){return e[t].fullscreen}function g(e,t){return e[t].ended}function b(e,t){return e[t].settings}function v(e,t){return e[t].settings.slideCount}n.r(t),n.d(t,{getCurrentMediaDuration:function(){return p},getCurrentMediaElement:function(){return u},getCurrentSlideIndex:function(){return a},getCurrentSlideProgress:function(){return o},getCurrentSlideProgressPercentage:function(){return i},getPreviousSlideMediaElement:function(){return h},getSettings:function(){return b},getSlideCount:function(){return v},hasCurrentSlideEnded:function(){return d},hasEnded:function(){return g},isBuffering:function(){return c},isCurrentSlideReady:function(){return m},isFullscreen:function(){return f},isMuted:function(){return l},isPlayerReady:function(){return r},isPlaying:function(){return s}})},29143:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:o()("wp-story",t)})}},95494:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(86989),a=n.n(r);function o(e,t){return a()({path:"/wpcom/v2/subscribers/count"}).then((n=>{n.hasOwnProperty("count")?e(n.count):t()}))}},62924:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Type your email…","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"},successMessage:{type:"string",default:__("Success! An email was just sent to confirm your subscription. Please find the email now and click 'Confirm Follow' to start subscribing.","jetpack")}}},58841:function(e,t,n){"use strict";n.d(t,{FP:function(){return h},G0:function(){return r},Gp:function(){return a},HE:function(){return p},K3:function(){return s},S9:function(){return o},Tr:function(){return d},VF:function(){return i},XJ:function(){return l},bK:function(){return u},pC:function(){return m},tm:function(){return f},xV:function(){return c}});const r=0,a=50,o=0,i=0,s=15,l=1,c=5,u=50,p=15,d=0,m=50,h=10,f="16px"},57532:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(13419),l=n(34904),c=n(91947),u=n(58841);const __=a.__,_n=a._n;function p(e){let{buttonBackgroundColor:t,borderColor:n,buttonGradient:p,borderRadius:d,borderWeight:m,buttonOnNewLine:h,emailFieldBackgroundColor:f,fallbackButtonBackgroundColor:g,fallbackTextColor:b,fontSize:v,isGradientAvailable:k,padding:y,setAttributes:E,setBorderColor:w,setButtonBackgroundColor:_,setTextColor:C,showSubscribersTotal:j,spacing:S,subscriberCount:x,textColor:P,buttonWidth:T,successMessage:N}=e;return(0,r.createElement)(r.Fragment,null,x>1&&(0,r.createElement)(l.Z,null,(0,r.createInterpolateElement)((0,a.sprintf)(
+/* translators: %s is the number of subscribers. The \xA0 non-breaking space is to make sure the last two words are on the same line. */
+_n("<span>%s reader</span> is subscribed.","<span>%s readers</span> are subscribed.",x,"jetpack"),x),{span:(0,r.createElement)("span",{style:{textDecoration:"underline"}})})),k&&(0,r.createElement)(i.__experimentalPanelColorGradientSettings,{title:__("Color","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",settings:[{colorValue:t.color,onColorChange:_,gradientValue:p.gradientValue,onGradientChange:p.setGradient,label:__("Button Background","jetpack")},{colorValue:P.color,onColorChange:C,label:__("Button Text","jetpack")},{colorValue:n.color,onColorChange:w,label:__("Border","jetpack")}],initialOpen:!0},(0,r.createElement)(i.ContrastChecker,{fontSize:v.size,textColor:P.color,backgroundColor:f.color,fallbackButtonBackgroundColor:g,fallbackTextColor:b})),!k&&(0,r.createElement)(i.PanelColorSettings,{title:__("Background Colors","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",colorSettings:[{value:t.color,onChange:_,label:__("Button Background Color","jetpack")},{value:P.color,onChange:C,label:__("Button Text Color","jetpack")},{value:n.color,onColorChange:w,label:__("Border Color","jetpack")}],initialOpen:!1},(0,r.createElement)(i.ContrastChecker,{fontSize:v.size,textColor:P.color,backgroundColor:f.color,fallbackButtonBackgroundColor:g,fallbackTextColor:b})),(0,r.createElement)(o.PanelBody,{title:__("Typography","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__textpanel"},(0,r.createElement)(i.FontSizePicker,{withSlider:!0,value:v.size,onChange:e=>{const t=e||u.tm;E({fontSize:t,customFontSize:t})}})),(0,r.createElement)(o.PanelBody,{title:__("Border","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__borderpanel"},(0,r.createElement)(o.RangeControl,{value:d,label:__("Border Radius","jetpack"),min:u.G0,max:u.Gp,initialPosition:u.S9,allowReset:!0,onChange:e=>E({borderRadius:e})}),(0,r.createElement)(o.RangeControl,{value:m,label:__("Border Weight","jetpack"),min:u.VF,max:u.K3,initialPosition:u.XJ,allowReset:!0,onChange:e=>E({borderWeight:e})})),(0,r.createElement)(o.PanelBody,{title:__("Spacing","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__spacingpanel"},(0,r.createElement)(o.RangeControl,{value:y,label:__("Space Inside","jetpack"),min:u.xV,max:u.bK,initialPosition:u.HE,allowReset:!0,onChange:e=>E({padding:e})}),(0,r.createElement)(o.RangeControl,{value:S,label:__("Space Between","jetpack"),min:u.Tr,max:u.pC,initialPosition:u.FP,allowReset:!0,onChange:e=>E({spacing:e})}),(0,r.createElement)(c.h,{width:T,onChange:e=>E({buttonWidth:e})})),(0,r.createElement)(o.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__displaypanel"},(0,r.createElement)(o.ToggleControl,{label:__("Show subscriber count","jetpack"),checked:j,onChange:()=>{E({showSubscribersTotal:!j})},help:()=>{if(!x||x<1)return __("This will remain hidden until there is at least one subscriber.","jetpack")}}),(0,r.createElement)(o.ToggleControl,{label:__("Place button on new line","jetpack"),checked:h,onChange:()=>{E({buttonOnNewLine:!h})}}),!(0,s.Wp)()&&(0,r.createElement)(o.TextareaControl,{value:N,label:__("Success message","jetpack"),help:__("Edit the message displayed when a user subscribes.","jetpack"),onChange:e=>E({successMessage:e})})))}},2916:function(e,t,n){"use strict";var r=n(75623),a=n(45097),o=n(20121),i=n(76609),s=n(11689),l=n(79024);t.Z=[l.Z,s.Z,i.Z,o.Z,a.Z,r.Z]},75623:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(92819);const __=a.__;t.Z={attributes:{subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:e=>({submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal}),isEligible:e=>!(!e.hasOwnProperty("subscribeButton")||!(0,o.isEmpty)(e.subscribeButton)),save:function(e){let{attributes:t}=e;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_subscribers_total="${t.showSubscribersTotal}" show_only_email_and_button="true"]`)}}},45097:function(e,t,n){"use strict";var r=n(65736),a=n(65534);const __=r.__;t.Z={attributes:{subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},migrate:e=>({subscribePlaceholder:e.subscribePlaceholder,showSubscribersTotal:e.showSubscribersTotal,buttonOnNewLine:!0,submitButtonText:e.submitButtonText,buttonBackgroundColor:e.backgroundButtonColor?e.backgroundButtonColor:"primary",customButtonBackgroundColor:e.customBackgroundButtonColor,textColor:e.textButtonColor?e.textButtonColor:"background",customTextColor:e.customTextButtonColor}),save:a.Z}},65534:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{showSubscribersTotal:n,submitButtonClasses:a,customBackgroundButtonColor:o,customTextButtonColor:i,submitButtonText:s}=t;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="${o}" custom_text_button_color="${i}" submit_button_text="${s}" submit_button_classes="${a}" show_subscribers_total="${n}" ]`)}},20084:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Enter your email address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Sign Up","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"number"},customFontSize:{type:"number"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},60293:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(20084);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const{subscribePlaceholder:o,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:p,customEmailFieldBackgroundColor:d,emailFieldGradient:m,customEmailFieldGradient:h,buttonBackgroundColor:f,customButtonBackgroundColor:g,buttonGradient:b,customButtonGradient:v,textColor:k,customTextColor:y,fontSize:E,customFontSize:w,borderRadius:_,borderWeight:C,borderColor:j,customBorderColor:S,padding:x,spacing:P}=t,T=!!a.__experimentalGetGradientClass,N=(0,a.getColorClassName)("color",k),A=(0,a.getFontSizeClass)(E),I=(0,a.getColorClassName)("border-color",j),M=(0,a.getColorClassName)("background-color",f),B=T?(0,a.__experimentalGetGradientClass)(b):void 0,R=(0,a.getColorClassName)("background-color",p),L=T?(0,a.__experimentalGetGradientClass)(m):void 0,Z=i()(0===_?"no-border-radius":void 0,A,I),D=i()(Z,k?"has-text-color":void 0,N,f||b?"has-background":void 0,M,B),F=i()(Z,R,L),O=!R&&h?h:d,z=!M&&v?v:g,U=()=>i()(e,"wp-block-jetpack-subscriptions__supports-newline",c?"wp-block-jetpack-subscriptions__use-newline":void 0,l?"wp-block-jetpack-subscriptions__show-subs":void 0);let $=o,V=u;return"check-text-defaults"===n&&($=o===s.Z.subscribePlaceholder.default?"Enter your email address":o,V=u===s.Z.submitButtonText.default?"Sign Up":u),(0,r.createElement)("div",{className:U()},(0,r.createElement)(r.RawHTML,null,`\n\t\t\t[jetpack_subscription_form\n\t\t\t\tsubscribe_placeholder="${$}"\n\t\t\t\tshow_subscribers_total="${l}"\n\t\t\t\tbutton_on_newline="${c}"\n\t\t\t\tsubmit_button_text="${V}"\n\t\t\t\tcustom_background_emailfield_color="${O}"\n\t\t\t\tcustom_background_button_color="${z}"\n\t\t\t\tcustom_text_button_color="${y}"\n\t\t\t\tcustom_font_size="${w||16}"\n\t\t\t\tcustom_border_radius="${_||0}"\n\t\t\t\tcustom_border_weight="${C||1}"\n\t\t\t\tcustom_border_color="${S}"\n\t\t\t\tcustom_padding="${x||15}"\n\t\t\t\tcustom_spacing="${P||10}"\n\t\t\t\tsubmit_button_classes="${D}"\n\t\t\t\temail_field_classes="${F}"\n\t\t\t\tshow_only_email_and_button="true"\n\t\t\t]`))}},20121:function(e,t,n){"use strict";var r=n(20084),a=n(60293);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n)}}},76609:function(e,t,n){"use strict";var r=n(20084),a=n(60293);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n,"check-text-defaults")}}},11689:function(e,t,n){"use strict";var r=n(20084),a=n(92167);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:a.ZP}},92167:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(92819),l=n(20084);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:j,borderColor:S,customBorderColor:x,padding:P,spacing:T}=n,N=!!a.__experimentalGetGradientClass,A=(0,a.getColorClassName)("color",y),I=(0,a.getFontSizeClass)(w),M=(0,a.getColorClassName)("border-color",S),B=(0,a.getColorClassName)("background-color",g),R=N?(0,a.__experimentalGetGradientClass)(v):void 0,L=(0,a.getColorClassName)("background-color",d),Z=N?(0,a.__experimentalGetGradientClass)(h):void 0,D=i()(0===C?"no-border-radius":void 0,I,M),F=i()(D,y?"has-text-color":void 0,A,g||v?"has-background":void 0,B,R),O=i()(D,L,Z),z=!L&&f?f:m,U=!B&&k?k:b,$={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:z,custom_background_button_color:U,custom_text_button_color:E,custom_font_size:_||16,custom_border_radius:C||0,custom_border_weight:j||1,custom_border_color:x,custom_padding:P||15,custom_spacing:T||10,submit_button_classes:F,email_field_classes:O,show_only_email_and_button:!0},V=(0,s.reduce)($,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${V}]`))}},29053:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},79024:function(e,t,n){"use strict";var r=n(29053),a=n(62788);t.Z={attributes:r.Z,save:a.Z}},62788:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(92819),l=n(29053);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:j,borderColor:S,customBorderColor:x,padding:P,spacing:T,buttonWidth:N}=n,A=!!a.__experimentalGetGradientClass,I=(0,a.getColorClassName)("color",y),M=(0,a.getFontSizeClass)(w),B=(0,a.getColorClassName)("border-color",S),R=(0,a.getColorClassName)("background-color",g),L=A?(0,a.__experimentalGetGradientClass)(v):void 0,Z=(0,a.getColorClassName)("background-color",d),D=A?(0,a.__experimentalGetGradientClass)(h):void 0,F=i()(0===C?"no-border-radius":void 0,M,B),O=i()(F,y?"has-text-color":void 0,I,g||v?"has-background":void 0,R,L),z=i()(F,Z,D),U=!Z&&f?f:m,$=!R&&k?k:b,V=N||void 0,G={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:U,custom_background_button_color:$,custom_text_button_color:E,custom_font_size:_||"16px",custom_border_radius:C||0,custom_border_weight:j||1,custom_border_color:x,custom_button_width:V,custom_padding:P||15,custom_spacing:T||10,submit_button_classes:O,email_field_classes:z,show_only_email_and_button:!0},H=(0,s.reduce)(G,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${H}]`))}},99343:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(65736),l=n(55609),c=n(52175),u=n(94333),p=n(95494),d=n(62924),m=n(4554),h=n(58841),f=n(57532);const __=s.__,_n=s._n,{getComputedStyle:g}=window,b=!!c.__experimentalUseGradient,v=(0,l.withFallbackStyles)(((e,t)=>{const{buttonBackgroundColor:n,textColor:r}=t,a=n&&n.color,o=r&&r.color,i=e.querySelector(".wp-block-jetpack-subscriptions__button");return{fallbackButtonBackgroundColor:a||!e?void 0:i&&g(i).backgroundColor,fallbackTextColor:o||!e?void 0:i&&g(i).color}}));t.Z=(0,u.compose)([(0,c.withColors)({emailFieldBackgroundColor:"backgroundColor"},{buttonBackgroundColor:"backgroundColor"},{textColor:"color"},"borderColor"),(0,c.withFontSizes)("fontSize"),v])((function(e){const{className:t,attributes:n,setAttributes:a,emailFieldBackgroundColor:g,buttonBackgroundColor:v,setButtonBackgroundColor:k,fallbackButtonBackgroundColor:y,textColor:E,fallbackTextColor:w,setTextColor:_,borderColor:C,setBorderColor:j,fontSize:S}=e,x=(0,m.S)(d.Z,n);(0,i.isEqual)(x,n)||a(x);const{borderRadius:P,borderWeight:T,buttonWidth:N,padding:A,spacing:I,submitButtonText:M,subscribePlaceholder:B,showSubscribersTotal:R,buttonOnNewLine:L,successMessage:Z}=x,[D,F]=(0,r.useState)(""),[O,z]=(0,r.useState)(""),U=b?(0,c.__experimentalUseGradient)({gradientAttribute:"emailFieldGradient",customGradientAttribute:"customEmailFieldGradient"}):{},$=b?(0,c.__experimentalUseGradient)({gradientAttribute:"buttonGradient",customGradientAttribute:"customButtonGradient"}):{},V={"no-border-radius":0===P,[S.class]:S.class,"has-text-color":E.color,[E.class]:E.class},G={...V,"has-background":g.color||U.gradientValue,[g.class]:!U.gradientValue&&g.class,[U.gradientClass]:U.gradientClass},H={...V,"has-background":v.color||$.gradientValue,[v.class]:!$.gradientValue&&v.class,[$.gradientClass]:$.gradientClass},q=e=>e||h.FP,W={color:E.color,borderColor:C.color,borderRadius:P?P+"px":h.S9+"px",borderWidth:T?T+"px":h.XJ+"px",fontSize:S.size?S.size:h.tm,padding:(e=>{const t=e||h.HE;return t+"px "+Math.round(1.5*t)+"px "+t+"px "+Math.round(1.5*t)+"px"})(A)},K={...W,...!g.color&&U.gradientValue?{background:U.gradientValue}:{backgroundColor:g.color}},X={...W,...!v.color&&$.gradientValue?{background:$.gradientValue}:{backgroundColor:v.color},...L?{marginTop:q(I)+"px"}:{marginLeft:q(I)+"px"},width:N};(0,r.useEffect)((()=>{(0,p.z)((e=>{F((0,s.sprintf)(
/* translators: Placeholder is a number of subscribers. */
-_n("Join %s other subscriber","Join %s other subscribers",e.count,"jetpack"),e.count)),D(e.count)):(Z(__("Subscriber count unavailable","jetpack")),D(0))}))}),[]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p.InspectorControls,null,(0,r.createElement)(g.Z,{buttonBackgroundColor:d,borderColor:_,buttonGradient:z,borderRadius:S,borderWeight:x,buttonOnNewLine:B,emailFieldBackgroundColor:s,fallbackButtonBackgroundColor:k,fallbackTextColor:E,fontSize:C,isGradientAvailable:v,padding:N,setAttributes:a,setButtonBackgroundColor:b,setTextColor:w,showSubscribersTotal:M,spacing:P,subscriberCount:F,textColor:y,buttonWidth:T,successMessage:R})),(0,r.createElement)("div",{className:o()(t,"wp-block-jetpack-subscriptions__supports-newline",B?"wp-block-jetpack-subscriptions__use-newline":void 0,M?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)("div",{className:"wp-block-jetpack-subscriptions__form",role:"form"},(0,r.createElement)(u.TextControl,{placeholder:I,disabled:!0,className:o()($,"wp-block-jetpack-subscriptions__textfield"),style:H}),(0,r.createElement)(p.RichText,{className:o()(V,"wp-block-jetpack-subscriptions__button","wp-block-button__link"),onChange:e=>a({submitButtonText:e}),style:W,value:A,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"]})),M&&(0,r.createElement)("p",{className:"wp-block-jetpack-subscriptions__subscount"},L)))}))},57211:function(e,t,n){"use strict";n.d(t,{u2:function(){return d},Xd:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(79885),l=n(58363),c=n(73228),u=n(5321),p=n(57535);const __=a.__,_x=a._x,d="subscriptions",m=(0,r.createElement)(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Rect,{x:"4.75",y:"6.75",width:"14.5",height:"10.5",rx:"1.25",stroke:(0,p.m)(),strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(o.Path,{d:"M19 7L13.3609 12.2363C12.5935 12.9489 11.4065 12.9489 10.6391 12.2363L5 7",stroke:(0,p.m)(),strokeWidth:"1.5",strokeLinejoin:"bevel",fill:"none"})),h={title:__("Subscription Form","jetpack"),description:(0,r.createElement)("p",null,__("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:{src:m,foreground:(0,p.m)()},category:"grow",keywords:[_x("subscribe","block search term","jetpack"),_x("join","block search term","jetpack"),_x("follow","block search term","jetpack")],attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"blog_subscription"===t},transform:e=>{let{instance:t}=e;return(0,i.createBlock)("jetpack/subscriptions",{showSubscribersTotal:t.raw.show_subscribers_total,submitButtonText:t.raw.subscribe_button,subscribePlaceholder:t.raw.subscribe_placeholder,successMessage:t.raw.success_message})}}]},example:{attributes:{}},deprecated:l.Z}},5321:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(79885),c=n(87138);function u(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:u,buttonOnNewLine:p,submitButtonText:d,emailFieldBackgroundColor:m,customEmailFieldBackgroundColor:h,emailFieldGradient:f,customEmailFieldGradient:g,buttonBackgroundColor:b,customButtonBackgroundColor:v,buttonGradient:k,customButtonGradient:y,textColor:E,customTextColor:w,fontSize:_,customFontSize:C,borderRadius:j,borderWeight:S,borderColor:x,customBorderColor:T,padding:N,spacing:P,buttonWidth:A,successMessage:I}=n,M=!!a.__experimentalGetGradientClass,B=(0,a.getColorClassName)("color",E),R=(0,a.getFontSizeClass)(_),L=(0,a.getColorClassName)("border-color",x),Z=(0,a.getColorClassName)("background-color",b),F=M?(0,a.__experimentalGetGradientClass)(k):void 0,D=(0,a.getColorClassName)("background-color",m),O=M?(0,a.__experimentalGetGradientClass)(f):void 0,z=i()(0===j?"no-border-radius":void 0,R,L),U=i()(z,E?"has-text-color":void 0,B,b||k?"has-background":void 0,Z,F),$=i()(z,D,O),V=!D&&g?g:h,G=!Z&&y?y:v,q=A||void 0,H={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:u,button_on_newline:p,submit_button_text:d!==l.Z.submitButtonText.default?d:void 0,custom_background_emailfield_color:V,custom_background_button_color:G,custom_text_button_color:w,custom_font_size:C||c.tm,custom_border_radius:j||c.S9,custom_border_weight:S||c.XJ,custom_border_color:T,custom_button_width:q,custom_padding:N||c.HE,custom_spacing:P||c.FP,submit_button_classes:U,email_field_classes:$,show_only_email_and_button:!0,success_message:I},W=(0,s.reduce)(H,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",p?"wp-block-jetpack-subscriptions__use-newline":void 0,u?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${W}]`))}},28526:function(e,t,n){"use strict";n.d(t,{RA:function(){return r},q3:function(){return a},hI:function(){return o},Z5:function(){return i},GP:function(){return s},xJ:function(){return l},sw:function(){return c},EU:function(){return u},yw:function(){return p},P0:function(){return d}});const r=["image"],a=4,o=20,i=20,s=2e3,l="circle",c="columns",u="rectangular",p="square",d=[{isDefault:!0,name:u},{name:l},{name:p},{name:c}]},70132:function(e,t,n){"use strict";var r=n(25689),a=n(47330),o=n(35660);t.Z=[o,a,r]},66105:function(e,t,n){"use strict";n.d(t,{q3:function(){return r},hI:function(){return a},GP:function(){return o},EU:function(){return i},P0:function(){return s}});const r=4,a=20,o=2e3,i="rectangular",s=[{isDefault:!0,name:i},{name:"circle"},{name:"square"},{name:"columns"}]},2589:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(11313);function o(e){const{"aria-label":t,alt:n,height:o,id:i,link:s,linkTo:l,origUrl:c,url:u,width:p}=e;if((0,a.isBlobURL)(c))return null;let d;switch(l){case"media":d=u;break;case"attachment":d=s}const m=(0,r.createElement)("img",{alt:n,"aria-label":t,"data-height":o,"data-id":i,"data-link":s,"data-url":c,"data-width":p,src:u});return(0,r.createElement)("figure",{className:"tiled-gallery__item"},d?(0,r.createElement)("a",{href:d},m):m)}},25689:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return r.Z},attributes:function(){return a},support:function(){return o}});var r=n(19092);const a={align:{default:"center",type:"string"},className:{default:`is-style-${n(66105).EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},o={align:["center","wide","full"],customClassName:!1,html:!1}},43064:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},7696:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},17357:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(40278),o=n(65736),i=n(82827),s=n(11313),l=n(2589),c=n(1077),u=n(47536),p=n(66105);const __=o.__;class d extends r.Component{photonize(e){let{height:t,width:n,url:r}=e;if(!r)return;if((0,s.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;const o=r.split("?",1)[0],l=function(e){const{host:t}=(0,i.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}(r)?h:a.Z,{layoutStyle:c}=this.props;if(m(c)&&n&&t){const e=Math.min(p.GP,n,t);return l(o,{resize:`${e},${e}`})}return l(o)}renderImage(e,t){const{images:n,linkTo:a,selectedImage:i}=this.props,s=(0,o.sprintf)(
+_n("Join %s other subscriber","Join %s other subscribers",e,"jetpack"),e)),z(e)}),(()=>{F(__("Subscriber count unavailable","jetpack")),z(0)}))}),[]);const J=(0,u.usePrevious)(v);return(0,r.useEffect)((()=>{(null==J?void 0:J.color)===(null==C?void 0:C.color)&&(null==C?void 0:C.color)!==(null==v?void 0:v.color)&&j(v.color)}),[v,J,C,j]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.InspectorControls,null,(0,r.createElement)(f.Z,{buttonBackgroundColor:v,borderColor:C,buttonGradient:$,borderRadius:P,borderWeight:T,buttonOnNewLine:L,emailFieldBackgroundColor:g,fallbackButtonBackgroundColor:y,fallbackTextColor:w,fontSize:S,isGradientAvailable:b,padding:A,setAttributes:a,setBorderColor:j,setButtonBackgroundColor:k,setTextColor:_,showSubscribersTotal:R,spacing:I,subscriberCount:O,textColor:E,buttonWidth:N,successMessage:Z})),(0,r.createElement)("div",{className:o()(t,"wp-block-jetpack-subscriptions__supports-newline",L?"wp-block-jetpack-subscriptions__use-newline":void 0,R?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)("div",{className:"wp-block-jetpack-subscriptions__form",role:"form"},(0,r.createElement)(l.TextControl,{placeholder:B,disabled:!0,className:o()(G,"wp-block-jetpack-subscriptions__textfield"),style:K}),(0,r.createElement)(c.RichText,{className:o()(H,"wp-block-jetpack-subscriptions__button","wp-block-button__link"),onChange:e=>a({submitButtonText:e}),style:X,value:M,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"]})),R&&(0,r.createElement)("p",{className:"wp-block-jetpack-subscriptions__subscount"},D)))}))},30217:function(e,t,n){"use strict";n.d(t,{Xd:function(){return f},eC:function(){return g},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(62924),l=n(2916),c=n(99343),u=n(27296),p=n(79914),d=n(70355);const __=a.__,_x=a._x,m="subscriptions",h=(0,r.createElement)(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{d:"M20.9997 6.96749L21 7V17C21 18.1046 20.1046 19 19 19H5C3.89543 19 3 18.1046 3 17V7L3.00026 6.96747L3 6.96092C3 5.87793 3.87793 5 4.96092 5H19.0391C20.1221 5 21 5.87793 21 6.96092L20.9997 6.96749ZM19.3044 17.3967L13.9142 12.9048L13.2804 13.433C12.5387 14.0511 11.4613 14.0511 10.7196 13.433L10.0858 12.9048L4.69555 17.3967C4.77987 17.4615 4.88543 17.5 5 17.5H19C19.1146 17.5 19.2201 17.4615 19.3044 17.3967ZM19.5 15.6071V8.25L15.0858 11.9285L19.5 15.6071ZM4.5 8.25V15.6071L8.91424 11.9285L4.5 8.25ZM4.79543 6.54363C4.85788 6.51559 4.92712 6.5 5 6.5H19C19.0729 6.5 19.1421 6.51559 19.2046 6.54363L12.3201 12.2807C12.1347 12.4352 11.8653 12.4352 11.6799 12.2807L4.79543 6.54363Z",fill:(0,d.m)(),fillRule:"evenodd",clipRule:"evenodd"})),f={title:__("Subscribe","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Allow readers to receive a newsletter with future posts in their inbox.","jetpack")),(0,r.createElement)("p",null,(0,r.createInterpolateElement)(__("Subscribers can get notifications through email or <ExternalLink>the Reader app</ExternalLink>.","jetpack"),{ExternalLink:(0,r.createElement)(o.ExternalLink,{href:"https://wordpress.com/read"})}))),icon:{src:h,foreground:(0,d.m)()},category:"grow",keywords:[_x("newsletter","block search term","jetpack"),_x("email","block search term","jetpack"),_x("follow","block search term","jetpack")],attributes:s.Z,edit:c.Z,save:u.Z,styles:[{name:"compact",label:__("Compact","jetpack")},{name:"split",label:__("Split","jetpack"),isDefault:!0}],transforms:{from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"blog_subscription"===t},transform:e=>{let{instance:t}=e;return(0,i.createBlock)("jetpack/subscriptions",{showSubscribersTotal:t.raw.show_subscribers_total,submitButtonText:t.raw.subscribe_button,subscribePlaceholder:t.raw.subscribe_placeholder,successMessage:t.raw.success_message})}}]},example:{attributes:{}},supports:{spacing:{margin:!0,padding:!0},align:["wide","full"]},deprecated:l.Z},g={render:p.Z}},79914:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(72067),o=n(9818),i=n(12238),s=n(65736),l=n(13419),c=n(52947),u=n(95494),p=n(34904);const __=s.__,_n=s._n;function d(){const[e,t]=(0,r.useState)(null);(0,r.useEffect)((()=>{(0,u.z)((e=>t(e)))}),[]);return"post"!==(0,o.useSelect)((e=>e(i.store).getCurrentPostType()),[])||(0,l.M6)()||(0,l.aQ)()||!Number.isFinite(e)||e<=0?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PluginPrePublishPanel,{className:"jetpack-subscribe-pre-publish-panel",initialOpen:!0,title:__("Subscribers","jetpack")},(0,r.createElement)(p.Z,null,(0,r.createInterpolateElement)((0,s.sprintf)(
+/* translators: %s is the number of subscribers */
+_n("This post will be sent to <span>%s reader</span>","This post will be sent to <span>%s readers</span>",e,"jetpack"),(0,c.Z)(e)),{span:(0,r.createElement)("span",{className:"jetpack-subscribe-reader-count"})}))),(0,r.createElement)(a.PluginPostPublishPanel,{className:"jetpack-subscribe-post-publish-panel",initialOpen:!0},(0,r.createElement)(p.Z,null,(0,r.createInterpolateElement)((0,s.sprintf)(
+/* translators: %s is the number of subscribers */
+_n("This post has been sent to <span>%s reader</span>","This post has been sent to <span>%s readers</span>",e,"jetpack"),(0,c.Z)(e)),{span:(0,r.createElement)("span",{className:"jetpack-subscribe-reader-count"})}))))}},27296:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(92819),l=n(62924),c=n(58841);function u(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:u,buttonOnNewLine:p,submitButtonText:d,emailFieldBackgroundColor:m,customEmailFieldBackgroundColor:h,emailFieldGradient:f,customEmailFieldGradient:g,buttonBackgroundColor:b,customButtonBackgroundColor:v,buttonGradient:k,customButtonGradient:y,textColor:E,customTextColor:w,fontSize:_,customFontSize:C,borderRadius:j,borderWeight:S,borderColor:x,customBorderColor:P,padding:T,spacing:N,buttonWidth:A,successMessage:I}=n,M=!!a.__experimentalGetGradientClass,B=(0,a.getColorClassName)("color",E),R=(0,a.getFontSizeClass)(_),L=(0,a.getColorClassName)("border-color",x),Z=(0,a.getColorClassName)("background-color",b),D=M?(0,a.__experimentalGetGradientClass)(k):void 0,F=(0,a.getColorClassName)("background-color",m),O=M?(0,a.__experimentalGetGradientClass)(f):void 0,z=i()(0===j?"no-border-radius":void 0,R,L),U=i()(z,E?"has-text-color":void 0,B,b||k?"has-background":void 0,Z,D),$=i()(z,F,O),V=!F&&g?g:h,G=!Z&&y?y:v,H=A||void 0,q={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:u,button_on_newline:p,submit_button_text:d!==l.Z.submitButtonText.default?d:void 0,custom_background_emailfield_color:V,custom_background_button_color:G,custom_text_button_color:w,custom_font_size:C||c.tm,custom_border_radius:j||c.S9,custom_border_weight:S||c.XJ,custom_border_color:P,custom_button_width:H,custom_padding:T||c.HE,custom_spacing:N||c.FP,submit_button_classes:U,email_field_classes:$,show_only_email_and_button:!0,success_message:I},W=(0,s.reduce)(q,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",p?"wp-block-jetpack-subscriptions__use-newline":void 0,u?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${W}]`))}},3740:function(e,t,n){"use strict";n.d(t,{EU:function(){return u},GP:function(){return s},P0:function(){return d},RA:function(){return r},Z5:function(){return i},hI:function(){return o},q3:function(){return a},sw:function(){return c},xJ:function(){return l},yw:function(){return p}});const r=["image"],a=4,o=20,i=20,s=2e3,l="circle",c="columns",u="rectangular",p="square",d=[{isDefault:!0,name:u},{name:l},{name:p},{name:c}]},73463:function(e,t,n){"use strict";var r=n(76476),a=n(43125),o=n(67525);t.Z=[o,a,r]},1377:function(e,t,n){"use strict";n.d(t,{EU:function(){return i},GP:function(){return o},P0:function(){return s},hI:function(){return a},q3:function(){return r}});const r=4,a=20,o=2e3,i="rectangular",s=[{isDefault:!0,name:i},{name:"circle"},{name:"square"},{name:"columns"}]},56005:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(11313);function o(e){const{"aria-label":t,alt:n,height:o,id:i,link:s,linkTo:l,origUrl:c,url:u,width:p}=e;if((0,a.isBlobURL)(c))return null;let d;switch(l){case"media":d=u;break;case"attachment":d=s}const m=(0,r.createElement)("img",{alt:n,"aria-label":t,"data-height":o,"data-id":i,"data-link":s,"data-url":c,"data-width":p,src:u});return(0,r.createElement)("figure",{className:"tiled-gallery__item"},d?(0,r.createElement)("a",{href:d},m):m)}},76476:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return a},save:function(){return r.Z},support:function(){return o}});var r=n(91507);const a={align:{default:"center",type:"string"},className:{default:`is-style-${n(1377).EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},o={align:["center","wide","full"],customClassName:!1,html:!1}},52235:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},89754:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},15645:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(69424),o=n(65736),i=n(11313),s=n(56005),l=n(30791),c=n(79313),u=n(1377);const __=o.__;class p extends r.Component{photonize(e){let{height:t,width:n,url:r}=e;if(!r)return;if((0,i.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;const o=r.split("?",1)[0],s=function(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}(r)?m:a.Z,{layoutStyle:l}=this.props;if(d(l)&&n&&t){const e=Math.min(u.GP,n,t);return s(o,{resize:`${e},${e}`})}return s(o)}renderImage(e,t){const{images:n,linkTo:a,selectedImage:i}=this.props,l=(0,o.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,n.length);return(0,r.createElement)(l.Z,{alt:e.alt,"aria-label":s,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:i}=this.props,s=m(i)?u.Z:c.Z,l=this.props.images.map(this.renderImage,this);return(0,r.createElement)("div",{className:n},(0,r.createElement)(s,{align:e,columns:a,images:o,layoutStyle:i,renderedImages:l}),t)}}function m(e){return["circle","square"].includes(e)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:a,port:o,query:s,search:l,...c}=(0,i.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,i.WU)(c)}},1077:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),a=n.n(r),o=n(69307),i=n(54166),s=n(43064),l=n(7696),c=n(8292),u=n(37335),p=n(54794);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t;(0,u.W)(n).forEach((t=>(0,u.i)(t,e)))}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(s.Z,{key:t},n)}))))))}}},54794:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=N([P,P,A,P,P]),c=N([P,P,P,A,P,P,P]),u=T([3,1,3],5),p=N([A,P,P,A]),d=T([1,2,1],5),m=N([A,P,P,P]),h=T([1,3],3),f=N([P,P,P,A]),g=T([3,1],3),b=N([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=N([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=T([2,1],3),C=N([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function P(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},37335:function(e,t,n){"use strict";n.d(t,{i:function(){return o},W:function(){return i}});var r=n(66105);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){!function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);!function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},8292:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},47536:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(8292),i=n(43064),s=n(7696),l=n(66105);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},19092:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(17357),o=n(98085),i=n(66105);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{images:n}=t;if(!n.length)return null;const{align:l,className:c,columns:u=s(t),linkTo:p}=t;return(0,r.createElement)(a.Z,{align:l,className:c,columns:u,images:n,layoutStyle:(0,o.t)(i.P0,c),linkTo:p})}},96470:function(e,t,n){"use strict";n.d(t,{hI:function(){return r},Z5:function(){return a},GP:function(){return o},xJ:function(){return i},EU:function(){return s},P0:function(){return l}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},72285:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},47330:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return a.Z},attributes:function(){return o},supports:function(){return i}});var r=n(96470),a=n(96659);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1}},71410:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},86159:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},15515:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(72285),l=n(56556),c=n(14916),u=n(92805),p=n(96470);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,linkTo:l,layoutStyle:c,selectedImage:p}=this.props,d=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,n.length);return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":l,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:i}=this.props,s=d(i)?c.Z:l.Z,u=this.props.images.map(this.renderImage,this);return(0,r.createElement)("div",{className:n},(0,r.createElement)(s,{align:e,columns:a,images:o,layoutStyle:i,renderedImages:u}),t)}}function d(e){return["circle","square"].includes(e)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},30791:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(18294),a=n.n(r),o=n(69307),i=n(6209),s=n(52235),l=n(89754),c=n(36472),u=n(6648),p=n(6817);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t;(0,u.W)(n).forEach((t=>(0,u.i)(t,e)))}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(s.Z,{key:t},n)}))))))}}},6817:function(e,t,n){"use strict";n.d(t,{T9:function(){return j},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},6648:function(e,t,n){"use strict";n.d(t,{W:function(){return i},i:function(){return o}});var r=n(1377);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){!function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);!function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},36472:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},79313:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(36472),i=n(52235),s=n(89754),l=n(1377);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},91507:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(15645),o=n(81518),i=n(1377);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{images:n}=t;if(!n.length)return null;const{align:l,className:c,columns:u=s(t),linkTo:p}=t;return(0,r.createElement)(a.Z,{align:l,className:c,columns:u,images:n,layoutStyle:(0,o.t)(i.P0,c),linkTo:p})}},86738:function(e,t,n){"use strict";n.d(t,{EU:function(){return s},GP:function(){return o},P0:function(){return l},Z5:function(){return a},hI:function(){return r},xJ:function(){return i}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},64931:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},43125:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return o},save:function(){return a.Z},supports:function(){return i}});var r=n(86738),a=n(68405);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1}},85407:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},40195:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},73208:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(64931),l=n(84420),c=n(87178),u=n(67091),p=n(86738);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,linkTo:l,layoutStyle:c,selectedImage:p}=this.props,d=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:m,srcSet:h}=(0,u.z)(e,{layoutStyle:c});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":d,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:p===t,key:t,link:e.link,linkTo:l,origUrl:e.url,showMovers:i.length>1,srcSet:h,url:m,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d}=this.props,m=(0,u.v)(s)?c.Z:l.Z,h=this.props.images.map(this.renderImage,this),f=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${f}`]:f>0})},(0,r.createElement)(m,{align:e,columns:a,images:o,layoutStyle:s,renderedImages:h}),t)}}},56556:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27538),a=n.n(r),o=n(69307),i=n(71410),s=n(86159),l=n(8955),c=n(9972);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,u=(0,c.h9)(n),p="columns"===r?(0,c.sv)(u,t):(0,c.T9)(u,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},p.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(i.Z,{key:t},n)}))))))}}},9972:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=N([P,P,A,P,P]),c=N([P,P,P,A,P,P,P]),u=T([3,1,3],5),p=N([A,P,P,A]),d=T([1,2,1],5),m=N([A,P,P,P]),h=T([1,3],3),f=N([P,P,P,A]),g=T([3,1],3),b=N([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=N([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=T([2,1],3),C=N([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function P(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},8955:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},14916:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(8955),i=n(71410),s=n(86159),l=n(96470);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},96659:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(15515),o=n(98085),i=n(96470);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m})}},92805:function(e,t,n){"use strict";n.d(t,{v:function(){return l},z:function(){return c}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(96470);function l(e){return["circle","square"].includes(e)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:c}=e,{layoutStyle:m}=t,h=p(n)||!0===u()?d:r.Z;let f;if(l(m)&&c&&a){const e=Math.min(s.GP,c,a);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(l(m)){const e=Math.min(b,c,a),t=Math.min(s.GP,c,a);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,c),t=Math.min(s.GP,c);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function u(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function p(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},30154:function(e,t,n){"use strict";n.d(t,{hI:function(){return r},Z5:function(){return a},GP:function(){return o},xJ:function(){return i},EU:function(){return s},P0:function(){return l}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},7214:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},35660:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return a.Z},attributes:function(){return o},supports:function(){return i},migrate:function(){return s}});var r=n(30154),a=n(2387);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1},s=e=>{const t=Math.pow(10,5);return{...e,columnWidths:e.columnWidths.map((e=>e.map((e=>Math.round(e*t)/t))))}}},62940:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=Math.pow(10,12),o=Math.round(n*a)/a,i=n?{flexBasis:`${o}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:i},t)}},68742:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},62108:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(7214),l=n(34506),c=n(85185),u=n(60185),p=n(30154);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:l,linkTo:c,layoutStyle:p,onMoveBackward:d,onMoveForward:m,onRemoveImage:h,onSelectImage:f,selectedImage:g,setImageAttributes:b}=this.props,v=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:m,srcSet:h}=(0,u.z)(e,{layoutStyle:c});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":d,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:p===t,key:t,link:e.link,linkTo:l,origUrl:e.url,showMovers:i.length>1,srcSet:h,url:m,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d}=this.props,m=(0,u.v)(s)?c.Z:l.Z,h=this.props.images.map(this.renderImage,this),f=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${f}`]:f>0})},(0,r.createElement)(m,{align:e,columns:a,images:o,layoutStyle:s,renderedImages:h}),t)}}},84420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(18294),a=n.n(r),o=n(69307),i=n(85407),s=n(40195),l=n(56243),c=n(12126);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,u=(0,c.h9)(n),p="columns"===r?(0,c.sv)(u,t):(0,c.T9)(u,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},p.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(i.Z,{key:t},n)}))))))}}},12126:function(e,t,n){"use strict";n.d(t,{T9:function(){return j},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},56243:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},87178:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(56243),i=n(85407),s=n(40195),l=n(86738);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},68405:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(73208),o=n(81518),i=n(86738);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m})}},67091:function(e,t,n){"use strict";n.d(t,{v:function(){return s},z:function(){return l}});var r=n(69424),a=n(11313),o=n(92819),i=n(86738);function s(e){return["circle","square"].includes(e)}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:l,width:d}=e,{layoutStyle:m}=t,h=u(n)||!0===c()?p:r.Z;let f;if(s(m)&&d&&l){const e=Math.min(i.GP,d,l);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(s(m)){const e=Math.min(b,d,l),t=Math.min(i.GP,d,l);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,d),t=Math.min(i.GP,d);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function c(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function u(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},13993:function(e,t,n){"use strict";n.d(t,{EU:function(){return s},GP:function(){return o},P0:function(){return l},Z5:function(){return a},hI:function(){return r},xJ:function(){return i}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},21959:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},67525:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return o},migrate:function(){return s},save:function(){return a.Z},supports:function(){return i}});var r=n(13993),a=n(5826);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1},s=e=>{const t=Math.pow(10,5);return{...e,columnWidths:e.columnWidths.map((e=>e.map((e=>Math.round(e*t)/t))))}}},17410:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=Math.pow(10,12),o=Math.round(n*a)/a,i=n?{flexBasis:`${o}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:i},t)}},46349:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},178:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(21959),l=n(47510),c=n(65662),u=n(11197),p=n(13993);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:l,linkTo:c,layoutStyle:p,onMoveBackward:d,onMoveForward:m,onRemoveImage:h,onSelectImage:f,selectedImage:g,setImageAttributes:b}=this.props,v=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:k,srcSet:y}=(0,u.z)(e,{layoutStyle:p});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":v,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:g===t,key:t,link:e.link,linkTo:c,onMoveBackward:l?void 0:d(t),onMoveForward:l?void 0:m(t),onRemove:l?void 0:h(t),onSelect:l?void 0:f(t),origUrl:e.url,setAttributes:l?void 0:b(t),showMovers:i.length>1,srcSet:y,url:k,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,u.v)(s)?c.Z:l.Z,b=this.props.images.map(this.renderImage,this),v=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},34506:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27538),a=n.n(r),o=n(69307),i=n(62940),s=n(68742),l=n(7930),c=n(58174);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:u}=this.props,p=(0,c.h9)(n),d="columns"===r?(0,c.sv)(p,t):(0,c.T9)(p,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,n)=>{const r=a.slice(m,m+e);return m+=e,(0,o.createElement)(i.Z,{key:n,width:u?.[t]?.[n]},r)}))))))}}},58174:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=N([P,P,A,P,P]),c=N([P,P,P,A,P,P,P]),u=T([3,1,3],5),p=N([A,P,P,A]),d=T([1,2,1],5),m=N([A,P,P,P]),h=T([1,3],3),f=N([P,P,P,A]),g=T([3,1],3),b=N([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=N([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=T([2,1],3),C=N([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function P(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},7930:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},85185:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(7930),i=n(62940),s=n(68742),l=n(30154);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},2387:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(62108),o=n(98085),i=n(30154);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},60185:function(e,t,n){"use strict";n.d(t,{v:function(){return l},z:function(){return c}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(30154);function l(e){return["circle","square"].includes(e)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:c}=e,{layoutStyle:m}=t,h=p(n)||!0===u()?d:r.Z;let f;if(l(m)&&c&&a){const e=Math.min(s.GP,c,a);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(l(m)){const e=Math.min(b,c,a),t=Math.min(s.GP,c,a);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,c),t=Math.min(s.GP,c);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function u(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function p(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},86655:function(e,t,n){"use strict";n.d(t,{F:function(){return v}});var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(52175),c=n(12238),u=n(55609),p=n(41451),d=n(6624),m=n(28526),h=n(98085),f=n(80349),g=n(58703);const __=i.__,b=[{value:"attachment",label:__("Attachment Page","jetpack")},{value:"media",label:__("Media File","jetpack")},{value:"none",label:__("None","jetpack")}];function v(e){return Math.min(3,e.images.length)}const k=e=>{const t=(0,s.pick)(e,[["alt"],["id"],["link"]]);return t.url=(0,s.get)(e,["sizes","large","url"])||(0,s.get)(e,["media_details","sizes","large","source_url"])||e.url,t};class y extends o.Component{constructor(){super(...arguments),a()(this,"state",{selectedImage:null,changed:void 0===this.props.attributes.columnWidths||0===this.props.attributes.columnWidths?.length}),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],{noticeOperations:n}=this.props;(0,c.mediaUpload)({allowedTypes:m.RA,filesList:e,onFileChange:e=>{const n=e.map((e=>k(e)));this.setAttributes({images:t.concat(n)})},onError:n.createErrorNotice}),this.setState({changed:!0})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,s.filter)(this.props.attributes.images,((t,n)=>e!==n)),{columns:n}=this.props.attributes;this.setState({selectedImage:null,changed:!0}),this.setAttributes({images:t,columns:n?Math.min(t.length,n):n})})),a()(this,"onSelectImage",(e=>()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})})),a()(this,"onSelectImages",(e=>{const{columns:t}=this.props.attributes;this.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((e=>k(e)))}),this.setState({changed:!0})})),a()(this,"onMove",((e,t)=>{const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t,changed:!0}),this.setAttributes({images:n})})),a()(this,"onMoveForward",(e=>()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)})),a()(this,"onMoveBackward",(e=>()=>{0!==e&&this.onMove(e,e-1)})),a()(this,"onResize",(e=>{this.state.changed&&this.setAttributes({columnWidths:e})})),a()(this,"setColumnsNumber",(e=>this.setAttributes({columns:e}))),a()(this,"setRoundedCorners",(e=>this.setAttributes({roundedCorners:e}))),a()(this,"setImageAttributes",(e=>t=>{const{attributes:{images:n}}=this.props;n[e]&&this.setAttributes({images:[...n.slice(0,e),{...n[e],...t},...n.slice(e+1)]})})),a()(this,"setLinkTo",(e=>this.setAttributes({linkTo:e}))),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files)))}static getDerivedStateFromProps(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}render(){const{selectedImage:e}=this.state,{attributes:t,isSelected:n,className:r,noticeOperations:a,noticeUI:i,setAttributes:s}=this.props,{align:c,columns:k=v(t),imageFilter:y,images:E,linkTo:w,roundedCorners:_}=t,C=(0,o.createElement)(u.DropZone,{onFilesDrop:this.addFiles}),j=(0,o.createElement)(l.BlockControls,null,!!E.length&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToolbarGroup,null,(0,o.createElement)(u.ToolbarItem,null,(()=>(0,o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:m.RA,multiple:!0,gallery:!0,value:E.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,o.createElement)(g.Z,{label:__("Edit Gallery","jetpack"),onClick:t})}})))),(0,o.createElement)(p.Z,{value:y,onChange:e=>{s({imageFilter:e}),this.setState({selectedImage:null})}})));if(0===E.length)return(0,o.createElement)(o.Fragment,null,j,(0,o.createElement)(l.MediaPlaceholder,{icon:(0,o.createElement)(l.BlockIcon,{icon:f.qv}),className:r,labels:{title:__("Tiled Gallery","jetpack"),name:__("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:m.RA,multiple:!0,notices:i,onError:a.createErrorNotice}));const S=(0,h.t)(m.P0,t.className);return(0,o.createElement)(o.Fragment,null,j,(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:__("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(S)&&E.length>1&&(0,o.createElement)(u.RangeControl,{label:__("Columns","jetpack"),value:k,onChange:this.setColumnsNumber,min:1,max:Math.min(m.hI,E.length)}),S!==m.xJ&&(0,o.createElement)(u.RangeControl,{label:__("Rounded corners","jetpack"),value:_,onChange:this.setRoundedCorners,min:0,max:m.Z5}),(0,o.createElement)(u.SelectControl,{label:__("Link To","jetpack"),value:w,onChange:this.setLinkTo,options:b}))),i,(0,o.createElement)(d.Z,{align:c,className:r,columns:k,imageFilter:y,images:E,layoutStyle:S,linkTo:w,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onResize:this.onResize,roundedCorners:_,selectedImage:n?e:null,setImageAttributes:this.setImageAttributes},C,n&&(0,o.createElement)("div",{className:"tiled-gallery__add-item"},(0,o.createElement)(u.FormFileUpload,{multiple:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack")))))}}t.ZP=(0,u.withNotices)(y)},41451:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_x=a._x,i=[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Original","image style","jetpack"),value:void 0},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Black and White","image style","jetpack"),value:"black-and-white"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:_x("Sepia","image style","jetpack"),value:"sepia"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Clarendon","image style","jetpack"),value:"clarendon"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:_x("Gingham","image style","jetpack"),value:"gingham"}],s=__("Pick an image filter","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:s,tooltip:s,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},i.map((e=>{let{icon:i,title:s,value:l}=e;return(0,r.createElement)(o.MenuItem,{className:t===l?"is-active":void 0,icon:i,isSelected:t===l,key:l||"original",onClick:(c=l,()=>{n(t===c?void 0:c),a()}),role:"menuitemcheckbox"},s);var c})))}})}},79906:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(39630),u=n(55609),p=n(11313),d=n(9818),m=n(9512);const __=l.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"img",(0,o.createRef)()),a()(this,"onImageClick",(()=>{this.props.isSelected||this.props.onSelect()})),a()(this,"onImageKeyDown",(e=>{this.img.current===document.activeElement&&this.props.isSelected&&[c.BACKSPACE,c.DELETE].includes(e.keyCode)&&this.props.onRemove()}))}componentDidUpdate(){const{alt:e,height:t,image:n,link:r,url:a,width:o}=this.props;if(n){const i={};!e&&n.alt_text&&(i.alt=n.alt_text),!t&&n.media_details&&n.media_details.height&&(i.height=+n.media_details.height),!r&&n.link&&(i.link=n.link),!a&&n.source_url&&(i.url=n.source_url),!o&&n.media_details&&n.media_details.width&&(i.width=+n.media_details.width),Object.keys(i).length&&this.props.setAttributes(i)}}render(){const{"aria-label":e,alt:t,columns:n,height:r,id:a,imageFilter:i,isFirstItem:l,isLastItem:c,isSelected:d,link:h,linkTo:f,onMoveBackward:g,onMoveForward:b,onRemove:v,origUrl:k,showMovers:y,srcSet:E,url:w,width:_}=this.props;let C;switch(f){case"media":C=w;break;case"attachment":C=h}const j=(0,p.isBlobURL)(k),S=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("img",{alt:t,"aria-label":e,"data-height":r,"data-id":a,"data-link":h,"data-url":k,"data-width":_,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:j?void 0:w,srcSet:j?void 0:E,tabIndex:"0",style:j?{backgroundImage:`url(${k})`}:void 0}),j&&(0,o.createElement)(u.Spinner,null));return(0,o.createElement)("figure",{className:s()("tiled-gallery__item",{"is-selected":d,"is-transient":j,[`filter__${i}`]:!!i})},y&&(0,o.createElement)("div",{className:"tiled-gallery__item__move-menu"},(0,o.createElement)(u.Button,{icon:1===n?m.WO:m.KT,onClick:l?void 0:g,className:"tiled-gallery__item__move-backward",label:__("Move image backward","jetpack"),"aria-disabled":l,disabled:!d}),(0,o.createElement)(u.Button,{icon:1===n?m.xf:m.zz,onClick:c?void 0:b,className:"tiled-gallery__item__move-forward",label:__("Move image forward","jetpack"),"aria-disabled":c,disabled:!d})),(0,o.createElement)("div",{className:"tiled-gallery__item__inline-menu"},(0,o.createElement)(u.Button,{icon:m.xv,onClick:v,className:"tiled-gallery__item__remove",label:__("Remove image","jetpack"),disabled:!d})),C?(0,o.createElement)("a",null,S):S)}}t.Z=(0,d.withSelect)(((e,t)=>{const{getMedia:n}=e("core"),{id:r}=t;return{image:r?n(r):null}}))(h)},97671:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p,"data-amp-layout":"responsive"});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},9512:function(e,t,n){"use strict";n.d(t,{KT:function(){return o},zz:function(){return i},xf:function(){return s},WO:function(){return l},xv:function(){return c}});var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),i=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),s=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})),l=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})),c=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"-2 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))},80349:function(e,t,n){"use strict";n.d(t,{u2:function(){return S},qv:function(){return x},Xd:function(){return T}});var r=n(69307),a=n(65736),o=n(4981),i=n(92819),s=n(55609),l=n(86655),c=n(57713),u=n(28526),p=n(58014),d=n(57535),m=n(20510),h=n(70132),f=n(96606),g=n(85472),b=n(79009),v=n(10742),k=n(52642),y=n(41145);const __=a.__,_x=a._x,E={[u.EU]:_x("Tiled mosaic","Tiled gallery layout","jetpack"),[u.xJ]:_x("Circles","Tiled gallery layout","jetpack"),[u.sw]:_x("Tiled columns","Tiled gallery layout","jetpack"),[u.yw]:_x("Square tiles","Tiled gallery layout","jetpack")},w=u.P0.map((e=>({...e,label:E[e.name]})));function _(e){return(0,i.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const C={align:{default:"center",type:"string"},className:{default:`is-style-${u.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},j={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:f,width:160,height:95},{alt:"",link:"",url:g,width:160,height:107},{alt:"",link:"",url:b,width:304,height:203},{alt:"",link:"",url:v,width:312,height:207},{alt:"",link:"",url:k,width:152,height:101},{alt:"",link:"",url:y,width:152,height:105}],linkTo:"none"},S="tiled-gallery",x=(0,r.createElement)(s.SVG,{viewBox:"0 0 24 24",width:24,height:24},(0,r.createElement)(s.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),T={attributes:C,category:(0,m.Z)("media","layout"),description:__("Display multiple images in an elegantly organized tiled layout.","jetpack")+((0,p.Wp)()?"":" "+__("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:{src:x,foreground:(0,d.m)()},keywords:[_x("columns","block search term","jetpack"),_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("square","block search term","jetpack"),_x("circle","block search term","jetpack"),_x("mosaic","block search term","jetpack")],styles:w,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:__("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>_(e).length>0,transform:e=>{const t=_(e);return(0,o.createBlock)(`jetpack/${S}`,{images:t.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:e=>{let{images:t}=e;const n=_(t);return n.length>0?(0,o.createBlock)(`jetpack/${S}`,{images:n.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,o.createBlock)(`jetpack/${S}`)}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n,columns:r,linkTo:a}=e;return(0,o.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:e=>{let{align:t,images:n}=e;return n.length>0?n.map((e=>{let{id:n,url:r,alt:a}=e;return(0,o.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):(0,o.createBlock)("core/image")}}]},edit:l.ZP,save:c.Z,deprecated:h.Z,example:{attributes:j}}},64597:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=n?{flexBasis:`${n}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:a},t)}},31766:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},6624:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(79906),l=n(97671),c=n(83958),u=n(92870),p=n(5968),d=n(28526);const __=a.__;class m extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:c,linkTo:u,layoutStyle:d,onMoveBackward:m,onMoveForward:h,onRemoveImage:f,onSelectImage:g,selectedImage:b,setImageAttributes:v}=this.props,k=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:k,srcSet:y}=(0,u.z)(e,{layoutStyle:p});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":v,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:g===t,key:t,link:e.link,linkTo:c,onMoveBackward:l?void 0:d(t),onMoveForward:l?void 0:m(t),onRemove:l?void 0:h(t),onSelect:l?void 0:f(t),origUrl:e.url,setAttributes:l?void 0:b(t),showMovers:i.length>1,srcSet:y,url:k,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,u.v)(s)?c.Z:l.Z,b=this.props.images.map(this.renderImage,this),v=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},47510:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(18294),a=n.n(r),o=n(69307),i=n(17410),s=n(46349),l=n(78922),c=n(3453);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:u}=this.props,p=(0,c.h9)(n),d="columns"===r?(0,c.sv)(p,t):(0,c.T9)(p,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,n)=>{var r;const s=a.slice(m,m+e);return m+=e,(0,o.createElement)(i.Z,{key:n,width:null==u||null===(r=u[t])||void 0===r?void 0:r[n]},s)}))))))}}},3453:function(e,t,n){"use strict";n.d(t,{T9:function(){return j},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},78922:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},65662:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(78922),i=n(17410),s=n(46349),l=n(13993);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},5826:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(178),o=n(81518),i=n(13993);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},11197:function(e,t,n){"use strict";n.d(t,{v:function(){return s},z:function(){return l}});var r=n(69424),a=n(11313),o=n(92819),i=n(13993);function s(e){return["circle","square"].includes(e)}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:l,width:d}=e,{layoutStyle:m}=t,h=u(n)||!0===c()?p:r.Z;let f;if(s(m)&&d&&l){const e=Math.min(i.GP,d,l);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(s(m)){const e=Math.min(b,d,l),t=Math.min(i.GP,d,l);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,d),t=Math.min(i.GP,d);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function c(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function u(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},15078:function(e,t,n){"use strict";n.d(t,{F:function(){return v}});var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(52175),c=n(12238),u=n(55609),p=n(38897),d=n(21340),m=n(3740),h=n(81518),f=n(99602),g=n(94545);const __=i.__,b=[{value:"attachment",label:__("Attachment Page","jetpack")},{value:"media",label:__("Media File","jetpack")},{value:"none",label:__("None","jetpack")}];function v(e){return Math.min(3,e.images.length)}const k=e=>{const t=(0,s.pick)(e,[["alt"],["id"],["link"]]);return t.url=(0,s.get)(e,["sizes","large","url"])||(0,s.get)(e,["media_details","sizes","large","source_url"])||e.url,t};class y extends o.Component{constructor(){var e;super(...arguments),a()(this,"state",{selectedImage:null,changed:void 0===this.props.attributes.columnWidths||0===(null===(e=this.props.attributes.columnWidths)||void 0===e?void 0:e.length)}),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],{noticeOperations:n}=this.props;(0,c.mediaUpload)({allowedTypes:m.RA,filesList:e,onFileChange:e=>{const n=e.map((e=>k(e)));this.setAttributes({images:t.concat(n)})},onError:n.createErrorNotice}),this.setState({changed:!0})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,s.filter)(this.props.attributes.images,((t,n)=>e!==n)),{columns:n}=this.props.attributes;this.setState({selectedImage:null,changed:!0}),this.setAttributes({images:t,columns:n?Math.min(t.length,n):n})})),a()(this,"onSelectImage",(e=>()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})})),a()(this,"onSelectImages",(e=>{const{columns:t}=this.props.attributes;this.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((e=>k(e)))}),this.setState({changed:!0})})),a()(this,"onMove",((e,t)=>{const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t,changed:!0}),this.setAttributes({images:n})})),a()(this,"onMoveForward",(e=>()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)})),a()(this,"onMoveBackward",(e=>()=>{0!==e&&this.onMove(e,e-1)})),a()(this,"onResize",(e=>{this.state.changed&&this.setAttributes({columnWidths:e})})),a()(this,"setColumnsNumber",(e=>this.setAttributes({columns:e}))),a()(this,"setRoundedCorners",(e=>this.setAttributes({roundedCorners:e}))),a()(this,"setImageAttributes",(e=>t=>{const{attributes:{images:n}}=this.props;n[e]&&this.setAttributes({images:[...n.slice(0,e),{...n[e],...t},...n.slice(e+1)]})})),a()(this,"setLinkTo",(e=>this.setAttributes({linkTo:e}))),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files)))}static getDerivedStateFromProps(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}render(){const{selectedImage:e}=this.state,{attributes:t,isSelected:n,className:r,noticeOperations:a,noticeUI:i,setAttributes:s}=this.props,{align:c,columns:k=v(t),imageFilter:y,images:E,linkTo:w,roundedCorners:_}=t,C=(0,o.createElement)(u.DropZone,{onFilesDrop:this.addFiles}),j=(0,o.createElement)(l.BlockControls,null,!!E.length&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToolbarGroup,null,(0,o.createElement)(u.ToolbarItem,null,(()=>(0,o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:m.RA,multiple:!0,gallery:!0,value:E.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,o.createElement)(g.Z,{label:__("Edit Gallery","jetpack"),onClick:t})}})))),(0,o.createElement)(p.Z,{value:y,onChange:e=>{s({imageFilter:e}),this.setState({selectedImage:null})}})));if(0===E.length)return(0,o.createElement)(o.Fragment,null,j,(0,o.createElement)(l.MediaPlaceholder,{icon:f.qv,className:r,labels:{title:__("Tiled Gallery","jetpack"),name:__("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:m.RA,multiple:!0,notices:i,onError:a.createErrorNotice}));const S=(0,h.t)(m.P0,t.className);return(0,o.createElement)(o.Fragment,null,j,(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:__("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(S)&&E.length>1&&(0,o.createElement)(u.RangeControl,{label:__("Columns","jetpack"),value:k,onChange:this.setColumnsNumber,min:1,max:Math.min(m.hI,E.length)}),S!==m.xJ&&(0,o.createElement)(u.RangeControl,{label:__("Rounded corners","jetpack"),value:_,onChange:this.setRoundedCorners,min:0,max:m.Z5}),(0,o.createElement)(u.SelectControl,{label:__("Link To","jetpack"),value:w,onChange:this.setLinkTo,options:b}))),i,(0,o.createElement)(d.Z,{align:c,className:r,columns:k,imageFilter:y,images:E,layoutStyle:S,linkTo:w,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onResize:this.onResize,roundedCorners:_,selectedImage:n?e:null,setImageAttributes:this.setImageAttributes},C,n&&(0,o.createElement)("div",{className:"tiled-gallery__add-item"},(0,o.createElement)(u.FormFileUpload,{multiple:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack")))))}}t.ZP=(0,u.withNotices)(y)},38897:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_x=a._x,i=[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Original","image style","jetpack"),value:void 0},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Black and White","image style","jetpack"),value:"black-and-white"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:_x("Sepia","image style","jetpack"),value:"sepia"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Clarendon","image style","jetpack"),value:"clarendon"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:_x("Gingham","image style","jetpack"),value:"gingham"}],s=__("Pick an image filter","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:s,tooltip:s,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},i.map((e=>{let{icon:i,title:s,value:l}=e;return(0,r.createElement)(o.MenuItem,{className:t===l?"is-active":void 0,icon:i,isSelected:t===l,key:l||"original",onClick:(c=l,()=>{n(t===c?void 0:c),a()}),role:"menuitemcheckbox"},s);var c})))}})}},57773:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(39630),u=n(55609),p=n(11313),d=n(9818),m=n(17752);const __=l.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"img",(0,o.createRef)()),a()(this,"onImageClick",(()=>{this.props.isSelected||this.props.onSelect()})),a()(this,"onImageKeyDown",(e=>{this.img.current===document.activeElement&&this.props.isSelected&&[c.BACKSPACE,c.DELETE].includes(e.keyCode)&&this.props.onRemove()}))}componentDidUpdate(){const{alt:e,height:t,image:n,link:r,url:a,width:o}=this.props;if(n){const i={};!e&&n.alt_text&&(i.alt=n.alt_text),!t&&n.media_details&&n.media_details.height&&(i.height=+n.media_details.height),!r&&n.link&&(i.link=n.link),!a&&n.source_url&&(i.url=n.source_url),!o&&n.media_details&&n.media_details.width&&(i.width=+n.media_details.width),Object.keys(i).length&&this.props.setAttributes(i)}}render(){const{"aria-label":e,alt:t,columns:n,height:r,id:a,imageFilter:i,isFirstItem:l,isLastItem:c,isSelected:d,link:h,linkTo:f,onMoveBackward:g,onMoveForward:b,onRemove:v,origUrl:k,showMovers:y,srcSet:E,url:w,width:_}=this.props;let C;switch(f){case"media":C=w;break;case"attachment":C=h}const j=(0,p.isBlobURL)(k),S=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("img",{alt:t,"aria-label":e,"data-height":r,"data-id":a,"data-link":h,"data-url":k,"data-width":_,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:j?void 0:w,srcSet:j?void 0:E,tabIndex:"0",style:j?{backgroundImage:`url(${k})`}:void 0}),j&&(0,o.createElement)(u.Spinner,null));return(0,o.createElement)("figure",{className:s()("tiled-gallery__item",{"is-selected":d,"is-transient":j,[`filter__${i}`]:!!i})},y&&(0,o.createElement)("div",{className:"tiled-gallery__item__move-menu"},(0,o.createElement)(u.Button,{icon:1===n?m.WO:m.KT,onClick:l?void 0:g,className:"tiled-gallery__item__move-backward",label:__("Move image backward","jetpack"),"aria-disabled":l,disabled:!d}),(0,o.createElement)(u.Button,{icon:1===n?m.xf:m.zz,onClick:c?void 0:b,className:"tiled-gallery__item__move-forward",label:__("Move image forward","jetpack"),"aria-disabled":c,disabled:!d})),(0,o.createElement)("div",{className:"tiled-gallery__item__inline-menu"},(0,o.createElement)(u.Button,{icon:m.xv,onClick:v,className:"tiled-gallery__item__remove",label:__("Remove image","jetpack"),disabled:!d})),C?(0,o.createElement)("a",null,S):S)}}t.Z=(0,d.withSelect)(((e,t)=>{const{getMedia:n}=e("core"),{id:r}=t;return{image:r?n(r):null}}))(h)},81921:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p,"data-amp-layout":"responsive"});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},17752:function(e,t,n){"use strict";n.d(t,{KT:function(){return o},WO:function(){return l},xf:function(){return s},xv:function(){return c},zz:function(){return i}});var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),i=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),s=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})),l=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})),c=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"-2 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))},99602:function(e,t,n){"use strict";n.d(t,{Xd:function(){return P},qv:function(){return x},u2:function(){return S}});var r=n(69307),a=n(65736),o=n(4981),i=n(92819),s=n(55609),l=n(13419),c=n(15078),u=n(10745),p=n(3740),d=n(70355),m=n(5820),h=n(73463),f=n(96606),g=n(85472),b=n(79009),v=n(10742),k=n(52642),y=n(41145);const __=a.__,_x=a._x,E={[p.EU]:_x("Tiled mosaic","Tiled gallery layout","jetpack"),[p.xJ]:_x("Circles","Tiled gallery layout","jetpack"),[p.sw]:_x("Tiled columns","Tiled gallery layout","jetpack"),[p.yw]:_x("Square tiles","Tiled gallery layout","jetpack")},w=p.P0.map((e=>({...e,label:E[e.name]})));function _(e){return(0,i.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const C={align:{default:"center",type:"string"},className:{default:`is-style-${p.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},imageCrop:{type:"boolean",default:!0},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},j={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:f,width:160,height:95},{alt:"",link:"",url:g,width:160,height:107},{alt:"",link:"",url:b,width:304,height:203},{alt:"",link:"",url:v,width:312,height:207},{alt:"",link:"",url:k,width:152,height:101},{alt:"",link:"",url:y,width:152,height:105}],linkTo:"none"},S="tiled-gallery",x=(0,r.createElement)(s.SVG,{viewBox:"0 0 24 24",width:24,height:24},(0,r.createElement)(s.Path,{d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),P={attributes:C,category:(0,m.Z)("media","layout"),description:__("Display multiple images in an elegantly organized tiled layout.","jetpack")+((0,l.Wp)()?"":" "+__("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:{src:x,foreground:(0,d.m)()},keywords:[_x("columns","block search term","jetpack"),_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("square","block search term","jetpack"),_x("circle","block search term","jetpack"),_x("mosaic","block search term","jetpack")],styles:w,supports:{align:["center","wide","full"],color:{gradients:!0,text:!1},customClassName:!1,html:!1,spacing:{margin:!0,padding:!0},__experimentalHideChildBlockControls:!0},title:__("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>_(e).length>0,transform:e=>{const t=_(e);return(0,o.createBlock)(`jetpack/${S}`,{images:t.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:e=>{let{images:t}=e;const n=_(t);return n.length>0?(0,o.createBlock)(`jetpack/${S}`,{images:n.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,o.createBlock)(`jetpack/${S}`)}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n,columns:r,linkTo:a}=e;return(0,o.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:e=>{let{align:t,images:n}=e;return n.length>0?n.map((e=>{let{id:n,url:r,alt:a}=e;return(0,o.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):(0,o.createBlock)("core/image")}}]},edit:c.ZP,save:u.Z,providesContext:{imageCrop:"imageCrop"},deprecated:h.Z,example:{attributes:j}}},46936:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=n?{flexBasis:`${n}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:a},t)}},75084:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},21340:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(57773),l=n(81921),c=n(46438),u=n(70216),p=n(13369),d=n(3740);const __=a.__;class m extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:c,linkTo:u,layoutStyle:d,onMoveBackward:m,onMoveForward:h,onRemoveImage:f,onSelectImage:g,selectedImage:b,setImageAttributes:v}=this.props,k=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),y=c?l.Z:s.Z,{src:E,srcSet:w}=(0,p.z)(e,{layoutStyle:d});return(0,r.createElement)(y,{alt:e.alt,"aria-label":k,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:b===t,key:t,link:e.link,linkTo:u,onMoveBackward:c?void 0:m(t),onMoveForward:c?void 0:h(t),onRemove:c?void 0:f(t),onSelect:c?void 0:g(t),origUrl:e.url,setAttributes:c?void 0:v(t),showMovers:i.length>1,srcSet:w,url:E,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:l,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,p.v)(s)?u.Z:c.Z,b=this.props.images.map(this.renderImage,this),v=s!==d.xJ?Math.min(l,d.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},83958:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),a=n.n(r),o=n(69307),i=n(54166),s=n(64597),l=n(31766),c=n(92212),u=n(17265),p=n(58731);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t,r=[];(0,u.W)(n).forEach((t=>{r.push((0,u.i)(t,e))})),void 0!==this.props.onResize&&this.props.onResize(r)}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:i}=this.props,u=(0,p.h9)(n),d="columns"===r?(0,p.sv)(u,t):(0,p.T9)(u,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,n)=>{const r=a.slice(m,m+e);return m+=e,(0,o.createElement)(s.Z,{key:n,width:i?.[t]?.[n]},r)}))))))}}},58731:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=N([P,P,A,P,P]),c=N([P,P,P,A,P,P,P]),u=T([3,1,3],5),p=N([A,P,P,A]),d=T([1,2,1],5),m=N([A,P,P,P]),h=T([1,3],3),f=N([P,P,P,A]),g=T([3,1],3),b=N([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=N([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=T([2,1],3),C=N([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function P(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},17265:function(e,t,n){"use strict";n.d(t,{i:function(){return o},W:function(){return i}});var r=n(28526);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){return function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);return function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}));return d.map((e=>parseFloat(e/o*100).toFixed(5)))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},92212:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},92870:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(92212),i=n(64597),s=n(31766),l=n(28526);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},57713:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(6624),o=n(86655),i=n(98085),s=n(28526);function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=(0,o.F)(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,i.t)(s.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},5968:function(e,t,n){"use strict";n.d(t,{v:function(){return u},z:function(){return p}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(28526),l=n(58014),c=n(47077);function u(e){return["circle","square"].includes(e)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,c.Z)())return{src:e.url};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,l.Ug)()&&(0,l.M6)())return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:p}=e,{layoutStyle:f}=t,g=m(n)||!0===d()?h:r.Z;let b;if(u(f)&&p&&a){const e=Math.min(s.GP,p,a);b=g(n,{resize:`${e},${e}`})}else b=g(n);const v=300,k=600;let y;if(u(f)){const e=Math.min(k,p,a),t=Math.min(s.GP,p,a);y=(0,i.range)(e,t,v).map((e=>{const t=g(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(k,p),t=Math.min(s.GP,p);y=(0,i.range)(e,t,v).map((e=>{const t=g(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:b},y&&{srcSet:y})}function d(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function m(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},96816:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}]},71486:function(e,t,n){"use strict";var r=n(70124);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:r.Z,isDeprecation:!0}},70124:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{caption:n,guid:o}=t;if(!o)return null;const i=`https://videopress.com/v/${o}`;return(0,r.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${i}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},4207:function(e,t,n){"use strict";var r=n(30663),a=n(7332);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"},videoPressClassNames:{type:"string"},align:{type:"wide"}},support:{reusable:!1},isEligible:e=>{let{videoPressClassNames:t,guid:n}=e;return n&&void 0===t},migrate:e=>{const{className:t,videoPressClassNames:n}=e;return{...e,...(0,a.a)(t,n)}},save:r.Z,isDeprecation:!0}},30663:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(10198);function i(e){const{attributes:{autoplay:t,caption:n,controls:i,guid:s,loop:l,muted:c,poster:u,preload:p,videoPressClassNames:d}={}}=e;if(!s)return null;const m=(0,o.p)(s,{autoplay:t,controls:i,loop:l,muted:c,poster:u,preload:p});return(0,r.createElement)("figure",{className:d},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${m}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},10198:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,poster:s,preload:l}=t;if(!e)return null;const c={...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{posterUrl:s},..."none"!==l&&{preloadContent:l}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,c)}},7332:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(81326),a=n.n(r),o=n(29512),i=n.n(o);const s=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],l=(e,t)=>{const n=s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1}),r=a()(e,{...n,"wp-block-embed":!1,"is-type-video":!1,"is-provider-videopress":!1}),o=new(i())(r);let l=a()(e,t);return o.forEach((e=>{l=l.replace(e,"")})),{className:r,videoPressClassNames:l.trim()}}},3082:function(e,t,n){"use strict";var r=n(38225);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,save:r.Z,isDeprecation:!0}},38225:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(14842);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k}={}}=e,y=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),E=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});return(0,r.createElement)("figure",y,(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${E}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},14842:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},6976:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(27538),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(11313),p=n(55609),d=n(94333),m=n(9818),h=n(52175),f=n(65736),g=n(22607),b=n(41221),v=n(89105),k=n.n(v),y=n(92819),E=n(38341),w=n(45151),_=n(43501),C=n(72905),j=n(9360);const __=f.__,_x=f._x,S=["image"],x=e=>{const{html:t,scripts:n,interactive:r,caption:a,isSelected:o,hideOverlay:i,attributes:l,setAttributes:c}=e,{align:u,className:d,videoPressClassNames:m,maxWidth:f}=l,g=(0,h.useBlockProps)({className:k()("wp-block-video",d,m,{[`align${u}`]:u})});return(0,s.createElement)("figure",g,(0,s.createElement)("div",{className:"wp-block-embed__wrapper"},(0,s.createElement)(p.ResizableBox,{enable:{top:!1,bottom:!1,left:!0,right:!0},maxWidth:"100%",size:{width:f},style:{margin:"auto"},onResizeStop:(e,t,n)=>{let r=getComputedStyle(n).width;if(null!==n.parentElement){r===getComputedStyle(n.parentElement).width&&(r="100%")}c({maxWidth:r})}},(0,s.createElement)(p.SandBox,{html:t,scripts:n,type:m}))),!r&&(0,s.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:i}),(!h.RichText.isEmpty(a)||o)&&(0,s.createElement)(h.RichText,{tagName:"figcaption",placeholder:__("Write caption…","jetpack"),value:a,onChange:e=>c({caption:e}),inlineToolbar:!0}))};t.Z=(0,d.createHigherOrderComponent)((0,d.compose)([(0,m.withSelect)(((e,t)=>{const{autoplay:n,controls:r,guid:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:p,seekbarLoadingColor:d,seekbarPlayedColor:m,src:h,useAverageColor:f}=t.attributes,{getEmbedPreview:g,isRequestingEmbedPreview:b}=e("core"),v=(0,w.p)(a,{autoplay:n,controls:r,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:p,seekbarLoadingColor:d,seekbarPlayedColor:m,useAverageColor:f}),k=!!v&&g(v);return{isFetchingPreview:!!v&&b(v),isUploading:(0,u.isBlobURL)(h),preview:k,url:v}})),(0,m.withDispatch)((e=>({invalidateCachedEmbedPreview:t=>{e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}))),d.withInstanceId,e=>class extends s.Component{constructor(){super(...arguments),i()(this,"hideOverlay",(()=>{this.setState({interactive:!0})})),i()(this,"setRatingAndAllowDownload",(async()=>{const e=(0,y.get)(this.props,"attributes.id"),t=await this.requestMedia(e);let n=(0,y.get)(t,"jetpack_videopress.rating");const r=(0,y.get)(t,"media_details.videopress.allow_download");n&&("X-18"===n&&(n="R-17"),this.setState({rating:n})),void 0!==r&&this.setState({allowDownload:!!r})})),i()(this,"schedulePreviewCacheReload",(()=>{const{invalidateCachedEmbedPreview:e,url:t}=this.props;null===this.previewCacheReloadTimer&&this.previewFailuresCount<5&&(this.previewFailuresCount++,this.previewCacheReloadTimer=setTimeout((()=>{e(t),this.previewCacheReloadTimer=null}),2e3*this.previewFailuresCount))})),i()(this,"fallbackToCore",(()=>{this.props.setAttributes({guid:void 0}),this.setState({fallback:!0})})),i()(this,"setGuid",(async()=>{const{attributes:e,setAttributes:t}=this.props,{id:n}=e;if(n)try{const e=await this.requestMedia(n);if(null===e)return;const r=(0,y.get)(e,"jetpack_videopress.guid");r?(t({guid:r}),this.setTracks(r)):this.fallbackToCore()}catch(e){this.setState({isFetchingMedia:!1}),this.fallbackToCore()}else t({guid:void 0})})),i()(this,"requestMedia",(async e=>{if(!e)return null;if(null!==this.state.media&&this.state.lastRequestedMediaId===e)return this.state.media;this.setState({isFetchingMedia:!0});const t=await c()({path:`/wp/v2/media/${e}`}).catch((()=>(this.setState({fallback:!0}),null))).finally((()=>{this.setState({isFetchingMedia:!1})})),{id:n}=this.props.attributes;return e!==n?null:(this.setState({media:t,lastRequestedMediaId:e}),t)})),i()(this,"setTracks",(e=>{const{setAttributes:t}=this.props;e&&c()({url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}`,credentials:"omit",global:!0}).then((e=>{const n=[];Object.keys(e.tracks).forEach((t=>{for(const r in e.tracks[t]){const a=e.tracks[t][r];n.push({src:a.src,kind:t,srcLang:r,label:a.label})}})),t({videoPressTracks:n})}))})),i()(this,"switchToEditing",(()=>{this.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),i()(this,"onSelectPoster",(e=>{const{setAttributes:t}=this.props;t({poster:e.url})})),i()(this,"onRemovePoster",(()=>{const{setAttributes:e}=this.props;e({poster:""}),this.posterImageButton.current.focus()})),i()(this,"toggleAttribute",(e=>t=>{this.props.setAttributes({[e]:t})})),i()(this,"getAutoplayHelp",(e=>e?__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null)),i()(this,"onChangeRating",(e=>{const t=this.state.rating;"X-18"===e&&(e="R-17"),-1!==(0,y.indexOf)(["G","PG-13","R-17"],e)&&this.updateMetaApiCall({rating:e},(()=>this.setState({isUpdatingRating:!0,rating:e})),(()=>this.setState({rating:t})),(()=>this.setState({isUpdatingRating:!1})))})),i()(this,"onChangeAllowDownload",(e=>{const t=this.state.allowDownload;this.updateMetaApiCall({allow_download:e?1:0},(()=>this.setState({isUpdatingAllowDownload:!0,allowDownload:e})),(()=>this.setState({allowDownload:t})),(()=>this.setState({isUpdatingAllowDownload:!1})))})),i()(this,"updateMetaApiCall",((e,t,n,r)=>{const{invalidateCachedEmbedPreview:a,url:o}=this.props,{id:i}=this.props.attributes;if(!i)return;t();const s={id:i};Object.assign(s,e),c()({path:"/wpcom/v2/videopress/meta",method:"POST",data:s}).then((e=>{status in e&&200!==e.status&&n()})).catch((()=>n())).finally((()=>{r(),a(o)}))})),this.state={media:null,isFetchingMedia:!1,fallback:!1,interactive:!1,rating:null,lastRequestedMediaId:null,isUpdatingRating:!1,allowDownload:null,isUpdatingAllowDownload:!1},this.posterImageButton=(0,s.createRef)(),this.previewCacheReloadTimer=null,this.previewFailuresCount=0}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}async componentDidMount(){const{guid:e}=this.props.attributes;e?this.setTracks(e):await this.setGuid(),this.setRatingAndAllowDownload()}async componentDidUpdate(e){const{attributes:t,invalidateCachedEmbedPreview:n,preview:r,setAttributes:a,url:o,isFetchingPreview:i}=this.props;t.id!==e.attributes.id&&(await this.setGuid(),this.setRatingAndAllowDownload());let s=!1;if(o&&o!==e.url&&(n(o),s=!0),r){const e=(0,_.f)(r.html,k()("wp-block-embed","is-type-video","is-provider-videopress"),!1);this.previewFailuresCount=0,a({videoPressClassNames:e})}else i||s||!this.props.attributes.guid||this.schedulePreviewCacheReload()}getPreloadHelp(){const{attributes:e}=this.props;return"auto"===e.preload?__("Note: Automatically downloading videos may cause issues if there are many videos displayed on the same page.","jetpack"):null}renderControlLabelWithTooltip(e,t){return(0,s.createElement)(p.Tooltip,{text:t,position:"top"},(0,s.createElement)("span",null,e))}render(){const{attributes:t,instanceId:n,isFetchingPreview:r,isUploading:o,preview:i,setAttributes:l}=this.props,{fallback:c,isFetchingMedia:u,isUpdatingRating:d,interactive:m,rating:v,allowDownload:k,isUpdatingAllowDownload:y}=this.state,{autoplay:w,caption:_,controls:T,guid:N,loop:P,muted:A,playsinline:I,poster:M,preload:B,useAverageColor:R,videoPressTracks:L,isVideoPressExample:Z,src:F}=t;if(Z&&F)return(0,s.createElement)("img",{src:F,alt:_});const D=`video-block__poster-image-description-${n}`,O=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h.BlockControls,{group:"block"},(0,s.createElement)(j.Z,{tracks:L,onChange:e=>{l({videoPressTracks:e})},guid:N})),(0,s.createElement)(h.BlockControls,null,(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{className:"components-icon-button components-toolbar__control",label:__("Edit video","jetpack"),onClick:this.switchToEditing,icon:(0,s.createElement)(g.Z,{icon:b.Z})}))),(0,s.createElement)(h.InspectorControls,null,(0,s.createElement)(p.PanelBody,{title:__("Video Settings","jetpack")},(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Autoplay","jetpack"),
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),y=c?l.Z:s.Z,{src:E,srcSet:w}=(0,p.z)(e,{layoutStyle:d});return(0,r.createElement)(y,{alt:e.alt,"aria-label":k,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:b===t,key:t,link:e.link,linkTo:u,onMoveBackward:c?void 0:m(t),onMoveForward:c?void 0:h(t),onRemove:c?void 0:f(t),onSelect:c?void 0:g(t),origUrl:e.url,setAttributes:c?void 0:v(t),showMovers:i.length>1,srcSet:w,url:E,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:l,onResize:m,style:h,isSave:f,columnWidths:g}=this.props,b=(0,p.v)(s)?u.Z:c.Z,v=this.props.images.map(this.renderImage,this),k=s!==d.xJ?Math.min(l,d.Z5):0;return(0,r.createElement)("div",{style:h,className:i()(n,{[`has-rounded-corners-${k}`]:k>0})},(0,r.createElement)(b,{align:e,columns:a,columnWidths:f?g:void 0,images:o,layoutStyle:s,renderedImages:v,onResize:f?void 0:m}),t)}}},46438:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(18294),a=n.n(r),o=n(69307),i=n(6209),s=n(46936),l=n(75084),c=n(51309),u=n(99856),p=n(96001);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t,r=[];(0,u.W)(n).forEach((t=>{r.push((0,u.i)(t,e))})),void 0!==this.props.onResize&&this.props.onResize(r)}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}getColumnWidths(e,t,n){let r=0;return e.map((e=>e.map((e=>{const n=t.slice(r,r+e);return r+=e,n})))).map((e=>(0,u.i)(e,n)))}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)}),d=o.Platform.select({web:()=>this.props.columnWidths,native:()=>this.getColumnWidths(u,a,1e3)})();let m=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,n)=>{var r;const i=a.slice(m,m+e);return m+=e,(0,o.createElement)(s.Z,{key:n,width:null==d||null===(r=d[t])||void 0===r?void 0:r[n]},i)}))))))}}},96001:function(e,t,n){"use strict";n.d(t,{T9:function(){return j},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},99856:function(e,t,n){"use strict";n.d(t,{W:function(){return i},i:function(){return o}});var r=n(3740);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){return function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);return function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}));return d.map((e=>parseFloat(e/o*100).toFixed(5)))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},51309:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},70216:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(51309),i=n(46936),s=n(75084),l=n(3740);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},10745:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(21340),o=n(15078),i=n(81518),s=n(3740);function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=(0,o.F)(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,i.t)(s.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},13369:function(e,t,n){"use strict";n.d(t,{v:function(){return c},z:function(){return u}});var r=n(69424),a=n(11313),o=n(92819),i=n(13419),s=n(3740),l=n(99621);function c(e){return["circle","square"].includes(e)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,l.Z)())return{src:e.url};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,i.Ug)()&&(0,i.M6)())return{src:e.url};const n=e.url.split("?",1)[0],{height:u,width:h}=e,{layoutStyle:f}=t,g=d(n)||!0===p()?m:r.Z;let b;if(c(f)&&h&&u){const e=Math.min(s.GP,h,u);b=g(n,{resize:`${e},${e}`})}else b=g(n);const v=300,k=600;let y;if(c(f)){const e=Math.min(k,h,u),t=Math.min(s.GP,h,u);y=(0,o.range)(e,t,v).map((e=>{const t=g(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(k,h),t=Math.min(s.GP,h);y=(0,o.range)(e,t,v).map((e=>{const t=g(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:b},y&&{srcSet:y})}function p(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function d(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},10723:function(e,t,n){"use strict";n.d(t,{H:function(){return a},Z:function(){return o}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onFilesSelected:t,onMediaItemSelected:n,onUploadFinished:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onFilesSelected:t,onMediaItemSelected:n,onUploadFinished:o},children:i})}},90879:function(e,t,n){"use strict";n.d(t,{s:function(){return r},v:function(){return a}});const r=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],a={PUBLIC:0,PRIVATE:1,SITE_DEFAULT:2}},29899:function(e,t,n){"use strict";var r=n(4900);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:r.Z,isDeprecation:!0}},4900:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{caption:n,guid:o}=t;if(!o)return null;const i=`https://videopress.com/v/${o}`;return(0,r.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${i}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},97504:function(e,t,n){"use strict";var r=n(30454),a=n(93512);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"},videoPressClassNames:{type:"string"},align:{type:"wide"}},support:{reusable:!1},isEligible:e=>{let{videoPressClassNames:t,guid:n}=e;return n&&void 0===t},migrate:e=>{const{className:t,videoPressClassNames:n}=e;return{...e,...(0,a.a)(t,n)}},save:r.Z,isDeprecation:!0}},30454:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(92490);function i(e){const{attributes:{autoplay:t,caption:n,controls:i,guid:s,loop:l,muted:c,poster:u,preload:p,videoPressClassNames:d}={}}=e;if(!s)return null;const m=(0,o.p)(s,{autoplay:t,controls:i,loop:l,muted:c,poster:u,preload:p});return(0,r.createElement)("figure",{className:d},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${m}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},92490:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,poster:s,preload:l}=t;if(!e)return null;const c={...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{posterUrl:s},..."none"!==l&&{preloadContent:l}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,c)}},93512:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(73320),a=n.n(r),o=n(29512),i=n.n(o);const s=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],l=(e,t)=>{const n=s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1}),r=a()(e,{...n,"wp-block-embed":!1,"is-type-video":!1,"is-provider-videopress":!1}),o=new(i())(r);let l=a()(e,t);return o.forEach((e=>{l=l.replace(e,"")})),{className:r,videoPressClassNames:l.trim()}}},34284:function(e,t,n){"use strict";var r=n(46721);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,save:r.Z,isDeprecation:!0}},46721:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(96931);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k}={}}=e,y=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),E=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});return(0,r.createElement)("figure",y,(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${E}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},96931:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},58351:function(e,t,n){"use strict";var r=n(83619);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,migrate:e=>({...e,useAverageColor:!1}),save:r.Z,isDeprecation:!0}},83619:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(67502);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k,maxWidth:y}={}}=e,E=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),w=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});let _={};return y&&y.length>0&&"100%"!==y&&(_={maxWidth:y,margin:"auto"}),(0,r.createElement)("figure",E,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:_},`\n${w}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},67502:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},30053:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(11313),p=n(55609),d=n(94333),m=n(9818),h=n(52175),f=n(65736),g=n(61074),b=n(77840),v=n(65235),k=n.n(v),y=n(92819),E=n(31302),w=n(90953),_=n(77290),C=n(43774),j=n(75880),S=n(22081),x=n(10723),P=n(90879);const __=f.__,_x=f._x,T=["image"],N=e=>{let{scripts:t}=e;const{html:n,interactive:r,caption:a,isSelected:o,hideOverlay:i,attributes:l,setAttributes:c}=e,{align:u,className:d,videoPressClassNames:m,maxWidth:f}=l,g=(0,h.useBlockProps)({className:k()("wp-block-video",d,m,{[`align${u}`]:u})});if("object"!=typeof t&&(t=[]),window.videopressAjax){const e=new Blob([`var videopressAjax = ${JSON.stringify(window.videopressAjax)};`],{type:"text/javascript"});t.push(URL.createObjectURL(e),window.videopressAjax.bridgeUrl)}return(0,s.createElement)("figure",g,(0,s.createElement)("div",{className:"wp-block-embed__wrapper"},(0,s.createElement)(p.ResizableBox,{enable:{top:!1,bottom:!1,left:!0,right:!0},maxWidth:"100%",size:{width:f},style:{margin:"auto"},onResizeStop:(e,t,n)=>{let r=getComputedStyle(n).width;if(null!==n.parentElement){r===getComputedStyle(n.parentElement).width&&(r="100%")}c({maxWidth:r})}},(0,s.createElement)(p.SandBox,{html:n,scripts:t,type:m}))),!r&&(0,s.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:i}),(!h.RichText.isEmpty(a)||o)&&(0,s.createElement)(h.RichText,{tagName:"figcaption",placeholder:__("Write caption…","jetpack"),value:a,onChange:e=>c({caption:e}),inlineToolbar:!0}))};t.Z=(0,d.createHigherOrderComponent)((0,d.compose)([(0,m.withSelect)(((e,t)=>{const{autoplay:n,controls:r,fileForImmediateUpload:a,guid:o,loop:i,muted:s,playsinline:l,poster:c,preload:p,seekbarColor:d,seekbarLoadingColor:m,seekbarPlayedColor:h,src:f,useAverageColor:g}=t.attributes,{getEmbedPreview:b,isRequestingEmbedPreview:v}=e("core"),k=(0,w.p)(o,{autoplay:n,controls:r,loop:i,muted:s,playsinline:l,poster:c,preload:p,seekbarColor:d,seekbarLoadingColor:m,seekbarPlayedColor:h,useAverageColor:g}),y=!!k&&b(k),E=!!k&&v(k),_=!!window.videoPressResumableEnabled;return{fileForImmediateUpload:a,isFetchingPreview:E,isUploading:!_&&(0,u.isBlobURL)(f),preview:y,resumableUploadEnabled:_,url:k}})),(0,m.withDispatch)((e=>({invalidateCachedEmbedPreview:t=>{e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}))),d.withInstanceId,e=>class extends s.Component{constructor(e){super(...arguments),i()(this,"hideOverlay",(()=>{this.setState({interactive:!0})})),i()(this,"setRatingAndAllowDownload",(async()=>{const e=(0,y.get)(this.props,"attributes.id"),t=await this.requestMedia(e);let n=(0,y.get)(t,"jetpack_videopress.rating");const r=(0,y.get)(t,"jetpack_videopress.allow_download"),a=(0,y.get)(t,"jetpack_videopress.privacy_setting",P.v.SITE_DEFAULT);n&&("X-18"===n&&(n="R-17"),this.setState({rating:n})),void 0!==r&&this.setState({allowDownload:!!r}),void 0!==a&&this.setState({privacySetting:a})})),i()(this,"schedulePreviewCacheReload",(()=>{const{invalidateCachedEmbedPreview:e,url:t}=this.props;null===this.previewCacheReloadTimer&&this.previewFailuresCount<5&&(this.previewFailuresCount++,this.previewCacheReloadTimer=setTimeout((()=>{e(t),this.previewCacheReloadTimer=null}),2e3*this.previewFailuresCount))})),i()(this,"fallbackToCore",(()=>{this.props.setAttributes({guid:void 0}),this.setState({fallback:!0})})),i()(this,"setGuid",(async()=>{const{attributes:e,setAttributes:t}=this.props,{id:n}=e;if(n)try{const e=await this.requestMedia(n);if(null===e)return;const r=(0,y.get)(e,"jetpack_videopress.guid");r?(t({guid:r}),this.setTracks(r)):this.fallbackToCore()}catch(e){this.setState({isFetchingMedia:!1}),this.fallbackToCore()}else t({guid:void 0})})),i()(this,"requestMedia",(async e=>{if(!e)return null;if(null!==this.state.media&&this.state.lastRequestedMediaId===e)return this.state.media;this.setState({isFetchingMedia:!0});const t=await c()({path:`/wp/v2/media/${e}`}).catch((()=>(this.setState({fallback:!0}),null))).finally((()=>{this.setState({isFetchingMedia:!1})})),{id:n}=this.props.attributes;return e!==n?null:(this.setState({media:t,lastRequestedMediaId:e}),t)})),i()(this,"setTracks",(e=>{const{setAttributes:t}=this.props;e&&c()({url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}`,credentials:"omit",global:!0}).then((e=>{const n=[];Object.keys(e.tracks).forEach((t=>{for(const r in e.tracks[t]){const a=e.tracks[t][r];n.push({src:a.src,kind:t,srcLang:r,label:a.label})}})),t({videoPressTracks:n})}))})),i()(this,"switchToEditing",(()=>{this.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),i()(this,"onSelectPoster",(e=>{const{setAttributes:t}=this.props;t({poster:e.url})})),i()(this,"onRemovePoster",(()=>{const{setAttributes:e}=this.props;e({poster:""}),this.posterImageButton.current.focus()})),i()(this,"toggleAttribute",(e=>t=>{this.props.setAttributes({[e]:t})})),i()(this,"getAutoplayHelp",(e=>e?__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null)),i()(this,"getPrivacySettingHelp",(e=>{const t=parseInt(e,10);return P.v.PRIVATE===t?__("Restrict views to members of this site","jetpack"):P.v.PUBLIC===t?__("Video can be viewed by anyone","jetpack"):__("Follow the site privacy setting","jetpack")})),i()(this,"onChangeRating",(e=>{const t=this.state.rating;"X-18"===e&&(e="R-17"),-1!==(0,y.indexOf)(["G","PG-13","R-17"],e)&&this.updateMetaApiCall({rating:e},(()=>this.setState({isUpdatingRating:!0,rating:e})),(()=>this.setState({rating:t})),(()=>this.setState({isUpdatingRating:!1})))})),i()(this,"onChangeAllowDownload",(e=>{const t=this.state.allowDownload;this.updateMetaApiCall({allow_download:e?1:0},(()=>this.setState({isUpdatingAllowDownload:!0,allowDownload:e})),(()=>this.setState({allowDownload:t})),(()=>this.setState({isUpdatingAllowDownload:!1})))})),i()(this,"onChangePrivacySetting",(e=>{const t=this.state.privacySetting;this.updateMetaApiCall({privacy_setting:e},(()=>this.setState({isUpdatingPrivacySetting:!0,privacySetting:e})),(()=>this.setState({privacySetting:t})),(()=>this.setState({isUpdatingPrivacySetting:!1})))})),i()(this,"updateMetaApiCall",((e,t,n,r)=>{const{invalidateCachedEmbedPreview:a,url:o}=this.props,{id:i}=this.props.attributes;if(!i)return;t();const s={id:i};Object.assign(s,e),c()({path:"/wpcom/v2/videopress/meta",method:"POST",data:s}).then((e=>{status in e&&200!==e.status&&n()})).catch((()=>n())).finally((()=>{r(),a(o)}))})),this.state={media:null,isFetchingMedia:!1,fallback:!1,interactive:!1,rating:null,lastRequestedMediaId:null,isUpdatingRating:!1,allowDownload:null,privacySetting:P.v.SITE_DEFAULT,isUpdatingAllowDownload:!1,fileForUpload:e.fileForImmediateUpload,isUpdatingIsPrivate:!1},this.posterImageButton=(0,s.createRef)(),this.previewCacheReloadTimer=null,this.previewFailuresCount=0}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}async componentDidMount(){const{guid:e}=this.props.attributes;e?this.setTracks(e):await this.setGuid(),this.setRatingAndAllowDownload()}async componentDidUpdate(e){const{attributes:t,invalidateCachedEmbedPreview:n,preview:r,setAttributes:a,url:o,isFetchingPreview:i}=this.props;t.id!==e.attributes.id&&(await this.setGuid(),this.setRatingAndAllowDownload());let s=!1;if(o&&o!==e.url&&(n(o),s=!0),r){const e=(0,_.f)(r.html,k()("wp-block-embed","is-type-video","is-provider-videopress"),!1);this.previewFailuresCount=0,a({videoPressClassNames:e})}else i||s||!this.props.attributes.guid||this.schedulePreviewCacheReload()}getPreloadHelp(){const{attributes:e}=this.props;return"auto"===e.preload?__("Note: Automatically downloading videos may cause issues if there are many videos displayed on the same page.","jetpack"):null}renderControlLabelWithTooltip(e,t){return(0,s.createElement)(p.Tooltip,{text:t,position:"top"},(0,s.createElement)("span",null,e))}render(){const{attributes:t,instanceId:n,isFetchingPreview:r,isUploading:o,preview:i,resumableUploadEnabled:l,setAttributes:c}=this.props,{fallback:u,fileForUpload:d,isFetchingMedia:m,isUpdatingRating:v,interactive:k,rating:y,allowDownload:w,privacySetting:_,isUpdatingAllowDownload:A,isUpdatingPrivacySetting:I}=this.state,{autoplay:M,caption:B,controls:R,guid:L,loop:Z,muted:D,playsinline:F,poster:O,preload:z,useAverageColor:U,videoPressTracks:$,isVideoPressExample:V,src:G}=t;if(V&&G)return(0,s.createElement)("img",{src:G,alt:B});const H=`video-block__poster-image-description-${n}`,q=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h.BlockControls,{group:"block"},(0,s.createElement)(S.Z,{tracks:$,onChange:e=>{c({videoPressTracks:e})},guid:L})),(0,s.createElement)(h.BlockControls,null,(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{className:"components-icon-button components-toolbar__control",label:__("Edit video","jetpack"),onClick:this.switchToEditing,icon:(0,s.createElement)(g.Z,{icon:b.Z})}))),(0,s.createElement)(h.InspectorControls,null,(0,s.createElement)(p.PanelBody,{title:__("Video Settings","jetpack")},(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Autoplay","jetpack"),
/* translators: Tooltip describing the "autoplay" option for the VideoPress player */
-__("Start playing the video as soon as the page loads","jetpack")),onChange:this.toggleAttribute("autoplay"),checked:w,help:this.getAutoplayHelp}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Loop","jetpack"),
+__("Start playing the video as soon as the page loads","jetpack")),onChange:this.toggleAttribute("autoplay"),checked:M,help:this.getAutoplayHelp}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Loop","jetpack"),
/* translators: Tooltip describing the "loop" option for the VideoPress player */
-__("Restarts the video when it reaches the end","jetpack")),onChange:this.toggleAttribute("loop"),checked:P}),(0,s.createElement)(p.ToggleControl,{label:__("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:A}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Playback Controls","jetpack"),
+__("Restarts the video when it reaches the end","jetpack")),onChange:this.toggleAttribute("loop"),checked:Z}),(0,s.createElement)(p.ToggleControl,{label:__("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:D}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Playback Controls","jetpack"),
/* translators: Tooltip describing the "controls" option for the VideoPress player */
-__("Display the video playback controls","jetpack")),onChange:this.toggleAttribute("controls"),checked:T}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Play Inline","jetpack"),
+__("Display the video playback controls","jetpack")),onChange:this.toggleAttribute("controls"),checked:R}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Play Inline","jetpack"),
/* translators: Tooltip describing the "playsinline" option for the VideoPress player */
-__("Play the video inline instead of full-screen on mobile devices","jetpack")),onChange:this.toggleAttribute("playsinline"),checked:I}),(0,s.createElement)(p.SelectControl,{label:this.renderControlLabelWithTooltip(__("Preload","jetpack"),
+__("Play the video inline instead of full-screen on mobile devices","jetpack")),onChange:this.toggleAttribute("playsinline"),checked:F}),(0,s.createElement)(p.SelectControl,{label:this.renderControlLabelWithTooltip(__("Preload","jetpack"),
/* translators: Tooltip describing the "preload" option for the VideoPress player */
-__("Content to dowload before the video is played","jetpack")),value:B,onChange:e=>l({preload:e}),options:[{value:"auto",label:_x("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:_x("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:_x("None","VideoPress preload setting","jetpack")}],help:this.getPreloadHelp()}),(0,s.createElement)(h.MediaUploadCheck,null,(0,s.createElement)(p.BaseControl,{className:"editor-video-poster-control",label:__("Poster Image","jetpack")},(0,s.createElement)(h.MediaUpload,{title:__("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:S,render:e=>{let{open:t}=e;return(0,s.createElement)(p.Button,{isDefault:!0,onClick:t,ref:this.posterImageButton,"aria-describedby":D},M?__("Replace image","jetpack",0):__("Select Poster Image","jetpack"))}}),(0,s.createElement)("p",{id:D,hidden:!0},M?(0,f.sprintf)(
+__("Content to dowload before the video is played","jetpack")),value:z,onChange:e=>c({preload:e}),options:[{value:"auto",label:_x("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:_x("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:_x("None","VideoPress preload setting","jetpack")}],help:this.getPreloadHelp()}),(0,s.createElement)(h.MediaUploadCheck,null,(0,s.createElement)(p.BaseControl,{className:"editor-video-poster-control",label:__("Poster Image","jetpack")},(0,s.createElement)(h.MediaUpload,{title:__("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:T,render:e=>{let{open:t}=e;return(0,s.createElement)(p.Button,{variant:"secondary",onClick:t,ref:this.posterImageButton,"aria-describedby":H},O?__("Replace image","jetpack",0):__("Select Poster Image","jetpack"))}}),(0,s.createElement)("p",{id:H,hidden:!0},O?(0,f.sprintf)(
/* translators: Placeholder is an image URL. */
-__("The current poster image url is %s","jetpack"),M):__("There is no poster image currently selected","jetpack")),!!M&&(0,s.createElement)(p.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},__("Remove Poster Image","jetpack"))))),(0,s.createElement)(C.Z,{attributes:t,setAttributes:l,useAverageColor:R,toggleAttribute:this.toggleAttribute}),(0,s.createElement)(p.PanelBody,{title:__("Video File Settings","jetpack")},(0,s.createElement)(p.SelectControl,{label:_x("Rating","The age rating for this video.","jetpack"),value:v,disabled:u||d,options:[{label:_x("G",'Video rating for "General Audiences".',"jetpack"),value:"G"},{label:_x("PG-13",'Video rating for "Parental Guidance", unsuitable for children under 13.',"jetpack"),value:"PG-13"},{label:_x("R",'Video rating for "Restricted", not recommended for children under 17.',"jetpack"),value:"R-17"}],onChange:this.onChangeRating}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Allow download","jetpack"),
+__("The current poster image url is %s","jetpack"),O):__("There is no poster image currently selected","jetpack")),!!O&&(0,s.createElement)(p.Button,{onClick:this.onRemovePoster,variant:"link",isDestructive:!0},__("Remove Poster Image","jetpack"))))),(0,s.createElement)(j.Z,{attributes:t,setAttributes:c,useAverageColor:U,toggleAttribute:this.toggleAttribute}),(0,s.createElement)(p.PanelBody,{title:__("Video File Settings","jetpack")},(0,s.createElement)(p.SelectControl,{label:_x("Rating","The age rating for this video.","jetpack"),value:y,disabled:m||v,options:[{label:_x("G",'Video rating for "General Audiences".',"jetpack"),value:"G"},{label:_x("PG-13",'Video rating for "Parental Guidance", unsuitable for children under 13.',"jetpack"),value:"PG-13"},{label:_x("R",'Video rating for "Restricted", not recommended for children under 17.',"jetpack"),value:"R-17"}],onChange:this.onChangeRating}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Allow download","jetpack"),
/* translators: Tooltip describing the "allow download" option for the VideoPress player */
-__("Display download option and allow viewers to download this video","jetpack")),onChange:this.onChangeAllowDownload,checked:k,disabled:u||y})))),z=u||r,U=c||o||!N,$=U&&!o&&!z;if(U)return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:o||z?"":"videopress-block-hide"},(0,s.createElement)(E.Z,{text:o?__("Uploading…","jetpack"):__("Generating preview…","jetpack",0)})),(0,s.createElement)("div",{className:$?"":"videopress-block-hide"},(0,s.createElement)(e,this.props)));const{html:V,scripts:G}=i||{html:null,scripts:null},q=z||!i;return(0,s.createElement)(s.Fragment,null,O,q&&(0,s.createElement)(E.Z,{text:__("Generating preview…","jetpack")}),!q&&(0,s.createElement)(x,a()({},this.props,{hideOverlay:this.hideOverlay,html:V,scripts:G,interactive:m,caption:_})))}}]),"withVideoPressEdit")},38341:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{text:t}=e;return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(a.Spinner,null),(0,r.createElement)("p",null,t))}},64089:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(89105),s=n.n(i),l=n(45151);t.Z=(0,a.createHigherOrderComponent)((e=>t=>{const{attributes:{autoplay:n,caption:a,controls:i,guid:c,loop:u,muted:p,playsinline:d,poster:m,preload:h,videoPressClassNames:f,className:g,align:b,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E,maxWidth:w}={}}=t,_=o.useBlockProps.save({className:s()("wp-block-video",g,f,{[`align${b}`]:b})});if(!c)return e(t);const C=(0,l.p)(c,{autoplay:n,controls:i,loop:u,muted:p,playsinline:d,poster:m,preload:h,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E});let j={};return w&&w.length>0&&"100%"!==w&&(j={maxWidth:w,margin:"auto"}),(0,r.createElement)("figure",_,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:j},`\n${C}\n`),!o.RichText.isEmpty(a)&&(0,r.createElement)(o.RichText.Content,{tagName:"figcaption",value:a}))}),"withVideoPressSave")},72905:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=(n(99196),n(55609)),s=n(52175),l=n(65736);const __=l.__;class c extends o.Component{constructor(){super(...arguments),a()(this,"handleChangeSeekbarColor",(e=>{this.setState({seekbarColor:e})})),a()(this,"handleChangeSeekbarLoadingColor",(e=>{this.setState({seekbarLoadingColor:e})})),a()(this,"handleChangeSeekbarPlayedColor",(e=>{this.setState({seekbarPlayedColor:e})})),a()(this,"saveColors",(()=>{const{seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n}=this.state,{setAttributes:r}=this.props;r({seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n})}));const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.props.attributes;this.state={seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}}render(){const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.state,{toggleAttribute:r,useAverageColor:a}=this.props,l=!0;return(0,o.createElement)(i.PanelBody,{className:"seekbar-color-settings__panel",title:__("Progress Bar Colors","jetpack"),initialOpen:!1},(0,o.createElement)(i.ToggleControl,{label:__("Match video","jetpack"),help:__("Colors adapt to the video as it plays","jetpack"),onChange:r("useAverageColor"),checked:a}),(0,o.createElement)(s.PanelColorSettings,{opened:!a,showTitle:!1,colorSettings:[{value:e,onChange:this.handleChangeSeekbarColor,label:__("Main","jetpack"),showTitle:l},{value:n,onChange:this.handleChangeSeekbarLoadingColor,label:__("Loaded","jetpack"),showTitle:l},{value:t,onChange:this.handleChangeSeekbarPlayedColor,label:__("Progress","jetpack"),showTitle:l}]},(0,o.createElement)(i.Button,{variant:"secondary",onClick:this.saveColors},__("Save colors","jetpack"))))}}t.Z=c},9360:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(86989),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(31266),u=n(9818);const __=i.__,p="subtitles",d=".vtt,text/vtt",m=[{label:__("Subtitles","jetpack"),value:"subtitles"},{label:__("Captions","jetpack"),value:"captions"},{label:__("Descriptions","jetpack"),value:"descriptions"},{label:__("Chapters","jetpack"),value:"chapters"},{label:__("Metadata","jetpack"),value:"metadata"}],h=(0,r.createElement)(s.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},(0,r.createElement)(s.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(s.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),(0,r.createElement)(s.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"})),f=()=>"videoPressUploadTrack"in window;function g(e){let{tracks:t,onChange:n,guid:a}=e;const[l=-1,c]=(0,r.useState)(),u=e=>{const r=t[e];c(e),((e,t)=>{if(f())return window.videoPressDeleteTrack(t,e.kind,e.srcLang);const n={method:"POST",path:`/videos/${t}/tracks/delete`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang]]};return o()(n)})(r,a).finally((()=>{n(t.filter(((t,n)=>n!==e))),c(-1)}))};let p;return p=0===t.length?(0,r.createElement)("p",{className:"videopress-block-tracks-editor__tracks-informative-message"},__("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.","jetpack")):t.map(((e,t)=>(0,r.createElement)("div",{key:t,className:"videopress-block-tracks-editor__track-list-track"},(0,r.createElement)("span",null,e.label),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__track-list-track-delete"},(0,r.createElement)(s.Button,{isLink:!0,isDestructive:!0,onClick:()=>{u(t)},"aria-label":(0,i.sprintf)(
+__("Display download option and allow viewers to download this video","jetpack")),onChange:this.onChangeAllowDownload,checked:w,disabled:m||A}),(0,s.createElement)(p.SelectControl,{label:__("Video Privacy","jetpack"),help:this.getPrivacySettingHelp(_),onChange:this.onChangePrivacySetting,value:_,options:[{value:P.v.SITE_DEFAULT,label:_x("Site Default","VideoPress privacy setting","jetpack")},{value:P.v.PUBLIC,label:_x("Public","VideoPress privacy setting","jetpack")},{value:P.v.PRIVATE,label:_x("Private","VideoPress privacy setting","jetpack")}],disabled:m||I})))),W=e=>{this.setState({fileForUpload:e[0]})},K=e=>{var t,n;e&&e.url?(this.props.setAttributes({src:e.url,id:e.id,poster:(null===(t=e.image)||void 0===t?void 0:t.src)!==e.icon?null===(n=e.image)||void 0===n?void 0:n.src:void 0}),e.videopress_guid&&this.props.setAttributes({guid:e.videopress_guid})):c({src:void 0,id:void 0,poster:void 0})},X=e=>{let{mediaId:t,guid:n,src:r}=e;this.setState({fileForUpload:null}),t&&n&&r&&c({id:t,guid:n,src:r})};if(null!==d&&d instanceof File)return(0,s.createElement)(x.Z,{onUploadFinished:X},(0,s.createElement)(s.Fragment,null,q,(0,s.createElement)(C.Z,a()({file:d},this.props))));const J=m||r,Y=u||o||!L,Q=Y&&!o&&!J,ee=(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:o||J?"":"videopress-block-hide"},(0,s.createElement)(E.Z,{text:o?__("Uploading…","jetpack"):__("Generating preview…","jetpack",0)})),(0,s.createElement)("div",{className:Q?"":"videopress-block-hide"},(0,s.createElement)(e,this.props)));if(Y)return l?(0,s.createElement)(x.Z,{onFilesSelected:W,onMediaItemSelected:K},ee):(0,s.createElement)(s.Fragment,null,ee);const{html:te,scripts:ne}=i||{html:null,scripts:null},re=J||!i;return(0,s.createElement)(s.Fragment,null,q,re&&(0,s.createElement)(E.Z,{text:__("Generating preview…","jetpack")}),!re&&(0,s.createElement)(N,a()({},this.props,{hideOverlay:this.hideOverlay,html:te,scripts:ne,interactive:k,caption:B})))}}]),"withVideoPressEdit")},31302:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{text:t}=e;return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(a.Spinner,null),(0,r.createElement)("p",null,t))}},43774:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(90861),o=n.n(a),i=n(65736),s=n(81975),l=n(5482),c=n(55609),u=n(52175),p=n(81427),d=n(10723);const __=i.__;function m(e){let{file:t}=e;const[n,a]=(0,r.useState)(0),[m,h]=(0,r.useState)(!1),[f,g]=(0,r.useState)(null),[b,v]=(0,r.useState)(null),{onUploadFinished:k}=(0,r.useContext)(d.H),y=(0,r.useRef)(null);y.current=f;const E=(0,u.useBlockProps)({className:"resumable-upload"}),w=(0,r.useCallback)((()=>{const e=(0,l.J)({onError:e=>{v(e)},onProgress:(e,t)=>{a(e/t*100)},onSuccess:e=>{k(e)}});(0,l.v)().then((n=>{const r=e(t,n);g(r)})).catch((e=>{v(e)}))}),[t,k]);(0,r.useEffect)((()=>(w(),()=>{null!==y.current&&y.current.abort()})),[]);const _=Math.round(n),C={width:`${_}%`},j=(0,s.escapeHTML)(t.name),S=(0,r.createInterpolateElement)((0,i.sprintf)(
+/* translators: Placeholder is a video file name. */
+__("Uploading <strong>%s</strong>","jetpack"),j),{strong:(0,r.createElement)("strong",null)}),x=o()(t.size);return(0,r.createElement)("div",E,(0,r.createElement)("div",{className:"resumable-upload__logo"},(0,r.createElement)(c.Icon,{icon:p.ll}),(0,r.createElement)("div",{className:"resumable-upload__logo-text"},__("VideoPress","jetpack"))),null!==b?(0,r.createElement)("div",{className:"resumable-upload__error"},(0,r.createElement)("div",{className:"resumable-upload__error-text"},__("An error was encountered during the upload. Check your network connection.","jetpack")),(0,r.createElement)(c.Button,{variant:"primary",onClick:()=>(v(null),void w())},__("Try again","jetpack")),(0,r.createElement)(c.Button,{variant:"secondary",onClick:()=>k(),className:"resumable-upload__error-cancel"},__("Cancel","jetpack"))):(0,r.createElement)("div",{className:"resumable-upload__status"},(0,r.createElement)("div",{className:"resumable-upload__file-info"},(0,r.createElement)("div",{className:"resumable-upload__file-name"},S)," — ",(0,r.createElement)("div",{className:"resumable-upload__file-size"},x)),(0,r.createElement)("div",{className:"resumable-upload__progress"},(0,r.createElement)("div",{className:"resumable-upload__progress-loaded",style:C})),(0,r.createElement)("div",{className:"resumable-upload__actions"},(0,r.createElement)("div",{className:"videopress-upload__percent-complete"},`${_}%`),(0,r.createElement)(c.Button,{variant:"link",onClick:()=>{f&&(m?f.start():f.abort(),h(!m))}},m?"Resume":"Pause"))))}},5482:function(e,t,n){"use strict";n.d(t,{J:function(){return i},v:function(){return a}});var r=n(99537);const a=function(e){return new Promise((function(t,n){const r=e?{data:{key:e}}:{};wp.media.ajax("videopress-get-upload-jwt",{async:!0,...r}).done((function(e){t({token:e.upload_token,blogId:e.upload_blog_id,url:e.upload_action_url})})).fail((function(e){n(e)}))}))},o={},i=e=>{let{onError:t,onProgress:n,onSuccess:i}=e;return(e,s)=>{const l=new r.gq(e,{onError:t,onProgress:n,endpoint:s.url,removeFingerprintOnSuccess:!0,withCredentials:!1,autoRetry:!0,overridePatchMethod:!1,chunkSize:1e7,allowedFileTypes:["video/*"],metadata:{filename:e.name,filetype:e.type},retryDelays:[0,1e3,3e3,5e3,1e4],onAfterResponse:function(e,t){if(t.getStatus()>=400)return;const n=t.getHeader("x-videopress-upload-guid"),r=t.getHeader("x-videopress-upload-media-id"),a=t.getHeader("x-videopress-upload-src-url");if(n&&r&&a)return void(i&&i({mediaId:Number(r),guid:n,src:a}));const s={"x-videopress-upload-key-token":"token","x-videopress-upload-key":"key"},l={};Object.keys(s).forEach((function(e){const n=t.getHeader(e);n&&(l[s[e]]=n)})),l.key&&l.token&&(o[l.key]=l.token)},onBeforeRequest:function(e){const t=e._method;if(["HEAD","OPTIONS"].indexOf(t)>=0&&(e._method="GET",e.setHeader("X-HTTP-Method-Override",t)),["DELETE","PUT","PATCH"].indexOf(t)>=0&&(e._method="POST",e.setHeader("X-HTTP-Method-Override",t)),e._xhr.open(e._method,e._url,!0),Object.keys(e._headers).map((function(t){e.setHeader(t,e._headers[t])})),"POST"===t){if(!!!s.token)throw"should never happen";e.setHeader("x-videopress-upload-token",s.token)}if(["OPTIONS","GET","HEAD","DELETE","PUT","PATCH"].indexOf(t)>=0){const n=new URL(e._url).pathname.split("/"),r=n[n.length-1];if(o[r])e.setHeader("x-videopress-upload-token",o[r]);else if("HEAD"===t)return a(r).then((t=>(o[r]=t.token,e.setHeader("x-videopress-upload-token",t.token),e)))}return Promise.resolve(e)}});return l.findPreviousUploads().then((function(e){e.length&&l.resumeFromPreviousUpload(e[0]),l.start()})),l}}},23096:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(65235),s=n.n(i),l=n(90953);t.Z=(0,a.createHigherOrderComponent)((e=>t=>{const{attributes:{autoplay:n,caption:a,controls:i,guid:c,loop:u,muted:p,playsinline:d,poster:m,preload:h,videoPressClassNames:f,className:g,align:b,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E,maxWidth:w}={}}=t,_=o.useBlockProps.save({className:s()("wp-block-video",g,f,{[`align${b}`]:b})});if(!c)return e(t);const C=(0,l.p)(c,{autoplay:n,controls:i,loop:u,muted:p,playsinline:d,poster:m,preload:h,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E});let j={};return w&&w.length>0&&"100%"!==w&&(j={maxWidth:w,margin:"auto"}),(0,r.createElement)("figure",_,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:j},`\n${C}\n`),!o.RichText.isEmpty(a)&&(0,r.createElement)(o.RichText.Content,{tagName:"figcaption",value:a}))}),"withVideoPressSave")},75880:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=(n(99196),n(55609)),s=n(52175),l=n(65736);const __=l.__;class c extends o.Component{constructor(){super(...arguments),a()(this,"handleChangeSeekbarColor",(e=>{this.setState({seekbarColor:e})})),a()(this,"handleChangeSeekbarLoadingColor",(e=>{this.setState({seekbarLoadingColor:e})})),a()(this,"handleChangeSeekbarPlayedColor",(e=>{this.setState({seekbarPlayedColor:e})})),a()(this,"saveColors",(()=>{const{seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n}=this.state,{setAttributes:r}=this.props;r({seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n})}));const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.props.attributes;this.state={seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}}render(){const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.state,{toggleAttribute:r,useAverageColor:a}=this.props,l=!0;return(0,o.createElement)(i.PanelBody,{className:"seekbar-color-settings__panel",title:__("Progress Bar Colors","jetpack"),initialOpen:!1},(0,o.createElement)(i.ToggleControl,{label:__("Match video","jetpack"),help:__("Colors adapt to the video as it plays","jetpack"),onChange:r("useAverageColor"),checked:a}),(0,o.createElement)(s.PanelColorSettings,{opened:!a,showTitle:!1,colorSettings:[{value:e,onChange:this.handleChangeSeekbarColor,label:__("Main","jetpack"),showTitle:l},{value:n,onChange:this.handleChangeSeekbarLoadingColor,label:__("Loaded","jetpack"),showTitle:l},{value:t,onChange:this.handleChangeSeekbarPlayedColor,label:__("Progress","jetpack"),showTitle:l}]},(0,o.createElement)(i.Button,{variant:"secondary",onClick:this.saveColors},__("Save colors","jetpack"))))}}t.Z=c},22081:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(86989),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(47659),u=n(9818);const __=i.__,p="subtitles",d=".vtt,text/vtt",m=[{label:__("Subtitles","jetpack"),value:"subtitles"},{label:__("Captions","jetpack"),value:"captions"},{label:__("Descriptions","jetpack"),value:"descriptions"},{label:__("Chapters","jetpack"),value:"chapters"},{label:__("Metadata","jetpack"),value:"metadata"}],h=(0,r.createElement)(s.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},(0,r.createElement)(s.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(s.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),(0,r.createElement)(s.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"})),f=()=>"videoPressUploadTrack"in window;function g(e){let{tracks:t,onChange:n,guid:a}=e;const[l=-1,c]=(0,r.useState)(),u=e=>{const r=t[e];c(e),((e,t)=>{if(f())return window.videoPressDeleteTrack(t,e.kind,e.srcLang);const n={method:"POST",path:`/videos/${t}/tracks/delete`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang]]};return o()(n)})(r,a).finally((()=>{n(t.filter(((t,n)=>n!==e))),c(-1)}))};let p;return p=0===t.length?(0,r.createElement)("p",{className:"videopress-block-tracks-editor__tracks-informative-message"},__("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.","jetpack")):t.map(((e,t)=>(0,r.createElement)("div",{key:t,className:"videopress-block-tracks-editor__track-list-track"},(0,r.createElement)("span",null,e.label),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__track-list-track-delete"},(0,r.createElement)(s.Button,{variant:"link",isDestructive:!0,onClick:()=>{u(t)},"aria-label":(0,i.sprintf)(
/* translators: %s: Label of the video text track e.g: "French subtitles" */
-__("Delete %s","jetpack"),e.label),disabled:l===t},l===t?__("Deleting","jetpack"):__("Delete","jetpack",0)))))),(0,r.createElement)(s.MenuGroup,{label:__("Text tracks","jetpack"),className:"videopress-block-tracks-editor__track-list"},p)}function b(e){let{track:t,guid:n,onChange:a,onClose:c,onCancel:h,trackExists:g}=e;const[b,v]=(0,r.useState)(),[k=!1,y]=(0,r.useState)(),{label:E="",srcLang:w="",kind:_=p}=t,C=t.tmpFile?t.tmpFile.name:"";if(!(0,u.useSelect)((e=>e(l.store).getSettings().mediaUpload),[]))return null;return(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor"},(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-label"},__("Edit track","jetpack")),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file"},(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label"},(0,r.createElement)("span",null,__("File","jetpack"),":"),""!==C&&(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label-name"},(0,r.createElement)("strong",null,C)),(0,r.createElement)(l.MediaUploadCheck,null,(0,r.createElement)(s.FormFileUpload,{onChange:e=>{const n=e.target.files;!n.length>0||(t.tmpFile=n[0],a(t))},accept:d,render:e=>{let{openFileDialog:t}=e;return(0,r.createElement)(s.Button,{isLink:!0,onClick:()=>{t()}},""===C?__("Select track","jetpack"):__("Change track","jetpack",0))},disabled:k}))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-help"},
+__("Delete %s","jetpack"),e.label),disabled:l===t},l===t?__("Deleting","jetpack"):__("Delete","jetpack",0)))))),(0,r.createElement)(s.MenuGroup,{label:__("Text tracks","jetpack"),className:"videopress-block-tracks-editor__track-list"},p)}function b(e){let{track:t,guid:n,onChange:a,onClose:c,onCancel:h,trackExists:g}=e;const[b,v]=(0,r.useState)(),[k=!1,y]=(0,r.useState)(),{label:E="",srcLang:w="",kind:_=p}=t,C=t.tmpFile?t.tmpFile.name:"";if(!(0,u.useSelect)((e=>e(l.store).getSettings().mediaUpload),[]))return null;return(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor"},(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-label"},__("Edit track","jetpack")),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file"},(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label"},(0,r.createElement)("span",null,__("File","jetpack"),":"),""!==C&&(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label-name"},(0,r.createElement)("strong",null,C)),(0,r.createElement)(l.MediaUploadCheck,null,(0,r.createElement)(s.FormFileUpload,{onChange:e=>{const n=e.target.files;!n.length>0||(t.tmpFile=n[0],a(t))},accept:d,render:e=>{let{openFileDialog:t}=e;return(0,r.createElement)(s.Button,{variant:"link",onClick:()=>{t()}},""===C?__("Select track","jetpack"):__("Change track","jetpack",0))},disabled:k}))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-help"},
/* translators: %s: The allowed file types to be uploaded as a video text track." */
(0,i.sprintf)(__("Allowed formats: %s","jetpack"),d))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-label-language"},(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,label:e}),label:__("Label","jetpack"),value:E,help:__("Title of track","jetpack"),disabled:k}),(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,srcLang:e}),label:__("Source language","jetpack"),value:w,help:__("Language tag (en, fr, etc.)","jetpack"),disabled:k})),(0,r.createElement)(s.SelectControl,{className:"videopress-block-tracks-editor__single-track-editor-kind-select",options:m,value:_,label:
/* translators: %s: The kind of video text track e.g: "Subtitles, Captions" */
-__("Kind","jetpack"),onChange:e=>{a({...t,kind:e})},disabled:k}),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-buttons-container"},k?(0,r.createElement)(s.Spinner,null):(0,r.createElement)(s.Button,{isSecondary:!0,disabled:!t.tmpFile,onClick:()=>{v(null),""===E&&(t.label=__("English","jetpack")),""===w&&(t.srcLang="en"),void 0===t.kind&&(t.kind=p),g(t)?v(__("A track already exists for that language and kind.","jetpack")):(y(!0),((e,t)=>{if(f())return window.videoPressUploadTrack(t,e.kind,e.srcLang,e.label,e.tmpFile);const n={method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang],["label",e.label],["vtt",e.tmpFile]]};return o()(n)})(t,n).then((()=>{a(t),v(null),c()})).catch((e=>{e.message&&v(e.message)})).finally((()=>{y(!1)})))}},__("Save","jetpack")),(0,r.createElement)(s.Button,{isLink:!0,onClick:h},__("Close","jetpack"))),b&&(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-error"},
+__("Kind","jetpack"),onChange:e=>{a({...t,kind:e})},disabled:k}),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-buttons-container"},k?(0,r.createElement)(s.Spinner,null):(0,r.createElement)(s.Button,{variant:"secondary",disabled:!t.tmpFile,onClick:()=>{v(null),""===E&&(t.label=__("English","jetpack")),""===w&&(t.srcLang="en"),void 0===t.kind&&(t.kind=p),g(t)?v(__("A track already exists for that language and kind.","jetpack")):(y(!0),((e,t)=>{if(f())return window.videoPressUploadTrack(t,e.kind,e.srcLang,e.label,e.tmpFile);const n={method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang],["label",e.label],["vtt",e.tmpFile]]};return o()(n)})(t,n).then((()=>{a(t),v(null),c()})).catch((e=>{e.message&&v(e.message)})).finally((()=>{y(!1)})))}},__("Save","jetpack")),(0,r.createElement)(s.Button,{variant:"link",onClick:h},__("Close","jetpack"))),b&&(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-error"},
/* translators: %s: An error message returned after a failed video track file upload." */
-(0,i.sprintf)(__("Error: %s","jetpack"),b))))}function v(e){let{tracks:t=[],onChange:n,guid:a}=e;const[o,i]=(0,r.useState)(null);return(0,r.createElement)(s.Dropdown,{contentClassName:"videopress-block-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,r.createElement)(s.ToolbarButton,{label:__("Text tracks","jetpack"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:h})},renderContent:()=>null!==o?(0,r.createElement)(b,{track:t[o],guid:a,onChange:e=>{const r=[...t];r[o]=e,n(r)},onClose:()=>i(null),onCancel:()=>{n(t.filter(((e,t)=>t!==o))),i(null)},trackExists:e=>-1!==t.filter(((e,t)=>t!==o)).findIndex((t=>t.kind===e.kind&&t.srcLang===e.srcLang))}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)(g,{tracks:t,onChange:n,guid:a}),(0,r.createElement)(s.MenuGroup,{className:"videopress-block-tracks-editor__add-tracks-container",label:__("Add tracks","jetpack")},(0,r.createElement)(s.MenuItem,{icon:c.Z,onClick:()=>{(()=>{const e=t.length,r=[...t];r[e]||(r[e]={}),r[e]={...t[e]},n(r),i(e)})()}},__("Upload track","jetpack")))))})}},45151:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d,useAverageColor:m}=t;if(!e)return null;const h={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d},...m&&{useAverageColor:!0}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,h)}},43501:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(96816),a=n(89105),o=n.n(a);const i=e=>{const t=r.s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1});return o()(e,t)};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return i(t);const a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;const s=a.body.querySelector("iframe");if(s&&s.height&&s.width){const e=(s.width/s.height).toFixed(2);for(let n=0;n<r.s.length;n++){const a=r.s[n];if(e>=a.ratio)return o()(i(t),a.className,"wp-has-aspect-ratio")}}return t}},33144:function(e,t,n){"use strict";n.d(t,{U:function(){return i},m:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i="mrec",s=[{height:250,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:__("Rectangle 300x250","jetpack"),tag:i,width:300,editorPadding:30},{height:90,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:__("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:__("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),(0,r.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:__("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}]},67907:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(21762);const __=i.__,l=e=>{let{value:t,onChange:n}=e;return(0,r.createElement)(o.PanelBody,{title:__("Visibility","jetpack")},(0,r.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:!!t,label:__("Hide on mobile","jetpack"),help:__("Hides this block for site visitors on mobile devices.","jetpack"),onChange:n}))};t.Z=e=>{let{attributes:{format:t,hideMobile:n},setAttributes:o}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(s.Z,{value:t,onChange:e=>o({format:e})})),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(l,{value:n,onChange:e=>o({hideMobile:!!e})})))}},7299:function(e,t,n){"use strict";var r=n(69307),a=n(67907),o=n(33144),i=n(72473),s=n(52203),l=n(38511),c=n(80405);t.Z=e=>{let{attributes:t,setAttributes:n}=e;const{format:u}=t,p=o.m.find((e=>{let{tag:t}=e;return t===u}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Z,{attributes:t,setAttributes:n}),(0,r.createElement)("div",{className:`wp-block-jetpack-wordads jetpack-wordads-${u}`},(0,r.createElement)("div",{className:"jetpack-wordads__ad",style:{width:p.width,height:p.height,backgroundImage:`url( ${(e=>{switch(e){case"leaderboard":return s;case"mobile_leaderboard":return l;case"wideskyscraper":return c;default:return i}})(u)} )`,backgroundSize:"cover"}})))}},21762:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(33144);const s=(0,a.__)("Pick an ad format","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.ToolbarGroup,{controls:[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:s,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},i.m.map((e=>{let{tag:i,name:s,icon:l}=e;return(0,r.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:l,isSelected:i===t,key:i,onClick:()=>{n(i),a()},role:"menuitemcheckbox"},s)})))}})}},62086:function(e,t,n){"use strict";n.d(t,{u2:function(){return c},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(7299),s=n(33144),l=n(57535);const __=a.__,_x=a._x,c="wordads",u=__("Ad","jetpack"),p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),d={title:u,description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Earn income by adding high quality ads to your post","jetpack")),(0,r.createElement)(o.ExternalLink,{href:"https://wordads.co/"},__("Learn all about WordAds","jetpack"))),icon:{src:p,foreground:(0,l.m)()},attributes:{align:{type:"string",default:"center"},format:{type:"string",default:s.U},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"earn",keywords:[_x("ads","block search term","jetpack"),"WordAds",_x("advertisement","block search term","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:i.Z,save:()=>null}},81921:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(57535);const __=a.__,_x=a._x,i={name:"facebook",title:"Facebook",icon:{src:"facebook",foreground:(0,o.m)()},keywords:[_x("social","block search term","jetpack")],description:__("Embed a Facebook post.","jetpack"),patterns:[/^https?:\/\/www\.facebook.com\/.+/i],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateFacebookEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations)return e;const n=e.variations.filter((e=>e.name!==i.name));return e.variations=[...n,i],e}))},17269:function(e,t,n){"use strict";n(81921),n(82122),n(19775),n(34034)},82122:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(57535),i=n(28938);const __=a.__,_x=a._x,s={name:"instagram",title:"Instagram",icon:{src:"instagram",foreground:(0,o.m)()},keywords:[_x("image","block search term","jetpack"),_x("social","block search term","jetpack")],description:__("Embed an Instagram post.","jetpack"),patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i],attributes:{providerNameSlug:"instagram",responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateInstagramEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations||!(0,i.Z)())return e;const n=e.variations.filter((e=>e.name!==s.name));return e.variations=[...n,s],e}))},19775:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(51591);const __=a.__,i={name:"loom",title:"Loom",icon:o.zf,keywords:[__("video","jetpack")],description:__("Embed a Loom video.","jetpack"),patterns:[/^https?:\/\/(www\.)?loom\.com\/share\/.+/i],attributes:{providerNameSlug:"loom",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},34034:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(51591);const __=a.__,i={name:"smartframe",title:"SmartFrame",icon:o.Ae,keywords:[__("smartframe","jetpack")],description:__("Embed a SmartFrame Image.","jetpack"),patterns:[/^https?:\/\/(.*?).smartframe.(io|net)\/.*/i],attributes:{providerNameSlug:"smartframe",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},56771:function(e,t,n){"use strict";var r=n(92694),a=n(4981),o=n(33722);const i={from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"jetpack_widget_social_icons"===t},transform:e=>{let{instance:t}=e,n=[];return t.raw.icons.forEach((e=>{const t=new URL(e.url.includes(":")?e.url:"https://"+e.url),r=t.hostname?t.hostname:t.protocol,i=o.Z.find((e=>r.includes(e.url)||e.url.includes(r))),s=(0,a.createBlock)("core/social-link",{service:i?i.name:"chain",url:e.url});n=[...n,s]})),(0,a.createBlock)("core/social-links",{},n)}}]};(0,r.addFilter)("blocks.registerBlockType","addTransformToSocialLinksWidget",(function(e,t){return"core/social-links"!==t||(e.transforms=i),e}))},33722:function(e,t){"use strict";t.Z=[{name:"wordpress",url:["wordpress."]},{name:"fivehundredpx",url:["500px.com"]},{name:"amazon",url:["amazon."]},{name:"bandcamp",url:["bandcamp.com"]},{name:"behance",url:["behance.net"]},{name:"codepen",url:["codepen.io"]},{name:"deviantart",url:["deviantart.com"]},{name:"dribbble",url:["dribbble.com"]},{name:"dropbox",url:["dropbox.com"]},{name:"etsy",url:["etsy.com"]},{name:"facebook",url:["facebook.com"]},{name:"flickr",url:["flickr.com"]},{name:"foursquare",url:["foursquare.com"]},{name:"goodreads",url:["goodreads.com"]},{name:"google",url:["google."]},{name:"github",url:["github.com"]},{name:"instagram",url:["instagram.com"]},{name:"lastfm",url:["last.fm"]},{name:"linkedin",url:["linkedin.com"]},{name:"mail",url:["mailto:"]},{name:"linkedin",url:["linkedin.com"]},{name:"mastodon",url:["mastodon.social"]},{name:"meetup",url:["meetup.com"]},{name:"medium",url:["medium.com"]},{name:"patreon",url:["patreon.com"]},{name:"pinterest",url:["pinterest."]},{name:"pocket",url:["getpocket.com"]},{name:"reddit",url:["reddit.com"]},{name:"skype",url:["skype.com","skype:"]},{name:"snapchat",url:["snapchat.com"]},{name:"soundcloud",url:["soundcloud.com"]},{name:"spotify",url:["spotify.com"]},{name:"telegram",url:["telegram.me","t.me"]},{name:"tiktok",url:["tiktok.com"]},{name:"tumblr",url:["tumblr.com"]},{name:"twitch",url:["twitch.tv"]},{name:"twitter",url:["twitter.com"]},{name:"vimeo",url:["vimeo.com"]},{name:"vk",url:["vk.com"]},{name:"yelp",url:["yelp.com"]},{name:"youtube",url:["youtube.com"]}]},32630:function(e,t,n){"use strict";n.d(t,{x:function(){return a},L:function(){return o}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o},children:i})}},58721:function(e,t,n){"use strict";var r=n(92819),a=n(47701),o=n.n(a),i=n(92694),s=n(65736),l=n(81475),c=n(44298),u=n(32220),p=n(94239),d=n(99199);const __=s.__,m=[];(0,i.addFilter)("blocks.registerBlockType","jetpack/paid-block",((e,t)=>((0,c.X1)(t)&&(m.includes(t)||m.push(t),e.keywords=(0,r.uniq)([...e.keywords,"premium",__("premium","jetpack")]),(0,c.HD)(t)||(e.icon=(0,u.Z)(e.icon)),e.attributes.shouldDisplayFrontendBanner||(e.attributes.shouldDisplayFrontendBanner={type:"boolean",default:!0})),e))),(0,i.addFilter)("editor.BlockListBlock","jetpack/paid-block-with-warning",l.Z),(0,i.addFilter)("editor.MediaPlaceholder","jetpack/paid-block-media-placeholder",p.Z),(0,i.addFilter)("editor.MediaReplaceFlow","jetpack/paid-block-media-placeholder",d.Z),o()((function(){(0,c.FK)()&&document.body.classList.add("jetpack-enable-upgrade-nudge")}))},94239:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(36745),c=n(44298),u=n(32630);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,c.m3)(n);if(!r?.mediaPlaceholder||!(0,c.X1)(n))return(0,o.createElement)(e,t);const{fileType:s}=r,{onError:p}=t,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x),m=(0,o.useCallback)((e=>d(e?.length&&(0,l.Qu)(e[0],s))),[s,d]),h=(0,o.useCallback)((e=>{const t=e?.[0]?.props?.children;return(0,l.Qu)(t,s)?m([t]):p(e)}),[m,s,p]);return(0,o.createElement)("div",{className:"paid-block-media-placeholder"},(0,o.createElement)(e,a()({},t,{onFilesPreUpload:m,onError:h})))}),"withMediaPlaceholderUpgradable")},99199:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(36745),c=n(44298),u=n(32630);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,c.m3)(n),s=(0,o.useRef)();if(!r?.mediaReplaceFlow||!(0,c.X1)(n))return(0,o.createElement)(e,t);const{fileType:p}=r,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x);return(0,o.createElement)(e,a()({},t,{onFilesUpload:e=>{s.current=e?.length?e[0]:null,d(e?.length&&(0,l.Qu)(e[0],p))},createNotice:(e,n,r)=>{if((0,l.Qu)(s.current,p))return s.current=null,null;t.createNotice(e,n,r)}}))}),"withMediaReplaceFlowUpgradable")},25122:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{cx:t=23,cy:n=3,r:o=4,fill:i="#e34c84",stroke:s="#ffffff",strokeWidth:l="2"}=e;return(0,r.createElement)(a.Circle,{className:"jetpack-paid-block-symbol",cx:t,cy:n,r:o,fill:i,stroke:s,strokeWidth:l})}},32220:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(69307),a=n(25122),o=n(44298);const i=e=>(e?.src?e={...e,src:(0,r.cloneElement)(e.src,{children:[e.src.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})}:e?.props?.children&&(e=(0,r.cloneElement)(e,{children:[e.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})),e);function s(e,t){return(0,o.X1)(e)?i(t):t}t.Z=i},53283:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(18733),i=n(19356);const __=a.__,s=__("Premium Block","jetpack"),l=__("Upgrade your plan to use this premium block","jetpack"),c=__("Upgrade","jetpack");t.ZP=e=>{let{onRedirect:t,align:n,className:a,title:u=s,description:p=l,buttonText:d=c,visible:m=!0,requiredPlan:h,context:f}=e;const[g,b,v]=(0,o.Z)(h,t);return(0,r.createElement)(i.p,{align:n,buttonText:d,checkoutUrl:g,className:a,context:f,description:p,goToCheckoutPage:b,isRedirecting:v,title:u,visible:m})}},63627:function(e,t,n){"use strict";n.d(t,{v:function(){return a},W:function(){return o}});var r=n(11973);const a=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:t,block:n,context:a})},o=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_banner_impression",{plan:t,block:n,context:a})}},81475:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(94333),c=n(9818),u=n(44298),p=n(53283),d=n(32630),m=n(63627);t.Z=(0,l.createHigherOrderComponent)((e=>t=>{const{name:n,className:r,clientId:i,isSelected:l,attributes:h,setAttributes:f}=t||{},{onChildBannerVisibilityChange:g,hasParentBanner:b}=(0,o.useContext)(d.x)||{},v=(0,u.Rl)(n);if(!v)return(0,o.createElement)(e,t);const k=(0,u.HD)(n),y=(0,u.m3)(n),[E,w]=(0,o.useState)(!k),[_,C]=(0,o.useState)(!1),[j,S]=(0,o.useState)(!1),x="editor-canvas",T=(0,c.useSelect)((e=>e("core/block-editor").hasSelectedInnerBlock(i,!0)),[]),N=(l||T)&&E&&!j,P=(0,o.useMemo)((()=>({plan:v,blockName:n,context:x})),[v,n,x]);(0,o.useEffect)((()=>{N&&C(!0)}),[N,C]),(0,o.useEffect)((()=>{!_&&N&&(0,m.W)(P)}),[_,P,N]),(0,o.useEffect)((()=>w(!k)),[h,w,k]),(0,o.useEffect)((()=>{f({shouldDisplayFrontendBanner:!b})}),[f,b]),(0,o.useEffect)((()=>{g&&g(N||j)}),[N,j,g]);const A=s()(r,{"is-upgradable":N});return(0,o.createElement)(d.L,{onBannerVisibilityChange:w,onChildBannerVisibilityChange:S,hasParentBanner:!0},(0,o.createElement)(p.ZP,{className:`is-${t.name.replace(/\//,"-")}-paid-block`,title:null,align:t?.attributes?.align,visible:N,description:y?.description,requiredPlan:v,context:x,onRedirect:()=>(0,m.v)(P)}),(0,o.createElement)(e,a()({},t,{className:A})))}),"withUpgradeBanner")},5587:function(e,t,n){"use strict";var r=n(69307),a=n(11268),o=n.n(a),i=n(51591);const s=e=>{const{id:t,serviceName:n,label:a,profilePicture:o}=e;return(0,r.createElement)("label",{htmlFor:t,className:"jetpack-publicize-connection-label"},(0,r.createElement)("div",{className:o?"components-connection-icon__picture":""},o&&(0,r.createElement)("img",{src:o,alt:a}),(0,r.createElement)(i.av,{serviceName:n,className:"jetpack-publicize-gutenberg-social-icon"})),(0,r.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},a))};s.propTypes={id:o().string.isRequired,serviceName:o().string,label:o().string,profilePicture:o().string},t.Z=s},90342:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(11268),s=n.n(i),l=n(55609),c=n(5587);const u=e=>{const{className:t,checked:n,id:a,disabled:i,onChange:s,serviceName:u,label:p,profilePicture:d}=e,m=o()("components-connection-toggle",{"is-not-checked":!n,"is-disabled":i});return(0,r.createElement)("div",{className:m},(0,r.createElement)(c.Z,{id:a,serviceName:u,label:p,profilePicture:d}),(0,r.createElement)(l.FormToggle,{id:a,className:t,checked:n,onChange:s,disabled:i}))};u.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},t.Z=u},9580:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(94333),c=n(9818);const __=i.__;class u extends o.Component{constructor(){super(...arguments),a()(this,"refreshConnectionClick",(e=>{const{href:t,title:n}=e.target;e.preventDefault();const r=window.open(t,n,""),a=window.setInterval((()=>{!1!==r.closed&&(window.clearInterval(a),this.props.refreshConnections())}),500)}))}componentDidMount(){this.props.refreshConnections()}renderRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>e.can_refresh));return t.length?(0,o.createElement)(s.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},(0,o.createElement)("p",null,__("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((e=>(0,o.createElement)(s.Button,{href:e.refresh_url,isSmall:!0,key:e.id,onClick:this.refreshConnectionClick,title:e.refresh_text},e.refresh_text)))):null}renderNonRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>!e.can_refresh));return t.length?t.map((e=>(0,o.createElement)(s.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},(0,o.createElement)("p",null,e.test_message)))):null}render(){return(0,o.createElement)(o.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}t.Z=(0,l.compose)([(0,c.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections()}))),(0,c.withDispatch)((e=>({refreshConnections:e("jetpack/publicize").refreshConnectionTestResults})))])(u)},65459:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(9818),c=n(92819),u=n(4235),p=n(90342);const __=i.__;class d extends o.Component{constructor(){super(...arguments),a()(this,"maybeDisplayLinkedInNotice",(()=>this.connectionNeedsReauth()&&(0,o.createElement)(s.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},(0,o.createElement)("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),(0,o.createElement)(s.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,u.Z)()}`},__("Go to Sharing settings","jetpack"))))),a()(this,"connectionNeedsReauth",(()=>(0,c.includes)(this.props.mustReauthConnections,this.props.name))),a()(this,"onConnectionChange",(()=>{const{id:e}=this.props;this.props.toggleConnection(e)}))}connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}render(){const{disabled:e,enabled:t,id:n,label:r,name:a,profilePicture:i}=this.props,l="connection-"+a+"-"+n,c=a.replace("_","-");let u=(0,o.createElement)(p.Z,{id:l,className:"jetpack-publicize-connection-toggle",checked:t,onChange:this.onConnectionChange,disabled:e,serviceName:c,label:r,profilePicture:i});return(e||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=(0,o.createElement)(s.Disabled,null,u)),(0,o.createElement)("li",null,this.maybeDisplayLinkedInNotice(),(0,o.createElement)("div",{className:"publicize-jetpack-connection-container"},u))}}t.Z=(0,l.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()})))(d)},94552:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(55609),o=n(65459),i=n(97527),s=n(11230),l=n(69423),c=n(47959);function u(e){let{isPublicizeEnabled:t,isRePublicizeFeatureEnabled:n,isPublicizeDisabledBySitePlan:u}=e;const{connections:p,toggleById:d,hasConnections:m}=(0,l.Z)(),{message:h,updateMessage:f,maxLength:g}=(0,c.Z)();const b=u?a.Disabled:r.Fragment;return(0,r.createElement)(b,null,m&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("ul",{className:"jetpack-publicize__connections-list"},p.map((e=>{let{display_name:a,enabled:i,id:s,service_name:l,toggleable:c,profile_picture:p}=e;return(0,r.createElement)(o.Z,{disabled:n?!t:!c,enabled:i&&!u,key:s,id:s,label:a,name:l,toggleConnection:d,profilePicture:p})})))),!u&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,null),p.some((e=>e.enabled))&&(0,r.createElement)(s.Z,{disabled:!n&&p.every((e=>!e.toggleable)),maxLength:g,onChange:f,message:h})))}},11230:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_n=a._n;function i(e){let{message:t="",onChange:n,disabled:i,maxLength:s}=e;const l=s-t.length;return(0,r.createElement)(o.TextareaControl,{value:t,onChange:n,disabled:i,maxLength:s,placeholder:__("Write a message for your audience here.","jetpack"),rows:4,help:(0,a.sprintf)(
-/* translators: placeholder is a number. */
-_n("%d character remaining","%d characters remaining",l,"jetpack"),l)})}},8425:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(12238),s=n(9818),l=n(9580),c=n(94552),u=n(58933),p=n(69423),d=n(20265),m=n(23731),h=n(99490),f=n(96609);const __=a.__;t.Z=e=>{let{prePublish:t}=e;const{refresh:n,hasConnections:a,hasEnabledConnections:g}=(0,p.Z)(),b=(0,s.useSelect)((e=>e(i.store).isCurrentPostPublished()),[]),{isRePublicizeFeatureEnabled:v,isPublicizeEnabled:k,togglePublicizeFeature:y,isPublicizeDisabledBySitePlan:E,hideRePublicizeFeature:w}=(0,m.Z)(),_=k&&!E;(0,d.M)((function(){g&&n()}),[g,n]);const C=E?o.Disabled:o.PanelRow,j=t?r.Fragment:o.PanelBody,S=t?{}:{title:__("Share this post","jetpack"),className:E?"jetpack-publicize-disabled":""};return(0,r.createElement)(j,S,(0,r.createElement)(f.Z,{isPostPublished:b}),!w&&(0,r.createElement)(r.Fragment,null,v&&!b&&(0,r.createElement)(C,null,(0,r.createElement)(o.ToggleControl,{className:"jetpack-publicize-toggle",label:_&&!E?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:y,checked:_,disabled:!a})),(0,r.createElement)(l.Z,null),(0,r.createElement)(c.Z,{isPublicizeEnabled:_,isRePublicizeFeatureEnabled:v,isPublicizeDisabledBySitePlan:E}),!E&&(0,r.createElement)(u.Z,{prePublish:t}),(0,r.createElement)(h.o,null)))}},97527:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(92819),o=n(75031),i=n(65736),s=n(55609),l=n(4235),c=n(69423);const __=i.__;function u(){const{refresh:e}=(0,c.Z)(),t=(0,l.Z)(),n=(0,a.debounce)((function(t){t&&e()}),2e3),i=t?`https://wordpress.com/marketing/connections/${t}`:"options-general.php?page=sharing&publicize_popup=true";return(0,r.createElement)(o.Z,{onChange:n},(0,r.createElement)("div",{className:"jetpack-publicize-add-connection-wrapper"},(0,r.createElement)(s.ExternalLink,{href:i,target:"_blank"},__("Connect an account","jetpack"))))}},99490:function(e,t,n){"use strict";n.d(t,{o:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(53961),l=n(12238),c=n(90732),u=n(69423),p=n(23731);const __=a.__;function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:__("Unable to share the Post","jetpack");const{createErrorNotice:t}=(0,i.dispatch)(s.store);t(e,{id:"publicize-post-share-message"})}function m(){const{hasEnabledConnections:e}=(0,u.Z)(),{isPublicizeEnabled:t}=(0,p.Z)(),{isFetching:n,isError:a,isSuccess:m,doPublicize:h}=(0,c.Z)(),f=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);(0,r.useEffect)((()=>{if(!n)return a?d():void(m&&function(){const{createSuccessNotice:e}=(0,i.dispatch)(s.store);e(__("Post shared","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[n,a,m]);const g=!t||!e||!f||n;return(0,r.createElement)(o.Button,{isSecondary:!0,onClick:function(){if(!f)return d(__("You must publish your post before you can share it.","jetpack"));(0,i.dispatch)(s.store).removeNotice("publicize-post-share-message"),h()},disabled:g,isBusy:n},__("Share post","jetpack"))}function h(){const{isRePublicizeFeatureEnabled:e,isRePublicizeUpgradableViaUpsell:t}=(0,p.Z)(),n=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);return e&&n?t?null:(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(m,null)):null}},41093:function(e,t,n){"use strict";n.d(t,{nE:function(){return l},H8:function(){return c}});var r=n(69307),a=n(94333),o=n(9818),i=n(92694),s=n(54802);const l={"core/gallery":{contentAttributes:["images"]},"core/heading":{contentAttributes:["content"]},"core/image":{contentAttributes:["alt","url"]},"core/list":{contentAttributes:["values"]},"core/paragraph":{contentAttributes:["content"]},"core/quote":{contentAttributes:["value","citation"]},"core/separator":{contentAttributes:[]},"core/spacer":{contentAttributes:[]},"core/verse":{contentAttributes:["content"]},"core/video":{contentAttributes:["src"]},"core/embed":{contentAttributes:["url"]},"jetpack/gif":{contentAttributes:["giphyUrl"]}},c=["core/column","core/columns","core/group"];(0,i.addFilter)("blocks.registerBlockType","jetpack/publishing-tweetstorms",(e=>{const{edit:t}=e;return{...e,edit:e=>(0,r.createElement)(s.Z,{ChildEdit:t,childProps:e})}}));t.ZP=(0,a.compose)([(0,o.withSelect)((e=>({isTweetStorm:e("jetpack/publicize").isTweetStorm(),isTyping:e("core/block-editor").isTyping()})))])((e=>{let{isTweetStorm:t,isTyping:n}=e;return t?document.body.classList.add("jetpack-tweetstorm"):document.body.classList.remove("jetpack-tweetstorm"),t&&n?document.body.classList.add("jetpack-tweetstorm-is-typing"):document.body.classList.remove("jetpack-tweetstorm-is-typing"),null}))},58933:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(9818);n(42998);const __=a.__;t.Z=(0,i.compose)([(0,s.withSelect)((e=>{const{isTweetStorm:t,getTweetStorm:n}=e("jetpack/publicize");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),isTweetStorm:t(),tweetStormLength:n().length}})),(0,s.withDispatch)((e=>({setTweetstorm:t=>{e("core/editor").editPost({meta:{jetpack_is_tweetstorm:t}}),t?e("jetpack/publicize").refreshTweets():(e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm"),e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm-line-break"))}})))])((e=>{let{connections:t,isTweetStorm:n,tweetStormLength:a,setTweetstorm:i,prePublish:s}=e;if(!t?.some((e=>"twitter"===e.service_name&&e.enabled)))return null;const l=(e,t)=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,e),(0,r.createElement)("br",null),t),c=[];return a>=102?c.push({id:"jetpack-publicize-twitter-tweetstorm-too-long",status:"error",content:__("Only the first 100 tweets of this post will be published in the Twitter thread.","jetpack"),isDismissible:!1}):a>=22?c.push({id:"jetpack-publicize-twitter-tweetstorm-a-bit-long",status:"warning",content:__("This post will create a Twitter thread more than 20 tweets long.","jetpack"),isDismissible:!1}):s&&a<=2&&c.push({id:"jetpack-publicize-twitter-tweetstorm-too-short",status:"warning",content:__("None of the content in this post could be transformed into tweets, it may be better to share as a single tweet.","jetpack"),isDismissible:!1}),(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(o.RadioControl,{label:__("Twitter settings","jetpack"),selected:n?"tweetstorm":"single",options:[{label:l(__("Single Tweet","jetpack"),__("Share a link to this post to Twitter.","jetpack")),value:"single"},{label:l(__("Twitter Thread","jetpack"),__("Share the content of this post as a Twitter thread.","jetpack")),value:"tweetstorm"}],onChange:e=>{i("tweetstorm"===e)}}),n&&(0,r.createElement)(o.NoticeList,{className:"jetpack-publicize-twitter-options__notices",notices:c}))}))},54802:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(55609),i=n(94333),s=n(9818),l=(n(42998),n(51591));class c extends r.Component{componentDidMount(){const{isTweetStorm:e,updateTweets:t}=this.props;e&&t()}componentDidUpdate(e){const{boundaries:t,childProps:n,currentAnnotations:r,isTweetStorm:o,updateAnnotations:i,updateTweets:s,supportedBlockType:l,contentAttributesChanged:c}=this.props;o&&l&&(c(e.childProps,n)&&s(),r.length===t.filter((e=>["normal","line-break"].includes(e.type))).length&&(0,a.isEqual)(e.boundaries,t)||i())}render(){const{ChildEdit:e,childProps:t,isTweetStorm:n,isSelectedTweetBoundary:a,boundaryStylesSelectors:i,popoverWarnings:s}=this.props;return n?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(e,t),a&&(0,r.createElement)("div",{className:"jetpack-publicize-twitter__tweet-divider"},(0,r.createElement)("div",{className:"jetpack-publicize-twitter__tweet-divider-icon"},(0,r.createElement)(l.av,{serviceName:"twitter"})),s.length>0&&(0,r.createElement)(o.Popover,{className:"jetpack-publicize-twitter__tweet-divider-popover",focusOnMount:!1,position:"bottom center"},(0,r.createElement)("ol",null,s.map(((e,t)=>(0,r.createElement)("li",{key:`jetpack-publicize-twitter__tweet-divider-popover-warning-${t}`},e)))))),i&&(0,r.createElement)("style",{type:"text/css"},i.map((e=>`${e}::after {\n\t\t\t\t\t\t\t\tcontent: "";\n\t\t\t\t\t\t\t\tbackground: #0009;\n\t\t\t\t\t\t\t\twidth: 3px;\n\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\tmargin: 0 1px;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.is-dark-theme ${e}::after {\n\t\t\t\t\t\t\t\tbackground: #fff9;\n\t\t\t\t\t\t\t}`)))):(0,r.createElement)(e,t)}}t.Z=(0,i.compose)([(0,s.withSelect)(((e,t)=>{let{childProps:n}=t;const{isTweetStorm:r,getPopoverWarnings:a,getBoundariesForBlock:o,getBoundaryStyleSelectors:i,isSelectedTweetBoundary:s,getSupportedBlockType:l,contentAttributesChanged:c}=e("jetpack/publicize"),u=e("core/annotations").__experimentalGetAllAnnotationsForBlock(n.clientId);return{isTweetStorm:r(),isSelectedTweetBoundary:s(n),boundaries:o(n.clientId),boundaryStylesSelectors:i(n.clientId),popoverWarnings:a(n),currentAnnotations:u,supportedBlockType:l(n.name),contentAttributesChanged:c}})),(0,s.withDispatch)(((e,t,n)=>{let{childProps:r}=t,{select:a}=n;return{updateTweets:()=>e("jetpack/publicize").refreshTweets(),updateAnnotations:()=>{const{contentAttributesChanged:t,getTweetsForBlock:n}=a("jetpack/publicize"),o=n(r.clientId);if(!o||0===o.length)return;if(t(o.reduce(((e,t)=>e||t.blocks.find((e=>e.clientId===r.clientId))),!1),r))return;a("core/annotations").__experimentalGetAllAnnotationsForBlock(r.clientId).forEach((t=>{["jetpack-tweetstorm","jetpack-tweetstorm-line-break"].includes(t.source)&&e("core/annotations").__experimentalRemoveAnnotation(t.id)}));o.filter((e=>e.boundary)).map((e=>e.boundary)).forEach((t=>{const{container:n,type:a,start:o,end:i}=t;"normal"===a?e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm",richTextIdentifier:n,range:{start:o,end:i}}):"line-break"===a&&e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm-line-break",richTextIdentifier:n,range:{start:o,end:i}})}))}}}))])(c)},96609:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609),l=n(84675),c=n(44298),u=n(18733),p=n(23731),d=n(58014),m=n(69423);const __=i.__;function h(e){let{isPostPublished:t}=e;const{isRePublicizeFeatureEnabled:n,isRePublicizeUpgradableViaUpsell:a,isRePublicizeFeatureAvailable:h,isPublicizeEnabled:f}=(0,p.Z)(),g=(0,c.Rl)("republicize"),[b,v,k,y]=(0,u.Z)(g),{hasConnections:E,hasEnabledConnections:w}=(0,m.Z)(),_=f&&!(a&&n);if(!t||!n||t&&h)return(0,r.createElement)("div",null,function(e,t,n,r,a){const o=__("Start sharing your posts by connecting your social media accounts.","jetpack"),i=__("This post will be shared on all your enabled social media accounts the moment you publish the post.","jetpack");return t?r?n&&a?n&&a&&!e?i:__("Share this post on all your enabled social media accounts by clicking on the share post button.","jetpack"):__("Use this tool to share your post on all your social media accounts.","jetpack"):o:e?o:i}(t,n,_,E,w));const C=y?.product_name||__("paid","jetpack"),j=!(0,d.Ug)()&&!(0,d.Wp)(),S=j?__("Re-sharing your content","jetpack"):__("Share Your Content Again","jetpack",0),x=j?"https://jetpack.com/support/publicize/#re-sharing-your-content":"https://wordpress.com/support/publicize/#share-your-content-again",T=__("Upgrade now","jetpack");return h||a?(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("div",{className:"jetpack-publicize__upsell-description"},(0,i.sprintf)(
+(0,i.sprintf)(__("Error: %s","jetpack"),b))))}function v(e){let{tracks:t=[],onChange:n,guid:a}=e;const[o,i]=(0,r.useState)(null);return(0,r.createElement)(s.Dropdown,{contentClassName:"videopress-block-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,r.createElement)(s.ToolbarButton,{label:__("Text tracks","jetpack"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:h})},renderContent:()=>null!==o?(0,r.createElement)(b,{track:t[o],guid:a,onChange:e=>{const r=[...t];r[o]=e,n(r)},onClose:()=>i(null),onCancel:()=>{n(t.filter(((e,t)=>t!==o))),i(null)},trackExists:e=>-1!==t.filter(((e,t)=>t!==o)).findIndex((t=>t.kind===e.kind&&t.srcLang===e.srcLang))}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)(g,{tracks:t,onChange:n,guid:a}),(0,r.createElement)(s.MenuGroup,{className:"videopress-block-tracks-editor__add-tracks-container",label:__("Add tracks","jetpack")},(0,r.createElement)(s.MenuItem,{icon:c.Z,onClick:()=>{(()=>{const e=t.length,r=[...t];r[e]||(r[e]={}),r[e]={...t[e]},n(r),i(e)})()}},__("Upload track","jetpack")))))})}},90953:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d,useAverageColor:m}=t;if(!e)return null;const h={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d},...m&&{useAverageColor:!0}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,h)}},77290:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(90879),a=n(65235),o=n.n(a);const i=e=>{const t=r.s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1});return o()(e,t)};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return i(t);const a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;const s=a.body.querySelector("iframe");if(s&&s.height&&s.width){const e=(s.width/s.height).toFixed(2);for(let n=0;n<r.s.length;n++){const a=r.s[n];if(e>=a.ratio)return o()(i(t),a.className,"wp-has-aspect-ratio")}}return t}},50354:function(e,t,n){"use strict";n.d(t,{U:function(){return i},m:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i="mrec",s=[{height:250,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:__("Rectangle 300x250","jetpack"),tag:i,width:300,editorPadding:30},{height:90,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:__("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:__("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),(0,r.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:__("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}]},56565:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(1020);const __=i.__,l=e=>{let{value:t,onChange:n}=e;return(0,r.createElement)(o.PanelBody,{title:__("Visibility","jetpack")},(0,r.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:!!t,label:__("Hide on mobile","jetpack"),help:__("Hides this block for site visitors on mobile devices.","jetpack"),onChange:n}))};t.Z=e=>{let{attributes:{format:t,hideMobile:n},setAttributes:o}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(s.Z,{value:t,onChange:e=>o({format:e})})),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(l,{value:n,onChange:e=>o({hideMobile:!!e})})))}},53193:function(e,t,n){"use strict";var r=n(69307),a=n(56565),o=n(50354),i=n(72473),s=n(52203),l=n(38511),c=n(80405);t.Z=e=>{let{attributes:t,setAttributes:n}=e;const{format:u}=t,p=o.m.find((e=>{let{tag:t}=e;return t===u}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Z,{attributes:t,setAttributes:n}),(0,r.createElement)("div",{className:`wp-block-jetpack-wordads jetpack-wordads-${u}`},(0,r.createElement)("div",{className:"jetpack-wordads__ad",style:{width:p.width,height:p.height,backgroundImage:`url( ${(e=>{switch(e){case"leaderboard":return s;case"mobile_leaderboard":return l;case"wideskyscraper":return c;default:return i}})(u)} )`,backgroundSize:"cover"}})))}},1020:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(50354);const s=(0,a.__)("Pick an ad format","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.ToolbarGroup,{controls:[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:s,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},i.m.map((e=>{let{tag:i,name:s,icon:l}=e;return(0,r.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:l,isSelected:i===t,key:i,onClick:()=>{n(i),a()},role:"menuitemcheckbox"},s)})))}})}},57795:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},u2:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(53193),s=n(50354),l=n(70355);const __=a.__,_x=a._x,c="wordads",u=__("Ad","jetpack"),p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),d={title:u,description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Earn income by adding high quality ads to your post","jetpack")),(0,r.createElement)(o.ExternalLink,{href:"https://wordads.co/"},__("Learn all about WordAds","jetpack"))),icon:{src:p,foreground:(0,l.m)()},attributes:{align:{type:"string",default:"center"},format:{type:"string",default:s.U},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"earn",keywords:[_x("ads","block search term","jetpack"),"WordAds",_x("advertisement","block search term","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:i.Z,save:()=>null}},6460:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"descript",title:"Descript",icon:o.h,keywords:[__("descript","jetpack")],description:__("Embed a Descript Item.","jetpack"),patterns:[/^https:\/\/share.descript.com\/(view|embed)\/\w+/i],attributes:{providerNameSlug:"descript",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},5166:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(70355);const __=a.__,_x=a._x,i={name:"facebook",title:"Facebook",icon:{src:"facebook",foreground:(0,o.m)()},keywords:[_x("social","block search term","jetpack")],description:__("Embed a Facebook post.","jetpack"),patterns:[/^https?:\/\/www\.facebook.com\/.+/i],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateFacebookEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations)return e;const n=e.variations.filter((e=>e.name!==i.name));return e.variations=[...n,i],e}))},36215:function(e,t,n){"use strict";n(5166),n(20970),n(25467),n(91128),n(6460)},20970:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(70355),i=n(12923);const __=a.__,_x=a._x,s={name:"instagram",title:"Instagram",icon:{src:"instagram",foreground:(0,o.m)()},keywords:[_x("image","block search term","jetpack"),_x("social","block search term","jetpack")],description:__("Embed an Instagram post.","jetpack"),patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i],attributes:{providerNameSlug:"instagram",responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateInstagramEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations||!(0,i.Z)())return e;const n=e.variations.filter((e=>e.name!==s.name));return e.variations=[...n,s],e}))},25467:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"loom",title:"Loom",icon:o.zf,keywords:[__("video","jetpack")],description:__("Embed a Loom video.","jetpack"),patterns:[/^https?:\/\/(www\.)?loom\.com\/share\/.+/i],attributes:{providerNameSlug:"loom",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},91128:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"smartframe",title:"SmartFrame",icon:o.Ae,keywords:[__("smartframe","jetpack")],description:__("Embed a SmartFrame Image.","jetpack"),patterns:[/^https?:\/\/(.*?).smartframe.(io|net)\/.*/i],attributes:{providerNameSlug:"smartframe",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},31657:function(e,t,n){"use strict";var r=n(92694),a=n(4981),o=n(6512);const i={from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"jetpack_widget_social_icons"===t},transform:e=>{let{instance:t}=e,n=[];return t.raw.icons.forEach((e=>{const t=new URL(e.url.includes(":")?e.url:"https://"+e.url),r=t.hostname?t.hostname:t.protocol,i=o.Z.find((e=>r.includes(e.url)||e.url.includes(r))),s=(0,a.createBlock)("core/social-link",{service:i?i.name:"chain",url:e.url});n=[...n,s]})),(0,a.createBlock)("core/social-links",{},n)}}]};(0,r.addFilter)("blocks.registerBlockType","addTransformToSocialLinksWidget",(function(e,t){return"core/social-links"!==t||(e.transforms=i),e}))},6512:function(e,t){"use strict";t.Z=[{name:"wordpress",url:["wordpress."]},{name:"fivehundredpx",url:["500px.com"]},{name:"amazon",url:["amazon."]},{name:"bandcamp",url:["bandcamp.com"]},{name:"behance",url:["behance.net"]},{name:"codepen",url:["codepen.io"]},{name:"deviantart",url:["deviantart.com"]},{name:"dribbble",url:["dribbble.com"]},{name:"dropbox",url:["dropbox.com"]},{name:"etsy",url:["etsy.com"]},{name:"facebook",url:["facebook.com"]},{name:"flickr",url:["flickr.com"]},{name:"foursquare",url:["foursquare.com"]},{name:"goodreads",url:["goodreads.com"]},{name:"google",url:["google."]},{name:"github",url:["github.com"]},{name:"instagram",url:["instagram.com"]},{name:"lastfm",url:["last.fm"]},{name:"linkedin",url:["linkedin.com"]},{name:"mail",url:["mailto:"]},{name:"linkedin",url:["linkedin.com"]},{name:"mastodon",url:["mastodon.social"]},{name:"meetup",url:["meetup.com"]},{name:"medium",url:["medium.com"]},{name:"patreon",url:["patreon.com"]},{name:"pinterest",url:["pinterest."]},{name:"pocket",url:["getpocket.com"]},{name:"reddit",url:["reddit.com"]},{name:"skype",url:["skype.com","skype:"]},{name:"snapchat",url:["snapchat.com"]},{name:"soundcloud",url:["soundcloud.com"]},{name:"spotify",url:["spotify.com"]},{name:"telegram",url:["telegram.me","t.me"]},{name:"tiktok",url:["tiktok.com"]},{name:"tumblr",url:["tumblr.com"]},{name:"twitch",url:["twitch.tv"]},{name:"twitter",url:["twitter.com"]},{name:"vimeo",url:["vimeo.com"]},{name:"vk",url:["vk.com"]},{name:"yelp",url:["yelp.com"]},{name:"youtube",url:["youtube.com"]}]},87950:function(e,t,n){"use strict";n.d(t,{L:function(){return o},x:function(){return a}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o},children:i})}},23984:function(e,t,n){"use strict";var r=n(92819),a=n(13419),o=n(47701),i=n.n(o),s=n(92694),l=n(65736),c=n(27003),u=n(42770),p=n(30371),d=n(7832);const __=l.__,m=[];(0,s.addFilter)("blocks.registerBlockType","jetpack/paid-block",((e,t)=>((0,a.X1)(t)&&(m.includes(t)||m.push(t),e.keywords=(0,r.uniq)([...e.keywords,"premium",__("premium","jetpack")]),(0,a.HD)(t)||(e.icon=(0,u.Z)(e.icon)),e.attributes.shouldDisplayFrontendBanner||(e.attributes.shouldDisplayFrontendBanner={type:"boolean",default:!0})),e))),(0,s.addFilter)("editor.BlockListBlock","jetpack/paid-block-with-warning",c.Z),(0,s.addFilter)("editor.MediaPlaceholder","jetpack/paid-block-media-placeholder",p.Z),(0,s.addFilter)("editor.MediaReplaceFlow","jetpack/paid-block-media-placeholder",d.Z),i()((function(){(0,a.FK)()&&document.body.classList.add("jetpack-enable-upgrade-nudge")}))},30371:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(13419),c=n(11317),u=n(87950);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,l.m3)(n);if(null==r||!r.mediaPlaceholder||!(0,l.X1)(n))return(0,o.createElement)(e,t);const{fileType:s}=r,{onError:p}=t,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x),m=(0,o.useCallback)((e=>d((null==e?void 0:e.length)&&(0,c.Qu)(e[0],s))),[s,d]),h=(0,o.useCallback)((e=>{var t,n;const r=null==e||null===(t=e[0])||void 0===t||null===(n=t.props)||void 0===n?void 0:n.children;return(0,c.Qu)(r,s)?m([r]):p(e)}),[m,s,p]);return(0,o.createElement)("div",{className:"paid-block-media-placeholder"},(0,o.createElement)(e,a()({},t,{onFilesPreUpload:m,onError:h})))}),"withMediaPlaceholderUpgradable")},7832:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(13419),s=n(52175),l=n(94333),c=n(11317),u=n(87950);t.Z=(0,l.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,s.useBlockEditContext)(),r=(0,i.m3)(n),l=(0,o.useRef)();if(null==r||!r.mediaReplaceFlow||!(0,i.X1)(n))return(0,o.createElement)(e,t);const{fileType:p}=r,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x);return(0,o.createElement)(e,a()({},t,{onFilesUpload:e=>{l.current=null!=e&&e.length?e[0]:null,d((null==e?void 0:e.length)&&(0,c.Qu)(e[0],p))},createNotice:(e,n,r)=>{if((0,c.Qu)(l.current,p))return l.current=null,null;t.createNotice(e,n,r)}}))}),"withMediaReplaceFlowUpgradable")},95796:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{cx:t=23,cy:n=3,r:o=4,fill:i="#e34c84",stroke:s="#ffffff",strokeWidth:l="2"}=e;return(0,r.createElement)(a.Circle,{className:"jetpack-paid-block-symbol",cx:t,cy:n,r:o,fill:i,stroke:s,strokeWidth:l})}},42770:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(69307),a=n(13419),o=n(95796);const i=e=>{var t,n,a;return null!==(t=e)&&void 0!==t&&t.src?e={...e,src:(0,r.cloneElement)(e.src,{children:[e.src.props.children,(0,r.createElement)(o.Z,{key:"paid-symbol"})]})}:null!==(n=e)&&void 0!==n&&null!==(a=n.props)&&void 0!==a&&a.children&&(e=(0,r.cloneElement)(e,{children:[e.props.children,(0,r.createElement)(o.Z,{key:"paid-symbol"})]})),e};function s(e,t){return(0,a.X1)(e)?i(t):t}t.Z=i},66316:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(9818),i=n(78798),s=n(26546);const __=a.__,l=__("Premium Block","jetpack"),
+/** translators: %s: name of the plan. */
+c=__("Upgrade to %s to use this premium block","jetpack"),u=(__("Upgrade your plan to use this premium block","jetpack"),__("Upgrade","jetpack"));t.ZP=e=>{let{onRedirect:t,align:n,className:p,title:d=l,description:m=null,buttonText:h=u,visible:f=!0,requiredPlan:g,context:b}=e;const[v,k,y]=(0,i.Z)(g,t),E=(0,o.useSelect)((e=>{if(m)return m;const t=e("wordpress-com/plans"),n=t&&t.getPlan(g);return n?(0,a.sprintf)(c,n.product_name_short):null}),[m]);return E&&(0,r.createElement)(s.p,{align:n,buttonText:h,checkoutUrl:v,className:p,context:b,description:E,goToCheckoutPage:k,isRedirecting:y,title:d,visible:f})}},38140:function(e,t,n){"use strict";n.d(t,{W:function(){return o},v:function(){return a}});var r=n(84069);const a=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:t,block:n,context:a})},o=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_banner_impression",{plan:t,block:n,context:a})}},27003:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(13419),c=n(94333),u=n(9818),p=n(66316),d=n(87950),m=n(38140);t.Z=(0,c.createHigherOrderComponent)((e=>t=>{var n;const{name:r,className:i,clientId:c,isSelected:h,attributes:f,setAttributes:g}=t||{},{onChildBannerVisibilityChange:b,hasParentBanner:v}=(0,o.useContext)(d.x)||{},k=(0,l.Rl)(r);if(!k)return(0,o.createElement)(e,t);const y=(0,l.HD)(r),E=(0,l.m3)(r),[w,_]=(0,o.useState)(!y),[C,j]=(0,o.useState)(!1),[S,x]=(0,o.useState)(!1),P="editor-canvas",T=(0,u.useSelect)((e=>e("core/block-editor").hasSelectedInnerBlock(c,!0)),[]),N=(h||T)&&w&&!S,A=(0,o.useMemo)((()=>({plan:k,blockName:r,context:P})),[k,r,P]);(0,o.useEffect)((()=>{N&&j(!0)}),[N,j]),(0,o.useEffect)((()=>{!C&&N&&(0,m.W)(A)}),[C,A,N]),(0,o.useEffect)((()=>_(!y)),[f,_,y]),(0,o.useEffect)((()=>{g({shouldDisplayFrontendBanner:!v})}),[g,v]),(0,o.useEffect)((()=>{b&&b(N||S)}),[N,S,b]);const I=s()(i,{"is-upgradable":N});return(0,o.createElement)(d.L,{onBannerVisibilityChange:_,onChildBannerVisibilityChange:x,hasParentBanner:!0},(0,o.createElement)(p.ZP,{className:`is-${t.name.replace(/\//,"-")}-paid-block`,title:null,align:null==t||null===(n=t.attributes)||void 0===n?void 0:n.align,visible:N,description:null==E?void 0:E.description,requiredPlan:k,context:P,onRedirect:()=>(0,m.v)(A)}),(0,o.createElement)(e,a()({},t,{className:I})))}),"withUpgradeBanner")},29719:function(e,t,n){"use strict";n.d(t,{X:function(){return m},u:function(){return d}});var r=n(69307),a=n(26324),o=n(55609),i=n(72067),s=n(9818),l=n(12238),c=n(64967),u=n(65736),p=n(84069);const __=u.__,d="payments",m={render:()=>{const e=(0,a.Z)("wpcom-payments-donations");return"page"!==(0,s.useSelect)((e=>e(l.store).getCurrentPostType()),[])?null:(0,r.createElement)(i.PluginPostPublishPanel,{className:"jetpack-payments-post-publish-panel",title:__("Start accepting payments","jetpack"),initialOpen:!0,icon:c.Z},(0,r.createElement)("p",null,__("Insert the Payment Button or the Donations Form — no plugin required.","jetpack")),(0,r.createElement)("p",null,(0,r.createElement)(o.ExternalLink,{href:e,onClick:()=>{p.Z.tracks.recordEvent("jetpack_editor_payments_post_publish_click")}},__("Learn more about these blocks","jetpack"))))}}},69683:function(e,t,n){"use strict";n.d(t,{D:function(){return m}});var r=n(69307),a=n(9818),o=n(12238),i=n(55609),s=n(65736),l=n(49777),c=n(41141),u=n(65864),p=n(81427);const __=s.__;function d(){const e=(0,r.useRef)(),[t,n]=(0,r.useState)();(0,r.useEffect)((()=>{if(null==e||!e.current)return;const t=e.current.querySelector("svg");if(!t)return;const r=(new XMLSerializer).serializeToString(t);n(`data:image/svg+xml;base64,${window.btoa(r)}`)}),[e]);const i=(0,a.useSelect)((e=>e(o.store).getPermalink()),[]),{dataUrl:s}=(0,c.Z)({generateDataUrl:!0}),u=s||t;return(0,r.createElement)("div",{ref:e},(0,r.createElement)(l.Z,{value:i,size:300,imageSettings:u&&{src:u,width:64,height:64},renderAs:"canvas",level:"H"}),(0,r.createElement)(p.IM,{className:"qr-post-jetpack-logo",size:48,border:2}))}function m(){const e=(0,r.useRef)(),t=(0,a.useSelect)((e=>e(o.store).getEditedPostSlug()),[]),[n,s]=(0,r.useState)(!1),l=()=>s(!1);return(0,r.createElement)("div",{className:"qr-post-button"},(0,r.createElement)(i.Button,{isSecondary:!0,onClick:()=>s((e=>!e))},__("Get QR code","jetpack")),n&&(0,r.createElement)(i.Modal,{title:__("QR Post code","jetpack"),onRequestClose:l,className:"qr-post-modal"},(0,r.createElement)("div",{className:"qr-post-modal__qr-code",ref:e},(0,r.createElement)(d,null)),(0,r.createElement)("div",{className:"qr-post-modal__actions_buttons"},(0,r.createElement)(i.Button,{isSecondary:!0,onClick:()=>(0,u.N)(t,e)},__("Download","jetpack")),(0,r.createElement)(i.Button,{isSecondary:!0,onClick:l},__("Close","jetpack")))))}},41141:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9818),a=n(69307),o=n(37798),i=n(92694);function s(){let{generateDataUrl:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=(0,a.useState)(),{id:s,mediaItemData:l}=(0,r.useSelect)((e=>{const{canUser:t,getEntityRecord:n,getEditedEntityRecord:r}=e(o.store),a=r("root","site"),i=n("root","__unstableBase"),s=null==a?void 0:a.site_logo,l=null==i?void 0:i.site_logo,c=t("update","settings")?s:l,u=c&&e(o.store).getMedia(c,{context:"view"});return{id:c,mediaItemData:u&&{mediaId:u.id,url:u.source_url,alt:u.alt_text}}}),[]);if(!s||null==l||!l.url)return{};if(!e)return{id:s,...l};const c=new Image,u=(0,i.applyFilters)("media.crossOrigin",void 0,l.url);return"string"==typeof u&&(c.crossOrigin=u),c.onload=function(){const e=document.createElement("canvas"),t=e.getContext("2d");e.height=this.naturalHeight,e.width=this.naturalWidth,t.fillStyle="white",t.lineJoin="round",t.fillRect(0,0,e.width,e.height);const r=.08*e.width;t.drawImage(this,r,r,e.width-2*r,e.height-2*r);try{n(e.toDataURL("image/png"))}catch(e){console.warn("Error generating QR code extensions post-publish-qr-post-panel: ",e),console.warn("In case it's a cross-origin issue, take a look at https://developer.wordpress.org/block-editor/reference-guides/filters/editor-filters/#media-crossorigin"),n(null)}},c.src=l.url,{id:s,...l,dataUrl:t}}},30730:function(e,t,n){"use strict";n.d(t,{X:function(){return d},u:function(){return p}});var r=n(69307),a=n(55609),o=n(72067),i=n(65736),s=n(9818),l=n(12238),c=n(34613),u=n(69683);const __=i.__,p="post-publish-qr-post-panel",d={render:function(){const e={name:"post-publish-qr-post-panel",title:__("QR Code","jetpack"),className:"post-publish-qr-post-panel",icon:null,initialOpen:!0},t=(0,s.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);function n(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("p",null,__("Take advantage of the QR code to open the post from different devices.","jetpack"))),(0,r.createElement)(u.D,null))}return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PluginPostPublishPanel,e,(0,r.createElement)(n,null)),t&&(0,r.createElement)(c.Z,null,(0,r.createElement)(a.PanelBody,e,(0,r.createElement)(n,null))))}}},65864:function(e,t,n){"use strict";function r(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return;if(null==t||!t.current)return;const r=t.current.querySelector("canvas");r&&r.toBlob((t=>{const r=URL.createObjectURL(t),a=document.createElement("a");a.href=r,a.setAttribute(n?"download":"target",`qr-post-${e}.png`),a.click()}))}n.d(t,{N:function(){return r}})},1393:function(e,t,n){"use strict";var r=n(69307),a=n(74356),o=n(65736),i=n(55609),s=n(12238),l=n(9818),c=n(42401),u=n(37271),p=n(18374);const __=o.__;t.Z=e=>{let{prePublish:t}=e;const{refresh:n,hasConnections:o,hasEnabledConnections:d}=(0,a.oL)(),m=(0,l.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),{isRePublicizeFeatureEnabled:h,isPublicizeEnabled:f,togglePublicizeFeature:g,isPublicizeDisabledBySitePlan:b,hideRePublicizeFeature:v}=(0,c.Z)(),k=f&&!b;(0,a.M1)((function(){d&&n()}),[d,n]);const y=b?i.Disabled:i.PanelRow,E=t?r.Fragment:i.PanelBody,w=t?{}:{title:__("Share this post","jetpack"),className:b?"jetpack-publicize-disabled":""};return(0,r.createElement)(E,w,(0,r.createElement)(p.Z,{isPostPublished:m}),!v&&(0,r.createElement)(r.Fragment,null,h&&!m&&(0,r.createElement)(y,null,(0,r.createElement)(i.ToggleControl,{className:"jetpack-publicize-toggle",label:k&&!b?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:g,checked:k,disabled:!o})),(0,r.createElement)(a.dZ,null),(0,r.createElement)(a.l0,{isPublicizeEnabled:k,isRePublicizeFeatureEnabled:h,isPublicizeDisabledBySitePlan:b}),k&&(0,r.createElement)(a.rP,{prePublish:t}),(0,r.createElement)(u.o,null)))}},37271:function(e,t,n){"use strict";n.d(t,{o:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(53961),l=n(12238),c=n(74356),u=n(31281),p=n(42401);const __=a.__;function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:__("Unable to share the Post","jetpack");const{createErrorNotice:t}=(0,i.dispatch)(s.store);t(e,{id:"publicize-post-share-message"})}function m(){const{hasEnabledConnections:e}=(0,c.oL)(),{isPublicizeEnabled:t}=(0,p.Z)(),{isFetching:n,isError:a,isSuccess:m,doPublicize:h}=(0,u.Z)(),f=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);(0,r.useEffect)((()=>{if(!n)return a?d():void(m&&function(){const{createSuccessNotice:e}=(0,i.dispatch)(s.store);e(__("Post shared","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[n,a,m]);const g=!t||!e||!f||n;return(0,r.createElement)(o.Button,{variant:"secondary",onClick:function(){if(!f)return d(__("You must publish your post before you can share it.","jetpack"));(0,i.dispatch)(s.store).removeNotice("publicize-post-share-message"),h()},disabled:g,isBusy:n},__("Share post","jetpack"))}function h(){const{isRePublicizeFeatureEnabled:e,isRePublicizeUpgradableViaUpsell:t}=(0,p.Z)(),n=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);return e&&n?t?null:(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(m,null)):null}},18374:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65235),o=n.n(a),i=n(13419),s=n(65736),l=n(55609),c=n(15381),u=n(74356),p=n(78798),d=n(42401);const __=s.__;function m(e){let{isPostPublished:t}=e;const{isRePublicizeFeatureEnabled:n,isRePublicizeUpgradableViaUpsell:a,isRePublicizeFeatureAvailable:m,isPublicizeEnabled:h}=(0,d.Z)(),f=(0,i.Rl)("republicize"),[g,b,v,k]=(0,p.Z)(f),{hasConnections:y,hasEnabledConnections:E}=(0,u.oL)(),w=h&&!(a&&n);if(!t||!n||t&&m)return(0,r.createElement)("div",null,function(e,t,n,r,a){const o=__("Start sharing your posts by connecting your social media accounts.","jetpack"),i=__("This post will be shared on all your enabled social media accounts the moment you publish the post.","jetpack");return t?r?n&&a?n&&a&&!e?i:__("Share this post on all your enabled social media accounts by clicking on the share post button.","jetpack"):__("Use this tool to share your post on all your social media accounts.","jetpack"):o:e?o:i}(t,n,w,y,E));const _=(null==k?void 0:k.product_name)||__("paid","jetpack"),C=!(0,i.Ug)()&&!(0,i.Wp)(),j=C?__("Re-sharing your content","jetpack"):__("Share Your Content Again","jetpack",0),S=C?"https://jetpack.com/support/publicize/#re-sharing-your-content":"https://wordpress.com/support/publicize/#share-your-content-again",x=__("Upgrade now","jetpack");return m||a?(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("div",{className:"jetpack-publicize__upsell-description"},(0,s.sprintf)(
/* translators: placeholder is the product name of the plan. */
-__("To re-share a post, you need to upgrade to the %s plan","jetpack"),C)),(0,r.createElement)(s.Button,{href:k?null:b,onClick:v,target:"_top",icon:l.Z,className:o()("jetpack-publicize__upsell-button is-primary",{"jetpack-upgrade-plan__hidden":!b}),isBusy:k},k?__("Redirecting…","jetpack"):T)):(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("strong",null,S),(0,r.createElement)("br",null),(0,i.sprintf)(
+__("To re-share a post, you need to upgrade to the %s plan","jetpack"),_)),(0,r.createElement)(l.Button,{href:v?null:g,onClick:b,target:"_top",icon:c.Z,className:o()("jetpack-publicize__upsell-button is-primary",{"jetpack-upgrade-plan__hidden":!g}),isBusy:v},v?__("Redirecting…","jetpack"):x)):(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("strong",null,j),(0,r.createElement)("br",null),(0,s.sprintf)(
/* translators: placeholder is the product name of the plan. */
-__("This feature is for sites with a %s plan.","jetpack"),C),(0,r.createElement)("br",null),(0,r.createElement)(s.ExternalLink,{href:x},__("More information.","jetpack")))}},23731:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(9818),a=n(12238),o=n(21409),i=n(44298);const s="republicize";function l(){const{togglePublicizeFeature:e}=(0,r.useDispatch)("jetpack/publicize"),{available:t}=(0,o.Z)(s),n=(0,r.useSelect)((e=>e(a.store).isCurrentPostPublished()),[]),l=(0,r.useSelect)((e=>e("jetpack/publicize").getFeatureEnableState()),[]),c=!!window?.Jetpack_Editor_Initial_State.jetpack?.republicize_enabled,u=(0,i.X1)(s);return{isPublicizeEnabledMeta:l,isRePublicizeFeatureEnabled:c,isPublicizeEnabled:n&&!(u&&c)||l,togglePublicizeFeature:e,isPublicizeDisabledBySitePlan:c&&n&&u,isRePublicizeFeatureAvailable:t,isRePublicizeUpgradableViaUpsell:u,hideRePublicizeFeature:n&&!t&&!u&&c}}},20265:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(94333),a=n(12238),o=n(9818),i=n(69307);function s(e,t){const n=(0,o.useSelect)((e=>e(a.store).isPublishingPost()),[]),s=(0,r.usePrevious)(n);(0,i.useEffect)((()=>{s&&!n&&e()}),[n,s,e,t])}},90732:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(86989),a=n.n(r),o=n(9818),i=n(12238),s=n(69307),l=n(65736),c=n(47959),u=n(69423);const __=l.__;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 d(e){const{message:t}=(0,c.Z)(),{skippedConnections:n}=(0,u.Z)(),r=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]);e=e||r;const[l,d]=(0,s.useState)({data:[],error:{}}),m=(0,s.useCallback)((function(){const r={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(!l.isFetching)return d({...r,isFetching:!0}),a()({path:`/wpcom/v2/posts/${e}/publicize`,method:"POST",data:{message:t,skipped_connections:n}}).then((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=p(e);if(t)return d((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));d((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:e?.results,error:{}})))})).catch((e=>{d((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:p(e)})))})),function(){d(r)}}),[e,t,n,l.isFetching]);return{...l,doPublicize:m}}},69423:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9818);function a(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,r.useDispatch)("jetpack/publicize"),n=(0,r.useSelect)((e=>e("jetpack/publicize").getConnections()),[]),a=n.filter((e=>!e.enabled)).map((e=>e.id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:n&&n.some((e=>e.enabled)),skippedConnections:a,toggleById:t,refresh:e}}},47959:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9818),a=n(12238);function o(){const{editPost:e}=(0,r.useDispatch)(a.store),{message:t,maxLength:n}=(0,r.useSelect)((e=>({message:e("jetpack/publicize").getShareMessage(),maxLength:e("jetpack/publicize").getShareMessageMaxLength()})),[]);return{message:t,maxLength:n,updateMessage:function(t){e({meta:{jetpack_publicize_message:t}})}}}},72228:function(e,t,n){"use strict";n.d(t,{u:function(){return u},X:function(){return p}});var r=n(69307),a=n(65736),o=n(72067),i=n(12238),s=(n(64967),n(41093)),l=n(32673),c=n(8425);const __=a.__,u="publicize",p={render:()=>(0,r.createElement)(i.PostTypeSupportCheck,{supportKeys:"publicize"},(0,r.createElement)(s.ZP,null),(0,r.createElement)(l.Z,null,(0,r.createElement)(c.Z,null)),(0,r.createElement)(o.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:(0,r.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},__("Share this post","jetpack"))},(0,r.createElement)(c.Z,{prePublish:!0})))}},59213:function(e,t,n){"use strict";n.r(t),n.d(t,{refreshConnectionTestResults:function(){return a},toggleConnectionById:function(){return o},togglePublicizeFeature:function(){return i},fetchFromAPI:function(){return s},refreshTweets:function(){return l},setTweets:function(){return c},getTwitterCards:function(){return u},setTwitterCards:function(){return p}});var r=n(9818);function a(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function o(e){return{type:"TOGGLE_CONNECTION_BY_ID",connectionId:e}}function i(){return{type:"TOGGLE_PUBLICIZE_FEATURE"}}function s(e){return{type:"FETCH_FROM_API",path:e}}function l(){return{type:"REFRESH_TWEETS"}}function c(e){return{type:"SET_TWEETS",tweets:e}}function u(e){const{twitterCardIsCached:t}=(0,r.select)("jetpack/publicize");return{type:"GET_TWITTER_CARDS",urls:e.filter((e=>!t(e)))}}function p(e){return{type:"SET_TWITTER_CARDS",cards:e}}},39808:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z={FETCH_FROM_API:e=>{let{path:t}=e;return a()({path:t})}}},94663:function(e,t,n){"use strict";var r=n(92819),a=n(86989),o=n.n(a),i=n(4981),s=n(9818),l=n(12238),c=n(41093);const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const{getSupportedBlockType:t}=(0,s.select)("jetpack/publicize");return(0,r.flatMap)(e,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(e.name)||e.name.startsWith("core-embed/")?e:c.H8.includes(e.name)?u(e.innerBlocks):[]}))};const p=(0,r.throttle)((async function(){const e=(0,s.select)("core/editor").getBlocks(),t=u(e);try{const e=await o()({path:"/wpcom/v2/tweetstorm/parse",data:{blocks:t.map((e=>({attributes:e.attributes,block:(0,i.serialize)(e),clientId:e.clientId})))},method:"POST"}),n=(0,r.flatMap)(e,(e=>e.urls));return(0,s.dispatch)("jetpack/publicize").getTwitterCards(n),(0,s.dispatch)("jetpack/publicize").setTweets(e)}catch(e){}}),2e3,{leading:!0,trailing:!0});t.ZP={REFRESH_CONNECTION_TEST_RESULTS:async function(){try{const e=await o()({path:"/wpcom/v2/publicize/connection-test-results"}),t=(0,s.select)("jetpack/publicize").getConnections(),n=e,r=[],a={done:!1,enabled:!0,toggleable:!0};for(const e of n){const n=t.find((t=>t.id===e.id)),{done:o,enabled:i,toggleable:s}=null!=n?n:a,l={display_name:e.display_name,service_name:e.service_name,id:e.id,profile_picture:e.profile_picture,done:o,enabled:i,toggleable:s};r.push(l)}return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:r})}catch(e){}},TOGGLE_CONNECTION_BY_ID:async function(e){let{connectionId:t}=e;const n=(0,s.select)("jetpack/publicize").getConnections().map((e=>({...e,enabled:e.id===t?!e.enabled:e.enabled})));return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:n})},TOGGLE_PUBLICIZE_FEATURE:async function(){const e=(0,s.select)("jetpack/publicize").getFeatureEnableState();return(0,s.dispatch)(l.store).editPost({meta:{jetpack_publicize_feature_enabled:!e}})},REFRESH_TWEETS:p,GET_TWITTER_CARDS:async function(e){if(0===e.urls.length)return(0,s.dispatch)("jetpack/publicize").setTwitterCards([]);try{const t=await o()({path:"/wpcom/v2/tweetstorm/generate-cards",data:{urls:e.urls},method:"POST"});return(0,s.dispatch)("jetpack/publicize").setTwitterCards(t)}catch(e){}}}},64967:function(e,t,n){"use strict";var r=n(9818),a=n(59213),o=n(62016),i=n(49591),s=n(39808),l=n(44391);const c=(0,r.registerStore)("jetpack/publicize",{actions:a,controls:s.Z,reducer:l.Z,selectors:o});(0,i.Z)(c)},49591:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2601),a=n.n(r),o=n(92819),i=n(94663);function s(e){const t=[a()(i.ZP)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},44391:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={tweets:[],twitterCards:[]};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REFRESH_CONNECTION_TEST_RESULTS":case"TOGGLE_CONNECTION_BY_ID":case"TOGGLE_PUBLICIZE_FEATURE":return e;case"SET_TWEETS":return{...e,tweets:t.tweets};case"GET_TWITTER_CARDS":{const n={};return t.urls.forEach((e=>n[e]={error:"loading"})),{...e,twitterCards:{...e.twitterCards,...n}}}case"SET_TWITTER_CARDS":return{...e,twitterCards:{...e.twitterCards,...t.cards}}}return e}},62016:function(e,t,n){"use strict";n.r(t),n.d(t,{getFailedConnections:function(){return u},getMustReauthConnections:function(){return p},getTweetTemplate:function(){return d},getTweetStorm:function(){return m},getFirstTweet:function(){return h},getLastTweet:function(){return f},getSupportedBlockType:function(){return g},getTweetsForBlock:function(){return b},getTwitterCardForURLs:function(){return v},twitterCardIsCached:function(){return k},getShareMessage:function(){return y},getShareMessageMaxLength:function(){return E},isTweetStorm:function(){return w},getBoundariesForBlock:function(){return _},getBoundaryStyleSelectors:function(){return j},checkForTagsInContentAttributes:function(){return S},getPopoverWarnings:function(){return x},isSelectedTweetBoundary:function(){return T},contentAttributesChanged:function(){return N},getConnections:function(){return P},getFeatureEnableState:function(){return A}});var r=n(92819),a=n(19551),o=n(9818),i=n(65736),s=n(12238),l=n(41093);const __=i.__,c="\n\n"+__("A thread ⬇️","jetpack");function u(){return P().filter((e=>!1===e.test_success))}function p(){return P().filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function d(e){const t=(e.connections||P())?.find((e=>"twitter"===e.service_name));return{date:Date.now(),name:t?.profile_display_name||__("Account Name","jetpack"),profileImage:t?.profile_picture||"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:t?.display_name||""}}function m(e){const t=d(e),n=[h(e),...e.tweets.slice(0,100).map((n=>({...t,text:n.text,media:n.media,tweet:n.tweet,urls:n.urls,card:v(e,n.urls)})))];return n.length>1&&n.push(f(e)),n}function h(e){if(!(0,o.select)("core"))return;const t=d(e),{getMedia:n}=(0,o.select)("core"),{getEditedPostAttribute:r}=(0,o.select)("core/editor"),a=r("featured_media"),i=r("link"),s=a&&n(a),l=s?.media_details?.sizes?.large?.source_url||s?.source_url;return{...t,text:y()+` ${i}`,urls:[i],card:{title:r("title"),description:r("meta")?.advanced_seo_description||r("excerpt")||r("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:i,image:l,type:l?"summary_large_image":"summary"}}}function f(e){if(!(0,o.select)("core/editor"))return;const{getEditedPostAttribute:t}=(0,o.select)("core/editor"),n=t("link"),r=e.tweets.length>100?__("The rest of this thread can be read here:","jetpack"):__("This thread can be read here:","jetpack");return{...h(e),text:`${r} ${n}`}}function g(e,t){if(l.nE[t])return l.nE[t]}const b=(0,a.Z)(((e,t)=>e.tweets.filter((e=>!!e.blocks.find((e=>e.clientId===t))))),(e=>[e.tweets]));function v(e,t){if(t)return t.reduce(((t,n)=>t||(e.twitterCards[n]&&!e.twitterCards[n].error?{url:n,...e.twitterCards[n]}:void 0)),void 0)}function k(e,t){return!!e.twitterCards[t]}function y(){const{getEditedPostAttribute:e}=(0,o.select)("core/editor"),t=e("meta"),n=e("title"),a=(0,r.get)(t,["jetpack_publicize_message"],"");return a?a.substr(0,E()):w()&&n?n.substr(0,E())+c:""}function E(){return w()?255-c.length:255}function w(){return!!(0,o.select)("core/editor").getEditedPostAttribute("meta")?.jetpack_is_tweetstorm}const _=(0,a.Z)(((e,t)=>{if(!w())return[];const n=b(e,t);return n&&0!==n.length?n.filter((e=>e.boundary)).map((e=>e.boundary)):[]}),(e=>[e.tweets]));function C(e,t){if(`block-${t}`===e.id)return`#block-${t}`;const n=e.parentNode,r=Array.prototype.indexOf.call(n.children,e);return C(n,t)+` > :nth-child( ${r+1} )`}const j=(0,a.Z)(((e,t)=>{const n=_(e,t),r=document.getElementById(`block-${t}`);return n.filter((e=>"end-of-line"===e.type)).map((e=>{if(!r)return!1;const n=r.getElementsByTagName("li").item(e.line);return!!n&&C(n,t)})).filter((e=>!!e))}),(e=>[e.tweets]));function S(e,t,n){if(0===n.length)return!1;if(!g(0,t.name)?.contentAttributes)return!1;const r=new RegExp(`<(${n.join("|")})( |>|/>)`,"gi");return g(0,t.name).contentAttributes.reduce(((e,n)=>!!e||r.test(t.attributes[n])),!1)}const x=(0,a.Z)(((e,t)=>{const{isTyping:n,isDraggingBlocks:r,isMultiSelecting:a,hasMultiSelection:i,isCaretWithinFormattedText:s}=(0,o.select)("core/block-editor");if(!w())return[];if(n()||r()||a()||i()||s())return[];const c=[];return g(0,t.name)||l.H8[t.name]?("core/gallery"===t.name&&t.attributes.images.length>4&&c.push(__("Twitter displays the first four images.","jetpack")),S(0,t,["strong","bold","em","i","sup","sub","span","s"])&&c.push(__("Twitter removes all text formatting.","jetpack")),S(0,t,["a"])&&c.push(__("Links will be posted seperately.","jetpack"))):c.push(__("This block is not exportable to Twitter","jetpack")),c}),(e=>[e.tweets]));function T(e,t){const{isBlockSelected:n}=(0,o.select)("core/block-editor");if(!w())return!1;const r=g(0,t.name),a=b(e,t.clientId);if(!a||0===a.length)return!1;const i=a[a.length-1];return n(t.clientId)&&!r||i.blocks[i.blocks.length-1].clientId===t.clientId&&a.some((e=>e.blocks.some((e=>n(e.clientId)))))}function N(e,t,n){const a=g(0,n.name);if(!a)return!1;const o=a.contentAttributes;return!(0,r.isEqual)(o.map((e=>({attribute:e,content:t.attributes[e]}))),o.map((e=>({attribute:e,content:n.attributes[e]}))))}function P(){return(0,o.select)(s.store).getEditedPostAttribute("jetpack_publicize_connections")||[]}function A(){const{getEditedPostAttribute:e}=(0,o.select)(s.store),t=e("meta");return(0,r.get)(t,["jetpack_publicize_feature_enabled"],!0)}},60756:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(55609),o=n(65736),i=n(12238),s=n(9818),l=n(23539);const __=o.__;function c(e){let{checked:t,onChange:n}=e;return(0,r.createElement)(a.CheckboxControl,{label:__("Show sharing buttons.","jetpack"),checked:t,onChange:e=>{n({jetpack_sharing_enabled:e})}})}function u(){const e=(0,s.useSelect)((e=>e(i.store).getEditedPostAttribute("jetpack_sharing_enabled")),[]),{editPost:t}=(0,s.useDispatch)(i.store);return(0,r.createElement)(i.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},(0,r.createElement)(l.Z,null,(0,r.createElement)(c,{checked:e,onChange:t})))}},91994:function(e,t,n){"use strict";n.d(t,{u:function(){return a},X:function(){return o}});var r=n(60756);const a="sharing",o={render:r.Z}},71420:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(55609);const a=(0,r.withFallbackStyles)(((e,t)=>{const{textColor:n,backgroundColor:r}=t,a=r&&r.color,o=n&&n.color;return{fallbackBackgroundColor:a||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:o||!e?void 0:getComputedStyle(e).color}}))},6757:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(51591),s=n(58014);const __=o.__;(0,s.Wp)()||(0,s.Ug)()||(0,a.registerBlockCollection)("jetpack",{title:"Jetpack",icon:(0,r.createElement)(i.IM,null)}),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"earn"!==t})),{slug:"earn",title:__("Earn","jetpack"),icon:(0,r.createElement)(i.IM,null)}]),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"grow"!==t})),{slug:"grow",title:__("Grow","jetpack"),icon:(0,r.createElement)(i.IM,null)}])},87929:function(e,t,n){"use strict";function r(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function a(e){const{currentWindow:t}=r(e);return"editor-canvas"===t.name&&t.self!==t.top}function o(e){try{return!!e?.parent?.location.href}catch(e){return!1}}function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=[];if(!t||!e&&!e.length||!a(t))return i;const{currentDoc:s,currentWindow:l}=r(t);if(!o(l))return i;const c=l?.parent?.document;return s&&c?(i=e.filter((e=>{const t=c.querySelector(e),r=!!s.querySelector(e);return!(!t||r)&&(s.head.appendChild(t.cloneNode()),n&&t.remove(),!0)})),i):void 0}function s(e,t,n){const a=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:o}=r(n),i=o.getElementsByTagName("head")[0];e.forEach((e=>{const[n,r]=e.file.split("/").pop().split(".");if("css"===r){if(o.getElementById(e.id))return;const t=o.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${a}/${n}-${e.version}.${r}`,i.appendChild(t)}if("js"===r){const s=t[e.id]?t[e.id]:null;if(o.getElementById(e.id))return s();const l=o.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${a}/${n}-${e.version}.${r}`,l.onload=s,i.appendChild(l)}}))}function l(e,t){return new Promise((n=>{const r=()=>{e[t]?n(e[t]):e.requestAnimationFrame(r)};r()}))}n.d(t,{bL:function(){return r},DT:function(){return i},Pp:function(){return s},Dz:function(){return l}})},57535:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(27655),a=n(58014);const o=r.O["Jetpack Green 40"];function i(){return(0,a.Ug)()||(0,a.Wp)()?null:o}},98085:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(29512),a=n.n(r),o=n(92819);function i(e,t){const n=function(e,t){for(const n of new(a())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),r=(0,o.find)(e,{name:t});if(r)return r}return(0,o.find)(e,"isDefault")}(e,t);return n?n.name:null}},70609:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609);const __=i.__,_x=i._x;class l extends o.Component{constructor(){super(...arguments),a()(this,"state",{hasCopied:!1}),a()(this,"onCopy",(()=>this.setState({hasCopied:!0}))),a()(this,"onFinishCopy",(()=>this.setState({hasCopied:!1}))),a()(this,"onFocus",(e=>e.target.select()))}render(){const{link:e}=this.props,{hasCopied:t}=this.state;return e?(0,o.createElement)("div",{className:"jetpack-clipboard-input"},(0,o.createElement)(s.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),(0,o.createElement)(s.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?__("Copied!","jetpack"):_x("Copy","verb","jetpack"))):null}}t.Z=l},68039:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r=/^#?[A-Fa-f0-9]{6}$/;function a(e){return r.test(e)}},92924:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(25158),s=n(15111);const __=o.__,l="undefined"!=typeof _wpmejsSettings?_wpmejsSettings:{};function c(e,t,n){const r=document.createElement("div");r.className=e;const a=document.createElement("button");return a.innerText=t,a.addEventListener("click",n),a.setAttribute("aria-label",t),a.setAttribute("title",t),r.appendChild(a),r}t.Z=function(e){let{trackSource:t,onPlay:n,onPause:o,onError:u,onTimeChange:p,onSkipForward:d,onJumpBack:m,currentTime:h,playStatus:f=s._5,onMetadataLoaded:g,loadWhenReady:b=!1,preload:v="metadata"}=e;const k=(0,r.useRef)(),y=()=>{k.current.play().catch((()=>{}))},E=()=>{k.current.pause(),(0,i.speak)(__("Paused","jetpack"),"assertive")};return(0,r.useEffect)((()=>{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&&e._setResponsiveMode()})}),[]),(0,r.useEffect)((()=>{const e=k.current;e.preload=v;const t=new MediaElementPlayer(e,{...l,success:()=>b&&e?.load()});if(m||d){const e=`${t.options.classPrefix}button ${t.options.classPrefix}jump-button`;if(m){const n=`${e} ${t.options.classPrefix}jump-backward-button`;t.addControlElement(c(n,__("Jump Back","jetpack"),m),"jumpBackwardButton")}if(d){const n=`${e} ${t.options.classPrefix}skip-forward-button`;t.addControlElement(c(n,__("Skip Forward","jetpack"),d),"skipForwardButton")}}return n&&e.addEventListener("play",n),o&&e.addEventListener("pause",o),u&&e.addEventListener("error",u),g&&e.addEventListener("loadedmetadata",g),()=>{t.remove(),n&&e.removeEventListener("play",n),o&&e.removeEventListener("pause",o),u&&e.removeEventListener("error",u),g&&e.removeEventListener("loadedmetadata",g)}}),[n,o,u,m,d,g,b,v]),(0,r.useEffect)((()=>{const[e,t]=!1===k.current?.paused?[s.Wp,E]:[s._5,y],n=(0,a.debounce)(t,100);return s.Vy!==f&&e!==f&&n(),()=>{n.cancel()}}),[k,f,t]),(0,r.useEffect)((()=>{if(!p)return;const e=k.current,t=(0,a.throttle)((e=>p(e)),1e3,{leading:!0,trailing:!1}),n=e=>t(e.target.currentTime);return p&&e?.addEventListener("timeupdate",n),()=>{t.cancel(),e?.removeEventListener("timeupdate",n)}}),[k,p]),(0,r.useEffect)((()=>{const e=k.current;h&&e&&Math.abs(Math.floor(h-e.currentTime))>1&&(e.currentTime=h)}),[k,h]),(0,r.createElement)("div",{className:"jetpack-audio-player"},(0,r.createElement)("audio",{src:t,ref:k}))}},62475:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(52175),l=n(37930);function c(e){let{blockName:t,buttonLabel:n,href:a,icon:c,onClick:u,subtitle:p,title:d,className:m}=e;const{autosaveAndRedirect:h}=(0,l.Z)(a);return(0,r.createElement)(s.Warning,{actions:a&&[(0,r.createElement)(i.Button,{href:a,onClick:e=>{e.preventDefault(),u(t),h(e)},target:"_top",isSecondary:!0,isLarge:!0},n)],className:o()(m,"jetpack-block-nudge wp-block")},(0,r.createElement)("span",{className:"jetpack-block-nudge__info"},c,(0,r.createElement)("span",{className:"jetpack-block-nudge__text-container"},(0,r.createElement)("span",{className:"jetpack-block-nudge__title"},d),p&&(0,r.createElement)("span",{className:"jetpack-block-nudge__message"},p))))}},72566:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(4981),l=n(52175),c=n(55609),u=n(9818),p=n(39630),d=n(65736);const __=d.__,m=e=>{let{attributes:t,styleOption:n,viewportWidth:a,blockName:o}=e;const i=(0,s.getBlockType)(o);return(0,r.createElement)(l.BlockPreview,{viewportWidth:a,blocks:(c=i.example?(0,s.getBlockFromExample)(o,{attributes:{...i.example.attributes,style:n.value},innerBlocks:i.example.innerBlocks}):(0,s.createBlock)(o,t),{...c,attributes:{...c.attributes,__isBlockPreview:!0}})});var c},h=r.memo?(0,r.memo)(m,((e,t)=>(0,i.isEqual)(e,t))):m;function f(e){let t,{attributes:n,clientId:a,styleOptions:i,onSelectStyle:s,activeStyle:d,viewportWidth:m,title:f}=e;return u.useSelect&&(t=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(a)}))),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.BlockControls,null,(0,r.createElement)(c.ToolbarGroup,{isCollapsed:!0,icon:"admin-appearance",label:__("Style","jetpack"),controls:i.map((e=>({title:e.label,isActive:e.value===d,onClick:()=>s({style:e.value})}))),popoverProps:{className:"jetpack-block-styles-selector-toolbar"}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:f||__("Styles","jetpack")},(0,r.createElement)("div",{className:"block-editor-block-styles jetpack-block-styles-selector"},i.map((e=>{const a={...n,style:e.value};return(0,r.createElement)("div",{key:e.value,className:o()("block-editor-block-styles__item",{"is-active":e.value===d}),onClick:()=>{s({style:e.value})},onKeyDown:t=>{p.ENTER!==t.keyCode&&p.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},(0,r.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.preview?e.preview:u.useSelect&&t&&(0,r.createElement)(h,{blockName:t.name,styleOption:e,attributes:a,viewportWidth:m})),(0,r.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))}))))))}},37837:function(e,t,n){"use strict";n.d(t,{m:function(){return m}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(9818),l=n(65736),c=n(51591),u=n(15111),p=n(98017);const __=l.__;function d(e){let{skipForwardTime:t=5,jumpBackTime:n=5,playIcon:a="controls-play",pauseIcon:l="controls-pause",jumpBackIcon:d=c.Qv,skipForwardIcon:m=c._z,currenTimeDisplay:h=!0,onTimestampClick:f}=e;const{playerState:g,mediaCurrentTime:b,defaultMediaSource:v,mediaDomReference:k}=(0,s.useSelect)((e=>{const{getMediaSourceCurrentTime:t,getMediaPlayerState:n,getDefaultMediaSource:r,getMediaSourceDuration:a,getMediaSourceDomReference:o}=e(u.tT);return{playerState:n(),mediaCurrentTime:t(),mediaDuration:a(),defaultMediaSource:r(),mediaDomReference:o()}}),[]),y=(0,p.H)(b),E=!v,{toggleMediaSource:w,setMediaSourceCurrentTime:_}=(0,s.useDispatch)(u.tT);function C(e){!function(e){k&&(k.currentTime=e),_(v.id,e)}(e),k&&(k.currentTime=e)}return(0,r.createElement)(r.Fragment,null,!1!==n&&(0,r.createElement)(i.ToolbarButton,{icon:d,isDisabled:E,onClick:()=>C(b-n),label:__("Jump back","jetpack")}),(0,r.createElement)(i.ToolbarButton,{icon:g===u._5?a:l,isDisabled:E,onClick:function(){w(v.id)},label:__("Play","jetpack")}),t&&(0,r.createElement)(i.ToolbarButton,{icon:m,isDisabled:E,onClick:()=>C(b+t),label:__("Skip forward","jetpack")}),h&&(0,r.createElement)(i.ToolbarButton,{className:o()("media-player-control__current-time",{"is-disabled":E}),label:__("Set timestamp","jetpack"),onClick:()=>f(b)},y))}function m(e){return(0,r.createElement)(i.ToolbarGroup,{className:"media-player-control__toolbar"},(0,r.createElement)(i.ToolbarItem,null,(()=>(0,r.createElement)(d,e))))}},98017:function(e,t,n){"use strict";n.d(t,{H:function(){return r},i:function(){return a}});const r=mejs.Utils.secondsToTimeCode,a=mejs.Utils.timeCodeToSeconds},38205:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(55609);const s=i.NumberControl||i.__experimentalNumberControl||function(e){return(0,o.createElement)(i.TextControl,a()({type:"number",inputMode:"numeric"},e))};t.Z=s},43393:function(e,t,n){"use strict";var r=n(69307),a=n(35381),o=n.n(a),i=n(65736),s=n(11973),l=n(62475),c=n(2368);const __=i.__,u=e=>{let{blockName:t,url:n}=e;return(0,r.createElement)(l.Z,{className:"jetpack-stripe-nudge__banner",buttonLabel:__("Connect","jetpack"),icon:(0,r.createElement)(o(),{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:n,onClick:()=>{s.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t})},title:__("Connect to Stripe to use this block on your site","jetpack"),subtitle:__("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})};t.Z=e=>{let{blockName:t,postId:n,stripeConnectUrl:a}=e;const o=(0,c.Z)(n,a);return o?(0,r.createElement)(u,{blockName:t,url:o}):null}},19356:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=e=>{let{align:t,className:n,title:a,description:s,buttonText:l,visible:c=!0,context:u,checkoutUrl:p,goToCheckoutPage:d,isRedirecting:m=!1}=e;const h=o()(n,"jetpack-upgrade-plan-banner",{"wp-block":"editor-canvas"===u,"block-editor-block-list__block":"editor-canvas"===u,"jetpack-upgrade-plan__hidden":!c}),f=__("Redirecting…","jetpack");return(0,r.createElement)("div",{className:h,"data-align":t},(0,r.createElement)("div",{className:"jetpack-upgrade-plan-banner__wrapper"},a&&(0,r.createElement)("strong",{className:o()("banner-title",{[`${n}__title`]:n})},a),s&&(0,r.createElement)("span",{className:`${n}__description banner-description`},s),(0,r.createElement)(i.Button,{href:m?null:p,onClick:d,target:"_top",className:o()("is-primary",{"jetpack-upgrade-plan__hidden":!p}),isBusy:m},m?f:l)))}},13180:function(e,t,n){"use strict";var r=n(9818);const a={setPlans:e=>({type:"SET_PLANS",plans:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",url:e})};(0,r.registerStore)("wordpress-com/plans",{reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?t.plans:e},actions:a,selectors:{getPlan:(e,t)=>e.find((e=>e.product_slug===t))},controls:{FETCH_FROM_API(e){let{url:t}=e;return fetch(t).then((e=>e.json()))}},resolvers:{*getPlan(){const e=yield a.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");return a.setPlans(e)}}})},41362:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return void 0!==r.createBlocksFromInnerBlocksTemplate?(0,r.createBlocksFromInnerBlocksTemplate)(e):e.map((e=>{const t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],[n,o,i=[]]=t;return(0,r.createBlock)(n,o,a(i))}))}},17882:function(e,t,n){"use strict";n.d(t,{ck:function(){return o},Xy:function(){return i},hj:function(){return s},vs:function(){return l},Vm:function(){return c}});var r=n(75139),a=n(92819);const o={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},i=Object.keys(o).map((e=>{const{symbol:t}=(0,r.X)(e);return{value:e,label:t===e?e:`${e} ${(0,a.trimEnd)(t,".")}`}}));function s(e){return o[e]}function l(e,t){return!isNaN(t)&&t>=s(e)}function c(e,t){return e?"number"==typeof e?e:(e=parseFloat(e.replace(new RegExp("\\"+r.M[t].grouping,"g"),"").replace(new RegExp("\\"+r.M[t].decimal,"g"),".")),isNaN(e)?null:e):null}},58703:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{label:t,onClick:n}=e;return(0,r.createElement)(a.Button,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},99418:function(e,t,n){"use strict";n.d(t,{iT:function(){return i},wk:function(){return s},oI:function(){return l},Tu:function(){return c},OG:function(){return u},tY:function(){return p},h9:function(){return d},CY:function(){return m},Wm:function(){return h},Qh:function(){return f},Bb:function(){return g},En:function(){return b},yD:function(){return v},QU:function(){return k},zs:function(){return y},l5:function(){return E}});var r=n(65736),a=n(69771),o=n(92819);const __=r.__,i="google_photos",s="pexels",l="recent",c="/",u=[{value:l,label:__("Photos","jetpack")},{value:c,label:__("Albums","jetpack")}],p=[{value:"",
+__("This feature is for sites with a %s plan.","jetpack"),_),(0,r.createElement)("br",null),(0,r.createElement)(l.ExternalLink,{href:S},__("More information.","jetpack")))}},42401:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9818),a=n(12238),o=n(13419);const i="republicize";function s(){var e,t;const{togglePublicizeFeature:n}=(0,r.useDispatch)("jetpack/publicize"),{available:s}=(0,o.OZ)(i),l=(0,r.useSelect)((e=>e(a.store).isCurrentPostPublished()),[]),c=(0,r.useSelect)((e=>e("jetpack/publicize").getFeatureEnableState()),[]),u=!(null===(e=window)||void 0===e||null===(t=e.Jetpack_Editor_Initial_State.jetpack)||void 0===t||!t.republicize_enabled),p=(0,o.X1)(i);return{isPublicizeEnabledMeta:c,isRePublicizeFeatureEnabled:u,isPublicizeEnabled:l&&!(p&&u)||c,togglePublicizeFeature:n,isPublicizeDisabledBySitePlan:u&&l&&p,isRePublicizeFeatureAvailable:s,isRePublicizeUpgradableViaUpsell:p,hideRePublicizeFeature:l&&!s&&!p&&u}}},31281:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(86989),a=n.n(r),o=n(9818),i=n(12238),s=n(69307),l=n(65736),c=n(74356);const __=l.__;function u(e){var t;const n=null==e?void 0:e.code,r=null==e||null===(t=e.errors)||void 0===t?void 0:t.length;if(!n&&!r)return!1;let a="";return n&&(a=__("Unable to share the Post","jetpack")),r&&(a=__("Unable to share the Post","jetpack")),{message:a,result:e}}function p(e){const{message:t}=(0,c.LJ)(),{skippedConnections:n}=(0,c.oL)(),r=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]);e=e||r;const[l,p]=(0,s.useState)({data:[],error:{}}),d=(0,s.useCallback)((function(){const r={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(!l.isFetching)return p({...r,isFetching:!0}),a()({path:`/wpcom/v2/posts/${e}/publicize`,method:"POST",data:{message:t,skipped_connections:n}}).then((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=u(e);if(t)return p((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));p((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:null==e?void 0:e.results,error:{}})))})).catch((e=>{p((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:u(e)})))})),function(){p(r)}}),[e,t,n,l.isFetching]);return{...l,doPublicize:d}}},71259:function(e,t,n){"use strict";n.d(t,{X:function(){return p},u:function(){return u}});var r=n(69307),a=n(74356),o=n(65736),i=n(72067),s=n(12238),l=n(34613),c=n(1393);const __=o.__,u="publicize",p={render:()=>(0,r.createElement)(s.PostTypeSupportCheck,{supportKeys:"publicize"},(0,r.createElement)(a.iS,null),(0,r.createElement)(l.Z,null,(0,r.createElement)(c.Z,null)),(0,r.createElement)(i.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:(0,r.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},__("Share this post","jetpack"))},(0,r.createElement)(c.Z,{prePublish:!0})))}},14166:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(55609),o=n(65736),i=n(12238),s=n(9818),l=n(8264);const __=o.__;function c(e){let{checked:t,onChange:n}=e;return(0,r.createElement)(a.CheckboxControl,{label:__("Show sharing buttons.","jetpack"),checked:t,onChange:e=>{n({jetpack_sharing_enabled:e})}})}function u(){const e=(0,s.useSelect)((e=>e(i.store).getEditedPostAttribute("jetpack_sharing_enabled")),[]),{editPost:t}=(0,s.useDispatch)(i.store);return(0,r.createElement)(i.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},(0,r.createElement)(l.Z,null,(0,r.createElement)(c,{checked:e,onChange:t})))}},3378:function(e,t,n){"use strict";n.d(t,{X:function(){return o},u:function(){return a}});var r=n(14166);const a="sharing",o={render:r.Z}},43718:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(55609);const a=(0,r.withFallbackStyles)(((e,t)=>{const{textColor:n,backgroundColor:r}=t,a=r&&r.color,o=n&&n.color;return{fallbackBackgroundColor:a||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:o||!e?void 0:getComputedStyle(e).color}}))},85921:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(13419),s=n(81427);const __=o.__;(0,i.Wp)()||(0,i.Ug)()||(0,a.registerBlockCollection)("jetpack",{title:"Jetpack",icon:(0,r.createElement)(s.IM,null)}),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"earn"!==t})),{slug:"earn",title:__("Earn","jetpack"),icon:(0,r.createElement)(s.IM,null)}]),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"grow"!==t})),{slug:"grow",title:__("Grow","jetpack"),icon:(0,r.createElement)(s.IM,null)}])},85007:function(e,t,n){"use strict";function r(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function a(e){const{currentWindow:t}=r(e);return"editor-canvas"===t.name&&t.self!==t.top}function o(e){try{var t;return!(null==e||null===(t=e.parent)||void 0===t||!t.location.href)}catch(e){return!1}}function i(e,t){var n;let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=[];if(!t||!e&&!e.length||!a(t))return s;const{currentDoc:l,currentWindow:c}=r(t);if(!o(c))return s;const u=null==c||null===(n=c.parent)||void 0===n?void 0:n.document;return l&&u?(s=e.filter((e=>{const t=u.querySelector(e),n=!!l.querySelector(e);return!(!t||n)&&(l.head.appendChild(t.cloneNode()),i&&t.remove(),!0)})),s):void 0}function s(e,t,n){const a=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:o}=r(n),i=o.getElementsByTagName("head")[0];e.forEach((e=>{const[n,r]=e.file.split("/").pop().split(".");if("css"===r){if(o.getElementById(e.id))return;const t=o.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${a}/${n}-${e.version}.${r}`,i.appendChild(t)}if("js"===r){const s=t[e.id]?t[e.id]:null;if(o.getElementById(e.id))return s();const l=o.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${a}/${n}-${e.version}.${r}`,l.onload=s,i.appendChild(l)}}))}function l(e,t){return new Promise((n=>{const r=()=>{e[t]?n(e[t]):e.requestAnimationFrame(r)};r()}))}n.d(t,{DT:function(){return i},Dz:function(){return l},Pp:function(){return s},bL:function(){return r}})},70355:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(13419);const a=n(80550).O["Jetpack Green 40"];function o(){return(0,r.Ug)()||(0,r.Wp)()?null:a}},81518:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(29512),a=n.n(r),o=n(92819);function i(e,t){const n=function(e,t){for(const n of new(a())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),r=(0,o.find)(e,{name:t});if(r)return r}return(0,o.find)(e,"isDefault")}(e,t);return n?n.name:null}},26788:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609);const __=i.__,_x=i._x;class l extends o.Component{constructor(){super(...arguments),a()(this,"state",{hasCopied:!1}),a()(this,"onCopy",(()=>this.setState({hasCopied:!0}))),a()(this,"onFinishCopy",(()=>this.setState({hasCopied:!1}))),a()(this,"onFocus",(e=>e.target.select()))}render(){const{link:e}=this.props,{hasCopied:t}=this.state;return e?(0,o.createElement)("div",{className:"jetpack-clipboard-input"},(0,o.createElement)(s.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),(0,o.createElement)(s.ClipboardButton,{variant:"secondary",onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?__("Copied!","jetpack"):_x("Copy","verb","jetpack"))):null}}t.Z=l},24381:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r=/^#?[A-Fa-f0-9]{6}$/;function a(e){return r.test(e)}},72752:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(25158),s=n(97115);const __=o.__,l="undefined"!=typeof _wpmejsSettings?_wpmejsSettings:{};function c(e,t,n){const r=document.createElement("div");r.className=e;const a=document.createElement("button");return a.innerText=t,a.addEventListener("click",n),a.setAttribute("aria-label",t),a.setAttribute("title",t),r.appendChild(a),r}t.Z=function(e){let{trackSource:t,onPlay:n,onPause:o,onError:u,onTimeChange:p,onSkipForward:d,onJumpBack:m,currentTime:h,playStatus:f=s._5,onMetadataLoaded:g,loadWhenReady:b=!1,preload:v="metadata"}=e;const k=(0,r.useRef)(),y=()=>{k.current.play().catch((()=>{}))},E=()=>{k.current.pause(),(0,i.speak)(__("Paused","jetpack"),"assertive")};return(0,r.useEffect)((()=>{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&&e._setResponsiveMode()})}),[]),(0,r.useEffect)((()=>{const e=k.current;e.preload=v;const t=new MediaElementPlayer(e,{...l,success:()=>b&&(null==e?void 0:e.load())});if(m||d){const e=`${t.options.classPrefix}button ${t.options.classPrefix}jump-button`;if(m){const n=`${e} ${t.options.classPrefix}jump-backward-button`;t.addControlElement(c(n,__("Jump Back","jetpack"),m),"jumpBackwardButton")}if(d){const n=`${e} ${t.options.classPrefix}skip-forward-button`;t.addControlElement(c(n,__("Skip Forward","jetpack"),d),"skipForwardButton")}}return n&&e.addEventListener("play",n),o&&e.addEventListener("pause",o),u&&e.addEventListener("error",u),g&&e.addEventListener("loadedmetadata",g),()=>{t.remove(),n&&e.removeEventListener("play",n),o&&e.removeEventListener("pause",o),u&&e.removeEventListener("error",u),g&&e.removeEventListener("loadedmetadata",g)}}),[n,o,u,m,d,g,b,v]),(0,r.useEffect)((()=>{var e;const[t,n]=!1===(null===(e=k.current)||void 0===e?void 0:e.paused)?[s.Wp,E]:[s._5,y],r=(0,a.debounce)(n,100);return s.Vy!==f&&t!==f&&r(),()=>{r.cancel()}}),[k,f,t]),(0,r.useEffect)((()=>{if(!p)return;const e=k.current,t=(0,a.throttle)((e=>p(e)),1e3,{leading:!0,trailing:!1}),n=e=>t(e.target.currentTime);return p&&(null==e||e.addEventListener("timeupdate",n)),()=>{t.cancel(),null==e||e.removeEventListener("timeupdate",n)}}),[k,p]),(0,r.useEffect)((()=>{const e=k.current;h&&e&&Math.abs(Math.floor(h-e.currentTime))>1&&(e.currentTime=h)}),[k,h]),(0,r.createElement)("div",{className:"jetpack-audio-player"},(0,r.createElement)("audio",{src:t,ref:k}))}},44738:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(52175),l=n(46867);function c(e){let{blockName:t,buttonLabel:n,href:a,icon:c,onClick:u,subtitle:p,title:d,className:m}=e;const{autosaveAndRedirect:h}=(0,l.Z)(a);return(0,r.createElement)(s.Warning,{actions:a&&[(0,r.createElement)(i.Button,{href:a,onClick:e=>{e.preventDefault(),u(t),h(e)},target:"_top",variant:"secondary"},n)],className:o()(m,"jetpack-block-nudge wp-block")},(0,r.createElement)("span",{className:"jetpack-block-nudge__info"},c,(0,r.createElement)("span",{className:"jetpack-block-nudge__text-container"},(0,r.createElement)("span",{className:"jetpack-block-nudge__title"},d),p&&(0,r.createElement)("span",{className:"jetpack-block-nudge__message"},p))))}},57538:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(4981),l=n(52175),c=n(55609),u=n(9818),p=n(39630),d=n(65736);const __=d.__,m=e=>{let{attributes:t,styleOption:n,viewportWidth:a,blockName:o}=e;const i=(0,s.getBlockType)(o);return(0,r.createElement)(l.BlockPreview,{viewportWidth:a,blocks:(c=i.example?(0,s.getBlockFromExample)(o,{attributes:{...i.example.attributes,style:n.value},innerBlocks:i.example.innerBlocks}):(0,s.createBlock)(o,t),{...c,attributes:{...c.attributes,__isBlockPreview:!0}})});var c},h=r.memo?(0,r.memo)(m,((e,t)=>(0,i.isEqual)(e,t))):m;function f(e){let t,{attributes:n,clientId:a,styleOptions:i,onSelectStyle:s,activeStyle:d,viewportWidth:m,title:f}=e;return u.useSelect&&(t=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(a)}))),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.BlockControls,null,(0,r.createElement)(c.ToolbarGroup,{isCollapsed:!0,icon:"admin-appearance",label:__("Style","jetpack"),controls:i.map((e=>({title:e.label,isActive:e.value===d,onClick:()=>s({style:e.value})}))),popoverProps:{className:"jetpack-block-styles-selector-toolbar"}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:f||__("Styles","jetpack")},(0,r.createElement)("div",{className:"block-editor-block-styles jetpack-block-styles-selector"},i.map((e=>{const a={...n,style:e.value};return(0,r.createElement)("div",{key:e.value,className:o()("block-editor-block-styles__item",{"is-active":e.value===d}),onClick:()=>{s({style:e.value})},onKeyDown:t=>{p.ENTER!==t.keyCode&&p.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},(0,r.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.preview?e.preview:u.useSelect&&t&&(0,r.createElement)(h,{blockName:t.name,styleOption:e,attributes:a,viewportWidth:m})),(0,r.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))}))))))}},34904:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(91202);function o(e){let{children:t}=e;return(0,r.createElement)("div",{className:"jetpack-inspector-notice"},(0,r.createElement)("span",null,t),(0,r.createElement)(a.Z,{height:16,logoColor:"#1a1a1a",showText:!1}))}},86263:function(e,t,n){"use strict";n.d(t,{m:function(){return m}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(9818),l=n(65736),c=n(81427),u=n(97115),p=n(26706);const __=l.__;function d(e){let{skipForwardTime:t=5,jumpBackTime:n=5,playIcon:a="controls-play",pauseIcon:l="controls-pause",jumpBackIcon:d=c.Qv,skipForwardIcon:m=c._z,currenTimeDisplay:h=!0,onTimestampClick:f}=e;const{playerState:g,mediaCurrentTime:b,defaultMediaSource:v,mediaDomReference:k}=(0,s.useSelect)((e=>{const{getMediaSourceCurrentTime:t,getMediaPlayerState:n,getDefaultMediaSource:r,getMediaSourceDuration:a,getMediaSourceDomReference:o}=e(u.tT);return{playerState:n(),mediaCurrentTime:t(),mediaDuration:a(),defaultMediaSource:r(),mediaDomReference:o()}}),[]),y=(0,p.H)(b),E=!v,{toggleMediaSource:w,setMediaSourceCurrentTime:_}=(0,s.useDispatch)(u.tT);function C(e){!function(e){k&&(k.currentTime=e),_(v.id,e)}(e),k&&(k.currentTime=e)}return(0,r.createElement)(r.Fragment,null,!1!==n&&(0,r.createElement)(i.ToolbarButton,{icon:d,isDisabled:E,onClick:()=>C(b-n),label:__("Jump back","jetpack")}),(0,r.createElement)(i.ToolbarButton,{icon:g===u._5?a:l,isDisabled:E,onClick:function(){w(v.id)},label:__("Play","jetpack")}),t&&(0,r.createElement)(i.ToolbarButton,{icon:m,isDisabled:E,onClick:()=>C(b+t),label:__("Skip forward","jetpack")}),h&&(0,r.createElement)(i.ToolbarButton,{className:o()("media-player-control__current-time",{"is-disabled":E}),label:__("Set timestamp","jetpack"),onClick:()=>f(b)},y))}function m(e){return(0,r.createElement)(i.ToolbarGroup,{className:"media-player-control__toolbar"},(0,r.createElement)(i.ToolbarItem,null,(()=>(0,r.createElement)(d,e))))}},26706:function(e,t,n){"use strict";n.d(t,{H:function(){return r},i:function(){return a}});const r=mejs.Utils.secondsToTimeCode,a=mejs.Utils.timeCodeToSeconds},20769:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(55609);const s=i.NumberControl||i.__experimentalNumberControl||function(e){return(0,o.createElement)(i.TextControl,a()({type:"number",inputMode:"numeric"},e))};t.Z=s},14436:function(e,t,n){"use strict";n.d(t,{Bn:function(){return o},DM:function(){return i},DW:function(){return a},mj:function(){return r}});const r=0,a=1,o="payment-plan",i="subscription"},68880:function(e,t,n){"use strict";n.d(t,{Q:function(){return i},a:function(){return o}});var r=n(69307),a=n(14436);const o=(0,r.createContext)({blockName:void 0,clientId:void 0,products:[],productType:a.Bn,selectedProductId:0,setSelectedProductId:()=>{}}),i=()=>(0,r.useContext)(o)},60386:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(52175),o=n(9818),i=n(14436),s=n(68880),l=n(86102),c=n(16842),u=n(21200),p=n(2327),d=n(7652);function m(e){let{blockName:t,clientId:n,productType:m=i.Bn,selectedProductId:h=0,setSelectedProductId:f=(()=>{})}=e;const g=(0,o.useSelect)((e=>e(d.h).getProducts(m,h,f)),[]),{connectUrl:b,isApiConnected:v,isSelectedProductInvalid:k,shouldUpgrade:y}=(0,o.useSelect)((e=>{const{getConnectUrl:t,getShouldUpgrade:n,isApiStateConnected:r,isInvalidProduct:a}=e(d.h);return{connectUrl:t(),isApiConnected:r(),isSelectedProductInvalid:a(h),shouldUpgrade:n()}}));if(y&&!v)return null;const E={blockName:t,clientId:n,products:g,productType:m,selectedProductId:h,setSelectedProductId:f};return(0,r.createElement)(s.a.Provider,{value:E},!v&&!!b&&(0,r.createElement)(a.BlockControls,{__experimentalShareWithChildBlocks:!0,group:"block"},(0,r.createElement)(p.Z,{blockName:t,connectUrl:b})),v&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Z,null),(0,r.createElement)(c.Z,null)),v&&k&&(0,r.createElement)(u.Z,null))}},86102:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(52175),o=n(55609),i=n(9818),s=n(65736),l=n(1078),c=n(14436),u=n(68880),p=n(51585),d=n(79162),m=n(7652);const __=s.__,h="1 month";function f(){const{productType:e,setSelectedProductId:t}=(0,u.Q)(),{shouldUpgrade:n,siteSlug:s}=(0,i.useSelect)((e=>{const{getShouldUpgrade:t,getSiteSlug:n}=e(m.h);return{shouldUpgrade:t(),siteSlug:n()}})),{saveProduct:f}=(0,i.useDispatch)(m.h),[g,b]=(0,r.useState)(c.mj),[v,k]=(0,r.useState)((0,p.l)("default new product title",e)),[y,E]=(0,r.useState)("USD"),[w,_]=(0,r.useState)(5),[C,j]=(0,r.useState)(h),[S,x]=(0,r.useState)(false),[P,T]=(0,r.useState)(false),N=[{label:__("Month","jetpack"),value:"1 month"},{label:__("Year","jetpack"),value:"1 year"},{label:__("One-Time Payment","jetpack"),value:"one-time"}];return(0,r.createElement)(a.InspectorControls,null,s&&(0,r.createElement)(o.PanelBody,null,(0,r.createElement)(o.ExternalLink,{href:`https://wordpress.com/earn/payments/${s}`},(0,p.l)("manage your products",e))),!n&&(0,r.createElement)(o.PanelBody,{title:(0,p.l)("add a new product",e),initialOpen:!0,className:"product-management-control-inspector__add-plan"},g===c.DW&&(0,r.createElement)(o.Placeholder,{icon:l.Z,label:(0,p.l)("saving product",e)},(0,r.createElement)(o.Spinner,null)),g===c.mj&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelRow,{className:"product-management-control-inspector__product-title"},(0,r.createElement)(o.TextControl,{id:"new-product-title",label:__("Name","jetpack"),onChange:e=>k(e),value:v})),(0,r.createElement)(o.PanelRow,{className:"product-management-control-inspector__product-price"},(0,r.createElement)(o.SelectControl,{label:__("Currency","jetpack"),onChange:e=>E(e),options:d.Xy,value:y}),(0,r.createElement)(o.TextControl,{label:__("Price","jetpack"),onChange:e=>_(e),type:"number",value:w})),(0,r.createElement)(o.PanelRow,{className:"plan-interval"},(0,r.createElement)(o.SelectControl,{label:__("Interval","jetpack"),onChange:e=>j(e),options:N,value:C})),(0,r.createElement)(o.PanelRow,{className:"donation-subscription"},(0,r.createElement)(o.ToggleControl,{label:(0,p.l)("mark this product as a donation",e),onChange:e=>x(e),checked:S})),(0,r.createElement)(o.PanelRow,{className:"custom-amount"},(0,r.createElement)(o.ToggleControl,{label:__("Enable customers to pick their own amount","jetpack"),onChange:e=>T(e),checked:P})),(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(o.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack"))),(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(o.Button,{onClick:n=>{n.preventDefault(),b(c.DW),f({title:v,currency:y,price:w,interval:C,type:S?"donation":null,buyer_can_change_amount:P,is_editable:!0},e,t,(t=>{if(b(c.mj),t){const t=(0,p.l)("default new product title",e);_(5),k(t),j(h),x(false),T(false),E("USD")}}))},variant:"secondary"},(0,p.l)("add product",e))))))}},21200:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(61074),i=n(30797),s=n(68880),l=n(51585);function c(){const{productType:e}=(0,s.Q)();return(0,r.createElement)(a.Warning,{className:"product-management-control-nudge"},(0,r.createElement)("span",{className:"product-management-control-nudge__info"},(0,r.createElement)(o.Z,{icon:i.Z}),(0,r.createElement)("span",{className:"product-management-control-nudge__text-container"},(0,r.createElement)("span",{className:"product-management-control-nudge__title"},(0,l.l)("invalid product configured for this block",e)),(0,r.createElement)("span",{className:"product-management-control-nudge__message"},(0,l.l)("the button will be hidden from your visitors until you select a valid product",e)))))}},16842:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(69307),a=n(25607),o=n(52175),i=n(55609),s=n(9818),l=n(65736),c=n(79201),u=n(48381),p=n(30797),d=n(68880),m=n(60510),h=n(51585),f=n(7652),g=n(99307);const __=l.__;function b(e){const{currency:t,interval:n,price:r}=e,o=(0,a.ZP)(parseFloat(r),t);switch(n){case"1 month":return(0,l.sprintf)(// translators: %s: amount
+__("%s / month","jetpack"),o);case"1 year":return(0,l.sprintf)(// translators: %s: amount
+__("%s / year","jetpack"),o);case"one-time":return o}return(0,l.sprintf)(// translators: %s: amount, plan interval
+__("%1$s / %2$s","jetpack"),o,n)}function v(e){let{onClose:t,product:n}=e;const{selectedProductId:a,setSelectedProductId:o}=(0,d.Q)(),{id:s,title:l}=n,u=a&&a===s,p=u?c.Z:void 0,m=n?" "+b(n):null;return(0,r.createElement)(i.MenuItem,{icon:p,onClick:e=>{e.preventDefault(),o(s),t()},selected:u,value:s},l," : ",m)}function k(e){let{onClose:t}=e;const{clientId:n,productType:a}=(0,d.Q)(),o=(0,s.useSelect)((e=>e(f.h).getSiteSlug())),l=(0,m.Z)(n);if(g.BM===(0,g.j3)())return(0,r.createElement)(i.MenuItem,null,o&&(0,r.createElement)(i.ExternalLink,{href:`https://wordpress.com/earn/payments-plans/${o}`},(0,h.l)("add a new product",a)));return(0,r.createElement)(i.MenuItem,{onClick:e=>{e.preventDefault(),l(),setTimeout((()=>{const e=document.getElementById("new-product-title");null!==e&&e.focus()}),100),t()}},(0,h.l)("add a new product",a))}function y(){const{products:e,productType:t,selectedProductId:n}=(0,d.Q)(),{selectedProduct:a,shouldUpgrade:l}=(0,s.useSelect)((e=>{const{getProduct:t,getShouldUpgrade:r}=e(f.h);return{selectedProduct:t(n),shouldUpgrade:r()}}));let c=null,m=u.Z;return a&&(c=b(a)),n&&!a&&(c=(0,h.l)("product not found",t),m=p.Z),(0,r.createElement)(o.BlockControls,{__experimentalShareWithChildBlocks:!0,group:"block"},(0,r.createElement)(i.ToolbarDropdownMenu,{className:"product-management-control-toolbar__dropdown-button",icon:m,label:(0,h.l)("select a product",t),text:c},(t=>{let{onClose:n}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.MenuGroup,null,e.map((e=>(0,r.createElement)(v,{key:e.id,onClose:n,product:e})))),!l&&(0,r.createElement)(i.MenuGroup,null,(0,r.createElement)(k,{onClose:n})))})))}},60510:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(52175),a=n(72067),o=n(9818),i=n(99307);function s(e){const t=(0,i.j3)(),{selectBlock:n}=(0,o.useDispatch)(r.store),{enableComplementaryArea:s}=(0,o.useDispatch)("core/interface"),{closePublishSidebar:l}=(0,o.useDispatch)(a.store);return()=>{switch(e&&n(e),t){case i.fH:return s("core/edit-site","edit-site/block-inspector");case i.CG:return s("core/edit-widgets","edit-widgets/block-inspector");default:l(),s("core/edit-post","edit-post/block")}}}},51585:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(65736),a=n(14436);const __=r.__,o={"add a new product":{[a.Bn]:__("Add a new payment plan","jetpack"),[a.DM]:__("Add a new subscription","jetpack")},"product not found":{[a.Bn]:__("Payment plan not found","jetpack"),[a.DM]:__("Subscription not found","jetpack")},"select a product":{[a.Bn]:__("Select a payment plan","jetpack"),[a.DM]:__("Select a subscription","jetpack")},"default new product title":{[a.Bn]:__("Monthly Subscription","jetpack"),[a.DM]:__("Monthly Subscription","jetpack")},"manage your products":{[a.Bn]:__("Manage your payment plans.","jetpack"),[a.DM]:__("Manage your subscriptions.","jetpack")},"saving product":{[a.Bn]:__("Saving payment plan…","jetpack"),[a.DM]:__("Saving subscription…","jetpack")},"add product":{[a.Bn]:__("Add payment plan","jetpack"),[a.DM]:__("Add subscription","jetpack")},"product requires a name":{[a.Bn]:__("Payment plan requires a name","jetpack"),[a.DM]:__("Subscription requires a name","jetpack")},"product requires a valid price":{[a.Bn]:__("Payment plan requires a valid price","jetpack"),[a.DM]:__("Subscription requires a valid price","jetpack")},"successfully created product":{[a.Bn]:__("Successfully created payment plan","jetpack"),[a.DM]:__("Successfully created subscription","jetpack")},"there was an error when adding the product":{[a.Bn]:__("There was an error when adding the payment plan.","jetpack"),[a.DM]:__("There was an error when adding the subscription.","jetpack")},"invalid product configured for this block":{[a.Bn]:__("Invalid payment plan configured for this block.","jetpack"),[a.DM]:__("Invalid subscription configured for this block.","jetpack")},"the button will be hidden from your visitors until you select a valid product":{[a.Bn]:__("The button will be hidden from your visitors until you select a valid payment plan.","jetpack"),[a.DM]:__("The subscribe button will be hidden from your visitors until you select a valid subscription.","jetpack")},"mark this product as a donation":{[a.Bn]:__("Mark this payment plan as a donation","jetpack"),[a.DM]:__("Mark this subscription as a donation","jetpack")}};function i(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.Bn;return(null==o||null===(t=o[e])||void 0===t?void 0:t[n])||null}},2327:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(55609),o=n(65736),i=n(81427),s=n(46867),l=n(84069);const __=o.__;function c(e){let{blockName:t,connectUrl:n}=e;const{autosaveAndRedirect:o}=(0,s.Z)(n);return(0,r.createElement)(a.ToolbarButton,{className:"connect-stripe components-tab-button",icon:i.Pw,onClick:e=>{e.preventDefault(),l.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t}),o(e)}},__("Connect Stripe","jetpack"))}},16367:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(69307),a=n(89933),o=n(65736),i=n(9818),s=n(84069),l=n(44738),c=n(7652);const __=o.__,u=e=>{let{blockName:t}=e;const n=(0,i.select)(c.h),o=n.getConnectUrl();return n.getShouldUpgrade()||!o?null:(0,r.createElement)(l.Z,{className:"jetpack-stripe-nudge__banner",buttonLabel:__("Connect","jetpack"),icon:(0,r.createElement)(a.Z,{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:o,onClick:()=>s.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t}),title:__("Connect to Stripe to use this block on your site","jetpack"),subtitle:__("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})}},26546:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=e=>{let{align:t,className:n,title:a,description:s,buttonText:l,visible:c=!0,context:u,checkoutUrl:p,goToCheckoutPage:d,isRedirecting:m=!1}=e;const h=o()(n,"jetpack-upgrade-plan-banner",{"wp-block":"editor-canvas"===u,"block-editor-block-list__block":"editor-canvas"===u,"jetpack-upgrade-plan__hidden":!c}),f=__("Redirecting…","jetpack");return(0,r.createElement)("div",{className:h,"data-align":t},(0,r.createElement)("div",{className:"jetpack-upgrade-plan-banner__wrapper"},a&&(0,r.createElement)("strong",{className:o()("banner-title",{[`${n}__title`]:n})},a),s&&(0,r.createElement)("span",{className:`${n}__description banner-description`},s),(0,r.createElement)(i.Button,{href:m?null:p,onClick:d,target:"_top",className:o()("is-primary",{"jetpack-upgrade-plan__hidden":!p}),isBusy:m},m?f:l)))}},87553:function(e,t,n){"use strict";var r=n(9818);const a={setPlans:e=>({type:"SET_PLANS",plans:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",url:e})};(0,r.registerStore)("wordpress-com/plans",{reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?t.plans:e},actions:a,selectors:{getPlan:(e,t)=>e.find((e=>e.product_slug===t))},controls:{FETCH_FROM_API(e){let{url:t}=e;return fetch(t).then((e=>e.json()))}},resolvers:{*getPlan(){const e=yield a.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");return a.setPlans(e)}}})},6598:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return void 0!==r.createBlocksFromInnerBlocksTemplate?(0,r.createBlocksFromInnerBlocksTemplate)(e):e.map((e=>{const t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],[n,o,i=[]]=t;return(0,r.createBlock)(n,o,a(i))}))}},79162:function(e,t,n){"use strict";n.d(t,{Vm:function(){return c},Xy:function(){return i},ck:function(){return o},hj:function(){return s},vs:function(){return l}});var r=n(43317),a=n(92819);const o={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},i=Object.keys(o).map((e=>{const{symbol:t}=(0,r.X)(e);return{value:e,label:t===e?e:`${e} ${(0,a.trimEnd)(t,".")}`}}));function s(e){return o[e]}function l(e,t){return!isNaN(t)&&t>=s(e)}function c(e,t){return e?"number"==typeof e?e:(e=parseFloat(e.replace(new RegExp("\\"+r.M[t].grouping,"g"),"").replace(new RegExp("\\"+r.M[t].decimal,"g"),".")),isNaN(e)?null:e):null}},94545:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{label:t,onClick:n}=e;return(0,r.createElement)(a.Button,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},73905:function(e,t){"use strict";const n=new Map,r=e=>n.has(e);t.Z={acquire:e=>{if(r(e))return null;const t=Math.random();return n.set(e,t),[e,t]},blockExecution:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;for(;r(e);)await new Promise((e=>setTimeout(e,t)))},clearAll:()=>n.clear(),isLocked:r,release:e=>{const[t,a]=e;return!(!r(t)||n.get(t)!==a)&&(n.delete(t),!0)}}},20982:function(e,t,n){"use strict";n.d(t,{Bb:function(){return b},CY:function(){return h},Eh:function(){return s},En:function(){return v},OG:function(){return p},QU:function(){return y},Qh:function(){return g},Tu:function(){return u},Wm:function(){return f},h9:function(){return m},iT:function(){return i},l5:function(){return w},oI:function(){return c},tY:function(){return d},wk:function(){return l},yD:function(){return k},zs:function(){return E}});var r=n(65736),a=n(69771),o=n(92819);const __=r.__,i="google_photos",s="openverse",l="pexels",c="recent",u="/",p=[{value:c,label:__("Photos","jetpack")},{value:u,label:__("Albums","jetpack")}],d=[{value:"",
/* translators: category of images */
label:__("All categories","jetpack")},{value:"animals",
/* translators: category of images */
@@ -147,6 +144,7 @@ label:__("Sport","jetpack")},{value:"travel",
/* translators: category of images */
label:__("Travel","jetpack")},{value:"weddings",
/* translators: category of images */
-label:__("Weddings","jetpack")}],d=["mountain","ocean","river","clouds","pattern","abstract","sky"],m="ANY",h="LAST_7_DAYS",f="LAST_30_DAYS",g="LAST_6_MONTHS",b="LAST_12_MONTHS",v="CUSTOM",k=[{value:m,label:__("Any time","jetpack")},{value:h,label:__("Last 7 days","jetpack")},{value:f,label:__("Last 30 days","jetpack")},{value:g,label:__("Last 6 months","jetpack")},{value:b,label:__("Last 12 months","jetpack")},{value:v,label:__("Specific Month/Year","jetpack")}],y=(new Date).getFullYear(),E=[{label:__("Any Month","jetpack"),value:-1},...(0,o.map)((0,o.range)(0,12),(e=>({label:(0,a.dateI18n)("F",new Date(0,e)),value:e})))]},26634:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(92694),s=n(52175),l=n(63729),c=n(97294),u=n(34724);if((0,l.Z)()&&"function"==typeof s.useBlockEditContext){const e=e=>e.unstableFeaturedImageFlow||e.modalClass&&e.modalClass.indexOf("featured-image")>-1,t=(e,t)=>["core/cover","core/image","core/gallery","core/media-text","jetpack/image-compare","jetpack/slideshow","jetpack/story","jetpack/tiled-gallery"].indexOf(e)>-1&&-1===t.toString().indexOf("coblocks");(0,i.addFilter)("editor.MediaUpload","external-media/replace-media-upload",(n=>r=>{const{name:i}=(0,s.useBlockEditContext)();let{render:l}=r;if(t(i,l)||e(r)){const{allowedTypes:e,gallery:t=!1,value:n=[]}=r;e.indexOf("image")>-1&&!(t&&n.length>0)&&(l=e=>(0,o.createElement)(c.Z,a()({},e,{mediaProps:r})))}return(0,o.createElement)(n,a()({},r,{render:l}))}),100),(0,i.addFilter)("blocks.registerBlockType","external-media/individual-blocks",(function(e,t){return"core/image"!==t?e:{...e,keywords:[...e.keywords,...u.Dv.map((e=>e.keyword))]}}))}},6966:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(55609),l=n(65736),c=n(39630),u=n(25432),p=n(9236);const __=l.__,d=(0,r.memo)((()=>(0,r.createElement)("div",{className:"jetpack-external-media-browser__empty"},(0,r.createElement)("p",null,__("Sorry, but nothing matched your search criteria.","jetpack")))));t.Z=function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,className:m,multiple:h,setPath:f,nextPage:g,onCopy:b}=e,[v,k]=(0,r.useState)([]),[y,E]=(0,r.useState)(-1),w=(0,r.useRef)(-1),_=(0,r.useRef)(null),C=(0,r.useCallback)((e=>{let t=[e];"folder"===e.type?f(e.ID):h?(t=v.slice(0,9).concat(e),v.find((t=>e.ID===t.ID))&&(t=v.filter((t=>t.ID!==e.ID)))):1===v.length&&e.ID===v[0].ID&&(t=[]),k(t)}),[v,h,f]),j=(0,r.useCallback)((()=>{b(v)}),[v,b]),S=t.filter((e=>"folder"!==e.type)).length>0,x=o()({"jetpack-external-media-browser__media":!0,"jetpack-external-media-browser__media__loading":a}),T=o()({"jetpack-external-media-browser":!0,[m]:!0}),N=()=>{let e=1;const t=_.current.children;if(t.length>0){const n=t[0].offsetTop;for(;e<t.length&&t[e].offsetTop===n;)++e}w.current=e},P=(0,i.debounce)(N,400);(0,r.useEffect)((()=>(window.addEventListener("resize",P),()=>{window.removeEventListener("resize",P)})),[]),(0,r.useEffect)((()=>{t.length&&-1===w.current&&N()}),[t]);const A=(e,t)=>{let{item:n}=t;C(n)},I=(e,n)=>{let{item:r,index:a}=n;[c.LEFT,c.RIGHT,c.UP,c.DOWN].includes(e.keyCode)?((e,n)=>{switch(e){case c.LEFT:n>=1&&E(n-1);break;case c.RIGHT:n<t.length&&E(n+1);break;case c.UP:n>=w.current&&E(n-w.current);break;case c.DOWN:n<t.length-w.current&&E(n+w.current)}})(e.keyCode,a):c.SPACE===e.keyCode?(C(r),e.preventDefault()):c.ENTER===e.keyCode&&C(r),[c.LEFT,c.RIGHT,c.UP,c.DOWN,c.SPACE,c.ENTER].includes(e.keyCode)&&e.stopPropagation()};return(0,r.createElement)("div",{className:T},(0,r.createElement)("ul",{ref:_,className:x},t.map(((e,t)=>(0,r.createElement)(p.Z,{item:e,index:t,key:e.ID,onClick:A,onKeyDown:I,focus:t===y,isSelected:v.find((t=>t.ID===e.ID)),isCopying:n}))),0===t.length&&!a&&(0,r.createElement)(d,null),a&&(0,r.createElement)(u.Z,null),l&&!a&&(0,r.createElement)(s.Button,{isSecondary:!0,className:"jetpack-external-media-browser__loadmore",disabled:a||n,onClick:()=>{t.length&&E(t.length),g()}},__("Load More","jetpack"))),S&&(0,r.createElement)((()=>{const e=0===v.length||n,t=n?__("Inserting…","jetpack"):__("Select","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__toolbar"},(0,r.createElement)(s.Button,{isPrimary:!0,isBusy:n,disabled:e,onClick:j},t))}),null))}},9236:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__;t.Z=function(e){const{item:t,focus:n,isSelected:a,isCopying:s=!1}=e,{thumbnails:l,caption:c,name:u,title:p,type:d,children:m=0}=t,{medium:h=null,fmt_hd:f=null}=l,g=p||c||u,b=o()({"jetpack-external-media-browser__media__item":!0,"jetpack-external-media-browser__media__item__selected":a,"jetpack-external-media-browser__media__folder":"folder"===d,"is-transient":s}),v=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n&&v.current.focus()}),[n]),(0,r.createElement)("li",{ref:v,className:b,onClick:s?void 0:t=>{const{item:n,index:r}=e;e.onClick&&e.onClick(t,{item:n,index:r})},onKeyDown:s?void 0:t=>{const{item:n,index:r}=e;e.onKeyDown&&e.onKeyDown(t,{item:n,index:r})},role:"checkbox",tabIndex:"0","aria-checked":!!a,"aria-disabled":!!s},a&&s&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator"},(0,r.createElement)(i.Spinner,null),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator__label"},__("Inserting Image…","jetpack"))),(0,r.createElement)("img",{src:h||f,alt:g}),"folder"===d&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__info"},(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__name"},u),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__count"},m)))}},25432:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.memo)((function(){const e="jetpack-external-media-browser__media__item jetpack-external-media-browser__media__placeholder";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}))}))},97294:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(34724),s=n(60133);const l=e=>e.unstableFeaturedImageFlow||e.modalClass&&-1!==e.modalClass.indexOf("featured-image"),c=e=>void 0===e.multiple&&!l(e);t.Z=function(e){const{mediaProps:t}=e,[n,r]=(0,o.useState)(null),u=(0,i.ZR)(n);return(0,o.createElement)("div",{onClick:e=>e.stopPropagation()},(0,o.createElement)(s.Z,a()({},e,{setSelectedSource:r,isReplace:c(t),isFeatured:l(t),hasImage:t.value>0})),u&&(0,o.createElement)(u,a()({onClose:e=>{e&&(e.stopPropagation(),e.target.closest(".jetpack-external-media-header__dropdown"))||r(null)}},t)))}},60133:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(35127),s=n(2562);const __=o.__;t.Z=function(e){const{mediaProps:t,open:n,setSelectedSource:o,isFeatured:l,isReplace:c,hasImage:u}=e,p=t.render;let d=l,m=!1,h=!l;if(c)return(0,r.createElement)(s.Z,{originalButton:p,open:n,setSource:o});let f=__("Select Image","jetpack");return t.multiple&&(f=__("Select Images","jetpack")),t.allowedTypes.length>1&&(f=__("Select Media","jetpack")),l&&(f=__("Replace Image","jetpack"),d=!1,h=!1,m=!0),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Dropdown,{position:"bottom right",contentClassName:"jetpack-external-media-button-menu__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;const o=p&&p({open:n});return l&&u||o&&"string"!=typeof o.props.children?o:(0,r.createElement)(a.Button,{isPrimary:d,isSecondary:m,isTertiary:h,className:"jetpack-external-media-button-menu","aria-haspopup":"true","aria-expanded":t,onClick:n},f)},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(a.NavigableMenu,{"aria-label":f},(0,r.createElement)(a.MenuGroup,null,(0,r.createElement)(a.MenuItem,{icon:i.Z,onClick:()=>{t(),n()}},__("Media Library","jetpack")),(0,r.createElement)(s.Z,{open:n,setSource:o,onClick:t})))}}))}},2562:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(34724);t.Z=function(e){let{originalButton:t=null,onClick:n=(()=>{}),open:i,setSource:s}=e;return(0,r.createElement)(r.Fragment,null,t&&t({open:i}),o.Dv.map((e=>{let{icon:t,id:o,label:i}=e;return(0,r.createElement)(a.MenuItem,{icon:t,key:o,onClick:()=>{n(),s(o)}},i)})))}},67236:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(96483);const a={list:"/wpcom/v2/external-media/list/",copy:(0,n(58014).Wp)()?"/rest/v1.1/external-media-upload?service=":"/wpcom/v2/external-media/copy/",connection:"/wpcom/v2/external-media/connection/"};function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a[e]?(0,r.addQueryArgs)(a[e]+t,n):null}},97416:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(51591);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.JO,null),(0,r.createElement)("p",null,__("To get started, connect your site to your Google Photos library.","jetpack")),(0,r.createElement)("p",null,__("You can remove the connection in either of these places:","jetpack")),(0,r.createElement)("ul",null,(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://myaccount.google.com/security"},__("Google Security page","jetpack"))),(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://wordpress.com/marketing/connections/"},__("WordPress.com Connections","jetpack")))))}))},75039:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)("p",null,__("Awaiting authorization","jetpack"))}))},72475:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(99418);const __=a.__;t.Z=(0,r.memo)((function(e){let{path:t,setPath:n}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Button,{isTertiary:!0,onClick:()=>n(i.Tu)},__("Albums","jetpack")),"→   ",t.name)}))},10365:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(99418),l=n(38205);const __=a.__;function c(e){let{value:t,updateFilter:n}=e;return(0,r.createElement)(o.SelectControl,{label:__("Category","jetpack"),value:t,options:s.tY,onChange:n})}function u(e){let{value:t,updateFilter:n}=e;const a=t?.range||s.CY,[i,c]=(0,r.useState)(-1),[u,p]=(0,r.useState)(s.zs);return(0,r.createElement)("div",{className:"jetpack-external-media-date-filter"},(0,r.createElement)(o.SelectControl,{label:__("Filter by time period","jetpack"),value:a,options:s.QU,onChange:e=>n({range:e})}),a===s.yD&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Month","jetpack"),value:i,options:s.l5,onChange:c}),(0,r.createElement)(l.Z,{className:"components-base-control",label:__("Year","jetpack"),value:u,min:1970,onChange:p}),(0,r.createElement)(o.Button,{isSecondary:!0,disabled:t?.month===i&&t?.year===u,onClick:()=>{n({range:a,month:i,year:u})}},__("Apply","jetpack"))))}function p(){return(0,r.createElement)("span",null,__("Favorites","jetpack"))}function d(e){let{value:t,updateFilter:n}=e;const a=[{label:__("All","jetpack"),value:""},{label:__("Images","jetpack"),value:"photo"},{label:__("Videos","jetpack"),value:"video"}];return(0,r.createElement)(o.SelectControl,{label:__("Type","jetpack"),value:t,options:a,onChange:n})}function m(e){let{children:t,removeFilter:n,isRemovable:a=!1}=e;return(0,r.createElement)("div",{className:"jetpack-external-media-googlephotos-filter"},t,!!a&&(0,r.createElement)(o.Button,{onClick:n,isSmall:!0},__("Remove Filter","jetpack")))}t.Z=function(e){let{filters:t,setFilters:n,canChangeMedia:a}=e;const o=Object.keys(t).filter((e=>a||"mediaType"!==e)).map((e=>{return(0,r.createElement)(m,{key:e,removeFilter:()=>n((0,i.omit)(t,e))},(a=e,o=t[e],s=r=>n(function(e,t,n){const r={...e,[t]:n};return"mediaType"===t&&"video"===n?delete r.category:"category"===t&&"video"===r.mediaType&&delete r.mediaType,r}(t,e,r)),"category"===a?(0,r.createElement)(c,{value:o,updateFilter:s}):"date"===a?(0,r.createElement)(u,{value:o,updateFilter:s}):"favorite"===a?(0,r.createElement)(p,{value:o}):"mediaType"===a?(0,r.createElement)(d,{value:o,updateFilter:s}):null));var a,o,s}));return 0===o.length?null:o}},50254:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(76292),a=n.n(r),o=n(99418);const i=a()();function s(e){const{mediaType:t,category:n,favorite:r,date:s}=e,l=[];if(t&&l.push("mediaType="+t),n&&"video"!==t&&l.push("categoryInclude="+n),void 0!==r&&l.push("feature=favorite"),s){let e=null,t=null;switch(s.range){case o.Wm:e=a()(i).subtract(7,"days"),t=i;break;case o.Qh:e=a()(i).subtract(30,"days"),t=i;break;case o.Bb:e=a()(i).subtract(6,"months"),t=i;break;case o.En:e=a()(i).subtract(1,"year"),t=i;break;case o.yD:const n=parseInt(s.month),r=parseInt(s.year);isNaN(n)||isNaN(r)||(-1===n?(e=a()([r,0]),t=a()(e).endOf("year")):(e=a()([r,n]),t=a()(e).endOf("month")))}const n=e?e.format("YYYY-MM-DD"):"0000-00-00",r=t?t.format("YYYY-MM-DD"):"0000-00-00";l.push(`dateRange=${n}:${r}`)}return l.length>0?l:null}},48389:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i=[{label:__("Category","jetpack"),value:"category"},{label:__("Date","jetpack"),value:"date"},{label:__("Favorites","jetpack"),value:"favorite"},{label:__("Media Type","jetpack"),value:"mediaType"}];function s(e){return i.filter((t=>void 0===e[t.value]))}function l(e){const t=s(e);return t.length>0?t[0].value:""}t.Z=function(e){const[t,n]=(0,r.useState)(l([])),{isLoading:a,isCopying:i,filters:c,canChangeMedia:u}=e,p=function(e,t){return t?e:e.filter((e=>"mediaType"!==e.value))}(s(c),u);return 0===p.length?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Filters","jetpack"),value:t,disabled:a||i,options:p,onChange:n}),(0,r.createElement)(o.Button,{disabled:a||i,isSecondary:!0,isSmall:!0,onClick:()=>{const r=(a=c,o=t,{...a,[o]:"favorite"===o||""});var a,o;e.setFilters(r),n(l(r))}},__("Add Filter","jetpack")))}},72461:function(e,t,n){"use strict";var r=n(69307),a=n(3308);t.Z=e=>{let{account:t,setAuthenticated:n}=e;const{image:o,name:i}=t||{};return(0,r.createElement)("div",{className:"jetpack-external-media-header__account"},(0,r.createElement)("div",{className:"jetpack-external-media-header__account-info"},o&&(0,r.createElement)("img",{className:"jetpack-external-media-header__account-image",src:o,alt:"",height:"18",width:"18"}),i&&(0,r.createElement)("div",{className:"jetpack-external-media-header__account-name"},i)),(0,r.createElement)(a.Z,{setAuthenticated:n}))}},17482:function(e,t,n){"use strict";var r=n(69307),a=n(39151),o=n(86989),i=n.n(o),s=n(65736),l=n(55609),c=n(99418),u=n(67236),p=n(97416),d=n(75039);const __=s.__;t.Z=function(e){const{setAuthenticated:t}=e,[n,o]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{o(!0),i()({path:(0,u.k)("connection",c.iT)}).then((e=>{if(e.error)throw e.message;(0,a.Z)(e.connect_URL,(()=>{o(!1),t(!0)}))})).catch((()=>{o(!1)}))}),[t]);return(0,r.createElement)("div",{className:"jetpack-external-media-auth"},n?(0,r.createElement)(d.Z,null):(0,r.createElement)(p.Z,null),(0,r.createElement)(l.Button,{isPrimary:!0,disabled:n,onClick:s},__("Connect to Google Photos","jetpack")))}},3308:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(67236),c=n(99418);const __=s.__;t.Z=e=>{let{setAuthenticated:t}=e;const[n,a]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{a(!0),o()({method:"DELETE",path:(0,l.k)("connection",c.iT)}).then((()=>t(!1))).catch((()=>a(!1)))}),[t]);return(0,r.createElement)(i.Button,{isSecondary:!0,className:"jetpack-external-media-browser__disconnect",onClick:s,disabled:n,isBusy:n},__("Disconnect from Google Photos","jetpack"))}},8910:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(99418),s=n(6966),l=n(67236),c=n(10365),u=n(48389),p=n(72461),d=n(72475),m=n(50254);const __=a.__;t.Z=function(e){const{account:t,allowedTypes:n,copyMedia:a,getMedia:h,isCopying:f,isLoading:g,media:b,multiple:v,onChangePath:k,pageHandle:y,path:E,setAuthenticated:w,showAdditionalFilters:_=!1}=e,C=(j=n)&&1===j.length&&"image"===j[0];var j;const[S,x]=(0,r.useState)(C?{mediaType:"photo",date:{range:i.CY}}:{date:{range:i.CY}}),T=(0,r.useRef)(""),N=(0,r.useRef)(""),P=E.ID===i.oI?(0,m.Z)(S):null,A={number:20,path:E.ID};P&&(A.filter=P);const I=(0,l.k)("list",i.iT,A),M=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(I,t)}),[h,I]),B=(0,r.useCallback)((e=>{const t=b.find((t=>t.ID===e));N.current=E,k(t||{ID:e})}),[b,k,N,E]),R=(0,r.useCallback)((e=>{a(e,(0,l.k)("copy",i.iT),i.iT)}),[a]);return(0,r.useEffect)((()=>{T!==I&&(T.current=I,M({},E!==N.current))}),[T,I,M,E]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__google"},(0,r.createElement)("div",{className:"jetpack-external-media-header__view"},(0,r.createElement)(o.SelectControl,{className:"jetpack-external-media-header__select",label:__("View","jetpack"),value:E.ID!==i.oI?i.Tu:i.oI,disabled:g||f,options:i.OG,onChange:B}),_&&E.ID===i.oI&&(0,r.createElement)(u.Z,{filters:S,isLoading:g,setFilters:x,canChangeMedia:!C}),(0,r.createElement)("div",{className:"jetpack-external-media-header__filter"},E.ID===i.oI&&(0,r.createElement)(c.Z,{filters:S,isLoading:g,setFilters:x,canChangeMedia:!C}),E.ID!==i.oI&&E.ID!==i.Tu&&(0,r.createElement)(d.Z,{path:E,setPath:B})),(!g||b.length>0)&&(0,r.createElement)(p.Z,{account:t,setAuthenticated:w})),(0,r.createElement)(s.Z,{className:"jetpack-external-media-browser__google",key:I,media:b,isCopying:f,isLoading:g,nextPage:M,onCopy:R,pageHandle:y,multiple:v,setPath:B}))}},5465:function(e,t,n){"use strict";var r=n(69307),a=n(37603),o=n(17482),i=n(8910);t.Z=(0,a.Z)()((function(e){return e.isAuthenticated?(0,r.createElement)(i.Z,e):(0,r.createElement)(o.Z,e)}))},34724:function(e,t,n){"use strict";n.d(t,{Dv:function(){return c},ZR:function(){return u}});var r=n(69307),a=n(65736),o=n(51591),i=n(5465),s=n(7500),l=n(99418);const __=a.__,c=[{id:l.iT,label:__("Google Photos","jetpack"),icon:(0,r.createElement)(o.He,{className:"components-menu-items__item-icon"}),keyword:"google photos"},{id:l.wk,label:__("Pexels Free Photos","jetpack"),icon:(0,r.createElement)(o.yk,{className:"components-menu-items__item-icon"}),keyword:"pexels"}];function u(e){return e===l.wk?s.Z:e===l.iT?i.Z:null}},7500:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(99418),l=n(37603),c=n(6966),u=n(67236);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.wk),s.wk)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.wk,{number:20,path:"recent",search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(!w.current)return;const e=Array.from(w.current.elements).find((e=>"search"===e.type));e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__pexels"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__pexels",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{isPrimary:!0,onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__pexels",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},37603:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(27538),a=n.n(r),o=n(69307),i=n(92819),s=n(89105),l=n.n(s),c=n(86989),u=n.n(c),p=n(94333),d=n(55609),m=n(65736),h=n(39630),f=n(9818),g=n(99418);const __=m.__;function b(){return(0,p.createHigherOrderComponent)((e=>{class t extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"contentRef",(e=>{e?(this.contentElement=e,this.modalElement=e.closest(".jetpack-external-media-browser"),this.modalElement&&this.modalElement.addEventListener("keydown",this.stopArrowKeysPropagation)):this.modalElement&&(this.modalElement.removeEventListener("keydown",this.stopArrowKeysPropagation),this.modalElement=null,this.contentElement=null)})),a()(this,"stopArrowKeysPropagation",(e=>{[h.UP,h.DOWN,h.LEFT,h.RIGHT].includes(e.keyCode)&&!e.target.classList.contains("jetpack-external-media-browser__media__item")&&e.stopPropagation()})),a()(this,"setAuthenticated",(e=>this.setState({isAuthenticated:e}))),a()(this,"getMedia",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.state.isLoading||(n&&t.props.noticeOperations.removeAllNotices(),t.setState({account:n?t.defaultAccount:t.state.account,isLoading:!0,media:n?[]:t.state.media,nextHandle:!n&&t.state.nextHandle},(()=>t.getMediaRequest(e))))})),a()(this,"handleApiError",(e=>{if("authorization_required"===e.code)return void this.setState({isAuthenticated:!1,isLoading:!1,isCopying:!1});e.errors?.length&&(e={code:e.errors[0].error,message:e.errors[0].message});const{noticeOperations:t}=this.props;t.createErrorNotice("internal_server_error"===e.code?"Internal server error":e.message),this.setState({isLoading:!1,isCopying:!1})})),a()(this,"getMediaRequest",(e=>{const{nextHandle:t,media:n}=this.state;if(!1===t&&n.length>0)return void this.setState({isLoading:!1});const r=this.getRequestUrl(e);this.setAuthenticated(!0),u()({path:r,method:"GET",parse:void 0===window.wpcomFetch}).then((e=>{this.setState({account:e.meta.account,media:this.mergeMedia(n,e.media),nextHandle:e.meta.next_page,isLoading:!1})})).catch(this.handleApiError)})),a()(this,"copyMedia",((e,t,n)=>{var r;this.setState({isCopying:e}),this.props.noticeOperations.removeAllNotices(),this.modalElement&&this.modalElement.focus(),u()({path:t,method:"POST",data:{external_ids:e.map((e=>e.guid)),media:e.map((e=>({guid:e.guid,caption:e.caption,title:e.title}))),service:n,post_id:null!==(r=this.props.postId)&&void 0!==r?r:0}}).then((e=>{e.media&&(e=e.media.map((e=>({alt:e.alt,caption:e.caption,id:e.ID,type:"image",url:e.URL}))));const{value:t,addToGallery:n,multiple:r}=this.props,a=r?e:e[0],o=e.find((e=>e.errors));if(o){const{errors:e}=o,t=Object.keys(e)[0];this.handleApiError({code:t,message:e[t]})}else this.props.onClose(),this.props.onSelect(n?t.concat(e):a)})).catch(this.handleApiError)})),a()(this,"onChangePath",((e,t)=>{this.setState({path:e},t)})),this.defaultAccount={image:"",name:""},this.state={account:this.defaultAccount,media:[],nextHandle:!1,isLoading:!1,isCopying:null,isAuthenticated:!0,path:{ID:g.oI}}}mergeMedia(e,t){return(0,i.uniqBy)(e.concat(t),"ID")}getRequestUrl(e){const{nextHandle:t}=this.state;return t?e+"&page_handle="+encodeURIComponent(t):e}render(){const{account:t,isAuthenticated:n,isCopying:r,isLoading:a,media:i,nextHandle:s,path:c}=this.state,{allowedTypes:u,multiple:p=!1,noticeUI:m,onClose:h}=this.props,f=r?__("Inserting media","jetpack"):__("Select media","jetpack",0),g=r?__("When the media is finished copying and inserting, you will be returned to the editor.","jetpack"):__("Select the media you would like to insert into the editor.","jetpack",0),b="jetpack-external-media-browser__description",v=l()({"jetpack-external-media-browser":!0,"jetpack-external-media-browser--is-copying":r});return(0,o.createElement)(d.Modal,{onRequestClose:h,title:f,aria:{describedby:b},className:v},(0,o.createElement)("div",{ref:this.contentRef},m,(0,o.createElement)("p",{id:b,className:"jetpack-external-media-browser--visually-hidden"},g),(0,o.createElement)(e,{account:t,getMedia:this.getMedia,copyMedia:this.copyMedia,isCopying:r,isLoading:a,media:i,pageHandle:s,allowedTypes:u,isAuthenticated:n,setAuthenticated:this.setAuthenticated,multiple:p,path:c,onChangePath:this.onChangePath})))}}return(0,f.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()})))((0,d.withNotices)(t))}))}},36745:function(e,t,n){"use strict";n.d(t,{Qu:function(){return i}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["allowedMimeTypes"],[])}function i(e,t){if(!e||!t)return!1;if(!o())return!1;const n=(a=t)?(0,r.pickBy)(o(),(e=>(0,r.startsWith)(e,`${a}/`))):{};var a;const i=(s=n)?(0,r.flatten)((0,r.map)((0,r.keys)(s),(e=>e.split("|")))):[];var s;if("string"==typeof e){const t=e.split(".").pop();return t&&i.includes(t)}return"object"==typeof e&&(e.type&&(0,r.values)(n).includes(e.type))}},20510:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){const e=(0,r.getCategories)();for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];for(const t of n)if(e.some((e=>{let{slug:n}=e;return n===t})))return t;throw new Error(`Could not find a category from the provided list: ${n.join(",")}`)}},2368:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(96483);function a(e,t){if(!(0,r.isURL)(t))return null;let n=t;try{const a=(0,r.getQueryArg)(t,"state"),o=JSON.parse(atob(a));if(e)o.from_editor_post_id=e;else{const e=new URLSearchParams(window.location.search);o.from_site_editor_post_id=e.get("postId"),o.from_site_editor_post_type=e.get("postType")}n=(0,r.addQueryArgs)(t,{state:btoa(JSON.stringify(o))})}catch(e){0}return n}},47583:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);function a(){return(0,r.get)("object"==typeof window?window:null,["Jetpack_Editor_Initial_State"],null)}},21409:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(e){const t=(0,a.Z)(),n=(0,r.get)(t,["available_blocks",e,"available"],!1),o=(0,r.get)(t,["available_blocks",e,"unavailable_reason"],"unknown"),i=(0,r.get)(t,["available_blocks",e,"details"],[]);return{available:n,...!n&&{details:i,unavailableReason:o}}}},4235:function(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,{Z:function(){return r}})},14087:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(92819);const a=(e,t)=>(0,r.reduce)(t,((t,n,r)=>{if(void 0===e[r])return t;const{type:a,validator:o,validValues:i,default:s}=e[r];return t[r]="boolean"===a?"false"!==n&&!!n:o?o(n)?n:s:i?i.includes(n)?n:s:n,t}),{})},22985:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(20651),c=n.n(l);t.Z=e=>{let{children:t=null,isError:n=!1,...r}=e;const i=s()("help-message",{"help-message-is-error":n});return t&&(0,o.createElement)("div",a()({className:i},r),n&&(0,o.createElement)(c(),{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),(0,o.createElement)("span",null,t))}},51591:function(e,t,n){"use strict";n.d(t,{He:function(){return d},yk:function(){return m},JO:function(){return h},IM:function(){return f},zf:function(){return E},Ae:function(){return w},K9:function(){return _},Xu:function(){return C},VV:function(){return j},_z:function(){return S},Qv:function(){return x},av:function(){return T},Pw:function(){return N}});var r=n(29183),a=n.n(r),o=n(69307),i=n(55609),s=n(89105),l=n.n(s),c=n(27655),u=n(57535);const p=c.O["Jetpack Green 40"],d=e=>(0,o.createElement)(i.SVG,a()({height:"24",width:"24",viewBox:"1.2 10.8 169.6 169.6",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.Path,{d:"m43.6 49.4c23.4 0 42.4 19 42.4 42.4v3.9h-80.9c-2.1 0-3.8-1.7-3.9-3.9 0-23.4 19-42.4 42.4-42.4z",fill:"#f6bc04"}),(0,o.createElement)(i.Path,{d:"m132.2 53.2c0 23.4-19 42.4-42.4 42.4h-3.8v-80.9c0-2.1 1.7-3.9 3.8-3.9 23.5 0 42.4 19 42.4 42.4z",fill:"#ea4335"}),(0,o.createElement)(i.Path,{d:"m128.4 141.9c-23.4 0-42.4-19-42.4-42.4v-3.9h80.9c2.1 0 3.9 1.7 3.9 3.8 0 23.5-19 42.5-42.4 42.5z",fill:"#4285f4"}),(0,o.createElement)(i.Path,{d:"m39.8 138c0-23.4 19-42.4 42.4-42.4h3.8v80.9c0 2.1-1.7 3.8-3.9 3.9-23.4 0-42.3-19-42.3-42.4z",fill:"#34a853"})),m=e=>(0,o.createElement)(i.SVG,a()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),(0,o.createElement)(i.Path,{d:"M14 7H9v10h3.9v-3.8H14c1.7 0 3.1-1.4 3.1-3.1C17.2 8.4 15.8 7 14 7z"}),(0,o.createElement)(i.Path,{d:"M20.5 2h-17C2.7 2 2 2.7 2 3.5v17c0 .8.7 1.5 1.5 1.5h17c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5zm-5.6 13.2V19H7V5h7c2.8 0 5.1 2.3 5.1 5.1.1 2.5-1.8 4.7-4.2 5.1z"})),h=()=>{const e="#757575";return(0,o.createElement)(i.SVG,{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/SVG",x:"0px",y:"0px",viewBox:"0 0 1292 448",style:{enableBackground:"new 0 0 1292 448"}},(0,o.createElement)(i.G,{id:"Icon"},(0,o.createElement)(i.Path,{class:"st0",fill:"#F6B704",d:"M171.6,177.4c23.4,0,42.4,19,42.4,42.4v3.9h-80.9c-2.1,0-3.8-1.7-3.9-3.9C129.2,196.4,148.2,177.4,171.6,177.4 C171.6,177.4,171.6,177.4,171.6,177.4z"}),(0,o.createElement)(i.Path,{class:"st1",fill:"#E54335",d:"M260.2,181.2c0,23.4-19,42.4-42.4,42.4H214v-80.9c0-2.1,1.7-3.9,3.8-3.9h0 C241.3,138.8,260.2,157.8,260.2,181.2C260.2,181.2,260.2,181.2,260.2,181.2z"}),(0,o.createElement)(i.Path,{class:"st2",fill:"#4280EF",d:"M256.4,269.9c-23.4,0-42.4-19-42.4-42.4v-3.9h80.9c2.1,0,3.9,1.7,3.9,3.8v0 C298.8,250.9,279.8,269.9,256.4,269.9C256.4,269.9,256.4,269.9,256.4,269.9z"}),(0,o.createElement)(i.Path,{class:"st3",fill:"#34A353",d:"M167.8,266c0-23.4,19-42.4,42.4-42.4c0,0,0,0,0,0h3.9v80.9c0,2.1-1.7,3.8-3.9,3.9 C186.7,308.4,167.8,289.4,167.8,266z"})),(0,o.createElement)(i.G,{id:"Photos"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M796,272v-91.6h31.2c15.2,0,28.7,11.3,28.7,27.3s-13.4,27.3-28.7,27.3h-19.4V272H796z M827.5,223.6 c8.8,0,16-7.2,16-16s-7.2-16-16-16h-19.7v32H827.5z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M875.8,209.3l-0.5,8.7h0.5c3.3-5.8,11.3-10.8,19.8-10.8c16,0,23.9,10.9,23.9,26.4V272h-11.8v-36.6 c0-13-6.5-17.4-15.5-17.4c-10.2,0-16.5,9.7-16.5,19.3V272H864v-91.6h11.8V209.3z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M993.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4S993.8,221.6,993.8,240.6z M982,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S982,255,982,240.6L982,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1008,252.9V220h-11v-10.7h11v-19.2h11.8v19.2h15.3V220h-15.3v32c0,7,2.9,10.2,8.4,10.2c1.8,0.1,3.7-0.3,5.4-1 l4.1,10.1c-3,1.2-6.2,1.8-9.5,1.7C1015,273,1008,265.7,1008,252.9z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1105.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4 S1105.8,221.6,1105.8,240.6z M1094,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S1094,255,1094,240.6 L1094,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1111,256.1l10.5-4.4c3.3,7.9,9.5,11.8,17,11.8c7.3,0,12.5-3.6,12.5-8.8c0-3.2-1.9-6.6-8.6-8.3l-12.7-3.1 c-5.8-1.4-16.8-6.4-16.8-17.4c0-11.4,11.8-18.7,24.8-18.7c10.9,0,20.3,5,24.2,14.6l-10.2,4.2c-2.4-5.9-8.2-8.3-14.3-8.3 c-6.7,0-12.4,3-12.4,8.1c0,4,3.3,6.1,8.3,7.3l12.4,2.9c12.4,2.9,17.3,10.6,17.3,18.3c0,11.1-10,19.7-24.7,19.7 C1123.2,274,1114.7,265.1,1111,256.1z"})),(0,o.createElement)(i.G,{id:"Google"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M348.7,221.6c0-28.9,24.3-52.5,53.2-52.5c13.5-0.2,26.4,5,36,14.5l-10.1,10.1c-6.9-6.7-16.2-10.4-25.9-10.2 c-21.1,0-37.6,17-37.6,38.2s16.5,38.1,37.6,38.1c13.7,0,21.5-5.5,26.5-10.5c4.1-4.1,6.8-10,7.8-18H402v-14.4h48.3 c0.5,3,0.8,6,0.8,9c0,10.8-2.9,24.1-12.4,33.5c-9.2,9.6-21,14.7-36.6,14.7C373,274,348.7,250.5,348.7,221.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M490,206.5c-18.7,0-33.9,14.2-33.9,33.8S471.3,274,490,274s33.9-14.3,33.9-33.8S508.7,206.5,490,206.5z M490,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S500.2,260.7,490,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M564,206.5c-18.7,0-33.9,14.2-33.9,33.8S545.3,274,564,274s33.9-14.3,33.9-33.8S582.7,206.5,564,206.5z M564,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S574.2,260.7,564,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M654.8,208.5v5.5h-0.5c-3.3-4-9.7-7.6-17.8-7.6c-16.9,0-32.4,14.9-32.4,33.9s15.5,33.7,32.4,33.7 c8.1,0,14.5-3.6,17.8-7.7h0.5v4.9c0,12.9-6.9,19.8-18,19.8c-9.1,0-14.7-6.5-17-12l-12.9,5.4c5,12.1,16.8,20.1,30,20 c17.4,0,32.1-10.2,32.1-35.2v-60.7H654.8z M637.8,260.7c-10.2,0-18.8-8.6-18.8-20.4s8.6-20.6,18.8-20.6s18,8.7,18,20.6 S647.9,260.7,637.8,260.7L637.8,260.7z"}),(0,o.createElement)(i.Rect,{x:"679.2",y:"172.7",class:"st4",fill:e,width:"14.8",height:"99.3"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M734.7,260.7c-7.6,0-12.9-3.5-16.4-10.2l45.2-18.7L762,228c-2.8-7.6-11.4-21.5-28.9-21.5s-31.9,13.7-31.9,33.8 c0,19,14.3,33.8,33.5,33.8c11.3,0.1,21.9-5.6,28.2-15l-11.5-7.7C747.5,257,742.3,260.7,734.7,260.7z M733.6,219.5 c5.9,0,10.9,2.9,12.5,7.2l-30.2,12.5C715.5,226.2,726,219.5,733.6,219.5L733.6,219.5z"})))},f=e=>{let{size:t=24,className:n}=e;return(0,o.createElement)(i.SVG,{className:l()("jetpack-logo",n),width:t,height:t,viewBox:"0 0 32 32"},(0,o.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:p,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))},g=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.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.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))),b=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))),v=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),k=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),y=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.G,null,(0,o.createElement)(i.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.05h-9.36z"}))),E={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 100 100"},(0,o.createElement)(i.Path,{d:"M100,44H72.4l23.9-13.8l-6-10.4L66.4,33.6L80.2,9.7l-10.4-6L56,27.59V0H44v27.6L30.2,3.7l-10.4,6l13.8,23.9 L9.7,19.8l-6,10.4L27.6,44H0V56h27.6L3.7,69.8l6,10.4l23.9-13.8L19.8,90.3l10.4,6L44,72.4V100H56V72.41l13.8,23.9l10.4-6L66.4,66.4 l23.9,13.8l6-10.4L72.4,56H100V44z M50,65.23c-8.41,0-15.23-6.82-15.23-15.23c0-8.41,6.82-15.23,15.23-15.23S65.23,41.59,65.23,50 C65.23,58.41,58.41,65.23,50,65.23z"}))},w={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.7 17",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{d:"m20.7 12.9-.9-11c0-.5-.2-.9-.5-1.3-.3-.3-.8-.5-1.3-.5L1.9 0h-.1c-.2 0-.5 0-.7.1C.9.2.7.4.5.5.4.7.2.9.1 1.1c-.1.2-.1.5-.1.7v.1l.9 13.4c0 .5.2.9.5 1.3.3.2.8.4 1.3.4H3l16.1-2c.4 0 .9-.3 1.1-.6.3-.3.5-.8.5-1.2v-.3zm-3.1.8L4.2 15.3H4c-.4 0-.8-.1-1-.4-.3-.3-.4-.6-.5-1L1.7 3.2v-.1c0-.4.2-.8.5-1 .3-.3.7-.4 1-.4h.1l13.5.1c.4 0 .8.1 1 .4.3.3.4.6.5 1L19 12v.3c0 .4-.2.7-.4 1-.3.2-.6.4-1 .4z"}))},_={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})))},C=((0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M15.9216 2H2.98533C2.43803 2 1.99023 2.45 1.99023 3V17L5.97062 13H15.9216C16.4689 13 16.9167 12.55 16.9167 12V3C16.9167 2.45 16.4689 2 15.9216 2ZM14.9265 4V11H5.14469L3.98043 12.17V4H14.9265ZM18.9069 6H20.8971C21.4444 6 21.8922 6.45 21.8922 7V22L17.9118 18H6.96572C6.41842 18 5.97062 17.55 5.97062 17V15H18.9069V6Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M3.98042 2H19.9019C20.9965 2 21.8921 2.9 21.8921 4V16C21.8921 17.1 20.9965 18 19.9019 18H5.97061L1.99023 22V4C1.99023 2.9 2.88582 2 3.98042 2ZM5.97061 16H19.9019V4H3.98042V18L5.97061 16Z"}))),{foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M11.1114 8H20.0002M11.1113 15H20.0002",stroke:(0,u.m)(),strokeWidth:"1.5"}),(0,o.createElement)(i.Path,{d:"M4 10V6L8 8L4 10Z",fill:(0,u.m)()}),(0,o.createElement)(i.Path,{d:"M4 17V13L8 15L4 17Z",fill:(0,u.m)()})))}),j={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M4 12V4L11 8L4 12Z"}),(0,o.createElement)(i.Path,{d:"M4 14.5H20V16H4V14.5Z"}),(0,o.createElement)(i.Path,{d:"M4 18.5H13V20H4V18.5Z"})))},S=((0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M2.5 7.5V4.5H15.5V7.5H10.5V19.5H7.5V7.5H2.5ZM12.5 9.5H21.5V12.5H18.5V19.5H15.5V12.5H12.5V9.5Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M12.7049 2V6C8.30658 6 4.74414 9.58 4.74414 14C4.74414 18.42 8.30658 22 12.7049 22C17.1032 22 20.6656 18.42 20.6656 14H18.6755C18.6755 17.31 15.9987 20 12.7049 20C9.41113 20 6.73433 17.31 6.73433 14C6.73433 10.69 9.41113 8 12.7049 8V12L17.6804 7L12.7049 2ZM11.6501 12.73L11.4013 14.9L12.068 15.06C12.0753 15.0526 12.0827 15.0447 12.0901 15.0366C12.1131 15.0116 12.1375 14.9851 12.1675 14.97C12.1874 14.96 12.2073 14.9475 12.2272 14.935C12.2471 14.9225 12.2671 14.91 12.287 14.9C12.3268 14.88 12.3865 14.86 12.4362 14.85C12.486 14.84 12.5556 14.83 12.6352 14.83C12.7447 14.83 12.8542 14.85 12.9338 14.88C13.0134 14.91 13.083 14.96 13.1427 15.03C13.2024 15.1 13.2422 15.17 13.2721 15.27C13.302 15.37 13.3119 15.47 13.3119 15.58V15.58C13.3119 15.69 13.3119 15.79 13.2821 15.89C13.2522 15.99 13.2124 16.07 13.1726 16.14C13.1328 16.21 13.0631 16.27 12.9935 16.31C12.9238 16.35 12.8343 16.37 12.7248 16.37C12.5556 16.37 12.4163 16.31 12.3069 16.22C12.1974 16.13 12.1377 15.99 12.1178 15.81H11.2819C11.2819 16.01 11.3317 16.19 11.4113 16.34C11.4909 16.49 11.5904 16.63 11.7297 16.73C11.869 16.83 12.0183 16.92 12.1874 16.97C12.3566 17.02 12.5357 17.05 12.7148 17.05C12.9636 17.05 13.1726 17 13.3517 16.93C13.5308 16.86 13.6801 16.75 13.7995 16.62C13.9189 16.49 14.0085 16.34 14.0682 16.17C14.1279 16 14.1577 15.82 14.1577 15.63C14.1577 15.41 14.1179 15.21 14.0682 15.03C14.0184 14.85 13.9289 14.7 13.8194 14.58C13.7099 14.46 13.5706 14.37 13.4114 14.3C13.2522 14.23 13.0731 14.2 12.8641 14.2C12.7945 14.2 12.7248 14.21 12.6651 14.22C12.6352 14.225 12.6054 14.2325 12.5755 14.24C12.5457 14.2475 12.5158 14.255 12.486 14.26C12.4263 14.27 12.3765 14.29 12.3367 14.31C12.3201 14.3183 12.3035 14.325 12.2876 14.3313C12.2654 14.3401 12.2446 14.3483 12.2272 14.36L12.3367 13.44H14.0284V12.73H11.6501Z"}))),x=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M11.9412 2V6C16.3395 6 19.902 9.58 19.902 14C19.902 18.42 16.3395 22 11.9412 22C7.54291 22 3.98047 18.42 3.98047 14H5.97066C5.97066 17.31 8.64746 20 11.9412 20C15.235 20 17.9118 17.31 17.9118 14C17.9118 10.69 15.235 8 11.9412 8V12L6.96575 7L11.9412 2ZM10.8864 12.73L10.6376 14.9L11.3044 15.06C11.3117 15.0526 11.319 15.0447 11.3264 15.0366C11.3494 15.0116 11.3738 14.9851 11.4039 14.97C11.4238 14.96 11.4437 14.9475 11.4636 14.935C11.4835 14.9225 11.5034 14.91 11.5233 14.9C11.5631 14.88 11.6228 14.86 11.6725 14.85C11.7223 14.84 11.792 14.83 11.8716 14.83C11.981 14.83 12.0905 14.85 12.1701 14.88C12.2497 14.91 12.3194 14.96 12.3791 15.03C12.4388 15.1 12.4786 15.17 12.5084 15.27C12.5383 15.37 12.5482 15.47 12.5482 15.58V15.58C12.5482 15.69 12.5482 15.79 12.5184 15.89C12.4885 15.99 12.4487 16.07 12.4089 16.14C12.3691 16.21 12.2995 16.27 12.2298 16.31C12.1601 16.35 12.0706 16.37 11.9611 16.37C11.792 16.37 11.6526 16.31 11.5432 16.22C11.4337 16.13 11.374 15.99 11.3541 15.81H10.5182C10.5182 16.01 10.568 16.19 10.6476 16.34C10.7272 16.49 10.8267 16.63 10.966 16.73C11.1053 16.83 11.2546 16.92 11.4238 16.97C11.5929 17.02 11.7721 17.05 11.9512 17.05C12.1999 17.05 12.4089 17 12.588 16.93C12.7672 16.86 12.9164 16.75 13.0358 16.62C13.1552 16.49 13.2448 16.34 13.3045 16.17C13.3642 16 13.3941 15.82 13.3941 15.63C13.3941 15.41 13.3543 15.21 13.3045 15.03C13.2547 14.85 13.1652 14.7 13.0557 14.58C12.9463 14.46 12.807 14.37 12.6477 14.3C12.4885 14.23 12.3094 14.2 12.1004 14.2C12.0308 14.2 11.9611 14.21 11.9014 14.22C11.8716 14.225 11.8417 14.2325 11.8119 14.24C11.782 14.2475 11.7522 14.255 11.7223 14.26C11.6626 14.27 11.6128 14.29 11.573 14.31C11.5564 14.3183 11.5398 14.325 11.5239 14.3313C11.5017 14.3401 11.481 14.3483 11.4636 14.36L11.573 13.44H13.2647V12.73H10.8864Z"})),T=e=>{let{serviceName:t,className:n}=e;const r={className:l()("jetpack-gutenberg-social-icon",`is-${t}`,n),size:24};switch(t){case"facebook":return(0,o.createElement)(i.Icon,a()({icon:g},r));case"twitter":return(0,o.createElement)(i.Icon,a()({icon:b},r));case"linkedin":return(0,o.createElement)(i.Icon,a()({icon:v},r));case"tumblr":return(0,o.createElement)(i.Icon,a()({icon:k},r));case"google":return(0,o.createElement)(i.Icon,a()({icon:y},r))}return null},N=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M0 0h24v24H0z",fill:"none"}),(0,o.createElement)(i.Path,{d:"M7 2v11h3v9l7-12h-4l4-8z",fill:"currentColor"}))},28938:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_active"],!1)}},63729:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_current_user_connected"],!1)}},47077:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_offline_mode"],!1)}},23539:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(98817),s=n(32673);const __=a.__,{Fill:l,Slot:c}=(0,o.createSlotFill)("JetpackLikesAndSharingPanel");(0,i.registerPlugin)("jetpack-likes-and-sharing-panel",{render:()=>(0,r.createElement)(c,null,(e=>e.length?(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Likes and Sharing","jetpack")},e)):null))})},32673:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(55609),o=n(72067),i=n(98817),s=n(9818),l=n(96483),c=n(47701),u=n.n(c),p=n(51591);const{Fill:d,Slot:m}=(0,a.createSlotFill)("JetpackPluginSidebar");u()((function(){"true"===(0,l.getQueryArg)(window.location.search,"jetpackSidebarIsOpen")&&(0,s.dispatch)("core/interface").enableComplementaryArea("core/edit-post","jetpack-sidebar/jetpack")})),(0,i.registerPlugin)("jetpack-sidebar",{render:()=>(0,r.createElement)(m,null,(e=>e.length?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PluginSidebarMoreMenuItem,{target:"jetpack",icon:(0,r.createElement)(p.IM,null)},"Jetpack"),(0,r.createElement)(o.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:(0,r.createElement)(p.IM,null)},e)):null))})},7616:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(9818),i=n(65736),s=(n(53961),n(82827),n(4235)),l=n(58014);const __=i.__;function c(){const e=(0,s.Z)();return void 0!==typeof window&&window.location&&e?(0,l.Wp)()||(0,l.Ug)()?`https://wordpress.com/plans/my-plan/${e}`:`${window.location.protocol}//${e.replace("::","/")}/wp-admin/admin.php?page=jetpack#/my-plan`:null}(async()=>{if(void 0!==typeof window&&window.location){if(new URLSearchParams(window.location.search).get("plan_upgraded")){let e=null;e:try{if((0,l.Wp)())break e;const t=await a()({path:"/jetpack/v4/site"});e=JSON.parse(t.data).plan.product_name}finally{const t=c();(0,o.dispatch)("core/notices").createNotice("success",e?(0,i.sprintf)(
+label:__("Weddings","jetpack")}],m=["mountain","ocean","river","clouds","pattern","abstract","sky"],h="ANY",f="LAST_7_DAYS",g="LAST_30_DAYS",b="LAST_6_MONTHS",v="LAST_12_MONTHS",k="CUSTOM",y=[{value:h,label:__("Any time","jetpack")},{value:f,label:__("Last 7 days","jetpack")},{value:g,label:__("Last 30 days","jetpack")},{value:b,label:__("Last 6 months","jetpack")},{value:v,label:__("Last 12 months","jetpack")},{value:k,label:__("Specific Month/Year","jetpack")}],E=(new Date).getFullYear(),w=[{label:__("Any Month","jetpack"),value:-1},...(0,o.map)((0,o.range)(0,12),(e=>({label:(0,a.dateI18n)("F",new Date(0,e)),value:e})))]},54414:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(92694),s=n(52175),l=n(35089),c=n(10892),u=n(38457);if((0,l.Z)()&&"function"==typeof s.useBlockEditContext){const e=e=>e.unstableFeaturedImageFlow||e.modalClass&&e.modalClass.indexOf("featured-image")>-1,t=(e,t)=>["core/cover","core/image","core/gallery","core/media-text","jetpack/image-compare","jetpack/slideshow","jetpack/story","jetpack/tiled-gallery"].indexOf(e)>-1&&-1===t.toString().indexOf("coblocks");(0,i.addFilter)("editor.MediaUpload","external-media/replace-media-upload",(n=>r=>{const{name:i}=(0,s.useBlockEditContext)();let{render:l}=r;if(t(i,l)||e(r)){const{allowedTypes:e,gallery:t=!1,value:n=[]}=r;e.indexOf("image")>-1&&!(t&&n.length>0)&&(l=e=>(0,o.createElement)(c.Z,a()({},e,{mediaProps:r})))}return(0,o.createElement)(n,a()({},r,{render:l}))}),100),(0,i.addFilter)("blocks.registerBlockType","external-media/individual-blocks",(function(e,t){return"core/image"!==t?e:{...e,keywords:[...e.keywords,...u.Dv.map((e=>e.keyword))]}}))}},11583:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(55609),l=n(65736),c=n(39630),u=n(9827),p=n(46406);const __=l.__,d=(0,r.memo)((()=>(0,r.createElement)("div",{className:"jetpack-external-media-browser__empty"},(0,r.createElement)("p",null,__("Sorry, but nothing matched your search criteria.","jetpack")))));t.Z=function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,className:m,multiple:h,setPath:f,nextPage:g,onCopy:b}=e,[v,k]=(0,r.useState)([]),[y,E]=(0,r.useState)(-1),w=(0,r.useRef)(-1),_=(0,r.useRef)(null),C=(0,r.useCallback)((e=>{let t=[e];"folder"===e.type?f(e.ID):h?(t=v.slice(0,9).concat(e),v.find((t=>e.ID===t.ID))&&(t=v.filter((t=>t.ID!==e.ID)))):1===v.length&&e.ID===v[0].ID&&(t=[]),k(t)}),[v,h,f]),j=(0,r.useCallback)((()=>{b(v)}),[v,b]),S=t.filter((e=>"folder"!==e.type)).length>0,x=o()({"jetpack-external-media-browser__media":!0,"jetpack-external-media-browser__media__loading":a}),P=o()({"jetpack-external-media-browser":!0,[m]:!0}),T=()=>{let e=1;const t=_.current.children;if(t.length>0){const n=t[0].offsetTop;for(;e<t.length&&t[e].offsetTop===n;)++e}w.current=e},N=(0,i.debounce)(T,400);(0,r.useEffect)((()=>(window.addEventListener("resize",N),()=>{window.removeEventListener("resize",N)})),[]),(0,r.useEffect)((()=>{t.length&&-1===w.current&&T()}),[t]);const A=(e,t)=>{let{item:n}=t;C(n)},I=(e,n)=>{let{item:r,index:a}=n;[c.LEFT,c.RIGHT,c.UP,c.DOWN].includes(e.keyCode)?((e,n)=>{switch(e){case c.LEFT:n>=1&&E(n-1);break;case c.RIGHT:n<t.length&&E(n+1);break;case c.UP:n>=w.current&&E(n-w.current);break;case c.DOWN:n<t.length-w.current&&E(n+w.current)}})(e.keyCode,a):c.SPACE===e.keyCode?(C(r),e.preventDefault()):c.ENTER===e.keyCode&&C(r),[c.LEFT,c.RIGHT,c.UP,c.DOWN,c.SPACE,c.ENTER].includes(e.keyCode)&&e.stopPropagation()};return(0,r.createElement)("div",{className:P},(0,r.createElement)("ul",{ref:_,className:x},t.map(((e,t)=>(0,r.createElement)(p.Z,{item:e,index:t,key:e.ID,onClick:A,onKeyDown:I,focus:t===y,isSelected:v.find((t=>t.ID===e.ID)),isCopying:n}))),0===t.length&&!a&&(0,r.createElement)(d,null),a&&(0,r.createElement)(u.Z,null),l&&!a&&(0,r.createElement)(s.Button,{variant:"secondary",className:"jetpack-external-media-browser__loadmore",disabled:a||n,onClick:()=>{t.length&&E(t.length),g()}},__("Load More","jetpack"))),S&&(0,r.createElement)((()=>{const e=0===v.length||n,t=n?__("Inserting…","jetpack"):__("Select","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__toolbar"},(0,r.createElement)(s.Button,{variant:"primary",isBusy:n,disabled:e,onClick:j},t))}),null))}},46406:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__;t.Z=function(e){const{item:t,focus:n,isSelected:a,isCopying:s=!1}=e,{thumbnails:l,caption:c,name:u,title:p,type:d,children:m=0}=t,{medium:h=null,fmt_hd:f=null,thumbnail:g=null}=l,b=p||c||u,v=o()({"jetpack-external-media-browser__media__item":!0,"jetpack-external-media-browser__media__item__selected":a,"jetpack-external-media-browser__media__folder":"folder"===d,"is-transient":s}),k=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n&&k.current.focus()}),[n]),(0,r.createElement)("li",{ref:k,className:v,onClick:s?void 0:t=>{const{item:n,index:r}=e;e.onClick&&e.onClick(t,{item:n,index:r})},onKeyDown:s?void 0:t=>{const{item:n,index:r}=e;e.onKeyDown&&e.onKeyDown(t,{item:n,index:r})},role:"checkbox",tabIndex:"0","aria-checked":!!a,"aria-disabled":!!s},a&&s&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator"},(0,r.createElement)(i.Spinner,null),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator__label"},__("Inserting Image…","jetpack"))),(0,r.createElement)("img",{src:h||f||g,alt:b}),"folder"===d&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__info"},(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__name"},u),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__count"},m)))}},9827:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.memo)((function(){const e="jetpack-external-media-browser__media__item jetpack-external-media-browser__media__placeholder";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}))}))},10892:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(38457),s=n(95833);const l=e=>e.unstableFeaturedImageFlow||e.modalClass&&-1!==e.modalClass.indexOf("featured-image"),c=e=>void 0===e.multiple&&!l(e);t.Z=function(e){const{mediaProps:t}=e,[n,r]=(0,o.useState)(null),u=(0,i.ZR)(n);return(0,o.createElement)("div",{onClick:e=>e.stopPropagation()},(0,o.createElement)(s.Z,a()({},e,{setSelectedSource:r,isReplace:c(t),isFeatured:l(t),hasImage:t.value>0})),u&&(0,o.createElement)(u,a()({},t,{onClose:e=>{var n;e&&(e.stopPropagation(),e.target.closest(".jetpack-external-media-header__dropdown"))||(r(null),null===(n=t.onClose)||void 0===n||n.call(t))}})))}},95833:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(20843),s=n(13959);const __=o.__;t.Z=function(e){const{mediaProps:t,open:n,setSelectedSource:o,isFeatured:l,isReplace:c,hasImage:u}=e,p=t.render;let d="tertiary";if(c)return(0,r.createElement)(s.Z,{originalButton:p,open:n,setSource:o});let m=__("Select Image","jetpack");return t.multiple&&(m=__("Select Images","jetpack")),t.allowedTypes.length>1&&(m=__("Select Media","jetpack")),l&&(m=__("Replace Image","jetpack"),d="secondary"),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Dropdown,{position:"bottom right",contentClassName:"jetpack-external-media-button-menu__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;const o=p&&p({open:n});return l&&u||o&&"string"!=typeof o.props.children?o:(0,r.createElement)(a.Button,{variant:d,className:"jetpack-external-media-button-menu","aria-haspopup":"true","aria-expanded":t,onClick:n},m)},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(a.NavigableMenu,{"aria-label":m},(0,r.createElement)(a.MenuGroup,null,(0,r.createElement)(a.MenuItem,{icon:i.Z,onClick:()=>{t(),n()}},__("Media Library","jetpack")),(0,r.createElement)(s.Z,{open:n,setSource:o,onClick:t})))}}))}},13959:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(38457);t.Z=function(e){let{originalButton:t=null,onClick:n=(()=>{}),open:i,setSource:s}=e;return(0,r.createElement)(r.Fragment,null,t&&t({open:i}),o.Dv.map((e=>{let{icon:t,id:o,label:i}=e;return(0,r.createElement)(a.MenuItem,{icon:t,key:o,onClick:()=>{n(),s(o)}},i)})))}},47285:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(96483);const a={list:"/wpcom/v2/external-media/list/",copy:(0,n(13419).Wp)()?"/rest/v1.1/external-media-upload?service=":"/wpcom/v2/external-media/copy/",connection:"/wpcom/v2/external-media/connection/"};function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a[e]?(0,r.addQueryArgs)(a[e]+t,n):null}},53463:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(81427);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.JO,null),(0,r.createElement)("p",null,__("To get started, connect your site to your Google Photos library.","jetpack")),(0,r.createElement)("p",null,__("You can remove the connection in either of these places:","jetpack")),(0,r.createElement)("ul",null,(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://myaccount.google.com/security"},__("Google Security page","jetpack"))),(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://wordpress.com/marketing/connections/"},__("WordPress.com Connections","jetpack")))))}))},5890:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)("p",null,__("Awaiting authorization","jetpack"))}))},86167:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(20982);const __=a.__;t.Z=(0,r.memo)((function(e){let{path:t,setPath:n}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Button,{variant:"tertiary",onClick:()=>n(i.Tu)},__("Albums","jetpack")),"→   ",t.name)}))},4819:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(20769);const __=a.__;function c(e){let{value:t,updateFilter:n}=e;return(0,r.createElement)(o.SelectControl,{label:__("Category","jetpack"),value:t,options:s.tY,onChange:n})}function u(e){let{value:t,updateFilter:n}=e;const a=(null==t?void 0:t.range)||s.CY,[i,c]=(0,r.useState)(-1),[u,p]=(0,r.useState)(s.zs);return(0,r.createElement)("div",{className:"jetpack-external-media-date-filter"},(0,r.createElement)(o.SelectControl,{label:__("Filter by time period","jetpack"),value:a,options:s.QU,onChange:e=>n({range:e})}),a===s.yD&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Month","jetpack"),value:i,options:s.l5,onChange:c}),(0,r.createElement)(l.Z,{className:"components-base-control",label:__("Year","jetpack"),value:u,min:1970,onChange:p}),(0,r.createElement)(o.Button,{variant:"secondary",disabled:(null==t?void 0:t.month)===i&&(null==t?void 0:t.year)===u,onClick:()=>{n({range:a,month:i,year:u})}},__("Apply","jetpack"))))}function p(){return(0,r.createElement)("span",null,__("Favorites","jetpack"))}function d(e){let{value:t,updateFilter:n}=e;const a=[{label:__("All","jetpack"),value:""},{label:__("Images","jetpack"),value:"photo"},{label:__("Videos","jetpack"),value:"video"}];return(0,r.createElement)(o.SelectControl,{label:__("Type","jetpack"),value:t,options:a,onChange:n})}function m(e){let{children:t,removeFilter:n,isRemovable:a=!1}=e;return(0,r.createElement)("div",{className:"jetpack-external-media-googlephotos-filter"},t,!!a&&(0,r.createElement)(o.Button,{onClick:n,isSmall:!0},__("Remove Filter","jetpack")))}t.Z=function(e){let{filters:t,setFilters:n,canChangeMedia:a}=e;const o=Object.keys(t).filter((e=>a||"mediaType"!==e)).map((e=>{return(0,r.createElement)(m,{key:e,removeFilter:()=>n((0,i.omit)(t,e))},(a=e,o=t[e],s=r=>n(function(e,t,n){const r={...e,[t]:n};return"mediaType"===t&&"video"===n?delete r.category:"category"===t&&"video"===r.mediaType&&delete r.mediaType,r}(t,e,r)),"category"===a?(0,r.createElement)(c,{value:o,updateFilter:s}):"date"===a?(0,r.createElement)(u,{value:o,updateFilter:s}):"favorite"===a?(0,r.createElement)(p,{value:o}):"mediaType"===a?(0,r.createElement)(d,{value:o,updateFilter:s}):null));var a,o,s}));return 0===o.length?null:o}},58912:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(76292),a=n.n(r),o=n(20982);const i=a()();function s(e){const{mediaType:t,category:n,favorite:r,date:s}=e,l=[];if(t&&l.push("mediaType="+t),n&&"video"!==t&&l.push("categoryInclude="+n),void 0!==r&&l.push("feature=favorite"),s){let e=null,t=null;switch(s.range){case o.Wm:e=a()(i).subtract(7,"days"),t=i;break;case o.Qh:e=a()(i).subtract(30,"days"),t=i;break;case o.Bb:e=a()(i).subtract(6,"months"),t=i;break;case o.En:e=a()(i).subtract(1,"year"),t=i;break;case o.yD:const n=parseInt(s.month),r=parseInt(s.year);isNaN(n)||isNaN(r)||(-1===n?(e=a()([r,0]),t=a()(e).endOf("year")):(e=a()([r,n]),t=a()(e).endOf("month")))}const n=e?e.format("YYYY-MM-DD"):"0000-00-00",r=t?t.format("YYYY-MM-DD"):"0000-00-00";l.push(`dateRange=${n}:${r}`)}return l.length>0?l:null}},53800:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i=[{label:__("Category","jetpack"),value:"category"},{label:__("Date","jetpack"),value:"date"},{label:__("Favorites","jetpack"),value:"favorite"},{label:__("Media Type","jetpack"),value:"mediaType"}];function s(e){return i.filter((t=>void 0===e[t.value]))}function l(e){const t=s(e);return t.length>0?t[0].value:""}t.Z=function(e){const[t,n]=(0,r.useState)(l([])),{isLoading:a,isCopying:i,filters:c,canChangeMedia:u}=e,p=function(e,t){return t?e:e.filter((e=>"mediaType"!==e.value))}(s(c),u);return 0===p.length?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Filters","jetpack"),value:t,disabled:a||i,options:p,onChange:n}),(0,r.createElement)(o.Button,{disabled:a||i,variant:"secondary",isSmall:!0,onClick:()=>{const r=(a=c,o=t,{...a,[o]:"favorite"===o||""});var a,o;e.setFilters(r),n(l(r))}},__("Add Filter","jetpack")))}},64034:function(e,t,n){"use strict";var r=n(69307),a=n(2772);t.Z=e=>{let{account:t,setAuthenticated:n}=e;const{image:o,name:i}=t||{};return(0,r.createElement)("div",{className:"jetpack-external-media-header__account"},(0,r.createElement)("div",{className:"jetpack-external-media-header__account-info"},o&&(0,r.createElement)("img",{className:"jetpack-external-media-header__account-image",src:o,alt:"",height:"18",width:"18"}),i&&(0,r.createElement)("div",{className:"jetpack-external-media-header__account-name"},i)),(0,r.createElement)(a.Z,{setAuthenticated:n}))}},62494:function(e,t,n){"use strict";var r=n(69307),a=n(39229),o=n(86989),i=n.n(o),s=n(65736),l=n(55609),c=n(20982),u=n(47285),p=n(53463),d=n(5890);const __=s.__;t.Z=function(e){const{setAuthenticated:t}=e,[n,o]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{o(!0),i()({path:(0,u.k)("connection",c.iT)}).then((e=>{if(e.error)throw e.message;(0,a.Z)(e.connect_URL,(()=>{o(!1),t(!0)}))})).catch((()=>{o(!1)}))}),[t]);return(0,r.createElement)("div",{className:"jetpack-external-media-auth"},n?(0,r.createElement)(d.Z,null):(0,r.createElement)(p.Z,null),(0,r.createElement)(l.Button,{variant:"primary",disabled:n,onClick:s},__("Connect to Google Photos","jetpack")))}},2772:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(47285),c=n(20982);const __=s.__;t.Z=e=>{let{setAuthenticated:t}=e;const[n,a]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{a(!0),o()({method:"DELETE",path:(0,l.k)("connection",c.iT)}).then((()=>t(!1))).catch((()=>a(!1)))}),[t]);return(0,r.createElement)(i.Button,{variant:"secondary",className:"jetpack-external-media-browser__disconnect",onClick:s,disabled:n,isBusy:n},__("Disconnect from Google Photos","jetpack"))}},20107:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(20982),s=n(11583),l=n(47285),c=n(4819),u=n(53800),p=n(64034),d=n(86167),m=n(58912);const __=a.__;t.Z=function(e){const{account:t,allowedTypes:n,copyMedia:a,getMedia:h,isCopying:f,isLoading:g,media:b,multiple:v,onChangePath:k,pageHandle:y,path:E,setAuthenticated:w,showAdditionalFilters:_=!1}=e,C=(j=n)&&1===j.length&&"image"===j[0];var j;const[S,x]=(0,r.useState)(C?{mediaType:"photo",date:{range:i.CY}}:{date:{range:i.CY}}),P=(0,r.useRef)(""),T=(0,r.useRef)(""),N=E.ID===i.oI?(0,m.Z)(S):null,A={number:20,path:E.ID};N&&(A.filter=N);const I=(0,l.k)("list",i.iT,A),M=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(I,t)}),[h,I]),B=(0,r.useCallback)((e=>{const t=b.find((t=>t.ID===e));T.current=E,k(t||{ID:e})}),[b,k,T,E]),R=(0,r.useCallback)((e=>{a(e,(0,l.k)("copy",i.iT),i.iT)}),[a]);return(0,r.useEffect)((()=>{P!==I&&(P.current=I,M({},E!==T.current))}),[P,I,M,E]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__google"},(0,r.createElement)("div",{className:"jetpack-external-media-header__view"},(0,r.createElement)(o.SelectControl,{className:"jetpack-external-media-header__select",label:__("View","jetpack"),value:E.ID!==i.oI?i.Tu:i.oI,disabled:g||f,options:i.OG,onChange:B}),_&&E.ID===i.oI&&(0,r.createElement)(u.Z,{filters:S,isLoading:g,setFilters:x,canChangeMedia:!C}),(0,r.createElement)("div",{className:"jetpack-external-media-header__filter"},E.ID===i.oI&&(0,r.createElement)(c.Z,{filters:S,isLoading:g,setFilters:x,canChangeMedia:!C}),E.ID!==i.oI&&E.ID!==i.Tu&&(0,r.createElement)(d.Z,{path:E,setPath:B})),(!g||b.length>0)&&(0,r.createElement)(p.Z,{account:t,setAuthenticated:w})),(0,r.createElement)(s.Z,{className:"jetpack-external-media-browser__google",key:I,media:b,isCopying:f,isLoading:g,nextPage:M,onCopy:R,pageHandle:y,multiple:v,setPath:B}))}},77453:function(e,t,n){"use strict";var r=n(69307),a=n(97893),o=n(62494),i=n(20107);t.Z=(0,a.Z)()((function(e){return e.isAuthenticated?(0,r.createElement)(i.Z,e):(0,r.createElement)(o.Z,e)}))},38457:function(e,t,n){"use strict";n.d(t,{Dv:function(){return u},ZR:function(){return p}});var r=n(69307),a=n(65736),o=n(81427),i=n(77453),s=n(41214),l=n(12533),c=n(20982);const __=a.__,u=[{id:c.iT,label:__("Google Photos","jetpack"),icon:(0,r.createElement)(o.He,{className:"components-menu-items__item-icon"}),keyword:"google photos"},{id:c.wk,label:__("Pexels Free Photos","jetpack"),icon:(0,r.createElement)(o.yk,{className:"components-menu-items__item-icon"}),keyword:"pexels"},{id:c.Eh,label:__("Openverse","jetpack"),icon:(0,r.createElement)(o.FG,{className:"components-menu-items__item-icon"}),keyword:"openverse"}];function p(e){return e===c.wk?l.Z:e===c.iT?i.Z:e===c.Eh?s.Z:null}},41214:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(97893),c=n(11583),u=n(47285);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.Eh),s.Eh)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.Eh,{number:20,search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(null==w||!w.current)return;const e=w.current.querySelector("input[type='search']");e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__openverse"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__openverse",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{isPrimary:!0,onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__openverse",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},12533:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(97893),c=n(11583),u=n(47285);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.wk),s.wk)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.wk,{number:20,path:"recent",search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(!w.current)return;const e=Array.from(w.current.elements).find((e=>"search"===e.type));e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__pexels"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__pexels",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{variant:"primary",onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__pexels",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},97893:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(18294),a=n.n(r),o=n(69307),i=n(92819),s=n(65235),l=n.n(s),c=n(86989),u=n.n(c),p=n(94333),d=n(55609),m=n(65736),h=n(39630),f=n(9818),g=n(20982);const __=m.__;function b(){return(0,p.createHigherOrderComponent)((e=>{class t extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"contentRef",(e=>{e?(this.contentElement=e,this.modalElement=e.closest(".jetpack-external-media-browser"),this.modalElement&&this.modalElement.addEventListener("keydown",this.stopArrowKeysPropagation)):this.modalElement&&(this.modalElement.removeEventListener("keydown",this.stopArrowKeysPropagation),this.modalElement=null,this.contentElement=null)})),a()(this,"stopArrowKeysPropagation",(e=>{[h.UP,h.DOWN,h.LEFT,h.RIGHT].includes(e.keyCode)&&!e.target.classList.contains("jetpack-external-media-browser__media__item")&&e.stopPropagation()})),a()(this,"setAuthenticated",(e=>this.setState({isAuthenticated:e}))),a()(this,"getMedia",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.state.isLoading||(n&&t.props.noticeOperations.removeAllNotices(),t.setState({account:n?t.defaultAccount:t.state.account,isLoading:!0,media:n?[]:t.state.media,nextHandle:!n&&t.state.nextHandle},(()=>t.getMediaRequest(e))))})),a()(this,"handleApiError",(e=>{var t;if("authorization_required"===e.code)return void this.setState({isAuthenticated:!1,isLoading:!1,isCopying:!1});null!==(t=e.errors)&&void 0!==t&&t.length&&(e={code:e.errors[0].error,message:e.errors[0].message});const{noticeOperations:n}=this.props;n.createErrorNotice("internal_server_error"===e.code?"Internal server error":e.message),this.setState({isLoading:!1,isCopying:!1})})),a()(this,"getMediaRequest",(e=>{const{nextHandle:t,media:n}=this.state;if(!1===t&&n.length>0)return void this.setState({isLoading:!1});const r=this.getRequestUrl(e);this.setAuthenticated(!0),u()({path:r,method:"GET",parse:void 0===window.wpcomFetch}).then((e=>{this.setState({account:e.meta.account,media:this.mergeMedia(n,e.media),nextHandle:e.meta.next_page,isLoading:!1})})).catch(this.handleApiError)})),a()(this,"copyMedia",((e,t,n)=>{var r;this.setState({isCopying:e}),this.props.noticeOperations.removeAllNotices(),this.modalElement&&this.modalElement.focus(),u()({path:t,method:"POST",data:{external_ids:e.map((e=>e.guid)),media:e.map((e=>({guid:e.guid,caption:e.caption,title:e.title}))),service:n,post_id:null!==(r=this.props.postId)&&void 0!==r?r:0}}).then((e=>{e.media&&(e=e.media.map((e=>({alt:e.alt,caption:e.caption,id:e.ID,type:"image",url:e.URL}))));const{value:t,addToGallery:n,multiple:r}=this.props,a=r?e:e[0],o=e.find((e=>e.errors));if(o){const{errors:e}=o,t=Object.keys(e)[0];this.handleApiError({code:t,message:e[t]})}else this.props.onClose(),this.props.onSelect(n?t.concat(e):a)})).catch(this.handleApiError)})),a()(this,"onChangePath",((e,t)=>{this.setState({path:e},t)})),this.defaultAccount={image:"",name:""},this.state={account:this.defaultAccount,media:[],nextHandle:!1,isLoading:!1,isCopying:null,isAuthenticated:!0,path:{ID:g.oI}}}mergeMedia(e,t){return(0,i.uniqBy)(e.concat(t),"ID")}getRequestUrl(e){const{nextHandle:t}=this.state;return t?e+"&page_handle="+encodeURIComponent(t):e}render(){const{account:t,isAuthenticated:n,isCopying:r,isLoading:a,media:i,nextHandle:s,path:c}=this.state,{allowedTypes:u,multiple:p=!1,noticeUI:m,onClose:h}=this.props,f=r?__("Inserting media","jetpack"):__("Select media","jetpack",0),g=r?__("When the media is finished copying and inserting, you will be returned to the editor.","jetpack"):__("Select the media you would like to insert into the editor.","jetpack",0),b="jetpack-external-media-browser__description",v=l()({"jetpack-external-media-browser":!0,"jetpack-external-media-browser--is-copying":r});return(0,o.createElement)(d.Modal,{onRequestClose:h,title:f,aria:{describedby:b},className:v},(0,o.createElement)("div",{ref:this.contentRef},m,(0,o.createElement)("p",{id:b,className:"jetpack-external-media-browser--visually-hidden"},g),(0,o.createElement)(e,{account:t,getMedia:this.getMedia,copyMedia:this.copyMedia,isCopying:r,isLoading:a,media:i,pageHandle:s,allowedTypes:u,isAuthenticated:n,setAuthenticated:this.setAuthenticated,multiple:p,path:c,onChangePath:this.onChangePath})))}}return(0,f.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()})))((0,d.withNotices)(t))}))}},11317:function(e,t,n){"use strict";n.d(t,{Qu:function(){return i}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["allowedMimeTypes"],[])}function i(e,t){if(!e||!t)return!1;if(!o())return!1;const n=(r=t)?(0,a.pickBy)(o(),(e=>(0,a.startsWith)(e,`${r}/`))):{};var r;const i=(s=n)?(0,a.flatten)((0,a.map)((0,a.keys)(s),(e=>e.split("|")))):[];var s;if("string"==typeof e){const t=e.split(".").pop();return t&&i.includes(t)}return"object"==typeof e&&(e.type&&(0,a.values)(n).includes(e.type))}},5820:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){const e=(0,r.getCategories)();for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];for(const t of n)if(e.some((e=>{let{slug:n}=e;return n===t})))return t;throw new Error(`Could not find a category from the provided list: ${n.join(",")}`)}},74251:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(96483);function a(e,t){if(!(0,r.isURL)(t))return null;let n=t;try{const a=(0,r.getQueryArg)(t,"state"),o=JSON.parse(atob(a));if(e)o.from_editor_post_id=e;else{const e=new URLSearchParams(window.location.search);o.from_site_editor_post_id=e.get("postId"),o.from_site_editor_post_type=e.get("postType")}n=(0,r.addQueryArgs)(t,{state:btoa(JSON.stringify(o))})}catch(e){0}return n}},99307:function(e,t,n){"use strict";n.d(t,{BM:function(){return s},CG:function(){return o},fH:function(){return a},j3:function(){return l},yn:function(){return i}});var r=n(9818);const a="site",o="widget",i="post",s="customizer",l=()=>(0,r.select)("core/edit-site")?a:(0,r.select)("core/edit-widgets")?o:(0,r.select)("core/customize-widgets")?s:(0,r.select)("core/edit-navigation")?"navigation":(0,r.select)("core/edit-post")?i:"unknown"},4554:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(92819);const a=(e,t)=>(0,r.reduce)(t,((t,n,r)=>{if(void 0===e[r])return t;const{type:a,validator:o,validValues:i,default:s}=e[r];return t[r]="boolean"===a?"false"!==n&&!!n:o?o(n)?n:s:i?i.includes(n)?n:s:n,t}),{})},59809:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(73139);t.Z=e=>{let{children:t=null,isError:n=!1,...r}=e;const i=s()("help-message",{"help-message-is-error":n});return t&&(0,o.createElement)("div",a()({className:i},r),n&&(0,o.createElement)(l.Z,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),(0,o.createElement)("span",null,t))}},81427:function(e,t,n){"use strict";n.d(t,{Ae:function(){return v},FG:function(){return m},He:function(){return d},IM:function(){return g},JO:function(){return f},K9:function(){return y},Pw:function(){return j},Qv:function(){return C},VV:function(){return w},Xu:function(){return E},_z:function(){return _},h:function(){return k},ll:function(){return S},yk:function(){return h},zf:function(){return b}});var r=n(82402),a=n.n(r),o=n(69307),i=n(55609),s=n(65235),l=n.n(s),c=n(80550),u=n(70355);const p=c.O["Jetpack Green 40"],d=e=>(0,o.createElement)(i.SVG,a()({height:"24",width:"24",viewBox:"1.2 10.8 169.6 169.6",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.Path,{d:"m43.6 49.4c23.4 0 42.4 19 42.4 42.4v3.9h-80.9c-2.1 0-3.8-1.7-3.9-3.9 0-23.4 19-42.4 42.4-42.4z",fill:"#f6bc04"}),(0,o.createElement)(i.Path,{d:"m132.2 53.2c0 23.4-19 42.4-42.4 42.4h-3.8v-80.9c0-2.1 1.7-3.9 3.8-3.9 23.5 0 42.4 19 42.4 42.4z",fill:"#ea4335"}),(0,o.createElement)(i.Path,{d:"m128.4 141.9c-23.4 0-42.4-19-42.4-42.4v-3.9h80.9c2.1 0 3.9 1.7 3.9 3.8 0 23.5-19 42.5-42.4 42.5z",fill:"#4285f4"}),(0,o.createElement)(i.Path,{d:"m39.8 138c0-23.4 19-42.4 42.4-42.4h3.8v80.9c0 2.1-1.7 3.8-3.9 3.9-23.4 0-42.3-19-42.3-42.4z",fill:"#34a853"})),m=e=>(0,o.createElement)(i.SVG,a()({style:{fill:"#30272e",background:"#ffe033",padding:"3px",width:"22px",height:"24px"},width:"46",height:"42",viewBox:"0 0 46 42",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M0 9.3975C0 14.5687 4.1722 18.795 9.3353 18.795V0C4.1722 0 0 4.2 0 9.3975Z"}),(0,o.createElement)(i.Path,{d:"M13.6118 9.3975C13.6118 14.5687 17.784 18.795 22.9471 18.795V0C17.8101 0 13.6118 4.2 13.6118 9.3975Z"}),(0,o.createElement)(i.Path,{d:"M36.5589 18.795C41.7147 18.795 45.8942 14.5876 45.8942 9.3975C45.8942 4.2074 41.7147 0 36.5589 0C31.4032 0 27.2236 4.2074 27.2236 9.3975C27.2236 14.5876 31.4032 18.795 36.5589 18.795Z"}),(0,o.createElement)(i.Path,{d:"M0 32.6025C0 37.8 4.1722 42 9.3353 42V23.2312C4.1722 23.2312 0 27.4312 0 32.6025Z"}),(0,o.createElement)(i.Path,{d:"M13.6118 32.5238C13.6118 37.695 17.784 41.9213 22.9471 41.9213V23.1525C17.8101 23.1525 13.6118 27.3525 13.6118 32.5238Z"}),(0,o.createElement)(i.Path,{d:"M36.5589 41.9212C41.7147 41.9212 45.8942 37.7138 45.8942 32.5238C45.8942 27.3337 41.7147 23.1263 36.5589 23.1263C31.4032 23.1263 27.2236 27.3337 27.2236 32.5238C27.2236 37.7138 31.4032 41.9212 36.5589 41.9212Z"}))),h=e=>(0,o.createElement)(i.SVG,a()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),(0,o.createElement)(i.Path,{d:"M14 7H9v10h3.9v-3.8H14c1.7 0 3.1-1.4 3.1-3.1C17.2 8.4 15.8 7 14 7z"}),(0,o.createElement)(i.Path,{d:"M20.5 2h-17C2.7 2 2 2.7 2 3.5v17c0 .8.7 1.5 1.5 1.5h17c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5zm-5.6 13.2V19H7V5h7c2.8 0 5.1 2.3 5.1 5.1.1 2.5-1.8 4.7-4.2 5.1z"})),f=()=>{const e="#757575";return(0,o.createElement)(i.SVG,{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/SVG",x:"0px",y:"0px",viewBox:"0 0 1292 448",style:{enableBackground:"new 0 0 1292 448"}},(0,o.createElement)(i.G,{id:"Icon"},(0,o.createElement)(i.Path,{class:"st0",fill:"#F6B704",d:"M171.6,177.4c23.4,0,42.4,19,42.4,42.4v3.9h-80.9c-2.1,0-3.8-1.7-3.9-3.9C129.2,196.4,148.2,177.4,171.6,177.4 C171.6,177.4,171.6,177.4,171.6,177.4z"}),(0,o.createElement)(i.Path,{class:"st1",fill:"#E54335",d:"M260.2,181.2c0,23.4-19,42.4-42.4,42.4H214v-80.9c0-2.1,1.7-3.9,3.8-3.9h0 C241.3,138.8,260.2,157.8,260.2,181.2C260.2,181.2,260.2,181.2,260.2,181.2z"}),(0,o.createElement)(i.Path,{class:"st2",fill:"#4280EF",d:"M256.4,269.9c-23.4,0-42.4-19-42.4-42.4v-3.9h80.9c2.1,0,3.9,1.7,3.9,3.8v0 C298.8,250.9,279.8,269.9,256.4,269.9C256.4,269.9,256.4,269.9,256.4,269.9z"}),(0,o.createElement)(i.Path,{class:"st3",fill:"#34A353",d:"M167.8,266c0-23.4,19-42.4,42.4-42.4c0,0,0,0,0,0h3.9v80.9c0,2.1-1.7,3.8-3.9,3.9 C186.7,308.4,167.8,289.4,167.8,266z"})),(0,o.createElement)(i.G,{id:"Photos"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M796,272v-91.6h31.2c15.2,0,28.7,11.3,28.7,27.3s-13.4,27.3-28.7,27.3h-19.4V272H796z M827.5,223.6 c8.8,0,16-7.2,16-16s-7.2-16-16-16h-19.7v32H827.5z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M875.8,209.3l-0.5,8.7h0.5c3.3-5.8,11.3-10.8,19.8-10.8c16,0,23.9,10.9,23.9,26.4V272h-11.8v-36.6 c0-13-6.5-17.4-15.5-17.4c-10.2,0-16.5,9.7-16.5,19.3V272H864v-91.6h11.8V209.3z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M993.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4S993.8,221.6,993.8,240.6z M982,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S982,255,982,240.6L982,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1008,252.9V220h-11v-10.7h11v-19.2h11.8v19.2h15.3V220h-15.3v32c0,7,2.9,10.2,8.4,10.2c1.8,0.1,3.7-0.3,5.4-1 l4.1,10.1c-3,1.2-6.2,1.8-9.5,1.7C1015,273,1008,265.7,1008,252.9z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1105.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4 S1105.8,221.6,1105.8,240.6z M1094,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S1094,255,1094,240.6 L1094,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1111,256.1l10.5-4.4c3.3,7.9,9.5,11.8,17,11.8c7.3,0,12.5-3.6,12.5-8.8c0-3.2-1.9-6.6-8.6-8.3l-12.7-3.1 c-5.8-1.4-16.8-6.4-16.8-17.4c0-11.4,11.8-18.7,24.8-18.7c10.9,0,20.3,5,24.2,14.6l-10.2,4.2c-2.4-5.9-8.2-8.3-14.3-8.3 c-6.7,0-12.4,3-12.4,8.1c0,4,3.3,6.1,8.3,7.3l12.4,2.9c12.4,2.9,17.3,10.6,17.3,18.3c0,11.1-10,19.7-24.7,19.7 C1123.2,274,1114.7,265.1,1111,256.1z"})),(0,o.createElement)(i.G,{id:"Google"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M348.7,221.6c0-28.9,24.3-52.5,53.2-52.5c13.5-0.2,26.4,5,36,14.5l-10.1,10.1c-6.9-6.7-16.2-10.4-25.9-10.2 c-21.1,0-37.6,17-37.6,38.2s16.5,38.1,37.6,38.1c13.7,0,21.5-5.5,26.5-10.5c4.1-4.1,6.8-10,7.8-18H402v-14.4h48.3 c0.5,3,0.8,6,0.8,9c0,10.8-2.9,24.1-12.4,33.5c-9.2,9.6-21,14.7-36.6,14.7C373,274,348.7,250.5,348.7,221.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M490,206.5c-18.7,0-33.9,14.2-33.9,33.8S471.3,274,490,274s33.9-14.3,33.9-33.8S508.7,206.5,490,206.5z M490,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S500.2,260.7,490,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M564,206.5c-18.7,0-33.9,14.2-33.9,33.8S545.3,274,564,274s33.9-14.3,33.9-33.8S582.7,206.5,564,206.5z M564,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S574.2,260.7,564,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M654.8,208.5v5.5h-0.5c-3.3-4-9.7-7.6-17.8-7.6c-16.9,0-32.4,14.9-32.4,33.9s15.5,33.7,32.4,33.7 c8.1,0,14.5-3.6,17.8-7.7h0.5v4.9c0,12.9-6.9,19.8-18,19.8c-9.1,0-14.7-6.5-17-12l-12.9,5.4c5,12.1,16.8,20.1,30,20 c17.4,0,32.1-10.2,32.1-35.2v-60.7H654.8z M637.8,260.7c-10.2,0-18.8-8.6-18.8-20.4s8.6-20.6,18.8-20.6s18,8.7,18,20.6 S647.9,260.7,637.8,260.7L637.8,260.7z"}),(0,o.createElement)(i.Rect,{x:"679.2",y:"172.7",class:"st4",fill:e,width:"14.8",height:"99.3"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M734.7,260.7c-7.6,0-12.9-3.5-16.4-10.2l45.2-18.7L762,228c-2.8-7.6-11.4-21.5-28.9-21.5s-31.9,13.7-31.9,33.8 c0,19,14.3,33.8,33.5,33.8c11.3,0.1,21.9-5.6,28.2-15l-11.5-7.7C747.5,257,742.3,260.7,734.7,260.7z M733.6,219.5 c5.9,0,10.9,2.9,12.5,7.2l-30.2,12.5C715.5,226.2,726,219.5,733.6,219.5L733.6,219.5z"})))},g=e=>{let{size:t=24,border:n=0,className:r,color:a=p}=e;const s=n?-n/t*32:0;return(0,o.createElement)(i.SVG,{className:l()("jetpack-logo",r),width:t,height:t,viewBox:`${s} ${s} ${32-2*s} ${32-2*s}`},(0,o.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:a,stroke:n?"#fff":"transparent",strokeWidth:n,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:`15,19 ${7-.5*s},19 15,${3-s}`}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:`17,${29+s} 17,13 ${25+.5*s},13`}))},b={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 100 100"},(0,o.createElement)(i.Path,{d:"M100,44H72.4l23.9-13.8l-6-10.4L66.4,33.6L80.2,9.7l-10.4-6L56,27.59V0H44v27.6L30.2,3.7l-10.4,6l13.8,23.9 L9.7,19.8l-6,10.4L27.6,44H0V56h27.6L3.7,69.8l6,10.4l23.9-13.8L19.8,90.3l10.4,6L44,72.4V100H56V72.41l13.8,23.9l10.4-6L66.4,66.4 l23.9,13.8l6-10.4L72.4,56H100V44z M50,65.23c-8.41,0-15.23-6.82-15.23-15.23c0-8.41,6.82-15.23,15.23-15.23S65.23,41.59,65.23,50 C65.23,58.41,58.41,65.23,50,65.23z"}))},v={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.7 17",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{d:"m20.7 12.9-.9-11c0-.5-.2-.9-.5-1.3-.3-.3-.8-.5-1.3-.5L1.9 0h-.1c-.2 0-.5 0-.7.1C.9.2.7.4.5.5.4.7.2.9.1 1.1c-.1.2-.1.5-.1.7v.1l.9 13.4c0 .5.2.9.5 1.3.3.2.8.4 1.3.4H3l16.1-2c.4 0 .9-.3 1.1-.6.3-.3.5-.8.5-1.2v-.3zm-3.1.8L4.2 15.3H4c-.4 0-.8-.1-1-.4-.3-.3-.4-.6-.5-1L1.7 3.2v-.1c0-.4.2-.8.5-1 .3-.3.7-.4 1-.4h.1l13.5.1c.4 0 .8.1 1 .4.3.3.4.6.5 1L19 12v.3c0 .4-.2.7-.4 1-.3.2-.6.4-1 .4z"}))},k={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 43",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{transform:"translate(-25)",fillRule:"evenodd",d:"M37 31.908c0 1.376.893 2.268 2.27 2.268H45.9c3.956 0 7.192-1.337 9.392-3.68H37v1.412zM45.901 9H39.27C37.893 9 37 9.893 37 11.269v1.411h18.294C53.093 10.338 49.857 9 45.9 9zm5.787 16.176c0 1.113.726 1.835 1.845 1.835h3.973c.45-1.117.753-2.345.894-3.671h-4.867c-1.119 0-1.845.722-1.845 1.836zm-5.507-7.166c0 1.113.725 1.836 1.844 1.836H58.4a13.644 13.644 0 00-.894-3.672h-9.481c-1.119 0-1.844.723-1.844 1.836zm1.843 7.166c0-1.114-.726-1.836-1.845-1.836H37v3.671h9.18c1.118 0 1.843-.722 1.843-1.835zm-5.508-7.166c0-1.113-.726-1.836-1.844-1.836H37v3.672h3.672c1.118 0 1.844-.723 1.844-1.836zM83.667 21.209c.296-1.437",clipRule:"evenodd"}))},y={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})))},E=((0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M15.9216 2H2.98533C2.43803 2 1.99023 2.45 1.99023 3V17L5.97062 13H15.9216C16.4689 13 16.9167 12.55 16.9167 12V3C16.9167 2.45 16.4689 2 15.9216 2ZM14.9265 4V11H5.14469L3.98043 12.17V4H14.9265ZM18.9069 6H20.8971C21.4444 6 21.8922 6.45 21.8922 7V22L17.9118 18H6.96572C6.41842 18 5.97062 17.55 5.97062 17V15H18.9069V6Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M3.98042 2H19.9019C20.9965 2 21.8921 2.9 21.8921 4V16C21.8921 17.1 20.9965 18 19.9019 18H5.97061L1.99023 22V4C1.99023 2.9 2.88582 2 3.98042 2ZM5.97061 16H19.9019V4H3.98042V18L5.97061 16Z"}))),{foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M11.1114 8H20.0002M11.1113 15H20.0002",stroke:(0,u.m)(),strokeWidth:"1.5"}),(0,o.createElement)(i.Path,{d:"M4 10V6L8 8L4 10Z",fill:(0,u.m)()}),(0,o.createElement)(i.Path,{d:"M4 17V13L8 15L4 17Z",fill:(0,u.m)()})))}),w={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M4 12V4L11 8L4 12Z"}),(0,o.createElement)(i.Path,{d:"M4 14.5H20V16H4V14.5Z"}),(0,o.createElement)(i.Path,{d:"M4 18.5H13V20H4V18.5Z"})))},_=((0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M2.5 7.5V4.5H15.5V7.5H10.5V19.5H7.5V7.5H2.5ZM12.5 9.5H21.5V12.5H18.5V19.5H15.5V12.5H12.5V9.5Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M12.7049 2V6C8.30658 6 4.74414 9.58 4.74414 14C4.74414 18.42 8.30658 22 12.7049 22C17.1032 22 20.6656 18.42 20.6656 14H18.6755C18.6755 17.31 15.9987 20 12.7049 20C9.41113 20 6.73433 17.31 6.73433 14C6.73433 10.69 9.41113 8 12.7049 8V12L17.6804 7L12.7049 2ZM11.6501 12.73L11.4013 14.9L12.068 15.06C12.0753 15.0526 12.0827 15.0447 12.0901 15.0366C12.1131 15.0116 12.1375 14.9851 12.1675 14.97C12.1874 14.96 12.2073 14.9475 12.2272 14.935C12.2471 14.9225 12.2671 14.91 12.287 14.9C12.3268 14.88 12.3865 14.86 12.4362 14.85C12.486 14.84 12.5556 14.83 12.6352 14.83C12.7447 14.83 12.8542 14.85 12.9338 14.88C13.0134 14.91 13.083 14.96 13.1427 15.03C13.2024 15.1 13.2422 15.17 13.2721 15.27C13.302 15.37 13.3119 15.47 13.3119 15.58V15.58C13.3119 15.69 13.3119 15.79 13.2821 15.89C13.2522 15.99 13.2124 16.07 13.1726 16.14C13.1328 16.21 13.0631 16.27 12.9935 16.31C12.9238 16.35 12.8343 16.37 12.7248 16.37C12.5556 16.37 12.4163 16.31 12.3069 16.22C12.1974 16.13 12.1377 15.99 12.1178 15.81H11.2819C11.2819 16.01 11.3317 16.19 11.4113 16.34C11.4909 16.49 11.5904 16.63 11.7297 16.73C11.869 16.83 12.0183 16.92 12.1874 16.97C12.3566 17.02 12.5357 17.05 12.7148 17.05C12.9636 17.05 13.1726 17 13.3517 16.93C13.5308 16.86 13.6801 16.75 13.7995 16.62C13.9189 16.49 14.0085 16.34 14.0682 16.17C14.1279 16 14.1577 15.82 14.1577 15.63C14.1577 15.41 14.1179 15.21 14.0682 15.03C14.0184 14.85 13.9289 14.7 13.8194 14.58C13.7099 14.46 13.5706 14.37 13.4114 14.3C13.2522 14.23 13.0731 14.2 12.8641 14.2C12.7945 14.2 12.7248 14.21 12.6651 14.22C12.6352 14.225 12.6054 14.2325 12.5755 14.24C12.5457 14.2475 12.5158 14.255 12.486 14.26C12.4263 14.27 12.3765 14.29 12.3367 14.31C12.3201 14.3183 12.3035 14.325 12.2876 14.3313C12.2654 14.3401 12.2446 14.3483 12.2272 14.36L12.3367 13.44H14.0284V12.73H11.6501Z"}))),C=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M11.9412 2V6C16.3395 6 19.902 9.58 19.902 14C19.902 18.42 16.3395 22 11.9412 22C7.54291 22 3.98047 18.42 3.98047 14H5.97066C5.97066 17.31 8.64746 20 11.9412 20C15.235 20 17.9118 17.31 17.9118 14C17.9118 10.69 15.235 8 11.9412 8V12L6.96575 7L11.9412 2ZM10.8864 12.73L10.6376 14.9L11.3044 15.06C11.3117 15.0526 11.319 15.0447 11.3264 15.0366C11.3494 15.0116 11.3738 14.9851 11.4039 14.97C11.4238 14.96 11.4437 14.9475 11.4636 14.935C11.4835 14.9225 11.5034 14.91 11.5233 14.9C11.5631 14.88 11.6228 14.86 11.6725 14.85C11.7223 14.84 11.792 14.83 11.8716 14.83C11.981 14.83 12.0905 14.85 12.1701 14.88C12.2497 14.91 12.3194 14.96 12.3791 15.03C12.4388 15.1 12.4786 15.17 12.5084 15.27C12.5383 15.37 12.5482 15.47 12.5482 15.58V15.58C12.5482 15.69 12.5482 15.79 12.5184 15.89C12.4885 15.99 12.4487 16.07 12.4089 16.14C12.3691 16.21 12.2995 16.27 12.2298 16.31C12.1601 16.35 12.0706 16.37 11.9611 16.37C11.792 16.37 11.6526 16.31 11.5432 16.22C11.4337 16.13 11.374 15.99 11.3541 15.81H10.5182C10.5182 16.01 10.568 16.19 10.6476 16.34C10.7272 16.49 10.8267 16.63 10.966 16.73C11.1053 16.83 11.2546 16.92 11.4238 16.97C11.5929 17.02 11.7721 17.05 11.9512 17.05C12.1999 17.05 12.4089 17 12.588 16.93C12.7672 16.86 12.9164 16.75 13.0358 16.62C13.1552 16.49 13.2448 16.34 13.3045 16.17C13.3642 16 13.3941 15.82 13.3941 15.63C13.3941 15.41 13.3543 15.21 13.3045 15.03C13.2547 14.85 13.1652 14.7 13.0557 14.58C12.9463 14.46 12.807 14.37 12.6477 14.3C12.4885 14.23 12.3094 14.2 12.1004 14.2C12.0308 14.2 11.9611 14.21 11.9014 14.22C11.8716 14.225 11.8417 14.2325 11.8119 14.24C11.782 14.2475 11.7522 14.255 11.7223 14.26C11.6626 14.27 11.6128 14.29 11.573 14.31C11.5564 14.3183 11.5398 14.325 11.5239 14.3313C11.5017 14.3401 11.481 14.3483 11.4636 14.36L11.573 13.44H13.2647V12.73H10.8864Z"})),j=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M0 0h24v24H0z",fill:"none"}),(0,o.createElement)(i.Path,{d:"M7 2v11h3v9l7-12h-4l4-8z",fill:"currentColor"})),S=(0,o.createElement)(i.SVG,{width:"29",height:"21",viewBox:"0 0 29 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(i.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2.79037 0.59375C4.0363 0.59375 5.13102 1.41658 5.47215 2.60947L8.8452 14.4044C8.8486 14.4164 8.85411 14.4273 8.86124 14.4368L12.8572 0.59375H15.0927H21.2721C25.6033 0.59375 28.5066 3.39892 28.5066 7.64565C28.5066 11.9411 25.5272 14.6196 21.0818 14.6196H18.1499H14.3719L13.6379 16.8813C12.9796 18.9095 11.0827 20.2839 8.94152 20.2839C6.80035 20.2839 4.90341 18.9095 4.24517 16.8813L0.137069 4.22276C-0.444671 2.43022 0.898038 0.59375 2.79037 0.59375ZM15.7374 10.4119H20.0156C21.8718 10.4119 22.9856 9.35018 22.9856 7.64565C22.9856 5.93137 21.8718 4.91839 20.0156 4.91839H17.5202L15.7374 10.4119Z",fill:"#000000"}))},12923:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_active"],!1)}},35089:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_current_user_connected"],!1)}},99621:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_offline_mode"],!1)}},8264:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(98817),s=n(34613);const __=a.__,{Fill:l,Slot:c}=(0,o.createSlotFill)("JetpackLikesAndSharingPanel");(0,i.registerPlugin)("jetpack-likes-and-sharing-panel",{render:()=>(0,r.createElement)(c,null,(e=>e.length?(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Likes and Sharing","jetpack")},e)):null))})},34613:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(55609),o=n(72067),i=n(98817),s=n(9818),l=n(96483),c=n(47701),u=n.n(c),p=n(81427);const{Fill:d,Slot:m}=(0,a.createSlotFill)("JetpackPluginSidebar");u()((function(){"true"===(0,l.getQueryArg)(window.location.search,"jetpackSidebarIsOpen")&&(0,s.dispatch)("core/interface").enableComplementaryArea("core/edit-post","jetpack-sidebar/jetpack")})),(0,i.registerPlugin)("jetpack-sidebar",{render:()=>(0,r.createElement)(m,null,(e=>e.length?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PluginSidebarMoreMenuItem,{target:"jetpack",icon:(0,r.createElement)(p.IM,null)},"Jetpack"),(0,r.createElement)(o.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:(0,r.createElement)(p.IM,null)},e)):null))})},63066:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(9818),i=n(65736),s=(n(53961),n(13419));const __=i.__;function l(){const e=(0,s.lQ)();return void 0!==typeof window&&window.location&&e?(0,s.Wp)()||(0,s.Ug)()?`https://wordpress.com/plans/my-plan/${e}`:`${window.location.protocol}//${e.replace("::","/")}/wp-admin/admin.php?page=jetpack#/my-plan`:null}(async()=>{if(void 0!==typeof window&&window.location){if(new URLSearchParams(window.location.search).get("plan_upgraded")){let e=null;e:try{if((0,s.Wp)())break e;const t=await a()({path:"/jetpack/v4/site"});e=JSON.parse(t.data).plan.product_name}finally{const t=l();(0,o.dispatch)("core/notices").createNotice("success",e?(0,i.sprintf)(
/* translators: %s is the plan name, such as Jetpack Premium. */
-__("Congratulations! Your site is now on the %s plan.","jetpack"),e):__("Congratulations! Your site is now on a paid plan.","jetpack"),{isDismissible:!0,...t&&{actions:[{url:c(),label:__("View my plan","jetpack")}]}})}}}})()},44298:function(e,t,n){"use strict";n.d(t,{Qq:function(){return p},X1:function(){return d},Rl:function(){return m},FK:function(){return f},HD:function(){return g},m3:function(){return b}});var r=n(92819),a=n(96483),o=n(65736),i=n(47583),s=n(58014),l=n(4235),c=n(21409),u=n(28069);const __=o.__;function p(e){let{planSlug:t,plan:n,postId:o,postType:i}=e;const c=(0,r.startsWith)(t,"jetpack_")?t:(0,r.get)(n,["path_slug"]),u=(void 0===i?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.Z)().replace("::","/")}/wp-admin/admin.php`,{page:"gutenberg-edit-site",postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(i)?"":"edit";return(0,s.Wp)()?(0,a.addQueryArgs)("/"+(0,r.compact)([e,i,(0,l.Z)(),o]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.Z)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:o,plan_upgraded:1})})();return(0,s.Ug)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,l.Z)()}`,{redirect_to:u,customerType:"business"}):c&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.Z)()}/${c}`,{redirect_to:u})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:r}=(0,c.Z)(t);return!n&&"missing_plan"===r}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:r}=(0,c.Z)(t);return(0,u._)(r,n)}const h=[{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 f(){return(0,r.get)((0,i.Z)(),"jetpack.enable_upgrade_nudge",!1)}const g=e=>(0,r.map)(h,"name").includes(e),b=e=>(0,r.head)((0,r.filter)(h,(t=>{let{name:n}=t;return n===e})))},99230:function(e,t,n){"use strict";n.d(t,{uM:function(){return i},yX:function(){return s},bu:function(){return l}});var r=n(86989),a=n.n(r),o=n(58014);async function i(){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function l(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},57836:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},28069:function(e,t,n){"use strict";n.d(t,{_:function(){return p},Z:function(){return h}});var r=n(65736),a=n(92694),o=n(4981),i=n(1949),s=n(21409),l=n(28137);const __=r.__,c={paid:(0,r._x)("paid","Short label appearing near a block requiring a paid plan","jetpack"),beta:__("beta","jetpack")},u=i.Kc||[];function p(e,t){return"missing_plan"===e&&t.required_plan}function d(e){const t=[];return u.includes(e)&&t.push(c.beta),t}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length?`${e} (${t.join(", ")})`:e}function h(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:i,details:c,unavailableReason:u}=(0,s.Z)(e),h=p(u,c),f=r?"jetpack/":"";if(!i&&!h)return!1;const g=(0,o.registerBlockType)(f+e,{...t,title:m(t.title,d(e))});return h&&(0,a.addFilter)("editor.BlockListBlock",`${f+e}-with-has-warning-is-interactive-class-names`,(0,l.Z)(f+e)),n.forEach((e=>(0,o.registerBlockType)(f+e.name,e.settings))),g}},52291:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98817),a=n(21409);function o(e,t){const{available:n,unavailableReason:o}=(0,a.Z)(e);return!!n&&(0,r.registerPlugin)(`jetpack-${e}`,t)}},41632:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:o},(0,r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},55637:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=(e,t,n,o,i)=>{const{isSelected:s}=t,l=t.attributes[e];return(0,r.createElement)("div",{className:s?`jetpack-${e}-block is-selected`:`jetpack-${e}-block`},!s&&""!==l&&o(t),(s||""===l)&&(0,r.createElement)(a.PlainText,{value:l,placeholder:n,"aria-label":n,onChange:i}))}},58014:function(e,t,n){"use strict";n.d(t,{Wp:function(){return i},Ug:function(){return s},M6:function(){return l}});var r=n(92819),a=n(47583);function o(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===o()}function s(){return"atomic"===o()}function l(){return(0,r.get)((0,a.Z)(),["jetpack","is_private_site"],!1)}},92919:function(e,t,n){"use strict";var r=n(9818),a=n(65736),o=(n(53961),n(82827));const __=a.__;if(void 0!==typeof window&&window.location){const{query:e}=(0,o.Qc)(window.location.href,!0);e.stripe_connect_success?(0,r.dispatch)("core/notices").createNotice("success",__("Congrats! Your site is now connected to Stripe. You can now start accepting funds!","jetpack")):e.stripe_connect_cancelled&&(0,r.dispatch)("core/notices").createNotice("error",__("You cancelled connecting your site to Stripe.","jetpack"))}},87072:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(86989),o=n.n(a);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;return t(!0),new Promise(((n,r)=>{o()({path:`/wpcom/v2/resolve-redirect/?url=${encodeURIComponent(e)}`}).then((a=>{t(!1);const o=a.status?parseInt(a.status,10):null;o&&o>=400?r():n(a.url||e)}),(()=>{t(!1),r()}))}))}},37930:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),a=n(9818),o=n(69307);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t&&t(e),n?window.open(e,"_blank"):window.top.location.href=e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const[n,s]=(0,o.useState)(!1),{isAutosaveablePost:l,isDirtyPost:c,currentPost:u}=(0,a.useSelect)((e=>{const t=e("core/editor");return{isAutosaveablePost:t.isEditedPostAutosaveable(),isDirtyPost:t.isEditedPostDirty(),currentPost:t.getCurrentPost()}}),[]),p=Object.keys(u).length>0,d=(0,a.useSelect)((e=>!!window.wp.customize||!!e("core/edit-widgets"))),m=(0,a.dispatch)("core/editor").savePost,h=(0,a.useSelect)((e=>e("core").__experimentalGetDirtyEntityRecords())),f=async()=>{for(let e=0;e<h.length;e++)await(0,a.dispatch)("core").saveEditedEntityRecord(h[e].kind,h[e].name,h[e].key)},g=async e=>{e.preventDefault(),p?c&&l&&await m(e):await f(e)},b=async r=>{r.preventDefault(),n||(s(!0),g(r).then((()=>{i(e,t,d)})))};return{autosave:g,autosaveAndRedirect:b,isRedirecting:n}}},18733:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(92819),a=n(9818),o=n(92694),i=(n(13180),n(44298)),s=n(37930);const l="a8c.wpcom-block-editor.openCheckoutModal";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const{checkoutUrl:n,planData:c}=(0,a.useSelect)((t=>{const n=t("core/editor"),r=t("wordpress-com/plans"),{id:a,type:o}=n.getCurrentPost(),s=r&&r.getPlan(e);return{checkoutUrl:(0,i.Qq)({plan:s,planSlug:e,postId:a,postType:o}),planData:s}}),[]),{autosave:u,autosaveAndRedirect:p,isRedirecting:d}=(0,s.Z)(n,t),m=async e=>{if(e.preventDefault(),(0,o.hasAction)(l))return e.preventDefault(),u(e),void(0,o.doAction)(l,{products:[c]});p(e)};return[n,m,d,c]}},33690:function(e,t,n){"use strict";n.d(t,{U:function(){return a}});var r=n(9818);const a=async()=>new Promise((e=>{const t=(0,r.subscribe)((()=>{(0,r.select)("core/editor").isCleanNewPost()&&(t(),e());(0,r.select)("core/editor").getBlocks().length>0&&(t(),e())}))}))},28137:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(94333);t.Z=e=>(0,i.createHigherOrderComponent)((t=>n=>(0,o.createElement)(t,a()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},15111:function(e,t,n){"use strict";n.d(t,{tT:function(){return r},Wp:function(){return a},Vy:function(){return o},_5:function(){return i}});const r="jetpack/media-source",a="is-playing",o="is-error",i="is-paused"},73617:function(e,t,n){"use strict";var r=n(9818),a=n(46169),o=n(15111);if(void 0!==r.createReduxStore){const e=(0,r.createReduxStore)(o.tT,a.Z);(0,r.register)(e)}else(0,r.registerStore)(o.tT,a.Z)},46169:function(e,t,n){"use strict";var r=n(15111);const a={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const n=Object.keys(e.sources);if(e.default?t=e.default:n?.length&&(t=e.sources[n[0]].id),t)return e.sources[t]},getMediaPlayerState:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.state,getMediaSourceCurrentTime:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.currentTime,getMediaSourceDuration(e,t){if(!t){return o.getDefaultMediaSource(e)?.duration}return e.sources?.[t]?.duration},getMediaSourceDomReference(e,t){const n=t?e.sources?.[t]:o.getDefaultMediaSource(e);if(!n)return;const r=n?.domId;return r?document.getElementById(r):void 0}},i={reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;const n=t.id||e.default||Object.keys(e.sources)?.[0];switch(t.type){case"REGISTER_MEDIA_SOURCE":return{...e,sources:{...e.sources,[t.id]:{id:t.id,...t.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...e,sources:{...e.sources,[t.id]:{...e.sources[t.id],...t.data}}};case"UNREGISTER_MEDIA_SOURCE":{const n=Object.assign({},e);return n.sources[t.id]&&delete n.sources[t.id],t.id===e.default&&(n.default=Object.keys(e.sources)?.[0]),n}case"SET_DEFAULT_MEDIA_SOURCE":return{...e,default:t.id};case"SET_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[n]:{...e.sources[n],state:t.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[n]:{...e.sources[n],state:e.sources[n].state===r.Wp?r._5:r.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...e,sources:{...e.sources,[n]:{...e.sources[n],currentTime:t.currentTime}}}}return e},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=i},75139:function(e,t,n){"use strict";n.d(t,{M:function(){return r},X:function(){return a}});var r={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 a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},78850:function(e,t,n){"use strict";n.d(t,{ZP:function(){return i}});var r=n(52141),a=n(63807),o=n(75139);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,o.X)(t);if(!i||isNaN(e))return null;var s=(0,r.Z)({},i,n),l=s.decimal,c=s.grouping,u=s.precision,p=s.symbol,d=e<0?"-":"",m=(0,a.Y4)(Math.abs(e),{decimals:u,thousandsSep:c,decPoint:l});return"".concat(d).concat(p).concat(m)}},94481:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99196),a=n(32365);function o(e,t){let n,a,i=[];for(let r=0;r<e.length;r++){const o=e[r];if("string"!==o.type){if(void 0===t[o.value])throw new Error(`Invalid interpolation, missing component node: \`${o.value}\``);if("object"!=typeof t[o.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${o.value}\``);if("componentClose"===o.type)throw new Error(`Missing opening component token: \`${o.value}\``);if("componentOpen"===o.type){n=t[o.value],a=r;break}i.push(t[o.value])}else i.push(o.value)}if(n){const s=function(e,t){const n=t[e];let r=0;for(let a=e+1;a<t.length;a++){const e=t[a];if(e.value===n.value){if("componentOpen"===e.type){r++;continue}if("componentClose"===e.type){if(0===r)return a;r--}}}throw new Error("Missing closing component token `"+n.value+"`")}(a,e),l=o(e.slice(a+1,s),t),c=(0,r.cloneElement)(n,{},l);if(i.push(c),s<e.length-1){const n=o(e.slice(s+1),t);i=i.concat(n)}}return i=i.filter(Boolean),0===i.length?null:1===i.length?i[0]:(0,r.createElement)(r.Fragment,null,...i)}function i(e){const{mixedString:t,components:n,throwErrors:r}=e;if(!n)return t;if("object"!=typeof n){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const i=(0,a.Z)(t);try{return o(i,n)}catch(e){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}},32365:function(e,t,n){"use strict";function r(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function a(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}n.d(t,{Z:function(){return a}})},47236:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(2571);function o(e){(0,r.assign)(e,a.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},59177:function(e,t,n){"use strict";function r(){var e=this;this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=function(t){t.source===e.windowInstance&&e.emit("message",t.data)}}(0,n(47236).Z)(r.prototype),r.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},r.prototype.getScreenCenterSpecs=function(e,t){var n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},r.prototype.isOpen=function(e){var t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},r.prototype.checkStatus=function(){for(var e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},r.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=r},39151:function(e,t,n){"use strict";var r=n(59177);t.Z=function(e,t){var n,a=new r.Z;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(function(){var e={};n&&n.keyring_id&&(e.keyring_id=Number(n.keyring_id),e.id_token=n.id_token,e.user=n.user),t(e)})),a.on("message",(function(e){return n=e}))}},52489:function(e,t,n){"use strict";var r=n(45086),a=n(57275),o=n(45814),i=n(15746),s=n(11268),l=n.n(s),c=n(99196),u=n.n(c),p=n(92819),d=n(13639),m=(n(99889),function(e){return e&&e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,"")}),h=(0,d.SL)((0,d.hs)(80),(0,d.KB)(80)),f=(0,d.SL)((0,d.hs)(200),(0,d.KB)(200)),g=function(e){(0,o.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.url,n=e.type,r=e.title,a=e.description,o=e.image,i=e.author;return u().createElement("div",{className:"facebook-preview facebook-preview__".concat(n)},u().createElement("div",{className:"facebook-preview__content"},u().createElement("div",{className:"facebook-preview__image"},o&&u().createElement("img",{alt:"Facebook Preview Thumbnail",src:o})),u().createElement("div",{className:"facebook-preview__body"},u().createElement("div",{className:"facebook-preview__url"},(0,p.compact)([m(t),i]).join(" | ")),u().createElement("div",{className:"facebook-preview__title"},h(r||"")),u().createElement("div",{className:"facebook-preview__description"},f((0,d.ju)(a))))))}}]),n}(c.PureComponent);g.propTypes={url:l().string,type:l().string,title:l().string,description:l().string,image:l().string,author:l().string},t.Z=g},13639:function(e,t,n){"use strict";n.d(t,{hs:function(){return a},I$:function(){return o},KB:function(){return i},SL:function(){return s},ju:function(){return l}});var r=n(92819),a=function(e){return function(t){return t.length<=e&&t}},o=function(e,t){return function(n){var r=n.slice(0,t),a=r.lastIndexOf(" ");return a>e&&a<t&&r.slice(0,a).concat("…")}},i=function(e){return function(t){return t.slice(0,e).concat("…")}},s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return(0,r.find)(t,(function(t){return!1!==t(e)}))(e)}},l=function(e){return e?e.replace(/(<([^>]+)>)/gi,""):""}},80505:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(11268),a=n.n(r),o=n(99196),i=n.n(o),s=n(13639),l=(n(93474),160),c=(0,s.SL)((0,s.hs)(63),(0,s.I$)(23,73),(0,s.KB)(63)),u=(0,s.SL)((0,s.hs)(l),(0,s.I$)(80,170),(0,s.KB)(l));function p(e){var t=e.description,n=e.title,r=e.url;return i().createElement("div",{className:"search-preview"},i().createElement("div",{className:"search-preview__display"},i().createElement("div",{className:"search-preview__url"},function(e){var t=e.replace(/^[^/]+[/]*/,"").split("/").join(" › ");return(0,s.SL)((0,s.hs)(68),(0,s.KB)(68))(t)}(r)," ▾"),i().createElement("div",{className:"search-preview__title"},c(n)),i().createElement("div",{className:"search-preview__description"},u((0,s.ju)(t)))))}p.propTypes={title:a().string,url:a().string,description:a().string},p.defaultProps={title:"",url:"",description:""}},79465:function(e,t,n){"use strict";var r=n(40988),a=n(49058),o=n(45086),i=n(57275),s=n(45814),l=n(15746),c=n(11268),u=n.n(c),p=n(99196),d=n.n(p),m=n(82943),h=(n(33285),function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props.tweets||[{text:"",media:[],card:(0,a.Z)((0,a.Z)({},this.props),{},{type:"large_image_summary"===this.props.type?"summary_large_image":this.props.type}),date:Date.now(),name:"Account Name",profileImage:"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:"@account"}];return d().createElement("div",{className:"twitter-preview"},e&&e.map((function(t,n){return d().createElement(m.t,(0,r.Z)({key:"twitter-preview__tweet-".concat(n),isLast:n+1===e.length},t))})))}}]),n}(p.PureComponent));h.propTypes={tweets:u().array},t.Z=h},82943:function(e,t,n){"use strict";n.d(t,{t:function(){return k}});var r=n(45086),a=n(57275),o=n(45814),i=n(15746),s=n(89105),l=n.n(s),c=n(11268),u=n.n(c),p=n(99196),d=n.n(p),m=n(76292),h=n.n(m),f=n(65736),g=n(55609),b=n(13639);n(33285);var __=f.__,v=(0,b.SL)((0,b.hs)(200),(0,b.KB)(200)),k=function(e){(0,o.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"renderSidebar",value:function(e,t){return d().createElement("div",{className:"twitter-preview__sidebar"},d().createElement("div",{className:"twitter-preview__profile-image"},d().createElement("img",{alt:__("Twitter profile image","jetpack"),src:e})),!t&&d().createElement("div",{className:"twitter-preview__connector"}))}},{key:"renderHeader",value:function(e,t,n){return d().createElement("div",{className:"twitter-preview__header"},d().createElement("span",{className:"twitter-preview__name"},e),d().createElement("span",{className:"twitter-preview__screen-name"},t),d().createElement("span",{className:"twitter-preview__date"},h()(n).format("MMM D")))}},{key:"renderText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.url||"",a=e.endsWith(r)?e.substr(0,e.lastIndexOf(r)):e,o=t.reduce((function(e,t){return e.replace(new RegExp("\\("+t+"\\)","g"),'(<a href="'.concat(t,'">').concat(t,"</a>)"))}),(0,b.ju)(a).replace(new RegExp("\\n","g"),"<br/>"));return d().createElement("div",{className:"twitter-preview__text",dangerouslySetInnerHTML:{__html:o}})}},{key:"renderMedia",value:function(e){if(e){var t=e.filter((function(e){return e.type.startsWith("image/")||e.type.startsWith("video/")})).filter((function(e,t,n){return 0===t||!n[0].type.startsWith("video/")&&"image/gif"!==n[0].type&&(!e.type.startsWith("video/")&&"image/gif"!==e.type)})).slice(0,4),n=t.length>0&&t[0].type.startsWith("video/"),r=l()(["twitter-preview__media","twitter-preview__media-children-"+t.length]);if(0!==t.length)return d().createElement("div",{className:r},n&&t.map((function(e,t){return d().createElement("video",{key:"twitter-preview__media-item-".concat(t),controls:!0},d().createElement("source",{src:e.url,type:e.type})," ")})),!n&&t.map((function(e,t){return d().createElement("img",{key:"twitter-preview__media-item-".concat(t),alt:e.alt,src:e.url})})))}}},{key:"renderQuoteTweet",value:function(e){if(e)return d().createElement("div",{className:"twitter-preview__quote-tweet"},d().createElement(g.SandBox,{html:'<blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><a href="'.concat(e,'"></a></blockquote>'),scripts:["https://platform.twitter.com/widgets.js"],title:"Embedded tweet",onFocus:this.hideOverlay}),d().createElement("div",{className:"twitter-preview__quote-tweet-overlay"}))}},{key:"renderCard",value:function(e){if(e){var t=e.description,n=e.image,r=e.title,a=e.type,o=e.url,i=l()("twitter-preview__card-".concat(a),{"twitter-preview__card-has-image":!!n});return d().createElement("div",{className:"twitter-preview__card"},d().createElement("div",{className:i},n&&d().createElement("img",{className:"twitter-preview__card-image",src:n,alt:""}),d().createElement("div",{className:"twitter-preview__card-body"},d().createElement("div",{className:"twitter-preview__card-title"},r),d().createElement("div",{className:"twitter-preview__card-description"},v((0,b.ju)(t))),d().createElement("div",{className:"twitter-preview__card-url"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("g",null,d().createElement("path",{d:"M11.96 14.945c-.067 0-.136-.01-.203-.027-1.13-.318-2.097-.986-2.795-1.932-.832-1.125-1.176-2.508-.968-3.893s.942-2.605 2.068-3.438l3.53-2.608c2.322-1.716 5.61-1.224 7.33 1.1.83 1.127 1.175 2.51.967 3.895s-.943 2.605-2.07 3.438l-1.48 1.094c-.333.246-.804.175-1.05-.158-.246-.334-.176-.804.158-1.05l1.48-1.095c.803-.592 1.327-1.463 1.476-2.45.148-.988-.098-1.975-.69-2.778-1.225-1.656-3.572-2.01-5.23-.784l-3.53 2.608c-.802.593-1.326 1.464-1.475 2.45-.15.99.097 1.975.69 2.778.498.675 1.187 1.15 1.992 1.377.4.114.633.528.52.928-.092.33-.394.547-.722.547z"}),d().createElement("path",{d:"M7.27 22.054c-1.61 0-3.197-.735-4.225-2.125-.832-1.127-1.176-2.51-.968-3.894s.943-2.605 2.07-3.438l1.478-1.094c.334-.245.805-.175 1.05.158s.177.804-.157 1.05l-1.48 1.095c-.803.593-1.326 1.464-1.475 2.45-.148.99.097 1.975.69 2.778 1.225 1.657 3.57 2.01 5.23.785l3.528-2.608c1.658-1.225 2.01-3.57.785-5.23-.498-.674-1.187-1.15-1.992-1.376-.4-.113-.633-.527-.52-.927.112-.4.528-.63.926-.522 1.13.318 2.096.986 2.794 1.932 1.717 2.324 1.224 5.612-1.1 7.33l-3.53 2.608c-.933.693-2.023 1.026-3.105 1.026z"}))),function(e){return e.replace(/^[^/]+[/]*(www\.)?/,"").replace(/\/.*$/,"")}(o||"")))))}}},{key:"renderFooter",value:function(){return d().createElement("div",{className:"twitter-preview__footer"},d().createElement("span",{className:"twitter-preview__icon-replies"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M14.046 2.242l-4.148-.01h-.002c-4.374 0-7.8 3.427-7.8 7.802 0 4.098 3.186 7.206 7.465 7.37v3.828c0 .108.044.286.12.403.142.225.384.347.632.347.138 0 .277-.038.402-.118.264-.168 6.473-4.14 8.088-5.506 1.902-1.61 3.04-3.97 3.043-6.312v-.017c-.006-4.367-3.43-7.787-7.8-7.788zm3.787 12.972c-1.134.96-4.862 3.405-6.772 4.643V16.67c0-.414-.335-.75-.75-.75h-.396c-3.66 0-6.318-2.476-6.318-5.886 0-3.534 2.768-6.302 6.3-6.302l4.147.01h.002c3.532 0 6.3 2.766 6.302 6.296-.003 1.91-.942 3.844-2.514 5.176z"}))),d().createElement("span",{className:"twitter-preview__icon-retweets"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M23.77 15.67c-.292-.293-.767-.293-1.06 0l-2.22 2.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414 0-.75.336-.75.75s.336.75.75.75h5.85c1.24 0 2.25 1.01 2.25 2.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06 0s-.294.768 0 1.06l3.5 3.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767 0-1.06zm-10.66 3.28H7.26c-1.24 0-2.25-1.01-2.25-2.25V6.46l2.22 2.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768 0-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06 0l-3.5 3.5c-.294.292-.294.767 0 1.06s.767.293 1.06 0l2.22-2.22V16.7c0 2.068 1.683 3.75 3.75 3.75h5.85c.414 0 .75-.336.75-.75s-.337-.75-.75-.75z"}))),d().createElement("span",{className:"twitter-preview__icon-likes"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"}))),d().createElement("span",{className:"twitter-preview__icon-share"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M17.53 7.47l-5-5c-.293-.293-.768-.293-1.06 0l-5 5c-.294.293-.294.768 0 1.06s.767.294 1.06 0l3.72-3.72V15c0 .414.336.75.75.75s.75-.336.75-.75V4.81l3.72 3.72c.146.147.338.22.53.22s.384-.072.53-.22c.293-.293.293-.767 0-1.06z"}),d().createElement("path",{d:"M19.708 21.944H4.292C3.028 21.944 2 20.916 2 19.652V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 .437.355.792.792.792h15.416c.437 0 .792-.355.792-.792V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 1.264-1.028 2.292-2.292 2.292z"}))))}},{key:"render",value:function(){var e=this.props,t=e.isLast,n=e.profileImage,r=e.name,a=e.screenName,o=e.date,i=e.text,s=e.media,l=e.tweet,c=e.urls,u=e.card;return d().createElement("div",{className:"twitter-preview__container"},this.renderSidebar(n,t),d().createElement("div",{className:"twitter-preview__main"},this.renderHeader(r,a,o),d().createElement("div",{className:"twitter-preview__content"},this.renderText(i,c,u),this.renderMedia(s),this.renderQuoteTweet(l),this.renderCard(u)),this.renderFooter()))}}]),n}(p.PureComponent);k.propTypes={tweets:u().array,isLast:u().bool,profileImage:u().string,name:u().string,screenName:u().string,date:u().number,text:u().string,media:u().array,tweet:u().string,urls:u().array,card:u().object}},48468:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(83712)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},83712:function(e,t,n){e.exports=function(e){function t(e){let n,a=null;function o(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!o.enabled)return;const i=o,s=Number(new Date),l=s-(n||s);i.diff=l,i.prev=n,i.curr=s,n=s,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(i,t),r.splice(c,1),c--}return e})),t.formatArgs.call(i,r);const u=i.log||t.log;u.apply(i,r)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=r,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null===a?t.enabled(e):a,set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},90922:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(31967)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},31967:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},48735:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,a=e.onClick,o=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-fullscreen",o,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:l,height:n,width:n,onClick:a},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21 3v6h-2V6.41l-3.29 3.3-1.42-1.42L17.59 5H15V3zM3 3v6h2V6.41l3.29 3.3 1.42-1.42L6.41 5H9V3zm18 18v-6h-2v2.59l-3.29-3.29-1.41 1.41L17.59 19H15v2zM9 21v-2H6.41l3.29-3.29-1.41-1.42L5 17.59V15H3v6z"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},20651:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,o=e.onClick,s=(e.icon,e.className),l=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-notice-outline",s,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:c,height:a,width:a,onClick:o},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},35381:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,o=e.onClick,s=(e.icon,e.className),l=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-star",s,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:c,height:a,width:a,onClick:o},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},7104:function(e,t,n){var r;e=n.nmd(e),function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof window&&window;o.global!==o&&o.window!==o&&o.self;var i,s=2147483647,l=36,c=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,h=String.fromCharCode;function f(e){throw RangeError(d[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function b(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(p,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],a=0,o=e.length;a<o;)(t=e.charCodeAt(a++))>=55296&&t<=56319&&a<o?56320==(64512&(n=e.charCodeAt(a++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),a--):r.push(t);return r}function k(e){return g(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?m(e/700):e>>1,e+=m(e/t);e>455;r+=l)e=m(e/35);return m(r+36*e/(e+38))}function w(e){var t,n,r,a,o,i,c,u,p,d,h,g=[],b=e.length,v=0,y=128,w=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&f("not-basic"),g.push(e.charCodeAt(r));for(a=n>0?n+1:0;a<b;){for(o=v,i=1,c=l;a>=b&&f("invalid-input"),((u=(h=e.charCodeAt(a++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l)>=l||u>m((s-v)/i))&&f("overflow"),v+=u*i,!(u<(p=c<=w?1:c>=w+26?26:c-w));c+=l)i>m(s/(d=l-p))&&f("overflow"),i*=d;w=E(v-o,t=g.length+1,0==o),m(v/t)>s-y&&f("overflow"),y+=m(v/t),v%=t,g.splice(v++,0,y)}return k(g)}function _(e){var t,n,r,a,o,i,c,u,p,d,g,b,k,w,_,C=[];for(b=(e=v(e)).length,t=128,n=0,o=72,i=0;i<b;++i)(g=e[i])<128&&C.push(h(g));for(r=a=C.length,a&&C.push("-");r<b;){for(c=s,i=0;i<b;++i)(g=e[i])>=t&&g<c&&(c=g);for(c-t>m((s-n)/(k=r+1))&&f("overflow"),n+=(c-t)*k,t=c,i=0;i<b;++i)if((g=e[i])<t&&++n>s&&f("overflow"),g==t){for(u=n,p=l;!(u<(d=p<=o?1:p>=o+26?26:p-o));p+=l)_=u-d,w=l-d,C.push(h(y(d+_%w,0))),u=m(_/w);C.push(h(y(u,0))),o=E(n,k,r==a),n=0,++r}++n,++t}return C.join("")}i={version:"1.3.2",ucs2:{decode:v,encode:k},decode:w,encode:_,toASCII:function(e){return b(e,(function(e){return u.test(e)?"xn--"+_(e):e}))},toUnicode:function(e){return b(e,(function(e){return c.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},15661:function(e,t,n){"use strict";n.r(t),n.d(t,{ucs2decode:function(){return m},ucs2encode:function(){return h},decode:function(){return b},encode:function(){return v},toASCII:function(){return y},toUnicode:function(){return k}});const r=2147483647,a=36,o=/^xn--/,i=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(l[e])}function d(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(s,".")).split("."),t).join(".");return r+a}function m(e){const t=[];let n=0;const r=e.length;for(;n<r;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t}const h=e=>String.fromCodePoint(...e),f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=a)e=c(e/35);return c(r+36*e/(e+38))},b=function(e){const t=[],n=e.length;let o=0,i=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let d=l>0?l+1:0;d<n;){let l=o;for(let t=1,i=a;;i+=a){d>=n&&p("invalid-input");const l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:a;(l>=a||l>c((r-o)/t))&&p("overflow"),o+=l*t;const m=i<=s?1:i>=s+26?26:i-s;if(l<m)break;const h=a-m;t>c(r/h)&&p("overflow"),t*=h}const m=t.length+1;s=g(o-l,m,0==l),c(o/m)>r-i&&p("overflow"),i+=c(o/m),o%=m,t.splice(o++,0,i)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let n=(e=m(e)).length,o=128,i=0,s=72;for(const n of e)n<128&&t.push(u(n));let l=t.length,d=l;for(l&&t.push("-");d<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const m=d+1;n-o>c((r-i)/m)&&p("overflow"),i+=(n-o)*m,o=n;for(const n of e)if(n<o&&++i>r&&p("overflow"),n==o){let e=i;for(let n=a;;n+=a){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const o=e-r,i=a-r;t.push(u(f(r+o%i,0))),e=c(o/i)}t.push(u(f(e,0))),s=g(i,m,d==l),i=0,++d}++i,++o}return t.join("")},k=function(e){return d(e,(function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e}))},y=function(e){return d(e,(function(e){return i.test(e)?"xn--"+v(e):e}))},E={version:"2.1.0",ucs2:{decode:m,encode:h},decode:b,encode:v,toASCII:y,toUnicode:k};t.default=E},5157:function(e,t,n){"use strict";const r=n(55778),a=n(97115),o=n(63851),i=n(95946);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?a(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const a="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!a&&c(n,e).includes(e.arrayFormatSeparator);n=o?c(n,e):n;const i=a||o?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const a=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!a)return void(r[t]=n?c(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>c(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const a of e.split("&")){if(""===a)continue;let[e,i]=o(t.decode?a.replace(/\+/g," "):a,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:c(i,t),n(c(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=m(n[e],t);else r[e]=m(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=u(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",a,"]"].join("")]:[...n,[l(t,e),"[",l(a,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:(a=null===a?"":a,0===r.length?[[l(n,e),t,l(a,e)].join("")]:[[r,l(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const o=Object.keys(a);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const a=e[n];return void 0===a?"":null===a?l(n,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":a.reduce(r(n),[]).join("&"):l(n,t)+"="+l(a,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=p(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query);let s=t.stringify(i,n);s&&(s=`?${s}`);let c=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c=`#${l(e.fragmentIdentifier,n)}`),`${r}${s}${c}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:i(o,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}},63851:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},55778:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},84080:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},75423:function(e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},87696:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},76202:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},39126:function(e,t,n){"use strict";t.Any=n(26285),t.Cc=n(84080),t.Cf=n(75423),t.P=n(87696),t.Z=n(76202)},26285:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},86841:function(){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},a=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(e){return!1}})()||function(){var a=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof a){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var o=e[r];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var i in e)e.hasOwnProperty(i)&&this.append(i,e[i])}},o=a.prototype;o.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},o.delete=function(e){delete this._entries[e]},o.get=function(e){return e in this._entries?this._entries[e][0]:null},o.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},o.has=function(e){return e in this._entries},o.set=function(e,t){this._entries[e]=[String(t)]},o.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var a=0;a<n.length;a++)e.call(t,n[a],r,this)}},o.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},o.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},o.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=a}();var o=e.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,o=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)r=o[n].split("="),this.append(a(r[0]),r.length>1?a(r[1]):"")}})}("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var r,a=document;if(n&&(void 0===e.location||n!==e.location.href)){n=n.toLowerCase(),(r=(a=document.implementation.createHTMLDocument("")).createElement("base")).href=n,a.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=a.createElement("a");o.href=t,r&&(a.body.appendChild(o),o.href=o.href);var i=a.createElement("input");if(i.type="url",i.value=t,":"===o.protocol||!/:/.test(o.href)||!i.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new e.URLSearchParams(this.search),l=!0,c=!0,u=this;["append","delete","set"].forEach((function(e){var t=s[e];s[e]=function(){t.apply(s,arguments),l&&(c=!1,u.search=s.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var p=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==p&&(p=this.search,c&&(l=!1,this.searchParams._fromString(this.search),l=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},82827:function(e,t,n){"use strict";var r=n(7104),a=n(68070);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.Qc=k,t.WU=function(e){a.isString(e)&&(e=k(e));return e instanceof o?e.format():o.prototype.format.call(e)};var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(76250);function k(e,t,n){if(e&&a.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var k=e=c.join(s);if(k=k.trim(),!n&&1===e.split("#").length){var y=l.exec(k);if(y)return this.path=k,this.href=k,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=i.exec(k);if(E){var w=(E=E[0]).toLowerCase();this.protocol=w,k=k.substr(E.length)}if(n||E||k.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===k.substr(0,2);!_||E&&g[E]||(k=k.substr(2),this.slashes=!0)}if(!g[E]&&(_||E&&!b[E])){for(var C,j,S=-1,x=0;x<d.length;x++){-1!==(T=k.indexOf(d[x]))&&(-1===S||T<S)&&(S=T)}-1!==(j=-1===S?k.lastIndexOf("@"):k.lastIndexOf("@",S))&&(C=k.slice(0,j),k=k.slice(j+1),this.auth=decodeURIComponent(C)),S=-1;for(x=0;x<p.length;x++){var T;-1!==(T=k.indexOf(p[x]))&&(-1===S||T<S)&&(S=T)}-1===S&&(S=k.length),this.host=k.slice(0,S),k=k.slice(S),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var P=this.hostname.split(/\./),A=(x=0,P.length);x<A;x++){var I=P[x];if(I&&!I.match(m)){for(var M="",B=0,R=I.length;B<R;B++)I.charCodeAt(B)>127?M+="x":M+=I[B];if(!M.match(m)){var L=P.slice(0,x),Z=P.slice(x+1),F=I.match(h);F&&(L.push(F[1]),Z.unshift(F[2])),Z.length&&(k="/"+Z.join(".")+k),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=r.toASCII(this.hostname));var D=this.port?":"+this.port:"",O=this.hostname||"";this.host=O+D,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==k[0]&&(k="/"+k))}if(!f[w])for(x=0,A=u.length;x<A;x++){var z=u[x];if(-1!==k.indexOf(z)){var U=encodeURIComponent(z);U===z&&(U=escape(z)),k=k.split(z).join(U)}}var $=k.indexOf("#");-1!==$&&(this.hash=k.substr($),k=k.slice(0,$));var V=k.indexOf("?");if(-1!==V?(this.search=k.substr(V),this.query=k.substr(V+1),t&&(this.query=v.parse(this.query)),k=k.slice(0,V)):t&&(this.search="",this.query={}),k&&(this.pathname=k),b[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var G=this.search||"";this.path=D+G}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(i=v.stringify(this.query));var s=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(k(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(a.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),i=0;i<r.length;i++){var s=r[i];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var p=Object.keys(e),d=0;d<p.length;d++){var m=p[d];n[m]=e[m]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var k=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),E=y||k||n.host&&e.pathname,w=E,_=n.pathname&&n.pathname.split("/")||[],C=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(C&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),E=E&&(""===h[0]||""===_[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=h;else if(h.length)_||(_=[]),_.pop(),_=_.concat(h),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search)){if(C)n.hostname=n.host=_.shift(),(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift());return n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var j=_.slice(-1)[0],S=(n.host||e.host||_.length>1)&&("."===j||".."===j)||""===j,x=0,T=_.length;T>=0;T--)"."===(j=_[T])?_.splice(T,1):".."===j?(_.splice(T,1),x++):x&&(_.splice(T,1),x--);if(!E&&!w)for(;x--;x)_.unshift("..");!E||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),S&&"/"!==_.join("/").substr(-1)&&_.push("");var N,P=""===_[0]||_[0]&&"/"===_[0].charAt(0);C&&(n.hostname=n.host=P?"":_.length?_.shift():"",(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift()));return(E=E||n.host&&_.length)&&!P&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},68070:function(e){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},11043:function(e,t,n){"use strict";var r=n(1625),a=n(99196);t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,o=a.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=o[0];var i=o[1];return o=e.value,e.getCurrentValue===t&&e.subscribe===n||(o=t(),i({getCurrentValue:t,subscribe:n,value:o})),a.useDebugValue(o),a.useEffect((function(){function e(){if(!a){var e=t();i((function(a){return a.getCurrentValue!==t||a.subscribe!==n||a.value===e?a:r({},a,{value:e})}))}}var a=!1,o=n(e);return e(),function(){a=!0,o()}}),[t,n]),o}},20036:function(e,t,n){"use strict";e.exports=n(11043)},61521:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},22199:function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,a=arguments.length;n<a;n++)t.push(arguments[n]);return t}function a(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,a=this.head;null!==a;)n.push(e.call(t,a.value,this)),a=a.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,a=this.tail;null!==a;)n.push(e.call(t,a.value,this)),a=a.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var a=0;null!==r;a++)n=e(n,r.value,a),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var a=this.length-1;null!==r;a--)n=e(n,r.value,a),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=0,o=this.head;null!==o&&a<e;a++)o=o.next;for(;null!==o&&a<t;a++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=this.length,o=this.tail;null!==o&&a>t;a--)o=o.prev;for(;null!==o&&a>e;a--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var i=[];for(r=0;o&&r<t;r++)i.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=a(this,o,n[r]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(61521)(r)}catch(e){}},8964:function(e,t,n){"use strict";e.exports=n.p+"images/eventbrite-in-page-example-c351ec80e4dd5d39433d.png"},90767:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-after-d6db862c442c24ad1c63.png"},58632:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-before-4592b4656108c1429614.png"},96406:function(e,t,n){"use strict";e.exports=n.p+"images/map-preview-97bda80ebb6981457630.jpg"},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},23879:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-2x-3d5d36867a0f3728cc3a.png"},22323:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-5ecd2d5421d74f39e027.png"},60206:function(e,t,n){"use strict";e.exports=n.p+"images/simple-payments_example-1-0273eeccd8d120df4984.jpg"},65784:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-1-07a3f164621235df0419.jpg"},6425:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-2-2ee401e47066229bdac5.jpg"},85983:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-3-0682afca66c485f17ff6.jpg"},37447:function(e,t,n){"use strict";e.exports=n.p+"images/upgrade-illustration-5b3059f7101ac37f4339.svg"},15915:function(e,t,n){"use strict";e.exports=n.p+"images/story_example-1-716db2e4f5a074d302f7.png"},96606:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-1-d2817eb0e669267ab3eb.jpg"},85472:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-2-7d8f0cf8e262f0112691.jpg"},79009:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-3-07a3f164621235df0419.jpg"},10742:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-4-2ee401e47066229bdac5.jpg"},52642:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-5-a1935fd9cf1181168d90.jpg"},41145:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-6-9f9d39c6af0fb4b0d99c.jpg"},41194:function(e,t,n){"use strict";e.exports=n.p+"images/videopress-block-example-image-da9ef73787adca8896f2.jpg"},80405:function(e,t,n){"use strict";e.exports=n.p+"images/example_160x600-ccbc594f54431dafa70d.png"},72473:function(e,t,n){"use strict";e.exports=n.p+"images/example_300x250-5b93e8174f02d48c40b7.png"},38511:function(e,t,n){"use strict";e.exports=n.p+"images/example_320x50-7110edf045141630a222.png"},52203:function(e,t,n){"use strict";e.exports=n.p+"images/example_728x90-d9de384932330b92e1c3.png"},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},76292:function(e){"use strict";e.exports=window.moment},25158:function(e){"use strict";e.exports=window.wp.a11y},42998:function(e){"use strict";e.exports=window.wp.annotations},86989:function(e){"use strict";e.exports=window.wp.apiFetch},11313:function(e){"use strict";e.exports=window.wp.blob},52175:function(e){"use strict";e.exports=window.wp.blockEditor},4981:function(e){"use strict";e.exports=window.wp.blocks},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},69771:function(e){"use strict";e.exports=window.wp.date},47701:function(e){"use strict";e.exports=window.wp.domReady},72067:function(e){"use strict";e.exports=window.wp.editPost},12238:function(e){"use strict";e.exports=window.wp.editor},69307:function(e){"use strict";e.exports=window.wp.element},81975:function(e){"use strict";e.exports=window.wp.escapeHtml},92694:function(e){"use strict";e.exports=window.wp.hooks},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes},53961:function(e){"use strict";e.exports=window.wp.notices},98817:function(e){"use strict";e.exports=window.wp.plugins},70444:function(e){"use strict";e.exports=window.wp.primitives},72629:function(e){"use strict";e.exports=window.wp.richText},29512:function(e){"use strict";e.exports=window.wp.tokenList},96483:function(e){"use strict";e.exports=window.wp.url},90162:function(e){"use strict";e.exports=window.wp.viewport},25303:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},45086:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},57275:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return a}})},15746:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6336),a=n(77363),o=n(2102);function i(e){var t=(0,a.Z)();return function(){var n,a=(0,r.Z)(e);if(t){var i=(0,r.Z)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,o.Z)(this,n)}}},12472:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},40988:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},6336:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},45814:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(99112);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},77363:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},49058:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(12472);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},2102:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31344),a=n(25303);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}},99112:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},31344:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},8134:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},14316:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},97024:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8134);function a(e){if(Array.isArray(e))return(0,r.Z)(e)}},55200:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},71687:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},93772:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return a}})},9057:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(72406),a=n(58189),o=n(34621);function i(e){var t=(0,a.Z)();return function(){var n,a=(0,r.Z)(e);if(t){var i=(0,r.Z)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,o.Z)(this,n)}}},98086:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},95672:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},72406:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},82104:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(43051);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},58189:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},40613:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},20120:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],_n=!0,i=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);_n=!0);}catch(e){i=!0,a=e}finally{try{_n||null==n.return||n.return()}finally{if(i)throw a}}return o}}n.d(t,{Z:function(){return r}})},41722:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},56083:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},52141:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(98086);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},59591:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98086);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},34621:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(29504),a=n(55200);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}},43051:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},50572:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(14316),a=n(20120),o=n(33611),i=n(41722);function s(e,t){return(0,r.Z)(e)||(0,a.Z)(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},59128:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(97024),a=n(40613),o=n(33611),i=n(56083);function s(e){return(0,r.Z)(e)||(0,a.Z)(e)||(0,o.Z)(e)||(0,i.Z)()}},29504:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},33611:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8134);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},27655:function(e){"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')},60231:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},90059:function(e){"use strict";e.exports=JSON.parse('{"p":[{"slug":"participant-0","label":"Speaker 1"},{"slug":"participant-1","label":"Speaker 2"},{"slug":"participant-2","label":"Speaker 3"}]}')},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')},1949:function(e){"use strict";e.exports={Kc:["amazon"]}}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,l),n.loaded=!0,n.exports}l.m=i,l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);l.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},l.d(a,o),a},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(t,n){return l.f[n](e,t),t}),[]))},l.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{390:"87699145e1e11e92e952",860:"d8d32efbe3dcb1077f70"}[e]},l.miniCssF=function(e){return"swiper.css?minify=false&ver=4f0a26962ac03729a198"},function(){if(!l.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;l.miniCssF=(e=l.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",l.l=function(e,t,a,o){if(n[e])n[e].push(t);else{var i,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",r+a),i.src=e),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(m);var a=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((function(e){return e(r)})),t)return t(r)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.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(/\/[^\/]+$/,"/"),l.p=e}(),a=function(e){return new Promise((function(t,n){var r=l.miniCssF(e),a=l.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var a=(i=n[r]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(a===e||a===t))return i}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var i;if((a=(i=o[r]).getAttribute("data-href"))===e||a===t)return i}}(r,a))return t();!function(e,t,n,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(o){if(a.onerror=a.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode.removeChild(a),r(l)}},a.href=t,document.head.appendChild(a)}(e,a,t,n)}))},o={161:0,189:0,486:0},l.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=a(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={161:0,189:0,486:0};l.f.j=function(t,n){var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var a=new Promise((function(n,a){r=e[t]=[n,a]}));n.push(r[2]=a);var o=l.p+l.u(t),i=new Error;l.l(o,(function(n){if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,r[1](i)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,a,o=n[0],i=n[1],s=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(s)s(l)}for(t&&t(n);c<o.length;c++)a=o[c],l.o(e,a)&&e[a]&&e[a][0](),e[o[c]]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";l(57836),l(6757),l(7616),l(92919),l(26634),l(17269),l(56771),l(58721),l(73617);var e=l(11973);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){const{userid:t,username:n}=window.Jetpack_Editor_Initial_State.tracksUserData;e.Z.initialize(t,n,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}}(),function(){"use strict";var e=l(28069),t=l(8042);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(32278);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(79884);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(75494);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(28069),t=l(20195);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(28069),t=l(63445);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(45166);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(92694),n=l(52175),r=l(55609),a=l(65736),o=l(47271);const __=a.__,i=t=>{if(t.isDeprecation)return t;if("core/embed"!==t.name)return t;const{edit:a}=t;return{...t,edit:(0,r.withNotices)((t=>{const{noticeOperations:i,noticeUI:s,onReplace:l}=t,{url:c}=t.attributes,{isGatheringStorm:u,unleashStorm:p}=(0,o.Z)({onReplace:l});return"twitter"!==t.attributes.providerNameSlug?(0,e.createElement)(a,t):(0,e.createElement)(e.Fragment,null,s,(0,e.createElement)(n.BlockControls,null,(0,e.createElement)(r.ToolbarGroup,{className:"gathering-tweetstorms__embed-toolbar"},(0,e.createElement)(r.ToolbarButton,{className:"gathering-tweetstorms__embed-toolbar-button",onClick:()=>p(c,i),label:__("Import the entire Twitter thread directly into this post.","jetpack"),showTooltip:!0,disabled:u||!c},__("Unroll","jetpack")),u&&(0,e.createElement)(r.ToolbarItem,{as:r.Spinner}))),(0,e.createElement)(a,t))}))}};(0,t.addFilter)("blocks.registerBlockType","jetpack/gathering-tweetstorms",i)}(),function(){"use strict";var e=l(28069),t=l(31072);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(13984);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(1624);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(77007);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(66916);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(28069),t=l(19916);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(92828);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(7882);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(5458);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(18161);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(58495);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(72228);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(28069),t=l(84807);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(82163);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(32051);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(57368);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(8223);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(93636),n=l(59770);(0,e.Z)(t.u2,t.Xd,[{name:n.u2,settings:n.Xd}])}(),function(){"use strict";var e=l(96594);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(91994);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(71730);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(28069),t=l(35289);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(94120);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(98817),n=l(42366),r=l(21409),a=l(58014);(0,l(52291).Z)(n.u2,n.Xd);const o=(0,r.Z)("social-previews")?.available;!o&&(0,a.Wp)()&&(0,t.registerPlugin)(`jetpack-${n.u2}-upgrade-nudge`,{render:()=>(0,e.createElement)(n.w6,{showUpgradeNudge:!0})})}(),function(){"use strict";var e=l(28069),t=l(20222);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(57211);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(80349);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(29183),t=l.n(e),n=l(69307),r=l(55609),a=l(11313),o=l(4981),i=l(12238),s=l(52175),c=l(92694),u=l(94333),p=l(65736),d=l(92819),m=l(6976),h=l(64089),f=l(21409),g=l(71486),b=l(4207),v=l(3082),k=l(58014),y=l(28137),E=l(41194);const __=p.__,w=(0,u.createHigherOrderComponent)((e=>a=>{const{name:o}=(0,s.useBlockEditContext)();return"core/video"!==o?(0,n.createElement)(e,a):(0,n.createElement)(e,t()({},a,{disableDropZone:!0,className:"no-videopress-media-placeholder"}),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",isSecondary:!0},__("Media Library","jetpack")),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",isSecondary:!0},__("Upload","jetpack")))}),"videoPressNoPlanMediaPlaceholder"),_=(e,t,n)=>("core/video"!==t.name||!n.guid||n.className?.indexOf("wp-block-video")>=0||n.videoPressClassNames||(e.className=e.className.replace("wp-block-video","").trim()),e);(0,c.addFilter)("blocks.registerBlockType","jetpack/videopress",((e,t)=>{if("core/embed"===t)return(e=>{if(!("variations"in e)||"object"!=typeof e.variations)return;const{available:t}=(0,f.Z)("videopress");e.variations.some((e=>"videopress"===e.name&&(t&&(e.scope=[]),e.patterns.push(/^https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?$/i),!0)))})(e),e;if("core/video"!==t||e.isDeprecation)return e;const{deprecated:n,edit:r,save:s,supports:l,transforms:u}=e,{available:p,unavailableReason:C}=(0,f.Z)("videopress");if(((0,k.Wp)()||(0,k.Ug)())&&["missing_plan","unknown"].includes(C)?((0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",w),(0,c.addFilter)("editor.BlockListBlock","jetpack/videopress-with-has-warning-is-interactive-class-names",(0,y.Z)("core/video"))):p&&(e.description=__("Embed a video from your media library or upload a new one with VideoPress.","jetpack"),e.example.attributes={caption:"",isVideoPressExample:!0,src:E}),(0,c.addFilter)("blocks.getSaveContent.extraProps","jetpack/videopress",_,20),p||["missing_plan","missing_module","unknown"].includes(C)){const t={autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},useAverageColor:{type:"boolean"},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"}},c=/https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?/i;return{...e,attributes:t,transforms:{...u,from:[{type:"files",isMatch:e=>(0,d.every)(e,(e=>0===e.type.indexOf("video/"))),priority:9,transform:(e,t)=>{const n=[];return e.forEach((e=>{const r=(0,o.createBlock)("core/video",{src:(0,a.createBlobURL)(e)});(0,i.mediaUpload)({filesList:[e],onFileChange:e=>{let[{id:n,url:a}]=e;t(r.clientId,{id:n,src:a})},allowedTypes:["video"]}),n.push(r)})),n}},{type:"raw",isMatch:e=>"P"===e.nodeName&&c.test(e.innerHTML),transform:e=>{const t=c.exec(e.innerHTML);return(0,o.createBlock)("core/embed",{url:"https://videopress.com/v/"+t[1].trim()})}}]},supports:{...l,reusable:!1},edit:(0,m.Z)(r),save:(0,h.Z)(s),deprecated:[...n||[],v.Z,{attributes:t,isEligible:e=>!e.guid,save:s,supports:l,isDeprecation:!0},b.Z,g.Z]}}return e}),5)}(),function(){"use strict";var e=l(28069),t=l(62086);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(92819),n=l(99196),r=l(9818),a=l(72067),o=l(22607),i=l(84675),s=l(65736),c=l(98817),u=l(55609),p=(l(53961),l(33690)),d=l(22874),m=l(11973);const __=s.__;async function h(e){await(0,p.U)();const{insertBlocks:t}=(0,r.dispatch)("core/block-editor");let n;switch(e.tpl){case"spotifyBadge":n=(0,d.F)(e);break;case"basicEpisode":n=(0,d.J)(e)}n?.length&&t(n,0,void 0,!1)}const f=()=>{(0,n.useEffect)((()=>{m.Z.tracks.recordEvent("jetpack_editor_block_anchor_fm_post_publish_impression")}),[]);const t=(0,n.useCallback)((()=>m.Z.tracks.recordEvent("jetpack_editor_block_anchor_fm_post_publish_click")),[]);return(0,e.createElement)(a.PluginPostPublishPanel,{className:"anchor-post-publish-outbound-link"},(0,e.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},(0,e.createElement)("strong",null,__("Convert to audio","jetpack"))),(0,e.createElement)("p",null,__("Seamlessly turn this post into a podcast episode with Anchor - and let readers listen to your post.","jetpack")),(0,e.createElement)("div",{role:"link",className:"post-publish-panel__postpublish-buttons",tabIndex:0,onClick:t,onKeyDown:t},(0,e.createElement)(u.Button,{isPrimary:!0,href:"https://anchor.fm/wordpressdotcom",target:"_top"},__("Create a podcast episode","jetpack")," ",(0,e.createElement)(o.Z,{icon:i.Z,className:"anchor-post-publish-outbound-link__external_icon"}))))};!function(){const e=window.Jetpack_AnchorFm;"object"==typeof e&&e.actions.forEach((e=>{const[n,a]=(0,t.castArray)(e);switch(n){case"insert-spotify-badge":h({...a,tpl:"spotifyBadge"});break;case"insert-episode-template":h({...a,tpl:"basicEpisode"});break;case"show-post-publish-outbound-link":(0,c.registerPlugin)("anchor-post-publish-outbound-link",{render:f});break;case"set-episode-title":!async function(e){let{title:t}=e;t&&(await(0,p.U)(),(0,r.dispatch)("core/editor").editPost({title:t}))}(a);break;case"create-episode-error-notice":o=a,(0,r.dispatch)("core/notices").createNotice("error",__("We couldn't find that episode in your feed. If you just published the episode, please try creating the post again in a few minutes.","jetpack"),{id:"episode-error-notice",actions:[{onClick(){window.location.href=o.retry_url},onKeyDown(){window.location.href=o.retry_url},label:__("Retry","jetpack")}]})}var o}))}()}(),function(){"use strict";var e=l(28069),t=l(98034),n=l(76883),r=l(24720),a=l(46157),o=l(37436);(0,e.Z)(t.u,t.X,[{name:n.u,settings:n.X},{name:r.u,settings:r.X},{name:a.u,settings:a.X},{name:o.u,settings:o.X}],!1)}(),function(){"use strict";var e=l(28069),t=l(36384);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(98956);(0,e.Z)(t.u2,t.Xd)}()}(); \ No newline at end of file
+__("Congratulations! Your site is now on the %s plan.","jetpack"),e):__("Congratulations! Your site is now on a paid plan.","jetpack"),{isDismissible:!0,...t&&{actions:[{url:l(),label:__("View my plan","jetpack")}]}})}}}})()},45092:function(e,t,n){"use strict";n.d(t,{bu:function(){return l},uM:function(){return i},yX:function(){return s}});var r=n(86989),a=n.n(r),o=n(13419);async function i(){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function l(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},80425:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},31985:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(65736),a=n(92694),o=n(4981),i=n(13419),s=n(1949);const __=r.__,l={paid:(0,r._x)("paid","Short label appearing near a block requiring a paid plan","jetpack"),beta:__("beta","jetpack")},c=s.Kc||[];function u(e){const t=[];return c.includes(e)&&t.push(l.beta),t}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length?`${e} (${t.join(", ")})`:e}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:s,details:l,unavailableReason:c}=(0,i.OZ)(e),d=(0,i._D)(c,l),m=r?"jetpack/":"";if(!s&&!d)return!1;const h=(0,o.registerBlockType)(m+e,{...t,title:p(t.title,u(e))});return d&&(0,a.addFilter)("editor.BlockListBlock",`${m+e}-with-has-warning-is-interactive-class-names`,(0,i.T)(m+e)),n.forEach((e=>(0,o.registerBlockType)(m+e.name,e.settings))),h}},36598:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:o},(0,r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},66425:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=(e,t,n,o,i)=>{const{isSelected:s}=t,l=t.attributes[e];return(0,r.createElement)("div",{className:s?`jetpack-${e}-block is-selected`:`jetpack-${e}-block`},!s&&""!==l&&o(t),(s||""===l)&&(0,r.createElement)(a.PlainText,{value:l,placeholder:n,"aria-label":n,onChange:i}))}},92713:function(e,t,n){"use strict";var r=n(9818),a=n(65736);n(53961);const __=a.__;if("undefined"!=typeof window&&window.location){const e=new URLSearchParams(window.location.search);e.get("stripe_connect_success")?(0,r.dispatch)("core/notices").createNotice("success",__("Congrats! Your site is now connected to Stripe. You can now start accepting funds!","jetpack")):e.get("stripe_connect_cancelled")&&(0,r.dispatch)("core/notices").createNotice("error",__("You cancelled connecting your site to Stripe.","jetpack"))}},23621:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(86989),o=n.n(a);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;return t(!0),new Promise(((n,r)=>{o()({path:`/wpcom/v2/resolve-redirect/?url=${encodeURIComponent(e)}`}).then((a=>{t(!1);const o=a.status?parseInt(a.status,10):null;o&&o>=400?r():n(a.url||e)}),(()=>{t(!1),r()}))}))}},46867:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),a=n(9818),o=n(69307);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t&&t(e),n?window.open(e,"_blank"):window.top.location.href=e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const[n,s]=(0,o.useState)(!1),{isAutosaveablePost:l,isDirtyPost:c,currentPost:u}=(0,a.useSelect)((e=>{const t=e("core/editor");return{isAutosaveablePost:t.isEditedPostAutosaveable(),isDirtyPost:t.isEditedPostDirty(),currentPost:t.getCurrentPost()}}),[]),p=Object.keys(u).length>0,d=(0,a.useSelect)((e=>!!window.wp.customize||!!e("core/edit-widgets"))),m=(0,a.dispatch)("core/editor").savePost,h=(0,a.useSelect)((e=>e("core").__experimentalGetDirtyEntityRecords())),f=async()=>{for(let e=0;e<h.length;e++)await(0,a.dispatch)("core").saveEditedEntityRecord(h[e].kind,h[e].name,h[e].key)},g=async e=>{e.preventDefault(),p?c&&l&&await m(e):await f(e)},b=async r=>{r.preventDefault(),n||(s(!0),g(r).then((()=>{i(e,t,d)})))};return{autosave:g,autosaveAndRedirect:b,isRedirecting:n}}},78798:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(92819),a=n(13419),o=n(9818),i=n(92694),s=(n(87553),n(46867));const l="a8c.wpcom-block-editor.openCheckoutModal";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const{checkoutUrl:n,planData:c}=(0,o.useSelect)((t=>{const n=t("core/editor"),r=t("wordpress-com/plans"),{id:o,type:i}=n.getCurrentPost(),s=r&&r.getPlan(e);return{checkoutUrl:(0,a.Qq)({plan:s,planSlug:e,postId:o,postType:i}),planData:s}}),[]),{autosave:u,autosaveAndRedirect:p,isRedirecting:d}=(0,s.Z)(n,t),m=async e=>{if(e.preventDefault(),(0,i.hasAction)(l))return e.preventDefault(),u(e),void(0,i.doAction)(l,{products:[c]});p(e)};return[n,m,d,c]}},46185:function(e,t,n){"use strict";n.d(t,{U:function(){return a}});var r=n(9818);const a=async()=>new Promise((e=>{const t=(0,r.subscribe)((()=>{(0,r.select)("core/editor").isCleanNewPost()&&(t(),e());(0,r.select)("core/editor").getBlocks().length>0&&(t(),e())}))}))},97115:function(e,t,n){"use strict";n.d(t,{Vy:function(){return o},Wp:function(){return a},_5:function(){return i},tT:function(){return r}});const r="jetpack/media-source",a="is-playing",o="is-error",i="is-paused"},14688:function(e,t,n){"use strict";var r=n(9818),a=n(66858),o=n(97115);if(void 0!==r.createReduxStore){const e=(0,r.createReduxStore)(o.tT,a.Z);(0,r.register)(e)}else(0,r.registerStore)(o.tT,a.Z)},66858:function(e,t,n){"use strict";var r=n(97115);const a={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const n=Object.keys(e.sources);if(e.default?t=e.default:null!=n&&n.length&&(t=e.sources[n[0]].id),t)return e.sources[t]},getMediaPlayerState(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);return null==r?void 0:r.state},getMediaSourceCurrentTime(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);return null==r?void 0:r.currentTime},getMediaSourceDuration(e,t){var n,r;if(!t){const t=o.getDefaultMediaSource(e);return null==t?void 0:t.duration}return null===(n=e.sources)||void 0===n||null===(r=n[t])||void 0===r?void 0:r.duration},getMediaSourceDomReference(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);if(!r)return;const a=null==r?void 0:r.domId;return a?document.getElementById(a):void 0}},i={reducer(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,n=arguments.length>1?arguments[1]:void 0;const o=n.id||t.default||(null===(e=Object.keys(t.sources))||void 0===e?void 0:e[0]);switch(n.type){case"REGISTER_MEDIA_SOURCE":return{...t,sources:{...t.sources,[n.id]:{id:n.id,...n.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...t,sources:{...t.sources,[n.id]:{...t.sources[n.id],...n.data}}};case"UNREGISTER_MEDIA_SOURCE":{const e=Object.assign({},t);var i;if(e.sources[n.id]&&delete e.sources[n.id],n.id===t.default)e.default=null===(i=Object.keys(t.sources))||void 0===i?void 0:i[0];return e}case"SET_DEFAULT_MEDIA_SOURCE":return{...t,default:n.id};case"SET_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:n.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:t.sources[o].state===r.Wp?r._5:r.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...t,sources:{...t.sources,[o]:{...t.sources[o],currentTime:n.currentTime}}}}return t},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=i},6247:function(e,t,n){"use strict";n.r(t),n.d(t,{saveProduct:function(){return v},setApiState:function(){return h},setConnectUrl:function(){return m},setProducts:function(){return d},setShouldUpgrade:function(){return f},setSiteSlug:function(){return g},setUpgradeUrl:function(){return b}});var r=n(25607),a=n(86989),o=n.n(a),i=n(65736),s=n(23267),l=n(46529),c=n(79162),u=n(14436),p=n(51585);const __=i.__,d=e=>({type:"SET_PRODUCTS",products:e}),m=e=>({type:"SET_CONNECT_URL",connectUrl:e}),h=e=>({type:"SET_API_STATE",apiState:e}),f=e=>({type:"SET_SHOULD_UPGRADE",shouldUpgrade:e}),g=e=>({type:"SET_SITE_SLUG",siteSlug:e}),b=e=>({type:"SET_UPGRADE_URL",upgradeUrl:e}),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.Bn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{};return async u=>{let{dispatch:m,registry:h}=u;const{title:f,price:g,currency:b}=e;if(!f||0===f.length)return(0,l.q)((0,p.l)("product requires a name",t),h),void a(!1);const v=parseFloat(g),k=(0,c.hj)(b);if(v<k)return(0,l.q)((0,i.sprintf)(// translators: %s: Price
+__("Minimum allowed price is %s.","jetpack"),(0,r.ZP)(k,b)),h),void a(!1);if(!(0,c.vs)(b,v))return(0,l.q)((0,p.l)("product requires a valid price",t),h),void a(!1);try{const r=await o()({path:"/wpcom/v2/memberships/product",method:"POST",data:e}),i={id:r.id,title:r.title,interval:r.interval,price:r.price,currency:r.currency},c=h.select(s.G4).getProducts();m(d(c.concat([i]))),n(i.id),(0,l.w)((0,p.l)("successfully created product",t),h),a(!0)}catch(e){(0,l.q)((0,p.l)("there was an error when adding the product",t),h),a(!1)}}}},23267:function(e,t,n){"use strict";n.d(t,{G4:function(){return r},P:function(){return i},cH:function(){return o},lp:function(){return a}});const r="jetpack/membership-products",a=0,o=1,i=2},7652:function(e,t,n){"use strict";n.d(t,{h:function(){return c}});var r=n(9818),a=n(6247),o=n(93100),i=n(20360),s=n(93245),l=n(23267);const c=(0,r.createReduxStore)(l.G4,{actions:a,reducer:o.Z,resolvers:i,selectors:s,__experimentalUseThunks:!0});(0,r.register)(c)},93100:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={products:[],apiState:n(23267).lp,connectUrl:null,shouldUpgrade:!1,siteSlug:"",upgradeUrl:null};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PRODUCTS":return{...e,products:t.products};case"SET_CONNECT_URL":return{...e,connectUrl:t.connectUrl};case"SET_API_STATE":return{...e,apiState:t.apiState};case"SET_SHOULD_UPGRADE":return{...e,shouldUpgrade:t.shouldUpgrade};case"SET_SITE_SLUG":return{...e,siteSlug:t.siteSlug};case"SET_UPGRADE_URL":return{...e,upgradeUrl:t.upgradeUrl}}return e}},20360:function(e,t,n){"use strict";n.r(t),n.d(t,{getProducts:function(){return E}});var r=n(86989),a=n.n(r),o=n(12238),i=n(96483),s=n(6247),l=n(46529),c=n(23267),u=n(74251),p=n(14436),d=n(51585),m=n(73905);const h="membership-products-resolver-getProducts";let f=!1;const g=async()=>{var e,t;const n=(0,i.getQueryArg)(window.location.href,"origin"),r=(0,i.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===n?"gutenberg-wpcom":"gutenberg",type:"all",is_editable:!0}),o=await a()({path:r,method:"GET"});if(!o&&"object"!=typeof o)throw new Error("Unexpected API response");const s=(null==o?void 0:o.errors)&&(null===(e=Object.values(o.errors))||void 0===e||null===(t=e[0])||void 0===t?void 0:t[0]);if(s)throw new Error(s);return o},b=(e,t,n)=>{const r=t.select(o.store).getCurrentPostId();n((0,s.setConnectUrl)((0,u.Z)(r,e.connect_url))),n((0,s.setShouldUpgrade)(e.should_upgrade_to_access_memberships)),n((0,s.setSiteSlug)(e.site_slug)),n((0,s.setUpgradeUrl)(e.upgrade_url)),n((0,s.setProducts)(e.products)),n((0,s.setApiState)(e.connected_account_id?c.cH:c.P))},v=async(e,t,n)=>{await n((0,s.saveProduct)({title:(0,d.l)("default new product title",e),currency:"USD",price:5,interval:"1 month"},e,t))},k=e=>!e.products.length&&!e.should_upgrade_to_access_memberships&&e.connected_account_id,y=(e,t,n)=>{var r;if(e)return;const a=null===(r=n.getProductsNoResolver()[0])||void 0===r?void 0:r.id;a&&t(a)},E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.Bn,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};return async r=>{let{dispatch:a,registry:o,select:i}=r;if(await m.Z.blockExecution(h),f)return void y(t,n,i);const u=m.Z.acquire(h);try{const r=await g();b(r,o,a),k(r)&&await v(e,n,a),y(t,n,i),f=!0}catch(e){a((0,s.setConnectUrl)(null)),a((0,s.setApiState)(c.P)),(0,l.q)(e.message,o)}m.Z.release(u)}}},93245:function(e,t,n){"use strict";n.r(t),n.d(t,{getApiState:function(){return a},getConnectUrl:function(){return o},getProduct:function(){return l},getProducts:function(){return i},getProductsNoResolver:function(){return s},getShouldUpgrade:function(){return c},getSiteSlug:function(){return u},getUpgradeUrl:function(){return p},isApiStateConnected:function(){return d},isApiStateLoading:function(){return m},isInvalidProduct:function(){return h}});var r=n(23267);const a=e=>e.apiState,o=e=>e.connectUrl,i=e=>e.products,s=e=>i(e),l=(e,t)=>i(e).find((e=>e.id===t)),c=e=>e.shouldUpgrade,u=e=>e.siteSlug,p=e=>!!c(e)&&e.upgradeUrl,d=e=>e.apiState===r.cH,m=e=>e.apiState===r.lp,h=(e,t)=>!!t&&!l(e,t)},46529:function(e,t,n){"use strict";n.d(t,{q:function(){return a},w:function(){return o}});var r=n(53961);const a=(e,t)=>t.dispatch(r.store).createErrorNotice(e,{type:"snackbar"}),o=(e,t)=>t.dispatch(r.store).createSuccessNotice(e,{type:"snackbar"})},43317:function(e,t,n){"use strict";n.d(t,{M:function(){return r},X:function(){return a}});const r={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 a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},25607:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});var r=n(43317),a=n(5375);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=(0,r.X)(t);if(!o||isNaN(e))return null;const{decimal:s,grouping:l,precision:c,symbol:u}={...o,...n},p=e<0?"-":"";let d=(0,a.Z)(Math.abs(e),c,s,l);return n.stripZeros&&(d=i(d,s)),`${p}${u}${d}`}function i(e,t){const n=new RegExp(`\\${t}0+$`);return e.replace(n,"")}},5375:function(e,t,n){"use strict";function r(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";const o=(e+"").replace(/[^0-9+\-Ee.]/g,""),i=isFinite(+o)?+o:0,s=isFinite(+t)?Math.abs(t):0,l=(s?r(i,s):""+Math.round(i)).split(".");return l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(l[1]||"").length<s&&(l[1]=l[1]||"",l[1]+=new Array(s-l[1].length+1).join("0")),l.join(n)}n.d(t,{Z:function(){return a}})},81530:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53184);function a(e){Object.assign(e,r.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},7211:function(e,t,n){"use strict";function r(){this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=e=>{e.source===this.windowInstance&&this.emit("message",e.data)}}(0,n(81530).Z)(r.prototype),r.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},r.prototype.getScreenCenterSpecs=function(e,t){const n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},r.prototype.isOpen=function(e){let t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},r.prototype.checkStatus=function(){for(const e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},r.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=r},39229:function(e,t,n){"use strict";var r=n(7211);t.Z=function(e,t){var n,a=new r.Z;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(function(){var e={};n&&n.keyring_id&&(e.keyring_id=Number(n.keyring_id),e.id_token=n.id_token,e.user=n.user),t(e)})),a.on("message",(function(e){return n=e}))}},79988:function(e,t,n){"use strict";var r=n(92819),a=n(25162),o=n.n(a),i=n(99196),s=n(21987),l=(n(59961),n(94362));const c=e=>e&&e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,""),u=(0,s.SL)((0,s.hs)(80),(0,s.KB)(80)),p=(0,s.SL)((0,s.hs)(200),(0,s.KB)(200));class d extends i.PureComponent{render(){const{url:e,type:t,title:n,description:a,image:o,author:i}=this.props;return(0,l.tZ)("div",{className:`facebook-preview facebook-preview__${t}`,children:(0,l.BX)("div",{className:"facebook-preview__content",children:[(0,l.tZ)("div",{className:"facebook-preview__image",children:o&&(0,l.tZ)("img",{alt:"Facebook Preview Thumbnail",src:o})}),(0,l.BX)("div",{className:"facebook-preview__body",children:[(0,l.tZ)("div",{className:"facebook-preview__url",children:(0,r.compact)([c(e),i]).join(" | ")}),(0,l.tZ)("div",{className:"facebook-preview__title",children:u(n||"")}),(0,l.tZ)("div",{className:"facebook-preview__description",children:p((0,s.ju)(a))})]})]})})}}d.propTypes={url:o().string,type:o().string,title:o().string,description:o().string,image:o().string,author:o().string},t.Z=d},21987:function(e,t,n){"use strict";n.d(t,{I$:function(){return o},KB:function(){return i},SL:function(){return s},hs:function(){return a},ju:function(){return l}});var r=n(92819);const a=e=>t=>t.length<=e&&t,o=(e,t)=>n=>{const r=n.slice(0,t),a=r.lastIndexOf(" ");return a>e&&a<t&&r.slice(0,a).concat("…")},i=e=>t=>t.slice(0,e).concat("…"),s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>(0,r.find)(t,(t=>!1!==t(e)))(e)},l=e=>e?e.replace(/(<([^>]+)>)/gi,""):""},27143:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(25162),a=n.n(r),o=n(21987),i=(n(18783),n(94362));const s=160,l=e=>{const t=e.replace(/^[^/]+[/]*/,"").split("/").join(" › ");return(0,o.SL)((0,o.hs)(68),(0,o.KB)(68))(t)},c=(0,o.SL)((0,o.hs)(63),(0,o.I$)(23,73),(0,o.KB)(63)),u=(0,o.SL)((0,o.hs)(s),(0,o.I$)(80,170),(0,o.KB)(s));function p(e){let{description:t,title:n,url:r}=e;return(0,i.tZ)("div",{className:"search-preview",children:(0,i.BX)("div",{className:"search-preview__display",children:[(0,i.BX)("div",{className:"search-preview__url",children:[l(r)," ▾"]}),(0,i.tZ)("div",{className:"search-preview__title",children:c(n)}),(0,i.tZ)("div",{className:"search-preview__description",children:u((0,o.ju)(t))})]})})}p.propTypes={title:a().string,url:a().string,description:a().string},p.defaultProps={title:"",url:"",description:""}},50149:function(e,t,n){"use strict";var r=n(25162),a=n.n(r),o=n(99196),i=n(43667),s=(n(58449),n(94362));class l extends o.PureComponent{render(){const e=this.props.tweets||[{text:"",media:[],card:{...this.props,type:"large_image_summary"===this.props.type?"summary_large_image":this.props.type},date:Date.now(),name:"Account Name",profileImage:"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:"@account"}];return(0,s.tZ)("div",{className:"twitter-preview",children:e&&e.map(((t,n)=>(0,s.tZ)(i.t,{isLast:n+1===e.length,...t},`twitter-preview__tweet-${n}`)))})}}l.propTypes={tweets:a().array},t.Z=l},43667:function(e,t,n){"use strict";n.d(t,{t:function(){return g}});var r=n(55609),a=n(65736),o=n(65235),i=n.n(o),s=n(76292),l=n.n(s),c=n(25162),u=n.n(c),p=n(99196),d=n(21987),m=(n(58449),n(94362));const __=a.__,h=e=>e.replace(/^[^/]+[/]*(www\.)?/,"").replace(/\/.*$/,""),f=(0,d.SL)((0,d.hs)(200),(0,d.KB)(200));class g extends p.PureComponent{renderSidebar(e,t){return(0,m.BX)("div",{className:"twitter-preview__sidebar",children:[(0,m.tZ)("div",{className:"twitter-preview__profile-image",children:(0,m.tZ)("img",{alt:__("Twitter profile image","jetpack"),src:e})}),!t&&(0,m.tZ)("div",{className:"twitter-preview__connector"})]})}renderHeader(e,t,n){return(0,m.BX)("div",{className:"twitter-preview__header",children:[(0,m.tZ)("span",{className:"twitter-preview__name",children:e}),(0,m.tZ)("span",{className:"twitter-preview__screen-name",children:t}),(0,m.tZ)("span",{className:"twitter-preview__date",children:l()(n).format("MMM D")})]})}renderText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).url||"",r=e.endsWith(n)?e.substr(0,e.lastIndexOf(n)):e,a=t.reduce(((e,t)=>e.replace(new RegExp("\\("+t+"\\)","g"),`(<a href="${t}">${t}</a>)`)),(0,d.ju)(r).replace(new RegExp("\\n","g"),"<br/>"));return(0,m.tZ)("div",{className:"twitter-preview__text",dangerouslySetInnerHTML:{__html:a}})}renderMedia(e){if(!e)return;const t=e.filter((e=>e.type.startsWith("image/")||e.type.startsWith("video/"))).filter(((e,t,n)=>0===t||!n[0].type.startsWith("video/")&&"image/gif"!==n[0].type&&(!e.type.startsWith("video/")&&"image/gif"!==e.type))).slice(0,4),n=t.length>0&&t[0].type.startsWith("video/"),r=i()(["twitter-preview__media","twitter-preview__media-children-"+t.length]);return 0!==t.length?(0,m.BX)("div",{className:r,children:[n&&t.map(((e,t)=>(0,m.BX)("video",{controls:!0,children:[(0,m.tZ)("source",{src:e.url,type:e.type})," "]},`twitter-preview__media-item-${t}`))),!n&&t.map(((e,t)=>(0,m.tZ)("img",{alt:e.alt,src:e.url},`twitter-preview__media-item-${t}`)))]}):void 0}renderQuoteTweet(e){if(e)return(0,m.BX)("div",{className:"twitter-preview__quote-tweet",children:[(0,m.tZ)(r.SandBox,{html:`<blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><a href="${e}"></a></blockquote>`,scripts:["https://platform.twitter.com/widgets.js"],title:"Embedded tweet",onFocus:this.hideOverlay}),(0,m.tZ)("div",{className:"twitter-preview__quote-tweet-overlay"})]})}renderCard(e){if(!e)return;const{description:t,image:n,title:r,type:a,url:o}=e,s=i()(`twitter-preview__card-${a}`,{"twitter-preview__card-has-image":!!n});return(0,m.tZ)("div",{className:"twitter-preview__card",children:(0,m.BX)("div",{className:s,children:[n&&(0,m.tZ)("img",{className:"twitter-preview__card-image",src:n,alt:""}),(0,m.BX)("div",{className:"twitter-preview__card-body",children:[(0,m.tZ)("div",{className:"twitter-preview__card-title",children:r}),(0,m.tZ)("div",{className:"twitter-preview__card-description",children:f((0,d.ju)(t))}),(0,m.BX)("div",{className:"twitter-preview__card-url",children:[(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.BX)("g",{children:[(0,m.tZ)("path",{d:"M11.96 14.945c-.067 0-.136-.01-.203-.027-1.13-.318-2.097-.986-2.795-1.932-.832-1.125-1.176-2.508-.968-3.893s.942-2.605 2.068-3.438l3.53-2.608c2.322-1.716 5.61-1.224 7.33 1.1.83 1.127 1.175 2.51.967 3.895s-.943 2.605-2.07 3.438l-1.48 1.094c-.333.246-.804.175-1.05-.158-.246-.334-.176-.804.158-1.05l1.48-1.095c.803-.592 1.327-1.463 1.476-2.45.148-.988-.098-1.975-.69-2.778-1.225-1.656-3.572-2.01-5.23-.784l-3.53 2.608c-.802.593-1.326 1.464-1.475 2.45-.15.99.097 1.975.69 2.778.498.675 1.187 1.15 1.992 1.377.4.114.633.528.52.928-.092.33-.394.547-.722.547z"}),(0,m.tZ)("path",{d:"M7.27 22.054c-1.61 0-3.197-.735-4.225-2.125-.832-1.127-1.176-2.51-.968-3.894s.943-2.605 2.07-3.438l1.478-1.094c.334-.245.805-.175 1.05.158s.177.804-.157 1.05l-1.48 1.095c-.803.593-1.326 1.464-1.475 2.45-.148.99.097 1.975.69 2.778 1.225 1.657 3.57 2.01 5.23.785l3.528-2.608c1.658-1.225 2.01-3.57.785-5.23-.498-.674-1.187-1.15-1.992-1.376-.4-.113-.633-.527-.52-.927.112-.4.528-.63.926-.522 1.13.318 2.096.986 2.794 1.932 1.717 2.324 1.224 5.612-1.1 7.33l-3.53 2.608c-.933.693-2.023 1.026-3.105 1.026z"})]})}),h(o||"")]})]})]})})}renderFooter(){return(0,m.BX)("div",{className:"twitter-preview__footer",children:[(0,m.tZ)("span",{className:"twitter-preview__icon-replies",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M14.046 2.242l-4.148-.01h-.002c-4.374 0-7.8 3.427-7.8 7.802 0 4.098 3.186 7.206 7.465 7.37v3.828c0 .108.044.286.12.403.142.225.384.347.632.347.138 0 .277-.038.402-.118.264-.168 6.473-4.14 8.088-5.506 1.902-1.61 3.04-3.97 3.043-6.312v-.017c-.006-4.367-3.43-7.787-7.8-7.788zm3.787 12.972c-1.134.96-4.862 3.405-6.772 4.643V16.67c0-.414-.335-.75-.75-.75h-.396c-3.66 0-6.318-2.476-6.318-5.886 0-3.534 2.768-6.302 6.3-6.302l4.147.01h.002c3.532 0 6.3 2.766 6.302 6.296-.003 1.91-.942 3.844-2.514 5.176z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-retweets",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M23.77 15.67c-.292-.293-.767-.293-1.06 0l-2.22 2.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414 0-.75.336-.75.75s.336.75.75.75h5.85c1.24 0 2.25 1.01 2.25 2.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06 0s-.294.768 0 1.06l3.5 3.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767 0-1.06zm-10.66 3.28H7.26c-1.24 0-2.25-1.01-2.25-2.25V6.46l2.22 2.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768 0-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06 0l-3.5 3.5c-.294.292-.294.767 0 1.06s.767.293 1.06 0l2.22-2.22V16.7c0 2.068 1.683 3.75 3.75 3.75h5.85c.414 0 .75-.336.75-.75s-.337-.75-.75-.75z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-likes",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-share",children:(0,m.BX)("svg",{viewBox:"0 0 24 24",children:[(0,m.tZ)("path",{d:"M17.53 7.47l-5-5c-.293-.293-.768-.293-1.06 0l-5 5c-.294.293-.294.768 0 1.06s.767.294 1.06 0l3.72-3.72V15c0 .414.336.75.75.75s.75-.336.75-.75V4.81l3.72 3.72c.146.147.338.22.53.22s.384-.072.53-.22c.293-.293.293-.767 0-1.06z"}),(0,m.tZ)("path",{d:"M19.708 21.944H4.292C3.028 21.944 2 20.916 2 19.652V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 .437.355.792.792.792h15.416c.437 0 .792-.355.792-.792V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 1.264-1.028 2.292-2.292 2.292z"})]})})]})}render(){const{isLast:e,profileImage:t,name:n,screenName:r,date:a,text:o,media:i,tweet:s,urls:l,card:c}=this.props;return(0,m.BX)("div",{className:"twitter-preview__container",children:[this.renderSidebar(t,e),(0,m.BX)("div",{className:"twitter-preview__main",children:[this.renderHeader(n,r,a),(0,m.BX)("div",{className:"twitter-preview__content",children:[this.renderText(o,l,c),this.renderMedia(i),this.renderQuoteTweet(s),this.renderCard(c)]}),this.renderFooter()]})]})}}g.propTypes={tweets:u().array,isLast:u().bool,profileImage:u().string,name:u().string,screenName:u().string,date:u().number,text:u().string,media:u().array,tweet:u().string,urls:u().array,card:u().object}},51128:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(62942)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},62942:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(73171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},60686:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(5728)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5728:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(73171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},99891:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-fullscreen",s,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M21 3v6h-2V6.41l-3.29 3.3-1.42-1.42L17.59 5H15V3zM3 3v6h2V6.41l3.29 3.3 1.42-1.42L6.41 5H9V3zm18 18v-6h-2v2.59l-3.29-3.29-1.41 1.41L17.59 19H15v2zM9 21v-2H6.41l3.29-3.29-1.41-1.42L5 17.59V15H3v6z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},73139:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-notice-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},89933:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-star",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.891 5.82 21l2.002-7.141L2 9.257l7.418-.304z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},60300:function(e,t,n){"use strict";n.r(t),n.d(t,{decode:function(){return b},encode:function(){return v},toASCII:function(){return y},toUnicode:function(){return k},ucs2decode:function(){return m},ucs2encode:function(){return h}});const r=2147483647,a=36,o=/^xn--/,i=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(l[e])}function d(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(s,".")).split("."),t).join(".");return r+a}function m(e){const t=[];let n=0;const r=e.length;for(;n<r;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t}const h=e=>String.fromCodePoint(...e),f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=a)e=c(e/35);return c(r+36*e/(e+38))},b=function(e){const t=[],n=e.length;let o=0,i=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let d=l>0?l+1:0;d<n;){let l=o;for(let t=1,i=a;;i+=a){d>=n&&p("invalid-input");const l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:a;(l>=a||l>c((r-o)/t))&&p("overflow"),o+=l*t;const m=i<=s?1:i>=s+26?26:i-s;if(l<m)break;const h=a-m;t>c(r/h)&&p("overflow"),t*=h}const m=t.length+1;s=g(o-l,m,0==l),c(o/m)>r-i&&p("overflow"),i+=c(o/m),o%=m,t.splice(o++,0,i)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let n=(e=m(e)).length,o=128,i=0,s=72;for(const n of e)n<128&&t.push(u(n));let l=t.length,d=l;for(l&&t.push("-");d<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const m=d+1;n-o>c((r-i)/m)&&p("overflow"),i+=(n-o)*m,o=n;for(const n of e)if(n<o&&++i>r&&p("overflow"),n==o){let e=i;for(let n=a;;n+=a){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const o=e-r,i=a-r;t.push(u(f(r+o%i,0))),e=c(o/i)}t.push(u(f(e,0))),s=g(i,m,d==l),i=0,++d}++i,++o}return t.join("")},k=function(e){return d(e,(function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e}))},y=function(e){return d(e,(function(e){return i.test(e)?"xn--"+v(e):e}))},E={version:"2.1.0",ucs2:{decode:m,encode:h},decode:b,encode:v,toASCII:y,toUnicode:k};t.default=E},40230:function(e,t,n){"use strict";const r=n(31259),a=n(22424),o=n(86785),i=n(68017);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?a(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const a="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!a&&c(n,e).includes(e.arrayFormatSeparator);n=o?c(n,e):n;const i=a||o?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const a=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!a)return void(r[t]=n?c(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>c(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const a of e.split("&")){if(""===a)continue;let[e,i]=o(t.decode?a.replace(/\+/g," "):a,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:c(i,t),n(c(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=m(n[e],t);else r[e]=m(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=u(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",a,"]"].join("")]:[...n,[l(t,e),"[",l(a,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:(a=null===a?"":a,0===r.length?[[l(n,e),t,l(a,e)].join("")]:[[r,l(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const o=Object.keys(a);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const a=e[n];return void 0===a?"":null===a?l(n,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":a.reduce(r(n),[]).join("&"):l(n,t)+"="+l(a,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=p(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query);let s=t.stringify(i,n);s&&(s=`?${s}`);let c=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c=`#${l(e.fragmentIdentifier,n)}`),`${r}${s}${c}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:i(o,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}},86785:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},31259:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},23427:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(75908),a=n(9106),o=n(85016),i=n(11662);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}var u=function(){function e(t){s(this,e),this._file=t,this.size=t.size}return c(e,[{key:"slice",value:function(e,t){if((0,o.Z)())return(0,i.Z)(this._file.slice(e,t));var n=this._file.slice(e,t);return Promise.resolve({value:n})}},{key:"close",value:function(){}}]),e}(),p=function(){function e(t,n){s(this,e),this._chunkSize=n,this._buffer=void 0,this._bufferOffset=0,this._reader=t,this._done=!1}return c(e,[{key:"slice",value:function(e,t){return e<this._bufferOffset?Promise.reject(new Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(e,t)}},{key:"_readUntilEnoughDataOrDone",value:function(e,t){var n=this,r=t<=this._bufferOffset+d(this._buffer);if(this._done||r){var a=this._getDataFromBuffer(e,t),o=null==a&&this._done;return Promise.resolve({value:a,done:o})}return this._reader.read().then((function(r){var a=r.value;return r.done?n._done=!0:void 0===n._buffer?n._buffer=a:n._buffer=function(e,t){if(e.concat)return e.concat(t);if(e instanceof Blob)return new Blob([e,t],{type:e.type});if(e.set){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}throw new Error("Unknown data type")}(n._buffer,a),n._readUntilEnoughDataOrDone(e,t)}))}},{key:"_getDataFromBuffer",value:function(e,t){e>this._bufferOffset&&(this._buffer=this._buffer.slice(e-this._bufferOffset),this._bufferOffset=e);var n=0===d(this._buffer);return this._done&&n?null:this._buffer.slice(0,t-e)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}]),e}();function d(e){return void 0===e?0:void 0!==e.size?e.size:e.length}var m=function(){function e(){s(this,e)}return c(e,[{key:"openFile",value:function(e,t){return(0,r.Z)()&&e&&void 0!==e.uri?(0,a.Z)(e.uri).then((function(e){return new u(e)})).catch((function(e){throw new Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(e))})):"function"==typeof e.slice&&void 0!==e.size?Promise.resolve(new u(e)):"function"==typeof e.read?(t=+t,isFinite(t)?Promise.resolve(new p(e,t)):Promise.reject(new Error("cannot create source for stream without a finite value for the `chunkSize` option"))):Promise.reject(new Error("source object may only be an instance of File, Blob, or Reader in this environment"))}}]),e}()},41264:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(75908);function a(e,t){return(0,r.Z)()?Promise.resolve(function(e,t){var n=e.exif?function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return t}(JSON.stringify(e.exif)):"noexif";return["tus-rn",e.name||"noname",e.size||"nosize",n,t.endpoint].join("/")}(e,t)):Promise.resolve(["tus-br",e.name,e.type,e.size,e.lastModified,t.endpoint].join("-"))}},56940:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}n.d(t,{Z:function(){return i}});var i=function(){function e(){r(this,e)}return o(e,[{key:"createRequest",value:function(e,t){return new s(e,t)}},{key:"getName",value:function(){return"XHRHttpStack"}}]),e}(),s=function(){function e(t,n){r(this,e),this._xhr=new XMLHttpRequest,this._xhr.open(t,n,!0),this._method=t,this._url=n,this._headers={}}return o(e,[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(e,t){this._xhr.setRequestHeader(e,t),this._headers[e]=t}},{key:"getHeader",value:function(e){return this._headers[e]}},{key:"setProgressHandler",value:function(e){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(t){t.lengthComputable&&e(t.loaded)})}},{key:"send",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new Promise((function(n,r){e._xhr.onload=function(){n(new l(e._xhr))},e._xhr.onerror=function(e){r(e)},e._xhr.send(t)}))}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}(),l=function(){function e(t){r(this,e),this._xhr=t}return o(e,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(e){return this._xhr.getResponseHeader(e)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}()},99537:function(e,t,n){"use strict";n.d(t,{gq:function(){return y}});var r=n(63620),a=n(85799),o=n(15866),i=n(56940),s=n(23427),l=n(41264);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(){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 f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=b({},r.Z.defaultOptions,{httpStack:new i.Z,fileReader:new s.Z,urlStorage:o.H?new o.n:new a.Z,fingerprint:l.Z}),y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,a,o,i=(t=s,function(){var e,n=f(t);if(h()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u(this,s),t=b({},k,{},t),i.call(this,e,t)}return n=s,o=[{key:"terminate",value:function(e,t,n){return t=b({},k,{},t),r.Z.terminate(e,t,n)}}],(a=null)&&p(n.prototype,a),o&&p(n,o),s}(r.Z),E=window,w=E.XMLHttpRequest,_=E.Blob;w&&_&&_.prototype.slice},85016:function(e,t){"use strict";t.Z=function(){return"undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)}},75908:function(e,t){"use strict";t.Z=function(){return"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()}},11662:function(e,t,n){"use strict";function r(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(){var e=new Uint8Array(r.result);t({value:e})},r.onerror=function(e){n(e)},r.readAsArrayBuffer(e)}))}n.d(t,{Z:function(){return r}})},9106:function(e,t,n){"use strict";function r(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.responseType="blob",r.onload=function(){var e=r.response;t(e)},r.onerror=function(e){n(e)},r.open("GET",e),r.send()}))}n.d(t,{Z:function(){return r}})},15866:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{H:function(){return i},n:function(){return s}});var a=!1;try{a="localStorage"in window;var o="tusSupport";localStorage.setItem(o,localStorage.getItem(o))}catch(e){if(e.code!==e.SECURITY_ERR&&e.code!==e.QUOTA_EXCEEDED_ERR)throw e;a=!1}var i=a,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,n=[{key:"findAllUploads",value:function(){var e=this._findEntries("tus::");return Promise.resolve(e)}},{key:"findUploadsByFingerprint",value:function(e){var t=this._findEntries("tus::".concat(e,"::"));return Promise.resolve(t)}},{key:"removeUpload",value:function(e){return localStorage.removeItem(e),Promise.resolve()}},{key:"addUpload",value:function(e,t){var n=Math.round(1e12*Math.random()),r="tus::".concat(e,"::").concat(n);return localStorage.setItem(r,JSON.stringify(t)),Promise.resolve(r)}},{key:"_findEntries",value:function(e){for(var t=[],n=0;n<localStorage.length;n++){var r=localStorage.key(n);if(0===r.indexOf(e))try{var a=JSON.parse(localStorage.getItem(r));a.urlStorageKey=r,t.push(a)}catch(e){}}return t}}],n&&r(t.prototype,n),a&&r(t,a),e}()},56971:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;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,r)}function r(){return i(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,e)},o(e)}function i(e,t,n){return i=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&l(a,n.prototype),a},i.apply(null,arguments)}function s(){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 l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(o,e);var t,n=(t=o,function(){var e,n=c(t);if(s()){var r=c(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function o(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(r(this,o),(t=n.call(this,e)).originalRequest=i,t.originalResponse=s,t.causingError=a,null!=a&&(e+=", caused by ".concat(a.toString())),null!=i){var l=i.getHeader("X-Request-ID")||"n/a",c=i.getMethod(),u=i.getURL(),p=s?s.getStatus():"n/a",d=s?s.getBody()||"":"n/a";e+=", originated from request (method: ".concat(c,", url: ").concat(u,", response code: ").concat(p,", response text: ").concat(d,", request id: ").concat(l,")")}return t.message=e,t}return o}(o(Error));t.Z=u},51336:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=!1;function a(e){r&&console.log(e)}},85799:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,(n=[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(e){return Promise.resolve([])}},{key:"removeUpload",value:function(e){return Promise.resolve()}},{key:"addUpload",value:function(e,t){return Promise.resolve(null)}}])&&r(t.prototype,n),a&&r(t,a),e}()},63620:function(e,t,n){"use strict";var r=n(84097),a=n(41294),o=n.n(a),i=n(56971),s=n(51336),l=n(98184);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var m={endpoint:null,uploadUrl:null,metadata:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,_onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:null,chunkSize:1/0,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null},h=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"resume"in n&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=n,this._urlStorage=this.options.urlStorage,this.file=t,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}var t,n,r;return t=e,n=[{key:"findPreviousUploads",value:function(){var e=this;return this.options.fingerprint(this.file,this.options).then((function(t){return e._urlStorage.findUploadsByFingerprint(t)}))}},{key:"resumeFromPreviousUpload",value:function(e){this.url=e.uploadUrl||null,this._parallelUploadUrls=e.parallelUploadUrls||null,this._urlStorageKey=e.urlStorageKey}},{key:"start",value:function(){var e=this,t=this.file;if(t)if(this.options.endpoint||this.options.uploadUrl){var n=this.options.retryDelays;null==n||"[object Array]"===Object.prototype.toString.call(n)?(this.options.parallelUploads>1&&["uploadUrl","uploadSize","uploadLengthDeferred"].forEach((function(t){e.options[t]&&e._emitError(new Error("tus: cannot use the ".concat(t," option when parallelUploads is enabled")))})),this.options.fingerprint(t,this.options).then((function(n){return null==n?(0,s.c)("No fingerprint was calculated meaning that the upload cannot be stored in the URL storage."):(0,s.c)("Calculated fingerprint: ".concat(n)),e._fingerprint=n,e._source?e._source:e.options.fileReader.openFile(t,e.options.chunkSize)})).then((function(t){e._source=t,e.options.parallelUploads>1||null!=e._parallelUploadUrls?e._startParallelUpload():e._startSingleUpload()})).catch((function(t){e._emitError(t)}))):this._emitError(new Error("tus: the `retryDelays` option must either be an array or null"))}else this._emitError(new Error("tus: neither an endpoint or an upload URL is provided"));else this._emitError(new Error("tus: no file or stream to upload provided"))}},{key:"_startParallelUpload",value:function(){var t=this,n=this._size=this._source.size,r=0;this._parallelUploads=[];var a=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,o=function(e,t,n){for(var r=Math.floor(e/t),a=[],o=0;o<t;o++)a.push({start:r*o,end:r*(o+1)});return a[t-1].end=e,n&&a.forEach((function(e,t){e.uploadUrl=n[t]||null})),a}(this._source.size,a,this._parallelUploadUrls);this._parallelUploadUrls=new Array(o.length);var i,l=o.map((function(a,i){var s=0;return t._source.slice(a.start,a.end).then((function(l){var c=l.value;return new Promise((function(l,p){var d=u({},t.options,{uploadUrl:a.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,metadata:{},headers:u({},t.options.headers,{"Upload-Concat":"partial"}),onSuccess:l,onError:p,onProgress:function(e){r=r-s+e,s=e,t._emitProgress(r,n)},_onUploadUrlAvailable:function(){t._parallelUploadUrls[i]=m.url,t._parallelUploadUrls.filter((function(e){return!!e})).length===o.length&&t._saveUploadInUrlStorage()}}),m=new e(c,d);m.start(),t._parallelUploads.push(m)}))}))}));Promise.all(l).then((function(){(i=t._openRequest("POST",t.options.endpoint)).setHeader("Upload-Concat","final;".concat(t._parallelUploadUrls.join(" ")));var e=f(t.options.metadata);return""!==e&&i.setHeader("Upload-Metadata",e),t._sendRequest(i,null)})).then((function(e){if(g(e.getStatus(),200)){var n=e.getHeader("Location");null!=n?(t.url=y(t.options.endpoint,n),(0,s.c)("Created upload at ".concat(t.url)),t._emitSuccess()):t._emitHttpError(i,e,"tus: invalid or missing Location header")}else t._emitHttpError(i,e,"tus: unexpected response while creating upload")})).catch((function(e){t._emitError(e)}))}},{key:"_startSingleUpload",value:function(){if(this.options.uploadLengthDeferred)this._size=null;else if(null!=this.options.uploadSize){if(this._size=+this.options.uploadSize,isNaN(this._size))return void this._emitError(new Error("tus: cannot convert `uploadSize` option into a number"))}else if(this._size=this._source.size,null==this._size)return void this._emitError(new Error("tus: cannot automatically derive upload's size from input and must be specified manually using the `uploadSize` option"));return this._aborted=!1,null!=this.url?((0,s.c)("Resuming upload from previous URL: ".concat(this.url)),void this._resumeUpload()):null!=this.options.uploadUrl?((0,s.c)("Resuming upload from provided URL: ".concat(this.options.url)),this.url=this.options.uploadUrl,void this._resumeUpload()):((0,s.c)("Creating a new upload"),void this._createUpload())}},{key:"abort",value:function(t){var n=this;if(arguments.length>1&&"function"==typeof arguments[1])throw new Error("tus: the abort function does not accept a callback since v2 anymore; please use the returned Promise instead");return null!=this._parallelUploads&&this._parallelUploads.forEach((function(e){e.abort(t)})),null!==this._req&&(this._req.abort(),this._source.close()),this._aborted=!0,null!=this._retryTimeout&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),t&&null!=this.url?e.terminate(this.url,this.options).then((function(){return n._removeFromUrlStorage()})):Promise.resolve()}},{key:"_emitHttpError",value:function(e,t,n,r){this._emitError(new i.Z(n,r,e,t))}},{key:"_emitError",value:function(e){var t=this;if(!this._aborted){if(null!=this.options.retryDelays&&(null!=this._offset&&this._offset>this._offsetBeforeRetry&&(this._retryAttempt=0),k(e,this._retryAttempt,this.options))){var n=this.options.retryDelays[this._retryAttempt++];return this._offsetBeforeRetry=this._offset,void(this._retryTimeout=setTimeout((function(){t.start()}),n))}if("function"!=typeof this.options.onError)throw e;this.options.onError(e)}}},{key:"_emitSuccess",value:function(){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),"function"==typeof this.options.onSuccess&&this.options.onSuccess()}},{key:"_emitProgress",value:function(e,t){"function"==typeof this.options.onProgress&&this.options.onProgress(e,t)}},{key:"_emitChunkComplete",value:function(e,t,n){"function"==typeof this.options.onChunkComplete&&this.options.onChunkComplete(e,t,n)}},{key:"_createUpload",value:function(){var e=this;if(this.options.endpoint){var t=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?t.setHeader("Upload-Defer-Length",1):t.setHeader("Upload-Length",this._size);var n,r=f(this.options.metadata);""!==r&&t.setHeader("Upload-Metadata",r),this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,n=this._addChunkToRequest(t)):n=this._sendRequest(t,null),n.then((function(n){if(g(n.getStatus(),200)){var r=n.getHeader("Location");if(null!=r){if(e.url=y(e.options.endpoint,r),(0,s.c)("Created upload at ".concat(e.url)),"function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),0===e._size)return e._emitSuccess(),void e._source.close();e._saveUploadInUrlStorage(),e.options.uploadDataDuringCreation?e._handleUploadResponse(t,n):(e._offset=0,e._performUpload())}else e._emitHttpError(t,n,"tus: invalid or missing Location header")}else e._emitHttpError(t,n,"tus: unexpected response while creating upload")})).catch((function(n){e._emitHttpError(t,null,"tus: failed to create upload",n)}))}else this._emitError(new Error("tus: unable to create upload because no endpoint is provided"))}},{key:"_resumeUpload",value:function(){var e=this,t=this._openRequest("HEAD",this.url);this._sendRequest(t,null).then((function(n){var r=n.getStatus();if(!g(r,200))return g(r,400)&&e._removeFromUrlStorage(),423===r?void e._emitHttpError(t,n,"tus: upload is currently locked; retry later"):e.options.endpoint?(e.url=null,void e._createUpload()):void e._emitHttpError(t,n,"tus: unable to resume upload (new upload cannot be created without an endpoint)");var a=parseInt(n.getHeader("Upload-Offset"),10);if(isNaN(a))e._emitHttpError(t,n,"tus: invalid or missing offset value");else{var o=parseInt(n.getHeader("Upload-Length"),10);if(!isNaN(o)||e.options.uploadLengthDeferred){if("function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),a===o)return e._emitProgress(o,o),void e._emitSuccess();e._offset=a,e._performUpload()}else e._emitHttpError(t,n,"tus: invalid or missing length value")}})).catch((function(n){e._emitHttpError(t,null,"tus: failed to resume upload",n)}))}},{key:"_performUpload",value:function(){var e,t=this;this._aborted||(this.options.overridePatchMethod?(e=this._openRequest("POST",this.url)).setHeader("X-HTTP-Method-Override","PATCH"):e=this._openRequest("PATCH",this.url),e.setHeader("Upload-Offset",this._offset),this._addChunkToRequest(e).then((function(n){g(n.getStatus(),200)?t._handleUploadResponse(e,n):t._emitHttpError(e,n,"tus: unexpected response while uploading chunk")})).catch((function(n){t._aborted||t._emitHttpError(e,null,"tus: failed to upload chunk at offset ".concat(t._offset),n)})))}},{key:"_addChunkToRequest",value:function(e){var t=this,n=this._offset,r=this._offset+this.options.chunkSize;return e.setProgressHandler((function(e){t._emitProgress(n+e,t._size)})),e.setHeader("Content-Type","application/offset+octet-stream"),(r===1/0||r>this._size)&&!this.options.uploadLengthDeferred&&(r=this._size),this._source.slice(n,r).then((function(n){var r=n.value,a=n.done;return t.options.uploadLengthDeferred&&a&&(t._size=t._offset+(r&&r.size?r.size:0),e.setHeader("Upload-Length",t._size)),null===r?t._sendRequest(e):(t._emitProgress(t._offset,t._size),t._sendRequest(e,r))}))}},{key:"_handleUploadResponse",value:function(e,t){var n=parseInt(t.getHeader("Upload-Offset"),10);if(isNaN(n))this._emitHttpError(e,t,"tus: invalid or missing offset value");else{if(this._emitProgress(n,this._size),this._emitChunkComplete(n-this._offset,n,this._size),this._offset=n,n==this._size)return this._emitSuccess(),void this._source.close();this._performUpload()}}},{key:"_openRequest",value:function(e,t){var n=b(e,t,this.options);return this._req=n,n}},{key:"_removeFromUrlStorage",value:function(){var e=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch((function(t){e._emitError(t)})),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var e=this;if(this.options.storeFingerprintForResuming&&this._fingerprint){var t={size:this._size,metadata:this.options.metadata,creationTime:(new Date).toString()};this._parallelUploads?t.parallelUploadUrls=this._parallelUploadUrls:t.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,t).then((function(t){return e._urlStorageKey=t})).catch((function(t){e._emitError(t)}))}}},{key:"_sendRequest",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return v(e,t,this.options)}}],r=[{key:"terminate",value:function(t,n){if(arguments.length>1&&"function"==typeof arguments[arguments.length-1])throw new Error("tus: the terminate function does not accept a callback since v2 anymore; please use the returned Promise instead");void 0===n&&(n={});var r=b("DELETE",t,n);return v(r,null,n).then((function(e){if(204!==e.getStatus())throw new i.Z("tus: unexpected response while terminating upload",null,r,e)})).catch((function(a){if(a instanceof i.Z||(a=new i.Z("tus: failed to terminate upload",a,r,null)),!k(a,0,n))throw a;var o=n.retryDelays[0],s=n.retryDelays.slice(1),l=u({},n,{retryDelays:s});return new Promise((function(e){return setTimeout(e,o)})).then((function(){return e.terminate(t,l)}))}))}}],n&&d(t.prototype,n),r&&d(t,r),e}();function f(e){var t=[];for(var n in e)t.push("".concat(n," ").concat(r.Base64.encode(e[n])));return t.join(",")}function g(e,t){return e>=t&&e<t+100}function b(e,t,n){var r=n.httpStack.createRequest(e,t);r.setHeader("Tus-Resumable","1.0.0");var a=n.headers||{};for(var o in a)r.setHeader(o,a[o]);if(n.addRequestId){var i=(0,l.Z)();r.setHeader("X-Request-ID",i)}return r}function v(e,t,n){return("function"==typeof n.onBeforeRequest?Promise.resolve(n.onBeforeRequest(e)):Promise.resolve()).then((function(){return e.send(t).then((function(t){return("function"==typeof n.onAfterResponse?Promise.resolve(n.onAfterResponse(e,t)):Promise.resolve()).then((function(){return t}))}))}))}function k(e,t,n){if(null==n.retryDelays||t>=n.retryDelays.length||null==e.originalRequest)return!1;if(n&&"function"==typeof n.onShouldRetry)return n.onShouldRetry(e,t,n);var r,a=e.originalResponse?e.originalResponse.getStatus():0;return(!g(a,400)||409===a||423===a)&&(r=!0,"undefined"!=typeof window&&"navigator"in window&&!1===window.navigator.onLine&&(r=!1),r)}function y(e,t){return new(o())(t,e).toString()}h.defaultOptions=m,t.Z=h},98184:function(e,t,n){"use strict";function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}n.d(t,{Z:function(){return r}})},19590:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},20994:function(e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},95162:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},59939:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},84353:function(e,t,n){"use strict";t.Any=n(44957),t.Cc=n(19590),t.Cf=n(20994),t.P=n(95162),t.Z=n(59939)},44957:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},41294:function(e,t,n){"use strict";var r=n(82298),a=n(40142),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function p(e){return(e||"").toString().replace(o,"")}var d=[["#","hash"],["?","query"],function(e,t){return f(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],m={hash:1,query:1};function h(e){var t,n=("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).location||{},r={},a=typeof(e=e||n);if("blob:"===e.protocol)r=new b(unescape(e.pathname),{});else if("string"===a)for(t in r=new b(e,{}),m)delete r[t];else if("object"===a){for(t in e)t in m||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=s.test(e.href))}return r}function f(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=p(e)).replace(i,""),t=t||{};var n,r=c.exec(e),a=r[1]?r[1].toLowerCase():"",o=!!r[2],s=!!r[3],l=0;return o?s?(n=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(n=r[2]+r[4],l=r[2].length):s?(n=r[3]+r[4],l=r[3].length):n=r[4],"file:"===a?l>=2&&(n=n.slice(2)):f(a)?n=r[4]:a?o&&(n=n.slice(2)):l>=2&&f(t.protocol)&&(n=r[4]),{protocol:a,slashes:o||f(a),slashesCount:l,rest:n}}function b(e,t,n){if(e=(e=p(e)).replace(i,""),!(this instanceof b))return new b(e,t,n);var o,s,l,c,m,v,k=d.slice(),y=typeof t,E=this,w=0;for("object"!==y&&"string"!==y&&(n=t,t=null),n&&"function"!=typeof n&&(n=a.parse),o=!(s=g(e||"",t=h(t))).protocol&&!s.slashes,E.slashes=s.slashes||o&&t.slashes,E.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||u.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!f(E.protocol)))&&(k[3]=[/(.*)/,"pathname"]);w<k.length;w++)"function"!=typeof(c=k[w])?(l=c[0],v=c[1],l!=l?E[v]=e:"string"==typeof l?~(m="@"===l?e.lastIndexOf(l):e.indexOf(l))&&("number"==typeof c[2]?(E[v]=e.slice(0,m),e=e.slice(m+c[2])):(E[v]=e.slice(m),e=e.slice(0,m))):(m=l.exec(e))&&(E[v]=m[1],e=e.slice(0,m.index)),E[v]=E[v]||o&&c[3]&&t[v]||"",c[4]&&(E[v]=E[v].toLowerCase())):e=c(e,E);n&&(E.query=n(E.query)),o&&t.slashes&&"/"!==E.pathname.charAt(0)&&(""!==E.pathname||""!==t.pathname)&&(E.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,a=n[r-1],o=!1,i=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),i++):i&&(0===r&&(o=!0),n.splice(r,1),i--);return o&&n.unshift(""),"."!==a&&".."!==a||n.push(""),n.join("/")}(E.pathname,t.pathname)),"/"!==E.pathname.charAt(0)&&f(E.protocol)&&(E.pathname="/"+E.pathname),r(E.port,E.protocol)||(E.host=E.hostname,E.port=""),E.username=E.password="",E.auth&&(~(m=E.auth.indexOf(":"))?(E.username=E.auth.slice(0,m),E.username=encodeURIComponent(decodeURIComponent(E.username)),E.password=E.auth.slice(m+1),E.password=encodeURIComponent(decodeURIComponent(E.password))):E.username=encodeURIComponent(decodeURIComponent(E.auth)),E.auth=E.password?E.username+":"+E.password:E.username),E.origin="file:"!==E.protocol&&f(E.protocol)&&E.host?E.protocol+"//"+E.host:"null",E.href=E.toString()}b.prototype={set:function(e,t,n){var o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||a.parse)(t)),o[e]=t;break;case"port":o[e]=t,r(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,l.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!n;break;case"pathname":case"hash":if(t){var i="pathname"===e?"/":"#";o[e]=t.charAt(0)!==i?i+t:t}else o[e]=t;break;case"username":case"password":o[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(o.username=t.slice(0,s),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(s+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var c=0;c<d.length;c++){var u=d[c];u[4]&&(o[u[1]]=o[u[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&f(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=a.stringify);var t,n=this,r=n.host,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var i=o+(n.protocol&&n.slashes||f(n.protocol)?"//":"");return n.username?(i+=n.username,n.password&&(i+=":"+n.password),i+="@"):n.password?(i+=":"+n.password,i+="@"):"file:"!==n.protocol&&f(n.protocol)&&!r&&"/"!==n.pathname&&(i+="@"),(":"===r[r.length-1]||l.test(n.hostname)&&!n.port)&&(r+=":"),i+=r+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},b.extractProtocol=g,b.location=h,b.trimLeft=p,b.qs=a,e.exports=b},76389:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},17811:function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,a=arguments.length;n<a;n++)t.push(arguments[n]);return t}function a(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,a=this.head;null!==a;)n.push(e.call(t,a.value,this)),a=a.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,a=this.tail;null!==a;)n.push(e.call(t,a.value,this)),a=a.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var a=0;null!==r;a++)n=e(n,r.value,a),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var a=this.length-1;null!==r;a--)n=e(n,r.value,a),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=0,o=this.head;null!==o&&a<e;a++)o=o.next;for(;null!==o&&a<t;a++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=this.length,o=this.tail;null!==o&&a>t;a--)o=o.prev;for(;null!==o&&a>e;a--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var i=[];for(r=0;o&&r<t;r++)i.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=a(this,o,n[r]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(76389)(r)}catch(e){}},8964:function(e,t,n){"use strict";e.exports=n.p+"images/eventbrite-in-page-example-c351ec80e4dd5d39433d.png"},90767:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-after-d6db862c442c24ad1c63.png"},58632:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-before-4592b4656108c1429614.png"},96406:function(e,t,n){"use strict";e.exports=n.p+"images/map-preview-97bda80ebb6981457630.jpg"},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},23879:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-2x-62cd99bcc3acbd1ff504.png"},22323:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-a51d6c3207b0a904edb7.png"},60206:function(e,t,n){"use strict";e.exports=n.p+"images/simple-payments_example-1-0273eeccd8d120df4984.jpg"},65784:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-1-07a3f164621235df0419.jpg"},6425:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-2-2ee401e47066229bdac5.jpg"},85983:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-3-0682afca66c485f17ff6.jpg"},37447:function(e,t,n){"use strict";e.exports=n.p+"images/upgrade-illustration-5b3059f7101ac37f4339.svg"},15915:function(e,t,n){"use strict";e.exports=n.p+"images/story_example-1-716db2e4f5a074d302f7.png"},96606:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-1-d2817eb0e669267ab3eb.jpg"},85472:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-2-7d8f0cf8e262f0112691.jpg"},79009:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-3-07a3f164621235df0419.jpg"},10742:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-4-2ee401e47066229bdac5.jpg"},52642:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-5-a1935fd9cf1181168d90.jpg"},41145:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-6-9f9d39c6af0fb4b0d99c.jpg"},41194:function(e,t,n){"use strict";e.exports=n.p+"images/videopress-block-example-image-da9ef73787adca8896f2.jpg"},80405:function(e,t,n){"use strict";e.exports=n.p+"images/example_160x600-ccbc594f54431dafa70d.png"},72473:function(e,t,n){"use strict";e.exports=n.p+"images/example_300x250-5b93e8174f02d48c40b7.png"},38511:function(e,t,n){"use strict";e.exports=n.p+"images/example_320x50-7110edf045141630a222.png"},52203:function(e,t,n){"use strict";e.exports=n.p+"images/example_728x90-d9de384932330b92e1c3.png"},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},76292:function(e){"use strict";e.exports=window.moment},25158:function(e){"use strict";e.exports=window.wp.a11y},42998:function(e){"use strict";e.exports=window.wp.annotations},86989:function(e){"use strict";e.exports=window.wp.apiFetch},11313:function(e){"use strict";e.exports=window.wp.blob},52175:function(e){"use strict";e.exports=window.wp.blockEditor},4981:function(e){"use strict";e.exports=window.wp.blocks},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},37798:function(e){"use strict";e.exports=window.wp.coreData},9818:function(e){"use strict";e.exports=window.wp.data},69771:function(e){"use strict";e.exports=window.wp.date},47701:function(e){"use strict";e.exports=window.wp.domReady},72067:function(e){"use strict";e.exports=window.wp.editPost},12238:function(e){"use strict";e.exports=window.wp.editor},69307:function(e){"use strict";e.exports=window.wp.element},81975:function(e){"use strict";e.exports=window.wp.escapeHtml},92694:function(e){"use strict";e.exports=window.wp.hooks},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes},53961:function(e){"use strict";e.exports=window.wp.notices},98817:function(e){"use strict";e.exports=window.wp.plugins},70444:function(e){"use strict";e.exports=window.wp.primitives},72629:function(e){"use strict";e.exports=window.wp.richText},29512:function(e){"use strict";e.exports=window.wp.tokenList},96483:function(e){"use strict";e.exports=window.wp.url},90162:function(e){"use strict";e.exports=window.wp.viewport},6551:function(e){"use strict";e.exports=window.wp.widgets},42263:function(e,t,n){"use strict";n.d(t,{Ab:function(){return i},Fr:function(){return s},G$:function(){return o},K$:function(){return c},MS:function(){return r},h5:function(){return l},lK:function(){return u},uj:function(){return a}});var r="-ms-",a="-moz-",o="-webkit-",i="comm",s="rule",l="decl",c="@import",u="@keyframes"},17227:function(e,t,n){"use strict";n.d(t,{Ji:function(){return u},cD:function(){return c},qR:function(){return l}});var r=n(42263),a=n(52875),o=n(71253),i=n(70173),s=n(89430);function l(e){var t=(0,a.Ei)(e);return function(n,r,a,o){for(var i="",s=0;s<t;s++)i+=e[s](n,r,a,o)||"";return i}}function c(e){return function(t){t.root||(t=t.return)&&e(t)}}function u(e,t,n,l){if(e.length>-1&&!e.return)switch(e.type){case r.h5:e.return=(0,s.O)(e.value,e.length);break;case r.lK:return(0,i.q)([(0,o.JG)(e,{value:(0,a.gx)(e.value,"@","@"+r.G$)})],l);case r.Fr:if(e.length)return(0,a.$e)(e.props,(function(t){switch((0,a.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,i.q)([(0,o.JG)(e,{props:[(0,a.gx)(t,/:(read-\w+)/,":"+r.uj+"$1")]})],l);case"::placeholder":return(0,i.q)([(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+r.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+r.uj+"$1")]}),(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,r.MS+"input-$1")]})],l)}return""}))}}},24912:function(e,t,n){"use strict";n.d(t,{MY:function(){return i}});var r=n(42263),a=n(52875),o=n(71253);function i(e){return(0,o.cE)(s("",null,null,null,[""],e=(0,o.un)(e),0,[0],e))}function s(e,t,n,r,i,p,d,m,h){for(var f=0,g=0,b=d,v=0,k=0,y=0,E=1,w=1,_=1,C=0,j="",S=i,x=p,P=r,T=j;w;)switch(y=C,C=(0,o.lp)()){case 40:if(108!=y&&58==T.charCodeAt(b-1)){-1!=(0,a.Cw)(T+=(0,a.gx)((0,o.iF)(C),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:T+=(0,o.iF)(C);break;case 9:case 10:case 13:case 32:T+=(0,o.Qb)(y);break;case 92:T+=(0,o.kq)((0,o.Ud)()-1,7);continue;case 47:switch((0,o.fj)()){case 42:case 47:(0,a.R3)(c((0,o.q6)((0,o.lp)(),(0,o.Ud)()),t,n),h);break;default:T+="/"}break;case 123*E:m[f++]=(0,a.to)(T)*_;case 125*E:case 59:case 0:switch(C){case 0:case 125:w=0;case 59+g:k>0&&(0,a.to)(T)-b&&(0,a.R3)(k>32?u(T+";",r,n,b-1):u((0,a.gx)(T," ","")+";",r,n,b-2),h);break;case 59:T+=";";default:if((0,a.R3)(P=l(T,t,n,f,g,i,m,j,S=[],x=[],b),p),123===C)if(0===g)s(T,t,P,P,S,p,b,m,x);else switch(v){case 100:case 109:case 115:s(e,P,P,r&&(0,a.R3)(l(e,P,P,0,0,i,m,j,i,S=[],b),x),i,x,b,m,r?S:x);break;default:s(T,P,P,P,[""],x,0,m,x)}}f=g=k=0,E=_=1,j=T="",b=d;break;case 58:b=1+(0,a.to)(T),k=y;default:if(E<1)if(123==C)--E;else if(125==C&&0==E++&&125==(0,o.mp)())continue;switch(T+=(0,a.Dp)(C),C*E){case 38:_=g>0?1:(T+="\f",-1);break;case 44:m[f++]=((0,a.to)(T)-1)*_,_=1;break;case 64:45===(0,o.fj)()&&(T+=(0,o.iF)((0,o.lp)())),v=(0,o.fj)(),g=b=(0,a.to)(j=T+=(0,o.QU)((0,o.Ud)())),C++;break;case 45:45===y&&2==(0,a.to)(T)&&(E=0)}}return p}function l(e,t,n,i,s,l,c,u,p,d,m){for(var h=s-1,f=0===s?l:[""],g=(0,a.Ei)(f),b=0,v=0,k=0;b<i;++b)for(var y=0,E=(0,a.tb)(e,h+1,h=(0,a.Wn)(v=c[b])),w=e;y<g;++y)(w=(0,a.fy)(v>0?f[y]+" "+E:(0,a.gx)(E,/&\f/g,f[y])))&&(p[k++]=w);return(0,o.dH)(e,t,n,0===s?r.Fr:u,p,d,m)}function c(e,t,n){return(0,o.dH)(e,t,n,r.Ab,(0,a.Dp)((0,o.Tb)()),(0,a.tb)(e,2,-2),0)}function u(e,t,n,i){return(0,o.dH)(e,t,n,r.h5,(0,a.tb)(e,0,i),(0,a.tb)(e,i+1,-1),i)}},89430:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var r=n(42263),a=n(52875);function o(e,t){switch((0,a.vp)(e,t)){case 5103:return r.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return r.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r.G$+e+r.uj+e+r.MS+e+e;case 6828:case 4268:return r.G$+e+r.MS+e+e;case 6165:return r.G$+e+r.MS+"flex-"+e+e;case 5187:return r.G$+e+(0,a.gx)(e,/(\w+).+(:[^]+)/,r.G$+"box-$1$2"+r.MS+"flex-$1$2")+e;case 5443:return r.G$+e+r.MS+"flex-item-"+(0,a.gx)(e,/flex-|-self/,"")+e;case 4675:return r.G$+e+r.MS+"flex-line-pack"+(0,a.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return r.G$+e+r.MS+(0,a.gx)(e,"shrink","negative")+e;case 5292:return r.G$+e+r.MS+(0,a.gx)(e,"basis","preferred-size")+e;case 6060:return r.G$+"box-"+(0,a.gx)(e,"-grow","")+r.G$+e+r.MS+(0,a.gx)(e,"grow","positive")+e;case 4554:return r.G$+(0,a.gx)(e,/([^-])(transform)/g,"$1"+r.G$+"$2")+e;case 6187:return(0,a.gx)((0,a.gx)((0,a.gx)(e,/(zoom-|grab)/,r.G$+"$1"),/(image-set)/,r.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,a.gx)(e,/(image-set\([^]*)/,r.G$+"$1$`$1");case 4968:return(0,a.gx)((0,a.gx)(e,/(.+:)(flex-)?(.*)/,r.G$+"box-pack:$3"+r.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,a.gx)(e,/(.+)-inline(.+)/,r.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,a.to)(e)-1-t>6)switch((0,a.uO)(e,t+1)){case 109:if(45!==(0,a.uO)(e,t+4))break;case 102:return(0,a.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+r.G$+"$2-$3$1"+r.uj+(108==(0,a.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,a.Cw)(e,"stretch")?o((0,a.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,a.uO)(e,t+1))break;case 6444:switch((0,a.uO)(e,(0,a.to)(e)-3-(~(0,a.Cw)(e,"!important")&&10))){case 107:return(0,a.gx)(e,":",":"+r.G$)+e;case 101:return(0,a.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r.G$+(45===(0,a.uO)(e,14)?"inline-":"")+"box$3$1"+r.G$+"$2$3$1"+r.MS+"$2box$3")+e}break;case 5936:switch((0,a.uO)(e,t+11)){case 114:return r.G$+e+r.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r.G$+e+r.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r.G$+e+r.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r.G$+e+r.MS+e+e}return e}},70173:function(e,t,n){"use strict";n.d(t,{P:function(){return i},q:function(){return o}});var r=n(42263),a=n(52875);function o(e,t){for(var n="",r=(0,a.Ei)(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function i(e,t,n,i){switch(e.type){case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.lK:return e.return=e.value+"{"+o(e.children,i)+"}";case r.Fr:e.value=e.props.join(",")}return(0,a.to)(n=o(e.children,i))?e.return=e.value+"{"+n+"}":""}},71253:function(e,t,n){"use strict";n.d(t,{FK:function(){return s},JG:function(){return p},QU:function(){return S},Qb:function(){return w},Tb:function(){return d},Ud:function(){return g},cE:function(){return y},dH:function(){return u},fj:function(){return f},iF:function(){return E},kq:function(){return _},lp:function(){return h},mp:function(){return m},q6:function(){return j},r:function(){return v},tP:function(){return b},un:function(){return k}});var r=n(52875),a=1,o=1,i=0,s=0,l=0,c="";function u(e,t,n,r,i,s,l){return{value:e,root:t,parent:n,type:r,props:i,children:s,line:a,column:o,length:l,return:""}}function p(e,t){return(0,r.f0)(u("",null,null,"",null,null,0),e,{length:-e.length},t)}function d(){return l}function m(){return l=s>0?(0,r.uO)(c,--s):0,o--,10===l&&(o=1,a--),l}function h(){return l=s<i?(0,r.uO)(c,s++):0,o++,10===l&&(o=1,a++),l}function f(){return(0,r.uO)(c,s)}function g(){return s}function b(e,t){return(0,r.tb)(c,e,t)}function v(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function k(e){return a=o=1,i=(0,r.to)(c=e),s=0,[]}function y(e){return c="",e}function E(e){return(0,r.fy)(b(s-1,C(91===e?e+2:40===e?e+1:e)))}function w(e){for(;(l=f())&&l<33;)h();return v(e)>2||v(l)>3?"":" "}function _(e,t){for(;--t&&h()&&!(l<48||l>102||l>57&&l<65||l>70&&l<97););return b(e,g()+(t<6&&32==f()&&32==h()))}function C(e){for(;h();)switch(l){case e:return s;case 34:case 39:34!==e&&39!==e&&C(l);break;case 40:41===e&&C(e);break;case 92:h()}return s}function j(e,t){for(;h()&&e+l!==57&&(e+l!==84||47!==f()););return"/*"+b(t,s-1)+"*"+(0,r.Dp)(47===e?e:h())}function S(e){for(;!v(f());)h();return b(e,s)}},52875:function(e,t,n){"use strict";n.d(t,{$e:function(){return g},Cw:function(){return u},Dp:function(){return a},EQ:function(){return l},Ei:function(){return h},R3:function(){return f},Wn:function(){return r},f0:function(){return o},fy:function(){return s},gx:function(){return c},tb:function(){return d},to:function(){return m},uO:function(){return p},vp:function(){return i}});var r=Math.abs,a=String.fromCharCode,o=Object.assign;function i(e,t){return(((t<<2^p(e,0))<<2^p(e,1))<<2^p(e,2))<<2^p(e,3)}function s(e){return e.trim()}function l(e,t){return(e=t.exec(e))?e[0]:e}function c(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function m(e){return e.length}function h(e){return e.length}function f(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}},80550:function(e){"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')},84321:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},90059:function(e){"use strict";e.exports=JSON.parse('{"p":[{"slug":"participant-0","label":"Speaker 1"},{"slug":"participant-1","label":"Speaker 2"},{"slug":"participant-2","label":"Speaker 3"}]}')},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')},1949:function(e){"use strict";e.exports={Kc:["amazon"]}}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return i[e].call(n.exports,n,n.exports,l),n.exports}l.m=i,l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);l.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},l.d(a,o),a},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(t,n){return l.f[n](e,t),t}),[]))},l.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{302:"8477ea85482e6f10802f",390:"e97a60781e1543c44f3c"}[e]},l.miniCssF=function(e){return"swiper.css?minify=false&ver=eacdc1a03fc9a7e72e14"},function(){if(!l.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;l.miniCssF=(e=l.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",l.l=function(e,t,a,o){if(n[e])n[e].push(t);else{var i,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",r+a),i.src=e),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(m);var a=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((function(e){return e(r)})),t)return t(r)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.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(/\/[^\/]+$/,"/"),l.p=e}(),a=function(e){return new Promise((function(t,n){var r=l.miniCssF(e),a=l.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var a=(i=n[r]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(a===e||a===t))return i}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var i;if((a=(i=o[r]).getAttribute("data-href"))===e||a===t)return i}}(r,a))return t();!function(e,t,n,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(o){if(a.onerror=a.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode.removeChild(a),r(l)}},a.href=t,document.head.appendChild(a)}(e,a,t,n)}))},o={161:0,189:0,486:0},l.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=a(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={161:0,189:0,486:0};l.f.j=function(t,n){var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var a=new Promise((function(n,a){r=e[t]=[n,a]}));n.push(r[2]=a);var o=l.p+l.u(t),i=new Error;l.l(o,(function(n){if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,r[1](i)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,a,o=n[0],i=n[1],s=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(s)s(l)}for(t&&t(n);c<o.length;c++)a=o[c],l.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";l(80425),l(85921),l(63066),l(92713),l(54414),l(36215),l(31657),l(23984),l(14688),l(7652);var e=l(84069);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){const{userid:t,username:n}=window.Jetpack_Editor_Initial_State.tracksUserData;e.Z.initialize(t,n,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}}(),function(){"use strict";var e=l(31985),t=l(96405);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(77123);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(50785);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(6528);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(31985),t=l(64446);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(31985),t=l(29800);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(75334);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(92694),n=l(52175),r=l(55609),a=l(65736),o=l(13306);const __=a.__,i=t=>{if(t.isDeprecation)return t;if("core/embed"!==t.name)return t;const{edit:a}=t;return{...t,edit:(0,r.withNotices)((t=>{const{noticeOperations:i,noticeUI:s,onReplace:l}=t,{url:c}=t.attributes,{isGatheringStorm:u,unleashStorm:p}=(0,o.Z)({onReplace:l});return"twitter"!==t.attributes.providerNameSlug?(0,e.createElement)(a,t):(0,e.createElement)(e.Fragment,null,s,(0,e.createElement)(n.BlockControls,null,(0,e.createElement)(r.ToolbarGroup,{className:"gathering-tweetstorms__embed-toolbar"},(0,e.createElement)(r.ToolbarButton,{className:"gathering-tweetstorms__embed-toolbar-button",onClick:()=>p(c,i),label:__("Import the entire Twitter thread directly into this post.","jetpack"),showTooltip:!0,disabled:u||!c},__("Unroll","jetpack")),u&&(0,e.createElement)(r.ToolbarItem,{as:r.Spinner}))),(0,e.createElement)(a,t))}))}};(0,t.addFilter)("blocks.registerBlockType","jetpack/gathering-tweetstorms",i)}(),function(){"use strict";var e=l(31985),t=l(25073);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(13839);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(94039);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(78544);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(13419),t=l(64007);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(4495);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(85406);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(80723);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(69309);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(29719);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(66094);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(74989);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(71259);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(90362);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(56367);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(92882);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(30314);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(12012);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(17458),n=l(71290);(0,e.Z)(t.u2,t.Xd,[{name:n.u2,settings:n.Xd}])}(),function(){"use strict";var e=l(13419),t=l(8606);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(13419),t=l(3378);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(13419),t=l(44487);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(61390);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(19775);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e,t=l(69307),n=l(98817),r=l(13419),a=l(32078);(0,r.o_)(a.u2,a.Xd);!(null===(e=(0,r.OZ)("social-previews"))||void 0===e?void 0:e.available)&&(0,r.Wp)()&&(0,n.registerPlugin)(`jetpack-${a.u2}-upgrade-nudge`,{render:()=>(0,t.createElement)(a.w6,{showUpgradeNudge:!0})})}(),function(){"use strict";var e=l(31985),t=l(93688);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(31985),n=l(30217);(0,t.Z)(n.u2,n.Xd),(0,e.o_)(n.u2,n.eC)}(),function(){"use strict";var e=l(31985),t=l(99602);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(82402),t=l.n(e),n=l(69307),r=l(55609),a=l(11313),o=l(4981),i=l(12238),s=l(52175),c=l(92694),u=l(94333),p=l(65736),d=l(13419),m=l(92819),h=l(30053),f=l(23096),g=l(10723),b=l(29899),v=l(97504),k=l(34284),y=l(58351),E=l(41194);const __=p.__,w=(0,u.createHigherOrderComponent)((e=>a=>{const{name:o}=(0,s.useBlockEditContext)();return"core/video"!==o?(0,n.createElement)(e,a):(0,n.createElement)(e,t()({},a,{disableDropZone:!0,className:"no-videopress-media-placeholder"}),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",variant:"secondary"},__("Media Library","jetpack")),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",variant:"secondary"},__("Upload","jetpack")))}),"videoPressNoPlanMediaPlaceholder"),_=(0,u.createHigherOrderComponent)((e=>r=>{const{name:a}=(0,s.useBlockEditContext)();if("core/video"!==a)return(0,n.createElement)(e,r);const{onFilesSelected:o,onMediaItemSelected:i}=(0,n.useContext)(g.H),l={...r,handleUpload:!1,disableDropZone:!0,onSelect:e=>{e instanceof FileList?o(e):i(e)}};return(0,n.createElement)(e,t()({},l,{className:"videopress-media-placeholder"}))}),"videoPressMediaPlaceholder"),C=(e,t,n)=>{var r;return"core/video"!==t.name||!n.guid||(null===(r=n.className)||void 0===r?void 0:r.indexOf("wp-block-video"))>=0||n.videoPressClassNames||(e.className=e.className.replace("wp-block-video","").trim()),e};(0,c.addFilter)("blocks.registerBlockType","jetpack/videopress",((e,t)=>{if("core/embed"===t)return(e=>{if(!("variations"in e)||"object"!=typeof e.variations)return;const{available:t}=(0,d.OZ)("videopress");e.variations.some((e=>"videopress"===e.name&&(t&&(e.scope=[]),e.patterns.push(/^https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?$/i),!0)))})(e),e;if("core/video"!==t||e.isDeprecation)return e;const{deprecated:n,edit:r,save:s,supports:l,transforms:u}=e,{available:p,unavailableReason:g}=(0,d.OZ)("videopress"),j=((0,d.Wp)()||(0,d.Ug)())&&["missing_plan","unknown"].includes(g),S=!!window.videoPressResumableEnabled;if(j?((0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",w),(0,c.addFilter)("editor.BlockListBlock","jetpack/videopress-with-has-warning-is-interactive-class-names",(0,d.T)("core/video"))):p&&(S&&(0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",_),e.description=__("Embed a video from your media library or upload a new one with VideoPress.","jetpack"),e.example.attributes={caption:"",isVideoPressExample:!0,src:E}),(0,c.addFilter)("blocks.getSaveContent.extraProps","jetpack/videopress",C,20),p||["missing_plan","missing_module","unknown"].includes(g)){const t={autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},useAverageColor:{type:"boolean",default:!0},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"},fileForImmediateUpload:{type:"object",default:null}},c=/https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?/i;return{...e,attributes:t,transforms:{...u,from:[{type:"files",isMatch:e=>(0,m.every)(e,(e=>0===e.type.indexOf("video/"))),priority:9,transform:(e,t)=>{const n=[];return e.forEach((e=>{if(p&&S){const t=(0,o.createBlock)("core/video",{fileForImmediateUpload:e});n.push(t)}else{const r=(0,o.createBlock)("core/video",{src:(0,a.createBlobURL)(e)});(0,i.mediaUpload)({filesList:[e],onFileChange:e=>{let[{id:n,url:a}]=e;t(r.clientId,{id:n,src:a})},allowedTypes:["video"]}),n.push(r)}})),n}},{type:"raw",isMatch:e=>"P"===e.nodeName&&c.test(e.innerHTML),transform:e=>{const t=c.exec(e.innerHTML);return(0,o.createBlock)("core/embed",{url:"https://videopress.com/v/"+t[1].trim()})}}]},supports:{...l,reusable:!1},edit:(0,h.Z)(r),save:(0,f.Z)(s),deprecated:[...n||[],y.Z,k.Z,{attributes:t,isEligible:e=>!e.guid,save:s,supports:l,isDeprecation:!0},v.Z,b.Z]}}return e}),5)}(),function(){"use strict";var e=l(31985),t=l(57795);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(68007);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(30730);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(69307),t=l(92819),n=l(99196),r=l(9818),a=l(72067),o=l(61074),i=l(15381),s=l(65736),c=l(98817),u=l(55609),p=(l(53961),l(46185)),d=l(26881),m=l(84069);const __=s.__;async function h(e){var t;await(0,p.U)();const{insertBlocks:n}=(0,r.dispatch)("core/block-editor");let a;switch(e.tpl){case"spotifyBadge":a=(0,d.F)(e);break;case"basicEpisode":a=(0,d.J)(e)}null!==(t=a)&&void 0!==t&&t.length&&n(a,0,void 0,!1)}const f=()=>{(0,n.useEffect)((()=>{m.Z.tracks.recordEvent("jetpack_editor_block_anchor_fm_post_publish_impression")}),[]);const t=(0,n.useCallback)((()=>m.Z.tracks.recordEvent("jetpack_editor_block_anchor_fm_post_publish_click")),[]);return(0,e.createElement)(a.PluginPostPublishPanel,{className:"anchor-post-publish-outbound-link"},(0,e.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},(0,e.createElement)("strong",null,__("Convert to audio","jetpack"))),(0,e.createElement)("p",null,__("Seamlessly turn this post into a podcast episode with Anchor - and let readers listen to your post.","jetpack")),(0,e.createElement)("div",{role:"link",className:"post-publish-panel__postpublish-buttons",tabIndex:0,onClick:t,onKeyDown:t},(0,e.createElement)(u.Button,{variant:"primary",href:"https://anchor.fm/wordpressdotcom",target:"_top"},__("Create a podcast episode","jetpack")," ",(0,e.createElement)(o.Z,{icon:i.Z,className:"anchor-post-publish-outbound-link__external_icon"}))))};!function(){const e=window.Jetpack_AnchorFm;"object"==typeof e&&e.actions.forEach((e=>{const[n,a]=(0,t.castArray)(e);switch(n){case"insert-spotify-badge":h({...a,tpl:"spotifyBadge"});break;case"insert-episode-template":h({...a,tpl:"basicEpisode"});break;case"show-post-publish-outbound-link":(0,c.registerPlugin)("anchor-post-publish-outbound-link",{render:f});break;case"set-episode-title":!async function(e){let{title:t}=e;t&&(await(0,p.U)(),(0,r.dispatch)("core/editor").editPost({title:t}))}(a);break;case"create-episode-error-notice":o=a,(0,r.dispatch)("core/notices").createNotice("error",__("We couldn't find that episode in your feed. If you just published the episode, please try creating the post again in a few minutes.","jetpack"),{id:"episode-error-notice",actions:[{onClick(){window.location.href=o.retry_url},onKeyDown(){window.location.href=o.retry_url},label:__("Retry","jetpack")}]})}var o}))}()}(),function(){"use strict";var e=l(13419),t=l(98817),n=l(31985),r=l(50851),a=l(9160),o=l(52149),i=l(737),s=l(88430),c=l(83196);((0,e.Wp)()||(0,e.Ug)())&&(0,n.Z)(r.u,r.X,[{name:a.u,settings:a.X},{name:o.u,settings:o.X},{name:i.u,settings:i.X},{name:s.u,settings:s.X}],false),(0,t.registerPlugin)("block-settings-remove-block-keep-content",{render:c.Z})}(),function(){"use strict";var e=l(31985),t=l(24881);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(13010);(0,e.Z)(t.u2,t.Xd)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-experimental.js.LICENSE.txt b/plugins/jetpack/_inc/blocks/editor-experimental.js.LICENSE.txt
index f4234c69..8eb93824 100644
--- a/plugins/jetpack/_inc/blocks/editor-experimental.js.LICENSE.txt
+++ b/plugins/jetpack/_inc/blocks/editor-experimental.js.LICENSE.txt
@@ -18,10 +18,22 @@ object-assign
http://jedwatson.github.io/classnames
*/
-/*! https://mths.be/punycode v1.3.2 by @mathias */
+/*!
+ 2021 Jason Mulligan <jason.mulligan@avoidwork.com>
+ @version 8.0.6
+*/
+
+/** @license React v16.13.1
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
-/** @license React vundefined
- * use-subscription.production.min.js
+/** @license React v17.0.2
+ * react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
diff --git a/plugins/jetpack/_inc/blocks/editor-experimental.rtl.css b/plugins/jetpack/_inc/blocks/editor-experimental.rtl.css
index 36bf65d1..78c70097 100644
--- a/plugins/jetpack/_inc/blocks/editor-experimental.rtl.css
+++ b/plugins/jetpack/_inc/blocks/editor-experimental.rtl.css
@@ -1 +1 @@
-.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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);-o-object-fit:contain;object-fit:contain;position:absolute;right:8px;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;position:absolute;right:0;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:right;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 transparent}.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;padding:20px 0;position:fixed;position:sticky;right:0;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-left:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-left: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-right:1px solid #ccc;margin-right:16px;padding-right: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-left: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 0 9px 1px}@media only screen and (min-width:783px){.jetpack-external-media-header__account .jetpack-external-media-browser__disconnect{height:30px}}.jetpack-external-media-header__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-left:12px}.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.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;left:0;margin-top:-48px;padding:0;position:absolute;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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-left:8px}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-left: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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.paid-block-media-placeholder{width:100%}.wp-block-cover .paid-block-media-placeholder:not(:only-child){bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-left: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-left: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-left:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-left:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-left:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-left:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-left:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right;margin:3px 0 0 5px}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:right;margin:0 0 0 5px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-left:16px;padding:6px}.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-right: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 transparent;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:right}.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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-left:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;margin:0;padding:0;position:absolute;right:0;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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;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-left: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:right}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{right: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-left:12px}.components-placeholder.is-large .image-compare__image-after{padding-right: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-right:-20px;position:absolute;width:40px;z-index:15}.vertical div.jx-handle{cursor:row-resize;height:40px;margin-right: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 -3px auto auto;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:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}div.jx-arrow.jx-right{border-color:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;right:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;border-style:solid;border-width:8px 8px 0;bottom:2px;left:0;top:auto}div.jx-handle:active div.jx-arrow.jx-left,div.jx-handle:hover div.jx-arrow.jx-left{right:-1px}div.jx-handle:active div.jx-arrow.jx-right,div.jx-handle:hover div.jx-arrow.jx-right{left:-1px}.vertical div.jx-handle:active div.jx-arrow.jx-left,.vertical div.jx-handle:hover div.jx-arrow.jx-left{right: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;left:0}div.jx-image{display:inline-block;height:100%;overflow:hidden;position:absolute;top:0}.vertical div.jx-image{right: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:100%;right:0}div.jx-image.jx-left img{right:0}div.jx-image.jx-right{background-position:0;left:0}div.jx-image.jx-right img{bottom:0;left: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:rgba(0,0,0,.7);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:right;right:0}div.jx-image.jx-right div.jx-label{float:left;left:0}.vertical div.jx-image div.jx-label{display:table;position:absolute}.vertical div.jx-image.jx-right div.jx-label{bottom:0;right:0;top:auto}div.jx-image.transition{transition:width .5s ease}div.jx-handle.transition{transition:right .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-right:-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=);right:0}div.jx-arrow.jx-right{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEwLjYgNiA5LjQgN2w0LjYgNS00LjYgNSAxLjIgMSA1LjQtNnoiLz48L3N2Zz4=);left: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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-left: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{height:20px;width:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left: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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button: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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#2fb41f!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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.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-left: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}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;margin-right:-16px;margin-top:-19px;position:absolute;right:50%;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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:left;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-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.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 9px 5px 10px}.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-right:4px solid #000;margin-left:0;margin-right:0;padding-right: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-right:1.3em;padding-right: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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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 4px 0 0;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 0 .25em 1em}@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:0;padding-right:1em}.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:right}.wp-block>.wp-block-jetpack-opentable.is-style-wide.alignright{left:0;right:auto}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:right}.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:transparent;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{left:auto;margin-right:2rem;max-width:840px}.wp-block-jetpack-opentable.is-style-wide.alignright{max-width:840px;right:calc(100% - 840px - 2rem)}.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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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:18px;padding-right:15px}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-left: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:10px 22px 10px 24px;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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-right: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-right:59px}.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 0 0 2px;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-right: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}.jetpack-publicize__connections-list{list-style-type:none;margin:0;width:100%}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.publicize-jetpack-connection-container{display:flex}.publicize-jetpack-connection-container .components-disabled{width:100%}.jetpack-publicize-gutenberg-social-icon{margin-left:5px}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-bottom:13px;margin-left:0;margin-right:0}.jetpack-publicize-notice .components-button{height:auto;line-height:normal;padding-bottom:6px;padding-top:6px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.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-left: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-disabled .jetpack-publicize-toggle,.jetpack-publicize-disabled .jetpack-publicize__connections-list{opacity:.5}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 8px 0 0}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-right:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-right:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);position:absolute;right:-10px;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.jetpack-publicize-connection-label{align-items:center;display:flex}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-right:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled,.components-disabled .components-connection-toggle{opacity:.5}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.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 8px 0 24px}.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-left: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-left: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-left:10px solid transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{position:absolute;right:calc(50% - 12px);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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.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-left:.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:var(--muriel-hot-red-500);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-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right: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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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 56px 8px 16px;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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right:10px;width:105px}.jetpack-whatsapp-button__phonenumber .components-placeholder__label svg{margin-left:6px}.jetpack-whatsapp-error{display:inline-flex;margin-bottom:10px}.jetpack-whatsapp-error span,.jetpack-whatsapp-error svg{fill:red;color:red;vertical-align:middle}.jetpack-whatsapp-error svg{margin:-3px 0 0 5px}.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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-right:5px}.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-right: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;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;right:50%;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-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@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-right:1em}}.wp-block-jetpack-simple-payments{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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-left: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;left:0;padding:0 4px;pointer-events:none;position:absolute;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{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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left:auto;padding-top:0;position:relative}.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-jetpack-slideshow_slide .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-left:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-left:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-right:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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-right: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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:right;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 0 -4px 2px;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-left:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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-right: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:"✓";position:absolute;right:-20px}@media(min-width:600px){.jetpack-social-previews__modal-upgrade{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{grid-column:2;grid-row:1;max-width:100%;padding-left: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-right:0}}@media(min-width:782px){.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{padding:0 2em 2em}}.jetpack-gutenberg-social-icons{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-gutenberg-social-icon.jetpack-social-previews__icon{fill:currentColor;margin-left:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;position:absolute;right:3px;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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-left-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:rgba(0,0,0,.5);border-radius:5px;color:#fff;display:flex;left:0;margin:15px;padding:5px 3px;position:absolute;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-expand svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span,.wp-story-container .wp-story-overlay .wp-story-embed-icon 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:transparent}.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:hsla(0,0%,100%,.4)}.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{margin:auto;right:-84px}.wp-story-container .wp-story-next-slide{left:-84px;margin:auto}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-next-slide{left:-48px;margin:auto}.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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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 0 0 16px;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 0 0 12px;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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-right: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{right:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{left: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-right:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-left: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:100%;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:#0e1112e0;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-left: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:transparent;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:transparent;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}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;left:0;margin:0;position:absolute}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{right:0}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-right: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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:rgba(243,106,188,.3);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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);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%;pointer-events:none;position:absolute;right:0;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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{position:absolute;right:-2px;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{margin:0;position:absolute;right:50%;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}.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-left: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 12px 4px 0;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-left: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-right: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}[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}.anchor-post-publish-outbound-link .anchor-post-publish-outbound-link__external_icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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 -1px 0 0;padding:8px 14px;position:relative}.wp-block-premium-content-container--tab{align-items:center;background:transparent;border:none;display:flex;flex-direction:row;margin-left:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-right:auto}.premium-content-wrapper{margin:0}.premium-content-block-nudge .editor-warning{margin-bottom:0}.premium-content-block-nudge .editor-warning__message{margin:13px 0}.premium-content-block-nudge .editor-warning__actions{line-height:1}.premium-content-block-nudge .premium-content-block-nudge__info{display:flex;flex-direction:row;font-size:13px;line-height:1.4}.premium-content-block-nudge .premium-content-block-nudge__text-container{display:flex;flex-direction:column;padding-right:10px}.premium-content-block-nudge .premium-content-block-nudge__title{font-size:14px}.premium-content-block-nudge__message{color:#646970}.editor-styles-wrapper a.premium-content-block-nudge__button{color:#0075af;text-decoration:none}.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-premium-content-container---settings-add_plan .components-panel__row.plan-interval .components-base-control,.wp-block-premium-content-container---settings-add_plan .components-panel__row.plan-name .components-base-control{width:100%}.wp-block-premium-content-container---settings-add_plan .components-panel__row.plan-price .components-base-control{margin:0;width:45%}.wp-block-premium-content-container---settings-add_plan .components-panel__row:last-child{margin-top:25px}.wp-block-premium-content-container---settings-add_plan .components-base-control:last-child{margin:0}.wp-block-premium-content-container---link-to-earn{display:block;margin:16px}.premium-content-toolbar-button .components-dropdown-menu__toggle:after{border-color:transparent transparent currentcolor currentcolor;border-style:solid;border-width:4px;bottom:1px;content:"";display:block;left:0;position:absolute}.connect-stripe.has-icon.has-text svg{margin-left:0}.connect-stripe.has-icon.has-text{font-weight:400}.wp-block-buttons .wp-block[data-type="jetpack/recurring-payments"]{display:inline-block;margin:0 0 0 .5em}.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 .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}.wp-block-jetpack-conversation__participant{display:flex;height:30px;line-height:30px}.wp-block-jetpack-conversation__participant-label{flex-grow:2}.wp-block-jetpack-conversation__placeholder,.wp-block-jetpack-dialogue__timestamp-controls{display:flex}.wp-block-jetpack-dialogue__timestamp-controls .components-number-control{min-width:60px}.wp-block-jetpack-dialogue__timestamp-button{margin-right:6px}.wp-block-jetpack-dialogue__timestamp-control__hour,.wp-block-jetpack-dialogue__timestamp-control__minute{margin-left:5px}.wp-block-jetpack-dialogue__timestamp-control__play-button{align-self:flex-end;margin-right:10px}.wp-block-jetpack-dialogue__timestamp-content .wp-block-jetpack-dialogue__timestamp-container{min-width:290px}.wp-block-jetpack-dialogue__timestamp-range-control{margin-left:16px;margin-top:8px}.wp-block-jetpack-dialogue__timestamp-dropdown{min-width:90px}.wp-block-jetpack-dialogue__participant.is-participant-adding,.wp-block-jetpack-dialogue__participant.is-participant-editing{opacity:.7}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta.has-not-media-source>div{width:100%}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta .wp-block-jetpack-dialogue__participant{min-width:50px}.media-player-control__current-time{align-items:center;display:flex;font-size:14px;min-width:55px;padding:0 5px 0 12px}.media-player-control__current-time.is-disabled{color:#757575;cursor:default}.wp-block-jetpack-dialogue__timestamp-player{display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px}.wp-block-jetpack-dialogue__timestamp-player button{padding:0}.media-player-control__toolbar .components-toolbar-button .dashicons{margin:0}.wp-block-jetpack-dialogue{margin-bottom:20px;margin-top:20px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{align-items:center;display:flex;flex-direction:row;min-height:38px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{color:inherit;font-size:inherit;line-height:17px;line-height:var(--global--line-height-body);overflow-wrap:anywhere;padding:0}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-label{color:inherit;font-size:16px;margin-left:0;margin-right:5px;padding:6px 12px;text-align:left;white-space:nowrap}.wp-block-jetpack-dialogue__participant{height:auto;line-height:1.2;padding:3px 0}.wp-block-jetpack-dialogue__participant.has-bold-style{font-weight:700}.wp-block-jetpack-dialogue__participant.has-italic-style{font-style:italic}.wp-block-jetpack-dialogue__participant.has-uppercase-style{text-transform:uppercase}.block-editor-block-list__block .wp-block-jetpack-dialogue__content{margin:0 0 1em}@media(min-width:600px){.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue{display:flex}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{display:block;flex:0 0 25%;text-align:left}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{margin-left:12px}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .components-dropdown,.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-dropdown{display:block}}body.no-media-source .wp-block-jetpack-dialogue__timestamp-label{display:none} \ 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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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);-o-object-fit:contain;object-fit:contain;position:absolute;right:8px;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;position:absolute;right:0;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:right;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 transparent}.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;padding:20px 0;position:fixed;position:sticky;right:0;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-left:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-left: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-right:1px solid #ccc;margin-right:16px;padding-right: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-left: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 0 9px 1px}@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-left: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;left:0;margin-top:-48px;padding:0;position:absolute;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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-left:8px}.editor-post-featured-image .components-dropdown{display:initial}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-left: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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.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:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-left: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-left: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-left:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-left:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-left:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-left:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-left:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right;margin:3px 0 0 5px}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:right;margin:0 0 0 5px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-left:16px;padding:6px}.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-right: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 transparent;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:right}.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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-left:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;margin:0;padding:0;position:absolute;right:0;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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;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-left: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:right}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{right: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-left:12px}.components-placeholder.is-large .image-compare__image-after{padding-right: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-right:-20px;position:absolute;width:40px;z-index:15}.vertical div.jx-handle{cursor:row-resize;height:40px;margin-right: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 -3px auto auto;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:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}div.jx-arrow.jx-right{border-color:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;right:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;border-style:solid;border-width:8px 8px 0;bottom:2px;left:0;top:auto}div.jx-handle:active div.jx-arrow.jx-left,div.jx-handle:hover div.jx-arrow.jx-left{right:-1px}div.jx-handle:active div.jx-arrow.jx-right,div.jx-handle:hover div.jx-arrow.jx-right{left:-1px}.vertical div.jx-handle:active div.jx-arrow.jx-left,.vertical div.jx-handle:hover div.jx-arrow.jx-left{right: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;left:0}div.jx-image{display:inline-block;height:100%;overflow:hidden;position:absolute;top:0}.vertical div.jx-image{right: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:100%;right:0}div.jx-image.jx-left img{right:0}div.jx-image.jx-right{background-position:0;left:0}div.jx-image.jx-right img{bottom:0;left: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:rgba(0,0,0,.7);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:right;right:0}div.jx-image.jx-right div.jx-label{float:left;left:0}.vertical div.jx-image div.jx-label{display:table;position:absolute}.vertical div.jx-image.jx-right div.jx-label{bottom:0;right:0;top:auto}div.jx-image.transition{transition:width .5s ease}div.jx-handle.transition{transition:right .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-right:-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=);right:0}div.jx-arrow.jx-right{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEwLjYgNiA5LjQgN2w0LjYgNS00LjYgNSAxLjIgMSA1LjQtNnoiLz48L3N2Zz4=);left: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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-left: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{height:20px;width:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left: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:#2fb41f!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}.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-left: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}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;margin-right:-16px;margin-top:-19px;position:absolute;right:50%;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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:left;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-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.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 9px 5px 10px}.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-right:4px solid #000;margin-left:0;margin-right:0;padding-right: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-right:1.3em;padding-right: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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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 4px 0 0;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 0 .25em 1em}@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:0;padding-right:1em}.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:right}.wp-block>.wp-block-jetpack-opentable.is-style-wide.alignright{left:0;right:auto}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:right}.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:transparent;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{left:auto;margin-right:2rem;max-width:840px}.wp-block-jetpack-opentable.is-style-wide.alignright{max-width:840px;right:calc(100% - 840px - 2rem)}.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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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:18px;padding-right:15px}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-left: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:10px 22px 10px 24px;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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-right: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-right:59px}.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 0 0 2px;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-right: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}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 8px 0 0}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-right:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-right:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);position:absolute;right:-10px;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.sDAzdUdcbaYmUMZBe2XW{fill:#2c3338}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:#39579a;border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:#55acee}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:#0976b4}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:#35465c}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.jetpack-publicize-gutenberg-social-icon{margin-left:5px}.jetpack-publicize-connection-label{align-items:center;display:flex;flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-right:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled{opacity:.5;width:100%}.KQcQQLxH5fI08DfOlKwL{display:flex}.GkSdCYn_REWEdI_aqvQk{margin-top:3px}.__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}.xwd1zFILyAv6XzDjevFA{margin:15px 0}.Ua6eKcnk_tQQpFlgXMSn{list-style-type:none;margin:0;width:100%}.Ua6eKcnk_tQQpFlgXMSn .SHqrIEguRfCILRHPyxE9{margin:5px 0 10px}.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-left: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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.connect-stripe.has-icon.has-text svg{margin-left: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-right: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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.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 8px 0 24px}.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-left: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-left: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-left:10px solid transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{position:absolute;right:calc(50% - 12px);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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.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-left:.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:var(--muriel-hot-red-500);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-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right: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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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 56px 8px 16px;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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right:10px;width:105px}.jetpack-whatsapp-button__phonenumber .components-placeholder__label svg{margin-left:6px}.jetpack-whatsapp-error{display:inline-flex;margin-bottom:10px}.jetpack-whatsapp-error span,.jetpack-whatsapp-error svg{fill:red;color:red;vertical-align:middle}.jetpack-whatsapp-error svg{margin:-3px 0 0 5px}.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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-right:5px}.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-right: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;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;right:50%;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-left: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-right:1em}}.wp-block-jetpack-simple-payments{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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-left: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;left:0;padding:0 4px;pointer-events:none;position:absolute;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{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left: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-jetpack-slideshow_slide .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-left:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-left:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-right:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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-right: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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:right;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 0 -4px 2px;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-left:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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-right: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:"✓";position:absolute;right:-20px}@media(min-width:600px){.jetpack-social-previews__modal-upgrade{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{grid-column:2;grid-row:1;max-width:100%;padding-left: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-right:0}}@media(min-width:782px){.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{padding:0 2em 2em}}.jetpack-gutenberg-social-icons{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-social-previews__icon{fill:currentColor;margin-left:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;position:absolute;right:3px;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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-left-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:rgba(0,0,0,.5);border-radius:5px;color:#fff;display:flex;left:0;margin:15px;padding:5px 3px;position:absolute;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:transparent}.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:hsla(0,0%,100%,.4)}.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{margin:auto;right:-84px}.wp-story-container .wp-story-next-slide{left:-84px;margin:auto}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-next-slide{left:-48px;margin:auto}.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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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 0 0 16px;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 0 0 12px;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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-right: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{right:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{left: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-right:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-left: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:100%;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:#0e1112e0;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-left: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:transparent;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:transparent;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}.is-style-compact .wp-block-button__link,.is-style-compact .wp-block-jetpack-subscriptions__button{border-bottom-right-radius:0!important;border-top-right-radius:0!important;margin-right:0!important}.is-style-compact .components-text-control__input,.is-style-compact p#subscribe-email input[type=email]{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-left-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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;line-height:1.3;white-space:nowrap}.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 form input[type=email]::placeholder{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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;left:0;margin:0;position:absolute}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{right:0}.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-right:12px}.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{text-decoration:underline;white-space:nowrap}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-right: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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:rgba(243,106,188,.3);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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);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%;pointer-events:none;position:absolute;right:0;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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{position:absolute;right:-2px;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{margin:0;position:absolute;right:50%;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}.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}.resumable-upload__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px}.resumable-upload__logo-text{margin-right:10px}.resumable-upload__status{align-items:center;display:flex;flex-direction:column;margin-top:24px;width:100%}.resumable-upload__file-info{display:flex;flex-direction:row;margin-bottom:16px;width:100%}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;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-right:12px}.resumable-upload__actions{align-items:center;display:flex;justify-content:space-between;margin-top:16px;width:100%}.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-right:12px;margin-top:16px}.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-left: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 12px 4px 0;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-left: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-right: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}[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-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 -1px 0 0;padding:8px 14px;position:relative}.wp-block-premium-content-container--tab{align-items:center;background:transparent;border:none;display:flex;flex-direction:row;margin-left:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-right: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 0 0 .5em}.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}.post-publish-qr-post-panel .components-panel__body-toggle>svg{margin-right: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}.qr-post-modal__actions_buttons{display:flex;justify-content:right;margin:10px auto;max-width:300px}.qr-post-modal__actions_buttons .components-button{margin-right:5px}.anchor-post-publish-outbound-link .anchor-post-publish-outbound-link__external_icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.wp-block-jetpack-conversation__participant{display:flex;height:30px;line-height:30px}.wp-block-jetpack-conversation__participant-label{flex-grow:2}.wp-block-jetpack-conversation__placeholder,.wp-block-jetpack-dialogue__timestamp-controls{display:flex}.wp-block-jetpack-dialogue__timestamp-controls .components-number-control{min-width:60px}.wp-block-jetpack-dialogue__timestamp-button{margin-right:6px}.wp-block-jetpack-dialogue__timestamp-control__hour,.wp-block-jetpack-dialogue__timestamp-control__minute{margin-left:5px}.wp-block-jetpack-dialogue__timestamp-control__play-button{align-self:flex-end;margin-right:10px}.wp-block-jetpack-dialogue__timestamp-content .wp-block-jetpack-dialogue__timestamp-container{min-width:290px}.wp-block-jetpack-dialogue__timestamp-range-control{margin-left:16px;margin-top:8px}.wp-block-jetpack-dialogue__timestamp-dropdown{min-width:90px}.wp-block-jetpack-dialogue__participant.is-participant-adding,.wp-block-jetpack-dialogue__participant.is-participant-editing{opacity:.7}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta.has-not-media-source>div{width:100%}.wp-block-jetpack-conversation:not(.is-style-column) .wp-block-jetpack-dialogue__meta .wp-block-jetpack-dialogue__participant{min-width:50px}.media-player-control__current-time{align-items:center;display:flex;font-size:14px;min-width:55px;padding:0 5px 0 12px}.media-player-control__current-time.is-disabled{color:#757575;cursor:default}.wp-block-jetpack-dialogue__timestamp-player{display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px}.wp-block-jetpack-dialogue__timestamp-player button{padding:0}.media-player-control__toolbar .components-toolbar-button .dashicons{margin:0}.wp-block-jetpack-dialogue{margin-bottom:20px;margin-top:20px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{align-items:center;display:flex;flex-direction:row;min-height:38px}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{color:inherit;font-size:inherit;line-height:17px;line-height:var(--global--line-height-body);overflow-wrap:anywhere;padding:0}.wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-label{color:inherit;font-size:16px;margin-left:0;margin-right:5px;padding:6px 12px;text-align:left;white-space:nowrap}.wp-block-jetpack-dialogue__participant{height:auto;line-height:1.2;padding:3px 0}.wp-block-jetpack-dialogue__participant.has-bold-style{font-weight:700}.wp-block-jetpack-dialogue__participant.has-italic-style{font-style:italic}.wp-block-jetpack-dialogue__participant.has-uppercase-style{text-transform:uppercase}.block-editor-block-list__block .wp-block-jetpack-dialogue__content{margin:0 0 1em}@media(min-width:600px){.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue{display:flex}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__meta{display:block;flex:0 0 25%;text-align:left}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__participant{margin-left:12px}.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .components-dropdown,.wp-block-jetpack-conversation.is-style-column .wp-block-jetpack-dialogue .wp-block-jetpack-dialogue__timestamp-dropdown{display:block}}body.no-media-source .wp-block-jetpack-dialogue__timestamp-label{display:none} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-no-post-editor.asset.php b/plugins/jetpack/_inc/blocks/editor-no-post-editor.asset.php
index ca0a672d..98fb6f15 100644
--- a/plugins/jetpack/_inc/blocks/editor-no-post-editor.asset.php
+++ b/plugins/jetpack/_inc/blocks/editor-no-post-editor.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => '0359f48824ac9d54c24d0ce7316b3060'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '60b661140a5ec855d575');
diff --git a/plugins/jetpack/_inc/blocks/editor-no-post-editor.css b/plugins/jetpack/_inc/blocks/editor-no-post-editor.css
index 00c42c3d..e6770318 100644
--- a/plugins/jetpack/_inc/blocks/editor-no-post-editor.css
+++ b/plugins/jetpack/_inc/blocks/editor-no-post-editor.css
@@ -1 +1 @@
-.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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;-o-object-fit:contain;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 transparent}.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__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-right:12px}.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-right:8px}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-right: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-left:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.paid-block-media-placeholder{width:100%}.wp-block-cover .paid-block-media-placeholder:not(:only-child){bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-right:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-right:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-right:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-right:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-right:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left;margin:3px 5px 0 0}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:left;margin:0 5px 0 0}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-right:16px;padding:6px}.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-left: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 transparent;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%;left:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.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-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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-right: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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-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}.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:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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>.wp-block-jetpack-opentable.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:transparent;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:content-box}.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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;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 transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.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:var(--muriel-hot-red-500);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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.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}@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{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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{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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto}.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-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}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;margin:0;position:absolute;right:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{left:0}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-left: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:rgba(243,106,188,.3);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:rgba(127,187,227,.2);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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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}.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}[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} \ 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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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;-o-object-fit:contain;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 transparent}.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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-right:8px}.editor-post-featured-image .components-dropdown{display:initial}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-right: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-left:auto}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.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:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-right:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-right:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-right:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-right:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-right:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left;margin:3px 5px 0 0}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:left;margin:0 5px 0 0}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-right:16px;padding:6px}.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-left: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 transparent;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%;left:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.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-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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-right: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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-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}.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:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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>.wp-block-jetpack-opentable.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:transparent;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:content-box}.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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.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% - 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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.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:var(--muriel-hot-red-500);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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.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{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto}.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-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}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-left: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:rgba(243,106,188,.3);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:rgba(127,187,227,.2);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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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}.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}.resumable-upload__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px}.resumable-upload__logo-text{margin-left:10px}.resumable-upload__status{align-items:center;display:flex;flex-direction:column;margin-top:24px;width:100%}.resumable-upload__file-info{display:flex;flex-direction:row;margin-bottom:16px;width:100%}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;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;justify-content:space-between;margin-top:16px;width:100%}.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}.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}[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} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-no-post-editor.js b/plugins/jetpack/_inc/blocks/editor-no-post-editor.js
index cf417e0e..23ad37e8 100644
--- a/plugins/jetpack/_inc/blocks/editor-no-post-editor.js
+++ b/plugins/jetpack/_inc/blocks/editor-no-post-editor.js
@@ -1,80 +1,70 @@
/*! For license information please see editor-no-post-editor.js.LICENSE.txt */
-!function(){var e,t,n,r,a,o,i={27538:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},29183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},8172:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31354),a=n(64803);function o(e){var t=(0,r.Z)(e);return function(e){return(0,a.Z)(t,e)}}},64803:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function a(e,t){var n,a,o,i,s,l,c=[];for(n=0;n<e.length;n++){if(s=e[n],i=r[s]){for(a=i.length,o=Array(a);a--;)o[a]=c.pop();try{l=i.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(s)?t[s]:+s;c.push(l)}return c[0]}},7478:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8172);function a(e){var t=(0,r.Z)(e);return function(e){return+t({n:e})}}},31354:function(e,t,n){"use strict";var r,a,o,i;function s(e){for(var t,n,s,l,c=[],u=[];t=e.match(i);){for(n=t[0],(s=e.substr(0,t.index).trim())&&c.push(s);l=u.pop();){if(o[n]){if(o[n][0]===l){n=o[n][1]||n;break}}else if(a.indexOf(l)>=0||r[l]<r[n]){u.push(l);break}c.push(l)}o[n]||u.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&c.push(e),c.concat(u.reverse())}n.d(t,{Z:function(){return s}}),r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},a=["(","?"],o={")":["("],":":["?","?:"]},i=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},702:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function a(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(r,(function(){var e,r,a,o,i;return e=arguments[3],r=arguments[5],"%"===(o=arguments[9])?"%":("*"===(a=arguments[7])&&(a=t[n-1],n++),void 0!==r?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(i=t[0][r]):(void 0===e&&(e=n),n++,i=t[e-1]),"f"===o?i=parseFloat(i)||0:"d"===o&&(i=parseInt(i)||0),void 0!==a&&("f"===o?i=i.toFixed(a):"s"===o&&(i=i.substr(0,a))),null!=i?i:"")}))}},22607:function(e,t,n){"use strict";var r=n(69307);t.Z=function(e){let{icon:t,size:n=24,...a}=e;return(0,r.cloneElement)(t,{width:n,height:n,...a})}},35127:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.Z=o},41221:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.Z=o},31266:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},81326:function(e,t){var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)a(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function a(e,a){if(a){var o=typeof a;"string"===o?function(e,t){for(var n=t.split(r),a=n.length,o=0;o<a;++o)e[n[o]]=!0}(e,a):Array.isArray(a)?t(e,a):"object"===o?function(e,t){if(t.toString===Object.prototype.toString)for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,a):"number"===o&&function(e,t){e[t]=!0}(e,a)}}return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=new e;t(o,r);var i=[];for(var s in o)o[s]&&i.push(s);return i.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},89105:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},92213:function(e){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,a,o,i=-1;for(t=0,a=e.length;t<a;t+=1){for(o=255&(i^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;i=i>>>8^o}return-1^i}function a(e,n){var r,o,i;if(void 0!==a.crc&&n&&e||(a.crc=-1,e)){for(r=a.crc,o=0,i=e.length;o<i;o+=1)r=r>>>8^t[255&(r^e[o])];return a.crc=r,-1^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}()},97115:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var a=o(n[0]);a!==n[0]&&(t[n[0]]=a)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var l=i[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},89453:function(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}))}},2571:function(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 o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,a,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var a,o,i,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),i=o[t]),void 0===i)i=o[t]=n,++e._eventsCount;else if("function"==typeof i?i=o[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(a=l(e))>0&&i.length>a&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}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 p(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 d(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;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):h(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function f(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function a(o){r.once&&e.removeEventListener(t,a),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var a="error"===e,o=this._events;if(void 0!==o)a=a&&void 0===o.error;else if(!a)return!1;if(a){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,a,o,i;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){i=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(a=o[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},95946:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o<r.length;o++){var i=r[o],s=e[i];(a?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},95949:function(e,t,n){"use strict";var r=n(53566),a=n(48282);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var a=0;a<e.length;a+=this._delta32)this._update(e,a,a+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),a(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var a=1;a<n;a++)r[a]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[a++]=0;r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=e>>>24&255,r[a++]=e>>>16&255,r[a++]=e>>>8&255,r[a++]=255&e}else for(r[a++]=255&e,r[a++]=e>>>8&255,r[a++]=e>>>16&255,r[a++]=e>>>24&255,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,o=8;o<this.padLength;o++)r[a++]=0;return r}},69016:function(e,t,n){"use strict";var r=n(53566),a=n(95949),o=n(47574),i=r.rotl32,s=r.sum32,l=r.sum32_5,c=o.ft_1,u=a.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=i(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var a=this.h[0],o=this.h[1],u=this.h[2],d=this.h[3],m=this.h[4];for(r=0;r<n.length;r++){var h=~~(r/20),f=l(i(a,5),c(h,o,u,d),m,n[r],p[h]);m=d,d=u,u=i(o,30),o=a,a=f}this.h[0]=s(this.h[0],a),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],u),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],m)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},47574:function(e,t,n){"use strict";var r=n(53566).rotr32;function a(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function i(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?a(t,n,r):1===e||3===e?i(t,n,r):2===e?o(t,n,r):void 0},t.ch32=a,t.maj32=o,t.p32=i,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},53566:function(e,t,n){"use strict";var r=n(48282),a=n(59503);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function i(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=a,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),a=0;a<e.length;a+=2)n.push(parseInt(e[a]+e[a+1],16))}else for(var r=0,a=0;a<e.length;a++){var i=e.charCodeAt(a);i<128?n[r++]=i:i<2048?(n[r++]=i>>6|192,n[r++]=63&i|128):o(e,a)?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++a)),n[r++]=i>>18|240,n[r++]=i>>12&63|128,n[r++]=i>>6&63|128,n[r++]=63&i|128):(n[r++]=i>>12|224,n[r++]=i>>6&63|128,n[r++]=63&i|128)}else for(a=0;a<e.length;a++)n[a]=0|e[a];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=i,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e[r];"little"===t&&(a=i(a)),n+=l(a.toString(16))}return n},t.zero2=s,t.zero8=l,t.join32=function(e,t,n,a){var o=n-t;r(o%4==0);for(var i=new Array(o/4),s=0,l=t;s<i.length;s++,l+=4){var c;c="big"===a?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],i[s]=c>>>0}return i},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,a=0;r<e.length;r++,a+=4){var o=e[r];"big"===t?(n[a]=o>>>24,n[a+1]=o>>>16&255,n[a+2]=o>>>8&255,n[a+3]=255&o):(n[a+3]=o>>>24,n[a+2]=o>>>16&255,n[a+1]=o>>>8&255,n[a]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,a){return e+t+n+r+a>>>0},t.sum64=function(e,t,n,r){var a=e[t],o=r+e[t+1]>>>0,i=(o<r?1:0)+n+a;e[t]=i>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,a,o,i,s){var l=0,c=t;return l+=(c=c+r>>>0)<t?1:0,l+=(c=c+o>>>0)<o?1:0,e+n+a+i+(l+=(c=c+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,a,o,i,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,a,o,i,s,l,c){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+o>>>0)<o?1:0,u+=(p=p+s>>>0)<s?1:0,e+n+a+i+l+(u+=(p=p+c>>>0)<c?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,a,o,i,s,l,c){return t+r+o+s+c>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},88617:function(e,t,n){"use strict";var r=n(59128),a=n(98086),o=n(90922),i=n.n(o),s=n(94481),l=n(88090),c=n(75565),u=n.n(c),p=n(69016),d=n.n(p),m=n(2571),h=n(702),f=n(92846),g=i()("i18n-calypso"),b="number_format_decimals",k="number_format_thousands_sep",v="messages",y=[function(e){return e}],E={};function w(){S.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function _(e){return Array.prototype.slice.call(e)}function C(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&w("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",_(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&w("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",_(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function x(e,t){return e.dcnpgettext(v,t.context,t.original,t.plural,t.count)}function j(e,t){for(var n=y.length-1;n>=0;n--){var r=y[n](Object.assign({},t)),a=r.context?r.context+""+r.original:r.original;if(e.state.locale[a])return x(e.state.tannin,r)}return null}function S(){if(!(this instanceof S))return new S;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:u()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new m.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}S.throwErrors=!1,S.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},S.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},S.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},S.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",a=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,f.Z)(e,n,r,a)},S.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},S.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var o=e[""]["key-hash"],i=function(e,t){var n=!1===t?"":String(t);if(void 0!==E[n+e])return E[n+e];var r=d()().update(e).digest("hex");return E[n+e]=t?r.substr(0,t):r},s=function(e){return function(t){return t.context?(t.original=i(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=i(t.original,e),t}};if("sha1"===o.substr(0,4))if(4===o.length)y.push(s(!1));else{var c=o.substr(5).indexOf("-");if(c<0){var u=Number(o.substr(5));y.push(s(u))}else for(var p=Number(o.substr(5,c)),m=Number(o.substr(6+c)),h=p;h<=m;h++)y.push(s(h))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new l.Z((0,a.Z)({},v,this.state.locale)),this.state.numberFormatSettings.decimal_point=x(this.state.tannin,C([b])),this.state.numberFormatSettings.thousands_sep=x(this.state.tannin,C([k])),this.state.numberFormatSettings.decimal_point===b&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===k&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},S.prototype.getLocale=function(){return this.state.locale},S.prototype.getLocaleSlug=function(){return this.state.localeSlug},S.prototype.isRtl=function(){return"rtl"===this.state.textDirection},S.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},S.prototype.hasTranslation=function(){return!!j(this,C(arguments))},S.prototype.translate=function(){var e=C(arguments),t=j(this,e);if(t||(t=x(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=h.Z.apply(void 0,(0,r.Z)(n))}catch(e){if(!window||!window.console)return;var a=this.throwErrors?"error":"warn";"string"!=typeof e?window.console[a](e):window.console[a]("i18n sprintf error:",n)}}return e.components&&(t=(0,s.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},S.prototype.reRenderTranslations=function(){g("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},S.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},S.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)},t.Z=S},63807:function(e,t,n){"use strict";n.d(t,{Y4:function(){return l}});var r=n(88617),a=n(42928),o=n(80975),i=n(24531),s=new r.Z,l=s.numberFormat.bind(s),c=(s.translate.bind(s),s.configure.bind(s),s.setLocale.bind(s),s.getLocale.bind(s),s.getLocaleSlug.bind(s),s.addTranslations.bind(s),s.reRenderTranslations.bind(s),s.registerComponentUpdateHook.bind(s),s.registerTranslateHook.bind(s),s.state,s.stateObserver,s.on.bind(s),s.off.bind(s),s.emit.bind(s),(0,a.Z)(s),(0,o.Z)(s),(0,i.Z)(s));c.useRtl,c.withRtl},42928:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(59591),a=n(71687),o=n(93772),i=n(55200),s=n(82104),l=n(9057),c=n(98086),u=n(99196),p=n.n(u);function d(e){var t={numberFormat:e.numberFormat.bind(e),translate:e.translate.bind(e)};return function(n){var u,d,m=n.displayName||n.name||"";return d=u=function(u){(0,s.Z)(m,u);var d=(0,l.Z)(m);function m(){var e;(0,a.Z)(this,m);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=d.call.apply(d,[this].concat(n)),(0,c.Z)((0,i.Z)(e),"boundForceUpdate",e.forceUpdate.bind((0,i.Z)(e))),e}return(0,o.Z)(m,[{key:"componentDidMount",value:function(){e.on("change",this.boundForceUpdate)}},{key:"componentWillUnmount",value:function(){e.off("change",this.boundForceUpdate)}},{key:"render",value:function(){var a=(0,r.Z)({locale:e.getLocaleSlug()},this.props,{},t);return p().createElement(n,a)}}]),m}(p().Component),(0,c.Z)(u,"displayName","Localized("+m+")"),d}}},92846:function(e,t,n){"use strict";function r(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var a=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,i=void 0===r?",":r,s=void 0===n?".":n,l="";return l=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(a,o):""+Math.round(a)).split("."),l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(l[1]||"").length<o&&(l[1]=l[1]||"",l[1]+=new Array(o-l[1].length+1).join("0")),l.join(s)}n.d(t,{Z:function(){return r}})},24531:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(95672),a=n(99196),o=n.n(a),i=n(20036),s=n(94333);function l(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return(0,i.useSubscription)(t)}var l=(0,s.createHigherOrderComponent)((function(e){return(0,a.forwardRef)((function(t,a){var i=n();return o().createElement(e,(0,r.Z)({},t,{isRtl:i,ref:a}))}))}),"WithRTL");return{useRtl:n,withRtl:l}}},80975:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(50572),a=n(99196),o=n.n(a);function i(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}return function(){var n=o().useState(t),a=(0,r.Z)(n,2),i=a[0],s=a[1];return o().useEffect((function(){var n=function(){return s(t)};return e.on("change",n),function(){return e.off("change",n)}}),[]),i}}},59503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},30045:function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(49872)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?o(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,o,i,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(a=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},49872:function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(26285).source,t.src_Cc=n(84080).source,t.src_Z=n(76202).source,t.src_P=n(87696).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},47595:function(e,t,n){"use strict";const r=n(22199),a=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),h=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(k(e,r),!e[s])return}else n&&(e[m]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},b=e=>{if(e[o]>e[a])for(let t=e[p].tail;e[o]>e[a]&&null!==t;){const n=t.prev;k(e,t),t=n}},k=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[p].removeNode(t)}};class v{constructor(e,t,n,r,a){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=a||0}}const y=(e,t,n,r)=>{let a=n.value;g(e,a)&&(k(e,n),e[s]||(a=void 0)),a&&t.call(r,a.value,a.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[a]=e.max||1/0;const t=e.length||h;if(this[i]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,b(this)}get max(){return this[a]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,b(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[i]&&(this[i]=e,this[o]=0,this[p].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),b(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[p].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new r,this[o]=0}dump(){return this[p].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[i](t,e);if(this[d].has(e)){if(s>this[a])return k(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=r,i.maxAge=n,i.value=t,this[o]+=s-i.length,i.length=s,this.get(e),b(this),!0}const m=new v(e,t,s,r,n);return m.length>this[a]?(this[c]&&this[c](e,t),!1):(this[o]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),b(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[p].tail;return e?(k(this,e),e.value):null}del(e){k(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],a=r.e||0;if(0===a)this.set(r.k,r.v);else{const e=a-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},75565:function(e,t,n){var r=n(2571),a=n(59503);function o(e){if(!(this instanceof o))return new o(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=o,a(o,r.EventEmitter),Object.defineProperty(o.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),o.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},o.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},o.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},o.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},o.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},o.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},o.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},o.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},69472:function(e,t,n){"use strict";e.exports=n(98092)},95926:function(e,t,n){"use strict";e.exports=n(60231)},4692:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},75501:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=a},58201:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(95926);var p=/[&<>"]/,d=/[&<>"]/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return m[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var g=n(87696);t.lib={},t.lib.mdurl=n(36664),t.lib.ucmicro=n(39126),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},69486:function(e,t,n){"use strict";t.parseLinkLabel=n(53020),t.parseLinkDestination=n(80113),t.parseLinkTitle=n(7266)},80113:function(e,t,n){"use strict";var r=n(58201).unescapeAll;e.exports=function(e,t,n){var a,o,i=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t)))return s;if(60===a)return s;if(62===a)return s.pos=t+1,s.str=r(e.slice(i+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===a&&++o>32)return s;if(41===a){if(0===o)break;o--}t++}return i===t||0!==o||(s.str=r(e.slice(i,t)),s.lines=0,s.pos=t,s.ok=!0),s}},53020:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)r++;else if(n)return e.pos=c,-1}return a&&(s=e.pos),e.pos=c,s}},7266:function(e,t,n){"use strict";var r=n(58201).unescapeAll;e.exports=function(e,t,n){var a,o,i=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((a=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=i,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===a&&41===o)return l;10===a?i++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&i++),t++}return l}},98092:function(e,t,n){"use strict";var r=n(58201),a=n(69486),o=n(54065),i=n(36020),s=n(63435),l=n(92241),c=n(30045),u=n(36664),p=n(15661),d={default:n(36101),zero:n(67545),commonmark:n(45815)},m=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!m.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function k(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function v(e,t){if(!(this instanceof v))return new v(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new i,this.renderer=new o,this.linkify=new c,this.validateLink=f,this.normalizeLink=b,this.normalizeLinkText=k,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}v.prototype.set=function(e){return r.assign(this.options,e),this},v.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},v.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},v.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},v.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},v.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},v.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},v.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},v.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=v},63435:function(e,t,n){"use strict";var r=n(21473),a=[["table",n(33168),["paragraph","reference"]],["code",n(63390)],["fence",n(7477),["paragraph","reference","blockquote","list"]],["blockquote",n(61264),["paragraph","reference","blockquote","list"]],["hr",n(94438),["paragraph","reference","blockquote","list"]],["list",n(90185),["paragraph","reference","blockquote"]],["reference",n(48707)],["heading",n(66926),["paragraph","reference","blockquote"]],["lheading",n(22288)],["html_block",n(77476),["paragraph","reference","blockquote"]],["paragraph",n(13958)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),o=a.length,i=t,s=!1,l=e.md.options.maxNesting;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!a[r](e,i,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<n&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},o.prototype.State=n(62389),e.exports=o},36020:function(e,t,n){"use strict";var r=n(21473),a=[["normalize",n(75615)],["block",n(37262)],["inline",n(50127)],["linkify",n(65644)],["replacements",n(652)],["smartquotes",n(34335)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(53706),e.exports=o},92241:function(e,t,n){"use strict";var r=n(21473),a=[["text",n(96733)],["newline",n(22051)],["escape",n(52960)],["backticks",n(61191)],["strikethrough",n(30832).w],["emphasis",n(98052).w],["link",n(68839)],["image",n(39590)],["autolink",n(84145)],["html_inline",n(20354)],["entity",n(44659)]],o=[["balance_pairs",n(93296)],["strikethrough",n(30832).g],["emphasis",n(98052).g],["text_collapse",n(72300)]];function i(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}i.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),o=a.length,i=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<i)for(n=0;n<o&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},i.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,n,r){var a,o,i,s=new this.State(e,t,n,r);for(this.tokenize(s),i=(o=this.ruler2.getRules("")).length,a=0;a<i;a++)o[a](s)},i.prototype.State=n(4160),e.exports=i},45815:function(e){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},36101:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},67545:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},54065:function(e,t,n){"use strict";var r=n(58201).assign,a=n(58201).unescapeAll,o=n(58201).escapeHtml,i={};function s(){this.rules=r({},i)}i.code_inline=function(e,t,n,r,a){var i=e[t];return"<code"+a.renderAttrs(i)+">"+o(e[t].content)+"</code>"},i.code_block=function(e,t,n,r,a){var i=e[t];return"<pre"+a.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,n,r,i){var s,l,c,u,p,d=e[t],m=d.info?a(d.info).trim():"",h="",f="";return m&&(h=(c=m.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,h,f)||o(d.content)).indexOf("<pre")?s+"\n":m?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),p={attrs:u},"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},i.image=function(e,t,n,r,a){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=a.renderInlineAsText(o.children,n,r),a.renderToken(e,t,n)},i.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return o(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,a="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===i.nesting?"</":"<")+i.tag,a+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(a+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===i.tag)&&(o=!1)),a+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,a="",o=this.rules,i=0,s=e.length;i<s;i++)void 0!==o[r=e[i].type]?a+=o[r](e,i,t,n,this):a+=this.renderToken(e,i,t);return a},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,o=e.length;a<o;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type&&(r+=this.renderInlineAsText(e[a].children,t,n));return r},s.prototype.render=function(e,t,n){var r,a,o,i="",s=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(o=e[r].type)?i+=this.renderInline(e[r].children,t,n):void 0!==s[o]?i+=s[e[r].type](e,r,t,n,this):i+=this.renderToken(e,r,t,n);return i},e.exports=s},21473:function(e){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},61264:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c,u,p,d,m,h,f,g,b,k,v,y,E,w,_,C,x=e.lineMax,j=e.bMarks[t]+e.tShift[t],S=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(j++))return!1;if(a)return!0;for(l=m=e.sCount[t]+1,32===e.src.charCodeAt(j)?(j++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(j)?(y=!0,(e.bsCount[t]+m)%4==3?(j++,l++,m++,o=!1):o=!0):y=!1,h=[e.bMarks[t]],e.bMarks[t]=j;j<S&&(i=e.src.charCodeAt(j),r(i));)9===i?m+=4-(m+e.bsCount[t]+(o?1:0))%4:m++,j++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=j>=S,k=[e.sCount[t]],e.sCount[t]=m-l,v=[e.tShift[t]],e.tShift[t]=j-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(C=e.sCount[d]<e.blkIndent,!((j=e.bMarks[d]+e.tShift[d])>=(S=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(j++)||C){if(u)break;for(E=!1,s=0,c=w.length;s<c;s++)if(w[s](e,d,n,!0)){E=!0;break}if(E){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),f.push(e.bsCount[d]),v.push(e.tShift[d]),k.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),f.push(e.bsCount[d]),v.push(e.tShift[d]),k.push(e.sCount[d]),e.sCount[d]=-1}else{for(l=m=e.sCount[d]+1,32===e.src.charCodeAt(j)?(j++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(j)?(y=!0,(e.bsCount[d]+m)%4==3?(j++,l++,m++,o=!1):o=!0):y=!1,h.push(e.bMarks[d]),e.bMarks[d]=j;j<S&&(i=e.src.charCodeAt(j),r(i));)9===i?m+=4-(m+e.bsCount[d]+(o?1:0))%4:m++,j++;u=j>=S,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),k.push(e.sCount[d]),e.sCount[d]=m-l,v.push(e.tShift[d]),e.tShift[d]=j-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=p=[t,0],e.md.block.tokenize(e,t,d),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=b,p[1]=e.line,s=0;s<v.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=v[s],e.sCount[s+t]=k[s],e.bsCount[s+t]=f[s];return e.blkIndent=g,!0}},63390:function(e){"use strict";e.exports=function(e,t,n){var r,a,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(o=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!0),o.map=[t,e.line],!0}},7477:function(e){"use strict";e.exports=function(e,t,n,r){var a,o,i,s,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>m)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(l=d,(o=(d=e.skipChars(d,a))-l)<3)return!1;if(u=e.src.slice(l,d),i=e.src.slice(d,m),96===a&&i.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((d=l=e.bMarks[s]+e.tShift[s])<(m=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,a))-l<o||(d=e.skipSpaces(d))<m)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=i,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},66926:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(i=1,o=e.src.charCodeAt(++c);35===o&&c<u&&i<=6;)i++,o=e.src.charCodeAt(++c);return!(i>6||c<u&&!r(o))&&(a||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}},94438:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(i=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&i++}return!(i<3)&&(a||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(o))),!0)}},77476:function(e,t,n){"use strict";var r=n(4692),a=n(75501).q,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),a=0;a<o.length&&!o[a][0].test(l);a++);if(a===o.length)return!1;if(r)return o[a][2];if(i=t+1,!o[a][1].test(l))for(;i<n&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),o[a][1].test(l)){0!==l.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}},22288:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s,l,c,u,p,d,m=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";m<n&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(l=e.bMarks[m]+e.tShift[m])<(c=e.eMarks[m])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[m]<0)){for(a=!1,o=0,i=h.length;o<i;o++)if(h[o](e,m,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,m,e.blkIndent,!1).trim(),e.line=m+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},90185:function(e,t,n){"use strict";var r=n(58201).isSpace;function a(e,t){var n,a,o,i;return a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n||a<o&&(i=e.src.charCodeAt(a),!r(i))?-1:a}function o(e,t){var n,a=e.bMarks[t]+e.tShift[t],o=a,i=e.eMarks[t];if(o+1>=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-a>=10)return-1}return o<i&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var i,s,l,c,u,p,d,m,h,f,g,b,k,v,y,E,w,_,C,x,j,S,A,N,T,P,M,I,R=!1,L=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(R=!0),(A=o(e,t))>=0){if(d=!0,T=e.bMarks[t]+e.tShift[t],k=Number(e.src.substr(T,A-T-1)),R&&1!==k)return!1}else{if(!((A=a(e,t))>=0))return!1;d=!1}if(R&&e.skipSpaces(A)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(A-1),r)return!0;for(g=e.tokens.length,d?(I=e.push("ordered_list_open","ol",1),1!==k&&(I.attrs=[["start",k]])):I=e.push("bullet_list_open","ul",1),I.map=f=[t,0],I.markup=String.fromCharCode(b),y=t,N=!1,M=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";y<n;){for(S=A,v=e.eMarks[y],p=E=e.sCount[y]+A-(e.bMarks[t]+e.tShift[t]);S<v;){if(9===(i=e.src.charCodeAt(S)))E+=4-(E+e.bsCount[y])%4;else{if(32!==i)break;E++}S++}if((u=(s=S)>=v?1:E-p)>4&&(u=1),c=p+u,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),I.map=m=[t,0],j=e.tight,x=e.tShift[t],C=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=v&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!N||(L=!1),N=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=x,e.sCount[t]=C,e.tight=j,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),y=t=e.line,m[1]=y,s=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(P=!1,l=0,h=M.length;l<h;l++)if(M[l](e,y,n,!0)){P=!0;break}if(P)break;if(d){if((A=o(e,y))<0)break}else if((A=a(e,y))<0)break;if(b!==e.src.charCodeAt(A-1))break}return(I=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),f[1]=y,e.line=y,e.parentType=_,L&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},13958:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,a=0,o=c.length;a<o;a++)if(c[a](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=n,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}},48707:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t,n,o){var i,s,l,c,u,p,d,m,h,f,g,b,k,v,y,E,w=0,_=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],x=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(_))return!1;for(;++_<C;)if(93===e.src.charCodeAt(_)&&92!==e.src.charCodeAt(_-1)){if(_+1===C)return!1;if(58!==e.src.charCodeAt(_+1))return!1;break}for(c=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";x<c&&!e.isEmpty(x);x++)if(!(e.sCount[x]-e.blkIndent>3||e.sCount[x]<0)){for(v=!1,p=0,d=y.length;p<d;p++)if(y[p](e,x,c,!0)){v=!0;break}if(v)break}for(C=(k=e.getLines(t,x,e.blkIndent,!1).trim()).length,_=1;_<C;_++){if(91===(i=k.charCodeAt(_)))return!1;if(93===i){h=_;break}(10===i||92===i&&++_<C&&10===k.charCodeAt(_))&&w++}if(h<0||58!==k.charCodeAt(h+1))return!1;for(_=h+2;_<C;_++)if(10===(i=k.charCodeAt(_)))w++;else if(!a(i))break;if(!(g=e.md.helpers.parseLinkDestination(k,_,C)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=_=g.pos,l=w+=g.lines,b=_;_<C;_++)if(10===(i=k.charCodeAt(_)))w++;else if(!a(i))break;for(g=e.md.helpers.parseLinkTitle(k,_,C),_<C&&b!==_&&g.ok?(E=g.str,_=g.pos,w+=g.lines):(E="",_=s,w=l);_<C&&(i=k.charCodeAt(_),a(i));)_++;if(_<C&&10!==k.charCodeAt(_)&&E)for(E="",_=s,w=l;_<C&&(i=k.charCodeAt(_),a(i));)_++;return!(_<C&&10!==k.charCodeAt(_))&&(!!(m=r(k.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:E,href:u}),e.parentType=f,e.line=t+w+1),!0))}},62389:function(e,t,n){"use strict";var r=n(82069),a=n(58201).isSpace;function o(e,t,n,r){var o,i,s,l,c,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=p=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!d){if(a(o)){u++,9===o?p+=4-p%4:p++;continue}d=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,i,s,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),o=0;d<t;d++,o++){for(i=0,p=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&i<n;){if(s=this.src.charCodeAt(l),a(s))9===s?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(l-p<this.tShift[d]))break;i++}l++}u[o]=i>n?new Array(i-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=r,e.exports=o},33168:function(e,t,n){"use strict";var r=n(58201).isSpace;function a(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,a=e.length,o=!1,i=0,s="";for(t=e.charCodeAt(r);r<a;)124===t&&(o?(s+=e.substring(i,r-1),i=r):(n.push(s+e.substring(i,r)),s="",i=r+1)),o=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(i)),n}e.exports=function(e,t,n,i){var s,l,c,u,p,d,m,h,f,g,b,k,v,y,E,w;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(m=(l=a(e,t+1)).split("|"),g=[],u=0;u<m.length;u++){if(!(b=m[u].trim())){if(0===u||u===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?g.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),0===(h=m.length)||h!==g.length)return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(f=e.push("table_open","table",1)).map=k=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<m.length;u++)f=e.push("th_open","th",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u].trim(),f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),d=t+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(E=!1,u=0,p=w.length;u<p;u++)if(w[u](e,d,n,!0)){E=!0;break}if(E)break;if(!(l=a(e,d).trim()))break;if(e.sCount[d]-e.blkIndent>=4)break;for((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),d===t+2&&((f=e.push("tbody_open","tbody",1)).map=v=[t+2,0]),(f=e.push("tr_open","tr",1)).map=[d,d+1],u=0;u<h;u++)f=e.push("td_open","td",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u]?m[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return v&&(f=e.push("tbody_close","tbody",-1),v[1]=d),f=e.push("table_close","table",-1),k[1]=d,e.parentType=y,e.line=d,!0}},37262:function(e){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},50127:function(e){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},65644:function(e,t,n){"use strict";var r=n(58201).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,i,s,l,c,u,p,d,m,h,f,g,b,k,v,y,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(f=0,t=(i=E[n].children).length-1;t>=0;t--)if("link_close"!==(l=i[t]).type){if("html_inline"===l.type&&(y=l.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(l.content)&&f++),!(f>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,v=e.md.linkify.match(p),c=[],h=l.level,m=0,u=0;u<v.length;u++)g=v[u].url,b=e.md.normalizeLink(g),e.md.validateLink(b)&&(k=v[u].text,k=v[u].schema?"mailto:"!==v[u].schema||/^mailto:/i.test(k)?e.md.normalizeLinkText(k):e.md.normalizeLinkText("mailto:"+k).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+k).replace(/^http:\/\//,""),(d=v[u].index)>m&&((s=new e.Token("text","",0)).content=p.slice(m,d),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",b]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=k,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),m=v[u].lastIndex);m<p.length&&((s=new e.Token("text","",0)).content=p.slice(m),s.level=h,c.push(s)),E[n].children=i=r(i,t,c)}}else for(t--;i[t].level!==l.level&&"link_open"!==i[t].type;)t--}},75615:function(e){"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},652:function(e){"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return a[t.toLowerCase()]}function i(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}function s(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||a||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&i(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},34335:function(e,t,n){"use strict";var r=n(58201).isWhiteSpace,a=n(58201).isPunctChar,o=n(58201).isMdAsciiPunct,i=/['"]/,s=/['"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,i,c,u,p,d,m,h,f,g,b,k,v,y,E,w,_,C,x,j,S;for(x=[],n=0;n<e.length;n++){for(i=e[n],m=e[n].level,_=x.length-1;_>=0&&!(x[_].level<=m);_--);if(x.length=_+1,"text"===i.type){p=0,d=(c=i.content).length;e:for(;p<d&&(s.lastIndex=p,u=s.exec(c));){if(E=w=!0,p=u.index+1,C="'"===u[0],f=32,u.index-1>=0)f=c.charCodeAt(u.index-1);else for(_=n-1;_>=0&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_--)if(e[_].content){f=e[_].content.charCodeAt(e[_].content.length-1);break}if(g=32,p<d)g=c.charCodeAt(p);else for(_=n+1;_<e.length&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_++)if(e[_].content){g=e[_].content.charCodeAt(0);break}if(b=o(f)||a(String.fromCharCode(f)),k=o(g)||a(String.fromCharCode(g)),v=r(f),(y=r(g))?E=!1:k&&(v||b||(E=!1)),v?w=!1:b&&(y||k||(w=!1)),34===g&&'"'===u[0]&&f>=48&&f<=57&&(w=E=!1),E&&w&&(E=b,w=k),E||w){if(w)for(_=x.length-1;_>=0&&(h=x[_],!(x[_].level<m));_--)if(h.single===C&&x[_].level===m){h=x[_],C?(j=t.md.options.quotes[2],S=t.md.options.quotes[3]):(j=t.md.options.quotes[0],S=t.md.options.quotes[1]),i.content=l(i.content,u.index,S),e[h.token].content=l(e[h.token].content,h.pos,j),p+=S.length-1,h.token===n&&(p+=j.length-1),d=(c=i.content).length,x.length=_;continue e}E?x.push({token:n,pos:u.index,single:C,level:m}):w&&C&&(i.content=l(i.content,u.index,"’"))}else C&&(i.content=l(i.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},53706:function(e,t,n){"use strict";var r=n(82069);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},84145:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var a,o,i,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return a=e.src.slice(l+1,u),n.test(a)?(o=e.md.normalizeLink(a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0)):!!t.test(a)&&(o=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0))}},61191:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(a=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=a),e.pos+=l,!0;for(i=s=u;-1!==(i=e.src.indexOf("`",s));){for(s=i+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-i)===l)return t||((o=e.push("code_inline","code",0)).markup=a,o.content=e.src.slice(u,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=i}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=l,!0}},93296:function(e){"use strict";function t(e,t){var n,r,a,o,i,s,l,c,u={},p=t.length;for(n=0;n<p;n++)if((a=t[n]).length=a.length||0,a.close){for(u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1]),i=u[a.marker][a.length%3],(r=n-a.jump-1)<-1&&(r=-1),s=r;r>i;r-=o.jump+1)if((o=t[r]).marker===a.marker&&o.open&&o.end<0&&(l=!1,(o.close||a.open)&&(o.length+a.length)%3==0&&(o.length%3==0&&a.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?t[r-1].jump+1:0,a.jump=n-r+c,a.open=!1,o.end=n,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(u[a.marker][(a.length||0)%3]=s)}}e.exports=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},98052:function(e){"use strict";function t(e,t){var n,r,a,o,i,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(a=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===a.token+1&&t[n-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?i+i:i,o.content="",(o=e.tokens[a.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?i+i:i,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,a=e.pos,o=e.src.charCodeAt(a);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},44659:function(e,t,n){"use strict";var r=n(95926),a=n(58201).has,o=n(58201).isValidEntityCode,i=n(58201).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?i(n):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&a(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},52960:function(e,t,n){"use strict";for(var r=n(58201).isSpace,a=[],o=0;o<256;o++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<i){if((n=e.src.charCodeAt(o))<256&&0!==a[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<i&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},20354:function(e,t,n){"use strict";var r=n(75501).n;e.exports=function(e,t){var n,a,o,i=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=o)&&(!(33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(i).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+a[0].length)),e.pos+=a[0].length,!0))))}},39590:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d,m,h,f,g,b="",k=e.pos,v=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<v&&40===e.src.charCodeAt(u)){for(u++;u<v&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(u>=v)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<v&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<v&&g!==u&&d.ok)for(m=d.str,u=d.pos;u<v&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);else m="";if(u>=v||41!==e.src.charCodeAt(u))return e.pos=k,!1;u++}else{if(void 0===e.env.references)return!1;if(u<v&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(p=e.env.references[r(s)]))return e.pos=k,!1;b=p.href,m=p.title}return t||(i=e.src.slice(c,l),e.md.inline.parse(i,e.md,e.env,f=[]),(h=e.push("image","img",0)).attrs=n=[["src",b],["alt",""]],h.children=f,h.content=i,m&&n.push(["title",m])),e.pos=u,e.posMax=v,!0}},68839:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d="",m="",h=e.pos,f=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<f&&40===e.src.charCodeAt(c)){for(b=!1,c++;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(c>=f)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d="",g=c;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<f&&g!==c&&u.ok)for(m=u.str,c=u.pos;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);}(c>=f||41!==e.src.charCodeAt(c))&&(b=!0),c++}if(b){if(void 0===e.env.references)return!1;if(c<f&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?i=e.src.slice(g,c++):c=s+1):c=s+1,i||(i=e.src.slice(l,s)),!(p=e.env.references[r(i)]))return e.pos=h,!1;d=p.href,m=p.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=f,!0}},22051:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t){var n,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,a=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<a&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},4160:function(e,t,n){"use strict";var r=n(82069),a=n(58201).isWhiteSpace,o=n(58201).isPunctChar,i=n(58201).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(o),a},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,d,m,h=e,f=!0,g=!0,b=this.posMax,k=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===k;)h++;return s=h-e,r=h<b?this.src.charCodeAt(h):32,p=i(n)||o(String.fromCharCode(n)),m=i(r)||o(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:m&&(u||p||(f=!1)),u?g=!1:p&&(d||m||(g=!1)),t?(l=f,c=g):(l=f&&(!g||p),c=g&&(!f||m)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},30832:function(e){"use strict";function t(e,t){var n,r,a,o,i,s=[],l=t.length;for(n=0;n<l;n++)126===(a=t[n]).marker&&-1!==a.end&&(o=t[a.end],(i=e.tokens[a.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=i)}}e.exports.w=function(e,t){var n,r,a,o,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=o,a--),n=0;n<a;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,jump:n/2,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},96733:function(e){"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},72300:function(e){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)a[t].nesting<0&&r--,a[t].level=r,a[t].nesting>0&&r++,"text"===a[t].type&&t+1<o&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},82069:function(e){"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},62098:function(e){"use strict";var t={};function n(e,r){var a;return"string"!=typeof r&&(r=n.defaultChars),a=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),a.push(r);for(n=0;n<e.length;n++)a[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return a}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,i,s,l,c="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=a[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&i))?(c+=(l=r<<12&61440|o<<6&4032|63&i)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&i)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|i<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},9401:function(e){"use strict";var t={};function n(e,r,a){var o,i,s,l,c,u="";for("string"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),c=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),o=0,i=e.length;o<i;o++)if(s=e.charCodeAt(o),a&&37===s&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<i&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},56558:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},36664:function(e,t,n){"use strict";e.exports.encode=n(9401),e.exports.decode=n(62098),e.exports.format=n(56558),e.exports.parse=n(5)},5:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),i=["'"].concat(o),s=["%","/","?",";","#"].concat(i),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,o,i,m,h,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var g=a.exec(f);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=n.exec(f);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,f=f.substr(b.length)),(t||b||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===f.substr(0,2))||b&&p[b]||(f=f.substr(2),this.slashes=!0)),!p[b]&&(h||b&&!d[b])){var k,v,y=-1;for(r=0;r<l.length;r++)-1!==(m=f.indexOf(l[r]))&&(-1===y||m<y)&&(y=m);for(-1!==(v=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(k=f.slice(0,v),f=f.slice(v+1),this.auth=k),y=-1,r=0;r<s.length;r++)-1!==(m=f.indexOf(s[r]))&&(-1===y||m<y)&&(y=m);-1===y&&(y=f.length),":"===f[y-1]&&y--;var E=f.slice(0,y);f=f.slice(y),this.parseHost(E),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var _=this.hostname.split(/\./);for(r=0,o=_.length;r<o;r++){var C=_[r];if(C&&!C.match(c)){for(var x="",j=0,S=C.length;j<S;j++)C.charCodeAt(j)>127?x+="x":x+=C[j];if(!x.match(c)){var A=_.slice(0,r),N=_.slice(r+1),T=C.match(u);T&&(A.push(T[1]),N.unshift(T[2])),N.length&&(f=N.join(".")+f),this.hostname=A.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var P=f.indexOf("#");-1!==P&&(this.hash=f.substr(P),f=f.slice(0,P));var M=f.indexOf("?");return-1!==M&&(this.search=f.substr(M),f=f.slice(0,M)),f&&(this.pathname=f),d[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},48282:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},32002:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=7*a,i=365.25*a;function s(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=a)return s(e,o,a,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=a)return Math.round(e/a)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},1625:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var p=0;p<s.length;p++)r.call(i,s[p])&&(l[s[p]]=i[s[p]])}}return l}},40278:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(92213),a=n.n(r),o=n(68211),i=n.n(o),s=n(48468),l=n.n(s)()("photon"),c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function d(e,t){var n;try{n=new URL(e,p)}catch(e){return null}var r,o,s,d,m,h="https:"===n.protocol,f=new URL("https://i0.wp.com");if(m=n.host,/^i[0-2]\.wp\.com$/.test(m))f.pathname=n.pathname,f.hostname=n.hostname;else{if(n.search)return null;var g=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(g=n.pathname.replace("://","//")),n.hostname===u&&(g=n.pathname),f.pathname=g,f.hostname=(r=g,o=a()(r),s=i()(o),d="i"+Math.floor(3*s()),l('determined server "%s" to use with "%s"',d,r),d+".wp.com"),h&&f.searchParams.set("ssl",1)}if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?f.searchParams.set(c[b]||b,t[b]):f.protocol="http:":f.hostname=t[b];return l("generated Photon URL: %s",f.href),f.href}},10753:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,a){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var i=/\+/g;e=e.split(n);var s=1e3;a&&"number"==typeof a.maxKeys&&(s=a.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var u,p,d,m,h=e[c].replace(i,"%20"),f=h.indexOf(r);f>=0?(u=h.substr(0,f),p=h.substr(f+1)):(u=h,p=""),d=decodeURIComponent(u),m=decodeURIComponent(p),t(o,d)?Array.isArray(o[d])?o[d].push(m):o[d]=[o[d],m]:o[d]=m}return o}},68527:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,a){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(a){var o=encodeURIComponent(t(a))+r;return Array.isArray(e[a])?e[a].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[a]))})).join(n):a?encodeURIComponent(t(a))+r+encodeURIComponent(t(e)):""}},76250:function(e,t,n){"use strict";t.decode=t.parse=n(10753),t.encode=t.stringify=n(68527)},54166:function(e,t){"use strict";var n=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__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var i=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&l()}function s(){o(i)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},p=b(0,0,0,0);function d(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=u(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=d(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,s=d(r.width),l=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+i)!==n&&(l-=m(r,"top","bottom")+i)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(a.left,a.top,s,l)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?f(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):p}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var k=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),v=function(e,t){var n,r,a,o,i,s,l,u=(r=(n=t).x,a=n.y,o=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:a,width:o,height:i,top:a,right:r+o,bottom:i+a,left:r}),l);c(this,{target:e,contentRect:u})},y=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new v(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new n,w=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 y(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var _=void 0!==a.ResizeObserver?a.ResizeObserver:w;t.Z=_},68211:function(e){"use strict";var t=256,n=[],r=window,a=Math.pow(t,6),o=Math.pow(2,52),i=2*o,s=255,l=Math.random;function c(e){var n,r=e.length,a=this,o=0,i=a.i=a.j=0,l=a.S=[];for(r||(e=[r++]);o<t;)l[o]=o++;for(o=0;o<t;o++)l[o]=l[i=s&i+e[o%r]+(n=l[o])],l[i]=n;(a.g=function(e){for(var n,r=0,o=a.i,i=a.j,l=a.S;e--;)n=l[o=s&o+1],r=r*t+l[s&(l[o]=l[i=s&i+n])+(l[i]=n)];return a.i=o,a.j=i,r})(t)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(e){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[s&a]=s&(n^=19*t[s&a])+r.charCodeAt(a++);return m(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),m(e)}catch(e){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,m(n)]}}function m(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,s){if(s&&!0===s.global)return s.global=!1,Math.random=e.exports(r,s),s.global=!0,Math.random;var l=s&&s.entropy||!1,h=[],f=(p(u(l?[r,m(n)]:0 in arguments?r:d(),3),h),new c(h));return p(m(f.S),n),function(){for(var e=f.g(6),n=a,r=0;e<o;)e=(e+r)*t,n*=t,r=f.g(1);for(;e>=i;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=l},p(Math.random(),n)},45702:function(e,t,n){const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||c}}e.exports=a;const o=n(75265),{re:i,t:s}=n(75698),l=n(48937),c=n(72840),u=n(88208),p=n(55062)},55062:function(e,t,n){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!h(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,S(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),s("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(/\s+/).join(" ");const l=r?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],f=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>j(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),g=(f.length,new Map);for(const e of f){if(h(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const k=[...g.values()];return a.set(t,k),k}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>g(n,t)&&e.set.some((e=>g(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(A(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const a=new(n(47595))({max:1e3}),o=n(75265),i=n(45702),s=n(72840),l=n(88208),{re:c,t:u,comparatorTrimReplace:p,tildeTrimReplace:d,caretTrimReplace:m}=n(75698),h=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=E(e,t),s("caret",e),e=v(e,t),s("tildes",e),e=_(e,t),s("xrange",e),e=x(e,t),s("stars",e),e),k=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),k(n)?i="":k(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:k(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},E=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{s("caret",e,t);const n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let l;return s("caret",e,t,n,a,o,i),k(n)?l="":k(a)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:k(o)?l="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),l="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",l),l}))},_=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,((n,r,a,o,i,l)=>{s("xRange",e,n,r,a,o,i,l);const c=k(a),u=c||k(o),p=u||k(i),d=p;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(l="-0"),n=`${r+a}.${o}.${i}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:p&&(n=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},x=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),j=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),S=e=>(t,n,r,a,o,i,s,l,c,u,p,d,m)=>`${n=k(r)?"":k(a)?`>=${r}.0.0${e?"-0":""}`:k(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=k(c)?"":k(u)?`<${+c+1}.0.0-0`:k(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),A=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==i.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},88208:function(e,t,n){const r=n(72840),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(29609),{re:i,t:s}=n(75698),l=n(75265),{compareIdentifiers:c}=n(15322);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],a=e.build[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},52045:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},48937:function(e,t,n){const r=n(42969),a=n(74619),o=n(74765),i=n(71767),s=n(63590),l=n(94638);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return a(e,n,c);case">":return o(e,n,c);case">=":return i(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},12977:function(e,t,n){const r=n(88208),a=n(38675),{re:o,t:i}=n(75698);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},58230:function(e,t,n){const r=n(88208);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},25112:function(e,t,n){const r=n(50192);e.exports=(e,t)=>r(e,t,!0)},50192:function(e,t,n){const r=n(88208);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},13751:function(e,t,n){const r=n(38675),a=n(42969);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},42969:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>0===r(e,t,n)},74765:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)>0},71767:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)>=0},20177:function(e,t,n){const r=n(88208);e.exports=(e,t,n,a)=>{"string"==typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(e){return null}}},63590:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)<0},94638:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)<=0},51847:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).major},87989:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).minor},74619:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>0!==r(e,t,n)},38675:function(e,t,n){const{MAX_LENGTH:r}=n(29609),{re:a,t:o}=n(75698),i=n(88208),s=n(75265);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},8906:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).patch},85676:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},82576:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(t,e,n)},25709:function(e,t,n){const r=n(58230);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},53907:function(e,t,n){const r=n(55062);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},21978:function(e,t,n){const r=n(58230);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},55641:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},53377:function(e,t,n){const r=n(75698);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(29609).SEMVER_SPEC_VERSION,SemVer:n(88208),compareIdentifiers:n(15322).compareIdentifiers,rcompareIdentifiers:n(15322).rcompareIdentifiers,parse:n(38675),valid:n(55641),clean:n(52045),inc:n(20177),diff:n(13751),major:n(51847),minor:n(87989),patch:n(8906),prerelease:n(85676),compare:n(50192),rcompare:n(82576),compareLoose:n(25112),compareBuild:n(58230),sort:n(21978),rsort:n(25709),gt:n(74765),lt:n(63590),eq:n(42969),neq:n(74619),gte:n(71767),lte:n(94638),cmp:n(48937),coerce:n(12977),Comparator:n(45702),Range:n(55062),satisfies:n(53907),toComparators:n(76055),maxSatisfying:n(33422),minSatisfying:n(17212),minVersion:n(9077),validRange:n(53140),outside:n(44494),gtr:n(2824),ltr:n(34370),intersects:n(30723),simplifyRange:n(23589),subset:n(34992)}},29609:function(e){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},72840:function(e){const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},15322:function(e){const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},75265:function(e){const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},75698:function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(29609),a=n(72840),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let l=0;const c=(e,t,n)=>{const r=l++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},2824:function(e,t,n){const r=n(44494);e.exports=(e,t,n)=>r(e,t,">",n)},30723:function(e,t,n){const r=n(55062);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},34370:function(e,t,n){const r=n(44494);e.exports=(e,t,n)=>r(e,t,"<",n)},33422:function(e,t,n){const r=n(88208),a=n(55062);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},17212:function(e,t,n){const r=n(88208),a=n(55062);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},9077:function(e,t,n){const r=n(88208),a=n(55062),o=n(74765);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const a=e.set[t];let i=null;a.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},44494:function(e,t,n){const r=n(88208),a=n(45702),{ANY:o}=a,i=n(55062),s=n(53907),l=n(74765),c=n(63590),u=n(94638),p=n(71767);e.exports=(e,t,n,d)=>{let m,h,f,g,b;switch(e=new r(e,d),t=new i(t,d),n){case">":m=l,h=u,f=c,g=">",b=">=";break;case"<":m=c,h=p,f=l,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let i=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,d)?i=e:f(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===b)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===b&&f(e,s.semver))return!1}return!0}},23589:function(e,t,n){const r=n(53907),a=n(50192);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const l=e.sort(((e,t)=>a(e,t,n)));for(const e of l){r(e,t,n)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length<p.length?u:t}},34992:function(e,t,n){const r=n(55062),a=n(45702),{ANY:o}=a,i=n(53907),s=n(50192),l=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?[new a(">=0.0.0-0")]:[new a(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=[new a(">=0.0.0")]}const r=new Set;let l,p,d,m,h,f,g;for(const t of e)">"===t.operator||">="===t.operator?l=c(l,t,n):"<"===t.operator||"<="===t.operator?p=u(p,t,n):r.add(t.semver);if(r.size>1)return null;if(l&&p){if(d=s(l.semver,p.semver,n),d>0)return null;if(0===d&&(">="!==l.operator||"<="!==p.operator))return null}for(const e of r){if(l&&!i(e,String(l),n))return null;if(p&&!i(e,String(p),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let b=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,k=!(!l||n.includePrerelease||!l.semver.prerelease.length)&&l.semver;b&&1===b.prerelease.length&&"<"===p.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,l)if(k&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===k.major&&e.semver.minor===k.minor&&e.semver.patch===k.patch&&(k=!1),">"===e.operator||">="===e.operator){if(m=c(l,e,n),m===e&&m!==l)return!1}else if(">="===l.operator&&!i(l.semver,String(e),n))return!1;if(p)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=u(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!i(p.semver,String(e),n))return!1;if(!e.operator&&(p||l)&&0!==d)return!1}return!(l&&f&&!p&&0!==d)&&(!(p&&g&&!l&&0!==d)&&(!k&&!b))},c=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=l(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},76055:function(e,t,n){const r=n(55062);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},53140:function(e,t,n){const r=n(55062);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},88090:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7478),a={contextDelimiter:"",onMissingKey:null};function o(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},a)this.options[n]=void 0!==t&&n in t?t[n]:a[n]}o.prototype.getPluralForm=function(e,t){var n,a,o,i=this.pluralForms[e];return i||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(a=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=(0,r.Z)(a)),i=this.pluralForms[e]=o),i(t)},o.prototype.dcnpgettext=function(e,t,n,r,a){var o,i,s;return o=void 0===a?0:this.getPluralForm(e,a),i=n,t&&(i=t+this.options.contextDelimiter+n),(s=this.data[e][i])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)}},80816:function(e,t,n){"use strict";var r=n(90922),a=n.n(r),o=n(92819);const i=a()("dops:analytics");let s,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){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]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);this.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]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,o,i){c.ga.recordPurchase(e,t,n,r,a,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=(0,o.assign)(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),i("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){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),i(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=c},9481:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},11973:function(e,t,n){"use strict";var r=n(9481),a=n(80816);a.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),a.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=a.Z},63533:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(55609),u=n(92819);const __=l.__,p="09:00",d="17:00";class m extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,{opening:r,closing:a}=e;return(0,o.createElement)(o.Fragment,{key:t},(0,o.createElement)("div",{className:"business-hours__row"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.TextControl,{type:"time",label:__("Opening","jetpack"),value:r,className:"business-hours__open",placeholder:p,onChange:e=>{this.setHour(e,"opening",t)}}),(0,o.createElement)(c.TextControl,{type:"time",label:__("Closing","jetpack"),value:a,className:"business-hours__close",placeholder:d,onChange:e=>{this.setHour(e,"closing",t)}})),(0,o.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,o.createElement)(c.Button,{isSmall:!0,isLink:!0,icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,o.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")}," "),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.Button,{isLink:!0,label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,o.createElement)("div",{className:"business-hours__remove"}," ")))})),a()(this,"setHour",((e,t,n)=>{const{day:r,attributes:a,setAttributes:o}=this.props,{days:i}=a;o({days:i.map((a=>a.name===r.name?{...a,hours:a.hours.map(((r,a)=>a===n?{...r,[t]:e}:r))}:a))})})),a()(this,"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:p,closing:d}]:[];return{...n,hours:t}}return n}))})})),a()(this,"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))})})),a()(this,"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,u.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,o.createElement)(c.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,o.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,o.createElement)("div",{className:s()(e.name,"business-hours__day")},this.renderDayToggle()),(0,o.createElement)("div",{className:s()(e.name,"closed","business-hours__hours")}," "),(0,o.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}t.Z=m},20920:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(69771),l=n(92819);const _x=i._x;class c extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,r=n.hours;return(0,o.createElement)("span",{key:t},(0,i.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),r.length>1+t&&(0,o.createElement)("span",null,", "))}))}formatTime(e){const{timeFormat:t}=this.props,[n,r]=e.split(":"),a=new Date;return!(!n||!r)&&(a.setHours(n),a.setMinutes(r),(0,s.date)(t,a))}render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,o.createElement)("div",{className:"jetpack-business-hours__item"},(0,o.createElement)("dt",{className:e.name},t.days[e.name]),(0,o.createElement)("dd",null,(0,l.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,o.createElement)("br",null)))}}t.Z=c},85932:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(27538),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(89105),p=n.n(u),d=n(65736),m=n(69771),h=n(52175),f=n(55609),g=n(63533),b=n(20920),k=n(8042);const __=d.__,v={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0};class y extends s.Component{constructor(){super(...arguments),i()(this,"state",{localization:v,hasFetched:!1})}componentDidMount(){this.apiFetch()}apiFetch(){this.setState({data:v},(()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{this.setState({localization:e,hasFetched:!0})}),(()=>{this.setState({localization:v,hasFetched:!0})}))}))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{days:r}=e,{localization:o,hasFetched:i}=this.state,{startOfWeek:l}=o,c=r.concat(r.slice(0,l)).slice(l);if(!i)return(0,s.createElement)(f.Placeholder,{icon:(0,s.createElement)(h.BlockIcon,{icon:k.qv}),label:__("Loading business hours","jetpack")});if(!n){const e=(0,m.__experimentalGetSettings)(),{formats:{time:n}}=e;return(0,s.createElement)("dl",{className:p()(t,"jetpack-business-hours")},c.map(((e,t)=>(0,s.createElement)(b.Z,{key:t,day:e,localization:o,timeFormat:n}))))}return(0,s.createElement)("div",{className:p()(t,"is-edit")},c.map(((e,t)=>(0,s.createElement)(g.Z,a()({key:t,day:e,localization:o},this.props)))))}}t.Z=y},8042:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},qv:function(){return p},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(85932),s=n(41632),l=n(57535);const __=a.__,_x=a._x,c=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],u="business-hours",p=(0,s.Z)((0,r.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),d={title:__("Business Hours","jetpack"),description:__("Display opening hours for your business.","jetpack"),icon:{src:p,foreground:(0,l.m)()},category:"grow",supports:{html:!0},keywords:[_x("opening hours","block search term","jetpack"),_x("closing time","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("working day","block search term","jetpack")],attributes:{days:{type:"array",default:c}},edit:e=>(0,r.createElement)(i.Z,e),save:()=>null,example:{attributes:{days:c}}}},83487:function(e,t,n){"use strict";var r=n(92819),a=n(55609);const o=(0,a.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:a}=t,o=(0,r.get)(n,"color"),i=!(0,r.get)(a,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:a||!i?void 0:getComputedStyle(i).color}}));t.Z=o},70443:function(e,t,n){"use strict";var r=n(68039);t.Z={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.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:r.Z},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},24429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(77012);const __=o.__;function s(e){let{borderRadius:t="",setAttributes:n}=e;const o=(0,r.useCallback)((e=>n({borderRadius:e})),[n]);return(0,r.createElement)(a.PanelBody,{title:__("Border Settings","jetpack")},(0,r.createElement)(a.RangeControl,{allowReset:!0,initialPosition:i.pg,label:__("Border radius","jetpack"),max:i.Gp,min:i.G0,onChange:o,value:t}))}},63020:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(65736);const __=o.__;function i(e){let{isGradientAvailable:t,backgroundColor:n,fallbackBackgroundColor:o,fallbackTextColor:i,gradientValue:s,setBackgroundColor:l,setGradient:c,setTextColor:u,textColor:p}=e;const d=(0,r.createElement)(a.ContrastChecker,{backgroundColor:n.color,fallbackBackgroundColor:o,fallbackTextColor:i,isLargeText:!1,textColor:p.color});return t?(0,r.createElement)(a.__experimentalPanelColorGradientSettings,{settings:[{colorValue:p.color,label:__("Text Color","jetpack"),onColorChange:u},{colorValue:n.color,gradientValue:s,label:__("Background","jetpack"),onColorChange:l,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,r.createElement)(a.PanelColorSettings,{colorSettings:[{value:p.color,onChange:u,label:__("Text Color","jetpack")},{value:n.color,onChange:l,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},80790:function(e,t,n){"use strict";n.d(t,{Z:function(){return p},h:function(){return d}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=[{value:"px",label:"px",default:150},{value:"%",label:"%",default:100},{value:"em",label:"em",default:10}],c=[{value:"px",label:"px",default:150},{value:"em",label:"em",default:10}],u=["25%","50%","75%","100%"];function p(e){return(0,r.createElement)(i.PanelBody,{title:__("Width settings","jetpack")},(0,r.createElement)(d,e))}function d(e){let{align:t,width:n,onChange:a}=e;const[s,p]=(0,r.useState)(null);(0,r.useEffect)((()=>{void 0===n&&p("px")}),[n]);const d="left"===t||"right"===t;return(0,r.createElement)(i.BaseControl,{label:__("Button width","jetpack")},(0,r.createElement)("div",{className:o()("jetpack-button__width-settings",{"is-aligned":d})},!d&&(0,r.createElement)(i.ButtonGroup,{"aria-label":__("Percentage Width","jetpack")},u.map((e=>(0,r.createElement)(i.Button,{key:e,isSmall:!0,isPrimary:e===n,onClick:()=>function(e){const t=n===e?void 0:e;p("%"),a(t)}(e)},e)))),(0,r.createElement)(i.__experimentalUnitControl,{className:"jetpack-button__custom-width",isResetValueOnUnitChange:!0,max:"%"===s||n?.includes("%")?100:void 0,min:0,onChange:e=>a(e),onUnitChange:e=>p(e),size:"small",units:d?c:l,value:n,unit:s})))}},77012:function(e,t,n){"use strict";n.d(t,{DA:function(){return a},pg:function(){return o},Gp:function(){return i},G0:function(){return s}});var r=n(52175);const a=!!r.__experimentalUseGradient,o=5,i=50,s=0},78593:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(24429),o=n(63020),i=n(80790);function s(e){let{attributes:t,backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,setAttributes:c,setBackgroundColor:u,setTextColor:p,textColor:d,gradientValue:m,setGradient:h,isGradientAvailable:f}=e;const{align:g,borderRadius:b,width:k}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,gradientValue:m,setBackgroundColor:u,setGradient:h,setTextColor:p,textColor:d,isGradientAvailable:f}),(0,r.createElement)(a.Z,{borderRadius:b,setAttributes:c}),(0,r.createElement)(i.Z,{align:g,width:k,onChange:e=>c({width:e})}))}},16867:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(52175),c=n(94333),u=n(65736),p=n(83487),d=n(78593),m=n(77012),h=n(31123);const __=u.__;t.Z=(0,c.compose)((0,l.withColors)({backgroundColor:"background-color"},{textColor:"color"}),p.Z)((function(e){const{attributes:t,backgroundColor:n,className:r,clientId:i,setAttributes:c,textColor:u}=e,{align:p,borderRadius:f,element:g,placeholder:b,text:k,width:v}=t,y=(e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current})(p);(0,h.Z)({attributes:t,clientId:i,setAttributes:c}),(0,o.useEffect)((()=>{y!==p&&("left"===p||"right"===p)&&v?.includes("%")&&c({width:void 0})}),[p,y,c,v]);const{gradientClass:E,gradientValue:w,setGradient:_}=m.DA?(0,l.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},C=s()("wp-block-button",r),x=s()("wp-block-button__link",{"has-background":n.color||w,[n.class]:!w&&n.class,"has-text-color":u.color,[u.class]:u.class,[E]:E,"no-border-radius":0===f,"has-custom-width":!!v}),j={...!n.color&&w?{background:w}:{backgroundColor:n.color},color:u.color,borderRadius:f?f+"px":void 0,width:v};return(0,o.createElement)("div",{className:C},(0,o.createElement)(l.RichText,{allowedFormats:"input"===g?[]:void 0,className:x,disableLineBreaks:"input"===g,onChange:e=>{const t="input"===g?e.replace(/<br>/gim," "):e;c({text:t})},placeholder:b||__("Add text…","jetpack"),style:j,value:k,withoutInteractiveFormatting:!0}),(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(d.Z,a()({gradientValue:w,setGradient:_,isGradientAvailable:m.DA},e))))}))},51245:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(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"}))},32278:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(65736),a=n(70443),o=n(16867),i=n(51245),s=n(41328),l=n(20510);const __=r.__,c="button",u={title:__("Button","jetpack"),icon:i.Z,category:(0,l.Z)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"]},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:a.Z,edit:o.Z,save:s.Z}},41328:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(77012);function l(e){let{attributes:t,blockName:n,uniqueId:a}=e;const{backgroundColor:l,borderRadius:c,className:u,customBackgroundColor:p,customGradient:d,customTextColor:m,gradient:h,saveInPostContent:f,text:g,textColor:b,url:k,width:v}=t;if(!f)return null;const y=(0,i.getColorClassName)("background-color",l),E=s.DA?(0,i.__experimentalGetGradientClass)(h):void 0,w=(0,i.getColorClassName)("color",b),_=o()("wp-block-button","jetpack-submit-button",u,{[`wp-block-jetpack-${n}`]:n}),C=o()("wp-block-button__link",{"has-text-color":b||m,[w]:w,"has-background":l||h||p||d,[y]:y,[E]:E,"no-border-radius":0===c,"has-custom-width":!!v}),x={background:d||void 0,backgroundColor:y||d||h?void 0:p,color:w?void 0:m,borderRadius:c?c+"px":void 0,width:v};return(0,r.createElement)("div",{className:_},(0,r.createElement)(i.RichText.Content,{className:C,"data-id-attr":a||"placeholder",href:k,id:a,rel:"noopener noreferrer",role:"button",style:x,tagName:"a",target:"_blank",value:g}))}},31123:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(9818),o=n(69307);function i(e){let{attributes:t,clientId:n,setAttributes:i}=e;const{passthroughAttributes:s}=t,{attributesToSync:l}=(0,a.useSelect)((e=>{const{getBlockAttributes:a,getBlockRootClientId:o}=e("core/block-editor"),i=a(o(n))||{},l=(0,r.mapValues)(s,(e=>i[e]));return{attributesToSync:(0,r.pickBy)(l,((e,n)=>e!==t[n]))}}));(0,o.useEffect)((()=>{(0,r.isEmpty)(l)||i(l)}),[l,i])}},35932:function(e,t,n){"use strict";var r=n(68039);t.Z={backgroundColor:{type:"string",default:"ffffff",validator:r.Z},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:r.Z},textColor:{type:"string",default:"4D5055",validator:r.Z},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")}}},16485:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(72566);const __=i.__,_x=i._x,l=e=>{let{onEditClick:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{onClick:()=>t(!0)},__("Edit","jetpack")))},c=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:a,embedCode:i,parseEmbedCode:s,setAttributes:l,setEmbedCode:c}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:s,className:`${a}-embed-form-sidebar`},(0,r.createElement)("input",{type:"text",id:"embedCode",onChange:e=>c(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,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)(o.ToggleControl,{label:__("Hide event type details","jetpack"),checked:t,onChange:()=>l({hideEventTypeDetails:!t})})),n&&(0,r.createElement)(o.Notice,{className:`${a}-color-notice`,isDismissible:!1},(0,r.createElement)(o.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},__("Follow these instructions to change the colors in this block.","jetpack"))))};t.ZP=e=>{const{attributes:t,clientId:n,isEditingUrl:o,setAttributes:i,setIsEditingUrl:u}=e,{style:p,url:d}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,r.createElement)(r.Fragment,null,d&&!o&&(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(l,{onEditClick:u})),d&&(0,r.createElement)(s.Z,{clientId:n,styleOptions:m,onSelectStyle:i,activeStyle:p,attributes:t,viewportWidth:500}),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(c,e)))}},77017:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(68039);const __=o.__;t.Z={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:i.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:i.Z},textColor:{type:"string",default:"4D5055",validator:i.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:i.Z},customTextButtonColor:{type:"string",validator:i.Z}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:r,submitButtonClasses:o,backgroundButtonColor:i,textButtonColor:s,customBackgroundButtonColor:l,customTextButtonColor:c,...u}=e,p={text:(d=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:d.submitButtonTextColor||d.textButtonColor,customTextColor:d.customTextButtonColor,backgroundColor:d.submitButtonBackgroundColor||d.backgroundButtonColor,customBackgroundColor:d.customBackgroundButtonColor,url:d.url};var d;return[u,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...p})]]},save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)}}},96537:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=(n(86841),n(92819)),s=n(5157),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(9818),m=n(59040),h=n(35932),f=n(14087),g=n(79042),b=n(79884),k=n(87072),v=n(16485);const __=u.__,_x=u._x;t.Z=(0,c.withNotices)((function(e){const{attributes:t,className:n,clientId:r,name:u,noticeOperations:y,noticeUI:E,setAttributes:w}=e,_=(0,p.getBlockDefaultClassName)(u),C=(0,f.S)(h.Z,t);(0,i.isEqual)(C,t)||w(C);const{backgroundColor:x,hideEventTypeDetails:j,primaryColor:S,textColor:A,style:N,url:T}=C,[P,M]=(0,o.useState)(T),[I,R]=(0,o.useState)(!1),[L,B]=(0,o.useState)(!1),[F,Z]=(0,o.useState)({}),D=()=>{y.removeAllNotices(),y.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,o.useEffect)((()=>{T&&b.lR!==T&&"link"!==N&&(0,k.Z)(T,B).catch((()=>{w({url:void 0}),D()}))}),[]);const O=e=>{if(!e)return void D();e.preventDefault();const t=(0,g.CC)(P);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,d.select)("core/editor").getBlocksByClientId(r);e.length&&e[0].innerBlocks.forEach((e=>{(0,d.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),Z(t.buttonAttributes)}(0,k.Z)(t.url,B).then((()=>{const e=(0,f.S)(h.Z,t);w(e),R(!1),y.removeAllNotices()})).catch((()=>{w({url:void 0}),D()}))}else D()},z=(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(c.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack"))),$=(0,o.createElement)(c.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:(0,o.createElement)(l.BlockIcon,{icon:m.Z}),notices:E},(0,o.createElement)("form",{onSubmit:O},(0,o.createElement)("input",{type:"text",id:"embedCode",onChange:e=>M(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:P||"",className:"components-placeholder__input"}),(0,o.createElement)("div",null,(0,o.createElement)(c.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,o.createElement)("div",{className:`${_}-learn-more`},(0,o.createElement)(c.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),U=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:`${_}-overlay`}),(0,o.createElement)("iframe",{src:(()=>{const e=s.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:j?1:0,background_color:x,primary_color:S,text_color:A});return`${T}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),V=(0,o.createElement)(l.InnerBlocks,{template:[[b.Ss.name,{...b.Ss.attributes,...F,passthroughAttributes:{url:"url"}}]],templateLock:"all"});if(L)return z;let q=n;return T&&!I&&(q+=` calendly-style-${N}`),(0,o.createElement)("div",{className:q},(0,o.createElement)(v.ZP,a()({},e,{defaultClassName:_,embedCode:P,isEditingUrl:I,parseEmbedCode:O,setEmbedCode:M,setIsEditingUrl:R})),T&&!I?"inline"===N?U:V:$)}))},59040:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19,1h-2.3v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H8.6v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H4C1.8,1,0,2.8,0,5 v15c0,2.2,1.8,4,4,4h15c2.2,0,4-1.8,4-4V5C23,2.8,21.2,1,19,1z M21,20c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V5c0-1.1,0.9-2,2-2h2.6 v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3h6.1v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3H19c1.1,0,2,0.9,2,2V20z M13.9,14.8l1.4,1.4 c-0.9,0.9-2.1,1.3-3.5,1.3c-2.4,0-4.5-2.1-4.5-4.7s2.1-4.7,4.5-4.7c1.4,0,2.5,0.4,3.4,1.1L14,10.9c-0.5-0.4-1.2-0.6-2.1-0.6 c-1.2,0-2.5,1.1-2.5,2.7c0,1.6,1.3,2.7,2.5,2.7C12.7,15.5,13.4,15.3,13.9,14.8z"}))},79884:function(e,t,n){"use strict";n.d(t,{lR:function(){return d},Ss:function(){return m},u2:function(){return h},Xd:function(){return f}});var r=n(65736),a=n(4981),o=n(35932),i=n(77017),s=n(96537),l=n(59040),c=n(56610),u=n(79042),p=n(57535);const __=r.__,_x=r._x,d="https://calendly.com/wpcom/jetpack-block-example",m={name:"jetpack/button",attributes:{element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:d}},h="calendly",f={title:__("Calendly","jetpack"),description:__("Embed a calendar for customers to schedule appointments","jetpack"),icon:{src:l.Z,foreground:(0,p.m)()},category:"grow",keywords:[_x("calendar","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack"),_x("events","block search term","jetpack"),_x("dates","block search term","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:s.Z,save:c.Z,attributes:o.Z,example:{attributes:{hideEventTypeDetails:!1,style:"inline",url:d},innerBlocks:[m]},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&u.mL.test(e.textContent),transform:e=>{const t=(0,u.CC)(e.textContent);return(0,a.createBlock)("jetpack/calendly",t)}}]},deprecated:[i.Z]}},56610:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null))}},79042:function(e,t,n){"use strict";n.d(t,{mL:function(){return r},CC:function(){return 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"),o=r.get("primary_color"),i=r.get("text_color"),s=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(s)&&(t.backgroundColor=a),o&&o.match(s)&&(t.primaryColor=o),i&&i.match(s)&&(t.textColor=i),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}},89534:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Message Sent","jetpack")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0}}},60689:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "<error />".',"jetpack"),{error:(0,r.createElement)("span",null,t)}))}},81316:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(60689);const __=s.__,c=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:s,crmData:c,setCRMData:u}=e;const p=((e,t,n,r)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},n);t.jp_form_ext_enabled=!0,r(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(n,s,c,u);return t?(0,r.createElement)(i.Spinner,null):a?(0,r.createElement)(l.Z,{error:a}):(0,r.createElement)(i.Button,{isSecondary:!0,onClick:p},__("Enable Jetpack Forms Extension","jetpack"))},u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack"));t.Z=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s}=e;return i.can_activate_extension?(0,r.createElement)("div",null,(0,r.createElement)(p,null),(0,r.createElement)("br",null),(0,r.createElement)(c,{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s})):(0,r.createElement)(u,null)}},36080:function(e,t,n){"use strict";var r=n(69307),a=n(53377),o=n.n(a),i=n(55609),s=n(65736),l=n(81316);const __=s.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM is installed but has an invalid version.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Zero BS CRM plugin is now Jetpack CRM. Update to the latest version to integrate your contact form with your CRM.","jetpack")),d=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},(0,r.createInterpolateElement)(__("You can save contacts from Jetpack contact forms in Jetpack CRM. Learn more at <a>jetpackcrm.com</a>","jetpack"),{a:(0,r.createElement)(i.ExternalLink,{href:"https://jetpackcrm.com"})})),m=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You already have the Jetpack CRM plugin installed, but it's not activated. Activate the Jetpack CRM plugin to save contacts from this contact form in your Jetpack CRM.","jetpack")),h=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:s}=e;const[c,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)(!1);return t.jp_form_ext_enabled?o().satisfies(o().coerce(t.crm_version),"3.0.19 - 4.0.0")?(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack")):(0,r.createElement)(i.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack"),checked:a,onChange:e=>s({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack")}):(0,r.createElement)(l.Z,{isActivatingExt:c,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:n})};t.Z=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}=e;const s=o().coerce(t.crm_version);if(t.crm_installed&&!s)return(0,r.createElement)(u,null);if(t.crm_installed&&o().lt(s,"3.0.19"))return(0,r.createElement)(p,null);let l=c.NOT_INSTALLED;return t.crm_active?l=c.ACTIVE:t.crm_installed&&(l=c.INSTALLED),(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===l&&(0,r.createElement)(h,{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}),c.INSTALLED===l&&(0,r.createElement)(m,null),c.NOT_INSTALLED===l&&(0,r.createElement)(d,null))}},6361:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(36080);const __=s.__,c=e=>{let{isFetchingCRMData:t,hasCRMDataError:n,crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c}=e;return t?(0,r.createElement)(i.Spinner,null):n?null:(0,r.createElement)(l.Z,{crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c})};t.Z=e=>{let{jetpackCRM:t,setAttributes:n}=e;const[a,s]=(0,r.useState)(!0),[l,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)();return(0,r.useEffect)((()=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((e=>{if(e.error)throw e.message;u(!1),d(e)})).catch((()=>u(!0))).finally((()=>s(!1)))}),[]),(0,r.createElement)(i.PanelBody,{title:__("CRM Integration","jetpack"),initialOpen:!1},(0,r.createElement)(i.BaseControl,null,(0,r.createElement)(c,{isFetchingCRMData:a,hasCRMDataError:l,crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:n})))}},69802:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(80500),c=n(8523);const __=a.__;t.Z=(0,s.withInstanceId)((function(e){const{id:t,instanceId:n,required:a,label:s,setAttributes:u,width:p,defaultValue:d}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-checkbox-${n}`,className:"jetpack-field jetpack-field-checkbox",label:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:d}),(0,r.createElement)(l.Z,{required:a,label:s,setAttributes:u}),(0,r.createElement)(c.Z,{id:t,required:a,width:p,setAttributes:u}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Checkbox Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Checked by default","jetpack"),checked:d,onChange:e=>u({defaultValue:e?"true":""})}))))})}))},57324:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(80500),c=n(84803),u=n(10745);const __=a.__;t.Z=(0,s.withInstanceId)((e=>{var t;let{id:n,instanceId:s,width:p,consentType:d,implicitConsentMessage:m,explicitConsentMessage:h,setAttributes:f}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-consent-${s}`,className:"jetpack-field jetpack-field-consent",label:(0,r.createElement)(r.Fragment,null,"explicit"===d&&(0,r.createElement)("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),(0,r.createElement)(l.Z,{required:!1,label:null!==(t={implicit:m,explicit:h}[d])&&void 0!==t?t:"",setAttributes:f,labelFieldName:`${d}ConsentMessage`,placeholder:(0,a.sprintf)(
+!function(){var e,t,n,r,a,o,i={18294:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},82402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},61074:function(e,t,n){"use strict";var r=n(69307);t.Z=function(e){let{icon:t,size:n=24,...a}=e;return(0,r.cloneElement)(t,{width:n,height:n,...a})}},20843:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.Z=o},77840:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.Z=o},47659:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},73320:function(e,t){var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)a(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function a(e,a){if(a){var o=typeof a;"string"===o?function(e,t){for(var n=t.split(r),a=n.length,o=0;o<a;++o)e[n[o]]=!0}(e,a):Array.isArray(a)?t(e,a):"object"===o?function(e,t){if(t.toString===Object.prototype.toString)for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,a):"number"===o&&function(e,t){e[t]=!0}(e,a)}}return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=new e;t(o,r);var i=[];for(var s in o)o[s]&&i.push(s);return i.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},65235:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},94273:function(e){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,a,o,i=-1;for(t=0,a=e.length;t<a;t+=1){for(o=255&(i^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;i=i>>>8^o}return-1^i}function a(e,n){var r,o,i;if(void 0!==a.crc&&n&&e||(a.crc=-1,e)){for(r=a.crc,o=0,i=e.length;o<i;o+=1)r=r>>>8^t[255&(r^e[o])];return a.crc=r,-1^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}()},22424:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var a=o(n[0]);a!==n[0]&&(t[n[0]]=a)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var l=i[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},92384:function(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:function(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 o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,a,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var a,o,i,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),i=o[t]),void 0===i)i=o[t]=n,++e._eventsCount;else if("function"==typeof i?i=o[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(a=l(e))>0&&i.length>a&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}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 p(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 d(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;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):h(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function f(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function a(o){r.once&&e.removeEventListener(t,a),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var a="error"===e,o=this._events;if(void 0!==o)a=a&&void 0===o.error;else if(!a)return!1;if(a){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,a,o,i;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){i=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(a=o[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.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"]},r={floor:Math.floor,ceil:Math.ceil};function a(a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,x,j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},S=[],A=0;if(isNaN(a))throw new TypeError("Invalid number");if(s=!0===j.bits,k=!0===j.unix,g=!0===j.pad,i=j.base||10,b=void 0!==j.round?j.round:k?1:2,p=void 0!==j.locale?j.locale:"",d=j.localeOptions||{},y=void 0!==j.separator?j.separator:"",E=void 0!==j.spacer?j.spacer:k?"":" ",_=j.symbols||{},w=2===i?j.standard||"iec":"jedec",f=j.output||"string",c=!0===j.fullform,u=j.fullforms instanceof Array?j.fullforms:[],o=void 0!==j.exponent?j.exponent:-1,C=r[j.roundingMethod]||Math.round,m=(h=Number(a))<0,l=i>2?1e3:1024,x=!1===isNaN(j.precision)?parseInt(j.precision,10):0,m&&(h=-h),(-1===o||isNaN(o))&&(o=Math.floor(Math.log(h)/Math.log(l)))<0&&(o=0),o>8&&(x>0&&(x+=8-o),o=8),"exponent"===f)return o;if(0===h)S[0]=0,v=S[1]=k?"":t[w][s?"bits":"bytes"][o];else{A=h/(2===i?Math.pow(2,10*o):Math.pow(1e3,o)),s&&(A*=8)>=l&&o<8&&(A/=l,o++);var P=Math.pow(10,o>0?b:0);S[0]=C(A*P)/P,S[0]===l&&o<8&&void 0===j.exponent&&(S[0]=1,o++),v=S[1]=10===i&&1===o?s?"kbit":"kB":t[w][s?"bits":"bytes"][o],k&&(S[1]=S[1].charAt(0),e.test(S[1])&&(S[0]=Math.floor(S[0]),S[1]=""))}if(m&&(S[0]=-S[0]),x>0&&(S[0]=S[0].toPrecision(x)),S[1]=_[S[1]]||S[1],!0===p?S[0]=S[0].toLocaleString():p.length>0?S[0]=S[0].toLocaleString(p,d):y.length>0&&(S[0]=S[0].toString().replace(".",y)),g&&!1===Number.isInteger(S[0])&&b>0){var N=y||".",T=S[0].toString().split(N),R=T[1]||"",M=R.length,I=b-M;S[0]="".concat(T[0]).concat(N).concat(R.padEnd(M+I,"0"))}return c&&(S[1]=u[o]?u[o]:n[w][o]+(s?"bit":"byte")+(1===S[0]?"":"s")),"array"===f?S:"object"===f?{value:S[0],symbol:S[1],exponent:o,unit:v}:S.join(E)}return a.partial=function(e){return function(t){return a(t,e)}},a}()},68017:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o<r.length;o++){var i=r[o],s=e[i];(a?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},84097: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,o=(r=r||{}).Base64,i="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),c=String.fromCharCode,u=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},p=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(p,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[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},h=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)},f=function(e){return h(d(String(e)))},g=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},b=function(e,t){return t?g(f(e)):f(e)},v=function(e){return b(e,!0)};r.Uint8Array&&(a=function(e,t){for(var n="",r=0,a=e.length;r<a;r+=3){var o=e[r],i=e[r+1],l=e[r+2],c=o<<16|i<<8|l;n+=s.charAt(c>>>18)+s.charAt(c>>>12&63)+(void 0!==i?s.charAt(c>>>6&63):"=")+(void 0!==l?s.charAt(63&c):"=")}return t?g(n):n});var k,y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=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 c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(y,E)},_=function(e){var t=e.length,n=t%4,r=(t>0?l[e.charAt(0)]<<18:0)|(t>1?l[e.charAt(1)]<<12:0)|(t>2?l[e.charAt(2)]<<6:0)|(t>3?l[e.charAt(3)]:0),a=[c(r>>>16),c(r>>>8&255),c(255&r)];return a.length-=[0,0,2,1][n],a.join("")},C=r.atob&&"function"==typeof r.atob?function(e){return r.atob(e)}:function(e){return e.replace(/\S{1,4}/g,_)},x=function(e){return C(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},j=function(e){return w(C(e))},S=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},A=function(e){return j(S(e))};r.Uint8Array&&(k=function(e){return Uint8Array.from(x(S(e)),(function(e){return e.charCodeAt(0)}))});var P=function(){var e=r.Base64;return r.Base64=o,e};if(r.Base64={VERSION:i,atob:x,btoa:h,fromBase64:A,toBase64:b,utob:d,encode:b,encodeURI:v,btou:w,decode:A,noConflict:P,fromUint8Array:a,toUint8Array:k},"function"==typeof Object.defineProperty){var N=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N((function(){return A(this)}))),Object.defineProperty(String.prototype,"toBase64",N((function(e){return b(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",N((function(){return b(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)},62232:function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(95843)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?o(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,o,i,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(a=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},95843:function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(44957).source,t.src_Cc=n(19590).source,t.src_Z=n(59939).source,t.src_P=n(95162).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},82746:function(e,t,n){"use strict";const r=n(17811),a=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),h=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[s])return}else n&&(e[m]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},b=e=>{if(e[o]>e[a])for(let t=e[p].tail;e[o]>e[a]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[p].removeNode(t)}};class k{constructor(e,t,n,r,a){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=a||0}}const y=(e,t,n,r)=>{let a=n.value;g(e,a)&&(v(e,n),e[s]||(a=void 0)),a&&t.call(r,a.value,a.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[a]=e.max||1/0;const t=e.length||h;if(this[i]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,b(this)}get max(){return this[a]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,b(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[i]&&(this[i]=e,this[o]=0,this[p].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),b(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[p].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new r,this[o]=0}dump(){return this[p].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[i](t,e);if(this[d].has(e)){if(s>this[a])return v(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=r,i.maxAge=n,i.value=t,this[o]+=s-i.length,i.length=s,this.get(e),b(this),!0}const m=new k(e,t,s,r,n);return m.length>this[a]?(this[c]&&this[c](e,t),!1):(this[o]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),b(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],a=r.e||0;if(0===a)this.set(r.k,r.v);else{const e=a-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},10185:function(e,t,n){"use strict";e.exports=n(9702)},38337:function(e,t,n){"use strict";e.exports=n(84321)},43093:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},36570:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=a},39615:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(38337);var p=/[&<>"]/,d=/[&<>"]/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return m[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var g=n(95162);t.lib={},t.lib.mdurl=n(49236),t.lib.ucmicro=n(84353),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},57007:function(e,t,n){"use strict";t.parseLinkLabel=n(82174),t.parseLinkDestination=n(36990),t.parseLinkTitle=n(15336)},36990:function(e,t,n){"use strict";var r=n(39615).unescapeAll;e.exports=function(e,t,n){var a,o,i=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t)))return s;if(60===a)return s;if(62===a)return s.pos=t+1,s.str=r(e.slice(i+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===a&&++o>32)return s;if(41===a){if(0===o)break;o--}t++}return i===t||0!==o||(s.str=r(e.slice(i,t)),s.lines=0,s.pos=t,s.ok=!0),s}},82174:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)r++;else if(n)return e.pos=c,-1}return a&&(s=e.pos),e.pos=c,s}},15336:function(e,t,n){"use strict";var r=n(39615).unescapeAll;e.exports=function(e,t,n){var a,o,i=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((a=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=i,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===a&&41===o)return l;10===a?i++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&i++),t++}return l}},9702:function(e,t,n){"use strict";var r=n(39615),a=n(57007),o=n(42403),i=n(17742),s=n(99575),l=n(37487),c=n(62232),u=n(49236),p=n(60300),d={default:n(66223),zero:n(11582),commonmark:n(9372)},m=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!m.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function k(e,t){if(!(this instanceof k))return new k(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new i,this.renderer=new o,this.linkify=new c,this.validateLink=f,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}k.prototype.set=function(e){return r.assign(this.options,e),this},k.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},k.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},k.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},k.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},k.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},k.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},k.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},k.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=k},99575:function(e,t,n){"use strict";var r=n(81377),a=[["table",n(12592),["paragraph","reference"]],["code",n(99334)],["fence",n(79783),["paragraph","reference","blockquote","list"]],["blockquote",n(36901),["paragraph","reference","blockquote","list"]],["hr",n(68837),["paragraph","reference","blockquote","list"]],["list",n(46388),["paragraph","reference","blockquote"]],["reference",n(33765)],["html_block",n(33869),["paragraph","reference","blockquote"]],["heading",n(21127),["paragraph","reference","blockquote"]],["lheading",n(5393)],["paragraph",n(24934)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),o=a.length,i=t,s=!1,l=e.md.options.maxNesting;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!a[r](e,i,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<n&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},o.prototype.State=n(75355),e.exports=o},17742:function(e,t,n){"use strict";var r=n(81377),a=[["normalize",n(13837)],["block",n(30884)],["inline",n(25334)],["linkify",n(64756)],["replacements",n(60555)],["smartquotes",n(28867)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(30727),e.exports=o},37487:function(e,t,n){"use strict";var r=n(81377),a=[["text",n(10937)],["newline",n(62378)],["escape",n(8329)],["backticks",n(7912)],["strikethrough",n(54988).w],["emphasis",n(56141).w],["link",n(95028)],["image",n(92560)],["autolink",n(73273)],["html_inline",n(9955)],["entity",n(54408)]],o=[["balance_pairs",n(76399)],["strikethrough",n(54988).g],["emphasis",n(56141).g],["text_collapse",n(52406)]];function i(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}i.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),o=a.length,i=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<i)for(n=0;n<o&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},i.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,n,r){var a,o,i,s=new this.State(e,t,n,r);for(this.tokenize(s),i=(o=this.ruler2.getRules("")).length,a=0;a<i;a++)o[a](s)},i.prototype.State=n(25240),e.exports=i},9372:function(e){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},66223:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},11582:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},42403:function(e,t,n){"use strict";var r=n(39615).assign,a=n(39615).unescapeAll,o=n(39615).escapeHtml,i={};function s(){this.rules=r({},i)}i.code_inline=function(e,t,n,r,a){var i=e[t];return"<code"+a.renderAttrs(i)+">"+o(e[t].content)+"</code>"},i.code_block=function(e,t,n,r,a){var i=e[t];return"<pre"+a.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,n,r,i){var s,l,c,u,p,d=e[t],m=d.info?a(d.info).trim():"",h="",f="";return m&&(h=(c=m.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,h,f)||o(d.content)).indexOf("<pre")?s+"\n":m?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),p={attrs:u},"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},i.image=function(e,t,n,r,a){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=a.renderInlineAsText(o.children,n,r),a.renderToken(e,t,n)},i.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return o(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,a="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===i.nesting?"</":"<")+i.tag,a+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(a+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===i.tag)&&(o=!1)),a+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,a="",o=this.rules,i=0,s=e.length;i<s;i++)void 0!==o[r=e[i].type]?a+=o[r](e,i,t,n,this):a+=this.renderToken(e,i,t);return a},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,o=e.length;a<o;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type?r+=this.renderInlineAsText(e[a].children,t,n):"softbreak"===e[a].type&&(r+="\n");return r},s.prototype.render=function(e,t,n){var r,a,o,i="",s=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(o=e[r].type)?i+=this.renderInline(e[r].children,t,n):void 0!==s[o]?i+=s[e[r].type](e,r,t,n,this):i+=this.renderToken(e,r,t,n);return i},e.exports=s},81377:function(e){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},36901:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,x=e.lineMax,j=e.bMarks[t]+e.tShift[t],S=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(j++))return!1;if(a)return!0;for(l=m=e.sCount[t]+1,32===e.src.charCodeAt(j)?(j++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(j)?(y=!0,(e.bsCount[t]+m)%4==3?(j++,l++,m++,o=!1):o=!0):y=!1,h=[e.bMarks[t]],e.bMarks[t]=j;j<S&&(i=e.src.charCodeAt(j),r(i));)9===i?m+=4-(m+e.bsCount[t]+(o?1:0))%4:m++,j++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=j>=S,v=[e.sCount[t]],e.sCount[t]=m-l,k=[e.tShift[t]],e.tShift[t]=j-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(C=e.sCount[d]<e.blkIndent,!((j=e.bMarks[d]+e.tShift[d])>=(S=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(j++)||C){if(u)break;for(E=!1,s=0,c=w.length;s<c;s++)if(w[s](e,d,n,!0)){E=!0;break}if(E){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(l=m=e.sCount[d]+1,32===e.src.charCodeAt(j)?(j++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(j)?(y=!0,(e.bsCount[d]+m)%4==3?(j++,l++,m++,o=!1):o=!0):y=!1,h.push(e.bMarks[d]),e.bMarks[d]=j;j<S&&(i=e.src.charCodeAt(j),r(i));)9===i?m+=4-(m+e.bsCount[d]+(o?1:0))%4:m++,j++;u=j>=S,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=m-l,k.push(e.tShift[d]),e.tShift[d]=j-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=p=[t,0],e.md.block.tokenize(e,t,d),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=b,p[1]=e.line,s=0;s<k.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=k[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=f[s];return e.blkIndent=g,!0}},99334:function(e){"use strict";e.exports=function(e,t,n){var r,a,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(o=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}},79783:function(e){"use strict";e.exports=function(e,t,n,r){var a,o,i,s,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>m)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(l=d,(o=(d=e.skipChars(d,a))-l)<3)return!1;if(u=e.src.slice(l,d),i=e.src.slice(d,m),96===a&&i.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((d=l=e.bMarks[s]+e.tShift[s])<(m=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,a))-l<o||(d=e.skipSpaces(d))<m)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=i,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},21127:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(i=1,o=e.src.charCodeAt(++c);35===o&&c<u&&i<=6;)i++,o=e.src.charCodeAt(++c);return!(i>6||c<u&&!r(o))&&(a||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}},68837:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(i=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&i++}return!(i<3)&&(a||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(o))),!0)}},33869:function(e,t,n){"use strict";var r=n(43093),a=n(36570).q,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),a=0;a<o.length&&!o[a][0].test(l);a++);if(a===o.length)return!1;if(r)return o[a][2];if(i=t+1,!o[a][1].test(l))for(;i<n&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),o[a][1].test(l)){0!==l.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}},5393:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s,l,c,u,p,d,m=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";m<n&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(l=e.bMarks[m]+e.tShift[m])<(c=e.eMarks[m])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[m]<0)){for(a=!1,o=0,i=h.length;o<i;o++)if(h[o](e,m,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,m,e.blkIndent,!1).trim(),e.line=m+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},46388:function(e,t,n){"use strict";var r=n(39615).isSpace;function a(e,t){var n,a,o,i;return a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n||a<o&&(i=e.src.charCodeAt(a),!r(i))?-1:a}function o(e,t){var n,a=e.bMarks[t]+e.tShift[t],o=a,i=e.eMarks[t];if(o+1>=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-a>=10)return-1}return o<i&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,x,j,S,A,P,N,T,R,M,I=!1,L=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(I=!0),(A=o(e,t))>=0){if(d=!0,N=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(N,A-1)),I&&1!==v)return!1}else{if(!((A=a(e,t))>=0))return!1;d=!1}if(I&&e.skipSpaces(A)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(A-1),r)return!0;for(g=e.tokens.length,d?(M=e.push("ordered_list_open","ol",1),1!==v&&(M.attrs=[["start",v]])):M=e.push("bullet_list_open","ul",1),M.map=f=[t,0],M.markup=String.fromCharCode(b),y=t,P=!1,R=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";y<n;){for(S=A,k=e.eMarks[y],p=E=e.sCount[y]+A-(e.bMarks[t]+e.tShift[t]);S<k;){if(9===(i=e.src.charCodeAt(S)))E+=4-(E+e.bsCount[y])%4;else{if(32!==i)break;E++}S++}if((u=(s=S)>=k?1:E-p)>4&&(u=1),c=p+u,(M=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),M.map=m=[t,0],d&&(M.info=e.src.slice(N,A-1)),j=e.tight,x=e.tShift[t],C=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=k&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!P||(L=!1),P=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=x,e.sCount[t]=C,e.tight=j,(M=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),y=t=e.line,m[1]=y,s=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(T=!1,l=0,h=R.length;l<h;l++)if(R[l](e,y,n,!0)){T=!0;break}if(T)break;if(d){if((A=o(e,y))<0)break;N=e.bMarks[y]+e.tShift[y]}else if((A=a(e,y))<0)break;if(b!==e.src.charCodeAt(A-1))break}return(M=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),f[1]=y,e.line=y,e.parentType=_,L&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},24934:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,a=0,o=c.length;a<o;a++)if(c[a](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=n,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}},33765:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t,n,o){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w=0,_=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],x=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(_))return!1;for(;++_<C;)if(93===e.src.charCodeAt(_)&&92!==e.src.charCodeAt(_-1)){if(_+1===C)return!1;if(58!==e.src.charCodeAt(_+1))return!1;break}for(c=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";x<c&&!e.isEmpty(x);x++)if(!(e.sCount[x]-e.blkIndent>3||e.sCount[x]<0)){for(k=!1,p=0,d=y.length;p<d;p++)if(y[p](e,x,c,!0)){k=!0;break}if(k)break}for(C=(v=e.getLines(t,x,e.blkIndent,!1).trim()).length,_=1;_<C;_++){if(91===(i=v.charCodeAt(_)))return!1;if(93===i){h=_;break}(10===i||92===i&&++_<C&&10===v.charCodeAt(_))&&w++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(_=h+2;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;if(!(g=e.md.helpers.parseLinkDestination(v,_,C)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=_=g.pos,l=w+=g.lines,b=_;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;for(g=e.md.helpers.parseLinkTitle(v,_,C),_<C&&b!==_&&g.ok?(E=g.str,_=g.pos,w+=g.lines):(E="",_=s,w=l);_<C&&(i=v.charCodeAt(_),a(i));)_++;if(_<C&&10!==v.charCodeAt(_)&&E)for(E="",_=s,w=l;_<C&&(i=v.charCodeAt(_),a(i));)_++;return!(_<C&&10!==v.charCodeAt(_))&&(!!(m=r(v.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:E,href:u}),e.parentType=f,e.line=t+w+1),!0))}},75355:function(e,t,n){"use strict";var r=n(71872),a=n(39615).isSpace;function o(e,t,n,r){var o,i,s,l,c,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=p=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!d){if(a(o)){u++,9===o?p+=4-p%4:p++;continue}d=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,i,s,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),o=0;d<t;d++,o++){for(i=0,p=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&i<n;){if(s=this.src.charCodeAt(l),a(s))9===s?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(l-p<this.tShift[d]))break;i++}l++}u[o]=i>n?new Array(i-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=r,e.exports=o},12592:function(e,t,n){"use strict";var r=n(39615).isSpace;function a(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,a=e.length,o=!1,i=0,s="";for(t=e.charCodeAt(r);r<a;)124===t&&(o?(s+=e.substring(i,r-1),i=r):(n.push(s+e.substring(i,r)),s="",i=r+1)),o=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(i)),n}e.exports=function(e,t,n,i){var s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(_=e.src.charCodeAt(c++))&&45!==_&&58!==_)return!1;if(c>=e.eMarks[d])return!1;if(124!==(C=e.src.charCodeAt(c++))&&45!==C&&58!==C&&!r(C))return!1;if(45===_&&r(C))return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(m=(l=a(e,t+1)).split("|"),g=[],u=0;u<m.length;u++){if(!(b=m[u].trim())){if(0===u||u===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?g.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),0===(h=m.length)||h!==g.length)return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(f=e.push("table_open","table",1)).map=v=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<m.length;u++)f=e.push("th_open","th",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u].trim(),f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),d=t+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(E=!1,u=0,p=w.length;u<p;u++)if(w[u](e,d,n,!0)){E=!0;break}if(E)break;if(!(l=a(e,d).trim()))break;if(e.sCount[d]-e.blkIndent>=4)break;for((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),d===t+2&&((f=e.push("tbody_open","tbody",1)).map=k=[t+2,0]),(f=e.push("tr_open","tr",1)).map=[d,d+1],u=0;u<h;u++)f=e.push("td_open","td",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u]?m[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return k&&(f=e.push("tbody_close","tbody",-1),k[1]=d),f=e.push("table_close","table",-1),v[1]=d,e.parentType=y,e.line=d,!0}},30884:function(e){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},25334:function(e){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},64756:function(e,t,n){"use strict";var r=n(39615).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(f=0,t=(i=E[n].children).length-1;t>=0;t--)if("link_close"!==(l=i[t]).type){if("html_inline"===l.type&&(y=l.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(l.content)&&f++),!(f>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,k=e.md.linkify.match(p),c=[],h=l.level,m=0,u=0;u<k.length;u++)g=k[u].url,b=e.md.normalizeLink(g),e.md.validateLink(b)&&(v=k[u].text,v=k[u].schema?"mailto:"!==k[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=k[u].index)>m&&((s=new e.Token("text","",0)).content=p.slice(m,d),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",b]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=v,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),m=k[u].lastIndex);m<p.length&&((s=new e.Token("text","",0)).content=p.slice(m),s.level=h,c.push(s)),E[n].children=i=r(i,t,c)}}else for(t--;i[t].level!==l.level&&"link_open"!==i[t].type;)t--}},13837:function(e){"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},60555:function(e){"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return a[t.toLowerCase()]}function i(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}function s(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||a||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&i(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},28867:function(e,t,n){"use strict";var r=n(39615).isWhiteSpace,a=n(39615).isPunctChar,o=n(39615).isMdAsciiPunct,i=/['"]/,s=/['"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,i,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,x,j,S;for(x=[],n=0;n<e.length;n++){for(i=e[n],m=e[n].level,_=x.length-1;_>=0&&!(x[_].level<=m);_--);if(x.length=_+1,"text"===i.type){p=0,d=(c=i.content).length;e:for(;p<d&&(s.lastIndex=p,u=s.exec(c));){if(E=w=!0,p=u.index+1,C="'"===u[0],f=32,u.index-1>=0)f=c.charCodeAt(u.index-1);else for(_=n-1;_>=0&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_--)if(e[_].content){f=e[_].content.charCodeAt(e[_].content.length-1);break}if(g=32,p<d)g=c.charCodeAt(p);else for(_=n+1;_<e.length&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_++)if(e[_].content){g=e[_].content.charCodeAt(0);break}if(b=o(f)||a(String.fromCharCode(f)),v=o(g)||a(String.fromCharCode(g)),k=r(f),(y=r(g))?E=!1:v&&(k||b||(E=!1)),k?w=!1:b&&(y||v||(w=!1)),34===g&&'"'===u[0]&&f>=48&&f<=57&&(w=E=!1),E&&w&&(E=b,w=v),E||w){if(w)for(_=x.length-1;_>=0&&(h=x[_],!(x[_].level<m));_--)if(h.single===C&&x[_].level===m){h=x[_],C?(j=t.md.options.quotes[2],S=t.md.options.quotes[3]):(j=t.md.options.quotes[0],S=t.md.options.quotes[1]),i.content=l(i.content,u.index,S),e[h.token].content=l(e[h.token].content,h.pos,j),p+=S.length-1,h.token===n&&(p+=j.length-1),d=(c=i.content).length,x.length=_;continue e}E?x.push({token:n,pos:u.index,single:C,level:m}):w&&C&&(i.content=l(i.content,u.index,"’"))}else C&&(i.content=l(i.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},30727:function(e,t,n){"use strict";var r=n(71872);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},73273:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var a,o,i,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return a=e.src.slice(l+1,u),n.test(a)?(o=e.md.normalizeLink(a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0)):!!t.test(a)&&(o=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0))}},7912:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(a=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=a),e.pos+=l,!0;for(i=s=u;-1!==(i=e.src.indexOf("`",s));){for(s=i+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-i)===l)return t||((o=e.push("code_inline","code",0)).markup=a,o.content=e.src.slice(u,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=i}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=l,!0}},76399:function(e){"use strict";function t(e,t){var n,r,a,o,i,s,l,c,u={},p=t.length;if(p){var d=0,m=-2,h=[];for(n=0;n<p;n++)if(a=t[n],h.push(0),t[d].marker===a.marker&&m===a.token-1||(d=n),m=a.token,a.length=a.length||0,a.close){for(u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1,-1,-1,-1]),i=u[a.marker][(a.open?3:0)+a.length%3],s=r=d-h[d]-1;r>i;r-=h[r]+1)if((o=t[r]).marker===a.marker&&o.open&&o.end<0&&(l=!1,(o.close||a.open)&&(o.length+a.length)%3==0&&(o.length%3==0&&a.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+c,h[r]=c,a.open=!1,o.end=n,o.close=!1,s=-1,m=-2;break}-1!==s&&(u[a.marker][(a.open?3:0)+(a.length||0)%3]=s)}}}e.exports=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},56141:function(e){"use strict";function t(e,t){var n,r,a,o,i,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(a=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===a.token+1,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?i+i:i,o.content="",(o=e.tokens[a.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?i+i:i,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,a=e.pos,o=e.src.charCodeAt(a);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},54408:function(e,t,n){"use strict";var r=n(38337),a=n(39615).has,o=n(39615).isValidEntityCode,i=n(39615).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?i(n):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&a(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},8329:function(e,t,n){"use strict";for(var r=n(39615).isSpace,a=[],o=0;o<256;o++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<i){if((n=e.src.charCodeAt(o))<256&&0!==a[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<i&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},9955:function(e,t,n){"use strict";var r=n(36570).n;e.exports=function(e,t){var n,a,o,i=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=o)&&(!(33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(i).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+a[0].length)),e.pos+=a[0].length,!0))))}},92560:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d,m,h,f,g,b="",v=e.pos,k=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<k&&40===e.src.charCodeAt(u)){for(u++;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(u>=k)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<k&&g!==u&&d.ok)for(m=d.str,u=d.pos;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);else m="";if(u>=k||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<k&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(p=e.env.references[r(s)]))return e.pos=v,!1;b=p.href,m=p.title}return t||(i=e.src.slice(c,l),e.md.inline.parse(i,e.md,e.env,f=[]),(h=e.push("image","img",0)).attrs=n=[["src",b],["alt",""]],h.children=f,h.content=i,m&&n.push(["title",m])),e.pos=u,e.posMax=k,!0}},95028:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d="",m="",h=e.pos,f=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<f&&40===e.src.charCodeAt(c)){for(b=!1,c++;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(c>=f)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d="",g=c;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<f&&g!==c&&u.ok)for(m=u.str,c=u.pos;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);}(c>=f||41!==e.src.charCodeAt(c))&&(b=!0),c++}if(b){if(void 0===e.env.references)return!1;if(c<f&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?i=e.src.slice(g,c++):c=s+1):c=s+1,i||(i=e.src.slice(l,s)),!(p=e.env.references[r(i)]))return e.pos=h,!1;d=p.href,m=p.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=f,!0}},62378:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t){var n,a,o,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;if(n=e.pending.length-1,a=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i<a&&r(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},25240:function(e,t,n){"use strict";var r=n(71872),a=n(39615).isWhiteSpace,o=n(39615).isPunctChar,i=n(39615).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(o),a},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,d,m,h=e,f=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,r=h<b?this.src.charCodeAt(h):32,p=i(n)||o(String.fromCharCode(n)),m=i(r)||o(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:m&&(u||p||(f=!1)),u?g=!1:p&&(d||m||(g=!1)),t?(l=f,c=g):(l=f&&(!g||p),c=g&&(!f||m)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},54988:function(e){"use strict";function t(e,t){var n,r,a,o,i,s=[],l=t.length;for(n=0;n<l;n++)126===(a=t[n]).marker&&-1!==a.end&&(o=t[a.end],(i=e.tokens[a.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=i)}}e.exports.w=function(e,t){var n,r,a,o,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=o,a--),n=0;n<a;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},10937:function(e){"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},52406:function(e){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)a[t].nesting<0&&r--,a[t].level=r,a[t].nesting>0&&r++,"text"===a[t].type&&t+1<o&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},71872:function(e){"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},64309:function(e){"use strict";var t={};function n(e,r){var a;return"string"!=typeof r&&(r=n.defaultChars),a=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),a.push(r);for(n=0;n<e.length;n++)a[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return a}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,i,s,l,c="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=a[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&i))?(c+=(l=r<<12&61440|o<<6&4032|63&i)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&i)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|i<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},16087:function(e){"use strict";var t={};function n(e,r,a){var o,i,s,l,c,u="";for("string"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),c=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),o=0,i=e.length;o<i;o++)if(s=e.charCodeAt(o),a&&37===s&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<i&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},46175:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},49236:function(e,t,n){"use strict";e.exports.encode=n(16087),e.exports.decode=n(64309),e.exports.format=n(46175),e.exports.parse=n(57507)},57507:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),i=["'"].concat(o),s=["%","/","?",";","#"].concat(i),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,o,i,m,h,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var g=a.exec(f);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=n.exec(f);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,f=f.substr(b.length)),(t||b||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===f.substr(0,2))||b&&p[b]||(f=f.substr(2),this.slashes=!0)),!p[b]&&(h||b&&!d[b])){var v,k,y=-1;for(r=0;r<l.length;r++)-1!==(m=f.indexOf(l[r]))&&(-1===y||m<y)&&(y=m);for(-1!==(k=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,k),f=f.slice(k+1),this.auth=v),y=-1,r=0;r<s.length;r++)-1!==(m=f.indexOf(s[r]))&&(-1===y||m<y)&&(y=m);-1===y&&(y=f.length),":"===f[y-1]&&y--;var E=f.slice(0,y);f=f.slice(y),this.parseHost(E),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var _=this.hostname.split(/\./);for(r=0,o=_.length;r<o;r++){var C=_[r];if(C&&!C.match(c)){for(var x="",j=0,S=C.length;j<S;j++)C.charCodeAt(j)>127?x+="x":x+=C[j];if(!x.match(c)){var A=_.slice(0,r),P=_.slice(r+1),N=C.match(u);N&&(A.push(N[1]),P.unshift(N[2])),P.length&&(f=P.join(".")+f),this.hostname=A.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=f.indexOf("#");-1!==T&&(this.hash=f.substr(T),f=f.slice(0,T));var R=f.indexOf("?");return-1!==R&&(this.search=f.substr(R),f=f.slice(0,R)),f&&(this.pathname=f),d[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},73171:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=7*a,i=365.25*a;function s(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=a)return s(e,o,a,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=a)return Math.round(e/a)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},69424:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(94273),a=n.n(r),o=n(53191),i=n.n(o),s=n(60686),l=n.n(s)()("photon"),c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function d(e,t){var n;try{n=new URL(e,p)}catch(e){return null}var r,o,s,d,m,h="https:"===n.protocol,f=new URL("https://i0.wp.com");if(m=n.host,/^i[0-2]\.wp\.com$/.test(m))f.pathname=n.pathname,f.hostname=n.hostname;else{if(n.search)return null;var g=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(g=n.pathname.replace("://","//")),n.hostname===u&&(g=n.pathname),f.pathname=g,f.hostname=(r=g,o=a()(r),s=i()(o),d="i"+Math.floor(3*s()),l('determined server "%s" to use with "%s"',d,r),d+".wp.com"),h&&f.searchParams.set("ssl",1)}if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?f.searchParams.set(c[b]||b,t[b]):f.protocol="http:":f.hostname=t[b];return l("generated Photon URL: %s",f.href),f.href}},40142:function(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,o,i=[];for(o in"string"!=typeof t&&(t="?"),e)if(n.call(e,o)){if((r=e[o])||null!=r&&!isNaN(r)||(r=""),o=a(o),r=a(r),null===o||null===r)continue;i.push(o+"="+r)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,a={};t=n.exec(e);){var o=r(t[1]),i=r(t[2]);null===o||null===i||o in a||(a[o]=i)}return a}},82298:function(e){"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:function(e,t){"use strict";var n=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__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var i=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&l()}function s(){o(i)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},p=b(0,0,0,0);function d(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=u(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=d(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,s=d(r.width),l=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+i)!==n&&(l-=m(r,"top","bottom")+i)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(a.left,a.top,s,l)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?f(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):p}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,a,o,i,s,l,u=(r=(n=t).x,a=n.y,o=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:a,width:o,height:i,top:a,right:r+o,bottom:i+a,left:r}),l);c(this,{target:e,contentRect:u})},y=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new n,w=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 y(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var _=void 0!==a.ResizeObserver?a.ResizeObserver:w;t.Z=_},53191:function(e){"use strict";var t=256,n=[],r=window,a=Math.pow(t,6),o=Math.pow(2,52),i=2*o,s=255,l=Math.random;function c(e){var n,r=e.length,a=this,o=0,i=a.i=a.j=0,l=a.S=[];for(r||(e=[r++]);o<t;)l[o]=o++;for(o=0;o<t;o++)l[o]=l[i=s&i+e[o%r]+(n=l[o])],l[i]=n;(a.g=function(e){for(var n,r=0,o=a.i,i=a.j,l=a.S;e--;)n=l[o=s&o+1],r=r*t+l[s&(l[o]=l[i=s&i+n])+(l[i]=n)];return a.i=o,a.j=i,r})(t)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(e){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[s&a]=s&(n^=19*t[s&a])+r.charCodeAt(a++);return m(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),m(e)}catch(e){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,m(n)]}}function m(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,s){if(s&&!0===s.global)return s.global=!1,Math.random=e.exports(r,s),s.global=!0,Math.random;var l=s&&s.entropy||!1,h=[],f=(p(u(l?[r,m(n)]:0 in arguments?r:d(),3),h),new c(h));return p(m(f.S),n),function(){for(var e=f.g(6),n=a,r=0;e<o;)e=(e+r)*t,n*=t,r=f.g(1);for(;e>=i;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=l},p(Math.random(),n)},49079:function(e,t,n){const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||c}}e.exports=a;const o=n(14916),{re:i,t:s}=n(11037),l=n(86574),c=n(29262),u=n(8693),p=n(53538)},53538:function(e,t,n){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!h(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,S(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),s("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(/\s+/).join(" ");const l=r?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],f=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>j(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),g=(f.length,new Map);for(const e of f){if(h(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const v=[...g.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>g(n,t)&&e.set.some((e=>g(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(A(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const a=new(n(82746))({max:1e3}),o=n(14916),i=n(49079),s=n(29262),l=n(8693),{re:c,t:u,comparatorTrimReplace:p,tildeTrimReplace:d,caretTrimReplace:m}=n(11037),h=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=E(e,t),s("caret",e),e=k(e,t),s("tildes",e),e=_(e,t),s("xrange",e),e=x(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,k=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},E=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{s("caret",e,t);const n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let l;return s("caret",e,t,n,a,o,i),v(n)?l="":v(a)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?l="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),l="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",l),l}))},_=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,((n,r,a,o,i,l)=>{s("xRange",e,n,r,a,o,i,l);const c=v(a),u=c||v(o),p=u||v(i),d=p;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(l="-0"),n=`${r+a}.${o}.${i}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:p&&(n=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},x=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),j=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),S=e=>(t,n,r,a,o,i,s,l,c,u,p,d,m)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=v(c)?"":v(u)?`<${+c+1}.0.0-0`:v(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),A=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==i.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},8693:function(e,t,n){const r=n(29262),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(80581),{re:i,t:s}=n(11037),l=n(14916),{compareIdentifiers:c}=n(68693);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],a=e.build[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},20881:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},86574:function(e,t,n){const r=n(16825),a=n(80525),o=n(68586),i=n(33408),s=n(58546),l=n(66123);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return a(e,n,c);case">":return o(e,n,c);case">=":return i(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},36171:function(e,t,n){const r=n(8693),a=n(82323),{re:o,t:i}=n(11037);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},51310:function(e,t,n){const r=n(8693);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},84773:function(e,t,n){const r=n(256);e.exports=(e,t)=>r(e,t,!0)},256:function(e,t,n){const r=n(8693);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},86690:function(e,t,n){const r=n(82323),a=n(16825);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},16825:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>0===r(e,t,n)},68586:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)>0},33408:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)>=0},73469:function(e,t,n){const r=n(8693);e.exports=(e,t,n,a)=>{"string"==typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(e){return null}}},58546:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)<0},66123:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)<=0},20651:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).major},3857:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).minor},80525:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>0!==r(e,t,n)},82323:function(e,t,n){const{MAX_LENGTH:r}=n(80581),{re:a,t:o}=n(11037),i=n(8693),s=n(14916);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},23982:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).patch},57665:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},48824:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(t,e,n)},3135:function(e,t,n){const r=n(51310);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},44938:function(e,t,n){const r=n(53538);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},13782:function(e,t,n){const r=n(51310);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},75652:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},55589:function(e,t,n){const r=n(11037);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(80581).SEMVER_SPEC_VERSION,SemVer:n(8693),compareIdentifiers:n(68693).compareIdentifiers,rcompareIdentifiers:n(68693).rcompareIdentifiers,parse:n(82323),valid:n(75652),clean:n(20881),inc:n(73469),diff:n(86690),major:n(20651),minor:n(3857),patch:n(23982),prerelease:n(57665),compare:n(256),rcompare:n(48824),compareLoose:n(84773),compareBuild:n(51310),sort:n(13782),rsort:n(3135),gt:n(68586),lt:n(58546),eq:n(16825),neq:n(80525),gte:n(33408),lte:n(66123),cmp:n(86574),coerce:n(36171),Comparator:n(49079),Range:n(53538),satisfies:n(44938),toComparators:n(35559),maxSatisfying:n(43912),minSatisfying:n(80887),minVersion:n(77124),validRange:n(13228),outside:n(62051),gtr:n(48118),ltr:n(80382),intersects:n(27445),simplifyRange:n(19282),subset:n(79910)}},80581:function(e){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},29262:function(e){const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},68693:function(e){const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},14916:function(e){const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},11037:function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(80581),a=n(29262),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let l=0;const c=(e,t,n)=>{const r=l++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},48118:function(e,t,n){const r=n(62051);e.exports=(e,t,n)=>r(e,t,">",n)},27445:function(e,t,n){const r=n(53538);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},80382:function(e,t,n){const r=n(62051);e.exports=(e,t,n)=>r(e,t,"<",n)},43912:function(e,t,n){const r=n(8693),a=n(53538);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},80887:function(e,t,n){const r=n(8693),a=n(53538);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},77124:function(e,t,n){const r=n(8693),a=n(53538),o=n(68586);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const a=e.set[t];let i=null;a.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},62051:function(e,t,n){const r=n(8693),a=n(49079),{ANY:o}=a,i=n(53538),s=n(44938),l=n(68586),c=n(58546),u=n(66123),p=n(33408);e.exports=(e,t,n,d)=>{let m,h,f,g,b;switch(e=new r(e,d),t=new i(t,d),n){case">":m=l,h=u,f=c,g=">",b=">=";break;case"<":m=c,h=p,f=l,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let i=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,d)?i=e:f(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===b)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===b&&f(e,s.semver))return!1}return!0}},19282:function(e,t,n){const r=n(44938),a=n(256);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const l=e.sort(((e,t)=>a(e,t,n)));for(const e of l){r(e,t,n)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length<p.length?u:t}},79910:function(e,t,n){const r=n(53538),a=n(49079),{ANY:o}=a,i=n(44938),s=n(256),l=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?[new a(">=0.0.0-0")]:[new a(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=[new a(">=0.0.0")]}const r=new Set;let l,p,d,m,h,f,g;for(const t of e)">"===t.operator||">="===t.operator?l=c(l,t,n):"<"===t.operator||"<="===t.operator?p=u(p,t,n):r.add(t.semver);if(r.size>1)return null;if(l&&p){if(d=s(l.semver,p.semver,n),d>0)return null;if(0===d&&(">="!==l.operator||"<="!==p.operator))return null}for(const e of r){if(l&&!i(e,String(l),n))return null;if(p&&!i(e,String(p),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let b=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,v=!(!l||n.includePrerelease||!l.semver.prerelease.length)&&l.semver;b&&1===b.prerelease.length&&"<"===p.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,l)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(m=c(l,e,n),m===e&&m!==l)return!1}else if(">="===l.operator&&!i(l.semver,String(e),n))return!1;if(p)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=u(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!i(p.semver,String(e),n))return!1;if(!e.operator&&(p||l)&&0!==d)return!1}return!(l&&f&&!p&&0!==d)&&(!(p&&g&&!l&&0!==d)&&(!v&&!b))},c=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=l(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},35559:function(e,t,n){const r=n(53538);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},13228:function(e,t,n){const r=n(53538);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},6975:function(e,t,n){"use strict";var r=n(51128),a=n.n(r),o=n(92819);const i=a()("dops:analytics");let s,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=(0,o.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]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.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]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,o,i){c.ga.recordPurchase(e,t,n,r,a,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=(0,o.assign)(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),i("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){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),i(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=c},13419:function(e,t,n){"use strict";n.d(t,{FK:function(){return l.FK},HD:function(){return l.HD},M6:function(){return o.M6},OZ:function(){return i.Z},Pb:function(){return r.Z},Qq:function(){return l.Qq},Rl:function(){return l.Rl},T:function(){return s.Z},Ug:function(){return o.Ug},Wp:function(){return o.Wp},X1:function(){return l.X1},_D:function(){return l._D},lQ:function(){return a.Z},m3:function(){return l.m3}});var r=n(50148),a=n(35004),o=n(99505),i=n(48052),s=(n(76714),n(80354)),l=n(75404)},50148:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(){var e,t;return"object"==typeof window&&null!==(e=null===(t=window)||void 0===t?void 0:t.Jetpack_Editor_Initial_State)&&void 0!==e?e:null}},48052:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(50148);function a(e){var t,n,a,o,i,s,l,c,u;const p=(0,r.Z)(),d=null!==(t=null==p||null===(n=p.available_blocks)||void 0===n||null===(a=n[e])||void 0===a?void 0:a.available)&&void 0!==t&&t,m=null!==(o=null==p||null===(i=p.available_blocks)||void 0===i||null===(s=i[e])||void 0===s?void 0:s.unavailable_reason)&&void 0!==o?o:"unknown",h=null!==(l=null==p||null===(c=p.available_blocks)||void 0===c||null===(u=c[e])||void 0===u?void 0:u.details)&&void 0!==l?l:[];return{available:d,...!d&&{details:h,unavailableReason:m}}}},35004:function(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,{Z:function(){return r}})},75404:function(e,t,n){"use strict";n.d(t,{FK:function(){return f},HD:function(){return g},Qq:function(){return u},Rl:function(){return m},X1:function(){return p},_D:function(){return d},m3:function(){return b}});var r=n(92819),a=n(96483),o=n(65736),i=n(99505),s=n(50148),l=n(48052),c=n(35004);const __=o.__;function u(e){let{planSlug:t,plan:n,postId:o,postType:s}=e;const l=(0,r.startsWith)(t,"jetpack_")?t:(0,r.get)(n,["path_slug"]),u=(void 0===s?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/admin.php`,{page:"gutenberg-edit-site",postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(s)?"":"edit";return(0,i.Wp)()?(0,a.addQueryArgs)("/"+(0,r.compact)([e,s,(0,c.Z)(),o]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:o,plan_upgraded:1})})();return(0,i.Ug)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,c.Z)()}`,{redirect_to:u,customerType:"business"}):l&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,c.Z)()}/${l}`,{redirect_to:u})}function p(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:r}=(0,l.Z)(t);return!n&&"missing_plan"===r}function d(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,l.Z)(t);return d(r,n)}const h=[{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 f(){return(0,r.get)((0,s.Z)(),"jetpack.enable_upgrade_nudge",!1)}const g=e=>(0,r.map)(h,"name").includes(e),b=e=>(0,r.head)((0,r.filter)(h,(t=>{let{name:n}=t;return n===e})))},76714:function(e,t,n){"use strict";n(98817)},99505:function(e,t,n){"use strict";n.d(t,{M6:function(){return s},Ug:function(){return i},Wp:function(){return o}});var r=n(50148);function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function i(){return"atomic"===a()}function s(){var e,t;const n=(0,r.Z)();return null!==(e=null==n||null===(t=n.jetpack)||void 0===t?void 0:t.is_private_site)&&void 0!==e&&e}},80354:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(94333);t.Z=e=>(0,o.createHigherOrderComponent)((t=>n=>React.createElement(t,a()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},35182:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},84069:function(e,t,n){"use strict";var r=n(35182),a=n(6975);a.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),a.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=a.Z},50756:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(55609),u=n(92819);const __=l.__,p="09:00",d="17:00";class m extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,{opening:r,closing:a}=e;return(0,o.createElement)(o.Fragment,{key:t},(0,o.createElement)("div",{className:"business-hours__row"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.TextControl,{type:"time",label:__("Opening","jetpack"),value:r,className:"business-hours__open",placeholder:p,onChange:e=>{this.setHour(e,"opening",t)}}),(0,o.createElement)(c.TextControl,{type:"time",label:__("Closing","jetpack"),value:a,className:"business-hours__close",placeholder:d,onChange:e=>{this.setHour(e,"closing",t)}})),(0,o.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,o.createElement)(c.Button,{isSmall:!0,variant:"link",icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,o.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")}," "),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.Button,{variant:"link",label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,o.createElement)("div",{className:"business-hours__remove"}," ")))})),a()(this,"setHour",((e,t,n)=>{const{day:r,attributes:a,setAttributes:o}=this.props,{days:i}=a;o({days:i.map((a=>a.name===r.name?{...a,hours:a.hours.map(((r,a)=>a===n?{...r,[t]:e}:r))}:a))})})),a()(this,"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:p,closing:d}]:[];return{...n,hours:t}}return n}))})})),a()(this,"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))})})),a()(this,"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,u.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,o.createElement)(c.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,o.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,o.createElement)("div",{className:s()(e.name,"business-hours__day")},this.renderDayToggle()),(0,o.createElement)("div",{className:s()(e.name,"closed","business-hours__hours")}," "),(0,o.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}t.Z=m},80190:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(69771),l=n(92819);const _x=i._x;class c extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,r=n.hours;return(0,o.createElement)("span",{key:t},(0,i.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),r.length>1+t&&(0,o.createElement)("span",null,", "))}))}formatTime(e){const{timeFormat:t}=this.props,[n,r]=e.split(":"),a=new Date;return!(!n||!r)&&(a.setHours(n),a.setMinutes(r),(0,s.date)(t,a))}render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,o.createElement)("div",{className:"jetpack-business-hours__item"},(0,o.createElement)("dt",{className:e.name},t.days[e.name]),(0,o.createElement)("dd",null,(0,l.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,o.createElement)("br",null)))}}t.Z=c},86162:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(65235),p=n.n(u),d=n(65736),m=n(69771),h=n(55609),f=n(50756),g=n(80190),b=n(96405);const __=d.__,v={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0};class k extends s.Component{constructor(){super(...arguments),i()(this,"state",{localization:v,hasFetched:!1})}componentDidMount(){this.apiFetch()}apiFetch(){this.setState({data:v},(()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{this.setState({localization:e,hasFetched:!0})}),(()=>{this.setState({localization:v,hasFetched:!0})}))}))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{days:r}=e,{localization:o,hasFetched:i}=this.state,{startOfWeek:l}=o,c=r.concat(r.slice(0,l)).slice(l);if(!i)return(0,s.createElement)(h.Placeholder,{icon:b.qv,label:__("Loading business hours","jetpack")});if(!n){const e=(0,m.__experimentalGetSettings)(),{formats:{time:n}}=e;return(0,s.createElement)("dl",{className:p()(t,"jetpack-business-hours")},c.map(((e,t)=>(0,s.createElement)(g.Z,{key:t,day:e,localization:o,timeFormat:n}))))}return(0,s.createElement)("div",{className:p()(t,"is-edit")},c.map(((e,t)=>(0,s.createElement)(f.Z,a()({key:t,day:e,localization:o},this.props)))))}}t.Z=k},96405:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},qv:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(86162),s=n(36598),l=n(70355);const __=a.__,_x=a._x,c=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],u="business-hours",p=(0,s.Z)((0,r.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),d={title:__("Business Hours","jetpack"),description:__("Display opening hours for your business.","jetpack"),icon:{src:p,foreground:(0,l.m)()},category:"grow",supports:{html:!0,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0},align:["wide","full"]},keywords:[_x("opening hours","block search term","jetpack"),_x("closing time","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("working day","block search term","jetpack")],attributes:{days:{type:"array",default:c}},edit:e=>(0,r.createElement)(i.Z,e),save:()=>null,example:{attributes:{days:c}}}},98625:function(e,t,n){"use strict";var r=n(92819),a=n(55609);const o=(0,a.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:a}=t,o=(0,r.get)(n,"color"),i=!(0,r.get)(a,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:a||!i?void 0:getComputedStyle(i).color}}));t.Z=o},70424:function(e,t,n){"use strict";var r=n(24381);t.Z={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.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:r.Z},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},43043:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(90446);const __=o.__;function s(e){let{borderRadius:t="",setAttributes:n}=e;const o=(0,r.useCallback)((e=>n({borderRadius:e})),[n]);return(0,r.createElement)(a.PanelBody,{title:__("Border Settings","jetpack")},(0,r.createElement)(a.RangeControl,{allowReset:!0,initialPosition:i.pg,label:__("Border radius","jetpack"),max:i.Gp,min:i.G0,onChange:o,value:t}))}},36953:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(65736);const __=o.__;function i(e){let{isGradientAvailable:t,backgroundColor:n,fallbackBackgroundColor:o,fallbackTextColor:i,gradientValue:s,setBackgroundColor:l,setGradient:c,setTextColor:u,textColor:p}=e;const d=(0,r.createElement)(a.ContrastChecker,{backgroundColor:n.color,fallbackBackgroundColor:o,fallbackTextColor:i,isLargeText:!1,textColor:p.color});return t?(0,r.createElement)(a.__experimentalPanelColorGradientSettings,{settings:[{colorValue:p.color,label:__("Text Color","jetpack"),onColorChange:u},{colorValue:n.color,gradientValue:s,label:__("Background","jetpack"),onColorChange:l,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,r.createElement)(a.PanelColorSettings,{colorSettings:[{value:p.color,onChange:u,label:__("Text Color","jetpack")},{value:n.color,onChange:l,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},91947:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=[{value:"px",label:"px",default:150},{value:"%",label:"%",default:100},{value:"em",label:"em",default:10}],c=[{value:"px",label:"px",default:150},{value:"em",label:"em",default:10}],u=["25%","50%","75%","100%"];function p(e){return(0,r.createElement)(i.PanelBody,{title:__("Width settings","jetpack")},(0,r.createElement)(d,e))}function d(e){let{align:t,width:n,onChange:a}=e;const[s,p]=(0,r.useState)(null);(0,r.useEffect)((()=>{void 0===n&&p("px")}),[n]);const d="left"===t||"right"===t;return(0,r.createElement)(i.BaseControl,{label:__("Button width","jetpack")},(0,r.createElement)("div",{className:o()("jetpack-button__width-settings",{"is-aligned":d})},!d&&(0,r.createElement)(i.ButtonGroup,{"aria-label":__("Percentage Width","jetpack")},u.map((e=>(0,r.createElement)(i.Button,{key:e,isSmall:!0,variant:e===n?"primary":void 0,onClick:()=>function(e){const t=n===e?void 0:e;p("%"),a(t)}(e)},e)))),(0,r.createElement)(i.__experimentalUnitControl,{className:"jetpack-button__custom-width",isResetValueOnUnitChange:!0,max:"%"===s||null!=n&&n.includes("%")?100:void 0,min:0,onChange:e=>a(e),onUnitChange:e=>p(e),size:"small",units:d?c:l,value:n,unit:s})))}},90446:function(e,t,n){"use strict";n.d(t,{DA:function(){return a},G0:function(){return s},Gp:function(){return i},pg:function(){return o}});var r=n(52175);const a=!!r.__experimentalUseGradient,o=5,i=50,s=0},29343:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(43043),o=n(36953),i=n(91947);function s(e){let{attributes:t,backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,setAttributes:c,setBackgroundColor:u,setTextColor:p,textColor:d,gradientValue:m,setGradient:h,isGradientAvailable:f}=e;const{align:g,borderRadius:b,width:v}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,gradientValue:m,setBackgroundColor:u,setGradient:h,setTextColor:p,textColor:d,isGradientAvailable:f}),(0,r.createElement)(a.Z,{borderRadius:b,setAttributes:c}),(0,r.createElement)(i.Z,{align:g,width:v,onChange:e=>c({width:e})}))}},5501:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(52175),c=n(94333),u=n(65736),p=n(98625),d=n(29343),m=n(90446),h=n(16969);const __=u.__;t.Z=(0,c.compose)((0,l.withColors)({backgroundColor:"background-color"},{textColor:"color"}),p.Z)((function(e){const{attributes:t,backgroundColor:n,className:r,clientId:i,setAttributes:c,textColor:u}=e,{align:p,borderRadius:f,element:g,placeholder:b,text:v,width:k}=t,y=(e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current})(p);(0,h.Z)({attributes:t,clientId:i,setAttributes:c}),(0,o.useEffect)((()=>{y!==p&&("left"===p||"right"===p)&&null!=k&&k.includes("%")&&c({width:void 0})}),[p,y,c,k]);const{gradientClass:E,gradientValue:w,setGradient:_}=m.DA?(0,l.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},C=s()("wp-block-button",r),x=s()("wp-block-button__link",{"has-background":n.color||w,[n.class]:!w&&n.class,"has-text-color":u.color,[u.class]:u.class,[E]:E,"no-border-radius":0===f,"has-custom-width":!!k}),j={...!n.color&&w?{background:w}:{backgroundColor:n.color},color:u.color,borderRadius:f?f+"px":void 0,width:k};return(0,o.createElement)("div",{className:C},(0,o.createElement)(l.RichText,{allowedFormats:"input"===g?[]:void 0,className:x,disableLineBreaks:"input"===g,onChange:e=>c({text:e}),placeholder:b||__("Add text…","jetpack"),style:j,value:v,withoutInteractiveFormatting:!0}),(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(d.Z,a()({gradientValue:w,setGradient:_,isGradientAvailable:m.DA},e))))}))},26361:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(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"}))},77123:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(65736),a=n(70424),o=n(5501),i=n(26361),s=n(29586),l=n(5820);const __=r.__,c="button",u={title:__("Button","jetpack"),icon:i.Z,category:(0,l.Z)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"]},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:a.Z,edit:o.Z,save:s.Z}},29586:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(90446);function l(e){let{attributes:t,blockName:n,uniqueId:a}=e;const{backgroundColor:l,borderRadius:c,className:u,customBackgroundColor:p,customGradient:d,customTextColor:m,gradient:h,saveInPostContent:f,text:g,textColor:b,url:v,width:k}=t;if(!f)return null;const y=(0,i.getColorClassName)("background-color",l),E=s.DA?(0,i.__experimentalGetGradientClass)(h):void 0,w=(0,i.getColorClassName)("color",b),_=o()("wp-block-button","jetpack-submit-button",u,{[`wp-block-jetpack-${n}`]:n}),C=o()("wp-block-button__link",{"has-text-color":b||m,[w]:w,"has-background":l||h||p||d,[y]:y,[E]:E,"no-border-radius":0===c,"has-custom-width":!!k}),x={background:d||void 0,backgroundColor:y||d||h?void 0:p,color:w?void 0:m,borderRadius:c?c+"px":void 0,width:k};return(0,r.createElement)("div",{className:_},(0,r.createElement)(i.RichText.Content,{className:C,"data-id-attr":a||"placeholder",href:v,id:a,rel:"noopener noreferrer",role:"button",style:x,tagName:"a",target:"_blank",value:g}))}},16969:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(9818),o=n(69307);function i(e){let{attributes:t,clientId:n,setAttributes:i}=e;const{passthroughAttributes:s}=t,{attributesToSync:l}=(0,a.useSelect)((e=>{const{getBlockAttributes:a,getBlockRootClientId:o}=e("core/block-editor"),i=a(o(n))||{},l=(0,r.mapValues)(s,(e=>i[e]));return{attributesToSync:(0,r.pickBy)(l,((e,n)=>e!==t[n]))}}));(0,o.useEffect)((()=>{(0,r.isEmpty)(l)||i(l)}),[l,i])}},81340:function(e,t,n){"use strict";var r=n(24381);t.Z={backgroundColor:{type:"string",default:"ffffff",validator:r.Z},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:r.Z},textColor:{type:"string",default:"4D5055",validator:r.Z},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")}}},60153:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(57538);const __=i.__,_x=i._x,l=e=>{let{onEditClick:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{onClick:()=>t(!0)},__("Edit","jetpack")))},c=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:a,embedCode:i,parseEmbedCode:s,setAttributes:l,setEmbedCode:c}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:s,className:`${a}-embed-form-sidebar`},(0,r.createElement)("input",{type:"text",id:"embedCode",onChange:e=>c(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})})),n&&(0,r.createElement)(o.Notice,{className:`${a}-color-notice`,isDismissible:!1},(0,r.createElement)(o.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},__("Follow these instructions to change the colors in this block.","jetpack"))))};t.ZP=e=>{const{attributes:t,clientId:n,isEditingUrl:o,setAttributes:i,setIsEditingUrl:u}=e,{style:p,url:d}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,r.createElement)(r.Fragment,null,d&&!o&&(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(l,{onEditClick:u})),d&&(0,r.createElement)(s.Z,{clientId:n,styleOptions:m,onSelectStyle:i,activeStyle:p,attributes:t,viewportWidth:500}),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(c,e)))}},83830:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(24381);const __=o.__;t.Z={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:i.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:i.Z},textColor:{type:"string",default:"4D5055",validator:i.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:i.Z},customTextButtonColor:{type:"string",validator:i.Z}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:r,submitButtonClasses:o,backgroundButtonColor:i,textButtonColor:s,customBackgroundButtonColor:l,customTextButtonColor:c,...u}=e,p={text:(d=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:d.submitButtonTextColor||d.textButtonColor,customTextColor:d.customTextButtonColor,backgroundColor:d.submitButtonBackgroundColor||d.backgroundButtonColor,customBackgroundColor:d.customBackgroundButtonColor,url:d.url};var d;return[u,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...p})]]},save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)}}},29415:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(92819),s=n(40230),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(9818),m=n(70176),h=n(81340),f=n(4554),g=n(4867),b=n(50785),v=n(23621),k=n(60153);const __=u.__,_x=u._x;t.Z=(0,c.withNotices)((function(e){const{attributes:t,className:n,clientId:r,name:u,noticeOperations:y,noticeUI:E,setAttributes:w}=e,_=(0,p.getBlockDefaultClassName)(u),C=(0,f.S)(h.Z,t);(0,i.isEqual)(C,t)||w(C);const{backgroundColor:x,hideEventTypeDetails:j,primaryColor:S,textColor:A,style:P,url:N}=C,[T,R]=(0,o.useState)(N),[M,I]=(0,o.useState)(!1),[L,D]=(0,o.useState)(!1),[F,B]=(0,o.useState)({}),Z=()=>{y.removeAllNotices(),y.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,o.useEffect)((()=>{N&&b.lR!==N&&"link"!==P&&(0,v.Z)(N,D).catch((()=>{w({url:void 0}),Z()}))}),[]);const O=e=>{if(!e)return void Z();e.preventDefault();const t=(0,g.CC)(T);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,d.select)("core/editor").getBlocksByClientId(r);e.length&&e[0].innerBlocks.forEach((e=>{(0,d.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),B(t.buttonAttributes)}(0,v.Z)(t.url,D).then((()=>{const e=(0,f.S)(h.Z,t);w(e),I(!1),y.removeAllNotices()})).catch((()=>{w({url:void 0}),Z()}))}else Z()},z=(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(c.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack"))),U=(0,o.createElement)(c.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:m.Z,notices:E},(0,o.createElement)("form",{onSubmit:O},(0,o.createElement)("input",{type:"text",id:"embedCode",onChange:e=>R(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:T||"",className:"components-placeholder__input"}),(0,o.createElement)("div",null,(0,o.createElement)(c.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,o.createElement)("div",{className:`${_}-learn-more`},(0,o.createElement)(c.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),$=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:`${_}-overlay`}),(0,o.createElement)("iframe",{src:(()=>{const e=s.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:j?1:0,background_color:x,primary_color:S,text_color:A});return`${N}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),q=(0,o.createElement)(l.InnerBlocks,{template:[[b.Ss.name,{...b.Ss.attributes,...F,passthroughAttributes:{url:"url"}}]],templateLock:"all"});if(L)return z;let V=n;return N&&!M&&(V+=` calendly-style-${P}`),(0,o.createElement)("div",{className:V},(0,o.createElement)(k.ZP,a()({},e,{defaultClassName:_,embedCode:T,isEditingUrl:M,parseEmbedCode:O,setEmbedCode:R,setIsEditingUrl:I})),N&&!M?"inline"===P?$:q:U)}))},70176:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19,1h-2.3v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H8.6v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H4C1.8,1,0,2.8,0,5 v15c0,2.2,1.8,4,4,4h15c2.2,0,4-1.8,4-4V5C23,2.8,21.2,1,19,1z M21,20c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V5c0-1.1,0.9-2,2-2h2.6 v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3h6.1v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3H19c1.1,0,2,0.9,2,2V20z M13.9,14.8l1.4,1.4 c-0.9,0.9-2.1,1.3-3.5,1.3c-2.4,0-4.5-2.1-4.5-4.7s2.1-4.7,4.5-4.7c1.4,0,2.5,0.4,3.4,1.1L14,10.9c-0.5-0.4-1.2-0.6-2.1-0.6 c-1.2,0-2.5,1.1-2.5,2.7c0,1.6,1.3,2.7,2.5,2.7C12.7,15.5,13.4,15.3,13.9,14.8z"}))},50785:function(e,t,n){"use strict";n.d(t,{Ss:function(){return m},Xd:function(){return f},lR:function(){return d},u2:function(){return h}});var r=n(65736),a=n(4981),o=n(81340),i=n(83830),s=n(29415),l=n(70176),c=n(15816),u=n(4867),p=n(70355);const __=r.__,_x=r._x,d="https://calendly.com/wpcom/jetpack-block-example",m={name:"jetpack/button",attributes:{element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:d}},h="calendly",f={title:__("Calendly","jetpack"),description:__("Embed a calendar for customers to schedule appointments","jetpack"),icon:{src:l.Z,foreground:(0,p.m)()},category:"grow",keywords:[_x("calendar","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack"),_x("events","block search term","jetpack"),_x("dates","block search term","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:s.Z,save:c.Z,attributes:o.Z,example:{attributes:{hideEventTypeDetails:!1,style:"inline",url:d},innerBlocks:[m]},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&u.mL.test(e.textContent),transform:e=>{const t=(0,u.CC)(e.textContent);return(0,a.createBlock)("jetpack/calendly",t)}}]},deprecated:[i.Z]}},15816:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null))}},4867:function(e,t,n){"use strict";n.d(t,{CC:function(){return a},mL:function(){return r}});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"),o=r.get("primary_color"),i=r.get("text_color"),s=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(s)&&(t.backgroundColor=a),o&&o.match(s)&&(t.primaryColor=o),i&&i.match(s)&&(t.textColor=i),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}},99837:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Message Sent","jetpack")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0}}},39549:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "<error />".',"jetpack"),{error:(0,r.createElement)("span",null,t)}))}},57586:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(39549);const __=s.__,c=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:s,crmData:c,setCRMData:u}=e;const p=((e,t,n,r)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},n);t.jp_form_ext_enabled=!0,r(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(n,s,c,u);return t?(0,r.createElement)(i.Spinner,null):a?(0,r.createElement)(l.Z,{error:a}):(0,r.createElement)(i.Button,{variant:"secondary",onClick:p},__("Enable Jetpack Forms Extension","jetpack"))},u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack"));t.Z=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s}=e;return i.can_activate_extension?(0,r.createElement)("div",null,(0,r.createElement)(p,null),(0,r.createElement)("br",null),(0,r.createElement)(c,{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s})):(0,r.createElement)(u,null)}},87459:function(e,t,n){"use strict";var r=n(69307),a=n(55589),o=n.n(a),i=n(55609),s=n(65736),l=n(57586),c=n(45092);const __=s.__,u=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack")),d=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack")),m=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(i.Button,{variant:"secondary",icon:(0,r.createElement)(i.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},h=e=>{let{installAndActivateCRMPlugin:t,isInstalling:n}=e,a=(0,r.createElement)(i.Button,{variant:"secondary",onClick:t},__("Install Jetpack CRM","jetpack"));return n&&(a=(0,r.createElement)(m,null)),(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack"),(0,r.createElement)("br",null),a))},f=e=>{let{activateCRMPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},(0,r.createElement)("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(m,{isActivating:!0}),!n&&(0,r.createElement)(i.Button,{variant:"secondary",onClick:t},__("Activate the Jetpack CRM plugin","jetpack")))},g=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:s}=e;const[c,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)(!1);return t.jp_form_ext_enabled?o().satisfies(o().coerce(t.crm_version),"3.0.19 - 4.0.0")?(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack")):(0,r.createElement)(i.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack"),checked:a,onChange:e=>s({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack")}):(0,r.createElement)(l.Z,{isActivatingExt:c,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:n})};t.Z=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i,onCRMPluginClick:s,isInstalling:l}=e;const m=o().coerce(t.crm_version);if(t.crm_installed&&!m)return(0,r.createElement)(p,null);if(t.crm_installed&&o().lt(m,"4.9.1"))return(0,r.createElement)(d,null);let b=u.NOT_INSTALLED;return t.crm_active?b=u.ACTIVE:t.crm_installed&&(b=u.INSTALLED),(0,r.createElement)("div",{"aria-live":"polite"},u.ACTIVE===b&&(0,r.createElement)(g,{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}),u.INSTALLED===b&&(0,r.createElement)(f,{activateCRMPlugin:()=>s(c.bu,"zero-bs-crm/ZeroBSCRM"),isInstalling:l}),u.NOT_INSTALLED===b&&(0,r.createElement)(h,{installAndActivateCRMPlugin:()=>s(c.yX,"zero-bs-crm"),isInstalling:l}))}},38101:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(87459);const __=s.__,c=(e,t,n)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((n=>{if(n.error)throw n.message;e(!1),t(n)})).catch((()=>e(!0))).finally((()=>n(!1)))},u=e=>{let{isFetchingCRMData:t,hasCRMDataError:n,crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c,onCRMPluginClick:u,isInstalling:p}=e;return t?(0,r.createElement)(i.Spinner,null):n?null:(0,r.createElement)(l.Z,{crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c,onCRMPluginClick:u,isInstalling:p})};t.Z=e=>{let{jetpackCRM:t,setAttributes:n}=e;const[a,o]=(0,r.useState)(!0),[s,l]=(0,r.useState)(!1),[p,d]=(0,r.useState)(),[m,h]=(0,r.useState)(!1),f=(0,r.useCallback)(((e,t)=>{h(!0),e(t).catch((()=>{l(!0)})).finally((()=>{h(!1),o(!0),c(l,d,o)}))}),[h,l,o]);return(0,r.useEffect)((()=>{c(l,d,o)}),[]),(0,r.createElement)(i.PanelBody,{title:__("CRM Integration","jetpack"),initialOpen:!1},(0,r.createElement)(i.BaseControl,null,(0,r.createElement)(u,{isFetchingCRMData:a,hasCRMDataError:s,crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:n,isInstalling:m,onCRMPluginClick:f})))}},55740:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(15642),c=n(26588);const __=a.__;t.Z=(0,s.withInstanceId)((function(e){const{id:t,instanceId:n,required:a,label:s,setAttributes:u,width:p,defaultValue:d}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-checkbox-${n}`,className:"jetpack-field jetpack-field-checkbox",label:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:d}),(0,r.createElement)(l.Z,{required:a,label:s,setAttributes:u}),(0,r.createElement)(c.Z,{id:t,required:a,width:p,setAttributes:u}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Checkbox Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Checked by default","jetpack"),checked:d,onChange:e=>u({defaultValue:e?"true":""})}))))})}))},82150:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(15642),c=n(50686),u=n(98677);const __=a.__;t.Z=(0,s.withInstanceId)((e=>{var t;let{id:n,instanceId:s,width:p,consentType:d,implicitConsentMessage:m,explicitConsentMessage:h,setAttributes:f}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-consent-${s}`,className:"jetpack-field jetpack-field-consent",label:(0,r.createElement)(r.Fragment,null,"explicit"===d&&(0,r.createElement)("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),(0,r.createElement)(l.Z,{required:!1,label:null!==(t={implicit:m,explicit:h}[d])&&void 0!==t?t:"",setAttributes:f,labelFieldName:`${d}ConsentMessage`,placeholder:(0,a.sprintf)(
/* translators: placeholder is a type of consent: implicit or explicit */
-__("Add %s consent message…","jetpack"),d)}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(c.Z,{setAttributes:f,width:p}))),(0,r.createElement)(i.InspectorAdvancedControls,null,(0,r.createElement)(u.Z,{setAttributes:f,id:n})),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Consent Settings","jetpack")},(0,r.createElement)(o.BaseControl,null,(0,r.createElement)(o.SelectControl,{label:__("Permission to email","jetpack"),value:d,options:[{label:__("Mention that you can email","jetpack"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack"),value:"explicit"}],onChange:e=>f({consentType:e})})))))})}))},8523:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(41632),l=n(84803),c=n(10745);const __=a.__;t.Z=e=>{let{setAttributes:t,width:n,id:a,required:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(i.ToolbarGroup,null,(0,r.createElement)(i.ToolbarButton,{title:__("Required","jetpack"),icon:(0,s.Z)((0,r.createElement)(i.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{t({required:!u})},className:u?"is-pressed":void 0}))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Field is required","jetpack"),className:"jetpack-field-label__required",checked:u,onChange:e=>t({required:e}),help:__("Does this field have to be completed for the form to be submitted?","jetpack")}),(0,r.createElement)(l.Z,{setAttributes:t,width:n}))),(0,r.createElement)(o.InspectorAdvancedControls,null,(0,r.createElement)(c.Z,{setAttributes:t,id:a})))}},10745:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,id:n}=e;return(0,r.createElement)(o.TextControl,{label:__("Unique CSS ID","jetpack"),value:n,onChange:e=>t({id:e}),help:__("A unique ID that can be used in CSS or as an anchor.","jetpack")})}},80500:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175);const __=a.__;t.Z=e=>{let{setAttributes:t,label:n,labelFieldName:a,placeholder:i,resetFocus:s,required:l}=e;return(0,r.createElement)("div",{className:"jetpack-field-label"},(0,r.createElement)(o.RichText,{tagName:"label",value:n,className:"jetpack-field-label__input",onChange:e=>{s&&s(),t(a?{[a]:e}:{label:e})},placeholder:null!=i?i:__("Add label…","jetpack"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),l&&(0,r.createElement)("span",{className:"required"},__("(required)","jetpack")))}},56764:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(80500),l=n(29110),c=n(8523);const __=a.__;t.Z=(0,i.withInstanceId)((function(e){const{id:t,type:n,instanceId:a,required:i,label:u,setAttributes:p,isSelected:d,width:m,options:h}=e,[f,g]=(0,r.useState)(null),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=h.slice(0);null===t?(n.splice(e,1),e>0&&g(e-1)):(n.splice(e,1,t),g(e)),p({options:n})},k=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=h.slice(0);let n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),g(n),p({options:t})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{id:`jetpack-field-multiple-${a}`,className:"jetpack-field jetpack-field-multiple",label:(0,r.createElement)(s.Z,{required:i,label:u,setAttributes:p,isSelected:d,resetFocus:()=>g(null)})},(0,r.createElement)("ol",{className:"jetpack-field-multiple__list",id:`jetpack-field-multiple-${a}`},h.map(((e,t)=>(0,r.createElement)(l.Z,{type:n,key:t,option:e,index:t,onChangeOption:b,onAddOption:k,isInFocus:t===f&&d,isSelected:d})))),d&&(0,r.createElement)(o.Button,{className:"jetpack-field-multiple__add-option",icon:"insert",label:__("Insert option","jetpack"),onClick:k},__("Add option","jetpack"))),(0,r.createElement)(c.Z,{id:t,required:i,setAttributes:p,width:m}))}))},7640:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(80500),s=n(8523);const __=a.__;function l(e){const{id:t,required:n,label:a,setAttributes:l,placeholder:c,width:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"jetpack-field"},(0,r.createElement)(i.Z,{required:n,label:a,setAttributes:l}),(0,r.createElement)(o.Disabled,null,(0,r.createElement)(o.TextareaControl,{placeholder:c,value:c,onChange:e=>l({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,r.createElement)(s.Z,{id:t,required:n,setAttributes:l,width:u}))}},84803:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,width:n}=e;return(0,r.createElement)(o.BaseControl,{label:__("Field Width","jetpack"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack"),className:"jetpack-field-label__width"},(0,r.createElement)(o.ButtonGroup,{"aria-label":__("Field Width","jetpack")},[25,50,75,100].map((e=>(0,r.createElement)(o.Button,{key:e,isSmall:!0,isPrimary:e===n,onClick:()=>t({width:e})},e,"%")))))}},36755:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(29183),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(55609),c=n(92694),u=n(80500),p=n(8523);const __=i.__;function d(e){const{id:t,type:n,required:r,label:a,setAttributes:i,placeholder:s,width:c}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"jetpack-field"},(0,o.createElement)(u.Z,{required:r,label:a,setAttributes:i}),(0,o.createElement)(l.Disabled,null,(0,o.createElement)(l.TextControl,{type:n,placeholder:s,value:s,onChange:e=>i({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,o.createElement)(p.Z,{id:t,required:r,width:c,setAttributes:i}))}const m=(0,s.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const n=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return(0,o.createElement)(e,a()({},t,{className:n}))}return(0,o.createElement)(e,t)}),"withCustomClassName");(0,c.addFilter)("editor.BlockListBlock","jetpack/contact-form",m)},32605:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(9818),s=n(4981);const __=o.__,l=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,i.useDispatch)("core/block-editor");return{insertConsentBlock:(0,r.useCallback)((async()=>{var n;let r=(null!==(n=e.innerBlocks)&&void 0!==n?n:[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));var a;-1===r&&(r=(null!==(a=e.innerBlocks)&&void 0!==a?a:[]).length);const o=await(0,s.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack")),(0,r.createElement)(a.Button,{isSecondary:!0,onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack")),(0,r.createElement)("br",null))};t.Z=()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,r.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),n=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!n})(e.innerBlocks)),[e.innerBlocks])?(0,r.createElement)(l,null):null}},95363:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=(n(65736),n(92819)),i=n(99230),s=n(56994),l=n(58505);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:n}=e;const[a,o]=(0,r.useState)(),[i,c]=(0,r.useState)(!1),u=((e,t,n)=>(0,r.useCallback)(((r,a)=>{e(void 0),t(!0),r(a).then((()=>{n(l.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,n]))(o,c,n);return a?(0,r.createElement)(s.Z,{error:a}):(0,r.createElement)(l.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:i})},p=e=>{let{isFetchingPlugins:t,hasError:n,pluginState:o,setPluginState:i}=e;return t?(0,r.createElement)(a.Spinner,null):n?null:(0,r.createElement)(u,{pluginState:o,setPluginState:i})};t.Z=()=>{const[e,t]=(0,r.useState)(!0),[n,a]=(0,r.useState)(!1),[s,u]=(0,r.useState)(l.Q.NOT_INSTALLED);return(0,r.useEffect)((()=>{(0,i.uM)().then((e=>{a(!1),(0,o.get)(e,c)&&((0,o.get)(e,[c,"active"])?u(l.Q.ACTIVE):u(l.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),(0,r.createElement)(p,{isFetchingPlugins:e,hasError:n,pluginState:s,setPluginState:u})}},56994:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__("The plugin failed to install. <b /> Please check the <a>plugin information</a> for detailed requirements.","jetpack"),{a:(0,r.createElement)(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:(0,r.createElement)("span",null,t)}))}},58505:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(69307),a=n(55609),o=n(65736),i=n(99230),s=n(47583),l=n(92819);const __=o.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(a.Button,{isSecondary:!0,icon:(0,r.createElement)(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},p=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",null,(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack"),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,null),!n&&(0,r.createElement)(a.Button,{isSecondary:!0,onClick:t},__("Install Creative Mail plugin","jetpack"))))},d=e=>{let{activateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,{isActivating:!0}),!n&&(0,r.createElement)(a.Button,{isSecondary:!0,onClick:t},__("Activate Creative Mail Plugin","jetpack")))},m=()=>(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack"),(0,r.createElement)("br",null),(0,r.createElement)(a.ExternalLink,{href:`${(0,l.get)((0,s.Z)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack"))));t.Z=e=>{let{pluginState:t,onCreativeMailPluginClick:n,isInstalling:a}=e;return(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===t&&(0,r.createElement)(m,null),c.INSTALLED===t&&(0,r.createElement)(d,{activateCreativeMailPlugin:()=>n(i.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),c.NOT_INSTALLED===t&&(0,r.createElement)(p,{installAndActivateCreativeMailPlugin:()=>n(i.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},31186:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(32605),s=n(95363);const __=o.__;t.Z=()=>(0,r.createElement)(a.PanelBody,{title:__("Newsletter Integration","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,null,(0,r.createElement)(i.Z,null),(0,r.createElement)(s.Z,null)))},29110:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;class i extends r.Component{constructor(){super(...arguments),this.onChangeOption=this.onChangeOption.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onDeleteOption=this.onDeleteOption.bind(this),this.textInput=(0,r.createRef)()}componentDidMount(){this.props.isInFocus&&this.textInput.current.focus()}componentDidUpdate(){this.props.isInFocus&&this.textInput.current.focus()}onChangeOption(e){this.props.onChangeOption(this.props.index,e.target.value)}onKeyPress(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}onDeleteOption(){this.props.onChangeOption(this.props.index)}render(){const{isSelected:e,option:t,type:n}=this.props;return(0,r.createElement)("li",{className:"jetpack-option"},n&&"select"!==n&&(0,r.createElement)("input",{className:"jetpack-option__type",type:n,disabled:!0}),(0,r.createElement)("input",{type:"text",className:"jetpack-option__input",value:t,placeholder:__("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),e&&(0,r.createElement)(o.Button,{className:"jetpack-option__remove",icon:"trash",label:__("Remove option","jetpack"),onClick:this.onDeleteOption}))}}t.Z=i},89998:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(4981),l=n(89534);const __=o.__,c=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"];t.Z=[{attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...l.Z},migrate:(e,t)=>{const n=(0,a.omit)(e,c),r={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[n,t.concat((0,s.createBlock)("jetpack/button",{element:"button",...r}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)}]},31970:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(89105),i=n.n(o),s=n(89453),l=n(65736),c=n(94333),u=n(4981),p=n(9818),d=n(39630),m=n(52175),h=n(55609),f=n(22985),g=n(12289),b=n(6361),k=n(31186),v=n(58014);const __=l.__,y=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"];t.Z=(0,c.compose)([(0,p.withSelect)(((e,t)=>{const{getBlockType:n,getBlockVariations:r,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:i}=e("core/block-editor"),{getEditedPostAttribute:s}=e("core/editor"),{getSite:l,getUser:c}=e("core"),u=i(t.clientId),p=s("author"),d=p&&c(p)&&c(p).email,m=s("title");return{blockType:n&&n(t.name),defaultVariation:o&&o(t.name,"block"),variations:r&&r(t.name,"block"),innerBlocks:u,hasInnerBlocks:u.length>0,siteTitle:(0,a.get)(l&&l(),["title"]),postTitle:m,postAuthorEmail:d}})),(0,p.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:n}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:n}})),c.withInstanceId])((function(e){let{attributes:t,setAttributes:n,siteTitle:o,postTitle:c,postAuthorEmail:p,hasInnerBlocks:E,replaceInnerBlocks:w,selectBlock:_,clientId:C,instanceId:x,className:j,blockType:S,variations:A,defaultVariation:N}=e;const{to:T,subject:P,customThankyou:M,customThankyouHeading:I,customThankyouMessage:R,customThankyouRedirect:L,jetpackCRM:B}=t,[F,Z]=(0,r.useState)(!1),D=i()(j,"jetpack-contact-form"),O=e=>(0,a.map)(e,(e=>{let[t,n,r=[]]=e;return(0,u.createBlock)(t,n,O(r))})),z=e=>{e.attributes&&n(e.attributes),e.innerBlocks&&w(C,O(e.innerBlocks)),_(C)};(0,r.useEffect)((()=>{E||u.registerBlockVariation||z(g.Z[0])})),(0,r.useEffect)((()=>{if(void 0===T&&p&&n({to:p}),void 0===P&&void 0!==o&&void 0!==c){n({subject:"["+o+"] "+c})}}),[T,p,P,o,c,n]);const $=e=>0!==(e=e.trim()).length&&(!s.validate(e)&&{email:e}),U=e=>{if(0===e.target.value.length)return Z(!1),void n({to:p});const t=e.target.value.split(",").map($).filter(Boolean);t&&t.length&&Z(t)},V=e=>{Z(!1),n({to:e.trim()})},q=()=>{const e=void 0!==T?T:"",t=void 0!==P?P:"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h.TextControl,{"aria-describedby":`contact-form-${x}-email-${F&&F.length>0?"error":"help"}`,label:__("Email address to send to","jetpack"),placeholder:__("name@example.com","jetpack"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:U,onChange:V,help:__("You can enter multiple email addresses separated by commas.","jetpack")}),(0,r.createElement)(f.Z,{isError:!0,id:`contact-form-${x}-email-error`},(()=>{if(F){if(1===F.length)return F[0]&&F[0].email?(0,l.sprintf)(
+__("Add %s consent message…","jetpack"),d)}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(c.Z,{setAttributes:f,width:p}))),(0,r.createElement)(i.InspectorAdvancedControls,null,(0,r.createElement)(u.Z,{setAttributes:f,id:n})),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Consent Settings","jetpack")},(0,r.createElement)(o.BaseControl,null,(0,r.createElement)(o.SelectControl,{label:__("Permission to email","jetpack"),value:d,options:[{label:__("Mention that you can email","jetpack"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack"),value:"explicit"}],onChange:e=>f({consentType:e})})))))})}))},26588:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(36598),l=n(50686),c=n(98677);const __=a.__;t.Z=e=>{let{setAttributes:t,width:n,id:a,required:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(i.ToolbarGroup,null,(0,r.createElement)(i.ToolbarButton,{title:__("Required","jetpack"),icon:(0,s.Z)((0,r.createElement)(i.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{t({required:!u})},className:u?"is-pressed":void 0}))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Field is required","jetpack"),className:"jetpack-field-label__required",checked:u,onChange:e=>t({required:e}),help:__("Does this field have to be completed for the form to be submitted?","jetpack")}),(0,r.createElement)(l.Z,{setAttributes:t,width:n}))),(0,r.createElement)(o.InspectorAdvancedControls,null,(0,r.createElement)(c.Z,{setAttributes:t,id:a})))}},98677:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,id:n}=e;return(0,r.createElement)(o.TextControl,{label:__("Unique CSS ID","jetpack"),value:n,onChange:e=>t({id:e}),help:__("A unique ID that can be used in CSS or as an anchor.","jetpack")})}},15642:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175);const __=a.__;t.Z=e=>{let{setAttributes:t,label:n,labelFieldName:a,placeholder:i,resetFocus:s,required:l}=e;return(0,r.createElement)("div",{className:"jetpack-field-label"},(0,r.createElement)(o.RichText,{tagName:"label",value:n,className:"jetpack-field-label__input",onChange:e=>{s&&s(),t(a?{[a]:e}:{label:e})},placeholder:null!=i?i:__("Add label…","jetpack"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),l&&(0,r.createElement)("span",{className:"required"},__("(required)","jetpack")))}},26838:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(15642),l=n(81713),c=n(26588);const __=a.__;t.Z=(0,i.withInstanceId)((function(e){const{id:t,type:n,instanceId:a,required:i,label:u,setAttributes:p,isSelected:d,width:m,options:h}=e,[f,g]=(0,r.useState)(null),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=h.slice(0);null===t?(n.splice(e,1),e>0&&g(e-1)):(n.splice(e,1,t),g(e)),p({options:n})},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=h.slice(0);let n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),g(n),p({options:t})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{id:`jetpack-field-multiple-${a}`,className:"jetpack-field jetpack-field-multiple",label:(0,r.createElement)(s.Z,{required:i,label:u,setAttributes:p,isSelected:d,resetFocus:()=>g(null)})},(0,r.createElement)("ol",{className:"jetpack-field-multiple__list",id:`jetpack-field-multiple-${a}`},h.map(((e,t)=>(0,r.createElement)(l.Z,{type:n,key:t,option:e,index:t,onChangeOption:b,onAddOption:v,isInFocus:t===f&&d,isSelected:d})))),d&&(0,r.createElement)(o.Button,{className:"jetpack-field-multiple__add-option",icon:"insert",label:__("Insert option","jetpack"),onClick:v},__("Add option","jetpack"))),(0,r.createElement)(c.Z,{id:t,required:i,setAttributes:p,width:m}))}))},92158:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(15642),s=n(26588);const __=a.__;function l(e){const{id:t,required:n,label:a,setAttributes:l,placeholder:c,width:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"jetpack-field"},(0,r.createElement)(i.Z,{required:n,label:a,setAttributes:l}),(0,r.createElement)(o.Disabled,null,(0,r.createElement)(o.TextareaControl,{placeholder:c,value:c,onChange:e=>l({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,r.createElement)(s.Z,{id:t,required:n,setAttributes:l,width:u}))}},50686:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,width:n}=e;return(0,r.createElement)(o.BaseControl,{label:__("Field Width","jetpack"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack"),className:"jetpack-field-label__width"},(0,r.createElement)(o.ButtonGroup,{"aria-label":__("Field Width","jetpack")},[25,50,75,100].map((e=>(0,r.createElement)(o.Button,{key:e,isSmall:!0,variant:e===n?"primary":void 0,onClick:()=>t({width:e})},e,"%")))))}},47081:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(55609),c=n(92694),u=n(15642),p=n(26588);const __=i.__;function d(e){const{id:t,type:n,required:r,label:a,setAttributes:i,placeholder:s,width:c}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"jetpack-field"},(0,o.createElement)(u.Z,{required:r,label:a,setAttributes:i}),(0,o.createElement)(l.Disabled,null,(0,o.createElement)(l.TextControl,{type:n,placeholder:s,value:s,onChange:e=>i({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,o.createElement)(p.Z,{id:t,required:r,width:c,setAttributes:i}))}const m=(0,s.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const n=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return(0,o.createElement)(e,a()({},t,{className:n}))}return(0,o.createElement)(e,t)}),"withCustomClassName");(0,c.addFilter)("editor.BlockListBlock","jetpack/contact-form",m)},8971:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(9818),s=n(4981);const __=o.__,l=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,i.useDispatch)("core/block-editor");return{insertConsentBlock:(0,r.useCallback)((async()=>{var n;let r=(null!==(n=e.innerBlocks)&&void 0!==n?n:[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));var a;-1===r&&(r=(null!==(a=e.innerBlocks)&&void 0!==a?a:[]).length);const o=await(0,s.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack")),(0,r.createElement)(a.Button,{variant:"secondary",onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack")),(0,r.createElement)("br",null))};t.Z=()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,r.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),n=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!n})(e.innerBlocks)),[e.innerBlocks])?(0,r.createElement)(l,null):null}},29643:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(92819),i=n(45092),s=n(46229),l=n(53125);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:n}=e;const[a,o]=(0,r.useState)(),[i,c]=(0,r.useState)(!1),u=((e,t,n)=>(0,r.useCallback)(((r,a)=>{e(void 0),t(!0),r(a).then((()=>{n(l.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,n]))(o,c,n);return a?(0,r.createElement)(s.Z,{error:a}):(0,r.createElement)(l.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:i})},p=e=>{let{isFetchingPlugins:t,hasError:n,pluginState:o,setPluginState:i}=e;return t?(0,r.createElement)(a.Spinner,null):n?null:(0,r.createElement)(u,{pluginState:o,setPluginState:i})};t.Z=()=>{const[e,t]=(0,r.useState)(!0),[n,a]=(0,r.useState)(!1),[s,u]=(0,r.useState)(l.Q.NOT_INSTALLED);return(0,r.useEffect)((()=>{(0,i.uM)().then((e=>{a(!1),(0,o.get)(e,c)&&((0,o.get)(e,[c,"active"])?u(l.Q.ACTIVE):u(l.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),(0,r.createElement)(p,{isFetchingPlugins:e,hasError:n,pluginState:s,setPluginState:u})}},46229:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__("The plugin failed to install. <b /> Please check the <a>plugin information</a> for detailed requirements.","jetpack"),{a:(0,r.createElement)(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:(0,r.createElement)("span",null,t)}))}},53125:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(69307),a=n(13419),o=n(55609),i=n(65736),s=n(45092),l=n(92819);const __=i.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(o.Button,{variant:"secondary",icon:(0,r.createElement)(o.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},p=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__integration-panel"},(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack"),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,null),!n&&(0,r.createElement)(o.Button,{variant:"secondary",onClick:t},__("Install Creative Mail plugin","jetpack"))))},d=e=>{let{activateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__integration-panel"},(0,r.createElement)("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,{isActivating:!0}),!n&&(0,r.createElement)(o.Button,{variant:"secondary",onClick:t},__("Activate Creative Mail Plugin","jetpack")))},m=()=>(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack"),(0,r.createElement)("br",null),(0,r.createElement)(o.ExternalLink,{href:`${(0,l.get)((0,a.Pb)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack"))));t.Z=e=>{let{pluginState:t,onCreativeMailPluginClick:n,isInstalling:a}=e;return(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===t&&(0,r.createElement)(m,null),c.INSTALLED===t&&(0,r.createElement)(d,{activateCreativeMailPlugin:()=>n(s.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),c.NOT_INSTALLED===t&&(0,r.createElement)(p,{installAndActivateCreativeMailPlugin:()=>n(s.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},74901:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(8971),s=n(29643);const __=o.__;t.Z=()=>(0,r.createElement)(a.PanelBody,{title:__("Newsletter Integration","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,null,(0,r.createElement)(i.Z,null),(0,r.createElement)(s.Z,null)))},81713:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;class i extends r.Component{constructor(){super(...arguments),this.onChangeOption=this.onChangeOption.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onDeleteOption=this.onDeleteOption.bind(this),this.textInput=(0,r.createRef)()}componentDidMount(){this.props.isInFocus&&this.textInput.current.focus()}componentDidUpdate(){this.props.isInFocus&&this.textInput.current.focus()}onChangeOption(e){this.props.onChangeOption(this.props.index,e.target.value)}onKeyPress(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}onDeleteOption(){this.props.onChangeOption(this.props.index)}render(){const{isSelected:e,option:t,type:n}=this.props;return(0,r.createElement)("li",{className:"jetpack-option"},n&&"select"!==n&&(0,r.createElement)("input",{className:"jetpack-option__type",type:n,disabled:!0}),(0,r.createElement)("input",{type:"text",className:"jetpack-option__input",value:t,placeholder:__("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),e&&(0,r.createElement)(o.Button,{className:"jetpack-option__remove",icon:"trash",label:__("Remove option","jetpack"),onClick:this.onDeleteOption}))}}t.Z=i},4901:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(4981),l=n(99837);const __=o.__,c=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"],u={attributes:{...l.Z},supports:{html:!1},save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)},p={attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...l.Z},migrate:(e,t)=>{const n=(0,a.omit)(e,c),r={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[n,t.concat((0,s.createBlock)("jetpack/button",{element:"button",...r}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)};t.Z=[u,p]},8565:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65235),i=n.n(o),s=n(92384),l=n(65736),c=n(94333),u=n(4981),p=n(9818),d=n(39630),m=n(52175),h=n(55609),f=n(13419),g=n(59809),b=n(14142),v=n(38101),k=n(74901);const __=l.__,y=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"];t.Z=(0,c.compose)([(0,p.withSelect)(((e,t)=>{const{getBlockType:n,getBlockVariations:r,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:i}=e("core/block-editor"),{getEditedPostAttribute:s}=e("core/editor"),{getSite:l,getUser:c,canUser:u}=e("core"),p=i(t.clientId),d=s("author"),m=d&&c(d)&&c(d).email,h=s("title"),f=u("create","plugins");return{blockType:n&&n(t.name),canUserInstallPlugins:f,defaultVariation:o&&o(t.name,"block"),variations:r&&r(t.name,"block"),innerBlocks:p,hasInnerBlocks:p.length>0,siteTitle:(0,a.get)(l&&l(),["title"]),postTitle:h,postAuthorEmail:m}})),(0,p.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:n}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:n}})),c.withInstanceId])((function(e){let{attributes:t,setAttributes:n,siteTitle:o,postTitle:c,postAuthorEmail:p,hasInnerBlocks:E,replaceInnerBlocks:w,selectBlock:_,clientId:C,instanceId:x,className:j,blockType:S,variations:A,defaultVariation:P,canUserInstallPlugins:N}=e;const{to:T,subject:R,customThankyou:M,customThankyouHeading:I,customThankyouMessage:L,customThankyouRedirect:D,jetpackCRM:F}=t,[B,Z]=(0,r.useState)(!1),O=i()(j,"jetpack-contact-form"),z=e=>(0,a.map)(e,(e=>{let[t,n,r=[]]=e;return(0,u.createBlock)(t,n,z(r))})),U=e=>{e.attributes&&n(e.attributes),e.innerBlocks&&w(C,z(e.innerBlocks)),_(C)};(0,r.useEffect)((()=>{E||u.registerBlockVariation||U(b.Z[0])})),(0,r.useEffect)((()=>{if(void 0===T&&p&&n({to:p}),void 0===R&&void 0!==o&&void 0!==c){n({subject:"["+o+"] "+c})}}),[T,p,R,o,c,n]);const $=e=>0!==(e=e.trim()).length&&(!s.validate(e)&&{email:e}),q=e=>{if(0===e.target.value.length)return Z(!1),void n({to:p});const t=e.target.value.split(",").map($).filter(Boolean);t&&t.length&&Z(t)},V=e=>{Z(!1),n({to:e.trim()})},H=()=>{const e=void 0!==T?T:"",t=void 0!==R?R:"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h.TextControl,{"aria-describedby":`contact-form-${x}-email-${B&&B.length>0?"error":"help"}`,label:__("Email address to send to","jetpack"),placeholder:__("name@example.com","jetpack"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:q,onChange:V,help:__("You can enter multiple email addresses separated by commas.","jetpack")}),(0,r.createElement)(g.Z,{isError:!0,id:`contact-form-${x}-email-error`},(()=>{if(B){if(1===B.length)return B[0]&&B[0].email?(0,l.sprintf)(
/* translators: placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),F[0].email):F[0];if(2===F.length)return(0,l.sprintf)(
+__("%s is not a valid email address.","jetpack"),B[0].email):B[0];if(2===B.length)return(0,l.sprintf)(
/* translators: placeholders are email addresses. */
-__("%1$s and %2$s are not a valid email address.","jetpack"),F[0].email,F[1].email);const e=F.map((e=>e.email));return(0,l.sprintf)(
+__("%1$s and %2$s are not a valid email address.","jetpack"),B[0].email,B[1].email);const e=B.map((e=>e.email));return(0,l.sprintf)(
/* translators: placeholder is a list of email addresses. */
-__("%s are not a valid email address.","jetpack"),e.join(", "))}return null})()),(0,r.createElement)(h.TextControl,{label:__("Email subject line","jetpack"),value:t,placeholder:__("Enter a subject","jetpack"),onChange:e=>n({subject:e}),help:__("Choose a subject line that you recognize as an email from your website.","jetpack")}),(0,r.createElement)(h.SelectControl,{label:__("On Submission","jetpack"),value:M,options:[{label:__("Show a summary of submitted fields","jetpack"),value:""},{label:__("Show a custom text message","jetpack"),value:"message"},{label:__("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:e=>n({customThankyou:e})}),"redirect"!==M&&(0,r.createElement)(h.TextControl,{label:__("Message Heading","jetpack"),value:I,placeholder:__("Message Sent","jetpack"),onChange:e=>n({customThankyouHeading:e})}),"message"===M&&(0,r.createElement)(h.TextareaControl,{label:__("Message Text","jetpack"),value:R,placeholder:__("Thank you for your submission!","jetpack"),onChange:e=>n({customThankyouMessage:e})}),"redirect"===M&&(0,r.createElement)(h.BaseControl,{label:__("Redirect Address","jetpack"),id:`contact-form-${x}-thankyou-url`},(0,r.createElement)(m.URLInput,{id:`contact-form-${x}-thankyou-url`,value:L,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>n({customThankyouRedirect:e})})))};return!E&&u.registerBlockVariation?(0,r.createElement)("div",{className:D},(0,r.createElement)(m.__experimentalBlockVariationPicker,{icon:(0,a.get)(S,["icon","src"]),label:(0,a.get)(S,["title"]),instructions:__("Please select which type of form you'd like to add, or create your own using the skip option.","jetpack"),variations:A,allowSkip:!0,onSelect:function(){z(arguments.length>0&&void 0!==arguments[0]?arguments[0]:N)}})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.BlockControls,null,(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(h.ToolbarItem,null,(()=>(0,r.createElement)(h.Dropdown,{position:"bottom right",className:"jetpack-contact-form-settings-selector",contentClassName:"jetpack-contact-form__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(h.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("Edit Form Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==d.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,r.createElement)(h.Icon,{icon:"edit"})}))(t,n)},renderContent:()=>q()}))))),(0,r.createElement)(m.InspectorControls,null,(0,r.createElement)(h.PanelBody,{title:__("Form Settings","jetpack")},q()),!(0,v.Wp)()&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(b.Z,{jetpackCRM:B,setAttributes:n}),(0,r.createElement)(k.Z,null))),(0,r.createElement)("div",{className:D},(0,r.createElement)(m.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))}))},75494:function(e,t,n){"use strict";n.d(t,{u2:function(){return y},Xd:function(){return w},Nk:function(){return S}});var r=n(69307),a=n(65736),o=n(4981),i=n(55609),s=n(52175),l=n(31970),c=n(89534),u=n(12289),p=n(89998),d=n(54789),m=n(36755),h=n(7640),f=n(69802),g=n(56764),b=n(41632),k=n(57535),v=n(57324);const __=a.__,_x=a._x,y="contact-form",E=(0,b.Z)((0,r.createElement)(i.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 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-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),w={title:__("Form","jetpack"),description:__("A simple way to get feedback from folks visiting your site.","jetpack"),icon:{src:E,foreground:(0,k.m)()},keywords:[_x("email","block search term","jetpack"),_x("feedback","block search term","jetpack"),_x("contact form","block search term","jetpack")],supports:{html:!1},attributes:c.Z,edit:l.Z,save:()=>(0,r.createElement)(s.InnerBlocks.Content,null),variations:u.Z,category:"grow",transforms:d.Z,deprecated:p.Z},_={category:"grow",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-checkbox-multiple",e)},{type:"block",blocks:["jetpack/field-radio"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-radio",e)},{type:"block",blocks:["jetpack/field-select"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-select",e)},{type:"block",blocks:["jetpack/field-consent"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-consent",e)}]},save:()=>null,example:{}},C=e=>{let{attributes:t,name:n}=e;return null===t.label?(0,o.getBlockType)(n).title:t.label},x=e=>t=>(0,r.createElement)(m.Z,{type:e,label:C(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width}),j=e=>t=>(0,r.createElement)(g.Z,{label:C(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width}),S=[{name:"field-text",settings:{..._,title:__("Text","jetpack"),description:__("When you need just a small amount of text, add a text input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:x("text")}},{name:"field-name",settings:{..._,title:__("Name","jetpack"),description:__("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:x("text")}},{name:"field-email",settings:{..._,title:__("Email","jetpack"),keywords:[__("e-mail","jetpack"),__("mail","jetpack"),"email"],description:__("Want to reply to folks? Add an email address input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),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"})),edit:x("email")}},{name:"field-url",settings:{..._,title:__("Website","jetpack"),keywords:["url",__("internet page","jetpack"),"link"],description:__("Add an address input for a website.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:x("url")}},{name:"field-date",settings:{..._,title:__("Date Picker","jetpack"),keywords:[__("Calendar","jetpack"),_x("day month year","block search term","jetpack")],description:__("The best way to set a date. Add a date picker.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:x("text")}},{name:"field-telephone",settings:{..._,title:__("Phone Number","jetpack"),keywords:[__("Phone","jetpack"),__("Cellular phone","jetpack"),__("Mobile","jetpack")],description:__("Add a phone number input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),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"})),edit:x("tel")}},{name:"field-textarea",settings:{..._,title:__("Message","jetpack"),keywords:[__("Textarea","jetpack"),"textarea",__("Multiline text","jetpack")],description:__("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:e=>(0,r.createElement)(h.Z,{label:C(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})}},{name:"field-checkbox",settings:{..._,title:__("Checkbox","jetpack"),keywords:[__("Confirm","jetpack"),__("Accept","jetpack")],description:__("Add a single checkbox.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),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-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:e=>(0,r.createElement)(f.Z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width}),attributes:{..._.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{..._,title:__("Consent","jetpack"),keywords:[__("Consent","jetpack")],description:__("Ask for consent","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),d:"m81 370h142v40h-142zm0-39h142v-40h-142zm0-79h245v-40h-245zm378 260h-40c0-40.253906-32.746094-73-73-73s-73 32.746094-73 73h-40c0-42.085938 23.128906-78.867188 57.34375-98.3125-11.40625-13.023438-18.34375-30.054688-18.34375-48.6875 0-40.804688 33.195312-74 74-74s74 33.195312 74 74c0 18.632812-6.9375 35.664062-18.34375 48.6875 34.214844 19.445312 57.34375 56.226562 57.34375 98.3125zm-113-113c18.746094 0 34-15.253906 34-34s-15.253906-34-34-34-34 15.253906-34 34 15.253906 34 34 34zm-286 73h138.316406c-3.460937 12.757812-5.316406 26.164062-5.316406 40h-133c-33.085938 0-60-26.914062-60-60v-392c0-33.085938 26.914062-60 60-60h203.757812l142.132813 142.855469v125.210937c-12.042969-7.476562-25.453125-12.765625-39.890625-15.324218v-81.632813h-71.109375c-33.085937 0-60-26.914063-60-60v-71.109375h-174.890625c-11.027344 0-20 8.972656-20 20v392c0 11.027344 8.972656 20 20 20zm234.890625-340.890625h42.972656l-62.972656-63.234375v43.234375c0 11.03125 8.96875 20 20 20zm0 0"}),24,25,"-26 0 512 512"),attributes:{..._.attributes,label:{type:"string",default:__("Consent","jetpack")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack")}},edit:e=>{let{attributes:t,isSelected:n,setAttributes:a}=e;const{id:o,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c}=t;return(0,r.createElement)(v.Z,{id:o,isSelected:n,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c,setAttributes:a})}}},{name:"field-checkbox-multiple",settings:{..._,title:__("Checkbox Group","jetpack"),keywords:[__("Choose Multiple","jetpack"),__("Option","jetpack")],description:__("People love options. Add several checkbox items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:j("checkbox"),attributes:{..._.attributes,label:{type:"string",default:"Choose several"}}}},{name:"field-radio",settings:{..._,title:__("Radio","jetpack"),keywords:[__("Choose","jetpack"),__("Select","jetpack"),__("Option","jetpack")],description:__("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Path,{fill:(0,k.m)(),d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.createElement)(i.Circle,{cx:"12",cy:"12",r:"5"}))),edit:j("radio"),attributes:{..._.attributes,label:{type:"string",default:"Choose one"}}}},{name:"field-select",settings:{..._,title:__("Select","jetpack"),keywords:[__("Choose","jetpack"),__("Dropdown","jetpack"),__("Option","jetpack")],description:__("Compact, but powerful. Add a select box with several items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,k.m)(),d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:j("select"),attributes:{..._.attributes,label:{type:"string",default:"Select one"}}}}]},54789:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=(e,t,n)=>{const r=n.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(r&&r.length)return r[1];const a=n.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(a&&a.length)return a[1];const o=n.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!o||!o.length)&&o[1]},s={root:{},innerBlocks:[]};t.Z={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("<br>","");if(t.includes("[contact-form")&&(s.root={},s.innerBlocks=[],s.root=(e=>{const t={to:i("contact-form","to",e),subject:i("contact-form","subject",e),submitButtonText:i("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,r.pickBy)(t,r.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{s.innerBlocks.push((e=>{const t={label:i("contact-field","label",e),placeholder:i("contact-field","placeholder",e),required:i("contact-field","required",e),options:i("contact-field","options",e)},n=(e=>{const t={text:"jetpack/field-text",url:"jetpack/field-text",textarea:"jetpack/field-textarea",radio:"jetpack/field-radio",checkbox:"jetpack/field-checkbox","checkbox-multiple":"jetpack/field-checkbox-multiple",select:"jetpack/field-select",email:"jetpack/field-email",name:"jetpack/field-name",default:"jetpack/field-text"};return t[e]?t[e]:t.default})(i("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(n,(0,r.pickBy)(t,r.identity))})(e))}))}if(t.includes("[/contact-form]")){s.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:s.root.attrs.submitButtonText||__("Contact Us","jetpack")}));return(0,a.createBlock)(s.root.blockName,s.root.attrs,s.innerBlocks)}return!1}}]}},12289:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(55609),s=n(58014),l=n(41632),c=n(57535);const __=o.__,u=(0,a.compact)([{name:"contact-form",title:__("Contact Form","jetpack"),description:__("Add a contact form to your page.","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M21.99 8c0-.72-.37-1.35-.94-1.7l-8.04-4.71c-.62-.37-1.4-.37-2.02 0L2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zm-11.05 4.34l-7.2-4.5 7.25-4.25c.62-.37 1.4-.37 2.02 0l7.25 4.25-7.2 4.5c-.65.4-1.47.4-2.12 0z"}),48,48,"-4 -4 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-textarea",{}],["jetpack/button",{text:__("Contact Us","jetpack"),element:"button"}]]},!(0,s.Wp)()&&{name:"newsletter-form",title:__("Newsletter Sign-up","jetpack"),description:__("A simple way to collect information from folks visiting your site.","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M37.9999 7.59998C49.3999 7.59998 68.3999 26.6 68.3999 26.6V68.4H7.59985V26.6C7.59985 26.6 26.5999 7.59998 37.9999 7.59998ZM64.5999 63.536L50.4259 52.44L64.5999 41.8L62.9659 40.394L54.3779 45.334L55.2899 28.956L21.9639 26.98L20.2159 44.232L12.6539 40.622L11.3999 41.8L25.5739 52.44L12.5019 63.27L14.0219 64.904L37.9999 49.4L62.8139 65.17L64.5999 63.536Z"}),48,48,"-6 -6 92 92"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack"),element:"button"}]]},{name:"rsvp-form",title:__("RSVP Form","jetpack"),description:__("Add an RSVP form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M10 9V7.41c0-.89-1.08-1.34-1.71-.71L3.7 11.29c-.39.39-.39 1.02 0 1.41l4.59 4.59c.63.63 1.71.19 1.71-.7V14.9c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Attending?","jetpack"),required:!0,options:[__("Yes","jetpack"),__("No","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send RSVP","jetpack"),element:"button"}]],attributes:{subject:__("A new RSVP from your website","jetpack")}},{name:"registration-form",title:__("Registration Form","jetpack"),description:__("Add a Registration form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M11.34 15.02c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95zm2.12-10.61L17 7.95l-4.95 4.95-3.54-3.54 4.95-4.95zm6.95 11l-2.12-2.12c-.18-.18-.44-.29-.7-.29h-.27l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2h-.42c-.27 0-.52.11-.71.29l-2.12 2.12c-.37.38-.58.89-.58 1.42V20c0 1.1.9 2 2 2h14c1.1 0 2-.89 2-2v-3.17c0-.53-.21-1.04-.59-1.42z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{label:__("Phone Number","jetpack")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack"),options:[__("Search Engine","jetpack"),__("Social Media","jetpack"),__("TV","jetpack"),__("Radio","jetpack"),__("Friend or Family","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send","jetpack"),element:"button"}]],attributes:{subject:__("A new registration from your website","jetpack")}},{name:"appointment-form",title:__("Appointment Form","jetpack"),description:__("Add an Appointment booking form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V8c0-.55-.45-1-1-1s-1 .45-1 1v2H2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1H6zm9 4c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{required:!0}],["jetpack/field-date",{label:__("Date","jetpack"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack"),required:!0,options:[__("Morning","jetpack"),__("Afternoon","jetpack")]}],["jetpack/field-textarea",{label:__("Notes","jetpack")}],["jetpack/button",{text:__("Book Appointment","jetpack"),element:"button"}]],attributes:{subject:__("A new appointment booked from your website","jetpack")}},{name:"feedback-form",title:__("Feedback Form","jetpack"),description:__("Add a Feedback form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.03 0 3.8-1.11 4.75-2.75.19-.33-.05-.75-.44-.75H7.69c-.38 0-.63.42-.44.75.95 1.64 2.72 2.75 4.75 2.75z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Please rate our website","jetpack"),required:!0,options:[__("1 - Very Bad","jetpack"),__("2 - Poor","jetpack"),__("3 - Average","jetpack"),__("4 - Good","jetpack"),__("5 - Excellent","jetpack")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack")}],["jetpack/button",{text:__("Send Feedback","jetpack"),element:"button"}]],attributes:{subject:__("New feedback received from your website","jetpack")}}]);t.Z=u},4352:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(29756);const __=i.__;class u extends r.Component{constructor(){super(...arguments),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"!==e.key||e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:a,region:i,postal:u,country:p,linkToGoogleMaps:d},isSelected:m,setAttributes:h}=this.props,f=[e,t,n,a,i,u,p].some((e=>""!==e)),g=o()({"jetpack-address-block":!0,"is-selected":m}),b=(0,r.createElement)(l.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:d,onChange:e=>h({linkToGoogleMaps:e})});return(0,r.createElement)("div",{className:g},!m&&f&&(0,c.Z)(this.props),(m||!f)&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>h({address:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>h({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>h({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:a,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>h({city:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:i,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>h({region:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:u,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>h({postal:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>h({country:e}),onKeyDown:this.preventEnterKey}),b))}}t.Z=u},47559:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(4352),s=n(29756),l=n(41632);const __=a.__,_x=a._x,c="address",u={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,l.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.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)(o.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:i.Z,save:s.Z}},29756:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:a,city:o,region:i,postal:s,country:l}}=e;return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},t),n&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},n),a&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(i||s)&&(0,r.createElement)("div",{className:"jetpack-address__city"},o),o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__city"},o),", ",(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&(0,r.createElement)("div",{className:"jetpack-address__country"},l))},i=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}}=e;let l=o?`+${o},`:"";l=i?`${l}+${i}`:l;return`https://www.google.com/maps/search/${t?`${t},`:""}${n?`${n},`:""}${r?`${r},`:""}${a?`+${a},`:""}${l}${s?`+${s}`:""}`.replace(" ","+")};t.Z=e=>(e=>{let{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}=e;return[t,n,r,a,o,i,s].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))},18680:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(89105),i=n.n(o);const s=["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"]];t.Z=e=>{const{isSelected:t}=e;return(0,r.createElement)("div",{className:i()({"jetpack-contact-info-block":!0,"is-selected":t})},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:s,templateLock:!1,template:l}))}},63015:function(e,t,n){"use strict";var r=n(59861),a=n(55637),o=n(65736);const __=o.__;t.Z=e=>{const{setAttributes:t}=e;return(0,a.Z)("email",e,__("Email","jetpack"),r.Z,(e=>t({email:e})))}},52413:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(63015),s=n(41632),l=n(59861);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z,parent:["jetpack/contact-info"]}},59861:function(e,t,n){"use strict";var r=n(69307),a=n(89453);t.Z=e=>{let{attributes:{email:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},t.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&a.validate(n)?e===n?(0,r.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,r.createElement)(r.Fragment,{key:t},(0,r.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,r.createElement)(r.Fragment,null,e.slice(-(e.length-n.length)))):(0,r.createElement)(r.Fragment,{key:t},e)})))}},20195:function(e,t,n){"use strict";n.d(t,{u2:function(){return h},Xd:function(){return g},Nk:function(){return b}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(4981),l=n(18680),c=n(41632),u=n(47559),p=n(52413),d=n(51592),m=n(57535);const __=a.__,_x=a._x,h="contact-info",f=(0,c.Z)((0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),g={title:__("Contact Info","jetpack"),description:__("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[_x("email","block search term","jetpack"),_x("phone","block search term","jetpack"),_x("address","block search term","jetpack")],icon:{src:f,foreground:(0,m.m)()},category:"grow",supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"widget_contact_info"===t},transform:e=>{let{instance:t}=e,n=[(0,s.createBlock)("core/heading",{content:t.raw.title}),(0,s.createBlock)("jetpack/email",{email:t.raw.email}),(0,s.createBlock)("jetpack/phone",{phone:t.raw.phone}),(0,s.createBlock)("jetpack/address",{address:t.raw.address})];return t.raw.hours&&(n=[...n,(0,s.createBlock)("core/paragraph",{content:t.raw.hours})]),t.raw.showmap&&t.raw.address&&(n=[...n,(0,s.createBlock)("jetpack/map",{address:t.raw.address})]),(0,s.createBlock)("jetpack/contact-info",{},n)}}]},attributes:{},edit:l.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},b=[{name:u.u,settings:u.X},{name:p.u,settings:p.X},{name:d.u,settings:d.X}]},51633:function(e,t,n){"use strict";var r=n(65736),a=n(18690),o=n(55637);const __=r.__;t.Z=e=>{const{setAttributes:t}=e;return(0,o.Z)("phone",e,__("Phone number","jetpack"),a.Z,(e=>t({phone:e})))}},51592:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(51633),s=n(41632),l=n(18690);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z}},18690:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{attributes:{phone:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},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,o=n?e.substring(0,n):"",i=a.replace(/\D/g,"");return/[0-9/+/(]/.test(a[0])?(o=o.slice(0,-1),"+"===a[0]&&(i="+"+i)):a=a.substring(1),[o.trim()?(0,r.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,(0,r.createElement)("a",{key:"phoneNumber",href:`tel:${i}`},a)]}(t))}},48387:function(e,t,n){"use strict";var r=n(69307),a=n(78850),o=n(75139),i=n(89105),s=n.n(i),l=n(52175),c=n(17882);t.Z=e=>{let{className:t=null,currency:n=null,defaultValue:i=null,disabled:u=!1,label:p="",onChange:d=null,value:m=""}=e;const[h,f]=(0,r.useState)((0,a.ZP)(m,n,{symbol:""})),[g,b]=(0,r.useState)(!1),[k,v]=(0,r.useState)(!1),y=(0,r.useRef)(null),E=(0,r.useCallback)((e=>{if(f(e),!d)return;const t=(0,c.Vm)(e,n);t&&t>=(0,c.hj)(n)?(d(t),v(!1)):e&&v(!0)}),[n,d]),w=()=>{y.current&&(y.current.focus(),b(!0))};return(0,r.useEffect)((()=>{y.current&&y.current.addEventListener("blur",(()=>b(!1)))}),[y]),(0,r.useEffect)((()=>{g||h||E((0,a.ZP)(i,n,{symbol:""}))}),[n,i,h,g,E]),(0,r.useEffect)((()=>{g||k||f((0,a.ZP)(m,n,{symbol:""}))}),[n,g,k,E,m]),(0,r.createElement)("div",{className:s()("donations__amount",t,{"has-focus":g,"has-error":k}),role:"button",tabIndex:0,onClick:w,onKeyDown:w},o.M[n].symbol,u?(0,r.createElement)("div",{className:"donations__amount-value"},(0,a.ZP)(m||i,n,{symbol:""})):(0,r.createElement)(l.RichText,{allowedFormats:[],"aria-label":p,keepPlaceholderOnFocus:!0,multiline:!1,onChange:e=>E(e),placeholder:(0,a.ZP)(i,n,{symbol:""}),ref:y,value:h,withoutInteractiveFormatting:!0}))}},46928:function(e,t,n){"use strict";var r=n(69307),a=n(75139),o=n(52175),i=n(55609),s=n(65736),l=n(39630),c=n(17882),u=n(4235);const __=s.__;t.Z=e=>{const{attributes:t,setAttributes:n}=e,{currency:s,monthlyDonation:p,annualDonation:d,showCustomAmount:m}=t,h=(e,r)=>{const a={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],o=t[a];n({[a]:{...o,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:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(i.Button,{className:"jetpack-donations__currency-toggle",icon:(0,r.createElement)(r.Fragment,null,a.M[s].symbol+" - "+s,(0,r.createElement)(i.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:t,onKeyDown:e=>{n||e.keyCode!==l.DOWN||(e.preventDefault(),e.stopPropagation(),t())}})},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(i.MenuGroup,null,Object.keys(c.ck).map((e=>(0,r.createElement)(i.MenuItem,{isSelected:e===s,onClick:()=>{n({currency:e}),t()},key:`jetpack-donations-currency-${e}`},a.M[e].symbol+" - "+e))))}}))))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{checked:p.show,onChange:e=>h("1 month",e),label:__("Show monthly donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:d.show,onChange:e=>h("1 year",e),label:__("Show annual donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:m,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,r.createElement)(i.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,u.Z)()}`},__("View donation earnings","jetpack")))))}},92202:function(e,t,n){"use strict";var r=n(69307),a=n(78850),o=n(75139),i=n(52175),s=n(65736),l=n(17882);const __=s.__;t.Z={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:e=>{let{attributes:t}=e;const{currency:n,oneTimeDonation:s,monthlyDonation:c,annualDonation:u,showCustomAmount:p,chooseAmountText:d,customAmountText:m}=t;if(!s||!s.show||-1===s.planId)return null;const h={"one-time":{title:__("One-Time","jetpack")},...c.show&&{"1 month":{title:__("Monthly","jetpack")}},...u.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"donations__container"},Object.keys(h).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(h).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${t} `,"data-interval":t},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:s.heading}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:c.heading}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:u.heading}),(0,r.createElement)(i.RichText.Content,{tagName:"p",value:d}),(0,r.createElement)("div",{className:"donations__amounts donations__one-time-item"},s.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),c.show&&(0,r.createElement)("div",{className:"donations__amounts donations__monthly-item"},c.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),u.show&&(0,r.createElement)("div",{className:"donations__amounts donations__annual-item"},u.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),p&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.RichText.Content,{tagName:"p",value:m}),(0,r.createElement)("div",{className:"donations__amount donations__custom-amount"},o.M[n].symbol,(0,r.createElement)("div",{className:"donations__amount-value","data-currency":n,"data-empty-text":(0,a.ZP)(100*(0,l.hj)(n),n,{symbol:""})}))),(0,r.createElement)("div",{className:"donations__separator"},"——"),(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:s.extraText}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:c.extraText}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__annual-item",value:u.extraText}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:s.buttonText})),c.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:c.buttonText})),u.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:u.buttonText}))))))}}},53104:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(9818),s=n(65736),l=n(53823),c=n(82116),u=n(83040),p=n(10756);const __=s.__;t.Z=e=>{const{attributes:t,className:n,setAttributes:r}=e,{currency:s}=t,[d,m]=(0,o.useState)(""),[h,f]=(0,o.useState)(!1),[g,b]=(0,o.useState)(!1),[k,v]=(0,o.useState)([]),y=(0,i.useSelect)((e=>e("core/editor").getCurrentPost()),[]);(0,o.useEffect)((()=>{r({fallbackLinkUrl:y.link})}),[y.link,r]);const E=e=>{m(e)},w=e=>e.reduce(((e,t)=>{let{id:n,currency:r,type:a,interval:o}=t;return r===s&&"donation"===a&&(e[o]=n),e}),{}),_=e=>{if(!e&&"object"!=typeof e||e.errors)return void m(__("Could not load data from WordPress.com.","jetpack"));f(e.should_upgrade_to_access_memberships),b(e.connect_url);const t=w(e.products);(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(t)?v(t):e.should_upgrade_to_access_memberships||e.connect_url?v({"one-time":-1,"1 month":-1,"1 year":-1}):(0,u.Z)(s).then((e=>v(w(e))),E)};return(0,o.useEffect)((()=>{(0,p.Z)("donation").then(_,E)}),[s]),d?(0,o.createElement)(c.Z,{className:n,error:d}):(0,o.createElement)(l.Z,a()({},e,{products:k,shouldUpgrade:h,stripeConnectUrl:g}))}},83040:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z=async e=>{try{return await a()({path:"/wpcom/v2/memberships/products",method:"POST",data:{type:"donation",currency:e}})}catch(e){return Promise.reject(e.message)}}},10756:function(e,t,n){"use strict";var r=n(82827),a=n(86989),o=n.n(a),i=n(96483);t.Z=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const{query:t}=(0,r.Qc)(window.location.href,!0),n=(0,i.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===t.origin?"gutenberg-wpcom":"gutenberg",...e&&{type:e}});try{return await o()({path:n,method:"GET"})}catch(e){return Promise.reject(e.message)}}},63445:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},Xd:function(){return c}});var r=n(65736),a=n(53104),o=n(56734),i=n(92202),s=n(51591);const __=r.__,l="donations",c={title:__("Donations","jetpack"),description:__("Collect one-time, monthly, or annually recurring donations.","jetpack"),icon:s.K9,category:"earn",keywords:[__("Donations","jetpack")],supports:{html:!1},edit:a.Z,save:o.Z,example:{},deprecated:[i.Z]}},82116:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=e=>{let{className:t,error:n}=e;return(0,r.createElement)(o.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:n,className:t})}},56734:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t}=e;const{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:s}=t;return o&&o.show&&o.planId&&-1!==o.planId?(0,r.createElement)("div",null,(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:o.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:o.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:o.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:i.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:i.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:i.buttonText})),s.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value: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.buttonText}))):null}},75242:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(9818),i=n(65736),s=n(48387),l=n(17882);const __=i.__;t.Z=e=>{let{activeTab:t,attributes:n,setAttributes:c}=e;const{currency:u,oneTimeDonation:p,monthlyDonation:d,annualDonation:m,showCustomAmount:h,chooseAmountText:f,customAmountText:g}=n,b={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"},k=e=>n[b[t]][e],v=(e,r)=>{const a=b[t],o=n[a];c({[a]:{...o,[e]:r}})},[y,E]=(0,r.useState)(u),w=(0,l.hj)(u),_=(0,r.useMemo)((()=>[10*w,30*w,200*w]),[w]);(0,r.useEffect)((()=>{y!==u&&(E(u),c({oneTimeDonation:{...p,amounts:_},monthlyDonation:{...d,amounts:_},annualDonation:{...m,amounts:_}}))}),[u,y,_,p,d,m,c]);const C=k("amounts"),x=(0,o.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:k("heading"),onChange:e=>v("heading",e)}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:f,onChange:e=>c({chooseAmountText:e})}),(0,r.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,r.createElement)(s.Z,{currency:u,defaultValue:_[t],label:(0,i.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,v("amounts",n)})(e,t),value:e})))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:g,onChange:e=>c({customAmountText:e})}),(0,r.createElement)(s.Z,{currency:u,label:__("Custom amount","jetpack"),defaultValue:100*(0,l.hj)(u),className:"donations__custom-amount",disabled:!0})),(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:k("extraText"),onChange:e=>v("extraText",e)}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper"},(0,r.createElement)(a.RichText,{className:"wp-block-button__link donations__donate-button",placeholder:__("Write a message…","jetpack"),value:k("buttonText"),onChange:e=>{return t=e,void c({oneTimeDonation:{...p,buttonText:t},monthlyDonation:{...d,buttonText:t},annualDonation:{...m,buttonText:t}});var t},allowedFormats:x})))}},53823:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(9818),s=n(65736),l=n(46928),c=n(75242),u=n(43393);const __=s.__;t.Z=e=>{const{attributes:t,className:n,products:a,setAttributes:s,shouldUpgrade:p,stripeConnectUrl:d}=e,{oneTimeDonation:m,monthlyDonation:h,annualDonation:f}=t,[g,b]=(0,r.useState)("one-time"),k=(0,i.useSelect)((e=>e("core/editor").getCurrentPostId()),[]),v=(0,r.useCallback)((e=>g===e),[g]),y={"one-time":{title:__("One-Time","jetpack")},...h.show&&{"1 month":{title:__("Monthly","jetpack")}},...f.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.useEffect)((()=>{m.planId===a["one-time"]&&h.planId===a["1 month"]&&f.planId===a["1 year"]||s({oneTimeDonation:{...m,planId:a["one-time"]},monthlyDonation:{...h,planId:a["1 month"]},annualDonation:{...f,planId:a["1 year"]}})}),[m,h,f,s,a]),(0,r.useEffect)((()=>{!h.show&&v("1 month")&&b("one-time"),!f.show&&v("1 year")&&b("one-time")}),[h,f,b,v]),(0,r.createElement)("div",{className:n},!p&&d&&(0,r.createElement)(u.Z,{blockName:"donations",postId:k,stripeConnectUrl:d}),(0,r.createElement)("div",{className:"donations__container"},Object.keys(y).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(y).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:o()("donations__nav-item",{"is-active":v(t)}),onClick:()=>b(t),onKeyDown:()=>b(t),key:`jetpack-donations-nav-item-${t} `},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)(c.Z,{activeTab:g,attributes:t,setAttributes:s}))),(0,r.createElement)(l.Z,e))}},28559:function(e,t){"use strict";t.Z={url:{type:"string",validator:e=>!e||e.startsWith("http")},eventId:{type:"number"},style:{type:"string",default:"inline"}}},77019:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__,i=e=>{let{setEditingUrl:t}=e;return(0,r.createElement)(a.ToolbarGroup,null,(0,r.createElement)(a.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},48631:function(e,t,n){"use strict";var r=n(61652);t.Z=[r.Z]},61652:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(92819),l=n(4981),c=n(65736);const _x=c._x,u=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius"];t.Z={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 r=n;r||(r=e.useModal?"modal":"inline");const a={...(0,s.omit)(e,["useModal",...u]),className:t&&t.replace("is-style-outline",""),style:r},o=(0,s.pick)(e,u);return[a,[(0,l.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(e){let{attributes:t}=e;const{eventId:n,useModal:a,url:s,style:l}=t;if(n)return a||"modal"===l?function(e){const{backgroundColor:t,borderRadius:n,customBackgroundColor:a,customTextColor:s,eventId:l,text:c,textColor:u,url:p}=e,d=(0,i.getColorClassName)("color",u),m=(0,i.getColorClassName)("background-color",t),h=o()("wp-block-button__link",{"has-text-color":u||s,[d]:d,"has-background":t||a,[m]:m,"no-border-radius":0===n}),f={backgroundColor:m?void 0:a,color:d?void 0:s,borderRadius:n?n+"px":void 0};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{className:h,href:p,id:`eventbrite-widget-${l}`,rel:"noopener noreferrer",role:"button",style:f,tagName:"a",target:"_blank",value:c}))}(t):s&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:s},s)},isEligible:(e,t)=>("modal"===e.style||e.useModal)&&((0,s.isEmpty)(t)||(0,s.some)((0,s.pick)(e,u),Boolean))}},62337:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(45166),u=n(28559),p=n(62194),d=n(14087),m=n(58014),h=n(8964),f=n(72566),g=n(87072),b=n(77019);const __=i.__,_x=i._x;class k extends o.Component{constructor(){super(...arguments),a()(this,"state",{editedUrl:this.props.attributes.url||"",editingUrl:!1,isResolvingUrl:!1}),a()(this,"setUrl",(e=>{const{attributes:t,noticeOperations:n,setAttributes:r}=this.props,{style:a}=t;if(!e||c.Q7===e||"modal"===a)return;const o=(0,p.Ve)(e);if(o){const t={eventId:o,url:e};(0,g.Z)(t.url,this.setIsResolvingUrl).then((e=>{const a=(0,d.S)(u.Z,{...t,url:e});r(a),this.setState({editedUrl:e}),n.removeAllNotices()})).catch((()=>{r({eventId:void 0,url:void 0}),this.setErrorNotice()}))}else this.setErrorNotice()})),a()(this,"setIsResolvingUrl",(e=>this.setState({isResolvingUrl:e}))),a()(this,"setEditingUrl",(e=>this.setState({editingUrl:e}))),a()(this,"setErrorNotice",(()=>{const{noticeOperations:e,onReplace:t}=this.props,{editedUrl:n}=this.state;e.removeAllNotices(),e.createErrorNotice((0,o.createElement)(o.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,o.createElement)(s.Button,{isLink:!0,onClick:()=>(0,p.N3)(n,t)},_x("Convert block to link","button label","jetpack"))))})),a()(this,"submitForm",(e=>{e&&e.preventDefault(),this.setUrl((0,p.qq)(this.state.editedUrl)),this.setState({editingUrl:!1})})),a()(this,"cannotEmbed",(()=>{const{url:e}=this.props.attributes,{isResolvingUrl:t}=this.state;return!t&&e&&!c.Wh.test(e)}))}componentDidMount(){const{url:e}=this.props.attributes;this.setUrl(e)}renderLoading(){return(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(s.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack")))}renderInspectorControls(){const{style:e}=this.props.attributes,{attributes:t,clientId:n,setAttributes:r}=this.props,a=[{value:"inline",label:__("In-page Embed","jetpack"),preview:(0,o.createElement)("div",{className:"block-editor-block-preview__container"},(0,o.createElement)("img",{src:h,alt:__("In page Eventbrite checkout example","jetpack")}))},{value:"modal",label:__("Button & Modal","jetpack")}];return(0,o.createElement)(f.Z,{title:_x("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack"),clientId:n,styleOptions:a,onSelectStyle:r,activeStyle:e,attributes:t,viewportWidth:130})}renderEditEmbed(){const{className:e,noticeUI:t}=this.props,{editedUrl:n}=this.state,r=(0,m.Wp)()||(0,m.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.Placeholder,{label:__("Eventbrite Checkout","jetpack"),instructions:__("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:(0,o.createElement)(l.BlockIcon,{icon:c.qv}),notices:t},(0,o.createElement)("form",{onSubmit:this.submitForm},(0,o.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:e=>this.setState({editedUrl:e.target.value})}),(0,o.createElement)(s.Button,{isSecondary:!0,type:"submit"},_x("Embed","submit button label","jetpack"))),(0,o.createElement)("div",{className:"components-placeholder__learn-more"},(0,o.createElement)(s.ExternalLink,{href:r},__("Learn more about Eventbrite embeds","jetpack")))))}renderInlinePreview(){const{className:e}=this.props,{eventId:t}=this.props.attributes;if(!t)return;const n=`eventbrite-widget-${t}`,r=`\n\t\t\t<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ${t},\n\t\t\t\t\tiframeContainerId: '${n}',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id="${n}"></div>\n\t\t`;return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.SandBox,{html:r}),(0,o.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}render(){const{attributes:e}=this.props,{url:t,style:n}=e,{editingUrl:r,isResolvingUrl:a}=this.state;return a?this.renderLoading():r||!t||this.cannotEmbed()?this.renderEditEmbed():(0,o.createElement)(o.Fragment,null,this.renderInspectorControls(),(0,o.createElement)(l.BlockControls,null,(0,o.createElement)(b.J,{setEditingUrl:this.setEditingUrl})),"modal"===n?(0,o.createElement)(l.InnerBlocks,{template:[[c.Ss.name,c.Ss.attributes]],templateLock:"all"}):this.renderInlinePreview())}}t.Z=(0,s.withNotices)(k)},45166:function(e,t,n){"use strict";n.d(t,{Ss:function(){return d},Wh:function(){return m},Q7:function(){return f},u2:function(){return g},qv:function(){return k},Xd:function(){return v}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(28559),l=n(48631),c=n(62337),u=n(74318),p=n(57535);const __=a.__,_x=a._x,d={name:"jetpack/button",attributes:{element:"a",text:_x("Register","verb: e.g. register for an event.","jetpack"),uniqueId:"eventbrite-widget-id"}},m=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,h=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,f="https://www.eventbrite.com/e/test-event-tickets-123456789",g="eventbrite",b=__("Eventbrite Checkout","jetpack"),k=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,{id:"eventbrite-icon"},(0,r.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),v={title:b,description:__("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:{src:k,foreground:(0,p.m)()},category:"embed",keywords:[_x("events","block search term","jetpack"),_x("tickets","block search term","jetpack")],supports:{html:!1,align:!0},attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&(m.test(e.textContent)||h.test(e.textContent)),transform:e=>(0,i.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}]},example:{attributes:{url:f,eventId:123456789,style:"modal"},innerBlocks:[d]},deprecated:l.Z}},74318:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{eventId:n,style:o,url:i}=t;if(n)return"modal"===o?(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null)):i&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:i},i)}},62194:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},Ve:function(){return i},qq:function(){return s}});var r=n(69307),a=n(4981);function o(e,t){const n=(0,r.createElement)("a",{href:e},e);t((0,a.createBlock)("core/paragraph",{content:(0,r.renderToString)(n)}))}function i(e){if(!e)return null;const t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&"string"==typeof e?e.trim():null}},72966:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=(0,r.forwardRef)((function(e,t){let{onSubmit:n,onChange:a,value:i=""}=e;return(0,r.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:n},(0,r.createElement)("input",{type:"text",className:"wp-block-jetpack-gif_input components-placeholder__input",placeholder:__("Enter search terms, e.g. cat…","jetpack"),value:i,onChange:a,ref:t,"aria-labelledby":"wp-block-jetpack-gif_search-button"}),(0,r.createElement)(o.Button,{id:"wp-block-jetpack-gif_search-button",isSecondary:!0,type:"submit"},__("Search","jetpack")))}))},32882:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW"},68055:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(52175);function i(){return(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(a.PanelBody,{className:"components-panel__body-gif-branding"},(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,r.createElement)(a.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,r.createElement)(a.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"}))))}},61796:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(31072),u=n(80917),p=n(72966),d=n(68055),m=n(21835);const __=i.__;t.Z=function(e){let{attributes:t,setAttributes:n,className:a,isSelected:i}=e;const{align:h,caption:f,giphyUrl:g,searchText:b,paddingTop:k}=t,v=o()(a,`align${h}`),[y,E]=(0,r.useState)(!1),w=(0,r.createRef)(),{isFetching:_,giphyData:C,fetchGiphyData:x}=(0,m.Z)(),j=()=>{w.current.focus(),E(!1)};(0,r.useEffect)((()=>{C&&C[0]&&n((0,u.ix)(C[0]))}),[C,n]);const S=e=>{e.preventDefault(),t.searchText&&!_&&x((0,u.Gr)(t.searchText))},A=e=>n({searchText:e.target.value});return(0,r.createElement)("div",{className:v},(0,r.createElement)(d.Z,null),g?(0,r.createElement)("figure",null,i&&(0,r.createElement)(p.Z,{onSubmit:S,onChange:A,value:b,ref:w}),i&&C&&C.length>1&&(0,r.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},C.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,r.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:e.id,onClick:t=>{t.preventDefault(),(e=>{n((0,u.ix)(e))})(e)},style:t})}))),(0,r.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:{paddingTop:k}},(0,r.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:j,onKeyDown:j,role:"button",tabIndex:"0"}),(0,r.createElement)("iframe",{src:g,title:b})),(!l.RichText.isEmpty(f)||i)&&!!g&&(0,r.createElement)(l.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:y,unstableOnFocus:()=>E(!1),onChange:e=>n({caption:e}),placeholder:__("Write caption…","jetpack"),tagName:"figcaption",value:f})):(0,r.createElement)(s.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:c.qv,label:c.TN,instructions:__("Search for a term or paste a Giphy URL","jetpack")},(0,r.createElement)(p.Z,{onSubmit:S,onChange:A,value:b,ref:w})))}},21835:function(e,t,n){"use strict";var r=n(69307);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const[t,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(e),[i,s]=(0,r.useState)("");return(0,r.useEffect)((()=>{if(!i)return;(async()=>{n(!0);const e=await fetch(i).then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json(),n=void 0!==t.data.images?[t.data]:t.data;n[0].images&&o(n)}n(!1)})()}),[i]),{isFetching:t,giphyData:a,fetchGiphyData:s}}},31072:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},TN:function(){return c},qv:function(){return u},Xd:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(61796),s=n(57535);const __=a.__,_x=a._x,l="gif",c=__("GIF","jetpack"),u=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),p={title:c,icon:{src:u,foreground:(0,s.m)()},category:"embed",keywords:[_x("animated","block search term","jetpack"),_x("giphy","block search term","jetpack"),_x("image","block search term","jetpack")],description:__("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:i.Z,save:()=>null,example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}}},80917:function(e,t,n){"use strict";n.d(t,{Gr:function(){return s},ix:function(){return u}});var r=n(32882);const a=e=>`https://api.giphy.com/v1/gifs/search?q=${encodeURIComponent(e)}&api_key=${encodeURIComponent(r.U)}&limit=10`,o=e=>`https://api.giphy.com/v1/gifs/${encodeURIComponent(e)}?api_key=${encodeURIComponent(r.U)}`,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n=e.split(t);return n[n.length-1]},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;e=e.trim();const n=/^https?:\/\/(media\.|i\.)?giphy\.com\/(embed|gifs|media)?\/?([-\w]*)(\/giphy)?(\.gif)?$/,r=e.match(n);return r&&r[3]&&(t=i(r[3],"-")),t?o(t):a(e)},l=e=>`${Math.floor(e.images.original.height/e.images.original.width*100)}%`,c=e=>e?.embed_url,u=e=>({giphyUrl:c(e),paddingTop:l(e)})},76280:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__,_x=o._x;t.Z=e=>{const{className:t,embedValue:n,onChange:o,onSubmit:i}=e;return(0,r.createElement)(a.PanelBody,{title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:i,className:t},(0,r.createElement)("textarea",{type:"text",value:n,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:o}),(0,r.createElement)(a.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack"))))}},53997:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(52175),l=n(90162),c=n(4981),u=n(76280),p=n(54286),d=n(3030),m=n(58014);const __=a.__,_x=a._x;t.Z=(0,i.compose)(o.withNotices,(0,l.withViewportMatch)({isMobile:"< small"}))((function(e){const{attributes:{url:t,height:n},className:a,isMobile:i,isSelected:l,name:h,noticeOperations:f,noticeUI:g,setAttributes:b}=e,[k,v]=(0,r.useState)(t||""),[y,E]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1);(0,r.useEffect)((()=>{!l&&w&&_(!1)}),[l,w]);const C=()=>{_(!0)},x=e=>{e&&e.preventDefault();const t=(0,d.L7)(k.trim());if(!d.Wh.test(t.url))return f.removeAllNotices(),void f.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or Embed Code. Please note, you need to use the 'Public URL' or 'Embed Code', the 'Shareable Link' will not work.","jetpack"));b(t),E(!1),f.removeAllNotices()},j=(0,c.getBlockDefaultClassName)(h),S=`<iframe src="${t}" style="border:0" scrolling="no" frameborder="0" height="${i?"300":n}"></iframe>`,A=(0,r.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/google-calendar/"},__("Enable Permissions for the calendar you want to share","jetpack")),N=(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(u.Z,{className:`${j}-embed-form-sidebar`,embedValue:k,onChange:e=>v(e.target.value),onSubmit:x}));if(y||!t){const e=(0,m.Wp)()||(0,m.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/google-calendar/":"https://jetpack.com/support/jetpack-blocks/google-calendar/";return(0,r.createElement)("div",{className:a},N,(0,r.createElement)(o.Placeholder,{className:a,label:__("Google Calendar","jetpack"),icon:(0,r.createElement)(s.BlockIcon,{icon:p.Z}),instructions:(0,r.createElement)("ol",{className:`${j}-placeholder-instructions`},(0,r.createElement)("li",null,A),(0,r.createElement)("li",null,__("Paste the embed code you copied from your Google Calendar below","jetpack"))),notices:g},(T=`${j}-embed-form-editor`,(0,r.createElement)("form",{onSubmit:x,className:T},(0,r.createElement)("textarea",{type:"text",value:k,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:e=>v(e.target.value)}),(0,r.createElement)(o.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)("div",{className:`${j}-placeholder-links`},(0,r.createElement)(o.ExternalLink,{href:e},__("Learn more","jetpack")))))}var T;return(0,r.createElement)("div",{className:a},N,(0,r.createElement)("div",null,(0,r.createElement)(o.SandBox,{html:S,onFocus:C}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:C})))}))},54286:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"23",viewBox:"0 0 24 23",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19.5,23h-15c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h15c2.2,0,4,1.8,4,4v15C23.5,21.2,21.7,23,19.5,23z M4.5,2 c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2V4c0-1.1-0.9-2-2-2H4.5z M6.9,3.9L6.9,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0C6.5,5.9,6.1,5.5,6.1,5V4.7C6.1,4.3,6.5,3.9,6.9,3.9z M17,3.9L17,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0c-0.5,0-0.9-0.4-0.9-0.9V4.7C16.2,4.3,16.5,3.9,17,3.9z M8.8,17.6c1.8,0,3.2-1,3.2-2.4 c0-1.1-0.7-1.8-1.8-1.9v-0.1c0.9-0.2,1.5-0.9,1.5-1.8c0-1.3-1.2-2.2-2.9-2.2c-1.8,0-2.9,1-3,2.5h1.6c0-0.7,0.6-1.1,1.4-1.1 c0.8,0,1.3,0.4,1.3,1.1c0,0.7-0.5,1.1-1.3,1.1h-1v1.3h1c0.9,0,1.5,0.4,1.5,1.1c0,0.7-0.6,1.2-1.4,1.2c-0.9,0-1.4-0.4-1.5-1.1H5.7 C5.8,16.6,7,17.6,8.8,17.6z M17.6,17.4V9.3h-1.7l-2.1,1.4v1.6l2-1.4h0.1v6.4H17.6z"}))},13984:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p}});var r=n(69307),a=n(65736),o=n(4981),i=n(53997),s=n(3030),l=n(54286),c=n(57535);const __=a.__,_x=a._x,u="google-calendar",p={title:__("Google Calendar","jetpack"),description:__("Embed a Google Calendar","jetpack"),keywords:[_x("events","block search term","jetpack"),_x("dates","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack")],icon:{src:l.Z,foreground:(0,c.m)()},category:"embed",supports:{align:!0,alignWide:!0,html:!1},attributes:{url:{type:"string"},height:{type:"integer",default:600}},edit:i.Z,save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)},transforms:{from:[{type:"shortcode",tag:"googleapps",isMatch:function(e){return"calendar"===e.named.domain},attributes:{url:{type:"string",shortcode:e=>{let{named:{domain:t,dir:n,query:r}}=e;return`https://${t}.google.com/${n}?${r}`}}}},{type:"raw",isMatch:e=>"P"===e.nodeName&&s.Wh.test(e.textContent),transform:e=>(0,o.createBlock)("jetpack/google-calendar",{url:e.textContent.trim()})},{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&s.E6.test(e.innerHTML),transform:e=>{const{url:t,height:n}=(0,s.jj)(e.innerHTML.trim());return(0,o.createBlock)("jetpack/google-calendar",{url:t,height:n})}}]},example:{attributes:{url:"https://calendar.google.com/calendar/embed?src=jb4bu80jirp0u11a6niie21pp4%40group.calendar.google.com&ctz=America/New_York"}}}},3030:function(e,t,n){"use strict";n.d(t,{Wh:function(){return a},E6:function(){return o},jj:function(){return c},L7:function(){return u}});const r="s*https?://calendar.google.com/calendar",a=new RegExp(`^${r}`,"i"),o=new RegExp(`<iframe((?:\\s+\\w+=(['"]).*?\\2)*)\\s+src=(["'])(${r}.*?)\\3((?:\\s+\\w+=(['"]).*?\\6)*)`,"i"),i=new RegExp(`${r}\\?cid=([-A-Za-z0-9+/]+={0,3})`,"i"),s=/\s+(\w+)=(["'])(.*?)\2/gi;function l(e){const t=i.exec(e);if(t)return"https://calendar.google.com/calendar/embed?src="+encodeURIComponent(atob(t[1]))}function c(e){const t=o.exec(e);if(!t)return;const n={};return t.forEach(((e,t)=>{if(0===t)return;if(a.test(e))return void(n.url=e);let r;for(;null!==(r=s.exec(e));)n[r[1]]=r[3]})),{url:n.url,width:n.width,height:n.height}}function u(e){return o.test(e)?c(e):i.test(e)?{url:l(e)}:{url:e}}},18776:function(e,t){"use strict";t.Z={accessToken:{type:"string"},instagramUser:{type:"string"},columns:{type:"number",default:3,min:1,max:6},count:{type:"number",default:9,min:1,max:30},spacing:{type:"number",default:10,min:0,max:50},isStackedOnMobile:{type:"boolean",default:!0}}},14937:function(e,t,n){"use strict";n.d(t,{u:function(){return r},D:function(){return a}});const r=30,a="jetpack-new-instagram-connection"},3802:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(14937);const __=o.__,_n=o._n;function s(e){let{accountImageTotal:t,attributes:n,currentUserConnected:s,disconnectFromService:l,shouldRenderSidebarNotice:c,setAttributes:u}=e;const{accessToken:p,columns:d,count:m,instagramUser:h,isStackedOnMobile:f,spacing:g}=n;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelBody,{title:__("Account Settings","jetpack")},(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("span",null,__("Account","jetpack")),(0,r.createElement)(a.ExternalLink,{href:`https://www.instagram.com/${h}/`},"@",h)),s&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isDestructive:!0,isLink:!0,onClick:()=>l(p)},__("Disconnect your account","jetpack")))),(0,r.createElement)(a.PanelBody,{title:__("Display Settings","jetpack")},c?(()=>{const e=t?(0,o.sprintf)(
+__("%s are not a valid email address.","jetpack"),e.join(", "))}return null})()),(0,r.createElement)(h.TextControl,{label:__("Email subject line","jetpack"),value:t,placeholder:__("Enter a subject","jetpack"),onChange:e=>n({subject:e}),help:__("Choose a subject line that you recognize as an email from your website.","jetpack")}),(0,r.createElement)(h.SelectControl,{label:__("On Submission","jetpack"),value:M,options:[{label:__("Show a summary of submitted fields","jetpack"),value:""},{label:__("Show a custom text message","jetpack"),value:"message"},{label:__("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:e=>n({customThankyou:e})}),"redirect"!==M&&(0,r.createElement)(h.TextControl,{label:__("Message Heading","jetpack"),value:I,placeholder:__("Message Sent","jetpack"),onChange:e=>n({customThankyouHeading:e})}),"message"===M&&(0,r.createElement)(h.TextareaControl,{label:__("Message Text","jetpack"),value:L,placeholder:__("Thank you for your submission!","jetpack"),onChange:e=>n({customThankyouMessage:e})}),"redirect"===M&&(0,r.createElement)(h.BaseControl,{label:__("Redirect Address","jetpack"),id:`contact-form-${x}-thankyou-url`},(0,r.createElement)(m.URLInput,{id:`contact-form-${x}-thankyou-url`,value:D,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>n({customThankyouRedirect:e})})))};return!E&&u.registerBlockVariation?(0,r.createElement)("div",{className:O},(0,r.createElement)(m.__experimentalBlockVariationPicker,{icon:(0,a.get)(S,["icon","src"]),label:(0,a.get)(S,["title"]),instructions:__("Please select which type of form you'd like to add, or create your own using the skip option.","jetpack"),variations:A,allowSkip:!0,onSelect:function(){U(arguments.length>0&&void 0!==arguments[0]?arguments[0]:P)}})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.BlockControls,null,(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(h.ToolbarItem,null,(()=>(0,r.createElement)(h.Dropdown,{position:"bottom right",className:"jetpack-contact-form-settings-selector",contentClassName:"jetpack-contact-form__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(h.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("Edit Form Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==d.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,r.createElement)(h.Icon,{icon:"edit"})}))(t,n)},renderContent:()=>H()}))))),(0,r.createElement)(m.InspectorControls,null,(0,r.createElement)(h.PanelBody,{title:__("Form Settings","jetpack")},H()),!(0,f.Wp)()&&(0,r.createElement)(r.Fragment,null,N&&(0,r.createElement)(v.Z,{jetpackCRM:F,setAttributes:n}),(0,r.createElement)(k.Z,null))),(0,r.createElement)("div",{className:O},(0,r.createElement)(m.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))}))},6528:function(e,t,n){"use strict";n.d(t,{Nk:function(){return S},Xd:function(){return w},u2:function(){return y}});var r=n(69307),a=n(65736),o=n(4981),i=n(55609),s=n(52175),l=n(8565),c=n(99837),u=n(14142),p=n(4901),d=n(62992),m=n(47081),h=n(92158),f=n(55740),g=n(26838),b=n(36598),v=n(70355),k=n(82150);const __=a.__,_x=a._x,y="contact-form",E=(0,b.Z)((0,r.createElement)(i.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 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-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),w={title:__("Form","jetpack"),description:__("A simple way to get feedback from folks visiting your site.","jetpack"),icon:{src:E,foreground:(0,v.m)()},keywords:[_x("email","block search term","jetpack"),_x("feedback","block search term","jetpack"),_x("contact form","block search term","jetpack")],supports:{color:{link:!0,gradients:!0},html:!1,spacing:{padding:!0,margin:!0}},attributes:c.Z,edit:l.Z,save:()=>{const e=s.useBlockProps.save();return(0,r.createElement)("div",e,(0,r.createElement)(s.InnerBlocks.Content,null))},variations:u.Z,category:"grow",transforms:d.Z,deprecated:p.Z},_={category:"grow",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-checkbox-multiple",e)},{type:"block",blocks:["jetpack/field-radio"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-radio",e)},{type:"block",blocks:["jetpack/field-select"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-select",e)},{type:"block",blocks:["jetpack/field-consent"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-consent",e)}]},save:()=>null,example:{}},C=e=>{let{attributes:t,name:n}=e;return null===t.label?(0,o.getBlockType)(n).title:t.label},x=e=>t=>(0,r.createElement)(m.Z,{type:e,label:C(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width}),j=e=>t=>(0,r.createElement)(g.Z,{label:C(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width}),S=[{name:"field-text",settings:{..._,title:__("Text","jetpack"),description:__("When you need just a small amount of text, add a text input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:x("text")}},{name:"field-name",settings:{..._,title:__("Name","jetpack"),description:__("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:x("text")}},{name:"field-email",settings:{..._,title:__("Email","jetpack"),keywords:[__("e-mail","jetpack"),__("mail","jetpack"),"email"],description:__("Want to reply to folks? Add an email address input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:x("email")}},{name:"field-url",settings:{..._,title:__("Website","jetpack"),keywords:["url",__("internet page","jetpack"),"link"],description:__("Add an address input for a website.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:x("url")}},{name:"field-date",settings:{..._,title:__("Date Picker","jetpack"),keywords:[__("Calendar","jetpack"),_x("day month year","block search term","jetpack")],description:__("The best way to set a date. Add a date picker.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:x("text")}},{name:"field-telephone",settings:{..._,title:__("Phone Number","jetpack"),keywords:[__("Phone","jetpack"),__("Cellular phone","jetpack"),__("Mobile","jetpack")],description:__("Add a phone number input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:x("tel")}},{name:"field-textarea",settings:{..._,title:__("Message","jetpack"),keywords:[__("Textarea","jetpack"),"textarea",__("Multiline text","jetpack")],description:__("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:e=>(0,r.createElement)(h.Z,{label:C(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})}},{name:"field-checkbox",settings:{..._,title:__("Checkbox","jetpack"),keywords:[__("Confirm","jetpack"),__("Accept","jetpack")],description:__("Add a single checkbox.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:e=>(0,r.createElement)(f.Z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width}),attributes:{..._.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{..._,title:__("Consent","jetpack"),keywords:[__("Consent","jetpack")],description:__("Ask for consent","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"m81 370h142v40h-142zm0-39h142v-40h-142zm0-79h245v-40h-245zm378 260h-40c0-40.253906-32.746094-73-73-73s-73 32.746094-73 73h-40c0-42.085938 23.128906-78.867188 57.34375-98.3125-11.40625-13.023438-18.34375-30.054688-18.34375-48.6875 0-40.804688 33.195312-74 74-74s74 33.195312 74 74c0 18.632812-6.9375 35.664062-18.34375 48.6875 34.214844 19.445312 57.34375 56.226562 57.34375 98.3125zm-113-113c18.746094 0 34-15.253906 34-34s-15.253906-34-34-34-34 15.253906-34 34 15.253906 34 34 34zm-286 73h138.316406c-3.460937 12.757812-5.316406 26.164062-5.316406 40h-133c-33.085938 0-60-26.914062-60-60v-392c0-33.085938 26.914062-60 60-60h203.757812l142.132813 142.855469v125.210937c-12.042969-7.476562-25.453125-12.765625-39.890625-15.324218v-81.632813h-71.109375c-33.085937 0-60-26.914063-60-60v-71.109375h-174.890625c-11.027344 0-20 8.972656-20 20v392c0 11.027344 8.972656 20 20 20zm234.890625-340.890625h42.972656l-62.972656-63.234375v43.234375c0 11.03125 8.96875 20 20 20zm0 0"}),24,25,"-26 0 512 512"),attributes:{..._.attributes,label:{type:"string",default:__("Consent","jetpack")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack")}},edit:e=>{let{attributes:t,isSelected:n,setAttributes:a}=e;const{id:o,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c}=t;return(0,r.createElement)(k.Z,{id:o,isSelected:n,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c,setAttributes:a})}}},{name:"field-checkbox-multiple",settings:{..._,title:__("Checkbox Group","jetpack"),keywords:[__("Choose Multiple","jetpack"),__("Option","jetpack")],description:__("People love options. Add several checkbox items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:j("checkbox"),attributes:{..._.attributes,label:{type:"string",default:"Choose several"}}}},{name:"field-radio",settings:{..._,title:__("Radio","jetpack"),keywords:[__("Choose","jetpack"),__("Select","jetpack"),__("Option","jetpack")],description:__("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.createElement)(i.Circle,{cx:"12",cy:"12",r:"5"}))),edit:j("radio"),attributes:{..._.attributes,label:{type:"string",default:"Choose one"}}}},{name:"field-select",settings:{..._,title:__("Select","jetpack"),keywords:[__("Choose","jetpack"),__("Dropdown","jetpack"),__("Option","jetpack")],description:__("Compact, but powerful. Add a select box with several items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:j("select"),attributes:{..._.attributes,label:{type:"string",default:"Select one"}}}}]},62992:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=(e,t,n)=>{const r=n.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(r&&r.length)return r[1];const a=n.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(a&&a.length)return a[1];const o=n.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!o||!o.length)&&o[1]},s={root:{},innerBlocks:[]};t.Z={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("<br>","");if(t.includes("[contact-form")&&(s.root={},s.innerBlocks=[],s.root=(e=>{const t={to:i("contact-form","to",e),subject:i("contact-form","subject",e),submitButtonText:i("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,r.pickBy)(t,r.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{s.innerBlocks.push((e=>{const t={label:i("contact-field","label",e),placeholder:i("contact-field","placeholder",e),required:i("contact-field","required",e),options:i("contact-field","options",e)},n=(e=>{const t={text:"jetpack/field-text",url:"jetpack/field-text",textarea:"jetpack/field-textarea",radio:"jetpack/field-radio",checkbox:"jetpack/field-checkbox","checkbox-multiple":"jetpack/field-checkbox-multiple",select:"jetpack/field-select",email:"jetpack/field-email",name:"jetpack/field-name",default:"jetpack/field-text"};return t[e]?t[e]:t.default})(i("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(n,(0,r.pickBy)(t,r.identity))})(e))}))}if(t.includes("[/contact-form]")){s.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:s.root.attrs.submitButtonText||__("Contact Us","jetpack")}));return(0,a.createBlock)(s.root.blockName,s.root.attrs,s.innerBlocks)}return!1}}]}},14142:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(13419),i=n(65736),s=n(55609),l=n(36598),c=n(70355);const __=i.__,u=(0,a.compact)([{name:"contact-form",title:__("Contact Form","jetpack"),description:__("Add a contact form to your page.","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M21.99 8c0-.72-.37-1.35-.94-1.7l-8.04-4.71c-.62-.37-1.4-.37-2.02 0L2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zm-11.05 4.34l-7.2-4.5 7.25-4.25c.62-.37 1.4-.37 2.02 0l7.25 4.25-7.2 4.5c-.65.4-1.47.4-2.12 0z"}),48,48,"-4 -4 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-textarea",{}],["jetpack/button",{text:__("Contact Us","jetpack"),element:"button"}]]},!(0,o.Wp)()&&{name:"newsletter-form",title:__("Newsletter Sign-up","jetpack"),description:__("A simple way to collect information from folks visiting your site.","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M37.9999 7.59998C49.3999 7.59998 68.3999 26.6 68.3999 26.6V68.4H7.59985V26.6C7.59985 26.6 26.5999 7.59998 37.9999 7.59998ZM64.5999 63.536L50.4259 52.44L64.5999 41.8L62.9659 40.394L54.3779 45.334L55.2899 28.956L21.9639 26.98L20.2159 44.232L12.6539 40.622L11.3999 41.8L25.5739 52.44L12.5019 63.27L14.0219 64.904L37.9999 49.4L62.8139 65.17L64.5999 63.536Z"}),48,48,"-6 -6 92 92"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack"),element:"button"}]]},{name:"rsvp-form",title:__("RSVP Form","jetpack"),description:__("Add an RSVP form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M10 9V7.41c0-.89-1.08-1.34-1.71-.71L3.7 11.29c-.39.39-.39 1.02 0 1.41l4.59 4.59c.63.63 1.71.19 1.71-.7V14.9c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Attending?","jetpack"),required:!0,options:[__("Yes","jetpack"),__("No","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send RSVP","jetpack"),element:"button"}]],attributes:{subject:__("A new RSVP from your website","jetpack")}},{name:"registration-form",title:__("Registration Form","jetpack"),description:__("Add a Registration form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M11.34 15.02c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95zm2.12-10.61L17 7.95l-4.95 4.95-3.54-3.54 4.95-4.95zm6.95 11l-2.12-2.12c-.18-.18-.44-.29-.7-.29h-.27l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2h-.42c-.27 0-.52.11-.71.29l-2.12 2.12c-.37.38-.58.89-.58 1.42V20c0 1.1.9 2 2 2h14c1.1 0 2-.89 2-2v-3.17c0-.53-.21-1.04-.59-1.42z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{label:__("Phone Number","jetpack")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack"),options:[__("Search Engine","jetpack"),__("Social Media","jetpack"),__("TV","jetpack"),__("Radio","jetpack"),__("Friend or Family","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send","jetpack"),element:"button"}]],attributes:{subject:__("A new registration from your website","jetpack")}},{name:"appointment-form",title:__("Appointment Form","jetpack"),description:__("Add an Appointment booking form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V8c0-.55-.45-1-1-1s-1 .45-1 1v2H2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1H6zm9 4c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{required:!0}],["jetpack/field-date",{label:__("Date","jetpack"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack"),required:!0,options:[__("Morning","jetpack"),__("Afternoon","jetpack")]}],["jetpack/field-textarea",{label:__("Notes","jetpack")}],["jetpack/button",{text:__("Book Appointment","jetpack"),element:"button"}]],attributes:{subject:__("A new appointment booked from your website","jetpack")}},{name:"feedback-form",title:__("Feedback Form","jetpack"),description:__("Add a Feedback form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.03 0 3.8-1.11 4.75-2.75.19-.33-.05-.75-.44-.75H7.69c-.38 0-.63.42-.44.75.95 1.64 2.72 2.75 4.75 2.75z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Please rate our website","jetpack"),required:!0,options:[__("1 - Very Bad","jetpack"),__("2 - Poor","jetpack"),__("3 - Average","jetpack"),__("4 - Good","jetpack"),__("5 - Excellent","jetpack")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack")}],["jetpack/button",{text:__("Send Feedback","jetpack"),element:"button"}]],attributes:{subject:__("New feedback received from your website","jetpack")}}]);t.Z=u},36553:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(35208);const __=i.__;class u extends r.Component{constructor(){super(...arguments),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"!==e.key||e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:a,region:i,postal:u,country:p,linkToGoogleMaps:d},isSelected:m,setAttributes:h}=this.props,f=[e,t,n,a,i,u,p].some((e=>""!==e)),g=o()({"jetpack-address-block":!0,"is-selected":m}),b=(0,r.createElement)(l.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:d,onChange:e=>h({linkToGoogleMaps:e})});return(0,r.createElement)("div",{className:g},!m&&f&&(0,c.Z)(this.props),(m||!f)&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>h({address:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>h({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>h({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:a,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>h({city:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:i,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>h({region:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:u,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>h({postal:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>h({country:e}),onKeyDown:this.preventEnterKey}),b))}}t.Z=u},11005:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(36553),s=n(35208),l=n(36598);const __=a.__,_x=a._x,c="address",u={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,l.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.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)(o.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:i.Z,save:s.Z}},35208:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:a,city:o,region:i,postal:s,country:l}}=e;return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},t),n&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},n),a&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(i||s)&&(0,r.createElement)("div",{className:"jetpack-address__city"},o),o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__city"},o),", ",(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&(0,r.createElement)("div",{className:"jetpack-address__country"},l))},i=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}}=e;let l=o?`+${o},`:"";l=i?`${l}+${i}`:l;return`https://www.google.com/maps/search/${t?`${t},`:""}${n?`${n},`:""}${r?`${r},`:""}${a?`+${a},`:""}${l}${s?`+${s}`:""}`.replace(" ","+")};t.Z=e=>(e=>{let{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}=e;return[t,n,r,a,o,i,s].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))},83238:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65235),i=n.n(o);const s=["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"]];t.Z=e=>{const{isSelected:t}=e;return(0,r.createElement)("div",{className:i()({"jetpack-contact-info-block":!0,"is-selected":t})},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:s,templateLock:!1,template:l}))}},31336:function(e,t,n){"use strict";var r=n(90458),a=n(66425),o=n(65736);const __=o.__;t.Z=e=>{const{setAttributes:t}=e;return(0,a.Z)("email",e,__("Email","jetpack"),r.Z,(e=>t({email:e})))}},99804:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(31336),s=n(36598),l=n(90458);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z,parent:["jetpack/contact-info"]}},90458:function(e,t,n){"use strict";var r=n(69307),a=n(92384);t.Z=e=>{let{attributes:{email:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},t.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&a.validate(n)?e===n?(0,r.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,r.createElement)(r.Fragment,{key:t},(0,r.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,r.createElement)(r.Fragment,null,e.slice(-(e.length-n.length)))):(0,r.createElement)(r.Fragment,{key:t},e)})))}},64446:function(e,t,n){"use strict";n.d(t,{Nk:function(){return b},Xd:function(){return g},u2:function(){return h}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(4981),l=n(83238),c=n(36598),u=n(11005),p=n(99804),d=n(52398),m=n(70355);const __=a.__,_x=a._x,h="contact-info",f=(0,c.Z)((0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),g={title:__("Contact Info","jetpack"),description:__("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[_x("email","block search term","jetpack"),_x("phone","block search term","jetpack"),_x("address","block search term","jetpack")],icon:{src:f,foreground:(0,m.m)()},category:"grow",supports:{align:["wide","full"],html:!1,color:{link:!0,gradients:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"widget_contact_info"===t},transform:e=>{let{instance:t}=e,n=[(0,s.createBlock)("core/heading",{content:t.raw.title}),(0,s.createBlock)("jetpack/email",{email:t.raw.email}),(0,s.createBlock)("jetpack/phone",{phone:t.raw.phone}),(0,s.createBlock)("jetpack/address",{address:t.raw.address})];return t.raw.hours&&(n=[...n,(0,s.createBlock)("core/paragraph",{content:t.raw.hours})]),t.raw.showmap&&t.raw.address&&(n=[...n,(0,s.createBlock)("jetpack/map",{address:t.raw.address})]),(0,s.createBlock)("jetpack/contact-info",{},n)}}]},attributes:{},edit:l.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},b=[{name:u.u,settings:u.X},{name:p.u,settings:p.X},{name:d.u,settings:d.X}]},70835:function(e,t,n){"use strict";var r=n(65736),a=n(21621),o=n(66425);const __=r.__;t.Z=e=>{const{setAttributes:t}=e;return(0,o.Z)("phone",e,__("Phone number","jetpack"),a.Z,(e=>t({phone:e})))}},52398:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(70835),s=n(36598),l=n(21621);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z}},21621:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{attributes:{phone:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},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,o=n?e.substring(0,n):"",i=a.replace(/\D/g,"");return/[0-9/+/(]/.test(a[0])?(o=o.slice(0,-1),"+"===a[0]&&(i="+"+i)):a=a.substring(1),[o.trim()?(0,r.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,(0,r.createElement)("a",{key:"phoneNumber",href:`tel:${i}`},a)]}(t))}},10764:function(e,t,n){"use strict";var r=n(69307),a=n(25607),o=n(43317),i=n(65235),s=n.n(i),l=n(52175),c=n(79162);t.Z=e=>{let{className:t=null,currency:n=null,defaultValue:i=null,disabled:u=!1,label:p="",onChange:d=null,value:m=""}=e;const[h,f]=(0,r.useState)((0,a.ZP)(m,n,{symbol:""})),[g,b]=(0,r.useState)(!1),[v,k]=(0,r.useState)(!1),y=(0,r.useRef)(null),E=(0,r.useCallback)((e=>{if(f(e),!d)return;const t=(0,c.Vm)(e,n);t&&t>=(0,c.hj)(n)?(d(t),k(!1)):e&&k(!0)}),[n,d]),w=()=>{y.current&&(y.current.focus(),b(!0))};return(0,r.useEffect)((()=>{y.current&&y.current.addEventListener("blur",(()=>b(!1)))}),[y]),(0,r.useEffect)((()=>{g||h||E((0,a.ZP)(i,n,{symbol:""}))}),[n,i,h,g,E]),(0,r.useEffect)((()=>{g||v||f((0,a.ZP)(m,n,{symbol:""}))}),[n,g,v,E,m]),(0,r.createElement)("div",{className:s()("donations__amount",t,{"has-focus":g,"has-error":v}),role:"button",tabIndex:0,onClick:w,onKeyDown:w},o.M[n].symbol,u?(0,r.createElement)("div",{className:"donations__amount-value"},(0,a.ZP)(m||i,n,{symbol:""})):(0,r.createElement)(l.RichText,{allowedFormats:[],"aria-label":p,multiline:!1,onChange:e=>E(e),placeholder:(0,a.ZP)(i,n,{symbol:""}),ref:y,value:h,withoutInteractiveFormatting:!0}))}},82275:function(e,t,n){"use strict";var r=n(69307),a=n(43317),o=n(13419),i=n(52175),s=n(55609),l=n(65736),c=n(39630),u=n(79162);const __=l.__;t.Z=e=>{const{attributes:t,setAttributes:n}=e,{currency:l,monthlyDonation:p,annualDonation:d,showCustomAmount:m}=t,h=(e,r)=>{const a={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],o=t[a];n({[a]:{...o,show:r}})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(s.Dropdown,{contentClassName:"jetpack-donations__currency-popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(s.Button,{className:"jetpack-donations__currency-toggle",icon:(0,r.createElement)(r.Fragment,null,l+" - "+a.M[l].symbol,(0,r.createElement)(s.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:t,onKeyDown:e=>{n||e.keyCode!==c.DOWN||(e.preventDefault(),e.stopPropagation(),t())}})},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(s.MenuGroup,null,Object.keys(u.ck).map((e=>(0,r.createElement)(s.MenuItem,{isSelected:e===l,onClick:()=>{n({currency:e}),t()},key:`jetpack-donations-currency-${e}`},e+" - "+a.M[e].symbol))))}}))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.ToggleControl,{checked:p.show,onChange:e=>h("1 month",e),label:__("Show monthly donations","jetpack")}),(0,r.createElement)(s.ToggleControl,{checked:d.show,onChange:e=>h("1 year",e),label:__("Show annual donations","jetpack")}),(0,r.createElement)(s.ToggleControl,{checked:m,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,r.createElement)(s.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,o.lQ)()}`},__("View donation earnings","jetpack")))))}},853:function(e,t,n){"use strict";var r=n(69307),a=n(25607),o=n(43317),i=n(52175),s=n(65736),l=n(79162);const __=s.__;t.Z={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:e=>{let{attributes:t}=e;const{currency:n,oneTimeDonation:s,monthlyDonation:c,annualDonation:u,showCustomAmount:p,chooseAmountText:d,customAmountText:m}=t;if(!s||!s.show||-1===s.planId)return null;const h={"one-time":{title:__("One-Time","jetpack")},...c.show&&{"1 month":{title:__("Monthly","jetpack")}},...u.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"donations__container"},Object.keys(h).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(h).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${t} `,"data-interval":t},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:s.heading}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:c.heading}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:u.heading}),(0,r.createElement)(i.RichText.Content,{tagName:"p",value:d}),(0,r.createElement)("div",{className:"donations__amounts donations__one-time-item"},s.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),c.show&&(0,r.createElement)("div",{className:"donations__amounts donations__monthly-item"},c.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),u.show&&(0,r.createElement)("div",{className:"donations__amounts donations__annual-item"},u.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),p&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.RichText.Content,{tagName:"p",value:m}),(0,r.createElement)("div",{className:"donations__amount donations__custom-amount"},o.M[n].symbol,(0,r.createElement)("div",{className:"donations__amount-value","data-currency":n,"data-empty-text":(0,a.ZP)(100*(0,l.hj)(n),n,{symbol:""})}))),(0,r.createElement)("div",{className:"donations__separator"},"——"),(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:s.extraText}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:c.extraText}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__annual-item",value:u.extraText}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:s.buttonText})),c.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:c.buttonText})),u.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:u.buttonText}))))))}}},86245:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(9818),s=n(65736),l=n(72833),c=n(24177),u=n(21789),p=n(85731),d=n(74251),m=n(23267);const __=s.__;t.Z=e=>{const{attributes:t,className:n,setAttributes:r}=e,{currency:s}=t,[h,f]=(0,o.useState)(""),[g,b]=(0,o.useState)([]),v=(0,i.useSelect)((e=>e("core/editor").getCurrentPost()),[]),{setShouldUpgrade:k,setConnectUrl:y}=(0,i.useDispatch)(m.G4);(0,o.useEffect)((()=>{r({fallbackLinkUrl:v.link})}),[v.link,r]);const E=e=>{f(e)},w=e=>e.reduce(((e,t)=>{let{id:n,currency:r,type:a,interval:o}=t;return r===s&&"donation"===a&&(e[o]=n),e}),{}),_=e=>{if(!e&&"object"!=typeof e||e.errors)return void f(__("Could not load data from WordPress.com.","jetpack"));k(e.should_upgrade_to_access_memberships),y((0,d.Z)(v.id,e.connect_url));const t=w(e.products);(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(t)?b(t):e.should_upgrade_to_access_memberships||e.connect_url?b({"one-time":-1,"1 month":-1,"1 year":-1}):(0,u.Z)(s).then((e=>b(w(e))),E)};return(0,o.useEffect)((()=>{(0,p.Z)("donation").then(_,E)}),[s]),h?(0,o.createElement)(c.Z,{className:n,error:h}):(0,o.createElement)(l.Z,a()({},e,{products:g}))}},21789:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z=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)}}},85731:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(96483);t.Z=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=new URLSearchParams(window.location.search),n=(0,o.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)}}},29800:function(e,t,n){"use strict";n.d(t,{Xd:function(){return c},u2:function(){return l}});var r=n(65736),a=n(86245),o=n(75314),i=n(853),s=n(81427);const __=r.__,_x=r._x,l="donations",c={title:__("Donations Form","jetpack"),description:__("Collect one-time, monthly, or annually recurring donations.","jetpack"),icon:s.K9,category:"earn",keywords:[_x("charity","block search term","jetpack"),_x("contribution","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("donate","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),_x("fundraising","block search term","jetpack"),_x("fundraiser","block search term","jetpack"),"gofundme",_x("money","block search term","jetpack"),_x("nonprofit","block search term","jetpack"),_x("non-profit","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("recurring","block search term","jetpack"),"stripe",_x("sponsor","block search term","jetpack"),"square",_x("tipping","block search term","jetpack"),"venmo"],supports:{html:!1},edit:a.Z,save:o.Z,example:{},deprecated:[i.Z]}},24177:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=e=>{let{className:t,error:n}=e;return(0,r.createElement)(o.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:n,className:t})}},75314:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t}=e;const{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:s}=t;return o&&o.show&&o.planId&&-1!==o.planId?(0,r.createElement)("div",null,(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:o.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:o.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:o.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:i.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:i.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:i.buttonText})),s.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value: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.buttonText}))):null}},91757:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(9818),i=n(65736),s=n(10764),l=n(79162);const __=i.__;t.Z=e=>{let{activeTab:t,attributes:n,setAttributes:c}=e;const{currency:u,oneTimeDonation:p,monthlyDonation:d,annualDonation:m,showCustomAmount:h,chooseAmountText:f,customAmountText:g}=n,b={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"},v=e=>n[b[t]][e],k=(e,r)=>{const a=b[t],o=n[a];c({[a]:{...o,[e]:r}})},[y,E]=(0,r.useState)(u),w=(0,l.hj)(u),_=(0,r.useMemo)((()=>[10*w,30*w,200*w]),[w]);(0,r.useEffect)((()=>{y!==u&&(E(u),c({oneTimeDonation:{...p,amounts:_},monthlyDonation:{...d,amounts:_},annualDonation:{...m,amounts:_}}))}),[u,y,_,p,d,m,c]);const C=v("amounts"),x=(0,o.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:v("heading"),onChange:e=>k("heading",e)}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:f,onChange:e=>c({chooseAmountText:e})}),(0,r.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,r.createElement)(s.Z,{currency:u,defaultValue:_[t],label:(0,i.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,k("amounts",n)})(e,t),value:e})))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:g,onChange:e=>c({customAmountText:e})}),(0,r.createElement)(s.Z,{currency:u,label:__("Custom amount","jetpack"),defaultValue:100*(0,l.hj)(u),className:"donations__custom-amount",disabled:!0})),(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:v("extraText"),onChange:e=>k("extraText",e)}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper"},(0,r.createElement)(a.RichText,{className:"wp-block-button__link donations__donate-button",placeholder:__("Write a message…","jetpack"),value:v("buttonText"),onChange:e=>{return t=e,void c({oneTimeDonation:{...p,buttonText:t},monthlyDonation:{...d,buttonText:t},annualDonation:{...m,buttonText:t}});var t},allowedFormats:x})))}},72833:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(82275),l=n(91757),c=n(16367);const __=i.__;t.Z=e=>{const{attributes:t,className:n,products:a,setAttributes:i}=e,{oneTimeDonation:u,monthlyDonation:p,annualDonation:d}=t,[m,h]=(0,r.useState)("one-time"),f=(0,r.useCallback)((e=>m===e),[m]),g={"one-time":{title:__("One-Time","jetpack")},...p.show&&{"1 month":{title:__("Monthly","jetpack")}},...d.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.useEffect)((()=>{u.planId===a["one-time"]&&p.planId===a["1 month"]&&d.planId===a["1 year"]||i({...a["one-time"]&&{oneTimeDonation:{...u,planId:a["one-time"]}},...a["1 month"]&&{monthlyDonation:{...p,planId:a["1 month"]}},...a["1 year"]&&{annualDonation:{...d,planId:a["1 year"]}}})}),[u,p,d,i,a]),(0,r.useEffect)((()=>{!p.show&&f("1 month")&&h("one-time"),!d.show&&f("1 year")&&h("one-time")}),[p,d,h,f]),(0,r.createElement)("div",{className:n},(0,r.createElement)(c.U,{blockName:"donations"}),(0,r.createElement)("div",{className:"donations__container"},Object.keys(g).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(g).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:o()("donations__nav-item",{"is-active":f(t)}),onClick:()=>h(t),onKeyDown:()=>h(t),key:`jetpack-donations-nav-item-${t} `},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)(l.Z,{activeTab:m,attributes:t,setAttributes:i}))),(0,r.createElement)(s.Z,e))}},2785:function(e,t){"use strict";t.Z={url:{type:"string",validator:e=>!e||e.startsWith("http")},eventId:{type:"number"},style:{type:"string",default:"inline"}}},6949:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__,i=e=>{let{setEditingUrl:t}=e;return(0,r.createElement)(a.ToolbarGroup,null,(0,r.createElement)(a.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},1344:function(e,t,n){"use strict";var r=n(24717);t.Z=[r.Z]},24717:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(92819),l=n(4981),c=n(65736);const _x=c._x,u=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius"];t.Z={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 r=n;r||(r=e.useModal?"modal":"inline");const a={...(0,s.omit)(e,["useModal",...u]),className:t&&t.replace("is-style-outline",""),style:r},o=(0,s.pick)(e,u);return[a,[(0,l.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(e){let{attributes:t}=e;const{eventId:n,useModal:a,url:s,style:l}=t;if(n)return a||"modal"===l?function(e){const{backgroundColor:t,borderRadius:n,customBackgroundColor:a,customTextColor:s,eventId:l,text:c,textColor:u,url:p}=e,d=(0,i.getColorClassName)("color",u),m=(0,i.getColorClassName)("background-color",t),h=o()("wp-block-button__link",{"has-text-color":u||s,[d]:d,"has-background":t||a,[m]:m,"no-border-radius":0===n}),f={backgroundColor:m?void 0:a,color:d?void 0:s,borderRadius:n?n+"px":void 0};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{className:h,href:p,id:`eventbrite-widget-${l}`,rel:"noopener noreferrer",role:"button",style:f,tagName:"a",target:"_blank",value:c}))}(t):s&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:s},s)},isEligible:(e,t)=>("modal"===e.style||e.useModal)&&((0,s.isEmpty)(t)||(0,s.some)((0,s.pick)(e,u),Boolean))}},16078:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(13419),u=n(75334),p=n(2785),d=n(77825),m=n(4554),h=n(8964),f=n(57538),g=n(23621),b=n(6949);const __=i.__,_x=i._x;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{editedUrl:this.props.attributes.url||"",editingUrl:!1,isResolvingUrl:!1}),a()(this,"setUrl",(e=>{const{attributes:t,noticeOperations:n,setAttributes:r}=this.props,{style:a}=t;if(!e||u.Q7===e||"modal"===a)return;const o=(0,d.Ve)(e);if(o){const t={eventId:o,url:e};(0,g.Z)(t.url,this.setIsResolvingUrl).then((e=>{const a=(0,m.S)(p.Z,{...t,url:e});r(a),this.setState({editedUrl:e}),n.removeAllNotices()})).catch((()=>{r({eventId:void 0,url:void 0}),this.setErrorNotice()}))}else this.setErrorNotice()})),a()(this,"setIsResolvingUrl",(e=>this.setState({isResolvingUrl:e}))),a()(this,"setEditingUrl",(e=>this.setState({editingUrl:e}))),a()(this,"setErrorNotice",(()=>{const{noticeOperations:e,onReplace:t}=this.props,{editedUrl:n}=this.state;e.removeAllNotices(),e.createErrorNotice((0,o.createElement)(o.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,o.createElement)(s.Button,{variant:"link",onClick:()=>(0,d.N3)(n,t)},_x("Convert block to link","button label","jetpack"))))})),a()(this,"submitForm",(e=>{e&&e.preventDefault(),this.setUrl((0,d.qq)(this.state.editedUrl)),this.setState({editingUrl:!1})})),a()(this,"cannotEmbed",(()=>{const{url:e}=this.props.attributes,{isResolvingUrl:t}=this.state;return!t&&e&&!u.Wh.test(e)}))}componentDidMount(){const{url:e}=this.props.attributes;this.setUrl(e)}renderLoading(){return(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(s.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack")))}renderInspectorControls(){const{style:e}=this.props.attributes,{attributes:t,clientId:n,setAttributes:r}=this.props,a=[{value:"inline",label:__("In-page Embed","jetpack"),preview:(0,o.createElement)("div",{className:"block-editor-block-preview__container"},(0,o.createElement)("img",{src:h,alt:__("In page Eventbrite checkout example","jetpack")}))},{value:"modal",label:__("Button & Modal","jetpack")}];return(0,o.createElement)(f.Z,{title:_x("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack"),clientId:n,styleOptions:a,onSelectStyle:r,activeStyle:e,attributes:t,viewportWidth:130})}renderEditEmbed(){const{className:e,noticeUI:t}=this.props,{editedUrl:n}=this.state,r=(0,c.Wp)()||(0,c.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.Placeholder,{label:__("Eventbrite Checkout","jetpack"),instructions:__("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:u.qv,notices:t},(0,o.createElement)("form",{onSubmit:this.submitForm},(0,o.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:e=>this.setState({editedUrl:e.target.value})}),(0,o.createElement)(s.Button,{variant:"secondary",type:"submit"},_x("Embed","submit button label","jetpack"))),(0,o.createElement)("div",{className:"components-placeholder__learn-more"},(0,o.createElement)(s.ExternalLink,{href:r},__("Learn more about Eventbrite embeds","jetpack")))))}renderInlinePreview(){const{className:e}=this.props,{eventId:t}=this.props.attributes;if(!t)return;const n=`eventbrite-widget-${t}`,r=`\n\t\t\t<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ${t},\n\t\t\t\t\tiframeContainerId: '${n}',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id="${n}"></div>\n\t\t`;return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.SandBox,{html:r}),(0,o.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}render(){const{attributes:e}=this.props,{url:t,style:n}=e,{editingUrl:r,isResolvingUrl:a}=this.state;return a?this.renderLoading():r||!t||this.cannotEmbed()?this.renderEditEmbed():(0,o.createElement)(o.Fragment,null,this.renderInspectorControls(),(0,o.createElement)(l.BlockControls,null,(0,o.createElement)(b.J,{setEditingUrl:this.setEditingUrl})),"modal"===n?(0,o.createElement)(l.InnerBlocks,{template:[[u.Ss.name,u.Ss.attributes]],templateLock:"all"}):this.renderInlinePreview())}}t.Z=(0,s.withNotices)(v)},75334:function(e,t,n){"use strict";n.d(t,{Q7:function(){return f},Ss:function(){return d},Wh:function(){return m},Xd:function(){return k},qv:function(){return v},u2:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(2785),l=n(1344),c=n(16078),u=n(86435),p=n(70355);const __=a.__,_x=a._x,d={name:"jetpack/button",attributes:{element:"a",text:_x("Register","verb: e.g. register for an event.","jetpack"),uniqueId:"eventbrite-widget-id"}},m=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,h=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,f="https://www.eventbrite.com/e/test-event-tickets-123456789",g="eventbrite",b=__("Eventbrite Checkout","jetpack"),v=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,{id:"eventbrite-icon"},(0,r.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),k={title:b,description:__("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:{src:v,foreground:(0,p.m)()},category:"embed",keywords:[_x("events","block search term","jetpack"),_x("tickets","block search term","jetpack")],supports:{html:!1,align:!0},attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&(m.test(e.textContent)||h.test(e.textContent)),transform:e=>(0,i.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}]},example:{attributes:{url:f,eventId:123456789,style:"modal"},innerBlocks:[d]},deprecated:l.Z}},86435:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{eventId:n,style:o,url:i}=t;if(n)return"modal"===o?(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null)):i&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:i},i)}},77825:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},Ve:function(){return i},qq:function(){return s}});var r=n(69307),a=n(4981);function o(e,t){const n=(0,r.createElement)("a",{href:e},e);t((0,a.createBlock)("core/paragraph",{content:(0,r.renderToString)(n)}))}function i(e){if(!e)return null;const t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&"string"==typeof e?e.trim():null}},12084:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=(0,r.forwardRef)((function(e,t){let{onSubmit:n,onChange:a,value:i=""}=e;return(0,r.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:n},(0,r.createElement)("input",{type:"text",className:"wp-block-jetpack-gif_input components-placeholder__input",placeholder:__("Enter search terms, e.g. cat…","jetpack"),value:i,onChange:a,ref:t,"aria-labelledby":"wp-block-jetpack-gif_search-button"}),(0,r.createElement)(o.Button,{id:"wp-block-jetpack-gif_search-button",variant:"secondary",type:"submit"},__("Search","jetpack")))}))},72844:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW"},57852:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(52175);function i(){return(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(a.PanelBody,{className:"components-panel__body-gif-branding"},(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,r.createElement)(a.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,r.createElement)(a.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"}))))}},61266:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(25073),u=n(80163),p=n(12084),d=n(57852),m=n(27147);const __=i.__;t.Z=function(e){let{attributes:t,setAttributes:n,className:a,isSelected:i}=e;const{align:h,caption:f,giphyUrl:g,searchText:b,paddingTop:v}=t,k=o()(a,`align${h}`),[y,E]=(0,r.useState)(!1),w=(0,r.createRef)(),{isFetching:_,giphyData:C,fetchGiphyData:x}=(0,m.Z)(),j=()=>{w.current.focus(),E(!1)};(0,r.useEffect)((()=>{C&&C[0]&&n((0,u.ix)(C[0]))}),[C,n]);const S=e=>{e.preventDefault(),t.searchText&&!_&&x((0,u.Gr)(t.searchText))},A=e=>n({searchText:e.target.value});return(0,r.createElement)("div",{className:k},(0,r.createElement)(d.Z,null),g?(0,r.createElement)("figure",null,i&&(0,r.createElement)(p.Z,{onSubmit:S,onChange:A,value:b,ref:w}),i&&C&&C.length>1&&(0,r.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},C.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,r.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:e.id,onClick:t=>{t.preventDefault(),(e=>{n((0,u.ix)(e))})(e)},style:t})}))),(0,r.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:{paddingTop:v}},(0,r.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:j,onKeyDown:j,role:"button",tabIndex:"0"}),(0,r.createElement)("iframe",{src:g,title:b})),(!l.RichText.isEmpty(f)||i)&&!!g&&(0,r.createElement)(l.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:y,unstableOnFocus:()=>E(!1),onChange:e=>n({caption:e}),placeholder:__("Write caption…","jetpack"),tagName:"figcaption",value:f})):(0,r.createElement)(s.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:c.qv,label:c.TN,instructions:__("Search for a term or paste a Giphy URL","jetpack")},(0,r.createElement)(p.Z,{onSubmit:S,onChange:A,value:b,ref:w})))}},27147:function(e,t,n){"use strict";var r=n(69307);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const[t,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(e),[i,s]=(0,r.useState)("");return(0,r.useEffect)((()=>{if(!i)return;(async()=>{n(!0);const e=await fetch(i).then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json(),n=void 0!==t.data.images?[t.data]:t.data;n[0].images&&o(n)}n(!1)})()}),[i]),{isFetching:t,giphyData:a,fetchGiphyData:s}}},25073:function(e,t,n){"use strict";n.d(t,{TN:function(){return c},Xd:function(){return p},qv:function(){return u},u2:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(61266),s=n(70355);const __=a.__,_x=a._x,l="gif",c=__("GIF","jetpack"),u=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),p={title:c,icon:{src:u,foreground:(0,s.m)()},category:"embed",keywords:[_x("animated","block search term","jetpack"),_x("giphy","block search term","jetpack"),_x("image","block search term","jetpack")],description:__("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:i.Z,save:()=>null,example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}}},80163:function(e,t,n){"use strict";n.d(t,{Gr:function(){return s},ix:function(){return u}});var r=n(72844);const a=e=>`https://api.giphy.com/v1/gifs/search?q=${encodeURIComponent(e)}&api_key=${encodeURIComponent(r.U)}&limit=10`,o=e=>`https://api.giphy.com/v1/gifs/${encodeURIComponent(e)}?api_key=${encodeURIComponent(r.U)}`,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n=e.split(t);return n[n.length-1]},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;e=e.trim();const n=/^https?:\/\/(media\.|i\.)?giphy\.com\/(embed|gifs|media)?\/?([-\w]*)(\/giphy)?(\.gif)?$/,r=e.match(n);return r&&r[3]&&(t=i(r[3],"-")),t?o(t):a(e)},l=e=>`${Math.floor(e.images.original.height/e.images.original.width*100)}%`,c=e=>null==e?void 0:e.embed_url,u=e=>({giphyUrl:c(e),paddingTop:l(e)})},4966:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__,_x=o._x;t.Z=e=>{const{className:t,embedValue:n,onChange:o,onSubmit:i}=e;return(0,r.createElement)(a.PanelBody,{title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:i,className:t},(0,r.createElement)("textarea",{type:"text",value:n,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:o}),(0,r.createElement)(a.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack"))))}},81907:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(52175),l=n(90162),c=n(4981),u=n(13419),p=n(4966),d=n(47875),m=n(4525);const __=a.__,_x=a._x;t.Z=(0,i.compose)(o.withNotices,(0,l.withViewportMatch)({isMobile:"< small"}))((function(e){const{attributes:{url:t,height:n},className:a,isMobile:i,isSelected:l,name:h,noticeOperations:f,noticeUI:g,setAttributes:b}=e,[v,k]=(0,r.useState)(t||""),[y,E]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1);(0,r.useEffect)((()=>{!l&&w&&_(!1)}),[l,w]);const C=()=>{_(!0)},x=e=>{e&&e.preventDefault();const t=(0,m.L7)(v.trim());if(!m.Wh.test(t.url))return f.removeAllNotices(),void f.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or Embed Code. Please note, you need to use the 'Public URL' or 'Embed Code', the 'Shareable Link' will not work.","jetpack"));b(t),E(!1),f.removeAllNotices()},j=(0,c.getBlockDefaultClassName)(h),S=`<iframe src="${t}" style="border:0" scrolling="no" frameborder="0" height="${i?"300":n}"></iframe>`,A=(0,r.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/google-calendar/"},__("Enable Permissions for the calendar you want to share","jetpack")),P=(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(p.Z,{className:`${j}-embed-form-sidebar`,embedValue:v,onChange:e=>k(e.target.value),onSubmit:x}));if(y||!t){const e=(0,u.Wp)()||(0,u.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/google-calendar/":"https://jetpack.com/support/jetpack-blocks/google-calendar/";return(0,r.createElement)("div",{className:a},P,(0,r.createElement)(o.Placeholder,{className:a,label:__("Google Calendar","jetpack"),icon:d.Z,instructions:(0,r.createElement)("ol",{className:`${j}-placeholder-instructions`},(0,r.createElement)("li",null,A),(0,r.createElement)("li",null,__("Paste the embed code you copied from your Google Calendar below","jetpack"))),notices:g},(N=`${j}-embed-form-editor`,(0,r.createElement)("form",{onSubmit:x,className:N},(0,r.createElement)("textarea",{type:"text",value:v,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:e=>k(e.target.value)}),(0,r.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)("div",{className:`${j}-placeholder-links`},(0,r.createElement)(o.ExternalLink,{href:e},__("Learn more","jetpack")))))}var N;return(0,r.createElement)("div",{className:a},P,(0,r.createElement)("div",null,(0,r.createElement)(o.SandBox,{html:S,onFocus:C}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:C})))}))},47875:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"23",viewBox:"0 0 24 23",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19.5,23h-15c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h15c2.2,0,4,1.8,4,4v15C23.5,21.2,21.7,23,19.5,23z M4.5,2 c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2V4c0-1.1-0.9-2-2-2H4.5z M6.9,3.9L6.9,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0C6.5,5.9,6.1,5.5,6.1,5V4.7C6.1,4.3,6.5,3.9,6.9,3.9z M17,3.9L17,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0c-0.5,0-0.9-0.4-0.9-0.9V4.7C16.2,4.3,16.5,3.9,17,3.9z M8.8,17.6c1.8,0,3.2-1,3.2-2.4 c0-1.1-0.7-1.8-1.8-1.9v-0.1c0.9-0.2,1.5-0.9,1.5-1.8c0-1.3-1.2-2.2-2.9-2.2c-1.8,0-2.9,1-3,2.5h1.6c0-0.7,0.6-1.1,1.4-1.1 c0.8,0,1.3,0.4,1.3,1.1c0,0.7-0.5,1.1-1.3,1.1h-1v1.3h1c0.9,0,1.5,0.4,1.5,1.1c0,0.7-0.6,1.2-1.4,1.2c-0.9,0-1.4-0.4-1.5-1.1H5.7 C5.8,16.6,7,17.6,8.8,17.6z M17.6,17.4V9.3h-1.7l-2.1,1.4v1.6l2-1.4h0.1v6.4H17.6z"}))},13839:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(4981),i=n(81907),s=n(4525),l=n(47875),c=n(70355);const __=a.__,_x=a._x,u="google-calendar",p={title:__("Google Calendar","jetpack"),description:__("Embed a Google Calendar","jetpack"),keywords:[_x("events","block search term","jetpack"),_x("dates","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack")],icon:{src:l.Z,foreground:(0,c.m)()},category:"embed",supports:{align:!0,alignWide:!0,html:!1},attributes:{url:{type:"string"},height:{type:"integer",default:600}},edit:i.Z,save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)},transforms:{from:[{type:"shortcode",tag:"googleapps",isMatch:function(e){return"calendar"===e.named.domain},attributes:{url:{type:"string",shortcode:e=>{let{named:{domain:t,dir:n,query:r}}=e;return`https://${t}.google.com/${n}?${r}`}}}},{type:"raw",isMatch:e=>"P"===e.nodeName&&s.Wh.test(e.textContent),transform:e=>(0,o.createBlock)("jetpack/google-calendar",{url:e.textContent.trim()})},{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&s.E6.test(e.innerHTML),transform:e=>{const{url:t,height:n}=(0,s.jj)(e.innerHTML.trim());return(0,o.createBlock)("jetpack/google-calendar",{url:t,height:n})}}]},example:{attributes:{url:"https://calendar.google.com/calendar/embed?src=jb4bu80jirp0u11a6niie21pp4%40group.calendar.google.com&ctz=America/New_York"}}}},4525:function(e,t,n){"use strict";n.d(t,{E6:function(){return o},L7:function(){return u},Wh:function(){return a},jj:function(){return c}});const r="s*https?://calendar.google.com/calendar",a=new RegExp(`^${r}`,"i"),o=new RegExp(`<iframe((?:\\s+\\w+=(['"]).*?\\2)*)\\s+src=(["'])(${r}.*?)\\3((?:\\s+\\w+=(['"]).*?\\6)*)`,"i"),i=new RegExp(`${r}\\?cid=([-A-Za-z0-9+/]+={0,3})`,"i"),s=/\s+(\w+)=(["'])(.*?)\2/gi;function l(e){const t=i.exec(e);if(t)return"https://calendar.google.com/calendar/embed?src="+encodeURIComponent(atob(t[1]))}function c(e){const t=o.exec(e);if(!t)return;const n={};return t.forEach(((e,t)=>{if(0===t)return;if(a.test(e))return void(n.url=e);let r;for(;null!==(r=s.exec(e));)n[r[1]]=r[3]})),{url:n.url,width:n.width,height:n.height}}function u(e){return o.test(e)?c(e):i.test(e)?{url:l(e)}:{url:e}}},8979:function(e,t){"use strict";t.Z={accessToken:{type:"string"},instagramUser:{type:"string"},columns:{type:"number",default:3,min:1,max:6},count:{type:"number",default:9,min:1,max:30},spacing:{type:"number",default:10,min:0,max:50},isStackedOnMobile:{type:"boolean",default:!0}}},696:function(e,t,n){"use strict";n.d(t,{D:function(){return a},u:function(){return r}});const r=30,a="jetpack-new-instagram-connection"},64129:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(696);const __=o.__,_n=o._n;function s(e){let{accountImageTotal:t,attributes:n,currentUserConnected:s,disconnectFromService:l,shouldRenderSidebarNotice:c,setAttributes:u}=e;const{accessToken:p,columns:d,count:m,instagramUser:h,isStackedOnMobile:f,spacing:g}=n;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelBody,{title:__("Account Settings","jetpack")},(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("span",null,__("Account","jetpack")),(0,r.createElement)(a.ExternalLink,{href:`https://www.instagram.com/${h}/`},"@",h)),s&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isDestructive:!0,variant:"link",onClick:()=>l(p)},__("Disconnect your account","jetpack")))),(0,r.createElement)(a.PanelBody,{title:__("Display Settings","jetpack")},c?(()=>{const e=t?(0,o.sprintf)(
/* translators: placeholder is a number. */
-_n("There is currently only %s post in your Instagram account.","There are currently only %s posts in your Instagram account.",t,"jetpack"),t):__("There are currently no posts in your Instagram account.","jetpack");return(0,r.createElement)("div",{className:"wp-block-jetpack-instagram-gallery__count-notice"},(0,r.createElement)(a.Notice,{isDismissible:!1,status:"info"},e))})():null,(0,r.createElement)(a.RangeControl,{label:__("Number of Posts","jetpack"),value:m,onChange:e=>u({count:e}),min:1,max:i.u}),(0,r.createElement)(a.RangeControl,{label:__("Number of Columns","jetpack"),value:d,onChange:e=>u({columns:e}),min:1,max:6}),(0,r.createElement)(a.RangeControl,{label:__("Image Spacing (px)","jetpack"),value:g,onChange:e=>u({spacing:e}),min:0,max:50}),(0,r.createElement)(a.ToggleControl,{label:__("Stack on mobile","jetpack"),checked:f,onChange:()=>u({isStackedOnMobile:!f})})))}},66137:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(18776),p=n(14937),d=n(14087),m=n(10273),h=n(2992),f=n(44420),g=n(76853),b=n(63729),k=n(3802);const __=c.__;t.Z=(0,l.withNotices)((e=>{const{attributes:t,className:n,isSelected:a,noticeOperations:c,noticeUI:v,setAttributes:y}=e,{accessToken:E,align:w,columns:_,count:C,isStackedOnMobile:x,spacing:j}=t;(0,r.useEffect)((()=>{const e=(0,d.S)(u.Z,t);(0,i.isEqual)(e,t)||y(e)}),[t,y]);const[S,A]=(0,r.useState)(E),{isRequestingWpcomConnectUrl:N,wpcomConnectUrl:T}=(0,h.Z)(),{images:P,isLoadingGallery:M,setImages:I}=(0,f.Z)({accessToken:E,noticeOperations:c,setAttributes:y,setSelectedAccount:A}),{connectToService:R,disconnectFromService:L,isConnecting:B,isRequestingUserConnections:F,userConnections:Z}=(0,m.Z)({accessToken:E,noticeOperations:c,selectedAccount:S,setAttributes:y,setImages:I,setSelectedAccount:A}),D=(0,b.Z)(),O=C>P.length?P.length:C,z=!M&&(!E||(0,i.isEmpty)(P)),$=!z,U=E&&M&&(0,i.isEmpty)(P),V=!z&&!U,q=o()(n,{[`align${w}`]:w}),G=o()("wp-block-jetpack-instagram-gallery__grid",`wp-block-jetpack-instagram-gallery__grid-columns-${_}`,{"is-stacked-on-mobile":x}),H={gridGap:j,"--latest-instagram-posts-spacing":j?`${j}px`:void 0},W={padding:j},K=()=>{S&&p.D!==S?y({accessToken:S,instagramUser:(0,i.find)(Z,{token:S}).username}):R()};return(0,r.createElement)("div",{className:q},z&&(0,r.createElement)(l.Placeholder,{icon:"instagram",instructions:D?F||Z.length?void 0:__("Connect to Instagram to start sharing your images.","jetpack"):__("First, you'll need to connect your WordPress.com account.","jetpack"),label:__("Latest Instagram Posts","jetpack"),notices:v},D?(()=>{const e=Z.length>0,t=[...(0,i.map)(Z,(e=>({label:`@${e.username}`,value:e.token}))),{label:__("Add a new account","jetpack"),value:p.D}],n=B||F||e&&!S;return(0,r.createElement)("div",null,e&&(0,r.createElement)(l.RadioControl,{label:__("Select your Instagram account:","jetpack"),onChange:e=>A(e),options:t,selected:S}),p.D===S&&(0,r.createElement)("p",{className:"wp-block-jetpack-instagram-gallery__new-account-instructions"},__("If you are currently logged in to Instagram on this device, you might need to log out of it first.","jetpack")),(0,r.createElement)(l.Button,{disabled:n,isPrimary:!0,onClick:K},B&&__("Connecting…","jetpack"),F&&__("Loading your connections…","jetpack"),!B&&!F&&__("Connect to Instagram","jetpack")))})():(0,r.createElement)(l.Button,{disabled:N||!T,href:T,isSecondary:!0},__("Connect to WordPress.com","jetpack"))),U&&(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(l.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack"))),V&&(0,r.createElement)("div",{className:G,style:H},(0,i.times)(a?C:O,(e=>(0,r.createElement)("span",{className:o()("wp-block-jetpack-instagram-gallery__grid-post"),key:e,style:W},(e=>{if(P[e]){const n=P[e];return(0,r.createElement)(g.Z,{alt:n.title||n.url,src:n.url,attributes:t,spacing:j})}return(0,r.createElement)("img",{alt:__("Latest Instagram Posts placeholder","jetpack"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNMyc2tBwAEOgG/c94mJwAAAABJRU5ErkJggg=="})})(e))))),$&&(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(k.Z,{accountImageTotal:P.length,attributes:t,currentUserConnected:D,disconnectFromService:L,shouldRenderSidebarNotice:$&&!U&&P.length<C,setAttributes:y})))}))},76853:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{src:t,alt:n,spacing:a}=e;const[i,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)("auto"),u=(0,r.useRef)(),p=()=>{s(!0),c("auto")};(0,r.useEffect)((()=>{const e=t;if(e){const t=new window.Image;t.src=e,t.onload=p}u.current&&c(u.current.parentNode.getBoundingClientRect().width)}),[t]);const d=-1*a,m=o()("wp-block-jetpack-instagram-gallery__placeholder",{"is-loaded":i}),h=i?{margin:d}:{margin:d,height:l},f=o()({"is-loaded":i});return(0,r.createElement)("span",{style:h,className:m},(0,r.createElement)("img",{alt:n,className:f,ref:u,src:t}))}},77007:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(4981),i=n(18776),s=n(66137),l=n(57535);const __=a.__,_x=a._x,c="instagram-gallery",u={title:__("Latest Instagram Posts","jetpack"),description:__("Display an automatically updating list of the latest posts from your Instagram feed.","jetpack"),icon:{src:"instagram",foreground:(0,l.m)()},category:"embed",keywords:[_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack")],supports:{align:!0,html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"wpcom_instagram_widget"===t},transform:e=>{let{instance:t}=e;return(0,o.createBlock)("jetpack/instagram-gallery",{columns:t.raw.columns,count:t.raw.count,accessToken:t.raw.token_id})}}]},attributes:i.Z,edit:s.Z,save:e=>{let{attributes:{instagramUser:t}}=e;return t&&(0,r.createElement)("div",null,(0,r.createElement)("a",{href:`https://www.instagram.com/${t}/`,rel:"noopener noreferrer",target:"_blank"},`https://www.instagram.com/${t}/`))}}},10273:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(59177),a=n(92819),o=n(86989),i=n.n(o),s=n(69307),l=n(65736),c=n(14937),u=n(63729);const __=l.__;function p(e){let{accessToken:t,noticeOperations:n,selectedAccount:o,setAttributes:l,setImages:p,setSelectedAccount:d}=e;const[m,h]=(0,s.useState)(!1),[f,g]=(0,s.useState)(!1),[b,k]=(0,s.useState)([]),v=(0,u.Z)();(0,s.useEffect)((()=>{!t&&v&&(g(!0),i()({path:"/wpcom/v2/instagram-gallery/connections"}).then((e=>{g(!1),k(e)})).catch((()=>{g(!1),k([])})))}),[t,v]),(0,s.useEffect)((()=>{c.D===o||(0,a.find)(b,{token:o})||d(void 0)}),[o,d,b]);return{connectToService:()=>{n.removeAllNotices(),h(!0),i()({path:"/wpcom/v2/instagram-gallery/connect-url"}).then((e=>{const t=new r.Z;t.open(e,"connect-to-instagram-popup","toolbar=0,location=0,menubar=0,"+t.getScreenCenterSpecs(700,700)),t.on("message",(e=>{let{keyring_id:t}=e;if(h(!1),t){const e=t.toString();l({accessToken:e}),d(e)}})),t.on("close",(e=>{"connect-to-instagram-popup"===e&&h(!1)}))})).catch((()=>{n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),h(!1)}))},disconnectFromService:()=>{n.removeAllNotices(),l({accessToken:void 0,instagramUser:void 0}),p([])},isConnecting:m,isRequestingUserConnections:f,userConnections:b}}},2992:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(86989),a=n.n(r),o=n(9818),i=n(69307),s=n(96483),l=n(63729);function c(){const{isAutoDraft:e}=(0,o.useSelect)((e=>{const{status:t}=e("core/editor").getCurrentPost();return{isAutoDraft:"auto-draft"===t}})),{savePost:t}=(0,o.useDispatch)("core/editor"),[n,r]=(0,i.useState)(),[c,u]=(0,i.useState)(!1),p=(0,l.Z)();return(0,i.useEffect)((()=>{p||n||c||(e?t():(u(!0),a()({path:(0,s.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((e=>{r(e),u(!1)}))))}),[p,e,c,t,n]),{isRequestingWpcomConnectUrl:c,wpcomConnectUrl:n}}},44420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(14937);const __=s.__;function u(e){let{accessToken:t,noticeOperations:n,setAttributes:a,setSelectedAccount:s}=e;const[u,p]=(0,i.useState)([]),[d,m]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{t&&(n.removeAllNotices(),m(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/instagram-gallery/gallery",{access_token:t,count:c.u})}).then((e=>{let{external_name:t,images:o}=e;if(m(!1),!o||!(0,r.isArray)(o))return n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),p([]),a({accessToken:void 0,instagramUser:void 0}),void s(void 0);(0,r.isEmpty)(o)&&n.createErrorNotice(__("No images were found in your Instagram account.","jetpack")),a({instagramUser:t}),p(o)})).catch((()=>{m(!1),p([]),a({accessToken:void 0,instagramUser:void 0}),s(void 0)})))}),[t,a,s]),{images:u,isLoadingGallery:d,setImages:p}}},25887:function(e,t,n){"use strict";n.d(t,{N3:function(){return r},sf:function(){return a},Cw:function(){return o}});const r="processing",a="success",o="error"},50013:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(18417),s=n(25887);const __=a.__;function l(e){let{auditionNotification:t,clearAudition:n,setAttributes:a,emailPlaceholder:l,processingLabel:c,successLabel:u,errorLabel:p,interests:d,signupFieldTag:m,signupFieldValue:h,connectURL:f}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Text Elements","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Email Placeholder","jetpack"),value:l,onChange:e=>{a({emailPlaceholder:e}),n()}})),(0,r.createElement)(o.PanelBody,{title:__("Notifications","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Processing text","jetpack"),value:c,onChange:e=>{a({processingLabel:e}),t(s.N3)}}),(0,r.createElement)(o.TextControl,{label:__("Success text","jetpack"),value:u,onChange:e=>{a({successLabel:e}),t(s.sf)}}),(0,r.createElement)(o.TextControl,{label:__("Error text","jetpack"),value:p,onChange:e=>{a({errorLabel:e}),t(s.Cw)}})),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Groups","jetpack")},(0,r.createElement)(i.Z,{interests:d,onChange:(e,t)=>{const n=[...new Set([...d,e])].filter((n=>!(n===e&&!t)&&n));a({interests:n})}}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},__("Learn about groups","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Signup Location Tracking","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Signup Field Tag","jetpack"),placeholder:__("SIGNUP","jetpack"),value:m,onChange:e=>a({signupFieldTag:e})}),(0,r.createElement)(o.TextControl,{label:__("Signup Field Value","jetpack"),placeholder:__("website","jetpack"),value:h,onChange:e=>a({signupFieldValue:e})}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},__("Learn about signup location tracking","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Connection","jetpack")},(0,r.createElement)(o.ExternalLink,{href:f},__("Manage Connection","jetpack"))))}},58791:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=["submitButtonText","backgroundButtonColor","textButtonColor","submitButtonClasses","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},submitButtonText:{type:"string",default:__("Join my email list","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},submitButtonClasses:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},migrate:e=>{const t=(0,r.omit)(e,i),n={text:(o=e).submitButtonText||__("Join my email list","jetpack"),textColor:o.textButtonColor,customTextColor:o.customTextButtonColor,backgroundColor:o.backgroundButtonColor,customBackgroundColor:o.customBackgroundButtonColor};var o;return[t,[(0,a.createBlock)("jetpack/button",{element:"button",uniqueId:"mailchimp-widget-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,i),Boolean),save:()=>null}},87539:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(89105),c=n.n(l),u=n(65736),p=n(96483),d=n(55609),m=n(52175),h=n(19916),f=n(50013),g=n(63729),b=n(25887);const __=u.__;class k extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e=(0,g.Z)();if(e){const t={path:"/wpcom/v2/mailchimp",method:"GET"};s()(t).then((t=>{const n=t.connect_url,r="connected"===t.code?1:2;this.setState({currentUserConnected:e,connected:r,connectURL:n})}),(t=>{this.setState({currentUserConnected:e,connected:2,connectURL:null}),this.onError(t.message)}))}else s()({path:(0,p.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((t=>{const n=t;this.setState({currentUserConnected:e,connected:2,connectURL:n})}))})),a()(this,"auditionNotification",(e=>{this.setState({audition:e}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.clearAudition,3e3)})),a()(this,"clearAudition",(()=>{this.setState({audition:null})})),a()(this,"labelForAuditionType",(e=>{const{attributes:t}=this.props,{processingLabel:n,successLabel:r,errorLabel:a}=t;return e===b.N3?n:e===b.sf?r:e===b.Cw?a:null})),a()(this,"roleForAuditionType",(e=>e===b.Cw?"alert":"status")),a()(this,"render",(()=>{const{attributes:e,className:t,notices:n,noticeUI:r,setAttributes:a}=this.props,{audition:i,connected:s,connectURL:l,currentUserConnected:u}=this.state,{emailPlaceholder:p,consentText:g,interests:b,processingLabel:k,successLabel:v,errorLabel:y,preview:E,signupFieldTag:w,signupFieldValue:_}=e,C="wp-block-jetpack-mailchimp",x=(0,o.createElement)(d.Placeholder,{icon:h.qv,notices:n},(0,o.createElement)(d.Spinner,null)),j=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("You need to connect your Mailchimp account and choose an audience in order to start collecting Email subscribers.","jetpack")},(0,o.createElement)(d.Button,{isSecondary:!0,isLarge:!0,href:l,target:"_blank"},__("Set up Mailchimp form","jetpack")),(0,o.createElement)("div",{className:`${C}-recheck`},(0,o.createElement)(d.Button,{isLink:!0,onClick:this.apiCall},__("Re-check Connection","jetpack")))),S=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("First, you'll need to connect your WordPress.com account.","jetpack")},(0,o.createElement)(d.Button,{isSecondary:!0,isLarge:!0,href:l},__("Connect to WordPress.com","jetpack"))),A=(0,o.createElement)(m.InspectorControls,null,(0,o.createElement)(f.Q,{auditionNotification:this.auditionNotification,clearAudition:this.clearAudition,emailPlaceholder:p,processingLabel:k,successLabel:v,errorLabel:y,interests:b,setAttributes:this.props.setAttributes,signupFieldTag:w,signupFieldValue:_,connectURL:l})),N=c()(t,{[`${C}_notication-audition`]:i}),T=(0,o.createElement)("div",{className:N},(0,o.createElement)(d.TextControl,{"aria-label":p,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:()=>!1,placeholder:p,title:__("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),(0,o.createElement)(m.InnerBlocks,{template:[[h.Ss.name,h.Ss.attributes]],templateLock:"all"}),(0,o.createElement)(m.RichText,{tagName:"p",placeholder:__("Write consent text","jetpack"),value:g,onChange:e=>a({consentText:e}),inlineToolbar:!0}),i&&(0,o.createElement)("div",{className:`${C}_notification ${C}_${i}`,role:this.roleForAuditionType(i)},this.labelForAuditionType(i))),P=T;return(0,o.createElement)(o.Fragment,null,r,E&&P,!E&&0===s&&x,!E&&2===s&&u&&j,!E&&2===s&&!u&&S,!E&&1===s&&A,!E&&1===s&&T)})),this.state={audition:null,connected:0,connectURL:null,currentUserConnected:null},this.timeout=null}}t.Z=(0,d.withNotices)(k)},19916:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},qv:function(){return p},Ss:function(){return d},Xd:function(){return m}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(58791),l=n(87539),c=n(57535);const __=a.__,_x=a._x,u="mailchimp",p=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(i.G,{transform:"translate(-45.478101,-100.73059)"},(0,r.createElement)(i.G,{transform:"matrix(0.26458333,0,0,0.26458333,15.6741,59.72)"},(0,r.createElement)(i.Path,{d:"m 176.433,197.529 c 0.657,-0.078 1.286,-0.082 1.865,0 0.335,-0.768 0.392,-2.091 0.091,-3.532 -0.447,-2.142 -1.053,-3.438 -2.305,-3.236 -1.252,0.202 -1.298,1.754 -0.85,3.895 0.252,1.205 0.7,2.235 1.199,2.873"}),(0,r.createElement)(i.Path,{d:"m 165.688,199.224 c 0.895,0.393 1.446,0.654 1.661,0.426 0.139,-0.142 0.097,-0.413 -0.117,-0.762 -0.442,-0.721 -1.351,-1.453 -2.316,-1.864 -1.972,-0.849 -4.325,-0.567 -6.14,0.737 -0.599,0.439 -1.167,1.047 -1.086,1.416 0.026,0.119 0.116,0.209 0.326,0.239 0.494,0.056 2.22,-0.816 4.209,-0.938 1.403,-0.086 2.566,0.353 3.462,0.746"}),(0,r.createElement)(i.Path,{d:"m 163.887,200.252 c -1.167,0.184 -1.81,0.569 -2.223,0.926 -0.352,0.308 -0.57,0.649 -0.568,0.888 0.001,0.114 0.05,0.18 0.089,0.213 0.053,0.047 0.116,0.073 0.192,0.073 0.263,0 0.854,-0.237 0.854,-0.237 1.623,-0.581 2.694,-0.51 3.755,-0.39 0.586,0.066 0.864,0.102 0.992,-0.099 0.038,-0.058 0.084,-0.183 -0.033,-0.373 -0.273,-0.443 -1.451,-1.192 -3.057,-1.001"}),(0,r.createElement)(i.Path,{d:"m 172.805,204.025 c 0.792,0.389 1.664,0.236 1.948,-0.341 0.284,-0.577 -0.128,-1.361 -0.92,-1.75 -0.792,-0.389 -1.664,-0.236 -1.948,0.341 -0.284,0.578 0.128,1.361 0.92,1.75"}),(0,r.createElement)(i.Path,{d:"m 177.896,199.576 c -0.643,-0.011 -1.177,0.695 -1.192,1.578 -0.015,0.883 0.495,1.606 1.138,1.617 0.643,0.011 1.177,-0.695 1.192,-1.578 0.015,-0.882 -0.495,-1.606 -1.138,-1.617"}),(0,r.createElement)(i.Path,{d:"m 134.683,215.485 c -0.16,-0.201 -0.423,-0.14 -0.678,-0.08 -0.178,0.042 -0.379,0.088 -0.6,0.085 -0.473,-0.009 -0.874,-0.211 -1.099,-0.557 -0.293,-0.45 -0.276,-1.121 0.047,-1.889 l 0.151,-0.344 c 0.516,-1.158 1.379,-3.095 0.41,-4.941 -0.73,-1.39 -1.92,-2.255 -3.351,-2.437 -1.374,-0.174 -2.788,0.335 -3.69,1.33 -1.423,1.57 -1.646,3.707 -1.371,4.462 0.101,0.276 0.259,0.353 0.373,0.369 0.242,0.032 0.6,-0.144 0.824,-0.747 l 0.064,-0.196 c 0.1,-0.319 0.286,-0.913 0.591,-1.389 0.368,-0.574 0.94,-0.969 1.612,-1.114 0.684,-0.147 1.384,-0.016 1.97,0.368 0.997,0.652 1.381,1.874 0.955,3.039 -0.22,0.603 -0.578,1.756 -0.499,2.703 0.16,1.917 1.339,2.687 2.398,2.769 1.03,0.039 1.75,-0.54 1.932,-0.962 0.107,-0.25 0.017,-0.402 -0.042,-0.467"}),(0,r.createElement)(i.Path,{d:"m 144.475,180.275 c 3.36,-3.882 7.495,-7.257 11.2,-9.152 0.128,-0.066 0.264,0.073 0.195,0.199 -0.294,0.533 -0.861,1.674 -1.04,2.539 -0.028,0.135 0.119,0.236 0.233,0.159 2.305,-1.571 6.314,-3.255 9.831,-3.471 0.151,-0.009 0.224,0.184 0.104,0.277 -0.535,0.41 -1.12,0.978 -1.547,1.552 -0.073,0.098 -0.004,0.238 0.118,0.239 2.469,0.018 5.95,0.882 8.219,2.155 0.153,0.086 0.044,0.383 -0.128,0.344 -3.433,-0.787 -9.052,-1.384 -14.89,0.04 -5.211,1.271 -9.189,3.234 -12.09,5.344 -0.147,0.107 -0.323,-0.087 -0.204,-0.224 z m 16.732,37.612 0.001,0.002 0.002,0.004 z m 13.854,1.635 c 0.1,-0.042 0.168,-0.155 0.157,-0.268 -0.014,-0.139 -0.138,-0.24 -0.277,-0.226 0,0 -7.169,1.061 -13.942,-1.418 0.738,-2.398 2.699,-1.532 5.664,-1.293 5.344,0.319 10.134,-0.462 13.674,-1.478 3.067,-0.88 7.096,-2.616 10.225,-5.086 1.055,2.318 1.428,4.87 1.428,4.87 0,0 0.817,-0.146 1.5,0.274 0.645,0.397 1.118,1.222 0.795,3.356 -0.658,3.986 -2.352,7.222 -5.2,10.199 -1.734,1.866 -3.838,3.488 -6.246,4.668 -1.279,0.672 -2.64,1.253 -4.079,1.722 -10.736,3.507 -21.726,-0.348 -25.268,-8.626 -0.283,-0.622 -0.522,-1.274 -0.71,-1.955 -1.509,-5.455 -0.228,-12 3.778,-16.12 v -0.002 c 0.247,-0.262 0.499,-0.571 0.499,-0.96 0,-0.325 -0.207,-0.668 -0.386,-0.912 -1.402,-2.033 -6.257,-5.497 -5.282,-12.201 0.7,-4.816 4.912,-8.208 8.839,-8.007 l 0.995,0.057 c 1.702,0.101 3.186,0.319 4.587,0.378 2.345,0.102 4.453,-0.239 6.951,-2.32 0.842,-0.702 1.518,-1.311 2.661,-1.504 0.12,-0.021 0.419,-0.128 1.016,-0.1 0.61,0.033 1.19,0.2 1.711,0.547 2.002,1.332 2.286,4.559 2.39,6.919 0.059,1.347 0.222,4.607 0.278,5.543 0.127,2.14 0.69,2.441 1.828,2.816 0.64,0.211 1.234,0.368 2.11,0.614 2.65,0.744 4.221,1.499 5.212,2.469 0.591,0.606 0.866,1.25 0.951,1.864 0.312,2.28 -1.77,5.096 -7.283,7.655 -6.026,2.797 -13.337,3.505 -18.388,2.942 l -1.77,-0.2 c -4.04,-0.544 -6.345,4.677 -3.92,8.255 1.563,2.306 5.82,3.806 10.079,3.807 9.765,0.001 17.271,-4.169 20.063,-7.77 l 0.223,-0.318 c 0.138,-0.207 0.024,-0.321 -0.147,-0.204 -2.281,1.561 -12.413,7.758 -23.251,5.893 0,0 -1.317,-0.217 -2.519,-0.684 -0.955,-0.372 -2.955,-1.292 -3.198,-3.343 8.746,2.705 14.253,0.148 14.253,0.148 z m -48.039,-20.785 c -3.042,0.591 -5.723,2.315 -7.362,4.697 -0.98,-0.817 -2.805,-2.399 -3.128,-3.016 -2.617,-4.97 2.856,-14.632 6.68,-20.089 9.45,-13.485 24.25,-23.692 31.101,-21.84 1.114,0.315 4.803,4.592 4.803,4.592 0,0 -6.849,3.8 -13.2,9.097 -8.558,6.589 -15.022,16.166 -18.895,26.559 z m 5.111,22.805 c -0.46,0.079 -0.93,0.11 -1.404,0.098 -4.577,-0.123 -9.52,-4.243 -10.011,-9.129 -0.543,-5.401 2.217,-9.557 7.103,-10.543 0.584,-0.118 1.29,-0.186 2.051,-0.146 2.738,0.15 6.772,2.252 7.693,8.216 0.816,5.282 -0.48,10.659 -5.432,11.503 z m 61.996,-9.564 c -0.039,-0.139 -0.295,-1.072 -0.646,-2.197 -0.351,-1.126 -0.714,-1.917 -0.714,-1.917 1.408,-2.107 1.433,-3.992 1.245,-5.059 -0.2,-1.323 -0.751,-2.45 -1.861,-3.616 -1.11,-1.165 -3.381,-2.359 -6.572,-3.255 l -1.674,-0.465 c -0.008,-0.069 -0.088,-3.947 -0.16,-5.612 -0.053,-1.204 -0.156,-3.083 -0.739,-4.933 -0.695,-2.505 -1.905,-4.697 -3.416,-6.099 4.17,-4.322 6.773,-9.084 6.766,-13.168 -0.012,-7.855 -9.659,-10.232 -21.548,-5.309 l -2.519,1.069 c -0.011,-0.011 -4.554,-4.468 -4.622,-4.528 -13.555,-11.823 -55.935,35.284 -42.386,46.725 l 2.961,2.509 c -0.768,1.99 -1.07,4.27 -0.823,6.721 0.316,3.149 1.94,6.167 4.573,8.499 2.499,2.214 5.785,3.616 8.973,3.613 5.273,12.151 17.321,19.605 31.447,20.025 15.153,0.45 27.873,-6.66 33.203,-19.432 0.349,-0.896 1.828,-4.935 1.828,-8.501 0,-3.583 -2.026,-5.068 -3.316,-5.068"})))),d={name:"jetpack/button",attributes:{element:"button",text:__("Join my Mailchimp audience","jetpack"),uniqueId:"mailchimp-widget-id"}},m={title:__("Mailchimp","jetpack"),icon:{src:p,foreground:(0,c.m)()},description:__("A form enabling readers to join a Mailchimp audience.","jetpack"),category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:l.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null),example:{attributes:{preview:!0},innerBlocks:[d]},deprecated:[s.Z]}},18417:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(55609);class c extends o.Component{constructor(){super(...arguments),a()(this,"state",{interest_categories:[]}),a()(this,"retrieveGroups",(()=>{s()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((e=>{const{interest_categories:t}=e;this.setState({interest_categories:t})}))})),a()(this,"render",(()=>{const{interest_categories:e}=this.state,{interests:t,onChange:n}=this.props;return(0,o.createElement)(o.Fragment,null,e&&(e||[]).map((e=>e.interests.map((e=>(0,o.createElement)(l.CheckboxControl,{label:e.name,value:e.id,checked:t.includes(e.id),onChange:t=>n(e.id,t),key:e.id}))))))}))}componentDidMount(){this.retrieveGroups()}}t.Z=c,c.defaultProps={interests:[],onChange:()=>null}},36710:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(1595);const __=a.__;class s extends r.Component{render(){const{onClose:e,onAddPoint:t,onError:n,apiKey:a}=this.props;return(0,r.createElement)(o.Button,{className:"component__add-point"},__("Add marker","jetpack"),(0,r.createElement)(o.Popover,{className:"component__add-point__popover",position:"bottom center"},(0,r.createElement)(o.Button,{className:"component__add-point__close",onClick:e},(0,r.createElement)(o.Dashicon,{icon:"no"})),(0,r.createElement)(i.Z,{onAddPoint:t,label:__("Add a location","jetpack"),apiKey:a,onError:n})))}}s.defaultProps={onAddPoint:()=>{},onClose:()=>{},onError:()=>{}},t.Z=s},79267:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(55609),c=n(81041),u=n(77714),p=n(73242),d=n(87929),m=n(45388);const __=i.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),a()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),a()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),a()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:r}=n.props,a=t.slice(0);(0,s.assign)(a[r],e),this.props.onSetPoints(a)})),a()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,r=e.slice(0);r.splice(n,1),this.props.onSetPoints(r),this.setState({activeMarker:null})})),a()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,r=Math.min(e*(3/4),t);n.style.height=r+"px"}t.resize(),this.setBoundsByMarkers()})),a()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),a()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:r,zoom:a}=this.props,{map:o,activeMarker:i,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!o)return;if(r.length&&e?o.dragPan.disable():o.dragPan.enable(),!r.length)return;if(i)return;const u=new s.LngLatBounds;if(r.forEach((e=>{u.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(u.getCenter()),r.length>1){o.fitBounds(u,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{o.removeControl(l)}catch(e){}}else{if(o.setCenter(u.getCenter()),c){const e=12;o.setZoom(e),n(e)}else o.setZoom(parseInt(a,10));o.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),a()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),a()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,o.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:r}=this.props,{map:a,activeMarker:i,mapboxgl:p}=this.state,{onMarkerClick:d,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(i,"props.point")||{},{title:g,caption:b}=f,k=o.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),v=a&&p&&e.map(((e,t)=>(0,o.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:a,mapboxgl:p,markerColor:r,onClick:d}))),y=p&&(0,o.createElement)(u.Z,{activeMarker:i,map:a,mapboxgl:p,unsetActiveMarker:()=>this.setState({activeMarker:null})},i&&t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,o.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:b,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,o.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,o.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),i&&!t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h3",null,g),(0,o.createElement)("p",null,b)));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},v),y,k)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:r,points:a,mapStyle:o,mapDetails:i,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:u}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&i===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(u),t&&u._fullscreenButton&&(u._fullscreenButton.disabled=!0)):c.removeControl(u))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,p.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,d.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,d.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,d.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:r,onError:a,scrollToZoom:o,showFullscreenButton:i,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}o||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{a("mapbox_error",e.error.message)}));const u=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:u,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(u),i&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),r(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},20522:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(41626),l=n(17885);const __=a.__;t.Z=e=>{let{attributes:t,setAttributes:n,state:a,setState:c,context:u,mapRef:p,instanceId:d,minHeight:m,removeAPIKey:h,updateAPIKey:f,setPointVisibility:g}=e;const b=e=>{n({align:e}),setTimeout(p.current.sizeMap,0)};return"toolbar"===u?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockAlignmentToolbar,{value:t.align,onChange:b,controls:["center","wide","full"]}),(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:l.X.markerIcon,label:__("Add a marker","jetpack"),onClick:g}))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.PanelColorSettings,{title:__("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:t.markerColor,onChange:e=>n({markerColor:e}),label:__("Marker Color","jetpack")}]}),(0,r.createElement)(o.PanelBody,{title:__("Map Settings","jetpack")},(0,r.createElement)(o.BaseControl,{label:__("Height in pixels","jetpack"),id:`block-jetpack-map-height-input-${d}`},(0,r.createElement)("input",{type:"number",id:`block-jetpack-map-height-input-${d}`,className:"wp-block-jetpack-map__height_input",onChange:e=>{n({mapHeight:e.target.value}),e.target!==document.activeElement&&setTimeout(p.current.sizeMap,0)},onBlur:e=>{const{mapHeight:r}=t;let a=parseInt(e.target.value,10);isNaN(a)?a=null:null==r?a=p.current.mapRef.current.offsetHeight:a<m&&(a=m),n({mapHeight:a}),setTimeout(p.current.sizeMap,0)},value:t.mapHeight||"",min:m,step:"10"})),(0,r.createElement)(o.RangeControl,{label:__("Zoom level","jetpack"),help:t.points.length>1&&__("The default zoom level cannot be changed when there are two or more markers on the map.","jetpack"),disabled:t.points.length>1,value:t.zoom,onChange:e=>{n({zoom:e}),setTimeout(p.current.updateZoom,0)},min:0,max:22}),(0,r.createElement)(o.ToggleControl,{label:__("Show street names","jetpack"),checked:t.mapDetails,onChange:e=>n({mapDetails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Scroll to zoom","jetpack"),help:__("Allow the map to capture scrolling, and zoom in or out.","jetpack"),checked:t.scrollToZoom,onChange:e=>n({scrollToZoom:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Show Fullscreen Button","jetpack"),help:__("Allow your visitors to display the map in fullscreen.","jetpack"),checked:t.showFullscreenButton,onChange:e=>n({showFullscreenButton:e})})),t.points.length?(0,r.createElement)(o.PanelBody,{title:__("Markers","jetpack"),initialOpen:!1},(0,r.createElement)(s.Z,{points:t.points,onChange:e=>{n({points:e})}})):null,(0,r.createElement)(o.PanelBody,{title:__("Mapbox Access Token","jetpack"),initialOpen:!1},(0,r.createElement)(o.TextControl,{help:"wpcom"===a.apiKeySource&&(0,r.createElement)(r.Fragment,null,__("You can optionally enter your own access token.","jetpack")," ",(0,r.createElement)(o.ExternalLink,{href:"https://account.mapbox.com/access-tokens/"},__("Find it on Mapbox","jetpack"))),label:__("Mapbox Access Token","jetpack"),value:a.apiKeyControl,onChange:e=>c({apiKeyControl:e})}),(0,r.createElement)(o.ButtonGroup,null,(0,r.createElement)(o.Button,{type:"button",onClick:f,disabled:!a.apiKeyControl||a.apiKeyControl===a.apiKey},__("Update Token","jetpack")),(0,r.createElement)(o.Button,{type:"button",onClick:h,disabled:"wpcom"===a.apiKeySource,isSecondary:!0},__("Remove Token","jetpack")))))}},86124:function(e,t,n){"use strict";var r=n(98372);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,showFullscreenButton:!0,className:t}},save:r.Z}},98372:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u}=e,p=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),d=t?`align${t}`:null;return(0,r.createElement)("div",{className:d,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null},o.length>0&&(0,r.createElement)("ul",null,p))}}t.Z=a},91576:function(e,t,n){"use strict";var r=n(51694);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,className:t}},save:r.Z}},51694:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u,showFullscreenButton:p}=e,d=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),m=t?`align${t}`:null;return(0,r.createElement)("div",{className:m,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null,"data-show-fullscreen-button":p||null},o.length>0&&(0,r.createElement)("ul",null,d))}}t.Z=a},70312:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65736),c=n(55609),u=n(52175),p=n(36710),d=n(79267),m=n(20522),h=n(17885),f=n(96406),g=n(94333),b=n(9818),k=n(98085),v=n(14499);const __=l.__,y={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};class E extends o.Component{constructor(){super(...arguments),a()(this,"geoCodeAddress",((e,t)=>{t&&(0,v.P)(e,t).then((e=>{if(e.features?.length){const t=e.features[0],n=[{title:t.text,placeTitle:t.text,caption:t.place_name,id:t.id,coordinates:{latitude:t.center[1],longitude:t.center[0]}}];this.props.setAttributes({points:n})}else this.onError(null,__("Could not find the coordinates of the provided address. Displaying default location. Feel free to add the location manually.","jetpack"))})).catch((e=>this.onError(null,e.message)))})),a()(this,"componentDidUpdate",(e=>{const t=this.props.attributes?.address,n=e.attributes?.address;t&&n!==t&&this.geoCodeAddress(t,this.state.apiKey)})),a()(this,"addPoint",(e=>{const{attributes:t,setAttributes:n}=this.props,{points:r}=t,a=r.slice(0);let o=!1;r.map((t=>{t.id===e.id&&(o=!0)})),o||(a.push(e),n({points:a}),this.setState({addPointVisibility:!1}))})),a()(this,"setPointVisibility",(()=>{this.setState({addPointVisibility:!0})})),a()(this,"updateAPIKeyControl",(e=>{this.setState({apiKeyControl:e.target.value})})),a()(this,"updateAPIKey",(()=>{const{noticeOperations:e}=this.props,{apiKeyControl:t}=this.state;e.removeAllNotices(),t&&this.apiCall(t,"POST")})),a()(this,"removeAPIKey",(()=>{this.apiCall(null,"DELETE")})),a()(this,"onError",((e,t)=>{const{noticeOperations:n}=this.props;n.removeAllNotices(),n.createErrorNotice(t)})),a()(this,"onMapResize",((e,t,n,r)=>{const{onResizeStop:a,setAttributes:o}=this.props;a();o({mapHeight:parseInt(this.mapRef.current.mapRef.current.offsetHeight+r.height,10)}),setTimeout(this.mapRef.current.sizeMap,0)})),this.state={addPointVisibility:!1,apiState:0},this.mapRef=(0,o.createRef)()}apiCall(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise(((n,r)=>{const{noticeOperations:a}=this.props,o="/wpcom/v2/service-api-keys/mapbox",i=e?{path:o,method:t,data:{service_api_key:e}}:{path:o,method:t};this.setState({apiRequestOutstanding:!0},(()=>{s()(i).then((e=>{let{service_api_key:t,service_api_key_source:r}=e;a.removeAllNotices();const o=t?2:1,i="wpcom"===r?"":t;this.setState({apiState:o,apiKey:t,apiKeyControl:i,apiKeySource:r,apiRequestOutstanding:!1}),n()}),(e=>{let{message:t}=e;this.onError(null,t),this.setState({apiState:1,apiRequestOutstanding:!1}),r()}))}))}))}componentDidMount(){this.apiCall().then((()=>{this.props.attributes?.address&&this.geoCodeAddress(this.props.attributes?.address,this.state.apiKey)}))}render(){const{className:e,setAttributes:t,attributes:n,noticeUI:r,notices:a,isSelected:i,instanceId:s,onResizeStart:l}=this.props,{mapDetails:g,points:b,zoom:v,mapCenter:E,markerColor:w,preview:_,mapHeight:C,showFullscreenButton:x}=n,{addPointVisibility:j,apiKey:S,apiKeyControl:A,apiState:N,apiRequestOutstanding:T}=this.state,P=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setPointVisibility:this.setPointVisibility,context:"toolbar",mapRef:this.mapRef})),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setState:this.setState,mapRef:this.mapRef,instanceId:s,minHeight:400,removeAPIKey:this.removeAPIKey,updateAPIKey:this.updateAPIKey}))),M=(0,o.createElement)(c.Placeholder,{icon:h.X.icon},(0,o.createElement)(c.Spinner,null)),I=(0,o.createElement)(o.Fragment,null,__("To use the map block, you need an Access Token.","jetpack"),(0,o.createElement)("br",null),(0,o.createElement)(c.ExternalLink,{href:"https://www.mapbox.com"},__("Create an account or log in to Mapbox.","jetpack")),(0,o.createElement)("br",null),__("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),R=(0,o.createElement)(c.Placeholder,{icon:h.X.icon,label:__("Map","jetpack"),notices:a,instructions:I},(0,o.createElement)(o.Fragment,null,(0,o.createElement)("form",null,(0,o.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:T,placeholder:__("Paste Token Here","jetpack"),value:A,onChange:this.updateAPIKeyControl}),(0,o.createElement)(c.Button,{isSecondary:!0,disabled:T||!A||A.length<1,onClick:this.updateAPIKey},__("Set Token","jetpack"))))),L=i&&b.length<=1,B=(0,k.t)(h.X.styles,n.className),F=(0,o.createElement)(o.Fragment,null,P,(0,o.createElement)("div",{className:e},(0,o.createElement)(c.ResizableBox,{size:{height:C||"auto",width:"100%"},grid:[10,10],showHandle:i,minHeight:400,enable:y,onResizeStart:l,onResizeStop:this.onMapResize},(0,o.createElement)("div",{className:"wp-block-jetpack-map__map_wrapper"},(0,o.createElement)(d.Z,{ref:this.mapRef,scrollToZoom:L,showFullscreenButton:x,mapStyle:B||"default",mapDetails:g,mapHeight:C,points:b,zoom:v,mapCenter:E,markerColor:w,onSetZoom:e=>{t({zoom:e})},admin:!0,apiKey:S,onSetPoints:e=>t({points:e}),onSetMapCenter:e=>t({mapCenter:e}),onMapLoaded:()=>this.setState({addPointVisibility:!b.length}),onMarkerClick:()=>this.setState({addPointVisibility:!1}),onError:this.onError},i&&j&&(0,o.createElement)(p.Z,{onAddPoint:this.addPoint,onClose:()=>this.setState({addPointVisibility:!1}),apiKey:S,onError:this.onError,tagName:"AddPoint"})))))),Z=h.X.styles.find((e=>e.name===B)),D=(0,o.createElement)("div",null,(0,o.createElement)("img",{alt:__("Map Preview","jetpack"),src:Z?Z.preview:f}));return(0,o.createElement)(o.Fragment,null,r,_&&D,!_&&0===N&&M,!_&&1===N&&R,!_&&2===N&&F)}}t.Z=(0,g.compose)([c.withNotices,(0,b.withDispatch)((e=>{const{toggleSelection:t}=e("core/block-editor");return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}))])(E)},14499:function(e,t,n){"use strict";function r(e,t){return fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(e)}.json?access_token=${encodeURIComponent(t)}`).then((e=>e.json()))}n.d(t,{P:function(){return r}})},92828:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(17885),a=n(70312),o=n(18156),i=n(86124),s=n(91576),l=n(57535);const{name:c}=r.X,u={title:r.X.title,icon:{src:r.X.icon,foreground:(0,l.m)()},category:r.X.category,keywords:r.X.keywords,description:r.X.description,attributes:r.X.attributes,supports:r.X.supports,styles:r.X.styles,getEditWrapperProps(e){const{align:t}=e;if(-1!==r.X.validAlignments.indexOf(t))return{"data-align":t}},edit:a.Z,save:o.Z,example:r.X.example,deprecated:[s.Z,i.Z]}},77714:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307);class i extends o.Component{constructor(){super(...arguments),a()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,o.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}i.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=i},1595:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(95319);const c=(0,i.__)("Add a marker…","jetpack");class u extends o.Component{constructor(){super(...arguments),a()(this,"getOptionCompletion",(e=>{const{value:t}=e,n={placeTitle:t.text,title:t.text,caption:t.place_name,id:t.id,coordinates:{longitude:t.geometry.coordinates[0],latitude:t.geometry.coordinates[1]}};return this.props.onAddPoint(n),t.text})),a()(this,"search",(e=>{const{apiKey:t,onError:n}=this.props,r="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(e)+".json?access_token="+t;return new Promise((function(e,t){const a=new XMLHttpRequest;a.open("GET",r),a.onload=function(){if(200===a.status){const t=JSON.parse(a.responseText);e(t.features)}else{const e=JSON.parse(a.responseText);n(e.statusText,e.responseJSON.message),t(new Error("Mapbox Places Error"))}},a.send()}))})),a()(this,"onReset",(()=>{this.textRef.current.value=null})),this.textRef=(0,o.createRef)(),this.containerRef=(0,o.createRef)(),this.state={isEmpty:!0},this.autocompleter={name:"placeSearch",options:this.search,isDebounced:!0,getOptionLabel:e=>(0,o.createElement)("span",null,e.place_name),getOptionKeywords:e=>[e.place_name],getOptionCompletion:this.getOptionCompletion}}componentDidMount(){setTimeout((()=>{this.containerRef.current.querySelector("input").focus()}),50)}render(){const{label:e}=this.props;return(0,o.createElement)("div",{ref:this.containerRef},(0,o.createElement)(s.BaseControl,{label:e,className:"components-location-search"},(0,o.createElement)(l.Z,{completer:this.autocompleter,onReset:this.onReset},(e=>{let{isExpanded:t,listBoxId:n,activeId:r,onChange:a,onKeyDown:i}=e;return(0,o.createElement)(s.TextControl,{placeholder:c,ref:this.textRef,onChange:a,"aria-expanded":t,"aria-owns":n,"aria-activedescendant":r,onKeyDown:i})}))))}}u.defaultProps={onError:()=>{}},t.Z=u},41626:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(55609);class s extends o.Component{constructor(){super(...arguments),a()(this,"onDeletePoint",(e=>{const t=parseInt(e.target.getAttribute("data-id")),{points:n,onChange:r}=this.props,a=n.slice(0);a.splice(t,1),r(a)})),this.state={selectedCell:null}}setMarkerField(e,t,n){const{points:r,onChange:a}=this.props,o=r.slice(0);o[n][e]=t,a(o)}render(){const{points:e}=this.props,t=e.map(((e,t)=>(0,o.createElement)(i.PanelBody,{title:e.placeTitle,key:e.id,initialOpen:!1},(0,o.createElement)(i.TextControl,{label:"Marker Title",value:e.title,onChange:e=>this.setMarkerField("title",e,t)}),(0,o.createElement)(i.TextareaControl,{label:"Marker Caption",value:e.caption,rows:"3",onChange:e=>this.setMarkerField("caption",e,t)}),(0,o.createElement)(i.Button,{"data-id":t,onClick:this.onDeletePoint,className:"component__locations__delete-btn"},(0,o.createElement)(i.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))));return(0,o.createElement)("div",{className:"component__locations"},(0,o.createElement)(i.Panel,{className:"component__locations__panel"},t))}}s.defaultProps={points:Object.freeze([]),onChange:()=>{}},t.Z=s},95319:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(55609),u=n(92819),p=n(39630),d=n(94333);const __=l.__,_n=l._n;function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;const n=[];for(let r=0;r<e.length;r++){const a=e[r];let{keywords:o=[]}=a;if("string"==typeof a.label&&(o=[...o,a.label]),n.push(a),n.length===t)break}return n}class h extends o.Component{static getInitialState(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}constructor(){super(...arguments),a()(this,"select",(e=>{const{completer:t}=this.props;(t.getOptionCompletion||{})(e),this.reset()})),a()(this,"reset",(()=>{this.setState(this.constructor.getInitialState())})),a()(this,"onChange",(e=>{const{completer:t}=this.props,{options:n}=this.state;if(!e)return void this.reset();t&&(t.isDebounced?this.debouncedLoadOptions(t,e):this.loadOptions(t,e));const r=t?m(n):[];t&&this.setState({selectedIndex:0,filteredOptions:r,query:e})})),a()(this,"onKeyDown",(e=>{const{isOpen:t,selectedIndex:n,filteredOptions:r}=this.state;if(!t)return;let a;switch(e.keyCode){case p.UP:a=(0===n?r.length:n)-1,this.setState({selectedIndex:a});break;case p.DOWN:a=(n+1)%r.length,this.setState({selectedIndex:a});break;case p.ENTER:this.select(r[n]);break;case p.LEFT:case p.RIGHT:case p.ESCAPE:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()})),this.debouncedLoadOptions=(0,u.debounce)(this.loadOptions,250),this.state=this.constructor.getInitialState()}componentWillUnmount(){this.debouncedLoadOptions.cancel()}handleFocusOutside(){this.reset()}loadOptions(e,t){const{options:n}=e,r=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then((t=>{if(r!==this.activePromise)return;const n=t.map(((t,n)=>({key:`${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}))),a=m(n),o=a.length===this.state.filteredOptions.length?this.state.selectedIndex:0;this.setState({options:n,filteredOptions:a,selectedIndex:o,isOpen:a.length>0}),this.announce(a)}))}announce(e){const{debouncedSpeak:t}=this.props;t&&(e.length?t((0,l.sprintf)(
+_n("There is currently only %s post in your Instagram account.","There are currently only %s posts in your Instagram account.",t,"jetpack"),t):__("There are currently no posts in your Instagram account.","jetpack");return(0,r.createElement)("div",{className:"wp-block-jetpack-instagram-gallery__count-notice"},(0,r.createElement)(a.Notice,{isDismissible:!1,status:"info"},e))})():null,(0,r.createElement)(a.RangeControl,{label:__("Number of Posts","jetpack"),value:m,onChange:e=>u({count:e}),min:1,max:i.u}),(0,r.createElement)(a.RangeControl,{label:__("Number of Columns","jetpack"),value:d,onChange:e=>u({columns:e}),min:1,max:6}),(0,r.createElement)(a.RangeControl,{label:__("Image Spacing (px)","jetpack"),value:g,onChange:e=>u({spacing:e}),min:0,max:50}),(0,r.createElement)(a.ToggleControl,{label:__("Stack on mobile","jetpack"),checked:f,onChange:()=>u({isStackedOnMobile:!f})})))}},36420:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(8979),p=n(696),d=n(4554),m=n(79236),h=n(2681),f=n(75412),g=n(44961),b=n(35089),v=n(64129);const __=c.__;t.Z=(0,l.withNotices)((e=>{const{attributes:t,className:n,isSelected:a,noticeOperations:c,noticeUI:k,setAttributes:y}=e,{accessToken:E,align:w,columns:_,count:C,isStackedOnMobile:x,spacing:j}=t;(0,r.useEffect)((()=>{const e=(0,d.S)(u.Z,t);(0,i.isEqual)(e,t)||y(e)}),[t,y]);const[S,A]=(0,r.useState)(E),{isRequestingWpcomConnectUrl:P,wpcomConnectUrl:N}=(0,h.Z)(),{images:T,isLoadingGallery:R,setImages:M}=(0,f.Z)({accessToken:E,noticeOperations:c,setAttributes:y,setSelectedAccount:A}),{connectToService:I,disconnectFromService:L,isConnecting:D,isRequestingUserConnections:F,userConnections:B}=(0,m.Z)({accessToken:E,noticeOperations:c,selectedAccount:S,setAttributes:y,setImages:M,setSelectedAccount:A}),Z=(0,b.Z)(),O=C>T.length?T.length:C,z=!R&&(!E||(0,i.isEmpty)(T)),U=!z,$=E&&R&&(0,i.isEmpty)(T),q=!z&&!$,V=o()(n,{[`align${w}`]:w}),H=o()("wp-block-jetpack-instagram-gallery__grid",`wp-block-jetpack-instagram-gallery__grid-columns-${_}`,{"is-stacked-on-mobile":x}),G={gridGap:j,"--latest-instagram-posts-spacing":j?`${j}px`:void 0},W={padding:j},K=()=>{S&&p.D!==S?y({accessToken:S,instagramUser:(0,i.find)(B,{token:S}).username}):I()};return(0,r.createElement)("div",{className:V},z&&(0,r.createElement)(l.Placeholder,{icon:"instagram",instructions:Z?F||B.length?void 0:__("Connect to Instagram to start sharing your images.","jetpack"):__("First, you'll need to connect your WordPress.com account.","jetpack"),label:__("Latest Instagram Posts","jetpack"),notices:k},Z?(()=>{const e=B.length>0,t=[...(0,i.map)(B,(e=>({label:`@${e.username}`,value:e.token}))),{label:__("Add a new account","jetpack"),value:p.D}],n=D||F||e&&!S;return(0,r.createElement)("div",null,e&&(0,r.createElement)(l.RadioControl,{label:__("Select your Instagram account:","jetpack"),onChange:e=>A(e),options:t,selected:S}),p.D===S&&(0,r.createElement)("p",{className:"wp-block-jetpack-instagram-gallery__new-account-instructions"},__("If you are currently logged in to Instagram on this device, you might need to log out of it first.","jetpack")),(0,r.createElement)(l.Button,{disabled:n,variant:"primary",onClick:K},D&&__("Connecting…","jetpack"),F&&__("Loading your connections…","jetpack"),!D&&!F&&__("Connect to Instagram","jetpack")))})():(0,r.createElement)(l.Button,{disabled:P||!N,href:N,variant:"secondary"},__("Connect to WordPress.com","jetpack"))),$&&(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(l.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack"))),q&&(0,r.createElement)("div",{className:H,style:G},(0,i.times)(a?C:O,(e=>(0,r.createElement)("span",{className:o()("wp-block-jetpack-instagram-gallery__grid-post"),key:e,style:W},(e=>{if(T[e]){const n=T[e];return(0,r.createElement)(g.Z,{alt:n.title||n.url,src:n.url,attributes:t,spacing:j})}return(0,r.createElement)("img",{alt:__("Latest Instagram Posts placeholder","jetpack"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNMyc2tBwAEOgG/c94mJwAAAABJRU5ErkJggg=="})})(e))))),U&&(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(v.Z,{accountImageTotal:T.length,attributes:t,currentUserConnected:Z,disconnectFromService:L,shouldRenderSidebarNotice:U&&!$&&T.length<C,setAttributes:y})))}))},44961:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{src:t,alt:n,spacing:a}=e;const[i,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)("auto"),u=(0,r.useRef)(),p=()=>{s(!0),c("auto")};(0,r.useEffect)((()=>{const e=t;if(e){const t=new window.Image;t.src=e,t.onload=p}u.current&&c(u.current.parentNode.getBoundingClientRect().width)}),[t]);const d=-1*a,m=o()("wp-block-jetpack-instagram-gallery__placeholder",{"is-loaded":i}),h=i?{margin:d}:{margin:d,height:l},f=o()({"is-loaded":i});return(0,r.createElement)("span",{style:h,className:m},(0,r.createElement)("img",{alt:n,className:f,ref:u,src:t}))}},78544:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(4981),i=n(8979),s=n(36420),l=n(70355);const __=a.__,_x=a._x,c="instagram-gallery",u={title:__("Latest Instagram Posts","jetpack"),description:__("Display an automatically updating list of the latest posts from your Instagram feed.","jetpack"),icon:{src:"instagram",foreground:(0,l.m)()},category:"embed",keywords:[_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack")],supports:{align:!0,html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"wpcom_instagram_widget"===t},transform:e=>{let{instance:t}=e;return(0,o.createBlock)("jetpack/instagram-gallery",{columns:t.raw.columns,count:t.raw.count,accessToken:t.raw.token_id})}}]},attributes:i.Z,edit:s.Z,save:e=>{let{attributes:{instagramUser:t}}=e;return t&&(0,r.createElement)("div",null,(0,r.createElement)("a",{href:`https://www.instagram.com/${t}/`,rel:"noopener noreferrer",target:"_blank"},`https://www.instagram.com/${t}/`))}}},79236:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7211),a=n(92819),o=n(86989),i=n.n(o),s=n(69307),l=n(65736),c=n(696),u=n(35089);const __=l.__;function p(e){let{accessToken:t,noticeOperations:n,selectedAccount:o,setAttributes:l,setImages:p,setSelectedAccount:d}=e;const[m,h]=(0,s.useState)(!1),[f,g]=(0,s.useState)(!1),[b,v]=(0,s.useState)([]),k=(0,u.Z)();(0,s.useEffect)((()=>{!t&&k&&(g(!0),i()({path:"/wpcom/v2/instagram-gallery/connections"}).then((e=>{g(!1),v(e)})).catch((()=>{g(!1),v([])})))}),[t,k]),(0,s.useEffect)((()=>{c.D===o||(0,a.find)(b,{token:o})||d(void 0)}),[o,d,b]);return{connectToService:()=>{n.removeAllNotices(),h(!0),i()({path:"/wpcom/v2/instagram-gallery/connect-url"}).then((e=>{const t=new r.Z;t.open(e,"connect-to-instagram-popup","toolbar=0,location=0,menubar=0,"+t.getScreenCenterSpecs(700,700)),t.on("message",(e=>{let{keyring_id:t}=e;if(h(!1),t){const e=t.toString();l({accessToken:e}),d(e)}})),t.on("close",(e=>{"connect-to-instagram-popup"===e&&h(!1)}))})).catch((()=>{n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),h(!1)}))},disconnectFromService:()=>{n.removeAllNotices(),l({accessToken:void 0,instagramUser:void 0}),p([])},isConnecting:m,isRequestingUserConnections:f,userConnections:b}}},2681:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(86989),a=n.n(r),o=n(9818),i=n(69307),s=n(96483),l=n(35089);function c(){const{isAutoDraft:e}=(0,o.useSelect)((e=>{const{status:t}=e("core/editor").getCurrentPost();return{isAutoDraft:"auto-draft"===t}})),{savePost:t}=(0,o.useDispatch)("core/editor"),[n,r]=(0,i.useState)(),[c,u]=(0,i.useState)(!1),p=(0,l.Z)();return(0,i.useEffect)((()=>{p||n||c||(e?t():(u(!0),a()({path:(0,s.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((e=>{r(e),u(!1)}))))}),[p,e,c,t,n]),{isRequestingWpcomConnectUrl:c,wpcomConnectUrl:n}}},75412:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(696);const __=s.__;function u(e){let{accessToken:t,noticeOperations:n,setAttributes:a,setSelectedAccount:s}=e;const[u,p]=(0,i.useState)([]),[d,m]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{t&&(n.removeAllNotices(),m(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/instagram-gallery/gallery",{access_token:t,count:c.u})}).then((e=>{let{external_name:t,images:o}=e;if(m(!1),!o||!(0,r.isArray)(o))return n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),p([]),a({accessToken:void 0,instagramUser:void 0}),void s(void 0);(0,r.isEmpty)(o)&&n.createErrorNotice(__("No images were found in your Instagram account.","jetpack")),a({instagramUser:t}),p(o)})).catch((()=>{m(!1),p([]),a({accessToken:void 0,instagramUser:void 0}),s(void 0)})))}),[t,a,s]),{images:u,isLoadingGallery:d,setImages:p}}},64968:function(e,t,n){"use strict";n.d(t,{Cw:function(){return o},N3:function(){return r},sf:function(){return a}});const r="processing",a="success",o="error"},84038:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(24535),s=n(64968);const __=a.__;function l(e){let{auditionNotification:t,clearAudition:n,setAttributes:a,emailPlaceholder:l,processingLabel:c,successLabel:u,errorLabel:p,interests:d,signupFieldTag:m,signupFieldValue:h,connectURL:f}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Text Elements","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Email Placeholder","jetpack"),value:l,onChange:e=>{a({emailPlaceholder:e}),n()}})),(0,r.createElement)(o.PanelBody,{title:__("Notifications","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Processing text","jetpack"),value:c,onChange:e=>{a({processingLabel:e}),t(s.N3)}}),(0,r.createElement)(o.TextControl,{label:__("Success text","jetpack"),value:u,onChange:e=>{a({successLabel:e}),t(s.sf)}}),(0,r.createElement)(o.TextControl,{label:__("Error text","jetpack"),value:p,onChange:e=>{a({errorLabel:e}),t(s.Cw)}})),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Groups","jetpack")},(0,r.createElement)(i.Z,{interests:d,onChange:(e,t)=>{const n=[...new Set([...d,e])].filter((n=>!(n===e&&!t)&&n));a({interests:n})}}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},__("Learn about groups","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Signup Location Tracking","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Signup Field Tag","jetpack"),placeholder:__("SIGNUP","jetpack"),value:m,onChange:e=>a({signupFieldTag:e})}),(0,r.createElement)(o.TextControl,{label:__("Signup Field Value","jetpack"),placeholder:__("website","jetpack"),value:h,onChange:e=>a({signupFieldValue:e})}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},__("Learn about signup location tracking","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Connection","jetpack")},(0,r.createElement)(o.ExternalLink,{href:f},__("Manage Connection","jetpack"))))}},748:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=["submitButtonText","backgroundButtonColor","textButtonColor","submitButtonClasses","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},submitButtonText:{type:"string",default:__("Join my email list","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},submitButtonClasses:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},migrate:e=>{const t=(0,r.omit)(e,i),n={text:(o=e).submitButtonText||__("Join my email list","jetpack"),textColor:o.textButtonColor,customTextColor:o.customTextButtonColor,backgroundColor:o.backgroundButtonColor,customBackgroundColor:o.customBackgroundButtonColor};var o;return[t,[(0,a.createBlock)("jetpack/button",{element:"button",uniqueId:"mailchimp-widget-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,i),Boolean),save:()=>null}},43818:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65235),c=n.n(l),u=n(65736),p=n(96483),d=n(55609),m=n(52175),h=n(4495),f=n(84038),g=n(35089),b=n(64968);const __=u.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e=(0,g.Z)();if(e){const t={path:"/wpcom/v2/mailchimp",method:"GET"};s()(t).then((t=>{const n=t.connect_url,r="connected"===t.code?1:2;this.setState({currentUserConnected:e,connected:r,connectURL:n})}),(t=>{this.setState({currentUserConnected:e,connected:2,connectURL:null}),this.onError(t.message)}))}else s()({path:(0,p.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((t=>{const n=t;this.setState({currentUserConnected:e,connected:2,connectURL:n})}))})),a()(this,"auditionNotification",(e=>{this.setState({audition:e}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.clearAudition,3e3)})),a()(this,"clearAudition",(()=>{this.setState({audition:null})})),a()(this,"labelForAuditionType",(e=>{const{attributes:t}=this.props,{processingLabel:n,successLabel:r,errorLabel:a}=t;return e===b.N3?n:e===b.sf?r:e===b.Cw?a:null})),a()(this,"roleForAuditionType",(e=>e===b.Cw?"alert":"status")),a()(this,"render",(()=>{const{attributes:e,className:t,notices:n,noticeUI:r,setAttributes:a}=this.props,{audition:i,connected:s,connectURL:l,currentUserConnected:u}=this.state,{emailPlaceholder:p,consentText:g,interests:b,processingLabel:v,successLabel:k,errorLabel:y,preview:E,signupFieldTag:w,signupFieldValue:_}=e,C="wp-block-jetpack-mailchimp",x=(0,o.createElement)(d.Placeholder,{icon:h.qv,notices:n},(0,o.createElement)(d.Spinner,null)),j=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("You need to connect your Mailchimp account and choose an audience in order to start collecting Email subscribers.","jetpack")},(0,o.createElement)(d.Button,{variant:"secondary",href:l,target:"_blank"},__("Set up Mailchimp form","jetpack")),(0,o.createElement)("div",{className:`${C}-recheck`},(0,o.createElement)(d.Button,{variant:"link",onClick:this.apiCall},__("Re-check Connection","jetpack")))),S=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("First, you'll need to connect your WordPress.com account.","jetpack")},(0,o.createElement)(d.Button,{variant:"secondary",href:l},__("Connect to WordPress.com","jetpack"))),A=(0,o.createElement)(m.InspectorControls,null,(0,o.createElement)(f.Q,{auditionNotification:this.auditionNotification,clearAudition:this.clearAudition,emailPlaceholder:p,processingLabel:v,successLabel:k,errorLabel:y,interests:b,setAttributes:this.props.setAttributes,signupFieldTag:w,signupFieldValue:_,connectURL:l})),P=c()(t,{[`${C}_notication-audition`]:i}),N=(0,o.createElement)("div",{className:P},(0,o.createElement)(d.TextControl,{"aria-label":p,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:()=>!1,placeholder:p,title:__("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),(0,o.createElement)(m.InnerBlocks,{template:[[h.Ss.name,h.Ss.attributes]],templateLock:"all"}),(0,o.createElement)(m.RichText,{tagName:"p",placeholder:__("Write consent text","jetpack"),value:g,onChange:e=>a({consentText:e}),inlineToolbar:!0}),i&&(0,o.createElement)("div",{className:`${C}_notification ${C}_${i}`,role:this.roleForAuditionType(i)},this.labelForAuditionType(i))),T=N;return(0,o.createElement)(o.Fragment,null,r,E&&T,!E&&0===s&&x,!E&&2===s&&u&&j,!E&&2===s&&!u&&S,!E&&1===s&&A,!E&&1===s&&N)})),this.state={audition:null,connected:0,connectURL:null,currentUserConnected:null},this.timeout=null}}t.Z=(0,d.withNotices)(v)},4495:function(e,t,n){"use strict";n.d(t,{Ss:function(){return d},Xd:function(){return m},qv:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(748),l=n(43818),c=n(70355);const __=a.__,_x=a._x,u="mailchimp",p=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(i.G,{transform:"translate(-45.478101,-100.73059)"},(0,r.createElement)(i.G,{transform:"matrix(0.26458333,0,0,0.26458333,15.6741,59.72)"},(0,r.createElement)(i.Path,{d:"m 176.433,197.529 c 0.657,-0.078 1.286,-0.082 1.865,0 0.335,-0.768 0.392,-2.091 0.091,-3.532 -0.447,-2.142 -1.053,-3.438 -2.305,-3.236 -1.252,0.202 -1.298,1.754 -0.85,3.895 0.252,1.205 0.7,2.235 1.199,2.873"}),(0,r.createElement)(i.Path,{d:"m 165.688,199.224 c 0.895,0.393 1.446,0.654 1.661,0.426 0.139,-0.142 0.097,-0.413 -0.117,-0.762 -0.442,-0.721 -1.351,-1.453 -2.316,-1.864 -1.972,-0.849 -4.325,-0.567 -6.14,0.737 -0.599,0.439 -1.167,1.047 -1.086,1.416 0.026,0.119 0.116,0.209 0.326,0.239 0.494,0.056 2.22,-0.816 4.209,-0.938 1.403,-0.086 2.566,0.353 3.462,0.746"}),(0,r.createElement)(i.Path,{d:"m 163.887,200.252 c -1.167,0.184 -1.81,0.569 -2.223,0.926 -0.352,0.308 -0.57,0.649 -0.568,0.888 0.001,0.114 0.05,0.18 0.089,0.213 0.053,0.047 0.116,0.073 0.192,0.073 0.263,0 0.854,-0.237 0.854,-0.237 1.623,-0.581 2.694,-0.51 3.755,-0.39 0.586,0.066 0.864,0.102 0.992,-0.099 0.038,-0.058 0.084,-0.183 -0.033,-0.373 -0.273,-0.443 -1.451,-1.192 -3.057,-1.001"}),(0,r.createElement)(i.Path,{d:"m 172.805,204.025 c 0.792,0.389 1.664,0.236 1.948,-0.341 0.284,-0.577 -0.128,-1.361 -0.92,-1.75 -0.792,-0.389 -1.664,-0.236 -1.948,0.341 -0.284,0.578 0.128,1.361 0.92,1.75"}),(0,r.createElement)(i.Path,{d:"m 177.896,199.576 c -0.643,-0.011 -1.177,0.695 -1.192,1.578 -0.015,0.883 0.495,1.606 1.138,1.617 0.643,0.011 1.177,-0.695 1.192,-1.578 0.015,-0.882 -0.495,-1.606 -1.138,-1.617"}),(0,r.createElement)(i.Path,{d:"m 134.683,215.485 c -0.16,-0.201 -0.423,-0.14 -0.678,-0.08 -0.178,0.042 -0.379,0.088 -0.6,0.085 -0.473,-0.009 -0.874,-0.211 -1.099,-0.557 -0.293,-0.45 -0.276,-1.121 0.047,-1.889 l 0.151,-0.344 c 0.516,-1.158 1.379,-3.095 0.41,-4.941 -0.73,-1.39 -1.92,-2.255 -3.351,-2.437 -1.374,-0.174 -2.788,0.335 -3.69,1.33 -1.423,1.57 -1.646,3.707 -1.371,4.462 0.101,0.276 0.259,0.353 0.373,0.369 0.242,0.032 0.6,-0.144 0.824,-0.747 l 0.064,-0.196 c 0.1,-0.319 0.286,-0.913 0.591,-1.389 0.368,-0.574 0.94,-0.969 1.612,-1.114 0.684,-0.147 1.384,-0.016 1.97,0.368 0.997,0.652 1.381,1.874 0.955,3.039 -0.22,0.603 -0.578,1.756 -0.499,2.703 0.16,1.917 1.339,2.687 2.398,2.769 1.03,0.039 1.75,-0.54 1.932,-0.962 0.107,-0.25 0.017,-0.402 -0.042,-0.467"}),(0,r.createElement)(i.Path,{d:"m 144.475,180.275 c 3.36,-3.882 7.495,-7.257 11.2,-9.152 0.128,-0.066 0.264,0.073 0.195,0.199 -0.294,0.533 -0.861,1.674 -1.04,2.539 -0.028,0.135 0.119,0.236 0.233,0.159 2.305,-1.571 6.314,-3.255 9.831,-3.471 0.151,-0.009 0.224,0.184 0.104,0.277 -0.535,0.41 -1.12,0.978 -1.547,1.552 -0.073,0.098 -0.004,0.238 0.118,0.239 2.469,0.018 5.95,0.882 8.219,2.155 0.153,0.086 0.044,0.383 -0.128,0.344 -3.433,-0.787 -9.052,-1.384 -14.89,0.04 -5.211,1.271 -9.189,3.234 -12.09,5.344 -0.147,0.107 -0.323,-0.087 -0.204,-0.224 z m 16.732,37.612 0.001,0.002 0.002,0.004 z m 13.854,1.635 c 0.1,-0.042 0.168,-0.155 0.157,-0.268 -0.014,-0.139 -0.138,-0.24 -0.277,-0.226 0,0 -7.169,1.061 -13.942,-1.418 0.738,-2.398 2.699,-1.532 5.664,-1.293 5.344,0.319 10.134,-0.462 13.674,-1.478 3.067,-0.88 7.096,-2.616 10.225,-5.086 1.055,2.318 1.428,4.87 1.428,4.87 0,0 0.817,-0.146 1.5,0.274 0.645,0.397 1.118,1.222 0.795,3.356 -0.658,3.986 -2.352,7.222 -5.2,10.199 -1.734,1.866 -3.838,3.488 -6.246,4.668 -1.279,0.672 -2.64,1.253 -4.079,1.722 -10.736,3.507 -21.726,-0.348 -25.268,-8.626 -0.283,-0.622 -0.522,-1.274 -0.71,-1.955 -1.509,-5.455 -0.228,-12 3.778,-16.12 v -0.002 c 0.247,-0.262 0.499,-0.571 0.499,-0.96 0,-0.325 -0.207,-0.668 -0.386,-0.912 -1.402,-2.033 -6.257,-5.497 -5.282,-12.201 0.7,-4.816 4.912,-8.208 8.839,-8.007 l 0.995,0.057 c 1.702,0.101 3.186,0.319 4.587,0.378 2.345,0.102 4.453,-0.239 6.951,-2.32 0.842,-0.702 1.518,-1.311 2.661,-1.504 0.12,-0.021 0.419,-0.128 1.016,-0.1 0.61,0.033 1.19,0.2 1.711,0.547 2.002,1.332 2.286,4.559 2.39,6.919 0.059,1.347 0.222,4.607 0.278,5.543 0.127,2.14 0.69,2.441 1.828,2.816 0.64,0.211 1.234,0.368 2.11,0.614 2.65,0.744 4.221,1.499 5.212,2.469 0.591,0.606 0.866,1.25 0.951,1.864 0.312,2.28 -1.77,5.096 -7.283,7.655 -6.026,2.797 -13.337,3.505 -18.388,2.942 l -1.77,-0.2 c -4.04,-0.544 -6.345,4.677 -3.92,8.255 1.563,2.306 5.82,3.806 10.079,3.807 9.765,0.001 17.271,-4.169 20.063,-7.77 l 0.223,-0.318 c 0.138,-0.207 0.024,-0.321 -0.147,-0.204 -2.281,1.561 -12.413,7.758 -23.251,5.893 0,0 -1.317,-0.217 -2.519,-0.684 -0.955,-0.372 -2.955,-1.292 -3.198,-3.343 8.746,2.705 14.253,0.148 14.253,0.148 z m -48.039,-20.785 c -3.042,0.591 -5.723,2.315 -7.362,4.697 -0.98,-0.817 -2.805,-2.399 -3.128,-3.016 -2.617,-4.97 2.856,-14.632 6.68,-20.089 9.45,-13.485 24.25,-23.692 31.101,-21.84 1.114,0.315 4.803,4.592 4.803,4.592 0,0 -6.849,3.8 -13.2,9.097 -8.558,6.589 -15.022,16.166 -18.895,26.559 z m 5.111,22.805 c -0.46,0.079 -0.93,0.11 -1.404,0.098 -4.577,-0.123 -9.52,-4.243 -10.011,-9.129 -0.543,-5.401 2.217,-9.557 7.103,-10.543 0.584,-0.118 1.29,-0.186 2.051,-0.146 2.738,0.15 6.772,2.252 7.693,8.216 0.816,5.282 -0.48,10.659 -5.432,11.503 z m 61.996,-9.564 c -0.039,-0.139 -0.295,-1.072 -0.646,-2.197 -0.351,-1.126 -0.714,-1.917 -0.714,-1.917 1.408,-2.107 1.433,-3.992 1.245,-5.059 -0.2,-1.323 -0.751,-2.45 -1.861,-3.616 -1.11,-1.165 -3.381,-2.359 -6.572,-3.255 l -1.674,-0.465 c -0.008,-0.069 -0.088,-3.947 -0.16,-5.612 -0.053,-1.204 -0.156,-3.083 -0.739,-4.933 -0.695,-2.505 -1.905,-4.697 -3.416,-6.099 4.17,-4.322 6.773,-9.084 6.766,-13.168 -0.012,-7.855 -9.659,-10.232 -21.548,-5.309 l -2.519,1.069 c -0.011,-0.011 -4.554,-4.468 -4.622,-4.528 -13.555,-11.823 -55.935,35.284 -42.386,46.725 l 2.961,2.509 c -0.768,1.99 -1.07,4.27 -0.823,6.721 0.316,3.149 1.94,6.167 4.573,8.499 2.499,2.214 5.785,3.616 8.973,3.613 5.273,12.151 17.321,19.605 31.447,20.025 15.153,0.45 27.873,-6.66 33.203,-19.432 0.349,-0.896 1.828,-4.935 1.828,-8.501 0,-3.583 -2.026,-5.068 -3.316,-5.068"})))),d={name:"jetpack/button",attributes:{element:"button",text:__("Join my Mailchimp audience","jetpack"),uniqueId:"mailchimp-widget-id"}},m={title:__("Mailchimp","jetpack"),icon:{src:p,foreground:(0,c.m)()},description:__("A form enabling readers to join a Mailchimp audience.","jetpack"),category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack")],supports:{align:["wide","full"],color:{gradients:!0},spacing:{padding:!0,margin:!0}},attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:l.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null),example:{attributes:{preview:!0},innerBlocks:[d]},deprecated:[s.Z]}},24535:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(55609);class c extends o.Component{constructor(){super(...arguments),a()(this,"state",{interest_categories:[]}),a()(this,"retrieveGroups",(()=>{s()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((e=>{const{interest_categories:t}=e;this.setState({interest_categories:t})}))})),a()(this,"render",(()=>{const{interest_categories:e}=this.state,{interests:t,onChange:n}=this.props;return(0,o.createElement)(o.Fragment,null,e&&(e||[]).map((e=>e.interests.map((e=>(0,o.createElement)(l.CheckboxControl,{label:e.name,value:e.id,checked:t.includes(e.id),onChange:t=>n(e.id,t),key:e.id}))))))}))}componentDidMount(){this.retrieveGroups()}}t.Z=c,c.defaultProps={interests:[],onChange:()=>null}},2944:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(31852);const __=a.__;class s extends r.Component{render(){const{onClose:e,onAddPoint:t,onError:n,apiKey:a}=this.props;return(0,r.createElement)(o.Button,{className:"component__add-point"},__("Add marker","jetpack"),(0,r.createElement)(o.Popover,{className:"component__add-point__popover",position:"bottom center"},(0,r.createElement)(o.Button,{className:"component__add-point__close",onClick:e},(0,r.createElement)(o.Dashicon,{icon:"no"})),(0,r.createElement)(i.Z,{onAddPoint:t,label:__("Add a location","jetpack"),apiKey:a,onError:n})))}}s.defaultProps={onAddPoint:()=>{},onClose:()=>{},onError:()=>{}},t.Z=s},93846:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(55609),c=n(9262),u=n(82621),p=n(90055),d=n(85007),m=n(45388);const __=i.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),a()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),a()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),a()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:r}=n.props,a=t.slice(0);(0,s.assign)(a[r],e),this.props.onSetPoints(a)})),a()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,r=e.slice(0);r.splice(n,1),this.props.onSetPoints(r),this.setState({activeMarker:null})})),a()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,r=Math.min(e*(3/4),t);n.style.height=r+"px"}t.resize(),this.setBoundsByMarkers()})),a()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),a()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:r,zoom:a}=this.props,{map:o,activeMarker:i,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!o)return;if(r.length&&e?o.dragPan.disable():o.dragPan.enable(),!r.length)return;if(i)return;const u=new s.LngLatBounds;if(r.forEach((e=>{u.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(u.getCenter()),r.length>1){o.fitBounds(u,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{o.removeControl(l)}catch(e){}}else{if(o.setCenter(u.getCenter()),c){const e=12;o.setZoom(e),n(e)}else o.setZoom(parseInt(a,10));o.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),a()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),a()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,o.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:r}=this.props,{map:a,activeMarker:i,mapboxgl:p}=this.state,{onMarkerClick:d,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(i,"props.point")||{},{title:g,caption:b}=f,v=o.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),k=a&&p&&e.map(((e,t)=>(0,o.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:a,mapboxgl:p,markerColor:r,onClick:d}))),y=p&&(0,o.createElement)(u.Z,{activeMarker:i,map:a,mapboxgl:p,unsetActiveMarker:()=>this.setState({activeMarker:null})},i&&t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,o.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:b,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,o.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,o.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),i&&!t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h3",null,g),(0,o.createElement)("p",null,b)));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},k),y,v)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:r,points:a,mapStyle:o,mapDetails:i,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:u}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&i===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(u),t&&u._fullscreenButton&&(u._fullscreenButton.disabled=!0)):c.removeControl(u))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,p.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,d.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,d.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,d.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:r,onError:a,scrollToZoom:o,showFullscreenButton:i,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}o||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{a("mapbox_error",e.error.message)}));const u=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:u,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(u),i&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),r(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},53036:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(57897),l=n(82695);const __=a.__;t.Z=e=>{let{attributes:t,setAttributes:n,state:a,setState:c,context:u,mapRef:p,instanceId:d,minHeight:m,removeAPIKey:h,updateAPIKey:f,setPointVisibility:g}=e;const b=e=>{n({align:e}),setTimeout(p.current.sizeMap,0)};return"toolbar"===u?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockAlignmentToolbar,{value:t.align,onChange:b,controls:["center","wide","full"]}),(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:l.X.markerIcon,label:__("Add a marker","jetpack"),onClick:g}))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.PanelColorSettings,{title:__("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:t.markerColor,onChange:e=>n({markerColor:e}),label:__("Marker Color","jetpack")}]}),(0,r.createElement)(o.PanelBody,{title:__("Map Settings","jetpack")},(0,r.createElement)(o.BaseControl,{label:__("Height in pixels","jetpack"),id:`block-jetpack-map-height-input-${d}`},(0,r.createElement)("input",{type:"number",id:`block-jetpack-map-height-input-${d}`,className:"wp-block-jetpack-map__height_input",onChange:e=>{n({mapHeight:e.target.value}),e.target!==document.activeElement&&setTimeout(p.current.sizeMap,0)},onBlur:e=>{const{mapHeight:r}=t;let a=parseInt(e.target.value,10);isNaN(a)?a=null:null==r?a=p.current.mapRef.current.offsetHeight:a<m&&(a=m),n({mapHeight:a}),setTimeout(p.current.sizeMap,0)},value:t.mapHeight||"",min:m,step:"10"})),(0,r.createElement)(o.RangeControl,{label:__("Zoom level","jetpack"),help:t.points.length>1&&__("The default zoom level cannot be changed when there are two or more markers on the map.","jetpack"),disabled:t.points.length>1,value:t.zoom,onChange:e=>{n({zoom:e}),setTimeout(p.current.updateZoom,0)},min:0,max:22}),(0,r.createElement)(o.ToggleControl,{label:__("Show street names","jetpack"),checked:t.mapDetails,onChange:e=>n({mapDetails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Scroll to zoom","jetpack"),help:__("Allow the map to capture scrolling, and zoom in or out.","jetpack"),checked:t.scrollToZoom,onChange:e=>n({scrollToZoom:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Show Fullscreen Button","jetpack"),help:__("Allow your visitors to display the map in fullscreen.","jetpack"),checked:t.showFullscreenButton,onChange:e=>n({showFullscreenButton:e})})),t.points.length?(0,r.createElement)(o.PanelBody,{title:__("Markers","jetpack"),initialOpen:!1},(0,r.createElement)(s.Z,{points:t.points,onChange:e=>{n({points:e})}})):null,(0,r.createElement)(o.PanelBody,{title:__("Mapbox Access Token","jetpack"),initialOpen:!1},(0,r.createElement)(o.TextControl,{help:"wpcom"===a.apiKeySource&&(0,r.createElement)(r.Fragment,null,__("You can optionally enter your own access token.","jetpack")," ",(0,r.createElement)(o.ExternalLink,{href:"https://account.mapbox.com/access-tokens/"},__("Find it on Mapbox","jetpack"))),label:__("Mapbox Access Token","jetpack"),value:a.apiKeyControl,onChange:e=>c({apiKeyControl:e})}),(0,r.createElement)(o.ButtonGroup,null,(0,r.createElement)(o.Button,{type:"button",onClick:f,disabled:!a.apiKeyControl||a.apiKeyControl===a.apiKey},__("Update Token","jetpack")),(0,r.createElement)(o.Button,{type:"button",onClick:h,disabled:"wpcom"===a.apiKeySource,variant:"secondary"},__("Remove Token","jetpack")))))}},55109:function(e,t,n){"use strict";var r=n(85888);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,showFullscreenButton:!0,className:t}},save:r.Z}},85888:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u}=e,p=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),d=t?`align${t}`:null;return(0,r.createElement)("div",{className:d,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null},o.length>0&&(0,r.createElement)("ul",null,p))}}t.Z=a},45051:function(e,t,n){"use strict";var r=n(95382);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,className:t}},save:r.Z}},95382:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u,showFullscreenButton:p}=e,d=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),m=t?`align${t}`:null;return(0,r.createElement)("div",{className:m,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null,"data-show-fullscreen-button":p||null},o.length>0&&(0,r.createElement)("ul",null,d))}}t.Z=a},740:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65736),c=n(55609),u=n(52175),p=n(2944),d=n(93846),m=n(53036),h=n(82695),f=n(96406),g=n(94333),b=n(9818),v=n(81518),k=n(1555);const __=l.__,y={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};class E extends o.Component{constructor(){super(...arguments),a()(this,"geoCodeAddress",((e,t)=>{t&&(0,k.P)(e,t).then((e=>{var t;if(null!==(t=e.features)&&void 0!==t&&t.length){const t=e.features[0],n=[{title:t.text,placeTitle:t.text,caption:t.place_name,id:t.id,coordinates:{latitude:t.center[1],longitude:t.center[0]}}];this.props.setAttributes({points:n})}else this.onError(null,__("Could not find the coordinates of the provided address. Displaying default location. Feel free to add the location manually.","jetpack"))})).catch((e=>this.onError(null,e.message)))})),a()(this,"componentDidUpdate",(e=>{var t,n;const r=null===(t=this.props.attributes)||void 0===t?void 0:t.address,a=null===(n=e.attributes)||void 0===n?void 0:n.address;r&&a!==r&&this.geoCodeAddress(r,this.state.apiKey)})),a()(this,"addPoint",(e=>{const{attributes:t,setAttributes:n}=this.props,{points:r}=t,a=r.slice(0);let o=!1;r.map((t=>{t.id===e.id&&(o=!0)})),o||(a.push(e),n({points:a}),this.setState({addPointVisibility:!1}))})),a()(this,"setPointVisibility",(()=>{this.setState({addPointVisibility:!0})})),a()(this,"updateAPIKeyControl",(e=>{this.setState({apiKeyControl:e.target.value})})),a()(this,"updateAPIKey",(()=>{const{noticeOperations:e}=this.props,{apiKeyControl:t}=this.state;e.removeAllNotices(),t&&this.apiCall(t,"POST")})),a()(this,"removeAPIKey",(()=>{this.apiCall(null,"DELETE")})),a()(this,"onError",((e,t)=>{const{noticeOperations:n}=this.props;n.removeAllNotices(),n.createErrorNotice(t)})),a()(this,"onMapResize",((e,t,n,r)=>{const{onResizeStop:a,setAttributes:o}=this.props;a();o({mapHeight:parseInt(this.mapRef.current.mapRef.current.offsetHeight+r.height,10)}),setTimeout(this.mapRef.current.sizeMap,0)})),this.state={addPointVisibility:!1,apiState:0},this.mapRef=(0,o.createRef)()}apiCall(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise(((n,r)=>{const{noticeOperations:a}=this.props,o="/wpcom/v2/service-api-keys/mapbox",i=e?{path:o,method:t,data:{service_api_key:e}}:{path:o,method:t};this.setState({apiRequestOutstanding:!0},(()=>{s()(i).then((e=>{let{service_api_key:t,service_api_key_source:r}=e;a.removeAllNotices();const o=t?2:1,i="wpcom"===r?"":t;this.setState({apiState:o,apiKey:t,apiKeyControl:i,apiKeySource:r,apiRequestOutstanding:!1}),n()}),(e=>{let{message:t}=e;this.onError(null,t),this.setState({apiState:1,apiRequestOutstanding:!1}),r()}))}))}))}componentDidMount(){this.apiCall().then((()=>{var e,t;null!==(e=this.props.attributes)&&void 0!==e&&e.address&&this.geoCodeAddress(null===(t=this.props.attributes)||void 0===t?void 0:t.address,this.state.apiKey)}))}render(){const{className:e,setAttributes:t,attributes:n,noticeUI:r,notices:a,isSelected:i,instanceId:s,onResizeStart:l}=this.props,{mapDetails:g,points:b,zoom:k,mapCenter:E,markerColor:w,preview:_,mapHeight:C,showFullscreenButton:x}=n,{addPointVisibility:j,apiKey:S,apiKeyControl:A,apiState:P,apiRequestOutstanding:N}=this.state,T=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setPointVisibility:this.setPointVisibility,context:"toolbar",mapRef:this.mapRef})),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setState:this.setState,mapRef:this.mapRef,instanceId:s,minHeight:400,removeAPIKey:this.removeAPIKey,updateAPIKey:this.updateAPIKey}))),R=(0,o.createElement)(c.Placeholder,{icon:h.X.icon},(0,o.createElement)(c.Spinner,null)),M=(0,o.createElement)(o.Fragment,null,__("To use the map block, you need an Access Token.","jetpack"),(0,o.createElement)("br",null),(0,o.createElement)(c.ExternalLink,{href:"https://www.mapbox.com"},__("Create an account or log in to Mapbox.","jetpack")),(0,o.createElement)("br",null),__("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),I=(0,o.createElement)(c.Placeholder,{icon:h.X.icon,label:__("Map","jetpack"),notices:a,instructions:M},(0,o.createElement)(o.Fragment,null,(0,o.createElement)("form",null,(0,o.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:N,placeholder:__("Paste Token Here","jetpack"),value:A,onChange:this.updateAPIKeyControl}),(0,o.createElement)(c.Button,{variant:"secondary",disabled:N||!A||A.length<1,onClick:this.updateAPIKey},__("Set Token","jetpack"))))),L=i&&b.length<=1,D=(0,v.t)(h.X.styles,n.className),F=(0,o.createElement)(o.Fragment,null,T,(0,o.createElement)("div",{className:e},(0,o.createElement)(c.ResizableBox,{size:{height:C||"auto",width:"100%"},grid:[10,10],showHandle:i,minHeight:400,enable:y,onResizeStart:l,onResizeStop:this.onMapResize},(0,o.createElement)("div",{className:"wp-block-jetpack-map__map_wrapper"},(0,o.createElement)(d.Z,{ref:this.mapRef,scrollToZoom:L,showFullscreenButton:x,mapStyle:D||"default",mapDetails:g,mapHeight:C,points:b,zoom:k,mapCenter:E,markerColor:w,onSetZoom:e=>{t({zoom:e})},admin:!0,apiKey:S,onSetPoints:e=>t({points:e}),onSetMapCenter:e=>t({mapCenter:e}),onMapLoaded:()=>this.setState({addPointVisibility:!b.length}),onMarkerClick:()=>this.setState({addPointVisibility:!1}),onError:this.onError},i&&j&&(0,o.createElement)(p.Z,{onAddPoint:this.addPoint,onClose:()=>this.setState({addPointVisibility:!1}),apiKey:S,onError:this.onError,tagName:"AddPoint"})))))),B=h.X.styles.find((e=>e.name===D)),Z=(0,o.createElement)("div",null,(0,o.createElement)("img",{alt:__("Map Preview","jetpack"),src:B?B.preview:f}));return(0,o.createElement)(o.Fragment,null,r,_&&Z,!_&&0===P&&R,!_&&1===P&&I,!_&&2===P&&F)}}t.Z=(0,g.compose)([c.withNotices,(0,b.withDispatch)((e=>{const{toggleSelection:t}=e("core/block-editor");return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}))])(E)},1555:function(e,t,n){"use strict";function r(e,t){return fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(e)}.json?access_token=${encodeURIComponent(t)}`).then((e=>e.json()))}n.d(t,{P:function(){return r}})},85406:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(82695),a=n(740),o=n(19496),i=n(55109),s=n(45051),l=n(70355);const{name:c}=r.X,u={title:r.X.title,icon:{src:r.X.icon,foreground:(0,l.m)()},category:r.X.category,keywords:r.X.keywords,description:r.X.description,attributes:r.X.attributes,supports:r.X.supports,styles:r.X.styles,getEditWrapperProps(e){const{align:t}=e;if(-1!==r.X.validAlignments.indexOf(t))return{"data-align":t}},edit:a.Z,save:o.Z,example:r.X.example,deprecated:[s.Z,i.Z]}},82621:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307);class i extends o.Component{constructor(){super(...arguments),a()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,o.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}i.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=i},31852:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(96881);const c=(0,i.__)("Add a marker…","jetpack");class u extends o.Component{constructor(){super(...arguments),a()(this,"getOptionCompletion",(e=>{const{value:t}=e,n={placeTitle:t.text,title:t.text,caption:t.place_name,id:t.id,coordinates:{longitude:t.geometry.coordinates[0],latitude:t.geometry.coordinates[1]}};return this.props.onAddPoint(n),t.text})),a()(this,"search",(e=>{const{apiKey:t,onError:n}=this.props,r="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(e)+".json?access_token="+t;return new Promise((function(e,t){const a=new XMLHttpRequest;a.open("GET",r),a.onload=function(){if(200===a.status){const t=JSON.parse(a.responseText);e(t.features)}else{const e=JSON.parse(a.responseText);n(e.statusText,e.responseJSON.message),t(new Error("Mapbox Places Error"))}},a.send()}))})),a()(this,"onReset",(()=>{this.textRef.current.value=null})),this.textRef=(0,o.createRef)(),this.containerRef=(0,o.createRef)(),this.state={isEmpty:!0},this.autocompleter={name:"placeSearch",options:this.search,isDebounced:!0,getOptionLabel:e=>(0,o.createElement)("span",null,e.place_name),getOptionKeywords:e=>[e.place_name],getOptionCompletion:this.getOptionCompletion}}componentDidMount(){setTimeout((()=>{this.containerRef.current.querySelector("input").focus()}),50)}render(){const{label:e}=this.props;return(0,o.createElement)("div",{ref:this.containerRef},(0,o.createElement)(s.BaseControl,{label:e,className:"components-location-search"},(0,o.createElement)(l.Z,{completer:this.autocompleter,onReset:this.onReset},(e=>{let{isExpanded:t,listBoxId:n,activeId:r,onChange:a,onKeyDown:i}=e;return(0,o.createElement)(s.TextControl,{placeholder:c,ref:this.textRef,onChange:a,"aria-expanded":t,"aria-owns":n,"aria-activedescendant":r,onKeyDown:i})}))))}}u.defaultProps={onError:()=>{}},t.Z=u},57897:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(55609);class s extends o.Component{constructor(){super(...arguments),a()(this,"onDeletePoint",(e=>{const t=parseInt(e.target.getAttribute("data-id")),{points:n,onChange:r}=this.props,a=n.slice(0);a.splice(t,1),r(a)})),this.state={selectedCell:null}}setMarkerField(e,t,n){const{points:r,onChange:a}=this.props,o=r.slice(0);o[n][e]=t,a(o)}render(){const{points:e}=this.props,t=e.map(((e,t)=>(0,o.createElement)(i.PanelBody,{title:e.placeTitle,key:e.id,initialOpen:!1},(0,o.createElement)(i.TextControl,{label:"Marker Title",value:e.title,onChange:e=>this.setMarkerField("title",e,t)}),(0,o.createElement)(i.TextareaControl,{label:"Marker Caption",value:e.caption,rows:"3",onChange:e=>this.setMarkerField("caption",e,t)}),(0,o.createElement)(i.Button,{"data-id":t,onClick:this.onDeletePoint,className:"component__locations__delete-btn"},(0,o.createElement)(i.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))));return(0,o.createElement)("div",{className:"component__locations"},(0,o.createElement)(i.Panel,{className:"component__locations__panel"},t))}}s.defaultProps={points:Object.freeze([]),onChange:()=>{}},t.Z=s},96881:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(55609),u=n(92819),p=n(39630),d=n(94333);const __=l.__,_n=l._n;function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;const n=[];for(let r=0;r<e.length;r++){const a=e[r];let{keywords:o=[]}=a;if("string"==typeof a.label&&(o=[...o,a.label]),n.push(a),n.length===t)break}return n}class h extends o.Component{static getInitialState(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}constructor(){super(...arguments),a()(this,"select",(e=>{const{completer:t}=this.props;(t.getOptionCompletion||{})(e),this.reset()})),a()(this,"reset",(()=>{this.setState(this.constructor.getInitialState())})),a()(this,"onChange",(e=>{const{completer:t}=this.props,{options:n}=this.state;if(!e)return void this.reset();t&&(t.isDebounced?this.debouncedLoadOptions(t,e):this.loadOptions(t,e));const r=t?m(n):[];t&&this.setState({selectedIndex:0,filteredOptions:r,query:e})})),a()(this,"onKeyDown",(e=>{const{isOpen:t,selectedIndex:n,filteredOptions:r}=this.state;if(!t)return;let a;switch(e.keyCode){case p.UP:a=(0===n?r.length:n)-1,this.setState({selectedIndex:a});break;case p.DOWN:a=(n+1)%r.length,this.setState({selectedIndex:a});break;case p.ENTER:this.select(r[n]);break;case p.LEFT:case p.RIGHT:case p.ESCAPE:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()})),this.debouncedLoadOptions=(0,u.debounce)(this.loadOptions,250),this.state=this.constructor.getInitialState()}componentWillUnmount(){this.debouncedLoadOptions.cancel()}handleFocusOutside(){this.reset()}loadOptions(e,t){const{options:n}=e,r=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then((t=>{if(r!==this.activePromise)return;const n=t.map(((t,n)=>({key:`${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}))),a=m(n),o=a.length===this.state.filteredOptions.length?this.state.selectedIndex:0;this.setState({options:n,filteredOptions:a,selectedIndex:o,isOpen:a.length>0}),this.announce(a)}))}announce(e){const{debouncedSpeak:t}=this.props;t&&(e.length?t((0,l.sprintf)(
/* translators: placeholder is a number. */
-_n("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(__("No results.","jetpack"),"assertive"))}render(){const{onChange:e,onKeyDown:t}=this,{children:n,instanceId:r,completer:a}=this.props,{selectedIndex:i,filteredOptions:l}=this.state,{key:p=""}=l[i]||{},{className:d}=a,m=l.length>0,h=m?`components-autocomplete-listbox-${r}`:null,f=m?`components-autocomplete-item-${r}-${p}`:null;return(0,o.createElement)("div",{className:"components-autocomplete"},n({isExpanded:m,listBoxId:h,activeId:f,onChange:e,onKeyDown:t}),m&&(0,o.createElement)(c.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},(0,o.createElement)("div",{id:h,role:"listbox",className:"components-autocomplete__results"},(0,u.map)(l,((e,t)=>(0,o.createElement)(c.Button,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===i,disabled:e.isDisabled,className:s()("components-autocomplete__result",d,{"is-selected":t===i}),onClick:()=>this.select(e)},e.label))))))}}t.Z=(0,d.compose)([c.withSpokenMessages,d.withInstanceId,c.withFocusOutside])(h)},81041:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(87929);class s extends o.Component{constructor(){super(...arguments),a()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),a()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:r,mapRef:a}=this.props,{handleClick:o}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,i.bL)(a.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+r+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},73242:function(e,t,n){"use strict";function r(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return r}})},18156:function(e,t,n){"use strict";var r=n(69307),a=n(17885),o=n(98085);class i extends r.Component{render(){const{attributes:e}=this.props,{align:t,className:n,mapDetails:i,points:s,zoom:l,mapCenter:c,markerColor:u,scrollToZoom:p,mapHeight:d,showFullscreenButton:m}=e,h=(0,o.t)(a.X.styles,n),f=s.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),g=t?`align${t}`:null;return(0,r.createElement)("div",{className:g,"data-map-style":h,"data-map-details":i,"data-points":JSON.stringify(s),"data-zoom":l,"data-map-center":JSON.stringify(c),"data-marker-color":u,"data-scroll-to-zoom":p||null,"data-map-height":d||null,"data-show-fullscreen-button":m||null},s.length>0&&(0,r.createElement)("ul",null,f))}}t.Z=i},17885:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(69307),a=n(65736),o=n(56932),i=n(45107),s=n(65765),l=n(34140);const __=a.__,_x=a._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:o,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:i},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},81092:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(52175),u=n(94333),p=n(9818),d=n(4822);const __=l.__,m="editor",h="preview";class f extends o.Component{constructor(){super(...arguments),a()(this,"input",null),a()(this,"state",{activePanel:m}),a()(this,"bindInput",(e=>{this.input=e})),a()(this,"updateSource",(e=>this.props.setAttributes({source:e}))),a()(this,"handleKeyDown",(e=>{const{attributes:t,removeBlock:n}=this.props,{source:r}=t;8===e.keyCode&&""===r&&(n(),e.preventDefault())})),a()(this,"toggleMode",(e=>()=>this.setState({activePanel:e})))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===h&&this.toggleMode(m)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===m&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:n}=this.state,{className:r}=this.props,a=s()(r,"components-button components-tab-button",{"is-pressed":n===e});return(0,o.createElement)("button",{className:a,onClick:this.toggleMode(e)},(0,o.createElement)("span",null,t))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{source:r}=e,{activePanel:a}=this.state;return!n&&this.isEmpty()?(0,o.createElement)("p",{className:`${t}__placeholder`},__("Write your _Markdown_ **here**…","jetpack")):(0,o.createElement)("div",{className:t},(0,o.createElement)(c.BlockControls,null,(0,o.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(m,__("Markdown","jetpack")),this.renderToolbarButton(h,__("Preview","jetpack")))),a!==h&&n?(0,o.createElement)(c.PlainText,{className:`${t}__editor`,onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":__("Markdown","jetpack"),innerRef:this.bindInput,value:r}):(0,o.createElement)(d.Z,{className:`${t}__preview`,source:r}))}}t.Z=(0,u.compose)([(0,p.withSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),(0,p.withDispatch)(((e,t)=>{let{currentBlockId:n}=t;return{removeBlock:()=>e("core/block-editor").removeBlocks(n)}}))])(f)},7882:function(e,t,n){"use strict";n.d(t,{u:function(){return p},X:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(58014),s=n(81092),l=n(27279),c=n(57535),u=n(20510);const __=a.__,_x=a._x,p="markdown",d=__("Try Markdown","jetpack"),m=__("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},(0,r.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),(0,r.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),f=(0,i.Wp)()||(0,i.Ug)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",g={title:__("Markdown","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Use regular characters and punctuation to style text, links, and lists.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:f},__("Support reference","jetpack"))),icon:{src:h,foreground:(0,c.m)()},category:(0,u.Z)("text","formatting"),keywords:[_x("formatting","block search term","jetpack"),_x("syntax","block search term","jetpack"),_x("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:s.Z,save:l.Z,example:{attributes:{source:`## ## ${d}\n\n${m}`}}}},4822:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(69472),i=n.n(o);const __=a.__,s=new(i()),l=e=>{if("A"===e.target.nodeName){window.confirm(__("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault()}};t.Z=e=>{let{className:t,source:n=""}=e;return(0,r.createElement)(r.RawHTML,{className:t,onClick:l},n.length?s.render(n):"")}},27279:function(e,t,n){"use strict";var r=n(69307),a=n(4822);t.Z=e=>{let{attributes:t,className:n}=e;return(0,r.createElement)(a.Z,{className:n,source:t.source})}},11868:function(e,t,n){"use strict";n.d(t,{V1:function(){return i},vW:function(){return s},jn:function(){return l},Eo:function(){return c},fL:function(){return u},ez:function(){return m}});var r=n(65736),a=n(9818),o=n(92819);const __=r.__,i=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],s=i.map((e=>e.value));const l={name:"button",label:__("Button (210 x 113 pixels)","jetpack")},c=e=>(0,o.compact)([{name:"standard",label:__("Standard (224 x 301 pixels)","jetpack"),isDefault:!0},{name:"tall",label:__("Tall (288 x 490 pixels)","jetpack")},{name:"wide",label:__("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&l]),u=e=>c(e).map((e=>e.name)),{siteLocale:p}=(0,a.select)("core/block-editor").getSettings(),d=!(0,o.isEmpty)(p)&&s.includes(p)?p:"en-US",m={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:u()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:d,type:"string",validValues:s},newtab:{default:!1,type:"boolean"},negativeMargin:{default:!1,type:"boolean"}}},65618:function(e,t,n){"use strict";var r=n(69307),a=n(11868);t.Z={attributes:a.ez,supports:{align:!0,html:!1},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)(r.Fragment,null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},77583:function(e,t,n){"use strict";var r=n(69307),a=n(11868);t.Z={attributes:a.ez,migrate:e=>{const{style:t,className:n}=e,r="standard"===t?"":`is-style-${t}`;return{...e,className:n?`${n} ${r}`:r}},isEligible:e=>{let{style:t,className:n}=e;return!(!t||"standard"===t)&&(!n||-1===n.indexOf("is-style-"))},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},97372:function(e,t,n){"use strict";var r=n(69307),a=(n(86841),n(89105)),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(4981),p=n(12087),d=n(58014),m=n(70718),h=n(18746),f=n(11868),g=n(14087),b=n(98085),k=n(88707);const __=c.__;t.Z=(0,l.withNotices)((function(e){let{attributes:t,className:n,clientId:a,isSelected:v,name:y,noticeOperations:E,noticeUI:w,setAttributes:_}=e;const C=(0,u.getBlockDefaultClassName)(y),x=(0,g.S)(f.ez,t);(0,i.isEqual)(x,t)||_(x);const{align:j,rid:S,iframe:A,domain:N,lang:T,newtab:P,negativeMargin:M}=t,I=(0,i.isEmpty)(S),R=(0,b.t)((0,f.Eo)(),t.className),L=(0,b.t)((0,f.Eo)(S),t.className),B=(0,h.Z)(L),F=(0,i.isEqual)(S,["1"]);(0,r.useEffect)((()=>{if(E.removeAllNotices(),!I&&!F&&"wide"===L&&"wide"!==j&&"full"!==j){const e=(0,r.createElement)(r.Fragment,null,__('With the OpenTable block you may encounter display issues if you use its "wide" style with anything other than "wide" or "full" alignment. The wide display style may also not work well on smaller screens.',"jetpack"));E.createNotice({status:"warning",content:e})}}),[F,j,I,S,L]),(0,r.useEffect)((()=>{"button"===R&&Array.isArray(S)&&S.length>1&&_({className:"",style:""})}),[S,R,_]),(0,r.useEffect)((()=>{v&&(Array.isArray(S)&&S.length>1?(0,u.unregisterBlockStyle)("jetpack/opentable",["button"]):(0,u.registerBlockStyle)("jetpack/opentable",f.jn))}),[v,S]),(0,r.useEffect)((()=>{"wide"===B&&"wide"===j&&_({align:""}),"wide"===L&&B&&L!==B&&_({align:"wide"}),_({style:L})}),[L]);const Z=(0,f.fL)(S),D=e=>S.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e],O=e=>{Array.isArray(e)?_({rid:e,style:e.length>1&&"button"===L?"standard":L}):(e=>{const t=(0,k.CC)(e);t||(E.removeAllNotices(),E.createErrorNotice((0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,__("We ran into an issue","jetpack")),(0,r.createElement)("br",null),__("Please ensure this embed matches the one from your OpenTable account","jetpack"))));const n=(0,g.S)(f.ez,t);_(n),E.removeAllNotices()})(e)},z=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.InspectorAdvancedControls,null,(0,r.createElement)(l.ToggleControl,{label:__("Load the widget in an iFrame (Recommended)","jetpack"),checked:A,onChange:()=>_({iframe:!A}),className:"is-opentable"}),"button"===L&&(0,r.createElement)(l.ToggleControl,{label:__("Remove button margin","jetpack"),checked:M,onChange:()=>_({negativeMargin:!M})})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(m.Z,{rids:S,onChange:O}),(0,r.createElement)(l.SelectControl,{label:__("Language","jetpack"),value:T,onChange:e=>_({lang:e}),options:f.V1}),(0,r.createElement)(l.ToggleControl,{label:__("Open in a new window","jetpack"),checked:P,onChange:()=>_({newtab:!P})})))),$=(0,d.Wp)()||(0,d.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",U=(0,r.createElement)(l.Placeholder,{label:__("OpenTable Reservation","jetpack"),icon:(0,r.createElement)(s.BlockIcon,{icon:p.Z}),instructions:__("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:w},(0,r.createElement)(m.Z,{rids:S,onSubmit:O}),(0,r.createElement)("div",{className:`${C}-placeholder-links`},(0,r.createElement)(l.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},__("Sign up for OpenTable","jetpack")),(0,r.createElement)(l.ExternalLink,{href:$},__("Learn more","jetpack")))),V=o()(n,{[`is-style-${L}`]:!I&&Z.includes(L)&&-1===n.indexOf("is-style"),"is-placeholder":I,"is-multi":"multi"===D(L)[0],[`align${j}`]:j,"has-no-margin":M});return(0,r.createElement)(r.Fragment,null,w,(0,r.createElement)("div",{className:V},!I&&z,I?U:(e=>{const[t,n]=D(e||L);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${C}-overlay`}),(0,r.createElement)("iframe",{title:(0,c.sprintf)(
+_n("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(__("No results.","jetpack"),"assertive"))}render(){const{onChange:e,onKeyDown:t}=this,{children:n,instanceId:r,completer:a}=this.props,{selectedIndex:i,filteredOptions:l}=this.state,{key:p=""}=l[i]||{},{className:d}=a,m=l.length>0,h=m?`components-autocomplete-listbox-${r}`:null,f=m?`components-autocomplete-item-${r}-${p}`:null;return(0,o.createElement)("div",{className:"components-autocomplete"},n({isExpanded:m,listBoxId:h,activeId:f,onChange:e,onKeyDown:t}),m&&(0,o.createElement)(c.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},(0,o.createElement)("div",{id:h,role:"listbox",className:"components-autocomplete__results"},(0,u.map)(l,((e,t)=>(0,o.createElement)(c.Button,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===i,disabled:e.isDisabled,className:s()("components-autocomplete__result",d,{"is-selected":t===i}),onClick:()=>this.select(e)},e.label))))))}}t.Z=(0,d.compose)([c.withSpokenMessages,d.withInstanceId,c.withFocusOutside])(h)},9262:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(85007);class s extends o.Component{constructor(){super(...arguments),a()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),a()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:r,mapRef:a}=this.props,{handleClick:o}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,i.bL)(a.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+r+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},90055:function(e,t,n){"use strict";function r(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return r}})},19496:function(e,t,n){"use strict";var r=n(69307),a=n(82695),o=n(81518);class i extends r.Component{render(){const{attributes:e}=this.props,{align:t,className:n,mapDetails:i,points:s,zoom:l,mapCenter:c,markerColor:u,scrollToZoom:p,mapHeight:d,showFullscreenButton:m}=e,h=(0,o.t)(a.X.styles,n),f=s.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),g=t?`align${t}`:null;return(0,r.createElement)("div",{className:g,"data-map-style":h,"data-map-details":i,"data-points":JSON.stringify(s),"data-zoom":l,"data-map-center":JSON.stringify(c),"data-marker-color":u,"data-scroll-to-zoom":p||null,"data-map-height":d||null,"data-show-fullscreen-button":m||null},s.length>0&&(0,r.createElement)("ul",null,f))}}t.Z=i},82695:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(69307),a=n(65736),o=n(56932),i=n(45107),s=n(65765),l=n(34140);const __=a.__,_x=a._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:o,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:i},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},461:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(52175),u=n(94333),p=n(9818),d=n(69283);const __=l.__,m="editor",h="preview";class f extends o.Component{constructor(){super(...arguments),a()(this,"input",null),a()(this,"state",{activePanel:m}),a()(this,"bindInput",(e=>{this.input=e})),a()(this,"updateSource",(e=>this.props.setAttributes({source:e}))),a()(this,"handleKeyDown",(e=>{const{attributes:t,removeBlock:n}=this.props,{source:r}=t;8===e.keyCode&&""===r&&(n(),e.preventDefault())})),a()(this,"toggleMode",(e=>()=>this.setState({activePanel:e})))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===h&&this.toggleMode(m)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===m&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:n}=this.state,{className:r}=this.props,a=s()(r,"components-button components-tab-button",{"is-pressed":n===e});return(0,o.createElement)("button",{className:a,onClick:this.toggleMode(e)},(0,o.createElement)("span",null,t))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{source:r}=e,{activePanel:a}=this.state;return!n&&this.isEmpty()?(0,o.createElement)("p",{className:`${t}__placeholder`},__("Write your _Markdown_ **here**…","jetpack")):(0,o.createElement)("div",{className:t},(0,o.createElement)(c.BlockControls,null,(0,o.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(m,__("Markdown","jetpack")),this.renderToolbarButton(h,__("Preview","jetpack")))),a!==h&&n?(0,o.createElement)(c.PlainText,{className:`${t}__editor`,onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":__("Markdown","jetpack"),innerRef:this.bindInput,value:r}):(0,o.createElement)(d.Z,{className:`${t}__preview`,source:r}))}}t.Z=(0,u.compose)([(0,p.withSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),(0,p.withDispatch)(((e,t)=>{let{currentBlockId:n}=t;return{removeBlock:()=>e("core/block-editor").removeBlocks(n)}}))])(f)},80723:function(e,t,n){"use strict";n.d(t,{X:function(){return g},u:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(461),l=n(2683),c=n(70355),u=n(5820);const __=a.__,_x=a._x,p="markdown",d=__("Try Markdown","jetpack"),m=__("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},(0,r.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),(0,r.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),f=(0,i.Wp)()||(0,i.Ug)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",g={title:__("Markdown","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Use regular characters and punctuation to style text, links, and lists.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:f},__("Support reference","jetpack"))),icon:{src:h,foreground:(0,c.m)()},category:(0,u.Z)("text","formatting"),keywords:[_x("formatting","block search term","jetpack"),_x("syntax","block search term","jetpack"),_x("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{align:["wide","full"],html:!1,spacing:{padding:!0,margin:!0,__experimentalDefaultControls:{padding:!0,margin:!0}}},edit:s.Z,save:l.Z,example:{attributes:{source:`## ## ${d}\n\n${m}`}}}},69283:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(10185),i=n.n(o),s=n(52175);const __=a.__,l=new(i()),c=e=>{if("A"===e.target.nodeName){window.confirm(__("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault()}},u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=null===s.__experimentalGetSpacingClassesAndStyles||void 0===s.__experimentalGetSpacingClassesAndStyles?void 0:(0,s.__experimentalGetSpacingClassesAndStyles)(e);return null!=t&&t.style?t.style:{}};t.Z=e=>{let{className:t,source:n="",attributes:a}=e;return(0,r.createElement)(r.RawHTML,{className:t,onClick:c,style:u(a)},n.length?l.render(n):"")}},2683:function(e,t,n){"use strict";var r=n(69307),a=n(69283);t.Z=e=>{let{attributes:t,className:n}=e;return(0,r.createElement)(a.Z,{className:n,source:t.source,attributes:t})}},31283:function(e,t,n){"use strict";n.d(t,{Eo:function(){return p},V1:function(){return l},ez:function(){return f},fL:function(){return d},jn:function(){return u},vW:function(){return c}});var r,a,o,i=n(65736),s=n(92819);const __=i.__,l=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],c=l.map((e=>e.value));const u={name:"button",label:__("Button (210 x 113 pixels)","jetpack")},p=e=>(0,s.compact)([{name:"standard",label:__("Standard (224 x 301 pixels)","jetpack"),isDefault:!0},{name:"tall",label:__("Tall (288 x 490 pixels)","jetpack")},{name:"wide",label:__("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&u]),d=e=>p(e).map((e=>e.name)),m=null!==(r=null===(a=window)||void 0===a||null===(o=a.Jetpack_Editor_Initial_State)||void 0===o?void 0:o.siteLocale)&&void 0!==r?r:"en-US",h=!(0,s.isEmpty)(m)&&c.includes(m)?m:"en-US",f={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:d()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:h,type:"string",validValues:c},newtab:{default:!1,type:"boolean"},negativeMargin:{default:!1,type:"boolean"}}},80452:function(e,t,n){"use strict";var r=n(69307),a=n(31283);t.Z={attributes:a.ez,supports:{align:!0,html:!1},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)(r.Fragment,null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},70398:function(e,t,n){"use strict";var r=n(69307),a=n(31283);t.Z={attributes:a.ez,migrate:e=>{const{style:t,className:n}=e,r="standard"===t?"":`is-style-${t}`;return{...e,className:n?`${n} ${r}`:r}},isEligible:e=>{let{style:t,className:n}=e;return!(!t||"standard"===t)&&(!n||-1===n.indexOf("is-style-"))},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},76851:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(13419),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(15040),m=n(57087),h=n(41007),f=n(31283),g=n(4554),b=n(81518),v=n(48769);const __=u.__;t.Z=(0,c.withNotices)((function(e){let{attributes:t,className:n,clientId:a,isSelected:k,name:y,noticeOperations:E,noticeUI:w,setAttributes:_}=e;const C=(0,p.getBlockDefaultClassName)(y),x=(0,g.S)(f.ez,t);(0,i.isEqual)(x,t)||_(x);const{align:j,rid:S,iframe:A,domain:P,lang:N,newtab:T,negativeMargin:R}=t,M=(0,i.isEmpty)(S),I=(0,b.t)((0,f.Eo)(),t.className),L=(0,b.t)((0,f.Eo)(S),t.className),D=(0,h.Z)(L),F=(0,i.isEqual)(S,["1"]);(0,r.useEffect)((()=>{if(E.removeAllNotices(),!M&&!F&&"wide"===L&&"wide"!==j&&"full"!==j){const e=(0,r.createElement)(r.Fragment,null,__('With the OpenTable block you may encounter display issues if you use its "wide" style with anything other than "wide" or "full" alignment. The wide display style may also not work well on smaller screens.',"jetpack"));E.createNotice({status:"warning",content:e})}}),[F,j,M,S,L]),(0,r.useEffect)((()=>{"button"===I&&Array.isArray(S)&&S.length>1&&_({className:"",style:""})}),[S,I,_]),(0,r.useEffect)((()=>{k&&(Array.isArray(S)&&S.length>1?(0,p.unregisterBlockStyle)("jetpack/opentable",["button"]):(0,p.registerBlockStyle)("jetpack/opentable",f.jn))}),[k,S]),(0,r.useEffect)((()=>{"wide"===D&&"wide"===j&&_({align:""}),"wide"===L&&D&&L!==D&&_({align:"wide"}),_({style:L})}),[L]);const B=(0,f.fL)(S),Z=e=>S.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e],O=e=>{Array.isArray(e)?_({rid:e,style:e.length>1&&"button"===L?"standard":L}):(e=>{const t=(0,v.CC)(e);t||(E.removeAllNotices(),E.createErrorNotice((0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,__("We ran into an issue","jetpack")),(0,r.createElement)("br",null),__("Please ensure this embed matches the one from your OpenTable account","jetpack"))));const n=(0,g.S)(f.ez,t);_(n),E.removeAllNotices()})(e)},z=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.InspectorAdvancedControls,null,(0,r.createElement)(c.ToggleControl,{label:__("Load the widget in an iFrame (Recommended)","jetpack"),checked:A,onChange:()=>_({iframe:!A}),className:"is-opentable"}),"button"===L&&(0,r.createElement)(c.ToggleControl,{label:__("Remove button margin","jetpack"),checked:R,onChange:()=>_({negativeMargin:!R})})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(m.Z,{rids:S,onChange:O}),(0,r.createElement)(c.SelectControl,{label:__("Language","jetpack"),value:N,onChange:e=>_({lang:e}),options:f.V1}),(0,r.createElement)(c.ToggleControl,{label:__("Open in a new window","jetpack"),checked:T,onChange:()=>_({newtab:!T})})))),U=(0,s.Wp)()||(0,s.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",$=(0,r.createElement)(c.Placeholder,{label:__("OpenTable Reservation","jetpack"),icon:d.Z,instructions:__("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:w},(0,r.createElement)(m.Z,{rids:S,onSubmit:O}),(0,r.createElement)("div",{className:`${C}-placeholder-links`},(0,r.createElement)(c.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},__("Sign up for OpenTable","jetpack")),(0,r.createElement)(c.ExternalLink,{href:U},__("Learn more","jetpack")))),q=o()(n,{[`is-style-${L}`]:!M&&B.includes(L)&&-1===n.indexOf("is-style"),"is-placeholder":M,"is-multi":"multi"===Z(L)[0],[`align${j}`]:j,"has-no-margin":R});return(0,r.createElement)(r.Fragment,null,w,(0,r.createElement)("div",{className:q},!M&&z,M?$:(e=>{const[t,n]=Z(e||L);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${C}-overlay`}),(0,r.createElement)("iframe",{title:(0,u.sprintf)(
/* translators: Placeholder is a unique ID. */
-__("Open Table Preview %s","jetpack"),a),scrolling:"no",src:`https://www.opentable.com/widget/reservation/canvas?rid=${(0,i.join)(S,"%2C")}&type=${t}&theme=${n}&overlay=false&domain=${N}&lang=${T&&f.vW.includes(T)?T:"en-US"}&newtab=${P}&disablega=true`}))})()))}))},12087:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},(0,r.createElement)(a.Path,{d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))},5458:function(e,t,n){"use strict";n.d(t,{u2:function(){return m},Xd:function(){return h}});var r=n(69307),a=n(65736),o=n(4981),i=n(11868),s=n(65618),l=n(77583),c=n(97372),u=n(12087),p=n(88707),d=n(57535);n(6757);const __=a.__,_x=a._x,m="opentable",h={title:__("OpenTable","jetpack"),description:__("Allow visitors to book a reservation with OpenTable","jetpack"),icon:{src:u.Z,foreground:(0,d.m)()},category:"earn",keywords:[_x("booking","block search term","jetpack"),_x("reservation","block search term","jetpack"),_x("restaurant","block search term","jetpack")],supports:{align:!0,html:!1},edit:c.Z,save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map(((e,t)=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`,key:`${e}-${t}`},`https://www.opentable.com/restref/client/?rid=${e}`))))},attributes:i.ez,styles:(0,i.Eo)(),example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1,negativeMargin:!1}},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&0===e.textContent.indexOf("http")&&(p.pU.test(e.textContent)||p.tC.test(e.textContent)),transform:e=>{const t=(0,p.CC)(e.textContent);return(0,o.createBlock)("jetpack/opentable",t)}}]},deprecated:[s.Z,l.Z]}},70718:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(92819),s=n(55609),l=n(65736),c=n(74701);const __=l.__,_n=l._n;function u(e){const[t,n]=(0,o.useState)(""),r=(0,c.Z)(t,20),[l,u]=(0,o.useState)(e.rids||[]),p=/^(\d+)$|\(\#(\d+)\)$/,d=r.filter((e=>l.indexOf(e.rid.toString())<0)).map((e=>e.name+` (#${e.rid})`)),m=(0,o.createElement)(s.FormTokenField,a()({value:l,suggestions:d,saveTransform:e=>c.$.test(e)?"":e.trim(),onInputChange:n,maxSuggestions:20,label:_n("Restaurant","Restaurants",l.length,"jetpack")},e,{onChange:t=>{const n=t.map((e=>{const t=p.exec(e);return t[1]||t[2]}));u(n),e.onChange&&e.onChange(n)}}));return(0,o.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),e.onSubmit((0,i.isEmpty)(l)?t:l)}},m,(0,o.createElement)(s.Button,{isSecondary:!0,type:"submit"},__("Embed","jetpack"))):m)}},18746:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},74701:function(e,t,n){"use strict";n.d(t,{$:function(){return o},Z:function(){return i}});var r=n(92819),a=n(69307);const o=/^\s*(http[s]?:\/\/|\<script)/;function i(e,t){const[n,i]=(0,a.useState)([]),s=(0,a.useCallback)((0,r.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((e=>e.json())).then((e=>i((0,r.unionBy)(n,e.items,"rid"))))}),500),[n]);return(0,a.useEffect)((()=>{(0,r.isEmpty)(e)||o.test(e)||s(e)}),[e]),n}},88707:function(e,t,n){"use strict";n.d(t,{tC:function(){return a},pU:function(){return o},CC:function(){return i}});const r=/<\s*script[^>]*src\s*=\s*["']?([^"']*)/i,a=/restref=([0-9]+)&/,o=/rid=([0-9]+)&/,i=e=>{if(e)return(e=>{if(!e)return;let t="";if(t=0===e.indexOf("http")?new URL(e):new URL("http:"+e),!t.host||-1===t.host.indexOf("opentable")||!t.search)return;const n=new URLSearchParams(t.search);let r=n.get("theme");"button"===n.get("type")&&(r=n.get("type"));let a=n.getAll("rid");if(a&&0!==a.length||(a=n.getAll("restref")),!a||0===a.length)return;const o={};a&&(o.rid=a);const i=n.get("domain");i&&(o.domain=i);const s=n.get("iframe");s&&(o.iframe=s);const l=n.get("lang");l&&(o.lang=l);const c=n.get("newtab");return c&&(o.newtab=c),r&&(o.style=r),o})((e=>{const t=e.match(r);return t&&t[1]?t[1]:a.test(e)||o.test(e)?e:void 0})(e))}},79509:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(18161);const __=a.__,_x=a._x;function l(e){let{className:t,onSubmit:n,noticeUI:a,url:l,setUrl:c}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.Placeholder,{label:__("Pinterest","jetpack"),icon:(0,r.createElement)(i.BlockIcon,{icon:s.qv}),notices:a},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),n()}},(0,r.createElement)("input",{type:"url",value:l,className:"components-placeholder__input","aria-label":__("Pinterest URL","jetpack"),placeholder:__("Enter URL to embed here…","jetpack"),onChange:e=>c(e.target.value)}),(0,r.createElement)(o.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))))}},49362:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981);const __=a.__,_x=a._x;function s(e){let{fallbackUrl:t,onClick:n}=e;return(0,r.createElement)(r.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,r.createElement)(o.Button,{isLink:!0,onClick:()=>{const e=(0,r.createElement)("a",{href:t},t);n((0,i.createBlock)("core/paragraph",{content:(0,r.renderToString)(e)}))}},_x("Convert block to link","button label","jetpack")))}},61989:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(){return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(o.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack")))}},4052:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setEditingState:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},41659:function(e,t,n){"use strict";var r=n(69307),a=n(94991);t.Z={attributes:{url:{type:"string"}},supports:{align:!1,html:!1},save:e=>{let{attributes:t,className:n}=e;const{url:o}=t;return(0,a.t)(o)?(0,r.createElement)("div",{className:n},(0,r.createElement)("a",{"data-pin-do":(0,a.t)(o),href:o})):null}}},81253:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(52175),i=n(94991),s=n(4052),l=n(61989),c=n(79509),u=n(49362),p=n(79474);t.Z=(0,a.withNotices)((function(e){let{attributes:t,isSelected:n,className:d,noticeOperations:m,noticeUI:h,setAttributes:f,onReplace:g}=e;const{url:b}=t,{isFetching:k,pinterestUrl:v,testUrl:y,hasTestUrlError:E}=(0,p.Z)(),[w,_]=(0,r.useState)(!1),[C,x]=(0,r.useState)(""),[j,S]=(0,r.useState)(!1),A=(0,r.useCallback)((()=>(0,r.createElement)(u.Z,{fallbackUrl:C,onClick:g})),[E]),N=()=>{k||(y(C),S(!1))},T=()=>{_(!0)};if((0,r.useEffect)((()=>{b&&y(b)}),[]),(0,r.useEffect)((()=>{!n&&w&&_(!1)}),[n,w]),(0,r.useEffect)((()=>{f({url:v}),m.removeAllNotices(),v&&x(v),E&&m.createErrorNotice(A())}),[v,E,f,A]),k)return(0,r.createElement)(l.Z,null);const P=(0,i.t)(b);if(j||!b||b&&!P)return(0,r.createElement)(c.Z,{className:d,onSubmit:N,noticeUI:h,url:C,setUrl:x});const M=`<a data-pin-do='${P}' href='${b}'></a>`;return(0,r.createElement)("div",{className:d},(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.C,{setEditingState:S})),(0,r.createElement)("div",null,(0,r.createElement)(a.SandBox,{html:M,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:T}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:T})))}))},79474:function(e,t,n){"use strict";var r=n(69307),a=n(87072),o=n(18161);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(!1),[i,s]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i&&i!==o.a0&&(n(!0),(0,a.Z)(i).then((e=>{n(!1),s(e),c(!1)})).catch((()=>{n(!1),s(i||void 0),c(!0)})))}),[i]),{isFetching:t,pinterestUrl:i,hasTestUrlError:l,testUrl:s}}},18161:function(e,t,n){"use strict";n.d(t,{Wh:function(){return p},a0:function(){return d},u2:function(){return m},qv:function(){return f},Xd:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(81253),l=n(26981),c=n(57535),u=n(41659);const __=a.__,_x=a._x,p=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,d="https://pinterest.com/anapinskywalker/",m="pinterest",h=__("Pinterest","jetpack"),f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,null,(0,r.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),g={title:h,description:__("Embed a Pinterest pin, board, or user.","jetpack"),icon:{src:f,foreground:(0,c.m)()},category:"embed",keywords:[_x("social","block search term","jetpack"),_x("pinboard","block search term","jetpack"),_x("pins","block search term","jetpack")],supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:s.Z,save:l.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&p.test(e.textContent),transform:e=>(0,i.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}]},example:{attributes:{url:d}},deprecated:[u.Z]}},26981:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;return(0,r.createElement)("a",{href:n},n)}},94991:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(96483),a=n(18161);function o(e){if(!a.Wh.test(e))return"";const t=(0,r.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}},96440:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(55609),l=n(39630);const __=o.__,c=e=>{let{id:t,setRating:n,children:a}=e;return(0,r.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(o=t,e=>{let{keyCode:t}=e;return t===l.ENTER?n(o):null}),onClick:(e=>()=>n(e))(t)},a);var o};t.Z=e=>function(t){let{className:n,setAttributes:o,attributes:{align:l,color:u,rating:p,maxRating:d}}=t;const m=e=>{e===p?Math.ceil(p)===p&&(e-=.5):.5===p&&1===e&&(e=0),o({rating:e})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(i.AlignmentToolbar,{value:l,onChange:e=>o({align:e})})),(0,r.createElement)("div",{className:n,style:{textAlign:l}},(0,a.range)(1,d+1).map((t=>(0,r.createElement)(c,{key:t,id:t,setRating:m},(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t-.5?null:"is-rating-unfilled",color:u})),(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t?null:"is-rating-unfilled",color:u})))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.RangeControl,{label:__("Highest rating","jetpack"),value:d,onChange:e=>o({maxRating:e}),min:2,max:10}),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:u,onChange:e=>o({color:e}),label:__("Color","jetpack")}]}))))}},9615:function(e,t,n){"use strict";n.d(t,{d:function(){return o},r:function(){return i}});var r=n(69307),a=n(55609);const o=()=>(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"})),i=e=>{const t=(e=>e&&e.color?e.color:"currentColor")(e),n=(e=>e&&e.className?e.className:"")(e);return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},(0,r.createElement)(a.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))}},84807:function(e,t,n){"use strict";n.d(t,{u:function(){return l},X:function(){return c}});var r=n(65736),a=n(96440),o=n(2027),i=n(9615),s=n(57535);const __=r.__,_x=r._x,l="rating-star",c={title:__("Star Rating","jetpack"),description:__("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:{src:i.d,foreground:(0,s.m)()},keywords:[_x("star","block search term","jetpack"),_x("rating","block search term","jetpack"),_x("review","block search term","jetpack")],category:"widgets",example:{},styles:[{name:"filled",label:_x("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:_x("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:(0,a.Z)(i.r),save:(0,o.Z)("★")}},2027:function(e,t,n){"use strict";var r=n(69307),a=n(92819);t.Z=e=>function(t){let{className:n,attributes:{align:o,rating:i,color:s}}=t;return(0,r.createElement)("figure",{className:n,style:{textAlign:o}},(0,a.range)(1,i+1).map((t=>(0,r.createElement)("span",{key:t,style:{color:s}},e))))}},79642:function(e,t,n){"use strict";n.d(t,{G:function(){return u},J:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(51591),s=n(48721),l=n(4235),c=n(37930);const __=a.__;function u(e){let{attributes:{planId:t},products:n,setMembershipAmount:a}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Payment plan","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Payment plan","jetpack"),value:t,onChange:e=>a(e),options:n.map((e=>({label:(0,s.C)(e),value:e.id,key:e.id})))})),(0,r.createElement)(o.PanelBody,{title:__("Management","jetpack")},(0,r.createElement)(o.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,l.Z)()}`},__("See your earnings, subscriber list, and payment plans.","jetpack"))))}function p(e){let{connected:t,connectURL:n,hasUpgradeNudge:a,shouldUpgrade:s}=e;const{autosaveAndRedirect:l}=(0,c.Z)(n);return(0,r.createElement)(r.Fragment,null,!a&&!s&&!t&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:i.Pw,onClick:l,className:"connect-stripe components-tab-button"},__("Connect Stripe","jetpack"))))}},2235:function(e,t,n){"use strict";var r=n(92819),a=n(4981);const o=["submitButtonText","submitButtonClasses","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},submitButtonClasses:{type:"string"},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},migrate:e=>{const t=(0,r.omit)(e,o),n={text:(i=e).submitButtonText,textColor:i.textButtonColor,customTextColor:i.customTextButtonColor,backgroundColor:i.backgroundButtonColor,customBackgroundColor:i.customBackgroundButtonColor};var i;return[t,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"recurring-payments-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,o),Boolean),save:()=>null}},39035:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(86989),c=n.n(l),u=n(65736),p=n(78850),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(92694),b=n(21409),k=n(17882),v=n(2368),y=n(82163),E=n(79642),w=n(48721);const __=u.__;class _ extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e={path:"/wpcom/v2/memberships/status",method:"GET"};c()(e).then((e=>{if(e.errors&&Object.values(e.errors)&&Object.values(e.errors)[0][0])return this.setState({connected:null,connectURL:2}),void this.onError(Object.values(e.errors)[0][0]);const{connect_url:t,products:n,should_upgrade_to_access_memberships:r,upgrade_url:a}=e,o=e.connected_account_id?1:2;this.setState({connected:o,connectURL:t,shouldUpgrade:r,upgradeURL:a,products:(0,y.ME)(n)})}),(e=>{this.setState({connected:2,connectURL:null}),this.onError(e.message)}))})),a()(this,"handleCurrencyChange",(e=>{let t=this.state.editedProductPrice;(0,k.vs)(e,t)||(t=(0,w.w)((0,k.hj)(e),e)),this.setState({editedProductCurrency:e,editedProductPrice:t,editedProductPriceValid:!0})})),a()(this,"handleRenewIntervalChange",(e=>this.setState({editedProductRenewInterval:e}))),a()(this,"handlePriceChange",(e=>{const t=parseFloat(e),n=(0,k.vs)(this.state.editedProductCurrency,t);this.setState({editedProductPrice:t,editedProductPriceValid:n})})),a()(this,"handleTitleChange",(e=>this.setState({editedProductTitle:e,editedProductTitleValid:e.length>0}))),a()(this,"saveProduct",(()=>{if(!this.state.editedProductTitle||0===this.state.editedProductTitle.length)return void this.setState({editedProductTitleValid:!1});if(!this.state.editedProductPrice||!(0,k.vs)(this.state.editedProductCurrency,this.state.editedProductPrice))return void this.setState({editedProductPriceValid:!1});this.setState({addingMembershipAmount:2});const e={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:this.state.editedProductCurrency,price:this.state.editedProductPrice,title:this.state.editedProductTitle,interval:this.state.editedProductRenewInterval}};c()(e).then((e=>{this.setState({addingMembershipAmount:0,products:this.state.products.concat([{id:e.id,title:e.title,interval:e.interval,price:e.price,currency:e.currency}])}),this.setMembershipAmount(e.id)}),(e=>{this.setState({addingMembershipAmount:1}),this.onError(e.message)}))})),a()(this,"renderAddMembershipAmount",(e=>{if(0===this.state.addingMembershipAmount&&!e)return(0,o.createElement)(h.Button,{isPrimary:!0,isLarge:!0,onClick:()=>this.setState({addingMembershipAmount:1})},__("Add a payment plan","jetpack"));if(2===this.state.addingMembershipAmount)return;const t=(0,p.ZP)((0,k.hj)(this.state.editedProductCurrency),this.state.editedProductCurrency),n=(0,u.sprintf)(
-/* translators: placeholder is a price. */
-__("Minimum allowed price is %s.","jetpack"),t);return(0,o.createElement)("div",null,(0,o.createElement)("div",{className:"membership-button__price-container"},(0,o.createElement)(h.SelectControl,{className:"membership-button__field membership-button__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:k.Xy,value:this.state.editedProductCurrency}),(0,o.createElement)("div",{className:"membership-membership-button__field membership-button__field-price"},(0,o.createElement)(h.TextControl,{label:__("Price","jetpack"),className:s()({"membership-button__field-error":!this.state.editedProductPriceValid}),onChange:this.handlePriceChange,placeholder:t,required:!0,min:"0",step:"1",type:"number",value:this.state.editedProductPrice||""}),(0,o.createElement)("p",null,n))),(0,o.createElement)(h.TextControl,{className:s()({"membership-button__field":!0,"membership-button__field-error":!this.state.editedProductTitleValid}),label:__("Describe your subscription in a few words","jetpack"),onChange:this.handleTitleChange,placeholder:__("Subscription description","jetpack"),value:this.state.editedProductTitle}),(0,o.createElement)(h.SelectControl,{label:__("Renew interval","jetpack"),onChange:this.handleRenewIntervalChange,options:[{label:__("Monthly","jetpack"),value:"1 month"},{label:__("Yearly","jetpack"),value:"1 year"},{label:__("One-Time Payment","jetpack"),value:"one-time"}],value:this.state.editedProductRenewInterval}),(0,o.createElement)("div",null,(0,o.createElement)(h.Button,{isPrimary:!0,isLarge:!0,className:"membership-button__field-button membership-button__add-amount",onClick:this.saveProduct},__("Add this payment plan","jetpack")),(0,o.createElement)(h.Button,{isLarge:!0,className:"membership-button__field-button",onClick:()=>this.setState({addingMembershipAmount:0})},__("Cancel","jetpack"))))})),a()(this,"getFormattedPriceByProductId",(e=>{const t=this.state.products.filter((t=>parseInt(t.id)===parseInt(e))).pop();return(0,p.ZP)(parseFloat(t.price),t.currency)})),a()(this,"setMembershipAmount",(e=>{const{innerButtons:t,updateBlockAttributes:n,setAttributes:r}=this.props,a=this.props.attributes.planId,o=(0,u.sprintf)(
-/* translators: placeholder is an amount of money. */
-__("%s contribution","jetpack"),this.getFormattedPriceByProductId(e)),i=a?(0,u.sprintf)(
-/* translators: placeholder is an amount of money. */
-__("%s contribution","jetpack"),this.getFormattedPriceByProductId(a)):void 0;return t&&t.length&&t[0].innerBlocks.forEach((e=>{const t=e.attributes.text,r=t===i?o:t;n(e.clientId,{text:r})})),r({planId:parseInt(e)})})),a()(this,"renderMembershipAmounts",(()=>(0,o.createElement)("div",null,this.state.products.map((e=>(0,o.createElement)(h.Button,{className:"membership-button__field-button",isLarge:!0,isSecondary:!0,key:e.id,onClick:()=>this.setMembershipAmount(e.id)},(0,w.C)(e))))))),a()(this,"renderDisclaimer",(()=>(0,o.createElement)("div",{className:"membership-button__disclaimer"},(0,o.createElement)(h.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack"))))),a()(this,"renderUpgradeNudges",(()=>{const{notices:e}=this.props;return(0,o.createElement)(o.Fragment,null,!this.hasUpgradeNudge&&this.state.shouldUpgrade&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e,instructions:__("You'll need to upgrade your plan to use the Payments block.","jetpack")},(0,o.createElement)(h.Button,{isSecondary:!0,isLarge:!0,href:this.state.upgradeURL,target:"_blank"},__("Upgrade your plan","jetpack")),this.renderDisclaimer())))})),a()(this,"renderPlanNotices",(()=>{const{notices:e}=this.props,{connected:t,products:n}=this.state;return(0,o.createElement)(o.Fragment,null,(0===t||2===this.state.addingMembershipAmount)&&!this.props.attributes.planId&&(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),notices:e},(0,o.createElement)(h.Spinner,null)),!this.state.shouldUpgrade&&!this.props.attributes.planId&&1===t&&0===n.length&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e},(0,o.createElement)("div",{className:"components-placeholder__instructions"},(0,o.createElement)("p",null,__("To use this block, first add at least one payment plan.","jetpack")),this.renderAddMembershipAmount(!0),this.renderDisclaimer()))),!this.state.shouldUpgrade&&!this.props.attributes.planId&&2!==this.state.addingMembershipAmount&&1===t&&n.length>0&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e},(0,o.createElement)("div",{className:"components-placeholder__instructions"},(0,o.createElement)("p",null,__("To use this block, select a previously created payment plan.","jetpack")),this.renderMembershipAmounts(),(0,o.createElement)("p",null,__("Or a new one.","jetpack")),this.renderAddMembershipAmount(!1),this.renderDisclaimer()))))})),a()(this,"render",(()=>{const{connected:e,connectURL:t,products:n}=this.state,r=(0,g.applyFilters)("jetpack.RecurringPayments.showControls",n.length>0,this.props.clientId),a=(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(E.G,{attributes:this.props.attributes,products:n,setMembershipAmount:this.setMembershipAmount})),i=(0,o.createElement)(f.BlockControls,null,(0,o.createElement)(E.J,{connected:2!==e,connectURL:(0,v.Z)(this.props.postId,t),hasUpgradeNudge:this.hasUpgradeNudge,shouldUpgrade:this.state.shouldUpgrade}));return(0,o.createElement)(o.Fragment,null,this.props.noticeUI,!this.isPremiumContentChild&&this.renderUpgradeNudges(),!this.isPremiumContentChild&&this.renderPlanNotices(),r&&a,i,(0,o.createElement)(f.InnerBlocks,{template:[["jetpack/button",{element:"a",uniqueId:"recurring-payments-id"}]],templateLock:"all",__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))})),this.state={connected:0,connectURL:null,addingMembershipAmount:0,shouldUpgrade:!1,upgradeURL:"",products:[],editedProductCurrency:"USD",editedProductPrice:(0,w.w)((0,k.hj)("USD"),"USD"),editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},this.timeout=null;const e=(0,b.Z)("recurring-payments");this.hasUpgradeNudge=!e.available&&"missing_plan"===e.unavailableReason,this.isPremiumContentChild=this.props.context.isPremiumContentChild||!1}}t.Z=(0,d.compose)([(0,m.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()}))),(0,m.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/editor");return{updateBlockAttributes:t,autosaveAndRedirect:async(t,n)=>{t.preventDefault(),await e("core/editor").savePost(),window.top.location.href=n}}})),h.withNotices])(_)},82163:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},qv:function(){return d},Xd:function(){return m},ME:function(){return h}});var r=n(69307),a=n(55609),o=n(52175),i=n(65736),s=n(57535),l=n(2235),c=n(39035),u=n(17882);const __=i.__,_x=i._x,p="recurring-payments",d=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},(0,r.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"}))),m={title:__("Payments","jetpack"),icon:{src:d,foreground:(0,s.m)()},description:__("Button allowing you to sell products and subscriptions.","jetpack"),category:"earn",keywords:[_x("sell","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("product","block search term","jetpack"),"stripe",_x("memberships","block search term","jetpack")],usesContext:["isPremiumContentChild"],attributes:{planId:{type:"integer"},align:{type:"string"}},edit:c.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},supports:{html:!1,align:!0},deprecated:[l.Z]};function h(e){return e.filter((e=>(0,u.vs)(e.currency,e.price)))}},48721:function(e,t,n){"use strict";n.d(t,{w:function(){return o},C:function(){return i}});var r=n(65736),a=n(78850);const __=r.__,o=(e,t)=>(0,a.ZP)(e,t,{decimal:".",symbol:""}),i=e=>{const t=(0,a.ZP)(parseFloat(e.price),e.currency);return"1 month"===e.interval?(0,r.sprintf)(
-/* translators: placeholder is a price. */
-__("%s / month","jetpack"),t):"1 year"===e.interval?(0,r.sprintf)(
-/* translators: placeholder is a price. */
-__("%s / year","jetpack"),t):"one-time"===e.interval?t:(0,r.sprintf)(
-/* translators: %1$s is a price, %2$s is a period (1 year for example) */
-__("%1$s / %2$s","jetpack"),t,e.interval)}},14823:function(e,t,n){"use strict";n.d(t,{Hj:function(){return i},AP:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{attributes:t,setAttributes:n}=e;const{displayContext:a,displayDate:i,displayThumbnails:s,postsToShow:l}=t;return(0,r.createElement)(o.PanelBody,{title:__("Related Posts Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Display thumbnails","jetpack"),checked:s,onChange:e=>n({displayThumbnails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display date","jetpack"),checked:i,onChange:e=>n({displayDate:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display context (category or tag)","jetpack"),checked:a,onChange:e=>n({displayContext:e})}),(0,r.createElement)(o.RangeControl,{label:__("Number of posts","jetpack"),value:l,onChange:e=>n({postsToShow:Math.min(e,6)}),min:1,max:6}))}function s(e){let{attributes:t,setAttributes:n}=e;const{postLayout:a}=t,i=[{icon:"grid-view",title:__("Grid View","jetpack"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===a},{icon:"list-view",title:__("List View","jetpack"),onClick:()=>n({postLayout:"list"}),isActive:"list"===a}];return(0,r.createElement)(o.ToolbarGroup,{controls:i})}},31759:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(92819),l=n(9818),c=n(94333),u=n(14823);const __=a.__;function p(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},e.isInSiteEditor?__("Preview unavailable in site editor.","jetpack"):__("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&(0,r.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":__("Placeholder image","jetpack")},(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},(0,r.createElement)("title",null,__("Grey square","jetpack")),(0,r.createElement)(i.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("title",null,__("Icon for image","jetpack")),(0,r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},__("August 3, 2018","jetpack")),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},__("In “Uncategorized”","jetpack")))}function d(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&(0,r.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},(0,r.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function m(e){const t="jp-related-posts-i2__row";let n=0;const a=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:n=2;break;default:n=3}return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(0,n).length},e.posts.slice(0,n)),a&&(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(n).length},e.posts.slice(n)))}class h extends r.Component{render(){const{attributes:e,className:t,posts:n,setAttributes:a,instanceId:i,isInSiteEditor:s}=this.props,{displayContext:l,displayDate:c,displayThumbnails:h,postLayout:f,postsToShow:g}=e,b="jp-relatedposts-i2",k=[];for(let e=0;e<g;e++)n[e]?k.push((0,r.createElement)(d,{id:`related-posts-${i}-post-${e}`,key:b+"-"+e,post:n[e],displayThumbnails:h,displayDate:c,displayContext:l})):k.push((0,r.createElement)(p,{id:`related-posts-${i}-post-${e}`,key:"related-post-placeholder-"+e,displayThumbnails:h,displayDate:c,displayContext:l,isInSiteEditor:s}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(u.Hj,{attributes:e,setAttributes:a})),(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(u.AP,{attributes:e,setAttributes:a})),(0,r.createElement)("div",{className:t,id:`related-posts-${i}`},(0,r.createElement)("div",{className:b,"data-layout":f},(0,r.createElement)(m,{posts:k}))))}}t.ZP=(0,c.compose)(c.withInstanceId,(0,l.withSelect)((e=>{const{getCurrentPost:t}=e("core/editor"),n=t();return{posts:(0,s.get)(n,"jetpack-related-posts",[]),isInSiteEditor:(0,s.isEmpty)(n)}})))(h)},32051:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},Xd:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(31759),s=n(57535);const __=a.__,_x=a._x,l="related-posts",c=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},(0,r.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),u={title:__("Related Posts","jetpack"),icon:{src:c,foreground:(0,s.m)()},category:"embed",keywords:[_x("similar content","block search term","jetpack"),_x("linked","block search term","jetpack"),_x("connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:i.ZP,save:()=>null,example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}}},35978:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(9818),u=n(89105),p=n.n(u),d=n(46314),m=n(57368);const __=i.__,_n=i._n,h=[{value:d.FV,label:__("Show after threshold","jetpack")},{value:d.Am,label:__("Show before threshold","jetpack")}];class f extends o.Component{constructor(){super(...arguments),a()(this,"state",{isThresholdValid:!0}),a()(this,"setCriteria",(e=>this.props.setAttributes({criteria:e}))),a()(this,"setThreshold",(e=>{if(/^\d+$/.test(e)&&+e>0)return this.props.setAttributes({threshold:+e}),void this.setState({isThresholdValid:!0});this.setState({isThresholdValid:!1})}))}getNoticeLabel(){return this.props.attributes.criteria===d.FV?1===this.props.attributes.threshold?__("This block will only appear to people who have visited this page more than once.","jetpack"):(0,i.sprintf)(
+__("Open Table Preview %s","jetpack"),a),scrolling:"no",src:`https://www.opentable.com/widget/reservation/canvas?rid=${(0,i.join)(S,"%2C")}&type=${t}&theme=${n}&overlay=false&domain=${P}&lang=${N&&f.vW.includes(N)?N:"en-US"}&newtab=${T}&disablega=true`}))})()))}))},15040:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},(0,r.createElement)(a.Path,{d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))},69309:function(e,t,n){"use strict";n.d(t,{Xd:function(){return h},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(4981),i=n(31283),s=n(80452),l=n(70398),c=n(76851),u=n(15040),p=n(48769),d=n(70355);n(85921);const __=a.__,_x=a._x,m="opentable",h={title:__("OpenTable","jetpack"),description:__("Allow visitors to book a reservation with OpenTable","jetpack"),icon:{src:u.Z,foreground:(0,d.m)()},category:"earn",keywords:[_x("booking","block search term","jetpack"),_x("reservation","block search term","jetpack"),_x("restaurant","block search term","jetpack")],supports:{align:!0,html:!1},edit:c.Z,save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map(((e,t)=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`,key:`${e}-${t}`},`https://www.opentable.com/restref/client/?rid=${e}`))))},attributes:i.ez,styles:(0,i.Eo)(),example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1,negativeMargin:!1}},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&0===e.textContent.indexOf("http")&&(p.pU.test(e.textContent)||p.tC.test(e.textContent)),transform:e=>{const t=(0,p.CC)(e.textContent);return(0,o.createBlock)("jetpack/opentable",t)}}]},deprecated:[s.Z,l.Z]}},57087:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(92819),s=n(55609),l=n(65736),c=n(25392);const __=l.__,_n=l._n;function u(e){const[t,n]=(0,o.useState)(""),r=(0,c.Z)(t,20),[l,u]=(0,o.useState)(e.rids||[]),p=/^(\d+)$|\(\#(\d+)\)$/,d=r.filter((e=>l.indexOf(e.rid.toString())<0)).map((e=>e.name+` (#${e.rid})`)),m=(0,o.createElement)(s.FormTokenField,a()({value:l,suggestions:d,saveTransform:e=>c.$.test(e)?"":e.trim(),onInputChange:n,maxSuggestions:20,label:_n("Restaurant","Restaurants",l.length,"jetpack")},e,{onChange:t=>{const n=t.map((e=>{const t=p.exec(e);return t[1]||t[2]}));u(n),e.onChange&&e.onChange(n)}}));return(0,o.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),e.onSubmit((0,i.isEmpty)(l)?t:l)}},m,(0,o.createElement)(s.Button,{variant:"secondary",type:"submit"},__("Embed","jetpack"))):m)}},41007:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},25392:function(e,t,n){"use strict";n.d(t,{$:function(){return o},Z:function(){return i}});var r=n(92819),a=n(69307);const o=/^\s*(http[s]?:\/\/|\<script)/;function i(e,t){const[n,i]=(0,a.useState)([]),s=(0,a.useCallback)((0,r.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((e=>e.json())).then((e=>i((0,r.unionBy)(n,e.items,"rid"))))}),500),[n]);return(0,a.useEffect)((()=>{(0,r.isEmpty)(e)||o.test(e)||s(e)}),[e]),n}},48769:function(e,t,n){"use strict";n.d(t,{CC:function(){return i},pU:function(){return o},tC:function(){return a}});const r=/<\s*script[^>]*src\s*=\s*["']?([^"']*)/i,a=/restref=([0-9]+)&/,o=/rid=([0-9]+)&/,i=e=>{if(e)return(e=>{if(!e)return;let t="";if(t=0===e.indexOf("http")?new URL(e):new URL("http:"+e),!t.host||-1===t.host.indexOf("opentable")||!t.search)return;const n=new URLSearchParams(t.search);let r=n.get("theme");"button"===n.get("type")&&(r=n.get("type"));let a=n.getAll("rid");if(a&&0!==a.length||(a=n.getAll("restref")),!a||0===a.length)return;const o={};a&&(o.rid=a);const i=n.get("domain");i&&(o.domain=i);const s=n.get("iframe");s&&(o.iframe=s);const l=n.get("lang");l&&(o.lang=l);const c=n.get("newtab");return c&&(o.newtab=c),r&&(o.style=r),o})((e=>{const t=e.match(r);return t&&t[1]?t[1]:a.test(e)||o.test(e)?e:void 0})(e))}},15774:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(66094);const __=a.__,_x=a._x;function s(e){let{className:t,onSubmit:n,noticeUI:a,url:s,setUrl:l}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.Placeholder,{label:__("Pinterest","jetpack"),icon:i.qv,notices:a},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),n()}},(0,r.createElement)("input",{type:"url",value:s,className:"components-placeholder__input","aria-label":__("Pinterest URL","jetpack"),placeholder:__("Enter URL to embed here…","jetpack"),onChange:e=>l(e.target.value)}),(0,r.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))))}},89488:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981);const __=a.__,_x=a._x;function s(e){let{fallbackUrl:t,onClick:n}=e;return(0,r.createElement)(r.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,r.createElement)(o.Button,{variant:"link",onClick:()=>{const e=(0,r.createElement)("a",{href:t},t);n((0,i.createBlock)("core/paragraph",{content:(0,r.renderToString)(e)}))}},_x("Convert block to link","button label","jetpack")))}},13647:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(){return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(o.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack")))}},89852:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setEditingState:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},15479:function(e,t,n){"use strict";var r=n(69307),a=n(34098);t.Z={attributes:{url:{type:"string"}},supports:{align:!1,html:!1},save:e=>{let{attributes:t,className:n}=e;const{url:o}=t;return(0,a.t)(o)?(0,r.createElement)("div",{className:n},(0,r.createElement)("a",{"data-pin-do":(0,a.t)(o),href:o})):null}}},43529:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(52175),i=n(34098),s=n(89852),l=n(13647),c=n(15774),u=n(89488),p=n(18867);t.Z=(0,a.withNotices)((function(e){let{attributes:t,isSelected:n,className:d,noticeOperations:m,noticeUI:h,setAttributes:f,onReplace:g}=e;const{url:b}=t,{isFetching:v,pinterestUrl:k,testUrl:y,hasTestUrlError:E}=(0,p.Z)(),[w,_]=(0,r.useState)(!1),[C,x]=(0,r.useState)(""),[j,S]=(0,r.useState)(!1),A=(0,r.useCallback)((()=>(0,r.createElement)(u.Z,{fallbackUrl:C,onClick:g})),[E]),P=()=>{v||(y(C),S(!1))},N=()=>{_(!0)};if((0,r.useEffect)((()=>{b&&y(b)}),[]),(0,r.useEffect)((()=>{!n&&w&&_(!1)}),[n,w]),(0,r.useEffect)((()=>{f({url:k}),m.removeAllNotices(),k&&x(k),E&&m.createErrorNotice(A())}),[k,E,f,A]),v)return(0,r.createElement)(l.Z,null);const T=(0,i.t)(b);if(j||!b||b&&!T)return(0,r.createElement)(c.Z,{className:d,onSubmit:P,noticeUI:h,url:C,setUrl:x});const R=`<a data-pin-do='${T}' href='${b}'></a>`;return(0,r.createElement)("div",{className:d},(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.C,{setEditingState:S})),(0,r.createElement)("div",null,(0,r.createElement)(a.SandBox,{html:R,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:N}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:N})))}))},18867:function(e,t,n){"use strict";var r=n(69307),a=n(23621),o=n(66094);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(!1),[i,s]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i&&i!==o.a0&&(n(!0),(0,a.Z)(i).then((e=>{n(!1),s(e),c(!1)})).catch((()=>{n(!1),s(i||void 0),c(!0)})))}),[i]),{isFetching:t,pinterestUrl:i,hasTestUrlError:l,testUrl:s}}},66094:function(e,t,n){"use strict";n.d(t,{Wh:function(){return p},Xd:function(){return g},a0:function(){return d},qv:function(){return f},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(43529),l=n(54709),c=n(70355),u=n(15479);const __=a.__,_x=a._x,p=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,d="https://pinterest.com/anapinskywalker/",m="pinterest",h=__("Pinterest","jetpack"),f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,null,(0,r.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),g={title:h,description:__("Embed a Pinterest pin, board, or user.","jetpack"),icon:{src:f,foreground:(0,c.m)()},category:"embed",keywords:[_x("social","block search term","jetpack"),_x("pinboard","block search term","jetpack"),_x("pins","block search term","jetpack")],supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:s.Z,save:l.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&p.test(e.textContent),transform:e=>(0,i.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}]},example:{attributes:{url:d}},deprecated:[u.Z]}},54709:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;return(0,r.createElement)("a",{href:n},n)}},34098:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(96483),a=n(66094);function o(e){if(!a.Wh.test(e))return"";const t=(0,r.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}},10799:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(55609);const __=o.__,l=e=>{let{id:t,setRating:n,children:a}=e;return(0,r.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(o=t,e=>{let{code:t}=e;return"Enter"===t?n(o):null}),onClick:(e=>()=>n(e))(t)},a);var o};t.Z=e=>function(t){let{className:n,setAttributes:o,attributes:{align:c,color:u,rating:p,maxRating:d}}=t;const m=e=>{e===p?Math.ceil(p)===p&&(e-=.5):.5===p&&1===e&&(e=0),o({rating:e})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(i.AlignmentToolbar,{value:c,onChange:e=>o({align:e})})),(0,r.createElement)("div",{className:n,style:{textAlign:c}},(0,a.range)(1,d+1).map((t=>(0,r.createElement)(l,{key:t,id:t,setRating:m},(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t-.5?null:"is-rating-unfilled",color:u})),(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t?null:"is-rating-unfilled",color:u})))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.RangeControl,{label:__("Highest rating","jetpack"),value:d,onChange:e=>o({maxRating:e}),min:2,max:10}),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:u,onChange:e=>o({color:e}),label:__("Color","jetpack")}]}))))}},5056:function(e,t,n){"use strict";n.d(t,{d:function(){return o},r:function(){return i}});var r=n(69307),a=n(55609);const o=()=>(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"})),i=e=>{const t=(e=>e&&e.color?e.color:"currentColor")(e),n=(e=>e&&e.className?e.className:"")(e);return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},(0,r.createElement)(a.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))}},90362:function(e,t,n){"use strict";n.d(t,{X:function(){return c},u:function(){return l}});var r=n(65736),a=n(10799),o=n(78403),i=n(5056),s=n(70355);const __=r.__,_x=r._x,l="rating-star",c={title:__("Star Rating","jetpack"),description:__("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:{src:i.d,foreground:(0,s.m)()},keywords:[_x("star","block search term","jetpack"),_x("rating","block search term","jetpack"),_x("review","block search term","jetpack")],category:"widgets",example:{},styles:[{name:"filled",label:_x("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:_x("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:(0,a.Z)(i.r),save:(0,o.Z)("★")}},78403:function(e,t,n){"use strict";var r=n(69307),a=n(92819);t.Z=e=>function(t){let{className:n,attributes:{align:o,rating:i,color:s}}=t;return(0,r.createElement)("figure",{className:n,style:{textAlign:o}},(0,a.range)(1,i+1).map((t=>(0,r.createElement)("span",{key:t,style:{color:s}},e))))}},53296:function(e,t,n){"use strict";n.d(t,{AP:function(){return s},Hj:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{attributes:t,setAttributes:n}=e;const{displayContext:a,displayDate:i,displayThumbnails:s,postsToShow:l}=t;return(0,r.createElement)(o.PanelBody,{title:__("Related Posts Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Display thumbnails","jetpack"),checked:s,onChange:e=>n({displayThumbnails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display date","jetpack"),checked:i,onChange:e=>n({displayDate:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display context (category or tag)","jetpack"),checked:a,onChange:e=>n({displayContext:e})}),(0,r.createElement)(o.RangeControl,{label:__("Number of posts","jetpack"),value:l,onChange:e=>n({postsToShow:Math.min(e,6)}),min:1,max:6}))}function s(e){let{attributes:t,setAttributes:n}=e;const{postLayout:a}=t,i=[{icon:"grid-view",title:__("Grid View","jetpack"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===a},{icon:"list-view",title:__("List View","jetpack"),onClick:()=>n({postLayout:"list"}),isActive:"list"===a}];return(0,r.createElement)(o.ToolbarGroup,{controls:i})}},86434:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(92819),l=n(9818),c=n(94333),u=n(53296);const __=a.__;function p(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},e.isInSiteEditor?__("Preview unavailable in site editor.","jetpack"):__("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&(0,r.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":__("Placeholder image","jetpack")},(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},(0,r.createElement)("title",null,__("Grey square","jetpack")),(0,r.createElement)(i.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("title",null,__("Icon for image","jetpack")),(0,r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},__("August 3, 2018","jetpack")),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},__("In “Uncategorized”","jetpack")))}function d(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&(0,r.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},(0,r.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function m(e){const t="jp-related-posts-i2__row";let n=0;const a=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:n=2;break;default:n=3}return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(0,n).length},e.posts.slice(0,n)),a&&(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(n).length},e.posts.slice(n)))}class h extends r.Component{render(){const{attributes:e,className:t,posts:n,setAttributes:a,instanceId:i,isInSiteEditor:s}=this.props,{displayContext:l,displayDate:c,displayThumbnails:h,postLayout:f,postsToShow:g}=e,b="jp-relatedposts-i2",v=[];for(let e=0;e<g;e++)n[e]?v.push((0,r.createElement)(d,{id:`related-posts-${i}-post-${e}`,key:b+"-"+e,post:n[e],displayThumbnails:h,displayDate:c,displayContext:l})):v.push((0,r.createElement)(p,{id:`related-posts-${i}-post-${e}`,key:"related-post-placeholder-"+e,displayThumbnails:h,displayDate:c,displayContext:l,isInSiteEditor:s}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(u.Hj,{attributes:e,setAttributes:a})),(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(u.AP,{attributes:e,setAttributes:a})),(0,r.createElement)("div",{className:t,id:`related-posts-${i}`},(0,r.createElement)("div",{className:b,"data-layout":f},(0,r.createElement)(m,{posts:v}))))}}t.ZP=(0,c.compose)(c.withInstanceId,(0,l.withSelect)((e=>{const{getCurrentPost:t}=e("core/editor"),n=t();return{posts:(0,s.get)(n,"jetpack-related-posts",[]),isInSiteEditor:(0,s.isEmpty)(n)}})))(h)},92882:function(e,t,n){"use strict";n.d(t,{Xd:function(){return u},u2:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(86434),s=n(70355);const __=a.__,_x=a._x,l="related-posts",c=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},(0,r.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),u={title:__("Related Posts","jetpack"),icon:{src:c,foreground:(0,s.m)()},category:"embed",keywords:[_x("similar content","block search term","jetpack"),_x("linked","block search term","jetpack"),_x("connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1,color:{gradients:!0,link:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0},align:["wide","full"]},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:i.ZP,save:()=>null,example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}}},4498:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(9818),u=n(65235),p=n.n(u),d=n(51100),m=n(30314);const __=i.__,_n=i._n,h=[{value:d.FV,label:__("Show after threshold","jetpack")},{value:d.Am,label:__("Show before threshold","jetpack")}];class f extends o.Component{constructor(){super(...arguments),a()(this,"state",{isThresholdValid:!0}),a()(this,"setCriteria",(e=>this.props.setAttributes({criteria:e}))),a()(this,"setThreshold",(e=>{if(/^\d+$/.test(e)&&+e>0)return this.props.setAttributes({threshold:+e}),void this.setState({isThresholdValid:!0});this.setState({isThresholdValid:!1})}))}getNoticeLabel(){return this.props.attributes.criteria===d.FV?1===this.props.attributes.threshold?__("This block will only appear to people who have visited this page more than once.","jetpack"):(0,i.sprintf)(
/* translators: placeholder is a number. */
_n("This block will only appear to people who have visited this page more than %d time.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):1===this.props.attributes.threshold?__("This block will only appear to people who are visiting this page for the first time.","jetpack"):(0,i.sprintf)(
/* translators: placeholder is a number. */
-_n("This block will only appear to people who are visiting this page for %d time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}render(){return(0,o.createElement)("div",{className:p()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},(0,o.createElement)(s.Placeholder,{icon:m.qv,label:__("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},(0,o.createElement)(s.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":__("Please enter a valid number.","jetpack"),label:__("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),(0,o.createElement)(s.RadioControl,{label:__("Visibility","jetpack"),selected:this.props.attributes.criteria,options:h,onChange:this.setCriteria})),(0,o.createElement)(s.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),(0,o.createElement)(l.InnerBlocks,null))}}t.Z=(0,c.withSelect)(((e,t)=>{const{isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{isSelected:n(t.clientId)||r(t.clientId)}}))(f)},42860:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks.Content,null))}},46314:function(e,t,n){"use strict";n.d(t,{FV:function(){return r},Am:function(){return a},Kv:function(){return o}});const r="after-visits",a="before-visits",o=3},57368:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},qv:function(){return d},Xd:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(41632),s=n(35978),l=n(42860),c=n(46314),u=n(57535);const __=a.__,_x=a._x,p="repeat-visitor",d=(0,i.Z)((0,r.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})),m={attributes:{criteria:{type:"string",default:c.FV},threshold:{type:"number",default:c.Kv}},category:"widgets",description:__("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:{src:d,foreground:(0,u.m)()},keywords:[_x("return","block search term","jetpack"),_x("visitors","block search term","jetpack"),_x("visibility","block search term","jetpack")],supports:{html:!1},title:__("Repeat Visitor","jetpack"),edit:s.Z,save:l.Z,example:{attributes:{criteria:c.FV,threshold:c.Kv},innerBlocks:[{name:"core/paragraph",attributes:{content:__("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]}}},92826:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={revueUsername:{type:"string"},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0}}},26246:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(4981),i=n(65736);const _x=i._x,__=i.__,s=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius","gradient","customGradient"];t.Z={attributes:{revueUsername:{type:"string"},text:{type:"string",default:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},migrate:e=>{const t=(0,a.omit)(e,s),n=(0,a.pick)(e,s);return[t,[(0,o.createBlock)("jetpack/button",{element:"button",text:n.text||"Subscribe",...n})]]},isEligible:(e,t)=>(0,a.isEmpty)(t)||(0,a.some)((0,a.pick)(e,s),Boolean),save:e=>{let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)("a",{href:n},n))}}},55380:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(92819),o=n(52175),i=n(55609),s=n(65736),l=n(8223),c=n(92826),u=n(80500),p=n(93641),d=n(14087),m=n(58014);const __=s.__;function h(e){let{attributes:t,className:n,setAttributes:s}=e;(0,r.useEffect)((()=>{const e=(0,d.S)(c.Z,t);(0,a.isEqual)(e,t)||s(e)}),[t,s]);const{revueUsername:h,emailLabel:f,emailPlaceholder:g,firstNameLabel:b,firstNamePlaceholder:k,firstNameShow:v,lastNameLabel:y,lastNamePlaceholder:E,lastNameShow:w}=t,[_,C]=(0,r.useState)("");(0,r.useEffect)((()=>{!_&&h&&C(h)}),[]);const x=(0,m.Wp)()||(0,m.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/revue-block/":"https://jetpack.com/support/jetpack-blocks/revue-block/";return(0,r.createElement)("div",{className:n},!h&&(0,r.createElement)(i.Placeholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:p.Z}),instructions:__("Enter your Revue username.","jetpack"),label:__("Revue","jetpack")},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),s({revueUsername:_.trim()})}},(0,r.createElement)("input",{className:"components-placeholder__input",onChange:e=>C(e.target.value.trim()),placeholder:__("Enter your Revue username here…","jetpack"),type:"text",value:_}),(0,r.createElement)("div",null,(0,r.createElement)(i.Button,{disabled:!_,isDefault:!0,isLarge:!0,isSecondary:!0,type:"submit"},__("Add Form","jetpack")))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(i.ExternalLink,{href:x},__("Need help finding your Revue username?","jetpack")))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Show first name field.","jetpack"),checked:v,onChange:()=>s({firstNameShow:!v})}),(0,r.createElement)(i.ToggleControl,{label:__("Show last name field.","jetpack"),checked:w,onChange:()=>s({lastNameShow:!w})}),(0,r.createElement)(i.TextControl,{label:__("Revue Username","jetpack"),onChange:e=>{C(e.trim()),s({revueUsername:e.trim()})},value:h}))),(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:f,labelFieldName:"emailLabel",required:!0,setAttributes:s}),onChange:e=>s({emailPlaceholder:e}),placeholder:g,value:g}),v&&(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:b,labelFieldName:"firstNameLabel",setAttributes:s}),onChange:e=>s({firstNamePlaceholder:e}),placeholder:k,value:k}),w&&(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:y,labelFieldName:"lastNameLabel",setAttributes:s}),onChange:e=>s({lastNamePlaceholder:e}),placeholder:E,value:E}),(0,r.createElement)(o.InnerBlocks,{template:[[l.Ss.name,l.Ss.attributes]],templateLock:"all"})))}},93641:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,{fillRule:"nonzero"},(0,r.createElement)(a.Path,{d:"M16.8452322,23.2301186 C13.9471277,22.2565366 12.0226052,20.2188069 10.6188359,16.5961763 C10.2565728,15.6225943 9.87166831,14.4905223 9.80374399,14.1056178 C9.66789534,13.4037331 9.6452539,13.3810917 8.96601067,13.6075061 C7.8792215,13.9697691 7.76601429,14.1282592 7.35846835,15.758443 C6.724508,18.2490015 6.45281071,18.7244718 5.56979451,18.8829619 C5.09432424,18.9735276 4.5735711,18.9282447 4.27923236,18.7697547 C3.84904498,18.5433402 3.8037621,18.3848502 3.93961075,17.501834 C4.00753507,16.9584394 4.41508101,15.3056142 4.82262695,13.8339205 C5.8414918,10.2792143 6.11318909,8.98865211 6.29432062,7.1094125 C6.43016927,5.63771883 6.47545215,5.50187018 7.08677106,5.20753145 C7.92450438,4.79998551 8.80752058,5.09432424 9.19242508,5.88677468 C9.44148093,6.38488639 9.39619805,6.90563953 8.96601067,8.98865211 C8.67167193,10.3924215 8.51318185,11.5244935 8.62638905,11.5244935 C9.12450076,11.5244935 11.2754377,10.2565728 12.0452467,9.50940525 C13.8339205,7.83393861 14.2641079,5.77356748 13.2905259,3.82640354 C12.5886412,2.4226342 11.6150593,1.94716393 9.78110255,2.08301258 C6.97356385,2.28678555 4.43772245,4.25659092 3.01131166,7.35846835 C2.21886123,9.05657643 2.19621978,9.07921787 1.49433511,8.94336923 C-1.74339096,8.28676744 0.63396035,3.39621616 5.29809721,1.19999638 C8.39997464,-0.294338734 11.5018521,-0.362263057 14.0829764,0.950940525 C17.0716466,2.51319996 18.0225871,5.93205756 16.2791961,8.96601067 C15.5999529,10.1433656 14.2641079,11.3886449 12.9509043,12.0678881 C12.5433584,12.2716611 12.2037367,12.5207169 12.2037367,12.6339241 C12.2037367,12.9509043 13.2678845,15.9395745 13.6301475,16.6641006 C14.3093908,17.9773042 16.2339133,19.8112609 17.4565511,20.377297 C18.8829619,21.0112573 21.4640861,21.0791816 23.0263456,20.5131456 L23.9772861,20.1508826 L23.9772861,20.7169186 C23.9772861,21.5320105 23.3433258,22.3471023 22.3018195,22.8904969 C21.147106,23.4791744 18.1584357,23.6603059 16.8452322,23.2301186 Z"})))},8223:function(e,t,n){"use strict";n.d(t,{Ss:function(){return u},u2:function(){return p},Xd:function(){return d}});var r=n(65736),a=n(92826),o=n(26246),i=n(55380),s=n(93641),l=n(57535),c=n(12628);const __=r.__,_x=r._x,u={name:"jetpack/button",attributes:{element:"button",text:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")}},p="revue",d={title:__("Revue","jetpack"),description:__("Add a subscription form for your Revue newsletter.","jetpack"),icon:{src:s.Z,foreground:(0,l.m)()},category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("mailing list","block search term","jetpack")],supports:{html:!1},attributes:a.Z,edit:i.Z,save:c.Z,example:{attributes:{revueUsername:"example"},innerBlocks:[u]},deprecated:[o.Z]}},12628:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null),(0,r.createElement)("a",{className:"wp-block-jetpack-revue__fallback",href:n},n))}},47175:function(e,t,n){"use strict";n.d(t,{LC:function(){return r},a7:function(){return a},Rh:function(){return o}});const r="jp_pay_product",a="USD",o=[a,"EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"]},81255:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{setAttributes:t,postLinkText:n}=e;return(0,r.createElement)(a.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,r.createElement)(a.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>t({postLinkText:e}),value:n})))}},56511:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},save:e=>{let{attributes:t}=e;const{productId:n}=t;return n?(0,r.createElement)(r.RawHTML,null,`[simple-payment id="${n}"]`):null}}},75050:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(89453),c=n(92819),u=n(75139),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(22985),b=n(87079),k=n(8565),v=n(37299),y=n(47175);const __=p.__,_n=p._n;class E extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,v.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
+_n("This block will only appear to people who are visiting this page for %d time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}render(){return(0,o.createElement)("div",{className:p()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},(0,o.createElement)(s.Placeholder,{icon:m.qv,label:__("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},(0,o.createElement)(s.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":__("Please enter a valid number.","jetpack"),label:__("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),(0,o.createElement)(s.RadioControl,{label:__("Visibility","jetpack"),selected:this.props.attributes.criteria,options:h,onChange:this.setCriteria})),(0,o.createElement)(s.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),(0,o.createElement)("div",{className:"wp-block-jetpack-repeat-visitor__inner-container"},(0,o.createElement)(l.InnerBlocks,null)))}}t.Z=(0,c.withSelect)(((e,t)=>{const{isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{isSelected:n(t.clientId)||r(t.clientId)}}))(f)},48516:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)("div",{className:"wp-block-jetpack-repeat-visitor__inner-container"},(0,r.createElement)(a.InnerBlocks.Content,null)))}},51100:function(e,t,n){"use strict";n.d(t,{Am:function(){return a},FV:function(){return r},Kv:function(){return o}});const r="after-visits",a="before-visits",o=3},30314:function(e,t,n){"use strict";n.d(t,{Xd:function(){return f},qv:function(){return h},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(36598),l=n(4498),c=n(48516),u=n(51100),p=n(70355);const __=a.__,_x=a._x,d={attributes:{criteria:{type:"string",default:u.FV},threshold:{type:"number",default:u.Kv}},supports:{html:!1},save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(i.InnerBlocks.Content,null))}},m="repeat-visitor",h=(0,s.Z)((0,r.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})),f={attributes:{criteria:{type:"string",default:u.FV},threshold:{type:"number",default:u.Kv}},category:"widgets",description:__("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:{src:h,foreground:(0,p.m)()},keywords:[_x("return","block search term","jetpack"),_x("visitors","block search term","jetpack"),_x("visibility","block search term","jetpack")],supports:{align:["wide","full"],html:!1},title:__("Repeat Visitor","jetpack"),edit:l.Z,save:c.Z,example:{attributes:{criteria:u.FV,threshold:u.Kv},innerBlocks:[{name:"core/paragraph",attributes:{content:__("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]},deprecated:[d]}},98052:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={revueUsername:{type:"string"},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0}}},67686:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(4981),i=n(65736);const _x=i._x,__=i.__,s=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius","gradient","customGradient"];t.Z={attributes:{revueUsername:{type:"string"},text:{type:"string",default:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},migrate:e=>{const t=(0,a.omit)(e,s),n=(0,a.pick)(e,s);return[t,[(0,o.createBlock)("jetpack/button",{element:"button",text:n.text||"Subscribe",...n})]]},isEligible:(e,t)=>(0,a.isEmpty)(t)||(0,a.some)((0,a.pick)(e,s),Boolean),save:e=>{let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)("a",{href:n},n))}}},40349:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(92819),o=n(13419),i=n(52175),s=n(55609),l=n(65736),c=n(12012),u=n(98052),p=n(15642),d=n(63519),m=n(4554);const __=l.__;function h(e){let{attributes:t,className:n,setAttributes:l}=e;(0,r.useEffect)((()=>{const e=(0,m.S)(u.Z,t);(0,a.isEqual)(e,t)||l(e)}),[t,l]);const{revueUsername:h,emailLabel:f,emailPlaceholder:g,firstNameLabel:b,firstNamePlaceholder:v,firstNameShow:k,lastNameLabel:y,lastNamePlaceholder:E,lastNameShow:w}=t,[_,C]=(0,r.useState)("");(0,r.useEffect)((()=>{!_&&h&&C(h)}),[]);const x=(0,o.Wp)()||(0,o.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/revue-block/":"https://jetpack.com/support/jetpack-blocks/revue-block/";return(0,r.createElement)("div",{className:n},!h&&(0,r.createElement)(s.Placeholder,{icon:d.Z,instructions:__("Enter your Revue username.","jetpack"),label:__("Revue","jetpack")},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),l({revueUsername:_.trim()})}},(0,r.createElement)("input",{className:"components-placeholder__input",onChange:e=>C(e.target.value.trim()),placeholder:__("Enter your Revue username here…","jetpack"),type:"text",value:_}),(0,r.createElement)("div",null,(0,r.createElement)(s.Button,{disabled:!_,variant:"secondary",type:"submit"},__("Add Form","jetpack")))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(s.ExternalLink,{href:x},__("Need help finding your Revue username?","jetpack")))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.ToggleControl,{label:__("Show first name field.","jetpack"),checked:k,onChange:()=>l({firstNameShow:!k})}),(0,r.createElement)(s.ToggleControl,{label:__("Show last name field.","jetpack"),checked:w,onChange:()=>l({lastNameShow:!w})}),(0,r.createElement)(s.TextControl,{label:__("Revue Username","jetpack"),onChange:e=>{C(e.trim()),l({revueUsername:e.trim()})},value:h}))),(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:f,labelFieldName:"emailLabel",required:!0,setAttributes:l}),onChange:e=>l({emailPlaceholder:e}),placeholder:g,value:g}),k&&(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:b,labelFieldName:"firstNameLabel",setAttributes:l}),onChange:e=>l({firstNamePlaceholder:e}),placeholder:v,value:v}),w&&(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:y,labelFieldName:"lastNameLabel",setAttributes:l}),onChange:e=>l({lastNamePlaceholder:e}),placeholder:E,value:E}),(0,r.createElement)(i.InnerBlocks,{template:[[c.Ss.name,c.Ss.attributes]],templateLock:"all"})))}},63519:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,{fillRule:"nonzero"},(0,r.createElement)(a.Path,{d:"M16.8452322,23.2301186 C13.9471277,22.2565366 12.0226052,20.2188069 10.6188359,16.5961763 C10.2565728,15.6225943 9.87166831,14.4905223 9.80374399,14.1056178 C9.66789534,13.4037331 9.6452539,13.3810917 8.96601067,13.6075061 C7.8792215,13.9697691 7.76601429,14.1282592 7.35846835,15.758443 C6.724508,18.2490015 6.45281071,18.7244718 5.56979451,18.8829619 C5.09432424,18.9735276 4.5735711,18.9282447 4.27923236,18.7697547 C3.84904498,18.5433402 3.8037621,18.3848502 3.93961075,17.501834 C4.00753507,16.9584394 4.41508101,15.3056142 4.82262695,13.8339205 C5.8414918,10.2792143 6.11318909,8.98865211 6.29432062,7.1094125 C6.43016927,5.63771883 6.47545215,5.50187018 7.08677106,5.20753145 C7.92450438,4.79998551 8.80752058,5.09432424 9.19242508,5.88677468 C9.44148093,6.38488639 9.39619805,6.90563953 8.96601067,8.98865211 C8.67167193,10.3924215 8.51318185,11.5244935 8.62638905,11.5244935 C9.12450076,11.5244935 11.2754377,10.2565728 12.0452467,9.50940525 C13.8339205,7.83393861 14.2641079,5.77356748 13.2905259,3.82640354 C12.5886412,2.4226342 11.6150593,1.94716393 9.78110255,2.08301258 C6.97356385,2.28678555 4.43772245,4.25659092 3.01131166,7.35846835 C2.21886123,9.05657643 2.19621978,9.07921787 1.49433511,8.94336923 C-1.74339096,8.28676744 0.63396035,3.39621616 5.29809721,1.19999638 C8.39997464,-0.294338734 11.5018521,-0.362263057 14.0829764,0.950940525 C17.0716466,2.51319996 18.0225871,5.93205756 16.2791961,8.96601067 C15.5999529,10.1433656 14.2641079,11.3886449 12.9509043,12.0678881 C12.5433584,12.2716611 12.2037367,12.5207169 12.2037367,12.6339241 C12.2037367,12.9509043 13.2678845,15.9395745 13.6301475,16.6641006 C14.3093908,17.9773042 16.2339133,19.8112609 17.4565511,20.377297 C18.8829619,21.0112573 21.4640861,21.0791816 23.0263456,20.5131456 L23.9772861,20.1508826 L23.9772861,20.7169186 C23.9772861,21.5320105 23.3433258,22.3471023 22.3018195,22.8904969 C21.147106,23.4791744 18.1584357,23.6603059 16.8452322,23.2301186 Z"})))},12012:function(e,t,n){"use strict";n.d(t,{Ss:function(){return u},Xd:function(){return d},u2:function(){return p}});var r=n(65736),a=n(98052),o=n(67686),i=n(40349),s=n(63519),l=n(70355),c=n(15014);const __=r.__,_x=r._x,u={name:"jetpack/button",attributes:{element:"button",text:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")}},p="revue",d={title:__("Revue","jetpack"),description:__("Add a subscription form for your Revue newsletter.","jetpack"),icon:{src:s.Z,foreground:(0,l.m)()},category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("mailing list","block search term","jetpack")],supports:{html:!1},attributes:a.Z,edit:i.Z,save:c.Z,example:{attributes:{revueUsername:"example"},innerBlocks:[u]},deprecated:[o.Z]}},15014:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null),(0,r.createElement)("a",{className:"wp-block-jetpack-revue__fallback",href:n},n))}},36825:function(e,t,n){"use strict";n.d(t,{LC:function(){return r},Rh:function(){return o},a7:function(){return a}});const r="jp_pay_product",a="USD",o=[a,"EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"]},65093:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{setAttributes:t,postLinkText:n}=e;return(0,r.createElement)(a.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,r.createElement)(a.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>t({postLinkText:e}),value:n})))}},66763:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},save:e=>{let{attributes:t}=e;const{productId:n}=t;return n?(0,r.createElement)(r.RawHTML,null,`[simple-payment id="${n}"]`):null}}},21559:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92384),c=n(92819),u=n(43317),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(59809),b=n(72802),v=n(39416),k=n(96059),y=n(36825);const __=p.__,_n=p._n;class E extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
/* translators: Placeholder is a number of decimals in a number. */
_n("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",n,"jetpack"),n)}),!1):(this.state.fieldPriceError&&this.setState({fieldPriceError:null}),!0):(this.setState({fieldPriceError:__("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),a()(this,"validateEmail",(()=>{const{email:e}=this.props.attributes;return e?l.validate(e)?(this.state.fieldEmailError&&this.setState({fieldEmailError:null}),!0):(this.setState({fieldEmailError:(0,p.sprintf)(
/* translators: placeholder is an email address. */
__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",y.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(h.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,o.createElement)(h.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,o.createElement)(h.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>this.props.setAttributes({postLinkText:e}),value:this.props.attributes.postLinkText}))))))}componentDidMount(){this.injectPaymentAttributes();const{attributes:e,hasPublishAction:t,postLinkUrl:n,setAttributes:r}=this.props,{productId:a}=e;!a&&t&&this.saveProduct();const o=n&&n!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&r({...o&&{postLinkUrl:n},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&t&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes();const o=r&&r!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&a({...o&&{postLinkUrl:r},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",y.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
/* translators: placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:x}=r,j=C&&(0,c.isEmpty)(u);if(!i&&j)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&x&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,v.w)(_,d),multiple:w,title:x});const S=j?h.Disabled:"div";return(0,o.createElement)(S,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(k.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:x}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,v.w)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const w=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u.link}}));t.Z=(0,d.compose)(w,d.withInstanceId)(E)},19372:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(47175),s=n(58014),l=n(57535),c=n(75050),u=n(63290);const __=a.__,_x=a._x,p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),d=(0,s.Wp)()||(0,s.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",m={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:d},__("Support reference","jetpack"))),icon:{src:p,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:i.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};t.Z=m},63290:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(37299);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.w)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},81666:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(89453),c=n(92819),u=n(75139),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(22985),b=n(87079),k=n(8565),v=n(37299),y=n(47175),E=n(81255);const __=p.__,_n=p._n;class w extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,v.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
+__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:x}=r,j=C&&(0,c.isEmpty)(u);if(!i&&j)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&x&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.w)(_,d),multiple:w,title:x});const S=j?h.Disabled:"div";return(0,o.createElement)(S,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:x}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.w)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const w=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u.link}}));t.Z=(0,d.compose)(w,d.withInstanceId)(E)},24097:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(36825),l=n(70355),c=n(21559),u=n(83080);const __=a.__,_x=a._x,p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),d=(0,i.Wp)()||(0,i.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",m={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:d},__("Support reference","jetpack"))),icon:{src:p,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:s.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};t.Z=m},83080:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(96059);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.w)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},36239:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92384),c=n(92819),u=n(43317),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(6551),b=n(59809),v=n(72802),k=n(39416),y=n(96059),E=n(36825),w=n(65093);const __=p.__,_n=p._n;class _ extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return E.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,y.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
/* translators: Placeholder is a number of decimals in a number. */
_n("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",n,"jetpack"),n)}),!1):(this.state.fieldPriceError&&this.setState({fieldPriceError:null}),!0):(this.setState({fieldPriceError:__("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),a()(this,"validateEmail",(()=>{const{email:e}=this.props.attributes;return e?l.validate(e)?(this.state.fieldEmailError&&this.setState({fieldEmailError:null}),!0):(this.setState({fieldEmailError:(0,p.sprintf)(
/* translators: Placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",y.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(E.G,{postLinkText:this.props.attributes.postLinkText,setAttributes:this.props.setAttributes}))))}componentDidMount(){this.injectPaymentAttributes();const{attributes:e,hasPublishAction:t,postLinkUrl:n,setAttributes:r,isPostEditor:a}=this.props,{productId:o}=e;(!o&&t||!a)&&this.saveProduct();const i=n&&n!==this.props.attributes.postLinkUrl,s=!this.props.attributes.postLinkText;(i||s)&&r({...i&&{postLinkUrl:n},...s&&{postLinkText:__("Click here to purchase.","jetpack")}})}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&t&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes();const o=r&&r!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&a({...o&&{postLinkUrl:r},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",y.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
+__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",E.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(w.G,{postLinkText:this.props.attributes.postLinkText,setAttributes:this.props.setAttributes}))))}componentDidMount(){var e,t;this.injectPaymentAttributes();const{attributes:n,hasPublishAction:r,postLinkUrl:a,setAttributes:o,isPostEditor:i}=this.props,{productId:s}=n;(!s&&r||!i)&&this.saveProduct();const l=a&&a!==this.props.attributes.postLinkUrl,c=!this.props.attributes.postLinkText;(l||c)&&o({...l&&{postLinkUrl:a},...c&&{postLinkText:__("Click here to purchase.","jetpack")}}),null===(e=window.wp)||void 0===e||null===(t=e.customize)||void 0===t||t.bind("change",(e=>{let t;const n=e.id.match(/^widget_(.+)(?:\[(\d+)\])$/);if(n){t=`${n[1]}-${parseInt(n[2],10)}`}else t=e.id;t===(0,g.getWidgetIdFromBlock)(this.props.block)&&this.validateAttributes()&&this.saveProduct()}))}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a,isPostEditor:o}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),e.isSaving||!this.props.isSaving||!t&&o||!this.validateAttributes()?e.isSelected&&!n&&this.validateAttributes():this.saveProduct();const i=r&&r!==this.props.attributes.postLinkUrl,s=!this.props.attributes.postLinkText;(i||s)&&a({...i&&{postLinkUrl:r},...s&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",E.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
/* translators: Placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:x}=r,j=C&&(0,c.isEmpty)(u);if(!i&&j)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&x&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,v.T4)(_,d),multiple:w,title:x});const S=j?h.Disabled:"div";return(0,o.createElement)(S,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(k.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:x}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),"aria-label":__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,v.T4)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const _=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u?.link,isPostEditor:Object.keys(o()).length>0}}));t.Z=(0,d.compose)(_,d.withInstanceId)(w)},8565:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(92819),s=n(55609),l=n(58703);const __=a.__,c=e=>t=>e({featuredMediaId:(0,i.get)(t,"id",0),featuredMediaUrl:(0,i.get)(t,"url",null),featuredMediaTitle:(0,i.get)(t,"title",null)});t.Z=e=>{let{featuredMediaId:t,featuredMediaUrl:n,featuredMediaTitle:a,setAttributes:i}=e;return t?(0,r.createElement)("div",null,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(o.MediaUpload,{onSelect:c(i),allowedTypes:["image"],value:t,render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Image","jetpack"),onClick:t})}}))),(0,r.createElement)(s.ToolbarButton,{icon:"trash",title:__("Remove Image","jetpack"),onClick:()=>i({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}))),(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:n,alt:a})))):(0,r.createElement)(o.MediaPlaceholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:"format-image"}),labels:{title:__("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:c(i)})}},35289:function(e,t,n){"use strict";n.d(t,{u2:function(){return h},Xd:function(){return b}});var r=n(69307),a=n(65736),o=n(55609),i=n(47175),s=n(58014),l=n(57535),c=n(81666),u=n(73e3),p=n(56511),d=n(19372),m=n(60206);const __=a.__,_x=a._x,h="simple-payments",f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),g=(0,s.Wp)()||(0,s.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",b={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:g},__("Support reference","jetpack"))),icon:{src:f,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:i.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,example:{attributes:{price:25,title:__("Jetpack t-shirt","jetpack"),content:__("Take flight in ultimate comfort with this stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:m}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},deprecated:[p.Z,d.Z]}},87079:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(22323),i=n(23879);const __=a.__;t.Z=e=>{let{title:t="",content:n="",formattedPrice:a="",multiple:s=!1,featuredMediaUrl:l=null,featuredMediaTitle:c=null}=e;return(0,r.createElement)("div",{className:"jetpack-simple-payments-wrapper"},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},l&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("figure",{className:"jetpack-simple-payments-image"},(0,r.createElement)("img",{src:l,alt:c}))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},t&&(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,t)),n&&(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),a&&(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,a)),(0,r.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},s&&(0,r.createElement)("div",{className:"jetpack-simple-payments-items"},(0,r.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),(0,r.createElement)("div",{className:"jetpack-simple-payments-button"},(0,r.createElement)("img",{alt:__("Pay with PayPal","jetpack"),src:o,srcSet:`${i} 2x`}))))))}},73e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(37299);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.T4)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},37299:function(e,t,n){"use strict";n.d(t,{N3:function(){return i},w:function(){return l},T4:function(){return c}});var r=n(75139),a=n(92819),o=n(9818);n(47175);const i=e=>{const t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},s=function(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";const a=window?.window?.navigator;return a?.languages?.length?a.languages[0]:null!==(e=null!==(t=null!==(n=a?.userLanguage)&&void 0!==n?n:a?.language)&&void 0!==t?t:a?.browserLanguage)&&void 0!==e?e:r},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{precision:o,symbol:i}=(0,r.X)(t),s=e.toFixed(o);return n?`${s} ${(0,a.trimEnd)(i,".")}`:s},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!window.Intl||"function"!=typeof Intl.NumberFormat)return l(e,t,n);const{siteLocale:r}=(0,o.select)("core/block-editor").getSettings(),a=[r,s(),"en-US"];let i,c={};for(i of(n&&(c={style:"currency",currency:t}),a))try{return Intl.NumberFormat(i,c).format(e)}catch{continue}return l(e,t,n)}},98972:function(e,t,n){"use strict";n.d(t,{G:function(){return c},J:function(){return u}});var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(92819),l=n(58703);const __=i.__,_x=i._x;function c(e){let{attributes:{autoplay:t,delay:n,effect:a,images:i,sizeSlug:l},imageSizeOptions:c,onChangeImageSize:u,setAttributes:p}=e;const d="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=[{label:_x("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:_x("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Autoplay","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Autoplay","jetpack"),help:__("Autoplay between slides","jetpack"),checked:t,onChange:e=>{p({autoplay:e})}}),t&&(0,r.createElement)(o.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack"),value:n,onChange:e=>{p({delay:e})},min:1,max:5}),t&&d&&(0,r.createElement)("span",null,__("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Effects","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Transition effect","jetpack"),value:a,onChange:e=>{p({effect:e})},options:m})),!(0,s.isEmpty)(i)&&!(0,s.isEmpty)(c)&&(0,r.createElement)(o.PanelBody,{title:__("Image Settings","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Image Size","jetpack"),value:l,options:c,onChange:e=>u(e)})))}function u(e){let{allowedMediaTypes:t,attributes:{images:n},onSelectImages:i}=e;return(0,r.createElement)(r.Fragment,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{onSelect:i,allowedTypes:t,multiple:!0,gallery:!0,value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Slideshow","jetpack"),onClick:t})}})))))}},44890:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(a,(e=>function(){e(this)}))},[{default:i}]=await Promise.all([Promise.all([n.e(860),n.e(390)]).then(n.t.bind(n,16402,23)),Promise.all([n.e(860),n.e(390)]).then(n.bind(n,78858))]);return new i(e,(0,r.merge)({},o,t))}},67448:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(11313),u=n(9818),p=n(52175),d=n(12238),m=n(55609),h=n(94120),f=n(98972),g=n(712);const __=i.__,b=["image"],k=(e,t)=>{const n=(0,l.pick)(e,["alt","id","link","caption"]);return n.url=(0,l.get)(e,["sizes",t,"url"])||(0,l.get)(e,["media_details","sizes",t,"source_url"])||e.url,n};class v extends o.Component{constructor(){super(...arguments),a()(this,"onSelectImages",(e=>{const{sizeSlug:t}=this.props.attributes,n=e.map((e=>k(e,t)));this.setAttributes({images:n})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,l.filter)(this.props.attributes.images,((t,n)=>e!==n));this.setState({selectedImage:null}),this.setAttributes({images:t})})),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],n=this.props.attributes.sizeSlug,{lockPostSaving:r,unlockPostSaving:a,noticeOperations:o}=this.props,i="slideshowBlockLock";r(i),(0,d.mediaUpload)({allowedTypes:b,filesList:e,onFileChange:e=>{const r=e.map((e=>k(e,n)));this.setAttributes({images:[...t,...r]}),r.every((e=>(0,c.isBlobURL)(e.url)))||a(i)},onError:o.createErrorNotice})})),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files))),a()(this,"updateImagesSize",(e=>{const{images:t}=this.props.attributes,{resizedImages:n}=this.props,r=t.map((t=>{const r=n.find((e=>{let{id:n}=e;return parseInt(n,10)===parseInt(t.id,10)})),a=(0,l.get)(r,["sizes",e,"source_url"]);return{...t,...a&&{url:a}}}));this.setAttributes({images:r,sizeSlug:e})})),this.state={selectedImage:null}}componentDidMount(){const{ids:e,sizeSlug:t}=this.props.attributes;t||this.setAttributes({sizeSlug:e.length?"full":"large"})}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}getImageSizeOptions(){const{imageSizes:e}=this.props;return(0,l.map)(e,(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}))}render(){const{attributes:e,className:t,isSelected:n,noticeOperations:r,noticeUI:a}=this.props,{align:i,autoplay:s,delay:l,effect:c,images:u}=e,d=this.getImageSizeOptions(),k=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.InspectorControls,null,(0,o.createElement)(f.G,{attributes:e,imageSizeOptions:d,onChangeImageSize:this.updateImagesSize,setAttributes:e=>this.setAttributes(e)})),(0,o.createElement)(p.BlockControls,null,(0,o.createElement)(f.J,{allowedMediaTypes:b,attributes:e,onSelectImages:this.onSelectImages})));return 0===u.length?(0,o.createElement)(o.Fragment,null,k,(0,o.createElement)(p.MediaPlaceholder,{icon:(0,o.createElement)(p.BlockIcon,{icon:h.qv}),className:t,labels:{title:__("Slideshow","jetpack"),instructions:__("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:b,multiple:!0,notices:a,onError:r.createErrorNotice})):(0,o.createElement)(o.Fragment,null,k,a,(0,o.createElement)(g.Z,{align:i,autoplay:s,className:t,delay:l,effect:c,images:u,onError:r.createErrorNotice}),(0,o.createElement)(m.DropZone,{onFilesDrop:this.addFiles}),n&&(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},(0,o.createElement)(m.FormFileUpload,{multiple:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack"))))}}t.ZP=(0,s.compose)((0,u.withSelect)(((e,t)=>({imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce(((t,n)=>{const r=e("core").getMedia(n);return[...t,{id:n,sizes:(0,l.get)(r,["media_details","sizes"])}]}),[])}))),(0,u.withDispatch)((e=>{const{lockPostSaving:t,unlockPostSaving:n}=e("core/editor");return{lockPostSaving:t,unlockPostSaving:n}})),m.withNotices)(v)},94120:function(e,t,n){"use strict";n.d(t,{qv:function(){return h},u2:function(){return g},Xd:function(){return b}});var r=n(69307),a=n(65736),o=n(55609),i=n(67448),s=n(91957),l=n(4830),c=n(57535),u=n(20510),p=n(65784),d=n(6425),m=n(85983);const __=a.__,_x=a._x,h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)(o.Path,{d:"M21 8V19C21 20.1046 20.1057 21 19.0011 21C15.8975 21 9.87435 21 6 21",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Rect,{x:"3.75",y:"3.75",width:"13.5",height:"13.5",rx:"0.875",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Path,{d:"M9 14L12 11L9 8",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})),f={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:p},{alt:"",caption:"",id:23,url:d},{alt:"",caption:"",id:23,url:m}],effect:"slide"},g="slideshow",b={title:__("Slideshow","jetpack"),category:(0,u.Z)("media","layout"),keywords:[_x("image","block search term","jetpack"),_x("gallery","block search term","jetpack"),_x("slider","block search term","jetpack")],description:__("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:{src:h,foreground:(0,c.m)()},edit:i.ZP,save:s.Z,transforms:l.Z,example:{attributes:f}}},91957:function(e,t,n){"use strict";var r=n(69307),a=n(712);t.Z=e=>{let{attributes:{align:t,autoplay:n,delay:o,effect:i,images:s},className:l}=e;return(0,r.createElement)(a.Z,{align:t,autoplay:n,className:l,delay:o,effect:i,images:s})}},712:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(54166),c=n(65736),u=n(11313),p=n(92819),d=n(52175),m=n(55609),h=n(44890),f=n(10099);const __=c.__;class g extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"pendingRequestAnimationFrame",null),a()(this,"resizeObserver",null),a()(this,"initializeResizeObserver",(e=>{this.clearResizeObserver(),this.resizeObserver=new l.Z((()=>{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame((()=>{(0,f.$m)(e),e.update()}))})),this.resizeObserver.observe(e.el)})),a()(this,"clearPendingRequestAnimationFrame",(()=>{this.pendingRequestAnimationFrame&&(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)})),a()(this,"clearResizeObserver",(()=>{this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)})),a()(this,"prefersReducedMotion",(()=>"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)),a()(this,"buildSwiper",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,h.Z)(t.slideshowRef.current,{autoplay:!(!t.props.autoplay||t.prefersReducedMotion())&&{delay:1e3*t.props.delay,disableOnInteraction:!1},effect:t.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:t.btnNextRef.current,prevEl:t.btnPrevRef.current},pagination:{clickable:!0,el:t.paginationRef.current,type:"bullets"}},{init:f.UA,imagesReady:f.$m,paginationRender:f.Wj,transitionEnd:f.HV})})),this.slideshowRef=(0,o.createRef)(),this.btnNextRef=(0,o.createRef)(),this.btnPrevRef=(0,o.createRef)(),this.paginationRef=(0,o.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{e(__("The Swiper library could not be loaded.","jetpack"))}))}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:n,delay:r,effect:a,images:o,onError:i}=this.props;if(t===e.align&&(0,p.isEqual)(o,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||n!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{i(__("The Swiper library could not be loaded.","jetpack"))}))}}render(){if(!this.props?.images?.length)return null;const{autoplay:e,className:t,delay:n,effect:r,images:a}=this.props;return(0,o.createElement)("div",{className:t,"data-autoplay":e||null,"data-delay":e?n:null,"data-effect":r},(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},(0,o.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},a.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return(0,o.createElement)("li",{className:s()("wp-block-jetpack-slideshow_slide","swiper-slide",(0,u.isBlobURL)(a)&&"is-transient"),key:r||a},(0,o.createElement)("figure",null,(0,o.createElement)("img",{alt:t,className:`wp-block-jetpack-slideshow_image wp-image-${r}`,"data-id":r,src:a}),(0,u.isBlobURL)(a)&&(0,o.createElement)(m.Spinner,null),n&&(0,o.createElement)(d.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),(0,o.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}a()(g,"defaultProps",{effect:"slide"}),t.Z=g},10099:function(e,t,n){"use strict";n.d(t,{HV:function(){return l},UA:function(){return i},Wj:function(){return c},$m:function(){return s}});var r=n(81975),a=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function i(e){s(e),l(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function s(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),a="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,a),i=`${Math.floor(o)}px`,s=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=i,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=s}function l(e){(0,a.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(a.alt))}(e)}function c(e){(0,a.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},4830:function(e,t,n){"use strict";var r=n(4981),a=n(92819);function o(e){return(0,a.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const i={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>o(e).length>0,transform:e=>{const t=o(e);return(0,r.createBlock)("jetpack/slideshow",{images:t.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:e=>{let{images:t}=e;const n=o(t);return n.length>0?(0,r.createBlock)("jetpack/slideshow",{images:n.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,r.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n}=e;return(0,r.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:e=>{let{images:t}=e;return t.length>0?t.map((e=>{let{id:t,url:n,alt:a,caption:o}=e;return(0,r.createBlock)("core/image",{id:t,url:n,alt:a,caption:o})})):(0,r.createBlock)("core/image")}}]};t.Z=i},79885:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"},successMessage:{type:"string",default:__("Success! An email was just sent to confirm your subscription. Please find the email now and click 'Confirm Follow' to start subscribing.","jetpack")}}},87138:function(e,t,n){"use strict";n.d(t,{G0:function(){return r},Gp:function(){return a},S9:function(){return o},VF:function(){return i},K3:function(){return s},XJ:function(){return l},xV:function(){return c},bK:function(){return u},HE:function(){return p},Tr:function(){return d},pC:function(){return m},FP:function(){return h},tm:function(){return f}});const r=0,a=50,o=0,i=0,s=15,l=1,c=5,u=50,p=15,d=0,m=50,h=10,f="16px"},45643:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(80790),l=n(87138);const __=a.__;function c(e){let{buttonBackgroundColor:t,borderColor:n,buttonGradient:a,borderRadius:c,borderWeight:u,buttonOnNewLine:p,emailFieldBackgroundColor:d,fallbackButtonBackgroundColor:m,fallbackTextColor:h,fontSize:f,isGradientAvailable:g,padding:b,setAttributes:k,setButtonBackgroundColor:v,setTextColor:y,showSubscribersTotal:E,spacing:w,subscriberCount:_,textColor:C,buttonWidth:x,successMessage:j}=e;return(0,r.createElement)(r.Fragment,null,g&&(0,r.createElement)(i.__experimentalPanelColorGradientSettings,{title:__("Color Settings","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",settings:[{colorValue:t.color,onColorChange:v,gradientValue:a.gradientValue,onGradientChange:a.setGradient,label:__("Button Background Color","jetpack")},{colorValue:C.color,onColorChange:y,label:__("Button Text Color","jetpack")},{colorValue:n.color,onColorChange:e=>{k({borderColor:e,customBorderColor:e})},label:__("Border Color","jetpack")}],initialOpen:!0},(0,r.createElement)(i.ContrastChecker,{fontSize:f.size,textColor:C.color,backgroundColor:d.color,fallbackButtonBackgroundColor:m,fallbackTextColor:h})),!g&&(0,r.createElement)(i.PanelColorSettings,{title:__("Background Colors","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",colorSettings:[{value:t.color,onChange:v,label:__("Button Background Color","jetpack")},{value:C.color,onChange:y,label:__("Button Text Color","jetpack")},{value:n.color,onColorChange:e=>{k({borderColor:e,customBorderColor:e})},label:__("Border Color","jetpack")}],initialOpen:!1},(0,r.createElement)(i.ContrastChecker,{fontSize:f.size,textColor:C.color,backgroundColor:d.color,fallbackButtonBackgroundColor:m,fallbackTextColor:h})),(0,r.createElement)(o.PanelBody,{title:__("Text Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__textpanel"},(0,r.createElement)(i.FontSizePicker,{withSlider:!0,value:f.size,onChange:e=>{const t=e||l.tm;k({fontSize:t,customFontSize:t})}})),(0,r.createElement)(o.PanelBody,{title:__("Border Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__borderpanel"},(0,r.createElement)(o.RangeControl,{value:c,label:__("Border Radius","jetpack"),min:l.G0,max:l.Gp,initialPosition:l.S9,allowReset:!0,onChange:e=>k({borderRadius:e})}),(0,r.createElement)(o.RangeControl,{value:u,label:__("Border Weight","jetpack"),min:l.VF,max:l.K3,initialPosition:l.XJ,allowReset:!0,onChange:e=>k({borderWeight:e})})),(0,r.createElement)(o.PanelBody,{title:__("Spacing Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__spacingpanel"},(0,r.createElement)(o.RangeControl,{value:b,label:__("Space Inside","jetpack"),min:l.xV,max:l.bK,initialPosition:l.HE,allowReset:!0,onChange:e=>k({padding:e})}),(0,r.createElement)(o.RangeControl,{value:w,label:__("Space Between","jetpack"),min:l.Tr,max:l.pC,initialPosition:l.FP,allowReset:!0,onChange:e=>k({spacing:e})}),(0,r.createElement)(s.h,{width:x,onChange:e=>k({buttonWidth:e})})),(0,r.createElement)(o.PanelBody,{title:__("Display Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__displaypanel"},(0,r.createElement)(o.ToggleControl,{label:__("Show subscriber count","jetpack"),checked:E,onChange:()=>{k({showSubscribersTotal:!E})},help:()=>{if(!_||_<1)return __("This will remain hidden on your website until you have at least one subscriber.","jetpack")}}),(0,r.createElement)(o.ToggleControl,{label:__("Place button on new line","jetpack"),checked:p,onChange:()=>{k({buttonOnNewLine:!p})}})),(0,r.createElement)(o.PanelBody,{title:__("Success Message Text","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__successpanel"},(0,r.createElement)(o.TextareaControl,{value:j,label:__("Success Message Text","jetpack"),hideLabelFromVision:!0,help:__("Save your custom message to display when a user subscribes your website.","jetpack"),onChange:e=>k({successMessage:e})})))}},58363:function(e,t,n){"use strict";var r=n(26233),a=n(80960),o=n(28897),i=n(73300),s=n(56286),l=n(16949);t.Z=[l.Z,s.Z,i.Z,o.Z,a.Z,r.Z]},26233:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(92819);const __=a.__;t.Z={attributes:{subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:e=>({submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal}),isEligible:e=>!(!e.hasOwnProperty("subscribeButton")||!(0,o.isEmpty)(e.subscribeButton)),save:function(e){let{attributes:t}=e;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_subscribers_total="${t.showSubscribersTotal}" show_only_email_and_button="true"]`)}}},80960:function(e,t,n){"use strict";var r=n(65736),a=n(51268);const __=r.__;t.Z={attributes:{subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},migrate:e=>({subscribePlaceholder:e.subscribePlaceholder,showSubscribersTotal:e.showSubscribersTotal,buttonOnNewLine:!0,submitButtonText:e.submitButtonText,buttonBackgroundColor:e.backgroundButtonColor?e.backgroundButtonColor:"primary",customButtonBackgroundColor:e.customBackgroundButtonColor,textColor:e.textButtonColor?e.textButtonColor:"background",customTextColor:e.customTextButtonColor}),save:a.Z}},51268:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{showSubscribersTotal:n,submitButtonClasses:a,customBackgroundButtonColor:o,customTextButtonColor:i,submitButtonText:s}=t;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="${o}" custom_text_button_color="${i}" submit_button_text="${s}" submit_button_classes="${a}" show_subscribers_total="${n}" ]`)}},80929:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Enter your email address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Sign Up","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"number"},customFontSize:{type:"number"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},69283:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(80929);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const{subscribePlaceholder:o,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:p,customEmailFieldBackgroundColor:d,emailFieldGradient:m,customEmailFieldGradient:h,buttonBackgroundColor:f,customButtonBackgroundColor:g,buttonGradient:b,customButtonGradient:k,textColor:v,customTextColor:y,fontSize:E,customFontSize:w,borderRadius:_,borderWeight:C,borderColor:x,customBorderColor:j,padding:S,spacing:A}=t,N=!!a.__experimentalGetGradientClass,T=(0,a.getColorClassName)("color",v),P=(0,a.getFontSizeClass)(E),M=(0,a.getColorClassName)("border-color",x),I=(0,a.getColorClassName)("background-color",f),R=N?(0,a.__experimentalGetGradientClass)(b):void 0,L=(0,a.getColorClassName)("background-color",p),B=N?(0,a.__experimentalGetGradientClass)(m):void 0,F=i()(0===_?"no-border-radius":void 0,P,M),Z=i()(F,v?"has-text-color":void 0,T,f||b?"has-background":void 0,I,R),D=i()(F,L,B),O=!L&&h?h:d,z=!I&&k?k:g,$=()=>i()(e,"wp-block-jetpack-subscriptions__supports-newline",c?"wp-block-jetpack-subscriptions__use-newline":void 0,l?"wp-block-jetpack-subscriptions__show-subs":void 0);let U=o,V=u;return"check-text-defaults"===n&&(U=o===s.Z.subscribePlaceholder.default?"Enter your email address":o,V=u===s.Z.submitButtonText.default?"Sign Up":u),(0,r.createElement)("div",{className:$()},(0,r.createElement)(r.RawHTML,null,`\n\t\t\t[jetpack_subscription_form\n\t\t\t\tsubscribe_placeholder="${U}"\n\t\t\t\tshow_subscribers_total="${l}"\n\t\t\t\tbutton_on_newline="${c}"\n\t\t\t\tsubmit_button_text="${V}"\n\t\t\t\tcustom_background_emailfield_color="${O}"\n\t\t\t\tcustom_background_button_color="${z}"\n\t\t\t\tcustom_text_button_color="${y}"\n\t\t\t\tcustom_font_size="${w||16}"\n\t\t\t\tcustom_border_radius="${_||0}"\n\t\t\t\tcustom_border_weight="${C||1}"\n\t\t\t\tcustom_border_color="${j}"\n\t\t\t\tcustom_padding="${S||15}"\n\t\t\t\tcustom_spacing="${A||10}"\n\t\t\t\tsubmit_button_classes="${Z}"\n\t\t\t\temail_field_classes="${D}"\n\t\t\t\tshow_only_email_and_button="true"\n\t\t\t]`))}},28897:function(e,t,n){"use strict";var r=n(80929),a=n(69283);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n)}}},73300:function(e,t,n){"use strict";var r=n(80929),a=n(69283);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n,"check-text-defaults")}}},56286:function(e,t,n){"use strict";var r=n(80929),a=n(14556);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:a.ZP}},14556:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(80929);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:k,customButtonGradient:v,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:x,borderColor:j,customBorderColor:S,padding:A,spacing:N}=n,T=!!a.__experimentalGetGradientClass,P=(0,a.getColorClassName)("color",y),M=(0,a.getFontSizeClass)(w),I=(0,a.getColorClassName)("border-color",j),R=(0,a.getColorClassName)("background-color",g),L=T?(0,a.__experimentalGetGradientClass)(k):void 0,B=(0,a.getColorClassName)("background-color",d),F=T?(0,a.__experimentalGetGradientClass)(h):void 0,Z=i()(0===C?"no-border-radius":void 0,M,I),D=i()(Z,y?"has-text-color":void 0,P,g||k?"has-background":void 0,R,L),O=i()(Z,B,F),z=!B&&f?f:m,$=!R&&v?v:b,U={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:z,custom_background_button_color:$,custom_text_button_color:E,custom_font_size:_||16,custom_border_radius:C||0,custom_border_weight:x||1,custom_border_color:S,custom_padding:A||15,custom_spacing:N||10,submit_button_classes:D,email_field_classes:O,show_only_email_and_button:!0},V=(0,s.reduce)(U,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${V}]`))}},61798:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},16949:function(e,t,n){"use strict";var r=n(61798),a=n(75799);t.Z={attributes:r.Z,save:a.Z}},75799:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(61798);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:k,customButtonGradient:v,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:x,borderColor:j,customBorderColor:S,padding:A,spacing:N,buttonWidth:T}=n,P=!!a.__experimentalGetGradientClass,M=(0,a.getColorClassName)("color",y),I=(0,a.getFontSizeClass)(w),R=(0,a.getColorClassName)("border-color",j),L=(0,a.getColorClassName)("background-color",g),B=P?(0,a.__experimentalGetGradientClass)(k):void 0,F=(0,a.getColorClassName)("background-color",d),Z=P?(0,a.__experimentalGetGradientClass)(h):void 0,D=i()(0===C?"no-border-radius":void 0,I,R),O=i()(D,y?"has-text-color":void 0,M,g||k?"has-background":void 0,L,B),z=i()(D,F,Z),$=!F&&f?f:m,U=!L&&v?v:b,V=T||void 0,q={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:$,custom_background_button_color:U,custom_text_button_color:E,custom_font_size:_||"16px",custom_border_radius:C||0,custom_border_weight:x||1,custom_border_color:S,custom_button_width:V,custom_padding:A||15,custom_spacing:N||10,submit_button_classes:O,email_field_classes:z,show_only_email_and_button:!0},G=(0,s.reduce)(q,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${G}]`))}},73228:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(86989),l=n.n(s),c=n(65736),u=n(55609),p=n(52175),d=n(94333),m=n(79885),h=n(14087),f=n(87138),g=n(45643);const __=c.__,_n=c._n,{getComputedStyle:b}=window,k=!!p.__experimentalUseGradient,v=(0,u.withFallbackStyles)(((e,t)=>{const{buttonBackgroundColor:n,textColor:r}=t,a=n&&n.color,o=r&&r.color,i=e.querySelector(".wp-block-jetpack-subscriptions__button");return{fallbackButtonBackgroundColor:a||!e?void 0:i&&b(i).backgroundColor,fallbackTextColor:o||!e?void 0:i&&b(i).color}}));t.Z=(0,d.compose)([(0,p.withColors)({emailFieldBackgroundColor:"backgroundColor"},{buttonBackgroundColor:"backgroundColor"},{textColor:"color"},"borderColor"),(0,p.withFontSizes)("fontSize"),v])((function(e){const{className:t,attributes:n,setAttributes:a,emailFieldBackgroundColor:s,buttonBackgroundColor:d,setButtonBackgroundColor:b,fallbackButtonBackgroundColor:v,textColor:y,fallbackTextColor:E,setTextColor:w,borderColor:_,fontSize:C}=e,x=(0,h.S)(m.Z,n);(0,i.isEqual)(x,n)||a(x);const{borderRadius:j,borderWeight:S,buttonWidth:A,padding:N,spacing:T,submitButtonText:P,subscribePlaceholder:M,showSubscribersTotal:I,buttonOnNewLine:R,successMessage:L}=x,[B,F]=(0,r.useState)(""),[Z,D]=(0,r.useState)(""),O=k?(0,p.__experimentalUseGradient)({gradientAttribute:"emailFieldGradient",customGradientAttribute:"customEmailFieldGradient"}):{},z=k?(0,p.__experimentalUseGradient)({gradientAttribute:"buttonGradient",customGradientAttribute:"customButtonGradient"}):{},$={"no-border-radius":0===j,[C.class]:C.class,"has-text-color":y.color,[y.class]:y.class},U={...$,"has-background":s.color||O.gradientValue,[s.class]:!O.gradientValue&&s.class,[O.gradientClass]:O.gradientClass},V={...$,"has-background":d.color||z.gradientValue,[d.class]:!z.gradientValue&&d.class,[z.gradientClass]:z.gradientClass},q=e=>e||f.FP,G={color:y.color,borderColor:_.color,borderRadius:j?j+"px":f.S9+"px",borderWidth:S?S+"px":f.XJ+"px",fontSize:C.size?C.size:f.tm,padding:(e=>{const t=e||f.HE;return t+"px "+Math.round(1.5*t)+"px "+t+"px "+Math.round(1.5*t)+"px"})(N)},H={...G,...!s.color&&O.gradientValue?{background:O.gradientValue}:{backgroundColor:s.color}},W={...G,...!d.color&&z.gradientValue?{background:z.gradientValue}:{backgroundColor:d.color},...R?{marginTop:q(T)+"px"}:{marginLeft:q(T)+"px"},width:A};return(0,r.useEffect)((()=>{l()({path:"/wpcom/v2/subscribers/count"}).then((e=>{e.hasOwnProperty("count")?(F((0,c.sprintf)(
-/* translators: Placeholder is a number of subscribers. */
-_n("Join %s other subscriber","Join %s other subscribers",e.count,"jetpack"),e.count)),D(e.count)):(F(__("Subscriber count unavailable","jetpack")),D(0))}))}),[]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p.InspectorControls,null,(0,r.createElement)(g.Z,{buttonBackgroundColor:d,borderColor:_,buttonGradient:z,borderRadius:j,borderWeight:S,buttonOnNewLine:R,emailFieldBackgroundColor:s,fallbackButtonBackgroundColor:v,fallbackTextColor:E,fontSize:C,isGradientAvailable:k,padding:N,setAttributes:a,setButtonBackgroundColor:b,setTextColor:w,showSubscribersTotal:I,spacing:T,subscriberCount:Z,textColor:y,buttonWidth:A,successMessage:L})),(0,r.createElement)("div",{className:o()(t,"wp-block-jetpack-subscriptions__supports-newline",R?"wp-block-jetpack-subscriptions__use-newline":void 0,I?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)("div",{className:"wp-block-jetpack-subscriptions__form",role:"form"},(0,r.createElement)(u.TextControl,{placeholder:M,disabled:!0,className:o()(U,"wp-block-jetpack-subscriptions__textfield"),style:H}),(0,r.createElement)(p.RichText,{className:o()(V,"wp-block-jetpack-subscriptions__button","wp-block-button__link"),onChange:e=>a({submitButtonText:e}),style:W,value:P,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"]})),I&&(0,r.createElement)("p",{className:"wp-block-jetpack-subscriptions__subscount"},B)))}))},57211:function(e,t,n){"use strict";n.d(t,{u2:function(){return d},Xd:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(79885),l=n(58363),c=n(73228),u=n(5321),p=n(57535);const __=a.__,_x=a._x,d="subscriptions",m=(0,r.createElement)(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Rect,{x:"4.75",y:"6.75",width:"14.5",height:"10.5",rx:"1.25",stroke:(0,p.m)(),strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(o.Path,{d:"M19 7L13.3609 12.2363C12.5935 12.9489 11.4065 12.9489 10.6391 12.2363L5 7",stroke:(0,p.m)(),strokeWidth:"1.5",strokeLinejoin:"bevel",fill:"none"})),h={title:__("Subscription Form","jetpack"),description:(0,r.createElement)("p",null,__("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:{src:m,foreground:(0,p.m)()},category:"grow",keywords:[_x("subscribe","block search term","jetpack"),_x("join","block search term","jetpack"),_x("follow","block search term","jetpack")],attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"blog_subscription"===t},transform:e=>{let{instance:t}=e;return(0,i.createBlock)("jetpack/subscriptions",{showSubscribersTotal:t.raw.show_subscribers_total,submitButtonText:t.raw.subscribe_button,subscribePlaceholder:t.raw.subscribe_placeholder,successMessage:t.raw.success_message})}}]},example:{attributes:{}},deprecated:l.Z}},5321:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(79885),c=n(87138);function u(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:u,buttonOnNewLine:p,submitButtonText:d,emailFieldBackgroundColor:m,customEmailFieldBackgroundColor:h,emailFieldGradient:f,customEmailFieldGradient:g,buttonBackgroundColor:b,customButtonBackgroundColor:k,buttonGradient:v,customButtonGradient:y,textColor:E,customTextColor:w,fontSize:_,customFontSize:C,borderRadius:x,borderWeight:j,borderColor:S,customBorderColor:A,padding:N,spacing:T,buttonWidth:P,successMessage:M}=n,I=!!a.__experimentalGetGradientClass,R=(0,a.getColorClassName)("color",E),L=(0,a.getFontSizeClass)(_),B=(0,a.getColorClassName)("border-color",S),F=(0,a.getColorClassName)("background-color",b),Z=I?(0,a.__experimentalGetGradientClass)(v):void 0,D=(0,a.getColorClassName)("background-color",m),O=I?(0,a.__experimentalGetGradientClass)(f):void 0,z=i()(0===x?"no-border-radius":void 0,L,B),$=i()(z,E?"has-text-color":void 0,R,b||v?"has-background":void 0,F,Z),U=i()(z,D,O),V=!D&&g?g:h,q=!F&&y?y:k,G=P||void 0,H={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:u,button_on_newline:p,submit_button_text:d!==l.Z.submitButtonText.default?d:void 0,custom_background_emailfield_color:V,custom_background_button_color:q,custom_text_button_color:w,custom_font_size:C||c.tm,custom_border_radius:x||c.S9,custom_border_weight:j||c.XJ,custom_border_color:A,custom_button_width:G,custom_padding:N||c.HE,custom_spacing:T||c.FP,submit_button_classes:$,email_field_classes:U,show_only_email_and_button:!0,success_message:M},W=(0,s.reduce)(H,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",p?"wp-block-jetpack-subscriptions__use-newline":void 0,u?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${W}]`))}},28526:function(e,t,n){"use strict";n.d(t,{RA:function(){return r},q3:function(){return a},hI:function(){return o},Z5:function(){return i},GP:function(){return s},xJ:function(){return l},sw:function(){return c},EU:function(){return u},yw:function(){return p},P0:function(){return d}});const r=["image"],a=4,o=20,i=20,s=2e3,l="circle",c="columns",u="rectangular",p="square",d=[{isDefault:!0,name:u},{name:l},{name:p},{name:c}]},70132:function(e,t,n){"use strict";var r=n(25689),a=n(47330),o=n(35660);t.Z=[o,a,r]},66105:function(e,t,n){"use strict";n.d(t,{q3:function(){return r},hI:function(){return a},GP:function(){return o},EU:function(){return i},P0:function(){return s}});const r=4,a=20,o=2e3,i="rectangular",s=[{isDefault:!0,name:i},{name:"circle"},{name:"square"},{name:"columns"}]},2589:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(11313);function o(e){const{"aria-label":t,alt:n,height:o,id:i,link:s,linkTo:l,origUrl:c,url:u,width:p}=e;if((0,a.isBlobURL)(c))return null;let d;switch(l){case"media":d=u;break;case"attachment":d=s}const m=(0,r.createElement)("img",{alt:n,"aria-label":t,"data-height":o,"data-id":i,"data-link":s,"data-url":c,"data-width":p,src:u});return(0,r.createElement)("figure",{className:"tiled-gallery__item"},d?(0,r.createElement)("a",{href:d},m):m)}},25689:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return r.Z},attributes:function(){return a},support:function(){return o}});var r=n(19092);const a={align:{default:"center",type:"string"},className:{default:`is-style-${n(66105).EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},o={align:["center","wide","full"],customClassName:!1,html:!1}},43064:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},7696:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},17357:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(40278),o=n(65736),i=n(82827),s=n(11313),l=n(2589),c=n(1077),u=n(47536),p=n(66105);const __=o.__;class d extends r.Component{photonize(e){let{height:t,width:n,url:r}=e;if(!r)return;if((0,s.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;const o=r.split("?",1)[0],l=function(e){const{host:t}=(0,i.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}(r)?h:a.Z,{layoutStyle:c}=this.props;if(m(c)&&n&&t){const e=Math.min(p.GP,n,t);return l(o,{resize:`${e},${e}`})}return l(o)}renderImage(e,t){const{images:n,linkTo:a,selectedImage:i}=this.props,s=(0,o.sprintf)(
+__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:g,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:x}=r,j=C&&(0,c.isEmpty)(u);if(!i&&j)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(v.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&x&&!e&&!t&&!n)return(0,o.createElement)(v.Z,{"aria-busy":"false",content:p,featuredMediaUrl:g,featuredMediaTitle:E,formattedPrice:(0,y.T4)(_,d),multiple:w,title:x});const S=j?h.Disabled:"div";return(0,o.createElement)(S,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(k.Z,{featuredMediaId:f,featuredMediaUrl:g,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:x}),(0,o.createElement)(b.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),"aria-label":__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,y.T4)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(b.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(b.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(b.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const C=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{getCurrentPost:a}=e("core/editor"),{__experimentalGetDirtyEntityRecords:o,isSavingEntityRecord:i}=e("core"),s=o,{productId:l,featuredMediaId:u}=t.attributes,p=l?(0,c.pick)(n("postType",E.LC,l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,d=a();return{block:e("core/block-editor").getBlock(t.clientId),hasPublishAction:!!(0,c.get)(d,["_links","wp:action-publish"]),isSaving:s().some((e=>i(e.kind,e.name,e.key))),simplePayment:p,featuredMedia:u?r(u):null,postLinkUrl:null==d?void 0:d.link,isPostEditor:Object.keys(a()).length>0}}));t.Z=(0,d.compose)(C,d.withInstanceId)(_)},39416:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(92819),s=n(55609),l=n(94545);const __=a.__,c=e=>t=>e({featuredMediaId:(0,i.get)(t,"id",0),featuredMediaUrl:(0,i.get)(t,"url",null),featuredMediaTitle:(0,i.get)(t,"title",null)});t.Z=e=>{let{featuredMediaId:t,featuredMediaUrl:n,featuredMediaTitle:a,setAttributes:i}=e;return t?(0,r.createElement)("div",null,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(o.MediaUpload,{onSelect:c(i),allowedTypes:["image"],value:t,render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Image","jetpack"),onClick:t})}}))),(0,r.createElement)(s.ToolbarButton,{icon:"trash",title:__("Remove Image","jetpack"),onClick:()=>i({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}))),(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:n,alt:a})))):(0,r.createElement)(o.MediaPlaceholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:"format-image"}),labels:{title:__("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:c(i)})}},61390:function(e,t,n){"use strict";n.d(t,{Xd:function(){return b},u2:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(36825),l=n(70355),c=n(36239),u=n(16376),p=n(66763),d=n(24097),m=n(60206);const __=a.__,_x=a._x,h="simple-payments",f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),g=(0,i.Wp)()||(0,i.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",b={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:g},__("Support reference","jetpack"))),icon:{src:f,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),_x("money","block search term","jetpack"),_x("paid","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),"square",_x("payments","block search term","jetpack")],attributes:{currency:{type:"string",default:s.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,example:{attributes:{price:25,title:__("Jetpack t-shirt","jetpack"),content:__("Take flight in ultimate comfort with this stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:m}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},deprecated:[p.Z,d.Z]}},72802:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(22323),i=n(23879);const __=a.__;t.Z=e=>{let{title:t="",content:n="",formattedPrice:a="",multiple:s=!1,featuredMediaUrl:l=null,featuredMediaTitle:c=null}=e;return(0,r.createElement)("div",{className:"jetpack-simple-payments-wrapper"},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},l&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("figure",{className:"jetpack-simple-payments-image"},(0,r.createElement)("img",{src:l,alt:c}))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},t&&(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,t)),n&&(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),a&&(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,a)),(0,r.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},s&&(0,r.createElement)("div",{className:"jetpack-simple-payments-items"},(0,r.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),(0,r.createElement)("div",{className:"jetpack-simple-payments-button"},(0,r.createElement)("img",{alt:__("Pay with PayPal","jetpack"),src:o,srcSet:`${i} 2x`}))))))}},16376:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(96059);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.T4)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},96059:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},T4:function(){return l},w:function(){return s}});var r=n(43317),a=n(92819);n(36825);const o=e=>{const t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},i=function(){var e,t,n,r,a,o;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";const s=null===(e=window)||void 0===e||null===(t=e.window)||void 0===t?void 0:t.navigator;return null!=s&&null!==(n=s.languages)&&void 0!==n&&n.length?s.languages[0]:null!==(r=null!==(a=null!==(o=null==s?void 0:s.userLanguage)&&void 0!==o?o:null==s?void 0:s.language)&&void 0!==a?a:null==s?void 0:s.browserLanguage)&&void 0!==r?r:i},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{precision:o,symbol:i}=(0,r.X)(t),s=e.toFixed(o);return n?`${s} ${(0,a.trimEnd)(i,".")}`:s},l=function(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1?arguments[1]:void 0,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!window.Intl||"function"!=typeof Intl.NumberFormat)return s(r,a,o);const l=null!==(e=null===(t=window)||void 0===t||null===(n=t.Jetpack_Editor_Initial_State)||void 0===n?void 0:n.siteLocale)&&void 0!==e?e:"en-US",c=[l,i(),"en-US"];let u,p={};for(u of(o&&(p={style:"currency",currency:a}),c))try{return Intl.NumberFormat(u,p).format(r)}catch{continue}return s(r,a,o)}},20288:function(e,t,n){"use strict";n.d(t,{G:function(){return c},J:function(){return u}});var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(92819),l=n(94545);const __=i.__,_x=i._x;function c(e){let{attributes:{autoplay:t,delay:n,effect:a,images:i,sizeSlug:l},imageSizeOptions:c,onChangeImageSize:u,setAttributes:p}=e;const d="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=[{label:_x("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:_x("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Autoplay","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Autoplay","jetpack"),help:__("Autoplay between slides","jetpack"),checked:t,onChange:e=>{p({autoplay:e})}}),t&&(0,r.createElement)(o.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack"),value:n,onChange:e=>{p({delay:e})},min:1,max:5}),t&&d&&(0,r.createElement)("span",null,__("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Effects","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Transition effect","jetpack"),value:a,onChange:e=>{p({effect:e})},options:m})),!(0,s.isEmpty)(i)&&!(0,s.isEmpty)(c)&&(0,r.createElement)(o.PanelBody,{title:__("Image Settings","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Image Size","jetpack"),value:l,options:c,onChange:e=>u(e)})))}function u(e){let{allowedMediaTypes:t,attributes:{images:n},onSelectImages:i}=e;return(0,r.createElement)(r.Fragment,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{onSelect:i,allowedTypes:t,multiple:!0,gallery:!0,value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Slideshow","jetpack"),onClick:t})}})))))}},30847:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(a,(e=>function(){e(this)}))},[{default:i}]=await Promise.all([Promise.all([n.e(302),n.e(390)]).then(n.t.bind(n,59101,23)),Promise.all([n.e(302),n.e(390)]).then(n.bind(n,89701))]);return new i(e,(0,r.merge)({},o,t))}},21233:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(11313),u=n(9818),p=n(52175),d=n(12238),m=n(55609),h=n(19775),f=n(20288),g=n(19486);const __=i.__,b=["image"],v=(e,t)=>{const n=(0,l.pick)(e,["alt","id","link","caption"]);return n.url=(0,l.get)(e,["sizes",t,"url"])||(0,l.get)(e,["media_details","sizes",t,"source_url"])||e.url,n};class k extends o.Component{constructor(){super(...arguments),a()(this,"onSelectImages",(e=>{const{sizeSlug:t}=this.props.attributes,n=e.map((e=>v(e,t)));this.setAttributes({images:n})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,l.filter)(this.props.attributes.images,((t,n)=>e!==n));this.setState({selectedImage:null}),this.setAttributes({images:t})})),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],n=this.props.attributes.sizeSlug,{lockPostSaving:r,unlockPostSaving:a,noticeOperations:o}=this.props,i="slideshowBlockLock";r(i),(0,d.mediaUpload)({allowedTypes:b,filesList:e,onFileChange:e=>{const r=e.map((e=>v(e,n)));this.setAttributes({images:[...t,...r]}),r.every((e=>(0,c.isBlobURL)(e.url)))||a(i)},onError:o.createErrorNotice})})),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files))),a()(this,"updateImagesSize",(e=>{const{images:t}=this.props.attributes,{resizedImages:n}=this.props,r=t.map((t=>{const r=n.find((e=>{let{id:n}=e;return parseInt(n,10)===parseInt(t.id,10)})),a=(0,l.get)(r,["sizes",e,"source_url"]);return{...t,...a&&{url:a}}}));this.setAttributes({images:r,sizeSlug:e})})),this.state={selectedImage:null}}componentDidMount(){const{ids:e,sizeSlug:t}=this.props.attributes;t||this.setAttributes({sizeSlug:e.length?"full":"large"})}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}getImageSizeOptions(){const{imageSizes:e}=this.props;return(0,l.map)(e,(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}))}render(){const{attributes:e,className:t,isSelected:n,noticeOperations:r,noticeUI:a}=this.props,{align:i,autoplay:s,delay:l,effect:c,images:u}=e,d=this.getImageSizeOptions(),v=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.InspectorControls,null,(0,o.createElement)(f.G,{attributes:e,imageSizeOptions:d,onChangeImageSize:this.updateImagesSize,setAttributes:e=>this.setAttributes(e)})),(0,o.createElement)(p.BlockControls,null,(0,o.createElement)(f.J,{allowedMediaTypes:b,attributes:e,onSelectImages:this.onSelectImages})));return 0===u.length?(0,o.createElement)(o.Fragment,null,v,(0,o.createElement)(p.MediaPlaceholder,{icon:h.qv,className:t,labels:{title:__("Slideshow","jetpack"),instructions:__("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:b,multiple:!0,notices:a,onError:r.createErrorNotice})):(0,o.createElement)(o.Fragment,null,v,a,(0,o.createElement)(g.Z,{align:i,autoplay:s,className:t,delay:l,effect:c,images:u,onError:r.createErrorNotice}),(0,o.createElement)(m.DropZone,{onFilesDrop:this.addFiles}),n&&(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},(0,o.createElement)(m.FormFileUpload,{multiple:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack"))))}}t.ZP=(0,s.compose)((0,u.withSelect)(((e,t)=>({imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce(((t,n)=>{const r=e("core").getMedia(n);return[...t,{id:n,sizes:(0,l.get)(r,["media_details","sizes"])}]}),[])}))),(0,u.withDispatch)((e=>{const{lockPostSaving:t,unlockPostSaving:n}=e("core/editor");return{lockPostSaving:t,unlockPostSaving:n}})),m.withNotices)(k)},19775:function(e,t,n){"use strict";n.d(t,{Xd:function(){return b},qv:function(){return h},u2:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(21233),s=n(67240),l=n(81504),c=n(70355),u=n(5820),p=n(65784),d=n(6425),m=n(85983);const __=a.__,_x=a._x,h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)(o.Path,{d:"M21 8V19C21 20.1046 20.1057 21 19.0011 21C15.8975 21 9.87435 21 6 21",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Rect,{x:"3.75",y:"3.75",width:"13.5",height:"13.5",rx:"0.875",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Path,{d:"M9 14L12 11L9 8",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})),f={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:p},{alt:"",caption:"",id:23,url:d},{alt:"",caption:"",id:23,url:m}],effect:"slide"},g="slideshow",b={title:__("Slideshow","jetpack"),category:(0,u.Z)("media","layout"),keywords:[_x("image","block search term","jetpack"),_x("gallery","block search term","jetpack"),_x("slider","block search term","jetpack")],description:__("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:{src:h,foreground:(0,c.m)()},edit:i.ZP,save:s.Z,transforms:l.Z,example:{attributes:f}}},67240:function(e,t,n){"use strict";var r=n(69307),a=n(19486);t.Z=e=>{let{attributes:{align:t,autoplay:n,delay:o,effect:i,images:s},className:l}=e;return(0,r.createElement)(a.Z,{align:t,autoplay:n,className:l,delay:o,effect:i,images:s})}},19486:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(6209),c=n(65736),u=n(11313),p=n(92819),d=n(52175),m=n(55609),h=n(30847),f=n(17766);const __=c.__;class g extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"pendingRequestAnimationFrame",null),a()(this,"resizeObserver",null),a()(this,"initializeResizeObserver",(e=>{this.clearResizeObserver(),this.resizeObserver=new l.Z((()=>{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame((()=>{(0,f.$m)(e),e.update()}))})),this.resizeObserver.observe(e.el)})),a()(this,"clearPendingRequestAnimationFrame",(()=>{this.pendingRequestAnimationFrame&&(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)})),a()(this,"clearResizeObserver",(()=>{this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)})),a()(this,"prefersReducedMotion",(()=>"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)),a()(this,"buildSwiper",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,h.Z)(t.slideshowRef.current,{autoplay:!(!t.props.autoplay||t.prefersReducedMotion())&&{delay:1e3*t.props.delay,disableOnInteraction:!1},effect:t.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:t.btnNextRef.current,prevEl:t.btnPrevRef.current},pagination:{clickable:!0,el:t.paginationRef.current,type:"bullets"}},{init:f.UA,imagesReady:f.$m,paginationRender:f.Wj,transitionEnd:f.HV})})),this.slideshowRef=(0,o.createRef)(),this.btnNextRef=(0,o.createRef)(),this.btnPrevRef=(0,o.createRef)(),this.paginationRef=(0,o.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{e(__("The Swiper library could not be loaded.","jetpack"))}))}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:n,delay:r,effect:a,images:o,onError:i}=this.props;if(t===e.align&&(0,p.isEqual)(o,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||n!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{i(__("The Swiper library could not be loaded.","jetpack"))}))}}render(){var e,t;if(null===(e=this.props)||void 0===e||null===(t=e.images)||void 0===t||!t.length)return null;const{autoplay:n,className:r,delay:a,effect:i,images:l}=this.props;return(0,o.createElement)("div",{className:r,"data-autoplay":n||null,"data-delay":n?a:null,"data-effect":i},(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},(0,o.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},l.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return(0,o.createElement)("li",{className:s()("wp-block-jetpack-slideshow_slide","swiper-slide",(0,u.isBlobURL)(a)&&"is-transient"),key:r||a},(0,o.createElement)("figure",null,(0,o.createElement)("img",{alt:t,className:`wp-block-jetpack-slideshow_image wp-image-${r}`,"data-id":r,src:a}),(0,u.isBlobURL)(a)&&(0,o.createElement)(m.Spinner,null),n&&(0,o.createElement)(d.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),(0,o.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}a()(g,"defaultProps",{effect:"slide"}),t.Z=g},17766:function(e,t,n){"use strict";n.d(t,{$m:function(){return s},HV:function(){return l},UA:function(){return i},Wj:function(){return c}});var r=n(81975),a=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function i(e){s(e),l(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function s(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),a="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,a),i=`${Math.floor(o)}px`,s=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=i,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=s}function l(e){(0,a.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(a.alt))}(e)}function c(e){(0,a.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},81504:function(e,t,n){"use strict";var r=n(4981),a=n(92819);function o(e){return(0,a.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const i={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>o(e).length>0,transform:e=>{const t=o(e);return(0,r.createBlock)("jetpack/slideshow",{images:t.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:e=>{let{images:t}=e;const n=o(t);return n.length>0?(0,r.createBlock)("jetpack/slideshow",{images:n.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,r.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n}=e;return(0,r.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:e=>{let{images:t}=e;return t.length>0?t.map((e=>{let{id:t,url:n,alt:a,caption:o}=e;return(0,r.createBlock)("core/image",{id:t,url:n,alt:a,caption:o})})):(0,r.createBlock)("core/image")}}]};t.Z=i},3740:function(e,t,n){"use strict";n.d(t,{EU:function(){return u},GP:function(){return s},P0:function(){return d},RA:function(){return r},Z5:function(){return i},hI:function(){return o},q3:function(){return a},sw:function(){return c},xJ:function(){return l},yw:function(){return p}});const r=["image"],a=4,o=20,i=20,s=2e3,l="circle",c="columns",u="rectangular",p="square",d=[{isDefault:!0,name:u},{name:l},{name:p},{name:c}]},73463:function(e,t,n){"use strict";var r=n(76476),a=n(43125),o=n(67525);t.Z=[o,a,r]},1377:function(e,t,n){"use strict";n.d(t,{EU:function(){return i},GP:function(){return o},P0:function(){return s},hI:function(){return a},q3:function(){return r}});const r=4,a=20,o=2e3,i="rectangular",s=[{isDefault:!0,name:i},{name:"circle"},{name:"square"},{name:"columns"}]},56005:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(11313);function o(e){const{"aria-label":t,alt:n,height:o,id:i,link:s,linkTo:l,origUrl:c,url:u,width:p}=e;if((0,a.isBlobURL)(c))return null;let d;switch(l){case"media":d=u;break;case"attachment":d=s}const m=(0,r.createElement)("img",{alt:n,"aria-label":t,"data-height":o,"data-id":i,"data-link":s,"data-url":c,"data-width":p,src:u});return(0,r.createElement)("figure",{className:"tiled-gallery__item"},d?(0,r.createElement)("a",{href:d},m):m)}},76476:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return a},save:function(){return r.Z},support:function(){return o}});var r=n(91507);const a={align:{default:"center",type:"string"},className:{default:`is-style-${n(1377).EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},o={align:["center","wide","full"],customClassName:!1,html:!1}},52235:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},89754:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},15645:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(69424),o=n(65736),i=n(11313),s=n(56005),l=n(30791),c=n(79313),u=n(1377);const __=o.__;class p extends r.Component{photonize(e){let{height:t,width:n,url:r}=e;if(!r)return;if((0,i.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;const o=r.split("?",1)[0],s=function(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}(r)?m:a.Z,{layoutStyle:l}=this.props;if(d(l)&&n&&t){const e=Math.min(u.GP,n,t);return s(o,{resize:`${e},${e}`})}return s(o)}renderImage(e,t){const{images:n,linkTo:a,selectedImage:i}=this.props,l=(0,o.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,n.length);return(0,r.createElement)(l.Z,{alt:e.alt,"aria-label":s,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:i}=this.props,s=m(i)?u.Z:c.Z,l=this.props.images.map(this.renderImage,this);return(0,r.createElement)("div",{className:n},(0,r.createElement)(s,{align:e,columns:a,images:o,layoutStyle:i,renderedImages:l}),t)}}function m(e){return["circle","square"].includes(e)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:a,port:o,query:s,search:l,...c}=(0,i.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,i.WU)(c)}},1077:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),a=n.n(r),o=n(69307),i=n(54166),s=n(43064),l=n(7696),c=n(8292),u=n(37335),p=n(54794);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t;(0,u.W)(n).forEach((t=>(0,u.i)(t,e)))}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(s.Z,{key:t},n)}))))))}}},54794:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return x}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=A([2,1,2],5),l=N([T,T,P,T,T]),c=N([T,T,T,P,T,T,T]),u=A([3,1,3],5),p=N([P,T,T,P]),d=A([1,2,1],5),m=N([P,T,T,T]),h=A([1,3],3),f=N([T,T,T,P]),g=A([3,1],3),b=N([I(1.6),(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2))]),k=A([1,2],3),v=A([1,1,1,1,1],1),y=A([1,1,1,1],1),E=A([1,1,1],3),w=N([(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2)),I(1.6)]),_=A([2,1],3),C=N([function(e){return e>=2}]);function x(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&k(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&v(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:S(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function S(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function A(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function T(e){return e>=1&&e<2}function P(e){return e<1}function M(e){return t=>t>=e}function I(e){return t=>t<e}},37335:function(e,t,n){"use strict";n.d(t,{i:function(){return o},W:function(){return i}});var r=n(66105);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){!function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);!function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},8292:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},47536:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(8292),i=n(43064),s=n(7696),l=n(66105);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},19092:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(17357),o=n(98085),i=n(66105);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{images:n}=t;if(!n.length)return null;const{align:l,className:c,columns:u=s(t),linkTo:p}=t;return(0,r.createElement)(a.Z,{align:l,className:c,columns:u,images:n,layoutStyle:(0,o.t)(i.P0,c),linkTo:p})}},96470:function(e,t,n){"use strict";n.d(t,{hI:function(){return r},Z5:function(){return a},GP:function(){return o},xJ:function(){return i},EU:function(){return s},P0:function(){return l}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},72285:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},47330:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return a.Z},attributes:function(){return o},supports:function(){return i}});var r=n(96470),a=n(96659);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1}},71410:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},86159:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},15515:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(72285),l=n(56556),c=n(14916),u=n(92805),p=n(96470);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,linkTo:l,layoutStyle:c,selectedImage:p}=this.props,d=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,n.length);return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":l,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:i}=this.props,s=d(i)?c.Z:l.Z,u=this.props.images.map(this.renderImage,this);return(0,r.createElement)("div",{className:n},(0,r.createElement)(s,{align:e,columns:a,images:o,layoutStyle:i,renderedImages:u}),t)}}function d(e){return["circle","square"].includes(e)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},30791:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(18294),a=n.n(r),o=n(69307),i=n(6209),s=n(52235),l=n(89754),c=n(36472),u=n(6648),p=n(6817);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t;(0,u.W)(n).forEach((t=>(0,u.i)(t,e)))}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(s.Z,{key:t},n)}))))))}}},6817:function(e,t,n){"use strict";n.d(t,{T9:function(){return x},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=A([2,1,2],5),l=P([N,N,T,N,N]),c=P([N,N,N,T,N,N,N]),u=A([3,1,3],5),p=P([T,N,N,T]),d=A([1,2,1],5),m=P([T,N,N,N]),h=A([1,3],3),f=P([N,N,N,T]),g=A([3,1],3),b=P([M(1.6),(0,r.overEvery)(R(.9),M(2)),(0,r.overEvery)(R(.9),M(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),E=A([1,1,1],3),w=P([(0,r.overEvery)(R(.9),M(2)),(0,r.overEvery)(R(.9),M(2)),M(1.6)]),_=A([2,1],3),C=P([function(e){return e>=2}]);function x(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:S(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function S(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function A(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function P(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function T(e){return e<1}function R(e){return t=>t>=e}function M(e){return t=>t<e}},6648:function(e,t,n){"use strict";n.d(t,{W:function(){return i},i:function(){return o}});var r=n(1377);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){!function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);!function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},36472:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},79313:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(36472),i=n(52235),s=n(89754),l=n(1377);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},91507:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(15645),o=n(81518),i=n(1377);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{images:n}=t;if(!n.length)return null;const{align:l,className:c,columns:u=s(t),linkTo:p}=t;return(0,r.createElement)(a.Z,{align:l,className:c,columns:u,images:n,layoutStyle:(0,o.t)(i.P0,c),linkTo:p})}},86738:function(e,t,n){"use strict";n.d(t,{EU:function(){return s},GP:function(){return o},P0:function(){return l},Z5:function(){return a},hI:function(){return r},xJ:function(){return i}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},64931:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},43125:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return o},save:function(){return a.Z},supports:function(){return i}});var r=n(86738),a=n(68405);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1}},85407:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},40195:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},73208:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(64931),l=n(84420),c=n(87178),u=n(67091),p=n(86738);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,linkTo:l,layoutStyle:c,selectedImage:p}=this.props,d=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:m,srcSet:h}=(0,u.z)(e,{layoutStyle:c});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":d,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:p===t,key:t,link:e.link,linkTo:l,origUrl:e.url,showMovers:i.length>1,srcSet:h,url:m,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d}=this.props,m=(0,u.v)(s)?c.Z:l.Z,h=this.props.images.map(this.renderImage,this),f=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${f}`]:f>0})},(0,r.createElement)(m,{align:e,columns:a,images:o,layoutStyle:s,renderedImages:h}),t)}}},56556:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27538),a=n.n(r),o=n(69307),i=n(71410),s=n(86159),l=n(8955),c=n(9972);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,u=(0,c.h9)(n),p="columns"===r?(0,c.sv)(u,t):(0,c.T9)(u,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},p.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(i.Z,{key:t},n)}))))))}}},9972:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return x}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=A([2,1,2],5),l=N([T,T,P,T,T]),c=N([T,T,T,P,T,T,T]),u=A([3,1,3],5),p=N([P,T,T,P]),d=A([1,2,1],5),m=N([P,T,T,T]),h=A([1,3],3),f=N([T,T,T,P]),g=A([3,1],3),b=N([I(1.6),(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2))]),k=A([1,2],3),v=A([1,1,1,1,1],1),y=A([1,1,1,1],1),E=A([1,1,1],3),w=N([(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2)),I(1.6)]),_=A([2,1],3),C=N([function(e){return e>=2}]);function x(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&k(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&v(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:S(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function S(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function A(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function T(e){return e>=1&&e<2}function P(e){return e<1}function M(e){return t=>t>=e}function I(e){return t=>t<e}},8955:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},14916:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(8955),i=n(71410),s=n(86159),l=n(96470);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},96659:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(15515),o=n(98085),i=n(96470);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m})}},92805:function(e,t,n){"use strict";n.d(t,{v:function(){return l},z:function(){return c}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(96470);function l(e){return["circle","square"].includes(e)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:c}=e,{layoutStyle:m}=t,h=p(n)||!0===u()?d:r.Z;let f;if(l(m)&&c&&a){const e=Math.min(s.GP,c,a);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let k;if(l(m)){const e=Math.min(b,c,a),t=Math.min(s.GP,c,a);k=(0,i.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,c),t=Math.min(s.GP,c);k=(0,i.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},k&&{srcSet:k})}function u(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function p(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},30154:function(e,t,n){"use strict";n.d(t,{hI:function(){return r},Z5:function(){return a},GP:function(){return o},xJ:function(){return i},EU:function(){return s},P0:function(){return l}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},7214:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},35660:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return a.Z},attributes:function(){return o},supports:function(){return i},migrate:function(){return s}});var r=n(30154),a=n(2387);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1},s=e=>{const t=Math.pow(10,5);return{...e,columnWidths:e.columnWidths.map((e=>e.map((e=>Math.round(e*t)/t))))}}},62940:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=Math.pow(10,12),o=Math.round(n*a)/a,i=n?{flexBasis:`${o}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:i},t)}},68742:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},62108:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(7214),l=n(34506),c=n(85185),u=n(60185),p=n(30154);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:l,linkTo:c,layoutStyle:p,onMoveBackward:d,onMoveForward:m,onRemoveImage:h,onSelectImage:f,selectedImage:g,setImageAttributes:b}=this.props,k=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:m,srcSet:h}=(0,u.z)(e,{layoutStyle:c});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":d,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:p===t,key:t,link:e.link,linkTo:l,origUrl:e.url,showMovers:i.length>1,srcSet:h,url:m,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d}=this.props,m=(0,u.v)(s)?c.Z:l.Z,h=this.props.images.map(this.renderImage,this),f=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${f}`]:f>0})},(0,r.createElement)(m,{align:e,columns:a,images:o,layoutStyle:s,renderedImages:h}),t)}}},84420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(18294),a=n.n(r),o=n(69307),i=n(85407),s=n(40195),l=n(56243),c=n(12126);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,u=(0,c.h9)(n),p="columns"===r?(0,c.sv)(u,t):(0,c.T9)(u,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},p.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(i.Z,{key:t},n)}))))))}}},12126:function(e,t,n){"use strict";n.d(t,{T9:function(){return x},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=A([2,1,2],5),l=P([N,N,T,N,N]),c=P([N,N,N,T,N,N,N]),u=A([3,1,3],5),p=P([T,N,N,T]),d=A([1,2,1],5),m=P([T,N,N,N]),h=A([1,3],3),f=P([N,N,N,T]),g=A([3,1],3),b=P([M(1.6),(0,r.overEvery)(R(.9),M(2)),(0,r.overEvery)(R(.9),M(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),E=A([1,1,1],3),w=P([(0,r.overEvery)(R(.9),M(2)),(0,r.overEvery)(R(.9),M(2)),M(1.6)]),_=A([2,1],3),C=P([function(e){return e>=2}]);function x(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:S(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function S(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function A(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function P(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function T(e){return e<1}function R(e){return t=>t>=e}function M(e){return t=>t<e}},56243:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},87178:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(56243),i=n(85407),s=n(40195),l=n(86738);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},68405:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(73208),o=n(81518),i=n(86738);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m})}},67091:function(e,t,n){"use strict";n.d(t,{v:function(){return s},z:function(){return l}});var r=n(69424),a=n(11313),o=n(92819),i=n(86738);function s(e){return["circle","square"].includes(e)}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:l,width:d}=e,{layoutStyle:m}=t,h=u(n)||!0===c()?p:r.Z;let f;if(s(m)&&d&&l){const e=Math.min(i.GP,d,l);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(s(m)){const e=Math.min(b,d,l),t=Math.min(i.GP,d,l);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,d),t=Math.min(i.GP,d);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function c(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function u(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},13993:function(e,t,n){"use strict";n.d(t,{EU:function(){return s},GP:function(){return o},P0:function(){return l},Z5:function(){return a},hI:function(){return r},xJ:function(){return i}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},21959:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},67525:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return o},migrate:function(){return s},save:function(){return a.Z},supports:function(){return i}});var r=n(13993),a=n(5826);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1},s=e=>{const t=Math.pow(10,5);return{...e,columnWidths:e.columnWidths.map((e=>e.map((e=>Math.round(e*t)/t))))}}},17410:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=Math.pow(10,12),o=Math.round(n*a)/a,i=n?{flexBasis:`${o}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:i},t)}},46349:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},178:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(21959),l=n(47510),c=n(65662),u=n(11197),p=n(13993);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:l,linkTo:c,layoutStyle:p,onMoveBackward:d,onMoveForward:m,onRemoveImage:h,onSelectImage:f,selectedImage:g,setImageAttributes:b}=this.props,v=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:v,srcSet:y}=(0,u.z)(e,{layoutStyle:p});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":k,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:g===t,key:t,link:e.link,linkTo:c,onMoveBackward:l?void 0:d(t),onMoveForward:l?void 0:m(t),onRemove:l?void 0:h(t),onSelect:l?void 0:f(t),origUrl:e.url,setAttributes:l?void 0:b(t),showMovers:i.length>1,srcSet:y,url:v,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,u.v)(s)?c.Z:l.Z,b=this.props.images.map(this.renderImage,this),k=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${k}`]:k>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},34506:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27538),a=n.n(r),o=n(69307),i=n(62940),s=n(68742),l=n(7930),c=n(58174);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:u}=this.props,p=(0,c.h9)(n),d="columns"===r?(0,c.sv)(p,t):(0,c.T9)(p,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,n)=>{const r=a.slice(m,m+e);return m+=e,(0,o.createElement)(i.Z,{key:n,width:u?.[t]?.[n]},r)}))))))}}},58174:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return x}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=A([2,1,2],5),l=N([T,T,P,T,T]),c=N([T,T,T,P,T,T,T]),u=A([3,1,3],5),p=N([P,T,T,P]),d=A([1,2,1],5),m=N([P,T,T,T]),h=A([1,3],3),f=N([T,T,T,P]),g=A([3,1],3),b=N([I(1.6),(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2))]),k=A([1,2],3),v=A([1,1,1,1,1],1),y=A([1,1,1,1],1),E=A([1,1,1],3),w=N([(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2)),I(1.6)]),_=A([2,1],3),C=N([function(e){return e>=2}]);function x(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&k(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&v(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:S(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function S(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function A(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function T(e){return e>=1&&e<2}function P(e){return e<1}function M(e){return t=>t>=e}function I(e){return t=>t<e}},7930:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},85185:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(7930),i=n(62940),s=n(68742),l=n(30154);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},2387:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(62108),o=n(98085),i=n(30154);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},60185:function(e,t,n){"use strict";n.d(t,{v:function(){return l},z:function(){return c}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(30154);function l(e){return["circle","square"].includes(e)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:c}=e,{layoutStyle:m}=t,h=p(n)||!0===u()?d:r.Z;let f;if(l(m)&&c&&a){const e=Math.min(s.GP,c,a);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let k;if(l(m)){const e=Math.min(b,c,a),t=Math.min(s.GP,c,a);k=(0,i.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,c),t=Math.min(s.GP,c);k=(0,i.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},k&&{srcSet:k})}function u(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function p(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},86655:function(e,t,n){"use strict";n.d(t,{F:function(){return k}});var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(52175),c=n(12238),u=n(55609),p=n(41451),d=n(6624),m=n(28526),h=n(98085),f=n(80349),g=n(58703);const __=i.__,b=[{value:"attachment",label:__("Attachment Page","jetpack")},{value:"media",label:__("Media File","jetpack")},{value:"none",label:__("None","jetpack")}];function k(e){return Math.min(3,e.images.length)}const v=e=>{const t=(0,s.pick)(e,[["alt"],["id"],["link"]]);return t.url=(0,s.get)(e,["sizes","large","url"])||(0,s.get)(e,["media_details","sizes","large","source_url"])||e.url,t};class y extends o.Component{constructor(){super(...arguments),a()(this,"state",{selectedImage:null,changed:void 0===this.props.attributes.columnWidths||0===this.props.attributes.columnWidths?.length}),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],{noticeOperations:n}=this.props;(0,c.mediaUpload)({allowedTypes:m.RA,filesList:e,onFileChange:e=>{const n=e.map((e=>v(e)));this.setAttributes({images:t.concat(n)})},onError:n.createErrorNotice}),this.setState({changed:!0})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,s.filter)(this.props.attributes.images,((t,n)=>e!==n)),{columns:n}=this.props.attributes;this.setState({selectedImage:null,changed:!0}),this.setAttributes({images:t,columns:n?Math.min(t.length,n):n})})),a()(this,"onSelectImage",(e=>()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})})),a()(this,"onSelectImages",(e=>{const{columns:t}=this.props.attributes;this.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((e=>v(e)))}),this.setState({changed:!0})})),a()(this,"onMove",((e,t)=>{const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t,changed:!0}),this.setAttributes({images:n})})),a()(this,"onMoveForward",(e=>()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)})),a()(this,"onMoveBackward",(e=>()=>{0!==e&&this.onMove(e,e-1)})),a()(this,"onResize",(e=>{this.state.changed&&this.setAttributes({columnWidths:e})})),a()(this,"setColumnsNumber",(e=>this.setAttributes({columns:e}))),a()(this,"setRoundedCorners",(e=>this.setAttributes({roundedCorners:e}))),a()(this,"setImageAttributes",(e=>t=>{const{attributes:{images:n}}=this.props;n[e]&&this.setAttributes({images:[...n.slice(0,e),{...n[e],...t},...n.slice(e+1)]})})),a()(this,"setLinkTo",(e=>this.setAttributes({linkTo:e}))),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files)))}static getDerivedStateFromProps(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}render(){const{selectedImage:e}=this.state,{attributes:t,isSelected:n,className:r,noticeOperations:a,noticeUI:i,setAttributes:s}=this.props,{align:c,columns:v=k(t),imageFilter:y,images:E,linkTo:w,roundedCorners:_}=t,C=(0,o.createElement)(u.DropZone,{onFilesDrop:this.addFiles}),x=(0,o.createElement)(l.BlockControls,null,!!E.length&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToolbarGroup,null,(0,o.createElement)(u.ToolbarItem,null,(()=>(0,o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:m.RA,multiple:!0,gallery:!0,value:E.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,o.createElement)(g.Z,{label:__("Edit Gallery","jetpack"),onClick:t})}})))),(0,o.createElement)(p.Z,{value:y,onChange:e=>{s({imageFilter:e}),this.setState({selectedImage:null})}})));if(0===E.length)return(0,o.createElement)(o.Fragment,null,x,(0,o.createElement)(l.MediaPlaceholder,{icon:(0,o.createElement)(l.BlockIcon,{icon:f.qv}),className:r,labels:{title:__("Tiled Gallery","jetpack"),name:__("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:m.RA,multiple:!0,notices:i,onError:a.createErrorNotice}));const j=(0,h.t)(m.P0,t.className);return(0,o.createElement)(o.Fragment,null,x,(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:__("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(j)&&E.length>1&&(0,o.createElement)(u.RangeControl,{label:__("Columns","jetpack"),value:v,onChange:this.setColumnsNumber,min:1,max:Math.min(m.hI,E.length)}),j!==m.xJ&&(0,o.createElement)(u.RangeControl,{label:__("Rounded corners","jetpack"),value:_,onChange:this.setRoundedCorners,min:0,max:m.Z5}),(0,o.createElement)(u.SelectControl,{label:__("Link To","jetpack"),value:w,onChange:this.setLinkTo,options:b}))),i,(0,o.createElement)(d.Z,{align:c,className:r,columns:v,imageFilter:y,images:E,layoutStyle:j,linkTo:w,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onResize:this.onResize,roundedCorners:_,selectedImage:n?e:null,setImageAttributes:this.setImageAttributes},C,n&&(0,o.createElement)("div",{className:"tiled-gallery__add-item"},(0,o.createElement)(u.FormFileUpload,{multiple:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack")))))}}t.ZP=(0,u.withNotices)(y)},41451:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_x=a._x,i=[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Original","image style","jetpack"),value:void 0},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Black and White","image style","jetpack"),value:"black-and-white"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:_x("Sepia","image style","jetpack"),value:"sepia"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Clarendon","image style","jetpack"),value:"clarendon"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:_x("Gingham","image style","jetpack"),value:"gingham"}],s=__("Pick an image filter","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:s,tooltip:s,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},i.map((e=>{let{icon:i,title:s,value:l}=e;return(0,r.createElement)(o.MenuItem,{className:t===l?"is-active":void 0,icon:i,isSelected:t===l,key:l||"original",onClick:(c=l,()=>{n(t===c?void 0:c),a()}),role:"menuitemcheckbox"},s);var c})))}})}},79906:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(39630),u=n(55609),p=n(11313),d=n(9818),m=n(9512);const __=l.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"img",(0,o.createRef)()),a()(this,"onImageClick",(()=>{this.props.isSelected||this.props.onSelect()})),a()(this,"onImageKeyDown",(e=>{this.img.current===document.activeElement&&this.props.isSelected&&[c.BACKSPACE,c.DELETE].includes(e.keyCode)&&this.props.onRemove()}))}componentDidUpdate(){const{alt:e,height:t,image:n,link:r,url:a,width:o}=this.props;if(n){const i={};!e&&n.alt_text&&(i.alt=n.alt_text),!t&&n.media_details&&n.media_details.height&&(i.height=+n.media_details.height),!r&&n.link&&(i.link=n.link),!a&&n.source_url&&(i.url=n.source_url),!o&&n.media_details&&n.media_details.width&&(i.width=+n.media_details.width),Object.keys(i).length&&this.props.setAttributes(i)}}render(){const{"aria-label":e,alt:t,columns:n,height:r,id:a,imageFilter:i,isFirstItem:l,isLastItem:c,isSelected:d,link:h,linkTo:f,onMoveBackward:g,onMoveForward:b,onRemove:k,origUrl:v,showMovers:y,srcSet:E,url:w,width:_}=this.props;let C;switch(f){case"media":C=w;break;case"attachment":C=h}const x=(0,p.isBlobURL)(v),j=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("img",{alt:t,"aria-label":e,"data-height":r,"data-id":a,"data-link":h,"data-url":v,"data-width":_,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:x?void 0:w,srcSet:x?void 0:E,tabIndex:"0",style:x?{backgroundImage:`url(${v})`}:void 0}),x&&(0,o.createElement)(u.Spinner,null));return(0,o.createElement)("figure",{className:s()("tiled-gallery__item",{"is-selected":d,"is-transient":x,[`filter__${i}`]:!!i})},y&&(0,o.createElement)("div",{className:"tiled-gallery__item__move-menu"},(0,o.createElement)(u.Button,{icon:1===n?m.WO:m.KT,onClick:l?void 0:g,className:"tiled-gallery__item__move-backward",label:__("Move image backward","jetpack"),"aria-disabled":l,disabled:!d}),(0,o.createElement)(u.Button,{icon:1===n?m.xf:m.zz,onClick:c?void 0:b,className:"tiled-gallery__item__move-forward",label:__("Move image forward","jetpack"),"aria-disabled":c,disabled:!d})),(0,o.createElement)("div",{className:"tiled-gallery__item__inline-menu"},(0,o.createElement)(u.Button,{icon:m.xv,onClick:k,className:"tiled-gallery__item__remove",label:__("Remove image","jetpack"),disabled:!d})),C?(0,o.createElement)("a",null,j):j)}}t.Z=(0,d.withSelect)(((e,t)=>{const{getMedia:n}=e("core"),{id:r}=t;return{image:r?n(r):null}}))(h)},97671:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p,"data-amp-layout":"responsive"});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},9512:function(e,t,n){"use strict";n.d(t,{KT:function(){return o},zz:function(){return i},xf:function(){return s},WO:function(){return l},xv:function(){return c}});var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),i=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),s=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})),l=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})),c=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"-2 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))},80349:function(e,t,n){"use strict";n.d(t,{u2:function(){return j},qv:function(){return S},Xd:function(){return A}});var r=n(69307),a=n(65736),o=n(4981),i=n(92819),s=n(55609),l=n(86655),c=n(57713),u=n(28526),p=n(58014),d=n(57535),m=n(20510),h=n(70132),f=n(96606),g=n(85472),b=n(79009),k=n(10742),v=n(52642),y=n(41145);const __=a.__,_x=a._x,E={[u.EU]:_x("Tiled mosaic","Tiled gallery layout","jetpack"),[u.xJ]:_x("Circles","Tiled gallery layout","jetpack"),[u.sw]:_x("Tiled columns","Tiled gallery layout","jetpack"),[u.yw]:_x("Square tiles","Tiled gallery layout","jetpack")},w=u.P0.map((e=>({...e,label:E[e.name]})));function _(e){return(0,i.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const C={align:{default:"center",type:"string"},className:{default:`is-style-${u.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},x={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:f,width:160,height:95},{alt:"",link:"",url:g,width:160,height:107},{alt:"",link:"",url:b,width:304,height:203},{alt:"",link:"",url:k,width:312,height:207},{alt:"",link:"",url:v,width:152,height:101},{alt:"",link:"",url:y,width:152,height:105}],linkTo:"none"},j="tiled-gallery",S=(0,r.createElement)(s.SVG,{viewBox:"0 0 24 24",width:24,height:24},(0,r.createElement)(s.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),A={attributes:C,category:(0,m.Z)("media","layout"),description:__("Display multiple images in an elegantly organized tiled layout.","jetpack")+((0,p.Wp)()?"":" "+__("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:{src:S,foreground:(0,d.m)()},keywords:[_x("columns","block search term","jetpack"),_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("square","block search term","jetpack"),_x("circle","block search term","jetpack"),_x("mosaic","block search term","jetpack")],styles:w,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:__("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>_(e).length>0,transform:e=>{const t=_(e);return(0,o.createBlock)(`jetpack/${j}`,{images:t.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:e=>{let{images:t}=e;const n=_(t);return n.length>0?(0,o.createBlock)(`jetpack/${j}`,{images:n.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,o.createBlock)(`jetpack/${j}`)}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n,columns:r,linkTo:a}=e;return(0,o.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:e=>{let{align:t,images:n}=e;return n.length>0?n.map((e=>{let{id:n,url:r,alt:a}=e;return(0,o.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):(0,o.createBlock)("core/image")}}]},edit:l.ZP,save:c.Z,deprecated:h.Z,example:{attributes:x}}},64597:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=n?{flexBasis:`${n}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:a},t)}},31766:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},6624:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(79906),l=n(97671),c=n(83958),u=n(92870),p=n(5968),d=n(28526);const __=a.__;class m extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:c,linkTo:u,layoutStyle:d,onMoveBackward:m,onMoveForward:h,onRemoveImage:f,onSelectImage:g,selectedImage:b,setImageAttributes:k}=this.props,v=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:k,srcSet:y}=(0,u.z)(e,{layoutStyle:p});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":v,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:g===t,key:t,link:e.link,linkTo:c,onMoveBackward:l?void 0:d(t),onMoveForward:l?void 0:m(t),onRemove:l?void 0:h(t),onSelect:l?void 0:f(t),origUrl:e.url,setAttributes:l?void 0:b(t),showMovers:i.length>1,srcSet:y,url:k,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,u.v)(s)?c.Z:l.Z,b=this.props.images.map(this.renderImage,this),v=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},47510:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(18294),a=n.n(r),o=n(69307),i=n(17410),s=n(46349),l=n(78922),c=n(3453);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:u}=this.props,p=(0,c.h9)(n),d="columns"===r?(0,c.sv)(p,t):(0,c.T9)(p,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,n)=>{var r;const s=a.slice(m,m+e);return m+=e,(0,o.createElement)(i.Z,{key:n,width:null==u||null===(r=u[t])||void 0===r?void 0:r[n]},s)}))))))}}},3453:function(e,t,n){"use strict";n.d(t,{T9:function(){return x},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=A([2,1,2],5),l=P([N,N,T,N,N]),c=P([N,N,N,T,N,N,N]),u=A([3,1,3],5),p=P([T,N,N,T]),d=A([1,2,1],5),m=P([T,N,N,N]),h=A([1,3],3),f=P([N,N,N,T]),g=A([3,1],3),b=P([M(1.6),(0,r.overEvery)(R(.9),M(2)),(0,r.overEvery)(R(.9),M(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),E=A([1,1,1],3),w=P([(0,r.overEvery)(R(.9),M(2)),(0,r.overEvery)(R(.9),M(2)),M(1.6)]),_=A([2,1],3),C=P([function(e){return e>=2}]);function x(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:S(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function S(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function A(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function P(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function T(e){return e<1}function R(e){return t=>t>=e}function M(e){return t=>t<e}},78922:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},65662:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(78922),i=n(17410),s=n(46349),l=n(13993);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},5826:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(178),o=n(81518),i=n(13993);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},11197:function(e,t,n){"use strict";n.d(t,{v:function(){return s},z:function(){return l}});var r=n(69424),a=n(11313),o=n(92819),i=n(13993);function s(e){return["circle","square"].includes(e)}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:l,width:d}=e,{layoutStyle:m}=t,h=u(n)||!0===c()?p:r.Z;let f;if(s(m)&&d&&l){const e=Math.min(i.GP,d,l);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(s(m)){const e=Math.min(b,d,l),t=Math.min(i.GP,d,l);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,d),t=Math.min(i.GP,d);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function c(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function u(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},15078:function(e,t,n){"use strict";n.d(t,{F:function(){return v}});var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(52175),c=n(12238),u=n(55609),p=n(38897),d=n(21340),m=n(3740),h=n(81518),f=n(99602),g=n(94545);const __=i.__,b=[{value:"attachment",label:__("Attachment Page","jetpack")},{value:"media",label:__("Media File","jetpack")},{value:"none",label:__("None","jetpack")}];function v(e){return Math.min(3,e.images.length)}const k=e=>{const t=(0,s.pick)(e,[["alt"],["id"],["link"]]);return t.url=(0,s.get)(e,["sizes","large","url"])||(0,s.get)(e,["media_details","sizes","large","source_url"])||e.url,t};class y extends o.Component{constructor(){var e;super(...arguments),a()(this,"state",{selectedImage:null,changed:void 0===this.props.attributes.columnWidths||0===(null===(e=this.props.attributes.columnWidths)||void 0===e?void 0:e.length)}),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],{noticeOperations:n}=this.props;(0,c.mediaUpload)({allowedTypes:m.RA,filesList:e,onFileChange:e=>{const n=e.map((e=>k(e)));this.setAttributes({images:t.concat(n)})},onError:n.createErrorNotice}),this.setState({changed:!0})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,s.filter)(this.props.attributes.images,((t,n)=>e!==n)),{columns:n}=this.props.attributes;this.setState({selectedImage:null,changed:!0}),this.setAttributes({images:t,columns:n?Math.min(t.length,n):n})})),a()(this,"onSelectImage",(e=>()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})})),a()(this,"onSelectImages",(e=>{const{columns:t}=this.props.attributes;this.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((e=>k(e)))}),this.setState({changed:!0})})),a()(this,"onMove",((e,t)=>{const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t,changed:!0}),this.setAttributes({images:n})})),a()(this,"onMoveForward",(e=>()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)})),a()(this,"onMoveBackward",(e=>()=>{0!==e&&this.onMove(e,e-1)})),a()(this,"onResize",(e=>{this.state.changed&&this.setAttributes({columnWidths:e})})),a()(this,"setColumnsNumber",(e=>this.setAttributes({columns:e}))),a()(this,"setRoundedCorners",(e=>this.setAttributes({roundedCorners:e}))),a()(this,"setImageAttributes",(e=>t=>{const{attributes:{images:n}}=this.props;n[e]&&this.setAttributes({images:[...n.slice(0,e),{...n[e],...t},...n.slice(e+1)]})})),a()(this,"setLinkTo",(e=>this.setAttributes({linkTo:e}))),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files)))}static getDerivedStateFromProps(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}render(){const{selectedImage:e}=this.state,{attributes:t,isSelected:n,className:r,noticeOperations:a,noticeUI:i,setAttributes:s}=this.props,{align:c,columns:k=v(t),imageFilter:y,images:E,linkTo:w,roundedCorners:_}=t,C=(0,o.createElement)(u.DropZone,{onFilesDrop:this.addFiles}),x=(0,o.createElement)(l.BlockControls,null,!!E.length&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToolbarGroup,null,(0,o.createElement)(u.ToolbarItem,null,(()=>(0,o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:m.RA,multiple:!0,gallery:!0,value:E.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,o.createElement)(g.Z,{label:__("Edit Gallery","jetpack"),onClick:t})}})))),(0,o.createElement)(p.Z,{value:y,onChange:e=>{s({imageFilter:e}),this.setState({selectedImage:null})}})));if(0===E.length)return(0,o.createElement)(o.Fragment,null,x,(0,o.createElement)(l.MediaPlaceholder,{icon:f.qv,className:r,labels:{title:__("Tiled Gallery","jetpack"),name:__("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:m.RA,multiple:!0,notices:i,onError:a.createErrorNotice}));const j=(0,h.t)(m.P0,t.className);return(0,o.createElement)(o.Fragment,null,x,(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:__("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(j)&&E.length>1&&(0,o.createElement)(u.RangeControl,{label:__("Columns","jetpack"),value:k,onChange:this.setColumnsNumber,min:1,max:Math.min(m.hI,E.length)}),j!==m.xJ&&(0,o.createElement)(u.RangeControl,{label:__("Rounded corners","jetpack"),value:_,onChange:this.setRoundedCorners,min:0,max:m.Z5}),(0,o.createElement)(u.SelectControl,{label:__("Link To","jetpack"),value:w,onChange:this.setLinkTo,options:b}))),i,(0,o.createElement)(d.Z,{align:c,className:r,columns:k,imageFilter:y,images:E,layoutStyle:j,linkTo:w,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onResize:this.onResize,roundedCorners:_,selectedImage:n?e:null,setImageAttributes:this.setImageAttributes},C,n&&(0,o.createElement)("div",{className:"tiled-gallery__add-item"},(0,o.createElement)(u.FormFileUpload,{multiple:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack")))))}}t.ZP=(0,u.withNotices)(y)},38897:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_x=a._x,i=[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Original","image style","jetpack"),value:void 0},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Black and White","image style","jetpack"),value:"black-and-white"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:_x("Sepia","image style","jetpack"),value:"sepia"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Clarendon","image style","jetpack"),value:"clarendon"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:_x("Gingham","image style","jetpack"),value:"gingham"}],s=__("Pick an image filter","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:s,tooltip:s,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},i.map((e=>{let{icon:i,title:s,value:l}=e;return(0,r.createElement)(o.MenuItem,{className:t===l?"is-active":void 0,icon:i,isSelected:t===l,key:l||"original",onClick:(c=l,()=>{n(t===c?void 0:c),a()}),role:"menuitemcheckbox"},s);var c})))}})}},57773:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(39630),u=n(55609),p=n(11313),d=n(9818),m=n(17752);const __=l.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"img",(0,o.createRef)()),a()(this,"onImageClick",(()=>{this.props.isSelected||this.props.onSelect()})),a()(this,"onImageKeyDown",(e=>{this.img.current===document.activeElement&&this.props.isSelected&&[c.BACKSPACE,c.DELETE].includes(e.keyCode)&&this.props.onRemove()}))}componentDidUpdate(){const{alt:e,height:t,image:n,link:r,url:a,width:o}=this.props;if(n){const i={};!e&&n.alt_text&&(i.alt=n.alt_text),!t&&n.media_details&&n.media_details.height&&(i.height=+n.media_details.height),!r&&n.link&&(i.link=n.link),!a&&n.source_url&&(i.url=n.source_url),!o&&n.media_details&&n.media_details.width&&(i.width=+n.media_details.width),Object.keys(i).length&&this.props.setAttributes(i)}}render(){const{"aria-label":e,alt:t,columns:n,height:r,id:a,imageFilter:i,isFirstItem:l,isLastItem:c,isSelected:d,link:h,linkTo:f,onMoveBackward:g,onMoveForward:b,onRemove:v,origUrl:k,showMovers:y,srcSet:E,url:w,width:_}=this.props;let C;switch(f){case"media":C=w;break;case"attachment":C=h}const x=(0,p.isBlobURL)(k),j=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("img",{alt:t,"aria-label":e,"data-height":r,"data-id":a,"data-link":h,"data-url":k,"data-width":_,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:x?void 0:w,srcSet:x?void 0:E,tabIndex:"0",style:x?{backgroundImage:`url(${k})`}:void 0}),x&&(0,o.createElement)(u.Spinner,null));return(0,o.createElement)("figure",{className:s()("tiled-gallery__item",{"is-selected":d,"is-transient":x,[`filter__${i}`]:!!i})},y&&(0,o.createElement)("div",{className:"tiled-gallery__item__move-menu"},(0,o.createElement)(u.Button,{icon:1===n?m.WO:m.KT,onClick:l?void 0:g,className:"tiled-gallery__item__move-backward",label:__("Move image backward","jetpack"),"aria-disabled":l,disabled:!d}),(0,o.createElement)(u.Button,{icon:1===n?m.xf:m.zz,onClick:c?void 0:b,className:"tiled-gallery__item__move-forward",label:__("Move image forward","jetpack"),"aria-disabled":c,disabled:!d})),(0,o.createElement)("div",{className:"tiled-gallery__item__inline-menu"},(0,o.createElement)(u.Button,{icon:m.xv,onClick:v,className:"tiled-gallery__item__remove",label:__("Remove image","jetpack"),disabled:!d})),C?(0,o.createElement)("a",null,j):j)}}t.Z=(0,d.withSelect)(((e,t)=>{const{getMedia:n}=e("core"),{id:r}=t;return{image:r?n(r):null}}))(h)},81921:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p,"data-amp-layout":"responsive"});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},17752:function(e,t,n){"use strict";n.d(t,{KT:function(){return o},WO:function(){return l},xf:function(){return s},xv:function(){return c},zz:function(){return i}});var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),i=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),s=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})),l=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})),c=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"-2 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))},99602:function(e,t,n){"use strict";n.d(t,{Xd:function(){return A},qv:function(){return S},u2:function(){return j}});var r=n(69307),a=n(65736),o=n(4981),i=n(92819),s=n(55609),l=n(13419),c=n(15078),u=n(10745),p=n(3740),d=n(70355),m=n(5820),h=n(73463),f=n(96606),g=n(85472),b=n(79009),v=n(10742),k=n(52642),y=n(41145);const __=a.__,_x=a._x,E={[p.EU]:_x("Tiled mosaic","Tiled gallery layout","jetpack"),[p.xJ]:_x("Circles","Tiled gallery layout","jetpack"),[p.sw]:_x("Tiled columns","Tiled gallery layout","jetpack"),[p.yw]:_x("Square tiles","Tiled gallery layout","jetpack")},w=p.P0.map((e=>({...e,label:E[e.name]})));function _(e){return(0,i.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const C={align:{default:"center",type:"string"},className:{default:`is-style-${p.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},imageCrop:{type:"boolean",default:!0},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},x={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:f,width:160,height:95},{alt:"",link:"",url:g,width:160,height:107},{alt:"",link:"",url:b,width:304,height:203},{alt:"",link:"",url:v,width:312,height:207},{alt:"",link:"",url:k,width:152,height:101},{alt:"",link:"",url:y,width:152,height:105}],linkTo:"none"},j="tiled-gallery",S=(0,r.createElement)(s.SVG,{viewBox:"0 0 24 24",width:24,height:24},(0,r.createElement)(s.Path,{d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),A={attributes:C,category:(0,m.Z)("media","layout"),description:__("Display multiple images in an elegantly organized tiled layout.","jetpack")+((0,l.Wp)()?"":" "+__("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:{src:S,foreground:(0,d.m)()},keywords:[_x("columns","block search term","jetpack"),_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("square","block search term","jetpack"),_x("circle","block search term","jetpack"),_x("mosaic","block search term","jetpack")],styles:w,supports:{align:["center","wide","full"],color:{gradients:!0,text:!1},customClassName:!1,html:!1,spacing:{margin:!0,padding:!0},__experimentalHideChildBlockControls:!0},title:__("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>_(e).length>0,transform:e=>{const t=_(e);return(0,o.createBlock)(`jetpack/${j}`,{images:t.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:e=>{let{images:t}=e;const n=_(t);return n.length>0?(0,o.createBlock)(`jetpack/${j}`,{images:n.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,o.createBlock)(`jetpack/${j}`)}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n,columns:r,linkTo:a}=e;return(0,o.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:e=>{let{align:t,images:n}=e;return n.length>0?n.map((e=>{let{id:n,url:r,alt:a}=e;return(0,o.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):(0,o.createBlock)("core/image")}}]},edit:c.ZP,save:u.Z,providesContext:{imageCrop:"imageCrop"},deprecated:h.Z,example:{attributes:x}}},46936:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=n?{flexBasis:`${n}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:a},t)}},75084:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},21340:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(57773),l=n(81921),c=n(46438),u=n(70216),p=n(13369),d=n(3740);const __=a.__;class m extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:c,linkTo:u,layoutStyle:d,onMoveBackward:m,onMoveForward:h,onRemoveImage:f,onSelectImage:g,selectedImage:b,setImageAttributes:v}=this.props,k=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),y=c?l.Z:s.Z,{src:E,srcSet:w}=(0,p.z)(e,{layoutStyle:d});return(0,r.createElement)(y,{alt:e.alt,"aria-label":v,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:b===t,key:t,link:e.link,linkTo:u,onMoveBackward:c?void 0:m(t),onMoveForward:c?void 0:h(t),onRemove:c?void 0:f(t),onSelect:c?void 0:g(t),origUrl:e.url,setAttributes:c?void 0:k(t),showMovers:i.length>1,srcSet:w,url:E,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:l,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,p.v)(s)?u.Z:c.Z,b=this.props.images.map(this.renderImage,this),k=s!==d.xJ?Math.min(l,d.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${k}`]:k>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},83958:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),a=n.n(r),o=n(69307),i=n(54166),s=n(64597),l=n(31766),c=n(92212),u=n(17265),p=n(58731);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t,r=[];(0,u.W)(n).forEach((t=>{r.push((0,u.i)(t,e))})),void 0!==this.props.onResize&&this.props.onResize(r)}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:i}=this.props,u=(0,p.h9)(n),d="columns"===r?(0,p.sv)(u,t):(0,p.T9)(u,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,n)=>{const r=a.slice(m,m+e);return m+=e,(0,o.createElement)(s.Z,{key:n,width:i?.[t]?.[n]},r)}))))))}}},58731:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return x}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=A([2,1,2],5),l=N([T,T,P,T,T]),c=N([T,T,T,P,T,T,T]),u=A([3,1,3],5),p=N([P,T,T,P]),d=A([1,2,1],5),m=N([P,T,T,T]),h=A([1,3],3),f=N([T,T,T,P]),g=A([3,1],3),b=N([I(1.6),(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2))]),k=A([1,2],3),v=A([1,1,1,1,1],1),y=A([1,1,1,1],1),E=A([1,1,1],3),w=N([(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2)),I(1.6)]),_=A([2,1],3),C=N([function(e){return e>=2}]);function x(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&k(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&v(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:S(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function S(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function A(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function T(e){return e>=1&&e<2}function P(e){return e<1}function M(e){return t=>t>=e}function I(e){return t=>t<e}},17265:function(e,t,n){"use strict";n.d(t,{i:function(){return o},W:function(){return i}});var r=n(28526);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){return function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);return function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}));return d.map((e=>parseFloat(e/o*100).toFixed(5)))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},92212:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},92870:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(92212),i=n(64597),s=n(31766),l=n(28526);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},57713:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(6624),o=n(86655),i=n(98085),s=n(28526);function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=(0,o.F)(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,i.t)(s.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},5968:function(e,t,n){"use strict";n.d(t,{v:function(){return u},z:function(){return p}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(28526),l=n(58014),c=n(47077);function u(e){return["circle","square"].includes(e)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,c.Z)())return{src:e.url};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,l.Ug)()&&(0,l.M6)())return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:p}=e,{layoutStyle:f}=t,g=m(n)||!0===d()?h:r.Z;let b;if(u(f)&&p&&a){const e=Math.min(s.GP,p,a);b=g(n,{resize:`${e},${e}`})}else b=g(n);const k=300,v=600;let y;if(u(f)){const e=Math.min(v,p,a),t=Math.min(s.GP,p,a);y=(0,i.range)(e,t,k).map((e=>{const t=g(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(v,p),t=Math.min(s.GP,p);y=(0,i.range)(e,t,k).map((e=>{const t=g(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:b},y&&{srcSet:y})}function d(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function m(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},96816:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}]},71486:function(e,t,n){"use strict";var r=n(70124);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:r.Z,isDeprecation:!0}},70124:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{caption:n,guid:o}=t;if(!o)return null;const i=`https://videopress.com/v/${o}`;return(0,r.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${i}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},4207:function(e,t,n){"use strict";var r=n(30663),a=n(7332);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"},videoPressClassNames:{type:"string"},align:{type:"wide"}},support:{reusable:!1},isEligible:e=>{let{videoPressClassNames:t,guid:n}=e;return n&&void 0===t},migrate:e=>{const{className:t,videoPressClassNames:n}=e;return{...e,...(0,a.a)(t,n)}},save:r.Z,isDeprecation:!0}},30663:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(10198);function i(e){const{attributes:{autoplay:t,caption:n,controls:i,guid:s,loop:l,muted:c,poster:u,preload:p,videoPressClassNames:d}={}}=e;if(!s)return null;const m=(0,o.p)(s,{autoplay:t,controls:i,loop:l,muted:c,poster:u,preload:p});return(0,r.createElement)("figure",{className:d},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${m}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},10198:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,poster:s,preload:l}=t;if(!e)return null;const c={...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{posterUrl:s},..."none"!==l&&{preloadContent:l}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,c)}},7332:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(81326),a=n.n(r),o=n(29512),i=n.n(o);const s=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],l=(e,t)=>{const n=s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1}),r=a()(e,{...n,"wp-block-embed":!1,"is-type-video":!1,"is-provider-videopress":!1}),o=new(i())(r);let l=a()(e,t);return o.forEach((e=>{l=l.replace(e,"")})),{className:r,videoPressClassNames:l.trim()}}},3082:function(e,t,n){"use strict";var r=n(38225);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,save:r.Z,isDeprecation:!0}},38225:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(14842);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:k,seekbarLoadingColor:v}={}}=e,y=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),E=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:k,seekbarLoadingColor:v});return(0,r.createElement)("figure",y,(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${E}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},14842:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},6976:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(27538),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(11313),p=n(55609),d=n(94333),m=n(9818),h=n(52175),f=n(65736),g=n(22607),b=n(41221),k=n(89105),v=n.n(k),y=n(92819),E=n(38341),w=n(45151),_=n(43501),C=n(72905),x=n(9360);const __=f.__,_x=f._x,j=["image"],S=e=>{const{html:t,scripts:n,interactive:r,caption:a,isSelected:o,hideOverlay:i,attributes:l,setAttributes:c}=e,{align:u,className:d,videoPressClassNames:m,maxWidth:f}=l,g=(0,h.useBlockProps)({className:v()("wp-block-video",d,m,{[`align${u}`]:u})});return(0,s.createElement)("figure",g,(0,s.createElement)("div",{className:"wp-block-embed__wrapper"},(0,s.createElement)(p.ResizableBox,{enable:{top:!1,bottom:!1,left:!0,right:!0},maxWidth:"100%",size:{width:f},style:{margin:"auto"},onResizeStop:(e,t,n)=>{let r=getComputedStyle(n).width;if(null!==n.parentElement){r===getComputedStyle(n.parentElement).width&&(r="100%")}c({maxWidth:r})}},(0,s.createElement)(p.SandBox,{html:t,scripts:n,type:m}))),!r&&(0,s.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:i}),(!h.RichText.isEmpty(a)||o)&&(0,s.createElement)(h.RichText,{tagName:"figcaption",placeholder:__("Write caption…","jetpack"),value:a,onChange:e=>c({caption:e}),inlineToolbar:!0}))};t.Z=(0,d.createHigherOrderComponent)((0,d.compose)([(0,m.withSelect)(((e,t)=>{const{autoplay:n,controls:r,guid:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:p,seekbarLoadingColor:d,seekbarPlayedColor:m,src:h,useAverageColor:f}=t.attributes,{getEmbedPreview:g,isRequestingEmbedPreview:b}=e("core"),k=(0,w.p)(a,{autoplay:n,controls:r,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:p,seekbarLoadingColor:d,seekbarPlayedColor:m,useAverageColor:f}),v=!!k&&g(k);return{isFetchingPreview:!!k&&b(k),isUploading:(0,u.isBlobURL)(h),preview:v,url:k}})),(0,m.withDispatch)((e=>({invalidateCachedEmbedPreview:t=>{e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}))),d.withInstanceId,e=>class extends s.Component{constructor(){super(...arguments),i()(this,"hideOverlay",(()=>{this.setState({interactive:!0})})),i()(this,"setRatingAndAllowDownload",(async()=>{const e=(0,y.get)(this.props,"attributes.id"),t=await this.requestMedia(e);let n=(0,y.get)(t,"jetpack_videopress.rating");const r=(0,y.get)(t,"media_details.videopress.allow_download");n&&("X-18"===n&&(n="R-17"),this.setState({rating:n})),void 0!==r&&this.setState({allowDownload:!!r})})),i()(this,"schedulePreviewCacheReload",(()=>{const{invalidateCachedEmbedPreview:e,url:t}=this.props;null===this.previewCacheReloadTimer&&this.previewFailuresCount<5&&(this.previewFailuresCount++,this.previewCacheReloadTimer=setTimeout((()=>{e(t),this.previewCacheReloadTimer=null}),2e3*this.previewFailuresCount))})),i()(this,"fallbackToCore",(()=>{this.props.setAttributes({guid:void 0}),this.setState({fallback:!0})})),i()(this,"setGuid",(async()=>{const{attributes:e,setAttributes:t}=this.props,{id:n}=e;if(n)try{const e=await this.requestMedia(n);if(null===e)return;const r=(0,y.get)(e,"jetpack_videopress.guid");r?(t({guid:r}),this.setTracks(r)):this.fallbackToCore()}catch(e){this.setState({isFetchingMedia:!1}),this.fallbackToCore()}else t({guid:void 0})})),i()(this,"requestMedia",(async e=>{if(!e)return null;if(null!==this.state.media&&this.state.lastRequestedMediaId===e)return this.state.media;this.setState({isFetchingMedia:!0});const t=await c()({path:`/wp/v2/media/${e}`}).catch((()=>(this.setState({fallback:!0}),null))).finally((()=>{this.setState({isFetchingMedia:!1})})),{id:n}=this.props.attributes;return e!==n?null:(this.setState({media:t,lastRequestedMediaId:e}),t)})),i()(this,"setTracks",(e=>{const{setAttributes:t}=this.props;e&&c()({url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}`,credentials:"omit",global:!0}).then((e=>{const n=[];Object.keys(e.tracks).forEach((t=>{for(const r in e.tracks[t]){const a=e.tracks[t][r];n.push({src:a.src,kind:t,srcLang:r,label:a.label})}})),t({videoPressTracks:n})}))})),i()(this,"switchToEditing",(()=>{this.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),i()(this,"onSelectPoster",(e=>{const{setAttributes:t}=this.props;t({poster:e.url})})),i()(this,"onRemovePoster",(()=>{const{setAttributes:e}=this.props;e({poster:""}),this.posterImageButton.current.focus()})),i()(this,"toggleAttribute",(e=>t=>{this.props.setAttributes({[e]:t})})),i()(this,"getAutoplayHelp",(e=>e?__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null)),i()(this,"onChangeRating",(e=>{const t=this.state.rating;"X-18"===e&&(e="R-17"),-1!==(0,y.indexOf)(["G","PG-13","R-17"],e)&&this.updateMetaApiCall({rating:e},(()=>this.setState({isUpdatingRating:!0,rating:e})),(()=>this.setState({rating:t})),(()=>this.setState({isUpdatingRating:!1})))})),i()(this,"onChangeAllowDownload",(e=>{const t=this.state.allowDownload;this.updateMetaApiCall({allow_download:e?1:0},(()=>this.setState({isUpdatingAllowDownload:!0,allowDownload:e})),(()=>this.setState({allowDownload:t})),(()=>this.setState({isUpdatingAllowDownload:!1})))})),i()(this,"updateMetaApiCall",((e,t,n,r)=>{const{invalidateCachedEmbedPreview:a,url:o}=this.props,{id:i}=this.props.attributes;if(!i)return;t();const s={id:i};Object.assign(s,e),c()({path:"/wpcom/v2/videopress/meta",method:"POST",data:s}).then((e=>{status in e&&200!==e.status&&n()})).catch((()=>n())).finally((()=>{r(),a(o)}))})),this.state={media:null,isFetchingMedia:!1,fallback:!1,interactive:!1,rating:null,lastRequestedMediaId:null,isUpdatingRating:!1,allowDownload:null,isUpdatingAllowDownload:!1},this.posterImageButton=(0,s.createRef)(),this.previewCacheReloadTimer=null,this.previewFailuresCount=0}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}async componentDidMount(){const{guid:e}=this.props.attributes;e?this.setTracks(e):await this.setGuid(),this.setRatingAndAllowDownload()}async componentDidUpdate(e){const{attributes:t,invalidateCachedEmbedPreview:n,preview:r,setAttributes:a,url:o,isFetchingPreview:i}=this.props;t.id!==e.attributes.id&&(await this.setGuid(),this.setRatingAndAllowDownload());let s=!1;if(o&&o!==e.url&&(n(o),s=!0),r){const e=(0,_.f)(r.html,v()("wp-block-embed","is-type-video","is-provider-videopress"),!1);this.previewFailuresCount=0,a({videoPressClassNames:e})}else i||s||!this.props.attributes.guid||this.schedulePreviewCacheReload()}getPreloadHelp(){const{attributes:e}=this.props;return"auto"===e.preload?__("Note: Automatically downloading videos may cause issues if there are many videos displayed on the same page.","jetpack"):null}renderControlLabelWithTooltip(e,t){return(0,s.createElement)(p.Tooltip,{text:t,position:"top"},(0,s.createElement)("span",null,e))}render(){const{attributes:t,instanceId:n,isFetchingPreview:r,isUploading:o,preview:i,setAttributes:l}=this.props,{fallback:c,isFetchingMedia:u,isUpdatingRating:d,interactive:m,rating:k,allowDownload:v,isUpdatingAllowDownload:y}=this.state,{autoplay:w,caption:_,controls:A,guid:N,loop:T,muted:P,playsinline:M,poster:I,preload:R,useAverageColor:L,videoPressTracks:B,isVideoPressExample:F,src:Z}=t;if(F&&Z)return(0,s.createElement)("img",{src:Z,alt:_});const D=`video-block__poster-image-description-${n}`,O=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h.BlockControls,{group:"block"},(0,s.createElement)(x.Z,{tracks:B,onChange:e=>{l({videoPressTracks:e})},guid:N})),(0,s.createElement)(h.BlockControls,null,(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{className:"components-icon-button components-toolbar__control",label:__("Edit video","jetpack"),onClick:this.switchToEditing,icon:(0,s.createElement)(g.Z,{icon:b.Z})}))),(0,s.createElement)(h.InspectorControls,null,(0,s.createElement)(p.PanelBody,{title:__("Video Settings","jetpack")},(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Autoplay","jetpack"),
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),y=c?l.Z:s.Z,{src:E,srcSet:w}=(0,p.z)(e,{layoutStyle:d});return(0,r.createElement)(y,{alt:e.alt,"aria-label":k,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:b===t,key:t,link:e.link,linkTo:u,onMoveBackward:c?void 0:m(t),onMoveForward:c?void 0:h(t),onRemove:c?void 0:f(t),onSelect:c?void 0:g(t),origUrl:e.url,setAttributes:c?void 0:v(t),showMovers:i.length>1,srcSet:w,url:E,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:l,onResize:m,style:h,isSave:f,columnWidths:g}=this.props,b=(0,p.v)(s)?u.Z:c.Z,v=this.props.images.map(this.renderImage,this),k=s!==d.xJ?Math.min(l,d.Z5):0;return(0,r.createElement)("div",{style:h,className:i()(n,{[`has-rounded-corners-${k}`]:k>0})},(0,r.createElement)(b,{align:e,columns:a,columnWidths:f?g:void 0,images:o,layoutStyle:s,renderedImages:v,onResize:f?void 0:m}),t)}}},46438:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(18294),a=n.n(r),o=n(69307),i=n(6209),s=n(46936),l=n(75084),c=n(51309),u=n(99856),p=n(96001);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t,r=[];(0,u.W)(n).forEach((t=>{r.push((0,u.i)(t,e))})),void 0!==this.props.onResize&&this.props.onResize(r)}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}getColumnWidths(e,t,n){let r=0;return e.map((e=>e.map((e=>{const n=t.slice(r,r+e);return r+=e,n})))).map((e=>(0,u.i)(e,n)))}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)}),d=o.Platform.select({web:()=>this.props.columnWidths,native:()=>this.getColumnWidths(u,a,1e3)})();let m=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,n)=>{var r;const i=a.slice(m,m+e);return m+=e,(0,o.createElement)(s.Z,{key:n,width:null==d||null===(r=d[t])||void 0===r?void 0:r[n]},i)}))))))}}},96001:function(e,t,n){"use strict";n.d(t,{T9:function(){return x},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=A([2,1,2],5),l=P([N,N,T,N,N]),c=P([N,N,N,T,N,N,N]),u=A([3,1,3],5),p=P([T,N,N,T]),d=A([1,2,1],5),m=P([T,N,N,N]),h=A([1,3],3),f=P([N,N,N,T]),g=A([3,1],3),b=P([M(1.6),(0,r.overEvery)(R(.9),M(2)),(0,r.overEvery)(R(.9),M(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),E=A([1,1,1],3),w=P([(0,r.overEvery)(R(.9),M(2)),(0,r.overEvery)(R(.9),M(2)),M(1.6)]),_=A([2,1],3),C=P([function(e){return e>=2}]);function x(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:S(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function S(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function A(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function P(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function T(e){return e<1}function R(e){return t=>t>=e}function M(e){return t=>t<e}},99856:function(e,t,n){"use strict";n.d(t,{W:function(){return i},i:function(){return o}});var r=n(3740);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){return function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);return function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}));return d.map((e=>parseFloat(e/o*100).toFixed(5)))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},51309:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},70216:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(51309),i=n(46936),s=n(75084),l=n(3740);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},10745:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(21340),o=n(15078),i=n(81518),s=n(3740);function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=(0,o.F)(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,i.t)(s.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},13369:function(e,t,n){"use strict";n.d(t,{v:function(){return c},z:function(){return u}});var r=n(69424),a=n(11313),o=n(92819),i=n(13419),s=n(3740),l=n(99621);function c(e){return["circle","square"].includes(e)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,l.Z)())return{src:e.url};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,i.Ug)()&&(0,i.M6)())return{src:e.url};const n=e.url.split("?",1)[0],{height:u,width:h}=e,{layoutStyle:f}=t,g=d(n)||!0===p()?m:r.Z;let b;if(c(f)&&h&&u){const e=Math.min(s.GP,h,u);b=g(n,{resize:`${e},${e}`})}else b=g(n);const v=300,k=600;let y;if(c(f)){const e=Math.min(k,h,u),t=Math.min(s.GP,h,u);y=(0,o.range)(e,t,v).map((e=>{const t=g(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(k,h),t=Math.min(s.GP,h);y=(0,o.range)(e,t,v).map((e=>{const t=g(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:b},y&&{srcSet:y})}function p(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function d(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},10723:function(e,t,n){"use strict";n.d(t,{H:function(){return a},Z:function(){return o}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onFilesSelected:t,onMediaItemSelected:n,onUploadFinished:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onFilesSelected:t,onMediaItemSelected:n,onUploadFinished:o},children:i})}},90879:function(e,t,n){"use strict";n.d(t,{s:function(){return r},v:function(){return a}});const r=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],a={PUBLIC:0,PRIVATE:1,SITE_DEFAULT:2}},29899:function(e,t,n){"use strict";var r=n(4900);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:r.Z,isDeprecation:!0}},4900:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{caption:n,guid:o}=t;if(!o)return null;const i=`https://videopress.com/v/${o}`;return(0,r.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${i}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},97504:function(e,t,n){"use strict";var r=n(30454),a=n(93512);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"},videoPressClassNames:{type:"string"},align:{type:"wide"}},support:{reusable:!1},isEligible:e=>{let{videoPressClassNames:t,guid:n}=e;return n&&void 0===t},migrate:e=>{const{className:t,videoPressClassNames:n}=e;return{...e,...(0,a.a)(t,n)}},save:r.Z,isDeprecation:!0}},30454:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(92490);function i(e){const{attributes:{autoplay:t,caption:n,controls:i,guid:s,loop:l,muted:c,poster:u,preload:p,videoPressClassNames:d}={}}=e;if(!s)return null;const m=(0,o.p)(s,{autoplay:t,controls:i,loop:l,muted:c,poster:u,preload:p});return(0,r.createElement)("figure",{className:d},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${m}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},92490:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,poster:s,preload:l}=t;if(!e)return null;const c={...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{posterUrl:s},..."none"!==l&&{preloadContent:l}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,c)}},93512:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(73320),a=n.n(r),o=n(29512),i=n.n(o);const s=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],l=(e,t)=>{const n=s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1}),r=a()(e,{...n,"wp-block-embed":!1,"is-type-video":!1,"is-provider-videopress":!1}),o=new(i())(r);let l=a()(e,t);return o.forEach((e=>{l=l.replace(e,"")})),{className:r,videoPressClassNames:l.trim()}}},34284:function(e,t,n){"use strict";var r=n(46721);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,save:r.Z,isDeprecation:!0}},46721:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(96931);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k}={}}=e,y=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),E=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});return(0,r.createElement)("figure",y,(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${E}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},96931:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},58351:function(e,t,n){"use strict";var r=n(83619);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,migrate:e=>({...e,useAverageColor:!1}),save:r.Z,isDeprecation:!0}},83619:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(67502);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k,maxWidth:y}={}}=e,E=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),w=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});let _={};return y&&y.length>0&&"100%"!==y&&(_={maxWidth:y,margin:"auto"}),(0,r.createElement)("figure",E,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:_},`\n${w}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},67502:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},30053:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(11313),p=n(55609),d=n(94333),m=n(9818),h=n(52175),f=n(65736),g=n(61074),b=n(77840),v=n(65235),k=n.n(v),y=n(92819),E=n(31302),w=n(90953),_=n(77290),C=n(43774),x=n(75880),j=n(22081),S=n(10723),A=n(90879);const __=f.__,_x=f._x,P=["image"],N=e=>{let{scripts:t}=e;const{html:n,interactive:r,caption:a,isSelected:o,hideOverlay:i,attributes:l,setAttributes:c}=e,{align:u,className:d,videoPressClassNames:m,maxWidth:f}=l,g=(0,h.useBlockProps)({className:k()("wp-block-video",d,m,{[`align${u}`]:u})});if("object"!=typeof t&&(t=[]),window.videopressAjax){const e=new Blob([`var videopressAjax = ${JSON.stringify(window.videopressAjax)};`],{type:"text/javascript"});t.push(URL.createObjectURL(e),window.videopressAjax.bridgeUrl)}return(0,s.createElement)("figure",g,(0,s.createElement)("div",{className:"wp-block-embed__wrapper"},(0,s.createElement)(p.ResizableBox,{enable:{top:!1,bottom:!1,left:!0,right:!0},maxWidth:"100%",size:{width:f},style:{margin:"auto"},onResizeStop:(e,t,n)=>{let r=getComputedStyle(n).width;if(null!==n.parentElement){r===getComputedStyle(n.parentElement).width&&(r="100%")}c({maxWidth:r})}},(0,s.createElement)(p.SandBox,{html:n,scripts:t,type:m}))),!r&&(0,s.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:i}),(!h.RichText.isEmpty(a)||o)&&(0,s.createElement)(h.RichText,{tagName:"figcaption",placeholder:__("Write caption…","jetpack"),value:a,onChange:e=>c({caption:e}),inlineToolbar:!0}))};t.Z=(0,d.createHigherOrderComponent)((0,d.compose)([(0,m.withSelect)(((e,t)=>{const{autoplay:n,controls:r,fileForImmediateUpload:a,guid:o,loop:i,muted:s,playsinline:l,poster:c,preload:p,seekbarColor:d,seekbarLoadingColor:m,seekbarPlayedColor:h,src:f,useAverageColor:g}=t.attributes,{getEmbedPreview:b,isRequestingEmbedPreview:v}=e("core"),k=(0,w.p)(o,{autoplay:n,controls:r,loop:i,muted:s,playsinline:l,poster:c,preload:p,seekbarColor:d,seekbarLoadingColor:m,seekbarPlayedColor:h,useAverageColor:g}),y=!!k&&b(k),E=!!k&&v(k),_=!!window.videoPressResumableEnabled;return{fileForImmediateUpload:a,isFetchingPreview:E,isUploading:!_&&(0,u.isBlobURL)(f),preview:y,resumableUploadEnabled:_,url:k}})),(0,m.withDispatch)((e=>({invalidateCachedEmbedPreview:t=>{e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}))),d.withInstanceId,e=>class extends s.Component{constructor(e){super(...arguments),i()(this,"hideOverlay",(()=>{this.setState({interactive:!0})})),i()(this,"setRatingAndAllowDownload",(async()=>{const e=(0,y.get)(this.props,"attributes.id"),t=await this.requestMedia(e);let n=(0,y.get)(t,"jetpack_videopress.rating");const r=(0,y.get)(t,"jetpack_videopress.allow_download"),a=(0,y.get)(t,"jetpack_videopress.privacy_setting",A.v.SITE_DEFAULT);n&&("X-18"===n&&(n="R-17"),this.setState({rating:n})),void 0!==r&&this.setState({allowDownload:!!r}),void 0!==a&&this.setState({privacySetting:a})})),i()(this,"schedulePreviewCacheReload",(()=>{const{invalidateCachedEmbedPreview:e,url:t}=this.props;null===this.previewCacheReloadTimer&&this.previewFailuresCount<5&&(this.previewFailuresCount++,this.previewCacheReloadTimer=setTimeout((()=>{e(t),this.previewCacheReloadTimer=null}),2e3*this.previewFailuresCount))})),i()(this,"fallbackToCore",(()=>{this.props.setAttributes({guid:void 0}),this.setState({fallback:!0})})),i()(this,"setGuid",(async()=>{const{attributes:e,setAttributes:t}=this.props,{id:n}=e;if(n)try{const e=await this.requestMedia(n);if(null===e)return;const r=(0,y.get)(e,"jetpack_videopress.guid");r?(t({guid:r}),this.setTracks(r)):this.fallbackToCore()}catch(e){this.setState({isFetchingMedia:!1}),this.fallbackToCore()}else t({guid:void 0})})),i()(this,"requestMedia",(async e=>{if(!e)return null;if(null!==this.state.media&&this.state.lastRequestedMediaId===e)return this.state.media;this.setState({isFetchingMedia:!0});const t=await c()({path:`/wp/v2/media/${e}`}).catch((()=>(this.setState({fallback:!0}),null))).finally((()=>{this.setState({isFetchingMedia:!1})})),{id:n}=this.props.attributes;return e!==n?null:(this.setState({media:t,lastRequestedMediaId:e}),t)})),i()(this,"setTracks",(e=>{const{setAttributes:t}=this.props;e&&c()({url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}`,credentials:"omit",global:!0}).then((e=>{const n=[];Object.keys(e.tracks).forEach((t=>{for(const r in e.tracks[t]){const a=e.tracks[t][r];n.push({src:a.src,kind:t,srcLang:r,label:a.label})}})),t({videoPressTracks:n})}))})),i()(this,"switchToEditing",(()=>{this.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),i()(this,"onSelectPoster",(e=>{const{setAttributes:t}=this.props;t({poster:e.url})})),i()(this,"onRemovePoster",(()=>{const{setAttributes:e}=this.props;e({poster:""}),this.posterImageButton.current.focus()})),i()(this,"toggleAttribute",(e=>t=>{this.props.setAttributes({[e]:t})})),i()(this,"getAutoplayHelp",(e=>e?__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null)),i()(this,"getPrivacySettingHelp",(e=>{const t=parseInt(e,10);return A.v.PRIVATE===t?__("Restrict views to members of this site","jetpack"):A.v.PUBLIC===t?__("Video can be viewed by anyone","jetpack"):__("Follow the site privacy setting","jetpack")})),i()(this,"onChangeRating",(e=>{const t=this.state.rating;"X-18"===e&&(e="R-17"),-1!==(0,y.indexOf)(["G","PG-13","R-17"],e)&&this.updateMetaApiCall({rating:e},(()=>this.setState({isUpdatingRating:!0,rating:e})),(()=>this.setState({rating:t})),(()=>this.setState({isUpdatingRating:!1})))})),i()(this,"onChangeAllowDownload",(e=>{const t=this.state.allowDownload;this.updateMetaApiCall({allow_download:e?1:0},(()=>this.setState({isUpdatingAllowDownload:!0,allowDownload:e})),(()=>this.setState({allowDownload:t})),(()=>this.setState({isUpdatingAllowDownload:!1})))})),i()(this,"onChangePrivacySetting",(e=>{const t=this.state.privacySetting;this.updateMetaApiCall({privacy_setting:e},(()=>this.setState({isUpdatingPrivacySetting:!0,privacySetting:e})),(()=>this.setState({privacySetting:t})),(()=>this.setState({isUpdatingPrivacySetting:!1})))})),i()(this,"updateMetaApiCall",((e,t,n,r)=>{const{invalidateCachedEmbedPreview:a,url:o}=this.props,{id:i}=this.props.attributes;if(!i)return;t();const s={id:i};Object.assign(s,e),c()({path:"/wpcom/v2/videopress/meta",method:"POST",data:s}).then((e=>{status in e&&200!==e.status&&n()})).catch((()=>n())).finally((()=>{r(),a(o)}))})),this.state={media:null,isFetchingMedia:!1,fallback:!1,interactive:!1,rating:null,lastRequestedMediaId:null,isUpdatingRating:!1,allowDownload:null,privacySetting:A.v.SITE_DEFAULT,isUpdatingAllowDownload:!1,fileForUpload:e.fileForImmediateUpload,isUpdatingIsPrivate:!1},this.posterImageButton=(0,s.createRef)(),this.previewCacheReloadTimer=null,this.previewFailuresCount=0}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}async componentDidMount(){const{guid:e}=this.props.attributes;e?this.setTracks(e):await this.setGuid(),this.setRatingAndAllowDownload()}async componentDidUpdate(e){const{attributes:t,invalidateCachedEmbedPreview:n,preview:r,setAttributes:a,url:o,isFetchingPreview:i}=this.props;t.id!==e.attributes.id&&(await this.setGuid(),this.setRatingAndAllowDownload());let s=!1;if(o&&o!==e.url&&(n(o),s=!0),r){const e=(0,_.f)(r.html,k()("wp-block-embed","is-type-video","is-provider-videopress"),!1);this.previewFailuresCount=0,a({videoPressClassNames:e})}else i||s||!this.props.attributes.guid||this.schedulePreviewCacheReload()}getPreloadHelp(){const{attributes:e}=this.props;return"auto"===e.preload?__("Note: Automatically downloading videos may cause issues if there are many videos displayed on the same page.","jetpack"):null}renderControlLabelWithTooltip(e,t){return(0,s.createElement)(p.Tooltip,{text:t,position:"top"},(0,s.createElement)("span",null,e))}render(){const{attributes:t,instanceId:n,isFetchingPreview:r,isUploading:o,preview:i,resumableUploadEnabled:l,setAttributes:c}=this.props,{fallback:u,fileForUpload:d,isFetchingMedia:m,isUpdatingRating:v,interactive:k,rating:y,allowDownload:w,privacySetting:_,isUpdatingAllowDownload:T,isUpdatingPrivacySetting:R}=this.state,{autoplay:M,caption:I,controls:L,guid:D,loop:F,muted:B,playsinline:Z,poster:O,preload:z,useAverageColor:U,videoPressTracks:$,isVideoPressExample:q,src:V}=t;if(q&&V)return(0,s.createElement)("img",{src:V,alt:I});const H=`video-block__poster-image-description-${n}`,G=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h.BlockControls,{group:"block"},(0,s.createElement)(j.Z,{tracks:$,onChange:e=>{c({videoPressTracks:e})},guid:D})),(0,s.createElement)(h.BlockControls,null,(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{className:"components-icon-button components-toolbar__control",label:__("Edit video","jetpack"),onClick:this.switchToEditing,icon:(0,s.createElement)(g.Z,{icon:b.Z})}))),(0,s.createElement)(h.InspectorControls,null,(0,s.createElement)(p.PanelBody,{title:__("Video Settings","jetpack")},(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Autoplay","jetpack"),
/* translators: Tooltip describing the "autoplay" option for the VideoPress player */
-__("Start playing the video as soon as the page loads","jetpack")),onChange:this.toggleAttribute("autoplay"),checked:w,help:this.getAutoplayHelp}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Loop","jetpack"),
+__("Start playing the video as soon as the page loads","jetpack")),onChange:this.toggleAttribute("autoplay"),checked:M,help:this.getAutoplayHelp}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Loop","jetpack"),
/* translators: Tooltip describing the "loop" option for the VideoPress player */
-__("Restarts the video when it reaches the end","jetpack")),onChange:this.toggleAttribute("loop"),checked:T}),(0,s.createElement)(p.ToggleControl,{label:__("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:P}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Playback Controls","jetpack"),
+__("Restarts the video when it reaches the end","jetpack")),onChange:this.toggleAttribute("loop"),checked:F}),(0,s.createElement)(p.ToggleControl,{label:__("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:B}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Playback Controls","jetpack"),
/* translators: Tooltip describing the "controls" option for the VideoPress player */
-__("Display the video playback controls","jetpack")),onChange:this.toggleAttribute("controls"),checked:A}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Play Inline","jetpack"),
+__("Display the video playback controls","jetpack")),onChange:this.toggleAttribute("controls"),checked:L}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Play Inline","jetpack"),
/* translators: Tooltip describing the "playsinline" option for the VideoPress player */
-__("Play the video inline instead of full-screen on mobile devices","jetpack")),onChange:this.toggleAttribute("playsinline"),checked:M}),(0,s.createElement)(p.SelectControl,{label:this.renderControlLabelWithTooltip(__("Preload","jetpack"),
+__("Play the video inline instead of full-screen on mobile devices","jetpack")),onChange:this.toggleAttribute("playsinline"),checked:Z}),(0,s.createElement)(p.SelectControl,{label:this.renderControlLabelWithTooltip(__("Preload","jetpack"),
/* translators: Tooltip describing the "preload" option for the VideoPress player */
-__("Content to dowload before the video is played","jetpack")),value:R,onChange:e=>l({preload:e}),options:[{value:"auto",label:_x("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:_x("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:_x("None","VideoPress preload setting","jetpack")}],help:this.getPreloadHelp()}),(0,s.createElement)(h.MediaUploadCheck,null,(0,s.createElement)(p.BaseControl,{className:"editor-video-poster-control",label:__("Poster Image","jetpack")},(0,s.createElement)(h.MediaUpload,{title:__("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:j,render:e=>{let{open:t}=e;return(0,s.createElement)(p.Button,{isDefault:!0,onClick:t,ref:this.posterImageButton,"aria-describedby":D},I?__("Replace image","jetpack",0):__("Select Poster Image","jetpack"))}}),(0,s.createElement)("p",{id:D,hidden:!0},I?(0,f.sprintf)(
+__("Content to dowload before the video is played","jetpack")),value:z,onChange:e=>c({preload:e}),options:[{value:"auto",label:_x("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:_x("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:_x("None","VideoPress preload setting","jetpack")}],help:this.getPreloadHelp()}),(0,s.createElement)(h.MediaUploadCheck,null,(0,s.createElement)(p.BaseControl,{className:"editor-video-poster-control",label:__("Poster Image","jetpack")},(0,s.createElement)(h.MediaUpload,{title:__("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:P,render:e=>{let{open:t}=e;return(0,s.createElement)(p.Button,{variant:"secondary",onClick:t,ref:this.posterImageButton,"aria-describedby":H},O?__("Replace image","jetpack",0):__("Select Poster Image","jetpack"))}}),(0,s.createElement)("p",{id:H,hidden:!0},O?(0,f.sprintf)(
/* translators: Placeholder is an image URL. */
-__("The current poster image url is %s","jetpack"),I):__("There is no poster image currently selected","jetpack")),!!I&&(0,s.createElement)(p.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},__("Remove Poster Image","jetpack"))))),(0,s.createElement)(C.Z,{attributes:t,setAttributes:l,useAverageColor:L,toggleAttribute:this.toggleAttribute}),(0,s.createElement)(p.PanelBody,{title:__("Video File Settings","jetpack")},(0,s.createElement)(p.SelectControl,{label:_x("Rating","The age rating for this video.","jetpack"),value:k,disabled:u||d,options:[{label:_x("G",'Video rating for "General Audiences".',"jetpack"),value:"G"},{label:_x("PG-13",'Video rating for "Parental Guidance", unsuitable for children under 13.',"jetpack"),value:"PG-13"},{label:_x("R",'Video rating for "Restricted", not recommended for children under 17.',"jetpack"),value:"R-17"}],onChange:this.onChangeRating}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Allow download","jetpack"),
+__("The current poster image url is %s","jetpack"),O):__("There is no poster image currently selected","jetpack")),!!O&&(0,s.createElement)(p.Button,{onClick:this.onRemovePoster,variant:"link",isDestructive:!0},__("Remove Poster Image","jetpack"))))),(0,s.createElement)(x.Z,{attributes:t,setAttributes:c,useAverageColor:U,toggleAttribute:this.toggleAttribute}),(0,s.createElement)(p.PanelBody,{title:__("Video File Settings","jetpack")},(0,s.createElement)(p.SelectControl,{label:_x("Rating","The age rating for this video.","jetpack"),value:y,disabled:m||v,options:[{label:_x("G",'Video rating for "General Audiences".',"jetpack"),value:"G"},{label:_x("PG-13",'Video rating for "Parental Guidance", unsuitable for children under 13.',"jetpack"),value:"PG-13"},{label:_x("R",'Video rating for "Restricted", not recommended for children under 17.',"jetpack"),value:"R-17"}],onChange:this.onChangeRating}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Allow download","jetpack"),
/* translators: Tooltip describing the "allow download" option for the VideoPress player */
-__("Display download option and allow viewers to download this video","jetpack")),onChange:this.onChangeAllowDownload,checked:v,disabled:u||y})))),z=u||r,$=c||o||!N,U=$&&!o&&!z;if($)return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:o||z?"":"videopress-block-hide"},(0,s.createElement)(E.Z,{text:o?__("Uploading…","jetpack"):__("Generating preview…","jetpack",0)})),(0,s.createElement)("div",{className:U?"":"videopress-block-hide"},(0,s.createElement)(e,this.props)));const{html:V,scripts:q}=i||{html:null,scripts:null},G=z||!i;return(0,s.createElement)(s.Fragment,null,O,G&&(0,s.createElement)(E.Z,{text:__("Generating preview…","jetpack")}),!G&&(0,s.createElement)(S,a()({},this.props,{hideOverlay:this.hideOverlay,html:V,scripts:q,interactive:m,caption:_})))}}]),"withVideoPressEdit")},38341:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{text:t}=e;return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(a.Spinner,null),(0,r.createElement)("p",null,t))}},64089:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(89105),s=n.n(i),l=n(45151);t.Z=(0,a.createHigherOrderComponent)((e=>t=>{const{attributes:{autoplay:n,caption:a,controls:i,guid:c,loop:u,muted:p,playsinline:d,poster:m,preload:h,videoPressClassNames:f,className:g,align:b,seekbarColor:k,seekbarPlayedColor:v,seekbarLoadingColor:y,useAverageColor:E,maxWidth:w}={}}=t,_=o.useBlockProps.save({className:s()("wp-block-video",g,f,{[`align${b}`]:b})});if(!c)return e(t);const C=(0,l.p)(c,{autoplay:n,controls:i,loop:u,muted:p,playsinline:d,poster:m,preload:h,seekbarColor:k,seekbarPlayedColor:v,seekbarLoadingColor:y,useAverageColor:E});let x={};return w&&w.length>0&&"100%"!==w&&(x={maxWidth:w,margin:"auto"}),(0,r.createElement)("figure",_,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:x},`\n${C}\n`),!o.RichText.isEmpty(a)&&(0,r.createElement)(o.RichText.Content,{tagName:"figcaption",value:a}))}),"withVideoPressSave")},72905:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=(n(99196),n(55609)),s=n(52175),l=n(65736);const __=l.__;class c extends o.Component{constructor(){super(...arguments),a()(this,"handleChangeSeekbarColor",(e=>{this.setState({seekbarColor:e})})),a()(this,"handleChangeSeekbarLoadingColor",(e=>{this.setState({seekbarLoadingColor:e})})),a()(this,"handleChangeSeekbarPlayedColor",(e=>{this.setState({seekbarPlayedColor:e})})),a()(this,"saveColors",(()=>{const{seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n}=this.state,{setAttributes:r}=this.props;r({seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n})}));const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.props.attributes;this.state={seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}}render(){const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.state,{toggleAttribute:r,useAverageColor:a}=this.props,l=!0;return(0,o.createElement)(i.PanelBody,{className:"seekbar-color-settings__panel",title:__("Progress Bar Colors","jetpack"),initialOpen:!1},(0,o.createElement)(i.ToggleControl,{label:__("Match video","jetpack"),help:__("Colors adapt to the video as it plays","jetpack"),onChange:r("useAverageColor"),checked:a}),(0,o.createElement)(s.PanelColorSettings,{opened:!a,showTitle:!1,colorSettings:[{value:e,onChange:this.handleChangeSeekbarColor,label:__("Main","jetpack"),showTitle:l},{value:n,onChange:this.handleChangeSeekbarLoadingColor,label:__("Loaded","jetpack"),showTitle:l},{value:t,onChange:this.handleChangeSeekbarPlayedColor,label:__("Progress","jetpack"),showTitle:l}]},(0,o.createElement)(i.Button,{variant:"secondary",onClick:this.saveColors},__("Save colors","jetpack"))))}}t.Z=c},9360:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(69307),a=n(86989),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(31266),u=n(9818);const __=i.__,p="subtitles",d=".vtt,text/vtt",m=[{label:__("Subtitles","jetpack"),value:"subtitles"},{label:__("Captions","jetpack"),value:"captions"},{label:__("Descriptions","jetpack"),value:"descriptions"},{label:__("Chapters","jetpack"),value:"chapters"},{label:__("Metadata","jetpack"),value:"metadata"}],h=(0,r.createElement)(s.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},(0,r.createElement)(s.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(s.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),(0,r.createElement)(s.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"})),f=()=>"videoPressUploadTrack"in window;function g(e){let{tracks:t,onChange:n,guid:a}=e;const[l=-1,c]=(0,r.useState)(),u=e=>{const r=t[e];c(e),((e,t)=>{if(f())return window.videoPressDeleteTrack(t,e.kind,e.srcLang);const n={method:"POST",path:`/videos/${t}/tracks/delete`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang]]};return o()(n)})(r,a).finally((()=>{n(t.filter(((t,n)=>n!==e))),c(-1)}))};let p;return p=0===t.length?(0,r.createElement)("p",{className:"videopress-block-tracks-editor__tracks-informative-message"},__("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.","jetpack")):t.map(((e,t)=>(0,r.createElement)("div",{key:t,className:"videopress-block-tracks-editor__track-list-track"},(0,r.createElement)("span",null,e.label),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__track-list-track-delete"},(0,r.createElement)(s.Button,{isLink:!0,isDestructive:!0,onClick:()=>{u(t)},"aria-label":(0,i.sprintf)(
+__("Display download option and allow viewers to download this video","jetpack")),onChange:this.onChangeAllowDownload,checked:w,disabled:m||T}),(0,s.createElement)(p.SelectControl,{label:__("Video Privacy","jetpack"),help:this.getPrivacySettingHelp(_),onChange:this.onChangePrivacySetting,value:_,options:[{value:A.v.SITE_DEFAULT,label:_x("Site Default","VideoPress privacy setting","jetpack")},{value:A.v.PUBLIC,label:_x("Public","VideoPress privacy setting","jetpack")},{value:A.v.PRIVATE,label:_x("Private","VideoPress privacy setting","jetpack")}],disabled:m||R})))),W=e=>{this.setState({fileForUpload:e[0]})},K=e=>{var t,n;e&&e.url?(this.props.setAttributes({src:e.url,id:e.id,poster:(null===(t=e.image)||void 0===t?void 0:t.src)!==e.icon?null===(n=e.image)||void 0===n?void 0:n.src:void 0}),e.videopress_guid&&this.props.setAttributes({guid:e.videopress_guid})):c({src:void 0,id:void 0,poster:void 0})},X=e=>{let{mediaId:t,guid:n,src:r}=e;this.setState({fileForUpload:null}),t&&n&&r&&c({id:t,guid:n,src:r})};if(null!==d&&d instanceof File)return(0,s.createElement)(S.Z,{onUploadFinished:X},(0,s.createElement)(s.Fragment,null,G,(0,s.createElement)(C.Z,a()({file:d},this.props))));const J=m||r,Y=u||o||!D,Q=Y&&!o&&!J,ee=(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:o||J?"":"videopress-block-hide"},(0,s.createElement)(E.Z,{text:o?__("Uploading…","jetpack"):__("Generating preview…","jetpack",0)})),(0,s.createElement)("div",{className:Q?"":"videopress-block-hide"},(0,s.createElement)(e,this.props)));if(Y)return l?(0,s.createElement)(S.Z,{onFilesSelected:W,onMediaItemSelected:K},ee):(0,s.createElement)(s.Fragment,null,ee);const{html:te,scripts:ne}=i||{html:null,scripts:null},re=J||!i;return(0,s.createElement)(s.Fragment,null,G,re&&(0,s.createElement)(E.Z,{text:__("Generating preview…","jetpack")}),!re&&(0,s.createElement)(N,a()({},this.props,{hideOverlay:this.hideOverlay,html:te,scripts:ne,interactive:k,caption:I})))}}]),"withVideoPressEdit")},31302:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{text:t}=e;return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(a.Spinner,null),(0,r.createElement)("p",null,t))}},43774:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(90861),o=n.n(a),i=n(65736),s=n(81975),l=n(5482),c=n(55609),u=n(52175),p=n(81427),d=n(10723);const __=i.__;function m(e){let{file:t}=e;const[n,a]=(0,r.useState)(0),[m,h]=(0,r.useState)(!1),[f,g]=(0,r.useState)(null),[b,v]=(0,r.useState)(null),{onUploadFinished:k}=(0,r.useContext)(d.H),y=(0,r.useRef)(null);y.current=f;const E=(0,u.useBlockProps)({className:"resumable-upload"}),w=(0,r.useCallback)((()=>{const e=(0,l.J)({onError:e=>{v(e)},onProgress:(e,t)=>{a(e/t*100)},onSuccess:e=>{k(e)}});(0,l.v)().then((n=>{const r=e(t,n);g(r)})).catch((e=>{v(e)}))}),[t,k]);(0,r.useEffect)((()=>(w(),()=>{null!==y.current&&y.current.abort()})),[]);const _=Math.round(n),C={width:`${_}%`},x=(0,s.escapeHTML)(t.name),j=(0,r.createInterpolateElement)((0,i.sprintf)(
+/* translators: Placeholder is a video file name. */
+__("Uploading <strong>%s</strong>","jetpack"),x),{strong:(0,r.createElement)("strong",null)}),S=o()(t.size);return(0,r.createElement)("div",E,(0,r.createElement)("div",{className:"resumable-upload__logo"},(0,r.createElement)(c.Icon,{icon:p.ll}),(0,r.createElement)("div",{className:"resumable-upload__logo-text"},__("VideoPress","jetpack"))),null!==b?(0,r.createElement)("div",{className:"resumable-upload__error"},(0,r.createElement)("div",{className:"resumable-upload__error-text"},__("An error was encountered during the upload. Check your network connection.","jetpack")),(0,r.createElement)(c.Button,{variant:"primary",onClick:()=>(v(null),void w())},__("Try again","jetpack")),(0,r.createElement)(c.Button,{variant:"secondary",onClick:()=>k(),className:"resumable-upload__error-cancel"},__("Cancel","jetpack"))):(0,r.createElement)("div",{className:"resumable-upload__status"},(0,r.createElement)("div",{className:"resumable-upload__file-info"},(0,r.createElement)("div",{className:"resumable-upload__file-name"},j)," — ",(0,r.createElement)("div",{className:"resumable-upload__file-size"},S)),(0,r.createElement)("div",{className:"resumable-upload__progress"},(0,r.createElement)("div",{className:"resumable-upload__progress-loaded",style:C})),(0,r.createElement)("div",{className:"resumable-upload__actions"},(0,r.createElement)("div",{className:"videopress-upload__percent-complete"},`${_}%`),(0,r.createElement)(c.Button,{variant:"link",onClick:()=>{f&&(m?f.start():f.abort(),h(!m))}},m?"Resume":"Pause"))))}},5482:function(e,t,n){"use strict";n.d(t,{J:function(){return i},v:function(){return a}});var r=n(99537);const a=function(e){return new Promise((function(t,n){const r=e?{data:{key:e}}:{};wp.media.ajax("videopress-get-upload-jwt",{async:!0,...r}).done((function(e){t({token:e.upload_token,blogId:e.upload_blog_id,url:e.upload_action_url})})).fail((function(e){n(e)}))}))},o={},i=e=>{let{onError:t,onProgress:n,onSuccess:i}=e;return(e,s)=>{const l=new r.gq(e,{onError:t,onProgress:n,endpoint:s.url,removeFingerprintOnSuccess:!0,withCredentials:!1,autoRetry:!0,overridePatchMethod:!1,chunkSize:1e7,allowedFileTypes:["video/*"],metadata:{filename:e.name,filetype:e.type},retryDelays:[0,1e3,3e3,5e3,1e4],onAfterResponse:function(e,t){if(t.getStatus()>=400)return;const n=t.getHeader("x-videopress-upload-guid"),r=t.getHeader("x-videopress-upload-media-id"),a=t.getHeader("x-videopress-upload-src-url");if(n&&r&&a)return void(i&&i({mediaId:Number(r),guid:n,src:a}));const s={"x-videopress-upload-key-token":"token","x-videopress-upload-key":"key"},l={};Object.keys(s).forEach((function(e){const n=t.getHeader(e);n&&(l[s[e]]=n)})),l.key&&l.token&&(o[l.key]=l.token)},onBeforeRequest:function(e){const t=e._method;if(["HEAD","OPTIONS"].indexOf(t)>=0&&(e._method="GET",e.setHeader("X-HTTP-Method-Override",t)),["DELETE","PUT","PATCH"].indexOf(t)>=0&&(e._method="POST",e.setHeader("X-HTTP-Method-Override",t)),e._xhr.open(e._method,e._url,!0),Object.keys(e._headers).map((function(t){e.setHeader(t,e._headers[t])})),"POST"===t){if(!!!s.token)throw"should never happen";e.setHeader("x-videopress-upload-token",s.token)}if(["OPTIONS","GET","HEAD","DELETE","PUT","PATCH"].indexOf(t)>=0){const n=new URL(e._url).pathname.split("/"),r=n[n.length-1];if(o[r])e.setHeader("x-videopress-upload-token",o[r]);else if("HEAD"===t)return a(r).then((t=>(o[r]=t.token,e.setHeader("x-videopress-upload-token",t.token),e)))}return Promise.resolve(e)}});return l.findPreviousUploads().then((function(e){e.length&&l.resumeFromPreviousUpload(e[0]),l.start()})),l}}},23096:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(65235),s=n.n(i),l=n(90953);t.Z=(0,a.createHigherOrderComponent)((e=>t=>{const{attributes:{autoplay:n,caption:a,controls:i,guid:c,loop:u,muted:p,playsinline:d,poster:m,preload:h,videoPressClassNames:f,className:g,align:b,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E,maxWidth:w}={}}=t,_=o.useBlockProps.save({className:s()("wp-block-video",g,f,{[`align${b}`]:b})});if(!c)return e(t);const C=(0,l.p)(c,{autoplay:n,controls:i,loop:u,muted:p,playsinline:d,poster:m,preload:h,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E});let x={};return w&&w.length>0&&"100%"!==w&&(x={maxWidth:w,margin:"auto"}),(0,r.createElement)("figure",_,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:x},`\n${C}\n`),!o.RichText.isEmpty(a)&&(0,r.createElement)(o.RichText.Content,{tagName:"figcaption",value:a}))}),"withVideoPressSave")},75880:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=(n(99196),n(55609)),s=n(52175),l=n(65736);const __=l.__;class c extends o.Component{constructor(){super(...arguments),a()(this,"handleChangeSeekbarColor",(e=>{this.setState({seekbarColor:e})})),a()(this,"handleChangeSeekbarLoadingColor",(e=>{this.setState({seekbarLoadingColor:e})})),a()(this,"handleChangeSeekbarPlayedColor",(e=>{this.setState({seekbarPlayedColor:e})})),a()(this,"saveColors",(()=>{const{seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n}=this.state,{setAttributes:r}=this.props;r({seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n})}));const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.props.attributes;this.state={seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}}render(){const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.state,{toggleAttribute:r,useAverageColor:a}=this.props,l=!0;return(0,o.createElement)(i.PanelBody,{className:"seekbar-color-settings__panel",title:__("Progress Bar Colors","jetpack"),initialOpen:!1},(0,o.createElement)(i.ToggleControl,{label:__("Match video","jetpack"),help:__("Colors adapt to the video as it plays","jetpack"),onChange:r("useAverageColor"),checked:a}),(0,o.createElement)(s.PanelColorSettings,{opened:!a,showTitle:!1,colorSettings:[{value:e,onChange:this.handleChangeSeekbarColor,label:__("Main","jetpack"),showTitle:l},{value:n,onChange:this.handleChangeSeekbarLoadingColor,label:__("Loaded","jetpack"),showTitle:l},{value:t,onChange:this.handleChangeSeekbarPlayedColor,label:__("Progress","jetpack"),showTitle:l}]},(0,o.createElement)(i.Button,{variant:"secondary",onClick:this.saveColors},__("Save colors","jetpack"))))}}t.Z=c},22081:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(86989),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(47659),u=n(9818);const __=i.__,p="subtitles",d=".vtt,text/vtt",m=[{label:__("Subtitles","jetpack"),value:"subtitles"},{label:__("Captions","jetpack"),value:"captions"},{label:__("Descriptions","jetpack"),value:"descriptions"},{label:__("Chapters","jetpack"),value:"chapters"},{label:__("Metadata","jetpack"),value:"metadata"}],h=(0,r.createElement)(s.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},(0,r.createElement)(s.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(s.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),(0,r.createElement)(s.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"})),f=()=>"videoPressUploadTrack"in window;function g(e){let{tracks:t,onChange:n,guid:a}=e;const[l=-1,c]=(0,r.useState)(),u=e=>{const r=t[e];c(e),((e,t)=>{if(f())return window.videoPressDeleteTrack(t,e.kind,e.srcLang);const n={method:"POST",path:`/videos/${t}/tracks/delete`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang]]};return o()(n)})(r,a).finally((()=>{n(t.filter(((t,n)=>n!==e))),c(-1)}))};let p;return p=0===t.length?(0,r.createElement)("p",{className:"videopress-block-tracks-editor__tracks-informative-message"},__("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.","jetpack")):t.map(((e,t)=>(0,r.createElement)("div",{key:t,className:"videopress-block-tracks-editor__track-list-track"},(0,r.createElement)("span",null,e.label),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__track-list-track-delete"},(0,r.createElement)(s.Button,{variant:"link",isDestructive:!0,onClick:()=>{u(t)},"aria-label":(0,i.sprintf)(
/* translators: %s: Label of the video text track e.g: "French subtitles" */
-__("Delete %s","jetpack"),e.label),disabled:l===t},l===t?__("Deleting","jetpack"):__("Delete","jetpack",0)))))),(0,r.createElement)(s.MenuGroup,{label:__("Text tracks","jetpack"),className:"videopress-block-tracks-editor__track-list"},p)}function b(e){let{track:t,guid:n,onChange:a,onClose:c,onCancel:h,trackExists:g}=e;const[b,k]=(0,r.useState)(),[v=!1,y]=(0,r.useState)(),{label:E="",srcLang:w="",kind:_=p}=t,C=t.tmpFile?t.tmpFile.name:"";if(!(0,u.useSelect)((e=>e(l.store).getSettings().mediaUpload),[]))return null;return(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor"},(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-label"},__("Edit track","jetpack")),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file"},(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label"},(0,r.createElement)("span",null,__("File","jetpack"),":"),""!==C&&(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label-name"},(0,r.createElement)("strong",null,C)),(0,r.createElement)(l.MediaUploadCheck,null,(0,r.createElement)(s.FormFileUpload,{onChange:e=>{const n=e.target.files;!n.length>0||(t.tmpFile=n[0],a(t))},accept:d,render:e=>{let{openFileDialog:t}=e;return(0,r.createElement)(s.Button,{isLink:!0,onClick:()=>{t()}},""===C?__("Select track","jetpack"):__("Change track","jetpack",0))},disabled:v}))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-help"},
+__("Delete %s","jetpack"),e.label),disabled:l===t},l===t?__("Deleting","jetpack"):__("Delete","jetpack",0)))))),(0,r.createElement)(s.MenuGroup,{label:__("Text tracks","jetpack"),className:"videopress-block-tracks-editor__track-list"},p)}function b(e){let{track:t,guid:n,onChange:a,onClose:c,onCancel:h,trackExists:g}=e;const[b,v]=(0,r.useState)(),[k=!1,y]=(0,r.useState)(),{label:E="",srcLang:w="",kind:_=p}=t,C=t.tmpFile?t.tmpFile.name:"";if(!(0,u.useSelect)((e=>e(l.store).getSettings().mediaUpload),[]))return null;return(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor"},(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-label"},__("Edit track","jetpack")),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file"},(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label"},(0,r.createElement)("span",null,__("File","jetpack"),":"),""!==C&&(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label-name"},(0,r.createElement)("strong",null,C)),(0,r.createElement)(l.MediaUploadCheck,null,(0,r.createElement)(s.FormFileUpload,{onChange:e=>{const n=e.target.files;!n.length>0||(t.tmpFile=n[0],a(t))},accept:d,render:e=>{let{openFileDialog:t}=e;return(0,r.createElement)(s.Button,{variant:"link",onClick:()=>{t()}},""===C?__("Select track","jetpack"):__("Change track","jetpack",0))},disabled:k}))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-help"},
/* translators: %s: The allowed file types to be uploaded as a video text track." */
-(0,i.sprintf)(__("Allowed formats: %s","jetpack"),d))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-label-language"},(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,label:e}),label:__("Label","jetpack"),value:E,help:__("Title of track","jetpack"),disabled:v}),(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,srcLang:e}),label:__("Source language","jetpack"),value:w,help:__("Language tag (en, fr, etc.)","jetpack"),disabled:v})),(0,r.createElement)(s.SelectControl,{className:"videopress-block-tracks-editor__single-track-editor-kind-select",options:m,value:_,label:
+(0,i.sprintf)(__("Allowed formats: %s","jetpack"),d))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-label-language"},(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,label:e}),label:__("Label","jetpack"),value:E,help:__("Title of track","jetpack"),disabled:k}),(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,srcLang:e}),label:__("Source language","jetpack"),value:w,help:__("Language tag (en, fr, etc.)","jetpack"),disabled:k})),(0,r.createElement)(s.SelectControl,{className:"videopress-block-tracks-editor__single-track-editor-kind-select",options:m,value:_,label:
/* translators: %s: The kind of video text track e.g: "Subtitles, Captions" */
-__("Kind","jetpack"),onChange:e=>{a({...t,kind:e})},disabled:v}),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-buttons-container"},v?(0,r.createElement)(s.Spinner,null):(0,r.createElement)(s.Button,{isSecondary:!0,disabled:!t.tmpFile,onClick:()=>{k(null),""===E&&(t.label=__("English","jetpack")),""===w&&(t.srcLang="en"),void 0===t.kind&&(t.kind=p),g(t)?k(__("A track already exists for that language and kind.","jetpack")):(y(!0),((e,t)=>{if(f())return window.videoPressUploadTrack(t,e.kind,e.srcLang,e.label,e.tmpFile);const n={method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang],["label",e.label],["vtt",e.tmpFile]]};return o()(n)})(t,n).then((()=>{a(t),k(null),c()})).catch((e=>{e.message&&k(e.message)})).finally((()=>{y(!1)})))}},__("Save","jetpack")),(0,r.createElement)(s.Button,{isLink:!0,onClick:h},__("Close","jetpack"))),b&&(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-error"},
+__("Kind","jetpack"),onChange:e=>{a({...t,kind:e})},disabled:k}),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-buttons-container"},k?(0,r.createElement)(s.Spinner,null):(0,r.createElement)(s.Button,{variant:"secondary",disabled:!t.tmpFile,onClick:()=>{v(null),""===E&&(t.label=__("English","jetpack")),""===w&&(t.srcLang="en"),void 0===t.kind&&(t.kind=p),g(t)?v(__("A track already exists for that language and kind.","jetpack")):(y(!0),((e,t)=>{if(f())return window.videoPressUploadTrack(t,e.kind,e.srcLang,e.label,e.tmpFile);const n={method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang],["label",e.label],["vtt",e.tmpFile]]};return o()(n)})(t,n).then((()=>{a(t),v(null),c()})).catch((e=>{e.message&&v(e.message)})).finally((()=>{y(!1)})))}},__("Save","jetpack")),(0,r.createElement)(s.Button,{variant:"link",onClick:h},__("Close","jetpack"))),b&&(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-error"},
/* translators: %s: An error message returned after a failed video track file upload." */
-(0,i.sprintf)(__("Error: %s","jetpack"),b))))}function k(e){let{tracks:t=[],onChange:n,guid:a}=e;const[o,i]=(0,r.useState)(null);return(0,r.createElement)(s.Dropdown,{contentClassName:"videopress-block-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,r.createElement)(s.ToolbarButton,{label:__("Text tracks","jetpack"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:h})},renderContent:()=>null!==o?(0,r.createElement)(b,{track:t[o],guid:a,onChange:e=>{const r=[...t];r[o]=e,n(r)},onClose:()=>i(null),onCancel:()=>{n(t.filter(((e,t)=>t!==o))),i(null)},trackExists:e=>-1!==t.filter(((e,t)=>t!==o)).findIndex((t=>t.kind===e.kind&&t.srcLang===e.srcLang))}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)(g,{tracks:t,onChange:n,guid:a}),(0,r.createElement)(s.MenuGroup,{className:"videopress-block-tracks-editor__add-tracks-container",label:__("Add tracks","jetpack")},(0,r.createElement)(s.MenuItem,{icon:c.Z,onClick:()=>{(()=>{const e=t.length,r=[...t];r[e]||(r[e]={}),r[e]={...t[e]},n(r),i(e)})()}},__("Upload track","jetpack")))))})}},45151:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d,useAverageColor:m}=t;if(!e)return null;const h={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d},...m&&{useAverageColor:!0}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,h)}},43501:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(96816),a=n(89105),o=n.n(a);const i=e=>{const t=r.s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1});return o()(e,t)};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return i(t);const a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;const s=a.body.querySelector("iframe");if(s&&s.height&&s.width){const e=(s.width/s.height).toFixed(2);for(let n=0;n<r.s.length;n++){const a=r.s[n];if(e>=a.ratio)return o()(i(t),a.className,"wp-has-aspect-ratio")}}return t}},33144:function(e,t,n){"use strict";n.d(t,{U:function(){return i},m:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i="mrec",s=[{height:250,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:__("Rectangle 300x250","jetpack"),tag:i,width:300,editorPadding:30},{height:90,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:__("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:__("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),(0,r.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:__("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}]},67907:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(21762);const __=i.__,l=e=>{let{value:t,onChange:n}=e;return(0,r.createElement)(o.PanelBody,{title:__("Visibility","jetpack")},(0,r.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:!!t,label:__("Hide on mobile","jetpack"),help:__("Hides this block for site visitors on mobile devices.","jetpack"),onChange:n}))};t.Z=e=>{let{attributes:{format:t,hideMobile:n},setAttributes:o}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(s.Z,{value:t,onChange:e=>o({format:e})})),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(l,{value:n,onChange:e=>o({hideMobile:!!e})})))}},7299:function(e,t,n){"use strict";var r=n(69307),a=n(67907),o=n(33144),i=n(72473),s=n(52203),l=n(38511),c=n(80405);t.Z=e=>{let{attributes:t,setAttributes:n}=e;const{format:u}=t,p=o.m.find((e=>{let{tag:t}=e;return t===u}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Z,{attributes:t,setAttributes:n}),(0,r.createElement)("div",{className:`wp-block-jetpack-wordads jetpack-wordads-${u}`},(0,r.createElement)("div",{className:"jetpack-wordads__ad",style:{width:p.width,height:p.height,backgroundImage:`url( ${(e=>{switch(e){case"leaderboard":return s;case"mobile_leaderboard":return l;case"wideskyscraper":return c;default:return i}})(u)} )`,backgroundSize:"cover"}})))}},21762:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(33144);const s=(0,a.__)("Pick an ad format","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.ToolbarGroup,{controls:[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:s,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},i.m.map((e=>{let{tag:i,name:s,icon:l}=e;return(0,r.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:l,isSelected:i===t,key:i,onClick:()=>{n(i),a()},role:"menuitemcheckbox"},s)})))}})}},62086:function(e,t,n){"use strict";n.d(t,{u2:function(){return c},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(7299),s=n(33144),l=n(57535);const __=a.__,_x=a._x,c="wordads",u=__("Ad","jetpack"),p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),d={title:u,description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Earn income by adding high quality ads to your post","jetpack")),(0,r.createElement)(o.ExternalLink,{href:"https://wordads.co/"},__("Learn all about WordAds","jetpack"))),icon:{src:p,foreground:(0,l.m)()},attributes:{align:{type:"string",default:"center"},format:{type:"string",default:s.U},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"earn",keywords:[_x("ads","block search term","jetpack"),"WordAds",_x("advertisement","block search term","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:i.Z,save:()=>null}},81921:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(57535);const __=a.__,_x=a._x,i={name:"facebook",title:"Facebook",icon:{src:"facebook",foreground:(0,o.m)()},keywords:[_x("social","block search term","jetpack")],description:__("Embed a Facebook post.","jetpack"),patterns:[/^https?:\/\/www\.facebook.com\/.+/i],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateFacebookEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations)return e;const n=e.variations.filter((e=>e.name!==i.name));return e.variations=[...n,i],e}))},17269:function(e,t,n){"use strict";n(81921),n(82122),n(19775),n(34034)},82122:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(57535),i=n(28938);const __=a.__,_x=a._x,s={name:"instagram",title:"Instagram",icon:{src:"instagram",foreground:(0,o.m)()},keywords:[_x("image","block search term","jetpack"),_x("social","block search term","jetpack")],description:__("Embed an Instagram post.","jetpack"),patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i],attributes:{providerNameSlug:"instagram",responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateInstagramEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations||!(0,i.Z)())return e;const n=e.variations.filter((e=>e.name!==s.name));return e.variations=[...n,s],e}))},19775:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(51591);const __=a.__,i={name:"loom",title:"Loom",icon:o.zf,keywords:[__("video","jetpack")],description:__("Embed a Loom video.","jetpack"),patterns:[/^https?:\/\/(www\.)?loom\.com\/share\/.+/i],attributes:{providerNameSlug:"loom",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},34034:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(51591);const __=a.__,i={name:"smartframe",title:"SmartFrame",icon:o.Ae,keywords:[__("smartframe","jetpack")],description:__("Embed a SmartFrame Image.","jetpack"),patterns:[/^https?:\/\/(.*?).smartframe.(io|net)\/.*/i],attributes:{providerNameSlug:"smartframe",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},56771:function(e,t,n){"use strict";var r=n(92694),a=n(4981),o=n(33722);const i={from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"jetpack_widget_social_icons"===t},transform:e=>{let{instance:t}=e,n=[];return t.raw.icons.forEach((e=>{const t=new URL(e.url.includes(":")?e.url:"https://"+e.url),r=t.hostname?t.hostname:t.protocol,i=o.Z.find((e=>r.includes(e.url)||e.url.includes(r))),s=(0,a.createBlock)("core/social-link",{service:i?i.name:"chain",url:e.url});n=[...n,s]})),(0,a.createBlock)("core/social-links",{},n)}}]};(0,r.addFilter)("blocks.registerBlockType","addTransformToSocialLinksWidget",(function(e,t){return"core/social-links"!==t||(e.transforms=i),e}))},33722:function(e,t){"use strict";t.Z=[{name:"wordpress",url:["wordpress."]},{name:"fivehundredpx",url:["500px.com"]},{name:"amazon",url:["amazon."]},{name:"bandcamp",url:["bandcamp.com"]},{name:"behance",url:["behance.net"]},{name:"codepen",url:["codepen.io"]},{name:"deviantart",url:["deviantart.com"]},{name:"dribbble",url:["dribbble.com"]},{name:"dropbox",url:["dropbox.com"]},{name:"etsy",url:["etsy.com"]},{name:"facebook",url:["facebook.com"]},{name:"flickr",url:["flickr.com"]},{name:"foursquare",url:["foursquare.com"]},{name:"goodreads",url:["goodreads.com"]},{name:"google",url:["google."]},{name:"github",url:["github.com"]},{name:"instagram",url:["instagram.com"]},{name:"lastfm",url:["last.fm"]},{name:"linkedin",url:["linkedin.com"]},{name:"mail",url:["mailto:"]},{name:"linkedin",url:["linkedin.com"]},{name:"mastodon",url:["mastodon.social"]},{name:"meetup",url:["meetup.com"]},{name:"medium",url:["medium.com"]},{name:"patreon",url:["patreon.com"]},{name:"pinterest",url:["pinterest."]},{name:"pocket",url:["getpocket.com"]},{name:"reddit",url:["reddit.com"]},{name:"skype",url:["skype.com","skype:"]},{name:"snapchat",url:["snapchat.com"]},{name:"soundcloud",url:["soundcloud.com"]},{name:"spotify",url:["spotify.com"]},{name:"telegram",url:["telegram.me","t.me"]},{name:"tiktok",url:["tiktok.com"]},{name:"tumblr",url:["tumblr.com"]},{name:"twitch",url:["twitch.tv"]},{name:"twitter",url:["twitter.com"]},{name:"vimeo",url:["vimeo.com"]},{name:"vk",url:["vk.com"]},{name:"yelp",url:["yelp.com"]},{name:"youtube",url:["youtube.com"]}]},32630:function(e,t,n){"use strict";n.d(t,{x:function(){return a},L:function(){return o}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o},children:i})}},58721:function(e,t,n){"use strict";var r=n(92819),a=n(47701),o=n.n(a),i=n(92694),s=n(65736),l=n(81475),c=n(44298),u=n(32220),p=n(94239),d=n(99199);const __=s.__,m=[];(0,i.addFilter)("blocks.registerBlockType","jetpack/paid-block",((e,t)=>((0,c.X1)(t)&&(m.includes(t)||m.push(t),e.keywords=(0,r.uniq)([...e.keywords,"premium",__("premium","jetpack")]),(0,c.HD)(t)||(e.icon=(0,u.Z)(e.icon)),e.attributes.shouldDisplayFrontendBanner||(e.attributes.shouldDisplayFrontendBanner={type:"boolean",default:!0})),e))),(0,i.addFilter)("editor.BlockListBlock","jetpack/paid-block-with-warning",l.Z),(0,i.addFilter)("editor.MediaPlaceholder","jetpack/paid-block-media-placeholder",p.Z),(0,i.addFilter)("editor.MediaReplaceFlow","jetpack/paid-block-media-placeholder",d.Z),o()((function(){(0,c.FK)()&&document.body.classList.add("jetpack-enable-upgrade-nudge")}))},94239:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(36745),c=n(44298),u=n(32630);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,c.m3)(n);if(!r?.mediaPlaceholder||!(0,c.X1)(n))return(0,o.createElement)(e,t);const{fileType:s}=r,{onError:p}=t,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x),m=(0,o.useCallback)((e=>d(e?.length&&(0,l.Qu)(e[0],s))),[s,d]),h=(0,o.useCallback)((e=>{const t=e?.[0]?.props?.children;return(0,l.Qu)(t,s)?m([t]):p(e)}),[m,s,p]);return(0,o.createElement)("div",{className:"paid-block-media-placeholder"},(0,o.createElement)(e,a()({},t,{onFilesPreUpload:m,onError:h})))}),"withMediaPlaceholderUpgradable")},99199:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(36745),c=n(44298),u=n(32630);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,c.m3)(n),s=(0,o.useRef)();if(!r?.mediaReplaceFlow||!(0,c.X1)(n))return(0,o.createElement)(e,t);const{fileType:p}=r,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x);return(0,o.createElement)(e,a()({},t,{onFilesUpload:e=>{s.current=e?.length?e[0]:null,d(e?.length&&(0,l.Qu)(e[0],p))},createNotice:(e,n,r)=>{if((0,l.Qu)(s.current,p))return s.current=null,null;t.createNotice(e,n,r)}}))}),"withMediaReplaceFlowUpgradable")},25122:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{cx:t=23,cy:n=3,r:o=4,fill:i="#e34c84",stroke:s="#ffffff",strokeWidth:l="2"}=e;return(0,r.createElement)(a.Circle,{className:"jetpack-paid-block-symbol",cx:t,cy:n,r:o,fill:i,stroke:s,strokeWidth:l})}},32220:function(e,t,n){"use strict";var r=n(69307),a=n(25122);n(44298);const o=e=>(e?.src?e={...e,src:(0,r.cloneElement)(e.src,{children:[e.src.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})}:e?.props?.children&&(e=(0,r.cloneElement)(e,{children:[e.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})),e);t.Z=o},53283:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(18733),i=n(19356);const __=a.__,s=__("Premium Block","jetpack"),l=__("Upgrade your plan to use this premium block","jetpack"),c=__("Upgrade","jetpack");t.ZP=e=>{let{onRedirect:t,align:n,className:a,title:u=s,description:p=l,buttonText:d=c,visible:m=!0,requiredPlan:h,context:f}=e;const[g,b,k]=(0,o.Z)(h,t);return(0,r.createElement)(i.p,{align:n,buttonText:d,checkoutUrl:g,className:a,context:f,description:p,goToCheckoutPage:b,isRedirecting:k,title:u,visible:m})}},63627:function(e,t,n){"use strict";n.d(t,{v:function(){return a},W:function(){return o}});var r=n(11973);const a=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:t,block:n,context:a})},o=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_banner_impression",{plan:t,block:n,context:a})}},81475:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(94333),c=n(9818),u=n(44298),p=n(53283),d=n(32630),m=n(63627);t.Z=(0,l.createHigherOrderComponent)((e=>t=>{const{name:n,className:r,clientId:i,isSelected:l,attributes:h,setAttributes:f}=t||{},{onChildBannerVisibilityChange:g,hasParentBanner:b}=(0,o.useContext)(d.x)||{},k=(0,u.Rl)(n);if(!k)return(0,o.createElement)(e,t);const v=(0,u.HD)(n),y=(0,u.m3)(n),[E,w]=(0,o.useState)(!v),[_,C]=(0,o.useState)(!1),[x,j]=(0,o.useState)(!1),S="editor-canvas",A=(0,c.useSelect)((e=>e("core/block-editor").hasSelectedInnerBlock(i,!0)),[]),N=(l||A)&&E&&!x,T=(0,o.useMemo)((()=>({plan:k,blockName:n,context:S})),[k,n,S]);(0,o.useEffect)((()=>{N&&C(!0)}),[N,C]),(0,o.useEffect)((()=>{!_&&N&&(0,m.W)(T)}),[_,T,N]),(0,o.useEffect)((()=>w(!v)),[h,w,v]),(0,o.useEffect)((()=>{f({shouldDisplayFrontendBanner:!b})}),[f,b]),(0,o.useEffect)((()=>{g&&g(N||x)}),[N,x,g]);const P=s()(r,{"is-upgradable":N});return(0,o.createElement)(d.L,{onBannerVisibilityChange:w,onChildBannerVisibilityChange:j,hasParentBanner:!0},(0,o.createElement)(p.ZP,{className:`is-${t.name.replace(/\//,"-")}-paid-block`,title:null,align:t?.attributes?.align,visible:N,description:y?.description,requiredPlan:k,context:S,onRedirect:()=>(0,m.v)(T)}),(0,o.createElement)(e,a()({},t,{className:P})))}),"withUpgradeBanner")},6757:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(51591),s=n(58014);const __=o.__;(0,s.Wp)()||(0,s.Ug)()||(0,a.registerBlockCollection)("jetpack",{title:"Jetpack",icon:(0,r.createElement)(i.IM,null)}),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"earn"!==t})),{slug:"earn",title:__("Earn","jetpack"),icon:(0,r.createElement)(i.IM,null)}]),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"grow"!==t})),{slug:"grow",title:__("Grow","jetpack"),icon:(0,r.createElement)(i.IM,null)}])},87929:function(e,t,n){"use strict";function r(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function a(e,t,n){const a=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:o}=r(n),i=o.getElementsByTagName("head")[0];e.forEach((e=>{const[n,r]=e.file.split("/").pop().split(".");if("css"===r){if(o.getElementById(e.id))return;const t=o.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${a}/${n}-${e.version}.${r}`,i.appendChild(t)}if("js"===r){const s=t[e.id]?t[e.id]:null;if(o.getElementById(e.id))return s();const l=o.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${a}/${n}-${e.version}.${r}`,l.onload=s,i.appendChild(l)}}))}function o(e,t){return new Promise((n=>{const r=()=>{e[t]?n(e[t]):e.requestAnimationFrame(r)};r()}))}n.d(t,{bL:function(){return r},Pp:function(){return a},Dz:function(){return o}})},57535:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(27655),a=n(58014);const o=r.O["Jetpack Green 40"];function i(){return(0,a.Ug)()||(0,a.Wp)()?null:o}},98085:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(29512),a=n.n(r),o=n(92819);function i(e,t){const n=function(e,t){for(const n of new(a())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),r=(0,o.find)(e,{name:t});if(r)return r}return(0,o.find)(e,"isDefault")}(e,t);return n?n.name:null}},68039:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r=/^#?[A-Fa-f0-9]{6}$/;function a(e){return r.test(e)}},62475:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(52175),l=n(37930);function c(e){let{blockName:t,buttonLabel:n,href:a,icon:c,onClick:u,subtitle:p,title:d,className:m}=e;const{autosaveAndRedirect:h}=(0,l.Z)(a);return(0,r.createElement)(s.Warning,{actions:a&&[(0,r.createElement)(i.Button,{href:a,onClick:e=>{e.preventDefault(),u(t),h(e)},target:"_top",isSecondary:!0,isLarge:!0},n)],className:o()(m,"jetpack-block-nudge wp-block")},(0,r.createElement)("span",{className:"jetpack-block-nudge__info"},c,(0,r.createElement)("span",{className:"jetpack-block-nudge__text-container"},(0,r.createElement)("span",{className:"jetpack-block-nudge__title"},d),p&&(0,r.createElement)("span",{className:"jetpack-block-nudge__message"},p))))}},72566:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(4981),l=n(52175),c=n(55609),u=n(9818),p=n(39630),d=n(65736);const __=d.__,m=e=>{let{attributes:t,styleOption:n,viewportWidth:a,blockName:o}=e;const i=(0,s.getBlockType)(o);return(0,r.createElement)(l.BlockPreview,{viewportWidth:a,blocks:(c=i.example?(0,s.getBlockFromExample)(o,{attributes:{...i.example.attributes,style:n.value},innerBlocks:i.example.innerBlocks}):(0,s.createBlock)(o,t),{...c,attributes:{...c.attributes,__isBlockPreview:!0}})});var c},h=r.memo?(0,r.memo)(m,((e,t)=>(0,i.isEqual)(e,t))):m;function f(e){let t,{attributes:n,clientId:a,styleOptions:i,onSelectStyle:s,activeStyle:d,viewportWidth:m,title:f}=e;return u.useSelect&&(t=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(a)}))),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.BlockControls,null,(0,r.createElement)(c.ToolbarGroup,{isCollapsed:!0,icon:"admin-appearance",label:__("Style","jetpack"),controls:i.map((e=>({title:e.label,isActive:e.value===d,onClick:()=>s({style:e.value})}))),popoverProps:{className:"jetpack-block-styles-selector-toolbar"}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:f||__("Styles","jetpack")},(0,r.createElement)("div",{className:"block-editor-block-styles jetpack-block-styles-selector"},i.map((e=>{const a={...n,style:e.value};return(0,r.createElement)("div",{key:e.value,className:o()("block-editor-block-styles__item",{"is-active":e.value===d}),onClick:()=>{s({style:e.value})},onKeyDown:t=>{p.ENTER!==t.keyCode&&p.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},(0,r.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.preview?e.preview:u.useSelect&&t&&(0,r.createElement)(h,{blockName:t.name,styleOption:e,attributes:a,viewportWidth:m})),(0,r.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))}))))))}},38205:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(55609);const s=i.NumberControl||i.__experimentalNumberControl||function(e){return(0,o.createElement)(i.TextControl,a()({type:"number",inputMode:"numeric"},e))};t.Z=s},43393:function(e,t,n){"use strict";var r=n(69307),a=n(35381),o=n.n(a),i=n(65736),s=n(11973),l=n(62475),c=n(2368);const __=i.__,u=e=>{let{blockName:t,url:n}=e;return(0,r.createElement)(l.Z,{className:"jetpack-stripe-nudge__banner",buttonLabel:__("Connect","jetpack"),icon:(0,r.createElement)(o(),{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:n,onClick:()=>{s.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t})},title:__("Connect to Stripe to use this block on your site","jetpack"),subtitle:__("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})};t.Z=e=>{let{blockName:t,postId:n,stripeConnectUrl:a}=e;const o=(0,c.Z)(n,a);return o?(0,r.createElement)(u,{blockName:t,url:o}):null}},19356:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=e=>{let{align:t,className:n,title:a,description:s,buttonText:l,visible:c=!0,context:u,checkoutUrl:p,goToCheckoutPage:d,isRedirecting:m=!1}=e;const h=o()(n,"jetpack-upgrade-plan-banner",{"wp-block":"editor-canvas"===u,"block-editor-block-list__block":"editor-canvas"===u,"jetpack-upgrade-plan__hidden":!c}),f=__("Redirecting…","jetpack");return(0,r.createElement)("div",{className:h,"data-align":t},(0,r.createElement)("div",{className:"jetpack-upgrade-plan-banner__wrapper"},a&&(0,r.createElement)("strong",{className:o()("banner-title",{[`${n}__title`]:n})},a),s&&(0,r.createElement)("span",{className:`${n}__description banner-description`},s),(0,r.createElement)(i.Button,{href:m?null:p,onClick:d,target:"_top",className:o()("is-primary",{"jetpack-upgrade-plan__hidden":!p}),isBusy:m},m?f:l)))}},13180:function(e,t,n){"use strict";var r=n(9818);const a={setPlans:e=>({type:"SET_PLANS",plans:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",url:e})};(0,r.registerStore)("wordpress-com/plans",{reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?t.plans:e},actions:a,selectors:{getPlan:(e,t)=>e.find((e=>e.product_slug===t))},controls:{FETCH_FROM_API(e){let{url:t}=e;return fetch(t).then((e=>e.json()))}},resolvers:{*getPlan(){const e=yield a.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");return a.setPlans(e)}}})},17882:function(e,t,n){"use strict";n.d(t,{ck:function(){return o},Xy:function(){return i},hj:function(){return s},vs:function(){return l},Vm:function(){return c}});var r=n(75139),a=n(92819);const o={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},i=Object.keys(o).map((e=>{const{symbol:t}=(0,r.X)(e);return{value:e,label:t===e?e:`${e} ${(0,a.trimEnd)(t,".")}`}}));function s(e){return o[e]}function l(e,t){return!isNaN(t)&&t>=s(e)}function c(e,t){return e?"number"==typeof e?e:(e=parseFloat(e.replace(new RegExp("\\"+r.M[t].grouping,"g"),"").replace(new RegExp("\\"+r.M[t].decimal,"g"),".")),isNaN(e)?null:e):null}},58703:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{label:t,onClick:n}=e;return(0,r.createElement)(a.Button,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},99418:function(e,t,n){"use strict";n.d(t,{iT:function(){return i},wk:function(){return s},oI:function(){return l},Tu:function(){return c},OG:function(){return u},tY:function(){return p},h9:function(){return d},CY:function(){return m},Wm:function(){return h},Qh:function(){return f},Bb:function(){return g},En:function(){return b},yD:function(){return k},QU:function(){return v},zs:function(){return y},l5:function(){return E}});var r=n(65736),a=n(69771),o=n(92819);const __=r.__,i="google_photos",s="pexels",l="recent",c="/",u=[{value:l,label:__("Photos","jetpack")},{value:c,label:__("Albums","jetpack")}],p=[{value:"",
+(0,i.sprintf)(__("Error: %s","jetpack"),b))))}function v(e){let{tracks:t=[],onChange:n,guid:a}=e;const[o,i]=(0,r.useState)(null);return(0,r.createElement)(s.Dropdown,{contentClassName:"videopress-block-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,r.createElement)(s.ToolbarButton,{label:__("Text tracks","jetpack"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:h})},renderContent:()=>null!==o?(0,r.createElement)(b,{track:t[o],guid:a,onChange:e=>{const r=[...t];r[o]=e,n(r)},onClose:()=>i(null),onCancel:()=>{n(t.filter(((e,t)=>t!==o))),i(null)},trackExists:e=>-1!==t.filter(((e,t)=>t!==o)).findIndex((t=>t.kind===e.kind&&t.srcLang===e.srcLang))}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)(g,{tracks:t,onChange:n,guid:a}),(0,r.createElement)(s.MenuGroup,{className:"videopress-block-tracks-editor__add-tracks-container",label:__("Add tracks","jetpack")},(0,r.createElement)(s.MenuItem,{icon:c.Z,onClick:()=>{(()=>{const e=t.length,r=[...t];r[e]||(r[e]={}),r[e]={...t[e]},n(r),i(e)})()}},__("Upload track","jetpack")))))})}},90953:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d,useAverageColor:m}=t;if(!e)return null;const h={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d},...m&&{useAverageColor:!0}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,h)}},77290:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(90879),a=n(65235),o=n.n(a);const i=e=>{const t=r.s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1});return o()(e,t)};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return i(t);const a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;const s=a.body.querySelector("iframe");if(s&&s.height&&s.width){const e=(s.width/s.height).toFixed(2);for(let n=0;n<r.s.length;n++){const a=r.s[n];if(e>=a.ratio)return o()(i(t),a.className,"wp-has-aspect-ratio")}}return t}},50354:function(e,t,n){"use strict";n.d(t,{U:function(){return i},m:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i="mrec",s=[{height:250,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:__("Rectangle 300x250","jetpack"),tag:i,width:300,editorPadding:30},{height:90,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:__("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:__("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),(0,r.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:__("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}]},56565:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(1020);const __=i.__,l=e=>{let{value:t,onChange:n}=e;return(0,r.createElement)(o.PanelBody,{title:__("Visibility","jetpack")},(0,r.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:!!t,label:__("Hide on mobile","jetpack"),help:__("Hides this block for site visitors on mobile devices.","jetpack"),onChange:n}))};t.Z=e=>{let{attributes:{format:t,hideMobile:n},setAttributes:o}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(s.Z,{value:t,onChange:e=>o({format:e})})),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(l,{value:n,onChange:e=>o({hideMobile:!!e})})))}},53193:function(e,t,n){"use strict";var r=n(69307),a=n(56565),o=n(50354),i=n(72473),s=n(52203),l=n(38511),c=n(80405);t.Z=e=>{let{attributes:t,setAttributes:n}=e;const{format:u}=t,p=o.m.find((e=>{let{tag:t}=e;return t===u}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Z,{attributes:t,setAttributes:n}),(0,r.createElement)("div",{className:`wp-block-jetpack-wordads jetpack-wordads-${u}`},(0,r.createElement)("div",{className:"jetpack-wordads__ad",style:{width:p.width,height:p.height,backgroundImage:`url( ${(e=>{switch(e){case"leaderboard":return s;case"mobile_leaderboard":return l;case"wideskyscraper":return c;default:return i}})(u)} )`,backgroundSize:"cover"}})))}},1020:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(50354);const s=(0,a.__)("Pick an ad format","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.ToolbarGroup,{controls:[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:s,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},i.m.map((e=>{let{tag:i,name:s,icon:l}=e;return(0,r.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:l,isSelected:i===t,key:i,onClick:()=>{n(i),a()},role:"menuitemcheckbox"},s)})))}})}},57795:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},u2:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(53193),s=n(50354),l=n(70355);const __=a.__,_x=a._x,c="wordads",u=__("Ad","jetpack"),p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),d={title:u,description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Earn income by adding high quality ads to your post","jetpack")),(0,r.createElement)(o.ExternalLink,{href:"https://wordads.co/"},__("Learn all about WordAds","jetpack"))),icon:{src:p,foreground:(0,l.m)()},attributes:{align:{type:"string",default:"center"},format:{type:"string",default:s.U},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"earn",keywords:[_x("ads","block search term","jetpack"),"WordAds",_x("advertisement","block search term","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:i.Z,save:()=>null}},6460:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"descript",title:"Descript",icon:o.h,keywords:[__("descript","jetpack")],description:__("Embed a Descript Item.","jetpack"),patterns:[/^https:\/\/share.descript.com\/(view|embed)\/\w+/i],attributes:{providerNameSlug:"descript",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},5166:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(70355);const __=a.__,_x=a._x,i={name:"facebook",title:"Facebook",icon:{src:"facebook",foreground:(0,o.m)()},keywords:[_x("social","block search term","jetpack")],description:__("Embed a Facebook post.","jetpack"),patterns:[/^https?:\/\/www\.facebook.com\/.+/i],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateFacebookEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations)return e;const n=e.variations.filter((e=>e.name!==i.name));return e.variations=[...n,i],e}))},36215:function(e,t,n){"use strict";n(5166),n(20970),n(25467),n(91128),n(6460)},20970:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(70355),i=n(12923);const __=a.__,_x=a._x,s={name:"instagram",title:"Instagram",icon:{src:"instagram",foreground:(0,o.m)()},keywords:[_x("image","block search term","jetpack"),_x("social","block search term","jetpack")],description:__("Embed an Instagram post.","jetpack"),patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i],attributes:{providerNameSlug:"instagram",responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateInstagramEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations||!(0,i.Z)())return e;const n=e.variations.filter((e=>e.name!==s.name));return e.variations=[...n,s],e}))},25467:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"loom",title:"Loom",icon:o.zf,keywords:[__("video","jetpack")],description:__("Embed a Loom video.","jetpack"),patterns:[/^https?:\/\/(www\.)?loom\.com\/share\/.+/i],attributes:{providerNameSlug:"loom",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},91128:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"smartframe",title:"SmartFrame",icon:o.Ae,keywords:[__("smartframe","jetpack")],description:__("Embed a SmartFrame Image.","jetpack"),patterns:[/^https?:\/\/(.*?).smartframe.(io|net)\/.*/i],attributes:{providerNameSlug:"smartframe",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},31657:function(e,t,n){"use strict";var r=n(92694),a=n(4981),o=n(6512);const i={from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"jetpack_widget_social_icons"===t},transform:e=>{let{instance:t}=e,n=[];return t.raw.icons.forEach((e=>{const t=new URL(e.url.includes(":")?e.url:"https://"+e.url),r=t.hostname?t.hostname:t.protocol,i=o.Z.find((e=>r.includes(e.url)||e.url.includes(r))),s=(0,a.createBlock)("core/social-link",{service:i?i.name:"chain",url:e.url});n=[...n,s]})),(0,a.createBlock)("core/social-links",{},n)}}]};(0,r.addFilter)("blocks.registerBlockType","addTransformToSocialLinksWidget",(function(e,t){return"core/social-links"!==t||(e.transforms=i),e}))},6512:function(e,t){"use strict";t.Z=[{name:"wordpress",url:["wordpress."]},{name:"fivehundredpx",url:["500px.com"]},{name:"amazon",url:["amazon."]},{name:"bandcamp",url:["bandcamp.com"]},{name:"behance",url:["behance.net"]},{name:"codepen",url:["codepen.io"]},{name:"deviantart",url:["deviantart.com"]},{name:"dribbble",url:["dribbble.com"]},{name:"dropbox",url:["dropbox.com"]},{name:"etsy",url:["etsy.com"]},{name:"facebook",url:["facebook.com"]},{name:"flickr",url:["flickr.com"]},{name:"foursquare",url:["foursquare.com"]},{name:"goodreads",url:["goodreads.com"]},{name:"google",url:["google."]},{name:"github",url:["github.com"]},{name:"instagram",url:["instagram.com"]},{name:"lastfm",url:["last.fm"]},{name:"linkedin",url:["linkedin.com"]},{name:"mail",url:["mailto:"]},{name:"linkedin",url:["linkedin.com"]},{name:"mastodon",url:["mastodon.social"]},{name:"meetup",url:["meetup.com"]},{name:"medium",url:["medium.com"]},{name:"patreon",url:["patreon.com"]},{name:"pinterest",url:["pinterest."]},{name:"pocket",url:["getpocket.com"]},{name:"reddit",url:["reddit.com"]},{name:"skype",url:["skype.com","skype:"]},{name:"snapchat",url:["snapchat.com"]},{name:"soundcloud",url:["soundcloud.com"]},{name:"spotify",url:["spotify.com"]},{name:"telegram",url:["telegram.me","t.me"]},{name:"tiktok",url:["tiktok.com"]},{name:"tumblr",url:["tumblr.com"]},{name:"twitch",url:["twitch.tv"]},{name:"twitter",url:["twitter.com"]},{name:"vimeo",url:["vimeo.com"]},{name:"vk",url:["vk.com"]},{name:"yelp",url:["yelp.com"]},{name:"youtube",url:["youtube.com"]}]},87950:function(e,t,n){"use strict";n.d(t,{L:function(){return o},x:function(){return a}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o},children:i})}},23984:function(e,t,n){"use strict";var r=n(92819),a=n(13419),o=n(47701),i=n.n(o),s=n(92694),l=n(65736),c=n(27003),u=n(42770),p=n(30371),d=n(7832);const __=l.__,m=[];(0,s.addFilter)("blocks.registerBlockType","jetpack/paid-block",((e,t)=>((0,a.X1)(t)&&(m.includes(t)||m.push(t),e.keywords=(0,r.uniq)([...e.keywords,"premium",__("premium","jetpack")]),(0,a.HD)(t)||(e.icon=(0,u.Z)(e.icon)),e.attributes.shouldDisplayFrontendBanner||(e.attributes.shouldDisplayFrontendBanner={type:"boolean",default:!0})),e))),(0,s.addFilter)("editor.BlockListBlock","jetpack/paid-block-with-warning",c.Z),(0,s.addFilter)("editor.MediaPlaceholder","jetpack/paid-block-media-placeholder",p.Z),(0,s.addFilter)("editor.MediaReplaceFlow","jetpack/paid-block-media-placeholder",d.Z),i()((function(){(0,a.FK)()&&document.body.classList.add("jetpack-enable-upgrade-nudge")}))},30371:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(13419),c=n(11317),u=n(87950);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,l.m3)(n);if(null==r||!r.mediaPlaceholder||!(0,l.X1)(n))return(0,o.createElement)(e,t);const{fileType:s}=r,{onError:p}=t,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x),m=(0,o.useCallback)((e=>d((null==e?void 0:e.length)&&(0,c.Qu)(e[0],s))),[s,d]),h=(0,o.useCallback)((e=>{var t,n;const r=null==e||null===(t=e[0])||void 0===t||null===(n=t.props)||void 0===n?void 0:n.children;return(0,c.Qu)(r,s)?m([r]):p(e)}),[m,s,p]);return(0,o.createElement)("div",{className:"paid-block-media-placeholder"},(0,o.createElement)(e,a()({},t,{onFilesPreUpload:m,onError:h})))}),"withMediaPlaceholderUpgradable")},7832:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(13419),s=n(52175),l=n(94333),c=n(11317),u=n(87950);t.Z=(0,l.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,s.useBlockEditContext)(),r=(0,i.m3)(n),l=(0,o.useRef)();if(null==r||!r.mediaReplaceFlow||!(0,i.X1)(n))return(0,o.createElement)(e,t);const{fileType:p}=r,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x);return(0,o.createElement)(e,a()({},t,{onFilesUpload:e=>{l.current=null!=e&&e.length?e[0]:null,d((null==e?void 0:e.length)&&(0,c.Qu)(e[0],p))},createNotice:(e,n,r)=>{if((0,c.Qu)(l.current,p))return l.current=null,null;t.createNotice(e,n,r)}}))}),"withMediaReplaceFlowUpgradable")},95796:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{cx:t=23,cy:n=3,r:o=4,fill:i="#e34c84",stroke:s="#ffffff",strokeWidth:l="2"}=e;return(0,r.createElement)(a.Circle,{className:"jetpack-paid-block-symbol",cx:t,cy:n,r:o,fill:i,stroke:s,strokeWidth:l})}},42770:function(e,t,n){"use strict";var r=n(69307),a=(n(13419),n(95796));const o=e=>{var t,n,o;return null!==(t=e)&&void 0!==t&&t.src?e={...e,src:(0,r.cloneElement)(e.src,{children:[e.src.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})}:null!==(n=e)&&void 0!==n&&null!==(o=n.props)&&void 0!==o&&o.children&&(e=(0,r.cloneElement)(e,{children:[e.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})),e};t.Z=o},66316:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(9818),i=n(78798),s=n(26546);const __=a.__,l=__("Premium Block","jetpack"),
+/** translators: %s: name of the plan. */
+c=__("Upgrade to %s to use this premium block","jetpack"),u=(__("Upgrade your plan to use this premium block","jetpack"),__("Upgrade","jetpack"));t.ZP=e=>{let{onRedirect:t,align:n,className:p,title:d=l,description:m=null,buttonText:h=u,visible:f=!0,requiredPlan:g,context:b}=e;const[v,k,y]=(0,i.Z)(g,t),E=(0,o.useSelect)((e=>{if(m)return m;const t=e("wordpress-com/plans"),n=t&&t.getPlan(g);return n?(0,a.sprintf)(c,n.product_name_short):null}),[m]);return E&&(0,r.createElement)(s.p,{align:n,buttonText:h,checkoutUrl:v,className:p,context:b,description:E,goToCheckoutPage:k,isRedirecting:y,title:d,visible:f})}},38140:function(e,t,n){"use strict";n.d(t,{W:function(){return o},v:function(){return a}});var r=n(84069);const a=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:t,block:n,context:a})},o=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_banner_impression",{plan:t,block:n,context:a})}},27003:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(13419),c=n(94333),u=n(9818),p=n(66316),d=n(87950),m=n(38140);t.Z=(0,c.createHigherOrderComponent)((e=>t=>{var n;const{name:r,className:i,clientId:c,isSelected:h,attributes:f,setAttributes:g}=t||{},{onChildBannerVisibilityChange:b,hasParentBanner:v}=(0,o.useContext)(d.x)||{},k=(0,l.Rl)(r);if(!k)return(0,o.createElement)(e,t);const y=(0,l.HD)(r),E=(0,l.m3)(r),[w,_]=(0,o.useState)(!y),[C,x]=(0,o.useState)(!1),[j,S]=(0,o.useState)(!1),A="editor-canvas",P=(0,u.useSelect)((e=>e("core/block-editor").hasSelectedInnerBlock(c,!0)),[]),N=(h||P)&&w&&!j,T=(0,o.useMemo)((()=>({plan:k,blockName:r,context:A})),[k,r,A]);(0,o.useEffect)((()=>{N&&x(!0)}),[N,x]),(0,o.useEffect)((()=>{!C&&N&&(0,m.W)(T)}),[C,T,N]),(0,o.useEffect)((()=>_(!y)),[f,_,y]),(0,o.useEffect)((()=>{g({shouldDisplayFrontendBanner:!v})}),[g,v]),(0,o.useEffect)((()=>{b&&b(N||j)}),[N,j,b]);const R=s()(i,{"is-upgradable":N});return(0,o.createElement)(d.L,{onBannerVisibilityChange:_,onChildBannerVisibilityChange:S,hasParentBanner:!0},(0,o.createElement)(p.ZP,{className:`is-${t.name.replace(/\//,"-")}-paid-block`,title:null,align:null==t||null===(n=t.attributes)||void 0===n?void 0:n.align,visible:N,description:null==E?void 0:E.description,requiredPlan:k,context:A,onRedirect:()=>(0,m.v)(T)}),(0,o.createElement)(e,a()({},t,{className:R})))}),"withUpgradeBanner")},85921:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(13419),s=n(81427);const __=o.__;(0,i.Wp)()||(0,i.Ug)()||(0,a.registerBlockCollection)("jetpack",{title:"Jetpack",icon:(0,r.createElement)(s.IM,null)}),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"earn"!==t})),{slug:"earn",title:__("Earn","jetpack"),icon:(0,r.createElement)(s.IM,null)}]),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"grow"!==t})),{slug:"grow",title:__("Grow","jetpack"),icon:(0,r.createElement)(s.IM,null)}])},85007:function(e,t,n){"use strict";function r(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function a(e,t,n){const a=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:o}=r(n),i=o.getElementsByTagName("head")[0];e.forEach((e=>{const[n,r]=e.file.split("/").pop().split(".");if("css"===r){if(o.getElementById(e.id))return;const t=o.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${a}/${n}-${e.version}.${r}`,i.appendChild(t)}if("js"===r){const s=t[e.id]?t[e.id]:null;if(o.getElementById(e.id))return s();const l=o.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${a}/${n}-${e.version}.${r}`,l.onload=s,i.appendChild(l)}}))}function o(e,t){return new Promise((n=>{const r=()=>{e[t]?n(e[t]):e.requestAnimationFrame(r)};r()}))}n.d(t,{Dz:function(){return o},Pp:function(){return a},bL:function(){return r}})},70355:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(13419);const a=n(80550).O["Jetpack Green 40"];function o(){return(0,r.Ug)()||(0,r.Wp)()?null:a}},81518:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(29512),a=n.n(r),o=n(92819);function i(e,t){const n=function(e,t){for(const n of new(a())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),r=(0,o.find)(e,{name:t});if(r)return r}return(0,o.find)(e,"isDefault")}(e,t);return n?n.name:null}},24381:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r=/^#?[A-Fa-f0-9]{6}$/;function a(e){return r.test(e)}},44738:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(52175),l=n(46867);function c(e){let{blockName:t,buttonLabel:n,href:a,icon:c,onClick:u,subtitle:p,title:d,className:m}=e;const{autosaveAndRedirect:h}=(0,l.Z)(a);return(0,r.createElement)(s.Warning,{actions:a&&[(0,r.createElement)(i.Button,{href:a,onClick:e=>{e.preventDefault(),u(t),h(e)},target:"_top",variant:"secondary"},n)],className:o()(m,"jetpack-block-nudge wp-block")},(0,r.createElement)("span",{className:"jetpack-block-nudge__info"},c,(0,r.createElement)("span",{className:"jetpack-block-nudge__text-container"},(0,r.createElement)("span",{className:"jetpack-block-nudge__title"},d),p&&(0,r.createElement)("span",{className:"jetpack-block-nudge__message"},p))))}},57538:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(4981),l=n(52175),c=n(55609),u=n(9818),p=n(39630),d=n(65736);const __=d.__,m=e=>{let{attributes:t,styleOption:n,viewportWidth:a,blockName:o}=e;const i=(0,s.getBlockType)(o);return(0,r.createElement)(l.BlockPreview,{viewportWidth:a,blocks:(c=i.example?(0,s.getBlockFromExample)(o,{attributes:{...i.example.attributes,style:n.value},innerBlocks:i.example.innerBlocks}):(0,s.createBlock)(o,t),{...c,attributes:{...c.attributes,__isBlockPreview:!0}})});var c},h=r.memo?(0,r.memo)(m,((e,t)=>(0,i.isEqual)(e,t))):m;function f(e){let t,{attributes:n,clientId:a,styleOptions:i,onSelectStyle:s,activeStyle:d,viewportWidth:m,title:f}=e;return u.useSelect&&(t=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(a)}))),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.BlockControls,null,(0,r.createElement)(c.ToolbarGroup,{isCollapsed:!0,icon:"admin-appearance",label:__("Style","jetpack"),controls:i.map((e=>({title:e.label,isActive:e.value===d,onClick:()=>s({style:e.value})}))),popoverProps:{className:"jetpack-block-styles-selector-toolbar"}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:f||__("Styles","jetpack")},(0,r.createElement)("div",{className:"block-editor-block-styles jetpack-block-styles-selector"},i.map((e=>{const a={...n,style:e.value};return(0,r.createElement)("div",{key:e.value,className:o()("block-editor-block-styles__item",{"is-active":e.value===d}),onClick:()=>{s({style:e.value})},onKeyDown:t=>{p.ENTER!==t.keyCode&&p.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},(0,r.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.preview?e.preview:u.useSelect&&t&&(0,r.createElement)(h,{blockName:t.name,styleOption:e,attributes:a,viewportWidth:m})),(0,r.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))}))))))}},20769:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(55609);const s=i.NumberControl||i.__experimentalNumberControl||function(e){return(0,o.createElement)(i.TextControl,a()({type:"number",inputMode:"numeric"},e))};t.Z=s},14436:function(e,t,n){"use strict";n.d(t,{Bn:function(){return r},DM:function(){return a}});const r="payment-plan",a="subscription"},51585:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(65736),a=n(14436);const __=r.__,o={"add a new product":{[a.Bn]:__("Add a new payment plan","jetpack"),[a.DM]:__("Add a new subscription","jetpack")},"product not found":{[a.Bn]:__("Payment plan not found","jetpack"),[a.DM]:__("Subscription not found","jetpack")},"select a product":{[a.Bn]:__("Select a payment plan","jetpack"),[a.DM]:__("Select a subscription","jetpack")},"default new product title":{[a.Bn]:__("Monthly Subscription","jetpack"),[a.DM]:__("Monthly Subscription","jetpack")},"manage your products":{[a.Bn]:__("Manage your payment plans.","jetpack"),[a.DM]:__("Manage your subscriptions.","jetpack")},"saving product":{[a.Bn]:__("Saving payment plan…","jetpack"),[a.DM]:__("Saving subscription…","jetpack")},"add product":{[a.Bn]:__("Add payment plan","jetpack"),[a.DM]:__("Add subscription","jetpack")},"product requires a name":{[a.Bn]:__("Payment plan requires a name","jetpack"),[a.DM]:__("Subscription requires a name","jetpack")},"product requires a valid price":{[a.Bn]:__("Payment plan requires a valid price","jetpack"),[a.DM]:__("Subscription requires a valid price","jetpack")},"successfully created product":{[a.Bn]:__("Successfully created payment plan","jetpack"),[a.DM]:__("Successfully created subscription","jetpack")},"there was an error when adding the product":{[a.Bn]:__("There was an error when adding the payment plan.","jetpack"),[a.DM]:__("There was an error when adding the subscription.","jetpack")},"invalid product configured for this block":{[a.Bn]:__("Invalid payment plan configured for this block.","jetpack"),[a.DM]:__("Invalid subscription configured for this block.","jetpack")},"the button will be hidden from your visitors until you select a valid product":{[a.Bn]:__("The button will be hidden from your visitors until you select a valid payment plan.","jetpack"),[a.DM]:__("The subscribe button will be hidden from your visitors until you select a valid subscription.","jetpack")},"mark this product as a donation":{[a.Bn]:__("Mark this payment plan as a donation","jetpack"),[a.DM]:__("Mark this subscription as a donation","jetpack")}};function i(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.Bn;return(null==o||null===(t=o[e])||void 0===t?void 0:t[n])||null}},16367:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(69307),a=n(89933),o=n(65736),i=n(9818),s=n(84069),l=n(44738),c=n(7652);const __=o.__,u=e=>{let{blockName:t}=e;const n=(0,i.select)(c.h),o=n.getConnectUrl();return n.getShouldUpgrade()||!o?null:(0,r.createElement)(l.Z,{className:"jetpack-stripe-nudge__banner",buttonLabel:__("Connect","jetpack"),icon:(0,r.createElement)(a.Z,{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:o,onClick:()=>s.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t}),title:__("Connect to Stripe to use this block on your site","jetpack"),subtitle:__("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})}},26546:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=e=>{let{align:t,className:n,title:a,description:s,buttonText:l,visible:c=!0,context:u,checkoutUrl:p,goToCheckoutPage:d,isRedirecting:m=!1}=e;const h=o()(n,"jetpack-upgrade-plan-banner",{"wp-block":"editor-canvas"===u,"block-editor-block-list__block":"editor-canvas"===u,"jetpack-upgrade-plan__hidden":!c}),f=__("Redirecting…","jetpack");return(0,r.createElement)("div",{className:h,"data-align":t},(0,r.createElement)("div",{className:"jetpack-upgrade-plan-banner__wrapper"},a&&(0,r.createElement)("strong",{className:o()("banner-title",{[`${n}__title`]:n})},a),s&&(0,r.createElement)("span",{className:`${n}__description banner-description`},s),(0,r.createElement)(i.Button,{href:m?null:p,onClick:d,target:"_top",className:o()("is-primary",{"jetpack-upgrade-plan__hidden":!p}),isBusy:m},m?f:l)))}},87553:function(e,t,n){"use strict";var r=n(9818);const a={setPlans:e=>({type:"SET_PLANS",plans:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",url:e})};(0,r.registerStore)("wordpress-com/plans",{reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?t.plans:e},actions:a,selectors:{getPlan:(e,t)=>e.find((e=>e.product_slug===t))},controls:{FETCH_FROM_API(e){let{url:t}=e;return fetch(t).then((e=>e.json()))}},resolvers:{*getPlan(){const e=yield a.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");return a.setPlans(e)}}})},79162:function(e,t,n){"use strict";n.d(t,{Vm:function(){return l},ck:function(){return o},hj:function(){return i},vs:function(){return s}});var r=n(43317),a=n(92819);const o={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(o).map((e=>{const{symbol:t}=(0,r.X)(e);return{value:e,label:t===e?e:`${e} ${(0,a.trimEnd)(t,".")}`}}));function i(e){return o[e]}function s(e,t){return!isNaN(t)&&t>=i(e)}function l(e,t){return e?"number"==typeof e?e:(e=parseFloat(e.replace(new RegExp("\\"+r.M[t].grouping,"g"),"").replace(new RegExp("\\"+r.M[t].decimal,"g"),".")),isNaN(e)?null:e):null}},94545:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{label:t,onClick:n}=e;return(0,r.createElement)(a.Button,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},73905:function(e,t){"use strict";const n=new Map,r=e=>n.has(e);t.Z={acquire:e=>{if(r(e))return null;const t=Math.random();return n.set(e,t),[e,t]},blockExecution:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;for(;r(e);)await new Promise((e=>setTimeout(e,t)))},clearAll:()=>n.clear(),isLocked:r,release:e=>{const[t,a]=e;return!(!r(t)||n.get(t)!==a)&&(n.delete(t),!0)}}},20982:function(e,t,n){"use strict";n.d(t,{Bb:function(){return b},CY:function(){return h},Eh:function(){return s},En:function(){return v},OG:function(){return p},QU:function(){return y},Qh:function(){return g},Tu:function(){return u},Wm:function(){return f},h9:function(){return m},iT:function(){return i},l5:function(){return w},oI:function(){return c},tY:function(){return d},wk:function(){return l},yD:function(){return k},zs:function(){return E}});var r=n(65736),a=n(69771),o=n(92819);const __=r.__,i="google_photos",s="openverse",l="pexels",c="recent",u="/",p=[{value:c,label:__("Photos","jetpack")},{value:u,label:__("Albums","jetpack")}],d=[{value:"",
/* translators: category of images */
label:__("All categories","jetpack")},{value:"animals",
/* translators: category of images */
@@ -116,6 +106,7 @@ label:__("Sport","jetpack")},{value:"travel",
/* translators: category of images */
label:__("Travel","jetpack")},{value:"weddings",
/* translators: category of images */
-label:__("Weddings","jetpack")}],d=["mountain","ocean","river","clouds","pattern","abstract","sky"],m="ANY",h="LAST_7_DAYS",f="LAST_30_DAYS",g="LAST_6_MONTHS",b="LAST_12_MONTHS",k="CUSTOM",v=[{value:m,label:__("Any time","jetpack")},{value:h,label:__("Last 7 days","jetpack")},{value:f,label:__("Last 30 days","jetpack")},{value:g,label:__("Last 6 months","jetpack")},{value:b,label:__("Last 12 months","jetpack")},{value:k,label:__("Specific Month/Year","jetpack")}],y=(new Date).getFullYear(),E=[{label:__("Any Month","jetpack"),value:-1},...(0,o.map)((0,o.range)(0,12),(e=>({label:(0,a.dateI18n)("F",new Date(0,e)),value:e})))]},26634:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(92694),s=n(52175),l=n(63729),c=n(97294),u=n(34724);if((0,l.Z)()&&"function"==typeof s.useBlockEditContext){const e=e=>e.unstableFeaturedImageFlow||e.modalClass&&e.modalClass.indexOf("featured-image")>-1,t=(e,t)=>["core/cover","core/image","core/gallery","core/media-text","jetpack/image-compare","jetpack/slideshow","jetpack/story","jetpack/tiled-gallery"].indexOf(e)>-1&&-1===t.toString().indexOf("coblocks");(0,i.addFilter)("editor.MediaUpload","external-media/replace-media-upload",(n=>r=>{const{name:i}=(0,s.useBlockEditContext)();let{render:l}=r;if(t(i,l)||e(r)){const{allowedTypes:e,gallery:t=!1,value:n=[]}=r;e.indexOf("image")>-1&&!(t&&n.length>0)&&(l=e=>(0,o.createElement)(c.Z,a()({},e,{mediaProps:r})))}return(0,o.createElement)(n,a()({},r,{render:l}))}),100),(0,i.addFilter)("blocks.registerBlockType","external-media/individual-blocks",(function(e,t){return"core/image"!==t?e:{...e,keywords:[...e.keywords,...u.Dv.map((e=>e.keyword))]}}))}},6966:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(55609),l=n(65736),c=n(39630),u=n(25432),p=n(9236);const __=l.__,d=(0,r.memo)((()=>(0,r.createElement)("div",{className:"jetpack-external-media-browser__empty"},(0,r.createElement)("p",null,__("Sorry, but nothing matched your search criteria.","jetpack")))));t.Z=function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,className:m,multiple:h,setPath:f,nextPage:g,onCopy:b}=e,[k,v]=(0,r.useState)([]),[y,E]=(0,r.useState)(-1),w=(0,r.useRef)(-1),_=(0,r.useRef)(null),C=(0,r.useCallback)((e=>{let t=[e];"folder"===e.type?f(e.ID):h?(t=k.slice(0,9).concat(e),k.find((t=>e.ID===t.ID))&&(t=k.filter((t=>t.ID!==e.ID)))):1===k.length&&e.ID===k[0].ID&&(t=[]),v(t)}),[k,h,f]),x=(0,r.useCallback)((()=>{b(k)}),[k,b]),j=t.filter((e=>"folder"!==e.type)).length>0,S=o()({"jetpack-external-media-browser__media":!0,"jetpack-external-media-browser__media__loading":a}),A=o()({"jetpack-external-media-browser":!0,[m]:!0}),N=()=>{let e=1;const t=_.current.children;if(t.length>0){const n=t[0].offsetTop;for(;e<t.length&&t[e].offsetTop===n;)++e}w.current=e},T=(0,i.debounce)(N,400);(0,r.useEffect)((()=>(window.addEventListener("resize",T),()=>{window.removeEventListener("resize",T)})),[]),(0,r.useEffect)((()=>{t.length&&-1===w.current&&N()}),[t]);const P=(e,t)=>{let{item:n}=t;C(n)},M=(e,n)=>{let{item:r,index:a}=n;[c.LEFT,c.RIGHT,c.UP,c.DOWN].includes(e.keyCode)?((e,n)=>{switch(e){case c.LEFT:n>=1&&E(n-1);break;case c.RIGHT:n<t.length&&E(n+1);break;case c.UP:n>=w.current&&E(n-w.current);break;case c.DOWN:n<t.length-w.current&&E(n+w.current)}})(e.keyCode,a):c.SPACE===e.keyCode?(C(r),e.preventDefault()):c.ENTER===e.keyCode&&C(r),[c.LEFT,c.RIGHT,c.UP,c.DOWN,c.SPACE,c.ENTER].includes(e.keyCode)&&e.stopPropagation()};return(0,r.createElement)("div",{className:A},(0,r.createElement)("ul",{ref:_,className:S},t.map(((e,t)=>(0,r.createElement)(p.Z,{item:e,index:t,key:e.ID,onClick:P,onKeyDown:M,focus:t===y,isSelected:k.find((t=>t.ID===e.ID)),isCopying:n}))),0===t.length&&!a&&(0,r.createElement)(d,null),a&&(0,r.createElement)(u.Z,null),l&&!a&&(0,r.createElement)(s.Button,{isSecondary:!0,className:"jetpack-external-media-browser__loadmore",disabled:a||n,onClick:()=>{t.length&&E(t.length),g()}},__("Load More","jetpack"))),j&&(0,r.createElement)((()=>{const e=0===k.length||n,t=n?__("Inserting…","jetpack"):__("Select","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__toolbar"},(0,r.createElement)(s.Button,{isPrimary:!0,isBusy:n,disabled:e,onClick:x},t))}),null))}},9236:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__;t.Z=function(e){const{item:t,focus:n,isSelected:a,isCopying:s=!1}=e,{thumbnails:l,caption:c,name:u,title:p,type:d,children:m=0}=t,{medium:h=null,fmt_hd:f=null}=l,g=p||c||u,b=o()({"jetpack-external-media-browser__media__item":!0,"jetpack-external-media-browser__media__item__selected":a,"jetpack-external-media-browser__media__folder":"folder"===d,"is-transient":s}),k=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n&&k.current.focus()}),[n]),(0,r.createElement)("li",{ref:k,className:b,onClick:s?void 0:t=>{const{item:n,index:r}=e;e.onClick&&e.onClick(t,{item:n,index:r})},onKeyDown:s?void 0:t=>{const{item:n,index:r}=e;e.onKeyDown&&e.onKeyDown(t,{item:n,index:r})},role:"checkbox",tabIndex:"0","aria-checked":!!a,"aria-disabled":!!s},a&&s&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator"},(0,r.createElement)(i.Spinner,null),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator__label"},__("Inserting Image…","jetpack"))),(0,r.createElement)("img",{src:h||f,alt:g}),"folder"===d&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__info"},(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__name"},u),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__count"},m)))}},25432:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.memo)((function(){const e="jetpack-external-media-browser__media__item jetpack-external-media-browser__media__placeholder";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}))}))},97294:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(34724),s=n(60133);const l=e=>e.unstableFeaturedImageFlow||e.modalClass&&-1!==e.modalClass.indexOf("featured-image"),c=e=>void 0===e.multiple&&!l(e);t.Z=function(e){const{mediaProps:t}=e,[n,r]=(0,o.useState)(null),u=(0,i.ZR)(n);return(0,o.createElement)("div",{onClick:e=>e.stopPropagation()},(0,o.createElement)(s.Z,a()({},e,{setSelectedSource:r,isReplace:c(t),isFeatured:l(t),hasImage:t.value>0})),u&&(0,o.createElement)(u,a()({onClose:e=>{e&&(e.stopPropagation(),e.target.closest(".jetpack-external-media-header__dropdown"))||r(null)}},t)))}},60133:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(35127),s=n(2562);const __=o.__;t.Z=function(e){const{mediaProps:t,open:n,setSelectedSource:o,isFeatured:l,isReplace:c,hasImage:u}=e,p=t.render;let d=l,m=!1,h=!l;if(c)return(0,r.createElement)(s.Z,{originalButton:p,open:n,setSource:o});let f=__("Select Image","jetpack");return t.multiple&&(f=__("Select Images","jetpack")),t.allowedTypes.length>1&&(f=__("Select Media","jetpack")),l&&(f=__("Replace Image","jetpack"),d=!1,h=!1,m=!0),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Dropdown,{position:"bottom right",contentClassName:"jetpack-external-media-button-menu__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;const o=p&&p({open:n});return l&&u||o&&"string"!=typeof o.props.children?o:(0,r.createElement)(a.Button,{isPrimary:d,isSecondary:m,isTertiary:h,className:"jetpack-external-media-button-menu","aria-haspopup":"true","aria-expanded":t,onClick:n},f)},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(a.NavigableMenu,{"aria-label":f},(0,r.createElement)(a.MenuGroup,null,(0,r.createElement)(a.MenuItem,{icon:i.Z,onClick:()=>{t(),n()}},__("Media Library","jetpack")),(0,r.createElement)(s.Z,{open:n,setSource:o,onClick:t})))}}))}},2562:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(34724);t.Z=function(e){let{originalButton:t=null,onClick:n=(()=>{}),open:i,setSource:s}=e;return(0,r.createElement)(r.Fragment,null,t&&t({open:i}),o.Dv.map((e=>{let{icon:t,id:o,label:i}=e;return(0,r.createElement)(a.MenuItem,{icon:t,key:o,onClick:()=>{n(),s(o)}},i)})))}},67236:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(96483);const a={list:"/wpcom/v2/external-media/list/",copy:(0,n(58014).Wp)()?"/rest/v1.1/external-media-upload?service=":"/wpcom/v2/external-media/copy/",connection:"/wpcom/v2/external-media/connection/"};function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a[e]?(0,r.addQueryArgs)(a[e]+t,n):null}},97416:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(51591);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.JO,null),(0,r.createElement)("p",null,__("To get started, connect your site to your Google Photos library.","jetpack")),(0,r.createElement)("p",null,__("You can remove the connection in either of these places:","jetpack")),(0,r.createElement)("ul",null,(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://myaccount.google.com/security"},__("Google Security page","jetpack"))),(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://wordpress.com/marketing/connections/"},__("WordPress.com Connections","jetpack")))))}))},75039:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)("p",null,__("Awaiting authorization","jetpack"))}))},72475:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(99418);const __=a.__;t.Z=(0,r.memo)((function(e){let{path:t,setPath:n}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Button,{isTertiary:!0,onClick:()=>n(i.Tu)},__("Albums","jetpack")),"→   ",t.name)}))},10365:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(99418),l=n(38205);const __=a.__;function c(e){let{value:t,updateFilter:n}=e;return(0,r.createElement)(o.SelectControl,{label:__("Category","jetpack"),value:t,options:s.tY,onChange:n})}function u(e){let{value:t,updateFilter:n}=e;const a=t?.range||s.CY,[i,c]=(0,r.useState)(-1),[u,p]=(0,r.useState)(s.zs);return(0,r.createElement)("div",{className:"jetpack-external-media-date-filter"},(0,r.createElement)(o.SelectControl,{label:__("Filter by time period","jetpack"),value:a,options:s.QU,onChange:e=>n({range:e})}),a===s.yD&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Month","jetpack"),value:i,options:s.l5,onChange:c}),(0,r.createElement)(l.Z,{className:"components-base-control",label:__("Year","jetpack"),value:u,min:1970,onChange:p}),(0,r.createElement)(o.Button,{isSecondary:!0,disabled:t?.month===i&&t?.year===u,onClick:()=>{n({range:a,month:i,year:u})}},__("Apply","jetpack"))))}function p(){return(0,r.createElement)("span",null,__("Favorites","jetpack"))}function d(e){let{value:t,updateFilter:n}=e;const a=[{label:__("All","jetpack"),value:""},{label:__("Images","jetpack"),value:"photo"},{label:__("Videos","jetpack"),value:"video"}];return(0,r.createElement)(o.SelectControl,{label:__("Type","jetpack"),value:t,options:a,onChange:n})}function m(e){let{children:t,removeFilter:n,isRemovable:a=!1}=e;return(0,r.createElement)("div",{className:"jetpack-external-media-googlephotos-filter"},t,!!a&&(0,r.createElement)(o.Button,{onClick:n,isSmall:!0},__("Remove Filter","jetpack")))}t.Z=function(e){let{filters:t,setFilters:n,canChangeMedia:a}=e;const o=Object.keys(t).filter((e=>a||"mediaType"!==e)).map((e=>{return(0,r.createElement)(m,{key:e,removeFilter:()=>n((0,i.omit)(t,e))},(a=e,o=t[e],s=r=>n(function(e,t,n){const r={...e,[t]:n};return"mediaType"===t&&"video"===n?delete r.category:"category"===t&&"video"===r.mediaType&&delete r.mediaType,r}(t,e,r)),"category"===a?(0,r.createElement)(c,{value:o,updateFilter:s}):"date"===a?(0,r.createElement)(u,{value:o,updateFilter:s}):"favorite"===a?(0,r.createElement)(p,{value:o}):"mediaType"===a?(0,r.createElement)(d,{value:o,updateFilter:s}):null));var a,o,s}));return 0===o.length?null:o}},50254:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(76292),a=n.n(r),o=n(99418);const i=a()();function s(e){const{mediaType:t,category:n,favorite:r,date:s}=e,l=[];if(t&&l.push("mediaType="+t),n&&"video"!==t&&l.push("categoryInclude="+n),void 0!==r&&l.push("feature=favorite"),s){let e=null,t=null;switch(s.range){case o.Wm:e=a()(i).subtract(7,"days"),t=i;break;case o.Qh:e=a()(i).subtract(30,"days"),t=i;break;case o.Bb:e=a()(i).subtract(6,"months"),t=i;break;case o.En:e=a()(i).subtract(1,"year"),t=i;break;case o.yD:const n=parseInt(s.month),r=parseInt(s.year);isNaN(n)||isNaN(r)||(-1===n?(e=a()([r,0]),t=a()(e).endOf("year")):(e=a()([r,n]),t=a()(e).endOf("month")))}const n=e?e.format("YYYY-MM-DD"):"0000-00-00",r=t?t.format("YYYY-MM-DD"):"0000-00-00";l.push(`dateRange=${n}:${r}`)}return l.length>0?l:null}},48389:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i=[{label:__("Category","jetpack"),value:"category"},{label:__("Date","jetpack"),value:"date"},{label:__("Favorites","jetpack"),value:"favorite"},{label:__("Media Type","jetpack"),value:"mediaType"}];function s(e){return i.filter((t=>void 0===e[t.value]))}function l(e){const t=s(e);return t.length>0?t[0].value:""}t.Z=function(e){const[t,n]=(0,r.useState)(l([])),{isLoading:a,isCopying:i,filters:c,canChangeMedia:u}=e,p=function(e,t){return t?e:e.filter((e=>"mediaType"!==e.value))}(s(c),u);return 0===p.length?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Filters","jetpack"),value:t,disabled:a||i,options:p,onChange:n}),(0,r.createElement)(o.Button,{disabled:a||i,isSecondary:!0,isSmall:!0,onClick:()=>{const r=(a=c,o=t,{...a,[o]:"favorite"===o||""});var a,o;e.setFilters(r),n(l(r))}},__("Add Filter","jetpack")))}},72461:function(e,t,n){"use strict";var r=n(69307),a=n(3308);t.Z=e=>{let{account:t,setAuthenticated:n}=e;const{image:o,name:i}=t||{};return(0,r.createElement)("div",{className:"jetpack-external-media-header__account"},(0,r.createElement)("div",{className:"jetpack-external-media-header__account-info"},o&&(0,r.createElement)("img",{className:"jetpack-external-media-header__account-image",src:o,alt:"",height:"18",width:"18"}),i&&(0,r.createElement)("div",{className:"jetpack-external-media-header__account-name"},i)),(0,r.createElement)(a.Z,{setAuthenticated:n}))}},17482:function(e,t,n){"use strict";var r=n(69307),a=n(39151),o=n(86989),i=n.n(o),s=n(65736),l=n(55609),c=n(99418),u=n(67236),p=n(97416),d=n(75039);const __=s.__;t.Z=function(e){const{setAuthenticated:t}=e,[n,o]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{o(!0),i()({path:(0,u.k)("connection",c.iT)}).then((e=>{if(e.error)throw e.message;(0,a.Z)(e.connect_URL,(()=>{o(!1),t(!0)}))})).catch((()=>{o(!1)}))}),[t]);return(0,r.createElement)("div",{className:"jetpack-external-media-auth"},n?(0,r.createElement)(d.Z,null):(0,r.createElement)(p.Z,null),(0,r.createElement)(l.Button,{isPrimary:!0,disabled:n,onClick:s},__("Connect to Google Photos","jetpack")))}},3308:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(67236),c=n(99418);const __=s.__;t.Z=e=>{let{setAuthenticated:t}=e;const[n,a]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{a(!0),o()({method:"DELETE",path:(0,l.k)("connection",c.iT)}).then((()=>t(!1))).catch((()=>a(!1)))}),[t]);return(0,r.createElement)(i.Button,{isSecondary:!0,className:"jetpack-external-media-browser__disconnect",onClick:s,disabled:n,isBusy:n},__("Disconnect from Google Photos","jetpack"))}},8910:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(99418),s=n(6966),l=n(67236),c=n(10365),u=n(48389),p=n(72461),d=n(72475),m=n(50254);const __=a.__;t.Z=function(e){const{account:t,allowedTypes:n,copyMedia:a,getMedia:h,isCopying:f,isLoading:g,media:b,multiple:k,onChangePath:v,pageHandle:y,path:E,setAuthenticated:w,showAdditionalFilters:_=!1}=e,C=(x=n)&&1===x.length&&"image"===x[0];var x;const[j,S]=(0,r.useState)(C?{mediaType:"photo",date:{range:i.CY}}:{date:{range:i.CY}}),A=(0,r.useRef)(""),N=(0,r.useRef)(""),T=E.ID===i.oI?(0,m.Z)(j):null,P={number:20,path:E.ID};T&&(P.filter=T);const M=(0,l.k)("list",i.iT,P),I=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(M,t)}),[h,M]),R=(0,r.useCallback)((e=>{const t=b.find((t=>t.ID===e));N.current=E,v(t||{ID:e})}),[b,v,N,E]),L=(0,r.useCallback)((e=>{a(e,(0,l.k)("copy",i.iT),i.iT)}),[a]);return(0,r.useEffect)((()=>{A!==M&&(A.current=M,I({},E!==N.current))}),[A,M,I,E]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__google"},(0,r.createElement)("div",{className:"jetpack-external-media-header__view"},(0,r.createElement)(o.SelectControl,{className:"jetpack-external-media-header__select",label:__("View","jetpack"),value:E.ID!==i.oI?i.Tu:i.oI,disabled:g||f,options:i.OG,onChange:R}),_&&E.ID===i.oI&&(0,r.createElement)(u.Z,{filters:j,isLoading:g,setFilters:S,canChangeMedia:!C}),(0,r.createElement)("div",{className:"jetpack-external-media-header__filter"},E.ID===i.oI&&(0,r.createElement)(c.Z,{filters:j,isLoading:g,setFilters:S,canChangeMedia:!C}),E.ID!==i.oI&&E.ID!==i.Tu&&(0,r.createElement)(d.Z,{path:E,setPath:R})),(!g||b.length>0)&&(0,r.createElement)(p.Z,{account:t,setAuthenticated:w})),(0,r.createElement)(s.Z,{className:"jetpack-external-media-browser__google",key:M,media:b,isCopying:f,isLoading:g,nextPage:I,onCopy:L,pageHandle:y,multiple:k,setPath:R}))}},5465:function(e,t,n){"use strict";var r=n(69307),a=n(37603),o=n(17482),i=n(8910);t.Z=(0,a.Z)()((function(e){return e.isAuthenticated?(0,r.createElement)(i.Z,e):(0,r.createElement)(o.Z,e)}))},34724:function(e,t,n){"use strict";n.d(t,{Dv:function(){return c},ZR:function(){return u}});var r=n(69307),a=n(65736),o=n(51591),i=n(5465),s=n(7500),l=n(99418);const __=a.__,c=[{id:l.iT,label:__("Google Photos","jetpack"),icon:(0,r.createElement)(o.He,{className:"components-menu-items__item-icon"}),keyword:"google photos"},{id:l.wk,label:__("Pexels Free Photos","jetpack"),icon:(0,r.createElement)(o.yk,{className:"components-menu-items__item-icon"}),keyword:"pexels"}];function u(e){return e===l.wk?s.Z:e===l.iT?i.Z:null}},7500:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(99418),l=n(37603),c=n(6966),u=n(67236);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),k=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.wk),s.wk)}),[d]),v=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.wk,{number:20,path:"recent",search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),v(e,!0),y.current=h}),[v,h]);(0,r.useEffect)(v,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(!w.current)return;const e=Array.from(w.current.elements).find((e=>"search"===e.type));e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__pexels"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__pexels",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{isPrimary:!0,onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__pexels",media:t,isCopying:n,isLoading:a,nextPage:v,onCopy:k,pageHandle:l,multiple:p}))}))},37603:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(27538),a=n.n(r),o=n(69307),i=n(92819),s=n(89105),l=n.n(s),c=n(86989),u=n.n(c),p=n(94333),d=n(55609),m=n(65736),h=n(39630),f=n(9818),g=n(99418);const __=m.__;function b(){return(0,p.createHigherOrderComponent)((e=>{class t extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"contentRef",(e=>{e?(this.contentElement=e,this.modalElement=e.closest(".jetpack-external-media-browser"),this.modalElement&&this.modalElement.addEventListener("keydown",this.stopArrowKeysPropagation)):this.modalElement&&(this.modalElement.removeEventListener("keydown",this.stopArrowKeysPropagation),this.modalElement=null,this.contentElement=null)})),a()(this,"stopArrowKeysPropagation",(e=>{[h.UP,h.DOWN,h.LEFT,h.RIGHT].includes(e.keyCode)&&!e.target.classList.contains("jetpack-external-media-browser__media__item")&&e.stopPropagation()})),a()(this,"setAuthenticated",(e=>this.setState({isAuthenticated:e}))),a()(this,"getMedia",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.state.isLoading||(n&&t.props.noticeOperations.removeAllNotices(),t.setState({account:n?t.defaultAccount:t.state.account,isLoading:!0,media:n?[]:t.state.media,nextHandle:!n&&t.state.nextHandle},(()=>t.getMediaRequest(e))))})),a()(this,"handleApiError",(e=>{if("authorization_required"===e.code)return void this.setState({isAuthenticated:!1,isLoading:!1,isCopying:!1});e.errors?.length&&(e={code:e.errors[0].error,message:e.errors[0].message});const{noticeOperations:t}=this.props;t.createErrorNotice("internal_server_error"===e.code?"Internal server error":e.message),this.setState({isLoading:!1,isCopying:!1})})),a()(this,"getMediaRequest",(e=>{const{nextHandle:t,media:n}=this.state;if(!1===t&&n.length>0)return void this.setState({isLoading:!1});const r=this.getRequestUrl(e);this.setAuthenticated(!0),u()({path:r,method:"GET",parse:void 0===window.wpcomFetch}).then((e=>{this.setState({account:e.meta.account,media:this.mergeMedia(n,e.media),nextHandle:e.meta.next_page,isLoading:!1})})).catch(this.handleApiError)})),a()(this,"copyMedia",((e,t,n)=>{var r;this.setState({isCopying:e}),this.props.noticeOperations.removeAllNotices(),this.modalElement&&this.modalElement.focus(),u()({path:t,method:"POST",data:{external_ids:e.map((e=>e.guid)),media:e.map((e=>({guid:e.guid,caption:e.caption,title:e.title}))),service:n,post_id:null!==(r=this.props.postId)&&void 0!==r?r:0}}).then((e=>{e.media&&(e=e.media.map((e=>({alt:e.alt,caption:e.caption,id:e.ID,type:"image",url:e.URL}))));const{value:t,addToGallery:n,multiple:r}=this.props,a=r?e:e[0],o=e.find((e=>e.errors));if(o){const{errors:e}=o,t=Object.keys(e)[0];this.handleApiError({code:t,message:e[t]})}else this.props.onClose(),this.props.onSelect(n?t.concat(e):a)})).catch(this.handleApiError)})),a()(this,"onChangePath",((e,t)=>{this.setState({path:e},t)})),this.defaultAccount={image:"",name:""},this.state={account:this.defaultAccount,media:[],nextHandle:!1,isLoading:!1,isCopying:null,isAuthenticated:!0,path:{ID:g.oI}}}mergeMedia(e,t){return(0,i.uniqBy)(e.concat(t),"ID")}getRequestUrl(e){const{nextHandle:t}=this.state;return t?e+"&page_handle="+encodeURIComponent(t):e}render(){const{account:t,isAuthenticated:n,isCopying:r,isLoading:a,media:i,nextHandle:s,path:c}=this.state,{allowedTypes:u,multiple:p=!1,noticeUI:m,onClose:h}=this.props,f=r?__("Inserting media","jetpack"):__("Select media","jetpack",0),g=r?__("When the media is finished copying and inserting, you will be returned to the editor.","jetpack"):__("Select the media you would like to insert into the editor.","jetpack",0),b="jetpack-external-media-browser__description",k=l()({"jetpack-external-media-browser":!0,"jetpack-external-media-browser--is-copying":r});return(0,o.createElement)(d.Modal,{onRequestClose:h,title:f,aria:{describedby:b},className:k},(0,o.createElement)("div",{ref:this.contentRef},m,(0,o.createElement)("p",{id:b,className:"jetpack-external-media-browser--visually-hidden"},g),(0,o.createElement)(e,{account:t,getMedia:this.getMedia,copyMedia:this.copyMedia,isCopying:r,isLoading:a,media:i,pageHandle:s,allowedTypes:u,isAuthenticated:n,setAuthenticated:this.setAuthenticated,multiple:p,path:c,onChangePath:this.onChangePath})))}}return(0,f.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()})))((0,d.withNotices)(t))}))}},36745:function(e,t,n){"use strict";n.d(t,{Qu:function(){return i}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["allowedMimeTypes"],[])}function i(e,t){if(!e||!t)return!1;if(!o())return!1;const n=(a=t)?(0,r.pickBy)(o(),(e=>(0,r.startsWith)(e,`${a}/`))):{};var a;const i=(s=n)?(0,r.flatten)((0,r.map)((0,r.keys)(s),(e=>e.split("|")))):[];var s;if("string"==typeof e){const t=e.split(".").pop();return t&&i.includes(t)}return"object"==typeof e&&(e.type&&(0,r.values)(n).includes(e.type))}},20510:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){const e=(0,r.getCategories)();for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];for(const t of n)if(e.some((e=>{let{slug:n}=e;return n===t})))return t;throw new Error(`Could not find a category from the provided list: ${n.join(",")}`)}},2368:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(96483);function a(e,t){if(!(0,r.isURL)(t))return null;let n=t;try{const a=(0,r.getQueryArg)(t,"state"),o=JSON.parse(atob(a));if(e)o.from_editor_post_id=e;else{const e=new URLSearchParams(window.location.search);o.from_site_editor_post_id=e.get("postId"),o.from_site_editor_post_type=e.get("postType")}n=(0,r.addQueryArgs)(t,{state:btoa(JSON.stringify(o))})}catch(e){0}return n}},47583:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);function a(){return(0,r.get)("object"==typeof window?window:null,["Jetpack_Editor_Initial_State"],null)}},21409:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(e){const t=(0,a.Z)(),n=(0,r.get)(t,["available_blocks",e,"available"],!1),o=(0,r.get)(t,["available_blocks",e,"unavailable_reason"],"unknown"),i=(0,r.get)(t,["available_blocks",e,"details"],[]);return{available:n,...!n&&{details:i,unavailableReason:o}}}},4235:function(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,{Z:function(){return r}})},14087:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(92819);const a=(e,t)=>(0,r.reduce)(t,((t,n,r)=>{if(void 0===e[r])return t;const{type:a,validator:o,validValues:i,default:s}=e[r];return t[r]="boolean"===a?"false"!==n&&!!n:o?o(n)?n:s:i?i.includes(n)?n:s:n,t}),{})},22985:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(20651),c=n.n(l);t.Z=e=>{let{children:t=null,isError:n=!1,...r}=e;const i=s()("help-message",{"help-message-is-error":n});return t&&(0,o.createElement)("div",a()({className:i},r),n&&(0,o.createElement)(c(),{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),(0,o.createElement)("span",null,t))}},51591:function(e,t,n){"use strict";n.d(t,{He:function(){return d},yk:function(){return m},JO:function(){return h},IM:function(){return f},zf:function(){return g},Ae:function(){return b},K9:function(){return k},Pw:function(){return v}});var r=n(29183),a=n.n(r),o=n(69307),i=n(55609),s=n(89105),l=n.n(s),c=n(27655),u=n(57535);const p=c.O["Jetpack Green 40"],d=e=>(0,o.createElement)(i.SVG,a()({height:"24",width:"24",viewBox:"1.2 10.8 169.6 169.6",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.Path,{d:"m43.6 49.4c23.4 0 42.4 19 42.4 42.4v3.9h-80.9c-2.1 0-3.8-1.7-3.9-3.9 0-23.4 19-42.4 42.4-42.4z",fill:"#f6bc04"}),(0,o.createElement)(i.Path,{d:"m132.2 53.2c0 23.4-19 42.4-42.4 42.4h-3.8v-80.9c0-2.1 1.7-3.9 3.8-3.9 23.5 0 42.4 19 42.4 42.4z",fill:"#ea4335"}),(0,o.createElement)(i.Path,{d:"m128.4 141.9c-23.4 0-42.4-19-42.4-42.4v-3.9h80.9c2.1 0 3.9 1.7 3.9 3.8 0 23.5-19 42.5-42.4 42.5z",fill:"#4285f4"}),(0,o.createElement)(i.Path,{d:"m39.8 138c0-23.4 19-42.4 42.4-42.4h3.8v80.9c0 2.1-1.7 3.8-3.9 3.9-23.4 0-42.3-19-42.3-42.4z",fill:"#34a853"})),m=e=>(0,o.createElement)(i.SVG,a()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),(0,o.createElement)(i.Path,{d:"M14 7H9v10h3.9v-3.8H14c1.7 0 3.1-1.4 3.1-3.1C17.2 8.4 15.8 7 14 7z"}),(0,o.createElement)(i.Path,{d:"M20.5 2h-17C2.7 2 2 2.7 2 3.5v17c0 .8.7 1.5 1.5 1.5h17c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5zm-5.6 13.2V19H7V5h7c2.8 0 5.1 2.3 5.1 5.1.1 2.5-1.8 4.7-4.2 5.1z"})),h=()=>{const e="#757575";return(0,o.createElement)(i.SVG,{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/SVG",x:"0px",y:"0px",viewBox:"0 0 1292 448",style:{enableBackground:"new 0 0 1292 448"}},(0,o.createElement)(i.G,{id:"Icon"},(0,o.createElement)(i.Path,{class:"st0",fill:"#F6B704",d:"M171.6,177.4c23.4,0,42.4,19,42.4,42.4v3.9h-80.9c-2.1,0-3.8-1.7-3.9-3.9C129.2,196.4,148.2,177.4,171.6,177.4 C171.6,177.4,171.6,177.4,171.6,177.4z"}),(0,o.createElement)(i.Path,{class:"st1",fill:"#E54335",d:"M260.2,181.2c0,23.4-19,42.4-42.4,42.4H214v-80.9c0-2.1,1.7-3.9,3.8-3.9h0 C241.3,138.8,260.2,157.8,260.2,181.2C260.2,181.2,260.2,181.2,260.2,181.2z"}),(0,o.createElement)(i.Path,{class:"st2",fill:"#4280EF",d:"M256.4,269.9c-23.4,0-42.4-19-42.4-42.4v-3.9h80.9c2.1,0,3.9,1.7,3.9,3.8v0 C298.8,250.9,279.8,269.9,256.4,269.9C256.4,269.9,256.4,269.9,256.4,269.9z"}),(0,o.createElement)(i.Path,{class:"st3",fill:"#34A353",d:"M167.8,266c0-23.4,19-42.4,42.4-42.4c0,0,0,0,0,0h3.9v80.9c0,2.1-1.7,3.8-3.9,3.9 C186.7,308.4,167.8,289.4,167.8,266z"})),(0,o.createElement)(i.G,{id:"Photos"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M796,272v-91.6h31.2c15.2,0,28.7,11.3,28.7,27.3s-13.4,27.3-28.7,27.3h-19.4V272H796z M827.5,223.6 c8.8,0,16-7.2,16-16s-7.2-16-16-16h-19.7v32H827.5z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M875.8,209.3l-0.5,8.7h0.5c3.3-5.8,11.3-10.8,19.8-10.8c16,0,23.9,10.9,23.9,26.4V272h-11.8v-36.6 c0-13-6.5-17.4-15.5-17.4c-10.2,0-16.5,9.7-16.5,19.3V272H864v-91.6h11.8V209.3z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M993.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4S993.8,221.6,993.8,240.6z M982,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S982,255,982,240.6L982,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1008,252.9V220h-11v-10.7h11v-19.2h11.8v19.2h15.3V220h-15.3v32c0,7,2.9,10.2,8.4,10.2c1.8,0.1,3.7-0.3,5.4-1 l4.1,10.1c-3,1.2-6.2,1.8-9.5,1.7C1015,273,1008,265.7,1008,252.9z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1105.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4 S1105.8,221.6,1105.8,240.6z M1094,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S1094,255,1094,240.6 L1094,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1111,256.1l10.5-4.4c3.3,7.9,9.5,11.8,17,11.8c7.3,0,12.5-3.6,12.5-8.8c0-3.2-1.9-6.6-8.6-8.3l-12.7-3.1 c-5.8-1.4-16.8-6.4-16.8-17.4c0-11.4,11.8-18.7,24.8-18.7c10.9,0,20.3,5,24.2,14.6l-10.2,4.2c-2.4-5.9-8.2-8.3-14.3-8.3 c-6.7,0-12.4,3-12.4,8.1c0,4,3.3,6.1,8.3,7.3l12.4,2.9c12.4,2.9,17.3,10.6,17.3,18.3c0,11.1-10,19.7-24.7,19.7 C1123.2,274,1114.7,265.1,1111,256.1z"})),(0,o.createElement)(i.G,{id:"Google"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M348.7,221.6c0-28.9,24.3-52.5,53.2-52.5c13.5-0.2,26.4,5,36,14.5l-10.1,10.1c-6.9-6.7-16.2-10.4-25.9-10.2 c-21.1,0-37.6,17-37.6,38.2s16.5,38.1,37.6,38.1c13.7,0,21.5-5.5,26.5-10.5c4.1-4.1,6.8-10,7.8-18H402v-14.4h48.3 c0.5,3,0.8,6,0.8,9c0,10.8-2.9,24.1-12.4,33.5c-9.2,9.6-21,14.7-36.6,14.7C373,274,348.7,250.5,348.7,221.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M490,206.5c-18.7,0-33.9,14.2-33.9,33.8S471.3,274,490,274s33.9-14.3,33.9-33.8S508.7,206.5,490,206.5z M490,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S500.2,260.7,490,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M564,206.5c-18.7,0-33.9,14.2-33.9,33.8S545.3,274,564,274s33.9-14.3,33.9-33.8S582.7,206.5,564,206.5z M564,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S574.2,260.7,564,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M654.8,208.5v5.5h-0.5c-3.3-4-9.7-7.6-17.8-7.6c-16.9,0-32.4,14.9-32.4,33.9s15.5,33.7,32.4,33.7 c8.1,0,14.5-3.6,17.8-7.7h0.5v4.9c0,12.9-6.9,19.8-18,19.8c-9.1,0-14.7-6.5-17-12l-12.9,5.4c5,12.1,16.8,20.1,30,20 c17.4,0,32.1-10.2,32.1-35.2v-60.7H654.8z M637.8,260.7c-10.2,0-18.8-8.6-18.8-20.4s8.6-20.6,18.8-20.6s18,8.7,18,20.6 S647.9,260.7,637.8,260.7L637.8,260.7z"}),(0,o.createElement)(i.Rect,{x:"679.2",y:"172.7",class:"st4",fill:e,width:"14.8",height:"99.3"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M734.7,260.7c-7.6,0-12.9-3.5-16.4-10.2l45.2-18.7L762,228c-2.8-7.6-11.4-21.5-28.9-21.5s-31.9,13.7-31.9,33.8 c0,19,14.3,33.8,33.5,33.8c11.3,0.1,21.9-5.6,28.2-15l-11.5-7.7C747.5,257,742.3,260.7,734.7,260.7z M733.6,219.5 c5.9,0,10.9,2.9,12.5,7.2l-30.2,12.5C715.5,226.2,726,219.5,733.6,219.5L733.6,219.5z"})))},f=e=>{let{size:t=24,className:n}=e;return(0,o.createElement)(i.SVG,{className:l()("jetpack-logo",n),width:t,height:t,viewBox:"0 0 32 32"},(0,o.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:p,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))},g=((0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.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.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.G,null,(0,o.createElement)(i.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.05h-9.36z"}))),{foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 100 100"},(0,o.createElement)(i.Path,{d:"M100,44H72.4l23.9-13.8l-6-10.4L66.4,33.6L80.2,9.7l-10.4-6L56,27.59V0H44v27.6L30.2,3.7l-10.4,6l13.8,23.9 L9.7,19.8l-6,10.4L27.6,44H0V56h27.6L3.7,69.8l6,10.4l23.9-13.8L19.8,90.3l10.4,6L44,72.4V100H56V72.41l13.8,23.9l10.4-6L66.4,66.4 l23.9,13.8l6-10.4L72.4,56H100V44z M50,65.23c-8.41,0-15.23-6.82-15.23-15.23c0-8.41,6.82-15.23,15.23-15.23S65.23,41.59,65.23,50 C65.23,58.41,58.41,65.23,50,65.23z"}))}),b={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.7 17",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{d:"m20.7 12.9-.9-11c0-.5-.2-.9-.5-1.3-.3-.3-.8-.5-1.3-.5L1.9 0h-.1c-.2 0-.5 0-.7.1C.9.2.7.4.5.5.4.7.2.9.1 1.1c-.1.2-.1.5-.1.7v.1l.9 13.4c0 .5.2.9.5 1.3.3.2.8.4 1.3.4H3l16.1-2c.4 0 .9-.3 1.1-.6.3-.3.5-.8.5-1.2v-.3zm-3.1.8L4.2 15.3H4c-.4 0-.8-.1-1-.4-.3-.3-.4-.6-.5-1L1.7 3.2v-.1c0-.4.2-.8.5-1 .3-.3.7-.4 1-.4h.1l13.5.1c.4 0 .8.1 1 .4.3.3.4.6.5 1L19 12v.3c0 .4-.2.7-.4 1-.3.2-.6.4-1 .4z"}))},k={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})))},v=((0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M15.9216 2H2.98533C2.43803 2 1.99023 2.45 1.99023 3V17L5.97062 13H15.9216C16.4689 13 16.9167 12.55 16.9167 12V3C16.9167 2.45 16.4689 2 15.9216 2ZM14.9265 4V11H5.14469L3.98043 12.17V4H14.9265ZM18.9069 6H20.8971C21.4444 6 21.8922 6.45 21.8922 7V22L17.9118 18H6.96572C6.41842 18 5.97062 17.55 5.97062 17V15H18.9069V6Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M3.98042 2H19.9019C20.9965 2 21.8921 2.9 21.8921 4V16C21.8921 17.1 20.9965 18 19.9019 18H5.97061L1.99023 22V4C1.99023 2.9 2.88582 2 3.98042 2ZM5.97061 16H19.9019V4H3.98042V18L5.97061 16Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M11.1114 8H20.0002M11.1113 15H20.0002",stroke:(0,u.m)(),strokeWidth:"1.5"}),(0,o.createElement)(i.Path,{d:"M4 10V6L8 8L4 10Z",fill:(0,u.m)()}),(0,o.createElement)(i.Path,{d:"M4 17V13L8 15L4 17Z",fill:(0,u.m)()}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M4 12V4L11 8L4 12Z"}),(0,o.createElement)(i.Path,{d:"M4 14.5H20V16H4V14.5Z"}),(0,o.createElement)(i.Path,{d:"M4 18.5H13V20H4V18.5Z"}))),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M2.5 7.5V4.5H15.5V7.5H10.5V19.5H7.5V7.5H2.5ZM12.5 9.5H21.5V12.5H18.5V19.5H15.5V12.5H12.5V9.5Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M12.7049 2V6C8.30658 6 4.74414 9.58 4.74414 14C4.74414 18.42 8.30658 22 12.7049 22C17.1032 22 20.6656 18.42 20.6656 14H18.6755C18.6755 17.31 15.9987 20 12.7049 20C9.41113 20 6.73433 17.31 6.73433 14C6.73433 10.69 9.41113 8 12.7049 8V12L17.6804 7L12.7049 2ZM11.6501 12.73L11.4013 14.9L12.068 15.06C12.0753 15.0526 12.0827 15.0447 12.0901 15.0366C12.1131 15.0116 12.1375 14.9851 12.1675 14.97C12.1874 14.96 12.2073 14.9475 12.2272 14.935C12.2471 14.9225 12.2671 14.91 12.287 14.9C12.3268 14.88 12.3865 14.86 12.4362 14.85C12.486 14.84 12.5556 14.83 12.6352 14.83C12.7447 14.83 12.8542 14.85 12.9338 14.88C13.0134 14.91 13.083 14.96 13.1427 15.03C13.2024 15.1 13.2422 15.17 13.2721 15.27C13.302 15.37 13.3119 15.47 13.3119 15.58V15.58C13.3119 15.69 13.3119 15.79 13.2821 15.89C13.2522 15.99 13.2124 16.07 13.1726 16.14C13.1328 16.21 13.0631 16.27 12.9935 16.31C12.9238 16.35 12.8343 16.37 12.7248 16.37C12.5556 16.37 12.4163 16.31 12.3069 16.22C12.1974 16.13 12.1377 15.99 12.1178 15.81H11.2819C11.2819 16.01 11.3317 16.19 11.4113 16.34C11.4909 16.49 11.5904 16.63 11.7297 16.73C11.869 16.83 12.0183 16.92 12.1874 16.97C12.3566 17.02 12.5357 17.05 12.7148 17.05C12.9636 17.05 13.1726 17 13.3517 16.93C13.5308 16.86 13.6801 16.75 13.7995 16.62C13.9189 16.49 14.0085 16.34 14.0682 16.17C14.1279 16 14.1577 15.82 14.1577 15.63C14.1577 15.41 14.1179 15.21 14.0682 15.03C14.0184 14.85 13.9289 14.7 13.8194 14.58C13.7099 14.46 13.5706 14.37 13.4114 14.3C13.2522 14.23 13.0731 14.2 12.8641 14.2C12.7945 14.2 12.7248 14.21 12.6651 14.22C12.6352 14.225 12.6054 14.2325 12.5755 14.24C12.5457 14.2475 12.5158 14.255 12.486 14.26C12.4263 14.27 12.3765 14.29 12.3367 14.31C12.3201 14.3183 12.3035 14.325 12.2876 14.3313C12.2654 14.3401 12.2446 14.3483 12.2272 14.36L12.3367 13.44H14.0284V12.73H11.6501Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M11.9412 2V6C16.3395 6 19.902 9.58 19.902 14C19.902 18.42 16.3395 22 11.9412 22C7.54291 22 3.98047 18.42 3.98047 14H5.97066C5.97066 17.31 8.64746 20 11.9412 20C15.235 20 17.9118 17.31 17.9118 14C17.9118 10.69 15.235 8 11.9412 8V12L6.96575 7L11.9412 2ZM10.8864 12.73L10.6376 14.9L11.3044 15.06C11.3117 15.0526 11.319 15.0447 11.3264 15.0366C11.3494 15.0116 11.3738 14.9851 11.4039 14.97C11.4238 14.96 11.4437 14.9475 11.4636 14.935C11.4835 14.9225 11.5034 14.91 11.5233 14.9C11.5631 14.88 11.6228 14.86 11.6725 14.85C11.7223 14.84 11.792 14.83 11.8716 14.83C11.981 14.83 12.0905 14.85 12.1701 14.88C12.2497 14.91 12.3194 14.96 12.3791 15.03C12.4388 15.1 12.4786 15.17 12.5084 15.27C12.5383 15.37 12.5482 15.47 12.5482 15.58V15.58C12.5482 15.69 12.5482 15.79 12.5184 15.89C12.4885 15.99 12.4487 16.07 12.4089 16.14C12.3691 16.21 12.2995 16.27 12.2298 16.31C12.1601 16.35 12.0706 16.37 11.9611 16.37C11.792 16.37 11.6526 16.31 11.5432 16.22C11.4337 16.13 11.374 15.99 11.3541 15.81H10.5182C10.5182 16.01 10.568 16.19 10.6476 16.34C10.7272 16.49 10.8267 16.63 10.966 16.73C11.1053 16.83 11.2546 16.92 11.4238 16.97C11.5929 17.02 11.7721 17.05 11.9512 17.05C12.1999 17.05 12.4089 17 12.588 16.93C12.7672 16.86 12.9164 16.75 13.0358 16.62C13.1552 16.49 13.2448 16.34 13.3045 16.17C13.3642 16 13.3941 15.82 13.3941 15.63C13.3941 15.41 13.3543 15.21 13.3045 15.03C13.2547 14.85 13.1652 14.7 13.0557 14.58C12.9463 14.46 12.807 14.37 12.6477 14.3C12.4885 14.23 12.3094 14.2 12.1004 14.2C12.0308 14.2 11.9611 14.21 11.9014 14.22C11.8716 14.225 11.8417 14.2325 11.8119 14.24C11.782 14.2475 11.7522 14.255 11.7223 14.26C11.6626 14.27 11.6128 14.29 11.573 14.31C11.5564 14.3183 11.5398 14.325 11.5239 14.3313C11.5017 14.3401 11.481 14.3483 11.4636 14.36L11.573 13.44H13.2647V12.73H10.8864Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M0 0h24v24H0z",fill:"none"}),(0,o.createElement)(i.Path,{d:"M7 2v11h3v9l7-12h-4l4-8z",fill:"currentColor"})))},28938:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_active"],!1)}},63729:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_current_user_connected"],!1)}},47077:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_offline_mode"],!1)}},7616:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(9818),i=n(65736),s=(n(53961),n(82827),n(4235)),l=n(58014);const __=i.__;function c(){const e=(0,s.Z)();return void 0!==typeof window&&window.location&&e?(0,l.Wp)()||(0,l.Ug)()?`https://wordpress.com/plans/my-plan/${e}`:`${window.location.protocol}//${e.replace("::","/")}/wp-admin/admin.php?page=jetpack#/my-plan`:null}(async()=>{if(void 0!==typeof window&&window.location){if(new URLSearchParams(window.location.search).get("plan_upgraded")){let e=null;e:try{if((0,l.Wp)())break e;const t=await a()({path:"/jetpack/v4/site"});e=JSON.parse(t.data).plan.product_name}finally{const t=c();(0,o.dispatch)("core/notices").createNotice("success",e?(0,i.sprintf)(
+label:__("Weddings","jetpack")}],m=["mountain","ocean","river","clouds","pattern","abstract","sky"],h="ANY",f="LAST_7_DAYS",g="LAST_30_DAYS",b="LAST_6_MONTHS",v="LAST_12_MONTHS",k="CUSTOM",y=[{value:h,label:__("Any time","jetpack")},{value:f,label:__("Last 7 days","jetpack")},{value:g,label:__("Last 30 days","jetpack")},{value:b,label:__("Last 6 months","jetpack")},{value:v,label:__("Last 12 months","jetpack")},{value:k,label:__("Specific Month/Year","jetpack")}],E=(new Date).getFullYear(),w=[{label:__("Any Month","jetpack"),value:-1},...(0,o.map)((0,o.range)(0,12),(e=>({label:(0,a.dateI18n)("F",new Date(0,e)),value:e})))]},54414:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(92694),s=n(52175),l=n(35089),c=n(10892),u=n(38457);if((0,l.Z)()&&"function"==typeof s.useBlockEditContext){const e=e=>e.unstableFeaturedImageFlow||e.modalClass&&e.modalClass.indexOf("featured-image")>-1,t=(e,t)=>["core/cover","core/image","core/gallery","core/media-text","jetpack/image-compare","jetpack/slideshow","jetpack/story","jetpack/tiled-gallery"].indexOf(e)>-1&&-1===t.toString().indexOf("coblocks");(0,i.addFilter)("editor.MediaUpload","external-media/replace-media-upload",(n=>r=>{const{name:i}=(0,s.useBlockEditContext)();let{render:l}=r;if(t(i,l)||e(r)){const{allowedTypes:e,gallery:t=!1,value:n=[]}=r;e.indexOf("image")>-1&&!(t&&n.length>0)&&(l=e=>(0,o.createElement)(c.Z,a()({},e,{mediaProps:r})))}return(0,o.createElement)(n,a()({},r,{render:l}))}),100),(0,i.addFilter)("blocks.registerBlockType","external-media/individual-blocks",(function(e,t){return"core/image"!==t?e:{...e,keywords:[...e.keywords,...u.Dv.map((e=>e.keyword))]}}))}},11583:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(55609),l=n(65736),c=n(39630),u=n(9827),p=n(46406);const __=l.__,d=(0,r.memo)((()=>(0,r.createElement)("div",{className:"jetpack-external-media-browser__empty"},(0,r.createElement)("p",null,__("Sorry, but nothing matched your search criteria.","jetpack")))));t.Z=function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,className:m,multiple:h,setPath:f,nextPage:g,onCopy:b}=e,[v,k]=(0,r.useState)([]),[y,E]=(0,r.useState)(-1),w=(0,r.useRef)(-1),_=(0,r.useRef)(null),C=(0,r.useCallback)((e=>{let t=[e];"folder"===e.type?f(e.ID):h?(t=v.slice(0,9).concat(e),v.find((t=>e.ID===t.ID))&&(t=v.filter((t=>t.ID!==e.ID)))):1===v.length&&e.ID===v[0].ID&&(t=[]),k(t)}),[v,h,f]),x=(0,r.useCallback)((()=>{b(v)}),[v,b]),j=t.filter((e=>"folder"!==e.type)).length>0,S=o()({"jetpack-external-media-browser__media":!0,"jetpack-external-media-browser__media__loading":a}),A=o()({"jetpack-external-media-browser":!0,[m]:!0}),P=()=>{let e=1;const t=_.current.children;if(t.length>0){const n=t[0].offsetTop;for(;e<t.length&&t[e].offsetTop===n;)++e}w.current=e},N=(0,i.debounce)(P,400);(0,r.useEffect)((()=>(window.addEventListener("resize",N),()=>{window.removeEventListener("resize",N)})),[]),(0,r.useEffect)((()=>{t.length&&-1===w.current&&P()}),[t]);const T=(e,t)=>{let{item:n}=t;C(n)},R=(e,n)=>{let{item:r,index:a}=n;[c.LEFT,c.RIGHT,c.UP,c.DOWN].includes(e.keyCode)?((e,n)=>{switch(e){case c.LEFT:n>=1&&E(n-1);break;case c.RIGHT:n<t.length&&E(n+1);break;case c.UP:n>=w.current&&E(n-w.current);break;case c.DOWN:n<t.length-w.current&&E(n+w.current)}})(e.keyCode,a):c.SPACE===e.keyCode?(C(r),e.preventDefault()):c.ENTER===e.keyCode&&C(r),[c.LEFT,c.RIGHT,c.UP,c.DOWN,c.SPACE,c.ENTER].includes(e.keyCode)&&e.stopPropagation()};return(0,r.createElement)("div",{className:A},(0,r.createElement)("ul",{ref:_,className:S},t.map(((e,t)=>(0,r.createElement)(p.Z,{item:e,index:t,key:e.ID,onClick:T,onKeyDown:R,focus:t===y,isSelected:v.find((t=>t.ID===e.ID)),isCopying:n}))),0===t.length&&!a&&(0,r.createElement)(d,null),a&&(0,r.createElement)(u.Z,null),l&&!a&&(0,r.createElement)(s.Button,{variant:"secondary",className:"jetpack-external-media-browser__loadmore",disabled:a||n,onClick:()=>{t.length&&E(t.length),g()}},__("Load More","jetpack"))),j&&(0,r.createElement)((()=>{const e=0===v.length||n,t=n?__("Inserting…","jetpack"):__("Select","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__toolbar"},(0,r.createElement)(s.Button,{variant:"primary",isBusy:n,disabled:e,onClick:x},t))}),null))}},46406:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__;t.Z=function(e){const{item:t,focus:n,isSelected:a,isCopying:s=!1}=e,{thumbnails:l,caption:c,name:u,title:p,type:d,children:m=0}=t,{medium:h=null,fmt_hd:f=null,thumbnail:g=null}=l,b=p||c||u,v=o()({"jetpack-external-media-browser__media__item":!0,"jetpack-external-media-browser__media__item__selected":a,"jetpack-external-media-browser__media__folder":"folder"===d,"is-transient":s}),k=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n&&k.current.focus()}),[n]),(0,r.createElement)("li",{ref:k,className:v,onClick:s?void 0:t=>{const{item:n,index:r}=e;e.onClick&&e.onClick(t,{item:n,index:r})},onKeyDown:s?void 0:t=>{const{item:n,index:r}=e;e.onKeyDown&&e.onKeyDown(t,{item:n,index:r})},role:"checkbox",tabIndex:"0","aria-checked":!!a,"aria-disabled":!!s},a&&s&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator"},(0,r.createElement)(i.Spinner,null),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator__label"},__("Inserting Image…","jetpack"))),(0,r.createElement)("img",{src:h||f||g,alt:b}),"folder"===d&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__info"},(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__name"},u),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__count"},m)))}},9827:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.memo)((function(){const e="jetpack-external-media-browser__media__item jetpack-external-media-browser__media__placeholder";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}))}))},10892:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(38457),s=n(95833);const l=e=>e.unstableFeaturedImageFlow||e.modalClass&&-1!==e.modalClass.indexOf("featured-image"),c=e=>void 0===e.multiple&&!l(e);t.Z=function(e){const{mediaProps:t}=e,[n,r]=(0,o.useState)(null),u=(0,i.ZR)(n);return(0,o.createElement)("div",{onClick:e=>e.stopPropagation()},(0,o.createElement)(s.Z,a()({},e,{setSelectedSource:r,isReplace:c(t),isFeatured:l(t),hasImage:t.value>0})),u&&(0,o.createElement)(u,a()({},t,{onClose:e=>{var n;e&&(e.stopPropagation(),e.target.closest(".jetpack-external-media-header__dropdown"))||(r(null),null===(n=t.onClose)||void 0===n||n.call(t))}})))}},95833:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(20843),s=n(13959);const __=o.__;t.Z=function(e){const{mediaProps:t,open:n,setSelectedSource:o,isFeatured:l,isReplace:c,hasImage:u}=e,p=t.render;let d="tertiary";if(c)return(0,r.createElement)(s.Z,{originalButton:p,open:n,setSource:o});let m=__("Select Image","jetpack");return t.multiple&&(m=__("Select Images","jetpack")),t.allowedTypes.length>1&&(m=__("Select Media","jetpack")),l&&(m=__("Replace Image","jetpack"),d="secondary"),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Dropdown,{position:"bottom right",contentClassName:"jetpack-external-media-button-menu__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;const o=p&&p({open:n});return l&&u||o&&"string"!=typeof o.props.children?o:(0,r.createElement)(a.Button,{variant:d,className:"jetpack-external-media-button-menu","aria-haspopup":"true","aria-expanded":t,onClick:n},m)},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(a.NavigableMenu,{"aria-label":m},(0,r.createElement)(a.MenuGroup,null,(0,r.createElement)(a.MenuItem,{icon:i.Z,onClick:()=>{t(),n()}},__("Media Library","jetpack")),(0,r.createElement)(s.Z,{open:n,setSource:o,onClick:t})))}}))}},13959:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(38457);t.Z=function(e){let{originalButton:t=null,onClick:n=(()=>{}),open:i,setSource:s}=e;return(0,r.createElement)(r.Fragment,null,t&&t({open:i}),o.Dv.map((e=>{let{icon:t,id:o,label:i}=e;return(0,r.createElement)(a.MenuItem,{icon:t,key:o,onClick:()=>{n(),s(o)}},i)})))}},47285:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(96483);const a={list:"/wpcom/v2/external-media/list/",copy:(0,n(13419).Wp)()?"/rest/v1.1/external-media-upload?service=":"/wpcom/v2/external-media/copy/",connection:"/wpcom/v2/external-media/connection/"};function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a[e]?(0,r.addQueryArgs)(a[e]+t,n):null}},53463:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(81427);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.JO,null),(0,r.createElement)("p",null,__("To get started, connect your site to your Google Photos library.","jetpack")),(0,r.createElement)("p",null,__("You can remove the connection in either of these places:","jetpack")),(0,r.createElement)("ul",null,(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://myaccount.google.com/security"},__("Google Security page","jetpack"))),(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://wordpress.com/marketing/connections/"},__("WordPress.com Connections","jetpack")))))}))},5890:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)("p",null,__("Awaiting authorization","jetpack"))}))},86167:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(20982);const __=a.__;t.Z=(0,r.memo)((function(e){let{path:t,setPath:n}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Button,{variant:"tertiary",onClick:()=>n(i.Tu)},__("Albums","jetpack")),"→   ",t.name)}))},4819:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(20769);const __=a.__;function c(e){let{value:t,updateFilter:n}=e;return(0,r.createElement)(o.SelectControl,{label:__("Category","jetpack"),value:t,options:s.tY,onChange:n})}function u(e){let{value:t,updateFilter:n}=e;const a=(null==t?void 0:t.range)||s.CY,[i,c]=(0,r.useState)(-1),[u,p]=(0,r.useState)(s.zs);return(0,r.createElement)("div",{className:"jetpack-external-media-date-filter"},(0,r.createElement)(o.SelectControl,{label:__("Filter by time period","jetpack"),value:a,options:s.QU,onChange:e=>n({range:e})}),a===s.yD&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Month","jetpack"),value:i,options:s.l5,onChange:c}),(0,r.createElement)(l.Z,{className:"components-base-control",label:__("Year","jetpack"),value:u,min:1970,onChange:p}),(0,r.createElement)(o.Button,{variant:"secondary",disabled:(null==t?void 0:t.month)===i&&(null==t?void 0:t.year)===u,onClick:()=>{n({range:a,month:i,year:u})}},__("Apply","jetpack"))))}function p(){return(0,r.createElement)("span",null,__("Favorites","jetpack"))}function d(e){let{value:t,updateFilter:n}=e;const a=[{label:__("All","jetpack"),value:""},{label:__("Images","jetpack"),value:"photo"},{label:__("Videos","jetpack"),value:"video"}];return(0,r.createElement)(o.SelectControl,{label:__("Type","jetpack"),value:t,options:a,onChange:n})}function m(e){let{children:t,removeFilter:n,isRemovable:a=!1}=e;return(0,r.createElement)("div",{className:"jetpack-external-media-googlephotos-filter"},t,!!a&&(0,r.createElement)(o.Button,{onClick:n,isSmall:!0},__("Remove Filter","jetpack")))}t.Z=function(e){let{filters:t,setFilters:n,canChangeMedia:a}=e;const o=Object.keys(t).filter((e=>a||"mediaType"!==e)).map((e=>{return(0,r.createElement)(m,{key:e,removeFilter:()=>n((0,i.omit)(t,e))},(a=e,o=t[e],s=r=>n(function(e,t,n){const r={...e,[t]:n};return"mediaType"===t&&"video"===n?delete r.category:"category"===t&&"video"===r.mediaType&&delete r.mediaType,r}(t,e,r)),"category"===a?(0,r.createElement)(c,{value:o,updateFilter:s}):"date"===a?(0,r.createElement)(u,{value:o,updateFilter:s}):"favorite"===a?(0,r.createElement)(p,{value:o}):"mediaType"===a?(0,r.createElement)(d,{value:o,updateFilter:s}):null));var a,o,s}));return 0===o.length?null:o}},58912:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(76292),a=n.n(r),o=n(20982);const i=a()();function s(e){const{mediaType:t,category:n,favorite:r,date:s}=e,l=[];if(t&&l.push("mediaType="+t),n&&"video"!==t&&l.push("categoryInclude="+n),void 0!==r&&l.push("feature=favorite"),s){let e=null,t=null;switch(s.range){case o.Wm:e=a()(i).subtract(7,"days"),t=i;break;case o.Qh:e=a()(i).subtract(30,"days"),t=i;break;case o.Bb:e=a()(i).subtract(6,"months"),t=i;break;case o.En:e=a()(i).subtract(1,"year"),t=i;break;case o.yD:const n=parseInt(s.month),r=parseInt(s.year);isNaN(n)||isNaN(r)||(-1===n?(e=a()([r,0]),t=a()(e).endOf("year")):(e=a()([r,n]),t=a()(e).endOf("month")))}const n=e?e.format("YYYY-MM-DD"):"0000-00-00",r=t?t.format("YYYY-MM-DD"):"0000-00-00";l.push(`dateRange=${n}:${r}`)}return l.length>0?l:null}},53800:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i=[{label:__("Category","jetpack"),value:"category"},{label:__("Date","jetpack"),value:"date"},{label:__("Favorites","jetpack"),value:"favorite"},{label:__("Media Type","jetpack"),value:"mediaType"}];function s(e){return i.filter((t=>void 0===e[t.value]))}function l(e){const t=s(e);return t.length>0?t[0].value:""}t.Z=function(e){const[t,n]=(0,r.useState)(l([])),{isLoading:a,isCopying:i,filters:c,canChangeMedia:u}=e,p=function(e,t){return t?e:e.filter((e=>"mediaType"!==e.value))}(s(c),u);return 0===p.length?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Filters","jetpack"),value:t,disabled:a||i,options:p,onChange:n}),(0,r.createElement)(o.Button,{disabled:a||i,variant:"secondary",isSmall:!0,onClick:()=>{const r=(a=c,o=t,{...a,[o]:"favorite"===o||""});var a,o;e.setFilters(r),n(l(r))}},__("Add Filter","jetpack")))}},64034:function(e,t,n){"use strict";var r=n(69307),a=n(2772);t.Z=e=>{let{account:t,setAuthenticated:n}=e;const{image:o,name:i}=t||{};return(0,r.createElement)("div",{className:"jetpack-external-media-header__account"},(0,r.createElement)("div",{className:"jetpack-external-media-header__account-info"},o&&(0,r.createElement)("img",{className:"jetpack-external-media-header__account-image",src:o,alt:"",height:"18",width:"18"}),i&&(0,r.createElement)("div",{className:"jetpack-external-media-header__account-name"},i)),(0,r.createElement)(a.Z,{setAuthenticated:n}))}},62494:function(e,t,n){"use strict";var r=n(69307),a=n(39229),o=n(86989),i=n.n(o),s=n(65736),l=n(55609),c=n(20982),u=n(47285),p=n(53463),d=n(5890);const __=s.__;t.Z=function(e){const{setAuthenticated:t}=e,[n,o]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{o(!0),i()({path:(0,u.k)("connection",c.iT)}).then((e=>{if(e.error)throw e.message;(0,a.Z)(e.connect_URL,(()=>{o(!1),t(!0)}))})).catch((()=>{o(!1)}))}),[t]);return(0,r.createElement)("div",{className:"jetpack-external-media-auth"},n?(0,r.createElement)(d.Z,null):(0,r.createElement)(p.Z,null),(0,r.createElement)(l.Button,{variant:"primary",disabled:n,onClick:s},__("Connect to Google Photos","jetpack")))}},2772:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(47285),c=n(20982);const __=s.__;t.Z=e=>{let{setAuthenticated:t}=e;const[n,a]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{a(!0),o()({method:"DELETE",path:(0,l.k)("connection",c.iT)}).then((()=>t(!1))).catch((()=>a(!1)))}),[t]);return(0,r.createElement)(i.Button,{variant:"secondary",className:"jetpack-external-media-browser__disconnect",onClick:s,disabled:n,isBusy:n},__("Disconnect from Google Photos","jetpack"))}},20107:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(20982),s=n(11583),l=n(47285),c=n(4819),u=n(53800),p=n(64034),d=n(86167),m=n(58912);const __=a.__;t.Z=function(e){const{account:t,allowedTypes:n,copyMedia:a,getMedia:h,isCopying:f,isLoading:g,media:b,multiple:v,onChangePath:k,pageHandle:y,path:E,setAuthenticated:w,showAdditionalFilters:_=!1}=e,C=(x=n)&&1===x.length&&"image"===x[0];var x;const[j,S]=(0,r.useState)(C?{mediaType:"photo",date:{range:i.CY}}:{date:{range:i.CY}}),A=(0,r.useRef)(""),P=(0,r.useRef)(""),N=E.ID===i.oI?(0,m.Z)(j):null,T={number:20,path:E.ID};N&&(T.filter=N);const R=(0,l.k)("list",i.iT,T),M=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(R,t)}),[h,R]),I=(0,r.useCallback)((e=>{const t=b.find((t=>t.ID===e));P.current=E,k(t||{ID:e})}),[b,k,P,E]),L=(0,r.useCallback)((e=>{a(e,(0,l.k)("copy",i.iT),i.iT)}),[a]);return(0,r.useEffect)((()=>{A!==R&&(A.current=R,M({},E!==P.current))}),[A,R,M,E]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__google"},(0,r.createElement)("div",{className:"jetpack-external-media-header__view"},(0,r.createElement)(o.SelectControl,{className:"jetpack-external-media-header__select",label:__("View","jetpack"),value:E.ID!==i.oI?i.Tu:i.oI,disabled:g||f,options:i.OG,onChange:I}),_&&E.ID===i.oI&&(0,r.createElement)(u.Z,{filters:j,isLoading:g,setFilters:S,canChangeMedia:!C}),(0,r.createElement)("div",{className:"jetpack-external-media-header__filter"},E.ID===i.oI&&(0,r.createElement)(c.Z,{filters:j,isLoading:g,setFilters:S,canChangeMedia:!C}),E.ID!==i.oI&&E.ID!==i.Tu&&(0,r.createElement)(d.Z,{path:E,setPath:I})),(!g||b.length>0)&&(0,r.createElement)(p.Z,{account:t,setAuthenticated:w})),(0,r.createElement)(s.Z,{className:"jetpack-external-media-browser__google",key:R,media:b,isCopying:f,isLoading:g,nextPage:M,onCopy:L,pageHandle:y,multiple:v,setPath:I}))}},77453:function(e,t,n){"use strict";var r=n(69307),a=n(97893),o=n(62494),i=n(20107);t.Z=(0,a.Z)()((function(e){return e.isAuthenticated?(0,r.createElement)(i.Z,e):(0,r.createElement)(o.Z,e)}))},38457:function(e,t,n){"use strict";n.d(t,{Dv:function(){return u},ZR:function(){return p}});var r=n(69307),a=n(65736),o=n(81427),i=n(77453),s=n(41214),l=n(12533),c=n(20982);const __=a.__,u=[{id:c.iT,label:__("Google Photos","jetpack"),icon:(0,r.createElement)(o.He,{className:"components-menu-items__item-icon"}),keyword:"google photos"},{id:c.wk,label:__("Pexels Free Photos","jetpack"),icon:(0,r.createElement)(o.yk,{className:"components-menu-items__item-icon"}),keyword:"pexels"},{id:c.Eh,label:__("Openverse","jetpack"),icon:(0,r.createElement)(o.FG,{className:"components-menu-items__item-icon"}),keyword:"openverse"}];function p(e){return e===c.wk?l.Z:e===c.iT?i.Z:e===c.Eh?s.Z:null}},41214:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(97893),c=n(11583),u=n(47285);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.Eh),s.Eh)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.Eh,{number:20,search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(null==w||!w.current)return;const e=w.current.querySelector("input[type='search']");e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__openverse"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__openverse",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{isPrimary:!0,onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__openverse",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},12533:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(97893),c=n(11583),u=n(47285);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.wk),s.wk)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.wk,{number:20,path:"recent",search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(!w.current)return;const e=Array.from(w.current.elements).find((e=>"search"===e.type));e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__pexels"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__pexels",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{variant:"primary",onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__pexels",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},97893:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(18294),a=n.n(r),o=n(69307),i=n(92819),s=n(65235),l=n.n(s),c=n(86989),u=n.n(c),p=n(94333),d=n(55609),m=n(65736),h=n(39630),f=n(9818),g=n(20982);const __=m.__;function b(){return(0,p.createHigherOrderComponent)((e=>{class t extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"contentRef",(e=>{e?(this.contentElement=e,this.modalElement=e.closest(".jetpack-external-media-browser"),this.modalElement&&this.modalElement.addEventListener("keydown",this.stopArrowKeysPropagation)):this.modalElement&&(this.modalElement.removeEventListener("keydown",this.stopArrowKeysPropagation),this.modalElement=null,this.contentElement=null)})),a()(this,"stopArrowKeysPropagation",(e=>{[h.UP,h.DOWN,h.LEFT,h.RIGHT].includes(e.keyCode)&&!e.target.classList.contains("jetpack-external-media-browser__media__item")&&e.stopPropagation()})),a()(this,"setAuthenticated",(e=>this.setState({isAuthenticated:e}))),a()(this,"getMedia",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.state.isLoading||(n&&t.props.noticeOperations.removeAllNotices(),t.setState({account:n?t.defaultAccount:t.state.account,isLoading:!0,media:n?[]:t.state.media,nextHandle:!n&&t.state.nextHandle},(()=>t.getMediaRequest(e))))})),a()(this,"handleApiError",(e=>{var t;if("authorization_required"===e.code)return void this.setState({isAuthenticated:!1,isLoading:!1,isCopying:!1});null!==(t=e.errors)&&void 0!==t&&t.length&&(e={code:e.errors[0].error,message:e.errors[0].message});const{noticeOperations:n}=this.props;n.createErrorNotice("internal_server_error"===e.code?"Internal server error":e.message),this.setState({isLoading:!1,isCopying:!1})})),a()(this,"getMediaRequest",(e=>{const{nextHandle:t,media:n}=this.state;if(!1===t&&n.length>0)return void this.setState({isLoading:!1});const r=this.getRequestUrl(e);this.setAuthenticated(!0),u()({path:r,method:"GET",parse:void 0===window.wpcomFetch}).then((e=>{this.setState({account:e.meta.account,media:this.mergeMedia(n,e.media),nextHandle:e.meta.next_page,isLoading:!1})})).catch(this.handleApiError)})),a()(this,"copyMedia",((e,t,n)=>{var r;this.setState({isCopying:e}),this.props.noticeOperations.removeAllNotices(),this.modalElement&&this.modalElement.focus(),u()({path:t,method:"POST",data:{external_ids:e.map((e=>e.guid)),media:e.map((e=>({guid:e.guid,caption:e.caption,title:e.title}))),service:n,post_id:null!==(r=this.props.postId)&&void 0!==r?r:0}}).then((e=>{e.media&&(e=e.media.map((e=>({alt:e.alt,caption:e.caption,id:e.ID,type:"image",url:e.URL}))));const{value:t,addToGallery:n,multiple:r}=this.props,a=r?e:e[0],o=e.find((e=>e.errors));if(o){const{errors:e}=o,t=Object.keys(e)[0];this.handleApiError({code:t,message:e[t]})}else this.props.onClose(),this.props.onSelect(n?t.concat(e):a)})).catch(this.handleApiError)})),a()(this,"onChangePath",((e,t)=>{this.setState({path:e},t)})),this.defaultAccount={image:"",name:""},this.state={account:this.defaultAccount,media:[],nextHandle:!1,isLoading:!1,isCopying:null,isAuthenticated:!0,path:{ID:g.oI}}}mergeMedia(e,t){return(0,i.uniqBy)(e.concat(t),"ID")}getRequestUrl(e){const{nextHandle:t}=this.state;return t?e+"&page_handle="+encodeURIComponent(t):e}render(){const{account:t,isAuthenticated:n,isCopying:r,isLoading:a,media:i,nextHandle:s,path:c}=this.state,{allowedTypes:u,multiple:p=!1,noticeUI:m,onClose:h}=this.props,f=r?__("Inserting media","jetpack"):__("Select media","jetpack",0),g=r?__("When the media is finished copying and inserting, you will be returned to the editor.","jetpack"):__("Select the media you would like to insert into the editor.","jetpack",0),b="jetpack-external-media-browser__description",v=l()({"jetpack-external-media-browser":!0,"jetpack-external-media-browser--is-copying":r});return(0,o.createElement)(d.Modal,{onRequestClose:h,title:f,aria:{describedby:b},className:v},(0,o.createElement)("div",{ref:this.contentRef},m,(0,o.createElement)("p",{id:b,className:"jetpack-external-media-browser--visually-hidden"},g),(0,o.createElement)(e,{account:t,getMedia:this.getMedia,copyMedia:this.copyMedia,isCopying:r,isLoading:a,media:i,pageHandle:s,allowedTypes:u,isAuthenticated:n,setAuthenticated:this.setAuthenticated,multiple:p,path:c,onChangePath:this.onChangePath})))}}return(0,f.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()})))((0,d.withNotices)(t))}))}},11317:function(e,t,n){"use strict";n.d(t,{Qu:function(){return i}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["allowedMimeTypes"],[])}function i(e,t){if(!e||!t)return!1;if(!o())return!1;const n=(r=t)?(0,a.pickBy)(o(),(e=>(0,a.startsWith)(e,`${r}/`))):{};var r;const i=(s=n)?(0,a.flatten)((0,a.map)((0,a.keys)(s),(e=>e.split("|")))):[];var s;if("string"==typeof e){const t=e.split(".").pop();return t&&i.includes(t)}return"object"==typeof e&&(e.type&&(0,a.values)(n).includes(e.type))}},5820:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){const e=(0,r.getCategories)();for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];for(const t of n)if(e.some((e=>{let{slug:n}=e;return n===t})))return t;throw new Error(`Could not find a category from the provided list: ${n.join(",")}`)}},74251:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(96483);function a(e,t){if(!(0,r.isURL)(t))return null;let n=t;try{const a=(0,r.getQueryArg)(t,"state"),o=JSON.parse(atob(a));if(e)o.from_editor_post_id=e;else{const e=new URLSearchParams(window.location.search);o.from_site_editor_post_id=e.get("postId"),o.from_site_editor_post_type=e.get("postType")}n=(0,r.addQueryArgs)(t,{state:btoa(JSON.stringify(o))})}catch(e){0}return n}},4554:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(92819);const a=(e,t)=>(0,r.reduce)(t,((t,n,r)=>{if(void 0===e[r])return t;const{type:a,validator:o,validValues:i,default:s}=e[r];return t[r]="boolean"===a?"false"!==n&&!!n:o?o(n)?n:s:i?i.includes(n)?n:s:n,t}),{})},59809:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(73139);t.Z=e=>{let{children:t=null,isError:n=!1,...r}=e;const i=s()("help-message",{"help-message-is-error":n});return t&&(0,o.createElement)("div",a()({className:i},r),n&&(0,o.createElement)(l.Z,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),(0,o.createElement)("span",null,t))}},81427:function(e,t,n){"use strict";n.d(t,{Ae:function(){return v},FG:function(){return m},He:function(){return d},IM:function(){return g},JO:function(){return f},K9:function(){return y},h:function(){return k},ll:function(){return E},yk:function(){return h},zf:function(){return b}});var r=n(82402),a=n.n(r),o=n(69307),i=n(55609),s=n(65235),l=n.n(s),c=n(80550),u=n(70355);const p=c.O["Jetpack Green 40"],d=e=>(0,o.createElement)(i.SVG,a()({height:"24",width:"24",viewBox:"1.2 10.8 169.6 169.6",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.Path,{d:"m43.6 49.4c23.4 0 42.4 19 42.4 42.4v3.9h-80.9c-2.1 0-3.8-1.7-3.9-3.9 0-23.4 19-42.4 42.4-42.4z",fill:"#f6bc04"}),(0,o.createElement)(i.Path,{d:"m132.2 53.2c0 23.4-19 42.4-42.4 42.4h-3.8v-80.9c0-2.1 1.7-3.9 3.8-3.9 23.5 0 42.4 19 42.4 42.4z",fill:"#ea4335"}),(0,o.createElement)(i.Path,{d:"m128.4 141.9c-23.4 0-42.4-19-42.4-42.4v-3.9h80.9c2.1 0 3.9 1.7 3.9 3.8 0 23.5-19 42.5-42.4 42.5z",fill:"#4285f4"}),(0,o.createElement)(i.Path,{d:"m39.8 138c0-23.4 19-42.4 42.4-42.4h3.8v80.9c0 2.1-1.7 3.8-3.9 3.9-23.4 0-42.3-19-42.3-42.4z",fill:"#34a853"})),m=e=>(0,o.createElement)(i.SVG,a()({style:{fill:"#30272e",background:"#ffe033",padding:"3px",width:"22px",height:"24px"},width:"46",height:"42",viewBox:"0 0 46 42",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M0 9.3975C0 14.5687 4.1722 18.795 9.3353 18.795V0C4.1722 0 0 4.2 0 9.3975Z"}),(0,o.createElement)(i.Path,{d:"M13.6118 9.3975C13.6118 14.5687 17.784 18.795 22.9471 18.795V0C17.8101 0 13.6118 4.2 13.6118 9.3975Z"}),(0,o.createElement)(i.Path,{d:"M36.5589 18.795C41.7147 18.795 45.8942 14.5876 45.8942 9.3975C45.8942 4.2074 41.7147 0 36.5589 0C31.4032 0 27.2236 4.2074 27.2236 9.3975C27.2236 14.5876 31.4032 18.795 36.5589 18.795Z"}),(0,o.createElement)(i.Path,{d:"M0 32.6025C0 37.8 4.1722 42 9.3353 42V23.2312C4.1722 23.2312 0 27.4312 0 32.6025Z"}),(0,o.createElement)(i.Path,{d:"M13.6118 32.5238C13.6118 37.695 17.784 41.9213 22.9471 41.9213V23.1525C17.8101 23.1525 13.6118 27.3525 13.6118 32.5238Z"}),(0,o.createElement)(i.Path,{d:"M36.5589 41.9212C41.7147 41.9212 45.8942 37.7138 45.8942 32.5238C45.8942 27.3337 41.7147 23.1263 36.5589 23.1263C31.4032 23.1263 27.2236 27.3337 27.2236 32.5238C27.2236 37.7138 31.4032 41.9212 36.5589 41.9212Z"}))),h=e=>(0,o.createElement)(i.SVG,a()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),(0,o.createElement)(i.Path,{d:"M14 7H9v10h3.9v-3.8H14c1.7 0 3.1-1.4 3.1-3.1C17.2 8.4 15.8 7 14 7z"}),(0,o.createElement)(i.Path,{d:"M20.5 2h-17C2.7 2 2 2.7 2 3.5v17c0 .8.7 1.5 1.5 1.5h17c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5zm-5.6 13.2V19H7V5h7c2.8 0 5.1 2.3 5.1 5.1.1 2.5-1.8 4.7-4.2 5.1z"})),f=()=>{const e="#757575";return(0,o.createElement)(i.SVG,{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/SVG",x:"0px",y:"0px",viewBox:"0 0 1292 448",style:{enableBackground:"new 0 0 1292 448"}},(0,o.createElement)(i.G,{id:"Icon"},(0,o.createElement)(i.Path,{class:"st0",fill:"#F6B704",d:"M171.6,177.4c23.4,0,42.4,19,42.4,42.4v3.9h-80.9c-2.1,0-3.8-1.7-3.9-3.9C129.2,196.4,148.2,177.4,171.6,177.4 C171.6,177.4,171.6,177.4,171.6,177.4z"}),(0,o.createElement)(i.Path,{class:"st1",fill:"#E54335",d:"M260.2,181.2c0,23.4-19,42.4-42.4,42.4H214v-80.9c0-2.1,1.7-3.9,3.8-3.9h0 C241.3,138.8,260.2,157.8,260.2,181.2C260.2,181.2,260.2,181.2,260.2,181.2z"}),(0,o.createElement)(i.Path,{class:"st2",fill:"#4280EF",d:"M256.4,269.9c-23.4,0-42.4-19-42.4-42.4v-3.9h80.9c2.1,0,3.9,1.7,3.9,3.8v0 C298.8,250.9,279.8,269.9,256.4,269.9C256.4,269.9,256.4,269.9,256.4,269.9z"}),(0,o.createElement)(i.Path,{class:"st3",fill:"#34A353",d:"M167.8,266c0-23.4,19-42.4,42.4-42.4c0,0,0,0,0,0h3.9v80.9c0,2.1-1.7,3.8-3.9,3.9 C186.7,308.4,167.8,289.4,167.8,266z"})),(0,o.createElement)(i.G,{id:"Photos"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M796,272v-91.6h31.2c15.2,0,28.7,11.3,28.7,27.3s-13.4,27.3-28.7,27.3h-19.4V272H796z M827.5,223.6 c8.8,0,16-7.2,16-16s-7.2-16-16-16h-19.7v32H827.5z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M875.8,209.3l-0.5,8.7h0.5c3.3-5.8,11.3-10.8,19.8-10.8c16,0,23.9,10.9,23.9,26.4V272h-11.8v-36.6 c0-13-6.5-17.4-15.5-17.4c-10.2,0-16.5,9.7-16.5,19.3V272H864v-91.6h11.8V209.3z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M993.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4S993.8,221.6,993.8,240.6z M982,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S982,255,982,240.6L982,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1008,252.9V220h-11v-10.7h11v-19.2h11.8v19.2h15.3V220h-15.3v32c0,7,2.9,10.2,8.4,10.2c1.8,0.1,3.7-0.3,5.4-1 l4.1,10.1c-3,1.2-6.2,1.8-9.5,1.7C1015,273,1008,265.7,1008,252.9z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1105.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4 S1105.8,221.6,1105.8,240.6z M1094,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S1094,255,1094,240.6 L1094,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1111,256.1l10.5-4.4c3.3,7.9,9.5,11.8,17,11.8c7.3,0,12.5-3.6,12.5-8.8c0-3.2-1.9-6.6-8.6-8.3l-12.7-3.1 c-5.8-1.4-16.8-6.4-16.8-17.4c0-11.4,11.8-18.7,24.8-18.7c10.9,0,20.3,5,24.2,14.6l-10.2,4.2c-2.4-5.9-8.2-8.3-14.3-8.3 c-6.7,0-12.4,3-12.4,8.1c0,4,3.3,6.1,8.3,7.3l12.4,2.9c12.4,2.9,17.3,10.6,17.3,18.3c0,11.1-10,19.7-24.7,19.7 C1123.2,274,1114.7,265.1,1111,256.1z"})),(0,o.createElement)(i.G,{id:"Google"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M348.7,221.6c0-28.9,24.3-52.5,53.2-52.5c13.5-0.2,26.4,5,36,14.5l-10.1,10.1c-6.9-6.7-16.2-10.4-25.9-10.2 c-21.1,0-37.6,17-37.6,38.2s16.5,38.1,37.6,38.1c13.7,0,21.5-5.5,26.5-10.5c4.1-4.1,6.8-10,7.8-18H402v-14.4h48.3 c0.5,3,0.8,6,0.8,9c0,10.8-2.9,24.1-12.4,33.5c-9.2,9.6-21,14.7-36.6,14.7C373,274,348.7,250.5,348.7,221.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M490,206.5c-18.7,0-33.9,14.2-33.9,33.8S471.3,274,490,274s33.9-14.3,33.9-33.8S508.7,206.5,490,206.5z M490,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S500.2,260.7,490,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M564,206.5c-18.7,0-33.9,14.2-33.9,33.8S545.3,274,564,274s33.9-14.3,33.9-33.8S582.7,206.5,564,206.5z M564,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S574.2,260.7,564,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M654.8,208.5v5.5h-0.5c-3.3-4-9.7-7.6-17.8-7.6c-16.9,0-32.4,14.9-32.4,33.9s15.5,33.7,32.4,33.7 c8.1,0,14.5-3.6,17.8-7.7h0.5v4.9c0,12.9-6.9,19.8-18,19.8c-9.1,0-14.7-6.5-17-12l-12.9,5.4c5,12.1,16.8,20.1,30,20 c17.4,0,32.1-10.2,32.1-35.2v-60.7H654.8z M637.8,260.7c-10.2,0-18.8-8.6-18.8-20.4s8.6-20.6,18.8-20.6s18,8.7,18,20.6 S647.9,260.7,637.8,260.7L637.8,260.7z"}),(0,o.createElement)(i.Rect,{x:"679.2",y:"172.7",class:"st4",fill:e,width:"14.8",height:"99.3"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M734.7,260.7c-7.6,0-12.9-3.5-16.4-10.2l45.2-18.7L762,228c-2.8-7.6-11.4-21.5-28.9-21.5s-31.9,13.7-31.9,33.8 c0,19,14.3,33.8,33.5,33.8c11.3,0.1,21.9-5.6,28.2-15l-11.5-7.7C747.5,257,742.3,260.7,734.7,260.7z M733.6,219.5 c5.9,0,10.9,2.9,12.5,7.2l-30.2,12.5C715.5,226.2,726,219.5,733.6,219.5L733.6,219.5z"})))},g=e=>{let{size:t=24,border:n=0,className:r,color:a=p}=e;const s=n?-n/t*32:0;return(0,o.createElement)(i.SVG,{className:l()("jetpack-logo",r),width:t,height:t,viewBox:`${s} ${s} ${32-2*s} ${32-2*s}`},(0,o.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:a,stroke:n?"#fff":"transparent",strokeWidth:n,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:`15,19 ${7-.5*s},19 15,${3-s}`}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:`17,${29+s} 17,13 ${25+.5*s},13`}))},b={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 100 100"},(0,o.createElement)(i.Path,{d:"M100,44H72.4l23.9-13.8l-6-10.4L66.4,33.6L80.2,9.7l-10.4-6L56,27.59V0H44v27.6L30.2,3.7l-10.4,6l13.8,23.9 L9.7,19.8l-6,10.4L27.6,44H0V56h27.6L3.7,69.8l6,10.4l23.9-13.8L19.8,90.3l10.4,6L44,72.4V100H56V72.41l13.8,23.9l10.4-6L66.4,66.4 l23.9,13.8l6-10.4L72.4,56H100V44z M50,65.23c-8.41,0-15.23-6.82-15.23-15.23c0-8.41,6.82-15.23,15.23-15.23S65.23,41.59,65.23,50 C65.23,58.41,58.41,65.23,50,65.23z"}))},v={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.7 17",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{d:"m20.7 12.9-.9-11c0-.5-.2-.9-.5-1.3-.3-.3-.8-.5-1.3-.5L1.9 0h-.1c-.2 0-.5 0-.7.1C.9.2.7.4.5.5.4.7.2.9.1 1.1c-.1.2-.1.5-.1.7v.1l.9 13.4c0 .5.2.9.5 1.3.3.2.8.4 1.3.4H3l16.1-2c.4 0 .9-.3 1.1-.6.3-.3.5-.8.5-1.2v-.3zm-3.1.8L4.2 15.3H4c-.4 0-.8-.1-1-.4-.3-.3-.4-.6-.5-1L1.7 3.2v-.1c0-.4.2-.8.5-1 .3-.3.7-.4 1-.4h.1l13.5.1c.4 0 .8.1 1 .4.3.3.4.6.5 1L19 12v.3c0 .4-.2.7-.4 1-.3.2-.6.4-1 .4z"}))},k={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 43",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{transform:"translate(-25)",fillRule:"evenodd",d:"M37 31.908c0 1.376.893 2.268 2.27 2.268H45.9c3.956 0 7.192-1.337 9.392-3.68H37v1.412zM45.901 9H39.27C37.893 9 37 9.893 37 11.269v1.411h18.294C53.093 10.338 49.857 9 45.9 9zm5.787 16.176c0 1.113.726 1.835 1.845 1.835h3.973c.45-1.117.753-2.345.894-3.671h-4.867c-1.119 0-1.845.722-1.845 1.836zm-5.507-7.166c0 1.113.725 1.836 1.844 1.836H58.4a13.644 13.644 0 00-.894-3.672h-9.481c-1.119 0-1.844.723-1.844 1.836zm1.843 7.166c0-1.114-.726-1.836-1.845-1.836H37v3.671h9.18c1.118 0 1.843-.722 1.843-1.835zm-5.508-7.166c0-1.113-.726-1.836-1.844-1.836H37v3.672h3.672c1.118 0 1.844-.723 1.844-1.836zM83.667 21.209c.296-1.437",clipRule:"evenodd"}))},y={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})))},E=((0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M15.9216 2H2.98533C2.43803 2 1.99023 2.45 1.99023 3V17L5.97062 13H15.9216C16.4689 13 16.9167 12.55 16.9167 12V3C16.9167 2.45 16.4689 2 15.9216 2ZM14.9265 4V11H5.14469L3.98043 12.17V4H14.9265ZM18.9069 6H20.8971C21.4444 6 21.8922 6.45 21.8922 7V22L17.9118 18H6.96572C6.41842 18 5.97062 17.55 5.97062 17V15H18.9069V6Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M3.98042 2H19.9019C20.9965 2 21.8921 2.9 21.8921 4V16C21.8921 17.1 20.9965 18 19.9019 18H5.97061L1.99023 22V4C1.99023 2.9 2.88582 2 3.98042 2ZM5.97061 16H19.9019V4H3.98042V18L5.97061 16Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M11.1114 8H20.0002M11.1113 15H20.0002",stroke:(0,u.m)(),strokeWidth:"1.5"}),(0,o.createElement)(i.Path,{d:"M4 10V6L8 8L4 10Z",fill:(0,u.m)()}),(0,o.createElement)(i.Path,{d:"M4 17V13L8 15L4 17Z",fill:(0,u.m)()}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M4 12V4L11 8L4 12Z"}),(0,o.createElement)(i.Path,{d:"M4 14.5H20V16H4V14.5Z"}),(0,o.createElement)(i.Path,{d:"M4 18.5H13V20H4V18.5Z"}))),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M2.5 7.5V4.5H15.5V7.5H10.5V19.5H7.5V7.5H2.5ZM12.5 9.5H21.5V12.5H18.5V19.5H15.5V12.5H12.5V9.5Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M12.7049 2V6C8.30658 6 4.74414 9.58 4.74414 14C4.74414 18.42 8.30658 22 12.7049 22C17.1032 22 20.6656 18.42 20.6656 14H18.6755C18.6755 17.31 15.9987 20 12.7049 20C9.41113 20 6.73433 17.31 6.73433 14C6.73433 10.69 9.41113 8 12.7049 8V12L17.6804 7L12.7049 2ZM11.6501 12.73L11.4013 14.9L12.068 15.06C12.0753 15.0526 12.0827 15.0447 12.0901 15.0366C12.1131 15.0116 12.1375 14.9851 12.1675 14.97C12.1874 14.96 12.2073 14.9475 12.2272 14.935C12.2471 14.9225 12.2671 14.91 12.287 14.9C12.3268 14.88 12.3865 14.86 12.4362 14.85C12.486 14.84 12.5556 14.83 12.6352 14.83C12.7447 14.83 12.8542 14.85 12.9338 14.88C13.0134 14.91 13.083 14.96 13.1427 15.03C13.2024 15.1 13.2422 15.17 13.2721 15.27C13.302 15.37 13.3119 15.47 13.3119 15.58V15.58C13.3119 15.69 13.3119 15.79 13.2821 15.89C13.2522 15.99 13.2124 16.07 13.1726 16.14C13.1328 16.21 13.0631 16.27 12.9935 16.31C12.9238 16.35 12.8343 16.37 12.7248 16.37C12.5556 16.37 12.4163 16.31 12.3069 16.22C12.1974 16.13 12.1377 15.99 12.1178 15.81H11.2819C11.2819 16.01 11.3317 16.19 11.4113 16.34C11.4909 16.49 11.5904 16.63 11.7297 16.73C11.869 16.83 12.0183 16.92 12.1874 16.97C12.3566 17.02 12.5357 17.05 12.7148 17.05C12.9636 17.05 13.1726 17 13.3517 16.93C13.5308 16.86 13.6801 16.75 13.7995 16.62C13.9189 16.49 14.0085 16.34 14.0682 16.17C14.1279 16 14.1577 15.82 14.1577 15.63C14.1577 15.41 14.1179 15.21 14.0682 15.03C14.0184 14.85 13.9289 14.7 13.8194 14.58C13.7099 14.46 13.5706 14.37 13.4114 14.3C13.2522 14.23 13.0731 14.2 12.8641 14.2C12.7945 14.2 12.7248 14.21 12.6651 14.22C12.6352 14.225 12.6054 14.2325 12.5755 14.24C12.5457 14.2475 12.5158 14.255 12.486 14.26C12.4263 14.27 12.3765 14.29 12.3367 14.31C12.3201 14.3183 12.3035 14.325 12.2876 14.3313C12.2654 14.3401 12.2446 14.3483 12.2272 14.36L12.3367 13.44H14.0284V12.73H11.6501Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M11.9412 2V6C16.3395 6 19.902 9.58 19.902 14C19.902 18.42 16.3395 22 11.9412 22C7.54291 22 3.98047 18.42 3.98047 14H5.97066C5.97066 17.31 8.64746 20 11.9412 20C15.235 20 17.9118 17.31 17.9118 14C17.9118 10.69 15.235 8 11.9412 8V12L6.96575 7L11.9412 2ZM10.8864 12.73L10.6376 14.9L11.3044 15.06C11.3117 15.0526 11.319 15.0447 11.3264 15.0366C11.3494 15.0116 11.3738 14.9851 11.4039 14.97C11.4238 14.96 11.4437 14.9475 11.4636 14.935C11.4835 14.9225 11.5034 14.91 11.5233 14.9C11.5631 14.88 11.6228 14.86 11.6725 14.85C11.7223 14.84 11.792 14.83 11.8716 14.83C11.981 14.83 12.0905 14.85 12.1701 14.88C12.2497 14.91 12.3194 14.96 12.3791 15.03C12.4388 15.1 12.4786 15.17 12.5084 15.27C12.5383 15.37 12.5482 15.47 12.5482 15.58V15.58C12.5482 15.69 12.5482 15.79 12.5184 15.89C12.4885 15.99 12.4487 16.07 12.4089 16.14C12.3691 16.21 12.2995 16.27 12.2298 16.31C12.1601 16.35 12.0706 16.37 11.9611 16.37C11.792 16.37 11.6526 16.31 11.5432 16.22C11.4337 16.13 11.374 15.99 11.3541 15.81H10.5182C10.5182 16.01 10.568 16.19 10.6476 16.34C10.7272 16.49 10.8267 16.63 10.966 16.73C11.1053 16.83 11.2546 16.92 11.4238 16.97C11.5929 17.02 11.7721 17.05 11.9512 17.05C12.1999 17.05 12.4089 17 12.588 16.93C12.7672 16.86 12.9164 16.75 13.0358 16.62C13.1552 16.49 13.2448 16.34 13.3045 16.17C13.3642 16 13.3941 15.82 13.3941 15.63C13.3941 15.41 13.3543 15.21 13.3045 15.03C13.2547 14.85 13.1652 14.7 13.0557 14.58C12.9463 14.46 12.807 14.37 12.6477 14.3C12.4885 14.23 12.3094 14.2 12.1004 14.2C12.0308 14.2 11.9611 14.21 11.9014 14.22C11.8716 14.225 11.8417 14.2325 11.8119 14.24C11.782 14.2475 11.7522 14.255 11.7223 14.26C11.6626 14.27 11.6128 14.29 11.573 14.31C11.5564 14.3183 11.5398 14.325 11.5239 14.3313C11.5017 14.3401 11.481 14.3483 11.4636 14.36L11.573 13.44H13.2647V12.73H10.8864Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M0 0h24v24H0z",fill:"none"}),(0,o.createElement)(i.Path,{d:"M7 2v11h3v9l7-12h-4l4-8z",fill:"currentColor"})),(0,o.createElement)(i.SVG,{width:"29",height:"21",viewBox:"0 0 29 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(i.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2.79037 0.59375C4.0363 0.59375 5.13102 1.41658 5.47215 2.60947L8.8452 14.4044C8.8486 14.4164 8.85411 14.4273 8.86124 14.4368L12.8572 0.59375H15.0927H21.2721C25.6033 0.59375 28.5066 3.39892 28.5066 7.64565C28.5066 11.9411 25.5272 14.6196 21.0818 14.6196H18.1499H14.3719L13.6379 16.8813C12.9796 18.9095 11.0827 20.2839 8.94152 20.2839C6.80035 20.2839 4.90341 18.9095 4.24517 16.8813L0.137069 4.22276C-0.444671 2.43022 0.898038 0.59375 2.79037 0.59375ZM15.7374 10.4119H20.0156C21.8718 10.4119 22.9856 9.35018 22.9856 7.64565C22.9856 5.93137 21.8718 4.91839 20.0156 4.91839H17.5202L15.7374 10.4119Z",fill:"#000000"})))},12923:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_active"],!1)}},35089:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_current_user_connected"],!1)}},99621:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_offline_mode"],!1)}},63066:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(9818),i=n(65736),s=(n(53961),n(13419));const __=i.__;function l(){const e=(0,s.lQ)();return void 0!==typeof window&&window.location&&e?(0,s.Wp)()||(0,s.Ug)()?`https://wordpress.com/plans/my-plan/${e}`:`${window.location.protocol}//${e.replace("::","/")}/wp-admin/admin.php?page=jetpack#/my-plan`:null}(async()=>{if(void 0!==typeof window&&window.location){if(new URLSearchParams(window.location.search).get("plan_upgraded")){let e=null;e:try{if((0,s.Wp)())break e;const t=await a()({path:"/jetpack/v4/site"});e=JSON.parse(t.data).plan.product_name}finally{const t=l();(0,o.dispatch)("core/notices").createNotice("success",e?(0,i.sprintf)(
/* translators: %s is the plan name, such as Jetpack Premium. */
-__("Congratulations! Your site is now on the %s plan.","jetpack"),e):__("Congratulations! Your site is now on a paid plan.","jetpack"),{isDismissible:!0,...t&&{actions:[{url:c(),label:__("View my plan","jetpack")}]}})}}}})()},44298:function(e,t,n){"use strict";n.d(t,{Qq:function(){return p},X1:function(){return d},Rl:function(){return m},FK:function(){return f},HD:function(){return g},m3:function(){return b}});var r=n(92819),a=n(96483),o=n(65736),i=n(47583),s=n(58014),l=n(4235),c=n(21409),u=n(28069);const __=o.__;function p(e){let{planSlug:t,plan:n,postId:o,postType:i}=e;const c=(0,r.startsWith)(t,"jetpack_")?t:(0,r.get)(n,["path_slug"]),u=(void 0===i?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.Z)().replace("::","/")}/wp-admin/admin.php`,{page:"gutenberg-edit-site",postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(i)?"":"edit";return(0,s.Wp)()?(0,a.addQueryArgs)("/"+(0,r.compact)([e,i,(0,l.Z)(),o]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.Z)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:o,plan_upgraded:1})})();return(0,s.Ug)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,l.Z)()}`,{redirect_to:u,customerType:"business"}):c&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.Z)()}/${c}`,{redirect_to:u})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:r}=(0,c.Z)(t);return!n&&"missing_plan"===r}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:r}=(0,c.Z)(t);return(0,u._)(r,n)}const h=[{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 f(){return(0,r.get)((0,i.Z)(),"jetpack.enable_upgrade_nudge",!1)}const g=e=>(0,r.map)(h,"name").includes(e),b=e=>(0,r.head)((0,r.filter)(h,(t=>{let{name:n}=t;return n===e})))},99230:function(e,t,n){"use strict";n.d(t,{uM:function(){return i},yX:function(){return s},bu:function(){return l}});var r=n(86989),a=n.n(r),o=n(58014);async function i(){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function l(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},57836:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},28069:function(e,t,n){"use strict";n.d(t,{_:function(){return p},Z:function(){return h}});var r=n(65736),a=n(92694),o=n(4981),i=n(1949),s=n(21409),l=n(28137);const __=r.__,c={paid:(0,r._x)("paid","Short label appearing near a block requiring a paid plan","jetpack"),beta:__("beta","jetpack")},u=i.Kc||[];function p(e,t){return"missing_plan"===e&&t.required_plan}function d(e){const t=[];return u.includes(e)&&t.push(c.beta),t}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length?`${e} (${t.join(", ")})`:e}function h(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:i,details:c,unavailableReason:u}=(0,s.Z)(e),h=p(u,c),f=r?"jetpack/":"";if(!i&&!h)return!1;const g=(0,o.registerBlockType)(f+e,{...t,title:m(t.title,d(e))});return h&&(0,a.addFilter)("editor.BlockListBlock",`${f+e}-with-has-warning-is-interactive-class-names`,(0,l.Z)(f+e)),n.forEach((e=>(0,o.registerBlockType)(f+e.name,e.settings))),g}},41632:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:o},(0,r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},55637:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=(e,t,n,o,i)=>{const{isSelected:s}=t,l=t.attributes[e];return(0,r.createElement)("div",{className:s?`jetpack-${e}-block is-selected`:`jetpack-${e}-block`},!s&&""!==l&&o(t),(s||""===l)&&(0,r.createElement)(a.PlainText,{value:l,placeholder:n,"aria-label":n,onChange:i}))}},58014:function(e,t,n){"use strict";n.d(t,{Wp:function(){return i},Ug:function(){return s},M6:function(){return l}});var r=n(92819),a=n(47583);function o(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===o()}function s(){return"atomic"===o()}function l(){return(0,r.get)((0,a.Z)(),["jetpack","is_private_site"],!1)}},92919:function(e,t,n){"use strict";var r=n(9818),a=n(65736),o=(n(53961),n(82827));const __=a.__;if(void 0!==typeof window&&window.location){const{query:e}=(0,o.Qc)(window.location.href,!0);e.stripe_connect_success?(0,r.dispatch)("core/notices").createNotice("success",__("Congrats! Your site is now connected to Stripe. You can now start accepting funds!","jetpack")):e.stripe_connect_cancelled&&(0,r.dispatch)("core/notices").createNotice("error",__("You cancelled connecting your site to Stripe.","jetpack"))}},87072:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(86989),o=n.n(a);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;return t(!0),new Promise(((n,r)=>{o()({path:`/wpcom/v2/resolve-redirect/?url=${encodeURIComponent(e)}`}).then((a=>{t(!1);const o=a.status?parseInt(a.status,10):null;o&&o>=400?r():n(a.url||e)}),(()=>{t(!1),r()}))}))}},37930:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),a=n(9818),o=n(69307);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t&&t(e),n?window.open(e,"_blank"):window.top.location.href=e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const[n,s]=(0,o.useState)(!1),{isAutosaveablePost:l,isDirtyPost:c,currentPost:u}=(0,a.useSelect)((e=>{const t=e("core/editor");return{isAutosaveablePost:t.isEditedPostAutosaveable(),isDirtyPost:t.isEditedPostDirty(),currentPost:t.getCurrentPost()}}),[]),p=Object.keys(u).length>0,d=(0,a.useSelect)((e=>!!window.wp.customize||!!e("core/edit-widgets"))),m=(0,a.dispatch)("core/editor").savePost,h=(0,a.useSelect)((e=>e("core").__experimentalGetDirtyEntityRecords())),f=async()=>{for(let e=0;e<h.length;e++)await(0,a.dispatch)("core").saveEditedEntityRecord(h[e].kind,h[e].name,h[e].key)},g=async e=>{e.preventDefault(),p?c&&l&&await m(e):await f(e)},b=async r=>{r.preventDefault(),n||(s(!0),g(r).then((()=>{i(e,t,d)})))};return{autosave:g,autosaveAndRedirect:b,isRedirecting:n}}},18733:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(92819),a=n(9818),o=n(92694),i=(n(13180),n(44298)),s=n(37930);const l="a8c.wpcom-block-editor.openCheckoutModal";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const{checkoutUrl:n,planData:c}=(0,a.useSelect)((t=>{const n=t("core/editor"),r=t("wordpress-com/plans"),{id:a,type:o}=n.getCurrentPost(),s=r&&r.getPlan(e);return{checkoutUrl:(0,i.Qq)({plan:s,planSlug:e,postId:a,postType:o}),planData:s}}),[]),{autosave:u,autosaveAndRedirect:p,isRedirecting:d}=(0,s.Z)(n,t),m=async e=>{if(e.preventDefault(),(0,o.hasAction)(l))return e.preventDefault(),u(e),void(0,o.doAction)(l,{products:[c]});p(e)};return[n,m,d,c]}},28137:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(94333);t.Z=e=>(0,i.createHigherOrderComponent)((t=>n=>(0,o.createElement)(t,a()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},15111:function(e,t,n){"use strict";n.d(t,{tT:function(){return r},Wp:function(){return a},Vy:function(){return o},_5:function(){return i}});const r="jetpack/media-source",a="is-playing",o="is-error",i="is-paused"},73617:function(e,t,n){"use strict";var r=n(9818),a=n(46169),o=n(15111);if(void 0!==r.createReduxStore){const e=(0,r.createReduxStore)(o.tT,a.Z);(0,r.register)(e)}else(0,r.registerStore)(o.tT,a.Z)},46169:function(e,t,n){"use strict";var r=n(15111);const a={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const n=Object.keys(e.sources);if(e.default?t=e.default:n?.length&&(t=e.sources[n[0]].id),t)return e.sources[t]},getMediaPlayerState:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.state,getMediaSourceCurrentTime:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.currentTime,getMediaSourceDuration(e,t){if(!t){return o.getDefaultMediaSource(e)?.duration}return e.sources?.[t]?.duration},getMediaSourceDomReference(e,t){const n=t?e.sources?.[t]:o.getDefaultMediaSource(e);if(!n)return;const r=n?.domId;return r?document.getElementById(r):void 0}},i={reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;const n=t.id||e.default||Object.keys(e.sources)?.[0];switch(t.type){case"REGISTER_MEDIA_SOURCE":return{...e,sources:{...e.sources,[t.id]:{id:t.id,...t.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...e,sources:{...e.sources,[t.id]:{...e.sources[t.id],...t.data}}};case"UNREGISTER_MEDIA_SOURCE":{const n=Object.assign({},e);return n.sources[t.id]&&delete n.sources[t.id],t.id===e.default&&(n.default=Object.keys(e.sources)?.[0]),n}case"SET_DEFAULT_MEDIA_SOURCE":return{...e,default:t.id};case"SET_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[n]:{...e.sources[n],state:t.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[n]:{...e.sources[n],state:e.sources[n].state===r.Wp?r._5:r.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...e,sources:{...e.sources,[n]:{...e.sources[n],currentTime:t.currentTime}}}}return e},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=i},75139:function(e,t,n){"use strict";n.d(t,{M:function(){return r},X:function(){return a}});var r={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 a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},78850:function(e,t,n){"use strict";n.d(t,{ZP:function(){return i}});var r=n(52141),a=n(63807),o=n(75139);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,o.X)(t);if(!i||isNaN(e))return null;var s=(0,r.Z)({},i,n),l=s.decimal,c=s.grouping,u=s.precision,p=s.symbol,d=e<0?"-":"",m=(0,a.Y4)(Math.abs(e),{decimals:u,thousandsSep:c,decPoint:l});return"".concat(d).concat(p).concat(m)}},94481:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99196),a=n(32365);function o(e,t){let n,a,i=[];for(let r=0;r<e.length;r++){const o=e[r];if("string"!==o.type){if(void 0===t[o.value])throw new Error(`Invalid interpolation, missing component node: \`${o.value}\``);if("object"!=typeof t[o.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${o.value}\``);if("componentClose"===o.type)throw new Error(`Missing opening component token: \`${o.value}\``);if("componentOpen"===o.type){n=t[o.value],a=r;break}i.push(t[o.value])}else i.push(o.value)}if(n){const s=function(e,t){const n=t[e];let r=0;for(let a=e+1;a<t.length;a++){const e=t[a];if(e.value===n.value){if("componentOpen"===e.type){r++;continue}if("componentClose"===e.type){if(0===r)return a;r--}}}throw new Error("Missing closing component token `"+n.value+"`")}(a,e),l=o(e.slice(a+1,s),t),c=(0,r.cloneElement)(n,{},l);if(i.push(c),s<e.length-1){const n=o(e.slice(s+1),t);i=i.concat(n)}}return i=i.filter(Boolean),0===i.length?null:1===i.length?i[0]:(0,r.createElement)(r.Fragment,null,...i)}function i(e){const{mixedString:t,components:n,throwErrors:r}=e;if(!n)return t;if("object"!=typeof n){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const i=(0,a.Z)(t);try{return o(i,n)}catch(e){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}},32365:function(e,t,n){"use strict";function r(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function a(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}n.d(t,{Z:function(){return a}})},47236:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(2571);function o(e){(0,r.assign)(e,a.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},59177:function(e,t,n){"use strict";function r(){var e=this;this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=function(t){t.source===e.windowInstance&&e.emit("message",t.data)}}(0,n(47236).Z)(r.prototype),r.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},r.prototype.getScreenCenterSpecs=function(e,t){var n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},r.prototype.isOpen=function(e){var t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},r.prototype.checkStatus=function(){for(var e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},r.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=r},39151:function(e,t,n){"use strict";var r=n(59177);t.Z=function(e,t){var n,a=new r.Z;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(function(){var e={};n&&n.keyring_id&&(e.keyring_id=Number(n.keyring_id),e.id_token=n.id_token,e.user=n.user),t(e)})),a.on("message",(function(e){return n=e}))}},48468:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(83712)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},83712:function(e,t,n){e.exports=function(e){function t(e){let n,a=null;function o(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!o.enabled)return;const i=o,s=Number(new Date),l=s-(n||s);i.diff=l,i.prev=n,i.curr=s,n=s,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(i,t),r.splice(c,1),c--}return e})),t.formatArgs.call(i,r);const u=i.log||t.log;u.apply(i,r)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=r,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null===a?t.enabled(e):a,set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},90922:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(31967)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},31967:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},20651:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,o=e.onClick,s=(e.icon,e.className),l=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-notice-outline",s,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:c,height:a,width:a,onClick:o},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},35381:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,o=e.onClick,s=(e.icon,e.className),l=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-star",s,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:c,height:a,width:a,onClick:o},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},7104:function(e,t,n){var r;e=n.nmd(e),function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof window&&window;o.global!==o&&o.window!==o&&o.self;var i,s=2147483647,l=36,c=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,h=String.fromCharCode;function f(e){throw RangeError(d[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function b(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(p,".")).split("."),t).join(".")}function k(e){for(var t,n,r=[],a=0,o=e.length;a<o;)(t=e.charCodeAt(a++))>=55296&&t<=56319&&a<o?56320==(64512&(n=e.charCodeAt(a++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),a--):r.push(t);return r}function v(e){return g(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?m(e/700):e>>1,e+=m(e/t);e>455;r+=l)e=m(e/35);return m(r+36*e/(e+38))}function w(e){var t,n,r,a,o,i,c,u,p,d,h,g=[],b=e.length,k=0,y=128,w=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&f("not-basic"),g.push(e.charCodeAt(r));for(a=n>0?n+1:0;a<b;){for(o=k,i=1,c=l;a>=b&&f("invalid-input"),((u=(h=e.charCodeAt(a++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l)>=l||u>m((s-k)/i))&&f("overflow"),k+=u*i,!(u<(p=c<=w?1:c>=w+26?26:c-w));c+=l)i>m(s/(d=l-p))&&f("overflow"),i*=d;w=E(k-o,t=g.length+1,0==o),m(k/t)>s-y&&f("overflow"),y+=m(k/t),k%=t,g.splice(k++,0,y)}return v(g)}function _(e){var t,n,r,a,o,i,c,u,p,d,g,b,v,w,_,C=[];for(b=(e=k(e)).length,t=128,n=0,o=72,i=0;i<b;++i)(g=e[i])<128&&C.push(h(g));for(r=a=C.length,a&&C.push("-");r<b;){for(c=s,i=0;i<b;++i)(g=e[i])>=t&&g<c&&(c=g);for(c-t>m((s-n)/(v=r+1))&&f("overflow"),n+=(c-t)*v,t=c,i=0;i<b;++i)if((g=e[i])<t&&++n>s&&f("overflow"),g==t){for(u=n,p=l;!(u<(d=p<=o?1:p>=o+26?26:p-o));p+=l)_=u-d,w=l-d,C.push(h(y(d+_%w,0))),u=m(_/w);C.push(h(y(u,0))),o=E(n,v,r==a),n=0,++r}++n,++t}return C.join("")}i={version:"1.3.2",ucs2:{decode:k,encode:v},decode:w,encode:_,toASCII:function(e){return b(e,(function(e){return u.test(e)?"xn--"+_(e):e}))},toUnicode:function(e){return b(e,(function(e){return c.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},15661:function(e,t,n){"use strict";n.r(t),n.d(t,{ucs2decode:function(){return m},ucs2encode:function(){return h},decode:function(){return b},encode:function(){return k},toASCII:function(){return y},toUnicode:function(){return v}});const r=2147483647,a=36,o=/^xn--/,i=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(l[e])}function d(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(s,".")).split("."),t).join(".");return r+a}function m(e){const t=[];let n=0;const r=e.length;for(;n<r;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t}const h=e=>String.fromCodePoint(...e),f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=a)e=c(e/35);return c(r+36*e/(e+38))},b=function(e){const t=[],n=e.length;let o=0,i=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let d=l>0?l+1:0;d<n;){let l=o;for(let t=1,i=a;;i+=a){d>=n&&p("invalid-input");const l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:a;(l>=a||l>c((r-o)/t))&&p("overflow"),o+=l*t;const m=i<=s?1:i>=s+26?26:i-s;if(l<m)break;const h=a-m;t>c(r/h)&&p("overflow"),t*=h}const m=t.length+1;s=g(o-l,m,0==l),c(o/m)>r-i&&p("overflow"),i+=c(o/m),o%=m,t.splice(o++,0,i)}var u;return String.fromCodePoint(...t)},k=function(e){const t=[];let n=(e=m(e)).length,o=128,i=0,s=72;for(const n of e)n<128&&t.push(u(n));let l=t.length,d=l;for(l&&t.push("-");d<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const m=d+1;n-o>c((r-i)/m)&&p("overflow"),i+=(n-o)*m,o=n;for(const n of e)if(n<o&&++i>r&&p("overflow"),n==o){let e=i;for(let n=a;;n+=a){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const o=e-r,i=a-r;t.push(u(f(r+o%i,0))),e=c(o/i)}t.push(u(f(e,0))),s=g(i,m,d==l),i=0,++d}++i,++o}return t.join("")},v=function(e){return d(e,(function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e}))},y=function(e){return d(e,(function(e){return i.test(e)?"xn--"+k(e):e}))},E={version:"2.1.0",ucs2:{decode:m,encode:h},decode:b,encode:k,toASCII:y,toUnicode:v};t.default=E},5157:function(e,t,n){"use strict";const r=n(55778),a=n(97115),o=n(63851),i=n(95946);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?a(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const a="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!a&&c(n,e).includes(e.arrayFormatSeparator);n=o?c(n,e):n;const i=a||o?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const a=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!a)return void(r[t]=n?c(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>c(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const a of e.split("&")){if(""===a)continue;let[e,i]=o(t.decode?a.replace(/\+/g," "):a,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:c(i,t),n(c(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=m(n[e],t);else r[e]=m(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=u(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",a,"]"].join("")]:[...n,[l(t,e),"[",l(a,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:(a=null===a?"":a,0===r.length?[[l(n,e),t,l(a,e)].join("")]:[[r,l(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const o=Object.keys(a);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const a=e[n];return void 0===a?"":null===a?l(n,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":a.reduce(r(n),[]).join("&"):l(n,t)+"="+l(a,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=p(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query);let s=t.stringify(i,n);s&&(s=`?${s}`);let c=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c=`#${l(e.fragmentIdentifier,n)}`),`${r}${s}${c}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:i(o,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}},63851:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},55778:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},84080:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},75423:function(e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},87696:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},76202:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},39126:function(e,t,n){"use strict";t.Any=n(26285),t.Cc=n(84080),t.Cf=n(75423),t.P=n(87696),t.Z=n(76202)},26285:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},86841:function(){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},a=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(e){return!1}})()||function(){var a=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof a){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var o=e[r];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var i in e)e.hasOwnProperty(i)&&this.append(i,e[i])}},o=a.prototype;o.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},o.delete=function(e){delete this._entries[e]},o.get=function(e){return e in this._entries?this._entries[e][0]:null},o.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},o.has=function(e){return e in this._entries},o.set=function(e,t){this._entries[e]=[String(t)]},o.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var a=0;a<n.length;a++)e.call(t,n[a],r,this)}},o.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},o.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},o.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=a}();var o=e.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,o=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)r=o[n].split("="),this.append(a(r[0]),r.length>1?a(r[1]):"")}})}("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var r,a=document;if(n&&(void 0===e.location||n!==e.location.href)){n=n.toLowerCase(),(r=(a=document.implementation.createHTMLDocument("")).createElement("base")).href=n,a.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=a.createElement("a");o.href=t,r&&(a.body.appendChild(o),o.href=o.href);var i=a.createElement("input");if(i.type="url",i.value=t,":"===o.protocol||!/:/.test(o.href)||!i.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new e.URLSearchParams(this.search),l=!0,c=!0,u=this;["append","delete","set"].forEach((function(e){var t=s[e];s[e]=function(){t.apply(s,arguments),l&&(c=!1,u.search=s.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var p=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==p&&(p=this.search,c&&(l=!1,this.searchParams._fromString(this.search),l=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},82827:function(e,t,n){"use strict";var r=n(7104),a=n(68070);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.Qc=v,t.WU=function(e){a.isString(e)&&(e=v(e));return e instanceof o?e.format():o.prototype.format.call(e)};var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(76250);function v(e,t,n){if(e&&a.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var v=e=c.join(s);if(v=v.trim(),!n&&1===e.split("#").length){var y=l.exec(v);if(y)return this.path=v,this.href=v,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?k.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=i.exec(v);if(E){var w=(E=E[0]).toLowerCase();this.protocol=w,v=v.substr(E.length)}if(n||E||v.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===v.substr(0,2);!_||E&&g[E]||(v=v.substr(2),this.slashes=!0)}if(!g[E]&&(_||E&&!b[E])){for(var C,x,j=-1,S=0;S<d.length;S++){-1!==(A=v.indexOf(d[S]))&&(-1===j||A<j)&&(j=A)}-1!==(x=-1===j?v.lastIndexOf("@"):v.lastIndexOf("@",j))&&(C=v.slice(0,x),v=v.slice(x+1),this.auth=decodeURIComponent(C)),j=-1;for(S=0;S<p.length;S++){var A;-1!==(A=v.indexOf(p[S]))&&(-1===j||A<j)&&(j=A)}-1===j&&(j=v.length),this.host=v.slice(0,j),v=v.slice(j),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var T=this.hostname.split(/\./),P=(S=0,T.length);S<P;S++){var M=T[S];if(M&&!M.match(m)){for(var I="",R=0,L=M.length;R<L;R++)M.charCodeAt(R)>127?I+="x":I+=M[R];if(!I.match(m)){var B=T.slice(0,S),F=T.slice(S+1),Z=M.match(h);Z&&(B.push(Z[1]),F.unshift(Z[2])),F.length&&(v="/"+F.join(".")+v),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=r.toASCII(this.hostname));var D=this.port?":"+this.port:"",O=this.hostname||"";this.host=O+D,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!f[w])for(S=0,P=u.length;S<P;S++){var z=u[S];if(-1!==v.indexOf(z)){var $=encodeURIComponent(z);$===z&&($=escape(z)),v=v.split(z).join($)}}var U=v.indexOf("#");-1!==U&&(this.hash=v.substr(U),v=v.slice(0,U));var V=v.indexOf("?");if(-1!==V?(this.search=v.substr(V),this.query=v.substr(V+1),t&&(this.query=k.parse(this.query)),v=v.slice(0,V)):t&&(this.search="",this.query={}),v&&(this.pathname=v),b[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var q=this.search||"";this.path=D+q}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(i=k.stringify(this.query));var s=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(v(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(a.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),i=0;i<r.length;i++){var s=r[i];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var p=Object.keys(e),d=0;d<p.length;d++){var m=p[d];n[m]=e[m]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",k=n.search||"";n.path=f+k}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var v=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),E=y||v||n.host&&e.pathname,w=E,_=n.pathname&&n.pathname.split("/")||[],C=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(C&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),E=E&&(""===h[0]||""===_[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=h;else if(h.length)_||(_=[]),_.pop(),_=_.concat(h),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search)){if(C)n.hostname=n.host=_.shift(),(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift());return n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var x=_.slice(-1)[0],j=(n.host||e.host||_.length>1)&&("."===x||".."===x)||""===x,S=0,A=_.length;A>=0;A--)"."===(x=_[A])?_.splice(A,1):".."===x?(_.splice(A,1),S++):S&&(_.splice(A,1),S--);if(!E&&!w)for(;S--;S)_.unshift("..");!E||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),j&&"/"!==_.join("/").substr(-1)&&_.push("");var N,T=""===_[0]||_[0]&&"/"===_[0].charAt(0);C&&(n.hostname=n.host=T?"":_.length?_.shift():"",(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift()));return(E=E||n.host&&_.length)&&!T&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},68070:function(e){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},11043:function(e,t,n){"use strict";var r=n(1625),a=n(99196);t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,o=a.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=o[0];var i=o[1];return o=e.value,e.getCurrentValue===t&&e.subscribe===n||(o=t(),i({getCurrentValue:t,subscribe:n,value:o})),a.useDebugValue(o),a.useEffect((function(){function e(){if(!a){var e=t();i((function(a){return a.getCurrentValue!==t||a.subscribe!==n||a.value===e?a:r({},a,{value:e})}))}}var a=!1,o=n(e);return e(),function(){a=!0,o()}}),[t,n]),o}},20036:function(e,t,n){"use strict";e.exports=n(11043)},61521:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},22199:function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,a=arguments.length;n<a;n++)t.push(arguments[n]);return t}function a(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,a=this.head;null!==a;)n.push(e.call(t,a.value,this)),a=a.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,a=this.tail;null!==a;)n.push(e.call(t,a.value,this)),a=a.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var a=0;null!==r;a++)n=e(n,r.value,a),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var a=this.length-1;null!==r;a--)n=e(n,r.value,a),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=0,o=this.head;null!==o&&a<e;a++)o=o.next;for(;null!==o&&a<t;a++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=this.length,o=this.tail;null!==o&&a>t;a--)o=o.prev;for(;null!==o&&a>e;a--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var i=[];for(r=0;o&&r<t;r++)i.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=a(this,o,n[r]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(61521)(r)}catch(e){}},8964:function(e,t,n){"use strict";e.exports=n.p+"images/eventbrite-in-page-example-c351ec80e4dd5d39433d.png"},96406:function(e,t,n){"use strict";e.exports=n.p+"images/map-preview-97bda80ebb6981457630.jpg"},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},23879:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-2x-3d5d36867a0f3728cc3a.png"},22323:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-5ecd2d5421d74f39e027.png"},60206:function(e,t,n){"use strict";e.exports=n.p+"images/simple-payments_example-1-0273eeccd8d120df4984.jpg"},65784:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-1-07a3f164621235df0419.jpg"},6425:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-2-2ee401e47066229bdac5.jpg"},85983:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-3-0682afca66c485f17ff6.jpg"},96606:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-1-d2817eb0e669267ab3eb.jpg"},85472:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-2-7d8f0cf8e262f0112691.jpg"},79009:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-3-07a3f164621235df0419.jpg"},10742:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-4-2ee401e47066229bdac5.jpg"},52642:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-5-a1935fd9cf1181168d90.jpg"},41145:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-6-9f9d39c6af0fb4b0d99c.jpg"},41194:function(e,t,n){"use strict";e.exports=n.p+"images/videopress-block-example-image-da9ef73787adca8896f2.jpg"},80405:function(e,t,n){"use strict";e.exports=n.p+"images/example_160x600-ccbc594f54431dafa70d.png"},72473:function(e,t,n){"use strict";e.exports=n.p+"images/example_300x250-5b93e8174f02d48c40b7.png"},38511:function(e,t,n){"use strict";e.exports=n.p+"images/example_320x50-7110edf045141630a222.png"},52203:function(e,t,n){"use strict";e.exports=n.p+"images/example_728x90-d9de384932330b92e1c3.png"},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},76292:function(e){"use strict";e.exports=window.moment},86989:function(e){"use strict";e.exports=window.wp.apiFetch},11313:function(e){"use strict";e.exports=window.wp.blob},52175:function(e){"use strict";e.exports=window.wp.blockEditor},4981:function(e){"use strict";e.exports=window.wp.blocks},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},69771:function(e){"use strict";e.exports=window.wp.date},47701:function(e){"use strict";e.exports=window.wp.domReady},12238:function(e){"use strict";e.exports=window.wp.editor},69307:function(e){"use strict";e.exports=window.wp.element},81975:function(e){"use strict";e.exports=window.wp.escapeHtml},92694:function(e){"use strict";e.exports=window.wp.hooks},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes},53961:function(e){"use strict";e.exports=window.wp.notices},70444:function(e){"use strict";e.exports=window.wp.primitives},29512:function(e){"use strict";e.exports=window.wp.tokenList},96483:function(e){"use strict";e.exports=window.wp.url},90162:function(e){"use strict";e.exports=window.wp.viewport},8134:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},14316:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},97024:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8134);function a(e){if(Array.isArray(e))return(0,r.Z)(e)}},55200:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},71687:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},93772:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return a}})},9057:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(72406),a=n(58189),o=n(34621);function i(e){var t=(0,a.Z)();return function(){var n,a=(0,r.Z)(e);if(t){var i=(0,r.Z)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,o.Z)(this,n)}}},98086:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},95672:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},72406:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},82104:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(43051);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},58189:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},40613:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},20120:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],_n=!0,i=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);_n=!0);}catch(e){i=!0,a=e}finally{try{_n||null==n.return||n.return()}finally{if(i)throw a}}return o}}n.d(t,{Z:function(){return r}})},41722:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},56083:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},52141:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(98086);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},59591:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98086);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},34621:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(29504),a=n(55200);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}},43051:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},50572:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(14316),a=n(20120),o=n(33611),i=n(41722);function s(e,t){return(0,r.Z)(e)||(0,a.Z)(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},59128:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(97024),a=n(40613),o=n(33611),i=n(56083);function s(e){return(0,r.Z)(e)||(0,a.Z)(e)||(0,o.Z)(e)||(0,i.Z)()}},29504:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},33611:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8134);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},27655:function(e){"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')},60231:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')},1949:function(e){"use strict";e.exports={Kc:["amazon"]}}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,l),n.loaded=!0,n.exports}l.m=i,l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);l.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},l.d(a,o),a},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(t,n){return l.f[n](e,t),t}),[]))},l.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{390:"87699145e1e11e92e952",860:"d8d32efbe3dcb1077f70"}[e]},l.miniCssF=function(e){return"swiper.css?minify=false&ver=4f0a26962ac03729a198"},function(){if(!l.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;l.miniCssF=(e=l.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",l.l=function(e,t,a,o){if(n[e])n[e].push(t);else{var i,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",r+a),i.src=e),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(m);var a=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((function(e){return e(r)})),t)return t(r)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.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(/\/[^\/]+$/,"/"),l.p=e}(),a=function(e){return new Promise((function(t,n){var r=l.miniCssF(e),a=l.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var a=(i=n[r]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(a===e||a===t))return i}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var i;if((a=(i=o[r]).getAttribute("data-href"))===e||a===t)return i}}(r,a))return t();!function(e,t,n,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(o){if(a.onerror=a.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode.removeChild(a),r(l)}},a.href=t,document.head.appendChild(a)}(e,a,t,n)}))},o={486:0},l.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=a(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={486:0};l.f.j=function(t,n){var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var a=new Promise((function(n,a){r=e[t]=[n,a]}));n.push(r[2]=a);var o=l.p+l.u(t),i=new Error;l.l(o,(function(n){if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,r[1](i)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,a,o=n[0],i=n[1],s=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(s)s(l)}for(t&&t(n);c<o.length;c++)a=o[c],l.o(e,a)&&e[a]&&e[a][0](),e[o[c]]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";l(57836),l(6757),l(7616),l(92919),l(26634),l(17269),l(56771),l(58721),l(73617);var e=l(11973);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){const{userid:t,username:n}=window.Jetpack_Editor_Initial_State.tracksUserData;e.Z.initialize(t,n,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}}(),function(){"use strict";var e=l(28069),t=l(8042);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(32278);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(79884);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(75494);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(28069),t=l(20195);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(28069),t=l(63445);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(45166);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(31072);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(13984);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(77007);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(19916);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(92828);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(7882);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(5458);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(18161);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(84807);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(82163);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(32051);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(57368);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(8223);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(35289);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(94120);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(57211);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(80349);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(29183),t=l.n(e),n=l(69307),r=l(55609),a=l(11313),o=l(4981),i=l(12238),s=l(52175),c=l(92694),u=l(94333),p=l(65736),d=l(92819),m=l(6976),h=l(64089),f=l(21409),g=l(71486),b=l(4207),k=l(3082),v=l(58014),y=l(28137),E=l(41194);const __=p.__,w=(0,u.createHigherOrderComponent)((e=>a=>{const{name:o}=(0,s.useBlockEditContext)();return"core/video"!==o?(0,n.createElement)(e,a):(0,n.createElement)(e,t()({},a,{disableDropZone:!0,className:"no-videopress-media-placeholder"}),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",isSecondary:!0},__("Media Library","jetpack")),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",isSecondary:!0},__("Upload","jetpack")))}),"videoPressNoPlanMediaPlaceholder"),_=(e,t,n)=>("core/video"!==t.name||!n.guid||n.className?.indexOf("wp-block-video")>=0||n.videoPressClassNames||(e.className=e.className.replace("wp-block-video","").trim()),e);(0,c.addFilter)("blocks.registerBlockType","jetpack/videopress",((e,t)=>{if("core/embed"===t)return(e=>{if(!("variations"in e)||"object"!=typeof e.variations)return;const{available:t}=(0,f.Z)("videopress");e.variations.some((e=>"videopress"===e.name&&(t&&(e.scope=[]),e.patterns.push(/^https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?$/i),!0)))})(e),e;if("core/video"!==t||e.isDeprecation)return e;const{deprecated:n,edit:r,save:s,supports:l,transforms:u}=e,{available:p,unavailableReason:C}=(0,f.Z)("videopress");if(((0,v.Wp)()||(0,v.Ug)())&&["missing_plan","unknown"].includes(C)?((0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",w),(0,c.addFilter)("editor.BlockListBlock","jetpack/videopress-with-has-warning-is-interactive-class-names",(0,y.Z)("core/video"))):p&&(e.description=__("Embed a video from your media library or upload a new one with VideoPress.","jetpack"),e.example.attributes={caption:"",isVideoPressExample:!0,src:E}),(0,c.addFilter)("blocks.getSaveContent.extraProps","jetpack/videopress",_,20),p||["missing_plan","missing_module","unknown"].includes(C)){const t={autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},useAverageColor:{type:"boolean"},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"}},c=/https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?/i;return{...e,attributes:t,transforms:{...u,from:[{type:"files",isMatch:e=>(0,d.every)(e,(e=>0===e.type.indexOf("video/"))),priority:9,transform:(e,t)=>{const n=[];return e.forEach((e=>{const r=(0,o.createBlock)("core/video",{src:(0,a.createBlobURL)(e)});(0,i.mediaUpload)({filesList:[e],onFileChange:e=>{let[{id:n,url:a}]=e;t(r.clientId,{id:n,src:a})},allowedTypes:["video"]}),n.push(r)})),n}},{type:"raw",isMatch:e=>"P"===e.nodeName&&c.test(e.innerHTML),transform:e=>{const t=c.exec(e.innerHTML);return(0,o.createBlock)("core/embed",{url:"https://videopress.com/v/"+t[1].trim()})}}]},supports:{...l,reusable:!1},edit:(0,m.Z)(r),save:(0,h.Z)(s),deprecated:[...n||[],k.Z,{attributes:t,isEligible:e=>!e.guid,save:s,supports:l,isDeprecation:!0},b.Z,g.Z]}}return e}),5)}(),function(){"use strict";var e=l(28069),t=l(62086);(0,e.Z)(t.u2,t.Xd)}()}(); \ No newline at end of file
+__("Congratulations! Your site is now on the %s plan.","jetpack"),e):__("Congratulations! Your site is now on a paid plan.","jetpack"),{isDismissible:!0,...t&&{actions:[{url:l(),label:__("View my plan","jetpack")}]}})}}}})()},45092:function(e,t,n){"use strict";n.d(t,{bu:function(){return l},uM:function(){return i},yX:function(){return s}});var r=n(86989),a=n.n(r),o=n(13419);async function i(){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function l(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},80425:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},31985:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(65736),a=n(92694),o=n(4981),i=n(13419),s=n(1949);const __=r.__,l={paid:(0,r._x)("paid","Short label appearing near a block requiring a paid plan","jetpack"),beta:__("beta","jetpack")},c=s.Kc||[];function u(e){const t=[];return c.includes(e)&&t.push(l.beta),t}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length?`${e} (${t.join(", ")})`:e}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:s,details:l,unavailableReason:c}=(0,i.OZ)(e),d=(0,i._D)(c,l),m=r?"jetpack/":"";if(!s&&!d)return!1;const h=(0,o.registerBlockType)(m+e,{...t,title:p(t.title,u(e))});return d&&(0,a.addFilter)("editor.BlockListBlock",`${m+e}-with-has-warning-is-interactive-class-names`,(0,i.T)(m+e)),n.forEach((e=>(0,o.registerBlockType)(m+e.name,e.settings))),h}},36598:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:o},(0,r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},66425:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=(e,t,n,o,i)=>{const{isSelected:s}=t,l=t.attributes[e];return(0,r.createElement)("div",{className:s?`jetpack-${e}-block is-selected`:`jetpack-${e}-block`},!s&&""!==l&&o(t),(s||""===l)&&(0,r.createElement)(a.PlainText,{value:l,placeholder:n,"aria-label":n,onChange:i}))}},92713:function(e,t,n){"use strict";var r=n(9818),a=n(65736);n(53961);const __=a.__;if("undefined"!=typeof window&&window.location){const e=new URLSearchParams(window.location.search);e.get("stripe_connect_success")?(0,r.dispatch)("core/notices").createNotice("success",__("Congrats! Your site is now connected to Stripe. You can now start accepting funds!","jetpack")):e.get("stripe_connect_cancelled")&&(0,r.dispatch)("core/notices").createNotice("error",__("You cancelled connecting your site to Stripe.","jetpack"))}},23621:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(86989),o=n.n(a);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;return t(!0),new Promise(((n,r)=>{o()({path:`/wpcom/v2/resolve-redirect/?url=${encodeURIComponent(e)}`}).then((a=>{t(!1);const o=a.status?parseInt(a.status,10):null;o&&o>=400?r():n(a.url||e)}),(()=>{t(!1),r()}))}))}},46867:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),a=n(9818),o=n(69307);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t&&t(e),n?window.open(e,"_blank"):window.top.location.href=e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const[n,s]=(0,o.useState)(!1),{isAutosaveablePost:l,isDirtyPost:c,currentPost:u}=(0,a.useSelect)((e=>{const t=e("core/editor");return{isAutosaveablePost:t.isEditedPostAutosaveable(),isDirtyPost:t.isEditedPostDirty(),currentPost:t.getCurrentPost()}}),[]),p=Object.keys(u).length>0,d=(0,a.useSelect)((e=>!!window.wp.customize||!!e("core/edit-widgets"))),m=(0,a.dispatch)("core/editor").savePost,h=(0,a.useSelect)((e=>e("core").__experimentalGetDirtyEntityRecords())),f=async()=>{for(let e=0;e<h.length;e++)await(0,a.dispatch)("core").saveEditedEntityRecord(h[e].kind,h[e].name,h[e].key)},g=async e=>{e.preventDefault(),p?c&&l&&await m(e):await f(e)},b=async r=>{r.preventDefault(),n||(s(!0),g(r).then((()=>{i(e,t,d)})))};return{autosave:g,autosaveAndRedirect:b,isRedirecting:n}}},78798:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(92819),a=n(13419),o=n(9818),i=n(92694),s=(n(87553),n(46867));const l="a8c.wpcom-block-editor.openCheckoutModal";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const{checkoutUrl:n,planData:c}=(0,o.useSelect)((t=>{const n=t("core/editor"),r=t("wordpress-com/plans"),{id:o,type:i}=n.getCurrentPost(),s=r&&r.getPlan(e);return{checkoutUrl:(0,a.Qq)({plan:s,planSlug:e,postId:o,postType:i}),planData:s}}),[]),{autosave:u,autosaveAndRedirect:p,isRedirecting:d}=(0,s.Z)(n,t),m=async e=>{if(e.preventDefault(),(0,i.hasAction)(l))return e.preventDefault(),u(e),void(0,i.doAction)(l,{products:[c]});p(e)};return[n,m,d,c]}},97115:function(e,t,n){"use strict";n.d(t,{Vy:function(){return o},Wp:function(){return a},_5:function(){return i},tT:function(){return r}});const r="jetpack/media-source",a="is-playing",o="is-error",i="is-paused"},14688:function(e,t,n){"use strict";var r=n(9818),a=n(66858),o=n(97115);if(void 0!==r.createReduxStore){const e=(0,r.createReduxStore)(o.tT,a.Z);(0,r.register)(e)}else(0,r.registerStore)(o.tT,a.Z)},66858:function(e,t,n){"use strict";var r=n(97115);const a={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const n=Object.keys(e.sources);if(e.default?t=e.default:null!=n&&n.length&&(t=e.sources[n[0]].id),t)return e.sources[t]},getMediaPlayerState(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);return null==r?void 0:r.state},getMediaSourceCurrentTime(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);return null==r?void 0:r.currentTime},getMediaSourceDuration(e,t){var n,r;if(!t){const t=o.getDefaultMediaSource(e);return null==t?void 0:t.duration}return null===(n=e.sources)||void 0===n||null===(r=n[t])||void 0===r?void 0:r.duration},getMediaSourceDomReference(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);if(!r)return;const a=null==r?void 0:r.domId;return a?document.getElementById(a):void 0}},i={reducer(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,n=arguments.length>1?arguments[1]:void 0;const o=n.id||t.default||(null===(e=Object.keys(t.sources))||void 0===e?void 0:e[0]);switch(n.type){case"REGISTER_MEDIA_SOURCE":return{...t,sources:{...t.sources,[n.id]:{id:n.id,...n.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...t,sources:{...t.sources,[n.id]:{...t.sources[n.id],...n.data}}};case"UNREGISTER_MEDIA_SOURCE":{const e=Object.assign({},t);var i;if(e.sources[n.id]&&delete e.sources[n.id],n.id===t.default)e.default=null===(i=Object.keys(t.sources))||void 0===i?void 0:i[0];return e}case"SET_DEFAULT_MEDIA_SOURCE":return{...t,default:n.id};case"SET_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:n.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:t.sources[o].state===r.Wp?r._5:r.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...t,sources:{...t.sources,[o]:{...t.sources[o],currentTime:n.currentTime}}}}return t},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=i},6247:function(e,t,n){"use strict";n.r(t),n.d(t,{saveProduct:function(){return v},setApiState:function(){return h},setConnectUrl:function(){return m},setProducts:function(){return d},setShouldUpgrade:function(){return f},setSiteSlug:function(){return g},setUpgradeUrl:function(){return b}});var r=n(25607),a=n(86989),o=n.n(a),i=n(65736),s=n(23267),l=n(46529),c=n(79162),u=n(14436),p=n(51585);const __=i.__,d=e=>({type:"SET_PRODUCTS",products:e}),m=e=>({type:"SET_CONNECT_URL",connectUrl:e}),h=e=>({type:"SET_API_STATE",apiState:e}),f=e=>({type:"SET_SHOULD_UPGRADE",shouldUpgrade:e}),g=e=>({type:"SET_SITE_SLUG",siteSlug:e}),b=e=>({type:"SET_UPGRADE_URL",upgradeUrl:e}),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.Bn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{};return async u=>{let{dispatch:m,registry:h}=u;const{title:f,price:g,currency:b}=e;if(!f||0===f.length)return(0,l.q)((0,p.l)("product requires a name",t),h),void a(!1);const v=parseFloat(g),k=(0,c.hj)(b);if(v<k)return(0,l.q)((0,i.sprintf)(// translators: %s: Price
+__("Minimum allowed price is %s.","jetpack"),(0,r.ZP)(k,b)),h),void a(!1);if(!(0,c.vs)(b,v))return(0,l.q)((0,p.l)("product requires a valid price",t),h),void a(!1);try{const r=await o()({path:"/wpcom/v2/memberships/product",method:"POST",data:e}),i={id:r.id,title:r.title,interval:r.interval,price:r.price,currency:r.currency},c=h.select(s.G4).getProducts();m(d(c.concat([i]))),n(i.id),(0,l.w)((0,p.l)("successfully created product",t),h),a(!0)}catch(e){(0,l.q)((0,p.l)("there was an error when adding the product",t),h),a(!1)}}}},23267:function(e,t,n){"use strict";n.d(t,{G4:function(){return r},P:function(){return i},cH:function(){return o},lp:function(){return a}});const r="jetpack/membership-products",a=0,o=1,i=2},7652:function(e,t,n){"use strict";n.d(t,{h:function(){return c}});var r=n(9818),a=n(6247),o=n(93100),i=n(20360),s=n(93245),l=n(23267);const c=(0,r.createReduxStore)(l.G4,{actions:a,reducer:o.Z,resolvers:i,selectors:s,__experimentalUseThunks:!0});(0,r.register)(c)},93100:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={products:[],apiState:n(23267).lp,connectUrl:null,shouldUpgrade:!1,siteSlug:"",upgradeUrl:null};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PRODUCTS":return{...e,products:t.products};case"SET_CONNECT_URL":return{...e,connectUrl:t.connectUrl};case"SET_API_STATE":return{...e,apiState:t.apiState};case"SET_SHOULD_UPGRADE":return{...e,shouldUpgrade:t.shouldUpgrade};case"SET_SITE_SLUG":return{...e,siteSlug:t.siteSlug};case"SET_UPGRADE_URL":return{...e,upgradeUrl:t.upgradeUrl}}return e}},20360:function(e,t,n){"use strict";n.r(t),n.d(t,{getProducts:function(){return E}});var r=n(86989),a=n.n(r),o=n(12238),i=n(96483),s=n(6247),l=n(46529),c=n(23267),u=n(74251),p=n(14436),d=n(51585),m=n(73905);const h="membership-products-resolver-getProducts";let f=!1;const g=async()=>{var e,t;const n=(0,i.getQueryArg)(window.location.href,"origin"),r=(0,i.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===n?"gutenberg-wpcom":"gutenberg",type:"all",is_editable:!0}),o=await a()({path:r,method:"GET"});if(!o&&"object"!=typeof o)throw new Error("Unexpected API response");const s=(null==o?void 0:o.errors)&&(null===(e=Object.values(o.errors))||void 0===e||null===(t=e[0])||void 0===t?void 0:t[0]);if(s)throw new Error(s);return o},b=(e,t,n)=>{const r=t.select(o.store).getCurrentPostId();n((0,s.setConnectUrl)((0,u.Z)(r,e.connect_url))),n((0,s.setShouldUpgrade)(e.should_upgrade_to_access_memberships)),n((0,s.setSiteSlug)(e.site_slug)),n((0,s.setUpgradeUrl)(e.upgrade_url)),n((0,s.setProducts)(e.products)),n((0,s.setApiState)(e.connected_account_id?c.cH:c.P))},v=async(e,t,n)=>{await n((0,s.saveProduct)({title:(0,d.l)("default new product title",e),currency:"USD",price:5,interval:"1 month"},e,t))},k=e=>!e.products.length&&!e.should_upgrade_to_access_memberships&&e.connected_account_id,y=(e,t,n)=>{var r;if(e)return;const a=null===(r=n.getProductsNoResolver()[0])||void 0===r?void 0:r.id;a&&t(a)},E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.Bn,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};return async r=>{let{dispatch:a,registry:o,select:i}=r;if(await m.Z.blockExecution(h),f)return void y(t,n,i);const u=m.Z.acquire(h);try{const r=await g();b(r,o,a),k(r)&&await v(e,n,a),y(t,n,i),f=!0}catch(e){a((0,s.setConnectUrl)(null)),a((0,s.setApiState)(c.P)),(0,l.q)(e.message,o)}m.Z.release(u)}}},93245:function(e,t,n){"use strict";n.r(t),n.d(t,{getApiState:function(){return a},getConnectUrl:function(){return o},getProduct:function(){return l},getProducts:function(){return i},getProductsNoResolver:function(){return s},getShouldUpgrade:function(){return c},getSiteSlug:function(){return u},getUpgradeUrl:function(){return p},isApiStateConnected:function(){return d},isApiStateLoading:function(){return m},isInvalidProduct:function(){return h}});var r=n(23267);const a=e=>e.apiState,o=e=>e.connectUrl,i=e=>e.products,s=e=>i(e),l=(e,t)=>i(e).find((e=>e.id===t)),c=e=>e.shouldUpgrade,u=e=>e.siteSlug,p=e=>!!c(e)&&e.upgradeUrl,d=e=>e.apiState===r.cH,m=e=>e.apiState===r.lp,h=(e,t)=>!!t&&!l(e,t)},46529:function(e,t,n){"use strict";n.d(t,{q:function(){return a},w:function(){return o}});var r=n(53961);const a=(e,t)=>t.dispatch(r.store).createErrorNotice(e,{type:"snackbar"}),o=(e,t)=>t.dispatch(r.store).createSuccessNotice(e,{type:"snackbar"})},43317:function(e,t,n){"use strict";n.d(t,{M:function(){return r},X:function(){return a}});const r={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 a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},25607:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});var r=n(43317),a=n(5375);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=(0,r.X)(t);if(!o||isNaN(e))return null;const{decimal:s,grouping:l,precision:c,symbol:u}={...o,...n},p=e<0?"-":"";let d=(0,a.Z)(Math.abs(e),c,s,l);return n.stripZeros&&(d=i(d,s)),`${p}${u}${d}`}function i(e,t){const n=new RegExp(`\\${t}0+$`);return e.replace(n,"")}},5375:function(e,t,n){"use strict";function r(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";const o=(e+"").replace(/[^0-9+\-Ee.]/g,""),i=isFinite(+o)?+o:0,s=isFinite(+t)?Math.abs(t):0,l=(s?r(i,s):""+Math.round(i)).split(".");return l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(l[1]||"").length<s&&(l[1]=l[1]||"",l[1]+=new Array(s-l[1].length+1).join("0")),l.join(n)}n.d(t,{Z:function(){return a}})},81530:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53184);function a(e){Object.assign(e,r.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},7211:function(e,t,n){"use strict";function r(){this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=e=>{e.source===this.windowInstance&&this.emit("message",e.data)}}(0,n(81530).Z)(r.prototype),r.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},r.prototype.getScreenCenterSpecs=function(e,t){const n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},r.prototype.isOpen=function(e){let t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},r.prototype.checkStatus=function(){for(const e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},r.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=r},39229:function(e,t,n){"use strict";var r=n(7211);t.Z=function(e,t){var n,a=new r.Z;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(function(){var e={};n&&n.keyring_id&&(e.keyring_id=Number(n.keyring_id),e.id_token=n.id_token,e.user=n.user),t(e)})),a.on("message",(function(e){return n=e}))}},51128:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(62942)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},62942:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(73171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},60686:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(5728)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5728:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(73171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},73139:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-notice-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},89933:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-star",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.891 5.82 21l2.002-7.141L2 9.257l7.418-.304z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},60300:function(e,t,n){"use strict";n.r(t),n.d(t,{decode:function(){return b},encode:function(){return v},toASCII:function(){return y},toUnicode:function(){return k},ucs2decode:function(){return m},ucs2encode:function(){return h}});const r=2147483647,a=36,o=/^xn--/,i=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(l[e])}function d(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(s,".")).split("."),t).join(".");return r+a}function m(e){const t=[];let n=0;const r=e.length;for(;n<r;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t}const h=e=>String.fromCodePoint(...e),f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=a)e=c(e/35);return c(r+36*e/(e+38))},b=function(e){const t=[],n=e.length;let o=0,i=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let d=l>0?l+1:0;d<n;){let l=o;for(let t=1,i=a;;i+=a){d>=n&&p("invalid-input");const l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:a;(l>=a||l>c((r-o)/t))&&p("overflow"),o+=l*t;const m=i<=s?1:i>=s+26?26:i-s;if(l<m)break;const h=a-m;t>c(r/h)&&p("overflow"),t*=h}const m=t.length+1;s=g(o-l,m,0==l),c(o/m)>r-i&&p("overflow"),i+=c(o/m),o%=m,t.splice(o++,0,i)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let n=(e=m(e)).length,o=128,i=0,s=72;for(const n of e)n<128&&t.push(u(n));let l=t.length,d=l;for(l&&t.push("-");d<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const m=d+1;n-o>c((r-i)/m)&&p("overflow"),i+=(n-o)*m,o=n;for(const n of e)if(n<o&&++i>r&&p("overflow"),n==o){let e=i;for(let n=a;;n+=a){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const o=e-r,i=a-r;t.push(u(f(r+o%i,0))),e=c(o/i)}t.push(u(f(e,0))),s=g(i,m,d==l),i=0,++d}++i,++o}return t.join("")},k=function(e){return d(e,(function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e}))},y=function(e){return d(e,(function(e){return i.test(e)?"xn--"+v(e):e}))},E={version:"2.1.0",ucs2:{decode:m,encode:h},decode:b,encode:v,toASCII:y,toUnicode:k};t.default=E},40230:function(e,t,n){"use strict";const r=n(31259),a=n(22424),o=n(86785),i=n(68017);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?a(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const a="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!a&&c(n,e).includes(e.arrayFormatSeparator);n=o?c(n,e):n;const i=a||o?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const a=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!a)return void(r[t]=n?c(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>c(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const a of e.split("&")){if(""===a)continue;let[e,i]=o(t.decode?a.replace(/\+/g," "):a,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:c(i,t),n(c(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=m(n[e],t);else r[e]=m(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=u(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",a,"]"].join("")]:[...n,[l(t,e),"[",l(a,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:(a=null===a?"":a,0===r.length?[[l(n,e),t,l(a,e)].join("")]:[[r,l(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const o=Object.keys(a);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const a=e[n];return void 0===a?"":null===a?l(n,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":a.reduce(r(n),[]).join("&"):l(n,t)+"="+l(a,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=p(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query);let s=t.stringify(i,n);s&&(s=`?${s}`);let c=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c=`#${l(e.fragmentIdentifier,n)}`),`${r}${s}${c}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:i(o,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}},86785:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},31259:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},23427:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(75908),a=n(9106),o=n(85016),i=n(11662);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}var u=function(){function e(t){s(this,e),this._file=t,this.size=t.size}return c(e,[{key:"slice",value:function(e,t){if((0,o.Z)())return(0,i.Z)(this._file.slice(e,t));var n=this._file.slice(e,t);return Promise.resolve({value:n})}},{key:"close",value:function(){}}]),e}(),p=function(){function e(t,n){s(this,e),this._chunkSize=n,this._buffer=void 0,this._bufferOffset=0,this._reader=t,this._done=!1}return c(e,[{key:"slice",value:function(e,t){return e<this._bufferOffset?Promise.reject(new Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(e,t)}},{key:"_readUntilEnoughDataOrDone",value:function(e,t){var n=this,r=t<=this._bufferOffset+d(this._buffer);if(this._done||r){var a=this._getDataFromBuffer(e,t),o=null==a&&this._done;return Promise.resolve({value:a,done:o})}return this._reader.read().then((function(r){var a=r.value;return r.done?n._done=!0:void 0===n._buffer?n._buffer=a:n._buffer=function(e,t){if(e.concat)return e.concat(t);if(e instanceof Blob)return new Blob([e,t],{type:e.type});if(e.set){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}throw new Error("Unknown data type")}(n._buffer,a),n._readUntilEnoughDataOrDone(e,t)}))}},{key:"_getDataFromBuffer",value:function(e,t){e>this._bufferOffset&&(this._buffer=this._buffer.slice(e-this._bufferOffset),this._bufferOffset=e);var n=0===d(this._buffer);return this._done&&n?null:this._buffer.slice(0,t-e)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}]),e}();function d(e){return void 0===e?0:void 0!==e.size?e.size:e.length}var m=function(){function e(){s(this,e)}return c(e,[{key:"openFile",value:function(e,t){return(0,r.Z)()&&e&&void 0!==e.uri?(0,a.Z)(e.uri).then((function(e){return new u(e)})).catch((function(e){throw new Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(e))})):"function"==typeof e.slice&&void 0!==e.size?Promise.resolve(new u(e)):"function"==typeof e.read?(t=+t,isFinite(t)?Promise.resolve(new p(e,t)):Promise.reject(new Error("cannot create source for stream without a finite value for the `chunkSize` option"))):Promise.reject(new Error("source object may only be an instance of File, Blob, or Reader in this environment"))}}]),e}()},41264:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(75908);function a(e,t){return(0,r.Z)()?Promise.resolve(function(e,t){var n=e.exif?function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return t}(JSON.stringify(e.exif)):"noexif";return["tus-rn",e.name||"noname",e.size||"nosize",n,t.endpoint].join("/")}(e,t)):Promise.resolve(["tus-br",e.name,e.type,e.size,e.lastModified,t.endpoint].join("-"))}},56940:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}n.d(t,{Z:function(){return i}});var i=function(){function e(){r(this,e)}return o(e,[{key:"createRequest",value:function(e,t){return new s(e,t)}},{key:"getName",value:function(){return"XHRHttpStack"}}]),e}(),s=function(){function e(t,n){r(this,e),this._xhr=new XMLHttpRequest,this._xhr.open(t,n,!0),this._method=t,this._url=n,this._headers={}}return o(e,[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(e,t){this._xhr.setRequestHeader(e,t),this._headers[e]=t}},{key:"getHeader",value:function(e){return this._headers[e]}},{key:"setProgressHandler",value:function(e){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(t){t.lengthComputable&&e(t.loaded)})}},{key:"send",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new Promise((function(n,r){e._xhr.onload=function(){n(new l(e._xhr))},e._xhr.onerror=function(e){r(e)},e._xhr.send(t)}))}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}(),l=function(){function e(t){r(this,e),this._xhr=t}return o(e,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(e){return this._xhr.getResponseHeader(e)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}()},99537:function(e,t,n){"use strict";n.d(t,{gq:function(){return y}});var r=n(63620),a=n(85799),o=n(15866),i=n(56940),s=n(23427),l=n(41264);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(){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 f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=b({},r.Z.defaultOptions,{httpStack:new i.Z,fileReader:new s.Z,urlStorage:o.H?new o.n:new a.Z,fingerprint:l.Z}),y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,a,o,i=(t=s,function(){var e,n=f(t);if(h()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u(this,s),t=b({},k,{},t),i.call(this,e,t)}return n=s,o=[{key:"terminate",value:function(e,t,n){return t=b({},k,{},t),r.Z.terminate(e,t,n)}}],(a=null)&&p(n.prototype,a),o&&p(n,o),s}(r.Z),E=window,w=E.XMLHttpRequest,_=E.Blob;w&&_&&_.prototype.slice},85016:function(e,t){"use strict";t.Z=function(){return"undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)}},75908:function(e,t){"use strict";t.Z=function(){return"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()}},11662:function(e,t,n){"use strict";function r(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(){var e=new Uint8Array(r.result);t({value:e})},r.onerror=function(e){n(e)},r.readAsArrayBuffer(e)}))}n.d(t,{Z:function(){return r}})},9106:function(e,t,n){"use strict";function r(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.responseType="blob",r.onload=function(){var e=r.response;t(e)},r.onerror=function(e){n(e)},r.open("GET",e),r.send()}))}n.d(t,{Z:function(){return r}})},15866:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{H:function(){return i},n:function(){return s}});var a=!1;try{a="localStorage"in window;var o="tusSupport";localStorage.setItem(o,localStorage.getItem(o))}catch(e){if(e.code!==e.SECURITY_ERR&&e.code!==e.QUOTA_EXCEEDED_ERR)throw e;a=!1}var i=a,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,n=[{key:"findAllUploads",value:function(){var e=this._findEntries("tus::");return Promise.resolve(e)}},{key:"findUploadsByFingerprint",value:function(e){var t=this._findEntries("tus::".concat(e,"::"));return Promise.resolve(t)}},{key:"removeUpload",value:function(e){return localStorage.removeItem(e),Promise.resolve()}},{key:"addUpload",value:function(e,t){var n=Math.round(1e12*Math.random()),r="tus::".concat(e,"::").concat(n);return localStorage.setItem(r,JSON.stringify(t)),Promise.resolve(r)}},{key:"_findEntries",value:function(e){for(var t=[],n=0;n<localStorage.length;n++){var r=localStorage.key(n);if(0===r.indexOf(e))try{var a=JSON.parse(localStorage.getItem(r));a.urlStorageKey=r,t.push(a)}catch(e){}}return t}}],n&&r(t.prototype,n),a&&r(t,a),e}()},56971:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;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,r)}function r(){return i(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,e)},o(e)}function i(e,t,n){return i=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&l(a,n.prototype),a},i.apply(null,arguments)}function s(){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 l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(o,e);var t,n=(t=o,function(){var e,n=c(t);if(s()){var r=c(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function o(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(r(this,o),(t=n.call(this,e)).originalRequest=i,t.originalResponse=s,t.causingError=a,null!=a&&(e+=", caused by ".concat(a.toString())),null!=i){var l=i.getHeader("X-Request-ID")||"n/a",c=i.getMethod(),u=i.getURL(),p=s?s.getStatus():"n/a",d=s?s.getBody()||"":"n/a";e+=", originated from request (method: ".concat(c,", url: ").concat(u,", response code: ").concat(p,", response text: ").concat(d,", request id: ").concat(l,")")}return t.message=e,t}return o}(o(Error));t.Z=u},51336:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=!1;function a(e){r&&console.log(e)}},85799:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,(n=[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(e){return Promise.resolve([])}},{key:"removeUpload",value:function(e){return Promise.resolve()}},{key:"addUpload",value:function(e,t){return Promise.resolve(null)}}])&&r(t.prototype,n),a&&r(t,a),e}()},63620:function(e,t,n){"use strict";var r=n(84097),a=n(41294),o=n.n(a),i=n(56971),s=n(51336),l=n(98184);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var m={endpoint:null,uploadUrl:null,metadata:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,_onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:null,chunkSize:1/0,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null},h=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"resume"in n&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=n,this._urlStorage=this.options.urlStorage,this.file=t,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}var t,n,r;return t=e,n=[{key:"findPreviousUploads",value:function(){var e=this;return this.options.fingerprint(this.file,this.options).then((function(t){return e._urlStorage.findUploadsByFingerprint(t)}))}},{key:"resumeFromPreviousUpload",value:function(e){this.url=e.uploadUrl||null,this._parallelUploadUrls=e.parallelUploadUrls||null,this._urlStorageKey=e.urlStorageKey}},{key:"start",value:function(){var e=this,t=this.file;if(t)if(this.options.endpoint||this.options.uploadUrl){var n=this.options.retryDelays;null==n||"[object Array]"===Object.prototype.toString.call(n)?(this.options.parallelUploads>1&&["uploadUrl","uploadSize","uploadLengthDeferred"].forEach((function(t){e.options[t]&&e._emitError(new Error("tus: cannot use the ".concat(t," option when parallelUploads is enabled")))})),this.options.fingerprint(t,this.options).then((function(n){return null==n?(0,s.c)("No fingerprint was calculated meaning that the upload cannot be stored in the URL storage."):(0,s.c)("Calculated fingerprint: ".concat(n)),e._fingerprint=n,e._source?e._source:e.options.fileReader.openFile(t,e.options.chunkSize)})).then((function(t){e._source=t,e.options.parallelUploads>1||null!=e._parallelUploadUrls?e._startParallelUpload():e._startSingleUpload()})).catch((function(t){e._emitError(t)}))):this._emitError(new Error("tus: the `retryDelays` option must either be an array or null"))}else this._emitError(new Error("tus: neither an endpoint or an upload URL is provided"));else this._emitError(new Error("tus: no file or stream to upload provided"))}},{key:"_startParallelUpload",value:function(){var t=this,n=this._size=this._source.size,r=0;this._parallelUploads=[];var a=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,o=function(e,t,n){for(var r=Math.floor(e/t),a=[],o=0;o<t;o++)a.push({start:r*o,end:r*(o+1)});return a[t-1].end=e,n&&a.forEach((function(e,t){e.uploadUrl=n[t]||null})),a}(this._source.size,a,this._parallelUploadUrls);this._parallelUploadUrls=new Array(o.length);var i,l=o.map((function(a,i){var s=0;return t._source.slice(a.start,a.end).then((function(l){var c=l.value;return new Promise((function(l,p){var d=u({},t.options,{uploadUrl:a.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,metadata:{},headers:u({},t.options.headers,{"Upload-Concat":"partial"}),onSuccess:l,onError:p,onProgress:function(e){r=r-s+e,s=e,t._emitProgress(r,n)},_onUploadUrlAvailable:function(){t._parallelUploadUrls[i]=m.url,t._parallelUploadUrls.filter((function(e){return!!e})).length===o.length&&t._saveUploadInUrlStorage()}}),m=new e(c,d);m.start(),t._parallelUploads.push(m)}))}))}));Promise.all(l).then((function(){(i=t._openRequest("POST",t.options.endpoint)).setHeader("Upload-Concat","final;".concat(t._parallelUploadUrls.join(" ")));var e=f(t.options.metadata);return""!==e&&i.setHeader("Upload-Metadata",e),t._sendRequest(i,null)})).then((function(e){if(g(e.getStatus(),200)){var n=e.getHeader("Location");null!=n?(t.url=y(t.options.endpoint,n),(0,s.c)("Created upload at ".concat(t.url)),t._emitSuccess()):t._emitHttpError(i,e,"tus: invalid or missing Location header")}else t._emitHttpError(i,e,"tus: unexpected response while creating upload")})).catch((function(e){t._emitError(e)}))}},{key:"_startSingleUpload",value:function(){if(this.options.uploadLengthDeferred)this._size=null;else if(null!=this.options.uploadSize){if(this._size=+this.options.uploadSize,isNaN(this._size))return void this._emitError(new Error("tus: cannot convert `uploadSize` option into a number"))}else if(this._size=this._source.size,null==this._size)return void this._emitError(new Error("tus: cannot automatically derive upload's size from input and must be specified manually using the `uploadSize` option"));return this._aborted=!1,null!=this.url?((0,s.c)("Resuming upload from previous URL: ".concat(this.url)),void this._resumeUpload()):null!=this.options.uploadUrl?((0,s.c)("Resuming upload from provided URL: ".concat(this.options.url)),this.url=this.options.uploadUrl,void this._resumeUpload()):((0,s.c)("Creating a new upload"),void this._createUpload())}},{key:"abort",value:function(t){var n=this;if(arguments.length>1&&"function"==typeof arguments[1])throw new Error("tus: the abort function does not accept a callback since v2 anymore; please use the returned Promise instead");return null!=this._parallelUploads&&this._parallelUploads.forEach((function(e){e.abort(t)})),null!==this._req&&(this._req.abort(),this._source.close()),this._aborted=!0,null!=this._retryTimeout&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),t&&null!=this.url?e.terminate(this.url,this.options).then((function(){return n._removeFromUrlStorage()})):Promise.resolve()}},{key:"_emitHttpError",value:function(e,t,n,r){this._emitError(new i.Z(n,r,e,t))}},{key:"_emitError",value:function(e){var t=this;if(!this._aborted){if(null!=this.options.retryDelays&&(null!=this._offset&&this._offset>this._offsetBeforeRetry&&(this._retryAttempt=0),k(e,this._retryAttempt,this.options))){var n=this.options.retryDelays[this._retryAttempt++];return this._offsetBeforeRetry=this._offset,void(this._retryTimeout=setTimeout((function(){t.start()}),n))}if("function"!=typeof this.options.onError)throw e;this.options.onError(e)}}},{key:"_emitSuccess",value:function(){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),"function"==typeof this.options.onSuccess&&this.options.onSuccess()}},{key:"_emitProgress",value:function(e,t){"function"==typeof this.options.onProgress&&this.options.onProgress(e,t)}},{key:"_emitChunkComplete",value:function(e,t,n){"function"==typeof this.options.onChunkComplete&&this.options.onChunkComplete(e,t,n)}},{key:"_createUpload",value:function(){var e=this;if(this.options.endpoint){var t=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?t.setHeader("Upload-Defer-Length",1):t.setHeader("Upload-Length",this._size);var n,r=f(this.options.metadata);""!==r&&t.setHeader("Upload-Metadata",r),this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,n=this._addChunkToRequest(t)):n=this._sendRequest(t,null),n.then((function(n){if(g(n.getStatus(),200)){var r=n.getHeader("Location");if(null!=r){if(e.url=y(e.options.endpoint,r),(0,s.c)("Created upload at ".concat(e.url)),"function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),0===e._size)return e._emitSuccess(),void e._source.close();e._saveUploadInUrlStorage(),e.options.uploadDataDuringCreation?e._handleUploadResponse(t,n):(e._offset=0,e._performUpload())}else e._emitHttpError(t,n,"tus: invalid or missing Location header")}else e._emitHttpError(t,n,"tus: unexpected response while creating upload")})).catch((function(n){e._emitHttpError(t,null,"tus: failed to create upload",n)}))}else this._emitError(new Error("tus: unable to create upload because no endpoint is provided"))}},{key:"_resumeUpload",value:function(){var e=this,t=this._openRequest("HEAD",this.url);this._sendRequest(t,null).then((function(n){var r=n.getStatus();if(!g(r,200))return g(r,400)&&e._removeFromUrlStorage(),423===r?void e._emitHttpError(t,n,"tus: upload is currently locked; retry later"):e.options.endpoint?(e.url=null,void e._createUpload()):void e._emitHttpError(t,n,"tus: unable to resume upload (new upload cannot be created without an endpoint)");var a=parseInt(n.getHeader("Upload-Offset"),10);if(isNaN(a))e._emitHttpError(t,n,"tus: invalid or missing offset value");else{var o=parseInt(n.getHeader("Upload-Length"),10);if(!isNaN(o)||e.options.uploadLengthDeferred){if("function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),a===o)return e._emitProgress(o,o),void e._emitSuccess();e._offset=a,e._performUpload()}else e._emitHttpError(t,n,"tus: invalid or missing length value")}})).catch((function(n){e._emitHttpError(t,null,"tus: failed to resume upload",n)}))}},{key:"_performUpload",value:function(){var e,t=this;this._aborted||(this.options.overridePatchMethod?(e=this._openRequest("POST",this.url)).setHeader("X-HTTP-Method-Override","PATCH"):e=this._openRequest("PATCH",this.url),e.setHeader("Upload-Offset",this._offset),this._addChunkToRequest(e).then((function(n){g(n.getStatus(),200)?t._handleUploadResponse(e,n):t._emitHttpError(e,n,"tus: unexpected response while uploading chunk")})).catch((function(n){t._aborted||t._emitHttpError(e,null,"tus: failed to upload chunk at offset ".concat(t._offset),n)})))}},{key:"_addChunkToRequest",value:function(e){var t=this,n=this._offset,r=this._offset+this.options.chunkSize;return e.setProgressHandler((function(e){t._emitProgress(n+e,t._size)})),e.setHeader("Content-Type","application/offset+octet-stream"),(r===1/0||r>this._size)&&!this.options.uploadLengthDeferred&&(r=this._size),this._source.slice(n,r).then((function(n){var r=n.value,a=n.done;return t.options.uploadLengthDeferred&&a&&(t._size=t._offset+(r&&r.size?r.size:0),e.setHeader("Upload-Length",t._size)),null===r?t._sendRequest(e):(t._emitProgress(t._offset,t._size),t._sendRequest(e,r))}))}},{key:"_handleUploadResponse",value:function(e,t){var n=parseInt(t.getHeader("Upload-Offset"),10);if(isNaN(n))this._emitHttpError(e,t,"tus: invalid or missing offset value");else{if(this._emitProgress(n,this._size),this._emitChunkComplete(n-this._offset,n,this._size),this._offset=n,n==this._size)return this._emitSuccess(),void this._source.close();this._performUpload()}}},{key:"_openRequest",value:function(e,t){var n=b(e,t,this.options);return this._req=n,n}},{key:"_removeFromUrlStorage",value:function(){var e=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch((function(t){e._emitError(t)})),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var e=this;if(this.options.storeFingerprintForResuming&&this._fingerprint){var t={size:this._size,metadata:this.options.metadata,creationTime:(new Date).toString()};this._parallelUploads?t.parallelUploadUrls=this._parallelUploadUrls:t.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,t).then((function(t){return e._urlStorageKey=t})).catch((function(t){e._emitError(t)}))}}},{key:"_sendRequest",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return v(e,t,this.options)}}],r=[{key:"terminate",value:function(t,n){if(arguments.length>1&&"function"==typeof arguments[arguments.length-1])throw new Error("tus: the terminate function does not accept a callback since v2 anymore; please use the returned Promise instead");void 0===n&&(n={});var r=b("DELETE",t,n);return v(r,null,n).then((function(e){if(204!==e.getStatus())throw new i.Z("tus: unexpected response while terminating upload",null,r,e)})).catch((function(a){if(a instanceof i.Z||(a=new i.Z("tus: failed to terminate upload",a,r,null)),!k(a,0,n))throw a;var o=n.retryDelays[0],s=n.retryDelays.slice(1),l=u({},n,{retryDelays:s});return new Promise((function(e){return setTimeout(e,o)})).then((function(){return e.terminate(t,l)}))}))}}],n&&d(t.prototype,n),r&&d(t,r),e}();function f(e){var t=[];for(var n in e)t.push("".concat(n," ").concat(r.Base64.encode(e[n])));return t.join(",")}function g(e,t){return e>=t&&e<t+100}function b(e,t,n){var r=n.httpStack.createRequest(e,t);r.setHeader("Tus-Resumable","1.0.0");var a=n.headers||{};for(var o in a)r.setHeader(o,a[o]);if(n.addRequestId){var i=(0,l.Z)();r.setHeader("X-Request-ID",i)}return r}function v(e,t,n){return("function"==typeof n.onBeforeRequest?Promise.resolve(n.onBeforeRequest(e)):Promise.resolve()).then((function(){return e.send(t).then((function(t){return("function"==typeof n.onAfterResponse?Promise.resolve(n.onAfterResponse(e,t)):Promise.resolve()).then((function(){return t}))}))}))}function k(e,t,n){if(null==n.retryDelays||t>=n.retryDelays.length||null==e.originalRequest)return!1;if(n&&"function"==typeof n.onShouldRetry)return n.onShouldRetry(e,t,n);var r,a=e.originalResponse?e.originalResponse.getStatus():0;return(!g(a,400)||409===a||423===a)&&(r=!0,"undefined"!=typeof window&&"navigator"in window&&!1===window.navigator.onLine&&(r=!1),r)}function y(e,t){return new(o())(t,e).toString()}h.defaultOptions=m,t.Z=h},98184:function(e,t,n){"use strict";function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}n.d(t,{Z:function(){return r}})},19590:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},20994:function(e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},95162:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},59939:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},84353:function(e,t,n){"use strict";t.Any=n(44957),t.Cc=n(19590),t.Cf=n(20994),t.P=n(95162),t.Z=n(59939)},44957:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},41294:function(e,t,n){"use strict";var r=n(82298),a=n(40142),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function p(e){return(e||"").toString().replace(o,"")}var d=[["#","hash"],["?","query"],function(e,t){return f(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],m={hash:1,query:1};function h(e){var t,n=("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).location||{},r={},a=typeof(e=e||n);if("blob:"===e.protocol)r=new b(unescape(e.pathname),{});else if("string"===a)for(t in r=new b(e,{}),m)delete r[t];else if("object"===a){for(t in e)t in m||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=s.test(e.href))}return r}function f(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=p(e)).replace(i,""),t=t||{};var n,r=c.exec(e),a=r[1]?r[1].toLowerCase():"",o=!!r[2],s=!!r[3],l=0;return o?s?(n=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(n=r[2]+r[4],l=r[2].length):s?(n=r[3]+r[4],l=r[3].length):n=r[4],"file:"===a?l>=2&&(n=n.slice(2)):f(a)?n=r[4]:a?o&&(n=n.slice(2)):l>=2&&f(t.protocol)&&(n=r[4]),{protocol:a,slashes:o||f(a),slashesCount:l,rest:n}}function b(e,t,n){if(e=(e=p(e)).replace(i,""),!(this instanceof b))return new b(e,t,n);var o,s,l,c,m,v,k=d.slice(),y=typeof t,E=this,w=0;for("object"!==y&&"string"!==y&&(n=t,t=null),n&&"function"!=typeof n&&(n=a.parse),o=!(s=g(e||"",t=h(t))).protocol&&!s.slashes,E.slashes=s.slashes||o&&t.slashes,E.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||u.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!f(E.protocol)))&&(k[3]=[/(.*)/,"pathname"]);w<k.length;w++)"function"!=typeof(c=k[w])?(l=c[0],v=c[1],l!=l?E[v]=e:"string"==typeof l?~(m="@"===l?e.lastIndexOf(l):e.indexOf(l))&&("number"==typeof c[2]?(E[v]=e.slice(0,m),e=e.slice(m+c[2])):(E[v]=e.slice(m),e=e.slice(0,m))):(m=l.exec(e))&&(E[v]=m[1],e=e.slice(0,m.index)),E[v]=E[v]||o&&c[3]&&t[v]||"",c[4]&&(E[v]=E[v].toLowerCase())):e=c(e,E);n&&(E.query=n(E.query)),o&&t.slashes&&"/"!==E.pathname.charAt(0)&&(""!==E.pathname||""!==t.pathname)&&(E.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,a=n[r-1],o=!1,i=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),i++):i&&(0===r&&(o=!0),n.splice(r,1),i--);return o&&n.unshift(""),"."!==a&&".."!==a||n.push(""),n.join("/")}(E.pathname,t.pathname)),"/"!==E.pathname.charAt(0)&&f(E.protocol)&&(E.pathname="/"+E.pathname),r(E.port,E.protocol)||(E.host=E.hostname,E.port=""),E.username=E.password="",E.auth&&(~(m=E.auth.indexOf(":"))?(E.username=E.auth.slice(0,m),E.username=encodeURIComponent(decodeURIComponent(E.username)),E.password=E.auth.slice(m+1),E.password=encodeURIComponent(decodeURIComponent(E.password))):E.username=encodeURIComponent(decodeURIComponent(E.auth)),E.auth=E.password?E.username+":"+E.password:E.username),E.origin="file:"!==E.protocol&&f(E.protocol)&&E.host?E.protocol+"//"+E.host:"null",E.href=E.toString()}b.prototype={set:function(e,t,n){var o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||a.parse)(t)),o[e]=t;break;case"port":o[e]=t,r(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,l.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!n;break;case"pathname":case"hash":if(t){var i="pathname"===e?"/":"#";o[e]=t.charAt(0)!==i?i+t:t}else o[e]=t;break;case"username":case"password":o[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(o.username=t.slice(0,s),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(s+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var c=0;c<d.length;c++){var u=d[c];u[4]&&(o[u[1]]=o[u[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&f(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=a.stringify);var t,n=this,r=n.host,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var i=o+(n.protocol&&n.slashes||f(n.protocol)?"//":"");return n.username?(i+=n.username,n.password&&(i+=":"+n.password),i+="@"):n.password?(i+=":"+n.password,i+="@"):"file:"!==n.protocol&&f(n.protocol)&&!r&&"/"!==n.pathname&&(i+="@"),(":"===r[r.length-1]||l.test(n.hostname)&&!n.port)&&(r+=":"),i+=r+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},b.extractProtocol=g,b.location=h,b.trimLeft=p,b.qs=a,e.exports=b},76389:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},17811:function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,a=arguments.length;n<a;n++)t.push(arguments[n]);return t}function a(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,a=this.head;null!==a;)n.push(e.call(t,a.value,this)),a=a.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,a=this.tail;null!==a;)n.push(e.call(t,a.value,this)),a=a.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var a=0;null!==r;a++)n=e(n,r.value,a),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var a=this.length-1;null!==r;a--)n=e(n,r.value,a),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=0,o=this.head;null!==o&&a<e;a++)o=o.next;for(;null!==o&&a<t;a++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=this.length,o=this.tail;null!==o&&a>t;a--)o=o.prev;for(;null!==o&&a>e;a--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var i=[];for(r=0;o&&r<t;r++)i.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=a(this,o,n[r]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(76389)(r)}catch(e){}},8964:function(e,t,n){"use strict";e.exports=n.p+"images/eventbrite-in-page-example-c351ec80e4dd5d39433d.png"},96406:function(e,t,n){"use strict";e.exports=n.p+"images/map-preview-97bda80ebb6981457630.jpg"},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},23879:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-2x-62cd99bcc3acbd1ff504.png"},22323:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-a51d6c3207b0a904edb7.png"},60206:function(e,t,n){"use strict";e.exports=n.p+"images/simple-payments_example-1-0273eeccd8d120df4984.jpg"},65784:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-1-07a3f164621235df0419.jpg"},6425:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-2-2ee401e47066229bdac5.jpg"},85983:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-3-0682afca66c485f17ff6.jpg"},96606:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-1-d2817eb0e669267ab3eb.jpg"},85472:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-2-7d8f0cf8e262f0112691.jpg"},79009:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-3-07a3f164621235df0419.jpg"},10742:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-4-2ee401e47066229bdac5.jpg"},52642:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-5-a1935fd9cf1181168d90.jpg"},41145:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-6-9f9d39c6af0fb4b0d99c.jpg"},41194:function(e,t,n){"use strict";e.exports=n.p+"images/videopress-block-example-image-da9ef73787adca8896f2.jpg"},80405:function(e,t,n){"use strict";e.exports=n.p+"images/example_160x600-ccbc594f54431dafa70d.png"},72473:function(e,t,n){"use strict";e.exports=n.p+"images/example_300x250-5b93e8174f02d48c40b7.png"},38511:function(e,t,n){"use strict";e.exports=n.p+"images/example_320x50-7110edf045141630a222.png"},52203:function(e,t,n){"use strict";e.exports=n.p+"images/example_728x90-d9de384932330b92e1c3.png"},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},76292:function(e){"use strict";e.exports=window.moment},86989:function(e){"use strict";e.exports=window.wp.apiFetch},11313:function(e){"use strict";e.exports=window.wp.blob},52175:function(e){"use strict";e.exports=window.wp.blockEditor},4981:function(e){"use strict";e.exports=window.wp.blocks},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},69771:function(e){"use strict";e.exports=window.wp.date},47701:function(e){"use strict";e.exports=window.wp.domReady},12238:function(e){"use strict";e.exports=window.wp.editor},69307:function(e){"use strict";e.exports=window.wp.element},81975:function(e){"use strict";e.exports=window.wp.escapeHtml},92694:function(e){"use strict";e.exports=window.wp.hooks},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes},53961:function(e){"use strict";e.exports=window.wp.notices},98817:function(e){"use strict";e.exports=window.wp.plugins},70444:function(e){"use strict";e.exports=window.wp.primitives},29512:function(e){"use strict";e.exports=window.wp.tokenList},96483:function(e){"use strict";e.exports=window.wp.url},90162:function(e){"use strict";e.exports=window.wp.viewport},6551:function(e){"use strict";e.exports=window.wp.widgets},80550:function(e){"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')},84321:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')},1949:function(e){"use strict";e.exports={Kc:["amazon"]}}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return i[e].call(n.exports,n,n.exports,l),n.exports}l.m=i,l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);l.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},l.d(a,o),a},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(t,n){return l.f[n](e,t),t}),[]))},l.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{302:"8477ea85482e6f10802f",390:"e97a60781e1543c44f3c"}[e]},l.miniCssF=function(e){return"swiper.css?minify=false&ver=eacdc1a03fc9a7e72e14"},function(){if(!l.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;l.miniCssF=(e=l.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",l.l=function(e,t,a,o){if(n[e])n[e].push(t);else{var i,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",r+a),i.src=e),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(m);var a=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((function(e){return e(r)})),t)return t(r)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.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(/\/[^\/]+$/,"/"),l.p=e}(),a=function(e){return new Promise((function(t,n){var r=l.miniCssF(e),a=l.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var a=(i=n[r]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(a===e||a===t))return i}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var i;if((a=(i=o[r]).getAttribute("data-href"))===e||a===t)return i}}(r,a))return t();!function(e,t,n,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(o){if(a.onerror=a.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode.removeChild(a),r(l)}},a.href=t,document.head.appendChild(a)}(e,a,t,n)}))},o={486:0},l.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=a(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={486:0};l.f.j=function(t,n){var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var a=new Promise((function(n,a){r=e[t]=[n,a]}));n.push(r[2]=a);var o=l.p+l.u(t),i=new Error;l.l(o,(function(n){if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,r[1](i)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,a,o=n[0],i=n[1],s=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(s)s(l)}for(t&&t(n);c<o.length;c++)a=o[c],l.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";l(80425),l(85921),l(63066),l(92713),l(54414),l(36215),l(31657),l(23984),l(14688),l(7652);var e=l(84069);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){const{userid:t,username:n}=window.Jetpack_Editor_Initial_State.tracksUserData;e.Z.initialize(t,n,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}}(),function(){"use strict";var e=l(31985),t=l(96405);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(77123);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(50785);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(6528);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(31985),t=l(64446);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(31985),t=l(29800);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(75334);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(25073);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(13839);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(78544);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(4495);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(85406);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(80723);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(69309);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(66094);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(90362);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(92882);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(30314);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(12012);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(61390);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(19775);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(99602);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(82402),t=l.n(e),n=l(69307),r=l(55609),a=l(11313),o=l(4981),i=l(12238),s=l(52175),c=l(92694),u=l(94333),p=l(65736),d=l(13419),m=l(92819),h=l(30053),f=l(23096),g=l(10723),b=l(29899),v=l(97504),k=l(34284),y=l(58351),E=l(41194);const __=p.__,w=(0,u.createHigherOrderComponent)((e=>a=>{const{name:o}=(0,s.useBlockEditContext)();return"core/video"!==o?(0,n.createElement)(e,a):(0,n.createElement)(e,t()({},a,{disableDropZone:!0,className:"no-videopress-media-placeholder"}),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",variant:"secondary"},__("Media Library","jetpack")),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",variant:"secondary"},__("Upload","jetpack")))}),"videoPressNoPlanMediaPlaceholder"),_=(0,u.createHigherOrderComponent)((e=>r=>{const{name:a}=(0,s.useBlockEditContext)();if("core/video"!==a)return(0,n.createElement)(e,r);const{onFilesSelected:o,onMediaItemSelected:i}=(0,n.useContext)(g.H),l={...r,handleUpload:!1,disableDropZone:!0,onSelect:e=>{e instanceof FileList?o(e):i(e)}};return(0,n.createElement)(e,t()({},l,{className:"videopress-media-placeholder"}))}),"videoPressMediaPlaceholder"),C=(e,t,n)=>{var r;return"core/video"!==t.name||!n.guid||(null===(r=n.className)||void 0===r?void 0:r.indexOf("wp-block-video"))>=0||n.videoPressClassNames||(e.className=e.className.replace("wp-block-video","").trim()),e};(0,c.addFilter)("blocks.registerBlockType","jetpack/videopress",((e,t)=>{if("core/embed"===t)return(e=>{if(!("variations"in e)||"object"!=typeof e.variations)return;const{available:t}=(0,d.OZ)("videopress");e.variations.some((e=>"videopress"===e.name&&(t&&(e.scope=[]),e.patterns.push(/^https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?$/i),!0)))})(e),e;if("core/video"!==t||e.isDeprecation)return e;const{deprecated:n,edit:r,save:s,supports:l,transforms:u}=e,{available:p,unavailableReason:g}=(0,d.OZ)("videopress"),x=((0,d.Wp)()||(0,d.Ug)())&&["missing_plan","unknown"].includes(g),j=!!window.videoPressResumableEnabled;if(x?((0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",w),(0,c.addFilter)("editor.BlockListBlock","jetpack/videopress-with-has-warning-is-interactive-class-names",(0,d.T)("core/video"))):p&&(j&&(0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",_),e.description=__("Embed a video from your media library or upload a new one with VideoPress.","jetpack"),e.example.attributes={caption:"",isVideoPressExample:!0,src:E}),(0,c.addFilter)("blocks.getSaveContent.extraProps","jetpack/videopress",C,20),p||["missing_plan","missing_module","unknown"].includes(g)){const t={autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},useAverageColor:{type:"boolean",default:!0},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"},fileForImmediateUpload:{type:"object",default:null}},c=/https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?/i;return{...e,attributes:t,transforms:{...u,from:[{type:"files",isMatch:e=>(0,m.every)(e,(e=>0===e.type.indexOf("video/"))),priority:9,transform:(e,t)=>{const n=[];return e.forEach((e=>{if(p&&j){const t=(0,o.createBlock)("core/video",{fileForImmediateUpload:e});n.push(t)}else{const r=(0,o.createBlock)("core/video",{src:(0,a.createBlobURL)(e)});(0,i.mediaUpload)({filesList:[e],onFileChange:e=>{let[{id:n,url:a}]=e;t(r.clientId,{id:n,src:a})},allowedTypes:["video"]}),n.push(r)}})),n}},{type:"raw",isMatch:e=>"P"===e.nodeName&&c.test(e.innerHTML),transform:e=>{const t=c.exec(e.innerHTML);return(0,o.createBlock)("core/embed",{url:"https://videopress.com/v/"+t[1].trim()})}}]},supports:{...l,reusable:!1},edit:(0,h.Z)(r),save:(0,f.Z)(s),deprecated:[...n||[],y.Z,k.Z,{attributes:t,isEligible:e=>!e.guid,save:s,supports:l,isDeprecation:!0},v.Z,b.Z]}}return e}),5)}(),function(){"use strict";var e=l(31985),t=l(57795);(0,e.Z)(t.u2,t.Xd)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-no-post-editor.js.LICENSE.txt b/plugins/jetpack/_inc/blocks/editor-no-post-editor.js.LICENSE.txt
index f4234c69..f66dffb2 100644
--- a/plugins/jetpack/_inc/blocks/editor-no-post-editor.js.LICENSE.txt
+++ b/plugins/jetpack/_inc/blocks/editor-no-post-editor.js.LICENSE.txt
@@ -6,25 +6,13 @@
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
*/
-/*
-object-assign
-(c) Sindre Sorhus
-@license MIT
-*/
-
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
-/*! https://mths.be/punycode v1.3.2 by @mathias */
-
-/** @license React vundefined
- * use-subscription.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
+/*!
+ 2021 Jason Mulligan <jason.mulligan@avoidwork.com>
+ @version 8.0.6
+*/
diff --git a/plugins/jetpack/_inc/blocks/editor-no-post-editor.rtl.css b/plugins/jetpack/_inc/blocks/editor-no-post-editor.rtl.css
index a4a1a7b1..ebb670f6 100644
--- a/plugins/jetpack/_inc/blocks/editor-no-post-editor.rtl.css
+++ b/plugins/jetpack/_inc/blocks/editor-no-post-editor.rtl.css
@@ -1 +1 @@
-.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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);-o-object-fit:contain;object-fit:contain;position:absolute;right:8px;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;position:absolute;right:0;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:right;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 transparent}.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;padding:20px 0;position:fixed;position:sticky;right:0;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-left:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-left: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-right:1px solid #ccc;margin-right:16px;padding-right: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-left: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 0 9px 1px}@media only screen and (min-width:783px){.jetpack-external-media-header__account .jetpack-external-media-browser__disconnect{height:30px}}.jetpack-external-media-header__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-left:12px}.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.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;left:0;margin-top:-48px;padding:0;position:absolute;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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-left:8px}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-left: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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.paid-block-media-placeholder{width:100%}.wp-block-cover .paid-block-media-placeholder:not(:only-child){bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-left: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-left: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-left:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-left:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-left:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-left:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-left:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right;margin:3px 0 0 5px}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:right;margin:0 0 0 5px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-left:16px;padding:6px}.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-right: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 transparent;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:right}.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%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;margin:0;padding:0;position:absolute;right:0;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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;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-left: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:right}.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-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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-left: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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-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-left: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}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;margin-right:-16px;margin-top:-19px;position:absolute;right:50%;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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:left;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-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.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 9px 5px 10px}.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-right:4px solid #000;margin-left:0;margin-right:0;padding-right: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-right:1.3em;padding-right: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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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 4px 0 0;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 0 .25em 1em}@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:0;padding-right:1em}.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:right}.wp-block>.wp-block-jetpack-opentable.is-style-wide.alignright{left:0;right:auto}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:right}.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:transparent;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{left:auto;margin-right:2rem;max-width:840px}.wp-block-jetpack-opentable.is-style-wide.alignright{max-width:840px;right:calc(100% - 840px - 2rem)}.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:content-box}.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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.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 8px 0 24px}.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-left: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-left: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-left:10px solid transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{position:absolute;right:calc(50% - 12px);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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.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-left:.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:var(--muriel-hot-red-500);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-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right: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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.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;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;right:50%;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-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@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-right:1em}}.wp-block-jetpack-simple-payments{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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-left: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;left:0;padding:0 4px;pointer-events:none;position:absolute;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{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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left:auto;padding-top:0;position:relative}.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-jetpack-slideshow_slide .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;left:0;margin:0;position:absolute}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{right:0}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-right: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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:rgba(243,106,188,.3);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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);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%;pointer-events:none;position:absolute;right:0;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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{position:absolute;right:-2px;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{margin:0;position:absolute;right:50%;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}.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-left: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 12px 4px 0;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-left: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-right: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}[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} \ 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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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);-o-object-fit:contain;object-fit:contain;position:absolute;right:8px;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;position:absolute;right:0;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:right;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 transparent}.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;padding:20px 0;position:fixed;position:sticky;right:0;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-left:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-left: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-right:1px solid #ccc;margin-right:16px;padding-right: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-left: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 0 9px 1px}@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-left: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;left:0;margin-top:-48px;padding:0;position:absolute;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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-left:8px}.editor-post-featured-image .components-dropdown{display:initial}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-left: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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.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:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-left: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-left: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-left:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-left:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-left:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-left:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-left:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right;margin:3px 0 0 5px}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:right;margin:0 0 0 5px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-left:16px;padding:6px}.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-right: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 transparent;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:right}.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%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;margin:0;padding:0;position:absolute;right:0;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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;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-left: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:right}.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-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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-left: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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-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-left: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}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;margin-right:-16px;margin-top:-19px;position:absolute;right:50%;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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:left;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-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.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 9px 5px 10px}.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-right:4px solid #000;margin-left:0;margin-right:0;padding-right: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-right:1.3em;padding-right: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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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 4px 0 0;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 0 .25em 1em}@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:0;padding-right:1em}.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:right}.wp-block>.wp-block-jetpack-opentable.is-style-wide.alignright{left:0;right:auto}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:right}.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:transparent;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{left:auto;margin-right:2rem;max-width:840px}.wp-block-jetpack-opentable.is-style-wide.alignright{max-width:840px;right:calc(100% - 840px - 2rem)}.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:content-box}.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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.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% - 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{position:absolute;right:calc(50% - 12px);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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.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-left:.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:var(--muriel-hot-red-500);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-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right: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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.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;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;right:50%;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-left: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-right:1em}}.wp-block-jetpack-simple-payments{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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-left: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;left:0;padding:0 4px;pointer-events:none;position:absolute;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{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left: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-jetpack-slideshow_slide .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-right: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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:rgba(243,106,188,.3);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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);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%;pointer-events:none;position:absolute;right:0;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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{position:absolute;right:-2px;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{margin:0;position:absolute;right:50%;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}.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}.resumable-upload__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px}.resumable-upload__logo-text{margin-right:10px}.resumable-upload__status{align-items:center;display:flex;flex-direction:column;margin-top:24px;width:100%}.resumable-upload__file-info{display:flex;flex-direction:row;margin-bottom:16px;width:100%}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;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-right:12px}.resumable-upload__actions{align-items:center;display:flex;justify-content:space-between;margin-top:16px;width:100%}.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-right:12px;margin-top:16px}.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-left: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 12px 4px 0;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-left: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-right: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}[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} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor.asset.php b/plugins/jetpack/_inc/blocks/editor.asset.php
index 612719f2..8eb77217 100644
--- a/plugins/jetpack/_inc/blocks/editor.asset.php
+++ b/plugins/jetpack/_inc/blocks/editor.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => 'baf23a3318354fca47fdcfb3e7a40a2a'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', '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-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'dbb54acec1552018e1ab');
diff --git a/plugins/jetpack/_inc/blocks/editor.css b/plugins/jetpack/_inc/blocks/editor.css
index 9a3e585b..7bfd65e2 100644
--- a/plugins/jetpack/_inc/blocks/editor.css
+++ b/plugins/jetpack/_inc/blocks/editor.css
@@ -1 +1 @@
-.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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;-o-object-fit:contain;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 transparent}.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__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-right:12px}.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-right:8px}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-right: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-left:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.paid-block-media-placeholder{width:100%}.wp-block-cover .paid-block-media-placeholder:not(:only-child){bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-right:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-right:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-right:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-right:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-right:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left;margin:3px 5px 0 0}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:left;margin:0 5px 0 0}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-right:16px;padding:6px}.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-left: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 transparent;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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-right:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;left:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{left: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-right:12px}.components-placeholder.is-large .image-compare__image-after{padding-left: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:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}div.jx-arrow.jx-right{border-color:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;left:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;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:rgba(0,0,0,.7);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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-right: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button: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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#2fb41f!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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.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}.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:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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>.wp-block-jetpack-opentable.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:transparent;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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-right: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:10px 24px 10px 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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-left: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-left:59px}.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 width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-left: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}.jetpack-publicize__connections-list{list-style-type:none;margin:0;width:100%}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.publicize-jetpack-connection-container{display:flex}.publicize-jetpack-connection-container .components-disabled{width:100%}.jetpack-publicize-gutenberg-social-icon{margin-right:5px}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-bottom:13px;margin-left:0;margin-right:0}.jetpack-publicize-notice .components-button{height:auto;line-height:normal;padding-bottom:6px;padding-top:6px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.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-disabled .jetpack-publicize-toggle,.jetpack-publicize-disabled .jetpack-publicize__connections-list{opacity:.5}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 0 0 8px}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-left:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-left:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);left:-10px;position:absolute;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.jetpack-publicize-connection-label{align-items:center;display:flex}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-left:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled,.components-disabled .components-connection-toggle{opacity:.5}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;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 transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.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:var(--muriel-hot-red-500);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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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{fill:red;color: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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-left:5px}.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}@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{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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{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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto}.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-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}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-right:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-right:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-left:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 2px -4px 0;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-right:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.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{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-gutenberg-social-icon.jetpack-social-previews__icon{fill:currentColor;margin-right:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;left:3px;position:absolute;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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:rgba(0,0,0,.5);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-expand svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span,.wp-story-container .wp-story-overlay .wp-story-embed-icon 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:transparent}.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:hsla(0,0%,100%,.4)}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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:#0e1112e0;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:transparent;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:transparent;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}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;margin:0;position:absolute;right:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{left:0}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-left: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:rgba(243,106,188,.3);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:rgba(127,187,227,.2);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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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}.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}[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} \ 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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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;-o-object-fit:contain;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 transparent}.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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-right:8px}.editor-post-featured-image .components-dropdown{display:initial}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-right: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-left:auto}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.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:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-right:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-right:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-right:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-right:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-right:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left;margin:3px 5px 0 0}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:left;margin:0 5px 0 0}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-right:16px;padding:6px}.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-left: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-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-right: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-left: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 transparent;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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-right:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;left:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{left: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-right:12px}.components-placeholder.is-large .image-compare__image-after{padding-left: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:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}div.jx-arrow.jx-right{border-color:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;left:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;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:rgba(0,0,0,.7);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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-right: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-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:#2fb41f!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}.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}.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:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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>.wp-block-jetpack-opentable.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:transparent;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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-right: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:10px 24px 10px 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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-left: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-left:59px}.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 width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-left: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}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 0 0 8px}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-left:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-left:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);left:-10px;position:absolute;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.sDAzdUdcbaYmUMZBe2XW{fill:#2c3338}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:#39579a;border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:#55acee}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:#0976b4}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:#35465c}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.jetpack-publicize-gutenberg-social-icon{margin-right:5px}.jetpack-publicize-connection-label{align-items:center;display:flex;flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-left:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled{opacity:.5;width:100%}.KQcQQLxH5fI08DfOlKwL{display:flex}.GkSdCYn_REWEdI_aqvQk{margin-top:3px}.__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}.xwd1zFILyAv6XzDjevFA{margin:15px 0}.Ua6eKcnk_tQQpFlgXMSn{list-style-type:none;margin:0;width:100%}.Ua6eKcnk_tQQpFlgXMSn .SHqrIEguRfCILRHPyxE9{margin:5px 0 10px}.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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;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 transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.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:var(--muriel-hot-red-500);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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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{fill:red;color: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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-left:5px}.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{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto}.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-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}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-right:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-right:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-left:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 2px -4px 0;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-right:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.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{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-social-previews__icon{fill:currentColor;margin-right:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;left:3px;position:absolute;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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:rgba(0,0,0,.5);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:transparent}.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:hsla(0,0%,100%,.4)}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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:#0e1112e0;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:transparent;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:transparent;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}.is-style-compact .wp-block-button__link,.is-style-compact .wp-block-jetpack-subscriptions__button{border-bottom-left-radius:0!important;border-top-left-radius:0!important;margin-left:0!important}.is-style-compact .components-text-control__input,.is-style-compact p#subscribe-email input[type=email]{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-right-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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;line-height:1.3;white-space:nowrap}.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 form input[type=email]::placeholder{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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;margin:0;position:absolute;right:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{left:0}.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}.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{text-decoration:underline;white-space:nowrap}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-left: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:rgba(243,106,188,.3);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:rgba(127,187,227,.2);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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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}.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}.resumable-upload__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px}.resumable-upload__logo-text{margin-left:10px}.resumable-upload__status{align-items:center;display:flex;flex-direction:column;margin-top:24px;width:100%}.resumable-upload__file-info{display:flex;flex-direction:row;margin-bottom:16px;width:100%}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;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;justify-content:space-between;margin-top:16px;width:100%}.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}.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}[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-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:transparent;border:none;display:flex;flex-direction:row;margin-right:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-left: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}.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}.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}.qr-post-modal__actions_buttons{display:flex;justify-content:right;margin:10px auto;max-width:300px}.qr-post-modal__actions_buttons .components-button{margin-left:5px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor.js b/plugins/jetpack/_inc/blocks/editor.js
index 43af6f34..cf7f68e3 100644
--- a/plugins/jetpack/_inc/blocks/editor.js
+++ b/plugins/jetpack/_inc/blocks/editor.js
@@ -1,107 +1,108 @@
/*! For license information please see editor.js.LICENSE.txt */
-!function(){var e,t,n,r,a,o,i={27538:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},29183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},8172:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31354),a=n(64803);function o(e){var t=(0,r.Z)(e);return function(e){return(0,a.Z)(t,e)}}},64803:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function a(e,t){var n,a,o,i,s,l,c=[];for(n=0;n<e.length;n++){if(s=e[n],i=r[s]){for(a=i.length,o=Array(a);a--;)o[a]=c.pop();try{l=i.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(s)?t[s]:+s;c.push(l)}return c[0]}},7478:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8172);function a(e){var t=(0,r.Z)(e);return function(e){return+t({n:e})}}},31354:function(e,t,n){"use strict";var r,a,o,i;function s(e){for(var t,n,s,l,c=[],u=[];t=e.match(i);){for(n=t[0],(s=e.substr(0,t.index).trim())&&c.push(s);l=u.pop();){if(o[n]){if(o[n][0]===l){n=o[n][1]||n;break}}else if(a.indexOf(l)>=0||r[l]<r[n]){u.push(l);break}c.push(l)}o[n]||u.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&c.push(e),c.concat(u.reverse())}n.d(t,{Z:function(){return s}}),r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},a=["(","?"],o={")":["("],":":["?","?:"]},i=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},702:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function a(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(r,(function(){var e,r,a,o,i;return e=arguments[3],r=arguments[5],"%"===(o=arguments[9])?"%":("*"===(a=arguments[7])&&(a=t[n-1],n++),void 0!==r?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(i=t[0][r]):(void 0===e&&(e=n),n++,i=t[e-1]),"f"===o?i=parseFloat(i)||0:"d"===o&&(i=parseInt(i)||0),void 0!==a&&("f"===o?i=i.toFixed(a):"s"===o&&(i=i.substr(0,a))),null!=i?i:"")}))}},22607:function(e,t,n){"use strict";var r=n(69307);t.Z=function(e){let{icon:t,size:n=24,...a}=e;return(0,r.cloneElement)(t,{width:n,height:n,...a})}},84675:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.Z=o},35127:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.Z=o},41221:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.Z=o},31266:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},81326:function(e,t){var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)a(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function a(e,a){if(a){var o=typeof a;"string"===o?function(e,t){for(var n=t.split(r),a=n.length,o=0;o<a;++o)e[n[o]]=!0}(e,a):Array.isArray(a)?t(e,a):"object"===o?function(e,t){if(t.toString===Object.prototype.toString)for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,a):"number"===o&&function(e,t){e[t]=!0}(e,a)}}return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=new e;t(o,r);var i=[];for(var s in o)o[s]&&i.push(s);return i.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},89105:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},92213:function(e){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,a,o,i=-1;for(t=0,a=e.length;t<a;t+=1){for(o=255&(i^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;i=i>>>8^o}return-1^i}function a(e,n){var r,o,i;if(void 0!==a.crc&&n&&e||(a.crc=-1,e)){for(r=a.crc,o=0,i=e.length;o<i;o+=1)r=r>>>8^t[255&(r^e[o])];return a.crc=r,-1^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}()},97115:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var a=o(n[0]);a!==n[0]&&(t[n[0]]=a)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var l=i[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},89453:function(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}))}},2571:function(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 o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,a,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var a,o,i,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),i=o[t]),void 0===i)i=o[t]=n,++e._eventsCount;else if("function"==typeof i?i=o[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(a=l(e))>0&&i.length>a&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}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 p(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 d(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;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):h(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function f(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function a(o){r.once&&e.removeEventListener(t,a),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var a="error"===e,o=this._events;if(void 0!==o)a=a&&void 0===o.error;else if(!a)return!1;if(a){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,a,o,i;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){i=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(a=o[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},95946:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o<r.length;o++){var i=r[o],s=e[i];(a?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},95949:function(e,t,n){"use strict";var r=n(53566),a=n(48282);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var a=0;a<e.length;a+=this._delta32)this._update(e,a,a+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),a(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var a=1;a<n;a++)r[a]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[a++]=0;r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=e>>>24&255,r[a++]=e>>>16&255,r[a++]=e>>>8&255,r[a++]=255&e}else for(r[a++]=255&e,r[a++]=e>>>8&255,r[a++]=e>>>16&255,r[a++]=e>>>24&255,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,o=8;o<this.padLength;o++)r[a++]=0;return r}},69016:function(e,t,n){"use strict";var r=n(53566),a=n(95949),o=n(47574),i=r.rotl32,s=r.sum32,l=r.sum32_5,c=o.ft_1,u=a.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=i(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var a=this.h[0],o=this.h[1],u=this.h[2],d=this.h[3],m=this.h[4];for(r=0;r<n.length;r++){var h=~~(r/20),f=l(i(a,5),c(h,o,u,d),m,n[r],p[h]);m=d,d=u,u=i(o,30),o=a,a=f}this.h[0]=s(this.h[0],a),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],u),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],m)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},47574:function(e,t,n){"use strict";var r=n(53566).rotr32;function a(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function i(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?a(t,n,r):1===e||3===e?i(t,n,r):2===e?o(t,n,r):void 0},t.ch32=a,t.maj32=o,t.p32=i,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},53566:function(e,t,n){"use strict";var r=n(48282),a=n(59503);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function i(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=a,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),a=0;a<e.length;a+=2)n.push(parseInt(e[a]+e[a+1],16))}else for(var r=0,a=0;a<e.length;a++){var i=e.charCodeAt(a);i<128?n[r++]=i:i<2048?(n[r++]=i>>6|192,n[r++]=63&i|128):o(e,a)?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++a)),n[r++]=i>>18|240,n[r++]=i>>12&63|128,n[r++]=i>>6&63|128,n[r++]=63&i|128):(n[r++]=i>>12|224,n[r++]=i>>6&63|128,n[r++]=63&i|128)}else for(a=0;a<e.length;a++)n[a]=0|e[a];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=i,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e[r];"little"===t&&(a=i(a)),n+=l(a.toString(16))}return n},t.zero2=s,t.zero8=l,t.join32=function(e,t,n,a){var o=n-t;r(o%4==0);for(var i=new Array(o/4),s=0,l=t;s<i.length;s++,l+=4){var c;c="big"===a?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],i[s]=c>>>0}return i},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,a=0;r<e.length;r++,a+=4){var o=e[r];"big"===t?(n[a]=o>>>24,n[a+1]=o>>>16&255,n[a+2]=o>>>8&255,n[a+3]=255&o):(n[a+3]=o>>>24,n[a+2]=o>>>16&255,n[a+1]=o>>>8&255,n[a]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,a){return e+t+n+r+a>>>0},t.sum64=function(e,t,n,r){var a=e[t],o=r+e[t+1]>>>0,i=(o<r?1:0)+n+a;e[t]=i>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,a,o,i,s){var l=0,c=t;return l+=(c=c+r>>>0)<t?1:0,l+=(c=c+o>>>0)<o?1:0,e+n+a+i+(l+=(c=c+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,a,o,i,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,a,o,i,s,l,c){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+o>>>0)<o?1:0,u+=(p=p+s>>>0)<s?1:0,e+n+a+i+l+(u+=(p=p+c>>>0)<c?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,a,o,i,s,l,c){return t+r+o+s+c>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},88617:function(e,t,n){"use strict";var r=n(59128),a=n(98086),o=n(90922),i=n.n(o),s=n(94481),l=n(88090),c=n(75565),u=n.n(c),p=n(69016),d=n.n(p),m=n(2571),h=n(702),f=n(92846),g=i()("i18n-calypso"),b="number_format_decimals",v="number_format_thousands_sep",k="messages",y=[function(e){return e}],E={};function w(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function _(e){return Array.prototype.slice.call(e)}function C(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&w("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",_(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&w("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",_(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function j(e,t){return e.dcnpgettext(k,t.context,t.original,t.plural,t.count)}function S(e,t){for(var n=y.length-1;n>=0;n--){var r=y[n](Object.assign({},t)),a=r.context?r.context+""+r.original:r.original;if(e.state.locale[a])return j(e.state.tannin,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:u()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new m.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",a=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,f.Z)(e,n,r,a)},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var o=e[""]["key-hash"],i=function(e,t){var n=!1===t?"":String(t);if(void 0!==E[n+e])return E[n+e];var r=d()().update(e).digest("hex");return E[n+e]=t?r.substr(0,t):r},s=function(e){return function(t){return t.context?(t.original=i(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=i(t.original,e),t}};if("sha1"===o.substr(0,4))if(4===o.length)y.push(s(!1));else{var c=o.substr(5).indexOf("-");if(c<0){var u=Number(o.substr(5));y.push(s(u))}else for(var p=Number(o.substr(5,c)),m=Number(o.substr(6+c)),h=p;h<=m;h++)y.push(s(h))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new l.Z((0,a.Z)({},k,this.state.locale)),this.state.numberFormatSettings.decimal_point=j(this.state.tannin,C([b])),this.state.numberFormatSettings.thousands_sep=j(this.state.tannin,C([v])),this.state.numberFormatSettings.decimal_point===b&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===v&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.isRtl=function(){return"rtl"===this.state.textDirection},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!S(this,C(arguments))},x.prototype.translate=function(){var e=C(arguments),t=S(this,e);if(t||(t=j(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=h.Z.apply(void 0,(0,r.Z)(n))}catch(e){if(!window||!window.console)return;var a=this.throwErrors?"error":"warn";"string"!=typeof e?window.console[a](e):window.console[a]("i18n sprintf error:",n)}}return e.components&&(t=(0,s.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},x.prototype.reRenderTranslations=function(){g("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)},t.Z=x},63807:function(e,t,n){"use strict";n.d(t,{Y4:function(){return l}});var r=n(88617),a=n(42928),o=n(80975),i=n(24531),s=new r.Z,l=s.numberFormat.bind(s),c=(s.translate.bind(s),s.configure.bind(s),s.setLocale.bind(s),s.getLocale.bind(s),s.getLocaleSlug.bind(s),s.addTranslations.bind(s),s.reRenderTranslations.bind(s),s.registerComponentUpdateHook.bind(s),s.registerTranslateHook.bind(s),s.state,s.stateObserver,s.on.bind(s),s.off.bind(s),s.emit.bind(s),(0,a.Z)(s),(0,o.Z)(s),(0,i.Z)(s));c.useRtl,c.withRtl},42928:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(59591),a=n(71687),o=n(93772),i=n(55200),s=n(82104),l=n(9057),c=n(98086),u=n(99196),p=n.n(u);function d(e){var t={numberFormat:e.numberFormat.bind(e),translate:e.translate.bind(e)};return function(n){var u,d,m=n.displayName||n.name||"";return d=u=function(u){(0,s.Z)(m,u);var d=(0,l.Z)(m);function m(){var e;(0,a.Z)(this,m);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=d.call.apply(d,[this].concat(n)),(0,c.Z)((0,i.Z)(e),"boundForceUpdate",e.forceUpdate.bind((0,i.Z)(e))),e}return(0,o.Z)(m,[{key:"componentDidMount",value:function(){e.on("change",this.boundForceUpdate)}},{key:"componentWillUnmount",value:function(){e.off("change",this.boundForceUpdate)}},{key:"render",value:function(){var a=(0,r.Z)({locale:e.getLocaleSlug()},this.props,{},t);return p().createElement(n,a)}}]),m}(p().Component),(0,c.Z)(u,"displayName","Localized("+m+")"),d}}},92846:function(e,t,n){"use strict";function r(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var a=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,i=void 0===r?",":r,s=void 0===n?".":n,l="";return l=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(a,o):""+Math.round(a)).split("."),l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(l[1]||"").length<o&&(l[1]=l[1]||"",l[1]+=new Array(o-l[1].length+1).join("0")),l.join(s)}n.d(t,{Z:function(){return r}})},24531:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(95672),a=n(99196),o=n.n(a),i=n(20036),s=n(94333);function l(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return(0,i.useSubscription)(t)}var l=(0,s.createHigherOrderComponent)((function(e){return(0,a.forwardRef)((function(t,a){var i=n();return o().createElement(e,(0,r.Z)({},t,{isRtl:i,ref:a}))}))}),"WithRTL");return{useRtl:n,withRtl:l}}},80975:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(50572),a=n(99196),o=n.n(a);function i(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}return function(){var n=o().useState(t),a=(0,r.Z)(n,2),i=a[0],s=a[1];return o().useEffect((function(){var n=function(){return s(t)};return e.on("change",n),function(){return e.off("change",n)}}),[]),i}}},59503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},30045:function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(49872)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?o(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,o,i,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(a=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},49872:function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(26285).source,t.src_Cc=n(84080).source,t.src_Z=n(76202).source,t.src_P=n(87696).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},47595:function(e,t,n){"use strict";const r=n(22199),a=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),h=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[s])return}else n&&(e[m]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},b=e=>{if(e[o]>e[a])for(let t=e[p].tail;e[o]>e[a]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[p].removeNode(t)}};class k{constructor(e,t,n,r,a){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=a||0}}const y=(e,t,n,r)=>{let a=n.value;g(e,a)&&(v(e,n),e[s]||(a=void 0)),a&&t.call(r,a.value,a.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[a]=e.max||1/0;const t=e.length||h;if(this[i]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,b(this)}get max(){return this[a]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,b(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[i]&&(this[i]=e,this[o]=0,this[p].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),b(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[p].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new r,this[o]=0}dump(){return this[p].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[i](t,e);if(this[d].has(e)){if(s>this[a])return v(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=r,i.maxAge=n,i.value=t,this[o]+=s-i.length,i.length=s,this.get(e),b(this),!0}const m=new k(e,t,s,r,n);return m.length>this[a]?(this[c]&&this[c](e,t),!1):(this[o]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),b(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],a=r.e||0;if(0===a)this.set(r.k,r.v);else{const e=a-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},75565:function(e,t,n){var r=n(2571),a=n(59503);function o(e){if(!(this instanceof o))return new o(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=o,a(o,r.EventEmitter),Object.defineProperty(o.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),o.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},o.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},o.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},o.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},o.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},o.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},o.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},o.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},69472:function(e,t,n){"use strict";e.exports=n(98092)},95926:function(e,t,n){"use strict";e.exports=n(60231)},4692:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},75501:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=a},58201:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(95926);var p=/[&<>"]/,d=/[&<>"]/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return m[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var g=n(87696);t.lib={},t.lib.mdurl=n(36664),t.lib.ucmicro=n(39126),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},69486:function(e,t,n){"use strict";t.parseLinkLabel=n(53020),t.parseLinkDestination=n(80113),t.parseLinkTitle=n(7266)},80113:function(e,t,n){"use strict";var r=n(58201).unescapeAll;e.exports=function(e,t,n){var a,o,i=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t)))return s;if(60===a)return s;if(62===a)return s.pos=t+1,s.str=r(e.slice(i+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===a&&++o>32)return s;if(41===a){if(0===o)break;o--}t++}return i===t||0!==o||(s.str=r(e.slice(i,t)),s.lines=0,s.pos=t,s.ok=!0),s}},53020:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)r++;else if(n)return e.pos=c,-1}return a&&(s=e.pos),e.pos=c,s}},7266:function(e,t,n){"use strict";var r=n(58201).unescapeAll;e.exports=function(e,t,n){var a,o,i=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((a=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=i,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===a&&41===o)return l;10===a?i++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&i++),t++}return l}},98092:function(e,t,n){"use strict";var r=n(58201),a=n(69486),o=n(54065),i=n(36020),s=n(63435),l=n(92241),c=n(30045),u=n(36664),p=n(15661),d={default:n(36101),zero:n(67545),commonmark:n(45815)},m=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!m.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function k(e,t){if(!(this instanceof k))return new k(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new i,this.renderer=new o,this.linkify=new c,this.validateLink=f,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}k.prototype.set=function(e){return r.assign(this.options,e),this},k.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},k.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},k.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},k.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},k.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},k.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},k.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},k.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=k},63435:function(e,t,n){"use strict";var r=n(21473),a=[["table",n(33168),["paragraph","reference"]],["code",n(63390)],["fence",n(7477),["paragraph","reference","blockquote","list"]],["blockquote",n(61264),["paragraph","reference","blockquote","list"]],["hr",n(94438),["paragraph","reference","blockquote","list"]],["list",n(90185),["paragraph","reference","blockquote"]],["reference",n(48707)],["heading",n(66926),["paragraph","reference","blockquote"]],["lheading",n(22288)],["html_block",n(77476),["paragraph","reference","blockquote"]],["paragraph",n(13958)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),o=a.length,i=t,s=!1,l=e.md.options.maxNesting;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!a[r](e,i,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<n&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},o.prototype.State=n(62389),e.exports=o},36020:function(e,t,n){"use strict";var r=n(21473),a=[["normalize",n(75615)],["block",n(37262)],["inline",n(50127)],["linkify",n(65644)],["replacements",n(652)],["smartquotes",n(34335)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(53706),e.exports=o},92241:function(e,t,n){"use strict";var r=n(21473),a=[["text",n(96733)],["newline",n(22051)],["escape",n(52960)],["backticks",n(61191)],["strikethrough",n(30832).w],["emphasis",n(98052).w],["link",n(68839)],["image",n(39590)],["autolink",n(84145)],["html_inline",n(20354)],["entity",n(44659)]],o=[["balance_pairs",n(93296)],["strikethrough",n(30832).g],["emphasis",n(98052).g],["text_collapse",n(72300)]];function i(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}i.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),o=a.length,i=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<i)for(n=0;n<o&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},i.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,n,r){var a,o,i,s=new this.State(e,t,n,r);for(this.tokenize(s),i=(o=this.ruler2.getRules("")).length,a=0;a<i;a++)o[a](s)},i.prototype.State=n(4160),e.exports=i},45815:function(e){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},36101:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},67545:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},54065:function(e,t,n){"use strict";var r=n(58201).assign,a=n(58201).unescapeAll,o=n(58201).escapeHtml,i={};function s(){this.rules=r({},i)}i.code_inline=function(e,t,n,r,a){var i=e[t];return"<code"+a.renderAttrs(i)+">"+o(e[t].content)+"</code>"},i.code_block=function(e,t,n,r,a){var i=e[t];return"<pre"+a.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,n,r,i){var s,l,c,u,p,d=e[t],m=d.info?a(d.info).trim():"",h="",f="";return m&&(h=(c=m.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,h,f)||o(d.content)).indexOf("<pre")?s+"\n":m?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),p={attrs:u},"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},i.image=function(e,t,n,r,a){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=a.renderInlineAsText(o.children,n,r),a.renderToken(e,t,n)},i.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return o(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,a="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===i.nesting?"</":"<")+i.tag,a+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(a+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===i.tag)&&(o=!1)),a+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,a="",o=this.rules,i=0,s=e.length;i<s;i++)void 0!==o[r=e[i].type]?a+=o[r](e,i,t,n,this):a+=this.renderToken(e,i,t);return a},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,o=e.length;a<o;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type&&(r+=this.renderInlineAsText(e[a].children,t,n));return r},s.prototype.render=function(e,t,n){var r,a,o,i="",s=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(o=e[r].type)?i+=this.renderInline(e[r].children,t,n):void 0!==s[o]?i+=s[e[r].type](e,r,t,n,this):i+=this.renderToken(e,r,t,n);return i},e.exports=s},21473:function(e){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},61264:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j=e.lineMax,S=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(a)return!0;for(l=m=e.sCount[t]+1,32===e.src.charCodeAt(S)?(S++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[t]+m)%4==3?(S++,l++,m++,o=!1):o=!0):y=!1,h=[e.bMarks[t]],e.bMarks[t]=S;S<x&&(i=e.src.charCodeAt(S),r(i));)9===i?m+=4-(m+e.bsCount[t]+(o?1:0))%4:m++,S++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=S>=x,v=[e.sCount[t]],e.sCount[t]=m-l,k=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(C=e.sCount[d]<e.blkIndent,!((S=e.bMarks[d]+e.tShift[d])>=(x=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(S++)||C){if(u)break;for(E=!1,s=0,c=w.length;s<c;s++)if(w[s](e,d,n,!0)){E=!0;break}if(E){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(l=m=e.sCount[d]+1,32===e.src.charCodeAt(S)?(S++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[d]+m)%4==3?(S++,l++,m++,o=!1):o=!0):y=!1,h.push(e.bMarks[d]),e.bMarks[d]=S;S<x&&(i=e.src.charCodeAt(S),r(i));)9===i?m+=4-(m+e.bsCount[d]+(o?1:0))%4:m++,S++;u=S>=x,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=m-l,k.push(e.tShift[d]),e.tShift[d]=S-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=p=[t,0],e.md.block.tokenize(e,t,d),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=j,e.parentType=b,p[1]=e.line,s=0;s<k.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=k[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=f[s];return e.blkIndent=g,!0}},63390:function(e){"use strict";e.exports=function(e,t,n){var r,a,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(o=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!0),o.map=[t,e.line],!0}},7477:function(e){"use strict";e.exports=function(e,t,n,r){var a,o,i,s,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>m)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(l=d,(o=(d=e.skipChars(d,a))-l)<3)return!1;if(u=e.src.slice(l,d),i=e.src.slice(d,m),96===a&&i.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((d=l=e.bMarks[s]+e.tShift[s])<(m=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,a))-l<o||(d=e.skipSpaces(d))<m)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=i,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},66926:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(i=1,o=e.src.charCodeAt(++c);35===o&&c<u&&i<=6;)i++,o=e.src.charCodeAt(++c);return!(i>6||c<u&&!r(o))&&(a||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}},94438:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(i=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&i++}return!(i<3)&&(a||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(o))),!0)}},77476:function(e,t,n){"use strict";var r=n(4692),a=n(75501).q,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),a=0;a<o.length&&!o[a][0].test(l);a++);if(a===o.length)return!1;if(r)return o[a][2];if(i=t+1,!o[a][1].test(l))for(;i<n&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),o[a][1].test(l)){0!==l.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}},22288:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s,l,c,u,p,d,m=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";m<n&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(l=e.bMarks[m]+e.tShift[m])<(c=e.eMarks[m])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[m]<0)){for(a=!1,o=0,i=h.length;o<i;o++)if(h[o](e,m,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,m,e.blkIndent,!1).trim(),e.line=m+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},90185:function(e,t,n){"use strict";var r=n(58201).isSpace;function a(e,t){var n,a,o,i;return a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n||a<o&&(i=e.src.charCodeAt(a),!r(i))?-1:a}function o(e,t){var n,a=e.bMarks[t]+e.tShift[t],o=a,i=e.eMarks[t];if(o+1>=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-a>=10)return-1}return o<i&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j,S,x,T,N,A,P,I,M,R=!1,L=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(R=!0),(T=o(e,t))>=0){if(d=!0,A=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(A,T-A-1)),R&&1!==v)return!1}else{if(!((T=a(e,t))>=0))return!1;d=!1}if(R&&e.skipSpaces(T)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(T-1),r)return!0;for(g=e.tokens.length,d?(M=e.push("ordered_list_open","ol",1),1!==v&&(M.attrs=[["start",v]])):M=e.push("bullet_list_open","ul",1),M.map=f=[t,0],M.markup=String.fromCharCode(b),y=t,N=!1,I=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";y<n;){for(x=T,k=e.eMarks[y],p=E=e.sCount[y]+T-(e.bMarks[t]+e.tShift[t]);x<k;){if(9===(i=e.src.charCodeAt(x)))E+=4-(E+e.bsCount[y])%4;else{if(32!==i)break;E++}x++}if((u=(s=x)>=k?1:E-p)>4&&(u=1),c=p+u,(M=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),M.map=m=[t,0],S=e.tight,j=e.tShift[t],C=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=k&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!N||(L=!1),N=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=j,e.sCount[t]=C,e.tight=S,(M=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),y=t=e.line,m[1]=y,s=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(P=!1,l=0,h=I.length;l<h;l++)if(I[l](e,y,n,!0)){P=!0;break}if(P)break;if(d){if((T=o(e,y))<0)break}else if((T=a(e,y))<0)break;if(b!==e.src.charCodeAt(T-1))break}return(M=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),f[1]=y,e.line=y,e.parentType=_,L&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},13958:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,a=0,o=c.length;a<o;a++)if(c[a](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=n,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}},48707:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t,n,o){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w=0,_=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],j=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(_))return!1;for(;++_<C;)if(93===e.src.charCodeAt(_)&&92!==e.src.charCodeAt(_-1)){if(_+1===C)return!1;if(58!==e.src.charCodeAt(_+1))return!1;break}for(c=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";j<c&&!e.isEmpty(j);j++)if(!(e.sCount[j]-e.blkIndent>3||e.sCount[j]<0)){for(k=!1,p=0,d=y.length;p<d;p++)if(y[p](e,j,c,!0)){k=!0;break}if(k)break}for(C=(v=e.getLines(t,j,e.blkIndent,!1).trim()).length,_=1;_<C;_++){if(91===(i=v.charCodeAt(_)))return!1;if(93===i){h=_;break}(10===i||92===i&&++_<C&&10===v.charCodeAt(_))&&w++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(_=h+2;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;if(!(g=e.md.helpers.parseLinkDestination(v,_,C)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=_=g.pos,l=w+=g.lines,b=_;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;for(g=e.md.helpers.parseLinkTitle(v,_,C),_<C&&b!==_&&g.ok?(E=g.str,_=g.pos,w+=g.lines):(E="",_=s,w=l);_<C&&(i=v.charCodeAt(_),a(i));)_++;if(_<C&&10!==v.charCodeAt(_)&&E)for(E="",_=s,w=l;_<C&&(i=v.charCodeAt(_),a(i));)_++;return!(_<C&&10!==v.charCodeAt(_))&&(!!(m=r(v.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:E,href:u}),e.parentType=f,e.line=t+w+1),!0))}},62389:function(e,t,n){"use strict";var r=n(82069),a=n(58201).isSpace;function o(e,t,n,r){var o,i,s,l,c,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=p=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!d){if(a(o)){u++,9===o?p+=4-p%4:p++;continue}d=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,i,s,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),o=0;d<t;d++,o++){for(i=0,p=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&i<n;){if(s=this.src.charCodeAt(l),a(s))9===s?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(l-p<this.tShift[d]))break;i++}l++}u[o]=i>n?new Array(i-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=r,e.exports=o},33168:function(e,t,n){"use strict";var r=n(58201).isSpace;function a(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,a=e.length,o=!1,i=0,s="";for(t=e.charCodeAt(r);r<a;)124===t&&(o?(s+=e.substring(i,r-1),i=r):(n.push(s+e.substring(i,r)),s="",i=r+1)),o=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(i)),n}e.exports=function(e,t,n,i){var s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(m=(l=a(e,t+1)).split("|"),g=[],u=0;u<m.length;u++){if(!(b=m[u].trim())){if(0===u||u===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?g.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),0===(h=m.length)||h!==g.length)return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(f=e.push("table_open","table",1)).map=v=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<m.length;u++)f=e.push("th_open","th",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u].trim(),f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),d=t+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(E=!1,u=0,p=w.length;u<p;u++)if(w[u](e,d,n,!0)){E=!0;break}if(E)break;if(!(l=a(e,d).trim()))break;if(e.sCount[d]-e.blkIndent>=4)break;for((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),d===t+2&&((f=e.push("tbody_open","tbody",1)).map=k=[t+2,0]),(f=e.push("tr_open","tr",1)).map=[d,d+1],u=0;u<h;u++)f=e.push("td_open","td",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u]?m[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return k&&(f=e.push("tbody_close","tbody",-1),k[1]=d),f=e.push("table_close","table",-1),v[1]=d,e.parentType=y,e.line=d,!0}},37262:function(e){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},50127:function(e){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},65644:function(e,t,n){"use strict";var r=n(58201).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(f=0,t=(i=E[n].children).length-1;t>=0;t--)if("link_close"!==(l=i[t]).type){if("html_inline"===l.type&&(y=l.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(l.content)&&f++),!(f>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,k=e.md.linkify.match(p),c=[],h=l.level,m=0,u=0;u<k.length;u++)g=k[u].url,b=e.md.normalizeLink(g),e.md.validateLink(b)&&(v=k[u].text,v=k[u].schema?"mailto:"!==k[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=k[u].index)>m&&((s=new e.Token("text","",0)).content=p.slice(m,d),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",b]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=v,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),m=k[u].lastIndex);m<p.length&&((s=new e.Token("text","",0)).content=p.slice(m),s.level=h,c.push(s)),E[n].children=i=r(i,t,c)}}else for(t--;i[t].level!==l.level&&"link_open"!==i[t].type;)t--}},75615:function(e){"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},652:function(e){"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return a[t.toLowerCase()]}function i(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}function s(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||a||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&i(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},34335:function(e,t,n){"use strict";var r=n(58201).isWhiteSpace,a=n(58201).isPunctChar,o=n(58201).isMdAsciiPunct,i=/['"]/,s=/['"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,i,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,j,S,x;for(j=[],n=0;n<e.length;n++){for(i=e[n],m=e[n].level,_=j.length-1;_>=0&&!(j[_].level<=m);_--);if(j.length=_+1,"text"===i.type){p=0,d=(c=i.content).length;e:for(;p<d&&(s.lastIndex=p,u=s.exec(c));){if(E=w=!0,p=u.index+1,C="'"===u[0],f=32,u.index-1>=0)f=c.charCodeAt(u.index-1);else for(_=n-1;_>=0&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_--)if(e[_].content){f=e[_].content.charCodeAt(e[_].content.length-1);break}if(g=32,p<d)g=c.charCodeAt(p);else for(_=n+1;_<e.length&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_++)if(e[_].content){g=e[_].content.charCodeAt(0);break}if(b=o(f)||a(String.fromCharCode(f)),v=o(g)||a(String.fromCharCode(g)),k=r(f),(y=r(g))?E=!1:v&&(k||b||(E=!1)),k?w=!1:b&&(y||v||(w=!1)),34===g&&'"'===u[0]&&f>=48&&f<=57&&(w=E=!1),E&&w&&(E=b,w=v),E||w){if(w)for(_=j.length-1;_>=0&&(h=j[_],!(j[_].level<m));_--)if(h.single===C&&j[_].level===m){h=j[_],C?(S=t.md.options.quotes[2],x=t.md.options.quotes[3]):(S=t.md.options.quotes[0],x=t.md.options.quotes[1]),i.content=l(i.content,u.index,x),e[h.token].content=l(e[h.token].content,h.pos,S),p+=x.length-1,h.token===n&&(p+=S.length-1),d=(c=i.content).length,j.length=_;continue e}E?j.push({token:n,pos:u.index,single:C,level:m}):w&&C&&(i.content=l(i.content,u.index,"’"))}else C&&(i.content=l(i.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},53706:function(e,t,n){"use strict";var r=n(82069);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},84145:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var a,o,i,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return a=e.src.slice(l+1,u),n.test(a)?(o=e.md.normalizeLink(a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0)):!!t.test(a)&&(o=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0))}},61191:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(a=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=a),e.pos+=l,!0;for(i=s=u;-1!==(i=e.src.indexOf("`",s));){for(s=i+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-i)===l)return t||((o=e.push("code_inline","code",0)).markup=a,o.content=e.src.slice(u,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=i}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=l,!0}},93296:function(e){"use strict";function t(e,t){var n,r,a,o,i,s,l,c,u={},p=t.length;for(n=0;n<p;n++)if((a=t[n]).length=a.length||0,a.close){for(u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1]),i=u[a.marker][a.length%3],(r=n-a.jump-1)<-1&&(r=-1),s=r;r>i;r-=o.jump+1)if((o=t[r]).marker===a.marker&&o.open&&o.end<0&&(l=!1,(o.close||a.open)&&(o.length+a.length)%3==0&&(o.length%3==0&&a.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?t[r-1].jump+1:0,a.jump=n-r+c,a.open=!1,o.end=n,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(u[a.marker][(a.length||0)%3]=s)}}e.exports=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},98052:function(e){"use strict";function t(e,t){var n,r,a,o,i,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(a=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===a.token+1&&t[n-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?i+i:i,o.content="",(o=e.tokens[a.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?i+i:i,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,a=e.pos,o=e.src.charCodeAt(a);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},44659:function(e,t,n){"use strict";var r=n(95926),a=n(58201).has,o=n(58201).isValidEntityCode,i=n(58201).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?i(n):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&a(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},52960:function(e,t,n){"use strict";for(var r=n(58201).isSpace,a=[],o=0;o<256;o++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<i){if((n=e.src.charCodeAt(o))<256&&0!==a[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<i&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},20354:function(e,t,n){"use strict";var r=n(75501).n;e.exports=function(e,t){var n,a,o,i=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=o)&&(!(33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(i).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+a[0].length)),e.pos+=a[0].length,!0))))}},39590:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d,m,h,f,g,b="",v=e.pos,k=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<k&&40===e.src.charCodeAt(u)){for(u++;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(u>=k)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<k&&g!==u&&d.ok)for(m=d.str,u=d.pos;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);else m="";if(u>=k||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<k&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(p=e.env.references[r(s)]))return e.pos=v,!1;b=p.href,m=p.title}return t||(i=e.src.slice(c,l),e.md.inline.parse(i,e.md,e.env,f=[]),(h=e.push("image","img",0)).attrs=n=[["src",b],["alt",""]],h.children=f,h.content=i,m&&n.push(["title",m])),e.pos=u,e.posMax=k,!0}},68839:function(e,t,n){"use strict";var r=n(58201).normalizeReference,a=n(58201).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d="",m="",h=e.pos,f=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<f&&40===e.src.charCodeAt(c)){for(b=!1,c++;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(c>=f)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d="",g=c;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<f&&g!==c&&u.ok)for(m=u.str,c=u.pos;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);}(c>=f||41!==e.src.charCodeAt(c))&&(b=!0),c++}if(b){if(void 0===e.env.references)return!1;if(c<f&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?i=e.src.slice(g,c++):c=s+1):c=s+1,i||(i=e.src.slice(l,s)),!(p=e.env.references[r(i)]))return e.pos=h,!1;d=p.href,m=p.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=f,!0}},22051:function(e,t,n){"use strict";var r=n(58201).isSpace;e.exports=function(e,t){var n,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,a=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<a&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},4160:function(e,t,n){"use strict";var r=n(82069),a=n(58201).isWhiteSpace,o=n(58201).isPunctChar,i=n(58201).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(o),a},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,d,m,h=e,f=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,r=h<b?this.src.charCodeAt(h):32,p=i(n)||o(String.fromCharCode(n)),m=i(r)||o(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:m&&(u||p||(f=!1)),u?g=!1:p&&(d||m||(g=!1)),t?(l=f,c=g):(l=f&&(!g||p),c=g&&(!f||m)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},30832:function(e){"use strict";function t(e,t){var n,r,a,o,i,s=[],l=t.length;for(n=0;n<l;n++)126===(a=t[n]).marker&&-1!==a.end&&(o=t[a.end],(i=e.tokens[a.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=i)}}e.exports.w=function(e,t){var n,r,a,o,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=o,a--),n=0;n<a;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,jump:n/2,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},96733:function(e){"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},72300:function(e){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)a[t].nesting<0&&r--,a[t].level=r,a[t].nesting>0&&r++,"text"===a[t].type&&t+1<o&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},82069:function(e){"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},62098:function(e){"use strict";var t={};function n(e,r){var a;return"string"!=typeof r&&(r=n.defaultChars),a=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),a.push(r);for(n=0;n<e.length;n++)a[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return a}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,i,s,l,c="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=a[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&i))?(c+=(l=r<<12&61440|o<<6&4032|63&i)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&i)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|i<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},9401:function(e){"use strict";var t={};function n(e,r,a){var o,i,s,l,c,u="";for("string"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),c=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),o=0,i=e.length;o<i;o++)if(s=e.charCodeAt(o),a&&37===s&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<i&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},56558:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},36664:function(e,t,n){"use strict";e.exports.encode=n(9401),e.exports.decode=n(62098),e.exports.format=n(56558),e.exports.parse=n(5)},5:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),i=["'"].concat(o),s=["%","/","?",";","#"].concat(i),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,o,i,m,h,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var g=a.exec(f);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=n.exec(f);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,f=f.substr(b.length)),(t||b||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===f.substr(0,2))||b&&p[b]||(f=f.substr(2),this.slashes=!0)),!p[b]&&(h||b&&!d[b])){var v,k,y=-1;for(r=0;r<l.length;r++)-1!==(m=f.indexOf(l[r]))&&(-1===y||m<y)&&(y=m);for(-1!==(k=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,k),f=f.slice(k+1),this.auth=v),y=-1,r=0;r<s.length;r++)-1!==(m=f.indexOf(s[r]))&&(-1===y||m<y)&&(y=m);-1===y&&(y=f.length),":"===f[y-1]&&y--;var E=f.slice(0,y);f=f.slice(y),this.parseHost(E),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var _=this.hostname.split(/\./);for(r=0,o=_.length;r<o;r++){var C=_[r];if(C&&!C.match(c)){for(var j="",S=0,x=C.length;S<x;S++)C.charCodeAt(S)>127?j+="x":j+=C[S];if(!j.match(c)){var T=_.slice(0,r),N=_.slice(r+1),A=C.match(u);A&&(T.push(A[1]),N.unshift(A[2])),N.length&&(f=N.join(".")+f),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var P=f.indexOf("#");-1!==P&&(this.hash=f.substr(P),f=f.slice(0,P));var I=f.indexOf("?");return-1!==I&&(this.search=f.substr(I),f=f.slice(0,I)),f&&(this.pathname=f),d[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},99889:function(){},93474:function(){},33285:function(){},48282:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},32002:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=7*a,i=365.25*a;function s(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=a)return s(e,o,a,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=a)return Math.round(e/a)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},1625:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var p=0;p<s.length;p++)r.call(i,s[p])&&(l[s[p]]=i[s[p]])}}return l}},40278:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(92213),a=n.n(r),o=n(68211),i=n.n(o),s=n(48468),l=n.n(s)()("photon"),c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function d(e,t){var n;try{n=new URL(e,p)}catch(e){return null}var r,o,s,d,m,h="https:"===n.protocol,f=new URL("https://i0.wp.com");if(m=n.host,/^i[0-2]\.wp\.com$/.test(m))f.pathname=n.pathname,f.hostname=n.hostname;else{if(n.search)return null;var g=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(g=n.pathname.replace("://","//")),n.hostname===u&&(g=n.pathname),f.pathname=g,f.hostname=(r=g,o=a()(r),s=i()(o),d="i"+Math.floor(3*s()),l('determined server "%s" to use with "%s"',d,r),d+".wp.com"),h&&f.searchParams.set("ssl",1)}if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?f.searchParams.set(c[b]||b,t[b]):f.protocol="http:":f.hostname=t[b];return l("generated Photon URL: %s",f.href),f.href}},9587:function(e,t,n){"use strict";var r=n(45843);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},11268:function(e,t,n){e.exports=n(9587)()},45843:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},10753:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,a){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var i=/\+/g;e=e.split(n);var s=1e3;a&&"number"==typeof a.maxKeys&&(s=a.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var u,p,d,m,h=e[c].replace(i,"%20"),f=h.indexOf(r);f>=0?(u=h.substr(0,f),p=h.substr(f+1)):(u=h,p=""),d=decodeURIComponent(u),m=decodeURIComponent(p),t(o,d)?Array.isArray(o[d])?o[d].push(m):o[d]=[o[d],m]:o[d]=m}return o}},68527:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,a){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(a){var o=encodeURIComponent(t(a))+r;return Array.isArray(e[a])?e[a].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[a]))})).join(n):a?encodeURIComponent(t(a))+r+encodeURIComponent(t(e)):""}},76250:function(e,t,n){"use strict";t.decode=t.parse=n(10753),t.encode=t.stringify=n(68527)},97765:function(e,t,n){"use strict";var r=n(11268),a=n.n(r),o=n(99196),i=n.n(o),s=n(63130),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isSupported:s.Gb&&s.WD},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.state.isSupported&&(this.handleVisibilityChange=this.handleVisibilityChange.bind(this),document.addEventListener(s.WD.event,this.handleVisibilityChange))}},{key:"componentWillUnmount",value:function(){this.state.isSupported&&document.removeEventListener(s.WD.event,this.handleVisibilityChange)}},{key:"handleVisibilityChange",value:function(){var e;"function"==typeof this.props.onChange&&(e=this.props).onChange.apply(e,c((0,s.XO)()));"function"==typeof this.props.children&&this.forceUpdate()}},{key:"render",value:function(){return this.props.children?"function"==typeof this.props.children?this.state.isSupported?(e=this.props).children.apply(e,c((0,s.XO)())):this.props.children():i().Children.only(this.props.children):null;var e}}]),t}(i().Component);u.displayName="PageVisibility",u.propTypes={onChange:a().func,children:a().oneOfType([a().node,a().func])},t.Z=u},75031:function(e,t,n){"use strict";var r=n(97765);t.Z=r.Z},63130:function(e,t,n){"use strict";n.d(t,{Gb:function(){return o},WD:function(){return i},XO:function(){return s}});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"}],o=r&&Boolean(document.addEventListener),i=function(){if(!o)return null;var e=!0,t=!1,n=void 0;try{for(var r,i=a[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var s=r.value;if(s.hidden in document)return s}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}return null}(),s=function(){if(!i)return[!0,"visible"];var e=i.hidden,t=i.state;return[!document[e],document[t]]}},2601:function(e){"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)t(e,n[r]);else for(r in n)e[r]=(e[r]||[]).concat(n[r])}e.exports=function(e){var n,r={};return t(r,e),(n=function(e){return function(t){return function(n){var a,o,i=r[n.type],s=t(n);if(i)for(a=0;a<i.length;a++)(o=i[a](n,e))&&e.dispatch(o);return s}}}).effects=r,n}},19551:function(e,t,n){"use strict";var r,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function l(e,t){var n,l;function c(){n=a?new WeakMap:i()}function u(){var n,r,a,o,i,c=arguments.length;for(o=new Array(c),a=0;a<c;a++)o[a]=arguments[a];for(i=t.apply(null,o),(n=l(i)).isUniqueByDependants||(n.lastDependants&&!s(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(s(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),l=a?function(e){var t,a,o,s,l,c=n,u=!0;for(t=0;t<e.length;t++){if(a=e[t],!(l=a)||"object"!=typeof l){u=!1;break}c.has(a)?c=c.get(a):(o=new WeakMap,c.set(a,o),c=o)}return c.has(r)||((s=i()).isUniqueByDependants=u,c.set(r,s)),c.get(r)}:function(){return n},u.getDependants=t,u.clear=c,c(),u}n.d(t,{Z:function(){return l}}),r={},a="undefined"!=typeof WeakMap},54166:function(e,t){"use strict";var n=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__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var i=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&l()}function s(){o(i)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},p=b(0,0,0,0);function d(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=u(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=d(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,s=d(r.width),l=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+i)!==n&&(l-=m(r,"top","bottom")+i)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(a.left,a.top,s,l)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?f(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):p}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,a,o,i,s,l,u=(r=(n=t).x,a=n.y,o=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:a,width:o,height:i,top:a,right:r+o,bottom:i+a,left:r}),l);c(this,{target:e,contentRect:u})},y=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new n,w=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 y(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var _=void 0!==a.ResizeObserver?a.ResizeObserver:w;t.Z=_},68211:function(e){"use strict";var t=256,n=[],r=window,a=Math.pow(t,6),o=Math.pow(2,52),i=2*o,s=255,l=Math.random;function c(e){var n,r=e.length,a=this,o=0,i=a.i=a.j=0,l=a.S=[];for(r||(e=[r++]);o<t;)l[o]=o++;for(o=0;o<t;o++)l[o]=l[i=s&i+e[o%r]+(n=l[o])],l[i]=n;(a.g=function(e){for(var n,r=0,o=a.i,i=a.j,l=a.S;e--;)n=l[o=s&o+1],r=r*t+l[s&(l[o]=l[i=s&i+n])+(l[i]=n)];return a.i=o,a.j=i,r})(t)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(e){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[s&a]=s&(n^=19*t[s&a])+r.charCodeAt(a++);return m(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),m(e)}catch(e){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,m(n)]}}function m(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,s){if(s&&!0===s.global)return s.global=!1,Math.random=e.exports(r,s),s.global=!0,Math.random;var l=s&&s.entropy||!1,h=[],f=(p(u(l?[r,m(n)]:0 in arguments?r:d(),3),h),new c(h));return p(m(f.S),n),function(){for(var e=f.g(6),n=a,r=0;e<o;)e=(e+r)*t,n*=t,r=f.g(1);for(;e>=i;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=l},p(Math.random(),n)},45702:function(e,t,n){const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||c}}e.exports=a;const o=n(75265),{re:i,t:s}=n(75698),l=n(48937),c=n(72840),u=n(88208),p=n(55062)},55062:function(e,t,n){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!h(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,x(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),s("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(/\s+/).join(" ");const l=r?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],f=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),g=(f.length,new Map);for(const e of f){if(h(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const v=[...g.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>g(n,t)&&e.set.some((e=>g(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(T(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const a=new(n(47595))({max:1e3}),o=n(75265),i=n(45702),s=n(72840),l=n(88208),{re:c,t:u,comparatorTrimReplace:p,tildeTrimReplace:d,caretTrimReplace:m}=n(75698),h=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=E(e,t),s("caret",e),e=k(e,t),s("tildes",e),e=_(e,t),s("xrange",e),e=j(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,k=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},E=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{s("caret",e,t);const n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let l;return s("caret",e,t,n,a,o,i),v(n)?l="":v(a)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?l="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),l="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",l),l}))},_=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,((n,r,a,o,i,l)=>{s("xRange",e,n,r,a,o,i,l);const c=v(a),u=c||v(o),p=u||v(i),d=p;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(l="-0"),n=`${r+a}.${o}.${i}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:p&&(n=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},j=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),S=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),x=e=>(t,n,r,a,o,i,s,l,c,u,p,d,m)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=v(c)?"":v(u)?`<${+c+1}.0.0-0`:v(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),T=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==i.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},88208:function(e,t,n){const r=n(72840),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(29609),{re:i,t:s}=n(75698),l=n(75265),{compareIdentifiers:c}=n(15322);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],a=e.build[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},52045:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},48937:function(e,t,n){const r=n(42969),a=n(74619),o=n(74765),i=n(71767),s=n(63590),l=n(94638);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return a(e,n,c);case">":return o(e,n,c);case">=":return i(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},12977:function(e,t,n){const r=n(88208),a=n(38675),{re:o,t:i}=n(75698);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},58230:function(e,t,n){const r=n(88208);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},25112:function(e,t,n){const r=n(50192);e.exports=(e,t)=>r(e,t,!0)},50192:function(e,t,n){const r=n(88208);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},13751:function(e,t,n){const r=n(38675),a=n(42969);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},42969:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>0===r(e,t,n)},74765:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)>0},71767:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)>=0},20177:function(e,t,n){const r=n(88208);e.exports=(e,t,n,a)=>{"string"==typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(e){return null}}},63590:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)<0},94638:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(e,t,n)<=0},51847:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).major},87989:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).minor},74619:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>0!==r(e,t,n)},38675:function(e,t,n){const{MAX_LENGTH:r}=n(29609),{re:a,t:o}=n(75698),i=n(88208),s=n(75265);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},8906:function(e,t,n){const r=n(88208);e.exports=(e,t)=>new r(e,t).patch},85676:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},82576:function(e,t,n){const r=n(50192);e.exports=(e,t,n)=>r(t,e,n)},25709:function(e,t,n){const r=n(58230);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},53907:function(e,t,n){const r=n(55062);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},21978:function(e,t,n){const r=n(58230);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},55641:function(e,t,n){const r=n(38675);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},53377:function(e,t,n){const r=n(75698);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(29609).SEMVER_SPEC_VERSION,SemVer:n(88208),compareIdentifiers:n(15322).compareIdentifiers,rcompareIdentifiers:n(15322).rcompareIdentifiers,parse:n(38675),valid:n(55641),clean:n(52045),inc:n(20177),diff:n(13751),major:n(51847),minor:n(87989),patch:n(8906),prerelease:n(85676),compare:n(50192),rcompare:n(82576),compareLoose:n(25112),compareBuild:n(58230),sort:n(21978),rsort:n(25709),gt:n(74765),lt:n(63590),eq:n(42969),neq:n(74619),gte:n(71767),lte:n(94638),cmp:n(48937),coerce:n(12977),Comparator:n(45702),Range:n(55062),satisfies:n(53907),toComparators:n(76055),maxSatisfying:n(33422),minSatisfying:n(17212),minVersion:n(9077),validRange:n(53140),outside:n(44494),gtr:n(2824),ltr:n(34370),intersects:n(30723),simplifyRange:n(23589),subset:n(34992)}},29609:function(e){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},72840:function(e){const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},15322:function(e){const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},75265:function(e){const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},75698:function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(29609),a=n(72840),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let l=0;const c=(e,t,n)=>{const r=l++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},2824:function(e,t,n){const r=n(44494);e.exports=(e,t,n)=>r(e,t,">",n)},30723:function(e,t,n){const r=n(55062);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},34370:function(e,t,n){const r=n(44494);e.exports=(e,t,n)=>r(e,t,"<",n)},33422:function(e,t,n){const r=n(88208),a=n(55062);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},17212:function(e,t,n){const r=n(88208),a=n(55062);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},9077:function(e,t,n){const r=n(88208),a=n(55062),o=n(74765);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const a=e.set[t];let i=null;a.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},44494:function(e,t,n){const r=n(88208),a=n(45702),{ANY:o}=a,i=n(55062),s=n(53907),l=n(74765),c=n(63590),u=n(94638),p=n(71767);e.exports=(e,t,n,d)=>{let m,h,f,g,b;switch(e=new r(e,d),t=new i(t,d),n){case">":m=l,h=u,f=c,g=">",b=">=";break;case"<":m=c,h=p,f=l,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let i=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,d)?i=e:f(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===b)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===b&&f(e,s.semver))return!1}return!0}},23589:function(e,t,n){const r=n(53907),a=n(50192);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const l=e.sort(((e,t)=>a(e,t,n)));for(const e of l){r(e,t,n)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length<p.length?u:t}},34992:function(e,t,n){const r=n(55062),a=n(45702),{ANY:o}=a,i=n(53907),s=n(50192),l=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?[new a(">=0.0.0-0")]:[new a(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=[new a(">=0.0.0")]}const r=new Set;let l,p,d,m,h,f,g;for(const t of e)">"===t.operator||">="===t.operator?l=c(l,t,n):"<"===t.operator||"<="===t.operator?p=u(p,t,n):r.add(t.semver);if(r.size>1)return null;if(l&&p){if(d=s(l.semver,p.semver,n),d>0)return null;if(0===d&&(">="!==l.operator||"<="!==p.operator))return null}for(const e of r){if(l&&!i(e,String(l),n))return null;if(p&&!i(e,String(p),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let b=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,v=!(!l||n.includePrerelease||!l.semver.prerelease.length)&&l.semver;b&&1===b.prerelease.length&&"<"===p.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,l)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(m=c(l,e,n),m===e&&m!==l)return!1}else if(">="===l.operator&&!i(l.semver,String(e),n))return!1;if(p)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=u(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!i(p.semver,String(e),n))return!1;if(!e.operator&&(p||l)&&0!==d)return!1}return!(l&&f&&!p&&0!==d)&&(!(p&&g&&!l&&0!==d)&&(!v&&!b))},c=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=l(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},76055:function(e,t,n){const r=n(55062);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},53140:function(e,t,n){const r=n(55062);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},88090:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7478),a={contextDelimiter:"",onMissingKey:null};function o(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},a)this.options[n]=void 0!==t&&n in t?t[n]:a[n]}o.prototype.getPluralForm=function(e,t){var n,a,o,i=this.pluralForms[e];return i||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(a=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=(0,r.Z)(a)),i=this.pluralForms[e]=o),i(t)},o.prototype.dcnpgettext=function(e,t,n,r,a){var o,i,s;return o=void 0===a?0:this.getPluralForm(e,a),i=n,t&&(i=t+this.options.contextDelimiter+n),(s=this.data[e][i])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)}},80816:function(e,t,n){"use strict";var r=n(90922),a=n.n(r),o=n(92819);const i=a()("dops:analytics");let s,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){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]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);this.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]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,o,i){c.ga.recordPurchase(e,t,n,r,a,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=(0,o.assign)(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),i("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){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),i(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=c},9481:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},11973:function(e,t,n){"use strict";var r=n(9481),a=n(80816);a.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),a.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=a.Z},63533:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(55609),u=n(92819);const __=l.__,p="09:00",d="17:00";class m extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,{opening:r,closing:a}=e;return(0,o.createElement)(o.Fragment,{key:t},(0,o.createElement)("div",{className:"business-hours__row"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.TextControl,{type:"time",label:__("Opening","jetpack"),value:r,className:"business-hours__open",placeholder:p,onChange:e=>{this.setHour(e,"opening",t)}}),(0,o.createElement)(c.TextControl,{type:"time",label:__("Closing","jetpack"),value:a,className:"business-hours__close",placeholder:d,onChange:e=>{this.setHour(e,"closing",t)}})),(0,o.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,o.createElement)(c.Button,{isSmall:!0,isLink:!0,icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,o.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")}," "),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.Button,{isLink:!0,label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,o.createElement)("div",{className:"business-hours__remove"}," ")))})),a()(this,"setHour",((e,t,n)=>{const{day:r,attributes:a,setAttributes:o}=this.props,{days:i}=a;o({days:i.map((a=>a.name===r.name?{...a,hours:a.hours.map(((r,a)=>a===n?{...r,[t]:e}:r))}:a))})})),a()(this,"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:p,closing:d}]:[];return{...n,hours:t}}return n}))})})),a()(this,"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))})})),a()(this,"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,u.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,o.createElement)(c.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,o.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,o.createElement)("div",{className:s()(e.name,"business-hours__day")},this.renderDayToggle()),(0,o.createElement)("div",{className:s()(e.name,"closed","business-hours__hours")}," "),(0,o.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}t.Z=m},20920:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(69771),l=n(92819);const _x=i._x;class c extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,r=n.hours;return(0,o.createElement)("span",{key:t},(0,i.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),r.length>1+t&&(0,o.createElement)("span",null,", "))}))}formatTime(e){const{timeFormat:t}=this.props,[n,r]=e.split(":"),a=new Date;return!(!n||!r)&&(a.setHours(n),a.setMinutes(r),(0,s.date)(t,a))}render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,o.createElement)("div",{className:"jetpack-business-hours__item"},(0,o.createElement)("dt",{className:e.name},t.days[e.name]),(0,o.createElement)("dd",null,(0,l.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,o.createElement)("br",null)))}}t.Z=c},85932:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(27538),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(89105),p=n.n(u),d=n(65736),m=n(69771),h=n(52175),f=n(55609),g=n(63533),b=n(20920),v=n(8042);const __=d.__,k={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0};class y extends s.Component{constructor(){super(...arguments),i()(this,"state",{localization:k,hasFetched:!1})}componentDidMount(){this.apiFetch()}apiFetch(){this.setState({data:k},(()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{this.setState({localization:e,hasFetched:!0})}),(()=>{this.setState({localization:k,hasFetched:!0})}))}))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{days:r}=e,{localization:o,hasFetched:i}=this.state,{startOfWeek:l}=o,c=r.concat(r.slice(0,l)).slice(l);if(!i)return(0,s.createElement)(f.Placeholder,{icon:(0,s.createElement)(h.BlockIcon,{icon:v.qv}),label:__("Loading business hours","jetpack")});if(!n){const e=(0,m.__experimentalGetSettings)(),{formats:{time:n}}=e;return(0,s.createElement)("dl",{className:p()(t,"jetpack-business-hours")},c.map(((e,t)=>(0,s.createElement)(b.Z,{key:t,day:e,localization:o,timeFormat:n}))))}return(0,s.createElement)("div",{className:p()(t,"is-edit")},c.map(((e,t)=>(0,s.createElement)(g.Z,a()({key:t,day:e,localization:o},this.props)))))}}t.Z=y},8042:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},qv:function(){return p},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(85932),s=n(41632),l=n(57535);const __=a.__,_x=a._x,c=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],u="business-hours",p=(0,s.Z)((0,r.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),d={title:__("Business Hours","jetpack"),description:__("Display opening hours for your business.","jetpack"),icon:{src:p,foreground:(0,l.m)()},category:"grow",supports:{html:!0},keywords:[_x("opening hours","block search term","jetpack"),_x("closing time","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("working day","block search term","jetpack")],attributes:{days:{type:"array",default:c}},edit:e=>(0,r.createElement)(i.Z,e),save:()=>null,example:{attributes:{days:c}}}},83487:function(e,t,n){"use strict";var r=n(92819),a=n(55609);const o=(0,a.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:a}=t,o=(0,r.get)(n,"color"),i=!(0,r.get)(a,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:a||!i?void 0:getComputedStyle(i).color}}));t.Z=o},70443:function(e,t,n){"use strict";var r=n(68039);t.Z={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.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:r.Z},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},24429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(77012);const __=o.__;function s(e){let{borderRadius:t="",setAttributes:n}=e;const o=(0,r.useCallback)((e=>n({borderRadius:e})),[n]);return(0,r.createElement)(a.PanelBody,{title:__("Border Settings","jetpack")},(0,r.createElement)(a.RangeControl,{allowReset:!0,initialPosition:i.pg,label:__("Border radius","jetpack"),max:i.Gp,min:i.G0,onChange:o,value:t}))}},63020:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(65736);const __=o.__;function i(e){let{isGradientAvailable:t,backgroundColor:n,fallbackBackgroundColor:o,fallbackTextColor:i,gradientValue:s,setBackgroundColor:l,setGradient:c,setTextColor:u,textColor:p}=e;const d=(0,r.createElement)(a.ContrastChecker,{backgroundColor:n.color,fallbackBackgroundColor:o,fallbackTextColor:i,isLargeText:!1,textColor:p.color});return t?(0,r.createElement)(a.__experimentalPanelColorGradientSettings,{settings:[{colorValue:p.color,label:__("Text Color","jetpack"),onColorChange:u},{colorValue:n.color,gradientValue:s,label:__("Background","jetpack"),onColorChange:l,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,r.createElement)(a.PanelColorSettings,{colorSettings:[{value:p.color,onChange:u,label:__("Text Color","jetpack")},{value:n.color,onChange:l,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},80790:function(e,t,n){"use strict";n.d(t,{Z:function(){return p},h:function(){return d}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=[{value:"px",label:"px",default:150},{value:"%",label:"%",default:100},{value:"em",label:"em",default:10}],c=[{value:"px",label:"px",default:150},{value:"em",label:"em",default:10}],u=["25%","50%","75%","100%"];function p(e){return(0,r.createElement)(i.PanelBody,{title:__("Width settings","jetpack")},(0,r.createElement)(d,e))}function d(e){let{align:t,width:n,onChange:a}=e;const[s,p]=(0,r.useState)(null);(0,r.useEffect)((()=>{void 0===n&&p("px")}),[n]);const d="left"===t||"right"===t;return(0,r.createElement)(i.BaseControl,{label:__("Button width","jetpack")},(0,r.createElement)("div",{className:o()("jetpack-button__width-settings",{"is-aligned":d})},!d&&(0,r.createElement)(i.ButtonGroup,{"aria-label":__("Percentage Width","jetpack")},u.map((e=>(0,r.createElement)(i.Button,{key:e,isSmall:!0,isPrimary:e===n,onClick:()=>function(e){const t=n===e?void 0:e;p("%"),a(t)}(e)},e)))),(0,r.createElement)(i.__experimentalUnitControl,{className:"jetpack-button__custom-width",isResetValueOnUnitChange:!0,max:"%"===s||n?.includes("%")?100:void 0,min:0,onChange:e=>a(e),onUnitChange:e=>p(e),size:"small",units:d?c:l,value:n,unit:s})))}},77012:function(e,t,n){"use strict";n.d(t,{DA:function(){return a},pg:function(){return o},Gp:function(){return i},G0:function(){return s}});var r=n(52175);const a=!!r.__experimentalUseGradient,o=5,i=50,s=0},78593:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(24429),o=n(63020),i=n(80790);function s(e){let{attributes:t,backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,setAttributes:c,setBackgroundColor:u,setTextColor:p,textColor:d,gradientValue:m,setGradient:h,isGradientAvailable:f}=e;const{align:g,borderRadius:b,width:v}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,gradientValue:m,setBackgroundColor:u,setGradient:h,setTextColor:p,textColor:d,isGradientAvailable:f}),(0,r.createElement)(a.Z,{borderRadius:b,setAttributes:c}),(0,r.createElement)(i.Z,{align:g,width:v,onChange:e=>c({width:e})}))}},16867:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(52175),c=n(94333),u=n(65736),p=n(83487),d=n(78593),m=n(77012),h=n(31123);const __=u.__;t.Z=(0,c.compose)((0,l.withColors)({backgroundColor:"background-color"},{textColor:"color"}),p.Z)((function(e){const{attributes:t,backgroundColor:n,className:r,clientId:i,setAttributes:c,textColor:u}=e,{align:p,borderRadius:f,element:g,placeholder:b,text:v,width:k}=t,y=(e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current})(p);(0,h.Z)({attributes:t,clientId:i,setAttributes:c}),(0,o.useEffect)((()=>{y!==p&&("left"===p||"right"===p)&&k?.includes("%")&&c({width:void 0})}),[p,y,c,k]);const{gradientClass:E,gradientValue:w,setGradient:_}=m.DA?(0,l.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},C=s()("wp-block-button",r),j=s()("wp-block-button__link",{"has-background":n.color||w,[n.class]:!w&&n.class,"has-text-color":u.color,[u.class]:u.class,[E]:E,"no-border-radius":0===f,"has-custom-width":!!k}),S={...!n.color&&w?{background:w}:{backgroundColor:n.color},color:u.color,borderRadius:f?f+"px":void 0,width:k};return(0,o.createElement)("div",{className:C},(0,o.createElement)(l.RichText,{allowedFormats:"input"===g?[]:void 0,className:j,disableLineBreaks:"input"===g,onChange:e=>{const t="input"===g?e.replace(/<br>/gim," "):e;c({text:t})},placeholder:b||__("Add text…","jetpack"),style:S,value:v,withoutInteractiveFormatting:!0}),(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(d.Z,a()({gradientValue:w,setGradient:_,isGradientAvailable:m.DA},e))))}))},51245:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(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"}))},32278:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(65736),a=n(70443),o=n(16867),i=n(51245),s=n(41328),l=n(20510);const __=r.__,c="button",u={title:__("Button","jetpack"),icon:i.Z,category:(0,l.Z)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"]},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:a.Z,edit:o.Z,save:s.Z}},41328:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(77012);function l(e){let{attributes:t,blockName:n,uniqueId:a}=e;const{backgroundColor:l,borderRadius:c,className:u,customBackgroundColor:p,customGradient:d,customTextColor:m,gradient:h,saveInPostContent:f,text:g,textColor:b,url:v,width:k}=t;if(!f)return null;const y=(0,i.getColorClassName)("background-color",l),E=s.DA?(0,i.__experimentalGetGradientClass)(h):void 0,w=(0,i.getColorClassName)("color",b),_=o()("wp-block-button","jetpack-submit-button",u,{[`wp-block-jetpack-${n}`]:n}),C=o()("wp-block-button__link",{"has-text-color":b||m,[w]:w,"has-background":l||h||p||d,[y]:y,[E]:E,"no-border-radius":0===c,"has-custom-width":!!k}),j={background:d||void 0,backgroundColor:y||d||h?void 0:p,color:w?void 0:m,borderRadius:c?c+"px":void 0,width:k};return(0,r.createElement)("div",{className:_},(0,r.createElement)(i.RichText.Content,{className:C,"data-id-attr":a||"placeholder",href:v,id:a,rel:"noopener noreferrer",role:"button",style:j,tagName:"a",target:"_blank",value:g}))}},31123:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(9818),o=n(69307);function i(e){let{attributes:t,clientId:n,setAttributes:i}=e;const{passthroughAttributes:s}=t,{attributesToSync:l}=(0,a.useSelect)((e=>{const{getBlockAttributes:a,getBlockRootClientId:o}=e("core/block-editor"),i=a(o(n))||{},l=(0,r.mapValues)(s,(e=>i[e]));return{attributesToSync:(0,r.pickBy)(l,((e,n)=>e!==t[n]))}}));(0,o.useEffect)((()=>{(0,r.isEmpty)(l)||i(l)}),[l,i])}},35932:function(e,t,n){"use strict";var r=n(68039);t.Z={backgroundColor:{type:"string",default:"ffffff",validator:r.Z},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:r.Z},textColor:{type:"string",default:"4D5055",validator:r.Z},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")}}},16485:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(72566);const __=i.__,_x=i._x,l=e=>{let{onEditClick:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{onClick:()=>t(!0)},__("Edit","jetpack")))},c=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:a,embedCode:i,parseEmbedCode:s,setAttributes:l,setEmbedCode:c}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:s,className:`${a}-embed-form-sidebar`},(0,r.createElement)("input",{type:"text",id:"embedCode",onChange:e=>c(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,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)(o.ToggleControl,{label:__("Hide event type details","jetpack"),checked:t,onChange:()=>l({hideEventTypeDetails:!t})})),n&&(0,r.createElement)(o.Notice,{className:`${a}-color-notice`,isDismissible:!1},(0,r.createElement)(o.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},__("Follow these instructions to change the colors in this block.","jetpack"))))};t.ZP=e=>{const{attributes:t,clientId:n,isEditingUrl:o,setAttributes:i,setIsEditingUrl:u}=e,{style:p,url:d}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,r.createElement)(r.Fragment,null,d&&!o&&(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(l,{onEditClick:u})),d&&(0,r.createElement)(s.Z,{clientId:n,styleOptions:m,onSelectStyle:i,activeStyle:p,attributes:t,viewportWidth:500}),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(c,e)))}},77017:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(68039);const __=o.__;t.Z={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:i.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:i.Z},textColor:{type:"string",default:"4D5055",validator:i.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:i.Z},customTextButtonColor:{type:"string",validator:i.Z}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:r,submitButtonClasses:o,backgroundButtonColor:i,textButtonColor:s,customBackgroundButtonColor:l,customTextButtonColor:c,...u}=e,p={text:(d=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:d.submitButtonTextColor||d.textButtonColor,customTextColor:d.customTextButtonColor,backgroundColor:d.submitButtonBackgroundColor||d.backgroundButtonColor,customBackgroundColor:d.customBackgroundButtonColor,url:d.url};var d;return[u,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...p})]]},save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)}}},96537:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=(n(86841),n(92819)),s=n(5157),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(9818),m=n(59040),h=n(35932),f=n(14087),g=n(79042),b=n(79884),v=n(87072),k=n(16485);const __=u.__,_x=u._x;t.Z=(0,c.withNotices)((function(e){const{attributes:t,className:n,clientId:r,name:u,noticeOperations:y,noticeUI:E,setAttributes:w}=e,_=(0,p.getBlockDefaultClassName)(u),C=(0,f.S)(h.Z,t);(0,i.isEqual)(C,t)||w(C);const{backgroundColor:j,hideEventTypeDetails:S,primaryColor:x,textColor:T,style:N,url:A}=C,[P,I]=(0,o.useState)(A),[M,R]=(0,o.useState)(!1),[L,B]=(0,o.useState)(!1),[Z,F]=(0,o.useState)({}),D=()=>{y.removeAllNotices(),y.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,o.useEffect)((()=>{A&&b.lR!==A&&"link"!==N&&(0,v.Z)(A,B).catch((()=>{w({url:void 0}),D()}))}),[]);const O=e=>{if(!e)return void D();e.preventDefault();const t=(0,g.CC)(P);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,d.select)("core/editor").getBlocksByClientId(r);e.length&&e[0].innerBlocks.forEach((e=>{(0,d.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),F(t.buttonAttributes)}(0,v.Z)(t.url,B).then((()=>{const e=(0,f.S)(h.Z,t);w(e),R(!1),y.removeAllNotices()})).catch((()=>{w({url:void 0}),D()}))}else D()},z=(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(c.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack"))),U=(0,o.createElement)(c.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:(0,o.createElement)(l.BlockIcon,{icon:m.Z}),notices:E},(0,o.createElement)("form",{onSubmit:O},(0,o.createElement)("input",{type:"text",id:"embedCode",onChange:e=>I(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:P||"",className:"components-placeholder__input"}),(0,o.createElement)("div",null,(0,o.createElement)(c.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,o.createElement)("div",{className:`${_}-learn-more`},(0,o.createElement)(c.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),$=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:`${_}-overlay`}),(0,o.createElement)("iframe",{src:(()=>{const e=s.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:S?1:0,background_color:j,primary_color:x,text_color:T});return`${A}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),V=(0,o.createElement)(l.InnerBlocks,{template:[[b.Ss.name,{...b.Ss.attributes,...Z,passthroughAttributes:{url:"url"}}]],templateLock:"all"});if(L)return z;let G=n;return A&&!M&&(G+=` calendly-style-${N}`),(0,o.createElement)("div",{className:G},(0,o.createElement)(k.ZP,a()({},e,{defaultClassName:_,embedCode:P,isEditingUrl:M,parseEmbedCode:O,setEmbedCode:I,setIsEditingUrl:R})),A&&!M?"inline"===N?$:V:U)}))},59040:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19,1h-2.3v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H8.6v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H4C1.8,1,0,2.8,0,5 v15c0,2.2,1.8,4,4,4h15c2.2,0,4-1.8,4-4V5C23,2.8,21.2,1,19,1z M21,20c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V5c0-1.1,0.9-2,2-2h2.6 v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3h6.1v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3H19c1.1,0,2,0.9,2,2V20z M13.9,14.8l1.4,1.4 c-0.9,0.9-2.1,1.3-3.5,1.3c-2.4,0-4.5-2.1-4.5-4.7s2.1-4.7,4.5-4.7c1.4,0,2.5,0.4,3.4,1.1L14,10.9c-0.5-0.4-1.2-0.6-2.1-0.6 c-1.2,0-2.5,1.1-2.5,2.7c0,1.6,1.3,2.7,2.5,2.7C12.7,15.5,13.4,15.3,13.9,14.8z"}))},79884:function(e,t,n){"use strict";n.d(t,{lR:function(){return d},Ss:function(){return m},u2:function(){return h},Xd:function(){return f}});var r=n(65736),a=n(4981),o=n(35932),i=n(77017),s=n(96537),l=n(59040),c=n(56610),u=n(79042),p=n(57535);const __=r.__,_x=r._x,d="https://calendly.com/wpcom/jetpack-block-example",m={name:"jetpack/button",attributes:{element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:d}},h="calendly",f={title:__("Calendly","jetpack"),description:__("Embed a calendar for customers to schedule appointments","jetpack"),icon:{src:l.Z,foreground:(0,p.m)()},category:"grow",keywords:[_x("calendar","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack"),_x("events","block search term","jetpack"),_x("dates","block search term","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:s.Z,save:c.Z,attributes:o.Z,example:{attributes:{hideEventTypeDetails:!1,style:"inline",url:d},innerBlocks:[m]},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&u.mL.test(e.textContent),transform:e=>{const t=(0,u.CC)(e.textContent);return(0,a.createBlock)("jetpack/calendly",t)}}]},deprecated:[i.Z]}},56610:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null))}},79042:function(e,t,n){"use strict";n.d(t,{mL:function(){return r},CC:function(){return 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"),o=r.get("primary_color"),i=r.get("text_color"),s=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(s)&&(t.backgroundColor=a),o&&o.match(s)&&(t.primaryColor=o),i&&i.match(s)&&(t.textColor=i),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}},89534:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Message Sent","jetpack")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0}}},60689:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "<error />".',"jetpack"),{error:(0,r.createElement)("span",null,t)}))}},81316:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(60689);const __=s.__,c=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:s,crmData:c,setCRMData:u}=e;const p=((e,t,n,r)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},n);t.jp_form_ext_enabled=!0,r(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(n,s,c,u);return t?(0,r.createElement)(i.Spinner,null):a?(0,r.createElement)(l.Z,{error:a}):(0,r.createElement)(i.Button,{isSecondary:!0,onClick:p},__("Enable Jetpack Forms Extension","jetpack"))},u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack"));t.Z=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s}=e;return i.can_activate_extension?(0,r.createElement)("div",null,(0,r.createElement)(p,null),(0,r.createElement)("br",null),(0,r.createElement)(c,{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s})):(0,r.createElement)(u,null)}},36080:function(e,t,n){"use strict";var r=n(69307),a=n(53377),o=n.n(a),i=n(55609),s=n(65736),l=n(81316);const __=s.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM is installed but has an invalid version.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Zero BS CRM plugin is now Jetpack CRM. Update to the latest version to integrate your contact form with your CRM.","jetpack")),d=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},(0,r.createInterpolateElement)(__("You can save contacts from Jetpack contact forms in Jetpack CRM. Learn more at <a>jetpackcrm.com</a>","jetpack"),{a:(0,r.createElement)(i.ExternalLink,{href:"https://jetpackcrm.com"})})),m=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You already have the Jetpack CRM plugin installed, but it's not activated. Activate the Jetpack CRM plugin to save contacts from this contact form in your Jetpack CRM.","jetpack")),h=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:s}=e;const[c,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)(!1);return t.jp_form_ext_enabled?o().satisfies(o().coerce(t.crm_version),"3.0.19 - 4.0.0")?(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack")):(0,r.createElement)(i.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack"),checked:a,onChange:e=>s({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack")}):(0,r.createElement)(l.Z,{isActivatingExt:c,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:n})};t.Z=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}=e;const s=o().coerce(t.crm_version);if(t.crm_installed&&!s)return(0,r.createElement)(u,null);if(t.crm_installed&&o().lt(s,"3.0.19"))return(0,r.createElement)(p,null);let l=c.NOT_INSTALLED;return t.crm_active?l=c.ACTIVE:t.crm_installed&&(l=c.INSTALLED),(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===l&&(0,r.createElement)(h,{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}),c.INSTALLED===l&&(0,r.createElement)(m,null),c.NOT_INSTALLED===l&&(0,r.createElement)(d,null))}},6361:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(36080);const __=s.__,c=e=>{let{isFetchingCRMData:t,hasCRMDataError:n,crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c}=e;return t?(0,r.createElement)(i.Spinner,null):n?null:(0,r.createElement)(l.Z,{crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c})};t.Z=e=>{let{jetpackCRM:t,setAttributes:n}=e;const[a,s]=(0,r.useState)(!0),[l,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)();return(0,r.useEffect)((()=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((e=>{if(e.error)throw e.message;u(!1),d(e)})).catch((()=>u(!0))).finally((()=>s(!1)))}),[]),(0,r.createElement)(i.PanelBody,{title:__("CRM Integration","jetpack"),initialOpen:!1},(0,r.createElement)(i.BaseControl,null,(0,r.createElement)(c,{isFetchingCRMData:a,hasCRMDataError:l,crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:n})))}},69802:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(80500),c=n(8523);const __=a.__;t.Z=(0,s.withInstanceId)((function(e){const{id:t,instanceId:n,required:a,label:s,setAttributes:u,width:p,defaultValue:d}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-checkbox-${n}`,className:"jetpack-field jetpack-field-checkbox",label:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:d}),(0,r.createElement)(l.Z,{required:a,label:s,setAttributes:u}),(0,r.createElement)(c.Z,{id:t,required:a,width:p,setAttributes:u}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Checkbox Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Checked by default","jetpack"),checked:d,onChange:e=>u({defaultValue:e?"true":""})}))))})}))},57324:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(80500),c=n(84803),u=n(10745);const __=a.__;t.Z=(0,s.withInstanceId)((e=>{var t;let{id:n,instanceId:s,width:p,consentType:d,implicitConsentMessage:m,explicitConsentMessage:h,setAttributes:f}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-consent-${s}`,className:"jetpack-field jetpack-field-consent",label:(0,r.createElement)(r.Fragment,null,"explicit"===d&&(0,r.createElement)("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),(0,r.createElement)(l.Z,{required:!1,label:null!==(t={implicit:m,explicit:h}[d])&&void 0!==t?t:"",setAttributes:f,labelFieldName:`${d}ConsentMessage`,placeholder:(0,a.sprintf)(
+!function(){var e,t,n,r,a,o,i={18294:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},82402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},90054:function(e,t,n){"use strict";var r=n(94605),a=n(71253),o=n(52875),i=n(17227),s=n(70173),l=n(24912),c=function(e,t,n){for(var r=0,o=0;r=o,o=(0,a.fj)(),38===r&&12===o&&(t[n]=1),!(0,a.r)(o);)(0,a.lp)();return(0,a.tP)(e,a.FK)},u=function(e,t){return(0,a.cE)(function(e,t){var n=-1,r=44;do{switch((0,a.r)(r)){case 0:38===r&&12===(0,a.fj)()&&(t[n]=1),e[n]+=c(a.FK-1,t,n);break;case 2:e[n]+=(0,a.iF)(r);break;case 4:if(44===r){e[++n]=58===(0,a.fj)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,o.Dp)(r)}}while(r=(0,a.lp)());return e}((0,a.un)(e),t))},p=new WeakMap,d=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||p.get(n))&&!r){p.set(e,!0);for(var a=[],o=u(t,a),i=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=a[s]?o[s].replace(/&\f/g,i[c]):i[c]+" "+o[s]}}},m=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},h=[i.Ji];t.Z=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||h;var o,c,u={},p=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)u[t[n]]=!0;p.push(e)}));var f=[d,m];var g,b=[s.P,(0,i.cD)((function(e){g.insert(e)}))],v=(0,i.qR)(f.concat(a,b));c=function(e,t,n,r){g=n,function(e){(0,s.q)((0,l.MY)(e),v)}(e?e+"{"+t.styles+"}":t.styles),r&&(k.inserted[t.name]=!0)};var k={key:t,sheet:new r.m({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:u,registered:{},insert:c};return k.sheet.hydrate(p),k}},81109:function(e,t){"use strict";t.Z=function(e){for(var t,n=0,r=0,a=e.length;a>=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}},58101:function(e,t){"use strict";t.Z=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},13788:function(e,t,n){"use strict";n.d(t,{E:function(){return f},c:function(){return m},h:function(){return s}});var r=n(99196),a=n(90054),o=n(10431),i=n(90359),s={}.hasOwnProperty,l=(0,r.createContext)("undefined"!=typeof HTMLElement?(0,a.Z)({key:"css"}):null);l.Provider;var c=function(e){return(0,r.forwardRef)((function(t,n){var a=(0,r.useContext)(l);return e(t,a,n)}))},u=(0,r.createContext)({});var p=r.useInsertionEffect?r.useInsertionEffect:function(e){e()};var d="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[d]=e,n},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;(0,o.hC)(t,n,r);p((function(){return(0,o.My)(t,n,r)}));return null},f=c((function(e,t,n){var a=e.css;"string"==typeof a&&void 0!==t.registered[a]&&(a=t.registered[a]);var l=e[d],c=[a],p="";"string"==typeof e.className?p=(0,o.fp)(t.registered,c,e.className):null!=e.className&&(p=e.className+" ");var m=(0,i.O)(c,void 0,(0,r.useContext)(u));p+=t.key+"-"+m.name;var f={};for(var g in e)s.call(e,g)&&"css"!==g&&g!==d&&(f[g]=e[g]);return f.ref=n,f.className=p,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h,{cache:t,serialized:m,isStringTag:"string"==typeof l}),(0,r.createElement)(l,f))}))},94362:function(e,t,n){"use strict";n.d(t,{BX:function(){return i},tZ:function(){return o}});n(99196),n(90054);var r=n(13788),a=(n(57692),n(90359),n(30275));a.Fragment;function o(e,t,n){return r.h.call(t,"css")?(0,a.jsx)(r.E,(0,r.c)(e,t),n):(0,a.jsx)(e,t,n)}function i(e,t,n){return r.h.call(t,"css")?(0,a.jsxs)(r.E,(0,r.c)(e,t),n):(0,a.jsxs)(e,t,n)}},90359:function(e,t,n){"use strict";n.d(t,{O:function(){return f}});var r=n(81109),a=n(40891),o=n(58101),i=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===a.Z[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return m={name:n.name,styles:n.styles,next:m},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)m={name:r.name,styles:r.styles,next:m},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=d(e,t,n[a])+";";else for(var o in n){var i=n[o];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=o+"{"+t[i]+"}":c(i)&&(r+=u(o)+":"+p(o,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=d(e,t,i);switch(o){case"animation":case"animationName":r+=u(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var l=0;l<i.length;l++)c(i[l])&&(r+=u(o)+":"+p(o,i[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=m,o=n(e);return m=a,d(e,t,o)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var m,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var f=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,o="";m=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,o+=d(n,t,i)):o+=i[0];for(var s=1;s<e.length;s++)o+=d(n,t,e[s]),a&&(o+=i[s]);h.lastIndex=0;for(var l,c="";null!==(l=h.exec(o));)c+="-"+l[1];return{name:(0,r.Z)(o)+c,styles:o,next:m}}},94605:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},40891:function(e,t){"use strict";t.Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},10431:function(e,t,n){"use strict";n.d(t,{My:function(){return o},fp:function(){return r},hC:function(){return a}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var a=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){a(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0);o=o.next}while(void 0!==o)}}},61074:function(e,t,n){"use strict";var r=n(69307);t.Z=function(e){let{icon:t,size:n=24,...a}=e;return(0,r.cloneElement)(t,{width:n,height:n,...a})}},79201:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));t.Z=o},64967:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},15381:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.Z=o},1078:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(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"}));t.Z=o},20843:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.Z=o},77840:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.Z=o},48381:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(a.Path,{d:"M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z"}));t.Z=o},47659:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(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"}));t.Z=o},30797:function(e,t,n){"use strict";var r=n(69307),a=n(70444);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(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"}));t.Z=o},73320:function(e,t){var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)a(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function a(e,a){if(a){var o=typeof a;"string"===o?function(e,t){for(var n=t.split(r),a=n.length,o=0;o<a;++o)e[n[o]]=!0}(e,a):Array.isArray(a)?t(e,a):"object"===o?function(e,t){if(t.toString===Object.prototype.toString)for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,a):"number"===o&&function(e,t){e[t]=!0}(e,a)}}return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=new e;t(o,r);var i=[];for(var s in o)o[s]&&i.push(s);return i.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},65235:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},94273:function(e){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,a,o,i=-1;for(t=0,a=e.length;t<a;t+=1){for(o=255&(i^e[t]),r=0;r<8;r+=1)1==(1&o)?o=o>>>1^n:o>>>=1;i=i>>>8^o}return-1^i}function a(e,n){var r,o,i;if(void 0!==a.crc&&n&&e||(a.crc=-1,e)){for(r=a.crc,o=0,i=e.length;o<i;o+=1)r=r>>>8^t[255&(r^e[o])];return a.crc=r,-1^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}()},22424:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var a=o(n[0]);a!==n[0]&&(t[n[0]]=a)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var l=i[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},92384:function(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:function(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 o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,a,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var a,o,i,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),i=o[t]),void 0===i)i=o[t]=n,++e._eventsCount;else if("function"==typeof i?i=o[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(a=l(e))>0&&i.length>a&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}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 p(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 d(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;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):h(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function f(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function a(o){r.once&&e.removeEventListener(t,a),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var a="error"===e,o=this._events;if(void 0!==o)a=a&&void 0===o.error;else if(!a)return!1;if(a){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,a,o,i;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){i=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(a=o[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.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"]},r={floor:Math.floor,ceil:Math.ceil};function a(a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,S,j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},x=[],P=0;if(isNaN(a))throw new TypeError("Invalid number");if(s=!0===j.bits,k=!0===j.unix,g=!0===j.pad,i=j.base||10,b=void 0!==j.round?j.round:k?1:2,p=void 0!==j.locale?j.locale:"",d=j.localeOptions||{},y=void 0!==j.separator?j.separator:"",E=void 0!==j.spacer?j.spacer:k?"":" ",_=j.symbols||{},w=2===i?j.standard||"iec":"jedec",f=j.output||"string",c=!0===j.fullform,u=j.fullforms instanceof Array?j.fullforms:[],o=void 0!==j.exponent?j.exponent:-1,C=r[j.roundingMethod]||Math.round,m=(h=Number(a))<0,l=i>2?1e3:1024,S=!1===isNaN(j.precision)?parseInt(j.precision,10):0,m&&(h=-h),(-1===o||isNaN(o))&&(o=Math.floor(Math.log(h)/Math.log(l)))<0&&(o=0),o>8&&(S>0&&(S+=8-o),o=8),"exponent"===f)return o;if(0===h)x[0]=0,v=x[1]=k?"":t[w][s?"bits":"bytes"][o];else{P=h/(2===i?Math.pow(2,10*o):Math.pow(1e3,o)),s&&(P*=8)>=l&&o<8&&(P/=l,o++);var T=Math.pow(10,o>0?b:0);x[0]=C(P*T)/T,x[0]===l&&o<8&&void 0===j.exponent&&(x[0]=1,o++),v=x[1]=10===i&&1===o?s?"kbit":"kB":t[w][s?"bits":"bytes"][o],k&&(x[1]=x[1].charAt(0),e.test(x[1])&&(x[0]=Math.floor(x[0]),x[1]=""))}if(m&&(x[0]=-x[0]),S>0&&(x[0]=x[0].toPrecision(S)),x[1]=_[x[1]]||x[1],!0===p?x[0]=x[0].toLocaleString():p.length>0?x[0]=x[0].toLocaleString(p,d):y.length>0&&(x[0]=x[0].toString().replace(".",y)),g&&!1===Number.isInteger(x[0])&&b>0){var N=y||".",A=x[0].toString().split(N),M=A[1]||"",I=M.length,R=b-I;x[0]="".concat(A[0]).concat(N).concat(M.padEnd(I+R,"0"))}return c&&(x[1]=u[o]?u[o]:n[w][o]+(s?"bit":"byte")+(1===x[0]?"":"s")),"array"===f?x:"object"===f?{value:x[0],symbol:x[1],exponent:o,unit:v}:x.join(E)}return a.partial=function(e){return function(t){return a(t,e)}},a}()},68017:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o<r.length;o++){var i=r[o],s=e[i];(a?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},57692:function(e,t,n){"use strict";var r=n(93801),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=m(n);a&&a!==h&&e(t,a,r)}var i=u(n);p&&(i=i.concat(p(n)));for(var s=l(t),f=l(n),g=0;g<i.length;++g){var b=i[g];if(!(o[b]||r&&r[b]||f&&f[b]||s&&s[b])){var v=d(n,b);try{c(t,b,v)}catch(e){}}}}return t}},84097: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,o=(r=r||{}).Base64,i="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),c=String.fromCharCode,u=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},p=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(p,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[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},h=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)},f=function(e){return h(d(String(e)))},g=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},b=function(e,t){return t?g(f(e)):f(e)},v=function(e){return b(e,!0)};r.Uint8Array&&(a=function(e,t){for(var n="",r=0,a=e.length;r<a;r+=3){var o=e[r],i=e[r+1],l=e[r+2],c=o<<16|i<<8|l;n+=s.charAt(c>>>18)+s.charAt(c>>>12&63)+(void 0!==i?s.charAt(c>>>6&63):"=")+(void 0!==l?s.charAt(63&c):"=")}return t?g(n):n});var k,y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=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 c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(y,E)},_=function(e){var t=e.length,n=t%4,r=(t>0?l[e.charAt(0)]<<18:0)|(t>1?l[e.charAt(1)]<<12:0)|(t>2?l[e.charAt(2)]<<6:0)|(t>3?l[e.charAt(3)]:0),a=[c(r>>>16),c(r>>>8&255),c(255&r)];return a.length-=[0,0,2,1][n],a.join("")},C=r.atob&&"function"==typeof r.atob?function(e){return r.atob(e)}:function(e){return e.replace(/\S{1,4}/g,_)},S=function(e){return C(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},j=function(e){return w(C(e))},x=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},P=function(e){return j(x(e))};r.Uint8Array&&(k=function(e){return Uint8Array.from(S(x(e)),(function(e){return e.charCodeAt(0)}))});var T=function(){var e=r.Base64;return r.Base64=o,e};if(r.Base64={VERSION:i,atob:S,btoa:h,fromBase64:P,toBase64:b,utob:d,encode:b,encodeURI:v,btou:w,decode:P,noConflict:T,fromUint8Array:a,toUint8Array:k},"function"==typeof Object.defineProperty){var N=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N((function(){return P(this)}))),Object.defineProperty(String.prototype,"toBase64",N((function(e){return b(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",N((function(){return b(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)},62232:function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(95843)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?o(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,o,i,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(a=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},95843:function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(44957).source,t.src_Cc=n(19590).source,t.src_Z=n(59939).source,t.src_P=n(95162).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},82746:function(e,t,n){"use strict";const r=n(17811),a=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),h=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[s])return}else n&&(e[m]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},b=e=>{if(e[o]>e[a])for(let t=e[p].tail;e[o]>e[a]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[p].removeNode(t)}};class k{constructor(e,t,n,r,a){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=a||0}}const y=(e,t,n,r)=>{let a=n.value;g(e,a)&&(v(e,n),e[s]||(a=void 0)),a&&t.call(r,a.value,a.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[a]=e.max||1/0;const t=e.length||h;if(this[i]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,b(this)}get max(){return this[a]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,b(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[i]&&(this[i]=e,this[o]=0,this[p].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),b(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[p].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new r,this[o]=0}dump(){return this[p].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[i](t,e);if(this[d].has(e)){if(s>this[a])return v(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=r,i.maxAge=n,i.value=t,this[o]+=s-i.length,i.length=s,this.get(e),b(this),!0}const m=new k(e,t,s,r,n);return m.length>this[a]?(this[c]&&this[c](e,t),!1):(this[o]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),b(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],a=r.e||0;if(0===a)this.set(r.k,r.v);else{const e=a-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},10185:function(e,t,n){"use strict";e.exports=n(9702)},38337:function(e,t,n){"use strict";e.exports=n(84321)},43093:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},36570:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=a},39615:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(38337);var p=/[&<>"]/,d=/[&<>"]/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return m[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var g=n(95162);t.lib={},t.lib.mdurl=n(49236),t.lib.ucmicro=n(84353),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},57007:function(e,t,n){"use strict";t.parseLinkLabel=n(82174),t.parseLinkDestination=n(36990),t.parseLinkTitle=n(15336)},36990:function(e,t,n){"use strict";var r=n(39615).unescapeAll;e.exports=function(e,t,n){var a,o,i=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t)))return s;if(60===a)return s;if(62===a)return s.pos=t+1,s.str=r(e.slice(i+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===a&&++o>32)return s;if(41===a){if(0===o)break;o--}t++}return i===t||0!==o||(s.str=r(e.slice(i,t)),s.lines=0,s.pos=t,s.ok=!0),s}},82174:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)r++;else if(n)return e.pos=c,-1}return a&&(s=e.pos),e.pos=c,s}},15336:function(e,t,n){"use strict";var r=n(39615).unescapeAll;e.exports=function(e,t,n){var a,o,i=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((a=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=i,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===a&&41===o)return l;10===a?i++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&i++),t++}return l}},9702:function(e,t,n){"use strict";var r=n(39615),a=n(57007),o=n(42403),i=n(17742),s=n(99575),l=n(37487),c=n(62232),u=n(49236),p=n(60300),d={default:n(66223),zero:n(11582),commonmark:n(9372)},m=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!m.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function k(e,t){if(!(this instanceof k))return new k(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new i,this.renderer=new o,this.linkify=new c,this.validateLink=f,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}k.prototype.set=function(e){return r.assign(this.options,e),this},k.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},k.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},k.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},k.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},k.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},k.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},k.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},k.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=k},99575:function(e,t,n){"use strict";var r=n(81377),a=[["table",n(12592),["paragraph","reference"]],["code",n(99334)],["fence",n(79783),["paragraph","reference","blockquote","list"]],["blockquote",n(36901),["paragraph","reference","blockquote","list"]],["hr",n(68837),["paragraph","reference","blockquote","list"]],["list",n(46388),["paragraph","reference","blockquote"]],["reference",n(33765)],["html_block",n(33869),["paragraph","reference","blockquote"]],["heading",n(21127),["paragraph","reference","blockquote"]],["lheading",n(5393)],["paragraph",n(24934)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),o=a.length,i=t,s=!1,l=e.md.options.maxNesting;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!a[r](e,i,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<n&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},o.prototype.State=n(75355),e.exports=o},17742:function(e,t,n){"use strict";var r=n(81377),a=[["normalize",n(13837)],["block",n(30884)],["inline",n(25334)],["linkify",n(64756)],["replacements",n(60555)],["smartquotes",n(28867)]];function o(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(30727),e.exports=o},37487:function(e,t,n){"use strict";var r=n(81377),a=[["text",n(10937)],["newline",n(62378)],["escape",n(8329)],["backticks",n(7912)],["strikethrough",n(54988).w],["emphasis",n(56141).w],["link",n(95028)],["image",n(92560)],["autolink",n(73273)],["html_inline",n(9955)],["entity",n(54408)]],o=[["balance_pairs",n(76399)],["strikethrough",n(54988).g],["emphasis",n(56141).g],["text_collapse",n(52406)]];function i(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}i.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),o=a.length,i=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<i)for(n=0;n<o&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},i.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,n,r){var a,o,i,s=new this.State(e,t,n,r);for(this.tokenize(s),i=(o=this.ruler2.getRules("")).length,a=0;a<i;a++)o[a](s)},i.prototype.State=n(25240),e.exports=i},9372:function(e){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},66223:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},11582:function(e){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},42403:function(e,t,n){"use strict";var r=n(39615).assign,a=n(39615).unescapeAll,o=n(39615).escapeHtml,i={};function s(){this.rules=r({},i)}i.code_inline=function(e,t,n,r,a){var i=e[t];return"<code"+a.renderAttrs(i)+">"+o(e[t].content)+"</code>"},i.code_block=function(e,t,n,r,a){var i=e[t];return"<pre"+a.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,n,r,i){var s,l,c,u,p,d=e[t],m=d.info?a(d.info).trim():"",h="",f="";return m&&(h=(c=m.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,h,f)||o(d.content)).indexOf("<pre")?s+"\n":m?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),p={attrs:u},"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},i.image=function(e,t,n,r,a){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=a.renderInlineAsText(o.children,n,r),a.renderToken(e,t,n)},i.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return o(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,a="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===i.nesting?"</":"<")+i.tag,a+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(a+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===i.tag)&&(o=!1)),a+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,a="",o=this.rules,i=0,s=e.length;i<s;i++)void 0!==o[r=e[i].type]?a+=o[r](e,i,t,n,this):a+=this.renderToken(e,i,t);return a},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,o=e.length;a<o;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type?r+=this.renderInlineAsText(e[a].children,t,n):"softbreak"===e[a].type&&(r+="\n");return r},s.prototype.render=function(e,t,n){var r,a,o,i="",s=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(o=e[r].type)?i+=this.renderInline(e[r].children,t,n):void 0!==s[o]?i+=s[e[r].type](e,r,t,n,this):i+=this.renderToken(e,r,t,n);return i},e.exports=s},81377:function(e){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var a=this.__find__(e),o=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},36901:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,S=e.lineMax,j=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(j++))return!1;if(a)return!0;for(l=m=e.sCount[t]+1,32===e.src.charCodeAt(j)?(j++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(j)?(y=!0,(e.bsCount[t]+m)%4==3?(j++,l++,m++,o=!1):o=!0):y=!1,h=[e.bMarks[t]],e.bMarks[t]=j;j<x&&(i=e.src.charCodeAt(j),r(i));)9===i?m+=4-(m+e.bsCount[t]+(o?1:0))%4:m++,j++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=j>=x,v=[e.sCount[t]],e.sCount[t]=m-l,k=[e.tShift[t]],e.tShift[t]=j-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(C=e.sCount[d]<e.blkIndent,!((j=e.bMarks[d]+e.tShift[d])>=(x=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(j++)||C){if(u)break;for(E=!1,s=0,c=w.length;s<c;s++)if(w[s](e,d,n,!0)){E=!0;break}if(E){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),f.push(e.bsCount[d]),k.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(l=m=e.sCount[d]+1,32===e.src.charCodeAt(j)?(j++,l++,m++,o=!1,y=!0):9===e.src.charCodeAt(j)?(y=!0,(e.bsCount[d]+m)%4==3?(j++,l++,m++,o=!1):o=!0):y=!1,h.push(e.bMarks[d]),e.bMarks[d]=j;j<x&&(i=e.src.charCodeAt(j),r(i));)9===i?m+=4-(m+e.bsCount[d]+(o?1:0))%4:m++,j++;u=j>=x,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=m-l,k.push(e.tShift[d]),e.tShift[d]=j-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=p=[t,0],e.md.block.tokenize(e,t,d),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=S,e.parentType=b,p[1]=e.line,s=0;s<k.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=k[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=f[s];return e.blkIndent=g,!0}},99334:function(e){"use strict";e.exports=function(e,t,n){var r,a,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(o=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}},79783:function(e){"use strict";e.exports=function(e,t,n,r){var a,o,i,s,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>m)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(l=d,(o=(d=e.skipChars(d,a))-l)<3)return!1;if(u=e.src.slice(l,d),i=e.src.slice(d,m),96===a&&i.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((d=l=e.bMarks[s]+e.tShift[s])<(m=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,a))-l<o||(d=e.skipSpaces(d))<m)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=i,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},21127:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(i=1,o=e.src.charCodeAt(++c);35===o&&c<u&&i<=6;)i++,o=e.src.charCodeAt(++c);return!(i>6||c<u&&!r(o))&&(a||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}},68837:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t,n,a){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(i=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&i++}return!(i<3)&&(a||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(o))),!0)}},33869:function(e,t,n){"use strict";var r=n(43093),a=n(36570).q,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),a=0;a<o.length&&!o[a][0].test(l);a++);if(a===o.length)return!1;if(r)return o[a][2];if(i=t+1,!o[a][1].test(l))for(;i<n&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),o[a][1].test(l)){0!==l.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}},5393:function(e){"use strict";e.exports=function(e,t,n){var r,a,o,i,s,l,c,u,p,d,m=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";m<n&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(l=e.bMarks[m]+e.tShift[m])<(c=e.eMarks[m])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[m]<0)){for(a=!1,o=0,i=h.length;o<i;o++)if(h[o](e,m,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,m,e.blkIndent,!1).trim(),e.line=m+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},46388:function(e,t,n){"use strict";var r=n(39615).isSpace;function a(e,t){var n,a,o,i;return a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n||a<o&&(i=e.src.charCodeAt(a),!r(i))?-1:a}function o(e,t){var n,a=e.bMarks[t]+e.tShift[t],o=a,i=e.eMarks[t];if(o+1>=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-a>=10)return-1}return o<i&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,S,j,x,P,T,N,A,M,I,R=!1,L=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(R=!0),(P=o(e,t))>=0){if(d=!0,N=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(N,P-1)),R&&1!==v)return!1}else{if(!((P=a(e,t))>=0))return!1;d=!1}if(R&&e.skipSpaces(P)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(P-1),r)return!0;for(g=e.tokens.length,d?(I=e.push("ordered_list_open","ol",1),1!==v&&(I.attrs=[["start",v]])):I=e.push("bullet_list_open","ul",1),I.map=f=[t,0],I.markup=String.fromCharCode(b),y=t,T=!1,M=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";y<n;){for(x=P,k=e.eMarks[y],p=E=e.sCount[y]+P-(e.bMarks[t]+e.tShift[t]);x<k;){if(9===(i=e.src.charCodeAt(x)))E+=4-(E+e.bsCount[y])%4;else{if(32!==i)break;E++}x++}if((u=(s=x)>=k?1:E-p)>4&&(u=1),c=p+u,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),I.map=m=[t,0],d&&(I.info=e.src.slice(N,P-1)),j=e.tight,S=e.tShift[t],C=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=k&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!T||(L=!1),T=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=S,e.sCount[t]=C,e.tight=j,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),y=t=e.line,m[1]=y,s=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(A=!1,l=0,h=M.length;l<h;l++)if(M[l](e,y,n,!0)){A=!0;break}if(A)break;if(d){if((P=o(e,y))<0)break;N=e.bMarks[y]+e.tShift[y]}else if((P=a(e,y))<0)break;if(b!==e.src.charCodeAt(P-1))break}return(I=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),f[1]=y,e.line=y,e.parentType=_,L&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},24934:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,a=0,o=c.length;a<o;a++)if(c[a](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=n,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}},33765:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t,n,o){var i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w=0,_=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],S=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(_))return!1;for(;++_<C;)if(93===e.src.charCodeAt(_)&&92!==e.src.charCodeAt(_-1)){if(_+1===C)return!1;if(58!==e.src.charCodeAt(_+1))return!1;break}for(c=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";S<c&&!e.isEmpty(S);S++)if(!(e.sCount[S]-e.blkIndent>3||e.sCount[S]<0)){for(k=!1,p=0,d=y.length;p<d;p++)if(y[p](e,S,c,!0)){k=!0;break}if(k)break}for(C=(v=e.getLines(t,S,e.blkIndent,!1).trim()).length,_=1;_<C;_++){if(91===(i=v.charCodeAt(_)))return!1;if(93===i){h=_;break}(10===i||92===i&&++_<C&&10===v.charCodeAt(_))&&w++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(_=h+2;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;if(!(g=e.md.helpers.parseLinkDestination(v,_,C)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=_=g.pos,l=w+=g.lines,b=_;_<C;_++)if(10===(i=v.charCodeAt(_)))w++;else if(!a(i))break;for(g=e.md.helpers.parseLinkTitle(v,_,C),_<C&&b!==_&&g.ok?(E=g.str,_=g.pos,w+=g.lines):(E="",_=s,w=l);_<C&&(i=v.charCodeAt(_),a(i));)_++;if(_<C&&10!==v.charCodeAt(_)&&E)for(E="",_=s,w=l;_<C&&(i=v.charCodeAt(_),a(i));)_++;return!(_<C&&10!==v.charCodeAt(_))&&(!!(m=r(v.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:E,href:u}),e.parentType=f,e.line=t+w+1),!0))}},75355:function(e,t,n){"use strict";var r=n(71872),a=n(39615).isSpace;function o(e,t,n,r){var o,i,s,l,c,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=p=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!d){if(a(o)){u++,9===o?p+=4-p%4:p++;continue}d=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,i,s,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),o=0;d<t;d++,o++){for(i=0,p=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&i<n;){if(s=this.src.charCodeAt(l),a(s))9===s?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(l-p<this.tShift[d]))break;i++}l++}u[o]=i>n?new Array(i-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=r,e.exports=o},12592:function(e,t,n){"use strict";var r=n(39615).isSpace;function a(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,a=e.length,o=!1,i=0,s="";for(t=e.charCodeAt(r);r<a;)124===t&&(o?(s+=e.substring(i,r-1),i=r):(n.push(s+e.substring(i,r)),s="",i=r+1)),o=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(i)),n}e.exports=function(e,t,n,i){var s,l,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(_=e.src.charCodeAt(c++))&&45!==_&&58!==_)return!1;if(c>=e.eMarks[d])return!1;if(124!==(C=e.src.charCodeAt(c++))&&45!==C&&58!==C&&!r(C))return!1;if(45===_&&r(C))return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(m=(l=a(e,t+1)).split("|"),g=[],u=0;u<m.length;u++){if(!(b=m[u].trim())){if(0===u||u===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?g.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),0===(h=m.length)||h!==g.length)return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(f=e.push("table_open","table",1)).map=v=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<m.length;u++)f=e.push("th_open","th",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u].trim(),f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),d=t+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(E=!1,u=0,p=w.length;u<p;u++)if(w[u](e,d,n,!0)){E=!0;break}if(E)break;if(!(l=a(e,d).trim()))break;if(e.sCount[d]-e.blkIndent>=4)break;for((m=o(l)).length&&""===m[0]&&m.shift(),m.length&&""===m[m.length-1]&&m.pop(),d===t+2&&((f=e.push("tbody_open","tbody",1)).map=k=[t+2,0]),(f=e.push("tr_open","tr",1)).map=[d,d+1],u=0;u<h;u++)f=e.push("td_open","td",1),g[u]&&(f.attrs=[["style","text-align:"+g[u]]]),(f=e.push("inline","",0)).content=m[u]?m[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return k&&(f=e.push("tbody_close","tbody",-1),k[1]=d),f=e.push("table_close","table",-1),v[1]=d,e.parentType=y,e.line=d,!0}},30884:function(e){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},25334:function(e){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},64756:function(e,t,n){"use strict";var r=n(39615).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,i,s,l,c,u,p,d,m,h,f,g,b,v,k,y,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(f=0,t=(i=E[n].children).length-1;t>=0;t--)if("link_close"!==(l=i[t]).type){if("html_inline"===l.type&&(y=l.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(l.content)&&f++),!(f>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,k=e.md.linkify.match(p),c=[],h=l.level,m=0,u=0;u<k.length;u++)g=k[u].url,b=e.md.normalizeLink(g),e.md.validateLink(b)&&(v=k[u].text,v=k[u].schema?"mailto:"!==k[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=k[u].index)>m&&((s=new e.Token("text","",0)).content=p.slice(m,d),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",b]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=v,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),m=k[u].lastIndex);m<p.length&&((s=new e.Token("text","",0)).content=p.slice(m),s.level=h,c.push(s)),E[n].children=i=r(i,t,c)}}else for(t--;i[t].level!==l.level&&"link_open"!==i[t].type;)t--}},13837:function(e){"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},60555:function(e){"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return a[t.toLowerCase()]}function i(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}function s(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||a||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&i(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},28867:function(e,t,n){"use strict";var r=n(39615).isWhiteSpace,a=n(39615).isPunctChar,o=n(39615).isMdAsciiPunct,i=/['"]/,s=/['"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,i,c,u,p,d,m,h,f,g,b,v,k,y,E,w,_,C,S,j,x;for(S=[],n=0;n<e.length;n++){for(i=e[n],m=e[n].level,_=S.length-1;_>=0&&!(S[_].level<=m);_--);if(S.length=_+1,"text"===i.type){p=0,d=(c=i.content).length;e:for(;p<d&&(s.lastIndex=p,u=s.exec(c));){if(E=w=!0,p=u.index+1,C="'"===u[0],f=32,u.index-1>=0)f=c.charCodeAt(u.index-1);else for(_=n-1;_>=0&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_--)if(e[_].content){f=e[_].content.charCodeAt(e[_].content.length-1);break}if(g=32,p<d)g=c.charCodeAt(p);else for(_=n+1;_<e.length&&("softbreak"!==e[_].type&&"hardbreak"!==e[_].type);_++)if(e[_].content){g=e[_].content.charCodeAt(0);break}if(b=o(f)||a(String.fromCharCode(f)),v=o(g)||a(String.fromCharCode(g)),k=r(f),(y=r(g))?E=!1:v&&(k||b||(E=!1)),k?w=!1:b&&(y||v||(w=!1)),34===g&&'"'===u[0]&&f>=48&&f<=57&&(w=E=!1),E&&w&&(E=b,w=v),E||w){if(w)for(_=S.length-1;_>=0&&(h=S[_],!(S[_].level<m));_--)if(h.single===C&&S[_].level===m){h=S[_],C?(j=t.md.options.quotes[2],x=t.md.options.quotes[3]):(j=t.md.options.quotes[0],x=t.md.options.quotes[1]),i.content=l(i.content,u.index,x),e[h.token].content=l(e[h.token].content,h.pos,j),p+=x.length-1,h.token===n&&(p+=j.length-1),d=(c=i.content).length,S.length=_;continue e}E?S.push({token:n,pos:u.index,single:C,level:m}):w&&C&&(i.content=l(i.content,u.index,"’"))}else C&&(i.content=l(i.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},30727:function(e,t,n){"use strict";var r=n(71872);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},73273:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var a,o,i,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return a=e.src.slice(l+1,u),n.test(a)?(o=e.md.normalizeLink(a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0)):!!t.test(a)&&(o=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(o)&&(r||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(a),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a.length+2,!0))}},7912:function(e){"use strict";e.exports=function(e,t){var n,r,a,o,i,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(a=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=a),e.pos+=l,!0;for(i=s=u;-1!==(i=e.src.indexOf("`",s));){for(s=i+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-i)===l)return t||((o=e.push("code_inline","code",0)).markup=a,o.content=e.src.slice(u,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=i}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=l,!0}},76399:function(e){"use strict";function t(e,t){var n,r,a,o,i,s,l,c,u={},p=t.length;if(p){var d=0,m=-2,h=[];for(n=0;n<p;n++)if(a=t[n],h.push(0),t[d].marker===a.marker&&m===a.token-1||(d=n),m=a.token,a.length=a.length||0,a.close){for(u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1,-1,-1,-1]),i=u[a.marker][(a.open?3:0)+a.length%3],s=r=d-h[d]-1;r>i;r-=h[r]+1)if((o=t[r]).marker===a.marker&&o.open&&o.end<0&&(l=!1,(o.close||a.open)&&(o.length+a.length)%3==0&&(o.length%3==0&&a.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+c,h[r]=c,a.open=!1,o.end=n,o.close=!1,s=-1,m=-2;break}-1!==s&&(u[a.marker][(a.open?3:0)+(a.length||0)%3]=s)}}}e.exports=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},56141:function(e){"use strict";function t(e,t){var n,r,a,o,i,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(a=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===a.token+1,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?i+i:i,o.content="",(o=e.tokens[a.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?i+i:i,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,a=e.pos,o=e.src.charCodeAt(a);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},54408:function(e,t,n){"use strict";var r=n(38337),a=n(39615).has,o=n(39615).isValidEntityCode,i=n(39615).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?i(n):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&a(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},8329:function(e,t,n){"use strict";for(var r=n(39615).isSpace,a=[],o=0;o<256;o++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<i){if((n=e.src.charCodeAt(o))<256&&0!==a[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<i&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},9955:function(e,t,n){"use strict";var r=n(36570).n;e.exports=function(e,t){var n,a,o,i=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=o)&&(!(33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(i).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+a[0].length)),e.pos+=a[0].length,!0))))}},92560:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d,m,h,f,g,b="",v=e.pos,k=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<k&&40===e.src.charCodeAt(u)){for(u++;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(u>=k)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<k&&g!==u&&d.ok)for(m=d.str,u=d.pos;u<k&&(o=e.src.charCodeAt(u),a(o)||10===o);u++);else m="";if(u>=k||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<k&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(p=e.env.references[r(s)]))return e.pos=v,!1;b=p.href,m=p.title}return t||(i=e.src.slice(c,l),e.md.inline.parse(i,e.md,e.env,f=[]),(h=e.push("image","img",0)).attrs=n=[["src",b],["alt",""]],h.children=f,h.content=i,m&&n.push(["title",m])),e.pos=u,e.posMax=k,!0}},95028:function(e,t,n){"use strict";var r=n(39615).normalizeReference,a=n(39615).isSpace;e.exports=function(e,t){var n,o,i,s,l,c,u,p,d="",m="",h=e.pos,f=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<f&&40===e.src.charCodeAt(c)){for(b=!1,c++;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(c>=f)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d="",g=c;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<f&&g!==c&&u.ok)for(m=u.str,c=u.pos;c<f&&(o=e.src.charCodeAt(c),a(o)||10===o);c++);}(c>=f||41!==e.src.charCodeAt(c))&&(b=!0),c++}if(b){if(void 0===e.env.references)return!1;if(c<f&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?i=e.src.slice(g,c++):c=s+1):c=s+1,i||(i=e.src.slice(l,s)),!(p=e.env.references[r(i)]))return e.pos=h,!1;d=p.href,m=p.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=f,!0}},62378:function(e,t,n){"use strict";var r=n(39615).isSpace;e.exports=function(e,t){var n,a,o,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;if(n=e.pending.length-1,a=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i<a&&r(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},25240:function(e,t,n){"use strict";var r=n(71872),a=n(39615).isWhiteSpace,o=n(39615).isPunctChar,i=n(39615).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(o),a},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,d,m,h=e,f=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,r=h<b?this.src.charCodeAt(h):32,p=i(n)||o(String.fromCharCode(n)),m=i(r)||o(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:m&&(u||p||(f=!1)),u?g=!1:p&&(d||m||(g=!1)),t?(l=f,c=g):(l=f&&(!g||p),c=g&&(!f||m)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},54988:function(e){"use strict";function t(e,t){var n,r,a,o,i,s=[],l=t.length;for(n=0;n<l;n++)126===(a=t[n]).marker&&-1!==a.end&&(o=t[a.end],(i=e.tokens[a.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=i)}}e.exports.w=function(e,t){var n,r,a,o,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=o,a--),n=0;n<a;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,a=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<a;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},10937:function(e){"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},52406:function(e){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)a[t].nesting<0&&r--,a[t].level=r,a[t].nesting>0&&r++,"text"===a[t].type&&t+1<o&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},71872:function(e){"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},64309:function(e){"use strict";var t={};function n(e,r){var a;return"string"!=typeof r&&(r=n.defaultChars),a=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),a.push(r);for(n=0;n<e.length;n++)a[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return a}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,i,s,l,c="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=a[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&i))?(c+=(l=r<<12&61440|o<<6&4032|63&i)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&i)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|i<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},16087:function(e){"use strict";var t={};function n(e,r,a){var o,i,s,l,c,u="";for("string"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),c=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),o=0,i=e.length;o<i;o++)if(s=e.charCodeAt(o),a&&37===s&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<i&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},46175:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},49236:function(e,t,n){"use strict";e.exports.encode=n(16087),e.exports.decode=n(64309),e.exports.format=n(46175),e.exports.parse=n(57507)},57507:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),i=["'"].concat(o),s=["%","/","?",";","#"].concat(i),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,o,i,m,h,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var g=a.exec(f);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=n.exec(f);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,f=f.substr(b.length)),(t||b||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===f.substr(0,2))||b&&p[b]||(f=f.substr(2),this.slashes=!0)),!p[b]&&(h||b&&!d[b])){var v,k,y=-1;for(r=0;r<l.length;r++)-1!==(m=f.indexOf(l[r]))&&(-1===y||m<y)&&(y=m);for(-1!==(k=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,k),f=f.slice(k+1),this.auth=v),y=-1,r=0;r<s.length;r++)-1!==(m=f.indexOf(s[r]))&&(-1===y||m<y)&&(y=m);-1===y&&(y=f.length),":"===f[y-1]&&y--;var E=f.slice(0,y);f=f.slice(y),this.parseHost(E),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var _=this.hostname.split(/\./);for(r=0,o=_.length;r<o;r++){var C=_[r];if(C&&!C.match(c)){for(var S="",j=0,x=C.length;j<x;j++)C.charCodeAt(j)>127?S+="x":S+=C[j];if(!S.match(c)){var P=_.slice(0,r),T=_.slice(r+1),N=C.match(u);N&&(P.push(N[1]),T.unshift(N[2])),T.length&&(f=T.join(".")+f),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=f.indexOf("#");-1!==A&&(this.hash=f.substr(A),f=f.slice(0,A));var M=f.indexOf("?");return-1!==M&&(this.search=f.substr(M),f=f.slice(0,M)),f&&(this.pathname=f),d[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},59961:function(){},18783:function(){},58449:function(){},45460:function(e,t){"use strict";t.Z={iconWrapper:"sDAzdUdcbaYmUMZBe2XW","star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43"}},91853:function(e,t){"use strict";t.Z={"connection-container":"KQcQQLxH5fI08DfOlKwL","connection-toggle":"GkSdCYn_REWEdI_aqvQk"}},75631:function(e,t){"use strict";t.Z={"connections-list":"Ua6eKcnk_tQQpFlgXMSn","components-notice":"SHqrIEguRfCILRHPyxE9"}},78619:function(e,t){"use strict";t.Z={"add-connection-wrapper":"xwd1zFILyAv6XzDjevFA"}},28161:function(e,t){"use strict";t.Z={"publicize-notice":"__nV49on4_ijaV8Brnsw","components-notice":"zZ3Pu7E87XyYIdPR2WTt","components-button":"fLC8AaLf3xcKaoJ4Opax"}},73171:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=7*a,i=365.25*a;function s(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=a)return s(e,o,a,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=a)return Math.round(e/a)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},47563:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var p=0;p<s.length;p++)r.call(i,s[p])&&(l[s[p]]=i[s[p]])}}return l}},69424:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(94273),a=n.n(r),o=n(53191),i=n.n(o),s=n(60686),l=n.n(s)()("photon"),c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function d(e,t){var n;try{n=new URL(e,p)}catch(e){return null}var r,o,s,d,m,h="https:"===n.protocol,f=new URL("https://i0.wp.com");if(m=n.host,/^i[0-2]\.wp\.com$/.test(m))f.pathname=n.pathname,f.hostname=n.hostname;else{if(n.search)return null;var g=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(g=n.pathname.replace("://","//")),n.hostname===u&&(g=n.pathname),f.pathname=g,f.hostname=(r=g,o=a()(r),s=i()(o),d="i"+Math.floor(3*s()),l('determined server "%s" to use with "%s"',d,r),d+".wp.com"),h&&f.searchParams.set("ssl",1)}if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?f.searchParams.set(c[b]||b,t[b]):f.protocol="http:":f.hostname=t[b];return l("generated Photon URL: %s",f.href),f.href}},469:function(e,t,n){"use strict";var r=n(90758);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,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:o,resetWarningCache:a};return n.PropTypes=n,n}},25162:function(e,t,n){e.exports=n(469)()},90758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},56388:function(e,t,n){var r=n(75963);function a(e){this.mode=r.MODE_8BIT_BYTE,this.data=e}a.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=a},46015:function(e){function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},7329:function(e){e.exports={L:1,M:0,Q:3,H:2}},29497:function(e,t,n){var r=n(44177);function a(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}a.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var o=0;o<e.getLength();o++)t[n+o]^=r.gexp(r.glog(this.get(n))+r.glog(e.get(o)));return new a(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=r.glog(this.get(0))-r.glog(e.get(0)),n=new Array(this.getLength()),o=0;o<this.getLength();o++)n[o]=this.get(o);for(o=0;o<e.getLength();o++)n[o]^=r.gexp(r.glog(e.get(o))+t);return new a(n,0).mod(e)}},e.exports=a},41122:function(e,t,n){var r=n(56388),a=n(63714),o=n(46015),i=n(39469),s=n(29497);function l(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=l.prototype;c.addData=function(e){var t=new r(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=a.getRSBlocks(e,this.errorCorrectLevel),n=new o,r=0,s=0;s<t.length;s++)r+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var l=this.dataList[s];n.put(l.mode,4),n.put(l.getLength(),i.getLengthInBits(l.mode,e)),l.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=l.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=i.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},c.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var a=0;a<this.modules.length;a++)for(var o=1*a,i=0;i<this.modules[a].length;i++){var s=1*i;this.modules[a][i]&&(r.beginFill(0,100),r.moveTo(s,o),r.lineTo(s+1,o),r.lineTo(s+1,o+1),r.lineTo(s,o+1),r.endFill())}return r},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=i.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],a=e[n];if(null==this.modules[r][a])for(var o=-2;o<=2;o++)for(var s=-2;s<=2;s++)this.modules[r+o][a+s]=-2==o||2==o||-2==s||2==s||0==o&&0==s}},c.setupTypeNumber=function(e){for(var t=i.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},c.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=i.getBCHTypeInfo(n),a=0;a<15;a++){var o=!e&&1==(r>>a&1);a<6?this.modules[a][8]=o:a<8?this.modules[a+1][8]=o:this.modules[this.moduleCount-15+a][8]=o}for(a=0;a<15;a++){o=!e&&1==(r>>a&1);a<8?this.modules[8][this.moduleCount-a-1]=o:a<9?this.modules[8][15-a-1+1]=o:this.modules[8][15-a-1]=o}this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,a=7,o=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var c=!1;o<e.length&&(c=1==(e[o]>>>a&1)),i.getMask(t,r,s-l)&&(c=!c),this.modules[r][s-l]=c,-1==--a&&(o++,a=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},l.PAD0=236,l.PAD1=17,l.createData=function(e,t,n){for(var r=a.getRSBlocks(e,t),s=new o,c=0;c<n.length;c++){var u=n[c];s.put(u.mode,4),s.put(u.getLength(),i.getLengthInBits(u.mode,e)),u.write(s)}var p=0;for(c=0;c<r.length;c++)p+=r[c].dataCount;if(s.getLengthInBits()>8*p)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*p+")");for(s.getLengthInBits()+4<=8*p&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*p||(s.put(l.PAD0,8),s.getLengthInBits()>=8*p));)s.put(l.PAD1,8);return l.createBytes(s,r)},l.createBytes=function(e,t){for(var n=0,r=0,a=0,o=new Array(t.length),l=new Array(t.length),c=0;c<t.length;c++){var u=t[c].dataCount,p=t[c].totalCount-u;r=Math.max(r,u),a=Math.max(a,p),o[c]=new Array(u);for(var d=0;d<o[c].length;d++)o[c][d]=255&e.buffer[d+n];n+=u;var m=i.getErrorCorrectPolynomial(p),h=new s(o[c],m.getLength()-1).mod(m);l[c]=new Array(m.getLength()-1);for(d=0;d<l[c].length;d++){var f=d+h.getLength()-l[c].length;l[c][d]=f>=0?h.get(f):0}}var g=0;for(d=0;d<t.length;d++)g+=t[d].totalCount;var b=new Array(g),v=0;for(d=0;d<r;d++)for(c=0;c<t.length;c++)d<o[c].length&&(b[v++]=o[c][d]);for(d=0;d<a;d++)for(c=0;c<t.length;c++)d<l[c].length&&(b[v++]=l[c][d]);return b},e.exports=l},63714:function(e,t,n){var r=n(7329);function a(e,t){this.totalCount=e,this.dataCount=t}a.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],a.getRSBlocks=function(e,t){var n=a.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=new Array,i=0;i<r;i++)for(var s=n[3*i+0],l=n[3*i+1],c=n[3*i+2],u=0;u<s;u++)o.push(new a(l,c));return o},a.getRsBlockTable=function(e,t){switch(t){case r.L:return a.RS_BLOCK_TABLE[4*(e-1)+0];case r.M:return a.RS_BLOCK_TABLE[4*(e-1)+1];case r.Q:return a.RS_BLOCK_TABLE[4*(e-1)+2];case r.H:return a.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=a},44177:function(e){for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},n=0;n<8;n++)t.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.EXP_TABLE[n]=t.EXP_TABLE[n-4]^t.EXP_TABLE[n-5]^t.EXP_TABLE[n-6]^t.EXP_TABLE[n-8];for(n=0;n<255;n++)t.LOG_TABLE[t.EXP_TABLE[n]]=n;e.exports=t},75963:function(e){e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},39469:function(e,t,n){var r=n(75963),a=n(29497),o=n(44177),i=0,s=1,l=2,c=3,u=4,p=5,d=6,m=7,h={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;h.getBCHDigit(t)-h.getBCHDigit(h.G15)>=0;)t^=h.G15<<h.getBCHDigit(t)-h.getBCHDigit(h.G15);return(e<<10|t)^h.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;h.getBCHDigit(t)-h.getBCHDigit(h.G18)>=0;)t^=h.G18<<h.getBCHDigit(t)-h.getBCHDigit(h.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return h.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case i:return(t+n)%2==0;case s:return t%2==0;case l:return n%3==0;case c:return(t+n)%3==0;case u:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case p:return t*n%2+t*n%3==0;case d:return(t*n%2+t*n%3)%2==0;case m:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new a([1],0),n=0;n<e;n++)t=t.multiply(new a([1,o.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var a=0;a<t;a++){for(var o=0,i=e.isDark(r,a),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l++)a+l<0||t<=a+l||0==s&&0==l||i==e.isDark(r+s,a+l)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<t-1;r++)for(a=0;a<t-1;a++){var c=0;e.isDark(r,a)&&c++,e.isDark(r+1,a)&&c++,e.isDark(r,a+1)&&c++,e.isDark(r+1,a+1)&&c++,0!=c&&4!=c||(n+=3)}for(r=0;r<t;r++)for(a=0;a<t-6;a++)e.isDark(r,a)&&!e.isDark(r,a+1)&&e.isDark(r,a+2)&&e.isDark(r,a+3)&&e.isDark(r,a+4)&&!e.isDark(r,a+5)&&e.isDark(r,a+6)&&(n+=40);for(a=0;a<t;a++)for(r=0;r<t-6;r++)e.isDark(r,a)&&!e.isDark(r+1,a)&&e.isDark(r+2,a)&&e.isDark(r+3,a)&&e.isDark(r+4,a)&&!e.isDark(r+5,a)&&e.isDark(r+6,a)&&(n+=40);var u=0;for(a=0;a<t;a++)for(r=0;r<t;r++)e.isDark(r,a)&&u++;return n+=10*(Math.abs(100*u/t/t-50)/5)}};e.exports=h},37562:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var a=["value","size","level","bgColor","fgColor","style","includeMargin","imageSettings"],o=["value","size","level","bgColor","fgColor","includeMargin","imageSettings"],i=["renderAs"];function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var a=k(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=n(99196),w=(n(25162),n(41122)),_=n(7329);function C(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r<2048?(t+=String.fromCharCode(192|r>>6),t+=String.fromCharCode(128|63&r)):r<55296||r>=57344?(t+=String.fromCharCode(224|r>>12),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r)):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t+=String.fromCharCode(240|r>>18),t+=String.fromCharCode(128|r>>12&63),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r))}return t}var S={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return e.forEach((function(e,r){var a=null;e.forEach((function(o,i){if(!o&&null!==a)return n.push("M".concat(a+t," ").concat(r+t,"h").concat(i-a,"v1H").concat(a+t,"z")),void(a=null);if(i!==e.length-1)o&&null===a&&(a=i);else{if(!o)return;null===a?n.push("M".concat(i+t,",").concat(r+t," h1v1H").concat(i+t,"z")):n.push("M".concat(a+t,",").concat(r+t," h").concat(i+1-a,"v1H").concat(a+t,"z"))}}))})),n.join("")}function x(e,t){return e.slice().map((function(e,n){return n<t.y||n>=t.y+t.h?e:e.map((function(e,n){return(n<t.x||n>=t.x+t.w)&&e}))}))}function P(e,t){var n=e.imageSettings,r=e.size,a=e.includeMargin;if(null==n)return null;var o=a?4:0,i=t.length+2*o,s=Math.floor(.1*r),l=i/r,c=(n.width||s)*l,u=(n.height||s)*l,p=null==n.x?t.length/2-c/2:n.x*l,d=null==n.y?t.length/2-u/2:n.y*l,m=null;if(n.excavate){var h=Math.floor(p),f=Math.floor(d);m={x:h,y:f,w:Math.ceil(c+p-h),h:Math.ceil(u+d-f)}}return{x:p,y:d,h:u,w:c,excavation:m}}var T=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),N=function(e){h(n,e);var t=g(n);function n(){var e;p(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return y(v(e=t.call.apply(t,[this].concat(a))),"_canvas",void 0),y(v(e),"_image",void 0),y(v(e),"state",{imgLoaded:!1}),y(v(e),"handleImageLoad",(function(){e.setState({imgLoaded:!0})})),e}return m(n,[{key:"componentDidMount",value:function(){this._image&&this._image.complete&&this.handleImageLoad(),this.update()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t,n;(null===(t=this.props.imageSettings)||void 0===t?void 0:t.src)!==(null===(n=e.imageSettings)||void 0===n?void 0:n.src)&&this.setState({imgLoaded:!1})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var e=this.props,t=e.value,n=e.size,r=e.level,a=e.bgColor,o=e.fgColor,i=e.includeMargin,s=e.imageSettings,l=new w(-1,_[r]);if(l.addData(C(t)),l.make(),null!=this._canvas){var c=this._canvas,u=c.getContext("2d");if(!u)return;var p=l.modules;if(null===p)return;var d=i?4:0,m=p.length+2*d,h=P(this.props,p);null!=s&&null!=h&&null!=h.excavation&&(p=x(p,h.excavation));var f=window.devicePixelRatio||1;c.height=c.width=n*f;var g=n/m*f;u.scale(g,g),u.fillStyle=a,u.fillRect(0,0,m,m),u.fillStyle=o,T?u.fill(new Path2D(j(p,d))):p.forEach((function(e,t){e.forEach((function(e,n){e&&u.fillRect(n+d,t+d,1,1)}))})),this.state.imgLoaded&&this._image&&null!=h&&u.drawImage(this._image,h.x+d,h.y+d,h.w,h.h)}}},{key:"render",value:function(){var e=this,t=this.props,n=(t.value,t.size),r=(t.level,t.bgColor,t.fgColor,t.style),o=(t.includeMargin,t.imageSettings),i=u(t,a),l=c({height:n,width:n},r),p=null,d=o&&o.src;return null!=o&&null!=d&&(p=E.createElement("img",{src:d,style:{display:"none"},onLoad:this.handleImageLoad,ref:function(t){return e._image=t}})),E.createElement(E.Fragment,null,E.createElement("canvas",s({style:l,height:n,width:n,ref:function(t){return e._canvas=t}},i)),p)}}]),n}(E.PureComponent);y(N,"defaultProps",S);var A=function(e){h(n,e);var t=g(n);function n(){return p(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this.props,t=e.value,n=e.size,r=e.level,a=e.bgColor,i=e.fgColor,l=e.includeMargin,c=e.imageSettings,p=u(e,o),d=new w(-1,_[r]);d.addData(C(t)),d.make();var m=d.modules;if(null===m)return null;var h=l?4:0,f=m.length+2*h,g=P(this.props,m),b=null;null!=c&&null!=g&&(null!=g.excavation&&(m=x(m,g.excavation)),b=E.createElement("image",{xlinkHref:c.src,height:g.h,width:g.w,x:g.x+h,y:g.y+h,preserveAspectRatio:"none"}));var v=j(m,h);return E.createElement("svg",s({shapeRendering:"crispEdges",height:n,width:n,viewBox:"0 0 ".concat(f," ").concat(f)},p),E.createElement("path",{fill:a,d:"M0,0 h".concat(f,"v").concat(f,"H0z")}),E.createElement("path",{fill:i,d:v}),b)}}]),n}(E.PureComponent);y(A,"defaultProps",S);var M=function(e){var t=e.renderAs,n=u(e,i),r="svg"===t?A:N;return E.createElement(r,n)};M.defaultProps=c({renderAs:"canvas"},S),e.exports=M},40142:function(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,o,i=[];for(o in"string"!=typeof t&&(t="?"),e)if(n.call(e,o)){if((r=e[o])||null!=r&&!isNaN(r)||(r=""),o=a(o),r=a(r),null===o||null===r)continue;i.push(o+"="+r)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,a={};t=n.exec(e);){var o=r(t[1]),i=r(t[2]);null===o||null===i||o in a||(a[o]=i)}return a}},8922:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,f=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,k=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case p:case o:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case f:case l:return e;default:return t}}case a:return t}}}function w(e){return E(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=g,t.Memo=f,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||E(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===f},t.isPortal=function(e){return E(e)===a},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===s||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===k||e.$$typeof===y||e.$$typeof===b)},t.typeOf=E},93801:function(e,t,n){"use strict";e.exports=n(8922)},671:function(e,t,n){"use strict";var r=n(25162),a=n.n(r),o=n(99196),i=n.n(o),s=n(19905),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isSupported:s.Gb&&s.WD},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.state.isSupported&&(this.handleVisibilityChange=this.handleVisibilityChange.bind(this),document.addEventListener(s.WD.event,this.handleVisibilityChange))}},{key:"componentWillUnmount",value:function(){this.state.isSupported&&document.removeEventListener(s.WD.event,this.handleVisibilityChange)}},{key:"handleVisibilityChange",value:function(){var e;"function"==typeof this.props.onChange&&(e=this.props).onChange.apply(e,c((0,s.XO)()));"function"==typeof this.props.children&&this.forceUpdate()}},{key:"render",value:function(){return this.props.children?"function"==typeof this.props.children?this.state.isSupported?(e=this.props).children.apply(e,c((0,s.XO)())):this.props.children():i().Children.only(this.props.children):null;var e}}]),t}(i().Component);u.displayName="PageVisibility",u.propTypes={onChange:a().func,children:a().oneOfType([a().node,a().func])},t.Z=u},90105:function(e,t,n){"use strict";var r=n(671);t.Z=r.Z},19905:function(e,t,n){"use strict";n.d(t,{Gb:function(){return o},WD:function(){return i},XO:function(){return s}});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"}],o=r&&Boolean(document.addEventListener),i=function(){if(!o)return null;var e=!0,t=!1,n=void 0;try{for(var r,i=a[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var s=r.value;if(s.hidden in document)return s}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}return null}(),s=function(){if(!i)return[!0,"visible"];var e=i.hidden,t=i.state;return[!document[e],document[t]]}},24561:function(e,t,n){"use strict";n(47563);var r=n(99196),a=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;a=o("react.element"),t.Fragment=o("react.fragment")}var i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:i.current}}t.jsx=c,t.jsxs=c},30275:function(e,t,n){"use strict";e.exports=n(24561)},24274:function(e){"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)t(e,n[r]);else for(r in n)e[r]=(e[r]||[]).concat(n[r])}e.exports=function(e){var n,r={};return t(r,e),(n=function(e){return function(t){return function(n){var a,o,i=r[n.type],s=t(n);if(i)for(a=0;a<i.length;a++)(o=i[a](n,e))&&e.dispatch(o);return s}}}).effects=r,n}},95386:function(e,t,n){"use strict";var r,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function l(e,t){var n,l;function c(){n=a?new WeakMap:i()}function u(){var n,r,a,o,i,c=arguments.length;for(o=new Array(c),a=0;a<c;a++)o[a]=arguments[a];for(i=t.apply(null,o),(n=l(i)).isUniqueByDependants||(n.lastDependants&&!s(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(s(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),l=a?function(e){var t,a,o,s,l,c=n,u=!0;for(t=0;t<e.length;t++){if(a=e[t],!(l=a)||"object"!=typeof l){u=!1;break}c.has(a)?c=c.get(a):(o=new WeakMap,c.set(a,o),c=o)}return c.has(r)||((s=i()).isUniqueByDependants=u,c.set(r,s)),c.get(r)}:function(){return n},u.getDependants=t,u.clear=c,c(),u}n.d(t,{Z:function(){return l}}),r={},a="undefined"!=typeof WeakMap},82298:function(e){"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:function(e,t){"use strict";var n=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__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var i=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&l()}function s(){o(i)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},p=b(0,0,0,0);function d(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=u(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=d(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,s=d(r.width),l=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+i)!==n&&(l-=m(r,"top","bottom")+i)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(a.left,a.top,s,l)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?f(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):p}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,a,o,i,s,l,u=(r=(n=t).x,a=n.y,o=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:a,width:o,height:i,top:a,right:r+o,bottom:i+a,left:r}),l);c(this,{target:e,contentRect:u})},y=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new n,w=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 y(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var _=void 0!==a.ResizeObserver?a.ResizeObserver:w;t.Z=_},53191:function(e){"use strict";var t=256,n=[],r=window,a=Math.pow(t,6),o=Math.pow(2,52),i=2*o,s=255,l=Math.random;function c(e){var n,r=e.length,a=this,o=0,i=a.i=a.j=0,l=a.S=[];for(r||(e=[r++]);o<t;)l[o]=o++;for(o=0;o<t;o++)l[o]=l[i=s&i+e[o%r]+(n=l[o])],l[i]=n;(a.g=function(e){for(var n,r=0,o=a.i,i=a.j,l=a.S;e--;)n=l[o=s&o+1],r=r*t+l[s&(l[o]=l[i=s&i+n])+(l[i]=n)];return a.i=o,a.j=i,r})(t)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(e){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[s&a]=s&(n^=19*t[s&a])+r.charCodeAt(a++);return m(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),m(e)}catch(e){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,m(n)]}}function m(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,s){if(s&&!0===s.global)return s.global=!1,Math.random=e.exports(r,s),s.global=!0,Math.random;var l=s&&s.entropy||!1,h=[],f=(p(u(l?[r,m(n)]:0 in arguments?r:d(),3),h),new c(h));return p(m(f.S),n),function(){for(var e=f.g(6),n=a,r=0;e<o;)e=(e+r)*t,n*=t,r=f.g(1);for(;e>=i;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=l},p(Math.random(),n)},49079:function(e,t,n){const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof a){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&i||s||c}}e.exports=a;const o=n(14916),{re:i,t:s}=n(11037),l=n(86574),c=n(29262),u=n(8693),p=n(53538)},53538:function(e,t,n){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!h(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,x(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),s("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(/\s+/).join(" ");const l=r?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],f=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>j(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),g=(f.length,new Map);for(const e of f){if(h(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const v=[...g.values()];return a.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>g(n,t)&&e.set.some((e=>g(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const a=new(n(82746))({max:1e3}),o=n(14916),i=n(49079),s=n(29262),l=n(8693),{re:c,t:u,comparatorTrimReplace:p,tildeTrimReplace:d,caretTrimReplace:m}=n(11037),h=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let a=r.pop();for(;n&&r.length;)n=r.every((e=>a.intersects(e,t))),a=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=E(e,t),s("caret",e),e=k(e,t),s("tildes",e),e=_(e,t),s("xrange",e),e=S(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,k=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,((t,n,r,a,o)=>{let i;return s("tilde",e,t,n,r,a,o),v(n)?i="":v(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:v(a)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${n}.${r}.${a}-${o} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,s("tilde return",i),i}))},E=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{s("caret",e,t);const n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,o,i)=>{let l;return s("caret",e,t,n,a,o,i),v(n)?l="":v(a)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(o)?l="0"===n?`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:i?(s("replaceCaret pr",i),l="0"===n?"0"===a?`>=${n}.${a}.${o}-${i} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}-${i} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o}-${i} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===a?`>=${n}.${a}.${o}${r} <${n}.${a}.${+o+1}-0`:`>=${n}.${a}.${o}${r} <${n}.${+a+1}.0-0`:`>=${n}.${a}.${o} <${+n+1}.0.0-0`),s("caret return",l),l}))},_=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,((n,r,a,o,i,l)=>{s("xRange",e,n,r,a,o,i,l);const c=v(a),u=c||v(o),p=u||v(i),d=p;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),i=0,">"===r?(r=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",u?a=+a+1:o=+o+1),"<"===r&&(l="-0"),n=`${r+a}.${o}.${i}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:p&&(n=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),s("xRange return",n),n}))},S=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),j=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),x=e=>(t,n,r,a,o,i,s,l,c,u,p,d,m)=>`${n=v(r)?"":v(a)?`>=${r}.0.0${e?"-0":""}`:v(o)?`>=${r}.${a}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=v(c)?"":v(u)?`<${+c+1}.0.0-0`:v(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),P=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==i.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},8693:function(e,t,n){const r=n(29262),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(80581),{re:i,t:s}=n(11037),l=n(14916),{compareIdentifiers:c}=n(68693);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],a=e.build[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return c(n,a)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},20881:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},86574:function(e,t,n){const r=n(16825),a=n(80525),o=n(68586),i=n(33408),s=n(58546),l=n(66123);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return a(e,n,c);case">":return o(e,n,c);case">=":return i(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},36171:function(e,t,n){const r=n(8693),a=n(82323),{re:o,t:i}=n(11037);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);return null===n?null:a(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},51310:function(e,t,n){const r=n(8693);e.exports=(e,t,n)=>{const a=new r(e,n),o=new r(t,n);return a.compare(o)||a.compareBuild(o)}},84773:function(e,t,n){const r=n(256);e.exports=(e,t)=>r(e,t,!0)},256:function(e,t,n){const r=n(8693);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},86690:function(e,t,n){const r=n(82323),a=n(16825);e.exports=(e,t)=>{if(a(e,t))return null;{const n=r(e),a=r(t),o=n.prerelease.length||a.prerelease.length,i=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==a[e])return i+e;return s}}},16825:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>0===r(e,t,n)},68586:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)>0},33408:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)>=0},73469:function(e,t,n){const r=n(8693);e.exports=(e,t,n,a)=>{"string"==typeof n&&(a=n,n=void 0);try{return new r(e,n).inc(t,a).version}catch(e){return null}}},58546:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)<0},66123:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(e,t,n)<=0},20651:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).major},3857:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).minor},80525:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>0!==r(e,t,n)},82323:function(e,t,n){const{MAX_LENGTH:r}=n(80581),{re:a,t:o}=n(11037),i=n(8693),s=n(14916);e.exports=(e,t)=>{if(t=s(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[o.LOOSE]:a[o.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},23982:function(e,t,n){const r=n(8693);e.exports=(e,t)=>new r(e,t).patch},57665:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},48824:function(e,t,n){const r=n(256);e.exports=(e,t,n)=>r(t,e,n)},3135:function(e,t,n){const r=n(51310);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},44938:function(e,t,n){const r=n(53538);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},13782:function(e,t,n){const r=n(51310);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},75652:function(e,t,n){const r=n(82323);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},55589:function(e,t,n){const r=n(11037);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(80581).SEMVER_SPEC_VERSION,SemVer:n(8693),compareIdentifiers:n(68693).compareIdentifiers,rcompareIdentifiers:n(68693).rcompareIdentifiers,parse:n(82323),valid:n(75652),clean:n(20881),inc:n(73469),diff:n(86690),major:n(20651),minor:n(3857),patch:n(23982),prerelease:n(57665),compare:n(256),rcompare:n(48824),compareLoose:n(84773),compareBuild:n(51310),sort:n(13782),rsort:n(3135),gt:n(68586),lt:n(58546),eq:n(16825),neq:n(80525),gte:n(33408),lte:n(66123),cmp:n(86574),coerce:n(36171),Comparator:n(49079),Range:n(53538),satisfies:n(44938),toComparators:n(35559),maxSatisfying:n(43912),minSatisfying:n(80887),minVersion:n(77124),validRange:n(13228),outside:n(62051),gtr:n(48118),ltr:n(80382),intersects:n(27445),simplifyRange:n(19282),subset:n(79910)}},80581:function(e){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},29262:function(e){const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},68693:function(e){const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),a=t.test(n);return r&&a&&(e=+e,n=+n),e===n?0:r&&!a?-1:a&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},14916:function(e){const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},11037:function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(80581),a=n(29262),o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let l=0;const c=(e,t,n)=>{const r=l++;a(r,t),s[e]=r,i[r]=t,o[r]=new RegExp(t,n?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},48118:function(e,t,n){const r=n(62051);e.exports=(e,t,n)=>r(e,t,">",n)},27445:function(e,t,n){const r=n(53538);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},80382:function(e,t,n){const r=n(62051);e.exports=(e,t,n)=>r(e,t,"<",n)},43912:function(e,t,n){const r=n(8693),a=n(53538);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},80887:function(e,t,n){const r=n(8693),a=n(53538);e.exports=(e,t,n)=>{let o=null,i=null,s=null;try{s=new a(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,n)))})),o}},77124:function(e,t,n){const r=n(8693),a=n(53538),o=n(68586);e.exports=(e,t)=>{e=new a(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const a=e.set[t];let i=null;a.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||n&&!o(n,i)||(n=i)}return n&&e.test(n)?n:null}},62051:function(e,t,n){const r=n(8693),a=n(49079),{ANY:o}=a,i=n(53538),s=n(44938),l=n(68586),c=n(58546),u=n(66123),p=n(33408);e.exports=(e,t,n,d)=>{let m,h,f,g,b;switch(e=new r(e,d),t=new i(t,d),n){case">":m=l,h=u,f=c,g=">",b=">=";break;case"<":m=c,h=p,f=l,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let i=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,d)?i=e:f(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===b)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===b&&f(e,s.semver))return!1}return!0}},19282:function(e,t,n){const r=n(44938),a=n(256);e.exports=(e,t,n)=>{const o=[];let i=null,s=null;const l=e.sort(((e,t)=>a(e,t,n)));for(const e of l){r(e,t,n)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length<p.length?u:t}},79910:function(e,t,n){const r=n(53538),a=n(49079),{ANY:o}=a,i=n(44938),s=n(256),l=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?[new a(">=0.0.0-0")]:[new a(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=[new a(">=0.0.0")]}const r=new Set;let l,p,d,m,h,f,g;for(const t of e)">"===t.operator||">="===t.operator?l=c(l,t,n):"<"===t.operator||"<="===t.operator?p=u(p,t,n):r.add(t.semver);if(r.size>1)return null;if(l&&p){if(d=s(l.semver,p.semver,n),d>0)return null;if(0===d&&(">="!==l.operator||"<="!==p.operator))return null}for(const e of r){if(l&&!i(e,String(l),n))return null;if(p&&!i(e,String(p),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let b=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,v=!(!l||n.includePrerelease||!l.semver.prerelease.length)&&l.semver;b&&1===b.prerelease.length&&"<"===p.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,l)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(m=c(l,e,n),m===e&&m!==l)return!1}else if(">="===l.operator&&!i(l.semver,String(e),n))return!1;if(p)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=u(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!i(p.semver,String(e),n))return!1;if(!e.operator&&(p||l)&&0!==d)return!1}return!(l&&f&&!p&&0!==d)&&(!(p&&g&&!l&&0!==d)&&(!v&&!b))},c=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let a=!1;e:for(const r of e.set){for(const e of t.set){const t=l(r,e,n);if(a=a||null!==t,t)continue e}if(a)return!1}return!0}},35559:function(e,t,n){const r=n(53538);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},13228:function(e,t,n){const r=n(53538);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},6975:function(e,t,n){"use strict";var r=n(51128),a=n.n(r),o=n(92819);const i=a()("dops:analytics");let s,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=(0,o.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]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.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]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,o,i){c.ga.recordPurchase(e,t,n,r,a,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=(0,o.assign)(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),i("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){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),i(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=c},31020:function(e,t,n){"use strict";n.d(t,{av:function(){return h}});var r=n(82402),a=n.n(r),o=n(65235),i=n.n(o),s=n(99196),l=n.n(s),c=n(55609),u=n(45460);function p(e){let{className:t,size:n=24,viewBox:r="0 0 24 24",opacity:o=1,color:s,children:p}=e;const d={className:i()(u.Z.iconWrapper,t),width:n,height:n,viewBox:r,opacity:o};return s&&(d.fill=s),l().createElement(c.SVG,a()({},d,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),l().createElement(c.G,{opacity:o},p))}function d(e){let{className:t,fill:n="none",size:r,children:a}=e;return l().createElement(p,{className:i()(u.Z.socialIcon,t),size:r,fill:n},a)}const m={"anti-spam":e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"m8.455 21.207 8-17.5-.91-.416-1.261 2.76A4.979 4.979 0 0 0 12 5.5c-1.062 0-2.046.33-2.855.895L7.19 4.44 6.13 5.5l1.926 1.927A4.975 4.975 0 0 0 7.025 10H5v1.5h2V13H5v1.5h2.1a5.001 5.001 0 0 0 1.937 3.028L7.545 20.79l.91.416ZM9.68 16.12A3.492 3.492 0 0 1 8.5 13.5v-3a3.5 3.5 0 0 1 5.159-3.083L9.68 16.121Zm5.675-6.62.81-1.77c.44.663.728 1.436.81 2.269H19v1.5h-2V13h2v1.5h-2.1a5.002 5.002 0 0 1-5.634 3.947l.662-1.448L12 17a3.5 3.5 0 0 0 3.5-3.5v-3a3.5 3.5 0 0 0-.145-.998Z"}))},backup:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"m15.82 11.373.013-1.277v-.03c0-1.48-1.352-2.9-3.3-2.9-1.627 0-2.87 1.015-3.205 2.208l-.32 1.143-1.186-.048a2.192 2.192 0 0 0-.089-.002c-1.19 0-2.233 1.008-2.233 2.35 0 1.34 1.04 2.348 2.23 2.35H16.8c.895 0 1.7-.762 1.7-1.8 0-.927-.649-1.643-1.423-1.777l-1.258-.217ZM7.883 8.97l-.15-.003C5.67 8.967 4 10.69 4 12.817c0 2.126 1.671 3.85 3.733 3.85H16.8c1.767 0 3.2-1.478 3.2-3.3 0-1.635-1.154-2.993-2.667-3.255v-.045c0-2.43-2.149-4.4-4.8-4.4-2.237 0-4.118 1.403-4.65 3.303Z",fill:"#000"}))},boost:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"}))},crm:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.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 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"}))},extras:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"}))},protect:e=>{let{opacity:t=1,size:n,className:r}=e;return l().createElement(p,{className:r,size:n,opacity:t},l().createElement(c.Path,{d:"M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z"}),l().createElement(c.Path,{d:"M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z"}))},scan:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"}))},search:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},social:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"}))},star:e=>{let{size:t,className:n=u.Z["star-icon"]}=e;return l().createElement(p,{className:n,size:t},l().createElement(c.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"}))},videopress:e=>{let{opacity:t=1,size:n}=e;return l().createElement(p,{size:n,opacity:t},l().createElement(c.Path,{d:"M5.286 4.5h13.428c.434 0 .786.352.786.786v13.428a.786.786 0 0 1-.786.786H5.286a.786.786 0 0 1-.786-.786V5.286c0-.434.352-.786.786-.786ZM3 5.286A2.286 2.286 0 0 1 5.286 3h13.428A2.286 2.286 0 0 1 21 5.286v13.428A2.286 2.286 0 0 1 18.714 21H5.286A2.286 2.286 0 0 1 3 18.714V5.286ZM15 12l-5-3v6l5-3Z"}))},jetpack:e=>{let{size:t,className:n=u.Z.jetpack}=e;return l().createElement(p,{className:n,size:t,viewBox:"0 0 32 32"},l().createElement(c.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),l().createElement(c.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),l().createElement(c.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"}))},facebook:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.facebook,r)},l().createElement(c.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.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))},twitter:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.twitter,r)},l().createElement(c.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))},linkedin:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.linkedin,r)},l().createElement(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))},tumblr:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.tumblr,r)},l().createElement(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},google:e=>{let{fill:t,size:n,className:r}=e;return l().createElement(d,{fill:t,size:n,className:i()(u.Z.google,r)},l().createElement(c.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.05h-9.36z"}))}};const h=e=>{let{serviceName:t,className:n}=e;const r=m[a=t]?m[a]:null;var a;return r?l().createElement(r,{className:n}):null}},91202:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(25162),l=n.n(s),c=n(99196),u=n.n(c),p=n(65235),d=n.n(p),m=n(65736);const __=m.__;class h extends u().Component{render(){const{logoColor:e,showText:t,className:n,...r}=this.props,o=t?"0 0 118 32":"0 0 32 32";return u().createElement("svg",a()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:o,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},r),u().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),u().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&&u().createElement(c.Fragment,null,u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"})))}}i()(h,"propTypes",{className:l().string,width:l().number,height:l().number,showText:l().bool,logoColor:l().string}),i()(h,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=h},52947:function(e,t,n){"use strict";var r=n(6028);t.Z=e=>{const t=(0,r.X)();return new Intl.NumberFormat(t).format(e)}},49777:function(e,t,n){"use strict";var r=n(37562),a=n.n(r);t.Z=e=>{let{value:t="https://jetpack.com",bgColor:n,fgColor:r,level:o,includeMargin:i,imageSettings:s,renderAs:l="canvas",size:c=248}=e;return React.createElement(a(),{value:t,size:c,bgColor:n,fgColor:r,level:o,includeMargin:i,imageSettings:s,renderAs:l})}},6028:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});var r=n(69771);const a=()=>{var e,t,n,a;const{l10n:{locale:o}}=(0,r.__experimentalGetSettings)();if(o)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"})(o);return null!==(e=null===(t=window)||void 0===t||null===(n=t.window)||void 0===n||null===(a=n.navigator)||void 0===a?void 0:a.language)&&void 0!==e?e:"en-US"}},26324:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;var a;"undefined"!=typeof window&&(r=null===(a=window.Initial_State)||void 0===a?void 0:a.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const o=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+o}n.d(t,{Z:function(){return r}})},74356:function(e,t,n){"use strict";n.d(t,{LJ:function(){return c.Z},M1:function(){return u.M},dZ:function(){return a.Z},ew:function(){return r.Z},iS:function(){return i.ZP},l0:function(){return o.Z},oL:function(){return l.Z},rP:function(){return s.Z}});n(77771);var r=n(4277),a=n(49021),o=n(95788),i=n(68407),s=n(63609),l=n(37568),c=n(48751),u=n(86419)},85761:function(e,t,n){"use strict";var r=n(25162),a=n.n(r),o=n(31020);const i=e=>{const{id:t,serviceName:n,label:r,profilePicture:a}=e;return React.createElement("label",{htmlFor:t,className:"jetpack-publicize-connection-label"},React.createElement("div",{className:a?"components-connection-icon__picture":""},a&&React.createElement("img",{src:a,alt:r}),React.createElement(o.av,{serviceName:n,className:"jetpack-publicize-gutenberg-social-icon"})),React.createElement("span",{className:"jetpack-publicize-connection-label-copy"},r))};i.propTypes={id:a().string.isRequired,serviceName:a().string,label:a().string,profilePicture:a().string},t.Z=i},24479:function(e,t,n){"use strict";var r=n(65235),a=n.n(r),o=n(25162),i=n.n(o),s=n(55609),l=n(85761);const c=e=>{const{className:t,checked:n,id:r,disabled:o,onChange:i,serviceName:c,label:u,profilePicture:p}=e,d=a()("components-connection-toggle",{"is-not-checked":!n,"is-disabled":o});return React.createElement("div",{className:d},React.createElement(l.Z,{id:r,serviceName:c,label:u,profilePicture:p}),React.createElement(s.FormToggle,{id:r,className:t,checked:n,onChange:i,disabled:o}))};c.propTypes={className:i().string,checked:i().bool,id:i().string.isRequired,disabled:i().bool,onChange:i().func,serviceName:i().string,label:i().string,profilePicture:i().string},t.Z=c},49021:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(65736),i=n(55609),s=n(69307),l=n(94333),c=n(9818);const __=o.__;class u extends s.Component{constructor(){super(...arguments),a()(this,"refreshConnectionClick",(e=>{const{href:t,title:n}=e.target;e.preventDefault();const r=window.open(t,n,""),a=window.setInterval((()=>{!1!==r.closed&&(window.clearInterval(a),this.props.refreshConnections())}),500)}))}componentDidMount(){this.props.refreshConnections()}renderRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>e.can_refresh));return t.length?React.createElement(i.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},React.createElement("p",null,__("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((e=>React.createElement(i.Button,{href:e.refresh_url,isSmall:!0,key:e.id,onClick:this.refreshConnectionClick,title:e.refresh_text},e.refresh_text)))):null}renderNonRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>!e.can_refresh));return t.length?t.map((e=>React.createElement(i.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},React.createElement("p",null,e.test_message)))):null}render(){return React.createElement(s.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}t.Z=(0,l.compose)([(0,c.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections()}))),(0,c.withDispatch)((e=>({refreshConnections:e("jetpack/publicize").refreshConnectionTestResults})))])(u)},4277:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(65736),i=n(69307),s=n(55609),l=n(9818),c=n(92819),u=n(13419),p=n(24479),d=n(91853),m=n(28161);const __=o.__;class h extends i.Component{constructor(){super(...arguments),a()(this,"maybeDisplayLinkedInNotice",(()=>this.connectionNeedsReauth()&&React.createElement(s.Notice,{className:m.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(s.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,u.lQ)()}`},__("Go to Sharing settings","jetpack"))))),a()(this,"connectionNeedsReauth",(()=>(0,c.includes)(this.props.mustReauthConnections,this.props.name))),a()(this,"onConnectionChange",(()=>{const{id:e}=this.props;this.props.toggleConnection(e)}))}connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}render(){const{disabled:e,enabled:t,id:n,label:r,name:a,profilePicture:o}=this.props,i="connection-"+a+"-"+n,s=a.replace("_","-"),l=React.createElement(p.Z,{id:i,className:d.Z["connection-toggle"],checked:t,onChange:this.onConnectionChange,disabled:e||this.connectionIsFailing()||this.connectionNeedsReauth(),serviceName:s,label:r,profilePicture:o});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.Z["connection-container"]},l))}}t.Z=(0,l.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()})))(h)},95788:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(55609),a=n(69307),o=n(74356),i=n(69709),s=n(71961),l=n(37568),c=n(48751),u=n(75631);function p(e){let{isPublicizeEnabled:t,isRePublicizeFeatureEnabled:n,isPublicizeDisabledBySitePlan:p}=e;const{connections:d,toggleById:m,hasConnections:h}=(0,l.Z)(),{message:f,updateMessage:g,maxLength:b}=(0,c.Z)(),v=p?r.Disabled:a.Fragment;return React.createElement(v,null,h&&React.createElement(r.PanelRow,null,React.createElement("ul",{className:u.Z["connections-list"]},d.map((e=>{let{display_name:r,enabled:a,id:i,service_name:s,toggleable:l,profile_picture:c}=e;return React.createElement(o.ew,{disabled:n?!t:!l,enabled:a&&!p,key:i,id:i,label:r,name:s,toggleConnection:m,profilePicture:c})})))),!p&&React.createElement(a.Fragment,null,React.createElement(i.Z,null),t&&d.some((e=>e.enabled))&&React.createElement(s.Z,{disabled:!n&&d.every((e=>!e.toggleable)),maxLength:b,onChange:g,message:f})))}},71961:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(65736),a=n(55609);const __=r.__,_n=r._n;function o(e){let{message:t="",onChange:n,disabled:o,maxLength:i}=e;const s=i-t.length;return React.createElement(a.TextareaControl,{value:t,onChange:n,disabled:o,maxLength:i,placeholder:__("Write a message for your audience here.","jetpack"),rows:4,help:(0,r.sprintf)(
+/* translators: placeholder is a number. */
+_n("%d character remaining","%d characters remaining",s,"jetpack"),s)})}},69709:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(90105),o=n(13419),i=n(65736),s=n(55609),l=n(37568),c=n(78619);const __=i.__;function u(){var e,t;const{refresh:n}=(0,l.Z)(),i=(0,o.lQ)(),u=(0,r.debounce)((function(e){e&&n()}),2e3),p=null!==(e=null===(t=(0,o.Pb)())||void 0===t?void 0:t.publicizeConnectionsUrl)&&void 0!==e?e:"https://wordpress.com/marketing/connections/",d=i?`${p}${i}`:"options-general.php?page=sharing&publicize_popup=true";return React.createElement(a.Z,{onChange:u},React.createElement("div",{className:c.Z["add-connection-wrapper"]},React.createElement(s.ExternalLink,{href:d,target:"_blank"},__("Connect an account","jetpack"))))}},68407:function(e,t,n){"use strict";n.d(t,{H8:function(){return l},nE:function(){return s}});var r=n(94333),a=n(9818),o=n(92694),i=n(36797);const s={"core/gallery":{contentAttributes:["images"]},"core/heading":{contentAttributes:["content"]},"core/image":{contentAttributes:["alt","url"]},"core/list":{contentAttributes:["values"]},"core/paragraph":{contentAttributes:["content"]},"core/quote":{contentAttributes:["value","citation"]},"core/separator":{contentAttributes:[]},"core/spacer":{contentAttributes:[]},"core/verse":{contentAttributes:["content"]},"core/video":{contentAttributes:["src"]},"core/embed":{contentAttributes:["url"]},"jetpack/gif":{contentAttributes:["giphyUrl"]}},l=["core/column","core/columns","core/group"];(0,o.addFilter)("blocks.registerBlockType","jetpack/publishing-tweetstorms",(e=>{const{edit:t}=e;return{...e,edit:e=>React.createElement(i.Z,{ChildEdit:t,childProps:e})}}));t.ZP=(0,r.compose)([(0,a.withSelect)((e=>({isTweetStorm:e("jetpack/publicize").isTweetStorm(),isTyping:e("core/block-editor").isTyping()})))])((e=>{let{isTweetStorm:t,isTyping:n}=e;return t?document.body.classList.add("jetpack-tweetstorm"):document.body.classList.remove("jetpack-tweetstorm"),t&&n?document.body.classList.add("jetpack-tweetstorm-is-typing"):document.body.classList.remove("jetpack-tweetstorm-is-typing"),null}))},63609:function(e,t,n){"use strict";var r=n(65736),a=n(55609),o=n(69307),i=n(94333),s=n(9818);n(42998);const __=r.__;t.Z=(0,i.compose)([(0,s.withSelect)((e=>{const{isTweetStorm:t,getTweetStorm:n}=e("jetpack/publicize");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),isTweetStorm:t(),tweetStormLength:n().length}})),(0,s.withDispatch)((e=>({setTweetstorm:t=>{e("core/editor").editPost({meta:{jetpack_is_tweetstorm:t}}),t?e("jetpack/publicize").refreshTweets():(e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm"),e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm-line-break"))}})))])((e=>{let{connections:t,isTweetStorm:n,tweetStormLength:r,setTweetstorm:i,prePublish:s}=e;const l=(0,o.useCallback)((e=>{i("tweetstorm"===e)}),[i]);if(null==t||!t.some((e=>"twitter"===e.service_name&&e.enabled)))return null;const c=(e,t)=>React.createElement(React.Fragment,null,React.createElement("strong",null,e),React.createElement("br",null),t),u=[];return r>=102?u.push({id:"jetpack-publicize-twitter-tweetstorm-too-long",status:"error",content:__("Only the first 100 tweets of this post will be published in the Twitter thread.","jetpack"),isDismissible:!1}):r>=22?u.push({id:"jetpack-publicize-twitter-tweetstorm-a-bit-long",status:"warning",content:__("This post will create a Twitter thread more than 20 tweets long.","jetpack"),isDismissible:!1}):s&&r<=2&&u.push({id:"jetpack-publicize-twitter-tweetstorm-too-short",status:"warning",content:__("None of the content in this post could be transformed into tweets, it may be better to share as a single tweet.","jetpack"),isDismissible:!1}),React.createElement(a.PanelRow,null,React.createElement(a.RadioControl,{label:__("Twitter settings","jetpack"),selected:n?"tweetstorm":"single",options:[{label:c(__("Single Tweet","jetpack"),__("Share a link to this post to Twitter.","jetpack")),value:"single"},{label:c(__("Twitter Thread","jetpack"),__("Share the content of this post as a Twitter thread.","jetpack")),value:"tweetstorm"}],onChange:l}),n&&React.createElement(a.NoticeList,{className:"jetpack-publicize-twitter-options__notices",notices:u}))}))},36797:function(e,t,n){"use strict";var r=n(92819),a=n(31020),o=n(55609),i=n(94333),s=n(9818),l=n(69307);n(42998);class c extends l.Component{componentDidMount(){const{isTweetStorm:e,updateTweets:t}=this.props;e&&t()}componentDidUpdate(e){const{boundaries:t,childProps:n,currentAnnotations:a,isTweetStorm:o,updateAnnotations:i,updateTweets:s,supportedBlockType:l,contentAttributesChanged:c}=this.props;o&&l&&(c(e.childProps,n)&&s(),a.length===t.filter((e=>["normal","line-break"].includes(e.type))).length&&(0,r.isEqual)(e.boundaries,t)||i())}render(){const{ChildEdit:e,childProps:t,isTweetStorm:n,isSelectedTweetBoundary:r,boundaryStylesSelectors:i,popoverWarnings:s}=this.props;return n?React.createElement(React.Fragment,null,React.createElement(e,t),r&&React.createElement("div",{className:"jetpack-publicize-twitter__tweet-divider"},React.createElement("div",{className:"jetpack-publicize-twitter__tweet-divider-icon"},React.createElement(a.av,{serviceName:"twitter"})),s.length>0&&React.createElement(o.Popover,{className:"jetpack-publicize-twitter__tweet-divider-popover",focusOnMount:!1,position:"bottom center"},React.createElement("ol",null,s.map(((e,t)=>React.createElement("li",{key:`jetpack-publicize-twitter__tweet-divider-popover-warning-${t}`},e)))))),i&&React.createElement("style",{type:"text/css"},i.map((e=>`${e}::after {\n\t\t\t\t\t\t\t\tcontent: "";\n\t\t\t\t\t\t\t\tbackground: #0009;\n\t\t\t\t\t\t\t\twidth: 3px;\n\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\tmargin: 0 1px;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.is-dark-theme ${e}::after {\n\t\t\t\t\t\t\t\tbackground: #fff9;\n\t\t\t\t\t\t\t}`)))):React.createElement(e,t)}}t.Z=(0,i.compose)([(0,s.withSelect)(((e,t)=>{let{childProps:n}=t;const{isTweetStorm:r,getPopoverWarnings:a,getBoundariesForBlock:o,getBoundaryStyleSelectors:i,isSelectedTweetBoundary:s,getSupportedBlockType:l,contentAttributesChanged:c}=e("jetpack/publicize"),u=e("core/annotations").__experimentalGetAllAnnotationsForBlock(n.clientId);return{isTweetStorm:r(),isSelectedTweetBoundary:s(n),boundaries:o(n.clientId),boundaryStylesSelectors:i(n.clientId),popoverWarnings:a(n),currentAnnotations:u,supportedBlockType:l(n.name),contentAttributesChanged:c}})),(0,s.withDispatch)(((e,t,n)=>{let{childProps:r}=t,{select:a}=n;return{updateTweets:()=>e("jetpack/publicize").refreshTweets(),updateAnnotations:()=>{const{contentAttributesChanged:t,getTweetsForBlock:n}=a("jetpack/publicize"),o=n(r.clientId);if(!o||0===o.length)return;if(t(o.reduce(((e,t)=>e||t.blocks.find((e=>e.clientId===r.clientId))),!1),r))return;a("core/annotations").__experimentalGetAllAnnotationsForBlock(r.clientId).forEach((t=>{["jetpack-tweetstorm","jetpack-tweetstorm-line-break"].includes(t.source)&&e("core/annotations").__experimentalRemoveAnnotation(t.id)}));o.filter((e=>e.boundary)).map((e=>e.boundary)).forEach((t=>{const{container:n,type:a,start:o,end:i}=t;"normal"===a?e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm",richTextIdentifier:n,range:{start:o,end:i}}):"line-break"===a&&e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm-line-break",richTextIdentifier:n,range:{start:o,end:i}})}))}}}))])(c)},86419:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(94333),a=n(12238),o=n(9818),i=n(69307);function s(e,t){const n=(0,o.useSelect)((e=>e(a.store).isPublishingPost()),[]),s=(0,r.usePrevious)(n);(0,i.useEffect)((()=>{s&&!n&&e()}),[n,s,e,t])}},37568:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9818);function a(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,r.useDispatch)("jetpack/publicize"),n=(0,r.useSelect)((e=>e("jetpack/publicize").getConnections()),[]),a=n.filter((e=>!e.enabled)).map((e=>e.id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:n&&n.some((e=>e.enabled)),skippedConnections:a,toggleById:t,refresh:e}}},48751:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9818),a=n(12238);function o(){const{editPost:e}=(0,r.useDispatch)(a.store),{message:t,maxLength:n}=(0,r.useSelect)((e=>({message:e("jetpack/publicize").getShareMessage(),maxLength:e("jetpack/publicize").getShareMessageMaxLength()})),[]);return{message:t,maxLength:n,updateMessage:function(t){e({meta:{jetpack_publicize_message:t}})}}}},13530:function(e,t,n){"use strict";n.r(t),n.d(t,{fetchFromAPI:function(){return s},getTwitterCards:function(){return u},refreshConnectionTestResults:function(){return a},refreshTweets:function(){return l},setTweets:function(){return c},setTwitterCards:function(){return p},toggleConnectionById:function(){return o},togglePublicizeFeature:function(){return i}});var r=n(9818);function a(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function o(e){return{type:"TOGGLE_CONNECTION_BY_ID",connectionId:e}}function i(){return{type:"TOGGLE_PUBLICIZE_FEATURE"}}function s(e){return{type:"FETCH_FROM_API",path:e}}function l(){return{type:"REFRESH_TWEETS"}}function c(e){return{type:"SET_TWEETS",tweets:e}}function u(e){const{twitterCardIsCached:t}=(0,r.select)("jetpack/publicize");return{type:"GET_TWITTER_CARDS",urls:e.filter((e=>!t(e)))}}function p(e){return{type:"SET_TWITTER_CARDS",cards:e}}},99376:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z={FETCH_FROM_API:e=>{let{path:t}=e;return a()({path:t})}}},43785:function(e,t,n){"use strict";var r=n(92819),a=n(86989),o=n.n(a),i=n(4981),s=n(9818),l=n(12238),c=n(13419),u=n(68407);const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const{getSupportedBlockType:t}=(0,s.select)("jetpack/publicize");return(0,r.flatMap)(e,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(e.name)||e.name.startsWith("core-embed/")?e:u.H8.includes(e.name)?p(e.innerBlocks):[]}))};const d=(0,r.throttle)((async function(){const e=(0,s.select)("core/editor").getBlocks(),t=p(e);try{const e=await o()({path:"/wpcom/v2/tweetstorm/parse",data:{blocks:t.map((e=>({attributes:e.attributes,block:(0,i.serialize)(e),clientId:e.clientId})))},method:"POST"}),n=(0,r.flatMap)(e,(e=>e.urls));return(0,s.dispatch)("jetpack/publicize").getTwitterCards(n),(0,s.dispatch)("jetpack/publicize").setTweets(e)}catch(e){}}),2e3,{leading:!0,trailing:!0});t.ZP={REFRESH_CONNECTION_TEST_RESULTS:async function(){try{var e,t;const n=null!==(e=null===(t=(0,c.Pb)())||void 0===t?void 0:t.connectionRefreshPath)&&void 0!==e?e:"/wpcom/v2/publicize/connection-test-results",r=await o()({path:n}),a=(0,s.select)("jetpack/publicize").getConnections(),i=r,u=[],p={done:!1,enabled:!0,toggleable:!0};for(const e of i){const t=a.find((t=>t.id===e.id)),{done:n,enabled:r,toggleable:o}=null!=t?t:p,i={display_name:e.display_name,service_name:e.service_name,id:e.id,profile_picture:e.profile_picture,done:n,enabled:r,toggleable:o};u.push(i)}return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:u})}catch(e){}},TOGGLE_CONNECTION_BY_ID:async function(e){let{connectionId:t}=e;const n=(0,s.select)("jetpack/publicize").getConnections().map((e=>({...e,enabled:e.id===t?!e.enabled:e.enabled})));return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:n})},TOGGLE_PUBLICIZE_FEATURE:async function(){const e=(0,s.select)("jetpack/publicize").getFeatureEnableState();return(0,s.dispatch)(l.store).editPost({meta:{jetpack_publicize_feature_enabled:!e}})},REFRESH_TWEETS:d,GET_TWITTER_CARDS:async function(e){if(0===e.urls.length)return(0,s.dispatch)("jetpack/publicize").setTwitterCards([]);try{const t=await o()({path:"/wpcom/v2/tweetstorm/generate-cards",data:{urls:e.urls},method:"POST"});return(0,s.dispatch)("jetpack/publicize").setTwitterCards(t)}catch(e){}}}},77771:function(e,t,n){"use strict";var r=n(9818),a=n(13530),o=n(34074),i=n(92479),s=n(99376),l=n(82726);const c=(0,r.registerStore)("jetpack/publicize",{actions:a,controls:s.Z,reducer:l.Z,selectors:o});(0,i.Z)(c)},92479:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(24274),a=n.n(r),o=n(92819),i=n(43785);function s(e){const t=[a()(i.ZP)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},82726:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={tweets:[],twitterCards:[]};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REFRESH_CONNECTION_TEST_RESULTS":case"TOGGLE_CONNECTION_BY_ID":case"TOGGLE_PUBLICIZE_FEATURE":return e;case"SET_TWEETS":return{...e,tweets:t.tweets};case"GET_TWITTER_CARDS":{const n={};return t.urls.forEach((e=>n[e]={error:"loading"})),{...e,twitterCards:{...e.twitterCards,...n}}}case"SET_TWITTER_CARDS":return{...e,twitterCards:{...e.twitterCards,...t.cards}}}return e}},34074:function(e,t,n){"use strict";n.r(t),n.d(t,{checkForTagsInContentAttributes:function(){return j},contentAttributesChanged:function(){return T},getBoundariesForBlock:function(){return _},getBoundaryStyleSelectors:function(){return S},getConnections:function(){return N},getFailedConnections:function(){return u},getFeatureEnableState:function(){return A},getFirstTweet:function(){return h},getLastTweet:function(){return f},getMustReauthConnections:function(){return p},getPopoverWarnings:function(){return x},getShareMessage:function(){return y},getShareMessageMaxLength:function(){return E},getSupportedBlockType:function(){return g},getTweetStorm:function(){return m},getTweetTemplate:function(){return d},getTweetsForBlock:function(){return b},getTwitterCardForURLs:function(){return v},isSelectedTweetBoundary:function(){return P},isTweetStorm:function(){return w},twitterCardIsCached:function(){return k}});var r=n(92819),a=n(95386),o=n(9818),i=n(65736),s=n(12238),l=n(68407);const __=i.__,c="\n\n"+__("A thread ⬇️","jetpack");function u(){return N().filter((e=>!1===e.test_success))}function p(){return N().filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function d(e){const t=e.connections||N(),n=null==t?void 0:t.find((e=>"twitter"===e.service_name));return{date:Date.now(),name:(null==n?void 0:n.profile_display_name)||__("Account Name","jetpack"),profileImage:(null==n?void 0:n.profile_picture)||"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:(null==n?void 0:n.display_name)||""}}function m(e){const t=d(e),n=[h(e),...e.tweets.slice(0,100).map((n=>({...t,text:n.text,media:n.media,tweet:n.tweet,urls:n.urls,card:v(e,n.urls)})))];return n.length>1&&n.push(f(e)),n}function h(e){var t,n,r,a;if(!(0,o.select)("core"))return;const i=d(e),{getMedia:s}=(0,o.select)("core"),{getEditedPostAttribute:l}=(0,o.select)("core/editor"),c=l("featured_media"),u=l("link"),p=c&&s(c),m=(null==p||null===(t=p.media_details)||void 0===t||null===(n=t.sizes)||void 0===n||null===(r=n.large)||void 0===r?void 0:r.source_url)||(null==p?void 0:p.source_url);return{...i,text:y()+` ${u}`,urls:[u],card:{title:l("title"),description:(null===(a=l("meta"))||void 0===a?void 0:a.advanced_seo_description)||l("excerpt")||l("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:u,image:m,type:m?"summary_large_image":"summary"}}}function f(e){if(!(0,o.select)("core/editor"))return;const{getEditedPostAttribute:t}=(0,o.select)("core/editor"),n=t("link"),r=e.tweets.length>100?__("The rest of this thread can be read here:","jetpack"):__("This thread can be read here:","jetpack");return{...h(e),text:`${r} ${n}`}}function g(e,t){if(l.nE[t])return l.nE[t]}const b=(0,a.Z)(((e,t)=>e.tweets.filter((e=>!!e.blocks.find((e=>e.clientId===t))))),(e=>[e.tweets]));function v(e,t){if(t)return t.reduce(((t,n)=>t||(e.twitterCards[n]&&!e.twitterCards[n].error?{url:n,...e.twitterCards[n]}:void 0)),void 0)}function k(e,t){return!!e.twitterCards[t]}function y(){const{getEditedPostAttribute:e}=(0,o.select)("core/editor"),t=e("meta"),n=e("title"),a=(0,r.get)(t,["jetpack_publicize_message"],"");return a?a.substr(0,E()):w()&&n?n.substr(0,E())+c:""}function E(){return w()?255-c.length:255}function w(){var e;return!(null===(e=(0,o.select)("core/editor").getEditedPostAttribute("meta"))||void 0===e||!e.jetpack_is_tweetstorm)}const _=(0,a.Z)(((e,t)=>{if(!w())return[];const n=b(e,t);return n&&0!==n.length?n.filter((e=>e.boundary)).map((e=>e.boundary)):[]}),(e=>[e.tweets]));function C(e,t){if(`block-${t}`===e.id)return`#block-${t}`;const n=e.parentNode,r=Array.prototype.indexOf.call(n.children,e);return C(n,t)+` > :nth-child( ${r+1} )`}const S=(0,a.Z)(((e,t)=>{const n=_(e,t),r=document.getElementById(`block-${t}`);return n.filter((e=>"end-of-line"===e.type)).map((e=>{if(!r)return!1;const n=r.getElementsByTagName("li").item(e.line);return!!n&&C(n,t)})).filter((e=>!!e))}),(e=>[e.tweets]));function j(e,t,n){var r;if(0===n.length)return!1;if(null===(r=g(0,t.name))||void 0===r||!r.contentAttributes)return!1;const a=new RegExp(`<(${n.join("|")})( |>|/>)`,"gi");return g(0,t.name).contentAttributes.reduce(((e,n)=>!!e||a.test(t.attributes[n])),!1)}const x=(0,a.Z)(((e,t)=>{const{isTyping:n,isDraggingBlocks:r,isMultiSelecting:a,hasMultiSelection:i,isCaretWithinFormattedText:s}=(0,o.select)("core/block-editor");if(!w())return[];if(n()||r()||a()||i()||s())return[];const c=[];return g(0,t.name)||l.H8[t.name]?("core/gallery"===t.name&&t.attributes.images.length>4&&c.push(__("Twitter displays the first four images.","jetpack")),j(0,t,["strong","bold","em","i","sup","sub","span","s"])&&c.push(__("Twitter removes all text formatting.","jetpack")),j(0,t,["a"])&&c.push(__("Links will be posted seperately.","jetpack"))):c.push(__("This block is not exportable to Twitter","jetpack")),c}),(e=>[e.tweets]));function P(e,t){const{isBlockSelected:n}=(0,o.select)("core/block-editor");if(!w())return!1;const r=g(0,t.name),a=b(e,t.clientId);if(!a||0===a.length)return!1;const i=a[a.length-1];return n(t.clientId)&&!r||i.blocks[i.blocks.length-1].clientId===t.clientId&&a.some((e=>e.blocks.some((e=>n(e.clientId)))))}function T(e,t,n){const a=g(0,n.name);if(!a)return!1;const o=a.contentAttributes;return!(0,r.isEqual)(o.map((e=>({attribute:e,content:t.attributes[e]}))),o.map((e=>({attribute:e,content:n.attributes[e]}))))}function N(){return(0,o.select)(s.store).getEditedPostAttribute("jetpack_publicize_connections")||[]}function A(){const{getEditedPostAttribute:e}=(0,o.select)(s.store),t=e("meta");return(0,r.get)(t,["jetpack_publicize_feature_enabled"],!0)}},13419:function(e,t,n){"use strict";n.d(t,{FK:function(){return c.FK},HD:function(){return c.HD},M6:function(){return o.M6},OZ:function(){return i.Z},Pb:function(){return r.Z},Qq:function(){return c.Qq},Rl:function(){return c.Rl},T:function(){return l.Z},Ug:function(){return o.Ug},Wp:function(){return o.Wp},X1:function(){return c.X1},_D:function(){return c._D},aQ:function(){return o.aQ},lQ:function(){return a.Z},m3:function(){return c.m3},o_:function(){return s.Z}});var r=n(50148),a=n(35004),o=n(99505),i=n(48052),s=n(76714),l=n(80354),c=n(75404)},50148:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(){var e,t;return"object"==typeof window&&null!==(e=null===(t=window)||void 0===t?void 0:t.Jetpack_Editor_Initial_State)&&void 0!==e?e:null}},48052:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(50148);function a(e){var t,n,a,o,i,s,l,c,u;const p=(0,r.Z)(),d=null!==(t=null==p||null===(n=p.available_blocks)||void 0===n||null===(a=n[e])||void 0===a?void 0:a.available)&&void 0!==t&&t,m=null!==(o=null==p||null===(i=p.available_blocks)||void 0===i||null===(s=i[e])||void 0===s?void 0:s.unavailable_reason)&&void 0!==o?o:"unknown",h=null!==(l=null==p||null===(c=p.available_blocks)||void 0===c||null===(u=c[e])||void 0===u?void 0:u.details)&&void 0!==l?l:[];return{available:d,...!d&&{details:h,unavailableReason:m}}}},35004:function(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,{Z:function(){return r}})},75404:function(e,t,n){"use strict";n.d(t,{FK:function(){return f},HD:function(){return g},Qq:function(){return u},Rl:function(){return m},X1:function(){return p},_D:function(){return d},m3:function(){return b}});var r=n(92819),a=n(96483),o=n(65736),i=n(99505),s=n(50148),l=n(48052),c=n(35004);const __=o.__;function u(e){let{planSlug:t,plan:n,postId:o,postType:s}=e;const l=(0,r.startsWith)(t,"jetpack_")?t:(0,r.get)(n,["path_slug"]),u=(void 0===s?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/admin.php`,{page:"gutenberg-edit-site",postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(s)?"":"edit";return(0,i.Wp)()?(0,a.addQueryArgs)("/"+(0,r.compact)([e,s,(0,c.Z)(),o]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:o,plan_upgraded:1})})();return(0,i.Ug)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,c.Z)()}`,{redirect_to:u,customerType:"business"}):l&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,c.Z)()}/${l}`,{redirect_to:u})}function p(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:r}=(0,l.Z)(t);return!n&&"missing_plan"===r}function d(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,l.Z)(t);return d(r,n)}const h=[{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 f(){return(0,r.get)((0,s.Z)(),"jetpack.enable_upgrade_nudge",!1)}const g=e=>(0,r.map)(h,"name").includes(e),b=e=>(0,r.head)((0,r.filter)(h,(t=>{let{name:n}=t;return n===e})))},76714:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98817),a=n(48052);function o(e,t){const{available:n,unavailableReason:o}=(0,a.Z)(e);return!!n&&(0,r.registerPlugin)(`jetpack-${e}`,t)}},99505:function(e,t,n){"use strict";n.d(t,{M6:function(){return s},Ug:function(){return i},Wp:function(){return o},aQ:function(){return l}});var r=n(50148);function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function i(){return"atomic"===a()}function s(){var e,t;const n=(0,r.Z)();return null!==(e=null==n||null===(t=n.jetpack)||void 0===t?void 0:t.is_private_site)&&void 0!==e&&e}function l(){var e,t;const n=(0,r.Z)();return null!==(e=null==n||null===(t=n.jetpack)||void 0===t?void 0:t.is_coming_soon)&&void 0!==e&&e}},80354:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(94333);t.Z=e=>(0,o.createHigherOrderComponent)((t=>n=>React.createElement(t,a()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},35182:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},84069:function(e,t,n){"use strict";var r=n(35182),a=n(6975);a.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),a.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=a.Z},50756:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(55609),u=n(92819);const __=l.__,p="09:00",d="17:00";class m extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,{opening:r,closing:a}=e;return(0,o.createElement)(o.Fragment,{key:t},(0,o.createElement)("div",{className:"business-hours__row"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.TextControl,{type:"time",label:__("Opening","jetpack"),value:r,className:"business-hours__open",placeholder:p,onChange:e=>{this.setHour(e,"opening",t)}}),(0,o.createElement)(c.TextControl,{type:"time",label:__("Closing","jetpack"),value:a,className:"business-hours__close",placeholder:d,onChange:e=>{this.setHour(e,"closing",t)}})),(0,o.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,o.createElement)(c.Button,{isSmall:!0,variant:"link",icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,o.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,o.createElement)("div",{className:s()(n.name,"business-hours__day")}," "),(0,o.createElement)("div",{className:s()(n.name,"business-hours__hours")},(0,o.createElement)(c.Button,{variant:"link",label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,o.createElement)("div",{className:"business-hours__remove"}," ")))})),a()(this,"setHour",((e,t,n)=>{const{day:r,attributes:a,setAttributes:o}=this.props,{days:i}=a;o({days:i.map((a=>a.name===r.name?{...a,hours:a.hours.map(((r,a)=>a===n?{...r,[t]:e}:r))}:a))})})),a()(this,"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:p,closing:d}]:[];return{...n,hours:t}}return n}))})})),a()(this,"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))})})),a()(this,"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,u.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,o.createElement)(c.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,o.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,o.createElement)("div",{className:s()(e.name,"business-hours__day")},this.renderDayToggle()),(0,o.createElement)("div",{className:s()(e.name,"closed","business-hours__hours")}," "),(0,o.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}t.Z=m},80190:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(69771),l=n(92819);const _x=i._x;class c extends o.Component{constructor(){super(...arguments),a()(this,"renderInterval",((e,t)=>{const{day:n}=this.props,r=n.hours;return(0,o.createElement)("span",{key:t},(0,i.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),r.length>1+t&&(0,o.createElement)("span",null,", "))}))}formatTime(e){const{timeFormat:t}=this.props,[n,r]=e.split(":"),a=new Date;return!(!n||!r)&&(a.setHours(n),a.setMinutes(r),(0,s.date)(t,a))}render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,o.createElement)("div",{className:"jetpack-business-hours__item"},(0,o.createElement)("dt",{className:e.name},t.days[e.name]),(0,o.createElement)("dd",null,(0,l.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,o.createElement)("br",null)))}}t.Z=c},86162:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(65235),p=n.n(u),d=n(65736),m=n(69771),h=n(55609),f=n(50756),g=n(80190),b=n(96405);const __=d.__,v={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0};class k extends s.Component{constructor(){super(...arguments),i()(this,"state",{localization:v,hasFetched:!1})}componentDidMount(){this.apiFetch()}apiFetch(){this.setState({data:v},(()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{this.setState({localization:e,hasFetched:!0})}),(()=>{this.setState({localization:v,hasFetched:!0})}))}))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{days:r}=e,{localization:o,hasFetched:i}=this.state,{startOfWeek:l}=o,c=r.concat(r.slice(0,l)).slice(l);if(!i)return(0,s.createElement)(h.Placeholder,{icon:b.qv,label:__("Loading business hours","jetpack")});if(!n){const e=(0,m.__experimentalGetSettings)(),{formats:{time:n}}=e;return(0,s.createElement)("dl",{className:p()(t,"jetpack-business-hours")},c.map(((e,t)=>(0,s.createElement)(g.Z,{key:t,day:e,localization:o,timeFormat:n}))))}return(0,s.createElement)("div",{className:p()(t,"is-edit")},c.map(((e,t)=>(0,s.createElement)(f.Z,a()({key:t,day:e,localization:o},this.props)))))}}t.Z=k},96405:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},qv:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(86162),s=n(36598),l=n(70355);const __=a.__,_x=a._x,c=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],u="business-hours",p=(0,s.Z)((0,r.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),d={title:__("Business Hours","jetpack"),description:__("Display opening hours for your business.","jetpack"),icon:{src:p,foreground:(0,l.m)()},category:"grow",supports:{html:!0,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0},align:["wide","full"]},keywords:[_x("opening hours","block search term","jetpack"),_x("closing time","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("working day","block search term","jetpack")],attributes:{days:{type:"array",default:c}},edit:e=>(0,r.createElement)(i.Z,e),save:()=>null,example:{attributes:{days:c}}}},98625:function(e,t,n){"use strict";var r=n(92819),a=n(55609);const o=(0,a.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:a}=t,o=(0,r.get)(n,"color"),i=!(0,r.get)(a,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:a||!i?void 0:getComputedStyle(i).color}}));t.Z=o},70424:function(e,t,n){"use strict";var r=n(24381);t.Z={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.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:r.Z},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},43043:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(90446);const __=o.__;function s(e){let{borderRadius:t="",setAttributes:n}=e;const o=(0,r.useCallback)((e=>n({borderRadius:e})),[n]);return(0,r.createElement)(a.PanelBody,{title:__("Border Settings","jetpack")},(0,r.createElement)(a.RangeControl,{allowReset:!0,initialPosition:i.pg,label:__("Border radius","jetpack"),max:i.Gp,min:i.G0,onChange:o,value:t}))}},36953:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(65736);const __=o.__;function i(e){let{isGradientAvailable:t,backgroundColor:n,fallbackBackgroundColor:o,fallbackTextColor:i,gradientValue:s,setBackgroundColor:l,setGradient:c,setTextColor:u,textColor:p}=e;const d=(0,r.createElement)(a.ContrastChecker,{backgroundColor:n.color,fallbackBackgroundColor:o,fallbackTextColor:i,isLargeText:!1,textColor:p.color});return t?(0,r.createElement)(a.__experimentalPanelColorGradientSettings,{settings:[{colorValue:p.color,label:__("Text Color","jetpack"),onColorChange:u},{colorValue:n.color,gradientValue:s,label:__("Background","jetpack"),onColorChange:l,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,r.createElement)(a.PanelColorSettings,{colorSettings:[{value:p.color,onChange:u,label:__("Text Color","jetpack")},{value:n.color,onChange:l,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},91947:function(e,t,n){"use strict";n.d(t,{Z:function(){return p},h:function(){return d}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=[{value:"px",label:"px",default:150},{value:"%",label:"%",default:100},{value:"em",label:"em",default:10}],c=[{value:"px",label:"px",default:150},{value:"em",label:"em",default:10}],u=["25%","50%","75%","100%"];function p(e){return(0,r.createElement)(i.PanelBody,{title:__("Width settings","jetpack")},(0,r.createElement)(d,e))}function d(e){let{align:t,width:n,onChange:a}=e;const[s,p]=(0,r.useState)(null);(0,r.useEffect)((()=>{void 0===n&&p("px")}),[n]);const d="left"===t||"right"===t;return(0,r.createElement)(i.BaseControl,{label:__("Button width","jetpack")},(0,r.createElement)("div",{className:o()("jetpack-button__width-settings",{"is-aligned":d})},!d&&(0,r.createElement)(i.ButtonGroup,{"aria-label":__("Percentage Width","jetpack")},u.map((e=>(0,r.createElement)(i.Button,{key:e,isSmall:!0,variant:e===n?"primary":void 0,onClick:()=>function(e){const t=n===e?void 0:e;p("%"),a(t)}(e)},e)))),(0,r.createElement)(i.__experimentalUnitControl,{className:"jetpack-button__custom-width",isResetValueOnUnitChange:!0,max:"%"===s||null!=n&&n.includes("%")?100:void 0,min:0,onChange:e=>a(e),onUnitChange:e=>p(e),size:"small",units:d?c:l,value:n,unit:s})))}},90446:function(e,t,n){"use strict";n.d(t,{DA:function(){return a},G0:function(){return s},Gp:function(){return i},pg:function(){return o}});var r=n(52175);const a=!!r.__experimentalUseGradient,o=5,i=50,s=0},29343:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(43043),o=n(36953),i=n(91947);function s(e){let{attributes:t,backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,setAttributes:c,setBackgroundColor:u,setTextColor:p,textColor:d,gradientValue:m,setGradient:h,isGradientAvailable:f}=e;const{align:g,borderRadius:b,width:v}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{backgroundColor:n,fallbackBackgroundColor:s,fallbackTextColor:l,gradientValue:m,setBackgroundColor:u,setGradient:h,setTextColor:p,textColor:d,isGradientAvailable:f}),(0,r.createElement)(a.Z,{borderRadius:b,setAttributes:c}),(0,r.createElement)(i.Z,{align:g,width:v,onChange:e=>c({width:e})}))}},5501:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(52175),c=n(94333),u=n(65736),p=n(98625),d=n(29343),m=n(90446),h=n(16969);const __=u.__;t.Z=(0,c.compose)((0,l.withColors)({backgroundColor:"background-color"},{textColor:"color"}),p.Z)((function(e){const{attributes:t,backgroundColor:n,className:r,clientId:i,setAttributes:c,textColor:u}=e,{align:p,borderRadius:f,element:g,placeholder:b,text:v,width:k}=t,y=(e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current})(p);(0,h.Z)({attributes:t,clientId:i,setAttributes:c}),(0,o.useEffect)((()=>{y!==p&&("left"===p||"right"===p)&&null!=k&&k.includes("%")&&c({width:void 0})}),[p,y,c,k]);const{gradientClass:E,gradientValue:w,setGradient:_}=m.DA?(0,l.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},C=s()("wp-block-button",r),S=s()("wp-block-button__link",{"has-background":n.color||w,[n.class]:!w&&n.class,"has-text-color":u.color,[u.class]:u.class,[E]:E,"no-border-radius":0===f,"has-custom-width":!!k}),j={...!n.color&&w?{background:w}:{backgroundColor:n.color},color:u.color,borderRadius:f?f+"px":void 0,width:k};return(0,o.createElement)("div",{className:C},(0,o.createElement)(l.RichText,{allowedFormats:"input"===g?[]:void 0,className:S,disableLineBreaks:"input"===g,onChange:e=>c({text:e}),placeholder:b||__("Add text…","jetpack"),style:j,value:v,withoutInteractiveFormatting:!0}),(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(d.Z,a()({gradientValue:w,setGradient:_,isGradientAvailable:m.DA},e))))}))},26361:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(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"}))},77123:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(65736),a=n(70424),o=n(5501),i=n(26361),s=n(29586),l=n(5820);const __=r.__,c="button",u={title:__("Button","jetpack"),icon:i.Z,category:(0,l.Z)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"]},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:a.Z,edit:o.Z,save:s.Z}},29586:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(90446);function l(e){let{attributes:t,blockName:n,uniqueId:a}=e;const{backgroundColor:l,borderRadius:c,className:u,customBackgroundColor:p,customGradient:d,customTextColor:m,gradient:h,saveInPostContent:f,text:g,textColor:b,url:v,width:k}=t;if(!f)return null;const y=(0,i.getColorClassName)("background-color",l),E=s.DA?(0,i.__experimentalGetGradientClass)(h):void 0,w=(0,i.getColorClassName)("color",b),_=o()("wp-block-button","jetpack-submit-button",u,{[`wp-block-jetpack-${n}`]:n}),C=o()("wp-block-button__link",{"has-text-color":b||m,[w]:w,"has-background":l||h||p||d,[y]:y,[E]:E,"no-border-radius":0===c,"has-custom-width":!!k}),S={background:d||void 0,backgroundColor:y||d||h?void 0:p,color:w?void 0:m,borderRadius:c?c+"px":void 0,width:k};return(0,r.createElement)("div",{className:_},(0,r.createElement)(i.RichText.Content,{className:C,"data-id-attr":a||"placeholder",href:v,id:a,rel:"noopener noreferrer",role:"button",style:S,tagName:"a",target:"_blank",value:g}))}},16969:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(9818),o=n(69307);function i(e){let{attributes:t,clientId:n,setAttributes:i}=e;const{passthroughAttributes:s}=t,{attributesToSync:l}=(0,a.useSelect)((e=>{const{getBlockAttributes:a,getBlockRootClientId:o}=e("core/block-editor"),i=a(o(n))||{},l=(0,r.mapValues)(s,(e=>i[e]));return{attributesToSync:(0,r.pickBy)(l,((e,n)=>e!==t[n]))}}));(0,o.useEffect)((()=>{(0,r.isEmpty)(l)||i(l)}),[l,i])}},81340:function(e,t,n){"use strict";var r=n(24381);t.Z={backgroundColor:{type:"string",default:"ffffff",validator:r.Z},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:r.Z},textColor:{type:"string",default:"4D5055",validator:r.Z},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")}}},60153:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(57538);const __=i.__,_x=i._x,l=e=>{let{onEditClick:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{onClick:()=>t(!0)},__("Edit","jetpack")))},c=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:a,embedCode:i,parseEmbedCode:s,setAttributes:l,setEmbedCode:c}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:s,className:`${a}-embed-form-sidebar`},(0,r.createElement)("input",{type:"text",id:"embedCode",onChange:e=>c(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})})),n&&(0,r.createElement)(o.Notice,{className:`${a}-color-notice`,isDismissible:!1},(0,r.createElement)(o.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},__("Follow these instructions to change the colors in this block.","jetpack"))))};t.ZP=e=>{const{attributes:t,clientId:n,isEditingUrl:o,setAttributes:i,setIsEditingUrl:u}=e,{style:p,url:d}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,r.createElement)(r.Fragment,null,d&&!o&&(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(l,{onEditClick:u})),d&&(0,r.createElement)(s.Z,{clientId:n,styleOptions:m,onSelectStyle:i,activeStyle:p,attributes:t,viewportWidth:500}),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(c,e)))}},83830:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(24381);const __=o.__;t.Z={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:i.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:i.Z},textColor:{type:"string",default:"4D5055",validator:i.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:i.Z},customTextButtonColor:{type:"string",validator:i.Z}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:r,submitButtonClasses:o,backgroundButtonColor:i,textButtonColor:s,customBackgroundButtonColor:l,customTextButtonColor:c,...u}=e,p={text:(d=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:d.submitButtonTextColor||d.textButtonColor,customTextColor:d.customTextButtonColor,backgroundColor:d.submitButtonBackgroundColor||d.backgroundButtonColor,customBackgroundColor:d.customBackgroundButtonColor,url:d.url};var d;return[u,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...p})]]},save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)}}},29415:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(92819),s=n(40230),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(9818),m=n(70176),h=n(81340),f=n(4554),g=n(4867),b=n(50785),v=n(23621),k=n(60153);const __=u.__,_x=u._x;t.Z=(0,c.withNotices)((function(e){const{attributes:t,className:n,clientId:r,name:u,noticeOperations:y,noticeUI:E,setAttributes:w}=e,_=(0,p.getBlockDefaultClassName)(u),C=(0,f.S)(h.Z,t);(0,i.isEqual)(C,t)||w(C);const{backgroundColor:S,hideEventTypeDetails:j,primaryColor:x,textColor:P,style:T,url:N}=C,[A,M]=(0,o.useState)(N),[I,R]=(0,o.useState)(!1),[L,B]=(0,o.useState)(!1),[Z,D]=(0,o.useState)({}),F=()=>{y.removeAllNotices(),y.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,o.useEffect)((()=>{N&&b.lR!==N&&"link"!==T&&(0,v.Z)(N,B).catch((()=>{w({url:void 0}),F()}))}),[]);const O=e=>{if(!e)return void F();e.preventDefault();const t=(0,g.CC)(A);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,d.select)("core/editor").getBlocksByClientId(r);e.length&&e[0].innerBlocks.forEach((e=>{(0,d.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),D(t.buttonAttributes)}(0,v.Z)(t.url,B).then((()=>{const e=(0,f.S)(h.Z,t);w(e),R(!1),y.removeAllNotices()})).catch((()=>{w({url:void 0}),F()}))}else F()},z=(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(c.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack"))),U=(0,o.createElement)(c.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:m.Z,notices:E},(0,o.createElement)("form",{onSubmit:O},(0,o.createElement)("input",{type:"text",id:"embedCode",onChange:e=>M(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:A||"",className:"components-placeholder__input"}),(0,o.createElement)("div",null,(0,o.createElement)(c.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,o.createElement)("div",{className:`${_}-learn-more`},(0,o.createElement)(c.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),$=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:`${_}-overlay`}),(0,o.createElement)("iframe",{src:(()=>{const e=s.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:j?1:0,background_color:S,primary_color:x,text_color:P});return`${N}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),V=(0,o.createElement)(l.InnerBlocks,{template:[[b.Ss.name,{...b.Ss.attributes,...Z,passthroughAttributes:{url:"url"}}]],templateLock:"all"});if(L)return z;let G=n;return N&&!I&&(G+=` calendly-style-${T}`),(0,o.createElement)("div",{className:G},(0,o.createElement)(k.ZP,a()({},e,{defaultClassName:_,embedCode:A,isEditingUrl:I,parseEmbedCode:O,setEmbedCode:M,setIsEditingUrl:R})),N&&!I?"inline"===T?$:V:U)}))},70176:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19,1h-2.3v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H8.6v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H4C1.8,1,0,2.8,0,5 v15c0,2.2,1.8,4,4,4h15c2.2,0,4-1.8,4-4V5C23,2.8,21.2,1,19,1z M21,20c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V5c0-1.1,0.9-2,2-2h2.6 v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3h6.1v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3H19c1.1,0,2,0.9,2,2V20z M13.9,14.8l1.4,1.4 c-0.9,0.9-2.1,1.3-3.5,1.3c-2.4,0-4.5-2.1-4.5-4.7s2.1-4.7,4.5-4.7c1.4,0,2.5,0.4,3.4,1.1L14,10.9c-0.5-0.4-1.2-0.6-2.1-0.6 c-1.2,0-2.5,1.1-2.5,2.7c0,1.6,1.3,2.7,2.5,2.7C12.7,15.5,13.4,15.3,13.9,14.8z"}))},50785:function(e,t,n){"use strict";n.d(t,{Ss:function(){return m},Xd:function(){return f},lR:function(){return d},u2:function(){return h}});var r=n(65736),a=n(4981),o=n(81340),i=n(83830),s=n(29415),l=n(70176),c=n(15816),u=n(4867),p=n(70355);const __=r.__,_x=r._x,d="https://calendly.com/wpcom/jetpack-block-example",m={name:"jetpack/button",attributes:{element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:d}},h="calendly",f={title:__("Calendly","jetpack"),description:__("Embed a calendar for customers to schedule appointments","jetpack"),icon:{src:l.Z,foreground:(0,p.m)()},category:"grow",keywords:[_x("calendar","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack"),_x("events","block search term","jetpack"),_x("dates","block search term","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:s.Z,save:c.Z,attributes:o.Z,example:{attributes:{hideEventTypeDetails:!1,style:"inline",url:d},innerBlocks:[m]},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&u.mL.test(e.textContent),transform:e=>{const t=(0,u.CC)(e.textContent);return(0,a.createBlock)("jetpack/calendly",t)}}]},deprecated:[i.Z]}},15816:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null))}},4867:function(e,t,n){"use strict";n.d(t,{CC:function(){return a},mL:function(){return r}});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"),o=r.get("primary_color"),i=r.get("text_color"),s=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(s)&&(t.backgroundColor=a),o&&o.match(s)&&(t.primaryColor=o),i&&i.match(s)&&(t.textColor=i),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}},99837:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Message Sent","jetpack")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0}}},39549:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "<error />".',"jetpack"),{error:(0,r.createElement)("span",null,t)}))}},57586:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(39549);const __=s.__,c=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:s,crmData:c,setCRMData:u}=e;const p=((e,t,n,r)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},n);t.jp_form_ext_enabled=!0,r(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(n,s,c,u);return t?(0,r.createElement)(i.Spinner,null):a?(0,r.createElement)(l.Z,{error:a}):(0,r.createElement)(i.Button,{variant:"secondary",onClick:p},__("Enable Jetpack Forms Extension","jetpack"))},u=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack")),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack"));t.Z=e=>{let{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s}=e;return i.can_activate_extension?(0,r.createElement)("div",null,(0,r.createElement)(p,null),(0,r.createElement)("br",null),(0,r.createElement)(c,{isActivatingExt:t,setIsActivatingExt:n,extActivationError:a,setExtActivationError:o,crmData:i,setCRMData:s})):(0,r.createElement)(u,null)}},87459:function(e,t,n){"use strict";var r=n(69307),a=n(55589),o=n.n(a),i=n(55609),s=n(65736),l=n(57586),c=n(45092);const __=s.__,u=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),p=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack")),d=()=>(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack")),m=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(i.Button,{variant:"secondary",icon:(0,r.createElement)(i.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},h=e=>{let{installAndActivateCRMPlugin:t,isInstalling:n}=e,a=(0,r.createElement)(i.Button,{variant:"secondary",onClick:t},__("Install Jetpack CRM","jetpack"));return n&&(a=(0,r.createElement)(m,null)),(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack"),(0,r.createElement)("br",null),a))},f=e=>{let{activateCRMPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},(0,r.createElement)("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(m,{isActivating:!0}),!n&&(0,r.createElement)(i.Button,{variant:"secondary",onClick:t},__("Activate the Jetpack CRM plugin","jetpack")))},g=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:s}=e;const[c,u]=(0,r.useState)(!1),[p,d]=(0,r.useState)(!1);return t.jp_form_ext_enabled?o().satisfies(o().coerce(t.crm_version),"3.0.19 - 4.0.0")?(0,r.createElement)("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack")):(0,r.createElement)(i.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack"),checked:a,onChange:e=>s({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack")}):(0,r.createElement)(l.Z,{isActivatingExt:c,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:n})};t.Z=e=>{let{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i,onCRMPluginClick:s,isInstalling:l}=e;const m=o().coerce(t.crm_version);if(t.crm_installed&&!m)return(0,r.createElement)(p,null);if(t.crm_installed&&o().lt(m,"4.9.1"))return(0,r.createElement)(d,null);let b=u.NOT_INSTALLED;return t.crm_active?b=u.ACTIVE:t.crm_installed&&(b=u.INSTALLED),(0,r.createElement)("div",{"aria-live":"polite"},u.ACTIVE===b&&(0,r.createElement)(g,{crmData:t,setCRMData:n,jetpackCRM:a,setAttributes:i}),u.INSTALLED===b&&(0,r.createElement)(f,{activateCRMPlugin:()=>s(c.bu,"zero-bs-crm/ZeroBSCRM"),isInstalling:l}),u.NOT_INSTALLED===b&&(0,r.createElement)(h,{installAndActivateCRMPlugin:()=>s(c.yX,"zero-bs-crm"),isInstalling:l}))}},38101:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(87459);const __=s.__,c=(e,t,n)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((n=>{if(n.error)throw n.message;e(!1),t(n)})).catch((()=>e(!0))).finally((()=>n(!1)))},u=e=>{let{isFetchingCRMData:t,hasCRMDataError:n,crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c,onCRMPluginClick:u,isInstalling:p}=e;return t?(0,r.createElement)(i.Spinner,null):n?null:(0,r.createElement)(l.Z,{crmData:a,setCRMData:o,jetpackCRM:s,setAttributes:c,onCRMPluginClick:u,isInstalling:p})};t.Z=e=>{let{jetpackCRM:t,setAttributes:n}=e;const[a,o]=(0,r.useState)(!0),[s,l]=(0,r.useState)(!1),[p,d]=(0,r.useState)(),[m,h]=(0,r.useState)(!1),f=(0,r.useCallback)(((e,t)=>{h(!0),e(t).catch((()=>{l(!0)})).finally((()=>{h(!1),o(!0),c(l,d,o)}))}),[h,l,o]);return(0,r.useEffect)((()=>{c(l,d,o)}),[]),(0,r.createElement)(i.PanelBody,{title:__("CRM Integration","jetpack"),initialOpen:!1},(0,r.createElement)(i.BaseControl,null,(0,r.createElement)(u,{isFetchingCRMData:a,hasCRMDataError:s,crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:n,isInstalling:m,onCRMPluginClick:f})))}},55740:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(15642),c=n(26588);const __=a.__;t.Z=(0,s.withInstanceId)((function(e){const{id:t,instanceId:n,required:a,label:s,setAttributes:u,width:p,defaultValue:d}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-checkbox-${n}`,className:"jetpack-field jetpack-field-checkbox",label:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:d}),(0,r.createElement)(l.Z,{required:a,label:s,setAttributes:u}),(0,r.createElement)(c.Z,{id:t,required:a,width:p,setAttributes:u}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Checkbox Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Checked by default","jetpack"),checked:d,onChange:e=>u({defaultValue:e?"true":""})}))))})}))},82150:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(94333),l=n(15642),c=n(50686),u=n(98677);const __=a.__;t.Z=(0,s.withInstanceId)((e=>{var t;let{id:n,instanceId:s,width:p,consentType:d,implicitConsentMessage:m,explicitConsentMessage:h,setAttributes:f}=e;return(0,r.createElement)(o.BaseControl,{id:`jetpack-field-consent-${s}`,className:"jetpack-field jetpack-field-consent",label:(0,r.createElement)(r.Fragment,null,"explicit"===d&&(0,r.createElement)("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),(0,r.createElement)(l.Z,{required:!1,label:null!==(t={implicit:m,explicit:h}[d])&&void 0!==t?t:"",setAttributes:f,labelFieldName:`${d}ConsentMessage`,placeholder:(0,a.sprintf)(
/* translators: placeholder is a type of consent: implicit or explicit */
-__("Add %s consent message…","jetpack"),d)}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(c.Z,{setAttributes:f,width:p}))),(0,r.createElement)(i.InspectorAdvancedControls,null,(0,r.createElement)(u.Z,{setAttributes:f,id:n})),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Consent Settings","jetpack")},(0,r.createElement)(o.BaseControl,null,(0,r.createElement)(o.SelectControl,{label:__("Permission to email","jetpack"),value:d,options:[{label:__("Mention that you can email","jetpack"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack"),value:"explicit"}],onChange:e=>f({consentType:e})})))))})}))},8523:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(41632),l=n(84803),c=n(10745);const __=a.__;t.Z=e=>{let{setAttributes:t,width:n,id:a,required:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(i.ToolbarGroup,null,(0,r.createElement)(i.ToolbarButton,{title:__("Required","jetpack"),icon:(0,s.Z)((0,r.createElement)(i.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{t({required:!u})},className:u?"is-pressed":void 0}))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Field is required","jetpack"),className:"jetpack-field-label__required",checked:u,onChange:e=>t({required:e}),help:__("Does this field have to be completed for the form to be submitted?","jetpack")}),(0,r.createElement)(l.Z,{setAttributes:t,width:n}))),(0,r.createElement)(o.InspectorAdvancedControls,null,(0,r.createElement)(c.Z,{setAttributes:t,id:a})))}},10745:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,id:n}=e;return(0,r.createElement)(o.TextControl,{label:__("Unique CSS ID","jetpack"),value:n,onChange:e=>t({id:e}),help:__("A unique ID that can be used in CSS or as an anchor.","jetpack")})}},80500:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175);const __=a.__;t.Z=e=>{let{setAttributes:t,label:n,labelFieldName:a,placeholder:i,resetFocus:s,required:l}=e;return(0,r.createElement)("div",{className:"jetpack-field-label"},(0,r.createElement)(o.RichText,{tagName:"label",value:n,className:"jetpack-field-label__input",onChange:e=>{s&&s(),t(a?{[a]:e}:{label:e})},placeholder:null!=i?i:__("Add label…","jetpack"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),l&&(0,r.createElement)("span",{className:"required"},__("(required)","jetpack")))}},56764:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(80500),l=n(29110),c=n(8523);const __=a.__;t.Z=(0,i.withInstanceId)((function(e){const{id:t,type:n,instanceId:a,required:i,label:u,setAttributes:p,isSelected:d,width:m,options:h}=e,[f,g]=(0,r.useState)(null),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=h.slice(0);null===t?(n.splice(e,1),e>0&&g(e-1)):(n.splice(e,1,t),g(e)),p({options:n})},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=h.slice(0);let n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),g(n),p({options:t})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{id:`jetpack-field-multiple-${a}`,className:"jetpack-field jetpack-field-multiple",label:(0,r.createElement)(s.Z,{required:i,label:u,setAttributes:p,isSelected:d,resetFocus:()=>g(null)})},(0,r.createElement)("ol",{className:"jetpack-field-multiple__list",id:`jetpack-field-multiple-${a}`},h.map(((e,t)=>(0,r.createElement)(l.Z,{type:n,key:t,option:e,index:t,onChangeOption:b,onAddOption:v,isInFocus:t===f&&d,isSelected:d})))),d&&(0,r.createElement)(o.Button,{className:"jetpack-field-multiple__add-option",icon:"insert",label:__("Insert option","jetpack"),onClick:v},__("Add option","jetpack"))),(0,r.createElement)(c.Z,{id:t,required:i,setAttributes:p,width:m}))}))},7640:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(80500),s=n(8523);const __=a.__;function l(e){const{id:t,required:n,label:a,setAttributes:l,placeholder:c,width:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"jetpack-field"},(0,r.createElement)(i.Z,{required:n,label:a,setAttributes:l}),(0,r.createElement)(o.Disabled,null,(0,r.createElement)(o.TextareaControl,{placeholder:c,value:c,onChange:e=>l({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,r.createElement)(s.Z,{id:t,required:n,setAttributes:l,width:u}))}},84803:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,width:n}=e;return(0,r.createElement)(o.BaseControl,{label:__("Field Width","jetpack"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack"),className:"jetpack-field-label__width"},(0,r.createElement)(o.ButtonGroup,{"aria-label":__("Field Width","jetpack")},[25,50,75,100].map((e=>(0,r.createElement)(o.Button,{key:e,isSmall:!0,isPrimary:e===n,onClick:()=>t({width:e})},e,"%")))))}},36755:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(29183),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(55609),c=n(92694),u=n(80500),p=n(8523);const __=i.__;function d(e){const{id:t,type:n,required:r,label:a,setAttributes:i,placeholder:s,width:c}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"jetpack-field"},(0,o.createElement)(u.Z,{required:r,label:a,setAttributes:i}),(0,o.createElement)(l.Disabled,null,(0,o.createElement)(l.TextControl,{type:n,placeholder:s,value:s,onChange:e=>i({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,o.createElement)(p.Z,{id:t,required:r,width:c,setAttributes:i}))}const m=(0,s.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const n=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return(0,o.createElement)(e,a()({},t,{className:n}))}return(0,o.createElement)(e,t)}),"withCustomClassName");(0,c.addFilter)("editor.BlockListBlock","jetpack/contact-form",m)},32605:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(9818),s=n(4981);const __=o.__,l=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,i.useDispatch)("core/block-editor");return{insertConsentBlock:(0,r.useCallback)((async()=>{var n;let r=(null!==(n=e.innerBlocks)&&void 0!==n?n:[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));var a;-1===r&&(r=(null!==(a=e.innerBlocks)&&void 0!==a?a:[]).length);const o=await(0,s.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack")),(0,r.createElement)(a.Button,{isSecondary:!0,onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack")),(0,r.createElement)("br",null))};t.Z=()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,r.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),n=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!n})(e.innerBlocks)),[e.innerBlocks])?(0,r.createElement)(l,null):null}},95363:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=(n(65736),n(92819)),i=n(99230),s=n(56994),l=n(58505);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:n}=e;const[a,o]=(0,r.useState)(),[i,c]=(0,r.useState)(!1),u=((e,t,n)=>(0,r.useCallback)(((r,a)=>{e(void 0),t(!0),r(a).then((()=>{n(l.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,n]))(o,c,n);return a?(0,r.createElement)(s.Z,{error:a}):(0,r.createElement)(l.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:i})},p=e=>{let{isFetchingPlugins:t,hasError:n,pluginState:o,setPluginState:i}=e;return t?(0,r.createElement)(a.Spinner,null):n?null:(0,r.createElement)(u,{pluginState:o,setPluginState:i})};t.Z=()=>{const[e,t]=(0,r.useState)(!0),[n,a]=(0,r.useState)(!1),[s,u]=(0,r.useState)(l.Q.NOT_INSTALLED);return(0,r.useEffect)((()=>{(0,i.uM)().then((e=>{a(!1),(0,o.get)(e,c)&&((0,o.get)(e,[c,"active"])?u(l.Q.ACTIVE):u(l.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),(0,r.createElement)(p,{isFetchingPlugins:e,hasError:n,pluginState:s,setPluginState:u})}},56994:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__("The plugin failed to install. <b /> Please check the <a>plugin information</a> for detailed requirements.","jetpack"),{a:(0,r.createElement)(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:(0,r.createElement)("span",null,t)}))}},58505:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(69307),a=n(55609),o=n(65736),i=n(99230),s=n(47583),l=n(92819);const __=o.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(a.Button,{isSecondary:!0,icon:(0,r.createElement)(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},p=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",null,(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack"),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,null),!n&&(0,r.createElement)(a.Button,{isSecondary:!0,onClick:t},__("Install Creative Mail plugin","jetpack"))))},d=e=>{let{activateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,{isActivating:!0}),!n&&(0,r.createElement)(a.Button,{isSecondary:!0,onClick:t},__("Activate Creative Mail Plugin","jetpack")))},m=()=>(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack"),(0,r.createElement)("br",null),(0,r.createElement)(a.ExternalLink,{href:`${(0,l.get)((0,s.Z)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack"))));t.Z=e=>{let{pluginState:t,onCreativeMailPluginClick:n,isInstalling:a}=e;return(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===t&&(0,r.createElement)(m,null),c.INSTALLED===t&&(0,r.createElement)(d,{activateCreativeMailPlugin:()=>n(i.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),c.NOT_INSTALLED===t&&(0,r.createElement)(p,{installAndActivateCreativeMailPlugin:()=>n(i.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},31186:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(32605),s=n(95363);const __=o.__;t.Z=()=>(0,r.createElement)(a.PanelBody,{title:__("Newsletter Integration","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,null,(0,r.createElement)(i.Z,null),(0,r.createElement)(s.Z,null)))},29110:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;class i extends r.Component{constructor(){super(...arguments),this.onChangeOption=this.onChangeOption.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onDeleteOption=this.onDeleteOption.bind(this),this.textInput=(0,r.createRef)()}componentDidMount(){this.props.isInFocus&&this.textInput.current.focus()}componentDidUpdate(){this.props.isInFocus&&this.textInput.current.focus()}onChangeOption(e){this.props.onChangeOption(this.props.index,e.target.value)}onKeyPress(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}onDeleteOption(){this.props.onChangeOption(this.props.index)}render(){const{isSelected:e,option:t,type:n}=this.props;return(0,r.createElement)("li",{className:"jetpack-option"},n&&"select"!==n&&(0,r.createElement)("input",{className:"jetpack-option__type",type:n,disabled:!0}),(0,r.createElement)("input",{type:"text",className:"jetpack-option__input",value:t,placeholder:__("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),e&&(0,r.createElement)(o.Button,{className:"jetpack-option__remove",icon:"trash",label:__("Remove option","jetpack"),onClick:this.onDeleteOption}))}}t.Z=i},89998:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(4981),l=n(89534);const __=o.__,c=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"];t.Z=[{attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...l.Z},migrate:(e,t)=>{const n=(0,a.omit)(e,c),r={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[n,t.concat((0,s.createBlock)("jetpack/button",{element:"button",...r}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)}]},31970:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(89105),i=n.n(o),s=n(89453),l=n(65736),c=n(94333),u=n(4981),p=n(9818),d=n(39630),m=n(52175),h=n(55609),f=n(22985),g=n(12289),b=n(6361),v=n(31186),k=n(58014);const __=l.__,y=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"];t.Z=(0,c.compose)([(0,p.withSelect)(((e,t)=>{const{getBlockType:n,getBlockVariations:r,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:i}=e("core/block-editor"),{getEditedPostAttribute:s}=e("core/editor"),{getSite:l,getUser:c}=e("core"),u=i(t.clientId),p=s("author"),d=p&&c(p)&&c(p).email,m=s("title");return{blockType:n&&n(t.name),defaultVariation:o&&o(t.name,"block"),variations:r&&r(t.name,"block"),innerBlocks:u,hasInnerBlocks:u.length>0,siteTitle:(0,a.get)(l&&l(),["title"]),postTitle:m,postAuthorEmail:d}})),(0,p.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:n}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:n}})),c.withInstanceId])((function(e){let{attributes:t,setAttributes:n,siteTitle:o,postTitle:c,postAuthorEmail:p,hasInnerBlocks:E,replaceInnerBlocks:w,selectBlock:_,clientId:C,instanceId:j,className:S,blockType:x,variations:T,defaultVariation:N}=e;const{to:A,subject:P,customThankyou:I,customThankyouHeading:M,customThankyouMessage:R,customThankyouRedirect:L,jetpackCRM:B}=t,[Z,F]=(0,r.useState)(!1),D=i()(S,"jetpack-contact-form"),O=e=>(0,a.map)(e,(e=>{let[t,n,r=[]]=e;return(0,u.createBlock)(t,n,O(r))})),z=e=>{e.attributes&&n(e.attributes),e.innerBlocks&&w(C,O(e.innerBlocks)),_(C)};(0,r.useEffect)((()=>{E||u.registerBlockVariation||z(g.Z[0])})),(0,r.useEffect)((()=>{if(void 0===A&&p&&n({to:p}),void 0===P&&void 0!==o&&void 0!==c){n({subject:"["+o+"] "+c})}}),[A,p,P,o,c,n]);const U=e=>0!==(e=e.trim()).length&&(!s.validate(e)&&{email:e}),$=e=>{if(0===e.target.value.length)return F(!1),void n({to:p});const t=e.target.value.split(",").map(U).filter(Boolean);t&&t.length&&F(t)},V=e=>{F(!1),n({to:e.trim()})},G=()=>{const e=void 0!==A?A:"",t=void 0!==P?P:"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h.TextControl,{"aria-describedby":`contact-form-${j}-email-${Z&&Z.length>0?"error":"help"}`,label:__("Email address to send to","jetpack"),placeholder:__("name@example.com","jetpack"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:$,onChange:V,help:__("You can enter multiple email addresses separated by commas.","jetpack")}),(0,r.createElement)(f.Z,{isError:!0,id:`contact-form-${j}-email-error`},(()=>{if(Z){if(1===Z.length)return Z[0]&&Z[0].email?(0,l.sprintf)(
+__("Add %s consent message…","jetpack"),d)}),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(c.Z,{setAttributes:f,width:p}))),(0,r.createElement)(i.InspectorAdvancedControls,null,(0,r.createElement)(u.Z,{setAttributes:f,id:n})),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Consent Settings","jetpack")},(0,r.createElement)(o.BaseControl,null,(0,r.createElement)(o.SelectControl,{label:__("Permission to email","jetpack"),value:d,options:[{label:__("Mention that you can email","jetpack"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack"),value:"explicit"}],onChange:e=>f({consentType:e})})))))})}))},26588:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(36598),l=n(50686),c=n(98677);const __=a.__;t.Z=e=>{let{setAttributes:t,width:n,id:a,required:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(i.ToolbarGroup,null,(0,r.createElement)(i.ToolbarButton,{title:__("Required","jetpack"),icon:(0,s.Z)((0,r.createElement)(i.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{t({required:!u})},className:u?"is-pressed":void 0}))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Field Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Field is required","jetpack"),className:"jetpack-field-label__required",checked:u,onChange:e=>t({required:e}),help:__("Does this field have to be completed for the form to be submitted?","jetpack")}),(0,r.createElement)(l.Z,{setAttributes:t,width:n}))),(0,r.createElement)(o.InspectorAdvancedControls,null,(0,r.createElement)(c.Z,{setAttributes:t,id:a})))}},98677:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,id:n}=e;return(0,r.createElement)(o.TextControl,{label:__("Unique CSS ID","jetpack"),value:n,onChange:e=>t({id:e}),help:__("A unique ID that can be used in CSS or as an anchor.","jetpack")})}},15642:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175);const __=a.__;t.Z=e=>{let{setAttributes:t,label:n,labelFieldName:a,placeholder:i,resetFocus:s,required:l}=e;return(0,r.createElement)("div",{className:"jetpack-field-label"},(0,r.createElement)(o.RichText,{tagName:"label",value:n,className:"jetpack-field-label__input",onChange:e=>{s&&s(),t(a?{[a]:e}:{label:e})},placeholder:null!=i?i:__("Add label…","jetpack"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),l&&(0,r.createElement)("span",{className:"required"},__("(required)","jetpack")))}},26838:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(15642),l=n(81713),c=n(26588);const __=a.__;t.Z=(0,i.withInstanceId)((function(e){const{id:t,type:n,instanceId:a,required:i,label:u,setAttributes:p,isSelected:d,width:m,options:h}=e,[f,g]=(0,r.useState)(null),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=h.slice(0);null===t?(n.splice(e,1),e>0&&g(e-1)):(n.splice(e,1,t),g(e)),p({options:n})},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=h.slice(0);let n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),g(n),p({options:t})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{id:`jetpack-field-multiple-${a}`,className:"jetpack-field jetpack-field-multiple",label:(0,r.createElement)(s.Z,{required:i,label:u,setAttributes:p,isSelected:d,resetFocus:()=>g(null)})},(0,r.createElement)("ol",{className:"jetpack-field-multiple__list",id:`jetpack-field-multiple-${a}`},h.map(((e,t)=>(0,r.createElement)(l.Z,{type:n,key:t,option:e,index:t,onChangeOption:b,onAddOption:v,isInFocus:t===f&&d,isSelected:d})))),d&&(0,r.createElement)(o.Button,{className:"jetpack-field-multiple__add-option",icon:"insert",label:__("Insert option","jetpack"),onClick:v},__("Add option","jetpack"))),(0,r.createElement)(c.Z,{id:t,required:i,setAttributes:p,width:m}))}))},92158:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(15642),s=n(26588);const __=a.__;function l(e){const{id:t,required:n,label:a,setAttributes:l,placeholder:c,width:u}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"jetpack-field"},(0,r.createElement)(i.Z,{required:n,label:a,setAttributes:l}),(0,r.createElement)(o.Disabled,null,(0,r.createElement)(o.TextareaControl,{placeholder:c,value:c,onChange:e=>l({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,r.createElement)(s.Z,{id:t,required:n,setAttributes:l,width:u}))}},50686:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setAttributes:t,width:n}=e;return(0,r.createElement)(o.BaseControl,{label:__("Field Width","jetpack"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack"),className:"jetpack-field-label__width"},(0,r.createElement)(o.ButtonGroup,{"aria-label":__("Field Width","jetpack")},[25,50,75,100].map((e=>(0,r.createElement)(o.Button,{key:e,isSmall:!0,variant:e===n?"primary":void 0,onClick:()=>t({width:e})},e,"%")))))}},47081:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(55609),c=n(92694),u=n(15642),p=n(26588);const __=i.__;function d(e){const{id:t,type:n,required:r,label:a,setAttributes:i,placeholder:s,width:c}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"jetpack-field"},(0,o.createElement)(u.Z,{required:r,label:a,setAttributes:i}),(0,o.createElement)(l.Disabled,null,(0,o.createElement)(l.TextControl,{type:n,placeholder:s,value:s,onChange:e=>i({placeholder:e}),title:__("Set the placeholder text","jetpack")}))),(0,o.createElement)(p.Z,{id:t,required:r,width:c,setAttributes:i}))}const m=(0,s.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const n=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return(0,o.createElement)(e,a()({},t,{className:n}))}return(0,o.createElement)(e,t)}),"withCustomClassName");(0,c.addFilter)("editor.BlockListBlock","jetpack/contact-form",m)},8971:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(9818),s=n(4981);const __=o.__,l=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,i.useDispatch)("core/block-editor");return{insertConsentBlock:(0,r.useCallback)((async()=>{var n;let r=(null!==(n=e.innerBlocks)&&void 0!==n?n:[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));var a;-1===r&&(r=(null!==(a=e.innerBlocks)&&void 0!==a?a:[]).length);const o=await(0,s.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack")),(0,r.createElement)(a.Button,{variant:"secondary",onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack")),(0,r.createElement)("br",null))};t.Z=()=>{const e=(0,i.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,r.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),n=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!n})(e.innerBlocks)),[e.innerBlocks])?(0,r.createElement)(l,null):null}},29643:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(92819),i=n(45092),s=n(46229),l=n(53125);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:n}=e;const[a,o]=(0,r.useState)(),[i,c]=(0,r.useState)(!1),u=((e,t,n)=>(0,r.useCallback)(((r,a)=>{e(void 0),t(!0),r(a).then((()=>{n(l.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,n]))(o,c,n);return a?(0,r.createElement)(s.Z,{error:a}):(0,r.createElement)(l.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:i})},p=e=>{let{isFetchingPlugins:t,hasError:n,pluginState:o,setPluginState:i}=e;return t?(0,r.createElement)(a.Spinner,null):n?null:(0,r.createElement)(u,{pluginState:o,setPluginState:i})};t.Z=()=>{const[e,t]=(0,r.useState)(!0),[n,a]=(0,r.useState)(!1),[s,u]=(0,r.useState)(l.Q.NOT_INSTALLED);return(0,r.useEffect)((()=>{(0,i.uM)().then((e=>{a(!1),(0,o.get)(e,c)&&((0,o.get)(e,[c,"active"])?u(l.Q.ACTIVE):u(l.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),(0,r.createElement)(p,{isFetchingPlugins:e,hasError:n,pluginState:s,setPluginState:u})}},46229:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__;t.Z=e=>{let{error:t}=e;return(0,r.createElement)(a.Notice,{isDismissible:!1,status:"error"},(0,r.createInterpolateElement)(__("The plugin failed to install. <b /> Please check the <a>plugin information</a> for detailed requirements.","jetpack"),{a:(0,r.createElement)(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:(0,r.createElement)("span",null,t)}))}},53125:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(69307),a=n(13419),o=n(55609),i=n(65736),s=n(45092),l=n(92819);const __=i.__,c=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=e=>{let{isActivating:t}=e;const n=t?__("Activating…","jetpack"):__("Installing…","jetpack",0);return(0,r.createElement)(o.Button,{variant:"secondary",icon:(0,r.createElement)(o.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":n},n)},p=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__integration-panel"},(0,r.createElement)("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack"),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,null),!n&&(0,r.createElement)(o.Button,{variant:"secondary",onClick:t},__("Install Creative Mail plugin","jetpack"))))},d=e=>{let{activateCreativeMailPlugin:t,isInstalling:n}=e;return(0,r.createElement)("p",{className:"jetpack-contact-form__integration-panel"},(0,r.createElement)("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack")),(0,r.createElement)("br",null),n&&(0,r.createElement)(u,{isActivating:!0}),!n&&(0,r.createElement)(o.Button,{variant:"secondary",onClick:t},__("Activate Creative Mail Plugin","jetpack")))},m=()=>(0,r.createElement)("p",null,(0,r.createElement)("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack"),(0,r.createElement)("br",null),(0,r.createElement)(o.ExternalLink,{href:`${(0,l.get)((0,a.Pb)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack"))));t.Z=e=>{let{pluginState:t,onCreativeMailPluginClick:n,isInstalling:a}=e;return(0,r.createElement)("div",{"aria-live":"polite"},c.ACTIVE===t&&(0,r.createElement)(m,null),c.INSTALLED===t&&(0,r.createElement)(d,{activateCreativeMailPlugin:()=>n(s.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),c.NOT_INSTALLED===t&&(0,r.createElement)(p,{installAndActivateCreativeMailPlugin:()=>n(s.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},74901:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(8971),s=n(29643);const __=o.__;t.Z=()=>(0,r.createElement)(a.PanelBody,{title:__("Newsletter Integration","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,null,(0,r.createElement)(i.Z,null),(0,r.createElement)(s.Z,null)))},81713:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;class i extends r.Component{constructor(){super(...arguments),this.onChangeOption=this.onChangeOption.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onDeleteOption=this.onDeleteOption.bind(this),this.textInput=(0,r.createRef)()}componentDidMount(){this.props.isInFocus&&this.textInput.current.focus()}componentDidUpdate(){this.props.isInFocus&&this.textInput.current.focus()}onChangeOption(e){this.props.onChangeOption(this.props.index,e.target.value)}onKeyPress(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}onDeleteOption(){this.props.onChangeOption(this.props.index)}render(){const{isSelected:e,option:t,type:n}=this.props;return(0,r.createElement)("li",{className:"jetpack-option"},n&&"select"!==n&&(0,r.createElement)("input",{className:"jetpack-option__type",type:n,disabled:!0}),(0,r.createElement)("input",{type:"text",className:"jetpack-option__input",value:t,placeholder:__("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),e&&(0,r.createElement)(o.Button,{className:"jetpack-option__remove",icon:"trash",label:__("Remove option","jetpack"),onClick:this.onDeleteOption}))}}t.Z=i},4901:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(4981),l=n(99837);const __=o.__,c=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"],u={attributes:{...l.Z},supports:{html:!1},save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)},p={attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...l.Z},migrate:(e,t)=>{const n=(0,a.omit)(e,c),r={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[n,t.concat((0,s.createBlock)("jetpack/button",{element:"button",...r}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>(0,r.createElement)(i.InnerBlocks.Content,null)};t.Z=[u,p]},8565:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65235),i=n.n(o),s=n(92384),l=n(65736),c=n(94333),u=n(4981),p=n(9818),d=n(39630),m=n(52175),h=n(55609),f=n(13419),g=n(59809),b=n(14142),v=n(38101),k=n(74901);const __=l.__,y=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"];t.Z=(0,c.compose)([(0,p.withSelect)(((e,t)=>{const{getBlockType:n,getBlockVariations:r,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:i}=e("core/block-editor"),{getEditedPostAttribute:s}=e("core/editor"),{getSite:l,getUser:c,canUser:u}=e("core"),p=i(t.clientId),d=s("author"),m=d&&c(d)&&c(d).email,h=s("title"),f=u("create","plugins");return{blockType:n&&n(t.name),canUserInstallPlugins:f,defaultVariation:o&&o(t.name,"block"),variations:r&&r(t.name,"block"),innerBlocks:p,hasInnerBlocks:p.length>0,siteTitle:(0,a.get)(l&&l(),["title"]),postTitle:h,postAuthorEmail:m}})),(0,p.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:n}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:n}})),c.withInstanceId])((function(e){let{attributes:t,setAttributes:n,siteTitle:o,postTitle:c,postAuthorEmail:p,hasInnerBlocks:E,replaceInnerBlocks:w,selectBlock:_,clientId:C,instanceId:S,className:j,blockType:x,variations:P,defaultVariation:T,canUserInstallPlugins:N}=e;const{to:A,subject:M,customThankyou:I,customThankyouHeading:R,customThankyouMessage:L,customThankyouRedirect:B,jetpackCRM:Z}=t,[D,F]=(0,r.useState)(!1),O=i()(j,"jetpack-contact-form"),z=e=>(0,a.map)(e,(e=>{let[t,n,r=[]]=e;return(0,u.createBlock)(t,n,z(r))})),U=e=>{e.attributes&&n(e.attributes),e.innerBlocks&&w(C,z(e.innerBlocks)),_(C)};(0,r.useEffect)((()=>{E||u.registerBlockVariation||U(b.Z[0])})),(0,r.useEffect)((()=>{if(void 0===A&&p&&n({to:p}),void 0===M&&void 0!==o&&void 0!==c){n({subject:"["+o+"] "+c})}}),[A,p,M,o,c,n]);const $=e=>0!==(e=e.trim()).length&&(!s.validate(e)&&{email:e}),V=e=>{if(0===e.target.value.length)return F(!1),void n({to:p});const t=e.target.value.split(",").map($).filter(Boolean);t&&t.length&&F(t)},G=e=>{F(!1),n({to:e.trim()})},H=()=>{const e=void 0!==A?A:"",t=void 0!==M?M:"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h.TextControl,{"aria-describedby":`contact-form-${S}-email-${D&&D.length>0?"error":"help"}`,label:__("Email address to send to","jetpack"),placeholder:__("name@example.com","jetpack"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:V,onChange:G,help:__("You can enter multiple email addresses separated by commas.","jetpack")}),(0,r.createElement)(g.Z,{isError:!0,id:`contact-form-${S}-email-error`},(()=>{if(D){if(1===D.length)return D[0]&&D[0].email?(0,l.sprintf)(
/* translators: placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),Z[0].email):Z[0];if(2===Z.length)return(0,l.sprintf)(
+__("%s is not a valid email address.","jetpack"),D[0].email):D[0];if(2===D.length)return(0,l.sprintf)(
/* translators: placeholders are email addresses. */
-__("%1$s and %2$s are not a valid email address.","jetpack"),Z[0].email,Z[1].email);const e=Z.map((e=>e.email));return(0,l.sprintf)(
+__("%1$s and %2$s are not a valid email address.","jetpack"),D[0].email,D[1].email);const e=D.map((e=>e.email));return(0,l.sprintf)(
/* translators: placeholder is a list of email addresses. */
-__("%s are not a valid email address.","jetpack"),e.join(", "))}return null})()),(0,r.createElement)(h.TextControl,{label:__("Email subject line","jetpack"),value:t,placeholder:__("Enter a subject","jetpack"),onChange:e=>n({subject:e}),help:__("Choose a subject line that you recognize as an email from your website.","jetpack")}),(0,r.createElement)(h.SelectControl,{label:__("On Submission","jetpack"),value:I,options:[{label:__("Show a summary of submitted fields","jetpack"),value:""},{label:__("Show a custom text message","jetpack"),value:"message"},{label:__("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:e=>n({customThankyou:e})}),"redirect"!==I&&(0,r.createElement)(h.TextControl,{label:__("Message Heading","jetpack"),value:M,placeholder:__("Message Sent","jetpack"),onChange:e=>n({customThankyouHeading:e})}),"message"===I&&(0,r.createElement)(h.TextareaControl,{label:__("Message Text","jetpack"),value:R,placeholder:__("Thank you for your submission!","jetpack"),onChange:e=>n({customThankyouMessage:e})}),"redirect"===I&&(0,r.createElement)(h.BaseControl,{label:__("Redirect Address","jetpack"),id:`contact-form-${j}-thankyou-url`},(0,r.createElement)(m.URLInput,{id:`contact-form-${j}-thankyou-url`,value:L,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>n({customThankyouRedirect:e})})))};return!E&&u.registerBlockVariation?(0,r.createElement)("div",{className:D},(0,r.createElement)(m.__experimentalBlockVariationPicker,{icon:(0,a.get)(x,["icon","src"]),label:(0,a.get)(x,["title"]),instructions:__("Please select which type of form you'd like to add, or create your own using the skip option.","jetpack"),variations:T,allowSkip:!0,onSelect:function(){z(arguments.length>0&&void 0!==arguments[0]?arguments[0]:N)}})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.BlockControls,null,(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(h.ToolbarItem,null,(()=>(0,r.createElement)(h.Dropdown,{position:"bottom right",className:"jetpack-contact-form-settings-selector",contentClassName:"jetpack-contact-form__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(h.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("Edit Form Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==d.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,r.createElement)(h.Icon,{icon:"edit"})}))(t,n)},renderContent:()=>G()}))))),(0,r.createElement)(m.InspectorControls,null,(0,r.createElement)(h.PanelBody,{title:__("Form Settings","jetpack")},G()),!(0,k.Wp)()&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(b.Z,{jetpackCRM:B,setAttributes:n}),(0,r.createElement)(v.Z,null))),(0,r.createElement)("div",{className:D},(0,r.createElement)(m.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))}))},75494:function(e,t,n){"use strict";n.d(t,{u2:function(){return y},Xd:function(){return w},Nk:function(){return x}});var r=n(69307),a=n(65736),o=n(4981),i=n(55609),s=n(52175),l=n(31970),c=n(89534),u=n(12289),p=n(89998),d=n(54789),m=n(36755),h=n(7640),f=n(69802),g=n(56764),b=n(41632),v=n(57535),k=n(57324);const __=a.__,_x=a._x,y="contact-form",E=(0,b.Z)((0,r.createElement)(i.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 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-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),w={title:__("Form","jetpack"),description:__("A simple way to get feedback from folks visiting your site.","jetpack"),icon:{src:E,foreground:(0,v.m)()},keywords:[_x("email","block search term","jetpack"),_x("feedback","block search term","jetpack"),_x("contact form","block search term","jetpack")],supports:{html:!1},attributes:c.Z,edit:l.Z,save:()=>(0,r.createElement)(s.InnerBlocks.Content,null),variations:u.Z,category:"grow",transforms:d.Z,deprecated:p.Z},_={category:"grow",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-checkbox-multiple",e)},{type:"block",blocks:["jetpack/field-radio"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-radio",e)},{type:"block",blocks:["jetpack/field-select"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-select",e)},{type:"block",blocks:["jetpack/field-consent"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-consent",e)}]},save:()=>null,example:{}},C=e=>{let{attributes:t,name:n}=e;return null===t.label?(0,o.getBlockType)(n).title:t.label},j=e=>t=>(0,r.createElement)(m.Z,{type:e,label:C(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width}),S=e=>t=>(0,r.createElement)(g.Z,{label:C(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width}),x=[{name:"field-text",settings:{..._,title:__("Text","jetpack"),description:__("When you need just a small amount of text, add a text input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:j("text")}},{name:"field-name",settings:{..._,title:__("Name","jetpack"),description:__("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:j("text")}},{name:"field-email",settings:{..._,title:__("Email","jetpack"),keywords:[__("e-mail","jetpack"),__("mail","jetpack"),"email"],description:__("Want to reply to folks? Add an email address input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:j("email")}},{name:"field-url",settings:{..._,title:__("Website","jetpack"),keywords:["url",__("internet page","jetpack"),"link"],description:__("Add an address input for a website.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:j("url")}},{name:"field-date",settings:{..._,title:__("Date Picker","jetpack"),keywords:[__("Calendar","jetpack"),_x("day month year","block search term","jetpack")],description:__("The best way to set a date. Add a date picker.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:j("text")}},{name:"field-telephone",settings:{..._,title:__("Phone Number","jetpack"),keywords:[__("Phone","jetpack"),__("Cellular phone","jetpack"),__("Mobile","jetpack")],description:__("Add a phone number input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:j("tel")}},{name:"field-textarea",settings:{..._,title:__("Message","jetpack"),keywords:[__("Textarea","jetpack"),"textarea",__("Multiline text","jetpack")],description:__("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:e=>(0,r.createElement)(h.Z,{label:C(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})}},{name:"field-checkbox",settings:{..._,title:__("Checkbox","jetpack"),keywords:[__("Confirm","jetpack"),__("Accept","jetpack")],description:__("Add a single checkbox.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:e=>(0,r.createElement)(f.Z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width}),attributes:{..._.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{..._,title:__("Consent","jetpack"),keywords:[__("Consent","jetpack")],description:__("Ask for consent","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"m81 370h142v40h-142zm0-39h142v-40h-142zm0-79h245v-40h-245zm378 260h-40c0-40.253906-32.746094-73-73-73s-73 32.746094-73 73h-40c0-42.085938 23.128906-78.867188 57.34375-98.3125-11.40625-13.023438-18.34375-30.054688-18.34375-48.6875 0-40.804688 33.195312-74 74-74s74 33.195312 74 74c0 18.632812-6.9375 35.664062-18.34375 48.6875 34.214844 19.445312 57.34375 56.226562 57.34375 98.3125zm-113-113c18.746094 0 34-15.253906 34-34s-15.253906-34-34-34-34 15.253906-34 34 15.253906 34 34 34zm-286 73h138.316406c-3.460937 12.757812-5.316406 26.164062-5.316406 40h-133c-33.085938 0-60-26.914062-60-60v-392c0-33.085938 26.914062-60 60-60h203.757812l142.132813 142.855469v125.210937c-12.042969-7.476562-25.453125-12.765625-39.890625-15.324218v-81.632813h-71.109375c-33.085937 0-60-26.914063-60-60v-71.109375h-174.890625c-11.027344 0-20 8.972656-20 20v392c0 11.027344 8.972656 20 20 20zm234.890625-340.890625h42.972656l-62.972656-63.234375v43.234375c0 11.03125 8.96875 20 20 20zm0 0"}),24,25,"-26 0 512 512"),attributes:{..._.attributes,label:{type:"string",default:__("Consent","jetpack")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack")}},edit:e=>{let{attributes:t,isSelected:n,setAttributes:a}=e;const{id:o,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c}=t;return(0,r.createElement)(k.Z,{id:o,isSelected:n,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c,setAttributes:a})}}},{name:"field-checkbox-multiple",settings:{..._,title:__("Checkbox Group","jetpack"),keywords:[__("Choose Multiple","jetpack"),__("Option","jetpack")],description:__("People love options. Add several checkbox items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:S("checkbox"),attributes:{..._.attributes,label:{type:"string",default:"Choose several"}}}},{name:"field-radio",settings:{..._,title:__("Radio","jetpack"),keywords:[__("Choose","jetpack"),__("Select","jetpack"),__("Option","jetpack")],description:__("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.createElement)(i.Circle,{cx:"12",cy:"12",r:"5"}))),edit:S("radio"),attributes:{..._.attributes,label:{type:"string",default:"Choose one"}}}},{name:"field-select",settings:{..._,title:__("Select","jetpack"),keywords:[__("Choose","jetpack"),__("Dropdown","jetpack"),__("Option","jetpack")],description:__("Compact, but powerful. Add a select box with several items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:S("select"),attributes:{..._.attributes,label:{type:"string",default:"Select one"}}}}]},54789:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=(e,t,n)=>{const r=n.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(r&&r.length)return r[1];const a=n.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(a&&a.length)return a[1];const o=n.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!o||!o.length)&&o[1]},s={root:{},innerBlocks:[]};t.Z={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("<br>","");if(t.includes("[contact-form")&&(s.root={},s.innerBlocks=[],s.root=(e=>{const t={to:i("contact-form","to",e),subject:i("contact-form","subject",e),submitButtonText:i("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,r.pickBy)(t,r.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{s.innerBlocks.push((e=>{const t={label:i("contact-field","label",e),placeholder:i("contact-field","placeholder",e),required:i("contact-field","required",e),options:i("contact-field","options",e)},n=(e=>{const t={text:"jetpack/field-text",url:"jetpack/field-text",textarea:"jetpack/field-textarea",radio:"jetpack/field-radio",checkbox:"jetpack/field-checkbox","checkbox-multiple":"jetpack/field-checkbox-multiple",select:"jetpack/field-select",email:"jetpack/field-email",name:"jetpack/field-name",default:"jetpack/field-text"};return t[e]?t[e]:t.default})(i("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(n,(0,r.pickBy)(t,r.identity))})(e))}))}if(t.includes("[/contact-form]")){s.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:s.root.attrs.submitButtonText||__("Contact Us","jetpack")}));return(0,a.createBlock)(s.root.blockName,s.root.attrs,s.innerBlocks)}return!1}}]}},12289:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(55609),s=n(58014),l=n(41632),c=n(57535);const __=o.__,u=(0,a.compact)([{name:"contact-form",title:__("Contact Form","jetpack"),description:__("Add a contact form to your page.","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M21.99 8c0-.72-.37-1.35-.94-1.7l-8.04-4.71c-.62-.37-1.4-.37-2.02 0L2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zm-11.05 4.34l-7.2-4.5 7.25-4.25c.62-.37 1.4-.37 2.02 0l7.25 4.25-7.2 4.5c-.65.4-1.47.4-2.12 0z"}),48,48,"-4 -4 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-textarea",{}],["jetpack/button",{text:__("Contact Us","jetpack"),element:"button"}]]},!(0,s.Wp)()&&{name:"newsletter-form",title:__("Newsletter Sign-up","jetpack"),description:__("A simple way to collect information from folks visiting your site.","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M37.9999 7.59998C49.3999 7.59998 68.3999 26.6 68.3999 26.6V68.4H7.59985V26.6C7.59985 26.6 26.5999 7.59998 37.9999 7.59998ZM64.5999 63.536L50.4259 52.44L64.5999 41.8L62.9659 40.394L54.3779 45.334L55.2899 28.956L21.9639 26.98L20.2159 44.232L12.6539 40.622L11.3999 41.8L25.5739 52.44L12.5019 63.27L14.0219 64.904L37.9999 49.4L62.8139 65.17L64.5999 63.536Z"}),48,48,"-6 -6 92 92"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack"),element:"button"}]]},{name:"rsvp-form",title:__("RSVP Form","jetpack"),description:__("Add an RSVP form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M10 9V7.41c0-.89-1.08-1.34-1.71-.71L3.7 11.29c-.39.39-.39 1.02 0 1.41l4.59 4.59c.63.63 1.71.19 1.71-.7V14.9c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Attending?","jetpack"),required:!0,options:[__("Yes","jetpack"),__("No","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send RSVP","jetpack"),element:"button"}]],attributes:{subject:__("A new RSVP from your website","jetpack")}},{name:"registration-form",title:__("Registration Form","jetpack"),description:__("Add a Registration form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M11.34 15.02c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95zm2.12-10.61L17 7.95l-4.95 4.95-3.54-3.54 4.95-4.95zm6.95 11l-2.12-2.12c-.18-.18-.44-.29-.7-.29h-.27l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2h-.42c-.27 0-.52.11-.71.29l-2.12 2.12c-.37.38-.58.89-.58 1.42V20c0 1.1.9 2 2 2h14c1.1 0 2-.89 2-2v-3.17c0-.53-.21-1.04-.59-1.42z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{label:__("Phone Number","jetpack")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack"),options:[__("Search Engine","jetpack"),__("Social Media","jetpack"),__("TV","jetpack"),__("Radio","jetpack"),__("Friend or Family","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send","jetpack"),element:"button"}]],attributes:{subject:__("A new registration from your website","jetpack")}},{name:"appointment-form",title:__("Appointment Form","jetpack"),description:__("Add an Appointment booking form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V8c0-.55-.45-1-1-1s-1 .45-1 1v2H2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1H6zm9 4c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{required:!0}],["jetpack/field-date",{label:__("Date","jetpack"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack"),required:!0,options:[__("Morning","jetpack"),__("Afternoon","jetpack")]}],["jetpack/field-textarea",{label:__("Notes","jetpack")}],["jetpack/button",{text:__("Book Appointment","jetpack"),element:"button"}]],attributes:{subject:__("A new appointment booked from your website","jetpack")}},{name:"feedback-form",title:__("Feedback Form","jetpack"),description:__("Add a Feedback form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(i.Path,{fill:(0,c.m)(),d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.03 0 3.8-1.11 4.75-2.75.19-.33-.05-.75-.44-.75H7.69c-.38 0-.63.42-.44.75.95 1.64 2.72 2.75 4.75 2.75z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Please rate our website","jetpack"),required:!0,options:[__("1 - Very Bad","jetpack"),__("2 - Poor","jetpack"),__("3 - Average","jetpack"),__("4 - Good","jetpack"),__("5 - Excellent","jetpack")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack")}],["jetpack/button",{text:__("Send Feedback","jetpack"),element:"button"}]],attributes:{subject:__("New feedback received from your website","jetpack")}}]);t.Z=u},4352:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(29756);const __=i.__;class u extends r.Component{constructor(){super(...arguments),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"!==e.key||e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:a,region:i,postal:u,country:p,linkToGoogleMaps:d},isSelected:m,setAttributes:h}=this.props,f=[e,t,n,a,i,u,p].some((e=>""!==e)),g=o()({"jetpack-address-block":!0,"is-selected":m}),b=(0,r.createElement)(l.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:d,onChange:e=>h({linkToGoogleMaps:e})});return(0,r.createElement)("div",{className:g},!m&&f&&(0,c.Z)(this.props),(m||!f)&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>h({address:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>h({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>h({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:a,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>h({city:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:i,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>h({region:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:u,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>h({postal:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>h({country:e}),onKeyDown:this.preventEnterKey}),b))}}t.Z=u},47559:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(4352),s=n(29756),l=n(41632);const __=a.__,_x=a._x,c="address",u={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,l.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.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)(o.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:i.Z,save:s.Z}},29756:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:a,city:o,region:i,postal:s,country:l}}=e;return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},t),n&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},n),a&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(i||s)&&(0,r.createElement)("div",{className:"jetpack-address__city"},o),o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__city"},o),", ",(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&(0,r.createElement)("div",{className:"jetpack-address__country"},l))},i=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}}=e;let l=o?`+${o},`:"";l=i?`${l}+${i}`:l;return`https://www.google.com/maps/search/${t?`${t},`:""}${n?`${n},`:""}${r?`${r},`:""}${a?`+${a},`:""}${l}${s?`+${s}`:""}`.replace(" ","+")};t.Z=e=>(e=>{let{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}=e;return[t,n,r,a,o,i,s].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))},18680:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(89105),i=n.n(o);const s=["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"]];t.Z=e=>{const{isSelected:t}=e;return(0,r.createElement)("div",{className:i()({"jetpack-contact-info-block":!0,"is-selected":t})},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:s,templateLock:!1,template:l}))}},63015:function(e,t,n){"use strict";var r=n(59861),a=n(55637),o=n(65736);const __=o.__;t.Z=e=>{const{setAttributes:t}=e;return(0,a.Z)("email",e,__("Email","jetpack"),r.Z,(e=>t({email:e})))}},52413:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(63015),s=n(41632),l=n(59861);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z,parent:["jetpack/contact-info"]}},59861:function(e,t,n){"use strict";var r=n(69307),a=n(89453);t.Z=e=>{let{attributes:{email:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},t.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&a.validate(n)?e===n?(0,r.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,r.createElement)(r.Fragment,{key:t},(0,r.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,r.createElement)(r.Fragment,null,e.slice(-(e.length-n.length)))):(0,r.createElement)(r.Fragment,{key:t},e)})))}},20195:function(e,t,n){"use strict";n.d(t,{u2:function(){return h},Xd:function(){return g},Nk:function(){return b}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(4981),l=n(18680),c=n(41632),u=n(47559),p=n(52413),d=n(51592),m=n(57535);const __=a.__,_x=a._x,h="contact-info",f=(0,c.Z)((0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),g={title:__("Contact Info","jetpack"),description:__("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[_x("email","block search term","jetpack"),_x("phone","block search term","jetpack"),_x("address","block search term","jetpack")],icon:{src:f,foreground:(0,m.m)()},category:"grow",supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"widget_contact_info"===t},transform:e=>{let{instance:t}=e,n=[(0,s.createBlock)("core/heading",{content:t.raw.title}),(0,s.createBlock)("jetpack/email",{email:t.raw.email}),(0,s.createBlock)("jetpack/phone",{phone:t.raw.phone}),(0,s.createBlock)("jetpack/address",{address:t.raw.address})];return t.raw.hours&&(n=[...n,(0,s.createBlock)("core/paragraph",{content:t.raw.hours})]),t.raw.showmap&&t.raw.address&&(n=[...n,(0,s.createBlock)("jetpack/map",{address:t.raw.address})]),(0,s.createBlock)("jetpack/contact-info",{},n)}}]},attributes:{},edit:l.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},b=[{name:u.u,settings:u.X},{name:p.u,settings:p.X},{name:d.u,settings:d.X}]},51633:function(e,t,n){"use strict";var r=n(65736),a=n(18690),o=n(55637);const __=r.__;t.Z=e=>{const{setAttributes:t}=e;return(0,o.Z)("phone",e,__("Phone number","jetpack"),a.Z,(e=>t({phone:e})))}},51592:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(51633),s=n(41632),l=n(18690);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z}},18690:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{attributes:{phone:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},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,o=n?e.substring(0,n):"",i=a.replace(/\D/g,"");return/[0-9/+/(]/.test(a[0])?(o=o.slice(0,-1),"+"===a[0]&&(i="+"+i)):a=a.substring(1),[o.trim()?(0,r.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,(0,r.createElement)("a",{key:"phoneNumber",href:`tel:${i}`},a)]}(t))}},48387:function(e,t,n){"use strict";var r=n(69307),a=n(78850),o=n(75139),i=n(89105),s=n.n(i),l=n(52175),c=n(17882);t.Z=e=>{let{className:t=null,currency:n=null,defaultValue:i=null,disabled:u=!1,label:p="",onChange:d=null,value:m=""}=e;const[h,f]=(0,r.useState)((0,a.ZP)(m,n,{symbol:""})),[g,b]=(0,r.useState)(!1),[v,k]=(0,r.useState)(!1),y=(0,r.useRef)(null),E=(0,r.useCallback)((e=>{if(f(e),!d)return;const t=(0,c.Vm)(e,n);t&&t>=(0,c.hj)(n)?(d(t),k(!1)):e&&k(!0)}),[n,d]),w=()=>{y.current&&(y.current.focus(),b(!0))};return(0,r.useEffect)((()=>{y.current&&y.current.addEventListener("blur",(()=>b(!1)))}),[y]),(0,r.useEffect)((()=>{g||h||E((0,a.ZP)(i,n,{symbol:""}))}),[n,i,h,g,E]),(0,r.useEffect)((()=>{g||v||f((0,a.ZP)(m,n,{symbol:""}))}),[n,g,v,E,m]),(0,r.createElement)("div",{className:s()("donations__amount",t,{"has-focus":g,"has-error":v}),role:"button",tabIndex:0,onClick:w,onKeyDown:w},o.M[n].symbol,u?(0,r.createElement)("div",{className:"donations__amount-value"},(0,a.ZP)(m||i,n,{symbol:""})):(0,r.createElement)(l.RichText,{allowedFormats:[],"aria-label":p,keepPlaceholderOnFocus:!0,multiline:!1,onChange:e=>E(e),placeholder:(0,a.ZP)(i,n,{symbol:""}),ref:y,value:h,withoutInteractiveFormatting:!0}))}},46928:function(e,t,n){"use strict";var r=n(69307),a=n(75139),o=n(52175),i=n(55609),s=n(65736),l=n(39630),c=n(17882),u=n(4235);const __=s.__;t.Z=e=>{const{attributes:t,setAttributes:n}=e,{currency:s,monthlyDonation:p,annualDonation:d,showCustomAmount:m}=t,h=(e,r)=>{const a={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],o=t[a];n({[a]:{...o,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:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(i.Button,{className:"jetpack-donations__currency-toggle",icon:(0,r.createElement)(r.Fragment,null,a.M[s].symbol+" - "+s,(0,r.createElement)(i.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:t,onKeyDown:e=>{n||e.keyCode!==l.DOWN||(e.preventDefault(),e.stopPropagation(),t())}})},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(i.MenuGroup,null,Object.keys(c.ck).map((e=>(0,r.createElement)(i.MenuItem,{isSelected:e===s,onClick:()=>{n({currency:e}),t()},key:`jetpack-donations-currency-${e}`},a.M[e].symbol+" - "+e))))}}))))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{checked:p.show,onChange:e=>h("1 month",e),label:__("Show monthly donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:d.show,onChange:e=>h("1 year",e),label:__("Show annual donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:m,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,r.createElement)(i.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,u.Z)()}`},__("View donation earnings","jetpack")))))}},92202:function(e,t,n){"use strict";var r=n(69307),a=n(78850),o=n(75139),i=n(52175),s=n(65736),l=n(17882);const __=s.__;t.Z={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:e=>{let{attributes:t}=e;const{currency:n,oneTimeDonation:s,monthlyDonation:c,annualDonation:u,showCustomAmount:p,chooseAmountText:d,customAmountText:m}=t;if(!s||!s.show||-1===s.planId)return null;const h={"one-time":{title:__("One-Time","jetpack")},...c.show&&{"1 month":{title:__("Monthly","jetpack")}},...u.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"donations__container"},Object.keys(h).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(h).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${t} `,"data-interval":t},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:s.heading}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:c.heading}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:u.heading}),(0,r.createElement)(i.RichText.Content,{tagName:"p",value:d}),(0,r.createElement)("div",{className:"donations__amounts donations__one-time-item"},s.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),c.show&&(0,r.createElement)("div",{className:"donations__amounts donations__monthly-item"},c.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),u.show&&(0,r.createElement)("div",{className:"donations__amounts donations__annual-item"},u.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),p&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.RichText.Content,{tagName:"p",value:m}),(0,r.createElement)("div",{className:"donations__amount donations__custom-amount"},o.M[n].symbol,(0,r.createElement)("div",{className:"donations__amount-value","data-currency":n,"data-empty-text":(0,a.ZP)(100*(0,l.hj)(n),n,{symbol:""})}))),(0,r.createElement)("div",{className:"donations__separator"},"——"),(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:s.extraText}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:c.extraText}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__annual-item",value:u.extraText}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:s.buttonText})),c.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:c.buttonText})),u.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:u.buttonText}))))))}}},53104:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(9818),s=n(65736),l=n(53823),c=n(82116),u=n(83040),p=n(10756);const __=s.__;t.Z=e=>{const{attributes:t,className:n,setAttributes:r}=e,{currency:s}=t,[d,m]=(0,o.useState)(""),[h,f]=(0,o.useState)(!1),[g,b]=(0,o.useState)(!1),[v,k]=(0,o.useState)([]),y=(0,i.useSelect)((e=>e("core/editor").getCurrentPost()),[]);(0,o.useEffect)((()=>{r({fallbackLinkUrl:y.link})}),[y.link,r]);const E=e=>{m(e)},w=e=>e.reduce(((e,t)=>{let{id:n,currency:r,type:a,interval:o}=t;return r===s&&"donation"===a&&(e[o]=n),e}),{}),_=e=>{if(!e&&"object"!=typeof e||e.errors)return void m(__("Could not load data from WordPress.com.","jetpack"));f(e.should_upgrade_to_access_memberships),b(e.connect_url);const t=w(e.products);(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(t)?k(t):e.should_upgrade_to_access_memberships||e.connect_url?k({"one-time":-1,"1 month":-1,"1 year":-1}):(0,u.Z)(s).then((e=>k(w(e))),E)};return(0,o.useEffect)((()=>{(0,p.Z)("donation").then(_,E)}),[s]),d?(0,o.createElement)(c.Z,{className:n,error:d}):(0,o.createElement)(l.Z,a()({},e,{products:v,shouldUpgrade:h,stripeConnectUrl:g}))}},83040:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z=async e=>{try{return await a()({path:"/wpcom/v2/memberships/products",method:"POST",data:{type:"donation",currency:e}})}catch(e){return Promise.reject(e.message)}}},10756:function(e,t,n){"use strict";var r=n(82827),a=n(86989),o=n.n(a),i=n(96483);t.Z=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const{query:t}=(0,r.Qc)(window.location.href,!0),n=(0,i.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===t.origin?"gutenberg-wpcom":"gutenberg",...e&&{type:e}});try{return await o()({path:n,method:"GET"})}catch(e){return Promise.reject(e.message)}}},63445:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},Xd:function(){return c}});var r=n(65736),a=n(53104),o=n(56734),i=n(92202),s=n(51591);const __=r.__,l="donations",c={title:__("Donations","jetpack"),description:__("Collect one-time, monthly, or annually recurring donations.","jetpack"),icon:s.K9,category:"earn",keywords:[__("Donations","jetpack")],supports:{html:!1},edit:a.Z,save:o.Z,example:{},deprecated:[i.Z]}},82116:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=e=>{let{className:t,error:n}=e;return(0,r.createElement)(o.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:n,className:t})}},56734:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t}=e;const{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:s}=t;return o&&o.show&&o.planId&&-1!==o.planId?(0,r.createElement)("div",null,(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:o.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:o.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:o.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:i.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:i.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:i.buttonText})),s.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value: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.buttonText}))):null}},75242:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(9818),i=n(65736),s=n(48387),l=n(17882);const __=i.__;t.Z=e=>{let{activeTab:t,attributes:n,setAttributes:c}=e;const{currency:u,oneTimeDonation:p,monthlyDonation:d,annualDonation:m,showCustomAmount:h,chooseAmountText:f,customAmountText:g}=n,b={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"},v=e=>n[b[t]][e],k=(e,r)=>{const a=b[t],o=n[a];c({[a]:{...o,[e]:r}})},[y,E]=(0,r.useState)(u),w=(0,l.hj)(u),_=(0,r.useMemo)((()=>[10*w,30*w,200*w]),[w]);(0,r.useEffect)((()=>{y!==u&&(E(u),c({oneTimeDonation:{...p,amounts:_},monthlyDonation:{...d,amounts:_},annualDonation:{...m,amounts:_}}))}),[u,y,_,p,d,m,c]);const C=v("amounts"),j=(0,o.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:v("heading"),onChange:e=>k("heading",e)}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:f,onChange:e=>c({chooseAmountText:e})}),(0,r.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,r.createElement)(s.Z,{currency:u,defaultValue:_[t],label:(0,i.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,k("amounts",n)})(e,t),value:e})))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:g,onChange:e=>c({customAmountText:e})}),(0,r.createElement)(s.Z,{currency:u,label:__("Custom amount","jetpack"),defaultValue:100*(0,l.hj)(u),className:"donations__custom-amount",disabled:!0})),(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:v("extraText"),onChange:e=>k("extraText",e)}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper"},(0,r.createElement)(a.RichText,{className:"wp-block-button__link donations__donate-button",placeholder:__("Write a message…","jetpack"),value:v("buttonText"),onChange:e=>{return t=e,void c({oneTimeDonation:{...p,buttonText:t},monthlyDonation:{...d,buttonText:t},annualDonation:{...m,buttonText:t}});var t},allowedFormats:j})))}},53823:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(9818),s=n(65736),l=n(46928),c=n(75242),u=n(43393);const __=s.__;t.Z=e=>{const{attributes:t,className:n,products:a,setAttributes:s,shouldUpgrade:p,stripeConnectUrl:d}=e,{oneTimeDonation:m,monthlyDonation:h,annualDonation:f}=t,[g,b]=(0,r.useState)("one-time"),v=(0,i.useSelect)((e=>e("core/editor").getCurrentPostId()),[]),k=(0,r.useCallback)((e=>g===e),[g]),y={"one-time":{title:__("One-Time","jetpack")},...h.show&&{"1 month":{title:__("Monthly","jetpack")}},...f.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.useEffect)((()=>{m.planId===a["one-time"]&&h.planId===a["1 month"]&&f.planId===a["1 year"]||s({oneTimeDonation:{...m,planId:a["one-time"]},monthlyDonation:{...h,planId:a["1 month"]},annualDonation:{...f,planId:a["1 year"]}})}),[m,h,f,s,a]),(0,r.useEffect)((()=>{!h.show&&k("1 month")&&b("one-time"),!f.show&&k("1 year")&&b("one-time")}),[h,f,b,k]),(0,r.createElement)("div",{className:n},!p&&d&&(0,r.createElement)(u.Z,{blockName:"donations",postId:v,stripeConnectUrl:d}),(0,r.createElement)("div",{className:"donations__container"},Object.keys(y).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(y).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:o()("donations__nav-item",{"is-active":k(t)}),onClick:()=>b(t),onKeyDown:()=>b(t),key:`jetpack-donations-nav-item-${t} `},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)(c.Z,{activeTab:g,attributes:t,setAttributes:s}))),(0,r.createElement)(l.Z,e))}},28559:function(e,t){"use strict";t.Z={url:{type:"string",validator:e=>!e||e.startsWith("http")},eventId:{type:"number"},style:{type:"string",default:"inline"}}},77019:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__,i=e=>{let{setEditingUrl:t}=e;return(0,r.createElement)(a.ToolbarGroup,null,(0,r.createElement)(a.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},48631:function(e,t,n){"use strict";var r=n(61652);t.Z=[r.Z]},61652:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(92819),l=n(4981),c=n(65736);const _x=c._x,u=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius"];t.Z={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 r=n;r||(r=e.useModal?"modal":"inline");const a={...(0,s.omit)(e,["useModal",...u]),className:t&&t.replace("is-style-outline",""),style:r},o=(0,s.pick)(e,u);return[a,[(0,l.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(e){let{attributes:t}=e;const{eventId:n,useModal:a,url:s,style:l}=t;if(n)return a||"modal"===l?function(e){const{backgroundColor:t,borderRadius:n,customBackgroundColor:a,customTextColor:s,eventId:l,text:c,textColor:u,url:p}=e,d=(0,i.getColorClassName)("color",u),m=(0,i.getColorClassName)("background-color",t),h=o()("wp-block-button__link",{"has-text-color":u||s,[d]:d,"has-background":t||a,[m]:m,"no-border-radius":0===n}),f={backgroundColor:m?void 0:a,color:d?void 0:s,borderRadius:n?n+"px":void 0};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{className:h,href:p,id:`eventbrite-widget-${l}`,rel:"noopener noreferrer",role:"button",style:f,tagName:"a",target:"_blank",value:c}))}(t):s&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:s},s)},isEligible:(e,t)=>("modal"===e.style||e.useModal)&&((0,s.isEmpty)(t)||(0,s.some)((0,s.pick)(e,u),Boolean))}},62337:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(45166),u=n(28559),p=n(62194),d=n(14087),m=n(58014),h=n(8964),f=n(72566),g=n(87072),b=n(77019);const __=i.__,_x=i._x;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{editedUrl:this.props.attributes.url||"",editingUrl:!1,isResolvingUrl:!1}),a()(this,"setUrl",(e=>{const{attributes:t,noticeOperations:n,setAttributes:r}=this.props,{style:a}=t;if(!e||c.Q7===e||"modal"===a)return;const o=(0,p.Ve)(e);if(o){const t={eventId:o,url:e};(0,g.Z)(t.url,this.setIsResolvingUrl).then((e=>{const a=(0,d.S)(u.Z,{...t,url:e});r(a),this.setState({editedUrl:e}),n.removeAllNotices()})).catch((()=>{r({eventId:void 0,url:void 0}),this.setErrorNotice()}))}else this.setErrorNotice()})),a()(this,"setIsResolvingUrl",(e=>this.setState({isResolvingUrl:e}))),a()(this,"setEditingUrl",(e=>this.setState({editingUrl:e}))),a()(this,"setErrorNotice",(()=>{const{noticeOperations:e,onReplace:t}=this.props,{editedUrl:n}=this.state;e.removeAllNotices(),e.createErrorNotice((0,o.createElement)(o.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,o.createElement)(s.Button,{isLink:!0,onClick:()=>(0,p.N3)(n,t)},_x("Convert block to link","button label","jetpack"))))})),a()(this,"submitForm",(e=>{e&&e.preventDefault(),this.setUrl((0,p.qq)(this.state.editedUrl)),this.setState({editingUrl:!1})})),a()(this,"cannotEmbed",(()=>{const{url:e}=this.props.attributes,{isResolvingUrl:t}=this.state;return!t&&e&&!c.Wh.test(e)}))}componentDidMount(){const{url:e}=this.props.attributes;this.setUrl(e)}renderLoading(){return(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(s.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack")))}renderInspectorControls(){const{style:e}=this.props.attributes,{attributes:t,clientId:n,setAttributes:r}=this.props,a=[{value:"inline",label:__("In-page Embed","jetpack"),preview:(0,o.createElement)("div",{className:"block-editor-block-preview__container"},(0,o.createElement)("img",{src:h,alt:__("In page Eventbrite checkout example","jetpack")}))},{value:"modal",label:__("Button & Modal","jetpack")}];return(0,o.createElement)(f.Z,{title:_x("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack"),clientId:n,styleOptions:a,onSelectStyle:r,activeStyle:e,attributes:t,viewportWidth:130})}renderEditEmbed(){const{className:e,noticeUI:t}=this.props,{editedUrl:n}=this.state,r=(0,m.Wp)()||(0,m.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.Placeholder,{label:__("Eventbrite Checkout","jetpack"),instructions:__("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:(0,o.createElement)(l.BlockIcon,{icon:c.qv}),notices:t},(0,o.createElement)("form",{onSubmit:this.submitForm},(0,o.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:e=>this.setState({editedUrl:e.target.value})}),(0,o.createElement)(s.Button,{isSecondary:!0,type:"submit"},_x("Embed","submit button label","jetpack"))),(0,o.createElement)("div",{className:"components-placeholder__learn-more"},(0,o.createElement)(s.ExternalLink,{href:r},__("Learn more about Eventbrite embeds","jetpack")))))}renderInlinePreview(){const{className:e}=this.props,{eventId:t}=this.props.attributes;if(!t)return;const n=`eventbrite-widget-${t}`,r=`\n\t\t\t<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ${t},\n\t\t\t\t\tiframeContainerId: '${n}',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id="${n}"></div>\n\t\t`;return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.SandBox,{html:r}),(0,o.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}render(){const{attributes:e}=this.props,{url:t,style:n}=e,{editingUrl:r,isResolvingUrl:a}=this.state;return a?this.renderLoading():r||!t||this.cannotEmbed()?this.renderEditEmbed():(0,o.createElement)(o.Fragment,null,this.renderInspectorControls(),(0,o.createElement)(l.BlockControls,null,(0,o.createElement)(b.J,{setEditingUrl:this.setEditingUrl})),"modal"===n?(0,o.createElement)(l.InnerBlocks,{template:[[c.Ss.name,c.Ss.attributes]],templateLock:"all"}):this.renderInlinePreview())}}t.Z=(0,s.withNotices)(v)},45166:function(e,t,n){"use strict";n.d(t,{Ss:function(){return d},Wh:function(){return m},Q7:function(){return f},u2:function(){return g},qv:function(){return v},Xd:function(){return k}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(28559),l=n(48631),c=n(62337),u=n(74318),p=n(57535);const __=a.__,_x=a._x,d={name:"jetpack/button",attributes:{element:"a",text:_x("Register","verb: e.g. register for an event.","jetpack"),uniqueId:"eventbrite-widget-id"}},m=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,h=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,f="https://www.eventbrite.com/e/test-event-tickets-123456789",g="eventbrite",b=__("Eventbrite Checkout","jetpack"),v=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,{id:"eventbrite-icon"},(0,r.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),k={title:b,description:__("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:{src:v,foreground:(0,p.m)()},category:"embed",keywords:[_x("events","block search term","jetpack"),_x("tickets","block search term","jetpack")],supports:{html:!1,align:!0},attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&(m.test(e.textContent)||h.test(e.textContent)),transform:e=>(0,i.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}]},example:{attributes:{url:f,eventId:123456789,style:"modal"},innerBlocks:[d]},deprecated:l.Z}},74318:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{eventId:n,style:o,url:i}=t;if(n)return"modal"===o?(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null)):i&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:i},i)}},62194:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},Ve:function(){return i},qq:function(){return s}});var r=n(69307),a=n(4981);function o(e,t){const n=(0,r.createElement)("a",{href:e},e);t((0,a.createBlock)("core/paragraph",{content:(0,r.renderToString)(n)}))}function i(e){if(!e)return null;const t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&"string"==typeof e?e.trim():null}},47271:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(4981),u=n(9818);const __=s.__;function p(e){let{onReplace:t}=e;const[n,a]=(0,i.useState)(!1),s=(0,u.useSelect)((e=>e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")));return{isGatheringStorm:n,unleashStorm:(e,n)=>{if((0,r.isEmpty)(e))return;const i=e.match(/^https?:\/\/(?:www\.)?twitter\.com\/([^/]+)\/status\/\d+/);if((0,r.isEmpty)(i))return;const p=i[1];n.removeAllNotices(),a(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/tweetstorm/gather",{url:e})}).then((e=>{if(a(!1),!(0,r.isArray)(e))return void n.createErrorNotice(__("An error occurred. Please try again later.","jetpack"));if((0,r.isEmpty)(e))return void n.createErrorNotice(__("We were unable to get any content from this tweet.","jetpack"));t(e.map((e=>{switch(e.type){case"paragraph":return(0,c.createBlock)("core/paragraph",{content:e.content});case"gallery":return(0,c.createBlock)("core/gallery",{images:e.images});case"image":return(0,c.createBlock)("core/image",{url:e.url,alt:e.alt});case"video":return(0,c.createBlock)("core/video",{src:e.url,caption:e.alt});case"embed":return(0,c.createBlock)("core/embed",{url:e.url})}})));(0,r.some)(s,(e=>"twitter"===e.service_name&&`@${p}`===e.display_name))||(0,u.dispatch)("core/notices").createWarningNotice(__("We were unable to verify that this Twitter thread was published on a Twitter account belonging to you. Please ensure you have permission to reproduce it before publishing.","jetpack")),(0,u.dispatch)("core/notices").createSuccessNotice(__("Twitter thread successfully imported","jetpack"),{type:"snackbar"})})).catch((e=>{a(!1),n.createErrorNotice(e.message)}))}}}},72966:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=(0,r.forwardRef)((function(e,t){let{onSubmit:n,onChange:a,value:i=""}=e;return(0,r.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:n},(0,r.createElement)("input",{type:"text",className:"wp-block-jetpack-gif_input components-placeholder__input",placeholder:__("Enter search terms, e.g. cat…","jetpack"),value:i,onChange:a,ref:t,"aria-labelledby":"wp-block-jetpack-gif_search-button"}),(0,r.createElement)(o.Button,{id:"wp-block-jetpack-gif_search-button",isSecondary:!0,type:"submit"},__("Search","jetpack")))}))},32882:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW"},68055:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(52175);function i(){return(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(a.PanelBody,{className:"components-panel__body-gif-branding"},(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,r.createElement)(a.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,r.createElement)(a.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"}))))}},61796:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(31072),u=n(80917),p=n(72966),d=n(68055),m=n(21835);const __=i.__;t.Z=function(e){let{attributes:t,setAttributes:n,className:a,isSelected:i}=e;const{align:h,caption:f,giphyUrl:g,searchText:b,paddingTop:v}=t,k=o()(a,`align${h}`),[y,E]=(0,r.useState)(!1),w=(0,r.createRef)(),{isFetching:_,giphyData:C,fetchGiphyData:j}=(0,m.Z)(),S=()=>{w.current.focus(),E(!1)};(0,r.useEffect)((()=>{C&&C[0]&&n((0,u.ix)(C[0]))}),[C,n]);const x=e=>{e.preventDefault(),t.searchText&&!_&&j((0,u.Gr)(t.searchText))},T=e=>n({searchText:e.target.value});return(0,r.createElement)("div",{className:k},(0,r.createElement)(d.Z,null),g?(0,r.createElement)("figure",null,i&&(0,r.createElement)(p.Z,{onSubmit:x,onChange:T,value:b,ref:w}),i&&C&&C.length>1&&(0,r.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},C.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,r.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:e.id,onClick:t=>{t.preventDefault(),(e=>{n((0,u.ix)(e))})(e)},style:t})}))),(0,r.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:{paddingTop:v}},(0,r.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:S,onKeyDown:S,role:"button",tabIndex:"0"}),(0,r.createElement)("iframe",{src:g,title:b})),(!l.RichText.isEmpty(f)||i)&&!!g&&(0,r.createElement)(l.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:y,unstableOnFocus:()=>E(!1),onChange:e=>n({caption:e}),placeholder:__("Write caption…","jetpack"),tagName:"figcaption",value:f})):(0,r.createElement)(s.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:c.qv,label:c.TN,instructions:__("Search for a term or paste a Giphy URL","jetpack")},(0,r.createElement)(p.Z,{onSubmit:x,onChange:T,value:b,ref:w})))}},21835:function(e,t,n){"use strict";var r=n(69307);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const[t,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(e),[i,s]=(0,r.useState)("");return(0,r.useEffect)((()=>{if(!i)return;(async()=>{n(!0);const e=await fetch(i).then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json(),n=void 0!==t.data.images?[t.data]:t.data;n[0].images&&o(n)}n(!1)})()}),[i]),{isFetching:t,giphyData:a,fetchGiphyData:s}}},31072:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},TN:function(){return c},qv:function(){return u},Xd:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(61796),s=n(57535);const __=a.__,_x=a._x,l="gif",c=__("GIF","jetpack"),u=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),p={title:c,icon:{src:u,foreground:(0,s.m)()},category:"embed",keywords:[_x("animated","block search term","jetpack"),_x("giphy","block search term","jetpack"),_x("image","block search term","jetpack")],description:__("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:i.Z,save:()=>null,example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}}},80917:function(e,t,n){"use strict";n.d(t,{Gr:function(){return s},ix:function(){return u}});var r=n(32882);const a=e=>`https://api.giphy.com/v1/gifs/search?q=${encodeURIComponent(e)}&api_key=${encodeURIComponent(r.U)}&limit=10`,o=e=>`https://api.giphy.com/v1/gifs/${encodeURIComponent(e)}?api_key=${encodeURIComponent(r.U)}`,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n=e.split(t);return n[n.length-1]},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;e=e.trim();const n=/^https?:\/\/(media\.|i\.)?giphy\.com\/(embed|gifs|media)?\/?([-\w]*)(\/giphy)?(\.gif)?$/,r=e.match(n);return r&&r[3]&&(t=i(r[3],"-")),t?o(t):a(e)},l=e=>`${Math.floor(e.images.original.height/e.images.original.width*100)}%`,c=e=>e?.embed_url,u=e=>({giphyUrl:c(e),paddingTop:l(e)})},76280:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__,_x=o._x;t.Z=e=>{const{className:t,embedValue:n,onChange:o,onSubmit:i}=e;return(0,r.createElement)(a.PanelBody,{title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:i,className:t},(0,r.createElement)("textarea",{type:"text",value:n,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:o}),(0,r.createElement)(a.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack"))))}},53997:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(52175),l=n(90162),c=n(4981),u=n(76280),p=n(54286),d=n(3030),m=n(58014);const __=a.__,_x=a._x;t.Z=(0,i.compose)(o.withNotices,(0,l.withViewportMatch)({isMobile:"< small"}))((function(e){const{attributes:{url:t,height:n},className:a,isMobile:i,isSelected:l,name:h,noticeOperations:f,noticeUI:g,setAttributes:b}=e,[v,k]=(0,r.useState)(t||""),[y,E]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1);(0,r.useEffect)((()=>{!l&&w&&_(!1)}),[l,w]);const C=()=>{_(!0)},j=e=>{e&&e.preventDefault();const t=(0,d.L7)(v.trim());if(!d.Wh.test(t.url))return f.removeAllNotices(),void f.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or Embed Code. Please note, you need to use the 'Public URL' or 'Embed Code', the 'Shareable Link' will not work.","jetpack"));b(t),E(!1),f.removeAllNotices()},S=(0,c.getBlockDefaultClassName)(h),x=`<iframe src="${t}" style="border:0" scrolling="no" frameborder="0" height="${i?"300":n}"></iframe>`,T=(0,r.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/google-calendar/"},__("Enable Permissions for the calendar you want to share","jetpack")),N=(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(u.Z,{className:`${S}-embed-form-sidebar`,embedValue:v,onChange:e=>k(e.target.value),onSubmit:j}));if(y||!t){const e=(0,m.Wp)()||(0,m.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/google-calendar/":"https://jetpack.com/support/jetpack-blocks/google-calendar/";return(0,r.createElement)("div",{className:a},N,(0,r.createElement)(o.Placeholder,{className:a,label:__("Google Calendar","jetpack"),icon:(0,r.createElement)(s.BlockIcon,{icon:p.Z}),instructions:(0,r.createElement)("ol",{className:`${S}-placeholder-instructions`},(0,r.createElement)("li",null,T),(0,r.createElement)("li",null,__("Paste the embed code you copied from your Google Calendar below","jetpack"))),notices:g},(A=`${S}-embed-form-editor`,(0,r.createElement)("form",{onSubmit:j,className:A},(0,r.createElement)("textarea",{type:"text",value:v,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:e=>k(e.target.value)}),(0,r.createElement)(o.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)("div",{className:`${S}-placeholder-links`},(0,r.createElement)(o.ExternalLink,{href:e},__("Learn more","jetpack")))))}var A;return(0,r.createElement)("div",{className:a},N,(0,r.createElement)("div",null,(0,r.createElement)(o.SandBox,{html:x,onFocus:C}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:C})))}))},54286:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"23",viewBox:"0 0 24 23",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19.5,23h-15c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h15c2.2,0,4,1.8,4,4v15C23.5,21.2,21.7,23,19.5,23z M4.5,2 c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2V4c0-1.1-0.9-2-2-2H4.5z M6.9,3.9L6.9,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0C6.5,5.9,6.1,5.5,6.1,5V4.7C6.1,4.3,6.5,3.9,6.9,3.9z M17,3.9L17,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0c-0.5,0-0.9-0.4-0.9-0.9V4.7C16.2,4.3,16.5,3.9,17,3.9z M8.8,17.6c1.8,0,3.2-1,3.2-2.4 c0-1.1-0.7-1.8-1.8-1.9v-0.1c0.9-0.2,1.5-0.9,1.5-1.8c0-1.3-1.2-2.2-2.9-2.2c-1.8,0-2.9,1-3,2.5h1.6c0-0.7,0.6-1.1,1.4-1.1 c0.8,0,1.3,0.4,1.3,1.1c0,0.7-0.5,1.1-1.3,1.1h-1v1.3h1c0.9,0,1.5,0.4,1.5,1.1c0,0.7-0.6,1.2-1.4,1.2c-0.9,0-1.4-0.4-1.5-1.1H5.7 C5.8,16.6,7,17.6,8.8,17.6z M17.6,17.4V9.3h-1.7l-2.1,1.4v1.6l2-1.4h0.1v6.4H17.6z"}))},13984:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p}});var r=n(69307),a=n(65736),o=n(4981),i=n(53997),s=n(3030),l=n(54286),c=n(57535);const __=a.__,_x=a._x,u="google-calendar",p={title:__("Google Calendar","jetpack"),description:__("Embed a Google Calendar","jetpack"),keywords:[_x("events","block search term","jetpack"),_x("dates","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack")],icon:{src:l.Z,foreground:(0,c.m)()},category:"embed",supports:{align:!0,alignWide:!0,html:!1},attributes:{url:{type:"string"},height:{type:"integer",default:600}},edit:i.Z,save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)},transforms:{from:[{type:"shortcode",tag:"googleapps",isMatch:function(e){return"calendar"===e.named.domain},attributes:{url:{type:"string",shortcode:e=>{let{named:{domain:t,dir:n,query:r}}=e;return`https://${t}.google.com/${n}?${r}`}}}},{type:"raw",isMatch:e=>"P"===e.nodeName&&s.Wh.test(e.textContent),transform:e=>(0,o.createBlock)("jetpack/google-calendar",{url:e.textContent.trim()})},{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&s.E6.test(e.innerHTML),transform:e=>{const{url:t,height:n}=(0,s.jj)(e.innerHTML.trim());return(0,o.createBlock)("jetpack/google-calendar",{url:t,height:n})}}]},example:{attributes:{url:"https://calendar.google.com/calendar/embed?src=jb4bu80jirp0u11a6niie21pp4%40group.calendar.google.com&ctz=America/New_York"}}}},3030:function(e,t,n){"use strict";n.d(t,{Wh:function(){return a},E6:function(){return o},jj:function(){return c},L7:function(){return u}});const r="s*https?://calendar.google.com/calendar",a=new RegExp(`^${r}`,"i"),o=new RegExp(`<iframe((?:\\s+\\w+=(['"]).*?\\2)*)\\s+src=(["'])(${r}.*?)\\3((?:\\s+\\w+=(['"]).*?\\6)*)`,"i"),i=new RegExp(`${r}\\?cid=([-A-Za-z0-9+/]+={0,3})`,"i"),s=/\s+(\w+)=(["'])(.*?)\2/gi;function l(e){const t=i.exec(e);if(t)return"https://calendar.google.com/calendar/embed?src="+encodeURIComponent(atob(t[1]))}function c(e){const t=o.exec(e);if(!t)return;const n={};return t.forEach(((e,t)=>{if(0===t)return;if(a.test(e))return void(n.url=e);let r;for(;null!==(r=s.exec(e));)n[r[1]]=r[3]})),{url:n.url,width:n.width,height:n.height}}function u(e){return o.test(e)?c(e):i.test(e)?{url:l(e)}:{url:e}}},74956:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{attributes:t,setAttributes:n}=e;const{orientation:o}=t;return(0,r.createElement)(a.PanelBody,{title:__("Orientation","jetpack")},(0,r.createElement)(a.RadioControl,{selected:o||"horizontal",options:[{label:__("Side by side","jetpack"),value:"horizontal"},{label:__("Above and below","jetpack"),value:"vertical"}],onChange:e=>n({orientation:e})}))}},38544:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(94333),s=n(65736),l=n(5968),c=n(74956),u=n(91667),p=n(12379);n(728);const __=s.__;t.Z=e=>{let{attributes:t,className:n,clientId:s,isSelected:d,setAttributes:m}=e;const{imageBefore:h,imageAfter:f,caption:g,orientation:b}=t;let v=null,k=null;const y=(0,r.useRef)();i.useResizeObserver&&([v,k]=(0,i.useResizeObserver)(),(0,p.Z)((e=>{e>0&&"undefined"!=typeof juxtapose&&juxtapose.sliders&&juxtapose.sliders.forEach((t=>{t.wrapper.parentElement.id===s&&t.optimizeWrapper(e)}))}),200,k.width));const E=h&&h.url&&f&&f.url?"image-compare__comparison juxtapose":"image-compare__placeholder";return(0,r.useLayoutEffect)((()=>{h.url&&f.url&&"undefined"!=typeof juxtapose&&juxtapose.makeSlider(y?.current)}),[h,f,b]),(0,r.createElement)("figure",{className:n,id:s},v,(0,r.createElement)(a.InspectorControls,{key:"controls"},(0,r.createElement)(c.Z,{attributes:t,setAttributes:m})),(0,r.createElement)("div",{ref:y,className:E,"data-mode":b||"horizontal"},(0,r.createElement)(o.Placeholder,{label:null},(0,r.createElement)("div",{className:"image-compare__image-before"},(0,r.createElement)(u.Z,{image:{id:h.id,url:h.url,alt:h.alt},placeHolderLabel:__("Image before","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=i?.width)&&void 0!==t?t:e.width,c=null!==(n=i?.height)&&void 0!==n?n:e.height;m({imageBefore:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})),(0,r.createElement)("div",{className:"image-compare__image-after"},(0,r.createElement)(u.Z,{image:{id:f.id,url:f.url,alt:f.alt},placeHolderLabel:__("Image after","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=i?.width)&&void 0!==t?t:e.width,c=null!==(n=i?.height)&&void 0!==n?n:e.height;m({imageAfter:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})))),(!a.RichText.isEmpty(g)||d&&h.url&&f.url)&&(0,r.createElement)(a.RichText,{tagName:"figcaption",placeholder:__("Write caption","jetpack"),value:g,onChange:e=>m({caption:e}),inlineToolbar:!0}))}},94703:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M21 4h-6v1.5h6c.3 0 .5.2.5.5v.4l-3.6 3.5L15 8.1v1.8l2.6 1.7c.1.1.3.1.4.1.2 0 .4-.1.5-.2l3-2.9V18c0 .3-.2.5-.5.5h-6V20h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM1 6v12c0 1.1.9 2 2 2h10.5V4H3c-1.1 0-2 .9-2 2zm11 12.5H3c-.3 0-.5-.2-.5-.5v-1.4L5 14.7l1.5-1.1.1-.1 3 1.9c.1.1.3.1.4.1.2 0 .4-.1.5-.2L12 14v4.5zm0-6.6l-2.1 2L7 12c-.1-.1-.3-.1-.4-.1h-.1c-.1 0-.3.1-.4.1l-1.1.9-2.5 1.8V6c0-.3.2-.5.5-.5h9v6.4z"}))},91667:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(55609);t.Z=(0,a.compose)([i.withNotices])((e=>{const{image:t,noticeOperations:n,noticeUI:a,onChange:i,placeHolderLabel:s}=e,l=(0,r.createElement)("img",{id:t.id,src:t.url,alt:t.alt}),c=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.MediaPlaceholder,{labels:{title:s},accept:"image/*",allowedTypes:["image"],onSelect:i,onError:e=>n.createErrorNotice(e),notices:a}));return t&&t.url?l:c}))},1624:function(e,t,n){"use strict";n.d(t,{u:function(){return p},X:function(){return d}});var r=n(65736),a=n(38544),o=n(94703),i=n(31105),s=n(90767),l=n(58632),c=n(20510),u=n(57535);const __=r.__,_x=r._x,p="image-compare",d={title:__("Image Compare","jetpack"),description:__("Compare two images with a slider. Works best with images of the same size.","jetpack"),icon:{src:o.Z,foreground:(0,u.m)()},category:(0,c.Z)("media","layout"),keywords:[_x("juxtapose","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("side by side","block search term","jetpack"),_x("slider","block search term","jetpack")],attributes:{imageBefore:{type:"object",default:{}},imageAfter:{type:"object",default:{}},caption:{type:"string"},orientation:{type:"string",default:"horizontal"}},example:{attributes:{imageBefore:{id:1,url:l,alt:__("Before","jetpack")},imageAfter:{id:2,url:s,alt:__("After","jetpack")},caption:__("Example image","jetpack")}},edit:a.Z,save:i.Z}},31105:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t,className:n}=e;const{imageBefore:o,imageAfter:i,caption:s,orientation:l}=t;return(0,r.createElement)("figure",{className:n},(0,r.createElement)("div",{className:"juxtapose","data-mode":l||"horizontal"},(0,r.createElement)("img",{id:o.id,src:o.url,alt:o.alt,width:o.width,height:o.height,className:"image-compare__image-before"}),(0,r.createElement)("img",{id:i.id,src:i.url,alt:i.alt,width:i.width,height:i.height,className:"image-compare__image-after"})),!a.RichText.isEmpty(s)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:s}))}},12379:function(e,t,n){"use strict";var r=n(69307);t.Z=(e,t,n)=>{(0,r.useEffect)((()=>{const r=setTimeout((()=>e(n)),t);return()=>clearTimeout(r)}),[n])}},728:function(e,t,n){"use strict";var r=n(47701);n.n(r)()((function(){const e={sliders:[],OPTIMIZATION_ACCEPTED:1,OPTIMIZATION_WAS_CONSTRAINED:2};function t(e,t){const n=this;this.image=new Image,this.loaded=!1,this.image.onload=function(){n.loaded=!0,t._onLoaded()},this.image.src=e.src,this.image.alt=e.alt||"",this.label=e.label||!1}function n(e,t){e&&e.classList.add(t)}function r(e,t){e&&e.classList.remove(t)}function a(e){return{width:parseInt(window.getComputedStyle(e).width,10),height:parseInt(window.getComputedStyle(e).height,10)}}function o(e,t){let n;if("string"==typeof t||"number"==typeof t)n=parseInt(t,10);else{const r=e.getBoundingClientRect(),a={top:r.top+document.body.scrollTop+document.documentElement.scrollTop,left:r.left+document.body.scrollLeft+document.documentElement.scrollLeft},o=e.offsetWidth;n=(function(e){let t;return t=e.pageX?e.pageX:e.touches?e.touches[0].pageX:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,t}(t)-a.left)/o*100}return n}function i(e,t,n){let r;if("string"==typeof t||"number"==typeof t)r=parseInt(t,10);else{const a=e.getBoundingClientRect(),o={top:a.top+n.body.scrollTop+n.documentElement.scrollTop,left:a.left+n.body.scrollLeft+n.documentElement.scrollLeft},i=e.offsetHeight;r=(function(e){let t;return t=e.pageY?e.pageY:e.touches?e.touches[0].pageY:e.clientY+document.body.scrollTop+document.documentElement.scrollTop,t}(t)-o.top)/i*100}return r}const s={animate:!0,showLabels:!0,makeResponsive:!0};function l(e,n,r){let a;for(a in this.element=e,this.options={animate:!0,showLabels:!0,makeResponsive:!0,startingPosition:"50%",mode:"horizontal",callback:null},this.options)a in r&&(this.options[a]=a in s?"string"!=typeof(o=r[a])?Boolean(o):!("false"===o||""===o):r[a]);var o;2===n.length&&(this.imgBefore=new t(n[0],this),this.imgAfter=new t(n[1],this))}l.prototype={updateSlider:function(e,t){let a;a="vertical"===this.options.mode?i(this.slider,e,this.sliderParentDocument):o(this.slider,e),a=a.toFixed(2)+"%";const s=parseFloat(a),l=100-s+"%";s>0&&s<100&&(r(this.handle,"transition"),r(this.rightImage,"transition"),r(this.leftImage,"transition"),this.options.animate&&t&&(n(this.handle,"transition"),n(this.leftImage,"transition"),n(this.rightImage,"transition")),"vertical"===this.options.mode?(this.handle.style.top=a,this.leftImage.style.height=a,this.rightImage.style.height=l):(this.handle.style.left=a,this.leftImage.style.width=a,this.rightImage.style.width=l),this.sliderPosition=a)},getPosition:function(){return this.sliderPosition},displayLabel:function(e,t){const n=document.createElement("div");n.className="jx-label",n.setAttribute("tabindex",0),function(e,t){document.body.textContent?e.textContent=t:e.innerText=t}(n,t),e.appendChild(n)},setStartingPosition:function(e){this.options.startingPosition=e},calculateDims:function(e,t){const n=(r=this.imgBefore.image,{width:r.naturalWidth,height:r.naturalHeight,aspect:function(){return this.width/this.height}}).aspect();var r;return e?t=e/n:t&&(e=t*n),{width:e,height:t,ratio:n}},responsivizeIframe:function(e){return e.height<window.innerHeight?e.ratio>=1&&(this.wrapper.style.paddingTop=parseInt((window.innerHeight-e.height)/2)+"px"):e.height>window.innerHeight&&(e=this.calculateDims(0,window.innerHeight),this.wrapper.style.paddingLeft=parseInt((window.innerWidth-e.width)/2)+"px"),e},setWrapperDimensions:function(){const e=a(this.wrapper.parentNode).width,t=a(this.wrapper.parentNode).height;let n=this.calculateDims(e,t);window.location===window.parent.location||this.options.makeResponsive||(n=this.responsivizeIframe(n)),this.wrapper.style.height=parseInt(n.height)+"px",this.wrapper.style.width=parseInt(n.width)+"px"},optimizeWrapper:function(t){let n=e.OPTIMIZATION_ACCEPTED;return this.imgBefore.image.naturalWidth>=t&&this.imgAfter.image.naturalWidth>=t?(this.wrapper.style.width=t+"px",n=e.OPTIMIZATION_WAS_CONSTRAINED):this.imgAfter.image.naturalWidth<t?this.wrapper.style.width=this.imgAfter.image.naturalWidth+"px":this.wrapper.style.width=this.imgBefore.image.naturalWidth+"px",this.setWrapperDimensions(),n},_onLoaded:function(){if(this.imgBefore&&!0===this.imgBefore.loaded&&this.imgAfter&&!0===this.imgAfter.loaded){if(this.wrapper=this.element,!this.wrapper||this.wrapper.querySelector(".jx-slider"))return;n(this.wrapper,"juxtapose"),this.wrapper.style.width=this.imgBefore.image.naturalWidth,this.setWrapperDimensions(),this.slider=document.createElement("div"),this.slider.className="jx-slider",this.wrapper.appendChild(this.slider),this.sliderParentDocument=this.wrapper.ownerDocument,"horizontal"!==this.options.mode&&n(this.slider,this.options.mode),this.handle=document.createElement("div"),this.handle.className="jx-handle",this.rightImage=document.createElement("div"),this.rightImage.className="jx-image jx-right",this.rightImage.appendChild(this.imgAfter.image),this.leftImage=document.createElement("div"),this.leftImage.className="jx-image jx-left",this.leftImage.appendChild(this.imgBefore.image),this.slider.appendChild(this.handle),this.slider.appendChild(this.leftImage),this.slider.appendChild(this.rightImage),this.leftArrow=document.createElement("div"),this.rightArrow=document.createElement("div"),this.control=document.createElement("div"),this.controller=document.createElement("div"),this.leftArrow.className="jx-arrow jx-left",this.rightArrow.className="jx-arrow jx-right",this.control.className="jx-control",this.controller.className="jx-controller",this.controller.setAttribute("tabindex",0),this.controller.setAttribute("role","slider"),this.controller.setAttribute("aria-valuenow",50),this.controller.setAttribute("aria-valuemin",0),this.controller.setAttribute("aria-valuemax",100),this.controller.setAttribute("aria-label",window.imageCompareHandle?.msg||"Slide to compare images"),this.handle.appendChild(this.leftArrow),this.handle.appendChild(this.control),this.handle.appendChild(this.rightArrow),this.control.appendChild(this.controller),this._init()}},_init:function(){this.updateSlider(this.options.startingPosition,!1),!0===this.options.showLabels&&(this.imgBefore.label&&this.displayLabel(this.leftImage,this.imgBefore.label),this.imgAfter.label&&this.displayLabel(this.rightImage,this.imgAfter.label));const t=this;window.addEventListener("resize",(function(){t.setWrapperDimensions()})),this.slider.addEventListener("mousedown",(function(e){e.preventDefault(),t.updateSlider(e,!0);let n=!0;this.addEventListener("mousemove",(function(e){e.preventDefault(),n&&t.updateSlider(e,!1)})),this.addEventListener("mouseup",(function(e){e.preventDefault(),e.stopPropagation(),n=!1}))})),this.slider.addEventListener("touchstart",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!0),this.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!1)}))})),this.handle.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;let r=parseFloat(this.style.left);if(37===n){r-=1;const e=parseFloat(this.style.left)-1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}if(39===n){r+=1;const e=parseFloat(this.style.left)+1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}})),this.leftImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("90%",!0),t.controller.setAttribute("aria-valuenow",91))})),this.rightImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("10%",!0),t.controller.setAttribute("aria-valuenow",10))})),e.sliders.push(this),this.options.callback&&"function"==typeof this.options.callback&&this.options.callback(this)}},e.makeSlider=function(t,r){void 0===r&&(r=e.sliders.length);const a=t,o=a.querySelectorAll("img");if(o.length<2)return;const i={};a.getAttribute("data-animate")&&(i.animate=a.getAttribute("data-animate")),a.getAttribute("data-showlabels")&&(i.showLabels=a.getAttribute("data-showlabels")),a.getAttribute("data-startingposition")&&(i.startingPosition=a.getAttribute("data-startingposition")),a.getAttribute("data-mode")&&(i.mode=a.getAttribute("data-mode")),a.getAttribute("data-makeresponsive")&&(i.mode=a.getAttribute("data-makeresponsive"));return n(t,"juxtapose-"+r),a.innerHTML?a.innerHTML="":a.innerText="",new e.JXSlider(t,[{src:o[0].src,label:o[0].getAttribute("data-label"),alt:o[0].alt},{src:o[1].src,label:o[1].getAttribute("data-label"),alt:o[1].alt}],i)},e.scanPage=function(){const t=document.querySelectorAll(".juxtapose");for(let n=0;n<t.length;n++)e.makeSlider(t[n],n)},e.JXSlider=l,window.juxtapose=e,e.scanPage()}))},18776:function(e,t){"use strict";t.Z={accessToken:{type:"string"},instagramUser:{type:"string"},columns:{type:"number",default:3,min:1,max:6},count:{type:"number",default:9,min:1,max:30},spacing:{type:"number",default:10,min:0,max:50},isStackedOnMobile:{type:"boolean",default:!0}}},14937:function(e,t,n){"use strict";n.d(t,{u:function(){return r},D:function(){return a}});const r=30,a="jetpack-new-instagram-connection"},3802:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(14937);const __=o.__,_n=o._n;function s(e){let{accountImageTotal:t,attributes:n,currentUserConnected:s,disconnectFromService:l,shouldRenderSidebarNotice:c,setAttributes:u}=e;const{accessToken:p,columns:d,count:m,instagramUser:h,isStackedOnMobile:f,spacing:g}=n;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelBody,{title:__("Account Settings","jetpack")},(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("span",null,__("Account","jetpack")),(0,r.createElement)(a.ExternalLink,{href:`https://www.instagram.com/${h}/`},"@",h)),s&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isDestructive:!0,isLink:!0,onClick:()=>l(p)},__("Disconnect your account","jetpack")))),(0,r.createElement)(a.PanelBody,{title:__("Display Settings","jetpack")},c?(()=>{const e=t?(0,o.sprintf)(
+__("%s are not a valid email address.","jetpack"),e.join(", "))}return null})()),(0,r.createElement)(h.TextControl,{label:__("Email subject line","jetpack"),value:t,placeholder:__("Enter a subject","jetpack"),onChange:e=>n({subject:e}),help:__("Choose a subject line that you recognize as an email from your website.","jetpack")}),(0,r.createElement)(h.SelectControl,{label:__("On Submission","jetpack"),value:I,options:[{label:__("Show a summary of submitted fields","jetpack"),value:""},{label:__("Show a custom text message","jetpack"),value:"message"},{label:__("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:e=>n({customThankyou:e})}),"redirect"!==I&&(0,r.createElement)(h.TextControl,{label:__("Message Heading","jetpack"),value:R,placeholder:__("Message Sent","jetpack"),onChange:e=>n({customThankyouHeading:e})}),"message"===I&&(0,r.createElement)(h.TextareaControl,{label:__("Message Text","jetpack"),value:L,placeholder:__("Thank you for your submission!","jetpack"),onChange:e=>n({customThankyouMessage:e})}),"redirect"===I&&(0,r.createElement)(h.BaseControl,{label:__("Redirect Address","jetpack"),id:`contact-form-${S}-thankyou-url`},(0,r.createElement)(m.URLInput,{id:`contact-form-${S}-thankyou-url`,value:B,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>n({customThankyouRedirect:e})})))};return!E&&u.registerBlockVariation?(0,r.createElement)("div",{className:O},(0,r.createElement)(m.__experimentalBlockVariationPicker,{icon:(0,a.get)(x,["icon","src"]),label:(0,a.get)(x,["title"]),instructions:__("Please select which type of form you'd like to add, or create your own using the skip option.","jetpack"),variations:P,allowSkip:!0,onSelect:function(){U(arguments.length>0&&void 0!==arguments[0]?arguments[0]:T)}})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.BlockControls,null,(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(h.ToolbarItem,null,(()=>(0,r.createElement)(h.Dropdown,{position:"bottom right",className:"jetpack-contact-form-settings-selector",contentClassName:"jetpack-contact-form__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(h.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("Edit Form Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==d.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,r.createElement)(h.Icon,{icon:"edit"})}))(t,n)},renderContent:()=>H()}))))),(0,r.createElement)(m.InspectorControls,null,(0,r.createElement)(h.PanelBody,{title:__("Form Settings","jetpack")},H()),!(0,f.Wp)()&&(0,r.createElement)(r.Fragment,null,N&&(0,r.createElement)(v.Z,{jetpackCRM:Z,setAttributes:n}),(0,r.createElement)(k.Z,null))),(0,r.createElement)("div",{className:O},(0,r.createElement)(m.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))}))},6528:function(e,t,n){"use strict";n.d(t,{Nk:function(){return x},Xd:function(){return w},u2:function(){return y}});var r=n(69307),a=n(65736),o=n(4981),i=n(55609),s=n(52175),l=n(8565),c=n(99837),u=n(14142),p=n(4901),d=n(62992),m=n(47081),h=n(92158),f=n(55740),g=n(26838),b=n(36598),v=n(70355),k=n(82150);const __=a.__,_x=a._x,y="contact-form",E=(0,b.Z)((0,r.createElement)(i.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 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-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),w={title:__("Form","jetpack"),description:__("A simple way to get feedback from folks visiting your site.","jetpack"),icon:{src:E,foreground:(0,v.m)()},keywords:[_x("email","block search term","jetpack"),_x("feedback","block search term","jetpack"),_x("contact form","block search term","jetpack")],supports:{color:{link:!0,gradients:!0},html:!1,spacing:{padding:!0,margin:!0}},attributes:c.Z,edit:l.Z,save:()=>{const e=s.useBlockProps.save();return(0,r.createElement)("div",e,(0,r.createElement)(s.InnerBlocks.Content,null))},variations:u.Z,category:"grow",transforms:d.Z,deprecated:p.Z},_={category:"grow",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],isMatch:e=>{let{options:t}=e;return!t.length},transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-checkbox-multiple",e)},{type:"block",blocks:["jetpack/field-radio"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-radio",e)},{type:"block",blocks:["jetpack/field-select"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-select",e)},{type:"block",blocks:["jetpack/field-consent"],isMatch:e=>{let{options:t}=e;return 1<=t.length},transform:e=>(0,o.createBlock)("jetpack/field-consent",e)}]},save:()=>null,example:{}},C=e=>{let{attributes:t,name:n}=e;return null===t.label?(0,o.getBlockType)(n).title:t.label},S=e=>t=>(0,r.createElement)(m.Z,{type:e,label:C(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width}),j=e=>t=>(0,r.createElement)(g.Z,{label:C(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width}),x=[{name:"field-text",settings:{..._,title:__("Text","jetpack"),description:__("When you need just a small amount of text, add a text input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:S("text")}},{name:"field-name",settings:{..._,title:__("Name","jetpack"),description:__("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:S("text")}},{name:"field-email",settings:{..._,title:__("Email","jetpack"),keywords:[__("e-mail","jetpack"),__("mail","jetpack"),"email"],description:__("Want to reply to folks? Add an email address input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:S("email")}},{name:"field-url",settings:{..._,title:__("Website","jetpack"),keywords:["url",__("internet page","jetpack"),"link"],description:__("Add an address input for a website.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:S("url")}},{name:"field-date",settings:{..._,title:__("Date Picker","jetpack"),keywords:[__("Calendar","jetpack"),_x("day month year","block search term","jetpack")],description:__("The best way to set a date. Add a date picker.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:S("text")}},{name:"field-telephone",settings:{..._,title:__("Phone Number","jetpack"),keywords:[__("Phone","jetpack"),__("Cellular phone","jetpack"),__("Mobile","jetpack")],description:__("Add a phone number input.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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"})),edit:S("tel")}},{name:"field-textarea",settings:{..._,title:__("Message","jetpack"),keywords:[__("Textarea","jetpack"),"textarea",__("Multiline text","jetpack")],description:__("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:e=>(0,r.createElement)(h.Z,{label:C(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})}},{name:"field-checkbox",settings:{..._,title:__("Checkbox","jetpack"),keywords:[__("Confirm","jetpack"),__("Accept","jetpack")],description:__("Add a single checkbox.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),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-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:e=>(0,r.createElement)(f.Z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width}),attributes:{..._.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{..._,title:__("Consent","jetpack"),keywords:[__("Consent","jetpack")],description:__("Ask for consent","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"m81 370h142v40h-142zm0-39h142v-40h-142zm0-79h245v-40h-245zm378 260h-40c0-40.253906-32.746094-73-73-73s-73 32.746094-73 73h-40c0-42.085938 23.128906-78.867188 57.34375-98.3125-11.40625-13.023438-18.34375-30.054688-18.34375-48.6875 0-40.804688 33.195312-74 74-74s74 33.195312 74 74c0 18.632812-6.9375 35.664062-18.34375 48.6875 34.214844 19.445312 57.34375 56.226562 57.34375 98.3125zm-113-113c18.746094 0 34-15.253906 34-34s-15.253906-34-34-34-34 15.253906-34 34 15.253906 34 34 34zm-286 73h138.316406c-3.460937 12.757812-5.316406 26.164062-5.316406 40h-133c-33.085938 0-60-26.914062-60-60v-392c0-33.085938 26.914062-60 60-60h203.757812l142.132813 142.855469v125.210937c-12.042969-7.476562-25.453125-12.765625-39.890625-15.324218v-81.632813h-71.109375c-33.085937 0-60-26.914063-60-60v-71.109375h-174.890625c-11.027344 0-20 8.972656-20 20v392c0 11.027344 8.972656 20 20 20zm234.890625-340.890625h42.972656l-62.972656-63.234375v43.234375c0 11.03125 8.96875 20 20 20zm0 0"}),24,25,"-26 0 512 512"),attributes:{..._.attributes,label:{type:"string",default:__("Consent","jetpack")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack")}},edit:e=>{let{attributes:t,isSelected:n,setAttributes:a}=e;const{id:o,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c}=t;return(0,r.createElement)(k.Z,{id:o,isSelected:n,width:i,consentType:s,implicitConsentMessage:l,explicitConsentMessage:c,setAttributes:a})}}},{name:"field-checkbox-multiple",settings:{..._,title:__("Checkbox Group","jetpack"),keywords:[__("Choose Multiple","jetpack"),__("Option","jetpack")],description:__("People love options. Add several checkbox items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:j("checkbox"),attributes:{..._.attributes,label:{type:"string",default:"Choose several"}}}},{name:"field-radio",settings:{..._,title:__("Radio","jetpack"),keywords:[__("Choose","jetpack"),__("Select","jetpack"),__("Option","jetpack")],description:__("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,r.createElement)(i.Circle,{cx:"12",cy:"12",r:"5"}))),edit:j("radio"),attributes:{..._.attributes,label:{type:"string",default:"Choose one"}}}},{name:"field-select",settings:{..._,title:__("Select","jetpack"),keywords:[__("Choose","jetpack"),__("Dropdown","jetpack"),__("Option","jetpack")],description:__("Compact, but powerful. Add a select box with several items.","jetpack"),icon:(0,b.Z)((0,r.createElement)(i.Path,{fill:(0,v.m)(),d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:j("select"),attributes:{..._.attributes,label:{type:"string",default:"Select one"}}}}]},62992:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=(e,t,n)=>{const r=n.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(r&&r.length)return r[1];const a=n.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(a&&a.length)return a[1];const o=n.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!o||!o.length)&&o[1]},s={root:{},innerBlocks:[]};t.Z={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("<br>","");if(t.includes("[contact-form")&&(s.root={},s.innerBlocks=[],s.root=(e=>{const t={to:i("contact-form","to",e),subject:i("contact-form","subject",e),submitButtonText:i("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,r.pickBy)(t,r.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{s.innerBlocks.push((e=>{const t={label:i("contact-field","label",e),placeholder:i("contact-field","placeholder",e),required:i("contact-field","required",e),options:i("contact-field","options",e)},n=(e=>{const t={text:"jetpack/field-text",url:"jetpack/field-text",textarea:"jetpack/field-textarea",radio:"jetpack/field-radio",checkbox:"jetpack/field-checkbox","checkbox-multiple":"jetpack/field-checkbox-multiple",select:"jetpack/field-select",email:"jetpack/field-email",name:"jetpack/field-name",default:"jetpack/field-text"};return t[e]?t[e]:t.default})(i("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(n,(0,r.pickBy)(t,r.identity))})(e))}))}if(t.includes("[/contact-form]")){s.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:s.root.attrs.submitButtonText||__("Contact Us","jetpack")}));return(0,a.createBlock)(s.root.blockName,s.root.attrs,s.innerBlocks)}return!1}}]}},14142:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(13419),i=n(65736),s=n(55609),l=n(36598),c=n(70355);const __=i.__,u=(0,a.compact)([{name:"contact-form",title:__("Contact Form","jetpack"),description:__("Add a contact form to your page.","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M21.99 8c0-.72-.37-1.35-.94-1.7l-8.04-4.71c-.62-.37-1.4-.37-2.02 0L2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zm-11.05 4.34l-7.2-4.5 7.25-4.25c.62-.37 1.4-.37 2.02 0l7.25 4.25-7.2 4.5c-.65.4-1.47.4-2.12 0z"}),48,48,"-4 -4 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-textarea",{}],["jetpack/button",{text:__("Contact Us","jetpack"),element:"button"}]]},!(0,o.Wp)()&&{name:"newsletter-form",title:__("Newsletter Sign-up","jetpack"),description:__("A simple way to collect information from folks visiting your site.","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M37.9999 7.59998C49.3999 7.59998 68.3999 26.6 68.3999 26.6V68.4H7.59985V26.6C7.59985 26.6 26.5999 7.59998 37.9999 7.59998ZM64.5999 63.536L50.4259 52.44L64.5999 41.8L62.9659 40.394L54.3779 45.334L55.2899 28.956L21.9639 26.98L20.2159 44.232L12.6539 40.622L11.3999 41.8L25.5739 52.44L12.5019 63.27L14.0219 64.904L37.9999 49.4L62.8139 65.17L64.5999 63.536Z"}),48,48,"-6 -6 92 92"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack"),element:"button"}]]},{name:"rsvp-form",title:__("RSVP Form","jetpack"),description:__("Add an RSVP form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M10 9V7.41c0-.89-1.08-1.34-1.71-.71L3.7 11.29c-.39.39-.39 1.02 0 1.41l4.59 4.59c.63.63 1.71.19 1.71-.7V14.9c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Attending?","jetpack"),required:!0,options:[__("Yes","jetpack"),__("No","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send RSVP","jetpack"),element:"button"}]],attributes:{subject:__("A new RSVP from your website","jetpack")}},{name:"registration-form",title:__("Registration Form","jetpack"),description:__("Add a Registration form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M11.34 15.02c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95zm2.12-10.61L17 7.95l-4.95 4.95-3.54-3.54 4.95-4.95zm6.95 11l-2.12-2.12c-.18-.18-.44-.29-.7-.29h-.27l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2h-.42c-.27 0-.52.11-.71.29l-2.12 2.12c-.37.38-.58.89-.58 1.42V20c0 1.1.9 2 2 2h14c1.1 0 2-.89 2-2v-3.17c0-.53-.21-1.04-.59-1.42z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{label:__("Phone Number","jetpack")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack"),options:[__("Search Engine","jetpack"),__("Social Media","jetpack"),__("TV","jetpack"),__("Radio","jetpack"),__("Friend or Family","jetpack")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack")}],["jetpack/button",{text:__("Send","jetpack"),element:"button"}]],attributes:{subject:__("A new registration from your website","jetpack")}},{name:"appointment-form",title:__("Appointment Form","jetpack"),description:__("Add an Appointment booking form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V8c0-.55-.45-1-1-1s-1 .45-1 1v2H2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1H6zm9 4c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-telephone",{required:!0}],["jetpack/field-date",{label:__("Date","jetpack"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack"),required:!0,options:[__("Morning","jetpack"),__("Afternoon","jetpack")]}],["jetpack/field-textarea",{label:__("Notes","jetpack")}],["jetpack/button",{text:__("Book Appointment","jetpack"),element:"button"}]],attributes:{subject:__("A new appointment booked from your website","jetpack")}},{name:"feedback-form",title:__("Feedback Form","jetpack"),description:__("Add a Feedback form to your page","jetpack"),icon:(0,l.Z)((0,r.createElement)(s.Path,{fill:(0,c.m)(),d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.03 0 3.8-1.11 4.75-2.75.19-.33-.05-.75-.44-.75H7.69c-.38 0-.63.42-.44.75.95 1.64 2.72 2.75 4.75 2.75z"}),48,48,"-4 -3 32 32"),innerBlocks:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-radio",{label:__("Please rate our website","jetpack"),required:!0,options:[__("1 - Very Bad","jetpack"),__("2 - Poor","jetpack"),__("3 - Average","jetpack"),__("4 - Good","jetpack"),__("5 - Excellent","jetpack")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack")}],["jetpack/button",{text:__("Send Feedback","jetpack"),element:"button"}]],attributes:{subject:__("New feedback received from your website","jetpack")}}]);t.Z=u},36553:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(52175),l=n(55609),c=n(35208);const __=i.__;class u extends r.Component{constructor(){super(...arguments),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"!==e.key||e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:a,region:i,postal:u,country:p,linkToGoogleMaps:d},isSelected:m,setAttributes:h}=this.props,f=[e,t,n,a,i,u,p].some((e=>""!==e)),g=o()({"jetpack-address-block":!0,"is-selected":m}),b=(0,r.createElement)(l.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:d,onChange:e=>h({linkToGoogleMaps:e})});return(0,r.createElement)("div",{className:g},!m&&f&&(0,c.Z)(this.props),(m||!f)&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>h({address:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>h({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>h({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:a,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>h({city:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:i,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>h({region:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:u,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>h({postal:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(s.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>h({country:e}),onKeyDown:this.preventEnterKey}),b))}}t.Z=u},11005:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(36553),s=n(35208),l=n(36598);const __=a.__,_x=a._x,c="address",u={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,l.Z)((0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.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)(o.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:i.Z,save:s.Z}},35208:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:a,city:o,region:i,postal:s,country:l}}=e;return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},t),n&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},n),a&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(i||s)&&(0,r.createElement)("div",{className:"jetpack-address__city"},o),o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__city"},o),", ",(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(i||s)&&(0,r.createElement)("div",null,[(0,r.createElement)("span",{className:"jetpack-address__region"},i)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&(0,r.createElement)("div",{className:"jetpack-address__country"},l))},i=e=>{let{attributes:{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}}=e;let l=o?`+${o},`:"";l=i?`${l}+${i}`:l;return`https://www.google.com/maps/search/${t?`${t},`:""}${n?`${n},`:""}${r?`${r},`:""}${a?`+${a},`:""}${l}${s?`+${s}`:""}`.replace(" ","+")};t.Z=e=>(e=>{let{address:t,addressLine2:n,addressLine3:r,city:a,region:o,postal:i,country:s}=e;return[t,n,r,a,o,i,s].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))},83238:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(65235),i=n.n(o);const s=["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"]];t.Z=e=>{const{isSelected:t}=e;return(0,r.createElement)("div",{className:i()({"jetpack-contact-info-block":!0,"is-selected":t})},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:s,templateLock:!1,template:l}))}},31336:function(e,t,n){"use strict";var r=n(90458),a=n(66425),o=n(65736);const __=o.__;t.Z=e=>{const{setAttributes:t}=e;return(0,a.Z)("email",e,__("Email","jetpack"),r.Z,(e=>t({email:e})))}},99804:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(31336),s=n(36598),l=n(90458);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z,parent:["jetpack/contact-info"]}},90458:function(e,t,n){"use strict";var r=n(69307),a=n(92384);t.Z=e=>{let{attributes:{email:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},t.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&a.validate(n)?e===n?(0,r.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,r.createElement)(r.Fragment,{key:t},(0,r.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,r.createElement)(r.Fragment,null,e.slice(-(e.length-n.length)))):(0,r.createElement)(r.Fragment,{key:t},e)})))}},64446:function(e,t,n){"use strict";n.d(t,{Nk:function(){return b},Xd:function(){return g},u2:function(){return h}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(4981),l=n(83238),c=n(36598),u=n(11005),p=n(99804),d=n(52398),m=n(70355);const __=a.__,_x=a._x,h="contact-info",f=(0,c.Z)((0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),g={title:__("Contact Info","jetpack"),description:__("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[_x("email","block search term","jetpack"),_x("phone","block search term","jetpack"),_x("address","block search term","jetpack")],icon:{src:f,foreground:(0,m.m)()},category:"grow",supports:{align:["wide","full"],html:!1,color:{link:!0,gradients:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"widget_contact_info"===t},transform:e=>{let{instance:t}=e,n=[(0,s.createBlock)("core/heading",{content:t.raw.title}),(0,s.createBlock)("jetpack/email",{email:t.raw.email}),(0,s.createBlock)("jetpack/phone",{phone:t.raw.phone}),(0,s.createBlock)("jetpack/address",{address:t.raw.address})];return t.raw.hours&&(n=[...n,(0,s.createBlock)("core/paragraph",{content:t.raw.hours})]),t.raw.showmap&&t.raw.address&&(n=[...n,(0,s.createBlock)("jetpack/map",{address:t.raw.address})]),(0,s.createBlock)("jetpack/contact-info",{},n)}}]},attributes:{},edit:l.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},b=[{name:u.u,settings:u.X},{name:p.u,settings:p.X},{name:d.u,settings:d.X}]},70835:function(e,t,n){"use strict";var r=n(65736),a=n(21621),o=n(66425);const __=r.__;t.Z=e=>{const{setAttributes:t}=e;return(0,o.Z)("phone",e,__("Phone number","jetpack"),a.Z,(e=>t({phone:e})))}},52398:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(70835),s=n(36598),l=n(21621);const __=a.__,_x=a._x,c="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,s.Z)((0,r.createElement)(o.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:l.Z}},21621:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{attributes:{phone:t},className:n}=e;return t&&(0,r.createElement)("div",{className:n},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,o=n?e.substring(0,n):"",i=a.replace(/\D/g,"");return/[0-9/+/(]/.test(a[0])?(o=o.slice(0,-1),"+"===a[0]&&(i="+"+i)):a=a.substring(1),[o.trim()?(0,r.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},o):null,(0,r.createElement)("a",{key:"phoneNumber",href:`tel:${i}`},a)]}(t))}},10764:function(e,t,n){"use strict";var r=n(69307),a=n(25607),o=n(43317),i=n(65235),s=n.n(i),l=n(52175),c=n(79162);t.Z=e=>{let{className:t=null,currency:n=null,defaultValue:i=null,disabled:u=!1,label:p="",onChange:d=null,value:m=""}=e;const[h,f]=(0,r.useState)((0,a.ZP)(m,n,{symbol:""})),[g,b]=(0,r.useState)(!1),[v,k]=(0,r.useState)(!1),y=(0,r.useRef)(null),E=(0,r.useCallback)((e=>{if(f(e),!d)return;const t=(0,c.Vm)(e,n);t&&t>=(0,c.hj)(n)?(d(t),k(!1)):e&&k(!0)}),[n,d]),w=()=>{y.current&&(y.current.focus(),b(!0))};return(0,r.useEffect)((()=>{y.current&&y.current.addEventListener("blur",(()=>b(!1)))}),[y]),(0,r.useEffect)((()=>{g||h||E((0,a.ZP)(i,n,{symbol:""}))}),[n,i,h,g,E]),(0,r.useEffect)((()=>{g||v||f((0,a.ZP)(m,n,{symbol:""}))}),[n,g,v,E,m]),(0,r.createElement)("div",{className:s()("donations__amount",t,{"has-focus":g,"has-error":v}),role:"button",tabIndex:0,onClick:w,onKeyDown:w},o.M[n].symbol,u?(0,r.createElement)("div",{className:"donations__amount-value"},(0,a.ZP)(m||i,n,{symbol:""})):(0,r.createElement)(l.RichText,{allowedFormats:[],"aria-label":p,multiline:!1,onChange:e=>E(e),placeholder:(0,a.ZP)(i,n,{symbol:""}),ref:y,value:h,withoutInteractiveFormatting:!0}))}},82275:function(e,t,n){"use strict";var r=n(69307),a=n(43317),o=n(13419),i=n(52175),s=n(55609),l=n(65736),c=n(39630),u=n(79162);const __=l.__;t.Z=e=>{const{attributes:t,setAttributes:n}=e,{currency:l,monthlyDonation:p,annualDonation:d,showCustomAmount:m}=t,h=(e,r)=>{const a={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],o=t[a];n({[a]:{...o,show:r}})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(s.Dropdown,{contentClassName:"jetpack-donations__currency-popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(s.Button,{className:"jetpack-donations__currency-toggle",icon:(0,r.createElement)(r.Fragment,null,l+" - "+a.M[l].symbol,(0,r.createElement)(s.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:t,onKeyDown:e=>{n||e.keyCode!==c.DOWN||(e.preventDefault(),e.stopPropagation(),t())}})},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(s.MenuGroup,null,Object.keys(u.ck).map((e=>(0,r.createElement)(s.MenuItem,{isSelected:e===l,onClick:()=>{n({currency:e}),t()},key:`jetpack-donations-currency-${e}`},e+" - "+a.M[e].symbol))))}}))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.ToggleControl,{checked:p.show,onChange:e=>h("1 month",e),label:__("Show monthly donations","jetpack")}),(0,r.createElement)(s.ToggleControl,{checked:d.show,onChange:e=>h("1 year",e),label:__("Show annual donations","jetpack")}),(0,r.createElement)(s.ToggleControl,{checked:m,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,r.createElement)(s.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,o.lQ)()}`},__("View donation earnings","jetpack")))))}},853:function(e,t,n){"use strict";var r=n(69307),a=n(25607),o=n(43317),i=n(52175),s=n(65736),l=n(79162);const __=s.__;t.Z={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:e=>{let{attributes:t}=e;const{currency:n,oneTimeDonation:s,monthlyDonation:c,annualDonation:u,showCustomAmount:p,chooseAmountText:d,customAmountText:m}=t;if(!s||!s.show||-1===s.planId)return null;const h={"one-time":{title:__("One-Time","jetpack")},...c.show&&{"1 month":{title:__("Monthly","jetpack")}},...u.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"donations__container"},Object.keys(h).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(h).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${t} `,"data-interval":t},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:s.heading}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:c.heading}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:u.heading}),(0,r.createElement)(i.RichText.Content,{tagName:"p",value:d}),(0,r.createElement)("div",{className:"donations__amounts donations__one-time-item"},s.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),c.show&&(0,r.createElement)("div",{className:"donations__amounts donations__monthly-item"},c.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),u.show&&(0,r.createElement)("div",{className:"donations__amounts donations__annual-item"},u.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.ZP)(e,n))))),p&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.RichText.Content,{tagName:"p",value:m}),(0,r.createElement)("div",{className:"donations__amount donations__custom-amount"},o.M[n].symbol,(0,r.createElement)("div",{className:"donations__amount-value","data-currency":n,"data-empty-text":(0,a.ZP)(100*(0,l.hj)(n),n,{symbol:""})}))),(0,r.createElement)("div",{className:"donations__separator"},"——"),(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:s.extraText}),c.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:c.extraText}),u.show&&(0,r.createElement)(i.RichText.Content,{tagName:"p",className:"donations__annual-item",value:u.extraText}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:s.buttonText})),c.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:c.buttonText})),u.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,r.createElement)(i.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:u.buttonText}))))))}}},86245:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(9818),s=n(65736),l=n(72833),c=n(24177),u=n(21789),p=n(85731),d=n(74251),m=n(23267);const __=s.__;t.Z=e=>{const{attributes:t,className:n,setAttributes:r}=e,{currency:s}=t,[h,f]=(0,o.useState)(""),[g,b]=(0,o.useState)([]),v=(0,i.useSelect)((e=>e("core/editor").getCurrentPost()),[]),{setShouldUpgrade:k,setConnectUrl:y}=(0,i.useDispatch)(m.G4);(0,o.useEffect)((()=>{r({fallbackLinkUrl:v.link})}),[v.link,r]);const E=e=>{f(e)},w=e=>e.reduce(((e,t)=>{let{id:n,currency:r,type:a,interval:o}=t;return r===s&&"donation"===a&&(e[o]=n),e}),{}),_=e=>{if(!e&&"object"!=typeof e||e.errors)return void f(__("Could not load data from WordPress.com.","jetpack"));k(e.should_upgrade_to_access_memberships),y((0,d.Z)(v.id,e.connect_url));const t=w(e.products);(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(t)?b(t):e.should_upgrade_to_access_memberships||e.connect_url?b({"one-time":-1,"1 month":-1,"1 year":-1}):(0,u.Z)(s).then((e=>b(w(e))),E)};return(0,o.useEffect)((()=>{(0,p.Z)("donation").then(_,E)}),[s]),h?(0,o.createElement)(c.Z,{className:n,error:h}):(0,o.createElement)(l.Z,a()({},e,{products:g}))}},21789:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z=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)}}},85731:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(96483);t.Z=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=new URLSearchParams(window.location.search),n=(0,o.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)}}},29800:function(e,t,n){"use strict";n.d(t,{Xd:function(){return c},u2:function(){return l}});var r=n(65736),a=n(86245),o=n(75314),i=n(853),s=n(81427);const __=r.__,_x=r._x,l="donations",c={title:__("Donations Form","jetpack"),description:__("Collect one-time, monthly, or annually recurring donations.","jetpack"),icon:s.K9,category:"earn",keywords:[_x("charity","block search term","jetpack"),_x("contribution","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("donate","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),_x("fundraising","block search term","jetpack"),_x("fundraiser","block search term","jetpack"),"gofundme",_x("money","block search term","jetpack"),_x("nonprofit","block search term","jetpack"),_x("non-profit","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("recurring","block search term","jetpack"),"stripe",_x("sponsor","block search term","jetpack"),"square",_x("tipping","block search term","jetpack"),"venmo"],supports:{html:!1},edit:a.Z,save:o.Z,example:{},deprecated:[i.Z]}},24177:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=e=>{let{className:t,error:n}=e;return(0,r.createElement)(o.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:n,className:t})}},75314:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t}=e;const{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:s}=t;return o&&o.show&&o.planId&&-1!==o.planId?(0,r.createElement)("div",null,(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:o.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:o.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:o.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:i.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:i.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:i.buttonText})),s.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value: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.buttonText}))):null}},91757:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(9818),i=n(65736),s=n(10764),l=n(79162);const __=i.__;t.Z=e=>{let{activeTab:t,attributes:n,setAttributes:c}=e;const{currency:u,oneTimeDonation:p,monthlyDonation:d,annualDonation:m,showCustomAmount:h,chooseAmountText:f,customAmountText:g}=n,b={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"},v=e=>n[b[t]][e],k=(e,r)=>{const a=b[t],o=n[a];c({[a]:{...o,[e]:r}})},[y,E]=(0,r.useState)(u),w=(0,l.hj)(u),_=(0,r.useMemo)((()=>[10*w,30*w,200*w]),[w]);(0,r.useEffect)((()=>{y!==u&&(E(u),c({oneTimeDonation:{...p,amounts:_},monthlyDonation:{...d,amounts:_},annualDonation:{...m,amounts:_}}))}),[u,y,_,p,d,m,c]);const C=v("amounts"),S=(0,o.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:v("heading"),onChange:e=>k("heading",e)}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:f,onChange:e=>c({chooseAmountText:e})}),(0,r.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,r.createElement)(s.Z,{currency:u,defaultValue:_[t],label:(0,i.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,k("amounts",n)})(e,t),value:e})))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:g,onChange:e=>c({customAmountText:e})}),(0,r.createElement)(s.Z,{currency:u,label:__("Custom amount","jetpack"),defaultValue:100*(0,l.hj)(u),className:"donations__custom-amount",disabled:!0})),(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:v("extraText"),onChange:e=>k("extraText",e)}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper"},(0,r.createElement)(a.RichText,{className:"wp-block-button__link donations__donate-button",placeholder:__("Write a message…","jetpack"),value:v("buttonText"),onChange:e=>{return t=e,void c({oneTimeDonation:{...p,buttonText:t},monthlyDonation:{...d,buttonText:t},annualDonation:{...m,buttonText:t}});var t},allowedFormats:S})))}},72833:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(82275),l=n(91757),c=n(16367);const __=i.__;t.Z=e=>{const{attributes:t,className:n,products:a,setAttributes:i}=e,{oneTimeDonation:u,monthlyDonation:p,annualDonation:d}=t,[m,h]=(0,r.useState)("one-time"),f=(0,r.useCallback)((e=>m===e),[m]),g={"one-time":{title:__("One-Time","jetpack")},...p.show&&{"1 month":{title:__("Monthly","jetpack")}},...d.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.useEffect)((()=>{u.planId===a["one-time"]&&p.planId===a["1 month"]&&d.planId===a["1 year"]||i({...a["one-time"]&&{oneTimeDonation:{...u,planId:a["one-time"]}},...a["1 month"]&&{monthlyDonation:{...p,planId:a["1 month"]}},...a["1 year"]&&{annualDonation:{...d,planId:a["1 year"]}}})}),[u,p,d,i,a]),(0,r.useEffect)((()=>{!p.show&&f("1 month")&&h("one-time"),!d.show&&f("1 year")&&h("one-time")}),[p,d,h,f]),(0,r.createElement)("div",{className:n},(0,r.createElement)(c.U,{blockName:"donations"}),(0,r.createElement)("div",{className:"donations__container"},Object.keys(g).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(g).map((e=>{let[t,{title:n}]=e;return(0,r.createElement)("div",{role:"button",tabIndex:0,className:o()("donations__nav-item",{"is-active":f(t)}),onClick:()=>h(t),onKeyDown:()=>h(t),key:`jetpack-donations-nav-item-${t} `},n)}))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)(l.Z,{activeTab:m,attributes:t,setAttributes:i}))),(0,r.createElement)(s.Z,e))}},2785:function(e,t){"use strict";t.Z={url:{type:"string",validator:e=>!e||e.startsWith("http")},eventId:{type:"number"},style:{type:"string",default:"inline"}}},6949:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__,i=e=>{let{setEditingUrl:t}=e;return(0,r.createElement)(a.ToolbarGroup,null,(0,r.createElement)(a.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},1344:function(e,t,n){"use strict";var r=n(24717);t.Z=[r.Z]},24717:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(92819),l=n(4981),c=n(65736);const _x=c._x,u=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius"];t.Z={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 r=n;r||(r=e.useModal?"modal":"inline");const a={...(0,s.omit)(e,["useModal",...u]),className:t&&t.replace("is-style-outline",""),style:r},o=(0,s.pick)(e,u);return[a,[(0,l.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(e){let{attributes:t}=e;const{eventId:n,useModal:a,url:s,style:l}=t;if(n)return a||"modal"===l?function(e){const{backgroundColor:t,borderRadius:n,customBackgroundColor:a,customTextColor:s,eventId:l,text:c,textColor:u,url:p}=e,d=(0,i.getColorClassName)("color",u),m=(0,i.getColorClassName)("background-color",t),h=o()("wp-block-button__link",{"has-text-color":u||s,[d]:d,"has-background":t||a,[m]:m,"no-border-radius":0===n}),f={backgroundColor:m?void 0:a,color:d?void 0:s,borderRadius:n?n+"px":void 0};return(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)(i.RichText.Content,{className:h,href:p,id:`eventbrite-widget-${l}`,rel:"noopener noreferrer",role:"button",style:f,tagName:"a",target:"_blank",value:c}))}(t):s&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:s},s)},isEligible:(e,t)=>("modal"===e.style||e.useModal)&&((0,s.isEmpty)(t)||(0,s.some)((0,s.pick)(e,u),Boolean))}},16078:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(13419),u=n(75334),p=n(2785),d=n(77825),m=n(4554),h=n(8964),f=n(57538),g=n(23621),b=n(6949);const __=i.__,_x=i._x;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{editedUrl:this.props.attributes.url||"",editingUrl:!1,isResolvingUrl:!1}),a()(this,"setUrl",(e=>{const{attributes:t,noticeOperations:n,setAttributes:r}=this.props,{style:a}=t;if(!e||u.Q7===e||"modal"===a)return;const o=(0,d.Ve)(e);if(o){const t={eventId:o,url:e};(0,g.Z)(t.url,this.setIsResolvingUrl).then((e=>{const a=(0,m.S)(p.Z,{...t,url:e});r(a),this.setState({editedUrl:e}),n.removeAllNotices()})).catch((()=>{r({eventId:void 0,url:void 0}),this.setErrorNotice()}))}else this.setErrorNotice()})),a()(this,"setIsResolvingUrl",(e=>this.setState({isResolvingUrl:e}))),a()(this,"setEditingUrl",(e=>this.setState({editingUrl:e}))),a()(this,"setErrorNotice",(()=>{const{noticeOperations:e,onReplace:t}=this.props,{editedUrl:n}=this.state;e.removeAllNotices(),e.createErrorNotice((0,o.createElement)(o.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,o.createElement)(s.Button,{variant:"link",onClick:()=>(0,d.N3)(n,t)},_x("Convert block to link","button label","jetpack"))))})),a()(this,"submitForm",(e=>{e&&e.preventDefault(),this.setUrl((0,d.qq)(this.state.editedUrl)),this.setState({editingUrl:!1})})),a()(this,"cannotEmbed",(()=>{const{url:e}=this.props.attributes,{isResolvingUrl:t}=this.state;return!t&&e&&!u.Wh.test(e)}))}componentDidMount(){const{url:e}=this.props.attributes;this.setUrl(e)}renderLoading(){return(0,o.createElement)("div",{className:"wp-block-embed is-loading"},(0,o.createElement)(s.Spinner,null),(0,o.createElement)("p",null,__("Embedding…","jetpack")))}renderInspectorControls(){const{style:e}=this.props.attributes,{attributes:t,clientId:n,setAttributes:r}=this.props,a=[{value:"inline",label:__("In-page Embed","jetpack"),preview:(0,o.createElement)("div",{className:"block-editor-block-preview__container"},(0,o.createElement)("img",{src:h,alt:__("In page Eventbrite checkout example","jetpack")}))},{value:"modal",label:__("Button & Modal","jetpack")}];return(0,o.createElement)(f.Z,{title:_x("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack"),clientId:n,styleOptions:a,onSelectStyle:r,activeStyle:e,attributes:t,viewportWidth:130})}renderEditEmbed(){const{className:e,noticeUI:t}=this.props,{editedUrl:n}=this.state,r=(0,c.Wp)()||(0,c.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.Placeholder,{label:__("Eventbrite Checkout","jetpack"),instructions:__("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:u.qv,notices:t},(0,o.createElement)("form",{onSubmit:this.submitForm},(0,o.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:e=>this.setState({editedUrl:e.target.value})}),(0,o.createElement)(s.Button,{variant:"secondary",type:"submit"},_x("Embed","submit button label","jetpack"))),(0,o.createElement)("div",{className:"components-placeholder__learn-more"},(0,o.createElement)(s.ExternalLink,{href:r},__("Learn more about Eventbrite embeds","jetpack")))))}renderInlinePreview(){const{className:e}=this.props,{eventId:t}=this.props.attributes;if(!t)return;const n=`eventbrite-widget-${t}`,r=`\n\t\t\t<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ${t},\n\t\t\t\t\tiframeContainerId: '${n}',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id="${n}"></div>\n\t\t`;return(0,o.createElement)("div",{className:e},(0,o.createElement)(s.SandBox,{html:r}),(0,o.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}render(){const{attributes:e}=this.props,{url:t,style:n}=e,{editingUrl:r,isResolvingUrl:a}=this.state;return a?this.renderLoading():r||!t||this.cannotEmbed()?this.renderEditEmbed():(0,o.createElement)(o.Fragment,null,this.renderInspectorControls(),(0,o.createElement)(l.BlockControls,null,(0,o.createElement)(b.J,{setEditingUrl:this.setEditingUrl})),"modal"===n?(0,o.createElement)(l.InnerBlocks,{template:[[u.Ss.name,u.Ss.attributes]],templateLock:"all"}):this.renderInlinePreview())}}t.Z=(0,s.withNotices)(v)},75334:function(e,t,n){"use strict";n.d(t,{Q7:function(){return f},Ss:function(){return d},Wh:function(){return m},Xd:function(){return k},qv:function(){return v},u2:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(2785),l=n(1344),c=n(16078),u=n(86435),p=n(70355);const __=a.__,_x=a._x,d={name:"jetpack/button",attributes:{element:"a",text:_x("Register","verb: e.g. register for an event.","jetpack"),uniqueId:"eventbrite-widget-id"}},m=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,h=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,f="https://www.eventbrite.com/e/test-event-tickets-123456789",g="eventbrite",b=__("Eventbrite Checkout","jetpack"),v=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,{id:"eventbrite-icon"},(0,r.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),k={title:b,description:__("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:{src:v,foreground:(0,p.m)()},category:"embed",keywords:[_x("events","block search term","jetpack"),_x("tickets","block search term","jetpack")],supports:{html:!1,align:!0},attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&(m.test(e.textContent)||h.test(e.textContent)),transform:e=>(0,i.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}]},example:{attributes:{url:f,eventId:123456789,style:"modal"},innerBlocks:[d]},deprecated:l.Z}},86435:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{eventId:n,style:o,url:i}=t;if(n)return"modal"===o?(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null)):i&&(0,r.createElement)("a",{className:"eventbrite__direct-link",href:i},i)}},77825:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},Ve:function(){return i},qq:function(){return s}});var r=n(69307),a=n(4981);function o(e,t){const n=(0,r.createElement)("a",{href:e},e);t((0,a.createBlock)("core/paragraph",{content:(0,r.renderToString)(n)}))}function i(e){if(!e)return null;const t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&"string"==typeof e?e.trim():null}},13306:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(4981),u=n(9818);const __=s.__;function p(e){let{onReplace:t}=e;const[n,a]=(0,i.useState)(!1),s=(0,u.useSelect)((e=>e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")));return{isGatheringStorm:n,unleashStorm:(e,n)=>{if((0,r.isEmpty)(e))return;const i=e.match(/^https?:\/\/(?:www\.)?twitter\.com\/([^/]+)\/status\/\d+/);if((0,r.isEmpty)(i))return;const p=i[1];n.removeAllNotices(),a(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/tweetstorm/gather",{url:e})}).then((e=>{if(a(!1),!(0,r.isArray)(e))return void n.createErrorNotice(__("An error occurred. Please try again later.","jetpack"));if((0,r.isEmpty)(e))return void n.createErrorNotice(__("We were unable to get any content from this tweet.","jetpack"));t(e.map((e=>{switch(e.type){case"paragraph":return(0,c.createBlock)("core/paragraph",{content:e.content});case"gallery":return(0,c.createBlock)("core/gallery",{images:e.images});case"image":return(0,c.createBlock)("core/image",{url:e.url,alt:e.alt});case"video":return(0,c.createBlock)("core/video",{src:e.url,caption:e.alt});case"embed":return(0,c.createBlock)("core/embed",{url:e.url})}})));(0,r.some)(s,(e=>"twitter"===e.service_name&&`@${p}`===e.display_name))||(0,u.dispatch)("core/notices").createWarningNotice(__("We were unable to verify that this Twitter thread was published on a Twitter account belonging to you. Please ensure you have permission to reproduce it before publishing.","jetpack")),(0,u.dispatch)("core/notices").createSuccessNotice(__("Twitter thread successfully imported","jetpack"),{type:"snackbar"})})).catch((e=>{a(!1),n.createErrorNotice(e.message)}))}}}},12084:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__;t.Z=(0,r.forwardRef)((function(e,t){let{onSubmit:n,onChange:a,value:i=""}=e;return(0,r.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:n},(0,r.createElement)("input",{type:"text",className:"wp-block-jetpack-gif_input components-placeholder__input",placeholder:__("Enter search terms, e.g. cat…","jetpack"),value:i,onChange:a,ref:t,"aria-labelledby":"wp-block-jetpack-gif_search-button"}),(0,r.createElement)(o.Button,{id:"wp-block-jetpack-gif_search-button",variant:"secondary",type:"submit"},__("Search","jetpack")))}))},72844:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW"},57852:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(52175);function i(){return(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(a.PanelBody,{className:"components-panel__body-gif-branding"},(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,r.createElement)(a.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,r.createElement)(a.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"}))))}},61266:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(25073),u=n(80163),p=n(12084),d=n(57852),m=n(27147);const __=i.__;t.Z=function(e){let{attributes:t,setAttributes:n,className:a,isSelected:i}=e;const{align:h,caption:f,giphyUrl:g,searchText:b,paddingTop:v}=t,k=o()(a,`align${h}`),[y,E]=(0,r.useState)(!1),w=(0,r.createRef)(),{isFetching:_,giphyData:C,fetchGiphyData:S}=(0,m.Z)(),j=()=>{w.current.focus(),E(!1)};(0,r.useEffect)((()=>{C&&C[0]&&n((0,u.ix)(C[0]))}),[C,n]);const x=e=>{e.preventDefault(),t.searchText&&!_&&S((0,u.Gr)(t.searchText))},P=e=>n({searchText:e.target.value});return(0,r.createElement)("div",{className:k},(0,r.createElement)(d.Z,null),g?(0,r.createElement)("figure",null,i&&(0,r.createElement)(p.Z,{onSubmit:x,onChange:P,value:b,ref:w}),i&&C&&C.length>1&&(0,r.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},C.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,r.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:e.id,onClick:t=>{t.preventDefault(),(e=>{n((0,u.ix)(e))})(e)},style:t})}))),(0,r.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:{paddingTop:v}},(0,r.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:j,onKeyDown:j,role:"button",tabIndex:"0"}),(0,r.createElement)("iframe",{src:g,title:b})),(!l.RichText.isEmpty(f)||i)&&!!g&&(0,r.createElement)(l.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:y,unstableOnFocus:()=>E(!1),onChange:e=>n({caption:e}),placeholder:__("Write caption…","jetpack"),tagName:"figcaption",value:f})):(0,r.createElement)(s.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:c.qv,label:c.TN,instructions:__("Search for a term or paste a Giphy URL","jetpack")},(0,r.createElement)(p.Z,{onSubmit:x,onChange:P,value:b,ref:w})))}},27147:function(e,t,n){"use strict";var r=n(69307);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const[t,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(e),[i,s]=(0,r.useState)("");return(0,r.useEffect)((()=>{if(!i)return;(async()=>{n(!0);const e=await fetch(i).then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json(),n=void 0!==t.data.images?[t.data]:t.data;n[0].images&&o(n)}n(!1)})()}),[i]),{isFetching:t,giphyData:a,fetchGiphyData:s}}},25073:function(e,t,n){"use strict";n.d(t,{TN:function(){return c},Xd:function(){return p},qv:function(){return u},u2:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(61266),s=n(70355);const __=a.__,_x=a._x,l="gif",c=__("GIF","jetpack"),u=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),p={title:c,icon:{src:u,foreground:(0,s.m)()},category:"embed",keywords:[_x("animated","block search term","jetpack"),_x("giphy","block search term","jetpack"),_x("image","block search term","jetpack")],description:__("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:i.Z,save:()=>null,example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}}},80163:function(e,t,n){"use strict";n.d(t,{Gr:function(){return s},ix:function(){return u}});var r=n(72844);const a=e=>`https://api.giphy.com/v1/gifs/search?q=${encodeURIComponent(e)}&api_key=${encodeURIComponent(r.U)}&limit=10`,o=e=>`https://api.giphy.com/v1/gifs/${encodeURIComponent(e)}?api_key=${encodeURIComponent(r.U)}`,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n=e.split(t);return n[n.length-1]},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;e=e.trim();const n=/^https?:\/\/(media\.|i\.)?giphy\.com\/(embed|gifs|media)?\/?([-\w]*)(\/giphy)?(\.gif)?$/,r=e.match(n);return r&&r[3]&&(t=i(r[3],"-")),t?o(t):a(e)},l=e=>`${Math.floor(e.images.original.height/e.images.original.width*100)}%`,c=e=>null==e?void 0:e.embed_url,u=e=>({giphyUrl:c(e),paddingTop:l(e)})},4966:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736);const __=o.__,_x=o._x;t.Z=e=>{const{className:t,embedValue:n,onChange:o,onSubmit:i}=e;return(0,r.createElement)(a.PanelBody,{title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:i,className:t},(0,r.createElement)("textarea",{type:"text",value:n,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:o}),(0,r.createElement)(a.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack"))))}},81907:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(52175),l=n(90162),c=n(4981),u=n(13419),p=n(4966),d=n(47875),m=n(4525);const __=a.__,_x=a._x;t.Z=(0,i.compose)(o.withNotices,(0,l.withViewportMatch)({isMobile:"< small"}))((function(e){const{attributes:{url:t,height:n},className:a,isMobile:i,isSelected:l,name:h,noticeOperations:f,noticeUI:g,setAttributes:b}=e,[v,k]=(0,r.useState)(t||""),[y,E]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1);(0,r.useEffect)((()=>{!l&&w&&_(!1)}),[l,w]);const C=()=>{_(!0)},S=e=>{e&&e.preventDefault();const t=(0,m.L7)(v.trim());if(!m.Wh.test(t.url))return f.removeAllNotices(),void f.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or Embed Code. Please note, you need to use the 'Public URL' or 'Embed Code', the 'Shareable Link' will not work.","jetpack"));b(t),E(!1),f.removeAllNotices()},j=(0,c.getBlockDefaultClassName)(h),x=`<iframe src="${t}" style="border:0" scrolling="no" frameborder="0" height="${i?"300":n}"></iframe>`,P=(0,r.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/google-calendar/"},__("Enable Permissions for the calendar you want to share","jetpack")),T=(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(p.Z,{className:`${j}-embed-form-sidebar`,embedValue:v,onChange:e=>k(e.target.value),onSubmit:S}));if(y||!t){const e=(0,u.Wp)()||(0,u.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/google-calendar/":"https://jetpack.com/support/jetpack-blocks/google-calendar/";return(0,r.createElement)("div",{className:a},T,(0,r.createElement)(o.Placeholder,{className:a,label:__("Google Calendar","jetpack"),icon:d.Z,instructions:(0,r.createElement)("ol",{className:`${j}-placeholder-instructions`},(0,r.createElement)("li",null,P),(0,r.createElement)("li",null,__("Paste the embed code you copied from your Google Calendar below","jetpack"))),notices:g},(N=`${j}-embed-form-editor`,(0,r.createElement)("form",{onSubmit:S,className:N},(0,r.createElement)("textarea",{type:"text",value:v,className:"components-placeholder__input","aria-label":__("Google Calendar URL or iframe","jetpack"),placeholder:__("Enter URL or iframe to embed here…","jetpack"),onChange:e=>k(e.target.value)}),(0,r.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)("div",{className:`${j}-placeholder-links`},(0,r.createElement)(o.ExternalLink,{href:e},__("Learn more","jetpack")))))}var N;return(0,r.createElement)("div",{className:a},T,(0,r.createElement)("div",null,(0,r.createElement)(o.SandBox,{html:x,onFocus:C}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:C})))}))},47875:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"23",viewBox:"0 0 24 23",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19.5,23h-15c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h15c2.2,0,4,1.8,4,4v15C23.5,21.2,21.7,23,19.5,23z M4.5,2 c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2V4c0-1.1-0.9-2-2-2H4.5z M6.9,3.9L6.9,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0C6.5,5.9,6.1,5.5,6.1,5V4.7C6.1,4.3,6.5,3.9,6.9,3.9z M17,3.9L17,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0c-0.5,0-0.9-0.4-0.9-0.9V4.7C16.2,4.3,16.5,3.9,17,3.9z M8.8,17.6c1.8,0,3.2-1,3.2-2.4 c0-1.1-0.7-1.8-1.8-1.9v-0.1c0.9-0.2,1.5-0.9,1.5-1.8c0-1.3-1.2-2.2-2.9-2.2c-1.8,0-2.9,1-3,2.5h1.6c0-0.7,0.6-1.1,1.4-1.1 c0.8,0,1.3,0.4,1.3,1.1c0,0.7-0.5,1.1-1.3,1.1h-1v1.3h1c0.9,0,1.5,0.4,1.5,1.1c0,0.7-0.6,1.2-1.4,1.2c-0.9,0-1.4-0.4-1.5-1.1H5.7 C5.8,16.6,7,17.6,8.8,17.6z M17.6,17.4V9.3h-1.7l-2.1,1.4v1.6l2-1.4h0.1v6.4H17.6z"}))},13839:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(4981),i=n(81907),s=n(4525),l=n(47875),c=n(70355);const __=a.__,_x=a._x,u="google-calendar",p={title:__("Google Calendar","jetpack"),description:__("Embed a Google Calendar","jetpack"),keywords:[_x("events","block search term","jetpack"),_x("dates","block search term","jetpack"),_x("schedule","block search term","jetpack"),_x("appointments","block search term","jetpack")],icon:{src:l.Z,foreground:(0,c.m)()},category:"embed",supports:{align:!0,alignWide:!0,html:!1},attributes:{url:{type:"string"},height:{type:"integer",default:600}},edit:i.Z,save:e=>{let{attributes:{url:t}}=e;return(0,r.createElement)("a",{href:t},t)},transforms:{from:[{type:"shortcode",tag:"googleapps",isMatch:function(e){return"calendar"===e.named.domain},attributes:{url:{type:"string",shortcode:e=>{let{named:{domain:t,dir:n,query:r}}=e;return`https://${t}.google.com/${n}?${r}`}}}},{type:"raw",isMatch:e=>"P"===e.nodeName&&s.Wh.test(e.textContent),transform:e=>(0,o.createBlock)("jetpack/google-calendar",{url:e.textContent.trim()})},{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&s.E6.test(e.innerHTML),transform:e=>{const{url:t,height:n}=(0,s.jj)(e.innerHTML.trim());return(0,o.createBlock)("jetpack/google-calendar",{url:t,height:n})}}]},example:{attributes:{url:"https://calendar.google.com/calendar/embed?src=jb4bu80jirp0u11a6niie21pp4%40group.calendar.google.com&ctz=America/New_York"}}}},4525:function(e,t,n){"use strict";n.d(t,{E6:function(){return o},L7:function(){return u},Wh:function(){return a},jj:function(){return c}});const r="s*https?://calendar.google.com/calendar",a=new RegExp(`^${r}`,"i"),o=new RegExp(`<iframe((?:\\s+\\w+=(['"]).*?\\2)*)\\s+src=(["'])(${r}.*?)\\3((?:\\s+\\w+=(['"]).*?\\6)*)`,"i"),i=new RegExp(`${r}\\?cid=([-A-Za-z0-9+/]+={0,3})`,"i"),s=/\s+(\w+)=(["'])(.*?)\2/gi;function l(e){const t=i.exec(e);if(t)return"https://calendar.google.com/calendar/embed?src="+encodeURIComponent(atob(t[1]))}function c(e){const t=o.exec(e);if(!t)return;const n={};return t.forEach(((e,t)=>{if(0===t)return;if(a.test(e))return void(n.url=e);let r;for(;null!==(r=s.exec(e));)n[r[1]]=r[3]})),{url:n.url,width:n.width,height:n.height}}function u(e){return o.test(e)?c(e):i.test(e)?{url:l(e)}:{url:e}}},76579:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{attributes:t,setAttributes:n}=e;const{orientation:o}=t;return(0,r.createElement)(a.PanelBody,{title:__("Orientation","jetpack")},(0,r.createElement)(a.RadioControl,{selected:o||"horizontal",options:[{label:__("Side by side","jetpack"),value:"horizontal"},{label:__("Above and below","jetpack"),value:"vertical"}],onChange:e=>n({orientation:e})}))}},63157:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(94333),s=n(65736),l=n(13369),c=n(76579),u=n(86504),p=n(37879);n(8503);const __=s.__;t.Z=e=>{let{attributes:t,className:n,clientId:s,isSelected:d,setAttributes:m}=e;const{align:h,imageBefore:f,imageAfter:g,caption:b,orientation:v}=t;let k=null,y=null;const E=(0,r.useRef)();i.useResizeObserver&&([k,y]=(0,i.useResizeObserver)(),(0,p.Z)((e=>{e>0&&"undefined"!=typeof juxtapose&&juxtapose.sliders&&juxtapose.sliders.forEach((t=>{t.wrapper.parentElement.id===s&&t.optimizeWrapper(e)}))}),200,y.width));const w=f&&f.url&&g&&g.url?"image-compare__comparison juxtapose":"image-compare__placeholder";return(0,r.useLayoutEffect)((()=>{f.url&&g.url&&"undefined"!=typeof juxtapose&&juxtapose.makeSlider(null==E?void 0:E.current)}),[h,f,g,v]),(0,r.createElement)("figure",{className:n,id:s},k,(0,r.createElement)(a.InspectorControls,{key:"controls"},(0,r.createElement)(c.Z,{attributes:t,setAttributes:m})),(0,r.createElement)("div",{ref:E,className:w,"data-mode":v||"horizontal"},(0,r.createElement)(o.Placeholder,{label:null},(0,r.createElement)("div",{className:"image-compare__image-before"},(0,r.createElement)(u.Z,{image:{id:f.id,url:f.url,alt:f.alt},placeHolderLabel:__("Image before","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=null==i?void 0:i.width)&&void 0!==t?t:e.width,c=null!==(n=null==i?void 0:i.height)&&void 0!==n?n:e.height;m({imageBefore:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})),(0,r.createElement)("div",{className:"image-compare__image-after"},(0,r.createElement)(u.Z,{image:{id:g.id,url:g.url,alt:g.alt},placeHolderLabel:__("Image after","jetpack"),onChange:e=>{if("image"===e.media_type||"image"===e.type){var t,n;const{src:r}=(0,l.z)(e),{alt:a,id:o,media_details:i}=e,s=null!==(t=null==i?void 0:i.width)&&void 0!==t?t:e.width,c=null!==(n=null==i?void 0:i.height)&&void 0!==n?n:e.height;m({imageAfter:{id:o,url:r||e.url,alt:a,width:s,height:c}})}}})))),(!a.RichText.isEmpty(b)||d&&f.url&&g.url)&&(0,r.createElement)(a.RichText,{tagName:"figcaption",placeholder:__("Write caption","jetpack"),value:b,onChange:e=>m({caption:e}),inlineToolbar:!0}))}},17990:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M21 4h-6v1.5h6c.3 0 .5.2.5.5v.4l-3.6 3.5L15 8.1v1.8l2.6 1.7c.1.1.3.1.4.1.2 0 .4-.1.5-.2l3-2.9V18c0 .3-.2.5-.5.5h-6V20h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM1 6v12c0 1.1.9 2 2 2h10.5V4H3c-1.1 0-2 .9-2 2zm11 12.5H3c-.3 0-.5-.2-.5-.5v-1.4L5 14.7l1.5-1.1.1-.1 3 1.9c.1.1.3.1.4.1.2 0 .4-.1.5-.2L12 14v4.5zm0-6.6l-2.1 2L7 12c-.1-.1-.3-.1-.4-.1h-.1c-.1 0-.3.1-.4.1l-1.1.9-2.5 1.8V6c0-.3.2-.5.5-.5h9v6.4z"}))},86504:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(55609);t.Z=(0,a.compose)([i.withNotices])((e=>{const{image:t,noticeOperations:n,noticeUI:a,onChange:i,placeHolderLabel:s}=e,l=(0,r.createElement)("img",{id:t.id,src:t.url,alt:t.alt}),c=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.MediaPlaceholder,{labels:{title:s},accept:"image/*",allowedTypes:["image"],onSelect:i,onError:e=>n.createErrorNotice(e),notices:a}));return t&&t.url?l:c}))},94039:function(e,t,n){"use strict";n.d(t,{X:function(){return d},u:function(){return p}});var r=n(65736),a=n(63157),o=n(17990),i=n(25250),s=n(90767),l=n(58632),c=n(5820),u=n(70355);const __=r.__,_x=r._x,p="image-compare",d={title:__("Image Compare","jetpack"),description:__("Compare two images with a slider. Works best with images of the same size.","jetpack"),icon:{src:o.Z,foreground:(0,u.m)()},category:(0,c.Z)("media","layout"),keywords:[_x("juxtapose","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("side by side","block search term","jetpack"),_x("slider","block search term","jetpack")],supports:{align:["wide","full"]},attributes:{imageBefore:{type:"object",default:{}},imageAfter:{type:"object",default:{}},caption:{type:"string"},orientation:{type:"string",default:"horizontal"}},example:{attributes:{imageBefore:{id:1,url:l,alt:__("Before","jetpack")},imageAfter:{id:2,url:s,alt:__("After","jetpack")},caption:__("Example image","jetpack")}},edit:a.Z,save:i.Z}},25250:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{attributes:t,className:n}=e;const{imageBefore:o,imageAfter:i,caption:s,orientation:l}=t;return(0,r.createElement)("figure",{className:n},(0,r.createElement)("div",{className:"juxtapose","data-mode":l||"horizontal"},(0,r.createElement)("img",{id:o.id,src:o.url,alt:o.alt,width:o.width,height:o.height,className:"image-compare__image-before"}),(0,r.createElement)("img",{id:i.id,src:i.url,alt:i.alt,width:i.width,height:i.height,className:"image-compare__image-after"})),!a.RichText.isEmpty(s)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:s}))}},37879:function(e,t,n){"use strict";var r=n(69307);t.Z=(e,t,n)=>{(0,r.useEffect)((()=>{const r=setTimeout((()=>e(n)),t);return()=>clearTimeout(r)}),[n])}},8503:function(e,t,n){"use strict";var r=n(47701);n.n(r)()((function(){const e={sliders:[],OPTIMIZATION_ACCEPTED:1,OPTIMIZATION_WAS_CONSTRAINED:2};function t(e,t){const n=this;this.image=new Image,this.loaded=!1,this.image.onload=function(){n.loaded=!0,t._onLoaded()},this.image.src=e.src,this.image.alt=e.alt||"",this.label=e.label||!1}function n(e,t){e&&e.classList.add(t)}function r(e,t){e&&e.classList.remove(t)}function a(e){return{width:parseInt(window.getComputedStyle(e).width,10),height:parseInt(window.getComputedStyle(e).height,10)}}function o(e,t){let n;if("string"==typeof t||"number"==typeof t)n=parseInt(t,10);else{const r=e.getBoundingClientRect(),a={top:r.top+document.body.scrollTop+document.documentElement.scrollTop,left:r.left+document.body.scrollLeft+document.documentElement.scrollLeft},o=e.offsetWidth;n=(function(e){let t;return t=e.pageX?e.pageX:e.touches?e.touches[0].pageX:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,t}(t)-a.left)/o*100}return n}function i(e,t,n){let r;if("string"==typeof t||"number"==typeof t)r=parseInt(t,10);else{const a=e.getBoundingClientRect(),o={top:a.top+n.body.scrollTop+n.documentElement.scrollTop,left:a.left+n.body.scrollLeft+n.documentElement.scrollLeft},i=e.offsetHeight;r=(function(e){let t;return t=e.pageY?e.pageY:e.touches?e.touches[0].pageY:e.clientY+document.body.scrollTop+document.documentElement.scrollTop,t}(t)-o.top)/i*100}return r}const s={animate:!0,showLabels:!0,makeResponsive:!0};function l(e,n,r){let a;for(a in this.element=e,this.options={animate:!0,showLabels:!0,makeResponsive:!0,startingPosition:"50%",mode:"horizontal",callback:null},this.options)a in r&&(this.options[a]=a in s?"string"!=typeof(o=r[a])?Boolean(o):!("false"===o||""===o):r[a]);var o;2===n.length&&(this.imgBefore=new t(n[0],this),this.imgAfter=new t(n[1],this))}l.prototype={updateSlider:function(e,t){let a;a="vertical"===this.options.mode?i(this.slider,e,this.sliderParentDocument):o(this.slider,e),a=a.toFixed(2)+"%";const s=parseFloat(a),l=100-s+"%";s>0&&s<100&&(r(this.handle,"transition"),r(this.rightImage,"transition"),r(this.leftImage,"transition"),this.options.animate&&t&&(n(this.handle,"transition"),n(this.leftImage,"transition"),n(this.rightImage,"transition")),"vertical"===this.options.mode?(this.handle.style.top=a,this.leftImage.style.height=a,this.rightImage.style.height=l):(this.handle.style.left=a,this.leftImage.style.width=a,this.rightImage.style.width=l),this.sliderPosition=a)},getPosition:function(){return this.sliderPosition},displayLabel:function(e,t){const n=document.createElement("div");n.className="jx-label",n.setAttribute("tabindex",0),function(e,t){document.body.textContent?e.textContent=t:e.innerText=t}(n,t),e.appendChild(n)},setStartingPosition:function(e){this.options.startingPosition=e},calculateDims:function(e,t){const n=(r=this.imgBefore.image,{width:r.naturalWidth,height:r.naturalHeight,aspect:function(){return this.width/this.height}}).aspect();var r;return e?t=e/n:t&&(e=t*n),{width:e,height:t,ratio:n}},responsivizeIframe:function(e){return e.height<window.innerHeight?e.ratio>=1&&(this.wrapper.style.paddingTop=parseInt((window.innerHeight-e.height)/2)+"px"):e.height>window.innerHeight&&(e=this.calculateDims(0,window.innerHeight),this.wrapper.style.paddingLeft=parseInt((window.innerWidth-e.width)/2)+"px"),e},setWrapperDimensions:function(){const e=a(this.wrapper.parentNode).width,t=a(this.wrapper.parentNode).height;let n=this.calculateDims(e,t);window.location===window.parent.location||this.options.makeResponsive||(n=this.responsivizeIframe(n)),this.wrapper.style.height=parseInt(n.height)+"px",this.wrapper.style.width=parseInt(n.width)+"px"},optimizeWrapper:function(t){let n=e.OPTIMIZATION_ACCEPTED;return this.imgBefore.image.naturalWidth>=t&&this.imgAfter.image.naturalWidth>=t?(this.wrapper.style.width=t+"px",n=e.OPTIMIZATION_WAS_CONSTRAINED):this.imgAfter.image.naturalWidth<t?this.wrapper.style.width=this.imgAfter.image.naturalWidth+"px":this.wrapper.style.width=this.imgBefore.image.naturalWidth+"px",this.setWrapperDimensions(),n},_onLoaded:function(){if(this.imgBefore&&!0===this.imgBefore.loaded&&this.imgAfter&&!0===this.imgAfter.loaded){var e;if(this.wrapper=this.element,!this.wrapper||this.wrapper.querySelector(".jx-slider"))return;n(this.wrapper,"juxtapose"),this.wrapper.style.width=this.imgBefore.image.naturalWidth,this.setWrapperDimensions(),this.slider=document.createElement("div"),this.slider.className="jx-slider",this.wrapper.appendChild(this.slider),this.sliderParentDocument=this.wrapper.ownerDocument,"horizontal"!==this.options.mode&&n(this.slider,this.options.mode),this.handle=document.createElement("div"),this.handle.className="jx-handle",this.rightImage=document.createElement("div"),this.rightImage.className="jx-image jx-right",this.rightImage.appendChild(this.imgAfter.image),this.leftImage=document.createElement("div"),this.leftImage.className="jx-image jx-left",this.leftImage.appendChild(this.imgBefore.image),this.slider.appendChild(this.handle),this.slider.appendChild(this.leftImage),this.slider.appendChild(this.rightImage),this.leftArrow=document.createElement("div"),this.rightArrow=document.createElement("div"),this.control=document.createElement("div"),this.controller=document.createElement("div"),this.leftArrow.className="jx-arrow jx-left",this.rightArrow.className="jx-arrow jx-right",this.control.className="jx-control",this.controller.className="jx-controller",this.controller.setAttribute("tabindex",0),this.controller.setAttribute("role","slider"),this.controller.setAttribute("aria-valuenow",50),this.controller.setAttribute("aria-valuemin",0),this.controller.setAttribute("aria-valuemax",100),this.controller.setAttribute("aria-label",(null===(e=window.imageCompareHandle)||void 0===e?void 0:e.msg)||"Slide to compare images"),this.handle.appendChild(this.leftArrow),this.handle.appendChild(this.control),this.handle.appendChild(this.rightArrow),this.control.appendChild(this.controller),this._init()}},_init:function(){this.updateSlider(this.options.startingPosition,!1),!0===this.options.showLabels&&(this.imgBefore.label&&this.displayLabel(this.leftImage,this.imgBefore.label),this.imgAfter.label&&this.displayLabel(this.rightImage,this.imgAfter.label));const t=this;window.addEventListener("resize",(function(){t.setWrapperDimensions()})),this.slider.addEventListener("mousedown",(function(e){e.preventDefault(),t.updateSlider(e,!0);let n=!0;this.addEventListener("mousemove",(function(e){e.preventDefault(),n&&t.updateSlider(e,!1)})),this.addEventListener("mouseup",(function(e){e.preventDefault(),e.stopPropagation(),n=!1}))})),this.slider.addEventListener("touchstart",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!0),this.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!1)}))})),this.handle.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;let r=parseFloat(this.style.left);if(37===n){r-=1;const e=parseFloat(this.style.left)-1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}if(39===n){r+=1;const e=parseFloat(this.style.left)+1;t.updateSlider(e,!1),t.controller.setAttribute("aria-valuenow",r)}})),this.leftImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("90%",!0),t.controller.setAttribute("aria-valuenow",91))})),this.rightImage.addEventListener("keydown",(function(e){const n=e.which||e.keyCode;13!==n&&32!==n||(t.updateSlider("10%",!0),t.controller.setAttribute("aria-valuenow",10))})),e.sliders.push(this),this.options.callback&&"function"==typeof this.options.callback&&this.options.callback(this)}},e.makeSlider=function(t,r){void 0===r&&(r=e.sliders.length);const a=t,o=a.querySelectorAll("img");if(o.length<2)return;const i={};a.getAttribute("data-animate")&&(i.animate=a.getAttribute("data-animate")),a.getAttribute("data-showlabels")&&(i.showLabels=a.getAttribute("data-showlabels")),a.getAttribute("data-startingposition")&&(i.startingPosition=a.getAttribute("data-startingposition")),a.getAttribute("data-mode")&&(i.mode=a.getAttribute("data-mode")),a.getAttribute("data-makeresponsive")&&(i.mode=a.getAttribute("data-makeresponsive"));return n(t,"juxtapose-"+r),a.innerHTML?a.innerHTML="":a.innerText="",new e.JXSlider(t,[{src:o[0].src,label:o[0].getAttribute("data-label"),alt:o[0].alt},{src:o[1].src,label:o[1].getAttribute("data-label"),alt:o[1].alt}],i)},e.scanPage=function(){const t=document.querySelectorAll(".juxtapose");for(let n=0;n<t.length;n++)e.makeSlider(t[n],n)},e.JXSlider=l,window.juxtapose=e,e.scanPage()}))},8979:function(e,t){"use strict";t.Z={accessToken:{type:"string"},instagramUser:{type:"string"},columns:{type:"number",default:3,min:1,max:6},count:{type:"number",default:9,min:1,max:30},spacing:{type:"number",default:10,min:0,max:50},isStackedOnMobile:{type:"boolean",default:!0}}},696:function(e,t,n){"use strict";n.d(t,{D:function(){return a},u:function(){return r}});const r=30,a="jetpack-new-instagram-connection"},64129:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(55609),o=n(65736),i=n(696);const __=o.__,_n=o._n;function s(e){let{accountImageTotal:t,attributes:n,currentUserConnected:s,disconnectFromService:l,shouldRenderSidebarNotice:c,setAttributes:u}=e;const{accessToken:p,columns:d,count:m,instagramUser:h,isStackedOnMobile:f,spacing:g}=n;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelBody,{title:__("Account Settings","jetpack")},(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("span",null,__("Account","jetpack")),(0,r.createElement)(a.ExternalLink,{href:`https://www.instagram.com/${h}/`},"@",h)),s&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)(a.Button,{isDestructive:!0,variant:"link",onClick:()=>l(p)},__("Disconnect your account","jetpack")))),(0,r.createElement)(a.PanelBody,{title:__("Display Settings","jetpack")},c?(()=>{const e=t?(0,o.sprintf)(
/* translators: placeholder is a number. */
-_n("There is currently only %s post in your Instagram account.","There are currently only %s posts in your Instagram account.",t,"jetpack"),t):__("There are currently no posts in your Instagram account.","jetpack");return(0,r.createElement)("div",{className:"wp-block-jetpack-instagram-gallery__count-notice"},(0,r.createElement)(a.Notice,{isDismissible:!1,status:"info"},e))})():null,(0,r.createElement)(a.RangeControl,{label:__("Number of Posts","jetpack"),value:m,onChange:e=>u({count:e}),min:1,max:i.u}),(0,r.createElement)(a.RangeControl,{label:__("Number of Columns","jetpack"),value:d,onChange:e=>u({columns:e}),min:1,max:6}),(0,r.createElement)(a.RangeControl,{label:__("Image Spacing (px)","jetpack"),value:g,onChange:e=>u({spacing:e}),min:0,max:50}),(0,r.createElement)(a.ToggleControl,{label:__("Stack on mobile","jetpack"),checked:f,onChange:()=>u({isStackedOnMobile:!f})})))}},66137:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(18776),p=n(14937),d=n(14087),m=n(10273),h=n(2992),f=n(44420),g=n(76853),b=n(63729),v=n(3802);const __=c.__;t.Z=(0,l.withNotices)((e=>{const{attributes:t,className:n,isSelected:a,noticeOperations:c,noticeUI:k,setAttributes:y}=e,{accessToken:E,align:w,columns:_,count:C,isStackedOnMobile:j,spacing:S}=t;(0,r.useEffect)((()=>{const e=(0,d.S)(u.Z,t);(0,i.isEqual)(e,t)||y(e)}),[t,y]);const[x,T]=(0,r.useState)(E),{isRequestingWpcomConnectUrl:N,wpcomConnectUrl:A}=(0,h.Z)(),{images:P,isLoadingGallery:I,setImages:M}=(0,f.Z)({accessToken:E,noticeOperations:c,setAttributes:y,setSelectedAccount:T}),{connectToService:R,disconnectFromService:L,isConnecting:B,isRequestingUserConnections:Z,userConnections:F}=(0,m.Z)({accessToken:E,noticeOperations:c,selectedAccount:x,setAttributes:y,setImages:M,setSelectedAccount:T}),D=(0,b.Z)(),O=C>P.length?P.length:C,z=!I&&(!E||(0,i.isEmpty)(P)),U=!z,$=E&&I&&(0,i.isEmpty)(P),V=!z&&!$,G=o()(n,{[`align${w}`]:w}),q=o()("wp-block-jetpack-instagram-gallery__grid",`wp-block-jetpack-instagram-gallery__grid-columns-${_}`,{"is-stacked-on-mobile":j}),H={gridGap:S,"--latest-instagram-posts-spacing":S?`${S}px`:void 0},W={padding:S},K=()=>{x&&p.D!==x?y({accessToken:x,instagramUser:(0,i.find)(F,{token:x}).username}):R()};return(0,r.createElement)("div",{className:G},z&&(0,r.createElement)(l.Placeholder,{icon:"instagram",instructions:D?Z||F.length?void 0:__("Connect to Instagram to start sharing your images.","jetpack"):__("First, you'll need to connect your WordPress.com account.","jetpack"),label:__("Latest Instagram Posts","jetpack"),notices:k},D?(()=>{const e=F.length>0,t=[...(0,i.map)(F,(e=>({label:`@${e.username}`,value:e.token}))),{label:__("Add a new account","jetpack"),value:p.D}],n=B||Z||e&&!x;return(0,r.createElement)("div",null,e&&(0,r.createElement)(l.RadioControl,{label:__("Select your Instagram account:","jetpack"),onChange:e=>T(e),options:t,selected:x}),p.D===x&&(0,r.createElement)("p",{className:"wp-block-jetpack-instagram-gallery__new-account-instructions"},__("If you are currently logged in to Instagram on this device, you might need to log out of it first.","jetpack")),(0,r.createElement)(l.Button,{disabled:n,isPrimary:!0,onClick:K},B&&__("Connecting…","jetpack"),Z&&__("Loading your connections…","jetpack"),!B&&!Z&&__("Connect to Instagram","jetpack")))})():(0,r.createElement)(l.Button,{disabled:N||!A,href:A,isSecondary:!0},__("Connect to WordPress.com","jetpack"))),$&&(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(l.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack"))),V&&(0,r.createElement)("div",{className:q,style:H},(0,i.times)(a?C:O,(e=>(0,r.createElement)("span",{className:o()("wp-block-jetpack-instagram-gallery__grid-post"),key:e,style:W},(e=>{if(P[e]){const n=P[e];return(0,r.createElement)(g.Z,{alt:n.title||n.url,src:n.url,attributes:t,spacing:S})}return(0,r.createElement)("img",{alt:__("Latest Instagram Posts placeholder","jetpack"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNMyc2tBwAEOgG/c94mJwAAAABJRU5ErkJggg=="})})(e))))),U&&(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(v.Z,{accountImageTotal:P.length,attributes:t,currentUserConnected:D,disconnectFromService:L,shouldRenderSidebarNotice:U&&!$&&P.length<C,setAttributes:y})))}))},76853:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{src:t,alt:n,spacing:a}=e;const[i,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)("auto"),u=(0,r.useRef)(),p=()=>{s(!0),c("auto")};(0,r.useEffect)((()=>{const e=t;if(e){const t=new window.Image;t.src=e,t.onload=p}u.current&&c(u.current.parentNode.getBoundingClientRect().width)}),[t]);const d=-1*a,m=o()("wp-block-jetpack-instagram-gallery__placeholder",{"is-loaded":i}),h=i?{margin:d}:{margin:d,height:l},f=o()({"is-loaded":i});return(0,r.createElement)("span",{style:h,className:m},(0,r.createElement)("img",{alt:n,className:f,ref:u,src:t}))}},77007:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(4981),i=n(18776),s=n(66137),l=n(57535);const __=a.__,_x=a._x,c="instagram-gallery",u={title:__("Latest Instagram Posts","jetpack"),description:__("Display an automatically updating list of the latest posts from your Instagram feed.","jetpack"),icon:{src:"instagram",foreground:(0,l.m)()},category:"embed",keywords:[_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack")],supports:{align:!0,html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"wpcom_instagram_widget"===t},transform:e=>{let{instance:t}=e;return(0,o.createBlock)("jetpack/instagram-gallery",{columns:t.raw.columns,count:t.raw.count,accessToken:t.raw.token_id})}}]},attributes:i.Z,edit:s.Z,save:e=>{let{attributes:{instagramUser:t}}=e;return t&&(0,r.createElement)("div",null,(0,r.createElement)("a",{href:`https://www.instagram.com/${t}/`,rel:"noopener noreferrer",target:"_blank"},`https://www.instagram.com/${t}/`))}}},10273:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(59177),a=n(92819),o=n(86989),i=n.n(o),s=n(69307),l=n(65736),c=n(14937),u=n(63729);const __=l.__;function p(e){let{accessToken:t,noticeOperations:n,selectedAccount:o,setAttributes:l,setImages:p,setSelectedAccount:d}=e;const[m,h]=(0,s.useState)(!1),[f,g]=(0,s.useState)(!1),[b,v]=(0,s.useState)([]),k=(0,u.Z)();(0,s.useEffect)((()=>{!t&&k&&(g(!0),i()({path:"/wpcom/v2/instagram-gallery/connections"}).then((e=>{g(!1),v(e)})).catch((()=>{g(!1),v([])})))}),[t,k]),(0,s.useEffect)((()=>{c.D===o||(0,a.find)(b,{token:o})||d(void 0)}),[o,d,b]);return{connectToService:()=>{n.removeAllNotices(),h(!0),i()({path:"/wpcom/v2/instagram-gallery/connect-url"}).then((e=>{const t=new r.Z;t.open(e,"connect-to-instagram-popup","toolbar=0,location=0,menubar=0,"+t.getScreenCenterSpecs(700,700)),t.on("message",(e=>{let{keyring_id:t}=e;if(h(!1),t){const e=t.toString();l({accessToken:e}),d(e)}})),t.on("close",(e=>{"connect-to-instagram-popup"===e&&h(!1)}))})).catch((()=>{n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),h(!1)}))},disconnectFromService:()=>{n.removeAllNotices(),l({accessToken:void 0,instagramUser:void 0}),p([])},isConnecting:m,isRequestingUserConnections:f,userConnections:b}}},2992:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(86989),a=n.n(r),o=n(9818),i=n(69307),s=n(96483),l=n(63729);function c(){const{isAutoDraft:e}=(0,o.useSelect)((e=>{const{status:t}=e("core/editor").getCurrentPost();return{isAutoDraft:"auto-draft"===t}})),{savePost:t}=(0,o.useDispatch)("core/editor"),[n,r]=(0,i.useState)(),[c,u]=(0,i.useState)(!1),p=(0,l.Z)();return(0,i.useEffect)((()=>{p||n||c||(e?t():(u(!0),a()({path:(0,s.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((e=>{r(e),u(!1)}))))}),[p,e,c,t,n]),{isRequestingWpcomConnectUrl:c,wpcomConnectUrl:n}}},44420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(14937);const __=s.__;function u(e){let{accessToken:t,noticeOperations:n,setAttributes:a,setSelectedAccount:s}=e;const[u,p]=(0,i.useState)([]),[d,m]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{t&&(n.removeAllNotices(),m(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/instagram-gallery/gallery",{access_token:t,count:c.u})}).then((e=>{let{external_name:t,images:o}=e;if(m(!1),!o||!(0,r.isArray)(o))return n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),p([]),a({accessToken:void 0,instagramUser:void 0}),void s(void 0);(0,r.isEmpty)(o)&&n.createErrorNotice(__("No images were found in your Instagram account.","jetpack")),a({instagramUser:t}),p(o)})).catch((()=>{m(!1),p([]),a({accessToken:void 0,instagramUser:void 0}),s(void 0)})))}),[t,a,s]),{images:u,isLoadingGallery:d,setImages:p}}},66916:function(e,t,n){"use strict";n.d(t,{u:function(){return a},X:function(){return o}});var r=n(48355);const a="likes",o={render:r.Z}},48355:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(12238),l=n(9818),c=n(23539);const __=a.__,u=(0,l.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{areLikesEnabled:t("jetpack_likes_enabled")}})),p=(0,l.withDispatch)((e=>{const{editPost:t}=e("core/editor");return{editPost:t}}));t.Z=(0,i.compose)([u,p])((e=>{let{areLikesEnabled:t,editPost:n}=e;return(0,r.createElement)(s.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},(0,r.createElement)(c.Z,null,(0,r.createElement)(o.CheckboxControl,{label:__("Show likes.","jetpack"),checked:t,onChange:e=>{n({jetpack_likes_enabled:e})}})))}))},25887:function(e,t,n){"use strict";n.d(t,{N3:function(){return r},sf:function(){return a},Cw:function(){return o}});const r="processing",a="success",o="error"},50013:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(18417),s=n(25887);const __=a.__;function l(e){let{auditionNotification:t,clearAudition:n,setAttributes:a,emailPlaceholder:l,processingLabel:c,successLabel:u,errorLabel:p,interests:d,signupFieldTag:m,signupFieldValue:h,connectURL:f}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Text Elements","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Email Placeholder","jetpack"),value:l,onChange:e=>{a({emailPlaceholder:e}),n()}})),(0,r.createElement)(o.PanelBody,{title:__("Notifications","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Processing text","jetpack"),value:c,onChange:e=>{a({processingLabel:e}),t(s.N3)}}),(0,r.createElement)(o.TextControl,{label:__("Success text","jetpack"),value:u,onChange:e=>{a({successLabel:e}),t(s.sf)}}),(0,r.createElement)(o.TextControl,{label:__("Error text","jetpack"),value:p,onChange:e=>{a({errorLabel:e}),t(s.Cw)}})),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Groups","jetpack")},(0,r.createElement)(i.Z,{interests:d,onChange:(e,t)=>{const n=[...new Set([...d,e])].filter((n=>!(n===e&&!t)&&n));a({interests:n})}}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},__("Learn about groups","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Signup Location Tracking","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Signup Field Tag","jetpack"),placeholder:__("SIGNUP","jetpack"),value:m,onChange:e=>a({signupFieldTag:e})}),(0,r.createElement)(o.TextControl,{label:__("Signup Field Value","jetpack"),placeholder:__("website","jetpack"),value:h,onChange:e=>a({signupFieldValue:e})}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},__("Learn about signup location tracking","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Connection","jetpack")},(0,r.createElement)(o.ExternalLink,{href:f},__("Manage Connection","jetpack"))))}},58791:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=["submitButtonText","backgroundButtonColor","textButtonColor","submitButtonClasses","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},submitButtonText:{type:"string",default:__("Join my email list","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},submitButtonClasses:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},migrate:e=>{const t=(0,r.omit)(e,i),n={text:(o=e).submitButtonText||__("Join my email list","jetpack"),textColor:o.textButtonColor,customTextColor:o.customTextButtonColor,backgroundColor:o.backgroundButtonColor,customBackgroundColor:o.customBackgroundButtonColor};var o;return[t,[(0,a.createBlock)("jetpack/button",{element:"button",uniqueId:"mailchimp-widget-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,i),Boolean),save:()=>null}},87539:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(89105),c=n.n(l),u=n(65736),p=n(96483),d=n(55609),m=n(52175),h=n(19916),f=n(50013),g=n(63729),b=n(25887);const __=u.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e=(0,g.Z)();if(e){const t={path:"/wpcom/v2/mailchimp",method:"GET"};s()(t).then((t=>{const n=t.connect_url,r="connected"===t.code?1:2;this.setState({currentUserConnected:e,connected:r,connectURL:n})}),(t=>{this.setState({currentUserConnected:e,connected:2,connectURL:null}),this.onError(t.message)}))}else s()({path:(0,p.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((t=>{const n=t;this.setState({currentUserConnected:e,connected:2,connectURL:n})}))})),a()(this,"auditionNotification",(e=>{this.setState({audition:e}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.clearAudition,3e3)})),a()(this,"clearAudition",(()=>{this.setState({audition:null})})),a()(this,"labelForAuditionType",(e=>{const{attributes:t}=this.props,{processingLabel:n,successLabel:r,errorLabel:a}=t;return e===b.N3?n:e===b.sf?r:e===b.Cw?a:null})),a()(this,"roleForAuditionType",(e=>e===b.Cw?"alert":"status")),a()(this,"render",(()=>{const{attributes:e,className:t,notices:n,noticeUI:r,setAttributes:a}=this.props,{audition:i,connected:s,connectURL:l,currentUserConnected:u}=this.state,{emailPlaceholder:p,consentText:g,interests:b,processingLabel:v,successLabel:k,errorLabel:y,preview:E,signupFieldTag:w,signupFieldValue:_}=e,C="wp-block-jetpack-mailchimp",j=(0,o.createElement)(d.Placeholder,{icon:h.qv,notices:n},(0,o.createElement)(d.Spinner,null)),S=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("You need to connect your Mailchimp account and choose an audience in order to start collecting Email subscribers.","jetpack")},(0,o.createElement)(d.Button,{isSecondary:!0,isLarge:!0,href:l,target:"_blank"},__("Set up Mailchimp form","jetpack")),(0,o.createElement)("div",{className:`${C}-recheck`},(0,o.createElement)(d.Button,{isLink:!0,onClick:this.apiCall},__("Re-check Connection","jetpack")))),x=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("First, you'll need to connect your WordPress.com account.","jetpack")},(0,o.createElement)(d.Button,{isSecondary:!0,isLarge:!0,href:l},__("Connect to WordPress.com","jetpack"))),T=(0,o.createElement)(m.InspectorControls,null,(0,o.createElement)(f.Q,{auditionNotification:this.auditionNotification,clearAudition:this.clearAudition,emailPlaceholder:p,processingLabel:v,successLabel:k,errorLabel:y,interests:b,setAttributes:this.props.setAttributes,signupFieldTag:w,signupFieldValue:_,connectURL:l})),N=c()(t,{[`${C}_notication-audition`]:i}),A=(0,o.createElement)("div",{className:N},(0,o.createElement)(d.TextControl,{"aria-label":p,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:()=>!1,placeholder:p,title:__("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),(0,o.createElement)(m.InnerBlocks,{template:[[h.Ss.name,h.Ss.attributes]],templateLock:"all"}),(0,o.createElement)(m.RichText,{tagName:"p",placeholder:__("Write consent text","jetpack"),value:g,onChange:e=>a({consentText:e}),inlineToolbar:!0}),i&&(0,o.createElement)("div",{className:`${C}_notification ${C}_${i}`,role:this.roleForAuditionType(i)},this.labelForAuditionType(i))),P=A;return(0,o.createElement)(o.Fragment,null,r,E&&P,!E&&0===s&&j,!E&&2===s&&u&&S,!E&&2===s&&!u&&x,!E&&1===s&&T,!E&&1===s&&A)})),this.state={audition:null,connected:0,connectURL:null,currentUserConnected:null},this.timeout=null}}t.Z=(0,d.withNotices)(v)},19916:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},qv:function(){return p},Ss:function(){return d},Xd:function(){return m}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(58791),l=n(87539),c=n(57535);const __=a.__,_x=a._x,u="mailchimp",p=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(i.G,{transform:"translate(-45.478101,-100.73059)"},(0,r.createElement)(i.G,{transform:"matrix(0.26458333,0,0,0.26458333,15.6741,59.72)"},(0,r.createElement)(i.Path,{d:"m 176.433,197.529 c 0.657,-0.078 1.286,-0.082 1.865,0 0.335,-0.768 0.392,-2.091 0.091,-3.532 -0.447,-2.142 -1.053,-3.438 -2.305,-3.236 -1.252,0.202 -1.298,1.754 -0.85,3.895 0.252,1.205 0.7,2.235 1.199,2.873"}),(0,r.createElement)(i.Path,{d:"m 165.688,199.224 c 0.895,0.393 1.446,0.654 1.661,0.426 0.139,-0.142 0.097,-0.413 -0.117,-0.762 -0.442,-0.721 -1.351,-1.453 -2.316,-1.864 -1.972,-0.849 -4.325,-0.567 -6.14,0.737 -0.599,0.439 -1.167,1.047 -1.086,1.416 0.026,0.119 0.116,0.209 0.326,0.239 0.494,0.056 2.22,-0.816 4.209,-0.938 1.403,-0.086 2.566,0.353 3.462,0.746"}),(0,r.createElement)(i.Path,{d:"m 163.887,200.252 c -1.167,0.184 -1.81,0.569 -2.223,0.926 -0.352,0.308 -0.57,0.649 -0.568,0.888 0.001,0.114 0.05,0.18 0.089,0.213 0.053,0.047 0.116,0.073 0.192,0.073 0.263,0 0.854,-0.237 0.854,-0.237 1.623,-0.581 2.694,-0.51 3.755,-0.39 0.586,0.066 0.864,0.102 0.992,-0.099 0.038,-0.058 0.084,-0.183 -0.033,-0.373 -0.273,-0.443 -1.451,-1.192 -3.057,-1.001"}),(0,r.createElement)(i.Path,{d:"m 172.805,204.025 c 0.792,0.389 1.664,0.236 1.948,-0.341 0.284,-0.577 -0.128,-1.361 -0.92,-1.75 -0.792,-0.389 -1.664,-0.236 -1.948,0.341 -0.284,0.578 0.128,1.361 0.92,1.75"}),(0,r.createElement)(i.Path,{d:"m 177.896,199.576 c -0.643,-0.011 -1.177,0.695 -1.192,1.578 -0.015,0.883 0.495,1.606 1.138,1.617 0.643,0.011 1.177,-0.695 1.192,-1.578 0.015,-0.882 -0.495,-1.606 -1.138,-1.617"}),(0,r.createElement)(i.Path,{d:"m 134.683,215.485 c -0.16,-0.201 -0.423,-0.14 -0.678,-0.08 -0.178,0.042 -0.379,0.088 -0.6,0.085 -0.473,-0.009 -0.874,-0.211 -1.099,-0.557 -0.293,-0.45 -0.276,-1.121 0.047,-1.889 l 0.151,-0.344 c 0.516,-1.158 1.379,-3.095 0.41,-4.941 -0.73,-1.39 -1.92,-2.255 -3.351,-2.437 -1.374,-0.174 -2.788,0.335 -3.69,1.33 -1.423,1.57 -1.646,3.707 -1.371,4.462 0.101,0.276 0.259,0.353 0.373,0.369 0.242,0.032 0.6,-0.144 0.824,-0.747 l 0.064,-0.196 c 0.1,-0.319 0.286,-0.913 0.591,-1.389 0.368,-0.574 0.94,-0.969 1.612,-1.114 0.684,-0.147 1.384,-0.016 1.97,0.368 0.997,0.652 1.381,1.874 0.955,3.039 -0.22,0.603 -0.578,1.756 -0.499,2.703 0.16,1.917 1.339,2.687 2.398,2.769 1.03,0.039 1.75,-0.54 1.932,-0.962 0.107,-0.25 0.017,-0.402 -0.042,-0.467"}),(0,r.createElement)(i.Path,{d:"m 144.475,180.275 c 3.36,-3.882 7.495,-7.257 11.2,-9.152 0.128,-0.066 0.264,0.073 0.195,0.199 -0.294,0.533 -0.861,1.674 -1.04,2.539 -0.028,0.135 0.119,0.236 0.233,0.159 2.305,-1.571 6.314,-3.255 9.831,-3.471 0.151,-0.009 0.224,0.184 0.104,0.277 -0.535,0.41 -1.12,0.978 -1.547,1.552 -0.073,0.098 -0.004,0.238 0.118,0.239 2.469,0.018 5.95,0.882 8.219,2.155 0.153,0.086 0.044,0.383 -0.128,0.344 -3.433,-0.787 -9.052,-1.384 -14.89,0.04 -5.211,1.271 -9.189,3.234 -12.09,5.344 -0.147,0.107 -0.323,-0.087 -0.204,-0.224 z m 16.732,37.612 0.001,0.002 0.002,0.004 z m 13.854,1.635 c 0.1,-0.042 0.168,-0.155 0.157,-0.268 -0.014,-0.139 -0.138,-0.24 -0.277,-0.226 0,0 -7.169,1.061 -13.942,-1.418 0.738,-2.398 2.699,-1.532 5.664,-1.293 5.344,0.319 10.134,-0.462 13.674,-1.478 3.067,-0.88 7.096,-2.616 10.225,-5.086 1.055,2.318 1.428,4.87 1.428,4.87 0,0 0.817,-0.146 1.5,0.274 0.645,0.397 1.118,1.222 0.795,3.356 -0.658,3.986 -2.352,7.222 -5.2,10.199 -1.734,1.866 -3.838,3.488 -6.246,4.668 -1.279,0.672 -2.64,1.253 -4.079,1.722 -10.736,3.507 -21.726,-0.348 -25.268,-8.626 -0.283,-0.622 -0.522,-1.274 -0.71,-1.955 -1.509,-5.455 -0.228,-12 3.778,-16.12 v -0.002 c 0.247,-0.262 0.499,-0.571 0.499,-0.96 0,-0.325 -0.207,-0.668 -0.386,-0.912 -1.402,-2.033 -6.257,-5.497 -5.282,-12.201 0.7,-4.816 4.912,-8.208 8.839,-8.007 l 0.995,0.057 c 1.702,0.101 3.186,0.319 4.587,0.378 2.345,0.102 4.453,-0.239 6.951,-2.32 0.842,-0.702 1.518,-1.311 2.661,-1.504 0.12,-0.021 0.419,-0.128 1.016,-0.1 0.61,0.033 1.19,0.2 1.711,0.547 2.002,1.332 2.286,4.559 2.39,6.919 0.059,1.347 0.222,4.607 0.278,5.543 0.127,2.14 0.69,2.441 1.828,2.816 0.64,0.211 1.234,0.368 2.11,0.614 2.65,0.744 4.221,1.499 5.212,2.469 0.591,0.606 0.866,1.25 0.951,1.864 0.312,2.28 -1.77,5.096 -7.283,7.655 -6.026,2.797 -13.337,3.505 -18.388,2.942 l -1.77,-0.2 c -4.04,-0.544 -6.345,4.677 -3.92,8.255 1.563,2.306 5.82,3.806 10.079,3.807 9.765,0.001 17.271,-4.169 20.063,-7.77 l 0.223,-0.318 c 0.138,-0.207 0.024,-0.321 -0.147,-0.204 -2.281,1.561 -12.413,7.758 -23.251,5.893 0,0 -1.317,-0.217 -2.519,-0.684 -0.955,-0.372 -2.955,-1.292 -3.198,-3.343 8.746,2.705 14.253,0.148 14.253,0.148 z m -48.039,-20.785 c -3.042,0.591 -5.723,2.315 -7.362,4.697 -0.98,-0.817 -2.805,-2.399 -3.128,-3.016 -2.617,-4.97 2.856,-14.632 6.68,-20.089 9.45,-13.485 24.25,-23.692 31.101,-21.84 1.114,0.315 4.803,4.592 4.803,4.592 0,0 -6.849,3.8 -13.2,9.097 -8.558,6.589 -15.022,16.166 -18.895,26.559 z m 5.111,22.805 c -0.46,0.079 -0.93,0.11 -1.404,0.098 -4.577,-0.123 -9.52,-4.243 -10.011,-9.129 -0.543,-5.401 2.217,-9.557 7.103,-10.543 0.584,-0.118 1.29,-0.186 2.051,-0.146 2.738,0.15 6.772,2.252 7.693,8.216 0.816,5.282 -0.48,10.659 -5.432,11.503 z m 61.996,-9.564 c -0.039,-0.139 -0.295,-1.072 -0.646,-2.197 -0.351,-1.126 -0.714,-1.917 -0.714,-1.917 1.408,-2.107 1.433,-3.992 1.245,-5.059 -0.2,-1.323 -0.751,-2.45 -1.861,-3.616 -1.11,-1.165 -3.381,-2.359 -6.572,-3.255 l -1.674,-0.465 c -0.008,-0.069 -0.088,-3.947 -0.16,-5.612 -0.053,-1.204 -0.156,-3.083 -0.739,-4.933 -0.695,-2.505 -1.905,-4.697 -3.416,-6.099 4.17,-4.322 6.773,-9.084 6.766,-13.168 -0.012,-7.855 -9.659,-10.232 -21.548,-5.309 l -2.519,1.069 c -0.011,-0.011 -4.554,-4.468 -4.622,-4.528 -13.555,-11.823 -55.935,35.284 -42.386,46.725 l 2.961,2.509 c -0.768,1.99 -1.07,4.27 -0.823,6.721 0.316,3.149 1.94,6.167 4.573,8.499 2.499,2.214 5.785,3.616 8.973,3.613 5.273,12.151 17.321,19.605 31.447,20.025 15.153,0.45 27.873,-6.66 33.203,-19.432 0.349,-0.896 1.828,-4.935 1.828,-8.501 0,-3.583 -2.026,-5.068 -3.316,-5.068"})))),d={name:"jetpack/button",attributes:{element:"button",text:__("Join my Mailchimp audience","jetpack"),uniqueId:"mailchimp-widget-id"}},m={title:__("Mailchimp","jetpack"),icon:{src:p,foreground:(0,c.m)()},description:__("A form enabling readers to join a Mailchimp audience.","jetpack"),category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:l.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null),example:{attributes:{preview:!0},innerBlocks:[d]},deprecated:[s.Z]}},18417:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(55609);class c extends o.Component{constructor(){super(...arguments),a()(this,"state",{interest_categories:[]}),a()(this,"retrieveGroups",(()=>{s()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((e=>{const{interest_categories:t}=e;this.setState({interest_categories:t})}))})),a()(this,"render",(()=>{const{interest_categories:e}=this.state,{interests:t,onChange:n}=this.props;return(0,o.createElement)(o.Fragment,null,e&&(e||[]).map((e=>e.interests.map((e=>(0,o.createElement)(l.CheckboxControl,{label:e.name,value:e.id,checked:t.includes(e.id),onChange:t=>n(e.id,t),key:e.id}))))))}))}componentDidMount(){this.retrieveGroups()}}t.Z=c,c.defaultProps={interests:[],onChange:()=>null}},36710:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(1595);const __=a.__;class s extends r.Component{render(){const{onClose:e,onAddPoint:t,onError:n,apiKey:a}=this.props;return(0,r.createElement)(o.Button,{className:"component__add-point"},__("Add marker","jetpack"),(0,r.createElement)(o.Popover,{className:"component__add-point__popover",position:"bottom center"},(0,r.createElement)(o.Button,{className:"component__add-point__close",onClick:e},(0,r.createElement)(o.Dashicon,{icon:"no"})),(0,r.createElement)(i.Z,{onAddPoint:t,label:__("Add a location","jetpack"),apiKey:a,onError:n})))}}s.defaultProps={onAddPoint:()=>{},onClose:()=>{},onError:()=>{}},t.Z=s},79267:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(55609),c=n(81041),u=n(77714),p=n(73242),d=n(87929),m=n(45388);const __=i.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),a()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),a()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),a()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:r}=n.props,a=t.slice(0);(0,s.assign)(a[r],e),this.props.onSetPoints(a)})),a()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,r=e.slice(0);r.splice(n,1),this.props.onSetPoints(r),this.setState({activeMarker:null})})),a()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,r=Math.min(e*(3/4),t);n.style.height=r+"px"}t.resize(),this.setBoundsByMarkers()})),a()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),a()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:r,zoom:a}=this.props,{map:o,activeMarker:i,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!o)return;if(r.length&&e?o.dragPan.disable():o.dragPan.enable(),!r.length)return;if(i)return;const u=new s.LngLatBounds;if(r.forEach((e=>{u.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(u.getCenter()),r.length>1){o.fitBounds(u,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{o.removeControl(l)}catch(e){}}else{if(o.setCenter(u.getCenter()),c){const e=12;o.setZoom(e),n(e)}else o.setZoom(parseInt(a,10));o.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),a()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),a()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,o.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:r}=this.props,{map:a,activeMarker:i,mapboxgl:p}=this.state,{onMarkerClick:d,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(i,"props.point")||{},{title:g,caption:b}=f,v=o.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),k=a&&p&&e.map(((e,t)=>(0,o.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:a,mapboxgl:p,markerColor:r,onClick:d}))),y=p&&(0,o.createElement)(u.Z,{activeMarker:i,map:a,mapboxgl:p,unsetActiveMarker:()=>this.setState({activeMarker:null})},i&&t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,o.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:b,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,o.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,o.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),i&&!t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h3",null,g),(0,o.createElement)("p",null,b)));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},k),y,v)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:r,points:a,mapStyle:o,mapDetails:i,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:u}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&i===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(u),t&&u._fullscreenButton&&(u._fullscreenButton.disabled=!0)):c.removeControl(u))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,p.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,d.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,d.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,d.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:r,onError:a,scrollToZoom:o,showFullscreenButton:i,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}o||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{a("mapbox_error",e.error.message)}));const u=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:u,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(u),i&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),r(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},20522:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(41626),l=n(17885);const __=a.__;t.Z=e=>{let{attributes:t,setAttributes:n,state:a,setState:c,context:u,mapRef:p,instanceId:d,minHeight:m,removeAPIKey:h,updateAPIKey:f,setPointVisibility:g}=e;const b=e=>{n({align:e}),setTimeout(p.current.sizeMap,0)};return"toolbar"===u?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockAlignmentToolbar,{value:t.align,onChange:b,controls:["center","wide","full"]}),(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:l.X.markerIcon,label:__("Add a marker","jetpack"),onClick:g}))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.PanelColorSettings,{title:__("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:t.markerColor,onChange:e=>n({markerColor:e}),label:__("Marker Color","jetpack")}]}),(0,r.createElement)(o.PanelBody,{title:__("Map Settings","jetpack")},(0,r.createElement)(o.BaseControl,{label:__("Height in pixels","jetpack"),id:`block-jetpack-map-height-input-${d}`},(0,r.createElement)("input",{type:"number",id:`block-jetpack-map-height-input-${d}`,className:"wp-block-jetpack-map__height_input",onChange:e=>{n({mapHeight:e.target.value}),e.target!==document.activeElement&&setTimeout(p.current.sizeMap,0)},onBlur:e=>{const{mapHeight:r}=t;let a=parseInt(e.target.value,10);isNaN(a)?a=null:null==r?a=p.current.mapRef.current.offsetHeight:a<m&&(a=m),n({mapHeight:a}),setTimeout(p.current.sizeMap,0)},value:t.mapHeight||"",min:m,step:"10"})),(0,r.createElement)(o.RangeControl,{label:__("Zoom level","jetpack"),help:t.points.length>1&&__("The default zoom level cannot be changed when there are two or more markers on the map.","jetpack"),disabled:t.points.length>1,value:t.zoom,onChange:e=>{n({zoom:e}),setTimeout(p.current.updateZoom,0)},min:0,max:22}),(0,r.createElement)(o.ToggleControl,{label:__("Show street names","jetpack"),checked:t.mapDetails,onChange:e=>n({mapDetails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Scroll to zoom","jetpack"),help:__("Allow the map to capture scrolling, and zoom in or out.","jetpack"),checked:t.scrollToZoom,onChange:e=>n({scrollToZoom:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Show Fullscreen Button","jetpack"),help:__("Allow your visitors to display the map in fullscreen.","jetpack"),checked:t.showFullscreenButton,onChange:e=>n({showFullscreenButton:e})})),t.points.length?(0,r.createElement)(o.PanelBody,{title:__("Markers","jetpack"),initialOpen:!1},(0,r.createElement)(s.Z,{points:t.points,onChange:e=>{n({points:e})}})):null,(0,r.createElement)(o.PanelBody,{title:__("Mapbox Access Token","jetpack"),initialOpen:!1},(0,r.createElement)(o.TextControl,{help:"wpcom"===a.apiKeySource&&(0,r.createElement)(r.Fragment,null,__("You can optionally enter your own access token.","jetpack")," ",(0,r.createElement)(o.ExternalLink,{href:"https://account.mapbox.com/access-tokens/"},__("Find it on Mapbox","jetpack"))),label:__("Mapbox Access Token","jetpack"),value:a.apiKeyControl,onChange:e=>c({apiKeyControl:e})}),(0,r.createElement)(o.ButtonGroup,null,(0,r.createElement)(o.Button,{type:"button",onClick:f,disabled:!a.apiKeyControl||a.apiKeyControl===a.apiKey},__("Update Token","jetpack")),(0,r.createElement)(o.Button,{type:"button",onClick:h,disabled:"wpcom"===a.apiKeySource,isSecondary:!0},__("Remove Token","jetpack")))))}},86124:function(e,t,n){"use strict";var r=n(98372);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,showFullscreenButton:!0,className:t}},save:r.Z}},98372:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u}=e,p=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),d=t?`align${t}`:null;return(0,r.createElement)("div",{className:d,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null},o.length>0&&(0,r.createElement)("ul",null,p))}}t.Z=a},91576:function(e,t,n){"use strict";var r=n(51694);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,className:t}},save:r.Z}},51694:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u,showFullscreenButton:p}=e,d=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),m=t?`align${t}`:null;return(0,r.createElement)("div",{className:m,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null,"data-show-fullscreen-button":p||null},o.length>0&&(0,r.createElement)("ul",null,d))}}t.Z=a},70312:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65736),c=n(55609),u=n(52175),p=n(36710),d=n(79267),m=n(20522),h=n(17885),f=n(96406),g=n(94333),b=n(9818),v=n(98085),k=n(14499);const __=l.__,y={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};class E extends o.Component{constructor(){super(...arguments),a()(this,"geoCodeAddress",((e,t)=>{t&&(0,k.P)(e,t).then((e=>{if(e.features?.length){const t=e.features[0],n=[{title:t.text,placeTitle:t.text,caption:t.place_name,id:t.id,coordinates:{latitude:t.center[1],longitude:t.center[0]}}];this.props.setAttributes({points:n})}else this.onError(null,__("Could not find the coordinates of the provided address. Displaying default location. Feel free to add the location manually.","jetpack"))})).catch((e=>this.onError(null,e.message)))})),a()(this,"componentDidUpdate",(e=>{const t=this.props.attributes?.address,n=e.attributes?.address;t&&n!==t&&this.geoCodeAddress(t,this.state.apiKey)})),a()(this,"addPoint",(e=>{const{attributes:t,setAttributes:n}=this.props,{points:r}=t,a=r.slice(0);let o=!1;r.map((t=>{t.id===e.id&&(o=!0)})),o||(a.push(e),n({points:a}),this.setState({addPointVisibility:!1}))})),a()(this,"setPointVisibility",(()=>{this.setState({addPointVisibility:!0})})),a()(this,"updateAPIKeyControl",(e=>{this.setState({apiKeyControl:e.target.value})})),a()(this,"updateAPIKey",(()=>{const{noticeOperations:e}=this.props,{apiKeyControl:t}=this.state;e.removeAllNotices(),t&&this.apiCall(t,"POST")})),a()(this,"removeAPIKey",(()=>{this.apiCall(null,"DELETE")})),a()(this,"onError",((e,t)=>{const{noticeOperations:n}=this.props;n.removeAllNotices(),n.createErrorNotice(t)})),a()(this,"onMapResize",((e,t,n,r)=>{const{onResizeStop:a,setAttributes:o}=this.props;a();o({mapHeight:parseInt(this.mapRef.current.mapRef.current.offsetHeight+r.height,10)}),setTimeout(this.mapRef.current.sizeMap,0)})),this.state={addPointVisibility:!1,apiState:0},this.mapRef=(0,o.createRef)()}apiCall(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise(((n,r)=>{const{noticeOperations:a}=this.props,o="/wpcom/v2/service-api-keys/mapbox",i=e?{path:o,method:t,data:{service_api_key:e}}:{path:o,method:t};this.setState({apiRequestOutstanding:!0},(()=>{s()(i).then((e=>{let{service_api_key:t,service_api_key_source:r}=e;a.removeAllNotices();const o=t?2:1,i="wpcom"===r?"":t;this.setState({apiState:o,apiKey:t,apiKeyControl:i,apiKeySource:r,apiRequestOutstanding:!1}),n()}),(e=>{let{message:t}=e;this.onError(null,t),this.setState({apiState:1,apiRequestOutstanding:!1}),r()}))}))}))}componentDidMount(){this.apiCall().then((()=>{this.props.attributes?.address&&this.geoCodeAddress(this.props.attributes?.address,this.state.apiKey)}))}render(){const{className:e,setAttributes:t,attributes:n,noticeUI:r,notices:a,isSelected:i,instanceId:s,onResizeStart:l}=this.props,{mapDetails:g,points:b,zoom:k,mapCenter:E,markerColor:w,preview:_,mapHeight:C,showFullscreenButton:j}=n,{addPointVisibility:S,apiKey:x,apiKeyControl:T,apiState:N,apiRequestOutstanding:A}=this.state,P=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setPointVisibility:this.setPointVisibility,context:"toolbar",mapRef:this.mapRef})),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setState:this.setState,mapRef:this.mapRef,instanceId:s,minHeight:400,removeAPIKey:this.removeAPIKey,updateAPIKey:this.updateAPIKey}))),I=(0,o.createElement)(c.Placeholder,{icon:h.X.icon},(0,o.createElement)(c.Spinner,null)),M=(0,o.createElement)(o.Fragment,null,__("To use the map block, you need an Access Token.","jetpack"),(0,o.createElement)("br",null),(0,o.createElement)(c.ExternalLink,{href:"https://www.mapbox.com"},__("Create an account or log in to Mapbox.","jetpack")),(0,o.createElement)("br",null),__("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),R=(0,o.createElement)(c.Placeholder,{icon:h.X.icon,label:__("Map","jetpack"),notices:a,instructions:M},(0,o.createElement)(o.Fragment,null,(0,o.createElement)("form",null,(0,o.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:A,placeholder:__("Paste Token Here","jetpack"),value:T,onChange:this.updateAPIKeyControl}),(0,o.createElement)(c.Button,{isSecondary:!0,disabled:A||!T||T.length<1,onClick:this.updateAPIKey},__("Set Token","jetpack"))))),L=i&&b.length<=1,B=(0,v.t)(h.X.styles,n.className),Z=(0,o.createElement)(o.Fragment,null,P,(0,o.createElement)("div",{className:e},(0,o.createElement)(c.ResizableBox,{size:{height:C||"auto",width:"100%"},grid:[10,10],showHandle:i,minHeight:400,enable:y,onResizeStart:l,onResizeStop:this.onMapResize},(0,o.createElement)("div",{className:"wp-block-jetpack-map__map_wrapper"},(0,o.createElement)(d.Z,{ref:this.mapRef,scrollToZoom:L,showFullscreenButton:j,mapStyle:B||"default",mapDetails:g,mapHeight:C,points:b,zoom:k,mapCenter:E,markerColor:w,onSetZoom:e=>{t({zoom:e})},admin:!0,apiKey:x,onSetPoints:e=>t({points:e}),onSetMapCenter:e=>t({mapCenter:e}),onMapLoaded:()=>this.setState({addPointVisibility:!b.length}),onMarkerClick:()=>this.setState({addPointVisibility:!1}),onError:this.onError},i&&S&&(0,o.createElement)(p.Z,{onAddPoint:this.addPoint,onClose:()=>this.setState({addPointVisibility:!1}),apiKey:x,onError:this.onError,tagName:"AddPoint"})))))),F=h.X.styles.find((e=>e.name===B)),D=(0,o.createElement)("div",null,(0,o.createElement)("img",{alt:__("Map Preview","jetpack"),src:F?F.preview:f}));return(0,o.createElement)(o.Fragment,null,r,_&&D,!_&&0===N&&I,!_&&1===N&&R,!_&&2===N&&Z)}}t.Z=(0,g.compose)([c.withNotices,(0,b.withDispatch)((e=>{const{toggleSelection:t}=e("core/block-editor");return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}))])(E)},14499:function(e,t,n){"use strict";function r(e,t){return fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(e)}.json?access_token=${encodeURIComponent(t)}`).then((e=>e.json()))}n.d(t,{P:function(){return r}})},92828:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(17885),a=n(70312),o=n(18156),i=n(86124),s=n(91576),l=n(57535);const{name:c}=r.X,u={title:r.X.title,icon:{src:r.X.icon,foreground:(0,l.m)()},category:r.X.category,keywords:r.X.keywords,description:r.X.description,attributes:r.X.attributes,supports:r.X.supports,styles:r.X.styles,getEditWrapperProps(e){const{align:t}=e;if(-1!==r.X.validAlignments.indexOf(t))return{"data-align":t}},edit:a.Z,save:o.Z,example:r.X.example,deprecated:[s.Z,i.Z]}},77714:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307);class i extends o.Component{constructor(){super(...arguments),a()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,o.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}i.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=i},1595:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(95319);const c=(0,i.__)("Add a marker…","jetpack");class u extends o.Component{constructor(){super(...arguments),a()(this,"getOptionCompletion",(e=>{const{value:t}=e,n={placeTitle:t.text,title:t.text,caption:t.place_name,id:t.id,coordinates:{longitude:t.geometry.coordinates[0],latitude:t.geometry.coordinates[1]}};return this.props.onAddPoint(n),t.text})),a()(this,"search",(e=>{const{apiKey:t,onError:n}=this.props,r="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(e)+".json?access_token="+t;return new Promise((function(e,t){const a=new XMLHttpRequest;a.open("GET",r),a.onload=function(){if(200===a.status){const t=JSON.parse(a.responseText);e(t.features)}else{const e=JSON.parse(a.responseText);n(e.statusText,e.responseJSON.message),t(new Error("Mapbox Places Error"))}},a.send()}))})),a()(this,"onReset",(()=>{this.textRef.current.value=null})),this.textRef=(0,o.createRef)(),this.containerRef=(0,o.createRef)(),this.state={isEmpty:!0},this.autocompleter={name:"placeSearch",options:this.search,isDebounced:!0,getOptionLabel:e=>(0,o.createElement)("span",null,e.place_name),getOptionKeywords:e=>[e.place_name],getOptionCompletion:this.getOptionCompletion}}componentDidMount(){setTimeout((()=>{this.containerRef.current.querySelector("input").focus()}),50)}render(){const{label:e}=this.props;return(0,o.createElement)("div",{ref:this.containerRef},(0,o.createElement)(s.BaseControl,{label:e,className:"components-location-search"},(0,o.createElement)(l.Z,{completer:this.autocompleter,onReset:this.onReset},(e=>{let{isExpanded:t,listBoxId:n,activeId:r,onChange:a,onKeyDown:i}=e;return(0,o.createElement)(s.TextControl,{placeholder:c,ref:this.textRef,onChange:a,"aria-expanded":t,"aria-owns":n,"aria-activedescendant":r,onKeyDown:i})}))))}}u.defaultProps={onError:()=>{}},t.Z=u},41626:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(55609);class s extends o.Component{constructor(){super(...arguments),a()(this,"onDeletePoint",(e=>{const t=parseInt(e.target.getAttribute("data-id")),{points:n,onChange:r}=this.props,a=n.slice(0);a.splice(t,1),r(a)})),this.state={selectedCell:null}}setMarkerField(e,t,n){const{points:r,onChange:a}=this.props,o=r.slice(0);o[n][e]=t,a(o)}render(){const{points:e}=this.props,t=e.map(((e,t)=>(0,o.createElement)(i.PanelBody,{title:e.placeTitle,key:e.id,initialOpen:!1},(0,o.createElement)(i.TextControl,{label:"Marker Title",value:e.title,onChange:e=>this.setMarkerField("title",e,t)}),(0,o.createElement)(i.TextareaControl,{label:"Marker Caption",value:e.caption,rows:"3",onChange:e=>this.setMarkerField("caption",e,t)}),(0,o.createElement)(i.Button,{"data-id":t,onClick:this.onDeletePoint,className:"component__locations__delete-btn"},(0,o.createElement)(i.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))));return(0,o.createElement)("div",{className:"component__locations"},(0,o.createElement)(i.Panel,{className:"component__locations__panel"},t))}}s.defaultProps={points:Object.freeze([]),onChange:()=>{}},t.Z=s},95319:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(55609),u=n(92819),p=n(39630),d=n(94333);const __=l.__,_n=l._n;function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;const n=[];for(let r=0;r<e.length;r++){const a=e[r];let{keywords:o=[]}=a;if("string"==typeof a.label&&(o=[...o,a.label]),n.push(a),n.length===t)break}return n}class h extends o.Component{static getInitialState(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}constructor(){super(...arguments),a()(this,"select",(e=>{const{completer:t}=this.props;(t.getOptionCompletion||{})(e),this.reset()})),a()(this,"reset",(()=>{this.setState(this.constructor.getInitialState())})),a()(this,"onChange",(e=>{const{completer:t}=this.props,{options:n}=this.state;if(!e)return void this.reset();t&&(t.isDebounced?this.debouncedLoadOptions(t,e):this.loadOptions(t,e));const r=t?m(n):[];t&&this.setState({selectedIndex:0,filteredOptions:r,query:e})})),a()(this,"onKeyDown",(e=>{const{isOpen:t,selectedIndex:n,filteredOptions:r}=this.state;if(!t)return;let a;switch(e.keyCode){case p.UP:a=(0===n?r.length:n)-1,this.setState({selectedIndex:a});break;case p.DOWN:a=(n+1)%r.length,this.setState({selectedIndex:a});break;case p.ENTER:this.select(r[n]);break;case p.LEFT:case p.RIGHT:case p.ESCAPE:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()})),this.debouncedLoadOptions=(0,u.debounce)(this.loadOptions,250),this.state=this.constructor.getInitialState()}componentWillUnmount(){this.debouncedLoadOptions.cancel()}handleFocusOutside(){this.reset()}loadOptions(e,t){const{options:n}=e,r=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then((t=>{if(r!==this.activePromise)return;const n=t.map(((t,n)=>({key:`${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}))),a=m(n),o=a.length===this.state.filteredOptions.length?this.state.selectedIndex:0;this.setState({options:n,filteredOptions:a,selectedIndex:o,isOpen:a.length>0}),this.announce(a)}))}announce(e){const{debouncedSpeak:t}=this.props;t&&(e.length?t((0,l.sprintf)(
+_n("There is currently only %s post in your Instagram account.","There are currently only %s posts in your Instagram account.",t,"jetpack"),t):__("There are currently no posts in your Instagram account.","jetpack");return(0,r.createElement)("div",{className:"wp-block-jetpack-instagram-gallery__count-notice"},(0,r.createElement)(a.Notice,{isDismissible:!1,status:"info"},e))})():null,(0,r.createElement)(a.RangeControl,{label:__("Number of Posts","jetpack"),value:m,onChange:e=>u({count:e}),min:1,max:i.u}),(0,r.createElement)(a.RangeControl,{label:__("Number of Columns","jetpack"),value:d,onChange:e=>u({columns:e}),min:1,max:6}),(0,r.createElement)(a.RangeControl,{label:__("Image Spacing (px)","jetpack"),value:g,onChange:e=>u({spacing:e}),min:0,max:50}),(0,r.createElement)(a.ToggleControl,{label:__("Stack on mobile","jetpack"),checked:f,onChange:()=>u({isStackedOnMobile:!f})})))}},36420:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(8979),p=n(696),d=n(4554),m=n(79236),h=n(2681),f=n(75412),g=n(44961),b=n(35089),v=n(64129);const __=c.__;t.Z=(0,l.withNotices)((e=>{const{attributes:t,className:n,isSelected:a,noticeOperations:c,noticeUI:k,setAttributes:y}=e,{accessToken:E,align:w,columns:_,count:C,isStackedOnMobile:S,spacing:j}=t;(0,r.useEffect)((()=>{const e=(0,d.S)(u.Z,t);(0,i.isEqual)(e,t)||y(e)}),[t,y]);const[x,P]=(0,r.useState)(E),{isRequestingWpcomConnectUrl:T,wpcomConnectUrl:N}=(0,h.Z)(),{images:A,isLoadingGallery:M,setImages:I}=(0,f.Z)({accessToken:E,noticeOperations:c,setAttributes:y,setSelectedAccount:P}),{connectToService:R,disconnectFromService:L,isConnecting:B,isRequestingUserConnections:Z,userConnections:D}=(0,m.Z)({accessToken:E,noticeOperations:c,selectedAccount:x,setAttributes:y,setImages:I,setSelectedAccount:P}),F=(0,b.Z)(),O=C>A.length?A.length:C,z=!M&&(!E||(0,i.isEmpty)(A)),U=!z,$=E&&M&&(0,i.isEmpty)(A),V=!z&&!$,G=o()(n,{[`align${w}`]:w}),H=o()("wp-block-jetpack-instagram-gallery__grid",`wp-block-jetpack-instagram-gallery__grid-columns-${_}`,{"is-stacked-on-mobile":S}),q={gridGap:j,"--latest-instagram-posts-spacing":j?`${j}px`:void 0},W={padding:j},K=()=>{x&&p.D!==x?y({accessToken:x,instagramUser:(0,i.find)(D,{token:x}).username}):R()};return(0,r.createElement)("div",{className:G},z&&(0,r.createElement)(l.Placeholder,{icon:"instagram",instructions:F?Z||D.length?void 0:__("Connect to Instagram to start sharing your images.","jetpack"):__("First, you'll need to connect your WordPress.com account.","jetpack"),label:__("Latest Instagram Posts","jetpack"),notices:k},F?(()=>{const e=D.length>0,t=[...(0,i.map)(D,(e=>({label:`@${e.username}`,value:e.token}))),{label:__("Add a new account","jetpack"),value:p.D}],n=B||Z||e&&!x;return(0,r.createElement)("div",null,e&&(0,r.createElement)(l.RadioControl,{label:__("Select your Instagram account:","jetpack"),onChange:e=>P(e),options:t,selected:x}),p.D===x&&(0,r.createElement)("p",{className:"wp-block-jetpack-instagram-gallery__new-account-instructions"},__("If you are currently logged in to Instagram on this device, you might need to log out of it first.","jetpack")),(0,r.createElement)(l.Button,{disabled:n,variant:"primary",onClick:K},B&&__("Connecting…","jetpack"),Z&&__("Loading your connections…","jetpack"),!B&&!Z&&__("Connect to Instagram","jetpack")))})():(0,r.createElement)(l.Button,{disabled:T||!N,href:N,variant:"secondary"},__("Connect to WordPress.com","jetpack"))),$&&(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(l.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack"))),V&&(0,r.createElement)("div",{className:H,style:q},(0,i.times)(a?C:O,(e=>(0,r.createElement)("span",{className:o()("wp-block-jetpack-instagram-gallery__grid-post"),key:e,style:W},(e=>{if(A[e]){const n=A[e];return(0,r.createElement)(g.Z,{alt:n.title||n.url,src:n.url,attributes:t,spacing:j})}return(0,r.createElement)("img",{alt:__("Latest Instagram Posts placeholder","jetpack"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNMyc2tBwAEOgG/c94mJwAAAABJRU5ErkJggg=="})})(e))))),U&&(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(v.Z,{accountImageTotal:A.length,attributes:t,currentUserConnected:F,disconnectFromService:L,shouldRenderSidebarNotice:U&&!$&&A.length<C,setAttributes:y})))}))},44961:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{src:t,alt:n,spacing:a}=e;const[i,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)("auto"),u=(0,r.useRef)(),p=()=>{s(!0),c("auto")};(0,r.useEffect)((()=>{const e=t;if(e){const t=new window.Image;t.src=e,t.onload=p}u.current&&c(u.current.parentNode.getBoundingClientRect().width)}),[t]);const d=-1*a,m=o()("wp-block-jetpack-instagram-gallery__placeholder",{"is-loaded":i}),h=i?{margin:d}:{margin:d,height:l},f=o()({"is-loaded":i});return(0,r.createElement)("span",{style:h,className:m},(0,r.createElement)("img",{alt:n,className:f,ref:u,src:t}))}},78544:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(4981),i=n(8979),s=n(36420),l=n(70355);const __=a.__,_x=a._x,c="instagram-gallery",u={title:__("Latest Instagram Posts","jetpack"),description:__("Display an automatically updating list of the latest posts from your Instagram feed.","jetpack"),icon:{src:"instagram",foreground:(0,l.m)()},category:"embed",keywords:[_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack")],supports:{align:!0,html:!1},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"wpcom_instagram_widget"===t},transform:e=>{let{instance:t}=e;return(0,o.createBlock)("jetpack/instagram-gallery",{columns:t.raw.columns,count:t.raw.count,accessToken:t.raw.token_id})}}]},attributes:i.Z,edit:s.Z,save:e=>{let{attributes:{instagramUser:t}}=e;return t&&(0,r.createElement)("div",null,(0,r.createElement)("a",{href:`https://www.instagram.com/${t}/`,rel:"noopener noreferrer",target:"_blank"},`https://www.instagram.com/${t}/`))}}},79236:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7211),a=n(92819),o=n(86989),i=n.n(o),s=n(69307),l=n(65736),c=n(696),u=n(35089);const __=l.__;function p(e){let{accessToken:t,noticeOperations:n,selectedAccount:o,setAttributes:l,setImages:p,setSelectedAccount:d}=e;const[m,h]=(0,s.useState)(!1),[f,g]=(0,s.useState)(!1),[b,v]=(0,s.useState)([]),k=(0,u.Z)();(0,s.useEffect)((()=>{!t&&k&&(g(!0),i()({path:"/wpcom/v2/instagram-gallery/connections"}).then((e=>{g(!1),v(e)})).catch((()=>{g(!1),v([])})))}),[t,k]),(0,s.useEffect)((()=>{c.D===o||(0,a.find)(b,{token:o})||d(void 0)}),[o,d,b]);return{connectToService:()=>{n.removeAllNotices(),h(!0),i()({path:"/wpcom/v2/instagram-gallery/connect-url"}).then((e=>{const t=new r.Z;t.open(e,"connect-to-instagram-popup","toolbar=0,location=0,menubar=0,"+t.getScreenCenterSpecs(700,700)),t.on("message",(e=>{let{keyring_id:t}=e;if(h(!1),t){const e=t.toString();l({accessToken:e}),d(e)}})),t.on("close",(e=>{"connect-to-instagram-popup"===e&&h(!1)}))})).catch((()=>{n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),h(!1)}))},disconnectFromService:()=>{n.removeAllNotices(),l({accessToken:void 0,instagramUser:void 0}),p([])},isConnecting:m,isRequestingUserConnections:f,userConnections:b}}},2681:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(86989),a=n.n(r),o=n(9818),i=n(69307),s=n(96483),l=n(35089);function c(){const{isAutoDraft:e}=(0,o.useSelect)((e=>{const{status:t}=e("core/editor").getCurrentPost();return{isAutoDraft:"auto-draft"===t}})),{savePost:t}=(0,o.useDispatch)("core/editor"),[n,r]=(0,i.useState)(),[c,u]=(0,i.useState)(!1),p=(0,l.Z)();return(0,i.useEffect)((()=>{p||n||c||(e?t():(u(!0),a()({path:(0,s.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((e=>{r(e),u(!1)}))))}),[p,e,c,t,n]),{isRequestingWpcomConnectUrl:c,wpcomConnectUrl:n}}},75412:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92819),a=n(86989),o=n.n(a),i=n(69307),s=n(65736),l=n(96483),c=n(696);const __=s.__;function u(e){let{accessToken:t,noticeOperations:n,setAttributes:a,setSelectedAccount:s}=e;const[u,p]=(0,i.useState)([]),[d,m]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{t&&(n.removeAllNotices(),m(!0),o()({path:(0,l.addQueryArgs)("/wpcom/v2/instagram-gallery/gallery",{access_token:t,count:c.u})}).then((e=>{let{external_name:t,images:o}=e;if(m(!1),!o||!(0,r.isArray)(o))return n.createErrorNotice(__("An error occurred. Please try again later.","jetpack")),p([]),a({accessToken:void 0,instagramUser:void 0}),void s(void 0);(0,r.isEmpty)(o)&&n.createErrorNotice(__("No images were found in your Instagram account.","jetpack")),a({instagramUser:t}),p(o)})).catch((()=>{m(!1),p([]),a({accessToken:void 0,instagramUser:void 0}),s(void 0)})))}),[t,a,s]),{images:u,isLoadingGallery:d,setImages:p}}},64007:function(e,t,n){"use strict";n.d(t,{X:function(){return o},u:function(){return a}});var r=n(28495);const a="likes",o={render:r.Z}},28495:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(12238),l=n(9818),c=n(8264);const __=a.__,u=(0,l.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{areLikesEnabled:t("jetpack_likes_enabled")}})),p=(0,l.withDispatch)((e=>{const{editPost:t}=e("core/editor");return{editPost:t}}));t.Z=(0,i.compose)([u,p])((e=>{let{areLikesEnabled:t,editPost:n}=e;return(0,r.createElement)(s.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},(0,r.createElement)(c.Z,null,(0,r.createElement)(o.CheckboxControl,{label:__("Show likes.","jetpack"),checked:t,onChange:e=>{n({jetpack_likes_enabled:e})}})))}))},64968:function(e,t,n){"use strict";n.d(t,{Cw:function(){return o},N3:function(){return r},sf:function(){return a}});const r="processing",a="success",o="error"},84038:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(24535),s=n(64968);const __=a.__;function l(e){let{auditionNotification:t,clearAudition:n,setAttributes:a,emailPlaceholder:l,processingLabel:c,successLabel:u,errorLabel:p,interests:d,signupFieldTag:m,signupFieldValue:h,connectURL:f}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Text Elements","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Email Placeholder","jetpack"),value:l,onChange:e=>{a({emailPlaceholder:e}),n()}})),(0,r.createElement)(o.PanelBody,{title:__("Notifications","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Processing text","jetpack"),value:c,onChange:e=>{a({processingLabel:e}),t(s.N3)}}),(0,r.createElement)(o.TextControl,{label:__("Success text","jetpack"),value:u,onChange:e=>{a({successLabel:e}),t(s.sf)}}),(0,r.createElement)(o.TextControl,{label:__("Error text","jetpack"),value:p,onChange:e=>{a({errorLabel:e}),t(s.Cw)}})),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Groups","jetpack")},(0,r.createElement)(i.Z,{interests:d,onChange:(e,t)=>{const n=[...new Set([...d,e])].filter((n=>!(n===e&&!t)&&n));a({interests:n})}}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},__("Learn about groups","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Signup Location Tracking","jetpack")},(0,r.createElement)(o.TextControl,{label:__("Signup Field Tag","jetpack"),placeholder:__("SIGNUP","jetpack"),value:m,onChange:e=>a({signupFieldTag:e})}),(0,r.createElement)(o.TextControl,{label:__("Signup Field Value","jetpack"),placeholder:__("website","jetpack"),value:h,onChange:e=>a({signupFieldValue:e})}),(0,r.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},__("Learn about signup location tracking","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Mailchimp Connection","jetpack")},(0,r.createElement)(o.ExternalLink,{href:f},__("Manage Connection","jetpack"))))}},748:function(e,t,n){"use strict";var r=n(92819),a=n(4981),o=n(65736);const __=o.__,i=["submitButtonText","backgroundButtonColor","textButtonColor","submitButtonClasses","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},submitButtonText:{type:"string",default:__("Join my email list","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},submitButtonClasses:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},migrate:e=>{const t=(0,r.omit)(e,i),n={text:(o=e).submitButtonText||__("Join my email list","jetpack"),textColor:o.textButtonColor,customTextColor:o.customTextButtonColor,backgroundColor:o.backgroundButtonColor,customBackgroundColor:o.customBackgroundButtonColor};var o;return[t,[(0,a.createBlock)("jetpack/button",{element:"button",uniqueId:"mailchimp-widget-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,i),Boolean),save:()=>null}},43818:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65235),c=n.n(l),u=n(65736),p=n(96483),d=n(55609),m=n(52175),h=n(4495),f=n(84038),g=n(35089),b=n(64968);const __=u.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e=(0,g.Z)();if(e){const t={path:"/wpcom/v2/mailchimp",method:"GET"};s()(t).then((t=>{const n=t.connect_url,r="connected"===t.code?1:2;this.setState({currentUserConnected:e,connected:r,connectURL:n})}),(t=>{this.setState({currentUserConnected:e,connected:2,connectURL:null}),this.onError(t.message)}))}else s()({path:(0,p.addQueryArgs)("/jetpack/v4/connection/url",{from:"jetpack-block-editor",redirect:window.location.href})}).then((t=>{const n=t;this.setState({currentUserConnected:e,connected:2,connectURL:n})}))})),a()(this,"auditionNotification",(e=>{this.setState({audition:e}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.clearAudition,3e3)})),a()(this,"clearAudition",(()=>{this.setState({audition:null})})),a()(this,"labelForAuditionType",(e=>{const{attributes:t}=this.props,{processingLabel:n,successLabel:r,errorLabel:a}=t;return e===b.N3?n:e===b.sf?r:e===b.Cw?a:null})),a()(this,"roleForAuditionType",(e=>e===b.Cw?"alert":"status")),a()(this,"render",(()=>{const{attributes:e,className:t,notices:n,noticeUI:r,setAttributes:a}=this.props,{audition:i,connected:s,connectURL:l,currentUserConnected:u}=this.state,{emailPlaceholder:p,consentText:g,interests:b,processingLabel:v,successLabel:k,errorLabel:y,preview:E,signupFieldTag:w,signupFieldValue:_}=e,C="wp-block-jetpack-mailchimp",S=(0,o.createElement)(d.Placeholder,{icon:h.qv,notices:n},(0,o.createElement)(d.Spinner,null)),j=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("You need to connect your Mailchimp account and choose an audience in order to start collecting Email subscribers.","jetpack")},(0,o.createElement)(d.Button,{variant:"secondary",href:l,target:"_blank"},__("Set up Mailchimp form","jetpack")),(0,o.createElement)("div",{className:`${C}-recheck`},(0,o.createElement)(d.Button,{variant:"link",onClick:this.apiCall},__("Re-check Connection","jetpack")))),x=(0,o.createElement)(d.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:h.qv,label:__("Mailchimp","jetpack"),notices:n,instructions:__("First, you'll need to connect your WordPress.com account.","jetpack")},(0,o.createElement)(d.Button,{variant:"secondary",href:l},__("Connect to WordPress.com","jetpack"))),P=(0,o.createElement)(m.InspectorControls,null,(0,o.createElement)(f.Q,{auditionNotification:this.auditionNotification,clearAudition:this.clearAudition,emailPlaceholder:p,processingLabel:v,successLabel:k,errorLabel:y,interests:b,setAttributes:this.props.setAttributes,signupFieldTag:w,signupFieldValue:_,connectURL:l})),T=c()(t,{[`${C}_notication-audition`]:i}),N=(0,o.createElement)("div",{className:T},(0,o.createElement)(d.TextControl,{"aria-label":p,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:()=>!1,placeholder:p,title:__("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),(0,o.createElement)(m.InnerBlocks,{template:[[h.Ss.name,h.Ss.attributes]],templateLock:"all"}),(0,o.createElement)(m.RichText,{tagName:"p",placeholder:__("Write consent text","jetpack"),value:g,onChange:e=>a({consentText:e}),inlineToolbar:!0}),i&&(0,o.createElement)("div",{className:`${C}_notification ${C}_${i}`,role:this.roleForAuditionType(i)},this.labelForAuditionType(i))),A=N;return(0,o.createElement)(o.Fragment,null,r,E&&A,!E&&0===s&&S,!E&&2===s&&u&&j,!E&&2===s&&!u&&x,!E&&1===s&&P,!E&&1===s&&N)})),this.state={audition:null,connected:0,connectURL:null,currentUserConnected:null},this.timeout=null}}t.Z=(0,d.withNotices)(v)},4495:function(e,t,n){"use strict";n.d(t,{Ss:function(){return d},Xd:function(){return m},qv:function(){return p},u2:function(){return u}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(748),l=n(43818),c=n(70355);const __=a.__,_x=a._x,u="mailchimp",p=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(i.G,{transform:"translate(-45.478101,-100.73059)"},(0,r.createElement)(i.G,{transform:"matrix(0.26458333,0,0,0.26458333,15.6741,59.72)"},(0,r.createElement)(i.Path,{d:"m 176.433,197.529 c 0.657,-0.078 1.286,-0.082 1.865,0 0.335,-0.768 0.392,-2.091 0.091,-3.532 -0.447,-2.142 -1.053,-3.438 -2.305,-3.236 -1.252,0.202 -1.298,1.754 -0.85,3.895 0.252,1.205 0.7,2.235 1.199,2.873"}),(0,r.createElement)(i.Path,{d:"m 165.688,199.224 c 0.895,0.393 1.446,0.654 1.661,0.426 0.139,-0.142 0.097,-0.413 -0.117,-0.762 -0.442,-0.721 -1.351,-1.453 -2.316,-1.864 -1.972,-0.849 -4.325,-0.567 -6.14,0.737 -0.599,0.439 -1.167,1.047 -1.086,1.416 0.026,0.119 0.116,0.209 0.326,0.239 0.494,0.056 2.22,-0.816 4.209,-0.938 1.403,-0.086 2.566,0.353 3.462,0.746"}),(0,r.createElement)(i.Path,{d:"m 163.887,200.252 c -1.167,0.184 -1.81,0.569 -2.223,0.926 -0.352,0.308 -0.57,0.649 -0.568,0.888 0.001,0.114 0.05,0.18 0.089,0.213 0.053,0.047 0.116,0.073 0.192,0.073 0.263,0 0.854,-0.237 0.854,-0.237 1.623,-0.581 2.694,-0.51 3.755,-0.39 0.586,0.066 0.864,0.102 0.992,-0.099 0.038,-0.058 0.084,-0.183 -0.033,-0.373 -0.273,-0.443 -1.451,-1.192 -3.057,-1.001"}),(0,r.createElement)(i.Path,{d:"m 172.805,204.025 c 0.792,0.389 1.664,0.236 1.948,-0.341 0.284,-0.577 -0.128,-1.361 -0.92,-1.75 -0.792,-0.389 -1.664,-0.236 -1.948,0.341 -0.284,0.578 0.128,1.361 0.92,1.75"}),(0,r.createElement)(i.Path,{d:"m 177.896,199.576 c -0.643,-0.011 -1.177,0.695 -1.192,1.578 -0.015,0.883 0.495,1.606 1.138,1.617 0.643,0.011 1.177,-0.695 1.192,-1.578 0.015,-0.882 -0.495,-1.606 -1.138,-1.617"}),(0,r.createElement)(i.Path,{d:"m 134.683,215.485 c -0.16,-0.201 -0.423,-0.14 -0.678,-0.08 -0.178,0.042 -0.379,0.088 -0.6,0.085 -0.473,-0.009 -0.874,-0.211 -1.099,-0.557 -0.293,-0.45 -0.276,-1.121 0.047,-1.889 l 0.151,-0.344 c 0.516,-1.158 1.379,-3.095 0.41,-4.941 -0.73,-1.39 -1.92,-2.255 -3.351,-2.437 -1.374,-0.174 -2.788,0.335 -3.69,1.33 -1.423,1.57 -1.646,3.707 -1.371,4.462 0.101,0.276 0.259,0.353 0.373,0.369 0.242,0.032 0.6,-0.144 0.824,-0.747 l 0.064,-0.196 c 0.1,-0.319 0.286,-0.913 0.591,-1.389 0.368,-0.574 0.94,-0.969 1.612,-1.114 0.684,-0.147 1.384,-0.016 1.97,0.368 0.997,0.652 1.381,1.874 0.955,3.039 -0.22,0.603 -0.578,1.756 -0.499,2.703 0.16,1.917 1.339,2.687 2.398,2.769 1.03,0.039 1.75,-0.54 1.932,-0.962 0.107,-0.25 0.017,-0.402 -0.042,-0.467"}),(0,r.createElement)(i.Path,{d:"m 144.475,180.275 c 3.36,-3.882 7.495,-7.257 11.2,-9.152 0.128,-0.066 0.264,0.073 0.195,0.199 -0.294,0.533 -0.861,1.674 -1.04,2.539 -0.028,0.135 0.119,0.236 0.233,0.159 2.305,-1.571 6.314,-3.255 9.831,-3.471 0.151,-0.009 0.224,0.184 0.104,0.277 -0.535,0.41 -1.12,0.978 -1.547,1.552 -0.073,0.098 -0.004,0.238 0.118,0.239 2.469,0.018 5.95,0.882 8.219,2.155 0.153,0.086 0.044,0.383 -0.128,0.344 -3.433,-0.787 -9.052,-1.384 -14.89,0.04 -5.211,1.271 -9.189,3.234 -12.09,5.344 -0.147,0.107 -0.323,-0.087 -0.204,-0.224 z m 16.732,37.612 0.001,0.002 0.002,0.004 z m 13.854,1.635 c 0.1,-0.042 0.168,-0.155 0.157,-0.268 -0.014,-0.139 -0.138,-0.24 -0.277,-0.226 0,0 -7.169,1.061 -13.942,-1.418 0.738,-2.398 2.699,-1.532 5.664,-1.293 5.344,0.319 10.134,-0.462 13.674,-1.478 3.067,-0.88 7.096,-2.616 10.225,-5.086 1.055,2.318 1.428,4.87 1.428,4.87 0,0 0.817,-0.146 1.5,0.274 0.645,0.397 1.118,1.222 0.795,3.356 -0.658,3.986 -2.352,7.222 -5.2,10.199 -1.734,1.866 -3.838,3.488 -6.246,4.668 -1.279,0.672 -2.64,1.253 -4.079,1.722 -10.736,3.507 -21.726,-0.348 -25.268,-8.626 -0.283,-0.622 -0.522,-1.274 -0.71,-1.955 -1.509,-5.455 -0.228,-12 3.778,-16.12 v -0.002 c 0.247,-0.262 0.499,-0.571 0.499,-0.96 0,-0.325 -0.207,-0.668 -0.386,-0.912 -1.402,-2.033 -6.257,-5.497 -5.282,-12.201 0.7,-4.816 4.912,-8.208 8.839,-8.007 l 0.995,0.057 c 1.702,0.101 3.186,0.319 4.587,0.378 2.345,0.102 4.453,-0.239 6.951,-2.32 0.842,-0.702 1.518,-1.311 2.661,-1.504 0.12,-0.021 0.419,-0.128 1.016,-0.1 0.61,0.033 1.19,0.2 1.711,0.547 2.002,1.332 2.286,4.559 2.39,6.919 0.059,1.347 0.222,4.607 0.278,5.543 0.127,2.14 0.69,2.441 1.828,2.816 0.64,0.211 1.234,0.368 2.11,0.614 2.65,0.744 4.221,1.499 5.212,2.469 0.591,0.606 0.866,1.25 0.951,1.864 0.312,2.28 -1.77,5.096 -7.283,7.655 -6.026,2.797 -13.337,3.505 -18.388,2.942 l -1.77,-0.2 c -4.04,-0.544 -6.345,4.677 -3.92,8.255 1.563,2.306 5.82,3.806 10.079,3.807 9.765,0.001 17.271,-4.169 20.063,-7.77 l 0.223,-0.318 c 0.138,-0.207 0.024,-0.321 -0.147,-0.204 -2.281,1.561 -12.413,7.758 -23.251,5.893 0,0 -1.317,-0.217 -2.519,-0.684 -0.955,-0.372 -2.955,-1.292 -3.198,-3.343 8.746,2.705 14.253,0.148 14.253,0.148 z m -48.039,-20.785 c -3.042,0.591 -5.723,2.315 -7.362,4.697 -0.98,-0.817 -2.805,-2.399 -3.128,-3.016 -2.617,-4.97 2.856,-14.632 6.68,-20.089 9.45,-13.485 24.25,-23.692 31.101,-21.84 1.114,0.315 4.803,4.592 4.803,4.592 0,0 -6.849,3.8 -13.2,9.097 -8.558,6.589 -15.022,16.166 -18.895,26.559 z m 5.111,22.805 c -0.46,0.079 -0.93,0.11 -1.404,0.098 -4.577,-0.123 -9.52,-4.243 -10.011,-9.129 -0.543,-5.401 2.217,-9.557 7.103,-10.543 0.584,-0.118 1.29,-0.186 2.051,-0.146 2.738,0.15 6.772,2.252 7.693,8.216 0.816,5.282 -0.48,10.659 -5.432,11.503 z m 61.996,-9.564 c -0.039,-0.139 -0.295,-1.072 -0.646,-2.197 -0.351,-1.126 -0.714,-1.917 -0.714,-1.917 1.408,-2.107 1.433,-3.992 1.245,-5.059 -0.2,-1.323 -0.751,-2.45 -1.861,-3.616 -1.11,-1.165 -3.381,-2.359 -6.572,-3.255 l -1.674,-0.465 c -0.008,-0.069 -0.088,-3.947 -0.16,-5.612 -0.053,-1.204 -0.156,-3.083 -0.739,-4.933 -0.695,-2.505 -1.905,-4.697 -3.416,-6.099 4.17,-4.322 6.773,-9.084 6.766,-13.168 -0.012,-7.855 -9.659,-10.232 -21.548,-5.309 l -2.519,1.069 c -0.011,-0.011 -4.554,-4.468 -4.622,-4.528 -13.555,-11.823 -55.935,35.284 -42.386,46.725 l 2.961,2.509 c -0.768,1.99 -1.07,4.27 -0.823,6.721 0.316,3.149 1.94,6.167 4.573,8.499 2.499,2.214 5.785,3.616 8.973,3.613 5.273,12.151 17.321,19.605 31.447,20.025 15.153,0.45 27.873,-6.66 33.203,-19.432 0.349,-0.896 1.828,-4.935 1.828,-8.501 0,-3.583 -2.026,-5.068 -3.316,-5.068"})))),d={name:"jetpack/button",attributes:{element:"button",text:__("Join my Mailchimp audience","jetpack"),uniqueId:"mailchimp-widget-id"}},m={title:__("Mailchimp","jetpack"),icon:{src:p,foreground:(0,c.m)()},description:__("A form enabling readers to join a Mailchimp audience.","jetpack"),category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack")],supports:{align:["wide","full"],color:{gradients:!0},spacing:{padding:!0,margin:!0}},attributes:{emailPlaceholder:{type:"string",default:__("Enter your email","jetpack")},consentText:{type:"string",default:__("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:__("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:__("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:__("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:l.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null),example:{attributes:{preview:!0},innerBlocks:[d]},deprecated:[s.Z]}},24535:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(55609);class c extends o.Component{constructor(){super(...arguments),a()(this,"state",{interest_categories:[]}),a()(this,"retrieveGroups",(()=>{s()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((e=>{const{interest_categories:t}=e;this.setState({interest_categories:t})}))})),a()(this,"render",(()=>{const{interest_categories:e}=this.state,{interests:t,onChange:n}=this.props;return(0,o.createElement)(o.Fragment,null,e&&(e||[]).map((e=>e.interests.map((e=>(0,o.createElement)(l.CheckboxControl,{label:e.name,value:e.id,checked:t.includes(e.id),onChange:t=>n(e.id,t),key:e.id}))))))}))}componentDidMount(){this.retrieveGroups()}}t.Z=c,c.defaultProps={interests:[],onChange:()=>null}},2944:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(31852);const __=a.__;class s extends r.Component{render(){const{onClose:e,onAddPoint:t,onError:n,apiKey:a}=this.props;return(0,r.createElement)(o.Button,{className:"component__add-point"},__("Add marker","jetpack"),(0,r.createElement)(o.Popover,{className:"component__add-point__popover",position:"bottom center"},(0,r.createElement)(o.Button,{className:"component__add-point__close",onClick:e},(0,r.createElement)(o.Dashicon,{icon:"no"})),(0,r.createElement)(i.Z,{onAddPoint:t,label:__("Add a location","jetpack"),apiKey:a,onError:n})))}}s.defaultProps={onAddPoint:()=>{},onClose:()=>{},onError:()=>{}},t.Z=s},93846:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(55609),c=n(9262),u=n(82621),p=n(90055),d=n(85007),m=n(45388);const __=i.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),a()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),a()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),a()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:r}=n.props,a=t.slice(0);(0,s.assign)(a[r],e),this.props.onSetPoints(a)})),a()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,r=e.slice(0);r.splice(n,1),this.props.onSetPoints(r),this.setState({activeMarker:null})})),a()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,r=Math.min(e*(3/4),t);n.style.height=r+"px"}t.resize(),this.setBoundsByMarkers()})),a()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),a()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:r,zoom:a}=this.props,{map:o,activeMarker:i,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!o)return;if(r.length&&e?o.dragPan.disable():o.dragPan.enable(),!r.length)return;if(i)return;const u=new s.LngLatBounds;if(r.forEach((e=>{u.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(u.getCenter()),r.length>1){o.fitBounds(u,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{o.removeControl(l)}catch(e){}}else{if(o.setCenter(u.getCenter()),c){const e=12;o.setZoom(e),n(e)}else o.setZoom(parseInt(a,10));o.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),a()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),a()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,o.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:r}=this.props,{map:a,activeMarker:i,mapboxgl:p}=this.state,{onMarkerClick:d,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(i,"props.point")||{},{title:g,caption:b}=f,v=o.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),k=a&&p&&e.map(((e,t)=>(0,o.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:a,mapboxgl:p,markerColor:r,onClick:d}))),y=p&&(0,o.createElement)(u.Z,{activeMarker:i,map:a,mapboxgl:p,unsetActiveMarker:()=>this.setState({activeMarker:null})},i&&t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,o.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:b,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,o.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,o.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),i&&!t&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h3",null,g),(0,o.createElement)("p",null,b)));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},k),y,v)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:r,points:a,mapStyle:o,mapDetails:i,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:u}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),o===e.mapStyle&&i===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(u),t&&u._fullscreenButton&&(u._fullscreenButton.disabled=!0)):c.removeControl(u))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,p.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,d.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,d.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,d.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:r,onError:a,scrollToZoom:o,showFullscreenButton:i,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}o||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{a("mapbox_error",e.error.message)}));const u=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:u,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(u),i&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),r(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},53036:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(57897),l=n(82695);const __=a.__;t.Z=e=>{let{attributes:t,setAttributes:n,state:a,setState:c,context:u,mapRef:p,instanceId:d,minHeight:m,removeAPIKey:h,updateAPIKey:f,setPointVisibility:g}=e;const b=e=>{n({align:e}),setTimeout(p.current.sizeMap,0)};return"toolbar"===u?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockAlignmentToolbar,{value:t.align,onChange:b,controls:["center","wide","full"]}),(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:l.X.markerIcon,label:__("Add a marker","jetpack"),onClick:g}))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.PanelColorSettings,{title:__("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:t.markerColor,onChange:e=>n({markerColor:e}),label:__("Marker Color","jetpack")}]}),(0,r.createElement)(o.PanelBody,{title:__("Map Settings","jetpack")},(0,r.createElement)(o.BaseControl,{label:__("Height in pixels","jetpack"),id:`block-jetpack-map-height-input-${d}`},(0,r.createElement)("input",{type:"number",id:`block-jetpack-map-height-input-${d}`,className:"wp-block-jetpack-map__height_input",onChange:e=>{n({mapHeight:e.target.value}),e.target!==document.activeElement&&setTimeout(p.current.sizeMap,0)},onBlur:e=>{const{mapHeight:r}=t;let a=parseInt(e.target.value,10);isNaN(a)?a=null:null==r?a=p.current.mapRef.current.offsetHeight:a<m&&(a=m),n({mapHeight:a}),setTimeout(p.current.sizeMap,0)},value:t.mapHeight||"",min:m,step:"10"})),(0,r.createElement)(o.RangeControl,{label:__("Zoom level","jetpack"),help:t.points.length>1&&__("The default zoom level cannot be changed when there are two or more markers on the map.","jetpack"),disabled:t.points.length>1,value:t.zoom,onChange:e=>{n({zoom:e}),setTimeout(p.current.updateZoom,0)},min:0,max:22}),(0,r.createElement)(o.ToggleControl,{label:__("Show street names","jetpack"),checked:t.mapDetails,onChange:e=>n({mapDetails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Scroll to zoom","jetpack"),help:__("Allow the map to capture scrolling, and zoom in or out.","jetpack"),checked:t.scrollToZoom,onChange:e=>n({scrollToZoom:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Show Fullscreen Button","jetpack"),help:__("Allow your visitors to display the map in fullscreen.","jetpack"),checked:t.showFullscreenButton,onChange:e=>n({showFullscreenButton:e})})),t.points.length?(0,r.createElement)(o.PanelBody,{title:__("Markers","jetpack"),initialOpen:!1},(0,r.createElement)(s.Z,{points:t.points,onChange:e=>{n({points:e})}})):null,(0,r.createElement)(o.PanelBody,{title:__("Mapbox Access Token","jetpack"),initialOpen:!1},(0,r.createElement)(o.TextControl,{help:"wpcom"===a.apiKeySource&&(0,r.createElement)(r.Fragment,null,__("You can optionally enter your own access token.","jetpack")," ",(0,r.createElement)(o.ExternalLink,{href:"https://account.mapbox.com/access-tokens/"},__("Find it on Mapbox","jetpack"))),label:__("Mapbox Access Token","jetpack"),value:a.apiKeyControl,onChange:e=>c({apiKeyControl:e})}),(0,r.createElement)(o.ButtonGroup,null,(0,r.createElement)(o.Button,{type:"button",onClick:f,disabled:!a.apiKeyControl||a.apiKeyControl===a.apiKey},__("Update Token","jetpack")),(0,r.createElement)(o.Button,{type:"button",onClick:h,disabled:"wpcom"===a.apiKeySource,variant:"secondary"},__("Remove Token","jetpack")))))}},55109:function(e,t,n){"use strict";var r=n(85888);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,showFullscreenButton:!0,className:t}},save:r.Z}},85888:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u}=e,p=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),d=t?`align${t}`:null;return(0,r.createElement)("div",{className:d,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null},o.length>0&&(0,r.createElement)("ul",null,p))}}t.Z=a},45051:function(e,t,n){"use strict";var r=n(95382);t.Z={attributes:{align:{type:"string"},points:{type:"array",default:[]},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:"string",default:"default"},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},migrate:e=>{const t=((e.className||"").replace(/is-style-[^ ]+/,"")+` is-style-${e.mapStyle}`).replace(/\s+/g," ").trim(),{mapStyle:n,...r}=e;return{...r,className:t}},save:r.Z}},95382:function(e,t,n){"use strict";var r=n(69307);class a extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:n,mapDetails:a,points:o,zoom:i,mapCenter:s,markerColor:l,scrollToZoom:c,mapHeight:u,showFullscreenButton:p}=e,d=o.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),m=t?`align${t}`:null;return(0,r.createElement)("div",{className:m,"data-map-style":n,"data-map-details":a,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(s),"data-marker-color":l,"data-scroll-to-zoom":c||null,"data-map-height":u||null,"data-show-fullscreen-button":p||null},o.length>0&&(0,r.createElement)("ul",null,d))}}t.Z=a},740:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(86989),s=n.n(i),l=n(65736),c=n(55609),u=n(52175),p=n(2944),d=n(93846),m=n(53036),h=n(82695),f=n(96406),g=n(94333),b=n(9818),v=n(81518),k=n(1555);const __=l.__,y={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};class E extends o.Component{constructor(){super(...arguments),a()(this,"geoCodeAddress",((e,t)=>{t&&(0,k.P)(e,t).then((e=>{var t;if(null!==(t=e.features)&&void 0!==t&&t.length){const t=e.features[0],n=[{title:t.text,placeTitle:t.text,caption:t.place_name,id:t.id,coordinates:{latitude:t.center[1],longitude:t.center[0]}}];this.props.setAttributes({points:n})}else this.onError(null,__("Could not find the coordinates of the provided address. Displaying default location. Feel free to add the location manually.","jetpack"))})).catch((e=>this.onError(null,e.message)))})),a()(this,"componentDidUpdate",(e=>{var t,n;const r=null===(t=this.props.attributes)||void 0===t?void 0:t.address,a=null===(n=e.attributes)||void 0===n?void 0:n.address;r&&a!==r&&this.geoCodeAddress(r,this.state.apiKey)})),a()(this,"addPoint",(e=>{const{attributes:t,setAttributes:n}=this.props,{points:r}=t,a=r.slice(0);let o=!1;r.map((t=>{t.id===e.id&&(o=!0)})),o||(a.push(e),n({points:a}),this.setState({addPointVisibility:!1}))})),a()(this,"setPointVisibility",(()=>{this.setState({addPointVisibility:!0})})),a()(this,"updateAPIKeyControl",(e=>{this.setState({apiKeyControl:e.target.value})})),a()(this,"updateAPIKey",(()=>{const{noticeOperations:e}=this.props,{apiKeyControl:t}=this.state;e.removeAllNotices(),t&&this.apiCall(t,"POST")})),a()(this,"removeAPIKey",(()=>{this.apiCall(null,"DELETE")})),a()(this,"onError",((e,t)=>{const{noticeOperations:n}=this.props;n.removeAllNotices(),n.createErrorNotice(t)})),a()(this,"onMapResize",((e,t,n,r)=>{const{onResizeStop:a,setAttributes:o}=this.props;a();o({mapHeight:parseInt(this.mapRef.current.mapRef.current.offsetHeight+r.height,10)}),setTimeout(this.mapRef.current.sizeMap,0)})),this.state={addPointVisibility:!1,apiState:0},this.mapRef=(0,o.createRef)()}apiCall(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise(((n,r)=>{const{noticeOperations:a}=this.props,o="/wpcom/v2/service-api-keys/mapbox",i=e?{path:o,method:t,data:{service_api_key:e}}:{path:o,method:t};this.setState({apiRequestOutstanding:!0},(()=>{s()(i).then((e=>{let{service_api_key:t,service_api_key_source:r}=e;a.removeAllNotices();const o=t?2:1,i="wpcom"===r?"":t;this.setState({apiState:o,apiKey:t,apiKeyControl:i,apiKeySource:r,apiRequestOutstanding:!1}),n()}),(e=>{let{message:t}=e;this.onError(null,t),this.setState({apiState:1,apiRequestOutstanding:!1}),r()}))}))}))}componentDidMount(){this.apiCall().then((()=>{var e,t;null!==(e=this.props.attributes)&&void 0!==e&&e.address&&this.geoCodeAddress(null===(t=this.props.attributes)||void 0===t?void 0:t.address,this.state.apiKey)}))}render(){const{className:e,setAttributes:t,attributes:n,noticeUI:r,notices:a,isSelected:i,instanceId:s,onResizeStart:l}=this.props,{mapDetails:g,points:b,zoom:k,mapCenter:E,markerColor:w,preview:_,mapHeight:C,showFullscreenButton:S}=n,{addPointVisibility:j,apiKey:x,apiKeyControl:P,apiState:T,apiRequestOutstanding:N}=this.state,A=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setPointVisibility:this.setPointVisibility,context:"toolbar",mapRef:this.mapRef})),(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(m.Z,{attributes:n,setAttributes:t,state:this.state,setState:this.setState,mapRef:this.mapRef,instanceId:s,minHeight:400,removeAPIKey:this.removeAPIKey,updateAPIKey:this.updateAPIKey}))),M=(0,o.createElement)(c.Placeholder,{icon:h.X.icon},(0,o.createElement)(c.Spinner,null)),I=(0,o.createElement)(o.Fragment,null,__("To use the map block, you need an Access Token.","jetpack"),(0,o.createElement)("br",null),(0,o.createElement)(c.ExternalLink,{href:"https://www.mapbox.com"},__("Create an account or log in to Mapbox.","jetpack")),(0,o.createElement)("br",null),__("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),R=(0,o.createElement)(c.Placeholder,{icon:h.X.icon,label:__("Map","jetpack"),notices:a,instructions:I},(0,o.createElement)(o.Fragment,null,(0,o.createElement)("form",null,(0,o.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:N,placeholder:__("Paste Token Here","jetpack"),value:P,onChange:this.updateAPIKeyControl}),(0,o.createElement)(c.Button,{variant:"secondary",disabled:N||!P||P.length<1,onClick:this.updateAPIKey},__("Set Token","jetpack"))))),L=i&&b.length<=1,B=(0,v.t)(h.X.styles,n.className),Z=(0,o.createElement)(o.Fragment,null,A,(0,o.createElement)("div",{className:e},(0,o.createElement)(c.ResizableBox,{size:{height:C||"auto",width:"100%"},grid:[10,10],showHandle:i,minHeight:400,enable:y,onResizeStart:l,onResizeStop:this.onMapResize},(0,o.createElement)("div",{className:"wp-block-jetpack-map__map_wrapper"},(0,o.createElement)(d.Z,{ref:this.mapRef,scrollToZoom:L,showFullscreenButton:S,mapStyle:B||"default",mapDetails:g,mapHeight:C,points:b,zoom:k,mapCenter:E,markerColor:w,onSetZoom:e=>{t({zoom:e})},admin:!0,apiKey:x,onSetPoints:e=>t({points:e}),onSetMapCenter:e=>t({mapCenter:e}),onMapLoaded:()=>this.setState({addPointVisibility:!b.length}),onMarkerClick:()=>this.setState({addPointVisibility:!1}),onError:this.onError},i&&j&&(0,o.createElement)(p.Z,{onAddPoint:this.addPoint,onClose:()=>this.setState({addPointVisibility:!1}),apiKey:x,onError:this.onError,tagName:"AddPoint"})))))),D=h.X.styles.find((e=>e.name===B)),F=(0,o.createElement)("div",null,(0,o.createElement)("img",{alt:__("Map Preview","jetpack"),src:D?D.preview:f}));return(0,o.createElement)(o.Fragment,null,r,_&&F,!_&&0===T&&M,!_&&1===T&&R,!_&&2===T&&Z)}}t.Z=(0,g.compose)([c.withNotices,(0,b.withDispatch)((e=>{const{toggleSelection:t}=e("core/block-editor");return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}))])(E)},1555:function(e,t,n){"use strict";function r(e,t){return fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(e)}.json?access_token=${encodeURIComponent(t)}`).then((e=>e.json()))}n.d(t,{P:function(){return r}})},85406:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(82695),a=n(740),o=n(19496),i=n(55109),s=n(45051),l=n(70355);const{name:c}=r.X,u={title:r.X.title,icon:{src:r.X.icon,foreground:(0,l.m)()},category:r.X.category,keywords:r.X.keywords,description:r.X.description,attributes:r.X.attributes,supports:r.X.supports,styles:r.X.styles,getEditWrapperProps(e){const{align:t}=e;if(-1!==r.X.validAlignments.indexOf(t))return{"data-align":t}},edit:a.Z,save:o.Z,example:r.X.example,deprecated:[s.Z,i.Z]}},82621:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307);class i extends o.Component{constructor(){super(...arguments),a()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,o.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}i.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=i},31852:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(96881);const c=(0,i.__)("Add a marker…","jetpack");class u extends o.Component{constructor(){super(...arguments),a()(this,"getOptionCompletion",(e=>{const{value:t}=e,n={placeTitle:t.text,title:t.text,caption:t.place_name,id:t.id,coordinates:{longitude:t.geometry.coordinates[0],latitude:t.geometry.coordinates[1]}};return this.props.onAddPoint(n),t.text})),a()(this,"search",(e=>{const{apiKey:t,onError:n}=this.props,r="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(e)+".json?access_token="+t;return new Promise((function(e,t){const a=new XMLHttpRequest;a.open("GET",r),a.onload=function(){if(200===a.status){const t=JSON.parse(a.responseText);e(t.features)}else{const e=JSON.parse(a.responseText);n(e.statusText,e.responseJSON.message),t(new Error("Mapbox Places Error"))}},a.send()}))})),a()(this,"onReset",(()=>{this.textRef.current.value=null})),this.textRef=(0,o.createRef)(),this.containerRef=(0,o.createRef)(),this.state={isEmpty:!0},this.autocompleter={name:"placeSearch",options:this.search,isDebounced:!0,getOptionLabel:e=>(0,o.createElement)("span",null,e.place_name),getOptionKeywords:e=>[e.place_name],getOptionCompletion:this.getOptionCompletion}}componentDidMount(){setTimeout((()=>{this.containerRef.current.querySelector("input").focus()}),50)}render(){const{label:e}=this.props;return(0,o.createElement)("div",{ref:this.containerRef},(0,o.createElement)(s.BaseControl,{label:e,className:"components-location-search"},(0,o.createElement)(l.Z,{completer:this.autocompleter,onReset:this.onReset},(e=>{let{isExpanded:t,listBoxId:n,activeId:r,onChange:a,onKeyDown:i}=e;return(0,o.createElement)(s.TextControl,{placeholder:c,ref:this.textRef,onChange:a,"aria-expanded":t,"aria-owns":n,"aria-activedescendant":r,onKeyDown:i})}))))}}u.defaultProps={onError:()=>{}},t.Z=u},57897:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(55609);class s extends o.Component{constructor(){super(...arguments),a()(this,"onDeletePoint",(e=>{const t=parseInt(e.target.getAttribute("data-id")),{points:n,onChange:r}=this.props,a=n.slice(0);a.splice(t,1),r(a)})),this.state={selectedCell:null}}setMarkerField(e,t,n){const{points:r,onChange:a}=this.props,o=r.slice(0);o[n][e]=t,a(o)}render(){const{points:e}=this.props,t=e.map(((e,t)=>(0,o.createElement)(i.PanelBody,{title:e.placeTitle,key:e.id,initialOpen:!1},(0,o.createElement)(i.TextControl,{label:"Marker Title",value:e.title,onChange:e=>this.setMarkerField("title",e,t)}),(0,o.createElement)(i.TextareaControl,{label:"Marker Caption",value:e.caption,rows:"3",onChange:e=>this.setMarkerField("caption",e,t)}),(0,o.createElement)(i.Button,{"data-id":t,onClick:this.onDeletePoint,className:"component__locations__delete-btn"},(0,o.createElement)(i.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))));return(0,o.createElement)("div",{className:"component__locations"},(0,o.createElement)(i.Panel,{className:"component__locations__panel"},t))}}s.defaultProps={points:Object.freeze([]),onChange:()=>{}},t.Z=s},96881:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(55609),u=n(92819),p=n(39630),d=n(94333);const __=l.__,_n=l._n;function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;const n=[];for(let r=0;r<e.length;r++){const a=e[r];let{keywords:o=[]}=a;if("string"==typeof a.label&&(o=[...o,a.label]),n.push(a),n.length===t)break}return n}class h extends o.Component{static getInitialState(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}constructor(){super(...arguments),a()(this,"select",(e=>{const{completer:t}=this.props;(t.getOptionCompletion||{})(e),this.reset()})),a()(this,"reset",(()=>{this.setState(this.constructor.getInitialState())})),a()(this,"onChange",(e=>{const{completer:t}=this.props,{options:n}=this.state;if(!e)return void this.reset();t&&(t.isDebounced?this.debouncedLoadOptions(t,e):this.loadOptions(t,e));const r=t?m(n):[];t&&this.setState({selectedIndex:0,filteredOptions:r,query:e})})),a()(this,"onKeyDown",(e=>{const{isOpen:t,selectedIndex:n,filteredOptions:r}=this.state;if(!t)return;let a;switch(e.keyCode){case p.UP:a=(0===n?r.length:n)-1,this.setState({selectedIndex:a});break;case p.DOWN:a=(n+1)%r.length,this.setState({selectedIndex:a});break;case p.ENTER:this.select(r[n]);break;case p.LEFT:case p.RIGHT:case p.ESCAPE:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()})),this.debouncedLoadOptions=(0,u.debounce)(this.loadOptions,250),this.state=this.constructor.getInitialState()}componentWillUnmount(){this.debouncedLoadOptions.cancel()}handleFocusOutside(){this.reset()}loadOptions(e,t){const{options:n}=e,r=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then((t=>{if(r!==this.activePromise)return;const n=t.map(((t,n)=>({key:`${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}))),a=m(n),o=a.length===this.state.filteredOptions.length?this.state.selectedIndex:0;this.setState({options:n,filteredOptions:a,selectedIndex:o,isOpen:a.length>0}),this.announce(a)}))}announce(e){const{debouncedSpeak:t}=this.props;t&&(e.length?t((0,l.sprintf)(
/* translators: placeholder is a number. */
-_n("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(__("No results.","jetpack"),"assertive"))}render(){const{onChange:e,onKeyDown:t}=this,{children:n,instanceId:r,completer:a}=this.props,{selectedIndex:i,filteredOptions:l}=this.state,{key:p=""}=l[i]||{},{className:d}=a,m=l.length>0,h=m?`components-autocomplete-listbox-${r}`:null,f=m?`components-autocomplete-item-${r}-${p}`:null;return(0,o.createElement)("div",{className:"components-autocomplete"},n({isExpanded:m,listBoxId:h,activeId:f,onChange:e,onKeyDown:t}),m&&(0,o.createElement)(c.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},(0,o.createElement)("div",{id:h,role:"listbox",className:"components-autocomplete__results"},(0,u.map)(l,((e,t)=>(0,o.createElement)(c.Button,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===i,disabled:e.isDisabled,className:s()("components-autocomplete__result",d,{"is-selected":t===i}),onClick:()=>this.select(e)},e.label))))))}}t.Z=(0,d.compose)([c.withSpokenMessages,d.withInstanceId,c.withFocusOutside])(h)},81041:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(87929);class s extends o.Component{constructor(){super(...arguments),a()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),a()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:r,mapRef:a}=this.props,{handleClick:o}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,i.bL)(a.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+r+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},73242:function(e,t,n){"use strict";function r(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return r}})},18156:function(e,t,n){"use strict";var r=n(69307),a=n(17885),o=n(98085);class i extends r.Component{render(){const{attributes:e}=this.props,{align:t,className:n,mapDetails:i,points:s,zoom:l,mapCenter:c,markerColor:u,scrollToZoom:p,mapHeight:d,showFullscreenButton:m}=e,h=(0,o.t)(a.X.styles,n),f=s.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),g=t?`align${t}`:null;return(0,r.createElement)("div",{className:g,"data-map-style":h,"data-map-details":i,"data-points":JSON.stringify(s),"data-zoom":l,"data-map-center":JSON.stringify(c),"data-marker-color":u,"data-scroll-to-zoom":p||null,"data-map-height":d||null,"data-show-fullscreen-button":m||null},s.length>0&&(0,r.createElement)("ul",null,f))}}t.Z=i},17885:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(69307),a=n(65736),o=n(56932),i=n(45107),s=n(65765),l=n(34140);const __=a.__,_x=a._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:o,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:i},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},81092:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(52175),u=n(94333),p=n(9818),d=n(4822);const __=l.__,m="editor",h="preview";class f extends o.Component{constructor(){super(...arguments),a()(this,"input",null),a()(this,"state",{activePanel:m}),a()(this,"bindInput",(e=>{this.input=e})),a()(this,"updateSource",(e=>this.props.setAttributes({source:e}))),a()(this,"handleKeyDown",(e=>{const{attributes:t,removeBlock:n}=this.props,{source:r}=t;8===e.keyCode&&""===r&&(n(),e.preventDefault())})),a()(this,"toggleMode",(e=>()=>this.setState({activePanel:e})))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===h&&this.toggleMode(m)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===m&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:n}=this.state,{className:r}=this.props,a=s()(r,"components-button components-tab-button",{"is-pressed":n===e});return(0,o.createElement)("button",{className:a,onClick:this.toggleMode(e)},(0,o.createElement)("span",null,t))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{source:r}=e,{activePanel:a}=this.state;return!n&&this.isEmpty()?(0,o.createElement)("p",{className:`${t}__placeholder`},__("Write your _Markdown_ **here**…","jetpack")):(0,o.createElement)("div",{className:t},(0,o.createElement)(c.BlockControls,null,(0,o.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(m,__("Markdown","jetpack")),this.renderToolbarButton(h,__("Preview","jetpack")))),a!==h&&n?(0,o.createElement)(c.PlainText,{className:`${t}__editor`,onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":__("Markdown","jetpack"),innerRef:this.bindInput,value:r}):(0,o.createElement)(d.Z,{className:`${t}__preview`,source:r}))}}t.Z=(0,u.compose)([(0,p.withSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),(0,p.withDispatch)(((e,t)=>{let{currentBlockId:n}=t;return{removeBlock:()=>e("core/block-editor").removeBlocks(n)}}))])(f)},7882:function(e,t,n){"use strict";n.d(t,{u:function(){return p},X:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(58014),s=n(81092),l=n(27279),c=n(57535),u=n(20510);const __=a.__,_x=a._x,p="markdown",d=__("Try Markdown","jetpack"),m=__("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},(0,r.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),(0,r.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),f=(0,i.Wp)()||(0,i.Ug)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",g={title:__("Markdown","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Use regular characters and punctuation to style text, links, and lists.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:f},__("Support reference","jetpack"))),icon:{src:h,foreground:(0,c.m)()},category:(0,u.Z)("text","formatting"),keywords:[_x("formatting","block search term","jetpack"),_x("syntax","block search term","jetpack"),_x("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:s.Z,save:l.Z,example:{attributes:{source:`## ## ${d}\n\n${m}`}}}},4822:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(69472),i=n.n(o);const __=a.__,s=new(i()),l=e=>{if("A"===e.target.nodeName){window.confirm(__("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault()}};t.Z=e=>{let{className:t,source:n=""}=e;return(0,r.createElement)(r.RawHTML,{className:t,onClick:l},n.length?s.render(n):"")}},27279:function(e,t,n){"use strict";var r=n(69307),a=n(4822);t.Z=e=>{let{attributes:t,className:n}=e;return(0,r.createElement)(a.Z,{className:n,source:t.source})}},11868:function(e,t,n){"use strict";n.d(t,{V1:function(){return i},vW:function(){return s},jn:function(){return l},Eo:function(){return c},fL:function(){return u},ez:function(){return m}});var r=n(65736),a=n(9818),o=n(92819);const __=r.__,i=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],s=i.map((e=>e.value));const l={name:"button",label:__("Button (210 x 113 pixels)","jetpack")},c=e=>(0,o.compact)([{name:"standard",label:__("Standard (224 x 301 pixels)","jetpack"),isDefault:!0},{name:"tall",label:__("Tall (288 x 490 pixels)","jetpack")},{name:"wide",label:__("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&l]),u=e=>c(e).map((e=>e.name)),{siteLocale:p}=(0,a.select)("core/block-editor").getSettings(),d=!(0,o.isEmpty)(p)&&s.includes(p)?p:"en-US",m={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:u()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:d,type:"string",validValues:s},newtab:{default:!1,type:"boolean"},negativeMargin:{default:!1,type:"boolean"}}},65618:function(e,t,n){"use strict";var r=n(69307),a=n(11868);t.Z={attributes:a.ez,supports:{align:!0,html:!1},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)(r.Fragment,null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},77583:function(e,t,n){"use strict";var r=n(69307),a=n(11868);t.Z={attributes:a.ez,migrate:e=>{const{style:t,className:n}=e,r="standard"===t?"":`is-style-${t}`;return{...e,className:n?`${n} ${r}`:r}},isEligible:e=>{let{style:t,className:n}=e;return!(!t||"standard"===t)&&(!n||-1===n.indexOf("is-style-"))},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},97372:function(e,t,n){"use strict";var r=n(69307),a=(n(86841),n(89105)),o=n.n(a),i=n(92819),s=n(52175),l=n(55609),c=n(65736),u=n(4981),p=n(12087),d=n(58014),m=n(70718),h=n(18746),f=n(11868),g=n(14087),b=n(98085),v=n(88707);const __=c.__;t.Z=(0,l.withNotices)((function(e){let{attributes:t,className:n,clientId:a,isSelected:k,name:y,noticeOperations:E,noticeUI:w,setAttributes:_}=e;const C=(0,u.getBlockDefaultClassName)(y),j=(0,g.S)(f.ez,t);(0,i.isEqual)(j,t)||_(j);const{align:S,rid:x,iframe:T,domain:N,lang:A,newtab:P,negativeMargin:I}=t,M=(0,i.isEmpty)(x),R=(0,b.t)((0,f.Eo)(),t.className),L=(0,b.t)((0,f.Eo)(x),t.className),B=(0,h.Z)(L),Z=(0,i.isEqual)(x,["1"]);(0,r.useEffect)((()=>{if(E.removeAllNotices(),!M&&!Z&&"wide"===L&&"wide"!==S&&"full"!==S){const e=(0,r.createElement)(r.Fragment,null,__('With the OpenTable block you may encounter display issues if you use its "wide" style with anything other than "wide" or "full" alignment. The wide display style may also not work well on smaller screens.',"jetpack"));E.createNotice({status:"warning",content:e})}}),[Z,S,M,x,L]),(0,r.useEffect)((()=>{"button"===R&&Array.isArray(x)&&x.length>1&&_({className:"",style:""})}),[x,R,_]),(0,r.useEffect)((()=>{k&&(Array.isArray(x)&&x.length>1?(0,u.unregisterBlockStyle)("jetpack/opentable",["button"]):(0,u.registerBlockStyle)("jetpack/opentable",f.jn))}),[k,x]),(0,r.useEffect)((()=>{"wide"===B&&"wide"===S&&_({align:""}),"wide"===L&&B&&L!==B&&_({align:"wide"}),_({style:L})}),[L]);const F=(0,f.fL)(x),D=e=>x.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e],O=e=>{Array.isArray(e)?_({rid:e,style:e.length>1&&"button"===L?"standard":L}):(e=>{const t=(0,v.CC)(e);t||(E.removeAllNotices(),E.createErrorNotice((0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,__("We ran into an issue","jetpack")),(0,r.createElement)("br",null),__("Please ensure this embed matches the one from your OpenTable account","jetpack"))));const n=(0,g.S)(f.ez,t);_(n),E.removeAllNotices()})(e)},z=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.InspectorAdvancedControls,null,(0,r.createElement)(l.ToggleControl,{label:__("Load the widget in an iFrame (Recommended)","jetpack"),checked:T,onChange:()=>_({iframe:!T}),className:"is-opentable"}),"button"===L&&(0,r.createElement)(l.ToggleControl,{label:__("Remove button margin","jetpack"),checked:I,onChange:()=>_({negativeMargin:!I})})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(m.Z,{rids:x,onChange:O}),(0,r.createElement)(l.SelectControl,{label:__("Language","jetpack"),value:A,onChange:e=>_({lang:e}),options:f.V1}),(0,r.createElement)(l.ToggleControl,{label:__("Open in a new window","jetpack"),checked:P,onChange:()=>_({newtab:!P})})))),U=(0,d.Wp)()||(0,d.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",$=(0,r.createElement)(l.Placeholder,{label:__("OpenTable Reservation","jetpack"),icon:(0,r.createElement)(s.BlockIcon,{icon:p.Z}),instructions:__("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:w},(0,r.createElement)(m.Z,{rids:x,onSubmit:O}),(0,r.createElement)("div",{className:`${C}-placeholder-links`},(0,r.createElement)(l.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},__("Sign up for OpenTable","jetpack")),(0,r.createElement)(l.ExternalLink,{href:U},__("Learn more","jetpack")))),V=o()(n,{[`is-style-${L}`]:!M&&F.includes(L)&&-1===n.indexOf("is-style"),"is-placeholder":M,"is-multi":"multi"===D(L)[0],[`align${S}`]:S,"has-no-margin":I});return(0,r.createElement)(r.Fragment,null,w,(0,r.createElement)("div",{className:V},!M&&z,M?$:(e=>{const[t,n]=D(e||L);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${C}-overlay`}),(0,r.createElement)("iframe",{title:(0,c.sprintf)(
+_n("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(__("No results.","jetpack"),"assertive"))}render(){const{onChange:e,onKeyDown:t}=this,{children:n,instanceId:r,completer:a}=this.props,{selectedIndex:i,filteredOptions:l}=this.state,{key:p=""}=l[i]||{},{className:d}=a,m=l.length>0,h=m?`components-autocomplete-listbox-${r}`:null,f=m?`components-autocomplete-item-${r}-${p}`:null;return(0,o.createElement)("div",{className:"components-autocomplete"},n({isExpanded:m,listBoxId:h,activeId:f,onChange:e,onKeyDown:t}),m&&(0,o.createElement)(c.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},(0,o.createElement)("div",{id:h,role:"listbox",className:"components-autocomplete__results"},(0,u.map)(l,((e,t)=>(0,o.createElement)(c.Button,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===i,disabled:e.isDisabled,className:s()("components-autocomplete__result",d,{"is-selected":t===i}),onClick:()=>this.select(e)},e.label))))))}}t.Z=(0,d.compose)([c.withSpokenMessages,d.withInstanceId,c.withFocusOutside])(h)},9262:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(85007);class s extends o.Component{constructor(){super(...arguments),a()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),a()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:r,mapRef:a}=this.props,{handleClick:o}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,i.bL)(a.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",o)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+r+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},90055:function(e,t,n){"use strict";function r(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return r}})},19496:function(e,t,n){"use strict";var r=n(69307),a=n(82695),o=n(81518);class i extends r.Component{render(){const{attributes:e}=this.props,{align:t,className:n,mapDetails:i,points:s,zoom:l,mapCenter:c,markerColor:u,scrollToZoom:p,mapHeight:d,showFullscreenButton:m}=e,h=(0,o.t)(a.X.styles,n),f=s.map(((e,t)=>{const{longitude:n,latitude:a}=e.coordinates,o="https://www.google.com/maps/search/?api=1&query="+a+","+n;return(0,r.createElement)("li",{key:t},(0,r.createElement)("a",{href:o},e.title))})),g=t?`align${t}`:null;return(0,r.createElement)("div",{className:g,"data-map-style":h,"data-map-details":i,"data-points":JSON.stringify(s),"data-zoom":l,"data-map-center":JSON.stringify(c),"data-marker-color":u,"data-scroll-to-zoom":p||null,"data-map-height":d||null,"data-show-fullscreen-button":m||null},s.length>0&&(0,r.createElement)("ul",null,f))}}t.Z=i},82695:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(69307),a=n(65736),o=n(56932),i=n(45107),s=n(65765),l=n(34140);const __=a.__,_x=a._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:o,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:i},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},461:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(52175),u=n(94333),p=n(9818),d=n(69283);const __=l.__,m="editor",h="preview";class f extends o.Component{constructor(){super(...arguments),a()(this,"input",null),a()(this,"state",{activePanel:m}),a()(this,"bindInput",(e=>{this.input=e})),a()(this,"updateSource",(e=>this.props.setAttributes({source:e}))),a()(this,"handleKeyDown",(e=>{const{attributes:t,removeBlock:n}=this.props,{source:r}=t;8===e.keyCode&&""===r&&(n(),e.preventDefault())})),a()(this,"toggleMode",(e=>()=>this.setState({activePanel:e})))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===h&&this.toggleMode(m)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===m&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:n}=this.state,{className:r}=this.props,a=s()(r,"components-button components-tab-button",{"is-pressed":n===e});return(0,o.createElement)("button",{className:a,onClick:this.toggleMode(e)},(0,o.createElement)("span",null,t))}render(){const{attributes:e,className:t,isSelected:n}=this.props,{source:r}=e,{activePanel:a}=this.state;return!n&&this.isEmpty()?(0,o.createElement)("p",{className:`${t}__placeholder`},__("Write your _Markdown_ **here**…","jetpack")):(0,o.createElement)("div",{className:t},(0,o.createElement)(c.BlockControls,null,(0,o.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(m,__("Markdown","jetpack")),this.renderToolbarButton(h,__("Preview","jetpack")))),a!==h&&n?(0,o.createElement)(c.PlainText,{className:`${t}__editor`,onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":__("Markdown","jetpack"),innerRef:this.bindInput,value:r}):(0,o.createElement)(d.Z,{className:`${t}__preview`,source:r}))}}t.Z=(0,u.compose)([(0,p.withSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),(0,p.withDispatch)(((e,t)=>{let{currentBlockId:n}=t;return{removeBlock:()=>e("core/block-editor").removeBlocks(n)}}))])(f)},80723:function(e,t,n){"use strict";n.d(t,{X:function(){return g},u:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(461),l=n(2683),c=n(70355),u=n(5820);const __=a.__,_x=a._x,p="markdown",d=__("Try Markdown","jetpack"),m=__("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},(0,r.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),(0,r.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),f=(0,i.Wp)()||(0,i.Ug)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",g={title:__("Markdown","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Use regular characters and punctuation to style text, links, and lists.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:f},__("Support reference","jetpack"))),icon:{src:h,foreground:(0,c.m)()},category:(0,u.Z)("text","formatting"),keywords:[_x("formatting","block search term","jetpack"),_x("syntax","block search term","jetpack"),_x("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{align:["wide","full"],html:!1,spacing:{padding:!0,margin:!0,__experimentalDefaultControls:{padding:!0,margin:!0}}},edit:s.Z,save:l.Z,example:{attributes:{source:`## ## ${d}\n\n${m}`}}}},69283:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(10185),i=n.n(o),s=n(52175);const __=a.__,l=new(i()),c=e=>{if("A"===e.target.nodeName){window.confirm(__("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault()}},u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=null===s.__experimentalGetSpacingClassesAndStyles||void 0===s.__experimentalGetSpacingClassesAndStyles?void 0:(0,s.__experimentalGetSpacingClassesAndStyles)(e);return null!=t&&t.style?t.style:{}};t.Z=e=>{let{className:t,source:n="",attributes:a}=e;return(0,r.createElement)(r.RawHTML,{className:t,onClick:c,style:u(a)},n.length?l.render(n):"")}},2683:function(e,t,n){"use strict";var r=n(69307),a=n(69283);t.Z=e=>{let{attributes:t,className:n}=e;return(0,r.createElement)(a.Z,{className:n,source:t.source,attributes:t})}},31283:function(e,t,n){"use strict";n.d(t,{Eo:function(){return p},V1:function(){return l},ez:function(){return f},fL:function(){return d},jn:function(){return u},vW:function(){return c}});var r,a,o,i=n(65736),s=n(92819);const __=i.__,l=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],c=l.map((e=>e.value));const u={name:"button",label:__("Button (210 x 113 pixels)","jetpack")},p=e=>(0,s.compact)([{name:"standard",label:__("Standard (224 x 301 pixels)","jetpack"),isDefault:!0},{name:"tall",label:__("Tall (288 x 490 pixels)","jetpack")},{name:"wide",label:__("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&u]),d=e=>p(e).map((e=>e.name)),m=null!==(r=null===(a=window)||void 0===a||null===(o=a.Jetpack_Editor_Initial_State)||void 0===o?void 0:o.siteLocale)&&void 0!==r?r:"en-US",h=!(0,s.isEmpty)(m)&&c.includes(m)?m:"en-US",f={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:d()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:h,type:"string",validValues:c},newtab:{default:!1,type:"boolean"},negativeMargin:{default:!1,type:"boolean"}}},80452:function(e,t,n){"use strict";var r=n(69307),a=n(31283);t.Z={attributes:a.ez,supports:{align:!0,html:!1},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)(r.Fragment,null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},70398:function(e,t,n){"use strict";var r=n(69307),a=n(31283);t.Z={attributes:a.ez,migrate:e=>{const{style:t,className:n}=e,r="standard"===t?"":`is-style-${t}`;return{...e,className:n?`${n} ${r}`:r}},isEligible:e=>{let{style:t,className:n}=e;return!(!t||"standard"===t)&&(!n||-1===n.indexOf("is-style-"))},save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map((e=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`},`https://www.opentable.com/restref/client/?rid=${e}`))))}}},76851:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(13419),l=n(52175),c=n(55609),u=n(65736),p=n(4981),d=n(15040),m=n(57087),h=n(41007),f=n(31283),g=n(4554),b=n(81518),v=n(48769);const __=u.__;t.Z=(0,c.withNotices)((function(e){let{attributes:t,className:n,clientId:a,isSelected:k,name:y,noticeOperations:E,noticeUI:w,setAttributes:_}=e;const C=(0,p.getBlockDefaultClassName)(y),S=(0,g.S)(f.ez,t);(0,i.isEqual)(S,t)||_(S);const{align:j,rid:x,iframe:P,domain:T,lang:N,newtab:A,negativeMargin:M}=t,I=(0,i.isEmpty)(x),R=(0,b.t)((0,f.Eo)(),t.className),L=(0,b.t)((0,f.Eo)(x),t.className),B=(0,h.Z)(L),Z=(0,i.isEqual)(x,["1"]);(0,r.useEffect)((()=>{if(E.removeAllNotices(),!I&&!Z&&"wide"===L&&"wide"!==j&&"full"!==j){const e=(0,r.createElement)(r.Fragment,null,__('With the OpenTable block you may encounter display issues if you use its "wide" style with anything other than "wide" or "full" alignment. The wide display style may also not work well on smaller screens.',"jetpack"));E.createNotice({status:"warning",content:e})}}),[Z,j,I,x,L]),(0,r.useEffect)((()=>{"button"===R&&Array.isArray(x)&&x.length>1&&_({className:"",style:""})}),[x,R,_]),(0,r.useEffect)((()=>{k&&(Array.isArray(x)&&x.length>1?(0,p.unregisterBlockStyle)("jetpack/opentable",["button"]):(0,p.registerBlockStyle)("jetpack/opentable",f.jn))}),[k,x]),(0,r.useEffect)((()=>{"wide"===B&&"wide"===j&&_({align:""}),"wide"===L&&B&&L!==B&&_({align:"wide"}),_({style:L})}),[L]);const D=(0,f.fL)(x),F=e=>x.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e],O=e=>{Array.isArray(e)?_({rid:e,style:e.length>1&&"button"===L?"standard":L}):(e=>{const t=(0,v.CC)(e);t||(E.removeAllNotices(),E.createErrorNotice((0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,__("We ran into an issue","jetpack")),(0,r.createElement)("br",null),__("Please ensure this embed matches the one from your OpenTable account","jetpack"))));const n=(0,g.S)(f.ez,t);_(n),E.removeAllNotices()})(e)},z=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.InspectorAdvancedControls,null,(0,r.createElement)(c.ToggleControl,{label:__("Load the widget in an iFrame (Recommended)","jetpack"),checked:P,onChange:()=>_({iframe:!P}),className:"is-opentable"}),"button"===L&&(0,r.createElement)(c.ToggleControl,{label:__("Remove button margin","jetpack"),checked:M,onChange:()=>_({negativeMargin:!M})})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(m.Z,{rids:x,onChange:O}),(0,r.createElement)(c.SelectControl,{label:__("Language","jetpack"),value:N,onChange:e=>_({lang:e}),options:f.V1}),(0,r.createElement)(c.ToggleControl,{label:__("Open in a new window","jetpack"),checked:A,onChange:()=>_({newtab:!A})})))),U=(0,s.Wp)()||(0,s.Ug)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",$=(0,r.createElement)(c.Placeholder,{label:__("OpenTable Reservation","jetpack"),icon:d.Z,instructions:__("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:w},(0,r.createElement)(m.Z,{rids:x,onSubmit:O}),(0,r.createElement)("div",{className:`${C}-placeholder-links`},(0,r.createElement)(c.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},__("Sign up for OpenTable","jetpack")),(0,r.createElement)(c.ExternalLink,{href:U},__("Learn more","jetpack")))),V=o()(n,{[`is-style-${L}`]:!I&&D.includes(L)&&-1===n.indexOf("is-style"),"is-placeholder":I,"is-multi":"multi"===F(L)[0],[`align${j}`]:j,"has-no-margin":M});return(0,r.createElement)(r.Fragment,null,w,(0,r.createElement)("div",{className:V},!I&&z,I?$:(e=>{const[t,n]=F(e||L);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:`${C}-overlay`}),(0,r.createElement)("iframe",{title:(0,u.sprintf)(
/* translators: Placeholder is a unique ID. */
-__("Open Table Preview %s","jetpack"),a),scrolling:"no",src:`https://www.opentable.com/widget/reservation/canvas?rid=${(0,i.join)(x,"%2C")}&type=${t}&theme=${n}&overlay=false&domain=${N}&lang=${A&&f.vW.includes(A)?A:"en-US"}&newtab=${P}&disablega=true`}))})()))}))},12087:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},(0,r.createElement)(a.Path,{d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))},5458:function(e,t,n){"use strict";n.d(t,{u2:function(){return m},Xd:function(){return h}});var r=n(69307),a=n(65736),o=n(4981),i=n(11868),s=n(65618),l=n(77583),c=n(97372),u=n(12087),p=n(88707),d=n(57535);n(6757);const __=a.__,_x=a._x,m="opentable",h={title:__("OpenTable","jetpack"),description:__("Allow visitors to book a reservation with OpenTable","jetpack"),icon:{src:u.Z,foreground:(0,d.m)()},category:"earn",keywords:[_x("booking","block search term","jetpack"),_x("reservation","block search term","jetpack"),_x("restaurant","block search term","jetpack")],supports:{align:!0,html:!1},edit:c.Z,save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map(((e,t)=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`,key:`${e}-${t}`},`https://www.opentable.com/restref/client/?rid=${e}`))))},attributes:i.ez,styles:(0,i.Eo)(),example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1,negativeMargin:!1}},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&0===e.textContent.indexOf("http")&&(p.pU.test(e.textContent)||p.tC.test(e.textContent)),transform:e=>{const t=(0,p.CC)(e.textContent);return(0,o.createBlock)("jetpack/opentable",t)}}]},deprecated:[s.Z,l.Z]}},70718:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(92819),s=n(55609),l=n(65736),c=n(74701);const __=l.__,_n=l._n;function u(e){const[t,n]=(0,o.useState)(""),r=(0,c.Z)(t,20),[l,u]=(0,o.useState)(e.rids||[]),p=/^(\d+)$|\(\#(\d+)\)$/,d=r.filter((e=>l.indexOf(e.rid.toString())<0)).map((e=>e.name+` (#${e.rid})`)),m=(0,o.createElement)(s.FormTokenField,a()({value:l,suggestions:d,saveTransform:e=>c.$.test(e)?"":e.trim(),onInputChange:n,maxSuggestions:20,label:_n("Restaurant","Restaurants",l.length,"jetpack")},e,{onChange:t=>{const n=t.map((e=>{const t=p.exec(e);return t[1]||t[2]}));u(n),e.onChange&&e.onChange(n)}}));return(0,o.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),e.onSubmit((0,i.isEmpty)(l)?t:l)}},m,(0,o.createElement)(s.Button,{isSecondary:!0,type:"submit"},__("Embed","jetpack"))):m)}},18746:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},74701:function(e,t,n){"use strict";n.d(t,{$:function(){return o},Z:function(){return i}});var r=n(92819),a=n(69307);const o=/^\s*(http[s]?:\/\/|\<script)/;function i(e,t){const[n,i]=(0,a.useState)([]),s=(0,a.useCallback)((0,r.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((e=>e.json())).then((e=>i((0,r.unionBy)(n,e.items,"rid"))))}),500),[n]);return(0,a.useEffect)((()=>{(0,r.isEmpty)(e)||o.test(e)||s(e)}),[e]),n}},88707:function(e,t,n){"use strict";n.d(t,{tC:function(){return a},pU:function(){return o},CC:function(){return i}});const r=/<\s*script[^>]*src\s*=\s*["']?([^"']*)/i,a=/restref=([0-9]+)&/,o=/rid=([0-9]+)&/,i=e=>{if(e)return(e=>{if(!e)return;let t="";if(t=0===e.indexOf("http")?new URL(e):new URL("http:"+e),!t.host||-1===t.host.indexOf("opentable")||!t.search)return;const n=new URLSearchParams(t.search);let r=n.get("theme");"button"===n.get("type")&&(r=n.get("type"));let a=n.getAll("rid");if(a&&0!==a.length||(a=n.getAll("restref")),!a||0===a.length)return;const o={};a&&(o.rid=a);const i=n.get("domain");i&&(o.domain=i);const s=n.get("iframe");s&&(o.iframe=s);const l=n.get("lang");l&&(o.lang=l);const c=n.get("newtab");return c&&(o.newtab=c),r&&(o.style=r),o})((e=>{const t=e.match(r);return t&&t[1]?t[1]:a.test(e)||o.test(e)?e:void 0})(e))}},79509:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(18161);const __=a.__,_x=a._x;function l(e){let{className:t,onSubmit:n,noticeUI:a,url:l,setUrl:c}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.Placeholder,{label:__("Pinterest","jetpack"),icon:(0,r.createElement)(i.BlockIcon,{icon:s.qv}),notices:a},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),n()}},(0,r.createElement)("input",{type:"url",value:l,className:"components-placeholder__input","aria-label":__("Pinterest URL","jetpack"),placeholder:__("Enter URL to embed here…","jetpack"),onChange:e=>c(e.target.value)}),(0,r.createElement)(o.Button,{isSecondary:!0,type:"submit"},_x("Embed","button label","jetpack")))))}},49362:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981);const __=a.__,_x=a._x;function s(e){let{fallbackUrl:t,onClick:n}=e;return(0,r.createElement)(r.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,r.createElement)(o.Button,{isLink:!0,onClick:()=>{const e=(0,r.createElement)("a",{href:t},t);n((0,i.createBlock)("core/paragraph",{content:(0,r.renderToString)(e)}))}},_x("Convert block to link","button label","jetpack")))}},61989:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(){return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(o.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack")))}},4052:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setEditingState:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},41659:function(e,t,n){"use strict";var r=n(69307),a=n(94991);t.Z={attributes:{url:{type:"string"}},supports:{align:!1,html:!1},save:e=>{let{attributes:t,className:n}=e;const{url:o}=t;return(0,a.t)(o)?(0,r.createElement)("div",{className:n},(0,r.createElement)("a",{"data-pin-do":(0,a.t)(o),href:o})):null}}},81253:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(52175),i=n(94991),s=n(4052),l=n(61989),c=n(79509),u=n(49362),p=n(79474);t.Z=(0,a.withNotices)((function(e){let{attributes:t,isSelected:n,className:d,noticeOperations:m,noticeUI:h,setAttributes:f,onReplace:g}=e;const{url:b}=t,{isFetching:v,pinterestUrl:k,testUrl:y,hasTestUrlError:E}=(0,p.Z)(),[w,_]=(0,r.useState)(!1),[C,j]=(0,r.useState)(""),[S,x]=(0,r.useState)(!1),T=(0,r.useCallback)((()=>(0,r.createElement)(u.Z,{fallbackUrl:C,onClick:g})),[E]),N=()=>{v||(y(C),x(!1))},A=()=>{_(!0)};if((0,r.useEffect)((()=>{b&&y(b)}),[]),(0,r.useEffect)((()=>{!n&&w&&_(!1)}),[n,w]),(0,r.useEffect)((()=>{f({url:k}),m.removeAllNotices(),k&&j(k),E&&m.createErrorNotice(T())}),[k,E,f,T]),v)return(0,r.createElement)(l.Z,null);const P=(0,i.t)(b);if(S||!b||b&&!P)return(0,r.createElement)(c.Z,{className:d,onSubmit:N,noticeUI:h,url:C,setUrl:j});const I=`<a data-pin-do='${P}' href='${b}'></a>`;return(0,r.createElement)("div",{className:d},(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.C,{setEditingState:x})),(0,r.createElement)("div",null,(0,r.createElement)(a.SandBox,{html:I,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:A}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:A})))}))},79474:function(e,t,n){"use strict";var r=n(69307),a=n(87072),o=n(18161);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(!1),[i,s]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i&&i!==o.a0&&(n(!0),(0,a.Z)(i).then((e=>{n(!1),s(e),c(!1)})).catch((()=>{n(!1),s(i||void 0),c(!0)})))}),[i]),{isFetching:t,pinterestUrl:i,hasTestUrlError:l,testUrl:s}}},18161:function(e,t,n){"use strict";n.d(t,{Wh:function(){return p},a0:function(){return d},u2:function(){return m},qv:function(){return f},Xd:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(81253),l=n(26981),c=n(57535),u=n(41659);const __=a.__,_x=a._x,p=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,d="https://pinterest.com/anapinskywalker/",m="pinterest",h=__("Pinterest","jetpack"),f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,null,(0,r.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),g={title:h,description:__("Embed a Pinterest pin, board, or user.","jetpack"),icon:{src:f,foreground:(0,c.m)()},category:"embed",keywords:[_x("social","block search term","jetpack"),_x("pinboard","block search term","jetpack"),_x("pins","block search term","jetpack")],supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:s.Z,save:l.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&p.test(e.textContent),transform:e=>(0,i.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}]},example:{attributes:{url:d}},deprecated:[u.Z]}},26981:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;return(0,r.createElement)("a",{href:n},n)}},94991:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(96483),a=n(18161);function o(e){if(!a.Wh.test(e))return"";const t=(0,r.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}},45452:function(e,t,n){"use strict";n.d(t,{G:function(){return s},q:function(){return l}});var r=n(12761),a=n(86989),o=n.n(a),i=n(96483);const s=async()=>await o()({path:"/wpcom/v2/podcast-player/track-quantity"}),l=async e=>{let t,n,a,{url:s,guids:l=[],fetchEpisodeOptions:c=!1}=e;try{t=await o()({path:(0,i.addQueryArgs)("/wpcom/v2/podcast-player",{url:s,guids:l,"episode-options":c})})}catch(e){n=e}if(t)return{type:r.u,data:t};try{a=await o()({path:(0,i.addQueryArgs)("/oembed/1.0/proxy",{url:s})})}catch(e){}const u='<a href="'+s+'">'+s+"</a>";if(a&&a.html!==u)return{type:r.b};throw n}},23600:function(e,t,n){"use strict";var r=n(96483),a=n(68039);t.Z={url:{type:"string",validator:r.isUrl},selectedEpisodes:{type:"array",default:[]},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeTitle:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}}},98006:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(76814);const s=(0,r.memo)((e=>{let{playerId:t,title:n,cover:a,link:o,track:i,children:s,showEpisodeTitle:c,showCoverArt:u,showEpisodeDescription:p,colors:d}=e;return u||c||p?(0,r.createElement)("div",{className:"jetpack-podcast-player__header"},(0,r.createElement)("div",{className:"jetpack-podcast-player__current-track-info"},u&&a&&(0,r.createElement)("div",{className:"jetpack-podcast-player__cover"},(0,r.createElement)("img",{className:"jetpack-podcast-player__cover-image",src:a,alt:""})),c&&!!(n||i&&i.title)&&(0,r.createElement)(l,{playerId:t,title:n,link:o,track:i,colors:d})),!!(p&&i&&i.description)&&(0,r.createElement)("p",{id:`${t}__track-description`,className:"jetpack-podcast-player__track-description"},i.description),s):s})),l=(0,r.memo)((e=>{let{playerId:t,title:n,link:a,track:s,colors:l={primary:{name:null,custom:null,classes:""}}}=e;return(0,r.createElement)("h2",{id:`${t}__title`,className:"jetpack-podcast-player__title"},!(!s||!s.title)&&(0,r.createElement)("span",{className:o()("jetpack-podcast-player__current-track-title",l.primary.classes),style:{color:l.primary.custom}},s.title,(0,r.createElement)("a",{className:"jetpack-podcast-player__track-title-link",href:s.link||s.src,target:"_blank",rel:"noopener noreferrer nofollow"},i.Z)),!!(s&&s.title&&n)&&(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"}," - "),!!n&&(0,r.createElement)(c,{title:n,link:a,colors:l}))})),c=(0,r.memo)((e=>{let{title:t,link:n}=e;return(0,r.createElement)("span",{className:"jetpack-podcast-player__podcast-title"},n?(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:n,target:"_blank",rel:"noopener noreferrer nofollow"},t):{title:t})}));t.Z=s},66530:function(e,t,n){"use strict";var r=n(69307),a=n(15111),o=n(15020);const i=(0,r.memo)((e=>{let{playerId:t,tracks:n,selectTrack:i,currentTrack:s,playerState:l,colors:c}=e;return(0,r.createElement)("ol",{className:"jetpack-podcast-player__tracks","aria-labelledby":`jetpack-podcast-player__tracklist-title--${t}`,"aria-describedby":`jetpack-podcast-player__tracklist-description--${t}`},n.map(((e,t)=>{const n=s===t;return(0,r.createElement)(o.Z,{key:e.id,index:t,track:e,selectTrack:i,isActive:n,isPlaying:n&&l===a.Wp,isError:n&&l===a.Vy,colors:c})})))}));t.Z=i},58627:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(25158),u=n(94333),p=n(9818),d=n(15111),m=n(92924),h=n(66530),f=n(98006),g=n(74693),b=n(56551);const __=l.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{currentTrack:0,hasUserInteraction:!1}),a()(this,"recordUserInteraction",(()=>{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})})),a()(this,"selectTrack",(e=>{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&&this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)})),a()(this,"loadTrack",(e=>{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&&this.setState({currentTrack:e});const{title:n,link:r,description:a}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:n,link:r}),(0,c.speak)(
+__("Open Table Preview %s","jetpack"),a),scrolling:"no",src:`https://www.opentable.com/widget/reservation/canvas?rid=${(0,i.join)(x,"%2C")}&type=${t}&theme=${n}&overlay=false&domain=${T}&lang=${N&&f.vW.includes(N)?N:"en-US"}&newtab=${A}&disablega=true`}))})()))}))},15040:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},(0,r.createElement)(a.Path,{d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))},69309:function(e,t,n){"use strict";n.d(t,{Xd:function(){return h},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(4981),i=n(31283),s=n(80452),l=n(70398),c=n(76851),u=n(15040),p=n(48769),d=n(70355);n(85921);const __=a.__,_x=a._x,m="opentable",h={title:__("OpenTable","jetpack"),description:__("Allow visitors to book a reservation with OpenTable","jetpack"),icon:{src:u.Z,foreground:(0,d.m)()},category:"earn",keywords:[_x("booking","block search term","jetpack"),_x("reservation","block search term","jetpack"),_x("restaurant","block search term","jetpack")],supports:{align:!0,html:!1},edit:c.Z,save:e=>{let{attributes:{rid:t}}=e;return(0,r.createElement)("div",null,t.map(((e,t)=>(0,r.createElement)("a",{href:`https://www.opentable.com/restref/client/?rid=${e}`,key:`${e}-${t}`},`https://www.opentable.com/restref/client/?rid=${e}`))))},attributes:i.ez,styles:(0,i.Eo)(),example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1,negativeMargin:!1}},transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&0===e.textContent.indexOf("http")&&(p.pU.test(e.textContent)||p.tC.test(e.textContent)),transform:e=>{const t=(0,p.CC)(e.textContent);return(0,o.createBlock)("jetpack/opentable",t)}}]},deprecated:[s.Z,l.Z]}},57087:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(92819),s=n(55609),l=n(65736),c=n(25392);const __=l.__,_n=l._n;function u(e){const[t,n]=(0,o.useState)(""),r=(0,c.Z)(t,20),[l,u]=(0,o.useState)(e.rids||[]),p=/^(\d+)$|\(\#(\d+)\)$/,d=r.filter((e=>l.indexOf(e.rid.toString())<0)).map((e=>e.name+` (#${e.rid})`)),m=(0,o.createElement)(s.FormTokenField,a()({value:l,suggestions:d,saveTransform:e=>c.$.test(e)?"":e.trim(),onInputChange:n,maxSuggestions:20,label:_n("Restaurant","Restaurants",l.length,"jetpack")},e,{onChange:t=>{const n=t.map((e=>{const t=p.exec(e);return t[1]||t[2]}));u(n),e.onChange&&e.onChange(n)}}));return(0,o.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?(0,o.createElement)("form",{onSubmit:n=>{n.preventDefault(),e.onSubmit((0,i.isEmpty)(l)?t:l)}},m,(0,o.createElement)(s.Button,{variant:"secondary",type:"submit"},__("Embed","jetpack"))):m)}},41007:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},25392:function(e,t,n){"use strict";n.d(t,{$:function(){return o},Z:function(){return i}});var r=n(92819),a=n(69307);const o=/^\s*(http[s]?:\/\/|\<script)/;function i(e,t){const[n,i]=(0,a.useState)([]),s=(0,a.useCallback)((0,r.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((e=>e.json())).then((e=>i((0,r.unionBy)(n,e.items,"rid"))))}),500),[n]);return(0,a.useEffect)((()=>{(0,r.isEmpty)(e)||o.test(e)||s(e)}),[e]),n}},48769:function(e,t,n){"use strict";n.d(t,{CC:function(){return i},pU:function(){return o},tC:function(){return a}});const r=/<\s*script[^>]*src\s*=\s*["']?([^"']*)/i,a=/restref=([0-9]+)&/,o=/rid=([0-9]+)&/,i=e=>{if(e)return(e=>{if(!e)return;let t="";if(t=0===e.indexOf("http")?new URL(e):new URL("http:"+e),!t.host||-1===t.host.indexOf("opentable")||!t.search)return;const n=new URLSearchParams(t.search);let r=n.get("theme");"button"===n.get("type")&&(r=n.get("type"));let a=n.getAll("rid");if(a&&0!==a.length||(a=n.getAll("restref")),!a||0===a.length)return;const o={};a&&(o.rid=a);const i=n.get("domain");i&&(o.domain=i);const s=n.get("iframe");s&&(o.iframe=s);const l=n.get("lang");l&&(o.lang=l);const c=n.get("newtab");return c&&(o.newtab=c),r&&(o.style=r),o})((e=>{const t=e.match(r);return t&&t[1]?t[1]:a.test(e)||o.test(e)?e:void 0})(e))}},50215:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(92819),o=n(65736),i=n(4981),s=n(9818),l=n(52175),c=n(76039);const __=o.__;function u(e){let{name:t,clientId:n}=e;const{blockType:o,hasInnerBlocks:u}=(0,s.useSelect)((e=>{var r;const{getBlocks:a}=e(l.store);return{blockType:(0,i.getBlockType)(t),hasInnerBlocks:(null===(r=a(n))||void 0===r?void 0:r.length)>0}})),{replaceBlock:p,selectBlock:d}=(0,s.useDispatch)(l.store),m=e=>{p(n,(0,i.createBlock)(e.name)),d(n)},h=c.Z.filter((e=>(0,i.getBlockType)(e.name)));(0,r.useEffect)((()=>{u||i.registerBlockVariation||m(h[0])}));return!u&&i.registerBlockVariation?(0,r.createElement)(l.__experimentalBlockVariationPicker,{icon:(0,a.get)(o,["icon","src"]),label:(0,a.get)(o,["title"]),instructions:__("Please select which kind of payment you'd like to add.","jetpack"),variations:h,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h[0];m(e)}}):(0,r.createElement)(l.InnerBlocks,null)}},68007:function(e,t,n){"use strict";n.d(t,{Xd:function(){return m},u2:function(){return d}});var r=n(69307),a=n(65736),o=n(52175),i=n(64967),s=n(50215),l=n(70355),c=n(29800),u=n(56367),p=n(50851);const __=a.__,_x=a._x,d="payments-intro",m={title:__("Payments","jetpack"),description:__("Sell products and services or receive donations on your website","jetpack"),icon:{src:i.Z,foreground:(0,l.m)()},category:"earn",keywords:[...new Set([c.Xd.title,...c.Xd.keywords,u.Xd.title,...u.Xd.keywords,p.X.title,...p.X.keywords,_x("paid","block search term","jetpack"),_x("pay","block search term","jetpack"),_x("money","block search term","jetpack"),_x("checkout","block search term","jetpack")])],supports:{alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:s.Z,save:()=>(0,r.createElement)(o.InnerBlocks.Content,null)}},76039:function(e,t,n){"use strict";var r=n(50851),a=n(29800),o=n(56367);const i=[[a.u2,a.Xd],[o.u2,o.Xd],[r.u,r.X]].map((e=>{var t;let[n,r]=e;return{name:n.includes("/")?n:"jetpack/"+n,title:r.title,description:r.description,icon:null!==(t=r.icon.src)&&void 0!==t?t:r.icon}}));t.Z=i},15774:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(66094);const __=a.__,_x=a._x;function s(e){let{className:t,onSubmit:n,noticeUI:a,url:s,setUrl:l}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.Placeholder,{label:__("Pinterest","jetpack"),icon:i.qv,notices:a},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),n()}},(0,r.createElement)("input",{type:"url",value:s,className:"components-placeholder__input","aria-label":__("Pinterest URL","jetpack"),placeholder:__("Enter URL to embed here…","jetpack"),onChange:e=>l(e.target.value)}),(0,r.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))))}},89488:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981);const __=a.__,_x=a._x;function s(e){let{fallbackUrl:t,onClick:n}=e;return(0,r.createElement)(r.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,r.createElement)(o.Button,{variant:"link",onClick:()=>{const e=(0,r.createElement)("a",{href:t},t);n((0,i.createBlock)("core/paragraph",{content:(0,r.renderToString)(e)}))}},_x("Convert block to link","button label","jetpack")))}},13647:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(){return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(o.Spinner,null),(0,r.createElement)("p",null,__("Embedding…","jetpack")))}},89852:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{setEditingState:t}=e;return(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>t(!0)}))}},15479:function(e,t,n){"use strict";var r=n(69307),a=n(34098);t.Z={attributes:{url:{type:"string"}},supports:{align:!1,html:!1},save:e=>{let{attributes:t,className:n}=e;const{url:o}=t;return(0,a.t)(o)?(0,r.createElement)("div",{className:n},(0,r.createElement)("a",{"data-pin-do":(0,a.t)(o),href:o})):null}}},43529:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(52175),i=n(34098),s=n(89852),l=n(13647),c=n(15774),u=n(89488),p=n(18867);t.Z=(0,a.withNotices)((function(e){let{attributes:t,isSelected:n,className:d,noticeOperations:m,noticeUI:h,setAttributes:f,onReplace:g}=e;const{url:b}=t,{isFetching:v,pinterestUrl:k,testUrl:y,hasTestUrlError:E}=(0,p.Z)(),[w,_]=(0,r.useState)(!1),[C,S]=(0,r.useState)(""),[j,x]=(0,r.useState)(!1),P=(0,r.useCallback)((()=>(0,r.createElement)(u.Z,{fallbackUrl:C,onClick:g})),[E]),T=()=>{v||(y(C),x(!1))},N=()=>{_(!0)};if((0,r.useEffect)((()=>{b&&y(b)}),[]),(0,r.useEffect)((()=>{!n&&w&&_(!1)}),[n,w]),(0,r.useEffect)((()=>{f({url:k}),m.removeAllNotices(),k&&S(k),E&&m.createErrorNotice(P())}),[k,E,f,P]),v)return(0,r.createElement)(l.Z,null);const A=(0,i.t)(b);if(j||!b||b&&!A)return(0,r.createElement)(c.Z,{className:d,onSubmit:T,noticeUI:h,url:C,setUrl:S});const M=`<a data-pin-do='${A}' href='${b}'></a>`;return(0,r.createElement)("div",{className:d},(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.C,{setEditingState:x})),(0,r.createElement)("div",null,(0,r.createElement)(a.SandBox,{html:M,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:N}),!w&&(0,r.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:N})))}))},18867:function(e,t,n){"use strict";var r=n(69307),a=n(23621),o=n(66094);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(!1),[i,s]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i&&i!==o.a0&&(n(!0),(0,a.Z)(i).then((e=>{n(!1),s(e),c(!1)})).catch((()=>{n(!1),s(i||void 0),c(!0)})))}),[i]),{isFetching:t,pinterestUrl:i,hasTestUrlError:l,testUrl:s}}},66094:function(e,t,n){"use strict";n.d(t,{Wh:function(){return p},Xd:function(){return g},a0:function(){return d},qv:function(){return f},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(43529),l=n(54709),c=n(70355),u=n(15479);const __=a.__,_x=a._x,p=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,d="https://pinterest.com/anapinskywalker/",m="pinterest",h=__("Pinterest","jetpack"),f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(o.G,null,(0,r.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),g={title:h,description:__("Embed a Pinterest pin, board, or user.","jetpack"),icon:{src:f,foreground:(0,c.m)()},category:"embed",keywords:[_x("social","block search term","jetpack"),_x("pinboard","block search term","jetpack"),_x("pins","block search term","jetpack")],supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:s.Z,save:l.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&p.test(e.textContent),transform:e=>(0,i.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}]},example:{attributes:{url:d}},deprecated:[u.Z]}},54709:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;return(0,r.createElement)("a",{href:n},n)}},34098:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(96483),a=n(66094);function o(e){if(!a.Wh.test(e))return"";const t=(0,r.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}},98075:function(e,t,n){"use strict";n.d(t,{G:function(){return s},q:function(){return l}});var r=n(63226),a=n(86989),o=n.n(a),i=n(96483);const s=async()=>await o()({path:"/wpcom/v2/podcast-player/track-quantity"}),l=async e=>{let t,n,a,{url:s,guids:l=[],fetchEpisodeOptions:c=!1}=e;try{t=await o()({path:(0,i.addQueryArgs)("/wpcom/v2/podcast-player",{url:s,guids:l,"episode-options":c})})}catch(e){n=e}if(t)return{type:r.u,data:t};try{a=await o()({path:(0,i.addQueryArgs)("/oembed/1.0/proxy",{url:s})})}catch(e){}const u='<a href="'+s+'">'+s+"</a>";if(a&&a.html!==u)return{type:r.b};throw n}},30723:function(e,t,n){"use strict";var r=n(96483),a=n(24381);t.Z={url:{type:"string",validator:r.isUrl},selectedEpisodes:{type:"array",default:[]},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeTitle:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}}},77715:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(29431);const s=(0,r.memo)((e=>{let{playerId:t,title:n,cover:a,link:o,track:i,children:s,showEpisodeTitle:c,showCoverArt:u,showEpisodeDescription:p,colors:d}=e;return u||c||p?(0,r.createElement)("div",{className:"jetpack-podcast-player__header"},(0,r.createElement)("div",{className:"jetpack-podcast-player__current-track-info"},u&&a&&(0,r.createElement)("div",{className:"jetpack-podcast-player__cover"},(0,r.createElement)("img",{className:"jetpack-podcast-player__cover-image",src:a,alt:""})),c&&!!(n||i&&i.title)&&(0,r.createElement)(l,{playerId:t,title:n,link:o,track:i,colors:d})),!!(p&&i&&i.description)&&(0,r.createElement)("p",{id:`${t}__track-description`,className:"jetpack-podcast-player__track-description"},i.description),s):s})),l=(0,r.memo)((e=>{let{playerId:t,title:n,link:a,track:s,colors:l={primary:{name:null,custom:null,classes:""}}}=e;return(0,r.createElement)("h2",{id:`${t}__title`,className:"jetpack-podcast-player__title"},!(!s||!s.title)&&(0,r.createElement)("span",{className:o()("jetpack-podcast-player__current-track-title",l.primary.classes),style:{color:l.primary.custom}},s.title,(0,r.createElement)("a",{className:"jetpack-podcast-player__track-title-link",href:s.link||s.src,target:"_blank",rel:"noopener noreferrer nofollow"},i.Z)),!!(s&&s.title&&n)&&(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"}," - "),!!n&&(0,r.createElement)(c,{title:n,link:a,colors:l}))})),c=(0,r.memo)((e=>{let{title:t,link:n}=e;return(0,r.createElement)("span",{className:"jetpack-podcast-player__podcast-title"},n?(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:n,target:"_blank",rel:"noopener noreferrer nofollow"},t):{title:t})}));t.Z=s},39122:function(e,t,n){"use strict";var r=n(69307),a=n(97115),o=n(72862);const i=(0,r.memo)((e=>{let{playerId:t,tracks:n,selectTrack:i,currentTrack:s,playerState:l,colors:c}=e;return(0,r.createElement)("ol",{className:"jetpack-podcast-player__tracks","aria-labelledby":`jetpack-podcast-player__tracklist-title--${t}`,"aria-describedby":`jetpack-podcast-player__tracklist-description--${t}`},n.map(((e,t)=>{const n=s===t;return(0,r.createElement)(o.Z,{key:e.id,index:t,track:e,selectTrack:i,isActive:n,isPlaying:n&&l===a.Wp,isError:n&&l===a.Vy,colors:c})})))}));t.Z=i},71600:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(25158),u=n(94333),p=n(9818),d=n(97115),m=n(72752),h=n(39122),f=n(77715),g=n(66085),b=n(71540);const __=l.__;class v extends o.Component{constructor(){super(...arguments),a()(this,"state",{currentTrack:0,hasUserInteraction:!1}),a()(this,"recordUserInteraction",(()=>{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})})),a()(this,"selectTrack",(e=>{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&&this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)})),a()(this,"loadTrack",(e=>{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&&this.setState({currentTrack:e});const{title:n,link:r,description:a}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:n,link:r}),(0,c.speak)(
/* translators: %s is the track title. It describes the current state of the track as "Loading: [track title]". */
-`${(0,l.sprintf)(__("Loading: %s","jetpack"),n)} ${a}`,"assertive"),!0})),a()(this,"loadAndPlay",(e=>{this.recordUserInteraction(),this.loadTrack(e)&&this.props.playMediaSource(this.props.playerId)})),a()(this,"getTrack",(e=>this.props.tracks[e])),a()(this,"handleError",(e=>{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?"IE11: Playing sounds in webpages setting is not checked":e;this.setState((()=>{throw new Error(t)}))}this.props.errorMediaSource(this.props.playerId),(0,c.speak)(`${__("Error: Episode unavailable - Open in a new tab","jetpack")}`,"assertive")})),a()(this,"handlePlay",(()=>{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})})),a()(this,"handlePause",(()=>{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==d.Vy&&this.props.pauseMediaSource(this.props.playerId)})),a()(this,"handleTimeChange",(e=>{this.props.setMediaSourceCurrentTime(this.props.playerId,e)})),a()(this,"handleJump",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)})),a()(this,"handleSkip",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)})),a()(this,"updateMediaData",(e=>{this.props.updateMediaSourceData(this.props.playerId,{duration:e.target?.duration,domId:e.target?.id})}))}registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:d._5}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&&this.registerPlayer()}componentWillUnmount(){this.props.playerId&&this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=>e?.length?e.map((e=>e.guid)):[],n=t(this.props.tracks),r=new Set(t(e.tracks));n.length===r.size&&n.every((e=>r.has(e)))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length<=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:n,cover:r,tracks:a,attributes:i,currentTime:c,playerState:u}=this.props,{itemsToShow:p,primaryColor:d,customPrimaryColor:b,hexPrimaryColor:v,secondaryColor:k,customSecondaryColor:y,hexSecondaryColor:E,backgroundColor:w,customBackgroundColor:_,hexBackgroundColor:C,showCoverArt:j,showEpisodeTitle:S,showEpisodeDescription:x}=i,{currentTrack:T}=this.state,N=a.slice(0,p),A=this.getTrack(T),P=(0,g.Aq)({primaryColor:d,customPrimaryColor:b,secondaryColor:k,customSecondaryColor:y,backgroundColor:w,customBackgroundColor:_}),I={color:y,backgroundColor:_,"--jetpack-podcast-player-primary":v,"--jetpack-podcast-player-secondary":E,"--jetpack-podcast-player-background":C},M=s()("jetpack-podcast-player",u,P.secondary.classes,P.background.classes);return(0,o.createElement)("section",{className:M,style:I,"aria-labelledby":t||A&&A.title?`${e}__title`:void 0,"aria-describedby":A&&A.description?`${e}__track-description`:void 0,"data-jetpack-iframe-ignore":!0},(0,o.createElement)(f.Z,{playerId:e,title:t,link:n,cover:r,track:this.getTrack(T),showCoverArt:j,showEpisodeTitle:S,showEpisodeDescription:x,colors:P},(0,o.createElement)(m.Z,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(T).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:u,currentTime:c,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})),N.length>1&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h4",{id:`jetpack-podcast-player__tracklist-title--${e}`,className:"jetpack-podcast-player--visually-hidden"},(0,l.sprintf)(// translators: %s is the track title.
-__("Playlist: %s","jetpack"),t)),(0,o.createElement)("p",{id:`jetpack-podcast-player__tracklist-description--${e}`,className:"jetpack-podcast-player--visually-hidden"},__("Select an episode to play it in the audio player.","jetpack")),(0,o.createElement)(h.Z,{playerId:e,playerState:u,currentTrack:T,tracks:N,selectTrack:this.selectTrack,colors:P})))}}v.defaultProps={title:"",cover:"",link:"",attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]},t.Z=(0,u.compose)([b.Z,(0,p.withSelect)(((e,t)=>{const{playerId:n}=t,{getMediaSourceCurrentTime:r,getMediaPlayerState:a}=e(d.tT);return{currentTime:r(n),playerState:a(n)}})),(0,p.withDispatch)((e=>{const{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}=e(d.tT);return{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}}))])(v)},86852:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=(0,r.memo)((e=>{let{link:t,title:n,colors:o}=e;return(0,r.createElement)("div",{className:"jetpack-podcast-player__track-error"},__("Episode unavailable. ","jetpack"),t&&(0,r.createElement)("span",{className:o.secondary.classes,style:{color:o.secondary.custom}},(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:t,rel:"noopener noreferrer nofollow",target:"_blank"},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${(0,a.sprintf)(
+`${(0,l.sprintf)(__("Loading: %s","jetpack"),n)} ${a}`,"assertive"),!0})),a()(this,"loadAndPlay",(e=>{this.recordUserInteraction(),this.loadTrack(e)&&this.props.playMediaSource(this.props.playerId)})),a()(this,"getTrack",(e=>this.props.tracks[e])),a()(this,"handleError",(e=>{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?"IE11: Playing sounds in webpages setting is not checked":e;this.setState((()=>{throw new Error(t)}))}this.props.errorMediaSource(this.props.playerId),(0,c.speak)(`${__("Error: Episode unavailable - Open in a new tab","jetpack")}`,"assertive")})),a()(this,"handlePlay",(()=>{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})})),a()(this,"handlePause",(()=>{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==d.Vy&&this.props.pauseMediaSource(this.props.playerId)})),a()(this,"handleTimeChange",(e=>{this.props.setMediaSourceCurrentTime(this.props.playerId,e)})),a()(this,"handleJump",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)})),a()(this,"handleSkip",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)})),a()(this,"updateMediaData",(e=>{var t,n;this.props.updateMediaSourceData(this.props.playerId,{duration:null===(t=e.target)||void 0===t?void 0:t.duration,domId:null===(n=e.target)||void 0===n?void 0:n.id})}))}registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:d._5}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&&this.registerPlayer()}componentWillUnmount(){this.props.playerId&&this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=>null!=e&&e.length?e.map((e=>e.guid)):[],n=t(this.props.tracks),r=new Set(t(e.tracks));n.length===r.size&&n.every((e=>r.has(e)))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length<=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:n,cover:r,tracks:a,attributes:i,currentTime:c,playerState:u}=this.props,{itemsToShow:p,primaryColor:d,customPrimaryColor:b,hexPrimaryColor:v,secondaryColor:k,customSecondaryColor:y,hexSecondaryColor:E,backgroundColor:w,customBackgroundColor:_,hexBackgroundColor:C,showCoverArt:S,showEpisodeTitle:j,showEpisodeDescription:x}=i,{currentTrack:P}=this.state,T=a.slice(0,p),N=this.getTrack(P),A=(0,g.Aq)({primaryColor:d,customPrimaryColor:b,secondaryColor:k,customSecondaryColor:y,backgroundColor:w,customBackgroundColor:_}),M={color:y,backgroundColor:_,"--jetpack-podcast-player-primary":v,"--jetpack-podcast-player-secondary":E,"--jetpack-podcast-player-background":C},I=s()("jetpack-podcast-player",u,A.secondary.classes,A.background.classes);return(0,o.createElement)("section",{className:I,style:M,"aria-labelledby":t||N&&N.title?`${e}__title`:void 0,"aria-describedby":N&&N.description?`${e}__track-description`:void 0,"data-jetpack-iframe-ignore":!0},(0,o.createElement)(f.Z,{playerId:e,title:t,link:n,cover:r,track:this.getTrack(P),showCoverArt:S,showEpisodeTitle:j,showEpisodeDescription:x,colors:A},(0,o.createElement)(m.Z,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(P).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:u,currentTime:c,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})),T.length>1&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h4",{id:`jetpack-podcast-player__tracklist-title--${e}`,className:"jetpack-podcast-player--visually-hidden"},(0,l.sprintf)(// translators: %s is the track title.
+__("Playlist: %s","jetpack"),t)),(0,o.createElement)("p",{id:`jetpack-podcast-player__tracklist-description--${e}`,className:"jetpack-podcast-player--visually-hidden"},__("Select an episode to play it in the audio player.","jetpack")),(0,o.createElement)(h.Z,{playerId:e,playerState:u,currentTrack:P,tracks:T,selectTrack:this.selectTrack,colors:A})))}}v.defaultProps={title:"",cover:"",link:"",attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]},t.Z=(0,u.compose)([b.Z,(0,p.withSelect)(((e,t)=>{const{playerId:n}=t,{getMediaSourceCurrentTime:r,getMediaPlayerState:a}=e(d.tT);return{currentTime:r(n),playerState:a(n)}})),(0,p.withDispatch)((e=>{const{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}=e(d.tT);return{registerMediaSource:t,updateMediaSourceData:n,unregisterMediaSource:r,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:i,toggleMediaSource:s,errorMediaSource:l,setMediaSourceCurrentTime:c}}))])(v)},46843:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__,o=(0,r.memo)((e=>{let{link:t,title:n,colors:o}=e;return(0,r.createElement)("div",{className:"jetpack-podcast-player__track-error"},__("Episode unavailable. ","jetpack"),t&&(0,r.createElement)("span",{className:o.secondary.classes,style:{color:o.secondary.custom}},(0,r.createElement)("a",{className:"jetpack-podcast-player__link",href:t,rel:"noopener noreferrer nofollow",target:"_blank"},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${(0,a.sprintf)(
/* translators: %s is the title of the track. This text is visually hidden from the screen, but available to screen readers. */
-__("%s:","jetpack"),n)} `),__("Open in a new tab","jetpack"))))}));t.Z=o},71938:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(72086);const __=a.__,i=(0,r.memo)((e=>{let t,n,{isPlaying:a,isError:i,className:s}=e;i?(n="error",
+__("%s:","jetpack"),n)} `),__("Open in a new tab","jetpack"))))}));t.Z=o},96817:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(69650);const __=a.__,i=(0,r.memo)((e=>{let t,n,{isPlaying:a,isError:i,className:s}=e;i?(n="error",
/* translators: This is text to describe the current state. This will go
before the track title, such as "Error: [The title of the track]". */
t=__("Error:","jetpack")):a&&(n="playing",
/* translators: Text to describe the current state. This will go before the
track title, such as "Playing: [The title of the track]". */
-t=__("Playing:","jetpack"));const l=o[n];return l?(0,r.createElement)("span",{className:`${s} ${s}--${n}`},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${t} `),l):(0,r.createElement)("span",{className:s})}));t.Z=i},15020:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(71938),l=n(86852),c=n(74693);const __=i.__,u=(0,r.memo)((e=>{let{track:t,isActive:n,isPlaying:a,isError:i,selectTrack:u,index:p,colors:d={primary:{},secondary:{}}}=e;const m=(0,c.Gd)("color",d.primary.name),h=(0,c.Gd)("color",d.secondary.name),f=o()("jetpack-podcast-player__track",{"is-active":n,"has-primary":n&&(d.primary.name||d.primary.custom),[m]:n&&!!m,"has-secondary":!n&&(d.secondary.name||d.secondary.custom),[h]:!n&&!!h}),g={};n&&d.primary.custom&&!m?g.color=d.primary.custom:n||!d.secondary.custom||h||(g.color=d.secondary.custom);const
+t=__("Playing:","jetpack"));const l=o[n];return l?(0,r.createElement)("span",{className:`${s} ${s}--${n}`},(0,r.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${t} `),l):(0,r.createElement)("span",{className:s})}));t.Z=i},72862:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(96817),l=n(46843),c=n(66085);const __=i.__,u=(0,r.memo)((e=>{let{track:t,isActive:n,isPlaying:a,isError:i,selectTrack:u,index:p,colors:d={primary:{},secondary:{}}}=e;const m=(0,c.Gd)("color",d.primary.name),h=(0,c.Gd)("color",d.secondary.name),f=o()("jetpack-podcast-player__track",{"is-active":n,"has-primary":n&&(d.primary.name||d.primary.custom),[m]:n&&!!m,"has-secondary":!n&&(d.secondary.name||d.secondary.custom),[h]:!n&&!!h}),g={};n&&d.primary.custom&&!m?g.color=d.primary.custom:n||!d.secondary.custom||h||(g.color=d.secondary.custom);const
/* translators: This needs to be a single word with no spaces. It describes
the current item in the group. A screen reader will announce it as "[title],
current track". */
-b=n?__("track","jetpack"):void 0;return(0,r.createElement)("li",{className:f,style:Object.keys(g).length?g:null},(0,r.createElement)("a",{className:"jetpack-podcast-player__link jetpack-podcast-player__track-link",href:t.link||t.src,role:"button","aria-current":b,onClick:e=>{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),u(p))},onKeyDown:e=>{" "===event.key&&(e.preventDefault(),u(p))}},(0,r.createElement)(s.Z,{className:"jetpack-podcast-player__track-status-icon",isPlaying:a,isError:i}),(0,r.createElement)("span",{className:"jetpack-podcast-player__track-title"},t.title),t.duration&&(0,r.createElement)("time",{className:"jetpack-podcast-player__track-duration",dateTime:t.duration},t.duration)),n&&i&&(0,r.createElement)(l.Z,{link:t.link,title:t.title,colors:d}))}));t.Z=u},56551:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(27538),a=n.n(r),o=n(69307),i=n(65736);const __=i.__;function s(e){class t extends o.Component{constructor(){super(...arguments),a()(this,"state",{didError:!1,isIE11AudioIssue:!1}),a()(this,"componentDidCatch",((e,t)=>{this.props.onError(e,t)}))}render(){const{didError:t,isIE11AudioIssue:n}=this.state;return t?(0,o.createElement)("section",{className:"jetpack-podcast-player"},(0,o.createElement)("p",{className:"jetpack-podcast-player__error"},n?__('The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s "Internet options" settings. In the "Advanced" tab you will have to check the box next to "Play sounds in webpages" in the "Multimedia" section. Once you have confirmed that the box is checked, please press "Apply" and then reload this page.',"jetpack"):__("An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.","jetpack",0))):(0,o.createElement)(e,this.props)}}return a()(t,"getDerivedStateFromError",(e=>({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)}))),t.defaultProps={onError:()=>{}},t}},12761:function(e,t,n){"use strict";n.d(t,{u:function(){return r},b:function(){return a}});const r="podcast-feed",a="embed-block"},90307:function(e,t,n){"use strict";var r=n(96483),a=n(68039);const o={url:{type:"string",validator:r.isUrl},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}};t.Z={attributes:o,supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},save:()=>null}},87315:function(e,t,n){"use strict";var r=n(69307),a=n(90922),o=n.n(a),i=n(92819),s=n(55609),l=n(94333),c=n(65736),u=n(52175),p=n(9818),d=n(4981),m=n(96483),h=n(14087),f=n(41820),g=n(58014),b=n(23600),v=n(58627),k=n(74693),y=n(45452),E=n(91763),w=n(71420),_=n(12761),C=n(87929);const __=c.__,j=o()("jetpack:podcast-player:edit"),S=(0,g.Wp)()||(0,g.Ug)()?"http://en.support.wordpress.com/wordpress-editor/blocks/podcast-player-block/":"https://jetpack.com/support/jetpack-blocks/podcast-player-block/";t.Z=(0,l.compose)([(0,p.withDispatch)(((e,t)=>{let{clientId:n,attributes:r}=t;return{replaceWithEmbedBlock(){e("core/block-editor").replaceBlock(n,(0,d.createBlock)("core/embed",{url:r.url}))}}})),(0,u.withColors)("backgroundColor",{primaryColor:"color"},{secondaryColor:"color"}),s.withNotices,l.withInstanceId,w.K])((e=>{let{instanceId:t,className:n,attributes:a,setAttributes:o,noticeOperations:{createErrorNotice:l,removeAllNotices:c},noticeUI:p,primaryColor:d,setPrimaryColor:g,secondaryColor:w,setSecondaryColor:x,fallbackTextColor:T,backgroundColor:N,setBackgroundColor:A,fallbackBackgroundColor:P,isSelected:I,replaceWithEmbedBlock:M}=e;const R=(0,h.S)(b.Z,a),{url:L,selectedEpisodes:B,itemsToShow:Z,showCoverArt:F,showEpisodeTitle:D,showEpisodeDescription:O,exampleFeedData:z}=R,U=`jetpack-podcast-player-block-${t}`,[$,V]=(0,r.useState)(!1),[G,q]=(0,r.useState)(10),H=(0,r.useRef)(),[{selectedGuid:W,checkUrl:K,...X},J]=(0,r.useReducer)(E.J,{editedUrl:L||"",isEditing:!L&&!z,isLoading:!1,feedData:z||{},isInteractive:!1,selectedGuid:B?.[0]?.guid,checkUrl:L||""}),Y=(0,r.useMemo)((()=>(0,i.debounce)((e=>{J({type:E.N.START_FETCH}),H.current?.cancel(),H.current=(0,k.W4)((0,y.q)({...e,fetchEpisodeOptions:!0})),H.current.promise.then((t=>{if(c(),t?.isCanceled)j("Block was unmounted during fetch",t);else switch(t?.type){case _.u:return o({url:e.url,selectedEpisodes:e.guids.map((e=>({guid:e})))}),J({type:E.N.FEED_RECEIVED,payload:t.data});case _.b:return M()}}),(e=>{e?.isCanceled?j("Block was unmounted during fetch",e):(j("feed error",e),c(),l(e.message||__("Your podcast couldn't be embedded. Please double check your URL.","jetpack")),J({type:E.N.START_EDITING}))}))}),300)),[M,o,l,c]);(0,r.useEffect)((()=>()=>{H?.current?.cancel?.()}),[]);const Q=(0,r.useCallback)((e=>{null===e||$||((0,C.DT)(["link#mediaelement-css","link#wp-mediaelement-css"],e),V(!0))}),[$]);(0,r.useEffect)((()=>{if(""!==K)return Y({url:K,guids:W?[W]:[]}),()=>H?.current?.cancel?.()}),[Y,K,W]),(0,r.useEffect)((()=>{(0,y.G)().then((e=>{q(e)}))}),[]),(0,r.useEffect)((()=>{W&&1!==Z&&o({itemsToShow:1})}),[W,Z,o]),(0,r.useEffect)((()=>{!I&&X.isInteractive&&J({type:E.N.PREVENT_INTERACTIONS})}),[I,X.isInteractive]);const ee=e=>{if(e.preventDefault(),""===X.editedUrl)return;const t=(0,m.prependHTTP)(X.editedUrl);(0,m.isURL)(t)?(t===K?(J({type:E.N.CLEAR_FEED}),Y({url:K,guids:B[0]?.guid?[B[0].guid]:[]})):J({type:E.N.CHECK_URL,payload:t}),J({type:E.N.FINISH_EDITING,payload:t})):l(__("Your podcast couldn't be embedded. Please double check your URL.","jetpack"))};if(X.isEditing)return(0,r.createElement)(s.Placeholder,{icon:(0,r.createElement)(u.BlockIcon,{icon:f.E}),label:__("Podcast Player","jetpack"),instructions:__("Enter your podcast RSS feed URL.","jetpack"),className:"jetpack-podcast-player__placeholder"},(0,r.createElement)("form",{onSubmit:ee},p,(0,r.createElement)(s.TextControl,{type:"text",inputMode:"url",placeholder:__("Enter URL here…","jetpack"),value:X.editedUrl,className:"components-placeholder__input",onChange:e=>J({type:E.N.EDIT_URL,payload:e})}),(0,r.createElement)(s.Button,{isPrimary:!0,type:"submit"},__("Embed","jetpack"))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(s.ExternalLink,{href:S},__("Learn more about embeds","jetpack"))));if(!X.feedData.tracks?.length)return(0,r.createElement)(s.Placeholder,{icon:(0,r.createElement)(u.BlockIcon,{icon:f.E}),label:__("Podcast Player","jetpack"),instructions:__("Loading podcast feed…","jetpack")},(0,r.createElement)(s.Spinner,null));const te=(e,t)=>n=>{o({[e]:n}),t(n)};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarButton,{"aria-label":__("Edit Podcast Feed URL","jetpack"),onClick:()=>J({type:E.N.START_EDITING})},__("Replace","jetpack")))),(0,r.createElement)(u.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Podcast settings","jetpack")},(s.ComboboxControl||0===B.length)&&(0,r.createElement)(s.RangeControl,{label:__("Number of items","jetpack"),value:Z,onChange:e=>o({itemsToShow:W?1:e}),min:1,max:G,required:!0,disabled:!!W}),s.ComboboxControl&&(0,r.createElement)(s.ComboboxControl,{className:"jetpack-podcast-player__episode-selector",value:W,onChange:e=>J({type:E.N.SELECT_EPISODE,payload:e}),options:X.feedData.options||[],label:__("Episode","jetpack"),onFilterValueChange:i.noop}),(0,r.createElement)(s.ToggleControl,{label:__("Show Cover Art","jetpack"),checked:F,onChange:e=>o({showCoverArt:e})}),(0,r.createElement)(s.ToggleControl,{label:__("Show Episode Title","jetpack"),checked:D,onChange:e=>o({showEpisodeTitle:e})}),(0,r.createElement)(s.ToggleControl,{label:__("Show Episode Description","jetpack"),checked:O,onChange:e=>o({showEpisodeDescription:e})})),(0,r.createElement)(u.PanelColorSettings,{title:__("Color Settings","jetpack"),colorSettings:[{value:d.color,onChange:te("hexPrimaryColor",g),label:__("Primary Color","jetpack")},{value:w.color,onChange:te("hexSecondaryColor",x),label:__("Secondary Color","jetpack")},{value:N.color,onChange:te("hexBackgroundColor",A),label:__("Background Color","jetpack")}]},(0,r.createElement)(u.ContrastChecker,{isLargeText:!1,textColor:w.color,backgroundColor:N.color,fallbackBackgroundColor:P,fallbackTextColor:T}))),(0,r.createElement)("div",{id:U,className:n,ref:Q},(0,r.createElement)(v.Z,{playerId:U,attributes:R,tracks:X.feedData.tracks,cover:X.feedData.cover,title:X.feedData.title,link:X.feedData.link}),!X.isInteractive&&!X.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__interactive-overlay",onMouseUp:()=>J({type:E.N.MAKE_INTERACTIVE})}),X.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__loading-overlay"},(0,r.createElement)(s.Spinner,null))))}))},41820:function(e,t,n){"use strict";n.d(t,{E:function(){return r.Z}});var r=n(95506)},76814:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.Z=o},95506:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,null,(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"})),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,null),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,{transform:"matrix(1 0 0 1 144 120)"},(0,r.createElement)(a.Path,{d:"M-122-114h-5v8.18c-0.31-0.11-0.65-0.18-1-0.18c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3v-9h3V-114 L-122-114z M-129-114h-12v2h12V-114L-129-114z M-129-110h-12v2h12V-110L-129-110z M-133-106h-8v2h8V-106L-133-106z M-129-103 c0-0.55,0.45-1,1-1c0.55,0,1,0.45,1,1s-0.45,1-1,1C-128.55-102-129-102.45-129-103z"})))))},72086:function(e,t,n){"use strict";n.r(t),n.d(t,{playing:function(){return i},error:function(){return s}});var r=n(69307),a=n(55609);const o={height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},i=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"})),s=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},58495:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p}});var r=n(65736),a=n(23600),o=n(90307),i=n(87315),s=n(99944),l=n(41820),c=n(57535);const __=r.__,_x=r._x,u="podcast-player",p={title:__("Podcast Player","jetpack"),description:__("Select and play episodes from a single podcast.","jetpack"),icon:{src:l.E,foreground:(0,c.m)()},category:"embed",keywords:[_x("audio","block search term","jetpack"),_x("embed","block search term","jetpack")],supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},edit:i.Z,save:s.Z,attributes:a.Z,example:{attributes:{customPrimaryColor:(0,c.m)(),hexPrimaryColor:(0,c.m)(),exampleFeedData:{title:__("Jetpack Example Podcast","jetpack"),link:"https://jetpack.com",cover:"https://jetpackme.files.wordpress.com/2020/05/jetpack-example-podcast-cover.png?w=160",tracks:[{id:"3",title:__("3. Our third episode","jetpack"),duration:"14:58"},{id:"2",title:__("2. Interview with a special guest","jetpack"),duration:"19:17"},{id:"1",title:__("1. Welcome to Example Podcast","jetpack"),duration:"11:25"}]}}},deprecated:[o.Z]}},99944:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;if(n&&""!==n)return(0,r.createElement)("a",{className:"jetpack-podcast-player__direct-link",href:n},n)}},91763:function(e,t,n){"use strict";n.d(t,{N:function(){return r},J:function(){return a}});const r={EDIT_URL:"EDIT_URL",FINISH_EDITING:"FINISH_EDITING",START_EDITING:"START_EDITING",SELECT_EPISODE:"SELECT_EPISODE",FEED_RECEIVED:"FEED_RECEIVED",CLEAR_FEED:"CLEAR_FEED",MAKE_INTERACTIVE:"MAKE_INTERACTIVE",PREVENT_INTERACTIONS:"PREVENT_INTERACTIONS",START_FETCH:"START_FETCH",CHECK_URL:"CHECK_URL"},a=(e,t)=>{switch(t.type){case r.EDIT_URL:return{...e,editedUrl:t.payload};case r.START_EDITING:return{...e,isEditing:!0,isLoading:!1};case r.FINISH_EDITING:return{...e,editedUrl:t.payload,isEditing:!1};case r.FEED_RECEIVED:return{...e,isLoading:!1,feedData:t.payload};case r.CLEAR_FEED:return{...e,feedData:{}};case r.MAKE_INTERACTIVE:return{...e,isInteractive:!0};case r.PREVENT_INTERACTIONS:return{...e,isInteractive:!1};case r.START_FETCH:return{...e,isLoading:!0};case r.SELECT_EPISODE:return{...e,selectedGuid:t.payload};case r.CHECK_URL:return{...e,selectedGuid:null,feedData:{},checkUrl:t.payload};default:return{...e}}}},74693:function(e,t,n){"use strict";n.d(t,{Gd:function(){return i},W4:function(){return s},Aq:function(){return l}});var r=n(89105),a=n.n(r),o=n(92819);function i(e,t){if(e&&t)return`has-${t}-${e}`}function s(e){let t=!1;return{promise:new Promise(((n,r)=>{e.then((e=>t?r({isCanceled:!0}):n(e)),(e=>r(t?{isCanceled:!0}:e)))})),cancel(){t=!0}}}const l=(0,o.memoize)((e=>{let{primaryColor:t,customPrimaryColor:n,secondaryColor:r,customSecondaryColor:o,backgroundColor:s,customBackgroundColor:l}=e;const c=i("color",t),u=i("color",r),p=i("background-color",s);return{primary:{name:t,custom:n,classes:a()({"has-primary":c||n,[c]:c})},secondary:{name:r,custom:o,classes:a()({"has-secondary":u||o,[u]:u})},background:{name:s,custom:l,classes:a()({"has-background":p||l,[p]:p})}}}),(e=>Object.values(e).join()))},96440:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(55609),l=n(39630);const __=o.__,c=e=>{let{id:t,setRating:n,children:a}=e;return(0,r.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(o=t,e=>{let{keyCode:t}=e;return t===l.ENTER?n(o):null}),onClick:(e=>()=>n(e))(t)},a);var o};t.Z=e=>function(t){let{className:n,setAttributes:o,attributes:{align:l,color:u,rating:p,maxRating:d}}=t;const m=e=>{e===p?Math.ceil(p)===p&&(e-=.5):.5===p&&1===e&&(e=0),o({rating:e})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(i.AlignmentToolbar,{value:l,onChange:e=>o({align:e})})),(0,r.createElement)("div",{className:n,style:{textAlign:l}},(0,a.range)(1,d+1).map((t=>(0,r.createElement)(c,{key:t,id:t,setRating:m},(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t-.5?null:"is-rating-unfilled",color:u})),(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t?null:"is-rating-unfilled",color:u})))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.RangeControl,{label:__("Highest rating","jetpack"),value:d,onChange:e=>o({maxRating:e}),min:2,max:10}),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:u,onChange:e=>o({color:e}),label:__("Color","jetpack")}]}))))}},9615:function(e,t,n){"use strict";n.d(t,{d:function(){return o},r:function(){return i}});var r=n(69307),a=n(55609);const o=()=>(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"})),i=e=>{const t=(e=>e&&e.color?e.color:"currentColor")(e),n=(e=>e&&e.className?e.className:"")(e);return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},(0,r.createElement)(a.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))}},84807:function(e,t,n){"use strict";n.d(t,{u:function(){return l},X:function(){return c}});var r=n(65736),a=n(96440),o=n(2027),i=n(9615),s=n(57535);const __=r.__,_x=r._x,l="rating-star",c={title:__("Star Rating","jetpack"),description:__("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:{src:i.d,foreground:(0,s.m)()},keywords:[_x("star","block search term","jetpack"),_x("rating","block search term","jetpack"),_x("review","block search term","jetpack")],category:"widgets",example:{},styles:[{name:"filled",label:_x("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:_x("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:(0,a.Z)(i.r),save:(0,o.Z)("★")}},2027:function(e,t,n){"use strict";var r=n(69307),a=n(92819);t.Z=e=>function(t){let{className:n,attributes:{align:o,rating:i,color:s}}=t;return(0,r.createElement)("figure",{className:n,style:{textAlign:o}},(0,a.range)(1,i+1).map((t=>(0,r.createElement)("span",{key:t,style:{color:s}},e))))}},79642:function(e,t,n){"use strict";n.d(t,{G:function(){return u},J:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(51591),s=n(48721),l=n(4235),c=n(37930);const __=a.__;function u(e){let{attributes:{planId:t},products:n,setMembershipAmount:a}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Payment plan","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Payment plan","jetpack"),value:t,onChange:e=>a(e),options:n.map((e=>({label:(0,s.C)(e),value:e.id,key:e.id})))})),(0,r.createElement)(o.PanelBody,{title:__("Management","jetpack")},(0,r.createElement)(o.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,l.Z)()}`},__("See your earnings, subscriber list, and payment plans.","jetpack"))))}function p(e){let{connected:t,connectURL:n,hasUpgradeNudge:a,shouldUpgrade:s}=e;const{autosaveAndRedirect:l}=(0,c.Z)(n);return(0,r.createElement)(r.Fragment,null,!a&&!s&&!t&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{icon:i.Pw,onClick:l,className:"connect-stripe components-tab-button"},__("Connect Stripe","jetpack"))))}},2235:function(e,t,n){"use strict";var r=n(92819),a=n(4981);const o=["submitButtonText","submitButtonClasses","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},submitButtonClasses:{type:"string"},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},migrate:e=>{const t=(0,r.omit)(e,o),n={text:(i=e).submitButtonText,textColor:i.textButtonColor,customTextColor:i.customTextButtonColor,backgroundColor:i.backgroundButtonColor,customBackgroundColor:i.customBackgroundButtonColor};var i;return[t,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"recurring-payments-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,o),Boolean),save:()=>null}},39035:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(86989),c=n.n(l),u=n(65736),p=n(78850),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(92694),b=n(21409),v=n(17882),k=n(2368),y=n(82163),E=n(79642),w=n(48721);const __=u.__;class _ extends o.Component{constructor(){super(...arguments),a()(this,"componentDidMount",(()=>{this.apiCall()})),a()(this,"onError",(e=>{const{noticeOperations:t}=this.props;t.removeAllNotices(),t.createErrorNotice(e)})),a()(this,"apiCall",(()=>{const e={path:"/wpcom/v2/memberships/status",method:"GET"};c()(e).then((e=>{if(e.errors&&Object.values(e.errors)&&Object.values(e.errors)[0][0])return this.setState({connected:null,connectURL:2}),void this.onError(Object.values(e.errors)[0][0]);const{connect_url:t,products:n,should_upgrade_to_access_memberships:r,upgrade_url:a}=e,o=e.connected_account_id?1:2;this.setState({connected:o,connectURL:t,shouldUpgrade:r,upgradeURL:a,products:(0,y.ME)(n)})}),(e=>{this.setState({connected:2,connectURL:null}),this.onError(e.message)}))})),a()(this,"handleCurrencyChange",(e=>{let t=this.state.editedProductPrice;(0,v.vs)(e,t)||(t=(0,w.w)((0,v.hj)(e),e)),this.setState({editedProductCurrency:e,editedProductPrice:t,editedProductPriceValid:!0})})),a()(this,"handleRenewIntervalChange",(e=>this.setState({editedProductRenewInterval:e}))),a()(this,"handlePriceChange",(e=>{const t=parseFloat(e),n=(0,v.vs)(this.state.editedProductCurrency,t);this.setState({editedProductPrice:t,editedProductPriceValid:n})})),a()(this,"handleTitleChange",(e=>this.setState({editedProductTitle:e,editedProductTitleValid:e.length>0}))),a()(this,"saveProduct",(()=>{if(!this.state.editedProductTitle||0===this.state.editedProductTitle.length)return void this.setState({editedProductTitleValid:!1});if(!this.state.editedProductPrice||!(0,v.vs)(this.state.editedProductCurrency,this.state.editedProductPrice))return void this.setState({editedProductPriceValid:!1});this.setState({addingMembershipAmount:2});const e={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:this.state.editedProductCurrency,price:this.state.editedProductPrice,title:this.state.editedProductTitle,interval:this.state.editedProductRenewInterval}};c()(e).then((e=>{this.setState({addingMembershipAmount:0,products:this.state.products.concat([{id:e.id,title:e.title,interval:e.interval,price:e.price,currency:e.currency}])}),this.setMembershipAmount(e.id)}),(e=>{this.setState({addingMembershipAmount:1}),this.onError(e.message)}))})),a()(this,"renderAddMembershipAmount",(e=>{if(0===this.state.addingMembershipAmount&&!e)return(0,o.createElement)(h.Button,{isPrimary:!0,isLarge:!0,onClick:()=>this.setState({addingMembershipAmount:1})},__("Add a payment plan","jetpack"));if(2===this.state.addingMembershipAmount)return;const t=(0,p.ZP)((0,v.hj)(this.state.editedProductCurrency),this.state.editedProductCurrency),n=(0,u.sprintf)(
-/* translators: placeholder is a price. */
-__("Minimum allowed price is %s.","jetpack"),t);return(0,o.createElement)("div",null,(0,o.createElement)("div",{className:"membership-button__price-container"},(0,o.createElement)(h.SelectControl,{className:"membership-button__field membership-button__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:v.Xy,value:this.state.editedProductCurrency}),(0,o.createElement)("div",{className:"membership-membership-button__field membership-button__field-price"},(0,o.createElement)(h.TextControl,{label:__("Price","jetpack"),className:s()({"membership-button__field-error":!this.state.editedProductPriceValid}),onChange:this.handlePriceChange,placeholder:t,required:!0,min:"0",step:"1",type:"number",value:this.state.editedProductPrice||""}),(0,o.createElement)("p",null,n))),(0,o.createElement)(h.TextControl,{className:s()({"membership-button__field":!0,"membership-button__field-error":!this.state.editedProductTitleValid}),label:__("Describe your subscription in a few words","jetpack"),onChange:this.handleTitleChange,placeholder:__("Subscription description","jetpack"),value:this.state.editedProductTitle}),(0,o.createElement)(h.SelectControl,{label:__("Renew interval","jetpack"),onChange:this.handleRenewIntervalChange,options:[{label:__("Monthly","jetpack"),value:"1 month"},{label:__("Yearly","jetpack"),value:"1 year"},{label:__("One-Time Payment","jetpack"),value:"one-time"}],value:this.state.editedProductRenewInterval}),(0,o.createElement)("div",null,(0,o.createElement)(h.Button,{isPrimary:!0,isLarge:!0,className:"membership-button__field-button membership-button__add-amount",onClick:this.saveProduct},__("Add this payment plan","jetpack")),(0,o.createElement)(h.Button,{isLarge:!0,className:"membership-button__field-button",onClick:()=>this.setState({addingMembershipAmount:0})},__("Cancel","jetpack"))))})),a()(this,"getFormattedPriceByProductId",(e=>{const t=this.state.products.filter((t=>parseInt(t.id)===parseInt(e))).pop();return(0,p.ZP)(parseFloat(t.price),t.currency)})),a()(this,"setMembershipAmount",(e=>{const{innerButtons:t,updateBlockAttributes:n,setAttributes:r}=this.props,a=this.props.attributes.planId,o=(0,u.sprintf)(
-/* translators: placeholder is an amount of money. */
-__("%s contribution","jetpack"),this.getFormattedPriceByProductId(e)),i=a?(0,u.sprintf)(
-/* translators: placeholder is an amount of money. */
-__("%s contribution","jetpack"),this.getFormattedPriceByProductId(a)):void 0;return t&&t.length&&t[0].innerBlocks.forEach((e=>{const t=e.attributes.text,r=t===i?o:t;n(e.clientId,{text:r})})),r({planId:parseInt(e)})})),a()(this,"renderMembershipAmounts",(()=>(0,o.createElement)("div",null,this.state.products.map((e=>(0,o.createElement)(h.Button,{className:"membership-button__field-button",isLarge:!0,isSecondary:!0,key:e.id,onClick:()=>this.setMembershipAmount(e.id)},(0,w.C)(e))))))),a()(this,"renderDisclaimer",(()=>(0,o.createElement)("div",{className:"membership-button__disclaimer"},(0,o.createElement)(h.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack"))))),a()(this,"renderUpgradeNudges",(()=>{const{notices:e}=this.props;return(0,o.createElement)(o.Fragment,null,!this.hasUpgradeNudge&&this.state.shouldUpgrade&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e,instructions:__("You'll need to upgrade your plan to use the Payments block.","jetpack")},(0,o.createElement)(h.Button,{isSecondary:!0,isLarge:!0,href:this.state.upgradeURL,target:"_blank"},__("Upgrade your plan","jetpack")),this.renderDisclaimer())))})),a()(this,"renderPlanNotices",(()=>{const{notices:e}=this.props,{connected:t,products:n}=this.state;return(0,o.createElement)(o.Fragment,null,(0===t||2===this.state.addingMembershipAmount)&&!this.props.attributes.planId&&(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),notices:e},(0,o.createElement)(h.Spinner,null)),!this.state.shouldUpgrade&&!this.props.attributes.planId&&1===t&&0===n.length&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e},(0,o.createElement)("div",{className:"components-placeholder__instructions"},(0,o.createElement)("p",null,__("To use this block, first add at least one payment plan.","jetpack")),this.renderAddMembershipAmount(!0),this.renderDisclaimer()))),!this.state.shouldUpgrade&&!this.props.attributes.planId&&2!==this.state.addingMembershipAmount&&1===t&&n.length>0&&(0,o.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},(0,o.createElement)(h.Placeholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:y.qv}),label:__("Payments","jetpack"),notices:e},(0,o.createElement)("div",{className:"components-placeholder__instructions"},(0,o.createElement)("p",null,__("To use this block, select a previously created payment plan.","jetpack")),this.renderMembershipAmounts(),(0,o.createElement)("p",null,__("Or a new one.","jetpack")),this.renderAddMembershipAmount(!1),this.renderDisclaimer()))))})),a()(this,"render",(()=>{const{connected:e,connectURL:t,products:n}=this.state,r=(0,g.applyFilters)("jetpack.RecurringPayments.showControls",n.length>0,this.props.clientId),a=(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(E.G,{attributes:this.props.attributes,products:n,setMembershipAmount:this.setMembershipAmount})),i=(0,o.createElement)(f.BlockControls,null,(0,o.createElement)(E.J,{connected:2!==e,connectURL:(0,k.Z)(this.props.postId,t),hasUpgradeNudge:this.hasUpgradeNudge,shouldUpgrade:this.state.shouldUpgrade}));return(0,o.createElement)(o.Fragment,null,this.props.noticeUI,!this.isPremiumContentChild&&this.renderUpgradeNudges(),!this.isPremiumContentChild&&this.renderPlanNotices(),r&&a,i,(0,o.createElement)(f.InnerBlocks,{template:[["jetpack/button",{element:"a",uniqueId:"recurring-payments-id"}]],templateLock:"all",__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))})),this.state={connected:0,connectURL:null,addingMembershipAmount:0,shouldUpgrade:!1,upgradeURL:"",products:[],editedProductCurrency:"USD",editedProductPrice:(0,w.w)((0,v.hj)("USD"),"USD"),editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},this.timeout=null;const e=(0,b.Z)("recurring-payments");this.hasUpgradeNudge=!e.available&&"missing_plan"===e.unavailableReason,this.isPremiumContentChild=this.props.context.isPremiumContentChild||!1}}t.Z=(0,d.compose)([(0,m.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()}))),(0,m.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/editor");return{updateBlockAttributes:t,autosaveAndRedirect:async(t,n)=>{t.preventDefault(),await e("core/editor").savePost(),window.top.location.href=n}}})),h.withNotices])(_)},82163:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},qv:function(){return d},Xd:function(){return m},ME:function(){return h}});var r=n(69307),a=n(55609),o=n(52175),i=n(65736),s=n(57535),l=n(2235),c=n(39035),u=n(17882);const __=i.__,_x=i._x,p="recurring-payments",d=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},(0,r.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"}))),m={title:__("Payments","jetpack"),icon:{src:d,foreground:(0,s.m)()},description:__("Button allowing you to sell products and subscriptions.","jetpack"),category:"earn",keywords:[_x("sell","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("product","block search term","jetpack"),"stripe",_x("memberships","block search term","jetpack")],usesContext:["isPremiumContentChild"],attributes:{planId:{type:"integer"},align:{type:"string"}},edit:c.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},supports:{html:!1,align:!0},deprecated:[l.Z]};function h(e){return e.filter((e=>(0,u.vs)(e.currency,e.price)))}},48721:function(e,t,n){"use strict";n.d(t,{w:function(){return o},C:function(){return i}});var r=n(65736),a=n(78850);const __=r.__,o=(e,t)=>(0,a.ZP)(e,t,{decimal:".",symbol:""}),i=e=>{const t=(0,a.ZP)(parseFloat(e.price),e.currency);return"1 month"===e.interval?(0,r.sprintf)(
-/* translators: placeholder is a price. */
-__("%s / month","jetpack"),t):"1 year"===e.interval?(0,r.sprintf)(
-/* translators: placeholder is a price. */
-__("%s / year","jetpack"),t):"one-time"===e.interval?t:(0,r.sprintf)(
-/* translators: %1$s is a price, %2$s is a period (1 year for example) */
-__("%1$s / %2$s","jetpack"),t,e.interval)}},14823:function(e,t,n){"use strict";n.d(t,{Hj:function(){return i},AP:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{attributes:t,setAttributes:n}=e;const{displayContext:a,displayDate:i,displayThumbnails:s,postsToShow:l}=t;return(0,r.createElement)(o.PanelBody,{title:__("Related Posts Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Display thumbnails","jetpack"),checked:s,onChange:e=>n({displayThumbnails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display date","jetpack"),checked:i,onChange:e=>n({displayDate:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display context (category or tag)","jetpack"),checked:a,onChange:e=>n({displayContext:e})}),(0,r.createElement)(o.RangeControl,{label:__("Number of posts","jetpack"),value:l,onChange:e=>n({postsToShow:Math.min(e,6)}),min:1,max:6}))}function s(e){let{attributes:t,setAttributes:n}=e;const{postLayout:a}=t,i=[{icon:"grid-view",title:__("Grid View","jetpack"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===a},{icon:"list-view",title:__("List View","jetpack"),onClick:()=>n({postLayout:"list"}),isActive:"list"===a}];return(0,r.createElement)(o.ToolbarGroup,{controls:i})}},31759:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(92819),l=n(9818),c=n(94333),u=n(14823);const __=a.__;function p(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},e.isInSiteEditor?__("Preview unavailable in site editor.","jetpack"):__("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&(0,r.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":__("Placeholder image","jetpack")},(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},(0,r.createElement)("title",null,__("Grey square","jetpack")),(0,r.createElement)(i.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("title",null,__("Icon for image","jetpack")),(0,r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},__("August 3, 2018","jetpack")),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},__("In “Uncategorized”","jetpack")))}function d(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&(0,r.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},(0,r.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function m(e){const t="jp-related-posts-i2__row";let n=0;const a=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:n=2;break;default:n=3}return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(0,n).length},e.posts.slice(0,n)),a&&(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(n).length},e.posts.slice(n)))}class h extends r.Component{render(){const{attributes:e,className:t,posts:n,setAttributes:a,instanceId:i,isInSiteEditor:s}=this.props,{displayContext:l,displayDate:c,displayThumbnails:h,postLayout:f,postsToShow:g}=e,b="jp-relatedposts-i2",v=[];for(let e=0;e<g;e++)n[e]?v.push((0,r.createElement)(d,{id:`related-posts-${i}-post-${e}`,key:b+"-"+e,post:n[e],displayThumbnails:h,displayDate:c,displayContext:l})):v.push((0,r.createElement)(p,{id:`related-posts-${i}-post-${e}`,key:"related-post-placeholder-"+e,displayThumbnails:h,displayDate:c,displayContext:l,isInSiteEditor:s}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(u.Hj,{attributes:e,setAttributes:a})),(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(u.AP,{attributes:e,setAttributes:a})),(0,r.createElement)("div",{className:t,id:`related-posts-${i}`},(0,r.createElement)("div",{className:b,"data-layout":f},(0,r.createElement)(m,{posts:v}))))}}t.ZP=(0,c.compose)(c.withInstanceId,(0,l.withSelect)((e=>{const{getCurrentPost:t}=e("core/editor"),n=t();return{posts:(0,s.get)(n,"jetpack-related-posts",[]),isInSiteEditor:(0,s.isEmpty)(n)}})))(h)},32051:function(e,t,n){"use strict";n.d(t,{u2:function(){return l},Xd:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(31759),s=n(57535);const __=a.__,_x=a._x,l="related-posts",c=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},(0,r.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),u={title:__("Related Posts","jetpack"),icon:{src:c,foreground:(0,s.m)()},category:"embed",keywords:[_x("similar content","block search term","jetpack"),_x("linked","block search term","jetpack"),_x("connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:i.ZP,save:()=>null,example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}}},35978:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(9818),u=n(89105),p=n.n(u),d=n(46314),m=n(57368);const __=i.__,_n=i._n,h=[{value:d.FV,label:__("Show after threshold","jetpack")},{value:d.Am,label:__("Show before threshold","jetpack")}];class f extends o.Component{constructor(){super(...arguments),a()(this,"state",{isThresholdValid:!0}),a()(this,"setCriteria",(e=>this.props.setAttributes({criteria:e}))),a()(this,"setThreshold",(e=>{if(/^\d+$/.test(e)&&+e>0)return this.props.setAttributes({threshold:+e}),void this.setState({isThresholdValid:!0});this.setState({isThresholdValid:!1})}))}getNoticeLabel(){return this.props.attributes.criteria===d.FV?1===this.props.attributes.threshold?__("This block will only appear to people who have visited this page more than once.","jetpack"):(0,i.sprintf)(
+b=n?__("track","jetpack"):void 0;return(0,r.createElement)("li",{className:f,style:Object.keys(g).length?g:null},(0,r.createElement)("a",{className:"jetpack-podcast-player__link jetpack-podcast-player__track-link",href:t.link||t.src,role:"button","aria-current":b,onClick:e=>{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),u(p))},onKeyDown:e=>{" "===event.key&&(e.preventDefault(),u(p))}},(0,r.createElement)(s.Z,{className:"jetpack-podcast-player__track-status-icon",isPlaying:a,isError:i}),(0,r.createElement)("span",{className:"jetpack-podcast-player__track-title"},t.title),t.duration&&(0,r.createElement)("time",{className:"jetpack-podcast-player__track-duration",dateTime:t.duration},t.duration)),n&&i&&(0,r.createElement)(l.Z,{link:t.link,title:t.title,colors:d}))}));t.Z=u},71540:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(18294),a=n.n(r),o=n(69307),i=n(65736);const __=i.__;function s(e){class t extends o.Component{constructor(){super(...arguments),a()(this,"state",{didError:!1,isIE11AudioIssue:!1}),a()(this,"componentDidCatch",((e,t)=>{this.props.onError(e,t)}))}render(){const{didError:t,isIE11AudioIssue:n}=this.state;return t?(0,o.createElement)("section",{className:"jetpack-podcast-player"},(0,o.createElement)("p",{className:"jetpack-podcast-player__error"},n?__('The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s "Internet options" settings. In the "Advanced" tab you will have to check the box next to "Play sounds in webpages" in the "Multimedia" section. Once you have confirmed that the box is checked, please press "Apply" and then reload this page.',"jetpack"):__("An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.","jetpack",0))):(0,o.createElement)(e,this.props)}}return a()(t,"getDerivedStateFromError",(e=>({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)}))),t.defaultProps={onError:()=>{}},t}},63226:function(e,t,n){"use strict";n.d(t,{b:function(){return a},u:function(){return r}});const r="podcast-feed",a="embed-block"},16542:function(e,t,n){"use strict";var r=n(96483),a=n(24381);const o={url:{type:"string",validator:r.isUrl},itemsToShow:{type:"integer",default:5},showCoverArt:{type:"boolean",default:!0},showEpisodeDescription:{type:"boolean",default:!0},primaryColor:{type:"string"},customPrimaryColor:{type:"string",validator:a.Z},hexPrimaryColor:{type:"string",validator:a.Z},secondaryColor:{type:"string"},customSecondaryColor:{type:"string",validator:a.Z},hexSecondaryColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},hexBackgroundColor:{type:"string",validator:a.Z},exampleFeedData:{type:"object"}};t.Z={attributes:o,supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},save:()=>null}},99800:function(e,t,n){"use strict";var r=n(69307),a=n(51128),o=n.n(a),i=n(92819),s=n(13419),l=n(55609),c=n(94333),u=n(65736),p=n(52175),d=n(9818),m=n(4981),h=n(96483),f=n(4554),g=n(13331),b=n(30723),v=n(71600),k=n(66085),y=n(98075),E=n(93610),w=n(43718),_=n(63226),C=n(85007);const __=u.__,S=o()("jetpack:podcast-player:edit"),j=(0,s.Wp)()||(0,s.Ug)()?"http://en.support.wordpress.com/wordpress-editor/blocks/podcast-player-block/":"https://jetpack.com/support/jetpack-blocks/podcast-player-block/";t.Z=(0,c.compose)([(0,d.withDispatch)(((e,t)=>{let{clientId:n,attributes:r}=t;return{replaceWithEmbedBlock(){e("core/block-editor").replaceBlock(n,(0,m.createBlock)("core/embed",{url:r.url}))}}})),(0,p.withColors)("backgroundColor",{primaryColor:"color"},{secondaryColor:"color"}),l.withNotices,c.withInstanceId,w.K])((e=>{var t,n;let{instanceId:a,className:o,attributes:s,setAttributes:c,noticeOperations:{createErrorNotice:u,removeAllNotices:d},noticeUI:m,primaryColor:w,setPrimaryColor:x,secondaryColor:P,setSecondaryColor:T,fallbackTextColor:N,backgroundColor:A,setBackgroundColor:M,fallbackBackgroundColor:I,isSelected:R,replaceWithEmbedBlock:L}=e;const B=(0,f.S)(b.Z,s),{url:Z,selectedEpisodes:D,itemsToShow:F,showCoverArt:O,showEpisodeTitle:z,showEpisodeDescription:U,exampleFeedData:$}=B,V=`jetpack-podcast-player-block-${a}`,[G,H]=(0,r.useState)(!1),[q,W]=(0,r.useState)(10),K=(0,r.useRef)(),[{selectedGuid:X,checkUrl:J,...Y},Q]=(0,r.useReducer)(E.J,{editedUrl:Z||"",isEditing:!Z&&!$,isLoading:!1,feedData:$||{},isInteractive:!1,selectedGuid:null==D||null===(t=D[0])||void 0===t?void 0:t.guid,checkUrl:Z||""}),ee=(0,r.useMemo)((()=>(0,i.debounce)((e=>{var t;Q({type:E.N.START_FETCH}),null===(t=K.current)||void 0===t||t.cancel(),K.current=(0,k.W4)((0,y.q)({...e,fetchEpisodeOptions:!0})),K.current.promise.then((t=>{if(d(),null!=t&&t.isCanceled)S("Block was unmounted during fetch",t);else switch(null==t?void 0:t.type){case _.u:return c({url:e.url,selectedEpisodes:e.guids.map((e=>({guid:e})))}),Q({type:E.N.FEED_RECEIVED,payload:t.data});case _.b:return L()}}),(e=>{null!=e&&e.isCanceled?S("Block was unmounted during fetch",e):(S("feed error",e),d(),u(e.message||__("Your podcast couldn't be embedded. Please double check your URL.","jetpack")),Q({type:E.N.START_EDITING}))}))}),300)),[L,c,u,d]);(0,r.useEffect)((()=>()=>{var e,t;null==K||null===(e=K.current)||void 0===e||null===(t=e.cancel)||void 0===t||t.call(e)}),[]);const te=(0,r.useCallback)((e=>{null===e||G||((0,C.DT)(["link#mediaelement-css","link#wp-mediaelement-css"],e),H(!0))}),[G]);(0,r.useEffect)((()=>{if(""!==J)return ee({url:J,guids:X?[X]:[]}),()=>{var e,t;return null==K||null===(e=K.current)||void 0===e||null===(t=e.cancel)||void 0===t?void 0:t.call(e)}}),[ee,J,X]),(0,r.useEffect)((()=>{(0,y.G)().then((e=>{W(e)}))}),[]),(0,r.useEffect)((()=>{X&&1!==F&&c({itemsToShow:1})}),[X,F,c]),(0,r.useEffect)((()=>{!R&&Y.isInteractive&&Q({type:E.N.PREVENT_INTERACTIONS})}),[R,Y.isInteractive]);const ne=e=>{if(e.preventDefault(),""===Y.editedUrl)return;const t=(0,h.prependHTTP)(Y.editedUrl);if((0,h.isURL)(t)){var n;if(t===J)Q({type:E.N.CLEAR_FEED}),ee({url:J,guids:null!==(n=D[0])&&void 0!==n&&n.guid?[D[0].guid]:[]});else Q({type:E.N.CHECK_URL,payload:t});Q({type:E.N.FINISH_EDITING,payload:t})}else u(__("Your podcast couldn't be embedded. Please double check your URL.","jetpack"))};if(Y.isEditing)return(0,r.createElement)(l.Placeholder,{icon:g.E,label:__("Podcast Player","jetpack"),instructions:__("Enter your podcast RSS feed URL.","jetpack"),className:"jetpack-podcast-player__placeholder"},(0,r.createElement)("form",{onSubmit:ne},m,(0,r.createElement)(l.TextControl,{type:"text",inputMode:"url",placeholder:__("Enter URL here…","jetpack"),value:Y.editedUrl,className:"components-placeholder__input",onChange:e=>Q({type:E.N.EDIT_URL,payload:e})}),(0,r.createElement)(l.Button,{variant:"primary",type:"submit"},__("Embed","jetpack"))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(l.ExternalLink,{href:j},__("Learn more about embeds","jetpack"))));if(null===(n=Y.feedData.tracks)||void 0===n||!n.length)return(0,r.createElement)(l.Placeholder,{icon:g.E,label:__("Podcast Player","jetpack"),instructions:__("Loading podcast feed…","jetpack")},(0,r.createElement)(l.Spinner,null));const re=(e,t)=>n=>{c({[e]:n}),t(n)};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p.BlockControls,null,(0,r.createElement)(l.ToolbarGroup,null,(0,r.createElement)(l.ToolbarButton,{"aria-label":__("Edit Podcast Feed URL","jetpack"),onClick:()=>Q({type:E.N.START_EDITING})},__("Replace","jetpack")))),(0,r.createElement)(p.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:__("Podcast settings","jetpack")},(l.ComboboxControl||0===D.length)&&(0,r.createElement)(l.RangeControl,{label:__("Number of items","jetpack"),value:F,onChange:e=>c({itemsToShow:X?1:e}),min:1,max:q,required:!0,disabled:!!X}),l.ComboboxControl&&(0,r.createElement)(l.ComboboxControl,{className:"jetpack-podcast-player__episode-selector",value:X,onChange:e=>Q({type:E.N.SELECT_EPISODE,payload:e}),options:Y.feedData.options||[],label:__("Episode","jetpack"),onFilterValueChange:i.noop}),(0,r.createElement)(l.ToggleControl,{label:__("Show Cover Art","jetpack"),checked:O,onChange:e=>c({showCoverArt:e})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Episode Title","jetpack"),checked:z,onChange:e=>c({showEpisodeTitle:e})}),(0,r.createElement)(l.ToggleControl,{label:__("Show Episode Description","jetpack"),checked:U,onChange:e=>c({showEpisodeDescription:e})})),(0,r.createElement)(p.PanelColorSettings,{title:__("Color Settings","jetpack"),colorSettings:[{value:w.color,onChange:re("hexPrimaryColor",x),label:__("Primary Color","jetpack")},{value:P.color,onChange:re("hexSecondaryColor",T),label:__("Secondary Color","jetpack")},{value:A.color,onChange:re("hexBackgroundColor",M),label:__("Background Color","jetpack")}]},(0,r.createElement)(p.ContrastChecker,{isLargeText:!1,textColor:P.color,backgroundColor:A.color,fallbackBackgroundColor:I,fallbackTextColor:N}))),(0,r.createElement)("div",{id:V,className:o,ref:te},(0,r.createElement)(v.Z,{playerId:V,attributes:B,tracks:Y.feedData.tracks,cover:Y.feedData.cover,title:Y.feedData.title,link:Y.feedData.link}),!Y.isInteractive&&!Y.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__interactive-overlay",onMouseUp:()=>Q({type:E.N.MAKE_INTERACTIVE})}),Y.isLoading&&(0,r.createElement)("div",{className:"jetpack-podcast-player__loading-overlay"},(0,r.createElement)(l.Spinner,null))))}))},13331:function(e,t,n){"use strict";n.d(t,{E:function(){return r.Z}});var r=n(26152)},29431:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.Z=o},26152:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,null,(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"}),(0,r.createElement)(a.Rect,{fill:"none",height:"24",width:"24"})),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,null),(0,r.createElement)(a.G,null,(0,r.createElement)(a.G,{transform:"matrix(1 0 0 1 144 120)"},(0,r.createElement)(a.Path,{d:"M-122-114h-5v8.18c-0.31-0.11-0.65-0.18-1-0.18c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3v-9h3V-114 L-122-114z M-129-114h-12v2h12V-114L-129-114z M-129-110h-12v2h12V-110L-129-110z M-133-106h-8v2h8V-106L-133-106z M-129-103 c0-0.55,0.45-1,1-1c0.55,0,1,0.45,1,1s-0.45,1-1,1C-128.55-102-129-102.45-129-103z"})))))},69650:function(e,t,n){"use strict";n.r(t),n.d(t,{error:function(){return s},playing:function(){return i}});var r=n(69307),a=n(55609);const o={height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},i=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"})),s=(0,r.createElement)(a.SVG,o,(0,r.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)(a.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},74989:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u}});var r=n(65736),a=n(30723),o=n(16542),i=n(99800),s=n(10591),l=n(13331),c=n(70355);const __=r.__,_x=r._x,u="podcast-player",p={title:__("Podcast Player","jetpack"),description:__("Select and play episodes from a single podcast.","jetpack"),icon:{src:l.E,foreground:(0,c.m)()},category:"embed",keywords:[_x("audio","block search term","jetpack"),_x("embed","block search term","jetpack")],supports:{align:["wide","full"],spacing:{padding:!0,margin:!0},anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},edit:i.Z,save:s.Z,attributes:a.Z,example:{attributes:{customPrimaryColor:(0,c.m)(),hexPrimaryColor:(0,c.m)(),exampleFeedData:{title:__("Jetpack Example Podcast","jetpack"),link:"https://jetpack.com",cover:"https://jetpackme.files.wordpress.com/2020/05/jetpack-example-podcast-cover.png?w=160",tracks:[{id:"3",title:__("3. Our third episode","jetpack"),duration:"14:58"},{id:"2",title:__("2. Interview with a special guest","jetpack"),duration:"19:17"},{id:"1",title:__("1. Welcome to Example Podcast","jetpack"),duration:"11:25"}]}}},deprecated:[o.Z]}},10591:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{url:n}=t;if(n&&""!==n)return(0,r.createElement)("a",{className:"jetpack-podcast-player__direct-link",href:n},n)}},93610:function(e,t,n){"use strict";n.d(t,{J:function(){return a},N:function(){return r}});const r={EDIT_URL:"EDIT_URL",FINISH_EDITING:"FINISH_EDITING",START_EDITING:"START_EDITING",SELECT_EPISODE:"SELECT_EPISODE",FEED_RECEIVED:"FEED_RECEIVED",CLEAR_FEED:"CLEAR_FEED",MAKE_INTERACTIVE:"MAKE_INTERACTIVE",PREVENT_INTERACTIONS:"PREVENT_INTERACTIONS",START_FETCH:"START_FETCH",CHECK_URL:"CHECK_URL"},a=(e,t)=>{switch(t.type){case r.EDIT_URL:return{...e,editedUrl:t.payload};case r.START_EDITING:return{...e,isEditing:!0,isLoading:!1};case r.FINISH_EDITING:return{...e,editedUrl:t.payload,isEditing:!1};case r.FEED_RECEIVED:return{...e,isLoading:!1,feedData:t.payload};case r.CLEAR_FEED:return{...e,feedData:{}};case r.MAKE_INTERACTIVE:return{...e,isInteractive:!0};case r.PREVENT_INTERACTIONS:return{...e,isInteractive:!1};case r.START_FETCH:return{...e,isLoading:!0};case r.SELECT_EPISODE:return{...e,selectedGuid:t.payload};case r.CHECK_URL:return{...e,selectedGuid:null,feedData:{},checkUrl:t.payload};default:return{...e}}}},66085:function(e,t,n){"use strict";n.d(t,{Aq:function(){return l},Gd:function(){return i},W4:function(){return s}});var r=n(65235),a=n.n(r),o=n(92819);function i(e,t){if(e&&t)return`has-${t}-${e}`}function s(e){let t=!1;return{promise:new Promise(((n,r)=>{e.then((e=>t?r({isCanceled:!0}):n(e)),(e=>r(t?{isCanceled:!0}:e)))})),cancel(){t=!0}}}const l=(0,o.memoize)((e=>{let{primaryColor:t,customPrimaryColor:n,secondaryColor:r,customSecondaryColor:o,backgroundColor:s,customBackgroundColor:l}=e;const c=i("color",t),u=i("color",r),p=i("background-color",s);return{primary:{name:t,custom:n,classes:a()({"has-primary":c||n,[c]:c})},secondary:{name:r,custom:o,classes:a()({"has-secondary":u||o,[u]:u})},background:{name:s,custom:l,classes:a()({"has-background":p||l,[p]:p})}}}),(e=>Object.values(e).join()))},51054:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"premium-content-wrapper"},(0,r.createElement)(a.InnerBlocks,{allowedBlocks:["premium-content/subscriber-view","premium-content/logged-out-view"],templateLock:"all",template:[["premium-content/subscriber-view"],["premium-content/logged-out-view"]],__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))}},59948:function(e,t,n){"use strict";var r=n(69307);const a={selectedTab:{id:"",className:"",label:(0,r.createElement)(r.Fragment,null)}},o=(0,r.createContext)(a);t.Z=o},34601:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z"}),(0,r.createElement)(a.Circle,{cx:"12.7439",cy:"8.69796",r:"5.94466",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(a.Path,{d:"M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}))},86614:function(e,t,n){"use strict";n.d(t,{H2:function(){return o},Wp:function(){return a}});var r=n(9818);n(4981),n(50851);const a=e=>0===e.name.indexOf("premium-content/")||e.innerBlocks.some(a),o=e=>{const{getBlocksByClientId:t,getBlockParents:n}=(0,r.select)("core/block-editor");return!!t(n(e.clientId)).find((e=>0===e.name.indexOf("premium-content/")))}},16912:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(4981);const a=e=>{const t=e.find((e=>"premium-content/subscriber-view"===e.name));return 1===t.innerBlocks.length&&"core/group"===t.innerBlocks[0].name?t.innerBlocks[0]:(0,r.createBlock)("core/group",{},t.innerBlocks)}},63613:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(55609);function i(e){const{options:t,selectedOption:n,selectAction:i,contractViewport:s,label:l}=e,c=e=>e.id===n.id;return s?(0,r.createElement)(a.BlockControls,{group:"block"},(0,r.createElement)(o.ToolbarDropdownMenu,{label:l,icon:"arrow-down",text:n.label},(e=>{let{onClose:n}=e;return(0,r.createElement)(o.MenuGroup,null,t.map((e=>{const t=c(e);return(0,r.createElement)(o.MenuItem,{isSelected:t,icon:t?"yes":void 0,onClick:()=>{i(e),n()},key:`jetpack-premium-content-tab-${e.id}`},e.label)})))}))):(0,r.createElement)(a.BlockControls,{group:"other"},t.map((e=>{const t=c(e);return(0,r.createElement)(o.ToolbarButton,{onClick:()=>{i(e)},className:"components-tab-button",isPressed:t,key:`jetpack-premium-content-tab-${e.id}`},(0,r.createElement)("span",null,e.label))})))}},23842:function(e,t,n){"use strict";var r=n(96882);t.Z={isEligible:(e,t)=>{var n;if("premium-content/logged-out-view"===(null==t||null===(n=t[0])||void 0===n?void 0:n.name))return!0},migrate:(e,t)=>[e,[t[1],t[0]]],save:r.Z}},12215:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(82402),a=n.n(r),o=n(69307),i=n(55609),s=n(65736),l=n(94333),c=n(9818),u=n(52175),p=n(51054),d=n(59948),m=n(63613),h=n(60386),f=n(14436),g=n(7652),b=n(16367);const __=s.__,v=[{id:"premium",label:(0,o.createElement)("span",null,__("Subscriber View","jetpack")),className:"wp-premium-content-subscriber-view"},{id:"wall",label:(0,o.createElement)("span",null,__("Guest View","jetpack")),className:"wp-premium-content-logged-out-view"}],k="premium-content";function y(e){const[t,n]=(0,o.useState)(v[1]),{isPreview:r,selectedPlanId:a}=e.attributes,{clientId:s,isSelected:y,className:E,setAttributes:w}=e,{isApiLoading:_,selectedBlock:C}=(0,c.useSelect)((e=>({selectedBlock:e(u.store).getSelectedBlock(),isApiLoading:e(g.h).isApiStateLoading()})));(0,o.useEffect)((()=>{if(y)return;if(!C)return;const e=(0,c.select)(u.store);e.getBlockParents(C.clientId).includes(s)&&("premium-content/logged-out-view"===C.name||e.getBlockParentsByBlockName(C.clientId,"premium-content/logged-out-view").length?n(v[1]):n(v[0]))}),[s,y,C]);const S=(0,l.useViewportMatch)("medium","<");return(0,o.createElement)("div",{className:E},!r&&(0,o.createElement)(o.Fragment,null,_&&(0,o.createElement)(i.Placeholder,{icon:"lock",label:__("Premium Content","jetpack"),instructions:__("Loading data…","jetpack")},(0,o.createElement)(i.Spinner,null)),(0,o.createElement)(h.Z,{blockName:k,clientId:s,productType:f.DM,selectedProductId:a,setSelectedProductId:e=>w({selectedPlanId:e})}),(0,o.createElement)(m.Z,{options:v,selectedOption:t,selectAction:n,contractViewport:S,label:__("Change view","jetpack")})),!_&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(b.U,{blockName:k}),(0,o.createElement)(d.Z.Provider,{value:{selectedTab:t}},(0,o.createElement)(p.Z,null))))}function E(e){return(0,o.createElement)(i.Disabled.Consumer,null,(t=>{var n;return(0,o.createElement)(y,a()({},e,{attributes:{...e.attributes,isPreview:t||(null===(n=e.attributes)||void 0===n?void 0:n.isPreview)}}))}))}},50851:function(e,t,n){"use strict";n.d(t,{X:function(){return h},u:function(){return m}});var r=n(65736),a=n(4981),o=n(12215),i=n(96882),s=n(23842),l=n(34601),c=n(86614),u=n(16912);const __=r.__,_x=r._x,p=["core/nextpage","core/spacer","core/separator","core/more","core/loginout","core/post-navigation-link"],d=e=>{if(e.some(c.Wp))return!1;if((0,c.H2)(e[0]))return!1;return!e.every((e=>p.includes(e.name)))},m="premium-content/container",h={title:__("Premium Content","jetpack"),description:__("Restrict access to your content for paying subscribers.","jetpack"),icon:l.Z,category:"grow",keywords:[_x("buy","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("exclusive","block search term","jetpack"),_x("gated","block search term","jetpack"),"gofundme",_x("memberships","block search term","jetpack"),_x("money","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("paywall","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("recurring","block search term","jetpack"),_x("repeat","block search term","jetpack"),_x("signin","block search term","jetpack"),"stripe",_x("subscribe","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("support","block search term","jetpack"),_x("sponsor","block search term","jetpack"),"square","toast","venmo","stripe","substack"],attributes:{newPlanName:{type:"string",default:__("Monthly Subscription","jetpack")},newPlanCurrency:{type:"string",default:"USD"},newPlanPrice:{type:"number",default:5},newPlanInterval:{type:"string",default:"1 month"},selectedPlanId:{type:"number",default:0},isPreview:{type:"boolean",default:!1},isPremiumContentChild:{type:"bool",default:!0}},edit:o.Z,save:i.Z,providesContext:{"premium-content/planId":"selectedPlanId","premium-content/isPreview":"isPreview",isPremiumContentChild:"isPremiumContentChild"},supports:{html:!1},example:{attributes:{isPreview:!0}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],isMatch:(e,t)=>!e.some((e=>e.isPremiumContentChild))&&(void 0===t||d(t)),__experimentalConvert(e){if(!d(e))return;const t=e.map((e=>(0,a.createBlock)(e.name,e.attributes,e.innerBlocks)));return(0,a.createBlock)("premium-content/container",{},[(0,a.createBlock)("premium-content/subscriber-view",{},t),(0,a.createBlock)("premium-content/logged-out-view")])}}],to:[{type:"block",blocks:["core/group"],transform:(e,t)=>(0,u.e)(t)}]},deprecated:[s.Z]}},96882:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(){return(0,r.createElement)("div",{className:"wp-block-premium-content-container"},(0,r.createElement)(a.InnerBlocks.Content,null))}},10799:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(52175),s=n(55609);const __=o.__,l=e=>{let{id:t,setRating:n,children:a}=e;return(0,r.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(o=t,e=>{let{code:t}=e;return"Enter"===t?n(o):null}),onClick:(e=>()=>n(e))(t)},a);var o};t.Z=e=>function(t){let{className:n,setAttributes:o,attributes:{align:c,color:u,rating:p,maxRating:d}}=t;const m=e=>{e===p?Math.ceil(p)===p&&(e-=.5):.5===p&&1===e&&(e=0),o({rating:e})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(i.AlignmentToolbar,{value:c,onChange:e=>o({align:e})})),(0,r.createElement)("div",{className:n,style:{textAlign:c}},(0,a.range)(1,d+1).map((t=>(0,r.createElement)(l,{key:t,id:t,setRating:m},(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t-.5?null:"is-rating-unfilled",color:u})),(0,r.createElement)("span",null,(0,r.createElement)(e,{className:p>=t?null:"is-rating-unfilled",color:u})))))),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.RangeControl,{label:__("Highest rating","jetpack"),value:d,onChange:e=>o({maxRating:e}),min:2,max:10}),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:u,onChange:e=>o({color:e}),label:__("Color","jetpack")}]}))))}},5056:function(e,t,n){"use strict";n.d(t,{d:function(){return o},r:function(){return i}});var r=n(69307),a=n(55609);const o=()=>(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"})),i=e=>{const t=(e=>e&&e.color?e.color:"currentColor")(e),n=(e=>e&&e.className?e.className:"")(e);return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},(0,r.createElement)(a.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))}},90362:function(e,t,n){"use strict";n.d(t,{X:function(){return c},u:function(){return l}});var r=n(65736),a=n(10799),o=n(78403),i=n(5056),s=n(70355);const __=r.__,_x=r._x,l="rating-star",c={title:__("Star Rating","jetpack"),description:__("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:{src:i.d,foreground:(0,s.m)()},keywords:[_x("star","block search term","jetpack"),_x("rating","block search term","jetpack"),_x("review","block search term","jetpack")],category:"widgets",example:{},styles:[{name:"filled",label:_x("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:_x("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:(0,a.Z)(i.r),save:(0,o.Z)("★")}},78403:function(e,t,n){"use strict";var r=n(69307),a=n(92819);t.Z=e=>function(t){let{className:n,attributes:{align:o,rating:i,color:s}}=t;return(0,r.createElement)("figure",{className:n,style:{textAlign:o}},(0,a.range)(1,i+1).map((t=>(0,r.createElement)("span",{key:t,style:{color:s}},e))))}},7463:function(e,t,n){"use strict";var r=n(92819),a=n(4981);const o=["submitButtonText","submitButtonClasses","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor"];t.Z={attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},submitButtonClasses:{type:"string"},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},migrate:e=>{const t=(0,r.omit)(e,o),n={text:(i=e).submitButtonText,textColor:i.textButtonColor,customTextColor:i.customTextButtonColor,backgroundColor:i.backgroundButtonColor,customBackgroundColor:i.customBackgroundButtonColor};var i;return[t,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"recurring-payments-id",...n})]]},isEligible:(e,t)=>(0,r.isEmpty)(t)||(0,r.some)((0,r.pick)(e,o),Boolean),save:()=>null}},3821:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(13419),o=n(99196),i=n(52175),s=n(55609),l=n(9818),c=n(12238),u=n(92694),p=n(65736),d=n(56367),m=n(60386),h=n(7652),f=n(99307),g=n(16367);const __=p.__,b="recurring-payments";function v(e){let{attributes:t,clientId:n,context:p,setAttributes:v}=e;const{planId:k}=t,{isPremiumContentChild:y}=p,E=(0,f.j3)(),w=(0,l.useSelect)((e=>{var t,n;return null===(t=e(c.store))||void 0===t||null===(n=t.getCurrentPost())||void 0===n?void 0:n.link}),[]),_=(0,l.useSelect)((e=>e(h.h).getUpgradeUrl())),C=(0,o.useCallback)((e=>{v({planId:e,url:(e=>{if(f.yn!==E||!w)return"#";const t=new URL(w);return t.searchParams.set("recurring_payments",e),t.toString()})(e),uniqueId:`recurring-payments-${e}`})}),[E,w,v]);(0,r.useEffect)((()=>{C(k)}),[k,C]);const S=(0,u.applyFilters)("jetpack.RecurringPayments.showControls",!0,n),j=(0,a.OZ)("recurring-payments"),x=!j.available&&"missing_plan"===j.unavailableReason,P=!!_&&!x&&!y;return(0,r.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},S&&(0,r.createElement)(m.Z,{blockName:b,clientId:n,selectedProductId:k,setSelectedProductId:C}),P&&(0,r.createElement)(s.Placeholder,{icon:d.qv,instructions:__("You'll need to upgrade your plan to use the Payments block.","jetpack"),label:d.TN},(0,r.createElement)(s.Button,{href:_,target:"_blank",variant:"secondary"},__("Upgrade your plan","jetpack")),(0,r.createElement)("div",{className:"membership-button__disclaimer"},(0,r.createElement)(s.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack")))),(0,r.createElement)(g.U,{blockName:b}),(0,r.createElement)(i.InnerBlocks,{template:[["jetpack/button",{element:"a",passthroughAttributes:{uniqueId:"uniqueId",url:"url"}}]],templateLock:"all",__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1}))}},56367:function(e,t,n){"use strict";n.d(t,{TN:function(){return m},Xd:function(){return g},qv:function(){return h},u2:function(){return d}});var r=n(69307),a=n(13419),o=n(52175),i=n(4981),s=n(55609),l=n(65736),c=n(70355),u=n(7463),p=n(3821);n(79162);const __=l.__,_x=l._x,d="recurring-payments",m=__("Payment Button","jetpack"),h=(0,r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(s.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,r.createElement)(s.G,null,(0,r.createElement)(s.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"}))),f=(0,a.Wp)()||(0,a.Ug)()?"https://wordpress.com/support/video-tutorials-add-payments-features-to-your-site-with-our-guides/#how-to-use-the-payments-block-video":"https://jetpack.com/support/jetpack-blocks/payments-block/",g={title:m,icon:{src:h,foreground:(0,c.m)()},description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Button allowing you to sell products and subscriptions.","jetpack")),(0,r.createElement)(s.ExternalLink,{href:f},__("Support reference","jetpack"))),category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("contribution","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("donate","block search term","jetpack"),_x("Donations","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),"gofundme",_x("memberships","block search term","jetpack"),_x("money","block search term","jetpack"),_x("paid","block search term","jetpack"),"patreon",_x("pay","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("recurring","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),"stripe",_x("subscribe","block search term","jetpack"),_x("subscriptions","block search term","jetpack"),_x("sponsor","block search term","jetpack"),"square","toast","venmo"],usesContext:["isPremiumContentChild"],attributes:{planId:{type:"integer"},align:{type:"string"},url:{type:"string",default:"#"},uniqueId:{type:"string",default:"id"}},edit:p.Z,save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(o.InnerBlocks.Content,null))},supports:{html:!1,__experimentalExposeControlsToChildren:!0},deprecated:[u.Z],transforms:{from:[{type:"block",blocks:["core/buttons"],isMatch:(e,t)=>void 0!==t&&1===t.innerBlocks.length&&"core/button"===t.innerBlocks[0].name,transform:(e,t)=>{var n,r,a,o;const s=t[0],l={element:"a",text:null!==(n=s.attributes.text)&&void 0!==n?n:"",className:null!==(r=s.attributes.className)&&void 0!==r?r:""},c=s.attributes.width;c&&(l.width=c.toString()+"%");const u=null===(a=s.attributes.style)||void 0===a||null===(o=a.border)||void 0===o?void 0:o.radius;u&&(l.borderRadius=parseInt(u.substring(0,u.length-2)));const p=(0,i.createBlock)("jetpack/button",l,[]);return(0,i.createBlock)("jetpack/"+d,{},[p])}}]}}},53296:function(e,t,n){"use strict";n.d(t,{AP:function(){return s},Hj:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__;function i(e){let{attributes:t,setAttributes:n}=e;const{displayContext:a,displayDate:i,displayThumbnails:s,postsToShow:l}=t;return(0,r.createElement)(o.PanelBody,{title:__("Related Posts Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Display thumbnails","jetpack"),checked:s,onChange:e=>n({displayThumbnails:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display date","jetpack"),checked:i,onChange:e=>n({displayDate:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Display context (category or tag)","jetpack"),checked:a,onChange:e=>n({displayContext:e})}),(0,r.createElement)(o.RangeControl,{label:__("Number of posts","jetpack"),value:l,onChange:e=>n({postsToShow:Math.min(e,6)}),min:1,max:6}))}function s(e){let{attributes:t,setAttributes:n}=e;const{postLayout:a}=t,i=[{icon:"grid-view",title:__("Grid View","jetpack"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===a},{icon:"list-view",title:__("List View","jetpack"),onClick:()=>n({postLayout:"list"}),isActive:"list"===a}];return(0,r.createElement)(o.ToolbarGroup,{controls:i})}},86434:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(92819),l=n(9818),c=n(94333),u=n(53296);const __=a.__;function p(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},e.isInSiteEditor?__("Preview unavailable in site editor.","jetpack"):__("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&(0,r.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":__("Placeholder image","jetpack")},(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},(0,r.createElement)("title",null,__("Grey square","jetpack")),(0,r.createElement)(i.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),(0,r.createElement)(i.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("title",null,__("Icon for image","jetpack")),(0,r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(i.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},__("August 3, 2018","jetpack")),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},__("In “Uncategorized”","jetpack")))}function d(e){return(0,r.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},(0,r.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&(0,r.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},(0,r.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&(0,r.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function m(e){const t="jp-related-posts-i2__row";let n=0;const a=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:n=2;break;default:n=3}return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(0,n).length},e.posts.slice(0,n)),a&&(0,r.createElement)("div",{className:t,"data-post-count":e.posts.slice(n).length},e.posts.slice(n)))}class h extends r.Component{render(){const{attributes:e,className:t,posts:n,setAttributes:a,instanceId:i,isInSiteEditor:s}=this.props,{displayContext:l,displayDate:c,displayThumbnails:h,postLayout:f,postsToShow:g}=e,b="jp-relatedposts-i2",v=[];for(let e=0;e<g;e++)n[e]?v.push((0,r.createElement)(d,{id:`related-posts-${i}-post-${e}`,key:b+"-"+e,post:n[e],displayThumbnails:h,displayDate:c,displayContext:l})):v.push((0,r.createElement)(p,{id:`related-posts-${i}-post-${e}`,key:"related-post-placeholder-"+e,displayThumbnails:h,displayDate:c,displayContext:l,isInSiteEditor:s}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(u.Hj,{attributes:e,setAttributes:a})),(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(u.AP,{attributes:e,setAttributes:a})),(0,r.createElement)("div",{className:t,id:`related-posts-${i}`},(0,r.createElement)("div",{className:b,"data-layout":f},(0,r.createElement)(m,{posts:v}))))}}t.ZP=(0,c.compose)(c.withInstanceId,(0,l.withSelect)((e=>{const{getCurrentPost:t}=e("core/editor"),n=t();return{posts:(0,s.get)(n,"jetpack-related-posts",[]),isInSiteEditor:(0,s.isEmpty)(n)}})))(h)},92882:function(e,t,n){"use strict";n.d(t,{Xd:function(){return u},u2:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(86434),s=n(70355);const __=a.__,_x=a._x,l="related-posts",c=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},(0,r.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),u={title:__("Related Posts","jetpack"),icon:{src:c,foreground:(0,s.m)()},category:"embed",keywords:[_x("similar content","block search term","jetpack"),_x("linked","block search term","jetpack"),_x("connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1,color:{gradients:!0,link:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0},align:["wide","full"]},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:i.ZP,save:()=>null,example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}}},4498:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(52175),c=n(9818),u=n(65235),p=n.n(u),d=n(51100),m=n(30314);const __=i.__,_n=i._n,h=[{value:d.FV,label:__("Show after threshold","jetpack")},{value:d.Am,label:__("Show before threshold","jetpack")}];class f extends o.Component{constructor(){super(...arguments),a()(this,"state",{isThresholdValid:!0}),a()(this,"setCriteria",(e=>this.props.setAttributes({criteria:e}))),a()(this,"setThreshold",(e=>{if(/^\d+$/.test(e)&&+e>0)return this.props.setAttributes({threshold:+e}),void this.setState({isThresholdValid:!0});this.setState({isThresholdValid:!1})}))}getNoticeLabel(){return this.props.attributes.criteria===d.FV?1===this.props.attributes.threshold?__("This block will only appear to people who have visited this page more than once.","jetpack"):(0,i.sprintf)(
/* translators: placeholder is a number. */
_n("This block will only appear to people who have visited this page more than %d time.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):1===this.props.attributes.threshold?__("This block will only appear to people who are visiting this page for the first time.","jetpack"):(0,i.sprintf)(
/* translators: placeholder is a number. */
-_n("This block will only appear to people who are visiting this page for %d time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}render(){return(0,o.createElement)("div",{className:p()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},(0,o.createElement)(s.Placeholder,{icon:m.qv,label:__("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},(0,o.createElement)(s.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":__("Please enter a valid number.","jetpack"),label:__("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),(0,o.createElement)(s.RadioControl,{label:__("Visibility","jetpack"),selected:this.props.attributes.criteria,options:h,onChange:this.setCriteria})),(0,o.createElement)(s.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),(0,o.createElement)(l.InnerBlocks,null))}}t.Z=(0,c.withSelect)(((e,t)=>{const{isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{isSelected:n(t.clientId)||r(t.clientId)}}))(f)},42860:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks.Content,null))}},46314:function(e,t,n){"use strict";n.d(t,{FV:function(){return r},Am:function(){return a},Kv:function(){return o}});const r="after-visits",a="before-visits",o=3},57368:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},qv:function(){return d},Xd:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(41632),s=n(35978),l=n(42860),c=n(46314),u=n(57535);const __=a.__,_x=a._x,p="repeat-visitor",d=(0,i.Z)((0,r.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})),m={attributes:{criteria:{type:"string",default:c.FV},threshold:{type:"number",default:c.Kv}},category:"widgets",description:__("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:{src:d,foreground:(0,u.m)()},keywords:[_x("return","block search term","jetpack"),_x("visitors","block search term","jetpack"),_x("visibility","block search term","jetpack")],supports:{html:!1},title:__("Repeat Visitor","jetpack"),edit:s.Z,save:l.Z,example:{attributes:{criteria:c.FV,threshold:c.Kv},innerBlocks:[{name:"core/paragraph",attributes:{content:__("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]}}},92826:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={revueUsername:{type:"string"},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0}}},26246:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(4981),i=n(65736);const _x=i._x,__=i.__,s=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius","gradient","customGradient"];t.Z={attributes:{revueUsername:{type:"string"},text:{type:"string",default:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},migrate:e=>{const t=(0,a.omit)(e,s),n=(0,a.pick)(e,s);return[t,[(0,o.createBlock)("jetpack/button",{element:"button",text:n.text||"Subscribe",...n})]]},isEligible:(e,t)=>(0,a.isEmpty)(t)||(0,a.some)((0,a.pick)(e,s),Boolean),save:e=>{let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)("a",{href:n},n))}}},55380:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(92819),o=n(52175),i=n(55609),s=n(65736),l=n(8223),c=n(92826),u=n(80500),p=n(93641),d=n(14087),m=n(58014);const __=s.__;function h(e){let{attributes:t,className:n,setAttributes:s}=e;(0,r.useEffect)((()=>{const e=(0,d.S)(c.Z,t);(0,a.isEqual)(e,t)||s(e)}),[t,s]);const{revueUsername:h,emailLabel:f,emailPlaceholder:g,firstNameLabel:b,firstNamePlaceholder:v,firstNameShow:k,lastNameLabel:y,lastNamePlaceholder:E,lastNameShow:w}=t,[_,C]=(0,r.useState)("");(0,r.useEffect)((()=>{!_&&h&&C(h)}),[]);const j=(0,m.Wp)()||(0,m.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/revue-block/":"https://jetpack.com/support/jetpack-blocks/revue-block/";return(0,r.createElement)("div",{className:n},!h&&(0,r.createElement)(i.Placeholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:p.Z}),instructions:__("Enter your Revue username.","jetpack"),label:__("Revue","jetpack")},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),s({revueUsername:_.trim()})}},(0,r.createElement)("input",{className:"components-placeholder__input",onChange:e=>C(e.target.value.trim()),placeholder:__("Enter your Revue username here…","jetpack"),type:"text",value:_}),(0,r.createElement)("div",null,(0,r.createElement)(i.Button,{disabled:!_,isDefault:!0,isLarge:!0,isSecondary:!0,type:"submit"},__("Add Form","jetpack")))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(i.ExternalLink,{href:j},__("Need help finding your Revue username?","jetpack")))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Show first name field.","jetpack"),checked:k,onChange:()=>s({firstNameShow:!k})}),(0,r.createElement)(i.ToggleControl,{label:__("Show last name field.","jetpack"),checked:w,onChange:()=>s({lastNameShow:!w})}),(0,r.createElement)(i.TextControl,{label:__("Revue Username","jetpack"),onChange:e=>{C(e.trim()),s({revueUsername:e.trim()})},value:h}))),(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:f,labelFieldName:"emailLabel",required:!0,setAttributes:s}),onChange:e=>s({emailPlaceholder:e}),placeholder:g,value:g}),k&&(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:b,labelFieldName:"firstNameLabel",setAttributes:s}),onChange:e=>s({firstNamePlaceholder:e}),placeholder:v,value:v}),w&&(0,r.createElement)(i.TextControl,{label:(0,r.createElement)(u.Z,{label:y,labelFieldName:"lastNameLabel",setAttributes:s}),onChange:e=>s({lastNamePlaceholder:e}),placeholder:E,value:E}),(0,r.createElement)(o.InnerBlocks,{template:[[l.Ss.name,l.Ss.attributes]],templateLock:"all"})))}},93641:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,{fillRule:"nonzero"},(0,r.createElement)(a.Path,{d:"M16.8452322,23.2301186 C13.9471277,22.2565366 12.0226052,20.2188069 10.6188359,16.5961763 C10.2565728,15.6225943 9.87166831,14.4905223 9.80374399,14.1056178 C9.66789534,13.4037331 9.6452539,13.3810917 8.96601067,13.6075061 C7.8792215,13.9697691 7.76601429,14.1282592 7.35846835,15.758443 C6.724508,18.2490015 6.45281071,18.7244718 5.56979451,18.8829619 C5.09432424,18.9735276 4.5735711,18.9282447 4.27923236,18.7697547 C3.84904498,18.5433402 3.8037621,18.3848502 3.93961075,17.501834 C4.00753507,16.9584394 4.41508101,15.3056142 4.82262695,13.8339205 C5.8414918,10.2792143 6.11318909,8.98865211 6.29432062,7.1094125 C6.43016927,5.63771883 6.47545215,5.50187018 7.08677106,5.20753145 C7.92450438,4.79998551 8.80752058,5.09432424 9.19242508,5.88677468 C9.44148093,6.38488639 9.39619805,6.90563953 8.96601067,8.98865211 C8.67167193,10.3924215 8.51318185,11.5244935 8.62638905,11.5244935 C9.12450076,11.5244935 11.2754377,10.2565728 12.0452467,9.50940525 C13.8339205,7.83393861 14.2641079,5.77356748 13.2905259,3.82640354 C12.5886412,2.4226342 11.6150593,1.94716393 9.78110255,2.08301258 C6.97356385,2.28678555 4.43772245,4.25659092 3.01131166,7.35846835 C2.21886123,9.05657643 2.19621978,9.07921787 1.49433511,8.94336923 C-1.74339096,8.28676744 0.63396035,3.39621616 5.29809721,1.19999638 C8.39997464,-0.294338734 11.5018521,-0.362263057 14.0829764,0.950940525 C17.0716466,2.51319996 18.0225871,5.93205756 16.2791961,8.96601067 C15.5999529,10.1433656 14.2641079,11.3886449 12.9509043,12.0678881 C12.5433584,12.2716611 12.2037367,12.5207169 12.2037367,12.6339241 C12.2037367,12.9509043 13.2678845,15.9395745 13.6301475,16.6641006 C14.3093908,17.9773042 16.2339133,19.8112609 17.4565511,20.377297 C18.8829619,21.0112573 21.4640861,21.0791816 23.0263456,20.5131456 L23.9772861,20.1508826 L23.9772861,20.7169186 C23.9772861,21.5320105 23.3433258,22.3471023 22.3018195,22.8904969 C21.147106,23.4791744 18.1584357,23.6603059 16.8452322,23.2301186 Z"})))},8223:function(e,t,n){"use strict";n.d(t,{Ss:function(){return u},u2:function(){return p},Xd:function(){return d}});var r=n(65736),a=n(92826),o=n(26246),i=n(55380),s=n(93641),l=n(57535),c=n(12628);const __=r.__,_x=r._x,u={name:"jetpack/button",attributes:{element:"button",text:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")}},p="revue",d={title:__("Revue","jetpack"),description:__("Add a subscription form for your Revue newsletter.","jetpack"),icon:{src:s.Z,foreground:(0,l.m)()},category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("mailing list","block search term","jetpack")],supports:{html:!1},attributes:a.Z,edit:i.Z,save:c.Z,example:{attributes:{revueUsername:"example"},innerBlocks:[u]},deprecated:[o.Z]}},12628:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null),(0,r.createElement)("a",{className:"wp-block-jetpack-revue__fallback",href:n},n))}},37161:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks,{template:[["jetpack/whatsapp-button",{}]],allowedBlocks:["jetpack/whatsapp-button"]}))}},93636:function(e,t,n){"use strict";n.d(t,{u2:function(){return p},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(37161),l=n(1720),c=n(41632),u=n(57535);const __=a.__,_x=a._x,p="send-a-message",d={title:__("Send A Message","jetpack"),description:__("Let your visitors send you messages with the tap of a button.","jetpack"),icon:{src:(0,c.Z)((0,r.createElement)(i.Path,{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"})),foreground:(0,u.m)()},category:"grow",keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1},attributes:{},edit:s.Z,save:e=>(0,r.createElement)("div",{className:e.className},(0,r.createElement)(o.InnerBlocks.Content,null)),variations:l.Z,example:{}}},64566:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});const r=[{code:"US",label:"🇺🇸 +1",value:"1US"},{code:"CA",label:"🇨🇦 +1",value:"1CA"},{code:"BS",label:"🇧🇸 +1242",value:"1242BS"},{code:"BB",label:"🇧🇧 +1246",value:"1246BB"},{code:"AI",label:"🇦🇮 +1264",value:"1264AI"},{code:"AG",label:"🇦🇬 +1268",value:"1268AG"},{code:"VG",label:"🇻🇬 +1284",value:"1284VG"},{code:"VI",label:"🇻🇮 +1340",value:"1340VI"},{code:"BM",label:"🇧🇲 +1441",value:"1441BM"},{code:"GD",label:"🇬🇩 +1473",value:"1473GD"},{code:"TC",label:"🇹🇨 +1649",value:"1649TC"},{code:"MS",label:"🇲🇸 +1664",value:"1664MS"},{code:"MP",label:"🇲🇵 +1670",value:"1670MP"},{code:"GU",label:"🇬🇺 +1671",value:"1671GU"},{code:"AS",label:"🇦🇸 +1684",value:"1684AS"},{code:"LC",label:"🇱🇨 +1758",value:"1758LC"},{code:"DM",label:"🇩🇲 +1767",value:"1767DM"},{code:"VC",label:"🇻🇨 +1784",value:"1784VC"},{code:"DO",label:"🇩🇴 +1849",value:"1849DO"},{code:"TT",label:"🇹🇹 +1868",value:"1868TT"},{code:"KN",label:"🇰🇳 +1869",value:"1869KN"},{code:"JM",label:"🇯🇲 +1876",value:"1876JM"},{code:"PR",label:"🇵🇷 +1939",value:"1939PR"},{code:"EG",label:"🇪🇬 +20",value:"20EG"},{code:"MA",label:"🇲🇦 +212",value:"212MA"},{code:"DZ",label:"🇩🇿 +213",value:"213DZ"},{code:"TN",label:"🇹🇳 +216",value:"216TN"},{code:"LY",label:"🇱🇾 +218",value:"218LY"},{code:"GM",label:"🇬🇲 +220",value:"220GM"},{code:"SN",label:"🇸🇳 +221",value:"221SN"},{code:"MR",label:"🇲🇷 +222",value:"222MR"},{code:"ML",label:"🇲🇱 +223",value:"223ML"},{code:"GN",label:"🇬🇳 +224",value:"224GN"},{code:"CI",label:"🇨🇮 +225",value:"225CI"},{code:"BF",label:"🇧🇫 +226",value:"226BF"},{code:"NE",label:"🇳🇪 +227",value:"227NE"},{code:"TG",label:"🇹🇬 +228",value:"228TG"},{code:"BJ",label:"🇧🇯 +229",value:"229BJ"},{code:"MU",label:"🇲🇺 +230",value:"230MU"},{code:"LR",label:"🇱🇷 +231",value:"231LR"},{code:"SL",label:"🇸🇱 +232",value:"232SL"},{code:"GH",label:"🇬🇭 +233",value:"233GH"},{code:"NG",label:"🇳🇬 +234",value:"234NG"},{code:"TD",label:"🇹🇩 +235",value:"235TD"},{code:"CF",label:"🇨🇫 +236",value:"236CF"},{code:"CM",label:"🇨🇲 +237",value:"237CM"},{code:"CV",label:"🇨🇻 +238",value:"238CV"},{code:"ST",label:"🇸🇹 +239",value:"239ST"},{code:"GQ",label:"🇬🇶 +240",value:"240GQ"},{code:"GA",label:"🇬🇦 +241",value:"241GA"},{code:"CG",label:"🇨🇬 +242",value:"242CG"},{code:"CD",label:"🇨🇩 +243",value:"243CD"},{code:"AO",label:"🇦🇴 +244",value:"244AO"},{code:"GW",label:"🇬🇼 +245",value:"245GW"},{code:"IO",label:"🇮🇴 +246",value:"246IO"},{code:"SC",label:"🇸🇨 +248",value:"248SC"},{code:"SD",label:"🇸🇩 +249",value:"249SD"},{code:"RW",label:"🇷🇼 +250",value:"250RW"},{code:"ET",label:"🇪🇹 +251",value:"251ET"},{code:"SO",label:"🇸🇴 +252",value:"252SO"},{code:"DJ",label:"🇩🇯 +253",value:"253DJ"},{code:"KE",label:"🇰🇪 +254",value:"254KE"},{code:"TZ",label:"🇹🇿 +255",value:"255TZ"},{code:"UG",label:"🇺🇬 +256",value:"256UG"},{code:"BI",label:"🇧🇮 +257",value:"257BI"},{code:"MZ",label:"🇲🇿 +258",value:"258MZ"},{code:"ZM",label:"🇿🇲 +260",value:"260ZM"},{code:"MG",label:"🇲🇬 +261",value:"261MG"},{code:"YT",label:"🇾🇹 +262",value:"262YT"},{code:"RE",label:"🇷🇪 +262",value:"262RE"},{code:"ZW",label:"🇿🇼 +263",value:"263ZW"},{code:"NA",label:"🇳🇦 +264",value:"264NA"},{code:"MW",label:"🇲🇼 +265",value:"265MW"},{code:"LS",label:"🇱🇸 +266",value:"266LS"},{code:"BW",label:"🇧🇼 +267",value:"267BW"},{code:"SZ",label:"🇸🇿 +268",value:"268SZ"},{code:"KM",label:"🇰🇲 +269",value:"269KM"},{code:"ZA",label:"🇿🇦 +27",value:"27ZA"},{code:"SH",label:"🇸🇭 +290",value:"290SH"},{code:"ER",label:"🇪🇷 +291",value:"291ER"},{code:"AW",label:"🇦🇼 +297",value:"297AW"},{code:"FO",label:"🇫🇴 +298",value:"298FO"},{code:"GL",label:"🇬🇱 +299",value:"299GL"},{code:"GR",label:"🇬🇷 +30",value:"30GR"},{code:"NL",label:"🇳🇱 +31",value:"31NL"},{code:"BE",label:"🇧🇪 +32",value:"32BE"},{code:"FR",label:"🇫🇷 +33",value:"33FR"},{code:"ES",label:"🇪🇸 +34",value:"34ES"},{code:"KY",label:"🇰🇾 +345",value:"345KY"},{code:"GI",label:"🇬🇮 +350",value:"350GI"},{code:"PT",label:"🇵🇹 +351",value:"351PT"},{code:"LU",label:"🇱🇺 +352",value:"352LU"},{code:"IE",label:"🇮🇪 +353",value:"353IE"},{code:"IS",label:"🇮🇸 +354",value:"354IS"},{code:"AL",label:"🇦🇱 +355",value:"355AL"},{code:"MT",label:"🇲🇹 +356",value:"356MT"},{code:"CY",label:"🇨🇾 +357",value:"357CY"},{code:"FI",label:"🇫🇮 +358",value:"358FI"},{code:"BG",label:"🇧🇬 +359",value:"359BG"},{code:"HU",label:"🇭🇺 +36",value:"36HU"},{code:"LT",label:"🇱🇹 +370",value:"370LT"},{code:"LV",label:"🇱🇻 +371",value:"371LV"},{code:"EE",label:"🇪🇪 +372",value:"372EE"},{code:"MD",label:"🇲🇩 +373",value:"373MD"},{code:"AM",label:"🇦🇲 +374",value:"374AM"},{code:"BY",label:"🇧🇾 +375",value:"375BY"},{code:"AD",label:"🇦🇩 +376",value:"376AD"},{code:"MC",label:"🇲🇨 +377",value:"377MC"},{code:"SM",label:"🇸🇲 +378",value:"378SM"},{code:"VA",label:"🇻🇦 +379",value:"379VA"},{code:"UA",label:"🇺🇦 +380",value:"380UA"},{code:"RS",label:"🇷🇸 +381",value:"381RS"},{code:"ME",label:"🇲🇪 +382",value:"382ME"},{code:"XK",label:"🇽🇰 +383",value:"383XK"},{code:"HR",label:"🇭🇷 +385",value:"385HR"},{code:"SI",label:"🇸🇮 +386",value:"386SI"},{code:"BA",label:"🇧🇦 +387",value:"387BA"},{code:"MK",label:"🇲🇰 +389",value:"389MK"},{code:"IT",label:"🇮🇹 +39",value:"39IT"},{code:"RO",label:"🇷🇴 +40",value:"40RO"},{code:"CH",label:"🇨🇭 +41",value:"41CH"},{code:"CZ",label:"🇨🇿 +420",value:"420CZ"},{code:"SK",label:"🇸🇰 +421",value:"421SK"},{code:"LI",label:"🇱🇮 +423",value:"423LI"},{code:"AT",label:"🇦🇹 +43",value:"43AT"},{code:"IM",label:"🇮🇲 +44",value:"44IM"},{code:"GG",label:"🇬🇬 +44",value:"44GG"},{code:"JE",label:"🇯🇪 +44",value:"44JE"},{code:"GB",label:"🇬🇧 +44",value:"44GB"},{code:"DK",label:"🇩🇰 +45",value:"45DK"},{code:"SE",label:"🇸🇪 +46",value:"46SE"},{code:"NO",label:"🇳🇴 +47",value:"47NO"},{code:"SJ",label:"🇸🇯 +47",value:"47SJ"},{code:"PL",label:"🇵🇱 +48",value:"48PL"},{code:"DE",label:"🇩🇪 +49",value:"49DE"},{code:"FK",label:"🇫🇰 +500",value:"500FK"},{code:"GS",label:"🇬🇸 +500",value:"500GS"},{code:"BZ",label:"🇧🇿 +501",value:"501BZ"},{code:"GT",label:"🇬🇹 +502",value:"502GT"},{code:"SV",label:"🇸🇻 +503",value:"503SV"},{code:"HN",label:"🇭🇳 +504",value:"504HN"},{code:"NI",label:"🇳🇮 +505",value:"505NI"},{code:"CR",label:"🇨🇷 +506",value:"506CR"},{code:"PA",label:"🇵🇦 +507",value:"507PA"},{code:"PM",label:"🇵🇲 +508",value:"508PM"},{code:"HT",label:"🇭🇹 +509",value:"509HT"},{code:"PE",label:"🇵🇪 +51",value:"51PE"},{code:"MX",label:"🇲🇽 +52",value:"52MX"},{code:"CU",label:"🇨🇺 +53",value:"53CU"},{code:"AR",label:"🇦🇷 +54",value:"54AR"},{code:"BR",label:"🇧🇷 +55",value:"55BR"},{code:"CL",label:"🇨🇱 +56",value:"56CL"},{code:"CO",label:"🇨🇴 +57",value:"57CO"},{code:"VE",label:"🇻🇪 +58",value:"58VE"},{code:"BL",label:"🇧🇱 +590",value:"590BL"},{code:"MF",label:"🇲🇫 +590",value:"590MF"},{code:"GP",label:"🇬🇵 +590",value:"590GP"},{code:"BO",label:"🇧🇴 +591",value:"591BO"},{code:"GY",label:"🇬🇾 +592",value:"592GY"},{code:"EC",label:"🇪🇨 +593",value:"593EC"},{code:"GF",label:"🇬🇫 +594",value:"594GF"},{code:"PY",label:"🇵🇾 +595",value:"595PY"},{code:"MQ",label:"🇲🇶 +596",value:"596MQ"},{code:"SR",label:"🇸🇷 +597",value:"597SR"},{code:"UY",label:"🇺🇾 +598",value:"598UY"},{code:"MY",label:"🇲🇾 +60",value:"60MY"},{code:"CC",label:"🇨🇨 +61",value:"61CC"},{code:"AU",label:"🇦🇺 +61",value:"61AU"},{code:"CX",label:"🇨🇽 +61",value:"61CX"},{code:"ID",label:"🇮🇩 +62",value:"62ID"},{code:"PH",label:"🇵🇭 +63",value:"63PH"},{code:"NZ",label:"🇳🇿 +64",value:"64NZ"},{code:"SG",label:"🇸🇬 +65",value:"65SG"},{code:"TH",label:"🇹🇭 +66",value:"66TH"},{code:"TL",label:"🇹🇱 +670",value:"670TL"},{code:"NF",label:"🇳🇫 +672",value:"672NF"},{code:"BN",label:"🇧🇳 +673",value:"673BN"},{code:"NR",label:"🇳🇷 +674",value:"674NR"},{code:"PG",label:"🇵🇬 +675",value:"675PG"},{code:"TO",label:"🇹🇴 +676",value:"676TO"},{code:"SB",label:"🇸🇧 +677",value:"677SB"},{code:"VU",label:"🇻🇺 +678",value:"678VU"},{code:"FJ",label:"🇫🇯 +679",value:"679FJ"},{code:"PW",label:"🇵🇼 +680",value:"680PW"},{code:"WF",label:"🇼🇫 +681",value:"681WF"},{code:"CK",label:"🇨🇰 +682",value:"682CK"},{code:"NU",label:"🇳🇺 +683",value:"683NU"},{code:"WS",label:"🇼🇸 +685",value:"685WS"},{code:"KI",label:"🇰🇮 +686",value:"686KI"},{code:"NC",label:"🇳🇨 +687",value:"687NC"},{code:"TV",label:"🇹🇻 +688",value:"688TV"},{code:"PF",label:"🇵🇫 +689",value:"689PF"},{code:"TK",label:"🇹🇰 +690",value:"690TK"},{code:"FM",label:"🇫🇲 +691",value:"691FM"},{code:"MH",label:"🇲🇭 +692",value:"692MH"},{code:"RU",label:"🇷🇺 +7",value:"7RU"},{code:"KZ",label:"🇰🇿 +77",value:"77KZ"},{code:"JP",label:"🇯🇵 +81",value:"81JP"},{code:"KR",label:"🇰🇷 +82",value:"82KR"},{code:"VN",label:"🇻🇳 +84",value:"84VN"},{code:"KP",label:"🇰🇵 +850",value:"850KP"},{code:"HK",label:"🇭🇰 +852",value:"852HK"},{code:"MO",label:"🇲🇴 +853",value:"853MO"},{code:"KH",label:"🇰🇭 +855",value:"855KH"},{code:"LA",label:"🇱🇦 +856",value:"856LA"},{code:"CN",label:"🇨🇳 +86",value:"86CN"},{code:"PN",label:"🇵🇳 +872",value:"872PN"},{code:"BD",label:"🇧🇩 +880",value:"880BD"},{code:"TW",label:"🇹🇼 +886",value:"886TW"},{code:"TR",label:"🇹🇷 +90",value:"90TR"},{code:"IN",label:"🇮🇳 +91",value:"91IN"},{code:"PK",label:"🇵🇰 +92",value:"92PK"},{code:"AF",label:"🇦🇫 +93",value:"93AF"},{code:"LK",label:"🇱🇰 +94",value:"94LK"},{code:"MM",label:"🇲🇲 +95",value:"95MM"},{code:"MV",label:"🇲🇻 +960",value:"960MV"},{code:"LB",label:"🇱🇧 +961",value:"961LB"},{code:"JO",label:"🇯🇴 +962",value:"962JO"},{code:"SY",label:"🇸🇾 +963",value:"963SY"},{code:"IQ",label:"🇮🇶 +964",value:"964IQ"},{code:"KW",label:"🇰🇼 +965",value:"965KW"},{code:"SA",label:"🇸🇦 +966",value:"966SA"},{code:"YE",label:"🇾🇪 +967",value:"967YE"},{code:"OM",label:"🇴🇲 +968",value:"968OM"},{code:"PS",label:"🇵🇸 +970",value:"970PS"},{code:"AE",label:"🇦🇪 +971",value:"971AE"},{code:"IL",label:"🇮🇱 +972",value:"972IL"},{code:"BH",label:"🇧🇭 +973",value:"973BH"},{code:"QA",label:"🇶🇦 +974",value:"974QA"},{code:"BT",label:"🇧🇹 +975",value:"975BT"},{code:"MN",label:"🇲🇳 +976",value:"976MN"},{code:"NP",label:"🇳🇵 +977",value:"977NP"},{code:"IR",label:"🇮🇷 +98",value:"98IR"},{code:"TJ",label:"🇹🇯 +992",value:"992TJ"},{code:"TM",label:"🇹🇲 +993",value:"993TM"},{code:"AZ",label:"🇦🇿 +994",value:"994AZ"},{code:"GE",label:"🇬🇪 +995",value:"995GE"},{code:"KG",label:"🇰🇬 +996",value:"996KG"},{code:"UZ",label:"🇺🇿 +998",value:"998UZ"}]},1720:function(e,t,n){"use strict";var r=n(65736),a=n(22823),o=n(32220);const __=r.__,i=[{isDefault:!0,name:"whatsapp-button",title:__("WhatsApp Button","jetpack"),description:__("Let your visitors send you messages on WhatsApp with the tap of a button.","jetpack"),icon:(0,o.p)("send-a-message",a.Z),innerBlocks:[["jetpack/whatsapp-button",{}]]}];t.Z=i},87165:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={countryCode:{type:"string"},phoneNumber:{type:"string"},firstMessage:{type:"string",default:__("Hi, I got your WhatsApp information from your website.","jetpack")},buttonText:{type:"array",source:"children",selector:"a.whatsapp-block__button",default:__("Chat on WhatsApp","jetpack")},backgroundColor:{type:"string",default:"#25D366"},colorClass:{type:"string",default:"dark"},openInNewTab:{type:"boolean",default:!1}}},93374:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(39630),l=n(64566),c=n(41632),u=n(22985);const __=a.__,_x=a._x,p="#25D366",d="#465B64";function m(e){let{attributes:t,setAttributes:n,context:a}=e;const{countryCode:m,phoneNumber:h,firstMessage:f,openInNewTab:g,backgroundColor:b}=t,[v,k]=(0,r.useState)(!0),y=()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{label:__("Phone Number","jetpack"),help:__("Enter the phone number you use for WhatsApp and would like to be contacted on.","jetpack"),className:"jetpack-whatsapp-button__phonenumber"},(0,r.createElement)(o.SelectControl,{label:__("Country code","jetpack"),value:m,onChange:e=>n({countryCode:e}),options:l.n,hideLabelFromVision:!0}),(0,r.createElement)(o.TextControl,{placeholder:__("Your phone number…","jetpack"),onChange:e=>{n({phoneNumber:e}),0===e.length&&k(!0),e.length>2&&k((e=>{const t=RegExp(/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,"g");return!(void 0===e||e.length<1)&&t.test(m.replace(/\D/g,"")+e)})(e))},value:h}),!v&&(0,r.createElement)(u.Z,{isError:!0,className:"jetpack-whatsapp-error"},__("Please enter a valid phone number.","jetpack"))),"inspector"===a&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.TextareaControl,{label:__("Default First Message","jetpack"),help:__("The default first message that will be sent by visitors when using this button.","jetpack"),value:f,onChange:e=>n({firstMessage:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Open in new tab","jetpack"),checked:g,onChange:e=>n({openInNewTab:e}),help:__("When the button is tapped, should a new tab be opened if the visitor does not have WhatsApp installed?","jetpack")})));return"toolbar"===a?(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"jetpack-whatsapp-button-settings-selector",contentClassName:"jetpack-whatsapp-button__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(o.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("WhatsApp Button Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==s.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,c.Z)((0,r.createElement)(o.Path,{d:"M10.82 12.49c.02-.16.04-.32.04-.49 0-.17-.02-.33-.04-.49l1.08-.82c.1-.07.12-.21.06-.32l-1.03-1.73c-.06-.11-.2-.15-.31-.11l-1.28.5c-.27-.2-.56-.36-.87-.49l-.2-1.33c0-.12-.11-.21-.24-.21H5.98c-.13 0-.24.09-.26.21l-.2 1.32c-.31.12-.6.3-.87.49l-1.28-.5c-.12-.05-.25 0-.31.11l-1.03 1.73c-.06.12-.03.25.07.33l1.08.82c-.02.16-.03.33-.03.49 0 .17.02.33.04.49l-1.09.83c-.1.07-.12.21-.06.32l1.03 1.73c.06.11.2.15.31.11l1.28-.5c.27.2.56.36.87.49l.2 1.32c.01.12.12.21.25.21h2.06c.13 0 .24-.09.25-.21l.2-1.32c.31-.12.6-.3.87-.49l1.28.5c.12.05.25 0 .31-.11l1.03-1.73c.06-.11.04-.24-.06-.32l-1.1-.83zM7 13.75c-.99 0-1.8-.78-1.8-1.75s.81-1.75 1.8-1.75 1.8.78 1.8 1.75S8 13.75 7 13.75zM18 1.01L8 1c-1.1 0-2 .9-2 2v3h2V5h10v14H8v-1H6v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99z"}))}))(t,n)},renderContent:y})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("WhatsApp Button Settings","jetpack"),initialOpen:!0},y()),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!1,colorSettings:[{value:b,onChange:e=>(e=>{if(n({backgroundColor:e}),void 0===e||e===p||e===d)return n({colorClass:"dark"});n({colorClass:"light"})})(e),label:__("Background Color","jetpack"),disableCustomColors:!0,colors:[{name:_x("WhatsApp Green","background color name","jetpack"),slug:"whatsapp-green",color:p},{name:_x("WhatsApp Dark","background color name","jetpack"),slug:"whatsapp-dark",color:d},{name:_x("WhatsApp Light","background color name","jetpack"),slug:"whatsapp-light",color:"#F4F4F4"},{name:_x("White","background color name","jetpack"),slug:"whatsapp-white",color:"#FFFFFF"}]}]}))}},11026:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(59770),l=n(87165);t.Z={attributes:l.Z,supports:{html:!1,reusable:!1},save:function(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,colorClass:u,buttonText:p,backgroundColor:d,openInNewTab:m}=t,h=m?"_blank":"_self",f=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",g=o()(n,u?"is-color-"+u:void 0,p.length?void 0:"has-no-text");return(0,r.createElement)("div",{className:g},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+f;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:d},target:h,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:p})))}}},60249:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(89105),o=n.n(a),i=n(9818),s=n(52175),l=n(64566),c=n(93374);function u(e){let{attributes:t,setAttributes:n,className:a,clientId:u}=e;const{countryCode:p,buttonText:d,colorClass:m,backgroundColor:h}=t,{selectBlock:f}=(0,i.useDispatch)("core/block-editor"),g=(0,r.useCallback)((async()=>{n({countryCode:"1"});const e=await fetch("https://public-api.wordpress.com/geo/").then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json();l.n.forEach((e=>{e.code===t.country_short&&n({countryCode:e.value})}))}}),[n]);(0,r.useEffect)((()=>{void 0===p&&(g(),f(u))}),[u,p,g,f]);return(0,r.createElement)("div",{className:o()(a,m?"is-color-"+m:void 0)},(0,r.createElement)(s.BlockControls,null,(0,r.createElement)(c.Z,{context:"toolbar",setAttributes:n,attributes:t})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(c.Z,{context:"inspector",setAttributes:n,attributes:t})),(0,r.createElement)(s.RichText,{placeholder:d.default,value:d,onChange:e=>n({buttonText:e}),withoutInteractiveFormatting:!0,allowedFormats:[],className:"whatsapp-block__button",tagName:"a",preserveWhiteSpace:!1,style:{backgroundColor:h,color:"dark"===m?"#fff":"#465B64"}}))}},22823:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(57535);t.Z=(0,r.createElement)(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,r.createElement)(a.Path,{fill:(0,o.m)(),d:"M24,11.6909333 C24,18.1477333 18.7256,23.3818667 12.2181333,23.3818667 C10.1522667,23.3818667 8.21146667,22.8538667 6.52293333,21.9272 L0,24 L2.12666667,17.7274667 C1.05386667,15.9658667 0.436,13.8997333 0.436,11.6909333 C0.436,5.23413333 5.71093333,0 12.2181333,0 C18.7261333,0 24,5.23413333 24,11.6909333 Z M12.2181333,1.86186667 C6.75573333,1.86186667 2.31253333,6.2712 2.31253333,11.6909333 C2.31253333,13.8416 3.0136,15.8333333 4.19946667,17.4536 L2.96186667,21.104 L6.76853333,19.8941333 C8.33253333,20.9210667 10.2061333,21.52 12.2184,21.52 C17.68,21.52 22.124,17.1112 22.124,11.6914667 C22.124,6.27173333 17.6802667,1.86186667 12.2181333,1.86186667 Z M18.1677333,14.3834667 C18.0949333,14.2642667 17.9026667,14.1922667 17.6141333,14.0490667 C17.3250667,13.9058667 15.9048,13.2122667 15.6408,13.1170667 C15.376,13.0216 15.1829333,12.9736 14.9906667,13.2602667 C14.7984,13.5472 14.2448,14.1922667 14.076,14.3834667 C13.9074667,14.5752 13.7392,14.5992 13.4501333,14.4557333 C13.1616,14.3125333 12.2312,14.0096 11.128,13.0336 C10.2696,12.2741333 9.68986667,11.3365333 9.52133333,11.0493333 C9.35306667,10.7626667 9.50373333,10.6077333 9.648,10.4650667 C9.77813333,10.3365333 9.93706667,10.1304 10.0813333,9.9632 C10.2261333,9.79573333 10.2741333,9.67653333 10.3698667,9.48506667 C10.4666667,9.29386667 10.4184,9.12666667 10.3458667,8.98293333 C10.2738667,8.83973333 9.69573333,7.4296 9.4552,6.85573333 C9.21466667,6.2824 8.9744,6.37786667 8.8056,6.37786667 C8.63733333,6.37786667 8.44453333,6.35386667 8.252,6.35386667 C8.05946667,6.35386667 7.7464,6.4256 7.4816,6.71226667 C7.21706667,6.9992 6.4712,7.69253333 6.4712,9.1024 C6.4712,10.5125333 7.5056,11.8749333 7.6504,12.0658667 C7.79466667,12.2568 9.64773333,15.2445333 12.5837333,16.392 C15.52,17.5389333 15.52,17.1562667 16.0496,17.1082667 C16.5786667,17.0605333 17.7578667,16.4152 17.9994667,15.7464 C18.2394667,15.0765333 18.2394667,14.5029333 18.1677333,14.3834667 Z"}))},59770:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},pf:function(){return d},Xd:function(){return m}});var r=n(65736),a=n(57535),o=n(87165),i=n(60249),s=n(4114),l=n(11026),c=n(22823);const __=r.__,_x=r._x,u="whatsapp-button",p=__("WhatsApp Button","jetpack"),d="https://api.whatsapp.com/send?phone=",m=(__("Chat on WhatsApp","jetpack"),__("Hi, I got your WhatsApp information from your website.","jetpack"),{title:p,description:__("Let your visitors send you a message on WhatsApp with the tap of a button.","jetpack"),icon:{src:c.Z,foreground:(0,a.m)()},category:"grow",parent:["jetpack/send-a-message"],keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1,reusable:!1,align:["left","center","right"]},attributes:o.Z,edit:i.Z,save:s.Z,example:{attributes:{countryCode:"1",phoneNumber:"555-123-4567"}},deprecated:[l.Z]})},4114:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(52175),s=n(59770);function l(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,buttonText:u,backgroundColor:p,colorClass:d,openInNewTab:m}=t,h=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",f=o()(n,d?"is-color-"+d:void 0,u.length?void 0:"has-no-text"),g=m?"_blank":"_self";return(0,r.createElement)("div",{className:f},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+h;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:p,color:"dark"===d?"#fff":"#465B64"},target:g,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:u})))}},96594:function(e,t,n){"use strict";n.d(t,{u:function(){return c},X:function(){return u}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(32673),l=n(20489);const __=a.__,c="seo",u={render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("SEO Description","jetpack")},(0,r.createElement)(l.Z,null))),(0,r.createElement)(i.PluginPrePublishPanel,{initialOpen:!0,id:"seo-title",title:(0,r.createElement)("span",{id:"seo-defaults",key:"seo-title-span"},__("SEO Description","jetpack"))},(0,r.createElement)(l.Z,null)))}},20489:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(9818);const __=i.__,_n=i._n;class u extends o.Component{constructor(){super(...arguments),a()(this,"onMessageChange",(e=>{this.props.updateSeoDescription(e.target.value)}))}render(){const{seoDescription:e}=this.props;return(0,o.createElement)("div",{className:"jetpack-seo-message-box"},(0,o.createElement)("textarea",{value:e,onChange:this.onMessageChange,placeholder:__("Write a description…","jetpack"),rows:4}),(0,o.createElement)("div",{className:"jetpack-seo-character-count"},(0,i.sprintf)(
+_n("This block will only appear to people who are visiting this page for %d time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}render(){return(0,o.createElement)("div",{className:p()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},(0,o.createElement)(s.Placeholder,{icon:m.qv,label:__("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},(0,o.createElement)(s.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":__("Please enter a valid number.","jetpack"),label:__("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),(0,o.createElement)(s.RadioControl,{label:__("Visibility","jetpack"),selected:this.props.attributes.criteria,options:h,onChange:this.setCriteria})),(0,o.createElement)(s.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),(0,o.createElement)("div",{className:"wp-block-jetpack-repeat-visitor__inner-container"},(0,o.createElement)(l.InnerBlocks,null)))}}t.Z=(0,c.withSelect)(((e,t)=>{const{isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{isSelected:n(t.clientId)||r(t.clientId)}}))(f)},48516:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)("div",{className:"wp-block-jetpack-repeat-visitor__inner-container"},(0,r.createElement)(a.InnerBlocks.Content,null)))}},51100:function(e,t,n){"use strict";n.d(t,{Am:function(){return a},FV:function(){return r},Kv:function(){return o}});const r="after-visits",a="before-visits",o=3},30314:function(e,t,n){"use strict";n.d(t,{Xd:function(){return f},qv:function(){return h},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(36598),l=n(4498),c=n(48516),u=n(51100),p=n(70355);const __=a.__,_x=a._x,d={attributes:{criteria:{type:"string",default:u.FV},threshold:{type:"number",default:u.Kv}},supports:{html:!1},save:e=>{let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(i.InnerBlocks.Content,null))}},m="repeat-visitor",h=(0,s.Z)((0,r.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})),f={attributes:{criteria:{type:"string",default:u.FV},threshold:{type:"number",default:u.Kv}},category:"widgets",description:__("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:{src:h,foreground:(0,p.m)()},keywords:[_x("return","block search term","jetpack"),_x("visitors","block search term","jetpack"),_x("visibility","block search term","jetpack")],supports:{align:["wide","full"],html:!1},title:__("Repeat Visitor","jetpack"),edit:l.Z,save:c.Z,example:{attributes:{criteria:u.FV,threshold:u.Kv},innerBlocks:[{name:"core/paragraph",attributes:{content:__("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]},deprecated:[d]}},98052:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={revueUsername:{type:"string"},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0}}},67686:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(4981),i=n(65736);const _x=i._x,__=i.__,s=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius","gradient","customGradient"];t.Z={attributes:{revueUsername:{type:"string"},text:{type:"string",default:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")},emailLabel:{type:"string",default:__("Email address","jetpack")},emailPlaceholder:{type:"string",default:__("Enter your email address","jetpack")},firstNameLabel:{type:"string",default:__("First name","jetpack")},firstNamePlaceholder:{type:"string",default:__("Enter your first name","jetpack")},firstNameShow:{type:"boolean",default:!0},lastNameLabel:{type:"string",default:__("Last name","jetpack")},lastNamePlaceholder:{type:"string",default:__("Enter your last name","jetpack")},lastNameShow:{type:"boolean",default:!0},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},migrate:e=>{const t=(0,a.omit)(e,s),n=(0,a.pick)(e,s);return[t,[(0,o.createBlock)("jetpack/button",{element:"button",text:n.text||"Subscribe",...n})]]},isEligible:(e,t)=>(0,a.isEmpty)(t)||(0,a.some)((0,a.pick)(e,s),Boolean),save:e=>{let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)("a",{href:n},n))}}},40349:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(92819),o=n(13419),i=n(52175),s=n(55609),l=n(65736),c=n(12012),u=n(98052),p=n(15642),d=n(63519),m=n(4554);const __=l.__;function h(e){let{attributes:t,className:n,setAttributes:l}=e;(0,r.useEffect)((()=>{const e=(0,m.S)(u.Z,t);(0,a.isEqual)(e,t)||l(e)}),[t,l]);const{revueUsername:h,emailLabel:f,emailPlaceholder:g,firstNameLabel:b,firstNamePlaceholder:v,firstNameShow:k,lastNameLabel:y,lastNamePlaceholder:E,lastNameShow:w}=t,[_,C]=(0,r.useState)("");(0,r.useEffect)((()=>{!_&&h&&C(h)}),[]);const S=(0,o.Wp)()||(0,o.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/revue-block/":"https://jetpack.com/support/jetpack-blocks/revue-block/";return(0,r.createElement)("div",{className:n},!h&&(0,r.createElement)(s.Placeholder,{icon:d.Z,instructions:__("Enter your Revue username.","jetpack"),label:__("Revue","jetpack")},(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),l({revueUsername:_.trim()})}},(0,r.createElement)("input",{className:"components-placeholder__input",onChange:e=>C(e.target.value.trim()),placeholder:__("Enter your Revue username here…","jetpack"),type:"text",value:_}),(0,r.createElement)("div",null,(0,r.createElement)(s.Button,{disabled:!_,variant:"secondary",type:"submit"},__("Add Form","jetpack")))),(0,r.createElement)("div",{className:"components-placeholder__learn-more"},(0,r.createElement)(s.ExternalLink,{href:S},__("Need help finding your Revue username?","jetpack")))),h&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(s.ToggleControl,{label:__("Show first name field.","jetpack"),checked:k,onChange:()=>l({firstNameShow:!k})}),(0,r.createElement)(s.ToggleControl,{label:__("Show last name field.","jetpack"),checked:w,onChange:()=>l({lastNameShow:!w})}),(0,r.createElement)(s.TextControl,{label:__("Revue Username","jetpack"),onChange:e=>{C(e.trim()),l({revueUsername:e.trim()})},value:h}))),(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:f,labelFieldName:"emailLabel",required:!0,setAttributes:l}),onChange:e=>l({emailPlaceholder:e}),placeholder:g,value:g}),k&&(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:b,labelFieldName:"firstNameLabel",setAttributes:l}),onChange:e=>l({firstNamePlaceholder:e}),placeholder:v,value:v}),w&&(0,r.createElement)(s.TextControl,{label:(0,r.createElement)(p.Z,{label:y,labelFieldName:"lastNameLabel",setAttributes:l}),onChange:e=>l({lastNamePlaceholder:e}),placeholder:E,value:E}),(0,r.createElement)(i.InnerBlocks,{template:[[c.Ss.name,c.Ss.attributes]],templateLock:"all"})))}},63519:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=(0,r.createElement)(a.SVG,{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.G,{fillRule:"nonzero"},(0,r.createElement)(a.Path,{d:"M16.8452322,23.2301186 C13.9471277,22.2565366 12.0226052,20.2188069 10.6188359,16.5961763 C10.2565728,15.6225943 9.87166831,14.4905223 9.80374399,14.1056178 C9.66789534,13.4037331 9.6452539,13.3810917 8.96601067,13.6075061 C7.8792215,13.9697691 7.76601429,14.1282592 7.35846835,15.758443 C6.724508,18.2490015 6.45281071,18.7244718 5.56979451,18.8829619 C5.09432424,18.9735276 4.5735711,18.9282447 4.27923236,18.7697547 C3.84904498,18.5433402 3.8037621,18.3848502 3.93961075,17.501834 C4.00753507,16.9584394 4.41508101,15.3056142 4.82262695,13.8339205 C5.8414918,10.2792143 6.11318909,8.98865211 6.29432062,7.1094125 C6.43016927,5.63771883 6.47545215,5.50187018 7.08677106,5.20753145 C7.92450438,4.79998551 8.80752058,5.09432424 9.19242508,5.88677468 C9.44148093,6.38488639 9.39619805,6.90563953 8.96601067,8.98865211 C8.67167193,10.3924215 8.51318185,11.5244935 8.62638905,11.5244935 C9.12450076,11.5244935 11.2754377,10.2565728 12.0452467,9.50940525 C13.8339205,7.83393861 14.2641079,5.77356748 13.2905259,3.82640354 C12.5886412,2.4226342 11.6150593,1.94716393 9.78110255,2.08301258 C6.97356385,2.28678555 4.43772245,4.25659092 3.01131166,7.35846835 C2.21886123,9.05657643 2.19621978,9.07921787 1.49433511,8.94336923 C-1.74339096,8.28676744 0.63396035,3.39621616 5.29809721,1.19999638 C8.39997464,-0.294338734 11.5018521,-0.362263057 14.0829764,0.950940525 C17.0716466,2.51319996 18.0225871,5.93205756 16.2791961,8.96601067 C15.5999529,10.1433656 14.2641079,11.3886449 12.9509043,12.0678881 C12.5433584,12.2716611 12.2037367,12.5207169 12.2037367,12.6339241 C12.2037367,12.9509043 13.2678845,15.9395745 13.6301475,16.6641006 C14.3093908,17.9773042 16.2339133,19.8112609 17.4565511,20.377297 C18.8829619,21.0112573 21.4640861,21.0791816 23.0263456,20.5131456 L23.9772861,20.1508826 L23.9772861,20.7169186 C23.9772861,21.5320105 23.3433258,22.3471023 22.3018195,22.8904969 C21.147106,23.4791744 18.1584357,23.6603059 16.8452322,23.2301186 Z"})))},12012:function(e,t,n){"use strict";n.d(t,{Ss:function(){return u},Xd:function(){return d},u2:function(){return p}});var r=n(65736),a=n(98052),o=n(67686),i=n(40349),s=n(63519),l=n(70355),c=n(15014);const __=r.__,_x=r._x,u={name:"jetpack/button",attributes:{element:"button",text:_x("Subscribe","verb: e.g. subscribe to a newsletter.","jetpack")}},p="revue",d={title:__("Revue","jetpack"),description:__("Add a subscription form for your Revue newsletter.","jetpack"),icon:{src:s.Z,foreground:(0,l.m)()},category:"grow",keywords:[_x("email","block search term","jetpack"),_x("subscription","block search term","jetpack"),_x("newsletter","block search term","jetpack"),_x("mailing list","block search term","jetpack")],supports:{html:!1},attributes:a.Z,edit:i.Z,save:c.Z,example:{attributes:{revueUsername:"example"},innerBlocks:[u]},deprecated:[o.Z]}},15014:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:{revueUsername:t}}=e;const n=`https://www.getrevue.co/profile/${t}`;return(0,r.createElement)("div",null,(0,r.createElement)(a.InnerBlocks.Content,null),(0,r.createElement)("a",{className:"wp-block-jetpack-revue__fallback",href:n},n))}},26208:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{className:t}=e;return(0,r.createElement)("div",{className:t},(0,r.createElement)(a.InnerBlocks,{template:[["jetpack/whatsapp-button",{}]],allowedBlocks:["jetpack/whatsapp-button"]}))}},17458:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},u2:function(){return p}});var r=n(69307),a=n(65736),o=n(52175),i=n(55609),s=n(26208),l=n(1645),c=n(36598),u=n(70355);const __=a.__,_x=a._x,p="send-a-message",d={title:__("Send A Message","jetpack"),description:__("Let your visitors send you messages with the tap of a button.","jetpack"),icon:{src:(0,c.Z)((0,r.createElement)(i.Path,{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"})),foreground:(0,u.m)()},category:"grow",keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1},attributes:{},edit:s.Z,save:e=>(0,r.createElement)("div",{className:e.className},(0,r.createElement)(o.InnerBlocks.Content,null)),variations:l.Z,example:{}}},46482:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});const r=[{code:"US",label:"🇺🇸 +1",value:"1US"},{code:"CA",label:"🇨🇦 +1",value:"1CA"},{code:"BS",label:"🇧🇸 +1242",value:"1242BS"},{code:"BB",label:"🇧🇧 +1246",value:"1246BB"},{code:"AI",label:"🇦🇮 +1264",value:"1264AI"},{code:"AG",label:"🇦🇬 +1268",value:"1268AG"},{code:"VG",label:"🇻🇬 +1284",value:"1284VG"},{code:"VI",label:"🇻🇮 +1340",value:"1340VI"},{code:"BM",label:"🇧🇲 +1441",value:"1441BM"},{code:"GD",label:"🇬🇩 +1473",value:"1473GD"},{code:"TC",label:"🇹🇨 +1649",value:"1649TC"},{code:"MS",label:"🇲🇸 +1664",value:"1664MS"},{code:"MP",label:"🇲🇵 +1670",value:"1670MP"},{code:"GU",label:"🇬🇺 +1671",value:"1671GU"},{code:"AS",label:"🇦🇸 +1684",value:"1684AS"},{code:"LC",label:"🇱🇨 +1758",value:"1758LC"},{code:"DM",label:"🇩🇲 +1767",value:"1767DM"},{code:"VC",label:"🇻🇨 +1784",value:"1784VC"},{code:"DO",label:"🇩🇴 +1849",value:"1849DO"},{code:"TT",label:"🇹🇹 +1868",value:"1868TT"},{code:"KN",label:"🇰🇳 +1869",value:"1869KN"},{code:"JM",label:"🇯🇲 +1876",value:"1876JM"},{code:"PR",label:"🇵🇷 +1939",value:"1939PR"},{code:"EG",label:"🇪🇬 +20",value:"20EG"},{code:"MA",label:"🇲🇦 +212",value:"212MA"},{code:"DZ",label:"🇩🇿 +213",value:"213DZ"},{code:"TN",label:"🇹🇳 +216",value:"216TN"},{code:"LY",label:"🇱🇾 +218",value:"218LY"},{code:"GM",label:"🇬🇲 +220",value:"220GM"},{code:"SN",label:"🇸🇳 +221",value:"221SN"},{code:"MR",label:"🇲🇷 +222",value:"222MR"},{code:"ML",label:"🇲🇱 +223",value:"223ML"},{code:"GN",label:"🇬🇳 +224",value:"224GN"},{code:"CI",label:"🇨🇮 +225",value:"225CI"},{code:"BF",label:"🇧🇫 +226",value:"226BF"},{code:"NE",label:"🇳🇪 +227",value:"227NE"},{code:"TG",label:"🇹🇬 +228",value:"228TG"},{code:"BJ",label:"🇧🇯 +229",value:"229BJ"},{code:"MU",label:"🇲🇺 +230",value:"230MU"},{code:"LR",label:"🇱🇷 +231",value:"231LR"},{code:"SL",label:"🇸🇱 +232",value:"232SL"},{code:"GH",label:"🇬🇭 +233",value:"233GH"},{code:"NG",label:"🇳🇬 +234",value:"234NG"},{code:"TD",label:"🇹🇩 +235",value:"235TD"},{code:"CF",label:"🇨🇫 +236",value:"236CF"},{code:"CM",label:"🇨🇲 +237",value:"237CM"},{code:"CV",label:"🇨🇻 +238",value:"238CV"},{code:"ST",label:"🇸🇹 +239",value:"239ST"},{code:"GQ",label:"🇬🇶 +240",value:"240GQ"},{code:"GA",label:"🇬🇦 +241",value:"241GA"},{code:"CG",label:"🇨🇬 +242",value:"242CG"},{code:"CD",label:"🇨🇩 +243",value:"243CD"},{code:"AO",label:"🇦🇴 +244",value:"244AO"},{code:"GW",label:"🇬🇼 +245",value:"245GW"},{code:"IO",label:"🇮🇴 +246",value:"246IO"},{code:"SC",label:"🇸🇨 +248",value:"248SC"},{code:"SD",label:"🇸🇩 +249",value:"249SD"},{code:"RW",label:"🇷🇼 +250",value:"250RW"},{code:"ET",label:"🇪🇹 +251",value:"251ET"},{code:"SO",label:"🇸🇴 +252",value:"252SO"},{code:"DJ",label:"🇩🇯 +253",value:"253DJ"},{code:"KE",label:"🇰🇪 +254",value:"254KE"},{code:"TZ",label:"🇹🇿 +255",value:"255TZ"},{code:"UG",label:"🇺🇬 +256",value:"256UG"},{code:"BI",label:"🇧🇮 +257",value:"257BI"},{code:"MZ",label:"🇲🇿 +258",value:"258MZ"},{code:"ZM",label:"🇿🇲 +260",value:"260ZM"},{code:"MG",label:"🇲🇬 +261",value:"261MG"},{code:"YT",label:"🇾🇹 +262",value:"262YT"},{code:"RE",label:"🇷🇪 +262",value:"262RE"},{code:"ZW",label:"🇿🇼 +263",value:"263ZW"},{code:"NA",label:"🇳🇦 +264",value:"264NA"},{code:"MW",label:"🇲🇼 +265",value:"265MW"},{code:"LS",label:"🇱🇸 +266",value:"266LS"},{code:"BW",label:"🇧🇼 +267",value:"267BW"},{code:"SZ",label:"🇸🇿 +268",value:"268SZ"},{code:"KM",label:"🇰🇲 +269",value:"269KM"},{code:"ZA",label:"🇿🇦 +27",value:"27ZA"},{code:"SH",label:"🇸🇭 +290",value:"290SH"},{code:"ER",label:"🇪🇷 +291",value:"291ER"},{code:"AW",label:"🇦🇼 +297",value:"297AW"},{code:"FO",label:"🇫🇴 +298",value:"298FO"},{code:"GL",label:"🇬🇱 +299",value:"299GL"},{code:"GR",label:"🇬🇷 +30",value:"30GR"},{code:"NL",label:"🇳🇱 +31",value:"31NL"},{code:"BE",label:"🇧🇪 +32",value:"32BE"},{code:"FR",label:"🇫🇷 +33",value:"33FR"},{code:"ES",label:"🇪🇸 +34",value:"34ES"},{code:"KY",label:"🇰🇾 +345",value:"345KY"},{code:"GI",label:"🇬🇮 +350",value:"350GI"},{code:"PT",label:"🇵🇹 +351",value:"351PT"},{code:"LU",label:"🇱🇺 +352",value:"352LU"},{code:"IE",label:"🇮🇪 +353",value:"353IE"},{code:"IS",label:"🇮🇸 +354",value:"354IS"},{code:"AL",label:"🇦🇱 +355",value:"355AL"},{code:"MT",label:"🇲🇹 +356",value:"356MT"},{code:"CY",label:"🇨🇾 +357",value:"357CY"},{code:"FI",label:"🇫🇮 +358",value:"358FI"},{code:"BG",label:"🇧🇬 +359",value:"359BG"},{code:"HU",label:"🇭🇺 +36",value:"36HU"},{code:"LT",label:"🇱🇹 +370",value:"370LT"},{code:"LV",label:"🇱🇻 +371",value:"371LV"},{code:"EE",label:"🇪🇪 +372",value:"372EE"},{code:"MD",label:"🇲🇩 +373",value:"373MD"},{code:"AM",label:"🇦🇲 +374",value:"374AM"},{code:"BY",label:"🇧🇾 +375",value:"375BY"},{code:"AD",label:"🇦🇩 +376",value:"376AD"},{code:"MC",label:"🇲🇨 +377",value:"377MC"},{code:"SM",label:"🇸🇲 +378",value:"378SM"},{code:"VA",label:"🇻🇦 +379",value:"379VA"},{code:"UA",label:"🇺🇦 +380",value:"380UA"},{code:"RS",label:"🇷🇸 +381",value:"381RS"},{code:"ME",label:"🇲🇪 +382",value:"382ME"},{code:"XK",label:"🇽🇰 +383",value:"383XK"},{code:"HR",label:"🇭🇷 +385",value:"385HR"},{code:"SI",label:"🇸🇮 +386",value:"386SI"},{code:"BA",label:"🇧🇦 +387",value:"387BA"},{code:"MK",label:"🇲🇰 +389",value:"389MK"},{code:"IT",label:"🇮🇹 +39",value:"39IT"},{code:"RO",label:"🇷🇴 +40",value:"40RO"},{code:"CH",label:"🇨🇭 +41",value:"41CH"},{code:"CZ",label:"🇨🇿 +420",value:"420CZ"},{code:"SK",label:"🇸🇰 +421",value:"421SK"},{code:"LI",label:"🇱🇮 +423",value:"423LI"},{code:"AT",label:"🇦🇹 +43",value:"43AT"},{code:"IM",label:"🇮🇲 +44",value:"44IM"},{code:"GG",label:"🇬🇬 +44",value:"44GG"},{code:"JE",label:"🇯🇪 +44",value:"44JE"},{code:"GB",label:"🇬🇧 +44",value:"44GB"},{code:"DK",label:"🇩🇰 +45",value:"45DK"},{code:"SE",label:"🇸🇪 +46",value:"46SE"},{code:"NO",label:"🇳🇴 +47",value:"47NO"},{code:"SJ",label:"🇸🇯 +47",value:"47SJ"},{code:"PL",label:"🇵🇱 +48",value:"48PL"},{code:"DE",label:"🇩🇪 +49",value:"49DE"},{code:"FK",label:"🇫🇰 +500",value:"500FK"},{code:"GS",label:"🇬🇸 +500",value:"500GS"},{code:"BZ",label:"🇧🇿 +501",value:"501BZ"},{code:"GT",label:"🇬🇹 +502",value:"502GT"},{code:"SV",label:"🇸🇻 +503",value:"503SV"},{code:"HN",label:"🇭🇳 +504",value:"504HN"},{code:"NI",label:"🇳🇮 +505",value:"505NI"},{code:"CR",label:"🇨🇷 +506",value:"506CR"},{code:"PA",label:"🇵🇦 +507",value:"507PA"},{code:"PM",label:"🇵🇲 +508",value:"508PM"},{code:"HT",label:"🇭🇹 +509",value:"509HT"},{code:"PE",label:"🇵🇪 +51",value:"51PE"},{code:"MX",label:"🇲🇽 +52",value:"52MX"},{code:"CU",label:"🇨🇺 +53",value:"53CU"},{code:"AR",label:"🇦🇷 +54",value:"54AR"},{code:"BR",label:"🇧🇷 +55",value:"55BR"},{code:"CL",label:"🇨🇱 +56",value:"56CL"},{code:"CO",label:"🇨🇴 +57",value:"57CO"},{code:"VE",label:"🇻🇪 +58",value:"58VE"},{code:"BL",label:"🇧🇱 +590",value:"590BL"},{code:"MF",label:"🇲🇫 +590",value:"590MF"},{code:"GP",label:"🇬🇵 +590",value:"590GP"},{code:"BO",label:"🇧🇴 +591",value:"591BO"},{code:"GY",label:"🇬🇾 +592",value:"592GY"},{code:"EC",label:"🇪🇨 +593",value:"593EC"},{code:"GF",label:"🇬🇫 +594",value:"594GF"},{code:"PY",label:"🇵🇾 +595",value:"595PY"},{code:"MQ",label:"🇲🇶 +596",value:"596MQ"},{code:"SR",label:"🇸🇷 +597",value:"597SR"},{code:"UY",label:"🇺🇾 +598",value:"598UY"},{code:"MY",label:"🇲🇾 +60",value:"60MY"},{code:"CC",label:"🇨🇨 +61",value:"61CC"},{code:"AU",label:"🇦🇺 +61",value:"61AU"},{code:"CX",label:"🇨🇽 +61",value:"61CX"},{code:"ID",label:"🇮🇩 +62",value:"62ID"},{code:"PH",label:"🇵🇭 +63",value:"63PH"},{code:"NZ",label:"🇳🇿 +64",value:"64NZ"},{code:"SG",label:"🇸🇬 +65",value:"65SG"},{code:"TH",label:"🇹🇭 +66",value:"66TH"},{code:"TL",label:"🇹🇱 +670",value:"670TL"},{code:"NF",label:"🇳🇫 +672",value:"672NF"},{code:"BN",label:"🇧🇳 +673",value:"673BN"},{code:"NR",label:"🇳🇷 +674",value:"674NR"},{code:"PG",label:"🇵🇬 +675",value:"675PG"},{code:"TO",label:"🇹🇴 +676",value:"676TO"},{code:"SB",label:"🇸🇧 +677",value:"677SB"},{code:"VU",label:"🇻🇺 +678",value:"678VU"},{code:"FJ",label:"🇫🇯 +679",value:"679FJ"},{code:"PW",label:"🇵🇼 +680",value:"680PW"},{code:"WF",label:"🇼🇫 +681",value:"681WF"},{code:"CK",label:"🇨🇰 +682",value:"682CK"},{code:"NU",label:"🇳🇺 +683",value:"683NU"},{code:"WS",label:"🇼🇸 +685",value:"685WS"},{code:"KI",label:"🇰🇮 +686",value:"686KI"},{code:"NC",label:"🇳🇨 +687",value:"687NC"},{code:"TV",label:"🇹🇻 +688",value:"688TV"},{code:"PF",label:"🇵🇫 +689",value:"689PF"},{code:"TK",label:"🇹🇰 +690",value:"690TK"},{code:"FM",label:"🇫🇲 +691",value:"691FM"},{code:"MH",label:"🇲🇭 +692",value:"692MH"},{code:"RU",label:"🇷🇺 +7",value:"7RU"},{code:"KZ",label:"🇰🇿 +77",value:"77KZ"},{code:"JP",label:"🇯🇵 +81",value:"81JP"},{code:"KR",label:"🇰🇷 +82",value:"82KR"},{code:"VN",label:"🇻🇳 +84",value:"84VN"},{code:"KP",label:"🇰🇵 +850",value:"850KP"},{code:"HK",label:"🇭🇰 +852",value:"852HK"},{code:"MO",label:"🇲🇴 +853",value:"853MO"},{code:"KH",label:"🇰🇭 +855",value:"855KH"},{code:"LA",label:"🇱🇦 +856",value:"856LA"},{code:"CN",label:"🇨🇳 +86",value:"86CN"},{code:"PN",label:"🇵🇳 +872",value:"872PN"},{code:"BD",label:"🇧🇩 +880",value:"880BD"},{code:"TW",label:"🇹🇼 +886",value:"886TW"},{code:"TR",label:"🇹🇷 +90",value:"90TR"},{code:"IN",label:"🇮🇳 +91",value:"91IN"},{code:"PK",label:"🇵🇰 +92",value:"92PK"},{code:"AF",label:"🇦🇫 +93",value:"93AF"},{code:"LK",label:"🇱🇰 +94",value:"94LK"},{code:"MM",label:"🇲🇲 +95",value:"95MM"},{code:"MV",label:"🇲🇻 +960",value:"960MV"},{code:"LB",label:"🇱🇧 +961",value:"961LB"},{code:"JO",label:"🇯🇴 +962",value:"962JO"},{code:"SY",label:"🇸🇾 +963",value:"963SY"},{code:"IQ",label:"🇮🇶 +964",value:"964IQ"},{code:"KW",label:"🇰🇼 +965",value:"965KW"},{code:"SA",label:"🇸🇦 +966",value:"966SA"},{code:"YE",label:"🇾🇪 +967",value:"967YE"},{code:"OM",label:"🇴🇲 +968",value:"968OM"},{code:"PS",label:"🇵🇸 +970",value:"970PS"},{code:"AE",label:"🇦🇪 +971",value:"971AE"},{code:"IL",label:"🇮🇱 +972",value:"972IL"},{code:"BH",label:"🇧🇭 +973",value:"973BH"},{code:"QA",label:"🇶🇦 +974",value:"974QA"},{code:"BT",label:"🇧🇹 +975",value:"975BT"},{code:"MN",label:"🇲🇳 +976",value:"976MN"},{code:"NP",label:"🇳🇵 +977",value:"977NP"},{code:"IR",label:"🇮🇷 +98",value:"98IR"},{code:"TJ",label:"🇹🇯 +992",value:"992TJ"},{code:"TM",label:"🇹🇲 +993",value:"993TM"},{code:"AZ",label:"🇦🇿 +994",value:"994AZ"},{code:"GE",label:"🇬🇪 +995",value:"995GE"},{code:"KG",label:"🇰🇬 +996",value:"996KG"},{code:"UZ",label:"🇺🇿 +998",value:"998UZ"}]},1645:function(e,t,n){"use strict";var r=n(65736),a=n(57954),o=n(42770);const __=r.__,i=[{isDefault:!0,name:"whatsapp-button",title:__("WhatsApp Button","jetpack"),description:__("Let your visitors send you messages on WhatsApp with the tap of a button.","jetpack"),icon:(0,o.p)("send-a-message",a.Z),innerBlocks:[["jetpack/whatsapp-button",{}]]}];t.Z=i},88377:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={countryCode:{type:"string"},phoneNumber:{type:"string"},firstMessage:{type:"string",default:__("Hi, I got your WhatsApp information from your website.","jetpack")},buttonText:{type:"array",source:"children",selector:"a.whatsapp-block__button",default:__("Chat on WhatsApp","jetpack")},backgroundColor:{type:"string",default:"#25D366"},colorClass:{type:"string",default:"dark"},openInNewTab:{type:"boolean",default:!1}}},35513:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(39630),l=n(46482),c=n(36598),u=n(59809);const __=a.__,_x=a._x,p="#25D366",d="#465B64";function m(e){let{attributes:t,setAttributes:n,context:a}=e;const{countryCode:m,phoneNumber:h,firstMessage:f,openInNewTab:g,backgroundColor:b}=t,[v,k]=(0,r.useState)(!0),y=()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BaseControl,{label:__("Phone Number","jetpack"),help:__("Enter the phone number you use for WhatsApp and would like to be contacted on.","jetpack"),className:"jetpack-whatsapp-button__phonenumber"},(0,r.createElement)(o.SelectControl,{label:__("Country code","jetpack"),value:m,onChange:e=>n({countryCode:e}),options:l.n,hideLabelFromVision:!0}),(0,r.createElement)(o.TextControl,{placeholder:__("Your phone number…","jetpack"),onChange:e=>{n({phoneNumber:e}),0===e.length&&k(!0),e.length>2&&k((e=>{const t=RegExp(/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,"g");return!(void 0===e||e.length<1)&&t.test(m.replace(/\D/g,"")+e)})(e))},value:h}),!v&&(0,r.createElement)(u.Z,{isError:!0,className:"jetpack-whatsapp-error"},__("Please enter a valid phone number.","jetpack"))),"inspector"===a&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.TextareaControl,{label:__("Default First Message","jetpack"),help:__("The default first message that will be sent by visitors when using this button.","jetpack"),value:f,onChange:e=>n({firstMessage:e})}),(0,r.createElement)(o.ToggleControl,{label:__("Open in new tab","jetpack"),checked:g,onChange:e=>n({openInNewTab:e}),help:__("When the button is tapped, should a new tab be opened if the visitor does not have WhatsApp installed?","jetpack")})));return"toolbar"===a?(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"jetpack-whatsapp-button-settings-selector",contentClassName:"jetpack-whatsapp-button__popover",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return((e,t)=>(0,r.createElement)(o.Button,{className:"components-toolbar__control jetpack-contact-form__toggle",label:__("WhatsApp Button Settings","jetpack"),onClick:t,onKeyDown:n=>{e||n.keyCode!==s.DOWN||(n.preventDefault(),n.stopPropagation(),t())},icon:(0,c.Z)((0,r.createElement)(o.Path,{d:"M10.82 12.49c.02-.16.04-.32.04-.49 0-.17-.02-.33-.04-.49l1.08-.82c.1-.07.12-.21.06-.32l-1.03-1.73c-.06-.11-.2-.15-.31-.11l-1.28.5c-.27-.2-.56-.36-.87-.49l-.2-1.33c0-.12-.11-.21-.24-.21H5.98c-.13 0-.24.09-.26.21l-.2 1.32c-.31.12-.6.3-.87.49l-1.28-.5c-.12-.05-.25 0-.31.11l-1.03 1.73c-.06.12-.03.25.07.33l1.08.82c-.02.16-.03.33-.03.49 0 .17.02.33.04.49l-1.09.83c-.1.07-.12.21-.06.32l1.03 1.73c.06.11.2.15.31.11l1.28-.5c.27.2.56.36.87.49l.2 1.32c.01.12.12.21.25.21h2.06c.13 0 .24-.09.25-.21l.2-1.32c.31-.12.6-.3.87-.49l1.28.5c.12.05.25 0 .31-.11l1.03-1.73c.06-.11.04-.24-.06-.32l-1.1-.83zM7 13.75c-.99 0-1.8-.78-1.8-1.75s.81-1.75 1.8-1.75 1.8.78 1.8 1.75S8 13.75 7 13.75zM18 1.01L8 1c-1.1 0-2 .9-2 2v3h2V5h10v14H8v-1H6v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99z"}))}))(t,n)},renderContent:y})):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("WhatsApp Button Settings","jetpack"),initialOpen:!0},y()),(0,r.createElement)(i.PanelColorSettings,{title:__("Color Settings","jetpack"),initialOpen:!1,colorSettings:[{value:b,onChange:e=>(e=>{if(n({backgroundColor:e}),void 0===e||e===p||e===d)return n({colorClass:"dark"});n({colorClass:"light"})})(e),label:__("Background Color","jetpack"),disableCustomColors:!0,colors:[{name:_x("WhatsApp Green","background color name","jetpack"),slug:"whatsapp-green",color:p},{name:_x("WhatsApp Dark","background color name","jetpack"),slug:"whatsapp-dark",color:d},{name:_x("WhatsApp Light","background color name","jetpack"),slug:"whatsapp-light",color:"#F4F4F4"},{name:_x("White","background color name","jetpack"),slug:"whatsapp-white",color:"#FFFFFF"}]}]}))}},33314:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(71290),l=n(88377);t.Z={attributes:l.Z,supports:{html:!1,reusable:!1},save:function(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,colorClass:u,buttonText:p,backgroundColor:d,openInNewTab:m}=t,h=m?"_blank":"_self",f=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",g=o()(n,u?"is-color-"+u:void 0,p.length?void 0:"has-no-text");return(0,r.createElement)("div",{className:g},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+f;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:d},target:h,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:p})))}}},49150:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(65235),o=n.n(a),i=n(9818),s=n(52175),l=n(46482),c=n(35513);function u(e){let{attributes:t,setAttributes:n,className:a,clientId:u}=e;const{countryCode:p,buttonText:d,colorClass:m,backgroundColor:h}=t,{selectBlock:f}=(0,i.useDispatch)("core/block-editor"),g=(0,r.useCallback)((async()=>{n({countryCode:"1"});const e=await fetch("https://public-api.wordpress.com/geo/").then((e=>!!e.ok&&e)).catch((()=>!1));if(e){const t=await e.json();l.n.forEach((e=>{e.code===t.country_short&&n({countryCode:e.value})}))}}),[n]);(0,r.useEffect)((()=>{void 0===p&&(g(),f(u))}),[u,p,g,f]);return(0,r.createElement)("div",{className:o()(a,m?"is-color-"+m:void 0)},(0,r.createElement)(s.BlockControls,null,(0,r.createElement)(c.Z,{context:"toolbar",setAttributes:n,attributes:t})),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(c.Z,{context:"inspector",setAttributes:n,attributes:t})),(0,r.createElement)(s.RichText,{placeholder:d.default,value:d,onChange:e=>n({buttonText:e}),withoutInteractiveFormatting:!0,allowedFormats:[],className:"whatsapp-block__button",tagName:"a",preserveWhiteSpace:!1,style:{backgroundColor:h,color:"dark"===m?"#fff":"#465B64"}}))}},57954:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(70355);t.Z=(0,r.createElement)(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,r.createElement)(a.Path,{fill:(0,o.m)(),d:"M24,11.6909333 C24,18.1477333 18.7256,23.3818667 12.2181333,23.3818667 C10.1522667,23.3818667 8.21146667,22.8538667 6.52293333,21.9272 L0,24 L2.12666667,17.7274667 C1.05386667,15.9658667 0.436,13.8997333 0.436,11.6909333 C0.436,5.23413333 5.71093333,0 12.2181333,0 C18.7261333,0 24,5.23413333 24,11.6909333 Z M12.2181333,1.86186667 C6.75573333,1.86186667 2.31253333,6.2712 2.31253333,11.6909333 C2.31253333,13.8416 3.0136,15.8333333 4.19946667,17.4536 L2.96186667,21.104 L6.76853333,19.8941333 C8.33253333,20.9210667 10.2061333,21.52 12.2184,21.52 C17.68,21.52 22.124,17.1112 22.124,11.6914667 C22.124,6.27173333 17.6802667,1.86186667 12.2181333,1.86186667 Z M18.1677333,14.3834667 C18.0949333,14.2642667 17.9026667,14.1922667 17.6141333,14.0490667 C17.3250667,13.9058667 15.9048,13.2122667 15.6408,13.1170667 C15.376,13.0216 15.1829333,12.9736 14.9906667,13.2602667 C14.7984,13.5472 14.2448,14.1922667 14.076,14.3834667 C13.9074667,14.5752 13.7392,14.5992 13.4501333,14.4557333 C13.1616,14.3125333 12.2312,14.0096 11.128,13.0336 C10.2696,12.2741333 9.68986667,11.3365333 9.52133333,11.0493333 C9.35306667,10.7626667 9.50373333,10.6077333 9.648,10.4650667 C9.77813333,10.3365333 9.93706667,10.1304 10.0813333,9.9632 C10.2261333,9.79573333 10.2741333,9.67653333 10.3698667,9.48506667 C10.4666667,9.29386667 10.4184,9.12666667 10.3458667,8.98293333 C10.2738667,8.83973333 9.69573333,7.4296 9.4552,6.85573333 C9.21466667,6.2824 8.9744,6.37786667 8.8056,6.37786667 C8.63733333,6.37786667 8.44453333,6.35386667 8.252,6.35386667 C8.05946667,6.35386667 7.7464,6.4256 7.4816,6.71226667 C7.21706667,6.9992 6.4712,7.69253333 6.4712,9.1024 C6.4712,10.5125333 7.5056,11.8749333 7.6504,12.0658667 C7.79466667,12.2568 9.64773333,15.2445333 12.5837333,16.392 C15.52,17.5389333 15.52,17.1562667 16.0496,17.1082667 C16.5786667,17.0605333 17.7578667,16.4152 17.9994667,15.7464 C18.2394667,15.0765333 18.2394667,14.5029333 18.1677333,14.3834667 Z"}))},71290:function(e,t,n){"use strict";n.d(t,{Xd:function(){return m},pf:function(){return d},u2:function(){return u}});var r=n(65736),a=n(70355),o=n(88377),i=n(49150),s=n(89014),l=n(33314),c=n(57954);const __=r.__,_x=r._x,u="whatsapp-button",p=__("WhatsApp Button","jetpack"),d="https://api.whatsapp.com/send?phone=",m=(__("Chat on WhatsApp","jetpack"),__("Hi, I got your WhatsApp information from your website.","jetpack"),{title:p,description:__("Let your visitors send you a message on WhatsApp with the tap of a button.","jetpack"),icon:{src:c.Z,foreground:(0,a.m)()},category:"grow",parent:["jetpack/send-a-message"],keywords:[_x("whatsapp","keyword","jetpack"),_x("messenger","keyword","jetpack"),_x("contact","keyword","jetpack"),_x("support","keyword","jetpack")],supports:{html:!1,reusable:!1,align:["left","center","right"]},attributes:o.Z,edit:i.Z,save:s.Z,example:{attributes:{countryCode:"1",phoneNumber:"555-123-4567"}},deprecated:[l.Z]})},89014:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(52175),s=n(71290);function l(e){let{attributes:t,className:n}=e;const{countryCode:a,phoneNumber:l,firstMessage:c,buttonText:u,backgroundColor:p,colorClass:d,openInNewTab:m}=t,h=a&&l?a.replace(/\D+/g,"")+l.replace(/\D+/g,""):"",f=o()(n,d?"is-color-"+d:void 0,u.length?void 0:"has-no-text"),g=m?"_blank":"_self";return(0,r.createElement)("div",{className:f},(0,r.createElement)("a",{className:"whatsapp-block__button",href:(()=>{let e=s.pf+h;return""!==c&&(e+="&text="+encodeURIComponent(c)),e})(),style:{backgroundColor:p,color:"dark"===d?"#fff":"#465B64"},target:g,rel:"noopener noreferrer"},(0,r.createElement)(i.RichText.Content,{value:u})))}},8606:function(e,t,n){"use strict";n.d(t,{X:function(){return u},u:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(34613),l=n(32088);const __=a.__,c="seo",u={render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("SEO Description","jetpack")},(0,r.createElement)(l.Z,null))),(0,r.createElement)(i.PluginPrePublishPanel,{initialOpen:!0,id:"seo-title",title:(0,r.createElement)("span",{id:"seo-defaults",key:"seo-title-span"},__("SEO Description","jetpack"))},(0,r.createElement)(l.Z,null)))}},32088:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(9818);const __=i.__,_n=i._n;class u extends o.Component{constructor(){super(...arguments),a()(this,"onMessageChange",(e=>{this.props.updateSeoDescription(e.target.value)}))}render(){const{seoDescription:e}=this.props;return(0,o.createElement)("div",{className:"jetpack-seo-message-box"},(0,o.createElement)("textarea",{value:e,onChange:this.onMessageChange,placeholder:__("Write a description…","jetpack"),rows:4}),(0,o.createElement)("div",{className:"jetpack-seo-character-count"},(0,i.sprintf)(
/* translators: Placeholder is a number of characters in a sentence. */
-_n("%d character","%d characters",e.length,"jetpack"),e.length)))}}t.Z=(0,s.compose)([(0,c.withSelect)((e=>({seoDescription:(0,l.get)(e("core/editor").getEditedPostAttribute("meta"),["advanced_seo_description"],"")}))),(0,c.withDispatch)((e=>({updateSeoDescription(t){e("core/editor").editPost({meta:{advanced_seo_description:t}})}})))])(u)},71730:function(e,t,n){"use strict";n.d(t,{u:function(){return u},X:function(){return p}});var r=n(69307),a=n(65736),o=n(92819),i=n(55609),s=n(9818),l=n(70609),c=n(32673);const __=a.__,u="shortlinks",p={render:()=>(0,r.createElement)(m,null)};class d extends r.Component{render(){const{shortlink:e}=this.props;return e?(0,r.createElement)(c.Z,null,(0,r.createElement)(i.PanelBody,{title:__("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},(0,r.createElement)(l.Z,{link:e}))):null}}const m=(0,s.withSelect)((e=>{const t=e("core/editor").getCurrentPost();return{shortlink:(0,o.get)(t,"jetpack_shortlink","")}}))(d)},47175:function(e,t,n){"use strict";n.d(t,{LC:function(){return r},a7:function(){return a},Rh:function(){return o}});const r="jp_pay_product",a="USD",o=[a,"EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"]},81255:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{setAttributes:t,postLinkText:n}=e;return(0,r.createElement)(a.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,r.createElement)(a.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>t({postLinkText:e}),value:n})))}},56511:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},save:e=>{let{attributes:t}=e;const{productId:n}=t;return n?(0,r.createElement)(r.RawHTML,null,`[simple-payment id="${n}"]`):null}}},75050:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(89453),c=n(92819),u=n(75139),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(22985),b=n(87079),v=n(8565),k=n(37299),y=n(47175);const __=p.__,_n=p._n;class E extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
+_n("%d character","%d characters",e.length,"jetpack"),e.length)))}}t.Z=(0,s.compose)([(0,c.withSelect)((e=>({seoDescription:(0,l.get)(e("core/editor").getEditedPostAttribute("meta"),["advanced_seo_description"],"")}))),(0,c.withDispatch)((e=>({updateSeoDescription(t){e("core/editor").editPost({meta:{advanced_seo_description:t}})}})))])(u)},44487:function(e,t,n){"use strict";n.d(t,{X:function(){return p},u:function(){return u}});var r=n(69307),a=n(65736),o=n(92819),i=n(55609),s=n(9818),l=n(26788),c=n(34613);const __=a.__,u="shortlinks",p={render:()=>(0,r.createElement)(m,null)};class d extends r.Component{render(){const{shortlink:e}=this.props;return e?(0,r.createElement)(c.Z,null,(0,r.createElement)(i.PanelBody,{title:__("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},(0,r.createElement)(l.Z,{link:e}))):null}}const m=(0,s.withSelect)((e=>{const t=e("core/editor").getCurrentPost();return{shortlink:(0,o.get)(t,"jetpack_shortlink","")}}))(d)},36825:function(e,t,n){"use strict";n.d(t,{LC:function(){return r},Rh:function(){return o},a7:function(){return a}});const r="jp_pay_product",a="USD",o=[a,"EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"]},65093:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(69307),a=n(55609),o=n(65736);const __=o.__;function i(e){let{setAttributes:t,postLinkText:n}=e;return(0,r.createElement)(a.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,r.createElement)(a.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,r.createElement)(a.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>t({postLinkText:e}),value:n})))}},66763:function(e,t,n){"use strict";var r=n(69307);t.Z={attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},save:e=>{let{attributes:t}=e;const{productId:n}=t;return n?(0,r.createElement)(r.RawHTML,null,`[simple-payment id="${n}"]`):null}}},21559:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92384),c=n(92819),u=n(43317),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(59809),b=n(72802),v=n(39416),k=n(96059),y=n(36825);const __=p.__,_n=p._n;class E extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
/* translators: Placeholder is a number of decimals in a number. */
_n("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",n,"jetpack"),n)}),!1):(this.state.fieldPriceError&&this.setState({fieldPriceError:null}),!0):(this.setState({fieldPriceError:__("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),a()(this,"validateEmail",(()=>{const{email:e}=this.props.attributes;return e?l.validate(e)?(this.state.fieldEmailError&&this.setState({fieldEmailError:null}),!0):(this.setState({fieldEmailError:(0,p.sprintf)(
/* translators: placeholder is an email address. */
__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",y.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(h.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,o.createElement)(h.BaseControl,{label:__("Purchase link text","jetpack"),help:__("Enter the text you want to display on a purchase link used as fallback when the PayPal button cannot be used (e.g. emails, AMP, etc.)","jetpack"),className:"jetpack-simple-payments__purchase-link-text"},(0,o.createElement)(h.TextControl,{placeholder:__("Click here to purchase","jetpack"),onChange:e=>this.props.setAttributes({postLinkText:e}),value:this.props.attributes.postLinkText}))))))}componentDidMount(){this.injectPaymentAttributes();const{attributes:e,hasPublishAction:t,postLinkUrl:n,setAttributes:r}=this.props,{productId:a}=e;!a&&t&&this.saveProduct();const o=n&&n!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&r({...o&&{postLinkUrl:n},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&t&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes();const o=r&&r!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&a({...o&&{postLinkUrl:r},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",y.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
/* translators: placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:j}=r,S=C&&(0,c.isEmpty)(u);if(!i&&S)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&j&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.w)(_,d),multiple:w,title:j});const x=S?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:j}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.w)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const w=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u.link}}));t.Z=(0,d.compose)(w,d.withInstanceId)(E)},19372:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(47175),s=n(58014),l=n(57535),c=n(75050),u=n(63290);const __=a.__,_x=a._x,p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),d=(0,s.Wp)()||(0,s.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",m={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:d},__("Support reference","jetpack"))),icon:{src:p,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:i.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};t.Z=m},63290:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(37299);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.w)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},81666:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(89453),c=n(92819),u=n(75139),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(22985),b=n(87079),v=n(8565),k=n(37299),y=n(47175),E=n(81255);const __=p.__,_n=p._n;class w extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return y.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,k.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
+__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:S}=r,j=C&&(0,c.isEmpty)(u);if(!i&&j)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&S&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.w)(_,d),multiple:w,title:S});const x=j?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:S}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.w)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const w=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u.link}}));t.Z=(0,d.compose)(w,d.withInstanceId)(E)},24097:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(36825),l=n(70355),c=n(21559),u=n(83080);const __=a.__,_x=a._x,p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),d=(0,i.Wp)()||(0,i.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",m={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:d},__("Support reference","jetpack"))),icon:{src:p,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:s.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};t.Z=m},83080:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(96059);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.w)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},36239:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92384),c=n(92819),u=n(43317),p=n(65736),d=n(94333),m=n(9818),h=n(55609),f=n(52175),g=n(6551),b=n(59809),v=n(72802),k=n(39416),y=n(96059),E=n(36825),w=n(65093);const __=p.__,_n=p._n;class _ extends o.Component{constructor(){super(...arguments),a()(this,"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),a()(this,"shouldInjectPaymentAttributes",!!this.props.attributes.productId),a()(this,"validateAttributes",(()=>{const e=this.validatePrice(),t=this.validateTitle(),n=this.validateEmail(),r=this.validateCurrency();return e&&t&&n&&r})),a()(this,"validateCurrency",(()=>{const{currency:e}=this.props.attributes;return E.Rh.includes(e)})),a()(this,"validatePrice",(()=>{const{currency:e,price:t}=this.props.attributes,{precision:n}=(0,u.X)(e);return t&&0!==parseFloat(t)?Number.isNaN(parseFloat(t))?(this.setState({fieldPriceError:__("Invalid price","jetpack")}),!1):parseFloat(t)<0?(this.setState({fieldPriceError:__("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):(0,y.N3)(t)>n?0===n?(this.setState({fieldPriceError:__("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(this.setState({fieldPriceError:(0,p.sprintf)(
/* translators: Placeholder is a number of decimals in a number. */
_n("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",n,"jetpack"),n)}),!1):(this.state.fieldPriceError&&this.setState({fieldPriceError:null}),!0):(this.setState({fieldPriceError:__("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),a()(this,"validateEmail",(()=>{const{email:e}=this.props.attributes;return e?l.validate(e)?(this.state.fieldEmailError&&this.setState({fieldEmailError:null}),!0):(this.setState({fieldEmailError:(0,p.sprintf)(
/* translators: Placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",y.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(E.G,{postLinkText:this.props.attributes.postLinkText,setAttributes:this.props.setAttributes}))))}componentDidMount(){this.injectPaymentAttributes();const{attributes:e,hasPublishAction:t,postLinkUrl:n,setAttributes:r,isPostEditor:a}=this.props,{productId:o}=e;(!o&&t||!a)&&this.saveProduct();const i=n&&n!==this.props.attributes.postLinkUrl,s=!this.props.attributes.postLinkText;(i||s)&&r({...i&&{postLinkUrl:n},...s&&{postLinkText:__("Click here to purchase.","jetpack")}})}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&t&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes();const o=r&&r!==this.props.attributes.postLinkUrl,i=!this.props.attributes.postLinkText;(o||i)&&a({...o&&{postLinkUrl:r},...i&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",y.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
+__("%s is not a valid email address.","jetpack"),e)}),!1):(this.setState({fieldEmailError:__("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),a()(this,"validateTitle",(()=>{const{title:e}=this.props.attributes;return e?(this.state.fieldTitleError&&this.setState({fieldTitleError:null}),!0):(this.setState({fieldTitleError:__("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),a()(this,"handleEmailChange",(e=>{this.props.setAttributes({email:e}),this.setState({fieldEmailError:null})})),a()(this,"handleContentChange",(e=>{this.props.setAttributes({content:e})})),a()(this,"handlePriceChange",(e=>{e=parseFloat(e),isNaN(e)?this.props.setAttributes({price:void 0}):this.props.setAttributes({price:e}),this.setState({fieldPriceError:null})})),a()(this,"handleCurrencyChange",(e=>{this.props.setAttributes({currency:e})})),a()(this,"handleMultipleChange",(e=>{this.props.setAttributes({multiple:!!e})})),a()(this,"handleTitleChange",(e=>{this.props.setAttributes({title:e}),this.setState({fieldTitleError:null})})),a()(this,"getCurrencyList",E.Rh.map((e=>{const{symbol:t}=(0,u.X)(e);return{value:e,label:t===e?e:`${e} ${(0,c.trimEnd)(t,".")}`}}))),a()(this,"renderSettings",(()=>(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(w.G,{postLinkText:this.props.attributes.postLinkText,setAttributes:this.props.setAttributes}))))}componentDidMount(){var e,t;this.injectPaymentAttributes();const{attributes:n,hasPublishAction:r,postLinkUrl:a,setAttributes:o,isPostEditor:i}=this.props,{productId:s}=n;(!s&&r||!i)&&this.saveProduct();const l=a&&a!==this.props.attributes.postLinkUrl,c=!this.props.attributes.postLinkText;(l||c)&&o({...l&&{postLinkUrl:a},...c&&{postLinkText:__("Click here to purchase.","jetpack")}}),null===(e=window.wp)||void 0===e||null===(t=e.customize)||void 0===t||t.bind("change",(e=>{let t;const n=e.id.match(/^widget_(.+)(?:\[(\d+)\])$/);if(n){t=`${n[1]}-${parseInt(n[2],10)}`}else t=e.id;t===(0,g.getWidgetIdFromBlock)(this.props.block)&&this.validateAttributes()&&this.saveProduct()}))}componentDidUpdate(e){const{hasPublishAction:t,isSelected:n,postLinkUrl:r,setAttributes:a,isPostEditor:o}=this.props;(0,c.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),e.isSaving||!this.props.isSaving||!t&&o||!this.validateAttributes()?e.isSelected&&!n&&this.validateAttributes():this.saveProduct();const i=r&&r!==this.props.attributes.postLinkUrl,s=!this.props.attributes.postLinkText;(i||s)&&a({...i&&{postLinkUrl:r},...s&&{postLinkText:__("Click here to purchase.","jetpack")}})}injectPaymentAttributes(){const{simplePayment:e,featuredMedia:t}=this.props;if(!this.shouldInjectPaymentAttributes||(0,c.isEmpty)(e))return;const{attributes:n,setAttributes:r}=this.props,{content:a,currency:o,email:i,featuredMediaId:s,featuredMediaUrl:l,featuredMediaTitle:u,multiple:p,price:d,title:m}=n;r({content:(0,c.get)(e,["content","raw"],a),currency:(0,c.get)(e,["meta","spay_currency"],o),email:(0,c.get)(e,["meta","spay_email"],i),featuredMediaId:(0,c.get)(e,["featured_media"],s),featuredMediaUrl:(0,c.get)(t,"url",l),featuredMediaTitle:(0,c.get)(t,"title",u),multiple:Boolean((0,c.get)(e,["meta","spay_multiple"],Boolean(p))),price:(0,c.get)(e,["meta","spay_price"],d||void 0),title:(0,c.get)(e,["title","raw"],m)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}toApi(){const{attributes:e}=this.props,{content:t,currency:n,email:r,featuredMediaId:a,multiple:o,price:i,productId:s,title:l}=e;return{id:s,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:o,spay_price:i},status:s?"publish":"draft",title:l}}saveProduct(){if(this.state.isSavingProduct)return;const{attributes:e,setAttributes:t}=this.props,{email:n}=e,{saveEntityRecord:r}=(0,m.dispatch)("core");this.setState({isSavingProduct:!0},(()=>{r("postType",E.LC,this.toApi()).then((e=>(e&&t({productId:e.id}),e))).catch((e=>{if(!e||!e.data)return;const{data:{key:t}}=e;this.setState({fieldEmailError:"spay_email"===t?(0,p.sprintf)(
/* translators: Placeholder is an email address. */
-__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:j}=r,S=C&&(0,c.isEmpty)(u);if(!i&&S)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(b.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&j&&!e&&!t&&!n)return(0,o.createElement)(b.Z,{"aria-busy":"false",content:p,featuredMediaUrl:y,featuredMediaTitle:E,formattedPrice:(0,k.T4)(_,d),multiple:w,title:j});const x=S?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(v.Z,{featuredMediaId:f,featuredMediaUrl:y,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:j}),(0,o.createElement)(g.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),"aria-label":__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,k.T4)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(g.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(g.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(g.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const _=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{isSavingPost:a,getCurrentPost:o}=e("core/editor"),{productId:i,featuredMediaId:s}=t.attributes,l=i?(0,c.pick)(n("postType",y.LC,i),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,u=o();return{hasPublishAction:!!(0,c.get)(u,["_links","wp:action-publish"]),isSaving:!!a(),simplePayment:l,featuredMedia:s?r(s):null,postLinkUrl:u?.link,isPostEditor:Object.keys(o()).length>0}}));t.Z=(0,d.compose)(_,d.withInstanceId)(w)},8565:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(92819),s=n(55609),l=n(58703);const __=a.__,c=e=>t=>e({featuredMediaId:(0,i.get)(t,"id",0),featuredMediaUrl:(0,i.get)(t,"url",null),featuredMediaTitle:(0,i.get)(t,"title",null)});t.Z=e=>{let{featuredMediaId:t,featuredMediaUrl:n,featuredMediaTitle:a,setAttributes:i}=e;return t?(0,r.createElement)("div",null,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(o.MediaUpload,{onSelect:c(i),allowedTypes:["image"],value:t,render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Image","jetpack"),onClick:t})}}))),(0,r.createElement)(s.ToolbarButton,{icon:"trash",title:__("Remove Image","jetpack"),onClick:()=>i({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}))),(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:n,alt:a})))):(0,r.createElement)(o.MediaPlaceholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:"format-image"}),labels:{title:__("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:c(i)})}},35289:function(e,t,n){"use strict";n.d(t,{u2:function(){return h},Xd:function(){return b}});var r=n(69307),a=n(65736),o=n(55609),i=n(47175),s=n(58014),l=n(57535),c=n(81666),u=n(73e3),p=n(56511),d=n(19372),m=n(60206);const __=a.__,_x=a._x,h="simple-payments",f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),g=(0,s.Wp)()||(0,s.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",b={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:g},__("Support reference","jetpack"))),icon:{src:f,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),_x("simple","block search term","jetpack"),_x("payments","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:i.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,example:{attributes:{price:25,title:__("Jetpack t-shirt","jetpack"),content:__("Take flight in ultimate comfort with this stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:m}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},deprecated:[p.Z,d.Z]}},87079:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(22323),i=n(23879);const __=a.__;t.Z=e=>{let{title:t="",content:n="",formattedPrice:a="",multiple:s=!1,featuredMediaUrl:l=null,featuredMediaTitle:c=null}=e;return(0,r.createElement)("div",{className:"jetpack-simple-payments-wrapper"},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},l&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("figure",{className:"jetpack-simple-payments-image"},(0,r.createElement)("img",{src:l,alt:c}))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},t&&(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,t)),n&&(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),a&&(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,a)),(0,r.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},s&&(0,r.createElement)("div",{className:"jetpack-simple-payments-items"},(0,r.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),(0,r.createElement)("div",{className:"jetpack-simple-payments-button"},(0,r.createElement)("img",{alt:__("Pay with PayPal","jetpack"),src:o,srcSet:`${i} 2x`}))))))}},73e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(37299);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.T4)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},37299:function(e,t,n){"use strict";n.d(t,{N3:function(){return i},w:function(){return l},T4:function(){return c}});var r=n(75139),a=n(92819),o=n(9818);n(47175);const i=e=>{const t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},s=function(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";const a=window?.window?.navigator;return a?.languages?.length?a.languages[0]:null!==(e=null!==(t=null!==(n=a?.userLanguage)&&void 0!==n?n:a?.language)&&void 0!==t?t:a?.browserLanguage)&&void 0!==e?e:r},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{precision:o,symbol:i}=(0,r.X)(t),s=e.toFixed(o);return n?`${s} ${(0,a.trimEnd)(i,".")}`:s},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!window.Intl||"function"!=typeof Intl.NumberFormat)return l(e,t,n);const{siteLocale:r}=(0,o.select)("core/block-editor").getSettings(),a=[r,s(),"en-US"];let i,c={};for(i of(n&&(c={style:"currency",currency:t}),a))try{return Intl.NumberFormat(i,c).format(e)}catch{continue}return l(e,t,n)}},98972:function(e,t,n){"use strict";n.d(t,{G:function(){return c},J:function(){return u}});var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(92819),l=n(58703);const __=i.__,_x=i._x;function c(e){let{attributes:{autoplay:t,delay:n,effect:a,images:i,sizeSlug:l},imageSizeOptions:c,onChangeImageSize:u,setAttributes:p}=e;const d="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=[{label:_x("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:_x("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Autoplay","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Autoplay","jetpack"),help:__("Autoplay between slides","jetpack"),checked:t,onChange:e=>{p({autoplay:e})}}),t&&(0,r.createElement)(o.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack"),value:n,onChange:e=>{p({delay:e})},min:1,max:5}),t&&d&&(0,r.createElement)("span",null,__("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Effects","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Transition effect","jetpack"),value:a,onChange:e=>{p({effect:e})},options:m})),!(0,s.isEmpty)(i)&&!(0,s.isEmpty)(c)&&(0,r.createElement)(o.PanelBody,{title:__("Image Settings","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Image Size","jetpack"),value:l,options:c,onChange:e=>u(e)})))}function u(e){let{allowedMediaTypes:t,attributes:{images:n},onSelectImages:i}=e;return(0,r.createElement)(r.Fragment,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{onSelect:i,allowedTypes:t,multiple:!0,gallery:!0,value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Slideshow","jetpack"),onClick:t})}})))))}},44890:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(a,(e=>function(){e(this)}))},[{default:i}]=await Promise.all([Promise.all([n.e(860),n.e(390)]).then(n.t.bind(n,16402,23)),Promise.all([n.e(860),n.e(390)]).then(n.bind(n,78858))]);return new i(e,(0,r.merge)({},o,t))}},67448:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(11313),u=n(9818),p=n(52175),d=n(12238),m=n(55609),h=n(94120),f=n(98972),g=n(712);const __=i.__,b=["image"],v=(e,t)=>{const n=(0,l.pick)(e,["alt","id","link","caption"]);return n.url=(0,l.get)(e,["sizes",t,"url"])||(0,l.get)(e,["media_details","sizes",t,"source_url"])||e.url,n};class k extends o.Component{constructor(){super(...arguments),a()(this,"onSelectImages",(e=>{const{sizeSlug:t}=this.props.attributes,n=e.map((e=>v(e,t)));this.setAttributes({images:n})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,l.filter)(this.props.attributes.images,((t,n)=>e!==n));this.setState({selectedImage:null}),this.setAttributes({images:t})})),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],n=this.props.attributes.sizeSlug,{lockPostSaving:r,unlockPostSaving:a,noticeOperations:o}=this.props,i="slideshowBlockLock";r(i),(0,d.mediaUpload)({allowedTypes:b,filesList:e,onFileChange:e=>{const r=e.map((e=>v(e,n)));this.setAttributes({images:[...t,...r]}),r.every((e=>(0,c.isBlobURL)(e.url)))||a(i)},onError:o.createErrorNotice})})),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files))),a()(this,"updateImagesSize",(e=>{const{images:t}=this.props.attributes,{resizedImages:n}=this.props,r=t.map((t=>{const r=n.find((e=>{let{id:n}=e;return parseInt(n,10)===parseInt(t.id,10)})),a=(0,l.get)(r,["sizes",e,"source_url"]);return{...t,...a&&{url:a}}}));this.setAttributes({images:r,sizeSlug:e})})),this.state={selectedImage:null}}componentDidMount(){const{ids:e,sizeSlug:t}=this.props.attributes;t||this.setAttributes({sizeSlug:e.length?"full":"large"})}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}getImageSizeOptions(){const{imageSizes:e}=this.props;return(0,l.map)(e,(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}))}render(){const{attributes:e,className:t,isSelected:n,noticeOperations:r,noticeUI:a}=this.props,{align:i,autoplay:s,delay:l,effect:c,images:u}=e,d=this.getImageSizeOptions(),v=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.InspectorControls,null,(0,o.createElement)(f.G,{attributes:e,imageSizeOptions:d,onChangeImageSize:this.updateImagesSize,setAttributes:e=>this.setAttributes(e)})),(0,o.createElement)(p.BlockControls,null,(0,o.createElement)(f.J,{allowedMediaTypes:b,attributes:e,onSelectImages:this.onSelectImages})));return 0===u.length?(0,o.createElement)(o.Fragment,null,v,(0,o.createElement)(p.MediaPlaceholder,{icon:(0,o.createElement)(p.BlockIcon,{icon:h.qv}),className:t,labels:{title:__("Slideshow","jetpack"),instructions:__("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:b,multiple:!0,notices:a,onError:r.createErrorNotice})):(0,o.createElement)(o.Fragment,null,v,a,(0,o.createElement)(g.Z,{align:i,autoplay:s,className:t,delay:l,effect:c,images:u,onError:r.createErrorNotice}),(0,o.createElement)(m.DropZone,{onFilesDrop:this.addFiles}),n&&(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},(0,o.createElement)(m.FormFileUpload,{multiple:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack"))))}}t.ZP=(0,s.compose)((0,u.withSelect)(((e,t)=>({imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce(((t,n)=>{const r=e("core").getMedia(n);return[...t,{id:n,sizes:(0,l.get)(r,["media_details","sizes"])}]}),[])}))),(0,u.withDispatch)((e=>{const{lockPostSaving:t,unlockPostSaving:n}=e("core/editor");return{lockPostSaving:t,unlockPostSaving:n}})),m.withNotices)(k)},94120:function(e,t,n){"use strict";n.d(t,{qv:function(){return h},u2:function(){return g},Xd:function(){return b}});var r=n(69307),a=n(65736),o=n(55609),i=n(67448),s=n(91957),l=n(4830),c=n(57535),u=n(20510),p=n(65784),d=n(6425),m=n(85983);const __=a.__,_x=a._x,h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)(o.Path,{d:"M21 8V19C21 20.1046 20.1057 21 19.0011 21C15.8975 21 9.87435 21 6 21",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Rect,{x:"3.75",y:"3.75",width:"13.5",height:"13.5",rx:"0.875",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Path,{d:"M9 14L12 11L9 8",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})),f={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:p},{alt:"",caption:"",id:23,url:d},{alt:"",caption:"",id:23,url:m}],effect:"slide"},g="slideshow",b={title:__("Slideshow","jetpack"),category:(0,u.Z)("media","layout"),keywords:[_x("image","block search term","jetpack"),_x("gallery","block search term","jetpack"),_x("slider","block search term","jetpack")],description:__("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:{src:h,foreground:(0,c.m)()},edit:i.ZP,save:s.Z,transforms:l.Z,example:{attributes:f}}},91957:function(e,t,n){"use strict";var r=n(69307),a=n(712);t.Z=e=>{let{attributes:{align:t,autoplay:n,delay:o,effect:i,images:s},className:l}=e;return(0,r.createElement)(a.Z,{align:t,autoplay:n,className:l,delay:o,effect:i,images:s})}},712:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(54166),c=n(65736),u=n(11313),p=n(92819),d=n(52175),m=n(55609),h=n(44890),f=n(10099);const __=c.__;class g extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"pendingRequestAnimationFrame",null),a()(this,"resizeObserver",null),a()(this,"initializeResizeObserver",(e=>{this.clearResizeObserver(),this.resizeObserver=new l.Z((()=>{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame((()=>{(0,f.$m)(e),e.update()}))})),this.resizeObserver.observe(e.el)})),a()(this,"clearPendingRequestAnimationFrame",(()=>{this.pendingRequestAnimationFrame&&(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)})),a()(this,"clearResizeObserver",(()=>{this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)})),a()(this,"prefersReducedMotion",(()=>"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)),a()(this,"buildSwiper",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,h.Z)(t.slideshowRef.current,{autoplay:!(!t.props.autoplay||t.prefersReducedMotion())&&{delay:1e3*t.props.delay,disableOnInteraction:!1},effect:t.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:t.btnNextRef.current,prevEl:t.btnPrevRef.current},pagination:{clickable:!0,el:t.paginationRef.current,type:"bullets"}},{init:f.UA,imagesReady:f.$m,paginationRender:f.Wj,transitionEnd:f.HV})})),this.slideshowRef=(0,o.createRef)(),this.btnNextRef=(0,o.createRef)(),this.btnPrevRef=(0,o.createRef)(),this.paginationRef=(0,o.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{e(__("The Swiper library could not be loaded.","jetpack"))}))}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:n,delay:r,effect:a,images:o,onError:i}=this.props;if(t===e.align&&(0,p.isEqual)(o,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||n!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{i(__("The Swiper library could not be loaded.","jetpack"))}))}}render(){if(!this.props?.images?.length)return null;const{autoplay:e,className:t,delay:n,effect:r,images:a}=this.props;return(0,o.createElement)("div",{className:t,"data-autoplay":e||null,"data-delay":e?n:null,"data-effect":r},(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},(0,o.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},a.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return(0,o.createElement)("li",{className:s()("wp-block-jetpack-slideshow_slide","swiper-slide",(0,u.isBlobURL)(a)&&"is-transient"),key:r||a},(0,o.createElement)("figure",null,(0,o.createElement)("img",{alt:t,className:`wp-block-jetpack-slideshow_image wp-image-${r}`,"data-id":r,src:a}),(0,u.isBlobURL)(a)&&(0,o.createElement)(m.Spinner,null),n&&(0,o.createElement)(d.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),(0,o.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}a()(g,"defaultProps",{effect:"slide"}),t.Z=g},10099:function(e,t,n){"use strict";n.d(t,{HV:function(){return l},UA:function(){return i},Wj:function(){return c},$m:function(){return s}});var r=n(81975),a=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function i(e){s(e),l(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function s(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),a="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,a),i=`${Math.floor(o)}px`,s=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=i,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=s}function l(e){(0,a.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(a.alt))}(e)}function c(e){(0,a.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},4830:function(e,t,n){"use strict";var r=n(4981),a=n(92819);function o(e){return(0,a.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const i={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>o(e).length>0,transform:e=>{const t=o(e);return(0,r.createBlock)("jetpack/slideshow",{images:t.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:e=>{let{images:t}=e;const n=o(t);return n.length>0?(0,r.createBlock)("jetpack/slideshow",{images:n.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,r.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n}=e;return(0,r.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:e=>{let{images:t}=e;return t.length>0?t.map((e=>{let{id:t,url:n,alt:a,caption:o}=e;return(0,r.createBlock)("core/image",{id:t,url:n,alt:a,caption:o})})):(0,r.createBlock)("core/image")}}]};t.Z=i},23133:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(65736),s=n(80505),l=n(52489),c=n(79465);const __=i.__,u=[{title:__("Google Search","jetpack"),icon:"google",name:"google",preview:s.Z},{title:__("Facebook","jetpack"),icon:"facebook",name:"facebook",preview:e=>(0,o.createElement)(l.Z,a()({type:"article"},e))},{title:__("Twitter","jetpack"),icon:"twitter",name:"twitter",preview:e=>(0,o.createElement)(c.Z,e)}]},42366:function(e,t,n){"use strict";n.d(t,{u2:function(){return u},Xd:function(){return p},w6:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(32673),l=n(8277),c=n(6538);const __=a.__,u="social-previews",p={render:()=>(0,r.createElement)(d,null)},d=function(e){let{showUpgradeNudge:t}=e;const[n,a]=(0,r.useState)(!1);return(0,r.createElement)(r.Fragment,null,n&&(0,r.createElement)(c.Z,{showUpgradeNudge:t,onClose:()=>a(!1)}),(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t}))),(0,r.createElement)(i.PluginPrePublishPanel,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t})))}},6538:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(28723),l=n(23133),c=n(51591),u=n(479);const __=a.__;t.Z=(0,i.withSelect)(((e,t)=>{if(t.showUpgradeNudge)return{};const{getMedia:n,getUser:r}=e("core"),{getCurrentPost:a,getEditedPostAttribute:o}=e("core/editor"),{getTweetTemplate:i,getTweetStorm:s,getShareMessage:l,isTweetStorm:c}=e("jetpack/publicize"),p=o("featured_media"),d=o("author"),m=d&&r(d),h={post:a(),title:o("title"),description:o("meta")?.advanced_seo_description||o("excerpt")||o("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:o("link"),author:m?.name,image:!!p&&(0,u.i)(n(p))};let f=[];return c()?f=s():f.push({...i(),text:l(),card:{...h,type:h.image?"summary_large_image":"summary"}}),{...h,tweets:f,isTweetStorm:c()}}))((function(e){let{onClose:t,showUpgradeNudge:n,image:a,title:i,description:u,url:p,author:d,isTweetStorm:m,tweets:h}=e;const f=l.z.map((e=>({...e,title:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.av,{serviceName:e.icon}),e.title)})));return(0,r.createElement)(o.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:"jetpack-social-previews__modal"},n?(0,r.createElement)(s.Z,null):(0,r.createElement)(o.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:f,initialTabName:m?"twitter":null,orientation:"vertical"},(e=>(0,r.createElement)("div",null,(0,r.createElement)(e.preview,{title:i,description:u,url:p,author:d,image:a,isTweetStorm:m,tweets:h})))))}))},8277:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(23133),s=n(51591);const __=a.__;t.Z=function(e){let{openModal:t,showUpgradeNudge:n}=e;const a=n?__("Learn more","jetpack"):__("Preview","jetpack",0),l=n?__("Learn more about paid plans","jetpack"):__("Open Social Previews","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__panel"},(0,r.createElement)("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),n&&(0,r.createElement)("p",null,__("Business or eCommerce plan required.","jetpack")),(0,r.createElement)("div",{className:"jetpack-gutenberg-social-icons"},i.z.map((e=>(0,r.createElement)(s.av,{key:e.icon,serviceName:e.icon,className:"jetpack-social-previews__icon"})))),(0,r.createElement)(o.Button,{isSecondary:!0,onClick:t,label:l},a))}},28723:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(55609),o=n(65736),i=n(11973),s=n(37447),l=n(18733),c=n(21409),u=n(42366);const __=o.__;function p(){const e=(0,c.Z)(u.u2)?.details?.required_plan,[t,n,o]=(0,l.Z)(e,(()=>{i.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:e,block:u.u2})})),p=o?__("Redirecting…","jetpack"):__("Upgrade","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__modal-upgrade"},(0,r.createElement)("img",{className:"jetpack-social-previews__upgrade-illustration",src:s,width:"351",height:"264",alt:""}),(0,r.createElement)("div",{className:"jetpack-social-previews__upgrade-description"},(0,r.createElement)("h2",{className:"jetpack-social-previews__upgrade-heading"},__("Upgrade to a Business plan to unlock the power of our SEO tools","jetpack")),(0,r.createElement)("ul",{className:"jetpack-social-previews__upgrade-feature-list"},(0,r.createElement)("li",null,__("Preview your site’s content as it will appear on Facebook, Twitter, and the WordPress.com Reader.","jetpack")),(0,r.createElement)("li",null,__("Control how page titles will appear on Google search results and social networks.","jetpack")),(0,r.createElement)("li",null,__("Customize your front page metadata to change how your site appears to search engines.","jetpack"))),(0,r.createElement)(a.Button,{href:t,isPrimary:!0,label:__("Purchase a Business plan to access social previews","jetpack"),onClick:n,target:"_top",isBusy:o},p)))}},479:function(e,t,n){"use strict";function r(e){return e?e.media_details?.sizes?.large?.source_url||e.source_url:null}n.d(t,{i:function(){return r}})},22547:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(58703);const __=i.__;t.Z=e=>{let{allowedMediaTypes:t,attributes:{mediaFiles:n},onSelectMedia:i}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{title:__("Edit Story","jetpack"),onSelect:i,allowedTypes:t,addToGallery:!0,multiple:"add",value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(s.Z,{label:__("Edit Story","jetpack"),onClick:t})}}))))))}},68329:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(65736),l=n(11313),c=n(9818),u=n(52175),p=n(55609),d=n(20222),m=n(22547),h=n(4045);const __=s.__,f=["image","video"],g=e=>{const t=(0,i.pick)(e,["alt","title","id","link","type","mime","caption","width","height"]);return t.url=(0,i.get)(e,["media_details","original","url"])||(0,i.get)(e,["media_details","videopress","original"])||(0,i.get)(e,["media_details","sizes","large","source_url"])||(0,i.get)(e,["sizes","large","url"])||e.url,t.type=e.media_type||e.type,t.mime=e.mime_type||e.mime,t.title=t.title?.rendered||t.title,t.width=t.width||e.media_details?.width,t.height=t.height||e.media_details?.height,t};t.Z=(0,p.withNotices)((function(e){let{attributes:t,className:n,isSelected:a,noticeOperations:i,noticeUI:s,setAttributes:p}=e;const{mediaFiles:b}=t,{lockPostSaving:v,unlockPostSaving:k}=(0,c.useDispatch)("core/editor"),y="storyBlockLock",E=e=>{const t=e.map((e=>{if(!isNaN(e)){return b.find((t=>t.id===e))||{id:e}}return e})).map(g),n=t.filter((e=>!(0,l.isBlobURL)(e.url)));t.length!==n.length?v(y):k(y),p({mediaFiles:t})},w=(0,r.createElement)(m.Z,{allowedMediaTypes:f,attributes:t,onSelectMedia:E}),_=!!b.length,C=(0,r.createElement)(u.MediaPlaceholder,{addToGallery:_,isAppender:_,className:n,disableMediaButtons:_&&!a,icon:!_&&(0,r.createElement)(u.BlockIcon,{icon:d.qv}),labels:{title:!_&&__("Story","jetpack"),instructions:!_&&__("Drag images and videos, upload new ones, or select files from your library.","jetpack")},onSelect:E,accept:f.map((e=>e+"/*")).join(","),allowedTypes:f,multiple:"add",value:b,notices:_?void 0:s,onError:i.createErrorNotice});return _?(0,r.createElement)(r.Fragment,null,w,s,(0,r.createElement)("div",{className:o()("wp-block-jetpack-story","wp-story",n)},(0,r.createElement)(h.Z,{slides:b,disabled:!a,showSlideCount:a,shadowDOM:{enabled:!1},playInFullscreen:!1,tapToPlayPause:!1,playOnNextSlide:!1})),a&&C):(0,r.createElement)(r.Fragment,null,w,C)}))},96178:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,n(41632).Z)((0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,r.createElement)(a.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,r.createElement)(a.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));t.Z=o},20222:function(e,t,n){"use strict";n.d(t,{qv:function(){return i.Z},u2:function(){return p},Xd:function(){return d}});var r=n(65736),a=n(68329),o=n(1436),i=n(96178),s=n(20510),l=n(57535),c=n(15915);const __=r.__,_x=r._x,u={mediaFiles:[{alt:"",caption:"",mime:"image/jpg",type:"image",id:22,url:c}]},p="story",d={title:__("Story","jetpack"),category:(0,s.Z)("media","layout"),keywords:[_x("story","block search term","jetpack"),_x("image","block search term","jetpack"),_x("video","block search term","jetpack"),_x("gallery","block search term","jetpack")],description:__("Add an interactive story.","jetpack"),attributes:{settings:{type:"object"},mediaFiles:{type:"array",default:[]}},supports:{html:!1},icon:{src:i.Z,foreground:(0,l.m)()},edit:a.Z,save:o.Z,example:{attributes:u}}},18754:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(55609);function o(e){let{currentMedia:t}=e;const n=t&&"image"===t.type?t.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:n?`url("${n}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(a.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},85974:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609);const __=i.__;function l(e){let{isEllipsis:t,disabled:n,index:a,isSelected:l,progress:c,onClick:u}=e;const p=n||t;let d=null;return t||(d=l?(0,i.sprintf)(
+__("%s is not a valid email address.","jetpack"),n):null,fieldPriceError:"spay_price"===t?__("Invalid price.","jetpack"):null})})).finally((()=>{this.setState({isSavingProduct:!1})}))}))}render(){const{fieldEmailError:e,fieldPriceError:t,fieldTitleError:n}=this.state,{attributes:r,instanceId:a,isSelected:i,setAttributes:l,simplePayment:u}=this.props,{content:p,currency:d,email:m,featuredMediaId:f,featuredMediaUrl:g,featuredMediaTitle:E,multiple:w,price:_,productId:C,title:S}=r,j=C&&(0,c.isEmpty)(u);if(!i&&j)return(0,o.createElement)("div",{className:"simple-payments__loading"},(0,o.createElement)(v.Z,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!i&&m&&_&&S&&!e&&!t&&!n)return(0,o.createElement)(v.Z,{"aria-busy":"false",content:p,featuredMediaUrl:g,featuredMediaTitle:E,formattedPrice:(0,y.T4)(_,d),multiple:w,title:S});const x=j?h.Disabled:"div";return(0,o.createElement)(x,{className:"wp-block-jetpack-simple-payments"},this.renderSettings(),(0,o.createElement)(k.Z,{featuredMediaId:f,featuredMediaUrl:g,featuredMediaTitle:E,setAttributes:l}),(0,o.createElement)("div",null,(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-title-error`,className:s()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":n}),label:__("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:__("Item name","jetpack"),required:!0,type:"text",value:S}),(0,o.createElement)(b.Z,{id:`${a}-title-error`,isError:!0},n),(0,o.createElement)(h.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:__("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:__("Describe your item in a few words","jetpack"),"aria-label":__("Describe your item in a few words","jetpack"),value:p}),(0,o.createElement)("div",{className:"simple-payments__price-container"},(0,o.createElement)(h.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:__("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:d}),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-price-error`,className:s()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":t}),label:__("Price","jetpack"),onChange:this.handlePriceChange,placeholder:(0,y.T4)(0,d,!1),required:!0,step:"1",type:"number",value:_||""}),(0,o.createElement)(b.Z,{id:`${a}-price-error`,isError:!0},t)),(0,o.createElement)("div",{className:"simple-payments__field-multiple"},(0,o.createElement)(h.ToggleControl,{checked:Boolean(w),label:__("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),(0,o.createElement)(h.TextControl,{"aria-describedby":`${a}-email-${e?"error":"help"}`,className:s()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":e}),label:__("Email","jetpack"),onChange:this.handleEmailChange,placeholder:__("Email","jetpack"),required:!0,type:"text",value:m}),(0,o.createElement)(b.Z,{id:`${a}-email-error`,isError:!0},e),(0,o.createElement)(b.Z,{id:`${a}-email-help`},__("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",(0,o.createElement)(h.ExternalLink,{href:"https://www.paypal.com/"},__("Create one on PayPal","jetpack")))))}}const C=(0,m.withSelect)(((e,t)=>{const{getEntityRecord:n,getMedia:r}=e("core"),{getCurrentPost:a}=e("core/editor"),{__experimentalGetDirtyEntityRecords:o,isSavingEntityRecord:i}=e("core"),s=o,{productId:l,featuredMediaId:u}=t.attributes,p=l?(0,c.pick)(n("postType",E.LC,l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0,d=a();return{block:e("core/block-editor").getBlock(t.clientId),hasPublishAction:!!(0,c.get)(d,["_links","wp:action-publish"]),isSaving:s().some((e=>i(e.kind,e.name,e.key))),simplePayment:p,featuredMedia:u?r(u):null,postLinkUrl:null==d?void 0:d.link,isPostEditor:Object.keys(a()).length>0}}));t.Z=(0,d.compose)(C,d.withInstanceId)(_)},39416:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(52175),i=n(92819),s=n(55609),l=n(94545);const __=a.__,c=e=>t=>e({featuredMediaId:(0,i.get)(t,"id",0),featuredMediaUrl:(0,i.get)(t,"url",null),featuredMediaTitle:(0,i.get)(t,"title",null)});t.Z=e=>{let{featuredMediaId:t,featuredMediaUrl:n,featuredMediaTitle:a,setAttributes:i}=e;return t?(0,r.createElement)("div",null,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(s.ToolbarItem,null,(()=>(0,r.createElement)(o.MediaUpload,{onSelect:c(i),allowedTypes:["image"],value:t,render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Image","jetpack"),onClick:t})}}))),(0,r.createElement)(s.ToolbarButton,{icon:"trash",title:__("Remove Image","jetpack"),onClick:()=>i({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}))),(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:n,alt:a})))):(0,r.createElement)(o.MediaPlaceholder,{icon:(0,r.createElement)(o.BlockIcon,{icon:"format-image"}),labels:{title:__("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:c(i)})}},61390:function(e,t,n){"use strict";n.d(t,{Xd:function(){return b},u2:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(13419),s=n(36825),l=n(70355),c=n(36239),u=n(16376),p=n(66763),d=n(24097),m=n(60206);const __=a.__,_x=a._x,h="simple-payments",f=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),g=(0,i.Wp)()||(0,i.Ug)()?"https://wordpress.com/support/pay-with-paypal/":"https://jetpack.com/support/jetpack-blocks/pay-with-paypal/",b={title:__("Pay with PayPal","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),(0,r.createElement)("p",null,__("Good for collecting donations or payments for products and services.","jetpack")),(0,r.createElement)(o.ExternalLink,{href:g},__("Support reference","jetpack"))),icon:{src:f,foreground:(0,l.m)()},category:"earn",keywords:[_x("buy","block search term","jetpack"),_x("commerce","block search term","jetpack"),_x("credit card","block search term","jetpack"),_x("debit card","block search term","jetpack"),_x("earn","block search term","jetpack"),_x("ecommerce","block search term","jetpack"),_x("money","block search term","jetpack"),_x("paid","block search term","jetpack"),_x("payments","block search term","jetpack"),_x("products","block search term","jetpack"),_x("purchase","block search term","jetpack"),_x("sell","block search term","jetpack"),_x("shop","block search term","jetpack"),"square",_x("payments","block search term","jetpack")],attributes:{currency:{type:"string",default:s.a7},content:{type:"string",source:"html",selector:".jetpack-simple-payments-description p",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"src",default:null},featuredMediaTitle:{type:"string",source:"attribute",selector:".jetpack-simple-payments-image img",attribute:"alt",default:null},multiple:{type:"boolean",default:!1},postLinkUrl:{type:"string",source:"attribute",selector:".jetpack-simple-payments-purchase",attribute:"href"},postLinkText:{type:"string",source:"html",selector:".jetpack-simple-payments-purchase",default:__("Click here to purchase.","jetpack")},price:{type:"number"},productId:{type:"number"},title:{type:"string",source:"html",selector:".jetpack-simple-payments-title p",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(!t)return;const n=parseInt(t,10);return n||void 0}}}}]},edit:c.Z,save:u.Z,example:{attributes:{price:25,title:__("Jetpack t-shirt","jetpack"),content:__("Take flight in ultimate comfort with this stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:m}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1},deprecated:[p.Z,d.Z]}},72802:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(22323),i=n(23879);const __=a.__;t.Z=e=>{let{title:t="",content:n="",formattedPrice:a="",multiple:s=!1,featuredMediaUrl:l=null,featuredMediaTitle:c=null}=e;return(0,r.createElement)("div",{className:"jetpack-simple-payments-wrapper"},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},l&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("figure",{className:"jetpack-simple-payments-image"},(0,r.createElement)("img",{src:l,alt:c}))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},t&&(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,t)),n&&(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),a&&(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,a)),(0,r.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},s&&(0,r.createElement)("div",{className:"jetpack-simple-payments-items"},(0,r.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),(0,r.createElement)("div",{className:"jetpack-simple-payments-button"},(0,r.createElement)("img",{alt:__("Pay with PayPal","jetpack"),src:o,srcSet:`${i} 2x`}))))))}},16376:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(96059);function o(e){let{attributes:t}=e;const{content:n,currency:o,featuredMediaUrl:i,featuredMediaTitle:s,postLinkUrl:l,postLinkText:c,price:u,productId:p,title:d}=t;return p?(0,r.createElement)("div",{className:`jetpack-simple-payments-wrapper jetpack-simple-payments-${p}`},(0,r.createElement)("div",{className:"jetpack-simple-payments-product"},i&&(0,r.createElement)("div",{className:"jetpack-simple-payments-product-image"},(0,r.createElement)("div",{className:"jetpack-simple-payments-image"},(0,r.createElement)("figure",null,(0,r.createElement)("img",{src:i,alt:s})))),(0,r.createElement)("div",{className:"jetpack-simple-payments-details"},(0,r.createElement)("div",{className:"jetpack-simple-payments-title"},(0,r.createElement)("p",null,d)),(0,r.createElement)("div",{className:"jetpack-simple-payments-description"},(0,r.createElement)("p",null,n)),(0,r.createElement)("div",{className:"jetpack-simple-payments-price"},(0,r.createElement)("p",null,(0,a.T4)(u,o))),(0,r.createElement)("a",{className:"jetpack-simple-payments-purchase",href:l,target:"_blank",rel:"noopener noreferrer"},c)))):null}},96059:function(e,t,n){"use strict";n.d(t,{N3:function(){return o},T4:function(){return l},w:function(){return s}});var r=n(43317),a=n(92819);n(36825);const o=e=>{const t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},i=function(){var e,t,n,r,a,o;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";const s=null===(e=window)||void 0===e||null===(t=e.window)||void 0===t?void 0:t.navigator;return null!=s&&null!==(n=s.languages)&&void 0!==n&&n.length?s.languages[0]:null!==(r=null!==(a=null!==(o=null==s?void 0:s.userLanguage)&&void 0!==o?o:null==s?void 0:s.language)&&void 0!==a?a:null==s?void 0:s.browserLanguage)&&void 0!==r?r:i},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{precision:o,symbol:i}=(0,r.X)(t),s=e.toFixed(o);return n?`${s} ${(0,a.trimEnd)(i,".")}`:s},l=function(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1?arguments[1]:void 0,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!window.Intl||"function"!=typeof Intl.NumberFormat)return s(r,a,o);const l=null!==(e=null===(t=window)||void 0===t||null===(n=t.Jetpack_Editor_Initial_State)||void 0===n?void 0:n.siteLocale)&&void 0!==e?e:"en-US",c=[l,i(),"en-US"];let u,p={};for(u of(o&&(p={style:"currency",currency:a}),c))try{return Intl.NumberFormat(u,p).format(r)}catch{continue}return s(r,a,o)}},20288:function(e,t,n){"use strict";n.d(t,{G:function(){return c},J:function(){return u}});var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(92819),l=n(94545);const __=i.__,_x=i._x;function c(e){let{attributes:{autoplay:t,delay:n,effect:a,images:i,sizeSlug:l},imageSizeOptions:c,onChangeImageSize:u,setAttributes:p}=e;const d="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=[{label:_x("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:_x("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{title:__("Autoplay","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Autoplay","jetpack"),help:__("Autoplay between slides","jetpack"),checked:t,onChange:e=>{p({autoplay:e})}}),t&&(0,r.createElement)(o.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack"),value:n,onChange:e=>{p({delay:e})},min:1,max:5}),t&&d&&(0,r.createElement)("span",null,__("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),(0,r.createElement)(o.PanelBody,{title:__("Effects","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Transition effect","jetpack"),value:a,onChange:e=>{p({effect:e})},options:m})),!(0,s.isEmpty)(i)&&!(0,s.isEmpty)(c)&&(0,r.createElement)(o.PanelBody,{title:__("Image Settings","jetpack")},(0,r.createElement)(o.SelectControl,{label:__("Image Size","jetpack"),value:l,options:c,onChange:e=>u(e)})))}function u(e){let{allowedMediaTypes:t,attributes:{images:n},onSelectImages:i}=e;return(0,r.createElement)(r.Fragment,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{onSelect:i,allowedTypes:t,multiple:!0,gallery:!0,value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(l.Z,{label:__("Edit Slideshow","jetpack"),onClick:t})}})))))}},30847:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(a,(e=>function(){e(this)}))},[{default:i}]=await Promise.all([Promise.all([n.e(302),n.e(390)]).then(n.t.bind(n,59101,23)),Promise.all([n.e(302),n.e(390)]).then(n.bind(n,89701))]);return new i(e,(0,r.merge)({},o,t))}},21233:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(94333),l=n(92819),c=n(11313),u=n(9818),p=n(52175),d=n(12238),m=n(55609),h=n(19775),f=n(20288),g=n(19486);const __=i.__,b=["image"],v=(e,t)=>{const n=(0,l.pick)(e,["alt","id","link","caption"]);return n.url=(0,l.get)(e,["sizes",t,"url"])||(0,l.get)(e,["media_details","sizes",t,"source_url"])||e.url,n};class k extends o.Component{constructor(){super(...arguments),a()(this,"onSelectImages",(e=>{const{sizeSlug:t}=this.props.attributes,n=e.map((e=>v(e,t)));this.setAttributes({images:n})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,l.filter)(this.props.attributes.images,((t,n)=>e!==n));this.setState({selectedImage:null}),this.setAttributes({images:t})})),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],n=this.props.attributes.sizeSlug,{lockPostSaving:r,unlockPostSaving:a,noticeOperations:o}=this.props,i="slideshowBlockLock";r(i),(0,d.mediaUpload)({allowedTypes:b,filesList:e,onFileChange:e=>{const r=e.map((e=>v(e,n)));this.setAttributes({images:[...t,...r]}),r.every((e=>(0,c.isBlobURL)(e.url)))||a(i)},onError:o.createErrorNotice})})),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files))),a()(this,"updateImagesSize",(e=>{const{images:t}=this.props.attributes,{resizedImages:n}=this.props,r=t.map((t=>{const r=n.find((e=>{let{id:n}=e;return parseInt(n,10)===parseInt(t.id,10)})),a=(0,l.get)(r,["sizes",e,"source_url"]);return{...t,...a&&{url:a}}}));this.setAttributes({images:r,sizeSlug:e})})),this.state={selectedImage:null}}componentDidMount(){const{ids:e,sizeSlug:t}=this.props.attributes;t||this.setAttributes({sizeSlug:e.length?"full":"large"})}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}getImageSizeOptions(){const{imageSizes:e}=this.props;return(0,l.map)(e,(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}))}render(){const{attributes:e,className:t,isSelected:n,noticeOperations:r,noticeUI:a}=this.props,{align:i,autoplay:s,delay:l,effect:c,images:u}=e,d=this.getImageSizeOptions(),v=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.InspectorControls,null,(0,o.createElement)(f.G,{attributes:e,imageSizeOptions:d,onChangeImageSize:this.updateImagesSize,setAttributes:e=>this.setAttributes(e)})),(0,o.createElement)(p.BlockControls,null,(0,o.createElement)(f.J,{allowedMediaTypes:b,attributes:e,onSelectImages:this.onSelectImages})));return 0===u.length?(0,o.createElement)(o.Fragment,null,v,(0,o.createElement)(p.MediaPlaceholder,{icon:h.qv,className:t,labels:{title:__("Slideshow","jetpack"),instructions:__("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:b,multiple:!0,notices:a,onError:r.createErrorNotice})):(0,o.createElement)(o.Fragment,null,v,a,(0,o.createElement)(g.Z,{align:i,autoplay:s,className:t,delay:l,effect:c,images:u,onError:r.createErrorNotice}),(0,o.createElement)(m.DropZone,{onFilesDrop:this.addFiles}),n&&(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},(0,o.createElement)(m.FormFileUpload,{multiple:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack"))))}}t.ZP=(0,s.compose)((0,u.withSelect)(((e,t)=>({imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce(((t,n)=>{const r=e("core").getMedia(n);return[...t,{id:n,sizes:(0,l.get)(r,["media_details","sizes"])}]}),[])}))),(0,u.withDispatch)((e=>{const{lockPostSaving:t,unlockPostSaving:n}=e("core/editor");return{lockPostSaving:t,unlockPostSaving:n}})),m.withNotices)(k)},19775:function(e,t,n){"use strict";n.d(t,{Xd:function(){return b},qv:function(){return h},u2:function(){return g}});var r=n(69307),a=n(65736),o=n(55609),i=n(21233),s=n(67240),l=n(81504),c=n(70355),u=n(5820),p=n(65784),d=n(6425),m=n(85983);const __=a.__,_x=a._x,h=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)(o.Path,{d:"M21 8V19C21 20.1046 20.1057 21 19.0011 21C15.8975 21 9.87435 21 6 21",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Rect,{x:"3.75",y:"3.75",width:"13.5",height:"13.5",rx:"0.875",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.createElement)(o.Path,{d:"M9 14L12 11L9 8",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})),f={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:p},{alt:"",caption:"",id:23,url:d},{alt:"",caption:"",id:23,url:m}],effect:"slide"},g="slideshow",b={title:__("Slideshow","jetpack"),category:(0,u.Z)("media","layout"),keywords:[_x("image","block search term","jetpack"),_x("gallery","block search term","jetpack"),_x("slider","block search term","jetpack")],description:__("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:{src:h,foreground:(0,c.m)()},edit:i.ZP,save:s.Z,transforms:l.Z,example:{attributes:f}}},67240:function(e,t,n){"use strict";var r=n(69307),a=n(19486);t.Z=e=>{let{attributes:{align:t,autoplay:n,delay:o,effect:i,images:s},className:l}=e;return(0,r.createElement)(a.Z,{align:t,autoplay:n,className:l,delay:o,effect:i,images:s})}},19486:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(6209),c=n(65736),u=n(11313),p=n(92819),d=n(52175),m=n(55609),h=n(30847),f=n(17766);const __=c.__;class g extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"pendingRequestAnimationFrame",null),a()(this,"resizeObserver",null),a()(this,"initializeResizeObserver",(e=>{this.clearResizeObserver(),this.resizeObserver=new l.Z((()=>{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame((()=>{(0,f.$m)(e),e.update()}))})),this.resizeObserver.observe(e.el)})),a()(this,"clearPendingRequestAnimationFrame",(()=>{this.pendingRequestAnimationFrame&&(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)})),a()(this,"clearResizeObserver",(()=>{this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)})),a()(this,"prefersReducedMotion",(()=>"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)),a()(this,"buildSwiper",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,h.Z)(t.slideshowRef.current,{autoplay:!(!t.props.autoplay||t.prefersReducedMotion())&&{delay:1e3*t.props.delay,disableOnInteraction:!1},effect:t.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:t.btnNextRef.current,prevEl:t.btnPrevRef.current},pagination:{clickable:!0,el:t.paginationRef.current,type:"bullets"}},{init:f.UA,imagesReady:f.$m,paginationRender:f.Wj,transitionEnd:f.HV})})),this.slideshowRef=(0,o.createRef)(),this.btnNextRef=(0,o.createRef)(),this.btnPrevRef=(0,o.createRef)(),this.paginationRef=(0,o.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{e(__("The Swiper library could not be loaded.","jetpack"))}))}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:n,delay:r,effect:a,images:o,onError:i}=this.props;if(t===e.align&&(0,p.isEqual)(o,e.images)||this.swiperInstance&&this.swiperInstance.update(),a!==e.effect||n!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((e=>{this.swiperInstance=e,this.initializeResizeObserver(e)})).catch((()=>{i(__("The Swiper library could not be loaded.","jetpack"))}))}}render(){var e,t;if(null===(e=this.props)||void 0===e||null===(t=e.images)||void 0===t||!t.length)return null;const{autoplay:n,className:r,delay:a,effect:i,images:l}=this.props;return(0,o.createElement)("div",{className:r,"data-autoplay":n||null,"data-delay":n?a:null,"data-effect":i},(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},(0,o.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},l.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return(0,o.createElement)("li",{className:s()("wp-block-jetpack-slideshow_slide","swiper-slide",(0,u.isBlobURL)(a)&&"is-transient"),key:r||a},(0,o.createElement)("figure",null,(0,o.createElement)("img",{alt:t,className:`wp-block-jetpack-slideshow_image wp-image-${r}`,"data-id":r,src:a}),(0,u.isBlobURL)(a)&&(0,o.createElement)(m.Spinner,null),n&&(0,o.createElement)(d.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),(0,o.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),(0,o.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),(0,o.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}a()(g,"defaultProps",{effect:"slide"}),t.Z=g},17766:function(e,t,n){"use strict";n.d(t,{$m:function(){return s},HV:function(){return l},UA:function(){return i},Wj:function(){return c}});var r=n(81975),a=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function i(e){s(e),l(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function s(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),a="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,a),i=`${Math.floor(o)}px`,s=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=i,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=s}function l(e){(0,a.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(a.alt))}(e)}function c(e){(0,a.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},81504:function(e,t,n){"use strict";var r=n(4981),a=n(92819);function o(e){return(0,a.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const i={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>o(e).length>0,transform:e=>{const t=o(e);return(0,r.createBlock)("jetpack/slideshow",{images:t.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:e=>{let{images:t}=e;const n=o(t);return n.length>0?(0,r.createBlock)("jetpack/slideshow",{images:n.map((e=>{let{alt:t,caption:n,id:r,url:a}=e;return{alt:t,caption:n,id:r,url:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,r.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n}=e;return(0,r.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:e=>{let{images:t}=e;return t.length>0?t.map((e=>{let{id:t,url:n,alt:a,caption:o}=e;return(0,r.createBlock)("core/image",{id:t,url:n,alt:a,caption:o})})):(0,r.createBlock)("core/image")}}]};t.Z=i},64250:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65736),s=n(27143),l=n(79988),c=n(50149);const __=i.__,u=[{title:__("Google Search","jetpack"),icon:"google",name:"google",preview:s.Z},{title:__("Facebook","jetpack"),icon:"facebook",name:"facebook",preview:e=>(0,o.createElement)(l.Z,a()({type:"article"},e))},{title:__("Twitter","jetpack"),icon:"twitter",name:"twitter",preview:e=>(0,o.createElement)(c.Z,e)}]},32078:function(e,t,n){"use strict";n.d(t,{Xd:function(){return p},u2:function(){return u},w6:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(72067),s=n(34613),l=n(55382),c=n(54339);const __=a.__,u="social-previews",p={render:()=>(0,r.createElement)(d,null)},d=function(e){let{showUpgradeNudge:t}=e;const[n,a]=(0,r.useState)(!1);return(0,r.createElement)(r.Fragment,null,n&&(0,r.createElement)(c.Z,{showUpgradeNudge:t,onClose:()=>a(!1)}),(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t}))),(0,r.createElement)(i.PluginPrePublishPanel,{title:__("Social Previews","jetpack")},(0,r.createElement)(l.Z,{openModal:()=>a(!0),showUpgradeNudge:t})))}},54339:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(31020),l=n(17296),c=n(64250),u=n(97069);const __=a.__;t.Z=(0,i.withSelect)(((e,t)=>{var n;if(t.showUpgradeNudge)return{};const{getMedia:r,getUser:a}=e("core"),{getCurrentPost:o,getEditedPostAttribute:i}=e("core/editor"),{getTweetTemplate:s,getTweetStorm:l,getShareMessage:c,isTweetStorm:p}=e("jetpack/publicize"),d=i("featured_media"),m=i("author"),h=m&&a(m),f={post:o(),title:i("title"),description:(null===(n=i("meta"))||void 0===n?void 0:n.advanced_seo_description)||i("excerpt")||i("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:i("link"),author:null==h?void 0:h.name,image:!!d&&(0,u.i)(r(d))};let g=[];return p()?g=l():g.push({...s(),text:c(),card:{...f,type:f.image?"summary_large_image":"summary"}}),{...f,tweets:g,isTweetStorm:p()}}))((function(e){let{onClose:t,showUpgradeNudge:n,image:a,title:i,description:u,url:p,author:d,isTweetStorm:m,tweets:h}=e;const f=c.z.map((e=>({...e,title:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.av,{serviceName:e.icon}),e.title)})));return(0,r.createElement)(o.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:"jetpack-social-previews__modal"},n?(0,r.createElement)(l.Z,null):(0,r.createElement)(o.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:f,initialTabName:m?"twitter":null,orientation:"vertical"},(e=>(0,r.createElement)("div",null,(0,r.createElement)(e.preview,{title:i,description:u,url:p,author:d,image:a,isTweetStorm:m,tweets:h})))))}))},55382:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(31020),s=n(64250);const __=a.__;t.Z=function(e){let{openModal:t,showUpgradeNudge:n}=e;const a=n?__("Learn more","jetpack"):__("Preview","jetpack",0),l=n?__("Learn more about paid plans","jetpack"):__("Open Social Previews","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__panel"},(0,r.createElement)("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),n&&(0,r.createElement)("p",null,__("Pro plan required.","jetpack")),(0,r.createElement)("div",{className:"jetpack-gutenberg-social-icons"},s.z.map((e=>(0,r.createElement)(i.av,{key:e.icon,serviceName:e.icon,className:"jetpack-social-previews__icon"})))),(0,r.createElement)(o.Button,{variant:"secondary",onClick:t,label:l},a))}},17296:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(55609),o=n(65736),i=n(13419),s=n(84069),l=n(37447),c=n(78798),u=n(32078);const __=o.__;function p(){var e,t;const n=null===(e=(0,i.OZ)(u.u2))||void 0===e||null===(t=e.details)||void 0===t?void 0:t.required_plan,[o,p,d]=(0,c.Z)(n,(()=>{s.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:n,block:u.u2})})),m=d?__("Redirecting…","jetpack"):__("Upgrade","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-social-previews__modal-upgrade"},(0,r.createElement)("img",{className:"jetpack-social-previews__upgrade-illustration",src:l,width:"351",height:"264",alt:""}),(0,r.createElement)("div",{className:"jetpack-social-previews__upgrade-description"},(0,r.createElement)("h2",{className:"jetpack-social-previews__upgrade-heading"},__("Upgrade to a Pro plan to unlock the power of our SEO tools","jetpack")),(0,r.createElement)("ul",{className:"jetpack-social-previews__upgrade-feature-list"},(0,r.createElement)("li",null,__("Preview your site’s content as it will appear on Facebook, Twitter, and the WordPress.com Reader.","jetpack")),(0,r.createElement)("li",null,__("Control how page titles will appear on Google search results and social networks.","jetpack")),(0,r.createElement)("li",null,__("Customize your front page metadata to change how your site appears to search engines.","jetpack"))),(0,r.createElement)(a.Button,{href:o,variant:"primary",label:__("Purchase a Business plan to access social previews","jetpack"),onClick:p,target:"_top",isBusy:d},m)))}},97069:function(e,t,n){"use strict";function r(e){var t,n,r;return e?(null===(t=e.media_details)||void 0===t||null===(n=t.sizes)||void 0===n||null===(r=n.large)||void 0===r?void 0:r.source_url)||e.source_url:null}n.d(t,{i:function(){return r}})},65492:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(94545);const __=i.__;t.Z=e=>{let{allowedMediaTypes:t,attributes:{mediaFiles:n},onSelectMedia:i}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,!!n.length&&(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarItem,null,(()=>(0,r.createElement)(a.MediaUpload,{title:__("Edit Story","jetpack"),onSelect:i,allowedTypes:t,addToGallery:!0,multiple:"add",value:n.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,r.createElement)(s.Z,{label:__("Edit Story","jetpack"),onClick:t})}}))))))}},19693:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(65736),l=n(11313),c=n(9818),u=n(52175),p=n(55609),d=n(93688),m=n(65492),h=n(73022);const __=s.__,f=["image","video"],g=e=>{var t,n,r;const a=(0,i.pick)(e,["alt","title","id","link","type","mime","caption","width","height"]);return a.url=(0,i.get)(e,["media_details","original","url"])||(0,i.get)(e,["media_details","videopress","original"])||(0,i.get)(e,["media_details","sizes","large","source_url"])||(0,i.get)(e,["sizes","large","url"])||e.url,a.type=e.media_type||e.type,a.mime=e.mime_type||e.mime,a.title=(null===(t=a.title)||void 0===t?void 0:t.rendered)||a.title,a.width=a.width||(null===(n=e.media_details)||void 0===n?void 0:n.width),a.height=a.height||(null===(r=e.media_details)||void 0===r?void 0:r.height),a};t.Z=(0,p.withNotices)((function(e){let{attributes:t,className:n,isSelected:a,noticeOperations:i,noticeUI:s,setAttributes:p}=e;const{mediaFiles:b}=t,{lockPostSaving:v,unlockPostSaving:k}=(0,c.useDispatch)("core/editor"),y="storyBlockLock",E=e=>{const t=e.map((e=>{if(!isNaN(e)){return b.find((t=>t.id===e))||{id:e}}return e})).map(g),n=t.filter((e=>!(0,l.isBlobURL)(e.url)));t.length!==n.length?v(y):k(y),p({mediaFiles:t})},w=(0,r.createElement)(m.Z,{allowedMediaTypes:f,attributes:t,onSelectMedia:E}),_=!!b.length,C=(0,r.createElement)(u.MediaPlaceholder,{addToGallery:_,isAppender:_,className:n,disableMediaButtons:_&&!a,icon:!_&&d.qv,labels:{title:!_&&__("Story","jetpack"),instructions:!_&&__("Drag images and videos, upload new ones, or select files from your library.","jetpack")},onSelect:E,accept:f.map((e=>e+"/*")).join(","),allowedTypes:f,multiple:"add",value:b,notices:_?void 0:s,onError:i.createErrorNotice});return _?(0,r.createElement)(r.Fragment,null,w,s,(0,r.createElement)("div",{className:o()("wp-block-jetpack-story","wp-story",n)},(0,r.createElement)(h.Z,{slides:b,disabled:!a,showSlideCount:a,shadowDOM:{enabled:!1},playInFullscreen:!1,tapToPlayPause:!1,playOnNextSlide:!1})),a&&C):(0,r.createElement)(r.Fragment,null,w,C)}))},66512:function(e,t,n){"use strict";var r=n(69307),a=n(55609);const o=(0,n(36598).Z)((0,r.createElement)(a.G,null,(0,r.createElement)(a.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,r.createElement)(a.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,r.createElement)(a.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));t.Z=o},93688:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},qv:function(){return i.Z},u2:function(){return p}});var r=n(65736),a=n(19693),o=n(29143),i=n(66512),s=n(5820),l=n(70355),c=n(15915);const __=r.__,_x=r._x,u={mediaFiles:[{alt:"",caption:"",mime:"image/jpg",type:"image",id:22,url:c}]},p="story",d={title:__("Story","jetpack"),category:(0,s.Z)("media","layout"),keywords:[_x("story","block search term","jetpack"),_x("image","block search term","jetpack"),_x("video","block search term","jetpack"),_x("gallery","block search term","jetpack")],description:__("Add an interactive story.","jetpack"),attributes:{settings:{type:"object"},mediaFiles:{type:"array",default:[]}},supports:{html:!1},icon:{src:i.Z,foreground:(0,l.m)()},edit:a.Z,save:o.Z,example:{attributes:u}}},19395:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(55609);function o(e){let{currentMedia:t}=e;const n=t&&"image"===t.type?t.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:n?`url("${n}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(a.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},94754:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(65736),s=n(55609);const __=i.__;function l(e){let{isEllipsis:t,disabled:n,index:a,isSelected:l,progress:c,onClick:u}=e;const p=n||t;let d=null;return t||(d=l?(0,i.sprintf)(
/* translators: %d: Slide number. */
__("Slide %d, currently selected","jetpack"),a+1):(0,i.sprintf)(
/* translators: %d: Slide number. */
-__("Go to slide %d","jetpack"),a+1)),(0,r.createElement)(s.Button,{role:p?"presentation":"tab",key:a,className:o()("wp-story-pagination-bullet",{"wp-story-pagination-ellipsis":t}),"aria-label":d,"aria-disabled":p||l,onClick:p||l?void 0:u,disabled:p},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar"},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar-progress",style:{width:`${c}%`}})))}},9610:function(e,t,n){"use strict";n.d(t,{b:function(){return l},r:function(){return c}});var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i);const l=e=>{let{className:t,size:n,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button","circle-icon","outlined","bordered",t),style:{width:`${n}px`,height:`${n}px`}},l))},c=e=>{let{className:t,size:n=24,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button",t),style:{width:`${n}px`,height:`${n}px`}},l))}},1019:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("div",{className:"wp-story-loading-spinner"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__outer"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__inner"})))},50281:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(9610),i=n(29089);const _x=a._x;function s(e){let{playing:t,muted:n,onPlayPressed:a,onMutePressed:s,showMute:l}=e;return(0,r.createElement)("div",{className:"wp-story-controls"},(0,r.createElement)(o.r,{isPressed:t,label:t?_x("pause","Button tooltip text","jetpack"):_x("play","Button tooltip text","jetpack",0),onClick:a},t?(0,r.createElement)(i.fp,null):(0,r.createElement)(i.o1,null)),l&&(0,r.createElement)(o.r,{isPressed:n,label:n?_x("unmute","Button tooltip text","jetpack"):_x("mute","Button tooltip text","jetpack",0),onClick:s},n?(0,r.createElement)(i.xb,null):(0,r.createElement)(i.MC,null)))}},40220:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(9610),i=n(29089);const __=a.__;function s(e){let{fullscreen:t,onExitFullscreen:n,siteIconUrl:a,storyTitle:s}=e;return t?(0,r.createElement)("div",{className:"wp-story-meta"},(0,r.createElement)("div",{className:"wp-story-icon"},(0,r.createElement)("img",{alt:__("Site icon","jetpack"),src:a,width:"40",height:"40"})),(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"wp-story-title"},s)),(0,r.createElement)(o.r,{className:"wp-story-exit-fullscreen",label:__("Exit Fullscreen","jetpack"),onClick:n},(0,r.createElement)(i.Tw,null))):null}},29089:function(e,t,n){"use strict";n.d(t,{o1:function(){return s},fp:function(){return l},Tw:function(){return c},MC:function(){return u},xb:function(){return p},JM:function(){return d},Vq:function(){return m}});var r=n(69307),a=n(55609),o=n(41632);const i=e=>{let{children:t,size:n}=e;return(0,o.Z)(t,n,n)},s=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M8 5v14l11-7z"}))},l=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}))},c=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))},u=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}))},p=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}))},d=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}))},m=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}))}},27870:function(e,t,n){"use strict";n.d(t,{gT:function(){return r.Z},ZX:function(){return a.Z},h4:function(){return o.Z},aV:function(){return i.Z},Aq:function(){return s.Z},WB:function(){return l.Z},pU:function(){return c.pU}});var r=n(85974),a=n(50281),o=n(40220),i=n(46531),s=n(18754),l=n(1019),c=n(64816);n(9610)},64816:function(e,t,n){"use strict";n.d(t,{pU:function(){return u}});var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i);const l=e=>{let{title:t,alt:n,className:r,id:a,mediaRef:i,mime:l,sizes:c,srcset:u,url:p}=e;return(0,o.createElement)("img",{ref:i,"data-id":a,"data-mime":l,title:t,alt:n,src:p,className:s()("wp-story-image",`wp-image-${a}`,r),srcSet:u,sizes:c})},c=e=>{let{title:t,className:n,id:r,mediaRef:a,mime:i,url:l,poster:c}=e;return(0,o.createElement)("video",{className:s()("wp-story-video","intrinsic-ignore",`wp-video-${r}`,n),ref:a,"data-id":r,title:t,type:i,src:l,poster:c,tabIndex:-1,preload:"auto",playsInline:!0})},u=e=>{let{targetAspectRatio:t,cropUpTo:n,type:r,width:i,height:s,...u}=e,p=null;if(i&&s){const e=i/s;if(e>=t){e>t/(1-n)||(p="wp-story-crop-wide")}else{e<t*(1-n)||(p="wp-story-crop-narrow")}}const d="video"===r||(u.mime||"").startsWith("video/");return(0,o.createElement)("figure",null,d?(0,o.createElement)(c,a()({},u,{className:p})):(0,o.createElement)(l,a()({},u,{className:p})))}},46531:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(48735),o=n.n(a),i=n(65736),s=n(9610),l=n(29089);const __=i.__;function c(e){let{ended:t,hasPrevious:n,onNextSlide:a,onPreviousSlide:c,icon:u,slideCount:p,showSlideCount:d}=e;const m=(0,r.useCallback)((e=>{t||(e.stopPropagation(),c())}),[c,t]),h=(0,r.useCallback)((e=>{t||(e.stopPropagation(),a())}),[a,t]);return(0,r.createElement)("div",{className:"wp-story-overlay"},d&&(0,r.createElement)("div",{className:"wp-story-embed-icon"},u,(0,r.createElement)("span",null,p)),!d&&(0,r.createElement)("div",{className:"wp-story-embed-icon-expand"},(0,r.createElement)(o(),{role:"img"})),n&&(0,r.createElement)("div",{className:"wp-story-prev-slide",onClick:m},(0,r.createElement)(s.b,{size:44,label:__("Previous Slide","jetpack"),className:"outlined-w"},(0,i.isRTL)()?(0,r.createElement)(l.Vq,{size:24}):(0,r.createElement)(l.JM,{size:24}))),(0,r.createElement)("div",{className:"wp-story-next-slide",onClick:h},(0,r.createElement)(s.b,{size:44,label:__("Next Slide","jetpack"),className:"outlined-w"},(0,i.isRTL)()?(0,r.createElement)(l.JM,{size:24}):(0,r.createElement)(l.Vq,{size:24}))))}},58871:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(89105),o=n.n(a),i=n(31158),s=n(29891),l=n(72096);const c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function u(e){let{className:t,fullscreenClassName:n,bodyFullscreenClassName:a,fullscreen:u,shadowDOM:p,onKeyDown:d,onExitFullscreen:m,playerQuerySelector:h,children:f}=e;const g=(0,r.useRef)(),b=(0,r.useRef)(),[v,k]=(0,r.useState)(null),y=c&&s.am(),E=u&&!y,w=u&&y;return(0,r.useLayoutEffect)((()=>{if(y)u?g.current&&s.uP(g.current,m):s.bG()&&s.JF();else if(u){if(k([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(a),document.getElementsByTagName("html")[0].classList.add(a),b.current){const e=b.current.querySelector(h);e&&e.focus()}}else if(document.body.classList.remove(a),document.getElementsByTagName("html")[0].classList.remove(a),v){window.scrollTo(...v);const e=g.current.querySelector(h);e&&e.focus()}}),[u]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,p,(0,r.createElement)("div",{ref:g,className:o()(t,{[n]:w}),onKeyDown:d},!E&&f)),(0,r.createElement)(l.Z,{className:o()(t,{[n]:E}),isOpened:E,onRequestClose:m,shadowDOM:p,onKeyDown:E&&d,focusOnMount:!1,modalRef:b},E&&f))}},4045:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(9818),o=n(39630),i=(n(66930),n(54616)),s=n(58871);function l(e){let{id:t,slides:n,metadata:l,disabled:c,...u}=e;const p=(0,r.useMemo)((()=>t||Math.random().toString(36)),[t]),{init:d,setEnded:m,setPlaying:h,setFullscreen:f,showSlide:g}=(0,a.useDispatch)("jetpack/story/player"),{playing:b,currentSlideIndex:v,fullscreen:k,isReady:y,playerSettings:E}=(0,a.useSelect)((e=>{const{getCurrentSlideIndex:t,getSettings:n,isFullscreen:r,isPlayerReady:a,isPlaying:o}=e("jetpack/story/player");return a(p)?{playing:o(p),currentSlideIndex:t(p),isReady:!0,fullscreen:r(p),playerSettings:n(p)}:{isReady:!1}}),[p]);(0,r.useEffect)((()=>{y||d(p,{slideCount:n.length,...u})}),[y,p]);const w=(0,r.useCallback)((e=>{switch(e.keyCode){case o.ENTER:if(k)break;case o.SPACE:h(p,!b);break;case o.LEFT:v>0&&g(p,v-1);break;case o.RIGHT:v<n.length-1?g(p,v+1):m(p)}}),[p,v,k,b]),_=(0,r.useCallback)((()=>{f(p,!1)}),[p]);return y?(0,r.createElement)(s.Z,{shadowDOM:E.shadowDOM,className:"wp-story-app",fullscreenClassName:"wp-story-fullscreen",bodyFullscreenClassName:"wp-story-in-fullscreen",playerQuerySelector:".wp-story-container",fullscreen:k,onExitFullscreen:_,onKeyDown:w},(0,r.createElement)(i.Z,{id:p,slides:n,metadata:l,disabled:c})):null}},29891:function(e,t,n){"use strict";n.d(t,{am:function(){return r},bG:function(){return a},uP:function(){return o},JF:function(){return i}});const r=()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,a=()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,o=(e,t)=>{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=>{document.fullscreenElement||(document.removeEventListener("fullscreenchange",e),t())};document.addEventListener("fullscreenchange",e)}},i=()=>(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},31158:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);const a=window&&window.Element&&window.Element.prototype.hasOwnProperty("attachShadow");function o(e){let{enabled:t,delegatesFocus:n=!1,mode:o="open",globalStyleElements:s=[],adoptedStyleSheets:l=null,mountOnElement:c=null,children:u}=e;const[p,d]=(0,r.useState)(null),m=c||p,[h,f]=(0,r.useState)(null),g="string"==typeof s?[...document.querySelectorAll(s)]:s,b=a&&t&&g.length>0,v=(0,r.useCallback)((e=>{null!==e&&d(e.parentNode)}),[]);if((0,r.useEffect)((()=>{if(!m)return;if(m.shadowRoot)return void f(m.shadowRoot);const e=m.attachShadow({delegatesFocus:n,mode:o});l&&(e.adoptedStyleSheets=l),f(e)}),[m]),b&&!h)return c?null:(0,r.createElement)("span",{ref:v});const k=(0,r.createElement)(r.Fragment,null,b&&(0,r.createElement)(i,{globalStyleElements:g}),u);return b?(0,r.createPortal)(k,h):k}function i(e){let{globalStyleElements:t}=e;return(0,r.createElement)(r.Fragment,null,t.map(((e,t)=>{let{id:n,tagName:a,attributes:o,innerHTML:i}=e;return"LINK"===a?(0,r.createElement)("link",{key:n||t,id:n,rel:o.rel.value,href:o.href.value}):"STYLE"===a?(0,r.createElement)("style",{key:n||t,id:n},i):void 0})))}},94292:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{const t=(0,r.useRef)(),n=(0,r.useRef)(),a=(0,r.useRef)(e),o=(0,r.useCallback)((e=>{e.touches&&1===e.touches.length&&e.preventDefault()}),[]);return(0,r.useEffect)((()=>{a.current=e}),[e]),{onTouchStart:(0,r.useCallback)((e=>{e.target&&(e.target.addEventListener("touchend",o,{passive:!1}),n.current=e.target),t.current=setTimeout((()=>{a.current&&a.current(!0),t.current=null}),200)}),[]),onTouchEnd:(0,r.useCallback)((e=>{t.current?clearTimeout(t.current):(a.current&&a.current(!1),e.stopPropagation()),n.current&&n.current.removeEventListener("touchend",o)}),[])}}},21531:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){const t=(0,r.useRef)(null),n=(0,r.useRef)(!1),a=(0,r.useRef)(e),o=(0,r.useRef)(e);return o.current=e,(0,r.useLayoutEffect)((()=>{e.forEach(((e,r)=>{const o=a.current[r];"function"==typeof e&&e!==o&&!1===n.current&&(o(null),e(t.current))})),a.current=e}),e),(0,r.useLayoutEffect)((()=>{n.current=!1})),(0,r.useCallback)((e=>{t.current=e,n.current=!0;(e?o.current:a.current).forEach((t=>{"function"==typeof t?t(e):t&&t.hasOwnProperty("current")&&(t.current=e)}))}),[])}},97524:function(e,t,n){"use strict";async function r(e){const t=e.tagName.toLowerCase();if("img"===t){if(e.complete)return;await new Promise((t=>{e.addEventListener("load",t,{once:!0})}))}else if("video"===t||"audio"===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise((t=>{e.addEventListener("canplaythrough",t,{once:!0}),e.addEventListener("load",t,{once:!0}),e.HAVE_NOTHING===e.readyState&&e.networkState!==e.NETWORK_LOADING&&e.load()}))}}n.d(t,{Z:function(){return r}})},82295:function(e,t,n){"use strict";n.d(t,{BM:function(){return s},i1:function(){return l}});var r=n(92819);const a=new Set(["alert","status","log","marquee","timer"]);let o=[],i=!1;function s(e){if(i)return;const t=document.body.children;(0,r.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||a.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),o.push(t))})),i=!0}function l(){i&&((0,r.forEach)(o,(e=>{e.removeAttribute("aria-hidden")})),o=[],i=!1)}},97790:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(39630),o=n(94333),i=n(21531);function s(e){let{overlayClassName:t,children:n,className:s,focusOnMount:l,shouldCloseOnEsc:c=!0,onRequestClose:u,onKeyDown:p,modalRef:d}=e;const m=(0,o.useFocusOnMount)(l),h=(0,o.useConstrainedTabbing)(),f=(0,o.useFocusReturn)();return(0,r.createElement)("div",{className:t,onKeyDown:function(e){c&&e.keyCode===a.ESCAPE&&(e.stopPropagation(),u&&u(e)),e.target&&"button"===e.target.tagName.toLowerCase()&&e.keyCode===a.SPACE||p&&p(e)}},(0,r.createElement)("div",{className:s,ref:(0,i.Z)([h,f,m,d])},n))}},72096:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(94333),s=n(31158),l=n(97790),c=n(82295);let u,p=0;const d=()=>{};class m extends o.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){p++,1===p&&this.openFirstModal()}componentWillUnmount(){p--,0===p&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){u||(u=document.createElement("div"),document.body.appendChild(u)),this.node=document.createElement("div"),u.appendChild(this.node),this.node.ontouchstart=d,this.node.ontouchend=d}cleanDOM(){u.removeChild(this.node)}openFirstModal(){c.BM(u)}closeLastModal(){c.i1()}render(){const{children:e,isOpened:t,shadowDOM:n,...r}=this.props;return(0,o.createElement)(s.Z,a()({},n,{mountOnElement:this.node}),t&&(0,o.createElement)(l.Z,r,e))}}m.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0},t.Z=(0,i.withInstanceId)(m)},54616:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(92819),c=n(11313),u=n(94333),p=n(65736),d=n(9818),m=n(12378),h=n(96178),f=n(16019),g=n(27870),b=n(94292);const __=p.__;function v(e){let{id:t,slides:n,metadata:r,disabled:i}=e;const{setFullscreen:p,setEnded:v,setPlaying:k,setMuted:y,showSlide:E}=(0,d.useDispatch)("jetpack/story/player"),{playing:w,muted:_,currentSlideIndex:C,currentSlideEnded:j,ended:S,fullscreen:x,settings:T}=(0,d.useSelect)((e=>{const{getCurrentSlideIndex:n,getSettings:r,hasCurrentSlideEnded:a,hasEnded:o,isFullscreen:i,isMuted:s,isPlaying:l}=e("jetpack/story/player");return{playing:l(t),muted:s(t),currentSlideIndex:n(t),currentSlideEnded:a(t),ended:o(t),fullscreen:i(t),settings:r(t)}}),[t]),N=(0,o.useRef)(),[A,P]=(0,o.useState)(null),[I,{width:M,height:R}]=(0,u.useResizeObserver)(),[L,B]=(0,o.useState)(T.defaultAspectRatio),Z=(0,l.some)(n,(e=>(0,c.isBlobURL)(e.url))),F=e=>{E(t,e)},D=(0,o.useCallback)((()=>{i||x||T.playInFullscreen&&!w&&k(t,!0)}),[w,i,x]),{onTouchStart:O,onTouchEnd:z}=(0,b.Z)((e=>{k(t,!e)}),[]),U=(0,o.useCallback)((()=>{C>0&&F(C-1)}),[C]),$=(0,o.useCallback)((()=>{C<n.length-1?F(C+1):v(t)}),[C,n]),V=(0,o.useCallback)((()=>{p(t,!1)}),[]);let G,q;return(0,o.useEffect)((()=>{i&&w&&k(t,!1)}),[i,w]),(0,o.useEffect)((()=>{w&&j&&$()}),[w,j]),(0,o.useLayoutEffect)((()=>{if(!N.current)return;let e=Math.round(T.defaultAspectRatio*N.current.offsetHeight);x&&(e=Math.abs(1-e/M)<T.cropUpTo?M:e),P(e)}),[M,R,x]),(0,o.useLayoutEffect)((()=>{A&&N.current&&N.current.offsetHeight>0&&B(A/N.current.offsetHeight)}),[A]),G=x?[__("You are currently playing a story.","jetpack"),w?__("Press space to pause.","jetpack"):__("Press space to play.","jetpack",0),__("Press escape to exit.","jetpack")].join(" "):__("Play story","jetpack"),q=i?"presentation":x?"dialog":"button",(0,o.createElement)("div",{className:"wp-story-display-contents"},I,(0,o.createElement)("div",{role:q,"aria-label":G,tabIndex:x?-1:0,className:s()("wp-story-container",{"wp-story-with-controls":!i&&!x&&!T.playInFullscreen,"wp-story-fullscreen":x,"wp-story-ended":S,"wp-story-disabled":i,"wp-story-clickable":!i&&!x}),style:{maxWidth:`${A}px`},onClick:D,onTouchStart:O,onTouchEnd:z},(0,o.createElement)(g.h4,a()({},r,{fullscreen:x,onExitFullscreen:V})),(0,o.createElement)("div",{ref:N,className:"wp-story-wrapper"},n.map(((e,n)=>(0,o.createElement)(m.Z,{playerId:t,key:n,media:e,index:n,playing:!i&&w,uploading:Z,settings:T,targetAspectRatio:L})))),(0,o.createElement)(g.aV,{icon:h.Z,slideCount:n.length,showSlideCount:T.showSlideCount,ended:S,hasPrevious:C>0,onPreviousSlide:U,onNextSlide:$}),T.showProgressBar&&(0,o.createElement)(f.ZP,{playerId:t,slides:n,disabled:!x,onSlideSeek:F,maxBullets:x?T.maxBulletsFullscreen:T.maxBullets}),(0,o.createElement)(g.ZX,{playing:w,muted:_,onPlayPressed:()=>k(t,!w),onMutePressed:()=>y(t,!_),showMute:(e=>{const t=e<n.length?n[e]:null;return!!t&&("video"===t.type||(t.mime||"").startsWith("video/"))})(C)})),x&&(0,o.createElement)(g.Aq,{currentMedia:T.blurredBackground&&n.length>C&&n[C]}))}},16019:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(27870),i=n(9818);const s=e=>{let{key:t,playerId:n,index:a,disabled:s,isSelected:l,onClick:c}=e;const u=(0,i.useSelect)((e=>e("jetpack/story/player").getCurrentSlideProgressPercentage(n)),[]);return(0,r.createElement)(o.gT,{key:t,index:a,progress:u,disabled:s,isSelected:l,onClick:c})};t.ZP=e=>{let{playerId:t,slides:n,disabled:l,onSlideSeek:c,maxBullets:u}=e;const{currentSlideIndex:p}=(0,i.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t)})),[]),d=Math.min(n.length,u),m=Math.floor(d/2);let h,f=0,g=n.length-1;return n.length<=u||p<m?(h=p,g=d-1):p>=n.length-m?(h=p-n.length+d,f=n.length-d):(h=m,f=p-m,g=p+m),(0,r.createElement)("div",{className:"wp-story-pagination wp-story-pagination-bullets",role:"tablist"},f>0&&(0,r.createElement)(o.gT,{key:"bullet-0",index:f-1,progress:100,isEllipsis:!0}),(0,a.range)(1,d+1).map(((e,n)=>{const a=n+f;let i=null;if(a<p)i=100;else{if(!(a>p))return(0,r.createElement)(s,{playerId:t,key:`bullet-${n}`,index:a,disabled:l,isSelected:h===n,onClick:()=>c(a)});i=0}return(0,r.createElement)(o.gT,{key:`bullet-${n}`,index:a,progress:i,disabled:l,isSelected:h===n,onClick:()=>c(a)})})),g<n.length-1&&(0,r.createElement)(o.gT,{key:`bullet-${d+1}`,index:g+1,progress:0,isEllipsis:!0}))}},12378:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(97524),s=n(89105),l=n.n(s),c=n(9818),u=n(27870);t.Z=e=>{let{playerId:t,media:n,index:r,playing:s,uploading:p,settings:d,targetAspectRatio:m}=e;const{currentSlideIndex:h,buffering:f}=(0,c.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t),buffering:e("jetpack/story/player").isBuffering(t)})),[]),{slideReady:g}=(0,c.useDispatch)("jetpack/story/player"),b=r===h,v=(0,o.useRef)(null),[k,y]=(0,o.useState)(!1),[E,w]=(0,o.useState)(!0);return(0,o.useEffect)((()=>{if(b&&!E){const e=v.current&&v.current.src&&"video"===v.current.tagName.toLowerCase()?v.current:null;g(t,v.current,e?e.duration:d.imageTime)}}),[b,E]),(0,o.useEffect)((()=>{r<=h+(s?1:0)&&y(!0)}),[s,h]),(0,o.useLayoutEffect)((()=>{v.current&&(0,i.Z)(v.current).then((()=>{w(!1)}))}),[k,p]),(0,o.createElement)(o.Fragment,null,b&&(E||p||f)&&(0,o.createElement)("div",{className:l()("wp-story-slide","is-loading",{transparent:s&&f,"semi-transparent":p||!s&&f})},(0,o.createElement)(u.WB,null)),(0,o.createElement)("div",{role:"figure",className:"wp-story-slide",style:{display:b&&!E?"block":"none"},tabIndex:b?0:-1},k&&(0,o.createElement)(u.pU,a()({},n,{targetAspectRatio:m,cropUpTo:d.cropUpTo,index:r,mediaRef:v}))))}},46192:function(e,t,n){"use strict";function r(e,t){return{type:"SET_MUTED",value:t,playerId:e}}function a(e,t){return{type:"SET_PLAYING",value:t,playerId:e}}function o(e,t){return{type:"SHOW_SLIDE",index:t,playerId:e}}function i(e,t,n){return{type:"SLIDE_READY",mediaElement:t,duration:n,playerId:e}}function s(e,t){return{type:"SET_CURRENT_SLIDE_PROGRESS",value:t,playerId:e}}function l(e){return{type:"RESET_CURRENT_SLIDE_PROGRESS",playerId:e}}function c(e){return{type:"SET_CURRENT_SLIDE_ENDED",playerId:e}}function u(e,t){return{type:"SET_FULLSCREEN",playerId:e,fullscreen:t}}function p(e){return{type:"ENDED",playerId:e}}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"INIT",playerId:e,settings:t}}function m(e,t){return{type:"SET_BUFFERING",value:t,playerId:e}}n.r(t),n.d(t,{setMuted:function(){return r},setPlaying:function(){return a},showSlide:function(){return o},slideReady:function(){return i},setCurrentSlideProgress:function(){return s},resetCurrentSlideProgress:function(){return l},setCurrentSlideEnded:function(){return c},setFullscreen:function(){return u},setEnded:function(){return p},init:function(){return d},setBuffering:function(){return m}})},58571:function(e,t,n){"use strict";n.d(t,{XO:function(){return r},Qz:function(){return a},H2:function(){return o}});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},a={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},o={slideCount:0,currentSlide:a,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:"open",globalStyleElements:'#jetpack-block-story-css, link[href*="jetpack/_inc/blocks/story/view.css"]'},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},83566:function(e,t,n){"use strict";var r=n(46192),a=n(96494);const o=e=>e&&e.src&&"video"===e.tagName.toLowerCase();function i(e,t){const{getState:n}=t,r=e.playerId,i=(0,a.isMuted)(n(),r),s=(0,a.isPlaying)(n(),r),l=(0,a.getCurrentMediaElement)(n(),r),c=(0,a.getPreviousSlideMediaElement)(n(),r),u=(0,a.getSettings)(n(),r);o(c)&&(c.currentTime=0,c.onwaiting=null,c.onplaying=null,c.pause()),o(l)&&(i!==l.muted&&(l.muted=i,i||(l.volume=u.volume)),s?l.play():l.pause())}function s(e,t){const{getState:n,dispatch:i}=t,l=e.playerId,c=(0,a.isCurrentSlideReady)(n(),l),u=(0,a.isPlaying)(n(),l),p=(0,a.getCurrentSlideProgress)(n(),l);if(clearTimeout(p.timeout),!u||!c)return void(p.lastUpdate&&i((0,r.setCurrentSlideProgress)(l,{...p,lastUpdate:null})));const d=(0,a.getCurrentMediaElement)(n(),l),m=(0,a.getCurrentMediaDuration)(n(),l),h=p.lastUpdate?Date.now()-p.lastUpdate:100,f=o(d)?d.currentTime:p.currentTime+h/1e3;if(f>=m){i((0,r.setCurrentSlideEnded)(l));const e=(0,a.getSlideCount)(n(),l);(0,a.getCurrentSlideIndex)(n(),l)===e-1&&i((0,r.setEnded)(l))}else i((0,r.setCurrentSlideProgress)(l,{timeout:setTimeout((()=>s(e,t)),100),lastUpdate:Date.now(),duration:m,currentTime:f}))}t.Z={SET_PLAYING:[s,i],SLIDE_READY:[function(e,t){const{getState:n,dispatch:i}=t,s=e.playerId,l=(0,a.getCurrentMediaElement)(n(),s);if(!o(l))return;const c=(0,a.getCurrentSlideProgress)(n(),s);0===l.currentTime&&c.currentTime>0&&(l.currentTime=c.currentTime),l.onwaiting=()=>i((0,r.setBuffering)(s,!0)),l.onplaying=()=>i((0,r.setBuffering)(s,!1))},s,i],SET_MUTED:i,SHOW_SLIDE:i}},66930:function(e,t,n){"use strict";var r=n(9818),a=n(46192),o=n(96494),i=n(36978),s=n(2814);const l=(0,r.registerStore)("jetpack/story/player",{actions:a,reducer:s.Z,selectors:o});(0,i.Z)(l)},36978:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2601),a=n.n(r),o=n(92819),i=n(83566);function s(e){const t=[a()(i.Z)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},2814:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(58571);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.H2,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_SLIDE":{const n=e.currentSlide===t.index+1;return{...e,currentSlide:{...a.Qz,index:t.index},previousSlide:e.currentSlide,playing:n?e.settings.playOnNextSlide:e.playing}}case"SLIDE_READY":return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case"SET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case"SET_CURRENT_SLIDE_ENDED":return{...e,currentSlide:{...e.currentSlide,ended:!0}};case"RESET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:{...a.XO}}};case"SET_MUTED":return{...e,muted:t.value};case"SET_PLAYING":{const n=t.value&&e.ended;return{...e,playing:t.value,buffering:!!t.value&&e.buffering,fullscreen:!e.playing&&t.value?e.settings.playInFullscreen:e.fullscreen,ended:!n&&e.ended,currentSlide:n?{...a.Qz,index:0}:e.currentSlide,previousSlide:n?null:e.previousSlide}}case"SET_BUFFERING":return{...e,buffering:t.value};case"SET_FULLSCREEN":return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&&!t.fullscreen&&e.settings.playInFullscreen)&&e.playing};case"INIT":{const n=(0,r.merge)({},e.settings,t.settings);return{...e,settings:n,playing:n.playOnLoad,fullscreen:n.loadInFullscreen}}case"ENDED":return{...e,currentSlide:{...a.Qz,index:e.settings.slideCount-1,progress:{...a.XO,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.playerId?{...e,[t.playerId]:o(e[t.playerId],t)}:e}},96494:function(e,t,n){"use strict";function r(e,t){return!!e[t]}function a(e,t){return e[t].currentSlide.index}function o(e,t){return e[t].currentSlide.progress}function i(e,t){const n=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,a=Math.round(100*n/r);return a>=100?100:a}function s(e,t){return e[t].playing}function l(e,t){return e[t].muted}function c(e,t){return e[t].buffering}function u(e,t){return e[t].currentSlide.mediaElement}function p(e,t){return e[t].currentSlide.duration}function d(e,t){return e[t].currentSlide.ended}function m(e,t){return e[t].currentSlide.ready}function h(e,t){return e[t].previousSlide?.mediaElement}function f(e,t){return e[t].fullscreen}function g(e,t){return e[t].ended}function b(e,t){return e[t].settings}function v(e,t){return e[t].settings.slideCount}n.r(t),n.d(t,{isPlayerReady:function(){return r},getCurrentSlideIndex:function(){return a},getCurrentSlideProgress:function(){return o},getCurrentSlideProgressPercentage:function(){return i},isPlaying:function(){return s},isMuted:function(){return l},isBuffering:function(){return c},getCurrentMediaElement:function(){return u},getCurrentMediaDuration:function(){return p},hasCurrentSlideEnded:function(){return d},isCurrentSlideReady:function(){return m},getPreviousSlideMediaElement:function(){return h},isFullscreen:function(){return f},hasEnded:function(){return g},getSettings:function(){return b},getSlideCount:function(){return v}})},1436:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:o()("wp-story",t)})}},79885:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"},successMessage:{type:"string",default:__("Success! An email was just sent to confirm your subscription. Please find the email now and click 'Confirm Follow' to start subscribing.","jetpack")}}},87138:function(e,t,n){"use strict";n.d(t,{G0:function(){return r},Gp:function(){return a},S9:function(){return o},VF:function(){return i},K3:function(){return s},XJ:function(){return l},xV:function(){return c},bK:function(){return u},HE:function(){return p},Tr:function(){return d},pC:function(){return m},FP:function(){return h},tm:function(){return f}});const r=0,a=50,o=0,i=0,s=15,l=1,c=5,u=50,p=15,d=0,m=50,h=10,f="16px"},45643:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(80790),l=n(87138);const __=a.__;function c(e){let{buttonBackgroundColor:t,borderColor:n,buttonGradient:a,borderRadius:c,borderWeight:u,buttonOnNewLine:p,emailFieldBackgroundColor:d,fallbackButtonBackgroundColor:m,fallbackTextColor:h,fontSize:f,isGradientAvailable:g,padding:b,setAttributes:v,setButtonBackgroundColor:k,setTextColor:y,showSubscribersTotal:E,spacing:w,subscriberCount:_,textColor:C,buttonWidth:j,successMessage:S}=e;return(0,r.createElement)(r.Fragment,null,g&&(0,r.createElement)(i.__experimentalPanelColorGradientSettings,{title:__("Color Settings","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",settings:[{colorValue:t.color,onColorChange:k,gradientValue:a.gradientValue,onGradientChange:a.setGradient,label:__("Button Background Color","jetpack")},{colorValue:C.color,onColorChange:y,label:__("Button Text Color","jetpack")},{colorValue:n.color,onColorChange:e=>{v({borderColor:e,customBorderColor:e})},label:__("Border Color","jetpack")}],initialOpen:!0},(0,r.createElement)(i.ContrastChecker,{fontSize:f.size,textColor:C.color,backgroundColor:d.color,fallbackButtonBackgroundColor:m,fallbackTextColor:h})),!g&&(0,r.createElement)(i.PanelColorSettings,{title:__("Background Colors","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",colorSettings:[{value:t.color,onChange:k,label:__("Button Background Color","jetpack")},{value:C.color,onChange:y,label:__("Button Text Color","jetpack")},{value:n.color,onColorChange:e=>{v({borderColor:e,customBorderColor:e})},label:__("Border Color","jetpack")}],initialOpen:!1},(0,r.createElement)(i.ContrastChecker,{fontSize:f.size,textColor:C.color,backgroundColor:d.color,fallbackButtonBackgroundColor:m,fallbackTextColor:h})),(0,r.createElement)(o.PanelBody,{title:__("Text Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__textpanel"},(0,r.createElement)(i.FontSizePicker,{withSlider:!0,value:f.size,onChange:e=>{const t=e||l.tm;v({fontSize:t,customFontSize:t})}})),(0,r.createElement)(o.PanelBody,{title:__("Border Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__borderpanel"},(0,r.createElement)(o.RangeControl,{value:c,label:__("Border Radius","jetpack"),min:l.G0,max:l.Gp,initialPosition:l.S9,allowReset:!0,onChange:e=>v({borderRadius:e})}),(0,r.createElement)(o.RangeControl,{value:u,label:__("Border Weight","jetpack"),min:l.VF,max:l.K3,initialPosition:l.XJ,allowReset:!0,onChange:e=>v({borderWeight:e})})),(0,r.createElement)(o.PanelBody,{title:__("Spacing Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__spacingpanel"},(0,r.createElement)(o.RangeControl,{value:b,label:__("Space Inside","jetpack"),min:l.xV,max:l.bK,initialPosition:l.HE,allowReset:!0,onChange:e=>v({padding:e})}),(0,r.createElement)(o.RangeControl,{value:w,label:__("Space Between","jetpack"),min:l.Tr,max:l.pC,initialPosition:l.FP,allowReset:!0,onChange:e=>v({spacing:e})}),(0,r.createElement)(s.h,{width:j,onChange:e=>v({buttonWidth:e})})),(0,r.createElement)(o.PanelBody,{title:__("Display Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__displaypanel"},(0,r.createElement)(o.ToggleControl,{label:__("Show subscriber count","jetpack"),checked:E,onChange:()=>{v({showSubscribersTotal:!E})},help:()=>{if(!_||_<1)return __("This will remain hidden on your website until you have at least one subscriber.","jetpack")}}),(0,r.createElement)(o.ToggleControl,{label:__("Place button on new line","jetpack"),checked:p,onChange:()=>{v({buttonOnNewLine:!p})}})),(0,r.createElement)(o.PanelBody,{title:__("Success Message Text","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__successpanel"},(0,r.createElement)(o.TextareaControl,{value:S,label:__("Success Message Text","jetpack"),hideLabelFromVision:!0,help:__("Save your custom message to display when a user subscribes your website.","jetpack"),onChange:e=>v({successMessage:e})})))}},58363:function(e,t,n){"use strict";var r=n(26233),a=n(80960),o=n(28897),i=n(73300),s=n(56286),l=n(16949);t.Z=[l.Z,s.Z,i.Z,o.Z,a.Z,r.Z]},26233:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(92819);const __=a.__;t.Z={attributes:{subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:e=>({submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal}),isEligible:e=>!(!e.hasOwnProperty("subscribeButton")||!(0,o.isEmpty)(e.subscribeButton)),save:function(e){let{attributes:t}=e;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_subscribers_total="${t.showSubscribersTotal}" show_only_email_and_button="true"]`)}}},80960:function(e,t,n){"use strict";var r=n(65736),a=n(51268);const __=r.__;t.Z={attributes:{subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},migrate:e=>({subscribePlaceholder:e.subscribePlaceholder,showSubscribersTotal:e.showSubscribersTotal,buttonOnNewLine:!0,submitButtonText:e.submitButtonText,buttonBackgroundColor:e.backgroundButtonColor?e.backgroundButtonColor:"primary",customButtonBackgroundColor:e.customBackgroundButtonColor,textColor:e.textButtonColor?e.textButtonColor:"background",customTextColor:e.customTextButtonColor}),save:a.Z}},51268:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{showSubscribersTotal:n,submitButtonClasses:a,customBackgroundButtonColor:o,customTextButtonColor:i,submitButtonText:s}=t;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="${o}" custom_text_button_color="${i}" submit_button_text="${s}" submit_button_classes="${a}" show_subscribers_total="${n}" ]`)}},80929:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Enter your email address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Sign Up","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"number"},customFontSize:{type:"number"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},69283:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(80929);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const{subscribePlaceholder:o,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:p,customEmailFieldBackgroundColor:d,emailFieldGradient:m,customEmailFieldGradient:h,buttonBackgroundColor:f,customButtonBackgroundColor:g,buttonGradient:b,customButtonGradient:v,textColor:k,customTextColor:y,fontSize:E,customFontSize:w,borderRadius:_,borderWeight:C,borderColor:j,customBorderColor:S,padding:x,spacing:T}=t,N=!!a.__experimentalGetGradientClass,A=(0,a.getColorClassName)("color",k),P=(0,a.getFontSizeClass)(E),I=(0,a.getColorClassName)("border-color",j),M=(0,a.getColorClassName)("background-color",f),R=N?(0,a.__experimentalGetGradientClass)(b):void 0,L=(0,a.getColorClassName)("background-color",p),B=N?(0,a.__experimentalGetGradientClass)(m):void 0,Z=i()(0===_?"no-border-radius":void 0,P,I),F=i()(Z,k?"has-text-color":void 0,A,f||b?"has-background":void 0,M,R),D=i()(Z,L,B),O=!L&&h?h:d,z=!M&&v?v:g,U=()=>i()(e,"wp-block-jetpack-subscriptions__supports-newline",c?"wp-block-jetpack-subscriptions__use-newline":void 0,l?"wp-block-jetpack-subscriptions__show-subs":void 0);let $=o,V=u;return"check-text-defaults"===n&&($=o===s.Z.subscribePlaceholder.default?"Enter your email address":o,V=u===s.Z.submitButtonText.default?"Sign Up":u),(0,r.createElement)("div",{className:U()},(0,r.createElement)(r.RawHTML,null,`\n\t\t\t[jetpack_subscription_form\n\t\t\t\tsubscribe_placeholder="${$}"\n\t\t\t\tshow_subscribers_total="${l}"\n\t\t\t\tbutton_on_newline="${c}"\n\t\t\t\tsubmit_button_text="${V}"\n\t\t\t\tcustom_background_emailfield_color="${O}"\n\t\t\t\tcustom_background_button_color="${z}"\n\t\t\t\tcustom_text_button_color="${y}"\n\t\t\t\tcustom_font_size="${w||16}"\n\t\t\t\tcustom_border_radius="${_||0}"\n\t\t\t\tcustom_border_weight="${C||1}"\n\t\t\t\tcustom_border_color="${S}"\n\t\t\t\tcustom_padding="${x||15}"\n\t\t\t\tcustom_spacing="${T||10}"\n\t\t\t\tsubmit_button_classes="${F}"\n\t\t\t\temail_field_classes="${D}"\n\t\t\t\tshow_only_email_and_button="true"\n\t\t\t]`))}},28897:function(e,t,n){"use strict";var r=n(80929),a=n(69283);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n)}}},73300:function(e,t,n){"use strict";var r=n(80929),a=n(69283);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n,"check-text-defaults")}}},56286:function(e,t,n){"use strict";var r=n(80929),a=n(14556);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:a.ZP}},14556:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(80929);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:j,borderColor:S,customBorderColor:x,padding:T,spacing:N}=n,A=!!a.__experimentalGetGradientClass,P=(0,a.getColorClassName)("color",y),I=(0,a.getFontSizeClass)(w),M=(0,a.getColorClassName)("border-color",S),R=(0,a.getColorClassName)("background-color",g),L=A?(0,a.__experimentalGetGradientClass)(v):void 0,B=(0,a.getColorClassName)("background-color",d),Z=A?(0,a.__experimentalGetGradientClass)(h):void 0,F=i()(0===C?"no-border-radius":void 0,I,M),D=i()(F,y?"has-text-color":void 0,P,g||v?"has-background":void 0,R,L),O=i()(F,B,Z),z=!B&&f?f:m,U=!R&&k?k:b,$={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:z,custom_background_button_color:U,custom_text_button_color:E,custom_font_size:_||16,custom_border_radius:C||0,custom_border_weight:j||1,custom_border_color:x,custom_padding:T||15,custom_spacing:N||10,submit_button_classes:D,email_field_classes:O,show_only_email_and_button:!0},V=(0,s.reduce)($,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${V}]`))}},61798:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},16949:function(e,t,n){"use strict";var r=n(61798),a=n(75799);t.Z={attributes:r.Z,save:a.Z}},75799:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(61798);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:j,borderColor:S,customBorderColor:x,padding:T,spacing:N,buttonWidth:A}=n,P=!!a.__experimentalGetGradientClass,I=(0,a.getColorClassName)("color",y),M=(0,a.getFontSizeClass)(w),R=(0,a.getColorClassName)("border-color",S),L=(0,a.getColorClassName)("background-color",g),B=P?(0,a.__experimentalGetGradientClass)(v):void 0,Z=(0,a.getColorClassName)("background-color",d),F=P?(0,a.__experimentalGetGradientClass)(h):void 0,D=i()(0===C?"no-border-radius":void 0,M,R),O=i()(D,y?"has-text-color":void 0,I,g||v?"has-background":void 0,L,B),z=i()(D,Z,F),U=!Z&&f?f:m,$=!L&&k?k:b,V=A||void 0,G={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:U,custom_background_button_color:$,custom_text_button_color:E,custom_font_size:_||"16px",custom_border_radius:C||0,custom_border_weight:j||1,custom_border_color:x,custom_button_width:V,custom_padding:T||15,custom_spacing:N||10,submit_button_classes:O,email_field_classes:z,show_only_email_and_button:!0},q=(0,s.reduce)(G,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${q}]`))}},73228:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(86989),l=n.n(s),c=n(65736),u=n(55609),p=n(52175),d=n(94333),m=n(79885),h=n(14087),f=n(87138),g=n(45643);const __=c.__,_n=c._n,{getComputedStyle:b}=window,v=!!p.__experimentalUseGradient,k=(0,u.withFallbackStyles)(((e,t)=>{const{buttonBackgroundColor:n,textColor:r}=t,a=n&&n.color,o=r&&r.color,i=e.querySelector(".wp-block-jetpack-subscriptions__button");return{fallbackButtonBackgroundColor:a||!e?void 0:i&&b(i).backgroundColor,fallbackTextColor:o||!e?void 0:i&&b(i).color}}));t.Z=(0,d.compose)([(0,p.withColors)({emailFieldBackgroundColor:"backgroundColor"},{buttonBackgroundColor:"backgroundColor"},{textColor:"color"},"borderColor"),(0,p.withFontSizes)("fontSize"),k])((function(e){const{className:t,attributes:n,setAttributes:a,emailFieldBackgroundColor:s,buttonBackgroundColor:d,setButtonBackgroundColor:b,fallbackButtonBackgroundColor:k,textColor:y,fallbackTextColor:E,setTextColor:w,borderColor:_,fontSize:C}=e,j=(0,h.S)(m.Z,n);(0,i.isEqual)(j,n)||a(j);const{borderRadius:S,borderWeight:x,buttonWidth:T,padding:N,spacing:A,submitButtonText:P,subscribePlaceholder:I,showSubscribersTotal:M,buttonOnNewLine:R,successMessage:L}=j,[B,Z]=(0,r.useState)(""),[F,D]=(0,r.useState)(""),O=v?(0,p.__experimentalUseGradient)({gradientAttribute:"emailFieldGradient",customGradientAttribute:"customEmailFieldGradient"}):{},z=v?(0,p.__experimentalUseGradient)({gradientAttribute:"buttonGradient",customGradientAttribute:"customButtonGradient"}):{},U={"no-border-radius":0===S,[C.class]:C.class,"has-text-color":y.color,[y.class]:y.class},$={...U,"has-background":s.color||O.gradientValue,[s.class]:!O.gradientValue&&s.class,[O.gradientClass]:O.gradientClass},V={...U,"has-background":d.color||z.gradientValue,[d.class]:!z.gradientValue&&d.class,[z.gradientClass]:z.gradientClass},G=e=>e||f.FP,q={color:y.color,borderColor:_.color,borderRadius:S?S+"px":f.S9+"px",borderWidth:x?x+"px":f.XJ+"px",fontSize:C.size?C.size:f.tm,padding:(e=>{const t=e||f.HE;return t+"px "+Math.round(1.5*t)+"px "+t+"px "+Math.round(1.5*t)+"px"})(N)},H={...q,...!s.color&&O.gradientValue?{background:O.gradientValue}:{backgroundColor:s.color}},W={...q,...!d.color&&z.gradientValue?{background:z.gradientValue}:{backgroundColor:d.color},...R?{marginTop:G(A)+"px"}:{marginLeft:G(A)+"px"},width:T};return(0,r.useEffect)((()=>{l()({path:"/wpcom/v2/subscribers/count"}).then((e=>{e.hasOwnProperty("count")?(Z((0,c.sprintf)(
+__("Go to slide %d","jetpack"),a+1)),(0,r.createElement)(s.Button,{role:p?"presentation":"tab",key:a,className:o()("wp-story-pagination-bullet",{"wp-story-pagination-ellipsis":t}),"aria-label":d,"aria-disabled":p||l,onClick:p||l?void 0:u,disabled:p},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar"},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar-progress",style:{width:`${c}%`}})))}},44689:function(e,t,n){"use strict";n.d(t,{b:function(){return l},r:function(){return c}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i);const l=e=>{let{className:t,size:n,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button","circle-icon","outlined","bordered",t),style:{width:`${n}px`,height:`${n}px`}},l))},c=e=>{let{className:t,size:n=24,label:r,isPressed:i,...l}=e;return(0,o.createElement)("button",a()({type:"button","aria-label":r,"aria-pressed":i,className:s()("jetpack-mdc-icon-button",t),style:{width:`${n}px`,height:`${n}px`}},l))}},51543:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("div",{className:"wp-story-loading-spinner"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__outer"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__inner"})))},85584:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(44689),i=n(89620);const _x=a._x;function s(e){let{playing:t,muted:n,onPlayPressed:a,onMutePressed:s,showMute:l}=e;return(0,r.createElement)("div",{className:"wp-story-controls"},(0,r.createElement)(o.r,{isPressed:t,label:t?_x("pause","Button tooltip text","jetpack"):_x("play","Button tooltip text","jetpack",0),onClick:a},t?(0,r.createElement)(i.fp,null):(0,r.createElement)(i.o1,null)),l&&(0,r.createElement)(o.r,{isPressed:n,label:n?_x("unmute","Button tooltip text","jetpack"):_x("mute","Button tooltip text","jetpack",0),onClick:s},n?(0,r.createElement)(i.xb,null):(0,r.createElement)(i.MC,null)))}},14904:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65736),o=n(44689),i=n(89620);const __=a.__;function s(e){let{fullscreen:t,onExitFullscreen:n,siteIconUrl:a,storyTitle:s}=e;return t?(0,r.createElement)("div",{className:"wp-story-meta"},(0,r.createElement)("div",{className:"wp-story-icon"},(0,r.createElement)("img",{alt:__("Site icon","jetpack"),src:a,width:"40",height:"40"})),(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"wp-story-title"},s)),(0,r.createElement)(o.r,{className:"wp-story-exit-fullscreen",label:__("Exit Fullscreen","jetpack"),onClick:n},(0,r.createElement)(i.Tw,null))):null}},89620:function(e,t,n){"use strict";n.d(t,{JM:function(){return d},MC:function(){return u},Tw:function(){return c},Vq:function(){return m},fp:function(){return l},o1:function(){return s},xb:function(){return p}});var r=n(69307),a=n(55609),o=n(36598);const i=e=>{let{children:t,size:n}=e;return(0,o.Z)(t,n,n)},s=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M8 5v14l11-7z"}))},l=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}))},c=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))},u=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}))},p=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}))},d=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}))},m=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(a.Path,{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}))}},69835:function(e,t,n){"use strict";n.d(t,{Aq:function(){return s.Z},WB:function(){return l.Z},ZX:function(){return a.Z},aV:function(){return i.Z},gT:function(){return r.Z},h4:function(){return o.Z},pU:function(){return c.pU}});var r=n(94754),a=n(85584),o=n(14904),i=n(74629),s=n(19395),l=n(51543),c=n(41126);n(44689)},41126:function(e,t,n){"use strict";n.d(t,{pU:function(){return u}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i);const l=e=>{let{title:t,alt:n,className:r,id:a,mediaRef:i,mime:l,sizes:c,srcset:u,url:p}=e;return(0,o.createElement)("img",{ref:i,"data-id":a,"data-mime":l,title:t,alt:n,src:p,className:s()("wp-story-image",`wp-image-${a}`,r),srcSet:u,sizes:c})},c=e=>{let{title:t,className:n,id:r,mediaRef:a,mime:i,url:l,poster:c}=e;return(0,o.createElement)("video",{className:s()("wp-story-video","intrinsic-ignore",`wp-video-${r}`,n),ref:a,"data-id":r,title:t,type:i,src:l,poster:c,tabIndex:-1,preload:"auto",playsInline:!0})},u=e=>{let{targetAspectRatio:t,cropUpTo:n,type:r,width:i,height:s,...u}=e,p=null;if(i&&s){const e=i/s;if(e>=t){e>t/(1-n)||(p="wp-story-crop-wide")}else{e<t*(1-n)||(p="wp-story-crop-narrow")}}const d="video"===r||(u.mime||"").startsWith("video/");return(0,o.createElement)("figure",null,d?(0,o.createElement)(c,a()({},u,{className:p})):(0,o.createElement)(l,a()({},u,{className:p})))}},74629:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(99891),o=n(65736),i=n(44689),s=n(89620);const __=o.__;function l(e){let{ended:t,hasPrevious:n,onNextSlide:l,onPreviousSlide:c,icon:u,slideCount:p,showSlideCount:d}=e;const m=(0,r.useCallback)((e=>{t||(e.stopPropagation(),c())}),[c,t]),h=(0,r.useCallback)((e=>{t||(e.stopPropagation(),l())}),[l,t]);return(0,r.createElement)("div",{className:"wp-story-overlay"},d&&(0,r.createElement)("div",{className:"wp-story-embed-icon"},u,(0,r.createElement)("span",null,p)),!d&&(0,r.createElement)("div",{className:"wp-story-embed-icon-expand"},(0,r.createElement)(a.Z,{role:"img"})),n&&(0,r.createElement)("div",{className:"wp-story-prev-slide",onClick:m},(0,r.createElement)(i.b,{size:44,label:__("Previous Slide","jetpack"),className:"outlined-w"},(0,o.isRTL)()?(0,r.createElement)(s.Vq,{size:24}):(0,r.createElement)(s.JM,{size:24}))),(0,r.createElement)("div",{className:"wp-story-next-slide",onClick:h},(0,r.createElement)(i.b,{size:44,label:__("Next Slide","jetpack"),className:"outlined-w"},(0,o.isRTL)()?(0,r.createElement)(s.JM,{size:24}):(0,r.createElement)(s.Vq,{size:24}))))}},93340:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(65235),o=n.n(a),i=n(74240),s=n(47591),l=n(7449);const c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function u(e){let{className:t,fullscreenClassName:n,bodyFullscreenClassName:a,fullscreen:u,shadowDOM:p,onKeyDown:d,onExitFullscreen:m,playerQuerySelector:h,children:f}=e;const g=(0,r.useRef)(),b=(0,r.useRef)(),[v,k]=(0,r.useState)(null),y=c&&s.am(),E=u&&!y,w=u&&y;return(0,r.useLayoutEffect)((()=>{if(y)u?g.current&&s.uP(g.current,m):s.bG()&&s.JF();else if(u){if(k([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(a),document.getElementsByTagName("html")[0].classList.add(a),b.current){const e=b.current.querySelector(h);e&&e.focus()}}else if(document.body.classList.remove(a),document.getElementsByTagName("html")[0].classList.remove(a),v){window.scrollTo(...v);const e=g.current.querySelector(h);e&&e.focus()}}),[u]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,p,(0,r.createElement)("div",{ref:g,className:o()(t,{[n]:w}),onKeyDown:d},!E&&f)),(0,r.createElement)(l.Z,{className:o()(t,{[n]:E}),isOpened:E,onRequestClose:m,shadowDOM:p,onKeyDown:E&&d,focusOnMount:!1,modalRef:b},E&&f))}},73022:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(9818),o=n(39630),i=(n(31179),n(75096)),s=n(93340);function l(e){let{id:t,slides:n,metadata:l,disabled:c,...u}=e;const p=(0,r.useMemo)((()=>t||Math.random().toString(36)),[t]),{init:d,setEnded:m,setPlaying:h,setFullscreen:f,showSlide:g}=(0,a.useDispatch)("jetpack/story/player"),{playing:b,currentSlideIndex:v,fullscreen:k,isReady:y,playerSettings:E}=(0,a.useSelect)((e=>{const{getCurrentSlideIndex:t,getSettings:n,isFullscreen:r,isPlayerReady:a,isPlaying:o}=e("jetpack/story/player");return a(p)?{playing:o(p),currentSlideIndex:t(p),isReady:!0,fullscreen:r(p),playerSettings:n(p)}:{isReady:!1}}),[p]);(0,r.useEffect)((()=>{y||d(p,{slideCount:n.length,...u})}),[y,p]);const w=(0,r.useCallback)((e=>{switch(e.keyCode){case o.ENTER:if(k)break;case o.SPACE:h(p,!b);break;case o.LEFT:v>0&&g(p,v-1);break;case o.RIGHT:v<n.length-1?g(p,v+1):m(p)}}),[p,v,k,b]),_=(0,r.useCallback)((()=>{f(p,!1)}),[p]);return y?(0,r.createElement)(s.Z,{shadowDOM:E.shadowDOM,className:"wp-story-app",fullscreenClassName:"wp-story-fullscreen",bodyFullscreenClassName:"wp-story-in-fullscreen",playerQuerySelector:".wp-story-container",fullscreen:k,onExitFullscreen:_,onKeyDown:w},(0,r.createElement)(i.Z,{id:p,slides:n,metadata:l,disabled:c})):null}},47591:function(e,t,n){"use strict";n.d(t,{JF:function(){return i},am:function(){return r},bG:function(){return a},uP:function(){return o}});const r=()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,a=()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,o=(e,t)=>{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=>{document.fullscreenElement||(document.removeEventListener("fullscreenchange",e),t())};document.addEventListener("fullscreenchange",e)}},i=()=>(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},74240:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);const a=window&&window.Element&&window.Element.prototype.hasOwnProperty("attachShadow");function o(e){let{enabled:t,delegatesFocus:n=!1,mode:o="open",globalStyleElements:s=[],adoptedStyleSheets:l=null,mountOnElement:c=null,children:u}=e;const[p,d]=(0,r.useState)(null),m=c||p,[h,f]=(0,r.useState)(null),g="string"==typeof s?[...document.querySelectorAll(s)]:s,b=a&&t&&g.length>0,v=(0,r.useCallback)((e=>{null!==e&&d(e.parentNode)}),[]);if((0,r.useEffect)((()=>{if(!m)return;if(m.shadowRoot)return void f(m.shadowRoot);const e=m.attachShadow({delegatesFocus:n,mode:o});l&&(e.adoptedStyleSheets=l),f(e)}),[m]),b&&!h)return c?null:(0,r.createElement)("span",{ref:v});const k=(0,r.createElement)(r.Fragment,null,b&&(0,r.createElement)(i,{globalStyleElements:g}),u);return b?(0,r.createPortal)(k,h):k}function i(e){let{globalStyleElements:t}=e;return(0,r.createElement)(r.Fragment,null,t.map(((e,t)=>{let{id:n,tagName:a,attributes:o,innerHTML:i}=e;return"LINK"===a?(0,r.createElement)("link",{key:n||t,id:n,rel:o.rel.value,href:o.href.value}):"STYLE"===a?(0,r.createElement)("style",{key:n||t,id:n},i):void 0})))}},64930:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{const t=(0,r.useRef)(),n=(0,r.useRef)(),a=(0,r.useRef)(e),o=(0,r.useCallback)((e=>{e.touches&&1===e.touches.length&&e.preventDefault()}),[]);return(0,r.useEffect)((()=>{a.current=e}),[e]),{onTouchStart:(0,r.useCallback)((e=>{e.target&&(e.target.addEventListener("touchend",o,{passive:!1}),n.current=e.target),t.current=setTimeout((()=>{a.current&&a.current(!0),t.current=null}),200)}),[]),onTouchEnd:(0,r.useCallback)((e=>{t.current?clearTimeout(t.current):(a.current&&a.current(!1),e.stopPropagation()),n.current&&n.current.removeEventListener("touchend",o)}),[])}}},3065:function(e,t,n){"use strict";async function r(e){const t=e.tagName.toLowerCase();if("img"===t){if(e.complete)return;await new Promise((t=>{e.addEventListener("load",t,{once:!0})}))}else if("video"===t||"audio"===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise((t=>{e.addEventListener("canplaythrough",t,{once:!0}),e.addEventListener("load",t,{once:!0}),e.HAVE_NOTHING===e.readyState&&e.networkState!==e.NETWORK_LOADING&&e.load()}))}}n.d(t,{Z:function(){return r}})},89082:function(e,t,n){"use strict";n.d(t,{BM:function(){return s},i1:function(){return l}});var r=n(92819);const a=new Set(["alert","status","log","marquee","timer"]);let o=[],i=!1;function s(e){if(i)return;const t=document.body.children;(0,r.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||a.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),o.push(t))})),i=!0}function l(){i&&((0,r.forEach)(o,(e=>{e.removeAttribute("aria-hidden")})),o=[],i=!1)}},43520:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(39630),o=n(94333);function i(e){let{overlayClassName:t,children:n,className:i,focusOnMount:s,shouldCloseOnEsc:l=!0,onRequestClose:c,onKeyDown:u,modalRef:p}=e;const d=(0,o.useFocusOnMount)(s),m=(0,o.useConstrainedTabbing)(),h=(0,o.useFocusReturn)();return(0,r.createElement)("div",{className:t,onKeyDown:function(e){l&&e.keyCode===a.ESCAPE&&(e.stopPropagation(),c&&c(e)),e.target&&"button"===e.target.tagName.toLowerCase()&&e.keyCode===a.SPACE||u&&u(e)}},(0,r.createElement)("div",{className:i,ref:(0,o.useMergeRefs)([m,h,d,p])},n))}},7449:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(94333),s=n(74240),l=n(43520),c=n(89082);let u,p=0;const d=()=>{};class m extends o.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){p++,1===p&&this.openFirstModal()}componentWillUnmount(){p--,0===p&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){u||(u=document.createElement("div"),document.body.appendChild(u)),this.node=document.createElement("div"),u.appendChild(this.node),this.node.ontouchstart=d,this.node.ontouchend=d}cleanDOM(){u.removeChild(this.node)}openFirstModal(){c.BM(u)}closeLastModal(){c.i1()}render(){const{children:e,isOpened:t,shadowDOM:n,...r}=this.props;return(0,o.createElement)(s.Z,a()({},n,{mountOnElement:this.node}),t&&(0,o.createElement)(l.Z,r,e))}}m.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0},t.Z=(0,i.withInstanceId)(m)},75096:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(92819),c=n(11313),u=n(94333),p=n(65736),d=n(9818),m=n(63408),h=n(66512),f=n(68440),g=n(69835),b=n(64930);const __=p.__;function v(e){let{id:t,slides:n,metadata:r,disabled:i}=e;const{setFullscreen:p,setEnded:v,setPlaying:k,setMuted:y,showSlide:E}=(0,d.useDispatch)("jetpack/story/player"),{playing:w,muted:_,currentSlideIndex:C,currentSlideEnded:S,ended:j,fullscreen:x,settings:P}=(0,d.useSelect)((e=>{const{getCurrentSlideIndex:n,getSettings:r,hasCurrentSlideEnded:a,hasEnded:o,isFullscreen:i,isMuted:s,isPlaying:l}=e("jetpack/story/player");return{playing:l(t),muted:s(t),currentSlideIndex:n(t),currentSlideEnded:a(t),ended:o(t),fullscreen:i(t),settings:r(t)}}),[t]),T=(0,o.useRef)(),[N,A]=(0,o.useState)(null),[M,{width:I,height:R}]=(0,u.useResizeObserver)(),[L,B]=(0,o.useState)(P.defaultAspectRatio),Z=(0,l.some)(n,(e=>(0,c.isBlobURL)(e.url))),D=e=>{E(t,e)},F=(0,o.useCallback)((()=>{i||x||P.playInFullscreen&&!w&&k(t,!0)}),[w,i,x]),{onTouchStart:O,onTouchEnd:z}=(0,b.Z)((e=>{k(t,!e)}),[]),U=(0,o.useCallback)((()=>{C>0&&D(C-1)}),[C]),$=(0,o.useCallback)((()=>{C<n.length-1?D(C+1):v(t)}),[C,n]),V=(0,o.useCallback)((()=>{p(t,!1)}),[]);let G,H;return(0,o.useEffect)((()=>{i&&w&&k(t,!1)}),[i,w]),(0,o.useEffect)((()=>{w&&S&&$()}),[w,S]),(0,o.useLayoutEffect)((()=>{if(!T.current)return;let e=Math.round(P.defaultAspectRatio*T.current.offsetHeight);x&&(e=Math.abs(1-e/I)<P.cropUpTo?I:e),A(e)}),[I,R,x]),(0,o.useLayoutEffect)((()=>{N&&T.current&&T.current.offsetHeight>0&&B(N/T.current.offsetHeight)}),[N]),G=x?[__("You are currently playing a story.","jetpack"),w?__("Press space to pause.","jetpack"):__("Press space to play.","jetpack",0),__("Press escape to exit.","jetpack")].join(" "):__("Play story","jetpack"),H=i?"presentation":x?"dialog":"button",(0,o.createElement)("div",{className:"wp-story-display-contents"},M,(0,o.createElement)("div",{role:H,"aria-label":G,tabIndex:x?-1:0,className:s()("wp-story-container",{"wp-story-with-controls":!i&&!x&&!P.playInFullscreen,"wp-story-fullscreen":x,"wp-story-ended":j,"wp-story-disabled":i,"wp-story-clickable":!i&&!x}),style:{maxWidth:`${N}px`},onClick:F,onTouchStart:O,onTouchEnd:z},(0,o.createElement)(g.h4,a()({},r,{fullscreen:x,onExitFullscreen:V})),(0,o.createElement)("div",{ref:T,className:"wp-story-wrapper"},n.map(((e,n)=>(0,o.createElement)(m.Z,{playerId:t,key:n,media:e,index:n,playing:!i&&w,uploading:Z,settings:P,targetAspectRatio:L})))),(0,o.createElement)(g.aV,{icon:h.Z,slideCount:n.length,showSlideCount:P.showSlideCount,ended:j,hasPrevious:C>0,onPreviousSlide:U,onNextSlide:$}),P.showProgressBar&&(0,o.createElement)(f.ZP,{playerId:t,slides:n,disabled:!x,onSlideSeek:D,maxBullets:x?P.maxBulletsFullscreen:P.maxBullets}),(0,o.createElement)(g.ZX,{playing:w,muted:_,onPlayPressed:()=>k(t,!w),onMutePressed:()=>y(t,!_),showMute:(e=>{const t=e<n.length?n[e]:null;return!!t&&("video"===t.type||(t.mime||"").startsWith("video/"))})(C)})),x&&(0,o.createElement)(g.Aq,{currentMedia:P.blurredBackground&&n.length>C&&n[C]}))}},68440:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(69835),i=n(9818);const s=e=>{let{key:t,playerId:n,index:a,disabled:s,isSelected:l,onClick:c}=e;const u=(0,i.useSelect)((e=>e("jetpack/story/player").getCurrentSlideProgressPercentage(n)),[]);return(0,r.createElement)(o.gT,{key:t,index:a,progress:u,disabled:s,isSelected:l,onClick:c})};t.ZP=e=>{let{playerId:t,slides:n,disabled:l,onSlideSeek:c,maxBullets:u}=e;const{currentSlideIndex:p}=(0,i.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t)})),[]),d=Math.min(n.length,u),m=Math.floor(d/2);let h,f=0,g=n.length-1;return n.length<=u||p<m?(h=p,g=d-1):p>=n.length-m?(h=p-n.length+d,f=n.length-d):(h=m,f=p-m,g=p+m),(0,r.createElement)("div",{className:"wp-story-pagination wp-story-pagination-bullets",role:"tablist"},f>0&&(0,r.createElement)(o.gT,{key:"bullet-0",index:f-1,progress:100,isEllipsis:!0}),(0,a.range)(1,d+1).map(((e,n)=>{const a=n+f;let i=null;if(a<p)i=100;else{if(!(a>p))return(0,r.createElement)(s,{playerId:t,key:`bullet-${n}`,index:a,disabled:l,isSelected:h===n,onClick:()=>c(a)});i=0}return(0,r.createElement)(o.gT,{key:`bullet-${n}`,index:a,progress:i,disabled:l,isSelected:h===n,onClick:()=>c(a)})})),g<n.length-1&&(0,r.createElement)(o.gT,{key:`bullet-${d+1}`,index:g+1,progress:0,isEllipsis:!0}))}},63408:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(3065),s=n(65235),l=n.n(s),c=n(9818),u=n(69835);t.Z=e=>{let{playerId:t,media:n,index:r,playing:s,uploading:p,settings:d,targetAspectRatio:m}=e;const{currentSlideIndex:h,buffering:f}=(0,c.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t),buffering:e("jetpack/story/player").isBuffering(t)})),[]),{slideReady:g}=(0,c.useDispatch)("jetpack/story/player"),b=r===h,v=(0,o.useRef)(null),[k,y]=(0,o.useState)(!1),[E,w]=(0,o.useState)(!0);return(0,o.useEffect)((()=>{if(b&&!E){const e=v.current&&v.current.src&&"video"===v.current.tagName.toLowerCase()?v.current:null;g(t,v.current,e?e.duration:d.imageTime)}}),[b,E]),(0,o.useEffect)((()=>{r<=h+(s?1:0)&&y(!0)}),[s,h]),(0,o.useLayoutEffect)((()=>{v.current&&(0,i.Z)(v.current).then((()=>{w(!1)}))}),[k,p]),(0,o.createElement)(o.Fragment,null,b&&(E||p||f)&&(0,o.createElement)("div",{className:l()("wp-story-slide","is-loading",{transparent:s&&f,"semi-transparent":p||!s&&f})},(0,o.createElement)(u.WB,null)),(0,o.createElement)("div",{role:"figure",className:"wp-story-slide",style:{display:b&&!E?"block":"none"},tabIndex:b?0:-1},k&&(0,o.createElement)(u.pU,a()({},n,{targetAspectRatio:m,cropUpTo:d.cropUpTo,index:r,mediaRef:v}))))}},29154:function(e,t,n){"use strict";function r(e,t){return{type:"SET_MUTED",value:t,playerId:e}}function a(e,t){return{type:"SET_PLAYING",value:t,playerId:e}}function o(e,t){return{type:"SHOW_SLIDE",index:t,playerId:e}}function i(e,t,n){return{type:"SLIDE_READY",mediaElement:t,duration:n,playerId:e}}function s(e,t){return{type:"SET_CURRENT_SLIDE_PROGRESS",value:t,playerId:e}}function l(e){return{type:"RESET_CURRENT_SLIDE_PROGRESS",playerId:e}}function c(e){return{type:"SET_CURRENT_SLIDE_ENDED",playerId:e}}function u(e,t){return{type:"SET_FULLSCREEN",playerId:e,fullscreen:t}}function p(e){return{type:"ENDED",playerId:e}}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"INIT",playerId:e,settings:t}}function m(e,t){return{type:"SET_BUFFERING",value:t,playerId:e}}n.r(t),n.d(t,{init:function(){return d},resetCurrentSlideProgress:function(){return l},setBuffering:function(){return m},setCurrentSlideEnded:function(){return c},setCurrentSlideProgress:function(){return s},setEnded:function(){return p},setFullscreen:function(){return u},setMuted:function(){return r},setPlaying:function(){return a},showSlide:function(){return o},slideReady:function(){return i}})},17380:function(e,t,n){"use strict";n.d(t,{H2:function(){return o},Qz:function(){return a},XO:function(){return r}});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},a={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},o={slideCount:0,currentSlide:a,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:"open",globalStyleElements:'#jetpack-block-story-css, link[href*="jetpack/_inc/blocks/story/view.css"]'},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},78733:function(e,t,n){"use strict";var r=n(29154),a=n(20876);const o=e=>e&&e.src&&"video"===e.tagName.toLowerCase();function i(e,t){const{getState:n}=t,r=e.playerId,i=(0,a.isMuted)(n(),r),s=(0,a.isPlaying)(n(),r),l=(0,a.getCurrentMediaElement)(n(),r),c=(0,a.getPreviousSlideMediaElement)(n(),r),u=(0,a.getSettings)(n(),r);o(c)&&(c.currentTime=0,c.onwaiting=null,c.onplaying=null,c.pause()),o(l)&&(i!==l.muted&&(l.muted=i,i||(l.volume=u.volume)),s?l.play():l.pause())}function s(e,t){const{getState:n,dispatch:i}=t,l=e.playerId,c=(0,a.isCurrentSlideReady)(n(),l),u=(0,a.isPlaying)(n(),l),p=(0,a.getCurrentSlideProgress)(n(),l);if(clearTimeout(p.timeout),!u||!c)return void(p.lastUpdate&&i((0,r.setCurrentSlideProgress)(l,{...p,lastUpdate:null})));const d=(0,a.getCurrentMediaElement)(n(),l),m=(0,a.getCurrentMediaDuration)(n(),l),h=p.lastUpdate?Date.now()-p.lastUpdate:100,f=o(d)?d.currentTime:p.currentTime+h/1e3;if(f>=m){i((0,r.setCurrentSlideEnded)(l));const e=(0,a.getSlideCount)(n(),l);(0,a.getCurrentSlideIndex)(n(),l)===e-1&&i((0,r.setEnded)(l))}else i((0,r.setCurrentSlideProgress)(l,{timeout:setTimeout((()=>s(e,t)),100),lastUpdate:Date.now(),duration:m,currentTime:f}))}t.Z={SET_PLAYING:[s,i],SLIDE_READY:[function(e,t){const{getState:n,dispatch:i}=t,s=e.playerId,l=(0,a.getCurrentMediaElement)(n(),s);if(!o(l))return;const c=(0,a.getCurrentSlideProgress)(n(),s);0===l.currentTime&&c.currentTime>0&&(l.currentTime=c.currentTime),l.onwaiting=()=>i((0,r.setBuffering)(s,!0)),l.onplaying=()=>i((0,r.setBuffering)(s,!1))},s,i],SET_MUTED:i,SHOW_SLIDE:i}},31179:function(e,t,n){"use strict";var r=n(9818),a=n(29154),o=n(20876),i=n(74787),s=n(13498);const l=(0,r.registerStore)("jetpack/story/player",{actions:a,reducer:s.Z,selectors:o});(0,i.Z)(l)},74787:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(24274),a=n.n(r),o=n(92819),i=n(78733);function s(e){const t=[a()(i.Z)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},13498:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(17380);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.H2,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_SLIDE":{const n=e.currentSlide===t.index+1;return{...e,currentSlide:{...a.Qz,index:t.index},previousSlide:e.currentSlide,playing:n?e.settings.playOnNextSlide:e.playing}}case"SLIDE_READY":return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case"SET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case"SET_CURRENT_SLIDE_ENDED":return{...e,currentSlide:{...e.currentSlide,ended:!0}};case"RESET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:{...a.XO}}};case"SET_MUTED":return{...e,muted:t.value};case"SET_PLAYING":{const n=t.value&&e.ended;return{...e,playing:t.value,buffering:!!t.value&&e.buffering,fullscreen:!e.playing&&t.value?e.settings.playInFullscreen:e.fullscreen,ended:!n&&e.ended,currentSlide:n?{...a.Qz,index:0}:e.currentSlide,previousSlide:n?null:e.previousSlide}}case"SET_BUFFERING":return{...e,buffering:t.value};case"SET_FULLSCREEN":return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&&!t.fullscreen&&e.settings.playInFullscreen)&&e.playing};case"INIT":{const n=(0,r.merge)({},e.settings,t.settings);return{...e,settings:n,playing:n.playOnLoad,fullscreen:n.loadInFullscreen}}case"ENDED":return{...e,currentSlide:{...a.Qz,index:e.settings.slideCount-1,progress:{...a.XO,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.playerId?{...e,[t.playerId]:o(e[t.playerId],t)}:e}},20876:function(e,t,n){"use strict";function r(e,t){return!!e[t]}function a(e,t){return e[t].currentSlide.index}function o(e,t){return e[t].currentSlide.progress}function i(e,t){const n=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,a=Math.round(100*n/r);return a>=100?100:a}function s(e,t){return e[t].playing}function l(e,t){return e[t].muted}function c(e,t){return e[t].buffering}function u(e,t){return e[t].currentSlide.mediaElement}function p(e,t){return e[t].currentSlide.duration}function d(e,t){return e[t].currentSlide.ended}function m(e,t){return e[t].currentSlide.ready}function h(e,t){var n;return null===(n=e[t].previousSlide)||void 0===n?void 0:n.mediaElement}function f(e,t){return e[t].fullscreen}function g(e,t){return e[t].ended}function b(e,t){return e[t].settings}function v(e,t){return e[t].settings.slideCount}n.r(t),n.d(t,{getCurrentMediaDuration:function(){return p},getCurrentMediaElement:function(){return u},getCurrentSlideIndex:function(){return a},getCurrentSlideProgress:function(){return o},getCurrentSlideProgressPercentage:function(){return i},getPreviousSlideMediaElement:function(){return h},getSettings:function(){return b},getSlideCount:function(){return v},hasCurrentSlideEnded:function(){return d},hasEnded:function(){return g},isBuffering:function(){return c},isCurrentSlideReady:function(){return m},isFullscreen:function(){return f},isMuted:function(){return l},isPlayerReady:function(){return r},isPlaying:function(){return s}})},29143:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a);t.Z=e=>{let{className:t}=e;return(0,r.createElement)("div",{className:o()("wp-story",t)})}},95494:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(86989),a=n.n(r);function o(e,t){return a()({path:"/wpcom/v2/subscribers/count"}).then((n=>{n.hasOwnProperty("count")?e(n.count):t()}))}},62924:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Type your email…","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"},successMessage:{type:"string",default:__("Success! An email was just sent to confirm your subscription. Please find the email now and click 'Confirm Follow' to start subscribing.","jetpack")}}},58841:function(e,t,n){"use strict";n.d(t,{FP:function(){return h},G0:function(){return r},Gp:function(){return a},HE:function(){return p},K3:function(){return s},S9:function(){return o},Tr:function(){return d},VF:function(){return i},XJ:function(){return l},bK:function(){return u},pC:function(){return m},tm:function(){return f},xV:function(){return c}});const r=0,a=50,o=0,i=0,s=15,l=1,c=5,u=50,p=15,d=0,m=50,h=10,f="16px"},57532:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(65736),o=n(55609),i=n(52175),s=n(13419),l=n(34904),c=n(91947),u=n(58841);const __=a.__,_n=a._n;function p(e){let{buttonBackgroundColor:t,borderColor:n,buttonGradient:p,borderRadius:d,borderWeight:m,buttonOnNewLine:h,emailFieldBackgroundColor:f,fallbackButtonBackgroundColor:g,fallbackTextColor:b,fontSize:v,isGradientAvailable:k,padding:y,setAttributes:E,setBorderColor:w,setButtonBackgroundColor:_,setTextColor:C,showSubscribersTotal:S,spacing:j,subscriberCount:x,textColor:P,buttonWidth:T,successMessage:N}=e;return(0,r.createElement)(r.Fragment,null,x>1&&(0,r.createElement)(l.Z,null,(0,r.createInterpolateElement)((0,a.sprintf)(
+/* translators: %s is the number of subscribers. The \xA0 non-breaking space is to make sure the last two words are on the same line. */
+_n("<span>%s reader</span> is subscribed.","<span>%s readers</span> are subscribed.",x,"jetpack"),x),{span:(0,r.createElement)("span",{style:{textDecoration:"underline"}})})),k&&(0,r.createElement)(i.__experimentalPanelColorGradientSettings,{title:__("Color","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",settings:[{colorValue:t.color,onColorChange:_,gradientValue:p.gradientValue,onGradientChange:p.setGradient,label:__("Button Background","jetpack")},{colorValue:P.color,onColorChange:C,label:__("Button Text","jetpack")},{colorValue:n.color,onColorChange:w,label:__("Border","jetpack")}],initialOpen:!0},(0,r.createElement)(i.ContrastChecker,{fontSize:v.size,textColor:P.color,backgroundColor:f.color,fallbackButtonBackgroundColor:g,fallbackTextColor:b})),!k&&(0,r.createElement)(i.PanelColorSettings,{title:__("Background Colors","jetpack"),className:"wp-block-jetpack-subscriptions__backgroundpanel",colorSettings:[{value:t.color,onChange:_,label:__("Button Background Color","jetpack")},{value:P.color,onChange:C,label:__("Button Text Color","jetpack")},{value:n.color,onColorChange:w,label:__("Border Color","jetpack")}],initialOpen:!1},(0,r.createElement)(i.ContrastChecker,{fontSize:v.size,textColor:P.color,backgroundColor:f.color,fallbackButtonBackgroundColor:g,fallbackTextColor:b})),(0,r.createElement)(o.PanelBody,{title:__("Typography","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__textpanel"},(0,r.createElement)(i.FontSizePicker,{withSlider:!0,value:v.size,onChange:e=>{const t=e||u.tm;E({fontSize:t,customFontSize:t})}})),(0,r.createElement)(o.PanelBody,{title:__("Border","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__borderpanel"},(0,r.createElement)(o.RangeControl,{value:d,label:__("Border Radius","jetpack"),min:u.G0,max:u.Gp,initialPosition:u.S9,allowReset:!0,onChange:e=>E({borderRadius:e})}),(0,r.createElement)(o.RangeControl,{value:m,label:__("Border Weight","jetpack"),min:u.VF,max:u.K3,initialPosition:u.XJ,allowReset:!0,onChange:e=>E({borderWeight:e})})),(0,r.createElement)(o.PanelBody,{title:__("Spacing","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__spacingpanel"},(0,r.createElement)(o.RangeControl,{value:y,label:__("Space Inside","jetpack"),min:u.xV,max:u.bK,initialPosition:u.HE,allowReset:!0,onChange:e=>E({padding:e})}),(0,r.createElement)(o.RangeControl,{value:j,label:__("Space Between","jetpack"),min:u.Tr,max:u.pC,initialPosition:u.FP,allowReset:!0,onChange:e=>E({spacing:e})}),(0,r.createElement)(c.h,{width:T,onChange:e=>E({buttonWidth:e})})),(0,r.createElement)(o.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1,className:"wp-block-jetpack-subscriptions__displaypanel"},(0,r.createElement)(o.ToggleControl,{label:__("Show subscriber count","jetpack"),checked:S,onChange:()=>{E({showSubscribersTotal:!S})},help:()=>{if(!x||x<1)return __("This will remain hidden until there is at least one subscriber.","jetpack")}}),(0,r.createElement)(o.ToggleControl,{label:__("Place button on new line","jetpack"),checked:h,onChange:()=>{E({buttonOnNewLine:!h})}}),!(0,s.Wp)()&&(0,r.createElement)(o.TextareaControl,{value:N,label:__("Success message","jetpack"),help:__("Edit the message displayed when a user subscribes.","jetpack"),onChange:e=>E({successMessage:e})})))}},2916:function(e,t,n){"use strict";var r=n(75623),a=n(45097),o=n(20121),i=n(76609),s=n(11689),l=n(79024);t.Z=[l.Z,s.Z,i.Z,o.Z,a.Z,r.Z]},75623:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(92819);const __=a.__;t.Z={attributes:{subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:e=>({submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal}),isEligible:e=>!(!e.hasOwnProperty("subscribeButton")||!(0,o.isEmpty)(e.subscribeButton)),save:function(e){let{attributes:t}=e;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_subscribers_total="${t.showSubscribersTotal}" show_only_email_and_button="true"]`)}}},45097:function(e,t,n){"use strict";var r=n(65736),a=n(65534);const __=r.__;t.Z={attributes:{subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},subscribeButton:{type:"string",default:__("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},migrate:e=>({subscribePlaceholder:e.subscribePlaceholder,showSubscribersTotal:e.showSubscribersTotal,buttonOnNewLine:!0,submitButtonText:e.submitButtonText,buttonBackgroundColor:e.backgroundButtonColor?e.backgroundButtonColor:"primary",customButtonBackgroundColor:e.customBackgroundButtonColor,textColor:e.textButtonColor?e.textButtonColor:"background",customTextColor:e.customTextButtonColor}),save:a.Z}},65534:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{attributes:t}=e;const{showSubscribersTotal:n,submitButtonClasses:a,customBackgroundButtonColor:o,customTextButtonColor:i,submitButtonText:s}=t;return(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="${o}" custom_text_button_color="${i}" submit_button_text="${s}" submit_button_classes="${a}" show_subscribers_total="${n}" ]`)}},20084:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Enter your email address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},submitButtonText:{type:"string",default:__("Sign Up","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"number"},customFontSize:{type:"number"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},60293:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(20084);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const{subscribePlaceholder:o,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:p,customEmailFieldBackgroundColor:d,emailFieldGradient:m,customEmailFieldGradient:h,buttonBackgroundColor:f,customButtonBackgroundColor:g,buttonGradient:b,customButtonGradient:v,textColor:k,customTextColor:y,fontSize:E,customFontSize:w,borderRadius:_,borderWeight:C,borderColor:S,customBorderColor:j,padding:x,spacing:P}=t,T=!!a.__experimentalGetGradientClass,N=(0,a.getColorClassName)("color",k),A=(0,a.getFontSizeClass)(E),M=(0,a.getColorClassName)("border-color",S),I=(0,a.getColorClassName)("background-color",f),R=T?(0,a.__experimentalGetGradientClass)(b):void 0,L=(0,a.getColorClassName)("background-color",p),B=T?(0,a.__experimentalGetGradientClass)(m):void 0,Z=i()(0===_?"no-border-radius":void 0,A,M),D=i()(Z,k?"has-text-color":void 0,N,f||b?"has-background":void 0,I,R),F=i()(Z,L,B),O=!L&&h?h:d,z=!I&&v?v:g,U=()=>i()(e,"wp-block-jetpack-subscriptions__supports-newline",c?"wp-block-jetpack-subscriptions__use-newline":void 0,l?"wp-block-jetpack-subscriptions__show-subs":void 0);let $=o,V=u;return"check-text-defaults"===n&&($=o===s.Z.subscribePlaceholder.default?"Enter your email address":o,V=u===s.Z.submitButtonText.default?"Sign Up":u),(0,r.createElement)("div",{className:U()},(0,r.createElement)(r.RawHTML,null,`\n\t\t\t[jetpack_subscription_form\n\t\t\t\tsubscribe_placeholder="${$}"\n\t\t\t\tshow_subscribers_total="${l}"\n\t\t\t\tbutton_on_newline="${c}"\n\t\t\t\tsubmit_button_text="${V}"\n\t\t\t\tcustom_background_emailfield_color="${O}"\n\t\t\t\tcustom_background_button_color="${z}"\n\t\t\t\tcustom_text_button_color="${y}"\n\t\t\t\tcustom_font_size="${w||16}"\n\t\t\t\tcustom_border_radius="${_||0}"\n\t\t\t\tcustom_border_weight="${C||1}"\n\t\t\t\tcustom_border_color="${j}"\n\t\t\t\tcustom_padding="${x||15}"\n\t\t\t\tcustom_spacing="${P||10}"\n\t\t\t\tsubmit_button_classes="${D}"\n\t\t\t\temail_field_classes="${F}"\n\t\t\t\tshow_only_email_and_button="true"\n\t\t\t]`))}},20121:function(e,t,n){"use strict";var r=n(20084),a=n(60293);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n)}}},76609:function(e,t,n){"use strict";var r=n(20084),a=n(60293);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:e=>{let{className:t,attributes:n}=e;return(0,a.ZP)(t,n,"check-text-defaults")}}},11689:function(e,t,n){"use strict";var r=n(20084),a=n(92167);t.Z={attributes:r.Z,migrate:e=>{const{fontSize:t,customFontSize:n}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:n?`${n}px`:void 0}},save:a.ZP}},92167:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(92819),l=n(20084);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:S,borderColor:j,customBorderColor:x,padding:P,spacing:T}=n,N=!!a.__experimentalGetGradientClass,A=(0,a.getColorClassName)("color",y),M=(0,a.getFontSizeClass)(w),I=(0,a.getColorClassName)("border-color",j),R=(0,a.getColorClassName)("background-color",g),L=N?(0,a.__experimentalGetGradientClass)(v):void 0,B=(0,a.getColorClassName)("background-color",d),Z=N?(0,a.__experimentalGetGradientClass)(h):void 0,D=i()(0===C?"no-border-radius":void 0,M,I),F=i()(D,y?"has-text-color":void 0,A,g||v?"has-background":void 0,R,L),O=i()(D,B,Z),z=!B&&f?f:m,U=!R&&k?k:b,$={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:z,custom_background_button_color:U,custom_text_button_color:E,custom_font_size:_||16,custom_border_radius:C||0,custom_border_weight:S||1,custom_border_color:x,custom_padding:P||15,custom_spacing:T||10,submit_button_classes:F,email_field_classes:O,show_only_email_and_button:!0},V=(0,s.reduce)($,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${V}]`))}},29053:function(e,t,n){"use strict";var r=n(65736);const __=r.__;t.Z={subscribePlaceholder:{type:"string",default:__("Email Address","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},buttonOnNewLine:{type:"boolean",default:!1},buttonWidth:{type:"string"},submitButtonText:{type:"string",default:__("Subscribe","jetpack")},emailFieldBackgroundColor:{type:"string"},customEmailFieldBackgroundColor:{type:"string"},emailFieldGradient:{type:"string"},customEmailFieldGradient:{type:"string"},buttonBackgroundColor:{type:"string"},customButtonBackgroundColor:{type:"string"},buttonGradient:{type:"string"},customButtonGradient:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},customBorderColor:{type:"string"},padding:{type:"number"},spacing:{type:"number"}}},79024:function(e,t,n){"use strict";var r=n(29053),a=n(62788);t.Z={attributes:r.Z,save:a.Z}},62788:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(92819),l=n(29053);function c(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:p,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:m,emailFieldGradient:h,customEmailFieldGradient:f,buttonBackgroundColor:g,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:E,fontSize:w,customFontSize:_,borderRadius:C,borderWeight:S,borderColor:j,customBorderColor:x,padding:P,spacing:T,buttonWidth:N}=n,A=!!a.__experimentalGetGradientClass,M=(0,a.getColorClassName)("color",y),I=(0,a.getFontSizeClass)(w),R=(0,a.getColorClassName)("border-color",j),L=(0,a.getColorClassName)("background-color",g),B=A?(0,a.__experimentalGetGradientClass)(v):void 0,Z=(0,a.getColorClassName)("background-color",d),D=A?(0,a.__experimentalGetGradientClass)(h):void 0,F=i()(0===C?"no-border-radius":void 0,I,R),O=i()(F,y?"has-text-color":void 0,M,g||v?"has-background":void 0,L,B),z=i()(F,Z,D),U=!Z&&f?f:m,$=!L&&k?k:b,V=N||void 0,G={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:c,button_on_newline:u,submit_button_text:p!==l.Z.submitButtonText.default?p:void 0,custom_background_emailfield_color:U,custom_background_button_color:$,custom_text_button_color:E,custom_font_size:_||"16px",custom_border_radius:C||0,custom_border_weight:S||1,custom_border_color:x,custom_button_width:V,custom_padding:P||15,custom_spacing:T||10,submit_button_classes:O,email_field_classes:z,show_only_email_and_button:!0},H=(0,s.reduce)(G,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",u?"wp-block-jetpack-subscriptions__use-newline":void 0,c?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${H}]`))}},99343:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(65736),l=n(55609),c=n(52175),u=n(94333),p=n(95494),d=n(62924),m=n(4554),h=n(58841),f=n(57532);const __=s.__,_n=s._n,{getComputedStyle:g}=window,b=!!c.__experimentalUseGradient,v=(0,l.withFallbackStyles)(((e,t)=>{const{buttonBackgroundColor:n,textColor:r}=t,a=n&&n.color,o=r&&r.color,i=e.querySelector(".wp-block-jetpack-subscriptions__button");return{fallbackButtonBackgroundColor:a||!e?void 0:i&&g(i).backgroundColor,fallbackTextColor:o||!e?void 0:i&&g(i).color}}));t.Z=(0,u.compose)([(0,c.withColors)({emailFieldBackgroundColor:"backgroundColor"},{buttonBackgroundColor:"backgroundColor"},{textColor:"color"},"borderColor"),(0,c.withFontSizes)("fontSize"),v])((function(e){const{className:t,attributes:n,setAttributes:a,emailFieldBackgroundColor:g,buttonBackgroundColor:v,setButtonBackgroundColor:k,fallbackButtonBackgroundColor:y,textColor:E,fallbackTextColor:w,setTextColor:_,borderColor:C,setBorderColor:S,fontSize:j}=e,x=(0,m.S)(d.Z,n);(0,i.isEqual)(x,n)||a(x);const{borderRadius:P,borderWeight:T,buttonWidth:N,padding:A,spacing:M,submitButtonText:I,subscribePlaceholder:R,showSubscribersTotal:L,buttonOnNewLine:B,successMessage:Z}=x,[D,F]=(0,r.useState)(""),[O,z]=(0,r.useState)(""),U=b?(0,c.__experimentalUseGradient)({gradientAttribute:"emailFieldGradient",customGradientAttribute:"customEmailFieldGradient"}):{},$=b?(0,c.__experimentalUseGradient)({gradientAttribute:"buttonGradient",customGradientAttribute:"customButtonGradient"}):{},V={"no-border-radius":0===P,[j.class]:j.class,"has-text-color":E.color,[E.class]:E.class},G={...V,"has-background":g.color||U.gradientValue,[g.class]:!U.gradientValue&&g.class,[U.gradientClass]:U.gradientClass},H={...V,"has-background":v.color||$.gradientValue,[v.class]:!$.gradientValue&&v.class,[$.gradientClass]:$.gradientClass},q=e=>e||h.FP,W={color:E.color,borderColor:C.color,borderRadius:P?P+"px":h.S9+"px",borderWidth:T?T+"px":h.XJ+"px",fontSize:j.size?j.size:h.tm,padding:(e=>{const t=e||h.HE;return t+"px "+Math.round(1.5*t)+"px "+t+"px "+Math.round(1.5*t)+"px"})(A)},K={...W,...!g.color&&U.gradientValue?{background:U.gradientValue}:{backgroundColor:g.color}},X={...W,...!v.color&&$.gradientValue?{background:$.gradientValue}:{backgroundColor:v.color},...B?{marginTop:q(M)+"px"}:{marginLeft:q(M)+"px"},width:N};(0,r.useEffect)((()=>{(0,p.z)((e=>{F((0,s.sprintf)(
/* translators: Placeholder is a number of subscribers. */
-_n("Join %s other subscriber","Join %s other subscribers",e.count,"jetpack"),e.count)),D(e.count)):(Z(__("Subscriber count unavailable","jetpack")),D(0))}))}),[]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p.InspectorControls,null,(0,r.createElement)(g.Z,{buttonBackgroundColor:d,borderColor:_,buttonGradient:z,borderRadius:S,borderWeight:x,buttonOnNewLine:R,emailFieldBackgroundColor:s,fallbackButtonBackgroundColor:k,fallbackTextColor:E,fontSize:C,isGradientAvailable:v,padding:N,setAttributes:a,setButtonBackgroundColor:b,setTextColor:w,showSubscribersTotal:M,spacing:A,subscriberCount:F,textColor:y,buttonWidth:T,successMessage:L})),(0,r.createElement)("div",{className:o()(t,"wp-block-jetpack-subscriptions__supports-newline",R?"wp-block-jetpack-subscriptions__use-newline":void 0,M?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)("div",{className:"wp-block-jetpack-subscriptions__form",role:"form"},(0,r.createElement)(u.TextControl,{placeholder:I,disabled:!0,className:o()($,"wp-block-jetpack-subscriptions__textfield"),style:H}),(0,r.createElement)(p.RichText,{className:o()(V,"wp-block-jetpack-subscriptions__button","wp-block-button__link"),onChange:e=>a({submitButtonText:e}),style:W,value:P,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"]})),M&&(0,r.createElement)("p",{className:"wp-block-jetpack-subscriptions__subscount"},B)))}))},57211:function(e,t,n){"use strict";n.d(t,{u2:function(){return d},Xd:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(79885),l=n(58363),c=n(73228),u=n(5321),p=n(57535);const __=a.__,_x=a._x,d="subscriptions",m=(0,r.createElement)(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Rect,{x:"4.75",y:"6.75",width:"14.5",height:"10.5",rx:"1.25",stroke:(0,p.m)(),strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(o.Path,{d:"M19 7L13.3609 12.2363C12.5935 12.9489 11.4065 12.9489 10.6391 12.2363L5 7",stroke:(0,p.m)(),strokeWidth:"1.5",strokeLinejoin:"bevel",fill:"none"})),h={title:__("Subscription Form","jetpack"),description:(0,r.createElement)("p",null,__("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:{src:m,foreground:(0,p.m)()},category:"grow",keywords:[_x("subscribe","block search term","jetpack"),_x("join","block search term","jetpack"),_x("follow","block search term","jetpack")],attributes:s.Z,edit:c.Z,save:u.Z,transforms:{from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"blog_subscription"===t},transform:e=>{let{instance:t}=e;return(0,i.createBlock)("jetpack/subscriptions",{showSubscribersTotal:t.raw.show_subscribers_total,submitButtonText:t.raw.subscribe_button,subscribePlaceholder:t.raw.subscribe_placeholder,successMessage:t.raw.success_message})}}]},example:{attributes:{}},deprecated:l.Z}},5321:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(92819),l=n(79885),c=n(87138);function u(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:u,buttonOnNewLine:p,submitButtonText:d,emailFieldBackgroundColor:m,customEmailFieldBackgroundColor:h,emailFieldGradient:f,customEmailFieldGradient:g,buttonBackgroundColor:b,customButtonBackgroundColor:v,buttonGradient:k,customButtonGradient:y,textColor:E,customTextColor:w,fontSize:_,customFontSize:C,borderRadius:j,borderWeight:S,borderColor:x,customBorderColor:T,padding:N,spacing:A,buttonWidth:P,successMessage:I}=n,M=!!a.__experimentalGetGradientClass,R=(0,a.getColorClassName)("color",E),L=(0,a.getFontSizeClass)(_),B=(0,a.getColorClassName)("border-color",x),Z=(0,a.getColorClassName)("background-color",b),F=M?(0,a.__experimentalGetGradientClass)(k):void 0,D=(0,a.getColorClassName)("background-color",m),O=M?(0,a.__experimentalGetGradientClass)(f):void 0,z=i()(0===j?"no-border-radius":void 0,L,B),U=i()(z,E?"has-text-color":void 0,R,b||k?"has-background":void 0,Z,F),$=i()(z,D,O),V=!D&&g?g:h,G=!Z&&y?y:v,q=P||void 0,H={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:u,button_on_newline:p,submit_button_text:d!==l.Z.submitButtonText.default?d:void 0,custom_background_emailfield_color:V,custom_background_button_color:G,custom_text_button_color:w,custom_font_size:C||c.tm,custom_border_radius:j||c.S9,custom_border_weight:S||c.XJ,custom_border_color:T,custom_button_width:q,custom_padding:N||c.HE,custom_spacing:A||c.FP,submit_button_classes:U,email_field_classes:$,show_only_email_and_button:!0,success_message:I},W=(0,s.reduce)(H,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",p?"wp-block-jetpack-subscriptions__use-newline":void 0,u?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${W}]`))}},28526:function(e,t,n){"use strict";n.d(t,{RA:function(){return r},q3:function(){return a},hI:function(){return o},Z5:function(){return i},GP:function(){return s},xJ:function(){return l},sw:function(){return c},EU:function(){return u},yw:function(){return p},P0:function(){return d}});const r=["image"],a=4,o=20,i=20,s=2e3,l="circle",c="columns",u="rectangular",p="square",d=[{isDefault:!0,name:u},{name:l},{name:p},{name:c}]},70132:function(e,t,n){"use strict";var r=n(25689),a=n(47330),o=n(35660);t.Z=[o,a,r]},66105:function(e,t,n){"use strict";n.d(t,{q3:function(){return r},hI:function(){return a},GP:function(){return o},EU:function(){return i},P0:function(){return s}});const r=4,a=20,o=2e3,i="rectangular",s=[{isDefault:!0,name:i},{name:"circle"},{name:"square"},{name:"columns"}]},2589:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(11313);function o(e){const{"aria-label":t,alt:n,height:o,id:i,link:s,linkTo:l,origUrl:c,url:u,width:p}=e;if((0,a.isBlobURL)(c))return null;let d;switch(l){case"media":d=u;break;case"attachment":d=s}const m=(0,r.createElement)("img",{alt:n,"aria-label":t,"data-height":o,"data-id":i,"data-link":s,"data-url":c,"data-width":p,src:u});return(0,r.createElement)("figure",{className:"tiled-gallery__item"},d?(0,r.createElement)("a",{href:d},m):m)}},25689:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return r.Z},attributes:function(){return a},support:function(){return o}});var r=n(19092);const a={align:{default:"center",type:"string"},className:{default:`is-style-${n(66105).EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},o={align:["center","wide","full"],customClassName:!1,html:!1}},43064:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},7696:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},17357:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(40278),o=n(65736),i=n(82827),s=n(11313),l=n(2589),c=n(1077),u=n(47536),p=n(66105);const __=o.__;class d extends r.Component{photonize(e){let{height:t,width:n,url:r}=e;if(!r)return;if((0,s.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;const o=r.split("?",1)[0],l=function(e){const{host:t}=(0,i.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}(r)?h:a.Z,{layoutStyle:c}=this.props;if(m(c)&&n&&t){const e=Math.min(p.GP,n,t);return l(o,{resize:`${e},${e}`})}return l(o)}renderImage(e,t){const{images:n,linkTo:a,selectedImage:i}=this.props,s=(0,o.sprintf)(
+_n("Join %s other subscriber","Join %s other subscribers",e,"jetpack"),e)),z(e)}),(()=>{F(__("Subscriber count unavailable","jetpack")),z(0)}))}),[]);const J=(0,u.usePrevious)(v);return(0,r.useEffect)((()=>{(null==J?void 0:J.color)===(null==C?void 0:C.color)&&(null==C?void 0:C.color)!==(null==v?void 0:v.color)&&S(v.color)}),[v,J,C,S]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.InspectorControls,null,(0,r.createElement)(f.Z,{buttonBackgroundColor:v,borderColor:C,buttonGradient:$,borderRadius:P,borderWeight:T,buttonOnNewLine:B,emailFieldBackgroundColor:g,fallbackButtonBackgroundColor:y,fallbackTextColor:w,fontSize:j,isGradientAvailable:b,padding:A,setAttributes:a,setBorderColor:S,setButtonBackgroundColor:k,setTextColor:_,showSubscribersTotal:L,spacing:M,subscriberCount:O,textColor:E,buttonWidth:N,successMessage:Z})),(0,r.createElement)("div",{className:o()(t,"wp-block-jetpack-subscriptions__supports-newline",B?"wp-block-jetpack-subscriptions__use-newline":void 0,L?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)("div",{className:"wp-block-jetpack-subscriptions__form",role:"form"},(0,r.createElement)(l.TextControl,{placeholder:R,disabled:!0,className:o()(G,"wp-block-jetpack-subscriptions__textfield"),style:K}),(0,r.createElement)(c.RichText,{className:o()(H,"wp-block-jetpack-subscriptions__button","wp-block-button__link"),onChange:e=>a({submitButtonText:e}),style:X,value:I,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"]})),L&&(0,r.createElement)("p",{className:"wp-block-jetpack-subscriptions__subscount"},D)))}))},30217:function(e,t,n){"use strict";n.d(t,{Xd:function(){return f},eC:function(){return g},u2:function(){return m}});var r=n(69307),a=n(65736),o=n(55609),i=n(4981),s=n(62924),l=n(2916),c=n(99343),u=n(27296),p=n(79914),d=n(70355);const __=a.__,_x=a._x,m="subscriptions",h=(0,r.createElement)(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{d:"M20.9997 6.96749L21 7V17C21 18.1046 20.1046 19 19 19H5C3.89543 19 3 18.1046 3 17V7L3.00026 6.96747L3 6.96092C3 5.87793 3.87793 5 4.96092 5H19.0391C20.1221 5 21 5.87793 21 6.96092L20.9997 6.96749ZM19.3044 17.3967L13.9142 12.9048L13.2804 13.433C12.5387 14.0511 11.4613 14.0511 10.7196 13.433L10.0858 12.9048L4.69555 17.3967C4.77987 17.4615 4.88543 17.5 5 17.5H19C19.1146 17.5 19.2201 17.4615 19.3044 17.3967ZM19.5 15.6071V8.25L15.0858 11.9285L19.5 15.6071ZM4.5 8.25V15.6071L8.91424 11.9285L4.5 8.25ZM4.79543 6.54363C4.85788 6.51559 4.92712 6.5 5 6.5H19C19.0729 6.5 19.1421 6.51559 19.2046 6.54363L12.3201 12.2807C12.1347 12.4352 11.8653 12.4352 11.6799 12.2807L4.79543 6.54363Z",fill:(0,d.m)(),fillRule:"evenodd",clipRule:"evenodd"})),f={title:__("Subscribe","jetpack"),description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Allow readers to receive a newsletter with future posts in their inbox.","jetpack")),(0,r.createElement)("p",null,(0,r.createInterpolateElement)(__("Subscribers can get notifications through email or <ExternalLink>the Reader app</ExternalLink>.","jetpack"),{ExternalLink:(0,r.createElement)(o.ExternalLink,{href:"https://wordpress.com/read"})}))),icon:{src:h,foreground:(0,d.m)()},category:"grow",keywords:[_x("newsletter","block search term","jetpack"),_x("email","block search term","jetpack"),_x("follow","block search term","jetpack")],attributes:s.Z,edit:c.Z,save:u.Z,styles:[{name:"compact",label:__("Compact","jetpack")},{name:"split",label:__("Split","jetpack"),isDefault:!0}],transforms:{from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"blog_subscription"===t},transform:e=>{let{instance:t}=e;return(0,i.createBlock)("jetpack/subscriptions",{showSubscribersTotal:t.raw.show_subscribers_total,submitButtonText:t.raw.subscribe_button,subscribePlaceholder:t.raw.subscribe_placeholder,successMessage:t.raw.success_message})}}]},example:{attributes:{}},supports:{spacing:{margin:!0,padding:!0},align:["wide","full"]},deprecated:l.Z},g={render:p.Z}},79914:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(72067),o=n(9818),i=n(12238),s=n(65736),l=n(13419),c=n(52947),u=n(95494),p=n(34904);const __=s.__,_n=s._n;function d(){const[e,t]=(0,r.useState)(null);(0,r.useEffect)((()=>{(0,u.z)((e=>t(e)))}),[]);return"post"!==(0,o.useSelect)((e=>e(i.store).getCurrentPostType()),[])||(0,l.M6)()||(0,l.aQ)()||!Number.isFinite(e)||e<=0?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PluginPrePublishPanel,{className:"jetpack-subscribe-pre-publish-panel",initialOpen:!0,title:__("Subscribers","jetpack")},(0,r.createElement)(p.Z,null,(0,r.createInterpolateElement)((0,s.sprintf)(
+/* translators: %s is the number of subscribers */
+_n("This post will be sent to <span>%s reader</span>","This post will be sent to <span>%s readers</span>",e,"jetpack"),(0,c.Z)(e)),{span:(0,r.createElement)("span",{className:"jetpack-subscribe-reader-count"})}))),(0,r.createElement)(a.PluginPostPublishPanel,{className:"jetpack-subscribe-post-publish-panel",initialOpen:!0},(0,r.createElement)(p.Z,null,(0,r.createInterpolateElement)((0,s.sprintf)(
+/* translators: %s is the number of subscribers */
+_n("This post has been sent to <span>%s reader</span>","This post has been sent to <span>%s readers</span>",e,"jetpack"),(0,c.Z)(e)),{span:(0,r.createElement)("span",{className:"jetpack-subscribe-reader-count"})}))))}},27296:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(92819),l=n(62924),c=n(58841);function u(e){let{className:t,attributes:n}=e;const{subscribePlaceholder:o,showSubscribersTotal:u,buttonOnNewLine:p,submitButtonText:d,emailFieldBackgroundColor:m,customEmailFieldBackgroundColor:h,emailFieldGradient:f,customEmailFieldGradient:g,buttonBackgroundColor:b,customButtonBackgroundColor:v,buttonGradient:k,customButtonGradient:y,textColor:E,customTextColor:w,fontSize:_,customFontSize:C,borderRadius:S,borderWeight:j,borderColor:x,customBorderColor:P,padding:T,spacing:N,buttonWidth:A,successMessage:M}=n,I=!!a.__experimentalGetGradientClass,R=(0,a.getColorClassName)("color",E),L=(0,a.getFontSizeClass)(_),B=(0,a.getColorClassName)("border-color",x),Z=(0,a.getColorClassName)("background-color",b),D=I?(0,a.__experimentalGetGradientClass)(k):void 0,F=(0,a.getColorClassName)("background-color",m),O=I?(0,a.__experimentalGetGradientClass)(f):void 0,z=i()(0===S?"no-border-radius":void 0,L,B),U=i()(z,E?"has-text-color":void 0,R,b||k?"has-background":void 0,Z,D),$=i()(z,F,O),V=!F&&g?g:h,G=!Z&&y?y:v,H=A||void 0,q={subscribe_placeholder:o!==l.Z.subscribePlaceholder.default?o:void 0,show_subscribers_total:u,button_on_newline:p,submit_button_text:d!==l.Z.submitButtonText.default?d:void 0,custom_background_emailfield_color:V,custom_background_button_color:G,custom_text_button_color:w,custom_font_size:C||c.tm,custom_border_radius:S||c.S9,custom_border_weight:j||c.XJ,custom_border_color:P,custom_button_width:H,custom_padding:T||c.HE,custom_spacing:N||c.FP,submit_button_classes:U,email_field_classes:$,show_only_email_and_button:!0,success_message:M},W=(0,s.reduce)(q,((e,t,n)=>void 0===t?e:e+` ${n}="${t}"`),"");return(0,r.createElement)("div",{className:i()(t,"wp-block-jetpack-subscriptions__supports-newline",p?"wp-block-jetpack-subscriptions__use-newline":void 0,u?"wp-block-jetpack-subscriptions__show-subs":void 0)},(0,r.createElement)(r.RawHTML,null,`[jetpack_subscription_form${W}]`))}},3740:function(e,t,n){"use strict";n.d(t,{EU:function(){return u},GP:function(){return s},P0:function(){return d},RA:function(){return r},Z5:function(){return i},hI:function(){return o},q3:function(){return a},sw:function(){return c},xJ:function(){return l},yw:function(){return p}});const r=["image"],a=4,o=20,i=20,s=2e3,l="circle",c="columns",u="rectangular",p="square",d=[{isDefault:!0,name:u},{name:l},{name:p},{name:c}]},73463:function(e,t,n){"use strict";var r=n(76476),a=n(43125),o=n(67525);t.Z=[o,a,r]},1377:function(e,t,n){"use strict";n.d(t,{EU:function(){return i},GP:function(){return o},P0:function(){return s},hI:function(){return a},q3:function(){return r}});const r=4,a=20,o=2e3,i="rectangular",s=[{isDefault:!0,name:i},{name:"circle"},{name:"square"},{name:"columns"}]},56005:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(11313);function o(e){const{"aria-label":t,alt:n,height:o,id:i,link:s,linkTo:l,origUrl:c,url:u,width:p}=e;if((0,a.isBlobURL)(c))return null;let d;switch(l){case"media":d=u;break;case"attachment":d=s}const m=(0,r.createElement)("img",{alt:n,"aria-label":t,"data-height":o,"data-id":i,"data-link":s,"data-url":c,"data-width":p,src:u});return(0,r.createElement)("figure",{className:"tiled-gallery__item"},d?(0,r.createElement)("a",{href:d},m):m)}},76476:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return a},save:function(){return r.Z},support:function(){return o}});var r=n(91507);const a={align:{default:"center",type:"string"},className:{default:`is-style-${n(1377).EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},o={align:["center","wide","full"],customClassName:!1,html:!1}},52235:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},89754:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},15645:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),a=n(69424),o=n(65736),i=n(11313),s=n(56005),l=n(30791),c=n(79313),u=n(1377);const __=o.__;class p extends r.Component{photonize(e){let{height:t,width:n,url:r}=e;if(!r)return;if((0,i.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;const o=r.split("?",1)[0],s=function(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}(r)?m:a.Z,{layoutStyle:l}=this.props;if(d(l)&&n&&t){const e=Math.min(u.GP,n,t);return s(o,{resize:`${e},${e}`})}return s(o)}renderImage(e,t){const{images:n,linkTo:a,selectedImage:i}=this.props,l=(0,o.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,n.length);return(0,r.createElement)(l.Z,{alt:e.alt,"aria-label":s,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:i}=this.props,s=m(i)?u.Z:c.Z,l=this.props.images.map(this.renderImage,this);return(0,r.createElement)("div",{className:n},(0,r.createElement)(s,{align:e,columns:a,images:o,layoutStyle:i,renderedImages:l}),t)}}function m(e){return["circle","square"].includes(e)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:a,port:o,query:s,search:l,...c}=(0,i.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,i.WU)(c)}},1077:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),a=n.n(r),o=n(69307),i=n(54166),s=n(43064),l=n(7696),c=n(8292),u=n(37335),p=n(54794);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t;(0,u.W)(n).forEach((t=>(0,u.i)(t,e)))}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(s.Z,{key:t},n)}))))))}}},54794:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=N([A,A,P,A,A]),c=N([A,A,A,P,A,A,A]),u=T([3,1,3],5),p=N([P,A,A,P]),d=T([1,2,1],5),m=N([P,A,A,A]),h=T([1,3],3),f=N([A,A,A,P]),g=T([3,1],3),b=N([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=N([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=T([2,1],3),C=N([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function A(e){return e>=1&&e<2}function P(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},37335:function(e,t,n){"use strict";n.d(t,{i:function(){return o},W:function(){return i}});var r=n(66105);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){!function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);!function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},8292:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},47536:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(8292),i=n(43064),s=n(7696),l=n(66105);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},19092:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(17357),o=n(98085),i=n(66105);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{images:n}=t;if(!n.length)return null;const{align:l,className:c,columns:u=s(t),linkTo:p}=t;return(0,r.createElement)(a.Z,{align:l,className:c,columns:u,images:n,layoutStyle:(0,o.t)(i.P0,c),linkTo:p})}},96470:function(e,t,n){"use strict";n.d(t,{hI:function(){return r},Z5:function(){return a},GP:function(){return o},xJ:function(){return i},EU:function(){return s},P0:function(){return l}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},72285:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},47330:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return a.Z},attributes:function(){return o},supports:function(){return i}});var r=n(96470),a=n(96659);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1}},71410:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},86159:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},15515:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(72285),l=n(56556),c=n(14916),u=n(92805),p=n(96470);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,linkTo:l,layoutStyle:c,selectedImage:p}=this.props,d=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,n.length);return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":l,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:i}=this.props,s=d(i)?c.Z:l.Z,u=this.props.images.map(this.renderImage,this);return(0,r.createElement)("div",{className:n},(0,r.createElement)(s,{align:e,columns:a,images:o,layoutStyle:i,renderedImages:u}),t)}}function d(e){return["circle","square"].includes(e)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},30791:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(18294),a=n.n(r),o=n(69307),i=n(6209),s=n(52235),l=n(89754),c=n(36472),u=n(6648),p=n(6817);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t;(0,u.W)(n).forEach((t=>(0,u.i)(t,e)))}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(s.Z,{key:t},n)}))))))}}},6817:function(e,t,n){"use strict";n.d(t,{T9:function(){return S},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([I(1.6),(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2)),I(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function S(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function M(e){return t=>t>=e}function I(e){return t=>t<e}},6648:function(e,t,n){"use strict";n.d(t,{W:function(){return i},i:function(){return o}});var r=n(1377);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){!function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);!function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},36472:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},79313:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(36472),i=n(52235),s=n(89754),l=n(1377);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},91507:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(15645),o=n(81518),i=n(1377);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{images:n}=t;if(!n.length)return null;const{align:l,className:c,columns:u=s(t),linkTo:p}=t;return(0,r.createElement)(a.Z,{align:l,className:c,columns:u,images:n,layoutStyle:(0,o.t)(i.P0,c),linkTo:p})}},86738:function(e,t,n){"use strict";n.d(t,{EU:function(){return s},GP:function(){return o},P0:function(){return l},Z5:function(){return a},hI:function(){return r},xJ:function(){return i}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},64931:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},43125:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return o},save:function(){return a.Z},supports:function(){return i}});var r=n(86738),a=n(68405);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1}},85407:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t}=e;return(0,r.createElement)("div",{className:"tiled-gallery__col"},t)}},40195:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},73208:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(64931),l=n(84420),c=n(87178),u=n(67091),p=n(86738);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,linkTo:l,layoutStyle:c,selectedImage:p}=this.props,d=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:m,srcSet:h}=(0,u.z)(e,{layoutStyle:c});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":d,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:p===t,key:t,link:e.link,linkTo:l,origUrl:e.url,showMovers:i.length>1,srcSet:h,url:m,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d}=this.props,m=(0,u.v)(s)?c.Z:l.Z,h=this.props.images.map(this.renderImage,this),f=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${f}`]:f>0})},(0,r.createElement)(m,{align:e,columns:a,images:o,layoutStyle:s,renderedImages:h}),t)}}},56556:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27538),a=n.n(r),o=n(69307),i=n(71410),s=n(86159),l=n(8955),c=n(9972);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,u=(0,c.h9)(n),p="columns"===r?(0,c.sv)(u,t):(0,c.T9)(u,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},p.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(i.Z,{key:t},n)}))))))}}},9972:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=N([A,A,P,A,A]),c=N([A,A,A,P,A,A,A]),u=T([3,1,3],5),p=N([P,A,A,P]),d=T([1,2,1],5),m=N([P,A,A,A]),h=T([1,3],3),f=N([A,A,A,P]),g=T([3,1],3),b=N([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=N([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=T([2,1],3),C=N([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function A(e){return e>=1&&e<2}function P(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},8955:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},14916:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(8955),i=n(71410),s=n(86159),l=n(96470);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},96659:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(15515),o=n(98085),i=n(96470);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m})}},92805:function(e,t,n){"use strict";n.d(t,{v:function(){return l},z:function(){return c}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(96470);function l(e){return["circle","square"].includes(e)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:c}=e,{layoutStyle:m}=t,h=p(n)||!0===u()?d:r.Z;let f;if(l(m)&&c&&a){const e=Math.min(s.GP,c,a);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(l(m)){const e=Math.min(b,c,a),t=Math.min(s.GP,c,a);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,c),t=Math.min(s.GP,c);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function u(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function p(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},30154:function(e,t,n){"use strict";n.d(t,{hI:function(){return r},Z5:function(){return a},GP:function(){return o},xJ:function(){return i},EU:function(){return s},P0:function(){return l}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},7214:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},35660:function(e,t,n){"use strict";n.r(t),n.d(t,{save:function(){return a.Z},attributes:function(){return o},supports:function(){return i},migrate:function(){return s}});var r=n(30154),a=n(2387);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1},s=e=>{const t=Math.pow(10,5);return{...e,columnWidths:e.columnWidths.map((e=>e.map((e=>Math.round(e*t)/t))))}}},62940:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=Math.pow(10,12),o=Math.round(n*a)/a,i=n?{flexBasis:`${o}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:i},t)}},68742:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},62108:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(7214),l=n(34506),c=n(85185),u=n(60185),p=n(30154);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:l,linkTo:c,layoutStyle:p,onMoveBackward:d,onMoveForward:m,onRemoveImage:h,onSelectImage:f,selectedImage:g,setImageAttributes:b}=this.props,v=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:m,srcSet:h}=(0,u.z)(e,{layoutStyle:c});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":d,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:p===t,key:t,link:e.link,linkTo:l,origUrl:e.url,showMovers:i.length>1,srcSet:h,url:m,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d}=this.props,m=(0,u.v)(s)?c.Z:l.Z,h=this.props.images.map(this.renderImage,this),f=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${f}`]:f>0})},(0,r.createElement)(m,{align:e,columns:a,images:o,layoutStyle:s,renderedImages:h}),t)}}},84420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(18294),a=n.n(r),o=n(69307),i=n(85407),s=n(40195),l=n(56243),c=n(12126);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,u=(0,c.h9)(n),p="columns"===r?(0,c.sv)(u,t):(0,c.T9)(u,{isWide:["full","wide"].includes(e)});let d=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},p.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,t)=>{const n=a.slice(d,d+e);return d+=e,(0,o.createElement)(i.Z,{key:t},n)}))))))}}},12126:function(e,t,n){"use strict";n.d(t,{T9:function(){return S},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([I(1.6),(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2)),I(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function S(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function M(e){return t=>t>=e}function I(e){return t=>t<e}},56243:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},87178:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(56243),i=n(85407),s=n(40195),l=n(86738);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},68405:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(73208),o=n(81518),i=n(86738);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m})}},67091:function(e,t,n){"use strict";n.d(t,{v:function(){return s},z:function(){return l}});var r=n(69424),a=n(11313),o=n(92819),i=n(86738);function s(e){return["circle","square"].includes(e)}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:l,width:d}=e,{layoutStyle:m}=t,h=u(n)||!0===c()?p:r.Z;let f;if(s(m)&&d&&l){const e=Math.min(i.GP,d,l);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(s(m)){const e=Math.min(b,d,l),t=Math.min(i.GP,d,l);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,d),t=Math.min(i.GP,d);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function c(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function u(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},13993:function(e,t,n){"use strict";n.d(t,{EU:function(){return s},GP:function(){return o},P0:function(){return l},Z5:function(){return a},hI:function(){return r},xJ:function(){return i}});const r=20,a=20,o=2e3,i="circle",s="rectangular",l=[{isDefault:!0,name:s},{name:i},{name:"square"},{name:"columns"}]},21959:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},67525:function(e,t,n){"use strict";n.r(t),n.d(t,{attributes:function(){return o},migrate:function(){return s},save:function(){return a.Z},supports:function(){return i}});var r=n(13993),a=n(5826);const o={align:{default:"center",type:"string"},className:{default:`is-style-${r.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},i={align:["center","wide","full"],customClassName:!1,html:!1},s=e=>{const t=Math.pow(10,5);return{...e,columnWidths:e.columnWidths.map((e=>e.map((e=>Math.round(e*t)/t))))}}},17410:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=Math.pow(10,12),o=Math.round(n*a)/a,i=n?{flexBasis:`${o}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:i},t)}},46349:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},178:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(21959),l=n(47510),c=n(65662),u=n(11197),p=n(13993);const __=a.__;class d extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:l,linkTo:c,layoutStyle:p,onMoveBackward:d,onMoveForward:m,onRemoveImage:h,onSelectImage:f,selectedImage:g,setImageAttributes:b}=this.props,v=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:k,srcSet:y}=(0,u.z)(e,{layoutStyle:p});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":v,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:g===t,key:t,link:e.link,linkTo:c,onMoveBackward:l?void 0:d(t),onMoveForward:l?void 0:m(t),onRemove:l?void 0:h(t),onSelect:l?void 0:f(t),origUrl:e.url,setAttributes:l?void 0:b(t),showMovers:i.length>1,srcSet:y,url:k,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,u.v)(s)?c.Z:l.Z,b=this.props.images.map(this.renderImage,this),v=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},34506:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27538),a=n.n(r),o=n(69307),i=n(62940),s=n(68742),l=n(7930),c=n(58174);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:u}=this.props,p=(0,c.h9)(n),d="columns"===r?(0,c.sv)(p,t):(0,c.T9)(p,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,n)=>{const r=a.slice(m,m+e);return m+=e,(0,o.createElement)(i.Z,{key:n,width:u?.[t]?.[n]},r)}))))))}}},58174:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=N([A,A,P,A,A]),c=N([A,A,A,P,A,A,A]),u=T([3,1,3],5),p=N([P,A,A,P]),d=T([1,2,1],5),m=N([P,A,A,A]),h=T([1,3],3),f=N([A,A,A,P]),g=T([3,1],3),b=N([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=N([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=T([2,1],3),C=N([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function A(e){return e>=1&&e<2}function P(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},7930:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},85185:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(7930),i=n(62940),s=n(68742),l=n(30154);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},2387:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(62108),o=n(98085),i=n(30154);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},60185:function(e,t,n){"use strict";n.d(t,{v:function(){return l},z:function(){return c}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(30154);function l(e){return["circle","square"].includes(e)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:c}=e,{layoutStyle:m}=t,h=p(n)||!0===u()?d:r.Z;let f;if(l(m)&&c&&a){const e=Math.min(s.GP,c,a);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(l(m)){const e=Math.min(b,c,a),t=Math.min(s.GP,c,a);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,c),t=Math.min(s.GP,c);v=(0,i.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function u(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function p(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},86655:function(e,t,n){"use strict";n.d(t,{F:function(){return v}});var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(52175),c=n(12238),u=n(55609),p=n(41451),d=n(6624),m=n(28526),h=n(98085),f=n(80349),g=n(58703);const __=i.__,b=[{value:"attachment",label:__("Attachment Page","jetpack")},{value:"media",label:__("Media File","jetpack")},{value:"none",label:__("None","jetpack")}];function v(e){return Math.min(3,e.images.length)}const k=e=>{const t=(0,s.pick)(e,[["alt"],["id"],["link"]]);return t.url=(0,s.get)(e,["sizes","large","url"])||(0,s.get)(e,["media_details","sizes","large","source_url"])||e.url,t};class y extends o.Component{constructor(){super(...arguments),a()(this,"state",{selectedImage:null,changed:void 0===this.props.attributes.columnWidths||0===this.props.attributes.columnWidths?.length}),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],{noticeOperations:n}=this.props;(0,c.mediaUpload)({allowedTypes:m.RA,filesList:e,onFileChange:e=>{const n=e.map((e=>k(e)));this.setAttributes({images:t.concat(n)})},onError:n.createErrorNotice}),this.setState({changed:!0})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,s.filter)(this.props.attributes.images,((t,n)=>e!==n)),{columns:n}=this.props.attributes;this.setState({selectedImage:null,changed:!0}),this.setAttributes({images:t,columns:n?Math.min(t.length,n):n})})),a()(this,"onSelectImage",(e=>()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})})),a()(this,"onSelectImages",(e=>{const{columns:t}=this.props.attributes;this.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((e=>k(e)))}),this.setState({changed:!0})})),a()(this,"onMove",((e,t)=>{const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t,changed:!0}),this.setAttributes({images:n})})),a()(this,"onMoveForward",(e=>()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)})),a()(this,"onMoveBackward",(e=>()=>{0!==e&&this.onMove(e,e-1)})),a()(this,"onResize",(e=>{this.state.changed&&this.setAttributes({columnWidths:e})})),a()(this,"setColumnsNumber",(e=>this.setAttributes({columns:e}))),a()(this,"setRoundedCorners",(e=>this.setAttributes({roundedCorners:e}))),a()(this,"setImageAttributes",(e=>t=>{const{attributes:{images:n}}=this.props;n[e]&&this.setAttributes({images:[...n.slice(0,e),{...n[e],...t},...n.slice(e+1)]})})),a()(this,"setLinkTo",(e=>this.setAttributes({linkTo:e}))),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files)))}static getDerivedStateFromProps(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}render(){const{selectedImage:e}=this.state,{attributes:t,isSelected:n,className:r,noticeOperations:a,noticeUI:i,setAttributes:s}=this.props,{align:c,columns:k=v(t),imageFilter:y,images:E,linkTo:w,roundedCorners:_}=t,C=(0,o.createElement)(u.DropZone,{onFilesDrop:this.addFiles}),j=(0,o.createElement)(l.BlockControls,null,!!E.length&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToolbarGroup,null,(0,o.createElement)(u.ToolbarItem,null,(()=>(0,o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:m.RA,multiple:!0,gallery:!0,value:E.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,o.createElement)(g.Z,{label:__("Edit Gallery","jetpack"),onClick:t})}})))),(0,o.createElement)(p.Z,{value:y,onChange:e=>{s({imageFilter:e}),this.setState({selectedImage:null})}})));if(0===E.length)return(0,o.createElement)(o.Fragment,null,j,(0,o.createElement)(l.MediaPlaceholder,{icon:(0,o.createElement)(l.BlockIcon,{icon:f.qv}),className:r,labels:{title:__("Tiled Gallery","jetpack"),name:__("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:m.RA,multiple:!0,notices:i,onError:a.createErrorNotice}));const S=(0,h.t)(m.P0,t.className);return(0,o.createElement)(o.Fragment,null,j,(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:__("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(S)&&E.length>1&&(0,o.createElement)(u.RangeControl,{label:__("Columns","jetpack"),value:k,onChange:this.setColumnsNumber,min:1,max:Math.min(m.hI,E.length)}),S!==m.xJ&&(0,o.createElement)(u.RangeControl,{label:__("Rounded corners","jetpack"),value:_,onChange:this.setRoundedCorners,min:0,max:m.Z5}),(0,o.createElement)(u.SelectControl,{label:__("Link To","jetpack"),value:w,onChange:this.setLinkTo,options:b}))),i,(0,o.createElement)(d.Z,{align:c,className:r,columns:k,imageFilter:y,images:E,layoutStyle:S,linkTo:w,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onResize:this.onResize,roundedCorners:_,selectedImage:n?e:null,setImageAttributes:this.setImageAttributes},C,n&&(0,o.createElement)("div",{className:"tiled-gallery__add-item"},(0,o.createElement)(u.FormFileUpload,{multiple:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack")))))}}t.ZP=(0,u.withNotices)(y)},41451:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_x=a._x,i=[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Original","image style","jetpack"),value:void 0},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Black and White","image style","jetpack"),value:"black-and-white"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:_x("Sepia","image style","jetpack"),value:"sepia"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Clarendon","image style","jetpack"),value:"clarendon"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:_x("Gingham","image style","jetpack"),value:"gingham"}],s=__("Pick an image filter","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:s,tooltip:s,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},i.map((e=>{let{icon:i,title:s,value:l}=e;return(0,r.createElement)(o.MenuItem,{className:t===l?"is-active":void 0,icon:i,isSelected:t===l,key:l||"original",onClick:(c=l,()=>{n(t===c?void 0:c),a()}),role:"menuitemcheckbox"},s);var c})))}})}},79906:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(65736),c=n(39630),u=n(55609),p=n(11313),d=n(9818),m=n(9512);const __=l.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"img",(0,o.createRef)()),a()(this,"onImageClick",(()=>{this.props.isSelected||this.props.onSelect()})),a()(this,"onImageKeyDown",(e=>{this.img.current===document.activeElement&&this.props.isSelected&&[c.BACKSPACE,c.DELETE].includes(e.keyCode)&&this.props.onRemove()}))}componentDidUpdate(){const{alt:e,height:t,image:n,link:r,url:a,width:o}=this.props;if(n){const i={};!e&&n.alt_text&&(i.alt=n.alt_text),!t&&n.media_details&&n.media_details.height&&(i.height=+n.media_details.height),!r&&n.link&&(i.link=n.link),!a&&n.source_url&&(i.url=n.source_url),!o&&n.media_details&&n.media_details.width&&(i.width=+n.media_details.width),Object.keys(i).length&&this.props.setAttributes(i)}}render(){const{"aria-label":e,alt:t,columns:n,height:r,id:a,imageFilter:i,isFirstItem:l,isLastItem:c,isSelected:d,link:h,linkTo:f,onMoveBackward:g,onMoveForward:b,onRemove:v,origUrl:k,showMovers:y,srcSet:E,url:w,width:_}=this.props;let C;switch(f){case"media":C=w;break;case"attachment":C=h}const j=(0,p.isBlobURL)(k),S=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("img",{alt:t,"aria-label":e,"data-height":r,"data-id":a,"data-link":h,"data-url":k,"data-width":_,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:j?void 0:w,srcSet:j?void 0:E,tabIndex:"0",style:j?{backgroundImage:`url(${k})`}:void 0}),j&&(0,o.createElement)(u.Spinner,null));return(0,o.createElement)("figure",{className:s()("tiled-gallery__item",{"is-selected":d,"is-transient":j,[`filter__${i}`]:!!i})},y&&(0,o.createElement)("div",{className:"tiled-gallery__item__move-menu"},(0,o.createElement)(u.Button,{icon:1===n?m.WO:m.KT,onClick:l?void 0:g,className:"tiled-gallery__item__move-backward",label:__("Move image backward","jetpack"),"aria-disabled":l,disabled:!d}),(0,o.createElement)(u.Button,{icon:1===n?m.xf:m.zz,onClick:c?void 0:b,className:"tiled-gallery__item__move-forward",label:__("Move image forward","jetpack"),"aria-disabled":c,disabled:!d})),(0,o.createElement)("div",{className:"tiled-gallery__item__inline-menu"},(0,o.createElement)(u.Button,{icon:m.xv,onClick:v,className:"tiled-gallery__item__remove",label:__("Remove image","jetpack"),disabled:!d})),C?(0,o.createElement)("a",null,S):S)}}t.Z=(0,d.withSelect)(((e,t)=>{const{getMedia:n}=e("core"),{id:r}=t;return{image:r?n(r):null}}))(h)},97671:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(89105),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p,"data-amp-layout":"responsive"});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},9512:function(e,t,n){"use strict";n.d(t,{KT:function(){return o},zz:function(){return i},xf:function(){return s},WO:function(){return l},xv:function(){return c}});var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),i=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),s=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})),l=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})),c=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"-2 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))},80349:function(e,t,n){"use strict";n.d(t,{u2:function(){return S},qv:function(){return x},Xd:function(){return T}});var r=n(69307),a=n(65736),o=n(4981),i=n(92819),s=n(55609),l=n(86655),c=n(57713),u=n(28526),p=n(58014),d=n(57535),m=n(20510),h=n(70132),f=n(96606),g=n(85472),b=n(79009),v=n(10742),k=n(52642),y=n(41145);const __=a.__,_x=a._x,E={[u.EU]:_x("Tiled mosaic","Tiled gallery layout","jetpack"),[u.xJ]:_x("Circles","Tiled gallery layout","jetpack"),[u.sw]:_x("Tiled columns","Tiled gallery layout","jetpack"),[u.yw]:_x("Square tiles","Tiled gallery layout","jetpack")},w=u.P0.map((e=>({...e,label:E[e.name]})));function _(e){return(0,i.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const C={align:{default:"center",type:"string"},className:{default:`is-style-${u.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},j={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:f,width:160,height:95},{alt:"",link:"",url:g,width:160,height:107},{alt:"",link:"",url:b,width:304,height:203},{alt:"",link:"",url:v,width:312,height:207},{alt:"",link:"",url:k,width:152,height:101},{alt:"",link:"",url:y,width:152,height:105}],linkTo:"none"},S="tiled-gallery",x=(0,r.createElement)(s.SVG,{viewBox:"0 0 24 24",width:24,height:24},(0,r.createElement)(s.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),T={attributes:C,category:(0,m.Z)("media","layout"),description:__("Display multiple images in an elegantly organized tiled layout.","jetpack")+((0,p.Wp)()?"":" "+__("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:{src:x,foreground:(0,d.m)()},keywords:[_x("columns","block search term","jetpack"),_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("square","block search term","jetpack"),_x("circle","block search term","jetpack"),_x("mosaic","block search term","jetpack")],styles:w,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:__("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>_(e).length>0,transform:e=>{const t=_(e);return(0,o.createBlock)(`jetpack/${S}`,{images:t.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:e=>{let{images:t}=e;const n=_(t);return n.length>0?(0,o.createBlock)(`jetpack/${S}`,{images:n.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,o.createBlock)(`jetpack/${S}`)}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n,columns:r,linkTo:a}=e;return(0,o.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:e=>{let{align:t,images:n}=e;return n.length>0?n.map((e=>{let{id:n,url:r,alt:a}=e;return(0,o.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):(0,o.createBlock)("core/image")}}]},edit:l.ZP,save:c.Z,deprecated:h.Z,example:{attributes:j}}},64597:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=n?{flexBasis:`${n}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:a},t)}},31766:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},6624:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(89105),i=n.n(o),s=n(79906),l=n(97671),c=n(83958),u=n(92870),p=n(5968),d=n(28526);const __=a.__;class m extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:c,linkTo:u,layoutStyle:d,onMoveBackward:m,onMoveForward:h,onRemoveImage:f,onSelectImage:g,selectedImage:b,setImageAttributes:v}=this.props,k=(0,a.sprintf)(
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),{src:k,srcSet:y}=(0,u.z)(e,{layoutStyle:p});return(0,r.createElement)(s.Z,{alt:e.alt,"aria-label":v,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:g===t,key:t,link:e.link,linkTo:c,onMoveBackward:l?void 0:d(t),onMoveForward:l?void 0:m(t),onRemove:l?void 0:h(t),onSelect:l?void 0:f(t),origUrl:e.url,setAttributes:l?void 0:b(t),showMovers:i.length>1,srcSet:y,url:k,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:d,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,u.v)(s)?c.Z:l.Z,b=this.props.images.map(this.renderImage,this),v=s!==p.xJ?Math.min(d,p.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},47510:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(18294),a=n.n(r),o=n(69307),i=n(17410),s=n(46349),l=n(78922),c=n(3453);class u extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:u}=this.props,p=(0,c.h9)(n),d="columns"===r?(0,c.sv)(p,t):(0,c.T9)(p,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(s.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(l.Z,{key:t},e.map(((e,n)=>{var r;const s=a.slice(m,m+e);return m+=e,(0,o.createElement)(i.Z,{key:n,width:null==u||null===(r=u[t])||void 0===r?void 0:r[n]},s)}))))))}}},3453:function(e,t,n){"use strict";n.d(t,{T9:function(){return S},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([I(1.6),(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2)),I(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function S(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function M(e){return t=>t>=e}function I(e){return t=>t<e}},78922:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},65662:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(78922),i=n(17410),s=n(46349),l=n(13993);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},5826:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(178),o=n(81518),i=n(13993);function s(e){return Math.min(3,e.images.length)}function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=s(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,o.t)(i.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},11197:function(e,t,n){"use strict";n.d(t,{v:function(){return s},z:function(){return l}});var r=n(69424),a=n(11313),o=n(92819),i=n(13993);function s(e){return["circle","square"].includes(e)}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const n=e.url.split("?",1)[0],{height:l,width:d}=e,{layoutStyle:m}=t,h=u(n)||!0===c()?p:r.Z;let f;if(s(m)&&d&&l){const e=Math.min(i.GP,d,l);f=h(n,{resize:`${e},${e}`})}else f=h(n);const g=300,b=600;let v;if(s(m)){const e=Math.min(b,d,l),t=Math.min(i.GP,d,l);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(b,d),t=Math.min(i.GP,d);v=(0,o.range)(e,t,g).map((e=>{const t=h(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:f},v&&{srcSet:v})}function c(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function u(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},15078:function(e,t,n){"use strict";n.d(t,{F:function(){return v}});var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(92819),l=n(52175),c=n(12238),u=n(55609),p=n(38897),d=n(21340),m=n(3740),h=n(81518),f=n(99602),g=n(94545);const __=i.__,b=[{value:"attachment",label:__("Attachment Page","jetpack")},{value:"media",label:__("Media File","jetpack")},{value:"none",label:__("None","jetpack")}];function v(e){return Math.min(3,e.images.length)}const k=e=>{const t=(0,s.pick)(e,[["alt"],["id"],["link"]]);return t.url=(0,s.get)(e,["sizes","large","url"])||(0,s.get)(e,["media_details","sizes","large","source_url"])||e.url,t};class y extends o.Component{constructor(){var e;super(...arguments),a()(this,"state",{selectedImage:null,changed:void 0===this.props.attributes.columnWidths||0===(null===(e=this.props.attributes.columnWidths)||void 0===e?void 0:e.length)}),a()(this,"addFiles",(e=>{const t=this.props.attributes.images||[],{noticeOperations:n}=this.props;(0,c.mediaUpload)({allowedTypes:m.RA,filesList:e,onFileChange:e=>{const n=e.map((e=>k(e)));this.setAttributes({images:t.concat(n)})},onError:n.createErrorNotice}),this.setState({changed:!0})})),a()(this,"onRemoveImage",(e=>()=>{const t=(0,s.filter)(this.props.attributes.images,((t,n)=>e!==n)),{columns:n}=this.props.attributes;this.setState({selectedImage:null,changed:!0}),this.setAttributes({images:t,columns:n?Math.min(t.length,n):n})})),a()(this,"onSelectImage",(e=>()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})})),a()(this,"onSelectImages",(e=>{const{columns:t}=this.props.attributes;this.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((e=>k(e)))}),this.setState({changed:!0})})),a()(this,"onMove",((e,t)=>{const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t,changed:!0}),this.setAttributes({images:n})})),a()(this,"onMoveForward",(e=>()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)})),a()(this,"onMoveBackward",(e=>()=>{0!==e&&this.onMove(e,e-1)})),a()(this,"onResize",(e=>{this.state.changed&&this.setAttributes({columnWidths:e})})),a()(this,"setColumnsNumber",(e=>this.setAttributes({columns:e}))),a()(this,"setRoundedCorners",(e=>this.setAttributes({roundedCorners:e}))),a()(this,"setImageAttributes",(e=>t=>{const{attributes:{images:n}}=this.props;n[e]&&this.setAttributes({images:[...n.slice(0,e),{...n[e],...t},...n.slice(e+1)]})})),a()(this,"setLinkTo",(e=>this.setAttributes({linkTo:e}))),a()(this,"uploadFromFiles",(e=>this.addFiles(e.target.files)))}static getDerivedStateFromProps(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}setAttributes(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e={...e,ids:e.images.map((e=>{let{id:t}=e;return parseInt(t,10)}))}),this.props.setAttributes(e)}render(){const{selectedImage:e}=this.state,{attributes:t,isSelected:n,className:r,noticeOperations:a,noticeUI:i,setAttributes:s}=this.props,{align:c,columns:k=v(t),imageFilter:y,images:E,linkTo:w,roundedCorners:_}=t,C=(0,o.createElement)(u.DropZone,{onFilesDrop:this.addFiles}),S=(0,o.createElement)(l.BlockControls,null,!!E.length&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToolbarGroup,null,(0,o.createElement)(u.ToolbarItem,null,(()=>(0,o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:m.RA,multiple:!0,gallery:!0,value:E.map((e=>e.id)),render:e=>{let{open:t}=e;return(0,o.createElement)(g.Z,{label:__("Edit Gallery","jetpack"),onClick:t})}})))),(0,o.createElement)(p.Z,{value:y,onChange:e=>{s({imageFilter:e}),this.setState({selectedImage:null})}})));if(0===E.length)return(0,o.createElement)(o.Fragment,null,S,(0,o.createElement)(l.MediaPlaceholder,{icon:f.qv,className:r,labels:{title:__("Tiled Gallery","jetpack"),name:__("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:m.RA,multiple:!0,notices:i,onError:a.createErrorNotice}));const j=(0,h.t)(m.P0,t.className);return(0,o.createElement)(o.Fragment,null,S,(0,o.createElement)(l.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:__("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(j)&&E.length>1&&(0,o.createElement)(u.RangeControl,{label:__("Columns","jetpack"),value:k,onChange:this.setColumnsNumber,min:1,max:Math.min(m.hI,E.length)}),j!==m.xJ&&(0,o.createElement)(u.RangeControl,{label:__("Rounded corners","jetpack"),value:_,onChange:this.setRoundedCorners,min:0,max:m.Z5}),(0,o.createElement)(u.SelectControl,{label:__("Link To","jetpack"),value:w,onChange:this.setLinkTo,options:b}))),i,(0,o.createElement)(d.Z,{align:c,className:r,columns:k,imageFilter:y,images:E,layoutStyle:j,linkTo:w,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onResize:this.onResize,roundedCorners:_,selectedImage:n?e:null,setImageAttributes:this.setImageAttributes},C,n&&(0,o.createElement)("div",{className:"tiled-gallery__add-item"},(0,o.createElement)(u.FormFileUpload,{multiple:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},__("Upload an image","jetpack")))))}}t.ZP=(0,u.withNotices)(y)},38897:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_x=a._x,i=[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Original","image style","jetpack"),value:void 0},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Black and White","image style","jetpack"),value:"black-and-white"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:_x("Sepia","image style","jetpack"),value:"sepia"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:_x("Clarendon","image style","jetpack"),value:"clarendon"},{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,r.createElement)(o.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:_x("Gingham","image style","jetpack"),value:"gingham"}],s=__("Pick an image filter","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:s,tooltip:s,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},i.map((e=>{let{icon:i,title:s,value:l}=e;return(0,r.createElement)(o.MenuItem,{className:t===l?"is-active":void 0,icon:i,isSelected:t===l,key:l||"original",onClick:(c=l,()=>{n(t===c?void 0:c),a()}),role:"menuitemcheckbox"},s);var c})))}})}},57773:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(65736),c=n(39630),u=n(55609),p=n(11313),d=n(9818),m=n(17752);const __=l.__;class h extends o.Component{constructor(){super(...arguments),a()(this,"img",(0,o.createRef)()),a()(this,"onImageClick",(()=>{this.props.isSelected||this.props.onSelect()})),a()(this,"onImageKeyDown",(e=>{this.img.current===document.activeElement&&this.props.isSelected&&[c.BACKSPACE,c.DELETE].includes(e.keyCode)&&this.props.onRemove()}))}componentDidUpdate(){const{alt:e,height:t,image:n,link:r,url:a,width:o}=this.props;if(n){const i={};!e&&n.alt_text&&(i.alt=n.alt_text),!t&&n.media_details&&n.media_details.height&&(i.height=+n.media_details.height),!r&&n.link&&(i.link=n.link),!a&&n.source_url&&(i.url=n.source_url),!o&&n.media_details&&n.media_details.width&&(i.width=+n.media_details.width),Object.keys(i).length&&this.props.setAttributes(i)}}render(){const{"aria-label":e,alt:t,columns:n,height:r,id:a,imageFilter:i,isFirstItem:l,isLastItem:c,isSelected:d,link:h,linkTo:f,onMoveBackward:g,onMoveForward:b,onRemove:v,origUrl:k,showMovers:y,srcSet:E,url:w,width:_}=this.props;let C;switch(f){case"media":C=w;break;case"attachment":C=h}const S=(0,p.isBlobURL)(k),j=(0,o.createElement)(o.Fragment,null,(0,o.createElement)("img",{alt:t,"aria-label":e,"data-height":r,"data-id":a,"data-link":h,"data-url":k,"data-width":_,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:S?void 0:w,srcSet:S?void 0:E,tabIndex:"0",style:S?{backgroundImage:`url(${k})`}:void 0}),S&&(0,o.createElement)(u.Spinner,null));return(0,o.createElement)("figure",{className:s()("tiled-gallery__item",{"is-selected":d,"is-transient":S,[`filter__${i}`]:!!i})},y&&(0,o.createElement)("div",{className:"tiled-gallery__item__move-menu"},(0,o.createElement)(u.Button,{icon:1===n?m.WO:m.KT,onClick:l?void 0:g,className:"tiled-gallery__item__move-backward",label:__("Move image backward","jetpack"),"aria-disabled":l,disabled:!d}),(0,o.createElement)(u.Button,{icon:1===n?m.xf:m.zz,onClick:c?void 0:b,className:"tiled-gallery__item__move-forward",label:__("Move image forward","jetpack"),"aria-disabled":c,disabled:!d})),(0,o.createElement)("div",{className:"tiled-gallery__item__inline-menu"},(0,o.createElement)(u.Button,{icon:m.xv,onClick:v,className:"tiled-gallery__item__remove",label:__("Remove image","jetpack"),disabled:!d})),C?(0,o.createElement)("a",null,j):j)}}t.Z=(0,d.withSelect)(((e,t)=>{const{getMedia:n}=e("core"),{id:r}=t;return{image:r?n(r):null}}))(h)},81921:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),a=n(65235),o=n.n(a),i=n(11313);function s(e){const{alt:t,imageFilter:n,height:a,id:s,link:l,linkTo:c,origUrl:u,url:p,width:d}=e;if((0,i.isBlobURL)(u))return null;let m;switch(c){case"media":m=p;break;case"attachment":m=l}const h=(0,r.createElement)("img",{alt:t,"data-height":a,"data-id":s,"data-link":l,"data-url":u,"data-width":d,src:p,"data-amp-layout":"responsive"});return(0,r.createElement)("figure",{className:o()("tiled-gallery__item",{[`filter__${n}`]:!!n})},m?(0,r.createElement)("a",{href:m},h):h)}},17752:function(e,t,n){"use strict";n.d(t,{KT:function(){return o},WO:function(){return l},xf:function(){return s},xv:function(){return c},zz:function(){return i}});var r=n(69307),a=n(55609);const o=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),i=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),s=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})),l=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})),c=(0,r.createElement)(a.SVG,{width:"18",height:"18",viewBox:"-2 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))},99602:function(e,t,n){"use strict";n.d(t,{Xd:function(){return P},qv:function(){return x},u2:function(){return j}});var r=n(69307),a=n(65736),o=n(4981),i=n(92819),s=n(55609),l=n(13419),c=n(15078),u=n(10745),p=n(3740),d=n(70355),m=n(5820),h=n(73463),f=n(96606),g=n(85472),b=n(79009),v=n(10742),k=n(52642),y=n(41145);const __=a.__,_x=a._x,E={[p.EU]:_x("Tiled mosaic","Tiled gallery layout","jetpack"),[p.xJ]:_x("Circles","Tiled gallery layout","jetpack"),[p.sw]:_x("Tiled columns","Tiled gallery layout","jetpack"),[p.yw]:_x("Square tiles","Tiled gallery layout","jetpack")},w=p.P0.map((e=>({...e,label:E[e.name]})));function _(e){return(0,i.filter)(e,(e=>{let{id:t,url:n}=e;return t&&n}))}const C={align:{default:"center",type:"string"},className:{default:`is-style-${p.EU}`,type:"string"},columns:{type:"number"},columnWidths:{default:[],type:"array"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},imageCrop:{type:"boolean",default:!0},linkTo:{default:"none",type:"string"},roundedCorners:{type:"integer",default:0}},S={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:f,width:160,height:95},{alt:"",link:"",url:g,width:160,height:107},{alt:"",link:"",url:b,width:304,height:203},{alt:"",link:"",url:v,width:312,height:207},{alt:"",link:"",url:k,width:152,height:101},{alt:"",link:"",url:y,width:152,height:105}],linkTo:"none"},j="tiled-gallery",x=(0,r.createElement)(s.SVG,{viewBox:"0 0 24 24",width:24,height:24},(0,r.createElement)(s.Path,{d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),P={attributes:C,category:(0,m.Z)("media","layout"),description:__("Display multiple images in an elegantly organized tiled layout.","jetpack")+((0,l.Wp)()?"":" "+__("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:{src:x,foreground:(0,d.m)()},keywords:[_x("columns","block search term","jetpack"),_x("images","block search term","jetpack"),_x("photos","block search term","jetpack"),_x("pictures","block search term","jetpack"),_x("square","block search term","jetpack"),_x("circle","block search term","jetpack"),_x("mosaic","block search term","jetpack")],styles:w,supports:{align:["center","wide","full"],color:{gradients:!0,text:!1},customClassName:!1,html:!1,spacing:{margin:!0,padding:!0},__experimentalHideChildBlockControls:!0},title:__("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:e=>_(e).length>0,transform:e=>{const t=_(e);return(0,o.createBlock)(`jetpack/${j}`,{images:t.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:t.map((e=>{let{id:t}=e;return t}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:e=>{let{images:t}=e;const n=_(t);return n.length>0?(0,o.createBlock)(`jetpack/${j}`,{images:n.map((e=>{let{id:t,url:n,link:r,alt:a}=e;return{id:t,url:n,link:r,alt:a}})),ids:n.map((e=>{let{id:t}=e;return t}))}):(0,o.createBlock)(`jetpack/${j}`)}}],to:[{type:"block",blocks:["core/gallery"],transform:e=>{let{images:t,ids:n,columns:r,linkTo:a}=e;return(0,o.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:e=>{let{align:t,images:n}=e;return n.length>0?n.map((e=>{let{id:n,url:r,alt:a}=e;return(0,o.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):(0,o.createBlock)("core/image")}}]},edit:c.ZP,save:u.Z,providesContext:{imageCrop:"imageCrop"},deprecated:h.Z,example:{attributes:S}}},46936:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,width:n}=e;const a=n?{flexBasis:`${n}%`}:void 0;return(0,r.createElement)("div",{className:"tiled-gallery__col",style:a},t)}},75084:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307);function a(e){let{children:t,galleryRef:n}=e;return(0,r.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}},21340:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65736),o=n(65235),i=n.n(o),s=n(57773),l=n(81921),c=n(46438),u=n(70216),p=n(13369),d=n(3740);const __=a.__;class m extends r.Component{renderImage(e,t){const{columns:n,imageFilter:o,images:i,isSave:c,linkTo:u,layoutStyle:d,onMoveBackward:m,onMoveForward:h,onRemoveImage:f,onSelectImage:g,selectedImage:b,setImageAttributes:v}=this.props,k=(0,a.sprintf)(
/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
-__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),y=c?l.Z:s.Z,{src:E,srcSet:w}=(0,p.z)(e,{layoutStyle:d});return(0,r.createElement)(y,{alt:e.alt,"aria-label":k,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:b===t,key:t,link:e.link,linkTo:u,onMoveBackward:c?void 0:m(t),onMoveForward:c?void 0:h(t),onRemove:c?void 0:f(t),onSelect:c?void 0:g(t),origUrl:e.url,setAttributes:c?void 0:v(t),showMovers:i.length>1,srcSet:w,url:E,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:l,onResize:m,isSave:h,columnWidths:f}=this.props,g=(0,p.v)(s)?u.Z:c.Z,b=this.props.images.map(this.renderImage,this),v=s!==d.xJ?Math.min(l,d.Z5):0;return(0,r.createElement)("div",{className:i()(n,{[`has-rounded-corners-${v}`]:v>0})},(0,r.createElement)(g,{align:e,columns:a,columnWidths:h?f:void 0,images:o,layoutStyle:s,renderedImages:b,onResize:h?void 0:m}),t)}}},83958:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),a=n.n(r),o=n(69307),i=n(54166),s=n(64597),l=n(31766),c=n(92212),u=n(17265),p=n(58731);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t,r=[];(0,u.W)(n).forEach((t=>{r.push((0,u.i)(t,e))})),void 0!==this.props.onResize&&this.props.onResize(r)}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a,columnWidths:i}=this.props,u=(0,p.h9)(n),d="columns"===r?(0,p.sv)(u,t):(0,p.T9)(u,{isWide:["full","wide"].includes(e)});let m=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},d.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,n)=>{const r=a.slice(m,m+e);return m+=e,(0,o.createElement)(s.Z,{key:n,width:i?.[t]?.[n]},r)}))))))}}},58731:function(e,t,n){"use strict";n.d(t,{h9:function(){return a},sv:function(){return i},T9:function(){return j}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=T([2,1,2],5),l=N([A,A,P,A,A]),c=N([A,A,A,P,A,A,A]),u=T([3,1,3],5),p=N([P,A,A,P]),d=T([1,2,1],5),m=N([P,A,A,A]),h=T([1,3],3),f=N([A,A,A,P]),g=T([3,1],3),b=N([M(1.6),(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2))]),v=T([1,2],3),k=T([1,1,1,1,1],1),y=T([1,1,1,1],1),E=T([1,1,1],3),w=N([(0,r.overEvery)(I(.9),M(2)),(0,r.overEvery)(I(.9),M(2)),M(1.6)]),_=T([2,1],3),C=N([function(e){return e>=2}]);function j(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:S(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function S(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function T(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function N(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function A(e){return e>=1&&e<2}function P(e){return e<1}function I(e){return t=>t>=e}function M(e){return t=>t<e}},17265:function(e,t,n){"use strict";n.d(t,{i:function(){return o},W:function(){return i}});var r=n(28526);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){return function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);return function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}));return d.map((e=>parseFloat(e/o*100).toFixed(5)))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},92212:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(89105),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},92870:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(92212),i=n(64597),s=n(31766),l=n(28526);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},57713:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(6624),o=n(86655),i=n(98085),s=n(28526);function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=(0,o.F)(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,i.t)(s.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},5968:function(e,t,n){"use strict";n.d(t,{v:function(){return u},z:function(){return p}});var r=n(40278),a=n(82827),o=n(11313),i=n(92819),s=n(28526),l=n(58014),c=n(47077);function u(e){return["circle","square"].includes(e)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,c.Z)())return{src:e.url};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,l.Ug)()&&(0,l.M6)())return{src:e.url};const n=e.url.split("?",1)[0],{height:a,width:p}=e,{layoutStyle:f}=t,g=m(n)||!0===d()?h:r.Z;let b;if(u(f)&&p&&a){const e=Math.min(s.GP,p,a);b=g(n,{resize:`${e},${e}`})}else b=g(n);const v=300,k=600;let y;if(u(f)){const e=Math.min(k,p,a),t=Math.min(s.GP,p,a);y=(0,i.range)(e,t,v).map((e=>{const t=g(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(k,p),t=Math.min(s.GP,p);y=(0,i.range)(e,t,v).map((e=>{const t=g(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:b},y&&{srcSet:y})}function d(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function m(e){const{host:t}=(0,a.Qc)(e);return/\.files\.wordpress\.com$/.test(t)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},{auth:r,hash:o,port:i,query:s,search:l,...c}=(0,a.Qc)(e);return c.query=Object.keys(t).reduce(((e,r)=>Object.assign(e,{[n.hasOwnProperty(r)?n[r]:r]:t[r]})),{}),(0,a.WU)(c)}},96816:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}]},71486:function(e,t,n){"use strict";var r=n(70124);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:r.Z,isDeprecation:!0}},70124:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{caption:n,guid:o}=t;if(!o)return null;const i=`https://videopress.com/v/${o}`;return(0,r.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${i}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},4207:function(e,t,n){"use strict";var r=n(30663),a=n(7332);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"},videoPressClassNames:{type:"string"},align:{type:"wide"}},support:{reusable:!1},isEligible:e=>{let{videoPressClassNames:t,guid:n}=e;return n&&void 0===t},migrate:e=>{const{className:t,videoPressClassNames:n}=e;return{...e,...(0,a.a)(t,n)}},save:r.Z,isDeprecation:!0}},30663:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(10198);function i(e){const{attributes:{autoplay:t,caption:n,controls:i,guid:s,loop:l,muted:c,poster:u,preload:p,videoPressClassNames:d}={}}=e;if(!s)return null;const m=(0,o.p)(s,{autoplay:t,controls:i,loop:l,muted:c,poster:u,preload:p});return(0,r.createElement)("figure",{className:d},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${m}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},10198:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,poster:s,preload:l}=t;if(!e)return null;const c={...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{posterUrl:s},..."none"!==l&&{preloadContent:l}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,c)}},7332:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(81326),a=n.n(r),o=n(29512),i=n.n(o);const s=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],l=(e,t)=>{const n=s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1}),r=a()(e,{...n,"wp-block-embed":!1,"is-type-video":!1,"is-provider-videopress":!1}),o=new(i())(r);let l=a()(e,t);return o.forEach((e=>{l=l.replace(e,"")})),{className:r,videoPressClassNames:l.trim()}}},3082:function(e,t,n){"use strict";var r=n(38225);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,save:r.Z,isDeprecation:!0}},38225:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(89105),i=n.n(o),s=n(14842);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k}={}}=e,y=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),E=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});return(0,r.createElement)("figure",y,(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${E}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},14842:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},6976:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(27538),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(11313),p=n(55609),d=n(94333),m=n(9818),h=n(52175),f=n(65736),g=n(22607),b=n(41221),v=n(89105),k=n.n(v),y=n(92819),E=n(38341),w=n(45151),_=n(43501),C=n(72905),j=n(9360);const __=f.__,_x=f._x,S=["image"],x=e=>{const{html:t,scripts:n,interactive:r,caption:a,isSelected:o,hideOverlay:i,attributes:l,setAttributes:c}=e,{align:u,className:d,videoPressClassNames:m,maxWidth:f}=l,g=(0,h.useBlockProps)({className:k()("wp-block-video",d,m,{[`align${u}`]:u})});return(0,s.createElement)("figure",g,(0,s.createElement)("div",{className:"wp-block-embed__wrapper"},(0,s.createElement)(p.ResizableBox,{enable:{top:!1,bottom:!1,left:!0,right:!0},maxWidth:"100%",size:{width:f},style:{margin:"auto"},onResizeStop:(e,t,n)=>{let r=getComputedStyle(n).width;if(null!==n.parentElement){r===getComputedStyle(n.parentElement).width&&(r="100%")}c({maxWidth:r})}},(0,s.createElement)(p.SandBox,{html:t,scripts:n,type:m}))),!r&&(0,s.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:i}),(!h.RichText.isEmpty(a)||o)&&(0,s.createElement)(h.RichText,{tagName:"figcaption",placeholder:__("Write caption…","jetpack"),value:a,onChange:e=>c({caption:e}),inlineToolbar:!0}))};t.Z=(0,d.createHigherOrderComponent)((0,d.compose)([(0,m.withSelect)(((e,t)=>{const{autoplay:n,controls:r,guid:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:p,seekbarLoadingColor:d,seekbarPlayedColor:m,src:h,useAverageColor:f}=t.attributes,{getEmbedPreview:g,isRequestingEmbedPreview:b}=e("core"),v=(0,w.p)(a,{autoplay:n,controls:r,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:p,seekbarLoadingColor:d,seekbarPlayedColor:m,useAverageColor:f}),k=!!v&&g(v);return{isFetchingPreview:!!v&&b(v),isUploading:(0,u.isBlobURL)(h),preview:k,url:v}})),(0,m.withDispatch)((e=>({invalidateCachedEmbedPreview:t=>{e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}))),d.withInstanceId,e=>class extends s.Component{constructor(){super(...arguments),i()(this,"hideOverlay",(()=>{this.setState({interactive:!0})})),i()(this,"setRatingAndAllowDownload",(async()=>{const e=(0,y.get)(this.props,"attributes.id"),t=await this.requestMedia(e);let n=(0,y.get)(t,"jetpack_videopress.rating");const r=(0,y.get)(t,"media_details.videopress.allow_download");n&&("X-18"===n&&(n="R-17"),this.setState({rating:n})),void 0!==r&&this.setState({allowDownload:!!r})})),i()(this,"schedulePreviewCacheReload",(()=>{const{invalidateCachedEmbedPreview:e,url:t}=this.props;null===this.previewCacheReloadTimer&&this.previewFailuresCount<5&&(this.previewFailuresCount++,this.previewCacheReloadTimer=setTimeout((()=>{e(t),this.previewCacheReloadTimer=null}),2e3*this.previewFailuresCount))})),i()(this,"fallbackToCore",(()=>{this.props.setAttributes({guid:void 0}),this.setState({fallback:!0})})),i()(this,"setGuid",(async()=>{const{attributes:e,setAttributes:t}=this.props,{id:n}=e;if(n)try{const e=await this.requestMedia(n);if(null===e)return;const r=(0,y.get)(e,"jetpack_videopress.guid");r?(t({guid:r}),this.setTracks(r)):this.fallbackToCore()}catch(e){this.setState({isFetchingMedia:!1}),this.fallbackToCore()}else t({guid:void 0})})),i()(this,"requestMedia",(async e=>{if(!e)return null;if(null!==this.state.media&&this.state.lastRequestedMediaId===e)return this.state.media;this.setState({isFetchingMedia:!0});const t=await c()({path:`/wp/v2/media/${e}`}).catch((()=>(this.setState({fallback:!0}),null))).finally((()=>{this.setState({isFetchingMedia:!1})})),{id:n}=this.props.attributes;return e!==n?null:(this.setState({media:t,lastRequestedMediaId:e}),t)})),i()(this,"setTracks",(e=>{const{setAttributes:t}=this.props;e&&c()({url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}`,credentials:"omit",global:!0}).then((e=>{const n=[];Object.keys(e.tracks).forEach((t=>{for(const r in e.tracks[t]){const a=e.tracks[t][r];n.push({src:a.src,kind:t,srcLang:r,label:a.label})}})),t({videoPressTracks:n})}))})),i()(this,"switchToEditing",(()=>{this.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),i()(this,"onSelectPoster",(e=>{const{setAttributes:t}=this.props;t({poster:e.url})})),i()(this,"onRemovePoster",(()=>{const{setAttributes:e}=this.props;e({poster:""}),this.posterImageButton.current.focus()})),i()(this,"toggleAttribute",(e=>t=>{this.props.setAttributes({[e]:t})})),i()(this,"getAutoplayHelp",(e=>e?__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null)),i()(this,"onChangeRating",(e=>{const t=this.state.rating;"X-18"===e&&(e="R-17"),-1!==(0,y.indexOf)(["G","PG-13","R-17"],e)&&this.updateMetaApiCall({rating:e},(()=>this.setState({isUpdatingRating:!0,rating:e})),(()=>this.setState({rating:t})),(()=>this.setState({isUpdatingRating:!1})))})),i()(this,"onChangeAllowDownload",(e=>{const t=this.state.allowDownload;this.updateMetaApiCall({allow_download:e?1:0},(()=>this.setState({isUpdatingAllowDownload:!0,allowDownload:e})),(()=>this.setState({allowDownload:t})),(()=>this.setState({isUpdatingAllowDownload:!1})))})),i()(this,"updateMetaApiCall",((e,t,n,r)=>{const{invalidateCachedEmbedPreview:a,url:o}=this.props,{id:i}=this.props.attributes;if(!i)return;t();const s={id:i};Object.assign(s,e),c()({path:"/wpcom/v2/videopress/meta",method:"POST",data:s}).then((e=>{status in e&&200!==e.status&&n()})).catch((()=>n())).finally((()=>{r(),a(o)}))})),this.state={media:null,isFetchingMedia:!1,fallback:!1,interactive:!1,rating:null,lastRequestedMediaId:null,isUpdatingRating:!1,allowDownload:null,isUpdatingAllowDownload:!1},this.posterImageButton=(0,s.createRef)(),this.previewCacheReloadTimer=null,this.previewFailuresCount=0}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}async componentDidMount(){const{guid:e}=this.props.attributes;e?this.setTracks(e):await this.setGuid(),this.setRatingAndAllowDownload()}async componentDidUpdate(e){const{attributes:t,invalidateCachedEmbedPreview:n,preview:r,setAttributes:a,url:o,isFetchingPreview:i}=this.props;t.id!==e.attributes.id&&(await this.setGuid(),this.setRatingAndAllowDownload());let s=!1;if(o&&o!==e.url&&(n(o),s=!0),r){const e=(0,_.f)(r.html,k()("wp-block-embed","is-type-video","is-provider-videopress"),!1);this.previewFailuresCount=0,a({videoPressClassNames:e})}else i||s||!this.props.attributes.guid||this.schedulePreviewCacheReload()}getPreloadHelp(){const{attributes:e}=this.props;return"auto"===e.preload?__("Note: Automatically downloading videos may cause issues if there are many videos displayed on the same page.","jetpack"):null}renderControlLabelWithTooltip(e,t){return(0,s.createElement)(p.Tooltip,{text:t,position:"top"},(0,s.createElement)("span",null,e))}render(){const{attributes:t,instanceId:n,isFetchingPreview:r,isUploading:o,preview:i,setAttributes:l}=this.props,{fallback:c,isFetchingMedia:u,isUpdatingRating:d,interactive:m,rating:v,allowDownload:k,isUpdatingAllowDownload:y}=this.state,{autoplay:w,caption:_,controls:T,guid:N,loop:A,muted:P,playsinline:I,poster:M,preload:R,useAverageColor:L,videoPressTracks:B,isVideoPressExample:Z,src:F}=t;if(Z&&F)return(0,s.createElement)("img",{src:F,alt:_});const D=`video-block__poster-image-description-${n}`,O=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h.BlockControls,{group:"block"},(0,s.createElement)(j.Z,{tracks:B,onChange:e=>{l({videoPressTracks:e})},guid:N})),(0,s.createElement)(h.BlockControls,null,(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{className:"components-icon-button components-toolbar__control",label:__("Edit video","jetpack"),onClick:this.switchToEditing,icon:(0,s.createElement)(g.Z,{icon:b.Z})}))),(0,s.createElement)(h.InspectorControls,null,(0,s.createElement)(p.PanelBody,{title:__("Video Settings","jetpack")},(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Autoplay","jetpack"),
+__("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),y=c?l.Z:s.Z,{src:E,srcSet:w}=(0,p.z)(e,{layoutStyle:d});return(0,r.createElement)(y,{alt:e.alt,"aria-label":k,columns:n,height:e.height,id:e.id,imageFilter:o,isFirstItem:0===t,isLastItem:t+1===i.length,isSelected:b===t,key:t,link:e.link,linkTo:u,onMoveBackward:c?void 0:m(t),onMoveForward:c?void 0:h(t),onRemove:c?void 0:f(t),onSelect:c?void 0:g(t),origUrl:e.url,setAttributes:c?void 0:v(t),showMovers:i.length>1,srcSet:w,url:E,width:e.width})}render(){const{align:e,children:t,className:n,columns:a,images:o,layoutStyle:s,roundedCorners:l,onResize:m,style:h,isSave:f,columnWidths:g}=this.props,b=(0,p.v)(s)?u.Z:c.Z,v=this.props.images.map(this.renderImage,this),k=s!==d.xJ?Math.min(l,d.Z5):0;return(0,r.createElement)("div",{style:h,className:i()(n,{[`has-rounded-corners-${k}`]:k>0})},(0,r.createElement)(b,{align:e,columns:a,columnWidths:f?g:void 0,images:o,layoutStyle:s,renderedImages:v,onResize:f?void 0:m}),t)}}},46438:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(18294),a=n.n(r),o=n(69307),i=n(6209),s=n(46936),l=n(75084),c=n(51309),u=n(99856),p=n(96001);class d extends o.Component{constructor(){super(...arguments),a()(this,"gallery",(0,o.createRef)()),a()(this,"pendingRaf",null),a()(this,"ro",null),a()(this,"handleGalleryResize",(e=>{this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame((()=>{for(const{contentRect:t,target:n}of e){const{width:e}=t,r=[];(0,u.W)(n).forEach((t=>{r.push((0,u.i)(t,e))})),void 0!==this.props.onResize&&this.props.onResize(r)}}))}))}componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||"columns"===this.props.layoutStyle&&e.columns!==this.props.columns)&&this.triggerResize()}triggerResize(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new i.Z(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}getColumnWidths(e,t,n){let r=0;return e.map((e=>e.map((e=>{const n=t.slice(r,r+e);return r+=e,n})))).map((e=>(0,u.i)(e,n)))}render(){const{align:e,columns:t,images:n,layoutStyle:r,renderedImages:a}=this.props,i=(0,p.h9)(n),u="columns"===r?(0,p.sv)(i,t):(0,p.T9)(i,{isWide:["full","wide"].includes(e)}),d=o.Platform.select({web:()=>this.props.columnWidths,native:()=>this.getColumnWidths(u,a,1e3)})();let m=0;return(0,o.createElement)(l.Z,{galleryRef:this.gallery},u.map(((e,t)=>(0,o.createElement)(c.Z,{key:t},e.map(((e,n)=>{var r;const i=a.slice(m,m+e);return m+=e,(0,o.createElement)(s.Z,{key:n,width:null==d||null===(r=d[t])||void 0===r?void 0:r[n]},i)}))))))}}},96001:function(e,t,n){"use strict";n.d(t,{T9:function(){return S},h9:function(){return a},sv:function(){return i}});var r=n(92819);function a(e){return(0,r.map)(e,o)}function o(e){let{height:t,width:n}=e;return t&&n?n/t:1}function i(e,t){if(e.length<=t)return[Array(e.length).fill(1)];const n=(0,r.sum)(e)/t,a=[];let o=e,i=0;for(let e=0;e<t-1;e++){const t=(0,r.takeWhile)(o,(t=>{const r=i<=(e+1)*n;return r&&(i+=t),r})).length;a.push(t),o=(0,r.drop)(o,t)}return a.push(o.length),[a]}const s=P([2,1,2],5),l=T([N,N,A,N,N]),c=T([N,N,N,A,N,N,N]),u=P([3,1,3],5),p=T([A,N,N,A]),d=P([1,2,1],5),m=T([A,N,N,N]),h=P([1,3],3),f=T([N,N,N,A]),g=P([3,1],3),b=T([I(1.6),(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2))]),v=P([1,2],3),k=P([1,1,1,1,1],1),y=P([1,1,1,1],1),E=P([1,1,1],3),w=T([(0,r.overEvery)(M(.9),I(2)),(0,r.overEvery)(M(.9),I(2)),I(1.6)]),_=P([2,1],3),C=T([function(e){return e>=2}]);function S(e){let{isWide:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e,a)=>{if(!a.length)return e;let o;o=a.length>15&&l(a)&&s(e)?[2,1,2]:a.length>15&&c(a)&&u(e)?[3,1,3]:5!==a.length&&p(a)&&d(e)?[1,2,1]:m(a)&&h(e)?[1,3]:f(a)&&g(e)?[3,1]:b(a)&&v(e)?[1,2]:t&&(5===a.length||10!==a.length&&a.length>6)&&k(e)&&(0,r.sum)((0,r.take)(a,5))<5?[1,1,1,1,1]:x(e,a)?[1,1,1,1]:j(e,a,t)?[1,1,1]:w(a)&&_(e)?[2,1]:C(a)?[1]:a.length>3?[1,1]:Array(a.length).fill(1);const i=e.concat([o]),y=(0,r.sum)(o),E=a.slice(y);return n(i,E)};return n([],e)}function j(e,t,n){const a=(0,r.sum)((0,r.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&E(e)&&(a<2.5||a<5&&t.length>=3&&t[0]===t[2]||n)}function x(e,t){const n=(0,r.sum)((0,r.take)(t,4));return y(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function P(e,t){return n=>!(0,r.some)((0,r.takeRight)(n,t),(t=>(0,r.isEqual)(t,e)))}function T(e){return t=>t.length>=e.length&&(0,r.every)((0,r.zipWith)(e,t.slice(0,e.length),((e,t)=>e(t))))}function N(e){return e>=1&&e<2}function A(e){return e<1}function M(e){return t=>t>=e}function I(e){return t=>t<e}},99856:function(e,t,n){"use strict";n.d(t,{W:function(){return i},i:function(){return o}});var r=n(3740);function a(e,t){const n=(t-e.reduce(((e,t)=>e+t),0))/e.length;return e.map((e=>e+n))}function o(e,t){return function(e,t,n){let[o,i]=t;const p=1/o*(n-r.q3*(e.childElementCount-1)-i);return function(e,t){let{rawHeight:n,rowWidth:o}=t;const i=s(e),p=i.map((e=>(n-r.q3*(e.childElementCount-1))*c(e)[0])),d=a(p,o);i.forEach(((e,t)=>{const o=p[t],i=d[t];!function(e,t){let{colHeight:n,width:r,rawWidth:o}=t;const i=a(l(e).map((e=>o/u(e))),n);Array.from(e.children).forEach(((e,t)=>{const n=i[t];e.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(e,{colHeight:n-r.q3*(e.childElementCount-1),width:i,rawWidth:o})}));return d.map((e=>parseFloat(e/o*100).toFixed(5)))}(e,{rawHeight:p,rowWidth:n-r.q3*(e.childElementCount-1)})}(e,function(e){return s(e).map(c).reduce(((e,t)=>{let[n,r]=e,[a,o]=t;return[n+a,r+o]}),[0,0])}(e),t)}function i(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function c(e){const t=l(e),n=t.length,r=1/t.map(u).reduce(((e,t)=>e+1/t),0);return[r,r*n||1]}function u(e){const t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},51309:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65235),o=n.n(a);function i(e){let{children:t,className:n}=e;return(0,r.createElement)("div",{className:o()("tiled-gallery__row",n)},t)}},70216:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(92819),o=n(51309),i=n(46936),s=n(75084),l=n(3740);function c(e){let{columns:t,renderedImages:n}=e;const c=Math.min(l.hI,t),u=n.length%c;return(0,r.createElement)(s.Z,null,[...u?[(0,a.take)(n,u)]:[],...(0,a.chunk)((0,a.drop)(n,u),c)].map(((e,t)=>(0,r.createElement)(o.Z,{key:t,className:`columns-${e.length}`},e.map(((e,t)=>(0,r.createElement)(i.Z,{key:t},e)))))))}},10745:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(21340),o=n(15078),i=n(81518),s=n(3740);function l(e){let{attributes:t}=e;const{imageFilter:n,images:l}=t;if(!l.length)return null;const{align:c,className:u,columns:p=(0,o.F)(t),linkTo:d,roundedCorners:m,columnWidths:h}=t;return(0,r.createElement)(a.Z,{align:c,className:u,columns:p,imageFilter:n,images:l,isSave:!0,layoutStyle:(0,i.t)(s.P0,u),linkTo:d,roundedCorners:m,columnWidths:h})}},13369:function(e,t,n){"use strict";n.d(t,{v:function(){return c},z:function(){return u}});var r=n(69424),a=n(11313),o=n(92819),i=n(13419),s=n(3740),l=n(99621);function c(e){return["circle","square"].includes(e)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,l.Z)())return{src:e.url};if((0,a.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,i.Ug)()&&(0,i.M6)())return{src:e.url};const n=e.url.split("?",1)[0],{height:u,width:h}=e,{layoutStyle:f}=t,g=d(n)||!0===p()?m:r.Z;let b;if(c(f)&&h&&u){const e=Math.min(s.GP,h,u);b=g(n,{resize:`${e},${e}`})}else b=g(n);const v=300,k=600;let y;if(c(f)){const e=Math.min(k,h,u),t=Math.min(s.GP,h,u);y=(0,o.range)(e,t,v).map((e=>{const t=g(n,{resize:`${e},${e}`,strip:"info"});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}else{const e=Math.min(k,h),t=Math.min(s.GP,h);y=(0,o.range)(e,t,v).map((e=>{const t=g(n,{strip:"info",width:e});return t?`${t} ${e}w`:null})).filter(Boolean).join(",")}return Object.assign({src:b},y&&{srcSet:y})}function p(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function d(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object.assign(new URL(e,window.location.href),{username:"",password:"",port:"",search:"",hash:""});for(const[e,a]of Object.entries(t))r.searchParams.set(n.hasOwnProperty(e)?n[e]:e,a);return r.toString()}},10723:function(e,t,n){"use strict";n.d(t,{H:function(){return a},Z:function(){return o}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onFilesSelected:t,onMediaItemSelected:n,onUploadFinished:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onFilesSelected:t,onMediaItemSelected:n,onUploadFinished:o},children:i})}},90879:function(e,t,n){"use strict";n.d(t,{s:function(){return r},v:function(){return a}});const r=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],a={PUBLIC:0,PRIVATE:1,SITE_DEFAULT:2}},29899:function(e,t,n){"use strict";var r=n(4900);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:r.Z,isDeprecation:!0}},4900:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(52175);function o(e){let{attributes:t}=e;const{caption:n,guid:o}=t;if(!o)return null;const i=`https://videopress.com/v/${o}`;return(0,r.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${i}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},97504:function(e,t,n){"use strict";var r=n(30454),a=n(93512);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"},videoPressClassNames:{type:"string"},align:{type:"wide"}},support:{reusable:!1},isEligible:e=>{let{videoPressClassNames:t,guid:n}=e;return n&&void 0===t},migrate:e=>{const{className:t,videoPressClassNames:n}=e;return{...e,...(0,a.a)(t,n)}},save:r.Z,isDeprecation:!0}},30454:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(52175),o=n(92490);function i(e){const{attributes:{autoplay:t,caption:n,controls:i,guid:s,loop:l,muted:c,poster:u,preload:p,videoPressClassNames:d}={}}=e;if(!s)return null;const m=(0,o.p)(s,{autoplay:t,controls:i,loop:l,muted:c,poster:u,preload:p});return(0,r.createElement)("figure",{className:d},(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${m}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},92490:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,poster:s,preload:l}=t;if(!e)return null;const c={...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{posterUrl:s},..."none"!==l&&{preloadContent:l}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,c)}},93512:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(73320),a=n.n(r),o=n(29512),i=n.n(o);const s=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.77",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],l=(e,t)=>{const n=s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1}),r=a()(e,{...n,"wp-block-embed":!1,"is-type-video":!1,"is-provider-videopress":!1}),o=new(i())(r);let l=a()(e,t);return o.forEach((e=>{l=l.replace(e,"")})),{className:r,videoPressClassNames:l.trim()}}},34284:function(e,t,n){"use strict";var r=n(46721);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,save:r.Z,isDeprecation:!0}},46721:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(96931);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k}={}}=e,y=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),E=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});return(0,r.createElement)("figure",y,(0,r.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${E}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},96931:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},58351:function(e,t,n){"use strict";var r=n(83619);t.Z={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"}},support:{reusable:!1},isEligible:e=>e.guid,migrate:e=>({...e,useAverageColor:!1}),save:r.Z,isDeprecation:!0}},83619:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(52175),o=n(65235),i=n.n(o),s=n(67502);function l(e){const{attributes:{autoplay:t,caption:n,controls:o,guid:l,loop:c,muted:u,playsinline:p,poster:d,preload:m,videoPressClassNames:h,className:f,align:g,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k,maxWidth:y}={}}=e,E=a.useBlockProps.save({className:i()("wp-block-video",f,h,{[`align${g}`]:g})}),w=(0,s.p)(l,{autoplay:t,controls:o,loop:c,muted:u,playsinline:p,poster:d,preload:m,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});let _={};return y&&y.length>0&&"100%"!==y&&(_={maxWidth:y,margin:"auto"}),(0,r.createElement)("figure",E,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:_},`\n${w}\n`),!a.RichText.isEmpty(n)&&(0,r.createElement)(a.RichText.Content,{tagName:"figcaption",value:n}))}},67502:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d}=t;if(!e)return null;const m={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,m)}},30053:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(18294),i=n.n(o),s=n(69307),l=n(86989),c=n.n(l),u=n(11313),p=n(55609),d=n(94333),m=n(9818),h=n(52175),f=n(65736),g=n(61074),b=n(77840),v=n(65235),k=n.n(v),y=n(92819),E=n(31302),w=n(90953),_=n(77290),C=n(43774),S=n(75880),j=n(22081),x=n(10723),P=n(90879);const __=f.__,_x=f._x,T=["image"],N=e=>{let{scripts:t}=e;const{html:n,interactive:r,caption:a,isSelected:o,hideOverlay:i,attributes:l,setAttributes:c}=e,{align:u,className:d,videoPressClassNames:m,maxWidth:f}=l,g=(0,h.useBlockProps)({className:k()("wp-block-video",d,m,{[`align${u}`]:u})});if("object"!=typeof t&&(t=[]),window.videopressAjax){const e=new Blob([`var videopressAjax = ${JSON.stringify(window.videopressAjax)};`],{type:"text/javascript"});t.push(URL.createObjectURL(e),window.videopressAjax.bridgeUrl)}return(0,s.createElement)("figure",g,(0,s.createElement)("div",{className:"wp-block-embed__wrapper"},(0,s.createElement)(p.ResizableBox,{enable:{top:!1,bottom:!1,left:!0,right:!0},maxWidth:"100%",size:{width:f},style:{margin:"auto"},onResizeStop:(e,t,n)=>{let r=getComputedStyle(n).width;if(null!==n.parentElement){r===getComputedStyle(n.parentElement).width&&(r="100%")}c({maxWidth:r})}},(0,s.createElement)(p.SandBox,{html:n,scripts:t,type:m}))),!r&&(0,s.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:i}),(!h.RichText.isEmpty(a)||o)&&(0,s.createElement)(h.RichText,{tagName:"figcaption",placeholder:__("Write caption…","jetpack"),value:a,onChange:e=>c({caption:e}),inlineToolbar:!0}))};t.Z=(0,d.createHigherOrderComponent)((0,d.compose)([(0,m.withSelect)(((e,t)=>{const{autoplay:n,controls:r,fileForImmediateUpload:a,guid:o,loop:i,muted:s,playsinline:l,poster:c,preload:p,seekbarColor:d,seekbarLoadingColor:m,seekbarPlayedColor:h,src:f,useAverageColor:g}=t.attributes,{getEmbedPreview:b,isRequestingEmbedPreview:v}=e("core"),k=(0,w.p)(o,{autoplay:n,controls:r,loop:i,muted:s,playsinline:l,poster:c,preload:p,seekbarColor:d,seekbarLoadingColor:m,seekbarPlayedColor:h,useAverageColor:g}),y=!!k&&b(k),E=!!k&&v(k),_=!!window.videoPressResumableEnabled;return{fileForImmediateUpload:a,isFetchingPreview:E,isUploading:!_&&(0,u.isBlobURL)(f),preview:y,resumableUploadEnabled:_,url:k}})),(0,m.withDispatch)((e=>({invalidateCachedEmbedPreview:t=>{e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}))),d.withInstanceId,e=>class extends s.Component{constructor(e){super(...arguments),i()(this,"hideOverlay",(()=>{this.setState({interactive:!0})})),i()(this,"setRatingAndAllowDownload",(async()=>{const e=(0,y.get)(this.props,"attributes.id"),t=await this.requestMedia(e);let n=(0,y.get)(t,"jetpack_videopress.rating");const r=(0,y.get)(t,"jetpack_videopress.allow_download"),a=(0,y.get)(t,"jetpack_videopress.privacy_setting",P.v.SITE_DEFAULT);n&&("X-18"===n&&(n="R-17"),this.setState({rating:n})),void 0!==r&&this.setState({allowDownload:!!r}),void 0!==a&&this.setState({privacySetting:a})})),i()(this,"schedulePreviewCacheReload",(()=>{const{invalidateCachedEmbedPreview:e,url:t}=this.props;null===this.previewCacheReloadTimer&&this.previewFailuresCount<5&&(this.previewFailuresCount++,this.previewCacheReloadTimer=setTimeout((()=>{e(t),this.previewCacheReloadTimer=null}),2e3*this.previewFailuresCount))})),i()(this,"fallbackToCore",(()=>{this.props.setAttributes({guid:void 0}),this.setState({fallback:!0})})),i()(this,"setGuid",(async()=>{const{attributes:e,setAttributes:t}=this.props,{id:n}=e;if(n)try{const e=await this.requestMedia(n);if(null===e)return;const r=(0,y.get)(e,"jetpack_videopress.guid");r?(t({guid:r}),this.setTracks(r)):this.fallbackToCore()}catch(e){this.setState({isFetchingMedia:!1}),this.fallbackToCore()}else t({guid:void 0})})),i()(this,"requestMedia",(async e=>{if(!e)return null;if(null!==this.state.media&&this.state.lastRequestedMediaId===e)return this.state.media;this.setState({isFetchingMedia:!0});const t=await c()({path:`/wp/v2/media/${e}`}).catch((()=>(this.setState({fallback:!0}),null))).finally((()=>{this.setState({isFetchingMedia:!1})})),{id:n}=this.props.attributes;return e!==n?null:(this.setState({media:t,lastRequestedMediaId:e}),t)})),i()(this,"setTracks",(e=>{const{setAttributes:t}=this.props;e&&c()({url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}`,credentials:"omit",global:!0}).then((e=>{const n=[];Object.keys(e.tracks).forEach((t=>{for(const r in e.tracks[t]){const a=e.tracks[t][r];n.push({src:a.src,kind:t,srcLang:r,label:a.label})}})),t({videoPressTracks:n})}))})),i()(this,"switchToEditing",(()=>{this.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),i()(this,"onSelectPoster",(e=>{const{setAttributes:t}=this.props;t({poster:e.url})})),i()(this,"onRemovePoster",(()=>{const{setAttributes:e}=this.props;e({poster:""}),this.posterImageButton.current.focus()})),i()(this,"toggleAttribute",(e=>t=>{this.props.setAttributes({[e]:t})})),i()(this,"getAutoplayHelp",(e=>e?__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null)),i()(this,"getPrivacySettingHelp",(e=>{const t=parseInt(e,10);return P.v.PRIVATE===t?__("Restrict views to members of this site","jetpack"):P.v.PUBLIC===t?__("Video can be viewed by anyone","jetpack"):__("Follow the site privacy setting","jetpack")})),i()(this,"onChangeRating",(e=>{const t=this.state.rating;"X-18"===e&&(e="R-17"),-1!==(0,y.indexOf)(["G","PG-13","R-17"],e)&&this.updateMetaApiCall({rating:e},(()=>this.setState({isUpdatingRating:!0,rating:e})),(()=>this.setState({rating:t})),(()=>this.setState({isUpdatingRating:!1})))})),i()(this,"onChangeAllowDownload",(e=>{const t=this.state.allowDownload;this.updateMetaApiCall({allow_download:e?1:0},(()=>this.setState({isUpdatingAllowDownload:!0,allowDownload:e})),(()=>this.setState({allowDownload:t})),(()=>this.setState({isUpdatingAllowDownload:!1})))})),i()(this,"onChangePrivacySetting",(e=>{const t=this.state.privacySetting;this.updateMetaApiCall({privacy_setting:e},(()=>this.setState({isUpdatingPrivacySetting:!0,privacySetting:e})),(()=>this.setState({privacySetting:t})),(()=>this.setState({isUpdatingPrivacySetting:!1})))})),i()(this,"updateMetaApiCall",((e,t,n,r)=>{const{invalidateCachedEmbedPreview:a,url:o}=this.props,{id:i}=this.props.attributes;if(!i)return;t();const s={id:i};Object.assign(s,e),c()({path:"/wpcom/v2/videopress/meta",method:"POST",data:s}).then((e=>{status in e&&200!==e.status&&n()})).catch((()=>n())).finally((()=>{r(),a(o)}))})),this.state={media:null,isFetchingMedia:!1,fallback:!1,interactive:!1,rating:null,lastRequestedMediaId:null,isUpdatingRating:!1,allowDownload:null,privacySetting:P.v.SITE_DEFAULT,isUpdatingAllowDownload:!1,fileForUpload:e.fileForImmediateUpload,isUpdatingIsPrivate:!1},this.posterImageButton=(0,s.createRef)(),this.previewCacheReloadTimer=null,this.previewFailuresCount=0}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}async componentDidMount(){const{guid:e}=this.props.attributes;e?this.setTracks(e):await this.setGuid(),this.setRatingAndAllowDownload()}async componentDidUpdate(e){const{attributes:t,invalidateCachedEmbedPreview:n,preview:r,setAttributes:a,url:o,isFetchingPreview:i}=this.props;t.id!==e.attributes.id&&(await this.setGuid(),this.setRatingAndAllowDownload());let s=!1;if(o&&o!==e.url&&(n(o),s=!0),r){const e=(0,_.f)(r.html,k()("wp-block-embed","is-type-video","is-provider-videopress"),!1);this.previewFailuresCount=0,a({videoPressClassNames:e})}else i||s||!this.props.attributes.guid||this.schedulePreviewCacheReload()}getPreloadHelp(){const{attributes:e}=this.props;return"auto"===e.preload?__("Note: Automatically downloading videos may cause issues if there are many videos displayed on the same page.","jetpack"):null}renderControlLabelWithTooltip(e,t){return(0,s.createElement)(p.Tooltip,{text:t,position:"top"},(0,s.createElement)("span",null,e))}render(){const{attributes:t,instanceId:n,isFetchingPreview:r,isUploading:o,preview:i,resumableUploadEnabled:l,setAttributes:c}=this.props,{fallback:u,fileForUpload:d,isFetchingMedia:m,isUpdatingRating:v,interactive:k,rating:y,allowDownload:w,privacySetting:_,isUpdatingAllowDownload:A,isUpdatingPrivacySetting:M}=this.state,{autoplay:I,caption:R,controls:L,guid:B,loop:Z,muted:D,playsinline:F,poster:O,preload:z,useAverageColor:U,videoPressTracks:$,isVideoPressExample:V,src:G}=t;if(V&&G)return(0,s.createElement)("img",{src:G,alt:R});const H=`video-block__poster-image-description-${n}`,q=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h.BlockControls,{group:"block"},(0,s.createElement)(j.Z,{tracks:$,onChange:e=>{c({videoPressTracks:e})},guid:B})),(0,s.createElement)(h.BlockControls,null,(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{className:"components-icon-button components-toolbar__control",label:__("Edit video","jetpack"),onClick:this.switchToEditing,icon:(0,s.createElement)(g.Z,{icon:b.Z})}))),(0,s.createElement)(h.InspectorControls,null,(0,s.createElement)(p.PanelBody,{title:__("Video Settings","jetpack")},(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Autoplay","jetpack"),
/* translators: Tooltip describing the "autoplay" option for the VideoPress player */
-__("Start playing the video as soon as the page loads","jetpack")),onChange:this.toggleAttribute("autoplay"),checked:w,help:this.getAutoplayHelp}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Loop","jetpack"),
+__("Start playing the video as soon as the page loads","jetpack")),onChange:this.toggleAttribute("autoplay"),checked:I,help:this.getAutoplayHelp}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Loop","jetpack"),
/* translators: Tooltip describing the "loop" option for the VideoPress player */
-__("Restarts the video when it reaches the end","jetpack")),onChange:this.toggleAttribute("loop"),checked:A}),(0,s.createElement)(p.ToggleControl,{label:__("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:P}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Playback Controls","jetpack"),
+__("Restarts the video when it reaches the end","jetpack")),onChange:this.toggleAttribute("loop"),checked:Z}),(0,s.createElement)(p.ToggleControl,{label:__("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:D}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Playback Controls","jetpack"),
/* translators: Tooltip describing the "controls" option for the VideoPress player */
-__("Display the video playback controls","jetpack")),onChange:this.toggleAttribute("controls"),checked:T}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Play Inline","jetpack"),
+__("Display the video playback controls","jetpack")),onChange:this.toggleAttribute("controls"),checked:L}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Play Inline","jetpack"),
/* translators: Tooltip describing the "playsinline" option for the VideoPress player */
-__("Play the video inline instead of full-screen on mobile devices","jetpack")),onChange:this.toggleAttribute("playsinline"),checked:I}),(0,s.createElement)(p.SelectControl,{label:this.renderControlLabelWithTooltip(__("Preload","jetpack"),
+__("Play the video inline instead of full-screen on mobile devices","jetpack")),onChange:this.toggleAttribute("playsinline"),checked:F}),(0,s.createElement)(p.SelectControl,{label:this.renderControlLabelWithTooltip(__("Preload","jetpack"),
/* translators: Tooltip describing the "preload" option for the VideoPress player */
-__("Content to dowload before the video is played","jetpack")),value:R,onChange:e=>l({preload:e}),options:[{value:"auto",label:_x("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:_x("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:_x("None","VideoPress preload setting","jetpack")}],help:this.getPreloadHelp()}),(0,s.createElement)(h.MediaUploadCheck,null,(0,s.createElement)(p.BaseControl,{className:"editor-video-poster-control",label:__("Poster Image","jetpack")},(0,s.createElement)(h.MediaUpload,{title:__("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:S,render:e=>{let{open:t}=e;return(0,s.createElement)(p.Button,{isDefault:!0,onClick:t,ref:this.posterImageButton,"aria-describedby":D},M?__("Replace image","jetpack",0):__("Select Poster Image","jetpack"))}}),(0,s.createElement)("p",{id:D,hidden:!0},M?(0,f.sprintf)(
+__("Content to dowload before the video is played","jetpack")),value:z,onChange:e=>c({preload:e}),options:[{value:"auto",label:_x("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:_x("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:_x("None","VideoPress preload setting","jetpack")}],help:this.getPreloadHelp()}),(0,s.createElement)(h.MediaUploadCheck,null,(0,s.createElement)(p.BaseControl,{className:"editor-video-poster-control",label:__("Poster Image","jetpack")},(0,s.createElement)(h.MediaUpload,{title:__("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:T,render:e=>{let{open:t}=e;return(0,s.createElement)(p.Button,{variant:"secondary",onClick:t,ref:this.posterImageButton,"aria-describedby":H},O?__("Replace image","jetpack",0):__("Select Poster Image","jetpack"))}}),(0,s.createElement)("p",{id:H,hidden:!0},O?(0,f.sprintf)(
/* translators: Placeholder is an image URL. */
-__("The current poster image url is %s","jetpack"),M):__("There is no poster image currently selected","jetpack")),!!M&&(0,s.createElement)(p.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},__("Remove Poster Image","jetpack"))))),(0,s.createElement)(C.Z,{attributes:t,setAttributes:l,useAverageColor:L,toggleAttribute:this.toggleAttribute}),(0,s.createElement)(p.PanelBody,{title:__("Video File Settings","jetpack")},(0,s.createElement)(p.SelectControl,{label:_x("Rating","The age rating for this video.","jetpack"),value:v,disabled:u||d,options:[{label:_x("G",'Video rating for "General Audiences".',"jetpack"),value:"G"},{label:_x("PG-13",'Video rating for "Parental Guidance", unsuitable for children under 13.',"jetpack"),value:"PG-13"},{label:_x("R",'Video rating for "Restricted", not recommended for children under 17.',"jetpack"),value:"R-17"}],onChange:this.onChangeRating}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Allow download","jetpack"),
+__("The current poster image url is %s","jetpack"),O):__("There is no poster image currently selected","jetpack")),!!O&&(0,s.createElement)(p.Button,{onClick:this.onRemovePoster,variant:"link",isDestructive:!0},__("Remove Poster Image","jetpack"))))),(0,s.createElement)(S.Z,{attributes:t,setAttributes:c,useAverageColor:U,toggleAttribute:this.toggleAttribute}),(0,s.createElement)(p.PanelBody,{title:__("Video File Settings","jetpack")},(0,s.createElement)(p.SelectControl,{label:_x("Rating","The age rating for this video.","jetpack"),value:y,disabled:m||v,options:[{label:_x("G",'Video rating for "General Audiences".',"jetpack"),value:"G"},{label:_x("PG-13",'Video rating for "Parental Guidance", unsuitable for children under 13.',"jetpack"),value:"PG-13"},{label:_x("R",'Video rating for "Restricted", not recommended for children under 17.',"jetpack"),value:"R-17"}],onChange:this.onChangeRating}),(0,s.createElement)(p.ToggleControl,{label:this.renderControlLabelWithTooltip(__("Allow download","jetpack"),
/* translators: Tooltip describing the "allow download" option for the VideoPress player */
-__("Display download option and allow viewers to download this video","jetpack")),onChange:this.onChangeAllowDownload,checked:k,disabled:u||y})))),z=u||r,U=c||o||!N,$=U&&!o&&!z;if(U)return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:o||z?"":"videopress-block-hide"},(0,s.createElement)(E.Z,{text:o?__("Uploading…","jetpack"):__("Generating preview…","jetpack",0)})),(0,s.createElement)("div",{className:$?"":"videopress-block-hide"},(0,s.createElement)(e,this.props)));const{html:V,scripts:G}=i||{html:null,scripts:null},q=z||!i;return(0,s.createElement)(s.Fragment,null,O,q&&(0,s.createElement)(E.Z,{text:__("Generating preview…","jetpack")}),!q&&(0,s.createElement)(x,a()({},this.props,{hideOverlay:this.hideOverlay,html:V,scripts:G,interactive:m,caption:_})))}}]),"withVideoPressEdit")},38341:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{text:t}=e;return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(a.Spinner,null),(0,r.createElement)("p",null,t))}},64089:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(89105),s=n.n(i),l=n(45151);t.Z=(0,a.createHigherOrderComponent)((e=>t=>{const{attributes:{autoplay:n,caption:a,controls:i,guid:c,loop:u,muted:p,playsinline:d,poster:m,preload:h,videoPressClassNames:f,className:g,align:b,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E,maxWidth:w}={}}=t,_=o.useBlockProps.save({className:s()("wp-block-video",g,f,{[`align${b}`]:b})});if(!c)return e(t);const C=(0,l.p)(c,{autoplay:n,controls:i,loop:u,muted:p,playsinline:d,poster:m,preload:h,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E});let j={};return w&&w.length>0&&"100%"!==w&&(j={maxWidth:w,margin:"auto"}),(0,r.createElement)("figure",_,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:j},`\n${C}\n`),!o.RichText.isEmpty(a)&&(0,r.createElement)(o.RichText.Content,{tagName:"figcaption",value:a}))}),"withVideoPressSave")},72905:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=(n(99196),n(55609)),s=n(52175),l=n(65736);const __=l.__;class c extends o.Component{constructor(){super(...arguments),a()(this,"handleChangeSeekbarColor",(e=>{this.setState({seekbarColor:e})})),a()(this,"handleChangeSeekbarLoadingColor",(e=>{this.setState({seekbarLoadingColor:e})})),a()(this,"handleChangeSeekbarPlayedColor",(e=>{this.setState({seekbarPlayedColor:e})})),a()(this,"saveColors",(()=>{const{seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n}=this.state,{setAttributes:r}=this.props;r({seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n})}));const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.props.attributes;this.state={seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}}render(){const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.state,{toggleAttribute:r,useAverageColor:a}=this.props,l=!0;return(0,o.createElement)(i.PanelBody,{className:"seekbar-color-settings__panel",title:__("Progress Bar Colors","jetpack"),initialOpen:!1},(0,o.createElement)(i.ToggleControl,{label:__("Match video","jetpack"),help:__("Colors adapt to the video as it plays","jetpack"),onChange:r("useAverageColor"),checked:a}),(0,o.createElement)(s.PanelColorSettings,{opened:!a,showTitle:!1,colorSettings:[{value:e,onChange:this.handleChangeSeekbarColor,label:__("Main","jetpack"),showTitle:l},{value:n,onChange:this.handleChangeSeekbarLoadingColor,label:__("Loaded","jetpack"),showTitle:l},{value:t,onChange:this.handleChangeSeekbarPlayedColor,label:__("Progress","jetpack"),showTitle:l}]},(0,o.createElement)(i.Button,{variant:"secondary",onClick:this.saveColors},__("Save colors","jetpack"))))}}t.Z=c},9360:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(86989),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(31266),u=n(9818);const __=i.__,p="subtitles",d=".vtt,text/vtt",m=[{label:__("Subtitles","jetpack"),value:"subtitles"},{label:__("Captions","jetpack"),value:"captions"},{label:__("Descriptions","jetpack"),value:"descriptions"},{label:__("Chapters","jetpack"),value:"chapters"},{label:__("Metadata","jetpack"),value:"metadata"}],h=(0,r.createElement)(s.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},(0,r.createElement)(s.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(s.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),(0,r.createElement)(s.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"})),f=()=>"videoPressUploadTrack"in window;function g(e){let{tracks:t,onChange:n,guid:a}=e;const[l=-1,c]=(0,r.useState)(),u=e=>{const r=t[e];c(e),((e,t)=>{if(f())return window.videoPressDeleteTrack(t,e.kind,e.srcLang);const n={method:"POST",path:`/videos/${t}/tracks/delete`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang]]};return o()(n)})(r,a).finally((()=>{n(t.filter(((t,n)=>n!==e))),c(-1)}))};let p;return p=0===t.length?(0,r.createElement)("p",{className:"videopress-block-tracks-editor__tracks-informative-message"},__("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.","jetpack")):t.map(((e,t)=>(0,r.createElement)("div",{key:t,className:"videopress-block-tracks-editor__track-list-track"},(0,r.createElement)("span",null,e.label),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__track-list-track-delete"},(0,r.createElement)(s.Button,{isLink:!0,isDestructive:!0,onClick:()=>{u(t)},"aria-label":(0,i.sprintf)(
+__("Display download option and allow viewers to download this video","jetpack")),onChange:this.onChangeAllowDownload,checked:w,disabled:m||A}),(0,s.createElement)(p.SelectControl,{label:__("Video Privacy","jetpack"),help:this.getPrivacySettingHelp(_),onChange:this.onChangePrivacySetting,value:_,options:[{value:P.v.SITE_DEFAULT,label:_x("Site Default","VideoPress privacy setting","jetpack")},{value:P.v.PUBLIC,label:_x("Public","VideoPress privacy setting","jetpack")},{value:P.v.PRIVATE,label:_x("Private","VideoPress privacy setting","jetpack")}],disabled:m||M})))),W=e=>{this.setState({fileForUpload:e[0]})},K=e=>{var t,n;e&&e.url?(this.props.setAttributes({src:e.url,id:e.id,poster:(null===(t=e.image)||void 0===t?void 0:t.src)!==e.icon?null===(n=e.image)||void 0===n?void 0:n.src:void 0}),e.videopress_guid&&this.props.setAttributes({guid:e.videopress_guid})):c({src:void 0,id:void 0,poster:void 0})},X=e=>{let{mediaId:t,guid:n,src:r}=e;this.setState({fileForUpload:null}),t&&n&&r&&c({id:t,guid:n,src:r})};if(null!==d&&d instanceof File)return(0,s.createElement)(x.Z,{onUploadFinished:X},(0,s.createElement)(s.Fragment,null,q,(0,s.createElement)(C.Z,a()({file:d},this.props))));const J=m||r,Y=u||o||!B,Q=Y&&!o&&!J,ee=(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:o||J?"":"videopress-block-hide"},(0,s.createElement)(E.Z,{text:o?__("Uploading…","jetpack"):__("Generating preview…","jetpack",0)})),(0,s.createElement)("div",{className:Q?"":"videopress-block-hide"},(0,s.createElement)(e,this.props)));if(Y)return l?(0,s.createElement)(x.Z,{onFilesSelected:W,onMediaItemSelected:K},ee):(0,s.createElement)(s.Fragment,null,ee);const{html:te,scripts:ne}=i||{html:null,scripts:null},re=J||!i;return(0,s.createElement)(s.Fragment,null,q,re&&(0,s.createElement)(E.Z,{text:__("Generating preview…","jetpack")}),!re&&(0,s.createElement)(N,a()({},this.props,{hideOverlay:this.hideOverlay,html:te,scripts:ne,interactive:k,caption:R})))}}]),"withVideoPressEdit")},31302:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{text:t}=e;return(0,r.createElement)("div",{className:"wp-block-embed is-loading"},(0,r.createElement)(a.Spinner,null),(0,r.createElement)("p",null,t))}},43774:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(90861),o=n.n(a),i=n(65736),s=n(81975),l=n(5482),c=n(55609),u=n(52175),p=n(81427),d=n(10723);const __=i.__;function m(e){let{file:t}=e;const[n,a]=(0,r.useState)(0),[m,h]=(0,r.useState)(!1),[f,g]=(0,r.useState)(null),[b,v]=(0,r.useState)(null),{onUploadFinished:k}=(0,r.useContext)(d.H),y=(0,r.useRef)(null);y.current=f;const E=(0,u.useBlockProps)({className:"resumable-upload"}),w=(0,r.useCallback)((()=>{const e=(0,l.J)({onError:e=>{v(e)},onProgress:(e,t)=>{a(e/t*100)},onSuccess:e=>{k(e)}});(0,l.v)().then((n=>{const r=e(t,n);g(r)})).catch((e=>{v(e)}))}),[t,k]);(0,r.useEffect)((()=>(w(),()=>{null!==y.current&&y.current.abort()})),[]);const _=Math.round(n),C={width:`${_}%`},S=(0,s.escapeHTML)(t.name),j=(0,r.createInterpolateElement)((0,i.sprintf)(
+/* translators: Placeholder is a video file name. */
+__("Uploading <strong>%s</strong>","jetpack"),S),{strong:(0,r.createElement)("strong",null)}),x=o()(t.size);return(0,r.createElement)("div",E,(0,r.createElement)("div",{className:"resumable-upload__logo"},(0,r.createElement)(c.Icon,{icon:p.ll}),(0,r.createElement)("div",{className:"resumable-upload__logo-text"},__("VideoPress","jetpack"))),null!==b?(0,r.createElement)("div",{className:"resumable-upload__error"},(0,r.createElement)("div",{className:"resumable-upload__error-text"},__("An error was encountered during the upload. Check your network connection.","jetpack")),(0,r.createElement)(c.Button,{variant:"primary",onClick:()=>(v(null),void w())},__("Try again","jetpack")),(0,r.createElement)(c.Button,{variant:"secondary",onClick:()=>k(),className:"resumable-upload__error-cancel"},__("Cancel","jetpack"))):(0,r.createElement)("div",{className:"resumable-upload__status"},(0,r.createElement)("div",{className:"resumable-upload__file-info"},(0,r.createElement)("div",{className:"resumable-upload__file-name"},j)," — ",(0,r.createElement)("div",{className:"resumable-upload__file-size"},x)),(0,r.createElement)("div",{className:"resumable-upload__progress"},(0,r.createElement)("div",{className:"resumable-upload__progress-loaded",style:C})),(0,r.createElement)("div",{className:"resumable-upload__actions"},(0,r.createElement)("div",{className:"videopress-upload__percent-complete"},`${_}%`),(0,r.createElement)(c.Button,{variant:"link",onClick:()=>{f&&(m?f.start():f.abort(),h(!m))}},m?"Resume":"Pause"))))}},5482:function(e,t,n){"use strict";n.d(t,{J:function(){return i},v:function(){return a}});var r=n(99537);const a=function(e){return new Promise((function(t,n){const r=e?{data:{key:e}}:{};wp.media.ajax("videopress-get-upload-jwt",{async:!0,...r}).done((function(e){t({token:e.upload_token,blogId:e.upload_blog_id,url:e.upload_action_url})})).fail((function(e){n(e)}))}))},o={},i=e=>{let{onError:t,onProgress:n,onSuccess:i}=e;return(e,s)=>{const l=new r.gq(e,{onError:t,onProgress:n,endpoint:s.url,removeFingerprintOnSuccess:!0,withCredentials:!1,autoRetry:!0,overridePatchMethod:!1,chunkSize:1e7,allowedFileTypes:["video/*"],metadata:{filename:e.name,filetype:e.type},retryDelays:[0,1e3,3e3,5e3,1e4],onAfterResponse:function(e,t){if(t.getStatus()>=400)return;const n=t.getHeader("x-videopress-upload-guid"),r=t.getHeader("x-videopress-upload-media-id"),a=t.getHeader("x-videopress-upload-src-url");if(n&&r&&a)return void(i&&i({mediaId:Number(r),guid:n,src:a}));const s={"x-videopress-upload-key-token":"token","x-videopress-upload-key":"key"},l={};Object.keys(s).forEach((function(e){const n=t.getHeader(e);n&&(l[s[e]]=n)})),l.key&&l.token&&(o[l.key]=l.token)},onBeforeRequest:function(e){const t=e._method;if(["HEAD","OPTIONS"].indexOf(t)>=0&&(e._method="GET",e.setHeader("X-HTTP-Method-Override",t)),["DELETE","PUT","PATCH"].indexOf(t)>=0&&(e._method="POST",e.setHeader("X-HTTP-Method-Override",t)),e._xhr.open(e._method,e._url,!0),Object.keys(e._headers).map((function(t){e.setHeader(t,e._headers[t])})),"POST"===t){if(!!!s.token)throw"should never happen";e.setHeader("x-videopress-upload-token",s.token)}if(["OPTIONS","GET","HEAD","DELETE","PUT","PATCH"].indexOf(t)>=0){const n=new URL(e._url).pathname.split("/"),r=n[n.length-1];if(o[r])e.setHeader("x-videopress-upload-token",o[r]);else if("HEAD"===t)return a(r).then((t=>(o[r]=t.token,e.setHeader("x-videopress-upload-token",t.token),e)))}return Promise.resolve(e)}});return l.findPreviousUploads().then((function(e){e.length&&l.resumeFromPreviousUpload(e[0]),l.start()})),l}}},23096:function(e,t,n){"use strict";var r=n(69307),a=n(94333),o=n(52175),i=n(65235),s=n.n(i),l=n(90953);t.Z=(0,a.createHigherOrderComponent)((e=>t=>{const{attributes:{autoplay:n,caption:a,controls:i,guid:c,loop:u,muted:p,playsinline:d,poster:m,preload:h,videoPressClassNames:f,className:g,align:b,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E,maxWidth:w}={}}=t,_=o.useBlockProps.save({className:s()("wp-block-video",g,f,{[`align${b}`]:b})});if(!c)return e(t);const C=(0,l.p)(c,{autoplay:n,controls:i,loop:u,muted:p,playsinline:d,poster:m,preload:h,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:E});let S={};return w&&w.length>0&&"100%"!==w&&(S={maxWidth:w,margin:"auto"}),(0,r.createElement)("figure",_,(0,r.createElement)("div",{className:"wp-block-embed__wrapper",style:S},`\n${C}\n`),!o.RichText.isEmpty(a)&&(0,r.createElement)(o.RichText.Content,{tagName:"figcaption",value:a}))}),"withVideoPressSave")},75880:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=(n(99196),n(55609)),s=n(52175),l=n(65736);const __=l.__;class c extends o.Component{constructor(){super(...arguments),a()(this,"handleChangeSeekbarColor",(e=>{this.setState({seekbarColor:e})})),a()(this,"handleChangeSeekbarLoadingColor",(e=>{this.setState({seekbarLoadingColor:e})})),a()(this,"handleChangeSeekbarPlayedColor",(e=>{this.setState({seekbarPlayedColor:e})})),a()(this,"saveColors",(()=>{const{seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n}=this.state,{setAttributes:r}=this.props;r({seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:n})}));const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.props.attributes;this.state={seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}}render(){const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:n}=this.state,{toggleAttribute:r,useAverageColor:a}=this.props,l=!0;return(0,o.createElement)(i.PanelBody,{className:"seekbar-color-settings__panel",title:__("Progress Bar Colors","jetpack"),initialOpen:!1},(0,o.createElement)(i.ToggleControl,{label:__("Match video","jetpack"),help:__("Colors adapt to the video as it plays","jetpack"),onChange:r("useAverageColor"),checked:a}),(0,o.createElement)(s.PanelColorSettings,{opened:!a,showTitle:!1,colorSettings:[{value:e,onChange:this.handleChangeSeekbarColor,label:__("Main","jetpack"),showTitle:l},{value:n,onChange:this.handleChangeSeekbarLoadingColor,label:__("Loaded","jetpack"),showTitle:l},{value:t,onChange:this.handleChangeSeekbarPlayedColor,label:__("Progress","jetpack"),showTitle:l}]},(0,o.createElement)(i.Button,{variant:"secondary",onClick:this.saveColors},__("Save colors","jetpack"))))}}t.Z=c},22081:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(69307),a=n(86989),o=n.n(a),i=n(65736),s=n(55609),l=n(52175),c=n(47659),u=n(9818);const __=i.__,p="subtitles",d=".vtt,text/vtt",m=[{label:__("Subtitles","jetpack"),value:"subtitles"},{label:__("Captions","jetpack"),value:"captions"},{label:__("Descriptions","jetpack"),value:"descriptions"},{label:__("Chapters","jetpack"),value:"chapters"},{label:__("Metadata","jetpack"),value:"metadata"}],h=(0,r.createElement)(s.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},(0,r.createElement)(s.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)(s.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),(0,r.createElement)(s.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"})),f=()=>"videoPressUploadTrack"in window;function g(e){let{tracks:t,onChange:n,guid:a}=e;const[l=-1,c]=(0,r.useState)(),u=e=>{const r=t[e];c(e),((e,t)=>{if(f())return window.videoPressDeleteTrack(t,e.kind,e.srcLang);const n={method:"POST",path:`/videos/${t}/tracks/delete`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang]]};return o()(n)})(r,a).finally((()=>{n(t.filter(((t,n)=>n!==e))),c(-1)}))};let p;return p=0===t.length?(0,r.createElement)("p",{className:"videopress-block-tracks-editor__tracks-informative-message"},__("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.","jetpack")):t.map(((e,t)=>(0,r.createElement)("div",{key:t,className:"videopress-block-tracks-editor__track-list-track"},(0,r.createElement)("span",null,e.label),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__track-list-track-delete"},(0,r.createElement)(s.Button,{variant:"link",isDestructive:!0,onClick:()=>{u(t)},"aria-label":(0,i.sprintf)(
/* translators: %s: Label of the video text track e.g: "French subtitles" */
-__("Delete %s","jetpack"),e.label),disabled:l===t},l===t?__("Deleting","jetpack"):__("Delete","jetpack",0)))))),(0,r.createElement)(s.MenuGroup,{label:__("Text tracks","jetpack"),className:"videopress-block-tracks-editor__track-list"},p)}function b(e){let{track:t,guid:n,onChange:a,onClose:c,onCancel:h,trackExists:g}=e;const[b,v]=(0,r.useState)(),[k=!1,y]=(0,r.useState)(),{label:E="",srcLang:w="",kind:_=p}=t,C=t.tmpFile?t.tmpFile.name:"";if(!(0,u.useSelect)((e=>e(l.store).getSettings().mediaUpload),[]))return null;return(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor"},(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-label"},__("Edit track","jetpack")),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file"},(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label"},(0,r.createElement)("span",null,__("File","jetpack"),":"),""!==C&&(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label-name"},(0,r.createElement)("strong",null,C)),(0,r.createElement)(l.MediaUploadCheck,null,(0,r.createElement)(s.FormFileUpload,{onChange:e=>{const n=e.target.files;!n.length>0||(t.tmpFile=n[0],a(t))},accept:d,render:e=>{let{openFileDialog:t}=e;return(0,r.createElement)(s.Button,{isLink:!0,onClick:()=>{t()}},""===C?__("Select track","jetpack"):__("Change track","jetpack",0))},disabled:k}))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-help"},
+__("Delete %s","jetpack"),e.label),disabled:l===t},l===t?__("Deleting","jetpack"):__("Delete","jetpack",0)))))),(0,r.createElement)(s.MenuGroup,{label:__("Text tracks","jetpack"),className:"videopress-block-tracks-editor__track-list"},p)}function b(e){let{track:t,guid:n,onChange:a,onClose:c,onCancel:h,trackExists:g}=e;const[b,v]=(0,r.useState)(),[k=!1,y]=(0,r.useState)(),{label:E="",srcLang:w="",kind:_=p}=t,C=t.tmpFile?t.tmpFile.name:"";if(!(0,u.useSelect)((e=>e(l.store).getSettings().mediaUpload),[]))return null;return(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor"},(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-label"},__("Edit track","jetpack")),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file"},(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label"},(0,r.createElement)("span",null,__("File","jetpack"),":"),""!==C&&(0,r.createElement)("span",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-label-name"},(0,r.createElement)("strong",null,C)),(0,r.createElement)(l.MediaUploadCheck,null,(0,r.createElement)(s.FormFileUpload,{onChange:e=>{const n=e.target.files;!n.length>0||(t.tmpFile=n[0],a(t))},accept:d,render:e=>{let{openFileDialog:t}=e;return(0,r.createElement)(s.Button,{variant:"link",onClick:()=>{t()}},""===C?__("Select track","jetpack"):__("Change track","jetpack",0))},disabled:k}))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-upload-file-help"},
/* translators: %s: The allowed file types to be uploaded as a video text track." */
(0,i.sprintf)(__("Allowed formats: %s","jetpack"),d))),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-label-language"},(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,label:e}),label:__("Label","jetpack"),value:E,help:__("Title of track","jetpack"),disabled:k}),(0,r.createElement)(s.TextControl,{onChange:e=>a({...t,srcLang:e}),label:__("Source language","jetpack"),value:w,help:__("Language tag (en, fr, etc.)","jetpack"),disabled:k})),(0,r.createElement)(s.SelectControl,{className:"videopress-block-tracks-editor__single-track-editor-kind-select",options:m,value:_,label:
/* translators: %s: The kind of video text track e.g: "Subtitles, Captions" */
-__("Kind","jetpack"),onChange:e=>{a({...t,kind:e})},disabled:k}),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-buttons-container"},k?(0,r.createElement)(s.Spinner,null):(0,r.createElement)(s.Button,{isSecondary:!0,disabled:!t.tmpFile,onClick:()=>{v(null),""===E&&(t.label=__("English","jetpack")),""===w&&(t.srcLang="en"),void 0===t.kind&&(t.kind=p),g(t)?v(__("A track already exists for that language and kind.","jetpack")):(y(!0),((e,t)=>{if(f())return window.videoPressUploadTrack(t,e.kind,e.srcLang,e.label,e.tmpFile);const n={method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang],["label",e.label],["vtt",e.tmpFile]]};return o()(n)})(t,n).then((()=>{a(t),v(null),c()})).catch((e=>{e.message&&v(e.message)})).finally((()=>{y(!1)})))}},__("Save","jetpack")),(0,r.createElement)(s.Button,{isLink:!0,onClick:h},__("Close","jetpack"))),b&&(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-error"},
+__("Kind","jetpack"),onChange:e=>{a({...t,kind:e})},disabled:k}),(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-buttons-container"},k?(0,r.createElement)(s.Spinner,null):(0,r.createElement)(s.Button,{variant:"secondary",disabled:!t.tmpFile,onClick:()=>{v(null),""===E&&(t.label=__("English","jetpack")),""===w&&(t.srcLang="en"),void 0===t.kind&&(t.kind=p),g(t)?v(__("A track already exists for that language and kind.","jetpack")):(y(!0),((e,t)=>{if(f())return window.videoPressUploadTrack(t,e.kind,e.srcLang,e.label,e.tmpFile);const n={method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",e.kind],["srclang",e.srcLang],["label",e.label],["vtt",e.tmpFile]]};return o()(n)})(t,n).then((()=>{a(t),v(null),c()})).catch((e=>{e.message&&v(e.message)})).finally((()=>{y(!1)})))}},__("Save","jetpack")),(0,r.createElement)(s.Button,{variant:"link",onClick:h},__("Close","jetpack"))),b&&(0,r.createElement)("div",{className:"videopress-block-tracks-editor__single-track-editor-error"},
/* translators: %s: An error message returned after a failed video track file upload." */
-(0,i.sprintf)(__("Error: %s","jetpack"),b))))}function v(e){let{tracks:t=[],onChange:n,guid:a}=e;const[o,i]=(0,r.useState)(null);return(0,r.createElement)(s.Dropdown,{contentClassName:"videopress-block-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,r.createElement)(s.ToolbarButton,{label:__("Text tracks","jetpack"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:h})},renderContent:()=>null!==o?(0,r.createElement)(b,{track:t[o],guid:a,onChange:e=>{const r=[...t];r[o]=e,n(r)},onClose:()=>i(null),onCancel:()=>{n(t.filter(((e,t)=>t!==o))),i(null)},trackExists:e=>-1!==t.filter(((e,t)=>t!==o)).findIndex((t=>t.kind===e.kind&&t.srcLang===e.srcLang))}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)(g,{tracks:t,onChange:n,guid:a}),(0,r.createElement)(s.MenuGroup,{className:"videopress-block-tracks-editor__add-tracks-container",label:__("Add tracks","jetpack")},(0,r.createElement)(s.MenuItem,{icon:c.Z,onClick:()=>{(()=>{const e=t.length,r=[...t];r[e]||(r[e]={}),r[e]={...t[e]},n(r),i(e)})()}},__("Upload track","jetpack")))))})}},45151:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d,useAverageColor:m}=t;if(!e)return null;const h={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d},...m&&{useAverageColor:!0}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,h)}},43501:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(96816),a=n(89105),o=n.n(a);const i=e=>{const t=r.s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1});return o()(e,t)};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return i(t);const a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;const s=a.body.querySelector("iframe");if(s&&s.height&&s.width){const e=(s.width/s.height).toFixed(2);for(let n=0;n<r.s.length;n++){const a=r.s[n];if(e>=a.ratio)return o()(i(t),a.className,"wp-has-aspect-ratio")}}return t}},33144:function(e,t,n){"use strict";n.d(t,{U:function(){return i},m:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i="mrec",s=[{height:250,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:__("Rectangle 300x250","jetpack"),tag:i,width:300,editorPadding:30},{height:90,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:__("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:__("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),(0,r.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:__("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}]},67907:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(21762);const __=i.__,l=e=>{let{value:t,onChange:n}=e;return(0,r.createElement)(o.PanelBody,{title:__("Visibility","jetpack")},(0,r.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:!!t,label:__("Hide on mobile","jetpack"),help:__("Hides this block for site visitors on mobile devices.","jetpack"),onChange:n}))};t.Z=e=>{let{attributes:{format:t,hideMobile:n},setAttributes:o}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(s.Z,{value:t,onChange:e=>o({format:e})})),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(l,{value:n,onChange:e=>o({hideMobile:!!e})})))}},7299:function(e,t,n){"use strict";var r=n(69307),a=n(67907),o=n(33144),i=n(72473),s=n(52203),l=n(38511),c=n(80405);t.Z=e=>{let{attributes:t,setAttributes:n}=e;const{format:u}=t,p=o.m.find((e=>{let{tag:t}=e;return t===u}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Z,{attributes:t,setAttributes:n}),(0,r.createElement)("div",{className:`wp-block-jetpack-wordads jetpack-wordads-${u}`},(0,r.createElement)("div",{className:"jetpack-wordads__ad",style:{width:p.width,height:p.height,backgroundImage:`url( ${(e=>{switch(e){case"leaderboard":return s;case"mobile_leaderboard":return l;case"wideskyscraper":return c;default:return i}})(u)} )`,backgroundSize:"cover"}})))}},21762:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(33144);const s=(0,a.__)("Pick an ad format","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.ToolbarGroup,{controls:[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:s,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},i.m.map((e=>{let{tag:i,name:s,icon:l}=e;return(0,r.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:l,isSelected:i===t,key:i,onClick:()=>{n(i),a()},role:"menuitemcheckbox"},s)})))}})}},62086:function(e,t,n){"use strict";n.d(t,{u2:function(){return c},Xd:function(){return d}});var r=n(69307),a=n(65736),o=n(55609),i=n(7299),s=n(33144),l=n(57535);const __=a.__,_x=a._x,c="wordads",u=__("Ad","jetpack"),p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),d={title:u,description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Earn income by adding high quality ads to your post","jetpack")),(0,r.createElement)(o.ExternalLink,{href:"https://wordads.co/"},__("Learn all about WordAds","jetpack"))),icon:{src:p,foreground:(0,l.m)()},attributes:{align:{type:"string",default:"center"},format:{type:"string",default:s.U},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"earn",keywords:[_x("ads","block search term","jetpack"),"WordAds",_x("advertisement","block search term","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:i.Z,save:()=>null}},81921:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(57535);const __=a.__,_x=a._x,i={name:"facebook",title:"Facebook",icon:{src:"facebook",foreground:(0,o.m)()},keywords:[_x("social","block search term","jetpack")],description:__("Embed a Facebook post.","jetpack"),patterns:[/^https?:\/\/www\.facebook.com\/.+/i],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateFacebookEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations)return e;const n=e.variations.filter((e=>e.name!==i.name));return e.variations=[...n,i],e}))},17269:function(e,t,n){"use strict";n(81921),n(82122),n(19775),n(34034)},82122:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(57535),i=n(28938);const __=a.__,_x=a._x,s={name:"instagram",title:"Instagram",icon:{src:"instagram",foreground:(0,o.m)()},keywords:[_x("image","block search term","jetpack"),_x("social","block search term","jetpack")],description:__("Embed an Instagram post.","jetpack"),patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i],attributes:{providerNameSlug:"instagram",responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateInstagramEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations||!(0,i.Z)())return e;const n=e.variations.filter((e=>e.name!==s.name));return e.variations=[...n,s],e}))},19775:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(51591);const __=a.__,i={name:"loom",title:"Loom",icon:o.zf,keywords:[__("video","jetpack")],description:__("Embed a Loom video.","jetpack"),patterns:[/^https?:\/\/(www\.)?loom\.com\/share\/.+/i],attributes:{providerNameSlug:"loom",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},34034:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(51591);const __=a.__,i={name:"smartframe",title:"SmartFrame",icon:o.Ae,keywords:[__("smartframe","jetpack")],description:__("Embed a SmartFrame Image.","jetpack"),patterns:[/^https?:\/\/(.*?).smartframe.(io|net)\/.*/i],attributes:{providerNameSlug:"smartframe",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},56771:function(e,t,n){"use strict";var r=n(92694),a=n(4981),o=n(33722);const i={from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!!n?.raw&&"jetpack_widget_social_icons"===t},transform:e=>{let{instance:t}=e,n=[];return t.raw.icons.forEach((e=>{const t=new URL(e.url.includes(":")?e.url:"https://"+e.url),r=t.hostname?t.hostname:t.protocol,i=o.Z.find((e=>r.includes(e.url)||e.url.includes(r))),s=(0,a.createBlock)("core/social-link",{service:i?i.name:"chain",url:e.url});n=[...n,s]})),(0,a.createBlock)("core/social-links",{},n)}}]};(0,r.addFilter)("blocks.registerBlockType","addTransformToSocialLinksWidget",(function(e,t){return"core/social-links"!==t||(e.transforms=i),e}))},33722:function(e,t){"use strict";t.Z=[{name:"wordpress",url:["wordpress."]},{name:"fivehundredpx",url:["500px.com"]},{name:"amazon",url:["amazon."]},{name:"bandcamp",url:["bandcamp.com"]},{name:"behance",url:["behance.net"]},{name:"codepen",url:["codepen.io"]},{name:"deviantart",url:["deviantart.com"]},{name:"dribbble",url:["dribbble.com"]},{name:"dropbox",url:["dropbox.com"]},{name:"etsy",url:["etsy.com"]},{name:"facebook",url:["facebook.com"]},{name:"flickr",url:["flickr.com"]},{name:"foursquare",url:["foursquare.com"]},{name:"goodreads",url:["goodreads.com"]},{name:"google",url:["google."]},{name:"github",url:["github.com"]},{name:"instagram",url:["instagram.com"]},{name:"lastfm",url:["last.fm"]},{name:"linkedin",url:["linkedin.com"]},{name:"mail",url:["mailto:"]},{name:"linkedin",url:["linkedin.com"]},{name:"mastodon",url:["mastodon.social"]},{name:"meetup",url:["meetup.com"]},{name:"medium",url:["medium.com"]},{name:"patreon",url:["patreon.com"]},{name:"pinterest",url:["pinterest."]},{name:"pocket",url:["getpocket.com"]},{name:"reddit",url:["reddit.com"]},{name:"skype",url:["skype.com","skype:"]},{name:"snapchat",url:["snapchat.com"]},{name:"soundcloud",url:["soundcloud.com"]},{name:"spotify",url:["spotify.com"]},{name:"telegram",url:["telegram.me","t.me"]},{name:"tiktok",url:["tiktok.com"]},{name:"tumblr",url:["tumblr.com"]},{name:"twitch",url:["twitch.tv"]},{name:"twitter",url:["twitter.com"]},{name:"vimeo",url:["vimeo.com"]},{name:"vk",url:["vk.com"]},{name:"yelp",url:["yelp.com"]},{name:"youtube",url:["youtube.com"]}]},32630:function(e,t,n){"use strict";n.d(t,{x:function(){return a},L:function(){return o}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o},children:i})}},58721:function(e,t,n){"use strict";var r=n(92819),a=n(47701),o=n.n(a),i=n(92694),s=n(65736),l=n(81475),c=n(44298),u=n(32220),p=n(94239),d=n(99199);const __=s.__,m=[];(0,i.addFilter)("blocks.registerBlockType","jetpack/paid-block",((e,t)=>((0,c.X1)(t)&&(m.includes(t)||m.push(t),e.keywords=(0,r.uniq)([...e.keywords,"premium",__("premium","jetpack")]),(0,c.HD)(t)||(e.icon=(0,u.Z)(e.icon)),e.attributes.shouldDisplayFrontendBanner||(e.attributes.shouldDisplayFrontendBanner={type:"boolean",default:!0})),e))),(0,i.addFilter)("editor.BlockListBlock","jetpack/paid-block-with-warning",l.Z),(0,i.addFilter)("editor.MediaPlaceholder","jetpack/paid-block-media-placeholder",p.Z),(0,i.addFilter)("editor.MediaReplaceFlow","jetpack/paid-block-media-placeholder",d.Z),o()((function(){(0,c.FK)()&&document.body.classList.add("jetpack-enable-upgrade-nudge")}))},94239:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(36745),c=n(44298),u=n(32630);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,c.m3)(n);if(!r?.mediaPlaceholder||!(0,c.X1)(n))return(0,o.createElement)(e,t);const{fileType:s}=r,{onError:p}=t,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x),m=(0,o.useCallback)((e=>d(e?.length&&(0,l.Qu)(e[0],s))),[s,d]),h=(0,o.useCallback)((e=>{const t=e?.[0]?.props?.children;return(0,l.Qu)(t,s)?m([t]):p(e)}),[m,s,p]);return(0,o.createElement)("div",{className:"paid-block-media-placeholder"},(0,o.createElement)(e,a()({},t,{onFilesPreUpload:m,onError:h})))}),"withMediaPlaceholderUpgradable")},99199:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(36745),c=n(44298),u=n(32630);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,c.m3)(n),s=(0,o.useRef)();if(!r?.mediaReplaceFlow||!(0,c.X1)(n))return(0,o.createElement)(e,t);const{fileType:p}=r,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x);return(0,o.createElement)(e,a()({},t,{onFilesUpload:e=>{s.current=e?.length?e[0]:null,d(e?.length&&(0,l.Qu)(e[0],p))},createNotice:(e,n,r)=>{if((0,l.Qu)(s.current,p))return s.current=null,null;t.createNotice(e,n,r)}}))}),"withMediaReplaceFlowUpgradable")},25122:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{cx:t=23,cy:n=3,r:o=4,fill:i="#e34c84",stroke:s="#ffffff",strokeWidth:l="2"}=e;return(0,r.createElement)(a.Circle,{className:"jetpack-paid-block-symbol",cx:t,cy:n,r:o,fill:i,stroke:s,strokeWidth:l})}},32220:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(69307),a=n(25122),o=n(44298);const i=e=>(e?.src?e={...e,src:(0,r.cloneElement)(e.src,{children:[e.src.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})}:e?.props?.children&&(e=(0,r.cloneElement)(e,{children:[e.props.children,(0,r.createElement)(a.Z,{key:"paid-symbol"})]})),e);function s(e,t){return(0,o.X1)(e)?i(t):t}t.Z=i},53283:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(18733),i=n(19356);const __=a.__,s=__("Premium Block","jetpack"),l=__("Upgrade your plan to use this premium block","jetpack"),c=__("Upgrade","jetpack");t.ZP=e=>{let{onRedirect:t,align:n,className:a,title:u=s,description:p=l,buttonText:d=c,visible:m=!0,requiredPlan:h,context:f}=e;const[g,b,v]=(0,o.Z)(h,t);return(0,r.createElement)(i.p,{align:n,buttonText:d,checkoutUrl:g,className:a,context:f,description:p,goToCheckoutPage:b,isRedirecting:v,title:u,visible:m})}},63627:function(e,t,n){"use strict";n.d(t,{v:function(){return a},W:function(){return o}});var r=n(11973);const a=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:t,block:n,context:a})},o=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_banner_impression",{plan:t,block:n,context:a})}},81475:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(94333),c=n(9818),u=n(44298),p=n(53283),d=n(32630),m=n(63627);t.Z=(0,l.createHigherOrderComponent)((e=>t=>{const{name:n,className:r,clientId:i,isSelected:l,attributes:h,setAttributes:f}=t||{},{onChildBannerVisibilityChange:g,hasParentBanner:b}=(0,o.useContext)(d.x)||{},v=(0,u.Rl)(n);if(!v)return(0,o.createElement)(e,t);const k=(0,u.HD)(n),y=(0,u.m3)(n),[E,w]=(0,o.useState)(!k),[_,C]=(0,o.useState)(!1),[j,S]=(0,o.useState)(!1),x="editor-canvas",T=(0,c.useSelect)((e=>e("core/block-editor").hasSelectedInnerBlock(i,!0)),[]),N=(l||T)&&E&&!j,A=(0,o.useMemo)((()=>({plan:v,blockName:n,context:x})),[v,n,x]);(0,o.useEffect)((()=>{N&&C(!0)}),[N,C]),(0,o.useEffect)((()=>{!_&&N&&(0,m.W)(A)}),[_,A,N]),(0,o.useEffect)((()=>w(!k)),[h,w,k]),(0,o.useEffect)((()=>{f({shouldDisplayFrontendBanner:!b})}),[f,b]),(0,o.useEffect)((()=>{g&&g(N||j)}),[N,j,g]);const P=s()(r,{"is-upgradable":N});return(0,o.createElement)(d.L,{onBannerVisibilityChange:w,onChildBannerVisibilityChange:S,hasParentBanner:!0},(0,o.createElement)(p.ZP,{className:`is-${t.name.replace(/\//,"-")}-paid-block`,title:null,align:t?.attributes?.align,visible:N,description:y?.description,requiredPlan:v,context:x,onRedirect:()=>(0,m.v)(A)}),(0,o.createElement)(e,a()({},t,{className:P})))}),"withUpgradeBanner")},5587:function(e,t,n){"use strict";var r=n(69307),a=n(11268),o=n.n(a),i=n(51591);const s=e=>{const{id:t,serviceName:n,label:a,profilePicture:o}=e;return(0,r.createElement)("label",{htmlFor:t,className:"jetpack-publicize-connection-label"},(0,r.createElement)("div",{className:o?"components-connection-icon__picture":""},o&&(0,r.createElement)("img",{src:o,alt:a}),(0,r.createElement)(i.av,{serviceName:n,className:"jetpack-publicize-gutenberg-social-icon"})),(0,r.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},a))};s.propTypes={id:o().string.isRequired,serviceName:o().string,label:o().string,profilePicture:o().string},t.Z=s},90342:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(11268),s=n.n(i),l=n(55609),c=n(5587);const u=e=>{const{className:t,checked:n,id:a,disabled:i,onChange:s,serviceName:u,label:p,profilePicture:d}=e,m=o()("components-connection-toggle",{"is-not-checked":!n,"is-disabled":i});return(0,r.createElement)("div",{className:m},(0,r.createElement)(c.Z,{id:a,serviceName:u,label:p,profilePicture:d}),(0,r.createElement)(l.FormToggle,{id:a,className:t,checked:n,onChange:s,disabled:i}))};u.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},t.Z=u},9580:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(94333),c=n(9818);const __=i.__;class u extends o.Component{constructor(){super(...arguments),a()(this,"refreshConnectionClick",(e=>{const{href:t,title:n}=e.target;e.preventDefault();const r=window.open(t,n,""),a=window.setInterval((()=>{!1!==r.closed&&(window.clearInterval(a),this.props.refreshConnections())}),500)}))}componentDidMount(){this.props.refreshConnections()}renderRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>e.can_refresh));return t.length?(0,o.createElement)(s.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},(0,o.createElement)("p",null,__("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((e=>(0,o.createElement)(s.Button,{href:e.refresh_url,isSmall:!0,key:e.id,onClick:this.refreshConnectionClick,title:e.refresh_text},e.refresh_text)))):null}renderNonRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>!e.can_refresh));return t.length?t.map((e=>(0,o.createElement)(s.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},(0,o.createElement)("p",null,e.test_message)))):null}render(){return(0,o.createElement)(o.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}t.Z=(0,l.compose)([(0,c.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections()}))),(0,c.withDispatch)((e=>({refreshConnections:e("jetpack/publicize").refreshConnectionTestResults})))])(u)},65459:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609),l=n(9818),c=n(92819),u=n(4235),p=n(90342);const __=i.__;class d extends o.Component{constructor(){super(...arguments),a()(this,"maybeDisplayLinkedInNotice",(()=>this.connectionNeedsReauth()&&(0,o.createElement)(s.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},(0,o.createElement)("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),(0,o.createElement)(s.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,u.Z)()}`},__("Go to Sharing settings","jetpack"))))),a()(this,"connectionNeedsReauth",(()=>(0,c.includes)(this.props.mustReauthConnections,this.props.name))),a()(this,"onConnectionChange",(()=>{const{id:e}=this.props;this.props.toggleConnection(e)}))}connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}render(){const{disabled:e,enabled:t,id:n,label:r,name:a,profilePicture:i}=this.props,l="connection-"+a+"-"+n,c=a.replace("_","-");let u=(0,o.createElement)(p.Z,{id:l,className:"jetpack-publicize-connection-toggle",checked:t,onChange:this.onConnectionChange,disabled:e,serviceName:c,label:r,profilePicture:i});return(e||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=(0,o.createElement)(s.Disabled,null,u)),(0,o.createElement)("li",null,this.maybeDisplayLinkedInNotice(),(0,o.createElement)("div",{className:"publicize-jetpack-connection-container"},u))}}t.Z=(0,l.withSelect)((e=>({failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()})))(d)},94552:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(55609),o=n(65459),i=n(97527),s=n(11230),l=n(69423),c=n(47959);function u(e){let{isPublicizeEnabled:t,isRePublicizeFeatureEnabled:n,isPublicizeDisabledBySitePlan:u}=e;const{connections:p,toggleById:d,hasConnections:m}=(0,l.Z)(),{message:h,updateMessage:f,maxLength:g}=(0,c.Z)();const b=u?a.Disabled:r.Fragment;return(0,r.createElement)(b,null,m&&(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("ul",{className:"jetpack-publicize__connections-list"},p.map((e=>{let{display_name:a,enabled:i,id:s,service_name:l,toggleable:c,profile_picture:p}=e;return(0,r.createElement)(o.Z,{disabled:n?!t:!c,enabled:i&&!u,key:s,id:s,label:a,name:l,toggleConnection:d,profilePicture:p})})))),!u&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,null),p.some((e=>e.enabled))&&(0,r.createElement)(s.Z,{disabled:!n&&p.every((e=>!e.toggleable)),maxLength:g,onChange:f,message:h})))}},11230:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,_n=a._n;function i(e){let{message:t="",onChange:n,disabled:i,maxLength:s}=e;const l=s-t.length;return(0,r.createElement)(o.TextareaControl,{value:t,onChange:n,disabled:i,maxLength:s,placeholder:__("Write a message for your audience here.","jetpack"),rows:4,help:(0,a.sprintf)(
-/* translators: placeholder is a number. */
-_n("%d character remaining","%d characters remaining",l,"jetpack"),l)})}},8425:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(12238),s=n(9818),l=n(9580),c=n(94552),u=n(58933),p=n(69423),d=n(20265),m=n(23731),h=n(99490),f=n(96609);const __=a.__;t.Z=e=>{let{prePublish:t}=e;const{refresh:n,hasConnections:a,hasEnabledConnections:g}=(0,p.Z)(),b=(0,s.useSelect)((e=>e(i.store).isCurrentPostPublished()),[]),{isRePublicizeFeatureEnabled:v,isPublicizeEnabled:k,togglePublicizeFeature:y,isPublicizeDisabledBySitePlan:E,hideRePublicizeFeature:w}=(0,m.Z)(),_=k&&!E;(0,d.M)((function(){g&&n()}),[g,n]);const C=E?o.Disabled:o.PanelRow,j=t?r.Fragment:o.PanelBody,S=t?{}:{title:__("Share this post","jetpack"),className:E?"jetpack-publicize-disabled":""};return(0,r.createElement)(j,S,(0,r.createElement)(f.Z,{isPostPublished:b}),!w&&(0,r.createElement)(r.Fragment,null,v&&!b&&(0,r.createElement)(C,null,(0,r.createElement)(o.ToggleControl,{className:"jetpack-publicize-toggle",label:_&&!E?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:y,checked:_,disabled:!a})),(0,r.createElement)(l.Z,null),(0,r.createElement)(c.Z,{isPublicizeEnabled:_,isRePublicizeFeatureEnabled:v,isPublicizeDisabledBySitePlan:E}),!E&&(0,r.createElement)(u.Z,{prePublish:t}),(0,r.createElement)(h.o,null)))}},97527:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(92819),o=n(75031),i=n(65736),s=n(55609),l=n(4235),c=n(69423);const __=i.__;function u(){const{refresh:e}=(0,c.Z)(),t=(0,l.Z)(),n=(0,a.debounce)((function(t){t&&e()}),2e3),i=t?`https://wordpress.com/marketing/connections/${t}`:"options-general.php?page=sharing&publicize_popup=true";return(0,r.createElement)(o.Z,{onChange:n},(0,r.createElement)("div",{className:"jetpack-publicize-add-connection-wrapper"},(0,r.createElement)(s.ExternalLink,{href:i,target:"_blank"},__("Connect an account","jetpack"))))}},99490:function(e,t,n){"use strict";n.d(t,{o:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(53961),l=n(12238),c=n(90732),u=n(69423),p=n(23731);const __=a.__;function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:__("Unable to share the Post","jetpack");const{createErrorNotice:t}=(0,i.dispatch)(s.store);t(e,{id:"publicize-post-share-message"})}function m(){const{hasEnabledConnections:e}=(0,u.Z)(),{isPublicizeEnabled:t}=(0,p.Z)(),{isFetching:n,isError:a,isSuccess:m,doPublicize:h}=(0,c.Z)(),f=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);(0,r.useEffect)((()=>{if(!n)return a?d():void(m&&function(){const{createSuccessNotice:e}=(0,i.dispatch)(s.store);e(__("Post shared","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[n,a,m]);const g=!t||!e||!f||n;return(0,r.createElement)(o.Button,{isSecondary:!0,onClick:function(){if(!f)return d(__("You must publish your post before you can share it.","jetpack"));(0,i.dispatch)(s.store).removeNotice("publicize-post-share-message"),h()},disabled:g,isBusy:n},__("Share post","jetpack"))}function h(){const{isRePublicizeFeatureEnabled:e,isRePublicizeUpgradableViaUpsell:t}=(0,p.Z)(),n=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);return e&&n?t?null:(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(m,null)):null}},41093:function(e,t,n){"use strict";n.d(t,{nE:function(){return l},H8:function(){return c}});var r=n(69307),a=n(94333),o=n(9818),i=n(92694),s=n(54802);const l={"core/gallery":{contentAttributes:["images"]},"core/heading":{contentAttributes:["content"]},"core/image":{contentAttributes:["alt","url"]},"core/list":{contentAttributes:["values"]},"core/paragraph":{contentAttributes:["content"]},"core/quote":{contentAttributes:["value","citation"]},"core/separator":{contentAttributes:[]},"core/spacer":{contentAttributes:[]},"core/verse":{contentAttributes:["content"]},"core/video":{contentAttributes:["src"]},"core/embed":{contentAttributes:["url"]},"jetpack/gif":{contentAttributes:["giphyUrl"]}},c=["core/column","core/columns","core/group"];(0,i.addFilter)("blocks.registerBlockType","jetpack/publishing-tweetstorms",(e=>{const{edit:t}=e;return{...e,edit:e=>(0,r.createElement)(s.Z,{ChildEdit:t,childProps:e})}}));t.ZP=(0,a.compose)([(0,o.withSelect)((e=>({isTweetStorm:e("jetpack/publicize").isTweetStorm(),isTyping:e("core/block-editor").isTyping()})))])((e=>{let{isTweetStorm:t,isTyping:n}=e;return t?document.body.classList.add("jetpack-tweetstorm"):document.body.classList.remove("jetpack-tweetstorm"),t&&n?document.body.classList.add("jetpack-tweetstorm-is-typing"):document.body.classList.remove("jetpack-tweetstorm-is-typing"),null}))},58933:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(94333),s=n(9818);n(42998);const __=a.__;t.Z=(0,i.compose)([(0,s.withSelect)((e=>{const{isTweetStorm:t,getTweetStorm:n}=e("jetpack/publicize");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),isTweetStorm:t(),tweetStormLength:n().length}})),(0,s.withDispatch)((e=>({setTweetstorm:t=>{e("core/editor").editPost({meta:{jetpack_is_tweetstorm:t}}),t?e("jetpack/publicize").refreshTweets():(e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm"),e("core/annotations").__experimentalRemoveAnnotationsBySource("jetpack-tweetstorm-line-break"))}})))])((e=>{let{connections:t,isTweetStorm:n,tweetStormLength:a,setTweetstorm:i,prePublish:s}=e;if(!t?.some((e=>"twitter"===e.service_name&&e.enabled)))return null;const l=(e,t)=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,e),(0,r.createElement)("br",null),t),c=[];return a>=102?c.push({id:"jetpack-publicize-twitter-tweetstorm-too-long",status:"error",content:__("Only the first 100 tweets of this post will be published in the Twitter thread.","jetpack"),isDismissible:!1}):a>=22?c.push({id:"jetpack-publicize-twitter-tweetstorm-a-bit-long",status:"warning",content:__("This post will create a Twitter thread more than 20 tweets long.","jetpack"),isDismissible:!1}):s&&a<=2&&c.push({id:"jetpack-publicize-twitter-tweetstorm-too-short",status:"warning",content:__("None of the content in this post could be transformed into tweets, it may be better to share as a single tweet.","jetpack"),isDismissible:!1}),(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(o.RadioControl,{label:__("Twitter settings","jetpack"),selected:n?"tweetstorm":"single",options:[{label:l(__("Single Tweet","jetpack"),__("Share a link to this post to Twitter.","jetpack")),value:"single"},{label:l(__("Twitter Thread","jetpack"),__("Share the content of this post as a Twitter thread.","jetpack")),value:"tweetstorm"}],onChange:e=>{i("tweetstorm"===e)}}),n&&(0,r.createElement)(o.NoticeList,{className:"jetpack-publicize-twitter-options__notices",notices:c}))}))},54802:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(55609),i=n(94333),s=n(9818),l=(n(42998),n(51591));class c extends r.Component{componentDidMount(){const{isTweetStorm:e,updateTweets:t}=this.props;e&&t()}componentDidUpdate(e){const{boundaries:t,childProps:n,currentAnnotations:r,isTweetStorm:o,updateAnnotations:i,updateTweets:s,supportedBlockType:l,contentAttributesChanged:c}=this.props;o&&l&&(c(e.childProps,n)&&s(),r.length===t.filter((e=>["normal","line-break"].includes(e.type))).length&&(0,a.isEqual)(e.boundaries,t)||i())}render(){const{ChildEdit:e,childProps:t,isTweetStorm:n,isSelectedTweetBoundary:a,boundaryStylesSelectors:i,popoverWarnings:s}=this.props;return n?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(e,t),a&&(0,r.createElement)("div",{className:"jetpack-publicize-twitter__tweet-divider"},(0,r.createElement)("div",{className:"jetpack-publicize-twitter__tweet-divider-icon"},(0,r.createElement)(l.av,{serviceName:"twitter"})),s.length>0&&(0,r.createElement)(o.Popover,{className:"jetpack-publicize-twitter__tweet-divider-popover",focusOnMount:!1,position:"bottom center"},(0,r.createElement)("ol",null,s.map(((e,t)=>(0,r.createElement)("li",{key:`jetpack-publicize-twitter__tweet-divider-popover-warning-${t}`},e)))))),i&&(0,r.createElement)("style",{type:"text/css"},i.map((e=>`${e}::after {\n\t\t\t\t\t\t\t\tcontent: "";\n\t\t\t\t\t\t\t\tbackground: #0009;\n\t\t\t\t\t\t\t\twidth: 3px;\n\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\tmargin: 0 1px;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.is-dark-theme ${e}::after {\n\t\t\t\t\t\t\t\tbackground: #fff9;\n\t\t\t\t\t\t\t}`)))):(0,r.createElement)(e,t)}}t.Z=(0,i.compose)([(0,s.withSelect)(((e,t)=>{let{childProps:n}=t;const{isTweetStorm:r,getPopoverWarnings:a,getBoundariesForBlock:o,getBoundaryStyleSelectors:i,isSelectedTweetBoundary:s,getSupportedBlockType:l,contentAttributesChanged:c}=e("jetpack/publicize"),u=e("core/annotations").__experimentalGetAllAnnotationsForBlock(n.clientId);return{isTweetStorm:r(),isSelectedTweetBoundary:s(n),boundaries:o(n.clientId),boundaryStylesSelectors:i(n.clientId),popoverWarnings:a(n),currentAnnotations:u,supportedBlockType:l(n.name),contentAttributesChanged:c}})),(0,s.withDispatch)(((e,t,n)=>{let{childProps:r}=t,{select:a}=n;return{updateTweets:()=>e("jetpack/publicize").refreshTweets(),updateAnnotations:()=>{const{contentAttributesChanged:t,getTweetsForBlock:n}=a("jetpack/publicize"),o=n(r.clientId);if(!o||0===o.length)return;if(t(o.reduce(((e,t)=>e||t.blocks.find((e=>e.clientId===r.clientId))),!1),r))return;a("core/annotations").__experimentalGetAllAnnotationsForBlock(r.clientId).forEach((t=>{["jetpack-tweetstorm","jetpack-tweetstorm-line-break"].includes(t.source)&&e("core/annotations").__experimentalRemoveAnnotation(t.id)}));o.filter((e=>e.boundary)).map((e=>e.boundary)).forEach((t=>{const{container:n,type:a,start:o,end:i}=t;"normal"===a?e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm",richTextIdentifier:n,range:{start:o,end:i}}):"line-break"===a&&e("core/annotations").__experimentalAddAnnotation({blockClientId:r.clientId,source:"jetpack-tweetstorm-line-break",richTextIdentifier:n,range:{start:o,end:i}})}))}}}))])(c)},96609:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(69307),a=n(89105),o=n.n(a),i=n(65736),s=n(55609),l=n(84675),c=n(44298),u=n(18733),p=n(23731),d=n(58014),m=n(69423);const __=i.__;function h(e){let{isPostPublished:t}=e;const{isRePublicizeFeatureEnabled:n,isRePublicizeUpgradableViaUpsell:a,isRePublicizeFeatureAvailable:h,isPublicizeEnabled:f}=(0,p.Z)(),g=(0,c.Rl)("republicize"),[b,v,k,y]=(0,u.Z)(g),{hasConnections:E,hasEnabledConnections:w}=(0,m.Z)(),_=f&&!(a&&n);if(!t||!n||t&&h)return(0,r.createElement)("div",null,function(e,t,n,r,a){const o=__("Start sharing your posts by connecting your social media accounts.","jetpack"),i=__("This post will be shared on all your enabled social media accounts the moment you publish the post.","jetpack");return t?r?n&&a?n&&a&&!e?i:__("Share this post on all your enabled social media accounts by clicking on the share post button.","jetpack"):__("Use this tool to share your post on all your social media accounts.","jetpack"):o:e?o:i}(t,n,_,E,w));const C=y?.product_name||__("paid","jetpack"),j=!(0,d.Ug)()&&!(0,d.Wp)(),S=j?__("Re-sharing your content","jetpack"):__("Share Your Content Again","jetpack",0),x=j?"https://jetpack.com/support/publicize/#re-sharing-your-content":"https://wordpress.com/support/publicize/#share-your-content-again",T=__("Upgrade now","jetpack");return h||a?(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("div",{className:"jetpack-publicize__upsell-description"},(0,i.sprintf)(
+(0,i.sprintf)(__("Error: %s","jetpack"),b))))}function v(e){let{tracks:t=[],onChange:n,guid:a}=e;const[o,i]=(0,r.useState)(null);return(0,r.createElement)(s.Dropdown,{contentClassName:"videopress-block-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,r.createElement)(s.ToolbarButton,{label:__("Text tracks","jetpack"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:h})},renderContent:()=>null!==o?(0,r.createElement)(b,{track:t[o],guid:a,onChange:e=>{const r=[...t];r[o]=e,n(r)},onClose:()=>i(null),onCancel:()=>{n(t.filter(((e,t)=>t!==o))),i(null)},trackExists:e=>-1!==t.filter(((e,t)=>t!==o)).findIndex((t=>t.kind===e.kind&&t.srcLang===e.srcLang))}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.NavigableMenu,null,(0,r.createElement)(g,{tracks:t,onChange:n,guid:a}),(0,r.createElement)(s.MenuGroup,{className:"videopress-block-tracks-editor__add-tracks-container",label:__("Add tracks","jetpack")},(0,r.createElement)(s.MenuItem,{icon:c.Z,onClick:()=>{(()=>{const e=t.length,r=[...t];r[e]||(r[e]={}),r[e]={...t[e]},n(r),i(e)})()}},__("Upload track","jetpack")))))})}},90953:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(96483);const a=(e,t)=>{let{autoplay:n,controls:a,loop:o,muted:i,playsinline:s,poster:l,preload:c,seekbarColor:u,seekbarPlayedColor:p,seekbarLoadingColor:d,useAverageColor:m}=t;if(!e)return null;const h={resizeToParent:!0,cover:!0,...n&&{autoPlay:!0},...!a&&{controls:!1},...o&&{loop:!0},...i&&{muted:!0,persistVolume:!1},...s&&{playsinline:!0},...l&&{posterUrl:l},..."none"!==c&&{preloadContent:c},...""!==u&&{sbc:u},...""!==p&&{sbpc:p},...""!==d&&{sblc:d},...m&&{useAverageColor:!0}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,h)}},77290:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(90879),a=n(65235),o=n.n(a);const i=e=>{const t=r.s.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1});return o()(e,t)};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return i(t);const a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;const s=a.body.querySelector("iframe");if(s&&s.height&&s.width){const e=(s.width/s.height).toFixed(2);for(let n=0;n<r.s.length;n++){const a=r.s[n];if(e>=a.ratio)return o()(i(t),a.className,"wp-has-aspect-ratio")}}return t}},50354:function(e,t,n){"use strict";n.d(t,{U:function(){return i},m:function(){return s}});var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i="mrec",s=[{height:250,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:__("Rectangle 300x250","jetpack"),tag:i,width:300,editorPadding:30},{height:90,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:__("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:__("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),(0,r.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:__("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}]},56565:function(e,t,n){"use strict";var r=n(69307),a=n(52175),o=n(55609),i=n(65736),s=n(1020);const __=i.__,l=e=>{let{value:t,onChange:n}=e;return(0,r.createElement)(o.PanelBody,{title:__("Visibility","jetpack")},(0,r.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:!!t,label:__("Hide on mobile","jetpack"),help:__("Hides this block for site visitors on mobile devices.","jetpack"),onChange:n}))};t.Z=e=>{let{attributes:{format:t,hideMobile:n},setAttributes:o}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,(0,r.createElement)(s.Z,{value:t,onChange:e=>o({format:e})})),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(l,{value:n,onChange:e=>o({hideMobile:!!e})})))}},53193:function(e,t,n){"use strict";var r=n(69307),a=n(56565),o=n(50354),i=n(72473),s=n(52203),l=n(38511),c=n(80405);t.Z=e=>{let{attributes:t,setAttributes:n}=e;const{format:u}=t,p=o.m.find((e=>{let{tag:t}=e;return t===u}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Z,{attributes:t,setAttributes:n}),(0,r.createElement)("div",{className:`wp-block-jetpack-wordads jetpack-wordads-${u}`},(0,r.createElement)("div",{className:"jetpack-wordads__ad",style:{width:p.width,height:p.height,backgroundImage:`url( ${(e=>{switch(e){case"leaderboard":return s;case"mobile_leaderboard":return l;case"wideskyscraper":return c;default:return i}})(u)} )`,backgroundSize:"cover"}})))}},1020:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(50354);const s=(0,a.__)("Pick an ad format","jetpack");function l(e){let{value:t,onChange:n}=e;return(0,r.createElement)(o.Dropdown,{position:"bottom right",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(o.ToolbarGroup,{controls:[{icon:(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:s,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:e=>{let{onClose:a}=e;return(0,r.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},i.m.map((e=>{let{tag:i,name:s,icon:l}=e;return(0,r.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:l,isSelected:i===t,key:i,onClick:()=>{n(i),a()},role:"menuitemcheckbox"},s)})))}})}},57795:function(e,t,n){"use strict";n.d(t,{Xd:function(){return d},u2:function(){return c}});var r=n(69307),a=n(65736),o=n(55609),i=n(53193),s=n(50354),l=n(70355);const __=a.__,_x=a._x,c="wordads",u=__("Ad","jetpack"),p=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,r.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),d={title:u,description:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,__("Earn income by adding high quality ads to your post","jetpack")),(0,r.createElement)(o.ExternalLink,{href:"https://wordads.co/"},__("Learn all about WordAds","jetpack"))),icon:{src:p,foreground:(0,l.m)()},attributes:{align:{type:"string",default:"center"},format:{type:"string",default:s.U},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"earn",keywords:[_x("ads","block search term","jetpack"),"WordAds",_x("advertisement","block search term","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:i.Z,save:()=>null}},6460:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"descript",title:"Descript",icon:o.h,keywords:[__("descript","jetpack")],description:__("Embed a Descript Item.","jetpack"),patterns:[/^https:\/\/share.descript.com\/(view|embed)\/\w+/i],attributes:{providerNameSlug:"descript",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},5166:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(70355);const __=a.__,_x=a._x,i={name:"facebook",title:"Facebook",icon:{src:"facebook",foreground:(0,o.m)()},keywords:[_x("social","block search term","jetpack")],description:__("Embed a Facebook post.","jetpack"),patterns:[/^https?:\/\/www\.facebook.com\/.+/i],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateFacebookEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations)return e;const n=e.variations.filter((e=>e.name!==i.name));return e.variations=[...n,i],e}))},36215:function(e,t,n){"use strict";n(5166),n(20970),n(25467),n(91128),n(6460)},20970:function(e,t,n){"use strict";var r=n(92694),a=n(65736),o=n(70355),i=n(12923);const __=a.__,_x=a._x,s={name:"instagram",title:"Instagram",icon:{src:"instagram",foreground:(0,o.m)()},keywords:[_x("image","block search term","jetpack"),_x("social","block search term","jetpack")],description:__("Embed an Instagram post.","jetpack"),patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i],attributes:{providerNameSlug:"instagram",responsive:!0}};(0,r.addFilter)("blocks.registerBlockType","reactivateInstagramEmbedBlockVariation",(function(e,t){if("core/embed"!==t||!e.variations||!(0,i.Z)())return e;const n=e.variations.filter((e=>e.name!==s.name));return e.variations=[...n,s],e}))},25467:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"loom",title:"Loom",icon:o.zf,keywords:[__("video","jetpack")],description:__("Embed a Loom video.","jetpack"),patterns:[/^https?:\/\/(www\.)?loom\.com\/share\/.+/i],attributes:{providerNameSlug:"loom",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},91128:function(e,t,n){"use strict";var r=n(4981),a=n(65736),o=n(81427);const __=a.__,i={name:"smartframe",title:"SmartFrame",icon:o.Ae,keywords:[__("smartframe","jetpack")],description:__("Embed a SmartFrame Image.","jetpack"),patterns:[/^https?:\/\/(.*?).smartframe.(io|net)\/.*/i],attributes:{providerNameSlug:"smartframe",responsive:!0}};(0,r.registerBlockVariation)("core/embed",i)},31657:function(e,t,n){"use strict";var r=n(92694),a=n(4981),o=n(6512);const i={from:[{type:"block",isMultiBlock:!1,blocks:["core/legacy-widget"],isMatch:e=>{let{idBase:t,instance:n}=e;return!(null==n||!n.raw)&&"jetpack_widget_social_icons"===t},transform:e=>{let{instance:t}=e,n=[];return t.raw.icons.forEach((e=>{const t=new URL(e.url.includes(":")?e.url:"https://"+e.url),r=t.hostname?t.hostname:t.protocol,i=o.Z.find((e=>r.includes(e.url)||e.url.includes(r))),s=(0,a.createBlock)("core/social-link",{service:i?i.name:"chain",url:e.url});n=[...n,s]})),(0,a.createBlock)("core/social-links",{},n)}}]};(0,r.addFilter)("blocks.registerBlockType","addTransformToSocialLinksWidget",(function(e,t){return"core/social-links"!==t||(e.transforms=i),e}))},6512:function(e,t){"use strict";t.Z=[{name:"wordpress",url:["wordpress."]},{name:"fivehundredpx",url:["500px.com"]},{name:"amazon",url:["amazon."]},{name:"bandcamp",url:["bandcamp.com"]},{name:"behance",url:["behance.net"]},{name:"codepen",url:["codepen.io"]},{name:"deviantart",url:["deviantart.com"]},{name:"dribbble",url:["dribbble.com"]},{name:"dropbox",url:["dropbox.com"]},{name:"etsy",url:["etsy.com"]},{name:"facebook",url:["facebook.com"]},{name:"flickr",url:["flickr.com"]},{name:"foursquare",url:["foursquare.com"]},{name:"goodreads",url:["goodreads.com"]},{name:"google",url:["google."]},{name:"github",url:["github.com"]},{name:"instagram",url:["instagram.com"]},{name:"lastfm",url:["last.fm"]},{name:"linkedin",url:["linkedin.com"]},{name:"mail",url:["mailto:"]},{name:"linkedin",url:["linkedin.com"]},{name:"mastodon",url:["mastodon.social"]},{name:"meetup",url:["meetup.com"]},{name:"medium",url:["medium.com"]},{name:"patreon",url:["patreon.com"]},{name:"pinterest",url:["pinterest."]},{name:"pocket",url:["getpocket.com"]},{name:"reddit",url:["reddit.com"]},{name:"skype",url:["skype.com","skype:"]},{name:"snapchat",url:["snapchat.com"]},{name:"soundcloud",url:["soundcloud.com"]},{name:"spotify",url:["spotify.com"]},{name:"telegram",url:["telegram.me","t.me"]},{name:"tiktok",url:["tiktok.com"]},{name:"tumblr",url:["tumblr.com"]},{name:"twitch",url:["twitch.tv"]},{name:"twitter",url:["twitter.com"]},{name:"vimeo",url:["vimeo.com"]},{name:"vk",url:["vk.com"]},{name:"yelp",url:["yelp.com"]},{name:"youtube",url:["youtube.com"]}]},87950:function(e,t,n){"use strict";n.d(t,{L:function(){return o},x:function(){return a}});var r=n(69307);const a=(0,r.createContext)(),o=e=>{let{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o,children:i}=e;return(0,r.createElement)(a.Provider,{value:{onBannerVisibilityChange:t,onChildBannerVisibilityChange:n,hasParentBanner:o},children:i})}},23984:function(e,t,n){"use strict";var r=n(92819),a=n(13419),o=n(47701),i=n.n(o),s=n(92694),l=n(65736),c=n(27003),u=n(42770),p=n(30371),d=n(7832);const __=l.__,m=[];(0,s.addFilter)("blocks.registerBlockType","jetpack/paid-block",((e,t)=>((0,a.X1)(t)&&(m.includes(t)||m.push(t),e.keywords=(0,r.uniq)([...e.keywords,"premium",__("premium","jetpack")]),(0,a.HD)(t)||(e.icon=(0,u.Z)(e.icon)),e.attributes.shouldDisplayFrontendBanner||(e.attributes.shouldDisplayFrontendBanner={type:"boolean",default:!0})),e))),(0,s.addFilter)("editor.BlockListBlock","jetpack/paid-block-with-warning",c.Z),(0,s.addFilter)("editor.MediaPlaceholder","jetpack/paid-block-media-placeholder",p.Z),(0,s.addFilter)("editor.MediaReplaceFlow","jetpack/paid-block-media-placeholder",d.Z),i()((function(){(0,a.FK)()&&document.body.classList.add("jetpack-enable-upgrade-nudge")}))},30371:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(52175),s=n(94333),l=n(13419),c=n(11317),u=n(87950);t.Z=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,i.useBlockEditContext)(),r=(0,l.m3)(n);if(null==r||!r.mediaPlaceholder||!(0,l.X1)(n))return(0,o.createElement)(e,t);const{fileType:s}=r,{onError:p}=t,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x),m=(0,o.useCallback)((e=>d((null==e?void 0:e.length)&&(0,c.Qu)(e[0],s))),[s,d]),h=(0,o.useCallback)((e=>{var t,n;const r=null==e||null===(t=e[0])||void 0===t||null===(n=t.props)||void 0===n?void 0:n.children;return(0,c.Qu)(r,s)?m([r]):p(e)}),[m,s,p]);return(0,o.createElement)("div",{className:"paid-block-media-placeholder"},(0,o.createElement)(e,a()({},t,{onFilesPreUpload:m,onError:h})))}),"withMediaPlaceholderUpgradable")},7832:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(13419),s=n(52175),l=n(94333),c=n(11317),u=n(87950);t.Z=(0,l.createHigherOrderComponent)((e=>t=>{const{name:n}=(0,s.useBlockEditContext)(),r=(0,i.m3)(n),l=(0,o.useRef)();if(null==r||!r.mediaReplaceFlow||!(0,i.X1)(n))return(0,o.createElement)(e,t);const{fileType:p}=r,{onBannerVisibilityChange:d}=(0,o.useContext)(u.x);return(0,o.createElement)(e,a()({},t,{onFilesUpload:e=>{l.current=null!=e&&e.length?e[0]:null,d((null==e?void 0:e.length)&&(0,c.Qu)(e[0],p))},createNotice:(e,n,r)=>{if((0,c.Qu)(l.current,p))return l.current=null,null;t.createNotice(e,n,r)}}))}),"withMediaReplaceFlowUpgradable")},95796:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{cx:t=23,cy:n=3,r:o=4,fill:i="#e34c84",stroke:s="#ffffff",strokeWidth:l="2"}=e;return(0,r.createElement)(a.Circle,{className:"jetpack-paid-block-symbol",cx:t,cy:n,r:o,fill:i,stroke:s,strokeWidth:l})}},42770:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(69307),a=n(13419),o=n(95796);const i=e=>{var t,n,a;return null!==(t=e)&&void 0!==t&&t.src?e={...e,src:(0,r.cloneElement)(e.src,{children:[e.src.props.children,(0,r.createElement)(o.Z,{key:"paid-symbol"})]})}:null!==(n=e)&&void 0!==n&&null!==(a=n.props)&&void 0!==a&&a.children&&(e=(0,r.cloneElement)(e,{children:[e.props.children,(0,r.createElement)(o.Z,{key:"paid-symbol"})]})),e};function s(e,t){return(0,a.X1)(e)?i(t):t}t.Z=i},66316:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(9818),i=n(78798),s=n(26546);const __=a.__,l=__("Premium Block","jetpack"),
+/** translators: %s: name of the plan. */
+c=__("Upgrade to %s to use this premium block","jetpack"),u=(__("Upgrade your plan to use this premium block","jetpack"),__("Upgrade","jetpack"));t.ZP=e=>{let{onRedirect:t,align:n,className:p,title:d=l,description:m=null,buttonText:h=u,visible:f=!0,requiredPlan:g,context:b}=e;const[v,k,y]=(0,i.Z)(g,t),E=(0,o.useSelect)((e=>{if(m)return m;const t=e("wordpress-com/plans"),n=t&&t.getPlan(g);return n?(0,a.sprintf)(c,n.product_name_short):null}),[m]);return E&&(0,r.createElement)(s.p,{align:n,buttonText:h,checkoutUrl:v,className:p,context:b,description:E,goToCheckoutPage:k,isRedirecting:y,title:d,visible:f})}},38140:function(e,t,n){"use strict";n.d(t,{W:function(){return o},v:function(){return a}});var r=n(84069);const a=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:t,block:n,context:a})},o=e=>{let{plan:t,blockName:n,context:a}=e;r.Z.tracks.recordEvent("jetpack_editor_block_upgrade_banner_impression",{plan:t,block:n,context:a})}},27003:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(13419),c=n(94333),u=n(9818),p=n(66316),d=n(87950),m=n(38140);t.Z=(0,c.createHigherOrderComponent)((e=>t=>{var n;const{name:r,className:i,clientId:c,isSelected:h,attributes:f,setAttributes:g}=t||{},{onChildBannerVisibilityChange:b,hasParentBanner:v}=(0,o.useContext)(d.x)||{},k=(0,l.Rl)(r);if(!k)return(0,o.createElement)(e,t);const y=(0,l.HD)(r),E=(0,l.m3)(r),[w,_]=(0,o.useState)(!y),[C,S]=(0,o.useState)(!1),[j,x]=(0,o.useState)(!1),P="editor-canvas",T=(0,u.useSelect)((e=>e("core/block-editor").hasSelectedInnerBlock(c,!0)),[]),N=(h||T)&&w&&!j,A=(0,o.useMemo)((()=>({plan:k,blockName:r,context:P})),[k,r,P]);(0,o.useEffect)((()=>{N&&S(!0)}),[N,S]),(0,o.useEffect)((()=>{!C&&N&&(0,m.W)(A)}),[C,A,N]),(0,o.useEffect)((()=>_(!y)),[f,_,y]),(0,o.useEffect)((()=>{g({shouldDisplayFrontendBanner:!v})}),[g,v]),(0,o.useEffect)((()=>{b&&b(N||j)}),[N,j,b]);const M=s()(i,{"is-upgradable":N});return(0,o.createElement)(d.L,{onBannerVisibilityChange:_,onChildBannerVisibilityChange:x,hasParentBanner:!0},(0,o.createElement)(p.ZP,{className:`is-${t.name.replace(/\//,"-")}-paid-block`,title:null,align:null==t||null===(n=t.attributes)||void 0===n?void 0:n.align,visible:N,description:null==E?void 0:E.description,requiredPlan:k,context:P,onRedirect:()=>(0,m.v)(A)}),(0,o.createElement)(e,a()({},t,{className:M})))}),"withUpgradeBanner")},29719:function(e,t,n){"use strict";n.d(t,{X:function(){return m},u:function(){return d}});var r=n(69307),a=n(26324),o=n(55609),i=n(72067),s=n(9818),l=n(12238),c=n(64967),u=n(65736),p=n(84069);const __=u.__,d="payments",m={render:()=>{const e=(0,a.Z)("wpcom-payments-donations");return"page"!==(0,s.useSelect)((e=>e(l.store).getCurrentPostType()),[])?null:(0,r.createElement)(i.PluginPostPublishPanel,{className:"jetpack-payments-post-publish-panel",title:__("Start accepting payments","jetpack"),initialOpen:!0,icon:c.Z},(0,r.createElement)("p",null,__("Insert the Payment Button or the Donations Form — no plugin required.","jetpack")),(0,r.createElement)("p",null,(0,r.createElement)(o.ExternalLink,{href:e,onClick:()=>{p.Z.tracks.recordEvent("jetpack_editor_payments_post_publish_click")}},__("Learn more about these blocks","jetpack"))))}}},69683:function(e,t,n){"use strict";n.d(t,{D:function(){return m}});var r=n(69307),a=n(9818),o=n(12238),i=n(55609),s=n(65736),l=n(49777),c=n(41141),u=n(65864),p=n(81427);const __=s.__;function d(){const e=(0,r.useRef)(),[t,n]=(0,r.useState)();(0,r.useEffect)((()=>{if(null==e||!e.current)return;const t=e.current.querySelector("svg");if(!t)return;const r=(new XMLSerializer).serializeToString(t);n(`data:image/svg+xml;base64,${window.btoa(r)}`)}),[e]);const i=(0,a.useSelect)((e=>e(o.store).getPermalink()),[]),{dataUrl:s}=(0,c.Z)({generateDataUrl:!0}),u=s||t;return(0,r.createElement)("div",{ref:e},(0,r.createElement)(l.Z,{value:i,size:300,imageSettings:u&&{src:u,width:64,height:64},renderAs:"canvas",level:"H"}),(0,r.createElement)(p.IM,{className:"qr-post-jetpack-logo",size:48,border:2}))}function m(){const e=(0,r.useRef)(),t=(0,a.useSelect)((e=>e(o.store).getEditedPostSlug()),[]),[n,s]=(0,r.useState)(!1),l=()=>s(!1);return(0,r.createElement)("div",{className:"qr-post-button"},(0,r.createElement)(i.Button,{isSecondary:!0,onClick:()=>s((e=>!e))},__("Get QR code","jetpack")),n&&(0,r.createElement)(i.Modal,{title:__("QR Post code","jetpack"),onRequestClose:l,className:"qr-post-modal"},(0,r.createElement)("div",{className:"qr-post-modal__qr-code",ref:e},(0,r.createElement)(d,null)),(0,r.createElement)("div",{className:"qr-post-modal__actions_buttons"},(0,r.createElement)(i.Button,{isSecondary:!0,onClick:()=>(0,u.N)(t,e)},__("Download","jetpack")),(0,r.createElement)(i.Button,{isSecondary:!0,onClick:l},__("Close","jetpack")))))}},41141:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9818),a=n(69307),o=n(37798),i=n(92694);function s(){let{generateDataUrl:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=(0,a.useState)(),{id:s,mediaItemData:l}=(0,r.useSelect)((e=>{const{canUser:t,getEntityRecord:n,getEditedEntityRecord:r}=e(o.store),a=r("root","site"),i=n("root","__unstableBase"),s=null==a?void 0:a.site_logo,l=null==i?void 0:i.site_logo,c=t("update","settings")?s:l,u=c&&e(o.store).getMedia(c,{context:"view"});return{id:c,mediaItemData:u&&{mediaId:u.id,url:u.source_url,alt:u.alt_text}}}),[]);if(!s||null==l||!l.url)return{};if(!e)return{id:s,...l};const c=new Image,u=(0,i.applyFilters)("media.crossOrigin",void 0,l.url);return"string"==typeof u&&(c.crossOrigin=u),c.onload=function(){const e=document.createElement("canvas"),t=e.getContext("2d");e.height=this.naturalHeight,e.width=this.naturalWidth,t.fillStyle="white",t.lineJoin="round",t.fillRect(0,0,e.width,e.height);const r=.08*e.width;t.drawImage(this,r,r,e.width-2*r,e.height-2*r);try{n(e.toDataURL("image/png"))}catch(e){console.warn("Error generating QR code extensions post-publish-qr-post-panel: ",e),console.warn("In case it's a cross-origin issue, take a look at https://developer.wordpress.org/block-editor/reference-guides/filters/editor-filters/#media-crossorigin"),n(null)}},c.src=l.url,{id:s,...l,dataUrl:t}}},30730:function(e,t,n){"use strict";n.d(t,{X:function(){return d},u:function(){return p}});var r=n(69307),a=n(55609),o=n(72067),i=n(65736),s=n(9818),l=n(12238),c=n(34613),u=n(69683);const __=i.__,p="post-publish-qr-post-panel",d={render:function(){const e={name:"post-publish-qr-post-panel",title:__("QR Code","jetpack"),className:"post-publish-qr-post-panel",icon:null,initialOpen:!0},t=(0,s.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);function n(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelRow,null,(0,r.createElement)("p",null,__("Take advantage of the QR code to open the post from different devices.","jetpack"))),(0,r.createElement)(u.D,null))}return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PluginPostPublishPanel,e,(0,r.createElement)(n,null)),t&&(0,r.createElement)(c.Z,null,(0,r.createElement)(a.PanelBody,e,(0,r.createElement)(n,null))))}}},65864:function(e,t,n){"use strict";function r(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return;if(null==t||!t.current)return;const r=t.current.querySelector("canvas");r&&r.toBlob((t=>{const r=URL.createObjectURL(t),a=document.createElement("a");a.href=r,a.setAttribute(n?"download":"target",`qr-post-${e}.png`),a.click()}))}n.d(t,{N:function(){return r}})},1393:function(e,t,n){"use strict";var r=n(69307),a=n(74356),o=n(65736),i=n(55609),s=n(12238),l=n(9818),c=n(42401),u=n(37271),p=n(18374);const __=o.__;t.Z=e=>{let{prePublish:t}=e;const{refresh:n,hasConnections:o,hasEnabledConnections:d}=(0,a.oL)(),m=(0,l.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),{isRePublicizeFeatureEnabled:h,isPublicizeEnabled:f,togglePublicizeFeature:g,isPublicizeDisabledBySitePlan:b,hideRePublicizeFeature:v}=(0,c.Z)(),k=f&&!b;(0,a.M1)((function(){d&&n()}),[d,n]);const y=b?i.Disabled:i.PanelRow,E=t?r.Fragment:i.PanelBody,w=t?{}:{title:__("Share this post","jetpack"),className:b?"jetpack-publicize-disabled":""};return(0,r.createElement)(E,w,(0,r.createElement)(p.Z,{isPostPublished:m}),!v&&(0,r.createElement)(r.Fragment,null,h&&!m&&(0,r.createElement)(y,null,(0,r.createElement)(i.ToggleControl,{className:"jetpack-publicize-toggle",label:k&&!b?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:g,checked:k,disabled:!o})),(0,r.createElement)(a.dZ,null),(0,r.createElement)(a.l0,{isPublicizeEnabled:k,isRePublicizeFeatureEnabled:h,isPublicizeDisabledBySitePlan:b}),k&&(0,r.createElement)(a.rP,{prePublish:t}),(0,r.createElement)(u.o,null)))}},37271:function(e,t,n){"use strict";n.d(t,{o:function(){return h}});var r=n(69307),a=n(65736),o=n(55609),i=n(9818),s=n(53961),l=n(12238),c=n(74356),u=n(31281),p=n(42401);const __=a.__;function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:__("Unable to share the Post","jetpack");const{createErrorNotice:t}=(0,i.dispatch)(s.store);t(e,{id:"publicize-post-share-message"})}function m(){const{hasEnabledConnections:e}=(0,c.oL)(),{isPublicizeEnabled:t}=(0,p.Z)(),{isFetching:n,isError:a,isSuccess:m,doPublicize:h}=(0,u.Z)(),f=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);(0,r.useEffect)((()=>{if(!n)return a?d():void(m&&function(){const{createSuccessNotice:e}=(0,i.dispatch)(s.store);e(__("Post shared","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[n,a,m]);const g=!t||!e||!f||n;return(0,r.createElement)(o.Button,{variant:"secondary",onClick:function(){if(!f)return d(__("You must publish your post before you can share it.","jetpack"));(0,i.dispatch)(s.store).removeNotice("publicize-post-share-message"),h()},disabled:g,isBusy:n},__("Share post","jetpack"))}function h(){const{isRePublicizeFeatureEnabled:e,isRePublicizeUpgradableViaUpsell:t}=(0,p.Z)(),n=(0,i.useSelect)((e=>e(l.store).isCurrentPostPublished()),[]);return e&&n?t?null:(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(m,null)):null}},18374:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(65235),o=n.n(a),i=n(13419),s=n(65736),l=n(55609),c=n(15381),u=n(74356),p=n(78798),d=n(42401);const __=s.__;function m(e){let{isPostPublished:t}=e;const{isRePublicizeFeatureEnabled:n,isRePublicizeUpgradableViaUpsell:a,isRePublicizeFeatureAvailable:m,isPublicizeEnabled:h}=(0,d.Z)(),f=(0,i.Rl)("republicize"),[g,b,v,k]=(0,p.Z)(f),{hasConnections:y,hasEnabledConnections:E}=(0,u.oL)(),w=h&&!(a&&n);if(!t||!n||t&&m)return(0,r.createElement)("div",null,function(e,t,n,r,a){const o=__("Start sharing your posts by connecting your social media accounts.","jetpack"),i=__("This post will be shared on all your enabled social media accounts the moment you publish the post.","jetpack");return t?r?n&&a?n&&a&&!e?i:__("Share this post on all your enabled social media accounts by clicking on the share post button.","jetpack"):__("Use this tool to share your post on all your social media accounts.","jetpack"):o:e?o:i}(t,n,w,y,E));const _=(null==k?void 0:k.product_name)||__("paid","jetpack"),C=!(0,i.Ug)()&&!(0,i.Wp)(),S=C?__("Re-sharing your content","jetpack"):__("Share Your Content Again","jetpack",0),j=C?"https://jetpack.com/support/publicize/#re-sharing-your-content":"https://wordpress.com/support/publicize/#share-your-content-again",x=__("Upgrade now","jetpack");return m||a?(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("div",{className:"jetpack-publicize__upsell-description"},(0,s.sprintf)(
/* translators: placeholder is the product name of the plan. */
-__("To re-share a post, you need to upgrade to the %s plan","jetpack"),C)),(0,r.createElement)(s.Button,{href:k?null:b,onClick:v,target:"_top",icon:l.Z,className:o()("jetpack-publicize__upsell-button is-primary",{"jetpack-upgrade-plan__hidden":!b}),isBusy:k},k?__("Redirecting…","jetpack"):T)):(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("strong",null,S),(0,r.createElement)("br",null),(0,i.sprintf)(
+__("To re-share a post, you need to upgrade to the %s plan","jetpack"),_)),(0,r.createElement)(l.Button,{href:v?null:g,onClick:b,target:"_top",icon:c.Z,className:o()("jetpack-publicize__upsell-button is-primary",{"jetpack-upgrade-plan__hidden":!g}),isBusy:v},v?__("Redirecting…","jetpack"):x)):(0,r.createElement)("div",{className:"jetpack-publicize__upsell"},(0,r.createElement)("strong",null,S),(0,r.createElement)("br",null),(0,s.sprintf)(
/* translators: placeholder is the product name of the plan. */
-__("This feature is for sites with a %s plan.","jetpack"),C),(0,r.createElement)("br",null),(0,r.createElement)(s.ExternalLink,{href:x},__("More information.","jetpack")))}},23731:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(9818),a=n(12238),o=n(21409),i=n(44298);const s="republicize";function l(){const{togglePublicizeFeature:e}=(0,r.useDispatch)("jetpack/publicize"),{available:t}=(0,o.Z)(s),n=(0,r.useSelect)((e=>e(a.store).isCurrentPostPublished()),[]),l=(0,r.useSelect)((e=>e("jetpack/publicize").getFeatureEnableState()),[]),c=!!window?.Jetpack_Editor_Initial_State.jetpack?.republicize_enabled,u=(0,i.X1)(s);return{isPublicizeEnabledMeta:l,isRePublicizeFeatureEnabled:c,isPublicizeEnabled:n&&!(u&&c)||l,togglePublicizeFeature:e,isPublicizeDisabledBySitePlan:c&&n&&u,isRePublicizeFeatureAvailable:t,isRePublicizeUpgradableViaUpsell:u,hideRePublicizeFeature:n&&!t&&!u&&c}}},20265:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(94333),a=n(12238),o=n(9818),i=n(69307);function s(e,t){const n=(0,o.useSelect)((e=>e(a.store).isPublishingPost()),[]),s=(0,r.usePrevious)(n);(0,i.useEffect)((()=>{s&&!n&&e()}),[n,s,e,t])}},90732:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(86989),a=n.n(r),o=n(9818),i=n(12238),s=n(69307),l=n(65736),c=n(47959),u=n(69423);const __=l.__;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 d(e){const{message:t}=(0,c.Z)(),{skippedConnections:n}=(0,u.Z)(),r=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]);e=e||r;const[l,d]=(0,s.useState)({data:[],error:{}}),m=(0,s.useCallback)((function(){const r={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(!l.isFetching)return d({...r,isFetching:!0}),a()({path:`/wpcom/v2/posts/${e}/publicize`,method:"POST",data:{message:t,skipped_connections:n}}).then((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=p(e);if(t)return d((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));d((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:e?.results,error:{}})))})).catch((e=>{d((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:p(e)})))})),function(){d(r)}}),[e,t,n,l.isFetching]);return{...l,doPublicize:m}}},69423:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9818);function a(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,r.useDispatch)("jetpack/publicize"),n=(0,r.useSelect)((e=>e("jetpack/publicize").getConnections()),[]),a=n.filter((e=>!e.enabled)).map((e=>e.id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:n&&n.some((e=>e.enabled)),skippedConnections:a,toggleById:t,refresh:e}}},47959:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9818),a=n(12238);function o(){const{editPost:e}=(0,r.useDispatch)(a.store),{message:t,maxLength:n}=(0,r.useSelect)((e=>({message:e("jetpack/publicize").getShareMessage(),maxLength:e("jetpack/publicize").getShareMessageMaxLength()})),[]);return{message:t,maxLength:n,updateMessage:function(t){e({meta:{jetpack_publicize_message:t}})}}}},72228:function(e,t,n){"use strict";n.d(t,{u:function(){return u},X:function(){return p}});var r=n(69307),a=n(65736),o=n(72067),i=n(12238),s=(n(64967),n(41093)),l=n(32673),c=n(8425);const __=a.__,u="publicize",p={render:()=>(0,r.createElement)(i.PostTypeSupportCheck,{supportKeys:"publicize"},(0,r.createElement)(s.ZP,null),(0,r.createElement)(l.Z,null,(0,r.createElement)(c.Z,null)),(0,r.createElement)(o.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:(0,r.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},__("Share this post","jetpack"))},(0,r.createElement)(c.Z,{prePublish:!0})))}},59213:function(e,t,n){"use strict";n.r(t),n.d(t,{refreshConnectionTestResults:function(){return a},toggleConnectionById:function(){return o},togglePublicizeFeature:function(){return i},fetchFromAPI:function(){return s},refreshTweets:function(){return l},setTweets:function(){return c},getTwitterCards:function(){return u},setTwitterCards:function(){return p}});var r=n(9818);function a(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function o(e){return{type:"TOGGLE_CONNECTION_BY_ID",connectionId:e}}function i(){return{type:"TOGGLE_PUBLICIZE_FEATURE"}}function s(e){return{type:"FETCH_FROM_API",path:e}}function l(){return{type:"REFRESH_TWEETS"}}function c(e){return{type:"SET_TWEETS",tweets:e}}function u(e){const{twitterCardIsCached:t}=(0,r.select)("jetpack/publicize");return{type:"GET_TWITTER_CARDS",urls:e.filter((e=>!t(e)))}}function p(e){return{type:"SET_TWITTER_CARDS",cards:e}}},39808:function(e,t,n){"use strict";var r=n(86989),a=n.n(r);t.Z={FETCH_FROM_API:e=>{let{path:t}=e;return a()({path:t})}}},94663:function(e,t,n){"use strict";var r=n(92819),a=n(86989),o=n.n(a),i=n(4981),s=n(9818),l=n(12238),c=n(41093);const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const{getSupportedBlockType:t}=(0,s.select)("jetpack/publicize");return(0,r.flatMap)(e,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(e.name)||e.name.startsWith("core-embed/")?e:c.H8.includes(e.name)?u(e.innerBlocks):[]}))};const p=(0,r.throttle)((async function(){const e=(0,s.select)("core/editor").getBlocks(),t=u(e);try{const e=await o()({path:"/wpcom/v2/tweetstorm/parse",data:{blocks:t.map((e=>({attributes:e.attributes,block:(0,i.serialize)(e),clientId:e.clientId})))},method:"POST"}),n=(0,r.flatMap)(e,(e=>e.urls));return(0,s.dispatch)("jetpack/publicize").getTwitterCards(n),(0,s.dispatch)("jetpack/publicize").setTweets(e)}catch(e){}}),2e3,{leading:!0,trailing:!0});t.ZP={REFRESH_CONNECTION_TEST_RESULTS:async function(){try{const e=await o()({path:"/wpcom/v2/publicize/connection-test-results"}),t=(0,s.select)("jetpack/publicize").getConnections(),n=e,r=[],a={done:!1,enabled:!0,toggleable:!0};for(const e of n){const n=t.find((t=>t.id===e.id)),{done:o,enabled:i,toggleable:s}=null!=n?n:a,l={display_name:e.display_name,service_name:e.service_name,id:e.id,profile_picture:e.profile_picture,done:o,enabled:i,toggleable:s};r.push(l)}return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:r})}catch(e){}},TOGGLE_CONNECTION_BY_ID:async function(e){let{connectionId:t}=e;const n=(0,s.select)("jetpack/publicize").getConnections().map((e=>({...e,enabled:e.id===t?!e.enabled:e.enabled})));return(0,s.dispatch)(l.store).editPost({jetpack_publicize_connections:n})},TOGGLE_PUBLICIZE_FEATURE:async function(){const e=(0,s.select)("jetpack/publicize").getFeatureEnableState();return(0,s.dispatch)(l.store).editPost({meta:{jetpack_publicize_feature_enabled:!e}})},REFRESH_TWEETS:p,GET_TWITTER_CARDS:async function(e){if(0===e.urls.length)return(0,s.dispatch)("jetpack/publicize").setTwitterCards([]);try{const t=await o()({path:"/wpcom/v2/tweetstorm/generate-cards",data:{urls:e.urls},method:"POST"});return(0,s.dispatch)("jetpack/publicize").setTwitterCards(t)}catch(e){}}}},64967:function(e,t,n){"use strict";var r=n(9818),a=n(59213),o=n(62016),i=n(49591),s=n(39808),l=n(44391);const c=(0,r.registerStore)("jetpack/publicize",{actions:a,controls:s.Z,reducer:l.Z,selectors:o});(0,i.Z)(c)},49591:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2601),a=n.n(r),o=n(92819),i=n(94663);function s(e){const t=[a()(i.ZP)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const s={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(s))),n=(0,o.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},44391:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={tweets:[],twitterCards:[]};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REFRESH_CONNECTION_TEST_RESULTS":case"TOGGLE_CONNECTION_BY_ID":case"TOGGLE_PUBLICIZE_FEATURE":return e;case"SET_TWEETS":return{...e,tweets:t.tweets};case"GET_TWITTER_CARDS":{const n={};return t.urls.forEach((e=>n[e]={error:"loading"})),{...e,twitterCards:{...e.twitterCards,...n}}}case"SET_TWITTER_CARDS":return{...e,twitterCards:{...e.twitterCards,...t.cards}}}return e}},62016:function(e,t,n){"use strict";n.r(t),n.d(t,{getFailedConnections:function(){return u},getMustReauthConnections:function(){return p},getTweetTemplate:function(){return d},getTweetStorm:function(){return m},getFirstTweet:function(){return h},getLastTweet:function(){return f},getSupportedBlockType:function(){return g},getTweetsForBlock:function(){return b},getTwitterCardForURLs:function(){return v},twitterCardIsCached:function(){return k},getShareMessage:function(){return y},getShareMessageMaxLength:function(){return E},isTweetStorm:function(){return w},getBoundariesForBlock:function(){return _},getBoundaryStyleSelectors:function(){return j},checkForTagsInContentAttributes:function(){return S},getPopoverWarnings:function(){return x},isSelectedTweetBoundary:function(){return T},contentAttributesChanged:function(){return N},getConnections:function(){return A},getFeatureEnableState:function(){return P}});var r=n(92819),a=n(19551),o=n(9818),i=n(65736),s=n(12238),l=n(41093);const __=i.__,c="\n\n"+__("A thread ⬇️","jetpack");function u(){return A().filter((e=>!1===e.test_success))}function p(){return A().filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function d(e){const t=(e.connections||A())?.find((e=>"twitter"===e.service_name));return{date:Date.now(),name:t?.profile_display_name||__("Account Name","jetpack"),profileImage:t?.profile_picture||"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:t?.display_name||""}}function m(e){const t=d(e),n=[h(e),...e.tweets.slice(0,100).map((n=>({...t,text:n.text,media:n.media,tweet:n.tweet,urls:n.urls,card:v(e,n.urls)})))];return n.length>1&&n.push(f(e)),n}function h(e){if(!(0,o.select)("core"))return;const t=d(e),{getMedia:n}=(0,o.select)("core"),{getEditedPostAttribute:r}=(0,o.select)("core/editor"),a=r("featured_media"),i=r("link"),s=a&&n(a),l=s?.media_details?.sizes?.large?.source_url||s?.source_url;return{...t,text:y()+` ${i}`,urls:[i],card:{title:r("title"),description:r("meta")?.advanced_seo_description||r("excerpt")||r("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack"),url:i,image:l,type:l?"summary_large_image":"summary"}}}function f(e){if(!(0,o.select)("core/editor"))return;const{getEditedPostAttribute:t}=(0,o.select)("core/editor"),n=t("link"),r=e.tweets.length>100?__("The rest of this thread can be read here:","jetpack"):__("This thread can be read here:","jetpack");return{...h(e),text:`${r} ${n}`}}function g(e,t){if(l.nE[t])return l.nE[t]}const b=(0,a.Z)(((e,t)=>e.tweets.filter((e=>!!e.blocks.find((e=>e.clientId===t))))),(e=>[e.tweets]));function v(e,t){if(t)return t.reduce(((t,n)=>t||(e.twitterCards[n]&&!e.twitterCards[n].error?{url:n,...e.twitterCards[n]}:void 0)),void 0)}function k(e,t){return!!e.twitterCards[t]}function y(){const{getEditedPostAttribute:e}=(0,o.select)("core/editor"),t=e("meta"),n=e("title"),a=(0,r.get)(t,["jetpack_publicize_message"],"");return a?a.substr(0,E()):w()&&n?n.substr(0,E())+c:""}function E(){return w()?255-c.length:255}function w(){return!!(0,o.select)("core/editor").getEditedPostAttribute("meta")?.jetpack_is_tweetstorm}const _=(0,a.Z)(((e,t)=>{if(!w())return[];const n=b(e,t);return n&&0!==n.length?n.filter((e=>e.boundary)).map((e=>e.boundary)):[]}),(e=>[e.tweets]));function C(e,t){if(`block-${t}`===e.id)return`#block-${t}`;const n=e.parentNode,r=Array.prototype.indexOf.call(n.children,e);return C(n,t)+` > :nth-child( ${r+1} )`}const j=(0,a.Z)(((e,t)=>{const n=_(e,t),r=document.getElementById(`block-${t}`);return n.filter((e=>"end-of-line"===e.type)).map((e=>{if(!r)return!1;const n=r.getElementsByTagName("li").item(e.line);return!!n&&C(n,t)})).filter((e=>!!e))}),(e=>[e.tweets]));function S(e,t,n){if(0===n.length)return!1;if(!g(0,t.name)?.contentAttributes)return!1;const r=new RegExp(`<(${n.join("|")})( |>|/>)`,"gi");return g(0,t.name).contentAttributes.reduce(((e,n)=>!!e||r.test(t.attributes[n])),!1)}const x=(0,a.Z)(((e,t)=>{const{isTyping:n,isDraggingBlocks:r,isMultiSelecting:a,hasMultiSelection:i,isCaretWithinFormattedText:s}=(0,o.select)("core/block-editor");if(!w())return[];if(n()||r()||a()||i()||s())return[];const c=[];return g(0,t.name)||l.H8[t.name]?("core/gallery"===t.name&&t.attributes.images.length>4&&c.push(__("Twitter displays the first four images.","jetpack")),S(0,t,["strong","bold","em","i","sup","sub","span","s"])&&c.push(__("Twitter removes all text formatting.","jetpack")),S(0,t,["a"])&&c.push(__("Links will be posted seperately.","jetpack"))):c.push(__("This block is not exportable to Twitter","jetpack")),c}),(e=>[e.tweets]));function T(e,t){const{isBlockSelected:n}=(0,o.select)("core/block-editor");if(!w())return!1;const r=g(0,t.name),a=b(e,t.clientId);if(!a||0===a.length)return!1;const i=a[a.length-1];return n(t.clientId)&&!r||i.blocks[i.blocks.length-1].clientId===t.clientId&&a.some((e=>e.blocks.some((e=>n(e.clientId)))))}function N(e,t,n){const a=g(0,n.name);if(!a)return!1;const o=a.contentAttributes;return!(0,r.isEqual)(o.map((e=>({attribute:e,content:t.attributes[e]}))),o.map((e=>({attribute:e,content:n.attributes[e]}))))}function A(){return(0,o.select)(s.store).getEditedPostAttribute("jetpack_publicize_connections")||[]}function P(){const{getEditedPostAttribute:e}=(0,o.select)(s.store),t=e("meta");return(0,r.get)(t,["jetpack_publicize_feature_enabled"],!0)}},60756:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(55609),o=n(65736),i=n(12238),s=n(9818),l=n(23539);const __=o.__;function c(e){let{checked:t,onChange:n}=e;return(0,r.createElement)(a.CheckboxControl,{label:__("Show sharing buttons.","jetpack"),checked:t,onChange:e=>{n({jetpack_sharing_enabled:e})}})}function u(){const e=(0,s.useSelect)((e=>e(i.store).getEditedPostAttribute("jetpack_sharing_enabled")),[]),{editPost:t}=(0,s.useDispatch)(i.store);return(0,r.createElement)(i.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},(0,r.createElement)(l.Z,null,(0,r.createElement)(c,{checked:e,onChange:t})))}},91994:function(e,t,n){"use strict";n.d(t,{u:function(){return a},X:function(){return o}});var r=n(60756);const a="sharing",o={render:r.Z}},71420:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(55609);const a=(0,r.withFallbackStyles)(((e,t)=>{const{textColor:n,backgroundColor:r}=t,a=r&&r.color,o=n&&n.color;return{fallbackBackgroundColor:a||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:o||!e?void 0:getComputedStyle(e).color}}))},6757:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(51591),s=n(58014);const __=o.__;(0,s.Wp)()||(0,s.Ug)()||(0,a.registerBlockCollection)("jetpack",{title:"Jetpack",icon:(0,r.createElement)(i.IM,null)}),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"earn"!==t})),{slug:"earn",title:__("Earn","jetpack"),icon:(0,r.createElement)(i.IM,null)}]),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"grow"!==t})),{slug:"grow",title:__("Grow","jetpack"),icon:(0,r.createElement)(i.IM,null)}])},87929:function(e,t,n){"use strict";function r(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function a(e){const{currentWindow:t}=r(e);return"editor-canvas"===t.name&&t.self!==t.top}function o(e){try{return!!e?.parent?.location.href}catch(e){return!1}}function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=[];if(!t||!e&&!e.length||!a(t))return i;const{currentDoc:s,currentWindow:l}=r(t);if(!o(l))return i;const c=l?.parent?.document;return s&&c?(i=e.filter((e=>{const t=c.querySelector(e),r=!!s.querySelector(e);return!(!t||r)&&(s.head.appendChild(t.cloneNode()),n&&t.remove(),!0)})),i):void 0}function s(e,t,n){const a=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:o}=r(n),i=o.getElementsByTagName("head")[0];e.forEach((e=>{const[n,r]=e.file.split("/").pop().split(".");if("css"===r){if(o.getElementById(e.id))return;const t=o.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${a}/${n}-${e.version}.${r}`,i.appendChild(t)}if("js"===r){const s=t[e.id]?t[e.id]:null;if(o.getElementById(e.id))return s();const l=o.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${a}/${n}-${e.version}.${r}`,l.onload=s,i.appendChild(l)}}))}function l(e,t){return new Promise((n=>{const r=()=>{e[t]?n(e[t]):e.requestAnimationFrame(r)};r()}))}n.d(t,{bL:function(){return r},DT:function(){return i},Pp:function(){return s},Dz:function(){return l}})},57535:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(27655),a=n(58014);const o=r.O["Jetpack Green 40"];function i(){return(0,a.Ug)()||(0,a.Wp)()?null:o}},98085:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(29512),a=n.n(r),o=n(92819);function i(e,t){const n=function(e,t){for(const n of new(a())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),r=(0,o.find)(e,{name:t});if(r)return r}return(0,o.find)(e,"isDefault")}(e,t);return n?n.name:null}},70609:function(e,t,n){"use strict";var r=n(27538),a=n.n(r),o=n(69307),i=n(65736),s=n(55609);const __=i.__,_x=i._x;class l extends o.Component{constructor(){super(...arguments),a()(this,"state",{hasCopied:!1}),a()(this,"onCopy",(()=>this.setState({hasCopied:!0}))),a()(this,"onFinishCopy",(()=>this.setState({hasCopied:!1}))),a()(this,"onFocus",(e=>e.target.select()))}render(){const{link:e}=this.props,{hasCopied:t}=this.state;return e?(0,o.createElement)("div",{className:"jetpack-clipboard-input"},(0,o.createElement)(s.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),(0,o.createElement)(s.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?__("Copied!","jetpack"):_x("Copy","verb","jetpack"))):null}}t.Z=l},68039:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r=/^#?[A-Fa-f0-9]{6}$/;function a(e){return r.test(e)}},92924:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(25158),s=n(15111);const __=o.__,l="undefined"!=typeof _wpmejsSettings?_wpmejsSettings:{};function c(e,t,n){const r=document.createElement("div");r.className=e;const a=document.createElement("button");return a.innerText=t,a.addEventListener("click",n),a.setAttribute("aria-label",t),a.setAttribute("title",t),r.appendChild(a),r}t.Z=function(e){let{trackSource:t,onPlay:n,onPause:o,onError:u,onTimeChange:p,onSkipForward:d,onJumpBack:m,currentTime:h,playStatus:f=s._5,onMetadataLoaded:g,loadWhenReady:b=!1,preload:v="metadata"}=e;const k=(0,r.useRef)(),y=()=>{k.current.play().catch((()=>{}))},E=()=>{k.current.pause(),(0,i.speak)(__("Paused","jetpack"),"assertive")};return(0,r.useEffect)((()=>{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&&e._setResponsiveMode()})}),[]),(0,r.useEffect)((()=>{const e=k.current;e.preload=v;const t=new MediaElementPlayer(e,{...l,success:()=>b&&e?.load()});if(m||d){const e=`${t.options.classPrefix}button ${t.options.classPrefix}jump-button`;if(m){const n=`${e} ${t.options.classPrefix}jump-backward-button`;t.addControlElement(c(n,__("Jump Back","jetpack"),m),"jumpBackwardButton")}if(d){const n=`${e} ${t.options.classPrefix}skip-forward-button`;t.addControlElement(c(n,__("Skip Forward","jetpack"),d),"skipForwardButton")}}return n&&e.addEventListener("play",n),o&&e.addEventListener("pause",o),u&&e.addEventListener("error",u),g&&e.addEventListener("loadedmetadata",g),()=>{t.remove(),n&&e.removeEventListener("play",n),o&&e.removeEventListener("pause",o),u&&e.removeEventListener("error",u),g&&e.removeEventListener("loadedmetadata",g)}}),[n,o,u,m,d,g,b,v]),(0,r.useEffect)((()=>{const[e,t]=!1===k.current?.paused?[s.Wp,E]:[s._5,y],n=(0,a.debounce)(t,100);return s.Vy!==f&&e!==f&&n(),()=>{n.cancel()}}),[k,f,t]),(0,r.useEffect)((()=>{if(!p)return;const e=k.current,t=(0,a.throttle)((e=>p(e)),1e3,{leading:!0,trailing:!1}),n=e=>t(e.target.currentTime);return p&&e?.addEventListener("timeupdate",n),()=>{t.cancel(),e?.removeEventListener("timeupdate",n)}}),[k,p]),(0,r.useEffect)((()=>{const e=k.current;h&&e&&Math.abs(Math.floor(h-e.currentTime))>1&&(e.currentTime=h)}),[k,h]),(0,r.createElement)("div",{className:"jetpack-audio-player"},(0,r.createElement)("audio",{src:t,ref:k}))}},62475:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(52175),l=n(37930);function c(e){let{blockName:t,buttonLabel:n,href:a,icon:c,onClick:u,subtitle:p,title:d,className:m}=e;const{autosaveAndRedirect:h}=(0,l.Z)(a);return(0,r.createElement)(s.Warning,{actions:a&&[(0,r.createElement)(i.Button,{href:a,onClick:e=>{e.preventDefault(),u(t),h(e)},target:"_top",isSecondary:!0,isLarge:!0},n)],className:o()(m,"jetpack-block-nudge wp-block")},(0,r.createElement)("span",{className:"jetpack-block-nudge__info"},c,(0,r.createElement)("span",{className:"jetpack-block-nudge__text-container"},(0,r.createElement)("span",{className:"jetpack-block-nudge__title"},d),p&&(0,r.createElement)("span",{className:"jetpack-block-nudge__message"},p))))}},72566:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(4981),l=n(52175),c=n(55609),u=n(9818),p=n(39630),d=n(65736);const __=d.__,m=e=>{let{attributes:t,styleOption:n,viewportWidth:a,blockName:o}=e;const i=(0,s.getBlockType)(o);return(0,r.createElement)(l.BlockPreview,{viewportWidth:a,blocks:(c=i.example?(0,s.getBlockFromExample)(o,{attributes:{...i.example.attributes,style:n.value},innerBlocks:i.example.innerBlocks}):(0,s.createBlock)(o,t),{...c,attributes:{...c.attributes,__isBlockPreview:!0}})});var c},h=r.memo?(0,r.memo)(m,((e,t)=>(0,i.isEqual)(e,t))):m;function f(e){let t,{attributes:n,clientId:a,styleOptions:i,onSelectStyle:s,activeStyle:d,viewportWidth:m,title:f}=e;return u.useSelect&&(t=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(a)}))),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.BlockControls,null,(0,r.createElement)(c.ToolbarGroup,{isCollapsed:!0,icon:"admin-appearance",label:__("Style","jetpack"),controls:i.map((e=>({title:e.label,isActive:e.value===d,onClick:()=>s({style:e.value})}))),popoverProps:{className:"jetpack-block-styles-selector-toolbar"}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:f||__("Styles","jetpack")},(0,r.createElement)("div",{className:"block-editor-block-styles jetpack-block-styles-selector"},i.map((e=>{const a={...n,style:e.value};return(0,r.createElement)("div",{key:e.value,className:o()("block-editor-block-styles__item",{"is-active":e.value===d}),onClick:()=>{s({style:e.value})},onKeyDown:t=>{p.ENTER!==t.keyCode&&p.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},(0,r.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.preview?e.preview:u.useSelect&&t&&(0,r.createElement)(h,{blockName:t.name,styleOption:e,attributes:a,viewportWidth:m})),(0,r.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))}))))))}},38205:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(55609);const s=i.NumberControl||i.__experimentalNumberControl||function(e){return(0,o.createElement)(i.TextControl,a()({type:"number",inputMode:"numeric"},e))};t.Z=s},43393:function(e,t,n){"use strict";var r=n(69307),a=n(35381),o=n.n(a),i=n(65736),s=n(11973),l=n(62475),c=n(2368);const __=i.__,u=e=>{let{blockName:t,url:n}=e;return(0,r.createElement)(l.Z,{className:"jetpack-stripe-nudge__banner",buttonLabel:__("Connect","jetpack"),icon:(0,r.createElement)(o(),{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:n,onClick:()=>{s.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t})},title:__("Connect to Stripe to use this block on your site","jetpack"),subtitle:__("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})};t.Z=e=>{let{blockName:t,postId:n,stripeConnectUrl:a}=e;const o=(0,c.Z)(n,a);return o?(0,r.createElement)(u,{blockName:t,url:o}):null}},19356:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=e=>{let{align:t,className:n,title:a,description:s,buttonText:l,visible:c=!0,context:u,checkoutUrl:p,goToCheckoutPage:d,isRedirecting:m=!1}=e;const h=o()(n,"jetpack-upgrade-plan-banner",{"wp-block":"editor-canvas"===u,"block-editor-block-list__block":"editor-canvas"===u,"jetpack-upgrade-plan__hidden":!c}),f=__("Redirecting…","jetpack");return(0,r.createElement)("div",{className:h,"data-align":t},(0,r.createElement)("div",{className:"jetpack-upgrade-plan-banner__wrapper"},a&&(0,r.createElement)("strong",{className:o()("banner-title",{[`${n}__title`]:n})},a),s&&(0,r.createElement)("span",{className:`${n}__description banner-description`},s),(0,r.createElement)(i.Button,{href:m?null:p,onClick:d,target:"_top",className:o()("is-primary",{"jetpack-upgrade-plan__hidden":!p}),isBusy:m},m?f:l)))}},13180:function(e,t,n){"use strict";var r=n(9818);const a={setPlans:e=>({type:"SET_PLANS",plans:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",url:e})};(0,r.registerStore)("wordpress-com/plans",{reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?t.plans:e},actions:a,selectors:{getPlan:(e,t)=>e.find((e=>e.product_slug===t))},controls:{FETCH_FROM_API(e){let{url:t}=e;return fetch(t).then((e=>e.json()))}},resolvers:{*getPlan(){const e=yield a.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");return a.setPlans(e)}}})},17882:function(e,t,n){"use strict";n.d(t,{ck:function(){return o},Xy:function(){return i},hj:function(){return s},vs:function(){return l},Vm:function(){return c}});var r=n(75139),a=n(92819);const o={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},i=Object.keys(o).map((e=>{const{symbol:t}=(0,r.X)(e);return{value:e,label:t===e?e:`${e} ${(0,a.trimEnd)(t,".")}`}}));function s(e){return o[e]}function l(e,t){return!isNaN(t)&&t>=s(e)}function c(e,t){return e?"number"==typeof e?e:(e=parseFloat(e.replace(new RegExp("\\"+r.M[t].grouping,"g"),"").replace(new RegExp("\\"+r.M[t].decimal,"g"),".")),isNaN(e)?null:e):null}},58703:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{label:t,onClick:n}=e;return(0,r.createElement)(a.Button,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},99418:function(e,t,n){"use strict";n.d(t,{iT:function(){return i},wk:function(){return s},oI:function(){return l},Tu:function(){return c},OG:function(){return u},tY:function(){return p},h9:function(){return d},CY:function(){return m},Wm:function(){return h},Qh:function(){return f},Bb:function(){return g},En:function(){return b},yD:function(){return v},QU:function(){return k},zs:function(){return y},l5:function(){return E}});var r=n(65736),a=n(69771),o=n(92819);const __=r.__,i="google_photos",s="pexels",l="recent",c="/",u=[{value:l,label:__("Photos","jetpack")},{value:c,label:__("Albums","jetpack")}],p=[{value:"",
+__("This feature is for sites with a %s plan.","jetpack"),_),(0,r.createElement)("br",null),(0,r.createElement)(l.ExternalLink,{href:j},__("More information.","jetpack")))}},42401:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9818),a=n(12238),o=n(13419);const i="republicize";function s(){var e,t;const{togglePublicizeFeature:n}=(0,r.useDispatch)("jetpack/publicize"),{available:s}=(0,o.OZ)(i),l=(0,r.useSelect)((e=>e(a.store).isCurrentPostPublished()),[]),c=(0,r.useSelect)((e=>e("jetpack/publicize").getFeatureEnableState()),[]),u=!(null===(e=window)||void 0===e||null===(t=e.Jetpack_Editor_Initial_State.jetpack)||void 0===t||!t.republicize_enabled),p=(0,o.X1)(i);return{isPublicizeEnabledMeta:c,isRePublicizeFeatureEnabled:u,isPublicizeEnabled:l&&!(p&&u)||c,togglePublicizeFeature:n,isPublicizeDisabledBySitePlan:u&&l&&p,isRePublicizeFeatureAvailable:s,isRePublicizeUpgradableViaUpsell:p,hideRePublicizeFeature:l&&!s&&!p&&u}}},31281:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(86989),a=n.n(r),o=n(9818),i=n(12238),s=n(69307),l=n(65736),c=n(74356);const __=l.__;function u(e){var t;const n=null==e?void 0:e.code,r=null==e||null===(t=e.errors)||void 0===t?void 0:t.length;if(!n&&!r)return!1;let a="";return n&&(a=__("Unable to share the Post","jetpack")),r&&(a=__("Unable to share the Post","jetpack")),{message:a,result:e}}function p(e){const{message:t}=(0,c.LJ)(),{skippedConnections:n}=(0,c.oL)(),r=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]);e=e||r;const[l,p]=(0,s.useState)({data:[],error:{}}),d=(0,s.useCallback)((function(){const r={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(!l.isFetching)return p({...r,isFetching:!0}),a()({path:`/wpcom/v2/posts/${e}/publicize`,method:"POST",data:{message:t,skipped_connections:n}}).then((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=u(e);if(t)return p((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));p((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:null==e?void 0:e.results,error:{}})))})).catch((e=>{p((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:u(e)})))})),function(){p(r)}}),[e,t,n,l.isFetching]);return{...l,doPublicize:d}}},71259:function(e,t,n){"use strict";n.d(t,{X:function(){return p},u:function(){return u}});var r=n(69307),a=n(74356),o=n(65736),i=n(72067),s=n(12238),l=n(34613),c=n(1393);const __=o.__,u="publicize",p={render:()=>(0,r.createElement)(s.PostTypeSupportCheck,{supportKeys:"publicize"},(0,r.createElement)(a.iS,null),(0,r.createElement)(l.Z,null,(0,r.createElement)(c.Z,null)),(0,r.createElement)(i.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:(0,r.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},__("Share this post","jetpack"))},(0,r.createElement)(c.Z,{prePublish:!0})))}},14166:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),a=n(55609),o=n(65736),i=n(12238),s=n(9818),l=n(8264);const __=o.__;function c(e){let{checked:t,onChange:n}=e;return(0,r.createElement)(a.CheckboxControl,{label:__("Show sharing buttons.","jetpack"),checked:t,onChange:e=>{n({jetpack_sharing_enabled:e})}})}function u(){const e=(0,s.useSelect)((e=>e(i.store).getEditedPostAttribute("jetpack_sharing_enabled")),[]),{editPost:t}=(0,s.useDispatch)(i.store);return(0,r.createElement)(i.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},(0,r.createElement)(l.Z,null,(0,r.createElement)(c,{checked:e,onChange:t})))}},3378:function(e,t,n){"use strict";n.d(t,{X:function(){return o},u:function(){return a}});var r=n(14166);const a="sharing",o={render:r.Z}},43718:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(55609);const a=(0,r.withFallbackStyles)(((e,t)=>{const{textColor:n,backgroundColor:r}=t,a=r&&r.color,o=n&&n.color;return{fallbackBackgroundColor:a||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:o||!e?void 0:getComputedStyle(e).color}}))},85921:function(e,t,n){"use strict";var r=n(69307),a=n(4981),o=n(65736),i=n(13419),s=n(81427);const __=o.__;(0,i.Wp)()||(0,i.Ug)()||(0,a.registerBlockCollection)("jetpack",{title:"Jetpack",icon:(0,r.createElement)(s.IM,null)}),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"earn"!==t})),{slug:"earn",title:__("Earn","jetpack"),icon:(0,r.createElement)(s.IM,null)}]),(0,a.setCategories)([...(0,a.getCategories)().filter((e=>{let{slug:t}=e;return"grow"!==t})),{slug:"grow",title:__("Grow","jetpack"),icon:(0,r.createElement)(s.IM,null)}])},85007:function(e,t,n){"use strict";function r(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function a(e){const{currentWindow:t}=r(e);return"editor-canvas"===t.name&&t.self!==t.top}function o(e){try{var t;return!(null==e||null===(t=e.parent)||void 0===t||!t.location.href)}catch(e){return!1}}function i(e,t){var n;let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=[];if(!t||!e&&!e.length||!a(t))return s;const{currentDoc:l,currentWindow:c}=r(t);if(!o(c))return s;const u=null==c||null===(n=c.parent)||void 0===n?void 0:n.document;return l&&u?(s=e.filter((e=>{const t=u.querySelector(e),n=!!l.querySelector(e);return!(!t||n)&&(l.head.appendChild(t.cloneNode()),i&&t.remove(),!0)})),s):void 0}function s(e,t,n){const a=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:o}=r(n),i=o.getElementsByTagName("head")[0];e.forEach((e=>{const[n,r]=e.file.split("/").pop().split(".");if("css"===r){if(o.getElementById(e.id))return;const t=o.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${a}/${n}-${e.version}.${r}`,i.appendChild(t)}if("js"===r){const s=t[e.id]?t[e.id]:null;if(o.getElementById(e.id))return s();const l=o.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${a}/${n}-${e.version}.${r}`,l.onload=s,i.appendChild(l)}}))}function l(e,t){return new Promise((n=>{const r=()=>{e[t]?n(e[t]):e.requestAnimationFrame(r)};r()}))}n.d(t,{DT:function(){return i},Dz:function(){return l},Pp:function(){return s},bL:function(){return r}})},70355:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(13419);const a=n(80550).O["Jetpack Green 40"];function o(){return(0,r.Ug)()||(0,r.Wp)()?null:a}},81518:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(29512),a=n.n(r),o=n(92819);function i(e,t){const n=function(e,t){for(const n of new(a())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),r=(0,o.find)(e,{name:t});if(r)return r}return(0,o.find)(e,"isDefault")}(e,t);return n?n.name:null}},26788:function(e,t,n){"use strict";var r=n(18294),a=n.n(r),o=n(69307),i=n(65736),s=n(55609);const __=i.__,_x=i._x;class l extends o.Component{constructor(){super(...arguments),a()(this,"state",{hasCopied:!1}),a()(this,"onCopy",(()=>this.setState({hasCopied:!0}))),a()(this,"onFinishCopy",(()=>this.setState({hasCopied:!1}))),a()(this,"onFocus",(e=>e.target.select()))}render(){const{link:e}=this.props,{hasCopied:t}=this.state;return e?(0,o.createElement)("div",{className:"jetpack-clipboard-input"},(0,o.createElement)(s.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),(0,o.createElement)(s.ClipboardButton,{variant:"secondary",onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?__("Copied!","jetpack"):_x("Copy","verb","jetpack"))):null}}t.Z=l},24381:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r=/^#?[A-Fa-f0-9]{6}$/;function a(e){return r.test(e)}},72752:function(e,t,n){"use strict";var r=n(69307),a=n(92819),o=n(65736),i=n(25158),s=n(97115);const __=o.__,l="undefined"!=typeof _wpmejsSettings?_wpmejsSettings:{};function c(e,t,n){const r=document.createElement("div");r.className=e;const a=document.createElement("button");return a.innerText=t,a.addEventListener("click",n),a.setAttribute("aria-label",t),a.setAttribute("title",t),r.appendChild(a),r}t.Z=function(e){let{trackSource:t,onPlay:n,onPause:o,onError:u,onTimeChange:p,onSkipForward:d,onJumpBack:m,currentTime:h,playStatus:f=s._5,onMetadataLoaded:g,loadWhenReady:b=!1,preload:v="metadata"}=e;const k=(0,r.useRef)(),y=()=>{k.current.play().catch((()=>{}))},E=()=>{k.current.pause(),(0,i.speak)(__("Paused","jetpack"),"assertive")};return(0,r.useEffect)((()=>{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&&e._setResponsiveMode()})}),[]),(0,r.useEffect)((()=>{const e=k.current;e.preload=v;const t=new MediaElementPlayer(e,{...l,success:()=>b&&(null==e?void 0:e.load())});if(m||d){const e=`${t.options.classPrefix}button ${t.options.classPrefix}jump-button`;if(m){const n=`${e} ${t.options.classPrefix}jump-backward-button`;t.addControlElement(c(n,__("Jump Back","jetpack"),m),"jumpBackwardButton")}if(d){const n=`${e} ${t.options.classPrefix}skip-forward-button`;t.addControlElement(c(n,__("Skip Forward","jetpack"),d),"skipForwardButton")}}return n&&e.addEventListener("play",n),o&&e.addEventListener("pause",o),u&&e.addEventListener("error",u),g&&e.addEventListener("loadedmetadata",g),()=>{t.remove(),n&&e.removeEventListener("play",n),o&&e.removeEventListener("pause",o),u&&e.removeEventListener("error",u),g&&e.removeEventListener("loadedmetadata",g)}}),[n,o,u,m,d,g,b,v]),(0,r.useEffect)((()=>{var e;const[t,n]=!1===(null===(e=k.current)||void 0===e?void 0:e.paused)?[s.Wp,E]:[s._5,y],r=(0,a.debounce)(n,100);return s.Vy!==f&&t!==f&&r(),()=>{r.cancel()}}),[k,f,t]),(0,r.useEffect)((()=>{if(!p)return;const e=k.current,t=(0,a.throttle)((e=>p(e)),1e3,{leading:!0,trailing:!1}),n=e=>t(e.target.currentTime);return p&&(null==e||e.addEventListener("timeupdate",n)),()=>{t.cancel(),null==e||e.removeEventListener("timeupdate",n)}}),[k,p]),(0,r.useEffect)((()=>{const e=k.current;h&&e&&Math.abs(Math.floor(h-e.currentTime))>1&&(e.currentTime=h)}),[k,h]),(0,r.createElement)("div",{className:"jetpack-audio-player"},(0,r.createElement)("audio",{src:t,ref:k}))}},44738:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(52175),l=n(46867);function c(e){let{blockName:t,buttonLabel:n,href:a,icon:c,onClick:u,subtitle:p,title:d,className:m}=e;const{autosaveAndRedirect:h}=(0,l.Z)(a);return(0,r.createElement)(s.Warning,{actions:a&&[(0,r.createElement)(i.Button,{href:a,onClick:e=>{e.preventDefault(),u(t),h(e)},target:"_top",variant:"secondary"},n)],className:o()(m,"jetpack-block-nudge wp-block")},(0,r.createElement)("span",{className:"jetpack-block-nudge__info"},c,(0,r.createElement)("span",{className:"jetpack-block-nudge__text-container"},(0,r.createElement)("span",{className:"jetpack-block-nudge__title"},d),p&&(0,r.createElement)("span",{className:"jetpack-block-nudge__message"},p))))}},57538:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(4981),l=n(52175),c=n(55609),u=n(9818),p=n(39630),d=n(65736);const __=d.__,m=e=>{let{attributes:t,styleOption:n,viewportWidth:a,blockName:o}=e;const i=(0,s.getBlockType)(o);return(0,r.createElement)(l.BlockPreview,{viewportWidth:a,blocks:(c=i.example?(0,s.getBlockFromExample)(o,{attributes:{...i.example.attributes,style:n.value},innerBlocks:i.example.innerBlocks}):(0,s.createBlock)(o,t),{...c,attributes:{...c.attributes,__isBlockPreview:!0}})});var c},h=r.memo?(0,r.memo)(m,((e,t)=>(0,i.isEqual)(e,t))):m;function f(e){let t,{attributes:n,clientId:a,styleOptions:i,onSelectStyle:s,activeStyle:d,viewportWidth:m,title:f}=e;return u.useSelect&&(t=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(a)}))),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.BlockControls,null,(0,r.createElement)(c.ToolbarGroup,{isCollapsed:!0,icon:"admin-appearance",label:__("Style","jetpack"),controls:i.map((e=>({title:e.label,isActive:e.value===d,onClick:()=>s({style:e.value})}))),popoverProps:{className:"jetpack-block-styles-selector-toolbar"}})),(0,r.createElement)(l.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:f||__("Styles","jetpack")},(0,r.createElement)("div",{className:"block-editor-block-styles jetpack-block-styles-selector"},i.map((e=>{const a={...n,style:e.value};return(0,r.createElement)("div",{key:e.value,className:o()("block-editor-block-styles__item",{"is-active":e.value===d}),onClick:()=>{s({style:e.value})},onKeyDown:t=>{p.ENTER!==t.keyCode&&p.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},(0,r.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.preview?e.preview:u.useSelect&&t&&(0,r.createElement)(h,{blockName:t.name,styleOption:e,attributes:a,viewportWidth:m})),(0,r.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))}))))))}},34904:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),a=n(91202);function o(e){let{children:t}=e;return(0,r.createElement)("div",{className:"jetpack-inspector-notice"},(0,r.createElement)("span",null,t),(0,r.createElement)(a.Z,{height:16,logoColor:"#1a1a1a",showText:!1}))}},20769:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(55609);const s=i.NumberControl||i.__experimentalNumberControl||function(e){return(0,o.createElement)(i.TextControl,a()({type:"number",inputMode:"numeric"},e))};t.Z=s},14436:function(e,t,n){"use strict";n.d(t,{Bn:function(){return o},DM:function(){return i},DW:function(){return a},mj:function(){return r}});const r=0,a=1,o="payment-plan",i="subscription"},68880:function(e,t,n){"use strict";n.d(t,{Q:function(){return i},a:function(){return o}});var r=n(69307),a=n(14436);const o=(0,r.createContext)({blockName:void 0,clientId:void 0,products:[],productType:a.Bn,selectedProductId:0,setSelectedProductId:()=>{}}),i=()=>(0,r.useContext)(o)},60386:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(69307),a=n(52175),o=n(9818),i=n(14436),s=n(68880),l=n(86102),c=n(16842),u=n(21200),p=n(2327),d=n(7652);function m(e){let{blockName:t,clientId:n,productType:m=i.Bn,selectedProductId:h=0,setSelectedProductId:f=(()=>{})}=e;const g=(0,o.useSelect)((e=>e(d.h).getProducts(m,h,f)),[]),{connectUrl:b,isApiConnected:v,isSelectedProductInvalid:k,shouldUpgrade:y}=(0,o.useSelect)((e=>{const{getConnectUrl:t,getShouldUpgrade:n,isApiStateConnected:r,isInvalidProduct:a}=e(d.h);return{connectUrl:t(),isApiConnected:r(),isSelectedProductInvalid:a(h),shouldUpgrade:n()}}));if(y&&!v)return null;const E={blockName:t,clientId:n,products:g,productType:m,selectedProductId:h,setSelectedProductId:f};return(0,r.createElement)(s.a.Provider,{value:E},!v&&!!b&&(0,r.createElement)(a.BlockControls,{__experimentalShareWithChildBlocks:!0,group:"block"},(0,r.createElement)(p.Z,{blockName:t,connectUrl:b})),v&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Z,null),(0,r.createElement)(c.Z,null)),v&&k&&(0,r.createElement)(u.Z,null))}},86102:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(69307),a=n(52175),o=n(55609),i=n(9818),s=n(65736),l=n(1078),c=n(14436),u=n(68880),p=n(51585),d=n(79162),m=n(7652);const __=s.__,h="1 month";function f(){const{productType:e,setSelectedProductId:t}=(0,u.Q)(),{shouldUpgrade:n,siteSlug:s}=(0,i.useSelect)((e=>{const{getShouldUpgrade:t,getSiteSlug:n}=e(m.h);return{shouldUpgrade:t(),siteSlug:n()}})),{saveProduct:f}=(0,i.useDispatch)(m.h),[g,b]=(0,r.useState)(c.mj),[v,k]=(0,r.useState)((0,p.l)("default new product title",e)),[y,E]=(0,r.useState)("USD"),[w,_]=(0,r.useState)(5),[C,S]=(0,r.useState)(h),[j,x]=(0,r.useState)(false),[P,T]=(0,r.useState)(false),N=[{label:__("Month","jetpack"),value:"1 month"},{label:__("Year","jetpack"),value:"1 year"},{label:__("One-Time Payment","jetpack"),value:"one-time"}];return(0,r.createElement)(a.InspectorControls,null,s&&(0,r.createElement)(o.PanelBody,null,(0,r.createElement)(o.ExternalLink,{href:`https://wordpress.com/earn/payments/${s}`},(0,p.l)("manage your products",e))),!n&&(0,r.createElement)(o.PanelBody,{title:(0,p.l)("add a new product",e),initialOpen:!0,className:"product-management-control-inspector__add-plan"},g===c.DW&&(0,r.createElement)(o.Placeholder,{icon:l.Z,label:(0,p.l)("saving product",e)},(0,r.createElement)(o.Spinner,null)),g===c.mj&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelRow,{className:"product-management-control-inspector__product-title"},(0,r.createElement)(o.TextControl,{id:"new-product-title",label:__("Name","jetpack"),onChange:e=>k(e),value:v})),(0,r.createElement)(o.PanelRow,{className:"product-management-control-inspector__product-price"},(0,r.createElement)(o.SelectControl,{label:__("Currency","jetpack"),onChange:e=>E(e),options:d.Xy,value:y}),(0,r.createElement)(o.TextControl,{label:__("Price","jetpack"),onChange:e=>_(e),type:"number",value:w})),(0,r.createElement)(o.PanelRow,{className:"plan-interval"},(0,r.createElement)(o.SelectControl,{label:__("Interval","jetpack"),onChange:e=>S(e),options:N,value:C})),(0,r.createElement)(o.PanelRow,{className:"donation-subscription"},(0,r.createElement)(o.ToggleControl,{label:(0,p.l)("mark this product as a donation",e),onChange:e=>x(e),checked:j})),(0,r.createElement)(o.PanelRow,{className:"custom-amount"},(0,r.createElement)(o.ToggleControl,{label:__("Enable customers to pick their own amount","jetpack"),onChange:e=>T(e),checked:P})),(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(o.ExternalLink,{href:"https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees"},__("Read more about Payments and related fees.","jetpack"))),(0,r.createElement)(o.PanelRow,null,(0,r.createElement)(o.Button,{onClick:n=>{n.preventDefault(),b(c.DW),f({title:v,currency:y,price:w,interval:C,type:j?"donation":null,buyer_can_change_amount:P,is_editable:!0},e,t,(t=>{if(b(c.mj),t){const t=(0,p.l)("default new product title",e);_(5),k(t),S(h),x(false),T(false),E("USD")}}))},variant:"secondary"},(0,p.l)("add product",e))))))}},21200:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(52175),o=n(61074),i=n(30797),s=n(68880),l=n(51585);function c(){const{productType:e}=(0,s.Q)();return(0,r.createElement)(a.Warning,{className:"product-management-control-nudge"},(0,r.createElement)("span",{className:"product-management-control-nudge__info"},(0,r.createElement)(o.Z,{icon:i.Z}),(0,r.createElement)("span",{className:"product-management-control-nudge__text-container"},(0,r.createElement)("span",{className:"product-management-control-nudge__title"},(0,l.l)("invalid product configured for this block",e)),(0,r.createElement)("span",{className:"product-management-control-nudge__message"},(0,l.l)("the button will be hidden from your visitors until you select a valid product",e)))))}},16842:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(69307),a=n(25607),o=n(52175),i=n(55609),s=n(9818),l=n(65736),c=n(79201),u=n(48381),p=n(30797),d=n(68880),m=n(60510),h=n(51585),f=n(7652),g=n(99307);const __=l.__;function b(e){const{currency:t,interval:n,price:r}=e,o=(0,a.ZP)(parseFloat(r),t);switch(n){case"1 month":return(0,l.sprintf)(// translators: %s: amount
+__("%s / month","jetpack"),o);case"1 year":return(0,l.sprintf)(// translators: %s: amount
+__("%s / year","jetpack"),o);case"one-time":return o}return(0,l.sprintf)(// translators: %s: amount, plan interval
+__("%1$s / %2$s","jetpack"),o,n)}function v(e){let{onClose:t,product:n}=e;const{selectedProductId:a,setSelectedProductId:o}=(0,d.Q)(),{id:s,title:l}=n,u=a&&a===s,p=u?c.Z:void 0,m=n?" "+b(n):null;return(0,r.createElement)(i.MenuItem,{icon:p,onClick:e=>{e.preventDefault(),o(s),t()},selected:u,value:s},l," : ",m)}function k(e){let{onClose:t}=e;const{clientId:n,productType:a}=(0,d.Q)(),o=(0,s.useSelect)((e=>e(f.h).getSiteSlug())),l=(0,m.Z)(n);if(g.BM===(0,g.j3)())return(0,r.createElement)(i.MenuItem,null,o&&(0,r.createElement)(i.ExternalLink,{href:`https://wordpress.com/earn/payments-plans/${o}`},(0,h.l)("add a new product",a)));return(0,r.createElement)(i.MenuItem,{onClick:e=>{e.preventDefault(),l(),setTimeout((()=>{const e=document.getElementById("new-product-title");null!==e&&e.focus()}),100),t()}},(0,h.l)("add a new product",a))}function y(){const{products:e,productType:t,selectedProductId:n}=(0,d.Q)(),{selectedProduct:a,shouldUpgrade:l}=(0,s.useSelect)((e=>{const{getProduct:t,getShouldUpgrade:r}=e(f.h);return{selectedProduct:t(n),shouldUpgrade:r()}}));let c=null,m=u.Z;return a&&(c=b(a)),n&&!a&&(c=(0,h.l)("product not found",t),m=p.Z),(0,r.createElement)(o.BlockControls,{__experimentalShareWithChildBlocks:!0,group:"block"},(0,r.createElement)(i.ToolbarDropdownMenu,{className:"product-management-control-toolbar__dropdown-button",icon:m,label:(0,h.l)("select a product",t),text:c},(t=>{let{onClose:n}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.MenuGroup,null,e.map((e=>(0,r.createElement)(v,{key:e.id,onClose:n,product:e})))),!l&&(0,r.createElement)(i.MenuGroup,null,(0,r.createElement)(k,{onClose:n})))})))}},60510:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(52175),a=n(72067),o=n(9818),i=n(99307);function s(e){const t=(0,i.j3)(),{selectBlock:n}=(0,o.useDispatch)(r.store),{enableComplementaryArea:s}=(0,o.useDispatch)("core/interface"),{closePublishSidebar:l}=(0,o.useDispatch)(a.store);return()=>{switch(e&&n(e),t){case i.fH:return s("core/edit-site","edit-site/block-inspector");case i.CG:return s("core/edit-widgets","edit-widgets/block-inspector");default:l(),s("core/edit-post","edit-post/block")}}}},51585:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(65736),a=n(14436);const __=r.__,o={"add a new product":{[a.Bn]:__("Add a new payment plan","jetpack"),[a.DM]:__("Add a new subscription","jetpack")},"product not found":{[a.Bn]:__("Payment plan not found","jetpack"),[a.DM]:__("Subscription not found","jetpack")},"select a product":{[a.Bn]:__("Select a payment plan","jetpack"),[a.DM]:__("Select a subscription","jetpack")},"default new product title":{[a.Bn]:__("Monthly Subscription","jetpack"),[a.DM]:__("Monthly Subscription","jetpack")},"manage your products":{[a.Bn]:__("Manage your payment plans.","jetpack"),[a.DM]:__("Manage your subscriptions.","jetpack")},"saving product":{[a.Bn]:__("Saving payment plan…","jetpack"),[a.DM]:__("Saving subscription…","jetpack")},"add product":{[a.Bn]:__("Add payment plan","jetpack"),[a.DM]:__("Add subscription","jetpack")},"product requires a name":{[a.Bn]:__("Payment plan requires a name","jetpack"),[a.DM]:__("Subscription requires a name","jetpack")},"product requires a valid price":{[a.Bn]:__("Payment plan requires a valid price","jetpack"),[a.DM]:__("Subscription requires a valid price","jetpack")},"successfully created product":{[a.Bn]:__("Successfully created payment plan","jetpack"),[a.DM]:__("Successfully created subscription","jetpack")},"there was an error when adding the product":{[a.Bn]:__("There was an error when adding the payment plan.","jetpack"),[a.DM]:__("There was an error when adding the subscription.","jetpack")},"invalid product configured for this block":{[a.Bn]:__("Invalid payment plan configured for this block.","jetpack"),[a.DM]:__("Invalid subscription configured for this block.","jetpack")},"the button will be hidden from your visitors until you select a valid product":{[a.Bn]:__("The button will be hidden from your visitors until you select a valid payment plan.","jetpack"),[a.DM]:__("The subscribe button will be hidden from your visitors until you select a valid subscription.","jetpack")},"mark this product as a donation":{[a.Bn]:__("Mark this payment plan as a donation","jetpack"),[a.DM]:__("Mark this subscription as a donation","jetpack")}};function i(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.Bn;return(null==o||null===(t=o[e])||void 0===t?void 0:t[n])||null}},2327:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),a=n(55609),o=n(65736),i=n(81427),s=n(46867),l=n(84069);const __=o.__;function c(e){let{blockName:t,connectUrl:n}=e;const{autosaveAndRedirect:o}=(0,s.Z)(n);return(0,r.createElement)(a.ToolbarButton,{className:"connect-stripe components-tab-button",icon:i.Pw,onClick:e=>{e.preventDefault(),l.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t}),o(e)}},__("Connect Stripe","jetpack"))}},16367:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(69307),a=n(89933),o=n(65736),i=n(9818),s=n(84069),l=n(44738),c=n(7652);const __=o.__,u=e=>{let{blockName:t}=e;const n=(0,i.select)(c.h),o=n.getConnectUrl();return n.getShouldUpgrade()||!o?null:(0,r.createElement)(l.Z,{className:"jetpack-stripe-nudge__banner",buttonLabel:__("Connect","jetpack"),icon:(0,r.createElement)(a.Z,{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:o,onClick:()=>s.Z.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:t}),title:__("Connect to Stripe to use this block on your site","jetpack"),subtitle:__("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})}},26546:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__,l=e=>{let{align:t,className:n,title:a,description:s,buttonText:l,visible:c=!0,context:u,checkoutUrl:p,goToCheckoutPage:d,isRedirecting:m=!1}=e;const h=o()(n,"jetpack-upgrade-plan-banner",{"wp-block":"editor-canvas"===u,"block-editor-block-list__block":"editor-canvas"===u,"jetpack-upgrade-plan__hidden":!c}),f=__("Redirecting…","jetpack");return(0,r.createElement)("div",{className:h,"data-align":t},(0,r.createElement)("div",{className:"jetpack-upgrade-plan-banner__wrapper"},a&&(0,r.createElement)("strong",{className:o()("banner-title",{[`${n}__title`]:n})},a),s&&(0,r.createElement)("span",{className:`${n}__description banner-description`},s),(0,r.createElement)(i.Button,{href:m?null:p,onClick:d,target:"_top",className:o()("is-primary",{"jetpack-upgrade-plan__hidden":!p}),isBusy:m},m?f:l)))}},87553:function(e,t,n){"use strict";var r=n(9818);const a={setPlans:e=>({type:"SET_PLANS",plans:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",url:e})};(0,r.registerStore)("wordpress-com/plans",{reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?t.plans:e},actions:a,selectors:{getPlan:(e,t)=>e.find((e=>e.product_slug===t))},controls:{FETCH_FROM_API(e){let{url:t}=e;return fetch(t).then((e=>e.json()))}},resolvers:{*getPlan(){const e=yield a.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");return a.setPlans(e)}}})},79162:function(e,t,n){"use strict";n.d(t,{Vm:function(){return c},Xy:function(){return i},ck:function(){return o},hj:function(){return s},vs:function(){return l}});var r=n(43317),a=n(92819);const o={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},i=Object.keys(o).map((e=>{const{symbol:t}=(0,r.X)(e);return{value:e,label:t===e?e:`${e} ${(0,a.trimEnd)(t,".")}`}}));function s(e){return o[e]}function l(e,t){return!isNaN(t)&&t>=s(e)}function c(e,t){return e?"number"==typeof e?e:(e=parseFloat(e.replace(new RegExp("\\"+r.M[t].grouping,"g"),"").replace(new RegExp("\\"+r.M[t].decimal,"g"),".")),isNaN(e)?null:e):null}},94545:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=e=>{let{label:t,onClick:n}=e;return(0,r.createElement)(a.Button,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},73905:function(e,t){"use strict";const n=new Map,r=e=>n.has(e);t.Z={acquire:e=>{if(r(e))return null;const t=Math.random();return n.set(e,t),[e,t]},blockExecution:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;for(;r(e);)await new Promise((e=>setTimeout(e,t)))},clearAll:()=>n.clear(),isLocked:r,release:e=>{const[t,a]=e;return!(!r(t)||n.get(t)!==a)&&(n.delete(t),!0)}}},20982:function(e,t,n){"use strict";n.d(t,{Bb:function(){return b},CY:function(){return h},Eh:function(){return s},En:function(){return v},OG:function(){return p},QU:function(){return y},Qh:function(){return g},Tu:function(){return u},Wm:function(){return f},h9:function(){return m},iT:function(){return i},l5:function(){return w},oI:function(){return c},tY:function(){return d},wk:function(){return l},yD:function(){return k},zs:function(){return E}});var r=n(65736),a=n(69771),o=n(92819);const __=r.__,i="google_photos",s="openverse",l="pexels",c="recent",u="/",p=[{value:c,label:__("Photos","jetpack")},{value:u,label:__("Albums","jetpack")}],d=[{value:"",
/* translators: category of images */
label:__("All categories","jetpack")},{value:"animals",
/* translators: category of images */
@@ -143,6 +144,7 @@ label:__("Sport","jetpack")},{value:"travel",
/* translators: category of images */
label:__("Travel","jetpack")},{value:"weddings",
/* translators: category of images */
-label:__("Weddings","jetpack")}],d=["mountain","ocean","river","clouds","pattern","abstract","sky"],m="ANY",h="LAST_7_DAYS",f="LAST_30_DAYS",g="LAST_6_MONTHS",b="LAST_12_MONTHS",v="CUSTOM",k=[{value:m,label:__("Any time","jetpack")},{value:h,label:__("Last 7 days","jetpack")},{value:f,label:__("Last 30 days","jetpack")},{value:g,label:__("Last 6 months","jetpack")},{value:b,label:__("Last 12 months","jetpack")},{value:v,label:__("Specific Month/Year","jetpack")}],y=(new Date).getFullYear(),E=[{label:__("Any Month","jetpack"),value:-1},...(0,o.map)((0,o.range)(0,12),(e=>({label:(0,a.dateI18n)("F",new Date(0,e)),value:e})))]},26634:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(92694),s=n(52175),l=n(63729),c=n(97294),u=n(34724);if((0,l.Z)()&&"function"==typeof s.useBlockEditContext){const e=e=>e.unstableFeaturedImageFlow||e.modalClass&&e.modalClass.indexOf("featured-image")>-1,t=(e,t)=>["core/cover","core/image","core/gallery","core/media-text","jetpack/image-compare","jetpack/slideshow","jetpack/story","jetpack/tiled-gallery"].indexOf(e)>-1&&-1===t.toString().indexOf("coblocks");(0,i.addFilter)("editor.MediaUpload","external-media/replace-media-upload",(n=>r=>{const{name:i}=(0,s.useBlockEditContext)();let{render:l}=r;if(t(i,l)||e(r)){const{allowedTypes:e,gallery:t=!1,value:n=[]}=r;e.indexOf("image")>-1&&!(t&&n.length>0)&&(l=e=>(0,o.createElement)(c.Z,a()({},e,{mediaProps:r})))}return(0,o.createElement)(n,a()({},r,{render:l}))}),100),(0,i.addFilter)("blocks.registerBlockType","external-media/individual-blocks",(function(e,t){return"core/image"!==t?e:{...e,keywords:[...e.keywords,...u.Dv.map((e=>e.keyword))]}}))}},6966:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(92819),s=n(55609),l=n(65736),c=n(39630),u=n(25432),p=n(9236);const __=l.__,d=(0,r.memo)((()=>(0,r.createElement)("div",{className:"jetpack-external-media-browser__empty"},(0,r.createElement)("p",null,__("Sorry, but nothing matched your search criteria.","jetpack")))));t.Z=function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,className:m,multiple:h,setPath:f,nextPage:g,onCopy:b}=e,[v,k]=(0,r.useState)([]),[y,E]=(0,r.useState)(-1),w=(0,r.useRef)(-1),_=(0,r.useRef)(null),C=(0,r.useCallback)((e=>{let t=[e];"folder"===e.type?f(e.ID):h?(t=v.slice(0,9).concat(e),v.find((t=>e.ID===t.ID))&&(t=v.filter((t=>t.ID!==e.ID)))):1===v.length&&e.ID===v[0].ID&&(t=[]),k(t)}),[v,h,f]),j=(0,r.useCallback)((()=>{b(v)}),[v,b]),S=t.filter((e=>"folder"!==e.type)).length>0,x=o()({"jetpack-external-media-browser__media":!0,"jetpack-external-media-browser__media__loading":a}),T=o()({"jetpack-external-media-browser":!0,[m]:!0}),N=()=>{let e=1;const t=_.current.children;if(t.length>0){const n=t[0].offsetTop;for(;e<t.length&&t[e].offsetTop===n;)++e}w.current=e},A=(0,i.debounce)(N,400);(0,r.useEffect)((()=>(window.addEventListener("resize",A),()=>{window.removeEventListener("resize",A)})),[]),(0,r.useEffect)((()=>{t.length&&-1===w.current&&N()}),[t]);const P=(e,t)=>{let{item:n}=t;C(n)},I=(e,n)=>{let{item:r,index:a}=n;[c.LEFT,c.RIGHT,c.UP,c.DOWN].includes(e.keyCode)?((e,n)=>{switch(e){case c.LEFT:n>=1&&E(n-1);break;case c.RIGHT:n<t.length&&E(n+1);break;case c.UP:n>=w.current&&E(n-w.current);break;case c.DOWN:n<t.length-w.current&&E(n+w.current)}})(e.keyCode,a):c.SPACE===e.keyCode?(C(r),e.preventDefault()):c.ENTER===e.keyCode&&C(r),[c.LEFT,c.RIGHT,c.UP,c.DOWN,c.SPACE,c.ENTER].includes(e.keyCode)&&e.stopPropagation()};return(0,r.createElement)("div",{className:T},(0,r.createElement)("ul",{ref:_,className:x},t.map(((e,t)=>(0,r.createElement)(p.Z,{item:e,index:t,key:e.ID,onClick:P,onKeyDown:I,focus:t===y,isSelected:v.find((t=>t.ID===e.ID)),isCopying:n}))),0===t.length&&!a&&(0,r.createElement)(d,null),a&&(0,r.createElement)(u.Z,null),l&&!a&&(0,r.createElement)(s.Button,{isSecondary:!0,className:"jetpack-external-media-browser__loadmore",disabled:a||n,onClick:()=>{t.length&&E(t.length),g()}},__("Load More","jetpack"))),S&&(0,r.createElement)((()=>{const e=0===v.length||n,t=n?__("Inserting…","jetpack"):__("Select","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__toolbar"},(0,r.createElement)(s.Button,{isPrimary:!0,isBusy:n,disabled:e,onClick:j},t))}),null))}},9236:function(e,t,n){"use strict";var r=n(69307),a=n(89105),o=n.n(a),i=n(55609),s=n(65736);const __=s.__;t.Z=function(e){const{item:t,focus:n,isSelected:a,isCopying:s=!1}=e,{thumbnails:l,caption:c,name:u,title:p,type:d,children:m=0}=t,{medium:h=null,fmt_hd:f=null}=l,g=p||c||u,b=o()({"jetpack-external-media-browser__media__item":!0,"jetpack-external-media-browser__media__item__selected":a,"jetpack-external-media-browser__media__folder":"folder"===d,"is-transient":s}),v=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n&&v.current.focus()}),[n]),(0,r.createElement)("li",{ref:v,className:b,onClick:s?void 0:t=>{const{item:n,index:r}=e;e.onClick&&e.onClick(t,{item:n,index:r})},onKeyDown:s?void 0:t=>{const{item:n,index:r}=e;e.onKeyDown&&e.onKeyDown(t,{item:n,index:r})},role:"checkbox",tabIndex:"0","aria-checked":!!a,"aria-disabled":!!s},a&&s&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator"},(0,r.createElement)(i.Spinner,null),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator__label"},__("Inserting Image…","jetpack"))),(0,r.createElement)("img",{src:h||f,alt:g}),"folder"===d&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__info"},(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__name"},u),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__count"},m)))}},25432:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.memo)((function(){const e="jetpack-external-media-browser__media__item jetpack-external-media-browser__media__placeholder";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}))}))},97294:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(34724),s=n(60133);const l=e=>e.unstableFeaturedImageFlow||e.modalClass&&-1!==e.modalClass.indexOf("featured-image"),c=e=>void 0===e.multiple&&!l(e);t.Z=function(e){const{mediaProps:t}=e,[n,r]=(0,o.useState)(null),u=(0,i.ZR)(n);return(0,o.createElement)("div",{onClick:e=>e.stopPropagation()},(0,o.createElement)(s.Z,a()({},e,{setSelectedSource:r,isReplace:c(t),isFeatured:l(t),hasImage:t.value>0})),u&&(0,o.createElement)(u,a()({onClose:e=>{e&&(e.stopPropagation(),e.target.closest(".jetpack-external-media-header__dropdown"))||r(null)}},t)))}},60133:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(35127),s=n(2562);const __=o.__;t.Z=function(e){const{mediaProps:t,open:n,setSelectedSource:o,isFeatured:l,isReplace:c,hasImage:u}=e,p=t.render;let d=l,m=!1,h=!l;if(c)return(0,r.createElement)(s.Z,{originalButton:p,open:n,setSource:o});let f=__("Select Image","jetpack");return t.multiple&&(f=__("Select Images","jetpack")),t.allowedTypes.length>1&&(f=__("Select Media","jetpack")),l&&(f=__("Replace Image","jetpack"),d=!1,h=!1,m=!0),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Dropdown,{position:"bottom right",contentClassName:"jetpack-external-media-button-menu__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;const o=p&&p({open:n});return l&&u||o&&"string"!=typeof o.props.children?o:(0,r.createElement)(a.Button,{isPrimary:d,isSecondary:m,isTertiary:h,className:"jetpack-external-media-button-menu","aria-haspopup":"true","aria-expanded":t,onClick:n},f)},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(a.NavigableMenu,{"aria-label":f},(0,r.createElement)(a.MenuGroup,null,(0,r.createElement)(a.MenuItem,{icon:i.Z,onClick:()=>{t(),n()}},__("Media Library","jetpack")),(0,r.createElement)(s.Z,{open:n,setSource:o,onClick:t})))}}))}},2562:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(34724);t.Z=function(e){let{originalButton:t=null,onClick:n=(()=>{}),open:i,setSource:s}=e;return(0,r.createElement)(r.Fragment,null,t&&t({open:i}),o.Dv.map((e=>{let{icon:t,id:o,label:i}=e;return(0,r.createElement)(a.MenuItem,{icon:t,key:o,onClick:()=>{n(),s(o)}},i)})))}},67236:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(96483);const a={list:"/wpcom/v2/external-media/list/",copy:(0,n(58014).Wp)()?"/rest/v1.1/external-media-upload?service=":"/wpcom/v2/external-media/copy/",connection:"/wpcom/v2/external-media/connection/"};function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a[e]?(0,r.addQueryArgs)(a[e]+t,n):null}},97416:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(51591);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.JO,null),(0,r.createElement)("p",null,__("To get started, connect your site to your Google Photos library.","jetpack")),(0,r.createElement)("p",null,__("You can remove the connection in either of these places:","jetpack")),(0,r.createElement)("ul",null,(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://myaccount.google.com/security"},__("Google Security page","jetpack"))),(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://wordpress.com/marketing/connections/"},__("WordPress.com Connections","jetpack")))))}))},75039:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)("p",null,__("Awaiting authorization","jetpack"))}))},72475:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(99418);const __=a.__;t.Z=(0,r.memo)((function(e){let{path:t,setPath:n}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Button,{isTertiary:!0,onClick:()=>n(i.Tu)},__("Albums","jetpack")),"→   ",t.name)}))},10365:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(99418),l=n(38205);const __=a.__;function c(e){let{value:t,updateFilter:n}=e;return(0,r.createElement)(o.SelectControl,{label:__("Category","jetpack"),value:t,options:s.tY,onChange:n})}function u(e){let{value:t,updateFilter:n}=e;const a=t?.range||s.CY,[i,c]=(0,r.useState)(-1),[u,p]=(0,r.useState)(s.zs);return(0,r.createElement)("div",{className:"jetpack-external-media-date-filter"},(0,r.createElement)(o.SelectControl,{label:__("Filter by time period","jetpack"),value:a,options:s.QU,onChange:e=>n({range:e})}),a===s.yD&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Month","jetpack"),value:i,options:s.l5,onChange:c}),(0,r.createElement)(l.Z,{className:"components-base-control",label:__("Year","jetpack"),value:u,min:1970,onChange:p}),(0,r.createElement)(o.Button,{isSecondary:!0,disabled:t?.month===i&&t?.year===u,onClick:()=>{n({range:a,month:i,year:u})}},__("Apply","jetpack"))))}function p(){return(0,r.createElement)("span",null,__("Favorites","jetpack"))}function d(e){let{value:t,updateFilter:n}=e;const a=[{label:__("All","jetpack"),value:""},{label:__("Images","jetpack"),value:"photo"},{label:__("Videos","jetpack"),value:"video"}];return(0,r.createElement)(o.SelectControl,{label:__("Type","jetpack"),value:t,options:a,onChange:n})}function m(e){let{children:t,removeFilter:n,isRemovable:a=!1}=e;return(0,r.createElement)("div",{className:"jetpack-external-media-googlephotos-filter"},t,!!a&&(0,r.createElement)(o.Button,{onClick:n,isSmall:!0},__("Remove Filter","jetpack")))}t.Z=function(e){let{filters:t,setFilters:n,canChangeMedia:a}=e;const o=Object.keys(t).filter((e=>a||"mediaType"!==e)).map((e=>{return(0,r.createElement)(m,{key:e,removeFilter:()=>n((0,i.omit)(t,e))},(a=e,o=t[e],s=r=>n(function(e,t,n){const r={...e,[t]:n};return"mediaType"===t&&"video"===n?delete r.category:"category"===t&&"video"===r.mediaType&&delete r.mediaType,r}(t,e,r)),"category"===a?(0,r.createElement)(c,{value:o,updateFilter:s}):"date"===a?(0,r.createElement)(u,{value:o,updateFilter:s}):"favorite"===a?(0,r.createElement)(p,{value:o}):"mediaType"===a?(0,r.createElement)(d,{value:o,updateFilter:s}):null));var a,o,s}));return 0===o.length?null:o}},50254:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(76292),a=n.n(r),o=n(99418);const i=a()();function s(e){const{mediaType:t,category:n,favorite:r,date:s}=e,l=[];if(t&&l.push("mediaType="+t),n&&"video"!==t&&l.push("categoryInclude="+n),void 0!==r&&l.push("feature=favorite"),s){let e=null,t=null;switch(s.range){case o.Wm:e=a()(i).subtract(7,"days"),t=i;break;case o.Qh:e=a()(i).subtract(30,"days"),t=i;break;case o.Bb:e=a()(i).subtract(6,"months"),t=i;break;case o.En:e=a()(i).subtract(1,"year"),t=i;break;case o.yD:const n=parseInt(s.month),r=parseInt(s.year);isNaN(n)||isNaN(r)||(-1===n?(e=a()([r,0]),t=a()(e).endOf("year")):(e=a()([r,n]),t=a()(e).endOf("month")))}const n=e?e.format("YYYY-MM-DD"):"0000-00-00",r=t?t.format("YYYY-MM-DD"):"0000-00-00";l.push(`dateRange=${n}:${r}`)}return l.length>0?l:null}},48389:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i=[{label:__("Category","jetpack"),value:"category"},{label:__("Date","jetpack"),value:"date"},{label:__("Favorites","jetpack"),value:"favorite"},{label:__("Media Type","jetpack"),value:"mediaType"}];function s(e){return i.filter((t=>void 0===e[t.value]))}function l(e){const t=s(e);return t.length>0?t[0].value:""}t.Z=function(e){const[t,n]=(0,r.useState)(l([])),{isLoading:a,isCopying:i,filters:c,canChangeMedia:u}=e,p=function(e,t){return t?e:e.filter((e=>"mediaType"!==e.value))}(s(c),u);return 0===p.length?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Filters","jetpack"),value:t,disabled:a||i,options:p,onChange:n}),(0,r.createElement)(o.Button,{disabled:a||i,isSecondary:!0,isSmall:!0,onClick:()=>{const r=(a=c,o=t,{...a,[o]:"favorite"===o||""});var a,o;e.setFilters(r),n(l(r))}},__("Add Filter","jetpack")))}},72461:function(e,t,n){"use strict";var r=n(69307),a=n(3308);t.Z=e=>{let{account:t,setAuthenticated:n}=e;const{image:o,name:i}=t||{};return(0,r.createElement)("div",{className:"jetpack-external-media-header__account"},(0,r.createElement)("div",{className:"jetpack-external-media-header__account-info"},o&&(0,r.createElement)("img",{className:"jetpack-external-media-header__account-image",src:o,alt:"",height:"18",width:"18"}),i&&(0,r.createElement)("div",{className:"jetpack-external-media-header__account-name"},i)),(0,r.createElement)(a.Z,{setAuthenticated:n}))}},17482:function(e,t,n){"use strict";var r=n(69307),a=n(39151),o=n(86989),i=n.n(o),s=n(65736),l=n(55609),c=n(99418),u=n(67236),p=n(97416),d=n(75039);const __=s.__;t.Z=function(e){const{setAuthenticated:t}=e,[n,o]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{o(!0),i()({path:(0,u.k)("connection",c.iT)}).then((e=>{if(e.error)throw e.message;(0,a.Z)(e.connect_URL,(()=>{o(!1),t(!0)}))})).catch((()=>{o(!1)}))}),[t]);return(0,r.createElement)("div",{className:"jetpack-external-media-auth"},n?(0,r.createElement)(d.Z,null):(0,r.createElement)(p.Z,null),(0,r.createElement)(l.Button,{isPrimary:!0,disabled:n,onClick:s},__("Connect to Google Photos","jetpack")))}},3308:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(67236),c=n(99418);const __=s.__;t.Z=e=>{let{setAuthenticated:t}=e;const[n,a]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{a(!0),o()({method:"DELETE",path:(0,l.k)("connection",c.iT)}).then((()=>t(!1))).catch((()=>a(!1)))}),[t]);return(0,r.createElement)(i.Button,{isSecondary:!0,className:"jetpack-external-media-browser__disconnect",onClick:s,disabled:n,isBusy:n},__("Disconnect from Google Photos","jetpack"))}},8910:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(99418),s=n(6966),l=n(67236),c=n(10365),u=n(48389),p=n(72461),d=n(72475),m=n(50254);const __=a.__;t.Z=function(e){const{account:t,allowedTypes:n,copyMedia:a,getMedia:h,isCopying:f,isLoading:g,media:b,multiple:v,onChangePath:k,pageHandle:y,path:E,setAuthenticated:w,showAdditionalFilters:_=!1}=e,C=(j=n)&&1===j.length&&"image"===j[0];var j;const[S,x]=(0,r.useState)(C?{mediaType:"photo",date:{range:i.CY}}:{date:{range:i.CY}}),T=(0,r.useRef)(""),N=(0,r.useRef)(""),A=E.ID===i.oI?(0,m.Z)(S):null,P={number:20,path:E.ID};A&&(P.filter=A);const I=(0,l.k)("list",i.iT,P),M=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(I,t)}),[h,I]),R=(0,r.useCallback)((e=>{const t=b.find((t=>t.ID===e));N.current=E,k(t||{ID:e})}),[b,k,N,E]),L=(0,r.useCallback)((e=>{a(e,(0,l.k)("copy",i.iT),i.iT)}),[a]);return(0,r.useEffect)((()=>{T!==I&&(T.current=I,M({},E!==N.current))}),[T,I,M,E]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__google"},(0,r.createElement)("div",{className:"jetpack-external-media-header__view"},(0,r.createElement)(o.SelectControl,{className:"jetpack-external-media-header__select",label:__("View","jetpack"),value:E.ID!==i.oI?i.Tu:i.oI,disabled:g||f,options:i.OG,onChange:R}),_&&E.ID===i.oI&&(0,r.createElement)(u.Z,{filters:S,isLoading:g,setFilters:x,canChangeMedia:!C}),(0,r.createElement)("div",{className:"jetpack-external-media-header__filter"},E.ID===i.oI&&(0,r.createElement)(c.Z,{filters:S,isLoading:g,setFilters:x,canChangeMedia:!C}),E.ID!==i.oI&&E.ID!==i.Tu&&(0,r.createElement)(d.Z,{path:E,setPath:R})),(!g||b.length>0)&&(0,r.createElement)(p.Z,{account:t,setAuthenticated:w})),(0,r.createElement)(s.Z,{className:"jetpack-external-media-browser__google",key:I,media:b,isCopying:f,isLoading:g,nextPage:M,onCopy:L,pageHandle:y,multiple:v,setPath:R}))}},5465:function(e,t,n){"use strict";var r=n(69307),a=n(37603),o=n(17482),i=n(8910);t.Z=(0,a.Z)()((function(e){return e.isAuthenticated?(0,r.createElement)(i.Z,e):(0,r.createElement)(o.Z,e)}))},34724:function(e,t,n){"use strict";n.d(t,{Dv:function(){return c},ZR:function(){return u}});var r=n(69307),a=n(65736),o=n(51591),i=n(5465),s=n(7500),l=n(99418);const __=a.__,c=[{id:l.iT,label:__("Google Photos","jetpack"),icon:(0,r.createElement)(o.He,{className:"components-menu-items__item-icon"}),keyword:"google photos"},{id:l.wk,label:__("Pexels Free Photos","jetpack"),icon:(0,r.createElement)(o.yk,{className:"components-menu-items__item-icon"}),keyword:"pexels"}];function u(e){return e===l.wk?s.Z:e===l.iT?i.Z:null}},7500:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(99418),l=n(37603),c=n(6966),u=n(67236);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.wk),s.wk)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.wk,{number:20,path:"recent",search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(!w.current)return;const e=Array.from(w.current.elements).find((e=>"search"===e.type));e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__pexels"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__pexels",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{isPrimary:!0,onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__pexels",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},37603:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(27538),a=n.n(r),o=n(69307),i=n(92819),s=n(89105),l=n.n(s),c=n(86989),u=n.n(c),p=n(94333),d=n(55609),m=n(65736),h=n(39630),f=n(9818),g=n(99418);const __=m.__;function b(){return(0,p.createHigherOrderComponent)((e=>{class t extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"contentRef",(e=>{e?(this.contentElement=e,this.modalElement=e.closest(".jetpack-external-media-browser"),this.modalElement&&this.modalElement.addEventListener("keydown",this.stopArrowKeysPropagation)):this.modalElement&&(this.modalElement.removeEventListener("keydown",this.stopArrowKeysPropagation),this.modalElement=null,this.contentElement=null)})),a()(this,"stopArrowKeysPropagation",(e=>{[h.UP,h.DOWN,h.LEFT,h.RIGHT].includes(e.keyCode)&&!e.target.classList.contains("jetpack-external-media-browser__media__item")&&e.stopPropagation()})),a()(this,"setAuthenticated",(e=>this.setState({isAuthenticated:e}))),a()(this,"getMedia",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.state.isLoading||(n&&t.props.noticeOperations.removeAllNotices(),t.setState({account:n?t.defaultAccount:t.state.account,isLoading:!0,media:n?[]:t.state.media,nextHandle:!n&&t.state.nextHandle},(()=>t.getMediaRequest(e))))})),a()(this,"handleApiError",(e=>{if("authorization_required"===e.code)return void this.setState({isAuthenticated:!1,isLoading:!1,isCopying:!1});e.errors?.length&&(e={code:e.errors[0].error,message:e.errors[0].message});const{noticeOperations:t}=this.props;t.createErrorNotice("internal_server_error"===e.code?"Internal server error":e.message),this.setState({isLoading:!1,isCopying:!1})})),a()(this,"getMediaRequest",(e=>{const{nextHandle:t,media:n}=this.state;if(!1===t&&n.length>0)return void this.setState({isLoading:!1});const r=this.getRequestUrl(e);this.setAuthenticated(!0),u()({path:r,method:"GET",parse:void 0===window.wpcomFetch}).then((e=>{this.setState({account:e.meta.account,media:this.mergeMedia(n,e.media),nextHandle:e.meta.next_page,isLoading:!1})})).catch(this.handleApiError)})),a()(this,"copyMedia",((e,t,n)=>{var r;this.setState({isCopying:e}),this.props.noticeOperations.removeAllNotices(),this.modalElement&&this.modalElement.focus(),u()({path:t,method:"POST",data:{external_ids:e.map((e=>e.guid)),media:e.map((e=>({guid:e.guid,caption:e.caption,title:e.title}))),service:n,post_id:null!==(r=this.props.postId)&&void 0!==r?r:0}}).then((e=>{e.media&&(e=e.media.map((e=>({alt:e.alt,caption:e.caption,id:e.ID,type:"image",url:e.URL}))));const{value:t,addToGallery:n,multiple:r}=this.props,a=r?e:e[0],o=e.find((e=>e.errors));if(o){const{errors:e}=o,t=Object.keys(e)[0];this.handleApiError({code:t,message:e[t]})}else this.props.onClose(),this.props.onSelect(n?t.concat(e):a)})).catch(this.handleApiError)})),a()(this,"onChangePath",((e,t)=>{this.setState({path:e},t)})),this.defaultAccount={image:"",name:""},this.state={account:this.defaultAccount,media:[],nextHandle:!1,isLoading:!1,isCopying:null,isAuthenticated:!0,path:{ID:g.oI}}}mergeMedia(e,t){return(0,i.uniqBy)(e.concat(t),"ID")}getRequestUrl(e){const{nextHandle:t}=this.state;return t?e+"&page_handle="+encodeURIComponent(t):e}render(){const{account:t,isAuthenticated:n,isCopying:r,isLoading:a,media:i,nextHandle:s,path:c}=this.state,{allowedTypes:u,multiple:p=!1,noticeUI:m,onClose:h}=this.props,f=r?__("Inserting media","jetpack"):__("Select media","jetpack",0),g=r?__("When the media is finished copying and inserting, you will be returned to the editor.","jetpack"):__("Select the media you would like to insert into the editor.","jetpack",0),b="jetpack-external-media-browser__description",v=l()({"jetpack-external-media-browser":!0,"jetpack-external-media-browser--is-copying":r});return(0,o.createElement)(d.Modal,{onRequestClose:h,title:f,aria:{describedby:b},className:v},(0,o.createElement)("div",{ref:this.contentRef},m,(0,o.createElement)("p",{id:b,className:"jetpack-external-media-browser--visually-hidden"},g),(0,o.createElement)(e,{account:t,getMedia:this.getMedia,copyMedia:this.copyMedia,isCopying:r,isLoading:a,media:i,pageHandle:s,allowedTypes:u,isAuthenticated:n,setAuthenticated:this.setAuthenticated,multiple:p,path:c,onChangePath:this.onChangePath})))}}return(0,f.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()})))((0,d.withNotices)(t))}))}},36745:function(e,t,n){"use strict";n.d(t,{Qu:function(){return i}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["allowedMimeTypes"],[])}function i(e,t){if(!e||!t)return!1;if(!o())return!1;const n=(a=t)?(0,r.pickBy)(o(),(e=>(0,r.startsWith)(e,`${a}/`))):{};var a;const i=(s=n)?(0,r.flatten)((0,r.map)((0,r.keys)(s),(e=>e.split("|")))):[];var s;if("string"==typeof e){const t=e.split(".").pop();return t&&i.includes(t)}return"object"==typeof e&&(e.type&&(0,r.values)(n).includes(e.type))}},20510:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){const e=(0,r.getCategories)();for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];for(const t of n)if(e.some((e=>{let{slug:n}=e;return n===t})))return t;throw new Error(`Could not find a category from the provided list: ${n.join(",")}`)}},2368:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(96483);function a(e,t){if(!(0,r.isURL)(t))return null;let n=t;try{const a=(0,r.getQueryArg)(t,"state"),o=JSON.parse(atob(a));if(e)o.from_editor_post_id=e;else{const e=new URLSearchParams(window.location.search);o.from_site_editor_post_id=e.get("postId"),o.from_site_editor_post_type=e.get("postType")}n=(0,r.addQueryArgs)(t,{state:btoa(JSON.stringify(o))})}catch(e){0}return n}},47583:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819);function a(){return(0,r.get)("object"==typeof window?window:null,["Jetpack_Editor_Initial_State"],null)}},21409:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(e){const t=(0,a.Z)(),n=(0,r.get)(t,["available_blocks",e,"available"],!1),o=(0,r.get)(t,["available_blocks",e,"unavailable_reason"],"unknown"),i=(0,r.get)(t,["available_blocks",e,"details"],[]);return{available:n,...!n&&{details:i,unavailableReason:o}}}},4235:function(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,{Z:function(){return r}})},14087:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(92819);const a=(e,t)=>(0,r.reduce)(t,((t,n,r)=>{if(void 0===e[r])return t;const{type:a,validator:o,validValues:i,default:s}=e[r];return t[r]="boolean"===a?"false"!==n&&!!n:o?o(n)?n:s:i?i.includes(n)?n:s:n,t}),{})},22985:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(89105),s=n.n(i),l=n(20651),c=n.n(l);t.Z=e=>{let{children:t=null,isError:n=!1,...r}=e;const i=s()("help-message",{"help-message-is-error":n});return t&&(0,o.createElement)("div",a()({className:i},r),n&&(0,o.createElement)(c(),{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),(0,o.createElement)("span",null,t))}},51591:function(e,t,n){"use strict";n.d(t,{He:function(){return d},yk:function(){return m},JO:function(){return h},IM:function(){return f},zf:function(){return E},Ae:function(){return w},K9:function(){return _},av:function(){return C},Pw:function(){return j}});var r=n(29183),a=n.n(r),o=n(69307),i=n(55609),s=n(89105),l=n.n(s),c=n(27655),u=n(57535);const p=c.O["Jetpack Green 40"],d=e=>(0,o.createElement)(i.SVG,a()({height:"24",width:"24",viewBox:"1.2 10.8 169.6 169.6",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.Path,{d:"m43.6 49.4c23.4 0 42.4 19 42.4 42.4v3.9h-80.9c-2.1 0-3.8-1.7-3.9-3.9 0-23.4 19-42.4 42.4-42.4z",fill:"#f6bc04"}),(0,o.createElement)(i.Path,{d:"m132.2 53.2c0 23.4-19 42.4-42.4 42.4h-3.8v-80.9c0-2.1 1.7-3.9 3.8-3.9 23.5 0 42.4 19 42.4 42.4z",fill:"#ea4335"}),(0,o.createElement)(i.Path,{d:"m128.4 141.9c-23.4 0-42.4-19-42.4-42.4v-3.9h80.9c2.1 0 3.9 1.7 3.9 3.8 0 23.5-19 42.5-42.4 42.5z",fill:"#4285f4"}),(0,o.createElement)(i.Path,{d:"m39.8 138c0-23.4 19-42.4 42.4-42.4h3.8v80.9c0 2.1-1.7 3.8-3.9 3.9-23.4 0-42.3-19-42.3-42.4z",fill:"#34a853"})),m=e=>(0,o.createElement)(i.SVG,a()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),(0,o.createElement)(i.Path,{d:"M14 7H9v10h3.9v-3.8H14c1.7 0 3.1-1.4 3.1-3.1C17.2 8.4 15.8 7 14 7z"}),(0,o.createElement)(i.Path,{d:"M20.5 2h-17C2.7 2 2 2.7 2 3.5v17c0 .8.7 1.5 1.5 1.5h17c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5zm-5.6 13.2V19H7V5h7c2.8 0 5.1 2.3 5.1 5.1.1 2.5-1.8 4.7-4.2 5.1z"})),h=()=>{const e="#757575";return(0,o.createElement)(i.SVG,{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/SVG",x:"0px",y:"0px",viewBox:"0 0 1292 448",style:{enableBackground:"new 0 0 1292 448"}},(0,o.createElement)(i.G,{id:"Icon"},(0,o.createElement)(i.Path,{class:"st0",fill:"#F6B704",d:"M171.6,177.4c23.4,0,42.4,19,42.4,42.4v3.9h-80.9c-2.1,0-3.8-1.7-3.9-3.9C129.2,196.4,148.2,177.4,171.6,177.4 C171.6,177.4,171.6,177.4,171.6,177.4z"}),(0,o.createElement)(i.Path,{class:"st1",fill:"#E54335",d:"M260.2,181.2c0,23.4-19,42.4-42.4,42.4H214v-80.9c0-2.1,1.7-3.9,3.8-3.9h0 C241.3,138.8,260.2,157.8,260.2,181.2C260.2,181.2,260.2,181.2,260.2,181.2z"}),(0,o.createElement)(i.Path,{class:"st2",fill:"#4280EF",d:"M256.4,269.9c-23.4,0-42.4-19-42.4-42.4v-3.9h80.9c2.1,0,3.9,1.7,3.9,3.8v0 C298.8,250.9,279.8,269.9,256.4,269.9C256.4,269.9,256.4,269.9,256.4,269.9z"}),(0,o.createElement)(i.Path,{class:"st3",fill:"#34A353",d:"M167.8,266c0-23.4,19-42.4,42.4-42.4c0,0,0,0,0,0h3.9v80.9c0,2.1-1.7,3.8-3.9,3.9 C186.7,308.4,167.8,289.4,167.8,266z"})),(0,o.createElement)(i.G,{id:"Photos"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M796,272v-91.6h31.2c15.2,0,28.7,11.3,28.7,27.3s-13.4,27.3-28.7,27.3h-19.4V272H796z M827.5,223.6 c8.8,0,16-7.2,16-16s-7.2-16-16-16h-19.7v32H827.5z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M875.8,209.3l-0.5,8.7h0.5c3.3-5.8,11.3-10.8,19.8-10.8c16,0,23.9,10.9,23.9,26.4V272h-11.8v-36.6 c0-13-6.5-17.4-15.5-17.4c-10.2,0-16.5,9.7-16.5,19.3V272H864v-91.6h11.8V209.3z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M993.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4S993.8,221.6,993.8,240.6z M982,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S982,255,982,240.6L982,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1008,252.9V220h-11v-10.7h11v-19.2h11.8v19.2h15.3V220h-15.3v32c0,7,2.9,10.2,8.4,10.2c1.8,0.1,3.7-0.3,5.4-1 l4.1,10.1c-3,1.2-6.2,1.8-9.5,1.7C1015,273,1008,265.7,1008,252.9z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1105.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4 S1105.8,221.6,1105.8,240.6z M1094,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S1094,255,1094,240.6 L1094,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1111,256.1l10.5-4.4c3.3,7.9,9.5,11.8,17,11.8c7.3,0,12.5-3.6,12.5-8.8c0-3.2-1.9-6.6-8.6-8.3l-12.7-3.1 c-5.8-1.4-16.8-6.4-16.8-17.4c0-11.4,11.8-18.7,24.8-18.7c10.9,0,20.3,5,24.2,14.6l-10.2,4.2c-2.4-5.9-8.2-8.3-14.3-8.3 c-6.7,0-12.4,3-12.4,8.1c0,4,3.3,6.1,8.3,7.3l12.4,2.9c12.4,2.9,17.3,10.6,17.3,18.3c0,11.1-10,19.7-24.7,19.7 C1123.2,274,1114.7,265.1,1111,256.1z"})),(0,o.createElement)(i.G,{id:"Google"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M348.7,221.6c0-28.9,24.3-52.5,53.2-52.5c13.5-0.2,26.4,5,36,14.5l-10.1,10.1c-6.9-6.7-16.2-10.4-25.9-10.2 c-21.1,0-37.6,17-37.6,38.2s16.5,38.1,37.6,38.1c13.7,0,21.5-5.5,26.5-10.5c4.1-4.1,6.8-10,7.8-18H402v-14.4h48.3 c0.5,3,0.8,6,0.8,9c0,10.8-2.9,24.1-12.4,33.5c-9.2,9.6-21,14.7-36.6,14.7C373,274,348.7,250.5,348.7,221.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M490,206.5c-18.7,0-33.9,14.2-33.9,33.8S471.3,274,490,274s33.9-14.3,33.9-33.8S508.7,206.5,490,206.5z M490,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S500.2,260.7,490,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M564,206.5c-18.7,0-33.9,14.2-33.9,33.8S545.3,274,564,274s33.9-14.3,33.9-33.8S582.7,206.5,564,206.5z M564,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S574.2,260.7,564,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M654.8,208.5v5.5h-0.5c-3.3-4-9.7-7.6-17.8-7.6c-16.9,0-32.4,14.9-32.4,33.9s15.5,33.7,32.4,33.7 c8.1,0,14.5-3.6,17.8-7.7h0.5v4.9c0,12.9-6.9,19.8-18,19.8c-9.1,0-14.7-6.5-17-12l-12.9,5.4c5,12.1,16.8,20.1,30,20 c17.4,0,32.1-10.2,32.1-35.2v-60.7H654.8z M637.8,260.7c-10.2,0-18.8-8.6-18.8-20.4s8.6-20.6,18.8-20.6s18,8.7,18,20.6 S647.9,260.7,637.8,260.7L637.8,260.7z"}),(0,o.createElement)(i.Rect,{x:"679.2",y:"172.7",class:"st4",fill:e,width:"14.8",height:"99.3"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M734.7,260.7c-7.6,0-12.9-3.5-16.4-10.2l45.2-18.7L762,228c-2.8-7.6-11.4-21.5-28.9-21.5s-31.9,13.7-31.9,33.8 c0,19,14.3,33.8,33.5,33.8c11.3,0.1,21.9-5.6,28.2-15l-11.5-7.7C747.5,257,742.3,260.7,734.7,260.7z M733.6,219.5 c5.9,0,10.9,2.9,12.5,7.2l-30.2,12.5C715.5,226.2,726,219.5,733.6,219.5L733.6,219.5z"})))},f=e=>{let{size:t=24,className:n}=e;return(0,o.createElement)(i.SVG,{className:l()("jetpack-logo",n),width:t,height:t,viewBox:"0 0 32 32"},(0,o.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:p,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))},g=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.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.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))),b=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))),v=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),k=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),y=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.G,null,(0,o.createElement)(i.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.05h-9.36z"}))),E={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 100 100"},(0,o.createElement)(i.Path,{d:"M100,44H72.4l23.9-13.8l-6-10.4L66.4,33.6L80.2,9.7l-10.4-6L56,27.59V0H44v27.6L30.2,3.7l-10.4,6l13.8,23.9 L9.7,19.8l-6,10.4L27.6,44H0V56h27.6L3.7,69.8l6,10.4l23.9-13.8L19.8,90.3l10.4,6L44,72.4V100H56V72.41l13.8,23.9l10.4-6L66.4,66.4 l23.9,13.8l6-10.4L72.4,56H100V44z M50,65.23c-8.41,0-15.23-6.82-15.23-15.23c0-8.41,6.82-15.23,15.23-15.23S65.23,41.59,65.23,50 C65.23,58.41,58.41,65.23,50,65.23z"}))},w={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.7 17",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{d:"m20.7 12.9-.9-11c0-.5-.2-.9-.5-1.3-.3-.3-.8-.5-1.3-.5L1.9 0h-.1c-.2 0-.5 0-.7.1C.9.2.7.4.5.5.4.7.2.9.1 1.1c-.1.2-.1.5-.1.7v.1l.9 13.4c0 .5.2.9.5 1.3.3.2.8.4 1.3.4H3l16.1-2c.4 0 .9-.3 1.1-.6.3-.3.5-.8.5-1.2v-.3zm-3.1.8L4.2 15.3H4c-.4 0-.8-.1-1-.4-.3-.3-.4-.6-.5-1L1.7 3.2v-.1c0-.4.2-.8.5-1 .3-.3.7-.4 1-.4h.1l13.5.1c.4 0 .8.1 1 .4.3.3.4.6.5 1L19 12v.3c0 .4-.2.7-.4 1-.3.2-.6.4-1 .4z"}))},_={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})))},C=((0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M15.9216 2H2.98533C2.43803 2 1.99023 2.45 1.99023 3V17L5.97062 13H15.9216C16.4689 13 16.9167 12.55 16.9167 12V3C16.9167 2.45 16.4689 2 15.9216 2ZM14.9265 4V11H5.14469L3.98043 12.17V4H14.9265ZM18.9069 6H20.8971C21.4444 6 21.8922 6.45 21.8922 7V22L17.9118 18H6.96572C6.41842 18 5.97062 17.55 5.97062 17V15H18.9069V6Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M3.98042 2H19.9019C20.9965 2 21.8921 2.9 21.8921 4V16C21.8921 17.1 20.9965 18 19.9019 18H5.97061L1.99023 22V4C1.99023 2.9 2.88582 2 3.98042 2ZM5.97061 16H19.9019V4H3.98042V18L5.97061 16Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M11.1114 8H20.0002M11.1113 15H20.0002",stroke:(0,u.m)(),strokeWidth:"1.5"}),(0,o.createElement)(i.Path,{d:"M4 10V6L8 8L4 10Z",fill:(0,u.m)()}),(0,o.createElement)(i.Path,{d:"M4 17V13L8 15L4 17Z",fill:(0,u.m)()}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M4 12V4L11 8L4 12Z"}),(0,o.createElement)(i.Path,{d:"M4 14.5H20V16H4V14.5Z"}),(0,o.createElement)(i.Path,{d:"M4 18.5H13V20H4V18.5Z"}))),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M2.5 7.5V4.5H15.5V7.5H10.5V19.5H7.5V7.5H2.5ZM12.5 9.5H21.5V12.5H18.5V19.5H15.5V12.5H12.5V9.5Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M12.7049 2V6C8.30658 6 4.74414 9.58 4.74414 14C4.74414 18.42 8.30658 22 12.7049 22C17.1032 22 20.6656 18.42 20.6656 14H18.6755C18.6755 17.31 15.9987 20 12.7049 20C9.41113 20 6.73433 17.31 6.73433 14C6.73433 10.69 9.41113 8 12.7049 8V12L17.6804 7L12.7049 2ZM11.6501 12.73L11.4013 14.9L12.068 15.06C12.0753 15.0526 12.0827 15.0447 12.0901 15.0366C12.1131 15.0116 12.1375 14.9851 12.1675 14.97C12.1874 14.96 12.2073 14.9475 12.2272 14.935C12.2471 14.9225 12.2671 14.91 12.287 14.9C12.3268 14.88 12.3865 14.86 12.4362 14.85C12.486 14.84 12.5556 14.83 12.6352 14.83C12.7447 14.83 12.8542 14.85 12.9338 14.88C13.0134 14.91 13.083 14.96 13.1427 15.03C13.2024 15.1 13.2422 15.17 13.2721 15.27C13.302 15.37 13.3119 15.47 13.3119 15.58V15.58C13.3119 15.69 13.3119 15.79 13.2821 15.89C13.2522 15.99 13.2124 16.07 13.1726 16.14C13.1328 16.21 13.0631 16.27 12.9935 16.31C12.9238 16.35 12.8343 16.37 12.7248 16.37C12.5556 16.37 12.4163 16.31 12.3069 16.22C12.1974 16.13 12.1377 15.99 12.1178 15.81H11.2819C11.2819 16.01 11.3317 16.19 11.4113 16.34C11.4909 16.49 11.5904 16.63 11.7297 16.73C11.869 16.83 12.0183 16.92 12.1874 16.97C12.3566 17.02 12.5357 17.05 12.7148 17.05C12.9636 17.05 13.1726 17 13.3517 16.93C13.5308 16.86 13.6801 16.75 13.7995 16.62C13.9189 16.49 14.0085 16.34 14.0682 16.17C14.1279 16 14.1577 15.82 14.1577 15.63C14.1577 15.41 14.1179 15.21 14.0682 15.03C14.0184 14.85 13.9289 14.7 13.8194 14.58C13.7099 14.46 13.5706 14.37 13.4114 14.3C13.2522 14.23 13.0731 14.2 12.8641 14.2C12.7945 14.2 12.7248 14.21 12.6651 14.22C12.6352 14.225 12.6054 14.2325 12.5755 14.24C12.5457 14.2475 12.5158 14.255 12.486 14.26C12.4263 14.27 12.3765 14.29 12.3367 14.31C12.3201 14.3183 12.3035 14.325 12.2876 14.3313C12.2654 14.3401 12.2446 14.3483 12.2272 14.36L12.3367 13.44H14.0284V12.73H11.6501Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M11.9412 2V6C16.3395 6 19.902 9.58 19.902 14C19.902 18.42 16.3395 22 11.9412 22C7.54291 22 3.98047 18.42 3.98047 14H5.97066C5.97066 17.31 8.64746 20 11.9412 20C15.235 20 17.9118 17.31 17.9118 14C17.9118 10.69 15.235 8 11.9412 8V12L6.96575 7L11.9412 2ZM10.8864 12.73L10.6376 14.9L11.3044 15.06C11.3117 15.0526 11.319 15.0447 11.3264 15.0366C11.3494 15.0116 11.3738 14.9851 11.4039 14.97C11.4238 14.96 11.4437 14.9475 11.4636 14.935C11.4835 14.9225 11.5034 14.91 11.5233 14.9C11.5631 14.88 11.6228 14.86 11.6725 14.85C11.7223 14.84 11.792 14.83 11.8716 14.83C11.981 14.83 12.0905 14.85 12.1701 14.88C12.2497 14.91 12.3194 14.96 12.3791 15.03C12.4388 15.1 12.4786 15.17 12.5084 15.27C12.5383 15.37 12.5482 15.47 12.5482 15.58V15.58C12.5482 15.69 12.5482 15.79 12.5184 15.89C12.4885 15.99 12.4487 16.07 12.4089 16.14C12.3691 16.21 12.2995 16.27 12.2298 16.31C12.1601 16.35 12.0706 16.37 11.9611 16.37C11.792 16.37 11.6526 16.31 11.5432 16.22C11.4337 16.13 11.374 15.99 11.3541 15.81H10.5182C10.5182 16.01 10.568 16.19 10.6476 16.34C10.7272 16.49 10.8267 16.63 10.966 16.73C11.1053 16.83 11.2546 16.92 11.4238 16.97C11.5929 17.02 11.7721 17.05 11.9512 17.05C12.1999 17.05 12.4089 17 12.588 16.93C12.7672 16.86 12.9164 16.75 13.0358 16.62C13.1552 16.49 13.2448 16.34 13.3045 16.17C13.3642 16 13.3941 15.82 13.3941 15.63C13.3941 15.41 13.3543 15.21 13.3045 15.03C13.2547 14.85 13.1652 14.7 13.0557 14.58C12.9463 14.46 12.807 14.37 12.6477 14.3C12.4885 14.23 12.3094 14.2 12.1004 14.2C12.0308 14.2 11.9611 14.21 11.9014 14.22C11.8716 14.225 11.8417 14.2325 11.8119 14.24C11.782 14.2475 11.7522 14.255 11.7223 14.26C11.6626 14.27 11.6128 14.29 11.573 14.31C11.5564 14.3183 11.5398 14.325 11.5239 14.3313C11.5017 14.3401 11.481 14.3483 11.4636 14.36L11.573 13.44H13.2647V12.73H10.8864Z"})),e=>{let{serviceName:t,className:n}=e;const r={className:l()("jetpack-gutenberg-social-icon",`is-${t}`,n),size:24};switch(t){case"facebook":return(0,o.createElement)(i.Icon,a()({icon:g},r));case"twitter":return(0,o.createElement)(i.Icon,a()({icon:b},r));case"linkedin":return(0,o.createElement)(i.Icon,a()({icon:v},r));case"tumblr":return(0,o.createElement)(i.Icon,a()({icon:k},r));case"google":return(0,o.createElement)(i.Icon,a()({icon:y},r))}return null}),j=(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M0 0h24v24H0z",fill:"none"}),(0,o.createElement)(i.Path,{d:"M7 2v11h3v9l7-12h-4l4-8z",fill:"currentColor"}))},28938:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_active"],!1)}},63729:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_current_user_connected"],!1)}},47077:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(47583);function o(){return(0,r.get)((0,a.Z)(),["jetpack","is_offline_mode"],!1)}},23539:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(98817),s=n(32673);const __=a.__,{Fill:l,Slot:c}=(0,o.createSlotFill)("JetpackLikesAndSharingPanel");(0,i.registerPlugin)("jetpack-likes-and-sharing-panel",{render:()=>(0,r.createElement)(c,null,(e=>e.length?(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Likes and Sharing","jetpack")},e)):null))})},32673:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(55609),o=n(72067),i=n(98817),s=n(9818),l=n(96483),c=n(47701),u=n.n(c),p=n(51591);const{Fill:d,Slot:m}=(0,a.createSlotFill)("JetpackPluginSidebar");u()((function(){"true"===(0,l.getQueryArg)(window.location.search,"jetpackSidebarIsOpen")&&(0,s.dispatch)("core/interface").enableComplementaryArea("core/edit-post","jetpack-sidebar/jetpack")})),(0,i.registerPlugin)("jetpack-sidebar",{render:()=>(0,r.createElement)(m,null,(e=>e.length?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PluginSidebarMoreMenuItem,{target:"jetpack",icon:(0,r.createElement)(p.IM,null)},"Jetpack"),(0,r.createElement)(o.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:(0,r.createElement)(p.IM,null)},e)):null))})},7616:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(9818),i=n(65736),s=(n(53961),n(82827),n(4235)),l=n(58014);const __=i.__;function c(){const e=(0,s.Z)();return void 0!==typeof window&&window.location&&e?(0,l.Wp)()||(0,l.Ug)()?`https://wordpress.com/plans/my-plan/${e}`:`${window.location.protocol}//${e.replace("::","/")}/wp-admin/admin.php?page=jetpack#/my-plan`:null}(async()=>{if(void 0!==typeof window&&window.location){if(new URLSearchParams(window.location.search).get("plan_upgraded")){let e=null;e:try{if((0,l.Wp)())break e;const t=await a()({path:"/jetpack/v4/site"});e=JSON.parse(t.data).plan.product_name}finally{const t=c();(0,o.dispatch)("core/notices").createNotice("success",e?(0,i.sprintf)(
+label:__("Weddings","jetpack")}],m=["mountain","ocean","river","clouds","pattern","abstract","sky"],h="ANY",f="LAST_7_DAYS",g="LAST_30_DAYS",b="LAST_6_MONTHS",v="LAST_12_MONTHS",k="CUSTOM",y=[{value:h,label:__("Any time","jetpack")},{value:f,label:__("Last 7 days","jetpack")},{value:g,label:__("Last 30 days","jetpack")},{value:b,label:__("Last 6 months","jetpack")},{value:v,label:__("Last 12 months","jetpack")},{value:k,label:__("Specific Month/Year","jetpack")}],E=(new Date).getFullYear(),w=[{label:__("Any Month","jetpack"),value:-1},...(0,o.map)((0,o.range)(0,12),(e=>({label:(0,a.dateI18n)("F",new Date(0,e)),value:e})))]},54414:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(92694),s=n(52175),l=n(35089),c=n(10892),u=n(38457);if((0,l.Z)()&&"function"==typeof s.useBlockEditContext){const e=e=>e.unstableFeaturedImageFlow||e.modalClass&&e.modalClass.indexOf("featured-image")>-1,t=(e,t)=>["core/cover","core/image","core/gallery","core/media-text","jetpack/image-compare","jetpack/slideshow","jetpack/story","jetpack/tiled-gallery"].indexOf(e)>-1&&-1===t.toString().indexOf("coblocks");(0,i.addFilter)("editor.MediaUpload","external-media/replace-media-upload",(n=>r=>{const{name:i}=(0,s.useBlockEditContext)();let{render:l}=r;if(t(i,l)||e(r)){const{allowedTypes:e,gallery:t=!1,value:n=[]}=r;e.indexOf("image")>-1&&!(t&&n.length>0)&&(l=e=>(0,o.createElement)(c.Z,a()({},e,{mediaProps:r})))}return(0,o.createElement)(n,a()({},r,{render:l}))}),100),(0,i.addFilter)("blocks.registerBlockType","external-media/individual-blocks",(function(e,t){return"core/image"!==t?e:{...e,keywords:[...e.keywords,...u.Dv.map((e=>e.keyword))]}}))}},11583:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(92819),s=n(55609),l=n(65736),c=n(39630),u=n(9827),p=n(46406);const __=l.__,d=(0,r.memo)((()=>(0,r.createElement)("div",{className:"jetpack-external-media-browser__empty"},(0,r.createElement)("p",null,__("Sorry, but nothing matched your search criteria.","jetpack")))));t.Z=function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,className:m,multiple:h,setPath:f,nextPage:g,onCopy:b}=e,[v,k]=(0,r.useState)([]),[y,E]=(0,r.useState)(-1),w=(0,r.useRef)(-1),_=(0,r.useRef)(null),C=(0,r.useCallback)((e=>{let t=[e];"folder"===e.type?f(e.ID):h?(t=v.slice(0,9).concat(e),v.find((t=>e.ID===t.ID))&&(t=v.filter((t=>t.ID!==e.ID)))):1===v.length&&e.ID===v[0].ID&&(t=[]),k(t)}),[v,h,f]),S=(0,r.useCallback)((()=>{b(v)}),[v,b]),j=t.filter((e=>"folder"!==e.type)).length>0,x=o()({"jetpack-external-media-browser__media":!0,"jetpack-external-media-browser__media__loading":a}),P=o()({"jetpack-external-media-browser":!0,[m]:!0}),T=()=>{let e=1;const t=_.current.children;if(t.length>0){const n=t[0].offsetTop;for(;e<t.length&&t[e].offsetTop===n;)++e}w.current=e},N=(0,i.debounce)(T,400);(0,r.useEffect)((()=>(window.addEventListener("resize",N),()=>{window.removeEventListener("resize",N)})),[]),(0,r.useEffect)((()=>{t.length&&-1===w.current&&T()}),[t]);const A=(e,t)=>{let{item:n}=t;C(n)},M=(e,n)=>{let{item:r,index:a}=n;[c.LEFT,c.RIGHT,c.UP,c.DOWN].includes(e.keyCode)?((e,n)=>{switch(e){case c.LEFT:n>=1&&E(n-1);break;case c.RIGHT:n<t.length&&E(n+1);break;case c.UP:n>=w.current&&E(n-w.current);break;case c.DOWN:n<t.length-w.current&&E(n+w.current)}})(e.keyCode,a):c.SPACE===e.keyCode?(C(r),e.preventDefault()):c.ENTER===e.keyCode&&C(r),[c.LEFT,c.RIGHT,c.UP,c.DOWN,c.SPACE,c.ENTER].includes(e.keyCode)&&e.stopPropagation()};return(0,r.createElement)("div",{className:P},(0,r.createElement)("ul",{ref:_,className:x},t.map(((e,t)=>(0,r.createElement)(p.Z,{item:e,index:t,key:e.ID,onClick:A,onKeyDown:M,focus:t===y,isSelected:v.find((t=>t.ID===e.ID)),isCopying:n}))),0===t.length&&!a&&(0,r.createElement)(d,null),a&&(0,r.createElement)(u.Z,null),l&&!a&&(0,r.createElement)(s.Button,{variant:"secondary",className:"jetpack-external-media-browser__loadmore",disabled:a||n,onClick:()=>{t.length&&E(t.length),g()}},__("Load More","jetpack"))),j&&(0,r.createElement)((()=>{const e=0===v.length||n,t=n?__("Inserting…","jetpack"):__("Select","jetpack",0);return(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__toolbar"},(0,r.createElement)(s.Button,{variant:"primary",isBusy:n,disabled:e,onClick:S},t))}),null))}},46406:function(e,t,n){"use strict";var r=n(69307),a=n(65235),o=n.n(a),i=n(55609),s=n(65736);const __=s.__;t.Z=function(e){const{item:t,focus:n,isSelected:a,isCopying:s=!1}=e,{thumbnails:l,caption:c,name:u,title:p,type:d,children:m=0}=t,{medium:h=null,fmt_hd:f=null,thumbnail:g=null}=l,b=p||c||u,v=o()({"jetpack-external-media-browser__media__item":!0,"jetpack-external-media-browser__media__item__selected":a,"jetpack-external-media-browser__media__folder":"folder"===d,"is-transient":s}),k=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n&&k.current.focus()}),[n]),(0,r.createElement)("li",{ref:k,className:v,onClick:s?void 0:t=>{const{item:n,index:r}=e;e.onClick&&e.onClick(t,{item:n,index:r})},onKeyDown:s?void 0:t=>{const{item:n,index:r}=e;e.onKeyDown&&e.onKeyDown(t,{item:n,index:r})},role:"checkbox",tabIndex:"0","aria-checked":!!a,"aria-disabled":!!s},a&&s&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator"},(0,r.createElement)(i.Spinner,null),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__copying_indicator__label"},__("Inserting Image…","jetpack"))),(0,r.createElement)("img",{src:h||f||g,alt:b}),"folder"===d&&(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__info"},(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__name"},u),(0,r.createElement)("div",{className:"jetpack-external-media-browser__media__count"},m)))}},9827:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.memo)((function(){const e="jetpack-external-media-browser__media__item jetpack-external-media-browser__media__placeholder";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}),(0,r.createElement)("div",{className:e}))}))},10892:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(38457),s=n(95833);const l=e=>e.unstableFeaturedImageFlow||e.modalClass&&-1!==e.modalClass.indexOf("featured-image"),c=e=>void 0===e.multiple&&!l(e);t.Z=function(e){const{mediaProps:t}=e,[n,r]=(0,o.useState)(null),u=(0,i.ZR)(n);return(0,o.createElement)("div",{onClick:e=>e.stopPropagation()},(0,o.createElement)(s.Z,a()({},e,{setSelectedSource:r,isReplace:c(t),isFeatured:l(t),hasImage:t.value>0})),u&&(0,o.createElement)(u,a()({},t,{onClose:e=>{var n;e&&(e.stopPropagation(),e.target.closest(".jetpack-external-media-header__dropdown"))||(r(null),null===(n=t.onClose)||void 0===n||n.call(t))}})))}},95833:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(65736),i=n(20843),s=n(13959);const __=o.__;t.Z=function(e){const{mediaProps:t,open:n,setSelectedSource:o,isFeatured:l,isReplace:c,hasImage:u}=e,p=t.render;let d="tertiary";if(c)return(0,r.createElement)(s.Z,{originalButton:p,open:n,setSource:o});let m=__("Select Image","jetpack");return t.multiple&&(m=__("Select Images","jetpack")),t.allowedTypes.length>1&&(m=__("Select Media","jetpack")),l&&(m=__("Replace Image","jetpack"),d="secondary"),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Dropdown,{position:"bottom right",contentClassName:"jetpack-external-media-button-menu__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;const o=p&&p({open:n});return l&&u||o&&"string"!=typeof o.props.children?o:(0,r.createElement)(a.Button,{variant:d,className:"jetpack-external-media-button-menu","aria-haspopup":"true","aria-expanded":t,onClick:n},m)},renderContent:e=>{let{onClose:t}=e;return(0,r.createElement)(a.NavigableMenu,{"aria-label":m},(0,r.createElement)(a.MenuGroup,null,(0,r.createElement)(a.MenuItem,{icon:i.Z,onClick:()=>{t(),n()}},__("Media Library","jetpack")),(0,r.createElement)(s.Z,{open:n,setSource:o,onClick:t})))}}))}},13959:function(e,t,n){"use strict";var r=n(69307),a=n(55609),o=n(38457);t.Z=function(e){let{originalButton:t=null,onClick:n=(()=>{}),open:i,setSource:s}=e;return(0,r.createElement)(r.Fragment,null,t&&t({open:i}),o.Dv.map((e=>{let{icon:t,id:o,label:i}=e;return(0,r.createElement)(a.MenuItem,{icon:t,key:o,onClick:()=>{n(),s(o)}},i)})))}},47285:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(96483);const a={list:"/wpcom/v2/external-media/list/",copy:(0,n(13419).Wp)()?"/rest/v1.1/external-media-upload?service=":"/wpcom/v2/external-media/copy/",connection:"/wpcom/v2/external-media/connection/"};function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a[e]?(0,r.addQueryArgs)(a[e]+t,n):null}},53463:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(81427);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.JO,null),(0,r.createElement)("p",null,__("To get started, connect your site to your Google Photos library.","jetpack")),(0,r.createElement)("p",null,__("You can remove the connection in either of these places:","jetpack")),(0,r.createElement)("ul",null,(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://myaccount.google.com/security"},__("Google Security page","jetpack"))),(0,r.createElement)("li",null,(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://wordpress.com/marketing/connections/"},__("WordPress.com Connections","jetpack")))))}))},5890:function(e,t,n){"use strict";var r=n(69307),a=n(65736);const __=a.__;t.Z=(0,r.memo)((function(){return(0,r.createElement)("p",null,__("Awaiting authorization","jetpack"))}))},86167:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(20982);const __=a.__;t.Z=(0,r.memo)((function(e){let{path:t,setPath:n}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Button,{variant:"tertiary",onClick:()=>n(i.Tu)},__("Albums","jetpack")),"→   ",t.name)}))},4819:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(20769);const __=a.__;function c(e){let{value:t,updateFilter:n}=e;return(0,r.createElement)(o.SelectControl,{label:__("Category","jetpack"),value:t,options:s.tY,onChange:n})}function u(e){let{value:t,updateFilter:n}=e;const a=(null==t?void 0:t.range)||s.CY,[i,c]=(0,r.useState)(-1),[u,p]=(0,r.useState)(s.zs);return(0,r.createElement)("div",{className:"jetpack-external-media-date-filter"},(0,r.createElement)(o.SelectControl,{label:__("Filter by time period","jetpack"),value:a,options:s.QU,onChange:e=>n({range:e})}),a===s.yD&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Month","jetpack"),value:i,options:s.l5,onChange:c}),(0,r.createElement)(l.Z,{className:"components-base-control",label:__("Year","jetpack"),value:u,min:1970,onChange:p}),(0,r.createElement)(o.Button,{variant:"secondary",disabled:(null==t?void 0:t.month)===i&&(null==t?void 0:t.year)===u,onClick:()=>{n({range:a,month:i,year:u})}},__("Apply","jetpack"))))}function p(){return(0,r.createElement)("span",null,__("Favorites","jetpack"))}function d(e){let{value:t,updateFilter:n}=e;const a=[{label:__("All","jetpack"),value:""},{label:__("Images","jetpack"),value:"photo"},{label:__("Videos","jetpack"),value:"video"}];return(0,r.createElement)(o.SelectControl,{label:__("Type","jetpack"),value:t,options:a,onChange:n})}function m(e){let{children:t,removeFilter:n,isRemovable:a=!1}=e;return(0,r.createElement)("div",{className:"jetpack-external-media-googlephotos-filter"},t,!!a&&(0,r.createElement)(o.Button,{onClick:n,isSmall:!0},__("Remove Filter","jetpack")))}t.Z=function(e){let{filters:t,setFilters:n,canChangeMedia:a}=e;const o=Object.keys(t).filter((e=>a||"mediaType"!==e)).map((e=>{return(0,r.createElement)(m,{key:e,removeFilter:()=>n((0,i.omit)(t,e))},(a=e,o=t[e],s=r=>n(function(e,t,n){const r={...e,[t]:n};return"mediaType"===t&&"video"===n?delete r.category:"category"===t&&"video"===r.mediaType&&delete r.mediaType,r}(t,e,r)),"category"===a?(0,r.createElement)(c,{value:o,updateFilter:s}):"date"===a?(0,r.createElement)(u,{value:o,updateFilter:s}):"favorite"===a?(0,r.createElement)(p,{value:o}):"mediaType"===a?(0,r.createElement)(d,{value:o,updateFilter:s}):null));var a,o,s}));return 0===o.length?null:o}},58912:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(76292),a=n.n(r),o=n(20982);const i=a()();function s(e){const{mediaType:t,category:n,favorite:r,date:s}=e,l=[];if(t&&l.push("mediaType="+t),n&&"video"!==t&&l.push("categoryInclude="+n),void 0!==r&&l.push("feature=favorite"),s){let e=null,t=null;switch(s.range){case o.Wm:e=a()(i).subtract(7,"days"),t=i;break;case o.Qh:e=a()(i).subtract(30,"days"),t=i;break;case o.Bb:e=a()(i).subtract(6,"months"),t=i;break;case o.En:e=a()(i).subtract(1,"year"),t=i;break;case o.yD:const n=parseInt(s.month),r=parseInt(s.year);isNaN(n)||isNaN(r)||(-1===n?(e=a()([r,0]),t=a()(e).endOf("year")):(e=a()([r,n]),t=a()(e).endOf("month")))}const n=e?e.format("YYYY-MM-DD"):"0000-00-00",r=t?t.format("YYYY-MM-DD"):"0000-00-00";l.push(`dateRange=${n}:${r}`)}return l.length>0?l:null}},53800:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609);const __=a.__,i=[{label:__("Category","jetpack"),value:"category"},{label:__("Date","jetpack"),value:"date"},{label:__("Favorites","jetpack"),value:"favorite"},{label:__("Media Type","jetpack"),value:"mediaType"}];function s(e){return i.filter((t=>void 0===e[t.value]))}function l(e){const t=s(e);return t.length>0?t[0].value:""}t.Z=function(e){const[t,n]=(0,r.useState)(l([])),{isLoading:a,isCopying:i,filters:c,canChangeMedia:u}=e,p=function(e,t){return t?e:e.filter((e=>"mediaType"!==e.value))}(s(c),u);return 0===p.length?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.SelectControl,{label:__("Filters","jetpack"),value:t,disabled:a||i,options:p,onChange:n}),(0,r.createElement)(o.Button,{disabled:a||i,variant:"secondary",isSmall:!0,onClick:()=>{const r=(a=c,o=t,{...a,[o]:"favorite"===o||""});var a,o;e.setFilters(r),n(l(r))}},__("Add Filter","jetpack")))}},64034:function(e,t,n){"use strict";var r=n(69307),a=n(2772);t.Z=e=>{let{account:t,setAuthenticated:n}=e;const{image:o,name:i}=t||{};return(0,r.createElement)("div",{className:"jetpack-external-media-header__account"},(0,r.createElement)("div",{className:"jetpack-external-media-header__account-info"},o&&(0,r.createElement)("img",{className:"jetpack-external-media-header__account-image",src:o,alt:"",height:"18",width:"18"}),i&&(0,r.createElement)("div",{className:"jetpack-external-media-header__account-name"},i)),(0,r.createElement)(a.Z,{setAuthenticated:n}))}},62494:function(e,t,n){"use strict";var r=n(69307),a=n(39229),o=n(86989),i=n.n(o),s=n(65736),l=n(55609),c=n(20982),u=n(47285),p=n(53463),d=n(5890);const __=s.__;t.Z=function(e){const{setAuthenticated:t}=e,[n,o]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{o(!0),i()({path:(0,u.k)("connection",c.iT)}).then((e=>{if(e.error)throw e.message;(0,a.Z)(e.connect_URL,(()=>{o(!1),t(!0)}))})).catch((()=>{o(!1)}))}),[t]);return(0,r.createElement)("div",{className:"jetpack-external-media-auth"},n?(0,r.createElement)(d.Z,null):(0,r.createElement)(p.Z,null),(0,r.createElement)(l.Button,{variant:"primary",disabled:n,onClick:s},__("Connect to Google Photos","jetpack")))}},2772:function(e,t,n){"use strict";var r=n(69307),a=n(86989),o=n.n(a),i=n(55609),s=n(65736),l=n(47285),c=n(20982);const __=s.__;t.Z=e=>{let{setAuthenticated:t}=e;const[n,a]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{a(!0),o()({method:"DELETE",path:(0,l.k)("connection",c.iT)}).then((()=>t(!1))).catch((()=>a(!1)))}),[t]);return(0,r.createElement)(i.Button,{variant:"secondary",className:"jetpack-external-media-browser__disconnect",onClick:s,disabled:n,isBusy:n},__("Disconnect from Google Photos","jetpack"))}},20107:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(20982),s=n(11583),l=n(47285),c=n(4819),u=n(53800),p=n(64034),d=n(86167),m=n(58912);const __=a.__;t.Z=function(e){const{account:t,allowedTypes:n,copyMedia:a,getMedia:h,isCopying:f,isLoading:g,media:b,multiple:v,onChangePath:k,pageHandle:y,path:E,setAuthenticated:w,showAdditionalFilters:_=!1}=e,C=(S=n)&&1===S.length&&"image"===S[0];var S;const[j,x]=(0,r.useState)(C?{mediaType:"photo",date:{range:i.CY}}:{date:{range:i.CY}}),P=(0,r.useRef)(""),T=(0,r.useRef)(""),N=E.ID===i.oI?(0,m.Z)(j):null,A={number:20,path:E.ID};N&&(A.filter=N);const M=(0,l.k)("list",i.iT,A),I=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(M,t)}),[h,M]),R=(0,r.useCallback)((e=>{const t=b.find((t=>t.ID===e));T.current=E,k(t||{ID:e})}),[b,k,T,E]),L=(0,r.useCallback)((e=>{a(e,(0,l.k)("copy",i.iT),i.iT)}),[a]);return(0,r.useEffect)((()=>{P!==M&&(P.current=M,I({},E!==T.current))}),[P,M,I,E]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__google"},(0,r.createElement)("div",{className:"jetpack-external-media-header__view"},(0,r.createElement)(o.SelectControl,{className:"jetpack-external-media-header__select",label:__("View","jetpack"),value:E.ID!==i.oI?i.Tu:i.oI,disabled:g||f,options:i.OG,onChange:R}),_&&E.ID===i.oI&&(0,r.createElement)(u.Z,{filters:j,isLoading:g,setFilters:x,canChangeMedia:!C}),(0,r.createElement)("div",{className:"jetpack-external-media-header__filter"},E.ID===i.oI&&(0,r.createElement)(c.Z,{filters:j,isLoading:g,setFilters:x,canChangeMedia:!C}),E.ID!==i.oI&&E.ID!==i.Tu&&(0,r.createElement)(d.Z,{path:E,setPath:R})),(!g||b.length>0)&&(0,r.createElement)(p.Z,{account:t,setAuthenticated:w})),(0,r.createElement)(s.Z,{className:"jetpack-external-media-browser__google",key:M,media:b,isCopying:f,isLoading:g,nextPage:I,onCopy:L,pageHandle:y,multiple:v,setPath:R}))}},77453:function(e,t,n){"use strict";var r=n(69307),a=n(97893),o=n(62494),i=n(20107);t.Z=(0,a.Z)()((function(e){return e.isAuthenticated?(0,r.createElement)(i.Z,e):(0,r.createElement)(o.Z,e)}))},38457:function(e,t,n){"use strict";n.d(t,{Dv:function(){return u},ZR:function(){return p}});var r=n(69307),a=n(65736),o=n(81427),i=n(77453),s=n(41214),l=n(12533),c=n(20982);const __=a.__,u=[{id:c.iT,label:__("Google Photos","jetpack"),icon:(0,r.createElement)(o.He,{className:"components-menu-items__item-icon"}),keyword:"google photos"},{id:c.wk,label:__("Pexels Free Photos","jetpack"),icon:(0,r.createElement)(o.yk,{className:"components-menu-items__item-icon"}),keyword:"pexels"},{id:c.Eh,label:__("Openverse","jetpack"),icon:(0,r.createElement)(o.FG,{className:"components-menu-items__item-icon"}),keyword:"openverse"}];function p(e){return e===c.wk?l.Z:e===c.iT?i.Z:e===c.Eh?s.Z:null}},41214:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(97893),c=n(11583),u=n(47285);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.Eh),s.Eh)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.Eh,{number:20,search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(null==w||!w.current)return;const e=w.current.querySelector("input[type='search']");e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__openverse"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__openverse",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{isPrimary:!0,onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__openverse",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},12533:function(e,t,n){"use strict";var r=n(69307),a=n(65736),o=n(55609),i=n(92819),s=n(20982),l=n(97893),c=n(11583),u=n(47285);const __=a.__;t.Z=(0,l.Z)()((function(e){const{media:t,isCopying:n,isLoading:a,pageHandle:l,multiple:p,copyMedia:d,getMedia:m}=e,[h,f]=(0,r.useState)((0,i.sample)(s.h9)),[g,b]=(0,r.useState)(""),v=(0,r.useCallback)((e=>{d(e,(0,u.k)("copy",s.wk),s.wk)}),[d]),k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h&&m((0,u.k)("list",s.wk,{number:20,path:"recent",search:h}),t)}),[m,h]),y=(0,r.useRef)(),E=(0,r.useCallback)((e=>{e.preventDefault(),b(h),k(e,!0),y.current=h}),[k,h]);(0,r.useEffect)(k,[]);const w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(!w.current)return;const e=Array.from(w.current.elements).find((e=>"search"===e.type));e&&(e.focus(),e.select())}),[]),(0,r.createElement)("div",{className:"jetpack-external-media-wrapper__pexels"},(0,r.createElement)("form",{ref:w,className:"jetpack-external-media-header__pexels",onSubmit:E},(0,r.createElement)(o.TextControl,{"aria-label":__("Search","jetpack"),type:"search",value:h,onChange:f,disabled:!!n}),(0,r.createElement)(o.Button,{variant:"primary",onClick:E,type:"submit",disabled:!h.length||h===y.current||n},__("Search","jetpack"))),(0,r.createElement)(c.Z,{key:g,className:"jetpack-external-media-browser__pexels",media:t,isCopying:n,isLoading:a,nextPage:k,onCopy:v,pageHandle:l,multiple:p}))}))},97893:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(18294),a=n.n(r),o=n(69307),i=n(92819),s=n(65235),l=n.n(s),c=n(86989),u=n.n(c),p=n(94333),d=n(55609),m=n(65736),h=n(39630),f=n(9818),g=n(20982);const __=m.__;function b(){return(0,p.createHigherOrderComponent)((e=>{class t extends o.Component{constructor(e){var t;super(e),t=this,a()(this,"contentRef",(e=>{e?(this.contentElement=e,this.modalElement=e.closest(".jetpack-external-media-browser"),this.modalElement&&this.modalElement.addEventListener("keydown",this.stopArrowKeysPropagation)):this.modalElement&&(this.modalElement.removeEventListener("keydown",this.stopArrowKeysPropagation),this.modalElement=null,this.contentElement=null)})),a()(this,"stopArrowKeysPropagation",(e=>{[h.UP,h.DOWN,h.LEFT,h.RIGHT].includes(e.keyCode)&&!e.target.classList.contains("jetpack-external-media-browser__media__item")&&e.stopPropagation()})),a()(this,"setAuthenticated",(e=>this.setState({isAuthenticated:e}))),a()(this,"getMedia",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.state.isLoading||(n&&t.props.noticeOperations.removeAllNotices(),t.setState({account:n?t.defaultAccount:t.state.account,isLoading:!0,media:n?[]:t.state.media,nextHandle:!n&&t.state.nextHandle},(()=>t.getMediaRequest(e))))})),a()(this,"handleApiError",(e=>{var t;if("authorization_required"===e.code)return void this.setState({isAuthenticated:!1,isLoading:!1,isCopying:!1});null!==(t=e.errors)&&void 0!==t&&t.length&&(e={code:e.errors[0].error,message:e.errors[0].message});const{noticeOperations:n}=this.props;n.createErrorNotice("internal_server_error"===e.code?"Internal server error":e.message),this.setState({isLoading:!1,isCopying:!1})})),a()(this,"getMediaRequest",(e=>{const{nextHandle:t,media:n}=this.state;if(!1===t&&n.length>0)return void this.setState({isLoading:!1});const r=this.getRequestUrl(e);this.setAuthenticated(!0),u()({path:r,method:"GET",parse:void 0===window.wpcomFetch}).then((e=>{this.setState({account:e.meta.account,media:this.mergeMedia(n,e.media),nextHandle:e.meta.next_page,isLoading:!1})})).catch(this.handleApiError)})),a()(this,"copyMedia",((e,t,n)=>{var r;this.setState({isCopying:e}),this.props.noticeOperations.removeAllNotices(),this.modalElement&&this.modalElement.focus(),u()({path:t,method:"POST",data:{external_ids:e.map((e=>e.guid)),media:e.map((e=>({guid:e.guid,caption:e.caption,title:e.title}))),service:n,post_id:null!==(r=this.props.postId)&&void 0!==r?r:0}}).then((e=>{e.media&&(e=e.media.map((e=>({alt:e.alt,caption:e.caption,id:e.ID,type:"image",url:e.URL}))));const{value:t,addToGallery:n,multiple:r}=this.props,a=r?e:e[0],o=e.find((e=>e.errors));if(o){const{errors:e}=o,t=Object.keys(e)[0];this.handleApiError({code:t,message:e[t]})}else this.props.onClose(),this.props.onSelect(n?t.concat(e):a)})).catch(this.handleApiError)})),a()(this,"onChangePath",((e,t)=>{this.setState({path:e},t)})),this.defaultAccount={image:"",name:""},this.state={account:this.defaultAccount,media:[],nextHandle:!1,isLoading:!1,isCopying:null,isAuthenticated:!0,path:{ID:g.oI}}}mergeMedia(e,t){return(0,i.uniqBy)(e.concat(t),"ID")}getRequestUrl(e){const{nextHandle:t}=this.state;return t?e+"&page_handle="+encodeURIComponent(t):e}render(){const{account:t,isAuthenticated:n,isCopying:r,isLoading:a,media:i,nextHandle:s,path:c}=this.state,{allowedTypes:u,multiple:p=!1,noticeUI:m,onClose:h}=this.props,f=r?__("Inserting media","jetpack"):__("Select media","jetpack",0),g=r?__("When the media is finished copying and inserting, you will be returned to the editor.","jetpack"):__("Select the media you would like to insert into the editor.","jetpack",0),b="jetpack-external-media-browser__description",v=l()({"jetpack-external-media-browser":!0,"jetpack-external-media-browser--is-copying":r});return(0,o.createElement)(d.Modal,{onRequestClose:h,title:f,aria:{describedby:b},className:v},(0,o.createElement)("div",{ref:this.contentRef},m,(0,o.createElement)("p",{id:b,className:"jetpack-external-media-browser--visually-hidden"},g),(0,o.createElement)(e,{account:t,getMedia:this.getMedia,copyMedia:this.copyMedia,isCopying:r,isLoading:a,media:i,pageHandle:s,allowedTypes:u,isAuthenticated:n,setAuthenticated:this.setAuthenticated,multiple:p,path:c,onChangePath:this.onChangePath})))}}return(0,f.withSelect)((e=>({postId:e("core/editor").getCurrentPostId()})))((0,d.withNotices)(t))}))}},11317:function(e,t,n){"use strict";n.d(t,{Qu:function(){return i}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["allowedMimeTypes"],[])}function i(e,t){if(!e||!t)return!1;if(!o())return!1;const n=(r=t)?(0,a.pickBy)(o(),(e=>(0,a.startsWith)(e,`${r}/`))):{};var r;const i=(s=n)?(0,a.flatten)((0,a.map)((0,a.keys)(s),(e=>e.split("|")))):[];var s;if("string"==typeof e){const t=e.split(".").pop();return t&&i.includes(t)}return"object"==typeof e&&(e.type&&(0,a.values)(n).includes(e.type))}},5820:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4981);function a(){const e=(0,r.getCategories)();for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];for(const t of n)if(e.some((e=>{let{slug:n}=e;return n===t})))return t;throw new Error(`Could not find a category from the provided list: ${n.join(",")}`)}},74251:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(96483);function a(e,t){if(!(0,r.isURL)(t))return null;let n=t;try{const a=(0,r.getQueryArg)(t,"state"),o=JSON.parse(atob(a));if(e)o.from_editor_post_id=e;else{const e=new URLSearchParams(window.location.search);o.from_site_editor_post_id=e.get("postId"),o.from_site_editor_post_type=e.get("postType")}n=(0,r.addQueryArgs)(t,{state:btoa(JSON.stringify(o))})}catch(e){0}return n}},99307:function(e,t,n){"use strict";n.d(t,{BM:function(){return s},CG:function(){return o},fH:function(){return a},j3:function(){return l},yn:function(){return i}});var r=n(9818);const a="site",o="widget",i="post",s="customizer",l=()=>(0,r.select)("core/edit-site")?a:(0,r.select)("core/edit-widgets")?o:(0,r.select)("core/customize-widgets")?s:(0,r.select)("core/edit-navigation")?"navigation":(0,r.select)("core/edit-post")?i:"unknown"},4554:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(92819);const a=(e,t)=>(0,r.reduce)(t,((t,n,r)=>{if(void 0===e[r])return t;const{type:a,validator:o,validValues:i,default:s}=e[r];return t[r]="boolean"===a?"false"!==n&&!!n:o?o(n)?n:s:i?i.includes(n)?n:s:n,t}),{})},59809:function(e,t,n){"use strict";var r=n(82402),a=n.n(r),o=n(69307),i=n(65235),s=n.n(i),l=n(73139);t.Z=e=>{let{children:t=null,isError:n=!1,...r}=e;const i=s()("help-message",{"help-message-is-error":n});return t&&(0,o.createElement)("div",a()({className:i},r),n&&(0,o.createElement)(l.Z,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),(0,o.createElement)("span",null,t))}},81427:function(e,t,n){"use strict";n.d(t,{Ae:function(){return v},FG:function(){return m},He:function(){return d},IM:function(){return g},JO:function(){return f},K9:function(){return y},Pw:function(){return E},h:function(){return k},ll:function(){return w},yk:function(){return h},zf:function(){return b}});var r=n(82402),a=n.n(r),o=n(69307),i=n(55609),s=n(65235),l=n.n(s),c=n(80550),u=n(70355);const p=c.O["Jetpack Green 40"],d=e=>(0,o.createElement)(i.SVG,a()({height:"24",width:"24",viewBox:"1.2 10.8 169.6 169.6",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.Path,{d:"m43.6 49.4c23.4 0 42.4 19 42.4 42.4v3.9h-80.9c-2.1 0-3.8-1.7-3.9-3.9 0-23.4 19-42.4 42.4-42.4z",fill:"#f6bc04"}),(0,o.createElement)(i.Path,{d:"m132.2 53.2c0 23.4-19 42.4-42.4 42.4h-3.8v-80.9c0-2.1 1.7-3.9 3.8-3.9 23.5 0 42.4 19 42.4 42.4z",fill:"#ea4335"}),(0,o.createElement)(i.Path,{d:"m128.4 141.9c-23.4 0-42.4-19-42.4-42.4v-3.9h80.9c2.1 0 3.9 1.7 3.9 3.8 0 23.5-19 42.5-42.4 42.5z",fill:"#4285f4"}),(0,o.createElement)(i.Path,{d:"m39.8 138c0-23.4 19-42.4 42.4-42.4h3.8v80.9c0 2.1-1.7 3.8-3.9 3.9-23.4 0-42.3-19-42.3-42.4z",fill:"#34a853"})),m=e=>(0,o.createElement)(i.SVG,a()({style:{fill:"#30272e",background:"#ffe033",padding:"3px",width:"22px",height:"24px"},width:"46",height:"42",viewBox:"0 0 46 42",xmlns:"http://www.w3.org/2000/svg"},e),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M0 9.3975C0 14.5687 4.1722 18.795 9.3353 18.795V0C4.1722 0 0 4.2 0 9.3975Z"}),(0,o.createElement)(i.Path,{d:"M13.6118 9.3975C13.6118 14.5687 17.784 18.795 22.9471 18.795V0C17.8101 0 13.6118 4.2 13.6118 9.3975Z"}),(0,o.createElement)(i.Path,{d:"M36.5589 18.795C41.7147 18.795 45.8942 14.5876 45.8942 9.3975C45.8942 4.2074 41.7147 0 36.5589 0C31.4032 0 27.2236 4.2074 27.2236 9.3975C27.2236 14.5876 31.4032 18.795 36.5589 18.795Z"}),(0,o.createElement)(i.Path,{d:"M0 32.6025C0 37.8 4.1722 42 9.3353 42V23.2312C4.1722 23.2312 0 27.4312 0 32.6025Z"}),(0,o.createElement)(i.Path,{d:"M13.6118 32.5238C13.6118 37.695 17.784 41.9213 22.9471 41.9213V23.1525C17.8101 23.1525 13.6118 27.3525 13.6118 32.5238Z"}),(0,o.createElement)(i.Path,{d:"M36.5589 41.9212C41.7147 41.9212 45.8942 37.7138 45.8942 32.5238C45.8942 27.3337 41.7147 23.1263 36.5589 23.1263C31.4032 23.1263 27.2236 27.3337 27.2236 32.5238C27.2236 37.7138 31.4032 41.9212 36.5589 41.9212Z"}))),h=e=>(0,o.createElement)(i.SVG,a()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),(0,o.createElement)(i.Path,{d:"M14 7H9v10h3.9v-3.8H14c1.7 0 3.1-1.4 3.1-3.1C17.2 8.4 15.8 7 14 7z"}),(0,o.createElement)(i.Path,{d:"M20.5 2h-17C2.7 2 2 2.7 2 3.5v17c0 .8.7 1.5 1.5 1.5h17c.8 0 1.5-.7 1.5-1.5v-17c0-.8-.7-1.5-1.5-1.5zm-5.6 13.2V19H7V5h7c2.8 0 5.1 2.3 5.1 5.1.1 2.5-1.8 4.7-4.2 5.1z"})),f=()=>{const e="#757575";return(0,o.createElement)(i.SVG,{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/SVG",x:"0px",y:"0px",viewBox:"0 0 1292 448",style:{enableBackground:"new 0 0 1292 448"}},(0,o.createElement)(i.G,{id:"Icon"},(0,o.createElement)(i.Path,{class:"st0",fill:"#F6B704",d:"M171.6,177.4c23.4,0,42.4,19,42.4,42.4v3.9h-80.9c-2.1,0-3.8-1.7-3.9-3.9C129.2,196.4,148.2,177.4,171.6,177.4 C171.6,177.4,171.6,177.4,171.6,177.4z"}),(0,o.createElement)(i.Path,{class:"st1",fill:"#E54335",d:"M260.2,181.2c0,23.4-19,42.4-42.4,42.4H214v-80.9c0-2.1,1.7-3.9,3.8-3.9h0 C241.3,138.8,260.2,157.8,260.2,181.2C260.2,181.2,260.2,181.2,260.2,181.2z"}),(0,o.createElement)(i.Path,{class:"st2",fill:"#4280EF",d:"M256.4,269.9c-23.4,0-42.4-19-42.4-42.4v-3.9h80.9c2.1,0,3.9,1.7,3.9,3.8v0 C298.8,250.9,279.8,269.9,256.4,269.9C256.4,269.9,256.4,269.9,256.4,269.9z"}),(0,o.createElement)(i.Path,{class:"st3",fill:"#34A353",d:"M167.8,266c0-23.4,19-42.4,42.4-42.4c0,0,0,0,0,0h3.9v80.9c0,2.1-1.7,3.8-3.9,3.9 C186.7,308.4,167.8,289.4,167.8,266z"})),(0,o.createElement)(i.G,{id:"Photos"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M796,272v-91.6h31.2c15.2,0,28.7,11.3,28.7,27.3s-13.4,27.3-28.7,27.3h-19.4V272H796z M827.5,223.6 c8.8,0,16-7.2,16-16s-7.2-16-16-16h-19.7v32H827.5z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M875.8,209.3l-0.5,8.7h0.5c3.3-5.8,11.3-10.8,19.8-10.8c16,0,23.9,10.9,23.9,26.4V272h-11.8v-36.6 c0-13-6.5-17.4-15.5-17.4c-10.2,0-16.5,9.7-16.5,19.3V272H864v-91.6h11.8V209.3z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M993.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4S993.8,221.6,993.8,240.6z M982,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S982,255,982,240.6L982,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1008,252.9V220h-11v-10.7h11v-19.2h11.8v19.2h15.3V220h-15.3v32c0,7,2.9,10.2,8.4,10.2c1.8,0.1,3.7-0.3,5.4-1 l4.1,10.1c-3,1.2-6.2,1.8-9.5,1.7C1015,273,1008,265.7,1008,252.9z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1105.8,240.6c0,19.1-13.4,33.4-32.2,33.4s-32.2-14.3-32.2-33.4s13.4-33.4,32.2-33.4 S1105.8,221.6,1105.8,240.6z M1094,240.6c0-14.3-10-22.6-20.5-22.6s-20.5,8.3-20.5,22.6s10,22.7,20.5,22.7S1094,255,1094,240.6 L1094,240.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M1111,256.1l10.5-4.4c3.3,7.9,9.5,11.8,17,11.8c7.3,0,12.5-3.6,12.5-8.8c0-3.2-1.9-6.6-8.6-8.3l-12.7-3.1 c-5.8-1.4-16.8-6.4-16.8-17.4c0-11.4,11.8-18.7,24.8-18.7c10.9,0,20.3,5,24.2,14.6l-10.2,4.2c-2.4-5.9-8.2-8.3-14.3-8.3 c-6.7,0-12.4,3-12.4,8.1c0,4,3.3,6.1,8.3,7.3l12.4,2.9c12.4,2.9,17.3,10.6,17.3,18.3c0,11.1-10,19.7-24.7,19.7 C1123.2,274,1114.7,265.1,1111,256.1z"})),(0,o.createElement)(i.G,{id:"Google"},(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M348.7,221.6c0-28.9,24.3-52.5,53.2-52.5c13.5-0.2,26.4,5,36,14.5l-10.1,10.1c-6.9-6.7-16.2-10.4-25.9-10.2 c-21.1,0-37.6,17-37.6,38.2s16.5,38.1,37.6,38.1c13.7,0,21.5-5.5,26.5-10.5c4.1-4.1,6.8-10,7.8-18H402v-14.4h48.3 c0.5,3,0.8,6,0.8,9c0,10.8-2.9,24.1-12.4,33.5c-9.2,9.6-21,14.7-36.6,14.7C373,274,348.7,250.5,348.7,221.6z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M490,206.5c-18.7,0-33.9,14.2-33.9,33.8S471.3,274,490,274s33.9-14.3,33.9-33.8S508.7,206.5,490,206.5z M490,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S500.2,260.7,490,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M564,206.5c-18.7,0-33.9,14.2-33.9,33.8S545.3,274,564,274s33.9-14.3,33.9-33.8S582.7,206.5,564,206.5z M564,260.7c-10.2,0-19.1-8.4-19.1-20.5s8.8-20.5,19.1-20.5s19.1,8.3,19.1,20.5S574.2,260.7,564,260.7z"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M654.8,208.5v5.5h-0.5c-3.3-4-9.7-7.6-17.8-7.6c-16.9,0-32.4,14.9-32.4,33.9s15.5,33.7,32.4,33.7 c8.1,0,14.5-3.6,17.8-7.7h0.5v4.9c0,12.9-6.9,19.8-18,19.8c-9.1,0-14.7-6.5-17-12l-12.9,5.4c5,12.1,16.8,20.1,30,20 c17.4,0,32.1-10.2,32.1-35.2v-60.7H654.8z M637.8,260.7c-10.2,0-18.8-8.6-18.8-20.4s8.6-20.6,18.8-20.6s18,8.7,18,20.6 S647.9,260.7,637.8,260.7L637.8,260.7z"}),(0,o.createElement)(i.Rect,{x:"679.2",y:"172.7",class:"st4",fill:e,width:"14.8",height:"99.3"}),(0,o.createElement)(i.Path,{class:"st4",fill:e,d:"M734.7,260.7c-7.6,0-12.9-3.5-16.4-10.2l45.2-18.7L762,228c-2.8-7.6-11.4-21.5-28.9-21.5s-31.9,13.7-31.9,33.8 c0,19,14.3,33.8,33.5,33.8c11.3,0.1,21.9-5.6,28.2-15l-11.5-7.7C747.5,257,742.3,260.7,734.7,260.7z M733.6,219.5 c5.9,0,10.9,2.9,12.5,7.2l-30.2,12.5C715.5,226.2,726,219.5,733.6,219.5L733.6,219.5z"})))},g=e=>{let{size:t=24,border:n=0,className:r,color:a=p}=e;const s=n?-n/t*32:0;return(0,o.createElement)(i.SVG,{className:l()("jetpack-logo",r),width:t,height:t,viewBox:`${s} ${s} ${32-2*s} ${32-2*s}`},(0,o.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:a,stroke:n?"#fff":"transparent",strokeWidth:n,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:`15,19 ${7-.5*s},19 15,${3-s}`}),(0,o.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:`17,${29+s} 17,13 ${25+.5*s},13`}))},b={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 100 100"},(0,o.createElement)(i.Path,{d:"M100,44H72.4l23.9-13.8l-6-10.4L66.4,33.6L80.2,9.7l-10.4-6L56,27.59V0H44v27.6L30.2,3.7l-10.4,6l13.8,23.9 L9.7,19.8l-6,10.4L27.6,44H0V56h27.6L3.7,69.8l6,10.4l23.9-13.8L19.8,90.3l10.4,6L44,72.4V100H56V72.41l13.8,23.9l10.4-6L66.4,66.4 l23.9,13.8l6-10.4L72.4,56H100V44z M50,65.23c-8.41,0-15.23-6.82-15.23-15.23c0-8.41,6.82-15.23,15.23-15.23S65.23,41.59,65.23,50 C65.23,58.41,58.41,65.23,50,65.23z"}))},v={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.7 17",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{d:"m20.7 12.9-.9-11c0-.5-.2-.9-.5-1.3-.3-.3-.8-.5-1.3-.5L1.9 0h-.1c-.2 0-.5 0-.7.1C.9.2.7.4.5.5.4.7.2.9.1 1.1c-.1.2-.1.5-.1.7v.1l.9 13.4c0 .5.2.9.5 1.3.3.2.8.4 1.3.4H3l16.1-2c.4 0 .9-.3 1.1-.6.3-.3.5-.8.5-1.2v-.3zm-3.1.8L4.2 15.3H4c-.4 0-.8-.1-1-.4-.3-.3-.4-.6-.5-1L1.7 3.2v-.1c0-.4.2-.8.5-1 .3-.3.7-.4 1-.4h.1l13.5.1c.4 0 .8.1 1 .4.3.3.4.6.5 1L19 12v.3c0 .4-.2.7-.4 1-.3.2-.6.4-1 .4z"}))},k={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 43",xmlSpace:"preserve"},(0,o.createElement)(i.Path,{transform:"translate(-25)",fillRule:"evenodd",d:"M37 31.908c0 1.376.893 2.268 2.27 2.268H45.9c3.956 0 7.192-1.337 9.392-3.68H37v1.412zM45.901 9H39.27C37.893 9 37 9.893 37 11.269v1.411h18.294C53.093 10.338 49.857 9 45.9 9zm5.787 16.176c0 1.113.726 1.835 1.845 1.835h3.973c.45-1.117.753-2.345.894-3.671h-4.867c-1.119 0-1.845.722-1.845 1.836zm-5.507-7.166c0 1.113.725 1.836 1.844 1.836H58.4a13.644 13.644 0 00-.894-3.672h-9.481c-1.119 0-1.844.723-1.844 1.836zm1.843 7.166c0-1.114-.726-1.836-1.845-1.836H37v3.671h9.18c1.118 0 1.843-.722 1.843-1.835zm-5.508-7.166c0-1.113-.726-1.836-1.844-1.836H37v3.672h3.672c1.118 0 1.844-.723 1.844-1.836zM83.667 21.209c.296-1.437",clipRule:"evenodd"}))},y={foreground:(0,u.m)(),src:(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})))},E=((0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M15.9216 2H2.98533C2.43803 2 1.99023 2.45 1.99023 3V17L5.97062 13H15.9216C16.4689 13 16.9167 12.55 16.9167 12V3C16.9167 2.45 16.4689 2 15.9216 2ZM14.9265 4V11H5.14469L3.98043 12.17V4H14.9265ZM18.9069 6H20.8971C21.4444 6 21.8922 6.45 21.8922 7V22L17.9118 18H6.96572C6.41842 18 5.97062 17.55 5.97062 17V15H18.9069V6Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M3.98042 2H19.9019C20.9965 2 21.8921 2.9 21.8921 4V16C21.8921 17.1 20.9965 18 19.9019 18H5.97061L1.99023 22V4C1.99023 2.9 2.88582 2 3.98042 2ZM5.97061 16H19.9019V4H3.98042V18L5.97061 16Z"}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M11.1114 8H20.0002M11.1113 15H20.0002",stroke:(0,u.m)(),strokeWidth:"1.5"}),(0,o.createElement)(i.Path,{d:"M4 10V6L8 8L4 10Z",fill:(0,u.m)()}),(0,o.createElement)(i.Path,{d:"M4 17V13L8 15L4 17Z",fill:(0,u.m)()}))),(0,u.m)(),(0,o.createElement)(i.SVG,{viewBox:"0 0 24 24"},(0,o.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),(0,o.createElement)(i.G,null,(0,o.createElement)(i.Path,{d:"M4 12V4L11 8L4 12Z"}),(0,o.createElement)(i.Path,{d:"M4 14.5H20V16H4V14.5Z"}),(0,o.createElement)(i.Path,{d:"M4 18.5H13V20H4V18.5Z"}))),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M2.5 7.5V4.5H15.5V7.5H10.5V19.5H7.5V7.5H2.5ZM12.5 9.5H21.5V12.5H18.5V19.5H15.5V12.5H12.5V9.5Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M12.7049 2V6C8.30658 6 4.74414 9.58 4.74414 14C4.74414 18.42 8.30658 22 12.7049 22C17.1032 22 20.6656 18.42 20.6656 14H18.6755C18.6755 17.31 15.9987 20 12.7049 20C9.41113 20 6.73433 17.31 6.73433 14C6.73433 10.69 9.41113 8 12.7049 8V12L17.6804 7L12.7049 2ZM11.6501 12.73L11.4013 14.9L12.068 15.06C12.0753 15.0526 12.0827 15.0447 12.0901 15.0366C12.1131 15.0116 12.1375 14.9851 12.1675 14.97C12.1874 14.96 12.2073 14.9475 12.2272 14.935C12.2471 14.9225 12.2671 14.91 12.287 14.9C12.3268 14.88 12.3865 14.86 12.4362 14.85C12.486 14.84 12.5556 14.83 12.6352 14.83C12.7447 14.83 12.8542 14.85 12.9338 14.88C13.0134 14.91 13.083 14.96 13.1427 15.03C13.2024 15.1 13.2422 15.17 13.2721 15.27C13.302 15.37 13.3119 15.47 13.3119 15.58V15.58C13.3119 15.69 13.3119 15.79 13.2821 15.89C13.2522 15.99 13.2124 16.07 13.1726 16.14C13.1328 16.21 13.0631 16.27 12.9935 16.31C12.9238 16.35 12.8343 16.37 12.7248 16.37C12.5556 16.37 12.4163 16.31 12.3069 16.22C12.1974 16.13 12.1377 15.99 12.1178 15.81H11.2819C11.2819 16.01 11.3317 16.19 11.4113 16.34C11.4909 16.49 11.5904 16.63 11.7297 16.73C11.869 16.83 12.0183 16.92 12.1874 16.97C12.3566 17.02 12.5357 17.05 12.7148 17.05C12.9636 17.05 13.1726 17 13.3517 16.93C13.5308 16.86 13.6801 16.75 13.7995 16.62C13.9189 16.49 14.0085 16.34 14.0682 16.17C14.1279 16 14.1577 15.82 14.1577 15.63C14.1577 15.41 14.1179 15.21 14.0682 15.03C14.0184 14.85 13.9289 14.7 13.8194 14.58C13.7099 14.46 13.5706 14.37 13.4114 14.3C13.2522 14.23 13.0731 14.2 12.8641 14.2C12.7945 14.2 12.7248 14.21 12.6651 14.22C12.6352 14.225 12.6054 14.2325 12.5755 14.24C12.5457 14.2475 12.5158 14.255 12.486 14.26C12.4263 14.27 12.3765 14.29 12.3367 14.31C12.3201 14.3183 12.3035 14.325 12.2876 14.3313C12.2654 14.3401 12.2446 14.3483 12.2272 14.36L12.3367 13.44H14.0284V12.73H11.6501Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M11.9412 2V6C16.3395 6 19.902 9.58 19.902 14C19.902 18.42 16.3395 22 11.9412 22C7.54291 22 3.98047 18.42 3.98047 14H5.97066C5.97066 17.31 8.64746 20 11.9412 20C15.235 20 17.9118 17.31 17.9118 14C17.9118 10.69 15.235 8 11.9412 8V12L6.96575 7L11.9412 2ZM10.8864 12.73L10.6376 14.9L11.3044 15.06C11.3117 15.0526 11.319 15.0447 11.3264 15.0366C11.3494 15.0116 11.3738 14.9851 11.4039 14.97C11.4238 14.96 11.4437 14.9475 11.4636 14.935C11.4835 14.9225 11.5034 14.91 11.5233 14.9C11.5631 14.88 11.6228 14.86 11.6725 14.85C11.7223 14.84 11.792 14.83 11.8716 14.83C11.981 14.83 12.0905 14.85 12.1701 14.88C12.2497 14.91 12.3194 14.96 12.3791 15.03C12.4388 15.1 12.4786 15.17 12.5084 15.27C12.5383 15.37 12.5482 15.47 12.5482 15.58V15.58C12.5482 15.69 12.5482 15.79 12.5184 15.89C12.4885 15.99 12.4487 16.07 12.4089 16.14C12.3691 16.21 12.2995 16.27 12.2298 16.31C12.1601 16.35 12.0706 16.37 11.9611 16.37C11.792 16.37 11.6526 16.31 11.5432 16.22C11.4337 16.13 11.374 15.99 11.3541 15.81H10.5182C10.5182 16.01 10.568 16.19 10.6476 16.34C10.7272 16.49 10.8267 16.63 10.966 16.73C11.1053 16.83 11.2546 16.92 11.4238 16.97C11.5929 17.02 11.7721 17.05 11.9512 17.05C12.1999 17.05 12.4089 17 12.588 16.93C12.7672 16.86 12.9164 16.75 13.0358 16.62C13.1552 16.49 13.2448 16.34 13.3045 16.17C13.3642 16 13.3941 15.82 13.3941 15.63C13.3941 15.41 13.3543 15.21 13.3045 15.03C13.2547 14.85 13.1652 14.7 13.0557 14.58C12.9463 14.46 12.807 14.37 12.6477 14.3C12.4885 14.23 12.3094 14.2 12.1004 14.2C12.0308 14.2 11.9611 14.21 11.9014 14.22C11.8716 14.225 11.8417 14.2325 11.8119 14.24C11.782 14.2475 11.7522 14.255 11.7223 14.26C11.6626 14.27 11.6128 14.29 11.573 14.31C11.5564 14.3183 11.5398 14.325 11.5239 14.3313C11.5017 14.3401 11.481 14.3483 11.4636 14.36L11.573 13.44H13.2647V12.73H10.8864Z"})),(0,o.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(i.Path,{d:"M0 0h24v24H0z",fill:"none"}),(0,o.createElement)(i.Path,{d:"M7 2v11h3v9l7-12h-4l4-8z",fill:"currentColor"}))),w=(0,o.createElement)(i.SVG,{width:"29",height:"21",viewBox:"0 0 29 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(i.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2.79037 0.59375C4.0363 0.59375 5.13102 1.41658 5.47215 2.60947L8.8452 14.4044C8.8486 14.4164 8.85411 14.4273 8.86124 14.4368L12.8572 0.59375H15.0927H21.2721C25.6033 0.59375 28.5066 3.39892 28.5066 7.64565C28.5066 11.9411 25.5272 14.6196 21.0818 14.6196H18.1499H14.3719L13.6379 16.8813C12.9796 18.9095 11.0827 20.2839 8.94152 20.2839C6.80035 20.2839 4.90341 18.9095 4.24517 16.8813L0.137069 4.22276C-0.444671 2.43022 0.898038 0.59375 2.79037 0.59375ZM15.7374 10.4119H20.0156C21.8718 10.4119 22.9856 9.35018 22.9856 7.64565C22.9856 5.93137 21.8718 4.91839 20.0156 4.91839H17.5202L15.7374 10.4119Z",fill:"#000000"}))},12923:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_active"],!1)}},35089:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_current_user_connected"],!1)}},99621:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13419),a=n(92819);function o(){return(0,a.get)((0,r.Pb)(),["jetpack","is_offline_mode"],!1)}},8264:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307),a=n(65736),o=n(55609),i=n(98817),s=n(34613);const __=a.__,{Fill:l,Slot:c}=(0,o.createSlotFill)("JetpackLikesAndSharingPanel");(0,i.registerPlugin)("jetpack-likes-and-sharing-panel",{render:()=>(0,r.createElement)(c,null,(e=>e.length?(0,r.createElement)(s.Z,null,(0,r.createElement)(o.PanelBody,{title:__("Likes and Sharing","jetpack")},e)):null))})},34613:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(69307),a=n(55609),o=n(72067),i=n(98817),s=n(9818),l=n(96483),c=n(47701),u=n.n(c),p=n(81427);const{Fill:d,Slot:m}=(0,a.createSlotFill)("JetpackPluginSidebar");u()((function(){"true"===(0,l.getQueryArg)(window.location.search,"jetpackSidebarIsOpen")&&(0,s.dispatch)("core/interface").enableComplementaryArea("core/edit-post","jetpack-sidebar/jetpack")})),(0,i.registerPlugin)("jetpack-sidebar",{render:()=>(0,r.createElement)(m,null,(e=>e.length?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PluginSidebarMoreMenuItem,{target:"jetpack",icon:(0,r.createElement)(p.IM,null)},"Jetpack"),(0,r.createElement)(o.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:(0,r.createElement)(p.IM,null)},e)):null))})},63066:function(e,t,n){"use strict";var r=n(86989),a=n.n(r),o=n(9818),i=n(65736),s=(n(53961),n(13419));const __=i.__;function l(){const e=(0,s.lQ)();return void 0!==typeof window&&window.location&&e?(0,s.Wp)()||(0,s.Ug)()?`https://wordpress.com/plans/my-plan/${e}`:`${window.location.protocol}//${e.replace("::","/")}/wp-admin/admin.php?page=jetpack#/my-plan`:null}(async()=>{if(void 0!==typeof window&&window.location){if(new URLSearchParams(window.location.search).get("plan_upgraded")){let e=null;e:try{if((0,s.Wp)())break e;const t=await a()({path:"/jetpack/v4/site"});e=JSON.parse(t.data).plan.product_name}finally{const t=l();(0,o.dispatch)("core/notices").createNotice("success",e?(0,i.sprintf)(
/* translators: %s is the plan name, such as Jetpack Premium. */
-__("Congratulations! Your site is now on the %s plan.","jetpack"),e):__("Congratulations! Your site is now on a paid plan.","jetpack"),{isDismissible:!0,...t&&{actions:[{url:c(),label:__("View my plan","jetpack")}]}})}}}})()},44298:function(e,t,n){"use strict";n.d(t,{Qq:function(){return p},X1:function(){return d},Rl:function(){return m},FK:function(){return f},HD:function(){return g},m3:function(){return b}});var r=n(92819),a=n(96483),o=n(65736),i=n(47583),s=n(58014),l=n(4235),c=n(21409),u=n(28069);const __=o.__;function p(e){let{planSlug:t,plan:n,postId:o,postType:i}=e;const c=(0,r.startsWith)(t,"jetpack_")?t:(0,r.get)(n,["path_slug"]),u=(void 0===i?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.Z)().replace("::","/")}/wp-admin/admin.php`,{page:"gutenberg-edit-site",postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(i)?"":"edit";return(0,s.Wp)()?(0,a.addQueryArgs)("/"+(0,r.compact)([e,i,(0,l.Z)(),o]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.Z)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:o,plan_upgraded:1})})();return(0,s.Ug)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,l.Z)()}`,{redirect_to:u,customerType:"business"}):c&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.Z)()}/${c}`,{redirect_to:u})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:r}=(0,c.Z)(t);return!n&&"missing_plan"===r}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:r}=(0,c.Z)(t);return(0,u._)(r,n)}const h=[{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 f(){return(0,r.get)((0,i.Z)(),"jetpack.enable_upgrade_nudge",!1)}const g=e=>(0,r.map)(h,"name").includes(e),b=e=>(0,r.head)((0,r.filter)(h,(t=>{let{name:n}=t;return n===e})))},99230:function(e,t,n){"use strict";n.d(t,{uM:function(){return i},yX:function(){return s},bu:function(){return l}});var r=n(86989),a=n.n(r),o=n(58014);async function i(){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function l(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},57836:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},28069:function(e,t,n){"use strict";n.d(t,{_:function(){return p},Z:function(){return h}});var r=n(65736),a=n(92694),o=n(4981),i=n(1949),s=n(21409),l=n(28137);const __=r.__,c={paid:(0,r._x)("paid","Short label appearing near a block requiring a paid plan","jetpack"),beta:__("beta","jetpack")},u=i.Kc||[];function p(e,t){return"missing_plan"===e&&t.required_plan}function d(e){const t=[];return u.includes(e)&&t.push(c.beta),t}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length?`${e} (${t.join(", ")})`:e}function h(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:i,details:c,unavailableReason:u}=(0,s.Z)(e),h=p(u,c),f=r?"jetpack/":"";if(!i&&!h)return!1;const g=(0,o.registerBlockType)(f+e,{...t,title:m(t.title,d(e))});return h&&(0,a.addFilter)("editor.BlockListBlock",`${f+e}-with-has-warning-is-interactive-class-names`,(0,l.Z)(f+e)),n.forEach((e=>(0,o.registerBlockType)(f+e.name,e.settings))),g}},52291:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98817),a=n(21409);function o(e,t){const{available:n,unavailableReason:o}=(0,a.Z)(e);return!!n&&(0,r.registerPlugin)(`jetpack-${e}`,t)}},41632:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:o},(0,r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},55637:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=(e,t,n,o,i)=>{const{isSelected:s}=t,l=t.attributes[e];return(0,r.createElement)("div",{className:s?`jetpack-${e}-block is-selected`:`jetpack-${e}-block`},!s&&""!==l&&o(t),(s||""===l)&&(0,r.createElement)(a.PlainText,{value:l,placeholder:n,"aria-label":n,onChange:i}))}},58014:function(e,t,n){"use strict";n.d(t,{Wp:function(){return i},Ug:function(){return s},M6:function(){return l}});var r=n(92819),a=n(47583);function o(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===o()}function s(){return"atomic"===o()}function l(){return(0,r.get)((0,a.Z)(),["jetpack","is_private_site"],!1)}},92919:function(e,t,n){"use strict";var r=n(9818),a=n(65736),o=(n(53961),n(82827));const __=a.__;if(void 0!==typeof window&&window.location){const{query:e}=(0,o.Qc)(window.location.href,!0);e.stripe_connect_success?(0,r.dispatch)("core/notices").createNotice("success",__("Congrats! Your site is now connected to Stripe. You can now start accepting funds!","jetpack")):e.stripe_connect_cancelled&&(0,r.dispatch)("core/notices").createNotice("error",__("You cancelled connecting your site to Stripe.","jetpack"))}},87072:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(86989),o=n.n(a);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;return t(!0),new Promise(((n,r)=>{o()({path:`/wpcom/v2/resolve-redirect/?url=${encodeURIComponent(e)}`}).then((a=>{t(!1);const o=a.status?parseInt(a.status,10):null;o&&o>=400?r():n(a.url||e)}),(()=>{t(!1),r()}))}))}},37930:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),a=n(9818),o=n(69307);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t&&t(e),n?window.open(e,"_blank"):window.top.location.href=e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const[n,s]=(0,o.useState)(!1),{isAutosaveablePost:l,isDirtyPost:c,currentPost:u}=(0,a.useSelect)((e=>{const t=e("core/editor");return{isAutosaveablePost:t.isEditedPostAutosaveable(),isDirtyPost:t.isEditedPostDirty(),currentPost:t.getCurrentPost()}}),[]),p=Object.keys(u).length>0,d=(0,a.useSelect)((e=>!!window.wp.customize||!!e("core/edit-widgets"))),m=(0,a.dispatch)("core/editor").savePost,h=(0,a.useSelect)((e=>e("core").__experimentalGetDirtyEntityRecords())),f=async()=>{for(let e=0;e<h.length;e++)await(0,a.dispatch)("core").saveEditedEntityRecord(h[e].kind,h[e].name,h[e].key)},g=async e=>{e.preventDefault(),p?c&&l&&await m(e):await f(e)},b=async r=>{r.preventDefault(),n||(s(!0),g(r).then((()=>{i(e,t,d)})))};return{autosave:g,autosaveAndRedirect:b,isRedirecting:n}}},18733:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(92819),a=n(9818),o=n(92694),i=(n(13180),n(44298)),s=n(37930);const l="a8c.wpcom-block-editor.openCheckoutModal";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const{checkoutUrl:n,planData:c}=(0,a.useSelect)((t=>{const n=t("core/editor"),r=t("wordpress-com/plans"),{id:a,type:o}=n.getCurrentPost(),s=r&&r.getPlan(e);return{checkoutUrl:(0,i.Qq)({plan:s,planSlug:e,postId:a,postType:o}),planData:s}}),[]),{autosave:u,autosaveAndRedirect:p,isRedirecting:d}=(0,s.Z)(n,t),m=async e=>{if(e.preventDefault(),(0,o.hasAction)(l))return e.preventDefault(),u(e),void(0,o.doAction)(l,{products:[c]});p(e)};return[n,m,d,c]}},28137:function(e,t,n){"use strict";var r=n(29183),a=n.n(r),o=n(69307),i=n(94333);t.Z=e=>(0,i.createHigherOrderComponent)((t=>n=>(0,o.createElement)(t,a()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},15111:function(e,t,n){"use strict";n.d(t,{tT:function(){return r},Wp:function(){return a},Vy:function(){return o},_5:function(){return i}});const r="jetpack/media-source",a="is-playing",o="is-error",i="is-paused"},73617:function(e,t,n){"use strict";var r=n(9818),a=n(46169),o=n(15111);if(void 0!==r.createReduxStore){const e=(0,r.createReduxStore)(o.tT,a.Z);(0,r.register)(e)}else(0,r.registerStore)(o.tT,a.Z)},46169:function(e,t,n){"use strict";var r=n(15111);const a={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const n=Object.keys(e.sources);if(e.default?t=e.default:n?.length&&(t=e.sources[n[0]].id),t)return e.sources[t]},getMediaPlayerState:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.state,getMediaSourceCurrentTime:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.currentTime,getMediaSourceDuration(e,t){if(!t){return o.getDefaultMediaSource(e)?.duration}return e.sources?.[t]?.duration},getMediaSourceDomReference(e,t){const n=t?e.sources?.[t]:o.getDefaultMediaSource(e);if(!n)return;const r=n?.domId;return r?document.getElementById(r):void 0}},i={reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;const n=t.id||e.default||Object.keys(e.sources)?.[0];switch(t.type){case"REGISTER_MEDIA_SOURCE":return{...e,sources:{...e.sources,[t.id]:{id:t.id,...t.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...e,sources:{...e.sources,[t.id]:{...e.sources[t.id],...t.data}}};case"UNREGISTER_MEDIA_SOURCE":{const n=Object.assign({},e);return n.sources[t.id]&&delete n.sources[t.id],t.id===e.default&&(n.default=Object.keys(e.sources)?.[0]),n}case"SET_DEFAULT_MEDIA_SOURCE":return{...e,default:t.id};case"SET_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[n]:{...e.sources[n],state:t.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[n]:{...e.sources[n],state:e.sources[n].state===r.Wp?r._5:r.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...e,sources:{...e.sources,[n]:{...e.sources[n],currentTime:t.currentTime}}}}return e},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=i},75139:function(e,t,n){"use strict";n.d(t,{M:function(){return r},X:function(){return a}});var r={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 a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},78850:function(e,t,n){"use strict";n.d(t,{ZP:function(){return i}});var r=n(52141),a=n(63807),o=n(75139);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,o.X)(t);if(!i||isNaN(e))return null;var s=(0,r.Z)({},i,n),l=s.decimal,c=s.grouping,u=s.precision,p=s.symbol,d=e<0?"-":"",m=(0,a.Y4)(Math.abs(e),{decimals:u,thousandsSep:c,decPoint:l});return"".concat(d).concat(p).concat(m)}},94481:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99196),a=n(32365);function o(e,t){let n,a,i=[];for(let r=0;r<e.length;r++){const o=e[r];if("string"!==o.type){if(void 0===t[o.value])throw new Error(`Invalid interpolation, missing component node: \`${o.value}\``);if("object"!=typeof t[o.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${o.value}\``);if("componentClose"===o.type)throw new Error(`Missing opening component token: \`${o.value}\``);if("componentOpen"===o.type){n=t[o.value],a=r;break}i.push(t[o.value])}else i.push(o.value)}if(n){const s=function(e,t){const n=t[e];let r=0;for(let a=e+1;a<t.length;a++){const e=t[a];if(e.value===n.value){if("componentOpen"===e.type){r++;continue}if("componentClose"===e.type){if(0===r)return a;r--}}}throw new Error("Missing closing component token `"+n.value+"`")}(a,e),l=o(e.slice(a+1,s),t),c=(0,r.cloneElement)(n,{},l);if(i.push(c),s<e.length-1){const n=o(e.slice(s+1),t);i=i.concat(n)}}return i=i.filter(Boolean),0===i.length?null:1===i.length?i[0]:(0,r.createElement)(r.Fragment,null,...i)}function i(e){const{mixedString:t,components:n,throwErrors:r}=e;if(!n)return t;if("object"!=typeof n){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const i=(0,a.Z)(t);try{return o(i,n)}catch(e){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}},32365:function(e,t,n){"use strict";function r(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function a(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}n.d(t,{Z:function(){return a}})},47236:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819),a=n(2571);function o(e){(0,r.assign)(e,a.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},59177:function(e,t,n){"use strict";function r(){var e=this;this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=function(t){t.source===e.windowInstance&&e.emit("message",t.data)}}(0,n(47236).Z)(r.prototype),r.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},r.prototype.getScreenCenterSpecs=function(e,t){var n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},r.prototype.isOpen=function(e){var t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},r.prototype.checkStatus=function(){for(var e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},r.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=r},39151:function(e,t,n){"use strict";var r=n(59177);t.Z=function(e,t){var n,a=new r.Z;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(function(){var e={};n&&n.keyring_id&&(e.keyring_id=Number(n.keyring_id),e.id_token=n.id_token,e.user=n.user),t(e)})),a.on("message",(function(e){return n=e}))}},52489:function(e,t,n){"use strict";var r=n(45086),a=n(57275),o=n(45814),i=n(15746),s=n(11268),l=n.n(s),c=n(99196),u=n.n(c),p=n(92819),d=n(13639),m=(n(99889),function(e){return e&&e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,"")}),h=(0,d.SL)((0,d.hs)(80),(0,d.KB)(80)),f=(0,d.SL)((0,d.hs)(200),(0,d.KB)(200)),g=function(e){(0,o.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.url,n=e.type,r=e.title,a=e.description,o=e.image,i=e.author;return u().createElement("div",{className:"facebook-preview facebook-preview__".concat(n)},u().createElement("div",{className:"facebook-preview__content"},u().createElement("div",{className:"facebook-preview__image"},o&&u().createElement("img",{alt:"Facebook Preview Thumbnail",src:o})),u().createElement("div",{className:"facebook-preview__body"},u().createElement("div",{className:"facebook-preview__url"},(0,p.compact)([m(t),i]).join(" | ")),u().createElement("div",{className:"facebook-preview__title"},h(r||"")),u().createElement("div",{className:"facebook-preview__description"},f((0,d.ju)(a))))))}}]),n}(c.PureComponent);g.propTypes={url:l().string,type:l().string,title:l().string,description:l().string,image:l().string,author:l().string},t.Z=g},13639:function(e,t,n){"use strict";n.d(t,{hs:function(){return a},I$:function(){return o},KB:function(){return i},SL:function(){return s},ju:function(){return l}});var r=n(92819),a=function(e){return function(t){return t.length<=e&&t}},o=function(e,t){return function(n){var r=n.slice(0,t),a=r.lastIndexOf(" ");return a>e&&a<t&&r.slice(0,a).concat("…")}},i=function(e){return function(t){return t.slice(0,e).concat("…")}},s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return(0,r.find)(t,(function(t){return!1!==t(e)}))(e)}},l=function(e){return e?e.replace(/(<([^>]+)>)/gi,""):""}},80505:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(11268),a=n.n(r),o=n(99196),i=n.n(o),s=n(13639),l=(n(93474),160),c=(0,s.SL)((0,s.hs)(63),(0,s.I$)(23,73),(0,s.KB)(63)),u=(0,s.SL)((0,s.hs)(l),(0,s.I$)(80,170),(0,s.KB)(l));function p(e){var t=e.description,n=e.title,r=e.url;return i().createElement("div",{className:"search-preview"},i().createElement("div",{className:"search-preview__display"},i().createElement("div",{className:"search-preview__url"},function(e){var t=e.replace(/^[^/]+[/]*/,"").split("/").join(" › ");return(0,s.SL)((0,s.hs)(68),(0,s.KB)(68))(t)}(r)," ▾"),i().createElement("div",{className:"search-preview__title"},c(n)),i().createElement("div",{className:"search-preview__description"},u((0,s.ju)(t)))))}p.propTypes={title:a().string,url:a().string,description:a().string},p.defaultProps={title:"",url:"",description:""}},79465:function(e,t,n){"use strict";var r=n(40988),a=n(49058),o=n(45086),i=n(57275),s=n(45814),l=n(15746),c=n(11268),u=n.n(c),p=n(99196),d=n.n(p),m=n(82943),h=(n(33285),function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props.tweets||[{text:"",media:[],card:(0,a.Z)((0,a.Z)({},this.props),{},{type:"large_image_summary"===this.props.type?"summary_large_image":this.props.type}),date:Date.now(),name:"Account Name",profileImage:"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:"@account"}];return d().createElement("div",{className:"twitter-preview"},e&&e.map((function(t,n){return d().createElement(m.t,(0,r.Z)({key:"twitter-preview__tweet-".concat(n),isLast:n+1===e.length},t))})))}}]),n}(p.PureComponent));h.propTypes={tweets:u().array},t.Z=h},82943:function(e,t,n){"use strict";n.d(t,{t:function(){return k}});var r=n(45086),a=n(57275),o=n(45814),i=n(15746),s=n(89105),l=n.n(s),c=n(11268),u=n.n(c),p=n(99196),d=n.n(p),m=n(76292),h=n.n(m),f=n(65736),g=n(55609),b=n(13639);n(33285);var __=f.__,v=(0,b.SL)((0,b.hs)(200),(0,b.KB)(200)),k=function(e){(0,o.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"renderSidebar",value:function(e,t){return d().createElement("div",{className:"twitter-preview__sidebar"},d().createElement("div",{className:"twitter-preview__profile-image"},d().createElement("img",{alt:__("Twitter profile image","jetpack"),src:e})),!t&&d().createElement("div",{className:"twitter-preview__connector"}))}},{key:"renderHeader",value:function(e,t,n){return d().createElement("div",{className:"twitter-preview__header"},d().createElement("span",{className:"twitter-preview__name"},e),d().createElement("span",{className:"twitter-preview__screen-name"},t),d().createElement("span",{className:"twitter-preview__date"},h()(n).format("MMM D")))}},{key:"renderText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.url||"",a=e.endsWith(r)?e.substr(0,e.lastIndexOf(r)):e,o=t.reduce((function(e,t){return e.replace(new RegExp("\\("+t+"\\)","g"),'(<a href="'.concat(t,'">').concat(t,"</a>)"))}),(0,b.ju)(a).replace(new RegExp("\\n","g"),"<br/>"));return d().createElement("div",{className:"twitter-preview__text",dangerouslySetInnerHTML:{__html:o}})}},{key:"renderMedia",value:function(e){if(e){var t=e.filter((function(e){return e.type.startsWith("image/")||e.type.startsWith("video/")})).filter((function(e,t,n){return 0===t||!n[0].type.startsWith("video/")&&"image/gif"!==n[0].type&&(!e.type.startsWith("video/")&&"image/gif"!==e.type)})).slice(0,4),n=t.length>0&&t[0].type.startsWith("video/"),r=l()(["twitter-preview__media","twitter-preview__media-children-"+t.length]);if(0!==t.length)return d().createElement("div",{className:r},n&&t.map((function(e,t){return d().createElement("video",{key:"twitter-preview__media-item-".concat(t),controls:!0},d().createElement("source",{src:e.url,type:e.type})," ")})),!n&&t.map((function(e,t){return d().createElement("img",{key:"twitter-preview__media-item-".concat(t),alt:e.alt,src:e.url})})))}}},{key:"renderQuoteTweet",value:function(e){if(e)return d().createElement("div",{className:"twitter-preview__quote-tweet"},d().createElement(g.SandBox,{html:'<blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><a href="'.concat(e,'"></a></blockquote>'),scripts:["https://platform.twitter.com/widgets.js"],title:"Embedded tweet",onFocus:this.hideOverlay}),d().createElement("div",{className:"twitter-preview__quote-tweet-overlay"}))}},{key:"renderCard",value:function(e){if(e){var t=e.description,n=e.image,r=e.title,a=e.type,o=e.url,i=l()("twitter-preview__card-".concat(a),{"twitter-preview__card-has-image":!!n});return d().createElement("div",{className:"twitter-preview__card"},d().createElement("div",{className:i},n&&d().createElement("img",{className:"twitter-preview__card-image",src:n,alt:""}),d().createElement("div",{className:"twitter-preview__card-body"},d().createElement("div",{className:"twitter-preview__card-title"},r),d().createElement("div",{className:"twitter-preview__card-description"},v((0,b.ju)(t))),d().createElement("div",{className:"twitter-preview__card-url"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("g",null,d().createElement("path",{d:"M11.96 14.945c-.067 0-.136-.01-.203-.027-1.13-.318-2.097-.986-2.795-1.932-.832-1.125-1.176-2.508-.968-3.893s.942-2.605 2.068-3.438l3.53-2.608c2.322-1.716 5.61-1.224 7.33 1.1.83 1.127 1.175 2.51.967 3.895s-.943 2.605-2.07 3.438l-1.48 1.094c-.333.246-.804.175-1.05-.158-.246-.334-.176-.804.158-1.05l1.48-1.095c.803-.592 1.327-1.463 1.476-2.45.148-.988-.098-1.975-.69-2.778-1.225-1.656-3.572-2.01-5.23-.784l-3.53 2.608c-.802.593-1.326 1.464-1.475 2.45-.15.99.097 1.975.69 2.778.498.675 1.187 1.15 1.992 1.377.4.114.633.528.52.928-.092.33-.394.547-.722.547z"}),d().createElement("path",{d:"M7.27 22.054c-1.61 0-3.197-.735-4.225-2.125-.832-1.127-1.176-2.51-.968-3.894s.943-2.605 2.07-3.438l1.478-1.094c.334-.245.805-.175 1.05.158s.177.804-.157 1.05l-1.48 1.095c-.803.593-1.326 1.464-1.475 2.45-.148.99.097 1.975.69 2.778 1.225 1.657 3.57 2.01 5.23.785l3.528-2.608c1.658-1.225 2.01-3.57.785-5.23-.498-.674-1.187-1.15-1.992-1.376-.4-.113-.633-.527-.52-.927.112-.4.528-.63.926-.522 1.13.318 2.096.986 2.794 1.932 1.717 2.324 1.224 5.612-1.1 7.33l-3.53 2.608c-.933.693-2.023 1.026-3.105 1.026z"}))),function(e){return e.replace(/^[^/]+[/]*(www\.)?/,"").replace(/\/.*$/,"")}(o||"")))))}}},{key:"renderFooter",value:function(){return d().createElement("div",{className:"twitter-preview__footer"},d().createElement("span",{className:"twitter-preview__icon-replies"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M14.046 2.242l-4.148-.01h-.002c-4.374 0-7.8 3.427-7.8 7.802 0 4.098 3.186 7.206 7.465 7.37v3.828c0 .108.044.286.12.403.142.225.384.347.632.347.138 0 .277-.038.402-.118.264-.168 6.473-4.14 8.088-5.506 1.902-1.61 3.04-3.97 3.043-6.312v-.017c-.006-4.367-3.43-7.787-7.8-7.788zm3.787 12.972c-1.134.96-4.862 3.405-6.772 4.643V16.67c0-.414-.335-.75-.75-.75h-.396c-3.66 0-6.318-2.476-6.318-5.886 0-3.534 2.768-6.302 6.3-6.302l4.147.01h.002c3.532 0 6.3 2.766 6.302 6.296-.003 1.91-.942 3.844-2.514 5.176z"}))),d().createElement("span",{className:"twitter-preview__icon-retweets"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M23.77 15.67c-.292-.293-.767-.293-1.06 0l-2.22 2.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414 0-.75.336-.75.75s.336.75.75.75h5.85c1.24 0 2.25 1.01 2.25 2.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06 0s-.294.768 0 1.06l3.5 3.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767 0-1.06zm-10.66 3.28H7.26c-1.24 0-2.25-1.01-2.25-2.25V6.46l2.22 2.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768 0-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06 0l-3.5 3.5c-.294.292-.294.767 0 1.06s.767.293 1.06 0l2.22-2.22V16.7c0 2.068 1.683 3.75 3.75 3.75h5.85c.414 0 .75-.336.75-.75s-.337-.75-.75-.75z"}))),d().createElement("span",{className:"twitter-preview__icon-likes"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"}))),d().createElement("span",{className:"twitter-preview__icon-share"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M17.53 7.47l-5-5c-.293-.293-.768-.293-1.06 0l-5 5c-.294.293-.294.768 0 1.06s.767.294 1.06 0l3.72-3.72V15c0 .414.336.75.75.75s.75-.336.75-.75V4.81l3.72 3.72c.146.147.338.22.53.22s.384-.072.53-.22c.293-.293.293-.767 0-1.06z"}),d().createElement("path",{d:"M19.708 21.944H4.292C3.028 21.944 2 20.916 2 19.652V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 .437.355.792.792.792h15.416c.437 0 .792-.355.792-.792V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 1.264-1.028 2.292-2.292 2.292z"}))))}},{key:"render",value:function(){var e=this.props,t=e.isLast,n=e.profileImage,r=e.name,a=e.screenName,o=e.date,i=e.text,s=e.media,l=e.tweet,c=e.urls,u=e.card;return d().createElement("div",{className:"twitter-preview__container"},this.renderSidebar(n,t),d().createElement("div",{className:"twitter-preview__main"},this.renderHeader(r,a,o),d().createElement("div",{className:"twitter-preview__content"},this.renderText(i,c,u),this.renderMedia(s),this.renderQuoteTweet(l),this.renderCard(u)),this.renderFooter()))}}]),n}(p.PureComponent);k.propTypes={tweets:u().array,isLast:u().bool,profileImage:u().string,name:u().string,screenName:u().string,date:u().number,text:u().string,media:u().array,tweet:u().string,urls:u().array,card:u().object}},48468:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(83712)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},83712:function(e,t,n){e.exports=function(e){function t(e){let n,a=null;function o(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!o.enabled)return;const i=o,s=Number(new Date),l=s-(n||s);i.diff=l,i.prev=n,i.curr=s,n=s,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(i,t),r.splice(c,1),c--}return e})),t.formatArgs.call(i,r);const u=i.log||t.log;u.apply(i,r)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=r,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null===a?t.enabled(e):a,set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},90922:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(31967)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},31967:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},48735:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,a=e.onClick,o=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-fullscreen",o,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:l,height:n,width:n,onClick:a},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21 3v6h-2V6.41l-3.29 3.3-1.42-1.42L17.59 5H15V3zM3 3v6h2V6.41l3.29 3.3 1.42-1.42L6.41 5H9V3zm18 18v-6h-2v2.59l-3.29-3.29-1.41 1.41L17.59 19H15v2zM9 21v-2H6.41l3.29-3.29-1.41-1.42L5 17.59V15H3v6z"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},20651:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,o=e.onClick,s=(e.icon,e.className),l=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-notice-outline",s,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:c,height:a,width:a,onClick:o},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},35381:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,o=e.onClick,s=(e.icon,e.className),l=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-star",s,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:c,height:a,width:a,onClick:o},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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"})))};var a,o=n(99196),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},7104:function(e,t,n){var r;e=n.nmd(e),function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof window&&window;o.global!==o&&o.window!==o&&o.self;var i,s=2147483647,l=36,c=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,h=String.fromCharCode;function f(e){throw RangeError(d[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function b(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(p,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],a=0,o=e.length;a<o;)(t=e.charCodeAt(a++))>=55296&&t<=56319&&a<o?56320==(64512&(n=e.charCodeAt(a++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),a--):r.push(t);return r}function k(e){return g(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?m(e/700):e>>1,e+=m(e/t);e>455;r+=l)e=m(e/35);return m(r+36*e/(e+38))}function w(e){var t,n,r,a,o,i,c,u,p,d,h,g=[],b=e.length,v=0,y=128,w=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&f("not-basic"),g.push(e.charCodeAt(r));for(a=n>0?n+1:0;a<b;){for(o=v,i=1,c=l;a>=b&&f("invalid-input"),((u=(h=e.charCodeAt(a++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l)>=l||u>m((s-v)/i))&&f("overflow"),v+=u*i,!(u<(p=c<=w?1:c>=w+26?26:c-w));c+=l)i>m(s/(d=l-p))&&f("overflow"),i*=d;w=E(v-o,t=g.length+1,0==o),m(v/t)>s-y&&f("overflow"),y+=m(v/t),v%=t,g.splice(v++,0,y)}return k(g)}function _(e){var t,n,r,a,o,i,c,u,p,d,g,b,k,w,_,C=[];for(b=(e=v(e)).length,t=128,n=0,o=72,i=0;i<b;++i)(g=e[i])<128&&C.push(h(g));for(r=a=C.length,a&&C.push("-");r<b;){for(c=s,i=0;i<b;++i)(g=e[i])>=t&&g<c&&(c=g);for(c-t>m((s-n)/(k=r+1))&&f("overflow"),n+=(c-t)*k,t=c,i=0;i<b;++i)if((g=e[i])<t&&++n>s&&f("overflow"),g==t){for(u=n,p=l;!(u<(d=p<=o?1:p>=o+26?26:p-o));p+=l)_=u-d,w=l-d,C.push(h(y(d+_%w,0))),u=m(_/w);C.push(h(y(u,0))),o=E(n,k,r==a),n=0,++r}++n,++t}return C.join("")}i={version:"1.3.2",ucs2:{decode:v,encode:k},decode:w,encode:_,toASCII:function(e){return b(e,(function(e){return u.test(e)?"xn--"+_(e):e}))},toUnicode:function(e){return b(e,(function(e){return c.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},15661:function(e,t,n){"use strict";n.r(t),n.d(t,{ucs2decode:function(){return m},ucs2encode:function(){return h},decode:function(){return b},encode:function(){return v},toASCII:function(){return y},toUnicode:function(){return k}});const r=2147483647,a=36,o=/^xn--/,i=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(l[e])}function d(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(s,".")).split("."),t).join(".");return r+a}function m(e){const t=[];let n=0;const r=e.length;for(;n<r;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t}const h=e=>String.fromCodePoint(...e),f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=a)e=c(e/35);return c(r+36*e/(e+38))},b=function(e){const t=[],n=e.length;let o=0,i=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let d=l>0?l+1:0;d<n;){let l=o;for(let t=1,i=a;;i+=a){d>=n&&p("invalid-input");const l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:a;(l>=a||l>c((r-o)/t))&&p("overflow"),o+=l*t;const m=i<=s?1:i>=s+26?26:i-s;if(l<m)break;const h=a-m;t>c(r/h)&&p("overflow"),t*=h}const m=t.length+1;s=g(o-l,m,0==l),c(o/m)>r-i&&p("overflow"),i+=c(o/m),o%=m,t.splice(o++,0,i)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let n=(e=m(e)).length,o=128,i=0,s=72;for(const n of e)n<128&&t.push(u(n));let l=t.length,d=l;for(l&&t.push("-");d<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const m=d+1;n-o>c((r-i)/m)&&p("overflow"),i+=(n-o)*m,o=n;for(const n of e)if(n<o&&++i>r&&p("overflow"),n==o){let e=i;for(let n=a;;n+=a){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const o=e-r,i=a-r;t.push(u(f(r+o%i,0))),e=c(o/i)}t.push(u(f(e,0))),s=g(i,m,d==l),i=0,++d}++i,++o}return t.join("")},k=function(e){return d(e,(function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e}))},y=function(e){return d(e,(function(e){return i.test(e)?"xn--"+v(e):e}))},E={version:"2.1.0",ucs2:{decode:m,encode:h},decode:b,encode:v,toASCII:y,toUnicode:k};t.default=E},5157:function(e,t,n){"use strict";const r=n(55778),a=n(97115),o=n(63851),i=n(95946);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?a(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const a="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!a&&c(n,e).includes(e.arrayFormatSeparator);n=o?c(n,e):n;const i=a||o?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const a=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!a)return void(r[t]=n?c(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>c(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const a of e.split("&")){if(""===a)continue;let[e,i]=o(t.decode?a.replace(/\+/g," "):a,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:c(i,t),n(c(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=m(n[e],t);else r[e]=m(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=u(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",a,"]"].join("")]:[...n,[l(t,e),"[",l(a,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:(a=null===a?"":a,0===r.length?[[l(n,e),t,l(a,e)].join("")]:[[r,l(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const o=Object.keys(a);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const a=e[n];return void 0===a?"":null===a?l(n,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":a.reduce(r(n),[]).join("&"):l(n,t)+"="+l(a,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=p(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query);let s=t.stringify(i,n);s&&(s=`?${s}`);let c=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c=`#${l(e.fragmentIdentifier,n)}`),`${r}${s}${c}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:i(o,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}},63851:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},55778:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},84080:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},75423:function(e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},87696:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},76202:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},39126:function(e,t,n){"use strict";t.Any=n(26285),t.Cc=n(84080),t.Cf=n(75423),t.P=n(87696),t.Z=n(76202)},26285:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},86841:function(){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},a=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(e){return!1}})()||function(){var a=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof a){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var o=e[r];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var i in e)e.hasOwnProperty(i)&&this.append(i,e[i])}},o=a.prototype;o.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},o.delete=function(e){delete this._entries[e]},o.get=function(e){return e in this._entries?this._entries[e][0]:null},o.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},o.has=function(e){return e in this._entries},o.set=function(e,t){this._entries[e]=[String(t)]},o.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var a=0;a<n.length;a++)e.call(t,n[a],r,this)}},o.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},o.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},o.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=a}();var o=e.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,o=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)r=o[n].split("="),this.append(a(r[0]),r.length>1?a(r[1]):"")}})}("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var r,a=document;if(n&&(void 0===e.location||n!==e.location.href)){n=n.toLowerCase(),(r=(a=document.implementation.createHTMLDocument("")).createElement("base")).href=n,a.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=a.createElement("a");o.href=t,r&&(a.body.appendChild(o),o.href=o.href);var i=a.createElement("input");if(i.type="url",i.value=t,":"===o.protocol||!/:/.test(o.href)||!i.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new e.URLSearchParams(this.search),l=!0,c=!0,u=this;["append","delete","set"].forEach((function(e){var t=s[e];s[e]=function(){t.apply(s,arguments),l&&(c=!1,u.search=s.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var p=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==p&&(p=this.search,c&&(l=!1,this.searchParams._fromString(this.search),l=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},82827:function(e,t,n){"use strict";var r=n(7104),a=n(68070);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.Qc=k,t.WU=function(e){a.isString(e)&&(e=k(e));return e instanceof o?e.format():o.prototype.format.call(e)};var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(76250);function k(e,t,n){if(e&&a.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var k=e=c.join(s);if(k=k.trim(),!n&&1===e.split("#").length){var y=l.exec(k);if(y)return this.path=k,this.href=k,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=i.exec(k);if(E){var w=(E=E[0]).toLowerCase();this.protocol=w,k=k.substr(E.length)}if(n||E||k.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===k.substr(0,2);!_||E&&g[E]||(k=k.substr(2),this.slashes=!0)}if(!g[E]&&(_||E&&!b[E])){for(var C,j,S=-1,x=0;x<d.length;x++){-1!==(T=k.indexOf(d[x]))&&(-1===S||T<S)&&(S=T)}-1!==(j=-1===S?k.lastIndexOf("@"):k.lastIndexOf("@",S))&&(C=k.slice(0,j),k=k.slice(j+1),this.auth=decodeURIComponent(C)),S=-1;for(x=0;x<p.length;x++){var T;-1!==(T=k.indexOf(p[x]))&&(-1===S||T<S)&&(S=T)}-1===S&&(S=k.length),this.host=k.slice(0,S),k=k.slice(S),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var A=this.hostname.split(/\./),P=(x=0,A.length);x<P;x++){var I=A[x];if(I&&!I.match(m)){for(var M="",R=0,L=I.length;R<L;R++)I.charCodeAt(R)>127?M+="x":M+=I[R];if(!M.match(m)){var B=A.slice(0,x),Z=A.slice(x+1),F=I.match(h);F&&(B.push(F[1]),Z.unshift(F[2])),Z.length&&(k="/"+Z.join(".")+k),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=r.toASCII(this.hostname));var D=this.port?":"+this.port:"",O=this.hostname||"";this.host=O+D,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==k[0]&&(k="/"+k))}if(!f[w])for(x=0,P=u.length;x<P;x++){var z=u[x];if(-1!==k.indexOf(z)){var U=encodeURIComponent(z);U===z&&(U=escape(z)),k=k.split(z).join(U)}}var $=k.indexOf("#");-1!==$&&(this.hash=k.substr($),k=k.slice(0,$));var V=k.indexOf("?");if(-1!==V?(this.search=k.substr(V),this.query=k.substr(V+1),t&&(this.query=v.parse(this.query)),k=k.slice(0,V)):t&&(this.search="",this.query={}),k&&(this.pathname=k),b[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var G=this.search||"";this.path=D+G}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(i=v.stringify(this.query));var s=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(k(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(a.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),i=0;i<r.length;i++){var s=r[i];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var p=Object.keys(e),d=0;d<p.length;d++){var m=p[d];n[m]=e[m]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var k=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),E=y||k||n.host&&e.pathname,w=E,_=n.pathname&&n.pathname.split("/")||[],C=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(C&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),E=E&&(""===h[0]||""===_[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=h;else if(h.length)_||(_=[]),_.pop(),_=_.concat(h),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search)){if(C)n.hostname=n.host=_.shift(),(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift());return n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var j=_.slice(-1)[0],S=(n.host||e.host||_.length>1)&&("."===j||".."===j)||""===j,x=0,T=_.length;T>=0;T--)"."===(j=_[T])?_.splice(T,1):".."===j?(_.splice(T,1),x++):x&&(_.splice(T,1),x--);if(!E&&!w)for(;x--;x)_.unshift("..");!E||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),S&&"/"!==_.join("/").substr(-1)&&_.push("");var N,A=""===_[0]||_[0]&&"/"===_[0].charAt(0);C&&(n.hostname=n.host=A?"":_.length?_.shift():"",(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift()));return(E=E||n.host&&_.length)&&!A&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},68070:function(e){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},11043:function(e,t,n){"use strict";var r=n(1625),a=n(99196);t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,o=a.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=o[0];var i=o[1];return o=e.value,e.getCurrentValue===t&&e.subscribe===n||(o=t(),i({getCurrentValue:t,subscribe:n,value:o})),a.useDebugValue(o),a.useEffect((function(){function e(){if(!a){var e=t();i((function(a){return a.getCurrentValue!==t||a.subscribe!==n||a.value===e?a:r({},a,{value:e})}))}}var a=!1,o=n(e);return e(),function(){a=!0,o()}}),[t,n]),o}},20036:function(e,t,n){"use strict";e.exports=n(11043)},61521:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},22199:function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,a=arguments.length;n<a;n++)t.push(arguments[n]);return t}function a(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,a=this.head;null!==a;)n.push(e.call(t,a.value,this)),a=a.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,a=this.tail;null!==a;)n.push(e.call(t,a.value,this)),a=a.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var a=0;null!==r;a++)n=e(n,r.value,a),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var a=this.length-1;null!==r;a--)n=e(n,r.value,a),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=0,o=this.head;null!==o&&a<e;a++)o=o.next;for(;null!==o&&a<t;a++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=this.length,o=this.tail;null!==o&&a>t;a--)o=o.prev;for(;null!==o&&a>e;a--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var i=[];for(r=0;o&&r<t;r++)i.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=a(this,o,n[r]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(61521)(r)}catch(e){}},8964:function(e,t,n){"use strict";e.exports=n.p+"images/eventbrite-in-page-example-c351ec80e4dd5d39433d.png"},90767:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-after-d6db862c442c24ad1c63.png"},58632:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-before-4592b4656108c1429614.png"},96406:function(e,t,n){"use strict";e.exports=n.p+"images/map-preview-97bda80ebb6981457630.jpg"},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},23879:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-2x-3d5d36867a0f3728cc3a.png"},22323:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-5ecd2d5421d74f39e027.png"},60206:function(e,t,n){"use strict";e.exports=n.p+"images/simple-payments_example-1-0273eeccd8d120df4984.jpg"},65784:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-1-07a3f164621235df0419.jpg"},6425:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-2-2ee401e47066229bdac5.jpg"},85983:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-3-0682afca66c485f17ff6.jpg"},37447:function(e,t,n){"use strict";e.exports=n.p+"images/upgrade-illustration-5b3059f7101ac37f4339.svg"},15915:function(e,t,n){"use strict";e.exports=n.p+"images/story_example-1-716db2e4f5a074d302f7.png"},96606:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-1-d2817eb0e669267ab3eb.jpg"},85472:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-2-7d8f0cf8e262f0112691.jpg"},79009:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-3-07a3f164621235df0419.jpg"},10742:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-4-2ee401e47066229bdac5.jpg"},52642:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-5-a1935fd9cf1181168d90.jpg"},41145:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-6-9f9d39c6af0fb4b0d99c.jpg"},41194:function(e,t,n){"use strict";e.exports=n.p+"images/videopress-block-example-image-da9ef73787adca8896f2.jpg"},80405:function(e,t,n){"use strict";e.exports=n.p+"images/example_160x600-ccbc594f54431dafa70d.png"},72473:function(e,t,n){"use strict";e.exports=n.p+"images/example_300x250-5b93e8174f02d48c40b7.png"},38511:function(e,t,n){"use strict";e.exports=n.p+"images/example_320x50-7110edf045141630a222.png"},52203:function(e,t,n){"use strict";e.exports=n.p+"images/example_728x90-d9de384932330b92e1c3.png"},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},76292:function(e){"use strict";e.exports=window.moment},25158:function(e){"use strict";e.exports=window.wp.a11y},42998:function(e){"use strict";e.exports=window.wp.annotations},86989:function(e){"use strict";e.exports=window.wp.apiFetch},11313:function(e){"use strict";e.exports=window.wp.blob},52175:function(e){"use strict";e.exports=window.wp.blockEditor},4981:function(e){"use strict";e.exports=window.wp.blocks},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},69771:function(e){"use strict";e.exports=window.wp.date},47701:function(e){"use strict";e.exports=window.wp.domReady},72067:function(e){"use strict";e.exports=window.wp.editPost},12238:function(e){"use strict";e.exports=window.wp.editor},69307:function(e){"use strict";e.exports=window.wp.element},81975:function(e){"use strict";e.exports=window.wp.escapeHtml},92694:function(e){"use strict";e.exports=window.wp.hooks},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes},53961:function(e){"use strict";e.exports=window.wp.notices},98817:function(e){"use strict";e.exports=window.wp.plugins},70444:function(e){"use strict";e.exports=window.wp.primitives},29512:function(e){"use strict";e.exports=window.wp.tokenList},96483:function(e){"use strict";e.exports=window.wp.url},90162:function(e){"use strict";e.exports=window.wp.viewport},25303:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},45086:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},57275:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return a}})},15746:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6336),a=n(77363),o=n(2102);function i(e){var t=(0,a.Z)();return function(){var n,a=(0,r.Z)(e);if(t){var i=(0,r.Z)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,o.Z)(this,n)}}},12472:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},40988:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},6336:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},45814:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(99112);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},77363:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},49058:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(12472);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},2102:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31344),a=n(25303);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}},99112:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},31344:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},8134:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},14316:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},97024:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8134);function a(e){if(Array.isArray(e))return(0,r.Z)(e)}},55200:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},71687:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},93772:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return a}})},9057:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(72406),a=n(58189),o=n(34621);function i(e){var t=(0,a.Z)();return function(){var n,a=(0,r.Z)(e);if(t){var i=(0,r.Z)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,o.Z)(this,n)}}},98086:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},95672:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},72406:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},82104:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(43051);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},58189:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},40613:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},20120:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],_n=!0,i=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);_n=!0);}catch(e){i=!0,a=e}finally{try{_n||null==n.return||n.return()}finally{if(i)throw a}}return o}}n.d(t,{Z:function(){return r}})},41722:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},56083:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},52141:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(98086);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},59591:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98086);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},34621:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(29504),a=n(55200);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}},43051:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},50572:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(14316),a=n(20120),o=n(33611),i=n(41722);function s(e,t){return(0,r.Z)(e)||(0,a.Z)(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},59128:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(97024),a=n(40613),o=n(33611),i=n(56083);function s(e){return(0,r.Z)(e)||(0,a.Z)(e)||(0,o.Z)(e)||(0,i.Z)()}},29504:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},33611:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8134);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},27655:function(e){"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')},60231:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')},1949:function(e){"use strict";e.exports={Kc:["amazon"]}}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,l),n.loaded=!0,n.exports}l.m=i,l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);l.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},l.d(a,o),a},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(t,n){return l.f[n](e,t),t}),[]))},l.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{390:"87699145e1e11e92e952",860:"d8d32efbe3dcb1077f70"}[e]},l.miniCssF=function(e){return"swiper.css?minify=false&ver=4f0a26962ac03729a198"},function(){if(!l.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;l.miniCssF=(e=l.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",l.l=function(e,t,a,o){if(n[e])n[e].push(t);else{var i,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",r+a),i.src=e),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(m);var a=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((function(e){return e(r)})),t)return t(r)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.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(/\/[^\/]+$/,"/"),l.p=e}(),a=function(e){return new Promise((function(t,n){var r=l.miniCssF(e),a=l.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var a=(i=n[r]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(a===e||a===t))return i}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var i;if((a=(i=o[r]).getAttribute("data-href"))===e||a===t)return i}}(r,a))return t();!function(e,t,n,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(o){if(a.onerror=a.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode.removeChild(a),r(l)}},a.href=t,document.head.appendChild(a)}(e,a,t,n)}))},o={189:0,486:0},l.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=a(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={189:0,486:0};l.f.j=function(t,n){var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var a=new Promise((function(n,a){r=e[t]=[n,a]}));n.push(r[2]=a);var o=l.p+l.u(t),i=new Error;l.l(o,(function(n){if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,r[1](i)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,a,o=n[0],i=n[1],s=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(s)s(l)}for(t&&t(n);c<o.length;c++)a=o[c],l.o(e,a)&&e[a]&&e[a][0](),e[o[c]]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";l(57836),l(6757),l(7616),l(92919),l(26634),l(17269),l(56771),l(58721),l(73617);var e=l(11973);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){const{userid:t,username:n}=window.Jetpack_Editor_Initial_State.tracksUserData;e.Z.initialize(t,n,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}}(),function(){"use strict";var e=l(28069),t=l(8042);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(32278);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(79884);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(75494);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(28069),t=l(20195);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(28069),t=l(63445);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(45166);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(92694),n=l(52175),r=l(55609),a=l(65736),o=l(47271);const __=a.__,i=t=>{if(t.isDeprecation)return t;if("core/embed"!==t.name)return t;const{edit:a}=t;return{...t,edit:(0,r.withNotices)((t=>{const{noticeOperations:i,noticeUI:s,onReplace:l}=t,{url:c}=t.attributes,{isGatheringStorm:u,unleashStorm:p}=(0,o.Z)({onReplace:l});return"twitter"!==t.attributes.providerNameSlug?(0,e.createElement)(a,t):(0,e.createElement)(e.Fragment,null,s,(0,e.createElement)(n.BlockControls,null,(0,e.createElement)(r.ToolbarGroup,{className:"gathering-tweetstorms__embed-toolbar"},(0,e.createElement)(r.ToolbarButton,{className:"gathering-tweetstorms__embed-toolbar-button",onClick:()=>p(c,i),label:__("Import the entire Twitter thread directly into this post.","jetpack"),showTooltip:!0,disabled:u||!c},__("Unroll","jetpack")),u&&(0,e.createElement)(r.ToolbarItem,{as:r.Spinner}))),(0,e.createElement)(a,t))}))}};(0,t.addFilter)("blocks.registerBlockType","jetpack/gathering-tweetstorms",i)}(),function(){"use strict";var e=l(28069),t=l(31072);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(13984);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(1624);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(77007);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(66916);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(28069),t=l(19916);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(92828);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(7882);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(5458);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(18161);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(58495);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(72228);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(28069),t=l(84807);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(28069),t=l(82163);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(32051);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(57368);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(8223);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(93636),n=l(59770);(0,e.Z)(t.u2,t.Xd,[{name:n.u2,settings:n.Xd}])}(),function(){"use strict";var e=l(96594);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(91994);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(71730);(0,l(52291).Z)(e.u,e.X)}(),function(){"use strict";var e=l(28069),t=l(35289);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(94120);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(98817),n=l(42366),r=l(21409),a=l(58014);(0,l(52291).Z)(n.u2,n.Xd);const o=(0,r.Z)("social-previews")?.available;!o&&(0,a.Wp)()&&(0,t.registerPlugin)(`jetpack-${n.u2}-upgrade-nudge`,{render:()=>(0,e.createElement)(n.w6,{showUpgradeNudge:!0})})}(),function(){"use strict";var e=l(28069),t=l(20222);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(57211);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(28069),t=l(80349);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(29183),t=l.n(e),n=l(69307),r=l(55609),a=l(11313),o=l(4981),i=l(12238),s=l(52175),c=l(92694),u=l(94333),p=l(65736),d=l(92819),m=l(6976),h=l(64089),f=l(21409),g=l(71486),b=l(4207),v=l(3082),k=l(58014),y=l(28137),E=l(41194);const __=p.__,w=(0,u.createHigherOrderComponent)((e=>a=>{const{name:o}=(0,s.useBlockEditContext)();return"core/video"!==o?(0,n.createElement)(e,a):(0,n.createElement)(e,t()({},a,{disableDropZone:!0,className:"no-videopress-media-placeholder"}),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",isSecondary:!0},__("Media Library","jetpack")),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",isSecondary:!0},__("Upload","jetpack")))}),"videoPressNoPlanMediaPlaceholder"),_=(e,t,n)=>("core/video"!==t.name||!n.guid||n.className?.indexOf("wp-block-video")>=0||n.videoPressClassNames||(e.className=e.className.replace("wp-block-video","").trim()),e);(0,c.addFilter)("blocks.registerBlockType","jetpack/videopress",((e,t)=>{if("core/embed"===t)return(e=>{if(!("variations"in e)||"object"!=typeof e.variations)return;const{available:t}=(0,f.Z)("videopress");e.variations.some((e=>"videopress"===e.name&&(t&&(e.scope=[]),e.patterns.push(/^https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?$/i),!0)))})(e),e;if("core/video"!==t||e.isDeprecation)return e;const{deprecated:n,edit:r,save:s,supports:l,transforms:u}=e,{available:p,unavailableReason:C}=(0,f.Z)("videopress");if(((0,k.Wp)()||(0,k.Ug)())&&["missing_plan","unknown"].includes(C)?((0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",w),(0,c.addFilter)("editor.BlockListBlock","jetpack/videopress-with-has-warning-is-interactive-class-names",(0,y.Z)("core/video"))):p&&(e.description=__("Embed a video from your media library or upload a new one with VideoPress.","jetpack"),e.example.attributes={caption:"",isVideoPressExample:!0,src:E}),(0,c.addFilter)("blocks.getSaveContent.extraProps","jetpack/videopress",_,20),p||["missing_plan","missing_module","unknown"].includes(C)){const t={autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string"},useAverageColor:{type:"boolean"},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"}},c=/https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?/i;return{...e,attributes:t,transforms:{...u,from:[{type:"files",isMatch:e=>(0,d.every)(e,(e=>0===e.type.indexOf("video/"))),priority:9,transform:(e,t)=>{const n=[];return e.forEach((e=>{const r=(0,o.createBlock)("core/video",{src:(0,a.createBlobURL)(e)});(0,i.mediaUpload)({filesList:[e],onFileChange:e=>{let[{id:n,url:a}]=e;t(r.clientId,{id:n,src:a})},allowedTypes:["video"]}),n.push(r)})),n}},{type:"raw",isMatch:e=>"P"===e.nodeName&&c.test(e.innerHTML),transform:e=>{const t=c.exec(e.innerHTML);return(0,o.createBlock)("core/embed",{url:"https://videopress.com/v/"+t[1].trim()})}}]},supports:{...l,reusable:!1},edit:(0,m.Z)(r),save:(0,h.Z)(s),deprecated:[...n||[],v.Z,{attributes:t,isEligible:e=>!e.guid,save:s,supports:l,isDeprecation:!0},b.Z,g.Z]}}return e}),5)}(),function(){"use strict";var e=l(28069),t=l(62086);(0,e.Z)(t.u2,t.Xd)}()}(); \ No newline at end of file
+__("Congratulations! Your site is now on the %s plan.","jetpack"),e):__("Congratulations! Your site is now on a paid plan.","jetpack"),{isDismissible:!0,...t&&{actions:[{url:l(),label:__("View my plan","jetpack")}]}})}}}})()},45092:function(e,t,n){"use strict";n.d(t,{bu:function(){return l},uM:function(){return i},yX:function(){return s}});var r=n(86989),a=n.n(r),o=n(13419);async function i(){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function l(e){if((0,o.Wp)())return Promise.reject();try{return await a()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},80425:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},31985:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(65736),a=n(92694),o=n(4981),i=n(13419),s=n(1949);const __=r.__,l={paid:(0,r._x)("paid","Short label appearing near a block requiring a paid plan","jetpack"),beta:__("beta","jetpack")},c=s.Kc||[];function u(e){const t=[];return c.includes(e)&&t.push(l.beta),t}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length?`${e} (${t.join(", ")})`:e}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:s,details:l,unavailableReason:c}=(0,i.OZ)(e),d=(0,i._D)(c,l),m=r?"jetpack/":"";if(!s&&!d)return!1;const h=(0,o.registerBlockType)(m+e,{...t,title:p(t.title,u(e))});return d&&(0,a.addFilter)("editor.BlockListBlock",`${m+e}-with-has-warning-is-interactive-class-names`,(0,i.T)(m+e)),n.forEach((e=>(0,o.registerBlockType)(m+e.name,e.settings))),h}},36598:function(e,t,n){"use strict";var r=n(69307),a=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:o},(0,r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},66425:function(e,t,n){"use strict";var r=n(69307),a=n(52175);t.Z=(e,t,n,o,i)=>{const{isSelected:s}=t,l=t.attributes[e];return(0,r.createElement)("div",{className:s?`jetpack-${e}-block is-selected`:`jetpack-${e}-block`},!s&&""!==l&&o(t),(s||""===l)&&(0,r.createElement)(a.PlainText,{value:l,placeholder:n,"aria-label":n,onChange:i}))}},92713:function(e,t,n){"use strict";var r=n(9818),a=n(65736);n(53961);const __=a.__;if("undefined"!=typeof window&&window.location){const e=new URLSearchParams(window.location.search);e.get("stripe_connect_success")?(0,r.dispatch)("core/notices").createNotice("success",__("Congrats! Your site is now connected to Stripe. You can now start accepting funds!","jetpack")):e.get("stripe_connect_cancelled")&&(0,r.dispatch)("core/notices").createNotice("error",__("You cancelled connecting your site to Stripe.","jetpack"))}},23621:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),a=n(86989),o=n.n(a);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;return t(!0),new Promise(((n,r)=>{o()({path:`/wpcom/v2/resolve-redirect/?url=${encodeURIComponent(e)}`}).then((a=>{t(!1);const o=a.status?parseInt(a.status,10):null;o&&o>=400?r():n(a.url||e)}),(()=>{t(!1),r()}))}))}},46867:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),a=n(9818),o=n(69307);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t&&t(e),n?window.open(e,"_blank"):window.top.location.href=e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const[n,s]=(0,o.useState)(!1),{isAutosaveablePost:l,isDirtyPost:c,currentPost:u}=(0,a.useSelect)((e=>{const t=e("core/editor");return{isAutosaveablePost:t.isEditedPostAutosaveable(),isDirtyPost:t.isEditedPostDirty(),currentPost:t.getCurrentPost()}}),[]),p=Object.keys(u).length>0,d=(0,a.useSelect)((e=>!!window.wp.customize||!!e("core/edit-widgets"))),m=(0,a.dispatch)("core/editor").savePost,h=(0,a.useSelect)((e=>e("core").__experimentalGetDirtyEntityRecords())),f=async()=>{for(let e=0;e<h.length;e++)await(0,a.dispatch)("core").saveEditedEntityRecord(h[e].kind,h[e].name,h[e].key)},g=async e=>{e.preventDefault(),p?c&&l&&await m(e):await f(e)},b=async r=>{r.preventDefault(),n||(s(!0),g(r).then((()=>{i(e,t,d)})))};return{autosave:g,autosaveAndRedirect:b,isRedirecting:n}}},78798:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(92819),a=n(13419),o=n(9818),i=n(92694),s=(n(87553),n(46867));const l="a8c.wpcom-block-editor.openCheckoutModal";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.noop;const{checkoutUrl:n,planData:c}=(0,o.useSelect)((t=>{const n=t("core/editor"),r=t("wordpress-com/plans"),{id:o,type:i}=n.getCurrentPost(),s=r&&r.getPlan(e);return{checkoutUrl:(0,a.Qq)({plan:s,planSlug:e,postId:o,postType:i}),planData:s}}),[]),{autosave:u,autosaveAndRedirect:p,isRedirecting:d}=(0,s.Z)(n,t),m=async e=>{if(e.preventDefault(),(0,i.hasAction)(l))return e.preventDefault(),u(e),void(0,i.doAction)(l,{products:[c]});p(e)};return[n,m,d,c]}},97115:function(e,t,n){"use strict";n.d(t,{Vy:function(){return o},Wp:function(){return a},_5:function(){return i},tT:function(){return r}});const r="jetpack/media-source",a="is-playing",o="is-error",i="is-paused"},14688:function(e,t,n){"use strict";var r=n(9818),a=n(66858),o=n(97115);if(void 0!==r.createReduxStore){const e=(0,r.createReduxStore)(o.tT,a.Z);(0,r.register)(e)}else(0,r.registerStore)(o.tT,a.Z)},66858:function(e,t,n){"use strict";var r=n(97115);const a={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const n=Object.keys(e.sources);if(e.default?t=e.default:null!=n&&n.length&&(t=e.sources[n[0]].id),t)return e.sources[t]},getMediaPlayerState(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);return null==r?void 0:r.state},getMediaSourceCurrentTime(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);return null==r?void 0:r.currentTime},getMediaSourceDuration(e,t){var n,r;if(!t){const t=o.getDefaultMediaSource(e);return null==t?void 0:t.duration}return null===(n=e.sources)||void 0===n||null===(r=n[t])||void 0===r?void 0:r.duration},getMediaSourceDomReference(e,t){var n;const r=t?null===(n=e.sources)||void 0===n?void 0:n[t]:o.getDefaultMediaSource(e);if(!r)return;const a=null==r?void 0:r.domId;return a?document.getElementById(a):void 0}},i={reducer(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,n=arguments.length>1?arguments[1]:void 0;const o=n.id||t.default||(null===(e=Object.keys(t.sources))||void 0===e?void 0:e[0]);switch(n.type){case"REGISTER_MEDIA_SOURCE":return{...t,sources:{...t.sources,[n.id]:{id:n.id,...n.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...t,sources:{...t.sources,[n.id]:{...t.sources[n.id],...n.data}}};case"UNREGISTER_MEDIA_SOURCE":{const e=Object.assign({},t);var i;if(e.sources[n.id]&&delete e.sources[n.id],n.id===t.default)e.default=null===(i=Object.keys(t.sources))||void 0===i?void 0:i[0];return e}case"SET_DEFAULT_MEDIA_SOURCE":return{...t,default:n.id};case"SET_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:n.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:t.sources[o].state===r.Wp?r._5:r.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...t,sources:{...t.sources,[o]:{...t.sources[o],currentTime:n.currentTime}}}}return t},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:r.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=i},6247:function(e,t,n){"use strict";n.r(t),n.d(t,{saveProduct:function(){return v},setApiState:function(){return h},setConnectUrl:function(){return m},setProducts:function(){return d},setShouldUpgrade:function(){return f},setSiteSlug:function(){return g},setUpgradeUrl:function(){return b}});var r=n(25607),a=n(86989),o=n.n(a),i=n(65736),s=n(23267),l=n(46529),c=n(79162),u=n(14436),p=n(51585);const __=i.__,d=e=>({type:"SET_PRODUCTS",products:e}),m=e=>({type:"SET_CONNECT_URL",connectUrl:e}),h=e=>({type:"SET_API_STATE",apiState:e}),f=e=>({type:"SET_SHOULD_UPGRADE",shouldUpgrade:e}),g=e=>({type:"SET_SITE_SLUG",siteSlug:e}),b=e=>({type:"SET_UPGRADE_URL",upgradeUrl:e}),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.Bn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{};return async u=>{let{dispatch:m,registry:h}=u;const{title:f,price:g,currency:b}=e;if(!f||0===f.length)return(0,l.q)((0,p.l)("product requires a name",t),h),void a(!1);const v=parseFloat(g),k=(0,c.hj)(b);if(v<k)return(0,l.q)((0,i.sprintf)(// translators: %s: Price
+__("Minimum allowed price is %s.","jetpack"),(0,r.ZP)(k,b)),h),void a(!1);if(!(0,c.vs)(b,v))return(0,l.q)((0,p.l)("product requires a valid price",t),h),void a(!1);try{const r=await o()({path:"/wpcom/v2/memberships/product",method:"POST",data:e}),i={id:r.id,title:r.title,interval:r.interval,price:r.price,currency:r.currency},c=h.select(s.G4).getProducts();m(d(c.concat([i]))),n(i.id),(0,l.w)((0,p.l)("successfully created product",t),h),a(!0)}catch(e){(0,l.q)((0,p.l)("there was an error when adding the product",t),h),a(!1)}}}},23267:function(e,t,n){"use strict";n.d(t,{G4:function(){return r},P:function(){return i},cH:function(){return o},lp:function(){return a}});const r="jetpack/membership-products",a=0,o=1,i=2},7652:function(e,t,n){"use strict";n.d(t,{h:function(){return c}});var r=n(9818),a=n(6247),o=n(93100),i=n(20360),s=n(93245),l=n(23267);const c=(0,r.createReduxStore)(l.G4,{actions:a,reducer:o.Z,resolvers:i,selectors:s,__experimentalUseThunks:!0});(0,r.register)(c)},93100:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});const r={products:[],apiState:n(23267).lp,connectUrl:null,shouldUpgrade:!1,siteSlug:"",upgradeUrl:null};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PRODUCTS":return{...e,products:t.products};case"SET_CONNECT_URL":return{...e,connectUrl:t.connectUrl};case"SET_API_STATE":return{...e,apiState:t.apiState};case"SET_SHOULD_UPGRADE":return{...e,shouldUpgrade:t.shouldUpgrade};case"SET_SITE_SLUG":return{...e,siteSlug:t.siteSlug};case"SET_UPGRADE_URL":return{...e,upgradeUrl:t.upgradeUrl}}return e}},20360:function(e,t,n){"use strict";n.r(t),n.d(t,{getProducts:function(){return E}});var r=n(86989),a=n.n(r),o=n(12238),i=n(96483),s=n(6247),l=n(46529),c=n(23267),u=n(74251),p=n(14436),d=n(51585),m=n(73905);const h="membership-products-resolver-getProducts";let f=!1;const g=async()=>{var e,t;const n=(0,i.getQueryArg)(window.location.href,"origin"),r=(0,i.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===n?"gutenberg-wpcom":"gutenberg",type:"all",is_editable:!0}),o=await a()({path:r,method:"GET"});if(!o&&"object"!=typeof o)throw new Error("Unexpected API response");const s=(null==o?void 0:o.errors)&&(null===(e=Object.values(o.errors))||void 0===e||null===(t=e[0])||void 0===t?void 0:t[0]);if(s)throw new Error(s);return o},b=(e,t,n)=>{const r=t.select(o.store).getCurrentPostId();n((0,s.setConnectUrl)((0,u.Z)(r,e.connect_url))),n((0,s.setShouldUpgrade)(e.should_upgrade_to_access_memberships)),n((0,s.setSiteSlug)(e.site_slug)),n((0,s.setUpgradeUrl)(e.upgrade_url)),n((0,s.setProducts)(e.products)),n((0,s.setApiState)(e.connected_account_id?c.cH:c.P))},v=async(e,t,n)=>{await n((0,s.saveProduct)({title:(0,d.l)("default new product title",e),currency:"USD",price:5,interval:"1 month"},e,t))},k=e=>!e.products.length&&!e.should_upgrade_to_access_memberships&&e.connected_account_id,y=(e,t,n)=>{var r;if(e)return;const a=null===(r=n.getProductsNoResolver()[0])||void 0===r?void 0:r.id;a&&t(a)},E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.Bn,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};return async r=>{let{dispatch:a,registry:o,select:i}=r;if(await m.Z.blockExecution(h),f)return void y(t,n,i);const u=m.Z.acquire(h);try{const r=await g();b(r,o,a),k(r)&&await v(e,n,a),y(t,n,i),f=!0}catch(e){a((0,s.setConnectUrl)(null)),a((0,s.setApiState)(c.P)),(0,l.q)(e.message,o)}m.Z.release(u)}}},93245:function(e,t,n){"use strict";n.r(t),n.d(t,{getApiState:function(){return a},getConnectUrl:function(){return o},getProduct:function(){return l},getProducts:function(){return i},getProductsNoResolver:function(){return s},getShouldUpgrade:function(){return c},getSiteSlug:function(){return u},getUpgradeUrl:function(){return p},isApiStateConnected:function(){return d},isApiStateLoading:function(){return m},isInvalidProduct:function(){return h}});var r=n(23267);const a=e=>e.apiState,o=e=>e.connectUrl,i=e=>e.products,s=e=>i(e),l=(e,t)=>i(e).find((e=>e.id===t)),c=e=>e.shouldUpgrade,u=e=>e.siteSlug,p=e=>!!c(e)&&e.upgradeUrl,d=e=>e.apiState===r.cH,m=e=>e.apiState===r.lp,h=(e,t)=>!!t&&!l(e,t)},46529:function(e,t,n){"use strict";n.d(t,{q:function(){return a},w:function(){return o}});var r=n(53961);const a=(e,t)=>t.dispatch(r.store).createErrorNotice(e,{type:"snackbar"}),o=(e,t)=>t.dispatch(r.store).createSuccessNotice(e,{type:"snackbar"})},43317:function(e,t,n){"use strict";n.d(t,{M:function(){return r},X:function(){return a}});const r={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 a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},25607:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});var r=n(43317),a=n(5375);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=(0,r.X)(t);if(!o||isNaN(e))return null;const{decimal:s,grouping:l,precision:c,symbol:u}={...o,...n},p=e<0?"-":"";let d=(0,a.Z)(Math.abs(e),c,s,l);return n.stripZeros&&(d=i(d,s)),`${p}${u}${d}`}function i(e,t){const n=new RegExp(`\\${t}0+$`);return e.replace(n,"")}},5375:function(e,t,n){"use strict";function r(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";const o=(e+"").replace(/[^0-9+\-Ee.]/g,""),i=isFinite(+o)?+o:0,s=isFinite(+t)?Math.abs(t):0,l=(s?r(i,s):""+Math.round(i)).split(".");return l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(l[1]||"").length<s&&(l[1]=l[1]||"",l[1]+=new Array(s-l[1].length+1).join("0")),l.join(n)}n.d(t,{Z:function(){return a}})},81530:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53184);function a(e){Object.assign(e,r.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},7211:function(e,t,n){"use strict";function r(){this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=e=>{e.source===this.windowInstance&&this.emit("message",e.data)}}(0,n(81530).Z)(r.prototype),r.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},r.prototype.getScreenCenterSpecs=function(e,t){const n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},r.prototype.isOpen=function(e){let t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},r.prototype.checkStatus=function(){for(const e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},r.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=r},39229:function(e,t,n){"use strict";var r=n(7211);t.Z=function(e,t){var n,a=new r.Z;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(function(){var e={};n&&n.keyring_id&&(e.keyring_id=Number(n.keyring_id),e.id_token=n.id_token,e.user=n.user),t(e)})),a.on("message",(function(e){return n=e}))}},79988:function(e,t,n){"use strict";var r=n(92819),a=n(25162),o=n.n(a),i=n(99196),s=n(21987),l=(n(59961),n(94362));const c=e=>e&&e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,""),u=(0,s.SL)((0,s.hs)(80),(0,s.KB)(80)),p=(0,s.SL)((0,s.hs)(200),(0,s.KB)(200));class d extends i.PureComponent{render(){const{url:e,type:t,title:n,description:a,image:o,author:i}=this.props;return(0,l.tZ)("div",{className:`facebook-preview facebook-preview__${t}`,children:(0,l.BX)("div",{className:"facebook-preview__content",children:[(0,l.tZ)("div",{className:"facebook-preview__image",children:o&&(0,l.tZ)("img",{alt:"Facebook Preview Thumbnail",src:o})}),(0,l.BX)("div",{className:"facebook-preview__body",children:[(0,l.tZ)("div",{className:"facebook-preview__url",children:(0,r.compact)([c(e),i]).join(" | ")}),(0,l.tZ)("div",{className:"facebook-preview__title",children:u(n||"")}),(0,l.tZ)("div",{className:"facebook-preview__description",children:p((0,s.ju)(a))})]})]})})}}d.propTypes={url:o().string,type:o().string,title:o().string,description:o().string,image:o().string,author:o().string},t.Z=d},21987:function(e,t,n){"use strict";n.d(t,{I$:function(){return o},KB:function(){return i},SL:function(){return s},hs:function(){return a},ju:function(){return l}});var r=n(92819);const a=e=>t=>t.length<=e&&t,o=(e,t)=>n=>{const r=n.slice(0,t),a=r.lastIndexOf(" ");return a>e&&a<t&&r.slice(0,a).concat("…")},i=e=>t=>t.slice(0,e).concat("…"),s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>(0,r.find)(t,(t=>!1!==t(e)))(e)},l=e=>e?e.replace(/(<([^>]+)>)/gi,""):""},27143:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(25162),a=n.n(r),o=n(21987),i=(n(18783),n(94362));const s=160,l=e=>{const t=e.replace(/^[^/]+[/]*/,"").split("/").join(" › ");return(0,o.SL)((0,o.hs)(68),(0,o.KB)(68))(t)},c=(0,o.SL)((0,o.hs)(63),(0,o.I$)(23,73),(0,o.KB)(63)),u=(0,o.SL)((0,o.hs)(s),(0,o.I$)(80,170),(0,o.KB)(s));function p(e){let{description:t,title:n,url:r}=e;return(0,i.tZ)("div",{className:"search-preview",children:(0,i.BX)("div",{className:"search-preview__display",children:[(0,i.BX)("div",{className:"search-preview__url",children:[l(r)," ▾"]}),(0,i.tZ)("div",{className:"search-preview__title",children:c(n)}),(0,i.tZ)("div",{className:"search-preview__description",children:u((0,o.ju)(t))})]})})}p.propTypes={title:a().string,url:a().string,description:a().string},p.defaultProps={title:"",url:"",description:""}},50149:function(e,t,n){"use strict";var r=n(25162),a=n.n(r),o=n(99196),i=n(43667),s=(n(58449),n(94362));class l extends o.PureComponent{render(){const e=this.props.tweets||[{text:"",media:[],card:{...this.props,type:"large_image_summary"===this.props.type?"summary_large_image":this.props.type},date:Date.now(),name:"Account Name",profileImage:"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:"@account"}];return(0,s.tZ)("div",{className:"twitter-preview",children:e&&e.map(((t,n)=>(0,s.tZ)(i.t,{isLast:n+1===e.length,...t},`twitter-preview__tweet-${n}`)))})}}l.propTypes={tweets:a().array},t.Z=l},43667:function(e,t,n){"use strict";n.d(t,{t:function(){return g}});var r=n(55609),a=n(65736),o=n(65235),i=n.n(o),s=n(76292),l=n.n(s),c=n(25162),u=n.n(c),p=n(99196),d=n(21987),m=(n(58449),n(94362));const __=a.__,h=e=>e.replace(/^[^/]+[/]*(www\.)?/,"").replace(/\/.*$/,""),f=(0,d.SL)((0,d.hs)(200),(0,d.KB)(200));class g extends p.PureComponent{renderSidebar(e,t){return(0,m.BX)("div",{className:"twitter-preview__sidebar",children:[(0,m.tZ)("div",{className:"twitter-preview__profile-image",children:(0,m.tZ)("img",{alt:__("Twitter profile image","jetpack"),src:e})}),!t&&(0,m.tZ)("div",{className:"twitter-preview__connector"})]})}renderHeader(e,t,n){return(0,m.BX)("div",{className:"twitter-preview__header",children:[(0,m.tZ)("span",{className:"twitter-preview__name",children:e}),(0,m.tZ)("span",{className:"twitter-preview__screen-name",children:t}),(0,m.tZ)("span",{className:"twitter-preview__date",children:l()(n).format("MMM D")})]})}renderText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).url||"",r=e.endsWith(n)?e.substr(0,e.lastIndexOf(n)):e,a=t.reduce(((e,t)=>e.replace(new RegExp("\\("+t+"\\)","g"),`(<a href="${t}">${t}</a>)`)),(0,d.ju)(r).replace(new RegExp("\\n","g"),"<br/>"));return(0,m.tZ)("div",{className:"twitter-preview__text",dangerouslySetInnerHTML:{__html:a}})}renderMedia(e){if(!e)return;const t=e.filter((e=>e.type.startsWith("image/")||e.type.startsWith("video/"))).filter(((e,t,n)=>0===t||!n[0].type.startsWith("video/")&&"image/gif"!==n[0].type&&(!e.type.startsWith("video/")&&"image/gif"!==e.type))).slice(0,4),n=t.length>0&&t[0].type.startsWith("video/"),r=i()(["twitter-preview__media","twitter-preview__media-children-"+t.length]);return 0!==t.length?(0,m.BX)("div",{className:r,children:[n&&t.map(((e,t)=>(0,m.BX)("video",{controls:!0,children:[(0,m.tZ)("source",{src:e.url,type:e.type})," "]},`twitter-preview__media-item-${t}`))),!n&&t.map(((e,t)=>(0,m.tZ)("img",{alt:e.alt,src:e.url},`twitter-preview__media-item-${t}`)))]}):void 0}renderQuoteTweet(e){if(e)return(0,m.BX)("div",{className:"twitter-preview__quote-tweet",children:[(0,m.tZ)(r.SandBox,{html:`<blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><a href="${e}"></a></blockquote>`,scripts:["https://platform.twitter.com/widgets.js"],title:"Embedded tweet",onFocus:this.hideOverlay}),(0,m.tZ)("div",{className:"twitter-preview__quote-tweet-overlay"})]})}renderCard(e){if(!e)return;const{description:t,image:n,title:r,type:a,url:o}=e,s=i()(`twitter-preview__card-${a}`,{"twitter-preview__card-has-image":!!n});return(0,m.tZ)("div",{className:"twitter-preview__card",children:(0,m.BX)("div",{className:s,children:[n&&(0,m.tZ)("img",{className:"twitter-preview__card-image",src:n,alt:""}),(0,m.BX)("div",{className:"twitter-preview__card-body",children:[(0,m.tZ)("div",{className:"twitter-preview__card-title",children:r}),(0,m.tZ)("div",{className:"twitter-preview__card-description",children:f((0,d.ju)(t))}),(0,m.BX)("div",{className:"twitter-preview__card-url",children:[(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.BX)("g",{children:[(0,m.tZ)("path",{d:"M11.96 14.945c-.067 0-.136-.01-.203-.027-1.13-.318-2.097-.986-2.795-1.932-.832-1.125-1.176-2.508-.968-3.893s.942-2.605 2.068-3.438l3.53-2.608c2.322-1.716 5.61-1.224 7.33 1.1.83 1.127 1.175 2.51.967 3.895s-.943 2.605-2.07 3.438l-1.48 1.094c-.333.246-.804.175-1.05-.158-.246-.334-.176-.804.158-1.05l1.48-1.095c.803-.592 1.327-1.463 1.476-2.45.148-.988-.098-1.975-.69-2.778-1.225-1.656-3.572-2.01-5.23-.784l-3.53 2.608c-.802.593-1.326 1.464-1.475 2.45-.15.99.097 1.975.69 2.778.498.675 1.187 1.15 1.992 1.377.4.114.633.528.52.928-.092.33-.394.547-.722.547z"}),(0,m.tZ)("path",{d:"M7.27 22.054c-1.61 0-3.197-.735-4.225-2.125-.832-1.127-1.176-2.51-.968-3.894s.943-2.605 2.07-3.438l1.478-1.094c.334-.245.805-.175 1.05.158s.177.804-.157 1.05l-1.48 1.095c-.803.593-1.326 1.464-1.475 2.45-.148.99.097 1.975.69 2.778 1.225 1.657 3.57 2.01 5.23.785l3.528-2.608c1.658-1.225 2.01-3.57.785-5.23-.498-.674-1.187-1.15-1.992-1.376-.4-.113-.633-.527-.52-.927.112-.4.528-.63.926-.522 1.13.318 2.096.986 2.794 1.932 1.717 2.324 1.224 5.612-1.1 7.33l-3.53 2.608c-.933.693-2.023 1.026-3.105 1.026z"})]})}),h(o||"")]})]})]})})}renderFooter(){return(0,m.BX)("div",{className:"twitter-preview__footer",children:[(0,m.tZ)("span",{className:"twitter-preview__icon-replies",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M14.046 2.242l-4.148-.01h-.002c-4.374 0-7.8 3.427-7.8 7.802 0 4.098 3.186 7.206 7.465 7.37v3.828c0 .108.044.286.12.403.142.225.384.347.632.347.138 0 .277-.038.402-.118.264-.168 6.473-4.14 8.088-5.506 1.902-1.61 3.04-3.97 3.043-6.312v-.017c-.006-4.367-3.43-7.787-7.8-7.788zm3.787 12.972c-1.134.96-4.862 3.405-6.772 4.643V16.67c0-.414-.335-.75-.75-.75h-.396c-3.66 0-6.318-2.476-6.318-5.886 0-3.534 2.768-6.302 6.3-6.302l4.147.01h.002c3.532 0 6.3 2.766 6.302 6.296-.003 1.91-.942 3.844-2.514 5.176z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-retweets",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M23.77 15.67c-.292-.293-.767-.293-1.06 0l-2.22 2.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414 0-.75.336-.75.75s.336.75.75.75h5.85c1.24 0 2.25 1.01 2.25 2.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06 0s-.294.768 0 1.06l3.5 3.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767 0-1.06zm-10.66 3.28H7.26c-1.24 0-2.25-1.01-2.25-2.25V6.46l2.22 2.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768 0-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06 0l-3.5 3.5c-.294.292-.294.767 0 1.06s.767.293 1.06 0l2.22-2.22V16.7c0 2.068 1.683 3.75 3.75 3.75h5.85c.414 0 .75-.336.75-.75s-.337-.75-.75-.75z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-likes",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-share",children:(0,m.BX)("svg",{viewBox:"0 0 24 24",children:[(0,m.tZ)("path",{d:"M17.53 7.47l-5-5c-.293-.293-.768-.293-1.06 0l-5 5c-.294.293-.294.768 0 1.06s.767.294 1.06 0l3.72-3.72V15c0 .414.336.75.75.75s.75-.336.75-.75V4.81l3.72 3.72c.146.147.338.22.53.22s.384-.072.53-.22c.293-.293.293-.767 0-1.06z"}),(0,m.tZ)("path",{d:"M19.708 21.944H4.292C3.028 21.944 2 20.916 2 19.652V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 .437.355.792.792.792h15.416c.437 0 .792-.355.792-.792V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 1.264-1.028 2.292-2.292 2.292z"})]})})]})}render(){const{isLast:e,profileImage:t,name:n,screenName:r,date:a,text:o,media:i,tweet:s,urls:l,card:c}=this.props;return(0,m.BX)("div",{className:"twitter-preview__container",children:[this.renderSidebar(t,e),(0,m.BX)("div",{className:"twitter-preview__main",children:[this.renderHeader(n,r,a),(0,m.BX)("div",{className:"twitter-preview__content",children:[this.renderText(o,l,c),this.renderMedia(i),this.renderQuoteTweet(s),this.renderCard(c)]}),this.renderFooter()]})]})}}g.propTypes={tweets:u().array,isLast:u().bool,profileImage:u().string,name:u().string,screenName:u().string,date:u().number,text:u().string,media:u().array,tweet:u().string,urls:u().array,card:u().object}},51128:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(62942)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},62942:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(73171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},60686:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(5728)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5728:function(e,t,n){e.exports=function(e){function t(e){let n,a,o,i=null;function s(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];if(!s.enabled)return;const o=s,i=Number(new Date),l=i-(n||i);o.diff=l,o.prev=n,o.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";c++;const a=t.formatters[n];if("function"==typeof a){const t=r[c];e=a.call(o,t),r.splice(c,1),c--}return e})),t.formatArgs.call(o,r);const u=o.log||t.log;u.apply(o,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(73171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},99891:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-fullscreen",s,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M21 3v6h-2V6.41l-3.29 3.3-1.42-1.42L17.59 5H15V3zM3 3v6h2V6.41l3.29 3.3 1.42-1.42L6.41 5H9V3zm18 18v-6h-2v2.59l-3.29-3.29-1.41 1.41L17.59 19H15v2zM9 21v-2H6.41l3.29-3.29-1.41-1.42L5 17.59V15H3v6z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},73139:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-notice-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},89933:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o),c=["gridicon","gridicons-star",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.891 5.82 21l2.002-7.141L2 9.257l7.418-.304z"})))};var r,a=(r=n(99196))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},60300:function(e,t,n){"use strict";n.r(t),n.d(t,{decode:function(){return b},encode:function(){return v},toASCII:function(){return y},toUnicode:function(){return k},ucs2decode:function(){return m},ucs2encode:function(){return h}});const r=2147483647,a=36,o=/^xn--/,i=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(l[e])}function d(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(s,".")).split("."),t).join(".");return r+a}function m(e){const t=[];let n=0;const r=e.length;for(;n<r;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t}const h=e=>String.fromCodePoint(...e),f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=a)e=c(e/35);return c(r+36*e/(e+38))},b=function(e){const t=[],n=e.length;let o=0,i=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let d=l>0?l+1:0;d<n;){let l=o;for(let t=1,i=a;;i+=a){d>=n&&p("invalid-input");const l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:a;(l>=a||l>c((r-o)/t))&&p("overflow"),o+=l*t;const m=i<=s?1:i>=s+26?26:i-s;if(l<m)break;const h=a-m;t>c(r/h)&&p("overflow"),t*=h}const m=t.length+1;s=g(o-l,m,0==l),c(o/m)>r-i&&p("overflow"),i+=c(o/m),o%=m,t.splice(o++,0,i)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let n=(e=m(e)).length,o=128,i=0,s=72;for(const n of e)n<128&&t.push(u(n));let l=t.length,d=l;for(l&&t.push("-");d<n;){let n=r;for(const t of e)t>=o&&t<n&&(n=t);const m=d+1;n-o>c((r-i)/m)&&p("overflow"),i+=(n-o)*m,o=n;for(const n of e)if(n<o&&++i>r&&p("overflow"),n==o){let e=i;for(let n=a;;n+=a){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const o=e-r,i=a-r;t.push(u(f(r+o%i,0))),e=c(o/i)}t.push(u(f(e,0))),s=g(i,m,d==l),i=0,++d}++i,++o}return t.join("")},k=function(e){return d(e,(function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e}))},y=function(e){return d(e,(function(e){return i.test(e)?"xn--"+v(e):e}))},E={version:"2.1.0",ucs2:{decode:m,encode:h},decode:b,encode:v,toASCII:y,toUnicode:k};t.default=E},40230:function(e,t,n){"use strict";const r=n(31259),a=n(22424),o=n(86785),i=n(68017);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?a(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const a="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!a&&c(n,e).includes(e.arrayFormatSeparator);n=o?c(n,e):n;const i=a||o?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const a=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!a)return void(r[t]=n?c(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>c(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const a of e.split("&")){if(""===a)continue;let[e,i]=o(t.decode?a.replace(/\+/g," "):a,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:c(i,t),n(c(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=m(n[e],t);else r[e]=m(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=u(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",a,"]"].join("")]:[...n,[l(t,e),"[",l(a,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:(a=null===a?"":a,0===r.length?[[l(n,e),t,l(a,e)].join("")]:[[r,l(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const o=Object.keys(a);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const a=e[n];return void 0===a?"":null===a?l(n,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":a.reduce(r(n),[]).join("&"):l(n,t)+"="+l(a,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=p(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query);let s=t.stringify(i,n);s&&(s=`?${s}`);let c=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c=`#${l(e.fragmentIdentifier,n)}`),`${r}${s}${c}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:i(o,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}},86785:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},31259:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},23427:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(75908),a=n(9106),o=n(85016),i=n(11662);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}var u=function(){function e(t){s(this,e),this._file=t,this.size=t.size}return c(e,[{key:"slice",value:function(e,t){if((0,o.Z)())return(0,i.Z)(this._file.slice(e,t));var n=this._file.slice(e,t);return Promise.resolve({value:n})}},{key:"close",value:function(){}}]),e}(),p=function(){function e(t,n){s(this,e),this._chunkSize=n,this._buffer=void 0,this._bufferOffset=0,this._reader=t,this._done=!1}return c(e,[{key:"slice",value:function(e,t){return e<this._bufferOffset?Promise.reject(new Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(e,t)}},{key:"_readUntilEnoughDataOrDone",value:function(e,t){var n=this,r=t<=this._bufferOffset+d(this._buffer);if(this._done||r){var a=this._getDataFromBuffer(e,t),o=null==a&&this._done;return Promise.resolve({value:a,done:o})}return this._reader.read().then((function(r){var a=r.value;return r.done?n._done=!0:void 0===n._buffer?n._buffer=a:n._buffer=function(e,t){if(e.concat)return e.concat(t);if(e instanceof Blob)return new Blob([e,t],{type:e.type});if(e.set){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}throw new Error("Unknown data type")}(n._buffer,a),n._readUntilEnoughDataOrDone(e,t)}))}},{key:"_getDataFromBuffer",value:function(e,t){e>this._bufferOffset&&(this._buffer=this._buffer.slice(e-this._bufferOffset),this._bufferOffset=e);var n=0===d(this._buffer);return this._done&&n?null:this._buffer.slice(0,t-e)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}]),e}();function d(e){return void 0===e?0:void 0!==e.size?e.size:e.length}var m=function(){function e(){s(this,e)}return c(e,[{key:"openFile",value:function(e,t){return(0,r.Z)()&&e&&void 0!==e.uri?(0,a.Z)(e.uri).then((function(e){return new u(e)})).catch((function(e){throw new Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(e))})):"function"==typeof e.slice&&void 0!==e.size?Promise.resolve(new u(e)):"function"==typeof e.read?(t=+t,isFinite(t)?Promise.resolve(new p(e,t)):Promise.reject(new Error("cannot create source for stream without a finite value for the `chunkSize` option"))):Promise.reject(new Error("source object may only be an instance of File, Blob, or Reader in this environment"))}}]),e}()},41264:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(75908);function a(e,t){return(0,r.Z)()?Promise.resolve(function(e,t){var n=e.exif?function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return t}(JSON.stringify(e.exif)):"noexif";return["tus-rn",e.name||"noname",e.size||"nosize",n,t.endpoint].join("/")}(e,t)):Promise.resolve(["tus-br",e.name,e.type,e.size,e.lastModified,t.endpoint].join("-"))}},56940:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}n.d(t,{Z:function(){return i}});var i=function(){function e(){r(this,e)}return o(e,[{key:"createRequest",value:function(e,t){return new s(e,t)}},{key:"getName",value:function(){return"XHRHttpStack"}}]),e}(),s=function(){function e(t,n){r(this,e),this._xhr=new XMLHttpRequest,this._xhr.open(t,n,!0),this._method=t,this._url=n,this._headers={}}return o(e,[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(e,t){this._xhr.setRequestHeader(e,t),this._headers[e]=t}},{key:"getHeader",value:function(e){return this._headers[e]}},{key:"setProgressHandler",value:function(e){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(t){t.lengthComputable&&e(t.loaded)})}},{key:"send",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new Promise((function(n,r){e._xhr.onload=function(){n(new l(e._xhr))},e._xhr.onerror=function(e){r(e)},e._xhr.send(t)}))}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}(),l=function(){function e(t){r(this,e),this._xhr=t}return o(e,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(e){return this._xhr.getResponseHeader(e)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}()},99537:function(e,t,n){"use strict";n.d(t,{gq:function(){return y}});var r=n(63620),a=n(85799),o=n(15866),i=n(56940),s=n(23427),l=n(41264);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(){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 f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=b({},r.Z.defaultOptions,{httpStack:new i.Z,fileReader:new s.Z,urlStorage:o.H?new o.n:new a.Z,fingerprint:l.Z}),y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,a,o,i=(t=s,function(){var e,n=f(t);if(h()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u(this,s),t=b({},k,{},t),i.call(this,e,t)}return n=s,o=[{key:"terminate",value:function(e,t,n){return t=b({},k,{},t),r.Z.terminate(e,t,n)}}],(a=null)&&p(n.prototype,a),o&&p(n,o),s}(r.Z),E=window,w=E.XMLHttpRequest,_=E.Blob;w&&_&&_.prototype.slice},85016:function(e,t){"use strict";t.Z=function(){return"undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)}},75908:function(e,t){"use strict";t.Z=function(){return"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()}},11662:function(e,t,n){"use strict";function r(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(){var e=new Uint8Array(r.result);t({value:e})},r.onerror=function(e){n(e)},r.readAsArrayBuffer(e)}))}n.d(t,{Z:function(){return r}})},9106:function(e,t,n){"use strict";function r(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.responseType="blob",r.onload=function(){var e=r.response;t(e)},r.onerror=function(e){n(e)},r.open("GET",e),r.send()}))}n.d(t,{Z:function(){return r}})},15866:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{H:function(){return i},n:function(){return s}});var a=!1;try{a="localStorage"in window;var o="tusSupport";localStorage.setItem(o,localStorage.getItem(o))}catch(e){if(e.code!==e.SECURITY_ERR&&e.code!==e.QUOTA_EXCEEDED_ERR)throw e;a=!1}var i=a,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,n=[{key:"findAllUploads",value:function(){var e=this._findEntries("tus::");return Promise.resolve(e)}},{key:"findUploadsByFingerprint",value:function(e){var t=this._findEntries("tus::".concat(e,"::"));return Promise.resolve(t)}},{key:"removeUpload",value:function(e){return localStorage.removeItem(e),Promise.resolve()}},{key:"addUpload",value:function(e,t){var n=Math.round(1e12*Math.random()),r="tus::".concat(e,"::").concat(n);return localStorage.setItem(r,JSON.stringify(t)),Promise.resolve(r)}},{key:"_findEntries",value:function(e){for(var t=[],n=0;n<localStorage.length;n++){var r=localStorage.key(n);if(0===r.indexOf(e))try{var a=JSON.parse(localStorage.getItem(r));a.urlStorageKey=r,t.push(a)}catch(e){}}return t}}],n&&r(t.prototype,n),a&&r(t,a),e}()},56971:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;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,r)}function r(){return i(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,e)},o(e)}function i(e,t,n){return i=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&l(a,n.prototype),a},i.apply(null,arguments)}function s(){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 l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(o,e);var t,n=(t=o,function(){var e,n=c(t);if(s()){var r=c(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function o(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(r(this,o),(t=n.call(this,e)).originalRequest=i,t.originalResponse=s,t.causingError=a,null!=a&&(e+=", caused by ".concat(a.toString())),null!=i){var l=i.getHeader("X-Request-ID")||"n/a",c=i.getMethod(),u=i.getURL(),p=s?s.getStatus():"n/a",d=s?s.getBody()||"":"n/a";e+=", originated from request (method: ".concat(c,", url: ").concat(u,", response code: ").concat(p,", response text: ").concat(d,", request id: ").concat(l,")")}return t.message=e,t}return o}(o(Error));t.Z=u},51336:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=!1;function a(e){r&&console.log(e)}},85799:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,(n=[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(e){return Promise.resolve([])}},{key:"removeUpload",value:function(e){return Promise.resolve()}},{key:"addUpload",value:function(e,t){return Promise.resolve(null)}}])&&r(t.prototype,n),a&&r(t,a),e}()},63620:function(e,t,n){"use strict";var r=n(84097),a=n(41294),o=n.n(a),i=n(56971),s=n(51336),l=n(98184);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var m={endpoint:null,uploadUrl:null,metadata:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,_onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:null,chunkSize:1/0,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null},h=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"resume"in n&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=n,this._urlStorage=this.options.urlStorage,this.file=t,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}var t,n,r;return t=e,n=[{key:"findPreviousUploads",value:function(){var e=this;return this.options.fingerprint(this.file,this.options).then((function(t){return e._urlStorage.findUploadsByFingerprint(t)}))}},{key:"resumeFromPreviousUpload",value:function(e){this.url=e.uploadUrl||null,this._parallelUploadUrls=e.parallelUploadUrls||null,this._urlStorageKey=e.urlStorageKey}},{key:"start",value:function(){var e=this,t=this.file;if(t)if(this.options.endpoint||this.options.uploadUrl){var n=this.options.retryDelays;null==n||"[object Array]"===Object.prototype.toString.call(n)?(this.options.parallelUploads>1&&["uploadUrl","uploadSize","uploadLengthDeferred"].forEach((function(t){e.options[t]&&e._emitError(new Error("tus: cannot use the ".concat(t," option when parallelUploads is enabled")))})),this.options.fingerprint(t,this.options).then((function(n){return null==n?(0,s.c)("No fingerprint was calculated meaning that the upload cannot be stored in the URL storage."):(0,s.c)("Calculated fingerprint: ".concat(n)),e._fingerprint=n,e._source?e._source:e.options.fileReader.openFile(t,e.options.chunkSize)})).then((function(t){e._source=t,e.options.parallelUploads>1||null!=e._parallelUploadUrls?e._startParallelUpload():e._startSingleUpload()})).catch((function(t){e._emitError(t)}))):this._emitError(new Error("tus: the `retryDelays` option must either be an array or null"))}else this._emitError(new Error("tus: neither an endpoint or an upload URL is provided"));else this._emitError(new Error("tus: no file or stream to upload provided"))}},{key:"_startParallelUpload",value:function(){var t=this,n=this._size=this._source.size,r=0;this._parallelUploads=[];var a=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,o=function(e,t,n){for(var r=Math.floor(e/t),a=[],o=0;o<t;o++)a.push({start:r*o,end:r*(o+1)});return a[t-1].end=e,n&&a.forEach((function(e,t){e.uploadUrl=n[t]||null})),a}(this._source.size,a,this._parallelUploadUrls);this._parallelUploadUrls=new Array(o.length);var i,l=o.map((function(a,i){var s=0;return t._source.slice(a.start,a.end).then((function(l){var c=l.value;return new Promise((function(l,p){var d=u({},t.options,{uploadUrl:a.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,metadata:{},headers:u({},t.options.headers,{"Upload-Concat":"partial"}),onSuccess:l,onError:p,onProgress:function(e){r=r-s+e,s=e,t._emitProgress(r,n)},_onUploadUrlAvailable:function(){t._parallelUploadUrls[i]=m.url,t._parallelUploadUrls.filter((function(e){return!!e})).length===o.length&&t._saveUploadInUrlStorage()}}),m=new e(c,d);m.start(),t._parallelUploads.push(m)}))}))}));Promise.all(l).then((function(){(i=t._openRequest("POST",t.options.endpoint)).setHeader("Upload-Concat","final;".concat(t._parallelUploadUrls.join(" ")));var e=f(t.options.metadata);return""!==e&&i.setHeader("Upload-Metadata",e),t._sendRequest(i,null)})).then((function(e){if(g(e.getStatus(),200)){var n=e.getHeader("Location");null!=n?(t.url=y(t.options.endpoint,n),(0,s.c)("Created upload at ".concat(t.url)),t._emitSuccess()):t._emitHttpError(i,e,"tus: invalid or missing Location header")}else t._emitHttpError(i,e,"tus: unexpected response while creating upload")})).catch((function(e){t._emitError(e)}))}},{key:"_startSingleUpload",value:function(){if(this.options.uploadLengthDeferred)this._size=null;else if(null!=this.options.uploadSize){if(this._size=+this.options.uploadSize,isNaN(this._size))return void this._emitError(new Error("tus: cannot convert `uploadSize` option into a number"))}else if(this._size=this._source.size,null==this._size)return void this._emitError(new Error("tus: cannot automatically derive upload's size from input and must be specified manually using the `uploadSize` option"));return this._aborted=!1,null!=this.url?((0,s.c)("Resuming upload from previous URL: ".concat(this.url)),void this._resumeUpload()):null!=this.options.uploadUrl?((0,s.c)("Resuming upload from provided URL: ".concat(this.options.url)),this.url=this.options.uploadUrl,void this._resumeUpload()):((0,s.c)("Creating a new upload"),void this._createUpload())}},{key:"abort",value:function(t){var n=this;if(arguments.length>1&&"function"==typeof arguments[1])throw new Error("tus: the abort function does not accept a callback since v2 anymore; please use the returned Promise instead");return null!=this._parallelUploads&&this._parallelUploads.forEach((function(e){e.abort(t)})),null!==this._req&&(this._req.abort(),this._source.close()),this._aborted=!0,null!=this._retryTimeout&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),t&&null!=this.url?e.terminate(this.url,this.options).then((function(){return n._removeFromUrlStorage()})):Promise.resolve()}},{key:"_emitHttpError",value:function(e,t,n,r){this._emitError(new i.Z(n,r,e,t))}},{key:"_emitError",value:function(e){var t=this;if(!this._aborted){if(null!=this.options.retryDelays&&(null!=this._offset&&this._offset>this._offsetBeforeRetry&&(this._retryAttempt=0),k(e,this._retryAttempt,this.options))){var n=this.options.retryDelays[this._retryAttempt++];return this._offsetBeforeRetry=this._offset,void(this._retryTimeout=setTimeout((function(){t.start()}),n))}if("function"!=typeof this.options.onError)throw e;this.options.onError(e)}}},{key:"_emitSuccess",value:function(){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),"function"==typeof this.options.onSuccess&&this.options.onSuccess()}},{key:"_emitProgress",value:function(e,t){"function"==typeof this.options.onProgress&&this.options.onProgress(e,t)}},{key:"_emitChunkComplete",value:function(e,t,n){"function"==typeof this.options.onChunkComplete&&this.options.onChunkComplete(e,t,n)}},{key:"_createUpload",value:function(){var e=this;if(this.options.endpoint){var t=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?t.setHeader("Upload-Defer-Length",1):t.setHeader("Upload-Length",this._size);var n,r=f(this.options.metadata);""!==r&&t.setHeader("Upload-Metadata",r),this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,n=this._addChunkToRequest(t)):n=this._sendRequest(t,null),n.then((function(n){if(g(n.getStatus(),200)){var r=n.getHeader("Location");if(null!=r){if(e.url=y(e.options.endpoint,r),(0,s.c)("Created upload at ".concat(e.url)),"function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),0===e._size)return e._emitSuccess(),void e._source.close();e._saveUploadInUrlStorage(),e.options.uploadDataDuringCreation?e._handleUploadResponse(t,n):(e._offset=0,e._performUpload())}else e._emitHttpError(t,n,"tus: invalid or missing Location header")}else e._emitHttpError(t,n,"tus: unexpected response while creating upload")})).catch((function(n){e._emitHttpError(t,null,"tus: failed to create upload",n)}))}else this._emitError(new Error("tus: unable to create upload because no endpoint is provided"))}},{key:"_resumeUpload",value:function(){var e=this,t=this._openRequest("HEAD",this.url);this._sendRequest(t,null).then((function(n){var r=n.getStatus();if(!g(r,200))return g(r,400)&&e._removeFromUrlStorage(),423===r?void e._emitHttpError(t,n,"tus: upload is currently locked; retry later"):e.options.endpoint?(e.url=null,void e._createUpload()):void e._emitHttpError(t,n,"tus: unable to resume upload (new upload cannot be created without an endpoint)");var a=parseInt(n.getHeader("Upload-Offset"),10);if(isNaN(a))e._emitHttpError(t,n,"tus: invalid or missing offset value");else{var o=parseInt(n.getHeader("Upload-Length"),10);if(!isNaN(o)||e.options.uploadLengthDeferred){if("function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),a===o)return e._emitProgress(o,o),void e._emitSuccess();e._offset=a,e._performUpload()}else e._emitHttpError(t,n,"tus: invalid or missing length value")}})).catch((function(n){e._emitHttpError(t,null,"tus: failed to resume upload",n)}))}},{key:"_performUpload",value:function(){var e,t=this;this._aborted||(this.options.overridePatchMethod?(e=this._openRequest("POST",this.url)).setHeader("X-HTTP-Method-Override","PATCH"):e=this._openRequest("PATCH",this.url),e.setHeader("Upload-Offset",this._offset),this._addChunkToRequest(e).then((function(n){g(n.getStatus(),200)?t._handleUploadResponse(e,n):t._emitHttpError(e,n,"tus: unexpected response while uploading chunk")})).catch((function(n){t._aborted||t._emitHttpError(e,null,"tus: failed to upload chunk at offset ".concat(t._offset),n)})))}},{key:"_addChunkToRequest",value:function(e){var t=this,n=this._offset,r=this._offset+this.options.chunkSize;return e.setProgressHandler((function(e){t._emitProgress(n+e,t._size)})),e.setHeader("Content-Type","application/offset+octet-stream"),(r===1/0||r>this._size)&&!this.options.uploadLengthDeferred&&(r=this._size),this._source.slice(n,r).then((function(n){var r=n.value,a=n.done;return t.options.uploadLengthDeferred&&a&&(t._size=t._offset+(r&&r.size?r.size:0),e.setHeader("Upload-Length",t._size)),null===r?t._sendRequest(e):(t._emitProgress(t._offset,t._size),t._sendRequest(e,r))}))}},{key:"_handleUploadResponse",value:function(e,t){var n=parseInt(t.getHeader("Upload-Offset"),10);if(isNaN(n))this._emitHttpError(e,t,"tus: invalid or missing offset value");else{if(this._emitProgress(n,this._size),this._emitChunkComplete(n-this._offset,n,this._size),this._offset=n,n==this._size)return this._emitSuccess(),void this._source.close();this._performUpload()}}},{key:"_openRequest",value:function(e,t){var n=b(e,t,this.options);return this._req=n,n}},{key:"_removeFromUrlStorage",value:function(){var e=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch((function(t){e._emitError(t)})),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var e=this;if(this.options.storeFingerprintForResuming&&this._fingerprint){var t={size:this._size,metadata:this.options.metadata,creationTime:(new Date).toString()};this._parallelUploads?t.parallelUploadUrls=this._parallelUploadUrls:t.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,t).then((function(t){return e._urlStorageKey=t})).catch((function(t){e._emitError(t)}))}}},{key:"_sendRequest",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return v(e,t,this.options)}}],r=[{key:"terminate",value:function(t,n){if(arguments.length>1&&"function"==typeof arguments[arguments.length-1])throw new Error("tus: the terminate function does not accept a callback since v2 anymore; please use the returned Promise instead");void 0===n&&(n={});var r=b("DELETE",t,n);return v(r,null,n).then((function(e){if(204!==e.getStatus())throw new i.Z("tus: unexpected response while terminating upload",null,r,e)})).catch((function(a){if(a instanceof i.Z||(a=new i.Z("tus: failed to terminate upload",a,r,null)),!k(a,0,n))throw a;var o=n.retryDelays[0],s=n.retryDelays.slice(1),l=u({},n,{retryDelays:s});return new Promise((function(e){return setTimeout(e,o)})).then((function(){return e.terminate(t,l)}))}))}}],n&&d(t.prototype,n),r&&d(t,r),e}();function f(e){var t=[];for(var n in e)t.push("".concat(n," ").concat(r.Base64.encode(e[n])));return t.join(",")}function g(e,t){return e>=t&&e<t+100}function b(e,t,n){var r=n.httpStack.createRequest(e,t);r.setHeader("Tus-Resumable","1.0.0");var a=n.headers||{};for(var o in a)r.setHeader(o,a[o]);if(n.addRequestId){var i=(0,l.Z)();r.setHeader("X-Request-ID",i)}return r}function v(e,t,n){return("function"==typeof n.onBeforeRequest?Promise.resolve(n.onBeforeRequest(e)):Promise.resolve()).then((function(){return e.send(t).then((function(t){return("function"==typeof n.onAfterResponse?Promise.resolve(n.onAfterResponse(e,t)):Promise.resolve()).then((function(){return t}))}))}))}function k(e,t,n){if(null==n.retryDelays||t>=n.retryDelays.length||null==e.originalRequest)return!1;if(n&&"function"==typeof n.onShouldRetry)return n.onShouldRetry(e,t,n);var r,a=e.originalResponse?e.originalResponse.getStatus():0;return(!g(a,400)||409===a||423===a)&&(r=!0,"undefined"!=typeof window&&"navigator"in window&&!1===window.navigator.onLine&&(r=!1),r)}function y(e,t){return new(o())(t,e).toString()}h.defaultOptions=m,t.Z=h},98184:function(e,t,n){"use strict";function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}n.d(t,{Z:function(){return r}})},19590:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},20994:function(e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},95162:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},59939:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},84353:function(e,t,n){"use strict";t.Any=n(44957),t.Cc=n(19590),t.Cf=n(20994),t.P=n(95162),t.Z=n(59939)},44957:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},41294:function(e,t,n){"use strict";var r=n(82298),a=n(40142),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function p(e){return(e||"").toString().replace(o,"")}var d=[["#","hash"],["?","query"],function(e,t){return f(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],m={hash:1,query:1};function h(e){var t,n=("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).location||{},r={},a=typeof(e=e||n);if("blob:"===e.protocol)r=new b(unescape(e.pathname),{});else if("string"===a)for(t in r=new b(e,{}),m)delete r[t];else if("object"===a){for(t in e)t in m||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=s.test(e.href))}return r}function f(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=p(e)).replace(i,""),t=t||{};var n,r=c.exec(e),a=r[1]?r[1].toLowerCase():"",o=!!r[2],s=!!r[3],l=0;return o?s?(n=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(n=r[2]+r[4],l=r[2].length):s?(n=r[3]+r[4],l=r[3].length):n=r[4],"file:"===a?l>=2&&(n=n.slice(2)):f(a)?n=r[4]:a?o&&(n=n.slice(2)):l>=2&&f(t.protocol)&&(n=r[4]),{protocol:a,slashes:o||f(a),slashesCount:l,rest:n}}function b(e,t,n){if(e=(e=p(e)).replace(i,""),!(this instanceof b))return new b(e,t,n);var o,s,l,c,m,v,k=d.slice(),y=typeof t,E=this,w=0;for("object"!==y&&"string"!==y&&(n=t,t=null),n&&"function"!=typeof n&&(n=a.parse),o=!(s=g(e||"",t=h(t))).protocol&&!s.slashes,E.slashes=s.slashes||o&&t.slashes,E.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||u.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!f(E.protocol)))&&(k[3]=[/(.*)/,"pathname"]);w<k.length;w++)"function"!=typeof(c=k[w])?(l=c[0],v=c[1],l!=l?E[v]=e:"string"==typeof l?~(m="@"===l?e.lastIndexOf(l):e.indexOf(l))&&("number"==typeof c[2]?(E[v]=e.slice(0,m),e=e.slice(m+c[2])):(E[v]=e.slice(m),e=e.slice(0,m))):(m=l.exec(e))&&(E[v]=m[1],e=e.slice(0,m.index)),E[v]=E[v]||o&&c[3]&&t[v]||"",c[4]&&(E[v]=E[v].toLowerCase())):e=c(e,E);n&&(E.query=n(E.query)),o&&t.slashes&&"/"!==E.pathname.charAt(0)&&(""!==E.pathname||""!==t.pathname)&&(E.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,a=n[r-1],o=!1,i=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),i++):i&&(0===r&&(o=!0),n.splice(r,1),i--);return o&&n.unshift(""),"."!==a&&".."!==a||n.push(""),n.join("/")}(E.pathname,t.pathname)),"/"!==E.pathname.charAt(0)&&f(E.protocol)&&(E.pathname="/"+E.pathname),r(E.port,E.protocol)||(E.host=E.hostname,E.port=""),E.username=E.password="",E.auth&&(~(m=E.auth.indexOf(":"))?(E.username=E.auth.slice(0,m),E.username=encodeURIComponent(decodeURIComponent(E.username)),E.password=E.auth.slice(m+1),E.password=encodeURIComponent(decodeURIComponent(E.password))):E.username=encodeURIComponent(decodeURIComponent(E.auth)),E.auth=E.password?E.username+":"+E.password:E.username),E.origin="file:"!==E.protocol&&f(E.protocol)&&E.host?E.protocol+"//"+E.host:"null",E.href=E.toString()}b.prototype={set:function(e,t,n){var o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||a.parse)(t)),o[e]=t;break;case"port":o[e]=t,r(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,l.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!n;break;case"pathname":case"hash":if(t){var i="pathname"===e?"/":"#";o[e]=t.charAt(0)!==i?i+t:t}else o[e]=t;break;case"username":case"password":o[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(o.username=t.slice(0,s),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(s+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var c=0;c<d.length;c++){var u=d[c];u[4]&&(o[u[1]]=o[u[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&f(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=a.stringify);var t,n=this,r=n.host,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var i=o+(n.protocol&&n.slashes||f(n.protocol)?"//":"");return n.username?(i+=n.username,n.password&&(i+=":"+n.password),i+="@"):n.password?(i+=":"+n.password,i+="@"):"file:"!==n.protocol&&f(n.protocol)&&!r&&"/"!==n.pathname&&(i+="@"),(":"===r[r.length-1]||l.test(n.hostname)&&!n.port)&&(r+=":"),i+=r+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},b.extractProtocol=g,b.location=h,b.trimLeft=p,b.qs=a,e.exports=b},76389:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},17811:function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,a=arguments.length;n<a;n++)t.push(arguments[n]);return t}function a(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,a=this.head;null!==a;)n.push(e.call(t,a.value,this)),a=a.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,a=this.tail;null!==a;)n.push(e.call(t,a.value,this)),a=a.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var a=0;null!==r;a++)n=e(n,r.value,a),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var a=this.length-1;null!==r;a--)n=e(n,r.value,a),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=0,o=this.head;null!==o&&a<e;a++)o=o.next;for(;null!==o&&a<t;a++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var a=this.length,o=this.tail;null!==o&&a>t;a--)o=o.prev;for(;null!==o&&a>e;a--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var i=[];for(r=0;o&&r<t;r++)i.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=a(this,o,n[r]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(76389)(r)}catch(e){}},8964:function(e,t,n){"use strict";e.exports=n.p+"images/eventbrite-in-page-example-c351ec80e4dd5d39433d.png"},90767:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-after-d6db862c442c24ad1c63.png"},58632:function(e,t,n){"use strict";e.exports=n.p+"images/img-example-before-4592b4656108c1429614.png"},96406:function(e,t,n){"use strict";e.exports=n.p+"images/map-preview-97bda80ebb6981457630.jpg"},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},23879:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-2x-62cd99bcc3acbd1ff504.png"},22323:function(e,t,n){"use strict";e.exports=n.p+"images/paypal-button-a51d6c3207b0a904edb7.png"},60206:function(e,t,n){"use strict";e.exports=n.p+"images/simple-payments_example-1-0273eeccd8d120df4984.jpg"},65784:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-1-07a3f164621235df0419.jpg"},6425:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-2-2ee401e47066229bdac5.jpg"},85983:function(e,t,n){"use strict";e.exports=n.p+"images/slideshow_example-3-0682afca66c485f17ff6.jpg"},37447:function(e,t,n){"use strict";e.exports=n.p+"images/upgrade-illustration-5b3059f7101ac37f4339.svg"},15915:function(e,t,n){"use strict";e.exports=n.p+"images/story_example-1-716db2e4f5a074d302f7.png"},96606:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-1-d2817eb0e669267ab3eb.jpg"},85472:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-2-7d8f0cf8e262f0112691.jpg"},79009:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-3-07a3f164621235df0419.jpg"},10742:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-4-2ee401e47066229bdac5.jpg"},52642:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-5-a1935fd9cf1181168d90.jpg"},41145:function(e,t,n){"use strict";e.exports=n.p+"images/tiled-gallery_example-6-9f9d39c6af0fb4b0d99c.jpg"},41194:function(e,t,n){"use strict";e.exports=n.p+"images/videopress-block-example-image-da9ef73787adca8896f2.jpg"},80405:function(e,t,n){"use strict";e.exports=n.p+"images/example_160x600-ccbc594f54431dafa70d.png"},72473:function(e,t,n){"use strict";e.exports=n.p+"images/example_300x250-5b93e8174f02d48c40b7.png"},38511:function(e,t,n){"use strict";e.exports=n.p+"images/example_320x50-7110edf045141630a222.png"},52203:function(e,t,n){"use strict";e.exports=n.p+"images/example_728x90-d9de384932330b92e1c3.png"},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},76292:function(e){"use strict";e.exports=window.moment},25158:function(e){"use strict";e.exports=window.wp.a11y},42998:function(e){"use strict";e.exports=window.wp.annotations},86989:function(e){"use strict";e.exports=window.wp.apiFetch},11313:function(e){"use strict";e.exports=window.wp.blob},52175:function(e){"use strict";e.exports=window.wp.blockEditor},4981:function(e){"use strict";e.exports=window.wp.blocks},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},37798:function(e){"use strict";e.exports=window.wp.coreData},9818:function(e){"use strict";e.exports=window.wp.data},69771:function(e){"use strict";e.exports=window.wp.date},47701:function(e){"use strict";e.exports=window.wp.domReady},72067:function(e){"use strict";e.exports=window.wp.editPost},12238:function(e){"use strict";e.exports=window.wp.editor},69307:function(e){"use strict";e.exports=window.wp.element},81975:function(e){"use strict";e.exports=window.wp.escapeHtml},92694:function(e){"use strict";e.exports=window.wp.hooks},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes},53961:function(e){"use strict";e.exports=window.wp.notices},98817:function(e){"use strict";e.exports=window.wp.plugins},70444:function(e){"use strict";e.exports=window.wp.primitives},29512:function(e){"use strict";e.exports=window.wp.tokenList},96483:function(e){"use strict";e.exports=window.wp.url},90162:function(e){"use strict";e.exports=window.wp.viewport},6551:function(e){"use strict";e.exports=window.wp.widgets},42263:function(e,t,n){"use strict";n.d(t,{Ab:function(){return i},Fr:function(){return s},G$:function(){return o},K$:function(){return c},MS:function(){return r},h5:function(){return l},lK:function(){return u},uj:function(){return a}});var r="-ms-",a="-moz-",o="-webkit-",i="comm",s="rule",l="decl",c="@import",u="@keyframes"},17227:function(e,t,n){"use strict";n.d(t,{Ji:function(){return u},cD:function(){return c},qR:function(){return l}});var r=n(42263),a=n(52875),o=n(71253),i=n(70173),s=n(89430);function l(e){var t=(0,a.Ei)(e);return function(n,r,a,o){for(var i="",s=0;s<t;s++)i+=e[s](n,r,a,o)||"";return i}}function c(e){return function(t){t.root||(t=t.return)&&e(t)}}function u(e,t,n,l){if(e.length>-1&&!e.return)switch(e.type){case r.h5:e.return=(0,s.O)(e.value,e.length);break;case r.lK:return(0,i.q)([(0,o.JG)(e,{value:(0,a.gx)(e.value,"@","@"+r.G$)})],l);case r.Fr:if(e.length)return(0,a.$e)(e.props,(function(t){switch((0,a.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,i.q)([(0,o.JG)(e,{props:[(0,a.gx)(t,/:(read-\w+)/,":"+r.uj+"$1")]})],l);case"::placeholder":return(0,i.q)([(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+r.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+r.uj+"$1")]}),(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,r.MS+"input-$1")]})],l)}return""}))}}},24912:function(e,t,n){"use strict";n.d(t,{MY:function(){return i}});var r=n(42263),a=n(52875),o=n(71253);function i(e){return(0,o.cE)(s("",null,null,null,[""],e=(0,o.un)(e),0,[0],e))}function s(e,t,n,r,i,p,d,m,h){for(var f=0,g=0,b=d,v=0,k=0,y=0,E=1,w=1,_=1,C=0,S="",j=i,x=p,P=r,T=S;w;)switch(y=C,C=(0,o.lp)()){case 40:if(108!=y&&58==T.charCodeAt(b-1)){-1!=(0,a.Cw)(T+=(0,a.gx)((0,o.iF)(C),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:T+=(0,o.iF)(C);break;case 9:case 10:case 13:case 32:T+=(0,o.Qb)(y);break;case 92:T+=(0,o.kq)((0,o.Ud)()-1,7);continue;case 47:switch((0,o.fj)()){case 42:case 47:(0,a.R3)(c((0,o.q6)((0,o.lp)(),(0,o.Ud)()),t,n),h);break;default:T+="/"}break;case 123*E:m[f++]=(0,a.to)(T)*_;case 125*E:case 59:case 0:switch(C){case 0:case 125:w=0;case 59+g:k>0&&(0,a.to)(T)-b&&(0,a.R3)(k>32?u(T+";",r,n,b-1):u((0,a.gx)(T," ","")+";",r,n,b-2),h);break;case 59:T+=";";default:if((0,a.R3)(P=l(T,t,n,f,g,i,m,S,j=[],x=[],b),p),123===C)if(0===g)s(T,t,P,P,j,p,b,m,x);else switch(v){case 100:case 109:case 115:s(e,P,P,r&&(0,a.R3)(l(e,P,P,0,0,i,m,S,i,j=[],b),x),i,x,b,m,r?j:x);break;default:s(T,P,P,P,[""],x,0,m,x)}}f=g=k=0,E=_=1,S=T="",b=d;break;case 58:b=1+(0,a.to)(T),k=y;default:if(E<1)if(123==C)--E;else if(125==C&&0==E++&&125==(0,o.mp)())continue;switch(T+=(0,a.Dp)(C),C*E){case 38:_=g>0?1:(T+="\f",-1);break;case 44:m[f++]=((0,a.to)(T)-1)*_,_=1;break;case 64:45===(0,o.fj)()&&(T+=(0,o.iF)((0,o.lp)())),v=(0,o.fj)(),g=b=(0,a.to)(S=T+=(0,o.QU)((0,o.Ud)())),C++;break;case 45:45===y&&2==(0,a.to)(T)&&(E=0)}}return p}function l(e,t,n,i,s,l,c,u,p,d,m){for(var h=s-1,f=0===s?l:[""],g=(0,a.Ei)(f),b=0,v=0,k=0;b<i;++b)for(var y=0,E=(0,a.tb)(e,h+1,h=(0,a.Wn)(v=c[b])),w=e;y<g;++y)(w=(0,a.fy)(v>0?f[y]+" "+E:(0,a.gx)(E,/&\f/g,f[y])))&&(p[k++]=w);return(0,o.dH)(e,t,n,0===s?r.Fr:u,p,d,m)}function c(e,t,n){return(0,o.dH)(e,t,n,r.Ab,(0,a.Dp)((0,o.Tb)()),(0,a.tb)(e,2,-2),0)}function u(e,t,n,i){return(0,o.dH)(e,t,n,r.h5,(0,a.tb)(e,0,i),(0,a.tb)(e,i+1,-1),i)}},89430:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var r=n(42263),a=n(52875);function o(e,t){switch((0,a.vp)(e,t)){case 5103:return r.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return r.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r.G$+e+r.uj+e+r.MS+e+e;case 6828:case 4268:return r.G$+e+r.MS+e+e;case 6165:return r.G$+e+r.MS+"flex-"+e+e;case 5187:return r.G$+e+(0,a.gx)(e,/(\w+).+(:[^]+)/,r.G$+"box-$1$2"+r.MS+"flex-$1$2")+e;case 5443:return r.G$+e+r.MS+"flex-item-"+(0,a.gx)(e,/flex-|-self/,"")+e;case 4675:return r.G$+e+r.MS+"flex-line-pack"+(0,a.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return r.G$+e+r.MS+(0,a.gx)(e,"shrink","negative")+e;case 5292:return r.G$+e+r.MS+(0,a.gx)(e,"basis","preferred-size")+e;case 6060:return r.G$+"box-"+(0,a.gx)(e,"-grow","")+r.G$+e+r.MS+(0,a.gx)(e,"grow","positive")+e;case 4554:return r.G$+(0,a.gx)(e,/([^-])(transform)/g,"$1"+r.G$+"$2")+e;case 6187:return(0,a.gx)((0,a.gx)((0,a.gx)(e,/(zoom-|grab)/,r.G$+"$1"),/(image-set)/,r.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,a.gx)(e,/(image-set\([^]*)/,r.G$+"$1$`$1");case 4968:return(0,a.gx)((0,a.gx)(e,/(.+:)(flex-)?(.*)/,r.G$+"box-pack:$3"+r.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,a.gx)(e,/(.+)-inline(.+)/,r.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,a.to)(e)-1-t>6)switch((0,a.uO)(e,t+1)){case 109:if(45!==(0,a.uO)(e,t+4))break;case 102:return(0,a.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+r.G$+"$2-$3$1"+r.uj+(108==(0,a.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,a.Cw)(e,"stretch")?o((0,a.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,a.uO)(e,t+1))break;case 6444:switch((0,a.uO)(e,(0,a.to)(e)-3-(~(0,a.Cw)(e,"!important")&&10))){case 107:return(0,a.gx)(e,":",":"+r.G$)+e;case 101:return(0,a.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r.G$+(45===(0,a.uO)(e,14)?"inline-":"")+"box$3$1"+r.G$+"$2$3$1"+r.MS+"$2box$3")+e}break;case 5936:switch((0,a.uO)(e,t+11)){case 114:return r.G$+e+r.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r.G$+e+r.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r.G$+e+r.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r.G$+e+r.MS+e+e}return e}},70173:function(e,t,n){"use strict";n.d(t,{P:function(){return i},q:function(){return o}});var r=n(42263),a=n(52875);function o(e,t){for(var n="",r=(0,a.Ei)(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function i(e,t,n,i){switch(e.type){case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.lK:return e.return=e.value+"{"+o(e.children,i)+"}";case r.Fr:e.value=e.props.join(",")}return(0,a.to)(n=o(e.children,i))?e.return=e.value+"{"+n+"}":""}},71253:function(e,t,n){"use strict";n.d(t,{FK:function(){return s},JG:function(){return p},QU:function(){return j},Qb:function(){return w},Tb:function(){return d},Ud:function(){return g},cE:function(){return y},dH:function(){return u},fj:function(){return f},iF:function(){return E},kq:function(){return _},lp:function(){return h},mp:function(){return m},q6:function(){return S},r:function(){return v},tP:function(){return b},un:function(){return k}});var r=n(52875),a=1,o=1,i=0,s=0,l=0,c="";function u(e,t,n,r,i,s,l){return{value:e,root:t,parent:n,type:r,props:i,children:s,line:a,column:o,length:l,return:""}}function p(e,t){return(0,r.f0)(u("",null,null,"",null,null,0),e,{length:-e.length},t)}function d(){return l}function m(){return l=s>0?(0,r.uO)(c,--s):0,o--,10===l&&(o=1,a--),l}function h(){return l=s<i?(0,r.uO)(c,s++):0,o++,10===l&&(o=1,a++),l}function f(){return(0,r.uO)(c,s)}function g(){return s}function b(e,t){return(0,r.tb)(c,e,t)}function v(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function k(e){return a=o=1,i=(0,r.to)(c=e),s=0,[]}function y(e){return c="",e}function E(e){return(0,r.fy)(b(s-1,C(91===e?e+2:40===e?e+1:e)))}function w(e){for(;(l=f())&&l<33;)h();return v(e)>2||v(l)>3?"":" "}function _(e,t){for(;--t&&h()&&!(l<48||l>102||l>57&&l<65||l>70&&l<97););return b(e,g()+(t<6&&32==f()&&32==h()))}function C(e){for(;h();)switch(l){case e:return s;case 34:case 39:34!==e&&39!==e&&C(l);break;case 40:41===e&&C(e);break;case 92:h()}return s}function S(e,t){for(;h()&&e+l!==57&&(e+l!==84||47!==f()););return"/*"+b(t,s-1)+"*"+(0,r.Dp)(47===e?e:h())}function j(e){for(;!v(f());)h();return b(e,s)}},52875:function(e,t,n){"use strict";n.d(t,{$e:function(){return g},Cw:function(){return u},Dp:function(){return a},EQ:function(){return l},Ei:function(){return h},R3:function(){return f},Wn:function(){return r},f0:function(){return o},fy:function(){return s},gx:function(){return c},tb:function(){return d},to:function(){return m},uO:function(){return p},vp:function(){return i}});var r=Math.abs,a=String.fromCharCode,o=Object.assign;function i(e,t){return(((t<<2^p(e,0))<<2^p(e,1))<<2^p(e,2))<<2^p(e,3)}function s(e){return e.trim()}function l(e,t){return(e=t.exec(e))?e[0]:e}function c(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function m(e){return e.length}function h(e){return e.length}function f(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}},80550:function(e){"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')},84321:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')},1949:function(e){"use strict";e.exports={Kc:["amazon"]}}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return i[e].call(n.exports,n,n.exports,l),n.exports}l.m=i,l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);l.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},l.d(a,o),a},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(t,n){return l.f[n](e,t),t}),[]))},l.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{302:"8477ea85482e6f10802f",390:"e97a60781e1543c44f3c"}[e]},l.miniCssF=function(e){return"swiper.css?minify=false&ver=eacdc1a03fc9a7e72e14"},function(){if(!l.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;l.miniCssF=(e=l.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",l.l=function(e,t,a,o){if(n[e])n[e].push(t);else{var i,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",r+a),i.src=e),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(m);var a=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((function(e){return e(r)})),t)return t(r)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.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(/\/[^\/]+$/,"/"),l.p=e}(),a=function(e){return new Promise((function(t,n){var r=l.miniCssF(e),a=l.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var a=(i=n[r]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(a===e||a===t))return i}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var i;if((a=(i=o[r]).getAttribute("data-href"))===e||a===t)return i}}(r,a))return t();!function(e,t,n,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(o){if(a.onerror=a.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode.removeChild(a),r(l)}},a.href=t,document.head.appendChild(a)}(e,a,t,n)}))},o={189:0,486:0},l.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=a(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={189:0,486:0};l.f.j=function(t,n){var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var a=new Promise((function(n,a){r=e[t]=[n,a]}));n.push(r[2]=a);var o=l.p+l.u(t),i=new Error;l.l(o,(function(n){if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,r[1](i)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,a,o=n[0],i=n[1],s=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(s)s(l)}for(t&&t(n);c<o.length;c++)a=o[c],l.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";l(80425),l(85921),l(63066),l(92713),l(54414),l(36215),l(31657),l(23984),l(14688),l(7652);var e=l(84069);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){const{userid:t,username:n}=window.Jetpack_Editor_Initial_State.tracksUserData;e.Z.initialize(t,n,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}}(),function(){"use strict";var e=l(31985),t=l(96405);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(77123);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(50785);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(6528);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(31985),t=l(64446);(0,e.Z)(t.u2,t.Xd,t.Nk)}(),function(){"use strict";var e=l(31985),t=l(29800);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(75334);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(69307),t=l(92694),n=l(52175),r=l(55609),a=l(65736),o=l(13306);const __=a.__,i=t=>{if(t.isDeprecation)return t;if("core/embed"!==t.name)return t;const{edit:a}=t;return{...t,edit:(0,r.withNotices)((t=>{const{noticeOperations:i,noticeUI:s,onReplace:l}=t,{url:c}=t.attributes,{isGatheringStorm:u,unleashStorm:p}=(0,o.Z)({onReplace:l});return"twitter"!==t.attributes.providerNameSlug?(0,e.createElement)(a,t):(0,e.createElement)(e.Fragment,null,s,(0,e.createElement)(n.BlockControls,null,(0,e.createElement)(r.ToolbarGroup,{className:"gathering-tweetstorms__embed-toolbar"},(0,e.createElement)(r.ToolbarButton,{className:"gathering-tweetstorms__embed-toolbar-button",onClick:()=>p(c,i),label:__("Import the entire Twitter thread directly into this post.","jetpack"),showTooltip:!0,disabled:u||!c},__("Unroll","jetpack")),u&&(0,e.createElement)(r.ToolbarItem,{as:r.Spinner}))),(0,e.createElement)(a,t))}))}};(0,t.addFilter)("blocks.registerBlockType","jetpack/gathering-tweetstorms",i)}(),function(){"use strict";var e=l(31985),t=l(25073);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(13839);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(94039);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(78544);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(13419),t=l(64007);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(4495);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(85406);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(80723);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(69309);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(29719);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(66094);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(74989);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(71259);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(90362);(0,e.Z)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(56367);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(92882);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(30314);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(12012);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(17458),n=l(71290);(0,e.Z)(t.u2,t.Xd,[{name:n.u2,settings:n.Xd}])}(),function(){"use strict";var e=l(13419),t=l(8606);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(13419),t=l(3378);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(13419),t=l(44487);(0,e.o_)(t.u,t.X)}(),function(){"use strict";var e=l(31985),t=l(61390);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(19775);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e,t=l(69307),n=l(98817),r=l(13419),a=l(32078);(0,r.o_)(a.u2,a.Xd);!(null===(e=(0,r.OZ)("social-previews"))||void 0===e?void 0:e.available)&&(0,r.Wp)()&&(0,n.registerPlugin)(`jetpack-${a.u2}-upgrade-nudge`,{render:()=>(0,t.createElement)(a.w6,{showUpgradeNudge:!0})})}(),function(){"use strict";var e=l(31985),t=l(93688);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(31985),n=l(30217);(0,t.Z)(n.u2,n.Xd),(0,e.o_)(n.u2,n.eC)}(),function(){"use strict";var e=l(31985),t=l(99602);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(82402),t=l.n(e),n=l(69307),r=l(55609),a=l(11313),o=l(4981),i=l(12238),s=l(52175),c=l(92694),u=l(94333),p=l(65736),d=l(13419),m=l(92819),h=l(30053),f=l(23096),g=l(10723),b=l(29899),v=l(97504),k=l(34284),y=l(58351),E=l(41194);const __=p.__,w=(0,u.createHigherOrderComponent)((e=>a=>{const{name:o}=(0,s.useBlockEditContext)();return"core/video"!==o?(0,n.createElement)(e,a):(0,n.createElement)(e,t()({},a,{disableDropZone:!0,className:"no-videopress-media-placeholder"}),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",variant:"secondary"},__("Media Library","jetpack")),(0,n.createElement)(r.Button,{disabled:!0,className:"components-button no-videopress-disabled-button",variant:"secondary"},__("Upload","jetpack")))}),"videoPressNoPlanMediaPlaceholder"),_=(0,u.createHigherOrderComponent)((e=>r=>{const{name:a}=(0,s.useBlockEditContext)();if("core/video"!==a)return(0,n.createElement)(e,r);const{onFilesSelected:o,onMediaItemSelected:i}=(0,n.useContext)(g.H),l={...r,handleUpload:!1,disableDropZone:!0,onSelect:e=>{e instanceof FileList?o(e):i(e)}};return(0,n.createElement)(e,t()({},l,{className:"videopress-media-placeholder"}))}),"videoPressMediaPlaceholder"),C=(e,t,n)=>{var r;return"core/video"!==t.name||!n.guid||(null===(r=n.className)||void 0===r?void 0:r.indexOf("wp-block-video"))>=0||n.videoPressClassNames||(e.className=e.className.replace("wp-block-video","").trim()),e};(0,c.addFilter)("blocks.registerBlockType","jetpack/videopress",((e,t)=>{if("core/embed"===t)return(e=>{if(!("variations"in e)||"object"!=typeof e.variations)return;const{available:t}=(0,d.OZ)("videopress");e.variations.some((e=>"videopress"===e.name&&(t&&(e.scope=[]),e.patterns.push(/^https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?$/i),!0)))})(e),e;if("core/video"!==t||e.isDeprecation)return e;const{deprecated:n,edit:r,save:s,supports:l,transforms:u}=e,{available:p,unavailableReason:g}=(0,d.OZ)("videopress"),S=((0,d.Wp)()||(0,d.Ug)())&&["missing_plan","unknown"].includes(g),j=!!window.videoPressResumableEnabled;if(S?((0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",w),(0,c.addFilter)("editor.BlockListBlock","jetpack/videopress-with-has-warning-is-interactive-class-names",(0,d.T)("core/video"))):p&&(j&&(0,c.addFilter)("editor.MediaPlaceholder","jetpack/videopress",_),e.description=__("Embed a video from your media library or upload a new one with VideoPress.","jetpack"),e.example.attributes={caption:"",isVideoPressExample:!0,src:E}),(0,c.addFilter)("blocks.getSaveContent.extraProps","jetpack/videopress",C,20),p||["missing_plan","missing_module","unknown"].includes(g)){const t={autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},maxWidth:{type:"string",default:"100%"},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},isVideoPressExample:{type:"boolean",default:!1},muted:{type:"boolean"},playsinline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},seekbarPlayedColor:{type:"string",default:""},seekbarLoadingColor:{type:"string",default:""},seekbarColor:{type:"string",default:""},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},useAverageColor:{type:"boolean",default:!0},videoPressTracks:{type:"array",items:{type:"object"},default:[]},videoPressClassNames:{type:"string"},fileForImmediateUpload:{type:"object",default:null}},c=/https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?/i;return{...e,attributes:t,transforms:{...u,from:[{type:"files",isMatch:e=>(0,m.every)(e,(e=>0===e.type.indexOf("video/"))),priority:9,transform:(e,t)=>{const n=[];return e.forEach((e=>{if(p&&j){const t=(0,o.createBlock)("core/video",{fileForImmediateUpload:e});n.push(t)}else{const r=(0,o.createBlock)("core/video",{src:(0,a.createBlobURL)(e)});(0,i.mediaUpload)({filesList:[e],onFileChange:e=>{let[{id:n,url:a}]=e;t(r.clientId,{id:n,src:a})},allowedTypes:["video"]}),n.push(r)}})),n}},{type:"raw",isMatch:e=>"P"===e.nodeName&&c.test(e.innerHTML),transform:e=>{const t=c.exec(e.innerHTML);return(0,o.createBlock)("core/embed",{url:"https://videopress.com/v/"+t[1].trim()})}}]},supports:{...l,reusable:!1},edit:(0,h.Z)(r),save:(0,f.Z)(s),deprecated:[...n||[],y.Z,k.Z,{attributes:t,isEligible:e=>!e.guid,save:s,supports:l,isDeprecation:!0},v.Z,b.Z]}}return e}),5)}(),function(){"use strict";var e=l(31985),t=l(57795);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(31985),t=l(68007);(0,e.Z)(t.u2,t.Xd)}(),function(){"use strict";var e=l(13419),t=l(30730);(0,e.o_)(t.u,t.X)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor.js.LICENSE.txt b/plugins/jetpack/_inc/blocks/editor.js.LICENSE.txt
index f4234c69..8eb93824 100644
--- a/plugins/jetpack/_inc/blocks/editor.js.LICENSE.txt
+++ b/plugins/jetpack/_inc/blocks/editor.js.LICENSE.txt
@@ -18,10 +18,22 @@ object-assign
http://jedwatson.github.io/classnames
*/
-/*! https://mths.be/punycode v1.3.2 by @mathias */
+/*!
+ 2021 Jason Mulligan <jason.mulligan@avoidwork.com>
+ @version 8.0.6
+*/
+
+/** @license React v16.13.1
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
-/** @license React vundefined
- * use-subscription.production.min.js
+/** @license React v17.0.2
+ * react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
diff --git a/plugins/jetpack/_inc/blocks/editor.rtl.css b/plugins/jetpack/_inc/blocks/editor.rtl.css
index 3af39aaf..e7b72516 100644
--- a/plugins/jetpack/_inc/blocks/editor.rtl.css
+++ b/plugins/jetpack/_inc/blocks/editor.rtl.css
@@ -1 +1 @@
-.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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);-o-object-fit:contain;object-fit:contain;position:absolute;right:8px;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;position:absolute;right:0;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:right;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 transparent}.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;padding:20px 0;position:fixed;position:sticky;right:0;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-left:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-left: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-right:1px solid #ccc;margin-right:16px;padding-right: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-left: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 0 9px 1px}@media only screen and (min-width:783px){.jetpack-external-media-header__account .jetpack-external-media-browser__disconnect{height:30px}}.jetpack-external-media-header__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-left:12px}.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.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;left:0;margin-top:-48px;padding:0;position:absolute;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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-left:8px}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-left: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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.paid-block-media-placeholder{width:100%}.wp-block-cover .paid-block-media-placeholder:not(:only-child){bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-left: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-left: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-left:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-left:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-left:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-left:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-left:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right;margin:3px 0 0 5px}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:right;margin:0 0 0 5px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-left:16px;padding:6px}.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-right: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 transparent;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:right}.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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-left:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;margin:0;padding:0;position:absolute;right:0;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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;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-left: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:right}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{right: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-left:12px}.components-placeholder.is-large .image-compare__image-after{padding-right: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-right:-20px;position:absolute;width:40px;z-index:15}.vertical div.jx-handle{cursor:row-resize;height:40px;margin-right: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 -3px auto auto;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:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}div.jx-arrow.jx-right{border-color:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;right:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;border-style:solid;border-width:8px 8px 0;bottom:2px;left:0;top:auto}div.jx-handle:active div.jx-arrow.jx-left,div.jx-handle:hover div.jx-arrow.jx-left{right:-1px}div.jx-handle:active div.jx-arrow.jx-right,div.jx-handle:hover div.jx-arrow.jx-right{left:-1px}.vertical div.jx-handle:active div.jx-arrow.jx-left,.vertical div.jx-handle:hover div.jx-arrow.jx-left{right: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;left:0}div.jx-image{display:inline-block;height:100%;overflow:hidden;position:absolute;top:0}.vertical div.jx-image{right: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:100%;right:0}div.jx-image.jx-left img{right:0}div.jx-image.jx-right{background-position:0;left:0}div.jx-image.jx-right img{bottom:0;left: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:rgba(0,0,0,.7);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:right;right:0}div.jx-image.jx-right div.jx-label{float:left;left:0}.vertical div.jx-image div.jx-label{display:table;position:absolute}.vertical div.jx-image.jx-right div.jx-label{bottom:0;right:0;top:auto}div.jx-image.transition{transition:width .5s ease}div.jx-handle.transition{transition:right .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-right:-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=);right:0}div.jx-arrow.jx-right{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEwLjYgNiA5LjQgN2w0LjYgNS00LjYgNSAxLjIgMSA1LjQtNnoiLz48L3N2Zz4=);left: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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-left: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{height:20px;width:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left: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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button: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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#2fb41f!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,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.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-left: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}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;margin-right:-16px;margin-top:-19px;position:absolute;right:50%;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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:left;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-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.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 9px 5px 10px}.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-right:4px solid #000;margin-left:0;margin-right:0;padding-right: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-right:1.3em;padding-right: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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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 4px 0 0;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 0 .25em 1em}@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:0;padding-right:1em}.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:right}.wp-block>.wp-block-jetpack-opentable.is-style-wide.alignright{left:0;right:auto}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:right}.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:transparent;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{left:auto;margin-right:2rem;max-width:840px}.wp-block-jetpack-opentable.is-style-wide.alignright{max-width:840px;right:calc(100% - 840px - 2rem)}.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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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:18px;padding-right:15px}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-left: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:10px 22px 10px 24px;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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-right: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-right:59px}.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 0 0 2px;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-right: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}.jetpack-publicize__connections-list{list-style-type:none;margin:0;width:100%}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.publicize-jetpack-connection-container{display:flex}.publicize-jetpack-connection-container .components-disabled{width:100%}.jetpack-publicize-gutenberg-social-icon{margin-left:5px}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-bottom:13px;margin-left:0;margin-right:0}.jetpack-publicize-notice .components-button{height:auto;line-height:normal;padding-bottom:6px;padding-top:6px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.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-left: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-disabled .jetpack-publicize-toggle,.jetpack-publicize-disabled .jetpack-publicize__connections-list{opacity:.5}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 8px 0 0}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-right:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-right:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);position:absolute;right:-10px;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.jetpack-publicize-connection-label{align-items:center;display:flex}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-right:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled,.components-disabled .components-connection-toggle{opacity:.5}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.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 8px 0 24px}.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-left: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-left: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-left:10px solid transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{position:absolute;right:calc(50% - 12px);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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.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-left:.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:var(--muriel-hot-red-500);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-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right: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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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 56px 8px 16px;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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right:10px;width:105px}.jetpack-whatsapp-button__phonenumber .components-placeholder__label svg{margin-left:6px}.jetpack-whatsapp-error{display:inline-flex;margin-bottom:10px}.jetpack-whatsapp-error span,.jetpack-whatsapp-error svg{fill:red;color:red;vertical-align:middle}.jetpack-whatsapp-error svg{margin:-3px 0 0 5px}.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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-right:5px}.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-right: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;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;right:50%;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-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@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-right:1em}}.wp-block-jetpack-simple-payments{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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-left: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;left:0;padding:0 4px;pointer-events:none;position:absolute;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{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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left:auto;padding-top:0;position:relative}.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-jetpack-slideshow_slide .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-left:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-left:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-right:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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-right: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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:right;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 0 -4px 2px;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-left:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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-right: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:"✓";position:absolute;right:-20px}@media(min-width:600px){.jetpack-social-previews__modal-upgrade{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{grid-column:2;grid-row:1;max-width:100%;padding-left: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-right:0}}@media(min-width:782px){.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{padding:0 2em 2em}}.jetpack-gutenberg-social-icons{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-gutenberg-social-icon.jetpack-social-previews__icon{fill:currentColor;margin-left:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;position:absolute;right:3px;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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-left-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:rgba(0,0,0,.5);border-radius:5px;color:#fff;display:flex;left:0;margin:15px;padding:5px 3px;position:absolute;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-expand svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span,.wp-story-container .wp-story-overlay .wp-story-embed-icon 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:transparent}.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:hsla(0,0%,100%,.4)}.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{margin:auto;right:-84px}.wp-story-container .wp-story-next-slide{left:-84px;margin:auto}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-next-slide{left:-48px;margin:auto}.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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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 0 0 16px;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 0 0 12px;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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-right: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{right:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{left: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-right:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-left: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:100%;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:#0e1112e0;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-left: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:transparent;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:transparent;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}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;left:0;margin:0;position:absolute}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{right:0}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-right: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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:rgba(243,106,188,.3);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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);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%;pointer-events:none;position:absolute;right:0;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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{position:absolute;right:-2px;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{margin:0;position:absolute;right:50%;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}.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-left: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 12px 4px 0;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-left: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-right: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}[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} \ 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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#39579a}.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)}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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:transparent}.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-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:transparent;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);-o-object-fit:contain;object-fit:contain;position:absolute;right:8px;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;position:absolute;right:0;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:right;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 transparent}.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;padding:20px 0;position:fixed;position:sticky;right:0;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-left:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-left: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-right:1px solid #ccc;margin-right:16px;padding-right: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-left: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 0 9px 1px}@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-left: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;left:0;margin-top:-48px;padding:0;position:absolute;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{fill:currentColor;display:block}.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}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;margin-left:8px}.editor-post-featured-image .components-dropdown{display:initial}.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 .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.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-left: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-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.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:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.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-upgrade-plan__hidden{display:none}.block-editor-block-list__block.is-upgradable,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .is-upgradable,.editor-styles-wrapper [data-block].is-upgradable{margin-top:0;padding-top:48px}.block-editor-block-list__layout .jetpack-upgrade-plan-banner{position:relative;top:42px;z-index:10}.block-editor-block-inspector .jetpack-upgrade-plan-banner{border-radius:0;margin:0 20px 20px}.jetpack-paid-block-symbol{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge .jetpack-paid-block-symbol{display:block}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.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:transparent;padding-top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder .paid-block-media-placeholder{margin-top:48px}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.components-external-link__icon{fill:currentColor;height:1.4em;margin:-.2em .1em 0;vertical-align:middle;width:1.4em}.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: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-left: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-left: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-left:.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}.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}div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-button__width-settings{align-items:center;display:flex}.jetpack-button__width-settings .components-button-group{display:flex;margin-left:1em}.jetpack-button__width-settings:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button{max-width:100%}.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}.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-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li{margin:0;max-width:none;width:84px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation{margin-left:0;padding:17px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker__variations>li .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block{border-bottom:15px solid transparent;border-left:15px solid transparent;flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:0 0 25%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:0 0 50%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:0 0 75%}.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;padding-left:8px}.jetpack-field-label .required{color:unset;font-size:15px;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field input.components-text-control__input,.jetpack-field textarea.components-textarea-control__input{box-shadow:unset;color:#787c82;padding:12px 8px;width:100%}.jetpack-field textarea.components-textarea-control__input{min-height:150px}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right;margin:3px 0 0 5px}.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox.jetpack-field-consent__checkbox{float:right;margin:0 0 0 5px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border-color:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label,.jetpack-field-consent .components-base-control__label{align-items:center;display:flex}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label,.jetpack-field-consent .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input,.jetpack-field-consent .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px;padding:12px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left: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}.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{fill:#fff;align-self:center;background:#2271b1;border-radius:50%;box-sizing:content-box;color:#fff;flex-shrink:0;margin-left:16px;padding:6px}.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-right: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-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);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-bottom:8px;margin-left: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 transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-right: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 transparent;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:right}.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}.gathering-tweetstorms__embed-toolbar{align-items:center;justify-content:center}.gathering-tweetstorms__embed-toolbar .components-spinner{margin:0;position:absolute}.gathering-tweetstorms__embed-import-notice{align-items:center;display:flex}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-message{padding-left:20px}.gathering-tweetstorms__embed-import-notice .gathering-tweetstorms__embed-import-button{flex-shrink:0}.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%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;margin:0;padding:0;position:absolute;right:0;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-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;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-left: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:right}.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-left:0;margin-right:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{right: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-left:12px}.components-placeholder.is-large .image-compare__image-after{padding-right: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-right:-20px;position:absolute;width:40px;z-index:15}.vertical div.jx-handle{cursor:row-resize;height:40px;margin-right: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 -3px auto auto;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:transparent transparent transparent currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}div.jx-arrow.jx-right{border-color:transparent currentcolor transparent transparent;border-style:solid;border-width:8px 8px 8px 0;left:2px}.vertical div.jx-arrow.jx-left{border-color:transparent transparent currentcolor;border-style:solid;border-width:0 8px 8px;right:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor transparent transparent;border-style:solid;border-width:8px 8px 0;bottom:2px;left:0;top:auto}div.jx-handle:active div.jx-arrow.jx-left,div.jx-handle:hover div.jx-arrow.jx-left{right:-1px}div.jx-handle:active div.jx-arrow.jx-right,div.jx-handle:hover div.jx-arrow.jx-right{left:-1px}.vertical div.jx-handle:active div.jx-arrow.jx-left,.vertical div.jx-handle:hover div.jx-arrow.jx-left{right: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;left:0}div.jx-image{display:inline-block;height:100%;overflow:hidden;position:absolute;top:0}.vertical div.jx-image{right: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:100%;right:0}div.jx-image.jx-left img{right:0}div.jx-image.jx-right{background-position:0;left:0}div.jx-image.jx-right img{bottom:0;left: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:rgba(0,0,0,.7);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:right;right:0}div.jx-image.jx-right div.jx-label{float:left;left:0}.vertical div.jx-image div.jx-label{display:table;position:absolute}.vertical div.jx-image.jx-right div.jx-label{bottom:0;right:0;top:auto}div.jx-image.transition{transition:width .5s ease}div.jx-handle.transition{transition:right .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-right:-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=);right:0}div.jx-arrow.jx-right{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEwLjYgNiA5LjQgN2w0LjYgNS00LjYgNSAxLjIgMSA1LjQtNnoiLz48L3N2Zz4=);left: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{grid-gap:10px;display:grid;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%;-o-object-fit:cover;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((-o-object-fit:cover) or (object-fit:cover)){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;-o-object-fit:cover;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-left: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((-o-object-fit:cover) or (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;-o-object-fit:cover;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}}}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{height:20px;width:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left: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:#2fb41f!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}.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-left: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}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;margin-right:-16px;margin-top:-19px;position:absolute;right:50%;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;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:left;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-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.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:transparent!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.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 9px 5px 10px}.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-right:4px solid #000;margin-left:0;margin-right:0;padding-right: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-right:1.3em;padding-right: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:transparent;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{font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.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}@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__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 4px 0 0;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 0 .25em 1em}@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:0;padding-right:1em}.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:right}.wp-block>.wp-block-jetpack-opentable.is-style-wide.alignright{left:0;right:auto}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:right}.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:transparent;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{left:auto;margin-right:2rem;max-width:840px}.wp-block-jetpack-opentable.is-style-wide.alignright{max-width:840px;right:calc(100% - 840px - 2rem)}.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:content-box}.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}.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:hsla(0,0%,100%,.7);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-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:transparent}.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:18px;padding-right:15px}.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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zm47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' fill='none' stroke='%23000' 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' fill='none' stroke='%23000'/%3E%3Cpath class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zm22.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-2z'/%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.8zm7.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.8z' fill='%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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' opacity='.75' fill='none' stroke='%23000' stroke-width='5'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle class='st0' cx='201.9' cy='47.1' r='8.1'/%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 class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zm14-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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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 class='st0' 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-.5l11.4 7zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.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-1zM81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1zM67 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-.4L67 5.8z'/%3E%3Cpath class='st1' d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8'/%3E%3Cpath class='st1' d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9'/%3E%3Cpath class='st0' 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-.4L47 5.8z'/%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 class='st0' d='M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3zM143.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-2z'/%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.8zm7.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.8z' style='fill:%23231f20'/%3E%3Cpath class='st0' d='M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z'/%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;enable-background:new'/%3E%3Cpath class='st0' d='M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z'/%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 class='st0' cx='201.9' cy='47.1' r='8.1'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' 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.5l-.8 5.1z'/%3E%3Cpath class='st0' 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 2zM183.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.5zm5.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.5zm-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.5zm5.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.5zm-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.5zm5.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.5z'/%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}}.jetpack-podcast-player--visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;white-space:nowrap;width:1px}.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-left: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:10px 22px 10px 24px;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{fill:currentColor;flex:22px 0 0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{fill:inherit;display:block;height:22px;margin-top:3.4px;width:22px}.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-right: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{fill:currentColor;display:block;height:27px;width:27px}.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{-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-bottom:10px;margin-right:59px}.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 0 0 2px;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' viewBox='0 0 4.763 4.763' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M1.65 1.204a.793.793 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'/%3E%3Cpath class='st1' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%3E%3Cpath class='st1' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397'/%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-right: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}.jetpack-publicize-twitter-options__notices .components-notice{margin-left:0;margin-right:0;padding:0 8px 0 0}.jetpack-publicize-twitter-options__notices .components-notice .components-notice__content{margin-bottom:8px;margin-top:8px}.jetpack-publicize-twitter__tweet-divider{margin-top:-28px;position:absolute;width:100%}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon{background:#0009;border-radius:12px;display:block;height:24px;margin:0 auto;width:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#0009;content:"";display:block;height:1px;margin-top:12px;position:absolute;width:80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{margin-right:-80px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after{margin-right:24px}.jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon>svg{fill:#fff;height:16px;margin:4px;position:absolute;width:16px}.jetpack-publicize-twitter__tweet-divider-popover{border-radius:4px;box-shadow:0 2px 10px #0009}.jetpack-publicize-twitter__tweet-divider-popover .components-popover__content{color:#0009;padding:8px}.modal-open .jetpack-publicize-twitter__tweet-divider-popover{display:none}.jetpack-tweetstorm .block-editor-block-list__insertion-point-inserter{justify-content:right;padding:0 8px}.annotation-text-jetpack-tweetstorm{background:#0009;display:inline-block;margin:1px;width:3px}.annotation-text-jetpack-tweetstorm-line-break{background:#0009;margin:1px;padding:0 2.5px}.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before{background:#0009;content:"";height:calc(100% + 16px);position:absolute;right:-10px;top:-8px;width:4px}.is-dark-theme .annotation-text-jetpack-tweetstorm,.is-dark-theme .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:after,.is-dark-theme .jetpack-publicize-twitter__tweet-divider .jetpack-publicize-twitter__tweet-divider-icon:before{background:#fff9}.annotation-text-jetpack-tweetstorm,.block-editor-block-list__block li:after,.blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-publicize-twitter__tweet-divider{opacity:1;transition:opacity .5s}.jetpack-tweetstorm-is-typing .annotation-text-jetpack-tweetstorm,.jetpack-tweetstorm-is-typing .block-editor-block-list__block li:after,.jetpack-tweetstorm-is-typing .blocks-gallery-grid .blocks-gallery-item:nth-child(5) figure:before,.jetpack-tweetstorm-is-typing .jetpack-publicize-twitter__tweet-divider{opacity:.2;transition:opacity .5s}.sDAzdUdcbaYmUMZBe2XW{fill:#2c3338}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:#39579a;border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:#55acee}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:#0976b4}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:#35465c}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.jetpack-publicize-gutenberg-social-icon{margin-left:5px}.jetpack-publicize-connection-label{align-items:center;display:flex;flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .components-connection-icon__picture{display:grid}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder,.jetpack-publicize-connection-label .components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.jetpack-publicize-connection-label .components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.jetpack-publicize-connection-label .components-connection-icon__picture svg{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-right:14px;margin-top:14px;width:15px}.jetpack-publicize-connection-label .components-connection-icon__picture svg.is-facebook{border-radius:50%}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .jetpack-gutenberg-social-icon{fill:#ddd}.components-connection-toggle.is-disabled{opacity:.5;width:100%}.KQcQQLxH5fI08DfOlKwL{display:flex}.GkSdCYn_REWEdI_aqvQk{margin-top:3px}.__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}.xwd1zFILyAv6XzDjevFA{margin:15px 0}.Ua6eKcnk_tQQpFlgXMSn{list-style-type:none;margin:0;width:100%}.Ua6eKcnk_tQQpFlgXMSn .SHqrIEguRfCILRHPyxE9{margin:5px 0 10px}.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-left: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-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{stroke-width:0;line-height:0;margin-bottom:1.5em}.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 transparent}.wp-block-jetpack-rating-star>p{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.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:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.connect-stripe.has-icon.has-text svg{margin-left: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-right: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}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.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 8px 0 24px}.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-left: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-left: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-left:10px solid transparent}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:rgba(30,30,30,.62);box-sizing:content-box;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:hsla(0,0%,100%,.65)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.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% - 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{position:absolute;right:calc(50% - 12px);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{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:var(--color-black)}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.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-left:.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:var(--muriel-hot-red-500);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-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right: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}.wp-block-jetpack-revue .components-base-control{margin-bottom:16px}.wp-block-jetpack-revue .components-base-control__label{display:block}.wp-block-jetpack-revue .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-revue .components-text-control__input{color:#787c82}.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#a7aaad;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}.wp-block-jetpack-send-a-message .block-editor-block-list__layout .wp-block{margin:0}.wp-block-jetpack-send-a-message .block-editor-inserter,.wp-block-jetpack-send-a-message .block-list-appender{display:none}div.wp-block-jetpack-whatsapp-button{display:flex;margin-left: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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 56px 8px 16px;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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right: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.568 11.568 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69ZM12.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.829 0-5.42-4.444-9.83-9.906-9.83Zm5.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-.478-.169 0-.361-.024-.554-.024-.193 0-.506.072-.77.358-.265.287-1.01.98-1.01 2.39 0 1.41 1.034 2.773 1.178 2.964.145.19 1.998 3.179 4.934 4.326 2.936 1.147 2.936.764 3.466.716.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363Z'/%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-right:10px;width:105px}.jetpack-whatsapp-button__phonenumber .components-placeholder__label svg{margin-left:6px}.jetpack-whatsapp-error{display:inline-flex;margin-bottom:10px}.jetpack-whatsapp-error span,.jetpack-whatsapp-error svg{fill:red;color:red;vertical-align:middle}.jetpack-whatsapp-error svg{margin:-3px 0 0 5px}.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}.jetpack-seo-message-box{background-color:#e0e0e0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-right:5px}.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-right: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;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;right:50%;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-left: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-right:1em}}.wp-block-jetpack-simple-payments{grid-column-gap:10px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;grid-template-columns:200px auto}.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);-webkit-clip-path:inset(50%);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-left: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;left:0;padding:0 4px;pointer-events:none;position:absolute;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{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left: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-jetpack-slideshow_slide .components-spinner{margin-right:-9px;margin-top:-9px;position:absolute;right:50%;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-left:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-left:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-right:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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-right: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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:right;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 0 -4px 2px;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.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-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{display:flex;flex-direction:row;justify-content:center;max-width:none;padding:12px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;margin:3px 0;outline:0;white-space:nowrap}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{fill:currentColor;display:block}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active,.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{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}.jetpack-social-previews__modal-previews .twitter-preview__summary{max-width:100%}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{flex-direction:row;min-height:500px;width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{flex-direction:column;justify-content:flex-start;padding:24px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button>svg{margin-left:8px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.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-right: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:"✓";position:absolute;right:-20px}@media(min-width:600px){.jetpack-social-previews__modal-upgrade{grid-gap:3em;display:grid;grid-template-columns:1fr 1fr;max-width:870px;padding-top:4em;width:80vw}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{grid-column:2;grid-row:1;max-width:100%;padding-left: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-right:0}}@media(min-width:782px){.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{padding:0 2em 2em}}.jetpack-gutenberg-social-icons{margin-bottom:1em}.jetpack-gutenberg-social-icons .jetpack-social-previews__icon{fill:currentColor;margin-left:5px}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;position:absolute;right:3px;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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-left-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:rgba(0,0,0,.5);border-radius:5px;color:#fff;display:flex;left:0;margin:15px;padding:5px 3px;position:absolute;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:transparent}.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:hsla(0,0%,100%,.4)}.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{margin:auto;right:-84px}.wp-story-container .wp-story-next-slide{left:-84px;margin:auto}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-next-slide{left:-48px;margin:auto}.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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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 0 0 16px;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 0 0 12px;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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-right: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{right:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{left: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-right:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-left: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:100%;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:#0e1112e0;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-left: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:transparent;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:transparent;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}.is-style-compact .wp-block-button__link,.is-style-compact .wp-block-jetpack-subscriptions__button{border-bottom-right-radius:0!important;border-top-right-radius:0!important;margin-right:0!important}.is-style-compact .components-text-control__input,.is-style-compact p#subscribe-email input[type=email]{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-left-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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;line-height:1.3;white-space:nowrap}.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 form input[type=email]::placeholder{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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;left:0;margin:0;position:absolute}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{right:0}.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-right:12px}.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{text-decoration:underline;white-space:nowrap}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{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{width:calc(5% - 3.8px)}.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-right: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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:rgba(243,106,188,.3);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%;pointer-events:none;position:absolute;right:0;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);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%;pointer-events:none;position:absolute;right:0;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>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;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:hsla(180,6%,97%,.5)}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.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__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 rgba(30,30,30,.62);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 2px 6px rgba(0,0,0,.05)}.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:rgba(30,30,30,.62);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:transparent}@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{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{position:absolute;right:-2px;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{margin:0;position:absolute;right:50%;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}.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}.resumable-upload__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px}.resumable-upload__logo-text{margin-right:10px}.resumable-upload__status{align-items:center;display:flex;flex-direction:column;margin-top:24px;width:100%}.resumable-upload__file-info{display:flex;flex-direction:row;margin-bottom:16px;width:100%}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;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-right:12px}.resumable-upload__actions{align-items:center;display:flex;justify-content:space-between;margin-top:16px;width:100%}.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-right:12px;margin-top:16px}.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-left: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 12px 4px 0;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-left: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-right: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}[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-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 -1px 0 0;padding:8px 14px;position:relative}.wp-block-premium-content-container--tab{align-items:center;background:transparent;border:none;display:flex;flex-direction:row;margin-left:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-right: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 0 0 .5em}.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}.post-publish-qr-post-panel .components-panel__body-toggle>svg{margin-right: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}.qr-post-modal__actions_buttons{display:flex;justify-content:right;margin:10px auto;max-width:300px}.qr-post-modal__actions_buttons .components-button{margin-right:5px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/eventbrite/view.asset.php b/plugins/jetpack/_inc/blocks/eventbrite/view.asset.php
index ac6ea0ad..4cff04c7 100644
--- a/plugins/jetpack/_inc/blocks/eventbrite/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/eventbrite/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c8e72e2eaa54a7d11f6f9519709d54d6'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c84ab43039a3d054b53a');
diff --git a/plugins/jetpack/_inc/blocks/eventbrite/view.js b/plugins/jetpack/_inc/blocks/eventbrite/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/eventbrite/view.js
+++ b/plugins/jetpack/_inc/blocks/eventbrite/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/gif/view.asset.php b/plugins/jetpack/_inc/blocks/gif/view.asset.php
index 79511a75..05a6a316 100644
--- a/plugins/jetpack/_inc/blocks/gif/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/gif/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9c6a6f49c054a0059b17410e982d4f78'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => '0f5555cd049737c938d2');
diff --git a/plugins/jetpack/_inc/blocks/gif/view.js b/plugins/jetpack/_inc/blocks/gif/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/gif/view.js
+++ b/plugins/jetpack/_inc/blocks/gif/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/google-calendar/view.asset.php b/plugins/jetpack/_inc/blocks/google-calendar/view.asset.php
index c48d51c9..33150ccd 100644
--- a/plugins/jetpack/_inc/blocks/google-calendar/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/google-calendar/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'bfe061739c38b6ac93c4389180a3d515'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'aef9d3b4129522c2f1a9');
diff --git a/plugins/jetpack/_inc/blocks/google-calendar/view.js b/plugins/jetpack/_inc/blocks/google-calendar/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/google-calendar/view.js
+++ b/plugins/jetpack/_inc/blocks/google-calendar/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/image-compare/view.asset.php b/plugins/jetpack/_inc/blocks/image-compare/view.asset.php
index 1203ae4f..ba19ffb1 100644
--- a/plugins/jetpack/_inc/blocks/image-compare/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/image-compare/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '225c793355c4520e80b860082c56c095'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '73306283e22190eaa6bc');
diff --git a/plugins/jetpack/_inc/blocks/image-compare/view.js b/plugins/jetpack/_inc/blocks/image-compare/view.js
index 2bdf1c7f..e9cf9a80 100644
--- a/plugins/jetpack/_inc/blocks/image-compare/view.js
+++ b/plugins/jetpack/_inc/blocks/image-compare/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,e,i){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(i.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;i.g.importScripts&&(t=i.g.location+"");var e=i.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=t+"../"}(),function(){"use strict";i(57836)}(),function(){"use strict";var t=i(47701);i.n(t)()((function(){const t={sliders:[],OPTIMIZATION_ACCEPTED:1,OPTIMIZATION_WAS_CONSTRAINED:2};function e(t,e){const i=this;this.image=new Image,this.loaded=!1,this.image.onload=function(){i.loaded=!0,e._onLoaded()},this.image.src=t.src,this.image.alt=t.alt||"",this.label=t.label||!1}function i(t,e){t&&t.classList.add(e)}function n(t,e){t&&t.classList.remove(e)}function s(t){return{width:parseInt(window.getComputedStyle(t).width,10),height:parseInt(window.getComputedStyle(t).height,10)}}function o(t,e){let i;if("string"==typeof e||"number"==typeof e)i=parseInt(e,10);else{const n=t.getBoundingClientRect(),s={top:n.top+document.body.scrollTop+document.documentElement.scrollTop,left:n.left+document.body.scrollLeft+document.documentElement.scrollLeft},o=t.offsetWidth;i=(function(t){let e;return e=t.pageX?t.pageX:t.touches?t.touches[0].pageX:t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,e}(e)-s.left)/o*100}return i}function r(t,e,i){let n;if("string"==typeof e||"number"==typeof e)n=parseInt(e,10);else{const s=t.getBoundingClientRect(),o={top:s.top+i.body.scrollTop+i.documentElement.scrollTop,left:s.left+i.body.scrollLeft+i.documentElement.scrollLeft},r=t.offsetHeight;n=(function(t){let e;return e=t.pageY?t.pageY:t.touches?t.touches[0].pageY:t.clientY+document.body.scrollTop+document.documentElement.scrollTop,e}(e)-o.top)/r*100}return n}const a={animate:!0,showLabels:!0,makeResponsive:!0};function l(t,i,n){let s;for(s in this.element=t,this.options={animate:!0,showLabels:!0,makeResponsive:!0,startingPosition:"50%",mode:"horizontal",callback:null},this.options)s in n&&(this.options[s]=s in a?"string"!=typeof(o=n[s])?Boolean(o):!("false"===o||""===o):n[s]);var o;2===i.length&&(this.imgBefore=new e(i[0],this),this.imgAfter=new e(i[1],this))}l.prototype={updateSlider:function(t,e){let s;s="vertical"===this.options.mode?r(this.slider,t,this.sliderParentDocument):o(this.slider,t),s=s.toFixed(2)+"%";const a=parseFloat(s),l=100-a+"%";a>0&&a<100&&(n(this.handle,"transition"),n(this.rightImage,"transition"),n(this.leftImage,"transition"),this.options.animate&&e&&(i(this.handle,"transition"),i(this.leftImage,"transition"),i(this.rightImage,"transition")),"vertical"===this.options.mode?(this.handle.style.top=s,this.leftImage.style.height=s,this.rightImage.style.height=l):(this.handle.style.left=s,this.leftImage.style.width=s,this.rightImage.style.width=l),this.sliderPosition=s)},getPosition:function(){return this.sliderPosition},displayLabel:function(t,e){const i=document.createElement("div");i.className="jx-label",i.setAttribute("tabindex",0),function(t,e){document.body.textContent?t.textContent=e:t.innerText=e}(i,e),t.appendChild(i)},setStartingPosition:function(t){this.options.startingPosition=t},calculateDims:function(t,e){const i=(n=this.imgBefore.image,{width:n.naturalWidth,height:n.naturalHeight,aspect:function(){return this.width/this.height}}).aspect();var n;return t?e=t/i:e&&(t=e*i),{width:t,height:e,ratio:i}},responsivizeIframe:function(t){return t.height<window.innerHeight?t.ratio>=1&&(this.wrapper.style.paddingTop=parseInt((window.innerHeight-t.height)/2)+"px"):t.height>window.innerHeight&&(t=this.calculateDims(0,window.innerHeight),this.wrapper.style.paddingLeft=parseInt((window.innerWidth-t.width)/2)+"px"),t},setWrapperDimensions:function(){const t=s(this.wrapper.parentNode).width,e=s(this.wrapper.parentNode).height;let i=this.calculateDims(t,e);window.location===window.parent.location||this.options.makeResponsive||(i=this.responsivizeIframe(i)),this.wrapper.style.height=parseInt(i.height)+"px",this.wrapper.style.width=parseInt(i.width)+"px"},optimizeWrapper:function(e){let i=t.OPTIMIZATION_ACCEPTED;return this.imgBefore.image.naturalWidth>=e&&this.imgAfter.image.naturalWidth>=e?(this.wrapper.style.width=e+"px",i=t.OPTIMIZATION_WAS_CONSTRAINED):this.imgAfter.image.naturalWidth<e?this.wrapper.style.width=this.imgAfter.image.naturalWidth+"px":this.wrapper.style.width=this.imgBefore.image.naturalWidth+"px",this.setWrapperDimensions(),i},_onLoaded:function(){if(this.imgBefore&&!0===this.imgBefore.loaded&&this.imgAfter&&!0===this.imgAfter.loaded){if(this.wrapper=this.element,!this.wrapper||this.wrapper.querySelector(".jx-slider"))return;i(this.wrapper,"juxtapose"),this.wrapper.style.width=this.imgBefore.image.naturalWidth,this.setWrapperDimensions(),this.slider=document.createElement("div"),this.slider.className="jx-slider",this.wrapper.appendChild(this.slider),this.sliderParentDocument=this.wrapper.ownerDocument,"horizontal"!==this.options.mode&&i(this.slider,this.options.mode),this.handle=document.createElement("div"),this.handle.className="jx-handle",this.rightImage=document.createElement("div"),this.rightImage.className="jx-image jx-right",this.rightImage.appendChild(this.imgAfter.image),this.leftImage=document.createElement("div"),this.leftImage.className="jx-image jx-left",this.leftImage.appendChild(this.imgBefore.image),this.slider.appendChild(this.handle),this.slider.appendChild(this.leftImage),this.slider.appendChild(this.rightImage),this.leftArrow=document.createElement("div"),this.rightArrow=document.createElement("div"),this.control=document.createElement("div"),this.controller=document.createElement("div"),this.leftArrow.className="jx-arrow jx-left",this.rightArrow.className="jx-arrow jx-right",this.control.className="jx-control",this.controller.className="jx-controller",this.controller.setAttribute("tabindex",0),this.controller.setAttribute("role","slider"),this.controller.setAttribute("aria-valuenow",50),this.controller.setAttribute("aria-valuemin",0),this.controller.setAttribute("aria-valuemax",100),this.controller.setAttribute("aria-label",window.imageCompareHandle?.msg||"Slide to compare images"),this.handle.appendChild(this.leftArrow),this.handle.appendChild(this.control),this.handle.appendChild(this.rightArrow),this.control.appendChild(this.controller),this._init()}},_init:function(){this.updateSlider(this.options.startingPosition,!1),!0===this.options.showLabels&&(this.imgBefore.label&&this.displayLabel(this.leftImage,this.imgBefore.label),this.imgAfter.label&&this.displayLabel(this.rightImage,this.imgAfter.label));const e=this;window.addEventListener("resize",(function(){e.setWrapperDimensions()})),this.slider.addEventListener("mousedown",(function(t){t.preventDefault(),e.updateSlider(t,!0);let i=!0;this.addEventListener("mousemove",(function(t){t.preventDefault(),i&&e.updateSlider(t,!1)})),this.addEventListener("mouseup",(function(t){t.preventDefault(),t.stopPropagation(),i=!1}))})),this.slider.addEventListener("touchstart",(function(t){t.preventDefault(),t.stopPropagation(),e.updateSlider(t,!0),this.addEventListener("touchmove",(function(t){t.preventDefault(),t.stopPropagation(),e.updateSlider(t,!1)}))})),this.handle.addEventListener("keydown",(function(t){const i=t.which||t.keyCode;let n=parseFloat(this.style.left);if(37===i){n-=1;const t=parseFloat(this.style.left)-1;e.updateSlider(t,!1),e.controller.setAttribute("aria-valuenow",n)}if(39===i){n+=1;const t=parseFloat(this.style.left)+1;e.updateSlider(t,!1),e.controller.setAttribute("aria-valuenow",n)}})),this.leftImage.addEventListener("keydown",(function(t){const i=t.which||t.keyCode;13!==i&&32!==i||(e.updateSlider("90%",!0),e.controller.setAttribute("aria-valuenow",91))})),this.rightImage.addEventListener("keydown",(function(t){const i=t.which||t.keyCode;13!==i&&32!==i||(e.updateSlider("10%",!0),e.controller.setAttribute("aria-valuenow",10))})),t.sliders.push(this),this.options.callback&&"function"==typeof this.options.callback&&this.options.callback(this)}},t.makeSlider=function(e,n){void 0===n&&(n=t.sliders.length);const s=e,o=s.querySelectorAll("img");if(o.length<2)return;const r={};s.getAttribute("data-animate")&&(r.animate=s.getAttribute("data-animate")),s.getAttribute("data-showlabels")&&(r.showLabels=s.getAttribute("data-showlabels")),s.getAttribute("data-startingposition")&&(r.startingPosition=s.getAttribute("data-startingposition")),s.getAttribute("data-mode")&&(r.mode=s.getAttribute("data-mode")),s.getAttribute("data-makeresponsive")&&(r.mode=s.getAttribute("data-makeresponsive"));return i(e,"juxtapose-"+n),s.innerHTML?s.innerHTML="":s.innerText="",new t.JXSlider(e,[{src:o[0].src,label:o[0].getAttribute("data-label"),alt:o[0].alt},{src:o[1].src,label:o[1].getAttribute("data-label"),alt:o[1].alt}],r)},t.scanPage=function(){const e=document.querySelectorAll(".juxtapose");for(let i=0;i<e.length;i++)t.makeSlider(e[i],i)},t.JXSlider=l,window.juxtapose=t,t.scanPage()}))}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,e,i){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(i.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;i.g.importScripts&&(t=i.g.location+"");var e=i.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=t+"../"}(),function(){"use strict";i(80425)}(),function(){"use strict";var t=i(47701);i.n(t)()((function(){const t={sliders:[],OPTIMIZATION_ACCEPTED:1,OPTIMIZATION_WAS_CONSTRAINED:2};function e(t,e){const i=this;this.image=new Image,this.loaded=!1,this.image.onload=function(){i.loaded=!0,e._onLoaded()},this.image.src=t.src,this.image.alt=t.alt||"",this.label=t.label||!1}function i(t,e){t&&t.classList.add(e)}function n(t,e){t&&t.classList.remove(e)}function s(t){return{width:parseInt(window.getComputedStyle(t).width,10),height:parseInt(window.getComputedStyle(t).height,10)}}function o(t,e){let i;if("string"==typeof e||"number"==typeof e)i=parseInt(e,10);else{const n=t.getBoundingClientRect(),s={top:n.top+document.body.scrollTop+document.documentElement.scrollTop,left:n.left+document.body.scrollLeft+document.documentElement.scrollLeft},o=t.offsetWidth;i=(function(t){let e;return e=t.pageX?t.pageX:t.touches?t.touches[0].pageX:t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,e}(e)-s.left)/o*100}return i}function r(t,e,i){let n;if("string"==typeof e||"number"==typeof e)n=parseInt(e,10);else{const s=t.getBoundingClientRect(),o={top:s.top+i.body.scrollTop+i.documentElement.scrollTop,left:s.left+i.body.scrollLeft+i.documentElement.scrollLeft},r=t.offsetHeight;n=(function(t){let e;return e=t.pageY?t.pageY:t.touches?t.touches[0].pageY:t.clientY+document.body.scrollTop+document.documentElement.scrollTop,e}(e)-o.top)/r*100}return n}const a={animate:!0,showLabels:!0,makeResponsive:!0};function l(t,i,n){let s;for(s in this.element=t,this.options={animate:!0,showLabels:!0,makeResponsive:!0,startingPosition:"50%",mode:"horizontal",callback:null},this.options)s in n&&(this.options[s]=s in a?"string"!=typeof(o=n[s])?Boolean(o):!("false"===o||""===o):n[s]);var o;2===i.length&&(this.imgBefore=new e(i[0],this),this.imgAfter=new e(i[1],this))}l.prototype={updateSlider:function(t,e){let s;s="vertical"===this.options.mode?r(this.slider,t,this.sliderParentDocument):o(this.slider,t),s=s.toFixed(2)+"%";const a=parseFloat(s),l=100-a+"%";a>0&&a<100&&(n(this.handle,"transition"),n(this.rightImage,"transition"),n(this.leftImage,"transition"),this.options.animate&&e&&(i(this.handle,"transition"),i(this.leftImage,"transition"),i(this.rightImage,"transition")),"vertical"===this.options.mode?(this.handle.style.top=s,this.leftImage.style.height=s,this.rightImage.style.height=l):(this.handle.style.left=s,this.leftImage.style.width=s,this.rightImage.style.width=l),this.sliderPosition=s)},getPosition:function(){return this.sliderPosition},displayLabel:function(t,e){const i=document.createElement("div");i.className="jx-label",i.setAttribute("tabindex",0),function(t,e){document.body.textContent?t.textContent=e:t.innerText=e}(i,e),t.appendChild(i)},setStartingPosition:function(t){this.options.startingPosition=t},calculateDims:function(t,e){const i=(n=this.imgBefore.image,{width:n.naturalWidth,height:n.naturalHeight,aspect:function(){return this.width/this.height}}).aspect();var n;return t?e=t/i:e&&(t=e*i),{width:t,height:e,ratio:i}},responsivizeIframe:function(t){return t.height<window.innerHeight?t.ratio>=1&&(this.wrapper.style.paddingTop=parseInt((window.innerHeight-t.height)/2)+"px"):t.height>window.innerHeight&&(t=this.calculateDims(0,window.innerHeight),this.wrapper.style.paddingLeft=parseInt((window.innerWidth-t.width)/2)+"px"),t},setWrapperDimensions:function(){const t=s(this.wrapper.parentNode).width,e=s(this.wrapper.parentNode).height;let i=this.calculateDims(t,e);window.location===window.parent.location||this.options.makeResponsive||(i=this.responsivizeIframe(i)),this.wrapper.style.height=parseInt(i.height)+"px",this.wrapper.style.width=parseInt(i.width)+"px"},optimizeWrapper:function(e){let i=t.OPTIMIZATION_ACCEPTED;return this.imgBefore.image.naturalWidth>=e&&this.imgAfter.image.naturalWidth>=e?(this.wrapper.style.width=e+"px",i=t.OPTIMIZATION_WAS_CONSTRAINED):this.imgAfter.image.naturalWidth<e?this.wrapper.style.width=this.imgAfter.image.naturalWidth+"px":this.wrapper.style.width=this.imgBefore.image.naturalWidth+"px",this.setWrapperDimensions(),i},_onLoaded:function(){if(this.imgBefore&&!0===this.imgBefore.loaded&&this.imgAfter&&!0===this.imgAfter.loaded){var t;if(this.wrapper=this.element,!this.wrapper||this.wrapper.querySelector(".jx-slider"))return;i(this.wrapper,"juxtapose"),this.wrapper.style.width=this.imgBefore.image.naturalWidth,this.setWrapperDimensions(),this.slider=document.createElement("div"),this.slider.className="jx-slider",this.wrapper.appendChild(this.slider),this.sliderParentDocument=this.wrapper.ownerDocument,"horizontal"!==this.options.mode&&i(this.slider,this.options.mode),this.handle=document.createElement("div"),this.handle.className="jx-handle",this.rightImage=document.createElement("div"),this.rightImage.className="jx-image jx-right",this.rightImage.appendChild(this.imgAfter.image),this.leftImage=document.createElement("div"),this.leftImage.className="jx-image jx-left",this.leftImage.appendChild(this.imgBefore.image),this.slider.appendChild(this.handle),this.slider.appendChild(this.leftImage),this.slider.appendChild(this.rightImage),this.leftArrow=document.createElement("div"),this.rightArrow=document.createElement("div"),this.control=document.createElement("div"),this.controller=document.createElement("div"),this.leftArrow.className="jx-arrow jx-left",this.rightArrow.className="jx-arrow jx-right",this.control.className="jx-control",this.controller.className="jx-controller",this.controller.setAttribute("tabindex",0),this.controller.setAttribute("role","slider"),this.controller.setAttribute("aria-valuenow",50),this.controller.setAttribute("aria-valuemin",0),this.controller.setAttribute("aria-valuemax",100),this.controller.setAttribute("aria-label",(null===(t=window.imageCompareHandle)||void 0===t?void 0:t.msg)||"Slide to compare images"),this.handle.appendChild(this.leftArrow),this.handle.appendChild(this.control),this.handle.appendChild(this.rightArrow),this.control.appendChild(this.controller),this._init()}},_init:function(){this.updateSlider(this.options.startingPosition,!1),!0===this.options.showLabels&&(this.imgBefore.label&&this.displayLabel(this.leftImage,this.imgBefore.label),this.imgAfter.label&&this.displayLabel(this.rightImage,this.imgAfter.label));const e=this;window.addEventListener("resize",(function(){e.setWrapperDimensions()})),this.slider.addEventListener("mousedown",(function(t){t.preventDefault(),e.updateSlider(t,!0);let i=!0;this.addEventListener("mousemove",(function(t){t.preventDefault(),i&&e.updateSlider(t,!1)})),this.addEventListener("mouseup",(function(t){t.preventDefault(),t.stopPropagation(),i=!1}))})),this.slider.addEventListener("touchstart",(function(t){t.preventDefault(),t.stopPropagation(),e.updateSlider(t,!0),this.addEventListener("touchmove",(function(t){t.preventDefault(),t.stopPropagation(),e.updateSlider(t,!1)}))})),this.handle.addEventListener("keydown",(function(t){const i=t.which||t.keyCode;let n=parseFloat(this.style.left);if(37===i){n-=1;const t=parseFloat(this.style.left)-1;e.updateSlider(t,!1),e.controller.setAttribute("aria-valuenow",n)}if(39===i){n+=1;const t=parseFloat(this.style.left)+1;e.updateSlider(t,!1),e.controller.setAttribute("aria-valuenow",n)}})),this.leftImage.addEventListener("keydown",(function(t){const i=t.which||t.keyCode;13!==i&&32!==i||(e.updateSlider("90%",!0),e.controller.setAttribute("aria-valuenow",91))})),this.rightImage.addEventListener("keydown",(function(t){const i=t.which||t.keyCode;13!==i&&32!==i||(e.updateSlider("10%",!0),e.controller.setAttribute("aria-valuenow",10))})),t.sliders.push(this),this.options.callback&&"function"==typeof this.options.callback&&this.options.callback(this)}},t.makeSlider=function(e,n){void 0===n&&(n=t.sliders.length);const s=e,o=s.querySelectorAll("img");if(o.length<2)return;const r={};s.getAttribute("data-animate")&&(r.animate=s.getAttribute("data-animate")),s.getAttribute("data-showlabels")&&(r.showLabels=s.getAttribute("data-showlabels")),s.getAttribute("data-startingposition")&&(r.startingPosition=s.getAttribute("data-startingposition")),s.getAttribute("data-mode")&&(r.mode=s.getAttribute("data-mode")),s.getAttribute("data-makeresponsive")&&(r.mode=s.getAttribute("data-makeresponsive"));return i(e,"juxtapose-"+n),s.innerHTML?s.innerHTML="":s.innerText="",new t.JXSlider(e,[{src:o[0].src,label:o[0].getAttribute("data-label"),alt:o[0].alt},{src:o[1].src,label:o[1].getAttribute("data-label"),alt:o[1].alt}],r)},t.scanPage=function(){const e=document.querySelectorAll(".juxtapose");for(let i=0;i<e.length;i++)t.makeSlider(e[i],i)},t.JXSlider=l,window.juxtapose=t,t.scanPage()}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.png b/plugins/jetpack/_inc/blocks/images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.png
deleted file mode 100644
index bb291bcc..00000000
--- a/plugins/jetpack/_inc/blocks/images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.png b/plugins/jetpack/_inc/blocks/images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.png
deleted file mode 100644
index 65129565..00000000
--- a/plugins/jetpack/_inc/blocks/images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/example_160x600-a12cea65e6d4ce4b6f41d8c4f3184ded.png b/plugins/jetpack/_inc/blocks/images/example_160x600-a12cea65e6d4ce4b6f41d8c4f3184ded.png
deleted file mode 100644
index 629d9397..00000000
--- a/plugins/jetpack/_inc/blocks/images/example_160x600-a12cea65e6d4ce4b6f41d8c4f3184ded.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/example_300x250-212e56e8c2ac91bdcbbd742cd7591e17.png b/plugins/jetpack/_inc/blocks/images/example_300x250-212e56e8c2ac91bdcbbd742cd7591e17.png
deleted file mode 100644
index bc6e1432..00000000
--- a/plugins/jetpack/_inc/blocks/images/example_300x250-212e56e8c2ac91bdcbbd742cd7591e17.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/example_320x50-a1b9b09ff673b75f41d0b32162387f89.png b/plugins/jetpack/_inc/blocks/images/example_320x50-a1b9b09ff673b75f41d0b32162387f89.png
deleted file mode 100644
index ea31a52f..00000000
--- a/plugins/jetpack/_inc/blocks/images/example_320x50-a1b9b09ff673b75f41d0b32162387f89.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/example_728x90-a5e5ae2b8f307e343aea049530c1742d.png b/plugins/jetpack/_inc/blocks/images/example_728x90-a5e5ae2b8f307e343aea049530c1742d.png
deleted file mode 100644
index 958a024a..00000000
--- a/plugins/jetpack/_inc/blocks/images/example_728x90-a5e5ae2b8f307e343aea049530c1742d.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/map-preview-1744c8f7587de6d8857dbbe7d7cf5cb8.jpg b/plugins/jetpack/_inc/blocks/images/map-preview-1744c8f7587de6d8857dbbe7d7cf5cb8.jpg
deleted file mode 100644
index d9a55eb9..00000000
--- a/plugins/jetpack/_inc/blocks/images/map-preview-1744c8f7587de6d8857dbbe7d7cf5cb8.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg b/plugins/jetpack/_inc/blocks/images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg
deleted file mode 100644
index 34cc1412..00000000
--- a/plugins/jetpack/_inc/blocks/images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg b/plugins/jetpack/_inc/blocks/images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg
deleted file mode 100644
index 35505eb1..00000000
--- a/plugins/jetpack/_inc/blocks/images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg b/plugins/jetpack/_inc/blocks/images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg
deleted file mode 100644
index ef6ae417..00000000
--- a/plugins/jetpack/_inc/blocks/images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg b/plugins/jetpack/_inc/blocks/images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg
deleted file mode 100644
index eee1a2da..00000000
--- a/plugins/jetpack/_inc/blocks/images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/oval-3cc7669d571aef4e12f34b349e42d390.svg b/plugins/jetpack/_inc/blocks/images/oval-3cc7669d571aef4e12f34b349e42d390.svg
deleted file mode 100644
index cb149ec4..00000000
--- a/plugins/jetpack/_inc/blocks/images/oval-3cc7669d571aef4e12f34b349e42d390.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg width="32px" height="38px" viewBox="0 0 32 38" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
- <!-- Generator: Sketch 52.1 (67048) - http://www.bohemiancoding.com/sketch -->
- <title>Oval Copy</title>
- <desc>Created with Sketch.</desc>
- <defs>
- <path d="M119,136 C119,136 135,124.692424 135,114 C135,103.307576 127.836556,98 119,98 C110.163444,98 103,103.307576 103,114 C103,124.692424 119,136 119,136 Z" id="path-1"></path>
- <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="32" height="38" fill="white">
- <use xlink:href="#path-1"></use>
- </mask>
- </defs>
- <g id="Map-Block" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-dasharray="4">
- <g id="Revised-01-Placeholder-Copy" transform="translate(-496.000000, -376.000000)" stroke="#444444" stroke-width="4">
- <g id="Group" transform="translate(393.000000, 278.000000)">
- <use id="Oval-Copy" mask="url(#mask-2)" xlink:href="#path-1"></use>
- </g>
- </g>
- </g>
-</svg> \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/images/paypal-button-1e53882e702881f8dfd958c141e65383.png b/plugins/jetpack/_inc/blocks/images/paypal-button-1e53882e702881f8dfd958c141e65383.png
deleted file mode 100644
index 13bbad02..00000000
--- a/plugins/jetpack/_inc/blocks/images/paypal-button-1e53882e702881f8dfd958c141e65383.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/paypal-button-2x-3d5d36867a0f3728cc3a.png b/plugins/jetpack/_inc/blocks/images/paypal-button-2x-3d5d36867a0f3728cc3a.png
deleted file mode 100644
index ceea141d..00000000
--- a/plugins/jetpack/_inc/blocks/images/paypal-button-2x-3d5d36867a0f3728cc3a.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/paypal-button-2x-62cd99bcc3acbd1ff504.png b/plugins/jetpack/_inc/blocks/images/paypal-button-2x-62cd99bcc3acbd1ff504.png
new file mode 100644
index 00000000..307a3572
--- /dev/null
+++ b/plugins/jetpack/_inc/blocks/images/paypal-button-2x-62cd99bcc3acbd1ff504.png
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png b/plugins/jetpack/_inc/blocks/images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png
deleted file mode 100644
index ceea141d..00000000
--- a/plugins/jetpack/_inc/blocks/images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/paypal-button-5ecd2d5421d74f39e027.png b/plugins/jetpack/_inc/blocks/images/paypal-button-5ecd2d5421d74f39e027.png
deleted file mode 100644
index 13bbad02..00000000
--- a/plugins/jetpack/_inc/blocks/images/paypal-button-5ecd2d5421d74f39e027.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/paypal-button-a51d6c3207b0a904edb7.png b/plugins/jetpack/_inc/blocks/images/paypal-button-a51d6c3207b0a904edb7.png
new file mode 100644
index 00000000..a29d9fb5
--- /dev/null
+++ b/plugins/jetpack/_inc/blocks/images/paypal-button-a51d6c3207b0a904edb7.png
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/simple-payments_example-1-f3666e40d28c564ecf04f814e9a9f236.jpg b/plugins/jetpack/_inc/blocks/images/simple-payments_example-1-f3666e40d28c564ecf04f814e9a9f236.jpg
deleted file mode 100644
index 38df0814..00000000
--- a/plugins/jetpack/_inc/blocks/images/simple-payments_example-1-f3666e40d28c564ecf04f814e9a9f236.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/slideshow_example-1-4d22ce5ab8c84b87d307458fa7975fea.jpg b/plugins/jetpack/_inc/blocks/images/slideshow_example-1-4d22ce5ab8c84b87d307458fa7975fea.jpg
deleted file mode 100644
index 27f5f777..00000000
--- a/plugins/jetpack/_inc/blocks/images/slideshow_example-1-4d22ce5ab8c84b87d307458fa7975fea.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/slideshow_example-2-2c82eb59aaea53932f5e718e17284db7.jpg b/plugins/jetpack/_inc/blocks/images/slideshow_example-2-2c82eb59aaea53932f5e718e17284db7.jpg
deleted file mode 100644
index 028ec1c6..00000000
--- a/plugins/jetpack/_inc/blocks/images/slideshow_example-2-2c82eb59aaea53932f5e718e17284db7.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/slideshow_example-3-75cfaba94fc18a9c4b2bc164bd070c08.jpg b/plugins/jetpack/_inc/blocks/images/slideshow_example-3-75cfaba94fc18a9c4b2bc164bd070c08.jpg
deleted file mode 100644
index 8449a6be..00000000
--- a/plugins/jetpack/_inc/blocks/images/slideshow_example-3-75cfaba94fc18a9c4b2bc164bd070c08.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-1-e124e79c7cd0291640efe8f28aa9a6cd.jpg b/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-1-e124e79c7cd0291640efe8f28aa9a6cd.jpg
deleted file mode 100644
index d46bb739..00000000
--- a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-1-e124e79c7cd0291640efe8f28aa9a6cd.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-2-ee687d7366c359324b23a9681fb2cf92.jpg b/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-2-ee687d7366c359324b23a9681fb2cf92.jpg
deleted file mode 100644
index 6b863fe8..00000000
--- a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-2-ee687d7366c359324b23a9681fb2cf92.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-3-4d22ce5ab8c84b87d307458fa7975fea.jpg b/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-3-4d22ce5ab8c84b87d307458fa7975fea.jpg
deleted file mode 100644
index 27f5f777..00000000
--- a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-3-4d22ce5ab8c84b87d307458fa7975fea.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-4-2c82eb59aaea53932f5e718e17284db7.jpg b/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-4-2c82eb59aaea53932f5e718e17284db7.jpg
deleted file mode 100644
index 028ec1c6..00000000
--- a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-4-2c82eb59aaea53932f5e718e17284db7.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-5-3fafa6df43363f274a371ed90dbce254.jpg b/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-5-3fafa6df43363f274a371ed90dbce254.jpg
deleted file mode 100644
index e1c4d96a..00000000
--- a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-5-3fafa6df43363f274a371ed90dbce254.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-6-797246061ba8a7039b660584e9dc8946.jpg b/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-6-797246061ba8a7039b660584e9dc8946.jpg
deleted file mode 100644
index 6788e2c2..00000000
--- a/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-6-797246061ba8a7039b660584e9dc8946.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/_inc/blocks/index.json b/plugins/jetpack/_inc/blocks/index.json
index 14b01afb..ab7610a1 100644
--- a/plugins/jetpack/_inc/blocks/index.json
+++ b/plugins/jetpack/_inc/blocks/index.json
@@ -17,6 +17,7 @@
"map",
"markdown",
"opentable",
+ "payments",
"pinterest",
"podcast-player",
"publicize",
@@ -37,17 +38,12 @@
"subscriptions",
"tiled-gallery",
"videopress",
- "wordads"
- ],
- "beta": [
- "amazon"
- ],
- "experimental": [
- "anchor-fm",
- "premium-content",
- "conversation",
- "dialogue"
+ "wordads",
+ "payments-intro",
+ "post-publish-qr-post-panel"
],
+ "beta": [ "amazon" ],
+ "experimental": [ "anchor-fm", "premium-content", "conversation", "dialogue" ],
"no-post-editor": [
"business-hours",
"button",
@@ -65,13 +61,11 @@
"opentable",
"pinterest",
"rating-star",
- "recurring-payments",
"related-posts",
"repeat-visitor",
"revue",
"simple-payments",
"slideshow",
- "subscriptions",
"tiled-gallery",
"videopress",
"wordads"
diff --git a/plugins/jetpack/_inc/blocks/instagram-gallery/view.asset.php b/plugins/jetpack/_inc/blocks/instagram-gallery/view.asset.php
index e2c7d1ce..d27ae080 100644
--- a/plugins/jetpack/_inc/blocks/instagram-gallery/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/instagram-gallery/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a5a9923d729ed5cb4dc2be8fbc8a73dc'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9da4ea6d1647394ae32f');
diff --git a/plugins/jetpack/_inc/blocks/instagram-gallery/view.js b/plugins/jetpack/_inc/blocks/instagram-gallery/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/instagram-gallery/view.js
+++ b/plugins/jetpack/_inc/blocks/instagram-gallery/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/mailchimp/view.asset.php b/plugins/jetpack/_inc/blocks/mailchimp/view.asset.php
index c003755b..b460b045 100644
--- a/plugins/jetpack/_inc/blocks/mailchimp/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/mailchimp/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '5ab74b1e6a224e42efeecf001ab84639'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '57d744288a63364db9cc');
diff --git a/plugins/jetpack/_inc/blocks/mailchimp/view.js b/plugins/jetpack/_inc/blocks/mailchimp/view.js
index 5a1a3190..8eed9011 100644
--- a/plugins/jetpack/_inc/blocks/mailchimp/view.js
+++ b/plugins/jetpack/_inc/blocks/mailchimp/view.js
@@ -1 +1 @@
-!function(){var t={89453:function(t,e){"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])+$/;e.validate=function(t){if(!t)return!1;if(t.length>254)return!1;if(!n.test(t))return!1;var e=t.split("@");return!(e[0].length>64)&&!e[1].split(".").some((function(t){return t.length>63}))}},32596:function(t,e,n){var r=n(92373).Symbol;t.exports=r},80563:function(t,e,n){var r=n(32596),o=n(38703),i=n(50888),c=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?o(t):i(t)}},91367:function(t,e,n){var r=n(40949),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},2117:function(t){var e="object"==typeof window&&window&&window.Object===Object&&window;t.exports=e},38703:function(t,e,n){var r=n(32596),o=Object.prototype,i=o.hasOwnProperty,c=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=c.call(t);return r&&(e?t[s]=n:delete t[s]),o}},50888:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},92373:function(t,e,n){var r=n(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},40949:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},45034:function(t,e,n){var r=n(17709),o=n(16987),i=n(65812),c=Math.max,s=Math.min;t.exports=function(t,e,n){var u,a,l,f,p,d,v=0,m=!1,b=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var n=u,r=a;return u=a=void 0,v=e,f=t.apply(r,n)}function g(t){return v=t,p=setTimeout(x,e),m?w(t):f}function h(t){var n=t-d;return void 0===d||n>=e||n<0||b&&t-v>=l}function x(){var t=o();if(h(t))return j(t);p=setTimeout(x,function(t){var n=e-(t-d);return b?s(n,l-(t-v)):n}(t))}function j(t){return p=void 0,y&&u?w(t):(u=a=void 0,f)}function _(){var t=o(),n=h(t);if(u=arguments,a=this,d=t,n){if(void 0===p)return g(d);if(b)return clearTimeout(p),p=setTimeout(x,e),w(d)}return void 0===p&&(p=setTimeout(x,e)),f}return e=i(e)||0,r(n)&&(m=!!n.leading,l=(b="maxWait"in n)?c(i(n.maxWait)||0,e):l,y="trailing"in n?!!n.trailing:y),_.cancel=function(){void 0!==p&&clearTimeout(p),v=0,u=d=a=p=void 0},_.flush=function(){return void 0===p?f:j(o())},_}},17709:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},73474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},21995:function(t,e,n){var r=n(80563),o=n(73474);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},16987:function(t,e,n){var r=n(92373);t.exports=function(){return r.Date.now()}},65812:function(t,e,n){var r=n(91367),o=n(17709),i=n(21995),c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,a=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||u.test(t)?a(t.slice(2),n?2:8):c.test(t)?NaN:+t}},57836:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t+"../"}(),function(){"use strict";n(57836)}(),function(){"use strict";var t=n(47701),e=n.n(t),r=n(45034),o=n.n(r),i=n(89453);const c="wp-block-jetpack-mailchimp";function s(t,e){const n=e.value,r="error";return e.classList.remove(r),!!i.validate(n)||(e.classList.add(r),"function"==typeof document.createElement("input").reportValidity&&t.reportValidity(),!1)}const u=(t,e)=>o()((()=>{s(t,e)}),1e3);function a(t,e){const n=t.querySelector("form"),r=t.querySelector("input[name=email]"),o=t.querySelector("."+c+"_processing"),i=t.querySelector("."+c+"_error"),a=t.querySelector("."+c+"_success");r.addEventListener("input",u(n,r)),n.addEventListener("submit",(c=>{c.preventDefault();const l=r.value,f=[].slice.call(n.querySelectorAll("input[type=hidden].mc-submit-param")).reduce(((t,e)=>({...t,[e.name]:e.value})),{});s(n,r)&&(t.classList.add("is-processing"),r.removeEventListener("input",u(n,r)),o.classList.add("is-visible"),function(t,e,n){let r="https://public-api.wordpress.com/rest/v1.1/sites/"+encodeURIComponent(t)+"/email_follow/subscribe?email="+encodeURIComponent(e);for(const t in n)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(n[t]);return new Promise((function(t,e){const n=new XMLHttpRequest;n.open("GET",r),n.onload=function(){if(200===n.status){const e=JSON.parse(n.responseText);t(e)}else{const t=JSON.parse(n.responseText);e(t)}},n.send()}))}(e,l,f).then((t=>{o.classList.remove("is-visible"),t.error&&"member_exists"!==t.error?i.classList.add("is-visible"):a.classList.add("is-visible")}),(()=>{o.classList.remove("is-visible"),i.classList.add("is-visible")})))}))}const l=()=>{Array.from(document.querySelectorAll("."+c)).forEach((t=>{if("true"===t.getAttribute("data-jetpack-block-initialized"))return;const e=t.getAttribute("data-blog-id");try{a(t,e)}catch(t){0}t.setAttribute("data-jetpack-block-initialized","true")}))};"undefined"!=typeof window&&e()(l)}()}(); \ No newline at end of file
+!function(){var t={92384:function(t,e){"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])+$/;e.validate=function(t){if(!t)return!1;if(t.length>254)return!1;if(!n.test(t))return!1;var e=t.split("@");return!(e[0].length>64)&&!e[1].split(".").some((function(t){return t.length>63}))}},64924:function(t,e,n){var r=n(49159).Symbol;t.exports=r},10530:function(t,e,n){var r=n(64924),o=n(38792),i=n(78004),c=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?o(t):i(t)}},59504:function(t,e,n){var r=n(90310),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},6150:function(t){var e="object"==typeof window&&window&&window.Object===Object&&window;t.exports=e},38792:function(t,e,n){var r=n(64924),o=Object.prototype,i=o.hasOwnProperty,c=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=c.call(t);return r&&(e?t[s]=n:delete t[s]),o}},78004:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},49159:function(t,e,n){var r=n(6150),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},90310:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},63259:function(t,e,n){var r=n(10731),o=n(26199),i=n(64934),c=Math.max,s=Math.min;t.exports=function(t,e,n){var u,a,l,f,p,d,v=0,m=!1,b=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var n=u,r=a;return u=a=void 0,v=e,f=t.apply(r,n)}function g(t){return v=t,p=setTimeout(x,e),m?w(t):f}function h(t){var n=t-d;return void 0===d||n>=e||n<0||b&&t-v>=l}function x(){var t=o();if(h(t))return j(t);p=setTimeout(x,function(t){var n=e-(t-d);return b?s(n,l-(t-v)):n}(t))}function j(t){return p=void 0,y&&u?w(t):(u=a=void 0,f)}function _(){var t=o(),n=h(t);if(u=arguments,a=this,d=t,n){if(void 0===p)return g(d);if(b)return clearTimeout(p),p=setTimeout(x,e),w(d)}return void 0===p&&(p=setTimeout(x,e)),f}return e=i(e)||0,r(n)&&(m=!!n.leading,l=(b="maxWait"in n)?c(i(n.maxWait)||0,e):l,y="trailing"in n?!!n.trailing:y),_.cancel=function(){void 0!==p&&clearTimeout(p),v=0,u=d=a=p=void 0},_.flush=function(){return void 0===p?f:j(o())},_}},10731:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},41642:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},46260:function(t,e,n){var r=n(10530),o=n(41642);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},26199:function(t,e,n){var r=n(49159);t.exports=function(){return r.Date.now()}},64934:function(t,e,n){var r=n(59504),o=n(10731),i=n(46260),c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,a=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||u.test(t)?a(t.slice(2),n?2:8):c.test(t)?NaN:+t}},80425:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t+"../"}(),function(){"use strict";n(80425)}(),function(){"use strict";var t=n(47701),e=n.n(t),r=n(63259),o=n.n(r),i=n(92384);const c="wp-block-jetpack-mailchimp";function s(t,e){const n=e.value,r="error";return e.classList.remove(r),!!i.validate(n)||(e.classList.add(r),"function"==typeof document.createElement("input").reportValidity&&t.reportValidity(),!1)}const u=(t,e)=>o()((()=>{s(t,e)}),1e3);function a(t,e){const n=t.querySelector("form"),r=t.querySelector("input[name=email]"),o=t.querySelector("."+c+"_processing"),i=t.querySelector("."+c+"_error"),a=t.querySelector("."+c+"_success");r.addEventListener("input",u(n,r)),n.addEventListener("submit",(c=>{c.preventDefault();const l=r.value,f=[].slice.call(n.querySelectorAll("input[type=hidden].mc-submit-param")).reduce(((t,e)=>({...t,[e.name]:e.value})),{});s(n,r)&&(t.classList.add("is-processing"),r.removeEventListener("input",u(n,r)),o.classList.add("is-visible"),function(t,e,n){let r="https://public-api.wordpress.com/rest/v1.1/sites/"+encodeURIComponent(t)+"/email_follow/subscribe?email="+encodeURIComponent(e);for(const t in n)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(n[t]);return new Promise((function(t,e){const n=new XMLHttpRequest;n.open("GET",r),n.onload=function(){if(200===n.status){const e=JSON.parse(n.responseText);t(e)}else{const t=JSON.parse(n.responseText);e(t)}},n.send()}))}(e,l,f).then((t=>{o.classList.remove("is-visible"),t.error&&"member_exists"!==t.error?i.classList.add("is-visible"):a.classList.add("is-visible")}),(()=>{o.classList.remove("is-visible"),i.classList.add("is-visible")})))}))}const l=()=>{Array.from(document.querySelectorAll("."+c)).forEach((t=>{if("true"===t.getAttribute("data-jetpack-block-initialized"))return;const e=t.getAttribute("data-blog-id");try{a(t,e)}catch(t){0}t.setAttribute("data-jetpack-block-initialized","true")}))};"undefined"!=typeof window&&e()(l)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/map/view.asset.php b/plugins/jetpack/_inc/blocks/map/view.asset.php
index 39bbf71d..93ce8cb8 100644
--- a/plugins/jetpack/_inc/blocks/map/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/map/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-token-list'), 'version' => '95fd3ce9c838f330006cad4232ddc2ff'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-token-list'), 'version' => '0b280fc84ed68481c1d6');
diff --git a/plugins/jetpack/_inc/blocks/map/view.js b/plugins/jetpack/_inc/blocks/map/view.js
index 8207ab97..ea4b91ef 100644
--- a/plugins/jetpack/_inc/blocks/map/view.js
+++ b/plugins/jetpack/_inc/blocks/map/view.js
@@ -1 +1 @@
-!function(){var e={27538:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},79267:function(e,t,n){"use strict";var o=n(27538),r=n.n(o),i=n(69307),a=n(65736),s=n(92819),l=n(55609),c=n(81041),p=n(77714),d=n(73242),u=n(87929),m=n(45388);const __=a.__;class h extends i.Component{constructor(){super(...arguments),r()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),r()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),r()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),r()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:o}=n.props,r=t.slice(0);(0,s.assign)(r[o],e),this.props.onSetPoints(r)})),r()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,o=e.slice(0);o.splice(n,1),this.props.onSetPoints(o),this.setState({activeMarker:null})})),r()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,o=Math.min(e*(3/4),t);n.style.height=o+"px"}t.resize(),this.setBoundsByMarkers()})),r()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),r()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:o,zoom:r}=this.props,{map:i,activeMarker:a,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!i)return;if(o.length&&e?i.dragPan.disable():i.dragPan.enable(),!o.length)return;if(a)return;const p=new s.LngLatBounds;if(o.forEach((e=>{p.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(p.getCenter()),o.length>1){i.fitBounds(p,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{i.removeControl(l)}catch(e){}}else{if(i.setCenter(p.getCenter()),c){const e=12;i.setZoom(e),n(e)}else i.setZoom(parseInt(r,10));i.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),r()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),r()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,i.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:o}=this.props,{map:r,activeMarker:a,mapboxgl:d}=this.state,{onMarkerClick:u,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(a,"props.point")||{},{title:g,caption:k}=f,b=i.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),w=r&&d&&e.map(((e,t)=>(0,i.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:r,mapboxgl:d,markerColor:o,onClick:u}))),v=d&&(0,i.createElement)(p.Z,{activeMarker:a,map:r,mapboxgl:d,unsetActiveMarker:()=>this.setState({activeMarker:null})},a&&t&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,i.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:k,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,i.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,i.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),a&&!t&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)("h3",null,g),(0,i.createElement)("p",null,k)));return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},w),v,b)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:o,points:r,mapStyle:i,mapDetails:a,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:p}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),o!==e.children&&!1!==o&&this.clearCurrentMarker(),r!==e.points&&this.setBoundsByMarkers(),r.length!==e.points.length&&this.clearCurrentMarker(),i===e.mapStyle&&a===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(p),t&&p._fullscreenButton&&(p._fullscreenButton.disabled=!0)):c.removeControl(p))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,d.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,u.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,u.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,u.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:o,onError:r,scrollToZoom:i,showFullscreenButton:a,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void r("mapbox_error",e.message)}i||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{r("mapbox_error",e.error.message)}));const p=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:p,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(p),a&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),o(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},77714:function(e,t,n){"use strict";var o=n(27538),r=n.n(o),i=n(69307);class a extends i.Component{constructor(){super(...arguments),r()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,i.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}a.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=a},81041:function(e,t,n){"use strict";var o=n(27538),r=n.n(o),i=n(69307),a=n(87929);class s extends i.Component{constructor(){super(...arguments),r()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),r()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:o,mapRef:r}=this.props,{handleClick:i}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,a.bL)(r.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",i)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+o+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},73242:function(e,t,n){"use strict";function o(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return o}})},17885:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var o=n(69307),r=n(65736),i=n(56932),a=n(45107),s=n(65765),l=n(34140);const __=r.__,_x=r._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,o.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,o.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:i,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:a},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,o.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,o.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,o.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,o.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},87929:function(e,t,n){"use strict";function o(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function r(e,t,n){const r=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:i}=o(n),a=i.getElementsByTagName("head")[0];e.forEach((e=>{const[n,o]=e.file.split("/").pop().split(".");if("css"===o){if(i.getElementById(e.id))return;const t=i.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${r}/${n}-${e.version}.${o}`,a.appendChild(t)}if("js"===o){const s=t[e.id]?t[e.id]:null;if(i.getElementById(e.id))return s();const l=i.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${r}/${n}-${e.version}.${o}`,l.onload=s,a.appendChild(l)}}))}function i(e,t){return new Promise((n=>{const o=()=>{e[t]?n(e[t]):e.requestAnimationFrame(o)};o()}))}n.d(t,{bL:function(){return o},Pp:function(){return r},Dz:function(){return i}})},98085:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var o=n(29512),r=n.n(o),i=n(92819);function a(e,t){const n=function(e,t){for(const n of new(r())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),o=(0,i.find)(e,{name:t});if(o)return o}return(0,i.find)(e,"isDefault")}(e,t);return n?n.name:null}},71875:function(e,t,n){"use strict";var o=n(92819),r=n(69307);t.Z=class{blockIterator(e,t){t.forEach((t=>{this.initializeFrontendReactBlocks(t.component,t.options,e)}))}initializeFrontendReactBlocks(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const{attributes:i,name:a,prefix:s}=t.settings,{selector:l}=t,c=`.wp-block-${(s&&s.length?`${s}/${a}`:a).replace("/","-")}`,p=n.querySelectorAll(c);for(const n of p){if("true"===n.getAttribute("data-jetpack-block-initialized"))continue;const a=this.extractAttributesFromContainer(n,i);(0,o.assign)(a,t.props);const s=this.extractChildrenFromContainer(n),c=(0,r.createElement)(e,a,s);(0,r.render)(c,l?n.querySelector(l):n),n.setAttribute("data-jetpack-block-initialized",!0)}}extractAttributesFromContainer(e,t){const n={};for(const r in t){const i=t[r],a="data-"+(0,o.kebabCase)(r);if(n[r]=e.getAttribute(a),"boolean"===i.type&&(n[r]="false"!==n[r]&&!!n[r]),"array"===i.type||"object"===i.type)try{n[r]=JSON.parse(n[r])}catch(e){n[r]=null}}return n}extractChildrenFromContainer(e){return[...e.childNodes].map((e=>{const t={};for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];t[o.nodeName]=o.nodeValue}return t.dangerouslySetInnerHTML={__html:e.innerHTML},(0,r.createElement)(e.tagName.toLowerCase(),t)}))}}},57836:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},92819:function(e){"use strict";e.exports=window.lodash},55609:function(e){"use strict";e.exports=window.wp.components},47701:function(e){"use strict";e.exports=window.wp.domReady},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n},29512:function(e){"use strict";e.exports=window.wp.tokenList},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.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(/\/[^\/]+$/,"/"),n.p=e+"../"}(),function(){"use strict";n(57836)}(),function(){"use strict";var e=n(47701),t=n.n(e),o=n(79267),r=n(17885),i=n(71875),a=n(98085);t()((function(){(new i.Z).blockIterator(document,[{component:o.Z,options:{settings:{...r.X,attributes:{...r.X.attributes,mapStyle:(0,a.t)(r.X.styles,r.X.className),apiKey:{type:"string",default:""}}}}}])}))}()}(); \ No newline at end of file
+!function(){var e={18294:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},93846:function(e,t,n){"use strict";var o=n(18294),r=n.n(o),i=n(69307),a=n(65736),s=n(92819),l=n(55609),c=n(9262),p=n(82621),d=n(90055),u=n(85007),m=n(45388);const __=a.__;class h extends i.Component{constructor(){super(...arguments),r()(this,"onMarkerClick",(e=>{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()})),r()(this,"onMapClick",(()=>{this.setState({activeMarker:null})})),r()(this,"clearCurrentMarker",(()=>{this.setState({activeMarker:null})})),r()(this,"updateActiveMarker",(e=>{const{points:t}=this.props,{activeMarker:n}=this.state,{index:o}=n.props,r=t.slice(0);(0,s.assign)(r[o],e),this.props.onSetPoints(r)})),r()(this,"deleteActiveMarker",(()=>{const{points:e}=this.props,{activeMarker:t}=this.state,{index:n}=t.props,o=e.slice(0);o.splice(n,1),this.props.onSetPoints(o),this.setState({activeMarker:null})})),r()(this,"sizeMap",(()=>{const{mapHeight:e}=this.props,{map:t}=this.state,n=this.mapRef.current;if(e)n.style.height=e+"px";else{const e=n.offsetWidth,t=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,o=Math.min(e*(3/4),t);n.style.height=o+"px"}t.resize(),this.setBoundsByMarkers()})),r()(this,"updateZoom",(()=>{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e),t.updateZoom(e)})),r()(this,"setBoundsByMarkers",(()=>{const{admin:e,onSetMapCenter:t,onSetZoom:n,points:o,zoom:r}=this.props,{map:i,activeMarker:a,mapboxgl:s,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!i)return;if(o.length&&e?i.dragPan.disable():i.dragPan.enable(),!o.length)return;if(a)return;const p=new s.LngLatBounds;if(o.forEach((e=>{p.extend([e.coordinates.longitude,e.coordinates.latitude])})),t(p.getCenter()),o.length>1){i.fitBounds(p,{padding:{top:80,bottom:80,left:40,right:40}}),this.setState({boundsSetProgrammatically:!0});try{i.removeControl(l)}catch(e){}}else{if(i.setCenter(p.getCenter()),c){const e=12;i.setZoom(e),n(e)}else i.setZoom(parseInt(r,10));i.addControl(l),this.setState({boundsSetProgrammatically:!1})}})),r()(this,"scriptsLoaded",(()=>{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)})),r()(this,"googlePoint2Mapbox",(e=>e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0})),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,i.createRef)(),this.debouncedSizeMap=(0,s.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:n,markerColor:o}=this.props,{map:r,activeMarker:a,mapboxgl:d}=this.state,{onMarkerClick:u,deleteActiveMarker:m,updateActiveMarker:h}=this,f=(0,s.get)(a,"props.point")||{},{title:g,caption:k}=f,b=i.Children.map(n,(e=>{if("AddPoint"===(0,s.get)(e,"props.tagName"))return e})),w=r&&d&&e.map(((e,t)=>(0,i.createElement)(c.Z,{mapRef:this.mapRef,key:t,point:e,index:t,map:r,mapboxgl:d,markerColor:o,onClick:u}))),v=d&&(0,i.createElement)(p.Z,{activeMarker:a,map:r,mapboxgl:d,unsetActiveMarker:()=>this.setState({activeMarker:null})},a&&t&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(l.TextControl,{label:__("Marker Title","jetpack"),value:g,onChange:e=>h({title:e})}),(0,i.createElement)(l.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:__("Marker Caption","jetpack"),value:k,rows:"2",tag:"textarea",onChange:e=>h({caption:e})}),(0,i.createElement)(l.Button,{onClick:m,className:"wp-block-jetpack-map__delete-btn"},(0,i.createElement)(l.Dashicon,{icon:"trash",size:"15"})," ",__("Delete Marker","jetpack"))),a&&!t&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)("h3",null,g),(0,i.createElement)("p",null,k)));return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},w),v,b)}componentDidMount(){const{apiKey:e}=this.props;e&&this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener("resize",this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:n,children:o,points:r,mapStyle:i,mapDetails:a,scrollToZoom:s,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:p}=this.state;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),o!==e.children&&!1!==o&&this.clearCurrentMarker(),r!==e.points&&this.setBoundsByMarkers(),r.length!==e.points.length&&this.clearCurrentMarker(),i===e.mapStyle&&a===e.mapDetails||c.setStyle(this.getMapStyle()),s!==e.scrollToZoom&&(s?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&&(l?(c.addControl(p),t&&p._fullscreenButton&&(p._fullscreenButton.disabled=!0)):c.removeControl(p))}getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,d.h)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";default:return"ROADMAP"}}loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,u.bL)(this.mapRef.current),n={"mapbox-gl-js":()=>{(0,u.Dz)(t,"mapboxgl").then((t=>{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)}))}};(0,u.Pp)(m,n,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:n,onMapLoaded:o,onError:r,scrollToZoom:i,showFullscreenButton:a,admin:s}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(n,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void r("mapbox_error",e.message)}i||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on("error",(e=>{r("mapbox_error",e.error.message)}));const p=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on("zoomend",(()=>{this.props.onSetZoom(l.getZoom())})),l.on("moveend",(()=>{const{onSetMapCenter:e,points:t}=this.props;t.length<1&&e(l.getCenter())})),l.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:l,zoomControl:p,fullscreenControl:c},(()=>{this.debouncedSizeMap(),l.addControl(p),a&&(l.addControl(c),s&&c._fullscreenButton&&(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener("alignmentChanged",this.debouncedSizeMap),l.resize(),o(),this.setState({loaded:!0}),window.addEventListener("resize",this.debouncedSizeMap)}))}}h.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:()=>{},onSetMapCenter:()=>{},onMapLoaded:()=>{},onMarkerClick:()=>{},onError:()=>{},markerColor:"red",apiKey:null,mapCenter:{}},t.Z=h},82621:function(e,t,n){"use strict";var o=n(18294),r=n.n(o),i=n(69307);class a extends i.Component{constructor(){super(...arguments),r()(this,"closeClick",(()=>{this.props.unsetActiveMarker()}))}componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,i.createPortal)(this.props.children,this.el):null}openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}a.defaultProps={unsetActiveMarker:()=>{},activeMarker:null,map:null,mapboxgl:null},t.Z=a},9262:function(e,t,n){"use strict";var o=n(18294),r=n.n(o),i=n(69307),a=n(85007);class s extends i.Component{constructor(){super(...arguments),r()(this,"handleClick",(()=>{const{onClick:e}=this.props;e(this)})),r()(this,"getPoint",(()=>{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]}))}componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&&this.marker.remove()}componentDidUpdate(){this.renderMarker()}renderMarker(){const{map:e,point:t,mapboxgl:n,markerColor:o,mapRef:r}=this.props,{handleClick:i}=this,s=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:l}=(0,a.bL)(r.current),c=this.marker?this.marker.getElement():l.createElement("div");this.marker?this.marker.setLngLat(s):(c.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(c).setLngLat(s).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener("click",i)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+o+'" mask="url(#c)"/></g></svg>'}render(){return null}}s.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:()=>{}},t.Z=s},90055:function(e,t,n){"use strict";function o(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}n.d(t,{h:function(){return o}})},82695:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var o=n(69307),r=n(65736),i=n(56932),a=n(45107),s=n(65765),l=n(34140);const __=r.__,_x=r._x,c={name:"map",prefix:"jetpack",title:__("Map","jetpack"),icon:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,o.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),(0,o.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"embed",keywords:[_x("maps","block search term","jetpack"),_x("location","block search term","jetpack"),_x("navigation","block search term","jetpack")],description:__("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},address:{type:"string",default:""},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1},scrollToZoom:{type:"boolean",default:!1},mapHeight:{type:"integer"},showFullscreenButton:{type:"boolean",default:!0}},supports:{defaultStylePicker:!1,html:!1},styles:[{name:"default",label:__("Basic","jetpack"),preview:i,isDefault:!0},{name:"black_and_white",label:__("Black and white","jetpack"),preview:a},{name:"satellite",label:__("Satellite","jetpack"),preview:s},{name:"terrain",label:__("Terrain","jetpack"),preview:l}],validAlignments:["center","wide","full"],markerIcon:(0,o.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},(0,o.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},(0,o.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),(0,o.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},85007:function(e,t,n){"use strict";function o(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function r(e,t,n){const r=`${window.Jetpack_Block_Assets_Base_Url.url}editor-assets`,{currentDoc:i}=o(n),a=i.getElementsByTagName("head")[0];e.forEach((e=>{const[n,o]=e.file.split("/").pop().split(".");if("css"===o){if(i.getElementById(e.id))return;const t=i.createElement("link");t.id=e.id,t.rel="stylesheet",t.href=`${r}/${n}-${e.version}.${o}`,a.appendChild(t)}if("js"===o){const s=t[e.id]?t[e.id]:null;if(i.getElementById(e.id))return s();const l=i.createElement("script");l.id=e.id,l.type="text/javascript",l.src=`${r}/${n}-${e.version}.${o}`,l.onload=s,a.appendChild(l)}}))}function i(e,t){return new Promise((n=>{const o=()=>{e[t]?n(e[t]):e.requestAnimationFrame(o)};o()}))}n.d(t,{Dz:function(){return i},Pp:function(){return r},bL:function(){return o}})},81518:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var o=n(29512),r=n.n(o),i=n(92819);function a(e,t){const n=function(e,t){for(const n of new(r())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),o=(0,i.find)(e,{name:t});if(o)return o}return(0,i.find)(e,"isDefault")}(e,t);return n?n.name:null}},44241:function(e,t,n){"use strict";var o=n(92819),r=n(69307);t.Z=class{blockIterator(e,t){t.forEach((t=>{this.initializeFrontendReactBlocks(t.component,t.options,e)}))}initializeFrontendReactBlocks(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const{attributes:i,name:a,prefix:s}=t.settings,{selector:l}=t,c=`.wp-block-${(s&&s.length?`${s}/${a}`:a).replace("/","-")}`,p=n.querySelectorAll(c);for(const n of p){if("true"===n.getAttribute("data-jetpack-block-initialized"))continue;const a=this.extractAttributesFromContainer(n,i);(0,o.assign)(a,t.props);const s=this.extractChildrenFromContainer(n),c=(0,r.createElement)(e,a,s);(0,r.render)(c,l?n.querySelector(l):n),n.setAttribute("data-jetpack-block-initialized",!0)}}extractAttributesFromContainer(e,t){const n={};for(const r in t){const i=t[r],a="data-"+(0,o.kebabCase)(r);if(n[r]=e.getAttribute(a),"boolean"===i.type&&(n[r]="false"!==n[r]&&!!n[r]),"array"===i.type||"object"===i.type)try{n[r]=JSON.parse(n[r])}catch(e){n[r]=null}}return n}extractChildrenFromContainer(e){return[...e.childNodes].map((e=>{const t={};for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];t[o.nodeName]=o.nodeValue}return t.dangerouslySetInnerHTML={__html:e.innerHTML},(0,r.createElement)(e.tagName.toLowerCase(),t)}))}}},80425:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},45107:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg"},56932:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_default-b53ccdf170e5ac873ff0.jpg"},65765:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_satellite-cc50c608e244f90d18dc.jpg"},34140:function(e,t,n){"use strict";e.exports=n.p+"images/map-theme_terrain-ac291441b3461820747d.jpg"},92819:function(e){"use strict";e.exports=window.lodash},55609:function(e){"use strict";e.exports=window.wp.components},47701:function(e){"use strict";e.exports=window.wp.domReady},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n},29512:function(e){"use strict";e.exports=window.wp.tokenList},45388:function(e){"use strict";e.exports=JSON.parse('[{"id":"mapbox-gl-js","file":"node_modules/mapbox-gl/dist/mapbox-gl.js","version":"1.13.0"},{"id":"mapbox-gl-css","file":"node_modules/mapbox-gl/dist/mapbox-gl.css","version":"1.13.0"}]')}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.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(/\/[^\/]+$/,"/"),n.p=e+"../"}(),function(){"use strict";n(80425)}(),function(){"use strict";var e=n(47701),t=n.n(e),o=n(93846),r=n(82695),i=n(44241),a=n(81518);t()((function(){(new i.Z).blockIterator(document,[{component:o.Z,options:{settings:{...r.X,attributes:{...r.X.attributes,mapStyle:(0,a.t)(r.X.styles,r.X.className),apiKey:{type:"string",default:""}}}}}])}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/opentable/view.asset.php b/plugins/jetpack/_inc/blocks/opentable/view.asset.php
index 27e7edb1..b83928b8 100644
--- a/plugins/jetpack/_inc/blocks/opentable/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/opentable/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => '143fa20bc57651de6beb98e618d17d9b'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'caa8cee08e6c3de1421e');
diff --git a/plugins/jetpack/_inc/blocks/opentable/view.js b/plugins/jetpack/_inc/blocks/opentable/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/opentable/view.js
+++ b/plugins/jetpack/_inc/blocks/opentable/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/podcast-player/view.asset.php b/plugins/jetpack/_inc/blocks/podcast-player/view.asset.php
index ddd50eb1..fc8923f8 100644
--- a/plugins/jetpack/_inc/blocks/podcast-player/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/podcast-player/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '6ac699396cb54247af8e3f52bbe2bd5a'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '2b08488a6df68e5105b7');
diff --git a/plugins/jetpack/_inc/blocks/podcast-player/view.js b/plugins/jetpack/_inc/blocks/podcast-player/view.js
index e86645bd..1e6b6784 100644
--- a/plugins/jetpack/_inc/blocks/podcast-player/view.js
+++ b/plugins/jetpack/_inc/blocks/podcast-player/view.js
@@ -1,17 +1,17 @@
/*! For license information please see view.js.LICENSE.txt */
-!function(){var e={27538:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},89105:function(e,t){var r;!function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var n=s.apply(null,r);n&&e.push(n)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var c in r)a.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()},32002:function(e){var t=1e3,r=60*t,a=60*r,s=24*a,o=7*s,n=365.25*s;function c(e,t,r,a){var s=t>=1.5*r;return Math.round(e/r)+" "+a+(s?"s":"")}e.exports=function(e,i){i=i||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\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(!c)return;var i=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*n;case"weeks":case"week":case"w":return i*o;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*a;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===l&&isFinite(e))return i.long?function(e){var o=Math.abs(e);if(o>=s)return c(e,o,s,"day");if(o>=a)return c(e,o,a,"hour");if(o>=r)return c(e,o,r,"minute");if(o>=t)return c(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=s)return Math.round(e/s)+"d";if(o>=a)return Math.round(e/a)+"h";if(o>=r)return Math.round(e/r)+"m";if(o>=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))}},98006:function(e,t,r){"use strict";var a=r(69307),s=r(89105),o=r.n(s),n=r(76814);const c=(0,a.memo)((e=>{let{playerId:t,title:r,cover:s,link:o,track:n,children:c,showEpisodeTitle:l,showCoverArt:u,showEpisodeDescription:d,colors:p}=e;return u||l||d?(0,a.createElement)("div",{className:"jetpack-podcast-player__header"},(0,a.createElement)("div",{className:"jetpack-podcast-player__current-track-info"},u&&s&&(0,a.createElement)("div",{className:"jetpack-podcast-player__cover"},(0,a.createElement)("img",{className:"jetpack-podcast-player__cover-image",src:s,alt:""})),l&&!!(r||n&&n.title)&&(0,a.createElement)(i,{playerId:t,title:r,link:o,track:n,colors:p})),!!(d&&n&&n.description)&&(0,a.createElement)("p",{id:`${t}__track-description`,className:"jetpack-podcast-player__track-description"},n.description),c):c})),i=(0,a.memo)((e=>{let{playerId:t,title:r,link:s,track:c,colors:i={primary:{name:null,custom:null,classes:""}}}=e;return(0,a.createElement)("h2",{id:`${t}__title`,className:"jetpack-podcast-player__title"},!(!c||!c.title)&&(0,a.createElement)("span",{className:o()("jetpack-podcast-player__current-track-title",i.primary.classes),style:{color:i.primary.custom}},c.title,(0,a.createElement)("a",{className:"jetpack-podcast-player__track-title-link",href:c.link||c.src,target:"_blank",rel:"noopener noreferrer nofollow"},n.Z)),!!(c&&c.title&&r)&&(0,a.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"}," - "),!!r&&(0,a.createElement)(l,{title:r,link:s,colors:i}))})),l=(0,a.memo)((e=>{let{title:t,link:r}=e;return(0,a.createElement)("span",{className:"jetpack-podcast-player__podcast-title"},r?(0,a.createElement)("a",{className:"jetpack-podcast-player__link",href:r,target:"_blank",rel:"noopener noreferrer nofollow"},t):{title:t})}));t.Z=c},66530:function(e,t,r){"use strict";var a=r(69307),s=r(15111),o=r(15020);const n=(0,a.memo)((e=>{let{playerId:t,tracks:r,selectTrack:n,currentTrack:c,playerState:i,colors:l}=e;return(0,a.createElement)("ol",{className:"jetpack-podcast-player__tracks","aria-labelledby":`jetpack-podcast-player__tracklist-title--${t}`,"aria-describedby":`jetpack-podcast-player__tracklist-description--${t}`},r.map(((e,t)=>{const r=c===t;return(0,a.createElement)(o.Z,{key:e.id,index:t,track:e,selectTrack:n,isActive:r,isPlaying:r&&i===s.Wp,isError:r&&i===s.Vy,colors:l})})))}));t.Z=n},58627:function(e,t,r){"use strict";var a=r(27538),s=r.n(a),o=r(69307),n=r(89105),c=r.n(n),i=r(65736),l=r(25158),u=r(94333),d=r(9818),p=r(15111),m=r(92924),h=r(66530),y=r(98006),f=r(74693),g=r(56551);const __=i.__;class k extends o.Component{constructor(){super(...arguments),s()(this,"state",{currentTrack:0,hasUserInteraction:!1}),s()(this,"recordUserInteraction",(()=>{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})})),s()(this,"selectTrack",(e=>{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&&this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)})),s()(this,"loadTrack",(e=>{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&&this.setState({currentTrack:e});const{title:r,link:a,description:s}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:r,link:a}),(0,l.speak)(
+!function(){var e={18294:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},65235:function(e,t){var r;!function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var n=s.apply(null,r);n&&e.push(n)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var c in r)a.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()},73171:function(e){var t=1e3,r=60*t,a=60*r,s=24*a,o=7*s,n=365.25*s;function c(e,t,r,a){var s=t>=1.5*r;return Math.round(e/r)+" "+a+(s?"s":"")}e.exports=function(e,i){i=i||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\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(!c)return;var i=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*n;case"weeks":case"week":case"w":return i*o;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*a;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===l&&isFinite(e))return i.long?function(e){var o=Math.abs(e);if(o>=s)return c(e,o,s,"day");if(o>=a)return c(e,o,a,"hour");if(o>=r)return c(e,o,r,"minute");if(o>=t)return c(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=s)return Math.round(e/s)+"d";if(o>=a)return Math.round(e/a)+"h";if(o>=r)return Math.round(e/r)+"m";if(o>=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))}},77715:function(e,t,r){"use strict";var a=r(69307),s=r(65235),o=r.n(s),n=r(29431);const c=(0,a.memo)((e=>{let{playerId:t,title:r,cover:s,link:o,track:n,children:c,showEpisodeTitle:l,showCoverArt:u,showEpisodeDescription:d,colors:p}=e;return u||l||d?(0,a.createElement)("div",{className:"jetpack-podcast-player__header"},(0,a.createElement)("div",{className:"jetpack-podcast-player__current-track-info"},u&&s&&(0,a.createElement)("div",{className:"jetpack-podcast-player__cover"},(0,a.createElement)("img",{className:"jetpack-podcast-player__cover-image",src:s,alt:""})),l&&!!(r||n&&n.title)&&(0,a.createElement)(i,{playerId:t,title:r,link:o,track:n,colors:p})),!!(d&&n&&n.description)&&(0,a.createElement)("p",{id:`${t}__track-description`,className:"jetpack-podcast-player__track-description"},n.description),c):c})),i=(0,a.memo)((e=>{let{playerId:t,title:r,link:s,track:c,colors:i={primary:{name:null,custom:null,classes:""}}}=e;return(0,a.createElement)("h2",{id:`${t}__title`,className:"jetpack-podcast-player__title"},!(!c||!c.title)&&(0,a.createElement)("span",{className:o()("jetpack-podcast-player__current-track-title",i.primary.classes),style:{color:i.primary.custom}},c.title,(0,a.createElement)("a",{className:"jetpack-podcast-player__track-title-link",href:c.link||c.src,target:"_blank",rel:"noopener noreferrer nofollow"},n.Z)),!!(c&&c.title&&r)&&(0,a.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"}," - "),!!r&&(0,a.createElement)(l,{title:r,link:s,colors:i}))})),l=(0,a.memo)((e=>{let{title:t,link:r}=e;return(0,a.createElement)("span",{className:"jetpack-podcast-player__podcast-title"},r?(0,a.createElement)("a",{className:"jetpack-podcast-player__link",href:r,target:"_blank",rel:"noopener noreferrer nofollow"},t):{title:t})}));t.Z=c},39122:function(e,t,r){"use strict";var a=r(69307),s=r(97115),o=r(72862);const n=(0,a.memo)((e=>{let{playerId:t,tracks:r,selectTrack:n,currentTrack:c,playerState:i,colors:l}=e;return(0,a.createElement)("ol",{className:"jetpack-podcast-player__tracks","aria-labelledby":`jetpack-podcast-player__tracklist-title--${t}`,"aria-describedby":`jetpack-podcast-player__tracklist-description--${t}`},r.map(((e,t)=>{const r=c===t;return(0,a.createElement)(o.Z,{key:e.id,index:t,track:e,selectTrack:n,isActive:r,isPlaying:r&&i===s.Wp,isError:r&&i===s.Vy,colors:l})})))}));t.Z=n},71600:function(e,t,r){"use strict";var a=r(18294),s=r.n(a),o=r(69307),n=r(65235),c=r.n(n),i=r(65736),l=r(25158),u=r(94333),d=r(9818),p=r(97115),m=r(72752),h=r(39122),y=r(77715),f=r(66085),g=r(71540);const __=i.__;class k extends o.Component{constructor(){super(...arguments),s()(this,"state",{currentTrack:0,hasUserInteraction:!1}),s()(this,"recordUserInteraction",(()=>{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})})),s()(this,"selectTrack",(e=>{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&&this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)})),s()(this,"loadTrack",(e=>{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&&this.setState({currentTrack:e});const{title:r,link:a,description:s}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:r,link:a}),(0,l.speak)(
/* translators: %s is the track title. It describes the current state of the track as "Loading: [track title]". */
-`${(0,i.sprintf)(__("Loading: %s","jetpack"),r)} ${s}`,"assertive"),!0})),s()(this,"loadAndPlay",(e=>{this.recordUserInteraction(),this.loadTrack(e)&&this.props.playMediaSource(this.props.playerId)})),s()(this,"getTrack",(e=>this.props.tracks[e])),s()(this,"handleError",(e=>{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?"IE11: Playing sounds in webpages setting is not checked":e;this.setState((()=>{throw new Error(t)}))}this.props.errorMediaSource(this.props.playerId),(0,l.speak)(`${__("Error: Episode unavailable - Open in a new tab","jetpack")}`,"assertive")})),s()(this,"handlePlay",(()=>{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})})),s()(this,"handlePause",(()=>{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==p.Vy&&this.props.pauseMediaSource(this.props.playerId)})),s()(this,"handleTimeChange",(e=>{this.props.setMediaSourceCurrentTime(this.props.playerId,e)})),s()(this,"handleJump",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)})),s()(this,"handleSkip",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)})),s()(this,"updateMediaData",(e=>{this.props.updateMediaSourceData(this.props.playerId,{duration:e.target?.duration,domId:e.target?.id})}))}registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:p._5}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&&this.registerPlayer()}componentWillUnmount(){this.props.playerId&&this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=>e?.length?e.map((e=>e.guid)):[],r=t(this.props.tracks),a=new Set(t(e.tracks));r.length===a.size&&r.every((e=>a.has(e)))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length<=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:r,cover:a,tracks:s,attributes:n,currentTime:l,playerState:u}=this.props,{itemsToShow:d,primaryColor:p,customPrimaryColor:g,hexPrimaryColor:k,secondaryColor:E,customSecondaryColor:C,hexSecondaryColor:v,backgroundColor:_,customBackgroundColor:S,hexBackgroundColor:w,showCoverArt:b,showEpisodeTitle:M,showEpisodeDescription:T}=n,{currentTrack:j}=this.state,F=s.slice(0,d),A=this.getTrack(j),I=(0,f.Aq)({primaryColor:p,customPrimaryColor:g,secondaryColor:E,customSecondaryColor:C,backgroundColor:_,customBackgroundColor:S}),P={color:C,backgroundColor:S,"--jetpack-podcast-player-primary":k,"--jetpack-podcast-player-secondary":v,"--jetpack-podcast-player-background":w},x=c()("jetpack-podcast-player",u,I.secondary.classes,I.background.classes);return(0,o.createElement)("section",{className:x,style:P,"aria-labelledby":t||A&&A.title?`${e}__title`:void 0,"aria-describedby":A&&A.description?`${e}__track-description`:void 0,"data-jetpack-iframe-ignore":!0},(0,o.createElement)(y.Z,{playerId:e,title:t,link:r,cover:a,track:this.getTrack(j),showCoverArt:b,showEpisodeTitle:M,showEpisodeDescription:T,colors:I},(0,o.createElement)(m.Z,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(j).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:u,currentTime:l,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})),F.length>1&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h4",{id:`jetpack-podcast-player__tracklist-title--${e}`,className:"jetpack-podcast-player--visually-hidden"},(0,i.sprintf)(// translators: %s is the track title.
-__("Playlist: %s","jetpack"),t)),(0,o.createElement)("p",{id:`jetpack-podcast-player__tracklist-description--${e}`,className:"jetpack-podcast-player--visually-hidden"},__("Select an episode to play it in the audio player.","jetpack")),(0,o.createElement)(h.Z,{playerId:e,playerState:u,currentTrack:j,tracks:F,selectTrack:this.selectTrack,colors:I})))}}k.defaultProps={title:"",cover:"",link:"",attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]},t.Z=(0,u.compose)([g.Z,(0,d.withSelect)(((e,t)=>{const{playerId:r}=t,{getMediaSourceCurrentTime:a,getMediaPlayerState:s}=e(p.tT);return{currentTime:a(r),playerState:s(r)}})),(0,d.withDispatch)((e=>{const{registerMediaSource:t,updateMediaSourceData:r,unregisterMediaSource:a,setDefaultMediaSource:s,playMediaSource:o,pauseMediaSource:n,toggleMediaSource:c,errorMediaSource:i,setMediaSourceCurrentTime:l}=e(p.tT);return{registerMediaSource:t,updateMediaSourceData:r,unregisterMediaSource:a,setDefaultMediaSource:s,playMediaSource:o,pauseMediaSource:n,toggleMediaSource:c,errorMediaSource:i,setMediaSourceCurrentTime:l}}))])(k)},86852:function(e,t,r){"use strict";var a=r(69307),s=r(65736);const __=s.__,o=(0,a.memo)((e=>{let{link:t,title:r,colors:o}=e;return(0,a.createElement)("div",{className:"jetpack-podcast-player__track-error"},__("Episode unavailable. ","jetpack"),t&&(0,a.createElement)("span",{className:o.secondary.classes,style:{color:o.secondary.custom}},(0,a.createElement)("a",{className:"jetpack-podcast-player__link",href:t,rel:"noopener noreferrer nofollow",target:"_blank"},(0,a.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${(0,s.sprintf)(
+`${(0,i.sprintf)(__("Loading: %s","jetpack"),r)} ${s}`,"assertive"),!0})),s()(this,"loadAndPlay",(e=>{this.recordUserInteraction(),this.loadTrack(e)&&this.props.playMediaSource(this.props.playerId)})),s()(this,"getTrack",(e=>this.props.tracks[e])),s()(this,"handleError",(e=>{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?"IE11: Playing sounds in webpages setting is not checked":e;this.setState((()=>{throw new Error(t)}))}this.props.errorMediaSource(this.props.playerId),(0,l.speak)(`${__("Error: Episode unavailable - Open in a new tab","jetpack")}`,"assertive")})),s()(this,"handlePlay",(()=>{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})})),s()(this,"handlePause",(()=>{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==p.Vy&&this.props.pauseMediaSource(this.props.playerId)})),s()(this,"handleTimeChange",(e=>{this.props.setMediaSourceCurrentTime(this.props.playerId,e)})),s()(this,"handleJump",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)})),s()(this,"handleSkip",(()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)})),s()(this,"updateMediaData",(e=>{var t,r;this.props.updateMediaSourceData(this.props.playerId,{duration:null===(t=e.target)||void 0===t?void 0:t.duration,domId:null===(r=e.target)||void 0===r?void 0:r.id})}))}registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:p._5}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&&this.registerPlayer()}componentWillUnmount(){this.props.playerId&&this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=>null!=e&&e.length?e.map((e=>e.guid)):[],r=t(this.props.tracks),a=new Set(t(e.tracks));r.length===a.size&&r.every((e=>a.has(e)))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length<=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:r,cover:a,tracks:s,attributes:n,currentTime:l,playerState:u}=this.props,{itemsToShow:d,primaryColor:p,customPrimaryColor:g,hexPrimaryColor:k,secondaryColor:v,customSecondaryColor:E,hexSecondaryColor:C,backgroundColor:_,customBackgroundColor:S,hexBackgroundColor:w,showCoverArt:b,showEpisodeTitle:M,showEpisodeDescription:T}=n,{currentTrack:j}=this.state,F=s.slice(0,d),A=this.getTrack(j),I=(0,f.Aq)({primaryColor:p,customPrimaryColor:g,secondaryColor:v,customSecondaryColor:E,backgroundColor:_,customBackgroundColor:S}),P={color:E,backgroundColor:S,"--jetpack-podcast-player-primary":k,"--jetpack-podcast-player-secondary":C,"--jetpack-podcast-player-background":w},x=c()("jetpack-podcast-player",u,I.secondary.classes,I.background.classes);return(0,o.createElement)("section",{className:x,style:P,"aria-labelledby":t||A&&A.title?`${e}__title`:void 0,"aria-describedby":A&&A.description?`${e}__track-description`:void 0,"data-jetpack-iframe-ignore":!0},(0,o.createElement)(y.Z,{playerId:e,title:t,link:r,cover:a,track:this.getTrack(j),showCoverArt:b,showEpisodeTitle:M,showEpisodeDescription:T,colors:I},(0,o.createElement)(m.Z,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(j).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:u,currentTime:l,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})),F.length>1&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h4",{id:`jetpack-podcast-player__tracklist-title--${e}`,className:"jetpack-podcast-player--visually-hidden"},(0,i.sprintf)(// translators: %s is the track title.
+__("Playlist: %s","jetpack"),t)),(0,o.createElement)("p",{id:`jetpack-podcast-player__tracklist-description--${e}`,className:"jetpack-podcast-player--visually-hidden"},__("Select an episode to play it in the audio player.","jetpack")),(0,o.createElement)(h.Z,{playerId:e,playerState:u,currentTrack:j,tracks:F,selectTrack:this.selectTrack,colors:I})))}}k.defaultProps={title:"",cover:"",link:"",attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]},t.Z=(0,u.compose)([g.Z,(0,d.withSelect)(((e,t)=>{const{playerId:r}=t,{getMediaSourceCurrentTime:a,getMediaPlayerState:s}=e(p.tT);return{currentTime:a(r),playerState:s(r)}})),(0,d.withDispatch)((e=>{const{registerMediaSource:t,updateMediaSourceData:r,unregisterMediaSource:a,setDefaultMediaSource:s,playMediaSource:o,pauseMediaSource:n,toggleMediaSource:c,errorMediaSource:i,setMediaSourceCurrentTime:l}=e(p.tT);return{registerMediaSource:t,updateMediaSourceData:r,unregisterMediaSource:a,setDefaultMediaSource:s,playMediaSource:o,pauseMediaSource:n,toggleMediaSource:c,errorMediaSource:i,setMediaSourceCurrentTime:l}}))])(k)},46843:function(e,t,r){"use strict";var a=r(69307),s=r(65736);const __=s.__,o=(0,a.memo)((e=>{let{link:t,title:r,colors:o}=e;return(0,a.createElement)("div",{className:"jetpack-podcast-player__track-error"},__("Episode unavailable. ","jetpack"),t&&(0,a.createElement)("span",{className:o.secondary.classes,style:{color:o.secondary.custom}},(0,a.createElement)("a",{className:"jetpack-podcast-player__link",href:t,rel:"noopener noreferrer nofollow",target:"_blank"},(0,a.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${(0,s.sprintf)(
/* translators: %s is the title of the track. This text is visually hidden from the screen, but available to screen readers. */
-__("%s:","jetpack"),r)} `),__("Open in a new tab","jetpack"))))}));t.Z=o},71938:function(e,t,r){"use strict";var a=r(69307),s=r(65736),o=r(72086);const __=s.__,n=(0,a.memo)((e=>{let t,r,{isPlaying:s,isError:n,className:c}=e;n?(r="error",
+__("%s:","jetpack"),r)} `),__("Open in a new tab","jetpack"))))}));t.Z=o},96817:function(e,t,r){"use strict";var a=r(69307),s=r(65736),o=r(69650);const __=s.__,n=(0,a.memo)((e=>{let t,r,{isPlaying:s,isError:n,className:c}=e;n?(r="error",
/* translators: This is text to describe the current state. This will go
before the track title, such as "Error: [The title of the track]". */
t=__("Error:","jetpack")):s&&(r="playing",
/* translators: Text to describe the current state. This will go before the
track title, such as "Playing: [The title of the track]". */
-t=__("Playing:","jetpack"));const i=o[r];return i?(0,a.createElement)("span",{className:`${c} ${c}--${r}`},(0,a.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${t} `),i):(0,a.createElement)("span",{className:c})}));t.Z=n},15020:function(e,t,r){"use strict";var a=r(69307),s=r(89105),o=r.n(s),n=r(65736),c=r(71938),i=r(86852),l=r(74693);const __=n.__,u=(0,a.memo)((e=>{let{track:t,isActive:r,isPlaying:s,isError:n,selectTrack:u,index:d,colors:p={primary:{},secondary:{}}}=e;const m=(0,l.Gd)("color",p.primary.name),h=(0,l.Gd)("color",p.secondary.name),y=o()("jetpack-podcast-player__track",{"is-active":r,"has-primary":r&&(p.primary.name||p.primary.custom),[m]:r&&!!m,"has-secondary":!r&&(p.secondary.name||p.secondary.custom),[h]:!r&&!!h}),f={};r&&p.primary.custom&&!m?f.color=p.primary.custom:r||!p.secondary.custom||h||(f.color=p.secondary.custom);const
+t=__("Playing:","jetpack"));const i=o[r];return i?(0,a.createElement)("span",{className:`${c} ${c}--${r}`},(0,a.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${t} `),i):(0,a.createElement)("span",{className:c})}));t.Z=n},72862:function(e,t,r){"use strict";var a=r(69307),s=r(65235),o=r.n(s),n=r(65736),c=r(96817),i=r(46843),l=r(66085);const __=n.__,u=(0,a.memo)((e=>{let{track:t,isActive:r,isPlaying:s,isError:n,selectTrack:u,index:d,colors:p={primary:{},secondary:{}}}=e;const m=(0,l.Gd)("color",p.primary.name),h=(0,l.Gd)("color",p.secondary.name),y=o()("jetpack-podcast-player__track",{"is-active":r,"has-primary":r&&(p.primary.name||p.primary.custom),[m]:r&&!!m,"has-secondary":!r&&(p.secondary.name||p.secondary.custom),[h]:!r&&!!h}),f={};r&&p.primary.custom&&!m?f.color=p.primary.custom:r||!p.secondary.custom||h||(f.color=p.secondary.custom);const
/* translators: This needs to be a single word with no spaces. It describes
the current item in the group. A screen reader will announce it as "[title],
current track". */
-g=r?__("track","jetpack"):void 0;return(0,a.createElement)("li",{className:y,style:Object.keys(f).length?f:null},(0,a.createElement)("a",{className:"jetpack-podcast-player__link jetpack-podcast-player__track-link",href:t.link||t.src,role:"button","aria-current":g,onClick:e=>{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),u(d))},onKeyDown:e=>{" "===event.key&&(e.preventDefault(),u(d))}},(0,a.createElement)(c.Z,{className:"jetpack-podcast-player__track-status-icon",isPlaying:s,isError:n}),(0,a.createElement)("span",{className:"jetpack-podcast-player__track-title"},t.title),t.duration&&(0,a.createElement)("time",{className:"jetpack-podcast-player__track-duration",dateTime:t.duration},t.duration)),r&&n&&(0,a.createElement)(i.Z,{link:t.link,title:t.title,colors:p}))}));t.Z=u},56551:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var a=r(27538),s=r.n(a),o=r(69307),n=r(65736);const __=n.__;function c(e){class t extends o.Component{constructor(){super(...arguments),s()(this,"state",{didError:!1,isIE11AudioIssue:!1}),s()(this,"componentDidCatch",((e,t)=>{this.props.onError(e,t)}))}render(){const{didError:t,isIE11AudioIssue:r}=this.state;return t?(0,o.createElement)("section",{className:"jetpack-podcast-player"},(0,o.createElement)("p",{className:"jetpack-podcast-player__error"},r?__('The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s "Internet options" settings. In the "Advanced" tab you will have to check the box next to "Play sounds in webpages" in the "Multimedia" section. Once you have confirmed that the box is checked, please press "Apply" and then reload this page.',"jetpack"):__("An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.","jetpack",0))):(0,o.createElement)(e,this.props)}}return s()(t,"getDerivedStateFromError",(e=>({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)}))),t.defaultProps={onError:()=>{}},t}},76814:function(e,t,r){"use strict";var a=r(69307),s=r(55609);const o=(0,a.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(s.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.Z=o},72086:function(e,t,r){"use strict";r.r(t),r.d(t,{playing:function(){return n},error:function(){return c}});var a=r(69307),s=r(55609);const o={height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},n=(0,a.createElement)(s.SVG,o,(0,a.createElement)(s.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,a.createElement)(s.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"})),c=(0,a.createElement)(s.SVG,o,(0,a.createElement)(s.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,a.createElement)(s.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},74693:function(e,t,r){"use strict";r.d(t,{Gd:function(){return n},Aq:function(){return c}});var a=r(89105),s=r.n(a),o=r(92819);function n(e,t){if(e&&t)return`has-${t}-${e}`}const c=(0,o.memoize)((e=>{let{primaryColor:t,customPrimaryColor:r,secondaryColor:a,customSecondaryColor:o,backgroundColor:c,customBackgroundColor:i}=e;const l=n("color",t),u=n("color",a),d=n("background-color",c);return{primary:{name:t,custom:r,classes:s()({"has-primary":l||r,[l]:l})},secondary:{name:a,custom:o,classes:s()({"has-secondary":u||o,[u]:u})},background:{name:c,custom:i,classes:s()({"has-background":d||i,[d]:d})}}}),(e=>Object.values(e).join()))},92924:function(e,t,r){"use strict";var a=r(69307),s=r(92819),o=r(65736),n=r(25158),c=r(15111);const __=o.__,i="undefined"!=typeof _wpmejsSettings?_wpmejsSettings:{};function l(e,t,r){const a=document.createElement("div");a.className=e;const s=document.createElement("button");return s.innerText=t,s.addEventListener("click",r),s.setAttribute("aria-label",t),s.setAttribute("title",t),a.appendChild(s),a}t.Z=function(e){let{trackSource:t,onPlay:r,onPause:o,onError:u,onTimeChange:d,onSkipForward:p,onJumpBack:m,currentTime:h,playStatus:y=c._5,onMetadataLoaded:f,loadWhenReady:g=!1,preload:k="metadata"}=e;const E=(0,a.useRef)(),C=()=>{E.current.play().catch((()=>{}))},v=()=>{E.current.pause(),(0,n.speak)(__("Paused","jetpack"),"assertive")};return(0,a.useEffect)((()=>{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&&e._setResponsiveMode()})}),[]),(0,a.useEffect)((()=>{const e=E.current;e.preload=k;const t=new MediaElementPlayer(e,{...i,success:()=>g&&e?.load()});if(m||p){const e=`${t.options.classPrefix}button ${t.options.classPrefix}jump-button`;if(m){const r=`${e} ${t.options.classPrefix}jump-backward-button`;t.addControlElement(l(r,__("Jump Back","jetpack"),m),"jumpBackwardButton")}if(p){const r=`${e} ${t.options.classPrefix}skip-forward-button`;t.addControlElement(l(r,__("Skip Forward","jetpack"),p),"skipForwardButton")}}return r&&e.addEventListener("play",r),o&&e.addEventListener("pause",o),u&&e.addEventListener("error",u),f&&e.addEventListener("loadedmetadata",f),()=>{t.remove(),r&&e.removeEventListener("play",r),o&&e.removeEventListener("pause",o),u&&e.removeEventListener("error",u),f&&e.removeEventListener("loadedmetadata",f)}}),[r,o,u,m,p,f,g,k]),(0,a.useEffect)((()=>{const[e,t]=!1===E.current?.paused?[c.Wp,v]:[c._5,C],r=(0,s.debounce)(t,100);return c.Vy!==y&&e!==y&&r(),()=>{r.cancel()}}),[E,y,t]),(0,a.useEffect)((()=>{if(!d)return;const e=E.current,t=(0,s.throttle)((e=>d(e)),1e3,{leading:!0,trailing:!1}),r=e=>t(e.target.currentTime);return d&&e?.addEventListener("timeupdate",r),()=>{t.cancel(),e?.removeEventListener("timeupdate",r)}}),[E,d]),(0,a.useEffect)((()=>{const e=E.current;h&&e&&Math.abs(Math.floor(h-e.currentTime))>1&&(e.currentTime=h)}),[E,h]),(0,a.createElement)("div",{className:"jetpack-audio-player"},(0,a.createElement)("audio",{src:t,ref:E}))}},57836:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},15111:function(e,t,r){"use strict";r.d(t,{tT:function(){return a},Wp:function(){return s},Vy:function(){return o},_5:function(){return n}});const a="jetpack/media-source",s="is-playing",o="is-error",n="is-paused"},73617:function(e,t,r){"use strict";var a=r(9818),s=r(46169),o=r(15111);if(void 0!==a.createReduxStore){const e=(0,a.createReduxStore)(o.tT,s.Z);(0,a.register)(e)}else(0,a.registerStore)(o.tT,s.Z)},46169:function(e,t,r){"use strict";var a=r(15111);const s={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const r=Object.keys(e.sources);if(e.default?t=e.default:r?.length&&(t=e.sources[r[0]].id),t)return e.sources[t]},getMediaPlayerState:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.state,getMediaSourceCurrentTime:(e,t)=>(t?e.sources?.[t]:o.getDefaultMediaSource(e))?.currentTime,getMediaSourceDuration(e,t){if(!t){return o.getDefaultMediaSource(e)?.duration}return e.sources?.[t]?.duration},getMediaSourceDomReference(e,t){const r=t?e.sources?.[t]:o.getDefaultMediaSource(e);if(!r)return;const a=r?.domId;return a?document.getElementById(a):void 0}},n={reducer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;const r=t.id||e.default||Object.keys(e.sources)?.[0];switch(t.type){case"REGISTER_MEDIA_SOURCE":return{...e,sources:{...e.sources,[t.id]:{id:t.id,...t.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...e,sources:{...e.sources,[t.id]:{...e.sources[t.id],...t.data}}};case"UNREGISTER_MEDIA_SOURCE":{const r=Object.assign({},e);return r.sources[t.id]&&delete r.sources[t.id],t.id===e.default&&(r.default=Object.keys(e.sources)?.[0]),r}case"SET_DEFAULT_MEDIA_SOURCE":return{...e,default:t.id};case"SET_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[r]:{...e.sources[r],state:t.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[r]:{...e.sources[r],state:e.sources[r].state===a.Wp?a._5:a.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...e,sources:{...e.sources,[r]:{...e.sources[r],currentTime:t.currentTime}}}}return e},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:a.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:a._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:a.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=n},90922:function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let a=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(s=a))})),t.splice(s,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(31967)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},31967:function(e,t,r){e.exports=function(e){function t(e){let r,s,o,n=null;function c(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];if(!c.enabled)return;const o=c,n=Number(new Date),i=n-(r||n);o.diff=i,o.prev=r,o.curr=n,r=n,a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");let l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,((e,r)=>{if("%%"===e)return"%";l++;const s=t.formatters[r];if("function"==typeof s){const t=a[l];e=s.call(o,t),a.splice(l,1),l--}return e})),t.formatArgs.call(o,a);const u=o.log||t.log;u.apply(o,a)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=a,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==n?n:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{n=e}}),"function"==typeof t.init&&t.init(c),c}function a(e,r){const a=t(this.namespace+(void 0===r?":":r)+e);return a.log=this.log,a}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),s=a.length;for(r=0;r<s;r++)a[r]&&("-"===(e=a[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,a;for(r=0,a=t.skips.length;r<a;r++)if(t.skips[r].test(e))return!1;for(r=0,a=t.names.length;r<a;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(32002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},92819:function(e){"use strict";e.exports=window.lodash},25158:function(e){"use strict";e.exports=window.wp.a11y},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n}},t={};function r(a){var s=t[a];if(void 0!==s)return s.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){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 a=t.getElementsByTagName("script");a.length&&(e=a[a.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"}(),function(){"use strict";r(57836)}(),function(){"use strict";var e=r(90922),t=r.n(e),a=r(69307),s=(r(73617),r(58627));const o=t()("jetpack:podcast-player"),n={},c=function(e){e.classList.add("is-default"),e.setAttribute("data-jetpack-block-initialized","true")};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-jetpack-podcast-player:not([data-jetpack-block-initialized])").forEach((e=>{e.classList.remove("is-default"),function(e){const t=document.getElementById(e);if(o("initializing",e,t),!t)return;if("true"===t.getAttribute("data-jetpack-block-initialized"))return;const r=t.querySelector('script[type="application/json"]');if(!r)return void c(t);let i;try{i=JSON.parse(r.text)}catch(e){return o("error parsing json",e),void c(t)}r.remove();const l=t.innerHTML;if(!i||!i.tracks.length)return o("no tracks found"),void c(t);try{const r=(0,a.createElement)(s.Z,{...i,onError:function(){(0,a.unmountComponentAtNode)(t),t.innerHTML=l,c(t)}});n[e]=(0,a.render)(r,t)}catch(e){o("unable to render",e),c(t)}t.setAttribute("data-jetpack-block-initialized","true")}(e.id)}))}))}()}(); \ No newline at end of file
+g=r?__("track","jetpack"):void 0;return(0,a.createElement)("li",{className:y,style:Object.keys(f).length?f:null},(0,a.createElement)("a",{className:"jetpack-podcast-player__link jetpack-podcast-player__track-link",href:t.link||t.src,role:"button","aria-current":g,onClick:e=>{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),u(d))},onKeyDown:e=>{" "===event.key&&(e.preventDefault(),u(d))}},(0,a.createElement)(c.Z,{className:"jetpack-podcast-player__track-status-icon",isPlaying:s,isError:n}),(0,a.createElement)("span",{className:"jetpack-podcast-player__track-title"},t.title),t.duration&&(0,a.createElement)("time",{className:"jetpack-podcast-player__track-duration",dateTime:t.duration},t.duration)),r&&n&&(0,a.createElement)(i.Z,{link:t.link,title:t.title,colors:p}))}));t.Z=u},71540:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var a=r(18294),s=r.n(a),o=r(69307),n=r(65736);const __=n.__;function c(e){class t extends o.Component{constructor(){super(...arguments),s()(this,"state",{didError:!1,isIE11AudioIssue:!1}),s()(this,"componentDidCatch",((e,t)=>{this.props.onError(e,t)}))}render(){const{didError:t,isIE11AudioIssue:r}=this.state;return t?(0,o.createElement)("section",{className:"jetpack-podcast-player"},(0,o.createElement)("p",{className:"jetpack-podcast-player__error"},r?__('The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s "Internet options" settings. In the "Advanced" tab you will have to check the box next to "Play sounds in webpages" in the "Multimedia" section. Once you have confirmed that the box is checked, please press "Apply" and then reload this page.',"jetpack"):__("An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.","jetpack",0))):(0,o.createElement)(e,this.props)}}return s()(t,"getDerivedStateFromError",(e=>({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)}))),t.defaultProps={onError:()=>{}},t}},29431:function(e,t,r){"use strict";var a=r(69307),s=r(55609);const o=(0,a.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(s.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.Z=o},69650:function(e,t,r){"use strict";r.r(t),r.d(t,{error:function(){return c},playing:function(){return n}});var a=r(69307),s=r(55609);const o={height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},n=(0,a.createElement)(s.SVG,o,(0,a.createElement)(s.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,a.createElement)(s.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"})),c=(0,a.createElement)(s.SVG,o,(0,a.createElement)(s.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,a.createElement)(s.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},66085:function(e,t,r){"use strict";r.d(t,{Aq:function(){return c},Gd:function(){return n}});var a=r(65235),s=r.n(a),o=r(92819);function n(e,t){if(e&&t)return`has-${t}-${e}`}const c=(0,o.memoize)((e=>{let{primaryColor:t,customPrimaryColor:r,secondaryColor:a,customSecondaryColor:o,backgroundColor:c,customBackgroundColor:i}=e;const l=n("color",t),u=n("color",a),d=n("background-color",c);return{primary:{name:t,custom:r,classes:s()({"has-primary":l||r,[l]:l})},secondary:{name:a,custom:o,classes:s()({"has-secondary":u||o,[u]:u})},background:{name:c,custom:i,classes:s()({"has-background":d||i,[d]:d})}}}),(e=>Object.values(e).join()))},72752:function(e,t,r){"use strict";var a=r(69307),s=r(92819),o=r(65736),n=r(25158),c=r(97115);const __=o.__,i="undefined"!=typeof _wpmejsSettings?_wpmejsSettings:{};function l(e,t,r){const a=document.createElement("div");a.className=e;const s=document.createElement("button");return s.innerText=t,s.addEventListener("click",r),s.setAttribute("aria-label",t),s.setAttribute("title",t),a.appendChild(s),a}t.Z=function(e){let{trackSource:t,onPlay:r,onPause:o,onError:u,onTimeChange:d,onSkipForward:p,onJumpBack:m,currentTime:h,playStatus:y=c._5,onMetadataLoaded:f,loadWhenReady:g=!1,preload:k="metadata"}=e;const v=(0,a.useRef)(),E=()=>{v.current.play().catch((()=>{}))},C=()=>{v.current.pause(),(0,n.speak)(__("Paused","jetpack"),"assertive")};return(0,a.useEffect)((()=>{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&&e._setResponsiveMode()})}),[]),(0,a.useEffect)((()=>{const e=v.current;e.preload=k;const t=new MediaElementPlayer(e,{...i,success:()=>g&&(null==e?void 0:e.load())});if(m||p){const e=`${t.options.classPrefix}button ${t.options.classPrefix}jump-button`;if(m){const r=`${e} ${t.options.classPrefix}jump-backward-button`;t.addControlElement(l(r,__("Jump Back","jetpack"),m),"jumpBackwardButton")}if(p){const r=`${e} ${t.options.classPrefix}skip-forward-button`;t.addControlElement(l(r,__("Skip Forward","jetpack"),p),"skipForwardButton")}}return r&&e.addEventListener("play",r),o&&e.addEventListener("pause",o),u&&e.addEventListener("error",u),f&&e.addEventListener("loadedmetadata",f),()=>{t.remove(),r&&e.removeEventListener("play",r),o&&e.removeEventListener("pause",o),u&&e.removeEventListener("error",u),f&&e.removeEventListener("loadedmetadata",f)}}),[r,o,u,m,p,f,g,k]),(0,a.useEffect)((()=>{var e;const[t,r]=!1===(null===(e=v.current)||void 0===e?void 0:e.paused)?[c.Wp,C]:[c._5,E],a=(0,s.debounce)(r,100);return c.Vy!==y&&t!==y&&a(),()=>{a.cancel()}}),[v,y,t]),(0,a.useEffect)((()=>{if(!d)return;const e=v.current,t=(0,s.throttle)((e=>d(e)),1e3,{leading:!0,trailing:!1}),r=e=>t(e.target.currentTime);return d&&(null==e||e.addEventListener("timeupdate",r)),()=>{t.cancel(),null==e||e.removeEventListener("timeupdate",r)}}),[v,d]),(0,a.useEffect)((()=>{const e=v.current;h&&e&&Math.abs(Math.floor(h-e.currentTime))>1&&(e.currentTime=h)}),[v,h]),(0,a.createElement)("div",{className:"jetpack-audio-player"},(0,a.createElement)("audio",{src:t,ref:v}))}},80425:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},97115:function(e,t,r){"use strict";r.d(t,{Vy:function(){return o},Wp:function(){return s},_5:function(){return n},tT:function(){return a}});const a="jetpack/media-source",s="is-playing",o="is-error",n="is-paused"},14688:function(e,t,r){"use strict";var a=r(9818),s=r(66858),o=r(97115);if(void 0!==a.createReduxStore){const e=(0,a.createReduxStore)(o.tT,s.Z);(0,a.register)(e)}else(0,a.registerStore)(o.tT,s.Z)},66858:function(e,t,r){"use strict";var a=r(97115);const s={sources:{},default:null},o={getDefaultMediaSource(e){let t=null;const r=Object.keys(e.sources);if(e.default?t=e.default:null!=r&&r.length&&(t=e.sources[r[0]].id),t)return e.sources[t]},getMediaPlayerState(e,t){var r;const a=t?null===(r=e.sources)||void 0===r?void 0:r[t]:o.getDefaultMediaSource(e);return null==a?void 0:a.state},getMediaSourceCurrentTime(e,t){var r;const a=t?null===(r=e.sources)||void 0===r?void 0:r[t]:o.getDefaultMediaSource(e);return null==a?void 0:a.currentTime},getMediaSourceDuration(e,t){var r,a;if(!t){const t=o.getDefaultMediaSource(e);return null==t?void 0:t.duration}return null===(r=e.sources)||void 0===r||null===(a=r[t])||void 0===a?void 0:a.duration},getMediaSourceDomReference(e,t){var r;const a=t?null===(r=e.sources)||void 0===r?void 0:r[t]:o.getDefaultMediaSource(e);if(!a)return;const s=null==a?void 0:a.domId;return s?document.getElementById(s):void 0}},n={reducer(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,r=arguments.length>1?arguments[1]:void 0;const o=r.id||t.default||(null===(e=Object.keys(t.sources))||void 0===e?void 0:e[0]);switch(r.type){case"REGISTER_MEDIA_SOURCE":return{...t,sources:{...t.sources,[r.id]:{id:r.id,...r.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...t,sources:{...t.sources,[r.id]:{...t.sources[r.id],...r.data}}};case"UNREGISTER_MEDIA_SOURCE":{const e=Object.assign({},t);var n;if(e.sources[r.id]&&delete e.sources[r.id],r.id===t.default)e.default=null===(n=Object.keys(t.sources))||void 0===n?void 0:n[0];return e}case"SET_DEFAULT_MEDIA_SOURCE":return{...t,default:r.id};case"SET_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:r.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...t,sources:{...t.sources,[o]:{...t.sources[o],state:t.sources[o].state===a.Wp?a._5:a.Wp}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...t,sources:{...t.sources,[o]:{...t.sources[o],currentTime:r.currentTime}}}}return t},actions:{registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:a.Wp}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:a._5}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:a.Vy}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},selectors:o};t.Z=n},51128:function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let a=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(s=a))})),t.splice(s,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(62942)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},62942:function(e,t,r){e.exports=function(e){function t(e){let r,s,o,n=null;function c(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];if(!c.enabled)return;const o=c,n=Number(new Date),i=n-(r||n);o.diff=i,o.prev=r,o.curr=n,r=n,a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");let l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,((e,r)=>{if("%%"===e)return"%";l++;const s=t.formatters[r];if("function"==typeof s){const t=a[l];e=s.call(o,t),a.splice(l,1),l--}return e})),t.formatArgs.call(o,a);const u=o.log||t.log;u.apply(o,a)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=a,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==n?n:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{n=e}}),"function"==typeof t.init&&t.init(c),c}function a(e,r){const a=t(this.namespace+(void 0===r?":":r)+e);return a.log=this.log,a}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),s=a.length;for(r=0;r<s;r++)a[r]&&("-"===(e=a[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,a;for(r=0,a=t.skips.length;r<a;r++)if(t.skips[r].test(e))return!1;for(r=0,a=t.names.length;r<a;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(73171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},92819:function(e){"use strict";e.exports=window.lodash},25158:function(e){"use strict";e.exports=window.wp.a11y},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n}},t={};function r(a){var s=t[a];if(void 0!==s)return s.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){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 a=t.getElementsByTagName("script");a.length&&(e=a[a.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"}(),function(){"use strict";r(80425)}(),function(){"use strict";var e=r(51128),t=r.n(e),a=r(69307),s=(r(14688),r(71600));const o=t()("jetpack:podcast-player"),n={},c=function(e){e.classList.add("is-default"),e.setAttribute("data-jetpack-block-initialized","true")};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-jetpack-podcast-player:not([data-jetpack-block-initialized])").forEach((e=>{e.classList.remove("is-default"),function(e){const t=document.getElementById(e);if(o("initializing",e,t),!t)return;if("true"===t.getAttribute("data-jetpack-block-initialized"))return;const r=t.querySelector('script[type="application/json"]');if(!r)return void c(t);let i;try{i=JSON.parse(r.text)}catch(e){return o("error parsing json",e),void c(t)}r.remove();const l=t.innerHTML;if(!i||!i.tracks.length)return o("no tracks found"),void c(t);try{const r=(0,a.createElement)(s.Z,{...i,onError:function(){(0,a.unmountComponentAtNode)(t),t.innerHTML=l,c(t)}});n[e]=(0,a.render)(r,t)}catch(e){o("unable to render",e),c(t)}t.setAttribute("data-jetpack-block-initialized","true")}(e.id)}))}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/premium-content/view.asset.php b/plugins/jetpack/_inc/blocks/premium-content/view.asset.php
index a83291f6..46161ee6 100644
--- a/plugins/jetpack/_inc/blocks/premium-content/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/premium-content/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => '459d69f1e48d569018a1d7765db92528'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'bab0f3d55bc2f5e12a8a');
diff --git a/plugins/jetpack/_inc/blocks/premium-content/view.js b/plugins/jetpack/_inc/blocks/premium-content/view.js
index d37af8a6..50d47fcb 100644
--- a/plugins/jetpack/_inc/blocks/premium-content/view.js
+++ b/plugins/jetpack/_inc/blocks/premium-content/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var o=e.getElementsByTagName("script");o.length&&(t=o[o.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t+"../"}(),function(){"use strict";n(57836)}(),function(){"use strict";document.addEventListener("DOMContentLoaded",(function(){let t="";"undefined"!=typeof window&&window.addEventListener("message",(function(e){if("https://subscribe.wordpress.com"===e.origin&&e.data){const n=JSON.parse(e.data);if(n&&n.result&&n.result.jwt_token){t=n.result.jwt_token;const e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="jp-premium-content-session="+t+"; expires="+e.toGMTString()+"; path=/"}n&&"close"===n.action&&t&&(document.location.href=function(t,e,n){const o=new RegExp("([?&])"+e+"=.*?(&|$)","i"),r=-1!==t.indexOf("?")?"&":"?";return t.match(o)?t.replace(o,"$1"+e+"="+n+"$2"):t+r+e+"="+n}(document.location.href,"token",t))}}),!1)}))}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var o=e.getElementsByTagName("script");o.length&&(t=o[o.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t+"../"}(),function(){"use strict";n(80425)}(),function(){"use strict";document.addEventListener("DOMContentLoaded",(function(){let t="";"undefined"!=typeof window&&window.addEventListener("message",(function(e){if("https://subscribe.wordpress.com"===e.origin&&e.data){const n=JSON.parse(e.data);if(n&&n.result&&n.result.jwt_token){t=n.result.jwt_token;const e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="jp-premium-content-session="+t+"; expires="+e.toGMTString()+"; path=/"}n&&"close"===n.action&&t&&(document.location.href=function(t,e,n){const o=new RegExp("([?&])"+e+"=.*?(&|$)","i"),r=-1!==t.indexOf("?")?"&":"?";return t.match(o)?t.replace(o,"$1"+e+"="+n+"$2"):t+r+e+"="+n}(document.location.href,"token",t))}}),!1)}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/rating-star/view.asset.php b/plugins/jetpack/_inc/blocks/rating-star/view.asset.php
index 1e8cf66c..30684dbf 100644
--- a/plugins/jetpack/_inc/blocks/rating-star/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/rating-star/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c9e729e7b7b56e8e5774cbe74f754557'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => '431d4fc34def8d462a46');
diff --git a/plugins/jetpack/_inc/blocks/rating-star/view.js b/plugins/jetpack/_inc/blocks/rating-star/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/rating-star/view.js
+++ b/plugins/jetpack/_inc/blocks/rating-star/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/recurring-payments/view.asset.php b/plugins/jetpack/_inc/blocks/recurring-payments/view.asset.php
index b64460f0..dd9b6e63 100644
--- a/plugins/jetpack/_inc/blocks/recurring-payments/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/recurring-payments/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '0e1dabd01c485e28498b92e59d0f07c5'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '9dbe93c5befcee5817d1');
diff --git a/plugins/jetpack/_inc/blocks/recurring-payments/view.js b/plugins/jetpack/_inc/blocks/recurring-payments/view.js
index 4d133c98..1ca9c017 100644
--- a/plugins/jetpack/_inc/blocks/recurring-payments/view.js
+++ b/plugins/jetpack/_inc/blocks/recurring-payments/view.js
@@ -1 +1 @@
-!function(){var t={53857:function(t,e,r){"use strict";function n(t){if("https://subscribe.wordpress.com"===t.origin&&t.data){const e=JSON.parse(t.data);e&&"close"===e.action&&(window.removeEventListener("message",n),tb_remove())}}r.d(e,{f:function(){return o}});const o=t=>{Array.prototype.slice.call(document.querySelectorAll(t)).forEach((t=>{if("true"!==t.getAttribute("data-jetpack-memberships-button-initialized")){try{!function(t){t.addEventListener("click",(e=>{e.preventDefault();const r=t.getAttribute("href");window.scrollTo(0,0),tb_show(null,r+"&display=alternate&TB_iframe=true",null),window.addEventListener("message",n,!1),document.querySelector("#TB_window").classList.add("jetpack-memberships-modal"),window.scrollTo(0,0)}))}(t)}catch(t){console.error("Problem setting up Thickbox",t)}t.setAttribute("data-jetpack-memberships-button-initialized","true")}}))}},57836:function(t,e,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"}(),function(){"use strict";r(57836)}(),function(){"use strict";var t=r(47701),e=r.n(t),n=r(53857);"undefined"!=typeof window&&e()((()=>(0,n.f)(".wp-block-jetpack-recurring-payments a")))}()}(); \ No newline at end of file
+!function(){var e={63166:function(e,t,r){"use strict";function n(e){if("https://subscribe.wordpress.com"===e.origin&&e.data){const t=JSON.parse(e.data);t&&"close"===t.action&&(window.removeEventListener("message",n),tb_remove())}}r.d(t,{f:function(){return o}});const o=e=>{Array.prototype.slice.call(document.querySelectorAll(e)).forEach((e=>{if("true"!==e.getAttribute("data-jetpack-memberships-button-initialized")){try{!function(e){e.addEventListener("click",(t=>{t.preventDefault();const r=e.getAttribute("href");window.scrollTo(0,0),tb_show(null,r+"&display=alternate&TB_iframe=true",null),window.addEventListener("message",n,!1),document.querySelector("#TB_window").classList.add("jetpack-memberships-modal"),window.scrollTo(0,0)}))}(e)}catch(e){console.error("Problem setting up Thickbox",e)}e.setAttribute("data-jetpack-memberships-button-initialized","true")}}))}},80425:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(e){"use strict";e.exports=window.wp.domReady}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){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+"../"}(),function(){"use strict";r(80425)}(),function(){"use strict";var e=r(47701),t=r.n(e),n=r(63166);"undefined"!=typeof window&&t()((()=>{(0,n.f)(".wp-block-jetpack-recurring-payments a"),setTimeout((()=>{const e=new URL(window.location.href);if(e.searchParams.has("recurring_payments")&&window.history.replaceState){var t;const r=`recurring-payments-${e.searchParams.get("recurring_payments")}`;e.searchParams.delete("recurring_payments"),window.history.replaceState({},"",e),null===(t=document.getElementById(r))||void 0===t||t.click()}}),100)}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/repeat-visitor/view.asset.php b/plugins/jetpack/_inc/blocks/repeat-visitor/view.asset.php
index 81093837..3a1c4f88 100644
--- a/plugins/jetpack/_inc/blocks/repeat-visitor/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/repeat-visitor/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'adfbc576e996e68af0273a2451cc6389'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c16b51bde4379c7bc738');
diff --git a/plugins/jetpack/_inc/blocks/repeat-visitor/view.js b/plugins/jetpack/_inc/blocks/repeat-visitor/view.js
index 15960ed4..deba3f3c 100644
--- a/plugins/jetpack/_inc/blocks/repeat-visitor/view.js
+++ b/plugins/jetpack/_inc/blocks/repeat-visitor/view.js
@@ -1,2 +1,2 @@
/*! For license information please see view.js.LICENSE.txt */
-!function(){var e={8174:function(e,t){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},o=t||{},s=e.split(i),c=o.decode||r,u=0;u<s.length;u++){var p=s[u],f=p.indexOf("=");if(!(f<0)){var l=p.substr(0,f).trim(),d=p.substr(++f,p.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),null==n[l]&&(n[l]=a(d,c))}}return n},t.serialize=function(e,t,r){var i=r||{},a=i.encode||n;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=i.maxAge){var u=i.maxAge-0;if(isNaN(u)||!isFinite(u))throw new TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(u)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");c+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");c+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");c+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(c+="; HttpOnly");i.secure&&(c+="; Secure");if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return c};var r=decodeURIComponent,n=encodeURIComponent,i=/; */,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e,t){try{return t(e)}catch(t){return e}}},46314:function(e,t,r){"use strict";r.d(t,{B$:function(){return n},fh:function(){return i}});const n="jp-visit-counter",i=15552e3},57836:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){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+"../"}(),function(){"use strict";r(57836)}(),function(){"use strict";var e=r(8174),t=r(46314);window&&window.addEventListener("load",(function(){var r;0!==Array.from(document.querySelectorAll(".wp-block-jetpack-repeat-visitor")).length&&(r=+(e.parse(document.cookie)[t.B$]||0)+1,document.cookie=e.serialize(t.B$,r,{path:window.location.pathname,maxAge:t.fh}))}))}()}(); \ No newline at end of file
+!function(){var e={55990:function(e,t){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var i={},o=t||{},s=e.split(n),c=o.decode||r,u=0;u<s.length;u++){var p=s[u],f=p.indexOf("=");if(!(f<0)){var l=p.substr(0,f).trim(),d=p.substr(++f,p.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),null==i[l]&&(i[l]=a(d,c))}}return i},t.serialize=function(e,t,r){var n=r||{},a=n.encode||i;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=n.maxAge){var u=n.maxAge-0;if(isNaN(u)||!isFinite(u))throw new TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(u)}if(n.domain){if(!o.test(n.domain))throw new TypeError("option domain is invalid");c+="; Domain="+n.domain}if(n.path){if(!o.test(n.path))throw new TypeError("option path is invalid");c+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");c+="; Expires="+n.expires.toUTCString()}n.httpOnly&&(c+="; HttpOnly");n.secure&&(c+="; Secure");if(n.sameSite){switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return c};var r=decodeURIComponent,i=encodeURIComponent,n=/; */,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e,t){try{return t(e)}catch(t){return e}}},51100:function(e,t,r){"use strict";r.d(t,{B$:function(){return i},fh:function(){return n}});const i="jp-visit-counter",n=15552e3},80425:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)}},t={};function r(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){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 i=t.getElementsByTagName("script");i.length&&(e=i[i.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"}(),function(){"use strict";r(80425)}(),function(){"use strict";var e=r(55990),t=r(51100);window&&window.addEventListener("load",(function(){var r;0!==Array.from(document.querySelectorAll(".wp-block-jetpack-repeat-visitor")).length&&(r=+(e.parse(document.cookie)[t.B$]||0)+1,document.cookie=e.serialize(t.B$,r,{path:window.location.pathname,maxAge:t.fh}))}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/revue/view.asset.php b/plugins/jetpack/_inc/blocks/revue/view.asset.php
index 2411d05e..f5a7b5eb 100644
--- a/plugins/jetpack/_inc/blocks/revue/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/revue/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '727cec6ec87b96b40ac2384ead410e11'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '34161b4df3bd61df491d');
diff --git a/plugins/jetpack/_inc/blocks/revue/view.js b/plugins/jetpack/_inc/blocks/revue/view.js
index fe7c383b..39dcbe55 100644
--- a/plugins/jetpack/_inc/blocks/revue/view.js
+++ b/plugins/jetpack/_inc/blocks/revue/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,e,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"}(),function(){"use strict";r(57836)}(),function(){"use strict";var t=r(47701),e=r.n(t);"undefined"!=typeof window&&window.jQuery&&e()((function(){document.querySelectorAll(".wp-block-jetpack-revue").forEach((t=>{if("true"===t.getAttribute("data-jetpack-block-initialized"))return;const e=t.querySelector(".wp-block-jetpack-revue__form");if(!e)return;const r=t.querySelector(".wp-block-jetpack-revue__message");e.addEventListener("submit",(()=>{e.classList.remove("is-visible"),r.classList.add("is-visible")})),t.setAttribute("data-jetpack-block-initialized","true")}))}))}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,e,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"}(),function(){"use strict";r(80425)}(),function(){"use strict";var t=r(47701),e=r.n(t);"undefined"!=typeof window&&window.jQuery&&e()((function(){document.querySelectorAll(".wp-block-jetpack-revue").forEach((t=>{if("true"===t.getAttribute("data-jetpack-block-initialized"))return;const e=t.querySelector(".wp-block-jetpack-revue__form");if(!e)return;const r=t.querySelector(".wp-block-jetpack-revue__message");e.addEventListener("submit",(()=>{e.classList.remove("is-visible"),r.classList.add("is-visible")})),t.setAttribute("data-jetpack-block-initialized","true")}))}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/send-a-message/view.asset.php b/plugins/jetpack/_inc/blocks/send-a-message/view.asset.php
index 239ef4ac..8923e01c 100644
--- a/plugins/jetpack/_inc/blocks/send-a-message/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/send-a-message/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9ed86aecb5110524402906eea20c3fdb'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => '88cc42f3d74bf0571573');
diff --git a/plugins/jetpack/_inc/blocks/send-a-message/view.js b/plugins/jetpack/_inc/blocks/send-a-message/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/send-a-message/view.js
+++ b/plugins/jetpack/_inc/blocks/send-a-message/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/slideshow/view.asset.php b/plugins/jetpack/_inc/blocks/slideshow/view.asset.php
index 0441519f..39f363ca 100644
--- a/plugins/jetpack/_inc/blocks/slideshow/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/slideshow/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-escape-html', 'wp-polyfill'), 'version' => 'cfd28516d2b755a43cbb884ce973141e'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-escape-html', 'wp-polyfill'), 'version' => '00e7f45910b2c9be01ff');
diff --git a/plugins/jetpack/_inc/blocks/slideshow/view.css b/plugins/jetpack/_inc/blocks/slideshow/view.css
index 6d2f1624..c8e16884 100644
--- a/plugins/jetpack/_inc/blocks/slideshow/view.css
+++ b/plugins/jetpack/_inc/blocks/slideshow/view.css
@@ -1 +1 @@
-.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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto} \ No newline at end of file
+.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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;padding-top:0;position:relative;right:auto} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/slideshow/view.js b/plugins/jetpack/_inc/blocks/slideshow/view.js
index 39644e6d..3db966aa 100644
--- a/plugins/jetpack/_inc/blocks/slideshow/view.js
+++ b/plugins/jetpack/_inc/blocks/slideshow/view.js
@@ -1 +1 @@
-!function(){var e,t,n,r,i,o,s={54166:function(e,t){"use strict";var n=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__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&c()}function a(){o(s)}function c(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);i=e}return c}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(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;s.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);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},l=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=m(0,0,0,0);function d(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function p(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=l(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=d(o)}return t}(r),o=i.left+i.right,s=i.top+i.bottom,a=d(r.width),c=d(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==t&&(a-=h(r,"left","right")+o),Math.round(c+s)!==n&&(c-=h(r,"top","bottom")+s)),!function(e){return e===l(e).document.documentElement}(e)){var u=Math.round(a+o)-t,p=Math.round(c+s)-n;1!==Math.abs(u)&&(a-=u),1!==Math.abs(p)&&(c-=p)}return m(i.left,i.top,a,c)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof l(e).SVGGraphicsElement}:function(e){return e instanceof l(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return r?v(e)?function(e){var t=e.getBBox();return m(0,0,t.width,t.height)}(e):p(e):f}function m(e,t,n,r){return{x:e,y:t,width:n,height:r}}var w=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,r,i,o,s,a,c,l=(r=(n=t).x,i=n.y,o=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),u(c,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),c);u(this,{target:e,contentRect:l})},_=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof l(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new w(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof l(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),g="undefined"!=typeof WeakMap?new WeakMap:new n,E=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=c.getInstance(),r=new _(t,n,this);g.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=g.get(this))[e].apply(t,arguments)}}));var O=void 0!==i.ResizeObserver?i.ResizeObserver:E;t.Z=O},44890:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819);async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(i,(e=>function(){e(this)}))},[{default:s}]=await Promise.all([Promise.all([n.e(860),n.e(390)]).then(n.t.bind(n,16402,23)),Promise.all([n.e(860),n.e(390)]).then(n.bind(n,78858))]);return new s(e,(0,r.merge)({},o,t))}},10099:function(e,t,n){"use strict";n.d(t,{HV:function(){return c},UA:function(){return s},Wj:function(){return u},$m:function(){return a}});var r=n(81975),i=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function s(e){a(e),c(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function a(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),i="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,i),s=`${Math.floor(o)}px`,a=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=a,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=a}function c(e){(0,i.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],i=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(i.alt))}(e)}function u(e){(0,i.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},57836:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},92819:function(e){"use strict";e.exports=window.lodash},47701:function(e){"use strict";e.exports=window.wp.domReady},81975:function(e){"use strict";e.exports=window.wp.escapeHtml}},a={};function c(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return s[e].call(n.exports,n,n.exports,c),n.exports}c.m=s,c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},c.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);c.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},c.d(i,o),i},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce((function(t,n){return c.f[n](e,t),t}),[]))},c.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{390:"87699145e1e11e92e952",860:"d8d32efbe3dcb1077f70"}[e]},c.miniCssF=function(e){return"swiper.css?minify=false&ver=4f0a26962ac03729a198"},function(){if(!c.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;c.miniCssF=(e=c.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",c.l=function(e,t,i,o){if(n[e])n[e].push(t);else{var s,a;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+i){s=f;break}}s||(a=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.setAttribute("data-webpack",r+i),s.src=e),n[e]=[t];var d=function(t,r){s.onerror=s.onload=null,clearTimeout(h);var i=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(r)})),t)return t(r)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),a&&document.head.appendChild(s)}},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;c.g.importScripts&&(e=c.g.location+"");var t=c.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(/\/[^\/]+$/,"/"),c.p=e+"../"}(),i=function(e){return new Promise((function(t,n){var r=c.miniCssF(e),i=c.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var i=(s=n[r]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===e||i===t))return s}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var s;if((i=(s=o[r]).getAttribute("data-href"))===e||i===t)return s}}(r,i))return t();!function(e,t,n,r){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=function(o){if(i.onerror=i.onload=null,"load"===o.type)n();else{var s=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=s,c.request=a,i.parentNode.removeChild(i),r(c)}},i.href=t,document.head.appendChild(i)}(e,i,t,n)}))},o={72:0},c.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=i(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={72:0};c.f.j=function(t,n){var r=c.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var i=new Promise((function(n,i){r=e[t]=[n,i]}));n.push(r[2]=i);var o=c.p+c.u(t),s=new Error;c.l(o,(function(n){if(c.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,r[1](s)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,i,o=n[0],s=n[1],a=n[2],u=0;if(o.some((function(t){return 0!==e[t]}))){for(r in s)c.o(s,r)&&(c.m[r]=s[r]);if(a)a(c)}for(t&&t(n);u<o.length;u++)i=o[u],c.o(e,i)&&e[i]&&e[i][0](),e[o[u]]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";c(57836)}(),function(){"use strict";var e=c(92819),t=c(47701),n=c.n(t),r=c(54166),i=c(44890),o=c(10099);"undefined"!=typeof window&&n()((function(){const t=document.getElementsByClassName("wp-block-jetpack-slideshow");(0,e.forEach)(t,(e=>{if("true"===e.getAttribute("data-jetpack-block-initialized"))return;const{autoplay:t,delay:n,effect:s}=e.dataset,a=window.matchMedia("(prefers-reduced-motion: reduce)").matches,c=t&&!a,u=e.getElementsByClassName("swiper-container")[0];let l=null;(0,i.Z)(u,{autoplay:!!c&&{delay:1e3*n,disableOnInteraction:!1},effect:s,init:!0,initialSlide:0,loop:!0,keyboard:{enabled:!0,onlyInViewport:!0}},{init:o.UA,imagesReady:o.$m,paginationRender:o.Wj,transitionEnd:o.HV}).then((e=>{new r.Z((()=>{l&&(cancelAnimationFrame(l),l=null),l=requestAnimationFrame((()=>{(0,o.$m)(e),e.update()}))})).observe(e.el)})).catch((()=>{e.querySelector(".wp-block-jetpack-slideshow_container").classList.add("wp-swiper-initialized")})),e.setAttribute("data-jetpack-block-initialized","true")}))}))}()}(); \ No newline at end of file
+!function(){var e,t,n,r,i,o,s={6209:function(e,t){"use strict";var n=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__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&c()}function a(){o(s)}function c(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);i=e}return c}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(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;s.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);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},l=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=m(0,0,0,0);function d(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function p(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=l(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=d(o)}return t}(r),o=i.left+i.right,s=i.top+i.bottom,a=d(r.width),c=d(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==t&&(a-=h(r,"left","right")+o),Math.round(c+s)!==n&&(c-=h(r,"top","bottom")+s)),!function(e){return e===l(e).document.documentElement}(e)){var u=Math.round(a+o)-t,p=Math.round(c+s)-n;1!==Math.abs(u)&&(a-=u),1!==Math.abs(p)&&(c-=p)}return m(i.left,i.top,a,c)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof l(e).SVGGraphicsElement}:function(e){return e instanceof l(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return r?v(e)?function(e){var t=e.getBBox();return m(0,0,t.width,t.height)}(e):p(e):f}function m(e,t,n,r){return{x:e,y:t,width:n,height:r}}var w=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,r,i,o,s,a,c,l=(r=(n=t).x,i=n.y,o=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),u(c,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),c);u(this,{target:e,contentRect:l})},_=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof l(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new w(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof l(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),g="undefined"!=typeof WeakMap?new WeakMap:new n,E=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=c.getInstance(),r=new _(t,n,this);g.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=g.get(this))[e].apply(t,arguments)}}));var O=void 0!==i.ResizeObserver?i.ResizeObserver:E;t.Z=O},30847:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819);async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".swiper-container",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:(0,r.mapValues)(i,(e=>function(){e(this)}))},[{default:s}]=await Promise.all([Promise.all([n.e(302),n.e(390)]).then(n.t.bind(n,59101,23)),Promise.all([n.e(302),n.e(390)]).then(n.bind(n,89701))]);return new s(e,(0,r.merge)({},o,t))}},17766:function(e,t,n){"use strict";n.d(t,{$m:function(){return a},HV:function(){return c},UA:function(){return s},Wj:function(){return u}});var r=n(81975),i=n(92819);const o="wp-block-jetpack-slideshow_autoplay-paused";function s(e){a(e),c(e);document.querySelector("body").dispatchEvent(new Event("jetpack-lazy-images-load")),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function a(e){if(!e||!e.el)return;const t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(!t)return;const n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,1.7777777777777777),1),i="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,i),s=`${Math.floor(o)}px`,a=`${Math.floor(o/2)}px`;e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=a,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=a}function c(e){(0,i.forEach)(e.slides,((t,n)=>{t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){const t=e.slides[e.activeIndex];if(!t)return;const n=t.getElementsByTagName("FIGCAPTION")[0],i=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,r.escapeHTML)(i.alt))}(e)}function u(e){(0,i.forEach)(e.pagination.bullets,(t=>{t.addEventListener("click",(()=>{const t=e.slides[e.realIndex];setTimeout((()=>{t.focus()}),500)}))}))}},80425:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},92819:function(e){"use strict";e.exports=window.lodash},47701:function(e){"use strict";e.exports=window.wp.domReady},81975:function(e){"use strict";e.exports=window.wp.escapeHtml}},a={};function c(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return s[e].call(n.exports,n,n.exports,c),n.exports}c.m=s,c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},c.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);c.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},c.d(i,o),i},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce((function(t,n){return c.f[n](e,t),t}),[]))},c.u=function(e){return(390===e?"swiper":e)+".js?minify=false&ver="+{302:"8477ea85482e6f10802f",390:"e97a60781e1543c44f3c"}[e]},c.miniCssF=function(e){return"swiper.css?minify=false&ver=eacdc1a03fc9a7e72e14"},function(){if(!c.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;c.miniCssF=(e=c.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="Jetpack:",c.l=function(e,t,i,o){if(n[e])n[e].push(t);else{var s,a;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+i){s=f;break}}s||(a=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.setAttribute("data-webpack",r+i),s.src=e),n[e]=[t];var d=function(t,r){s.onerror=s.onload=null,clearTimeout(h);var i=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(r)})),t)return t(r)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),a&&document.head.appendChild(s)}},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;c.g.importScripts&&(e=c.g.location+"");var t=c.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(/\/[^\/]+$/,"/"),c.p=e+"../"}(),i=function(e){return new Promise((function(t,n){var r=c.miniCssF(e),i=c.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var i=(s=n[r]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===e||i===t))return s}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var s;if((i=(s=o[r]).getAttribute("data-href"))===e||i===t)return s}}(r,i))return t();!function(e,t,n,r){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=function(o){if(i.onerror=i.onload=null,"load"===o.type)n();else{var s=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=s,c.request=a,i.parentNode.removeChild(i),r(c)}},i.href=t,document.head.appendChild(i)}(e,i,t,n)}))},o={72:0},c.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{390:1}[e]&&t.push(o[e]=i(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={72:0};c.f.j=function(t,n){var r=c.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(390!=t){var i=new Promise((function(n,i){r=e[t]=[n,i]}));n.push(r[2]=i);var o=c.p+c.u(t),s=new Error;c.l(o,(function(n){if(c.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,r[1](s)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,i,o=n[0],s=n[1],a=n[2],u=0;if(o.some((function(t){return 0!==e[t]}))){for(r in s)c.o(s,r)&&(c.m[r]=s[r]);if(a)a(c)}for(t&&t(n);u<o.length;u++)i=o[u],c.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";c(80425)}(),function(){"use strict";var e=c(92819),t=c(47701),n=c.n(t),r=c(6209),i=c(30847),o=c(17766);"undefined"!=typeof window&&n()((function(){const t=document.getElementsByClassName("wp-block-jetpack-slideshow");(0,e.forEach)(t,(e=>{if("true"===e.getAttribute("data-jetpack-block-initialized"))return;const{autoplay:t,delay:n,effect:s}=e.dataset,a=window.matchMedia("(prefers-reduced-motion: reduce)").matches,c=t&&!a,u=e.getElementsByClassName("swiper-container")[0];let l=null;(0,i.Z)(u,{autoplay:!!c&&{delay:1e3*n,disableOnInteraction:!1},effect:s,init:!0,initialSlide:0,loop:!0,keyboard:{enabled:!0,onlyInViewport:!0}},{init:o.UA,imagesReady:o.$m,paginationRender:o.Wj,transitionEnd:o.HV}).then((e=>{new r.Z((()=>{l&&(cancelAnimationFrame(l),l=null),l=requestAnimationFrame((()=>{(0,o.$m)(e),e.update()}))})).observe(e.el)})).catch((()=>{e.querySelector(".wp-block-jetpack-slideshow_container").classList.add("wp-swiper-initialized")})),e.setAttribute("data-jetpack-block-initialized","true")}))}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/slideshow/view.rtl.css b/plugins/jetpack/_inc/blocks/slideshow/view.rtl.css
index 1d608c66..0e8d4921 100644
--- a/plugins/jetpack/_inc/blocks/slideshow/view.rtl.css
+++ b/plugins/jetpack/_inc/blocks/slideshow/view.rtl.css
@@ -1 +1 @@
-.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__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{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='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.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,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{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='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left:auto;padding-top:0;position:relative} \ No newline at end of file
+.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 .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 .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%;-o-object-fit:contain;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:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.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:rgba(0,0,0,.75)}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12 10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.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 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;left: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' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.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:rgba(0,0,0,.5);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{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.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{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .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]{background-color:currentColor;opacity:1;transform:scale(1)}.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:transparent;bottom:auto;color:inherit;left:auto;padding-top:0;position:relative} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/story/view.asset.php b/plugins/jetpack/_inc/blocks/story/view.asset.php
index c3bfa525..5bdd72f1 100644
--- a/plugins/jetpack/_inc/blocks/story/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/story/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'react', 'wp-blob', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '4a990077f882507ba4f67a32fb7048f4'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'react', 'wp-blob', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '3c5d933cbaac265fbda3');
diff --git a/plugins/jetpack/_inc/blocks/story/view.css b/plugins/jetpack/_inc/blocks/story/view.css
index c7e1bfff..21944356 100644
--- a/plugins/jetpack/_inc/blocks/story/view.css
+++ b/plugins/jetpack/_inc/blocks/story/view.css
@@ -1 +1 @@
-.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;left:3px;position:absolute;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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:rgba(0,0,0,.5);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-expand svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span,.wp-story-container .wp-story-overlay .wp-story-embed-icon 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:transparent}.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:hsla(0,0%,100%,.4)}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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:#0e1112e0;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%}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%} \ No newline at end of file
+.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;left:3px;position:absolute;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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:rgba(0,0,0,.5);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:transparent}.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:hsla(0,0%,100%,.4)}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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:#0e1112e0;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%}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/story/view.js b/plugins/jetpack/_inc/blocks/story/view.js
index 4088c6c2..03828da8 100644
--- a/plugins/jetpack/_inc/blocks/story/view.js
+++ b/plugins/jetpack/_inc/blocks/story/view.js
@@ -1,6 +1,6 @@
/*! For license information please see view.js.LICENSE.txt */
-!function(){var e={29183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},89105:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var i=l.apply(null,n);i&&e.push(i)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var u in n)r.call(n,u)&&n[u]&&e.push(u);else e.push(n.toString())}}return e.join(" ")}e.exports?(l.default=l,e.exports=l):void 0===(n=function(){return l}.apply(t,[]))||(e.exports=n)}()},2601:function(e){"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)t(e,n[r]);else for(r in n)e[r]=(e[r]||[]).concat(n[r])}e.exports=function(e){var n,r={};return t(r,e),(n=function(e){return function(t){return function(n){var l,s,i=r[n.type],u=t(n);if(i)for(l=0;l<i.length;l++)(s=i[l](n,e))&&e.dispatch(s);return u}}}).effects=r,n}},96178:function(e,t,n){"use strict";var r=n(69307),l=n(55609);const s=(0,n(41632).Z)((0,r.createElement)(l.G,null,(0,r.createElement)(l.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,r.createElement)(l.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,r.createElement)(l.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));t.Z=s},18754:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),l=n(55609);function s(e){let{currentMedia:t}=e;const n=t&&"image"===t.type?t.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:n?`url("${n}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(l.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},85974:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),l=n(89105),s=n.n(l),i=n(65736),u=n(55609);const __=i.__;function o(e){let{isEllipsis:t,disabled:n,index:l,isSelected:o,progress:c,onClick:a}=e;const d=n||t;let p=null;return t||(p=o?(0,i.sprintf)(
+!function(){var e={82402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},65235:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var i=l.apply(null,n);i&&e.push(i)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var u in n)r.call(n,u)&&n[u]&&e.push(u);else e.push(n.toString())}}return e.join(" ")}e.exports?(l.default=l,e.exports=l):void 0===(n=function(){return l}.apply(t,[]))||(e.exports=n)}()},24274:function(e){"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)t(e,n[r]);else for(r in n)e[r]=(e[r]||[]).concat(n[r])}e.exports=function(e){var n,r={};return t(r,e),(n=function(e){return function(t){return function(n){var l,s,i=r[n.type],u=t(n);if(i)for(l=0;l<i.length;l++)(s=i[l](n,e))&&e.dispatch(s);return u}}}).effects=r,n}},66512:function(e,t,n){"use strict";var r=n(69307),l=n(55609);const s=(0,n(36598).Z)((0,r.createElement)(l.G,null,(0,r.createElement)(l.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,r.createElement)(l.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,r.createElement)(l.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));t.Z=s},19395:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307),l=n(55609);function s(e){let{currentMedia:t}=e;const n=t&&"image"===t.type?t.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:n?`url("${n}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(l.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},94754:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),l=n(65235),s=n.n(l),i=n(65736),u=n(55609);const __=i.__;function o(e){let{isEllipsis:t,disabled:n,index:l,isSelected:o,progress:a,onClick:c}=e;const d=n||t;let p=null;return t||(p=o?(0,i.sprintf)(
/* translators: %d: Slide number. */
__("Slide %d, currently selected","jetpack"),l+1):(0,i.sprintf)(
/* translators: %d: Slide number. */
-__("Go to slide %d","jetpack"),l+1)),(0,r.createElement)(u.Button,{role:d?"presentation":"tab",key:l,className:s()("wp-story-pagination-bullet",{"wp-story-pagination-ellipsis":t}),"aria-label":p,"aria-disabled":d||o,onClick:d||o?void 0:a,disabled:d},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar"},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar-progress",style:{width:`${c}%`}})))}},9610:function(e,t,n){"use strict";n.d(t,{b:function(){return o},r:function(){return c}});var r=n(29183),l=n.n(r),s=n(69307),i=n(89105),u=n.n(i);const o=e=>{let{className:t,size:n,label:r,isPressed:i,...o}=e;return(0,s.createElement)("button",l()({type:"button","aria-label":r,"aria-pressed":i,className:u()("jetpack-mdc-icon-button","circle-icon","outlined","bordered",t),style:{width:`${n}px`,height:`${n}px`}},o))},c=e=>{let{className:t,size:n=24,label:r,isPressed:i,...o}=e;return(0,s.createElement)("button",l()({type:"button","aria-label":r,"aria-pressed":i,className:u()("jetpack-mdc-icon-button",t),style:{width:`${n}px`,height:`${n}px`}},o))}},1019:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("div",{className:"wp-story-loading-spinner"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__outer"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__inner"})))},50281:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),l=n(65736),s=n(9610),i=n(29089);const _x=l._x;function u(e){let{playing:t,muted:n,onPlayPressed:l,onMutePressed:u,showMute:o}=e;return(0,r.createElement)("div",{className:"wp-story-controls"},(0,r.createElement)(s.r,{isPressed:t,label:t?_x("pause","Button tooltip text","jetpack"):_x("play","Button tooltip text","jetpack",0),onClick:l},t?(0,r.createElement)(i.fp,null):(0,r.createElement)(i.o1,null)),o&&(0,r.createElement)(s.r,{isPressed:n,label:n?_x("unmute","Button tooltip text","jetpack"):_x("mute","Button tooltip text","jetpack",0),onClick:u},n?(0,r.createElement)(i.xb,null):(0,r.createElement)(i.MC,null)))}},40220:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),l=n(65736),s=n(9610),i=n(29089);const __=l.__;function u(e){let{fullscreen:t,onExitFullscreen:n,siteIconUrl:l,storyTitle:u}=e;return t?(0,r.createElement)("div",{className:"wp-story-meta"},(0,r.createElement)("div",{className:"wp-story-icon"},(0,r.createElement)("img",{alt:__("Site icon","jetpack"),src:l,width:"40",height:"40"})),(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"wp-story-title"},u)),(0,r.createElement)(s.r,{className:"wp-story-exit-fullscreen",label:__("Exit Fullscreen","jetpack"),onClick:n},(0,r.createElement)(i.Tw,null))):null}},29089:function(e,t,n){"use strict";n.d(t,{o1:function(){return u},fp:function(){return o},Tw:function(){return c},MC:function(){return a},xb:function(){return d},JM:function(){return p},Vq:function(){return f}});var r=n(69307),l=n(55609),s=n(41632);const i=e=>{let{children:t,size:n}=e;return(0,s.Z)(t,n,n)},u=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M8 5v14l11-7z"}))},o=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}))},c=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))},a=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}))},d=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}))},p=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}))},f=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}))}},27870:function(e,t,n){"use strict";n.d(t,{gT:function(){return r.Z},ZX:function(){return l.Z},h4:function(){return s.Z},aV:function(){return i.Z},Aq:function(){return u.Z},WB:function(){return o.Z},pU:function(){return c.pU}});var r=n(85974),l=n(50281),s=n(40220),i=n(46531),u=n(18754),o=n(1019),c=n(64816);n(9610)},64816:function(e,t,n){"use strict";n.d(t,{pU:function(){return a}});var r=n(29183),l=n.n(r),s=n(69307),i=n(89105),u=n.n(i);const o=e=>{let{title:t,alt:n,className:r,id:l,mediaRef:i,mime:o,sizes:c,srcset:a,url:d}=e;return(0,s.createElement)("img",{ref:i,"data-id":l,"data-mime":o,title:t,alt:n,src:d,className:u()("wp-story-image",`wp-image-${l}`,r),srcSet:a,sizes:c})},c=e=>{let{title:t,className:n,id:r,mediaRef:l,mime:i,url:o,poster:c}=e;return(0,s.createElement)("video",{className:u()("wp-story-video","intrinsic-ignore",`wp-video-${r}`,n),ref:l,"data-id":r,title:t,type:i,src:o,poster:c,tabIndex:-1,preload:"auto",playsInline:!0})},a=e=>{let{targetAspectRatio:t,cropUpTo:n,type:r,width:i,height:u,...a}=e,d=null;if(i&&u){const e=i/u;if(e>=t){e>t/(1-n)||(d="wp-story-crop-wide")}else{e<t*(1-n)||(d="wp-story-crop-narrow")}}const p="video"===r||(a.mime||"").startsWith("video/");return(0,s.createElement)("figure",null,p?(0,s.createElement)(c,l()({},a,{className:d})):(0,s.createElement)(o,l()({},a,{className:d})))}},46531:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),l=n(48735),s=n.n(l),i=n(65736),u=n(9610),o=n(29089);const __=i.__;function c(e){let{ended:t,hasPrevious:n,onNextSlide:l,onPreviousSlide:c,icon:a,slideCount:d,showSlideCount:p}=e;const f=(0,r.useCallback)((e=>{t||(e.stopPropagation(),c())}),[c,t]),m=(0,r.useCallback)((e=>{t||(e.stopPropagation(),l())}),[l,t]);return(0,r.createElement)("div",{className:"wp-story-overlay"},p&&(0,r.createElement)("div",{className:"wp-story-embed-icon"},a,(0,r.createElement)("span",null,d)),!p&&(0,r.createElement)("div",{className:"wp-story-embed-icon-expand"},(0,r.createElement)(s(),{role:"img"})),n&&(0,r.createElement)("div",{className:"wp-story-prev-slide",onClick:f},(0,r.createElement)(u.b,{size:44,label:__("Previous Slide","jetpack"),className:"outlined-w"},(0,i.isRTL)()?(0,r.createElement)(o.Vq,{size:24}):(0,r.createElement)(o.JM,{size:24}))),(0,r.createElement)("div",{className:"wp-story-next-slide",onClick:m},(0,r.createElement)(u.b,{size:44,label:__("Next Slide","jetpack"),className:"outlined-w"},(0,i.isRTL)()?(0,r.createElement)(o.JM,{size:24}):(0,r.createElement)(o.Vq,{size:24}))))}},58871:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(69307),l=n(89105),s=n.n(l),i=n(31158),u=n(29891),o=n(72096);const c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function a(e){let{className:t,fullscreenClassName:n,bodyFullscreenClassName:l,fullscreen:a,shadowDOM:d,onKeyDown:p,onExitFullscreen:f,playerQuerySelector:m,children:g}=e;const y=(0,r.useRef)(),E=(0,r.useRef)(),[h,S]=(0,r.useState)(null),w=c&&u.am(),v=a&&!w,b=a&&w;return(0,r.useLayoutEffect)((()=>{if(w)a?y.current&&u.uP(y.current,f):u.bG()&&u.JF();else if(a){if(S([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(l),document.getElementsByTagName("html")[0].classList.add(l),E.current){const e=E.current.querySelector(m);e&&e.focus()}}else if(document.body.classList.remove(l),document.getElementsByTagName("html")[0].classList.remove(l),h){window.scrollTo(...h);const e=y.current.querySelector(m);e&&e.focus()}}),[a]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,d,(0,r.createElement)("div",{ref:y,className:s()(t,{[n]:b}),onKeyDown:p},!v&&g)),(0,r.createElement)(o.Z,{className:s()(t,{[n]:v}),isOpened:v,onRequestClose:f,shadowDOM:d,onKeyDown:v&&p,focusOnMount:!1,modalRef:E},v&&g))}},4045:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),l=n(9818),s=n(39630),i=(n(66930),n(54616)),u=n(58871);function o(e){let{id:t,slides:n,metadata:o,disabled:c,...a}=e;const d=(0,r.useMemo)((()=>t||Math.random().toString(36)),[t]),{init:p,setEnded:f,setPlaying:m,setFullscreen:g,showSlide:y}=(0,l.useDispatch)("jetpack/story/player"),{playing:E,currentSlideIndex:h,fullscreen:S,isReady:w,playerSettings:v}=(0,l.useSelect)((e=>{const{getCurrentSlideIndex:t,getSettings:n,isFullscreen:r,isPlayerReady:l,isPlaying:s}=e("jetpack/story/player");return l(d)?{playing:s(d),currentSlideIndex:t(d),isReady:!0,fullscreen:r(d),playerSettings:n(d)}:{isReady:!1}}),[d]);(0,r.useEffect)((()=>{w||p(d,{slideCount:n.length,...a})}),[w,d]);const b=(0,r.useCallback)((e=>{switch(e.keyCode){case s.ENTER:if(S)break;case s.SPACE:m(d,!E);break;case s.LEFT:h>0&&y(d,h-1);break;case s.RIGHT:h<n.length-1?y(d,h+1):f(d)}}),[d,h,S,E]),x=(0,r.useCallback)((()=>{g(d,!1)}),[d]);return w?(0,r.createElement)(u.Z,{shadowDOM:v.shadowDOM,className:"wp-story-app",fullscreenClassName:"wp-story-fullscreen",bodyFullscreenClassName:"wp-story-in-fullscreen",playerQuerySelector:".wp-story-container",fullscreen:S,onExitFullscreen:x,onKeyDown:b},(0,r.createElement)(i.Z,{id:d,slides:n,metadata:o,disabled:c})):null}},29891:function(e,t,n){"use strict";n.d(t,{am:function(){return r},bG:function(){return l},uP:function(){return s},JF:function(){return i}});const r=()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,l=()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,s=(e,t)=>{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=>{document.fullscreenElement||(document.removeEventListener("fullscreenchange",e),t())};document.addEventListener("fullscreenchange",e)}},i=()=>(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},31158:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307);const l=window&&window.Element&&window.Element.prototype.hasOwnProperty("attachShadow");function s(e){let{enabled:t,delegatesFocus:n=!1,mode:s="open",globalStyleElements:u=[],adoptedStyleSheets:o=null,mountOnElement:c=null,children:a}=e;const[d,p]=(0,r.useState)(null),f=c||d,[m,g]=(0,r.useState)(null),y="string"==typeof u?[...document.querySelectorAll(u)]:u,E=l&&t&&y.length>0,h=(0,r.useCallback)((e=>{null!==e&&p(e.parentNode)}),[]);if((0,r.useEffect)((()=>{if(!f)return;if(f.shadowRoot)return void g(f.shadowRoot);const e=f.attachShadow({delegatesFocus:n,mode:s});o&&(e.adoptedStyleSheets=o),g(e)}),[f]),E&&!m)return c?null:(0,r.createElement)("span",{ref:h});const S=(0,r.createElement)(r.Fragment,null,E&&(0,r.createElement)(i,{globalStyleElements:y}),a);return E?(0,r.createPortal)(S,m):S}function i(e){let{globalStyleElements:t}=e;return(0,r.createElement)(r.Fragment,null,t.map(((e,t)=>{let{id:n,tagName:l,attributes:s,innerHTML:i}=e;return"LINK"===l?(0,r.createElement)("link",{key:n||t,id:n,rel:s.rel.value,href:s.href.value}):"STYLE"===l?(0,r.createElement)("style",{key:n||t,id:n},i):void 0})))}},94292:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{const t=(0,r.useRef)(),n=(0,r.useRef)(),l=(0,r.useRef)(e),s=(0,r.useCallback)((e=>{e.touches&&1===e.touches.length&&e.preventDefault()}),[]);return(0,r.useEffect)((()=>{l.current=e}),[e]),{onTouchStart:(0,r.useCallback)((e=>{e.target&&(e.target.addEventListener("touchend",s,{passive:!1}),n.current=e.target),t.current=setTimeout((()=>{l.current&&l.current(!0),t.current=null}),200)}),[]),onTouchEnd:(0,r.useCallback)((e=>{t.current?clearTimeout(t.current):(l.current&&l.current(!1),e.stopPropagation()),n.current&&n.current.removeEventListener("touchend",s)}),[])}}},21531:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(69307);function l(e){const t=(0,r.useRef)(null),n=(0,r.useRef)(!1),l=(0,r.useRef)(e),s=(0,r.useRef)(e);return s.current=e,(0,r.useLayoutEffect)((()=>{e.forEach(((e,r)=>{const s=l.current[r];"function"==typeof e&&e!==s&&!1===n.current&&(s(null),e(t.current))})),l.current=e}),e),(0,r.useLayoutEffect)((()=>{n.current=!1})),(0,r.useCallback)((e=>{t.current=e,n.current=!0;(e?s.current:l.current).forEach((t=>{"function"==typeof t?t(e):t&&t.hasOwnProperty("current")&&(t.current=e)}))}),[])}},97524:function(e,t,n){"use strict";async function r(e){const t=e.tagName.toLowerCase();if("img"===t){if(e.complete)return;await new Promise((t=>{e.addEventListener("load",t,{once:!0})}))}else if("video"===t||"audio"===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise((t=>{e.addEventListener("canplaythrough",t,{once:!0}),e.addEventListener("load",t,{once:!0}),e.HAVE_NOTHING===e.readyState&&e.networkState!==e.NETWORK_LOADING&&e.load()}))}}n.d(t,{Z:function(){return r}})},82295:function(e,t,n){"use strict";n.d(t,{BM:function(){return u},i1:function(){return o}});var r=n(92819);const l=new Set(["alert","status","log","marquee","timer"]);let s=[],i=!1;function u(e){if(i)return;const t=document.body.children;(0,r.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||l.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),s.push(t))})),i=!0}function o(){i&&((0,r.forEach)(s,(e=>{e.removeAttribute("aria-hidden")})),s=[],i=!1)}},97790:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),l=n(39630),s=n(94333),i=n(21531);function u(e){let{overlayClassName:t,children:n,className:u,focusOnMount:o,shouldCloseOnEsc:c=!0,onRequestClose:a,onKeyDown:d,modalRef:p}=e;const f=(0,s.useFocusOnMount)(o),m=(0,s.useConstrainedTabbing)(),g=(0,s.useFocusReturn)();return(0,r.createElement)("div",{className:t,onKeyDown:function(e){c&&e.keyCode===l.ESCAPE&&(e.stopPropagation(),a&&a(e)),e.target&&"button"===e.target.tagName.toLowerCase()&&e.keyCode===l.SPACE||d&&d(e)}},(0,r.createElement)("div",{className:u,ref:(0,i.Z)([m,g,f,p])},n))}},72096:function(e,t,n){"use strict";var r=n(29183),l=n.n(r),s=n(69307),i=n(94333),u=n(31158),o=n(97790),c=n(82295);let a,d=0;const p=()=>{};class f extends s.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){d++,1===d&&this.openFirstModal()}componentWillUnmount(){d--,0===d&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){a||(a=document.createElement("div"),document.body.appendChild(a)),this.node=document.createElement("div"),a.appendChild(this.node),this.node.ontouchstart=p,this.node.ontouchend=p}cleanDOM(){a.removeChild(this.node)}openFirstModal(){c.BM(a)}closeLastModal(){c.i1()}render(){const{children:e,isOpened:t,shadowDOM:n,...r}=this.props;return(0,s.createElement)(u.Z,l()({},n,{mountOnElement:this.node}),t&&(0,s.createElement)(o.Z,r,e))}}f.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0},t.Z=(0,i.withInstanceId)(f)},54616:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(29183),l=n.n(r),s=n(69307),i=n(89105),u=n.n(i),o=n(92819),c=n(11313),a=n(94333),d=n(65736),p=n(9818),f=n(12378),m=n(96178),g=n(16019),y=n(27870),E=n(94292);const __=d.__;function h(e){let{id:t,slides:n,metadata:r,disabled:i}=e;const{setFullscreen:d,setEnded:h,setPlaying:S,setMuted:w,showSlide:v}=(0,p.useDispatch)("jetpack/story/player"),{playing:b,muted:x,currentSlideIndex:C,currentSlideEnded:k,ended:N,fullscreen:P,settings:T}=(0,p.useSelect)((e=>{const{getCurrentSlideIndex:n,getSettings:r,hasCurrentSlideEnded:l,hasEnded:s,isFullscreen:i,isMuted:u,isPlaying:o}=e("jetpack/story/player");return{playing:o(t),muted:u(t),currentSlideIndex:n(t),currentSlideEnded:l(t),ended:s(t),fullscreen:i(t),settings:r(t)}}),[t]),M=(0,s.useRef)(),[R,I]=(0,s.useState)(null),[_,{width:L,height:O}]=(0,a.useResizeObserver)(),[z,F]=(0,s.useState)(T.defaultAspectRatio),D=(0,o.some)(n,(e=>(0,c.isBlobURL)(e.url))),A=e=>{v(t,e)},Z=(0,s.useCallback)((()=>{i||P||T.playInFullscreen&&!b&&S(t,!0)}),[b,i,P]),{onTouchStart:j,onTouchEnd:B}=(0,E.Z)((e=>{S(t,!e)}),[]),U=(0,s.useCallback)((()=>{C>0&&A(C-1)}),[C]),H=(0,s.useCallback)((()=>{C<n.length-1?A(C+1):h(t)}),[C,n]),q=(0,s.useCallback)((()=>{d(t,!1)}),[]);let G,V;return(0,s.useEffect)((()=>{i&&b&&S(t,!1)}),[i,b]),(0,s.useEffect)((()=>{b&&k&&H()}),[b,k]),(0,s.useLayoutEffect)((()=>{if(!M.current)return;let e=Math.round(T.defaultAspectRatio*M.current.offsetHeight);P&&(e=Math.abs(1-e/L)<T.cropUpTo?L:e),I(e)}),[L,O,P]),(0,s.useLayoutEffect)((()=>{R&&M.current&&M.current.offsetHeight>0&&F(R/M.current.offsetHeight)}),[R]),G=P?[__("You are currently playing a story.","jetpack"),b?__("Press space to pause.","jetpack"):__("Press space to play.","jetpack",0),__("Press escape to exit.","jetpack")].join(" "):__("Play story","jetpack"),V=i?"presentation":P?"dialog":"button",(0,s.createElement)("div",{className:"wp-story-display-contents"},_,(0,s.createElement)("div",{role:V,"aria-label":G,tabIndex:P?-1:0,className:u()("wp-story-container",{"wp-story-with-controls":!i&&!P&&!T.playInFullscreen,"wp-story-fullscreen":P,"wp-story-ended":N,"wp-story-disabled":i,"wp-story-clickable":!i&&!P}),style:{maxWidth:`${R}px`},onClick:Z,onTouchStart:j,onTouchEnd:B},(0,s.createElement)(y.h4,l()({},r,{fullscreen:P,onExitFullscreen:q})),(0,s.createElement)("div",{ref:M,className:"wp-story-wrapper"},n.map(((e,n)=>(0,s.createElement)(f.Z,{playerId:t,key:n,media:e,index:n,playing:!i&&b,uploading:D,settings:T,targetAspectRatio:z})))),(0,s.createElement)(y.aV,{icon:m.Z,slideCount:n.length,showSlideCount:T.showSlideCount,ended:N,hasPrevious:C>0,onPreviousSlide:U,onNextSlide:H}),T.showProgressBar&&(0,s.createElement)(g.ZP,{playerId:t,slides:n,disabled:!P,onSlideSeek:A,maxBullets:P?T.maxBulletsFullscreen:T.maxBullets}),(0,s.createElement)(y.ZX,{playing:b,muted:x,onPlayPressed:()=>S(t,!b),onMutePressed:()=>w(t,!x),showMute:(e=>{const t=e<n.length?n[e]:null;return!!t&&("video"===t.type||(t.mime||"").startsWith("video/"))})(C)})),P&&(0,s.createElement)(y.Aq,{currentMedia:T.blurredBackground&&n.length>C&&n[C]}))}},16019:function(e,t,n){"use strict";var r=n(69307),l=n(92819),s=n(27870),i=n(9818);const u=e=>{let{key:t,playerId:n,index:l,disabled:u,isSelected:o,onClick:c}=e;const a=(0,i.useSelect)((e=>e("jetpack/story/player").getCurrentSlideProgressPercentage(n)),[]);return(0,r.createElement)(s.gT,{key:t,index:l,progress:a,disabled:u,isSelected:o,onClick:c})};t.ZP=e=>{let{playerId:t,slides:n,disabled:o,onSlideSeek:c,maxBullets:a}=e;const{currentSlideIndex:d}=(0,i.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t)})),[]),p=Math.min(n.length,a),f=Math.floor(p/2);let m,g=0,y=n.length-1;return n.length<=a||d<f?(m=d,y=p-1):d>=n.length-f?(m=d-n.length+p,g=n.length-p):(m=f,g=d-f,y=d+f),(0,r.createElement)("div",{className:"wp-story-pagination wp-story-pagination-bullets",role:"tablist"},g>0&&(0,r.createElement)(s.gT,{key:"bullet-0",index:g-1,progress:100,isEllipsis:!0}),(0,l.range)(1,p+1).map(((e,n)=>{const l=n+g;let i=null;if(l<d)i=100;else{if(!(l>d))return(0,r.createElement)(u,{playerId:t,key:`bullet-${n}`,index:l,disabled:o,isSelected:m===n,onClick:()=>c(l)});i=0}return(0,r.createElement)(s.gT,{key:`bullet-${n}`,index:l,progress:i,disabled:o,isSelected:m===n,onClick:()=>c(l)})})),y<n.length-1&&(0,r.createElement)(s.gT,{key:`bullet-${p+1}`,index:y+1,progress:0,isEllipsis:!0}))}},12378:function(e,t,n){"use strict";var r=n(29183),l=n.n(r),s=n(69307),i=n(97524),u=n(89105),o=n.n(u),c=n(9818),a=n(27870);t.Z=e=>{let{playerId:t,media:n,index:r,playing:u,uploading:d,settings:p,targetAspectRatio:f}=e;const{currentSlideIndex:m,buffering:g}=(0,c.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t),buffering:e("jetpack/story/player").isBuffering(t)})),[]),{slideReady:y}=(0,c.useDispatch)("jetpack/story/player"),E=r===m,h=(0,s.useRef)(null),[S,w]=(0,s.useState)(!1),[v,b]=(0,s.useState)(!0);return(0,s.useEffect)((()=>{if(E&&!v){const e=h.current&&h.current.src&&"video"===h.current.tagName.toLowerCase()?h.current:null;y(t,h.current,e?e.duration:p.imageTime)}}),[E,v]),(0,s.useEffect)((()=>{r<=m+(u?1:0)&&w(!0)}),[u,m]),(0,s.useLayoutEffect)((()=>{h.current&&(0,i.Z)(h.current).then((()=>{b(!1)}))}),[S,d]),(0,s.createElement)(s.Fragment,null,E&&(v||d||g)&&(0,s.createElement)("div",{className:o()("wp-story-slide","is-loading",{transparent:u&&g,"semi-transparent":d||!u&&g})},(0,s.createElement)(a.WB,null)),(0,s.createElement)("div",{role:"figure",className:"wp-story-slide",style:{display:E&&!v?"block":"none"},tabIndex:E?0:-1},S&&(0,s.createElement)(a.pU,l()({},n,{targetAspectRatio:f,cropUpTo:p.cropUpTo,index:r,mediaRef:h}))))}},46192:function(e,t,n){"use strict";function r(e,t){return{type:"SET_MUTED",value:t,playerId:e}}function l(e,t){return{type:"SET_PLAYING",value:t,playerId:e}}function s(e,t){return{type:"SHOW_SLIDE",index:t,playerId:e}}function i(e,t,n){return{type:"SLIDE_READY",mediaElement:t,duration:n,playerId:e}}function u(e,t){return{type:"SET_CURRENT_SLIDE_PROGRESS",value:t,playerId:e}}function o(e){return{type:"RESET_CURRENT_SLIDE_PROGRESS",playerId:e}}function c(e){return{type:"SET_CURRENT_SLIDE_ENDED",playerId:e}}function a(e,t){return{type:"SET_FULLSCREEN",playerId:e,fullscreen:t}}function d(e){return{type:"ENDED",playerId:e}}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"INIT",playerId:e,settings:t}}function f(e,t){return{type:"SET_BUFFERING",value:t,playerId:e}}n.r(t),n.d(t,{setMuted:function(){return r},setPlaying:function(){return l},showSlide:function(){return s},slideReady:function(){return i},setCurrentSlideProgress:function(){return u},resetCurrentSlideProgress:function(){return o},setCurrentSlideEnded:function(){return c},setFullscreen:function(){return a},setEnded:function(){return d},init:function(){return p},setBuffering:function(){return f}})},58571:function(e,t,n){"use strict";n.d(t,{XO:function(){return r},Qz:function(){return l},H2:function(){return s}});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},l={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},s={slideCount:0,currentSlide:l,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:"open",globalStyleElements:'#jetpack-block-story-css, link[href*="jetpack/_inc/blocks/story/view.css"]'},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},83566:function(e,t,n){"use strict";var r=n(46192),l=n(96494);const s=e=>e&&e.src&&"video"===e.tagName.toLowerCase();function i(e,t){const{getState:n}=t,r=e.playerId,i=(0,l.isMuted)(n(),r),u=(0,l.isPlaying)(n(),r),o=(0,l.getCurrentMediaElement)(n(),r),c=(0,l.getPreviousSlideMediaElement)(n(),r),a=(0,l.getSettings)(n(),r);s(c)&&(c.currentTime=0,c.onwaiting=null,c.onplaying=null,c.pause()),s(o)&&(i!==o.muted&&(o.muted=i,i||(o.volume=a.volume)),u?o.play():o.pause())}function u(e,t){const{getState:n,dispatch:i}=t,o=e.playerId,c=(0,l.isCurrentSlideReady)(n(),o),a=(0,l.isPlaying)(n(),o),d=(0,l.getCurrentSlideProgress)(n(),o);if(clearTimeout(d.timeout),!a||!c)return void(d.lastUpdate&&i((0,r.setCurrentSlideProgress)(o,{...d,lastUpdate:null})));const p=(0,l.getCurrentMediaElement)(n(),o),f=(0,l.getCurrentMediaDuration)(n(),o),m=d.lastUpdate?Date.now()-d.lastUpdate:100,g=s(p)?p.currentTime:d.currentTime+m/1e3;if(g>=f){i((0,r.setCurrentSlideEnded)(o));const e=(0,l.getSlideCount)(n(),o);(0,l.getCurrentSlideIndex)(n(),o)===e-1&&i((0,r.setEnded)(o))}else i((0,r.setCurrentSlideProgress)(o,{timeout:setTimeout((()=>u(e,t)),100),lastUpdate:Date.now(),duration:f,currentTime:g}))}t.Z={SET_PLAYING:[u,i],SLIDE_READY:[function(e,t){const{getState:n,dispatch:i}=t,u=e.playerId,o=(0,l.getCurrentMediaElement)(n(),u);if(!s(o))return;const c=(0,l.getCurrentSlideProgress)(n(),u);0===o.currentTime&&c.currentTime>0&&(o.currentTime=c.currentTime),o.onwaiting=()=>i((0,r.setBuffering)(u,!0)),o.onplaying=()=>i((0,r.setBuffering)(u,!1))},u,i],SET_MUTED:i,SHOW_SLIDE:i}},66930:function(e,t,n){"use strict";var r=n(9818),l=n(46192),s=n(96494),i=n(36978),u=n(2814);const o=(0,r.registerStore)("jetpack/story/player",{actions:l,reducer:u.Z,selectors:s});(0,i.Z)(o)},36978:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(2601),l=n.n(r),s=n(92819),i=n(83566);function u(e){const t=[l()(i.Z)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const u={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(u))),n=(0,s.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},2814:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),l=n(58571);function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.H2,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_SLIDE":{const n=e.currentSlide===t.index+1;return{...e,currentSlide:{...l.Qz,index:t.index},previousSlide:e.currentSlide,playing:n?e.settings.playOnNextSlide:e.playing}}case"SLIDE_READY":return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case"SET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case"SET_CURRENT_SLIDE_ENDED":return{...e,currentSlide:{...e.currentSlide,ended:!0}};case"RESET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:{...l.XO}}};case"SET_MUTED":return{...e,muted:t.value};case"SET_PLAYING":{const n=t.value&&e.ended;return{...e,playing:t.value,buffering:!!t.value&&e.buffering,fullscreen:!e.playing&&t.value?e.settings.playInFullscreen:e.fullscreen,ended:!n&&e.ended,currentSlide:n?{...l.Qz,index:0}:e.currentSlide,previousSlide:n?null:e.previousSlide}}case"SET_BUFFERING":return{...e,buffering:t.value};case"SET_FULLSCREEN":return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&&!t.fullscreen&&e.settings.playInFullscreen)&&e.playing};case"INIT":{const n=(0,r.merge)({},e.settings,t.settings);return{...e,settings:n,playing:n.playOnLoad,fullscreen:n.loadInFullscreen}}case"ENDED":return{...e,currentSlide:{...l.Qz,index:e.settings.slideCount-1,progress:{...l.XO,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.playerId?{...e,[t.playerId]:s(e[t.playerId],t)}:e}},96494:function(e,t,n){"use strict";function r(e,t){return!!e[t]}function l(e,t){return e[t].currentSlide.index}function s(e,t){return e[t].currentSlide.progress}function i(e,t){const n=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,l=Math.round(100*n/r);return l>=100?100:l}function u(e,t){return e[t].playing}function o(e,t){return e[t].muted}function c(e,t){return e[t].buffering}function a(e,t){return e[t].currentSlide.mediaElement}function d(e,t){return e[t].currentSlide.duration}function p(e,t){return e[t].currentSlide.ended}function f(e,t){return e[t].currentSlide.ready}function m(e,t){return e[t].previousSlide?.mediaElement}function g(e,t){return e[t].fullscreen}function y(e,t){return e[t].ended}function E(e,t){return e[t].settings}function h(e,t){return e[t].settings.slideCount}n.r(t),n.d(t,{isPlayerReady:function(){return r},getCurrentSlideIndex:function(){return l},getCurrentSlideProgress:function(){return s},getCurrentSlideProgressPercentage:function(){return i},isPlaying:function(){return u},isMuted:function(){return o},isBuffering:function(){return c},getCurrentMediaElement:function(){return a},getCurrentMediaDuration:function(){return d},hasCurrentSlideEnded:function(){return p},isCurrentSlideReady:function(){return f},getPreviousSlideMediaElement:function(){return m},isFullscreen:function(){return g},hasEnded:function(){return y},getSettings:function(){return E},getSlideCount:function(){return h}})},57836:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},41632:function(e,t,n){"use strict";var r=n(69307),l=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:s},(0,r.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},48735:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,l=e.onClick,s=(e.icon,e.className),u=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),o=["gridicon","gridicons-fullscreen",s,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",r({className:o,height:n,width:n,onClick:l},u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21 3v6h-2V6.41l-3.29 3.3-1.42-1.42L17.59 5H15V3zM3 3v6h2V6.41l3.29 3.3 1.42-1.42L6.41 5H9V3zm18 18v-6h-2v2.59l-3.29-3.29-1.41 1.41L17.59 19H15v2zM9 21v-2H6.41l3.29-3.29-1.41-1.42L5 17.59V15H3v6z"})))};var l,s=n(99196),i=(l=s)&&l.__esModule?l:{default:l};e.exports=t.default},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},11313:function(e){"use strict";e.exports=window.wp.blob},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},47701:function(e){"use strict";e.exports=window.wp.domReady},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes}},t={};function n(r){var l=t[r];if(void 0!==l)return l.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"}(),function(){"use strict";n(57836)}(),function(){"use strict";var e=n(29183),t=n.n(e),r=n(69307),l=n(47701),s=n.n(l),i=n(4045);if("undefined"!=typeof window){const e=Array.from(new URLSearchParams(window.location.search).entries()).filter((e=>e[0].startsWith("wp-story-"))).reduce(((e,t)=>{const n=t[0].replace(/^wp-story-/,"").replace(/-([a-z])/g,(e=>e[1].toUpperCase()));try{e[n]=JSON.parse(t[1])}catch(r){e[n]=JSON.parse(`"${t[1]}"`)}return e}),{});s()((function(){const n=[...document.querySelectorAll(":not(#debug-bar-wp-query) .wp-story")];n.forEach((l=>{if("true"===l.getAttribute("data-block-initialized"))return;let s=null;1===n.length&&(s={...e});const u=l.getAttribute("data-settings");if(u)try{s={...s,...JSON.parse(u)}}catch(e){}!function(e,n){"string"==typeof e&&(e=document.querySelectorAll(e));const l=e.querySelector(".wp-story-wrapper"),s=e.querySelector(".wp-story-meta");let u=[];l&&l.children.length>0&&(u=function(e){return[...e.querySelectorAll("li > figure > :first-child")].map((e=>({alt:e.getAttribute("alt")||e.getAttribute("title"),mime:e.getAttribute("data-mime")||e.getAttribute("type"),url:e.getAttribute("src"),id:e.getAttribute("data-id"),type:"img"===e.tagName.toLowerCase()?"image":"video",srcset:e.getAttribute("srcset"),sizes:e.getAttribute("sizes")})))}(l));let o={};s&&s.children.length>0&&(o=function(e){const t=e.querySelector("div:first-child > img"),n=e.querySelector(".wp-story-title"),r=t&&t.src;return{storyTitle:n&&n.innerText,siteIconUrl:r}}(s));const c=function(e){return e.getAttribute("data-id")}(e);(0,r.render)((0,r.createElement)(i.Z,t()({id:c,slides:u,metadata:o,disabled:!1},n)),e)}(l,s)}))}))}}()}(); \ No newline at end of file
+__("Go to slide %d","jetpack"),l+1)),(0,r.createElement)(u.Button,{role:d?"presentation":"tab",key:l,className:s()("wp-story-pagination-bullet",{"wp-story-pagination-ellipsis":t}),"aria-label":p,"aria-disabled":d||o,onClick:d||o?void 0:c,disabled:d},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar"},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar-progress",style:{width:`${a}%`}})))}},44689:function(e,t,n){"use strict";n.d(t,{b:function(){return o},r:function(){return a}});var r=n(82402),l=n.n(r),s=n(69307),i=n(65235),u=n.n(i);const o=e=>{let{className:t,size:n,label:r,isPressed:i,...o}=e;return(0,s.createElement)("button",l()({type:"button","aria-label":r,"aria-pressed":i,className:u()("jetpack-mdc-icon-button","circle-icon","outlined","bordered",t),style:{width:`${n}px`,height:`${n}px`}},o))},a=e=>{let{className:t,size:n=24,label:r,isPressed:i,...o}=e;return(0,s.createElement)("button",l()({type:"button","aria-label":r,"aria-pressed":i,className:u()("jetpack-mdc-icon-button",t),style:{width:`${n}px`,height:`${n}px`}},o))}},51543:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("div",{className:"wp-story-loading-spinner"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__outer"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__inner"})))},85584:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),l=n(65736),s=n(44689),i=n(89620);const _x=l._x;function u(e){let{playing:t,muted:n,onPlayPressed:l,onMutePressed:u,showMute:o}=e;return(0,r.createElement)("div",{className:"wp-story-controls"},(0,r.createElement)(s.r,{isPressed:t,label:t?_x("pause","Button tooltip text","jetpack"):_x("play","Button tooltip text","jetpack",0),onClick:l},t?(0,r.createElement)(i.fp,null):(0,r.createElement)(i.o1,null)),o&&(0,r.createElement)(s.r,{isPressed:n,label:n?_x("unmute","Button tooltip text","jetpack"):_x("mute","Button tooltip text","jetpack",0),onClick:u},n?(0,r.createElement)(i.xb,null):(0,r.createElement)(i.MC,null)))}},14904:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(69307),l=n(65736),s=n(44689),i=n(89620);const __=l.__;function u(e){let{fullscreen:t,onExitFullscreen:n,siteIconUrl:l,storyTitle:u}=e;return t?(0,r.createElement)("div",{className:"wp-story-meta"},(0,r.createElement)("div",{className:"wp-story-icon"},(0,r.createElement)("img",{alt:__("Site icon","jetpack"),src:l,width:"40",height:"40"})),(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"wp-story-title"},u)),(0,r.createElement)(s.r,{className:"wp-story-exit-fullscreen",label:__("Exit Fullscreen","jetpack"),onClick:n},(0,r.createElement)(i.Tw,null))):null}},89620:function(e,t,n){"use strict";n.d(t,{JM:function(){return p},MC:function(){return c},Tw:function(){return a},Vq:function(){return f},fp:function(){return o},o1:function(){return u},xb:function(){return d}});var r=n(69307),l=n(55609),s=n(36598);const i=e=>{let{children:t,size:n}=e;return(0,s.Z)(t,n,n)},u=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M8 5v14l11-7z"}))},o=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}))},a=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))},c=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}))},d=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}))},p=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}))},f=e=>{let{size:t}=e;return(0,r.createElement)(i,{size:t},(0,r.createElement)(l.Path,{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}))}},69835:function(e,t,n){"use strict";n.d(t,{Aq:function(){return u.Z},WB:function(){return o.Z},ZX:function(){return l.Z},aV:function(){return i.Z},gT:function(){return r.Z},h4:function(){return s.Z},pU:function(){return a.pU}});var r=n(94754),l=n(85584),s=n(14904),i=n(74629),u=n(19395),o=n(51543),a=n(41126);n(44689)},41126:function(e,t,n){"use strict";n.d(t,{pU:function(){return c}});var r=n(82402),l=n.n(r),s=n(69307),i=n(65235),u=n.n(i);const o=e=>{let{title:t,alt:n,className:r,id:l,mediaRef:i,mime:o,sizes:a,srcset:c,url:d}=e;return(0,s.createElement)("img",{ref:i,"data-id":l,"data-mime":o,title:t,alt:n,src:d,className:u()("wp-story-image",`wp-image-${l}`,r),srcSet:c,sizes:a})},a=e=>{let{title:t,className:n,id:r,mediaRef:l,mime:i,url:o,poster:a}=e;return(0,s.createElement)("video",{className:u()("wp-story-video","intrinsic-ignore",`wp-video-${r}`,n),ref:l,"data-id":r,title:t,type:i,src:o,poster:a,tabIndex:-1,preload:"auto",playsInline:!0})},c=e=>{let{targetAspectRatio:t,cropUpTo:n,type:r,width:i,height:u,...c}=e,d=null;if(i&&u){const e=i/u;if(e>=t){e>t/(1-n)||(d="wp-story-crop-wide")}else{e<t*(1-n)||(d="wp-story-crop-narrow")}}const p="video"===r||(c.mime||"").startsWith("video/");return(0,s.createElement)("figure",null,p?(0,s.createElement)(a,l()({},c,{className:d})):(0,s.createElement)(o,l()({},c,{className:d})))}},74629:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),l=n(99891),s=n(65736),i=n(44689),u=n(89620);const __=s.__;function o(e){let{ended:t,hasPrevious:n,onNextSlide:o,onPreviousSlide:a,icon:c,slideCount:d,showSlideCount:p}=e;const f=(0,r.useCallback)((e=>{t||(e.stopPropagation(),a())}),[a,t]),m=(0,r.useCallback)((e=>{t||(e.stopPropagation(),o())}),[o,t]);return(0,r.createElement)("div",{className:"wp-story-overlay"},p&&(0,r.createElement)("div",{className:"wp-story-embed-icon"},c,(0,r.createElement)("span",null,d)),!p&&(0,r.createElement)("div",{className:"wp-story-embed-icon-expand"},(0,r.createElement)(l.Z,{role:"img"})),n&&(0,r.createElement)("div",{className:"wp-story-prev-slide",onClick:f},(0,r.createElement)(i.b,{size:44,label:__("Previous Slide","jetpack"),className:"outlined-w"},(0,s.isRTL)()?(0,r.createElement)(u.Vq,{size:24}):(0,r.createElement)(u.JM,{size:24}))),(0,r.createElement)("div",{className:"wp-story-next-slide",onClick:m},(0,r.createElement)(i.b,{size:44,label:__("Next Slide","jetpack"),className:"outlined-w"},(0,s.isRTL)()?(0,r.createElement)(u.JM,{size:24}):(0,r.createElement)(u.Vq,{size:24}))))}},93340:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(69307),l=n(65235),s=n.n(l),i=n(74240),u=n(47591),o=n(7449);const a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function c(e){let{className:t,fullscreenClassName:n,bodyFullscreenClassName:l,fullscreen:c,shadowDOM:d,onKeyDown:p,onExitFullscreen:f,playerQuerySelector:m,children:g}=e;const y=(0,r.useRef)(),E=(0,r.useRef)(),[h,S]=(0,r.useState)(null),w=a&&u.am(),v=c&&!w,b=c&&w;return(0,r.useLayoutEffect)((()=>{if(w)c?y.current&&u.uP(y.current,f):u.bG()&&u.JF();else if(c){if(S([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(l),document.getElementsByTagName("html")[0].classList.add(l),E.current){const e=E.current.querySelector(m);e&&e.focus()}}else if(document.body.classList.remove(l),document.getElementsByTagName("html")[0].classList.remove(l),h){window.scrollTo(...h);const e=y.current.querySelector(m);e&&e.focus()}}),[c]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,d,(0,r.createElement)("div",{ref:y,className:s()(t,{[n]:b}),onKeyDown:p},!v&&g)),(0,r.createElement)(o.Z,{className:s()(t,{[n]:v}),isOpened:v,onRequestClose:f,shadowDOM:d,onKeyDown:v&&p,focusOnMount:!1,modalRef:E},v&&g))}},73022:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307),l=n(9818),s=n(39630),i=(n(31179),n(75096)),u=n(93340);function o(e){let{id:t,slides:n,metadata:o,disabled:a,...c}=e;const d=(0,r.useMemo)((()=>t||Math.random().toString(36)),[t]),{init:p,setEnded:f,setPlaying:m,setFullscreen:g,showSlide:y}=(0,l.useDispatch)("jetpack/story/player"),{playing:E,currentSlideIndex:h,fullscreen:S,isReady:w,playerSettings:v}=(0,l.useSelect)((e=>{const{getCurrentSlideIndex:t,getSettings:n,isFullscreen:r,isPlayerReady:l,isPlaying:s}=e("jetpack/story/player");return l(d)?{playing:s(d),currentSlideIndex:t(d),isReady:!0,fullscreen:r(d),playerSettings:n(d)}:{isReady:!1}}),[d]);(0,r.useEffect)((()=>{w||p(d,{slideCount:n.length,...c})}),[w,d]);const b=(0,r.useCallback)((e=>{switch(e.keyCode){case s.ENTER:if(S)break;case s.SPACE:m(d,!E);break;case s.LEFT:h>0&&y(d,h-1);break;case s.RIGHT:h<n.length-1?y(d,h+1):f(d)}}),[d,h,S,E]),x=(0,r.useCallback)((()=>{g(d,!1)}),[d]);return w?(0,r.createElement)(u.Z,{shadowDOM:v.shadowDOM,className:"wp-story-app",fullscreenClassName:"wp-story-fullscreen",bodyFullscreenClassName:"wp-story-in-fullscreen",playerQuerySelector:".wp-story-container",fullscreen:S,onExitFullscreen:x,onKeyDown:b},(0,r.createElement)(i.Z,{id:d,slides:n,metadata:o,disabled:a})):null}},47591:function(e,t,n){"use strict";n.d(t,{JF:function(){return i},am:function(){return r},bG:function(){return l},uP:function(){return s}});const r=()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,l=()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,s=(e,t)=>{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=>{document.fullscreenElement||(document.removeEventListener("fullscreenchange",e),t())};document.addEventListener("fullscreenchange",e)}},i=()=>(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},74240:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(69307);const l=window&&window.Element&&window.Element.prototype.hasOwnProperty("attachShadow");function s(e){let{enabled:t,delegatesFocus:n=!1,mode:s="open",globalStyleElements:u=[],adoptedStyleSheets:o=null,mountOnElement:a=null,children:c}=e;const[d,p]=(0,r.useState)(null),f=a||d,[m,g]=(0,r.useState)(null),y="string"==typeof u?[...document.querySelectorAll(u)]:u,E=l&&t&&y.length>0,h=(0,r.useCallback)((e=>{null!==e&&p(e.parentNode)}),[]);if((0,r.useEffect)((()=>{if(!f)return;if(f.shadowRoot)return void g(f.shadowRoot);const e=f.attachShadow({delegatesFocus:n,mode:s});o&&(e.adoptedStyleSheets=o),g(e)}),[f]),E&&!m)return a?null:(0,r.createElement)("span",{ref:h});const S=(0,r.createElement)(r.Fragment,null,E&&(0,r.createElement)(i,{globalStyleElements:y}),c);return E?(0,r.createPortal)(S,m):S}function i(e){let{globalStyleElements:t}=e;return(0,r.createElement)(r.Fragment,null,t.map(((e,t)=>{let{id:n,tagName:l,attributes:s,innerHTML:i}=e;return"LINK"===l?(0,r.createElement)("link",{key:n||t,id:n,rel:s.rel.value,href:s.href.value}):"STYLE"===l?(0,r.createElement)("style",{key:n||t,id:n},i):void 0})))}},64930:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{const t=(0,r.useRef)(),n=(0,r.useRef)(),l=(0,r.useRef)(e),s=(0,r.useCallback)((e=>{e.touches&&1===e.touches.length&&e.preventDefault()}),[]);return(0,r.useEffect)((()=>{l.current=e}),[e]),{onTouchStart:(0,r.useCallback)((e=>{e.target&&(e.target.addEventListener("touchend",s,{passive:!1}),n.current=e.target),t.current=setTimeout((()=>{l.current&&l.current(!0),t.current=null}),200)}),[]),onTouchEnd:(0,r.useCallback)((e=>{t.current?clearTimeout(t.current):(l.current&&l.current(!1),e.stopPropagation()),n.current&&n.current.removeEventListener("touchend",s)}),[])}}},3065:function(e,t,n){"use strict";async function r(e){const t=e.tagName.toLowerCase();if("img"===t){if(e.complete)return;await new Promise((t=>{e.addEventListener("load",t,{once:!0})}))}else if("video"===t||"audio"===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise((t=>{e.addEventListener("canplaythrough",t,{once:!0}),e.addEventListener("load",t,{once:!0}),e.HAVE_NOTHING===e.readyState&&e.networkState!==e.NETWORK_LOADING&&e.load()}))}}n.d(t,{Z:function(){return r}})},89082:function(e,t,n){"use strict";n.d(t,{BM:function(){return u},i1:function(){return o}});var r=n(92819);const l=new Set(["alert","status","log","marquee","timer"]);let s=[],i=!1;function u(e){if(i)return;const t=document.body.children;(0,r.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||l.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),s.push(t))})),i=!0}function o(){i&&((0,r.forEach)(s,(e=>{e.removeAttribute("aria-hidden")})),s=[],i=!1)}},43520:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69307),l=n(39630),s=n(94333);function i(e){let{overlayClassName:t,children:n,className:i,focusOnMount:u,shouldCloseOnEsc:o=!0,onRequestClose:a,onKeyDown:c,modalRef:d}=e;const p=(0,s.useFocusOnMount)(u),f=(0,s.useConstrainedTabbing)(),m=(0,s.useFocusReturn)();return(0,r.createElement)("div",{className:t,onKeyDown:function(e){o&&e.keyCode===l.ESCAPE&&(e.stopPropagation(),a&&a(e)),e.target&&"button"===e.target.tagName.toLowerCase()&&e.keyCode===l.SPACE||c&&c(e)}},(0,r.createElement)("div",{className:i,ref:(0,s.useMergeRefs)([f,m,p,d])},n))}},7449:function(e,t,n){"use strict";var r=n(82402),l=n.n(r),s=n(69307),i=n(94333),u=n(74240),o=n(43520),a=n(89082);let c,d=0;const p=()=>{};class f extends s.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){d++,1===d&&this.openFirstModal()}componentWillUnmount(){d--,0===d&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){c||(c=document.createElement("div"),document.body.appendChild(c)),this.node=document.createElement("div"),c.appendChild(this.node),this.node.ontouchstart=p,this.node.ontouchend=p}cleanDOM(){c.removeChild(this.node)}openFirstModal(){a.BM(c)}closeLastModal(){a.i1()}render(){const{children:e,isOpened:t,shadowDOM:n,...r}=this.props;return(0,s.createElement)(u.Z,l()({},n,{mountOnElement:this.node}),t&&(0,s.createElement)(o.Z,r,e))}}f.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0},t.Z=(0,i.withInstanceId)(f)},75096:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(82402),l=n.n(r),s=n(69307),i=n(65235),u=n.n(i),o=n(92819),a=n(11313),c=n(94333),d=n(65736),p=n(9818),f=n(63408),m=n(66512),g=n(68440),y=n(69835),E=n(64930);const __=d.__;function h(e){let{id:t,slides:n,metadata:r,disabled:i}=e;const{setFullscreen:d,setEnded:h,setPlaying:S,setMuted:w,showSlide:v}=(0,p.useDispatch)("jetpack/story/player"),{playing:b,muted:x,currentSlideIndex:C,currentSlideEnded:k,ended:N,fullscreen:P,settings:T}=(0,p.useSelect)((e=>{const{getCurrentSlideIndex:n,getSettings:r,hasCurrentSlideEnded:l,hasEnded:s,isFullscreen:i,isMuted:u,isPlaying:o}=e("jetpack/story/player");return{playing:o(t),muted:u(t),currentSlideIndex:n(t),currentSlideEnded:l(t),ended:s(t),fullscreen:i(t),settings:r(t)}}),[t]),M=(0,s.useRef)(),[I,R]=(0,s.useState)(null),[_,{width:O,height:L}]=(0,c.useResizeObserver)(),[z,F]=(0,s.useState)(T.defaultAspectRatio),D=(0,o.some)(n,(e=>(0,a.isBlobURL)(e.url))),A=e=>{v(t,e)},j=(0,s.useCallback)((()=>{i||P||T.playInFullscreen&&!b&&S(t,!0)}),[b,i,P]),{onTouchStart:Z,onTouchEnd:B}=(0,E.Z)((e=>{S(t,!e)}),[]),U=(0,s.useCallback)((()=>{C>0&&A(C-1)}),[C]),H=(0,s.useCallback)((()=>{C<n.length-1?A(C+1):h(t)}),[C,n]),q=(0,s.useCallback)((()=>{d(t,!1)}),[]);let G,V;return(0,s.useEffect)((()=>{i&&b&&S(t,!1)}),[i,b]),(0,s.useEffect)((()=>{b&&k&&H()}),[b,k]),(0,s.useLayoutEffect)((()=>{if(!M.current)return;let e=Math.round(T.defaultAspectRatio*M.current.offsetHeight);P&&(e=Math.abs(1-e/O)<T.cropUpTo?O:e),R(e)}),[O,L,P]),(0,s.useLayoutEffect)((()=>{I&&M.current&&M.current.offsetHeight>0&&F(I/M.current.offsetHeight)}),[I]),G=P?[__("You are currently playing a story.","jetpack"),b?__("Press space to pause.","jetpack"):__("Press space to play.","jetpack",0),__("Press escape to exit.","jetpack")].join(" "):__("Play story","jetpack"),V=i?"presentation":P?"dialog":"button",(0,s.createElement)("div",{className:"wp-story-display-contents"},_,(0,s.createElement)("div",{role:V,"aria-label":G,tabIndex:P?-1:0,className:u()("wp-story-container",{"wp-story-with-controls":!i&&!P&&!T.playInFullscreen,"wp-story-fullscreen":P,"wp-story-ended":N,"wp-story-disabled":i,"wp-story-clickable":!i&&!P}),style:{maxWidth:`${I}px`},onClick:j,onTouchStart:Z,onTouchEnd:B},(0,s.createElement)(y.h4,l()({},r,{fullscreen:P,onExitFullscreen:q})),(0,s.createElement)("div",{ref:M,className:"wp-story-wrapper"},n.map(((e,n)=>(0,s.createElement)(f.Z,{playerId:t,key:n,media:e,index:n,playing:!i&&b,uploading:D,settings:T,targetAspectRatio:z})))),(0,s.createElement)(y.aV,{icon:m.Z,slideCount:n.length,showSlideCount:T.showSlideCount,ended:N,hasPrevious:C>0,onPreviousSlide:U,onNextSlide:H}),T.showProgressBar&&(0,s.createElement)(g.ZP,{playerId:t,slides:n,disabled:!P,onSlideSeek:A,maxBullets:P?T.maxBulletsFullscreen:T.maxBullets}),(0,s.createElement)(y.ZX,{playing:b,muted:x,onPlayPressed:()=>S(t,!b),onMutePressed:()=>w(t,!x),showMute:(e=>{const t=e<n.length?n[e]:null;return!!t&&("video"===t.type||(t.mime||"").startsWith("video/"))})(C)})),P&&(0,s.createElement)(y.Aq,{currentMedia:T.blurredBackground&&n.length>C&&n[C]}))}},68440:function(e,t,n){"use strict";var r=n(69307),l=n(92819),s=n(69835),i=n(9818);const u=e=>{let{key:t,playerId:n,index:l,disabled:u,isSelected:o,onClick:a}=e;const c=(0,i.useSelect)((e=>e("jetpack/story/player").getCurrentSlideProgressPercentage(n)),[]);return(0,r.createElement)(s.gT,{key:t,index:l,progress:c,disabled:u,isSelected:o,onClick:a})};t.ZP=e=>{let{playerId:t,slides:n,disabled:o,onSlideSeek:a,maxBullets:c}=e;const{currentSlideIndex:d}=(0,i.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t)})),[]),p=Math.min(n.length,c),f=Math.floor(p/2);let m,g=0,y=n.length-1;return n.length<=c||d<f?(m=d,y=p-1):d>=n.length-f?(m=d-n.length+p,g=n.length-p):(m=f,g=d-f,y=d+f),(0,r.createElement)("div",{className:"wp-story-pagination wp-story-pagination-bullets",role:"tablist"},g>0&&(0,r.createElement)(s.gT,{key:"bullet-0",index:g-1,progress:100,isEllipsis:!0}),(0,l.range)(1,p+1).map(((e,n)=>{const l=n+g;let i=null;if(l<d)i=100;else{if(!(l>d))return(0,r.createElement)(u,{playerId:t,key:`bullet-${n}`,index:l,disabled:o,isSelected:m===n,onClick:()=>a(l)});i=0}return(0,r.createElement)(s.gT,{key:`bullet-${n}`,index:l,progress:i,disabled:o,isSelected:m===n,onClick:()=>a(l)})})),y<n.length-1&&(0,r.createElement)(s.gT,{key:`bullet-${p+1}`,index:y+1,progress:0,isEllipsis:!0}))}},63408:function(e,t,n){"use strict";var r=n(82402),l=n.n(r),s=n(69307),i=n(3065),u=n(65235),o=n.n(u),a=n(9818),c=n(69835);t.Z=e=>{let{playerId:t,media:n,index:r,playing:u,uploading:d,settings:p,targetAspectRatio:f}=e;const{currentSlideIndex:m,buffering:g}=(0,a.useSelect)((e=>({currentSlideIndex:e("jetpack/story/player").getCurrentSlideIndex(t),buffering:e("jetpack/story/player").isBuffering(t)})),[]),{slideReady:y}=(0,a.useDispatch)("jetpack/story/player"),E=r===m,h=(0,s.useRef)(null),[S,w]=(0,s.useState)(!1),[v,b]=(0,s.useState)(!0);return(0,s.useEffect)((()=>{if(E&&!v){const e=h.current&&h.current.src&&"video"===h.current.tagName.toLowerCase()?h.current:null;y(t,h.current,e?e.duration:p.imageTime)}}),[E,v]),(0,s.useEffect)((()=>{r<=m+(u?1:0)&&w(!0)}),[u,m]),(0,s.useLayoutEffect)((()=>{h.current&&(0,i.Z)(h.current).then((()=>{b(!1)}))}),[S,d]),(0,s.createElement)(s.Fragment,null,E&&(v||d||g)&&(0,s.createElement)("div",{className:o()("wp-story-slide","is-loading",{transparent:u&&g,"semi-transparent":d||!u&&g})},(0,s.createElement)(c.WB,null)),(0,s.createElement)("div",{role:"figure",className:"wp-story-slide",style:{display:E&&!v?"block":"none"},tabIndex:E?0:-1},S&&(0,s.createElement)(c.pU,l()({},n,{targetAspectRatio:f,cropUpTo:p.cropUpTo,index:r,mediaRef:h}))))}},29154:function(e,t,n){"use strict";function r(e,t){return{type:"SET_MUTED",value:t,playerId:e}}function l(e,t){return{type:"SET_PLAYING",value:t,playerId:e}}function s(e,t){return{type:"SHOW_SLIDE",index:t,playerId:e}}function i(e,t,n){return{type:"SLIDE_READY",mediaElement:t,duration:n,playerId:e}}function u(e,t){return{type:"SET_CURRENT_SLIDE_PROGRESS",value:t,playerId:e}}function o(e){return{type:"RESET_CURRENT_SLIDE_PROGRESS",playerId:e}}function a(e){return{type:"SET_CURRENT_SLIDE_ENDED",playerId:e}}function c(e,t){return{type:"SET_FULLSCREEN",playerId:e,fullscreen:t}}function d(e){return{type:"ENDED",playerId:e}}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"INIT",playerId:e,settings:t}}function f(e,t){return{type:"SET_BUFFERING",value:t,playerId:e}}n.r(t),n.d(t,{init:function(){return p},resetCurrentSlideProgress:function(){return o},setBuffering:function(){return f},setCurrentSlideEnded:function(){return a},setCurrentSlideProgress:function(){return u},setEnded:function(){return d},setFullscreen:function(){return c},setMuted:function(){return r},setPlaying:function(){return l},showSlide:function(){return s},slideReady:function(){return i}})},17380:function(e,t,n){"use strict";n.d(t,{H2:function(){return s},Qz:function(){return l},XO:function(){return r}});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},l={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},s={slideCount:0,currentSlide:l,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:"open",globalStyleElements:'#jetpack-block-story-css, link[href*="jetpack/_inc/blocks/story/view.css"]'},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},78733:function(e,t,n){"use strict";var r=n(29154),l=n(20876);const s=e=>e&&e.src&&"video"===e.tagName.toLowerCase();function i(e,t){const{getState:n}=t,r=e.playerId,i=(0,l.isMuted)(n(),r),u=(0,l.isPlaying)(n(),r),o=(0,l.getCurrentMediaElement)(n(),r),a=(0,l.getPreviousSlideMediaElement)(n(),r),c=(0,l.getSettings)(n(),r);s(a)&&(a.currentTime=0,a.onwaiting=null,a.onplaying=null,a.pause()),s(o)&&(i!==o.muted&&(o.muted=i,i||(o.volume=c.volume)),u?o.play():o.pause())}function u(e,t){const{getState:n,dispatch:i}=t,o=e.playerId,a=(0,l.isCurrentSlideReady)(n(),o),c=(0,l.isPlaying)(n(),o),d=(0,l.getCurrentSlideProgress)(n(),o);if(clearTimeout(d.timeout),!c||!a)return void(d.lastUpdate&&i((0,r.setCurrentSlideProgress)(o,{...d,lastUpdate:null})));const p=(0,l.getCurrentMediaElement)(n(),o),f=(0,l.getCurrentMediaDuration)(n(),o),m=d.lastUpdate?Date.now()-d.lastUpdate:100,g=s(p)?p.currentTime:d.currentTime+m/1e3;if(g>=f){i((0,r.setCurrentSlideEnded)(o));const e=(0,l.getSlideCount)(n(),o);(0,l.getCurrentSlideIndex)(n(),o)===e-1&&i((0,r.setEnded)(o))}else i((0,r.setCurrentSlideProgress)(o,{timeout:setTimeout((()=>u(e,t)),100),lastUpdate:Date.now(),duration:f,currentTime:g}))}t.Z={SET_PLAYING:[u,i],SLIDE_READY:[function(e,t){const{getState:n,dispatch:i}=t,u=e.playerId,o=(0,l.getCurrentMediaElement)(n(),u);if(!s(o))return;const a=(0,l.getCurrentSlideProgress)(n(),u);0===o.currentTime&&a.currentTime>0&&(o.currentTime=a.currentTime),o.onwaiting=()=>i((0,r.setBuffering)(u,!0)),o.onplaying=()=>i((0,r.setBuffering)(u,!1))},u,i],SET_MUTED:i,SHOW_SLIDE:i}},31179:function(e,t,n){"use strict";var r=n(9818),l=n(29154),s=n(20876),i=n(74787),u=n(13498);const o=(0,r.registerStore)("jetpack/story/player",{actions:l,reducer:u.Z,selectors:s});(0,i.Z)(o)},74787:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(24274),l=n.n(r),s=n(92819),i=n(78733);function u(e){const t=[l()(i.Z)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r=[];const u={getState:e.getState,dispatch:function(){return n(...arguments)}};return r=t.map((e=>e(u))),n=(0,s.flowRight)(...r)(e.dispatch),e.dispatch=n,e}},13498:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),l=n(17380);function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.H2,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_SLIDE":{const n=e.currentSlide===t.index+1;return{...e,currentSlide:{...l.Qz,index:t.index},previousSlide:e.currentSlide,playing:n?e.settings.playOnNextSlide:e.playing}}case"SLIDE_READY":return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case"SET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case"SET_CURRENT_SLIDE_ENDED":return{...e,currentSlide:{...e.currentSlide,ended:!0}};case"RESET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:{...l.XO}}};case"SET_MUTED":return{...e,muted:t.value};case"SET_PLAYING":{const n=t.value&&e.ended;return{...e,playing:t.value,buffering:!!t.value&&e.buffering,fullscreen:!e.playing&&t.value?e.settings.playInFullscreen:e.fullscreen,ended:!n&&e.ended,currentSlide:n?{...l.Qz,index:0}:e.currentSlide,previousSlide:n?null:e.previousSlide}}case"SET_BUFFERING":return{...e,buffering:t.value};case"SET_FULLSCREEN":return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&&!t.fullscreen&&e.settings.playInFullscreen)&&e.playing};case"INIT":{const n=(0,r.merge)({},e.settings,t.settings);return{...e,settings:n,playing:n.playOnLoad,fullscreen:n.loadInFullscreen}}case"ENDED":return{...e,currentSlide:{...l.Qz,index:e.settings.slideCount-1,progress:{...l.XO,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.playerId?{...e,[t.playerId]:s(e[t.playerId],t)}:e}},20876:function(e,t,n){"use strict";function r(e,t){return!!e[t]}function l(e,t){return e[t].currentSlide.index}function s(e,t){return e[t].currentSlide.progress}function i(e,t){const n=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,l=Math.round(100*n/r);return l>=100?100:l}function u(e,t){return e[t].playing}function o(e,t){return e[t].muted}function a(e,t){return e[t].buffering}function c(e,t){return e[t].currentSlide.mediaElement}function d(e,t){return e[t].currentSlide.duration}function p(e,t){return e[t].currentSlide.ended}function f(e,t){return e[t].currentSlide.ready}function m(e,t){var n;return null===(n=e[t].previousSlide)||void 0===n?void 0:n.mediaElement}function g(e,t){return e[t].fullscreen}function y(e,t){return e[t].ended}function E(e,t){return e[t].settings}function h(e,t){return e[t].settings.slideCount}n.r(t),n.d(t,{getCurrentMediaDuration:function(){return d},getCurrentMediaElement:function(){return c},getCurrentSlideIndex:function(){return l},getCurrentSlideProgress:function(){return s},getCurrentSlideProgressPercentage:function(){return i},getPreviousSlideMediaElement:function(){return m},getSettings:function(){return E},getSlideCount:function(){return h},hasCurrentSlideEnded:function(){return p},hasEnded:function(){return y},isBuffering:function(){return a},isCurrentSlideReady:function(){return f},isFullscreen:function(){return g},isMuted:function(){return o},isPlayerReady:function(){return r},isPlaying:function(){return u}})},80425:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},36598:function(e,t,n){"use strict";var r=n(69307),l=n(55609);t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:s},(0,r.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},99891:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,u=(e.icon,e.className),o=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],0<=t.indexOf(n)||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(e,s),a=["gridicon","gridicons-fullscreen",u,!1,!1,!1].filter(Boolean).join(" ");return l.default.createElement("svg",i({className:a,height:n,width:n,onClick:r},o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),l.default.createElement("g",null,l.default.createElement("path",{d:"M21 3v6h-2V6.41l-3.29 3.3-1.42-1.42L17.59 5H15V3zM3 3v6h2V6.41l3.29 3.3 1.42-1.42L6.41 5H9V3zm18 18v-6h-2v2.59l-3.29-3.29-1.41 1.41L17.59 19H15v2zM9 21v-2H6.41l3.29-3.29-1.41-1.42L5 17.59V15H3v6z"})))};var r,l=(r=n(99196))&&r.__esModule?r:{default:r},s=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},99196:function(e){"use strict";e.exports=window.React},92819:function(e){"use strict";e.exports=window.lodash},11313:function(e){"use strict";e.exports=window.wp.blob},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},47701:function(e){"use strict";e.exports=window.wp.domReady},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n},39630:function(e){"use strict";e.exports=window.wp.keycodes}},t={};function n(r){var l=t[r];if(void 0!==l)return l.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"}(),function(){"use strict";n(80425)}(),function(){"use strict";var e=n(82402),t=n.n(e),r=n(69307),l=n(47701),s=n.n(l),i=n(73022);if("undefined"!=typeof window){const e=Array.from(new URLSearchParams(window.location.search).entries()).filter((e=>e[0].startsWith("wp-story-"))).reduce(((e,t)=>{const n=t[0].replace(/^wp-story-/,"").replace(/-([a-z])/g,(e=>e[1].toUpperCase()));try{e[n]=JSON.parse(t[1])}catch(r){e[n]=JSON.parse(`"${t[1]}"`)}return e}),{});s()((function(){const n=[...document.querySelectorAll(":not(#debug-bar-wp-query) .wp-story")];n.forEach((l=>{if("true"===l.getAttribute("data-block-initialized"))return;let s=null;1===n.length&&(s={...e});const u=l.getAttribute("data-settings");if(u)try{s={...s,...JSON.parse(u)}}catch(e){}!function(e,n){"string"==typeof e&&(e=document.querySelectorAll(e));const l=e.querySelector(".wp-story-wrapper"),s=e.querySelector(".wp-story-meta");let u=[];l&&l.children.length>0&&(u=function(e){return[...e.querySelectorAll("li > figure > :first-child")].map((e=>({alt:e.getAttribute("alt")||e.getAttribute("title"),mime:e.getAttribute("data-mime")||e.getAttribute("type"),url:e.getAttribute("src"),id:e.getAttribute("data-id"),type:"img"===e.tagName.toLowerCase()?"image":"video",srcset:e.getAttribute("srcset"),sizes:e.getAttribute("sizes")})))}(l));let o={};s&&s.children.length>0&&(o=function(e){const t=e.querySelector("div:first-child > img"),n=e.querySelector(".wp-story-title"),r=t&&t.src;return{storyTitle:n&&n.innerText,siteIconUrl:r}}(s));const a=function(e){return e.getAttribute("data-id")}(e);(0,r.render)((0,r.createElement)(i.Z,t()({id:a,slides:u,metadata:o,disabled:!1},n)),e)}(l,s)}))}))}}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/story/view.rtl.css b/plugins/jetpack/_inc/blocks/story/view.rtl.css
index a3d0f1c6..3f518467 100644
--- a/plugins/jetpack/_inc/blocks/story/view.rtl.css
+++ b/plugins/jetpack/_inc/blocks/story/view.rtl.css
@@ -1 +1 @@
-.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;position:absolute;right:3px;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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-left-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:rgba(0,0,0,.5);border-radius:5px;color:#fff;display:flex;left:0;margin:15px;padding:5px 3px;position:absolute;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-expand svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span,.wp-story-container .wp-story-overlay .wp-story-embed-icon 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:transparent}.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:hsla(0,0%,100%,.4)}.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{margin:auto;right:-84px}.wp-story-container .wp-story-next-slide{left:-84px;margin:auto}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-next-slide{left:-48px;margin:auto}.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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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 0 0 16px;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 0 0 12px;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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-right: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{right:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{left: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-right:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-left: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:100%;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:#0e1112e0;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-left:15px;position:fixed;width:100%}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%} \ No newline at end of file
+.components-spinner{background-color:#7e8993;border-radius:100%;display:inline-block;height:18px;margin:5px 11px 0;opacity:.7;position:relative;width:18px}.components-spinner:before{animation:components-spinner__animation 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:4px;position:absolute;right:3px;top:3px;transform-origin:6px 6px;width:4px}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{-webkit-tap-highlight-color:transparent;border-radius:15px;box-shadow:0 2px 12px rgba(0,0,0,.25);break-inside:avoid;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;page-break-inside:avoid;position:relative;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1);width:180px;z-index:1}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);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:transparent;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;-o-object-fit:contain;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:#4845427f}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:transparent}@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 transparent;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-left-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:rgba(0,0,0,.5);border-radius:5px;color:#fff;display:flex;left:0;margin:15px;padding:5px 3px;position:absolute;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:transparent}.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:hsla(0,0%,100%,.4)}.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{margin:auto;right:-84px}.wp-story-container .wp-story-next-slide{left:-84px;margin:auto}.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:hsla(0,0%,100%,.6);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 rgba(0,0,0,.25);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{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-next-slide{left:-48px;margin:auto}.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{-webkit-touch-callout:none;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}.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,rgba(0,0,0,.63),transparent);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 0 0 16px;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 0 0 12px;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}@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-right: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{right:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{left: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-right:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-left: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:100%;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:#0e1112e0;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-left:15px;position:fixed;width:100%}.jetpack-mdc-icon-button{fill:currentColor;align-items:center;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;overflow:hidden;padding:0;position:relative;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:rgba(0,0,0,.5)}.jetpack-mdc-icon-button.outlined:hover{background-color:rgba(0,0,0,.3)}.jetpack-mdc-icon-button.outlined-w{background-color:hsla(0,0%,100%,.2)}.jetpack-mdc-icon-button.outlined-w:hover{background-color:hsla(0,0%,100%,.3)}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/subscriptions/view.asset.php b/plugins/jetpack/_inc/blocks/subscriptions/view.asset.php
index e87b5f87..4d0df4e4 100644
--- a/plugins/jetpack/_inc/blocks/subscriptions/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/subscriptions/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c8cabf70914f8099702ad24a85f687dd'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'ce65d91e42591d36601d');
diff --git a/plugins/jetpack/_inc/blocks/subscriptions/view.css b/plugins/jetpack/_inc/blocks/subscriptions/view.css
index 6acf6064..80e77c7a 100644
--- a/plugins/jetpack/_inc/blocks/subscriptions/view.css
+++ b/plugins/jetpack/_inc/blocks/subscriptions/view.css
@@ -1 +1 @@
-.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;margin:0;position:absolute;right:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{left:0} \ No newline at end of file
+.is-style-compact .wp-block-button__link,.is-style-compact .wp-block-jetpack-subscriptions__button{border-bottom-left-radius:0!important;border-top-left-radius:0!important;margin-left:0!important}.is-style-compact .components-text-control__input,.is-style-compact p#subscribe-email input[type=email]{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-right-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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;line-height:1.3;white-space:nowrap}.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 form input[type=email]::placeholder{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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;margin:0;position:absolute;right:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{left:0} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/subscriptions/view.js b/plugins/jetpack/_inc/blocks/subscriptions/view.js
index ec1b31b9..e6ba8a51 100644
--- a/plugins/jetpack/_inc/blocks/subscriptions/view.js
+++ b/plugins/jetpack/_inc/blocks/subscriptions/view.js
@@ -1 +1 @@
-!function(){var t={57836:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(57836)}()}(); \ No newline at end of file
+!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/subscriptions/view.rtl.css b/plugins/jetpack/_inc/blocks/subscriptions/view.rtl.css
index 6b3b01ce..4e734213 100644
--- a/plugins/jetpack/_inc/blocks/subscriptions/view.rtl.css
+++ b/plugins/jetpack/_inc/blocks/subscriptions/view.rtl.css
@@ -1 +1 @@
-.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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]{line-height:normal}.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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;left:0;margin:0;position:absolute}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{right:0} \ No newline at end of file
+.is-style-compact .wp-block-button__link,.is-style-compact .wp-block-jetpack-subscriptions__button{border-bottom-right-radius:0!important;border-top-right-radius:0!important;margin-right:0!important}.is-style-compact .components-text-control__input,.is-style-compact p#subscribe-email input[type=email]{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-left-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline{position:relative}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form{align-items:flex-start;display:flex}.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;line-height:1.3;white-space:nowrap}.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 form input[type=email]::placeholder{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:transparent;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:transparent;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]{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{padding-bottom:32px}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{bottom:0;font-size:16px;left:0;margin:0;position:absolute}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline form{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 .jetpack-subscribe-count p,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{right:0} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/swiper.css b/plugins/jetpack/_inc/blocks/swiper.css
index 7fd953ea..5a6c9cea 100644
--- a/plugins/jetpack/_inc/blocks/swiper.css
+++ b/plugins/jetpack/_inc/blocks/swiper.css
@@ -1 +1 @@
-@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff")}.swiper-container{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;z-index:1}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-container-pointer-events{touch-action:pan-y}.swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-button-next,.swiper-button-prev{align-items:center;color:var(--swiper-theme-color);cursor:pointer;display:flex;height:44px;justify-content:center;margin-top:-22px;position:absolute;top:50%;width:27px;z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:44px;font-variant:normal;letter-spacing:0;line-height:1;text-transform:none!important;text-transform:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{left:auto;right:10px}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:"next"}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#fff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:#000;border-radius:50%;display:inline-block;height:8px;opacity:.2;width:8px}button.swiper-pagination-bullet{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{background:var(--swiper-theme-color);opacity:1}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:6px 0}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-theme-color);height:100%;left:0;position:absolute;top:0;transform:scale(0);transform-origin:left top;width:100%}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:4px;left:0;top:0;width:100%}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{height:100%;left:0;top:0;width:4px}.swiper-pagination-white{--swiper-pagination-color:#fff}.swiper-pagination-black{--swiper-pagination-color:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:rgba(0,0,0,.1);border-radius:10px;position:relative;-ms-touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{bottom:3px;height:5px;left:1%;position:absolute;width:98%;z-index:50}.swiper-container-vertical>.swiper-scrollbar{height:98%;position:absolute;right:3px;top:1%;width:5px;z-index:50}.swiper-scrollbar-drag{background:rgba(0,0,0,.5);border-radius:10px;height:100%;left:0;position:relative;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s linear infinite;animation:swiper-preloader-spin 1s linear infinite;border:4px solid var(--swiper-theme-color);border-radius:50%;border-top:4px solid transparent;box-sizing:border-box;height:42px;left:50%;margin-left:-21px;margin-top:-21px;position:absolute;top:50%;transform-origin:50%;width:42px;z-index:10}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{to{transform:rotate(1turn)}}@keyframes swiper-preloader-spin{to{transform:rotate(1turn)}}.swiper-container .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0}.swiper-container-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.swiper-container-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0} \ No newline at end of file
+@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff")}.swiper-container{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;z-index:1}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-container-pointer-events{touch-action:pan-y}.swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-button-next,.swiper-button-prev{align-items:center;color:#007aff;cursor:pointer;display:flex;height:44px;justify-content:center;margin-top:-22px;position:absolute;top:50%;width:27px;z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:44px;font-variant:normal;letter-spacing:0;line-height:1;text-transform:none!important;text-transform:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{left:auto;right:10px}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:"next"}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#fff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:#000;border-radius:50%;display:inline-block;height:8px;opacity:.2;width:8px}button.swiper-pagination-bullet{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{background:#007aff;opacity:1}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:6px 0}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;height:100%;left:0;position:absolute;top:0;transform:scale(0);transform-origin:left top;width:100%}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:4px;left:0;top:0;width:100%}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{height:100%;left:0;top:0;width:4px}.swiper-pagination-white{--swiper-pagination-color:#fff}.swiper-pagination-black{--swiper-pagination-color:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:rgba(0,0,0,.1);border-radius:10px;position:relative;-ms-touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{bottom:3px;height:5px;left:1%;position:absolute;width:98%;z-index:50}.swiper-container-vertical>.swiper-scrollbar{height:98%;position:absolute;right:3px;top:1%;width:5px;z-index:50}.swiper-scrollbar-drag{background:rgba(0,0,0,.5);border-radius:10px;height:100%;left:0;position:relative;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s linear infinite;animation:swiper-preloader-spin 1s linear infinite;border:4px solid #007aff;border-radius:50%;border-top-color:transparent;box-sizing:border-box;height:42px;left:50%;margin-left:-21px;margin-top:-21px;position:absolute;top:50%;transform-origin:50%;width:42px;z-index:10}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{to{transform:rotate(1turn)}}@keyframes swiper-preloader-spin{to{transform:rotate(1turn)}}.swiper-container .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0}.swiper-container-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.swiper-container-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/swiper.rtl.css b/plugins/jetpack/_inc/blocks/swiper.rtl.css
index 68ded72a..42b39012 100644
--- a/plugins/jetpack/_inc/blocks/swiper.rtl.css
+++ b/plugins/jetpack/_inc/blocks/swiper.rtl.css
@@ -1 +1 @@
-@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff")}.swiper-container{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;z-index:1}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-container-pointer-events{touch-action:pan-y}.swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{height:100%;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-button-next,.swiper-button-prev{align-items:center;color:var(--swiper-theme-color);cursor:pointer;display:flex;height:44px;justify-content:center;margin-top:-22px;position:absolute;top:50%;width:27px;z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:44px;font-variant:normal;letter-spacing:0;line-height:1;text-transform:none!important;text-transform:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:auto;right:10px}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{left:10px;right:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:"next"}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#fff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;right:0;width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:#000;border-radius:50%;display:inline-block;height:8px;opacity:.2;width:8px}button.swiper-pagination-bullet{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{background:var(--swiper-theme-color);opacity:1}.swiper-container-vertical>.swiper-pagination-bullets{left:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:6px 0}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{right:50%;transform:translateX(50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-theme-color);height:100%;position:absolute;right:0;top:0;transform:scale(0);transform-origin:right top;width:100%}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:left top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:4px;right:0;top:0;width:100%}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{height:100%;right:0;top:0;width:4px}.swiper-pagination-white{--swiper-pagination-color:#fff}.swiper-pagination-black{--swiper-pagination-color:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:rgba(0,0,0,.1);border-radius:10px;position:relative;-ms-touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{bottom:3px;height:5px;position:absolute;right:1%;width:98%;z-index:50}.swiper-container-vertical>.swiper-scrollbar{height:98%;left:3px;position:absolute;top:1%;width:5px;z-index:50}.swiper-scrollbar-drag{background:rgba(0,0,0,.5);border-radius:10px;height:100%;position:relative;right:0;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s linear infinite;animation:swiper-preloader-spin 1s linear infinite;border:4px solid var(--swiper-theme-color);border-radius:50%;border-top:4px solid transparent;box-sizing:border-box;height:42px;margin-right:-21px;margin-top:-21px;position:absolute;right:50%;top:50%;transform-origin:50%;width:42px;z-index:10}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{to{transform:rotate(-1turn)}}@keyframes swiper-preloader-spin{to{transform:rotate(-1turn)}}.swiper-container .swiper-notification{opacity:0;pointer-events:none;position:absolute;right:0;top:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:100% 0;visibility:hidden;width:100%;z-index:1}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:0 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0}.swiper-container-cube .swiper-cube-shadow{bottom:0;height:100%;opacity:.6;position:absolute;right:0;width:100%;z-index:0}.swiper-container-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0} \ No newline at end of file
+@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff")}.swiper-container{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;z-index:1}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-container-pointer-events{touch-action:pan-y}.swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{height:100%;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-button-next,.swiper-button-prev{align-items:center;color:#007aff;cursor:pointer;display:flex;height:44px;justify-content:center;margin-top:-22px;position:absolute;top:50%;width:27px;z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:44px;font-variant:normal;letter-spacing:0;line-height:1;text-transform:none!important;text-transform:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:auto;right:10px}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{left:10px;right:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:"next"}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#fff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;right:0;width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:#000;border-radius:50%;display:inline-block;height:8px;opacity:.2;width:8px}button.swiper-pagination-bullet{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{background:#007aff;opacity:1}.swiper-container-vertical>.swiper-pagination-bullets{left:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:6px 0}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{right:50%;transform:translateX(50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;height:100%;position:absolute;right:0;top:0;transform:scale(0);transform-origin:right top;width:100%}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:left top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:4px;right:0;top:0;width:100%}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{height:100%;right:0;top:0;width:4px}.swiper-pagination-white{--swiper-pagination-color:#fff}.swiper-pagination-black{--swiper-pagination-color:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:rgba(0,0,0,.1);border-radius:10px;position:relative;-ms-touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{bottom:3px;height:5px;position:absolute;right:1%;width:98%;z-index:50}.swiper-container-vertical>.swiper-scrollbar{height:98%;left:3px;position:absolute;top:1%;width:5px;z-index:50}.swiper-scrollbar-drag{background:rgba(0,0,0,.5);border-radius:10px;height:100%;position:relative;right:0;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s linear infinite;animation:swiper-preloader-spin 1s linear infinite;border:4px solid #007aff;border-radius:50%;border-top-color:transparent;box-sizing:border-box;height:42px;margin-right:-21px;margin-top:-21px;position:absolute;right:50%;top:50%;transform-origin:50%;width:42px;z-index:10}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{to{transform:rotate(-1turn)}}@keyframes swiper-preloader-spin{to{transform:rotate(-1turn)}}.swiper-container .swiper-notification{opacity:0;pointer-events:none;position:absolute;right:0;top:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:100% 0;visibility:hidden;width:100%;z-index:1}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:0 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0}.swiper-container-cube .swiper-cube-shadow{bottom:0;height:100%;opacity:.6;position:absolute;right:0;width:100%;z-index:0}.swiper-container-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:0} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/tiled-gallery/view.asset.php b/plugins/jetpack/_inc/blocks/tiled-gallery/view.asset.php
index fa954769..8840854f 100644
--- a/plugins/jetpack/_inc/blocks/tiled-gallery/view.asset.php
+++ b/plugins/jetpack/_inc/blocks/tiled-gallery/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'b57019a1383ed0a1cb3559cbec5ac4db'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '15c29062b4917da52656');
diff --git a/plugins/jetpack/_inc/blocks/tiled-gallery/view.js b/plugins/jetpack/_inc/blocks/tiled-gallery/view.js
index 85cca950..1a8b1676 100644
--- a/plugins/jetpack/_inc/blocks/tiled-gallery/view.js
+++ b/plugins/jetpack/_inc/blocks/tiled-gallery/view.js
@@ -1 +1 @@
-!function(){var t={54166:function(t,e){"use strict";var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,a=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function s(){n&&(n=!1,t()),r&&a()}function c(){o(s)}function a(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return a}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.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)},t.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)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;s.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),u=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},f=b(0,0,0,0);function d(t){return parseFloat(t)||0}function l(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function p(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return f;var r=h(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=d(o)}return e}(r),o=i.left+i.right,s=i.top+i.bottom,c=d(r.width),a=d(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==e&&(c-=l(r,"left","right")+o),Math.round(a+s)!==n&&(a-=l(r,"top","bottom")+s)),!function(t){return t===h(t).document.documentElement}(t)){var u=Math.round(c+o)-e,p=Math.round(a+s)-n;1!==Math.abs(u)&&(c-=u),1!==Math.abs(p)&&(a-=p)}return b(i.left,i.top,c,a)}var _="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function v(t){return r?_(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):p(t):f}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=v(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,i,o,s,c,a,h=(r=(n=e).x,i=n.y,o=n.width,s=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(c.prototype),u(a,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),a);u(this,{target:t,contentRect:h})},y=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),g="undefined"!=typeof WeakMap?new WeakMap:new n,E=function t(e){if(!(this instanceof t))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=a.getInstance(),r=new y(e,n,this);g.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){E.prototype[t]=function(){var e;return(e=g.get(this))[t].apply(e,arguments)}}));var O=void 0!==i.ResizeObserver?i.ResizeObserver:E;e.Z=O},28526:function(t,e,n){"use strict";n.d(e,{q3:function(){return r}});const r=4},17265:function(t,e,n){"use strict";n.d(e,{i:function(){return o}});var r=n(28526);function i(t,e){const n=(e-t.reduce(((t,e)=>t+e),0))/t.length;return t.map((t=>t+n))}function o(t,e){return function(t,e,n){let[o,h]=e;const f=1/o*(n-r.q3*(t.childElementCount-1)-h);return function(t,e){let{rawHeight:n,rowWidth:o}=e;const h=s(t),f=h.map((t=>(n-r.q3*(t.childElementCount-1))*a(t)[0])),d=i(f,o);h.forEach(((t,e)=>{const o=f[e],s=d[e];!function(t,e){let{colHeight:n,width:r,rawWidth:o}=e;const s=i(c(t).map((t=>o/u(t))),n);Array.from(t.children).forEach(((t,e)=>{const n=s[e];t.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(t,{colHeight:n-r.q3*(t.childElementCount-1),width:s,rawWidth:o})}));return d.map((t=>parseFloat(t/o*100).toFixed(5)))}(t,{rawHeight:f,rowWidth:n-r.q3*(t.childElementCount-1)})}(t,function(t){return s(t).map(a).reduce(((t,e)=>{let[n,r]=t,[i,o]=e;return[n+i,r+o]}),[0,0])}(t),e)}function s(t){return Array.from(t.querySelectorAll(".tiled-gallery__col"))}function c(t){return Array.from(t.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function a(t){const e=c(t),n=e.length,r=1/e.map(u).reduce(((t,e)=>t+1/e),0);return[r,r*n||1]}function u(t){const e=parseInt(t.dataset.width,10),n=parseInt(t.dataset.height,10);return e&&!Number.isNaN(e)&&n&&!Number.isNaN(n)?e/n:1}},57836:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t+"../"}(),function(){"use strict";n(57836)}(),function(){"use strict";var t=n(47701),e=n.n(t),r=n(54166),i=n(17265);function o(t){o.pendingRaf&&cancelAnimationFrame(o.pendingRaf),o.pendingRaf=requestAnimationFrame((()=>{o.pendingRaf=null;for(const e of t){const{width:t}=e.contentRect;Array.from(e.target.querySelectorAll(".tiled-gallery__row")).forEach((e=>(0,i.i)(e,t)))}}))}const s=()=>{const t=Array.from(document.querySelectorAll(".wp-block-jetpack-tiled-gallery.is-style-rectangular > .tiled-gallery__gallery,.wp-block-jetpack-tiled-gallery.is-style-columns > .tiled-gallery__gallery"));if(0===t.length)return;const e=new r.Z(o);t.forEach((t=>{"true"!==t.getAttribute("data-jetpack-block-initialized")&&(e.observe(t),t.setAttribute("data-jetpack-block-initialized","true"))}))};"undefined"!=typeof window&&e()(s)}()}(); \ No newline at end of file
+!function(){var t={6209:function(t,e){"use strict";var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,a=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function s(){n&&(n=!1,t()),r&&a()}function c(){o(s)}function a(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return a}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.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)},t.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)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;s.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),u=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},f=b(0,0,0,0);function d(t){return parseFloat(t)||0}function l(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function p(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return f;var r=h(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=d(o)}return e}(r),o=i.left+i.right,s=i.top+i.bottom,c=d(r.width),a=d(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==e&&(c-=l(r,"left","right")+o),Math.round(a+s)!==n&&(a-=l(r,"top","bottom")+s)),!function(t){return t===h(t).document.documentElement}(t)){var u=Math.round(c+o)-e,p=Math.round(a+s)-n;1!==Math.abs(u)&&(c-=u),1!==Math.abs(p)&&(a-=p)}return b(i.left,i.top,c,a)}var _="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function v(t){return r?_(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):p(t):f}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=v(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,i,o,s,c,a,h=(r=(n=e).x,i=n.y,o=n.width,s=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(c.prototype),u(a,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),a);u(this,{target:t,contentRect:h})},y=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),g="undefined"!=typeof WeakMap?new WeakMap:new n,E=function t(e){if(!(this instanceof t))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=a.getInstance(),r=new y(e,n,this);g.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){E.prototype[t]=function(){var e;return(e=g.get(this))[t].apply(e,arguments)}}));var O=void 0!==i.ResizeObserver?i.ResizeObserver:E;e.Z=O},3740:function(t,e,n){"use strict";n.d(e,{q3:function(){return r}});const r=4},99856:function(t,e,n){"use strict";n.d(e,{i:function(){return o}});var r=n(3740);function i(t,e){const n=(e-t.reduce(((t,e)=>t+e),0))/t.length;return t.map((t=>t+n))}function o(t,e){return function(t,e,n){let[o,h]=e;const f=1/o*(n-r.q3*(t.childElementCount-1)-h);return function(t,e){let{rawHeight:n,rowWidth:o}=e;const h=s(t),f=h.map((t=>(n-r.q3*(t.childElementCount-1))*a(t)[0])),d=i(f,o);h.forEach(((t,e)=>{const o=f[e],s=d[e];!function(t,e){let{colHeight:n,width:r,rawWidth:o}=e;const s=i(c(t).map((t=>o/u(t))),n);Array.from(t.children).forEach(((t,e)=>{const n=s[e];t.setAttribute("style",`height:${n}px;width:${r}px;`)}))}(t,{colHeight:n-r.q3*(t.childElementCount-1),width:s,rawWidth:o})}));return d.map((t=>parseFloat(t/o*100).toFixed(5)))}(t,{rawHeight:f,rowWidth:n-r.q3*(t.childElementCount-1)})}(t,function(t){return s(t).map(a).reduce(((t,e)=>{let[n,r]=t,[i,o]=e;return[n+i,r+o]}),[0,0])}(t),e)}function s(t){return Array.from(t.querySelectorAll(".tiled-gallery__col"))}function c(t){return Array.from(t.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function a(t){const e=c(t),n=e.length,r=1/e.map(u).reduce(((t,e)=>t+1/e),0);return[r,r*n||1]}function u(t){const e=parseInt(t.dataset.width,10),n=parseInt(t.dataset.height,10);return e&&!Number.isNaN(e)&&n&&!Number.isNaN(n)?e/n:1}},80425:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t+"../"}(),function(){"use strict";n(80425)}(),function(){"use strict";var t=n(47701),e=n.n(t),r=n(6209),i=n(99856);function o(t){o.pendingRaf&&cancelAnimationFrame(o.pendingRaf),o.pendingRaf=requestAnimationFrame((()=>{o.pendingRaf=null;for(const e of t){const{width:t}=e.contentRect;Array.from(e.target.querySelectorAll(".tiled-gallery__row")).forEach((e=>(0,i.i)(e,t)))}}))}const s=()=>{const t=Array.from(document.querySelectorAll(".wp-block-jetpack-tiled-gallery.is-style-rectangular > .tiled-gallery__gallery,.wp-block-jetpack-tiled-gallery.is-style-columns > .tiled-gallery__gallery"));if(0===t.length)return;const e=new r.Z(o);t.forEach((t=>{"true"!==t.getAttribute("data-jetpack-block-initialized")&&(e.observe(t),t.setAttribute("data-jetpack-block-initialized","true"))}))};"undefined"!=typeof window&&e()(s)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.css b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.css
deleted file mode 100644
index 32807b41..00000000
--- a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.css
+++ /dev/null
@@ -1 +0,0 @@
-.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}.mapboxgl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left{top:0;left:0}.mapboxgl-ctrl-top-right{top:0;right:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{right:0;bottom:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-group{border-radius:4px;background:#fff}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{width:29px;height:29px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:focus:only-child{border-radius:inherit}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{width:88px;height:23px;margin:0 0 -4px -4px;display:block;background-repeat:no-repeat;cursor:pointer;overflow:hidden;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg opacity='.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg opacity='.9' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{padding:0 5px;background-color:hsla(0,0%,100%,.5);margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{min-height:20px;padding:0;margin:10px;position:relative;background-color:#fff;border-radius:3px 12px 12px 3px}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 24px 2px 4px;visibility:visible;margin-top:6px}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 4px 2px 24px;border-radius:12px 3px 3px 12px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact:after{content:"";cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E");background-color:hsla(0,0%,100%,.5);width:24px;height:24px;box-sizing:border-box;border-radius:12px}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;right:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;left:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);font-size:10px;border:2px solid #333;border-top:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup{position:absolute;top:0;left:0;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-close-button{position:absolute;right:0;top:0;border:0;border-radius:0 3px 0 0;cursor:pointer;background-color:transparent}.mapboxgl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{position:absolute;top:0;left:0;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot:before{content:"";position:absolute;animation:mapboxgl-user-location-dot-pulse 2s infinite}.mapboxgl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box;box-shadow:0 0 3px rgba(0,0,0,.35)}@keyframes mapboxgl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{position:absolute;top:0;left:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.js b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.js
deleted file mode 100644
index da0bc187..00000000
--- a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.js
+++ /dev/null
@@ -1 +0,0 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{306:function(t,e,r){t.exports=function(){"use strict";var t,e,r;function i(i,n){if(t)if(e){var o="var sharedChunk = {}; ("+t+")(sharedChunk); ("+e+")(sharedChunk);",a={};t(a),(r=n(a)).workerUrl=window.URL.createObjectURL(new Blob([o],{type:"text/javascript"}))}else e=n;else t=n}return i(0,(function(t){function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=i;function i(t,e,r,i){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=i,this.p2x=r,this.p2y=i}i.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},i.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},i.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},i.prototype.solveCurveX=function(t,e){var r,i,n,o,a;for(void 0===e&&(e=1e-6),n=t,a=0;a<8;a++){if(o=this.sampleCurveX(n)-t,Math.abs(o)<e)return n;var s=this.sampleCurveDerivativeX(n);if(Math.abs(s)<1e-6)break;n-=o/s}if((n=t)<(r=0))return r;if(n>(i=1))return i;for(;r<i;){if(o=this.sampleCurveX(n),Math.abs(o-t)<e)return n;t>o?r=n:i=n,n=.5*(i-r)+r}return n},i.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var n=o;function o(t,e){this.x=t,this.y=e}function a(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!a(t[r],e[r]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==e){if("object"!=typeof e)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var i in t)if(!a(t[i],e[i]))return!1;return!0}return t===e}function s(t,e,i,n){var o=new r(t,e,i,n);return function(t){return o.solve(t)}}o.prototype={clone:function(){return new o(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[0]*this.x+t[1]*this.y,r=t[2]*this.x+t[3]*this.y;return this.x=e,this.y=r,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),i=e*this.x-r*this.y,n=r*this.x+e*this.y;return this.x=i,this.y=n,this},_rotateAround:function(t,e){var r=Math.cos(t),i=Math.sin(t),n=e.x+r*(this.x-e.x)-i*(this.y-e.y),o=e.y+i*(this.x-e.x)+r*(this.y-e.y);return this.x=n,this.y=o,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},o.convert=function(t){return t instanceof o?t:Array.isArray(t)?new o(t[0],t[1]):t};var l=s(.25,.1,.25,1);function u(t,e,r){return Math.min(r,Math.max(e,t))}function c(t,e,r){var i=r-e,n=((t-e)%i+i)%i+e;return n===e?r:n}function p(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var i=0,n=e;i<n.length;i+=1){var o=n[i];for(var a in o)t[a]=o[a]}return t}var h=1;function f(){return h++}function d(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function m(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function y(t,e){t.forEach((function(t){e[t]&&(e[t]=e[t].bind(e))}))}function _(t,e){return-1!==t.indexOf(e,t.length-e.length)}function g(t,e,r){var i={};for(var n in t)i[n]=e.call(r||this,t[n],n,t);return i}function v(t,e,r){var i={};for(var n in t)e.call(r||this,t[n],n,t)&&(i[n]=t[n]);return i}function x(t){return Array.isArray(t)?t.map(x):"object"==typeof t&&t?g(t,x):t}var b={};function w(t){b[t]||("undefined"!=typeof console&&console.warn(t),b[t]=!0)}function S(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function E(t){for(var e=0,r=0,i=t.length,n=i-1,o=void 0,a=void 0;r<i;n=r++)o=t[r],e+=((a=t[n]).x-o.x)*(o.y+a.y);return e}function T(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function I(t){var e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(function(t,r,i,n){var o=i||n;return e[r]=!o||o.toLowerCase(),""})),e["max-age"]){var r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r}return e}var A=null;function z(t){if(null==A){var e=t.navigator?t.navigator.userAgent:null;A=!!t.safari||!(!e||!(/\b(iPad|iPhone|iPod)\b/.test(e)||e.match("Safari")&&!e.match("Chrome")))}return A}function C(t){try{var e=self[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch(t){return!1}}var k,P,M,L,D=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),B=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,R=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,F={now:D,frame:function(t){var e=B(t);return{cancel:function(){return R(e)}}},getImageData:function(t,e){void 0===e&&(e=0);var r=self.document.createElement("canvas"),i=r.getContext("2d");if(!i)throw new Error("failed to create canvas 2d context");return r.width=t.width,r.height=t.height,i.drawImage(t,0,0,t.width,t.height),i.getImageData(-e,-e,t.width+2*e,t.height+2*e)},resolveURL:function(t){return k||(k=self.document.createElement("a")),k.href=t,k.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(null==P&&(P=self.matchMedia("(prefers-reduced-motion: reduce)")),P.matches)}},O={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},U={supported:!1,testSupport:function(t){!V&&L&&(N?j(t):M=t)}},V=!1,N=!1;function j(t){var e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,L),t.isContextLost())return;U.supported=!0}catch(t){}t.deleteTexture(e),V=!0}self.document&&((L=self.document.createElement("img")).onload=function(){M&&j(M),M=null,N=!0},L.onerror=function(){V=!0,M=null},L.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var q="01",Z=function(t,e){this._transformRequestFn=t,this._customAccessToken=e,this._createSkuToken()};function G(t){return 0===t.indexOf("mapbox:")}Z.prototype._createSkuToken=function(){var t=function(){for(var t="",e=0;e<10;e++)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",q,t].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=t.token,this._skuTokenExpiresAt=t.tokenExpiresAt},Z.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},Z.prototype.transformRequest=function(t,e){return this._transformRequestFn&&this._transformRequestFn(t,e)||{url:t}},Z.prototype.normalizeStyleURL=function(t,e){if(!G(t))return t;var r=H(t);return r.path="/styles/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},Z.prototype.normalizeGlyphsURL=function(t,e){if(!G(t))return t;var r=H(t);return r.path="/fonts/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},Z.prototype.normalizeSourceURL=function(t,e){if(!G(t))return t;var r=H(t);return r.path="/v4/"+r.authority+".json",r.params.push("secure"),this._makeAPIURL(r,this._customAccessToken||e)},Z.prototype.normalizeSpriteURL=function(t,e,r,i){var n=H(t);return G(t)?(n.path="/styles/v1"+n.path+"/sprite"+e+r,this._makeAPIURL(n,this._customAccessToken||i)):(n.path+=""+e+r,J(n))},Z.prototype.normalizeTileURL=function(t,e,r){if(this._isSkuTokenExpired()&&this._createSkuToken(),!e||!G(e))return t;var i=H(t),n=F.devicePixelRatio>=2||512===r?"@2x":"",o=U.supported?".webp":"$1";return i.path=i.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+n+o),i.path=i.path.replace(/^.+\/v4\//,"/"),i.path="/v4"+i.path,O.REQUIRE_ACCESS_TOKEN&&(O.ACCESS_TOKEN||this._customAccessToken)&&this._skuToken&&i.params.push("sku="+this._skuToken),this._makeAPIURL(i,this._customAccessToken)},Z.prototype.canonicalizeTileURL=function(t){var e=H(t);if(!e.path.match(/(^\/v4\/)/)||!e.path.match(/\.[\w]+$/))return t;var r="mapbox://tiles/";r+=e.path.replace("/v4/","");var i=e.params.filter((function(t){return!t.match(/^access_token=/)}));return i.length&&(r+="?"+i.join("&")),r},Z.prototype.canonicalizeTileset=function(t,e){if(!G(e))return t.tiles||[];for(var r=[],i=0,n=t.tiles;i<n.length;i+=1){var o=n[i],a=this.canonicalizeTileURL(o);r.push(a)}return r},Z.prototype._makeAPIURL=function(t,e){var r="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",i=H(O.API_URL);if(t.protocol=i.protocol,t.authority=i.authority,"/"!==i.path&&(t.path=""+i.path+t.path),!O.REQUIRE_ACCESS_TOKEN)return J(t);if(!(e=e||O.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+r);if("s"===e[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+r);return t.params=t.params.filter((function(t){return-1===t.indexOf("access_token")})),t.params.push("access_token="+e),J(t)};var X=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function W(t){return X.test(t)}var K=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function H(t){var e=t.match(K);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function J(t){var e=t.params.length?"?"+t.params.join("&"):"";return t.protocol+"://"+t.authority+t.path+e}function Y(t){if(!t)return null;var e,r=t.split(".");if(!r||3!==r.length)return null;try{return JSON.parse((e=r[1],decodeURIComponent(self.atob(e).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(t){return null}}var Q=function(t){this.type=t,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};Q.prototype.getStorageKey=function(t){var e,r=Y(O.ACCESS_TOKEN),i="";return r&&r.u?(e=r.u,i=self.btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode(Number("0x"+e))})))):i=O.ACCESS_TOKEN||"",t?"mapbox.eventData."+t+":"+i:"mapbox.eventData:"+i},Q.prototype.fetchEventData=function(){var t=C("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{var i=self.localStorage.getItem(e);i&&(this.eventData=JSON.parse(i));var n=self.localStorage.getItem(r);n&&(this.anonId=n)}catch(t){w("Unable to read from LocalStorage")}},Q.prototype.saveEventData=function(){var t=C("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{self.localStorage.setItem(r,this.anonId),Object.keys(this.eventData).length>=1&&self.localStorage.setItem(e,JSON.stringify(this.eventData))}catch(t){w("Unable to write to LocalStorage")}},Q.prototype.processRequests=function(t){},Q.prototype.postEvent=function(t,e,r,i){var n=this;if(O.EVENTS_URL){var o=H(O.EVENTS_URL);o.params.push("access_token="+(i||O.ACCESS_TOKEN||""));var a={event:this.type,created:new Date(t).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"1.6.1",skuId:q,userId:this.anonId},s=e?p(a,e):a,l={url:J(o),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=xt(l,(function(t){n.pendingRequest=null,r(t),n.saveEventData(),n.processRequests(i)}))}},Q.prototype.queueRequest=function(t,e){this.queue.push(t),this.processRequests(e)};var $,tt,et=function(t){function e(){t.call(this,"map.load"),this.success={},this.skuToken=""}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postMapLoadEvent=function(t,e,r,i){this.skuToken=r,(O.EVENTS_URL&&i||O.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return G(t)||W(t)})))&&this.queueRequest({id:e,timestamp:Date.now()},i)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){var r=this.queue.shift(),i=r.id,n=r.timestamp;i&&this.success[i]||(this.anonId||this.fetchEventData(),m(this.anonId)||(this.anonId=d()),this.postEvent(n,{skuToken:this.skuToken},(function(t){t||i&&(e.success[i]=!0)}),t))}},e}(Q),rt=new(function(t){function e(e){t.call(this,"appUserTurnstile"),this._customAccessToken=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postTurnstileEvent=function(t,e){O.EVENTS_URL&&O.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return G(t)||W(t)}))&&this.queueRequest(Date.now(),e)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var r=Y(O.ACCESS_TOKEN),i=r?r.u:O.ACCESS_TOKEN,n=i!==this.eventData.tokenU;m(this.anonId)||(this.anonId=d(),n=!0);var o=this.queue.shift();if(this.eventData.lastSuccess){var a=new Date(this.eventData.lastSuccess),s=new Date(o),l=(o-this.eventData.lastSuccess)/864e5;n=n||l>=1||l<-1||a.getDate()!==s.getDate()}else n=!0;if(!n)return this.processRequests();this.postEvent(o,{"enabled.telemetry":!1},(function(t){t||(e.eventData.lastSuccess=o,e.eventData.tokenU=i)}),t)}},e}(Q)),it=rt.postTurnstileEvent.bind(rt),nt=new et,ot=nt.postMapLoadEvent.bind(nt),at="mapbox-tiles",st=500,lt=50;function ut(){self.caches&&!$&&($=self.caches.open(at))}function ct(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}var pt=1/0,ht={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(ht);var ft=function(t){function e(e,r,i){401===r&&W(i)&&(e+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),t.call(this,e),this.status=r,this.url=i,this.name=this.constructor.name,this.message=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},e}(Error),dt=T()?function(){return self.worker&&self.worker.referrer}:function(){return("blob:"===self.location.protocol?self.parent:self).location.href};function mt(t,e){var r,i=new self.AbortController,n=new self.Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,referrer:dt(),signal:i.signal}),o=!1,a=!1,s=(r=n.url).indexOf("sku=")>0&&W(r);"json"===t.type&&n.headers.set("Accept","application/json");var l=function(r,i,o){if(!a){if(r&&"SecurityError"!==r.message&&w(r),i&&o)return u(i);var l=Date.now();self.fetch(n).then((function(r){if(r.ok){var i=s?r.clone():null;return u(r,i,l)}return e(new ft(r.statusText,r.status,t.url))})).catch((function(t){20!==t.code&&e(new Error(t.message))}))}},u=function(r,i,s){("arrayBuffer"===t.type?r.arrayBuffer():"json"===t.type?r.json():r.text()).then((function(t){a||(i&&s&&function(t,e,r){if(ut(),$){var i={status:e.status,statusText:e.statusText,headers:new self.Headers};e.headers.forEach((function(t,e){return i.headers.set(e,t)}));var n=I(e.headers.get("Cache-Control")||"");n["no-store"]||(n["max-age"]&&i.headers.set("Expires",new Date(r+1e3*n["max-age"]).toUTCString()),new Date(i.headers.get("Expires")).getTime()-r<42e4||function(t,e){if(void 0===tt)try{new Response(new ReadableStream),tt=!0}catch(t){tt=!1}tt?e(t.body):t.blob().then(e)}(e,(function(e){var r=new self.Response(e,i);ut(),$&&$.then((function(e){return e.put(ct(t.url),r)})).catch((function(t){return w(t.message)}))})))}}(n,i,s),o=!0,e(null,t,r.headers.get("Cache-Control"),r.headers.get("Expires")))})).catch((function(t){a||e(new Error(t.message))}))};return s?function(t,e){if(ut(),!$)return e(null);var r=ct(t.url);$.then((function(t){t.match(r).then((function(i){var n=function(t){if(!t)return!1;var e=new Date(t.headers.get("Expires")||0),r=I(t.headers.get("Cache-Control")||"");return e>Date.now()&&!r["no-cache"]}(i);t.delete(r),n&&t.put(r,i.clone()),e(null,i,n)})).catch(e)})).catch(e)}(n,l):l(null,null),{cancel:function(){a=!0,o||i.abort()}}}var yt,_t,gt=function(t,e){if(r=t.url,!(/^file:/.test(r)||/^file:/.test(dt())&&!/^\w+:/.test(r))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return mt(t,e);if(T()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",t,e,void 0,!0)}var r;return function(t,e){var r=new self.XMLHttpRequest;for(var i in r.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(r.responseType="arraybuffer"),t.headers)r.setRequestHeader(i,t.headers[i]);return"json"===t.type&&(r.responseType="text",r.setRequestHeader("Accept","application/json")),r.withCredentials="include"===t.credentials,r.onerror=function(){e(new Error(r.statusText))},r.onload=function(){if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){var i=r.response;if("json"===t.type)try{i=JSON.parse(r.response)}catch(t){return e(t)}e(null,i,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"))}else e(new ft(r.statusText,r.status,t.url))},r.send(t.body),{cancel:function(){return r.abort()}}}(t,e)},vt=function(t,e){return gt(p(t,{type:"arrayBuffer"}),e)},xt=function(t,e){return gt(p(t,{method:"POST"}),e)};yt=[],_t=0;var bt=function(t,e){if(U.supported&&(t.headers||(t.headers={}),t.headers.accept="image/webp,*/*"),_t>=O.MAX_PARALLEL_IMAGE_REQUESTS){var r={requestParameters:t,callback:e,cancelled:!1,cancel:function(){this.cancelled=!0}};return yt.push(r),r}_t++;var i=!1,n=function(){if(!i)for(i=!0,_t--;yt.length&&_t<O.MAX_PARALLEL_IMAGE_REQUESTS;){var t=yt.shift(),e=t.requestParameters,r=t.callback;t.cancelled||(t.cancel=bt(e,r).cancel)}},o=vt(t,(function(t,r,i,o){if(n(),t)e(t);else if(r){var a=new self.Image;a.onload=function(){e(null,a),self.URL.revokeObjectURL(a.src)},a.onerror=function(){return e(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var s=new self.Blob([new Uint8Array(r)],{type:"image/png"});a.cacheControl=i,a.expires=o,a.src=r.byteLength?self.URL.createObjectURL(s):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII="}}));return{cancel:function(){o.cancel(),n()}}};function wt(t,e,r){r[t]&&-1!==r[t].indexOf(e)||(r[t]=r[t]||[],r[t].push(e))}function St(t,e,r){if(r&&r[t]){var i=r[t].indexOf(e);-1!==i&&r[t].splice(i,1)}}var Et=function(t,e){void 0===e&&(e={}),p(this,e),this.type=t},Tt=function(t){function e(e,r){void 0===r&&(r={}),t.call(this,"error",p({error:e},r))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Et),It=function(){};It.prototype.on=function(t,e){return this._listeners=this._listeners||{},wt(t,e,this._listeners),this},It.prototype.off=function(t,e){return St(t,e,this._listeners),St(t,e,this._oneTimeListeners),this},It.prototype.once=function(t,e){return this._oneTimeListeners=this._oneTimeListeners||{},wt(t,e,this._oneTimeListeners),this},It.prototype.fire=function(t,e){"string"==typeof t&&(t=new Et(t,e||{}));var r=t.type;if(this.listens(r)){t.target=this;for(var i=0,n=this._listeners&&this._listeners[r]?this._listeners[r].slice():[];i<n.length;i+=1)n[i].call(this,t);for(var o=0,a=this._oneTimeListeners&&this._oneTimeListeners[r]?this._oneTimeListeners[r].slice():[];o<a.length;o+=1){var s=a[o];St(r,s,this._oneTimeListeners),s.call(this,t)}var l=this._eventedParent;l&&(p(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),l.fire(t))}else t instanceof Tt&&console.error(t.error);return this},It.prototype.listens=function(t){return this._listeners&&this._listeners[t]&&this._listeners[t].length>0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent.listens(t)},It.prototype.setEventedParent=function(t,e){return this._eventedParent=t,this._eventedParentData=e,this};var At={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}}},zt=function(t,e,r,i){this.message=(t?t+": ":"")+r,i&&(this.identifier=i),null!=e&&e.__line__&&(this.line=e.__line__)};function Ct(t){var e=t.key,r=t.value;return r?[new zt(e,r,"constants have been deprecated as of v8")]:[]}function kt(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var i=0,n=e;i<n.length;i+=1){var o=n[i];for(var a in o)t[a]=o[a]}return t}function Pt(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function Mt(t){if(Array.isArray(t))return t.map(Mt);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){var e={};for(var r in t)e[r]=Mt(t[r]);return e}return Pt(t)}var Lt=function(t){function e(e,r){t.call(this,r),this.message=r,this.key=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error),Dt=function(t,e){void 0===e&&(e=[]),this.parent=t,this.bindings={};for(var r=0,i=e;r<i.length;r+=1){var n=i[r],o=n[0],a=n[1];this.bindings[o]=a}};Dt.prototype.concat=function(t){return new Dt(this,t)},Dt.prototype.get=function(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+" not found in scope.")},Dt.prototype.has=function(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)};var Bt={kind:"null"},Rt={kind:"number"},Ft={kind:"string"},Ot={kind:"boolean"},Ut={kind:"color"},Vt={kind:"object"},Nt={kind:"value"},jt={kind:"collator"},qt={kind:"formatted"},Zt={kind:"resolvedImage"};function Gt(t,e){return{kind:"array",itemType:t,N:e}}function Xt(t){if("array"===t.kind){var e=Xt(t.itemType);return"number"==typeof t.N?"array<"+e+", "+t.N+">":"value"===t.itemType.kind?"array":"array<"+e+">"}return t.kind}var Wt=[Bt,Rt,Ft,Ot,Ut,qt,Vt,Gt(Nt),Zt];function Kt(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!Kt(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(var r=0,i=Wt;r<i.length;r+=1)if(!Kt(i[r],e))return null}return"Expected "+Xt(t)+" but found "+Xt(e)+" instead."}var Ht=e((function(t,e){var r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function i(t){return(t=Math.round(t))<0?0:t>255?255:t}function n(t){return t<0?0:t>1?1:t}function o(t){return"%"===t[t.length-1]?i(parseFloat(t)/100*255):i(parseInt(t))}function a(t){return"%"===t[t.length-1]?n(parseFloat(t)/100):n(parseFloat(t))}function s(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}try{e.parseCSSColor=function(t){var e,n=t.replace(/ /g,"").toLowerCase();if(n in r)return r[n].slice();if("#"===n[0])return 4===n.length?(e=parseInt(n.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===n.length&&(e=parseInt(n.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var l=n.indexOf("("),u=n.indexOf(")");if(-1!==l&&u+1===n.length){var c=n.substr(0,l),p=n.substr(l+1,u-(l+1)).split(","),h=1;switch(c){case"rgba":if(4!==p.length)return null;h=a(p.pop());case"rgb":return 3!==p.length?null:[o(p[0]),o(p[1]),o(p[2]),h];case"hsla":if(4!==p.length)return null;h=a(p.pop());case"hsl":if(3!==p.length)return null;var f=(parseFloat(p[0])%360+360)%360/360,d=a(p[1]),m=a(p[2]),y=m<=.5?m*(d+1):m+d-m*d,_=2*m-y;return[i(255*s(_,y,f+1/3)),i(255*s(_,y,f)),i(255*s(_,y,f-1/3)),h];default:return null}}return null}}catch(t){}})).parseCSSColor,Jt=function(t,e,r,i){void 0===i&&(i=1),this.r=t,this.g=e,this.b=r,this.a=i};Jt.parse=function(t){if(t){if(t instanceof Jt)return t;if("string"==typeof t){var e=Ht(t);if(e)return new Jt(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},Jt.prototype.toString=function(){var t=this.toArray(),e=t[0],r=t[1],i=t[2],n=t[3];return"rgba("+Math.round(e)+","+Math.round(r)+","+Math.round(i)+","+n+")"},Jt.prototype.toArray=function(){var t=this.r,e=this.g,r=this.b,i=this.a;return 0===i?[0,0,0,0]:[255*t/i,255*e/i,255*r/i,i]},Jt.black=new Jt(0,0,0,1),Jt.white=new Jt(1,1,1,1),Jt.transparent=new Jt(0,0,0,0),Jt.red=new Jt(1,0,0,1);var Yt=function(t,e,r){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=r,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Yt.prototype.compare=function(t,e){return this.collator.compare(t,e)},Yt.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var Qt=function(t,e,r,i,n){this.text=t,this.image=e,this.scale=r,this.fontStack=i,this.textColor=n},$t=function(t){this.sections=t};$t.fromString=function(t){return new $t([new Qt(t,null,null,null,null)])},$t.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some((function(t){return 0!==t.text.length||t.image&&0!==t.image.name.length}))},$t.factory=function(t){return t instanceof $t?t:$t.fromString(t)},$t.prototype.toString=function(){return 0===this.sections.length?"":this.sections.map((function(t){return t.text})).join("")},$t.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var i=r[e];if(i.image)t.push(["image",i.image.name]);else{t.push(i.text);var n={};i.fontStack&&(n["text-font"]=["literal",i.fontStack.split(",")]),i.scale&&(n["font-scale"]=i.scale),i.textColor&&(n["text-color"]=["rgba"].concat(i.textColor.toArray())),t.push(n)}}return t};var te=function(t){this.name=t.name,this.available=t.available};function ee(t,e,r,i){return"number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof r&&r>=0&&r<=255?void 0===i||"number"==typeof i&&i>=0&&i<=1?null:"Invalid rgba value ["+[t,e,r,i].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof i?[t,e,r,i]:[t,e,r]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function re(t){if(null===t)return Bt;if("string"==typeof t)return Ft;if("boolean"==typeof t)return Ot;if("number"==typeof t)return Rt;if(t instanceof Jt)return Ut;if(t instanceof Yt)return jt;if(t instanceof $t)return qt;if(t instanceof te)return Zt;if(Array.isArray(t)){for(var e,r=t.length,i=0,n=t;i<n.length;i+=1){var o=re(n[i]);if(e){if(e===o)continue;e=Nt;break}e=o}return Gt(e||Nt,r)}return Vt}function ie(t){var e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Jt||t instanceof $t||t instanceof te?t.toString():JSON.stringify(t)}te.prototype.toString=function(){return this.name},te.fromString=function(t){return new te({name:t,available:!1})},te.prototype.serialize=function(){return["image",this.name]};var ne=function(t,e){this.type=t,this.value=e};ne.parse=function(t,e){if(2!==t.length)return e.error("'literal' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(!function t(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof Jt)return!0;if(e instanceof Yt)return!0;if(e instanceof $t)return!0;if(e instanceof te)return!0;if(Array.isArray(e)){for(var r=0,i=e;r<i.length;r+=1)if(!t(i[r]))return!1;return!0}if("object"==typeof e){for(var n in e)if(!t(e[n]))return!1;return!0}return!1}(t[1]))return e.error("invalid value");var r=t[1],i=re(r),n=e.expectedType;return"array"!==i.kind||0!==i.N||!n||"array"!==n.kind||"number"==typeof n.N&&0!==n.N||(i=n),new ne(i,r)},ne.prototype.evaluate=function(){return this.value},ne.prototype.eachChild=function(){},ne.prototype.possibleOutputs=function(){return[this.value]},ne.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Jt?["rgba"].concat(this.value.toArray()):this.value instanceof $t?this.value.serialize():this.value};var oe=function(t){this.name="ExpressionEvaluationError",this.message=t};oe.prototype.toJSON=function(){return this.message};var ae={string:Ft,number:Rt,boolean:Ot,object:Vt},se=function(t,e){this.type=t,this.args=e};se.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r,i=1,n=t[0];if("array"===n){var o,a;if(t.length>2){var s=t[1];if("string"!=typeof s||!(s in ae)||"object"===s)return e.error('The item type argument of "array" must be one of string, number, boolean',1);o=ae[s],i++}else o=Nt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);a=t[2],i++}r=Gt(o,a)}else r=ae[n];for(var l=[];i<t.length;i++){var u=e.parse(t[i],i,Nt);if(!u)return null;l.push(u)}return new se(r,l)},se.prototype.evaluate=function(t){for(var e=0;e<this.args.length;e++){var r=this.args[e].evaluate(t);if(!Kt(this.type,re(r)))return r;if(e===this.args.length-1)throw new oe("Expected value to be of type "+Xt(this.type)+", but found "+Xt(re(r))+" instead.")}return null},se.prototype.eachChild=function(t){this.args.forEach(t)},se.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},se.prototype.serialize=function(){var t=this.type,e=[t.kind];if("array"===t.kind){var r=t.itemType;if("string"===r.kind||"number"===r.kind||"boolean"===r.kind){e.push(r.kind);var i=t.N;("number"==typeof i||this.args.length>1)&&e.push(i)}}return e.concat(this.args.map((function(t){return t.serialize()})))};var le=function(t){this.type=qt,this.sections=t};le.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r=t[1];if(!Array.isArray(r)&&"object"==typeof r)return e.error("First argument must be an image or text section.");for(var i=[],n=!1,o=1;o<=t.length-1;++o){var a=t[o];if(n&&"object"==typeof a&&!Array.isArray(a)){n=!1;var s=null;if(a["font-scale"]&&!(s=e.parse(a["font-scale"],1,Rt)))return null;var l=null;if(a["text-font"]&&!(l=e.parse(a["text-font"],1,Gt(Ft))))return null;var u=null;if(a["text-color"]&&!(u=e.parse(a["text-color"],1,Ut)))return null;var c=i[i.length-1];c.scale=s,c.font=l,c.textColor=u}else{var p=e.parse(t[o],1,Nt);if(!p)return null;var h=p.type.kind;if("string"!==h&&"value"!==h&&"null"!==h&&"resolvedImage"!==h)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");n=!0,i.push({content:p,scale:null,font:null,textColor:null})}}return new le(i)},le.prototype.evaluate=function(t){return new $t(this.sections.map((function(e){var r=e.content.evaluate(t);return re(r)===Zt?new Qt("",r,null,null,null):new Qt(ie(r),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)})))},le.prototype.eachChild=function(t){for(var e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t(i.content),i.scale&&t(i.scale),i.font&&t(i.font),i.textColor&&t(i.textColor)}},le.prototype.possibleOutputs=function(){return[void 0]},le.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t.push(i.content.serialize());var n={};i.scale&&(n["font-scale"]=i.scale.serialize()),i.font&&(n["text-font"]=i.font.serialize()),i.textColor&&(n["text-color"]=i.textColor.serialize()),t.push(n)}return t};var ue=function(t){this.type=Zt,this.input=t};ue.parse=function(t,e){if(2!==t.length)return e.error("Expected two arguments.");var r=e.parse(t[1],1,Ft);return r?new ue(r):e.error("No image name provided.")},ue.prototype.evaluate=function(t){var e=this.input.evaluate(t),r=!1;return t.availableImages&&t.availableImages.indexOf(e)>-1&&(r=!0),new te({name:e,available:r})},ue.prototype.eachChild=function(t){t(this.input)},ue.prototype.possibleOutputs=function(){return[void 0]},ue.prototype.serialize=function(){return["image",this.input.serialize()]};var ce={"to-boolean":Ot,"to-color":Ut,"to-number":Rt,"to-string":Ft},pe=function(t,e){this.type=t,this.args=e};pe.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r=t[0];if(("to-boolean"===r||"to-string"===r)&&2!==t.length)return e.error("Expected one argument.");for(var i=ce[r],n=[],o=1;o<t.length;o++){var a=e.parse(t[o],o,Nt);if(!a)return null;n.push(a)}return new pe(i,n)},pe.prototype.evaluate=function(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){for(var e,r,i=0,n=this.args;i<n.length;i+=1){if(r=null,(e=n[i].evaluate(t))instanceof Jt)return e;if("string"==typeof e){var o=t.parseColor(e);if(o)return o}else if(Array.isArray(e)&&!(r=e.length<3||e.length>4?"Invalid rbga value "+JSON.stringify(e)+": expected an array containing either three or four numeric values.":ee(e[0],e[1],e[2],e[3])))return new Jt(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new oe(r||"Could not parse color from value '"+("string"==typeof e?e:String(JSON.stringify(e)))+"'")}if("number"===this.type.kind){for(var a=null,s=0,l=this.args;s<l.length;s+=1){if(null===(a=l[s].evaluate(t)))return 0;var u=Number(a);if(!isNaN(u))return u}throw new oe("Could not convert "+JSON.stringify(a)+" to number.")}return"formatted"===this.type.kind?$t.fromString(ie(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?te.fromString(ie(this.args[0].evaluate(t))):ie(this.args[0].evaluate(t))},pe.prototype.eachChild=function(t){this.args.forEach(t)},pe.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},pe.prototype.serialize=function(){if("formatted"===this.type.kind)return new le([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new ue(this.args[0]).serialize();var t=["to-"+this.type.kind];return this.eachChild((function(e){t.push(e.serialize())})),t};var he=["Unknown","Point","LineString","Polygon"],fe=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null};fe.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},fe.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?he[this.feature.type]:this.feature.type:null},fe.prototype.properties=function(){return this.feature&&this.feature.properties||{}},fe.prototype.parseColor=function(t){var e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Jt.parse(t)),e};var de=function(t,e,r,i){this.name=t,this.type=e,this._evaluate=r,this.args=i};de.prototype.evaluate=function(t){return this._evaluate(t,this.args)},de.prototype.eachChild=function(t){this.args.forEach(t)},de.prototype.possibleOutputs=function(){return[void 0]},de.prototype.serialize=function(){return[this.name].concat(this.args.map((function(t){return t.serialize()})))},de.parse=function(t,e){var r,i=t[0],n=de.definitions[i];if(!n)return e.error('Unknown expression "'+i+'". If you wanted a literal array, use ["literal", [...]].',0);for(var o=Array.isArray(n)?n[0]:n.type,a=Array.isArray(n)?[[n[1],n[2]]]:n.overloads,s=a.filter((function(e){var r=e[0];return!Array.isArray(r)||r.length===t.length-1})),l=null,u=0,c=s;u<c.length;u+=1){var p=c[u],h=p[0],f=p[1];l=new xe(e.registry,e.path,null,e.scope);for(var d=[],m=!1,y=1;y<t.length;y++){var _=t[y],g=Array.isArray(h)?h[y-1]:h.type,v=l.parse(_,1+d.length,g);if(!v){m=!0;break}d.push(v)}if(!m)if(Array.isArray(h)&&h.length!==d.length)l.error("Expected "+h.length+" arguments, but found "+d.length+" instead.");else{for(var x=0;x<d.length;x++){var b=Array.isArray(h)?h[x]:h.type,w=d[x];l.concat(x+1).checkSubtype(b,w.type)}if(0===l.errors.length)return new de(i,o,f,d)}}if(1===s.length)(r=e.errors).push.apply(r,l.errors);else{for(var S=(s.length?s:a).map((function(t){var e;return e=t[0],Array.isArray(e)?"("+e.map(Xt).join(", ")+")":"("+Xt(e.type)+"...)"})).join(" | "),E=[],T=1;T<t.length;T++){var I=e.parse(t[T],1+E.length);if(!I)return null;E.push(Xt(I.type))}e.error("Expected arguments of type "+S+", but found ("+E.join(", ")+") instead.")}return null},de.register=function(t,e){for(var r in de.definitions=e,e)t[r]=de};var me=function(t,e,r){this.type=jt,this.locale=r,this.caseSensitive=t,this.diacriticSensitive=e};function ye(t){if(t instanceof de){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}var e=!0;return t.eachChild((function(t){e&&!ye(t)&&(e=!1)})),e}function _e(t){if(t instanceof de&&"feature-state"===t.name)return!1;var e=!0;return t.eachChild((function(t){e&&!_e(t)&&(e=!1)})),e}function ge(t,e){if(t instanceof de&&e.indexOf(t.name)>=0)return!1;var r=!0;return t.eachChild((function(t){r&&!ge(t,e)&&(r=!1)})),r}me.parse=function(t,e){if(2!==t.length)return e.error("Expected one argument.");var r=t[1];if("object"!=typeof r||Array.isArray(r))return e.error("Collator options argument must be an object.");var i=e.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,Ot);if(!i)return null;var n=e.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,Ot);if(!n)return null;var o=null;return r.locale&&!(o=e.parse(r.locale,1,Ft))?null:new me(i,n,o)},me.prototype.evaluate=function(t){return new Yt(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)},me.prototype.eachChild=function(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)},me.prototype.possibleOutputs=function(){return[void 0]},me.prototype.serialize=function(){var t={};return t["case-sensitive"]=this.caseSensitive.serialize(),t["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),["collator",t]};var ve=function(t,e){this.type=e.type,this.name=t,this.boundExpression=e};ve.parse=function(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");var r=t[1];return e.scope.has(r)?new ve(r,e.scope.get(r)):e.error('Unknown variable "'+r+'". Make sure "'+r+'" has been bound in an enclosing "let" expression before using it.',1)},ve.prototype.evaluate=function(t){return this.boundExpression.evaluate(t)},ve.prototype.eachChild=function(){},ve.prototype.possibleOutputs=function(){return[void 0]},ve.prototype.serialize=function(){return["var",this.name]};var xe=function(t,e,r,i,n){void 0===e&&(e=[]),void 0===i&&(i=new Dt),void 0===n&&(n=[]),this.registry=t,this.path=e,this.key=e.map((function(t){return"["+t+"]"})).join(""),this.scope=i,this.errors=n,this.expectedType=r};function be(t,e){for(var r,i,n=t.length-1,o=0,a=n,s=0;o<=a;)if(r=t[s=Math.floor((o+a)/2)],i=t[s+1],r<=e){if(s===n||e<i)return s;o=s+1}else{if(!(r>e))throw new oe("Input is not a number.");a=s-1}return 0}xe.prototype.parse=function(t,e,r,i,n){return void 0===n&&(n={}),e?this.concat(e,r,i)._parse(t,n):this._parse(t,n)},xe.prototype._parse=function(t,e){function r(t,e,r){return"assert"===r?new se(e,[t]):"coerce"===r?new pe(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var i=t[0];if("string"!=typeof i)return this.error("Expression name must be a string, but found "+typeof i+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var n=this.registry[i];if(n){var o=n.parse(t,this);if(!o)return null;if(this.expectedType){var a=this.expectedType,s=o.type;if("string"!==a.kind&&"number"!==a.kind&&"boolean"!==a.kind&&"object"!==a.kind&&"array"!==a.kind||"value"!==s.kind)if("color"!==a.kind&&"formatted"!==a.kind&&"resolvedImage"!==a.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(a,s))return null}else o=r(o,a,e.typeAnnotation||"coerce");else o=r(o,a,e.typeAnnotation||"assert")}if(!(o instanceof ne)&&"resolvedImage"!==o.type.kind&&function t(e){if(e instanceof ve)return t(e.boundExpression);if(e instanceof de&&"error"===e.name)return!1;if(e instanceof me)return!1;var r=e instanceof pe||e instanceof se,i=!0;return e.eachChild((function(e){i=r?i&&t(e):i&&e instanceof ne})),!!i&&ye(e)&&ge(e,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(o)){var l=new fe;try{o=new ne(o.type,o.evaluate(l))}catch(t){return this.error(t.message),null}}return o}return this.error('Unknown expression "'+i+'". If you wanted a literal array, use ["literal", [...]].',0)}return void 0===t?this.error("'undefined' value invalid. Use null instead."):"object"==typeof t?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof t+" instead.")},xe.prototype.concat=function(t,e,r){var i="number"==typeof t?this.path.concat(t):this.path,n=r?this.scope.concat(r):this.scope;return new xe(this.registry,i,e||null,n,this.errors)},xe.prototype.error=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var i=""+this.key+e.map((function(t){return"["+t+"]"})).join("");this.errors.push(new Lt(i,t))},xe.prototype.checkSubtype=function(t,e){var r=Kt(t,e);return r&&this.error(r),r};var we=function(t,e,r){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var i=0,n=r;i<n.length;i+=1){var o=n[i],a=o[0],s=o[1];this.labels.push(a),this.outputs.push(s)}};function Se(t,e,r){return t*(1-r)+e*r}we.parse=function(t,e){if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");var r=e.parse(t[1],1,Rt);if(!r)return null;var i=[],n=null;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);for(var o=1;o<t.length;o+=2){var a=1===o?-1/0:t[o],s=t[o+1],l=o,u=o+1;if("number"!=typeof a)return e.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',l);if(i.length&&i[i.length-1][0]>=a)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',l);var c=e.parse(s,u,n);if(!c)return null;n=n||c.type,i.push([a,c])}return new we(n,r,i)},we.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return r[0].evaluate(t);var n=e.length;return i>=e[n-1]?r[n-1].evaluate(t):r[be(e,i)].evaluate(t)},we.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1)t(r[e])},we.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()})))},we.prototype.serialize=function(){for(var t=["step",this.input.serialize()],e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var Ee=Object.freeze({__proto__:null,number:Se,color:function(t,e,r){return new Jt(Se(t.r,e.r,r),Se(t.g,e.g,r),Se(t.b,e.b,r),Se(t.a,e.a,r))},array:function(t,e,r){return t.map((function(t,i){return Se(t,e[i],r)}))}}),Te=6/29,Ie=3*Te*Te,Ae=Math.PI/180,ze=180/Math.PI;function Ce(t){return t>.008856451679035631?Math.pow(t,1/3):t/Ie+4/29}function ke(t){return t>Te?t*t*t:Ie*(t-4/29)}function Pe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Me(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Le(t){var e=Me(t.r),r=Me(t.g),i=Me(t.b),n=Ce((.4124564*e+.3575761*r+.1804375*i)/.95047),o=Ce((.2126729*e+.7151522*r+.072175*i)/1);return{l:116*o-16,a:500*(n-o),b:200*(o-Ce((.0193339*e+.119192*r+.9503041*i)/1.08883)),alpha:t.a}}function De(t){var e=(t.l+16)/116,r=isNaN(t.a)?e:e+t.a/500,i=isNaN(t.b)?e:e-t.b/200;return e=1*ke(e),r=.95047*ke(r),i=1.08883*ke(i),new Jt(Pe(3.2404542*r-1.5371385*e-.4985314*i),Pe(-.969266*r+1.8760108*e+.041556*i),Pe(.0556434*r-.2040259*e+1.0572252*i),t.alpha)}function Be(t,e,r){var i=e-t;return t+r*(i>180||i<-180?i-360*Math.round(i/360):i)}var Re={forward:Le,reverse:De,interpolate:function(t,e,r){return{l:Se(t.l,e.l,r),a:Se(t.a,e.a,r),b:Se(t.b,e.b,r),alpha:Se(t.alpha,e.alpha,r)}}},Fe={forward:function(t){var e=Le(t),r=e.l,i=e.a,n=e.b,o=Math.atan2(n,i)*ze;return{h:o<0?o+360:o,c:Math.sqrt(i*i+n*n),l:r,alpha:t.a}},reverse:function(t){var e=t.h*Ae,r=t.c;return De({l:t.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:t.alpha})},interpolate:function(t,e,r){return{h:Be(t.h,e.h,r),c:Se(t.c,e.c,r),l:Se(t.l,e.l,r),alpha:Se(t.alpha,e.alpha,r)}}},Oe=Object.freeze({__proto__:null,lab:Re,hcl:Fe}),Ue=function(t,e,r,i,n){this.type=t,this.operator=e,this.interpolation=r,this.input=i,this.labels=[],this.outputs=[];for(var o=0,a=n;o<a.length;o+=1){var s=a[o],l=s[0],u=s[1];this.labels.push(l),this.outputs.push(u)}};function Ve(t,e,r,i){var n=i-r,o=t-r;return 0===n?0:1===e?o/n:(Math.pow(e,o)-1)/(Math.pow(e,n)-1)}Ue.interpolationFactor=function(t,e,i,n){var o=0;if("exponential"===t.name)o=Ve(e,t.base,i,n);else if("linear"===t.name)o=Ve(e,1,i,n);else if("cubic-bezier"===t.name){var a=t.controlPoints;o=new r(a[0],a[1],a[2],a[3]).solve(Ve(e,1,i,n))}return o},Ue.parse=function(t,e){var r=t[0],i=t[1],n=t[2],o=t.slice(3);if(!Array.isArray(i)||0===i.length)return e.error("Expected an interpolation type expression.",1);if("linear"===i[0])i={name:"linear"};else if("exponential"===i[0]){var a=i[1];if("number"!=typeof a)return e.error("Exponential interpolation requires a numeric base.",1,1);i={name:"exponential",base:a}}else{if("cubic-bezier"!==i[0])return e.error("Unknown interpolation type "+String(i[0]),1,0);var s=i.slice(1);if(4!==s.length||s.some((function(t){return"number"!=typeof t||t<0||t>1})))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);i={name:"cubic-bezier",controlPoints:s}}if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(n=e.parse(n,2,Rt)))return null;var l=[],u=null;"interpolate-hcl"===r||"interpolate-lab"===r?u=Ut:e.expectedType&&"value"!==e.expectedType.kind&&(u=e.expectedType);for(var c=0;c<o.length;c+=2){var p=o[c],h=o[c+1],f=c+3,d=c+4;if("number"!=typeof p)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',f);if(l.length&&l[l.length-1][0]>=p)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',f);var m=e.parse(h,d,u);if(!m)return null;u=u||m.type,l.push([p,m])}return"number"===u.kind||"color"===u.kind||"array"===u.kind&&"number"===u.itemType.kind&&"number"==typeof u.N?new Ue(u,r,i,n,l):e.error("Type "+Xt(u)+" is not interpolatable.")},Ue.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return r[0].evaluate(t);var n=e.length;if(i>=e[n-1])return r[n-1].evaluate(t);var o=be(e,i),a=e[o],s=e[o+1],l=Ue.interpolationFactor(this.interpolation,i,a,s),u=r[o].evaluate(t),c=r[o+1].evaluate(t);return"interpolate"===this.operator?Ee[this.type.kind.toLowerCase()](u,c,l):"interpolate-hcl"===this.operator?Fe.reverse(Fe.interpolate(Fe.forward(u),Fe.forward(c),l)):Re.reverse(Re.interpolate(Re.forward(u),Re.forward(c),l))},Ue.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1)t(r[e])},Ue.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()})))},Ue.prototype.serialize=function(){var t;t="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var e=[this.operator,t,this.input.serialize()],r=0;r<this.labels.length;r++)e.push(this.labels[r],this.outputs[r].serialize());return e};var Ne=function(t,e){this.type=t,this.args=e};Ne.parse=function(t,e){if(t.length<2)return e.error("Expectected at least one argument.");var r=null,i=e.expectedType;i&&"value"!==i.kind&&(r=i);for(var n=[],o=0,a=t.slice(1);o<a.length;o+=1){var s=a[o],l=e.parse(s,1+n.length,r,void 0,{typeAnnotation:"omit"});if(!l)return null;r=r||l.type,n.push(l)}var u=i&&n.some((function(t){return Kt(i,t.type)}));return new Ne(u?Nt:r,n)},Ne.prototype.evaluate=function(t){for(var e,r=null,i=0,n=0,o=this.args;n<o.length&&(i++,(r=o[n].evaluate(t))&&r instanceof te&&!r.available&&(e||(e=r.name),r=null,i===this.args.length&&(r=e)),null===r);n+=1);return r},Ne.prototype.eachChild=function(t){this.args.forEach(t)},Ne.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},Ne.prototype.serialize=function(){var t=["coalesce"];return this.eachChild((function(e){t.push(e.serialize())})),t};var je=function(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e};je.prototype.evaluate=function(t){return this.result.evaluate(t)},je.prototype.eachChild=function(t){for(var e=0,r=this.bindings;e<r.length;e+=1)t(r[e][1]);t(this.result)},je.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found "+(t.length-1)+" instead.");for(var r=[],i=1;i<t.length-1;i+=2){var n=t[i];if("string"!=typeof n)return e.error("Expected string, but found "+typeof n+" instead.",i);if(/[^a-zA-Z0-9_]/.test(n))return e.error("Variable names must contain only alphanumeric characters or '_'.",i);var o=e.parse(t[i+1],i+1);if(!o)return null;r.push([n,o])}var a=e.parse(t[t.length-1],t.length-1,e.expectedType,r);return a?new je(r,a):null},je.prototype.possibleOutputs=function(){return this.result.possibleOutputs()},je.prototype.serialize=function(){for(var t=["let"],e=0,r=this.bindings;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];t.push(n,o.serialize())}return t.push(this.result.serialize()),t};var qe=function(t,e,r){this.type=t,this.index=e,this.input=r};qe.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1,Rt),i=e.parse(t[2],2,Gt(e.expectedType||Nt));if(!r||!i)return null;var n=i.type;return new qe(n.itemType,r,i)},qe.prototype.evaluate=function(t){var e=this.index.evaluate(t),r=this.input.evaluate(t);if(e<0)throw new oe("Array index out of bounds: "+e+" < 0.");if(e>=r.length)throw new oe("Array index out of bounds: "+e+" > "+(r.length-1)+".");if(e!==Math.floor(e))throw new oe("Array index must be an integer, but found "+e+" instead.");return r[e]},qe.prototype.eachChild=function(t){t(this.index),t(this.input)},qe.prototype.possibleOutputs=function(){return[void 0]},qe.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ze=function(t,e){this.type=Ot,this.needle=t,this.haystack=e};Ze.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var r,i=e.parse(t[1],1,Nt),n=e.parse(t[2],2,Nt);return i&&n?"boolean"!==(r=i.type).kind&&"string"!==r.kind&&"number"!==r.kind&&"null"!==r.kind&&"value"!==r.kind?e.error("Expected first argument to be of type boolean, string, number or null, but found "+Xt(i.type)+" instead"):new Ze(i,n):null},Ze.prototype.evaluate=function(t){var e=this.needle.evaluate(t),r=this.haystack.evaluate(t);if(!e||!r)return!1;if(!function(t){return"boolean"==typeof t||"string"==typeof t||"number"==typeof t}(e))throw new oe("Expected first argument to be of type boolean, string or number, but found "+Xt(re(e))+" instead.");if(!function(t){return Array.isArray(t)||"string"==typeof t}(r))throw new oe("Expected second argument to be of type array or string, but found "+Xt(re(r))+" instead.");return r.indexOf(e)>=0},Ze.prototype.eachChild=function(t){t(this.needle),t(this.haystack)},Ze.prototype.possibleOutputs=function(){return[!0,!1]},Ze.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Ge=function(t,e,r,i,n,o){this.inputType=t,this.type=e,this.input=r,this.cases=i,this.outputs=n,this.otherwise=o};Ge.parse=function(t,e){if(t.length<5)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return e.error("Expected an even number of arguments.");var r,i;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(var n={},o=[],a=2;a<t.length-1;a+=2){var s=t[a],l=t[a+1];Array.isArray(s)||(s=[s]);var u=e.concat(a);if(0===s.length)return u.error("Expected at least one branch label.");for(var c=0,p=s;c<p.length;c+=1){var h=p[c];if("number"!=typeof h&&"string"!=typeof h)return u.error("Branch labels must be numbers or strings.");if("number"==typeof h&&Math.abs(h)>Number.MAX_SAFE_INTEGER)return u.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof h&&Math.floor(h)!==h)return u.error("Numeric branch labels must be integer values.");if(r){if(u.checkSubtype(r,re(h)))return null}else r=re(h);if(void 0!==n[String(h)])return u.error("Branch labels must be unique.");n[String(h)]=o.length}var f=e.parse(l,a,i);if(!f)return null;i=i||f.type,o.push(f)}var d=e.parse(t[1],1,Nt);if(!d)return null;var m=e.parse(t[t.length-1],t.length-1,i);return m?"value"!==d.type.kind&&e.concat(1).checkSubtype(r,d.type)?null:new Ge(r,i,d,n,o,m):null},Ge.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(re(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},Ge.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)},Ge.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()}))).concat(this.otherwise.possibleOutputs())},Ge.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],r=[],i={},n=0,o=Object.keys(this.cases).sort();n<o.length;n+=1){var a=o[n];void 0===(p=i[this.cases[a]])?(i[this.cases[a]]=r.length,r.push([this.cases[a],[a]])):r[p][1].push(a)}for(var s=function(e){return"number"===t.inputType.kind?Number(e):e},l=0,u=r;l<u.length;l+=1){var c=u[l],p=c[0],h=c[1];1===h.length?e.push(s(h[0])):e.push(h.map(s)),e.push(this.outputs[outputIndex$1].serialize())}return e.push(this.otherwise.serialize()),e};var Xe=function(t,e,r){this.type=t,this.branches=e,this.otherwise=r};function We(t,e){return"=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function Ke(t,e,r,i){return 0===i.compare(e,r)}function He(t,e,r){var i="=="!==t&&"!="!==t;return function(){function n(t,e,r){this.type=Ot,this.lhs=t,this.rhs=e,this.collator=r,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}return n.parse=function(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");var r=t[0],o=e.parse(t[1],1,Nt);if(!o)return null;if(!We(r,o.type))return e.concat(1).error('"'+r+"\" comparisons are not supported for type '"+Xt(o.type)+"'.");var a=e.parse(t[2],2,Nt);if(!a)return null;if(!We(r,a.type))return e.concat(2).error('"'+r+"\" comparisons are not supported for type '"+Xt(a.type)+"'.");if(o.type.kind!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error("Cannot compare types '"+Xt(o.type)+"' and '"+Xt(a.type)+"'.");i&&("value"===o.type.kind&&"value"!==a.type.kind?o=new se(a.type,[o]):"value"!==o.type.kind&&"value"===a.type.kind&&(a=new se(o.type,[a])));var s=null;if(4===t.length){if("string"!==o.type.kind&&"string"!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error("Cannot use collator to compare non-string types.");if(!(s=e.parse(t[3],3,jt)))return null}return new n(o,a,s)},n.prototype.evaluate=function(n){var o=this.lhs.evaluate(n),a=this.rhs.evaluate(n);if(i&&this.hasUntypedArgument){var s=re(o),l=re(a);if(s.kind!==l.kind||"string"!==s.kind&&"number"!==s.kind)throw new oe('Expected arguments for "'+t+'" to be (string, string) or (number, number), but found ('+s.kind+", "+l.kind+") instead.")}if(this.collator&&!i&&this.hasUntypedArgument){var u=re(o),c=re(a);if("string"!==u.kind||"string"!==c.kind)return e(n,o,a)}return this.collator?r(n,o,a,this.collator.evaluate(n)):e(n,o,a)},n.prototype.eachChild=function(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)},n.prototype.possibleOutputs=function(){return[!0,!1]},n.prototype.serialize=function(){var e=[t];return this.eachChild((function(t){e.push(t.serialize())})),e},n}()}Xe.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found only "+(t.length-1)+".");if(t.length%2!=0)return e.error("Expected an odd number of arguments.");var r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);for(var i=[],n=1;n<t.length-1;n+=2){var o=e.parse(t[n],n,Ot);if(!o)return null;var a=e.parse(t[n+1],n+1,r);if(!a)return null;i.push([o,a]),r=r||a.type}var s=e.parse(t[t.length-1],t.length-1,r);return s?new Xe(r,i,s):null},Xe.prototype.evaluate=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];if(n.evaluate(t))return o.evaluate(t)}return this.otherwise.evaluate(t)},Xe.prototype.eachChild=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];t(n),t(o)}t(this.otherwise)},Xe.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.branches.map((function(t){return t[0],t[1].possibleOutputs()}))).concat(this.otherwise.possibleOutputs())},Xe.prototype.serialize=function(){var t=["case"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Je=He("==",(function(t,e,r){return e===r}),Ke),Ye=He("!=",(function(t,e,r){return e!==r}),(function(t,e,r,i){return!Ke(0,e,r,i)})),Qe=He("<",(function(t,e,r){return e<r}),(function(t,e,r,i){return i.compare(e,r)<0})),$e=He(">",(function(t,e,r){return e>r}),(function(t,e,r,i){return i.compare(e,r)>0})),tr=He("<=",(function(t,e,r){return e<=r}),(function(t,e,r,i){return i.compare(e,r)<=0})),er=He(">=",(function(t,e,r){return e>=r}),(function(t,e,r,i){return i.compare(e,r)>=0})),rr=function(t,e,r,i,n){this.type=Ft,this.number=t,this.locale=e,this.currency=r,this.minFractionDigits=i,this.maxFractionDigits=n};rr.parse=function(t,e){if(3!==t.length)return e.error("Expected two arguments.");var r=e.parse(t[1],1,Rt);if(!r)return null;var i=t[2];if("object"!=typeof i||Array.isArray(i))return e.error("NumberFormat options argument must be an object.");var n=null;if(i.locale&&!(n=e.parse(i.locale,1,Ft)))return null;var o=null;if(i.currency&&!(o=e.parse(i.currency,1,Ft)))return null;var a=null;if(i["min-fraction-digits"]&&!(a=e.parse(i["min-fraction-digits"],1,Rt)))return null;var s=null;return i["max-fraction-digits"]&&!(s=e.parse(i["max-fraction-digits"],1,Rt))?null:new rr(r,n,o,a,s)},rr.prototype.evaluate=function(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))},rr.prototype.eachChild=function(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)},rr.prototype.possibleOutputs=function(){return[void 0]},rr.prototype.serialize=function(){var t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.minFractionDigits&&(t["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),t]};var ir=function(t){this.type=Rt,this.input=t};ir.parse=function(t,e){if(2!==t.length)return e.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1);return r?"array"!==r.type.kind&&"string"!==r.type.kind&&"value"!==r.type.kind?e.error("Expected argument of type string or array, but found "+Xt(r.type)+" instead."):new ir(r):null},ir.prototype.evaluate=function(t){var e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new oe("Expected value to be of type string or array, but found "+Xt(re(e))+" instead.")},ir.prototype.eachChild=function(t){t(this.input)},ir.prototype.possibleOutputs=function(){return[void 0]},ir.prototype.serialize=function(){var t=["length"];return this.eachChild((function(e){t.push(e.serialize())})),t};var nr={"==":Je,"!=":Ye,">":$e,"<":Qe,">=":er,"<=":tr,array:se,at:qe,boolean:se,case:Xe,coalesce:Ne,collator:me,format:le,image:ue,in:Ze,interpolate:Ue,"interpolate-hcl":Ue,"interpolate-lab":Ue,length:ir,let:je,literal:ne,match:Ge,number:se,"number-format":rr,object:se,step:we,string:se,"to-boolean":pe,"to-color":pe,"to-number":pe,"to-string":pe,var:ve};function or(t,e){var r=e[0],i=e[1],n=e[2],o=e[3];r=r.evaluate(t),i=i.evaluate(t),n=n.evaluate(t);var a=o?o.evaluate(t):1,s=ee(r,i,n,a);if(s)throw new oe(s);return new Jt(r/255*a,i/255*a,n/255*a,a)}function ar(t,e){return t in e}function sr(t,e){var r=e[t];return void 0===r?null:r}function lr(t){return{type:t}}function ur(t){return{result:"success",value:t}}function cr(t){return{result:"error",value:t}}function pr(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function hr(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function fr(t){return!!t.expression&&t.expression.interpolated}function dr(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function mr(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function yr(t){return t}function _r(t,e,r){return void 0!==t?t:void 0!==e?e:void 0!==r?r:void 0}function gr(t,e,r,i,n){return _r(typeof r===n?i[r]:void 0,t.default,e.default)}function vr(t,e,r){if("number"!==dr(r))return _r(t.default,e.default);var i=t.stops.length;if(1===i)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[i-1][0])return t.stops[i-1][1];var n=be(t.stops.map((function(t){return t[0]})),r);return t.stops[n][1]}function xr(t,e,r){var i=void 0!==t.base?t.base:1;if("number"!==dr(r))return _r(t.default,e.default);var n=t.stops.length;if(1===n)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[n-1][0])return t.stops[n-1][1];var o=be(t.stops.map((function(t){return t[0]})),r),a=function(t,e,r,i){var n=i-r,o=t-r;return 0===n?0:1===e?o/n:(Math.pow(e,o)-1)/(Math.pow(e,n)-1)}(r,i,t.stops[o][0],t.stops[o+1][0]),s=t.stops[o][1],l=t.stops[o+1][1],u=Ee[e.type]||yr;if(t.colorSpace&&"rgb"!==t.colorSpace){var c=Oe[t.colorSpace];u=function(t,e){return c.reverse(c.interpolate(c.forward(t),c.forward(e),a))}}return"function"==typeof s.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=s.evaluate.apply(void 0,t),i=l.evaluate.apply(void 0,t);if(void 0!==r&&void 0!==i)return u(r,i,a)}}:u(s,l,a)}function br(t,e,r){return"color"===e.type?r=Jt.parse(r):"formatted"===e.type?r=$t.fromString(r.toString()):"resolvedImage"===e.type?r=te.fromString(r.toString()):dr(r)===e.type||"enum"===e.type&&e.values[r]||(r=void 0),_r(r,t.default,e.default)}de.register(nr,{error:[{kind:"error"},[Ft],function(t,e){var r=e[0];throw new oe(r.evaluate(t))}],typeof:[Ft,[Nt],function(t,e){return Xt(re(e[0].evaluate(t)))}],"to-rgba":[Gt(Rt,4),[Ut],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[Ut,[Rt,Rt,Rt],or],rgba:[Ut,[Rt,Rt,Rt,Rt],or],has:{type:Ot,overloads:[[[Ft],function(t,e){return ar(e[0].evaluate(t),t.properties())}],[[Ft,Vt],function(t,e){var r=e[0],i=e[1];return ar(r.evaluate(t),i.evaluate(t))}]]},get:{type:Nt,overloads:[[[Ft],function(t,e){return sr(e[0].evaluate(t),t.properties())}],[[Ft,Vt],function(t,e){var r=e[0],i=e[1];return sr(r.evaluate(t),i.evaluate(t))}]]},"feature-state":[Nt,[Ft],function(t,e){return sr(e[0].evaluate(t),t.featureState||{})}],properties:[Vt,[],function(t){return t.properties()}],"geometry-type":[Ft,[],function(t){return t.geometryType()}],id:[Nt,[],function(t){return t.id()}],zoom:[Rt,[],function(t){return t.globals.zoom}],"heatmap-density":[Rt,[],function(t){return t.globals.heatmapDensity||0}],"line-progress":[Rt,[],function(t){return t.globals.lineProgress||0}],accumulated:[Nt,[],function(t){return void 0===t.globals.accumulated?null:t.globals.accumulated}],"+":[Rt,lr(Rt),function(t,e){for(var r=0,i=0,n=e;i<n.length;i+=1)r+=n[i].evaluate(t);return r}],"*":[Rt,lr(Rt),function(t,e){for(var r=1,i=0,n=e;i<n.length;i+=1)r*=n[i].evaluate(t);return r}],"-":{type:Rt,overloads:[[[Rt,Rt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)-i.evaluate(t)}],[[Rt],function(t,e){return-e[0].evaluate(t)}]]},"/":[Rt,[Rt,Rt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)/i.evaluate(t)}],"%":[Rt,[Rt,Rt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)%i.evaluate(t)}],ln2:[Rt,[],function(){return Math.LN2}],pi:[Rt,[],function(){return Math.PI}],e:[Rt,[],function(){return Math.E}],"^":[Rt,[Rt,Rt],function(t,e){var r=e[0],i=e[1];return Math.pow(r.evaluate(t),i.evaluate(t))}],sqrt:[Rt,[Rt],function(t,e){var r=e[0];return Math.sqrt(r.evaluate(t))}],log10:[Rt,[Rt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN10}],ln:[Rt,[Rt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))}],log2:[Rt,[Rt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN2}],sin:[Rt,[Rt],function(t,e){var r=e[0];return Math.sin(r.evaluate(t))}],cos:[Rt,[Rt],function(t,e){var r=e[0];return Math.cos(r.evaluate(t))}],tan:[Rt,[Rt],function(t,e){var r=e[0];return Math.tan(r.evaluate(t))}],asin:[Rt,[Rt],function(t,e){var r=e[0];return Math.asin(r.evaluate(t))}],acos:[Rt,[Rt],function(t,e){var r=e[0];return Math.acos(r.evaluate(t))}],atan:[Rt,[Rt],function(t,e){var r=e[0];return Math.atan(r.evaluate(t))}],min:[Rt,lr(Rt),function(t,e){return Math.min.apply(Math,e.map((function(e){return e.evaluate(t)})))}],max:[Rt,lr(Rt),function(t,e){return Math.max.apply(Math,e.map((function(e){return e.evaluate(t)})))}],abs:[Rt,[Rt],function(t,e){var r=e[0];return Math.abs(r.evaluate(t))}],round:[Rt,[Rt],function(t,e){var r=e[0].evaluate(t);return r<0?-Math.round(-r):Math.round(r)}],floor:[Rt,[Rt],function(t,e){var r=e[0];return Math.floor(r.evaluate(t))}],ceil:[Rt,[Rt],function(t,e){var r=e[0];return Math.ceil(r.evaluate(t))}],"filter-==":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1];return t.properties()[r.value]===i.value}],"filter-id-==":[Ot,[Nt],function(t,e){var r=e[0];return t.id()===r.value}],"filter-type-==":[Ot,[Ft],function(t,e){var r=e[0];return t.geometryType()===r.value}],"filter-<":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n<o}],"filter-id-<":[Ot,[Nt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i<n}],"filter->":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n>o}],"filter-id->":[Ot,[Nt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i>n}],"filter-<=":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n<=o}],"filter-id-<=":[Ot,[Nt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i<=n}],"filter->=":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n>=o}],"filter-id->=":[Ot,[Nt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i>=n}],"filter-has":[Ot,[Nt],function(t,e){return e[0].value in t.properties()}],"filter-has-id":[Ot,[],function(t){return null!==t.id()}],"filter-type-in":[Ot,[Gt(Ft)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],"filter-id-in":[Ot,[Gt(Nt)],function(t,e){return e[0].value.indexOf(t.id())>=0}],"filter-in-small":[Ot,[Ft,Gt(Nt)],function(t,e){var r=e[0];return e[1].value.indexOf(t.properties()[r.value])>=0}],"filter-in-large":[Ot,[Ft,Gt(Nt)],function(t,e){var r=e[0],i=e[1];return function(t,e,r,i){for(;r<=i;){var n=r+i>>1;if(e[n]===t)return!0;e[n]>t?i=n-1:r=n+1}return!1}(t.properties()[r.value],i.value,0,i.value.length-1)}],all:{type:Ot,overloads:[[[Ot,Ot],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)&&i.evaluate(t)}],[lr(Ot),function(t,e){for(var r=0,i=e;r<i.length;r+=1)if(!i[r].evaluate(t))return!1;return!0}]]},any:{type:Ot,overloads:[[[Ot,Ot],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)||i.evaluate(t)}],[lr(Ot),function(t,e){for(var r=0,i=e;r<i.length;r+=1)if(i[r].evaluate(t))return!0;return!1}]]},"!":[Ot,[Ot],function(t,e){return!e[0].evaluate(t)}],"is-supported-script":[Ot,[Ft],function(t,e){var r=e[0],i=t.globals&&t.globals.isSupportedScript;return!i||i(r.evaluate(t))}],upcase:[Ft,[Ft],function(t,e){return e[0].evaluate(t).toUpperCase()}],downcase:[Ft,[Ft],function(t,e){return e[0].evaluate(t).toLowerCase()}],concat:[Ft,lr(Nt),function(t,e){return e.map((function(e){return ie(e.evaluate(t))})).join("")}],"resolved-locale":[Ft,[jt],function(t,e){return e[0].evaluate(t).resolvedLocale()}]});var wr=function(t,e){this.expression=t,this._warningHistory={},this._evaluator=new fe,this._defaultValue=e?function(t){return"color"===t.type&&mr(t.default)?new Jt(0,0,0,0):"color"===t.type?Jt.parse(t.default)||null:void 0===t.default?null:t.default}(e):null,this._enumValues=e&&"enum"===e.type?e.values:null};function Sr(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in nr}function Er(t,e){var r=new xe(nr,[],e?function(t){var e={color:Ut,string:Ft,number:Rt,enum:Ft,boolean:Ot,formatted:qt,resolvedImage:Zt};return"array"===t.type?Gt(e[t.value]||Nt,t.length):e[t.type]}(e):void 0),i=r.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return i?ur(new wr(i,e)):cr(r.errors)}wr.prototype.evaluateWithoutErrorHandling=function(t,e,r,i,n){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=n,this.expression.evaluate(this._evaluator)},wr.prototype.evaluate=function(t,e,r,i,n){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=r||null,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=n||null;try{var o=this.expression.evaluate(this._evaluator);if(null==o||"number"==typeof o&&o!=o)return this._defaultValue;if(this._enumValues&&!(o in this._enumValues))throw new oe("Expected value to be one of "+Object.keys(this._enumValues).map((function(t){return JSON.stringify(t)})).join(", ")+", but found "+JSON.stringify(o)+" instead.");return o}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}};var Tr=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!_e(e.expression)};Tr.prototype.evaluateWithoutErrorHandling=function(t,e,r,i,n){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,i,n)},Tr.prototype.evaluate=function(t,e,r,i,n){return this._styleExpression.evaluate(t,e,r,i,n)};var Ir=function(t,e,r,i){this.kind=t,this.zoomStops=r,this._styleExpression=e,this.isStateDependent="camera"!==t&&!_e(e.expression),this.interpolationType=i};function Ar(t,e){if("error"===(t=Er(t,e)).result)return t;var r=t.value.expression,i=ye(r);if(!i&&!pr(e))return cr([new Lt("","data expressions not supported")]);var n=ge(r,["zoom"]);if(!n&&!hr(e))return cr([new Lt("","zoom expressions not supported")]);var o=function t(e){var r=null;if(e instanceof je)r=t(e.result);else if(e instanceof Ne)for(var i=0,n=e.args;i<n.length;i+=1){var o=n[i];if(r=t(o))break}else(e instanceof we||e instanceof Ue)&&e.input instanceof de&&"zoom"===e.input.name&&(r=e);return r instanceof Lt?r:(e.eachChild((function(e){var i=t(e);i instanceof Lt?r=i:!r&&i?r=new Lt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):r&&i&&r!==i&&(r=new Lt("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),r)}(r);if(!o&&!n)return cr([new Lt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(o instanceof Lt)return cr([o]);if(o instanceof Ue&&!fr(e))return cr([new Lt("",'"interpolate" expressions cannot be used with this property')]);if(!o)return ur(new Tr(i?"constant":"source",t.value));var a=o instanceof Ue?o.interpolation:void 0;return ur(new Ir(i?"camera":"composite",t.value,o.labels,a))}Ir.prototype.evaluateWithoutErrorHandling=function(t,e,r,i,n){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,i,n)},Ir.prototype.evaluate=function(t,e,r,i,n){return this._styleExpression.evaluate(t,e,r,i,n)},Ir.prototype.interpolationFactor=function(t,e,r){return this.interpolationType?Ue.interpolationFactor(this.interpolationType,t,e,r):0};var zr=function(t,e){this._parameters=t,this._specification=e,kt(this,function t(e,r){var i,n,o,a="color"===r.type,s=e.stops&&"object"==typeof e.stops[0][0],l=s||void 0!==e.property,u=s||!l,c=e.type||(fr(r)?"exponential":"interval");if(a&&((e=kt({},e)).stops&&(e.stops=e.stops.map((function(t){return[t[0],Jt.parse(t[1])]}))),e.default?e.default=Jt.parse(e.default):e.default=Jt.parse(r.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!Oe[e.colorSpace])throw new Error("Unknown color space: "+e.colorSpace);if("exponential"===c)i=xr;else if("interval"===c)i=vr;else if("categorical"===c){i=gr,n=Object.create(null);for(var p=0,h=e.stops;p<h.length;p+=1){var f=h[p];n[f[0]]=f[1]}o=typeof e.stops[0][0]}else{if("identity"!==c)throw new Error('Unknown function type "'+c+'"');i=br}if(s){for(var d={},m=[],y=0;y<e.stops.length;y++){var _=e.stops[y],g=_[0].zoom;void 0===d[g]&&(d[g]={zoom:g,type:e.type,property:e.property,default:e.default,stops:[]},m.push(g)),d[g].stops.push([_[0].value,_[1]])}for(var v=[],x=0,b=m;x<b.length;x+=1){var w=b[x];v.push([d[w].zoom,t(d[w],r)])}var S={name:"linear"};return{kind:"composite",interpolationType:S,interpolationFactor:Ue.interpolationFactor.bind(void 0,S),zoomStops:v.map((function(t){return t[0]})),evaluate:function(t,i){var n=t.zoom;return xr({stops:v,base:e.base},r,n).evaluate(n,i)}}}if(u){var E="exponential"===c?{name:"exponential",base:void 0!==e.base?e.base:1}:null;return{kind:"camera",interpolationType:E,interpolationFactor:Ue.interpolationFactor.bind(void 0,E),zoomStops:e.stops.map((function(t){return t[0]})),evaluate:function(t){var a=t.zoom;return i(e,r,a,n,o)}}}return{kind:"source",evaluate:function(t,a){var s=a&&a.properties?a.properties[e.property]:void 0;return void 0===s?_r(e.default,r.default):i(e,r,s,n,o)}}}(this._parameters,this._specification))};function Cr(t){var e=t.key,r=t.value,i=t.valueSpec||{},n=t.objectElementValidators||{},o=t.style,a=t.styleSpec,s=[],l=dr(r);if("object"!==l)return[new zt(e,r,"object expected, "+l+" found")];for(var u in r){var c=u.split(".")[0],p=i[c]||i["*"],h=void 0;if(n[c])h=n[c];else if(i[c])h=$r;else if(n["*"])h=n["*"];else{if(!i["*"]){s.push(new zt(e,r[u],'unknown property "'+u+'"'));continue}h=$r}s=s.concat(h({key:(e?e+".":e)+u,value:r[u],valueSpec:p,style:o,styleSpec:a,object:r,objectKey:u},r))}for(var f in i)n[f]||i[f].required&&void 0===i[f].default&&void 0===r[f]&&s.push(new zt(e,r,'missing required property "'+f+'"'));return s}function kr(t){var e=t.value,r=t.valueSpec,i=t.style,n=t.styleSpec,o=t.key,a=t.arrayElementValidator||$r;if("array"!==dr(e))return[new zt(o,e,"array expected, "+dr(e)+" found")];if(r.length&&e.length!==r.length)return[new zt(o,e,"array length "+r.length+" expected, length "+e.length+" found")];if(r["min-length"]&&e.length<r["min-length"])return[new zt(o,e,"array length at least "+r["min-length"]+" expected, length "+e.length+" found")];var s={type:r.value,values:r.values};n.$version<7&&(s.function=r.function),"object"===dr(r.value)&&(s=r.value);for(var l=[],u=0;u<e.length;u++)l=l.concat(a({array:e,arrayIndex:u,value:e[u],valueSpec:s,style:i,styleSpec:n,key:o+"["+u+"]"}));return l}function Pr(t){var e=t.key,r=t.value,i=t.valueSpec,n=dr(r);return"number"===n&&r!=r&&(n="NaN"),"number"!==n?[new zt(e,r,"number expected, "+n+" found")]:"minimum"in i&&r<i.minimum?[new zt(e,r,r+" is less than the minimum value "+i.minimum)]:"maximum"in i&&r>i.maximum?[new zt(e,r,r+" is greater than the maximum value "+i.maximum)]:[]}function Mr(t){var e,r,i,n=t.valueSpec,o=Pt(t.value.type),a={},s="categorical"!==o&&void 0===t.value.property,l=!s,u="array"===dr(t.value.stops)&&"array"===dr(t.value.stops[0])&&"object"===dr(t.value.stops[0][0]),c=Cr({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===o)return[new zt(t.key,t.value,'identity function may not have a "stops" property')];var e=[],r=t.value;return e=e.concat(kr({key:t.key,value:r,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:p})),"array"===dr(r)&&0===r.length&&e.push(new zt(t.key,r,"array must have at least one stop")),e},default:function(t){return $r({key:t.key,value:t.value,valueSpec:n,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===o&&s&&c.push(new zt(t.key,t.value,'missing required property "property"')),"identity"===o||t.value.stops||c.push(new zt(t.key,t.value,'missing required property "stops"')),"exponential"===o&&t.valueSpec.expression&&!fr(t.valueSpec)&&c.push(new zt(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!pr(t.valueSpec)?c.push(new zt(t.key,t.value,"property functions not supported")):s&&!hr(t.valueSpec)&&c.push(new zt(t.key,t.value,"zoom functions not supported"))),"categorical"!==o&&!u||void 0!==t.value.property||c.push(new zt(t.key,t.value,'"property" property is required')),c;function p(t){var e=[],o=t.value,s=t.key;if("array"!==dr(o))return[new zt(s,o,"array expected, "+dr(o)+" found")];if(2!==o.length)return[new zt(s,o,"array length 2 expected, length "+o.length+" found")];if(u){if("object"!==dr(o[0]))return[new zt(s,o,"object expected, "+dr(o[0])+" found")];if(void 0===o[0].zoom)return[new zt(s,o,"object stop key must have zoom")];if(void 0===o[0].value)return[new zt(s,o,"object stop key must have value")];if(i&&i>Pt(o[0].zoom))return[new zt(s,o[0].zoom,"stop zoom values must appear in ascending order")];Pt(o[0].zoom)!==i&&(i=Pt(o[0].zoom),r=void 0,a={}),e=e.concat(Cr({key:s+"[0]",value:o[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:Pr,value:h}}))}else e=e.concat(h({key:s+"[0]",value:o[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},o));return Sr(Mt(o[1]))?e.concat([new zt(s+"[1]",o[1],"expressions are not allowed in function stops.")]):e.concat($r({key:s+"[1]",value:o[1],valueSpec:n,style:t.style,styleSpec:t.styleSpec}))}function h(t,i){var s=dr(t.value),l=Pt(t.value),u=null!==t.value?t.value:i;if(e){if(s!==e)return[new zt(t.key,u,s+" stop domain type must match previous stop domain type "+e)]}else e=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new zt(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==o){var c="number expected, "+s+" found";return pr(n)&&void 0===o&&(c+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new zt(t.key,u,c)]}return"categorical"!==o||"number"!==s||isFinite(l)&&Math.floor(l)===l?"categorical"!==o&&"number"===s&&void 0!==r&&l<r?[new zt(t.key,u,"stop domain values must appear in ascending order")]:(r=l,"categorical"===o&&l in a?[new zt(t.key,u,"stop domain values must be unique")]:(a[l]=!0,[])):[new zt(t.key,u,"integer expected, found "+l)]}}function Lr(t){var e=("property"===t.expressionContext?Ar:Er)(Mt(t.value),t.valueSpec);if("error"===e.result)return e.value.map((function(e){return new zt(""+t.key+e.key,t.value,e.message)}));var r=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&-1!==r.possibleOutputs().indexOf(void 0))return[new zt(t.key,t.value,'Invalid data expression for "'+t.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===t.expressionContext&&"layout"===t.propertyType&&!_e(r))return[new zt(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!_e(r))return[new zt(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!ge(r,["zoom","feature-state"]))return[new zt(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!ye(r))return[new zt(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Dr(t){var e=t.key,r=t.value,i=t.valueSpec,n=[];return Array.isArray(i.values)?-1===i.values.indexOf(Pt(r))&&n.push(new zt(e,r,"expected one of ["+i.values.join(", ")+"], "+JSON.stringify(r)+" found")):-1===Object.keys(i.values).indexOf(Pt(r))&&n.push(new zt(e,r,"expected one of ["+Object.keys(i.values).join(", ")+"], "+JSON.stringify(r)+" found")),n}function Br(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":return t.length>=3&&Array.isArray(t[2]);case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(var e=0,r=t.slice(1);e<r.length;e+=1){var i=r[e];if(!Br(i)&&"boolean"!=typeof i)return!1}return!0;default:return!0}}zr.deserialize=function(t){return new zr(t._parameters,t._specification)},zr.serialize=function(t){return{_parameters:t._parameters,_specification:t._specification}};var Rr={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function Fr(t){if(null==t)return function(){return!0};Br(t)||(t=Ur(t));var e=Er(t,Rr);if("error"===e.result)throw new Error(e.value.map((function(t){return t.key+": "+t.message})).join(", "));return function(t,r){return e.value.evaluate(t,r)}}function Or(t,e){return t<e?-1:t>e?1:0}function Ur(t){if(!t)return!0;var e,r=t[0];return t.length<=1?"any"!==r:"=="===r?Vr(t[1],t[2],"=="):"!="===r?qr(Vr(t[1],t[2],"==")):"<"===r||">"===r||"<="===r||">="===r?Vr(t[1],t[2],r):"any"===r?(e=t.slice(1),["any"].concat(e.map(Ur))):"all"===r?["all"].concat(t.slice(1).map(Ur)):"none"===r?["all"].concat(t.slice(1).map(Ur).map(qr)):"in"===r?Nr(t[1],t.slice(2)):"!in"===r?qr(Nr(t[1],t.slice(2))):"has"===r?jr(t[1]):"!has"!==r||qr(jr(t[1]))}function Vr(t,e,r){switch(t){case"$type":return["filter-type-"+r,e];case"$id":return["filter-id-"+r,e];default:return["filter-"+r,t,e]}}function Nr(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((function(t){return typeof t!=typeof e[0]}))?["filter-in-large",t,["literal",e.sort(Or)]]:["filter-in-small",t,["literal",e]]}}function jr(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function qr(t){return["!",t]}function Zr(t){return Br(Mt(t.value))?Lr(kt({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function t(e){var r=e.value,i=e.key;if("array"!==dr(r))return[new zt(i,r,"array expected, "+dr(r)+" found")];var n,o=e.styleSpec,a=[];if(r.length<1)return[new zt(i,r,"filter array must have at least 1 element")];switch(a=a.concat(Dr({key:i+"[0]",value:r[0],valueSpec:o.filter_operator,style:e.style,styleSpec:e.styleSpec})),Pt(r[0])){case"<":case"<=":case">":case">=":r.length>=2&&"$type"===Pt(r[1])&&a.push(new zt(i,r,'"$type" cannot be use with operator "'+r[0]+'"'));case"==":case"!=":3!==r.length&&a.push(new zt(i,r,'filter array for operator "'+r[0]+'" must have 3 elements'));case"in":case"!in":r.length>=2&&"string"!==(n=dr(r[1]))&&a.push(new zt(i+"[1]",r[1],"string expected, "+n+" found"));for(var s=2;s<r.length;s++)n=dr(r[s]),"$type"===Pt(r[1])?a=a.concat(Dr({key:i+"["+s+"]",value:r[s],valueSpec:o.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==n&&"number"!==n&&"boolean"!==n&&a.push(new zt(i+"["+s+"]",r[s],"string, number, or boolean expected, "+n+" found"));break;case"any":case"all":case"none":for(var l=1;l<r.length;l++)a=a.concat(t({key:i+"["+l+"]",value:r[l],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":n=dr(r[1]),2!==r.length?a.push(new zt(i,r,'filter array for "'+r[0]+'" operator must have 2 elements')):"string"!==n&&a.push(new zt(i+"[1]",r[1],"string expected, "+n+" found"))}return a}(t)}function Gr(t,e){var r=t.key,i=t.style,n=t.styleSpec,o=t.value,a=t.objectKey,s=n[e+"_"+t.layerType];if(!s)return[];var l=a.match(/^(.*)-transition$/);if("paint"===e&&l&&s[l[1]]&&s[l[1]].transition)return $r({key:r,value:o,valueSpec:n.transition,style:i,styleSpec:n});var u,c=t.valueSpec||s[a];if(!c)return[new zt(r,o,'unknown property "'+a+'"')];if("string"===dr(o)&&pr(c)&&!c.tokens&&(u=/^{([^}]+)}$/.exec(o)))return[new zt(r,o,'"'+a+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(u[1])+" }`.")];var p=[];return"symbol"===t.layerType&&("text-field"===a&&i&&!i.glyphs&&p.push(new zt(r,o,'use of "text-field" requires a style "glyphs" property')),"text-font"===a&&mr(Mt(o))&&"identity"===Pt(o.type)&&p.push(new zt(r,o,'"text-font" does not support identity functions'))),p.concat($r({key:t.key,value:o,valueSpec:c,style:i,styleSpec:n,expressionContext:"property",propertyType:e,propertyKey:a}))}function Xr(t){return Gr(t,"paint")}function Wr(t){return Gr(t,"layout")}function Kr(t){var e=[],r=t.value,i=t.key,n=t.style,o=t.styleSpec;r.type||r.ref||e.push(new zt(i,r,'either "type" or "ref" is required'));var a,s=Pt(r.type),l=Pt(r.ref);if(r.id)for(var u=Pt(r.id),c=0;c<t.arrayIndex;c++){var p=n.layers[c];Pt(p.id)===u&&e.push(new zt(i,r.id,'duplicate layer id "'+r.id+'", previously used at line '+p.id.__line__))}if("ref"in r)["type","source","source-layer","filter","layout"].forEach((function(t){t in r&&e.push(new zt(i,r[t],'"'+t+'" is prohibited for ref layers'))})),n.layers.forEach((function(t){Pt(t.id)===l&&(a=t)})),a?a.ref?e.push(new zt(i,r.ref,"ref cannot reference another ref layer")):s=Pt(a.type):e.push(new zt(i,r.ref,'ref layer "'+l+'" not found'));else if("background"!==s)if(r.source){var h=n.sources&&n.sources[r.source],f=h&&Pt(h.type);h?"vector"===f&&"raster"===s?e.push(new zt(i,r.source,'layer "'+r.id+'" requires a raster source')):"raster"===f&&"raster"!==s?e.push(new zt(i,r.source,'layer "'+r.id+'" requires a vector source')):"vector"!==f||r["source-layer"]?"raster-dem"===f&&"hillshade"!==s?e.push(new zt(i,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!r.paint||!r.paint["line-gradient"]||"geojson"===f&&h.lineMetrics||e.push(new zt(i,r,'layer "'+r.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):e.push(new zt(i,r,'layer "'+r.id+'" must specify a "source-layer"')):e.push(new zt(i,r.source,'source "'+r.source+'" not found'))}else e.push(new zt(i,r,'missing required property "source"'));return e=e.concat(Cr({key:i,value:r,valueSpec:o.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return $r({key:i+".type",value:r.type,valueSpec:o.layer.type,style:t.style,styleSpec:t.styleSpec,object:r,objectKey:"type"})},filter:Zr,layout:function(t){return Cr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Wr(kt({layerType:s},t))}}})},paint:function(t){return Cr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Xr(kt({layerType:s},t))}}})}}}))}function Hr(t){var e=t.value,r=t.key,i=t.styleSpec,n=t.style;if(!e.type)return[new zt(r,e,'"type" is required')];var o,a=Pt(e.type);switch(a){case"vector":case"raster":case"raster-dem":return Cr({key:r,value:e,valueSpec:i["source_"+a.replace("-","_")],style:t.style,styleSpec:i});case"geojson":if(o=Cr({key:r,value:e,valueSpec:i.source_geojson,style:n,styleSpec:i}),e.cluster)for(var s in e.clusterProperties){var l=e.clusterProperties[s],u=l[0],c=l[1],p="string"==typeof u?[u,["accumulated"],["get",s]]:u;o.push.apply(o,Lr({key:r+"."+s+".map",value:c,expressionContext:"cluster-map"})),o.push.apply(o,Lr({key:r+"."+s+".reduce",value:p,expressionContext:"cluster-reduce"}))}return o;case"video":return Cr({key:r,value:e,valueSpec:i.source_video,style:n,styleSpec:i});case"image":return Cr({key:r,value:e,valueSpec:i.source_image,style:n,styleSpec:i});case"canvas":return[new zt(r,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Dr({key:r+".type",value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:n,styleSpec:i})}}function Jr(t){var e=t.value,r=t.styleSpec,i=r.light,n=t.style,o=[],a=dr(e);if(void 0===e)return o;if("object"!==a)return o.concat([new zt("light",e,"object expected, "+a+" found")]);for(var s in e){var l=s.match(/^(.*)-transition$/);o=l&&i[l[1]]&&i[l[1]].transition?o.concat($r({key:s,value:e[s],valueSpec:r.transition,style:n,styleSpec:r})):i[s]?o.concat($r({key:s,value:e[s],valueSpec:i[s],style:n,styleSpec:r})):o.concat([new zt(s,e[s],'unknown property "'+s+'"')])}return o}function Yr(t){var e=t.value,r=t.key,i=dr(e);return"string"!==i?[new zt(r,e,"string expected, "+i+" found")]:[]}var Qr={"*":function(){return[]},array:kr,boolean:function(t){var e=t.value,r=t.key,i=dr(e);return"boolean"!==i?[new zt(r,e,"boolean expected, "+i+" found")]:[]},number:Pr,color:function(t){var e=t.key,r=t.value,i=dr(r);return"string"!==i?[new zt(e,r,"color expected, "+i+" found")]:null===Ht(r)?[new zt(e,r,'color expected, "'+r+'" found')]:[]},constants:Ct,enum:Dr,filter:Zr,function:Mr,layer:Kr,object:Cr,source:Hr,light:Jr,string:Yr,formatted:function(t){return 0===Yr(t).length?[]:Lr(t)},resolvedImage:function(t){return 0===Yr(t).length?[]:Lr(t)}};function $r(t){var e=t.value,r=t.valueSpec,i=t.styleSpec;return r.expression&&mr(Pt(e))?Mr(t):r.expression&&Sr(Mt(e))?Lr(t):r.type&&Qr[r.type]?Qr[r.type](t):Cr(kt({},t,{valueSpec:r.type?i[r.type]:r}))}function ti(t){var e=t.value,r=t.key,i=Yr(t);return i.length?i:(-1===e.indexOf("{fontstack}")&&i.push(new zt(r,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&i.push(new zt(r,e,'"glyphs" url must include a "{range}" token')),i)}function ei(t,e){void 0===e&&(e=At);var r=[];return r=r.concat($r({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:ti,"*":function(){return[]}}})),t.constants&&(r=r.concat(Ct({key:"constants",value:t.constants,style:t,styleSpec:e}))),ri(r)}function ri(t){return[].concat(t).sort((function(t,e){return t.line-e.line}))}function ii(t){return function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return ri(t.apply(this,e))}}ei.source=ii(Hr),ei.light=ii(Jr),ei.layer=ii(Kr),ei.filter=ii(Zr),ei.paintProperty=ii(Xr),ei.layoutProperty=ii(Wr);var ni=ei,oi=ni.light,ai=ni.paintProperty,si=ni.layoutProperty;function li(t,e){var r=!1;if(e&&e.length)for(var i=0,n=e;i<n.length;i+=1){var o=n[i];t.fire(new Tt(new Error(o.message))),r=!0}return r}var ui=ci;function ci(t,e,r){var i=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;var n=new Int32Array(this.arrayBuffer);t=n[0],e=n[1],r=n[2],this.d=e+2*r;for(var o=0;o<this.d*this.d;o++){var a=n[3+o],s=n[3+o+1];i.push(a===s?null:n.subarray(a,s))}var l=n[3+i.length],u=n[3+i.length+1];this.keys=n.subarray(l,u),this.bboxes=n.subarray(u),this.insert=this._insertReadonly}else{this.d=e+2*r;for(var c=0;c<this.d*this.d;c++)i.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=t,this.padding=r,this.scale=e/t,this.uid=0;var p=r/e*t;this.min=-p,this.max=t+p}ci.prototype.insert=function(t,e,r,i,n){this._forEachCell(e,r,i,n,this._insertCell,this.uid++),this.keys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(i),this.bboxes.push(n)},ci.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},ci.prototype._insertCell=function(t,e,r,i,n,o){this.cells[n].push(o)},ci.prototype.query=function(t,e,r,i,n){var o=this.min,a=this.max;if(t<=o&&e<=o&&a<=r&&a<=i&&!n)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(t,e,r,i,this._queryCell,s,{},n),s},ci.prototype._queryCell=function(t,e,r,i,n,o,a,s){var l=this.cells[n];if(null!==l)for(var u=this.keys,c=this.bboxes,p=0;p<l.length;p++){var h=l[p];if(void 0===a[h]){var f=4*h;(s?s(c[f+0],c[f+1],c[f+2],c[f+3]):t<=c[f+2]&&e<=c[f+3]&&r>=c[f+0]&&i>=c[f+1])?(a[h]=!0,o.push(u[h])):a[h]=!1}}},ci.prototype._forEachCell=function(t,e,r,i,n,o,a,s){for(var l=this._convertToCellCoord(t),u=this._convertToCellCoord(e),c=this._convertToCellCoord(r),p=this._convertToCellCoord(i),h=l;h<=c;h++)for(var f=u;f<=p;f++){var d=this.d*f+h;if((!s||s(this._convertFromCellCoord(h),this._convertFromCellCoord(f),this._convertFromCellCoord(h+1),this._convertFromCellCoord(f+1)))&&n.call(this,t,e,r,i,d,o,a,s))return}},ci.prototype._convertFromCellCoord=function(t){return(t-this.padding)/this.scale},ci.prototype._convertToCellCoord=function(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))},ci.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var t=this.cells,e=3+this.cells.length+1+1,r=0,i=0;i<this.cells.length;i++)r+=this.cells[i].length;var n=new Int32Array(e+r+this.keys.length+this.bboxes.length);n[0]=this.extent,n[1]=this.n,n[2]=this.padding;for(var o=e,a=0;a<t.length;a++){var s=t[a];n[3+a]=o,n.set(s,o),o+=s.length}return n[3+t.length]=o,n.set(this.keys,o),o+=this.keys.length,n[3+t.length+1]=o,n.set(this.bboxes,o),o+=this.bboxes.length,n.buffer};var pi=self.ImageData,hi={};function fi(t,e,r){void 0===r&&(r={}),Object.defineProperty(e,"_classRegistryKey",{value:t,writeable:!1}),hi[t]={klass:e,omit:r.omit||[],shallow:r.shallow||[]}}for(var di in fi("Object",Object),ui.serialize=function(t,e){var r=t.toArrayBuffer();return e&&e.push(r),{buffer:r}},ui.deserialize=function(t){return new ui(t.buffer)},fi("Grid",ui),fi("Color",Jt),fi("Error",Error),fi("ResolvedImage",te),fi("StylePropertyFunction",zr),fi("StyleExpression",wr,{omit:["_evaluator"]}),fi("ZoomDependentExpression",Ir),fi("ZoomConstantExpression",Tr),fi("CompoundExpression",de,{omit:["_evaluate"]}),nr)nr[di]._classRegistryKey||fi("Expression_"+di,nr[di]);function mi(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function yi(t,e){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp)return t;if(mi(t))return e&&e.push(t),t;if(ArrayBuffer.isView(t)){var r=t;return e&&e.push(r.buffer),r}if(t instanceof pi)return e&&e.push(t.data.buffer),t;if(Array.isArray(t)){for(var i=[],n=0,o=t;n<o.length;n+=1){var a=o[n];i.push(yi(a,e))}return i}if("object"==typeof t){var s=t.constructor,l=s._classRegistryKey;if(!l)throw new Error("can't serialize object of unregistered class");var u=s.serialize?s.serialize(t,e):{};if(!s.serialize){for(var c in t)if(t.hasOwnProperty(c)&&!(hi[l].omit.indexOf(c)>=0)){var p=t[c];u[c]=hi[l].shallow.indexOf(c)>=0?p:yi(p,e)}t instanceof Error&&(u.message=t.message)}if(u.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==l&&(u.$name=l),u}throw new Error("can't serialize object of type "+typeof t)}function _i(t){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||mi(t)||ArrayBuffer.isView(t)||t instanceof pi)return t;if(Array.isArray(t))return t.map(_i);if("object"==typeof t){var e=t.$name||"Object",r=hi[e].klass;if(!r)throw new Error("can't deserialize unregistered class "+e);if(r.deserialize)return r.deserialize(t);for(var i=Object.create(r.prototype),n=0,o=Object.keys(t);n<o.length;n+=1){var a=o[n];if("$name"!==a){var s=t[a];i[a]=hi[e].shallow.indexOf(a)>=0?s:_i(s)}}return i}throw new Error("can't deserialize object of type "+typeof t)}var gi=function(){this.first=!0};gi.prototype.update=function(t,e){var r=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=r,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=r,!0):(this.lastFloorZoom>r?(this.lastIntegerZoom=r+1,this.lastIntegerZoomTime=e):this.lastFloorZoom<r&&(this.lastIntegerZoom=r,this.lastIntegerZoomTime=e),t!==this.lastZoom&&(this.lastZoom=t,this.lastFloorZoom=r,!0))};var vi={"Latin-1 Supplement":function(t){return t>=128&&t<=255},Arabic:function(t){return t>=1536&&t<=1791},"Arabic Supplement":function(t){return t>=1872&&t<=1919},"Arabic Extended-A":function(t){return t>=2208&&t<=2303},"Hangul Jamo":function(t){return t>=4352&&t<=4607},"Unified Canadian Aboriginal Syllabics":function(t){return t>=5120&&t<=5759},Khmer:function(t){return t>=6016&&t<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(t){return t>=6320&&t<=6399},"General Punctuation":function(t){return t>=8192&&t<=8303},"Letterlike Symbols":function(t){return t>=8448&&t<=8527},"Number Forms":function(t){return t>=8528&&t<=8591},"Miscellaneous Technical":function(t){return t>=8960&&t<=9215},"Control Pictures":function(t){return t>=9216&&t<=9279},"Optical Character Recognition":function(t){return t>=9280&&t<=9311},"Enclosed Alphanumerics":function(t){return t>=9312&&t<=9471},"Geometric Shapes":function(t){return t>=9632&&t<=9727},"Miscellaneous Symbols":function(t){return t>=9728&&t<=9983},"Miscellaneous Symbols and Arrows":function(t){return t>=11008&&t<=11263},"CJK Radicals Supplement":function(t){return t>=11904&&t<=12031},"Kangxi Radicals":function(t){return t>=12032&&t<=12255},"Ideographic Description Characters":function(t){return t>=12272&&t<=12287},"CJK Symbols and Punctuation":function(t){return t>=12288&&t<=12351},Hiragana:function(t){return t>=12352&&t<=12447},Katakana:function(t){return t>=12448&&t<=12543},Bopomofo:function(t){return t>=12544&&t<=12591},"Hangul Compatibility Jamo":function(t){return t>=12592&&t<=12687},Kanbun:function(t){return t>=12688&&t<=12703},"Bopomofo Extended":function(t){return t>=12704&&t<=12735},"CJK Strokes":function(t){return t>=12736&&t<=12783},"Katakana Phonetic Extensions":function(t){return t>=12784&&t<=12799},"Enclosed CJK Letters and Months":function(t){return t>=12800&&t<=13055},"CJK Compatibility":function(t){return t>=13056&&t<=13311},"CJK Unified Ideographs Extension A":function(t){return t>=13312&&t<=19903},"Yijing Hexagram Symbols":function(t){return t>=19904&&t<=19967},"CJK Unified Ideographs":function(t){return t>=19968&&t<=40959},"Yi Syllables":function(t){return t>=40960&&t<=42127},"Yi Radicals":function(t){return t>=42128&&t<=42191},"Hangul Jamo Extended-A":function(t){return t>=43360&&t<=43391},"Hangul Syllables":function(t){return t>=44032&&t<=55215},"Hangul Jamo Extended-B":function(t){return t>=55216&&t<=55295},"Private Use Area":function(t){return t>=57344&&t<=63743},"CJK Compatibility Ideographs":function(t){return t>=63744&&t<=64255},"Arabic Presentation Forms-A":function(t){return t>=64336&&t<=65023},"Vertical Forms":function(t){return t>=65040&&t<=65055},"CJK Compatibility Forms":function(t){return t>=65072&&t<=65103},"Small Form Variants":function(t){return t>=65104&&t<=65135},"Arabic Presentation Forms-B":function(t){return t>=65136&&t<=65279},"Halfwidth and Fullwidth Forms":function(t){return t>=65280&&t<=65519}};function xi(t){for(var e=0,r=t;e<r.length;e+=1)if(wi(r[e].charCodeAt(0)))return!0;return!1}function bi(t){return!(vi.Arabic(t)||vi["Arabic Supplement"](t)||vi["Arabic Extended-A"](t)||vi["Arabic Presentation Forms-A"](t)||vi["Arabic Presentation Forms-B"](t))}function wi(t){return!(746!==t&&747!==t&&(t<4352||!(vi["Bopomofo Extended"](t)||vi.Bopomofo(t)||vi["CJK Compatibility Forms"](t)&&!(t>=65097&&t<=65103)||vi["CJK Compatibility Ideographs"](t)||vi["CJK Compatibility"](t)||vi["CJK Radicals Supplement"](t)||vi["CJK Strokes"](t)||!(!vi["CJK Symbols and Punctuation"](t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||vi["CJK Unified Ideographs Extension A"](t)||vi["CJK Unified Ideographs"](t)||vi["Enclosed CJK Letters and Months"](t)||vi["Hangul Compatibility Jamo"](t)||vi["Hangul Jamo Extended-A"](t)||vi["Hangul Jamo Extended-B"](t)||vi["Hangul Jamo"](t)||vi["Hangul Syllables"](t)||vi.Hiragana(t)||vi["Ideographic Description Characters"](t)||vi.Kanbun(t)||vi["Kangxi Radicals"](t)||vi["Katakana Phonetic Extensions"](t)||vi.Katakana(t)&&12540!==t||!(!vi["Halfwidth and Fullwidth Forms"](t)||65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||!(!vi["Small Form Variants"](t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||vi["Unified Canadian Aboriginal Syllabics"](t)||vi["Unified Canadian Aboriginal Syllabics Extended"](t)||vi["Vertical Forms"](t)||vi["Yijing Hexagram Symbols"](t)||vi["Yi Syllables"](t)||vi["Yi Radicals"](t))))}function Si(t){return!(wi(t)||function(t){return!!(vi["Latin-1 Supplement"](t)&&(167===t||169===t||174===t||177===t||188===t||189===t||190===t||215===t||247===t)||vi["General Punctuation"](t)&&(8214===t||8224===t||8225===t||8240===t||8241===t||8251===t||8252===t||8258===t||8263===t||8264===t||8265===t||8273===t)||vi["Letterlike Symbols"](t)||vi["Number Forms"](t)||vi["Miscellaneous Technical"](t)&&(t>=8960&&t<=8967||t>=8972&&t<=8991||t>=8996&&t<=9e3||9003===t||t>=9085&&t<=9114||t>=9150&&t<=9165||9167===t||t>=9169&&t<=9179||t>=9186&&t<=9215)||vi["Control Pictures"](t)&&9251!==t||vi["Optical Character Recognition"](t)||vi["Enclosed Alphanumerics"](t)||vi["Geometric Shapes"](t)||vi["Miscellaneous Symbols"](t)&&!(t>=9754&&t<=9759)||vi["Miscellaneous Symbols and Arrows"](t)&&(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243)||vi["CJK Symbols and Punctuation"](t)||vi.Katakana(t)||vi["Private Use Area"](t)||vi["CJK Compatibility Forms"](t)||vi["Small Form Variants"](t)||vi["Halfwidth and Fullwidth Forms"](t)||8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)}(t))}function Ei(t){return t>=1424&&t<=2303||vi["Arabic Presentation Forms-A"](t)||vi["Arabic Presentation Forms-B"](t)}function Ti(t,e){return!(!e&&Ei(t)||t>=2304&&t<=3583||t>=3840&&t<=4255||vi.Khmer(t))}function Ii(t){for(var e=0,r=t;e<r.length;e+=1)if(Ei(r[e].charCodeAt(0)))return!0;return!1}var Ai="deferred",zi="loading",Ci="loaded",ki=null,Pi="unavailable",Mi=null,Li=function(t){ki&&ki(t)};function Di(){Bi.fire(new Et("pluginStateChange",{pluginStatus:Pi,pluginURL:Mi}))}var Bi=new It,Ri=function(){return Pi},Fi=function(){if(Pi!==Ai||!Mi)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");Pi=zi,Di(),Mi&&vt({url:Mi},(function(t){t?Li(t):(Pi=Ci,Di())}))},Oi={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return Pi===Ci||null!=Oi.applyArabicShaping},isLoading:function(){return Pi===zi},setState:function(t){Pi=t.pluginStatus,Mi=t.pluginURL},isParsed:function(){return null!=Oi.applyArabicShaping&&null!=Oi.processBidirectionalText&&null!=Oi.processStyledBidirectionalText},getPluginURL:function(){return Mi}},Ui=function(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new gi,this.transition={})};Ui.prototype.isSupportedScript=function(t){return function(t,e){for(var r=0,i=t;r<i.length;r+=1)if(!Ti(i[r].charCodeAt(0),e))return!1;return!0}(t,Oi.isLoaded())},Ui.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},Ui.prototype.getCrossfadeParameters=function(){var t=this.zoom,e=t-Math.floor(t),r=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*r}:{fromScale:.5,toScale:1,t:1-(1-r)*e}};var Vi=function(t,e){this.property=t,this.value=e,this.expression=function(t,e){if(mr(t))return new zr(t,e);if(Sr(t)){var r=Ar(t,e);if("error"===r.result)throw new Error(r.value.map((function(t){return t.key+": "+t.message})).join(", "));return r.value}var i=t;return"string"==typeof t&&"color"===e.type&&(i=Jt.parse(t)),{kind:"constant",evaluate:function(){return i}}}(void 0===e?t.specification.default:e,t.specification)};Vi.prototype.isDataDriven=function(){return"source"===this.expression.kind||"composite"===this.expression.kind},Vi.prototype.possiblyEvaluate=function(t,e){return this.property.possiblyEvaluate(this,t,e)};var Ni=function(t){this.property=t,this.value=new Vi(t,void 0)};Ni.prototype.transitioned=function(t,e){return new qi(this.property,this.value,e,p({},t.transition,this.transition),t.now)},Ni.prototype.untransitioned=function(){return new qi(this.property,this.value,null,{},0)};var ji=function(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues)};ji.prototype.getValue=function(t){return x(this._values[t].value.value)},ji.prototype.setValue=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Ni(this._values[t].property)),this._values[t].value=new Vi(this._values[t].property,null===e?void 0:x(e))},ji.prototype.getTransition=function(t){return x(this._values[t].transition)},ji.prototype.setTransition=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Ni(this._values[t].property)),this._values[t].transition=x(e)||void 0},ji.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e],n=this.getValue(i);void 0!==n&&(t[i]=n);var o=this.getTransition(i);void 0!==o&&(t[i+"-transition"]=o)}return t},ji.prototype.transitioned=function(t,e){for(var r=new Zi(this._properties),i=0,n=Object.keys(this._values);i<n.length;i+=1){var o=n[i];r._values[o]=this._values[o].transitioned(t,e._values[o])}return r},ji.prototype.untransitioned=function(){for(var t=new Zi(this._properties),e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e];t._values[i]=this._values[i].untransitioned()}return t};var qi=function(t,e,r,i,n){this.property=t,this.value=e,this.begin=n+i.delay||0,this.end=this.begin+i.duration||0,t.specification.transition&&(i.delay||i.duration)&&(this.prior=r)};qi.prototype.possiblyEvaluate=function(t,e){var r=t.now||0,i=this.value.possiblyEvaluate(t,e),n=this.prior;if(n){if(r>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(r<this.begin)return n.possiblyEvaluate(t,e);var o=(r-this.begin)/(this.end-this.begin);return this.property.interpolate(n.possiblyEvaluate(t,e),i,function(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}(o))}return i};var Zi=function(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues)};Zi.prototype.possiblyEvaluate=function(t,e){for(var r=new Wi(this._properties),i=0,n=Object.keys(this._values);i<n.length;i+=1){var o=n[i];r._values[o]=this._values[o].possiblyEvaluate(t,e)}return r},Zi.prototype.hasTransition=function(){for(var t=0,e=Object.keys(this._values);t<e.length;t+=1){var r=e[t];if(this._values[r].prior)return!0}return!1};var Gi=function(t){this._properties=t,this._values=Object.create(t.defaultPropertyValues)};Gi.prototype.getValue=function(t){return x(this._values[t].value)},Gi.prototype.setValue=function(t,e){this._values[t]=new Vi(this._values[t].property,null===e?void 0:x(e))},Gi.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e],n=this.getValue(i);void 0!==n&&(t[i]=n)}return t},Gi.prototype.possiblyEvaluate=function(t,e){for(var r=new Wi(this._properties),i=0,n=Object.keys(this._values);i<n.length;i+=1){var o=n[i];r._values[o]=this._values[o].possiblyEvaluate(t,e)}return r};var Xi=function(t,e,r){this.property=t,this.value=e,this.parameters=r};Xi.prototype.isConstant=function(){return"constant"===this.value.kind},Xi.prototype.constantOr=function(t){return"constant"===this.value.kind?this.value.value:t},Xi.prototype.evaluate=function(t,e,r){return this.property.evaluate(this.value,this.parameters,t,e,r)};var Wi=function(t){this._properties=t,this._values=Object.create(t.defaultPossiblyEvaluatedValues)};Wi.prototype.get=function(t){return this._values[t]};var Ki=function(t){this.specification=t};Ki.prototype.possiblyEvaluate=function(t,e){return t.expression.evaluate(e)},Ki.prototype.interpolate=function(t,e,r){var i=Ee[this.specification.type];return i?i(t,e,r):t};var Hi=function(t,e){this.specification=t,this.overrides=e};Hi.prototype.possiblyEvaluate=function(t,e,r){return"constant"===t.expression.kind||"camera"===t.expression.kind?new Xi(this,{kind:"constant",value:t.expression.evaluate(e,null,{},r)},e):new Xi(this,t.expression,e)},Hi.prototype.interpolate=function(t,e,r){if("constant"!==t.value.kind||"constant"!==e.value.kind)return t;if(void 0===t.value.value||void 0===e.value.value)return new Xi(this,{kind:"constant",value:void 0},t.parameters);var i=Ee[this.specification.type];return i?new Xi(this,{kind:"constant",value:i(t.value.value,e.value.value,r)},t.parameters):t},Hi.prototype.evaluate=function(t,e,r,i,n){return"constant"===t.kind?t.value:t.evaluate(e,r,i,n)};var Ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(t,e,r){if(void 0===t.value)return new Xi(this,{kind:"constant",value:void 0},e);if("constant"===t.expression.kind){var i=t.expression.evaluate(e,null,{},r),n="resolvedImage"===t.property.specification.type&&"string"!=typeof i?i.name:i,o=this._calculate(n,n,n,e);return new Xi(this,{kind:"constant",value:o},e)}if("camera"===t.expression.kind){var a=this._calculate(t.expression.evaluate({zoom:e.zoom-1}),t.expression.evaluate({zoom:e.zoom}),t.expression.evaluate({zoom:e.zoom+1}),e);return new Xi(this,{kind:"constant",value:a},e)}return new Xi(this,t.expression,e)},e.prototype.evaluate=function(t,e,r,i,n){if("source"===t.kind){var o=t.evaluate(e,r,i,n);return this._calculate(o,o,o,e)}return"composite"===t.kind?this._calculate(t.evaluate({zoom:Math.floor(e.zoom)-1},r,i),t.evaluate({zoom:Math.floor(e.zoom)},r,i),t.evaluate({zoom:Math.floor(e.zoom)+1},r,i),e):t.value},e.prototype._calculate=function(t,e,r,i){return i.zoom>i.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},e.prototype.interpolate=function(t){return t},e}(Hi),Yi=function(t){this.specification=t};Yi.prototype.possiblyEvaluate=function(t,e,r){if(void 0!==t.value){if("constant"===t.expression.kind){var i=t.expression.evaluate(e,null,{},r);return this._calculate(i,i,i,e)}return this._calculate(t.expression.evaluate(new Ui(Math.floor(e.zoom-1),e)),t.expression.evaluate(new Ui(Math.floor(e.zoom),e)),t.expression.evaluate(new Ui(Math.floor(e.zoom+1),e)),e)}},Yi.prototype._calculate=function(t,e,r,i){return i.zoom>i.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},Yi.prototype.interpolate=function(t){return t};var Qi=function(t){this.specification=t};Qi.prototype.possiblyEvaluate=function(t,e,r){return!!t.expression.evaluate(e,null,{},r)},Qi.prototype.interpolate=function(){return!1};var $i=function(t){for(var e in this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],t){var r=t[e];r.specification.overridable&&this.overridableProperties.push(e);var i=this.defaultPropertyValues[e]=new Vi(r,void 0),n=this.defaultTransitionablePropertyValues[e]=new Ni(r);this.defaultTransitioningPropertyValues[e]=n.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=i.possiblyEvaluate({})}};fi("DataDrivenProperty",Hi),fi("DataConstantProperty",Ki),fi("CrossFadedDataDrivenProperty",Ji),fi("CrossFadedProperty",Yi),fi("ColorRampProperty",Qi);var tn=function(t){function e(e,r){if(t.call(this),this.id=e.id,this.type=e.type,this._featureFilter=function(){return!0},"custom"!==e.type&&(e=e,this.metadata=e.metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,"background"!==e.type&&(this.source=e.source,this.sourceLayer=e["source-layer"],this.filter=e.filter),r.layout&&(this._unevaluatedLayout=new Gi(r.layout)),r.paint)){for(var i in this._transitionablePaint=new ji(r.paint),e.paint)this.setPaintProperty(i,e.paint[i],{validate:!1});for(var n in e.layout)this.setLayoutProperty(n,e.layout[n],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned()}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},e.prototype.getLayoutProperty=function(t){return"visibility"===t?this.visibility:this._unevaluatedLayout.getValue(t)},e.prototype.setLayoutProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var i="layers."+this.id+".layout."+t;if(this._validate(si,i,t,e,r))return}"visibility"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility=e},e.prototype.getPaintProperty=function(t){return _(t,"-transition")?this._transitionablePaint.getTransition(t.slice(0,-"-transition".length)):this._transitionablePaint.getValue(t)},e.prototype.setPaintProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var i="layers."+this.id+".paint."+t;if(this._validate(ai,i,t,e,r))return!1}if(_(t,"-transition"))return this._transitionablePaint.setTransition(t.slice(0,-"-transition".length),e||void 0),!1;var n=this._transitionablePaint._values[t],o="cross-faded-data-driven"===n.property.specification["property-type"],a=n.value.isDataDriven(),s=n.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);var l=this._transitionablePaint._values[t].value;return l.isDataDriven()||a||o||this._handleOverridablePaintPropertyUpdate(t,s,l)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){},e.prototype._handleOverridablePaintPropertyUpdate=function(t,e,r){return!1},e.prototype.isHidden=function(t){return!!(this.minzoom&&t<this.minzoom)||!!(this.maxzoom&&t>=this.maxzoom)||"none"===this.visibility},e.prototype.updateTransitions=function(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint)},e.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},e.prototype.recalculate=function(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,e)},e.prototype.serialize=function(){var t={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(t.layout=t.layout||{},t.layout.visibility=this.visibility),v(t,(function(t,e){return!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)}))},e.prototype._validate=function(t,e,r,i,n){return void 0===n&&(n={}),(!n||!1!==n.validate)&&li(this,t.call(ni,{key:e,layerType:this.type,objectKey:r,value:i,styleSpec:At,style:{glyphs:!0,sprite:!0}}))},e.prototype.is3D=function(){return!1},e.prototype.isTileClipped=function(){return!1},e.prototype.hasOffscreenPass=function(){return!1},e.prototype.resize=function(){},e.prototype.isStateDependent=function(){for(var t in this.paint._values){var e=this.paint.get(t);if(e instanceof Xi&&pr(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return!0}return!1},e}(It),en={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},rn=function(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},nn=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function on(t,e){void 0===e&&(e=1);var r=0,i=0;return{members:t.map((function(t){var n,o=(n=t.type,en[n].BYTES_PER_ELEMENT),a=r=an(r,Math.max(e,o)),s=t.components||1;return i=Math.max(i,o),r+=o*s,{name:t.name,type:t.type,components:s,offset:a}})),size:an(r,Math.max(i,e)),alignment:e}}function an(t,e){return Math.ceil(t/e)*e}nn.serialize=function(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}},nn.deserialize=function(t){var e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e},nn.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},nn.prototype.clear=function(){this.length=0},nn.prototype.resize=function(t){this.reserve(t),this.length=t},nn.prototype.reserve=function(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var e=this.uint8;this._refreshViews(),e&&this.uint8.set(e)}},nn.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var sn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.int16[i+0]=e,this.int16[i+1]=r,t},e}(nn);sn.prototype.bytesPerElement=4,fi("StructArrayLayout2i4",sn);var ln=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=4*t;return this.int16[o+0]=e,this.int16[o+1]=r,this.int16[o+2]=i,this.int16[o+3]=n,t},e}(nn);ln.prototype.bytesPerElement=8,fi("StructArrayLayout4i8",ln);var un=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=i,this.int16[s+3]=n,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(nn);un.prototype.bytesPerElement=12,fi("StructArrayLayout2i4i12",un);var cn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=4*t,l=8*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.uint8[l+4]=i,this.uint8[l+5]=n,this.uint8[l+6]=o,this.uint8[l+7]=a,t},e}(nn);cn.prototype.bytesPerElement=8,fi("StructArrayLayout2i4ub8",cn);var pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s){var l=this.length;return this.resize(l+1),this.emplace(l,t,e,r,i,n,o,a,s)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l){var u=8*t;return this.uint16[u+0]=e,this.uint16[u+1]=r,this.uint16[u+2]=i,this.uint16[u+3]=n,this.uint16[u+4]=o,this.uint16[u+5]=a,this.uint16[u+6]=s,this.uint16[u+7]=l,t},e}(nn);pn.prototype.bytesPerElement=16,fi("StructArrayLayout8ui16",pn);var hn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,l,u,c,p){var h=this.length;return this.resize(h+1),this.emplace(h,t,e,r,i,n,o,a,s,l,u,c,p)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l,u,c,p,h){var f=12*t;return this.int16[f+0]=e,this.int16[f+1]=r,this.int16[f+2]=i,this.int16[f+3]=n,this.uint16[f+4]=o,this.uint16[f+5]=a,this.uint16[f+6]=s,this.uint16[f+7]=l,this.int16[f+8]=u,this.int16[f+9]=c,this.int16[f+10]=p,this.int16[f+11]=h,t},e}(nn);hn.prototype.bytesPerElement=24,fi("StructArrayLayout4i4ui4i24",hn);var fn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.float32[n+0]=e,this.float32[n+1]=r,this.float32[n+2]=i,t},e}(nn);fn.prototype.bytesPerElement=12,fi("StructArrayLayout3f12",fn);var dn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint32[r+0]=e,t},e}(nn);dn.prototype.bytesPerElement=4,fi("StructArrayLayout1ul4",dn);var mn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,l,u,c){var p=this.length;return this.resize(p+1),this.emplace(p,t,e,r,i,n,o,a,s,l,u,c)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l,u,c,p){var h=12*t,f=6*t;return this.int16[h+0]=e,this.int16[h+1]=r,this.int16[h+2]=i,this.int16[h+3]=n,this.int16[h+4]=o,this.int16[h+5]=a,this.uint32[f+3]=s,this.uint16[h+8]=l,this.uint16[h+9]=u,this.int16[h+10]=c,this.int16[h+11]=p,t},e}(nn);mn.prototype.bytesPerElement=24,fi("StructArrayLayout6i1ul2ui2i24",mn);var yn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=i,this.int16[s+3]=n,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(nn);yn.prototype.bytesPerElement=12,fi("StructArrayLayout2i2i2i12",yn);var _n=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=12*t,a=3*t;return this.uint8[o+0]=e,this.uint8[o+1]=r,this.float32[a+1]=i,this.float32[a+2]=n,t},e}(nn);_n.prototype.bytesPerElement=12,fi("StructArrayLayout2ub2f12",_n);var gn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y){var _=this.length;return this.resize(_+1),this.emplace(_,t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_){var g=24*t,v=12*t,x=48*t;return this.int16[g+0]=e,this.int16[g+1]=r,this.uint16[g+2]=i,this.uint16[g+3]=n,this.uint32[v+2]=o,this.uint32[v+3]=a,this.uint32[v+4]=s,this.uint16[g+10]=l,this.uint16[g+11]=u,this.uint16[g+12]=c,this.float32[v+7]=p,this.float32[v+8]=h,this.uint8[x+36]=f,this.uint8[x+37]=d,this.uint8[x+38]=m,this.uint32[v+10]=y,this.int16[g+22]=_,t},e}(nn);gn.prototype.bytesPerElement=48,fi("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",gn);var vn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_,g,v,x,b,w,S,E,T){var I=this.length;return this.resize(I+1),this.emplace(I,t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_,g,v,x,b,w,S,E,T)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_,g,v,x,b,w,S,E,T,I){var A=30*t,z=15*t;return this.int16[A+0]=e,this.int16[A+1]=r,this.int16[A+2]=i,this.int16[A+3]=n,this.int16[A+4]=o,this.int16[A+5]=a,this.int16[A+6]=s,this.int16[A+7]=l,this.uint16[A+8]=u,this.uint16[A+9]=c,this.uint16[A+10]=p,this.uint16[A+11]=h,this.uint16[A+12]=f,this.uint16[A+13]=d,this.uint16[A+14]=m,this.uint16[A+15]=y,this.uint16[A+16]=_,this.uint16[A+17]=g,this.uint16[A+18]=v,this.uint16[A+19]=x,this.uint16[A+20]=b,this.uint16[A+21]=w,this.uint32[z+11]=S,this.float32[z+12]=E,this.float32[z+13]=T,this.float32[z+14]=I,t},e}(nn);vn.prototype.bytesPerElement=60,fi("StructArrayLayout8i14ui1ul3f60",vn);var xn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.float32[r+0]=e,t},e}(nn);xn.prototype.bytesPerElement=4,fi("StructArrayLayout1f4",xn);var bn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.int16[n+0]=e,this.int16[n+1]=r,this.int16[n+2]=i,t},e}(nn);bn.prototype.bytesPerElement=6,fi("StructArrayLayout3i6",bn);var wn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=2*t,o=4*t;return this.uint32[n+0]=e,this.uint16[o+2]=r,this.uint16[o+3]=i,t},e}(nn);wn.prototype.bytesPerElement=8,fi("StructArrayLayout1ul2ui8",wn);var Sn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.uint16[n+0]=e,this.uint16[n+1]=r,this.uint16[n+2]=i,t},e}(nn);Sn.prototype.bytesPerElement=6,fi("StructArrayLayout3ui6",Sn);var En=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.uint16[i+0]=e,this.uint16[i+1]=r,t},e}(nn);En.prototype.bytesPerElement=4,fi("StructArrayLayout2ui4",En);var Tn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint16[r+0]=e,t},e}(nn);Tn.prototype.bytesPerElement=2,fi("StructArrayLayout1ui2",Tn);var In=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.float32[i+0]=e,this.float32[i+1]=r,t},e}(nn);In.prototype.bytesPerElement=8,fi("StructArrayLayout2f8",In);var An=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=4*t;return this.float32[o+0]=e,this.float32[o+1]=r,this.float32[o+2]=i,this.float32[o+3]=n,t},e}(nn);An.prototype.bytesPerElement=16,fi("StructArrayLayout4f16",An);var zn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},radius:{configurable:!0},signedDistanceFromAnchor:{configurable:!0},anchorPoint:{configurable:!0}};return r.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorPointX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorPointY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.x1.get=function(){return this._structArray.int16[this._pos2+2]},r.x1.set=function(t){this._structArray.int16[this._pos2+2]=t},r.y1.get=function(){return this._structArray.int16[this._pos2+3]},r.y1.set=function(t){this._structArray.int16[this._pos2+3]=t},r.x2.get=function(){return this._structArray.int16[this._pos2+4]},r.x2.set=function(t){this._structArray.int16[this._pos2+4]=t},r.y2.get=function(){return this._structArray.int16[this._pos2+5]},r.y2.set=function(t){this._structArray.int16[this._pos2+5]=t},r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+8]=t},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t},r.radius.get=function(){return this._structArray.int16[this._pos2+10]},r.radius.set=function(t){this._structArray.int16[this._pos2+10]=t},r.signedDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+11]},r.signedDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+11]=t},r.anchorPoint.get=function(){return new n(this.anchorPointX,this.anchorPointY)},Object.defineProperties(e.prototype,r),e}(rn);zn.prototype.size=24;var Cn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new zn(this,t)},e}(mn);fi("CollisionBoxArray",Cn);var kn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.glyphStartIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t},r.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},r.numGlyphs.set=function(t){this._structArray.uint16[this._pos2+3]=t},r.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},r.vertexStartIndex.set=function(t){this._structArray.uint32[this._pos4+2]=t},r.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.lineStartIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t},r.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},r.lineLength.set=function(t){this._structArray.uint32[this._pos4+4]=t},r.segment.get=function(){return this._structArray.uint16[this._pos2+10]},r.segment.set=function(t){this._structArray.uint16[this._pos2+10]=t},r.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},r.lowerSize.set=function(t){this._structArray.uint16[this._pos2+11]=t},r.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},r.upperSize.set=function(t){this._structArray.uint16[this._pos2+12]=t},r.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},r.lineOffsetX.set=function(t){this._structArray.float32[this._pos4+7]=t},r.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},r.lineOffsetY.set=function(t){this._structArray.float32[this._pos4+8]=t},r.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},r.writingMode.set=function(t){this._structArray.uint8[this._pos1+36]=t},r.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},r.placedOrientation.set=function(t){this._structArray.uint8[this._pos1+37]=t},r.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},r.hidden.set=function(t){this._structArray.uint8[this._pos1+38]=t},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+10]=t},r.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},r.associatedIconIndex.set=function(t){this._structArray.int16[this._pos2+22]=t},Object.defineProperties(e.prototype,r),e}(rn);kn.prototype.size=48;var Pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new kn(this,t)},e}(gn);fi("PlacedSymbolArray",Pn);var Mn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},r.rightJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+2]=t},r.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},r.centerJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+3]=t},r.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},r.leftJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+4]=t},r.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},r.verticalPlacedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+5]=t},r.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},r.placedIconSymbolIndex.set=function(t){this._structArray.int16[this._pos2+6]=t},r.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},r.verticalPlacedIconSymbolIndex.set=function(t){this._structArray.int16[this._pos2+7]=t},r.key.get=function(){return this._structArray.uint16[this._pos2+8]},r.key.set=function(t){this._structArray.uint16[this._pos2+8]=t},r.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.textBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t},r.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},r.textBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+10]=t},r.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},r.verticalTextBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+11]=t},r.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},r.verticalTextBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+12]=t},r.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},r.iconBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+13]=t},r.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},r.iconBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+14]=t},r.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},r.verticalIconBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+15]=t},r.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},r.verticalIconBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+16]=t},r.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},r.featureIndex.set=function(t){this._structArray.uint16[this._pos2+17]=t},r.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},r.numHorizontalGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+18]=t},r.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},r.numVerticalGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+19]=t},r.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},r.numIconVertices.set=function(t){this._structArray.uint16[this._pos2+20]=t},r.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},r.numVerticalIconVertices.set=function(t){this._structArray.uint16[this._pos2+21]=t},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+11]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+11]=t},r.textBoxScale.get=function(){return this._structArray.float32[this._pos4+12]},r.textBoxScale.set=function(t){this._structArray.float32[this._pos4+12]=t},r.textOffset0.get=function(){return this._structArray.float32[this._pos4+13]},r.textOffset0.set=function(t){this._structArray.float32[this._pos4+13]=t},r.textOffset1.get=function(){return this._structArray.float32[this._pos4+14]},r.textOffset1.set=function(t){this._structArray.float32[this._pos4+14]=t},Object.defineProperties(e.prototype,r),e}(rn);Mn.prototype.size=60;var Ln=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new Mn(this,t)},e}(vn);fi("SymbolInstanceArray",Ln);var Dn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={offsetX:{configurable:!0}};return r.offsetX.get=function(){return this._structArray.float32[this._pos4+0]},r.offsetX.set=function(t){this._structArray.float32[this._pos4+0]=t},Object.defineProperties(e.prototype,r),e}(rn);Dn.prototype.size=4;var Bn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getoffsetX=function(t){return this.float32[1*t+0]},e.prototype.get=function(t){return new Dn(this,t)},e}(xn);fi("GlyphOffsetArray",Bn);var Rn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={x:{configurable:!0},y:{configurable:!0},tileUnitDistanceFromAnchor:{configurable:!0}};return r.x.get=function(){return this._structArray.int16[this._pos2+0]},r.x.set=function(t){this._structArray.int16[this._pos2+0]=t},r.y.get=function(){return this._structArray.int16[this._pos2+1]},r.y.set=function(t){this._structArray.int16[this._pos2+1]=t},r.tileUnitDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+2]},r.tileUnitDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+2]=t},Object.defineProperties(e.prototype,r),e}(rn);Rn.prototype.size=6;var Fn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getx=function(t){return this.int16[3*t+0]},e.prototype.gety=function(t){return this.int16[3*t+1]},e.prototype.gettileUnitDistanceFromAnchor=function(t){return this.int16[3*t+2]},e.prototype.get=function(t){return new Rn(this,t)},e}(bn);fi("SymbolLineVertexArray",Fn);var On=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+0]=t},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+3]=t},Object.defineProperties(e.prototype,r),e}(rn);On.prototype.size=8;var Un=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new On(this,t)},e}(wn);fi("FeatureIndexArray",Un);var Vn=on([{name:"a_pos",components:2,type:"Int16"}],4).members,Nn=function(t){void 0===t&&(t=[]),this.segments=t};function jn(t,e){return 256*(t=u(Math.floor(t),0,255))+u(Math.floor(e),0,255)}Nn.prototype.prepareSegment=function(t,e,r,i){var n=this.segments[this.segments.length-1];return t>Nn.MAX_VERTEX_ARRAY_LENGTH&&w("Max vertices per segment is "+Nn.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+t),(!n||n.vertexLength+t>Nn.MAX_VERTEX_ARRAY_LENGTH||n.sortKey!==i)&&(n={vertexOffset:e.length,primitiveOffset:r.length,vertexLength:0,primitiveLength:0},void 0!==i&&(n.sortKey=i),this.segments.push(n)),n},Nn.prototype.get=function(){return this.segments},Nn.prototype.destroy=function(){for(var t=0,e=this.segments;t<e.length;t+=1){var r=e[t];for(var i in r.vaos)r.vaos[i].destroy()}},Nn.simpleSegment=function(t,e,r,i){return new Nn([{vertexOffset:t,primitiveOffset:e,vertexLength:r,primitiveLength:i,vaos:{},sortKey:0}])},Nn.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,fi("SegmentVector",Nn);var qn=function(){this.ids=[],this.positions=[],this.indexed=!1};function Zn(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}qn.prototype.add=function(t,e,r,i){this.ids.push(t),this.positions.push(e,r,i)},qn.prototype.getPositions=function(t){for(var e=0,r=this.ids.length-1;e<r;){var i=e+r>>1;this.ids[i]>=t?r=i:e=i+1}for(var n=[];this.ids[e]===t;){var o=this.positions[3*e],a=this.positions[3*e+1],s=this.positions[3*e+2];n.push({index:o,start:a,end:s}),e++}return n},qn.serialize=function(t,e){var r=new Float64Array(t.ids),i=new Uint32Array(t.positions);return function t(e,r,i,n){if(!(i>=n)){for(var o=e[i+n>>1],a=i-1,s=n+1;;){do{a++}while(e[a]<o);do{s--}while(e[s]>o);if(a>=s)break;Zn(e,a,s),Zn(r,3*a,3*s),Zn(r,3*a+1,3*s+1),Zn(r,3*a+2,3*s+2)}t(e,r,i,s),t(e,r,s+1,n)}}(r,i,0,r.length-1),e&&e.push(r.buffer,i.buffer),{ids:r,positions:i}},qn.deserialize=function(t){var e=new qn;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e},fi("FeaturePositionMap",qn);var Gn=function(t,e){this.gl=t.gl,this.location=e},Xn=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1i(this.location,t))},e}(Gn),Wn=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1f(this.location,t))},e}(Gn),Kn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]))},e}(Gn),Hn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]))},e}(Gn),Jn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]&&t[3]===this.current[3]||(this.current=t,this.gl.uniform4f(this.location,t[0],t[1],t[2],t[3]))},e}(Gn),Yn=function(t){function e(e,r){t.call(this,e,r),this.current=Jt.transparent}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t.r===this.current.r&&t.g===this.current.g&&t.b===this.current.b&&t.a===this.current.a||(this.current=t,this.gl.uniform4f(this.location,t.r,t.g,t.b,t.a))},e}(Gn),Qn=new Float32Array(16),$n=function(t){function e(e,r){t.call(this,e,r),this.current=Qn}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(var e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}},e}(Gn);function to(t){return[jn(255*t.r,255*t.g),jn(255*t.b,255*t.a)]}var eo=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map((function(t){return"u_"+t})),this.type=r,this.maxValue=-1/0};eo.prototype.defines=function(){return this.names.map((function(t){return"#define HAS_UNIFORM_u_"+t}))},eo.prototype.setConstantPatternPositions=function(){},eo.prototype.populatePaintArray=function(){},eo.prototype.updatePaintArray=function(){},eo.prototype.upload=function(){},eo.prototype.destroy=function(){},eo.prototype.setUniforms=function(t,e,r,i){e.set(i.constantOr(this.value))},eo.prototype.getBinding=function(t,e){return"color"===this.type?new Yn(t,e):new Wn(t,e)},eo.serialize=function(t){var e=t.value,r=t.names,i=t.type;return{value:yi(e),names:r,type:i}},eo.deserialize=function(t){var e=t.value,r=t.names,i=t.type;return new eo(_i(e),r,i)};var ro=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map((function(t){return"u_"+t})),this.type=r,this.maxValue=-1/0,this.patternPositions={patternTo:null,patternFrom:null}};ro.prototype.defines=function(){return this.names.map((function(t){return"#define HAS_UNIFORM_u_"+t}))},ro.prototype.populatePaintArray=function(){},ro.prototype.updatePaintArray=function(){},ro.prototype.upload=function(){},ro.prototype.destroy=function(){},ro.prototype.setConstantPatternPositions=function(t,e){this.patternPositions.patternTo=t.tlbr,this.patternPositions.patternFrom=e.tlbr},ro.prototype.setUniforms=function(t,e,r,i,n){var o=this.patternPositions;"u_pattern_to"===n&&o.patternTo&&e.set(o.patternTo),"u_pattern_from"===n&&o.patternFrom&&e.set(o.patternFrom)},ro.prototype.getBinding=function(t,e){return new Jn(t,e)};var io=function(t,e,r,i){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map((function(t){return"a_"+t})),this.maxValue=-1/0,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?2:1,offset:0}})),this.paintVertexArray=new i};io.prototype.defines=function(){return[]},io.prototype.setConstantPatternPositions=function(){},io.prototype.populatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=n.length;n.reserve(t);var a=this.expression.evaluate(new Ui(0),e,{},[],i);if("color"===this.type)for(var s=to(a),l=o;l<t;l++)n.emplaceBack(s[0],s[1]);else{for(var u=o;u<t;u++)n.emplaceBack(a);this.maxValue=Math.max(this.maxValue,a)}},io.prototype.updatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=this.expression.evaluate({zoom:0},r,i);if("color"===this.type)for(var a=to(o),s=t;s<e;s++)n.emplace(s,a[0],a[1]);else{for(var l=t;l<e;l++)n.emplace(l,o);this.maxValue=Math.max(this.maxValue,o)}},io.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},io.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},io.prototype.setUniforms=function(t,e){e.set(0)},io.prototype.getBinding=function(t,e){return new Wn(t,e)};var no=function(t,e,r,i,n,o){this.expression=t,this.names=e,this.uniformNames=this.names.map((function(t){return"u_"+t+"_t"})),this.type=r,this.useIntegerZoom=i,this.zoom=n,this.maxValue=-1/0;var a=o;this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?4:2,offset:0}})),this.paintVertexArray=new a};no.prototype.defines=function(){return[]},no.prototype.setConstantPatternPositions=function(){},no.prototype.populatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=n.length;n.reserve(t);var a=this.expression.evaluate(new Ui(this.zoom),e,{},[],i),s=this.expression.evaluate(new Ui(this.zoom+1),e,{},[],i);if("color"===this.type)for(var l=to(a),u=to(s),c=o;c<t;c++)n.emplaceBack(l[0],l[1],u[0],u[1]);else{for(var p=o;p<t;p++)n.emplaceBack(a,s);this.maxValue=Math.max(this.maxValue,a,s)}},no.prototype.updatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=this.expression.evaluate({zoom:this.zoom},r,i),a=this.expression.evaluate({zoom:this.zoom+1},r,i);if("color"===this.type)for(var s=to(o),l=to(a),u=t;u<e;u++)n.emplace(u,s[0],s[1],l[0],l[1]);else{for(var c=t;c<e;c++)n.emplace(c,o,a);this.maxValue=Math.max(this.maxValue,o,a)}},no.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},no.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},no.prototype.interpolationFactor=function(t){return this.useIntegerZoom&&(t=Math.floor(t)),u(this.expression.interpolationFactor(t,this.zoom,this.zoom+1),0,1)},no.prototype.setUniforms=function(t,e,r){e.set(this.interpolationFactor(r.zoom))},no.prototype.getBinding=function(t,e){return new Wn(t,e)};var oo=function(t,e,r,i,n,o,a){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map((function(t){return"u_"+t+"_t"})),this.useIntegerZoom=i,this.zoom=n,this.maxValue=-1/0,this.layerId=a,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Uint16",components:4,offset:0}})),this.zoomInPaintVertexArray=new o,this.zoomOutPaintVertexArray=new o};oo.prototype.defines=function(){return[]},oo.prototype.setConstantPatternPositions=function(){},oo.prototype.populatePaintArray=function(t,e,r){var i=this.zoomInPaintVertexArray,n=this.zoomOutPaintVertexArray,o=this.layerId,a=i.length;if(i.reserve(t),n.reserve(t),r&&e.patterns&&e.patterns[o]){var s=e.patterns[o],l=s.min,u=s.mid,c=s.max,p=r[l],h=r[u],f=r[c];if(!p||!h||!f)return;for(var d=a;d<t;d++)i.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],p.tl[0],p.tl[1],p.br[0],p.br[1]),n.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],f.tl[0],f.tl[1],f.br[0],f.br[1])}},oo.prototype.updatePaintArray=function(t,e,r,i,n){var o=this.zoomInPaintVertexArray,a=this.zoomOutPaintVertexArray,s=this.layerId;if(n&&r.patterns&&r.patterns[s]){var l=r.patterns[s],u=l.min,c=l.mid,p=l.max,h=n[u],f=n[c],d=n[p];if(!h||!f||!d)return;for(var m=t;m<e;m++)o.emplace(m,f.tl[0],f.tl[1],f.br[0],f.br[1],h.tl[0],h.tl[1],h.br[0],h.br[1]),a.emplace(m,f.tl[0],f.tl[1],f.br[0],f.br[1],d.tl[0],d.tl[1],d.br[0],d.br[1])}},oo.prototype.upload=function(t){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=t.createVertexBuffer(this.zoomInPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=t.createVertexBuffer(this.zoomOutPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},oo.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()},oo.prototype.setUniforms=function(t,e){e.set(0)},oo.prototype.getBinding=function(t,e){return new Wn(t,e)};var ao=function(){this.binders={},this.cacheKey="",this._buffers=[]};ao.createDynamic=function(t,e,r){var i=new ao,n=[];for(var o in t.paint._values)if(r(o)){var a=t.paint.get(o);if(a instanceof Xi&&pr(a.property.specification)){var s=lo(o,t.type),l=a.property.specification.type,u=a.property.useIntegerZoom;if("cross-faded"===a.property.specification["property-type"]||"cross-faded-data-driven"===a.property.specification["property-type"])if("constant"===a.value.kind)i.binders[o]=new ro(a.value.value,s,l),n.push("/u_"+o);else{var c=uo(o,l,"source");i.binders[o]=new oo(a.value,s,l,u,e,c,t.id),n.push("/a_"+o)}else if("constant"===a.value.kind)i.binders[o]=new eo(a.value.value,s,l),n.push("/u_"+o);else if("source"===a.value.kind){var p=uo(o,l,"source");i.binders[o]=new io(a.value,s,l,p),n.push("/a_"+o)}else{var h=uo(o,l,"composite");i.binders[o]=new no(a.value,s,l,u,e,h),n.push("/z_"+o)}}}return i.cacheKey=n.sort().join(""),i},ao.prototype.populatePaintArrays=function(t,e,r,i,n){for(var o in this.binders)this.binders[o].populatePaintArray(t,e,i,n)},ao.prototype.setConstantPatternPositions=function(t,e){for(var r in this.binders)this.binders[r].setConstantPatternPositions(t,e)},ao.prototype.updatePaintArrays=function(t,e,r,i,n){var o=!1;for(var a in t)for(var s=0,l=e.getPositions(+a);s<l.length;s+=1){var u=l[s],c=r.feature(u.index);for(var p in this.binders){var h=this.binders[p];if(!(h instanceof eo||h instanceof ro)&&!0===h.expression.isStateDependent){var f=i.paint.get(p);h.expression=f.value,h.updatePaintArray(u.start,u.end,c,t[a],n),o=!0}}}return o},ao.prototype.defines=function(){var t=[];for(var e in this.binders)t.push.apply(t,this.binders[e].defines());return t},ao.prototype.getPaintVertexBuffers=function(){return this._buffers},ao.prototype.getUniforms=function(t,e){var r=[];for(var i in this.binders)for(var n=this.binders[i],o=0,a=n.uniformNames;o<a.length;o+=1){var s=a[o];if(e[s]){var l=n.getBinding(t,e[s]);r.push({name:s,property:i,binding:l})}}return r},ao.prototype.setUniforms=function(t,e,r,i){for(var n=0,o=e;n<o.length;n+=1){var a=o[n],s=a.name,l=a.property,u=a.binding;this.binders[l].setUniforms(t,u,i,r.get(l),s)}},ao.prototype.updatePatternPaintBuffers=function(t){var e=[];for(var r in this.binders){var i=this.binders[r];if(i instanceof oo){var n=2===t.fromScale?i.zoomInPaintVertexBuffer:i.zoomOutPaintVertexBuffer;n&&e.push(n)}else(i instanceof io||i instanceof no)&&i.paintVertexBuffer&&e.push(i.paintVertexBuffer)}this._buffers=e},ao.prototype.upload=function(t){for(var e in this.binders)this.binders[e].upload(t);var r=[];for(var i in this.binders){var n=this.binders[i];(n instanceof io||n instanceof no)&&n.paintVertexBuffer&&r.push(n.paintVertexBuffer)}this._buffers=r},ao.prototype.destroy=function(){for(var t in this.binders)this.binders[t].destroy()};var so=function(t,e,r,i){void 0===i&&(i=function(){return!0}),this.programConfigurations={};for(var n=0,o=e;n<o.length;n+=1){var a=o[n];this.programConfigurations[a.id]=ao.createDynamic(a,r,i),this.programConfigurations[a.id].layoutAttributes=t}this.needsUpload=!1,this._featureMap=new qn,this._bufferOffset=0};function lo(t,e){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from"],"fill-pattern":["pattern_to","pattern_from"],"fill-extrusion-pattern":["pattern_to","pattern_from"]}[t]||[t.replace(e+"-","").replace(/-/g,"_")]}function uo(t,e,r){var i={color:{source:In,composite:An},number:{source:xn,composite:In}},n=function(t){return{"line-pattern":{source:pn,composite:pn},"fill-pattern":{source:pn,composite:pn},"fill-extrusion-pattern":{source:pn,composite:pn}}[t]}(t);return n&&n[r]||i[e][r]}so.prototype.populatePaintArrays=function(t,e,r,i,n){for(var o in this.programConfigurations)this.programConfigurations[o].populatePaintArrays(t,e,r,i,n);void 0!==e.id&&this._featureMap.add(+e.id,r,this._bufferOffset,t),this._bufferOffset=t,this.needsUpload=!0},so.prototype.updatePaintArrays=function(t,e,r,i){for(var n=0,o=r;n<o.length;n+=1){var a=o[n];this.needsUpload=this.programConfigurations[a.id].updatePaintArrays(t,this._featureMap,e,a,i)||this.needsUpload}},so.prototype.get=function(t){return this.programConfigurations[t]},so.prototype.upload=function(t){if(this.needsUpload){for(var e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1}},so.prototype.destroy=function(){for(var t in this.programConfigurations)this.programConfigurations[t].destroy()},fi("ConstantBinder",eo),fi("CrossFadedConstantBinder",ro),fi("SourceExpressionBinder",io),fi("CrossFadedCompositeBinder",oo),fi("CompositeExpressionBinder",no),fi("ProgramConfiguration",ao,{omit:["_buffers"]}),fi("ProgramConfigurationSet",so);var co=8192,po={min:-1*Math.pow(2,14),max:Math.pow(2,14)-1};function ho(t){for(var e=co/t.extent,r=t.loadGeometry(),i=0;i<r.length;i++)for(var n=r[i],o=0;o<n.length;o++){var a=n[o];a.x=Math.round(a.x*e),a.y=Math.round(a.y*e),(a.x<po.min||a.x>po.max||a.y<po.min||a.y>po.max)&&(w("Geometry exceeds allowed extent, reduce your vector tile buffer size"),a.x=u(a.x,po.min,po.max),a.y=u(a.y,po.min,po.max))}return r}function fo(t,e,r,i,n){t.emplaceBack(2*e+(i+1)/2,2*r+(n+1)/2)}var mo=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new sn,this.indexArray=new Sn,this.segments=new Nn,this.programConfigurations=new so(Vn,t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function yo(t,e){for(var r=0;r<t.length;r++)if(To(e,t[r]))return!0;for(var i=0;i<e.length;i++)if(To(t,e[i]))return!0;return!!xo(t,e)}function _o(t,e,r){return!!To(t,e)||!!wo(e,t,r)}function go(t,e){if(1===t.length)return Eo(e,t[0]);for(var r=0;r<e.length;r++)for(var i=e[r],n=0;n<i.length;n++)if(To(t,i[n]))return!0;for(var o=0;o<t.length;o++)if(Eo(e,t[o]))return!0;for(var a=0;a<e.length;a++)if(xo(t,e[a]))return!0;return!1}function vo(t,e,r){if(t.length>1){if(xo(t,e))return!0;for(var i=0;i<e.length;i++)if(wo(e[i],t,r))return!0}for(var n=0;n<t.length;n++)if(wo(t[n],e,r))return!0;return!1}function xo(t,e){if(0===t.length||0===e.length)return!1;for(var r=0;r<t.length-1;r++)for(var i=t[r],n=t[r+1],o=0;o<e.length-1;o++)if(bo(i,n,e[o],e[o+1]))return!0;return!1}function bo(t,e,r,i){return S(t,r,i)!==S(e,r,i)&&S(t,e,r)!==S(t,e,i)}function wo(t,e,r){var i=r*r;if(1===e.length)return t.distSqr(e[0])<i;for(var n=1;n<e.length;n++)if(So(t,e[n-1],e[n])<i)return!0;return!1}function So(t,e,r){var i=e.distSqr(r);if(0===i)return t.distSqr(e);var n=((t.x-e.x)*(r.x-e.x)+(t.y-e.y)*(r.y-e.y))/i;return n<0?t.distSqr(e):n>1?t.distSqr(r):t.distSqr(r.sub(e)._mult(n)._add(e))}function Eo(t,e){for(var r,i,n,o=!1,a=0;a<t.length;a++)for(var s=0,l=(r=t[a]).length-1;s<r.length;l=s++)i=r[s],n=r[l],i.y>e.y!=n.y>e.y&&e.x<(n.x-i.x)*(e.y-i.y)/(n.y-i.y)+i.x&&(o=!o);return o}function To(t,e){for(var r=!1,i=0,n=t.length-1;i<t.length;n=i++){var o=t[i],a=t[n];o.y>e.y!=a.y>e.y&&e.x<(a.x-o.x)*(e.y-o.y)/(a.y-o.y)+o.x&&(r=!r)}return r}function Io(t,e,r){var i=r[0],n=r[2];if(t.x<i.x&&e.x<i.x||t.x>n.x&&e.x>n.x||t.y<i.y&&e.y<i.y||t.y>n.y&&e.y>n.y)return!1;var o=S(t,e,r[0]);return o!==S(t,e,r[1])||o!==S(t,e,r[2])||o!==S(t,e,r[3])}function Ao(t,e,r){var i=e.paint.get(t).value;return"constant"===i.kind?i.value:r.programConfigurations.get(e.id).binders[t].maxValue}function zo(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Co(t,e,r,i,o){if(!e[0]&&!e[1])return t;var a=n.convert(e)._mult(o);"viewport"===r&&a._rotate(-i);for(var s=[],l=0;l<t.length;l++){var u=t[l];s.push(u.sub(a))}return s}mo.prototype.populate=function(t,e){var r=this.layers[0],i=[],n=null;"circle"===r.type&&(n=r.layout.get("circle-sort-key"));for(var o=0,a=t;o<a.length;o+=1){var s=a[o],l=s.feature,u=s.index,c=s.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ui(this.zoom),l)){var p=ho(l),h=n?n.evaluate(l,{}):void 0,f={id:l.id,properties:l.properties,type:l.type,sourceLayerIndex:c,index:u,geometry:p,patterns:{},sortKey:h};i.push(f)}}n&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var d=0,m=i;d<m.length;d+=1){var y=m[d],_=y,g=_.geometry,v=_.index,x=_.sourceLayerIndex,b=t[v].feature;this.addFeature(y,g,v),e.featureIndex.insert(b,g,v,x,this.index)}},mo.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},mo.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},mo.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},mo.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Vn),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},mo.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},mo.prototype.addFeature=function(t,e,r){for(var i=0,n=e;i<n.length;i+=1)for(var o=0,a=n[i];o<a.length;o+=1){var s=a[o],l=s.x,u=s.y;if(!(l<0||l>=co||u<0||u>=co)){var c=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,t.sortKey),p=c.vertexLength;fo(this.layoutVertexArray,l,u,-1,-1),fo(this.layoutVertexArray,l,u,1,-1),fo(this.layoutVertexArray,l,u,1,1),fo(this.layoutVertexArray,l,u,-1,1),this.indexArray.emplaceBack(p,p+1,p+2),this.indexArray.emplaceBack(p,p+3,p+2),c.vertexLength+=4,c.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,{})},fi("CircleBucket",mo,{omit:["layers"]});var ko,Po=new $i({"circle-sort-key":new Hi(At.layout_circle["circle-sort-key"])}),Mo={paint:new $i({"circle-radius":new Hi(At.paint_circle["circle-radius"]),"circle-color":new Hi(At.paint_circle["circle-color"]),"circle-blur":new Hi(At.paint_circle["circle-blur"]),"circle-opacity":new Hi(At.paint_circle["circle-opacity"]),"circle-translate":new Ki(At.paint_circle["circle-translate"]),"circle-translate-anchor":new Ki(At.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Ki(At.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Ki(At.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Hi(At.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Hi(At.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Hi(At.paint_circle["circle-stroke-opacity"])}),layout:Po},Lo="undefined"!=typeof Float32Array?Float32Array:Array;function Do(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3];return t[0]=r[0]*i+r[4]*n+r[8]*o+r[12]*a,t[1]=r[1]*i+r[5]*n+r[9]*o+r[13]*a,t[2]=r[2]*i+r[6]*n+r[10]*o+r[14]*a,t[3]=r[3]*i+r[7]*n+r[11]*o+r[15]*a,t}Math.hypot||(Math.hypot=function(){for(var t=arguments,e=0,r=arguments.length;r--;)e+=t[r]*t[r];return Math.sqrt(e)}),ko=new Lo(3),Lo!=Float32Array&&(ko[0]=0,ko[1]=0,ko[2]=0),function(){var t=new Lo(4);Lo!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0)}();var Bo=function(t){function e(e){t.call(this,e,Mo)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new mo(t)},e.prototype.queryRadius=function(t){var e=t;return Ao("circle-radius",this,e)+Ao("circle-stroke-width",this,e)+zo(this.paint.get("circle-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,n,o,a,s){for(var l=Co(t,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),o.angle,a),u=this.paint.get("circle-radius").evaluate(e,r)+this.paint.get("circle-stroke-width").evaluate(e,r),c="map"===this.paint.get("circle-pitch-alignment"),p=c?l:function(t,e){return t.map((function(t){return Ro(t,e)}))}(l,s),h=c?u*a:u,f=0,d=i;f<d.length;f+=1)for(var m=0,y=d[f];m<y.length;m+=1){var _=y[m],g=c?_:Ro(_,s),v=h,x=Do([],[_.x,_.y,0,1],s);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?v*=x[3]/o.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(v*=o.cameraToCenterDistance/x[3]),_o(p,g,v))return!0}return!1},e}(tn);function Ro(t,e){var r=Do([],[t.x,t.y,0,1],e);return new n(r[0]/r[3],r[1]/r[3])}var Fo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(mo);function Oo(t,e,r,i){var n=e.width,o=e.height;if(i){if(i instanceof Uint8ClampedArray)i=new Uint8Array(i.buffer);else if(i.length!==n*o*r)throw new RangeError("mismatched image size")}else i=new Uint8Array(n*o*r);return t.width=n,t.height=o,t.data=i,t}function Uo(t,e,r){var i=e.width,n=e.height;if(i!==t.width||n!==t.height){var o=Oo({},{width:i,height:n},r);Vo(t,o,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,i),height:Math.min(t.height,n)},r),t.width=i,t.height=n,t.data=o.data}}function Vo(t,e,r,i,n,o){if(0===n.width||0===n.height)return e;if(n.width>t.width||n.height>t.height||r.x>t.width-n.width||r.y>t.height-n.height)throw new RangeError("out of range source coordinates for image copy");if(n.width>e.width||n.height>e.height||i.x>e.width-n.width||i.y>e.height-n.height)throw new RangeError("out of range destination coordinates for image copy");for(var a=t.data,s=e.data,l=0;l<n.height;l++)for(var u=((r.y+l)*t.width+r.x)*o,c=((i.y+l)*e.width+i.x)*o,p=0;p<n.width*o;p++)s[c+p]=a[u+p];return e}fi("HeatmapBucket",Fo,{omit:["layers"]});var No=function(t,e){Oo(this,t,1,e)};No.prototype.resize=function(t){Uo(this,t,1)},No.prototype.clone=function(){return new No({width:this.width,height:this.height},new Uint8Array(this.data))},No.copy=function(t,e,r,i,n){Vo(t,e,r,i,n,1)};var jo=function(t,e){Oo(this,t,4,e)};jo.prototype.resize=function(t){Uo(this,t,4)},jo.prototype.replace=function(t,e){e?this.data.set(t):t instanceof Uint8ClampedArray?this.data=new Uint8Array(t.buffer):this.data=t},jo.prototype.clone=function(){return new jo({width:this.width,height:this.height},new Uint8Array(this.data))},jo.copy=function(t,e,r,i,n){Vo(t,e,r,i,n,4)},fi("AlphaImage",No),fi("RGBAImage",jo);var qo={paint:new $i({"heatmap-radius":new Hi(At.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Hi(At.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Ki(At.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Qi(At.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Ki(At.paint_heatmap["heatmap-opacity"])})};function Zo(t,e){for(var r=new Uint8Array(1024),i={},n=0,o=0;n<256;n++,o+=4){i[e]=n/255;var a=t.evaluate(i);r[o+0]=Math.floor(255*a.r/a.a),r[o+1]=Math.floor(255*a.g/a.a),r[o+2]=Math.floor(255*a.b/a.a),r[o+3]=Math.floor(255*a.a)}return new jo({width:256,height:1},r)}var Go=function(t){function e(e){t.call(this,e,qo),this._updateColorRamp()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Fo(t)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){"heatmap-color"===t&&this._updateColorRamp()},e.prototype._updateColorRamp=function(){var t=this._transitionablePaint._values["heatmap-color"].value.expression;this.colorRamp=Zo(t,"heatmapDensity"),this.colorRampTexture=null},e.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility},e}(tn),Xo={paint:new $i({"hillshade-illumination-direction":new Ki(At.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new Ki(At.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new Ki(At.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new Ki(At.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new Ki(At.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new Ki(At.paint_hillshade["hillshade-accent-color"])})},Wo=function(t){function e(e){t.call(this,e,Xo)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility},e}(tn),Ko=on([{name:"a_pos",components:2,type:"Int16"}],4).members,Ho=Yo,Jo=Yo;function Yo(t,e,r){r=r||2;var i,n,o,a,s,l,u,c=e&&e.length,p=c?e[0]*r:t.length,h=Qo(t,0,p,r,!0),f=[];if(!h||h.next===h.prev)return f;if(c&&(h=function(t,e,r,i){var n,o,a,s=[];for(n=0,o=e.length;n<o;n++)(a=Qo(t,e[n]*i,n<o-1?e[n+1]*i:t.length,i,!1))===a.next&&(a.steiner=!0),s.push(ua(a));for(s.sort(oa),n=0;n<s.length;n++)aa(s[n],r),r=$o(r,r.next);return r}(t,e,h,r)),t.length>80*r){i=o=t[0],n=a=t[1];for(var d=r;d<p;d+=r)(s=t[d])<i&&(i=s),(l=t[d+1])<n&&(n=l),s>o&&(o=s),l>a&&(a=l);u=0!==(u=Math.max(o-i,a-n))?1/u:0}return ta(h,f,r,i,n,u),f}function Qo(t,e,r,i,n){var o,a;if(n===wa(t,e,r,i)>0)for(o=e;o<r;o+=i)a=va(o,t[o],t[o+1],a);else for(o=r-i;o>=e;o-=i)a=va(o,t[o],t[o+1],a);return a&&fa(a,a.next)&&(xa(a),a=a.next),a}function $o(t,e){if(!t)return t;e||(e=t);var r,i=t;do{if(r=!1,i.steiner||!fa(i,i.next)&&0!==ha(i.prev,i,i.next))i=i.next;else{if(xa(i),(i=e=i.prev)===i.next)break;r=!0}}while(r||i!==e);return e}function ta(t,e,r,i,n,o,a){if(t){!a&&o&&function(t,e,r,i){var n=t;do{null===n.z&&(n.z=la(n.x,n.y,e,r,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next}while(n!==t);n.prevZ.nextZ=null,n.prevZ=null,function(t){var e,r,i,n,o,a,s,l,u=1;do{for(r=t,t=null,o=null,a=0;r;){for(a++,i=r,s=0,e=0;e<u&&(s++,i=i.nextZ);e++);for(l=u;s>0||l>0&&i;)0!==s&&(0===l||!i||r.z<=i.z)?(n=r,r=r.nextZ,s--):(n=i,i=i.nextZ,l--),o?o.nextZ=n:t=n,n.prevZ=o,o=n;r=i}o.nextZ=null,u*=2}while(a>1)}(n)}(t,i,n,o);for(var s,l,u=t;t.prev!==t.next;)if(s=t.prev,l=t.next,o?ra(t,i,n,o):ea(t))e.push(s.i/r),e.push(t.i/r),e.push(l.i/r),xa(t),t=l.next,u=l.next;else if((t=l)===u){a?1===a?ta(t=ia($o(t),e,r),e,r,i,n,o,2):2===a&&na(t,e,r,i,n,o):ta($o(t),e,r,i,n,o,1);break}}}function ea(t){var e=t.prev,r=t,i=t.next;if(ha(e,r,i)>=0)return!1;for(var n=t.next.next;n!==t.prev;){if(ca(e.x,e.y,r.x,r.y,i.x,i.y,n.x,n.y)&&ha(n.prev,n,n.next)>=0)return!1;n=n.next}return!0}function ra(t,e,r,i){var n=t.prev,o=t,a=t.next;if(ha(n,o,a)>=0)return!1;for(var s=n.x<o.x?n.x<a.x?n.x:a.x:o.x<a.x?o.x:a.x,l=n.y<o.y?n.y<a.y?n.y:a.y:o.y<a.y?o.y:a.y,u=n.x>o.x?n.x>a.x?n.x:a.x:o.x>a.x?o.x:a.x,c=n.y>o.y?n.y>a.y?n.y:a.y:o.y>a.y?o.y:a.y,p=la(s,l,e,r,i),h=la(u,c,e,r,i),f=t.prevZ,d=t.nextZ;f&&f.z>=p&&d&&d.z<=h;){if(f!==t.prev&&f!==t.next&&ca(n.x,n.y,o.x,o.y,a.x,a.y,f.x,f.y)&&ha(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,d!==t.prev&&d!==t.next&&ca(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&ha(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(;f&&f.z>=p;){if(f!==t.prev&&f!==t.next&&ca(n.x,n.y,o.x,o.y,a.x,a.y,f.x,f.y)&&ha(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;d&&d.z<=h;){if(d!==t.prev&&d!==t.next&&ca(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&ha(d.prev,d,d.next)>=0)return!1;d=d.nextZ}return!0}function ia(t,e,r){var i=t;do{var n=i.prev,o=i.next.next;!fa(n,o)&&da(n,i,i.next,o)&&_a(n,o)&&_a(o,n)&&(e.push(n.i/r),e.push(i.i/r),e.push(o.i/r),xa(i),xa(i.next),i=t=o),i=i.next}while(i!==t);return $o(i)}function na(t,e,r,i,n,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&pa(a,s)){var l=ga(a,s);return a=$o(a,a.next),l=$o(l,l.next),ta(a,e,r,i,n,o),void ta(l,e,r,i,n,o)}s=s.next}a=a.next}while(a!==t)}function oa(t,e){return t.x-e.x}function aa(t,e){if(e=function(t,e){var r,i=e,n=t.x,o=t.y,a=-1/0;do{if(o<=i.y&&o>=i.next.y&&i.next.y!==i.y){var s=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=n&&s>a){if(a=s,s===n){if(o===i.y)return i;if(o===i.next.y)return i.next}r=i.x<i.next.x?i:i.next}}i=i.next}while(i!==e);if(!r)return null;if(n===a)return r;var l,u=r,c=r.x,p=r.y,h=1/0;i=r;do{n>=i.x&&i.x>=c&&n!==i.x&&ca(o<p?n:a,o,c,p,o<p?a:n,o,i.x,i.y)&&(l=Math.abs(o-i.y)/(n-i.x),_a(i,t)&&(l<h||l===h&&(i.x>r.x||i.x===r.x&&sa(r,i)))&&(r=i,h=l)),i=i.next}while(i!==u);return r}(t,e)){var r=ga(e,t);$o(r,r.next)}}function sa(t,e){return ha(t.prev,t,e.prev)<0&&ha(e.next,t,t.next)<0}function la(t,e,r,i,n){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*n)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*n)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function ua(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next}while(e!==t);return r}function ca(t,e,r,i,n,o,a,s){return(n-a)*(e-s)-(t-a)*(o-s)>=0&&(t-a)*(i-s)-(r-a)*(e-s)>=0&&(r-a)*(o-s)-(n-a)*(i-s)>=0}function pa(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&da(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&(_a(t,e)&&_a(e,t)&&function(t,e){var r=t,i=!1,n=(t.x+e.x)/2,o=(t.y+e.y)/2;do{r.y>o!=r.next.y>o&&r.next.y!==r.y&&n<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(i=!i),r=r.next}while(r!==t);return i}(t,e)&&(ha(t.prev,t,e.prev)||ha(t,e.prev,e))||fa(t,e)&&ha(t.prev,t,t.next)>0&&ha(e.prev,e,e.next)>0)}function ha(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function fa(t,e){return t.x===e.x&&t.y===e.y}function da(t,e,r,i){var n=ya(ha(t,e,r)),o=ya(ha(t,e,i)),a=ya(ha(r,i,t)),s=ya(ha(r,i,e));return n!==o&&a!==s||!(0!==n||!ma(t,r,e))||!(0!==o||!ma(t,i,e))||!(0!==a||!ma(r,t,i))||!(0!==s||!ma(r,e,i))}function ma(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function ya(t){return t>0?1:t<0?-1:0}function _a(t,e){return ha(t.prev,t,t.next)<0?ha(t,e,t.next)>=0&&ha(t,t.prev,e)>=0:ha(t,e,t.prev)<0||ha(t,t.next,e)<0}function ga(t,e){var r=new ba(t.i,t.x,t.y),i=new ba(e.i,e.x,e.y),n=t.next,o=e.prev;return t.next=e,e.prev=t,r.next=n,n.prev=r,i.next=r,r.prev=i,o.next=i,i.prev=o,i}function va(t,e,r,i){var n=new ba(t,e,r);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function xa(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function ba(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function wa(t,e,r,i){for(var n=0,o=e,a=r-i;o<r;o+=i)n+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return n}function Sa(t,e,r,i,n){!function t(e,r,i,n,o){for(;n>i;){if(n-i>600){var a=n-i+1,s=r-i+1,l=Math.log(a),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(a-u)/a)*(s-a/2<0?-1:1);t(e,r,Math.max(i,Math.floor(r-s*u/a+c)),Math.min(n,Math.floor(r+(a-s)*u/a+c)),o)}var p=e[r],h=i,f=n;for(Ea(e,i,r),o(e[n],p)>0&&Ea(e,i,n);h<f;){for(Ea(e,h,f),h++,f--;o(e[h],p)<0;)h++;for(;o(e[f],p)>0;)f--}0===o(e[i],p)?Ea(e,i,f):Ea(e,++f,n),f<=r&&(i=f+1),r<=f&&(n=f-1)}}(t,e,r||0,i||t.length-1,n||Ta)}function Ea(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function Ta(t,e){return t<e?-1:t>e?1:0}function Ia(t,e){var r=t.length;if(r<=1)return[t];for(var i,n,o=[],a=0;a<r;a++){var s=E(t[a]);0!==s&&(t[a].area=Math.abs(s),void 0===n&&(n=s<0),n===s<0?(i&&o.push(i),i=[t[a]]):i.push(t[a]))}if(i&&o.push(i),e>1)for(var l=0;l<o.length;l++)o[l].length<=e||(Sa(o[l],e,1,o[l].length-1,Aa),o[l]=o[l].slice(0,e));return o}function Aa(t,e){return e.area-t.area}function za(t,e,r){for(var i=r.patternDependencies,n=!1,o=0,a=e;o<a.length;o+=1){var s=a[o].paint.get(t+"-pattern");s.isConstant()||(n=!0);var l=s.constantOr(null);l&&(n=!0,i[l.to]=!0,i[l.from]=!0)}return n}function Ca(t,e,r,i,n){for(var o=n.patternDependencies,a=0,s=e;a<s.length;a+=1){var l=s[a],u=l.paint.get(t+"-pattern").value;if("constant"!==u.kind){var c=u.evaluate({zoom:i-1},r,{},n.availableImages),p=u.evaluate({zoom:i},r,{},n.availableImages),h=u.evaluate({zoom:i+1},r,{},n.availableImages);c=c&&c.name?c.name:c,p=p&&p.name?p.name:p,h=h&&h.name?h.name:h,o[c]=!0,o[p]=!0,o[h]=!0,r.patterns[l.id]={min:c,mid:p,max:h}}}return r}Yo.deviation=function(t,e,r,i){var n=e&&e.length,o=n?e[0]*r:t.length,a=Math.abs(wa(t,0,o,r));if(n)for(var s=0,l=e.length;s<l;s++){var u=e[s]*r,c=s<l-1?e[s+1]*r:t.length;a-=Math.abs(wa(t,u,c,r))}var p=0;for(s=0;s<i.length;s+=3){var h=i[s]*r,f=i[s+1]*r,d=i[s+2]*r;p+=Math.abs((t[h]-t[d])*(t[f+1]-t[h+1])-(t[h]-t[f])*(t[d+1]-t[h+1]))}return 0===a&&0===p?0:Math.abs((p-a)/a)},Yo.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},i=0,n=0;n<t.length;n++){for(var o=0;o<t[n].length;o++)for(var a=0;a<e;a++)r.vertices.push(t[n][o][a]);n>0&&(i+=t[n-1].length,r.holes.push(i))}return r},Ho.default=Jo;var ka=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new sn,this.indexArray=new Sn,this.indexArray2=new En,this.programConfigurations=new so(Ko,t.layers,t.zoom),this.segments=new Nn,this.segments2=new Nn,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};ka.prototype.populate=function(t,e){this.hasPattern=za("fill",this.layers,e);for(var r=this.layers[0].layout.get("fill-sort-key"),i=[],n=0,o=t;n<o.length;n+=1){var a=o[n],s=a.feature,l=a.index,u=a.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ui(this.zoom),s)){var c=ho(s),p=r?r.evaluate(s,{},e.availableImages):void 0,h={id:s.id,properties:s.properties,type:s.type,sourceLayerIndex:u,index:l,geometry:c,patterns:{},sortKey:p};i.push(h)}}r&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var f=0,d=i;f<d.length;f+=1){var m=d[f],y=m,_=y.geometry,g=y.index,v=y.sourceLayerIndex;if(this.hasPattern){var x=Ca("fill",this.layers,m,this.zoom,e);this.patternFeatures.push(x)}else this.addFeature(m,_,g,{});var b=t[g].feature;e.featureIndex.insert(b,_,g,v,this.index)}},ka.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},ka.prototype.addFeatures=function(t,e){for(var r=0,i=this.patternFeatures;r<i.length;r+=1){var n=i[r];this.addFeature(n,n.geometry,n.index,e)}},ka.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ka.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ka.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Ko),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0},ka.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},ka.prototype.addFeature=function(t,e,r,i){for(var n=0,o=Ia(e,500);n<o.length;n+=1){for(var a=o[n],s=0,l=0,u=a;l<u.length;l+=1)s+=u[l].length;for(var c=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray),p=c.vertexLength,h=[],f=[],d=0,m=a;d<m.length;d+=1){var y=m[d];if(0!==y.length){y!==a[0]&&f.push(h.length/2);var _=this.segments2.prepareSegment(y.length,this.layoutVertexArray,this.indexArray2),g=_.vertexLength;this.layoutVertexArray.emplaceBack(y[0].x,y[0].y),this.indexArray2.emplaceBack(g+y.length-1,g),h.push(y[0].x),h.push(y[0].y);for(var v=1;v<y.length;v++)this.layoutVertexArray.emplaceBack(y[v].x,y[v].y),this.indexArray2.emplaceBack(g+v-1,g+v),h.push(y[v].x),h.push(y[v].y);_.vertexLength+=y.length,_.primitiveLength+=y.length}}for(var x=Ho(h,f),b=0;b<x.length;b+=3)this.indexArray.emplaceBack(p+x[b],p+x[b+1],p+x[b+2]);c.vertexLength+=s,c.primitiveLength+=x.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i)},fi("FillBucket",ka,{omit:["layers","patternFeatures"]});var Pa=new $i({"fill-sort-key":new Hi(At.layout_fill["fill-sort-key"])}),Ma={paint:new $i({"fill-antialias":new Ki(At.paint_fill["fill-antialias"]),"fill-opacity":new Hi(At.paint_fill["fill-opacity"]),"fill-color":new Hi(At.paint_fill["fill-color"]),"fill-outline-color":new Hi(At.paint_fill["fill-outline-color"]),"fill-translate":new Ki(At.paint_fill["fill-translate"]),"fill-translate-anchor":new Ki(At.paint_fill["fill-translate-anchor"]),"fill-pattern":new Ji(At.paint_fill["fill-pattern"])}),layout:Pa},La=function(t){function e(e){t.call(this,e,Ma)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e,r){t.prototype.recalculate.call(this,e,r);var i=this.paint._values["fill-outline-color"];"constant"===i.value.kind&&void 0===i.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])},e.prototype.createBucket=function(t){return new ka(t)},e.prototype.queryRadius=function(){return zo(this.paint.get("fill-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,n,o,a){return go(Co(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),o.angle,a),i)},e.prototype.isTileClipped=function(){return!0},e}(tn),Da=on([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4).members,Ba=Ra;function Ra(t,e,r,i,n){this.properties={},this.extent=r,this.type=0,this._pbf=t,this._geometry=-1,this._keys=i,this._values=n,t.readFields(Fa,this,e)}function Fa(t,e,r){1==t?e.id=r.readVarint():2==t?function(t,e){for(var r=t.readVarint()+t.pos;t.pos<r;){var i=e._keys[t.readVarint()],n=e._values[t.readVarint()];e.properties[i]=n}}(r,e):3==t?e.type=r.readVarint():4==t&&(e._geometry=r.pos)}function Oa(t){for(var e,r,i=0,n=0,o=t.length,a=o-1;n<o;a=n++)e=t[n],i+=((r=t[a]).x-e.x)*(e.y+r.y);return i}Ra.types=["Unknown","Point","LineString","Polygon"],Ra.prototype.loadGeometry=function(){var t=this._pbf;t.pos=this._geometry;for(var e,r=t.readVarint()+t.pos,i=1,o=0,a=0,s=0,l=[];t.pos<r;){if(o<=0){var u=t.readVarint();i=7&u,o=u>>3}if(o--,1===i||2===i)a+=t.readSVarint(),s+=t.readSVarint(),1===i&&(e&&l.push(e),e=[]),e.push(new n(a,s));else{if(7!==i)throw new Error("unknown command "+i);e&&e.push(e[0].clone())}}return e&&l.push(e),l},Ra.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,r=1,i=0,n=0,o=0,a=1/0,s=-1/0,l=1/0,u=-1/0;t.pos<e;){if(i<=0){var c=t.readVarint();r=7&c,i=c>>3}if(i--,1===r||2===r)(n+=t.readSVarint())<a&&(a=n),n>s&&(s=n),(o+=t.readSVarint())<l&&(l=o),o>u&&(u=o);else if(7!==r)throw new Error("unknown command "+r)}return[a,l,s,u]},Ra.prototype.toGeoJSON=function(t,e,r){var i,n,o=this.extent*Math.pow(2,r),a=this.extent*t,s=this.extent*e,l=this.loadGeometry(),u=Ra.types[this.type];function c(t){for(var e=0;e<t.length;e++){var r=t[e],i=180-360*(r.y+s)/o;t[e]=[360*(r.x+a)/o-180,360/Math.PI*Math.atan(Math.exp(i*Math.PI/180))-90]}}switch(this.type){case 1:var p=[];for(i=0;i<l.length;i++)p[i]=l[i][0];c(l=p);break;case 2:for(i=0;i<l.length;i++)c(l[i]);break;case 3:for(l=function(t){var e=t.length;if(e<=1)return[t];for(var r,i,n=[],o=0;o<e;o++){var a=Oa(t[o]);0!==a&&(void 0===i&&(i=a<0),i===a<0?(r&&n.push(r),r=[t[o]]):r.push(t[o]))}return r&&n.push(r),n}(l),i=0;i<l.length;i++)for(n=0;n<l[i].length;n++)c(l[i][n])}1===l.length?l=l[0]:u="Multi"+u;var h={type:"Feature",geometry:{type:u,coordinates:l},properties:this.properties};return"id"in this&&(h.id=this.id),h};var Ua=Va;function Va(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=t,this._keys=[],this._values=[],this._features=[],t.readFields(Na,this,e),this.length=this._features.length}function Na(t,e,r){15===t?e.version=r.readVarint():1===t?e.name=r.readString():5===t?e.extent=r.readVarint():2===t?e._features.push(r.pos):3===t?e._keys.push(r.readString()):4===t&&e._values.push(function(t){for(var e=null,r=t.readVarint()+t.pos;t.pos<r;){var i=t.readVarint()>>3;e=1===i?t.readString():2===i?t.readFloat():3===i?t.readDouble():4===i?t.readVarint64():5===i?t.readVarint():6===i?t.readSVarint():7===i?t.readBoolean():null}return e}(r))}function ja(t,e,r){if(3===t){var i=new Ua(r,r.readVarint()+r.pos);i.length&&(e[i.name]=i)}}Va.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new Ba(this._pbf,e,this.extent,this._keys,this._values)};var qa={VectorTile:function(t,e){this.layers=t.readFields(ja,{},e)},VectorTileFeature:Ba,VectorTileLayer:Ua},Za=qa.VectorTileFeature.types,Ga=Math.pow(2,13);function Xa(t,e,r,i,n,o,a,s){t.emplaceBack(e,r,2*Math.floor(i*Ga)+a,n*Ga*2,o*Ga*2,Math.round(s))}var Wa=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new un,this.indexArray=new Sn,this.programConfigurations=new so(Da,t.layers,t.zoom),this.segments=new Nn,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function Ka(t,e){return t.x===e.x&&(t.x<0||t.x>co)||t.y===e.y&&(t.y<0||t.y>co)}function Ha(t){return t.every((function(t){return t.x<0}))||t.every((function(t){return t.x>co}))||t.every((function(t){return t.y<0}))||t.every((function(t){return t.y>co}))}Wa.prototype.populate=function(t,e){this.features=[],this.hasPattern=za("fill-extrusion",this.layers,e);for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ui(this.zoom),o)){var l=ho(o),u={sourceLayerIndex:s,index:a,geometry:l,properties:o.properties,type:o.type,patterns:{}};void 0!==o.id&&(u.id=o.id),this.hasPattern?this.features.push(Ca("fill-extrusion",this.layers,u,this.zoom,e)):this.addFeature(u,l,a,{}),e.featureIndex.insert(o,l,a,s,this.index,!0)}}},Wa.prototype.addFeatures=function(t,e){for(var r=0,i=this.features;r<i.length;r+=1){var n=i[r],o=n.geometry;this.addFeature(n,o,n.index,e)}},Wa.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},Wa.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Wa.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Wa.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Da),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},Wa.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Wa.prototype.addFeature=function(t,e,r,i){for(var n=0,o=Ia(e,500);n<o.length;n+=1){for(var a=o[n],s=0,l=0,u=a;l<u.length;l+=1)s+=u[l].length;for(var c=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),p=0,h=a;p<h.length;p+=1){var f=h[p];if(0!==f.length&&!Ha(f))for(var d=0,m=0;m<f.length;m++){var y=f[m];if(m>=1){var _=f[m-1];if(!Ka(y,_)){c.vertexLength+4>Nn.MAX_VERTEX_ARRAY_LENGTH&&(c=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var g=y.sub(_)._perp()._unit(),v=_.dist(y);d+v>32768&&(d=0),Xa(this.layoutVertexArray,y.x,y.y,g.x,g.y,0,0,d),Xa(this.layoutVertexArray,y.x,y.y,g.x,g.y,0,1,d),d+=v,Xa(this.layoutVertexArray,_.x,_.y,g.x,g.y,0,0,d),Xa(this.layoutVertexArray,_.x,_.y,g.x,g.y,0,1,d);var x=c.vertexLength;this.indexArray.emplaceBack(x,x+2,x+1),this.indexArray.emplaceBack(x+1,x+2,x+3),c.vertexLength+=4,c.primitiveLength+=2}}}}if(c.vertexLength+s>Nn.MAX_VERTEX_ARRAY_LENGTH&&(c=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray)),"Polygon"===Za[t.type]){for(var b=[],w=[],S=c.vertexLength,E=0,T=a;E<T.length;E+=1){var I=T[E];if(0!==I.length){I!==a[0]&&w.push(b.length/2);for(var A=0;A<I.length;A++){var z=I[A];Xa(this.layoutVertexArray,z.x,z.y,0,0,1,1,0),b.push(z.x),b.push(z.y)}}}for(var C=Ho(b,w),k=0;k<C.length;k+=3)this.indexArray.emplaceBack(S+C[k],S+C[k+2],S+C[k+1]);c.primitiveLength+=C.length/3,c.vertexLength+=s}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i)},fi("FillExtrusionBucket",Wa,{omit:["layers","features"]});var Ja={paint:new $i({"fill-extrusion-opacity":new Ki(At["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Hi(At["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Ki(At["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Ki(At["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Ji(At["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Hi(At["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Hi(At["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Ki(At["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})},Ya=function(t){function e(e){t.call(this,e,Ja)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Wa(t)},e.prototype.queryRadius=function(){return zo(this.paint.get("fill-extrusion-translate"))},e.prototype.is3D=function(){return!0},e.prototype.queryIntersectsFeature=function(t,e,r,i,o,a,s,l){var u=Co(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),a.angle,s),c=this.paint.get("fill-extrusion-height").evaluate(e,r),p=this.paint.get("fill-extrusion-base").evaluate(e,r),h=function(t,e,r,i){for(var o=[],a=0,s=t;a<s.length;a+=1){var l=s[a],u=[l.x,l.y,0,1];Do(u,u,e),o.push(new n(u[0]/u[3],u[1]/u[3]))}return o}(u,l),f=function(t,e,r,i){for(var o=[],a=[],s=i[8]*e,l=i[9]*e,u=i[10]*e,c=i[11]*e,p=i[8]*r,h=i[9]*r,f=i[10]*r,d=i[11]*r,m=0,y=t;m<y.length;m+=1){for(var _=[],g=[],v=0,x=y[m];v<x.length;v+=1){var b=x[v],w=b.x,S=b.y,E=i[0]*w+i[4]*S+i[12],T=i[1]*w+i[5]*S+i[13],I=i[2]*w+i[6]*S+i[14],A=i[3]*w+i[7]*S+i[15],z=I+u,C=A+c,k=E+p,P=T+h,M=I+f,L=A+d,D=new n((E+s)/C,(T+l)/C);D.z=z/C,_.push(D);var B=new n(k/L,P/L);B.z=M/L,g.push(B)}o.push(_),a.push(g)}return[o,a]}(i,p,c,l);return function(t,e,r){var i=1/0;go(r,e)&&(i=$a(r,e[0]));for(var n=0;n<e.length;n++)for(var o=e[n],a=t[n],s=0;s<o.length-1;s++){var l=o[s],u=o[s+1],c=a[s],p=[l,u,a[s+1],c,l];yo(r,p)&&(i=Math.min(i,$a(r,p)))}return i!==1/0&&i}(f[0],f[1],h)},e}(tn);function Qa(t,e){return t.x*e.x+t.y*e.y}function $a(t,e){if(1===t.length){var r=e[0],i=e[1],n=e[3],o=t[0],a=i.sub(r),s=n.sub(r),l=o.sub(r),u=Qa(a,a),c=Qa(a,s),p=Qa(s,s),h=Qa(l,a),f=Qa(l,s),d=u*p-c*c,m=(p*h-c*f)/d,y=(u*f-c*h)/d,_=1-m-y;return r.z*_+i.z*m+n.z*y}for(var g=1/0,v=0,x=e;v<x.length;v+=1){var b=x[v];g=Math.min(g,b.z)}return g}var ts=on([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4).members,es=qa.VectorTileFeature.types,rs=Math.cos(Math.PI/180*37.5),is=Math.pow(2,14)/.5,ns=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new cn,this.indexArray=new Sn,this.programConfigurations=new so(ts,t.layers,t.zoom),this.segments=new Nn,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};ns.prototype.populate=function(t,e){this.hasPattern=za("line",this.layers,e);for(var r=this.layers[0].layout.get("line-sort-key"),i=[],n=0,o=t;n<o.length;n+=1){var a=o[n],s=a.feature,l=a.index,u=a.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ui(this.zoom),s)){var c=ho(s),p=r?r.evaluate(s,{}):void 0,h={id:s.id,properties:s.properties,type:s.type,sourceLayerIndex:u,index:l,geometry:c,patterns:{},sortKey:p};i.push(h)}}r&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var f=0,d=i;f<d.length;f+=1){var m=d[f],y=m,_=y.geometry,g=y.index,v=y.sourceLayerIndex;if(this.hasPattern){var x=Ca("line",this.layers,m,this.zoom,e);this.patternFeatures.push(x)}else this.addFeature(m,_,g,{});var b=t[g].feature;e.featureIndex.insert(b,_,g,v,this.index)}},ns.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},ns.prototype.addFeatures=function(t,e){for(var r=0,i=this.patternFeatures;r<i.length;r+=1){var n=i[r];this.addFeature(n,n.geometry,n.index,e)}},ns.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ns.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ns.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,ts),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},ns.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},ns.prototype.addFeature=function(t,e,r,i){for(var n=this.layers[0].layout,o=n.get("line-join").evaluate(t,{}),a=n.get("line-cap"),s=n.get("line-miter-limit"),l=n.get("line-round-limit"),u=0,c=e;u<c.length;u+=1){var p=c[u];this.addLine(p,t,o,a,s,l,r,i)}},ns.prototype.addLine=function(t,e,r,i,n,o,a,s){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,e.properties&&e.properties.hasOwnProperty("mapbox_clip_start")&&e.properties.hasOwnProperty("mapbox_clip_end")){this.clipStart=+e.properties.mapbox_clip_start,this.clipEnd=+e.properties.mapbox_clip_end;for(var l=0;l<t.length-1;l++)this.totalDistance+=t[l].dist(t[l+1])}for(var u="Polygon"===es[e.type],c=t.length;c>=2&&t[c-1].equals(t[c-2]);)c--;for(var p=0;p<c-1&&t[p].equals(t[p+1]);)p++;if(!(c<(u?3:2))){"bevel"===r&&(n=1.05);var h,f=this.overscaling<=16?15*co/(512*this.overscaling):0,d=this.segments.prepareSegment(10*c,this.layoutVertexArray,this.indexArray),m=void 0,y=void 0,_=void 0,g=void 0;this.e1=this.e2=-1,u&&(h=t[c-2],g=t[p].sub(h)._unit()._perp());for(var v=p;v<c;v++)if(!(y=u&&v===c-1?t[p+1]:t[v+1])||!t[v].equals(y)){g&&(_=g),h&&(m=h),h=t[v],g=y?y.sub(h)._unit()._perp():_;var x=(_=_||g).add(g);0===x.x&&0===x.y||x._unit();var b=_.x*g.x+_.y*g.y,w=x.x*g.x+x.y*g.y,S=0!==w?1/w:1/0,E=2*Math.sqrt(2-2*w),T=w<rs&&m&&y,I=_.x*g.y-_.y*g.x>0;if(T&&v>p){var A=h.dist(m);if(A>2*f){var z=h.sub(h.sub(m)._mult(f/A)._round());this.updateDistance(m,z),this.addCurrentVertex(z,_,0,0,d),m=z}}var C=m&&y,k=C?r:u?"butt":i;if(C&&"round"===k&&(S<o?k="miter":S<=2&&(k="fakeround")),"miter"===k&&S>n&&(k="bevel"),"bevel"===k&&(S>2&&(k="flipbevel"),S<n&&(k="miter")),m&&this.updateDistance(m,h),"miter"===k)x._mult(S),this.addCurrentVertex(h,x,0,0,d);else if("flipbevel"===k){if(S>100)x=g.mult(-1);else{var P=S*_.add(g).mag()/_.sub(g).mag();x._perp()._mult(P*(I?-1:1))}this.addCurrentVertex(h,x,0,0,d),this.addCurrentVertex(h,x.mult(-1),0,0,d)}else if("bevel"===k||"fakeround"===k){var M=-Math.sqrt(S*S-1),L=I?M:0,D=I?0:M;if(m&&this.addCurrentVertex(h,_,L,D,d),"fakeround"===k)for(var B=Math.round(180*E/Math.PI/20),R=1;R<B;R++){var F=R/B;if(.5!==F){var O=F-.5;F+=F*O*(F-1)*((1.0904+b*(b*(3.55645-1.43519*b)-3.2452))*O*O+(.848013+b*(.215638*b-1.06021)))}var U=g.sub(_)._mult(F)._add(_)._unit()._mult(I?-1:1);this.addHalfVertex(h,U.x,U.y,!1,I,0,d)}y&&this.addCurrentVertex(h,g,-L,-D,d)}else if("butt"===k)this.addCurrentVertex(h,x,0,0,d);else if("square"===k){var V=m?1:-1;this.addCurrentVertex(h,x,V,V,d)}else"round"===k&&(m&&(this.addCurrentVertex(h,_,0,0,d),this.addCurrentVertex(h,_,1,1,d,!0)),y&&(this.addCurrentVertex(h,g,-1,-1,d,!0),this.addCurrentVertex(h,g,0,0,d)));if(T&&v<c-1){var N=h.dist(y);if(N>2*f){var j=h.add(y.sub(h)._mult(f/N)._round());this.updateDistance(h,j),this.addCurrentVertex(j,g,0,0,d),h=j}}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,a,s)}},ns.prototype.addCurrentVertex=function(t,e,r,i,n,o){void 0===o&&(o=!1);var a=e.x+e.y*r,s=e.y-e.x*r,l=-e.x+e.y*i,u=-e.y-e.x*i;this.addHalfVertex(t,a,s,o,!1,r,n),this.addHalfVertex(t,l,u,o,!0,-i,n),this.distance>is/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(t,e,r,i,n,o))},ns.prototype.addHalfVertex=function(t,e,r,i,n,o,a){var s=t.x,l=t.y,u=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((s<<1)+(i?1:0),(l<<1)+(n?1:0),Math.round(63*e)+128,Math.round(63*r)+128,1+(0===o?0:o<0?-1:1)|(63&u)<<2,u>>6);var c=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,c),a.primitiveLength++),n?this.e2=c:this.e1=c},ns.prototype.updateDistance=function(t,e){this.distance+=t.dist(e),this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(is-1):this.distance},fi("LineBucket",ns,{omit:["layers","patternFeatures"]});var os=new $i({"line-cap":new Ki(At.layout_line["line-cap"]),"line-join":new Hi(At.layout_line["line-join"]),"line-miter-limit":new Ki(At.layout_line["line-miter-limit"]),"line-round-limit":new Ki(At.layout_line["line-round-limit"]),"line-sort-key":new Hi(At.layout_line["line-sort-key"])}),as={paint:new $i({"line-opacity":new Hi(At.paint_line["line-opacity"]),"line-color":new Hi(At.paint_line["line-color"]),"line-translate":new Ki(At.paint_line["line-translate"]),"line-translate-anchor":new Ki(At.paint_line["line-translate-anchor"]),"line-width":new Hi(At.paint_line["line-width"]),"line-gap-width":new Hi(At.paint_line["line-gap-width"]),"line-offset":new Hi(At.paint_line["line-offset"]),"line-blur":new Hi(At.paint_line["line-blur"]),"line-dasharray":new Yi(At.paint_line["line-dasharray"]),"line-pattern":new Ji(At.paint_line["line-pattern"]),"line-gradient":new Qi(At.paint_line["line-gradient"])}),layout:os},ss=new(function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(e,r){return r=new Ui(Math.floor(r.zoom),{now:r.now,fadeDuration:r.fadeDuration,zoomHistory:r.zoomHistory,transition:r.transition}),t.prototype.possiblyEvaluate.call(this,e,r)},e.prototype.evaluate=function(e,r,i,n){return r=p({},r,{zoom:Math.floor(r.zoom)}),t.prototype.evaluate.call(this,e,r,i,n)},e}(Hi))(as.paint.properties["line-width"].specification);ss.useIntegerZoom=!0;var ls=function(t){function e(e){t.call(this,e,as)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._handleSpecialPaintPropertyUpdate=function(t){"line-gradient"===t&&this._updateGradient()},e.prototype._updateGradient=function(){var t=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=Zo(t,"lineProgress"),this.gradientTexture=null},e.prototype.recalculate=function(e,r){t.prototype.recalculate.call(this,e,r),this.paint._values["line-floorwidth"]=ss.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,e)},e.prototype.createBucket=function(t){return new ns(t)},e.prototype.queryRadius=function(t){var e=t,r=us(Ao("line-width",this,e),Ao("line-gap-width",this,e)),i=Ao("line-offset",this,e);return r/2+Math.abs(i)+zo(this.paint.get("line-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,o,a,s){var l=Co(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),a.angle,s),u=s/2*us(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),c=this.paint.get("line-offset").evaluate(e,r);return c&&(i=function(t,e){for(var r=[],i=new n(0,0),o=0;o<t.length;o++){for(var a=t[o],s=[],l=0;l<a.length;l++){var u=a[l-1],c=a[l],p=a[l+1],h=0===l?i:c.sub(u)._unit()._perp(),f=l===a.length-1?i:p.sub(c)._unit()._perp(),d=h._add(f)._unit(),m=d.x*f.x+d.y*f.y;d._mult(1/m),s.push(d._mult(e)._add(c))}r.push(s)}return r}(i,c*s)),function(t,e,r){for(var i=0;i<e.length;i++){var n=e[i];if(t.length>=3)for(var o=0;o<n.length;o++)if(To(t,n[o]))return!0;if(vo(t,n,r))return!0}return!1}(l,i,u)},e.prototype.isTileClipped=function(){return!0},e}(tn);function us(t,e){return e>0?e+2*t:t}var cs=on([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),ps=on([{name:"a_projected_pos",components:3,type:"Float32"}],4),hs=(on([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),on([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),fs=(on([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"},{type:"Int16",name:"radius"},{type:"Int16",name:"signedDistanceFromAnchor"}]),on([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),ds=on([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4);function ms(t,e,r){return t.sections.forEach((function(t){t.text=function(t,e,r){var i=e.layout.get("text-transform").evaluate(r,{});return"uppercase"===i?t=t.toLocaleUpperCase():"lowercase"===i&&(t=t.toLocaleLowerCase()),Oi.applyArabicShaping&&(t=Oi.applyArabicShaping(t)),t}(t.text,e,r)})),t}on([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),on([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"}]),on([{type:"Float32",name:"offsetX"}]),on([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var ys={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},_s=function(t,e,r,i,n){var o,a,s=8*n-i-1,l=(1<<s)-1,u=l>>1,c=-7,p=r?n-1:0,h=r?-1:1,f=t[e+p];for(p+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+p],p+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;c>0;a=256*a+t[e+p],p+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=u}return(f?-1:1)*a*Math.pow(2,o-i)},gs=function(t,e,r,i,n,o){var a,s,l,u=8*o-n-1,c=(1<<u)-1,p=c>>1,h=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,d=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+p>=1?h/l:h*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=c?(s=0,a=c):a+p>=1?(s=(e*l-1)*Math.pow(2,n),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,n),a=0));n>=8;t[r+f]=255&s,f+=d,s/=256,n-=8);for(a=a<<n|s,u+=n;u>0;t[r+f]=255&a,f+=d,a/=256,u-=8);t[r+f-d]|=128*m},vs=xs;function xs(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}xs.Varint=0,xs.Fixed64=1,xs.Bytes=2,xs.Fixed32=5;var bs="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function ws(t){return t.type===xs.Bytes?t.readVarint()+t.pos:t.pos+1}function Ss(t,e,r){return r?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Es(t,e,r){var i=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));r.realloc(i);for(var n=r.pos-1;n>=t;n--)r.buf[n+i]=r.buf[n]}function Ts(t,e){for(var r=0;r<t.length;r++)e.writeVarint(t[r])}function Is(t,e){for(var r=0;r<t.length;r++)e.writeSVarint(t[r])}function As(t,e){for(var r=0;r<t.length;r++)e.writeFloat(t[r])}function zs(t,e){for(var r=0;r<t.length;r++)e.writeDouble(t[r])}function Cs(t,e){for(var r=0;r<t.length;r++)e.writeBoolean(t[r])}function ks(t,e){for(var r=0;r<t.length;r++)e.writeFixed32(t[r])}function Ps(t,e){for(var r=0;r<t.length;r++)e.writeSFixed32(t[r])}function Ms(t,e){for(var r=0;r<t.length;r++)e.writeFixed64(t[r])}function Ls(t,e){for(var r=0;r<t.length;r++)e.writeSFixed64(t[r])}function Ds(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function Bs(t,e,r){t[r]=e,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24}function Rs(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}function Fs(t,e,r){1===t&&r.readMessage(Os,e)}function Os(t,e,r){if(3===t){var i=r.readMessage(Us,{}),n=i.id,o=i.bitmap,a=i.width,s=i.height,l=i.left,u=i.top,c=i.advance;e.push({id:n,bitmap:new No({width:a+6,height:s+6},o),metrics:{width:a,height:s,left:l,top:u,advance:c}})}}function Us(t,e,r){1===t?e.id=r.readVarint():2===t?e.bitmap=r.readBytes():3===t?e.width=r.readVarint():4===t?e.height=r.readVarint():5===t?e.left=r.readSVarint():6===t?e.top=r.readSVarint():7===t&&(e.advance=r.readVarint())}function Vs(t){for(var e=0,r=0,i=0,n=t;i<n.length;i+=1){var o=n[i];e+=o.w*o.h,r=Math.max(r,o.w)}t.sort((function(t,e){return e.h-t.h}));for(var a=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),r),h:1/0}],s=0,l=0,u=0,c=t;u<c.length;u+=1)for(var p=c[u],h=a.length-1;h>=0;h--){var f=a[h];if(!(p.w>f.w||p.h>f.h)){if(p.x=f.x,p.y=f.y,l=Math.max(l,p.y+p.h),s=Math.max(s,p.x+p.w),p.w===f.w&&p.h===f.h){var d=a.pop();h<a.length&&(a[h]=d)}else p.h===f.h?(f.x+=p.w,f.w-=p.w):p.w===f.w?(f.y+=p.h,f.h-=p.h):(a.push({x:f.x+p.w,y:f.y,w:f.w-p.w,h:p.h}),f.y+=p.h,f.h-=p.h);break}}return{w:s,h:l,fill:e/(s*l)||0}}xs.prototype={destroy:function(){this.buf=null},readFields:function(t,e,r){for(r=r||this.length;this.pos<r;){var i=this.readVarint(),n=i>>3,o=this.pos;this.type=7&i,t(n,e,this),this.pos===o&&this.skip(i)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=Ds(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=Rs(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=Ds(this.buf,this.pos)+4294967296*Ds(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=Ds(this.buf,this.pos)+4294967296*Rs(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=_s(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=_s(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,r,i=this.buf;return e=127&(r=i[this.pos++]),r<128?e:(e|=(127&(r=i[this.pos++]))<<7,r<128?e:(e|=(127&(r=i[this.pos++]))<<14,r<128?e:(e|=(127&(r=i[this.pos++]))<<21,r<128?e:function(t,e,r){var i,n,o=r.buf;if(i=(112&(n=o[r.pos++]))>>4,n<128)return Ss(t,i,e);if(i|=(127&(n=o[r.pos++]))<<3,n<128)return Ss(t,i,e);if(i|=(127&(n=o[r.pos++]))<<10,n<128)return Ss(t,i,e);if(i|=(127&(n=o[r.pos++]))<<17,n<128)return Ss(t,i,e);if(i|=(127&(n=o[r.pos++]))<<24,n<128)return Ss(t,i,e);if(i|=(1&(n=o[r.pos++]))<<31,n<128)return Ss(t,i,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(r=i[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&bs?function(t,e,r){return bs.decode(t.subarray(e,r))}(this.buf,e,t):function(t,e,r){for(var i="",n=e;n<r;){var o,a,s,l=t[n],u=null,c=l>239?4:l>223?3:l>191?2:1;if(n+c>r)break;1===c?l<128&&(u=l):2===c?128==(192&(o=t[n+1]))&&(u=(31&l)<<6|63&o)<=127&&(u=null):3===c?(o=t[n+1],a=t[n+2],128==(192&o)&&128==(192&a)&&((u=(15&l)<<12|(63&o)<<6|63&a)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(o=t[n+1],a=t[n+2],s=t[n+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&((u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,i+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),i+=String.fromCharCode(u),n+=c}return i}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==xs.Bytes)return t.push(this.readVarint(e));var r=ws(this);for(t=t||[];this.pos<r;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==xs.Bytes)return t.push(this.readSVarint());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==xs.Bytes)return t.push(this.readBoolean());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==xs.Bytes)return t.push(this.readFloat());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==xs.Bytes)return t.push(this.readDouble());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==xs.Bytes)return t.push(this.readFixed32());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==xs.Bytes)return t.push(this.readSFixed32());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==xs.Bytes)return t.push(this.readFixed64());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==xs.Bytes)return t.push(this.readSFixed64());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===xs.Varint)for(;this.buf[this.pos++]>127;);else if(e===xs.Bytes)this.pos=this.readVarint()+this.pos;else if(e===xs.Fixed32)this.pos+=4;else{if(e!==xs.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var r=new Uint8Array(e);r.set(this.buf),this.buf=r,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),Bs(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),Bs(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),Bs(this.buf,-1&t,this.pos),Bs(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),Bs(this.buf,-1&t,this.pos),Bs(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var r,i;if(t>=0?(r=t%4294967296|0,i=t/4294967296|0):(i=~(-t/4294967296),4294967295^(r=~(-t%4294967296))?r=r+1|0:(r=0,i=i+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,r){r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos]=127&t}(r,0,e),function(t,e){var r=(7&t)<<4;e.buf[e.pos++]|=r|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(i,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,r){for(var i,n,o=0;o<e.length;o++){if((i=e.charCodeAt(o))>55295&&i<57344){if(!n){i>56319||o+1===e.length?(t[r++]=239,t[r++]=191,t[r++]=189):n=i;continue}if(i<56320){t[r++]=239,t[r++]=191,t[r++]=189,n=i;continue}i=n-55296<<10|i-56320|65536,n=null}else n&&(t[r++]=239,t[r++]=191,t[r++]=189,n=null);i<128?t[r++]=i:(i<2048?t[r++]=i>>6|192:(i<65536?t[r++]=i>>12|224:(t[r++]=i>>18|240,t[r++]=i>>12&63|128),t[r++]=i>>6&63|128),t[r++]=63&i|128)}return r}(this.buf,t,this.pos);var r=this.pos-e;r>=128&&Es(e,r,this),this.pos=e-1,this.writeVarint(r),this.pos+=r},writeFloat:function(t){this.realloc(4),gs(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),gs(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var r=0;r<e;r++)this.buf[this.pos++]=t[r]},writeRawMessage:function(t,e){this.pos++;var r=this.pos;t(e,this);var i=this.pos-r;i>=128&&Es(r,i,this),this.pos=r-1,this.writeVarint(i),this.pos+=i},writeMessage:function(t,e,r){this.writeTag(t,xs.Bytes),this.writeRawMessage(e,r)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,Ts,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,Is,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,Cs,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,As,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,zs,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,ks,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,Ps,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,Ms,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,Ls,e)},writeBytesField:function(t,e){this.writeTag(t,xs.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,xs.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,xs.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,xs.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,xs.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,xs.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,xs.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,xs.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,xs.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,xs.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};var Ns=function(t,e){var r=e.pixelRatio,i=e.version,n=e.stretchX,o=e.stretchY,a=e.content;this.paddedRect=t,this.pixelRatio=r,this.stretchX=n,this.stretchY=o,this.content=a,this.version=i},js={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};js.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},js.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},js.tlbr.get=function(){return this.tl.concat(this.br)},js.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(Ns.prototype,js);var qs=function(t,e){var r={},i={};this.haveRenderCallbacks=[];var n=[];this.addImages(t,r,n),this.addImages(e,i,n);var o=Vs(n),a=o.w,s=o.h,l=new jo({width:a||1,height:s||1});for(var u in t){var c=t[u],p=r[u].paddedRect;jo.copy(c.data,l,{x:0,y:0},{x:p.x+1,y:p.y+1},c.data)}for(var h in e){var f=e[h],d=i[h].paddedRect,m=d.x+1,y=d.y+1,_=f.data.width,g=f.data.height;jo.copy(f.data,l,{x:0,y:0},{x:m,y:y},f.data),jo.copy(f.data,l,{x:0,y:g-1},{x:m,y:y-1},{width:_,height:1}),jo.copy(f.data,l,{x:0,y:0},{x:m,y:y+g},{width:_,height:1}),jo.copy(f.data,l,{x:_-1,y:0},{x:m-1,y:y},{width:1,height:g}),jo.copy(f.data,l,{x:0,y:0},{x:m+_,y:y},{width:1,height:g})}this.image=l,this.iconPositions=r,this.patternPositions=i};qs.prototype.addImages=function(t,e,r){for(var i in t){var n=t[i],o={x:0,y:0,w:n.data.width+2,h:n.data.height+2};r.push(o),e[i]=new Ns(o,n),n.hasRenderCallback&&this.haveRenderCallbacks.push(i)}},qs.prototype.patchUpdatedImages=function(t,e){for(var r in t.dispatchRenderCallbacks(this.haveRenderCallbacks),t.updatedImages)this.patchUpdatedImage(this.iconPositions[r],t.getImage(r),e),this.patchUpdatedImage(this.patternPositions[r],t.getImage(r),e)},qs.prototype.patchUpdatedImage=function(t,e,r){if(t&&e&&t.version!==e.version){t.version=e.version;var i=t.tl,n=i[0],o=i[1];r.update(e.data,void 0,{x:n,y:o})}},fi("ImagePosition",Ns),fi("ImageAtlas",qs);var Zs={horizontal:1,vertical:2,horizontalOnly:3},Gs=function(){this.scale=1,this.fontStack="",this.imageName=null};Gs.forText=function(t,e){var r=new Gs;return r.scale=t||1,r.fontStack=e,r},Gs.forImage=function(t){var e=new Gs;return e.imageName=t,e};var Xs=function(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null};function Ws(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m){var y,_=Xs.fromFeature(t,n);p===Zs.vertical&&_.verticalizePunctuation();var g=Oi.processBidirectionalText,v=Oi.processStyledBidirectionalText;if(g&&1===_.sections.length){y=[];for(var x=0,b=g(_.toString(),tl(_,u,o,e,i,f,d));x<b.length;x+=1){var w=b[x],S=new Xs;S.text=w,S.sections=_.sections;for(var E=0;E<w.length;E++)S.sectionIndex.push(0);y.push(S)}}else if(v){y=[];for(var T=0,I=v(_.text,_.sectionIndex,tl(_,u,o,e,i,f,d));T<I.length;T+=1){var A=I[T],z=new Xs;z.text=A[0],z.sectionIndex=A[1],z.sections=_.sections,y.push(z)}}else y=function(t,e){for(var r=[],i=t.text,n=0,o=0,a=e;o<a.length;o+=1){var s=a[o];r.push(t.substring(n,s)),n=s}return n<i.length&&r.push(t.substring(n,i.length)),r}(_,tl(_,u,o,e,i,f,d));var C=[],k={positionedLines:C,text:_.toString(),top:c[1],bottom:c[1],left:c[0],right:c[0],writingMode:p,iconsInText:!1,verticalizable:!1};return function(t,e,r,i,n,o,a,s,l,u,c,p){for(var h=0,f=-17,d=0,m=0,y="right"===s?1:"left"===s?0:.5,_=0,g=0,v=n;g<v.length;g+=1){var x=v[g];x.trim();var b=x.getMaxScale(),w=24*(b-1),S={positionedGlyphs:[],lineOffset:0};t.positionedLines[_]=S;var E=S.positionedGlyphs,T=0;if(x.length()){for(var I=0;I<x.length();I++){var A=x.getSection(I),z=x.getSectionIndex(I),C=x.getCharCode(I),k=0,P=null,M=null,L=null,D=24,B=!(l===Zs.horizontal||!c&&!wi(C)||c&&(Ks[C]||(G=C,vi.Arabic(G)||vi["Arabic Supplement"](G)||vi["Arabic Extended-A"](G)||vi["Arabic Presentation Forms-A"](G)||vi["Arabic Presentation Forms-B"](G))));if(A.imageName){var R=i[A.imageName];if(!R)continue;L=A.imageName,t.iconsInText=t.iconsInText||!0,M=R.paddedRect;var F=R.displaySize;A.scale=24*A.scale/p,P={width:F[0],height:F[1],left:1,top:-3,advance:B?F[1]:F[0]},k=w+(24-F[1]*A.scale),D=P.advance;var O=B?F[0]*A.scale-24*b:F[1]*A.scale-24*b;O>0&&O>T&&(T=O)}else{var U=r[A.fontStack],V=U&&U[C];if(V&&V.rect)M=V.rect,P=V.metrics;else{var N=e[A.fontStack],j=N&&N[C];if(!j)continue;P=j.metrics}k=24*(b-A.scale)}B?(t.verticalizable=!0,E.push({glyph:C,imageName:L,x:h,y:f+k,vertical:B,scale:A.scale,fontStack:A.fontStack,sectionIndex:z,metrics:P,rect:M}),h+=D*A.scale+u):(E.push({glyph:C,imageName:L,x:h,y:f+k,vertical:B,scale:A.scale,fontStack:A.fontStack,sectionIndex:z,metrics:P,rect:M}),h+=P.advance*A.scale+u)}if(0!==E.length){var q=h-u;d=Math.max(q,d),rl(E,0,E.length-1,y,T)}h=0;var Z=o*b+T;S.lineOffset=Math.max(T,w),f+=Z,m=Math.max(Z,m),++_}else f+=o,++_}var G,X=f- -17,W=el(a),K=W.horizontalAlign,H=W.verticalAlign;(function(t,e,r,i,n,o,a,s,l){var u,c=(e-r)*n;u=o!==a?-s*i- -17:(-i*l+.5)*a;for(var p=0,h=t;p<h.length;p+=1)for(var f=0,d=h[p].positionedGlyphs;f<d.length;f+=1){var m=d[f];m.x+=c,m.y+=u}})(t.positionedLines,y,K,H,d,m,o,X,n.length),t.top+=-H*X,t.bottom=t.top+X,t.left+=-K*d,t.right=t.left+d}(k,e,r,i,y,a,s,l,p,u,h,m),!function(t){for(var e=0,r=t;e<r.length;e+=1)if(0!==r[e].positionedGlyphs.length)return!1;return!0}(C)&&k}Xs.fromFeature=function(t,e){for(var r=new Xs,i=0;i<t.sections.length;i++){var n=t.sections[i];n.image?r.addImageSection(n):r.addTextSection(n,e)}return r},Xs.prototype.length=function(){return this.text.length},Xs.prototype.getSection=function(t){return this.sections[this.sectionIndex[t]]},Xs.prototype.getSectionIndex=function(t){return this.sectionIndex[t]},Xs.prototype.getCharCode=function(t){return this.text.charCodeAt(t)},Xs.prototype.verticalizePunctuation=function(){this.text=function(t){for(var e="",r=0;r<t.length;r++){var i=t.charCodeAt(r+1)||null,n=t.charCodeAt(r-1)||null;i&&Si(i)&&!ys[t[r+1]]||n&&Si(n)&&!ys[t[r-1]]||!ys[t[r]]?e+=t[r]:e+=ys[t[r]]}return e}(this.text)},Xs.prototype.trim=function(){for(var t=0,e=0;e<this.text.length&&Ks[this.text.charCodeAt(e)];e++)t++;for(var r=this.text.length,i=this.text.length-1;i>=0&&i>=t&&Ks[this.text.charCodeAt(i)];i--)r--;this.text=this.text.substring(t,r),this.sectionIndex=this.sectionIndex.slice(t,r)},Xs.prototype.substring=function(t,e){var r=new Xs;return r.text=this.text.substring(t,e),r.sectionIndex=this.sectionIndex.slice(t,e),r.sections=this.sections,r},Xs.prototype.toString=function(){return this.text},Xs.prototype.getMaxScale=function(){var t=this;return this.sectionIndex.reduce((function(e,r){return Math.max(e,t.sections[r].scale)}),0)},Xs.prototype.addTextSection=function(t,e){this.text+=t.text,this.sections.push(Gs.forText(t.scale,t.fontStack||e));for(var r=this.sections.length-1,i=0;i<t.text.length;++i)this.sectionIndex.push(r)},Xs.prototype.addImageSection=function(t){var e=t.image?t.image.name:"";if(0!==e.length){var r=this.getNextImageSectionCharCode();r?(this.text+=String.fromCharCode(r),this.sections.push(Gs.forImage(e)),this.sectionIndex.push(this.sections.length-1)):w("Reached maximum number of images 6401")}else w("Can't add FormattedSection with an empty image.")},Xs.prototype.getNextImageSectionCharCode=function(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ks={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Hs={};function Js(t,e,r,i,n,o){if(e.imageName){var a=i[e.imageName];return a?a.displaySize[0]*e.scale*24/o+n:0}var s=r[e.fontStack],l=s&&s[t];return l?l.metrics.advance*e.scale+n:0}function Ys(t,e,r,i){var n=Math.pow(t-e,2);return i?t<e?n/2:2*n:n+Math.abs(r)*r}function Qs(t,e,r){var i=0;return 10===t&&(i-=1e4),r&&(i+=150),40!==t&&65288!==t||(i+=50),41!==e&&65289!==e||(i+=50),i}function $s(t,e,r,i,n,o){for(var a=null,s=Ys(e,r,n,o),l=0,u=i;l<u.length;l+=1){var c=u[l],p=Ys(e-c.x,r,n,o)+c.badness;p<=s&&(a=c,s=p)}return{index:t,x:e,priorBreak:a,badness:s}}function tl(t,e,r,i,n,o,a){if("point"!==o)return[];if(!t)return[];for(var s,l=[],u=function(t,e,r,i,n,o){for(var a=0,s=0;s<t.length();s++){var l=t.getSection(s);a+=Js(t.getCharCode(s),l,i,n,e,o)}return a/Math.max(1,Math.ceil(a/r))}(t,e,r,i,n,a),c=t.text.indexOf("​")>=0,p=0,h=0;h<t.length();h++){var f=t.getSection(h),d=t.getCharCode(h);if(Ks[d]||(p+=Js(d,f,i,n,e,a)),h<t.length()-1){var m=!((s=d)<11904||!(vi["Bopomofo Extended"](s)||vi.Bopomofo(s)||vi["CJK Compatibility Forms"](s)||vi["CJK Compatibility Ideographs"](s)||vi["CJK Compatibility"](s)||vi["CJK Radicals Supplement"](s)||vi["CJK Strokes"](s)||vi["CJK Symbols and Punctuation"](s)||vi["CJK Unified Ideographs Extension A"](s)||vi["CJK Unified Ideographs"](s)||vi["Enclosed CJK Letters and Months"](s)||vi["Halfwidth and Fullwidth Forms"](s)||vi.Hiragana(s)||vi["Ideographic Description Characters"](s)||vi["Kangxi Radicals"](s)||vi["Katakana Phonetic Extensions"](s)||vi.Katakana(s)||vi["Vertical Forms"](s)||vi["Yi Radicals"](s)||vi["Yi Syllables"](s)));(Hs[d]||m||f.imageName)&&l.push($s(h+1,p,u,l,Qs(d,t.getCharCode(h+1),m&&c),!1))}}return function t(e){return e?t(e.priorBreak).concat(e.index):[]}($s(t.length(),p,u,l,0,!0))}function el(t){var e=.5,r=.5;switch(t){case"right":case"top-right":case"bottom-right":e=1;break;case"left":case"top-left":case"bottom-left":e=0}switch(t){case"bottom":case"bottom-right":case"bottom-left":r=1;break;case"top":case"top-right":case"top-left":r=0}return{horizontalAlign:e,verticalAlign:r}}function rl(t,e,r,i,n){if(i||n)for(var o=t[r],a=o.metrics.advance*o.scale,s=(t[r].x+a)*i,l=e;l<=r;l++)t[l].x-=s,t[l].y+=n}function il(t,e,r,i,n,o){var a,s=t.image;if(s.content){var l=s.content,u=s.pixelRatio||1;a=[l[0]/u,l[1]/u,s.displaySize[0]-l[2]/u,s.displaySize[1]-l[3]/u]}var c,p,h,f,d=e.left*o,m=e.right*o;"width"===r||"both"===r?(f=n[0]+d-i[3],p=n[0]+m+i[1]):p=(f=n[0]+(d+m-s.displaySize[0])/2)+s.displaySize[0];var y=e.top*o,_=e.bottom*o;return"height"===r||"both"===r?(c=n[1]+y-i[0],h=n[1]+_+i[2]):h=(c=n[1]+(y+_-s.displaySize[1])/2)+s.displaySize[1],{image:s,top:c,right:p,bottom:h,left:f,collisionPadding:a}}Hs[10]=!0,Hs[32]=!0,Hs[38]=!0,Hs[40]=!0,Hs[41]=!0,Hs[43]=!0,Hs[45]=!0,Hs[47]=!0,Hs[173]=!0,Hs[183]=!0,Hs[8203]=!0,Hs[8208]=!0,Hs[8211]=!0,Hs[8231]=!0;var nl=function(t){function e(e,r,i,n){t.call(this,e,r),this.angle=i,void 0!==n&&(this.segment=n)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y,this.angle,this.segment)},e}(n);fi("Anchor",nl);var ol=128;function al(t,e){var r=e.expression;if("constant"===r.kind)return{kind:"constant",layoutSize:r.evaluate(new Ui(t+1))};if("source"===r.kind)return{kind:"source"};for(var i=r.zoomStops,n=r.interpolationType,o=0;o<i.length&&i[o]<=t;)o++;for(var a=o=Math.max(0,o-1);a<i.length&&i[a]<t+1;)a++;a=Math.min(i.length-1,a);var s=i[o],l=i[a];return"composite"===r.kind?{kind:"composite",minZoom:s,maxZoom:l,interpolationType:n}:{kind:"camera",minZoom:s,maxZoom:l,minSize:r.evaluate(new Ui(s)),maxSize:r.evaluate(new Ui(l)),interpolationType:n}}function sl(t,e,r){var i=e.uSize,n=e.uSizeT,o=r.lowerSize,a=r.upperSize;return"source"===t.kind?o/ol:"composite"===t.kind?Se(o/ol,a/ol,n):i}function ll(t,e){var r=0,i=0;if("constant"===t.kind)i=t.layoutSize;else if("source"!==t.kind){var n=t.interpolationType,o=t.minZoom,a=t.maxZoom,s=n?u(Ue.interpolationFactor(n,e,o,a),0,1):0;"camera"===t.kind?i=Se(t.minSize,t.maxSize,s):r=s}return{uSizeT:r,uSize:i}}var ul=Object.freeze({__proto__:null,getSizeData:al,evaluateSizeForFeature:sl,evaluateSizeForZoom:ll,SIZE_PACK_FACTOR:ol});function cl(t,e,r,i,n){if(void 0===e.segment)return!0;for(var o=e,a=e.segment+1,s=0;s>-r/2;){if(--a<0)return!1;s-=t[a].dist(o),o=t[a]}s+=t[a].dist(t[a+1]),a++;for(var l=[],u=0;s<r/2;){var c=t[a-1],p=t[a],h=t[a+1];if(!h)return!1;var f=c.angleTo(p)-p.angleTo(h);for(f=Math.abs((f+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:s,angleDelta:f}),u+=f;s-l[0].distance>i;)u-=l.shift().angleDelta;if(u>n)return!1;a++,s+=p.dist(h)}return!0}function pl(t){for(var e=0,r=0;r<t.length-1;r++)e+=t[r].dist(t[r+1]);return e}function hl(t,e,r){return t?.6*e*r:0}function fl(t,e){return Math.max(t?t.right-t.left:0,e?e.right-e.left:0)}function dl(t,e,r,i,n,o){for(var a=hl(r,n,o),s=fl(r,i)*o,l=0,u=pl(t)/2,c=0;c<t.length-1;c++){var p=t[c],h=t[c+1],f=p.dist(h);if(l+f>u){var d=(u-l)/f,m=Se(p.x,h.x,d),y=Se(p.y,h.y,d),_=new nl(m,y,h.angleTo(p),c);return _._round(),!a||cl(t,_,s,a,e)?_:void 0}l+=f}}function ml(t,e,r,i,n,o,a,s,l){var u=hl(i,o,a),c=fl(i,n),p=c*a,h=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-p<e/4&&(e=p+e/4),function t(e,r,i,n,o,a,s,l,u){for(var c=a/2,p=pl(e),h=0,f=r-i,d=[],m=0;m<e.length-1;m++){for(var y=e[m],_=e[m+1],g=y.dist(_),v=_.angleTo(y);f+i<h+g;){var x=((f+=i)-h)/g,b=Se(y.x,_.x,x),w=Se(y.y,_.y,x);if(b>=0&&b<u&&w>=0&&w<u&&f-c>=0&&f+c<=p){var S=new nl(b,w,v,m);S._round(),n&&!cl(e,S,a,n,o)||d.push(S)}}h+=g}return l||d.length||s||(d=t(e,h/2,i,n,o,a,s,!0,u)),d}(t,h?e/2*s%e:(c/2+2*o)*a*s%e,e,u,r,p,h,!1,l)}function yl(t,e,r,i){var o=[],a=t.image,s=a.pixelRatio,l=a.paddedRect.w-2,u=a.paddedRect.h-2,c=t.right-t.left,p=t.bottom-t.top,h=a.stretchX||[[0,l]],f=a.stretchY||[[0,u]],d=function(t,e){return t+e[1]-e[0]},m=h.reduce(d,0),y=f.reduce(d,0),_=l-m,g=u-y,v=0,x=m,b=0,w=y,S=0,E=_,T=0,I=g;if(a.content&&i){var A=a.content;v=_l(h,0,A[0]),b=_l(f,0,A[1]),x=_l(h,A[0],A[2]),w=_l(f,A[1],A[3]),S=A[0]-v,T=A[1]-b,E=A[2]-A[0]-x,I=A[3]-A[1]-w}var z=function(i,o,l,u){var h=vl(i.stretch-v,x,c,t.left),f=xl(i.fixed-S,E,i.stretch,m),d=vl(o.stretch-b,w,p,t.top),_=xl(o.fixed-T,I,o.stretch,y),g=vl(l.stretch-v,x,c,t.left),A=xl(l.fixed-S,E,l.stretch,m),z=vl(u.stretch-b,w,p,t.top),C=xl(u.fixed-T,I,u.stretch,y),k=new n(h,d),P=new n(g,d),M=new n(g,z),L=new n(h,z),D=new n(f/s,_/s),B=new n(A/s,C/s),R=e*Math.PI/180;if(R){var F=Math.sin(R),O=Math.cos(R),U=[O,-F,F,O];k._matMult(U),P._matMult(U),L._matMult(U),M._matMult(U)}var V=i.stretch+i.fixed,N=l.stretch+l.fixed,j=o.stretch+o.fixed,q=u.stretch+u.fixed;return{tl:k,tr:P,bl:L,br:M,tex:{x:a.paddedRect.x+1+V,y:a.paddedRect.y+1+j,w:N-V,h:q-j},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:D,pixelOffsetBR:B,minFontScaleX:E/s/c,minFontScaleY:I/s/p,isSDF:r}};if(i&&(a.stretchX||a.stretchY))for(var C=gl(h,_,m),k=gl(f,g,y),P=0;P<C.length-1;P++)for(var M=C[P],L=C[P+1],D=0;D<k.length-1;D++){var B=k[D],R=k[D+1];o.push(z(M,B,L,R))}else o.push(z({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:l+1},{fixed:0,stretch:u+1}));return o}function _l(t,e,r){for(var i=0,n=0,o=t;n<o.length;n+=1){var a=o[n];i+=Math.max(e,Math.min(r,a[1]))-Math.max(e,Math.min(r,a[0]))}return i}function gl(t,e,r){for(var i=[{fixed:-1,stretch:0}],n=0,o=t;n<o.length;n+=1){var a=o[n],s=a[0],l=a[1],u=i[i.length-1];i.push({fixed:s-u.stretch,stretch:u.stretch}),i.push({fixed:s-u.stretch,stretch:u.stretch+(l-s)})}return i.push({fixed:e+1,stretch:r}),i}function vl(t,e,r,i){return t/e*r+i}function xl(t,e,r,i){return t-e*r/i}var bl=function(t,e,r,i,o,a,s,l,u,c,p,h){var f=s.top*l-u,d=s.bottom*l+u,m=s.left*l-u,y=s.right*l+u,_=s.collisionPadding;if(_&&(m-=_[0]*l,f-=_[1]*l,y+=_[2]*l,d+=_[3]*l),this.boxStartIndex=t.length,c){var g=d-f,v=y-m;g>0&&(g=Math.max(10*l,g),this._addLineCollisionCircles(t,e,r,r.segment,v,g,i,o,a,p))}else{if(h){var x=new n(m,f),b=new n(y,f),w=new n(m,d),S=new n(y,d),E=h*Math.PI/180;x._rotate(E),b._rotate(E),w._rotate(E),S._rotate(E),m=Math.min(x.x,b.x,w.x,S.x),y=Math.max(x.x,b.x,w.x,S.x),f=Math.min(x.y,b.y,w.y,S.y),d=Math.max(x.y,b.y,w.y,S.y)}t.emplaceBack(r.x,r.y,m,f,y,d,i,o,a,0,0)}this.boxEndIndex=t.length};bl.prototype._addLineCollisionCircles=function(t,e,r,i,n,o,a,s,l,u){var c=o/2,p=Math.floor(n/c)||1,h=1+.4*Math.log(u)/Math.LN2,f=Math.floor(p*h/2),d=-o/2,m=r,y=i+1,_=d,g=-n/2,v=g-n/4;do{if(--y<0){if(_>g)return;y=0;break}_-=e[y].dist(m),m=e[y]}while(_>v);for(var x=e[y].dist(e[y+1]),b=-f;b<p+f;b++){var w=b*c,S=g+w;if(w<0&&(S+=w),w>n&&(S+=w-n),!(S<_)){for(;_+x<S;){if(_+=x,++y+1>=e.length)return;x=e[y].dist(e[y+1])}var E=S-_,T=e[y],I=e[y+1].sub(T)._unit()._mult(E)._add(T)._round(),A=Math.abs(S-d)<c?0:.8*(S-d);t.emplaceBack(I.x,I.y,-o/2,-o/2,o/2,o/2,a,s,l,o/2,A)}}};var wl=function(t,e){if(void 0===t&&(t=[]),void 0===e&&(e=Sl),this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(var r=(this.length>>1)-1;r>=0;r--)this._down(r)};function Sl(t,e){return t<e?-1:t>e?1:0}function El(t,e,r){void 0===e&&(e=1),void 0===r&&(r=!1);for(var i=1/0,o=1/0,a=-1/0,s=-1/0,l=t[0],u=0;u<l.length;u++){var c=l[u];(!u||c.x<i)&&(i=c.x),(!u||c.y<o)&&(o=c.y),(!u||c.x>a)&&(a=c.x),(!u||c.y>s)&&(s=c.y)}var p=a-i,h=s-o,f=Math.min(p,h),d=f/2,m=new wl([],Tl);if(0===f)return new n(i,o);for(var y=i;y<a;y+=f)for(var _=o;_<s;_+=f)m.push(new Il(y+d,_+d,d,t));for(var g=function(t){for(var e=0,r=0,i=0,n=t[0],o=0,a=n.length,s=a-1;o<a;s=o++){var l=n[o],u=n[s],c=l.x*u.y-u.x*l.y;r+=(l.x+u.x)*c,i+=(l.y+u.y)*c,e+=3*c}return new Il(r/e,i/e,0,t)}(t),v=m.length;m.length;){var x=m.pop();(x.d>g.d||!g.d)&&(g=x,r&&console.log("found best %d after %d probes",Math.round(1e4*x.d)/1e4,v)),x.max-g.d<=e||(d=x.h/2,m.push(new Il(x.p.x-d,x.p.y-d,d,t)),m.push(new Il(x.p.x+d,x.p.y-d,d,t)),m.push(new Il(x.p.x-d,x.p.y+d,d,t)),m.push(new Il(x.p.x+d,x.p.y+d,d,t)),v+=4)}return r&&(console.log("num probes: "+v),console.log("best distance: "+g.d)),g.p}function Tl(t,e){return e.max-t.max}function Il(t,e,r,i){this.p=new n(t,e),this.h=r,this.d=function(t,e){for(var r=!1,i=1/0,n=0;n<e.length;n++)for(var o=e[n],a=0,s=o.length,l=s-1;a<s;l=a++){var u=o[a],c=o[l];u.y>t.y!=c.y>t.y&&t.x<(c.x-u.x)*(t.y-u.y)/(c.y-u.y)+u.x&&(r=!r),i=Math.min(i,So(t,u,c))}return(r?1:-1)*Math.sqrt(i)}(this.p,i),this.max=this.d+this.h*Math.SQRT2}wl.prototype.push=function(t){this.data.push(t),this.length++,this._up(this.length-1)},wl.prototype.pop=function(){if(0!==this.length){var t=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),t}},wl.prototype.peek=function(){return this.data[0]},wl.prototype._up=function(t){for(var e=this.data,r=this.compare,i=e[t];t>0;){var n=t-1>>1,o=e[n];if(r(i,o)>=0)break;e[t]=o,t=n}e[t]=i},wl.prototype._down=function(t){for(var e=this.data,r=this.compare,i=this.length>>1,n=e[t];t<i;){var o=1+(t<<1),a=e[o],s=o+1;if(s<this.length&&r(e[s],a)<0&&(o=s,a=e[s]),r(a,n)>=0)break;e[t]=a,t=o}e[t]=n};var Al=e((function(t){t.exports=function(t,e){var r,i,n,o,a,s,l,u;for(r=3&t.length,i=t.length-r,n=e,a=3432918353,s=461845907,u=0;u<i;)l=255&t.charCodeAt(u)|(255&t.charCodeAt(++u))<<8|(255&t.charCodeAt(++u))<<16|(255&t.charCodeAt(++u))<<24,++u,n=27492+(65535&(o=5*(65535&(n=(n^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|n>>>19))+((5*(n>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(l=0,r){case 3:l^=(255&t.charCodeAt(u+2))<<16;case 2:l^=(255&t.charCodeAt(u+1))<<8;case 1:n^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(u)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return n^=t.length,n=2246822507*(65535&(n^=n>>>16))+((2246822507*(n>>>16)&65535)<<16)&4294967295,n=3266489909*(65535&(n^=n>>>13))+((3266489909*(n>>>16)&65535)<<16)&4294967295,(n^=n>>>16)>>>0}})),zl=e((function(t){t.exports=function(t,e){for(var r,i=t.length,n=e^i,o=0;i>=4;)r=1540483477*(65535&(r=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+((1540483477*(r>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),i-=4,++o;switch(i){case 3:n^=(255&t.charCodeAt(o+2))<<16;case 2:n^=(255&t.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(o)))+((1540483477*(n>>>16)&65535)<<16)}return n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16),(n^=n>>>15)>>>0}})),Cl=Al,kl=Al,Pl=zl;Cl.murmur3=kl,Cl.murmur2=Pl;var Ml=Number.POSITIVE_INFINITY;function Ll(t,e){return e[1]!==Ml?function(t,e,r){var i=0,n=0;switch(e=Math.abs(e),r=Math.abs(r),t){case"top-right":case"top-left":case"top":n=r-7;break;case"bottom-right":case"bottom-left":case"bottom":n=7-r}switch(t){case"top-right":case"bottom-right":case"right":i=-e;break;case"top-left":case"bottom-left":case"left":i=e}return[i,n]}(t,e[0],e[1]):function(t,e){var r=0,i=0;e<0&&(e=0);var n=e/Math.sqrt(2);switch(t){case"top-right":case"top-left":i=n-7;break;case"bottom-right":case"bottom-left":i=7-n;break;case"bottom":i=7-e;break;case"top":i=e-7}switch(t){case"top-right":case"bottom-right":r=-n;break;case"top-left":case"bottom-left":r=n;break;case"left":r=e;break;case"right":r=-e}return[r,i]}(t,e[0])}function Dl(t){switch(t){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var Bl=32640;function Rl(t,e,r,i,o,a,s,l,u,c,p,h,f,d){var m=function(t,e,r,i,o,a,s,l){for(var u=i.layout.get("text-rotate").evaluate(a,{})*Math.PI/180,c=[],p=0,h=e.positionedLines;p<h.length;p+=1)for(var f=h[p],d=0,m=f.positionedGlyphs;d<m.length;d+=1){var y=m[d];if(y.rect){var _=y.rect||{},g=4,v=!0,x=1,b=0,w=(o||l)&&y.vertical,S=y.metrics.advance*y.scale/2;if(l&&e.verticalizable){var E=24*(y.scale-1),T=(24-y.metrics.width*y.scale)/2;b=f.lineOffset/2-(y.imageName?-T:E)}if(y.imageName){var I=s[y.imageName];v=I.sdf,g=1/(x=I.pixelRatio)}var A=o?[y.x+S,y.y]:[0,0],z=o?[0,0]:[y.x+S+r[0],y.y+r[1]-b],C=[0,0];w&&(C=z,z=[0,0]);var k=(y.metrics.left-g)*y.scale-S+z[0],P=(-y.metrics.top-g)*y.scale+z[1],M=k+_.w*y.scale/x,L=P+_.h*y.scale/x,D=new n(k,P),B=new n(M,P),R=new n(k,L),F=new n(M,L);if(w){var O=new n(-S,S- -17),U=-Math.PI/2,V=12-S,N=y.imageName?V:0,j=new n(22-V,-N),q=new(Function.prototype.bind.apply(n,[null].concat(C)));D._rotateAround(U,O)._add(j)._add(q),B._rotateAround(U,O)._add(j)._add(q),R._rotateAround(U,O)._add(j)._add(q),F._rotateAround(U,O)._add(j)._add(q)}if(u){var Z=Math.sin(u),G=Math.cos(u),X=[G,-Z,Z,G];D._matMult(X),B._matMult(X),R._matMult(X),F._matMult(X)}var W=new n(0,0),K=new n(0,0);c.push({tl:D,tr:B,bl:R,br:F,tex:_,writingMode:e.writingMode,glyphOffset:A,sectionIndex:y.sectionIndex,isSDF:v,pixelOffsetTL:W,pixelOffsetBR:K,minFontScaleX:0,minFontScaleY:0})}}return c}(0,r,l,o,a,s,i,t.allowVerticalPlacement),y=t.textSizeData,_=null;"source"===y.kind?(_=[ol*o.layout.get("text-size").evaluate(s,{})])[0]>Bl&&w(t.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):"composite"===y.kind&&((_=[ol*d.compositeTextSizes[0].evaluate(s,{}),ol*d.compositeTextSizes[1].evaluate(s,{})])[0]>Bl||_[1]>Bl)&&w(t.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),t.addSymbols(t.text,m,_,l,a,s,c,e,u.lineStartIndex,u.lineLength,f);for(var g=0,v=p;g<v.length;g+=1)h[v[g]]=t.text.placedSymbolArray.length-1;return 4*m.length}function Fl(t){for(var e in t)return t[e];return null}function Ol(t,e,r,i){var n=t.compareText;if(e in n){for(var o=n[e],a=o.length-1;a>=0;a--)if(i.dist(o[a])<r)return!0}else n[e]=[];return n[e].push(i),!1}var Ul=qa.VectorTileFeature.types,Vl=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function Nl(t,e,r,i,n,o,a,s,l,u,c,p,h){var f=s?Math.min(Bl,Math.round(s[0])):0,d=s?Math.min(Bl,Math.round(s[1])):0;t.emplaceBack(e,r,Math.round(32*i),Math.round(32*n),o,a,(f<<1)+(l?1:0),d,16*u,16*c,256*p,256*h)}function jl(t,e,r){t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r)}function ql(t){for(var e=0,r=t.sections;e<r.length;e+=1)if(Ii(r[e].text))return!0;return!1}var Zl=function(t){this.layoutVertexArray=new hn,this.indexArray=new Sn,this.programConfigurations=t,this.segments=new Nn,this.dynamicLayoutVertexArray=new fn,this.opacityVertexArray=new dn,this.placedSymbolArray=new Pn};Zl.prototype.upload=function(t,e,r,i){r&&(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,cs.members),this.indexBuffer=t.createIndexBuffer(this.indexArray,e),this.dynamicLayoutVertexBuffer=t.createVertexBuffer(this.dynamicLayoutVertexArray,ps.members,!0),this.opacityVertexBuffer=t.createVertexBuffer(this.opacityVertexArray,Vl,!0),this.opacityVertexBuffer.itemSize=1),(r||i)&&this.programConfigurations.upload(t)},Zl.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},fi("SymbolBuffers",Zl);var Gl=function(t,e,r){this.layoutVertexArray=new t,this.layoutAttributes=e,this.indexArray=new r,this.segments=new Nn,this.collisionVertexArray=new _n};Gl.prototype.upload=function(t){this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=t.createVertexBuffer(this.collisionVertexArray,hs.members,!0)},Gl.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},fi("CollisionBuffers",Gl);var Xl=function(t){this.collisionBoxArray=t.collisionBoxArray,this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.pixelRatio=t.pixelRatio,this.sourceLayerIndex=t.sourceLayerIndex,this.hasPattern=!1,this.hasPaintOverrides=!1,this.hasRTLText=!1;var e=this.layers[0]._unevaluatedLayout._values;this.textSizeData=al(this.zoom,e["text-size"]),this.iconSizeData=al(this.zoom,e["icon-size"]);var r=this.layers[0].layout,i=r.get("symbol-sort-key"),n=r.get("symbol-z-order");this.sortFeaturesByKey="viewport-y"!==n&&void 0!==i.constantOr(1);var o="viewport-y"===n||"auto"===n&&!this.sortFeaturesByKey;this.sortFeaturesByY=o&&(r.get("text-allow-overlap")||r.get("icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement")),"point"===r.get("symbol-placement")&&(this.writingModes=r.get("text-writing-mode").map((function(t){return Zs[t]}))),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id})),this.sourceID=t.sourceID};Xl.prototype.createArrays=function(){var t=this.layers[0].layout;this.hasPaintOverrides=Jl.hasPaintOverrides(t),this.text=new Zl(new so(cs.members,this.layers,this.zoom,(function(t){return/^text/.test(t)}))),this.icon=new Zl(new so(cs.members,this.layers,this.zoom,(function(t){return/^icon/.test(t)}))),this.textCollisionBox=new Gl(yn,fs.members,En),this.iconCollisionBox=new Gl(yn,fs.members,En),this.textCollisionCircle=new Gl(yn,ds.members,Sn),this.iconCollisionCircle=new Gl(yn,ds.members,Sn),this.glyphOffsetArray=new Bn,this.lineVertexArray=new Fn,this.symbolInstances=new Ln},Xl.prototype.calculateGlyphDependencies=function(t,e,r,i,n){for(var o=0;o<t.length;o++)if(e[t.charCodeAt(o)]=!0,(r||i)&&n){var a=ys[t.charAt(o)];a&&(e[a.charCodeAt(0)]=!0)}},Xl.prototype.populate=function(t,e){var r=this.layers[0],i=r.layout,n=i.get("text-font"),o=i.get("text-field"),a=i.get("icon-image"),s=("constant"!==o.value.kind||o.value.value instanceof $t&&!o.value.value.isEmpty()||o.value.value.toString().length>0)&&("constant"!==n.value.kind||n.value.value.length>0),l=("constant"!==a.value.kind||!!a.value.value)&&Object.keys(a.parameters).length>0,u=i.get("symbol-sort-key");if(this.features=[],s||l){for(var c=e.iconDependencies,p=e.glyphDependencies,h=e.availableImages,f=new Ui(this.zoom),d=0,m=t;d<m.length;d+=1){var y=m[d],_=y.feature,g=y.index,v=y.sourceLayerIndex;if(r._featureFilter(f,_)){var x=void 0;if(s){var b=r.getValueAndResolveTokens("text-field",_,h),w=$t.factory(b);ql(w)&&(this.hasRTLText=!0),(!this.hasRTLText||"unavailable"===Ri()||this.hasRTLText&&Oi.isParsed())&&(x=ms(w,r,_))}var S=void 0;if(l){var E=r.getValueAndResolveTokens("icon-image",_,h);S=E instanceof te?E:te.fromString(E)}if(x||S){var T=this.sortFeaturesByKey?u.evaluate(_,{}):void 0,I={text:x,icon:S,index:g,sourceLayerIndex:v,geometry:ho(_),properties:_.properties,type:Ul[_.type],sortKey:T};if(void 0!==_.id&&(I.id=_.id),this.features.push(I),S&&(c[S.name]=!0),x){var A=n.evaluate(_,{}).join(","),z="map"===i.get("text-rotation-alignment")&&"point"!==i.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(Zs.vertical)>=0;for(var C=0,k=x.sections;C<k.length;C+=1){var P=k[C];if(P.image)c[P.image.name]=!0;else{var M=xi(x.toString()),L=P.fontStack||A,D=p[L]=p[L]||{};this.calculateGlyphDependencies(P.text,D,z,this.allowVerticalPlacement,M)}}}}}}"line"===i.get("symbol-placement")&&(this.features=function(t){var e={},r={},i=[],n=0;function o(e){i.push(t[e]),n++}function a(t,e,n){var o=r[t];return delete r[t],r[e]=o,i[o].geometry[0].pop(),i[o].geometry[0]=i[o].geometry[0].concat(n[0]),o}function s(t,r,n){var o=e[r];return delete e[r],e[t]=o,i[o].geometry[0].shift(),i[o].geometry[0]=n[0].concat(i[o].geometry[0]),o}function l(t,e,r){var i=r?e[0][e[0].length-1]:e[0][0];return t+":"+i.x+":"+i.y}for(var u=0;u<t.length;u++){var c=t[u],p=c.geometry,h=c.text?c.text.toString():null;if(h){var f=l(h,p),d=l(h,p,!0);if(f in r&&d in e&&r[f]!==e[d]){var m=s(f,d,p),y=a(f,d,i[m].geometry);delete e[f],delete r[d],r[l(h,i[y].geometry,!0)]=y,i[m].geometry=null}else f in r?a(f,d,p):d in e?s(f,d,p):(o(u),e[f]=n-1,r[d]=n-1)}else o(u)}return i.filter((function(t){return t.geometry}))}(this.features)),this.sortFeaturesByKey&&this.features.sort((function(t,e){return t.sortKey-e.sortKey}))}},Xl.prototype.update=function(t,e,r){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,r),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,r))},Xl.prototype.isEmpty=function(){return 0===this.symbolInstances.length&&!this.hasRTLText},Xl.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},Xl.prototype.upload=function(t){this.uploaded||(this.textCollisionBox.upload(t),this.iconCollisionBox.upload(t),this.textCollisionCircle.upload(t),this.iconCollisionCircle.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},Xl.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.textCollisionBox.destroy(),this.iconCollisionBox.destroy(),this.textCollisionCircle.destroy(),this.iconCollisionCircle.destroy()},Xl.prototype.addToLineVertexArray=function(t,e){var r=this.lineVertexArray.length;if(void 0!==t.segment){for(var i=t.dist(e[t.segment+1]),n=t.dist(e[t.segment]),o={},a=t.segment+1;a<e.length;a++)o[a]={x:e[a].x,y:e[a].y,tileUnitDistanceFromAnchor:i},a<e.length-1&&(i+=e[a+1].dist(e[a]));for(var s=t.segment||0;s>=0;s--)o[s]={x:e[s].x,y:e[s].y,tileUnitDistanceFromAnchor:n},s>0&&(n+=e[s-1].dist(e[s]));for(var l=0;l<e.length;l++){var u=o[l];this.lineVertexArray.emplaceBack(u.x,u.y,u.tileUnitDistanceFromAnchor)}}return{lineStartIndex:r,lineLength:this.lineVertexArray.length-r}},Xl.prototype.addSymbols=function(t,e,r,i,n,o,a,s,l,u,c){var p=this,h=t.indexArray,f=t.layoutVertexArray,d=t.dynamicLayoutVertexArray,m=t.segments.prepareSegment(4*e.length,t.layoutVertexArray,t.indexArray,o.sortKey),y=this.glyphOffsetArray.length,_=m.vertexLength,g=this.allowVerticalPlacement&&a===Zs.vertical?Math.PI/2:0,v=function(t){var e=t.tl,i=t.tr,n=t.bl,o=t.br,a=t.tex,l=t.pixelOffsetTL,u=t.pixelOffsetBR,c=t.minFontScaleX,y=t.minFontScaleY,_=m.vertexLength,v=t.glyphOffset[1];Nl(f,s.x,s.y,e.x,v+e.y,a.x,a.y,r,t.isSDF,l.x,l.y,c,y),Nl(f,s.x,s.y,i.x,v+i.y,a.x+a.w,a.y,r,t.isSDF,u.x,l.y,c,y),Nl(f,s.x,s.y,n.x,v+n.y,a.x,a.y+a.h,r,t.isSDF,l.x,u.y,c,y),Nl(f,s.x,s.y,o.x,v+o.y,a.x+a.w,a.y+a.h,r,t.isSDF,u.x,u.y,c,y),jl(d,s,g),h.emplaceBack(_,_+1,_+2),h.emplaceBack(_+1,_+2,_+3),m.vertexLength+=4,m.primitiveLength+=2,p.glyphOffsetArray.emplaceBack(t.glyphOffset[0])};if(o.text&&o.text.sections){var x=o.text.sections;if(this.hasPaintOverrides){for(var b,w=function(e,r){void 0===b||b===e&&!r||t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,o,o.index,{},x[b]),b=e},S=0,E=e;S<E.length;S+=1){var T=E[S];w(T.sectionIndex,!1),v(T)}w(b,!0)}else{for(var I=0,A=e;I<A.length;I+=1)v(A[I]);t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,o,o.index,{},x[0])}}else{for(var z=0,C=e;z<C.length;z+=1)v(C[z]);t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,o,o.index,{})}t.placedSymbolArray.emplaceBack(s.x,s.y,y,this.glyphOffsetArray.length-y,_,l,u,s.segment,r?r[0]:0,r?r[1]:0,i[0],i[1],a,0,!1,0,c)},Xl.prototype._addCollisionDebugVertex=function(t,e,r,i,n,o){return e.emplaceBack(0,0),t.emplaceBack(r.x,r.y,i,n,Math.round(o.x),Math.round(o.y))},Xl.prototype.addCollisionDebugVertices=function(t,e,r,i,o,a,s,l){var u=o.segments.prepareSegment(4,o.layoutVertexArray,o.indexArray),c=u.vertexLength,p=o.layoutVertexArray,h=o.collisionVertexArray,f=s.anchorX,d=s.anchorY;if(this._addCollisionDebugVertex(p,h,a,f,d,new n(t,e)),this._addCollisionDebugVertex(p,h,a,f,d,new n(r,e)),this._addCollisionDebugVertex(p,h,a,f,d,new n(r,i)),this._addCollisionDebugVertex(p,h,a,f,d,new n(t,i)),u.vertexLength+=4,l){var m=o.indexArray;m.emplaceBack(c,c+1,c+2),m.emplaceBack(c,c+2,c+3),u.primitiveLength+=2}else{var y=o.indexArray;y.emplaceBack(c,c+1),y.emplaceBack(c+1,c+2),y.emplaceBack(c+2,c+3),y.emplaceBack(c+3,c),u.primitiveLength+=4}},Xl.prototype.addDebugCollisionBoxes=function(t,e,r,i){for(var n=t;n<e;n++){var o=this.collisionBoxArray.get(n),a=o.x1,s=o.y1,l=o.x2,u=o.y2,c=o.radius>0;this.addCollisionDebugVertices(a,s,l,u,c?i?this.textCollisionCircle:this.iconCollisionCircle:i?this.textCollisionBox:this.iconCollisionBox,o.anchorPoint,r,c)}},Xl.prototype.generateCollisionDebugBuffers=function(){for(var t=0;t<this.symbolInstances.length;t++){var e=this.symbolInstances.get(t);this.addDebugCollisionBoxes(e.textBoxStartIndex,e.textBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.verticalTextBoxStartIndex,e.verticalTextBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.iconBoxStartIndex,e.iconBoxEndIndex,e,!1),this.addDebugCollisionBoxes(e.verticalIconBoxStartIndex,e.verticalIconBoxEndIndex,e,!1)}},Xl.prototype._deserializeCollisionBoxesForSymbol=function(t,e,r,i,n,o,a,s,l){for(var u={},c=e;c<r;c++){var p=t.get(c);if(0===p.radius){u.textBox={x1:p.x1,y1:p.y1,x2:p.x2,y2:p.y2,anchorPointX:p.anchorPointX,anchorPointY:p.anchorPointY},u.textFeatureIndex=p.featureIndex;break}u.textCircles||(u.textCircles=[],u.textFeatureIndex=p.featureIndex),u.textCircles.push(p.anchorPointX,p.anchorPointY,p.radius,p.signedDistanceFromAnchor,1)}for(var h=i;h<n;h++){var f=t.get(h);if(0===f.radius){u.verticalTextBox={x1:f.x1,y1:f.y1,x2:f.x2,y2:f.y2,anchorPointX:f.anchorPointX,anchorPointY:f.anchorPointY},u.verticalTextFeatureIndex=f.featureIndex;break}}for(var d=o;d<a;d++){var m=t.get(d);if(0===m.radius){u.iconBox={x1:m.x1,y1:m.y1,x2:m.x2,y2:m.y2,anchorPointX:m.anchorPointX,anchorPointY:m.anchorPointY},u.iconFeatureIndex=m.featureIndex;break}}for(var y=s;y<l;y++){var _=t.get(y);if(0===_.radius){u.verticalIconBox={x1:_.x1,y1:_.y1,x2:_.x2,y2:_.y2,anchorPointX:_.anchorPointX,anchorPointY:_.anchorPointY},u.verticalIconFeatureIndex=_.featureIndex;break}}return u},Xl.prototype.deserializeCollisionBoxes=function(t){this.collisionArrays=[];for(var e=0;e<this.symbolInstances.length;e++){var r=this.symbolInstances.get(e);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t,r.textBoxStartIndex,r.textBoxEndIndex,r.verticalTextBoxStartIndex,r.verticalTextBoxEndIndex,r.iconBoxStartIndex,r.iconBoxEndIndex,r.verticalIconBoxStartIndex,r.verticalIconBoxEndIndex))}},Xl.prototype.hasTextData=function(){return this.text.segments.get().length>0},Xl.prototype.hasIconData=function(){return this.icon.segments.get().length>0},Xl.prototype.hasTextCollisionBoxData=function(){return this.textCollisionBox.segments.get().length>0},Xl.prototype.hasIconCollisionBoxData=function(){return this.iconCollisionBox.segments.get().length>0},Xl.prototype.hasTextCollisionCircleData=function(){return this.textCollisionCircle.segments.get().length>0},Xl.prototype.hasIconCollisionCircleData=function(){return this.iconCollisionCircle.segments.get().length>0},Xl.prototype.addIndicesForPlacedSymbol=function(t,e){for(var r=t.placedSymbolArray.get(e),i=r.vertexStartIndex+4*r.numGlyphs,n=r.vertexStartIndex;n<i;n+=4)t.indexArray.emplaceBack(n,n+1,n+2),t.indexArray.emplaceBack(n+1,n+2,n+3)},Xl.prototype.getSortedSymbolIndexes=function(t){if(this.sortedAngle===t&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;for(var e=Math.sin(t),r=Math.cos(t),i=[],n=[],o=[],a=0;a<this.symbolInstances.length;++a){o.push(a);var s=this.symbolInstances.get(a);i.push(0|Math.round(e*s.anchorX+r*s.anchorY)),n.push(s.featureIndex)}return o.sort((function(t,e){return i[t]-i[e]||n[e]-n[t]})),o},Xl.prototype.sortFeatures=function(t){var e=this;if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var r=0,i=this.symbolInstanceIndexes;r<i.length;r+=1){var n=i[r],o=this.symbolInstances.get(n);this.featureSortOrder.push(o.featureIndex),[o.rightJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.leftJustifiedTextSymbolIndex].forEach((function(t,r,i){t>=0&&i.indexOf(t)===r&&e.addIndicesForPlacedSymbol(e.text,t)})),o.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,o.verticalPlacedTextSymbolIndex),o.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,o.placedIconSymbolIndex),o.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,o.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},fi("SymbolBucket",Xl,{omit:["layers","collisionBoxArray","features","compareText"]}),Xl.MAX_GLYPHS=65535,Xl.addDynamicAttributes=jl;var Wl=new $i({"symbol-placement":new Ki(At.layout_symbol["symbol-placement"]),"symbol-spacing":new Ki(At.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Ki(At.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Hi(At.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Ki(At.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Ki(At.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Ki(At.layout_symbol["icon-ignore-placement"]),"icon-optional":new Ki(At.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Ki(At.layout_symbol["icon-rotation-alignment"]),"icon-size":new Hi(At.layout_symbol["icon-size"]),"icon-text-fit":new Ki(At.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Ki(At.layout_symbol["icon-text-fit-padding"]),"icon-image":new Hi(At.layout_symbol["icon-image"]),"icon-rotate":new Hi(At.layout_symbol["icon-rotate"]),"icon-padding":new Ki(At.layout_symbol["icon-padding"]),"icon-keep-upright":new Ki(At.layout_symbol["icon-keep-upright"]),"icon-offset":new Hi(At.layout_symbol["icon-offset"]),"icon-anchor":new Hi(At.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Ki(At.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Ki(At.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Ki(At.layout_symbol["text-rotation-alignment"]),"text-field":new Hi(At.layout_symbol["text-field"]),"text-font":new Hi(At.layout_symbol["text-font"]),"text-size":new Hi(At.layout_symbol["text-size"]),"text-max-width":new Hi(At.layout_symbol["text-max-width"]),"text-line-height":new Ki(At.layout_symbol["text-line-height"]),"text-letter-spacing":new Hi(At.layout_symbol["text-letter-spacing"]),"text-justify":new Hi(At.layout_symbol["text-justify"]),"text-radial-offset":new Hi(At.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Ki(At.layout_symbol["text-variable-anchor"]),"text-anchor":new Hi(At.layout_symbol["text-anchor"]),"text-max-angle":new Ki(At.layout_symbol["text-max-angle"]),"text-writing-mode":new Ki(At.layout_symbol["text-writing-mode"]),"text-rotate":new Hi(At.layout_symbol["text-rotate"]),"text-padding":new Ki(At.layout_symbol["text-padding"]),"text-keep-upright":new Ki(At.layout_symbol["text-keep-upright"]),"text-transform":new Hi(At.layout_symbol["text-transform"]),"text-offset":new Hi(At.layout_symbol["text-offset"]),"text-allow-overlap":new Ki(At.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Ki(At.layout_symbol["text-ignore-placement"]),"text-optional":new Ki(At.layout_symbol["text-optional"])}),Kl={paint:new $i({"icon-opacity":new Hi(At.paint_symbol["icon-opacity"]),"icon-color":new Hi(At.paint_symbol["icon-color"]),"icon-halo-color":new Hi(At.paint_symbol["icon-halo-color"]),"icon-halo-width":new Hi(At.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Hi(At.paint_symbol["icon-halo-blur"]),"icon-translate":new Ki(At.paint_symbol["icon-translate"]),"icon-translate-anchor":new Ki(At.paint_symbol["icon-translate-anchor"]),"text-opacity":new Hi(At.paint_symbol["text-opacity"]),"text-color":new Hi(At.paint_symbol["text-color"],{runtimeType:Ut,getOverride:function(t){return t.textColor},hasOverride:function(t){return!!t.textColor}}),"text-halo-color":new Hi(At.paint_symbol["text-halo-color"]),"text-halo-width":new Hi(At.paint_symbol["text-halo-width"]),"text-halo-blur":new Hi(At.paint_symbol["text-halo-blur"]),"text-translate":new Ki(At.paint_symbol["text-translate"]),"text-translate-anchor":new Ki(At.paint_symbol["text-translate-anchor"])}),layout:Wl},Hl=function(t){this.type=t.property.overrides?t.property.overrides.runtimeType:Bt,this.defaultValue=t};Hl.prototype.evaluate=function(t){if(t.formattedSection){var e=this.defaultValue.property.overrides;if(e&&e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default},Hl.prototype.eachChild=function(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression)},Hl.prototype.possibleOutputs=function(){return[void 0]},Hl.prototype.serialize=function(){return null},fi("FormatSectionOverride",Hl,{omit:["defaultValue"]});var Jl=function(t){function e(e){t.call(this,e,Kl)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e,r){if(t.prototype.recalculate.call(this,e,r),"auto"===this.layout.get("icon-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){var i=this.layout.get("text-writing-mode");if(i){for(var n=[],o=0,a=i;o<a.length;o+=1){var s=a[o];n.indexOf(s)<0&&n.push(s)}this.layout._values["text-writing-mode"]=n}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()},e.prototype.getValueAndResolveTokens=function(t,e,r){var i=this.layout.get(t).evaluate(e,{},r),n=this._unevaluatedLayout._values[t];return n.isDataDriven()||Sr(n.value)||!i?i:function(t,e){return e.replace(/{([^{}]+)}/g,(function(e,r){return r in t?String(t[r]):""}))}(e.properties,i)},e.prototype.createBucket=function(t){return new Xl(t)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype._setPaintOverrides=function(){for(var t=0,r=Kl.paint.overridableProperties;t<r.length;t+=1){var i=r[t];if(e.hasPaintOverride(this.layout,i)){var n,o=this.paint.get(i),a=new Hl(o),s=new wr(a,o.property.specification);n="constant"===o.value.kind||"source"===o.value.kind?new Tr("source",s):new Ir("composite",s,o.value.zoomStops,o.value._interpolationType),this.paint._values[i]=new Xi(o.property,n,o.parameters)}}},e.prototype._handleOverridablePaintPropertyUpdate=function(t,r,i){return!(!this.layout||r.isDataDriven()||i.isDataDriven())&&e.hasPaintOverride(this.layout,t)},e.hasPaintOverride=function(t,e){var r=t.get("text-field"),i=Kl.paint.properties[e],n=!1,o=function(t){for(var e=0,r=t;e<r.length;e+=1){var o=r[e];if(i.overrides&&i.overrides.hasOverride(o))return void(n=!0)}};if("constant"===r.value.kind&&r.value.value instanceof $t)o(r.value.value.sections);else if("source"===r.value.kind){var a=function(t){if(!n)if(t instanceof ne&&re(t.value)===qt){var e=t.value;o(e.sections)}else t instanceof le?o(t.sections):t.eachChild(a)},s=r.value;s._styleExpression&&a(s._styleExpression.expression)}return n},e.hasPaintOverrides=function(t){for(var r=0,i=Kl.paint.overridableProperties;r<i.length;r+=1){var n=i[r];if(e.hasPaintOverride(t,n))return!0}return!1},e}(tn),Yl={paint:new $i({"background-color":new Ki(At.paint_background["background-color"]),"background-pattern":new Yi(At.paint_background["background-pattern"]),"background-opacity":new Ki(At.paint_background["background-opacity"])})},Ql=function(t){function e(e){t.call(this,e,Yl)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(tn),$l={paint:new $i({"raster-opacity":new Ki(At.paint_raster["raster-opacity"]),"raster-hue-rotate":new Ki(At.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Ki(At.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Ki(At.paint_raster["raster-brightness-max"]),"raster-saturation":new Ki(At.paint_raster["raster-saturation"]),"raster-contrast":new Ki(At.paint_raster["raster-contrast"]),"raster-resampling":new Ki(At.paint_raster["raster-resampling"]),"raster-fade-duration":new Ki(At.paint_raster["raster-fade-duration"])})},tu=function(t){function e(e){t.call(this,e,$l)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(tn),eu=function(t){function e(e){t.call(this,e,{}),this.implementation=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.is3D=function(){return"3d"===this.implementation.renderingMode},e.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender},e.prototype.recalculate=function(){},e.prototype.updateTransitions=function(){},e.prototype.hasTransition=function(){},e.prototype.serialize=function(){},e.prototype.onAdd=function(t){this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl)},e.prototype.onRemove=function(t){this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl)},e}(tn),ru={circle:Bo,heatmap:Go,hillshade:Wo,fill:La,"fill-extrusion":Ya,line:ls,symbol:Jl,background:Ql,raster:tu},iu=self.HTMLImageElement,nu=self.HTMLCanvasElement,ou=self.HTMLVideoElement,au=self.ImageData,su=function(t,e,r,i){this.context=t,this.format=r,this.texture=t.gl.createTexture(),this.update(e,i)};su.prototype.update=function(t,e,r){var i=t.width,n=t.height,o=!(this.size&&this.size[0]===i&&this.size[1]===n||r),a=this.context,s=a.gl;if(this.useMipmap=Boolean(e&&e.useMipmap),s.bindTexture(s.TEXTURE_2D,this.texture),a.pixelStoreUnpackFlipY.set(!1),a.pixelStoreUnpack.set(1),a.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!e||!1!==e.premultiply)),o)this.size=[i,n],t instanceof iu||t instanceof nu||t instanceof ou||t instanceof au?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,t):s.texImage2D(s.TEXTURE_2D,0,this.format,i,n,0,this.format,s.UNSIGNED_BYTE,t.data);else{var l=r||{x:0,y:0},u=l.x,c=l.y;t instanceof iu||t instanceof nu||t instanceof ou||t instanceof au?s.texSubImage2D(s.TEXTURE_2D,0,u,c,s.RGBA,s.UNSIGNED_BYTE,t):s.texSubImage2D(s.TEXTURE_2D,0,u,c,i,n,s.RGBA,s.UNSIGNED_BYTE,t.data)}this.useMipmap&&this.isSizePowerOfTwo()&&s.generateMipmap(s.TEXTURE_2D)},su.prototype.bind=function(t,e,r){var i=this.context.gl;i.bindTexture(i.TEXTURE_2D,this.texture),r!==i.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(r=i.LINEAR),t!==this.filter&&(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,t),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,r||t),this.filter=t),e!==this.wrap&&(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,e),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,e),this.wrap=e)},su.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},su.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null};var lu=function(t){var e=this;this._callback=t,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=function(){e._triggered=!1,e._callback()})};lu.prototype.trigger=function(){var t=this;this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout((function(){t._triggered=!1,t._callback()}),0))},lu.prototype.remove=function(){delete this._channel,this._callback=function(){}};var uu=function(t,e,r){this.target=t,this.parent=e,this.mapId=r,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},y(["receive","process"],this),this.invoker=new lu(this.process),this.target.addEventListener("message",this.receive,!1),this.globalScope=T()?t:self};function cu(t,e,r){var i=2*Math.PI*6378137/256/Math.pow(2,r);return[t*i-2*Math.PI*6378137/2,e*i-2*Math.PI*6378137/2]}uu.prototype.send=function(t,e,r,i,n){var o=this;void 0===n&&(n=!1);var a=Math.round(1e18*Math.random()).toString(36).substring(0,10);r&&(this.callbacks[a]=r);var s=z(this.globalScope)?void 0:[];return this.target.postMessage({id:a,type:t,hasCallback:!!r,targetMapId:i,mustQueue:n,sourceMapId:this.mapId,data:yi(e,s)},s),{cancel:function(){r&&delete o.callbacks[a],o.target.postMessage({id:a,type:"<cancel>",targetMapId:i,sourceMapId:o.mapId})}}},uu.prototype.receive=function(t){var e=t.data,r=e.id;if(r&&(!e.targetMapId||this.mapId===e.targetMapId))if("<cancel>"===e.type){delete this.tasks[r];var i=this.cancelCallbacks[r];delete this.cancelCallbacks[r],i&&i()}else T()||e.mustQueue?(this.tasks[r]=e,this.taskQueue.push(r),this.invoker.trigger()):this.processTask(r,e)},uu.prototype.process=function(){if(this.taskQueue.length){var t=this.taskQueue.shift(),e=this.tasks[t];delete this.tasks[t],this.taskQueue.length&&this.invoker.trigger(),e&&this.processTask(t,e)}},uu.prototype.processTask=function(t,e){var r=this;if("<response>"===e.type){var i=this.callbacks[t];delete this.callbacks[t],i&&(e.error?i(_i(e.error)):i(null,_i(e.data)))}else{var n=!1,o=z(this.globalScope)?void 0:[],a=e.hasCallback?function(e,i){n=!0,delete r.cancelCallbacks[t],r.target.postMessage({id:t,type:"<response>",sourceMapId:r.mapId,error:e?yi(e):null,data:yi(i,o)},o)}:function(t){n=!0},s=null,l=_i(e.data);if(this.parent[e.type])s=this.parent[e.type](e.sourceMapId,l,a);else if(this.parent.getWorkerSource){var u=e.type.split(".");s=this.parent.getWorkerSource(e.sourceMapId,u[0],l.source)[u[1]](l,a)}else a(new Error("Could not find function "+e.type));!n&&s&&s.cancel&&(this.cancelCallbacks[t]=s.cancel)}},uu.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var pu=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))};pu.prototype.setNorthEast=function(t){return this._ne=t instanceof hu?new hu(t.lng,t.lat):hu.convert(t),this},pu.prototype.setSouthWest=function(t){return this._sw=t instanceof hu?new hu(t.lng,t.lat):hu.convert(t),this},pu.prototype.extend=function(t){var e,r,i=this._sw,n=this._ne;if(t instanceof hu)e=t,r=t;else{if(!(t instanceof pu))return Array.isArray(t)?t.every(Array.isArray)?this.extend(pu.convert(t)):this.extend(hu.convert(t)):this;if(e=t._sw,r=t._ne,!e||!r)return this}return i||n?(i.lng=Math.min(e.lng,i.lng),i.lat=Math.min(e.lat,i.lat),n.lng=Math.max(r.lng,n.lng),n.lat=Math.max(r.lat,n.lat)):(this._sw=new hu(e.lng,e.lat),this._ne=new hu(r.lng,r.lat)),this},pu.prototype.getCenter=function(){return new hu((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},pu.prototype.getSouthWest=function(){return this._sw},pu.prototype.getNorthEast=function(){return this._ne},pu.prototype.getNorthWest=function(){return new hu(this.getWest(),this.getNorth())},pu.prototype.getSouthEast=function(){return new hu(this.getEast(),this.getSouth())},pu.prototype.getWest=function(){return this._sw.lng},pu.prototype.getSouth=function(){return this._sw.lat},pu.prototype.getEast=function(){return this._ne.lng},pu.prototype.getNorth=function(){return this._ne.lat},pu.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},pu.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},pu.prototype.isEmpty=function(){return!(this._sw&&this._ne)},pu.prototype.contains=function(t){var e=hu.convert(t),r=e.lng,i=e.lat,n=this._sw.lat<=i&&i<=this._ne.lat,o=this._sw.lng<=r&&r<=this._ne.lng;return this._sw.lng>this._ne.lng&&(o=this._sw.lng>=r&&r>=this._ne.lng),n&&o},pu.convert=function(t){return!t||t instanceof pu?t:new pu(t)};var hu=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid LngLat object: ("+t+", "+e+")");if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};hu.prototype.wrap=function(){return new hu(c(this.lng,-180,180),this.lat)},hu.prototype.toArray=function(){return[this.lng,this.lat]},hu.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},hu.prototype.toBounds=function(t){void 0===t&&(t=0);var e=360*t/40075017,r=e/Math.cos(Math.PI/180*this.lat);return new pu(new hu(this.lng-r,this.lat-e),new hu(this.lng+r,this.lat+e))},hu.convert=function(t){if(t instanceof hu)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new hu(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new hu(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var fu=2*Math.PI*6378137;function du(t){return fu*Math.cos(t*Math.PI/180)}function mu(t){return(180+t)/360}function yu(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function _u(t,e){return t/du(e)}function gu(t){var e=180-360*t;return 360/Math.PI*Math.atan(Math.exp(e*Math.PI/180))-90}var vu=function(t,e,r){void 0===r&&(r=0),this.x=+t,this.y=+e,this.z=+r};vu.fromLngLat=function(t,e){void 0===e&&(e=0);var r=hu.convert(t);return new vu(mu(r.lng),yu(r.lat),_u(e,r.lat))},vu.prototype.toLngLat=function(){return new hu(360*this.x-180,gu(this.y))},vu.prototype.toAltitude=function(){return this.z*du(gu(this.y))},vu.prototype.meterInMercatorCoordinateUnits=function(){return 1/fu*(t=gu(this.y),1/Math.cos(t*Math.PI/180));var t};var xu=function(t,e,r){this.z=t,this.x=e,this.y=r,this.key=Su(0,t,e,r)};xu.prototype.equals=function(t){return this.z===t.z&&this.x===t.x&&this.y===t.y},xu.prototype.url=function(t,e){var r,i,n,o,a,s=(r=this.x,i=this.y,n=this.z,o=cu(256*r,256*(i=Math.pow(2,n)-i-1),n),a=cu(256*(r+1),256*(i+1),n),o[0]+","+o[1]+","+a[0]+","+a[1]),l=function(t,e,r){for(var i,n="",o=t;o>0;o--)n+=(e&(i=1<<o-1)?1:0)+(r&i?2:0);return n}(this.z,this.x,this.y);return t[(this.x+this.y)%t.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String("tms"===e?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",l).replace("{bbox-epsg-3857}",s)},xu.prototype.getTilePoint=function(t){var e=Math.pow(2,this.z);return new n((t.x*e-this.x)*co,(t.y*e-this.y)*co)},xu.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var bu=function(t,e){this.wrap=t,this.canonical=e,this.key=Su(t,e.z,e.x,e.y)},wu=function(t,e,r,i,n){this.overscaledZ=t,this.wrap=e,this.canonical=new xu(r,+i,+n),this.key=Su(e,t,i,n)};function Su(t,e,r,i){(t*=2)<0&&(t=-1*t-1);var n=1<<e;return 32*(n*n*t+n*i+r)+e}wu.prototype.equals=function(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)},wu.prototype.scaledTo=function(t){var e=this.canonical.z-t;return t>this.canonical.z?new wu(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new wu(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)},wu.prototype.isChildOf=function(t){if(t.wrap!==this.wrap)return!1;var e=this.canonical.z-t.canonical.z;return 0===t.overscaledZ||t.overscaledZ<this.overscaledZ&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e},wu.prototype.children=function(t){if(this.overscaledZ>=t)return[new wu(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var e=this.canonical.z+1,r=2*this.canonical.x,i=2*this.canonical.y;return[new wu(e,this.wrap,e,r,i),new wu(e,this.wrap,e,r+1,i),new wu(e,this.wrap,e,r,i+1),new wu(e,this.wrap,e,r+1,i+1)]},wu.prototype.isLessThan=function(t){return this.wrap<t.wrap||!(this.wrap>t.wrap)&&(this.overscaledZ<t.overscaledZ||!(this.overscaledZ>t.overscaledZ)&&(this.canonical.x<t.canonical.x||!(this.canonical.x>t.canonical.x)&&this.canonical.y<t.canonical.y))},wu.prototype.wrapped=function(){return new wu(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},wu.prototype.unwrapTo=function(t){return new wu(this.overscaledZ,t,this.canonical.z,this.canonical.x,this.canonical.y)},wu.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},wu.prototype.toUnwrapped=function(){return new bu(this.wrap,this.canonical)},wu.prototype.toString=function(){return this.overscaledZ+"/"+this.canonical.x+"/"+this.canonical.y},wu.prototype.getTilePoint=function(t){return this.canonical.getTilePoint(new vu(t.x-this.wrap,t.y))},fi("CanonicalTileID",xu),fi("OverscaledTileID",wu,{omit:["posMatrix"]});var Eu=function(t,e,r){if(this.uid=t,e.height!==e.width)throw new RangeError("DEM tiles must be square");if(r&&"mapbox"!==r&&"terrarium"!==r)return w('"'+r+'" is not a valid encoding type. Valid types include "mapbox" and "terrarium".');this.stride=e.height;var i=this.dim=e.height-2;this.data=new Uint32Array(e.data.buffer),this.encoding=r||"mapbox";for(var n=0;n<i;n++)this.data[this._idx(-1,n)]=this.data[this._idx(0,n)],this.data[this._idx(i,n)]=this.data[this._idx(i-1,n)],this.data[this._idx(n,-1)]=this.data[this._idx(n,0)],this.data[this._idx(n,i)]=this.data[this._idx(n,i-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(i,-1)]=this.data[this._idx(i-1,0)],this.data[this._idx(-1,i)]=this.data[this._idx(0,i-1)],this.data[this._idx(i,i)]=this.data[this._idx(i-1,i-1)]};Eu.prototype.get=function(t,e){var r=new Uint8Array(this.data.buffer),i=4*this._idx(t,e);return("terrarium"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(r[i],r[i+1],r[i+2])},Eu.prototype.getUnpackVector=function(){return"terrarium"===this.encoding?[256,1,1/256,32768]:[6553.6,25.6,.1,1e4]},Eu.prototype._idx=function(t,e){if(t<-1||t>=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(e+1)*this.stride+(t+1)},Eu.prototype._unpackMapbox=function(t,e,r){return(256*t*256+256*e+r)/10-1e4},Eu.prototype._unpackTerrarium=function(t,e,r){return 256*t+e+r/256-32768},Eu.prototype.getPixels=function(){return new jo({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Eu.prototype.backfillBorder=function(t,e,r){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");var i=e*this.dim,n=e*this.dim+this.dim,o=r*this.dim,a=r*this.dim+this.dim;switch(e){case-1:i=n-1;break;case 1:n=i+1}switch(r){case-1:o=a-1;break;case 1:a=o+1}for(var s=-e*this.dim,l=-r*this.dim,u=o;u<a;u++)for(var c=i;c<n;c++)this.data[this._idx(c,u)]=t.data[this._idx(c+s,u+l)]},fi("DEMData",Eu);var Tu=on([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),Iu=function(t){this._stringToNumber={},this._numberToString=[];for(var e=0;e<t.length;e++){var r=t[e];this._stringToNumber[r]=e,this._numberToString[e]=r}};Iu.prototype.encode=function(t){return this._stringToNumber[t]},Iu.prototype.decode=function(t){return this._numberToString[t]};var Au=function(t,e,r,i){this.type="Feature",this._vectorTileFeature=t,t._z=e,t._x=r,t._y=i,this.properties=t.properties,null!=t.id&&(this.id=t.id)},zu={geometry:{configurable:!0}};zu.geometry.get=function(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry},zu.geometry.set=function(t){this._geometry=t},Au.prototype.toJSON=function(){var t={geometry:this.geometry};for(var e in this)"_geometry"!==e&&"_vectorTileFeature"!==e&&(t[e]=this[e]);return t},Object.defineProperties(Au.prototype,zu);var Cu=function(){this.state={},this.stateChanges={},this.deletedStates={}};Cu.prototype.updateState=function(t,e,r){var i=String(e);if(this.stateChanges[t]=this.stateChanges[t]||{},this.stateChanges[t][i]=this.stateChanges[t][i]||{},p(this.stateChanges[t][i],r),null===this.deletedStates[t])for(var n in this.deletedStates[t]={},this.state[t])n!==i&&(this.deletedStates[t][n]=null);else if(this.deletedStates[t]&&null===this.deletedStates[t][i])for(var o in this.deletedStates[t][i]={},this.state[t][i])r[o]||(this.deletedStates[t][i][o]=null);else for(var a in r)this.deletedStates[t]&&this.deletedStates[t][i]&&null===this.deletedStates[t][i][a]&&delete this.deletedStates[t][i][a]},Cu.prototype.removeFeatureState=function(t,e,r){if(null!==this.deletedStates[t]){var i=String(e);if(this.deletedStates[t]=this.deletedStates[t]||{},r&&void 0!==e&&e>=0)null!==this.deletedStates[t][i]&&(this.deletedStates[t][i]=this.deletedStates[t][i]||{},this.deletedStates[t][i][r]=null);else if(void 0!==e&&e>=0)if(this.stateChanges[t]&&this.stateChanges[t][i])for(r in this.deletedStates[t][i]={},this.stateChanges[t][i])this.deletedStates[t][i][r]=null;else this.deletedStates[t][i]=null;else this.deletedStates[t]=null}},Cu.prototype.getState=function(t,e){var r=String(e),i=this.state[t]||{},n=this.stateChanges[t]||{},o=p({},i[r],n[r]);if(null===this.deletedStates[t])return{};if(this.deletedStates[t]){var a=this.deletedStates[t][e];if(null===a)return{};for(var s in a)delete o[s]}return o},Cu.prototype.initializeTileState=function(t,e){t.setFeatureState(this.state,e)},Cu.prototype.coalesceChanges=function(t,e){var r={};for(var i in this.stateChanges){this.state[i]=this.state[i]||{};var n={};for(var o in this.stateChanges[i])this.state[i][o]||(this.state[i][o]={}),p(this.state[i][o],this.stateChanges[i][o]),n[o]=this.state[i][o];r[i]=n}for(var a in this.deletedStates){this.state[a]=this.state[a]||{};var s={};if(null===this.deletedStates[a])for(var l in this.state[a])s[l]={},this.state[a][l]={};else for(var u in this.deletedStates[a]){if(null===this.deletedStates[a][u])this.state[a][u]={};else for(var c=0,h=Object.keys(this.deletedStates[a][u]);c<h.length;c+=1){var f=h[c];delete this.state[a][u][f]}s[u]=this.state[a][u]}r[a]=r[a]||{},p(r[a],s)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(r).length)for(var d in t)t[d].setFeatureState(r,e)};var ku=function(t,e,r){this.tileID=t,this.x=t.canonical.x,this.y=t.canonical.y,this.z=t.canonical.z,this.grid=e||new ui(co,16,0),this.grid3D=new ui(co,16,0),this.featureIndexArray=r||new Un};function Pu(t){for(var e=1/0,r=1/0,i=-1/0,n=-1/0,o=0,a=t;o<a.length;o+=1){var s=a[o];e=Math.min(e,s.x),r=Math.min(r,s.y),i=Math.max(i,s.x),n=Math.max(n,s.y)}return{minX:e,minY:r,maxX:i,maxY:n}}function Mu(t,e){return e-t}ku.prototype.insert=function(t,e,r,i,n,o){var a=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(r,i,n);for(var s=o?this.grid3D:this.grid,l=0;l<e.length;l++){for(var u=e[l],c=[1/0,1/0,-1/0,-1/0],p=0;p<u.length;p++){var h=u[p];c[0]=Math.min(c[0],h.x),c[1]=Math.min(c[1],h.y),c[2]=Math.max(c[2],h.x),c[3]=Math.max(c[3],h.y)}c[0]<co&&c[1]<co&&c[2]>=0&&c[3]>=0&&s.insert(a,c[0],c[1],c[2],c[3])}},ku.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new qa.VectorTile(new vs(this.rawTileData)).layers,this.sourceLayerCoder=new Iu(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},ku.prototype.query=function(t,e,r){var i=this;this.loadVTLayers();for(var o=t.params||{},a=co/t.tileSize/t.scale,s=Fr(o.filter),l=t.queryGeometry,u=t.queryPadding*a,c=Pu(l),p=this.grid.query(c.minX-u,c.minY-u,c.maxX+u,c.maxY+u),h=Pu(t.cameraQueryGeometry),f=0,d=this.grid3D.query(h.minX-u,h.minY-u,h.maxX+u,h.maxY+u,(function(e,r,i,o){return function(t,e,r,i,o){for(var a=0,s=t;a<s.length;a+=1){var l=s[a];if(e<=l.x&&r<=l.y&&i>=l.x&&o>=l.y)return!0}var u=[new n(e,r),new n(e,o),new n(i,o),new n(i,r)];if(t.length>2)for(var c=0,p=u;c<p.length;c+=1)if(To(t,p[c]))return!0;for(var h=0;h<t.length-1;h++)if(Io(t[h],t[h+1],u))return!0;return!1}(t.cameraQueryGeometry,e-u,r-u,i+u,o+u)}));f<d.length;f+=1){var m=d[f];p.push(m)}p.sort(Mu);for(var y,_={},g=function(n){var u=p[n];if(u!==y){y=u;var c=i.featureIndexArray.get(u),h=null;i.loadMatchingFeature(_,c.bucketIndex,c.sourceLayerIndex,c.featureIndex,s,o.layers,e,(function(e,n){h||(h=ho(e));var o={};return e.id&&(o=r.getState(n.sourceLayer||"_geojsonTileLayer",e.id)),n.queryIntersectsFeature(l,e,o,h,i.z,t.transform,a,t.pixelPosMatrix)}))}},v=0;v<p.length;v++)g(v);return _},ku.prototype.loadMatchingFeature=function(t,e,r,i,n,o,a,s){var l=this.bucketLayerIDs[e];if(!o||function(t,e){for(var r=0;r<t.length;r++)if(e.indexOf(t[r])>=0)return!0;return!1}(o,l)){var u=this.sourceLayerCoder.decode(r),c=this.vtLayers[u].feature(i);if(n(new Ui(this.tileID.overscaledZ),c))for(var p=0;p<l.length;p++){var h=l[p];if(!(o&&o.indexOf(h)<0)){var f=a[h];if(f){var d=!s||s(c,f);if(d){var m=new Au(c,this.z,this.x,this.y);m.layer=f.serialize();var y=t[h];void 0===y&&(y=t[h]=[]),y.push({featureIndex:i,feature:m,intersectionZ:d})}}}}}},ku.prototype.lookupSymbolFeatures=function(t,e,r,i,n,o){var a={};this.loadVTLayers();for(var s=Fr(i),l=0,u=t;l<u.length;l+=1){var c=u[l];this.loadMatchingFeature(a,e,r,c,s,n,o)}return a},ku.prototype.hasLayer=function(t){for(var e=0,r=this.bucketLayerIDs;e<r.length;e+=1)for(var i=0,n=r[e];i<n.length;i+=1)if(t===n[i])return!0;return!1},fi("FeatureIndex",ku,{omit:["rawTileData","sourceLayerCoder"]});var Lu=function(t,e){this.tileID=t,this.uid=f(),this.uses=0,this.tileSize=e,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.expiredRequestCount=0,this.state="loading"};Lu.prototype.registerFadeDuration=function(t){var e=t+this.timeAdded;e<F.now()||this.fadeEndTime&&e<this.fadeEndTime||(this.fadeEndTime=e)},Lu.prototype.wasRequested=function(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state},Lu.prototype.loadVectorData=function(t,e,r){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",t){for(var i in t.featureIndex&&(this.latestFeatureIndex=t.featureIndex,t.rawTileData?(this.latestRawTileData=t.rawTileData,this.latestFeatureIndex.rawTileData=t.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=t.collisionBoxArray,this.buckets=function(t,e){var r={};if(!e)return r;for(var i=function(){var t=o[n],i=t.layerIds.map((function(t){return e.getLayer(t)})).filter(Boolean);if(0!==i.length){t.layers=i,t.stateDependentLayerIds&&(t.stateDependentLayers=t.stateDependentLayerIds.map((function(t){return i.filter((function(e){return e.id===t}))[0]})));for(var a=0,s=i;a<s.length;a+=1){var l=s[a];r[l.id]=t}}},n=0,o=t;n<o.length;n+=1)i();return r}(t.buckets,e.style),this.hasSymbolBuckets=!1,this.buckets){var n=this.buckets[i];if(n instanceof Xl){if(this.hasSymbolBuckets=!0,!r)break;n.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(var o in this.buckets){var a=this.buckets[o];if(a instanceof Xl&&a.hasRTLText){this.hasRTLText=!0,Oi.isLoading()||Oi.isLoaded()||"deferred"!==Ri()||Fi();break}}for(var s in this.queryPadding=0,this.buckets){var l=this.buckets[s];this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(s).queryRadius(l))}t.imageAtlas&&(this.imageAtlas=t.imageAtlas),t.glyphAtlasImage&&(this.glyphAtlasImage=t.glyphAtlasImage)}else this.collisionBoxArray=new Cn},Lu.prototype.unloadVectorData=function(){for(var t in this.buckets)this.buckets[t].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"},Lu.prototype.getBucket=function(t){return this.buckets[t.id]},Lu.prototype.upload=function(t){for(var e in this.buckets){var r=this.buckets[e];r.uploadPending()&&r.upload(t)}var i=t.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new su(t,this.imageAtlas.image,i.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new su(t,this.glyphAtlasImage,i.ALPHA),this.glyphAtlasImage=null)},Lu.prototype.prepare=function(t){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(t,this.imageAtlasTexture)},Lu.prototype.queryRenderedFeatures=function(t,e,r,i,n,o,a,s,l){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:r,cameraQueryGeometry:i,scale:n,tileSize:this.tileSize,pixelPosMatrix:l,transform:a,params:o,queryPadding:this.queryPadding*s},t,e):{}},Lu.prototype.querySourceFeatures=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData){var r=this.latestFeatureIndex.loadVTLayers(),i=e?e.sourceLayer:"",n=r._geojsonTileLayer||r[i];if(n)for(var o=Fr(e&&e.filter),a=this.tileID.canonical,s=a.z,l=a.x,u=a.y,c={z:s,x:l,y:u},p=0;p<n.length;p++){var h=n.feature(p);if(o(new Ui(this.tileID.overscaledZ),h)){var f=new Au(h,s,l,u);f.tile=c,t.push(f)}}}},Lu.prototype.clearMask=function(){this.segments&&(this.segments.destroy(),delete this.segments),this.maskedBoundsBuffer&&(this.maskedBoundsBuffer.destroy(),delete this.maskedBoundsBuffer),this.maskedIndexBuffer&&(this.maskedIndexBuffer.destroy(),delete this.maskedIndexBuffer),delete this.mask},Lu.prototype.setMask=function(t,e){if(!a(this.mask,t)&&(this.clearMask(),this.mask=t,!a(t,{0:!0}))){var r=new ln,i=new Sn;this.segments=new Nn,this.segments.prepareSegment(0,r,i);for(var o=Object.keys(t),s=0;s<o.length;s++){var l=t[+o[s]],u=co>>l.z,c=new n(l.x*u,l.y*u),p=new n(c.x+u,c.y+u),h=this.segments.prepareSegment(4,r,i);r.emplaceBack(c.x,c.y,c.x,c.y),r.emplaceBack(p.x,c.y,p.x,c.y),r.emplaceBack(c.x,p.y,c.x,p.y),r.emplaceBack(p.x,p.y,p.x,p.y);var f=h.vertexLength;i.emplaceBack(f,f+1,f+2),i.emplaceBack(f+1,f+2,f+3),h.vertexLength+=4,h.primitiveLength+=2}this.maskedBoundsBuffer=e.createVertexBuffer(r,Tu.members),this.maskedIndexBuffer=e.createIndexBuffer(i)}},Lu.prototype.hasData=function(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state},Lu.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},Lu.prototype.setExpiryData=function(t){var e=this.expirationTime;if(t.cacheControl){var r=I(t.cacheControl);r["max-age"]&&(this.expirationTime=Date.now()+1e3*r["max-age"])}else t.expires&&(this.expirationTime=new Date(t.expires).getTime());if(this.expirationTime){var i=Date.now(),n=!1;if(this.expirationTime>i)n=!1;else if(e)if(this.expirationTime<e)n=!0;else{var o=this.expirationTime-e;o?this.expirationTime=i+Math.max(o,3e4):n=!0}else n=!0;n?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}},Lu.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)},Lu.prototype.setFeatureState=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData&&0!==Object.keys(t).length){var r=this.latestFeatureIndex.loadVTLayers();for(var i in this.buckets){var n=this.buckets[i],o=n.layers[0].sourceLayer||"_geojsonTileLayer",a=r[o],s=t[o];a&&s&&0!==Object.keys(s).length&&(n.update(s,a,this.imageAtlas&&this.imageAtlas.patternPositions||{}),e&&e.style&&(this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(i).queryRadius(n))))}}},Lu.prototype.holdingForFade=function(){return void 0!==this.symbolFadeHoldUntil},Lu.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<F.now()},Lu.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0},Lu.prototype.setHoldDuration=function(t){this.symbolFadeHoldUntil=F.now()+t},Lu.prototype.setDependencies=function(t,e){for(var r={},i=0,n=e;i<n.length;i+=1)r[n[i]]=!0;this.dependencies[t]=r},Lu.prototype.hasDependency=function(t,e){for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=this.dependencies[n];if(o)for(var a=0,s=e;a<s.length;a+=1)if(o[s[a]])return!0}return!1},t.Actor=uu,t.AlphaImage=No,t.CanonicalTileID=xu,t.CollisionBoxArray=Cn,t.Color=Jt,t.DEMData=Eu,t.DataConstantProperty=Ki,t.DictionaryCoder=Iu,t.EXTENT=co,t.ErrorEvent=Tt,t.EvaluationParameters=Ui,t.Event=Et,t.Evented=It,t.FeatureIndex=ku,t.FillBucket=ka,t.FillExtrusionBucket=Wa,t.ImageAtlas=qs,t.ImagePosition=Ns,t.LineBucket=ns,t.LngLat=hu,t.LngLatBounds=pu,t.MercatorCoordinate=vu,t.ONE_EM=24,t.OverscaledTileID=wu,t.Point=n,t.Point$1=n,t.ProgramConfiguration=ao,t.Properties=$i,t.Protobuf=vs,t.RGBAImage=jo,t.RequestManager=Z,t.ResourceType=ht,t.SegmentVector=Nn,t.SourceFeatureState=Cu,t.StructArrayLayout1ui2=Tn,t.StructArrayLayout2i4=sn,t.StructArrayLayout2ui4=En,t.StructArrayLayout3ui6=Sn,t.StructArrayLayout4i8=ln,t.SymbolBucket=Xl,t.Texture=su,t.Tile=Lu,t.Transitionable=ji,t.Uniform1f=Wn,t.Uniform1i=Xn,t.Uniform2f=Kn,t.Uniform3f=Hn,t.Uniform4f=Jn,t.UniformColor=Yn,t.UniformMatrix4f=$n,t.UnwrappedTileID=bu,t.ValidationError=zt,t.WritingMode=Zs,t.ZoomHistory=gi,t.addDynamicAttributes=jl,t.asyncAll=function(t,e,r){if(!t.length)return r(null,[]);var i=t.length,n=new Array(t.length),o=null;t.forEach((function(t,a){e(t,(function(t,e){t&&(o=t),n[a]=e,0==--i&&r(o,n)}))}))},t.bezier=s,t.bindAll=y,t.browser=F,t.cacheEntryPossiblyAdded=function(t){++pt>lt&&(t.getActor().send("enforceCacheSizeLimit",st),pt=0)},t.clamp=u,t.clearTileCache=function(t){var e=self.caches.delete(at);t&&e.catch(t).then((function(){return t()}))},t.clone=function(t){var e=new Lo(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.clone$1=x,t.config=O,t.create=function(){var t=new Lo(16);return Lo!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.create$1=function(){var t=new Lo(9);return Lo!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t},t.create$2=function(){var t=new Lo(4);return Lo!=Float32Array&&(t[1]=0,t[2]=0),t[0]=1,t[3]=1,t},t.createCommonjsModule=e,t.createExpression=Er,t.createLayout=on,t.createStyleLayer=function(t){return"custom"===t.type?new eu(t):new ru[t.type](t)},t.deepEqual=a,t.ease=l,t.emitValidationErrors=li,t.endsWith=_,t.enforceCacheSizeLimit=function(t){ut(),$&&$.then((function(e){e.keys().then((function(r){for(var i=0;i<r.length-t;i++)e.delete(r[i])}))}))},t.evaluateSizeForFeature=sl,t.evaluateSizeForZoom=ll,t.evaluateVariableOffset=Ll,t.evented=Bi,t.extend=p,t.featureFilter=Fr,t.filterObject=v,t.fromRotation=function(t,e){var r=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=r,t[2]=0,t[3]=-r,t[4]=i,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.getAnchorAlignment=el,t.getAnchorJustification=Dl,t.getArrayBuffer=vt,t.getImage=bt,t.getJSON=function(t,e){return gt(p(t,{type:"json"}),e)},t.getRTLTextPluginStatus=Ri,t.getReferrer=dt,t.getVideo=function(t,e){var r,i,n=self.document.createElement("video");n.muted=!0,n.onloadstart=function(){e(null,n)};for(var o=0;o<t.length;o++){var a=self.document.createElement("source");r=t[o],i=void 0,(i=self.document.createElement("a")).href=r,(i.protocol!==self.document.location.protocol||i.host!==self.document.location.host)&&(n.crossOrigin="Anonymous"),a.src=t[o],n.appendChild(a)}return{cancel:function(){}}},t.identity=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},t.invert=function(t,e){var r=e[0],i=e[1],n=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],p=e[9],h=e[10],f=e[11],d=e[12],m=e[13],y=e[14],_=e[15],g=r*s-i*a,v=r*l-n*a,x=r*u-o*a,b=i*l-n*s,w=i*u-o*s,S=n*u-o*l,E=c*m-p*d,T=c*y-h*d,I=c*_-f*d,A=p*y-h*m,z=p*_-f*m,C=h*_-f*y,k=g*C-v*z+x*A+b*I-w*T+S*E;return k?(k=1/k,t[0]=(s*C-l*z+u*A)*k,t[1]=(n*z-i*C-o*A)*k,t[2]=(m*S-y*w+_*b)*k,t[3]=(h*w-p*S-f*b)*k,t[4]=(l*I-a*C-u*T)*k,t[5]=(r*C-n*I+o*T)*k,t[6]=(y*x-d*S-_*v)*k,t[7]=(c*S-h*x+f*v)*k,t[8]=(a*z-s*I+u*E)*k,t[9]=(i*I-r*z-o*E)*k,t[10]=(d*w-m*x+_*g)*k,t[11]=(p*x-c*w-f*g)*k,t[12]=(s*T-a*A-l*E)*k,t[13]=(r*A-i*T+n*E)*k,t[14]=(m*v-d*b-y*g)*k,t[15]=(c*b-p*v+h*g)*k,t):null},t.isChar=vi,t.isMapboxURL=G,t.keysDifference=function(t,e){var r=[];for(var i in t)i in e||r.push(i);return r},t.makeRequest=gt,t.mapObject=g,t.mercatorXfromLng=mu,t.mercatorYfromLat=yu,t.mercatorZfromAltitude=_u,t.multiply=function(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],p=e[8],h=e[9],f=e[10],d=e[11],m=e[12],y=e[13],_=e[14],g=e[15],v=r[0],x=r[1],b=r[2],w=r[3];return t[0]=v*i+x*s+b*p+w*m,t[1]=v*n+x*l+b*h+w*y,t[2]=v*o+x*u+b*f+w*_,t[3]=v*a+x*c+b*d+w*g,v=r[4],x=r[5],b=r[6],w=r[7],t[4]=v*i+x*s+b*p+w*m,t[5]=v*n+x*l+b*h+w*y,t[6]=v*o+x*u+b*f+w*_,t[7]=v*a+x*c+b*d+w*g,v=r[8],x=r[9],b=r[10],w=r[11],t[8]=v*i+x*s+b*p+w*m,t[9]=v*n+x*l+b*h+w*y,t[10]=v*o+x*u+b*f+w*_,t[11]=v*a+x*c+b*d+w*g,v=r[12],x=r[13],b=r[14],w=r[15],t[12]=v*i+x*s+b*p+w*m,t[13]=v*n+x*l+b*h+w*y,t[14]=v*o+x*u+b*f+w*_,t[15]=v*a+x*c+b*d+w*g,t},t.mvt=qa,t.number=Se,t.ortho=function(t,e,r,i,n,o,a){var s=1/(e-r),l=1/(i-n),u=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+r)*s,t[13]=(n+i)*l,t[14]=(a+o)*u,t[15]=1,t},t.parseGlyphPBF=function(t){return new vs(t).readFields(Fs,[])},t.pbf=vs,t.performSymbolLayout=function(t,e,r,i,o,a){t.createArrays();var s=512*t.overscaling;t.tilePixelRatio=co/s,t.compareText={},t.iconsNeedLinear=!1;var l=t.layers[0].layout,u=t.layers[0]._unevaluatedLayout._values,c={};if("composite"===t.textSizeData.kind){var p=t.textSizeData,h=p.minZoom,f=p.maxZoom;c.compositeTextSizes=[u["text-size"].possiblyEvaluate(new Ui(h)),u["text-size"].possiblyEvaluate(new Ui(f))]}if("composite"===t.iconSizeData.kind){var d=t.iconSizeData,m=d.minZoom,y=d.maxZoom;c.compositeIconSizes=[u["icon-size"].possiblyEvaluate(new Ui(m)),u["icon-size"].possiblyEvaluate(new Ui(y))]}c.layoutTextSize=u["text-size"].possiblyEvaluate(new Ui(t.zoom+1)),c.layoutIconSize=u["icon-size"].possiblyEvaluate(new Ui(t.zoom+1)),c.textMaxSize=u["text-size"].possiblyEvaluate(new Ui(18));for(var _=24*l.get("text-line-height"),g="map"===l.get("text-rotation-alignment")&&"point"!==l.get("symbol-placement"),v=l.get("text-keep-upright"),x=l.get("text-size"),b=function(){var a=E[S],s=l.get("text-font").evaluate(a,{}).join(","),u=x.evaluate(a,{}),p=c.layoutTextSize.evaluate(a,{}),h=c.layoutIconSize.evaluate(a,{}),f={horizontal:{},vertical:void 0},d=a.text,m=[0,0];if(d){var y=d.toString(),b=24*l.get("text-letter-spacing").evaluate(a,{}),T=function(t){for(var e=0,r=t;e<r.length;e+=1)if(!bi(r[e].charCodeAt(0)))return!1;return!0}(y)?b:0,I=l.get("text-anchor").evaluate(a,{}),A=l.get("text-variable-anchor");if(!A){var z=l.get("text-radial-offset").evaluate(a,{});m=z?Ll(I,[24*z,Ml]):l.get("text-offset").evaluate(a,{}).map((function(t){return 24*t}))}var C=g?"center":l.get("text-justify").evaluate(a,{}),k=l.get("symbol-placement"),P="point"===k?24*l.get("text-max-width").evaluate(a,{}):0,M=function(){t.allowVerticalPlacement&&xi(y)&&(f.vertical=Ws(d,e,r,o,s,P,_,I,"left",T,m,Zs.vertical,!0,k,p,u))};if(!g&&A){for(var L="auto"===C?A.map((function(t){return Dl(t)})):[C],D=!1,B=0;B<L.length;B++){var R=L[B];if(!f.horizontal[R])if(D)f.horizontal[R]=f.horizontal[0];else{var F=Ws(d,e,r,o,s,P,_,"center",R,T,m,Zs.horizontal,!1,k,p,u);F&&(f.horizontal[R]=F,D=1===F.positionedLines.length)}}M()}else{"auto"===C&&(C=Dl(I));var O=Ws(d,e,r,o,s,P,_,I,C,T,m,Zs.horizontal,!1,k,p,u);O&&(f.horizontal[C]=O),M(),xi(y)&&g&&v&&(f.vertical=Ws(d,e,r,o,s,P,_,I,C,T,m,Zs.vertical,!1,k,p,u))}}var U=void 0,V=!1;if(a.icon&&a.icon.name){var N=i[a.icon.name];N&&(U=function(t,e,r){var i=el(r),n=i.horizontalAlign,o=i.verticalAlign,a=e[0],s=e[1],l=a-t.displaySize[0]*n,u=l+t.displaySize[0],c=s-t.displaySize[1]*o;return{image:t,top:c,bottom:c+t.displaySize[1],left:l,right:u}}(o[a.icon.name],l.get("icon-offset").evaluate(a,{}),l.get("icon-anchor").evaluate(a,{})),V=N.sdf,void 0===t.sdfIcons?t.sdfIcons=N.sdf:t.sdfIcons!==N.sdf&&w("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),N.pixelRatio!==t.pixelRatio?t.iconsNeedLinear=!0:0!==l.get("icon-rotate").constantOr(1)&&(t.iconsNeedLinear=!0))}var j=Fl(f.horizontal)||f.vertical;t.iconsInText=!!j&&j.iconsInText,(j||U)&&function(t,e,r,i,o,a,s,l,u,c){var p=a.textMaxSize.evaluate(e,{});void 0===p&&(p=s);var h,f=t.layers[0].layout,d=f.get("icon-offset").evaluate(e,{}),m=Fl(r.horizontal),y=s/24,_=t.tilePixelRatio*y,g=t.tilePixelRatio*p/24,v=t.tilePixelRatio*l,x=t.tilePixelRatio*f.get("symbol-spacing"),b=f.get("text-padding")*t.tilePixelRatio,S=f.get("icon-padding")*t.tilePixelRatio,E=f.get("text-max-angle")/180*Math.PI,T="map"===f.get("text-rotation-alignment")&&"point"!==f.get("symbol-placement"),I="map"===f.get("icon-rotation-alignment")&&"point"!==f.get("symbol-placement"),A=f.get("symbol-placement"),z=x/2,C=f.get("icon-text-fit");i&&"none"!==C&&(t.allowVerticalPlacement&&r.vertical&&(h=il(i,r.vertical,C,f.get("icon-text-fit-padding"),d,y)),m&&(i=il(i,m,C,f.get("icon-text-fit-padding"),d,y)));var k=function(n,s){s.x<0||s.x>=co||s.y<0||s.y>=co||function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_,g,v,x,b,S){var E,T,I,A,z,C=t.addToLineVertexArray(e,r),k=0,P=0,M=0,L=0,D=-1,B=-1,R={},F=Cl(""),O=0,U=0;if(void 0===s._unevaluatedLayout.getValue("text-radial-offset")?(O=(E=s.layout.get("text-offset").evaluate(x,{}).map((function(t){return 24*t})))[0],U=E[1]):(O=24*s.layout.get("text-radial-offset").evaluate(x,{}),U=Ml),t.allowVerticalPlacement&&i.vertical){var V=s.layout.get("text-rotate").evaluate(x,{})+90,N=i.vertical;A=new bl(l,r,e,u,c,p,N,h,f,d,t.overscaling,V),a&&(z=new bl(l,r,e,u,c,p,a,y,_,d,t.overscaling,V))}if(n){var j=s.layout.get("icon-rotate").evaluate(x,{}),q="none"!==s.layout.get("icon-text-fit"),Z=yl(n,j,S,q),G=a?yl(a,j,S,q):void 0;I=new bl(l,r,e,u,c,p,n,y,_,!1,t.overscaling,j),k=4*Z.length;var X=t.iconSizeData,W=null;"source"===X.kind?(W=[ol*s.layout.get("icon-size").evaluate(x,{})])[0]>Bl&&w(t.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):"composite"===X.kind&&((W=[ol*b.compositeIconSizes[0].evaluate(x,{}),ol*b.compositeIconSizes[1].evaluate(x,{})])[0]>Bl||W[1]>Bl)&&w(t.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),t.addSymbols(t.icon,Z,W,v,g,x,!1,e,C.lineStartIndex,C.lineLength,-1),D=t.icon.placedSymbolArray.length-1,G&&(P=4*G.length,t.addSymbols(t.icon,G,W,v,g,x,Zs.vertical,e,C.lineStartIndex,C.lineLength,-1),B=t.icon.placedSymbolArray.length-1)}for(var K in i.horizontal){var H=i.horizontal[K];if(!T){F=Cl(H.text);var J=s.layout.get("text-rotate").evaluate(x,{});T=new bl(l,r,e,u,c,p,H,h,f,d,t.overscaling,J)}var Y=1===H.positionedLines.length;if(M+=Rl(t,e,H,o,s,d,x,m,C,i.vertical?Zs.horizontal:Zs.horizontalOnly,Y?Object.keys(i.horizontal):[K],R,D,b),Y)break}i.vertical&&(L+=Rl(t,e,i.vertical,o,s,d,x,m,C,Zs.vertical,["vertical"],R,B,b));var Q=T?T.boxStartIndex:t.collisionBoxArray.length,$=T?T.boxEndIndex:t.collisionBoxArray.length,tt=A?A.boxStartIndex:t.collisionBoxArray.length,et=A?A.boxEndIndex:t.collisionBoxArray.length,rt=I?I.boxStartIndex:t.collisionBoxArray.length,it=I?I.boxEndIndex:t.collisionBoxArray.length,nt=z?z.boxStartIndex:t.collisionBoxArray.length,ot=z?z.boxEndIndex:t.collisionBoxArray.length;t.glyphOffsetArray.length>=Xl.MAX_GLYPHS&&w("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),t.symbolInstances.emplaceBack(e.x,e.y,R.right>=0?R.right:-1,R.center>=0?R.center:-1,R.left>=0?R.left:-1,R.vertical||-1,D,B,F,Q,$,tt,et,rt,it,nt,ot,u,M,L,k,P,0,h,O,U)}(t,s,n,r,i,o,h,t.layers[0],t.collisionBoxArray,e.index,e.sourceLayerIndex,t.index,_,b,T,u,v,S,I,d,e,a,c)};if("line"===A)for(var P=0,M=function(t,e,r,i,o){for(var a=[],s=0;s<t.length;s++)for(var l=t[s],u=void 0,c=0;c<l.length-1;c++){var p=l[c],h=l[c+1];p.x<0&&h.x<0||(p.x<0?p=new n(0,p.y+(h.y-p.y)*((0-p.x)/(h.x-p.x)))._round():h.x<0&&(h=new n(0,p.y+(h.y-p.y)*((0-p.x)/(h.x-p.x)))._round()),p.y<0&&h.y<0||(p.y<0?p=new n(p.x+(h.x-p.x)*((0-p.y)/(h.y-p.y)),0)._round():h.y<0&&(h=new n(p.x+(h.x-p.x)*((0-p.y)/(h.y-p.y)),0)._round()),p.x>=i&&h.x>=i||(p.x>=i?p=new n(i,p.y+(h.y-p.y)*((i-p.x)/(h.x-p.x)))._round():h.x>=i&&(h=new n(i,p.y+(h.y-p.y)*((i-p.x)/(h.x-p.x)))._round()),p.y>=o&&h.y>=o||(p.y>=o?p=new n(p.x+(h.x-p.x)*((o-p.y)/(h.y-p.y)),o)._round():h.y>=o&&(h=new n(p.x+(h.x-p.x)*((o-p.y)/(h.y-p.y)),o)._round()),u&&p.equals(u[u.length-1])||(u=[p],a.push(u)),u.push(h)))))}return a}(e.geometry,0,0,co,co);P<M.length;P+=1)for(var L=M[P],D=0,B=ml(L,x,E,r.vertical||m,i,24,g,t.overscaling,co);D<B.length;D+=1){var R=B[D];m&&Ol(t,m.text,z,R)||k(L,R)}else if("line-center"===A)for(var F=0,O=e.geometry;F<O.length;F+=1){var U=O[F];if(U.length>1){var V=dl(U,E,r.vertical||m,i,24,g);V&&k(U,V)}}else if("Polygon"===e.type)for(var N=0,j=Ia(e.geometry,0);N<j.length;N+=1){var q=j[N],Z=El(q,16);k(q[0],new nl(Z.x,Z.y,0))}else if("LineString"===e.type)for(var G=0,X=e.geometry;G<X.length;G+=1){var W=X[G];k(W,new nl(W[0].x,W[0].y,0))}else if("Point"===e.type)for(var K=0,H=e.geometry;K<H.length;K+=1)for(var J=0,Y=H[K];J<Y.length;J+=1){var Q=Y[J];k([Q],new nl(Q.x,Q.y,0))}}(t,a,f,U,i,c,p,h,m,V)},S=0,E=t.features;S<E.length;S+=1)b();a&&t.generateCollisionDebugBuffers()},t.perspective=function(t,e,r,i,n){var o,a=1/Math.tan(e/2);return t[0]=a/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=n&&n!==1/0?(o=1/(i-n),t[10]=(n+i)*o,t[14]=2*n*i*o):(t[10]=-1,t[14]=-2*i),t},t.pick=function(t,e){for(var r={},i=0;i<e.length;i++){var n=e[i];n in t&&(r[n]=t[n])}return r},t.plugin=Oi,t.polygonIntersectsPolygon=yo,t.postMapLoadEvent=ot,t.postTurnstileEvent=it,t.potpack=Vs,t.rasterBoundsAttributes=Tu,t.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],t.register=fi,t.registerForPluginStateChange=function(t){return t({pluginStatus:Pi,pluginURL:Mi}),Bi.on("pluginStateChange",t),t},t.rotate=function(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3],s=Math.sin(r),l=Math.cos(r);return t[0]=i*l+o*s,t[1]=n*l+a*s,t[2]=i*-s+o*l,t[3]=n*-s+a*l,t},t.rotateX=function(t,e,r){var i=Math.sin(r),n=Math.cos(r),o=e[4],a=e[5],s=e[6],l=e[7],u=e[8],c=e[9],p=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=o*n+u*i,t[5]=a*n+c*i,t[6]=s*n+p*i,t[7]=l*n+h*i,t[8]=u*n-o*i,t[9]=c*n-a*i,t[10]=p*n-s*i,t[11]=h*n-l*i,t},t.rotateZ=function(t,e,r){var i=Math.sin(r),n=Math.cos(r),o=e[0],a=e[1],s=e[2],l=e[3],u=e[4],c=e[5],p=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*n+u*i,t[1]=a*n+c*i,t[2]=s*n+p*i,t[3]=l*n+h*i,t[4]=u*n-o*i,t[5]=c*n-a*i,t[6]=p*n-s*i,t[7]=h*n-l*i,t},t.scale=function(t,e,r){var i=r[0],n=r[1],o=r[2];return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t[3]=e[3]*i,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.setCacheLimits=function(t,e){st=t,lt=e},t.setRTLTextPlugin=function(t,e,r){if(void 0===r&&(r=!1),Pi===Ai||Pi===zi||Pi===Ci)throw new Error("setRTLTextPlugin cannot be called multiple times.");Mi=F.resolveURL(t),Pi=Ai,ki=e,Di(),r||Fi()},t.sphericalToCartesian=function(t){var e=t[0],r=t[1],i=t[2];return r+=90,r*=Math.PI/180,i*=Math.PI/180,{x:e*Math.cos(r)*Math.sin(i),y:e*Math.sin(r)*Math.sin(i),z:e*Math.cos(i)}},t.styleSpec=At,t.symbolSize=ul,t.transformMat3=function(t,e,r){var i=e[0],n=e[1],o=e[2];return t[0]=i*r[0]+n*r[3]+o*r[6],t[1]=i*r[1]+n*r[4]+o*r[7],t[2]=i*r[2]+n*r[5]+o*r[8],t},t.transformMat4=Do,t.translate=function(t,e,r){var i,n,o,a,s,l,u,c,p,h,f,d,m=r[0],y=r[1],_=r[2];return e===t?(t[12]=e[0]*m+e[4]*y+e[8]*_+e[12],t[13]=e[1]*m+e[5]*y+e[9]*_+e[13],t[14]=e[2]*m+e[6]*y+e[10]*_+e[14],t[15]=e[3]*m+e[7]*y+e[11]*_+e[15]):(i=e[0],n=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],p=e[8],h=e[9],f=e[10],d=e[11],t[0]=i,t[1]=n,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t[6]=u,t[7]=c,t[8]=p,t[9]=h,t[10]=f,t[11]=d,t[12]=i*m+s*y+p*_+e[12],t[13]=n*m+l*y+h*_+e[13],t[14]=o*m+u*y+f*_+e[14],t[15]=a*m+c*y+d*_+e[15]),t},t.triggerPluginCompletionEvent=Li,t.uniqueId=f,t.validateCustomStyleLayer=function(t){var e=[],r=t.id;return void 0===r&&e.push({message:"layers."+r+': missing required property "id"'}),void 0===t.render&&e.push({message:"layers."+r+': missing required method "render"'}),t.renderingMode&&"2d"!==t.renderingMode&&"3d"!==t.renderingMode&&e.push({message:"layers."+r+': property "renderingMode" must be either "2d" or "3d"'}),e},t.validateLight=oi,t.validateStyle=ni,t.values=function(t){var e=[];for(var r in t)e.push(t[r]);return e},t.vectorTile=qa,t.version="1.6.1",t.warnOnce=w,t.webpSupported=U,t.window=self,t.wrap=c})),i(0,(function(t){function e(t){var r=typeof t;if("number"===r||"boolean"===r||"string"===r||null==t)return JSON.stringify(t);if(Array.isArray(t)){for(var i="[",n=0,o=t;n<o.length;n+=1)i+=e(o[n])+",";return i+"]"}for(var a=Object.keys(t).sort(),s="{",l=0;l<a.length;l++)s+=JSON.stringify(a[l])+":"+e(t[a[l]])+",";return s+"}"}function r(r){for(var i="",n=0,o=t.refProperties;n<o.length;n+=1)i+="/"+e(r[o[n]]);return i}var i=function(t){this.keyCache={},t&&this.replace(t)};i.prototype.replace=function(t){this._layerConfigs={},this._layers={},this.update(t,[])},i.prototype.update=function(e,i){for(var n=this,o=0,a=e;o<a.length;o+=1){var s=a[o];this._layerConfigs[s.id]=s;var l=this._layers[s.id]=t.createStyleLayer(s);l._featureFilter=t.featureFilter(l.filter),this.keyCache[s.id]&&delete this.keyCache[s.id]}for(var u=0,c=i;u<c.length;u+=1){var p=c[u];delete this.keyCache[p],delete this._layerConfigs[p],delete this._layers[p]}this.familiesBySource={};for(var h=0,f=function(t,e){for(var i={},n=0;n<t.length;n++){var o=e&&e[t[n].id]||r(t[n]);e&&(e[t[n].id]=o);var a=i[o];a||(a=i[o]=[]),a.push(t[n])}var s=[];for(var l in i)s.push(i[l]);return s}(t.values(this._layerConfigs),this.keyCache);h<f.length;h+=1){var d=f[h].map((function(t){return n._layers[t.id]})),m=d[0];if("none"!==m.visibility){var y=m.source||"",_=this.familiesBySource[y];_||(_=this.familiesBySource[y]={});var g=m.sourceLayer||"_geojsonTileLayer",v=_[g];v||(v=_[g]=[]),v.push(d)}}};var n=function(e){var r={},i=[];for(var n in e){var o=e[n],a=r[n]={};for(var s in o){var l=o[+s];if(l&&0!==l.bitmap.width&&0!==l.bitmap.height){var u={x:0,y:0,w:l.bitmap.width+2,h:l.bitmap.height+2};i.push(u),a[s]={rect:u,metrics:l.metrics}}}}var c=t.potpack(i),p=c.w,h=c.h,f=new t.AlphaImage({width:p||1,height:h||1});for(var d in e){var m=e[d];for(var y in m){var _=m[+y];if(_&&0!==_.bitmap.width&&0!==_.bitmap.height){var g=r[d][y].rect;t.AlphaImage.copy(_.bitmap,f,{x:0,y:0},{x:g.x+1,y:g.y+1},_.bitmap)}}}this.image=f,this.positions=r};t.register("GlyphAtlas",n);var o=function(e){this.tileID=new t.OverscaledTileID(e.tileID.overscaledZ,e.tileID.wrap,e.tileID.canonical.z,e.tileID.canonical.x,e.tileID.canonical.y),this.uid=e.uid,this.zoom=e.zoom,this.pixelRatio=e.pixelRatio,this.tileSize=e.tileSize,this.source=e.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=e.showCollisionBoxes,this.collectResourceTiming=!!e.collectResourceTiming,this.returnDependencies=!!e.returnDependencies};function a(e,r,i){for(var n=new t.EvaluationParameters(r),o=0,a=e;o<a.length;o+=1)a[o].recalculate(n,i)}o.prototype.parse=function(e,r,i,o,s){var l=this;this.status="parsing",this.data=e,this.collisionBoxArray=new t.CollisionBoxArray;var u=new t.DictionaryCoder(Object.keys(e.layers).sort()),c=new t.FeatureIndex(this.tileID);c.bucketLayerIDs=[];var p,h,f,d,m={},y={featureIndex:c,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:i},_=r.familiesBySource[this.source];for(var g in _){var v=e.layers[g];if(v){1===v.version&&t.warnOnce('Vector tile source "'+this.source+'" layer "'+g+'" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var x=u.encode(g),b=[],w=0;w<v.length;w++){var S=v.feature(w);b.push({feature:S,index:w,sourceLayerIndex:x})}for(var E=0,T=_[g];E<T.length;E+=1){var I=T[E],A=I[0];A.minzoom&&this.zoom<Math.floor(A.minzoom)||A.maxzoom&&this.zoom>=A.maxzoom||"none"!==A.visibility&&(a(I,this.zoom,i),(m[A.id]=A.createBucket({index:c.bucketLayerIDs.length,layers:I,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:x,sourceID:this.source})).populate(b,y),c.bucketLayerIDs.push(I.map((function(t){return t.id}))))}}}var z=t.mapObject(y.glyphDependencies,(function(t){return Object.keys(t).map(Number)}));Object.keys(z).length?o.send("getGlyphs",{uid:this.uid,stacks:z},(function(t,e){p||(p=t,h=e,P.call(l))})):h={};var C=Object.keys(y.iconDependencies);C.length?o.send("getImages",{icons:C,source:this.source,tileID:this.tileID,type:"icons"},(function(t,e){p||(p=t,f=e,P.call(l))})):f={};var k=Object.keys(y.patternDependencies);function P(){if(p)return s(p);if(h&&f&&d){var e=new n(h),r=new t.ImageAtlas(f,d);for(var o in m){var l=m[o];l instanceof t.SymbolBucket?(a(l.layers,this.zoom,i),t.performSymbolLayout(l,h,e.positions,f,r.iconPositions,this.showCollisionBoxes)):l.hasPattern&&(l instanceof t.LineBucket||l instanceof t.FillBucket||l instanceof t.FillExtrusionBucket)&&(a(l.layers,this.zoom,i),l.addFeatures(y,r.patternPositions))}this.status="done",s(null,{buckets:t.values(m).filter((function(t){return!t.isEmpty()})),featureIndex:c,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:e.image,imageAtlas:r,glyphMap:this.returnDependencies?h:null,iconMap:this.returnDependencies?f:null,glyphPositions:this.returnDependencies?e.positions:null})}}k.length?o.send("getImages",{icons:k,source:this.source,tileID:this.tileID,type:"patterns"},(function(t,e){p||(p=t,d=e,P.call(l))})):d={},P.call(this)};var s="undefined"!=typeof performance,l={getEntriesByName:function(t){return!!(s&&performance&&performance.getEntriesByName)&&performance.getEntriesByName(t)},mark:function(t){return!!(s&&performance&&performance.mark)&&performance.mark(t)},measure:function(t,e,r){return!!(s&&performance&&performance.measure)&&performance.measure(t,e,r)},clearMarks:function(t){return!!(s&&performance&&performance.clearMarks)&&performance.clearMarks(t)},clearMeasures:function(t){return!!(s&&performance&&performance.clearMeasures)&&performance.clearMeasures(t)}},u=function(t){this._marks={start:[t.url,"start"].join("#"),end:[t.url,"end"].join("#"),measure:t.url.toString()},l.mark(this._marks.start)};function c(e,r){var i=t.getArrayBuffer(e.request,(function(e,i,n,o){e?r(e):i&&r(null,{vectorTile:new t.vectorTile.VectorTile(new t.pbf(i)),rawData:i,cacheControl:n,expires:o})}));return function(){i.cancel(),r()}}u.prototype.finish=function(){l.mark(this._marks.end);var t=l.getEntriesByName(this._marks.measure);return 0===t.length&&(l.measure(this._marks.measure,this._marks.start,this._marks.end),t=l.getEntriesByName(this._marks.measure),l.clearMarks(this._marks.start),l.clearMarks(this._marks.end),l.clearMeasures(this._marks.measure)),t},l.Performance=u;var p=function(t,e,r,i){this.actor=t,this.layerIndex=e,this.availableImages=r,this.loadVectorData=i||c,this.loading={},this.loaded={}};p.prototype.loadTile=function(e,r){var i=this,n=e.uid;this.loading||(this.loading={});var a=!!(e&&e.request&&e.request.collectResourceTiming)&&new l.Performance(e.request),s=this.loading[n]=new o(e);s.abort=this.loadVectorData(e,(function(e,o){if(delete i.loading[n],e||!o)return s.status="done",i.loaded[n]=s,r(e);var l=o.rawData,u={};o.expires&&(u.expires=o.expires),o.cacheControl&&(u.cacheControl=o.cacheControl);var c={};if(a){var p=a.finish();p&&(c.resourceTiming=JSON.parse(JSON.stringify(p)))}s.vectorTile=o.vectorTile,s.parse(o.vectorTile,i.layerIndex,i.availableImages,i.actor,(function(e,i){if(e||!i)return r(e);r(null,t.extend({rawTileData:l.slice(0)},i,u,c))})),i.loaded=i.loaded||{},i.loaded[n]=s}))},p.prototype.reloadTile=function(t,e){var r=this,i=this.loaded,n=t.uid,o=this;if(i&&i[n]){var a=i[n];a.showCollisionBoxes=t.showCollisionBoxes;var s=function(t,i){var n=a.reloadCallback;n&&(delete a.reloadCallback,a.parse(a.vectorTile,o.layerIndex,r.availableImages,o.actor,n)),e(t,i)};"parsing"===a.status?a.reloadCallback=s:"done"===a.status&&(a.vectorTile?a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,s):s())}},p.prototype.abortTile=function(t,e){var r=this.loading,i=t.uid;r&&r[i]&&r[i].abort&&(r[i].abort(),delete r[i]),e()},p.prototype.removeTile=function(t,e){var r=this.loaded,i=t.uid;r&&r[i]&&delete r[i],e()};var h=function(){this.loaded={}};h.prototype.loadTile=function(e,r){var i=e.uid,n=e.encoding,o=e.rawImageData,a=new t.DEMData(i,o,n);this.loaded=this.loaded||{},this.loaded[i]=a,r(null,a)},h.prototype.removeTile=function(t){var e=this.loaded,r=t.uid;e&&e[r]&&delete e[r]};var f=6378137;function d(t){var e=0;if(t&&t.length>0){e+=Math.abs(m(t[0]));for(var r=1;r<t.length;r++)e-=Math.abs(m(t[r]))}return e}function m(t){var e,r,i,n,o,a,s=0,l=t.length;if(l>2){for(a=0;a<l;a++)a===l-2?(i=l-2,n=l-1,o=0):a===l-1?(i=l-1,n=0,o=1):(i=a,n=a+1,o=a+2),e=t[i],r=t[n],s+=(y(t[o][0])-y(e[0]))*Math.sin(y(r[1]));s=s*f*f/2}return s}function y(t){return t*Math.PI/180}var _={geometry:function t(e){var r,i=0;switch(e.type){case"Polygon":return d(e.coordinates);case"MultiPolygon":for(r=0;r<e.coordinates.length;r++)i+=d(e.coordinates[r]);return i;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0;case"GeometryCollection":for(r=0;r<e.geometries.length;r++)i+=t(e.geometries[r]);return i}},ring:m};function g(t,e){return function(r){return t(r,e)}}function v(t,e){e=!!e,t[0]=x(t[0],e);for(var r=1;r<t.length;r++)t[r]=x(t[r],!e);return t}function x(t,e){return function(t){return _.ring(t)>=0}(t)===e?t:t.reverse()}var b=t.vectorTile.VectorTileFeature.prototype.toGeoJSON,w=function(e){this._feature=e,this.extent=t.EXTENT,this.type=e.type,this.properties=e.tags,"id"in e&&!isNaN(e.id)&&(this.id=parseInt(e.id,10))};w.prototype.loadGeometry=function(){if(1===this._feature.type){for(var e=[],r=0,i=this._feature.geometry;r<i.length;r+=1){var n=i[r];e.push([new t.Point$1(n[0],n[1])])}return e}for(var o=[],a=0,s=this._feature.geometry;a<s.length;a+=1){for(var l=[],u=0,c=s[a];u<c.length;u+=1){var p=c[u];l.push(new t.Point$1(p[0],p[1]))}o.push(l)}return o},w.prototype.toGeoJSON=function(t,e,r){return b.call(this,t,e,r)};var S=function(e){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=t.EXTENT,this.length=e.length,this._features=e};S.prototype.feature=function(t){return new w(this._features[t])};var E=t.vectorTile.VectorTileFeature,T=I;function I(t,e){this.options=e||{},this.features=t,this.length=t.length}function A(t,e){this.id="number"==typeof t.id?t.id:void 0,this.type=t.type,this.rawGeometry=1===t.type?[t.geometry]:t.geometry,this.properties=t.tags,this.extent=e||4096}I.prototype.feature=function(t){return new A(this.features[t],this.options.extent)},A.prototype.loadGeometry=function(){var e=this.rawGeometry;this.geometry=[];for(var r=0;r<e.length;r++){for(var i=e[r],n=[],o=0;o<i.length;o++)n.push(new t.Point$1(i[o][0],i[o][1]));this.geometry.push(n)}return this.geometry},A.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var t=this.geometry,e=1/0,r=-1/0,i=1/0,n=-1/0,o=0;o<t.length;o++)for(var a=t[o],s=0;s<a.length;s++){var l=a[s];e=Math.min(e,l.x),r=Math.max(r,l.x),i=Math.min(i,l.y),n=Math.max(n,l.y)}return[e,i,r,n]},A.prototype.toGeoJSON=E.prototype.toGeoJSON;var z=P,C=P,k=T;function P(e){var r=new t.pbf;return function(t,e){for(var r in t.layers)e.writeMessage(3,M,t.layers[r])}(e,r),r.finish()}function M(t,e){var r;e.writeVarintField(15,t.version||1),e.writeStringField(1,t.name||""),e.writeVarintField(5,t.extent||4096);var i={keys:[],values:[],keycache:{},valuecache:{}};for(r=0;r<t.length;r++)i.feature=t.feature(r),e.writeMessage(2,L,i);var n=i.keys;for(r=0;r<n.length;r++)e.writeStringField(3,n[r]);var o=i.values;for(r=0;r<o.length;r++)e.writeMessage(4,O,o[r])}function L(t,e){var r=t.feature;void 0!==r.id&&e.writeVarintField(1,r.id),e.writeMessage(2,D,t),e.writeVarintField(3,r.type),e.writeMessage(4,F,r)}function D(t,e){var r=t.feature,i=t.keys,n=t.values,o=t.keycache,a=t.valuecache;for(var s in r.properties){var l=o[s];void 0===l&&(i.push(s),l=i.length-1,o[s]=l),e.writeVarint(l);var u=r.properties[s],c=typeof u;"string"!==c&&"boolean"!==c&&"number"!==c&&(u=JSON.stringify(u));var p=c+":"+u,h=a[p];void 0===h&&(n.push(u),h=n.length-1,a[p]=h),e.writeVarint(h)}}function B(t,e){return(e<<3)+(7&t)}function R(t){return t<<1^t>>31}function F(t,e){for(var r=t.loadGeometry(),i=t.type,n=0,o=0,a=r.length,s=0;s<a;s++){var l=r[s],u=1;1===i&&(u=l.length),e.writeVarint(B(1,u));for(var c=3===i?l.length-1:l.length,p=0;p<c;p++){1===p&&1!==i&&e.writeVarint(B(2,c-1));var h=l[p].x-n,f=l[p].y-o;e.writeVarint(R(h)),e.writeVarint(R(f)),n+=h,o+=f}3===i&&e.writeVarint(B(7,1))}}function O(t,e){var r=typeof t;"string"===r?e.writeStringField(1,t):"boolean"===r?e.writeBooleanField(7,t):"number"===r&&(t%1!=0?e.writeDoubleField(3,t):t<0?e.writeSVarintField(6,t):e.writeVarintField(5,t))}function U(t,e,r,i){V(t,r,i),V(e,2*r,2*i),V(e,2*r+1,2*i+1)}function V(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function N(t,e,r,i){var n=t-r,o=e-i;return n*n+o*o}z.fromVectorTileJs=C,z.fromGeojsonVt=function(t,e){e=e||{};var r={};for(var i in t)r[i]=new T(t[i].features,e),r[i].name=i,r[i].version=e.version,r[i].extent=e.extent;return P({layers:r})},z.GeoJSONWrapper=k;var j=function(t){return t[0]},q=function(t){return t[1]},Z=function(t,e,r,i,n){void 0===e&&(e=j),void 0===r&&(r=q),void 0===i&&(i=64),void 0===n&&(n=Float64Array),this.nodeSize=i,this.points=t;for(var o=t.length<65536?Uint16Array:Uint32Array,a=this.ids=new o(t.length),s=this.coords=new n(2*t.length),l=0;l<t.length;l++)a[l]=l,s[2*l]=e(t[l]),s[2*l+1]=r(t[l]);!function t(e,r,i,n,o,a){if(!(o-n<=i)){var s=n+o>>1;!function t(e,r,i,n,o,a){for(;o>n;){if(o-n>600){var s=o-n+1,l=i-n+1,u=Math.log(s),c=.5*Math.exp(2*u/3),p=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1);t(e,r,i,Math.max(n,Math.floor(i-l*c/s+p)),Math.min(o,Math.floor(i+(s-l)*c/s+p)),a)}var h=r[2*i+a],f=n,d=o;for(U(e,r,n,i),r[2*o+a]>h&&U(e,r,n,o);f<d;){for(U(e,r,f,d),f++,d--;r[2*f+a]<h;)f++;for(;r[2*d+a]>h;)d--}r[2*n+a]===h?U(e,r,n,d):U(e,r,++d,o),d<=i&&(n=d+1),i<=d&&(o=d-1)}}(e,r,s,n,o,a%2),t(e,r,i,n,s-1,a+1),t(e,r,i,s+1,o,a+1)}}(a,s,i,0,a.length-1,0)};Z.prototype.range=function(t,e,r,i){return function(t,e,r,i,n,o,a){for(var s,l,u=[0,t.length-1,0],c=[];u.length;){var p=u.pop(),h=u.pop(),f=u.pop();if(h-f<=a)for(var d=f;d<=h;d++)s=e[2*d],l=e[2*d+1],s>=r&&s<=n&&l>=i&&l<=o&&c.push(t[d]);else{var m=Math.floor((f+h)/2);s=e[2*m],l=e[2*m+1],s>=r&&s<=n&&l>=i&&l<=o&&c.push(t[m]);var y=(p+1)%2;(0===p?r<=s:i<=l)&&(u.push(f),u.push(m-1),u.push(y)),(0===p?n>=s:o>=l)&&(u.push(m+1),u.push(h),u.push(y))}}return c}(this.ids,this.coords,t,e,r,i,this.nodeSize)},Z.prototype.within=function(t,e,r){return function(t,e,r,i,n,o){for(var a=[0,t.length-1,0],s=[],l=n*n;a.length;){var u=a.pop(),c=a.pop(),p=a.pop();if(c-p<=o)for(var h=p;h<=c;h++)N(e[2*h],e[2*h+1],r,i)<=l&&s.push(t[h]);else{var f=Math.floor((p+c)/2),d=e[2*f],m=e[2*f+1];N(d,m,r,i)<=l&&s.push(t[f]);var y=(u+1)%2;(0===u?r-n<=d:i-n<=m)&&(a.push(p),a.push(f-1),a.push(y)),(0===u?r+n>=d:i+n>=m)&&(a.push(f+1),a.push(c),a.push(y))}}return s}(this.ids,this.coords,t,e,r,this.nodeSize)};var G={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(t){return t}},X=function(t){this.options=$(Object.create(G),t),this.trees=new Array(this.options.maxZoom+1)};function W(t,e,r,i,n){return{x:t,y:e,zoom:1/0,id:r,parentId:-1,numPoints:i,properties:n}}function K(t,e){var r=t.geometry.coordinates,i=r[0],n=r[1];return{x:Y(i),y:Q(n),zoom:1/0,index:e,parentId:-1}}function H(t){return{type:"Feature",id:t.id,properties:J(t),geometry:{type:"Point",coordinates:[(i=t.x,360*(i-.5)),(e=t.y,r=(180-360*e)*Math.PI/180,360*Math.atan(Math.exp(r))/Math.PI-90)]}};var e,r,i}function J(t){var e=t.numPoints,r=e>=1e4?Math.round(e/1e3)+"k":e>=1e3?Math.round(e/100)/10+"k":e;return $($({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:r})}function Y(t){return t/360+.5}function Q(t){var e=Math.sin(t*Math.PI/180),r=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return r<0?0:r>1?1:r}function $(t,e){for(var r in e)t[r]=e[r];return t}function tt(t){return t.x}function et(t){return t.y}function rt(t,e,r,i,n,o){var a=n-r,s=o-i;if(0!==a||0!==s){var l=((t-r)*a+(e-i)*s)/(a*a+s*s);l>1?(r=n,i=o):l>0&&(r+=a*l,i+=s*l)}return(a=t-r)*a+(s=e-i)*s}function it(t,e,r,i){var n={id:void 0===t?null:t,type:e,geometry:r,tags:i,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(t){var e=t.geometry,r=t.type;if("Point"===r||"MultiPoint"===r||"LineString"===r)nt(t,e);else if("Polygon"===r||"MultiLineString"===r)for(var i=0;i<e.length;i++)nt(t,e[i]);else if("MultiPolygon"===r)for(i=0;i<e.length;i++)for(var n=0;n<e[i].length;n++)nt(t,e[i][n])}(n),n}function nt(t,e){for(var r=0;r<e.length;r+=3)t.minX=Math.min(t.minX,e[r]),t.minY=Math.min(t.minY,e[r+1]),t.maxX=Math.max(t.maxX,e[r]),t.maxY=Math.max(t.maxY,e[r+1])}function ot(t,e,r,i){if(e.geometry){var n=e.geometry.coordinates,o=e.geometry.type,a=Math.pow(r.tolerance/((1<<r.maxZoom)*r.extent),2),s=[],l=e.id;if(r.promoteId?l=e.properties[r.promoteId]:r.generateId&&(l=i||0),"Point"===o)at(n,s);else if("MultiPoint"===o)for(var u=0;u<n.length;u++)at(n[u],s);else if("LineString"===o)st(n,s,a,!1);else if("MultiLineString"===o){if(r.lineMetrics){for(u=0;u<n.length;u++)s=[],st(n[u],s,a,!1),t.push(it(l,"LineString",s,e.properties));return}lt(n,s,a,!1)}else if("Polygon"===o)lt(n,s,a,!0);else{if("MultiPolygon"!==o){if("GeometryCollection"===o){for(u=0;u<e.geometry.geometries.length;u++)ot(t,{id:l,geometry:e.geometry.geometries[u],properties:e.properties},r,i);return}throw new Error("Input data is not a valid GeoJSON object.")}for(u=0;u<n.length;u++){var c=[];lt(n[u],c,a,!0),s.push(c)}}t.push(it(l,o,s,e.properties))}}function at(t,e){e.push(ut(t[0])),e.push(ct(t[1])),e.push(0)}function st(t,e,r,i){for(var n,o,a=0,s=0;s<t.length;s++){var l=ut(t[s][0]),u=ct(t[s][1]);e.push(l),e.push(u),e.push(0),s>0&&(a+=i?(n*u-l*o)/2:Math.sqrt(Math.pow(l-n,2)+Math.pow(u-o,2))),n=l,o=u}var c=e.length-3;e[2]=1,function t(e,r,i,n){for(var o,a=n,s=i-r>>1,l=i-r,u=e[r],c=e[r+1],p=e[i],h=e[i+1],f=r+3;f<i;f+=3){var d=rt(e[f],e[f+1],u,c,p,h);if(d>a)o=f,a=d;else if(d===a){var m=Math.abs(f-s);m<l&&(o=f,l=m)}}a>n&&(o-r>3&&t(e,r,o,n),e[o+2]=a,i-o>3&&t(e,o,i,n))}(e,0,c,r),e[c+2]=1,e.size=Math.abs(a),e.start=0,e.end=e.size}function lt(t,e,r,i){for(var n=0;n<t.length;n++){var o=[];st(t[n],o,r,i),e.push(o)}}function ut(t){return t/360+.5}function ct(t){var e=Math.sin(t*Math.PI/180),r=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return r<0?0:r>1?1:r}function pt(t,e,r,i,n,o,a,s){if(i/=e,o>=(r/=e)&&a<i)return t;if(a<r||o>=i)return null;for(var l=[],u=0;u<t.length;u++){var c=t[u],p=c.geometry,h=c.type,f=0===n?c.minX:c.minY,d=0===n?c.maxX:c.maxY;if(f>=r&&d<i)l.push(c);else if(!(d<r||f>=i)){var m=[];if("Point"===h||"MultiPoint"===h)ht(p,m,r,i,n);else if("LineString"===h)ft(p,m,r,i,n,!1,s.lineMetrics);else if("MultiLineString"===h)mt(p,m,r,i,n,!1);else if("Polygon"===h)mt(p,m,r,i,n,!0);else if("MultiPolygon"===h)for(var y=0;y<p.length;y++){var _=[];mt(p[y],_,r,i,n,!0),_.length&&m.push(_)}if(m.length){if(s.lineMetrics&&"LineString"===h){for(y=0;y<m.length;y++)l.push(it(c.id,h,m[y],c.tags));continue}"LineString"!==h&&"MultiLineString"!==h||(1===m.length?(h="LineString",m=m[0]):h="MultiLineString"),"Point"!==h&&"MultiPoint"!==h||(h=3===m.length?"Point":"MultiPoint"),l.push(it(c.id,h,m,c.tags))}}}return l.length?l:null}function ht(t,e,r,i,n){for(var o=0;o<t.length;o+=3){var a=t[o+n];a>=r&&a<=i&&(e.push(t[o]),e.push(t[o+1]),e.push(t[o+2]))}}function ft(t,e,r,i,n,o,a){for(var s,l,u=dt(t),c=0===n?_t:gt,p=t.start,h=0;h<t.length-3;h+=3){var f=t[h],d=t[h+1],m=t[h+2],y=t[h+3],_=t[h+4],g=0===n?f:d,v=0===n?y:_,x=!1;a&&(s=Math.sqrt(Math.pow(f-y,2)+Math.pow(d-_,2))),g<r?v>r&&(l=c(u,f,d,y,_,r),a&&(u.start=p+s*l)):g>i?v<i&&(l=c(u,f,d,y,_,i),a&&(u.start=p+s*l)):yt(u,f,d,m),v<r&&g>=r&&(l=c(u,f,d,y,_,r),x=!0),v>i&&g<=i&&(l=c(u,f,d,y,_,i),x=!0),!o&&x&&(a&&(u.end=p+s*l),e.push(u),u=dt(t)),a&&(p+=s)}var b=t.length-3;f=t[b],d=t[b+1],m=t[b+2],(g=0===n?f:d)>=r&&g<=i&&yt(u,f,d,m),b=u.length-3,o&&b>=3&&(u[b]!==u[0]||u[b+1]!==u[1])&&yt(u,u[0],u[1],u[2]),u.length&&e.push(u)}function dt(t){var e=[];return e.size=t.size,e.start=t.start,e.end=t.end,e}function mt(t,e,r,i,n,o){for(var a=0;a<t.length;a++)ft(t[a],e,r,i,n,o,!1)}function yt(t,e,r,i){t.push(e),t.push(r),t.push(i)}function _t(t,e,r,i,n,o){var a=(o-e)/(i-e);return t.push(o),t.push(r+(n-r)*a),t.push(1),a}function gt(t,e,r,i,n,o){var a=(o-r)/(n-r);return t.push(e+(i-e)*a),t.push(o),t.push(1),a}function vt(t,e){for(var r=[],i=0;i<t.length;i++){var n,o=t[i],a=o.type;if("Point"===a||"MultiPoint"===a||"LineString"===a)n=xt(o.geometry,e);else if("MultiLineString"===a||"Polygon"===a){n=[];for(var s=0;s<o.geometry.length;s++)n.push(xt(o.geometry[s],e))}else if("MultiPolygon"===a)for(n=[],s=0;s<o.geometry.length;s++){for(var l=[],u=0;u<o.geometry[s].length;u++)l.push(xt(o.geometry[s][u],e));n.push(l)}r.push(it(o.id,a,n,o.tags))}return r}function xt(t,e){var r=[];r.size=t.size,void 0!==t.start&&(r.start=t.start,r.end=t.end);for(var i=0;i<t.length;i+=3)r.push(t[i]+e,t[i+1],t[i+2]);return r}function bt(t,e){if(t.transformed)return t;var r,i,n,o=1<<t.z,a=t.x,s=t.y;for(r=0;r<t.features.length;r++){var l=t.features[r],u=l.geometry,c=l.type;if(l.geometry=[],1===c)for(i=0;i<u.length;i+=2)l.geometry.push(wt(u[i],u[i+1],e,o,a,s));else for(i=0;i<u.length;i++){var p=[];for(n=0;n<u[i].length;n+=2)p.push(wt(u[i][n],u[i][n+1],e,o,a,s));l.geometry.push(p)}}return t.transformed=!0,t}function wt(t,e,r,i,n,o){return[Math.round(r*(t*i-n)),Math.round(r*(e*i-o))]}function St(t,e,r,i,n){for(var o=e===n.maxZoom?0:n.tolerance/((1<<e)*n.extent),a={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:r,y:i,z:e,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<t.length;s++){a.numFeatures++,Et(a,t[s],o,n);var l=t[s].minX,u=t[s].minY,c=t[s].maxX,p=t[s].maxY;l<a.minX&&(a.minX=l),u<a.minY&&(a.minY=u),c>a.maxX&&(a.maxX=c),p>a.maxY&&(a.maxY=p)}return a}function Et(t,e,r,i){var n=e.geometry,o=e.type,a=[];if("Point"===o||"MultiPoint"===o)for(var s=0;s<n.length;s+=3)a.push(n[s]),a.push(n[s+1]),t.numPoints++,t.numSimplified++;else if("LineString"===o)Tt(a,n,t,r,!1,!1);else if("MultiLineString"===o||"Polygon"===o)for(s=0;s<n.length;s++)Tt(a,n[s],t,r,"Polygon"===o,0===s);else if("MultiPolygon"===o)for(var l=0;l<n.length;l++){var u=n[l];for(s=0;s<u.length;s++)Tt(a,u[s],t,r,!0,0===s)}if(a.length){var c=e.tags||null;if("LineString"===o&&i.lineMetrics){for(var p in c={},e.tags)c[p]=e.tags[p];c.mapbox_clip_start=n.start/n.size,c.mapbox_clip_end=n.end/n.size}var h={geometry:a,type:"Polygon"===o||"MultiPolygon"===o?3:"LineString"===o||"MultiLineString"===o?2:1,tags:c};null!==e.id&&(h.id=e.id),t.features.push(h)}}function Tt(t,e,r,i,n,o){var a=i*i;if(i>0&&e.size<(n?a:i))r.numPoints+=e.length/3;else{for(var s=[],l=0;l<e.length;l+=3)(0===i||e[l+2]>a)&&(r.numSimplified++,s.push(e[l]),s.push(e[l+1])),r.numPoints++;n&&function(t,e){for(var r=0,i=0,n=t.length,o=n-2;i<n;o=i,i+=2)r+=(t[i]-t[o])*(t[i+1]+t[o+1]);if(r>0===e)for(i=0,n=t.length;i<n/2;i+=2){var a=t[i],s=t[i+1];t[i]=t[n-2-i],t[i+1]=t[n-1-i],t[n-2-i]=a,t[n-1-i]=s}}(s,o),t.push(s)}}function It(t,e){var r=(e=this.options=function(t,e){for(var r in e)t[r]=e[r];return t}(Object.create(this.options),e)).debug;if(r&&console.time("preprocess data"),e.maxZoom<0||e.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(e.promoteId&&e.generateId)throw new Error("promoteId and generateId cannot be used together.");var i=function(t,e){var r=[];if("FeatureCollection"===t.type)for(var i=0;i<t.features.length;i++)ot(r,t.features[i],e,i);else"Feature"===t.type?ot(r,t,e):ot(r,{geometry:t},e);return r}(t,e);this.tiles={},this.tileCoords=[],r&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",e.indexMaxZoom,e.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(i=function(t,e){var r=e.buffer/e.extent,i=t,n=pt(t,1,-1-r,r,0,-1,2,e),o=pt(t,1,1-r,2+r,0,-1,2,e);return(n||o)&&(i=pt(t,1,-r,1+r,0,-1,2,e)||[],n&&(i=vt(n,1).concat(i)),o&&(i=i.concat(vt(o,-1)))),i}(i,e)).length&&this.splitTile(i,0,0,0),r&&(i.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function At(t,e,r){return 32*((1<<t)*r+e)+t}function zt(t,e){var r=t.tileID.canonical;if(!this._geoJSONIndex)return e(null,null);var i=this._geoJSONIndex.getTile(r.z,r.x,r.y);if(!i)return e(null,null);var n=new S(i.features),o=z(n);0===o.byteOffset&&o.byteLength===o.buffer.byteLength||(o=new Uint8Array(o)),e(null,{vectorTile:n,rawData:o.buffer})}X.prototype.load=function(t){var e=this.options,r=e.log,i=e.minZoom,n=e.maxZoom,o=e.nodeSize;r&&console.time("total time");var a="prepare "+t.length+" points";r&&console.time(a),this.points=t;for(var s=[],l=0;l<t.length;l++)t[l].geometry&&s.push(K(t[l],l));this.trees[n+1]=new Z(s,tt,et,o,Float32Array),r&&console.timeEnd(a);for(var u=n;u>=i;u--){var c=+Date.now();s=this._cluster(s,u),this.trees[u]=new Z(s,tt,et,o,Float32Array),r&&console.log("z%d: %d clusters in %dms",u,s.length,+Date.now()-c)}return r&&console.timeEnd("total time"),this},X.prototype.getClusters=function(t,e){var r=((t[0]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,t[1])),n=180===t[2]?180:((t[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)r=-180,n=180;else if(r>n){var a=this.getClusters([r,i,180,o],e),s=this.getClusters([-180,i,n,o],e);return a.concat(s)}for(var l=this.trees[this._limitZoom(e)],u=[],c=0,p=l.range(Y(r),Q(o),Y(n),Q(i));c<p.length;c+=1){var h=p[c],f=l.points[h];u.push(f.numPoints?H(f):this.points[f.index])}return u},X.prototype.getChildren=function(t){var e=this._getOriginId(t),r=this._getOriginZoom(t),i="No cluster with the specified id.",n=this.trees[r];if(!n)throw new Error(i);var o=n.points[e];if(!o)throw new Error(i);for(var a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),s=[],l=0,u=n.within(o.x,o.y,a);l<u.length;l+=1){var c=u[l],p=n.points[c];p.parentId===t&&s.push(p.numPoints?H(p):this.points[p.index])}if(0===s.length)throw new Error(i);return s},X.prototype.getLeaves=function(t,e,r){e=e||10,r=r||0;var i=[];return this._appendLeaves(i,t,e,r,0),i},X.prototype.getTile=function(t,e,r){var i=this.trees[this._limitZoom(t)],n=Math.pow(2,t),o=this.options,a=o.extent,s=o.radius/a,l=(r-s)/n,u=(r+1+s)/n,c={features:[]};return this._addTileFeatures(i.range((e-s)/n,l,(e+1+s)/n,u),i.points,e,r,n,c),0===e&&this._addTileFeatures(i.range(1-s/n,l,1,u),i.points,n,r,n,c),e===n-1&&this._addTileFeatures(i.range(0,l,s/n,u),i.points,-1,r,n,c),c.features.length?c:null},X.prototype.getClusterExpansionZoom=function(t){for(var e=this._getOriginZoom(t)-1;e<=this.options.maxZoom;){var r=this.getChildren(t);if(e++,1!==r.length)break;t=r[0].properties.cluster_id}return e},X.prototype._appendLeaves=function(t,e,r,i,n){for(var o=0,a=this.getChildren(e);o<a.length;o+=1){var s=a[o],l=s.properties;if(l&&l.cluster?n+l.point_count<=i?n+=l.point_count:n=this._appendLeaves(t,l.cluster_id,r,i,n):n<i?n++:t.push(s),t.length===r)break}return n},X.prototype._addTileFeatures=function(t,e,r,i,n,o){for(var a=0,s=t;a<s.length;a+=1){var l=e[s[a]],u=l.numPoints,c={type:1,geometry:[[Math.round(this.options.extent*(l.x*n-r)),Math.round(this.options.extent*(l.y*n-i))]],tags:u?J(l):this.points[l.index].properties},p=void 0;u?p=l.id:this.options.generateId?p=l.index:this.points[l.index].id&&(p=this.points[l.index].id),void 0!==p&&(c.id=p),o.features.push(c)}},X.prototype._limitZoom=function(t){return Math.max(this.options.minZoom,Math.min(t,this.options.maxZoom+1))},X.prototype._cluster=function(t,e){for(var r=[],i=this.options,n=i.radius,o=i.extent,a=i.reduce,s=n/(o*Math.pow(2,e)),l=0;l<t.length;l++){var u=t[l];if(!(u.zoom<=e)){u.zoom=e;for(var c=this.trees[e+1],p=c.within(u.x,u.y,s),h=u.numPoints||1,f=u.x*h,d=u.y*h,m=a&&h>1?this._map(u,!0):null,y=(l<<5)+(e+1)+this.points.length,_=0,g=p;_<g.length;_+=1){var v=g[_],x=c.points[v];if(!(x.zoom<=e)){x.zoom=e;var b=x.numPoints||1;f+=x.x*b,d+=x.y*b,h+=b,x.parentId=y,a&&(m||(m=this._map(u,!0)),a(m,this._map(x)))}}1===h?r.push(u):(u.parentId=y,r.push(W(f/h,d/h,y,h,m)))}}return r},X.prototype._getOriginId=function(t){return t-this.points.length>>5},X.prototype._getOriginZoom=function(t){return(t-this.points.length)%32},X.prototype._map=function(t,e){if(t.numPoints)return e?$({},t.properties):t.properties;var r=this.points[t.index].properties,i=this.options.map(r);return e&&i===r?$({},i):i},It.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},It.prototype.splitTile=function(t,e,r,i,n,o,a){for(var s=[t,e,r,i],l=this.options,u=l.debug;s.length;){i=s.pop(),r=s.pop(),e=s.pop(),t=s.pop();var c=1<<e,p=At(e,r,i),h=this.tiles[p];if(!h&&(u>1&&console.time("creation"),h=this.tiles[p]=St(t,e,r,i,l),this.tileCoords.push({z:e,x:r,y:i}),u)){u>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",e,r,i,h.numFeatures,h.numPoints,h.numSimplified),console.timeEnd("creation"));var f="z"+e;this.stats[f]=(this.stats[f]||0)+1,this.total++}if(h.source=t,n){if(e===l.maxZoom||e===n)continue;var d=1<<n-e;if(r!==Math.floor(o/d)||i!==Math.floor(a/d))continue}else if(e===l.indexMaxZoom||h.numPoints<=l.indexMaxPoints)continue;if(h.source=null,0!==t.length){u>1&&console.time("clipping");var m,y,_,g,v,x,b=.5*l.buffer/l.extent,w=.5-b,S=.5+b,E=1+b;m=y=_=g=null,v=pt(t,c,r-b,r+S,0,h.minX,h.maxX,l),x=pt(t,c,r+w,r+E,0,h.minX,h.maxX,l),t=null,v&&(m=pt(v,c,i-b,i+S,1,h.minY,h.maxY,l),y=pt(v,c,i+w,i+E,1,h.minY,h.maxY,l),v=null),x&&(_=pt(x,c,i-b,i+S,1,h.minY,h.maxY,l),g=pt(x,c,i+w,i+E,1,h.minY,h.maxY,l),x=null),u>1&&console.timeEnd("clipping"),s.push(m||[],e+1,2*r,2*i),s.push(y||[],e+1,2*r,2*i+1),s.push(_||[],e+1,2*r+1,2*i),s.push(g||[],e+1,2*r+1,2*i+1)}}},It.prototype.getTile=function(t,e,r){var i=this.options,n=i.extent,o=i.debug;if(t<0||t>24)return null;var a=1<<t,s=At(t,e=(e%a+a)%a,r);if(this.tiles[s])return bt(this.tiles[s],n);o>1&&console.log("drilling down to z%d-%d-%d",t,e,r);for(var l,u=t,c=e,p=r;!l&&u>0;)u--,c=Math.floor(c/2),p=Math.floor(p/2),l=this.tiles[At(u,c,p)];return l&&l.source?(o>1&&console.log("found parent tile z%d-%d-%d",u,c,p),o>1&&console.time("drilling down"),this.splitTile(l.source,u,c,p,t,e,r),o>1&&console.timeEnd("drilling down"),this.tiles[s]?bt(this.tiles[s],n):null):null};var Ct=function(e){function r(t,r,i,n){e.call(this,t,r,i,zt),n&&(this.loadGeoJSON=n)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.loadData=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=e,this._pendingLoadDataParams=t,this._state&&"Idle"!==this._state?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},r.prototype._loadData=function(){var e=this;if(this._pendingCallback&&this._pendingLoadDataParams){var r=this._pendingCallback,i=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var n=!!(i&&i.request&&i.request.collectResourceTiming)&&new l.Performance(i.request);this.loadGeoJSON(i,(function(o,a){if(o||!a)return r(o);if("object"!=typeof a)return r(new Error("Input data given to '"+i.source+"' is not a valid GeoJSON object."));!function t(e,r){switch(e&&e.type||null){case"FeatureCollection":return e.features=e.features.map(g(t,r)),e;case"GeometryCollection":return e.geometries=e.geometries.map(g(t,r)),e;case"Feature":return e.geometry=t(e.geometry,r),e;case"Polygon":case"MultiPolygon":return function(t,e){return"Polygon"===t.type?t.coordinates=v(t.coordinates,e):"MultiPolygon"===t.type&&(t.coordinates=t.coordinates.map(g(v,e))),t}(e,r);default:return e}}(a,!0);try{e._geoJSONIndex=i.cluster?new X(function(e){var r=e.superclusterOptions,i=e.clusterProperties;if(!i||!r)return r;for(var n={},o={},a={accumulated:null,zoom:0},s={properties:null},l=Object.keys(i),u=0,c=l;u<c.length;u+=1){var p=c[u],h=i[p],f=h[0],d=h[1],m=t.createExpression(d),y=t.createExpression("string"==typeof f?[f,["accumulated"],["get",p]]:f);n[p]=m.value,o[p]=y.value}return r.map=function(t){s.properties=t;for(var e={},r=0,i=l;r<i.length;r+=1){var o=i[r];e[o]=n[o].evaluate(a,s)}return e},r.reduce=function(t,e){s.properties=e;for(var r=0,i=l;r<i.length;r+=1){var n=i[r];a.accumulated=t[n],t[n]=o[n].evaluate(a,s)}},r}(i)).load(a.features):function(t,e){return new It(t,e)}(a,i.geojsonVtOptions)}catch(o){return r(o)}e.loaded={};var s={};if(n){var l=n.finish();l&&(s.resourceTiming={},s.resourceTiming[i.source]=JSON.parse(JSON.stringify(l)))}r(null,s)}))}},r.prototype.coalesce=function(){"Coalescing"===this._state?this._state="Idle":"NeedsLoadData"===this._state&&(this._state="Coalescing",this._loadData())},r.prototype.reloadTile=function(t,r){var i=this.loaded,n=t.uid;return i&&i[n]?e.prototype.reloadTile.call(this,t,r):this.loadTile(t,r)},r.prototype.loadGeoJSON=function(e,r){if(e.request)t.getJSON(e.request,r);else{if("string"!=typeof e.data)return r(new Error("Input data given to '"+e.source+"' is not a valid GeoJSON object."));try{return r(null,JSON.parse(e.data))}catch(t){return r(new Error("Input data given to '"+e.source+"' is not a valid GeoJSON object."))}}},r.prototype.removeSource=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),e()},r.prototype.getClusterExpansionZoom=function(t,e){e(null,this._geoJSONIndex.getClusterExpansionZoom(t.clusterId))},r.prototype.getClusterChildren=function(t,e){e(null,this._geoJSONIndex.getChildren(t.clusterId))},r.prototype.getClusterLeaves=function(t,e){e(null,this._geoJSONIndex.getLeaves(t.clusterId,t.limit,t.offset))},r}(p),kt=function(e){var r=this;this.self=e,this.actor=new t.Actor(e,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:p,geojson:Ct},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(t,e){if(r.workerSourceTypes[t])throw new Error('Worker source with name "'+t+'" already registered.');r.workerSourceTypes[t]=e},this.self.registerRTLTextPlugin=function(e){if(t.plugin.isParsed())throw new Error("RTL text plugin already registered.");t.plugin.applyArabicShaping=e.applyArabicShaping,t.plugin.processBidirectionalText=e.processBidirectionalText,t.plugin.processStyledBidirectionalText=e.processStyledBidirectionalText}};return kt.prototype.setReferrer=function(t,e){this.referrer=e},kt.prototype.setImages=function(t,e,r){this.availableImages[t]=e,r()},kt.prototype.setLayers=function(t,e,r){this.getLayerIndex(t).replace(e),r()},kt.prototype.updateLayers=function(t,e,r){this.getLayerIndex(t).update(e.layers,e.removedIds),r()},kt.prototype.loadTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).loadTile(e,r)},kt.prototype.loadDEMTile=function(t,e,r){this.getDEMWorkerSource(t,e.source).loadTile(e,r)},kt.prototype.reloadTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).reloadTile(e,r)},kt.prototype.abortTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).abortTile(e,r)},kt.prototype.removeTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).removeTile(e,r)},kt.prototype.removeDEMTile=function(t,e){this.getDEMWorkerSource(t,e.source).removeTile(e)},kt.prototype.removeSource=function(t,e,r){if(this.workerSources[t]&&this.workerSources[t][e.type]&&this.workerSources[t][e.type][e.source]){var i=this.workerSources[t][e.type][e.source];delete this.workerSources[t][e.type][e.source],void 0!==i.removeSource?i.removeSource(e,r):r()}},kt.prototype.loadWorkerSource=function(t,e,r){try{this.self.importScripts(e.url),r()}catch(t){r(t.toString())}},kt.prototype.syncRTLPluginState=function(e,r,i){try{t.plugin.setState(r);var n=t.plugin.getPluginURL();if(t.plugin.isLoaded()&&!t.plugin.isParsed()&&null!=n){this.self.importScripts(n);var o=t.plugin.isParsed();i(o?void 0:new Error("RTL Text Plugin failed to import scripts from "+n),o)}}catch(t){i(t.toString())}},kt.prototype.getAvailableImages=function(t){var e=this.availableImages[t];return e||(e=[]),e},kt.prototype.getLayerIndex=function(t){var e=this.layerIndexes[t];return e||(e=this.layerIndexes[t]=new i),e},kt.prototype.getWorkerSource=function(t,e,r){var i=this;if(this.workerSources[t]||(this.workerSources[t]={}),this.workerSources[t][e]||(this.workerSources[t][e]={}),!this.workerSources[t][e][r]){var n={send:function(e,r,n){i.actor.send(e,r,n,t)}};this.workerSources[t][e][r]=new this.workerSourceTypes[e](n,this.getLayerIndex(t),this.getAvailableImages(t))}return this.workerSources[t][e][r]},kt.prototype.getDEMWorkerSource=function(t,e){return this.demWorkerSources[t]||(this.demWorkerSources[t]={}),this.demWorkerSources[t][e]||(this.demWorkerSources[t][e]=new h),this.demWorkerSources[t][e]},kt.prototype.enforceCacheSizeLimit=function(e,r){t.enforceCacheSizeLimit(r)},"undefined"!=typeof WorkerGlobalScope&&void 0!==t.window&&t.window instanceof WorkerGlobalScope&&(t.window.worker=new kt(t.window)),kt})),i(0,(function(t){var e=t.createCommonjsModule((function(t){function e(t){return!!("undefined"!=typeof window&&"undefined"!=typeof document&&Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray&&Function.prototype&&Function.prototype.bind&&Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions&&"JSON"in window&&"parse"in JSON&&"stringify"in JSON&&function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var t,e,r=new Blob([""],{type:"text/javascript"}),i=URL.createObjectURL(r);try{e=new Worker(i),t=!0}catch(e){t=!1}return e&&e.terminate(),URL.revokeObjectURL(i),t}()&&"Uint8ClampedArray"in window&&ArrayBuffer.isView&&function(t){return void 0===r[t]&&(r[t]=function(t){var r=document.createElement("canvas"),i=Object.create(e.webGLContextAttributes);return i.failIfMajorPerformanceCaveat=t,r.probablySupportsContext?r.probablySupportsContext("webgl",i)||r.probablySupportsContext("experimental-webgl",i):r.supportsContext?r.supportsContext("webgl",i)||r.supportsContext("experimental-webgl",i):r.getContext("webgl",i)||r.getContext("experimental-webgl",i)}(t)),r[t]}(t&&t.failIfMajorPerformanceCaveat))}t.exports?t.exports=e:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=e);var r={};e.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}})),r={create:function(e,r,i){var n=t.window.document.createElement(e);return void 0!==r&&(n.className=r),i&&i.appendChild(n),n},createNS:function(e,r){return t.window.document.createElementNS(e,r)}},i=t.window.document.documentElement.style;function n(t){if(!i)return t[0];for(var e=0;e<t.length;e++)if(t[e]in i)return t[e];return t[0]}var o,a=n(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]);r.disableDrag=function(){i&&a&&(o=i[a],i[a]="none")},r.enableDrag=function(){i&&a&&(i[a]=o)};var s=n(["transform","WebkitTransform"]);r.setTransform=function(t,e){t.style[s]=e};var l=!1;try{var u=Object.defineProperty({},"passive",{get:function(){l=!0}});t.window.addEventListener("test",u,u),t.window.removeEventListener("test",u,u)}catch(t){l=!1}r.addEventListener=function(t,e,r,i){void 0===i&&(i={}),"passive"in i&&l?t.addEventListener(e,r,i):t.addEventListener(e,r,i.capture)},r.removeEventListener=function(t,e,r,i){void 0===i&&(i={}),"passive"in i&&l?t.removeEventListener(e,r,i):t.removeEventListener(e,r,i.capture)};var c=function(e){e.preventDefault(),e.stopPropagation(),t.window.removeEventListener("click",c,!0)};function p(t){var e=t.userImage;return!!(e&&e.render&&e.render())&&(t.data.replace(new Uint8Array(e.data.buffer)),!0)}r.suppressClick=function(){t.window.addEventListener("click",c,!0),t.window.setTimeout((function(){t.window.removeEventListener("click",c,!0)}),0)},r.mousePos=function(e,r){var i=e.getBoundingClientRect(),n=t.window.TouchEvent&&r instanceof t.window.TouchEvent?r.touches[0]:r;return new t.Point(n.clientX-i.left-e.clientLeft,n.clientY-i.top-e.clientTop)},r.touchPos=function(e,r){for(var i=e.getBoundingClientRect(),n=[],o="touchend"===r.type?r.changedTouches:r.touches,a=0;a<o.length;a++)n.push(new t.Point(o[a].clientX-i.left-e.clientLeft,o[a].clientY-i.top-e.clientTop));return n},r.mouseButton=function(e){return void 0!==t.window.InstallTrigger&&2===e.button&&e.ctrlKey&&t.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:e.button},r.remove=function(t){t.parentNode&&t.parentNode.removeChild(t)};var h=function(e){function r(){e.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.RGBAImage({width:1,height:1}),this.dirty=!0}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.isLoaded=function(){return this.loaded},r.prototype.setLoaded=function(t){if(this.loaded!==t&&(this.loaded=t,t)){for(var e=0,r=this.requestors;e<r.length;e+=1){var i=r[e],n=i.ids,o=i.callback;this._notify(n,o)}this.requestors=[]}},r.prototype.getImage=function(t){return this.images[t]},r.prototype.addImage=function(t,e){this._validate(t,e)&&(this.images[t]=e)},r.prototype._validate=function(e,r){var i=!0;return this._validateStretch(r.stretchX,r.data&&r.data.width)||(this.fire(new t.ErrorEvent(new Error('Image "'+e+'" has invalid "stretchX" value'))),i=!1),this._validateStretch(r.stretchY,r.data&&r.data.height)||(this.fire(new t.ErrorEvent(new Error('Image "'+e+'" has invalid "stretchY" value'))),i=!1),this._validateContent(r.content,r)||(this.fire(new t.ErrorEvent(new Error('Image "'+e+'" has invalid "content" value'))),i=!1),i},r.prototype._validateStretch=function(t,e){if(!t)return!0;for(var r=0,i=0,n=t;i<n.length;i+=1){var o=n[i];if(o[0]<r||o[1]<o[0]||e<o[1])return!1;r=o[1]}return!0},r.prototype._validateContent=function(t,e){return!(t&&(4!==t.length||t[0]<0||e.data.width<t[0]||t[1]<0||e.data.height<t[1]||t[2]<0||e.data.width<t[2]||t[3]<0||e.data.height<t[3]||t[2]<t[0]||t[3]<t[1]))},r.prototype.updateImage=function(t,e){var r=this.images[t];e.version=r.version+1,this.images[t]=e,this.updatedImages[t]=!0},r.prototype.removeImage=function(t){var e=this.images[t];delete this.images[t],delete this.patterns[t],e.userImage&&e.userImage.onRemove&&e.userImage.onRemove()},r.prototype.listImages=function(){return Object.keys(this.images)},r.prototype.getImages=function(t,e){var r=!0;if(!this.isLoaded())for(var i=0,n=t;i<n.length;i+=1){var o=n[i];this.images[o]||(r=!1)}this.isLoaded()||r?this._notify(t,e):this.requestors.push({ids:t,callback:e})},r.prototype._notify=function(e,r){for(var i={},n=0,o=e;n<o.length;n+=1){var a=o[n];this.images[a]||this.fire(new t.Event("styleimagemissing",{id:a}));var s=this.images[a];s?i[a]={data:s.data.clone(),pixelRatio:s.pixelRatio,sdf:s.sdf,version:s.version,stretchX:s.stretchX,stretchY:s.stretchY,content:s.content,hasRenderCallback:Boolean(s.userImage&&s.userImage.render)}:t.warnOnce('Image "'+a+'" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.')}r(null,i)},r.prototype.getPixelSize=function(){var t=this.atlasImage;return{width:t.width,height:t.height}},r.prototype.getPattern=function(e){var r=this.patterns[e],i=this.getImage(e);if(!i)return null;if(r&&r.position.version===i.version)return r.position;if(r)r.position.version=i.version;else{var n={w:i.data.width+2,h:i.data.height+2,x:0,y:0},o=new t.ImagePosition(n,i);this.patterns[e]={bin:n,position:o}}return this._updatePatternAtlas(),this.patterns[e].position},r.prototype.bind=function(e){var r=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.Texture(e,this.atlasImage,r.RGBA),this.atlasTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)},r.prototype._updatePatternAtlas=function(){var e=[];for(var r in this.patterns)e.push(this.patterns[r].bin);var i=t.potpack(e),n=i.w,o=i.h,a=this.atlasImage;for(var s in a.resize({width:n||1,height:o||1}),this.patterns){var l=this.patterns[s].bin,u=l.x+1,c=l.y+1,p=this.images[s].data,h=p.width,f=p.height;t.RGBAImage.copy(p,a,{x:0,y:0},{x:u,y:c},{width:h,height:f}),t.RGBAImage.copy(p,a,{x:0,y:f-1},{x:u,y:c-1},{width:h,height:1}),t.RGBAImage.copy(p,a,{x:0,y:0},{x:u,y:c+f},{width:h,height:1}),t.RGBAImage.copy(p,a,{x:h-1,y:0},{x:u-1,y:c},{width:1,height:f}),t.RGBAImage.copy(p,a,{x:0,y:0},{x:u+h,y:c},{width:1,height:f})}this.dirty=!0},r.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={}},r.prototype.dispatchRenderCallbacks=function(t){for(var e=0,r=t;e<r.length;e+=1){var i=r[e];if(!this.callbackDispatchedThisFrame[i]){this.callbackDispatchedThisFrame[i]=!0;var n=this.images[i];p(n)&&this.updateImage(i,n)}}},r}(t.Evented),f=y,d=y,m=1e20;function y(t,e,r,i,n,o){this.fontSize=t||24,this.buffer=void 0===e?3:e,this.cutoff=i||.25,this.fontFamily=n||"sans-serif",this.fontWeight=o||"normal",this.radius=r||8;var a=this.size=this.fontSize+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=a,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textBaseline="middle",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(a*a),this.gridInner=new Float64Array(a*a),this.f=new Float64Array(a),this.d=new Float64Array(a),this.z=new Float64Array(a+1),this.v=new Int16Array(a),this.middle=Math.round(a/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function _(t,e,r,i,n,o,a){for(var s=0;s<e;s++){for(var l=0;l<r;l++)i[l]=t[l*e+s];for(g(i,n,o,a,r),l=0;l<r;l++)t[l*e+s]=n[l]}for(l=0;l<r;l++){for(s=0;s<e;s++)i[s]=t[l*e+s];for(g(i,n,o,a,e),s=0;s<e;s++)t[l*e+s]=Math.sqrt(n[s])}}function g(t,e,r,i,n){r[0]=0,i[0]=-m,i[1]=+m;for(var o=1,a=0;o<n;o++){for(var s=(t[o]+o*o-(t[r[a]]+r[a]*r[a]))/(2*o-2*r[a]);s<=i[a];)a--,s=(t[o]+o*o-(t[r[a]]+r[a]*r[a]))/(2*o-2*r[a]);r[++a]=o,i[a]=s,i[a+1]=+m}for(o=0,a=0;o<n;o++){for(;i[a+1]<o;)a++;e[o]=(o-r[a])*(o-r[a])+t[r[a]]}}y.prototype.draw=function(t){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(t,this.buffer,this.middle);for(var e=this.ctx.getImageData(0,0,this.size,this.size),r=new Uint8ClampedArray(this.size*this.size),i=0;i<this.size*this.size;i++){var n=e.data[4*i+3]/255;this.gridOuter[i]=1===n?0:0===n?m:Math.pow(Math.max(0,.5-n),2),this.gridInner[i]=1===n?m:0===n?0:Math.pow(Math.max(0,n-.5),2)}for(_(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),_(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),i=0;i<this.size*this.size;i++){var o=this.gridOuter[i]-this.gridInner[i];r[i]=Math.max(0,Math.min(255,Math.round(255-255*(o/this.radius+this.cutoff))))}return r},f.default=d;var v=function(t,e){this.requestManager=t,this.localIdeographFontFamily=e,this.entries={}};v.prototype.setURL=function(t){this.url=t},v.prototype.getGlyphs=function(e,r){var i=this,n=[];for(var o in e)for(var a=0,s=e[o];a<s.length;a+=1){var l=s[a];n.push({stack:o,id:l})}t.asyncAll(n,(function(t,e){var r=t.stack,n=t.id,o=i.entries[r];o||(o=i.entries[r]={glyphs:{},requests:{}});var a=o.glyphs[n];if(void 0===a){if(a=i._tinySDF(o,r,n))return o.glyphs[n]=a,void e(null,{stack:r,id:n,glyph:a});var s=Math.floor(n/256);if(256*s>65535)e(new Error("glyphs > 65535 not supported"));else{var l=o.requests[s];l||(l=o.requests[s]=[],v.loadGlyphRange(r,s,i.url,i.requestManager,(function(t,e){if(e)for(var r in e)i._doesCharSupportLocalGlyph(+r)||(o.glyphs[+r]=e[+r]);for(var n=0,a=l;n<a.length;n+=1)(0,a[n])(t,e);delete o.requests[s]}))),l.push((function(t,i){t?e(t):i&&e(null,{stack:r,id:n,glyph:i[n]||null})}))}}else e(null,{stack:r,id:n,glyph:a})}),(function(t,e){if(t)r(t);else if(e){for(var i={},n=0,o=e;n<o.length;n+=1){var a=o[n],s=a.stack,l=a.id,u=a.glyph;(i[s]||(i[s]={}))[l]=u&&{id:u.id,bitmap:u.bitmap.clone(),metrics:u.metrics}}r(null,i)}}))},v.prototype._doesCharSupportLocalGlyph=function(e){return!!this.localIdeographFontFamily&&(t.isChar["CJK Unified Ideographs"](e)||t.isChar["Hangul Syllables"](e)||t.isChar.Hiragana(e)||t.isChar.Katakana(e))},v.prototype._tinySDF=function(e,r,i){var n=this.localIdeographFontFamily;if(n&&this._doesCharSupportLocalGlyph(i)){var o=e.tinySDF;if(!o){var a="400";/bold/i.test(r)?a="900":/medium/i.test(r)?a="500":/light/i.test(r)&&(a="200"),o=e.tinySDF=new v.TinySDF(24,3,8,.25,n,a)}return{id:i,bitmap:new t.AlphaImage({width:30,height:30},o.draw(String.fromCharCode(i))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},v.loadGlyphRange=function(e,r,i,n,o){var a=256*r,s=a+255,l=n.transformRequest(n.normalizeGlyphsURL(i).replace("{fontstack}",e).replace("{range}",a+"-"+s),t.ResourceType.Glyphs);t.getArrayBuffer(l,(function(e,r){if(e)o(e);else if(r){for(var i={},n=0,a=t.parseGlyphPBF(r);n<a.length;n+=1){var s=a[n];i[s.id]=s}o(null,i)}}))},v.TinySDF=f;var x=function(){this.specification=t.styleSpec.light.position};x.prototype.possiblyEvaluate=function(e,r){return t.sphericalToCartesian(e.expression.evaluate(r))},x.prototype.interpolate=function(e,r,i){return{x:t.number(e.x,r.x,i),y:t.number(e.y,r.y,i),z:t.number(e.z,r.z,i)}};var b=new t.Properties({anchor:new t.DataConstantProperty(t.styleSpec.light.anchor),position:new x,color:new t.DataConstantProperty(t.styleSpec.light.color),intensity:new t.DataConstantProperty(t.styleSpec.light.intensity)}),w=function(e){function r(r){e.call(this),this._transitionable=new t.Transitionable(b),this.setLight(r),this._transitioning=this._transitionable.untransitioned()}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getLight=function(){return this._transitionable.serialize()},r.prototype.setLight=function(e,r){if(void 0===r&&(r={}),!this._validate(t.validateLight,e,r))for(var i in e){var n=e[i];t.endsWith(i,"-transition")?this._transitionable.setTransition(i.slice(0,-"-transition".length),n):this._transitionable.setValue(i,n)}},r.prototype.updateTransitions=function(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning)},r.prototype.hasTransition=function(){return this._transitioning.hasTransition()},r.prototype.recalculate=function(t){this.properties=this._transitioning.possiblyEvaluate(t)},r.prototype._validate=function(e,r,i){return(!i||!1!==i.validate)&&t.emitValidationErrors(this,e.call(t.validateStyle,t.extend({value:r,style:{glyphs:!0,sprite:!0},styleSpec:t.styleSpec})))},r}(t.Evented),S=function(t,e){this.width=t,this.height=e,this.nextRow=0,this.bytes=4,this.data=new Uint8Array(this.width*this.height*this.bytes),this.positions={}};S.prototype.getDash=function(t,e){var r=t.join(",")+String(e);return this.positions[r]||(this.positions[r]=this.addDash(t,e)),this.positions[r]},S.prototype.addDash=function(e,r){var i=r?7:0,n=2*i+1;if(this.nextRow+n>this.height)return t.warnOnce("LineAtlas out of space"),null;for(var o=0,a=0;a<e.length;a++)o+=e[a];for(var s=this.width/o,l=s/2,u=e.length%2==1,c=-i;c<=i;c++)for(var p=this.nextRow+i+c,h=this.width*p,f=u?-e[e.length-1]:0,d=e[0],m=1,y=0;y<this.width;y++){for(;d<y/s;)f=d,d+=e[m],u&&m===e.length-1&&(d+=e[0]),m++;var _=Math.abs(y-f*s),g=Math.abs(y-d*s),v=Math.min(_,g),x=m%2==1,b=void 0;if(r){var w=i?c/i*(l+1):0;if(x){var S=l-Math.abs(w);b=Math.sqrt(v*v+S*S)}else b=l-Math.sqrt(v*v+w*w)}else b=(x?1:-1)*v;this.data[3+4*(h+y)]=Math.max(0,Math.min(255,b+128))}var E={y:(this.nextRow+i+.5)/this.height,height:2*i/this.height,width:o};return this.nextRow+=n,this.dirty=!0,E},S.prototype.bind=function(t){var e=t.gl;this.texture?(e.bindTexture(e.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,e.texSubImage2D(e.TEXTURE_2D,0,0,0,this.width,this.height,e.RGBA,e.UNSIGNED_BYTE,this.data))):(this.texture=e.createTexture(),e.bindTexture(e.TEXTURE_2D,this.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,this.width,this.height,0,e.RGBA,e.UNSIGNED_BYTE,this.data))};var E=function e(r,i){this.workerPool=r,this.actors=[],this.currentActor=0,this.id=t.uniqueId();for(var n=this.workerPool.acquire(this.id),o=0;o<n.length;o++){var a=n[o],s=new e.Actor(a,i,this.id);s.name="Worker "+o,this.actors.push(s)}};function T(e,r,i){var n=function(n,o){if(n)return i(n);if(o){var a=t.pick(t.extend(o,e),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);o.vector_layers&&(a.vectorLayers=o.vector_layers,a.vectorLayerIds=a.vectorLayers.map((function(t){return t.id}))),e.url&&(a.tiles=r.canonicalizeTileset(a,e.url)),i(null,a)}};return e.url?t.getJSON(r.transformRequest(r.normalizeSourceURL(e.url),t.ResourceType.Source),n):t.browser.frame((function(){return n(null,e)}))}E.prototype.broadcast=function(e,r,i){i=i||function(){},t.asyncAll(this.actors,(function(t,i){t.send(e,r,i)}),i)},E.prototype.getActor=function(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]},E.prototype.remove=function(){this.actors.forEach((function(t){t.remove()})),this.actors=[],this.workerPool.release(this.id)},E.Actor=t.Actor;var I=function(e,r,i){this.bounds=t.LngLatBounds.convert(this.validateBounds(e)),this.minzoom=r||0,this.maxzoom=i||24};I.prototype.validateBounds=function(t){return Array.isArray(t)&&4===t.length?[Math.max(-180,t[0]),Math.max(-90,t[1]),Math.min(180,t[2]),Math.min(90,t[3])]:[-180,-90,180,90]},I.prototype.contains=function(e){var r=Math.pow(2,e.z),i=Math.floor(t.mercatorXfromLng(this.bounds.getWest())*r),n=Math.floor(t.mercatorYfromLat(this.bounds.getNorth())*r),o=Math.ceil(t.mercatorXfromLng(this.bounds.getEast())*r),a=Math.ceil(t.mercatorYfromLat(this.bounds.getSouth())*r);return e.x>=i&&e.x<o&&e.y>=n&&e.y<a};var A=function(e){function r(r,i,n,o){if(e.call(this),this.id=r,this.dispatcher=n,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,t.extend(this,t.pick(i,["url","scheme","tileSize"])),this._options=t.extend({type:"vector"},i),this._collectResourceTiming=i.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(o)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=T(this._options,this.map._requestManager,(function(r,i){e._tileJSONRequest=null,e._loaded=!0,r?e.fire(new t.ErrorEvent(r)):i&&(t.extend(e,i),i.bounds&&(e.tileBounds=new I(i.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(i.tiles,e.map._requestManager._customAccessToken),t.postMapLoadEvent(i.tiles,e.map._getMapId(),e.map._requestManager._skuToken,e.map._requestManager._customAccessToken),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return t.extend({},this._options)},r.prototype.loadTile=function(e,r){var i=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,null),n={request:this.map._requestManager.transformRequest(i,t.ResourceType.Tile),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes};function o(i,n){return delete e.request,e.aborted?r(null):i&&404!==i.status?r(i):(n&&n.resourceTiming&&(e.resourceTiming=n.resourceTiming),this.map._refreshExpiredTiles&&n&&e.setExpiryData(n),e.loadVectorData(n,this.map.painter),t.cacheEntryPossiblyAdded(this.dispatcher),r(null),void(e.reloadCallback&&(this.loadTile(e,e.reloadCallback),e.reloadCallback=null)))}n.request.collectResourceTiming=this._collectResourceTiming,e.actor&&"expired"!==e.state?"loading"===e.state?e.reloadCallback=r:e.request=e.actor.send("reloadTile",n,o.bind(this)):(e.actor=this.dispatcher.getActor(),e.request=e.actor.send("loadTile",n,o.bind(this)))},r.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.actor&&t.actor.send("abortTile",{uid:t.uid,type:this.type,source:this.id},void 0)},r.prototype.unloadTile=function(t){t.unloadVectorData(),t.clearMask(),t.actor&&t.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id},void 0)},r.prototype.hasTransition=function(){return!1},r}(t.Evented),z=function(e){function r(r,i,n,o){e.call(this),this.id=r,this.dispatcher=n,this.setEventedParent(o),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.extend({type:"raster"},i),t.extend(this,t.pick(i,["url","scheme","tileSize"]))}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=T(this._options,this.map._requestManager,(function(r,i){e._tileJSONRequest=null,e._loaded=!0,r?e.fire(new t.ErrorEvent(r)):i&&(t.extend(e,i),i.bounds&&(e.tileBounds=new I(i.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(i.tiles),t.postMapLoadEvent(i.tiles,e.map._getMapId(),e.map._requestManager._skuToken),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return t.extend({},this._options)},r.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},r.prototype.loadTile=function(e,r){var i=this,n=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,this.tileSize);e.request=t.getImage(this.map._requestManager.transformRequest(n,t.ResourceType.Tile),(function(n,o){if(delete e.request,e.aborted)e.state="unloaded",r(null);else if(n)e.state="errored",r(n);else if(o){i.map._refreshExpiredTiles&&e.setExpiryData(o),delete o.cacheControl,delete o.expires;var a=i.map.painter.context,s=a.gl;e.texture=i.map.painter.getTileTexture(o.width),e.texture?e.texture.update(o,{useMipmap:!0}):(e.texture=new t.Texture(a,o,s.RGBA,{useMipmap:!0}),e.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST),a.extTextureFilterAnisotropic&&s.texParameterf(s.TEXTURE_2D,a.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,a.extTextureFilterAnisotropicMax)),e.state="loaded",t.cacheEntryPossiblyAdded(i.dispatcher),r(null)}}))},r.prototype.abortTile=function(t,e){t.request&&(t.request.cancel(),delete t.request),e()},r.prototype.unloadTile=function(t,e){t.texture&&this.map.painter.saveTileTexture(t.texture),t.clearMask(),e()},r.prototype.hasTransition=function(){return!1},r}(t.Evented),C=function(e){function r(r,i,n,o){e.call(this,r,i,n,o),this.type="raster-dem",this.maxzoom=22,this._options=t.extend({type:"raster-dem"},i),this.encoding=i.encoding||"mapbox"}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.serialize=function(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},r.prototype.loadTile=function(e,r){var i=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,this.tileSize);function n(t,i){t&&(e.state="errored",r(t)),i&&(e.dem=i,e.needsHillshadePrepare=!0,e.state="loaded",r(null))}e.request=t.getImage(this.map._requestManager.transformRequest(i,t.ResourceType.Tile),function(i,o){if(delete e.request,e.aborted)e.state="unloaded",r(null);else if(i)e.state="errored",r(i);else if(o){this.map._refreshExpiredTiles&&e.setExpiryData(o),delete o.cacheControl,delete o.expires;var a=t.browser.getImageData(o,1),s={uid:e.uid,coord:e.tileID,source:this.id,rawImageData:a,encoding:this.encoding};e.actor&&"expired"!==e.state||(e.actor=this.dispatcher.getActor(),e.actor.send("loadDEMTile",s,n.bind(this)))}}.bind(this)),e.neighboringTiles=this._getNeighboringTiles(e.tileID)},r.prototype._getNeighboringTiles=function(e){var r=e.canonical,i=Math.pow(2,r.z),n=(r.x-1+i)%i,o=0===r.x?e.wrap-1:e.wrap,a=(r.x+1+i)%i,s=r.x+1===i?e.wrap+1:e.wrap,l={};return l[new t.OverscaledTileID(e.overscaledZ,o,r.z,n,r.y).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,r.z,a,r.y).key]={backfilled:!1},r.y>0&&(l[new t.OverscaledTileID(e.overscaledZ,o,r.z,n,r.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,r.z,r.x,r.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,r.z,a,r.y-1).key]={backfilled:!1}),r.y+1<i&&(l[new t.OverscaledTileID(e.overscaledZ,o,r.z,n,r.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,r.z,r.x,r.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,r.z,a,r.y+1).key]={backfilled:!1}),l},r.prototype.unloadTile=function(t){t.demTexture&&this.map.painter.saveTileTexture(t.demTexture),t.fbo&&(t.fbo.destroy(),delete t.fbo),t.dem&&delete t.dem,delete t.neighboringTiles,t.clearMask(),t.state="unloaded",t.actor&&t.actor.send("removeDEMTile",{uid:t.uid,source:this.id})},r}(z),k=function(e){function r(r,i,n,o){e.call(this),this.id=r,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._loaded=!1,this.actor=n.getActor(),this.setEventedParent(o),this._data=i.data,this._options=t.extend({},i),this._collectResourceTiming=i.collectResourceTiming,this._resourceTiming=[],void 0!==i.maxzoom&&(this.maxzoom=i.maxzoom),i.type&&(this.type=i.type),i.attribution&&(this.attribution=i.attribution);var a=t.EXTENT/this.tileSize;this.workerOptions=t.extend({source:this.id,cluster:i.cluster||!1,geojsonVtOptions:{buffer:(void 0!==i.buffer?i.buffer:128)*a,tolerance:(void 0!==i.tolerance?i.tolerance:.375)*a,extent:t.EXTENT,maxZoom:this.maxzoom,lineMetrics:i.lineMetrics||!1,generateId:i.generateId||!1},superclusterOptions:{maxZoom:void 0!==i.clusterMaxZoom?Math.min(i.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,extent:t.EXTENT,radius:(i.clusterRadius||50)*a,log:!1,generateId:i.generateId||!1},clusterProperties:i.clusterProperties},i.workerOptions)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(r){if(r)e.fire(new t.ErrorEvent(r));else{var i={dataType:"source",sourceDataType:"metadata"};e._collectResourceTiming&&e._resourceTiming&&e._resourceTiming.length>0&&(i.resourceTiming=e._resourceTiming,e._resourceTiming=[]),e.fire(new t.Event("data",i))}}))},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.setData=function(e){var r=this;return this._data=e,this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(e){if(e)r.fire(new t.ErrorEvent(e));else{var i={dataType:"source",sourceDataType:"content"};r._collectResourceTiming&&r._resourceTiming&&r._resourceTiming.length>0&&(i.resourceTiming=r._resourceTiming,r._resourceTiming=[]),r.fire(new t.Event("data",i))}})),this},r.prototype.getClusterExpansionZoom=function(t,e){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:t,source:this.id},e),this},r.prototype.getClusterChildren=function(t,e){return this.actor.send("geojson.getClusterChildren",{clusterId:t,source:this.id},e),this},r.prototype.getClusterLeaves=function(t,e,r,i){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:t,limit:e,offset:r},i),this},r.prototype._updateWorkerData=function(e){var r=this;this._loaded=!1;var i=t.extend({},this.workerOptions),n=this._data;"string"==typeof n?(i.request=this.map._requestManager.transformRequest(t.browser.resolveURL(n),t.ResourceType.Source),i.request.collectResourceTiming=this._collectResourceTiming):i.data=JSON.stringify(n),this.actor.send(this.type+".loadData",i,(function(t,n){r._removed||n&&n.abandoned||(r._loaded=!0,n&&n.resourceTiming&&n.resourceTiming[r.id]&&(r._resourceTiming=n.resourceTiming[r.id].slice(0)),r.actor.send(r.type+".coalesce",{source:i.source},null),e(t))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.loadTile=function(e,r){var i=this,n=e.actor?"reloadTile":"loadTile";e.actor=this.actor;var o={type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes};e.request=this.actor.send(n,o,(function(t,o){return delete e.request,e.unloadVectorData(),e.aborted?r(null):t?r(t):(e.loadVectorData(o,i.map.painter,"reloadTile"===n),r(null))}))},r.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.aborted=!0},r.prototype.unloadTile=function(t){t.unloadVectorData(),t.clearMask(),this.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id})},r.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},r.prototype.serialize=function(){return t.extend({},this._options,{type:this.type,data:this._data})},r.prototype.hasTransition=function(){return!1},r}(t.Evented),P=function(e){function r(t,r,i,n){e.call(this),this.id=t,this.dispatcher=i,this.coordinates=r.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(n),this.options=r}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(e,r){var i=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this.url=this.options.url,t.getImage(this.map._requestManager.transformRequest(this.url,t.ResourceType.Image),(function(n,o){i._loaded=!0,n?i.fire(new t.ErrorEvent(n)):o&&(i.image=o,e&&(i.coordinates=e),r&&r(),i._finishLoading())}))},r.prototype.loaded=function(){return this._loaded},r.prototype.updateImage=function(t){var e=this;return this.image&&t.url?(this.options.url=t.url,this.load(t.coordinates,(function(){e.texture=null})),this):this},r.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})))},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.setCoordinates=function(e){var r=this;this.coordinates=e;var i=e.map(t.MercatorCoordinate.fromLngLat);this.tileID=function(e){for(var r=1/0,i=1/0,n=-1/0,o=-1/0,a=0,s=e;a<s.length;a+=1){var l=s[a];r=Math.min(r,l.x),i=Math.min(i,l.y),n=Math.max(n,l.x),o=Math.max(o,l.y)}var u=n-r,c=o-i,p=Math.max(u,c),h=Math.max(0,Math.floor(-Math.log(p)/Math.LN2)),f=Math.pow(2,h);return new t.CanonicalTileID(h,Math.floor((r+n)/2*f),Math.floor((i+o)/2*f))}(i),this.minzoom=this.maxzoom=this.tileID.z;var n=i.map((function(t){return r.tileID.getTilePoint(t)._round()}));return this._boundsArray=new t.StructArrayLayout4i8,this._boundsArray.emplaceBack(n[0].x,n[0].y,0,0),this._boundsArray.emplaceBack(n[1].x,n[1].y,t.EXTENT,0),this._boundsArray.emplaceBack(n[3].x,n[3].y,0,t.EXTENT),this._boundsArray.emplaceBack(n[2].x,n[2].y,t.EXTENT,t.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})),this},r.prototype.prepare=function(){if(0!==Object.keys(this.tiles).length&&this.image){var e=this.map.painter.context,r=e.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new t.Texture(e,this.image,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var n=this.tiles[i];"loaded"!==n.state&&(n.state="loaded",n.texture=this.texture)}}},r.prototype.loadTile=function(t,e){this.tileID&&this.tileID.equals(t.tileID.canonical)?(this.tiles[String(t.tileID.wrap)]=t,t.buckets={},e(null)):(t.state="errored",e(null))},r.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return!1},r}(t.Evented),M=function(e){function r(t,r,i,n){e.call(this,t,r,i,n),this.roundZoom=!0,this.type="video",this.options=r}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this._loaded=!1;var r=this.options;this.urls=[];for(var i=0,n=r.urls;i<n.length;i+=1){var o=n[i];this.urls.push(this.map._requestManager.transformRequest(o,t.ResourceType.Source).url)}t.getVideo(this.urls,(function(r,i){e._loaded=!0,r?e.fire(new t.ErrorEvent(r)):i&&(e.video=i,e.video.loop=!0,e.video.addEventListener("playing",(function(){e.map.triggerRepaint()})),e.map&&e.video.play(),e._finishLoading())}))},r.prototype.pause=function(){this.video&&this.video.pause()},r.prototype.play=function(){this.video&&this.video.play()},r.prototype.seek=function(e){if(this.video){var r=this.video.seekable;e<r.start(0)||e>r.end(0)?this.fire(new t.ErrorEvent(new t.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+r.start(0)+" and "+r.end(0)+"-second mark."))):this.video.currentTime=e}},r.prototype.getVideo=function(){return this.video},r.prototype.onAdd=function(t){this.map||(this.map=t,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},r.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var e=this.map.painter.context,r=e.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE),r.texSubImage2D(r.TEXTURE_2D,0,0,0,r.RGBA,r.UNSIGNED_BYTE,this.video)):(this.texture=new t.Texture(e,this.video,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var n=this.tiles[i];"loaded"!==n.state&&(n.state="loaded",n.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this.video&&!this.video.paused},r}(P),L=function(e){function r(r,i,n,o){e.call(this,r,i,n,o),i.coordinates?Array.isArray(i.coordinates)&&4===i.coordinates.length&&!i.coordinates.some((function(t){return!Array.isArray(t)||2!==t.length||t.some((function(t){return"number"!=typeof t}))}))||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'missing required property "coordinates"'))),i.animate&&"boolean"!=typeof i.animate&&this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'optional "animate" property must be a boolean value'))),i.canvas?"string"==typeof i.canvas||i.canvas instanceof t.window.HTMLCanvasElement||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'missing required property "canvas"'))),this.options=i,this.animate=void 0===i.animate||i.animate}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof t.window.HTMLCanvasElement?this.options.canvas:t.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},r.prototype.getCanvas=function(){return this.canvas},r.prototype.onAdd=function(t){this.map=t,this.load(),this.canvas&&this.animate&&this.play()},r.prototype.onRemove=function(){this.pause()},r.prototype.prepare=function(){var e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var r=this.map.painter.context,i=r.gl;for(var n in this.boundsBuffer||(this.boundsBuffer=r.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new t.Texture(r,this.canvas,i.RGBA,{premultiply:!0}),this.tiles){var o=this.tiles[n];"loaded"!==o.state&&(o.state="loaded",o.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this._playing},r.prototype._hasInvalidDimensions=function(){for(var t=0,e=[this.canvas.width,this.canvas.height];t<e.length;t+=1){var r=e[t];if(isNaN(r)||r<=0)return!0}return!1},r}(P),D={vector:A,raster:z,"raster-dem":C,geojson:k,video:M,image:P,canvas:L};function B(e,r){var i=t.identity([]);return t.translate(i,i,[1,1,0]),t.scale(i,i,[.5*e.width,.5*e.height,1]),t.multiply(i,i,e.calculatePosMatrix(r.toUnwrapped()))}function R(t,e,r,i,n){var o=function(t,e,r){if(t)for(var i=0,n=t;i<n.length;i+=1){var o=e[n[i]];if(o&&o.source===r&&"fill-extrusion"===o.type)return!0}else for(var a in e){var s=e[a];if(s.source===r&&"fill-extrusion"===s.type)return!0}return!1}(i&&i.layers,e,t.id),a=n.maxPitchScaleFactor(),s=t.tilesIn(r,a,o);s.sort(F);for(var l=[],u=0,c=s;u<c.length;u+=1){var p=c[u];l.push({wrappedTileID:p.tileID.wrapped().key,queryResults:p.tile.queryRenderedFeatures(e,t._state,p.queryGeometry,p.cameraQueryGeometry,p.scale,i,n,a,B(t.transform,p.tileID))})}var h=function(t){for(var e={},r={},i=0,n=t;i<n.length;i+=1){var o=n[i],a=o.queryResults,s=o.wrappedTileID,l=r[s]=r[s]||{};for(var u in a)for(var c=a[u],p=l[u]=l[u]||{},h=e[u]=e[u]||[],f=0,d=c;f<d.length;f+=1){var m=d[f];p[m.featureIndex]||(p[m.featureIndex]=!0,h.push(m))}}return e}(l);for(var f in h)h[f].forEach((function(e){var r=e.feature,i=t.getFeatureState(r.layer["source-layer"],r.id);r.source=r.layer.source,r.layer["source-layer"]&&(r.sourceLayer=r.layer["source-layer"]),r.state=i}));return h}function F(t,e){var r=t.tileID,i=e.tileID;return r.overscaledZ-i.overscaledZ||r.canonical.y-i.canonical.y||r.wrap-i.wrap||r.canonical.x-i.canonical.x}var O=function(t,e){this.max=t,this.onRemove=e,this.reset()};O.prototype.reset=function(){for(var t in this.data)for(var e=0,r=this.data[t];e<r.length;e+=1){var i=r[e];i.timeout&&clearTimeout(i.timeout),this.onRemove(i.value)}return this.data={},this.order=[],this},O.prototype.add=function(t,e,r){var i=this,n=t.wrapped().key;void 0===this.data[n]&&(this.data[n]=[]);var o={value:e,timeout:void 0};if(void 0!==r&&(o.timeout=setTimeout((function(){i.remove(t,o)}),r)),this.data[n].push(o),this.order.push(n),this.order.length>this.max){var a=this._getAndRemoveByKey(this.order[0]);a&&this.onRemove(a)}return this},O.prototype.has=function(t){return t.wrapped().key in this.data},O.prototype.getAndRemove=function(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null},O.prototype._getAndRemoveByKey=function(t){var e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value},O.prototype.get=function(t){return this.has(t)?this.data[t.wrapped().key][0].value:null},O.prototype.remove=function(t,e){if(!this.has(t))return this;var r=t.wrapped().key,i=void 0===e?0:this.data[r].indexOf(e),n=this.data[r][i];return this.data[r].splice(i,1),n.timeout&&clearTimeout(n.timeout),0===this.data[r].length&&delete this.data[r],this.onRemove(n.value),this.order.splice(this.order.indexOf(r),1),this},O.prototype.setMaxSize=function(t){for(this.max=t;this.order.length>this.max;){var e=this._getAndRemoveByKey(this.order[0]);e&&this.onRemove(e)}return this},O.prototype.filter=function(t){var e=[];for(var r in this.data)for(var i=0,n=this.data[r];i<n.length;i+=1){var o=n[i];t(o.value)||e.push(o)}for(var a=0,s=e;a<s.length;a+=1){var l=s[a];this.remove(l.value.tileID,l)}};var U=function(t,e,r){this.context=t;var i=t.gl;this.buffer=i.createBuffer(),this.dynamicDraw=Boolean(r),this.context.unbindVAO(),t.bindElementBuffer.set(this.buffer),i.bufferData(i.ELEMENT_ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?i.DYNAMIC_DRAW:i.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};U.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer)},U.prototype.updateData=function(t){var e=this.context.gl;this.context.unbindVAO(),this.bind(),e.bufferSubData(e.ELEMENT_ARRAY_BUFFER,0,t.arrayBuffer)},U.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer)};var V={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"},N=function(t,e,r,i){this.length=e.length,this.attributes=r,this.itemSize=e.bytesPerElement,this.dynamicDraw=i,this.context=t;var n=t.gl;this.buffer=n.createBuffer(),t.bindVertexBuffer.set(this.buffer),n.bufferData(n.ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?n.DYNAMIC_DRAW:n.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};N.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer)},N.prototype.updateData=function(t){var e=this.context.gl;this.bind(),e.bufferSubData(e.ARRAY_BUFFER,0,t.arrayBuffer)},N.prototype.enableAttributes=function(t,e){for(var r=0;r<this.attributes.length;r++){var i=this.attributes[r],n=e.attributes[i.name];void 0!==n&&t.enableVertexAttribArray(n)}},N.prototype.setVertexAttribPointers=function(t,e,r){for(var i=0;i<this.attributes.length;i++){var n=this.attributes[i],o=e.attributes[n.name];void 0!==o&&t.vertexAttribPointer(o,n.components,t[V[n.type]],!1,this.itemSize,n.offset+this.itemSize*(r||0))}},N.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer)};var j=function(t){this.gl=t.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1};j.prototype.get=function(){return this.current},j.prototype.set=function(t){},j.prototype.getDefault=function(){return this.default},j.prototype.setDefault=function(){this.set(this.default)};var q=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getDefault=function(){return t.Color.transparent},r.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.clearColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},r}(j),Z=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 1},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearDepth(t),this.current=t,this.dirty=!1)},e}(j),G=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearStencil(t),this.current=t,this.dirty=!1)},e}(j),X=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[!0,!0,!0,!0]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.colorMask(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(j),W=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthMask(t),this.current=t,this.dirty=!1)},e}(j),K=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 255},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.stencilMask(t),this.current=t,this.dirty=!1)},e}(j),H=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},e.prototype.set=function(t){var e=this.current;(t.func!==e.func||t.ref!==e.ref||t.mask!==e.mask||this.dirty)&&(this.gl.stencilFunc(t.func,t.ref,t.mask),this.current=t,this.dirty=!1)},e}(j),J=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.KEEP,t.KEEP,t.KEEP]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||this.dirty)&&(this.gl.stencilOp(t[0],t[1],t[2]),this.current=t,this.dirty=!1)},e}(j),Y=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.STENCIL_TEST):e.disable(e.STENCIL_TEST),this.current=t,this.dirty=!1}},e}(j),Q=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[0,1]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.depthRange(t[0],t[1]),this.current=t,this.dirty=!1)},e}(j),$=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.DEPTH_TEST):e.disable(e.DEPTH_TEST),this.current=t,this.dirty=!1}},e}(j),tt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.LESS},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthFunc(t),this.current=t,this.dirty=!1)},e}(j),et=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.BLEND):e.disable(e.BLEND),this.current=t,this.dirty=!1}},e}(j),rt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.ONE,t.ZERO]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.blendFunc(t[0],t[1]),this.current=t,this.dirty=!1)},e}(j),it=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getDefault=function(){return t.Color.transparent},r.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.blendColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},r}(j),nt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.FUNC_ADD},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.blendEquation(t),this.current=t,this.dirty=!1)},e}(j),ot=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.CULL_FACE):e.disable(e.CULL_FACE),this.current=t,this.dirty=!1}},e}(j),at=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.BACK},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.cullFace(t),this.current=t,this.dirty=!1)},e}(j),st=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.CCW},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.frontFace(t),this.current=t,this.dirty=!1)},e}(j),lt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.useProgram(t),this.current=t,this.dirty=!1)},e}(j),ut=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.TEXTURE0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.activeTexture(t),this.current=t,this.dirty=!1)},e}(j),ct=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[0,0,t.drawingBufferWidth,t.drawingBufferHeight]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.viewport(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(j),pt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindFramebuffer(e.FRAMEBUFFER,t),this.current=t,this.dirty=!1}},e}(j),ht=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindRenderbuffer(e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(j),ft=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindTexture(e.TEXTURE_2D,t),this.current=t,this.dirty=!1}},e}(j),dt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindBuffer(e.ARRAY_BUFFER,t),this.current=t,this.dirty=!1}},e}(j),mt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){var e=this.gl;e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t),this.current=t,this.dirty=!1},e}(j),yt=function(t){function e(e){t.call(this,e),this.vao=e.extVertexArrayObject}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){this.vao&&(t!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(t),this.current=t,this.dirty=!1)},e}(j),_t=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 4},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_ALIGNMENT,t),this.current=t,this.dirty=!1}},e}(j),gt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t),this.current=t,this.dirty=!1}},e}(j),vt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,t),this.current=t,this.dirty=!1}},e}(j),xt=function(t){function e(e,r){t.call(this,e),this.context=e,this.parent=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e}(j),bt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setDirty=function(){this.dirty=!0},e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0),this.current=t,this.dirty=!1}},e}(xt),wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(xt),St=function(t,e,r){this.context=t,this.width=e,this.height=r;var i=t.gl,n=this.framebuffer=i.createFramebuffer();this.colorAttachment=new bt(t,n),this.depthAttachment=new wt(t,n)};St.prototype.destroy=function(){var t=this.context.gl,e=this.colorAttachment.get();e&&t.deleteTexture(e);var r=this.depthAttachment.get();r&&t.deleteRenderbuffer(r),t.deleteFramebuffer(this.framebuffer)};var Et=function(t,e,r){this.func=t,this.mask=e,this.range=r};Et.ReadOnly=!1,Et.ReadWrite=!0,Et.disabled=new Et(519,Et.ReadOnly,[0,1]);var Tt=function(t,e,r,i,n,o){this.test=t,this.ref=e,this.mask=r,this.fail=i,this.depthFail=n,this.pass=o};Tt.disabled=new Tt({func:519,mask:0},0,0,7680,7680,7680);var It=function(t,e,r){this.blendFunction=t,this.blendColor=e,this.mask=r};It.disabled=new It(It.Replace=[1,0],t.Color.transparent,[!1,!1,!1,!1]),It.unblended=new It(It.Replace,t.Color.transparent,[!0,!0,!0,!0]),It.alphaBlended=new It([1,771],t.Color.transparent,[!0,!0,!0,!0]);var At=function(t,e,r){this.enable=t,this.mode=e,this.frontFace=r};At.disabled=new At(!1,1029,2305),At.backCCW=new At(!0,1029,2305);var zt=function(t){this.gl=t,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new q(this),this.clearDepth=new Z(this),this.clearStencil=new G(this),this.colorMask=new X(this),this.depthMask=new W(this),this.stencilMask=new K(this),this.stencilFunc=new H(this),this.stencilOp=new J(this),this.stencilTest=new Y(this),this.depthRange=new Q(this),this.depthTest=new $(this),this.depthFunc=new tt(this),this.blend=new et(this),this.blendFunc=new rt(this),this.blendColor=new it(this),this.blendEquation=new nt(this),this.cullFace=new ot(this),this.cullFaceSide=new at(this),this.frontFace=new st(this),this.program=new lt(this),this.activeTexture=new ut(this),this.viewport=new ct(this),this.bindFramebuffer=new pt(this),this.bindRenderbuffer=new ht(this),this.bindTexture=new ft(this),this.bindVertexBuffer=new dt(this),this.bindElementBuffer=new mt(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new yt(this),this.pixelStoreUnpack=new _t(this),this.pixelStoreUnpackPremultiplyAlpha=new gt(this),this.pixelStoreUnpackFlipY=new vt(this),this.extTextureFilterAnisotropic=t.getExtension("EXT_texture_filter_anisotropic")||t.getExtension("MOZ_EXT_texture_filter_anisotropic")||t.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=t.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&t.getExtension("OES_texture_half_float_linear"),this.extTimerQuery=t.getExtension("EXT_disjoint_timer_query")};zt.prototype.setDefault=function(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()},zt.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0},zt.prototype.createIndexBuffer=function(t,e){return new U(this,t,e)},zt.prototype.createVertexBuffer=function(t,e,r){return new N(this,t,e,r)},zt.prototype.createRenderbuffer=function(t,e,r){var i=this.gl,n=i.createRenderbuffer();return this.bindRenderbuffer.set(n),i.renderbufferStorage(i.RENDERBUFFER,t,e,r),this.bindRenderbuffer.set(null),n},zt.prototype.createFramebuffer=function(t,e){return new St(this,t,e)},zt.prototype.clear=function(t){var e=t.color,r=t.depth,i=this.gl,n=0;e&&(n|=i.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==r&&(n|=i.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(r),this.depthMask.set(!0)),i.clear(n)},zt.prototype.setCullFace=function(t){!1===t.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(t.mode),this.frontFace.set(t.frontFace))},zt.prototype.setDepthMode=function(t){t.func!==this.gl.ALWAYS||t.mask?(this.depthTest.set(!0),this.depthFunc.set(t.func),this.depthMask.set(t.mask),this.depthRange.set(t.range)):this.depthTest.set(!1)},zt.prototype.setStencilMode=function(t){t.test.func!==this.gl.ALWAYS||t.mask?(this.stencilTest.set(!0),this.stencilMask.set(t.mask),this.stencilOp.set([t.fail,t.depthFail,t.pass]),this.stencilFunc.set({func:t.test.func,ref:t.ref,mask:t.test.mask})):this.stencilTest.set(!1)},zt.prototype.setColorMode=function(e){t.deepEqual(e.blendFunction,It.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask)},zt.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)};var Ct=function(e){function r(r,i,n){var o=this;e.call(this),this.id=r,this.dispatcher=n,this.on("data",(function(t){"source"===t.dataType&&"metadata"===t.sourceDataType&&(o._sourceLoaded=!0),o._sourceLoaded&&!o._paused&&"source"===t.dataType&&"content"===t.sourceDataType&&(o.reload(),o.transform&&o.update(o.transform))})),this.on("error",(function(){o._sourceErrored=!0})),this._source=function(e,r,i,n){var o=new D[r.type](e,r,i,n);if(o.id!==e)throw new Error("Expected Source id to be "+e+" instead of "+o.id);return t.bindAll(["load","abort","unload","serialize","prepare"],o),o}(r,i,n,this),this._tiles={},this._cache=new O(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._coveredTiles={},this._state=new t.SourceFeatureState}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.onAdd=function(t){this.map=t,this._maxTileCacheSize=t?t._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(t)},r.prototype.onRemove=function(t){this._source&&this._source.onRemove&&this._source.onRemove(t)},r.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(var t in this._tiles){var e=this._tiles[t];if("loaded"!==e.state&&"errored"!==e.state)return!1}return!0},r.prototype.getSource=function(){return this._source},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){if(this._paused){var t=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,t&&this.reload(),this.transform&&this.update(this.transform)}},r.prototype._loadTile=function(t,e){return this._source.loadTile(t,e)},r.prototype._unloadTile=function(t){if(this._source.unloadTile)return this._source.unloadTile(t,(function(){}))},r.prototype._abortTile=function(t){if(this._source.abortTile)return this._source.abortTile(t,(function(){}))},r.prototype.serialize=function(){return this._source.serialize()},r.prototype.prepare=function(t){for(var e in this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null),this._tiles){var r=this._tiles[e];r.upload(t),r.prepare(this.map.style.imageManager)}},r.prototype.getIds=function(){return Object.keys(this._tiles).map(Number).sort(kt)},r.prototype.getRenderableIds=function(e){var r=this,i=[];for(var n in this._tiles)this._isIdRenderable(+n,e)&&i.push(+n);return e?i.sort((function(e,i){var n=r._tiles[e].tileID,o=r._tiles[i].tileID,a=new t.Point(n.canonical.x,n.canonical.y)._rotate(r.transform.angle),s=new t.Point(o.canonical.x,o.canonical.y)._rotate(r.transform.angle);return n.overscaledZ-o.overscaledZ||s.y-a.y||s.x-a.x})):i.sort(kt)},r.prototype.hasRenderableParent=function(t){var e=this.findLoadedParent(t,0);return!!e&&this._isIdRenderable(e.tileID.key)},r.prototype._isIdRenderable=function(t,e){return this._tiles[t]&&this._tiles[t].hasData()&&!this._coveredTiles[t]&&(e||!this._tiles[t].holdingForFade())},r.prototype.reload=function(){if(this._paused)this._shouldReloadOnResume=!0;else for(var t in this._cache.reset(),this._tiles)"errored"!==this._tiles[t].state&&this._reloadTile(t,"reloading")},r.prototype._reloadTile=function(t,e){var r=this._tiles[t];r&&("loading"!==r.state&&(r.state=e),this._loadTile(r,this._tileLoaded.bind(this,r,t,e)))},r.prototype._tileLoaded=function(e,r,i,n){if(n)return e.state="errored",void(404!==n.status?this._source.fire(new t.ErrorEvent(n,{tile:e})):this.update(this.transform));e.timeAdded=t.browser.now(),"expired"===i&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(r,e),"raster-dem"===this.getSource().type&&e.dem&&this._backfillDEM(e),this._state.initializeTileState(e,this.map?this.map.painter:null),this._source.fire(new t.Event("data",{dataType:"source",tile:e,coord:e.tileID}))},r.prototype._backfillDEM=function(t){for(var e=this.getRenderableIds(),r=0;r<e.length;r++){var i=e[r];if(t.neighboringTiles&&t.neighboringTiles[i]){var n=this.getTileByID(i);o(t,n),o(n,t)}}function o(t,e){t.needsHillshadePrepare=!0;var r=e.tileID.canonical.x-t.tileID.canonical.x,i=e.tileID.canonical.y-t.tileID.canonical.y,n=Math.pow(2,t.tileID.canonical.z),o=e.tileID.key;0===r&&0===i||Math.abs(i)>1||(Math.abs(r)>1&&(1===Math.abs(r+n)?r+=n:1===Math.abs(r-n)&&(r-=n)),e.dem&&t.dem&&(t.dem.backfillBorder(e.dem,r,i),t.neighboringTiles&&t.neighboringTiles[o]&&(t.neighboringTiles[o].backfilled=!0)))}},r.prototype.getTile=function(t){return this.getTileByID(t.key)},r.prototype.getTileByID=function(t){return this._tiles[t]},r.prototype._retainLoadedChildren=function(t,e,r,i){for(var n in this._tiles){var o=this._tiles[n];if(!(i[n]||!o.hasData()||o.tileID.overscaledZ<=e||o.tileID.overscaledZ>r)){for(var a=o.tileID;o&&o.tileID.overscaledZ>e+1;){var s=o.tileID.scaledTo(o.tileID.overscaledZ-1);(o=this._tiles[s.key])&&o.hasData()&&(a=s)}for(var l=a;l.overscaledZ>e;)if(t[(l=l.scaledTo(l.overscaledZ-1)).key]){i[a.key]=a;break}}}},r.prototype.findLoadedParent=function(t,e){for(var r=t.overscaledZ-1;r>=e;r--){var i=t.scaledTo(r);if(!i)return;var n=String(i.key),o=this._tiles[n];if(o&&o.hasData())return o;if(this._cache.has(i))return this._cache.get(i)}},r.prototype.updateCacheSize=function(t){var e=(Math.ceil(t.width/this._source.tileSize)+1)*(Math.ceil(t.height/this._source.tileSize)+1),r=Math.floor(5*e),i="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,r):r;this._cache.setMaxSize(i)},r.prototype.handleWrapJump=function(t){var e=(t-(void 0===this._prevLng?t:this._prevLng))/360,r=Math.round(e);if(this._prevLng=t,r){var i={};for(var n in this._tiles){var o=this._tiles[n];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+r),i[o.tileID.key]=o}for(var a in this._tiles=i,this._timers)clearTimeout(this._timers[a]),delete this._timers[a];for(var s in this._tiles){var l=this._tiles[s];this._setTileReloadTimer(s,l)}}},r.prototype.update=function(e){var i=this;if(this.transform=e,this._sourceLoaded&&!this._paused){var n;this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?n=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((function(e){return new t.OverscaledTileID(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y)})):(n=e.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(n=n.filter((function(t){return i._source.hasTile(t)})))):n=[];var o=e.coveringZoomLevel(this._source),a=Math.max(o-r.maxOverzooming,this._source.minzoom),s=Math.max(o+r.maxUnderzooming,this._source.minzoom),l=this._updateRetainedTiles(n,o);if(Pt(this._source.type)){for(var u={},c={},p=0,h=Object.keys(l);p<h.length;p+=1){var f=h[p],d=l[f],m=this._tiles[f];if(m&&!(m.fadeEndTime&&m.fadeEndTime<=t.browser.now())){var y=this.findLoadedParent(d,a);y&&(this._addTile(y.tileID),u[y.tileID.key]=y.tileID),c[f]=d}}for(var _ in this._retainLoadedChildren(c,o,s,l),u)l[_]||(this._coveredTiles[_]=!0,l[_]=u[_])}for(var g in l)this._tiles[g].clearFadeHold();for(var v=0,x=t.keysDifference(this._tiles,l);v<x.length;v+=1){var b=x[v],w=this._tiles[b];w.hasSymbolBuckets&&!w.holdingForFade()?w.setHoldDuration(this.map._fadeDuration):w.hasSymbolBuckets&&!w.symbolFadeFinished()||this._removeTile(b)}}},r.prototype.releaseSymbolFadeTiles=function(){for(var t in this._tiles)this._tiles[t].holdingForFade()&&this._removeTile(t)},r.prototype._updateRetainedTiles=function(t,e){for(var i={},n={},o=Math.max(e-r.maxOverzooming,this._source.minzoom),a=Math.max(e+r.maxUnderzooming,this._source.minzoom),s={},l=0,u=t;l<u.length;l+=1){var c=u[l],p=this._addTile(c);i[c.key]=c,p.hasData()||e<this._source.maxzoom&&(s[c.key]=c)}this._retainLoadedChildren(s,e,a,i);for(var h=0,f=t;h<f.length;h+=1){var d=f[h],m=this._tiles[d.key];if(!m.hasData()){if(e+1>this._source.maxzoom){var y=d.children(this._source.maxzoom)[0],_=this.getTile(y);if(_&&_.hasData()){i[y.key]=y;continue}}else{var g=d.children(this._source.maxzoom);if(i[g[0].key]&&i[g[1].key]&&i[g[2].key]&&i[g[3].key])continue}for(var v=m.wasRequested(),x=d.overscaledZ-1;x>=o;--x){var b=d.scaledTo(x);if(n[b.key])break;if(n[b.key]=!0,!(m=this.getTile(b))&&v&&(m=this._addTile(b)),m&&(i[b.key]=b,v=m.wasRequested(),m.hasData()))break}}}return i},r.prototype._addTile=function(e){var r=this._tiles[e.key];if(r)return r;(r=this._cache.getAndRemove(e))&&(this._setTileReloadTimer(e.key,r),r.tileID=e,this._state.initializeTileState(r,this.map?this.map.painter:null),this._cacheTimers[e.key]&&(clearTimeout(this._cacheTimers[e.key]),delete this._cacheTimers[e.key],this._setTileReloadTimer(e.key,r)));var i=Boolean(r);return i||(r=new t.Tile(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(r,this._tileLoaded.bind(this,r,e.key,r.state))),r?(r.uses++,this._tiles[e.key]=r,i||this._source.fire(new t.Event("dataloading",{tile:r,coord:r.tileID,dataType:"source"})),r):null},r.prototype._setTileReloadTimer=function(t,e){var r=this;t in this._timers&&(clearTimeout(this._timers[t]),delete this._timers[t]);var i=e.getExpiryTimeout();i&&(this._timers[t]=setTimeout((function(){r._reloadTile(t,"expired"),delete r._timers[t]}),i))},r.prototype._removeTile=function(t){var e=this._tiles[t];e&&(e.uses--,delete this._tiles[t],this._timers[t]&&(clearTimeout(this._timers[t]),delete this._timers[t]),e.uses>0||(e.hasData()&&"reloading"!==e.state?this._cache.add(e.tileID,e,e.getExpiryTimeout()):(e.aborted=!0,this._abortTile(e),this._unloadTile(e))))},r.prototype.clearTiles=function(){for(var t in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(t);this._cache.reset()},r.prototype.tilesIn=function(e,r,i){var n=this,o=[],a=this.transform;if(!a)return o;for(var s=i?a.getCameraQueryGeometry(e):e,l=e.map((function(t){return a.pointCoordinate(t)})),u=s.map((function(t){return a.pointCoordinate(t)})),c=this.getIds(),p=1/0,h=1/0,f=-1/0,d=-1/0,m=0,y=u;m<y.length;m+=1){var _=y[m];p=Math.min(p,_.x),h=Math.min(h,_.y),f=Math.max(f,_.x),d=Math.max(d,_.y)}for(var g=function(e){var i=n._tiles[c[e]];if(!i.holdingForFade()){var s=i.tileID,m=Math.pow(2,a.zoom-i.tileID.overscaledZ),y=r*i.queryPadding*t.EXTENT/i.tileSize/m,_=[s.getTilePoint(new t.MercatorCoordinate(p,h)),s.getTilePoint(new t.MercatorCoordinate(f,d))];if(_[0].x-y<t.EXTENT&&_[0].y-y<t.EXTENT&&_[1].x+y>=0&&_[1].y+y>=0){var g=l.map((function(t){return s.getTilePoint(t)})),v=u.map((function(t){return s.getTilePoint(t)}));o.push({tile:i,tileID:s,queryGeometry:g,cameraQueryGeometry:v,scale:m})}}},v=0;v<c.length;v++)g(v);return o},r.prototype.getVisibleCoordinates=function(t){for(var e=this,r=this.getRenderableIds(t).map((function(t){return e._tiles[t].tileID})),i=0,n=r;i<n.length;i+=1){var o=n[i];o.posMatrix=this.transform.calculatePosMatrix(o.toUnwrapped())}return r},r.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(Pt(this._source.type))for(var e in this._tiles){var r=this._tiles[e];if(void 0!==r.fadeEndTime&&r.fadeEndTime>=t.browser.now())return!0}return!1},r.prototype.setFeatureState=function(t,e,r){t=t||"_geojsonTileLayer",this._state.updateState(t,e,r)},r.prototype.removeFeatureState=function(t,e,r){t=t||"_geojsonTileLayer",this._state.removeFeatureState(t,e,r)},r.prototype.getFeatureState=function(t,e){return t=t||"_geojsonTileLayer",this._state.getState(t,e)},r.prototype.setDependencies=function(t,e,r){var i=this._tiles[t];i&&i.setDependencies(e,r)},r.prototype.reloadTilesForDependencies=function(t,e){for(var r in this._tiles)this._tiles[r].hasDependency(t,e)&&this._reloadTile(r,"reloading");this._cache.filter((function(r){return!r.hasDependency(t,e)}))},r}(t.Evented);function kt(t,e){return t%32-e%32||e-t}function Pt(t){return"raster"===t||"image"===t||"video"===t}function Mt(){return new t.window.Worker(en.workerUrl)}Ct.maxOverzooming=10,Ct.maxUnderzooming=3;var Lt=function(){this.active={}};Lt.prototype.acquire=function(t){if(!this.workers)for(this.workers=[];this.workers.length<Lt.workerCount;)this.workers.push(new Mt);return this.active[t]=!0,this.workers.slice()},Lt.prototype.release=function(t){delete this.active[t],0===Object.keys(this.active).length&&(this.workers.forEach((function(t){t.terminate()})),this.workers=null)};var Dt,Bt=Math.floor(t.browser.hardwareConcurrency/2);function Rt(e,r){var i={};for(var n in e)"ref"!==n&&(i[n]=e[n]);return t.refProperties.forEach((function(t){t in r&&(i[t]=r[t])})),i}function Ft(t){t=t.slice();for(var e=Object.create(null),r=0;r<t.length;r++)e[t[r].id]=t[r];for(var i=0;i<t.length;i++)"ref"in t[i]&&(t[i]=Rt(t[i],e[t[i].ref]));return t}Lt.workerCount=Math.max(Math.min(Bt,6),1);var Ot={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function Ut(t,e,r){r.push({command:Ot.addSource,args:[t,e[t]]})}function Vt(t,e,r){e.push({command:Ot.removeSource,args:[t]}),r[t]=!0}function Nt(t,e,r,i){Vt(t,r,i),Ut(t,e,r)}function jt(e,r,i){var n;for(n in e[i])if(e[i].hasOwnProperty(n)&&"data"!==n&&!t.deepEqual(e[i][n],r[i][n]))return!1;for(n in r[i])if(r[i].hasOwnProperty(n)&&"data"!==n&&!t.deepEqual(e[i][n],r[i][n]))return!1;return!0}function qt(e,r,i,n,o,a){var s;for(s in r=r||{},e=e||{})e.hasOwnProperty(s)&&(t.deepEqual(e[s],r[s])||i.push({command:a,args:[n,s,r[s],o]}));for(s in r)r.hasOwnProperty(s)&&!e.hasOwnProperty(s)&&(t.deepEqual(e[s],r[s])||i.push({command:a,args:[n,s,r[s],o]}))}function Zt(t){return t.id}function Gt(t,e){return t[e.id]=e,t}var Xt=function(t,e,r){var i=this.boxCells=[],n=this.circleCells=[];this.xCellCount=Math.ceil(t/r),this.yCellCount=Math.ceil(e/r);for(var o=0;o<this.xCellCount*this.yCellCount;o++)i.push([]),n.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=t,this.height=e,this.xScale=this.xCellCount/t,this.yScale=this.yCellCount/e,this.boxUid=0,this.circleUid=0};function Wt(e,r,i,n,o){var a=t.create();return r?(t.scale(a,a,[1/o,1/o,1]),i||t.rotateZ(a,a,n.angle)):t.multiply(a,n.labelPlaneMatrix,e),a}function Kt(e,r,i,n,o){if(r){var a=t.clone(e);return t.scale(a,a,[o,o,1]),i||t.rotateZ(a,a,-n.angle),a}return n.glCoordMatrix}function Ht(e,r){var i=[e.x,e.y,0,1];oe(i,i,r);var n=i[3];return{point:new t.Point(i[0]/n,i[1]/n),signedDistanceFromCamera:n}}function Jt(t,e){var r=t[0]/t[3],i=t[1]/t[3];return r>=-e[0]&&r<=e[0]&&i>=-e[1]&&i<=e[1]}function Yt(e,r,i,n,o,a,s,l){var u=n?e.textSizeData:e.iconSizeData,c=t.evaluateSizeForZoom(u,i.transform.zoom),p=[256/i.width*2+1,256/i.height*2+1],h=n?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;h.clear();for(var f=e.lineVertexArray,d=n?e.text.placedSymbolArray:e.icon.placedSymbolArray,m=i.transform.width/i.transform.height,y=!1,_=0;_<d.length;_++){var g=d.get(_);if(g.hidden||g.writingMode===t.WritingMode.vertical&&!y)ne(g.numGlyphs,h);else{y=!1;var v=[g.anchorX,g.anchorY,0,1];if(t.transformMat4(v,v,r),Jt(v,p)){var x=.5+v[3]/i.transform.cameraToCenterDistance*.5,b=t.evaluateSizeForFeature(u,c,g),w=s?b*x:b/x,S=new t.Point(g.anchorX,g.anchorY),E=Ht(S,o).point,T={},I=te(g,w,!1,l,r,o,a,e.glyphOffsetArray,f,h,E,S,T,m);y=I.useVertical,(I.notEnoughRoom||y||I.needsFlipping&&te(g,w,!0,l,r,o,a,e.glyphOffsetArray,f,h,E,S,T,m).notEnoughRoom)&&ne(g.numGlyphs,h)}else ne(g.numGlyphs,h)}}n?e.text.dynamicLayoutVertexBuffer.updateData(h):e.icon.dynamicLayoutVertexBuffer.updateData(h)}function Qt(t,e,r,i,n,o,a,s,l,u,c,p){var h=s.glyphStartIndex+s.numGlyphs,f=s.lineStartIndex,d=s.lineStartIndex+s.lineLength,m=e.getoffsetX(s.glyphStartIndex),y=e.getoffsetX(h-1),_=re(t*m,r,i,n,o,a,s.segment,f,d,l,u,c,p);if(!_)return null;var g=re(t*y,r,i,n,o,a,s.segment,f,d,l,u,c,p);return g?{first:_,last:g}:null}function $t(e,r,i,n){return e===t.WritingMode.horizontal&&Math.abs(i.y-r.y)>Math.abs(i.x-r.x)*n?{useVertical:!0}:(e===t.WritingMode.vertical?r.y<i.y:r.x>i.x)?{needsFlipping:!0}:null}function te(e,r,i,n,o,a,s,l,u,c,p,h,f,d){var m,y=r/24,_=e.lineOffsetX*y,g=e.lineOffsetY*y;if(e.numGlyphs>1){var v=e.glyphStartIndex+e.numGlyphs,x=e.lineStartIndex,b=e.lineStartIndex+e.lineLength,w=Qt(y,l,_,g,i,p,h,e,u,a,f,!1);if(!w)return{notEnoughRoom:!0};var S=Ht(w.first.point,s).point,E=Ht(w.last.point,s).point;if(n&&!i){var T=$t(e.writingMode,S,E,d);if(T)return T}m=[w.first];for(var I=e.glyphStartIndex+1;I<v-1;I++)m.push(re(y*l.getoffsetX(I),_,g,i,p,h,e.segment,x,b,u,a,f,!1));m.push(w.last)}else{if(n&&!i){var A=Ht(h,o).point,z=e.lineStartIndex+e.segment+1,C=new t.Point(u.getx(z),u.gety(z)),k=Ht(C,o),P=k.signedDistanceFromCamera>0?k.point:ee(h,C,A,1,o),M=$t(e.writingMode,A,P,d);if(M)return M}var L=re(y*l.getoffsetX(e.glyphStartIndex),_,g,i,p,h,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,u,a,f,!1);if(!L)return{notEnoughRoom:!0};m=[L]}for(var D=0,B=m;D<B.length;D+=1){var R=B[D];t.addDynamicAttributes(c,R.point,R.angle)}return{}}function ee(t,e,r,i,n){var o=Ht(t.add(t.sub(e)._unit()),n).point,a=r.sub(o);return r.add(a._mult(i/a.mag()))}function re(e,r,i,n,o,a,s,l,u,c,p,h,f){var d=n?e-r:e+r,m=d>0?1:-1,y=0;n&&(m*=-1,y=Math.PI),m<0&&(y+=Math.PI);for(var _=m>0?l+s:l+s+1,g=_,v=o,x=o,b=0,w=0,S=Math.abs(d);b+w<=S;){if((_+=m)<l||_>=u)return null;if(x=v,void 0===(v=h[_])){var E=new t.Point(c.getx(_),c.gety(_)),T=Ht(E,p);if(T.signedDistanceFromCamera>0)v=h[_]=T.point;else{var I=_-m;v=ee(0===b?a:new t.Point(c.getx(I),c.gety(I)),E,x,S-b+1,p)}}b+=w,w=x.dist(v)}var A=(S-b)/w,z=v.sub(x),C=z.mult(A)._add(x);return C._add(z._unit()._perp()._mult(i*m)),{point:C,angle:y+Math.atan2(v.y-x.y,v.x-x.x),tileDistance:f?{prevTileDistance:_-m===g?0:c.gettileUnitDistanceFromAnchor(_-m),lastSegmentViewportDistance:S-b}:null}}Xt.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Xt.prototype.insert=function(t,e,r,i,n){this._forEachCell(e,r,i,n,this._insertBoxCell,this.boxUid++),this.boxKeys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(i),this.bboxes.push(n)},Xt.prototype.insertCircle=function(t,e,r,i){this._forEachCell(e-i,r-i,e+i,r+i,this._insertCircleCell,this.circleUid++),this.circleKeys.push(t),this.circles.push(e),this.circles.push(r),this.circles.push(i)},Xt.prototype._insertBoxCell=function(t,e,r,i,n,o){this.boxCells[n].push(o)},Xt.prototype._insertCircleCell=function(t,e,r,i,n,o){this.circleCells[n].push(o)},Xt.prototype._query=function(t,e,r,i,n,o){if(r<0||t>this.width||i<0||e>this.height)return!n&&[];var a=[];if(t<=0&&e<=0&&this.width<=r&&this.height<=i){if(n)return!0;for(var s=0;s<this.boxKeys.length;s++)a.push({key:this.boxKeys[s],x1:this.bboxes[4*s],y1:this.bboxes[4*s+1],x2:this.bboxes[4*s+2],y2:this.bboxes[4*s+3]});for(var l=0;l<this.circleKeys.length;l++){var u=this.circles[3*l],c=this.circles[3*l+1],p=this.circles[3*l+2];a.push({key:this.circleKeys[l],x1:u-p,y1:c-p,x2:u+p,y2:c+p})}return o?a.filter(o):a}var h={hitTest:n,seenUids:{box:{},circle:{}}};return this._forEachCell(t,e,r,i,this._queryCell,a,h,o),n?a.length>0:a},Xt.prototype._queryCircle=function(t,e,r,i,n){var o=t-r,a=t+r,s=e-r,l=e+r;if(a<0||o>this.width||l<0||s>this.height)return!i&&[];var u=[],c={hitTest:i,circle:{x:t,y:e,radius:r},seenUids:{box:{},circle:{}}};return this._forEachCell(o,s,a,l,this._queryCellCircle,u,c,n),i?u.length>0:u},Xt.prototype.query=function(t,e,r,i,n){return this._query(t,e,r,i,!1,n)},Xt.prototype.hitTest=function(t,e,r,i,n){return this._query(t,e,r,i,!0,n)},Xt.prototype.hitTestCircle=function(t,e,r,i){return this._queryCircle(t,e,r,!0,i)},Xt.prototype._queryCell=function(t,e,r,i,n,o,a,s){var l=a.seenUids,u=this.boxCells[n];if(null!==u)for(var c=this.bboxes,p=0,h=u;p<h.length;p+=1){var f=h[p];if(!l.box[f]){l.box[f]=!0;var d=4*f;if(t<=c[d+2]&&e<=c[d+3]&&r>=c[d+0]&&i>=c[d+1]&&(!s||s(this.boxKeys[f]))){if(a.hitTest)return o.push(!0),!0;o.push({key:this.boxKeys[f],x1:c[d],y1:c[d+1],x2:c[d+2],y2:c[d+3]})}}}var m=this.circleCells[n];if(null!==m)for(var y=this.circles,_=0,g=m;_<g.length;_+=1){var v=g[_];if(!l.circle[v]){l.circle[v]=!0;var x=3*v;if(this._circleAndRectCollide(y[x],y[x+1],y[x+2],t,e,r,i)&&(!s||s(this.circleKeys[v]))){if(a.hitTest)return o.push(!0),!0;var b=y[x],w=y[x+1],S=y[x+2];o.push({key:this.circleKeys[v],x1:b-S,y1:w-S,x2:b+S,y2:w+S})}}}},Xt.prototype._queryCellCircle=function(t,e,r,i,n,o,a,s){var l=a.circle,u=a.seenUids,c=this.boxCells[n];if(null!==c)for(var p=this.bboxes,h=0,f=c;h<f.length;h+=1){var d=f[h];if(!u.box[d]){u.box[d]=!0;var m=4*d;if(this._circleAndRectCollide(l.x,l.y,l.radius,p[m+0],p[m+1],p[m+2],p[m+3])&&(!s||s(this.boxKeys[d])))return o.push(!0),!0}}var y=this.circleCells[n];if(null!==y)for(var _=this.circles,g=0,v=y;g<v.length;g+=1){var x=v[g];if(!u.circle[x]){u.circle[x]=!0;var b=3*x;if(this._circlesCollide(_[b],_[b+1],_[b+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[x])))return o.push(!0),!0}}},Xt.prototype._forEachCell=function(t,e,r,i,n,o,a,s){for(var l=this._convertToXCellCoord(t),u=this._convertToYCellCoord(e),c=this._convertToXCellCoord(r),p=this._convertToYCellCoord(i),h=l;h<=c;h++)for(var f=u;f<=p;f++){var d=this.xCellCount*f+h;if(n.call(this,t,e,r,i,d,o,a,s))return}},Xt.prototype._convertToXCellCoord=function(t){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(t*this.xScale)))},Xt.prototype._convertToYCellCoord=function(t){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(t*this.yScale)))},Xt.prototype._circlesCollide=function(t,e,r,i,n,o){var a=i-t,s=n-e,l=r+o;return l*l>a*a+s*s},Xt.prototype._circleAndRectCollide=function(t,e,r,i,n,o,a){var s=(o-i)/2,l=Math.abs(t-(i+s));if(l>s+r)return!1;var u=(a-n)/2,c=Math.abs(e-(n+u));if(c>u+r)return!1;if(l<=s||c<=u)return!0;var p=l-s,h=c-u;return p*p+h*h<=r*r};var ie=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function ne(t,e){for(var r=0;r<t;r++){var i=e.length;e.resize(i+4),e.float32.set(ie,3*i)}}function oe(t,e,r){var i=e[0],n=e[1];return t[0]=r[0]*i+r[4]*n+r[12],t[1]=r[1]*i+r[5]*n+r[13],t[3]=r[3]*i+r[7]*n+r[15],t}var ae=function(t,e,r){void 0===e&&(e=new Xt(t.width+200,t.height+200,25)),void 0===r&&(r=new Xt(t.width+200,t.height+200,25)),this.transform=t,this.grid=e,this.ignoredGrid=r,this.pitchfactor=Math.cos(t._pitch)*t.cameraToCenterDistance,this.screenRightBoundary=t.width+100,this.screenBottomBoundary=t.height+100,this.gridRightBoundary=t.width+200,this.gridBottomBoundary=t.height+200};function se(t,e,r){t[e+4]=r?1:0}function le(e,r,i){return r*(t.EXTENT/(e.tileSize*Math.pow(2,i-e.tileID.overscaledZ)))}ae.prototype.placeCollisionBox=function(t,e,r,i,n){var o=this.projectAndGetPerspectiveRatio(i,t.anchorPointX,t.anchorPointY),a=r*o.perspectiveRatio,s=t.x1*a+o.point.x,l=t.y1*a+o.point.y,u=t.x2*a+o.point.x,c=t.y2*a+o.point.y;return!this.isInsideGrid(s,l,u,c)||!e&&this.grid.hitTest(s,l,u,c,n)?{box:[],offscreen:!1}:{box:[s,l,u,c],offscreen:this.isOffscreen(s,l,u,c)}},ae.prototype.approximateTileDistance=function(t,e,r,i,n){var o=n?1:i/this.pitchfactor,a=t.lastSegmentViewportDistance*r;return t.prevTileDistance+a+(o-1)*a*Math.abs(Math.sin(e))},ae.prototype.placeCollisionCircles=function(e,r,i,n,o,a,s,l,u,c,p,h,f){var d=[],m=this.projectAnchor(u,o.anchorX,o.anchorY),y=l/24,_=o.lineOffsetX*l,g=o.lineOffsetY*l,v=new t.Point(o.anchorX,o.anchorY),x=Qt(y,s,_,g,!1,Ht(v,c).point,v,o,a,c,{},!0),b=!1,w=!1,S=!0,E=m.perspectiveRatio*n,T=1/(n*i),I=0,A=0;x&&(I=this.approximateTileDistance(x.first.tileDistance,x.first.angle,T,m.cameraDistance,h),A=this.approximateTileDistance(x.last.tileDistance,x.last.angle,T,m.cameraDistance,h));for(var z=0;z<e.length;z+=5){var C=e[z],k=e[z+1],P=e[z+2],M=e[z+3];if(!x||M<-I||M>A)se(e,z,!1);else{var L=this.projectPoint(u,C,k),D=P*E;if(d.length>0){var B=L.x-d[d.length-4],R=L.y-d[d.length-3];if(D*D*2>B*B+R*R&&z+8<e.length){var F=e[z+8];if(F>-I&&F<A){se(e,z,!1);continue}}}var O=z/5;d.push(L.x,L.y,D,O),se(e,z,!0);var U=L.x-D,V=L.y-D,N=L.x+D,j=L.y+D;if(S=S&&this.isOffscreen(U,V,N,j),w=w||this.isInsideGrid(U,V,N,j),!r&&this.grid.hitTestCircle(L.x,L.y,D,f)){if(!p)return{circles:[],offscreen:!1};b=!0}}}return{circles:b||!w?[]:d,offscreen:S}},ae.prototype.queryRenderedSymbols=function(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};for(var r=[],i=1/0,n=1/0,o=-1/0,a=-1/0,s=0,l=e;s<l.length;s+=1){var u=l[s],c=new t.Point(u.x+100,u.y+100);i=Math.min(i,c.x),n=Math.min(n,c.y),o=Math.max(o,c.x),a=Math.max(a,c.y),r.push(c)}for(var p={},h={},f=0,d=this.grid.query(i,n,o,a).concat(this.ignoredGrid.query(i,n,o,a));f<d.length;f+=1){var m=d[f],y=m.key;if(void 0===p[y.bucketInstanceId]&&(p[y.bucketInstanceId]={}),!p[y.bucketInstanceId][y.featureIndex]){var _=[new t.Point(m.x1,m.y1),new t.Point(m.x2,m.y1),new t.Point(m.x2,m.y2),new t.Point(m.x1,m.y2)];t.polygonIntersectsPolygon(r,_)&&(p[y.bucketInstanceId][y.featureIndex]=!0,void 0===h[y.bucketInstanceId]&&(h[y.bucketInstanceId]=[]),h[y.bucketInstanceId].push(y.featureIndex))}}return h},ae.prototype.insertCollisionBox=function(t,e,r,i,n){var o={bucketInstanceId:r,featureIndex:i,collisionGroupID:n};(e?this.ignoredGrid:this.grid).insert(o,t[0],t[1],t[2],t[3])},ae.prototype.insertCollisionCircles=function(t,e,r,i,n){for(var o=e?this.ignoredGrid:this.grid,a={bucketInstanceId:r,featureIndex:i,collisionGroupID:n},s=0;s<t.length;s+=4)o.insertCircle(a,t[s],t[s+1],t[s+2])},ae.prototype.projectAnchor=function(t,e,r){var i=[e,r,0,1];return oe(i,i,t),{perspectiveRatio:.5+this.transform.cameraToCenterDistance/i[3]*.5,cameraDistance:i[3]}},ae.prototype.projectPoint=function(e,r,i){var n=[r,i,0,1];return oe(n,n,e),new t.Point((n[0]/n[3]+1)/2*this.transform.width+100,(-n[1]/n[3]+1)/2*this.transform.height+100)},ae.prototype.projectAndGetPerspectiveRatio=function(e,r,i){var n=[r,i,0,1];return oe(n,n,e),{point:new t.Point((n[0]/n[3]+1)/2*this.transform.width+100,(-n[1]/n[3]+1)/2*this.transform.height+100),perspectiveRatio:.5+this.transform.cameraToCenterDistance/n[3]*.5}},ae.prototype.isOffscreen=function(t,e,r,i){return r<100||t>=this.screenRightBoundary||i<100||e>this.screenBottomBoundary},ae.prototype.isInsideGrid=function(t,e,r,i){return r>=0&&t<this.gridRightBoundary&&i>=0&&e<this.gridBottomBoundary};var ue=function(t,e,r,i){this.opacity=t?Math.max(0,Math.min(1,t.opacity+(t.placed?e:-e))):i&&r?1:0,this.placed=r};ue.prototype.isHidden=function(){return 0===this.opacity&&!this.placed};var ce=function(t,e,r,i,n){this.text=new ue(t?t.text:null,e,r,n),this.icon=new ue(t?t.icon:null,e,i,n)};ce.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var pe=function(t,e,r){this.text=t,this.icon=e,this.skipFade=r},he=function(t,e,r,i,n){this.bucketInstanceId=t,this.featureIndex=e,this.sourceLayerIndex=r,this.bucketIndex=i,this.tileID=n},fe=function(t){this.crossSourceCollisions=t,this.maxGroupID=0,this.collisionGroups={}};function de(e,r,i,n,o){var a=t.getAnchorAlignment(e),s=-(a.horizontalAlign-.5)*r,l=-(a.verticalAlign-.5)*i,u=t.evaluateVariableOffset(e,n);return new t.Point(s+u[0]*o,l+u[1]*o)}function me(e,r,i,n,o,a){var s=e.x1,l=e.x2,u=e.y1,c=e.y2,p=e.anchorPointX,h=e.anchorPointY,f=new t.Point(r,i);return n&&f._rotate(o?a:-a),{x1:s+f.x,y1:u+f.y,x2:l+f.x,y2:c+f.y,anchorPointX:p,anchorPointY:h}}fe.prototype.get=function(t){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[t]){var e=++this.maxGroupID;this.collisionGroups[t]={ID:e,predicate:function(t){return t.collisionGroupID===e}}}return this.collisionGroups[t]};var ye=function(t,e,r,i){this.transform=t.clone(),this.collisionIndex=new ae(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=e,this.retainedQueryData={},this.collisionGroups=new fe(r),this.prevPlacement=i,i&&(i.prevPlacement=void 0),this.placedOrientations={}};function _e(t,e,r,i,n){t.emplaceBack(e?1:0,r?1:0,i||0,n||0),t.emplaceBack(e?1:0,r?1:0,i||0,n||0),t.emplaceBack(e?1:0,r?1:0,i||0,n||0),t.emplaceBack(e?1:0,r?1:0,i||0,n||0)}ye.prototype.placeLayerTile=function(e,r,i,n){var o=r.getBucket(e),a=r.latestFeatureIndex;if(o&&a&&e.id===o.layerIds[0]){var s=r.collisionBoxArray,l=o.layers[0].layout,u=Math.pow(2,this.transform.zoom-r.tileID.overscaledZ),c=r.tileSize/t.EXTENT,p=this.transform.calculatePosMatrix(r.tileID.toUnwrapped()),h=Wt(p,"map"===l.get("text-pitch-alignment"),"map"===l.get("text-rotation-alignment"),this.transform,le(r,1,this.transform.zoom)),f=Wt(p,"map"===l.get("icon-pitch-alignment"),"map"===l.get("icon-rotation-alignment"),this.transform,le(r,1,this.transform.zoom));this.retainedQueryData[o.bucketInstanceId]=new he(o.bucketInstanceId,a,o.sourceLayerIndex,o.index,r.tileID),this.placeLayerBucket(o,p,h,f,u,c,i,r.holdingForFade(),n,s)}},ye.prototype.attemptAnchorPlacement=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d){var m,y=[p.textOffset0,p.textOffset1],_=de(t,r,i,y,n),g=this.collisionIndex.placeCollisionBox(me(e,_.x,_.y,o,a,this.transform.angle),c,s,l,u.predicate);if(!d||0!==this.collisionIndex.placeCollisionBox(me(d,_.x,_.y,o,a,this.transform.angle),c,s,l,u.predicate).box.length)return g.box.length>0?(this.prevPlacement&&this.prevPlacement.variableOffsets[p.crossTileID]&&this.prevPlacement.placements[p.crossTileID]&&this.prevPlacement.placements[p.crossTileID].text&&(m=this.prevPlacement.variableOffsets[p.crossTileID].anchor),this.variableOffsets[p.crossTileID]={textOffset:y,width:r,height:i,anchor:t,textBoxScale:n,prevAnchor:m},this.markUsedJustification(h,t,p,f),h.allowVerticalPlacement&&(this.markUsedOrientation(h,f,p),this.placedOrientations[p.crossTileID]=f),{shift:_,placedGlyphBoxes:g}):void 0},ye.prototype.placeLayerBucket=function(e,r,i,n,o,a,s,l,u,c){var p=this,h=e.layers[0].layout,f=t.evaluateSizeForZoom(e.textSizeData,this.transform.zoom),d=h.get("text-optional"),m=h.get("icon-optional"),y=h.get("text-allow-overlap"),_=h.get("icon-allow-overlap"),g=y&&(_||!e.hasIconData()||m),v=_&&(y||!e.hasTextData()||d),x=this.collisionGroups.get(e.sourceID),b="map"===h.get("text-rotation-alignment"),w="map"===h.get("text-pitch-alignment"),S="none"!==h.get("icon-text-fit"),E="viewport-y"===h.get("symbol-z-order");!e.collisionArrays&&c&&e.deserializeCollisionBoxes(c);var T=function(n,c){if(!u[n.crossTileID])if(l)p.placements[n.crossTileID]=new pe(!1,!1,!1);else{var E,T=!1,I=!1,A=!0,z=null,C={box:null,offscreen:null},k={box:null,offscreen:null},P=null,M=null,L=0,D=0,B=0;c.textFeatureIndex&&(L=c.textFeatureIndex),c.verticalTextFeatureIndex&&(D=c.verticalTextFeatureIndex);var R=c.textBox;if(R){var F=function(r){var i=t.WritingMode.horizontal;if(e.allowVerticalPlacement&&!r&&p.prevPlacement){var o=p.prevPlacement.placedOrientations[n.crossTileID];o&&(p.placedOrientations[n.crossTileID]=o,i=o,p.markUsedOrientation(e,i,n))}return i},O=function(r,i){if(e.allowVerticalPlacement&&n.numVerticalGlyphVertices>0&&c.verticalTextBox)for(var o=0,a=e.writingModes;o<a.length&&(a[o]===t.WritingMode.vertical?(C=i(),k=C):C=r(),!(C&&C.box&&C.box.length));o+=1);else C=r()};if(h.get("text-variable-anchor")){var U=h.get("text-variable-anchor");if(p.prevPlacement&&p.prevPlacement.variableOffsets[n.crossTileID]){var V=p.prevPlacement.variableOffsets[n.crossTileID];U.indexOf(V.anchor)>0&&(U=U.filter((function(t){return t!==V.anchor}))).unshift(V.anchor)}var N=function(t,i,o){for(var s=t.x2-t.x1,l=t.y2-t.y1,u=n.textBoxScale,c=S&&!_?i:null,h={box:[],offscreen:!1},f=y?2*U.length:U.length,d=0;d<f;++d){var m=U[d%U.length],g=d>=U.length,v=p.attemptAnchorPlacement(m,t,s,l,u,b,w,a,r,x,g,n,e,o,c);if(v&&(h=v.placedGlyphBoxes)&&h.box&&h.box.length){T=!0,z=v.shift;break}}return h};O((function(){return N(R,c.iconBox,t.WritingMode.horizontal)}),(function(){var r=c.verticalTextBox,i=C&&C.box&&C.box.length;return e.allowVerticalPlacement&&!i&&n.numVerticalGlyphVertices>0&&r?N(r,c.verticalIconBox,t.WritingMode.vertical):{box:null,offscreen:null}})),C&&(T=C.box,A=C.offscreen);var j=F(C&&C.box);if(!T&&p.prevPlacement){var q=p.prevPlacement.variableOffsets[n.crossTileID];q&&(p.variableOffsets[n.crossTileID]=q,p.markUsedJustification(e,q.anchor,n,j))}}else{var Z=function(t,i){var o=p.collisionIndex.placeCollisionBox(t,h.get("text-allow-overlap"),a,r,x.predicate);return o&&o.box&&o.box.length&&(p.markUsedOrientation(e,i,n),p.placedOrientations[n.crossTileID]=i),o};O((function(){return Z(R,t.WritingMode.horizontal)}),(function(){var r=c.verticalTextBox;return e.allowVerticalPlacement&&n.numVerticalGlyphVertices>0&&r?Z(r,t.WritingMode.vertical):{box:null,offscreen:null}})),F(C&&C.box&&C.box.length)}}T=(E=C)&&E.box&&E.box.length>0,A=E&&E.offscreen;var G=c.textCircles;if(G){var X=e.text.placedSymbolArray.get(n.centerJustifiedTextSymbolIndex),W=t.evaluateSizeForFeature(e.textSizeData,f,X);P=p.collisionIndex.placeCollisionCircles(G,h.get("text-allow-overlap"),o,a,X,e.lineVertexArray,e.glyphOffsetArray,W,r,i,s,w,x.predicate),T=h.get("text-allow-overlap")||P.circles.length>0,A=A&&P.offscreen}if(c.iconFeatureIndex&&(B=c.iconFeatureIndex),c.iconBox){var K=function(t){var e=S&&z?me(t,z.x,z.y,b,w,p.transform.angle):t;return p.collisionIndex.placeCollisionBox(e,h.get("icon-allow-overlap"),a,r,x.predicate)};I=k&&k.box&&k.box.length&&c.verticalIconBox?(M=K(c.verticalIconBox)).box.length>0:(M=K(c.iconBox)).box.length>0,A=A&&M.offscreen}var H=d||0===n.numHorizontalGlyphVertices&&0===n.numVerticalGlyphVertices,J=m||0===n.numIconVertices;H||J?J?H||(I=I&&T):T=I&&T:I=T=I&&T,T&&E&&E.box&&(k&&k.box&&D?p.collisionIndex.insertCollisionBox(E.box,h.get("text-ignore-placement"),e.bucketInstanceId,D,x.ID):p.collisionIndex.insertCollisionBox(E.box,h.get("text-ignore-placement"),e.bucketInstanceId,L,x.ID)),I&&M&&p.collisionIndex.insertCollisionBox(M.box,h.get("icon-ignore-placement"),e.bucketInstanceId,B,x.ID),T&&P&&p.collisionIndex.insertCollisionCircles(P.circles,h.get("text-ignore-placement"),e.bucketInstanceId,L,x.ID),p.placements[n.crossTileID]=new pe(T||g,I||v,A||e.justReloaded),u[n.crossTileID]=!0}};if(E)for(var I=e.getSortedSymbolIndexes(this.transform.angle),A=I.length-1;A>=0;--A){var z=I[A];T(e.symbolInstances.get(z),e.collisionArrays[z])}else for(var C=0;C<e.symbolInstances.length;++C)T(e.symbolInstances.get(C),e.collisionArrays[C]);e.justReloaded=!1},ye.prototype.markUsedJustification=function(e,r,i,n){var o,a={left:i.leftJustifiedTextSymbolIndex,center:i.centerJustifiedTextSymbolIndex,right:i.rightJustifiedTextSymbolIndex};o=n===t.WritingMode.vertical?i.verticalPlacedTextSymbolIndex:a[t.getAnchorJustification(r)];for(var s=0,l=[i.leftJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.rightJustifiedTextSymbolIndex,i.verticalPlacedTextSymbolIndex];s<l.length;s+=1){var u=l[s];u>=0&&(e.text.placedSymbolArray.get(u).crossTileID=o>=0&&u!==o?0:i.crossTileID)}},ye.prototype.markUsedOrientation=function(e,r,i){for(var n=r===t.WritingMode.horizontal||r===t.WritingMode.horizontalOnly?r:0,o=r===t.WritingMode.vertical?r:0,a=0,s=[i.leftJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.rightJustifiedTextSymbolIndex];a<s.length;a+=1){var l=s[a];e.text.placedSymbolArray.get(l).placedOrientation=n}i.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(i.verticalPlacedTextSymbolIndex).placedOrientation=o)},ye.prototype.commit=function(t){this.commitTime=t,this.zoomAtLastRecencyCheck=this.transform.zoom;var e=this.prevPlacement,r=!1;this.prevZoomAdjustment=e?e.zoomAdjustment(this.transform.zoom):0;var i=e?e.symbolFadeChange(t):1,n=e?e.opacities:{},o=e?e.variableOffsets:{},a=e?e.placedOrientations:{};for(var s in this.placements){var l=this.placements[s],u=n[s];u?(this.opacities[s]=new ce(u,i,l.text,l.icon),r=r||l.text!==u.text.placed||l.icon!==u.icon.placed):(this.opacities[s]=new ce(null,i,l.text,l.icon,l.skipFade),r=r||l.text||l.icon)}for(var c in n){var p=n[c];if(!this.opacities[c]){var h=new ce(p,i,!1,!1);h.isHidden()||(this.opacities[c]=h,r=r||p.text.placed||p.icon.placed)}}for(var f in o)this.variableOffsets[f]||!this.opacities[f]||this.opacities[f].isHidden()||(this.variableOffsets[f]=o[f]);for(var d in a)this.placedOrientations[d]||!this.opacities[d]||this.opacities[d].isHidden()||(this.placedOrientations[d]=a[d]);r?this.lastPlacementChangeTime=t:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=e?e.lastPlacementChangeTime:t)},ye.prototype.updateLayerOpacities=function(t,e){for(var r={},i=0,n=e;i<n.length;i+=1){var o=n[i],a=o.getBucket(t);a&&o.latestFeatureIndex&&t.id===a.layerIds[0]&&this.updateBucketOpacities(a,r,o.collisionBoxArray)}},ye.prototype.updateBucketOpacities=function(e,r,i){var n=this;e.hasTextData()&&e.text.opacityVertexArray.clear(),e.hasIconData()&&e.icon.opacityVertexArray.clear(),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear(),e.hasIconCollisionCircleData()&&e.iconCollisionCircle.collisionVertexArray.clear(),e.hasTextCollisionCircleData()&&e.textCollisionCircle.collisionVertexArray.clear();var o=e.layers[0].layout,a=new ce(null,0,!1,!1,!0),s=o.get("text-allow-overlap"),l=o.get("icon-allow-overlap"),u=o.get("text-variable-anchor"),c="map"===o.get("text-rotation-alignment"),p="map"===o.get("text-pitch-alignment"),h="none"!==o.get("icon-text-fit"),f=new ce(null,0,s&&(l||!e.hasIconData()||o.get("icon-optional")),l&&(s||!e.hasTextData()||o.get("text-optional")),!0);!e.collisionArrays&&i&&(e.hasIconCollisionBoxData()||e.hasIconCollisionCircleData()||e.hasTextCollisionBoxData()||e.hasTextCollisionCircleData())&&e.deserializeCollisionBoxes(i);for(var d=function(t,e,r){for(var i=0;i<e/4;i++)t.opacityVertexArray.emplaceBack(r)},m=function(i){var o=e.symbolInstances.get(i),s=o.numHorizontalGlyphVertices,l=o.numVerticalGlyphVertices,m=o.crossTileID,y=r[m],_=n.opacities[m];y?_=a:_||(_=f,n.opacities[m]=_),r[m]=!0;var g=s>0||l>0,v=o.numIconVertices>0,x=n.placedOrientations[o.crossTileID],b=x===t.WritingMode.vertical,w=x===t.WritingMode.horizontal||x===t.WritingMode.horizontalOnly;if(g){var S=Te(_.text),E=b?Ie:S;d(e.text,s,E);var T=w?Ie:S;d(e.text,l,T);var I=_.text.isHidden();[o.rightJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.leftJustifiedTextSymbolIndex].forEach((function(t){t>=0&&(e.text.placedSymbolArray.get(t).hidden=I||b?1:0)})),o.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).hidden=I||w?1:0);var A=n.variableOffsets[o.crossTileID];A&&n.markUsedJustification(e,A.anchor,o,x);var z=n.placedOrientations[o.crossTileID];z&&(n.markUsedJustification(e,"left",o,z),n.markUsedOrientation(e,z,o))}if(v){var C=Te(_.icon),k=!(h&&o.verticalPlacedIconSymbolIndex&&b);if(o.placedIconSymbolIndex>=0){var P=k?C:Ie;d(e.icon,o.numIconVertices,P),e.icon.placedSymbolArray.get(o.placedIconSymbolIndex).hidden=_.icon.isHidden()}if(o.verticalPlacedIconSymbolIndex>=0){var M=k?Ie:C;d(e.icon,o.numVerticalIconVertices,M),e.icon.placedSymbolArray.get(o.verticalPlacedIconSymbolIndex).hidden=_.icon.isHidden()}}if(e.hasIconCollisionBoxData()||e.hasIconCollisionCircleData()||e.hasTextCollisionBoxData()||e.hasTextCollisionCircleData()){var L=e.collisionArrays[i];if(L){var D=new t.Point(0,0);if(L.textBox||L.verticalTextBox){var B=!0;if(u){var R=n.variableOffsets[m];R?(D=de(R.anchor,R.width,R.height,R.textOffset,R.textBoxScale),c&&D._rotate(p?n.transform.angle:-n.transform.angle)):B=!1}L.textBox&&_e(e.textCollisionBox.collisionVertexArray,_.text.placed,!B||b,D.x,D.y),L.verticalTextBox&&_e(e.textCollisionBox.collisionVertexArray,_.text.placed,!B||w,D.x,D.y)}var F=Boolean(!w&&L.verticalIconBox);L.iconBox&&_e(e.iconCollisionBox.collisionVertexArray,_.icon.placed,F,h?D.x:0,h?D.y:0),L.verticalIconBox&&_e(e.iconCollisionBox.collisionVertexArray,_.icon.placed,!F,h?D.x:0,h?D.y:0);var O=L.textCircles;if(O&&e.hasTextCollisionCircleData())for(var U=0;U<O.length;U+=5){var V=y||0===O[U+4];_e(e.textCollisionCircle.collisionVertexArray,_.text.placed,V)}}}},y=0;y<e.symbolInstances.length;y++)m(y);e.sortFeatures(this.transform.angle),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexBuffer&&e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexBuffer&&e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray),e.hasIconCollisionCircleData()&&e.iconCollisionCircle.collisionVertexBuffer&&e.iconCollisionCircle.collisionVertexBuffer.updateData(e.iconCollisionCircle.collisionVertexArray),e.hasTextCollisionCircleData()&&e.textCollisionCircle.collisionVertexBuffer&&e.textCollisionCircle.collisionVertexBuffer.updateData(e.textCollisionCircle.collisionVertexArray)},ye.prototype.symbolFadeChange=function(t){return 0===this.fadeDuration?1:(t-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},ye.prototype.zoomAdjustment=function(t){return Math.max(0,(this.transform.zoom-t)/1.5)},ye.prototype.hasTransitions=function(t){return this.stale||t-this.lastPlacementChangeTime<this.fadeDuration},ye.prototype.stillRecent=function(t,e){var r=this.zoomAtLastRecencyCheck===e?1-this.zoomAdjustment(e):1;return this.zoomAtLastRecencyCheck=e,this.commitTime+this.fadeDuration*r>t},ye.prototype.setStale=function(){this.stale=!0};var ge=Math.pow(2,25),ve=Math.pow(2,24),xe=Math.pow(2,17),be=Math.pow(2,16),we=Math.pow(2,9),Se=Math.pow(2,8),Ee=Math.pow(2,1);function Te(t){if(0===t.opacity&&!t.placed)return 0;if(1===t.opacity&&t.placed)return 4294967295;var e=t.placed?1:0,r=Math.floor(127*t.opacity);return r*ge+e*ve+r*xe+e*be+r*we+e*Se+r*Ee+e}var Ie=0,Ae=function(){this._currentTileIndex=0,this._seenCrossTileIDs={}};Ae.prototype.continuePlacement=function(t,e,r,i,n){for(;this._currentTileIndex<t.length;){var o=t[this._currentTileIndex];if(e.placeLayerTile(i,o,r,this._seenCrossTileIDs),this._currentTileIndex++,n())return!0}};var ze=function(t,e,r,i,n,o,a){this.placement=new ye(t,n,o,a),this._currentPlacementIndex=e.length-1,this._forceFullPlacement=r,this._showCollisionBoxes=i,this._done=!1};ze.prototype.isDone=function(){return this._done},ze.prototype.continuePlacement=function(e,r,i){for(var n=this,o=t.browser.now(),a=function(){var e=t.browser.now()-o;return!n._forceFullPlacement&&e>2};this._currentPlacementIndex>=0;){var s=r[e[this._currentPlacementIndex]],l=this.placement.collisionIndex.transform.zoom;if("symbol"===s.type&&(!s.minzoom||s.minzoom<=l)&&(!s.maxzoom||s.maxzoom>l)){if(this._inProgressLayer||(this._inProgressLayer=new Ae),this._inProgressLayer.continuePlacement(i[s.source],this.placement,this._showCollisionBoxes,s,a))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},ze.prototype.commit=function(t){return this.placement.commit(t),this.placement};var Ce=512/t.EXTENT/2,ke=function(t,e,r){this.tileID=t,this.indexedSymbolInstances={},this.bucketInstanceId=r;for(var i=0;i<e.length;i++){var n=e.get(i),o=n.key;this.indexedSymbolInstances[o]||(this.indexedSymbolInstances[o]=[]),this.indexedSymbolInstances[o].push({crossTileID:n.crossTileID,coord:this.getScaledCoordinates(n,t)})}};ke.prototype.getScaledCoordinates=function(e,r){var i=r.canonical.z-this.tileID.canonical.z,n=Ce/Math.pow(2,i);return{x:Math.floor((r.canonical.x*t.EXTENT+e.anchorX)*n),y:Math.floor((r.canonical.y*t.EXTENT+e.anchorY)*n)}},ke.prototype.findMatches=function(t,e,r){for(var i=this.tileID.canonical.z<e.canonical.z?1:Math.pow(2,this.tileID.canonical.z-e.canonical.z),n=0;n<t.length;n++){var o=t.get(n);if(!o.crossTileID){var a=this.indexedSymbolInstances[o.key];if(a)for(var s=this.getScaledCoordinates(o,e),l=0,u=a;l<u.length;l+=1){var c=u[l];if(Math.abs(c.coord.x-s.x)<=i&&Math.abs(c.coord.y-s.y)<=i&&!r[c.crossTileID]){r[c.crossTileID]=!0,o.crossTileID=c.crossTileID;break}}}}};var Pe=function(){this.maxCrossTileID=0};Pe.prototype.generate=function(){return++this.maxCrossTileID};var Me=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0};Me.prototype.handleWrapJump=function(t){var e=Math.round((t-this.lng)/360);if(0!==e)for(var r in this.indexes){var i=this.indexes[r],n={};for(var o in i){var a=i[o];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+e),n[a.tileID.key]=a}this.indexes[r]=n}this.lng=t},Me.prototype.addBucket=function(t,e,r){if(this.indexes[t.overscaledZ]&&this.indexes[t.overscaledZ][t.key]){if(this.indexes[t.overscaledZ][t.key].bucketInstanceId===e.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(t.overscaledZ,this.indexes[t.overscaledZ][t.key])}for(var i=0;i<e.symbolInstances.length;i++)e.symbolInstances.get(i).crossTileID=0;this.usedCrossTileIDs[t.overscaledZ]||(this.usedCrossTileIDs[t.overscaledZ]={});var n=this.usedCrossTileIDs[t.overscaledZ];for(var o in this.indexes){var a=this.indexes[o];if(Number(o)>t.overscaledZ)for(var s in a){var l=a[s];l.tileID.isChildOf(t)&&l.findMatches(e.symbolInstances,t,n)}else{var u=a[t.scaledTo(Number(o)).key];u&&u.findMatches(e.symbolInstances,t,n)}}for(var c=0;c<e.symbolInstances.length;c++){var p=e.symbolInstances.get(c);p.crossTileID||(p.crossTileID=r.generate(),n[p.crossTileID]=!0)}return void 0===this.indexes[t.overscaledZ]&&(this.indexes[t.overscaledZ]={}),this.indexes[t.overscaledZ][t.key]=new ke(t,e.symbolInstances,e.bucketInstanceId),!0},Me.prototype.removeBucketCrossTileIDs=function(t,e){for(var r in e.indexedSymbolInstances)for(var i=0,n=e.indexedSymbolInstances[r];i<n.length;i+=1){var o=n[i];delete this.usedCrossTileIDs[t][o.crossTileID]}},Me.prototype.removeStaleBuckets=function(t){var e=!1;for(var r in this.indexes){var i=this.indexes[r];for(var n in i)t[i[n].bucketInstanceId]||(this.removeBucketCrossTileIDs(r,i[n]),delete i[n],e=!0)}return e};var Le=function(){this.layerIndexes={},this.crossTileIDs=new Pe,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}};Le.prototype.addLayer=function(t,e,r){var i=this.layerIndexes[t.id];void 0===i&&(i=this.layerIndexes[t.id]=new Me);var n=!1,o={};i.handleWrapJump(r);for(var a=0,s=e;a<s.length;a+=1){var l=s[a],u=l.getBucket(t);u&&t.id===u.layerIds[0]&&(u.bucketInstanceId||(u.bucketInstanceId=++this.maxBucketInstanceId),i.addBucket(l.tileID,u,this.crossTileIDs)&&(n=!0),o[u.bucketInstanceId]=!0)}return i.removeStaleBuckets(o)&&(n=!0),n},Le.prototype.pruneUnusedLayers=function(t){var e={};for(var r in t.forEach((function(t){e[t]=!0})),this.layerIndexes)e[r]||delete this.layerIndexes[r]};var De=function(e,r){return t.emitValidationErrors(e,r&&r.filter((function(t){return"source.canvas"!==t.identifier})))},Be=t.pick(Ot,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData"]),Re=t.pick(Ot,["setCenter","setZoom","setBearing","setPitch"]),Fe=function(e){function r(i,n){var o=this;void 0===n&&(n={}),e.call(this),this.map=i,this.dispatcher=new E((Dt||(Dt=new Lt),Dt),this),this.imageManager=new h,this.imageManager.setEventedParent(this),this.glyphManager=new v(i._requestManager,n.localIdeographFontFamily),this.lineAtlas=new S(256,512),this.crossTileSymbolIndex=new Le,this._layers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ZoomHistory,this._loaded=!1,this._resetUpdates(),this.dispatcher.broadcast("setReferrer",t.getReferrer());var a=this;this._rtlTextPluginCallback=r.registerForPluginStateChange((function(e){var r={pluginStatus:e.pluginStatus,pluginURL:e.pluginURL};a.dispatcher.broadcast("syncRTLPluginState",r,(function(e,r){if(t.triggerPluginCompletionEvent(e),r&&r.every((function(t){return t})))for(var i in a.sourceCaches)a.sourceCaches[i].reload()}))})),this.on("data",(function(t){if("source"===t.dataType&&"metadata"===t.sourceDataType){var e=o.sourceCaches[t.sourceId];if(e){var r=e.getSource();if(r&&r.vectorLayerIds)for(var i in o._layers){var n=o._layers[i];n.source===r.id&&o._validateLayer(n)}}}}))}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.loadURL=function(e,r){var i=this;void 0===r&&(r={}),this.fire(new t.Event("dataloading",{dataType:"style"}));var n="boolean"==typeof r.validate?r.validate:!t.isMapboxURL(e);e=this.map._requestManager.normalizeStyleURL(e,r.accessToken);var o=this.map._requestManager.transformRequest(e,t.ResourceType.Style);this._request=t.getJSON(o,(function(e,r){i._request=null,e?i.fire(new t.ErrorEvent(e)):r&&i._load(r,n)}))},r.prototype.loadJSON=function(e,r){var i=this;void 0===r&&(r={}),this.fire(new t.Event("dataloading",{dataType:"style"})),this._request=t.browser.frame((function(){i._request=null,i._load(e,!1!==r.validate)}))},r.prototype._load=function(e,r){var i=this;if(!r||!De(this,t.validateStyle(e))){for(var n in this._loaded=!0,this.stylesheet=e,e.sources)this.addSource(n,e.sources[n],{validate:!1});e.sprite?this._spriteRequest=function(e,r,i){var n,o,a,s=t.browser.devicePixelRatio>1?"@2x":"",l=t.getJSON(r.transformRequest(r.normalizeSpriteURL(e,s,".json"),t.ResourceType.SpriteJSON),(function(t,e){l=null,a||(a=t,n=e,c())})),u=t.getImage(r.transformRequest(r.normalizeSpriteURL(e,s,".png"),t.ResourceType.SpriteImage),(function(t,e){u=null,a||(a=t,o=e,c())}));function c(){if(a)i(a);else if(n&&o){var e=t.browser.getImageData(o),r={};for(var s in n){var l=n[s],u=l.width,c=l.height,p=l.x,h=l.y,f=l.sdf,d=l.pixelRatio,m=l.stretchX,y=l.stretchY,_=l.content,g=new t.RGBAImage({width:u,height:c});t.RGBAImage.copy(e,g,{x:p,y:h},{x:0,y:0},{width:u,height:c}),r[s]={data:g,pixelRatio:d,sdf:f,stretchX:m,stretchY:y,content:_}}i(null,r)}}return{cancel:function(){l&&(l.cancel(),l=null),u&&(u.cancel(),u=null)}}}(e.sprite,this.map._requestManager,(function(e,r){if(i._spriteRequest=null,e)i.fire(new t.ErrorEvent(e));else if(r)for(var n in r)i.imageManager.addImage(n,r[n]);i.imageManager.setLoaded(!0),i.dispatcher.broadcast("setImages",i.imageManager.listImages()),i.fire(new t.Event("data",{dataType:"style"}))})):this.imageManager.setLoaded(!0),this.glyphManager.setURL(e.glyphs);var o=Ft(this.stylesheet.layers);this._order=o.map((function(t){return t.id})),this._layers={};for(var a=0,s=o;a<s.length;a+=1){var l=s[a];(l=t.createStyleLayer(l)).setEventedParent(this,{layer:{id:l.id}}),this._layers[l.id]=l}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new w(this.stylesheet.light),this.fire(new t.Event("data",{dataType:"style"})),this.fire(new t.Event("style.load"))}},r.prototype._validateLayer=function(e){var r=this.sourceCaches[e.source];if(r){var i=e.sourceLayer;if(i){var n=r.getSource();("geojson"===n.type||n.vectorLayerIds&&-1===n.vectorLayerIds.indexOf(i))&&this.fire(new t.ErrorEvent(new Error('Source layer "'+i+'" does not exist on source "'+n.id+'" as specified by style layer "'+e.id+'"')))}}},r.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var t in this.sourceCaches)if(!this.sourceCaches[t].loaded())return!1;return!!this.imageManager.isLoaded()},r.prototype._serializeLayers=function(t){for(var e=[],r=0,i=t;r<i.length;r+=1){var n=i[r],o=this._layers[n];"custom"!==o.type&&e.push(o.serialize())}return e},r.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var t in this.sourceCaches)if(this.sourceCaches[t].hasTransition())return!0;for(var e in this._layers)if(this._layers[e].hasTransition())return!0;return!1},r.prototype._checkLoaded=function(){if(!this._loaded)throw new Error("Style is not done loading")},r.prototype.update=function(e){if(this._loaded){var r=this._changed;if(this._changed){var i=Object.keys(this._updatedLayers),n=Object.keys(this._removedLayers);for(var o in(i.length||n.length)&&this._updateWorkerLayers(i,n),this._updatedSources){var a=this._updatedSources[o];"reload"===a?this._reloadSource(o):"clear"===a&&this._clearSource(o)}for(var s in this._updateTilesForChangedImages(),this._updatedPaintProps)this._layers[s].updateTransitions(e);this.light.updateTransitions(e),this._resetUpdates()}for(var l in this.sourceCaches)this.sourceCaches[l].used=!1;for(var u=0,c=this._order;u<c.length;u+=1){var p=c[u],h=this._layers[p];h.recalculate(e,this.imageManager.listImages()),!h.isHidden(e.zoom)&&h.source&&(this.sourceCaches[h.source].used=!0)}this.light.recalculate(e),this.z=e.zoom,r&&this.fire(new t.Event("data",{dataType:"style"}))}},r.prototype._updateTilesForChangedImages=function(){var t=Object.keys(this._changedImages);if(t.length){for(var e in this.sourceCaches)this.sourceCaches[e].reloadTilesForDependencies(["icons","patterns"],t);this._changedImages={}}},r.prototype._updateWorkerLayers=function(t,e){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(t),removedIds:e})},r.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}},r.prototype.setState=function(e){var r=this;if(this._checkLoaded(),De(this,t.validateStyle(e)))return!1;(e=t.clone$1(e)).layers=Ft(e.layers);var i=function(e,r){if(!e)return[{command:Ot.setStyle,args:[r]}];var i=[];try{if(!t.deepEqual(e.version,r.version))return[{command:Ot.setStyle,args:[r]}];t.deepEqual(e.center,r.center)||i.push({command:Ot.setCenter,args:[r.center]}),t.deepEqual(e.zoom,r.zoom)||i.push({command:Ot.setZoom,args:[r.zoom]}),t.deepEqual(e.bearing,r.bearing)||i.push({command:Ot.setBearing,args:[r.bearing]}),t.deepEqual(e.pitch,r.pitch)||i.push({command:Ot.setPitch,args:[r.pitch]}),t.deepEqual(e.sprite,r.sprite)||i.push({command:Ot.setSprite,args:[r.sprite]}),t.deepEqual(e.glyphs,r.glyphs)||i.push({command:Ot.setGlyphs,args:[r.glyphs]}),t.deepEqual(e.transition,r.transition)||i.push({command:Ot.setTransition,args:[r.transition]}),t.deepEqual(e.light,r.light)||i.push({command:Ot.setLight,args:[r.light]});var n={},o=[];!function(e,r,i,n){var o;for(o in r=r||{},e=e||{})e.hasOwnProperty(o)&&(r.hasOwnProperty(o)||Vt(o,i,n));for(o in r)r.hasOwnProperty(o)&&(e.hasOwnProperty(o)?t.deepEqual(e[o],r[o])||("geojson"===e[o].type&&"geojson"===r[o].type&&jt(e,r,o)?i.push({command:Ot.setGeoJSONSourceData,args:[o,r[o].data]}):Nt(o,r,i,n)):Ut(o,r,i))}(e.sources,r.sources,o,n);var a=[];e.layers&&e.layers.forEach((function(t){n[t.source]?i.push({command:Ot.removeLayer,args:[t.id]}):a.push(t)})),i=i.concat(o),function(e,r,i){r=r||[];var n,o,a,s,l,u,c,p=(e=e||[]).map(Zt),h=r.map(Zt),f=e.reduce(Gt,{}),d=r.reduce(Gt,{}),m=p.slice(),y=Object.create(null);for(n=0,o=0;n<p.length;n++)a=p[n],d.hasOwnProperty(a)?o++:(i.push({command:Ot.removeLayer,args:[a]}),m.splice(m.indexOf(a,o),1));for(n=0,o=0;n<h.length;n++)a=h[h.length-1-n],m[m.length-1-n]!==a&&(f.hasOwnProperty(a)?(i.push({command:Ot.removeLayer,args:[a]}),m.splice(m.lastIndexOf(a,m.length-o),1)):o++,u=m[m.length-n],i.push({command:Ot.addLayer,args:[d[a],u]}),m.splice(m.length-n,0,a),y[a]=!0);for(n=0;n<h.length;n++)if(s=f[a=h[n]],l=d[a],!y[a]&&!t.deepEqual(s,l))if(t.deepEqual(s.source,l.source)&&t.deepEqual(s["source-layer"],l["source-layer"])&&t.deepEqual(s.type,l.type)){for(c in qt(s.layout,l.layout,i,a,null,Ot.setLayoutProperty),qt(s.paint,l.paint,i,a,null,Ot.setPaintProperty),t.deepEqual(s.filter,l.filter)||i.push({command:Ot.setFilter,args:[a,l.filter]}),t.deepEqual(s.minzoom,l.minzoom)&&t.deepEqual(s.maxzoom,l.maxzoom)||i.push({command:Ot.setLayerZoomRange,args:[a,l.minzoom,l.maxzoom]}),s)s.hasOwnProperty(c)&&"layout"!==c&&"paint"!==c&&"filter"!==c&&"metadata"!==c&&"minzoom"!==c&&"maxzoom"!==c&&(0===c.indexOf("paint.")?qt(s[c],l[c],i,a,c.slice(6),Ot.setPaintProperty):t.deepEqual(s[c],l[c])||i.push({command:Ot.setLayerProperty,args:[a,c,l[c]]}));for(c in l)l.hasOwnProperty(c)&&!s.hasOwnProperty(c)&&"layout"!==c&&"paint"!==c&&"filter"!==c&&"metadata"!==c&&"minzoom"!==c&&"maxzoom"!==c&&(0===c.indexOf("paint.")?qt(s[c],l[c],i,a,c.slice(6),Ot.setPaintProperty):t.deepEqual(s[c],l[c])||i.push({command:Ot.setLayerProperty,args:[a,c,l[c]]}))}else i.push({command:Ot.removeLayer,args:[a]}),u=m[m.lastIndexOf(a)+1],i.push({command:Ot.addLayer,args:[l,u]})}(a,r.layers,i)}catch(t){console.warn("Unable to compute style diff:",t),i=[{command:Ot.setStyle,args:[r]}]}return i}(this.serialize(),e).filter((function(t){return!(t.command in Re)}));if(0===i.length)return!1;var n=i.filter((function(t){return!(t.command in Be)}));if(n.length>0)throw new Error("Unimplemented: "+n.map((function(t){return t.command})).join(", ")+".");return i.forEach((function(t){"setTransition"!==t.command&&r[t.command].apply(r,t.args)})),this.stylesheet=e,!0},r.prototype.addImage=function(e,r){if(this.getImage(e))return this.fire(new t.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(e,r),this._changedImages[e]=!0,this._changed=!0,this.fire(new t.Event("data",{dataType:"style"}))},r.prototype.updateImage=function(t,e){this.imageManager.updateImage(t,e)},r.prototype.getImage=function(t){return this.imageManager.getImage(t)},r.prototype.removeImage=function(e){if(!this.getImage(e))return this.fire(new t.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(e),this._changedImages[e]=!0,this._changed=!0,this.fire(new t.Event("data",{dataType:"style"}))},r.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},r.prototype.addSource=function(e,r,i){var n=this;if(void 0===i&&(i={}),this._checkLoaded(),void 0!==this.sourceCaches[e])throw new Error("There is already a source with this ID");if(!r.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(r).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(r.type)>=0&&this._validate(t.validateStyle.source,"sources."+e,r,null,i))){this.map&&this.map._collectResourceTiming&&(r.collectResourceTiming=!0);var o=this.sourceCaches[e]=new Ct(e,r,this.dispatcher);o.style=this,o.setEventedParent(this,(function(){return{isSourceLoaded:n.loaded(),source:o.serialize(),sourceId:e}})),o.onAdd(this.map),this._changed=!0}},r.prototype.removeSource=function(e){if(this._checkLoaded(),void 0===this.sourceCaches[e])throw new Error("There is no source with this ID");for(var r in this._layers)if(this._layers[r].source===e)return this.fire(new t.ErrorEvent(new Error('Source "'+e+'" cannot be removed while layer "'+r+'" is using it.')));var i=this.sourceCaches[e];delete this.sourceCaches[e],delete this._updatedSources[e],i.fire(new t.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),i.setEventedParent(null),i.clearTiles(),i.onRemove&&i.onRemove(this.map),this._changed=!0},r.prototype.setGeoJSONSourceData=function(t,e){this._checkLoaded(),this.sourceCaches[t].getSource().setData(e),this._changed=!0},r.prototype.getSource=function(t){return this.sourceCaches[t]&&this.sourceCaches[t].getSource()},r.prototype.addLayer=function(e,r,i){void 0===i&&(i={}),this._checkLoaded();var n=e.id;if(this.getLayer(n))this.fire(new t.ErrorEvent(new Error('Layer with id "'+n+'" already exists on this map')));else{var o;if("custom"===e.type){if(De(this,t.validateCustomStyleLayer(e)))return;o=t.createStyleLayer(e)}else{if("object"==typeof e.source&&(this.addSource(n,e.source),e=t.clone$1(e),e=t.extend(e,{source:n})),this._validate(t.validateStyle.layer,"layers."+n,e,{arrayIndex:-1},i))return;o=t.createStyleLayer(e),this._validateLayer(o),o.setEventedParent(this,{layer:{id:n}})}var a=r?this._order.indexOf(r):this._order.length;if(r&&-1===a)this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.')));else{if(this._order.splice(a,0,n),this._layerOrderChanged=!0,this._layers[n]=o,this._removedLayers[n]&&o.source&&"custom"!==o.type){var s=this._removedLayers[n];delete this._removedLayers[n],s.type!==o.type?this._updatedSources[o.source]="clear":(this._updatedSources[o.source]="reload",this.sourceCaches[o.source].pause())}this._updateLayer(o),o.onAdd&&o.onAdd(this.map)}}},r.prototype.moveLayer=function(e,r){if(this._checkLoaded(),this._changed=!0,this._layers[e]){if(e!==r){var i=this._order.indexOf(e);this._order.splice(i,1);var n=r?this._order.indexOf(r):this._order.length;r&&-1===n?this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.'))):(this._order.splice(n,0,e),this._layerOrderChanged=!0)}}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be moved.")))},r.prototype.removeLayer=function(e){this._checkLoaded();var r=this._layers[e];if(r){r.setEventedParent(null);var i=this._order.indexOf(e);this._order.splice(i,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=r,delete this._layers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],r.onRemove&&r.onRemove(this.map)}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be removed.")))},r.prototype.getLayer=function(t){return this._layers[t]},r.prototype.setLayerZoomRange=function(e,r,i){this._checkLoaded();var n=this.getLayer(e);n?n.minzoom===r&&n.maxzoom===i||(null!=r&&(n.minzoom=r),null!=i&&(n.maxzoom=i),this._updateLayer(n)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot have zoom extent.")))},r.prototype.setFilter=function(e,r,i){void 0===i&&(i={}),this._checkLoaded();var n=this.getLayer(e);if(n){if(!t.deepEqual(n.filter,r))return null==r?(n.filter=void 0,void this._updateLayer(n)):void(this._validate(t.validateStyle.filter,"layers."+n.id+".filter",r,null,i)||(n.filter=t.clone$1(r),this._updateLayer(n)))}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be filtered.")))},r.prototype.getFilter=function(e){return t.clone$1(this.getLayer(e).filter)},r.prototype.setLayoutProperty=function(e,r,i,n){void 0===n&&(n={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getLayoutProperty(r),i)||(o.setLayoutProperty(r,i,n),this._updateLayer(o)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getLayoutProperty=function(e,r){var i=this.getLayer(e);if(i)return i.getLayoutProperty(r);this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style.")))},r.prototype.setPaintProperty=function(e,r,i,n){void 0===n&&(n={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getPaintProperty(r),i)||(o.setPaintProperty(r,i,n)&&this._updateLayer(o),this._changed=!0,this._updatedPaintProps[e]=!0):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getPaintProperty=function(t,e){return this.getLayer(t).getPaintProperty(e)},r.prototype.setFeatureState=function(e,r){this._checkLoaded();var i=e.source,n=e.sourceLayer,o=this.sourceCaches[i],a=parseInt(e.id,10);if(void 0!==o){var s=o.getSource().type;"geojson"===s&&n?this.fire(new t.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==s||n?isNaN(a)||a<0?this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided and non-negative."))):o.setFeatureState(n,a,r):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+i+"' does not exist in the map's style.")))},r.prototype.removeFeatureState=function(e,r){this._checkLoaded();var i=e.source,n=this.sourceCaches[i];if(void 0!==n){var o=n.getSource().type,a="vector"===o?e.sourceLayer:void 0,s=parseInt(e.id,10);"vector"!==o||a?void 0!==e.id&&isNaN(s)||s<0?this.fire(new t.ErrorEvent(new Error("The feature id parameter must be non-negative."))):r&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):n.removeFeatureState(a,s,r):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+i+"' does not exist in the map's style.")))},r.prototype.getFeatureState=function(e){this._checkLoaded();var r=e.source,i=e.sourceLayer,n=this.sourceCaches[r],o=parseInt(e.id,10);if(void 0!==n)if("vector"!==n.getSource().type||i){if(!(isNaN(o)||o<0))return n.getFeatureState(i,o);this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided and non-negative.")))}else this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));else this.fire(new t.ErrorEvent(new Error("The source '"+r+"' does not exist in the map's style.")))},r.prototype.getTransition=function(){return t.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},r.prototype.serialize=function(){return t.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:t.mapObject(this.sourceCaches,(function(t){return t.serialize()})),layers:this._serializeLayers(this._order)},(function(t){return void 0!==t}))},r.prototype._updateLayer=function(t){this._updatedLayers[t.id]=!0,t.source&&!this._updatedSources[t.source]&&"raster"!==this.sourceCaches[t.source].getSource().type&&(this._updatedSources[t.source]="reload",this.sourceCaches[t.source].pause()),this._changed=!0},r.prototype._flattenAndSortRenderedFeatures=function(t){for(var e=this,r=function(t){return"fill-extrusion"===e._layers[t].type},i={},n=[],o=this._order.length-1;o>=0;o--){var a=this._order[o];if(r(a)){i[a]=o;for(var s=0,l=t;s<l.length;s+=1){var u=l[s][a];if(u)for(var c=0,p=u;c<p.length;c+=1){var h=p[c];n.push(h)}}}}n.sort((function(t,e){return e.intersectionZ-t.intersectionZ}));for(var f=[],d=this._order.length-1;d>=0;d--){var m=this._order[d];if(r(m))for(var y=n.length-1;y>=0;y--){var _=n[y].feature;if(i[_.layer.id]<d)break;f.push(_),n.pop()}else for(var g=0,v=t;g<v.length;g+=1){var x=v[g][m];if(x)for(var b=0,w=x;b<w.length;b+=1){var S=w[b];f.push(S.feature)}}}return f},r.prototype.queryRenderedFeatures=function(e,r,i){r&&r.filter&&this._validate(t.validateStyle.filter,"queryRenderedFeatures.filter",r.filter,null,r);var n={};if(r&&r.layers){if(!Array.isArray(r.layers))return this.fire(new t.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(var o=0,a=r.layers;o<a.length;o+=1){var s=a[o],l=this._layers[s];if(!l)return this.fire(new t.ErrorEvent(new Error("The layer '"+s+"' does not exist in the map's style and cannot be queried for features."))),[];n[l.source]=!0}}var u=[];for(var c in this.sourceCaches)r.layers&&!n[c]||u.push(R(this.sourceCaches[c],this._layers,e,r,i));return this.placement&&u.push(function(t,e,r,i,n,o){for(var a={},s=n.queryRenderedSymbols(r),l=[],u=0,c=Object.keys(s).map(Number);u<c.length;u+=1){var p=c[u];l.push(o[p])}l.sort(F);for(var h=function(){var e=d[f],r=e.featureIndex.lookupSymbolFeatures(s[e.bucketInstanceId],e.bucketIndex,e.sourceLayerIndex,i.filter,i.layers,t);for(var n in r){var o=a[n]=a[n]||[],l=r[n];l.sort((function(t,r){var i=e.featureSortOrder;if(i){var n=i.indexOf(t.featureIndex);return i.indexOf(r.featureIndex)-n}return r.featureIndex-t.featureIndex}));for(var u=0,c=l;u<c.length;u+=1){var p=c[u];o.push(p)}}},f=0,d=l;f<d.length;f+=1)h();var m=function(r){a[r].forEach((function(i){var n=i.feature,o=t[r],a=e[o.source].getFeatureState(n.layer["source-layer"],n.id);n.source=n.layer.source,n.layer["source-layer"]&&(n.sourceLayer=n.layer["source-layer"]),n.state=a}))};for(var y in a)m(y);return a}(this._layers,this.sourceCaches,e,r,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(u)},r.prototype.querySourceFeatures=function(e,r){r&&r.filter&&this._validate(t.validateStyle.filter,"querySourceFeatures.filter",r.filter,null,r);var i=this.sourceCaches[e];return i?function(t,e){for(var r=t.getRenderableIds().map((function(e){return t.getTileByID(e)})),i=[],n={},o=0;o<r.length;o++){var a=r[o],s=a.tileID.canonical.key;n[s]||(n[s]=!0,a.querySourceFeatures(i,e))}return i}(i,r):[]},r.prototype.addSourceType=function(t,e,i){return r.getSourceType(t)?i(new Error('A source type called "'+t+'" already exists.')):(r.setSourceType(t,e),e.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:t,url:e.workerSourceURL},i):i(null,null))},r.prototype.getLight=function(){return this.light.getLight()},r.prototype.setLight=function(e,r){void 0===r&&(r={}),this._checkLoaded();var i=this.light.getLight(),n=!1;for(var o in e)if(!t.deepEqual(e[o],i[o])){n=!0;break}if(n){var a={now:t.browser.now(),transition:t.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,r),this.light.updateTransitions(a)}},r.prototype._validate=function(e,r,i,n,o){return void 0===o&&(o={}),(!o||!1!==o.validate)&&De(this,e.call(t.validateStyle,t.extend({key:r,style:this.serialize(),value:i,styleSpec:t.styleSpec},n)))},r.prototype._remove=function(){for(var e in this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),t.evented.off("pluginStateChange",this._rtlTextPluginCallback),this._layers)this._layers[e].setEventedParent(null);for(var r in this.sourceCaches)this.sourceCaches[r].clearTiles(),this.sourceCaches[r].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()},r.prototype._clearSource=function(t){this.sourceCaches[t].clearTiles()},r.prototype._reloadSource=function(t){this.sourceCaches[t].resume(),this.sourceCaches[t].reload()},r.prototype._updateSources=function(t){for(var e in this.sourceCaches)this.sourceCaches[e].update(t)},r.prototype._generateCollisionBoxes=function(){for(var t in this.sourceCaches)this._reloadSource(t)},r.prototype._updatePlacement=function(e,r,i,n){for(var o=!1,a=!1,s={},l=0,u=this._order;l<u.length;l+=1){var c=u[l],p=this._layers[c];if("symbol"===p.type){if(!s[p.source]){var h=this.sourceCaches[p.source];s[p.source]=h.getRenderableIds(!0).map((function(t){return h.getTileByID(t)})).sort((function(t,e){return e.tileID.overscaledZ-t.tileID.overscaledZ||(t.tileID.isLessThan(e.tileID)?-1:1)}))}var f=this.crossTileSymbolIndex.addLayer(p,s[p.source],e.center.lng);o=o||f}}this.crossTileSymbolIndex.pruneUnusedLayers(this._order);var d=this._layerOrderChanged||0===i;if((d||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(t.browser.now(),e.zoom))&&(this.pauseablePlacement=new ze(e,this._order,d,r,i,n,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,s),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(t.browser.now()),a=!0),o&&this.pauseablePlacement.placement.setStale()),a||o)for(var m=0,y=this._order;m<y.length;m+=1){var _=y[m],g=this._layers[_];"symbol"===g.type&&this.placement.updateLayerOpacities(g,s[g.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(t.browser.now())},r.prototype._releaseSymbolFadeTiles=function(){for(var t in this.sourceCaches)this.sourceCaches[t].releaseSymbolFadeTiles()},r.prototype.getImages=function(t,e,r){this.imageManager.getImages(e.icons,r),this._updateTilesForChangedImages();var i=this.sourceCaches[e.source];i&&i.setDependencies(e.tileID.key,e.type,e.icons)},r.prototype.getGlyphs=function(t,e,r){this.glyphManager.getGlyphs(e.stacks,r)},r.prototype.getResource=function(e,r,i){return t.makeRequest(r,i)},r}(t.Evented);Fe.getSourceType=function(t){return D[t]},Fe.setSourceType=function(t,e){D[t]=e},Fe.registerForPluginStateChange=t.registerForPluginStateChange;var Oe=t.createLayout([{name:"a_pos",type:"Int16",components:2}]),Ue=pr("#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif","#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}"),Ve=pr("uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Ne=pr("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),je=pr("varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),qe=pr("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Ze=pr("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),Ge=pr("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),Xe=pr("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),We=pr("uniform float u_overscale_factor;varying float v_placed;varying float v_notUsed;varying float v_radius;varying vec2 v_extrude;varying vec2 v_extrude_scale;void main() {float alpha=0.5;vec4 color=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {color=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {color*=.2;}float extrude_scale_length=length(v_extrude_scale);float extrude_length=length(v_extrude)*extrude_scale_length;float stroke_width=15.0*extrude_scale_length/u_overscale_factor;float radius=v_radius*extrude_scale_length;float distance_to_edge=abs(extrude_length-radius);float opacity_t=smoothstep(-stroke_width,0.0,-distance_to_edge);gl_FragColor=opacity_t*color;}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;varying float v_radius;varying vec2 v_extrude;varying vec2 v_extrude_scale;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);highp float padding_factor=1.2;gl_Position.xy+=a_extrude*u_extrude_scale*padding_factor*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;v_radius=abs(a_extrude.y);v_extrude=a_extrude*padding_factor;v_extrude_scale=u_extrude_scale*u_camera_to_center_distance*collision_perspective_ratio;}"),Ke=pr("uniform highp vec4 u_color;void main() {gl_FragColor=u_color;}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),He=pr("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),Je=pr("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),Ye=pr("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec4 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),Qe=pr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec4 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileZoomRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),$e=pr("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),tr=pr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec4 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),er=pr("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),rr=pr("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),ir=pr("uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),nr=pr("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,vec2(v_lineprogress,0.5));gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define MAX_LINE_DISTANCE 32767.0\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),or=pr("uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec4 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileZoomRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x,1.0);float x_b=mod(v_linesofar/pattern_size_b.x,1.0);float y_a=0.5+(v_normal.y*clamp(v_width2.s,0.0,(pattern_size_a.y+2.0)/2.0)/pattern_size_a.y);float y_b=0.5+(v_normal.y*clamp(v_width2.s,0.0,(pattern_size_b.y+2.0)/2.0)/pattern_size_b.y);vec2 pos_a=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,vec2(x_a,y_a));vec2 pos_b=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,vec2(x_b,y_b));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);}"),ar=pr("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),sr=pr("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),lr=pr("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}"),ur=pr("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}"),cr=pr("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}");function pr(t,e){var r=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,i={};return{fragmentSource:t=t.replace(r,(function(t,e,r,n,o){return i[o]=!0,"define"===e?"\n#ifndef HAS_UNIFORM_u_"+o+"\nvarying "+r+" "+n+" "+o+";\n#else\nuniform "+r+" "+n+" u_"+o+";\n#endif\n":"\n#ifdef HAS_UNIFORM_u_"+o+"\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n"})),vertexSource:e=e.replace(r,(function(t,e,r,n,o){var a="float"===n?"vec2":"vec4",s=o.match(/color/)?"color":a;return i[o]?"define"===e?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float u_"+o+"_t;\nattribute "+r+" "+a+" a_"+o+";\nvarying "+r+" "+n+" "+o+";\n#else\nuniform "+r+" "+n+" u_"+o+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+o+" = a_"+o+";\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+o+" = unpack_mix_"+s+"(a_"+o+", u_"+o+"_t);\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n":"define"===e?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float u_"+o+"_t;\nattribute "+r+" "+a+" a_"+o+";\n#else\nuniform "+r+" "+n+" u_"+o+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+r+" "+n+" "+o+" = a_"+o+";\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+r+" "+n+" "+o+" = unpack_mix_"+s+"(a_"+o+", u_"+o+"_t);\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n"}))}}var hr=Object.freeze({__proto__:null,prelude:Ue,background:Ve,backgroundPattern:Ne,circle:je,clippingMask:qe,heatmap:Ze,heatmapTexture:Ge,collisionBox:Xe,collisionCircle:We,debug:Ke,fill:He,fillOutline:Je,fillOutlinePattern:Ye,fillPattern:Qe,fillExtrusion:$e,fillExtrusionPattern:tr,hillshadePrepare:er,hillshade:rr,line:ir,lineGradient:nr,linePattern:or,lineSDF:ar,raster:sr,symbolIcon:lr,symbolSDF:ur,symbolTextAndIcon:cr}),fr=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};fr.prototype.bind=function(t,e,r,i,n,o,a,s){this.context=t;for(var l=this.boundPaintVertexBuffers.length!==i.length,u=0;!l&&u<i.length;u++)this.boundPaintVertexBuffers[u]!==i[u]&&(l=!0);var c=!this.vao||this.boundProgram!==e||this.boundLayoutVertexBuffer!==r||l||this.boundIndexBuffer!==n||this.boundVertexOffset!==o||this.boundDynamicVertexBuffer!==a||this.boundDynamicVertexBuffer2!==s;!t.extVertexArrayObject||c?this.freshBind(e,r,i,n,o,a,s):(t.bindVertexArrayOES.set(this.vao),a&&a.bind(),n&&n.dynamicDraw&&n.bind(),s&&s.bind())},fr.prototype.freshBind=function(t,e,r,i,n,o,a){var s,l=t.numAttributes,u=this.context,c=u.gl;if(u.extVertexArrayObject)this.vao&&this.destroy(),this.vao=u.extVertexArrayObject.createVertexArrayOES(),u.bindVertexArrayOES.set(this.vao),s=0,this.boundProgram=t,this.boundLayoutVertexBuffer=e,this.boundPaintVertexBuffers=r,this.boundIndexBuffer=i,this.boundVertexOffset=n,this.boundDynamicVertexBuffer=o,this.boundDynamicVertexBuffer2=a;else{s=u.currentNumAttributes||0;for(var p=l;p<s;p++)c.disableVertexAttribArray(p)}e.enableAttributes(c,t);for(var h=0,f=r;h<f.length;h+=1)f[h].enableAttributes(c,t);o&&o.enableAttributes(c,t),a&&a.enableAttributes(c,t),e.bind(),e.setVertexAttribPointers(c,t,n);for(var d=0,m=r;d<m.length;d+=1){var y=m[d];y.bind(),y.setVertexAttribPointers(c,t,n)}o&&(o.bind(),o.setVertexAttribPointers(c,t,n)),i&&i.bind(),a&&(a.bind(),a.setVertexAttribPointers(c,t,n)),u.currentNumAttributes=l},fr.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)};var dr=function(t,e,r,i,n){var o=t.gl;this.program=o.createProgram();var a=r.defines();n&&a.push("#define OVERDRAW_INSPECTOR;");var s=a.concat(Ue.fragmentSource,e.fragmentSource).join("\n"),l=a.concat(Ue.vertexSource,e.vertexSource).join("\n"),u=o.createShader(o.FRAGMENT_SHADER);if(o.isContextLost())this.failedToCreate=!0;else{o.shaderSource(u,s),o.compileShader(u),o.attachShader(this.program,u);var c=o.createShader(o.VERTEX_SHADER);if(o.isContextLost())this.failedToCreate=!0;else{o.shaderSource(c,l),o.compileShader(c),o.attachShader(this.program,c);for(var p=r.layoutAttributes||[],h=0;h<p.length;h++)o.bindAttribLocation(this.program,h,p[h].name);o.linkProgram(this.program),this.numAttributes=o.getProgramParameter(this.program,o.ACTIVE_ATTRIBUTES),this.attributes={};for(var f={},d=0;d<this.numAttributes;d++){var m=o.getActiveAttrib(this.program,d);m&&(this.attributes[m.name]=o.getAttribLocation(this.program,m.name))}for(var y=o.getProgramParameter(this.program,o.ACTIVE_UNIFORMS),_=0;_<y;_++){var g=o.getActiveUniform(this.program,_);g&&(f[g.name]=o.getUniformLocation(this.program,g.name))}this.fixedUniforms=i(t,f),this.binderUniforms=r.getUniforms(t,f)}}};function mr(e,r,i){var n=1/le(i,1,r.transform.tileZoom),o=Math.pow(2,i.tileID.overscaledZ),a=i.tileSize*Math.pow(2,r.transform.tileZoom)/o,s=a*(i.tileID.canonical.x+i.tileID.wrap*o),l=a*i.tileID.canonical.y;return{u_image:0,u_texsize:i.imageAtlasTexture.size,u_scale:[t.browser.devicePixelRatio,n,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[s>>16,l>>16],u_pixel_coord_lower:[65535&s,65535&l]}}dr.prototype.draw=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m){var y,_=t.gl;if(!this.failedToCreate){for(var g in t.program.set(this.program),t.setDepthMode(r),t.setStencilMode(i),t.setColorMode(n),t.setCullFace(o),this.fixedUniforms)this.fixedUniforms[g].set(a[g]);f&&f.setUniforms(t,this.binderUniforms,p,{zoom:h});for(var v=(y={},y[_.LINES]=2,y[_.TRIANGLES]=3,y[_.LINE_STRIP]=1,y)[e],x=0,b=c.get();x<b.length;x+=1){var w=b[x],S=w.vaos||(w.vaos={});(S[s]||(S[s]=new fr)).bind(t,this,l,f?f.getPaintVertexBuffers():[],u,w.vertexOffset,d,m),_.drawElements(e,w.primitiveLength*v,_.UNSIGNED_SHORT,w.primitiveOffset*v*2)}}};var yr=function(e,r,i,n){var o=r.style.light,a=o.properties.get("position"),s=[a.x,a.y,a.z],l=t.create$1();"viewport"===o.properties.get("anchor")&&t.fromRotation(l,-r.transform.angle),t.transformMat3(s,s,l);var u=o.properties.get("color");return{u_matrix:e,u_lightpos:s,u_lightintensity:o.properties.get("intensity"),u_lightcolor:[u.r,u.g,u.b],u_vertical_gradient:+i,u_opacity:n}},_r=function(e,r,i,n,o,a,s){return t.extend(yr(e,r,i,n),mr(a,r,s),{u_height_factor:-Math.pow(2,o.overscaledZ)/s.tileSize/8})},gr=function(t){return{u_matrix:t}},vr=function(e,r,i,n){return t.extend(gr(e),mr(i,r,n))},xr=function(t,e){return{u_matrix:t,u_world:e}},br=function(e,r,i,n,o){return t.extend(vr(e,r,i,n),{u_world:o})},wr=function(e,r,i,n){var o,a,s=e.transform;if("map"===n.paint.get("circle-pitch-alignment")){var l=le(i,1,s.zoom);o=!0,a=[l,l]}else o=!1,a=s.pixelsToGLUnits;return{u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+("map"===n.paint.get("circle-pitch-scale")),u_matrix:e.translatePosMatrix(r.posMatrix,i,n.paint.get("circle-translate"),n.paint.get("circle-translate-anchor")),u_pitch_with_map:+o,u_device_pixel_ratio:t.browser.devicePixelRatio,u_extrude_scale:a}},Sr=function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pixels_to_tile_units:new t.Uniform1f(e,r.u_pixels_to_tile_units),u_extrude_scale:new t.Uniform2f(e,r.u_extrude_scale),u_overscale_factor:new t.Uniform1f(e,r.u_overscale_factor)}},Er=function(t,e,r){var i=le(r,1,e.zoom),n=Math.pow(2,e.zoom-r.tileID.overscaledZ),o=r.tileID.overscaleFactor();return{u_matrix:t,u_camera_to_center_distance:e.cameraToCenterDistance,u_pixels_to_tile_units:i,u_extrude_scale:[e.pixelsToGLUnits[0]/(i*n),e.pixelsToGLUnits[1]/(i*n)],u_overscale_factor:o}},Tr=function(t,e){return{u_matrix:t,u_color:e}},Ir=function(t){return{u_matrix:t}},Ar=function(t,e,r,i){return{u_matrix:t,u_extrude_scale:le(e,1,r),u_intensity:i}};function zr(e,r){var i=Math.pow(2,r.canonical.z),n=r.canonical.y;return[new t.MercatorCoordinate(0,n/i).toLngLat().lat,new t.MercatorCoordinate(0,(n+1)/i).toLngLat().lat]}var Cr=function(e,r,i){var n=e.transform;return{u_matrix:Dr(e,r,i),u_ratio:1/le(r,1,n.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_units_to_pixels:[1/n.pixelsToGLUnits[0],1/n.pixelsToGLUnits[1]]}},kr=function(e,r,i){return t.extend(Cr(e,r,i),{u_image:0})},Pr=function(e,r,i,n){var o=e.transform,a=Lr(r,o);return{u_matrix:Dr(e,r,i),u_texsize:r.imageAtlasTexture.size,u_ratio:1/le(r,1,o.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_image:0,u_scale:[t.browser.devicePixelRatio,a,n.fromScale,n.toScale],u_fade:n.t,u_units_to_pixels:[1/o.pixelsToGLUnits[0],1/o.pixelsToGLUnits[1]]}},Mr=function(e,r,i,n,o){var a=e.transform,s=e.lineAtlas,l=Lr(r,a),u="round"===i.layout.get("line-cap"),c=s.getDash(n.from,u),p=s.getDash(n.to,u),h=c.width*o.fromScale,f=p.width*o.toScale;return t.extend(Cr(e,r,i),{u_patternscale_a:[l/h,-c.height/2],u_patternscale_b:[l/f,-p.height/2],u_sdfgamma:s.width/(256*Math.min(h,f)*t.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:c.y,u_tex_y_b:p.y,u_mix:o.t})};function Lr(t,e){return 1/le(t,1,e.tileZoom)}function Dr(t,e,r){return t.translatePosMatrix(e.tileID.posMatrix,e,r.paint.get("line-translate"),r.paint.get("line-translate-anchor"))}var Br=function(t,e,r,i,n){return{u_matrix:t,u_tl_parent:e,u_scale_parent:r,u_buffer_scale:1,u_fade_t:i.mix,u_opacity:i.opacity*n.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:n.paint.get("raster-brightness-min"),u_brightness_high:n.paint.get("raster-brightness-max"),u_saturation_factor:(a=n.paint.get("raster-saturation"),a>0?1-1/(1.001-a):-a),u_contrast_factor:(o=n.paint.get("raster-contrast"),o>0?1/(1-o):1+o),u_spin_weights:Rr(n.paint.get("raster-hue-rotate"))};var o,a};function Rr(t){t*=Math.PI/180;var e=Math.sin(t),r=Math.cos(t);return[(2*r+1)/3,(-Math.sqrt(3)*e-r+1)/3,(Math.sqrt(3)*e-r+1)/3]}var Fr=function(t,e,r,i,n,o,a,s,l,u){var c=n.transform;return{u_is_size_zoom_constant:+("constant"===t||"source"===t),u_is_size_feature_constant:+("constant"===t||"camera"===t),u_size_t:e?e.uSizeT:0,u_size:e?e.uSize:0,u_camera_to_center_distance:c.cameraToCenterDistance,u_pitch:c.pitch/360*2*Math.PI,u_rotate_symbol:+r,u_aspect_ratio:c.width/c.height,u_fade_change:n.options.fadeDuration?n.symbolFadeChange:1,u_matrix:o,u_label_plane_matrix:a,u_coord_matrix:s,u_is_text:+l,u_pitch_with_map:+i,u_texsize:u,u_texture:0}},Or=function(e,r,i,n,o,a,s,l,u,c,p){var h=o.transform;return t.extend(Fr(e,r,i,n,o,a,s,l,u,c),{u_gamma_scale:n?Math.cos(h._pitch)*h.cameraToCenterDistance:1,u_device_pixel_ratio:t.browser.devicePixelRatio,u_is_halo:+p})},Ur=function(e,r,i,n,o,a,s,l,u,c){return t.extend(Or(e,r,i,n,o,a,s,l,!0,u,!0),{u_texsize_icon:c,u_texture_icon:1})},Vr=function(t,e,r){return{u_matrix:t,u_opacity:e,u_color:r}},Nr=function(e,r,i,n,o,a){return t.extend(function(t,e,r,i){var n=r.imageManager.getPattern(t.from.toString()),o=r.imageManager.getPattern(t.to.toString()),a=r.imageManager.getPixelSize(),s=a.width,l=a.height,u=Math.pow(2,i.tileID.overscaledZ),c=i.tileSize*Math.pow(2,r.transform.tileZoom)/u,p=c*(i.tileID.canonical.x+i.tileID.wrap*u),h=c*i.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:n.tl,u_pattern_br_a:n.br,u_pattern_tl_b:o.tl,u_pattern_br_b:o.br,u_texsize:[s,l],u_mix:e.t,u_pattern_size_a:n.displaySize,u_pattern_size_b:o.displaySize,u_scale_a:e.fromScale,u_scale_b:e.toScale,u_tile_units_to_pixels:1/le(i,1,r.transform.tileZoom),u_pixel_coord_upper:[p>>16,h>>16],u_pixel_coord_lower:[65535&p,65535&h]}}(n,a,i,o),{u_matrix:e,u_opacity:r})},jr={fillExtrusion:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_lightpos:new t.Uniform3f(e,r.u_lightpos),u_lightintensity:new t.Uniform1f(e,r.u_lightintensity),u_lightcolor:new t.Uniform3f(e,r.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,r.u_vertical_gradient),u_opacity:new t.Uniform1f(e,r.u_opacity)}},fillExtrusionPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_lightpos:new t.Uniform3f(e,r.u_lightpos),u_lightintensity:new t.Uniform1f(e,r.u_lightintensity),u_lightcolor:new t.Uniform3f(e,r.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,r.u_vertical_gradient),u_height_factor:new t.Uniform1f(e,r.u_height_factor),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade),u_opacity:new t.Uniform1f(e,r.u_opacity)}},fill:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},fillPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},fillOutline:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world)}},fillOutlinePattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},circle:function(e,r){return{u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_scale_with_map:new t.Uniform1i(e,r.u_scale_with_map),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_extrude_scale:new t.Uniform2f(e,r.u_extrude_scale),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},collisionBox:Sr,collisionCircle:Sr,debug:function(e,r){return{u_color:new t.UniformColor(e,r.u_color),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},clippingMask:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},heatmap:function(e,r){return{u_extrude_scale:new t.Uniform1f(e,r.u_extrude_scale),u_intensity:new t.Uniform1f(e,r.u_intensity),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},heatmapTexture:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world),u_image:new t.Uniform1i(e,r.u_image),u_color_ramp:new t.Uniform1i(e,r.u_color_ramp),u_opacity:new t.Uniform1f(e,r.u_opacity)}},hillshade:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_latrange:new t.Uniform2f(e,r.u_latrange),u_light:new t.Uniform2f(e,r.u_light),u_shadow:new t.UniformColor(e,r.u_shadow),u_highlight:new t.UniformColor(e,r.u_highlight),u_accent:new t.UniformColor(e,r.u_accent)}},hillshadePrepare:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_dimension:new t.Uniform2f(e,r.u_dimension),u_zoom:new t.Uniform1f(e,r.u_zoom),u_maxzoom:new t.Uniform1f(e,r.u_maxzoom),u_unpack:new t.Uniform4f(e,r.u_unpack)}},line:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels)}},lineGradient:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels),u_image:new t.Uniform1i(e,r.u_image)}},linePattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_texsize:new t.Uniform2f(e,r.u_texsize),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_image:new t.Uniform1i(e,r.u_image),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},lineSDF:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels),u_patternscale_a:new t.Uniform2f(e,r.u_patternscale_a),u_patternscale_b:new t.Uniform2f(e,r.u_patternscale_b),u_sdfgamma:new t.Uniform1f(e,r.u_sdfgamma),u_image:new t.Uniform1i(e,r.u_image),u_tex_y_a:new t.Uniform1f(e,r.u_tex_y_a),u_tex_y_b:new t.Uniform1f(e,r.u_tex_y_b),u_mix:new t.Uniform1f(e,r.u_mix)}},raster:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_tl_parent:new t.Uniform2f(e,r.u_tl_parent),u_scale_parent:new t.Uniform1f(e,r.u_scale_parent),u_buffer_scale:new t.Uniform1f(e,r.u_buffer_scale),u_fade_t:new t.Uniform1f(e,r.u_fade_t),u_opacity:new t.Uniform1f(e,r.u_opacity),u_image0:new t.Uniform1i(e,r.u_image0),u_image1:new t.Uniform1i(e,r.u_image1),u_brightness_low:new t.Uniform1f(e,r.u_brightness_low),u_brightness_high:new t.Uniform1f(e,r.u_brightness_high),u_saturation_factor:new t.Uniform1f(e,r.u_saturation_factor),u_contrast_factor:new t.Uniform1f(e,r.u_contrast_factor),u_spin_weights:new t.Uniform3f(e,r.u_spin_weights)}},symbolIcon:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,r.u_coord_matrix),u_is_text:new t.Uniform1f(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texture:new t.Uniform1i(e,r.u_texture)}},symbolSDF:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,r.u_coord_matrix),u_is_text:new t.Uniform1f(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texture:new t.Uniform1i(e,r.u_texture),u_gamma_scale:new t.Uniform1f(e,r.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_is_halo:new t.Uniform1f(e,r.u_is_halo)}},symbolTextAndIcon:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,r.u_coord_matrix),u_is_text:new t.Uniform1f(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texsize_icon:new t.Uniform2f(e,r.u_texsize_icon),u_texture:new t.Uniform1i(e,r.u_texture),u_texture_icon:new t.Uniform1i(e,r.u_texture_icon),u_gamma_scale:new t.Uniform1f(e,r.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_is_halo:new t.Uniform1f(e,r.u_is_halo)}},background:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_opacity:new t.Uniform1f(e,r.u_opacity),u_color:new t.UniformColor(e,r.u_color)}},backgroundPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_opacity:new t.Uniform1f(e,r.u_opacity),u_image:new t.Uniform1i(e,r.u_image),u_pattern_tl_a:new t.Uniform2f(e,r.u_pattern_tl_a),u_pattern_br_a:new t.Uniform2f(e,r.u_pattern_br_a),u_pattern_tl_b:new t.Uniform2f(e,r.u_pattern_tl_b),u_pattern_br_b:new t.Uniform2f(e,r.u_pattern_br_b),u_texsize:new t.Uniform2f(e,r.u_texsize),u_mix:new t.Uniform1f(e,r.u_mix),u_pattern_size_a:new t.Uniform2f(e,r.u_pattern_size_a),u_pattern_size_b:new t.Uniform2f(e,r.u_pattern_size_b),u_scale_a:new t.Uniform1f(e,r.u_scale_a),u_scale_b:new t.Uniform1f(e,r.u_scale_b),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_tile_units_to_pixels:new t.Uniform1f(e,r.u_tile_units_to_pixels)}}};function qr(e,r){for(var i=e.sort((function(t,e){return t.tileID.isLessThan(e.tileID)?-1:e.tileID.isLessThan(t.tileID)?1:0})),n=0;n<i.length;n++){var o={},a=i[n],s=i.slice(n+1);Zr(a.tileID.wrapped(),a.tileID,s,new t.OverscaledTileID(0,a.tileID.wrap+1,0,0,0),o),a.setMask(o,r)}}function Zr(e,r,i,n,o){for(var a=0;a<i.length;a++){var s=i[a];if(n.isLessThan(s.tileID))break;if(r.key===s.tileID.key)return;if(s.tileID.isChildOf(r)){for(var l=r.children(1/0),u=0;u<l.length;u++)Zr(e,l[u],i.slice(a),n,o);return}}var c=r.overscaledZ-e.overscaledZ,p=new t.CanonicalTileID(c,r.canonical.x-(e.canonical.x<<c),r.canonical.y-(e.canonical.y<<c));o[p.key]=o[p.key]||p}function Gr(t,e,r,i,n,o,a,s){for(var l=t.context,u=l.gl,c=n?t.useProgram("collisionCircle"):t.useProgram("collisionBox"),p=0;p<i.length;p++){var h=i[p],f=e.getTile(h),d=f.getBucket(r);if(d){var m=n?s?d.textCollisionCircle:d.iconCollisionCircle:s?d.textCollisionBox:d.iconCollisionBox;if(m){var y=h.posMatrix;0===o[0]&&0===o[1]||(y=t.translatePosMatrix(h.posMatrix,f,o,a)),c.draw(l,n?u.TRIANGLES:u.LINES,Et.disabled,Tt.disabled,t.colorModeForRenderPass(),At.disabled,Er(y,t.transform,f),r.id,m.layoutVertexBuffer,m.indexBuffer,m.segments,null,t.transform.zoom,null,null,m.collisionVertexBuffer)}}}}function Xr(t,e,r,i,n,o,a){Gr(t,e,r,i,!1,n,o,a),Gr(t,e,r,i,!0,n,o,a)}var Wr=t.identity(new Float32Array(16));function Kr(e,r,i,n,o,a){var s=t.getAnchorAlignment(e),l=-(s.horizontalAlign-.5)*r,u=-(s.verticalAlign-.5)*i,c=t.evaluateVariableOffset(e,n);return new t.Point((l/o+c[0])*a,(u/o+c[1])*a)}function Hr(e,r,i,n,o,a,s,l,u,c,p){var h=e.text.placedSymbolArray,f=e.text.dynamicLayoutVertexArray,d=e.icon.dynamicLayoutVertexArray,m={};f.clear();for(var y=0;y<h.length;y++){var _=h.get(y),g=e.allowVerticalPlacement&&!_.placedOrientation,v=_.hidden||!_.crossTileID||g?null:n[_.crossTileID];if(v){var x=new t.Point(_.anchorX,_.anchorY),b=Ht(x,i?l:s),w=.5+a.cameraToCenterDistance/b.signedDistanceFromCamera*.5,S=o.evaluateSizeForFeature(e.textSizeData,c,_)*w/t.ONE_EM;i&&(S*=e.tilePixelRatio/u);for(var E=v.width,T=v.height,I=Kr(v.anchor,E,T,v.textOffset,v.textBoxScale,S),A=i?Ht(x.add(I),s).point:b.point.add(r?I.rotate(-a.angle):I),z=e.allowVerticalPlacement&&_.placedOrientation===t.WritingMode.vertical?Math.PI/2:0,C=0;C<_.numGlyphs;C++)t.addDynamicAttributes(f,A,z);p&&_.associatedIconIndex>=0&&(m[_.associatedIconIndex]={shiftedAnchor:A,angle:z})}else ne(_.numGlyphs,f)}if(p){d.clear();for(var k=e.icon.placedSymbolArray,P=0;P<k.length;P++){var M=k.get(P);if(M.hidden)ne(M.numGlyphs,d);else{var L=m[P];if(L)for(var D=0;D<M.numGlyphs;D++)t.addDynamicAttributes(d,L.shiftedAnchor,L.angle);else ne(M.numGlyphs,d)}}e.icon.dynamicLayoutVertexBuffer.updateData(d)}e.text.dynamicLayoutVertexBuffer.updateData(f)}function Jr(t,e,r){return r.iconsInText&&e?"symbolTextAndIcon":t?"symbolSDF":"symbolIcon"}function Yr(e,r,i,n,o,a,s,l,u,c,p,h){for(var f,d,m=e.context,y=m.gl,_=e.transform,g="map"===l,v="map"===u,x=g&&"point"!==i.layout.get("symbol-placement"),b=g&&!v&&!x,w=void 0!==i.layout.get("symbol-sort-key").constantOr(1),S=e.depthModeForSublayer(0,Et.ReadOnly),E=i.layout.get("text-variable-anchor"),T=[],I=0,A=n;I<A.length;I+=1){var z=A[I],C=r.getTile(z),k=C.getBucket(i);if(k){var P=o?k.text:k.icon;if(P&&P.segments.get().length){var M=P.programConfigurations.get(i.id),L=o||k.sdfIcons,D=o?k.textSizeData:k.iconSizeData,B=v||0!==_.pitch;f||(f=e.useProgram(Jr(L,o,k),M),d=t.evaluateSizeForZoom(D,_.zoom));var R=void 0,F=[0,0],O=void 0,U=void 0,V=null,N=void 0;if(o){if(O=C.glyphAtlasTexture,U=y.LINEAR,R=C.glyphAtlasTexture.size,k.iconsInText){F=C.imageAtlasTexture.size,V=C.imageAtlasTexture;var j="composite"===D.kind||"camera"===D.kind;N=B||e.options.rotating||e.options.zooming||j?y.LINEAR:y.NEAREST}}else{var q=1!==i.layout.get("icon-size").constantOr(0)||k.iconsNeedLinear;O=C.imageAtlasTexture,U=L||e.options.rotating||e.options.zooming||q||B?y.LINEAR:y.NEAREST,R=C.imageAtlasTexture.size}var Z=le(C,1,e.transform.zoom),G=Wt(z.posMatrix,v,g,e.transform,Z),X=Kt(z.posMatrix,v,g,e.transform,Z),W=E&&k.hasTextData(),K="none"!==i.layout.get("icon-text-fit")&&W&&k.hasIconData();x&&Yt(k,z.posMatrix,e,o,G,X,v,c);var H=e.translatePosMatrix(z.posMatrix,C,a,s),J=x||o&&E||K?Wr:G,Y=e.translatePosMatrix(X,C,a,s,!0),Q=L&&0!==i.paint.get(o?"text-halo-width":"icon-halo-width").constantOr(1),$={program:f,buffers:P,uniformValues:L?k.iconsInText?Ur(D.kind,d,b,v,e,H,J,Y,R,F):Or(D.kind,d,b,v,e,H,J,Y,o,R,!0):Fr(D.kind,d,b,v,e,H,J,Y,o,R),atlasTexture:O,atlasTextureIcon:V,atlasInterpolation:U,atlasInterpolationIcon:N,isSDF:L,hasHalo:Q};if(w)for(var tt=0,et=P.segments.get();tt<et.length;tt+=1){var rt=et[tt];T.push({segments:new t.SegmentVector([rt]),sortKey:rt.sortKey,state:$})}else T.push({segments:P.segments,sortKey:0,state:$})}}}w&&T.sort((function(t,e){return t.sortKey-e.sortKey}));for(var it=0,nt=T;it<nt.length;it+=1){var ot=nt[it],at=ot.state;if(m.activeTexture.set(y.TEXTURE0),at.atlasTexture.bind(at.atlasInterpolation,y.CLAMP_TO_EDGE),at.atlasTextureIcon&&(m.activeTexture.set(y.TEXTURE1),at.atlasTextureIcon&&at.atlasTextureIcon.bind(at.atlasInterpolationIcon,y.CLAMP_TO_EDGE)),at.isSDF){var st=at.uniformValues;at.hasHalo&&(st.u_is_halo=1,Qr(at.buffers,ot.segments,i,e,at.program,S,p,h,st)),st.u_is_halo=0}Qr(at.buffers,ot.segments,i,e,at.program,S,p,h,at.uniformValues)}}function Qr(t,e,r,i,n,o,a,s,l){var u=i.context,c=u.gl;n.draw(u,c.TRIANGLES,o,a,s,At.disabled,l,r.id,t.layoutVertexBuffer,t.indexBuffer,e,r.paint,i.transform.zoom,t.programConfigurations.get(r.id),t.dynamicLayoutVertexBuffer,t.opacityVertexBuffer)}function $r(t,e,r,i,n,o,a){var s,l,u,c,p,h=t.context.gl,f=r.paint.get("fill-pattern"),d=f&&f.constantOr(1),m=r.getCrossfadeParameters();a?(l=d&&!r.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",s=h.LINES):(l=d?"fillPattern":"fill",s=h.TRIANGLES);for(var y=0,_=i;y<_.length;y+=1){var g=_[y],v=e.getTile(g);if(!d||v.patternsLoaded()){var x=v.getBucket(r);if(x){var b=x.programConfigurations.get(r.id),w=t.useProgram(l,b);d&&(t.context.activeTexture.set(h.TEXTURE0),v.imageAtlasTexture.bind(h.LINEAR,h.CLAMP_TO_EDGE),b.updatePatternPaintBuffers(m));var S=f.constantOr(null);if(S&&v.imageAtlas){var E=v.imageAtlas,T=E.patternPositions[S.to.toString()],I=E.patternPositions[S.from.toString()];T&&I&&b.setConstantPatternPositions(T,I)}var A=t.translatePosMatrix(g.posMatrix,v,r.paint.get("fill-translate"),r.paint.get("fill-translate-anchor"));if(a){c=x.indexBuffer2,p=x.segments2;var z=[h.drawingBufferWidth,h.drawingBufferHeight];u="fillOutlinePattern"===l&&d?br(A,t,m,v,z):xr(A,z)}else c=x.indexBuffer,p=x.segments,u=d?vr(A,t,m,v):gr(A);w.draw(t.context,s,n,t.stencilModeForClipping(g),o,At.disabled,u,r.id,x.layoutVertexBuffer,c,p,r.paint,t.transform.zoom,b)}}}}function ti(t,e,r,i,n,o,a){for(var s=t.context,l=s.gl,u=r.paint.get("fill-extrusion-pattern"),c=u.constantOr(1),p=r.getCrossfadeParameters(),h=r.paint.get("fill-extrusion-opacity"),f=0,d=i;f<d.length;f+=1){var m=d[f],y=e.getTile(m),_=y.getBucket(r);if(_){var g=_.programConfigurations.get(r.id),v=t.useProgram(c?"fillExtrusionPattern":"fillExtrusion",g);c&&(t.context.activeTexture.set(l.TEXTURE0),y.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),g.updatePatternPaintBuffers(p));var x=u.constantOr(null);if(x&&y.imageAtlas){var b=y.imageAtlas,w=b.patternPositions[x.to.toString()],S=b.patternPositions[x.from.toString()];w&&S&&g.setConstantPatternPositions(w,S)}var E=t.translatePosMatrix(m.posMatrix,y,r.paint.get("fill-extrusion-translate"),r.paint.get("fill-extrusion-translate-anchor")),T=r.paint.get("fill-extrusion-vertical-gradient"),I=c?_r(E,t,T,h,m,p,y):yr(E,t,T,h);v.draw(s,s.gl.TRIANGLES,n,o,a,At.backCCW,I,r.id,_.layoutVertexBuffer,_.indexBuffer,_.segments,r.paint,t.transform.zoom,g)}}}function ei(t,e,r,i,n,o){var a=t.context,s=a.gl,l=e.fbo;if(l){var u=t.useProgram("hillshade");a.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,l.colorAttachment.get());var c=function(t,e,r){var i=r.paint.get("hillshade-shadow-color"),n=r.paint.get("hillshade-highlight-color"),o=r.paint.get("hillshade-accent-color"),a=r.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===r.paint.get("hillshade-illumination-anchor")&&(a-=t.transform.angle);var s=!t.options.moving;return{u_matrix:t.transform.calculatePosMatrix(e.tileID.toUnwrapped(),s),u_image:0,u_latrange:zr(0,e.tileID),u_light:[r.paint.get("hillshade-exaggeration"),a],u_shadow:i,u_highlight:n,u_accent:o}}(t,e,r);e.maskedBoundsBuffer&&e.maskedIndexBuffer&&e.segments?u.draw(a,s.TRIANGLES,i,n,o,At.disabled,c,r.id,e.maskedBoundsBuffer,e.maskedIndexBuffer,e.segments):u.draw(a,s.TRIANGLES,i,n,o,At.disabled,c,r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}}function ri(e,r,i,n,o,a,s){var l=e.context,u=l.gl,c=r.dem;if(c&&c.data){var p=c.dim,h=c.stride,f=c.getPixels();if(l.activeTexture.set(u.TEXTURE1),l.pixelStoreUnpackPremultiplyAlpha.set(!1),r.demTexture=r.demTexture||e.getTileTexture(h),r.demTexture){var d=r.demTexture;d.update(f,{premultiply:!1}),d.bind(u.NEAREST,u.CLAMP_TO_EDGE)}else r.demTexture=new t.Texture(l,f,u.RGBA,{premultiply:!1}),r.demTexture.bind(u.NEAREST,u.CLAMP_TO_EDGE);l.activeTexture.set(u.TEXTURE0);var m=r.fbo;if(!m){var y=new t.Texture(l,{width:p,height:p,data:null},u.RGBA);y.bind(u.LINEAR,u.CLAMP_TO_EDGE),(m=r.fbo=l.createFramebuffer(p,p)).colorAttachment.set(y.texture)}l.bindFramebuffer.set(m.framebuffer),l.viewport.set([0,0,p,p]),e.useProgram("hillshadePrepare").draw(l,u.TRIANGLES,o,a,s,At.disabled,function(e,r,i){var n=r.stride,o=t.create();return t.ortho(o,0,t.EXTENT,-t.EXTENT,0,0,1),t.translate(o,o,[0,-t.EXTENT,0]),{u_matrix:o,u_image:1,u_dimension:[n,n],u_zoom:e.overscaledZ,u_maxzoom:i,u_unpack:r.getUnpackVector()}}(r.tileID,c,n),i.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),r.needsHillshadePrepare=!1}}function ii(e,r,i,n,o){var a=n.paint.get("raster-fade-duration");if(a>0){var s=t.browser.now(),l=(s-e.timeAdded)/a,u=r?(s-r.timeAdded)/a:-1,c=i.getSource(),p=o.coveringZoomLevel({tileSize:c.tileSize,roundZoom:c.roundZoom}),h=!r||Math.abs(r.tileID.overscaledZ-p)>Math.abs(e.tileID.overscaledZ-p),f=h&&e.refreshedUponExpiration?1:t.clamp(h?l:1-u,0,1);return e.refreshedUponExpiration&&l>=1&&(e.refreshedUponExpiration=!1),r?{opacity:1,mix:1-f}:{opacity:f,mix:0}}return{opacity:1,mix:0}}function ni(e,r,i){var n=e.context,o=n.gl,a=i.posMatrix,s=e.useProgram("debug"),l=Et.disabled,u=Tt.disabled,c=e.colorModeForRenderPass(),p="$debug";s.draw(n,o.LINE_STRIP,l,u,c,At.disabled,Tr(a,t.Color.red),p,e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);var h=r.getTileByID(i.key).latestRawTileData,f=h&&h.byteLength||0,d=Math.floor(f/1024),m=r.getTile(i).tileSize,y=512/Math.min(m,512),_=i.canonical.toString();i.overscaledZ!==i.canonical.z&&(_+=" => "+i.overscaledZ);for(var g=function(t,e,r,i){i=i||1;var n,o,a,s,l,u,c,p,h=[];for(n=0,o=t.length;n<o;n++)if(l=oi[t[n]]){for(p=null,a=0,s=l[1].length;a<s;a+=2)-1===l[1][a]&&-1===l[1][a+1]?p=null:(u=e+l[1][a]*i,c=r-l[1][a+1]*i,p&&h.push(p.x,p.y,u,c),p={x:u,y:c});e+=l[0]*i}return h}(_+" "+d+"kb",50,200*y,5*y),v=new t.StructArrayLayout2i4,x=new t.StructArrayLayout2ui4,b=0;b<g.length;b+=2)v.emplaceBack(g[b],g[b+1]),x.emplaceBack(b,b+1);for(var w=n.createVertexBuffer(v,Oe.members),S=n.createIndexBuffer(x),E=t.SegmentVector.simpleSegment(0,0,v.length/2,v.length/2),T=t.EXTENT/(Math.pow(2,e.transform.zoom-i.overscaledZ)*m*y),I=[],A=-1;A<=1;A++)for(var z=-1;z<=1&&(0!==A||0!==z);z++)I.push([A,z]);for(var C=0;C<I.length;C++){var k=I[C];s.draw(n,o.LINES,l,u,c,At.disabled,Tr(t.translate([],a,[T*k[0],T*k[1],0]),t.Color.white),p,w,S,E)}s.draw(n,o.LINES,l,u,c,At.disabled,Tr(a,t.Color.black),p,w,S,E),w.destroy(),S.destroy(),E.destroy()}var oi={" ":[16,[]],"!":[10,[5,21,5,7,-1,-1,5,2,4,1,5,0,6,1,5,2]],'"':[16,[4,21,4,14,-1,-1,12,21,12,14]],"#":[21,[11,25,4,-7,-1,-1,17,25,10,-7,-1,-1,4,12,18,12,-1,-1,3,6,17,6]],$:[20,[8,25,8,-4,-1,-1,12,25,12,-4,-1,-1,17,18,15,20,12,21,8,21,5,20,3,18,3,16,4,14,5,13,7,12,13,10,15,9,16,8,17,6,17,3,15,1,12,0,8,0,5,1,3,3]],"%":[24,[21,21,3,0,-1,-1,8,21,10,19,10,17,9,15,7,14,5,14,3,16,3,18,4,20,6,21,8,21,10,20,13,19,16,19,19,20,21,21,-1,-1,17,7,15,6,14,4,14,2,16,0,18,0,20,1,21,3,21,5,19,7,17,7]],"&":[26,[23,12,23,13,22,14,21,14,20,13,19,11,17,6,15,3,13,1,11,0,7,0,5,1,4,2,3,4,3,6,4,8,5,9,12,13,13,14,14,16,14,18,13,20,11,21,9,20,8,18,8,16,9,13,11,10,16,3,18,1,20,0,22,0,23,1,23,2]],"'":[10,[5,19,4,20,5,21,6,20,6,18,5,16,4,15]],"(":[14,[11,25,9,23,7,20,5,16,4,11,4,7,5,2,7,-2,9,-5,11,-7]],")":[14,[3,25,5,23,7,20,9,16,10,11,10,7,9,2,7,-2,5,-5,3,-7]],"*":[16,[8,21,8,9,-1,-1,3,18,13,12,-1,-1,13,18,3,12]],"+":[26,[13,18,13,0,-1,-1,4,9,22,9]],",":[10,[6,1,5,0,4,1,5,2,6,1,6,-1,5,-3,4,-4]],"-":[26,[4,9,22,9]],".":[10,[5,2,4,1,5,0,6,1,5,2]],"/":[22,[20,25,2,-7]],0:[20,[9,21,6,20,4,17,3,12,3,9,4,4,6,1,9,0,11,0,14,1,16,4,17,9,17,12,16,17,14,20,11,21,9,21]],1:[20,[6,17,8,18,11,21,11,0]],2:[20,[4,16,4,17,5,19,6,20,8,21,12,21,14,20,15,19,16,17,16,15,15,13,13,10,3,0,17,0]],3:[20,[5,21,16,21,10,13,13,13,15,12,16,11,17,8,17,6,16,3,14,1,11,0,8,0,5,1,4,2,3,4]],4:[20,[13,21,3,7,18,7,-1,-1,13,21,13,0]],5:[20,[15,21,5,21,4,12,5,13,8,14,11,14,14,13,16,11,17,8,17,6,16,3,14,1,11,0,8,0,5,1,4,2,3,4]],6:[20,[16,18,15,20,12,21,10,21,7,20,5,17,4,12,4,7,5,3,7,1,10,0,11,0,14,1,16,3,17,6,17,7,16,10,14,12,11,13,10,13,7,12,5,10,4,7]],7:[20,[17,21,7,0,-1,-1,3,21,17,21]],8:[20,[8,21,5,20,4,18,4,16,5,14,7,13,11,12,14,11,16,9,17,7,17,4,16,2,15,1,12,0,8,0,5,1,4,2,3,4,3,7,4,9,6,11,9,12,13,13,15,14,16,16,16,18,15,20,12,21,8,21]],9:[20,[16,14,15,11,13,9,10,8,9,8,6,9,4,11,3,14,3,15,4,18,6,20,9,21,10,21,13,20,15,18,16,14,16,9,15,4,13,1,10,0,8,0,5,1,4,3]],":":[10,[5,14,4,13,5,12,6,13,5,14,-1,-1,5,2,4,1,5,0,6,1,5,2]],";":[10,[5,14,4,13,5,12,6,13,5,14,-1,-1,6,1,5,0,4,1,5,2,6,1,6,-1,5,-3,4,-4]],"<":[24,[20,18,4,9,20,0]],"=":[26,[4,12,22,12,-1,-1,4,6,22,6]],">":[24,[4,18,20,9,4,0]],"?":[18,[3,16,3,17,4,19,5,20,7,21,11,21,13,20,14,19,15,17,15,15,14,13,13,12,9,10,9,7,-1,-1,9,2,8,1,9,0,10,1,9,2]],"@":[27,[18,13,17,15,15,16,12,16,10,15,9,14,8,11,8,8,9,6,11,5,14,5,16,6,17,8,-1,-1,12,16,10,14,9,11,9,8,10,6,11,5,-1,-1,18,16,17,8,17,6,19,5,21,5,23,7,24,10,24,12,23,15,22,17,20,19,18,20,15,21,12,21,9,20,7,19,5,17,4,15,3,12,3,9,4,6,5,4,7,2,9,1,12,0,15,0,18,1,20,2,21,3,-1,-1,19,16,18,8,18,6,19,5]],A:[18,[9,21,1,0,-1,-1,9,21,17,0,-1,-1,4,7,14,7]],B:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,15,17,13,16,12,13,11,-1,-1,4,11,13,11,16,10,17,9,18,7,18,4,17,2,16,1,13,0,4,0]],C:[21,[18,16,17,18,15,20,13,21,9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5]],D:[21,[4,21,4,0,-1,-1,4,21,11,21,14,20,16,18,17,16,18,13,18,8,17,5,16,3,14,1,11,0,4,0]],E:[19,[4,21,4,0,-1,-1,4,21,17,21,-1,-1,4,11,12,11,-1,-1,4,0,17,0]],F:[18,[4,21,4,0,-1,-1,4,21,17,21,-1,-1,4,11,12,11]],G:[21,[18,16,17,18,15,20,13,21,9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,18,8,-1,-1,13,8,18,8]],H:[22,[4,21,4,0,-1,-1,18,21,18,0,-1,-1,4,11,18,11]],I:[8,[4,21,4,0]],J:[16,[12,21,12,5,11,2,10,1,8,0,6,0,4,1,3,2,2,5,2,7]],K:[21,[4,21,4,0,-1,-1,18,21,4,7,-1,-1,9,12,18,0]],L:[17,[4,21,4,0,-1,-1,4,0,16,0]],M:[24,[4,21,4,0,-1,-1,4,21,12,0,-1,-1,20,21,12,0,-1,-1,20,21,20,0]],N:[22,[4,21,4,0,-1,-1,4,21,18,0,-1,-1,18,21,18,0]],O:[22,[9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,19,8,19,13,18,16,17,18,15,20,13,21,9,21]],P:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,14,17,12,16,11,13,10,4,10]],Q:[22,[9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,19,8,19,13,18,16,17,18,15,20,13,21,9,21,-1,-1,12,4,18,-2]],R:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,15,17,13,16,12,13,11,4,11,-1,-1,11,11,18,0]],S:[20,[17,18,15,20,12,21,8,21,5,20,3,18,3,16,4,14,5,13,7,12,13,10,15,9,16,8,17,6,17,3,15,1,12,0,8,0,5,1,3,3]],T:[16,[8,21,8,0,-1,-1,1,21,15,21]],U:[22,[4,21,4,6,5,3,7,1,10,0,12,0,15,1,17,3,18,6,18,21]],V:[18,[1,21,9,0,-1,-1,17,21,9,0]],W:[24,[2,21,7,0,-1,-1,12,21,7,0,-1,-1,12,21,17,0,-1,-1,22,21,17,0]],X:[20,[3,21,17,0,-1,-1,17,21,3,0]],Y:[18,[1,21,9,11,9,0,-1,-1,17,21,9,11]],Z:[20,[17,21,3,0,-1,-1,3,21,17,21,-1,-1,3,0,17,0]],"[":[14,[4,25,4,-7,-1,-1,5,25,5,-7,-1,-1,4,25,11,25,-1,-1,4,-7,11,-7]],"\\":[14,[0,21,14,-3]],"]":[14,[9,25,9,-7,-1,-1,10,25,10,-7,-1,-1,3,25,10,25,-1,-1,3,-7,10,-7]],"^":[16,[6,15,8,18,10,15,-1,-1,3,12,8,17,13,12,-1,-1,8,17,8,0]],_:[16,[0,-2,16,-2]],"`":[10,[6,21,5,20,4,18,4,16,5,15,6,16,5,17]],a:[19,[15,14,15,0,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],b:[19,[4,21,4,0,-1,-1,4,11,6,13,8,14,11,14,13,13,15,11,16,8,16,6,15,3,13,1,11,0,8,0,6,1,4,3]],c:[18,[15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],d:[19,[15,21,15,0,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],e:[18,[3,8,15,8,15,10,14,12,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],f:[12,[10,21,8,21,6,20,5,17,5,0,-1,-1,2,14,9,14]],g:[19,[15,14,15,-2,14,-5,13,-6,11,-7,8,-7,6,-6,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],h:[19,[4,21,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0]],i:[8,[3,21,4,20,5,21,4,22,3,21,-1,-1,4,14,4,0]],j:[10,[5,21,6,20,7,21,6,22,5,21,-1,-1,6,14,6,-3,5,-6,3,-7,1,-7]],k:[17,[4,21,4,0,-1,-1,14,14,4,4,-1,-1,8,8,15,0]],l:[8,[4,21,4,0]],m:[30,[4,14,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0,-1,-1,15,10,18,13,20,14,23,14,25,13,26,10,26,0]],n:[19,[4,14,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0]],o:[19,[8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3,16,6,16,8,15,11,13,13,11,14,8,14]],p:[19,[4,14,4,-7,-1,-1,4,11,6,13,8,14,11,14,13,13,15,11,16,8,16,6,15,3,13,1,11,0,8,0,6,1,4,3]],q:[19,[15,14,15,-7,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],r:[13,[4,14,4,0,-1,-1,4,8,5,11,7,13,9,14,12,14]],s:[17,[14,11,13,13,10,14,7,14,4,13,3,11,4,9,6,8,11,7,13,6,14,4,14,3,13,1,10,0,7,0,4,1,3,3]],t:[12,[5,21,5,4,6,1,8,0,10,0,-1,-1,2,14,9,14]],u:[19,[4,14,4,4,5,1,7,0,10,0,12,1,15,4,-1,-1,15,14,15,0]],v:[16,[2,14,8,0,-1,-1,14,14,8,0]],w:[22,[3,14,7,0,-1,-1,11,14,7,0,-1,-1,11,14,15,0,-1,-1,19,14,15,0]],x:[17,[3,14,14,0,-1,-1,14,14,3,0]],y:[16,[2,14,8,0,-1,-1,14,14,8,0,6,-4,4,-6,2,-7,1,-7]],z:[17,[14,14,3,0,-1,-1,3,14,14,14,-1,-1,3,0,14,0]],"{":[14,[9,25,7,24,6,23,5,21,5,19,6,17,7,16,8,14,8,12,6,10,-1,-1,7,24,6,22,6,20,7,18,8,17,9,15,9,13,8,11,4,9,8,7,9,5,9,3,8,1,7,0,6,-2,6,-4,7,-6,-1,-1,6,8,8,6,8,4,7,2,6,1,5,-1,5,-3,6,-5,7,-6,9,-7]],"|":[8,[4,25,4,-7]],"}":[14,[5,25,7,24,8,23,9,21,9,19,8,17,7,16,6,14,6,12,8,10,-1,-1,7,24,8,22,8,20,7,18,6,17,5,15,5,13,6,11,10,9,6,7,5,5,5,3,6,1,7,0,8,-2,8,-4,7,-6,-1,-1,8,8,6,6,6,4,7,2,8,1,9,-1,9,-3,8,-5,7,-6,5,-7]],"~":[24,[3,6,3,8,4,11,6,12,8,12,10,11,14,8,16,7,18,7,20,8,21,10,-1,-1,3,8,4,10,6,11,8,11,10,10,14,7,16,6,18,6,20,7,21,10,21,12]]},ai={symbol:function(e,r,i,n,o){if("translucent"===e.renderPass){var a=Tt.disabled,s=e.colorModeForRenderPass();i.layout.get("text-variable-anchor")&&function(e,r,i,n,o,a,s){for(var l=r.transform,u="map"===o,c="map"===a,p=0,h=e;p<h.length;p+=1){var f=h[p],d=n.getTile(f),m=d.getBucket(i);if(m&&m.text&&m.text.segments.get().length){var y=m.textSizeData,_=t.evaluateSizeForZoom(y,l.zoom),g=le(d,1,r.transform.zoom),v=Wt(f.posMatrix,c,u,r.transform,g),x="none"!==i.layout.get("icon-text-fit")&&m.hasIconData();if(_){var b=Math.pow(2,l.zoom-d.tileID.overscaledZ);Hr(m,u,c,s,t.symbolSize,l,v,f.posMatrix,b,_,x)}}}}(n,e,i,r,i.layout.get("text-rotation-alignment"),i.layout.get("text-pitch-alignment"),o),0!==i.paint.get("icon-opacity").constantOr(1)&&Yr(e,r,i,n,!1,i.paint.get("icon-translate"),i.paint.get("icon-translate-anchor"),i.layout.get("icon-rotation-alignment"),i.layout.get("icon-pitch-alignment"),i.layout.get("icon-keep-upright"),a,s),0!==i.paint.get("text-opacity").constantOr(1)&&Yr(e,r,i,n,!0,i.paint.get("text-translate"),i.paint.get("text-translate-anchor"),i.layout.get("text-rotation-alignment"),i.layout.get("text-pitch-alignment"),i.layout.get("text-keep-upright"),a,s),r.map.showCollisionBoxes&&(Xr(e,r,i,n,i.paint.get("text-translate"),i.paint.get("text-translate-anchor"),!0),Xr(e,r,i,n,i.paint.get("icon-translate"),i.paint.get("icon-translate-anchor"),!1))}},circle:function(e,r,i,n){if("translucent"===e.renderPass){var o=i.paint.get("circle-opacity"),a=i.paint.get("circle-stroke-width"),s=i.paint.get("circle-stroke-opacity"),l=void 0!==i.layout.get("circle-sort-key").constantOr(1);if(0!==o.constantOr(1)||0!==a.constantOr(1)&&0!==s.constantOr(1)){for(var u=e.context,c=u.gl,p=e.depthModeForSublayer(0,Et.ReadOnly),h=Tt.disabled,f=e.colorModeForRenderPass(),d=[],m=0;m<n.length;m++){var y=n[m],_=r.getTile(y),g=_.getBucket(i);if(g){var v=g.programConfigurations.get(i.id),x={programConfiguration:v,program:e.useProgram("circle",v),layoutVertexBuffer:g.layoutVertexBuffer,indexBuffer:g.indexBuffer,uniformValues:wr(e,y,_,i)};if(l)for(var b=0,w=g.segments.get();b<w.length;b+=1){var S=w[b];d.push({segments:new t.SegmentVector([S]),sortKey:S.sortKey,state:x})}else d.push({segments:g.segments,sortKey:0,state:x})}}l&&d.sort((function(t,e){return t.sortKey-e.sortKey}));for(var E=0,T=d;E<T.length;E+=1){var I=T[E],A=I.state,z=A.programConfiguration,C=A.program,k=A.layoutVertexBuffer,P=A.indexBuffer,M=A.uniformValues,L=I.segments;C.draw(u,c.TRIANGLES,p,h,f,At.disabled,M,i.id,k,P,L,i.paint,e.transform.zoom,z)}}}},heatmap:function(e,r,i,n){if(0!==i.paint.get("heatmap-opacity"))if("offscreen"===e.renderPass){var o=e.context,a=o.gl,s=e.depthModeForSublayer(0,Et.ReadOnly),l=Tt.disabled,u=new It([a.ONE,a.ONE],t.Color.transparent,[!0,!0,!0,!0]);!function(t,e,r){var i=t.gl;t.activeTexture.set(i.TEXTURE1),t.viewport.set([0,0,e.width/4,e.height/4]);var n=r.heatmapFbo;if(n)i.bindTexture(i.TEXTURE_2D,n.colorAttachment.get()),t.bindFramebuffer.set(n.framebuffer);else{var o=i.createTexture();i.bindTexture(i.TEXTURE_2D,o),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.LINEAR),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.LINEAR),n=r.heatmapFbo=t.createFramebuffer(e.width/4,e.height/4),function t(e,r,i,n){var o=e.gl;o.texImage2D(o.TEXTURE_2D,0,o.RGBA,r.width/4,r.height/4,0,o.RGBA,e.extTextureHalfFloat?e.extTextureHalfFloat.HALF_FLOAT_OES:o.UNSIGNED_BYTE,null),n.colorAttachment.set(i),e.extTextureHalfFloat&&o.checkFramebufferStatus(o.FRAMEBUFFER)!==o.FRAMEBUFFER_COMPLETE&&(e.extTextureHalfFloat=null,n.colorAttachment.setDirty(),t(e,r,i,n))}(t,e,o,n)}}(o,e,i),o.clear({color:t.Color.transparent});for(var c=0;c<n.length;c++){var p=n[c];if(!r.hasRenderableParent(p)){var h=r.getTile(p),f=h.getBucket(i);if(f){var d=f.programConfigurations.get(i.id),m=e.useProgram("heatmap",d),y=e.transform.zoom;m.draw(o,a.TRIANGLES,s,l,u,At.disabled,Ar(p.posMatrix,h,y,i.paint.get("heatmap-intensity")),i.id,f.layoutVertexBuffer,f.indexBuffer,f.segments,i.paint,e.transform.zoom,d)}}}o.viewport.set([0,0,e.width,e.height])}else"translucent"===e.renderPass&&(e.context.setColorMode(e.colorModeForRenderPass()),function(e,r){var i=e.context,n=i.gl,o=r.heatmapFbo;if(o){i.activeTexture.set(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,o.colorAttachment.get()),i.activeTexture.set(n.TEXTURE1);var a=r.colorRampTexture;a||(a=r.colorRampTexture=new t.Texture(i,r.colorRamp,n.RGBA)),a.bind(n.LINEAR,n.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(i,n.TRIANGLES,Et.disabled,Tt.disabled,e.colorModeForRenderPass(),At.disabled,function(e,r,i,n){var o=t.create();t.ortho(o,0,e.width,e.height,0,0,1);var a=e.context.gl;return{u_matrix:o,u_world:[a.drawingBufferWidth,a.drawingBufferHeight],u_image:i,u_color_ramp:n,u_opacity:r.paint.get("heatmap-opacity")}}(e,r,0,1),r.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,r.paint,e.transform.zoom)}}(e,i))},line:function(e,r,i,n){if("translucent"===e.renderPass){var o=i.paint.get("line-opacity"),a=i.paint.get("line-width");if(0!==o.constantOr(1)&&0!==a.constantOr(1)){var s=e.depthModeForSublayer(0,Et.ReadOnly),l=e.colorModeForRenderPass(),u=i.paint.get("line-dasharray"),c=i.paint.get("line-pattern"),p=c.constantOr(1),h=i.paint.get("line-gradient"),f=i.getCrossfadeParameters(),d=u?"lineSDF":p?"linePattern":h?"lineGradient":"line",m=e.context,y=m.gl,_=!0;if(h){m.activeTexture.set(y.TEXTURE0);var g=i.gradientTexture;if(!i.gradient)return;g||(g=i.gradientTexture=new t.Texture(m,i.gradient,y.RGBA)),g.bind(y.LINEAR,y.CLAMP_TO_EDGE)}for(var v=0,x=n;v<x.length;v+=1){var b=x[v],w=r.getTile(b);if(!p||w.patternsLoaded()){var S=w.getBucket(i);if(S){var E=S.programConfigurations.get(i.id),T=e.context.program.get(),I=e.useProgram(d,E),A=_||I.program!==T,z=c.constantOr(null);if(z&&w.imageAtlas){var C=w.imageAtlas,k=C.patternPositions[z.to.toString()],P=C.patternPositions[z.from.toString()];k&&P&&E.setConstantPatternPositions(k,P)}var M=u?Mr(e,w,i,u,f):p?Pr(e,w,i,f):h?kr(e,w,i):Cr(e,w,i);u&&(A||e.lineAtlas.dirty)?(m.activeTexture.set(y.TEXTURE0),e.lineAtlas.bind(m)):p&&(m.activeTexture.set(y.TEXTURE0),w.imageAtlasTexture.bind(y.LINEAR,y.CLAMP_TO_EDGE),E.updatePatternPaintBuffers(f)),I.draw(m,y.TRIANGLES,s,e.stencilModeForClipping(b),l,At.disabled,M,i.id,S.layoutVertexBuffer,S.indexBuffer,S.segments,i.paint,e.transform.zoom,E),_=!1}}}}}},fill:function(e,r,i,n){var o=i.paint.get("fill-color"),a=i.paint.get("fill-opacity");if(0!==a.constantOr(1)){var s=e.colorModeForRenderPass(),l=i.paint.get("fill-pattern"),u=e.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===o.constantOr(t.Color.transparent).a&&1===a.constantOr(0)?"opaque":"translucent";if(e.renderPass===u){var c=e.depthModeForSublayer(1,"opaque"===e.renderPass?Et.ReadWrite:Et.ReadOnly);$r(e,r,i,n,c,s,!1)}if("translucent"===e.renderPass&&i.paint.get("fill-antialias")){var p=e.depthModeForSublayer(i.getPaintProperty("fill-outline-color")?2:0,Et.ReadOnly);$r(e,r,i,n,p,s,!0)}}},"fill-extrusion":function(t,e,r,i){var n=r.paint.get("fill-extrusion-opacity");if(0!==n&&"translucent"===t.renderPass){var o=new Et(t.context.gl.LEQUAL,Et.ReadWrite,t.depthRangeFor3D);if(1!==n||r.paint.get("fill-extrusion-pattern").constantOr(1))ti(t,e,r,i,o,Tt.disabled,It.disabled),ti(t,e,r,i,o,t.stencilModeFor3D(),t.colorModeForRenderPass());else{var a=t.colorModeForRenderPass();ti(t,e,r,i,o,Tt.disabled,a)}}},hillshade:function(t,e,r,i){if("offscreen"===t.renderPass||"translucent"===t.renderPass){for(var n=t.context,o=e.getSource().maxzoom,a=t.depthModeForSublayer(0,Et.ReadOnly),s=Tt.disabled,l=t.colorModeForRenderPass(),u=0,c=i;u<c.length;u+=1){var p=c[u],h=e.getTile(p);h.needsHillshadePrepare&&"offscreen"===t.renderPass?ri(t,h,r,o,a,s,l):"translucent"===t.renderPass&&ei(t,h,r,a,s,l)}n.viewport.set([0,0,t.width,t.height])}},raster:function(t,e,r,i){if("translucent"===t.renderPass&&0!==r.paint.get("raster-opacity"))for(var n=t.context,o=n.gl,a=e.getSource(),s=t.useProgram("raster"),l=Tt.disabled,u=t.colorModeForRenderPass(),c=i.length&&i[0].overscaledZ,p=!t.options.moving,h=0,f=i;h<f.length;h+=1){var d=f[h],m=t.depthModeForSublayer(d.overscaledZ-c,1===r.paint.get("raster-opacity")?Et.ReadWrite:Et.ReadOnly,o.LESS),y=e.getTile(d),_=t.transform.calculatePosMatrix(d.toUnwrapped(),p);y.registerFadeDuration(r.paint.get("raster-fade-duration"));var g=e.findLoadedParent(d,0),v=ii(y,g,e,r,t.transform),x=void 0,b=void 0,w="nearest"===r.paint.get("raster-resampling")?o.NEAREST:o.LINEAR;n.activeTexture.set(o.TEXTURE0),y.texture.bind(w,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),n.activeTexture.set(o.TEXTURE1),g?(g.texture.bind(w,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),x=Math.pow(2,g.tileID.overscaledZ-y.tileID.overscaledZ),b=[y.tileID.canonical.x*x%1,y.tileID.canonical.y*x%1]):y.texture.bind(w,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST);var S=Br(_,b||[0,0],x||1,v,r);a instanceof P?s.draw(n,o.TRIANGLES,m,l,u,At.disabled,S,r.id,a.boundsBuffer,t.quadTriangleIndexBuffer,a.boundsSegments):y.maskedBoundsBuffer&&y.maskedIndexBuffer&&y.segments?s.draw(n,o.TRIANGLES,m,l,u,At.disabled,S,r.id,y.maskedBoundsBuffer,y.maskedIndexBuffer,y.segments,r.paint,t.transform.zoom):s.draw(n,o.TRIANGLES,m,l,u,At.disabled,S,r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}},background:function(t,e,r){var i=r.paint.get("background-color"),n=r.paint.get("background-opacity");if(0!==n){var o=t.context,a=o.gl,s=t.transform,l=s.tileSize,u=r.paint.get("background-pattern");if(!t.isPatternMissing(u)){var c=!u&&1===i.a&&1===n&&t.opaquePassEnabledForLayer()?"opaque":"translucent";if(t.renderPass===c){var p=Tt.disabled,h=t.depthModeForSublayer(0,"opaque"===c?Et.ReadWrite:Et.ReadOnly),f=t.colorModeForRenderPass(),d=t.useProgram(u?"backgroundPattern":"background"),m=s.coveringTiles({tileSize:l});u&&(o.activeTexture.set(a.TEXTURE0),t.imageManager.bind(t.context));for(var y=r.getCrossfadeParameters(),_=0,g=m;_<g.length;_+=1){var v=g[_],x=t.transform.calculatePosMatrix(v.toUnwrapped()),b=u?Nr(x,n,t,u,{tileID:v,tileSize:l},y):Vr(x,n,i);d.draw(o,a.TRIANGLES,h,p,f,At.disabled,b,r.id,t.tileExtentBuffer,t.quadTriangleIndexBuffer,t.tileExtentSegments)}}}}},debug:function(t,e,r){for(var i=0;i<r.length;i++)ni(t,e,r[i])},custom:function(t,e,r){var i=t.context,n=r.implementation;if("offscreen"===t.renderPass){var o=n.prerender;o&&(t.setCustomLayerDefaults(),i.setColorMode(t.colorModeForRenderPass()),o.call(n,i.gl,t.transform.customLayerMatrix()),i.setDirty(),t.setBaseState())}else if("translucent"===t.renderPass){t.setCustomLayerDefaults(),i.setColorMode(t.colorModeForRenderPass()),i.setStencilMode(Tt.disabled);var a="3d"===n.renderingMode?new Et(t.context.gl.LEQUAL,Et.ReadWrite,t.depthRangeFor3D):t.depthModeForSublayer(0,Et.ReadOnly);i.setDepthMode(a),n.render(i.gl,t.transform.customLayerMatrix()),i.setDirty(),t.setBaseState(),i.bindFramebuffer.set(null)}}},si=function(e,r){this.context=new zt(e),this.transform=r,this._tileTextures={},this.setup(),this.numSublayers=Ct.maxUnderzooming+Ct.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.depthRboNeedsClear=!0,this.emptyProgramConfiguration=new t.ProgramConfiguration,this.crossTileSymbolIndex=new Le,this.gpuTimers={}};function li(t,e){if(t.y>e.y){var r=t;t=e,e=r}return{x0:t.x,y0:t.y,x1:e.x,y1:e.y,dx:e.x-t.x,dy:e.y-t.y}}function ui(t,e,r,i,n){var o=Math.max(r,Math.floor(e.y0)),a=Math.min(i,Math.ceil(e.y1));if(t.x0===e.x0&&t.y0===e.y0?t.x0+e.dy/t.dy*t.dx<e.x1:t.x1-e.dy/t.dy*t.dx<e.x0){var s=t;t=e,e=s}for(var l=t.dx/t.dy,u=e.dx/e.dy,c=t.dx>0,p=e.dx<0,h=o;h<a;h++){var f=l*Math.max(0,Math.min(t.dy,h+c-t.y0))+t.x0,d=u*Math.max(0,Math.min(e.dy,h+p-e.y0))+e.x0;n(Math.floor(d),Math.ceil(f),h)}}function ci(t,e,r,i,n,o){var a,s=li(t,e),l=li(e,r),u=li(r,t);s.dy>l.dy&&(a=s,s=l,l=a),s.dy>u.dy&&(a=s,s=u,u=a),l.dy>u.dy&&(a=l,l=u,u=a),s.dy&&ui(u,s,i,n,o),l.dy&&ui(u,l,i,n,o)}si.prototype.resize=function(e,r){var i=this.context.gl;if(this.width=e*t.browser.devicePixelRatio,this.height=r*t.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var n=0,o=this.style._order;n<o.length;n+=1){var a=o[n];this.style._layers[a].resize()}this.depthRbo&&(i.deleteRenderbuffer(this.depthRbo),this.depthRbo=null)},si.prototype.setup=function(){var e=this.context,r=new t.StructArrayLayout2i4;r.emplaceBack(0,0),r.emplaceBack(t.EXTENT,0),r.emplaceBack(0,t.EXTENT),r.emplaceBack(t.EXTENT,t.EXTENT),this.tileExtentBuffer=e.createVertexBuffer(r,Oe.members),this.tileExtentSegments=t.SegmentVector.simpleSegment(0,0,4,2);var i=new t.StructArrayLayout2i4;i.emplaceBack(0,0),i.emplaceBack(t.EXTENT,0),i.emplaceBack(0,t.EXTENT),i.emplaceBack(t.EXTENT,t.EXTENT),this.debugBuffer=e.createVertexBuffer(i,Oe.members),this.debugSegments=t.SegmentVector.simpleSegment(0,0,4,5);var n=new t.StructArrayLayout4i8;n.emplaceBack(0,0,0,0),n.emplaceBack(t.EXTENT,0,t.EXTENT,0),n.emplaceBack(0,t.EXTENT,0,t.EXTENT),n.emplaceBack(t.EXTENT,t.EXTENT,t.EXTENT,t.EXTENT),this.rasterBoundsBuffer=e.createVertexBuffer(n,t.rasterBoundsAttributes.members),this.rasterBoundsSegments=t.SegmentVector.simpleSegment(0,0,4,2);var o=new t.StructArrayLayout2i4;o.emplaceBack(0,0),o.emplaceBack(1,0),o.emplaceBack(0,1),o.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(o,Oe.members),this.viewportSegments=t.SegmentVector.simpleSegment(0,0,4,2);var a=new t.StructArrayLayout1ui2;a.emplaceBack(0),a.emplaceBack(1),a.emplaceBack(3),a.emplaceBack(2),a.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(a);var s=new t.StructArrayLayout3ui6;s.emplaceBack(0,1,2),s.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(s);var l=this.context.gl;this.stencilClearMode=new Tt({func:l.ALWAYS,mask:0},0,255,l.ZERO,l.ZERO,l.ZERO)},si.prototype.clearStencil=function(){var e=this.context,r=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var i=t.create();t.ortho(i,0,this.width,this.height,0,0,1),t.scale(i,i,[r.drawingBufferWidth,r.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(e,r.TRIANGLES,Et.disabled,this.stencilClearMode,It.disabled,At.disabled,Ir(i),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)},si.prototype._renderTileClippingMasks=function(t,e){if(this.currentStencilSource!==t.source&&t.isTileClipped()&&e&&e.length){this.currentStencilSource=t.source;var r=this.context,i=r.gl;this.nextStencilID+e.length>256&&this.clearStencil(),r.setColorMode(It.disabled),r.setDepthMode(Et.disabled);var n=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var o=0,a=e;o<a.length;o+=1){var s=a[o],l=this._tileClippingMaskIDs[s.key]=this.nextStencilID++;n.draw(r,i.TRIANGLES,Et.disabled,new Tt({func:i.ALWAYS,mask:0},l,255,i.KEEP,i.KEEP,i.REPLACE),It.disabled,At.disabled,Ir(s.posMatrix),"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}},si.prototype.stencilModeFor3D=function(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();var t=this.nextStencilID++,e=this.context.gl;return new Tt({func:e.NOTEQUAL,mask:255},t,255,e.KEEP,e.KEEP,e.REPLACE)},si.prototype.stencilModeForClipping=function(t){var e=this.context.gl;return new Tt({func:e.EQUAL,mask:255},this._tileClippingMaskIDs[t.key],0,e.KEEP,e.KEEP,e.REPLACE)},si.prototype.colorModeForRenderPass=function(){var e=this.context.gl;return this._showOverdrawInspector?new It([e.CONSTANT_COLOR,e.ONE],new t.Color(1/8,1/8,1/8,0),[!0,!0,!0,!0]):"opaque"===this.renderPass?It.unblended:It.alphaBlended},si.prototype.depthModeForSublayer=function(t,e,r){if(!this.opaquePassEnabledForLayer())return Et.disabled;var i=1-((1+this.currentLayer)*this.numSublayers+t)*this.depthEpsilon;return new Et(r||this.context.gl.LEQUAL,e,[i,i])},si.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},si.prototype.render=function(e,r){var i=this;this.style=e,this.options=r,this.lineAtlas=e.lineAtlas,this.imageManager=e.imageManager,this.glyphManager=e.glyphManager,this.symbolFadeChange=e.placement.symbolFadeChange(t.browser.now()),this.imageManager.beginFrame();var n=this.style._order,o=this.style.sourceCaches;for(var a in o){var s=o[a];s.used&&s.prepare(this.context)}var l,u,c={},p={},h={};for(var f in o){var d=o[f];c[f]=d.getVisibleCoordinates(),p[f]=c[f].slice().reverse(),h[f]=d.getVisibleCoordinates(!0).reverse()}for(var m in o){var y=o[m],_=y.getSource();if("raster"===_.type||"raster-dem"===_.type){for(var g=[],v=0,x=c[m];v<x.length;v+=1){var b=x[v];g.push(y.getTile(b))}qr(g,this.context)}}this.opaquePassCutoff=1/0;for(var w=0;w<n.length;w++){var S=n[w];if(this.style._layers[S].is3D()){this.opaquePassCutoff=w;break}}this.renderPass="offscreen",this.depthRboNeedsClear=!0;for(var E=0,T=n;E<T.length;E+=1){var I=T[E],A=this.style._layers[I];if(A.hasOffscreenPass()&&!A.isHidden(this.transform.zoom)){var z=p[A.source];("custom"===A.type||z.length)&&this.renderLayer(this,o[A.source],A,z)}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:r.showOverdrawInspector?t.Color.black:t.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=r.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass="opaque",this.currentLayer=n.length-1;this.currentLayer>=0;this.currentLayer--){var C=this.style._layers[n[this.currentLayer]],k=o[C.source],P=c[C.source];this._renderTileClippingMasks(C,P),this.renderLayer(this,k,C,P)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<n.length;this.currentLayer++){var M=this.style._layers[n[this.currentLayer]],L=o[M.source],D=("symbol"===M.type?h:p)[M.source];this._renderTileClippingMasks(M,c[M.source]),this.renderLayer(this,L,M,D)}this.options.showTileBoundaries&&(t.values(this.style._layers).forEach((function(t){t.source&&!t.isHidden(i.transform.zoom)&&(t.source!==(u&&u.id)&&(u=i.style.sourceCaches[t.source]),(!l||l.getSource().maxzoom<u.getSource().maxzoom)&&(l=u))})),l&&ai.debug(this,l,l.getVisibleCoordinates())),this.context.setDefault()},si.prototype.setupOffscreenDepthRenderbuffer=function(){var t=this.context;this.depthRbo||(this.depthRbo=t.createRenderbuffer(t.gl.DEPTH_COMPONENT16,this.width,this.height))},si.prototype.renderLayer=function(t,e,r,i){r.isHidden(this.transform.zoom)||("background"===r.type||"custom"===r.type||i.length)&&(this.id=r.id,this.gpuTimingStart(r),ai[r.type](t,e,r,i,this.style.placement.variableOffsets),this.gpuTimingEnd())},si.prototype.gpuTimingStart=function(t){if(this.options.gpuTiming){var e=this.context.extTimerQuery,r=this.gpuTimers[t.id];r||(r=this.gpuTimers[t.id]={calls:0,cpuTime:0,query:e.createQueryEXT()}),r.calls++,e.beginQueryEXT(e.TIME_ELAPSED_EXT,r.query)}},si.prototype.gpuTimingEnd=function(){if(this.options.gpuTiming){var t=this.context.extTimerQuery;t.endQueryEXT(t.TIME_ELAPSED_EXT)}},si.prototype.collectGpuTimers=function(){var t=this.gpuTimers;return this.gpuTimers={},t},si.prototype.queryGpuTimers=function(t){var e={};for(var r in t){var i=t[r],n=this.context.extTimerQuery,o=n.getQueryObjectEXT(i.query,n.QUERY_RESULT_EXT)/1e6;n.deleteQueryEXT(i.query),e[r]=o}return e},si.prototype.translatePosMatrix=function(e,r,i,n,o){if(!i[0]&&!i[1])return e;var a=o?"map"===n?this.transform.angle:0:"viewport"===n?-this.transform.angle:0;if(a){var s=Math.sin(a),l=Math.cos(a);i=[i[0]*l-i[1]*s,i[0]*s+i[1]*l]}var u=[o?i[0]:le(r,i[0],this.transform.zoom),o?i[1]:le(r,i[1],this.transform.zoom),0],c=new Float32Array(16);return t.translate(c,e,u),c},si.prototype.saveTileTexture=function(t){var e=this._tileTextures[t.size[0]];e?e.push(t):this._tileTextures[t.size[0]]=[t]},si.prototype.getTileTexture=function(t){var e=this._tileTextures[t];return e&&e.length>0?e.pop():null},si.prototype.isPatternMissing=function(t){if(!t)return!1;var e=this.imageManager.getPattern(t.from.toString()),r=this.imageManager.getPattern(t.to.toString());return!e||!r},si.prototype.useProgram=function(t,e){void 0===e&&(e=this.emptyProgramConfiguration),this.cache=this.cache||{};var r=""+t+(e.cacheKey||"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[r]||(this.cache[r]=new dr(this.context,hr[t],e,jr[t],this._showOverdrawInspector)),this.cache[r]},si.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},si.prototype.setBaseState=function(){var t=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(t.FUNC_ADD)};var pi=function(e,r,i,n,o){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===o||o,this._minZoom=e||0,this._maxZoom=r||22,this._minPitch=null==i?0:i,this._maxPitch=null==n?60:n,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._posMatrixCache={},this._alignedPosMatrixCache={}},hi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerPoint:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};pi.prototype.clone=function(){var t=new pi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return t.tileSize=this.tileSize,t.latRange=this.latRange,t.width=this.width,t.height=this.height,t._center=this._center,t.zoom=this.zoom,t.angle=this.angle,t._fov=this._fov,t._pitch=this._pitch,t._unmodified=this._unmodified,t._calcMatrices(),t},hi.minZoom.get=function(){return this._minZoom},hi.minZoom.set=function(t){this._minZoom!==t&&(this._minZoom=t,this.zoom=Math.max(this.zoom,t))},hi.maxZoom.get=function(){return this._maxZoom},hi.maxZoom.set=function(t){this._maxZoom!==t&&(this._maxZoom=t,this.zoom=Math.min(this.zoom,t))},hi.minPitch.get=function(){return this._minPitch},hi.minPitch.set=function(t){this._minPitch!==t&&(this._minPitch=t,this.pitch=Math.max(this.pitch,t))},hi.maxPitch.get=function(){return this._maxPitch},hi.maxPitch.set=function(t){this._maxPitch!==t&&(this._maxPitch=t,this.pitch=Math.min(this.pitch,t))},hi.renderWorldCopies.get=function(){return this._renderWorldCopies},hi.renderWorldCopies.set=function(t){void 0===t?t=!0:null===t&&(t=!1),this._renderWorldCopies=t},hi.worldSize.get=function(){return this.tileSize*this.scale},hi.centerPoint.get=function(){return this.size._div(2)},hi.size.get=function(){return new t.Point(this.width,this.height)},hi.bearing.get=function(){return-this.angle/Math.PI*180},hi.bearing.set=function(e){var r=-t.wrap(e,-180,180)*Math.PI/180;this.angle!==r&&(this._unmodified=!1,this.angle=r,this._calcMatrices(),this.rotationMatrix=t.create$2(),t.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},hi.pitch.get=function(){return this._pitch/Math.PI*180},hi.pitch.set=function(e){var r=t.clamp(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==r&&(this._unmodified=!1,this._pitch=r,this._calcMatrices())},hi.fov.get=function(){return this._fov/Math.PI*180},hi.fov.set=function(t){t=Math.max(.01,Math.min(60,t)),this._fov!==t&&(this._unmodified=!1,this._fov=t/180*Math.PI,this._calcMatrices())},hi.zoom.get=function(){return this._zoom},hi.zoom.set=function(t){var e=Math.min(Math.max(t,this.minZoom),this.maxZoom);this._zoom!==e&&(this._unmodified=!1,this._zoom=e,this.scale=this.zoomScale(e),this.tileZoom=Math.floor(e),this.zoomFraction=e-this.tileZoom,this._constrain(),this._calcMatrices())},hi.center.get=function(){return this._center},hi.center.set=function(t){t.lat===this._center.lat&&t.lng===this._center.lng||(this._unmodified=!1,this._center=t,this._constrain(),this._calcMatrices())},pi.prototype.coveringZoomLevel=function(t){var e=(t.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/t.tileSize));return Math.max(0,e)},pi.prototype.getVisibleUnwrappedCoordinates=function(e){var r=[new t.UnwrappedTileID(0,e)];if(this._renderWorldCopies)for(var i=this.pointCoordinate(new t.Point(0,0)),n=this.pointCoordinate(new t.Point(this.width,0)),o=this.pointCoordinate(new t.Point(this.width,this.height)),a=this.pointCoordinate(new t.Point(0,this.height)),s=Math.floor(Math.min(i.x,n.x,o.x,a.x)),l=Math.floor(Math.max(i.x,n.x,o.x,a.x)),u=s-1;u<=l+1;u++)0!==u&&r.push(new t.UnwrappedTileID(u,e));return r},pi.prototype.coveringTiles=function(e){var r=this.coveringZoomLevel(e),i=r;if(void 0!==e.minzoom&&r<e.minzoom)return[];void 0!==e.maxzoom&&r>e.maxzoom&&(r=e.maxzoom);var n=t.MercatorCoordinate.fromLngLat(this.center),o=Math.pow(2,r),a=new t.Point(o*n.x-.5,o*n.y-.5);return function(e,r,i,n){void 0===n&&(n=!0);var o=1<<e,a={};function s(r,s,l){var u,c,p,h;if(l>=0&&l<=o)for(u=r;u<s;u++)c=Math.floor(u/o),p=(u%o+o)%o,0!==c&&!0!==n||(h=new t.OverscaledTileID(i,c,e,p,l),a[h.key]=h)}var l=r.map((function(e){return new t.Point(e.x,e.y)._mult(o)}));return ci(l[0],l[1],l[2],0,o,s),ci(l[2],l[3],l[0],0,o,s),Object.keys(a).map((function(t){return a[t]}))}(r,[this.pointCoordinate(new t.Point(0,0)),this.pointCoordinate(new t.Point(this.width,0)),this.pointCoordinate(new t.Point(this.width,this.height)),this.pointCoordinate(new t.Point(0,this.height))],e.reparseOverscaled?i:r,this._renderWorldCopies).sort((function(t,e){return a.dist(t.canonical)-a.dist(e.canonical)}))},pi.prototype.resize=function(t,e){this.width=t,this.height=e,this.pixelsToGLUnits=[2/t,-2/e],this._constrain(),this._calcMatrices()},hi.unmodified.get=function(){return this._unmodified},pi.prototype.zoomScale=function(t){return Math.pow(2,t)},pi.prototype.scaleZoom=function(t){return Math.log(t)/Math.LN2},pi.prototype.project=function(e){var r=t.clamp(e.lat,-this.maxValidLatitude,this.maxValidLatitude);return new t.Point(t.mercatorXfromLng(e.lng)*this.worldSize,t.mercatorYfromLat(r)*this.worldSize)},pi.prototype.unproject=function(e){return new t.MercatorCoordinate(e.x/this.worldSize,e.y/this.worldSize).toLngLat()},hi.point.get=function(){return this.project(this.center)},pi.prototype.setLocationAtPoint=function(e,r){var i=this.pointCoordinate(r),n=this.pointCoordinate(this.centerPoint),o=this.locationCoordinate(e),a=new t.MercatorCoordinate(o.x-(i.x-n.x),o.y-(i.y-n.y));this.center=this.coordinateLocation(a),this._renderWorldCopies&&(this.center=this.center.wrap())},pi.prototype.locationPoint=function(t){return this.coordinatePoint(this.locationCoordinate(t))},pi.prototype.pointLocation=function(t){return this.coordinateLocation(this.pointCoordinate(t))},pi.prototype.locationCoordinate=function(e){return t.MercatorCoordinate.fromLngLat(e)},pi.prototype.coordinateLocation=function(t){return t.toLngLat()},pi.prototype.pointCoordinate=function(e){var r=[e.x,e.y,0,1],i=[e.x,e.y,1,1];t.transformMat4(r,r,this.pixelMatrixInverse),t.transformMat4(i,i,this.pixelMatrixInverse);var n=r[3],o=i[3],a=r[0]/n,s=i[0]/o,l=r[1]/n,u=i[1]/o,c=r[2]/n,p=i[2]/o,h=c===p?0:(0-c)/(p-c);return new t.MercatorCoordinate(t.number(a,s,h)/this.worldSize,t.number(l,u,h)/this.worldSize)},pi.prototype.coordinatePoint=function(e){var r=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(r,r,this.pixelMatrix),new t.Point(r[0]/r[3],r[1]/r[3])},pi.prototype.getBounds=function(){return(new t.LngLatBounds).extend(this.pointLocation(new t.Point(0,0))).extend(this.pointLocation(new t.Point(this.width,0))).extend(this.pointLocation(new t.Point(this.width,this.height))).extend(this.pointLocation(new t.Point(0,this.height)))},pi.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new t.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},pi.prototype.setMaxBounds=function(t){t?(this.lngRange=[t.getWest(),t.getEast()],this.latRange=[t.getSouth(),t.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},pi.prototype.calculatePosMatrix=function(e,r){void 0===r&&(r=!1);var i=e.key,n=r?this._alignedPosMatrixCache:this._posMatrixCache;if(n[i])return n[i];var o=e.canonical,a=this.worldSize/this.zoomScale(o.z),s=o.x+Math.pow(2,o.z)*e.wrap,l=t.identity(new Float64Array(16));return t.translate(l,l,[s*a,o.y*a,0]),t.scale(l,l,[a/t.EXTENT,a/t.EXTENT,1]),t.multiply(l,r?this.alignedProjMatrix:this.projMatrix,l),n[i]=new Float32Array(l),n[i]},pi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},pi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var e,r,i,n,o=-90,a=90,s=-180,l=180,u=this.size,c=this._unmodified;if(this.latRange){var p=this.latRange;o=t.mercatorYfromLat(p[1])*this.worldSize,e=(a=t.mercatorYfromLat(p[0])*this.worldSize)-o<u.y?u.y/(a-o):0}if(this.lngRange){var h=this.lngRange;s=t.mercatorXfromLng(h[0])*this.worldSize,r=(l=t.mercatorXfromLng(h[1])*this.worldSize)-s<u.x?u.x/(l-s):0}var f=this.point,d=Math.max(r||0,e||0);if(d)return this.center=this.unproject(new t.Point(r?(l+s)/2:f.x,e?(a+o)/2:f.y)),this.zoom+=this.scaleZoom(d),this._unmodified=c,void(this._constraining=!1);if(this.latRange){var m=f.y,y=u.y/2;m-y<o&&(n=o+y),m+y>a&&(n=a-y)}if(this.lngRange){var _=f.x,g=u.x/2;_-g<s&&(i=s+g),_+g>l&&(i=l-g)}void 0===i&&void 0===n||(this.center=this.unproject(new t.Point(void 0!==i?i:f.x,void 0!==n?n:f.y))),this._unmodified=c,this._constraining=!1}},pi.prototype._calcMatrices=function(){if(this.height){this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height;var e=this._fov/2,r=Math.PI/2+this._pitch,i=Math.sin(e)*this.cameraToCenterDistance/Math.sin(Math.PI-r-e),n=this.point,o=n.x,a=n.y,s=1.01*(Math.cos(Math.PI/2-this._pitch)*i+this.cameraToCenterDistance),l=this.height/50,u=new Float64Array(16);t.perspective(u,this._fov,this.width/this.height,l,s),t.scale(u,u,[1,-1,1]),t.translate(u,u,[0,0,-this.cameraToCenterDistance]),t.rotateX(u,u,this._pitch),t.rotateZ(u,u,this.angle),t.translate(u,u,[-o,-a,0]),this.mercatorMatrix=t.scale([],u,[this.worldSize,this.worldSize,this.worldSize]),t.scale(u,u,[1,1,t.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=u;var c=this.width%2/2,p=this.height%2/2,h=Math.cos(this.angle),f=Math.sin(this.angle),d=o-Math.round(o)+h*c+f*p,m=a-Math.round(a)+h*p+f*c,y=new Float64Array(u);if(t.translate(y,y,[d>.5?d-1:d,m>.5?m-1:m,0]),this.alignedProjMatrix=y,u=t.create(),t.scale(u,u,[this.width/2,-this.height/2,1]),t.translate(u,u,[1,-1,0]),this.labelPlaneMatrix=u,u=t.create(),t.scale(u,u,[1,-1,1]),t.translate(u,u,[-1,-1,0]),t.scale(u,u,[2/this.width,2/this.height,1]),this.glCoordMatrix=u,this.pixelMatrix=t.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(u=t.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=u,this._posMatrixCache={},this._alignedPosMatrixCache={}}},pi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var e=this.pointCoordinate(new t.Point(0,0)),r=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(r,r,this.pixelMatrix)[3]/this.cameraToCenterDistance},pi.prototype.getCameraPoint=function(){var e=this._pitch,r=Math.tan(e)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.Point(0,r))},pi.prototype.getCameraQueryGeometry=function(e){var r=this.getCameraPoint();if(1===e.length)return[e[0],r];for(var i=r.x,n=r.y,o=r.x,a=r.y,s=0,l=e;s<l.length;s+=1){var u=l[s];i=Math.min(i,u.x),n=Math.min(n,u.y),o=Math.max(o,u.x),a=Math.max(a,u.y)}return[new t.Point(i,n),new t.Point(o,n),new t.Point(o,a),new t.Point(i,a),new t.Point(i,n)]},Object.defineProperties(pi.prototype,hi);var fi=function(e){var r,i,n,o;this._hashName=e&&encodeURIComponent(e),t.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=(r=this._updateHashUnthrottled.bind(this),i=!1,n=null,o=function(){n=null,i&&(r(),n=setTimeout(o,300),i=!1)},function(){return i=!0,n||o(),n})};fi.prototype.addTo=function(e){return this._map=e,t.window.addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this},fi.prototype.remove=function(){return t.window.removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},fi.prototype.getHashString=function(e){var r=this._map.getCenter(),i=Math.round(100*this._map.getZoom())/100,n=Math.ceil((i*Math.LN2+Math.log(512/360/.5))/Math.LN10),o=Math.pow(10,n),a=Math.round(r.lng*o)/o,s=Math.round(r.lat*o)/o,l=this._map.getBearing(),u=this._map.getPitch(),c="";if(c+=e?"/"+a+"/"+s+"/"+i:i+"/"+s+"/"+a,(l||u)&&(c+="/"+Math.round(10*l)/10),u&&(c+="/"+Math.round(u)),this._hashName){var p=this._hashName,h=!1,f=t.window.location.hash.slice(1).split("&").map((function(t){var e=t.split("=")[0];return e===p?(h=!0,e+"="+c):t})).filter((function(t){return t}));return h||f.push(p+"="+c),"#"+f.join("&")}return"#"+c},fi.prototype._getCurrentHash=function(){var e,r=this,i=t.window.location.hash.replace("#","");return this._hashName?(i.split("&").map((function(t){return t.split("=")})).forEach((function(t){t[0]===r._hashName&&(e=t)})),(e&&e[1]||"").split("/")):i.split("/")},fi.prototype._onHashChange=function(){var t=this._getCurrentHash();return t.length>=3&&!t.some((function(t){return isNaN(t)}))&&(this._map.jumpTo({center:[+t[2],+t[1]],zoom:+t[0],bearing:+(t[3]||0),pitch:+(t[4]||0)}),!0)},fi.prototype._updateHashUnthrottled=function(){var e=this.getHashString();try{t.window.history.replaceState(t.window.history.state,"",e)}catch(t){}};var di=function(e){function i(i,n,o,a){void 0===a&&(a={});var s=r.mousePos(n.getCanvasContainer(),o),l=n.unproject(s);e.call(this,i,t.extend({point:s,lngLat:l,originalEvent:o},a)),this._defaultPrevented=!1,this.target=n}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={defaultPrevented:{configurable:!0}};return i.prototype.preventDefault=function(){this._defaultPrevented=!0},n.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(i.prototype,n),i}(t.Event),mi=function(e){function i(i,n,o){var a=r.touchPos(n.getCanvasContainer(),o),s=a.map((function(t){return n.unproject(t)})),l=a.reduce((function(t,e,r,i){return t.add(e.div(i.length))}),new t.Point(0,0)),u=n.unproject(l);e.call(this,i,{points:a,point:l,lngLats:s,lngLat:u,originalEvent:o}),this._defaultPrevented=!1}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={defaultPrevented:{configurable:!0}};return i.prototype.preventDefault=function(){this._defaultPrevented=!0},n.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(i.prototype,n),i}(t.Event),yi=function(t){function e(e,r,i){t.call(this,e,{originalEvent:i}),this._defaultPrevented=!1}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={defaultPrevented:{configurable:!0}};return e.prototype.preventDefault=function(){this._defaultPrevented=!0},r.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(e.prototype,r),e}(t.Event),_i=function(e){this._map=e,this._el=e.getCanvasContainer(),this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=1/450,t.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};_i.prototype.setZoomRate=function(t){this._defaultZoomRate=t},_i.prototype.setWheelZoomRate=function(t){this._wheelZoomRate=t},_i.prototype.isEnabled=function(){return!!this._enabled},_i.prototype.isActive=function(){return!!this._active},_i.prototype.isZooming=function(){return!!this._zooming},_i.prototype.enable=function(t){this.isEnabled()||(this._enabled=!0,this._aroundCenter=t&&"center"===t.around)},_i.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},_i.prototype.onWheel=function(e){if(this.isEnabled()){var r=e.deltaMode===t.window.WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY,i=t.browser.now(),n=i-(this._lastWheelEventTime||0);this._lastWheelEventTime=i,0!==r&&r%4.000244140625==0?this._type="wheel":0!==r&&Math.abs(r)<4?this._type="trackpad":n>400?(this._type=null,this._lastValue=r,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(n*r)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,r+=this._lastValue)),e.shiftKey&&r&&(r/=4),this._type&&(this._lastWheelEvent=e,this._delta-=r,this.isActive()||this._start(e)),e.preventDefault()}},_i.prototype._onTimeout=function(t){this._type="wheel",this._delta-=this._lastValue,this.isActive()||this._start(t)},_i.prototype._start=function(e){if(this._delta){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0,this._map.fire(new t.Event("movestart",{originalEvent:e})),this._map.fire(new t.Event("zoomstart",{originalEvent:e}))),this._finishTimeout&&clearTimeout(this._finishTimeout);var i=r.mousePos(this._el,e);this._around=t.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(i)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onScrollFrame))}},_i.prototype._onScrollFrame=function(){var e=this;if(this._frameId=null,this.isActive()){var r=this._map.transform;if(0!==this._delta){var i="wheel"===this._type&&Math.abs(this._delta)>4.000244140625?this._wheelZoomRate:this._defaultZoomRate,n=2/(1+Math.exp(-Math.abs(this._delta*i)));this._delta<0&&0!==n&&(n=1/n);var o="number"==typeof this._targetZoom?r.zoomScale(this._targetZoom):r.scale;this._targetZoom=Math.min(r.maxZoom,Math.max(r.minZoom,r.scaleZoom(o*n))),"wheel"===this._type&&(this._startZoom=r.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var a="number"==typeof this._targetZoom?this._targetZoom:r.zoom,s=this._startZoom,l=this._easing,u=!1;if("wheel"===this._type&&s&&l){var c=Math.min((t.browser.now()-this._lastWheelEventTime)/200,1),p=l(c);r.zoom=t.number(s,a,p),c<1?this._frameId||(this._frameId=this._map._requestRenderFrame(this._onScrollFrame)):u=!0}else r.zoom=a,u=!0;r.setLocationAtPoint(this._around,this._aroundPoint),this._map.fire(new t.Event("move",{originalEvent:this._lastWheelEvent})),this._map.fire(new t.Event("zoom",{originalEvent:this._lastWheelEvent})),u&&(this._active=!1,this._finishTimeout=setTimeout((function(){e._zooming=!1,e._map.fire(new t.Event("zoomend",{originalEvent:e._lastWheelEvent})),e._map.fire(new t.Event("moveend",{originalEvent:e._lastWheelEvent})),delete e._targetZoom}),200))}},_i.prototype._smoothOutEasing=function(e){var r=t.ease;if(this._prevEase){var i=this._prevEase,n=(t.browser.now()-i.start)/i.duration,o=i.easing(n+.01)-i.easing(n),a=.27/Math.sqrt(o*o+1e-4)*.01,s=Math.sqrt(.0729-a*a);r=t.bezier(a,s,.25,1)}return this._prevEase={start:t.browser.now(),duration:e,easing:r},r};var gi=function(e,r){this._map=e,this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=r.clickTolerance||1,t.bindAll(["_onMouseMove","_onMouseUp","_onKeyDown"],this)};gi.prototype.isEnabled=function(){return!!this._enabled},gi.prototype.isActive=function(){return!!this._active},gi.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},gi.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},gi.prototype.onMouseDown=function(e){this.isEnabled()&&e.shiftKey&&0===e.button&&(t.window.document.addEventListener("mousemove",this._onMouseMove,!1),t.window.document.addEventListener("keydown",this._onKeyDown,!1),t.window.document.addEventListener("mouseup",this._onMouseUp,!1),r.disableDrag(),this._startPos=this._lastPos=r.mousePos(this._el,e),this._active=!0)},gi.prototype._onMouseMove=function(t){var e=r.mousePos(this._el,t);if(!(this._lastPos.equals(e)||!this._box&&e.dist(this._startPos)<this._clickTolerance)){var i=this._startPos;this._lastPos=e,this._box||(this._box=r.create("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",t));var n=Math.min(i.x,e.x),o=Math.max(i.x,e.x),a=Math.min(i.y,e.y),s=Math.max(i.y,e.y);r.setTransform(this._box,"translate("+n+"px,"+a+"px)"),this._box.style.width=o-n+"px",this._box.style.height=s-a+"px"}},gi.prototype._onMouseUp=function(e){if(0===e.button){var i=this._startPos,n=r.mousePos(this._el,e);this._finish(),r.suppressClick(),i.x===n.x&&i.y===n.y?this._fireEvent("boxzoomcancel",e):this._map.fitScreenCoordinates(i,n,this._map.getBearing(),{linear:!0}).fire(new t.Event("boxzoomend",{originalEvent:e}))}},gi.prototype._onKeyDown=function(t){27===t.keyCode&&(this._finish(),this._fireEvent("boxzoomcancel",t))},gi.prototype._finish=function(){this._active=!1,t.window.document.removeEventListener("mousemove",this._onMouseMove,!1),t.window.document.removeEventListener("keydown",this._onKeyDown,!1),t.window.document.removeEventListener("mouseup",this._onMouseUp,!1),this._container.classList.remove("mapboxgl-crosshair"),this._box&&(r.remove(this._box),this._box=null),r.enableDrag(),delete this._startPos,delete this._lastPos},gi.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,{originalEvent:r}))};var vi=t.bezier(0,0,.25,1),xi=function(e,r){this._map=e,this._el=r.element||e.getCanvasContainer(),this._state="disabled",this._button=r.button||"right",this._bearingSnap=r.bearingSnap||0,this._pitchWithRotate=!1!==r.pitchWithRotate,t.bindAll(["onMouseDown","_onMouseMove","_onMouseUp","_onBlur","_onDragFrame"],this)};xi.prototype.isEnabled=function(){return"disabled"!==this._state},xi.prototype.isActive=function(){return"active"===this._state},xi.prototype.enable=function(){this.isEnabled()||(this._state="enabled")},xi.prototype.disable=function(){if(this.isEnabled())switch(this._state){case"active":this._state="disabled",this._unbind(),this._deactivate(),this._fireEvent("rotateend"),this._pitchWithRotate&&this._fireEvent("pitchend"),this._fireEvent("moveend");break;case"pending":this._state="disabled",this._unbind();break;default:this._state="disabled"}},xi.prototype.onMouseDown=function(e){if("enabled"===this._state){var i="touchstart"===e.type;if(i)this._startTime=Date.now();else if("right"===this._button){if(this._eventButton=r.mouseButton(e),this._eventButton!==(e.ctrlKey?0:2))return}else{if(e.ctrlKey||0!==r.mouseButton(e))return;this._eventButton=0}r.disableDrag(),i?(t.window.document.addEventListener("touchmove",this._onMouseMove,{capture:!0}),t.window.document.addEventListener("touchend",this._onMouseUp)):(t.window.document.addEventListener("mousemove",this._onMouseMove,{capture:!0}),t.window.document.addEventListener("mouseup",this._onMouseUp)),t.window.addEventListener("blur",this._onBlur),this._state="pending",this._inertia=[[t.browser.now(),this._map.getBearing()]],this._startPos=this._prevPos=this._lastPos=r.mousePos(this._el,e),this._center=this._map.transform.centerPoint,e.preventDefault()}},xi.prototype._onMouseMove=function(t){var e=r.mousePos(this._el,t);this._lastPos.equals(e)||(this._lastMoveEvent=t,this._lastPos=e,"pending"===this._state&&(this._state="active",this._fireEvent("rotatestart",t),this._fireEvent("movestart",t),this._pitchWithRotate&&this._fireEvent("pitchstart",t)),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onDragFrame)))},xi.prototype._onDragFrame=function(){this._frameId=null;var e=this._lastMoveEvent;if(e){var r=this._map.transform,i=this._prevPos,n=this._lastPos,o=.8*(i.x-n.x),a=-.5*(i.y-n.y),s=r.bearing-o,l=r.pitch-a,u=this._inertia,c=u[u.length-1];this._drainInertiaBuffer(),u.push([t.browser.now(),this._map._normalizeBearing(s,c[1])]);var p=r.bearing;if(r.bearing=s,this._pitchWithRotate){var h=r.pitch;r.pitch=l,r.pitch!==h&&this._fireEvent("pitch",e)}r.bearing!==p&&this._fireEvent("rotate",e),this._fireEvent("move",e),delete this._lastMoveEvent,this._prevPos=this._lastPos}},xi.prototype._onMouseUp=function(t){if("touchend"===t.type&&this._startPos===this._lastPos&&Date.now()-this._startTime<300&&this._el.click(),r.mouseButton(t)===this._eventButton)switch(this._state){case"active":this._state="enabled",r.suppressClick(),this._unbind(),this._deactivate(),this._inertialRotate(t);break;case"pending":this._state="enabled",this._unbind()}},xi.prototype._onBlur=function(t){switch(this._state){case"active":this._state="enabled",this._unbind(),this._deactivate(),this._fireEvent("rotateend",t),this._pitchWithRotate&&this._fireEvent("pitchend",t),this._fireEvent("moveend",t);break;case"pending":this._state="enabled",this._unbind()}},xi.prototype._unbind=function(){t.window.document.removeEventListener("mousemove",this._onMouseMove,{capture:!0}),t.window.document.removeEventListener("mouseup",this._onMouseUp),t.window.document.removeEventListener("touchmove",this._onMouseMove,{capture:!0}),t.window.document.removeEventListener("touchend",this._onMouseUp),t.window.removeEventListener("blur",this._onBlur),r.enableDrag()},xi.prototype._deactivate=function(){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._lastMoveEvent,delete this._startPos,delete this._prevPos,delete this._lastPos},xi.prototype._inertialRotate=function(t){var e=this;this._fireEvent("rotateend",t),this._drainInertiaBuffer();var r=this._map,i=r.getBearing(),n=this._inertia,o=function(){Math.abs(i)<e._bearingSnap?r.resetNorth({noMoveStart:!0},{originalEvent:t}):e._fireEvent("moveend",t),e._pitchWithRotate&&e._fireEvent("pitchend",t)};if(n.length<2)o();else{var a=n[0],s=n[n.length-1],l=n[n.length-2],u=r._normalizeBearing(i,l[1]),c=s[1]-a[1],p=c<0?-1:1,h=(s[0]-a[0])/1e3;if(0!==c&&0!==h){var f=Math.abs(c*(.25/h));f>180&&(f=180);var d=f/180;u+=p*f*(d/2),Math.abs(r._normalizeBearing(u,0))<this._bearingSnap&&(u=r._normalizeBearing(0,u)),r.rotateTo(u,{duration:1e3*d,easing:vi,noMoveStart:!0},{originalEvent:t})}else o()}},xi.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,r?{originalEvent:r}:{}))},xi.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,r=t.browser.now();e.length>0&&r-e[0][0]>160;)e.shift()};var bi={linearity:.3,easing:t.bezier(0,0,.3,1),maxSpeed:1400,deceleration:2500},wi=function(e,r){this._map=e,this._el=e.getCanvasContainer(),this._state="disabled",this._clickTolerance=r.clickTolerance||1,this._inertiaOptions=bi,t.bindAll(["_onMove","_onMouseUp","_onTouchEnd","_onBlur","_onDragFrame"],this)};wi.prototype.isEnabled=function(){return"disabled"!==this._state},wi.prototype.isActive=function(){return"active"===this._state},wi.prototype.enable=function(e){this.isEnabled()||(this._el.classList.add("mapboxgl-touch-drag-pan"),this._state="enabled",this._inertiaOptions=t.extend(bi,e))},wi.prototype.disable=function(){if(this.isEnabled())switch(this._el.classList.remove("mapboxgl-touch-drag-pan"),this._state){case"active":this._state="disabled",this._unbind(),this._deactivate(),this._fireEvent("dragend"),this._fireEvent("moveend");break;case"pending":this._state="disabled",this._unbind();break;default:this._state="disabled"}},wi.prototype.onMouseDown=function(e){"enabled"===this._state&&(e.ctrlKey||0!==r.mouseButton(e)||(r.addEventListener(t.window.document,"mousemove",this._onMove,{capture:!0}),r.addEventListener(t.window.document,"mouseup",this._onMouseUp),this._start(e)))},wi.prototype.onTouchStart=function(e){this.isEnabled()&&(e.touches&&e.touches.length>1&&("pending"===this._state||"active"===this._state)||(r.addEventListener(t.window.document,"touchmove",this._onMove,{capture:!0,passive:!1}),r.addEventListener(t.window.document,"touchend",this._onTouchEnd),this._start(e)))},wi.prototype._start=function(e){t.window.addEventListener("blur",this._onBlur),this._state="pending",this._startPos=this._mouseDownPos=this._prevPos=this._lastPos=r.mousePos(this._el,e),this._startTouch=this._lastTouch=t.window.TouchEvent&&e instanceof t.window.TouchEvent?r.touchPos(this._el,e):null,this._inertia=[[t.browser.now(),this._startPos]]},wi.prototype._touchesMatch=function(t,e){return!(!t||!e||t.length!==e.length)&&t.every((function(t,r){return e[r]===t}))},wi.prototype._onMove=function(e){e.preventDefault();var i=t.window.TouchEvent&&e instanceof t.window.TouchEvent?r.touchPos(this._el,e):null,n=r.mousePos(this._el,e);(i?this._touchesMatch(this._lastTouch,i):this._lastPos.equals(n))||"pending"===this._state&&n.dist(this._mouseDownPos)<this._clickTolerance||(this._lastMoveEvent=e,this._lastPos=n,this._lastTouch=i,this._drainInertiaBuffer(),this._inertia.push([t.browser.now(),this._lastPos]),"pending"===this._state&&(this._state="active",this._shouldStart=!0),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onDragFrame)))},wi.prototype._onDragFrame=function(){this._frameId=null;var t=this._lastMoveEvent;if(t)if(this._map.touchZoomRotate.isActive())this._abort(t);else if(this._shouldStart&&(this._fireEvent("dragstart",t),this._fireEvent("movestart",t),this._shouldStart=!1),this.isActive()){var e=this._map.transform;e.setLocationAtPoint(e.pointLocation(this._prevPos),this._lastPos),this._fireEvent("drag",t),this._fireEvent("move",t),this._prevPos=this._lastPos,delete this._lastMoveEvent}},wi.prototype._onMouseUp=function(t){if(0===r.mouseButton(t))switch(this._state){case"active":this._state="enabled",r.suppressClick(),this._unbind(),this._deactivate(),this._inertialPan(t);break;case"pending":this._state="enabled",this._unbind()}},wi.prototype._onTouchEnd=function(t){if(t.touches&&0!==t.touches.length)switch(this._state){case"pending":case"active":break;case"enabled":this.onTouchStart(t)}else switch(this._state){case"active":this._state="enabled",this._unbind(),this._deactivate(),this._inertialPan(t);break;case"pending":this._state="enabled",this._unbind();break;case"enabled":this._unbind()}},wi.prototype._abort=function(e){switch(this._state){case"active":this._state="enabled",this._shouldStart||(this._fireEvent("dragend",e),this._fireEvent("moveend",e)),this._unbind(),this._deactivate(),t.window.TouchEvent&&e instanceof t.window.TouchEvent&&e.touches.length>1&&r.addEventListener(t.window.document,"touchend",this._onTouchEnd);break;case"pending":this._state="enabled",this._unbind();break;case"enabled":this._unbind()}},wi.prototype._onBlur=function(t){this._abort(t)},wi.prototype._unbind=function(){r.removeEventListener(t.window.document,"touchmove",this._onMove,{capture:!0,passive:!1}),r.removeEventListener(t.window.document,"touchend",this._onTouchEnd),r.removeEventListener(t.window.document,"mousemove",this._onMove,{capture:!0}),r.removeEventListener(t.window.document,"mouseup",this._onMouseUp),r.removeEventListener(t.window,"blur",this._onBlur)},wi.prototype._deactivate=function(){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._lastMoveEvent,delete this._startPos,delete this._prevPos,delete this._mouseDownPos,delete this._lastPos,delete this._startTouch,delete this._lastTouch,delete this._shouldStart},wi.prototype._inertialPan=function(t){this._fireEvent("dragend",t),this._drainInertiaBuffer();var e=this._inertia;if(e.length<2)this._fireEvent("moveend",t);else{var r=e[e.length-1],i=e[0],n=r[1].sub(i[1]),o=(r[0]-i[0])/1e3;if(0===o||r[1].equals(i[1]))this._fireEvent("moveend",t);else{var a=this._inertiaOptions,s=a.linearity,l=a.easing,u=a.maxSpeed,c=a.deceleration,p=n.mult(s/o),h=p.mag();h>u&&(h=u,p._unit()._mult(h));var f=h/(c*s),d=p.mult(-f/2);this._map.panBy(d,{duration:1e3*f,easing:l,noMoveStart:!0},{originalEvent:t})}}},wi.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,r?{originalEvent:r}:{}))},wi.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,r=t.browser.now();e.length>0&&r-e[0][0]>160;)e.shift()};var Si=function(e){this._map=e,this._el=e.getCanvasContainer(),t.bindAll(["_onKeyDown"],this)};function Ei(t){return t*(2-t)}Si.prototype.isEnabled=function(){return!!this._enabled},Si.prototype.enable=function(){this.isEnabled()||(this._el.addEventListener("keydown",this._onKeyDown,!1),this._enabled=!0)},Si.prototype.disable=function(){this.isEnabled()&&(this._el.removeEventListener("keydown",this._onKeyDown),this._enabled=!1)},Si.prototype._onKeyDown=function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e=0,r=0,i=0,n=0,o=0;switch(t.keyCode){case 61:case 107:case 171:case 187:e=1;break;case 189:case 109:case 173:e=-1;break;case 37:t.shiftKey?r=-1:(t.preventDefault(),n=-1);break;case 39:t.shiftKey?r=1:(t.preventDefault(),n=1);break;case 38:t.shiftKey?i=1:(t.preventDefault(),o=-1);break;case 40:t.shiftKey?i=-1:(o=1,t.preventDefault());break;default:return}var a=this._map,s=a.getZoom(),l={duration:300,delayEndEvents:500,easing:Ei,zoom:e?Math.round(s)+e*(t.shiftKey?2:1):s,bearing:a.getBearing()+15*r,pitch:a.getPitch()+10*i,offset:[100*-n,100*-o],center:a.getCenter()};a.easeTo(l,{originalEvent:t})}};var Ti=function(e){this._map=e,t.bindAll(["_onDblClick","_onZoomEnd"],this)};Ti.prototype.isEnabled=function(){return!!this._enabled},Ti.prototype.isActive=function(){return!!this._active},Ti.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Ti.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Ti.prototype.onTouchStart=function(t){var e=this;if(this.isEnabled()&&!(t.points.length>1))if(this._tapped){var r=t.points[0],i=this._tappedPoint;if(i&&i.dist(r)<=30){t.originalEvent.preventDefault();var n=function(){e._tapped&&e._zoom(t),e._map.off("touchcancel",o),e._resetTapped()},o=function(){e._map.off("touchend",n),e._resetTapped()};this._map.once("touchend",n),this._map.once("touchcancel",o)}else this._resetTapped()}else this._tappedPoint=t.points[0],this._tapped=setTimeout((function(){e._tapped=null,e._tappedPoint=null}),300)},Ti.prototype._resetTapped=function(){clearTimeout(this._tapped),this._tapped=null,this._tappedPoint=null},Ti.prototype.onDblClick=function(t){this.isEnabled()&&(t.originalEvent.preventDefault(),this._zoom(t))},Ti.prototype._zoom=function(t){this._active=!0,this._map.on("zoomend",this._onZoomEnd),this._map.zoomTo(this._map.getZoom()+(t.originalEvent.shiftKey?-1:1),{around:t.lngLat},t)},Ti.prototype._onZoomEnd=function(){this._active=!1,this._map.off("zoomend",this._onZoomEnd)};var Ii=t.bezier(0,0,.15,1),Ai=function(e){this._map=e,this._el=e.getCanvasContainer(),t.bindAll(["_onMove","_onEnd","_onTouchFrame"],this)};Ai.prototype.isEnabled=function(){return!!this._enabled},Ai.prototype.enable=function(t){this.isEnabled()||(this._el.classList.add("mapboxgl-touch-zoom-rotate"),this._enabled=!0,this._aroundCenter=!!t&&"center"===t.around)},Ai.prototype.disable=function(){this.isEnabled()&&(this._el.classList.remove("mapboxgl-touch-zoom-rotate"),this._enabled=!1)},Ai.prototype.disableRotation=function(){this._rotationDisabled=!0},Ai.prototype.enableRotation=function(){this._rotationDisabled=!1},Ai.prototype.isActive=function(){return this.isEnabled()&&!!this._gestureIntent},Ai.prototype.onStart=function(e){if(this.isEnabled()&&2===e.touches.length){var i=r.mousePos(this._el,e.touches[0]),n=r.mousePos(this._el,e.touches[1]),o=i.add(n).div(2);this._startVec=i.sub(n),this._startAround=this._map.transform.pointLocation(o),this._gestureIntent=void 0,this._inertia=[],r.addEventListener(t.window.document,"touchmove",this._onMove,{passive:!1}),r.addEventListener(t.window.document,"touchend",this._onEnd)}},Ai.prototype._getTouchEventData=function(t){var e=r.mousePos(this._el,t.touches[0]),i=r.mousePos(this._el,t.touches[1]),n=e.sub(i);return{vec:n,center:e.add(i).div(2),scale:n.mag()/this._startVec.mag(),bearing:this._rotationDisabled?0:180*n.angleWith(this._startVec)/Math.PI}},Ai.prototype._onMove=function(e){if(2===e.touches.length){var r=this._getTouchEventData(e),i=r.vec,n=r.scale,o=r.bearing;if(!this._gestureIntent){var a=this._rotationDisabled&&1!==n||Math.abs(1-n)>.15;Math.abs(o)>10?this._gestureIntent="rotate":a&&(this._gestureIntent="zoom"),this._gestureIntent&&(this._map.fire(new t.Event(this._gestureIntent+"start",{originalEvent:e})),this._map.fire(new t.Event("movestart",{originalEvent:e})),this._startVec=i)}this._lastTouchEvent=e,this._frameId||(this._frameId=this._map._requestRenderFrame(this._onTouchFrame)),e.preventDefault()}},Ai.prototype._onTouchFrame=function(){this._frameId=null;var e=this._gestureIntent;if(e){var r=this._map.transform;this._startScale||(this._startScale=r.scale,this._startBearing=r.bearing);var i=this._getTouchEventData(this._lastTouchEvent),n=i.center,o=i.bearing,a=i.scale,s=r.pointLocation(n),l=r.locationPoint(s);"rotate"===e&&(r.bearing=this._startBearing+o),r.zoom=r.scaleZoom(this._startScale*a),r.setLocationAtPoint(this._startAround,l),this._map.fire(new t.Event(e,{originalEvent:this._lastTouchEvent})),this._map.fire(new t.Event("move",{originalEvent:this._lastTouchEvent})),this._drainInertiaBuffer(),this._inertia.push([t.browser.now(),a,n])}},Ai.prototype._onEnd=function(e){r.removeEventListener(t.window.document,"touchmove",this._onMove,{passive:!1}),r.removeEventListener(t.window.document,"touchend",this._onEnd);var i=this._gestureIntent,n=this._startScale;if(this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._gestureIntent,delete this._startScale,delete this._startBearing,delete this._lastTouchEvent,i){this._map.fire(new t.Event(i+"end",{originalEvent:e})),this._drainInertiaBuffer();var o=this._inertia,a=this._map;if(o.length<2)a.snapToNorth({},{originalEvent:e});else{var s=o[o.length-1],l=o[0],u=a.transform.scaleZoom(n*s[1]),c=a.transform.scaleZoom(n*l[1]),p=u-c,h=(s[0]-l[0])/1e3,f=s[2];if(0!==h&&u!==c){var d=.15*p/h;Math.abs(d)>2.5&&(d=d>0?2.5:-2.5);var m=1e3*Math.abs(d/(12*.15)),y=u+d*m/2e3;a.easeTo({zoom:y,duration:m,easing:Ii,around:this._aroundCenter?a.getCenter():a.unproject(f),noMoveStart:!0},{originalEvent:e})}else a.snapToNorth({},{originalEvent:e})}}},Ai.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,r=t.browser.now();e.length>2&&r-e[0][0]>160;)e.shift()};var zi={scrollZoom:_i,boxZoom:gi,dragRotate:xi,dragPan:wi,keyboard:Si,doubleClickZoom:Ti,touchZoomRotate:Ai},Ci=function(e){function r(r,i){e.call(this),this._moving=!1,this._zooming=!1,this.transform=r,this._bearingSnap=i.bearingSnap,t.bindAll(["_renderFrameCallback"],this)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getCenter=function(){return new t.LngLat(this.transform.center.lng,this.transform.center.lat)},r.prototype.setCenter=function(t,e){return this.jumpTo({center:t},e)},r.prototype.panBy=function(e,r,i){return e=t.Point.convert(e).mult(-1),this.panTo(this.transform.center,t.extend({offset:e},r),i)},r.prototype.panTo=function(e,r,i){return this.easeTo(t.extend({center:e},r),i)},r.prototype.getZoom=function(){return this.transform.zoom},r.prototype.setZoom=function(t,e){return this.jumpTo({zoom:t},e),this},r.prototype.zoomTo=function(e,r,i){return this.easeTo(t.extend({zoom:e},r),i)},r.prototype.zoomIn=function(t,e){return this.zoomTo(this.getZoom()+1,t,e),this},r.prototype.zoomOut=function(t,e){return this.zoomTo(this.getZoom()-1,t,e),this},r.prototype.getBearing=function(){return this.transform.bearing},r.prototype.setBearing=function(t,e){return this.jumpTo({bearing:t},e),this},r.prototype.rotateTo=function(e,r,i){return this.easeTo(t.extend({bearing:e},r),i)},r.prototype.resetNorth=function(e,r){return this.rotateTo(0,t.extend({duration:1e3},e),r),this},r.prototype.resetNorthPitch=function(e,r){return this.easeTo(t.extend({bearing:0,pitch:0,duration:1e3},e),r),this},r.prototype.snapToNorth=function(t,e){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(t,e):this},r.prototype.getPitch=function(){return this.transform.pitch},r.prototype.setPitch=function(t,e){return this.jumpTo({pitch:t},e),this},r.prototype.cameraForBounds=function(e,r){return e=t.LngLatBounds.convert(e),this._cameraForBoxAndBearing(e.getNorthWest(),e.getSouthEast(),0,r)},r.prototype._cameraForBoxAndBearing=function(e,r,i,n){if("number"==typeof(n=t.extend({padding:{top:0,bottom:0,right:0,left:0},offset:[0,0],maxZoom:this.transform.maxZoom},n)).padding){var o=n.padding;n.padding={top:o,bottom:o,right:o,left:o}}if(t.deepEqual(Object.keys(n.padding).sort((function(t,e){return t<e?-1:t>e?1:0})),["bottom","left","right","top"])){var a=this.transform,s=a.project(t.LngLat.convert(e)),l=a.project(t.LngLat.convert(r)),u=s.rotate(-i*Math.PI/180),c=l.rotate(-i*Math.PI/180),p=new t.Point(Math.max(u.x,c.x),Math.max(u.y,c.y)),h=new t.Point(Math.min(u.x,c.x),Math.min(u.y,c.y)),f=p.sub(h),d=(a.width-n.padding.left-n.padding.right)/f.x,m=(a.height-n.padding.top-n.padding.bottom)/f.y;if(!(m<0||d<0)){var y=Math.min(a.scaleZoom(a.scale*Math.min(d,m)),n.maxZoom),_=t.Point.convert(n.offset),g=(n.padding.left-n.padding.right)/2,v=(n.padding.top-n.padding.bottom)/2,x=new t.Point(_.x+g,_.y+v).mult(a.scale/a.zoomScale(y));return{center:a.unproject(s.add(l).div(2).sub(x)),zoom:y,bearing:i}}t.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.")}else t.warnOnce("options.padding must be a positive number, or an Object with keys 'bottom', 'left', 'right', 'top'")},r.prototype.fitBounds=function(t,e,r){return this._fitInternal(this.cameraForBounds(t,e),e,r)},r.prototype.fitScreenCoordinates=function(e,r,i,n,o){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(t.Point.convert(e)),this.transform.pointLocation(t.Point.convert(r)),i,n),n,o)},r.prototype._fitInternal=function(e,r,i){return e?(r=t.extend(e,r)).linear?this.easeTo(r,i):this.flyTo(r,i):this},r.prototype.jumpTo=function(e,r){this.stop();var i=this.transform,n=!1,o=!1,a=!1;return"zoom"in e&&i.zoom!==+e.zoom&&(n=!0,i.zoom=+e.zoom),void 0!==e.center&&(i.center=t.LngLat.convert(e.center)),"bearing"in e&&i.bearing!==+e.bearing&&(o=!0,i.bearing=+e.bearing),"pitch"in e&&i.pitch!==+e.pitch&&(a=!0,i.pitch=+e.pitch),this.fire(new t.Event("movestart",r)).fire(new t.Event("move",r)),n&&this.fire(new t.Event("zoomstart",r)).fire(new t.Event("zoom",r)).fire(new t.Event("zoomend",r)),o&&this.fire(new t.Event("rotatestart",r)).fire(new t.Event("rotate",r)).fire(new t.Event("rotateend",r)),a&&this.fire(new t.Event("pitchstart",r)).fire(new t.Event("pitch",r)).fire(new t.Event("pitchend",r)),this.fire(new t.Event("moveend",r))},r.prototype.easeTo=function(e,r){var i=this;this.stop(),(!1===(e=t.extend({offset:[0,0],duration:500,easing:t.ease},e)).animate||!e.essential&&t.browser.prefersReducedMotion)&&(e.duration=0);var n=this.transform,o=this.getZoom(),a=this.getBearing(),s=this.getPitch(),l="zoom"in e?+e.zoom:o,u="bearing"in e?this._normalizeBearing(e.bearing,a):a,c="pitch"in e?+e.pitch:s,p=n.centerPoint.add(t.Point.convert(e.offset)),h=n.pointLocation(p),f=t.LngLat.convert(e.center||h);this._normalizeCenter(f);var d,m,y=n.project(h),_=n.project(f).sub(y),g=n.zoomScale(l-o);return e.around&&(d=t.LngLat.convert(e.around),m=n.locationPoint(d)),this._zooming=l!==o,this._rotating=a!==u,this._pitching=c!==s,this._prepareEase(r,e.noMoveStart),clearTimeout(this._easeEndTimeoutID),this._ease((function(e){if(i._zooming&&(n.zoom=t.number(o,l,e)),i._rotating&&(n.bearing=t.number(a,u,e)),i._pitching&&(n.pitch=t.number(s,c,e)),d)n.setLocationAtPoint(d,m);else{var h=n.zoomScale(n.zoom-o),f=l>o?Math.min(2,g):Math.max(.5,g),v=Math.pow(f,1-e),x=n.unproject(y.add(_.mult(e*v)).mult(h));n.setLocationAtPoint(n.renderWorldCopies?x.wrap():x,p)}i._fireMoveEvents(r)}),(function(){e.delayEndEvents?i._easeEndTimeoutID=setTimeout((function(){return i._afterEase(r)}),e.delayEndEvents):i._afterEase(r)}),e),this},r.prototype._prepareEase=function(e,r){this._moving=!0,r||this.fire(new t.Event("movestart",e)),this._zooming&&this.fire(new t.Event("zoomstart",e)),this._rotating&&this.fire(new t.Event("rotatestart",e)),this._pitching&&this.fire(new t.Event("pitchstart",e))},r.prototype._fireMoveEvents=function(e){this.fire(new t.Event("move",e)),this._zooming&&this.fire(new t.Event("zoom",e)),this._rotating&&this.fire(new t.Event("rotate",e)),this._pitching&&this.fire(new t.Event("pitch",e))},r.prototype._afterEase=function(e){var r=this._zooming,i=this._rotating,n=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,r&&this.fire(new t.Event("zoomend",e)),i&&this.fire(new t.Event("rotateend",e)),n&&this.fire(new t.Event("pitchend",e)),this.fire(new t.Event("moveend",e))},r.prototype.flyTo=function(e,r){var i=this;if(!e.essential&&t.browser.prefersReducedMotion){var n=t.pick(e,["center","zoom","bearing","pitch","around"]);return this.jumpTo(n,r)}this.stop(),e=t.extend({offset:[0,0],speed:1.2,curve:1.42,easing:t.ease},e);var o=this.transform,a=this.getZoom(),s=this.getBearing(),l=this.getPitch(),u="zoom"in e?t.clamp(+e.zoom,o.minZoom,o.maxZoom):a,c="bearing"in e?this._normalizeBearing(e.bearing,s):s,p="pitch"in e?+e.pitch:l,h=o.zoomScale(u-a),f=o.centerPoint.add(t.Point.convert(e.offset)),d=o.pointLocation(f),m=t.LngLat.convert(e.center||d);this._normalizeCenter(m);var y=o.project(d),_=o.project(m).sub(y),g=e.curve,v=Math.max(o.width,o.height),x=v/h,b=_.mag();if("minZoom"in e){var w=t.clamp(Math.min(e.minZoom,a,u),o.minZoom,o.maxZoom),S=v/o.zoomScale(w-a);g=Math.sqrt(S/b*2)}var E=g*g;function T(t){var e=(x*x-v*v+(t?-1:1)*E*E*b*b)/(2*(t?x:v)*E*b);return Math.log(Math.sqrt(e*e+1)-e)}function I(t){return(Math.exp(t)-Math.exp(-t))/2}function A(t){return(Math.exp(t)+Math.exp(-t))/2}var z=T(0),C=function(t){return A(z)/A(z+g*t)},k=function(t){return v*((A(z)*(I(e=z+g*t)/A(e))-I(z))/E)/b;var e},P=(T(1)-z)/g;if(Math.abs(b)<1e-6||!isFinite(P)){if(Math.abs(v-x)<1e-6)return this.easeTo(e,r);var M=x<v?-1:1;P=Math.abs(Math.log(x/v))/g,k=function(){return 0},C=function(t){return Math.exp(M*g*t)}}if("duration"in e)e.duration=+e.duration;else{var L="screenSpeed"in e?+e.screenSpeed/g:+e.speed;e.duration=1e3*P/L}return e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=s!==c,this._pitching=p!==l,this._prepareEase(r,!1),this._ease((function(e){var n=e*P,h=1/C(n);o.zoom=1===e?u:a+o.scaleZoom(h),i._rotating&&(o.bearing=t.number(s,c,e)),i._pitching&&(o.pitch=t.number(l,p,e));var d=1===e?m:o.unproject(y.add(_.mult(k(n))).mult(h));o.setLocationAtPoint(o.renderWorldCopies?d.wrap():d,f),i._fireMoveEvents(r)}),(function(){return i._afterEase(r)}),e),this},r.prototype.isEasing=function(){return!!this._easeFrameId},r.prototype.stop=function(){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var t=this._onEaseEnd;delete this._onEaseEnd,t.call(this)}return this},r.prototype._ease=function(e,r,i){!1===i.animate||0===i.duration?(e(1),r()):(this._easeStart=t.browser.now(),this._easeOptions=i,this._onEaseFrame=e,this._onEaseEnd=r,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},r.prototype._renderFrameCallback=function(){var e=Math.min((t.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},r.prototype._normalizeBearing=function(e,r){e=t.wrap(e,-180,180);var i=Math.abs(e-r);return Math.abs(e-360-r)<i&&(e-=360),Math.abs(e+360-r)<i&&(e+=360),e},r.prototype._normalizeCenter=function(t){var e=this.transform;if(e.renderWorldCopies&&!e.lngRange){var r=t.lng-e.center.lng;t.lng+=r>180?-360:r<-180?360:0}},r}(t.Evented),ki=function(e){void 0===e&&(e={}),this.options=e,t.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};ki.prototype.getDefaultPosition=function(){return"bottom-right"},ki.prototype.onAdd=function(t){var e=this.options&&this.options.compact;return this._map=t,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=r.create("div","mapboxgl-ctrl-attrib-inner",this._container),e&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===e&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},ki.prototype.onRemove=function(){r.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},ki.prototype._updateEditLink=function(){var e=this._editLink;e||(e=this._editLink=this._container.querySelector(".mapbox-improve-map"));var r=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||t.config.ACCESS_TOKEN}];if(e){var i=r.reduce((function(t,e,i){return e.value&&(t+=e.key+"="+e.value+(i<r.length-1?"&":"")),t}),"?");e.href=t.config.FEEDBACK_URL+"/"+i+(this._map._hash?this._map._hash.getHashString(!0):""),e.rel="noopener nofollow"}},ki.prototype._updateData=function(t){!t||"metadata"!==t.sourceDataType&&"style"!==t.dataType||(this._updateAttributions(),this._updateEditLink())},ki.prototype._updateAttributions=function(){if(this._map.style){var t=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?t=t.concat(this.options.customAttribution.map((function(t){return"string"!=typeof t?"":t}))):"string"==typeof this.options.customAttribution&&t.push(this.options.customAttribution)),this._map.style.stylesheet){var e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id}var r=this._map.style.sourceCaches;for(var i in r){var n=r[i];if(n.used){var o=n.getSource();o.attribution&&t.indexOf(o.attribution)<0&&t.push(o.attribution)}}t.sort((function(t,e){return t.length-e.length}));var a=(t=t.filter((function(e,r){for(var i=r+1;i<t.length;i++)if(t[i].indexOf(e)>=0)return!1;return!0}))).join(" | ");a!==this._attribHTML&&(this._attribHTML=a,t.length?(this._innerContainer.innerHTML=a,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},ki.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var Pi=function(){t.bindAll(["_updateLogo"],this),t.bindAll(["_updateCompact"],this)};Pi.prototype.onAdd=function(t){this._map=t,this._container=r.create("div","mapboxgl-ctrl");var e=r.create("a","mapboxgl-ctrl-logo");return e.target="_blank",e.rel="noopener nofollow",e.href="https://www.mapbox.com/",e.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),e.setAttribute("rel","noopener nofollow"),this._container.appendChild(e),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Pi.prototype.onRemove=function(){r.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Pi.prototype.getDefaultPosition=function(){return"bottom-left"},Pi.prototype._updateLogo=function(t){t&&"metadata"!==t.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")},Pi.prototype._logoRequired=function(){if(this._map.style){var t=this._map.style.sourceCaches;for(var e in t)if(t[e].getSource().mapbox_logo)return!0;return!1}},Pi.prototype._updateCompact=function(){var t=this._container.children;if(t.length){var e=t[0];this._map.getCanvasContainer().offsetWidth<250?e.classList.add("mapboxgl-compact"):e.classList.remove("mapboxgl-compact")}};var Mi=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Mi.prototype.add=function(t){var e=++this._id;return this._queue.push({callback:t,id:e,cancelled:!1}),e},Mi.prototype.remove=function(t){for(var e=this._currentlyRunning,r=0,i=e?this._queue.concat(e):this._queue;r<i.length;r+=1){var n=i[r];if(n.id===t)return void(n.cancelled=!0)}},Mi.prototype.run=function(){var t=this._currentlyRunning=this._queue;this._queue=[];for(var e=0,r=t;e<r.length;e+=1){var i=r[e];if(!i.cancelled&&(i.callback(),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1},Mi.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]};var Li={"FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm"},Di=t.window.HTMLImageElement,Bi=t.window.HTMLElement,Ri={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,bearingSnap:7,clickTolerance:3,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0},Fi=function(i){function n(e){var n=this;if(null!=(e=t.extend({},Ri,e)).minZoom&&null!=e.maxZoom&&e.minZoom>e.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=e.minPitch&&null!=e.maxPitch&&e.minPitch>e.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=e.minPitch&&e.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=e.maxPitch&&e.maxPitch>60)throw new Error("maxPitch must be less than or equal to 60");var o=new pi(e.minZoom,e.maxZoom,e.minPitch,e.maxPitch,e.renderWorldCopies);if(i.call(this,o,e),this._interactive=e.interactive,this._maxTileCacheSize=e.maxTileCacheSize,this._failIfMajorPerformanceCaveat=e.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=e.preserveDrawingBuffer,this._antialias=e.antialias,this._trackResize=e.trackResize,this._bearingSnap=e.bearingSnap,this._refreshExpiredTiles=e.refreshExpiredTiles,this._fadeDuration=e.fadeDuration,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._renderTaskQueue=new Mi,this._controls=[],this._mapId=t.uniqueId(),this._locale=t.extend({},Li,e.locale),this._requestManager=new t.RequestManager(e.transformRequest,e.accessToken),"string"==typeof e.container){if(this._container=t.window.document.getElementById(e.container),!this._container)throw new Error("Container '"+e.container+"' not found.")}else{if(!(e.container instanceof Bi))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=e.container}if(e.maxBounds&&this.setMaxBounds(e.maxBounds),t.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",(function(){return n._update(!1)})),this.on("moveend",(function(){return n._update(!1)})),this.on("zoom",(function(){return n._update(!0)})),void 0!==t.window&&(t.window.addEventListener("online",this._onWindowOnline,!1),t.window.addEventListener("resize",this._onWindowResize,!1)),function(t,e){var i=t.getCanvasContainer(),n=null,o=!1,a=null;for(var s in zi)t[s]=new zi[s](t,e),e.interactive&&e[s]&&t[s].enable(e[s]);r.addEventListener(i,"mouseout",(function(e){t.fire(new di("mouseout",t,e))})),r.addEventListener(i,"mousedown",(function(n){o=!0,a=r.mousePos(i,n);var s=new di("mousedown",t,n);t.fire(s),s.defaultPrevented||(e.interactive&&!t.doubleClickZoom.isActive()&&t.stop(),t.boxZoom.onMouseDown(n),t.boxZoom.isActive()||t.dragPan.isActive()||t.dragRotate.onMouseDown(n),t.boxZoom.isActive()||t.dragRotate.isActive()||t.dragPan.onMouseDown(n))})),r.addEventListener(i,"mouseup",(function(e){var r=t.dragRotate.isActive();n&&!r&&t.fire(new di("contextmenu",t,n)),n=null,o=!1,t.fire(new di("mouseup",t,e))})),r.addEventListener(i,"mousemove",(function(e){if(!t.dragPan.isActive()&&!t.dragRotate.isActive()){for(var r=e.target;r&&r!==i;)r=r.parentNode;r===i&&t.fire(new di("mousemove",t,e))}})),r.addEventListener(i,"mouseover",(function(e){for(var r=e.target;r&&r!==i;)r=r.parentNode;r===i&&t.fire(new di("mouseover",t,e))})),r.addEventListener(i,"touchstart",(function(r){var i=new mi("touchstart",t,r);t.fire(i),i.defaultPrevented||(e.interactive&&t.stop(),t.boxZoom.isActive()||t.dragRotate.isActive()||t.dragPan.onTouchStart(r),t.touchZoomRotate.onStart(r),t.doubleClickZoom.onTouchStart(i))}),{passive:!1}),r.addEventListener(i,"touchmove",(function(e){t.fire(new mi("touchmove",t,e))}),{passive:!1}),r.addEventListener(i,"touchend",(function(e){t.fire(new mi("touchend",t,e))})),r.addEventListener(i,"touchcancel",(function(e){t.fire(new mi("touchcancel",t,e))})),r.addEventListener(i,"click",(function(n){var o=r.mousePos(i,n);(!a||o.equals(a)||o.dist(a)<e.clickTolerance)&&t.fire(new di("click",t,n))})),r.addEventListener(i,"dblclick",(function(e){var r=new di("dblclick",t,e);t.fire(r),r.defaultPrevented||t.doubleClickZoom.onDblClick(r)})),r.addEventListener(i,"contextmenu",(function(e){var r=t.dragRotate.isActive();o||r?o&&(n=e):t.fire(new di("contextmenu",t,e)),(t.dragRotate.isEnabled()||t.listens("contextmenu"))&&e.preventDefault()})),r.addEventListener(i,"wheel",(function(r){e.interactive&&t.stop();var i=new yi("wheel",t,r);t.fire(i),i.defaultPrevented||t.scrollZoom.onWheel(r)}),{passive:!1})}(this,e);var a="string"==typeof e.hash&&e.hash||void 0;this._hash=e.hash&&new fi(a).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,t.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localIdeographFontFamily:e.localIdeographFontFamily}),e.attributionControl&&this.addControl(new ki({customAttribution:e.customAttribution})),this.addControl(new Pi,e.logoPosition),this.on("style.load",(function(){n.transform.unmodified&&n.jumpTo(n.style.stylesheet)})),this.on("data",(function(e){n._update("style"===e.dataType),n.fire(new t.Event(e.dataType+"data",e))})),this.on("dataloading",(function(e){n.fire(new t.Event(e.dataType+"dataloading",e))}))}i&&(n.__proto__=i),n.prototype=Object.create(i&&i.prototype),n.prototype.constructor=n;var o={showTileBoundaries:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return n.prototype._getMapId=function(){return this._mapId},n.prototype.addControl=function(e,r){if(void 0===r&&e.getDefaultPosition&&(r=e.getDefaultPosition()),void 0===r&&(r="top-right"),!e||!e.onAdd)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var i=e.onAdd(this);this._controls.push(e);var n=this._controlPositions[r];return-1!==r.indexOf("bottom")?n.insertBefore(i,n.firstChild):n.appendChild(i),this},n.prototype.removeControl=function(e){if(!e||!e.onRemove)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var r=this._controls.indexOf(e);return r>-1&&this._controls.splice(r,1),e.onRemove(this),this},n.prototype.resize=function(e){var r=this._containerDimensions(),i=r[0],n=r[1];return this._resizeCanvas(i,n),this.transform.resize(i,n),this.painter.resize(i,n),this.fire(new t.Event("movestart",e)).fire(new t.Event("move",e)).fire(new t.Event("resize",e)).fire(new t.Event("moveend",e)),this},n.prototype.getBounds=function(){return this.transform.getBounds()},n.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},n.prototype.setMaxBounds=function(e){return this.transform.setMaxBounds(t.LngLatBounds.convert(e)),this._update()},n.prototype.setMinZoom=function(t){if((t=null==t?-2:t)>=-2&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()<t&&this.setZoom(t),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")},n.prototype.getMinZoom=function(){return this.transform.minZoom},n.prototype.setMaxZoom=function(t){if((t=null==t?22:t)>=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t&&this.setZoom(t),this;throw new Error("maxZoom must be greater than the current minZoom")},n.prototype.getMaxZoom=function(){return this.transform.maxZoom},n.prototype.setMinPitch=function(t){if((t=null==t?0:t)<0)throw new Error("minPitch must be greater than or equal to 0");if(t>=0&&t<=this.transform.maxPitch)return this.transform.minPitch=t,this._update(),this.getPitch()<t&&this.setPitch(t),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")},n.prototype.getMinPitch=function(){return this.transform.minPitch},n.prototype.setMaxPitch=function(t){if((t=null==t?60:t)>60)throw new Error("maxPitch must be less than or equal to 60");if(t>=this.transform.minPitch)return this.transform.maxPitch=t,this._update(),this.getPitch()>t&&this.setPitch(t),this;throw new Error("maxPitch must be greater than the current minPitch")},n.prototype.getMaxPitch=function(){return this.transform.maxPitch},n.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},n.prototype.setRenderWorldCopies=function(t){return this.transform.renderWorldCopies=t,this._update()},n.prototype.project=function(e){return this.transform.locationPoint(t.LngLat.convert(e))},n.prototype.unproject=function(e){return this.transform.pointLocation(t.Point.convert(e))},n.prototype.isMoving=function(){return this._moving||this.dragPan.isActive()||this.dragRotate.isActive()||this.scrollZoom.isActive()},n.prototype.isZooming=function(){return this._zooming||this.scrollZoom.isZooming()},n.prototype.isRotating=function(){return this._rotating||this.dragRotate.isActive()},n.prototype.on=function(t,e,r){var n=this;if(void 0===r)return i.prototype.on.call(this,t,e);var o=function(){var i;if("mouseenter"===t||"mouseover"===t){var o=!1;return{layer:e,listener:r,delegates:{mousemove:function(i){var a=n.getLayer(e)?n.queryRenderedFeatures(i.point,{layers:[e]}):[];a.length?o||(o=!0,r.call(n,new di(t,n,i.originalEvent,{features:a}))):o=!1},mouseout:function(){o=!1}}}}if("mouseleave"===t||"mouseout"===t){var a=!1;return{layer:e,listener:r,delegates:{mousemove:function(i){(n.getLayer(e)?n.queryRenderedFeatures(i.point,{layers:[e]}):[]).length?a=!0:a&&(a=!1,r.call(n,new di(t,n,i.originalEvent)))},mouseout:function(e){a&&(a=!1,r.call(n,new di(t,n,e.originalEvent)))}}}}return{layer:e,listener:r,delegates:(i={},i[t]=function(t){var i=n.getLayer(e)?n.queryRenderedFeatures(t.point,{layers:[e]}):[];i.length&&(t.features=i,r.call(n,t),delete t.features)},i)}}();for(var a in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(o),o.delegates)this.on(a,o.delegates[a]);return this},n.prototype.off=function(t,e,r){if(void 0===r)return i.prototype.off.call(this,t,e);if(this._delegatedListeners&&this._delegatedListeners[t])for(var n=this._delegatedListeners[t],o=0;o<n.length;o++){var a=n[o];if(a.layer===e&&a.listener===r){for(var s in a.delegates)this.off(s,a.delegates[s]);return n.splice(o,1),this}}return this},n.prototype.queryRenderedFeatures=function(e,r){if(!this.style)return[];var i;if(void 0!==r||void 0===e||e instanceof t.Point||Array.isArray(e)||(r=e,e=void 0),r=r||{},(e=e||[[0,0],[this.transform.width,this.transform.height]])instanceof t.Point||"number"==typeof e[0])i=[t.Point.convert(e)];else{var n=t.Point.convert(e[0]),o=t.Point.convert(e[1]);i=[n,new t.Point(o.x,n.y),o,new t.Point(n.x,o.y),n]}return this.style.queryRenderedFeatures(i,r,this.transform)},n.prototype.querySourceFeatures=function(t,e){return this.style.querySourceFeatures(t,e)},n.prototype.setStyle=function(e,r){return!1!==(r=t.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},r)).diff&&r.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,r),this):(this._localIdeographFontFamily=r.localIdeographFontFamily,this._updateStyle(e,r))},n.prototype._getUIString=function(t){var e=this._locale[t];if(null==e)throw new Error("Missing UI string '"+t+"'");return e},n.prototype._updateStyle=function(t,e){return this.style&&(this.style.setEventedParent(null),this.style._remove()),t?(this.style=new Fe(this,e||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof t?this.style.loadURL(t):this.style.loadJSON(t),this):(delete this.style,this)},n.prototype._diffStyle=function(e,r){var i=this;if("string"==typeof e){var n=this._requestManager.normalizeStyleURL(e),o=this._requestManager.transformRequest(n,t.ResourceType.Style);t.getJSON(o,(function(e,n){e?i.fire(new t.ErrorEvent(e)):n&&i._updateDiff(n,r)}))}else"object"==typeof e&&this._updateDiff(e,r)},n.prototype._updateDiff=function(e,r){try{this.style.setState(e)&&this._update(!0)}catch(i){t.warnOnce("Unable to perform style diff: "+(i.message||i.error||i)+". Rebuilding the style from scratch."),this._updateStyle(e,r)}},n.prototype.getStyle=function(){if(this.style)return this.style.serialize()},n.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():t.warnOnce("There is no style added to the map.")},n.prototype.addSource=function(t,e){return this.style.addSource(t,e),this._update(!0)},n.prototype.isSourceLoaded=function(e){var r=this.style&&this.style.sourceCaches[e];if(void 0!==r)return r.loaded();this.fire(new t.ErrorEvent(new Error("There is no source with ID '"+e+"'")))},n.prototype.areTilesLoaded=function(){var t=this.style&&this.style.sourceCaches;for(var e in t){var r=t[e]._tiles;for(var i in r){var n=r[i];if("loaded"!==n.state&&"errored"!==n.state)return!1}}return!0},n.prototype.addSourceType=function(t,e,r){return this.style.addSourceType(t,e,r)},n.prototype.removeSource=function(t){return this.style.removeSource(t),this._update(!0)},n.prototype.getSource=function(t){return this.style.getSource(t)},n.prototype.addImage=function(e,r,i){void 0===i&&(i={});var n=i.pixelRatio;void 0===n&&(n=1);var o=i.sdf;void 0===o&&(o=!1);var a=i.stretchX,s=i.stretchY,l=i.content;if(r instanceof Di){var u=t.browser.getImageData(r),c=u.width,p=u.height,h=u.data;this.style.addImage(e,{data:new t.RGBAImage({width:c,height:p},h),pixelRatio:n,stretchX:a,stretchY:s,content:l,sdf:o,version:0})}else{if(void 0===r.width||void 0===r.height)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));var f=r.width,d=r.height,m=r.data,y=r;this.style.addImage(e,{data:new t.RGBAImage({width:f,height:d},new Uint8Array(m)),pixelRatio:n,stretchX:a,stretchY:s,content:l,sdf:o,version:0,userImage:y}),y.onAdd&&y.onAdd(this,e)}},n.prototype.updateImage=function(e,r){var i=this.style.getImage(e);if(!i)return this.fire(new t.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));var n=r instanceof Di?t.browser.getImageData(r):r,o=n.width,a=n.height,s=n.data;if(void 0===o||void 0===a)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(o!==i.data.width||a!==i.data.height)return this.fire(new t.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image")));var l=!(r instanceof Di);i.data.replace(s,l),this.style.updateImage(e,i)},n.prototype.hasImage=function(e){return e?!!this.style.getImage(e):(this.fire(new t.ErrorEvent(new Error("Missing required image id"))),!1)},n.prototype.removeImage=function(t){this.style.removeImage(t)},n.prototype.loadImage=function(e,r){t.getImage(this._requestManager.transformRequest(e,t.ResourceType.Image),r)},n.prototype.listImages=function(){return this.style.listImages()},n.prototype.addLayer=function(t,e){return this.style.addLayer(t,e),this._update(!0)},n.prototype.moveLayer=function(t,e){return this.style.moveLayer(t,e),this._update(!0)},n.prototype.removeLayer=function(t){return this.style.removeLayer(t),this._update(!0)},n.prototype.getLayer=function(t){return this.style.getLayer(t)},n.prototype.setLayerZoomRange=function(t,e,r){return this.style.setLayerZoomRange(t,e,r),this._update(!0)},n.prototype.setFilter=function(t,e,r){return void 0===r&&(r={}),this.style.setFilter(t,e,r),this._update(!0)},n.prototype.getFilter=function(t){return this.style.getFilter(t)},n.prototype.setPaintProperty=function(t,e,r,i){return void 0===i&&(i={}),this.style.setPaintProperty(t,e,r,i),this._update(!0)},n.prototype.getPaintProperty=function(t,e){return this.style.getPaintProperty(t,e)},n.prototype.setLayoutProperty=function(t,e,r,i){return void 0===i&&(i={}),this.style.setLayoutProperty(t,e,r,i),this._update(!0)},n.prototype.getLayoutProperty=function(t,e){return this.style.getLayoutProperty(t,e)},n.prototype.setLight=function(t,e){return void 0===e&&(e={}),this.style.setLight(t,e),this._update(!0)},n.prototype.getLight=function(){return this.style.getLight()},n.prototype.setFeatureState=function(t,e){return this.style.setFeatureState(t,e),this._update()},n.prototype.removeFeatureState=function(t,e){return this.style.removeFeatureState(t,e),this._update()},n.prototype.getFeatureState=function(t){return this.style.getFeatureState(t)},n.prototype.getContainer=function(){return this._container},n.prototype.getCanvasContainer=function(){return this._canvasContainer},n.prototype.getCanvas=function(){return this._canvas},n.prototype._containerDimensions=function(){var t=0,e=0;return this._container&&(t=this._container.clientWidth||400,e=this._container.clientHeight||300),[t,e]},n.prototype._detectMissingCSS=function(){"rgb(250, 128, 114)"!==t.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")&&t.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")},n.prototype._setupContainer=function(){var t=this._container;t.classList.add("mapboxgl-map"),(this._missingCSSCanary=r.create("div","mapboxgl-canary",t)).style.visibility="hidden",this._detectMissingCSS();var e=this._canvasContainer=r.create("div","mapboxgl-canvas-container",t);this._interactive&&e.classList.add("mapboxgl-interactive"),this._canvas=r.create("canvas","mapboxgl-canvas",e),this._canvas.style.position="absolute",this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map");var i=this._containerDimensions();this._resizeCanvas(i[0],i[1]);var n=this._controlContainer=r.create("div","mapboxgl-control-container",t),o=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach((function(t){o[t]=r.create("div","mapboxgl-ctrl-"+t,n)}))},n.prototype._resizeCanvas=function(e,r){var i=t.window.devicePixelRatio||1;this._canvas.width=i*e,this._canvas.height=i*r,this._canvas.style.width=e+"px",this._canvas.style.height=r+"px"},n.prototype._setupPainter=function(){var r=t.extend({},e.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),i=this._canvas.getContext("webgl",r)||this._canvas.getContext("experimental-webgl",r);i?(this.painter=new si(i,this.transform),t.webpSupported.testSupport(i)):this.fire(new t.ErrorEvent(new Error("Failed to initialize WebGL")))},n.prototype._contextLost=function(e){e.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new t.Event("webglcontextlost",{originalEvent:e}))},n.prototype._contextRestored=function(e){this._setupPainter(),this.resize(),this._update(),this.fire(new t.Event("webglcontextrestored",{originalEvent:e}))},n.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},n.prototype._update=function(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this},n.prototype._requestRenderFrame=function(t){return this._update(),this._renderTaskQueue.add(t)},n.prototype._cancelRenderFrame=function(t){this._renderTaskQueue.remove(t)},n.prototype._render=function(){var e,r=this,i=0,n=this.painter.context.extTimerQuery;this.listens("gpu-timing-frame")&&(e=n.createQueryEXT(),n.beginQueryEXT(n.TIME_ELAPSED_EXT,e),i=t.browser.now()),this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run();var o=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var a=this.transform.zoom,s=t.browser.now();this.style.zoomHistory.update(a,s);var l=new t.EvaluationParameters(a,{now:s,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),u=l.crossFadingFactor();1===u&&u===this._crossFadingFactor||(o=!0,this._crossFadingFactor=u),this.style.update(l)}if(this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),gpuTiming:!!this.listens("gpu-timing-layer"),fadeDuration:this._fadeDuration}),this.fire(new t.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.Event("load"))),this.style&&(this.style.hasTransitions()||o)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this.listens("gpu-timing-frame")){var c=t.browser.now()-i;n.endQueryEXT(n.TIME_ELAPSED_EXT,e),setTimeout((function(){var i=n.getQueryObjectEXT(e,n.QUERY_RESULT_EXT)/1e6;n.deleteQueryEXT(e),r.fire(new t.Event("gpu-timing-frame",{cpuTime:c,gpuTime:i}))}),50)}if(this.listens("gpu-timing-layer")){var p=this.painter.collectGpuTimers();setTimeout((function(){var e=r.painter.queryGpuTimers(p);r.fire(new t.Event("gpu-timing-layer",{layerTimes:e}))}),50)}return this._sourcesDirty||this._repaint||this._styleDirty||this._placementDirty?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.Event("idle")),this},n.prototype.remove=function(){this._hash&&this._hash.remove();for(var e=0,r=this._controls;e<r.length;e+=1)r[e].onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.setStyle(null),void 0!==t.window&&(t.window.removeEventListener("resize",this._onWindowResize,!1),t.window.removeEventListener("online",this._onWindowOnline,!1));var i=this.painter.context.gl.getExtension("WEBGL_lose_context");i&&i.loseContext(),Oi(this._canvasContainer),Oi(this._controlContainer),Oi(this._missingCSSCanary),this._container.classList.remove("mapboxgl-map"),this.fire(new t.Event("remove"))},n.prototype.triggerRepaint=function(){var e=this;this.style&&!this._frame&&(this._frame=t.browser.frame((function(){e._frame=null,e._render()})))},n.prototype._onWindowOnline=function(){this._update()},n.prototype._onWindowResize=function(t){this._trackResize&&this.resize({originalEvent:t})._update()},o.showTileBoundaries.get=function(){return!!this._showTileBoundaries},o.showTileBoundaries.set=function(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update())},o.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},o.showCollisionBoxes.set=function(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update())},o.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},o.showOverdrawInspector.set=function(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update())},o.repaint.get=function(){return!!this._repaint},o.repaint.set=function(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint())},o.vertices.get=function(){return!!this._vertices},o.vertices.set=function(t){this._vertices=t,this._update()},n.prototype._setCacheLimits=function(e,r){t.setCacheLimits(e,r)},o.version.get=function(){return t.version},Object.defineProperties(n.prototype,o),n}(Ci);function Oi(t){t.parentNode&&t.parentNode.removeChild(t)}var Ui={showCompass:!0,showZoom:!0,visualizePitch:!1},Vi=function(e){var i=this;this.options=t.extend({},Ui,e),this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this.options.showZoom&&(t.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",(function(t){return i._map.zoomIn({},{originalEvent:t})})),r.create("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden",!0),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",(function(t){return i._map.zoomOut({},{originalEvent:t})})),r.create("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden",!0)),this.options.showCompass&&(t.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",(function(t){i.options.visualizePitch?i._map.resetNorthPitch({},{originalEvent:t}):i._map.resetNorth({},{originalEvent:t})})),this._compassIcon=r.create("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden",!0))};function Ni(e,r,i){if(e=new t.LngLat(e.lng,e.lat),r){var n=new t.LngLat(e.lng-360,e.lat),o=new t.LngLat(e.lng+360,e.lat),a=i.locationPoint(e).distSqr(r);i.locationPoint(n).distSqr(r)<a?e=n:i.locationPoint(o).distSqr(r)<a&&(e=o)}for(;Math.abs(e.lng-i.center.lng)>180;){var s=i.locationPoint(e);if(s.x>=0&&s.y>=0&&s.x<=i.width&&s.y<=i.height)break;e.lng>i.center.lng?e.lng-=360:e.lng+=360}return e}Vi.prototype._updateZoomButtons=function(){var t=this._map.getZoom();this._zoomInButton.disabled=t===this._map.getMaxZoom(),this._zoomOutButton.disabled=t===this._map.getMinZoom()},Vi.prototype._rotateCompassArrow=function(){var t=this.options.visualizePitch?"scale("+1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)+") rotateX("+this._map.transform.pitch+"deg) rotateZ("+this._map.transform.angle*(180/Math.PI)+"deg)":"rotate("+this._map.transform.angle*(180/Math.PI)+"deg)";this._compassIcon.style.transform=t},Vi.prototype.onAdd=function(t){return this._map=t,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new xi(t,{button:"left",element:this._compass}),r.addEventListener(this._compass,"mousedown",this._handler.onMouseDown),r.addEventListener(this._compass,"touchstart",this._handler.onMouseDown,{passive:!1}),this._handler.enable()),this._container},Vi.prototype.onRemove=function(){r.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),r.removeEventListener(this._compass,"mousedown",this._handler.onMouseDown),r.removeEventListener(this._compass,"touchstart",this._handler.onMouseDown,{passive:!1}),this._handler.disable(),delete this._handler),delete this._map},Vi.prototype._createButton=function(t,e){var i=r.create("button",t,this._container);return i.type="button",i.addEventListener("click",e),i},Vi.prototype._setButtonTitle=function(t,e){var r=this._map._getUIString("NavigationControl."+e);t.title=r,t.setAttribute("aria-label",r)};var ji={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function qi(t,e,r){var i=t.classList;for(var n in ji)i.remove("mapboxgl-"+r+"-anchor-"+n);i.add("mapboxgl-"+r+"-anchor-"+e)}var Zi,Gi=function(e){function i(i,n){var o=this;if(e.call(this),(i instanceof t.window.HTMLElement||n)&&(i=t.extend({element:i},n)),t.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=i&&i.anchor||"center",this._color=i&&i.color||"#3FB1CE",this._draggable=i&&i.draggable||!1,this._state="inactive",this._rotation=i&&i.rotation||0,this._rotationAlignment=i&&i.rotationAlignment||"auto",this._pitchAlignment=i&&i.pitchAlignment&&"auto"!==i.pitchAlignment?i.pitchAlignment:this._rotationAlignment,i&&i.element)this._element=i.element,this._offset=t.Point.convert(i&&i.offset||[0,0]);else{this._defaultMarker=!0,this._element=r.create("div"),this._element.setAttribute("aria-label","Map marker");var a=r.createNS("http://www.w3.org/2000/svg","svg");a.setAttributeNS(null,"display","block"),a.setAttributeNS(null,"height","41px"),a.setAttributeNS(null,"width","27px"),a.setAttributeNS(null,"viewBox","0 0 27 41");var s=r.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"stroke","none"),s.setAttributeNS(null,"stroke-width","1"),s.setAttributeNS(null,"fill","none"),s.setAttributeNS(null,"fill-rule","evenodd");var l=r.createNS("http://www.w3.org/2000/svg","g");l.setAttributeNS(null,"fill-rule","nonzero");var u=r.createNS("http://www.w3.org/2000/svg","g");u.setAttributeNS(null,"transform","translate(3.0, 29.0)"),u.setAttributeNS(null,"fill","#000000");for(var c=0,p=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];c<p.length;c+=1){var h=p[c],f=r.createNS("http://www.w3.org/2000/svg","ellipse");f.setAttributeNS(null,"opacity","0.04"),f.setAttributeNS(null,"cx","10.5"),f.setAttributeNS(null,"cy","5.80029008"),f.setAttributeNS(null,"rx",h.rx),f.setAttributeNS(null,"ry",h.ry),u.appendChild(f)}var d=r.createNS("http://www.w3.org/2000/svg","g");d.setAttributeNS(null,"fill",this._color);var m=r.createNS("http://www.w3.org/2000/svg","path");m.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),d.appendChild(m);var y=r.createNS("http://www.w3.org/2000/svg","g");y.setAttributeNS(null,"opacity","0.25"),y.setAttributeNS(null,"fill","#000000");var _=r.createNS("http://www.w3.org/2000/svg","path");_.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),y.appendChild(_);var g=r.createNS("http://www.w3.org/2000/svg","g");g.setAttributeNS(null,"transform","translate(6.0, 7.0)"),g.setAttributeNS(null,"fill","#FFFFFF");var v=r.createNS("http://www.w3.org/2000/svg","g");v.setAttributeNS(null,"transform","translate(8.0, 8.0)");var x=r.createNS("http://www.w3.org/2000/svg","circle");x.setAttributeNS(null,"fill","#000000"),x.setAttributeNS(null,"opacity","0.25"),x.setAttributeNS(null,"cx","5.5"),x.setAttributeNS(null,"cy","5.5"),x.setAttributeNS(null,"r","5.4999962");var b=r.createNS("http://www.w3.org/2000/svg","circle");b.setAttributeNS(null,"fill","#FFFFFF"),b.setAttributeNS(null,"cx","5.5"),b.setAttributeNS(null,"cy","5.5"),b.setAttributeNS(null,"r","5.4999962"),v.appendChild(x),v.appendChild(b),l.appendChild(u),l.appendChild(d),l.appendChild(y),l.appendChild(g),l.appendChild(v),a.appendChild(l),this._element.appendChild(a),this._offset=t.Point.convert(i&&i.offset||[0,-14])}this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",(function(t){t.preventDefault()})),this._element.addEventListener("mousedown",(function(t){t.preventDefault()})),this._element.addEventListener("focus",(function(){var t=o._map.getContainer();t.scrollTop=0,t.scrollLeft=0})),qi(this._element,this._anchor,"marker"),this._popup=null}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.addTo=function(t){return this.remove(),this._map=t,t.getCanvasContainer().appendChild(this._element),t.on("move",this._update),t.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this},i.prototype.remove=function(){return this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),r.remove(this._element),this._popup&&this._popup.remove(),this},i.prototype.getLngLat=function(){return this._lngLat},i.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},i.prototype.getElement=function(){return this._element},i.prototype.setPopup=function(t){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),t){if(!("offset"in t.options)){var e=Math.sqrt(Math.pow(13.5,2)/2);t.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[e,-1*(24.6+e)],"bottom-right":[-e,-1*(24.6+e)],left:[13.5,-24.6],right:[-13.5,-24.6]}:this._offset}this._popup=t,this._lngLat&&this._popup.setLngLat(this._lngLat),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this},i.prototype._onKeyPress=function(t){var e=t.code,r=t.charCode||t.keyCode;"Space"!==e&&"Enter"!==e&&32!==r&&13!==r||this.togglePopup()},i.prototype._onMapClick=function(t){var e=t.originalEvent.target,r=this._element;this._popup&&(e===r||r.contains(e))&&this.togglePopup()},i.prototype.getPopup=function(){return this._popup},i.prototype.togglePopup=function(){var t=this._popup;return t?(t.isOpen()?t.remove():t.addTo(this._map),this):this},i.prototype._update=function(t){if(this._map){this._map.transform.renderWorldCopies&&(this._lngLat=Ni(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset);var e="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?e="rotateZ("+this._rotation+"deg)":"map"===this._rotationAlignment&&(e="rotateZ("+(this._rotation-this._map.getBearing())+"deg)");var i="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?i="rotateX(0deg)":"map"===this._pitchAlignment&&(i="rotateX("+this._map.getPitch()+"deg)"),t&&"moveend"!==t.type||(this._pos=this._pos.round()),r.setTransform(this._element,ji[this._anchor]+" translate("+this._pos.x+"px, "+this._pos.y+"px) "+i+" "+e)}},i.prototype.getOffset=function(){return this._offset},i.prototype.setOffset=function(e){return this._offset=t.Point.convert(e),this._update(),this},i.prototype._onMove=function(e){this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.Event("dragstart"))),this.fire(new t.Event("drag"))},i.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.Event("dragend")),this._state="inactive"},i.prototype._addDragHandler=function(t){this._element.contains(t.originalEvent.target)&&(t.preventDefault(),this._positionDelta=t.point.sub(this._pos).add(this._offset),this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},i.prototype.setDraggable=function(t){return this._draggable=!!t,this._map&&(t?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},i.prototype.isDraggable=function(){return this._draggable},i.prototype.setRotation=function(t){return this._rotation=t||0,this._update(),this},i.prototype.getRotation=function(){return this._rotation},i.prototype.setRotationAlignment=function(t){return this._rotationAlignment=t||"auto",this._update(),this},i.prototype.getRotationAlignment=function(){return this._rotationAlignment},i.prototype.setPitchAlignment=function(t){return this._pitchAlignment=t&&"auto"!==t?t:this._rotationAlignment,this._update(),this},i.prototype.getPitchAlignment=function(){return this._pitchAlignment},i}(t.Evented),Xi={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showUserLocation:!0},Wi=function(e){function i(r){e.call(this),this.options=t.extend({},Xi,r),t.bindAll(["_onSuccess","_onError","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.onAdd=function(e){var i;return this._map=e,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),i=this._setupUI,void 0!==Zi?i(Zi):void 0!==t.window.navigator.permissions?t.window.navigator.permissions.query({name:"geolocation"}).then((function(t){Zi="denied"!==t.state,i(Zi)})):(Zi=!!t.window.navigator.geolocation,i(Zi)),this._container},i.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),r.remove(this._container),this._map=void 0},i.prototype._isOutOfMapMaxBounds=function(t){var e=this._map.getMaxBounds(),r=t.coords;return e&&(r.longitude<e.getWest()||r.longitude>e.getEast()||r.latitude<e.getSouth()||r.latitude>e.getNorth())},i.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},i.prototype._onSuccess=function(e){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.Event("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("geolocate",e)),this._finish()},i.prototype._updateCamera=function(e){var r=new t.LngLat(e.coords.longitude,e.coords.latitude),i=e.coords.accuracy,n=this._map.getBearing(),o=t.extend({bearing:n},this.options.fitBoundsOptions);this._map.fitBounds(r.toBounds(i),o,{geolocateSource:!0})},i.prototype._updateMarker=function(t){t?this._userLocationDotMarker.setLngLat([t.coords.longitude,t.coords.latitude]).addTo(this._map):this._userLocationDotMarker.remove()},i.prototype._onError=function(e){if(this.options.trackUserLocation)if(1===e.code){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var r=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=r,this._geolocateButton.setAttribute("aria-label",r),void 0!==this._geolocationWatchID&&this._clearWatch()}else this._setErrorState();"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("error",e)),this._finish()},i.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},i.prototype._setupUI=function(e){var i=this;if(this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this._geolocateButton=r.create("button","mapboxgl-ctrl-geolocate",this._container),r.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",!1===e){t.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var n=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=n,this._geolocateButton.setAttribute("aria-label",n)}else{var o=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=o,this._geolocateButton.setAttribute("aria-label",o)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=r.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Gi(this._dotElement),this.options.trackUserLocation&&(this._watchState="OFF")),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",(function(e){var r=e.originalEvent&&"resize"===e.originalEvent.type;e.geolocateSource||"ACTIVE_LOCK"!==i._watchState||r||(i._watchState="BACKGROUND",i._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),i._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),i.fire(new t.Event("trackuserlocationend")))}))},i.prototype.trigger=function(){if(!this._setup)return t.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new t.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}"OFF"===this._watchState&&void 0!==this._geolocationWatchID?this._clearWatch():void 0===this._geolocationWatchID&&(this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),this._geolocationWatchID=t.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,this.options.positionOptions))}else t.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},i.prototype._clearWatch=function(){t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},i}(t.Evented),Ki={maxWidth:100,unit:"metric"},Hi=function(e){this.options=t.extend({},Ki,e),t.bindAll(["_onMove","setUnit"],this)};function Ji(t,e,r){var i,n,o,a,s,l,u=r&&r.maxWidth||100,c=t._container.clientHeight/2,p=(i=t.unproject([0,c]),n=t.unproject([u,c]),o=Math.PI/180,a=i.lat*o,s=n.lat*o,l=Math.sin(a)*Math.sin(s)+Math.cos(a)*Math.cos(s)*Math.cos((n.lng-i.lng)*o),6371e3*Math.acos(Math.min(l,1)));if(r&&"imperial"===r.unit){var h=3.2808*p;h>5280?Yi(e,u,h/5280,t._getUIString("ScaleControl.Miles")):Yi(e,u,h,t._getUIString("ScaleControl.Feet"))}else r&&"nautical"===r.unit?Yi(e,u,p/1852,t._getUIString("ScaleControl.NauticalMiles")):p>=1e3?Yi(e,u,p/1e3,t._getUIString("ScaleControl.Kilometers")):Yi(e,u,p,t._getUIString("ScaleControl.Meters"))}function Yi(t,e,r,i){var n,o,a,s=(n=r,(o=Math.pow(10,(""+Math.floor(n)).length-1))*(a=(a=n/o)>=10?10:a>=5?5:a>=3?3:a>=2?2:a>=1?1:function(t){var e=Math.pow(10,Math.ceil(-Math.log(t)/Math.LN10));return Math.round(t*e)/e}(a))),l=s/r;t.style.width=e*l+"px",t.innerHTML=s+i}Hi.prototype.getDefaultPosition=function(){return"bottom-left"},Hi.prototype._onMove=function(){Ji(this._map,this._container,this.options)},Hi.prototype.onAdd=function(t){return this._map=t,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Hi.prototype.onRemove=function(){r.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Hi.prototype.setUnit=function(t){this.options.unit=t,Ji(this._map,this._container,this.options)};var Qi=function(e){this._fullscreen=!1,e&&e.container&&(e.container instanceof t.window.HTMLElement?this._container=e.container:t.warnOnce("Full screen control 'container' must be a DOM element.")),t.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in t.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in t.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in t.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in t.window.document&&(this._fullscreenchange="MSFullscreenChange")};Qi.prototype.onAdd=function(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",t.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},Qi.prototype.onRemove=function(){r.remove(this._controlContainer),this._map=null,t.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},Qi.prototype._checkFullscreenSupport=function(){return!!(t.window.document.fullscreenEnabled||t.window.document.mozFullScreenEnabled||t.window.document.msFullscreenEnabled||t.window.document.webkitFullscreenEnabled)},Qi.prototype._setupUI=function(){var e=this._fullscreenButton=r.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);r.create("span","mapboxgl-ctrl-icon",e).setAttribute("aria-hidden",!0),e.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),t.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},Qi.prototype._updateTitle=function(){var t=this._getTitle();this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.title=t},Qi.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},Qi.prototype._isFullscreen=function(){return this._fullscreen},Qi.prototype._changeIcon=function(){(t.window.document.fullscreenElement||t.window.document.mozFullScreenElement||t.window.document.webkitFullscreenElement||t.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},Qi.prototype._onClickFullscreen=function(){this._isFullscreen()?t.window.document.exitFullscreen?t.window.document.exitFullscreen():t.window.document.mozCancelFullScreen?t.window.document.mozCancelFullScreen():t.window.document.msExitFullscreen?t.window.document.msExitFullscreen():t.window.document.webkitCancelFullScreen&&t.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var $i={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},tn=function(e){function i(r){e.call(this),this.options=t.extend(Object.create($i),r),t.bindAll(["_update","_onClickClose","remove"],this)}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.addTo=function(e){var r=this;return this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClickClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",(function(t){r._update(t.point)})),this._map.on("mouseup",(function(t){r._update(t.point)})),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new t.Event("open")),this},i.prototype.isOpen=function(){return!!this._map},i.prototype.remove=function(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("click",this._onClickClose),this._map.off("remove",this.remove),this._map.off("mousemove"),delete this._map),this.fire(new t.Event("close")),this},i.prototype.getLngLat=function(){return this._lngLat},i.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove"),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},i.prototype.trackPointer=function(){var t=this;return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",(function(e){t._update(e.point)})),this._map.on("drag",(function(e){t._update(e.point)})),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},i.prototype.getElement=function(){return this._container},i.prototype.setText=function(e){return this.setDOMContent(t.window.document.createTextNode(e))},i.prototype.setHTML=function(e){var r,i=t.window.document.createDocumentFragment(),n=t.window.document.createElement("body");for(n.innerHTML=e;r=n.firstChild;)i.appendChild(r);return this.setDOMContent(i)},i.prototype.getMaxWidth=function(){return this._container.style.maxWidth},i.prototype.setMaxWidth=function(t){return this.options.maxWidth=t,this._update(),this},i.prototype.setDOMContent=function(t){return this._createContent(),this._content.appendChild(t),this._update(),this},i.prototype.addClassName=function(t){this._container.classList.add(t)},i.prototype.removeClassName=function(t){this._container.classList.remove(t)},i.prototype.toggleClassName=function(t){return this._container.classList.toggle(t)},i.prototype._createContent=function(){this._content&&r.remove(this._content),this._content=r.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=r.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="&#215;",this._closeButton.addEventListener("click",this._onClickClose))},i.prototype._update=function(e){var i=this,n=this._lngLat||this._trackPointer;if(this._map&&n&&this._content&&(this._container||(this._container=r.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=r.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach((function(t){return i._container.classList.add(t)})),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||e)){var o=this._pos=this._trackPointer&&e?e:this._map.project(this._lngLat),a=this.options.anchor,s=function e(r){if(r){if("number"==typeof r){var i=Math.round(Math.sqrt(.5*Math.pow(r,2)));return{center:new t.Point(0,0),top:new t.Point(0,r),"top-left":new t.Point(i,i),"top-right":new t.Point(-i,i),bottom:new t.Point(0,-r),"bottom-left":new t.Point(i,-i),"bottom-right":new t.Point(-i,-i),left:new t.Point(r,0),right:new t.Point(-r,0)}}if(r instanceof t.Point||Array.isArray(r)){var n=t.Point.convert(r);return{center:n,top:n,"top-left":n,"top-right":n,bottom:n,"bottom-left":n,"bottom-right":n,left:n,right:n}}return{center:t.Point.convert(r.center||[0,0]),top:t.Point.convert(r.top||[0,0]),"top-left":t.Point.convert(r["top-left"]||[0,0]),"top-right":t.Point.convert(r["top-right"]||[0,0]),bottom:t.Point.convert(r.bottom||[0,0]),"bottom-left":t.Point.convert(r["bottom-left"]||[0,0]),"bottom-right":t.Point.convert(r["bottom-right"]||[0,0]),left:t.Point.convert(r.left||[0,0]),right:t.Point.convert(r.right||[0,0])}}return e(new t.Point(0,0))}(this.options.offset);if(!a){var l,u=this._container.offsetWidth,c=this._container.offsetHeight;l=o.y+s.bottom.y<c?["top"]:o.y>this._map.transform.height-c?["bottom"]:[],o.x<u/2?l.push("left"):o.x>this._map.transform.width-u/2&&l.push("right"),a=0===l.length?"bottom":l.join("-")}var p=o.add(s[a]).round();r.setTransform(this._container,ji[a]+" translate("+p.x+"px,"+p.y+"px)"),qi(this._container,a,"popup")}},i.prototype._onClickClose=function(){this.remove()},i}(t.Evented),en={version:t.version,supported:e,setRTLTextPlugin:t.setRTLTextPlugin,getRTLTextPluginStatus:t.getRTLTextPluginStatus,Map:Fi,NavigationControl:Vi,GeolocateControl:Wi,AttributionControl:ki,ScaleControl:Hi,FullscreenControl:Qi,Popup:tn,Marker:Gi,Style:Fe,LngLat:t.LngLat,LngLatBounds:t.LngLatBounds,Point:t.Point,MercatorCoordinate:t.MercatorCoordinate,Evented:t.Evented,config:t.config,get accessToken(){return t.config.ACCESS_TOKEN},set accessToken(e){t.config.ACCESS_TOKEN=e},get baseApiUrl(){return t.config.API_URL},set baseApiUrl(e){t.config.API_URL=e},get workerCount(){return Lt.workerCount},set workerCount(t){Lt.workerCount=t},get maxParallelImageRequests(){return t.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){t.config.MAX_PARALLEL_IMAGE_REQUESTS=e},clearStorage:function(e){t.clearTileCache(e)},workerUrl:""};return en})),r}()},307:function(t,e,r){}}]); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.rtl.css b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.rtl.css
deleted file mode 100644
index 6f84cb9e..00000000
--- a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.rtl.css
+++ /dev/null
@@ -1 +0,0 @@
-.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:right}.mapboxgl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left{top:0;right:0}.mapboxgl-ctrl-top-right{top:0;left:0}.mapboxgl-ctrl-bottom-left{bottom:0;right:0}.mapboxgl-ctrl-bottom-right{left:0;bottom:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-group{border-radius:4px;background:#fff}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{width:29px;height:29px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:focus:only-child{border-radius:inherit}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}a.mapboxgl-ctrl-logo{width:88px;height:23px;margin:0 -4px -4px 0;display:block;background-repeat:no-repeat;cursor:pointer;overflow:hidden;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg opacity='.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg opacity='.9' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{padding:0 5px;background-color:hsla(0,0%,100%,.5);margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{min-height:20px;padding:0;margin:10px;position:relative;background-color:#fff;border-radius:12px 3px 3px 12px}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 4px 2px 24px;visibility:visible;margin-top:6px}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 24px 2px 4px;border-radius:3px 12px 12px 3px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact:after{content:"";cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E");background-color:hsla(0,0%,100%,.5);width:24px;height:24px;box-sizing:border-box;border-radius:12px}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;left:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;right:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-right:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);font-size:10px;border:2px solid #333;border-top:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup{position:absolute;top:0;right:0;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-close-button{position:absolute;left:0;top:0;border:0;border-radius:3px 0 0 0;cursor:pointer;background-color:transparent}.mapboxgl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{position:absolute;top:0;right:0;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot:before{content:"";position:absolute;animation:mapboxgl-user-location-dot-pulse 2s infinite}.mapboxgl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;right:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box;box-shadow:0 0 3px rgba(0,0,0,.35)}@keyframes mapboxgl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{position:absolute;top:0;right:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.css b/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.css
deleted file mode 100644
index 9d0aebeb..00000000
--- a/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.css
+++ /dev/null
@@ -1 +0,0 @@
-.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;-o-transition-property:transform,height;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),transparent);background-image:-o-linear-gradient(right,rgba(0,0,0,.5),transparent);background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),transparent);background-image:-o-linear-gradient(left,rgba(0,0,0,.5),transparent);background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),transparent);background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5),transparent);background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),transparent);background-image:-o-linear-gradient(top,rgba(0,0,0,.5),transparent);background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:50%;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z'/%3E%3C/svg%3E")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:opacity .3s;-o-transition:.3s opacity;transition:opacity .3s;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:top .2s,-webkit-transform .2s;transition:top .2s,-webkit-transform .2s;-o-transition:.2s transform,.2s top;transition:transform .2s,top .2s;transition:transform .2s,top .2s,-webkit-transform .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:left .2s,-webkit-transform .2s;transition:left .2s,-webkit-transform .2s;-o-transition:.2s transform,.2s left;transition:transform .2s,left .2s;transition:transform .2s,left .2s,-webkit-transform .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:right .2s,-webkit-transform .2s;transition:right .2s,-webkit-transform .2s;-o-transition:.2s transform,.2s right;transition:transform .2s,right .2s;transition:transform .2s,right .2s,-webkit-transform .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:hsla(0,0%,100%,.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0,0,0,.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12) infinite;animation:swiper-preloader-spin 1s steps(12) infinite}.swiper-lazy-preloader:after{display:block;content:"";width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%23fff' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E")}@-webkit-keyframes swiper-preloader-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes swiper-preloader-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.js b/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.js
deleted file mode 100644
index 79ce6969..00000000
--- a/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.js
+++ /dev/null
@@ -1 +0,0 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{266:function(e,t,i){e.exports=function(){"use strict";var e="undefined"==typeof document?{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[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,i=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function s(s,a){var r=[],n=0;if(s&&!a&&s instanceof i)return s;if(s)if("string"==typeof s){var o,l,d=s.trim();if(d.indexOf("<")>=0&&d.indexOf(">")>=0){var h="div";for(0===d.indexOf("<li")&&(h="ul"),0===d.indexOf("<tr")&&(h="tbody"),0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(h="tr"),0===d.indexOf("<tbody")&&(h="table"),0===d.indexOf("<option")&&(h="select"),(l=e.createElement(h)).innerHTML=d,n=0;n<l.childNodes.length;n+=1)r.push(l.childNodes[n])}else for(o=a||"#"!==s[0]||s.match(/[ .<>:~]/)?(a||e).querySelectorAll(s.trim()):[e.getElementById(s.trim().split("#")[1])],n=0;n<o.length;n+=1)o[n]&&r.push(o[n])}else if(s.nodeType||s===t||s===e)r.push(s);else if(s.length>0&&s[0].nodeType)for(n=0;n<s.length;n+=1)r.push(s[n]);return new i(r)}function a(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}s.fn=i.prototype,s.Class=i,s.Dom7=i;var r={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var s=0;s<this.length;s+=1)if(2===i.length)this[s].setAttribute(e,t);else for(var a in e)this[s][a]=e[a],this[s].setAttribute(a,e[a]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var a=i.getAttribute("data-"+e);return a||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var a=t[0],r=t[1],n=t[2],o=t[3];function l(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),s(t).is(r))n.apply(t,i);else for(var a=s(t).parents(),o=0;o<a.length;o+=1)s(a[o]).is(r)&&n.apply(a[o],i)}}function d(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof t[1]&&(a=(e=t)[0],n=e[1],o=e[2],r=void 0),o||(o=!1);for(var h,p=a.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(r)for(h=0;h<p.length;h+=1){var v=p[h];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[v]||(u.dom7LiveListeners[v]=[]),u.dom7LiveListeners[v].push({listener:n,proxyListener:l}),u.addEventListener(v,l,o)}else for(h=0;h<p.length;h+=1){var f=p[h];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[f]||(u.dom7Listeners[f]=[]),u.dom7Listeners[f].push({listener:n,proxyListener:d}),u.addEventListener(f,d,o)}}return this},off:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var s=t[0],a=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(s=(e=t)[0],r=e[1],n=e[2],a=void 0),n||(n=!1);for(var o=s.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],h=0;h<this.length;h+=1){var p=this[h],c=void 0;if(!a&&p.dom7Listeners?c=p.dom7Listeners[d]:a&&p.dom7LiveListeners&&(c=p.dom7LiveListeners[d]),c&&c.length)for(var u=c.length-1;u>=0;u-=1){var v=c[u];r&&v.listener===r?(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1)):r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r?(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1)):r||(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1))}}return this},trigger:function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];for(var a=i[0].split(" "),r=i[1],n=0;n<a.length;n+=1)for(var o=a[n],l=0;l<this.length;l+=1){var d=this[l],h=void 0;try{h=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(p){(h=e.createEvent("Event")).initEvent(o,!0,!0),h.detail=r}d.dom7EventData=i.filter((function(e,t){return t>0})),d.dispatchEvent(h),d.dom7EventData=[],delete d.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],s=this;function a(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)s.off(i[t],a)}if(e)for(t=0;t<i.length;t+=1)s.on(i[t],a);return this},outerWidth:function(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},outerHeight:function(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},offset:function(){if(this.length>0){var i=this[0],s=i.getBoundingClientRect(),a=e.body,r=i.clientTop||a.clientTop||0,n=i.clientLeft||a.clientLeft||0,o=i===t?t.scrollY:i.scrollTop,l=i===t?t.scrollX:i.scrollLeft;return{top:s.top+o-r,left:s.left+l-n}}return null},css:function(e,i){var s;if(1===arguments.length){if("string"!=typeof e){for(s=0;s<this.length;s+=1)for(var a in e)this[s].style[a]=e[a];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(s=0;s<this.length;s+=1)this[s].style[e]=i;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(a){var r,n,o=this[0];if(!o||void 0===a)return!1;if("string"==typeof a){if(o.matches)return o.matches(a);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(a);if(o.msMatchesSelector)return o.msMatchesSelector(a);for(r=s(a),n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}if(a===e)return o===e;if(a===t)return o===t;if(a.nodeType||a instanceof i){for(r=a.nodeType?[a]:a,n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,s=this.length;return new i(e>s-1?[]:e<0?(t=s+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,s=[],a=arguments.length;a--;)s[a]=arguments[a];for(var r=0;r<s.length;r+=1){t=s[r];for(var n=0;n<this.length;n+=1)if("string"==typeof t){var o=e.createElement("div");for(o.innerHTML=t;o.firstChild;)this[n].appendChild(o.firstChild)}else if(t instanceof i)for(var l=0;l<t.length;l+=1)this[n].appendChild(t[l]);else this[n].appendChild(t)}return this},prepend:function(t){var s,a;for(s=0;s<this.length;s+=1)if("string"==typeof t){var r=e.createElement("div");for(r.innerHTML=t,a=r.childNodes.length-1;a>=0;a-=1)this[s].insertBefore(r.childNodes[a],this[s].childNodes[0])}else if(t instanceof i)for(a=0;a<t.length;a+=1)this[s].insertBefore(t[a],this[s].childNodes[0]);else this[s].insertBefore(t,this[s].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(e)?new i([this[0].nextElementSibling]):new i([]):this[0].nextElementSibling?new i([this[0].nextElementSibling]):new i([]):new i([])},nextAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.nextElementSibling;){var r=a.nextElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return new i(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&s(t.previousElementSibling).is(e)?new i([t.previousElementSibling]):new i([]):t.previousElementSibling?new i([t.previousElementSibling]):new i([])}return new i([])},prevAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.previousElementSibling;){var r=a.previousElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return new i(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?s(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return s(a(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].parentNode;r;)e?s(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return s(a(t))},closest:function(e){var t=this;return void 0===e?new i([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],s=0;s<this.length;s+=1)for(var a=this[s].querySelectorAll(e),r=0;r<a.length;r+=1)t.push(a[r]);return new i(t)},children:function(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].childNodes,o=0;o<n.length;o+=1)e?1===n[o].nodeType&&s(n[o]).is(e)&&t.push(n[o]):1===n[o].nodeType&&t.push(n[o]);return new i(a(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,a,r=this;for(i=0;i<e.length;i+=1){var n=s(e[i]);for(a=0;a<n.length;a+=1)r[r.length]=n[a],r.length+=1}return r},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(r).forEach((function(e){s.fn[e]=s.fn[e]||r[e]}));var n,o,l,d={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(i){}try{delete t[e]}catch(i){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,i){var s,a,r;void 0===i&&(i="x");var n=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?((a=n.transform||n.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new t.WebKitCSSMatrix("none"===a?"":a)):s=(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(a=t.WebKitCSSMatrix?r.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===i&&(a=t.WebKitCSSMatrix?r.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),a||0},parseUrlQuery:function(e){var i,s,a,r,n={},o=e||t.location.href;if("string"==typeof o&&o.length)for(r=(s=(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,i=0;i<r;i+=1)a=s[i].replace(/#\S+/g,"").split("="),n[decodeURIComponent(a[0])]=void 0===a[1]?void 0:decodeURIComponent(a[1])||"";return n},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),s=1;s<e.length;s+=1){var a=e[s];if(null!=a)for(var r=Object.keys(Object(a)),n=0,o=r.length;n<o;n+=1){var l=r[n],h=Object.getOwnPropertyDescriptor(a,l);void 0!==h&&h.enumerable&&(d.isObject(i[l])&&d.isObject(a[l])?d.extend(i[l],a[l]):!d.isObject(i[l])&&d.isObject(a[l])?(i[l]={},d.extend(i[l],a[l])):i[l]=a[l])}}return i}},h=(l=e.createElement("div"),{touch:t.Modernizr&&!0===t.Modernizr.touch||!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:(o=l.style,"transition"in o||"webkitTransition"in o||"MozTransition"in o),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=l.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=l.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<t.length;i+=1)if(t[i]in e)return!0;return!1}(),observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,i)}catch(s){}return e}(),gestures:"ongesturestart"in t}),p={isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(n=t.navigator.userAgent.toLowerCase(),n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},c=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},u={components:{configurable:!0}};c.prototype.on=function(e,t,i){var s=this;if("function"!=typeof t)return s;var a=i?"unshift":"push";return e.split(" ").forEach((function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][a](t)})),s},c.prototype.once=function(e,t,i){var s=this;if("function"!=typeof t)return s;function a(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];t.apply(s,i),s.off(e,a),a.f7proxy&&delete a.f7proxy}return a.f7proxy=t,s.on(e,a,i)},c.prototype.off=function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function(s,a){(s===t||s.f7proxy&&s.f7proxy===t)&&i.eventsListeners[e].splice(a,1)}))})),i):i},c.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s,a,r=this;if(!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),a=r):(i=e[0].events,s=e[0].data,a=e[0].context||r);var n=Array.isArray(i)?i:i.split(" ");return n.forEach((function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(a,s)}))}})),r},c.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var s=t.modules[i];s.params&&d.extend(e,s.params)}))},c.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var s=t.modules[i],a=e[i]||{};s.instance&&Object.keys(s.instance).forEach((function(e){var i=s.instance[e];t[e]="function"==typeof i?i.bind(t):i})),s.on&&t.on&&Object.keys(s.on).forEach((function(e){t.on(e,s.on[e])})),s.create&&s.create.bind(t)(a)}))},u.components.set=function(e){this.use&&this.use(e)},c.installModule=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;s.prototype.modules||(s.prototype.modules={});var a=e.name||Object.keys(s.prototype.modules).length+"_"+d.now();return s.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach((function(t){s.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){s[t]=e.static[t]})),e.install&&e.install.apply(s,t),s},c.use=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;return Array.isArray(e)?(e.forEach((function(e){return s.installModule(e)})),s):s.installModule.apply(s,[e].concat(t))},Object.defineProperties(c,u);var v={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),d.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,i=this.$wrapperEl,s=this.size,a=this.rtlTranslate,r=this.wrongRTL,n=this.virtual&&e.virtual.enabled,o=n?this.virtual.slides.length:this.slides.length,l=i.children("."+this.params.slideClass),c=n?this.virtual.slides.length:l.length,u=[],v=[],f=[],m=e.slidesOffsetBefore;"function"==typeof m&&(m=e.slidesOffsetBefore.call(this));var g=e.slidesOffsetAfter;"function"==typeof g&&(g=e.slidesOffsetAfter.call(this));var b=this.snapGrid.length,w=this.snapGrid.length,y=e.spaceBetween,x=-m,T=0,E=0;if(void 0!==s){var S,C;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*s),this.virtualSize=-y,a?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(S=Math.floor(c/e.slidesPerColumn)===c/this.params.slidesPerColumn?c:Math.ceil(c/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(S=Math.max(S,e.slidesPerView*e.slidesPerColumn)));for(var M,P=e.slidesPerColumn,k=S/P,z=Math.floor(c/e.slidesPerColumn),$=0;$<c;$+=1){C=0;var I=l.eq($);if(e.slidesPerColumn>1){var L=void 0,D=void 0,O=void 0;if("column"===e.slidesPerColumnFill||"row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){if("column"===e.slidesPerColumnFill)O=$-(D=Math.floor($/P))*P,(D>z||D===z&&O===P-1)&&(O+=1)>=P&&(O=0,D+=1);else{var A=Math.floor($/e.slidesPerGroup);D=$-(O=Math.floor($/e.slidesPerView)-A*e.slidesPerColumn)*e.slidesPerView-A*e.slidesPerView}L=D+O*S/P,I.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else D=$-(O=Math.floor($/k))*k;I.css("margin-"+(this.isHorizontal()?"top":"left"),0!==O&&e.spaceBetween&&e.spaceBetween+"px").attr("data-swiper-column",D).attr("data-swiper-row",O)}if("none"!==I.css("display")){if("auto"===e.slidesPerView){var H=t.getComputedStyle(I[0],null),G=I[0].style.transform,N=I[0].style.webkitTransform;if(G&&(I[0].style.transform="none"),N&&(I[0].style.webkitTransform="none"),e.roundLengths)C=this.isHorizontal()?I.outerWidth(!0):I.outerHeight(!0);else if(this.isHorizontal()){var B=parseFloat(H.getPropertyValue("width")),X=parseFloat(H.getPropertyValue("padding-left")),V=parseFloat(H.getPropertyValue("padding-right")),Y=parseFloat(H.getPropertyValue("margin-left")),F=parseFloat(H.getPropertyValue("margin-right")),R=H.getPropertyValue("box-sizing");C=R&&"border-box"===R&&!p.isIE?B+Y+F:B+X+V+Y+F}else{var q=parseFloat(H.getPropertyValue("height")),W=parseFloat(H.getPropertyValue("padding-top")),j=parseFloat(H.getPropertyValue("padding-bottom")),U=parseFloat(H.getPropertyValue("margin-top")),K=parseFloat(H.getPropertyValue("margin-bottom")),_=H.getPropertyValue("box-sizing");C=_&&"border-box"===_&&!p.isIE?q+U+K:q+W+j+U+K}G&&(I[0].style.transform=G),N&&(I[0].style.webkitTransform=N),e.roundLengths&&(C=Math.floor(C))}else C=(s-(e.slidesPerView-1)*y)/e.slidesPerView,e.roundLengths&&(C=Math.floor(C)),l[$]&&(this.isHorizontal()?l[$].style.width=C+"px":l[$].style.height=C+"px");l[$]&&(l[$].swiperSlideSize=C),f.push(C),e.centeredSlides?(x=x+C/2+T/2+y,0===T&&0!==$&&(x=x-s/2-y),0===$&&(x=x-s/2-y),Math.abs(x)<.001&&(x=0),e.roundLengths&&(x=Math.floor(x)),E%e.slidesPerGroup==0&&u.push(x),v.push(x)):(e.roundLengths&&(x=Math.floor(x)),E%e.slidesPerGroup==0&&u.push(x),v.push(x),x=x+C+y),this.virtualSize+=C+y,T=C,E+=1}}if(this.virtualSize=Math.max(this.virtualSize,s)+g,a&&r&&("slide"===e.effect||"coverflow"===e.effect)&&i.css({width:this.virtualSize+e.spaceBetween+"px"}),h.flexbox&&!e.setWrapperSize||(this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(C+e.spaceBetween)*S,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){M=[];for(var J=0;J<u.length;J+=1){var Z=u[J];e.roundLengths&&(Z=Math.floor(Z)),u[J]<this.virtualSize+u[0]&&M.push(Z)}u=M}if(!e.centeredSlides){M=[];for(var Q=0;Q<u.length;Q+=1){var ee=u[Q];e.roundLengths&&(ee=Math.floor(ee)),u[Q]<=this.virtualSize-s&&M.push(ee)}u=M,Math.floor(this.virtualSize-s)-Math.floor(u[u.length-1])>1&&u.push(this.virtualSize-s)}if(0===u.length&&(u=[0]),0!==e.spaceBetween&&(this.isHorizontal()?a?l.css({marginLeft:y+"px"}):l.css({marginRight:y+"px"}):l.css({marginBottom:y+"px"})),e.centerInsufficientSlides){var te=0;if(f.forEach((function(t){te+=t+(e.spaceBetween?e.spaceBetween:0)})),(te-=e.spaceBetween)<s){var ie=(s-te)/2;u.forEach((function(e,t){u[t]=e-ie})),v.forEach((function(e,t){v[t]=e+ie}))}}d.extend(this,{slides:l,snapGrid:u,slidesGrid:v,slidesSizesGrid:f}),c!==o&&this.emit("slidesLengthChange"),u.length!==b&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),v.length!==w&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=[],s=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var a=this.activeIndex+t;if(a>this.slides.length)break;i.push(this.slides.eq(a)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;s=r>s?r:s}s&&this.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,a=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var r=-e;a&&(r=e),i.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var n=0;n<i.length;n+=1){var o=i[n],l=(r+(t.centeredSlides?this.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var d=-(r-o.swiperSlideOffset),h=d+this.slidesSizesGrid[n];(d>=0&&d<this.size-1||h>1&&h<=this.size||d<=0&&h>=this.size)&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(n),i.eq(n).addClass(t.slideVisibleClass))}o.progress=a?-l:l}this.visibleSlides=s(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.maxTranslate()-this.minTranslate(),s=this.progress,a=this.isBeginning,r=this.isEnd,n=a,o=r;0===i?(s=0,a=!0,r=!0):(a=(s=(e-this.minTranslate())/i)<=0,r=s>=1),d.extend(this,{progress:s,isBeginning:a,isEnd:r}),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesProgress(e),a&&!n&&this.emit("reachBeginning toEdge"),r&&!o&&this.emit("reachEnd toEdge"),(n&&!a||o&&!r)&&this.emit("fromEdge"),this.emit("progress",s)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,s=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,n=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=n?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+a+'"]'):t.eq(a)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=t.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),l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,a=this.snapGrid,r=this.params,n=this.activeIndex,o=this.realIndex,l=this.snapIndex,h=e;if(void 0===h){for(var p=0;p<s.length;p+=1)void 0!==s[p+1]?i>=s[p]&&i<s[p+1]-(s[p+1]-s[p])/2?h=p:i>=s[p]&&i<s[p+1]&&(h=p+1):i>=s[p]&&(h=p);r.normalizeSlideIndex&&(h<0||void 0===h)&&(h=0)}if((t=a.indexOf(i)>=0?a.indexOf(i):Math.floor(h/r.slidesPerGroup))>=a.length&&(t=a.length-1),h!==n){var c=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h,10);d.extend(this,{snapIndex:t,realIndex:c,previousIndex:n,activeIndex:h}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==c&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=s(e.target).closest("."+t.slideClass)[0],a=!1;if(i)for(var r=0;r<this.slides.length;r+=1)this.slides[r]===i&&(a=!0);if(!i||!a)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(s(i).attr("data-swiper-slide-index"),10):this.clickedIndex=s(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},f={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,s=this.translate,a=this.$wrapperEl;if(t.virtualTranslate)return i?-s:s;var r=d.getTranslate(a[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,s=this.params,a=this.$wrapperEl,r=this.progress,n=0,o=0;this.isHorizontal()?n=i?-e:e:o=e,s.roundLengths&&(n=Math.floor(n),o=Math.floor(o)),s.virtualTranslate||(h.transforms3d?a.transform("translate3d("+n+"px, "+o+"px, 0px)"):a.transform("translate("+n+"px, "+o+"px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?n:o;var l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==r&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},m={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.params,a=this.previousIndex;s.autoHeight&&this.updateAutoHeight();var r=t;if(r||(r=i>a?"next":i<a?"prev":"reset"),this.emit("transitionStart"),e&&i!==a){if("reset"===r)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.previousIndex;this.animating=!1,this.setTransition(0);var a=t;if(a||(a=i>s?"next":i<s?"prev":"reset"),this.emit("transitionEnd"),e&&i!==s){if("reset"===a)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===a?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}},g={slideTo:function(e,t,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=this,r=e;r<0&&(r=0);var n=a.params,o=a.snapGrid,l=a.slidesGrid,d=a.previousIndex,p=a.activeIndex,c=a.rtlTranslate;if(a.animating&&n.preventInteractionOnTransition)return!1;var u=Math.floor(r/n.slidesPerGroup);u>=o.length&&(u=o.length-1),(p||n.initialSlide||0)===(d||0)&&i&&a.emit("beforeSlideChangeStart");var v,f=-o[u];if(a.updateProgress(f),n.normalizeSlideIndex)for(var m=0;m<l.length;m+=1)-Math.floor(100*f)>=Math.floor(100*l[m])&&(r=m);if(a.initialized&&r!==p){if(!a.allowSlideNext&&f<a.translate&&f<a.minTranslate())return!1;if(!a.allowSlidePrev&&f>a.translate&&f>a.maxTranslate()&&(p||0)!==r)return!1}return v=r>p?"next":r<p?"prev":"reset",c&&-f===a.translate||!c&&f===a.translate?(a.updateActiveIndex(r),n.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==n.effect&&a.setTranslate(f),"reset"!==v&&(a.transitionStart(i,v),a.transitionEnd(i,v)),!1):(0!==t&&h.transition?(a.setTransition(t),a.setTranslate(f),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,v),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,v))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))):(a.setTransition(0),a.setTranslate(f),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,v),a.transitionEnd(i,v)),!0)},slideToLoop:function(e,t,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=e;return this.params.loop&&(a+=this.loopedSlides),this.slideTo(a,t,i,s)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating;return s.loop?!a&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)):this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating,r=this.snapGrid,n=this.slidesGrid,o=this.rtlTranslate;if(s.loop){if(a)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,h=l(o?this.translate:-this.translate),p=r.map((function(e){return l(e)})),c=(n.map((function(e){return l(e)})),r[p.indexOf(h)],r[p.indexOf(h)-1]);return void 0!==c&&(d=n.indexOf(c))<0&&(d=this.activeIndex-1),this.slideTo(d,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.activeIndex,a=Math.floor(s/this.params.slidesPerGroup);if(a<this.snapGrid.length-1){var r=this.rtlTranslate?this.translate:-this.translate,n=this.snapGrid[a];r-n>(this.snapGrid[a+1]-n)/2&&(s=this.params.slidesPerGroup)}return this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,a=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,n=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(s(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?n<t.loopedSlides-r/2||n>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick((function(){t.slideTo(n)}))):t.slideTo(n):n>t.slides.length-r?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick((function(){t.slideTo(n)}))):t.slideTo(n)}else t.slideTo(n)}},b={loopCreate:function(){var t=this,i=t.params,a=t.$wrapperEl;a.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var r=a.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var n=i.slidesPerGroup-r.length%i.slidesPerGroup;if(n!==i.slidesPerGroup){for(var o=0;o<n;o+=1){var l=s(e.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);a.append(l)}r=a.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=r.length),t.loopedSlides=parseInt(i.loopedSlides||i.slidesPerView,10),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>r.length&&(t.loopedSlides=r.length);var d=[],h=[];r.each((function(e,i){var a=s(i);e<t.loopedSlides&&h.push(i),e<r.length&&e>=r.length-t.loopedSlides&&d.push(i),a.attr("data-swiper-slide-index",e)}));for(var p=0;p<h.length;p+=1)a.append(s(h[p].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var c=d.length-1;c>=0;c-=1)a.prepend(s(d[c].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var e,t=this.params,i=this.activeIndex,s=this.slides,a=this.loopedSlides,r=this.allowSlidePrev,n=this.allowSlideNext,o=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var d=-o[i]-this.getTranslate();i<a?(e=s.length-3*a+i,e+=a,this.slideTo(e,0,!1,!0)&&0!==d&&this.setTranslate((l?-this.translate:this.translate)-d)):("auto"===t.slidesPerView&&i>=2*a||i>=s.length-a)&&(e=-s.length+i+a,e+=a,this.slideTo(e,0,!1,!0)&&0!==d&&this.setTranslate((l?-this.translate:this.translate)-d)),this.allowSlidePrev=r,this.allowSlideNext=n},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},w={setGrabCursor:function(e){if(!(h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){h.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},y={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&t.append(e[s]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&h.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&this.loopDestroy();var a=s+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);a=s+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),this.slideTo(a,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,s=this.params,a=this.activeIndex;s.loop&&(a-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+s.slideClass));var r=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=r)this.appendSlide(t);else{for(var n=a>e?a+1:a,o=[],l=r-1;l>=e;l-=1){var d=this.slides.eq(l);d.remove(),o.unshift(d)}if("object"==typeof t&&"length"in t){for(var p=0;p<t.length;p+=1)t[p]&&i.append(t[p]);n=a>e?a+t.length:a}else i.append(t);for(var c=0;c<o.length;c+=1)i.append(o[c]);s.loop&&this.loopCreate(),s.observer&&h.observer||this.update(),s.loop?this.slideTo(n+this.loopedSlides,0,!1):this.slideTo(n,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var a,r=s;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)a=e[n],this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1);r=Math.max(r,0)}else a=e,this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1),r=Math.max(r,0);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},x=function(){var i=t.navigator.userAgent,s={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},a=i.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),r=i.match(/(Android);?[\s\/]+([\d.]+)?/),n=i.match(/(iPad).*OS\s([\d_]+)/),o=i.match(/(iPod)(.*OS\s([\d_]+))?/),l=!n&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(a&&(s.os="windows",s.osVersion=a[2],s.windows=!0),r&&!a&&(s.os="android",s.osVersion=r[2],s.android=!0,s.androidChrome=i.toLowerCase().indexOf("chrome")>=0),(n||l||o)&&(s.os="ios",s.ios=!0),l&&!o&&(s.osVersion=l[2].replace(/_/g,"."),s.iphone=!0),n&&(s.osVersion=n[2].replace(/_/g,"."),s.ipad=!0),o&&(s.osVersion=o[3]?o[3].replace(/_/g,"."):null,s.iphone=!0),s.ios&&s.osVersion&&i.indexOf("Version/")>=0&&"10"===s.osVersion.split(".")[0]&&(s.osVersion=i.toLowerCase().split("version/")[1].split(" ")[0]),s.desktop=!(s.os||s.android||s.webView),s.webView=(l||n||o)&&i.match(/.*AppleWebKit(?!.*Safari)/i),s.os&&"ios"===s.os){var d=s.osVersion.split("."),h=e.querySelector('meta[name="viewport"]');s.minimalUi=!s.webView&&(o||l)&&(1*d[0]==7?1*d[1]>=1:1*d[0]>7)&&h&&h.getAttribute("content").indexOf("minimal-ui")>=0}return s.pixelRatio=t.devicePixelRatio||1,s}();function T(i){var a=this.touchEventsData,r=this.params,n=this.touches;if(!this.animating||!r.preventInteractionOnTransition){var o=i;if(o.originalEvent&&(o=o.originalEvent),a.isTouchEvent="touchstart"===o.type,(a.isTouchEvent||!("which"in o)||3!==o.which)&&!(!a.isTouchEvent&&"button"in o&&o.button>0||a.isTouched&&a.isMoved))if(r.noSwiping&&s(o.target).closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])this.allowClick=!0;else if(!r.swipeHandler||s(o).closest(r.swipeHandler)[0]){n.currentX="touchstart"===o.type?o.targetTouches[0].pageX:o.pageX,n.currentY="touchstart"===o.type?o.targetTouches[0].pageY:o.pageY;var l=n.currentX,h=n.currentY,p=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,c=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(!p||!(l<=c||l>=t.screen.width-c)){if(d.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=l,n.startY=h,a.touchStartTime=d.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==o.type){var u=!0;s(o.target).is(a.formElements)&&(u=!1),e.activeElement&&s(e.activeElement).is(a.formElements)&&e.activeElement!==o.target&&e.activeElement.blur();var v=u&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||v)&&o.preventDefault()}this.emit("touchStart",o)}}}}function E(t){var i=this.touchEventsData,a=this.params,r=this.touches,n=this.rtlTranslate,o=t;if(o.originalEvent&&(o=o.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==o.type){var l="touchmove"===o.type?o.targetTouches[0].pageX:o.pageX,h="touchmove"===o.type?o.targetTouches[0].pageY:o.pageY;if(o.preventedByNestedSwiper)return r.startX=l,void(r.startY=h);if(!this.allowTouchMove)return this.allowClick=!1,void(i.isTouched&&(d.extend(r,{startX:l,startY:h,currentX:l,currentY:h}),i.touchStartTime=d.now()));if(i.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(this.isVertical()){if(h<r.startY&&this.translate<=this.maxTranslate()||h>r.startY&&this.translate>=this.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<r.startX&&this.translate<=this.maxTranslate()||l>r.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&o.target===e.activeElement&&s(o.target).is(i.formElements))return i.isMoved=!0,void(this.allowClick=!1);if(i.allowTouchCallbacks&&this.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){r.currentX=l,r.currentY=h;var p,c=r.currentX-r.startX,u=r.currentY-r.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(c,2)+Math.pow(u,2))<this.params.threshold))if(void 0===i.isScrolling&&(this.isHorizontal()&&r.currentY===r.startY||this.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:c*c+u*u>=25&&(p=180*Math.atan2(Math.abs(u),Math.abs(c))/Math.PI,i.isScrolling=this.isHorizontal()?p>a.touchAngle:90-p>a.touchAngle)),i.isScrolling&&this.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){this.allowClick=!1,o.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&o.stopPropagation(),i.isMoved||(a.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!a.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",o)),this.emit("sliderMove",o),i.isMoved=!0;var v=this.isHorizontal()?c:u;r.diff=v,v*=a.touchRatio,n&&(v=-v),this.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;var f=!0,m=a.resistanceRatio;if(a.touchReleaseOnEdges&&(m=0),v>0&&i.currentTranslate>this.minTranslate()?(f=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+v,m))):v<0&&i.currentTranslate<this.maxTranslate()&&(f=!1,a.resistance&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-v,m))),f&&(o.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(v)>a.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=this.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[this.isHorizontal()?"currentX":"currentY"],time:d.now()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",o)}function S(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,c=d.now(),u=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap",h),u<300&&c-i.lastClickTime>300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),i.clickTimeout=d.nextTick((function(){t&&!t.destroyed&&t.emit("click",h)}),300)),u<300&&c-i.lastClickTime<300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),t.emit("doubleTap",h))),i.lastClickTime=d.now(),d.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=s.followFinger?r?t.translate:-t.translate:-i.currentTranslate,s.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(s.freeModeMomentum){if(i.velocities.length>1){var v=i.velocities.pop(),f=i.velocities.pop(),m=v.position-f.position,g=v.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),(g>150||d.now()-v.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var b=1e3*s.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;r&&(y=-y);var x,T,E=!1,S=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(y<t.maxTranslate())s.freeModeMomentumBounce?(y+t.maxTranslate()<-S&&(y=t.maxTranslate()-S),x=t.maxTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.maxTranslate(),s.loop&&s.centeredSlides&&(T=!0);else if(y>t.minTranslate())s.freeModeMomentumBounce?(y-t.minTranslate()>S&&(y=t.minTranslate()+S),x=t.minTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.minTranslate(),s.loop&&s.centeredSlides&&(T=!0);else if(s.freeModeSticky){for(var C,M=0;M<l.length;M+=1)if(l[M]>-y){C=M;break}y=-(y=Math.abs(l[C]-y)<Math.abs(l[C-1]-y)||"next"===t.swipeDirection?l[C]:l[C-1])}if(T&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)b=r?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(s.freeModeSticky)return void t.slideToClosest();s.freeModeMomentumBounce&&E?(t.updateProgress(x),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),t.setTranslate(x),n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(s.freeModeSticky)return void t.slideToClosest();(!s.freeModeMomentum||u>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var P=0,k=t.slidesSizesGrid[0],z=0;z<o.length;z+=s.slidesPerGroup)void 0!==o[z+s.slidesPerGroup]?p>=o[z]&&p<o[z+s.slidesPerGroup]&&(P=z,k=o[z+s.slidesPerGroup]-o[z]):p>=o[z]&&(P=z,k=o[o.length-1]-o[o.length-2]);var $=(p-o[P])/k;if(u>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&($>=s.longSwipesRatio?t.slideTo(P+s.slidesPerGroup):t.slideTo(P)),"prev"===t.swipeDirection&&($>1-s.longSwipesRatio?t.slideTo(P+s.slidesPerGroup):t.slideTo(P))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(P+s.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(P)}}}function C(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,s=this.allowSlidePrev,a=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode){var r=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(r),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=s,this.allowSlideNext=i,this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow()}}function M(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var P={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,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,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!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:!0,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,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},k={update:v,translate:f,transition:m,slide:g,loop:b,grabCursor:w,manipulation:y,events:{attachEvents:function(){var t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl;this.onTouchStart=T.bind(this),this.onTouchMove=E.bind(this),this.onTouchEnd=S.bind(this),this.onClick=M.bind(this);var r="container"===t.touchEventsTarget?s:a,n=!!t.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var o=!("touchstart"!==i.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(i.start,this.onTouchStart,o),r.addEventListener(i.move,this.onTouchMove,h.passiveListener?{passive:!1,capture:n}:n),r.addEventListener(i.end,this.onTouchEnd,o)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!h.touch&&x.ios)&&(r.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,n),e.addEventListener("mouseup",this.onTouchEnd,!1))}else r.addEventListener(i.start,this.onTouchStart,!1),e.addEventListener(i.move,this.onTouchMove,n),e.addEventListener(i.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",this.onClick,!0),this.on(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",C,!0)},detachEvents:function(){var t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl,r="container"===t.touchEventsTarget?s:a,n=!!t.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var o=!("onTouchStart"!==i.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(i.start,this.onTouchStart,o),r.removeEventListener(i.move,this.onTouchMove,n),r.removeEventListener(i.end,this.onTouchEnd,o)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!h.touch&&x.ios)&&(r.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,n),e.removeEventListener("mouseup",this.onTouchEnd,!1))}else r.removeEventListener(i.start,this.onTouchStart,!1),e.removeEventListener(i.move,this.onTouchMove,n),e.removeEventListener(i.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",this.onClick,!0),this.off(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",C)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,i=this.loopedSlides;void 0===i&&(i=0);var s=this.params,a=s.breakpoints;if(a&&(!a||0!==Object.keys(a).length)){var r=this.getBreakpoint(a);if(r&&this.currentBreakpoint!==r){var n=r in a?a[r]:void 0;n&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=n[e];void 0!==t&&(n[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var o=n||this.originalParams,l=o.direction&&o.direction!==s.direction,h=s.loop&&(o.slidesPerView!==s.slidesPerView||l);l&&t&&this.changeDirection(),d.extend(this.params,o),d.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=r,h&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",o)}}},getBreakpoint:function(e){if(e){var i=!1,s=[];Object.keys(e).forEach((function(e){s.push(e)})),s.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var a=0;a<s.length;a+=1){var r=s[a];this.params.breakpointsInverse?r<=t.innerWidth&&(i=r):r>=t.innerWidth&&!i&&(i=r)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,s=this.$el,a=[];a.push("initialized"),a.push(t.direction),t.freeMode&&a.push("free-mode"),h.flexbox||a.push("no-flexbox"),t.autoHeight&&a.push("autoheight"),i&&a.push("rtl"),t.slidesPerColumn>1&&a.push("multirow"),x.android&&a.push("android"),x.ios&&a.push("ios"),(p.isIE||p.isEdge)&&(h.pointerEvents||h.prefixedPointerEvents)&&a.push("wp8-"+t.direction),a.forEach((function(i){e.push(t.containerModifierClass+i)})),s.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,i,s,a,r,n){var o;function l(){n&&n()}e.complete&&r?l():i?((o=new t.Image).onload=l,o.onerror=l,a&&(o.sizes=a),s&&(o.srcset=s),i&&(o.src=i)):l()},preloadImages:function(){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 i=0;i<e.imagesToLoad.length;i+=1){var s=e.imagesToLoad[i];e.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,t)}}}},z={},$=function(e){function t(){for(var i,a,r,n=[],o=arguments.length;o--;)n[o]=arguments[o];1===n.length&&n[0].constructor&&n[0].constructor===Object?r=n[0]:(a=(i=n)[0],r=i[1]),r||(r={}),r=d.extend({},r),a&&!r.el&&(r.el=a),e.call(this,r),Object.keys(k).forEach((function(e){Object.keys(k[e]).forEach((function(i){t.prototype[i]||(t.prototype[i]=k[e][i])}))}));var l=this;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(!(i in r&&"enabled"in s))return;!0===r[i]&&(r[i]={enabled:!0}),"object"!=typeof r[i]||"enabled"in r[i]||(r[i].enabled=!0),r[i]||(r[i]={enabled:!1})}}));var p=d.extend({},P);l.useModulesParams(p),l.params=d.extend({},p,z,r),l.originalParams=d.extend({},l.params),l.passedParams=d.extend({},r),l.$=s;var c=s(l.params.el);if(a=c[0]){if(c.length>1){var u=[];return c.each((function(e,i){var s=d.extend({},r,{el:i});u.push(new t(s))})),u}a.swiper=l,c.data("swiper",l);var v,f,m=c.children("."+l.params.wrapperClass);return d.extend(l,{$el:c,el:a,$wrapperEl:m,wrapperEl:m[0],classNames:[],slides:s(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===m.css("display"),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:(v=["touchstart","touchmove","touchend"],f=["mousedown","mousemove","mouseup"],h.pointerEvents?f=["pointerdown","pointermove","pointerup"]:h.prefixedPointerEvents&&(f=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:v[0],move:v[1],end:v[2]},l.touchEventsDesktop={start:f[0],move:f[1],end:f[2]},h.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",lastClickTime:d.now(),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.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,a=this.activeIndex,r=1;if(e.centeredSlides){for(var n,o=t[a].swiperSlideSize,l=a+1;l<t.length;l+=1)t[l]&&!n&&(r+=1,(o+=t[l].swiperSlideSize)>s&&(n=!0));for(var d=a-1;d>=0;d-=1)t[d]&&!n&&(r+=1,(o+=t[d].swiperSlideSize)>s&&(n=!0))}else for(var h=a+1;h<t.length;h+=1)i[h]-i[a]<s&&(r+=1);return r},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(s(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||s(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function s(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e?this:(this.$el.removeClass(""+this.params.containerModifierClass+i+" wp8-"+i).addClass(""+this.params.containerModifierClass+e),(p.isIE||p.isEdge)&&(h.pointerEvents||h.prefixedPointerEvents)&&this.$el.addClass(this.params.containerModifierClass+"wp8-"+e),this.params.direction=e,this.slides.each((function(t,i){"vertical"===e?i.style.width="":i.style.height=""})),this.emit("changeDirection"),t&&this.update(),this)},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,s=i.params,a=i.$el,r=i.$wrapperEl,n=i.slides;return void 0===i.params||i.destroyed?null:(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),d.deleteProps(i)),i.destroyed=!0,null)},t.extendDefaults=function(e){d.extend(z,e)},i.extendedDefaults.get=function(){return z},i.defaults.get=function(){return P},i.Class.get=function(){return e},i.$.get=function(){return s},Object.defineProperties(t,i),t}(c),I={name:"device",proto:{device:x},static:{device:x}},L={name:"support",proto:{support:h},static:{support:h}},D={name:"browser",proto:{browser:p},static:{browser:p}},O={name:"resize",create:function(){var e=this;d.extend(e,{resize:{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(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},A={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,i){void 0===i&&(i={});var s=this,a=new(0,A.func)((function(e){if(1!==e.length){var i=function(){s.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(i):t.setTimeout(i,0)}else s.emit("observerUpdate",e[0])}));a.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),s.observer.observers.push(a)},init:function(){if(h.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},H={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){d.extend(this,{observer:{init:A.init.bind(this),attach:A.attach.bind(this),destroy:A.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},G={update:function(e){var t=this,i=t.params,s=i.slidesPerView,a=i.slidesPerGroup,r=i.centeredSlides,n=t.params.virtual,o=n.addSlidesBefore,l=n.addSlidesAfter,h=t.virtual,p=h.from,c=h.to,u=h.slides,v=h.slidesGrid,f=h.renderSlide,m=h.offset;t.updateActiveIndex();var g,b,w,y=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(b=Math.floor(s/2)+a+o,w=Math.floor(s/2)+a+l):(b=s+(a-1)+o,w=a+l);var x=Math.max((y||0)-w,0),T=Math.min((y||0)+b,u.length-1),E=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function S(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(d.extend(t.virtual,{from:x,to:T,offset:E,slidesGrid:t.slidesGrid}),p===x&&c===T&&!e)return t.slidesGrid!==v&&E!==m&&t.slides.css(g,E+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:E,from:x,to:T,slides:function(){for(var e=[],t=x;t<=T;t+=1)e.push(u[t]);return e}()}),void S();var C=[],M=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var P=p;P<=c;P+=1)(P<x||P>T)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+P+'"]').remove();for(var k=0;k<u.length;k+=1)k>=x&&k<=T&&(void 0===c||e?M.push(k):(k>c&&M.push(k),k<p&&C.push(k)));M.forEach((function(e){t.$wrapperEl.append(f(u[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(f(u[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,E+"px"),S()},renderSlide:function(e,t){var i=this.params.virtual;if(i.cache&&this.virtual.cache[t])return this.virtual.cache[t];var a=i.renderSlide?s(i.renderSlide.call(this,e,t)):s('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=a),a},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,i=t+1,s=1;if(Array.isArray(e)){for(var a=0;a<e.length;a+=1)e[a]&&this.virtual.slides.unshift(e[a]);i=t+e.length,s=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var r=this.virtual.cache,n={};Object.keys(r).forEach((function(e){n[parseInt(e,10)+s]=r[e]})),this.virtual.cache=n}this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},N={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){d.extend(this,{virtual:{update:G.update.bind(this),appendSlide:G.appendSlide.bind(this),prependSlide:G.prependSlide.bind(this),removeSlide:G.removeSlide.bind(this),removeAllSlides:G.removeAllSlides.bind(this),renderSlide:G.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};d.extend(this.params,e),d.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},B={handle:function(i){var s=this.rtlTranslate,a=i;a.originalEvent&&(a=a.originalEvent);var r=a.keyCode||a.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===r||this.isVertical()&&40===r||34===r))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===r||this.isVertical()&&38===r||33===r))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===r||34===r||37===r||39===r||38===r||40===r)){var n=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var o=t.innerWidth,l=t.innerHeight,d=this.$el.offset();s&&(d.left-=this.$el[0].scrollLeft);for(var h=[[d.left,d.top],[d.left+this.width,d.top],[d.left,d.top+this.height],[d.left+this.width,d.top+this.height]],p=0;p<h.length;p+=1){var c=h[p];c[0]>=0&&c[0]<=o&&c[1]>=0&&c[1]<=l&&(n=!0)}if(!n)return}this.isHorizontal()?(33!==r&&34!==r&&37!==r&&39!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),(34!==r&&39!==r||s)&&(33!==r&&37!==r||!s)||this.slideNext(),(33!==r&&37!==r||s)&&(34!==r&&39!==r||!s)||this.slidePrev()):(33!==r&&34!==r&&38!==r&&40!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),34!==r&&40!==r||this.slideNext(),33!==r&&38!==r||this.slidePrev()),this.emit("keyPress",r)}},enable:function(){this.keyboard.enabled||(s(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(s(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},X={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){d.extend(this,{keyboard:{enabled:!1,enable:B.enable.bind(this),disable:B.disable.bind(this),handle:B.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},V={lastScrollTime:d.now(),event:t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in e;if(!t){var i=e.createElement("div");i.setAttribute("onwheel","return;"),t="function"==typeof i.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,i=0,s=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(s=e.deltaX),(s||a)&&e.deltaMode&&(1===e.deltaMode?(s*=40,a*=40):(s*=800,a*=800)),s&&!t&&(t=s<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var i=e,s=this,a=s.params.mousewheel;if(!s.mouseEntered&&!a.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);var r=0,n=s.rtlTranslate?-1:1,o=V.normalize(i);if(a.forceToAxis)if(s.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(a.invert&&(r=-r),s.params.freeMode){s.params.loop&&s.loopFix();var l=s.getTranslate()+r*a.sensitivity,h=s.isBeginning,p=s.isEnd;if(l>=s.minTranslate()&&(l=s.minTranslate()),l<=s.maxTranslate()&&(l=s.maxTranslate()),s.setTransition(0),s.setTranslate(l),s.updateProgress(),s.updateActiveIndex(),s.updateSlidesClasses(),(!h&&s.isBeginning||!p&&s.isEnd)&&s.updateSlidesClasses(),s.params.freeModeSticky&&(clearTimeout(s.mousewheel.timeout),s.mousewheel.timeout=d.nextTick((function(){s.slideToClosest()}),300)),s.emit("scroll",i),s.params.autoplay&&s.params.autoplayDisableOnInteraction&&s.autoplay.stop(),l===s.minTranslate()||l===s.maxTranslate())return!0}else{if(d.now()-s.mousewheel.lastScrollTime>60)if(r<0)if(s.isEnd&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slideNext(),s.emit("scroll",i);else if(s.isBeginning&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slidePrev(),s.emit("scroll",i);s.mousewheel.lastScrollTime=(new t.Date).getTime()}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1},enable:function(){if(!V.event)return!1;if(this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=s(this.params.mousewheel.eventsTarged)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(V.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!V.event)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=s(this.params.mousewheel.eventsTarged)),e.off(V.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},Y={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,i=t.$nextEl,s=t.$prevEl;s&&s.length>0&&(this.isBeginning?s.addClass(e.disabledClass):s.removeClass(e.disabledClass),s[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=s(i.nextEl),this.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl))),i.prevEl&&(t=s(i.prevEl),this.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),d.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},F={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var i,a=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,n=this.params.loop?Math.ceil((a-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>a-1-2*this.loopedSlides&&(i-=a-2*this.loopedSlides),i>n-1&&(i-=n),i<0&&"bullets"!==this.params.paginationType&&(i=n+i)):i=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var o,l,d,h=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=i-this.pagination.dynamicBulletIndex,d=((l=o+(Math.min(h.length,t.dynamicMainBullets)-1))+o)/2),h.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),r.length>1)h.each((function(e,a){var r=s(a),n=r.index();n===i&&r.addClass(t.bulletActiveClass),t.dynamicBullets&&(n>=o&&n<=l&&r.addClass(t.bulletActiveClass+"-main"),n===o&&r.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),n===l&&r.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else if(h.eq(i).addClass(t.bulletActiveClass),t.dynamicBullets){for(var p=h.eq(o),c=h.eq(l),u=o;u<=l;u+=1)h.eq(u).addClass(t.bulletActiveClass+"-main");p.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),c.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var v=Math.min(h.length,t.dynamicMainBullets+4),f=(this.pagination.bulletSize*v-this.pagination.bulletSize)/2-d*this.pagination.bulletSize,m=e?"right":"left";h.css(this.isHorizontal()?m:"top",f+"px")}}if("fraction"===t.type&&(r.find("."+t.currentClass).text(t.formatFractionCurrent(i+1)),r.find("."+t.totalClass).text(t.formatFractionTotal(n))),"progressbar"===t.type){var g;g=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var b=(i+1)/n,w=1,y=1;"horizontal"===g?w=b:y=b,r.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+y+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(r.html(t.renderCustom(this,i+1,n)),this.emit("paginationRender",this,r[0])):this.emit("paginationUpdate",this,r[0]),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,s="";if("bullets"===e.type){for(var a=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<a;r+=1)e.renderBullet?s+=e.renderBullet.call(this,r,e.bulletClass):s+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(s),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(s)),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(s)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=s(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();var i=s(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),d.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},R={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,a=e.trackSize,r=e.$dragEl,n=e.$el,o=this.params.scrollbar,l=s,d=(a-s)*i;t?(d=-d)>0?(l=s-d,d=0):-d+s>a&&(l=a+d):d<0?(l=s+d,d=0):d+s>a&&(l=a-d),this.isHorizontal()?(h.transforms3d?r.transform("translate3d("+d+"px, 0, 0)"):r.transform("translateX("+d+"px)"),r[0].style.width=l+"px"):(h.transforms3d?r.transform("translate3d(0px, "+d+"px, 0)"):r.transform("translateY("+d+"px)"),r[0].style.height=l+"px"),o.hide&&(clearTimeout(this.scrollbar.timeout),n[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){n[0].style.opacity=0,n.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var s,a=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,n=r*(a/this.size);s="auto"===this.params.scrollbar.dragSize?a*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=s+"px":t[0].style.height=s+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),d.extend(e,{trackSize:a,divider:r,moveDivider:n,dragSize:s}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,s=this.rtlTranslate,a=i.$el,r=i.dragSize,n=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-a.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(n-r),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=d.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!h.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.addEventListener(i.start,this.scrollbar.onDragStart,n),r.addEventListener(i.move,this.scrollbar.onDragMove,n),r.addEventListener(i.end,this.scrollbar.onDragEnd,o)):(r.addEventListener(s.start,this.scrollbar.onDragStart,n),e.addEventListener(s.move,this.scrollbar.onDragMove,n),e.addEventListener(s.end,this.scrollbar.onDragEnd,o))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!h.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.removeEventListener(i.start,this.scrollbar.onDragStart,n),r.removeEventListener(i.move,this.scrollbar.onDragMove,n),r.removeEventListener(i.end,this.scrollbar.onDragEnd,o)):(r.removeEventListener(s.start,this.scrollbar.onDragStart,n),e.removeEventListener(s.move,this.scrollbar.onDragMove,n),e.removeEventListener(s.end,this.scrollbar.onDragEnd,o))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,a=s(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===t.find(i.el).length&&(a=t.find(i.el));var r=a.find("."+this.params.scrollbar.dragClass);0===r.length&&(r=s('<div class="'+this.params.scrollbar.dragClass+'"></div>'),a.append(r)),d.extend(e,{$el:a,el:a[0],$dragEl:r,dragEl:r[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},q={setTransform:function(e,t){var i=this.rtl,a=s(e),r=i?-1:1,n=a.attr("data-swiper-parallax")||"0",o=a.attr("data-swiper-parallax-x"),l=a.attr("data-swiper-parallax-y"),d=a.attr("data-swiper-parallax-scale"),h=a.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=n,l="0"):(l=n,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*r+"%":o*t*r+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",null!=h){var p=h-(h-1)*(1-Math.abs(t));a[0].style.opacity=p}if(null==d)a.transform("translate3d("+o+", "+l+", 0px)");else{var c=d-(d-1)*(1-Math.abs(t));a.transform("translate3d("+o+", "+l+", 0px) scale("+c+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,a=e.progress,r=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,i){e.parallax.setTransform(i,a)})),i.each((function(t,i){var n=i.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-a*(r.length-1)),n=Math.min(Math.max(n,-1),1),s(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,n)}))}))},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,i){var a=s(i),r=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),a.transition(r)}))}},W={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,a=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,a.scaleStart=W.getDistanceBetweenTouches(e)}a.$slideEl&&a.$slideEl.length||(a.$slideEl=s(e.target).closest(".swiper-slide"),0===a.$slideEl.length&&(a.$slideEl=this.slides.eq(this.activeIndex)),a.$imageEl=a.$slideEl.find("img, svg, canvas"),a.$imageWrapEl=a.$imageEl.parent("."+t.containerClass),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==a.$imageWrapEl.length)?(a.$imageEl.transition(0),this.zoom.isScaling=!0):a.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=W.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=h.gestures?e.scale*i.currentScale:s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!x.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,s=t.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(x.android&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,i=t.gesture,s=t.image,a=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=d.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=d.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var r=s.width*t.scale,n=s.height*t.scale;if(!(r<i.slideWidth&&n<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-r/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-n/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}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.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(s.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(s.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(s.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(s.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=s.touchesCurrent.x,a.prevPositionY=s.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,r=300,n=s.x*a,o=i.currentX+n,l=s.y*r,d=i.currentY+l;0!==s.x&&(a=Math.abs((o-i.currentX)/s.x)),0!==s.y&&(r=Math.abs((d-i.currentY)/s.y));var h=Math.max(a,r);i.currentX=o,i.currentY=d;var p=i.width*e.scale,c=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-p/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-c/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(h).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$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,i,a,r,n,o,l,d,h,p,c,u,v,f,m,g,b=this.zoom,w=this.params.zoom,y=b.gesture,x=b.image;y.$slideEl||(y.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),y.$imageEl=y.$slideEl.find("img, svg, canvas"),y.$imageWrapEl=y.$imageEl.parent("."+w.containerClass)),y.$imageEl&&0!==y.$imageEl.length&&(y.$slideEl.addClass(""+w.zoomedSlideClass),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,i=x.touchesStart.y),b.scale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(m=y.$slideEl[0].offsetWidth,g=y.$slideEl[0].offsetHeight,a=y.$slideEl.offset().left+m/2-t,r=y.$slideEl.offset().top+g/2-i,l=y.$imageEl[0].offsetWidth,d=y.$imageEl[0].offsetHeight,h=l*b.scale,p=d*b.scale,v=-(c=Math.min(m/2-h/2,0)),f=-(u=Math.min(g/2-p/2,0)),(n=a*b.scale)<c&&(n=c),n>v&&(n=v),(o=r*b.scale)<u&&(o=u),o>f&&(o=f)):(n=0,o=0),y.$imageWrapEl.transition(300).transform("translate3d("+n+"px, "+o+"px,0)"),y.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.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(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}}},j={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,a=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var r=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),n=r.find("."+a.elementClass+":not(."+a.loadedClass+"):not(."+a.loadingClass+")");!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)||(n=n.add(r[0])),0!==n.length&&n.each((function(e,n){var o=s(n);o.addClass(a.loadingClass);var l=o.attr("data-background"),d=o.attr("data-src"),h=o.attr("data-srcset"),p=o.attr("data-sizes");i.loadImage(o[0],d||l,h,p,!1,(function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(h&&(o.attr("srcset",h),o.removeAttr("data-srcset")),p&&(o.attr("sizes",p),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(a.loadedClass).removeClass(a.loadingClass),r.find("."+a.preloaderClass).remove(),i.params.loop&&t){var e=r.attr("data-swiper-slide-index");if(r.hasClass(i.params.slideDuplicateClass)){var s=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(s.index(),!1)}else{var n=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(n.index(),!1)}}i.emit("lazyImageReady",r[0],o[0])}})),i.emit("lazyImageLoad",r[0],o[0])}))}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,a=e.slides,r=e.activeIndex,n=e.virtual&&i.virtual.enabled,o=i.lazy,l=i.slidesPerView;function d(e){if(n){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(a[e])return!0;return!1}function h(e){return n?s(e).attr("data-swiper-slide-index"):s(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each((function(t,i){var a=n?s(i).attr("data-swiper-slide-index"):s(i).index();e.lazy.loadInSlide(a)}));else if(l>1)for(var p=r;p<r+l;p+=1)d(p)&&e.lazy.loadInSlide(p);else e.lazy.loadInSlide(r);if(o.loadPrevNext)if(l>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var c=o.loadPrevNextAmount,u=l,v=Math.min(r+u+Math.max(c,u),a.length),f=Math.max(r-Math.max(u,c),0),m=r+l;m<v;m+=1)d(m)&&e.lazy.loadInSlide(m);for(var g=f;g<r;g+=1)d(g)&&e.lazy.loadInSlide(g)}else{var b=t.children("."+i.slideNextClass);b.length>0&&e.lazy.loadInSlide(h(b));var w=t.children("."+i.slidePrevClass);w.length>0&&e.lazy.loadInSlide(h(w))}}},U={LinearSpline:function(e,t){var i,s,a,r,n,o=function(e,t){for(s=-1,i=e.length;i-s>1;)e[a=i+s>>1]<=t?s=a:i=a;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=o(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){this.controller.spline||(this.controller.spline=this.params.loop?new U.LinearSpline(this.slidesGrid,e.slidesGrid):new U.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,s,a=this,r=a.controller.control;function n(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),s=-a.controller.spline.interpolate(-t)),s&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),s=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof $&&n(r[o]);else r instanceof $&&t!==r&&n(r)},setTransition:function(e,t){var i,s=this,a=s.controller.control;function r(t){t.setTransition(e,s),0!==e&&(t.transitionStart(),t.params.autoHeight&&d.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){a&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(a))for(i=0;i<a.length;i+=1)a[i]!==t&&a[i]instanceof $&&r(a[i]);else a instanceof $&&t!==a&&r(a)}},K={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){d.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:U.getInterpolateFunction.bind(this),setTranslate:U.setTranslate.bind(this),setTransition:U.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},_={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var i=s(e.target);this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&i.is("."+this.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?this.a11y.disableEl(i):this.a11y.enableEl(i)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},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(i,a){var r=s(a);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/{{index}}/,r.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},J={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=J.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=J.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),i=e.length;return{key:e[i-2],value:e[i-1]}},setHistory:function(e,i){if(this.history.initialized&&this.params.history.enabled){var s=this.slides.eq(i),a=J.slugify(s.attr("data-history"));t.location.pathname.includes(e)||(a=e+"/"+a);var r=t.history.state;r&&r.value===a||(this.params.history.replaceState?t.history.replaceState({value:a},null,a):t.history.pushState({value:a},null,a))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var s=0,a=this.slides.length;s<a;s+=1){var r=this.slides.eq(s);if(J.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){var n=r.index();this.slideTo(n,e,i)}}else this.slideTo(0,e,i)}},Z={onHashCange:function(){var t=e.location.hash.replace("#","");if(t!==this.slides.eq(this.activeIndex).attr("data-hash")){var i=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===i)return;this.slideTo(i)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1);else{var i=this.slides.eq(this.activeIndex),s=i.attr("data-hash")||i.attr("data-history");e.location.hash=s||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var a=0,r=this.slides.length;a<r;a+=1){var n=this.slides.eq(a);if((n.attr("data-hash")||n.attr("data-history"))===i&&!n.hasClass(this.params.slideDuplicateClass)){var o=n.index();this.slideTo(o,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&s(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&s(t).off("hashchange",this.hashNavigation.onHashCange)}},Q={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=d.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ee={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),s=-i[0].swiperSlideOffset;this.params.virtualTranslate||(s-=this.translate);var a=0;this.isHorizontal()||(a=s,s=0);var r=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d("+s+"px, "+a+"px, 0px)")}},setTransition:function(e){var t=this,i=t.slides,s=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var a=!1;i.transitionEnd((function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}}))}}},te={setTranslate:function(){var e,t=this.$el,i=this.$wrapperEl,a=this.slides,r=this.width,n=this.height,o=this.rtlTranslate,l=this.size,d=this.params.cubeEffect,h=this.isHorizontal(),c=this.virtual&&this.params.virtual.enabled,u=0;d.shadow&&(h?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var v=0;v<a.length;v+=1){var f=a.eq(v),m=v;c&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,b=Math.floor(g/360);o&&(g=-g,b=Math.floor(-g/360));var w=Math.max(Math.min(f[0].progress,1),-1),y=0,x=0,T=0;m%4==0?(y=4*-b*l,T=0):(m-1)%4==0?(y=0,T=4*-b*l):(m-2)%4==0?(y=l+4*b*l,T=l):(m-3)%4==0&&(y=-l,T=3*l+4*l*b),o&&(y=-y),h||(x=y,y=0);var E="rotateX("+(h?0:-g)+"deg) rotateY("+(h?g:0)+"deg) translate3d("+y+"px, "+x+"px, "+T+"px)";if(w<=1&&w>-1&&(u=90*m+90*w,o&&(u=90*-m-90*w)),f.transform(E),d.slideShadows){var S=h?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),C=h?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=s('<div class="swiper-slide-shadow-'+(h?"left":"top")+'"></div>'),f.append(S)),0===C.length&&(C=s('<div class="swiper-slide-shadow-'+(h?"right":"bottom")+'"></div>'),f.append(C)),S.length&&(S[0].style.opacity=Math.max(-w,0)),C.length&&(C[0].style.opacity=Math.max(w,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow)if(h)e.transform("translate3d(0px, "+(r/2+d.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+d.shadowScale+")");else{var M=Math.abs(u)-90*Math.floor(Math.abs(u)/90),P=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),k=d.shadowScale,z=d.shadowScale/P,$=d.shadowOffset;e.transform("scale3d("+k+", 1, "+z+") translate3d(0px, "+(n/2+$)+"px, "+-n/2/z+"px) rotateX(-90deg)")}var I=p.isSafari||p.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+I+"px) rotateX("+(this.isHorizontal()?0:u)+"deg) rotateY("+(this.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ie={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var a=e.eq(i),r=a[0].progress;this.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a[0].progress,1),-1));var n=-180*r,o=0,l=-a[0].swiperSlideOffset,d=0;if(this.isHorizontal()?t&&(n=-n):(d=l,l=0,o=-n,n=0),a[0].style.zIndex=-Math.abs(Math.round(r))+e.length,this.params.flipEffect.slideShadows){var h=this.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),p=this.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===h.length&&(h=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),a.append(h)),0===p.length&&(p=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),a.append(p)),h.length&&(h[0].style.opacity=Math.max(-r,0)),p.length&&(p[0].style.opacity=Math.max(r,0))}a.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var t=this,i=t.slides,s=t.activeIndex,a=t.$wrapperEl;if(i.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;i.eq(s).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)a.trigger(e[i])}}))}}},se={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,a=this.$wrapperEl,r=this.slidesSizesGrid,n=this.params.coverflowEffect,o=this.isHorizontal(),l=this.translate,d=o?e/2-l:t/2-l,p=o?n.rotate:-n.rotate,c=n.depth,u=0,v=i.length;u<v;u+=1){var f=i.eq(u),m=r[u],g=(d-f[0].swiperSlideOffset-m/2)/m*n.modifier,b=o?p*g:0,w=o?0:p*g,y=-c*Math.abs(g),x=o?0:n.stretch*g,T=o?n.stretch*g:0;Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),Math.abs(w)<.001&&(w=0);var E="translate3d("+T+"px,"+x+"px,"+y+"px) rotateX("+w+"deg) rotateY("+b+"deg)";if(f.transform(E),f[0].style.zIndex=1-Math.abs(Math.round(g)),n.slideShadows){var S=o?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),C=o?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=s('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),f.append(S)),0===C.length&&(C=s('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),f.append(C)),S.length&&(S[0].style.opacity=g>0?g:0),C.length&&(C[0].style.opacity=-g>0?-g:0)}}(h.pointerEvents||h.prefixedPointerEvents)&&(a[0].style.perspectiveOrigin=d+"px 50%")},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)}},ae={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,d.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),d.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):d.isObject(e.swiper)&&(this.thumbs.swiper=new t(d.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,i=e.clickedSlide;if(!(i&&s(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var a;if(a=e.params.loop?parseInt(s(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var r=this.activeIndex;this.slides.eq(r).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,r=this.activeIndex);var n=this.slides.eq(r).prevAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),o=this.slides.eq(r).nextAll('[data-swiper-slide-index="'+a+'"]').eq(0).index();a=void 0===n?o:void 0===o?n:o-r<r-n?o:n}this.slideTo(a)}}},update:function(e){var t=this.thumbs.swiper;if(t){var i="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView;if(this.realIndex!==t.realIndex){var s,a=t.activeIndex;if(t.params.loop){t.slides.eq(a).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,a=t.activeIndex);var r=t.slides.eq(a).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),n=t.slides.eq(a).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();s=void 0===r?n:void 0===n?r:n-a==a-r?a:n-a<a-r?n:r}else s=this.realIndex;t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(s)<0&&(t.params.centeredSlides?s=s>a?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>a&&(s=s-i+1),t.slideTo(s,e?0:void 0))}var o=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(o=this.params.slidesPerView),t.slides.removeClass(l),t.params.loop||t.params.virtual)for(var d=0;d<o;d+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+d)+'"]').addClass(l);else for(var h=0;h<o;h+=1)t.slides.eq(this.realIndex+h).addClass(l)}}},re=[I,L,D,O,H,N,X,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){d.extend(this,{mousewheel:{enabled:!1,enable:V.enable.bind(this),disable:V.disable.bind(this),handle:V.handle.bind(this),handleMouseEnter:V.handleMouseEnter.bind(this),handleMouseLeave:V.handleMouseLeave.bind(this),lastScrollTime:d.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){d.extend(this,{navigation:{init:Y.init.bind(this),update:Y.update.bind(this),destroy:Y.destroy.bind(this),onNextClick:Y.onNextClick.bind(this),onPrevClick:Y.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,i=this.navigation,a=i.$nextEl,r=i.$prevEl;!this.params.navigation.hideOnClick||s(e.target).is(r)||s(e.target).is(a)||(a?t=a.hasClass(this.params.navigation.hiddenClass):r&&(t=r.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit("navigationShow",this):this.emit("navigationHide",this),a&&a.toggleClass(this.params.navigation.hiddenClass),r&&r.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){d.extend(this,{pagination:{init:F.init.bind(this),render:F.render.bind(this),update:F.update.bind(this),destroy:F.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!s(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.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(){d.extend(this,{scrollbar:{init:R.init.bind(this),destroy:R.destroy.bind(this),updateSize:R.updateSize.bind(this),setTranslate:R.setTranslate.bind(this),setTransition:R.setTransition.bind(this),enableDraggable:R.enableDraggable.bind(this),disableDraggable:R.disableDraggable.bind(this),setDragPosition:R.setDragPosition.bind(this),getPointerPosition:R.getPointerPosition.bind(this),onDragStart:R.onDragStart.bind(this),onDragMove:R.onDragMove.bind(this),onDragEnd:R.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){d.extend(this,{parallax:{setTransform:q.setTransform.bind(this),setTranslate:q.setTranslate.bind(this),setTransition:q.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{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,t={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}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(i){t[i]=W[i].bind(e)})),d.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var s=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,a=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,s,a)}i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){d.extend(this,{lazy:{initialImageLoaded:!1,load:j.load.bind(this),loadInSlide:j.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},K,{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}}"}},create:function(){var e=this;d.extend(e,{a11y:{liveRegion:s('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(_).forEach((function(t){e.a11y[t]=_[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){d.extend(this,{history:{init:J.init.bind(this),setHistory:J.setHistory.bind(this),setHistoryPopState:J.setHistoryPopState.bind(this),scrollToSlide:J.scrollToSlide.bind(this),destroy:J.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){d.extend(this,{hashNavigation:{initialized:!1,init:Z.init.bind(this),destroy:Z.destroy.bind(this),setHash:Z.setHash.bind(this),onHashCange:Z.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;d.extend(e,{autoplay:{running:!1,paused:!1,run:Q.run.bind(e),start:Q.start.bind(e),stop:Q.stop.bind(e),pause:Q.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){d.extend(this,{fadeEffect:{setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){d.extend(this,{cubeEffect:{setTranslate:te.setTranslate.bind(this),setTransition:te.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){d.extend(this,{flipEffect:{setTranslate:ie.setTranslate.bind(this),setTransition:ie.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){d.extend(this,{coverflowEffect:{setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){d.extend(this,{thumbs:{swiper:null,init:ae.init.bind(this),update:ae.update.bind(this),onThumbClick:ae.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===$.use&&($.use=$.Class.use,$.installModule=$.Class.installModule),$.use(re),$}()},267:function(e,t,i){}}]); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.rtl.css b/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.rtl.css
deleted file mode 100644
index 5b5fdec9..00000000
--- a/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.rtl.css
+++ /dev/null
@@ -1 +0,0 @@
-.swiper-container{margin-right:auto;margin-left:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:right}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;-o-transition-property:transform,height;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;right:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),transparent);background-image:-o-linear-gradient(left,rgba(0,0,0,.5),transparent);background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),transparent);background-image:-o-linear-gradient(right,rgba(0,0,0,.5),transparent);background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,right bottom,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),transparent);background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5),transparent);background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,right top,right bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),transparent);background-image:-o-linear-gradient(top,rgba(0,0,0,.5),transparent);background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:50%;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E");right:10px;left:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E");left:10px;right:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z'/%3E%3C/svg%3E")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:opacity .3s;-o-transition:.3s opacity;transition:opacity .3s;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;right:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{left:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:top .2s,-webkit-transform .2s;transition:top .2s,-webkit-transform .2s;-o-transition:.2s transform,.2s top;transition:transform .2s,top .2s;transition:transform .2s,top .2s,-webkit-transform .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{right:50%;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:right .2s,-webkit-transform .2s;transition:right .2s,-webkit-transform .2s;-o-transition:.2s transform,.2s right;transition:transform .2s,right .2s;transition:transform .2s,right .2s,-webkit-transform .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:left .2s,-webkit-transform .2s;transition:left .2s,-webkit-transform .2s;-o-transition:.2s transform,.2s left;transition:transform .2s,left .2s;transition:transform .2s,left .2s,-webkit-transform .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;right:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;right:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;right:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:hsla(0,0%,100%,.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0,0,0,.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;right:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;left:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;right:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;right:50%;top:50%;margin-right:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12) infinite;animation:swiper-preloader-spin 1s steps(12) infinite}.swiper-lazy-preloader:after{display:block;content:"";width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%23fff' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E")}@-webkit-keyframes swiper-preloader-spin{to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes swiper-preloader-spin{to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.swiper-container .swiper-notification{position:absolute;right:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;right:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blogging-prompts.php b/plugins/jetpack/_inc/blogging-prompts.php
new file mode 100644
index 00000000..6b9522d8
--- /dev/null
+++ b/plugins/jetpack/_inc/blogging-prompts.php
@@ -0,0 +1,20 @@
+<?php
+/**
+ * Used by the blogging prompt feature of the mobile app.
+ *
+ * @package automattic/jetpack
+ */
+
+add_filter( 'rest_api_allowed_public_metadata', 'jetpack_blogging_prompts_add_meta_data' );
+
+/**
+ * Adds the blogging prompt key post metq to the list of allowed post meta to be updated by rest api.
+ *
+ * @param array $keys Array of post meta keys that are allowed public metadata.
+ *
+ * @return array
+ */
+function jetpack_blogging_prompts_add_meta_data( $keys ) {
+ $keys[] = '_jetpack_blogging_prompt_key';
+ return $keys;
+}
diff --git a/plugins/jetpack/_inc/build/accessible-focus.min.asset.php b/plugins/jetpack/_inc/build/accessible-focus.min.asset.php
index e3d6fccf..1ea5c482 100644
--- a/plugins/jetpack/_inc/build/accessible-focus.min.asset.php
+++ b/plugins/jetpack/_inc/build/accessible-focus.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '4df1bc550cbde9d82e20a5d4459b0fb2'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'e26238ea81e1a5dd8ec7');
diff --git a/plugins/jetpack/_inc/build/admin.asset.php b/plugins/jetpack/_inc/build/admin.asset.php
index 89fb0125..52faaf30 100644
--- a/plugins/jetpack/_inc/build/admin.asset.php
+++ b/plugins/jetpack/_inc/build/admin.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '28d4a28b19d5e48a0e0a8ce660ef3aa3'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '9d8b598e16df8e4bb708');
diff --git a/plugins/jetpack/_inc/build/admin.css b/plugins/jetpack/_inc/build/admin.css
index ce881e1e..84652147 100644
--- a/plugins/jetpack/_inc/build/admin.css
+++ b/plugins/jetpack/_inc/build/admin.css
@@ -1 +1 @@
-.jetpack-partner-coupon-redeem .components-button{border-radius:4px;font-size:14px;font-weight:600;height:40px;justify-content:center}.jetpack-partner-coupon-redeem--connected .jp-connection__connect-screen__tos{display:none!important}.jp-connection__connect-screen__loading{display:none}.jp-connection__connect-screen__tos{margin-top:28px;max-width:360px}.jp-connection__connect-screen .jp-action-button{margin-top:40px}.jp-connection__connect-screen .jp-action-button button{max-width:100%}.jp-connection__connect-screen .jp-action-button button:disabled{color:hsla(0,0%,100%,.4)}@media(max-width:782px){.jp-connection__connect-screen .jp-action-button button{max-width:none;width:100%}}.jp-connection__connect-screen-layout{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:#000;font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:#000;font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:#000;text-decoration-thickness:2px}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:#000}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:9px;padding-left:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red)!important;line-height:25px!important;padding-left:25px}@-webkit-keyframes rotate-spinner{to{transform:rotate(1turn)}}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.jp-components-spinner{align-items:center;display:flex}.jp-components-spinner__inner,.jp-components-spinner__outer{-webkit-animation:3s linear infinite;animation:3s linear infinite;-webkit-animation-name:rotate-spinner;animation-name:rotate-spinner;border:.1em solid transparent;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%}.dops-button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:.875rem;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top}.dops-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.dops-button:disabled,.dops-button[disabled]{background:#fff;border-color:#eee;color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}.dops-button.is-compact{line-height:2;padding:0 10px}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{margin-top:-8px;top:4px}.dops-button.is-compact .gridicons-plus-small{margin-left:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-left:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-left:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}.dops-button.is-primary{background:#3582c4;border-color:#3582c4;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{background:#2271b1;border-color:#2271b1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;color:#66c6e4!important;cursor:default;text-shadow:none!important}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{border-color:#eee;color:#f4cdcd}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{height:24px;top:6px;width:24px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{background:#fff;color:#eee;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{height:18px;top:5px;width:18px}.dops-button-group .dops-button{border-left-width:0;border-radius:0}.dops-button-group .dops-button:focus{position:relative;z-index:z-index("button-group-parent",".button-group .button:focus")}.dops-button-group .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button-group .dops-button.is-scary:focus{box-shadow:inset 1px 0 0 #d94f4f,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-primary.is-scary:focus{box-shadow:inset 1px 0 0 #761919,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-scary:first-child:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button-group .dops-button:first-child{border-bottom-left-radius:4px;border-left-width:1px;border-top-left-radius:4px}.dops-button-group .dops-button:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}.dops-section-header .dops-button-group .dops-button{margin-right:0}.dops-count{border:1px solid #a2a2a2;border-radius:.75rem;color:#a2a2a2;display:inline-block;font-size:.6875rem;font-weight:600;line-height:.875rem;padding:.0625rem .375rem;text-align:center}.dops-select-dropdown{height:43px}.dops-select-dropdown.is-compact{height:28px}.dops-select-dropdown.is-disabled .dops-select-dropdown__header{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-select-dropdown__container{display:inline-block;max-width:100%;overflow:hidden;position:relative;width:auto}.dops-select-dropdown.is-open .dops-select-dropdown__container{z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container,.dops-accessible-focus .dops-select-dropdown__container:focus{box-shadow:0 0 0 2px #78dcfa;z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container .select-dropdown__header,.dops-accessible-focus .dops-select-dropdown__container:focus .select-dropdown__header{border-color:#0087be}.dops-accessible-focus .dops-select-dropdown__container:focus{border-color:#00aadc;border-radius:4px;box-shadow:0 0 0 2px #78dcfa;outline:0}.dops-select-dropdown__header{background-color:#fff;border:solid #d5d5d5;border-radius:4px;border-width:1px 1px 2px;box-sizing:content-box;color:#414141;cursor:pointer;font-size:14px;font-weight:600;height:18px;line-height:18px;padding:11px 44px 11px 16px;transition:background-color .2s ease}.dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:hsla(0,0%,64%,.5);content:"";display:inline-block;display:block;font:normal 16px/1 Dashicons;line-height:18px;position:absolute;right:13px;top:12px;vertical-align:middle}.is-compact .dops-select-dropdown__header:after{right:4px;top:4px}.is-compact .dops-select-dropdown__header{color:#888;font-size:11px;line-height:1;padding:7px;text-transform:uppercase}.is-compact .dops-select-dropdown__header .dops-count{border-width:0;line-height:1;margin-left:0}.dops-select-dropdown.is-open .dops-select-dropdown__header{background-color:#f6f6f6;border-radius:4px 4px 0 0;box-shadow:none}.dops-select-dropdown.is-open .dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"";display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-select-dropdown__header .dops-count{margin-left:8px}.dops-select-dropdown__header-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-select-dropdown__options{background-color:#fff;border:1px solid #d5d5d5;border-radius:0 0 4px 4px;box-sizing:border-box;height:0;list-style:none;margin:-2px 0 0;padding:0;visibility:hidden}.dops-accessible-focus .dops-select-dropdown__options{border:1px solid #0087be;border-top-color:#d5d5d5}.dops-select-dropdown.is-open .dops-select-dropdown__options{height:auto;visibility:visible}.dops-select-dropdown__option:last-child .dops-select-dropdown__item{border-radius:0 0 4px 4px}.dops-select-dropdown__item,.dops-select-dropdown__item-text{padding:11px 44px 11px 16px}.dops-select-dropdown__item{color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;line-height:18px;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}.dops-select-dropdown__item:before{content:attr(data-bold-text);font-weight:700;opacity:0}.dops-select-dropdown__item:visited{color:#414141}.dops-select-dropdown__item.is-selected{background-color:#3582c4;color:#fff}.dops-select-dropdown__item.is-disabled{background-color:#fff;color:#a2a2a2;cursor:default;opacity:.5}.notouch .dops-select-dropdown__item:hover{color:#3582c4}.notouch .dops-select-dropdown__item.is-selected:hover{color:#fff}.dops-select-dropdown__item-text{box-sizing:border-box;color:inherit;display:flex;flex-flow:row wrap;justify-content:space-between;left:0;padding-right:16px;position:absolute;text-overflow:ellipsis;top:0;white-space:nowrap;width:100%}.dops-select-dropdown__item-text .dops-count{border-color:inherit;color:inherit}.dops-select-dropdown__separator{border-top:1px solid #d5d5d5;display:block;margin:8px 0}.dops-select-dropdown__label{color:#bbb;display:block;line-height:20px;margin-top:5px}.dops-select-dropdown__label label{font-size:12px;padding:0 16px;text-transform:uppercase}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-search{align-items:center;display:flex;flex:1 1 auto;height:51px;margin-bottom:24px;position:relative;transition:all .15s ease-in-out;width:60px;z-index:22}.dops-search .dops-search__icon-navigation{align-items:center;background-color:#fff;border-radius:inherit;display:flex;flex:0 0 auto;height:100%}.dops-search .dops-search__close-icon,.dops-search .dops-search__open-icon{color:#0087be;cursor:pointer;flex:0 0 auto;width:50px;z-index:20}.accessible-focus .dops-search .dops-search__close-icon:focus,.accessible-focus .dops-search .dops-search__open-icon:focus{outline:1px dotted #0087be}.dops-search .dops-search__open-icon:hover{color:#555}.dops-search .dops-search__close-icon{color:#555;opacity:0;transition:opacity .2s ease-in}.accessible-focus .dops-search.has-focus{box-shadow:0 0 0 1px #0087be,0 0 0 4px #78dcfa}.dops-search.is-expanded-to-container{display:flex;height:100%;margin-bottom:0;overflow:hidden;position:absolute;right:0;top:0;width:50px}.dops-search.is-expanded-to-container .dops-search__input-fade{display:flex;flex:1 1 auto;position:relative}.dops-search.is-expanded-to-container .dops-search__input[type=search]{box-shadow:none;display:flex;flex:1 1 auto;margin:0}.dops-search__input[type=search]{appearance:none;-webkit-appearance:none;background:#fff;border:none;border-radius:inherit;box-sizing:border-box;display:none;flex:1 1 auto;height:100%;padding:0;top:0;z-index:10}.dops-search__input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.dops-search__input[type=search]:focus{border:none;box-shadow:none}.dops-search.is-open{width:100%}.dops-search.is-open .dops-search__open-icon{color:#555}.dops-search.is-open .dops-search__close-icon{display:inline-block}.dops-search.is-open .dops-search__close-icon,.dops-search.is-open .dops-search__input{opacity:1}.dops-search.is-open .dops-search__input{display:block}.dops-search.is-open .dops-search__input-fade{border-radius:inherit;flex:1 1 auto;font-size:16px;height:100%;position:relative}.dops-search.is-open .dops-search__input-fade.ltr:before,.dops-search.is-open .dops-search__input-fade:before{-webkit-touch-callout:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);border-radius:inherit;bottom:0;content:"";display:block;height:auto;left:auto;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;width:32px;z-index:12}.dops-search__input-fade .dops-search__text-overlay{align-items:center;color:transparent;display:flex;flex:1 1 auto;font:inherit;height:100%;left:0;overflow:hidden;pointer-events:none;position:absolute;top:0;white-space:nowrap;width:100%;z-index:11}.dops-search.is-searching .dops-search__open-icon{display:none}.animating.dops-search-opening .dops-search input{opacity:1}.dops-section-nav{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;margin:0 0 17px;padding:0;position:relative;width:100%}.dops-section-nav.is-empty .dops-section-nav__panel{visibility:hidden}@media(max-width:480px){.dops-section-nav.is-open{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}}@media(min-width:481px){.dops-section-nav.has-pinned-items{padding-right:60px}}@media(min-width:481px)and (max-width:660px){.dops-section-nav.has-pinned-items{padding-right:50px}}@media(max-width:660px){.dops-section-nav{margin-bottom:9px}}.dops-section-nav__mobile-header{color:#414141;cursor:pointer;display:flex;font-size:14px;font-weight:600;line-height:16px;padding:15px}.dops-section-nav__mobile-header:after{color:hsla(0,0%,64%,.5);content:"";line-height:16px}.dops-section-nav.is-open .dops-section-nav__mobile-header:after,.dops-section-nav__mobile-header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-section-nav.is-open .dops-section-nav__mobile-header:after{content:""}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header{padding-right:50px}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header:after{margin-left:8px}@media(min-width:481px){.dops-section-nav__mobile-header{display:none}}.dops-section-nav__mobile-header-text{flex:1 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:0}.dops-section-nav__mobile-header-text small{color:#a2a2a2;font-size:11px;font-weight:600;margin-left:5px;text-transform:uppercase}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header-text{flex:0 1 auto;width:auto}.dops-section-nav__panel{box-sizing:border-box;width:100%}@media(max-width:480px){.dops-section-nav.is-open .dops-section-nav__panel{background:linear-gradient(180deg,#f6f6f6 0,#fff 4px);border-top:1px solid #d5d5d5;padding-bottom:15px}}@media(min-width:481px){.dops-section-nav__panel{align-items:center;display:flex}.dops-section-nav__panel:first-child{flex:1 0 auto;width:0}}.dops-section-nav-group{border-top:1px solid #d5d5d5;margin-top:16px;padding-top:16px;position:relative}.dops-section-nav-group:first-child{border-top:none;padding-top:0}@media(max-width:480px){.dops-section-nav-group{display:none}.dops-section-nav.is-open .dops-section-nav-group{display:block}}@media(min-width:481px){.dops-section-nav-group{border-top:none;margin-top:0;padding-top:0}.dops-section-nav-group:first-child{display:flex;flex:1 0 auto;width:0}}.dops-section-nav__button{margin-top:24px;width:100%}.dops-section-nav__hr{background:#eee}.dops-section-nav-group__label{color:#a2a2a2;display:none;font-size:11px;font-weight:600;line-height:12px;margin-bottom:8px;padding:0 15px;text-transform:uppercase}@media(max-width:480px){.has-siblings .dops-section-nav-group__label{display:block}}.dops-section-nav-group__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-section-nav-tab .count{margin-left:8px}@media(min-width:481px){.dops-section-nav-tabs{flex:1 0 auto;width:0}.dops-section-nav-tabs.is-dropdown{flex:0 1 auto;margin:8px;position:relative;width:auto}}.dops-section-nav-tabs__list{list-style:none;margin:0}@media(min-width:481px){.dops-section-nav-tabs__list{display:flex;overflow:hidden;width:100%}.is-dropdown .dops-section-nav-tabs__list{display:none}}.dops-section-nav-tab{margin-bottom:0}@media(min-width:481px){.dops-section-nav-tab{border-bottom:2px solid transparent;border-top:none;flex:none;text-align:center;width:auto}.dops-section-nav-tab.is-selected{border-bottom-color:#414141}}.dops-section-nav-tab__link,.dops-section-nav-tab__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-section-nav-tab__link{align-items:center;box-sizing:border-box;color:#414141;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;line-height:18px;padding:15px;width:100%}.dops-section-nav-tab__link:visited{color:#414141}.dops-section-nav-tab__link[disabled],.notouch .dops-section-nav-tab__link[disabled]:hover{color:#eee;cursor:default}.is-selected .dops-section-nav-tab__link{background-color:#2271b1;color:#fff}.dops-section-nav-tab__link:focus{box-shadow:none;outline:none}.dops-accessible-focus .dops-section-nav-tab__link:focus{outline:1px solid #a2a2a2}.is-external .dops-section-nav-tab__link:after{font-size:18px;padding-left:2px}.dops-section-nav-tab__link:hover{color:#0a4b78}.notouch .dops-section-nav-tab__link:hover{color:#2271b1}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#fff}@media(min-width:481px){.dops-section-nav-tab__link{color:#2271b1;display:block;font-weight:400;padding:16px 16px 14px;width:auto}.dops-section-nav-tab__link:visited{color:#2271b1}.is-selected .dops-section-nav-tab__link{background-color:transparent;color:#414141}.is-selected .dops-section-nav-tab__link:after{display:none}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#414141}}.dops-section-nav-tab__text{color:inherit;display:block;flex:1 0 auto;width:0}@media(min-width:481px){.dops-section-nav-tab__text{display:inline;flex:none;width:auto}}.dops-section-nav-tabs__dropdown{position:relative;width:100%;z-index:3}.dops-section-nav-tabs__dropdown.is-open{z-index:4}.dops-section-nav-tabs__dropdown .dops-select-dropdown__container{position:static}.dops-section-nav__segmented .dops-segmented-control{margin:0 15px}.dops-section-nav__segmented .dops-segmented-control__link{padding:3px 16px 5px}@media(max-width:480px){.dops-section-nav .dops-search.is-pinned{height:46px}}.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-right:48px}h2.dops-card-title{font-size:rem(20px)}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;position:absolute;right:16px;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.dops-popover{font-size:11px;left:0;position:absolute;right:auto;top:0;z-index:1000}.dops-popover .dops-popover__inner{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);position:relative;text-align:center}.dops-popover .dops-popover__arrow{border:10px dashed #d5d5d5;height:0;line-height:0;position:absolute;width:0;z-index:1}.dops-popover.fade{transition:opacity .1s}.dops-popover.is-top-left .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow,.dops-popover.is-top .dops-popover__arrow{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;bottom:0;left:50%;margin-left:-10px}.dops-popover.is-top-left .dops-popover__arrow:before,.dops-popover.is-top-right .dops-popover__arrow:before,.dops-popover.is-top .dops-popover__arrow:before{border:10px solid transparent;border-bottom:none;border-top-color:#fff;bottom:2px;content:" ";left:50%;margin-left:-10px;position:absolute}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-bottom .dops-popover__arrow{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;left:50%;margin-left:-10px;top:0}.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-popover.is-bottom-right .dops-popover__arrow:before,.dops-popover.is-bottom .dops-popover__arrow:before{border:10px solid transparent;border-bottom:10px solid #fff;border-top:none;content:" ";left:50%;margin-left:-10px;position:absolute;top:2px}.dops-popover.is-left-bottom .dops-popover__arrow,.dops-popover.is-left-top .dops-popover__arrow,.dops-popover.is-left .dops-popover__arrow{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent;margin-top:-10px;right:0;top:50%}.dops-popover.is-left-bottom .dops-popover__arrow:before,.dops-popover.is-left-top .dops-popover__arrow:before,.dops-popover.is-left .dops-popover__arrow:before{border:10px solid transparent;border-left:10px solid #fff;border-right:none;content:" ";margin-top:-10px;position:absolute;right:2px;top:50%}.dops-popover.is-right-bottom .dops-popover__arrow,.dops-popover.is-right-top .dops-popover__arrow,.dops-popover.is-right .dops-popover__arrow{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent;left:0;margin-top:-10px;top:50%}.dops-popover.is-right-bottom .dops-popover__arrow:before,.dops-popover.is-right-top .dops-popover__arrow:before,.dops-popover.is-right .dops-popover__arrow:before{border:10px solid transparent;border-left:none;border-right-color:#fff;content:" ";left:2px;margin-top:-10px;position:absolute;top:50%}.dops-popover.is-bottom-left,.dops-popover.is-bottom-right,.dops-popover.is-top-left,.dops-popover.is-top-right{padding-left:0;padding-right:0}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-top-left .dops-popover__arrow{left:auto;right:5px}.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow{left:15px}.dops-popover.is-top-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner,.dops-popover.is-top .dops-popover__inner{top:-10px}.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner{left:-10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-bottom .dops-popover__inner{top:10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-right .dops-popover__inner,.dops-popover.is-top-left .dops-popover__inner{left:10px}.dops-popover.is-dialog-visible{z-index:100300}.dops-popover__menu{display:flex;flex-direction:column;min-width:200px}.dops-popover__menu-item{background:inherit;border:none;border-radius:0;color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;position:relative;text-align:left;transition:all .05s ease-in-out}.dops-popover__menu-item:first-child{margin-top:5px}.dops-popover__menu-item:focus,.dops-popover__menu-item:hover{background-color:#3582c4;border:0;box-shadow:none;color:#fff}.dops-popover__menu-item:focus .gridicon,.dops-popover__menu-item:hover .gridicon{color:#fff}.dops-popover__menu-item[disabled]:focus,.dops-popover__menu-item[disabled]:hover{background:transparent;cursor:default}.dops-popover__menu-item:last-child{margin-bottom:5px}.dops-popover__menu-item::-moz-focus-inner{border:0}.dops-popover__menu-item.has-icon{padding-left:42px}.dops-popover__menu-item .gridicon{color:#bbb;margin-right:8px;vertical-align:bottom}.dops-popover__hr{background:#eee;margin:8px 0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;left:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-left:12px}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{left:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{left:8px}.dops-section-header.dops-card{display:flex;flex-wrap:wrap;max-width:100%;padding-bottom:.6875rem;padding-top:.6875rem;position:relative}.dops-section-header.dops-card:after{content:""}.dops-section-header__label{align-items:center;color:#414141;display:flex;flex-grow:1;font-size:.875rem;line-height:1.75rem;min-width:0;position:relative}.dops-section-header__label .dops-count{margin-left:.5rem}.dops-section-header__label-text{margin-right:.5rem;min-width:0;overflow:hidden;padding-right:.5rem;position:relative;white-space:nowrap;width:100%}.dops-section-header__label-text:before{-webkit-touch-callout:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:auto;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;width:8px}.has-card-badge .dops-section-header__label-text{width:auto}.dops-section-header__actions{flex-grow:0;position:relative}.dops-section-header__actions:after{clear:both;content:".";display:block;height:0;visibility:hidden}.section-header__actions .button{float:left;margin-right:.5rem}.section-header__actions .button:last-child{margin-right:0}.dops-notice{animation:appear .3s ease-in-out;background:#414141;border-radius:3px;box-sizing:border-box;color:#fff;display:flex;line-height:1.5;margin-bottom:24px;position:relative;width:100%}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#3582c4}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{align-items:baseline;align-self:stretch;background:#747474;border-radius:3px 0 0 3px;color:#fff;display:flex;flex-shrink:0;justify-content:center;width:47px}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media(min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content.dops-notice__content{flex-grow:1;font-size:12px;padding:13px}@media(min-width:481px){.dops-notice__content.dops-notice__content{font-size:14px}}.dops-notice__content.dops-notice__content a{color:#fff;text-decoration:underline}.dops-notice__content.dops-notice__content a:hover,.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{color:#fff;text-decoration:underline}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-left:0}.dops-notice__text li{margin-left:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-left:.428em}.dops-notice__dismiss{cursor:pointer;flex-shrink:0;padding:12px 12px 0}.dops-notice__dismiss .gridicon{height:18px;width:18px}@media(min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{height:24px;width:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{align-items:center;color:#bbb;cursor:pointer;display:flex;font-size:12px;font-weight:400;padding:13px;text-decoration:none;white-space:nowrap}@media(min-width:481px){a.dops-notice__action{align-items:center;border-radius:0;flex-grow:0;flex-shrink:1;font-size:14px;margin:0 0 0 auto;padding:13px 16px}a.dops-notice__action .gridicon{height:24px;width:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{height:18px;margin-left:8px;opacity:.7;width:18px}.dops-notice.is-compact{border-radius:3px;display:inline-flex;flex-direction:row;flex-wrap:nowrap;line-height:1.5;margin:0;min-height:20px;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;width:auto}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{height:18px;margin:0;width:18px}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{align-self:center;flex:none;margin:0 8px 0 0;padding:0;position:relative}.dops-notice.is-compact .dops-notice__dismiss .gridicon{height:18px;width:18px}.dops-notice.is-compact a.dops-notice__action{align-self:center;background:transparent;display:inline-block;font-size:12px;margin:0 0 0 16px;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{height:14px;margin-left:8px;opacity:1;vertical-align:sub;width:14px}.dops-plan-icon{background-repeat:no-repeat;height:inherit;width:inherit}.dops-plan-icon__free .dops-plan-icon__free-0{fill:#78dcfa}.dops-plan-icon__free .dops-plan-icon__free-1{fill:#fff}.dops-plan-icon__free .dops-plan-icon__free-2{fill:#006a95}.dops-plan-icon__free .dops-plan-icon__free-3{fill:#0087be}.dops-plan-icon__free .dops-plan-icon__free-4{fill:#00a4e7}.dops-plan-icon__personal .dops-plan-icon__personal-0{fill:#f0b849}.dops-plan-icon__personal .dops-plan-icon__personal-1{fill:#a2a2a2}.dops-plan-icon__personal .dops-plan-icon__personal-2{fill:#d5d5d5}.dops-plan-icon__personal .dops-plan-icon__personal-3{fill:#fff}.dops-plan-icon__personal .dops-plan-icon__personal-4{fill:#888}.dops-plan-icon__personal .dops-plan-icon__personal-5{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-0{fill:#4ab866}.dops-plan-icon__premium .dops-plan-icon__premium-1{fill:#a2a2a2}.dops-plan-icon__premium .dops-plan-icon__premium-2{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-3{fill:#fff}.dops-plan-icon__premium .dops-plan-icon__premium-4{fill:#d5d5d5}.dops-plan-icon__premium .dops-plan-icon__premium-5{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-6{fill:#555}.dops-plan-icon__business .dops-plan-icon__business-0{fill:#855da6}.dops-plan-icon__business .dops-plan-icon__business-1{fill:#fff}.dops-plan-icon__business .dops-plan-icon__business-2{fill:#eee}.dops-plan-icon__business .dops-plan-icon__business-3{fill:#0087be}.dops-plan-icon__business .dops-plan-icon__business-4{fill:#005082}.dops-banner.dops-card{border-left:3px solid #0087be;display:flex;padding:12px 6px 12px 12px;position:relative;z-index:2}.dops-banner.dops-card.is-card-link{padding:12px 48px 12px 16px}.dops-banner.dops-card.is-dismissible{padding-right:48px}.dops-banner.dops-card .dops-banner__icon{color:#0087be}.dops-banner.dops-card .dops-banner__icon-circle{background-color:#0087be}.dops-banner.dops-card.is-jetpack-info{border-left-color:#069e08}.dops-banner.dops-card.is-jetpack-info .dops-banner__icon{color:#069e08}.dops-banner.dops-card.is-jetpack-info .dops-banner__icon-circle{background-color:#069e08}.dops-banner.dops-card.is-product{border-left-color:#3895ba}.dops-banner.dops-card.is-product .dops-banner__icon{color:#3895ba}.dops-banner.dops-card.is-product .dops-banner__icon-circle{background-color:#3895ba}.dops-banner.dops-card.is-plan{border-left-color:#069e08}.dops-banner.dops-card.is-plan .dops-banner__icon{color:#069e08}.dops-banner.dops-card.is-plan .dops-banner__icon-circle{background-color:#069e08}.dops-banner.dops-card.is-plan.is-upgrade-personal{border-left-color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-personal .dops-banner__icon{color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-personal .dops-banner__icon-circle{background-color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-premium{border-left-color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-premium .dops-banner__icon{color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-premium .dops-banner__icon-circle{background-color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-business{border-left-color:#855da6}.dops-banner.dops-card.is-plan.is-upgrade-business .dops-banner__icon{color:#855da6}.dops-banner.dops-card.is-plan.is-upgrade-business .dops-banner__icon-circle{background-color:#855da6}.dops-banner.dops-card.is-plan.is-bundle{border-left-color:#984a9c}.dops-banner.dops-card.is-plan.is-bundle .dops-banner__icon{color:#984a9c}.dops-banner.dops-card.is-plan.is-bundle .dops-banner__icon-circle{background-color:#984a9c}.dops-banner.dops-card .dops-card__link-indicator{align-items:center;color:#0087be;display:flex}.dops-banner.dops-card:hover{transition:all .1s ease-in-out}.dops-banner.dops-card:hover.is-card-link{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}.dops-banner.dops-card:hover .dops-card__link-indicator{color:#005082}@media(min-width:481px){.dops-banner.dops-card{padding:12px 16px}.dops-banner.dops-card.is-dismissible{padding-right:16px}}.dops-banner__icons{display:flex}.dops-banner__icons .dops-banner__icon,.dops-banner__icons .dops-banner__icon-circle{border-radius:50%;flex-shrink:0;height:24px;margin-right:16px;margin-top:-2px;text-align:center;top:4px;width:24px}.dops-banner__icons .dops-banner__icon{align-self:center;color:#fff;display:block}.dops-banner__icons .dops-banner__icon-circle{color:#fff;display:none;padding:3px 4px 4px 3px}.dops-banner__icons .dops-banner__icon-circle-svg{transform:translate(1px,1px)}@media(min-width:481px){.dops-banner__icons{align-items:center}.dops-banner__icons .dops-banner__icon{display:none}.dops-banner__icons .dops-banner__icon-circle{display:block}}.dops-banner__icon-plan{display:flex;margin-right:16px}.dops-banner__icon-plan .dops-plan-icon{height:32px;width:32px}@media(min-width:481px){.dops-banner__icon-plan{align-items:center}}.dops-banner__content{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap}@media(min-width:481px){.dops-banner__content{flex-wrap:nowrap}}.dops-banner__info{flex-grow:1;line-height:1.4;width:100%}.dops-banner__info .dops-banner__description,.dops-banner__info .dops-banner__list,.dops-banner__info .dops-banner__title{color:#414141}.dops-banner__info .dops-banner__title{font-size:.875rem;font-weight:500}.dops-banner__info .dops-banner__description{font-size:.75rem;margin-top:3px}.dops-banner__info .dops-banner__list{font-size:.75rem;list-style:none;margin:0}.dops-banner__info .dops-banner__list li{margin:6px 0}.dops-banner__info .dops-banner__list li .gridicon{color:#a2a2a2;display:none}@media(min-width:481px){.dops-banner__info{width:auto}.dops-banner__info .dops-banner__list li .gridicon{display:inline;margin-right:12px;vertical-align:bottom}}.dops-banner__action{align-self:center;font-size:.75rem;margin:8px 0 0;text-align:left;width:100%}.dops-banner__action .dops-banner__prices{display:flex;justify-content:flex-start}.dops-banner__action .dops-banner__prices .dops-plan-price{margin-bottom:0}.dops-banner__action .dops-banner__prices .dops-plan-price.is-discounted,.dops-banner__action .dops-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol{color:#414141}.has-call-to-action .dops-banner__action .dops-banner__prices .dops-plan-price{margin-bottom:8px}@media(min-width:481px){.dops-banner__action{margin:0 4px 0 8px;text-align:center;width:auto}.is-dismissible .dops-banner__action{margin-top:40px}.dops-banner__action .dops-banner__prices{justify-content:flex-end;text-align:right}}.module-overridden-banner.dops-banner.is-compact{margin-bottom:0}.module-overridden-banner.dops-banner .dops-banner__description a{text-decoration:underline}.dops-info-popover-button{background:transparent;border:none;color:#888;padding:0}.dops-info-popover-button:hover{color:#414141}.dops-info-popover-button:focus{box-shadow:none}.dops-accessible-focus .dops-info-popover-button:focus{outline:thin dotted}.dops-info-popover .gridicon{color:#c8c8c8;cursor:pointer}.dops-info-popover .gridicon:hover,.dops-info-popover.is_active .gridicon{color:#414141}.dops-popover.dops-info-popover__tooltip .dops-popover__inner{color:#6f6f6f;font-size:13px;max-width:220px;padding:16px;text-align:left}.dops-external-link .gridicons-external{color:currentColor;margin-left:.5rem;position:relative;top:.125rem}.jp-support-info{position:absolute;right:1.5625rem;top:1.6875rem;z-index:1}@media(max-width:480px){.jp-support-info{right:1rem;top:1.25rem}}.jp-form-fieldset .jp-support-info{top:4px}.jp-support-info .dops-info-popover{white-space:nowrap}.dops-popover .jp-support-info__privacy{border-top:1px solid hsla(0,0%,64%,.5);display:block;margin-top:.875rem;padding-top:.75rem}.dops-text-input.dops-text-input{background-color:#fff;border:1px solid #d5d5d5;box-shadow:none;box-sizing:border-box;color:#414141;font-size:16px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}.dops-text-input.dops-text-input::placeholder{color:#a2a2a2}.dops-text-input.dops-text-input:hover{border-color:#bbb}.dops-text-input.dops-text-input:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.dops-text-input.dops-text-input:focus::-ms-clear{display:none}.dops-text-input.dops-text-input:disabled{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-text-input.dops-text-input:disabled:hover{cursor:default}.dops-text-input.dops-text-input:disabled::placeholder{color:#bbb}.dops-text-input.dops-text-input{-webkit-appearance:none}.dops-text-input.dops-text-input.is-valid{border-color:#4ab866}.dops-text-input.dops-text-input.is-valid:hover{border-color:#3a9551}.dops-text-input.dops-text-input.is-error{border-color:#d94f4f}.dops-text-input.dops-text-input.is-error:hover{border-color:#c92c2c}.dops-text-input.dops-text-input:focus.is-valid{box-shadow:0 0 0 2px #caead2}.dops-text-input.dops-text-input:focus.is-valid:hover{box-shadow:0 0 0 2px #a6dcb3}.dops-text-input.dops-text-input:focus.is-error{box-shadow:0 0 0 2px #f9e2e2}.dops-text-input.dops-text-input:focus.is-error:hover{box-shadow:0 0 0 2px #f0b8b8}.jp-form-settings-group .jp-toggle-set{position:relative}.jp-form-settings-group .jp-toggle-set .jp-support-info{right:-1.25rem;top:.3125rem}@media(max-width:480px){.jp-form-settings-group .jp-toggle-set .jp-support-info{right:-2rem;top:.3125rem}}.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-left:1.25rem;text-align:left;width:100%}.jp-connection__disconnect-card{background-color:#fff;border:none;border-radius:3px;box-shadow:0 0 15px #e2e2df;margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:left;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-right:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:right}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-right:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:1rem;margin-right:0}}.jp-connection__disconnect-dialog h1{font-size:24px;font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:24px;font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:16px;margin-top:0}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:#000;text-decoration-thickness:2px}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:#000}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:#f9f9f6;border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:#fff;border-top:1px solid #dcdcde;bottom:0;padding:2rem 0;position:-webkit-sticky;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(180deg,transparent,#f9f9f6);bottom:calc(100% + 1px);content:"";display:block;height:80px;left:0;position:absolute;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:#000!important;margin-right:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:#d63639!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:#000!important}.jp-connection__disconnect-dialog__button-wrap{text-align:left}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:#d63639}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:36px}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-left:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px #dcdcde;display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:#dcdcde;background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;left:24px;position:absolute;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:#d63639;border-radius:50px;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px #e2e2df;margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:left;width:800px}.jp-connect__disconnect-survey-card--selected{background:#e2e2df;border-color:#000}.jp-connect__disconnect-survey-card:after{border-right:2px solid #000;border-top:2px solid #000;content:"";display:block;height:5px;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%) rotate(45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:#2c3338}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:#2c3338;flex-grow:1;max-width:calc(100% - 40px);padding-right:40px}.jp-connect-user-bar__card{align-items:center;background:#f3f5f6;border-top:1px solid #ccd0d4;display:flex;justify-content:space-between;padding:8px 24px}.jp-connect-user-bar__card .jp-connect-user-bar__text{color:#414141;font-size:13px;font-weight:500;height:16px;line-height:16px}.jp-connect-user-bar__card .jp-connect-user-bar__button{order:3}.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled]{background:#f3f5f6;border:1px solid #0071a1;border-radius:3px;box-sizing:border-box;color:#0071a1;float:right;font-size:13px;font-weight:600;line-height:16px;text-align:center;white-space:nowrap}.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled[disabled],.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled],.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled]:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled][disabled]{background:#f3f5f6!important;color:#0071a1!important}.progress-bar{background-color:#c3c4c7;border-radius:4.5px;display:inline-block;height:9px;position:relative;width:100%}.progress-bar.is-compact{height:4px}.progress-bar__progress{background-color:#2271b1;border-radius:4.5px;display:inline-block;height:100%;left:0;position:absolute;top:0;transition:width .2s}@media(prefers-reduced-motion:reduce){.progress-bar__progress{transition:none}}.progress-bar.is-pulsing .progress-bar__progress{-webkit-animation:progress-bar-animation 3.3s linear infinite;animation:progress-bar-animation 3.3s linear infinite;background-image:linear-gradient(-45deg,#2271b1 28%,#5198d9 0,#5198d9 72%,#2271b1 0);background-size:50px 100%}@media(prefers-reduced-motion:reduce){.progress-bar.is-pulsing .progress-bar__progress{-webkit-animation:none;animation:none}}@-webkit-keyframes progress-bar-animation{0%{background-position:100px 0}}@keyframes progress-bar-animation{0%{background-position:100px 0}}.percentage-bar{border-radius:0;height:8px;width:150px}.percentage-bar .progress-bar__progress{border-radius:0}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important}.screen-reader-text:active,.screen-reader-text:focus,.screen-reader-text:hover{clip:auto!important;background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:z-index("screen-reader-text-parent",".screen-reader-text:focus")}.dops-foldable-card.dops-card{padding:0;position:relative;transition:margin .15s linear}.dops-foldable-card.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-foldable-card.dops-card.is-expanded{margin-bottom:8px}.dops-foldable-card.dops-card .is-clickable{cursor:pointer}.dops-foldable-card__header{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;min-height:64px;padding:16px;position:relative;width:100%}.dops-foldable-card__header.has-border .dops-foldable-card__summary,.dops-foldable-card__header.has-border .dops-foldable-card__summary_expanded{margin-right:48px}.dops-foldable-card__header.has-border .dops-foldable-card__expand{border-left:1px solid #f6f6f6}.dops-foldable-card.is-compact .dops-foldable-card__header{min-height:40px;padding:8px 16px}.dops-foldable-card.is-expanded .dops-foldable-card__header{height:inherit;margin-bottom:0;min-height:64px}.dops-foldable-card.is-expanded.is-compact .dops-foldable-card__header{min-height:40px}.dops-foldable-card.is-disabled .dops-foldable-card__header{opacity:.2}.dops-foldable-card__action{background:none;border:0;height:100%;position:absolute;right:0;top:0}.dops-foldable-card.is-expanded .dops-foldable-card__action{height:100%}.dops-foldable-card.is-disabled .dops-foldable-card__action{cursor:default}.dops-accessible-focus .dops-foldable-card__action:focus{outline:thin dotted}button.dops-foldable-card__action{cursor:pointer;outline:0}.dops-foldable-card__main{align-items:center;display:block;margin-right:5px;max-width:calc(100% - 36px);width:100%}@media(max-width:480px){.dops-foldable-card__main{flex:1 1}}.dops-foldable-card__secondary{align-items:center;display:flex;flex:1 1;justify-content:flex-end}.dops-foldable-card__expand{width:48px}.dops-foldable-card__expand .gridicon{fill:#a2a2a2;align-items:center;display:flex;transition:transform .15s cubic-bezier(.175,.885,.32,1.275),color .2s ease-in;vertical-align:middle;width:100%}.dops-foldable-card.is-expanded .dops-foldable-card__expand .gridicon{transform:rotate(180deg)}.dops-foldable-card__expand .gridicon:hover{fill:#a2a2a2}.dops-foldable-card__expand:focus .gridicon,.dops-foldable-card__expand:hover .gridicon{fill:#3582c4}.dops-foldable-card__header-text{font-size:1.125rem;width:100%}.dops-foldable-card__subheader{color:#6f6f6f;font-size:.875rem;margin-bottom:.125rem;margin-top:.125rem}.dops-foldable-card__content{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__content{border-top:1px solid #f6f6f6;display:block;padding:16px}.dops-foldable-card.is-compact .dops-foldable-card.is-expanded .dops-foldable-card__content{padding:8px}.dops-foldable-card.is-expanded .dops-foldable-card__content p:first-child{margin-top:0}.dops-foldable-card.is-expanded .dops-foldable-card__content p:last-child{margin-bottom:0}.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{color:#a2a2a2;display:inline-block;font-size:12px;margin-right:40px;transition:opacity .2s linear}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{flex:2;text-align:right;transition:none}@media(max-width:480px){.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{display:none}}.dops-foldable-card__summary{display:inline-block;opacity:1}.dops-foldable-card.is-expanded .dops-foldable-card__summary,.dops-foldable-card__summary_expanded,.has-expanded-summary .dops-foldable-card.is-expanded .dops-foldable-card__summary{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__summary_expanded{display:inline-block}.form-input-validation{animation:appear .3s ease-in-out;border-radius:1px;box-sizing:border-box;color:#4ab866;font-size:14px;padding:6px 24px 11px 34px;position:relative}.form-input-validation.is-error{color:#d94f4f}.form-input-validation.is-warning{color:#f0b849}.form-input-validation .gridicon{float:left;margin-left:-34px}.dops-textarea{background-color:#fff;border:1px solid #d5d5d5;box-shadow:none;box-sizing:border-box;color:#414141;font-size:1rem;line-height:1.5;margin:0;min-height:5.75rem;padding:.4375rem .875rem;transition:all .15s ease-in-out;width:100%}.dops-textarea::placeholder{color:#a2a2a2}.dops-textarea:hover{border-color:#bbb}.dops-textarea:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.dops-textarea:focus::-ms-clear{display:none}.dops-textarea:disabled{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-textarea:disabled:hover{cursor:default}.dops-textarea:disabled::placeholder{color:#bbb}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-right:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-right:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-left:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 2px -4px 0;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.twitter-preview__container .twitter-preview__footer svg{fill:#787c82;height:16px;width:16px}.dops-clipboard-button-input{display:block;position:relative}.dops-clipboard-button-input .dops-clipboard-button{overflow:visible;position:absolute;right:4px;top:50%;transform:translateY(-50%)}.dops-clipboard-button-input .dops-clipboard-button:not(:disabled):before{-webkit-touch-callout:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:auto;pointer-events:none;position:absolute;right:0;right:calc(100% + 1px);top:0;-webkit-user-select:none;user-select:none;width:16px}.dops-clipboard-button-input .dops-clipboard-button:focus:before{right:calc(100% + 3px)}.jp-recommendations-question__content{display:flex;flex-direction:column}@media(min-width:661px){.jp-recommendations-question__main--with-illustration .jp-recommendations-question__content{padding-right:48px}}.jp-recommendations-question__progress-bar{margin:32px 32px 0}.jp-recommendations-question__progress-bar .progress-bar{width:70px}@media(max-width:480px){.jp-recommendations-question__progress-bar{margin:16px 16px 32px}}.jp-recommendations-question__question{font-size:1.5rem;margin:32px 32px 0}@media(max-width:480px){.jp-recommendations-question__question{margin:0 16px 32px}}.jp-recommendations-question__description{font-size:16px;margin:32px 32px 24px}@media(max-width:480px){.jp-recommendations-question__description{margin:0 16px 16px}}.jp-recommendations-question__description .gridicons-external{margin-left:.25rem}.jp-recommendations-question__description a{white-space:nowrap}.jp-recommendations-question__main--with-illustration .jp-recommendations-question__description{margin-right:0}@media(max-width:660px){.jp-recommendations-question__main--with-illustration .jp-recommendations-question__description{margin-right:32px}}.jp-recommendations-question__answer{display:flex;flex-direction:column;height:100%}.jp-recommendations-question__illustration-container{position:relative;width:100%}.jp-recommendations-question__illustration-container img{bottom:0;position:absolute;right:0}@media(max-width:660px){.jp-recommendations-question__illustration-container{display:none}}.jp-recommendations-question__illustration-background{width:100%}.jp-recommendations-question__illustration-foreground{margin:10%;width:75%}.jp-recommendations-question__install-section{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:flex-end}.jp-recommendations-question__install-section button{margin-bottom:16px;margin-top:auto;min-width:172px}.jp-recommendations-question__install-section a{margin-bottom:32px}.jp-recommendations-question__install-section a.dops-button{margin-bottom:16px;text-align:center}@media(max-width:480px){.jp-recommendations-question__install-section a.dops-button{width:100%}.jp-recommendations-question__install-section{padding:64px 16px 0}}.jp-loading-icon{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.jp-recommendations-product-suggestion-item{border:1px solid #dcdcde;border-radius:8px;padding:24px}.jp-recommendations-product-suggestion-item__content{display:flex;flex-direction:column}@media(min-width:481px){.jp-recommendations-product-suggestion-item__content{align-self:start;display:grid;grid-template-columns:1fr auto}}.jp-recommendations-product-suggestion-item__title{font-size:1.5rem;line-height:1.2;margin-bottom:16px;margin-top:0}@media(min-width:481px){.jp-recommendations-product-suggestion-item__title{grid-column:1}}.jp-recommendations-product-suggestion-item__description{font-size:.875rem;line-height:1.5;margin-bottom:16px;margin-top:0;max-width:370px}@media(min-width:481px){.jp-recommendations-product-suggestion-item__description{grid-column:1}}@media(min-width:961px){.jp-recommendations-product-suggestion-item__description{max-width:280px}}.jp-recommendations-product-suggestion-item__actions{display:flex;flex-direction:column}@media(min-width:481px){.jp-recommendations-product-suggestion-item__actions{grid-column:1}}.jp-recommendations-product-suggestion-item__checkout-button{align-self:flex-start;font-size:1rem;margin-bottom:16px;margin-top:0;text-align:center}.jp-recommendations-product-suggestion-item__external-link{align-self:flex-start;font-size:1rem;line-height:1.5}.jp-recommendations-product-suggestion-item__price{display:flex;flex-direction:row;margin-bottom:16px}@media(min-width:481px){.jp-recommendations-product-suggestion-item__price{flex-direction:column;grid-column:2;grid-row:1/4;margin-left:auto;padding-left:16px}}.jp-recommendations-product-suggestion-item__raw-price{display:flex;margin:0}@media(min-width:481px){.jp-recommendations-product-suggestion-item__raw-price{margin-left:auto}}.jp-recommendations-product-suggestion-item__currency-symbol{font-size:1.25rem;line-height:1.4;padding-right:1px}.jp-recommendations-product-suggestion-item__price-integer{font-size:2.5rem;font-weight:700;line-height:1}.jp-recommendations-product-suggestion-item__price-fraction{font-size:.875rem;font-weight:700;line-height:1.5;padding-left:1px}.jp-recommendations-product-suggestion-item__billing-time-frame{color:#787c82;font-size:.8125rem;margin-left:10px;text-align:center}@media(min-width:481px){.jp-recommendations-product-suggestion-item__billing-time-frame{margin-left:0;margin-top:8px}}.jetpack-money-back-guarantee{align-items:center;color:#1d2327;display:flex;font-size:.875rem;justify-content:center;line-height:1.5}.jetpack-money-back-guarantee__icon svg{display:block;height:23px;width:23px}.jetpack-money-back-guarantee__text{margin-left:8px}.jp-recommendations-product-suggestion__container{margin-bottom:32px;text-align:center}.jp-recommendations-product-suggestion__items{display:flex;flex-direction:column;margin:8px 16px 24px;max-width:660px;text-align:left}@media(min-width:961px){.jp-recommendations-product-suggestion__items{display:grid;gap:16px;grid-template-columns:1fr 1fr;grid-template-rows:auto;max-width:none}}@media(min-width:481px){.jp-recommendations-product-suggestion__items{margin-left:32px;margin-right:32px}}@media(max-width:960px){.jp-recommendations-product-suggestion__item{margin-bottom:16px}.jp-recommendations-product-suggestion__item:last-of-type{margin-bottom:0}}.jp-recommendations-product-suggestion__introductory-pricing{color:#1d2327;font-size:.875rem;letter-spacing:.1px;line-height:1.5;margin-bottom:10px}.jp-recommendations-product-suggestion__money-back-guarantee{margin-bottom:24px}.jp-recommendations-product-suggestion__skip{display:inline-block;font-size:1rem;line-height:1.5}.jp-recommendations-product-purchased{display:flex;flex-direction:column;height:100%;margin:0 16px 32px}@media(min-width:481px){.jp-recommendations-product-purchased{margin-left:32px;margin-right:32px}}.jp-recommendations-product-purchased__features{margin:0 0 32px}.jp-recommendations-product-purchased__feature{align-items:center;display:flex}.jp-recommendations-product-purchased svg{fill:#069e08;margin-right:10px}.jp-recommendations-product-purchased__next{align-self:center}@media(min-width:481px){.jp-recommendations-product-purchased__next{margin-top:auto}}.jp-checkbox-answer__container{background:#fff;border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex}.jp-checkbox-answer__container.checked{background:#f8fbff;border:1px solid #3582c4}@media(max-width:480px){.jp-checkbox-answer__container{margin-bottom:8px}}.jp-checkbox-answer__title{align-items:center;display:flex;padding:15px 0;width:100%}.jp-checkbox-answer__checkbox{margin:18px 8px 14px 16px}.jp-checkbox-answer__info{padding:16px 16px 16px 0}.jp-recommendations-question__site-type-checkboxes{margin-bottom:16px;text-align:left}@media(min-width:481px){.jp-recommendations-question__site-type-checkboxes{display:grid;gap:16px;grid-template-columns:auto auto;grid-template-rows:auto auto}}@media(max-width:480px){.jp-recommendations-question__site-type-checkboxes{display:flex;flex-direction:column}}.jp-recommendations-question__site-type-answer-container{margin:0 0 32px 32px;text-align:center}@media(max-width:660px){.jp-recommendations-question__site-type-answer-container{margin:0 32px 32px}}@media(max-width:480px){.jp-recommendations-question__site-type-answer-container{margin:0 16px 16px}.jp-recommendations-question__site-type-answer-container .dops-button{width:100%}}.jp-recommendations-site-type-question__continue-description{color:#646970;margin:24px auto 0;max-width:300px}@media(max-width:480px){.jp-recommendations-site-type-question__continue-description{display:none}}.jp-recommendations-site-type__illustration{height:200px;padding:65px}.jp-install-button__spinner-container{display:flex;justify-content:center}.jp-recommendations-feature-summary{border-bottom:1px solid #e1e1e1;display:grid;grid-template-columns:auto 120px;min-width:275px}.jp-recommendations-feature-summary.is-feature-enabled{grid-template-columns:30px auto 120px}.jp-recommendations-feature-summary .gridicons-checkmark-circle{fill:#069e08}.jp-recommendations-feature-summary:last-child{border-bottom:none}.jp-recommendations-feature-summary__checkmark{align-content:center;align-items:center;display:flex}.jp-recommendations-feature-summary__display-name{align-items:center;display:flex;padding-left:12px}.jp-recommendations-feature-summary__cta button{width:100%}.jp-recommendations-feature-summary__cta a{text-align:center;width:100%}.jp-recommendations-feature-summary__actions{padding:8px}.jp-recommendations-sidebar-card{background:linear-gradient(180deg,#c5d9ed 115px,#fff 0);border-radius:8px;width:100%}.jp-recommendations-sidebar-card .dops-button{background:#069e08;border-color:#069e08;text-align:center;width:100%}.jp-recommendations-sidebar-card__illustration-container{text-align:center}.jp-recommendations-sidebar-card__illustration{background:#fff;border-radius:3px;box-shadow:0 0 24px rgba(0,0,0,.16);display:inline-flex;height:115px;justify-content:center;margin-top:24px;padding:8px;width:220px}.jp-recommendations-sidebar-card__content{padding:0 24px 24px}.jp-recommendations-sidebar-card__features{margin:32px 0 8px}.jp-recommendations-sidebar-card__features li{align-items:center;display:flex}.jp-recommendations-sidebar-card__features .gridicons-checkmark-circle{fill:#069e08;margin-right:8px}.jp-recommendations-one-click-restores h2{margin-top:32px}.jp-recommendations-one-click-restores p{margin:16px 0}.jp-recommendations-one-click-restores .jp-recommendations-one-click-restores__cta{margin-top:32px;text-align:center}.apps-badge{display:flex;margin:0;max-height:40px;max-width:135px;overflow:hidden}.apps-badge:first-child{margin-right:8px}.apps-badge img{-ms-interpolation-mode:nearest-neighbor;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;max-width:100%}.apps-badge.android-app-badge img{transform:scale(1.13) translate(-7px,-5.1px);transform-origin:left}.jp-recommendations-sidebar-card__apps-badge{display:flex;margin-top:32px}.jp-recommendations-sidebar-card__apps-badge .apps-badge{width:50%}.jp-recommendations-product-card-upsell-no-price{background:#fff;border-radius:8px}.jp-recommendations-product-card-upsell-no-price img{margin-right:8px}.jp-recommendations-product-card-upsell-no-price h2{margin:0 0 24px}.jp-recommendations-product-card-upsell-no-price ul{margin:16px 0}.jp-recommendations-product-card-upsell-no-price li{align-items:center;display:flex}.jp-recommendations-product-card-upsell-no-price p{margin:0}.jp-recommendations-product-card-upsell-no-price .gridicons-checkmark-circle{fill:#069e08;margin-right:8px}.jp-recommendations-product-card-upsell-no-price .dops-button{background:#069e08;border-color:#069e08;margin:32px 0 0;text-align:center;width:100%}.jp-recommendations-product-card-upsell-no-price__padding{padding:24px}.jp-recommendations-product-card-upsell-no-price__header-chrome{background:#3582c4;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#fff;padding:8px}.jp-recommendations-product-card-upsell{background:#fff;border-radius:8px}.jp-recommendations-product-card-upsell img{margin-right:8px}.jp-recommendations-product-card-upsell h1{margin-bottom:16px;margin-top:0}.jp-recommendations-product-card-upsell p{margin-bottom:32px;margin-top:16px}.jp-recommendations-product-card-upsell .dops-button{background:#069e08;border-color:#069e08;margin:32px 0 0;text-align:center;width:100%}.jp-recommendations-product-card-upsell .dops-button:hover{background:#007117;border-color:#007117}.jp-recommendations-product-card-upsell__padding{padding:24px}.jp-recommendations-product-card-upsell__header-chrome{background:#3582c4;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#fff;display:flex;padding:8px}.jp-recommendations-product-card-upsell__price{align-items:center;display:flex}.jp-recommendations-product-card-upsell__raw-price h2{display:flex;margin:0}.jp-recommendations-product-card-upsell__currency-symbol{font-size:1.5rem;margin-top:-.25rem}.jp-recommendations-product-card-upsell__price-integer{font-size:3.375rem;font-weight:700;line-height:.7}.jp-recommendations-product-card-upsell__price-fraction{font-size:.75rem;margin-top:-.25rem}.jp-recommendations-product-card-upsell__billing-time-frame{margin-left:12px}.jp-recommendations-product-card-upsell__cta-button .gridicons-external{margin-left:.25rem}.jp-recommendations-summary{background:#e9eff5;border:1px solid #d5d5d5;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);display:grid;grid-template-columns:57% 43%}@media(max-width:660px){.jp-recommendations-summary{display:flex;flex-direction:column}}.jp-recommendations-summary__content{background:#fff}.jp-recommendations-summary__content.isLoading{align-items:center;display:flex;justify-content:center;min-height:730px}.jp-recommendations-summary__configuration{margin:48px 48px 32px}@media(max-width:480px){.jp-recommendations-summary__configuration{margin:16px 16px 0}}.jp-recommendations-summary__configuration h2{margin:32px 0 16px}.jp-recommendations-summary__sidebar{border-left:1px solid #d5d5d5;padding:24px}@media(max-width:660px){.jp-recommendations-summary__sidebar{padding:0}}.jp-recommendations-summary__sidebar.isLoading{align-items:center;display:flex;justify-content:center;min-height:430px}.jp-recommendations-summary__more-features{align-items:flex-start;border-top:1px solid #dcdcde;display:flex;padding:40px 48px}@media(max-width:480px){.jp-recommendations-summary__more-features{padding:40px 16px}}.jp-recommendations-summary__more-features .gridicons-info-outline{fill:#787c82;flex:0 0 24px;margin-right:18px}.jp-recommendations-summary__more-features .gridicons-external{margin-left:.25rem}.jp-recommendations-summary__more-features>p{margin:1px 0 0}.jp-product-card{background:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);box-sizing:border-box;padding:30px 24px 45px;position:relative;width:100%}@media(min-width:661px){.jp-product-card{padding:40px 48px 60px}}@media(min-width:961px){.jp-product-card{padding-top:60px}}.jp-product-card__inner{display:flex;flex-direction:column;height:100%;max-width:400px}.jp-product-card__icon{display:none;height:16px;margin-bottom:24px}@media(min-width:961px){.jp-product-card__icon{display:block}}.jp-product-card__icon svg{height:100%;width:auto}.jp-product-card__title{color:#000;font-size:2rem;font-weight:700;margin:0 0 18px}.jp-product-card__description{color:#000;font-size:.9375rem;line-height:1.5;margin:0 0 22px}.jp-product-card__features{margin:0 0 30px}.jp-product-card__feature{align-items:center;color:#000;display:flex;margin-bottom:8px}.jp-product-card__feature svg{fill:#069e08;margin-right:10px}.jp-product-card__price{color:#000;display:flex;flex-direction:row;flex-wrap:wrap;margin-top:auto}.jp-product-card__raw-price{display:flex;font-size:3rem;margin:0 22px 0 0}.jp-product-card__raw-price--is-old-price{color:#a7aaad;position:relative}.jp-product-card__raw-price--is-old-price:after{background:#c9356e;border-radius:5px;content:" ";display:block;height:3px;margin-top:-2px;pointer-events:none;position:absolute;top:50%;width:100%}.jp-product-card__currency-symbol{font-size:.5em;line-height:1.4;padding-right:1px}.jp-product-card__price-integer{font-size:inherit;font-weight:700;line-height:1}.jp-product-card__price-fraction{font-size:.35em;font-weight:700;line-height:1.7;padding-left:1px}.jp-product-card__price-description{color:#787c82;display:block;font-size:.875rem;letter-spacing:.2px;margin-bottom:32px}.jp-product-card__checkout{align-self:flex-start;font-size:1rem;padding-left:60px;padding-right:60px;text-align:center}.jp-product-card__checkout--primary,.jp-product-card__checkout--primary:focus,.jp-product-card__checkout--primary:hover{background:#000;border-color:#000;color:#fff}.jp-product-card__checkout--primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #000}.jp-product-card__checkout--secondary{background:transparent;border:2px solid #000;color:#000;transition:all .15s ease-in-out}.jp-product-card__checkout--secondary:focus,.jp-product-card__checkout--secondary:hover{background:#000;border-color:#000;color:#fff}.jp-product-card__checkout--secondary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #000}.jp-product-card__cta{align-items:center;background:#000;border-top-left-radius:4px;border-top-right-radius:4px;color:#fff;display:flex;font-size:.8125rem;font-weight:600;left:0;letter-spacing:.3px;padding:9px 10px;position:absolute;right:0;top:0}.jp-product-card__cta .gridicon{height:16px;margin-right:5px;width:16px}.jp-product-card--has-cta{padding-top:60px}.jp-product-card__media{align-self:center;display:none;height:auto;margin-top:36px;max-width:100%;width:auto}@media(min-width:481px){.jp-product-card__media{display:block}}@media(min-width:661px){.jp-product-card__media{min-width:240px}}@media(min-width:961px){.jp-product-card__media{margin-top:0}}@media(min-width:481px){.jp-product-card--has-media{display:block}}@media(min-width:961px){.jp-product-card--has-media{column-gap:26px;display:grid;grid-template-columns:55% 45%}}@media(min-width:1041px){.jp-product-card--has-media{grid-template-columns:auto auto}}.jp-product-card--has-media .jp-product-card__price{margin-top:0}.jp-product-description>*{margin-bottom:26px}@media(min-width:961px){.jp-product-description--split{column-gap:26px;display:grid;grid-template-columns:50% 50%}}@media(min-width:1041px){.jp-product-description--split{grid-template-columns:auto 410px}}.jp-product-description__introductory-pricing{color:#000;font-size:.875rem;letter-spacing:.1px;line-height:1.5;margin-bottom:10px;text-align:center}.jp-product-description__money-back-guarantee{text-align:center}.jp-product-description .jp-product-card__icon .vertical{height:150%}@media(max-width:960px){.jp-product-description{margin-left:auto;margin-right:auto;max-width:550px}}.jp-product-descriptions__loading{padding-top:48px}.plugin-dash-item p{font-size:var(--font-body-small)}.plugin-dash-item .dops-banner,.plugin-dash-item .plugin-dash-item__content,.plugin-dash-item .plugin-dash-item__section-header{margin-bottom:0;width:100%}.plugin-dash-item .dops-banner.dops-card{border-left-color:#3895ba;height:100%}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle{background-color:#3895ba;height:32px;width:32px}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle .gridicon{margin-bottom:0}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle .gridicon g{transform:none}@media(max-width:480px){.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon{display:none}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle{display:block}}.plugin-dash-item .plugin-dash-item__content{align-items:center;display:flex;flex-direction:row;height:100%}.plugin-dash-item .plugin-dash-item__content .components-spinner{margin-top:0}.dops-tooltip.dops-popover .dops-popover__arrow{border-width:6px}.dops-tooltip.dops-popover.is-bottom-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow{border-bottom-color:#555;right:10px;top:4px}.dops-tooltip.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-bottom-right .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-bottom-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-error .dops-popover__arrow{border-bottom-color:#d94f4f}.dops-tooltip.dops-popover.is-bottom-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-warning .dops-popover__arrow{border-bottom-color:#f0b849}.dops-tooltip.dops-popover.is-bottom-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-success .dops-popover__arrow{border-bottom-color:#4ab866}.dops-tooltip.dops-popover.is-top-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right .dops-popover__arrow,.dops-tooltip.dops-popover.is-top .dops-popover__arrow{border-top-color:#555;bottom:4px;right:10px}.dops-tooltip.dops-popover.is-top-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-top-right .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-top .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-top-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-error .dops-popover__arrow{border-top-color:#d94f4f}.dops-tooltip.dops-popover.is-top-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-warning .dops-popover__arrow{border-top-color:#f0b849}.dops-tooltip.dops-popover.is-top-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-success .dops-popover__arrow{border-top-color:#4ab866}.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow,.dops-tooltip.dops-popover.is-top .dops-popover__arrow{margin-left:-6px}.dops-tooltip.dops-popover.is-left,.dops-tooltip.dops-popover.is-right{padding-top:0}.dops-tooltip.dops-popover.is-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-right .dops-popover__arrow{margin-top:-6px}.dops-tooltip.dops-popover.is-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-right .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-error .dops-popover__arrow{border-right-color:#d94f4f}.dops-tooltip.dops-popover.is-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-warning .dops-popover__arrow{border-right-color:#f0b849}.dops-tooltip.dops-popover.is-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-success .dops-popover__arrow{border-right-color:#4ab866}.dops-tooltip.dops-popover.is-left .dops-popover__arrow{border-left-color:#555;margin-right:4px}.dops-tooltip.dops-popover.is-right .dops-popover__arrow{border-right-color:#555;margin-left:4px}.dops-tooltip.dops-popover .dops-popover__inner{background:#555;border:0;border-radius:2px;box-shadow:none;color:#fff;font-size:12px;padding:6px 10px;text-align:left}.dops-tooltip.dops-popover.is-error .dops-popover__inner{background:#d94f4f}.dops-tooltip.dops-popover.is-warning .dops-popover__inner{background:#f0b849}.dops-tooltip.dops-popover.is-success .dops-popover__inner{background:#4ab866}.dops-tooltip.dops-popover ul{list-style:none;margin:0;padding:0}.dops-tooltip.dops-popover ul li{border:0;font-size:11px;font-weight:100}.dops-tooltip__hr{background:#a2a2a2;margin:8px 0}.dops-chart{background-color:#fff;box-sizing:border-box;padding:8px 0 8px 20px;position:relative}.dops-chart .dops-chart__y-axis-markers{height:200px;left:0;position:absolute;right:0;top:8px}.dops-chart .dops-chart__y-axis-marker{border-top:1px solid #eee;height:1px;position:absolute;top:0;width:100%}.dops-chart__bar-marker{border-top:1px solid hsla(0,0%,93%,.1);height:1px;position:absolute;top:0;width:100%;z-index:1}.dops-chart .dops-chart__y-axis-marker.is-fifty,.dops-chart__bar-marker.is-fifty,.dops-chart__y-axis-label.is-fifty{top:50%}.dops-chart .dops-chart__y-axis-marker.is-zero,.dops-chart__bar-marker.is-zero,.dops-chart__y-axis-label.is-zero{top:100%}.dops-chart__y-axis{color:#888;float:right;font-size:11px;height:200px;margin-bottom:30px;padding:0 20px 0 10px;position:relative}.dops-chart__y-axis-label{position:absolute;right:20px;text-align:right;top:0}.dops-chart__y-axis-width-fix{color:hsla(0,0%,100%,0)}.dops-chart__x-axis{color:#555;font-size:0;min-height:18px;padding:5px 0;position:relative}.dops-chart__x-axis-label{display:inline-block;font-size:11px;position:absolute;text-align:center;vertical-align:top}.dops-chart__x-axis-label:before{background:#f6f6f6;background-image:linear-gradient(180deg,#f6f6f6 0,#d5d5d5);content:"";display:block;height:5px;left:50%;margin-left:-.5px;position:absolute;top:-4px;width:1px}.dops-chart__bars{display:-ms-flex;display:flex;font-size:0;overflow:hidden}.dops-chart__bar,.dops-chart__bars{height:200px;position:relative;text-align:center}.dops-chart__bar{display:inline-block;-ms-flex-grow:1;flex-grow:1;-ms-flex-shrink:1;flex-shrink:1}.dops-chart__bar.is-weekend{background-color:hsla(0,0%,93%,.5)}.dops-chart__bar:focus{background-color:rgba(240,130,30,.1)}.dops-chart__bar:hover{background-color:hsla(0,0%,93%,.3);cursor:pointer}.dops-chart__bar.is-selected{background-color:rgba(240,130,30,.1);cursor:default}.dops-chart__bar-section{background-color:#0087be;bottom:0;display:inline-block;left:16%;position:absolute;right:16%;top:0;z-index:2}.dops-chart__bar:hover .dops-chart__bar-section.is-bar{background-color:#3582c4}.dops-chart__bar.is-selected .dops-chart__bar-section.is-bar{background-color:#f0821e}.dops-chart__bar-section.is-spacer{background-color:hsla(0,0%,100%,0);z-index:0}.dops-chart__bar-section.is-ghost:after{background-image:linear-gradient(180deg,hsla(0,0%,100%,0),hsla(0,0%,93%,.5));bottom:0;content:"";display:block;height:40px;left:0;position:absolute;top:160px;width:100%;z-index:1}.dops-chart__bar:hover .dops-chart__bar-section.is-ghost:after{display:none}.dops-chart__bar-section-inner{background:#004069;bottom:0;left:23.33%;position:absolute;right:23.33%}.dops-chart__bar.is-selected .dops-chart__bar-section-inner{background-color:#d63638}.dops-chart__legend{margin-bottom:-8px}.dops-chart__legend:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-chart__legend .dops-chart__legend-options{color:#747474;float:right;font-size:11px;letter-spacing:.1em;list-style-type:none;margin:0;text-transform:uppercase}@media(max-width:480px){.dops-chart__legend .dops-chart__legend-options{width:100%}}.dops-chart__legend-option{display:inline;text-align:left}@media(max-width:480px){.dops-chart__legend-option{display:inline-block;width:50%}}.dops-chart__legend-label{display:inline-block;padding:12px 19px 10px 20px}.dops-chart__legend-label.is-selectable{cursor:pointer}.dops-chart__legend-label.is-selectable:focus,.dops-chart__legend-label.is-selectable:hover{color:tint(#3582c4,20%)}@media(max-width:480px){.dops-chart__legend-label{display:block}}.dops-chart__legend-option .dops-chart__legend-color{background:#0087be;border-radius:1px;display:inline-block;height:10px;margin:3px 5px 3px 8px;vertical-align:top;width:10px}@media(max-width:480px){.dops-chart__legend-option:first-child .dops-chart__legend-color{margin-left:2px}}.dops-chart__legend-color.is-dark-blue{background:#004069}.dops-chart__legend-option .dops-chart__legend-checkbox{float:none;margin:0;vertical-align:top}.dops-chart__empty{bottom:0;clear:both;font-size:14px;left:0;line-height:24px;position:absolute;right:0;text-align:center;top:0;z-index:1}.dops-chart__empty_notice{animation:appear .3s ease-in-out;background:#fff;border-radius:1px;box-shadow:0 0 0 1px hsla(0,0%,84%,.5),0 1px 2px #eee;box-sizing:border-box;font-size:14px;line-height:1.4285;margin-bottom:24px;padding:11px 24px;position:relative;top:97px}@media(min-width:661px){.dops-chart__empty_notice{font-size:inherit;padding:13px 48px}.dops-chart__empty_notice:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"";display:inline-block;font:normal 16px/1 Noticons;font-size:24px;left:20px;line-height:1;margin:-12px 0 0 -8px;position:absolute;top:23px;vertical-align:middle}}.dops-chart__tooltip .dops-popover__inner{text-align:left;width:230px}.dops-chart__tooltip .dops-popover__inner ul{list-style:none;margin:0;padding:0}.dops-chart__tooltip .dops-popover__inner ul:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-chart__tooltip .dops-popover__inner ul li{border:0;font-size:11px;font-weight:100;height:24px;letter-spacing:.1em;margin-bottom:0;text-transform:uppercase}.dops-chart__tooltip .dops-popover__inner ul li .dops-wrapper{clear:both;display:block;line-height:inherit;line-height:24px}.dops-chart__tooltip .dops-popover__inner ul li .value{color:#d5d5d5;float:right;min-width:22px;text-align:right}.dops-chart__tooltip .dops-popover__inner ul li .label{display:block;overflow:hidden;vertical-align:baseline;word-break:break-all}.dops-chart__tooltip .dops-popover__inner ul li .gridicon{margin-right:6px;margin-top:-3px;vertical-align:middle}.dops-chart__tooltip.is-streak{height:35px;margin-top:-5px}.dops-chart__tooltip.is-streak .dops-popover__arrow:before{left:85px;top:30px}.dops-chart__tooltip.is-streak .dops-popover__inner{position:relative;top:-10px;width:160px}.dops-chart__tooltip.is-streak .dops-popover__inner li{height:14px}.dops-chart__tooltip.is-streak .dops-popover__inner li .label{float:left;text-align:center;width:100%}.rtl .dops-chart__tooltip.is-streak .dops-popover__inner li .label{font-size:11px}.dops-chart__tooltip.is-streak .dops-popover__inner li .label .post-count{font-weight:700}.dops-chart__tooltip.is-streak .dops-popover__inner li .value{float:none}.dops-chart__tooltip .dops-module-content-list-item.is-date-label{border-bottom:1px solid #5d5d5d;font-size:11px;font-weight:700;margin-bottom:2px;padding-bottom:2px;text-transform:uppercase}.dops-chart__tooltip .dops-module-content-list-item.is-published-item{height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .label{color:#d5d5d5;height:19px;letter-spacing:0;overflow:hidden;text-transform:none}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value{min-width:0;width:0}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value:before{background-image:linear-gradient(90deg,rgba(61,89,109,0) 0,rgba(61,89,109,.5),#3d596d);content:"";display:block;height:24px;left:-30px;position:relative;width:30px}.dash-security-bundle{display:flex;flex-direction:column;padding:32px}@media(min-width:661px){.dash-security-bundle{flex-direction:row}}.dash-security-bundle .dash-security-bundle--icon{align-items:flex-start;display:flex;margin-bottom:16px;margin-right:0;margin-top:16px}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--icon{align-items:center;margin-bottom:0;margin-right:32px;margin-top:0}}.dash-security-bundle .dash-security-bundle--content{display:flex;flex:1;flex-direction:column;justify-content:space-between}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--content{flex-direction:row}}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info{display:flex;flex-direction:column}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info h3{font-size:22px;font-weight:700;margin-bottom:0}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info p{font-size:14px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features,.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature{display:flex;flex-direction:row}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature img{width:24px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature p{font-weight:700}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature:not(:last-child){margin-right:16px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-cta{align-items:center;display:flex;flex-direction:row;margin-left:0;margin-top:16px}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-cta{margin-left:16px;margin-top:0}}#jp-plugin-container{min-height:100vh}body.dops-modal-showing{overflow:hidden}.dops-modal-wrapper{-webkit-overflow-scrolling:touch;background-color:rgba(0,0,0,.5);bottom:0;cursor:pointer;display:block;left:0;outline:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;text-align:center;top:0;transition:opacity .15s linear;z-index:1050}.dops-modal-wrapper:before{content:"";display:inline-block;height:100%;vertical-align:middle}.dops-modal-wrapper .dops-modal{background-color:#fff;clear:both;cursor:default;display:inline-block;margin:0;max-width:550px;position:relative;text-align:left;transition:all .5s;vertical-align:middle;width:100%;z-index:100}@media(min-width:481px){.dops-modal-wrapper .dops-modal{border-radius:5px;box-shadow:0 4px 20px rgba(0,0,0,.2);height:auto;margin:0 auto}}.jp-product-activated-label{color:#069e08;display:flex;font-weight:600;padding:0 0 8px}@media(min-width:961px){.jp-product-activated-label{justify-content:flex-end}}.jp-product-activated-label .gridicons-checkmark{margin-right:8px}@media(min-width:961px){.my-plan-card{display:flex;flex-flow:row nowrap;justify-content:space-between}}.my-plan-card__primary{display:flex;flex-flow:row nowrap;flex-grow:1}.my-plan-card__header{flex:1}.my-plan-card__title{color:#414141;font-size:1.25rem;font-weight:600;line-height:30px;margin:6px 0}.my-plan-card__tag-line{font-weight:400;line-height:18px;margin:0 0 24px}@media(min-width:961px){.my-plan-card__tag-line{margin-bottom:8px}}.my-plan-card__icon{flex:0 0 auto;height:64px;margin:8px 20px 16px 0;width:64px}@media(max-width:660px){.my-plan-card__icon{display:none}}.my-plan-card__icon img{height:100%;width:100%}.my-plan-card__secondary{align-items:center;display:flex;flex-flow:row wrap;justify-content:space-between;padding:8px 0 0;position:relative}@media(min-width:961px){.my-plan-card__secondary{align-items:flex-end;flex-flow:column nowrap;justify-content:center;padding:0 0 0 24px}}.my-plan-card__secondary:before{border-top:1px solid #c3c4c7;content:"";left:-16px;position:absolute;right:-16px;top:0}@media(min-width:481px){.my-plan-card__secondary:before{left:-24px;right:-24px}}@media(min-width:961px){.my-plan-card__secondary:before{content:none}}.has-action-only .my-plan-card__secondary{justify-content:center;padding-top:0}.has-action-only .my-plan-card__secondary:before{content:none}.my-plan-card__details{color:#888;padding-top:8px}@media(min-width:481px){.my-plan-card__details{white-space:nowrap}}@media(min-width:961px){.my-plan-card__details{padding-top:0}}.my-plan-card__details.is-error{color:#d94f4f}.my-plan-card__action{padding-top:8px;white-space:nowrap}.has-action-only .my-plan-card__action{padding-top:0}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-left:5px}.notices-list{overflow:hidden}.notices-list.is-pinned{position:fixed;top:79px;width:calc(100% - 336px);z-index:z-index("root",".notices-list.is-pinned")}.notices-list.is-pinned .notice{z-index:z-index("root",".notices-list.is-pinned .notice")}.notices-list__whitespace{display:block;height:71px;width:100%}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{bottom:0;left:0;pointer-events:none;position:fixed;right:0;text-align:right;top:auto;z-index:179}@media(min-width:661px){.global-notices{bottom:auto;left:auto;max-width:calc(100% - 68px);right:16px;top:63px}}@media(min-width:961px){.global-notices{max-width:calc(100% - 208px);right:24px;top:71px}}@media(min-width:1041px){.global-notices{max-width:calc(100% - 224px);right:32px}}.global-notices .dops-notice{border-radius:0;box-shadow:0 2px 5px rgba(0,0,0,.2),0 0 56px rgba(0,0,0,.15);flex-wrap:nowrap;margin-bottom:0;pointer-events:auto;text-align:left}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0}@media(min-width:661px){.global-notices .dops-notice{border-radius:3px;display:flex;margin-bottom:24px;overflow:hidden}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:3px 0 0 3px}.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:13px 16px}}.global-notices .dops-notice__dismiss{flex-shrink:0}@media(min-width:661px){.global-notices .dops-notice__dismiss{padding:13px 16px 0}}.reconnect__modal__body{color:#2e4453;font-size:rem(14px);margin:0;padding:rem(24px) rem(32px);text-align:center}.reconnect__modal__body h2{color:#2e4453;font-size:rem(32px);font-weight:300;margin:rem(32px) 0 rem(24px)}.reconnect__modal__body h4{color:#668eaa;font-size:rem(16px);font-weight:400;line-height:1.5em;margin:rem(16px) rem(24px) 0}.reconnect__modal-actions{margin:2rem 0}.reconnect__modal-actions .reconnect__modal-cancel{margin-right:1em}.jp-license-activation-screen-controls{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-controls h1{font-size:44px;font-weight:700}.jp-license-activation-screen-controls p{font-size:16px}.jp-license-activation-screen-controls label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-controls{padding:64px}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error label,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field label{font-size:16px;font-weight:600}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border-radius:4px;font-size:18px;line-height:24px;margin:0;min-height:48px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border:1px solid #787c82}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border:1px solid #d63639}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error{align-items:start;color:#d63639;display:flex;flex-direction:row}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error svg{fill:#d63639;margin-right:4px;min-width:24px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error span{font-size:16px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{background-color:#000;border-radius:4px;color:#fff;display:flex;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin-top:24px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{width:auto}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:hover,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:hover{background-color:#2c3338;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:focus,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active[disabled],.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button[disabled]{background-color:#dcdcde;color:#a7aaad}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button .jp-components-spinner,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active .jp-components-spinner{width:100%}.jp-license-activation-screen-illustration{align-items:center;background:#f9f9f6;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-illustration--wrapper{display:flex;flex:1}.jp-license-activation-screen-illustration--wrapper img{align-self:center;height:auto;max-width:100%}.jp-license-activation-screen-illustration--support-link{flex:0}.jp-license-activation-screen-success-info--product-details a{color:var(--jp-black);text-decoration:underline!important}.jp-license-activation-screen-success-info--external-link{color:var(--jp-black);font-size:16px;font-style:normal;font-weight:600;text-decoration:underline!important;white-space:nowrap}.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{background-color:#000;border-radius:4px;color:#fff;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin:0 40px 20px 0;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{width:auto}}.components-button.jp-license-activation-screen-success-info--button:active:hover,.components-button.jp-license-activation-screen-success-info--button:hover,.components-button.jp-license-activation-screen-success-info--button:visited:hover{background-color:#2c3338;color:#fff}.components-button.jp-license-activation-screen-success-info--button:active:focus,.components-button.jp-license-activation-screen-success-info--button:focus,.components-button.jp-license-activation-screen-success-info--button:visited:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.components-button.jp-license-activation-screen-success-info--button:active:disabled,.components-button.jp-license-activation-screen-success-info--button:active[disabled],.components-button.jp-license-activation-screen-success-info--button:disabled,.components-button.jp-license-activation-screen-success-info--button:visited:disabled,.components-button.jp-license-activation-screen-success-info--button:visited[disabled],.components-button.jp-license-activation-screen-success-info--button[disabled]{background-color:#dcdcde;color:#a7aaad}.components-button.jp-license-activation-screen-success-info--button .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:active .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:visited .jp-components-spinner{width:100%}.jp-license-activation-screen-success-info{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-success-info h1{font-size:44px;font-weight:700}.jp-license-activation-screen-success-info p{font-size:16px}.jp-license-activation-screen-success-info label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-success-info{padding:64px}}@media screen and (max-width:480px){.jp-license-activation-screen-success-info .jp-license-activation-screen-success-info--buttons{text-align:center}}.jp-license-activation-screen{border-radius:4px;box-shadow:0 4px 24px 0 #00000026;display:flex;flex-direction:column;min-height:540px;overflow:hidden}@media screen and (min-width:780px){.jp-license-activation-screen{flex-direction:row}}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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}.jp-contextualized-connection{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08);display:flex;flex-direction:column}.jp-contextualized-connection__content{align-items:center;display:flex;flex-direction:column;margin:auto;max-width:860px;padding:2rem;text-align:center;width:100%}@media(min-width:782px){.jp-contextualized-connection__content{padding:4rem}}.jp-contextualized-connection__content h2{font-size:36px;margin-bottom:1.5rem}.jp-contextualized-connection__content p{font-size:16px;margin-bottom:2rem}.jp-contextualized-connection__logo img{max-width:100%}.jp-contextualized-connection__tos{color:#787c82;font-size:14px;margin-top:2rem;max-width:400px}.jp-contextualized-connection__tos a{color:#787c82;font-weight:700;text-decoration:underline}.jp-contextualized-connection .jp-action-button--button.is-primary,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary{background-color:#000;justify-content:center}.jp-contextualized-connection .jp-action-button--button.is-primary:active:not(:disabled),.jp-contextualized-connection .jp-action-button--button.is-primary:hover:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:active:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:hover:not(:disabled){background:#2c3338;color:#fff}.jp-contextualized-connection .jp-action-button--button.is-primary:focus:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #000}.jp-contextualized-connection .jp-action-button--button.is-primary.disabled,.jp-contextualized-connection .jp-action-button--button.is-primary:disabled,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary.disabled,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:disabled{background:#dcdcde;pointer-events:none}.jp-contextualized-connection__footer{background-color:#f9f9f6;font-size:16px;padding:4rem;width:100%}.jp-contextualized-connection__footer-row{grid-gap:4rem;display:grid;grid-template-columns:auto}@media(min-width:782px){.jp-contextualized-connection__footer-row{grid-gap:3rem;grid-template-columns:repeat(3,1fr)}}.jp-contextualized-connection__footer-column h3{margin-top:0}.jp-contextualized-connection__footer-bottom-title{color:#000;font-size:20px;margin-top:4rem;text-align:center}.jp-contextualized-connection__feature-list{list-style-type:none;padding:0}.jp-contextualized-connection__feature-list li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:9px;padding-left:30px} \ No newline at end of file
+.jetpack-redeem-partner-coupon-post-connection{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jetpack-redeem-partner-coupon-post-connection .components-button{border-radius:4px;font-size:14px;font-weight:600;height:40px;justify-content:center}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__layout{display:grid;grid-template-areas:"content aside" "subcontent aside";grid-template-columns:auto 34%}}.jetpack-redeem-partner-coupon-post-connection__content{padding:32px 24px 24px}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__content{padding:48px 48px 0}}.jetpack-redeem-partner-coupon-post-connection__subcontent{padding:24px}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__subcontent{padding:0 48px 48px}}.jetpack-redeem-partner-coupon-post-connection__subcontent>p:first-child{margin-top:0}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__subcontent>p:first-child{margin-top:1em}}.jetpack-redeem-partner-coupon-post-connection__aside{align-items:center;background:#f9f9f6;background-position:50%;background-size:cover;display:flex;justify-content:center;padding:48px 0}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__aside{grid-area:aside;padding:0}}.jetpack-redeem-partner-coupon-post-connection__aside img{width:90px}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__aside img{width:auto}}.jetpack-redeem-partner-coupon-post-connection__logo{align-items:center;color:#000;display:flex;font-weight:700;justify-content:left}.jetpack-redeem-partner-coupon-post-connection__logo>*+*{margin-left:8px}@media(min-width:480px){.jetpack-redeem-partner-coupon-post-connection__logo>*+*{margin-left:16px}}.jetpack-redeem-partner-coupon-post-connection__heading{color:#000;font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:48px}.jetpack-redeem-partner-coupon-post-connection li,.jetpack-redeem-partner-coupon-post-connection p{color:#000;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jetpack-redeem-partner-coupon-post-connection ul{list-style-type:none;padding:0}.jetpack-redeem-partner-coupon-post-connection ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;margin-bottom:9px;padding-left:30px}.jetpack-redeem-partner-coupon-post-connection .jp-action-button button{width:100%}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection .jp-action-button button{width:auto}}.jetpack-redeem-partner-coupon-post-connection__actions{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;margin-top:32px}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__actions{justify-content:left}}@media(min-width:1080px){.jetpack-redeem-partner-coupon-post-connection__actions{flex-wrap:nowrap}}.jetpack-redeem-partner-coupon-post-connection__actions>div{flex:1 0 100%;text-align:center}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__actions>div{text-align:left}}@media(min-width:1080px){.jetpack-redeem-partner-coupon-post-connection__actions>div{flex:0 0 auto}}.jetpack-redeem-partner-coupon-post-connection__remind-me-later{background:transparent;border:0;color:#000;cursor:pointer;font-size:1rem;font-weight:600;margin:24px 0 0;padding:2px 0;text-decoration:underline}.jetpack-redeem-partner-coupon-post-connection__remind-me-later:hover{text-decoration:none}@media(min-width:1080px){.jetpack-redeem-partner-coupon-post-connection__remind-me-later{margin:0 0 0 24px}}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red)!important;line-height:25px!important;padding-left:25px}.jetpack-redeem-partner-coupon-pre-connection .components-button{border-radius:4px;font-size:14px;font-weight:600;height:40px;justify-content:center}.jetpack-redeem-partner-coupon-pre-connection--connected .jp-connection__connect-screen__tos{display:none!important}.jp-connection__connect-screen__loading{display:none}.jp-connection__connect-screen__tos{margin-top:28px;max-width:360px}.jp-connection__connect-screen .jp-action-button{margin-top:40px}.jp-connection__connect-screen .jp-action-button button{max-width:100%}.jp-connection__connect-screen .jp-action-button button:disabled{color:hsla(0,0%,100%,.4)}@media(max-width:782px){.jp-connection__connect-screen .jp-action-button button{max-width:none;width:100%}}.jp-connection__connect-screen__footer{margin-top:32px}.jp-connection__connect-screen-layout{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:#000;font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:#000;font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:#000;text-decoration-thickness:2px}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:#000}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:9px;padding-left:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.dops-button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:.875rem;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top}.dops-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.dops-button:disabled,.dops-button[disabled]{background:#fff;border-color:#eee;color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}.dops-button.is-compact{line-height:2;padding:0 10px}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{margin-top:-8px;top:4px}.dops-button.is-compact .gridicons-plus-small{margin-left:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-left:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-left:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}.dops-button.is-primary{background:#3582c4;border-color:#3582c4;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{background:#2271b1;border-color:#2271b1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;color:#66c6e4!important;cursor:default;text-shadow:none!important}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{border-color:#eee;color:#f4cdcd}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{height:24px;top:6px;width:24px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{background:#fff;color:#eee;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{height:18px;top:5px;width:18px}.dops-button.is-rna{font-weight:600;padding:.625rem 1.5rem;text-align:center;transition:all .15s ease-in-out}.dops-button.is-rna.disabled,.dops-button.is-rna:disabled{background:var(--jp-gray)!important;border-color:transparent!important;color:var(--jp-gray-20)!important;pointer-events:none}.dops-button.is-rna .gridicon{margin-inline-start:.25rem}.dops-button:not(.is-primary).is-rna{background-color:var(--jp-white);border-color:var(--jp-black);color:var(--jp-black)}.dops-button:not(.is-primary).is-rna:active,.dops-button:not(.is-primary).is-rna:hover{background:var(--jp-gray-0)}.dops-button:not(.is-primary).is-rna:focus{box-shadow:none;outline:solid 2px var(--jp-black);outline-offset:-1px}.dops-button.is-primary.is-rna{-webkit-font-smoothing:antialiased;background-color:var(--jp-black);border-color:var(--jp-black)}.dops-button.is-primary.is-rna:active,.dops-button.is-primary.is-rna:hover{background:var(--jp-gray-80);border-color:var(--jp-gray-80);color:var(--jp-white)}.dops-button.is-primary.is-rna:focus{box-shadow:none;outline:solid 1px var(--jp-black);outline-offset:1px}.dops-button-group .dops-button{border-left-width:0;border-radius:0}.dops-button-group .dops-button:focus{position:relative;z-index:z-index("button-group-parent",".button-group .button:focus")}.dops-button-group .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button-group .dops-button.is-scary:focus{box-shadow:inset 1px 0 0 #d94f4f,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-primary.is-scary:focus{box-shadow:inset 1px 0 0 #761919,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-scary:first-child:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button-group .dops-button:first-child{border-bottom-left-radius:4px;border-left-width:1px;border-top-left-radius:4px}.dops-button-group .dops-button:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}.dops-section-header .dops-button-group .dops-button{margin-right:0}.dops-count{border:1px solid #a2a2a2;border-radius:.75rem;color:#a2a2a2;display:inline-block;font-size:.6875rem;font-weight:600;line-height:.875rem;padding:.0625rem .375rem;text-align:center}.dops-select-dropdown{height:43px}.dops-select-dropdown.is-compact{height:28px}.dops-select-dropdown.is-disabled .dops-select-dropdown__header{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-select-dropdown__container{display:inline-block;max-width:100%;overflow:hidden;position:relative;width:auto}.dops-select-dropdown.is-open .dops-select-dropdown__container{z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container,.dops-accessible-focus .dops-select-dropdown__container:focus{box-shadow:0 0 0 2px #78dcfa;z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container .select-dropdown__header,.dops-accessible-focus .dops-select-dropdown__container:focus .select-dropdown__header{border-color:#0087be}.dops-accessible-focus .dops-select-dropdown__container:focus{border-color:#00aadc;border-radius:4px;box-shadow:0 0 0 2px #78dcfa;outline:0}.dops-select-dropdown__header{background-color:#fff;border:solid #d5d5d5;border-radius:4px;border-width:1px 1px 2px;box-sizing:content-box;color:#414141;cursor:pointer;font-size:14px;font-weight:600;height:18px;line-height:18px;padding:11px 44px 11px 16px;transition:background-color .2s ease}.dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:hsla(0,0%,64%,.5);content:"";display:inline-block;display:block;font:normal 16px/1 Dashicons;line-height:18px;position:absolute;right:13px;top:12px;vertical-align:middle}.is-compact .dops-select-dropdown__header:after{right:4px;top:4px}.is-compact .dops-select-dropdown__header{color:#888;font-size:11px;line-height:1;padding:7px;text-transform:uppercase}.is-compact .dops-select-dropdown__header .dops-count{border-width:0;line-height:1;margin-left:0}.dops-select-dropdown.is-open .dops-select-dropdown__header{background-color:#f6f6f6;border-radius:4px 4px 0 0;box-shadow:none}.dops-select-dropdown.is-open .dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"";display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-select-dropdown__header .dops-count{margin-left:8px}.dops-select-dropdown__header-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-select-dropdown__options{background-color:#fff;border:1px solid #d5d5d5;border-radius:0 0 4px 4px;box-sizing:border-box;height:0;list-style:none;margin:-2px 0 0;padding:0;visibility:hidden}.dops-accessible-focus .dops-select-dropdown__options{border:1px solid #0087be;border-top-color:#d5d5d5}.dops-select-dropdown.is-open .dops-select-dropdown__options{height:auto;visibility:visible}.dops-select-dropdown__option:last-child .dops-select-dropdown__item{border-radius:0 0 4px 4px}.dops-select-dropdown__item,.dops-select-dropdown__item-text{padding:11px 44px 11px 16px}.dops-select-dropdown__item{color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;line-height:18px;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}.dops-select-dropdown__item:before{content:attr(data-bold-text);font-weight:700;opacity:0}.dops-select-dropdown__item:visited{color:#414141}.dops-select-dropdown__item.is-selected{background-color:#3582c4;color:#fff}.dops-select-dropdown__item.is-disabled{background-color:#fff;color:#a2a2a2;cursor:default;opacity:.5}.notouch .dops-select-dropdown__item:hover{color:#3582c4}.notouch .dops-select-dropdown__item.is-selected:hover{color:#fff}.dops-select-dropdown__item-text{box-sizing:border-box;color:inherit;display:flex;flex-flow:row wrap;justify-content:space-between;left:0;padding-right:16px;position:absolute;text-overflow:ellipsis;top:0;white-space:nowrap;width:100%}.dops-select-dropdown__item-text .dops-count{border-color:inherit;color:inherit}.dops-select-dropdown__separator{border-top:1px solid #d5d5d5;display:block;margin:8px 0}.dops-select-dropdown__label{color:#bbb;display:block;line-height:20px;margin-top:5px}.dops-select-dropdown__label label{font-size:12px;padding:0 16px;text-transform:uppercase}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-search{align-items:center;display:flex;flex:1 1 auto;height:51px;margin-bottom:24px;position:relative;transition:all .15s ease-in-out;width:60px;z-index:22}.dops-search .dops-search__icon-navigation{align-items:center;background-color:#fff;border-radius:inherit;display:flex;flex:0 0 auto;height:100%}.dops-search .dops-search__close-icon,.dops-search .dops-search__open-icon{color:#0087be;cursor:pointer;flex:0 0 auto;width:50px;z-index:20}.accessible-focus .dops-search .dops-search__close-icon:focus,.accessible-focus .dops-search .dops-search__open-icon:focus{outline:1px dotted #0087be}.dops-search .dops-search__open-icon:hover{color:#555}.dops-search .dops-search__close-icon{color:#555;opacity:0;transition:opacity .2s ease-in}.accessible-focus .dops-search.has-focus{box-shadow:0 0 0 1px #0087be,0 0 0 4px #78dcfa}.dops-search.is-expanded-to-container{display:flex;height:100%;margin-bottom:0;overflow:hidden;position:absolute;right:0;top:0;width:50px}.dops-search.is-expanded-to-container .dops-search__input-fade{display:flex;flex:1 1 auto;position:relative}.dops-search.is-expanded-to-container .dops-search__input[type=search]{box-shadow:none;display:flex;flex:1 1 auto;margin:0}.dops-search__input[type=search]{appearance:none;-webkit-appearance:none;background:#fff;border:none;border-radius:inherit;box-sizing:border-box;display:none;flex:1 1 auto;height:100%;padding:0;top:0;z-index:10}.dops-search__input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.dops-search__input[type=search]:focus{border:none;box-shadow:none}.dops-search.is-open{width:100%}.dops-search.is-open .dops-search__open-icon{color:#555}.dops-search.is-open .dops-search__close-icon{display:inline-block}.dops-search.is-open .dops-search__close-icon,.dops-search.is-open .dops-search__input{opacity:1}.dops-search.is-open .dops-search__input{display:block}.dops-search.is-open .dops-search__input-fade{border-radius:inherit;flex:1 1 auto;font-size:16px;height:100%;position:relative}.dops-search.is-open .dops-search__input-fade.ltr:before,.dops-search.is-open .dops-search__input-fade:before{-webkit-touch-callout:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);border-radius:inherit;bottom:0;content:"";display:block;height:auto;left:auto;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;width:32px;z-index:12}.dops-search__input-fade .dops-search__text-overlay{align-items:center;color:transparent;display:flex;flex:1 1 auto;font:inherit;height:100%;left:0;overflow:hidden;pointer-events:none;position:absolute;top:0;white-space:nowrap;width:100%;z-index:11}.dops-search.is-searching .dops-search__open-icon{display:none}.animating.dops-search-opening .dops-search input{opacity:1}.dops-section-nav{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;margin:0 0 17px;padding:0;position:relative;width:100%}.dops-section-nav.is-empty .dops-section-nav__panel{visibility:hidden}@media(max-width:480px){.dops-section-nav.is-open{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}}@media(min-width:481px){.dops-section-nav.has-pinned-items{padding-right:60px}}@media(min-width:481px)and (max-width:660px){.dops-section-nav.has-pinned-items{padding-right:50px}}@media(max-width:660px){.dops-section-nav{margin-bottom:9px}}.dops-section-nav__mobile-header{color:#414141;cursor:pointer;display:flex;font-size:14px;font-weight:600;line-height:16px;padding:15px}.dops-section-nav__mobile-header:after{color:hsla(0,0%,64%,.5);content:"";line-height:16px}.dops-section-nav.is-open .dops-section-nav__mobile-header:after,.dops-section-nav__mobile-header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-section-nav.is-open .dops-section-nav__mobile-header:after{content:""}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header{padding-right:50px}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header:after{margin-left:8px}@media(min-width:481px){.dops-section-nav__mobile-header{display:none}}.dops-section-nav__mobile-header-text{flex:1 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:0}.dops-section-nav__mobile-header-text small{color:#a2a2a2;font-size:11px;font-weight:600;margin-left:5px;text-transform:uppercase}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header-text{flex:0 1 auto;width:auto}.dops-section-nav__panel{box-sizing:border-box;width:100%}@media(max-width:480px){.dops-section-nav.is-open .dops-section-nav__panel{background:linear-gradient(180deg,#f6f6f6 0,#fff 4px);border-top:1px solid #d5d5d5;padding-bottom:15px}}@media(min-width:481px){.dops-section-nav__panel{align-items:center;display:flex}.dops-section-nav__panel:first-child{flex:1 0 auto;width:0}}.dops-section-nav-group{border-top:1px solid #d5d5d5;margin-top:16px;padding-top:16px;position:relative}.dops-section-nav-group:first-child{border-top:none;padding-top:0}@media(max-width:480px){.dops-section-nav-group{display:none}.dops-section-nav.is-open .dops-section-nav-group{display:block}}@media(min-width:481px){.dops-section-nav-group{border-top:none;margin-top:0;padding-top:0}.dops-section-nav-group:first-child{display:flex;flex:1 0 auto;width:0}}.dops-section-nav__button{margin-top:24px;width:100%}.dops-section-nav__hr{background:#eee}.dops-section-nav-group__label{color:#a2a2a2;display:none;font-size:11px;font-weight:600;line-height:12px;margin-bottom:8px;padding:0 15px;text-transform:uppercase}@media(max-width:480px){.has-siblings .dops-section-nav-group__label{display:block}}.dops-section-nav-group__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-section-nav-tab .count{margin-left:8px}@media(min-width:481px){.dops-section-nav-tabs{flex:1 0 auto;width:0}.dops-section-nav-tabs.is-dropdown{flex:0 1 auto;margin:8px;position:relative;width:auto}}.dops-section-nav-tabs__list{list-style:none;margin:0}@media(min-width:481px){.dops-section-nav-tabs__list{display:flex;overflow:hidden;width:100%}.is-dropdown .dops-section-nav-tabs__list{display:none}}.dops-section-nav-tab{margin-bottom:0}@media(min-width:481px){.dops-section-nav-tab{border-bottom:2px solid transparent;border-top:none;flex:none;text-align:center;width:auto}.dops-section-nav-tab.is-selected{border-bottom-color:#414141}}.dops-section-nav-tab__link,.dops-section-nav-tab__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-section-nav-tab__link{align-items:center;box-sizing:border-box;color:#414141;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;line-height:18px;padding:15px;width:100%}.dops-section-nav-tab__link:visited{color:#414141}.dops-section-nav-tab__link[disabled],.notouch .dops-section-nav-tab__link[disabled]:hover{color:#eee;cursor:default}.is-selected .dops-section-nav-tab__link{background-color:#2271b1;color:#fff}.dops-section-nav-tab__link:focus{box-shadow:none;outline:none}.dops-accessible-focus .dops-section-nav-tab__link:focus{outline:1px solid #a2a2a2}.is-external .dops-section-nav-tab__link:after{font-size:18px;padding-left:2px}.dops-section-nav-tab__link:hover{color:#0a4b78}.notouch .dops-section-nav-tab__link:hover{color:#2271b1}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#fff}@media(min-width:481px){.dops-section-nav-tab__link{color:#2271b1;display:block;font-weight:400;padding:16px 16px 14px;width:auto}.dops-section-nav-tab__link:visited{color:#2271b1}.is-selected .dops-section-nav-tab__link{background-color:transparent;color:#414141}.is-selected .dops-section-nav-tab__link:after{display:none}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#414141}}.dops-section-nav-tab__update-badge{background-color:#d63638;border-radius:9px;box-sizing:border-box;color:#fff;display:inline-block;font-size:11px;height:18px;line-height:1.6;margin-block-start:2px;margin-top:-1px;min-width:18px;padding:0 5px;text-align:center;vertical-align:middle}.dops-section-nav-tab__update-badge.count-0{display:none}.dops-section-nav-tab__text{color:inherit;display:block;flex:1 0 auto;width:0}@media(min-width:481px){.dops-section-nav-tab__text{display:inline;flex:none;width:auto}}.dops-section-nav-tabs__dropdown{position:relative;width:100%;z-index:3}.dops-section-nav-tabs__dropdown.is-open{z-index:4}.dops-section-nav-tabs__dropdown .dops-select-dropdown__container{position:static}.dops-section-nav__segmented .dops-segmented-control{margin:0 15px}.dops-section-nav__segmented .dops-segmented-control__link{padding:3px 16px 5px}@media(max-width:480px){.dops-section-nav .dops-search.is-pinned{height:46px}}.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-right:48px}h2.dops-card-title{font-size:1.25rem}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;position:absolute;right:16px;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.dops-popover{font-size:11px;left:0;position:absolute;right:auto;top:0;z-index:1000}.dops-popover .dops-popover__inner{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);position:relative;text-align:center}.dops-popover .dops-popover__arrow{border:10px dashed #d5d5d5;height:0;line-height:0;position:absolute;width:0;z-index:1}.dops-popover.fade{transition:opacity .1s}.dops-popover.is-top .dops-popover__arrow,.dops-popover.is-top-left .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;bottom:0;left:50%;margin-left:-10px}.dops-popover.is-top .dops-popover__arrow:before,.dops-popover.is-top-left .dops-popover__arrow:before,.dops-popover.is-top-right .dops-popover__arrow:before{border:10px solid transparent;border-bottom:none;border-top-color:#fff;bottom:2px;content:" ";left:50%;margin-left:-10px;position:absolute}.dops-popover.is-bottom .dops-popover__arrow,.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-bottom-right .dops-popover__arrow{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;left:50%;margin-left:-10px;top:0}.dops-popover.is-bottom .dops-popover__arrow:before,.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-popover.is-bottom-right .dops-popover__arrow:before{border:10px solid transparent;border-bottom:10px solid #fff;border-top:none;content:" ";left:50%;margin-left:-10px;position:absolute;top:2px}.dops-popover.is-left .dops-popover__arrow,.dops-popover.is-left-bottom .dops-popover__arrow,.dops-popover.is-left-top .dops-popover__arrow{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent;margin-top:-10px;right:0;top:50%}.dops-popover.is-left .dops-popover__arrow:before,.dops-popover.is-left-bottom .dops-popover__arrow:before,.dops-popover.is-left-top .dops-popover__arrow:before{border:10px solid transparent;border-left:10px solid #fff;border-right:none;content:" ";margin-top:-10px;position:absolute;right:2px;top:50%}.dops-popover.is-right .dops-popover__arrow,.dops-popover.is-right-bottom .dops-popover__arrow,.dops-popover.is-right-top .dops-popover__arrow{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent;left:0;margin-top:-10px;top:50%}.dops-popover.is-right .dops-popover__arrow:before,.dops-popover.is-right-bottom .dops-popover__arrow:before,.dops-popover.is-right-top .dops-popover__arrow:before{border:10px solid transparent;border-left:none;border-right-color:#fff;content:" ";left:2px;margin-top:-10px;position:absolute;top:50%}.dops-popover.is-bottom-left,.dops-popover.is-bottom-right,.dops-popover.is-top-left,.dops-popover.is-top-right{padding-left:0;padding-right:0}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-top-left .dops-popover__arrow{left:auto;right:5px}.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow{left:15px}.dops-popover.is-top .dops-popover__inner,.dops-popover.is-top-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner{top:-10px}.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner{left:-10px}.dops-popover.is-bottom .dops-popover__inner,.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-bottom-right .dops-popover__inner{top:10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-right .dops-popover__inner,.dops-popover.is-top-left .dops-popover__inner{left:10px}.dops-popover.is-dialog-visible{z-index:100300}.dops-popover__menu{display:flex;flex-direction:column;min-width:200px}.dops-popover__menu-item{background:inherit;border:none;border-radius:0;color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;position:relative;text-align:left;transition:all .05s ease-in-out}.dops-popover__menu-item:first-child{margin-top:5px}.dops-popover__menu-item:focus,.dops-popover__menu-item:hover{background-color:#3582c4;border:0;box-shadow:none;color:#fff}.dops-popover__menu-item:focus .gridicon,.dops-popover__menu-item:hover .gridicon{color:#fff}.dops-popover__menu-item[disabled]:focus,.dops-popover__menu-item[disabled]:hover{background:transparent;cursor:default}.dops-popover__menu-item:last-child{margin-bottom:5px}.dops-popover__menu-item::-moz-focus-inner{border:0}.dops-popover__menu-item.has-icon{padding-left:42px}.dops-popover__menu-item .gridicon{color:#bbb;margin-right:8px;vertical-align:bottom}.dops-popover__hr{background:#eee;margin:8px 0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;left:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-left:12px}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{left:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{left:8px}.dops-section-header.dops-card{display:flex;flex-wrap:wrap;max-width:100%;padding-bottom:.6875rem;padding-top:.6875rem;position:relative}.dops-section-header.dops-card:after{content:""}.dops-section-header__label{align-items:center;color:#414141;display:flex;flex-grow:1;font-size:.875rem;line-height:1.75rem;min-width:0;position:relative}.dops-section-header__label .dops-count{margin-left:.5rem}.dops-section-header__label-text{margin-right:.5rem;min-width:0;overflow:hidden;padding-right:.5rem;position:relative;white-space:nowrap;width:100%}.dops-section-header__label-text:before{-webkit-touch-callout:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:auto;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;width:8px}.has-card-badge .dops-section-header__label-text{width:auto}.dops-section-header__actions{flex-grow:0;position:relative}.dops-section-header__actions:after{clear:both;content:".";display:block;height:0;visibility:hidden}.section-header__actions .button{float:left;margin-right:.5rem}.section-header__actions .button:last-child{margin-right:0}.dops-notice{animation:appear .3s ease-in-out;background:#414141;border-radius:3px;box-sizing:border-box;color:#fff;display:flex;line-height:1.5;margin-bottom:24px;position:relative;width:100%}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#3582c4}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{align-items:baseline;align-self:stretch;background:#747474;border-radius:3px 0 0 3px;color:#fff;display:flex;flex-shrink:0;justify-content:center;width:47px}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media(min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content.dops-notice__content{flex-grow:1;font-size:12px;padding:13px}@media(min-width:481px){.dops-notice__content.dops-notice__content{font-size:14px}}.dops-notice__content.dops-notice__content a{color:#fff;text-decoration:underline}.dops-notice__content.dops-notice__content a:hover,.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{color:#fff;text-decoration:underline}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-left:0}.dops-notice__text li{margin-left:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-left:.428em}.dops-notice__dismiss{cursor:pointer;flex-shrink:0;padding:12px 12px 0}.dops-notice__dismiss .gridicon{height:18px;width:18px}@media(min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{height:24px;width:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{align-items:center;color:#bbb;cursor:pointer;display:flex;font-size:12px;font-weight:400;padding:13px;text-decoration:none;white-space:nowrap}@media(min-width:481px){a.dops-notice__action{align-items:center;border-radius:0;flex-grow:0;flex-shrink:1;font-size:14px;margin:0 0 0 auto;padding:13px 16px}a.dops-notice__action .gridicon{height:24px;width:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{height:18px;margin-left:8px;opacity:.7;width:18px}.dops-notice.is-compact{border-radius:3px;display:inline-flex;flex-direction:row;flex-wrap:nowrap;line-height:1.5;margin:0;min-height:20px;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;width:auto}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{height:18px;margin:0;width:18px}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{align-self:center;flex:none;margin:0 8px 0 0;padding:0;position:relative}.dops-notice.is-compact .dops-notice__dismiss .gridicon{height:18px;width:18px}.dops-notice.is-compact a.dops-notice__action{align-self:center;background:transparent;display:inline-block;font-size:12px;margin:0 0 0 16px;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{height:14px;margin-left:8px;opacity:1;vertical-align:sub;width:14px}.dops-plan-icon{background-repeat:no-repeat;height:inherit;width:inherit}.dops-plan-icon__free .dops-plan-icon__free-0{fill:#78dcfa}.dops-plan-icon__free .dops-plan-icon__free-1{fill:#fff}.dops-plan-icon__free .dops-plan-icon__free-2{fill:#006a95}.dops-plan-icon__free .dops-plan-icon__free-3{fill:#0087be}.dops-plan-icon__free .dops-plan-icon__free-4{fill:#00a4e7}.dops-plan-icon__personal .dops-plan-icon__personal-0{fill:#f0b849}.dops-plan-icon__personal .dops-plan-icon__personal-1{fill:#a2a2a2}.dops-plan-icon__personal .dops-plan-icon__personal-2{fill:#d5d5d5}.dops-plan-icon__personal .dops-plan-icon__personal-3{fill:#fff}.dops-plan-icon__personal .dops-plan-icon__personal-4{fill:#888}.dops-plan-icon__personal .dops-plan-icon__personal-5{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-0{fill:#4ab866}.dops-plan-icon__premium .dops-plan-icon__premium-1{fill:#a2a2a2}.dops-plan-icon__premium .dops-plan-icon__premium-2{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-3{fill:#fff}.dops-plan-icon__premium .dops-plan-icon__premium-4{fill:#d5d5d5}.dops-plan-icon__premium .dops-plan-icon__premium-5{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-6{fill:#555}.dops-plan-icon__business .dops-plan-icon__business-0{fill:#855da6}.dops-plan-icon__business .dops-plan-icon__business-1{fill:#fff}.dops-plan-icon__business .dops-plan-icon__business-2{fill:#eee}.dops-plan-icon__business .dops-plan-icon__business-3{fill:#0087be}.dops-plan-icon__business .dops-plan-icon__business-4{fill:#005082}.dops-banner.dops-card{border-left:3px solid #0087be;display:flex;padding:12px 6px 12px 12px;position:relative;z-index:2}.dops-banner.dops-card.is-card-link{padding:12px 48px 12px 16px}.dops-banner.dops-card.is-dismissible{padding-right:48px}.dops-banner.dops-card .dops-banner__icon{color:#0087be}.dops-banner.dops-card .dops-banner__icon-circle{background-color:#0087be}.dops-banner.dops-card.is-jetpack-info{border-left-color:#069e08}.dops-banner.dops-card.is-jetpack-info .dops-banner__icon{color:#069e08}.dops-banner.dops-card.is-jetpack-info .dops-banner__icon-circle{background-color:#069e08}.dops-banner.dops-card.is-product{border-left-color:#3895ba}.dops-banner.dops-card.is-product .dops-banner__icon{color:#3895ba}.dops-banner.dops-card.is-product .dops-banner__icon-circle{background-color:#3895ba}.dops-banner.dops-card.is-plan{border-left-color:#069e08}.dops-banner.dops-card.is-plan .dops-banner__icon{color:#069e08}.dops-banner.dops-card.is-plan .dops-banner__icon-circle{background-color:#069e08}.dops-banner.dops-card.is-plan.is-upgrade-personal{border-left-color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-personal .dops-banner__icon{color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-personal .dops-banner__icon-circle{background-color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-premium{border-left-color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-premium .dops-banner__icon{color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-premium .dops-banner__icon-circle{background-color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-business{border-left-color:#855da6}.dops-banner.dops-card.is-plan.is-upgrade-business .dops-banner__icon{color:#855da6}.dops-banner.dops-card.is-plan.is-upgrade-business .dops-banner__icon-circle{background-color:#855da6}.dops-banner.dops-card.is-plan.is-bundle{border-left-color:#984a9c}.dops-banner.dops-card.is-plan.is-bundle .dops-banner__icon{color:#984a9c}.dops-banner.dops-card.is-plan.is-bundle .dops-banner__icon-circle{background-color:#984a9c}.dops-banner.dops-card .dops-card__link-indicator{align-items:center;color:#0087be;display:flex}.dops-banner.dops-card:hover{transition:all .1s ease-in-out}.dops-banner.dops-card:hover.is-card-link{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}.dops-banner.dops-card:hover .dops-card__link-indicator{color:#005082}@media(min-width:481px){.dops-banner.dops-card{padding:12px 16px}.dops-banner.dops-card.is-dismissible{padding-right:16px}}.dops-banner__icons{display:flex}.dops-banner__icons .dops-banner__icon,.dops-banner__icons .dops-banner__icon-circle{border-radius:50%;flex-shrink:0;height:24px;margin-right:16px;margin-top:-2px;text-align:center;top:4px;width:24px}.dops-banner__icons .dops-banner__icon{align-self:center;color:#fff;display:block}.dops-banner__icons .dops-banner__icon-circle{color:#fff;display:none;padding:3px 4px 4px 3px}.dops-banner__icons .dops-banner__icon-circle-svg{transform:translate(1px,1px)}@media(min-width:481px){.dops-banner__icons{align-items:center}.dops-banner__icons .dops-banner__icon{display:none}.dops-banner__icons .dops-banner__icon-circle{display:block}}.dops-banner__icon-plan{display:flex;margin-right:16px}.dops-banner__icon-plan .dops-plan-icon{height:32px;width:32px}@media(min-width:481px){.dops-banner__icon-plan{align-items:center}}.dops-banner__content{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap}@media(min-width:481px){.dops-banner__content{flex-wrap:nowrap}}.dops-banner__info{flex-grow:1;line-height:1.4;width:100%}.dops-banner__info .dops-banner__description,.dops-banner__info .dops-banner__list,.dops-banner__info .dops-banner__title{color:#414141}.dops-banner__info .dops-banner__title{font-size:.875rem;font-weight:500}.dops-banner__info .dops-banner__description{font-size:.75rem;margin-top:3px}.dops-banner__info .dops-banner__list{font-size:.75rem;list-style:none;margin:0}.dops-banner__info .dops-banner__list li{margin:6px 0}.dops-banner__info .dops-banner__list li .gridicon{color:#a2a2a2;display:none}@media(min-width:481px){.dops-banner__info{width:auto}.dops-banner__info .dops-banner__list li .gridicon{display:inline;margin-right:12px;vertical-align:bottom}}.dops-banner__action{align-self:center;font-size:.75rem;margin:8px 0 0;text-align:left;width:100%}.dops-banner__action .dops-banner__prices{display:flex;justify-content:flex-start}.dops-banner__action .dops-banner__prices .dops-plan-price{margin-bottom:0}.dops-banner__action .dops-banner__prices .dops-plan-price.is-discounted,.dops-banner__action .dops-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol{color:#414141}.has-call-to-action .dops-banner__action .dops-banner__prices .dops-plan-price{margin-bottom:8px}@media(min-width:481px){.dops-banner__action{margin:0 4px 0 8px;text-align:center;width:auto}.is-dismissible .dops-banner__action{margin-top:40px}.dops-banner__action .dops-banner__prices{justify-content:flex-end;text-align:right}}.module-overridden-banner.dops-banner.is-compact{margin-bottom:0}.module-overridden-banner.dops-banner .dops-banner__description a{text-decoration:underline}.dops-info-popover-button{background:transparent;border:none;color:#888;padding:0}.dops-info-popover-button:hover{color:#414141}.dops-info-popover-button:focus{box-shadow:none}.dops-accessible-focus .dops-info-popover-button:focus{outline:thin dotted}.dops-info-popover .gridicon{color:#c8c8c8;cursor:pointer}.dops-info-popover .gridicon:hover,.dops-info-popover.is_active .gridicon{color:#414141}.dops-popover.dops-info-popover__tooltip .dops-popover__inner{color:#6f6f6f;font-size:13px;max-width:220px;padding:16px;text-align:left}.jp-support-info{position:absolute;right:1.5625rem;top:1.6875rem;z-index:1}@media(max-width:480px){.jp-support-info{right:1rem;top:1.25rem}}.jp-form-fieldset .jp-support-info{top:4px}.jp-support-info .dops-info-popover{white-space:nowrap}.dops-popover .jp-support-info__privacy{border-top:1px solid hsla(0,0%,64%,.5);display:block;margin-top:.875rem;padding-top:.75rem}.dops-text-input.dops-text-input{background-color:#fff;border:1px solid #d5d5d5;box-shadow:none;box-sizing:border-box;color:#414141;font-size:16px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}.dops-text-input.dops-text-input::placeholder{color:#a2a2a2}.dops-text-input.dops-text-input:hover{border-color:#bbb}.dops-text-input.dops-text-input:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.dops-text-input.dops-text-input:focus::-ms-clear{display:none}.dops-text-input.dops-text-input:disabled{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-text-input.dops-text-input:disabled:hover{cursor:default}.dops-text-input.dops-text-input:disabled::placeholder{color:#bbb}.dops-text-input.dops-text-input{-webkit-appearance:none}.dops-text-input.dops-text-input.is-valid{border-color:#4ab866}.dops-text-input.dops-text-input.is-valid:hover{border-color:#3a9551}.dops-text-input.dops-text-input.is-error{border-color:#d94f4f}.dops-text-input.dops-text-input.is-error:hover{border-color:#c92c2c}.dops-text-input.dops-text-input:focus.is-valid{box-shadow:0 0 0 2px #caead2}.dops-text-input.dops-text-input:focus.is-valid:hover{box-shadow:0 0 0 2px #a6dcb3}.dops-text-input.dops-text-input:focus.is-error{box-shadow:0 0 0 2px #f9e2e2}.dops-text-input.dops-text-input:focus.is-error:hover{box-shadow:0 0 0 2px #f0b8b8}.jp-form-settings-group .jp-toggle-set{position:relative}.jp-form-settings-group .jp-toggle-set .jp-support-info{right:-1.25rem;top:.3125rem}@media(max-width:480px){.jp-form-settings-group .jp-toggle-set .jp-support-info{right:-2rem;top:.3125rem}}.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-left:1.25rem;text-align:left;width:100%}.jp-connection__disconnect-card{background-color:#fff;border:none;border-radius:3px;box-shadow:0 0 15px #e2e2df;margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:left;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-right:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:right}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-right:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:1rem;margin-right:0}}.jp-connection__disconnect-dialog h1{font-size:24px;font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:24px;font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:16px;margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:#000;text-decoration-thickness:2px}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:#000}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:#f9f9f6;border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:#fff;border-top:1px solid #dcdcde;bottom:0;padding:2rem 0;position:-webkit-sticky;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(180deg,transparent,#f9f9f6);bottom:calc(100% + 1px);content:"";display:block;height:80px;left:0;position:absolute;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:#000!important;margin-right:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:#d63639!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:#000!important}.jp-connection__disconnect-dialog__button-wrap{text-align:left}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:#d63639}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:36px}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-left:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px #dcdcde;display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:#dcdcde;background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;left:24px;position:absolute;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:#d63639;border-radius:50px;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px #e2e2df;margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:left;width:800px}.jp-connect__disconnect-survey-card--selected{background:#e2e2df;border-color:#000}.jp-connect__disconnect-survey-card:after{border-right:2px solid #000;border-top:2px solid #000;content:"";display:block;height:5px;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%) rotate(45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:#2c3338}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:#2c3338;flex-grow:1;max-width:calc(100% - 40px);padding-right:40px}.jp-connect-user-bar__card{align-items:center;background:#f3f5f6;border-top:1px solid #ccd0d4;display:flex;justify-content:space-between;padding:8px 24px}.jp-connect-user-bar__card .jp-connect-user-bar__text{color:#414141;font-size:13px;font-weight:500;height:16px;line-height:16px}.jp-connect-user-bar__card .jp-connect-user-bar__button{order:3}.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled]{background:#f3f5f6;border:1px solid #0071a1;border-radius:3px;box-sizing:border-box;color:#0071a1;float:right;font-size:13px;font-weight:600;line-height:16px;text-align:center;white-space:nowrap}.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled[disabled],.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled],.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled]:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled][disabled]{background:#f3f5f6!important;color:#0071a1!important}.progress-bar{background-color:#c3c4c7;border-radius:4.5px;display:inline-block;height:9px;position:relative;width:100%}.progress-bar.is-compact{height:4px}.progress-bar__progress{background-color:#2271b1;border-radius:4.5px;display:inline-block;height:100%;left:0;position:absolute;top:0;transition:width .2s}@media(prefers-reduced-motion:reduce){.progress-bar__progress{transition:none}}.progress-bar.is-pulsing .progress-bar__progress{-webkit-animation:progress-bar-animation 3.3s linear infinite;animation:progress-bar-animation 3.3s linear infinite;background-image:linear-gradient(-45deg,#2271b1 28%,#5198d9 0,#5198d9 72%,#2271b1 0);background-size:50px 100%}@media(prefers-reduced-motion:reduce){.progress-bar.is-pulsing .progress-bar__progress{-webkit-animation:none;animation:none}}@-webkit-keyframes progress-bar-animation{0%{background-position:100px 0}}@keyframes progress-bar-animation{0%{background-position:100px 0}}.percentage-bar{border-radius:0;height:8px;width:150px}.percentage-bar .progress-bar__progress{border-radius:0}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important}.screen-reader-text:active,.screen-reader-text:focus,.screen-reader-text:hover{clip:auto!important;background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:z-index("screen-reader-text-parent",".screen-reader-text:focus")}.dops-foldable-card.dops-card{padding:0;position:relative;transition:margin .15s linear}.dops-foldable-card.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-foldable-card.dops-card.is-expanded{margin-bottom:8px}.dops-foldable-card.dops-card .is-clickable{cursor:pointer}.dops-foldable-card__header{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;min-height:64px;padding:16px;position:relative;width:100%}.dops-foldable-card__header.has-border .dops-foldable-card__summary,.dops-foldable-card__header.has-border .dops-foldable-card__summary_expanded{margin-right:48px}.dops-foldable-card__header.has-border .dops-foldable-card__expand{border-left:1px solid #f6f6f6}.dops-foldable-card.is-compact .dops-foldable-card__header{min-height:40px;padding:8px 16px}.dops-foldable-card.is-expanded .dops-foldable-card__header{height:inherit;margin-bottom:0;min-height:64px}.dops-foldable-card.is-expanded.is-compact .dops-foldable-card__header{min-height:40px}.dops-foldable-card.is-disabled .dops-foldable-card__header{opacity:.2}.dops-foldable-card__action{background:none;border:0;height:100%;position:absolute;right:0;top:0}.dops-foldable-card.is-expanded .dops-foldable-card__action{height:100%}.dops-foldable-card.is-disabled .dops-foldable-card__action{cursor:default}.dops-accessible-focus .dops-foldable-card__action:focus{outline:thin dotted}button.dops-foldable-card__action{cursor:pointer;outline:0}.dops-foldable-card__main{align-items:center;display:block;margin-right:5px;max-width:calc(100% - 36px);width:100%}@media(max-width:480px){.dops-foldable-card__main{flex:1 1}}.dops-foldable-card__secondary{align-items:center;display:flex;flex:1 1;justify-content:flex-end}.dops-foldable-card__expand{width:48px}.dops-foldable-card__expand .gridicon{fill:#a2a2a2;align-items:center;display:flex;transition:transform .15s cubic-bezier(.175,.885,.32,1.275),color .2s ease-in;vertical-align:middle;width:100%}.dops-foldable-card.is-expanded .dops-foldable-card__expand .gridicon{transform:rotate(180deg)}.dops-foldable-card__expand .gridicon:hover{fill:#a2a2a2}.dops-foldable-card__expand:focus .gridicon,.dops-foldable-card__expand:hover .gridicon{fill:#3582c4}.dops-foldable-card__header-text{font-size:1.125rem;width:100%}.dops-foldable-card__subheader{color:#6f6f6f;font-size:.875rem;margin-bottom:.125rem;margin-top:.125rem}.dops-foldable-card__content{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__content{border-top:1px solid #f6f6f6;display:block;padding:16px}.dops-foldable-card.is-compact .dops-foldable-card.is-expanded .dops-foldable-card__content{padding:8px}.dops-foldable-card.is-expanded .dops-foldable-card__content p:first-child{margin-top:0}.dops-foldable-card.is-expanded .dops-foldable-card__content p:last-child{margin-bottom:0}.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{color:#a2a2a2;display:inline-block;font-size:12px;margin-right:40px;transition:opacity .2s linear}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{flex:2;text-align:right;transition:none}@media(max-width:480px){.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{display:none}}.dops-foldable-card__summary{display:inline-block;opacity:1}.dops-foldable-card.is-expanded .dops-foldable-card__summary,.dops-foldable-card__summary_expanded,.has-expanded-summary .dops-foldable-card.is-expanded .dops-foldable-card__summary{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__summary_expanded{display:inline-block}.form-input-validation{animation:appear .3s ease-in-out;border-radius:1px;box-sizing:border-box;color:#4ab866;font-size:14px;padding:6px 24px 11px 34px;position:relative}.form-input-validation.is-error{color:#d94f4f}.form-input-validation.is-warning{color:#f0b849}.form-input-validation .gridicon{float:left;margin-left:-34px}.dops-textarea{background-color:#fff;border:1px solid #d5d5d5;box-shadow:none;box-sizing:border-box;color:#414141;font-size:1rem;line-height:1.5;margin:0;min-height:5.75rem;padding:.4375rem .875rem;transition:all .15s ease-in-out;width:100%}.dops-textarea::placeholder{color:#a2a2a2}.dops-textarea:hover{border-color:#bbb}.dops-textarea:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.dops-textarea:focus::-ms-clear{display:none}.dops-textarea:disabled{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-textarea:disabled:hover{cursor:default}.dops-textarea:disabled::placeholder{color:#bbb}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-right:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-right:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-left:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 2px -4px 0;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.twitter-preview__container .twitter-preview__footer svg{fill:#787c82;height:16px;width:16px}.dops-clipboard-button-input{display:block;position:relative}.dops-clipboard-button-input .dops-clipboard-button{overflow:visible;position:absolute;right:4px;top:50%;transform:translateY(-50%)}.dops-clipboard-button-input .dops-clipboard-button:not(:disabled):before{-webkit-touch-callout:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:auto;pointer-events:none;position:absolute;right:0;right:calc(100% + 1px);top:0;-webkit-user-select:none;user-select:none;width:16px}.dops-clipboard-button-input .dops-clipboard-button:focus:before{right:calc(100% + 3px)}.jp-recommendations-discount-badge{background-color:#f2cf75;border-radius:4px;color:#101517;font-size:.875rem;font-weight:700;line-height:1;padding:.375rem .75rem;text-align:center}.jp-recommendations-discount-card{align-items:flex-start;display:flex;height:100%;justify-content:center;padding:3rem 0}@media(max-width:782px){.jp-recommendations-discount-card{justify-content:center;padding-inline-end:1rem;padding-inline-start:1rem}}@media(min-width:1041px){.jp-recommendations-discount-card{justify-content:flex-end;padding-left:3rem;padding-right:3rem}}.jp-recommendations-discount-card__container{max-width:360px;width:100%}.jp-recommendations-discount-card__card{background-color:#fff;border-radius:.5rem;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-recommendations-discount-card__card-header{align-items:flex-start;background-color:#120b15;background-image:url(images/header-background-c0f56cae4d269449fbdc.jpg);background-image:-webkit-image-set(url(images/header-background-c0f56cae4d269449fbdc.jpg) 1x,url(images/header-background-2x-1763392f68916f8e33e1.jpg) 2x);background-image:image-set(url(images/header-background-c0f56cae4d269449fbdc.jpg) 1x,url(images/header-background-2x-1763392f68916f8e33e1.jpg) 2x);background-position:50%;background-repeat:no-repeat;background-size:cover;border-top-left-radius:inherit;border-top-right-radius:inherit;display:flex;height:112px;justify-content:space-between;padding:1rem}.jp-recommendations-discount-card__header-icon{width:55px}.jp-recommendations-discount-card__card-body{display:flex;flex-direction:column;padding:1.5rem 2rem 2rem}.jp-recommendations-discount-card__heading{margin:0}.jp-recommendations-discount-card__feature-list{list-style-type:none;margin:1.5rem 0;padding:0}.jp-recommendations-discount-card__feature-list li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:.5rem;padding-inline-start:2.25rem}.jp-recommendations-discount-card__button{align-items:center;align-self:center;display:flex;font-size:1rem;margin-top:.25rem}.jp-recommendations-discount-card__button .components-external-link__icon{margin-left:4px}.jp-recommendations-discount-card__timer{color:#50575e;font-size:.875rem;padding:1.25rem .5rem .5rem;text-align:center}.jp-recommendations-discount-card__time{display:inline-block;font-size:18px;margin-inline-start:.5rem;text-align:left;white-space:nowrap;width:8rem}.jp-recommendations-question__content{display:flex;flex-direction:column}@media(min-width:661px){.jp-recommendations-question__main--with-sidebar .jp-recommendations-question__content{padding-right:48px}}.jp-recommendations-question__progress-bar .progress-bar{width:70px}.jp-recommendations-question__progress-bar-wrap{align-items:center;display:flex;margin:32px 32px 0}@media(max-width:480px){.jp-recommendations-question__progress-bar-wrap{margin:16px 16px 32px}}.jp-recommendations-question__progress-bar-wrap .jp-recommendations__new-badge{margin-right:1rem}.jp-recommendations-question__question{color:var(--jp-gray-80);font-size:1.5rem;margin:40px 40px 0}@media(max-width:480px){.jp-recommendations-question__question{margin:0 16px 32px}}.jp-recommendations-question__description{color:var(--jp-gray-100);font-size:16px;margin:32px 32px 32px 40px}@media(max-width:480px){.jp-recommendations-question__description{margin:0 16px 16px}}.jp-recommendations-question__description .gridicons-external{margin-left:.25rem}.jp-recommendations-question__description a{white-space:nowrap}.jp-recommendations-question__description-list{color:var(--jp-gray-100);font-size:16px;list-style:disc;margin:0 32px;padding-left:16px}@media(max-width:480px){.jp-recommendations-question__description-list{margin:0 16px}}.jp-recommendations-question__main--with-sidebar .jp-recommendations-question__description{margin-right:0}@media(max-width:782px){.jp-recommendations-question__main--with-sidebar .jp-recommendations-question__description{margin-right:32px}}.jp-recommendations-question__answer{display:flex;flex-direction:column;height:100%}.jp-recommendations-question__illustration-container{align-items:center;display:flex;height:100%;justify-content:center;width:100%}@media(max-width:1040px){.jp-recommendations-question__illustration-container{display:none}}.jp-recommendations-question__illustration-picture{display:flex;justify-content:center;width:100%}.jp-recommendations-question__sidebar-card{width:100%}.jp-recommendations-question__illustration{flex:1;max-width:420px}.jp-recommendations-question__checkmark{align-content:center;align-items:center;display:flex;margin-right:8px}.jp-recommendations-question__feature-enabled{align-content:center;align-items:center;display:flex;margin-bottom:16px}.jp-recommendations-question__feature-enabled .gridicons-checkmark-circle{fill:#069e08}.jp-recommendations-question__settings-button .components-external-link{align-items:center;display:flex}.jp-recommendations-question__settings-button .components-external-link__icon{margin-left:4px}.jp-recommendations-question__install-section{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center}.jp-recommendations-question__install-section button{margin-bottom:16px;margin-top:auto;min-width:172px}.jp-recommendations-question__install-section a{margin-bottom:32px}.jp-recommendations-question__install-section a.dops-button{margin-bottom:16px;text-align:center}@media(max-width:480px){.jp-recommendations-question__install-section a.dops-button{width:100%}.jp-recommendations-question__install-section{padding:64px 16px 0}}.jp-recommendations-question__jump-nav{display:flex;justify-content:center}.jp-recommendations-question__jump-nav-separator{margin:0 8px}.jp-loading-icon{height:100%;width:100%}.jetpack-money-back-guarantee,.jp-loading-icon{align-items:center;display:flex;justify-content:center}.jetpack-money-back-guarantee{color:#1d2327;font-size:.875rem;line-height:1.5}.jetpack-money-back-guarantee__icon svg{display:block;height:23px;width:23px}.jetpack-money-back-guarantee__text{margin-left:8px}.jp-recommendations-recommended-header{align-items:center;background:#f3f3ea;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#000;display:flex;font-weight:700;padding:.5rem}.jp-recommendations-recommended-header .gridicon{margin-inline-end:.5rem}.jp-recommendations-product-card-upsell{background-color:#fff;border:1px solid #dcdcde;border-radius:.5rem;padding:3.25rem 2rem 2rem;position:relative}@media(max-width:480px){.jp-recommendations-product-card-upsell{padding:1rem}.jp-recommendations-product-card-upsell.with-header{padding-top:3rem}}.jp-recommendations-product-card-upsell__header{left:0;position:absolute;right:0;top:0}.jp-recommendations-product-card-upsell__heading{color:#101517;font-size:2rem;font-weight:700;margin:0}.jp-recommendations-product-card-upsell__description{font-size:.875rem;margin-bottom:1.5rem}.jp-recommendations-product-card-upsell__features{min-height:7.5rem}.jp-recommendations-product-card-upsell__price{display:flex;flex-wrap:wrap}.jp-recommendations-product-card-upsell__final-price,.jp-recommendations-product-card-upsell__raw-price{display:flex;margin:0}.jp-recommendations-product-card-upsell__raw-price{color:#a7aaad;margin-inline-end:.75rem;position:relative}.jp-recommendations-product-card-upsell__raw-price:before{background-color:#c9356e;content:"";display:block;height:3px;position:absolute;top:50%;width:100%}.jp-recommendations-product-card-upsell__final-price{color:#101517;margin-inline-end:1rem}.jp-recommendations-product-card-upsell__currency-symbol{font-size:1.5rem;margin-top:-.25rem}.jp-recommendations-product-card-upsell__price-integer{font-size:3.375rem;font-weight:700;line-height:.7}.jp-recommendations-product-card-upsell__price-fraction{font-size:.75rem;margin-top:-.25rem}.jp-recommendations-product-card-upsell__discount{align-self:flex-end;margin-top:1rem}.jp-recommendations-product-card-upsell__billing-time-frame{color:#787c82;margin-top:.5rem}.jp-recommendations-product-card-upsell__cta-button{font-size:1rem;margin-top:2rem;padding-inline-end:4rem!important;padding-inline-start:4rem!important}.jp-recommendations-product-card-upsell__cta-button .gridicons-external{margin-left:.25rem}.jp-recommendations-back-btn{fill:currentColor;align-items:center;background-color:transparent;border:none;color:var(--jp-gray-70);cursor:pointer;display:flex;font-size:1rem;padding:0}.jp-recommendations-back-btn:active .gridicon,.jp-recommendations-back-btn:hover .gridicon{transform:translateX(-.25rem)}.jp-recommendations-back-btn:focus-visible{outline-color:var(--jp-black);outline-offset:2px}.jp-recommendations-back-btn .gridicon{margin-inline-end:.25rem;transition:transform .1s ease-in-out}.jp-recommendations-product-suggestion__header{padding:2rem 2.5rem 1.5rem}@media(max-width:782px){.jp-recommendations-product-suggestion__header{padding-left:1rem;padding-right:1rem}}.jp-recommendations-product-suggestion__container{padding:0 2.5rem}@media(max-width:782px){.jp-recommendations-product-suggestion__container{padding-left:1rem;padding-right:1rem}}.jp-recommendations-product-suggestion__items{display:grid;gap:2rem;grid-template-columns:1fr 1fr}@media(max-width:782px){.jp-recommendations-product-suggestion__items{display:block;margin:0 auto;max-width:360px}.jp-recommendations-product-suggestion__item{margin-bottom:2rem}.jp-recommendations-product-suggestion__item:last-child{margin-bottom:0}}.jp-recommendations-product-suggestion__item .jp-recommendations-product-card-upsell,.jp-recommendations-product-suggestion__item .jp-recommendations-product-card-upsell__padding{height:100%}.jp-recommendations-product-suggestion__money-back-guarantee{margin:1.25rem 0 1.5rem}.jp-recommendations-product-suggestion__footer{align-items:center;background:var(--jp-white-off);color:var(--jp-gray-30);display:flex;font-size:.875rem;gap:2rem;justify-content:space-between;min-height:3.125rem;padding:1rem 2.5rem}@media(max-width:782px){.jp-recommendations-product-suggestion__footer{flex-direction:column;justify-content:flex-start;padding-left:1rem;padding-right:1rem;text-align:center}}.jp-recommendations-product-suggestion__timer{color:var(--jp-gray-60)}@media(max-width:782px){.jp-recommendations-product-suggestion__timer{flex-direction:column;justify-content:flex-start}}.jp-recommendations-product-suggestion__time{display:inline-block;font-size:1.125rem;margin-inline-start:.5rem;width:140px}.jp-recommendations-product-purchased{display:flex;flex-direction:column;height:100%;margin:0 16px 32px}@media(min-width:481px){.jp-recommendations-product-purchased{margin-left:32px;margin-right:32px}}.jp-recommendations-product-purchased__features{margin:0 0 32px}.jp-recommendations-product-purchased__feature{align-items:center;display:flex}.jp-recommendations-product-purchased svg{fill:#069e08;margin-right:10px}.jp-recommendations-product-purchased__next{align-self:center}@media(min-width:481px){.jp-recommendations-product-purchased__next{margin-top:auto}}.jp-recommendations-product-purchased__illustration{justify-self:flex-end;max-width:100%}.jp-checkbox-answer__container{position:relative}@media(max-width:480px){.jp-checkbox-answer__container{margin-bottom:1rem}}.jp-checkbox-answer__checkbox{align-items:center;background:var(--jp-white);border:1px solid var(--jp-gray-5);border-radius:var(--jp-border-radius);box-sizing:border-box;color:var(--jp-gray-100);display:flex;height:100%;padding:.875rem 1rem;padding-inline-end:calc(1.5rem + 18px)}.jp-checkbox-answer__checkbox:focus-within{border-color:currentColor}.jp-checkbox-answer__checkbox.checked{background:var(--jp-gray-0)}.jp-checkbox-answer__title{align-items:center;display:flex;flex:1;margin-inline-start:1rem;width:100%}.jp-checkbox-answer__checkbox-input[type=checkbox],.jp-checkbox-answer__checkbox-input[type=radio]{border:1px solid;border-radius:2px;height:20px;margin:0;width:20px}.jp-checkbox-answer__checkbox-input[type=checkbox]:checked:before,.jp-checkbox-answer__checkbox-input[type=radio]:checked:before{background-color:var(--jp-black);content:url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M14.7791%204.00004L7.36198%2013.9753L3.06108%2010.7773%22%20stroke%3D%22white%22%2F%3E%3C%2Fsvg%3E");height:18px;margin:0;width:18px}.jp-checkbox-answer__checkbox-input[type=checkbox]:focus,.jp-checkbox-answer__checkbox-input[type=radio]:focus{border-color:currentColor;box-shadow:none}.jp-checkbox-answer__info{align-items:center;display:flex;height:100%;margin-inline-end:1rem;position:absolute;right:0;top:0}[dir=rtl] .jp-checkbox-answer__info{left:0;right:auto}.jp-recommendations-question__site-type-checkboxes{margin-bottom:40px;text-align:left}@media(min-width:481px){.jp-recommendations-question__site-type-checkboxes{display:grid;gap:16px;grid-template-columns:auto auto;grid-template-rows:auto auto}}@media(max-width:480px){.jp-recommendations-question__site-type-checkboxes{display:flex;flex-direction:column}}.jp-recommendations-question__site-type-answer-container{margin:0 0 32px 32px;text-align:center}@media(max-width:660px){.jp-recommendations-question__site-type-answer-container{margin:0 32px 32px}}@media(max-width:480px){.jp-recommendations-question__site-type-answer-container{margin:0 16px 16px}.jp-recommendations-question__site-type-answer-container .dops-button{width:100%}}.jp-recommendations-site-type-question__continue-description{color:#646970;margin:14px auto 0;max-width:300px}@media(max-width:480px){.jp-recommendations-site-type-question__continue-description{display:none}}.jp-recommendations-site-type__illustration{justify-self:flex-end;max-width:100%}.jp-recommendations-summary{background:var(--jp-white-off);border:1px solid #d5d5d5;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);display:grid;grid-template-columns:54% 46%}@media(max-width:660px){.jp-recommendations-summary{display:flex;flex-direction:column}}.jp-recommendations-summary__content{background:#fff}@media(max-width:480px){.jp-recommendations-summary__content{padding-bottom:1rem}}.jp-recommendations-summary__content.isLoading{align-items:center;display:flex;justify-content:center;min-height:730px}.jp-recommendations-summary__configuration{margin:3rem 3rem 2rem}@media(max-width:480px){.jp-recommendations-summary__configuration{margin:1rem 1rem 0}}.jp-recommendations-summary__configuration h1{color:var(--jp-gray-80);font-size:1.5rem}.jp-recommendations-summary__configuration h2{color:var(--jp-gray-100);font-size:1rem;margin:2rem 0 1rem}.jp-recommendations-summary__recommendation-notice{color:var(--jp-gray-50);font-size:.875rem}.jp-recommendations-summary__sidebar{background:radial-gradient(circle at 60%,rgba(6,158,8,.15) 0,hsla(0,0%,100%,0) 75%),radial-gradient(circle at 30% 80%,rgba(206,217,242,.5) 5%,hsla(0,0%,100%,0) 25%),radial-gradient(circle at 50% 15%,hsla(46,77%,83%,.5) 0,hsla(0,0%,100%,0) 35%);padding:2rem 2.5rem}@media(max-width:660px){.jp-recommendations-summary__sidebar{padding:1rem}}.jp-recommendations-summary__sidebar.isLoading{align-items:center;display:flex;justify-content:center;min-height:430px}.jp-recommendations-summary__sidebar .jp-recommendations-product-card-upsell__cta-button{width:100%}.jp-recommendations-summary__discount{align-items:center;border-bottom:1px solid var(--jp-gray-5);display:flex;font-size:1rem;gap:1rem;justify-content:space-between;padding:1.5rem 0}.jp-recommendations-summary__discount .jp-recommendations-summary__reco-link{color:var(--jp-black);text-align:right;text-decoration:underline}.jp-recommendations-summary__discount .jp-recommendations-summary__reco-link:active,.jp-recommendations-summary__discount .jp-recommendations-summary__reco-link:hover{text-decoration:none}.jp-recommendations-summary__timer{color:var(--jp-gray-60);display:flex;flex-direction:column;font-size:.875rem}.jp-recommendations-summary__time{font-size:1.125rem;margin-top:.25rem}.jp-recommendations-summary__footer{padding-top:2rem}.jp-recommendations-summary__footnote{color:var(--jp-gray-30);font-size:.875rem;margin-bottom:0;margin-top:.625rem;text-align:center}.jp-install-button__spinner-container{display:flex;justify-content:center}.jp-recommendations-feature-summary{border-bottom:1px solid #e1e1e1;display:flex;min-width:275px}.jp-recommendations-feature-summary .gridicons-checkmark-circle{fill:#069e08}.jp-recommendations-feature-summary:last-child{border-bottom:none}.jp-recommendations-feature-summary__checkmark{align-content:center;align-items:center;display:flex;margin-right:8px}.jp-recommendations-feature-summary__display-name{align-items:center;background:none;display:flex;flex-grow:1;font-size:1rem;justify-content:flex-start}.jp-recommendations-feature-summary__display-name.is-borderless{color:#000}.jp-recommendations-feature-summary__display-name.is-borderless:focus,.jp-recommendations-feature-summary__display-name.is-borderless:hover{background:none}.jp-recommendations-feature-summary__display-name.is-borderless:focus .jp-recommendations-feature-summary__display-name-text,.jp-recommendations-feature-summary__display-name.is-borderless:hover .jp-recommendations-feature-summary__display-name-text{box-shadow:0 3px 0 0 currentColor}.jp-recommendations-feature-summary__display-name .jp-recommendations__new-badge{margin-left:1rem}.jp-recommendations-summary .jp-recommendations-feature-summary__display-name{color:var(--jp-gray-100)}.jp-recommendations-feature-summary__display-name-text{box-shadow:0 1px 0 0 currentColor}.jp-recommendations-feature-summary__cta button{width:100%}.jp-recommendations-feature-summary__cta a{text-align:center;width:100%}.jp-recommendations-feature-summary__cta .components-external-link{align-items:center;display:flex}.jp-recommendations-feature-summary__cta .components-external-link__icon{margin-left:4px}.jp-recommendations-feature-summary__actions{margin-inline-start:auto;padding:8px 0 8px 8px}.jp-recommendations-sidebar-card{background-color:#fff;border:1px solid #dcdcde;border-radius:.5rem;box-shadow:0 12px 20px rgba(0,0,0,.05);margin-bottom:2.5rem;width:100%}.jp-recommendations-sidebar-card.with-illustration{background:linear-gradient(180deg,#e6f2e8,115px,#fff 115px)}.jp-recommendations-sidebar-card__content h2{font-size:1rem;margin-top:1.75rem}.jp-recommendations-sidebar-card__content p{font-size:.875rem}.jp-recommendations-sidebar-card__content .dops-button{margin-top:1rem;width:100%}.jp-recommendations-sidebar-card__illustration-container{text-align:center}.jp-recommendations-sidebar-card__illustration{background:#fff;border-radius:3px;box-shadow:0 0 24px rgba(0,0,0,.16);display:inline-flex;height:115px;justify-content:center;margin-top:24px;padding:8px;width:220px}.jp-recommendations-sidebar-card__content{padding:0 24px 24px}.jp-recommendations-sidebar-card__features{list-style-type:none;margin:1.5rem 0;padding:0}.jp-recommendations-sidebar-card__features li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:.5rem;padding-inline-start:2.25rem}.jp-recommendations-one-click-restores h2{margin-top:32px}.jp-recommendations-one-click-restores p{margin:16px 0}.jp-recommendations-one-click-restores .jp-recommendations-one-click-restores__cta{margin-top:32px;text-align:center}.apps-badge{display:flex;margin:0;max-height:40px;max-width:135px;overflow:hidden}.apps-badge:first-child{margin-right:8px}.apps-badge img{-ms-interpolation-mode:nearest-neighbor;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;max-width:100%}.apps-badge.android-app-badge img{transform:scale(1.13) translate(-7px,-5.1px);transform-origin:left}.jp-recommendations-sidebar-card__apps-badge{display:flex;margin-top:32px}.jp-recommendations-sidebar-card__apps-badge .apps-badge{width:50%}.jp-product-card{background:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);box-sizing:border-box;padding:30px 24px 45px;position:relative;width:100%}@media(min-width:661px){.jp-product-card{padding:40px 48px 60px}}@media(min-width:961px){.jp-product-card{padding-top:60px}}.jp-product-card__inner{display:flex;flex-direction:column;height:100%;max-width:400px}.jp-product-card__icon{display:none;height:16px;margin-bottom:24px}@media(min-width:961px){.jp-product-card__icon{display:block}}.jp-product-card__icon svg{height:100%;width:auto}.jp-product-card__title{color:#000;font-size:2rem;font-weight:700;margin:0 0 18px}.jp-product-card__description{color:#000;font-size:.9375rem;line-height:1.5;margin:0 0 22px}.jp-product-card__features{margin:0 0 30px}.jp-product-card__feature{align-items:center;color:#000;display:flex;margin-bottom:8px}.jp-product-card__feature svg{fill:#069e08;margin-right:10px}.jp-product-card__price>div>p{font-size:3.375rem;font-weight:700;line-height:.7;margin-inline-end:.75rem!important}.jp-product-card__price>div>p sup:first-of-type{font-size:1.5rem;margin-top:-.25rem}.jp-product-card__price>div>p sup:last-of-type{font-size:.75rem;margin-top:-.75rem}.jp-product-card__price>div>p:last-child{color:var(--jp-gray-100)}.jp-product-card__price>p{font-size:.875rem;margin-top:.5rem}.jp-product-card__checkout{align-self:flex-start;font-size:1rem;margin-top:2rem;padding-left:60px;padding-right:60px;text-align:center}.jp-product-card__checkout--primary,.jp-product-card__checkout--primary:focus,.jp-product-card__checkout--primary:hover{background:#000;border-color:#000;color:#fff}.jp-product-card__checkout--primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #000}.jp-product-card__checkout--secondary{background:transparent;border:2px solid #000;color:#000;transition:all .15s ease-in-out}.jp-product-card__checkout--secondary:focus,.jp-product-card__checkout--secondary:hover{background:#000;border-color:#000;color:#fff}.jp-product-card__checkout--secondary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #000}.jp-product-card__cta{align-items:center;background:#000;border-top-left-radius:4px;border-top-right-radius:4px;color:#fff;display:flex;font-size:.8125rem;font-weight:600;left:0;letter-spacing:.3px;padding:9px 10px;position:absolute;right:0;top:0}.jp-product-card__cta .gridicon{height:16px;margin-right:5px;width:16px}.jp-product-card--has-cta{padding-top:60px}.jp-product-card__media{align-self:center;display:none;height:auto;margin-top:36px;max-width:100%;width:auto}@media(min-width:481px){.jp-product-card__media{display:block}}@media(min-width:661px){.jp-product-card__media{min-width:240px}}@media(min-width:961px){.jp-product-card__media{margin-top:0}}@media(min-width:481px){.jp-product-card--has-media{display:block}}@media(min-width:961px){.jp-product-card--has-media{column-gap:26px;display:grid;grid-template-columns:55% 45%}}@media(min-width:1041px){.jp-product-card--has-media{grid-template-columns:auto auto}}.jp-product-card--has-media .jp-product-card__price{margin-top:0}.dovianZYLKhnbnh9I06o{align-items:flex-end;display:flex;flex-wrap:wrap}.dhFQXpZfMwVI8vuYHnwC{display:inline-flex;position:relative}.dhFQXpZfMwVI8vuYHnwC:first-child{margin-right:calc(var( --spacing-base )*2)}.dhFQXpZfMwVI8vuYHnwC.eD7hzxFmdtG_MgmBtl_k{color:var(--jp-gray-20)}.dhFQXpZfMwVI8vuYHnwC.eD7hzxFmdtG_MgmBtl_k:after{background:var(--jp-red);border-radius:var(--jp-border-radius);content:" ";display:block;height:3px;margin-top:-2px;pointer-events:none;position:absolute;top:50%;width:100%}.OXRdumxMHnFcSML9WKHB{color:var(--jp-gray-40);margin-bottom:calc(var( --spacing-base )*3)}.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-size:var(--font-title-medium);font-weight:500;line-height:32px}.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-size:var(--font-body-extra-small);font-weight:400;line-height:20px}.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)}.jp-product-description>*{margin-bottom:26px}@media(min-width:961px){.jp-product-description--split{column-gap:26px;display:grid;grid-template-columns:50% 50%}}@media(min-width:1041px){.jp-product-description--split{grid-template-columns:auto 410px}}.jp-product-description__introductory-pricing{color:#000;font-size:.875rem;letter-spacing:.1px;line-height:1.5;margin-bottom:10px;text-align:center}.jp-product-description__money-back-guarantee{text-align:center}.jp-product-description .jp-product-card__icon .vertical{height:150%}@media(max-width:960px){.jp-product-description{margin-left:auto;margin-right:auto;max-width:550px}}.jp-product-descriptions__loading{padding-top:48px}.plugin-dash-item p{font-size:var(--font-body-small)}.plugin-dash-item .dops-banner,.plugin-dash-item .plugin-dash-item__content,.plugin-dash-item .plugin-dash-item__section-header{margin-bottom:0;width:100%}.plugin-dash-item .dops-banner.dops-card{border-left-color:#3895ba;height:100%}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle{background-color:#3895ba;height:32px;width:32px}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle .gridicon{margin-bottom:0}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle .gridicon g{transform:none}@media(max-width:480px){.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon{display:none}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle{display:block}}.plugin-dash-item .plugin-dash-item__content{align-items:center;display:flex;flex-direction:row;height:100%}.plugin-dash-item .plugin-dash-item__content .components-spinner{margin-top:0}.dops-tooltip.dops-popover .dops-popover__arrow{border-width:6px}.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right .dops-popover__arrow{border-bottom-color:#555;right:10px;top:4px}.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-bottom-right .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-bottom-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-error .dops-popover__arrow{border-bottom-color:#d94f4f}.dops-tooltip.dops-popover.is-bottom-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-warning .dops-popover__arrow{border-bottom-color:#f0b849}.dops-tooltip.dops-popover.is-bottom-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-success .dops-popover__arrow{border-bottom-color:#4ab866}.dops-tooltip.dops-popover.is-top .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right .dops-popover__arrow{border-top-color:#555;bottom:4px;right:10px}.dops-tooltip.dops-popover.is-top .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-top-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-top-right .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-top-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-error .dops-popover__arrow{border-top-color:#d94f4f}.dops-tooltip.dops-popover.is-top-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-warning .dops-popover__arrow{border-top-color:#f0b849}.dops-tooltip.dops-popover.is-top-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-success .dops-popover__arrow{border-top-color:#4ab866}.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow,.dops-tooltip.dops-popover.is-top .dops-popover__arrow{margin-left:-6px}.dops-tooltip.dops-popover.is-left,.dops-tooltip.dops-popover.is-right{padding-top:0}.dops-tooltip.dops-popover.is-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-right .dops-popover__arrow{margin-top:-6px}.dops-tooltip.dops-popover.is-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-right .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-error .dops-popover__arrow{border-right-color:#d94f4f}.dops-tooltip.dops-popover.is-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-warning .dops-popover__arrow{border-right-color:#f0b849}.dops-tooltip.dops-popover.is-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-success .dops-popover__arrow{border-right-color:#4ab866}.dops-tooltip.dops-popover.is-left .dops-popover__arrow{border-left-color:#555;margin-right:4px}.dops-tooltip.dops-popover.is-right .dops-popover__arrow{border-right-color:#555;margin-left:4px}.dops-tooltip.dops-popover .dops-popover__inner{background:#555;border:0;border-radius:2px;box-shadow:none;color:#fff;font-size:12px;padding:6px 10px;text-align:left}.dops-tooltip.dops-popover.is-error .dops-popover__inner{background:#d94f4f}.dops-tooltip.dops-popover.is-warning .dops-popover__inner{background:#f0b849}.dops-tooltip.dops-popover.is-success .dops-popover__inner{background:#4ab866}.dops-tooltip.dops-popover ul{list-style:none;margin:0;padding:0}.dops-tooltip.dops-popover ul li{border:0;font-size:11px;font-weight:100}.dops-tooltip__hr{background:#a2a2a2;margin:8px 0}.dops-chart{background-color:#fff;box-sizing:border-box;padding:8px 0 8px 20px;position:relative}.dops-chart .dops-chart__y-axis-markers{height:200px;left:0;position:absolute;right:0;top:8px}.dops-chart .dops-chart__y-axis-marker{border-top:1px solid #eee;height:1px;position:absolute;top:0;width:100%}.dops-chart__bar-marker{border-top:1px solid hsla(0,0%,93%,.1);height:1px;position:absolute;top:0;width:100%;z-index:1}.dops-chart .dops-chart__y-axis-marker.is-fifty,.dops-chart__bar-marker.is-fifty,.dops-chart__y-axis-label.is-fifty{top:50%}.dops-chart .dops-chart__y-axis-marker.is-zero,.dops-chart__bar-marker.is-zero,.dops-chart__y-axis-label.is-zero{top:100%}.dops-chart__y-axis{color:#888;float:right;font-size:11px;height:200px;margin-bottom:30px;padding:0 20px 0 10px;position:relative}.dops-chart__y-axis-label{position:absolute;right:20px;text-align:right;top:0}.dops-chart__y-axis-width-fix{color:hsla(0,0%,100%,0)}.dops-chart__x-axis{color:#555;font-size:0;min-height:18px;padding:5px 0;position:relative}.dops-chart__x-axis-label{display:inline-block;font-size:11px;position:absolute;text-align:center;vertical-align:top}.dops-chart__x-axis-label:before{background:#f6f6f6;background-image:linear-gradient(180deg,#f6f6f6 0,#d5d5d5);content:"";display:block;height:5px;left:50%;margin-left:-.5px;position:absolute;top:-4px;width:1px}.dops-chart__bars{display:-ms-flex;display:flex;font-size:0;overflow:hidden}.dops-chart__bar,.dops-chart__bars{height:200px;position:relative;text-align:center}.dops-chart__bar{display:inline-block;-ms-flex-grow:1;flex-grow:1;-ms-flex-shrink:1;flex-shrink:1}.dops-chart__bar.is-weekend{background-color:hsla(0,0%,93%,.5)}.dops-chart__bar:focus{background-color:rgba(240,130,30,.1)}.dops-chart__bar:hover{background-color:hsla(0,0%,93%,.3);cursor:pointer}.dops-chart__bar.is-selected{background-color:rgba(240,130,30,.1);cursor:default}.dops-chart__bar-section{background-color:#0087be;bottom:0;display:inline-block;left:16%;position:absolute;right:16%;top:0;z-index:2}.dops-chart__bar:hover .dops-chart__bar-section.is-bar{background-color:#3582c4}.dops-chart__bar.is-selected .dops-chart__bar-section.is-bar{background-color:#f0821e}.dops-chart__bar-section.is-spacer{background-color:hsla(0,0%,100%,0);z-index:0}.dops-chart__bar-section.is-ghost:after{background-image:linear-gradient(180deg,hsla(0,0%,100%,0),hsla(0,0%,93%,.5));bottom:0;content:"";display:block;height:40px;left:0;position:absolute;top:160px;width:100%;z-index:1}.dops-chart__bar:hover .dops-chart__bar-section.is-ghost:after{display:none}.dops-chart__bar-section-inner{background:#004069;bottom:0;left:23.33%;position:absolute;right:23.33%}.dops-chart__bar.is-selected .dops-chart__bar-section-inner{background-color:#d63638}.dops-chart__legend{margin-bottom:-8px}.dops-chart__legend:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-chart__legend .dops-chart__legend-options{color:#747474;float:right;font-size:11px;letter-spacing:.1em;list-style-type:none;margin:0;text-transform:uppercase}@media(max-width:480px){.dops-chart__legend .dops-chart__legend-options{width:100%}}.dops-chart__legend-option{display:inline;text-align:left}@media(max-width:480px){.dops-chart__legend-option{display:inline-block;width:50%}}.dops-chart__legend-label{display:inline-block;padding:12px 19px 10px 20px}.dops-chart__legend-label.is-selectable{cursor:pointer}.dops-chart__legend-label.is-selectable:focus,.dops-chart__legend-label.is-selectable:hover{color:tint(#3582c4,20%)}@media(max-width:480px){.dops-chart__legend-label{display:block}}.dops-chart__legend-option .dops-chart__legend-color{background:#0087be;border-radius:1px;display:inline-block;height:10px;margin:3px 5px 3px 8px;vertical-align:top;width:10px}@media(max-width:480px){.dops-chart__legend-option:first-child .dops-chart__legend-color{margin-left:2px}}.dops-chart__legend-color.is-dark-blue{background:#004069}.dops-chart__legend-option .dops-chart__legend-checkbox{float:none;margin:0;vertical-align:top}.dops-chart__empty{bottom:0;clear:both;font-size:14px;left:0;line-height:24px;position:absolute;right:0;text-align:center;top:0;z-index:1}.dops-chart__empty_notice{animation:appear .3s ease-in-out;background:#fff;border-radius:1px;box-shadow:0 0 0 1px hsla(0,0%,84%,.5),0 1px 2px #eee;box-sizing:border-box;font-size:14px;line-height:1.4285;margin-bottom:24px;padding:11px 24px;position:relative;top:97px}@media(min-width:661px){.dops-chart__empty_notice{font-size:inherit;padding:13px 48px}.dops-chart__empty_notice:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"";display:inline-block;font:normal 16px/1 Noticons;font-size:24px;left:20px;line-height:1;margin:-12px 0 0 -8px;position:absolute;top:23px;vertical-align:middle}}.dops-chart__tooltip .dops-popover__inner{text-align:left;width:230px}.dops-chart__tooltip .dops-popover__inner ul{list-style:none;margin:0;padding:0}.dops-chart__tooltip .dops-popover__inner ul:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-chart__tooltip .dops-popover__inner ul li{border:0;font-size:11px;font-weight:100;height:24px;letter-spacing:.1em;margin-bottom:0;text-transform:uppercase}.dops-chart__tooltip .dops-popover__inner ul li .dops-wrapper{clear:both;display:block;line-height:inherit;line-height:24px}.dops-chart__tooltip .dops-popover__inner ul li .value{color:#d5d5d5;float:right;min-width:22px;text-align:right}.dops-chart__tooltip .dops-popover__inner ul li .label{display:block;overflow:hidden;vertical-align:baseline;word-break:break-all}.dops-chart__tooltip .dops-popover__inner ul li .gridicon{margin-right:6px;margin-top:-3px;vertical-align:middle}.dops-chart__tooltip.is-streak{height:35px;margin-top:-5px}.dops-chart__tooltip.is-streak .dops-popover__arrow:before{left:85px;top:30px}.dops-chart__tooltip.is-streak .dops-popover__inner{position:relative;top:-10px;width:160px}.dops-chart__tooltip.is-streak .dops-popover__inner li{height:14px}.dops-chart__tooltip.is-streak .dops-popover__inner li .label{float:left;text-align:center;width:100%}.rtl .dops-chart__tooltip.is-streak .dops-popover__inner li .label{font-size:11px}.dops-chart__tooltip.is-streak .dops-popover__inner li .label .post-count{font-weight:700}.dops-chart__tooltip.is-streak .dops-popover__inner li .value{float:none}.dops-chart__tooltip .dops-module-content-list-item.is-date-label{border-bottom:1px solid #5d5d5d;font-size:11px;font-weight:700;margin-bottom:2px;padding-bottom:2px;text-transform:uppercase}.dops-chart__tooltip .dops-module-content-list-item.is-published-item{height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .label{color:#d5d5d5;height:19px;letter-spacing:0;overflow:hidden;text-transform:none}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value{min-width:0;width:0}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value:before{background-image:linear-gradient(90deg,rgba(61,89,109,0) 0,rgba(61,89,109,.5),#3d596d);content:"";display:block;height:24px;left:-30px;position:relative;width:30px}.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{-webkit-margin-end:1em;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;width:1rem}.record-meter-bar__legend--item-circle,.record-meter-bar__legend--item-count,.record-meter-bar__legend--item-label-first{-webkit-margin-end:.4em;margin-inline-end:.4em}.jp-dash-upgrade-backup{margin-bottom:0;padding-bottom:3rem;padding-top:3rem}.jp-dash-upgrade-backup__popup{align-items:center;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);background:hsla(0,0%,100%,.86);border:1px solid var(--jp-gray);border-radius:4px;box-sizing:border-box;display:flex;flex-direction:column;left:0;margin:0 auto;padding:32px 28px;position:absolute;right:0;top:-10px;width:337px;z-index:99}.jp-dash-upgrade-backup__popup-close-icon{position:absolute;right:13px;top:13px}.jp-dash-upgrade-backup__popup-lock-icon{height:19px;margin-bottom:.5em;width:16px}.jp-dash-upgrade-backup__popup-title{color:#101517;font-size:12px;font-style:normal;font-weight:700;line-height:19px;text-align:center}.dash-security-bundle{display:flex;flex-direction:column;padding:32px}@media(min-width:661px){.dash-security-bundle{flex-direction:row}}.dash-security-bundle .dash-security-bundle--icon{align-items:flex-start;display:flex;margin-bottom:16px;margin-right:0;margin-top:16px}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--icon{align-items:center;margin-bottom:0;margin-right:32px;margin-top:0}}.dash-security-bundle .dash-security-bundle--content{display:flex;flex:1;flex-direction:column;justify-content:space-between}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--content{flex-direction:row}}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info{display:flex;flex-direction:column}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info h3{font-size:22px;font-weight:700;margin-bottom:0}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info p{font-size:14px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features,.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature{display:flex;flex-direction:row}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature img{width:24px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature p{font-weight:700}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature:not(:last-child){margin-right:16px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-cta{align-items:center;display:flex;flex-direction:row;margin-left:0;margin-top:16px}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-cta{margin-left:16px;margin-top:0}}#jp-plugin-container{min-height:100vh}body.dops-modal-showing{overflow:hidden}.dops-modal-wrapper{-webkit-overflow-scrolling:touch;background-color:rgba(0,0,0,.5);bottom:0;cursor:pointer;display:block;left:0;outline:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;text-align:center;top:0;transition:opacity .15s linear;z-index:1050}.dops-modal-wrapper:before{content:"";display:inline-block;height:100%;vertical-align:middle}.dops-modal-wrapper .dops-modal{background-color:#fff;clear:both;cursor:default;display:inline-block;margin:0;max-width:550px;position:relative;text-align:left;transition:all .5s;vertical-align:middle;width:100%;z-index:100}@media(min-width:481px){.dops-modal-wrapper .dops-modal{border-radius:5px;box-shadow:0 4px 20px rgba(0,0,0,.2);height:auto;margin:0 auto}}.jp-product-activated-label{color:#069e08;display:flex;font-weight:600;padding:0 0 8px}@media(min-width:961px){.jp-product-activated-label{justify-content:flex-end}}.jp-product-activated-label .gridicons-checkmark{margin-right:8px}@media(min-width:961px){.my-plan-card{display:flex;flex-flow:row nowrap;justify-content:space-between}}.my-plan-card__primary{display:flex;flex-flow:row nowrap;flex-grow:1}.my-plan-card__header{flex:1}.my-plan-card__title{color:#414141;font-size:1.25rem;font-weight:600;line-height:30px;margin:6px 0}.my-plan-card__tag-line{font-weight:400;line-height:18px;margin:0 0 24px}@media(min-width:961px){.my-plan-card__tag-line{margin-bottom:8px}}.my-plan-card__icon{flex:0 0 auto;height:64px;margin:8px 20px 16px 0;width:64px}@media(max-width:660px){.my-plan-card__icon{display:none}}.my-plan-card__icon img{height:100%;width:100%}.my-plan-card__secondary{align-items:center;display:flex;flex-flow:row wrap;justify-content:space-between;padding:8px 0 0;position:relative}@media(min-width:961px){.my-plan-card__secondary{align-items:flex-end;flex-flow:column nowrap;justify-content:center;padding:0 0 0 24px}}.my-plan-card__secondary:before{border-top:1px solid #c3c4c7;content:"";left:-16px;position:absolute;right:-16px;top:0}@media(min-width:481px){.my-plan-card__secondary:before{left:-24px;right:-24px}}@media(min-width:961px){.my-plan-card__secondary:before{content:none}}.has-action-only .my-plan-card__secondary{justify-content:center;padding-top:0}.has-action-only .my-plan-card__secondary:before{content:none}.my-plan-card__details{color:#888;padding-top:8px}@media(min-width:481px){.my-plan-card__details{white-space:nowrap}}@media(min-width:961px){.my-plan-card__details{padding-top:0}}.my-plan-card__details.is-error{color:#d94f4f}.my-plan-card__action{padding-top:8px;white-space:nowrap}.has-action-only .my-plan-card__action{padding-top:0}.jp-my-plan-banner__card{background-color:#fff;background-position:100%;background-repeat:no-repeat;background-size:50% 100%}.jp-my-plan-banner .my-plan-card__icon{margin-bottom:8px;margin-top:8px}.jp-my-plan-banner .my-plan-card__header{align-self:center}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-left:5px}.notices-list{overflow:hidden}.notices-list.is-pinned{position:fixed;top:79px;width:calc(100% - 336px);z-index:z-index("root",".notices-list.is-pinned")}.notices-list.is-pinned .notice{z-index:z-index("root",".notices-list.is-pinned .notice")}.notices-list__whitespace{display:block;height:71px;width:100%}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{bottom:0;left:0;pointer-events:none;position:fixed;right:0;text-align:right;top:auto;z-index:179}@media(min-width:661px){.global-notices{bottom:auto;left:auto;max-width:calc(100% - 68px);right:16px;top:63px}}@media(min-width:961px){.global-notices{max-width:calc(100% - 208px);right:24px;top:71px}}@media(min-width:1041px){.global-notices{max-width:calc(100% - 224px);right:32px}}.global-notices .dops-notice{border-radius:0;box-shadow:0 2px 5px rgba(0,0,0,.2),0 0 56px rgba(0,0,0,.15);flex-wrap:nowrap;margin-bottom:0;pointer-events:auto;text-align:left}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0}@media(min-width:661px){.global-notices .dops-notice{border-radius:3px;display:flex;margin-bottom:24px;overflow:hidden}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:3px 0 0 3px}.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:13px 16px}}.global-notices .dops-notice__dismiss{flex-shrink:0}@media(min-width:661px){.global-notices .dops-notice__dismiss{padding:13px 16px 0}}.reconnect__modal__body{color:#2e4453;font-size:rem(14px);margin:0;padding:rem(24px) rem(32px);text-align:center}.reconnect__modal__body h2{color:#2e4453;font-size:rem(32px);font-weight:300;margin:rem(32px) 0 rem(24px)}.reconnect__modal__body h4{color:#668eaa;font-size:rem(16px);font-weight:400;line-height:1.5em;margin:rem(16px) rem(24px) 0}.reconnect__modal-actions{margin:2rem 0}.reconnect__modal-actions .reconnect__modal-cancel{margin-right:1em}.jp-license-activation-screen-controls{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-controls h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-controls p{font-size:16px;margin:1em 0}.jp-license-activation-screen-controls label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-controls{padding:64px}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field label,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error label{font-size:16px;font-weight:600}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border-radius:4px;font-size:18px;line-height:24px;margin:0;min-height:48px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border:1px solid #787c82}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border:1px solid #d63639}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error{align-items:start;color:#d63639;display:flex;flex-direction:row}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error svg{fill:#d63639;margin-right:4px;min-width:24px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error span{font-size:16px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{background-color:#000;border-radius:4px;color:#fff;display:flex;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin-top:24px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{width:auto}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:hover,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:hover{background-color:#2c3338;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:focus,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active[disabled],.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button[disabled]{background-color:#dcdcde;color:#a7aaad}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button .jp-components-spinner,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active .jp-components-spinner{width:100%}@-webkit-keyframes rotate-spinner{to{transform:rotate(1turn)}}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.jp-components-spinner{align-items:center;display:flex}.jp-components-spinner__inner,.jp-components-spinner__outer{-webkit-animation:3s linear infinite;animation:3s linear infinite;-webkit-animation-name:rotate-spinner;animation-name:rotate-spinner;border:.1em solid transparent;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%}.jp-license-activation-screen-illustration{align-items:center;background:#f9f9f6;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-illustration--wrapper{display:flex;flex:1}.jp-license-activation-screen-illustration--wrapper img{align-self:center;height:auto;max-width:100%}.jp-license-activation-screen-illustration--support-link{flex:0}.jp-license-activation-screen-success-info--product-details h1{line-height:52px}.jp-license-activation-screen-success-info--product-details a{color:var(--jp-black);text-decoration:underline!important}.jp-license-activation-screen-success-info--external-link{color:var(--jp-black);font-size:16px;font-style:normal;font-weight:600;text-decoration:underline!important;white-space:nowrap}.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{background-color:#000;border-radius:4px;color:#fff;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin:0 40px 20px 0;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{width:auto}}.components-button.jp-license-activation-screen-success-info--button:active:hover,.components-button.jp-license-activation-screen-success-info--button:hover,.components-button.jp-license-activation-screen-success-info--button:visited:hover{background-color:#2c3338;color:#fff}.components-button.jp-license-activation-screen-success-info--button:active:focus,.components-button.jp-license-activation-screen-success-info--button:focus,.components-button.jp-license-activation-screen-success-info--button:visited:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.components-button.jp-license-activation-screen-success-info--button:active:disabled,.components-button.jp-license-activation-screen-success-info--button:active[disabled],.components-button.jp-license-activation-screen-success-info--button:disabled,.components-button.jp-license-activation-screen-success-info--button:visited:disabled,.components-button.jp-license-activation-screen-success-info--button:visited[disabled],.components-button.jp-license-activation-screen-success-info--button[disabled]{background-color:#dcdcde;color:#a7aaad}.components-button.jp-license-activation-screen-success-info--button .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:active .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:visited .jp-components-spinner{width:100%}.jp-license-activation-screen-success-info{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-success-info h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-success-info p{font-size:16px;margin:1em 0}.jp-license-activation-screen-success-info label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-success-info{padding:64px}}@media screen and (max-width:480px){.jp-license-activation-screen-success-info .jp-license-activation-screen-success-info--buttons{text-align:center}}.jp-license-activation-screen{border-radius:4px;box-shadow:0 4px 24px 0 #00000026;display:flex;flex-direction:column;min-height:540px;overflow:hidden}@media screen and (min-width:780px){.jp-license-activation-screen{flex-direction:row}}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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}.jp-contextualized-connection{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08);display:flex;flex-direction:column}.jp-contextualized-connection__content{align-items:center;display:flex;flex-direction:column;margin:auto;max-width:860px;padding:2rem;text-align:center;width:100%}@media(min-width:782px){.jp-contextualized-connection__content{padding:4rem}}.jp-contextualized-connection__content h2{font-size:36px;margin-bottom:1.5rem}.jp-contextualized-connection__content p{font-size:16px;margin-bottom:2rem}.jp-contextualized-connection__logo img{max-width:100%}.jp-contextualized-connection__tos{color:#787c82;font-size:14px;margin-top:2rem;max-width:400px}.jp-contextualized-connection__tos a{color:#787c82;font-weight:700;text-decoration:underline}.jp-contextualized-connection .jp-action-button--button.is-primary,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary{background-color:#000;justify-content:center}.jp-contextualized-connection .jp-action-button--button.is-primary:active:not(:disabled),.jp-contextualized-connection .jp-action-button--button.is-primary:hover:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:active:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:hover:not(:disabled){background:#2c3338;color:#fff}.jp-contextualized-connection .jp-action-button--button.is-primary:focus:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #000}.jp-contextualized-connection .jp-action-button--button.is-primary.disabled,.jp-contextualized-connection .jp-action-button--button.is-primary:disabled,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary.disabled,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:disabled{background:#dcdcde;pointer-events:none}.jp-contextualized-connection__footer{background-color:#f9f9f6;font-size:16px;padding:4rem;width:100%}.jp-contextualized-connection__footer-row{grid-gap:4rem;display:grid;grid-template-columns:auto}@media(min-width:782px){.jp-contextualized-connection__footer-row{grid-gap:3rem;grid-template-columns:repeat(3,1fr)}}.jp-contextualized-connection__footer-column h3{margin-top:0}.jp-contextualized-connection__footer-bottom-title{color:#000;font-size:20px;margin-top:4rem;text-align:center}.jp-contextualized-connection__feature-list{list-style-type:none;padding:0}.jp-contextualized-connection__feature-list li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:9px;padding-left:30px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/admin.js b/plugins/jetpack/_inc/build/admin.js
index 21374b3b..cd3911c7 100644
--- a/plugins/jetpack/_inc/build/admin.js
+++ b/plugins/jetpack/_inc/build/admin.js
@@ -1,138 +1,168 @@
/*! For license information please see admin.js.LICENSE.txt */
-!function(){var e={27538:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},29183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},8172:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(31354),i=n(64803);function s(e){var t=(0,r.Z)(e);return function(e){return(0,i.Z)(t,e)}}},64803:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function i(e,t){var n,i,s,o,a,c,l=[];for(n=0;n<e.length;n++){if(a=e[n],o=r[a]){for(i=o.length,s=Array(i);i--;)s[i]=l.pop();try{c=o.apply(null,s)}catch(e){return e}}else c=t.hasOwnProperty(a)?t[a]:+a;l.push(c)}return l[0]}},7478:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(8172);function i(e){var t=(0,r.Z)(e);return function(e){return+t({n:e})}}},31354:function(e,t,n){"use strict";var r,i,s,o;function a(e){for(var t,n,a,c,l=[],u=[];t=e.match(o);){for(n=t[0],(a=e.substr(0,t.index).trim())&&l.push(a);c=u.pop();){if(s[n]){if(s[n][0]===c){n=s[n][1]||n;break}}else if(i.indexOf(c)>=0||r[c]<r[n]){u.push(c);break}l.push(c)}s[n]||u.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&l.push(e),l.concat(u.reverse())}n.d(t,{Z:function(){return a}}),r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},i=["(","?"],s={")":["("],":":["?","?:"]},o=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},702:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function i(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(r,(function(){var e,r,i,s,o;return e=arguments[3],r=arguments[5],"%"===(s=arguments[9])?"%":("*"===(i=arguments[7])&&(i=t[n-1],n++),void 0!==r?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(o=t[0][r]):(void 0===e&&(e=n),n++,o=t[e-1]),"f"===s?o=parseFloat(o)||0:"d"===s&&(o=parseInt(o)||0),void 0!==i&&("f"===s?o=o.toFixed(i):"s"===s&&(o=o.substr(0,i))),null!=o?o:"")}))}},22607:function(e,t,n){"use strict";var r=n(69307);t.Z=function(e){let{icon:t,size:n=24,...i}=e;return(0,r.cloneElement)(t,{width:n,height:n,...i})}},28503:function(e,t,n){"use strict";var r=n(69307),i=n(70444);const s=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(i.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"}));t.Z=s},8277:function(e,t,n){"use strict";const r=t;r.bignum=n(30910),r.define=n(99875).define,r.base=n(73034),r.constants=n(68344),r.decoders=n(55439),r.encoders=n(95411)},99875:function(e,t,n){"use strict";const r=n(95411),i=n(55439),s=n(59503);function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(e){const t=this.name;function n(e){this._initNamed(e,t)}return s(n,e),n.prototype._initNamed=function(t,n){e.call(this,t,n)},new n(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i[e])),this.decoders[e]},o.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r[e])),this.encoders[e]},o.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},27027:function(e,t,n){"use strict";const r=n(59503),i=n(72173).b,s=n(82923).Buffer;function o(e,t){i.call(this,t),s.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return a.isEncoderBuffer(e)||(e=new a(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=s.byteLength(e);else{if(!s.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(o,i),t.C=o,o.isDecoderBuffer=function(e){if(e instanceof o)return!0;return"object"==typeof e&&s.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"==typeof e.offset&&"number"==typeof e.length&&"function"==typeof e.save&&"function"==typeof e.restore&&"function"==typeof e.isEmpty&&"function"==typeof e.readUInt8&&"function"==typeof e.skip&&"function"==typeof e.raw},o.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},o.prototype.restore=function(e){const t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");const n=new o(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.R=a,a.isEncoderBuffer=function(e){if(e instanceof a)return!0;return"object"==typeof e&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},a.prototype.join=function(e,t){return e||(e=s.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):s.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},73034:function(e,t,n){"use strict";const r=t;r.Reporter=n(72173).b,r.DecoderBuffer=n(27027).C,r.EncoderBuffer=n(27027).R,r.Node=n(24873)},24873:function(e,t,n){"use strict";const r=n(72173).b,i=n(27027).R,s=n(27027).C,o=n(48282),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function l(e,t,n){const r={};this._baseState=r,r.name=n,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}e.exports=l;const u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){const e=this._baseState,t={};u.forEach((function(n){t[n]=e[n]}));const n=new this.constructor(t.parent);return n._baseState=t,n},l.prototype._wrap=function(){const e=this._baseState;c.forEach((function(t){this[t]=function(){const n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},l.prototype._init=function(e){const t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),o.equal(t.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(e){const t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(o(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(o(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);const r=e[n];t[r]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){l.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),a.forEach((function(e){l.prototype[e]=function(){const t=this._baseState,n=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(n),this}})),l.prototype.use=function(e){o(e);const t=this._baseState;return o(null===t.use),t.use=e,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(e){const t=this._baseState;return o(null===t.default),t.default=e,t.optional=!0,this},l.prototype.explicit=function(e){const t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},l.prototype.implicit=function(e){const t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},l.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},l.prototype.key=function(e){const t=this._baseState;return o(null===t.key),t.key=e,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(e){const t=this._baseState;return o(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},l.prototype.contains=function(e){const t=this._baseState;return o(null===t.use),t.contains=e,this},l.prototype._decode=function(e,t){const n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));let r,i=n.default,o=!0,a=null;if(null!==n.key&&(a=e.enterKey(n.key)),n.optional){let r=null;if(null!==n.explicit?r=n.explicit:null!==n.implicit?r=n.implicit:null!==n.tag&&(r=n.tag),null!==r||n.any){if(o=this._peekTag(e,r,n.any),e.isError(o))return o}else{const r=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),o=!0}catch(e){o=!1}e.restore(r)}}if(n.obj&&o&&(r=e.enterObject()),o){if(null!==n.explicit){const t=this._decodeTag(e,n.explicit);if(e.isError(t))return t;e=t}const r=e.offset;if(null===n.use&&null===n.choice){let t;n.any&&(t=e.save());const r=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(r))return r;n.any?i=e.raw(t):e=r}if(t&&t.track&&null!==n.tag&&t.track(e.path(),r,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){const r=new s(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(r,t)}}return n.obj&&o&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==o?null!==a&&e.exitKey(a):e.leaveKey(a,n.key,i),i},l.prototype._decodeGeneric=function(e,t,n){const r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},l.prototype._getUse=function(e,t){const n=this._baseState;return n.useDecoder=this._use(e,t),o(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},l.prototype._decodeChoice=function(e,t){const n=this._baseState;let r=null,i=!1;return Object.keys(n.choice).some((function(s){const o=e.save(),a=n.choice[s];try{const n=a._decode(e,t);if(e.isError(n))return!1;r={type:s,value:n},i=!0}catch(t){return e.restore(o),!1}return!0}),this),i?r:e.error("Choice not matched")},l.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},l.prototype._encode=function(e,t,n){const r=this._baseState;if(null!==r.default&&r.default===e)return;const i=this._encodeValue(e,t,n);return void 0===i||this._skipDefault(i,t,n)?void 0:i},l.prototype._encodeValue=function(e,t,n){const i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);let s=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}let o=null,a=!1;if(i.any)s=this._createEncoderBuffer(e);else if(i.choice)s=this._encodeChoice(e,t);else if(i.contains)o=this._getUse(i.contains,n)._encode(e,t),a=!0;else if(i.children)o=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");const r=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),o=this._createEncoderBuffer(o);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const n=this.clone();n._baseState.implicit=null,o=this._createEncoderBuffer(e.map((function(n){const r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),n))}else null!==i.use?s=this._getUse(i.use,n)._encode(e,t):(o=this._encodePrimitive(i.tag,e),a=!0);if(!i.any&&null===i.choice){const e=null!==i.implicit?i.implicit:i.tag,n=null===i.implicit?"universal":"context";null===e?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(s=this._encodeComposite(e,a,n,o))}return null!==i.explicit&&(s=this._encodeComposite(i.explicit,!1,"context",s)),s},l.prototype._encodeChoice=function(e,t){const n=this._baseState,r=n.choice[e.type];return r||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},l.prototype._encodePrimitive=function(e,t){const n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},l.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},l.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},72173:function(e,t,n){"use strict";const r=n(59503);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function s(e,t){this.path=e,this.rethrow(t)}t.b=i,i.prototype.isError=function(e){return e instanceof s},i.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){const r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){const t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){let t;const n=this._reporterState,r=e instanceof s;if(t=r?e:new s(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(s,Error),s.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,s),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},5598:function(e,t){"use strict";function n(e){const t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);const r=e[n];t[r]=n})),t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n(t.tag)},68344:function(e,t,n){"use strict";const r=t;r._reverse=function(e){const t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);const r=e[n];t[r]=n})),t},r.der=n(5598)},75761:function(e,t,n){"use strict";const r=n(59503),i=n(30910),s=n(27027).C,o=n(24873),a=n(5598);function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){o.call(this,"der",e)}function u(e,t){let n=e.readUInt8(t);if(e.isError(n))return n;const r=a.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){let r=n;for(n=0;128==(128&r);){if(r=e.readUInt8(t),e.isError(r))return r;n<<=7,n|=127&r}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:a.tag[n]}}function p(e,t,n){let r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0==(128&r))return r;const i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(let t=0;t<i;t++){r<<=8;const t=e.readUInt8(n);if(e.isError(t))return t;r|=t}return r}e.exports=c,c.prototype.decode=function(e,t){return s.isDecoderBuffer(e)||(e=new s(e,t)),this.tree._decode(e,t)},r(l,o),l.prototype._peekTag=function(e,t,n){if(e.isEmpty())return!1;const r=e.save(),i=u(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(r),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||n)},l.prototype._decodeTag=function(e,t,n){const r=u(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;let i=p(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!n&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');const s=e.save(),o=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(o)?o:(i=e.offset-s.offset,e.restore(s),e.skip(i,'Failed to match body of: "'+t+'"'))},l.prototype._skipUntilEnd=function(e,t){for(;;){const n=u(e,t);if(e.isError(n))return n;const r=p(e,n.primitive,t);if(e.isError(r))return r;let i;if(i=n.primitive||null!==r?e.skip(r):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===n.tagStr)break}},l.prototype._decodeList=function(e,t,n,r){const i=[];for(;!e.isEmpty();){const t=this._peekTag(e,"end");if(e.isError(t))return t;const s=n.decode(e,"der",r);if(e.isError(s)&&t)break;i.push(s)}return i},l.prototype._decodeStr=function(e,t){if("bitstr"===t){const t=e.readUInt8();return e.isError(t)?t:{unused:t,data:e.raw()}}if("bmpstr"===t){const t=e.raw();if(t.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");let n="";for(let e=0;e<t.length/2;e++)n+=String.fromCharCode(t.readUInt16BE(2*e));return n}if("numstr"===t){const t=e.raw().toString("ascii");return this._isNumstr(t)?t:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){const t=e.raw().toString("ascii");return this._isPrintstr(t)?t:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},l.prototype._decodeObjid=function(e,t,n){let r;const i=[];let s=0,o=0;for(;!e.isEmpty();)o=e.readUInt8(),s<<=7,s|=127&o,0==(128&o)&&(i.push(s),s=0);128&o&&i.push(s);const a=i[0]/40|0,c=i[0]%40;if(r=n?i:[a,c].concat(i.slice(1)),t){let e=t[r.join(" ")];void 0===e&&(e=t[r.join(".")]),void 0!==e&&(r=e)}return r},l.prototype._decodeTime=function(e,t){const n=e.raw().toString();let r,i,s,o,a,c;if("gentime"===t)r=0|n.slice(0,4),i=0|n.slice(4,6),s=0|n.slice(6,8),o=0|n.slice(8,10),a=0|n.slice(10,12),c=0|n.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");r=0|n.slice(0,2),i=0|n.slice(2,4),s=0|n.slice(4,6),o=0|n.slice(6,8),a=0|n.slice(8,10),c=0|n.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,s,o,a,c,0)},l.prototype._decodeNull=function(){return null},l.prototype._decodeBool=function(e){const t=e.readUInt8();return e.isError(t)?t:0!==t},l.prototype._decodeInt=function(e,t){const n=e.raw();let r=new i(n);return t&&(r=t[r.toString(10)]||r),r},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},55439:function(e,t,n){"use strict";const r=t;r.der=n(75761),r.pem=n(33672)},33672:function(e,t,n){"use strict";const r=n(59503),i=n(82923).Buffer,s=n(75761);function o(e){s.call(this,e),this.enc="pem"}r(o,s),e.exports=o,o.prototype.decode=function(e,t){const n=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/;let a=-1,c=-1;for(let e=0;e<n.length;e++){const t=n[e].match(o);if(null!==t&&t[2]===r){if(-1!==a){if("END"!==t[1])break;c=e;break}if("BEGIN"!==t[1])break;a=e}}if(-1===a||-1===c)throw new Error("PEM section not found for: "+r);const l=n.slice(a+1,c).join("");l.replace(/[^a-z0-9+/=]+/gi,"");const u=i.from(l,"base64");return s.prototype.decode.call(this,u,t)}},18248:function(e,t,n){"use strict";const r=n(59503),i=n(82923).Buffer,s=n(24873),o=n(5598);function a(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){s.call(this,"der",e)}function l(e){return e<10?"0"+e:e}e.exports=a,a.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(c,s),c.prototype._encodeComposite=function(e,t,n,r){const s=function(e,t,n,r){let i;"seqof"===e?e="seq":"setof"===e&&(e="set");if(o.tagByName.hasOwnProperty(e))i=o.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}if(i>=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=o.tagClassByName[n||"universal"]<<6,i}(e,t,n,this.reporter);if(r.length<128){const e=i.alloc(2);return e[0]=s,e[1]=r.length,this._createEncoderBuffer([e,r])}let a=1;for(let e=r.length;e>=256;e>>=8)a++;const c=i.alloc(2+a);c[0]=s,c[1]=128|a;for(let e=1+a,t=r.length;t>0;e--,t>>=8)c[e]=255&t;return this._createEncoderBuffer([c,r])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let n=0;n<e.length;n++)t.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(t)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},c.prototype._encodeObjid=function(e,t,n){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s.]+/g);for(let t=0;t<e.length;t++)e[t]|=0}else if(Array.isArray(e)){e=e.slice();for(let t=0;t<e.length;t++)e[t]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!n){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let t=0;t<e.length;t++){let n=e[t];for(r++;n>=128;n>>=7)r++}const s=i.alloc(r);let o=s.length-1;for(let t=e.length-1;t>=0;t--){let n=e[t];for(s[o--]=127&n;(n>>=7)>0;)s[o--]=128|127&n}return this._createEncoderBuffer(s)},c.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[l(r.getUTCFullYear()),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[l(r.getUTCFullYear()%100),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=i.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let t=e;t>=256;t>>=8)n++;const r=new Array(n);for(let t=r.length-1;t>=0;t--)r[t]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r.default)return!1;const s=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,n).join()),s.length!==r.defaultBuffer.length)return!1;for(i=0;i<s.length;i++)if(s[i]!==r.defaultBuffer[i])return!1;return!0}},95411:function(e,t,n){"use strict";const r=t;r.der=n(18248),r.pem=n(51027)},51027:function(e,t,n){"use strict";const r=n(59503),i=n(18248);function s(e){i.call(this,e),this.enc="pem"}r(s,i),e.exports=s,s.prototype.encode=function(e,t){const n=i.prototype.encode.call(this,e).toString("base64"),r=["-----BEGIN "+t.label+"-----"];for(let e=0;e<n.length;e+=64)r.push(n.slice(e,e+64));return r.push("-----END "+t.label+"-----"),r.join("\n")}},90605:function(e,t,n){"use strict";var r=n(5806),i=n(55246);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var o,a,c=n(27452).codes,l=c.ERR_AMBIGUOUS_ARGUMENT,u=c.ERR_INVALID_ARG_TYPE,p=c.ERR_INVALID_ARG_VALUE,d=c.ERR_INVALID_RETURN_VALUE,h=c.ERR_MISSING_ARGS,f=n(71228),m=n(23333).inspect,g=n(23333).types,v=g.isPromise,b=g.isRegExp,y=Object.assign?Object.assign:n(45685).assign,k=Object.is?Object.is:n(88706);new Map;function w(){var e=n(81562);o=e.isDeepEqual,a=e.isDeepStrictEqual}var _=!1,E=e.exports=M,C={};function S(e){if(e.message instanceof Error)throw e.message;throw new f(e)}function j(e,t,n,r){if(!n){var i=!1;if(0===t)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var s=new f({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw s.generatedMessage=i,s}}function M(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];j.apply(void 0,[M,t.length].concat(t))}E.fail=function e(t,n,s,o,a){var c,l=arguments.length;if(0===l)c="Failed";else if(1===l)s=t,t=void 0;else{if(!1===_){_=!0;var u=r.emitWarning?r.emitWarning:i.warn.bind(i);u("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===l&&(o="!=")}if(s instanceof Error)throw s;var p={actual:t,expected:n,operator:void 0===o?"fail":o,stackStartFn:a||e};void 0!==s&&(p.message=s);var d=new f(p);throw c&&(d.message=c,d.generatedMessage=!0),d},E.AssertionError=f,E.ok=M,E.equal=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");t!=n&&S({actual:t,expected:n,message:r,operator:"==",stackStartFn:e})},E.notEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");t==n&&S({actual:t,expected:n,message:r,operator:"!=",stackStartFn:e})},E.deepEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===o&&w(),o(t,n)||S({actual:t,expected:n,message:r,operator:"deepEqual",stackStartFn:e})},E.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===o&&w(),o(t,n)&&S({actual:t,expected:n,message:r,operator:"notDeepEqual",stackStartFn:e})},E.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===o&&w(),a(t,n)||S({actual:t,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:e})},E.notDeepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");void 0===o&&w();a(t,n)&&S({actual:t,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:e})},E.strictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");k(t,n)||S({actual:t,expected:n,message:r,operator:"strictEqual",stackStartFn:e})},E.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h("actual","expected");k(t,n)&&S({actual:t,expected:n,message:r,operator:"notStrictEqual",stackStartFn:e})};var x=function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==r&&"string"==typeof r[e]&&b(t[e])&&t[e].test(r[e])?i[e]=r[e]:i[e]=t[e])}))};function N(e,t,n,r,i,s){if(!(n in e)||!a(e[n],t[n])){if(!r){var o=new x(e,i),c=new x(t,i,e),l=new f({actual:o,expected:c,operator:"deepStrictEqual",stackStartFn:s});throw l.actual=e,l.expected=t,l.operator=s.name,l}S({actual:e,expected:t,message:r,operator:s.name,stackStartFn:s})}}function A(e,t,n,r){if("function"!=typeof t){if(b(t))return t.test(e);if(2===arguments.length)throw new u("expected",["Function","RegExp"],t);if("object"!==s(e)||null===e){var i=new f({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:r});throw i.operator=r.name,i}var a=Object.keys(t);if(t instanceof Error)a.push("name","message");else if(0===a.length)throw new p("error",t,"may not be an empty object");return void 0===o&&w(),a.forEach((function(i){"string"==typeof e[i]&&b(t[i])&&t[i].test(e[i])||N(e,t,i,n,a,r)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function O(e){if("function"!=typeof e)throw new u("fn","Function",e);try{e()}catch(e){return e}return C}function T(e){return v(e)||null!==e&&"object"===s(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function P(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!T(t=e()))throw new d("instance of Promise","promiseFn",t)}else{if(!T(e))throw new u("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return C})).catch((function(e){return e}))}))}function I(e,t,n,r){if("string"==typeof n){if(4===arguments.length)throw new u("error",["Object","Error","Function","RegExp"],n);if("object"===s(t)&&null!==t){if(t.message===n)throw new l("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new l("error/message",'The error "'.concat(t,'" is identical to the message.'));r=n,n=void 0}else if(null!=n&&"object"!==s(n)&&"function"!=typeof n)throw new u("error",["Object","Error","Function","RegExp"],n);if(t===C){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=r?": ".concat(r):".";var o="rejects"===e.name?"rejection":"exception";S({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(o).concat(i),stackStartFn:e})}if(n&&!A(t,n,r,e))throw t}function R(e,t,n,r){if(t!==C){if("string"==typeof n&&(r=n,n=void 0),!n||A(t,n)){var i=r?": ".concat(r):".",s="doesNotReject"===e.name?"rejection":"exception";S({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(s).concat(i,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];j.apply(void 0,[U,t.length].concat(t))}E.throws=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];I.apply(void 0,[e,O(t)].concat(r))},E.rejects=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return P(t).then((function(t){return I.apply(void 0,[e,t].concat(r))}))},E.doesNotThrow=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];R.apply(void 0,[e,O(t)].concat(r))},E.doesNotReject=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return P(t).then((function(t){return R.apply(void 0,[e,t].concat(r))}))},E.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===s(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=m(t);var r=new f({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),i=t.stack;if("string"==typeof i){var o=i.split("\n");o.shift();for(var a=r.stack.split("\n"),c=0;c<o.length;c++){var l=a.indexOf(o[c]);if(-1!==l){a=a.slice(0,l);break}}r.stack="".concat(a.join("\n"),"\n").concat(o.join("\n"))}throw r}},E.strict=y(U,E,{equal:E.strictEqual,deepEqual:E.deepStrictEqual,notEqual:E.notStrictEqual,notDeepEqual:E.notDeepStrictEqual}),E.strict.strict=E.strict},71228:function(e,t,n){"use strict";var r=n(5806);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?a(e):t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;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,r)}function r(){return u(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)},c(e)}function l(){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 u(e,t,n){return u=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&p(i,n.prototype),i},u.apply(null,arguments)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var f=n(23333).inspect,m=n(27452).codes.ERR_INVALID_ARG_TYPE;function g(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var v="",b="",y="",k="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function _(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function E(e){return f(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function C(e,t,n){var i="",s="",o=0,a="",c=!1,l=E(e),u=l.split("\n"),p=E(t).split("\n"),d=0,f="";if("strictEqual"===n&&"object"===h(e)&&"object"===h(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===u.length&&1===p.length&&u[0]!==p[0]){var m=u[0].length+p[0].length;if(m<=10){if(!("object"===h(e)&&null!==e||"object"===h(t)&&null!==t||0===e&&0===t))return"".concat(w[n],"\n\n")+"".concat(u[0]," !== ").concat(p[0],"\n")}else if("strictEqualObject"!==n){if(m<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;u[0][d]===p[0][d];)d++;d>2&&(f="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",d),"^"),d=0)}}}for(var _=u[u.length-1],C=p[p.length-1];_===C&&(d++<2?a="\n ".concat(_).concat(a):i=_,u.pop(),p.pop(),0!==u.length&&0!==p.length);)_=u[u.length-1],C=p[p.length-1];var S=Math.max(u.length,p.length);if(0===S){var j=l.split("\n");if(j.length>30)for(j[26]="".concat(v,"...").concat(k);j.length>27;)j.pop();return"".concat(w.notIdentical,"\n\n").concat(j.join("\n"),"\n")}d>3&&(a="\n".concat(v,"...").concat(k).concat(a),c=!0),""!==i&&(a="\n ".concat(i).concat(a),i="");var M=0,x=w[n]+"\n".concat(b,"+ actual").concat(k," ").concat(y,"- expected").concat(k),N=" ".concat(v,"...").concat(k," Lines skipped");for(d=0;d<S;d++){var A=d-o;if(u.length<d+1)A>1&&d>2&&(A>4?(s+="\n".concat(v,"...").concat(k),c=!0):A>3&&(s+="\n ".concat(p[d-2]),M++),s+="\n ".concat(p[d-1]),M++),o=d,i+="\n".concat(y,"-").concat(k," ").concat(p[d]),M++;else if(p.length<d+1)A>1&&d>2&&(A>4?(s+="\n".concat(v,"...").concat(k),c=!0):A>3&&(s+="\n ".concat(u[d-2]),M++),s+="\n ".concat(u[d-1]),M++),o=d,s+="\n".concat(b,"+").concat(k," ").concat(u[d]),M++;else{var O=p[d],T=u[d],P=T!==O&&(!g(T,",")||T.slice(0,-1)!==O);P&&g(O,",")&&O.slice(0,-1)===T&&(P=!1,T+=","),P?(A>1&&d>2&&(A>4?(s+="\n".concat(v,"...").concat(k),c=!0):A>3&&(s+="\n ".concat(u[d-2]),M++),s+="\n ".concat(u[d-1]),M++),o=d,s+="\n".concat(b,"+").concat(k," ").concat(T),i+="\n".concat(y,"-").concat(k," ").concat(O),M+=2):(s+=i,i="",1!==A&&0!==d||(s+="\n ".concat(T),M++))}if(M>20&&d<S-2)return"".concat(x).concat(N,"\n").concat(s,"\n").concat(v,"...").concat(k).concat(i,"\n")+"".concat(v,"...").concat(k)}return"".concat(x).concat(c?N:"","\n").concat(s).concat(i).concat(a).concat(f)}var S=function(e){function t(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==h(e)||null===e)throw new m("options","Object",e);var i=e.message,s=e.operator,c=e.stackStartFn,l=e.actual,u=e.expected,p=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=i)n=o(this,d(t).call(this,String(i)));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&1!==r.stderr.getColorDepth()?(v="",b="",k="",y=""):(v="",b="",k="",y="")),"object"===h(l)&&null!==l&&"object"===h(u)&&null!==u&&"stack"in l&&l instanceof Error&&"stack"in u&&u instanceof Error&&(l=_(l),u=_(u)),"deepStrictEqual"===s||"strictEqual"===s)n=o(this,d(t).call(this,C(l,u,s)));else if("notDeepStrictEqual"===s||"notStrictEqual"===s){var f=w[s],g=E(l).split("\n");if("notStrictEqual"===s&&"object"===h(l)&&null!==l&&(f=w.notStrictEqualObject),g.length>30)for(g[26]="".concat(v,"...").concat(k);g.length>27;)g.pop();n=1===g.length?o(this,d(t).call(this,"".concat(f," ").concat(g[0]))):o(this,d(t).call(this,"".concat(f,"\n\n").concat(g.join("\n"),"\n")))}else{var S=E(l),j="",M=w[s];"notDeepEqual"===s||"notEqual"===s?(S="".concat(w[s],"\n\n").concat(S)).length>1024&&(S="".concat(S.slice(0,1021),"...")):(j="".concat(E(u)),S.length>512&&(S="".concat(S.slice(0,509),"...")),j.length>512&&(j="".concat(j.slice(0,509),"...")),"deepEqual"===s||"equal"===s?S="".concat(M,"\n\n").concat(S,"\n\nshould equal\n\n"):j=" ".concat(s," ").concat(j)),n=o(this,d(t).call(this,"".concat(S).concat(j)))}return Error.stackTraceLimit=p,n.generatedMessage=!i,Object.defineProperty(a(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=l,n.expected=u,n.operator=s,Error.captureStackTrace&&Error.captureStackTrace(a(n),c),n.stack,n.name="AssertionError",o(n)}var n,c,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,c=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:f.custom,value:function(e,t){return f(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],c&&s(n.prototype,c),l&&s(n,l),t}(c(Error));e.exports=S},27452:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var a,c,l={};function u(e,t,n){n||(n=Error);var r=function(n){function r(n,o,a){var c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),c=i(this,s(r).call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,o,a))),c.code=e,c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(r,n),r}(n);l[e]=r}function p(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",(function(e,t,i){var s,o,c,l;if(void 0===a&&(a=n(90605)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(o="not ",t.substr(!c||c<0?0:+c,o.length)===o)?(s="must not be",t=t.replace(/^not /,"")):s="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))l="The ".concat(e," ").concat(s," ").concat(p(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";l='The "'.concat(e,'" ').concat(u," ").concat(s," ").concat(p(t,"type"))}return l+=". Received type ".concat(r(i))}),TypeError),u("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=n(23333));var i=c.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(i)}),TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var i;return i=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")}),TypeError),u("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===a&&(a=n(90605)),a(t.length>0,"At least one arg needs to be specified");var i="The ",s=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),s){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,s-1).join(", "),i+=", and ".concat(t[s-1]," arguments")}return"".concat(i," must be specified")}),TypeError),e.exports.codes=l},81562:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],_n=!0,r=!1,i=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,i=e}finally{try{_n||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var s=void 0!==/a/g.flags,o=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},a=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},c=Object.is?Object.is:n(88706),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},u=Number.isNaN?Number.isNaN:n(17614);function p(e){return e.call.bind(e)}var d=p(Object.prototype.hasOwnProperty),h=p(Object.prototype.propertyIsEnumerable),f=p(Object.prototype.toString),m=n(23333).types,g=m.isAnyArrayBuffer,v=m.isArrayBufferView,b=m.isDate,y=m.isMap,k=m.isRegExp,w=m.isSet,_=m.isNativeError,E=m.isBoxedPrimitive,C=m.isNumberObject,S=m.isStringObject,j=m.isBooleanObject,M=m.isBigIntObject,x=m.isSymbolObject,N=m.isFloat32Array,A=m.isFloat64Array;function O(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function T(e){return Object.keys(e).filter(O).concat(l(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function P(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);i<s;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function I(e,t,n,r){if(e===t)return 0!==e||(!n||c(e,t));if(n){if("object"!==i(e))return"number"==typeof e&&u(e)&&u(t);if("object"!==i(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==i(e))return(null===t||"object"!==i(t))&&e==t;if(null===t||"object"!==i(t))return!1}var o,a,l,p,d=f(e);if(d!==f(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var h=T(e),m=T(t);return h.length===m.length&&U(e,t,n,r,1,h)}if("[object Object]"===d&&(!y(e)&&y(t)||!w(e)&&w(t)))return!1;if(b(e)){if(!b(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(k(e)){if(!k(t)||(l=e,p=t,!(s?l.source===p.source&&l.flags===p.flags:RegExp.prototype.toString.call(l)===RegExp.prototype.toString.call(p))))return!1}else if(_(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(v(e)){if(n||!N(e)&&!A(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===P(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var O=T(e),I=T(t);return O.length===I.length&&U(e,t,n,r,0,O)}if(w(e))return!(!w(t)||e.size!==t.size)&&U(e,t,n,r,2);if(y(e))return!(!y(t)||e.size!==t.size)&&U(e,t,n,r,3);if(g(e)){if(a=t,(o=e).byteLength!==a.byteLength||0!==P(new Uint8Array(o),new Uint8Array(a)))return!1}else if(E(e)&&!function(e,t){return C(e)?C(t)&&c(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):S(e)?S(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):j(e)?j(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):M(e)?M(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):x(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return U(e,t,n,r,0)}function R(e,t){return t.filter((function(t){return h(e,t)}))}function U(e,t,n,r,i,s){if(5===arguments.length){s=Object.keys(e);var o=Object.keys(t);if(s.length!==o.length)return!1}for(var a=0;a<s.length;a++)if(!d(t,s[a]))return!1;if(n&&5===arguments.length){var c=l(e);if(0!==c.length){var u=0;for(a=0;a<c.length;a++){var p=c[a];if(h(e,p)){if(!h(t,p))return!1;s.push(p),u++}else if(h(t,p))return!1}var f=l(t);if(c.length!==f.length&&R(t,f).length!==u)return!1}else{var m=l(t);if(0!==m.length&&0!==R(t,m).length)return!1}}if(0===s.length&&(0===i||1===i&&0===e.length||0===e.size))return!0;if(void 0===r)r={val1:new Map,val2:new Map,position:0};else{var g=r.val1.get(e);if(void 0!==g){var v=r.val2.get(t);if(void 0!==v)return g===v}r.position++}r.val1.set(e,r.position),r.val2.set(t,r.position);var b=F(e,t,n,s,r,i);return r.val1.delete(e),r.val2.delete(t),b}function Z(e,t,n,r){for(var i=o(e),s=0;s<i.length;s++){var a=i[s];if(I(t,a,n,r))return e.delete(a),!0}return!1}function D(e){switch(i(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(u(e))return!1}return!0}function L(e,t,n){var r=D(n);return null!=r?r:t.has(r)&&!e.has(r)}function z(e,t,n,r,i){var s=D(n);if(null!=s)return s;var o=t.get(s);return!(void 0===o&&!t.has(s)||!I(r,o,!1,i))&&(!e.has(s)&&I(r,o,!1,i))}function B(e,t,n,r,i,s){for(var a=o(e),c=0;c<a.length;c++){var l=a[c];if(I(n,l,i,s)&&I(r,t.get(l),i,s))return e.delete(l),!0}return!1}function F(e,t,n,s,c,l){var u=0;if(2===l){if(!function(e,t,n,r){for(var s=null,a=o(e),c=0;c<a.length;c++){var l=a[c];if("object"===i(l)&&null!==l)null===s&&(s=new Set),s.add(l);else if(!t.has(l)){if(n)return!1;if(!L(e,t,l))return!1;null===s&&(s=new Set),s.add(l)}}if(null!==s){for(var u=o(t),p=0;p<u.length;p++){var d=u[p];if("object"===i(d)&&null!==d){if(!Z(s,d,n,r))return!1}else if(!n&&!e.has(d)&&!Z(s,d,n,r))return!1}return 0===s.size}return!0}(e,t,n,c))return!1}else if(3===l){if(!function(e,t,n,s){for(var o=null,c=a(e),l=0;l<c.length;l++){var u=r(c[l],2),p=u[0],d=u[1];if("object"===i(p)&&null!==p)null===o&&(o=new Set),o.add(p);else{var h=t.get(p);if(void 0===h&&!t.has(p)||!I(d,h,n,s)){if(n)return!1;if(!z(e,t,p,d,s))return!1;null===o&&(o=new Set),o.add(p)}}}if(null!==o){for(var f=a(t),m=0;m<f.length;m++){var g=r(f[m],2),v=(p=g[0],g[1]);if("object"===i(p)&&null!==p){if(!B(o,e,p,v,n,s))return!1}else if(!(n||e.has(p)&&I(e.get(p),v,!1,s)||B(o,e,p,v,!1,s)))return!1}return 0===o.size}return!0}(e,t,n,c))return!1}else if(1===l)for(;u<e.length;u++){if(!d(e,u)){if(d(t,u))return!1;for(var p=Object.keys(e);u<p.length;u++){var h=p[u];if(!d(t,h)||!I(e[h],t[h],n,c))return!1}return p.length===Object.keys(t).length}if(!d(t,u)||!I(e[u],t[u],n,c))return!1}for(u=0;u<s.length;u++){var f=s[u];if(!I(e[f],t[f],n,c))return!1}return!0}e.exports={isDeepEqual:function(e,t){return I(e,t,false)},isDeepStrictEqual:function(e,t){return I(e,t,true)}}},6670:function(e,t,n){e.exports={default:n(92916),__esModule:!0}},62803:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,s=c(e),o=s[0],a=s[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,o,a)),u=0,p=a>0?o-4:o;for(n=0;n<p;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===a&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===a&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,s=[],o=16383,a=0,c=r-i;a<c;a+=o)s.push(l(e,a,a+o>c?c:a+o));1===i?(t=e[r-1],s.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],s.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return s.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=s.length;o<a;++o)n[o]=s[o],r[s.charCodeAt(o)]=o;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var i,s,o=[],a=t;a<r;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(n[(s=i)>>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]);return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},30910:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function s(e,t,n){if(s.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var o;"object"==typeof e?e.exports=s:t.BN=s,s.BN=s,s.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(56095).Buffer}catch(e){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function c(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,r){for(var i=0,s=Math.min(e.length,n),o=t;o<s;o++){var a=e.charCodeAt(o)-48;i*=r,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},s.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},s.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var s,o,a=0;if("be"===n)for(i=e.length-1,s=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===n)for(i=0,s=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,s=0,o=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=c(e,t,r)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;else for(r=(e.length-t)%2==0?t+1:t;r<e.length;r+=2)i=c(e,t,r)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;this.strip()},s.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var s=e.length-n,o=s%r,a=Math.min(s,s-o)+n,c=0,u=n;u<a;u+=r)c=l(e,u,u+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==o){var p=1;for(c=l(e,u,e.length,t),u=0;u<o;u++)p*=t;this.imuln(p),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},s.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},s.prototype.clone=function(){var e=new s(null);return this.copy(e),e},s.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],s=0|t.words[0],o=i*s,a=67108863&o,c=o/67108864|0;n.words[0]=a;for(var l=1;l<r;l++){for(var u=c>>>26,p=67108863&c,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var f=l-h|0;u+=(o=(i=0|e.words[f])*(s=0|t.words[h])+p)/67108864|0,p=67108863&o}n.words[l]=0|p,c=0|u}return 0!==c?n.words[l]=0|c:n.length--,n.strip()}s.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,s=0,o=0;o<this.length;o++){var a=this.words[o],c=(16777215&(a<<i|s)).toString(16);n=0!==(s=a>>>24-i&16777215)||o!==this.length-1?u[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,o--)}for(0!==s&&(n=s.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=p[e],h=d[e];n="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modn(h).toString(e);n=(f=f.idivn(h)).isZero()?m+n:u[l-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return r(void 0!==o),this.toArrayLike(o,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),s=n||Math.max(1,i);r(i<=s,"byte array longer than desired length"),r(s>0,"Requested array length <= 0"),this.strip();var o,a,c="le"===t,l=new e(s),u=this.clone();if(c){for(a=0;!u.isZero();a++)o=u.andln(255),u.iushrn(8),l[a]=o;for(;a<s;a++)l[a]=0}else{for(a=0;a<s-i;a++)l[a]=0;for(a=0;!u.isZero();a++)o=u.andln(255),u.iushrn(8),l[s-a-1]=o}return l},Math.clz32?s.prototype._countBits=function(e){return 32-Math.clz32(e)}:s.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},s.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},s.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},s.prototype.ior=function(e){return r(0==(this.negative|e.negative)),this.iuor(e)},s.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},s.prototype.iand=function(e){return r(0==(this.negative|e.negative)),this.iuand(e)},s.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},s.prototype.ixor=function(e){return r(0==(this.negative|e.negative)),this.iuxor(e)},s.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},s.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,s=0;s<r.length;s++)t=(0|n.words[s])+(0|r.words[s])+i,this.words[s]=67108863&t,i=t>>>26;for(;0!==i&&s<n.length;s++)t=(0|n.words[s])+i,this.words[s]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this},s.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var s=0,o=0;o<r.length;o++)s=(t=(0|n.words[o])-(0|r.words[o])+s)>>26,this.words[o]=67108863&t;for(;0!==s&&o<n.length;o++)s=(t=(0|n.words[o])+s)>>26,this.words[o]=67108863&t;if(0===s&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,n){var r,i,s,o=e.words,a=t.words,c=n.words,l=0,u=0|o[0],p=8191&u,d=u>>>13,h=0|o[1],f=8191&h,m=h>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],k=8191&y,w=y>>>13,_=0|o[4],E=8191&_,C=_>>>13,S=0|o[5],j=8191&S,M=S>>>13,x=0|o[6],N=8191&x,A=x>>>13,O=0|o[7],T=8191&O,P=O>>>13,I=0|o[8],R=8191&I,U=I>>>13,Z=0|o[9],D=8191&Z,L=Z>>>13,z=0|a[0],B=8191&z,F=z>>>13,V=0|a[1],q=8191&V,H=V>>>13,W=0|a[2],$=8191&W,J=W>>>13,K=0|a[3],G=8191&K,Y=K>>>13,X=0|a[4],Q=8191&X,ee=X>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],se=8191&ie,oe=ie>>>13,ae=0|a[7],ce=8191&ae,le=ae>>>13,ue=0|a[8],pe=8191&ue,de=ue>>>13,he=0|a[9],fe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(l+(r=Math.imul(p,B))|0)+((8191&(i=(i=Math.imul(p,F))+Math.imul(d,B)|0))<<13)|0;l=((s=Math.imul(d,F))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(f,B),i=(i=Math.imul(f,F))+Math.imul(m,B)|0,s=Math.imul(m,F);var ve=(l+(r=r+Math.imul(p,q)|0)|0)+((8191&(i=(i=i+Math.imul(p,H)|0)+Math.imul(d,q)|0))<<13)|0;l=((s=s+Math.imul(d,H)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,B),i=(i=Math.imul(v,F))+Math.imul(b,B)|0,s=Math.imul(b,F),r=r+Math.imul(f,q)|0,i=(i=i+Math.imul(f,H)|0)+Math.imul(m,q)|0,s=s+Math.imul(m,H)|0;var be=(l+(r=r+Math.imul(p,$)|0)|0)+((8191&(i=(i=i+Math.imul(p,J)|0)+Math.imul(d,$)|0))<<13)|0;l=((s=s+Math.imul(d,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(k,B),i=(i=Math.imul(k,F))+Math.imul(w,B)|0,s=Math.imul(w,F),r=r+Math.imul(v,q)|0,i=(i=i+Math.imul(v,H)|0)+Math.imul(b,q)|0,s=s+Math.imul(b,H)|0,r=r+Math.imul(f,$)|0,i=(i=i+Math.imul(f,J)|0)+Math.imul(m,$)|0,s=s+Math.imul(m,J)|0;var ye=(l+(r=r+Math.imul(p,G)|0)|0)+((8191&(i=(i=i+Math.imul(p,Y)|0)+Math.imul(d,G)|0))<<13)|0;l=((s=s+Math.imul(d,Y)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(E,B),i=(i=Math.imul(E,F))+Math.imul(C,B)|0,s=Math.imul(C,F),r=r+Math.imul(k,q)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(w,q)|0,s=s+Math.imul(w,H)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(b,$)|0,s=s+Math.imul(b,J)|0,r=r+Math.imul(f,G)|0,i=(i=i+Math.imul(f,Y)|0)+Math.imul(m,G)|0,s=s+Math.imul(m,Y)|0;var ke=(l+(r=r+Math.imul(p,Q)|0)|0)+((8191&(i=(i=i+Math.imul(p,ee)|0)+Math.imul(d,Q)|0))<<13)|0;l=((s=s+Math.imul(d,ee)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(j,B),i=(i=Math.imul(j,F))+Math.imul(M,B)|0,s=Math.imul(M,F),r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(C,q)|0,s=s+Math.imul(C,H)|0,r=r+Math.imul(k,$)|0,i=(i=i+Math.imul(k,J)|0)+Math.imul(w,$)|0,s=s+Math.imul(w,J)|0,r=r+Math.imul(v,G)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(b,G)|0,s=s+Math.imul(b,Y)|0,r=r+Math.imul(f,Q)|0,i=(i=i+Math.imul(f,ee)|0)+Math.imul(m,Q)|0,s=s+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(p,ne)|0)|0)+((8191&(i=(i=i+Math.imul(p,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((s=s+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(N,B),i=(i=Math.imul(N,F))+Math.imul(A,B)|0,s=Math.imul(A,F),r=r+Math.imul(j,q)|0,i=(i=i+Math.imul(j,H)|0)+Math.imul(M,q)|0,s=s+Math.imul(M,H)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,J)|0)+Math.imul(C,$)|0,s=s+Math.imul(C,J)|0,r=r+Math.imul(k,G)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(w,G)|0,s=s+Math.imul(w,Y)|0,r=r+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(b,Q)|0,s=s+Math.imul(b,ee)|0,r=r+Math.imul(f,ne)|0,i=(i=i+Math.imul(f,re)|0)+Math.imul(m,ne)|0,s=s+Math.imul(m,re)|0;var _e=(l+(r=r+Math.imul(p,se)|0)|0)+((8191&(i=(i=i+Math.imul(p,oe)|0)+Math.imul(d,se)|0))<<13)|0;l=((s=s+Math.imul(d,oe)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(T,B),i=(i=Math.imul(T,F))+Math.imul(P,B)|0,s=Math.imul(P,F),r=r+Math.imul(N,q)|0,i=(i=i+Math.imul(N,H)|0)+Math.imul(A,q)|0,s=s+Math.imul(A,H)|0,r=r+Math.imul(j,$)|0,i=(i=i+Math.imul(j,J)|0)+Math.imul(M,$)|0,s=s+Math.imul(M,J)|0,r=r+Math.imul(E,G)|0,i=(i=i+Math.imul(E,Y)|0)+Math.imul(C,G)|0,s=s+Math.imul(C,Y)|0,r=r+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(w,Q)|0,s=s+Math.imul(w,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(b,ne)|0,s=s+Math.imul(b,re)|0,r=r+Math.imul(f,se)|0,i=(i=i+Math.imul(f,oe)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,oe)|0;var Ee=(l+(r=r+Math.imul(p,ce)|0)|0)+((8191&(i=(i=i+Math.imul(p,le)|0)+Math.imul(d,ce)|0))<<13)|0;l=((s=s+Math.imul(d,le)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(R,B),i=(i=Math.imul(R,F))+Math.imul(U,B)|0,s=Math.imul(U,F),r=r+Math.imul(T,q)|0,i=(i=i+Math.imul(T,H)|0)+Math.imul(P,q)|0,s=s+Math.imul(P,H)|0,r=r+Math.imul(N,$)|0,i=(i=i+Math.imul(N,J)|0)+Math.imul(A,$)|0,s=s+Math.imul(A,J)|0,r=r+Math.imul(j,G)|0,i=(i=i+Math.imul(j,Y)|0)+Math.imul(M,G)|0,s=s+Math.imul(M,Y)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(C,Q)|0,s=s+Math.imul(C,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(w,ne)|0,s=s+Math.imul(w,re)|0,r=r+Math.imul(v,se)|0,i=(i=i+Math.imul(v,oe)|0)+Math.imul(b,se)|0,s=s+Math.imul(b,oe)|0,r=r+Math.imul(f,ce)|0,i=(i=i+Math.imul(f,le)|0)+Math.imul(m,ce)|0,s=s+Math.imul(m,le)|0;var Ce=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,de)|0)+Math.imul(d,pe)|0))<<13)|0;l=((s=s+Math.imul(d,de)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(D,B),i=(i=Math.imul(D,F))+Math.imul(L,B)|0,s=Math.imul(L,F),r=r+Math.imul(R,q)|0,i=(i=i+Math.imul(R,H)|0)+Math.imul(U,q)|0,s=s+Math.imul(U,H)|0,r=r+Math.imul(T,$)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(P,$)|0,s=s+Math.imul(P,J)|0,r=r+Math.imul(N,G)|0,i=(i=i+Math.imul(N,Y)|0)+Math.imul(A,G)|0,s=s+Math.imul(A,Y)|0,r=r+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,ee)|0)+Math.imul(M,Q)|0,s=s+Math.imul(M,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(C,ne)|0,s=s+Math.imul(C,re)|0,r=r+Math.imul(k,se)|0,i=(i=i+Math.imul(k,oe)|0)+Math.imul(w,se)|0,s=s+Math.imul(w,oe)|0,r=r+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(b,ce)|0,s=s+Math.imul(b,le)|0,r=r+Math.imul(f,pe)|0,i=(i=i+Math.imul(f,de)|0)+Math.imul(m,pe)|0,s=s+Math.imul(m,de)|0;var Se=(l+(r=r+Math.imul(p,fe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(d,fe)|0))<<13)|0;l=((s=s+Math.imul(d,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(D,q),i=(i=Math.imul(D,H))+Math.imul(L,q)|0,s=Math.imul(L,H),r=r+Math.imul(R,$)|0,i=(i=i+Math.imul(R,J)|0)+Math.imul(U,$)|0,s=s+Math.imul(U,J)|0,r=r+Math.imul(T,G)|0,i=(i=i+Math.imul(T,Y)|0)+Math.imul(P,G)|0,s=s+Math.imul(P,Y)|0,r=r+Math.imul(N,Q)|0,i=(i=i+Math.imul(N,ee)|0)+Math.imul(A,Q)|0,s=s+Math.imul(A,ee)|0,r=r+Math.imul(j,ne)|0,i=(i=i+Math.imul(j,re)|0)+Math.imul(M,ne)|0,s=s+Math.imul(M,re)|0,r=r+Math.imul(E,se)|0,i=(i=i+Math.imul(E,oe)|0)+Math.imul(C,se)|0,s=s+Math.imul(C,oe)|0,r=r+Math.imul(k,ce)|0,i=(i=i+Math.imul(k,le)|0)+Math.imul(w,ce)|0,s=s+Math.imul(w,le)|0,r=r+Math.imul(v,pe)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(b,pe)|0,s=s+Math.imul(b,de)|0;var je=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(m,fe)|0))<<13)|0;l=((s=s+Math.imul(m,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(D,$),i=(i=Math.imul(D,J))+Math.imul(L,$)|0,s=Math.imul(L,J),r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(U,G)|0,s=s+Math.imul(U,Y)|0,r=r+Math.imul(T,Q)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(P,Q)|0,s=s+Math.imul(P,ee)|0,r=r+Math.imul(N,ne)|0,i=(i=i+Math.imul(N,re)|0)+Math.imul(A,ne)|0,s=s+Math.imul(A,re)|0,r=r+Math.imul(j,se)|0,i=(i=i+Math.imul(j,oe)|0)+Math.imul(M,se)|0,s=s+Math.imul(M,oe)|0,r=r+Math.imul(E,ce)|0,i=(i=i+Math.imul(E,le)|0)+Math.imul(C,ce)|0,s=s+Math.imul(C,le)|0,r=r+Math.imul(k,pe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(w,pe)|0,s=s+Math.imul(w,de)|0;var Me=(l+(r=r+Math.imul(v,fe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(b,fe)|0))<<13)|0;l=((s=s+Math.imul(b,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(D,G),i=(i=Math.imul(D,Y))+Math.imul(L,G)|0,s=Math.imul(L,Y),r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(U,Q)|0,s=s+Math.imul(U,ee)|0,r=r+Math.imul(T,ne)|0,i=(i=i+Math.imul(T,re)|0)+Math.imul(P,ne)|0,s=s+Math.imul(P,re)|0,r=r+Math.imul(N,se)|0,i=(i=i+Math.imul(N,oe)|0)+Math.imul(A,se)|0,s=s+Math.imul(A,oe)|0,r=r+Math.imul(j,ce)|0,i=(i=i+Math.imul(j,le)|0)+Math.imul(M,ce)|0,s=s+Math.imul(M,le)|0,r=r+Math.imul(E,pe)|0,i=(i=i+Math.imul(E,de)|0)+Math.imul(C,pe)|0,s=s+Math.imul(C,de)|0;var xe=(l+(r=r+Math.imul(k,fe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(w,fe)|0))<<13)|0;l=((s=s+Math.imul(w,me)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(D,Q),i=(i=Math.imul(D,ee))+Math.imul(L,Q)|0,s=Math.imul(L,ee),r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(U,ne)|0,s=s+Math.imul(U,re)|0,r=r+Math.imul(T,se)|0,i=(i=i+Math.imul(T,oe)|0)+Math.imul(P,se)|0,s=s+Math.imul(P,oe)|0,r=r+Math.imul(N,ce)|0,i=(i=i+Math.imul(N,le)|0)+Math.imul(A,ce)|0,s=s+Math.imul(A,le)|0,r=r+Math.imul(j,pe)|0,i=(i=i+Math.imul(j,de)|0)+Math.imul(M,pe)|0,s=s+Math.imul(M,de)|0;var Ne=(l+(r=r+Math.imul(E,fe)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(C,fe)|0))<<13)|0;l=((s=s+Math.imul(C,me)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(D,ne),i=(i=Math.imul(D,re))+Math.imul(L,ne)|0,s=Math.imul(L,re),r=r+Math.imul(R,se)|0,i=(i=i+Math.imul(R,oe)|0)+Math.imul(U,se)|0,s=s+Math.imul(U,oe)|0,r=r+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,le)|0)+Math.imul(P,ce)|0,s=s+Math.imul(P,le)|0,r=r+Math.imul(N,pe)|0,i=(i=i+Math.imul(N,de)|0)+Math.imul(A,pe)|0,s=s+Math.imul(A,de)|0;var Ae=(l+(r=r+Math.imul(j,fe)|0)|0)+((8191&(i=(i=i+Math.imul(j,me)|0)+Math.imul(M,fe)|0))<<13)|0;l=((s=s+Math.imul(M,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(D,se),i=(i=Math.imul(D,oe))+Math.imul(L,se)|0,s=Math.imul(L,oe),r=r+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(U,ce)|0,s=s+Math.imul(U,le)|0,r=r+Math.imul(T,pe)|0,i=(i=i+Math.imul(T,de)|0)+Math.imul(P,pe)|0,s=s+Math.imul(P,de)|0;var Oe=(l+(r=r+Math.imul(N,fe)|0)|0)+((8191&(i=(i=i+Math.imul(N,me)|0)+Math.imul(A,fe)|0))<<13)|0;l=((s=s+Math.imul(A,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(D,ce),i=(i=Math.imul(D,le))+Math.imul(L,ce)|0,s=Math.imul(L,le),r=r+Math.imul(R,pe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(U,pe)|0,s=s+Math.imul(U,de)|0;var Te=(l+(r=r+Math.imul(T,fe)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(P,fe)|0))<<13)|0;l=((s=s+Math.imul(P,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(D,pe),i=(i=Math.imul(D,de))+Math.imul(L,pe)|0,s=Math.imul(L,de);var Pe=(l+(r=r+Math.imul(R,fe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(U,fe)|0))<<13)|0;l=((s=s+Math.imul(U,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863;var Ie=(l+(r=Math.imul(D,fe))|0)+((8191&(i=(i=Math.imul(D,me))+Math.imul(L,fe)|0))<<13)|0;return l=((s=Math.imul(L,me))+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,c[0]=ge,c[1]=ve,c[2]=be,c[3]=ye,c[4]=ke,c[5]=we,c[6]=_e,c[7]=Ee,c[8]=Ce,c[9]=Se,c[10]=je,c[11]=Me,c[12]=xe,c[13]=Ne,c[14]=Ae,c[15]=Oe,c[16]=Te,c[17]=Pe,c[18]=Ie,0!==l&&(c[19]=l,n.length++),n};function m(e,t,n){return(new g).mulp(e,t,n)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=h),s.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?f(this,e,t):r<63?h(this,e,t):r<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,s=0;s<n.length-1;s++){var o=i;i=0;for(var a=67108863&r,c=Math.min(s,t.length-1),l=Math.max(0,s-e.length+1);l<=c;l++){var u=s-l,p=(0|e.words[u])*(0|t.words[l]),d=67108863&p;a=67108863&(d=d+a|0),i+=(o=(o=o+(p/67108864|0)|0)+(d>>>26)|0)>>>26,o&=67108863}n.words[s]=a,r=o,o=i}return 0!==r?n.words[s]=r:n.length--,n.strip()}(this,e,t):m(this,e,t),n},g.prototype.makeRBT=function(e){for(var t=new Array(e),n=s.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},g.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},g.prototype.permute=function(e,t,n,r,i,s){for(var o=0;o<s;o++)r[o]=t[e[o]],i[o]=n[e[o]]},g.prototype.transform=function(e,t,n,r,i,s){this.permute(s,e,t,n,r,i);for(var o=1;o<i;o<<=1)for(var a=o<<1,c=Math.cos(2*Math.PI/a),l=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var p=c,d=l,h=0;h<o;h++){var f=n[u+h],m=r[u+h],g=n[u+h+o],v=r[u+h+o],b=p*g-d*v;v=p*v+d*g,g=b,n[u+h]=f+g,r[u+h]=m+v,n[u+h+o]=f-g,r[u+h+o]=m-v,h!==a&&(b=c*p-l*d,d=c*d+l*p,p=b)}},g.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},g.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,i){for(var s=0,o=0;o<t;o++)s+=0|e[o],n[2*o]=8191&s,s>>>=13,n[2*o+1]=8191&s,s>>>=13;for(o=2*t;o<i;++o)n[o]=0;r(0===s),r(0==(-8192&s))},g.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},g.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),s=this.stub(r),o=new Array(r),a=new Array(r),c=new Array(r),l=new Array(r),u=new Array(r),p=new Array(r),d=n.words;d.length=r,this.convert13b(e.words,e.length,o,r),this.convert13b(t.words,t.length,l,r),this.transform(o,s,a,c,r,i),this.transform(l,s,u,p,r,i);for(var h=0;h<r;h++){var f=a[h]*u[h]-c[h]*p[h];c[h]=a[h]*p[h]+c[h]*u[h],a[h]=f}return this.conjugate(a,c,r),this.transform(a,c,d,s,r,i),this.conjugate(d,s,r),this.normalize13b(d,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},s.prototype.mul=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},s.prototype.mulf=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),m(this,e,t)},s.prototype.imul=function(e){return this.clone().mulTo(e,this)},s.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,s=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=s>>>26,this.words[n]=67108863&s}return 0!==t&&(this.words[n]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}(e);if(0===t.length)return new s(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},s.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,s=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&s,c=(0|this.words[t])-a<<n;this.words[t]=c|o,o=a>>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},s.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var s=e%26,o=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<<s,c=n;if(i-=o,i=Math.max(0,i),c){for(var l=0;l<o;l++)c.words[l]=this.words[l];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var u=0;for(l=this.length-1;l>=0&&(0!==u||l>=i);l--){var p=0|this.words[l];this.words[l]=u<<26-s|p>>>s,u=p&a}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},s.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},s.prototype.maskn=function(e){return this.clone().imaskn(e)},s.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},s.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},s.prototype.addn=function(e){return this.clone().iaddn(e)},s.prototype.subn=function(e){return this.clone().isubn(e)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(e,t,n){var i,s,o=e.length+n;this._expand(o);var a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&s}for(;i<this.length-n;i++)a=(s=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&s;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,o=0|i.words[i.length-1];0!==(n=26-this._countBits(o))&&(i=i.ushln(n),r.iushln(n),o=0|i.words[i.length-1]);var a,c=r.length-i.length;if("mod"!==t){(a=new s(null)).length=c+1,a.words=new Array(a.length);for(var l=0;l<a.length;l++)a.words[l]=0}var u=r.clone()._ishlnsubmul(i,1,c);0===u.negative&&(r=u,a&&(a.words[c]=1));for(var p=c-1;p>=0;p--){var d=67108864*(0|r.words[i.length+p])+(0|r.words[i.length+p-1]);for(d=Math.min(d/o|0,67108863),r._ishlnsubmul(i,d,p);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,p),r.isZero()||(r.negative^=1);a&&(a.words[p]=d)}return a&&a.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},s.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(o=a.mod.neg(),n&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),n&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,a},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),s=n.cmp(r);return s<0||1===i&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},s.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new s(1),o=new s(0),a=new s(0),c=new s(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),p=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(u),o.isub(p)),i.iushrn(1),o.iushrn(1);for(var f=0,m=1;0==(n.words[0]&m)&&f<26;++f,m<<=1);if(f>0)for(n.iushrn(f);f-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(u),c.isub(p)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(a),o.isub(c)):(n.isub(t),a.isub(i),c.isub(o))}return{a:a,b:c,gcd:n.iushln(l)}},s.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,o=new s(1),a=new s(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var p=0,d=1;0==(n.words[0]&d)&&p<26;++p,d<<=1);if(p>0)for(n.iushrn(p);p-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(a)):(n.isub(t),a.isub(o))}return(i=0===t.cmpn(1)?o:a).cmpn(0)<0&&i.iadd(e),i},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var s=t;t=n,n=s}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var s=i,o=n;0!==s&&o<this.length;o++){var a=0|this.words[o];s=(a+=s)>>>26,a&=67108863,this.words[o]=a}return 0!==s&&(this.words[o]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},s.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},s.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new E(e)},s.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(y,b),y.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var s=e.words[9];for(t.words[t.length++]=s&n,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&n)<<4|s>>>22,s=o}s>>>=22,e.words[i-10]=s,0===s&&e.length>10?e.length-=10:e.length-=9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(k,b),i(w,b),i(_,b),_.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new k;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return v[e]=t,t},E.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},E.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new s(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);r(!i.isZero());var a=new s(1).toRed(this),c=a.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new s(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var p=this.pow(u,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),f=o;0!==h.cmp(a);){for(var m=h,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g<f);var v=this.pow(p,new s(1).iushln(f-g-1));d=d.redMul(v),p=v.redSqr(),h=h.redMul(p),f=g}return d},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new s(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new s(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],o=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),r=t.length-1;r>=0;r--){for(var l=t.words[r],u=c-1;u>=0;u--){var p=l>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==p||0!==o?(o<<=1,o|=p,(4===++a||0===r&&0===u)&&(i=this.mul(i,n[o]),a=0,o=0)):a=0}c=26}return i},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new C(e)},i(C,E),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},C.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},53380:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function s(e,t,n){if(s.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var o;"object"==typeof e?e.exports=s:t.BN=s,s.BN=s,s.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(14864).Buffer}catch(e){}function a(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function c(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,i){for(var s=0,o=0,a=Math.min(e.length,n),c=t;c<a;c++){var l=e.charCodeAt(c)-48;s*=i,o=l>=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&o<i,"Invalid character"),s+=o}return s}function u(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},s.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},s.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var s,o,a=0;if("be"===n)for(i=e.length-1,s=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===n)for(i=0,s=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this._strip()},s.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,s=0,o=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=c(e,t,r)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;else for(r=(e.length-t)%2==0?t+1:t;r<e.length;r+=2)i=c(e,t,r)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;this._strip()},s.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var s=e.length-n,o=s%r,a=Math.min(s,s-o)+n,c=0,u=n;u<a;u+=r)c=l(e,u,u+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==o){var p=1;for(c=l(e,u,e.length,t),u=0;u<o;u++)p*=t;this.imuln(p),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},s.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},s.prototype._move=function(e){u(e,this)},s.prototype.clone=function(){var e=new s(null);return this.copy(e),e},s.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{s.prototype[Symbol.for("nodejs.util.inspect.custom")]=p}catch(e){s.prototype.inspect=p}else s.prototype.inspect=p;function p(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,s=0,o=0;o<this.length;o++){var a=this.words[o],c=(16777215&(a<<i|s)).toString(16);n=0!==(s=a>>>24-i&16777215)||o!==this.length-1?d[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,o--)}for(0!==s&&(n=s.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],u=f[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(u).toString(e);n=(p=p.idivn(u)).isZero()?m+n:d[l-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16,2)},o&&(s.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function m(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],s=0|t.words[0],o=i*s,a=67108863&o,c=o/67108864|0;n.words[0]=a;for(var l=1;l<r;l++){for(var u=c>>>26,p=67108863&c,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var f=l-h|0;u+=(o=(i=0|e.words[f])*(s=0|t.words[h])+p)/67108864|0,p=67108863&o}n.words[l]=0|p,c=0|u}return 0!==c?n.words[l]=0|c:n.length--,n._strip()}s.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),s=n||Math.max(1,i);r(i<=s,"byte array longer than desired length"),r(s>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,s);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,i),o},s.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,s=0;i<this.length;i++){var o=this.words[i]<<s|r;e[n++]=255&o,n<e.length&&(e[n++]=o>>8&255),n<e.length&&(e[n++]=o>>16&255),6===s?(n<e.length&&(e[n++]=o>>24&255),r=0,s=0):(r=o>>>24,s+=2)}if(n<e.length)for(e[n++]=r;n<e.length;)e[n++]=0},s.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,i=0,s=0;i<this.length;i++){var o=this.words[i]<<s|r;e[n--]=255&o,n>=0&&(e[n--]=o>>8&255),n>=0&&(e[n--]=o>>16&255),6===s?(n>=0&&(e[n--]=o>>24&255),r=0,s=0):(r=o>>>24,s+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?s.prototype._countBits=function(e){return 32-Math.clz32(e)}:s.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},s.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},s.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},s.prototype.ior=function(e){return r(0==(this.negative|e.negative)),this.iuor(e)},s.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},s.prototype.iand=function(e){return r(0==(this.negative|e.negative)),this.iuand(e)},s.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},s.prototype.ixor=function(e){return r(0==(this.negative|e.negative)),this.iuxor(e)},s.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},s.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,s=0;s<r.length;s++)t=(0|n.words[s])+(0|r.words[s])+i,this.words[s]=67108863&t,i=t>>>26;for(;0!==i&&s<n.length;s++)t=(0|n.words[s])+i,this.words[s]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this},s.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var s=0,o=0;o<r.length;o++)s=(t=(0|n.words[o])-(0|r.words[o])+s)>>26,this.words[o]=67108863&t;for(;0!==s&&o<n.length;o++)s=(t=(0|n.words[o])+s)>>26,this.words[o]=67108863&t;if(0===s&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(e){return this.clone().isub(e)};var g=function(e,t,n){var r,i,s,o=e.words,a=t.words,c=n.words,l=0,u=0|o[0],p=8191&u,d=u>>>13,h=0|o[1],f=8191&h,m=h>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],k=8191&y,w=y>>>13,_=0|o[4],E=8191&_,C=_>>>13,S=0|o[5],j=8191&S,M=S>>>13,x=0|o[6],N=8191&x,A=x>>>13,O=0|o[7],T=8191&O,P=O>>>13,I=0|o[8],R=8191&I,U=I>>>13,Z=0|o[9],D=8191&Z,L=Z>>>13,z=0|a[0],B=8191&z,F=z>>>13,V=0|a[1],q=8191&V,H=V>>>13,W=0|a[2],$=8191&W,J=W>>>13,K=0|a[3],G=8191&K,Y=K>>>13,X=0|a[4],Q=8191&X,ee=X>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],se=8191&ie,oe=ie>>>13,ae=0|a[7],ce=8191&ae,le=ae>>>13,ue=0|a[8],pe=8191&ue,de=ue>>>13,he=0|a[9],fe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(l+(r=Math.imul(p,B))|0)+((8191&(i=(i=Math.imul(p,F))+Math.imul(d,B)|0))<<13)|0;l=((s=Math.imul(d,F))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(f,B),i=(i=Math.imul(f,F))+Math.imul(m,B)|0,s=Math.imul(m,F);var ve=(l+(r=r+Math.imul(p,q)|0)|0)+((8191&(i=(i=i+Math.imul(p,H)|0)+Math.imul(d,q)|0))<<13)|0;l=((s=s+Math.imul(d,H)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,B),i=(i=Math.imul(v,F))+Math.imul(b,B)|0,s=Math.imul(b,F),r=r+Math.imul(f,q)|0,i=(i=i+Math.imul(f,H)|0)+Math.imul(m,q)|0,s=s+Math.imul(m,H)|0;var be=(l+(r=r+Math.imul(p,$)|0)|0)+((8191&(i=(i=i+Math.imul(p,J)|0)+Math.imul(d,$)|0))<<13)|0;l=((s=s+Math.imul(d,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(k,B),i=(i=Math.imul(k,F))+Math.imul(w,B)|0,s=Math.imul(w,F),r=r+Math.imul(v,q)|0,i=(i=i+Math.imul(v,H)|0)+Math.imul(b,q)|0,s=s+Math.imul(b,H)|0,r=r+Math.imul(f,$)|0,i=(i=i+Math.imul(f,J)|0)+Math.imul(m,$)|0,s=s+Math.imul(m,J)|0;var ye=(l+(r=r+Math.imul(p,G)|0)|0)+((8191&(i=(i=i+Math.imul(p,Y)|0)+Math.imul(d,G)|0))<<13)|0;l=((s=s+Math.imul(d,Y)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(E,B),i=(i=Math.imul(E,F))+Math.imul(C,B)|0,s=Math.imul(C,F),r=r+Math.imul(k,q)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(w,q)|0,s=s+Math.imul(w,H)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(b,$)|0,s=s+Math.imul(b,J)|0,r=r+Math.imul(f,G)|0,i=(i=i+Math.imul(f,Y)|0)+Math.imul(m,G)|0,s=s+Math.imul(m,Y)|0;var ke=(l+(r=r+Math.imul(p,Q)|0)|0)+((8191&(i=(i=i+Math.imul(p,ee)|0)+Math.imul(d,Q)|0))<<13)|0;l=((s=s+Math.imul(d,ee)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(j,B),i=(i=Math.imul(j,F))+Math.imul(M,B)|0,s=Math.imul(M,F),r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(C,q)|0,s=s+Math.imul(C,H)|0,r=r+Math.imul(k,$)|0,i=(i=i+Math.imul(k,J)|0)+Math.imul(w,$)|0,s=s+Math.imul(w,J)|0,r=r+Math.imul(v,G)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(b,G)|0,s=s+Math.imul(b,Y)|0,r=r+Math.imul(f,Q)|0,i=(i=i+Math.imul(f,ee)|0)+Math.imul(m,Q)|0,s=s+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(p,ne)|0)|0)+((8191&(i=(i=i+Math.imul(p,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((s=s+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(N,B),i=(i=Math.imul(N,F))+Math.imul(A,B)|0,s=Math.imul(A,F),r=r+Math.imul(j,q)|0,i=(i=i+Math.imul(j,H)|0)+Math.imul(M,q)|0,s=s+Math.imul(M,H)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,J)|0)+Math.imul(C,$)|0,s=s+Math.imul(C,J)|0,r=r+Math.imul(k,G)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(w,G)|0,s=s+Math.imul(w,Y)|0,r=r+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(b,Q)|0,s=s+Math.imul(b,ee)|0,r=r+Math.imul(f,ne)|0,i=(i=i+Math.imul(f,re)|0)+Math.imul(m,ne)|0,s=s+Math.imul(m,re)|0;var _e=(l+(r=r+Math.imul(p,se)|0)|0)+((8191&(i=(i=i+Math.imul(p,oe)|0)+Math.imul(d,se)|0))<<13)|0;l=((s=s+Math.imul(d,oe)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(T,B),i=(i=Math.imul(T,F))+Math.imul(P,B)|0,s=Math.imul(P,F),r=r+Math.imul(N,q)|0,i=(i=i+Math.imul(N,H)|0)+Math.imul(A,q)|0,s=s+Math.imul(A,H)|0,r=r+Math.imul(j,$)|0,i=(i=i+Math.imul(j,J)|0)+Math.imul(M,$)|0,s=s+Math.imul(M,J)|0,r=r+Math.imul(E,G)|0,i=(i=i+Math.imul(E,Y)|0)+Math.imul(C,G)|0,s=s+Math.imul(C,Y)|0,r=r+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(w,Q)|0,s=s+Math.imul(w,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(b,ne)|0,s=s+Math.imul(b,re)|0,r=r+Math.imul(f,se)|0,i=(i=i+Math.imul(f,oe)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,oe)|0;var Ee=(l+(r=r+Math.imul(p,ce)|0)|0)+((8191&(i=(i=i+Math.imul(p,le)|0)+Math.imul(d,ce)|0))<<13)|0;l=((s=s+Math.imul(d,le)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(R,B),i=(i=Math.imul(R,F))+Math.imul(U,B)|0,s=Math.imul(U,F),r=r+Math.imul(T,q)|0,i=(i=i+Math.imul(T,H)|0)+Math.imul(P,q)|0,s=s+Math.imul(P,H)|0,r=r+Math.imul(N,$)|0,i=(i=i+Math.imul(N,J)|0)+Math.imul(A,$)|0,s=s+Math.imul(A,J)|0,r=r+Math.imul(j,G)|0,i=(i=i+Math.imul(j,Y)|0)+Math.imul(M,G)|0,s=s+Math.imul(M,Y)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(C,Q)|0,s=s+Math.imul(C,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(w,ne)|0,s=s+Math.imul(w,re)|0,r=r+Math.imul(v,se)|0,i=(i=i+Math.imul(v,oe)|0)+Math.imul(b,se)|0,s=s+Math.imul(b,oe)|0,r=r+Math.imul(f,ce)|0,i=(i=i+Math.imul(f,le)|0)+Math.imul(m,ce)|0,s=s+Math.imul(m,le)|0;var Ce=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,de)|0)+Math.imul(d,pe)|0))<<13)|0;l=((s=s+Math.imul(d,de)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(D,B),i=(i=Math.imul(D,F))+Math.imul(L,B)|0,s=Math.imul(L,F),r=r+Math.imul(R,q)|0,i=(i=i+Math.imul(R,H)|0)+Math.imul(U,q)|0,s=s+Math.imul(U,H)|0,r=r+Math.imul(T,$)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(P,$)|0,s=s+Math.imul(P,J)|0,r=r+Math.imul(N,G)|0,i=(i=i+Math.imul(N,Y)|0)+Math.imul(A,G)|0,s=s+Math.imul(A,Y)|0,r=r+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,ee)|0)+Math.imul(M,Q)|0,s=s+Math.imul(M,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(C,ne)|0,s=s+Math.imul(C,re)|0,r=r+Math.imul(k,se)|0,i=(i=i+Math.imul(k,oe)|0)+Math.imul(w,se)|0,s=s+Math.imul(w,oe)|0,r=r+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(b,ce)|0,s=s+Math.imul(b,le)|0,r=r+Math.imul(f,pe)|0,i=(i=i+Math.imul(f,de)|0)+Math.imul(m,pe)|0,s=s+Math.imul(m,de)|0;var Se=(l+(r=r+Math.imul(p,fe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(d,fe)|0))<<13)|0;l=((s=s+Math.imul(d,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(D,q),i=(i=Math.imul(D,H))+Math.imul(L,q)|0,s=Math.imul(L,H),r=r+Math.imul(R,$)|0,i=(i=i+Math.imul(R,J)|0)+Math.imul(U,$)|0,s=s+Math.imul(U,J)|0,r=r+Math.imul(T,G)|0,i=(i=i+Math.imul(T,Y)|0)+Math.imul(P,G)|0,s=s+Math.imul(P,Y)|0,r=r+Math.imul(N,Q)|0,i=(i=i+Math.imul(N,ee)|0)+Math.imul(A,Q)|0,s=s+Math.imul(A,ee)|0,r=r+Math.imul(j,ne)|0,i=(i=i+Math.imul(j,re)|0)+Math.imul(M,ne)|0,s=s+Math.imul(M,re)|0,r=r+Math.imul(E,se)|0,i=(i=i+Math.imul(E,oe)|0)+Math.imul(C,se)|0,s=s+Math.imul(C,oe)|0,r=r+Math.imul(k,ce)|0,i=(i=i+Math.imul(k,le)|0)+Math.imul(w,ce)|0,s=s+Math.imul(w,le)|0,r=r+Math.imul(v,pe)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(b,pe)|0,s=s+Math.imul(b,de)|0;var je=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(m,fe)|0))<<13)|0;l=((s=s+Math.imul(m,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(D,$),i=(i=Math.imul(D,J))+Math.imul(L,$)|0,s=Math.imul(L,J),r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(U,G)|0,s=s+Math.imul(U,Y)|0,r=r+Math.imul(T,Q)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(P,Q)|0,s=s+Math.imul(P,ee)|0,r=r+Math.imul(N,ne)|0,i=(i=i+Math.imul(N,re)|0)+Math.imul(A,ne)|0,s=s+Math.imul(A,re)|0,r=r+Math.imul(j,se)|0,i=(i=i+Math.imul(j,oe)|0)+Math.imul(M,se)|0,s=s+Math.imul(M,oe)|0,r=r+Math.imul(E,ce)|0,i=(i=i+Math.imul(E,le)|0)+Math.imul(C,ce)|0,s=s+Math.imul(C,le)|0,r=r+Math.imul(k,pe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(w,pe)|0,s=s+Math.imul(w,de)|0;var Me=(l+(r=r+Math.imul(v,fe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(b,fe)|0))<<13)|0;l=((s=s+Math.imul(b,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(D,G),i=(i=Math.imul(D,Y))+Math.imul(L,G)|0,s=Math.imul(L,Y),r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(U,Q)|0,s=s+Math.imul(U,ee)|0,r=r+Math.imul(T,ne)|0,i=(i=i+Math.imul(T,re)|0)+Math.imul(P,ne)|0,s=s+Math.imul(P,re)|0,r=r+Math.imul(N,se)|0,i=(i=i+Math.imul(N,oe)|0)+Math.imul(A,se)|0,s=s+Math.imul(A,oe)|0,r=r+Math.imul(j,ce)|0,i=(i=i+Math.imul(j,le)|0)+Math.imul(M,ce)|0,s=s+Math.imul(M,le)|0,r=r+Math.imul(E,pe)|0,i=(i=i+Math.imul(E,de)|0)+Math.imul(C,pe)|0,s=s+Math.imul(C,de)|0;var xe=(l+(r=r+Math.imul(k,fe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(w,fe)|0))<<13)|0;l=((s=s+Math.imul(w,me)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(D,Q),i=(i=Math.imul(D,ee))+Math.imul(L,Q)|0,s=Math.imul(L,ee),r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(U,ne)|0,s=s+Math.imul(U,re)|0,r=r+Math.imul(T,se)|0,i=(i=i+Math.imul(T,oe)|0)+Math.imul(P,se)|0,s=s+Math.imul(P,oe)|0,r=r+Math.imul(N,ce)|0,i=(i=i+Math.imul(N,le)|0)+Math.imul(A,ce)|0,s=s+Math.imul(A,le)|0,r=r+Math.imul(j,pe)|0,i=(i=i+Math.imul(j,de)|0)+Math.imul(M,pe)|0,s=s+Math.imul(M,de)|0;var Ne=(l+(r=r+Math.imul(E,fe)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(C,fe)|0))<<13)|0;l=((s=s+Math.imul(C,me)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(D,ne),i=(i=Math.imul(D,re))+Math.imul(L,ne)|0,s=Math.imul(L,re),r=r+Math.imul(R,se)|0,i=(i=i+Math.imul(R,oe)|0)+Math.imul(U,se)|0,s=s+Math.imul(U,oe)|0,r=r+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,le)|0)+Math.imul(P,ce)|0,s=s+Math.imul(P,le)|0,r=r+Math.imul(N,pe)|0,i=(i=i+Math.imul(N,de)|0)+Math.imul(A,pe)|0,s=s+Math.imul(A,de)|0;var Ae=(l+(r=r+Math.imul(j,fe)|0)|0)+((8191&(i=(i=i+Math.imul(j,me)|0)+Math.imul(M,fe)|0))<<13)|0;l=((s=s+Math.imul(M,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(D,se),i=(i=Math.imul(D,oe))+Math.imul(L,se)|0,s=Math.imul(L,oe),r=r+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(U,ce)|0,s=s+Math.imul(U,le)|0,r=r+Math.imul(T,pe)|0,i=(i=i+Math.imul(T,de)|0)+Math.imul(P,pe)|0,s=s+Math.imul(P,de)|0;var Oe=(l+(r=r+Math.imul(N,fe)|0)|0)+((8191&(i=(i=i+Math.imul(N,me)|0)+Math.imul(A,fe)|0))<<13)|0;l=((s=s+Math.imul(A,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(D,ce),i=(i=Math.imul(D,le))+Math.imul(L,ce)|0,s=Math.imul(L,le),r=r+Math.imul(R,pe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(U,pe)|0,s=s+Math.imul(U,de)|0;var Te=(l+(r=r+Math.imul(T,fe)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(P,fe)|0))<<13)|0;l=((s=s+Math.imul(P,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(D,pe),i=(i=Math.imul(D,de))+Math.imul(L,pe)|0,s=Math.imul(L,de);var Pe=(l+(r=r+Math.imul(R,fe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(U,fe)|0))<<13)|0;l=((s=s+Math.imul(U,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863;var Ie=(l+(r=Math.imul(D,fe))|0)+((8191&(i=(i=Math.imul(D,me))+Math.imul(L,fe)|0))<<13)|0;return l=((s=Math.imul(L,me))+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,c[0]=ge,c[1]=ve,c[2]=be,c[3]=ye,c[4]=ke,c[5]=we,c[6]=_e,c[7]=Ee,c[8]=Ce,c[9]=Se,c[10]=je,c[11]=Me,c[12]=xe,c[13]=Ne,c[14]=Ae,c[15]=Oe,c[16]=Te,c[17]=Pe,c[18]=Ie,0!==l&&(c[19]=l,n.length++),n};function v(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,s=0;s<n.length-1;s++){var o=i;i=0;for(var a=67108863&r,c=Math.min(s,t.length-1),l=Math.max(0,s-e.length+1);l<=c;l++){var u=s-l,p=(0|e.words[u])*(0|t.words[l]),d=67108863&p;a=67108863&(d=d+a|0),i+=(o=(o=o+(p/67108864|0)|0)+(d>>>26)|0)>>>26,o&=67108863}n.words[s]=a,r=o,o=i}return 0!==r?n.words[s]=r:n.length--,n._strip()}function b(e,t,n){return v(e,t,n)}function y(e,t){this.x=e,this.y=t}Math.imul||(g=m),s.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):n<63?m(this,e,t):n<1024?v(this,e,t):b(this,e,t)},y.prototype.makeRBT=function(e){for(var t=new Array(e),n=s.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},y.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},y.prototype.permute=function(e,t,n,r,i,s){for(var o=0;o<s;o++)r[o]=t[e[o]],i[o]=n[e[o]]},y.prototype.transform=function(e,t,n,r,i,s){this.permute(s,e,t,n,r,i);for(var o=1;o<i;o<<=1)for(var a=o<<1,c=Math.cos(2*Math.PI/a),l=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var p=c,d=l,h=0;h<o;h++){var f=n[u+h],m=r[u+h],g=n[u+h+o],v=r[u+h+o],b=p*g-d*v;v=p*v+d*g,g=b,n[u+h]=f+g,r[u+h]=m+v,n[u+h+o]=f-g,r[u+h+o]=m-v,h!==a&&(b=c*p-l*d,d=c*d+l*p,p=b)}},y.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},y.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},y.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},y.prototype.convert13b=function(e,t,n,i){for(var s=0,o=0;o<t;o++)s+=0|e[o],n[2*o]=8191&s,s>>>=13,n[2*o+1]=8191&s,s>>>=13;for(o=2*t;o<i;++o)n[o]=0;r(0===s),r(0==(-8192&s))},y.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},y.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),s=this.stub(r),o=new Array(r),a=new Array(r),c=new Array(r),l=new Array(r),u=new Array(r),p=new Array(r),d=n.words;d.length=r,this.convert13b(e.words,e.length,o,r),this.convert13b(t.words,t.length,l,r),this.transform(o,s,a,c,r,i),this.transform(l,s,u,p,r,i);for(var h=0;h<r;h++){var f=a[h]*u[h]-c[h]*p[h];c[h]=a[h]*p[h]+c[h]*u[h],a[h]=f}return this.conjugate(a,c,r),this.transform(a,c,d,s,r,i),this.conjugate(d,s,r),this.normalize13b(d,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n._strip()},s.prototype.mul=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},s.prototype.mulf=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),b(this,e,t)},s.prototype.imul=function(e){return this.clone().mulTo(e,this)},s.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"==typeof e),r(e<67108864);for(var n=0,i=0;i<this.length;i++){var s=(0|this.words[i])*e,o=(67108863&s)+(67108863&n);n>>=26,n+=s/67108864|0,n+=o>>>26,this.words[i]=67108863&o}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=e.words[r]>>>i&1}return t}(e);if(0===t.length)return new s(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},s.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,s=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&s,c=(0|this.words[t])-a<<n;this.words[t]=c|o,o=a>>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},s.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},s.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var s=e%26,o=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<<s,c=n;if(i-=o,i=Math.max(0,i),c){for(var l=0;l<o;l++)c.words[l]=this.words[l];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var u=0;for(l=this.length-1;l>=0&&(0!==u||l>=i);l--){var p=0|this.words[l];this.words[l]=u<<26-s|p>>>s,u=p&a}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},s.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},s.prototype.maskn=function(e){return this.clone().imaskn(e)},s.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},s.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},s.prototype.addn=function(e){return this.clone().iaddn(e)},s.prototype.subn=function(e){return this.clone().isubn(e)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(e,t,n){var i,s,o=e.length+n;this._expand(o);var a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&s}for(;i<this.length-n;i++)a=(s=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&s;if(0===a)return this._strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this._strip()},s.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,o=0|i.words[i.length-1];0!==(n=26-this._countBits(o))&&(i=i.ushln(n),r.iushln(n),o=0|i.words[i.length-1]);var a,c=r.length-i.length;if("mod"!==t){(a=new s(null)).length=c+1,a.words=new Array(a.length);for(var l=0;l<a.length;l++)a.words[l]=0}var u=r.clone()._ishlnsubmul(i,1,c);0===u.negative&&(r=u,a&&(a.words[c]=1));for(var p=c-1;p>=0;p--){var d=67108864*(0|r.words[i.length+p])+(0|r.words[i.length+p-1]);for(d=Math.min(d/o|0,67108863),r._ishlnsubmul(i,d,p);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,p),r.isZero()||(r.negative^=1);a&&(a.words[p]=d)}return a&&a._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},s.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(o=a.mod.neg(),n&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),n&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,o,a},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),s=n.cmp(r);return s<0||1===i&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,s=this.length-1;s>=0;s--)i=(n*i+(0|this.words[s]))%e;return t?-i:i},s.prototype.modn=function(e){return this.modrn(e)},s.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var s=(0|this.words[i])+67108864*n;this.words[i]=s/e|0,n=s%e}return this._strip(),t?this.ineg():this},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new s(1),o=new s(0),a=new s(0),c=new s(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),p=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(u),o.isub(p)),i.iushrn(1),o.iushrn(1);for(var f=0,m=1;0==(n.words[0]&m)&&f<26;++f,m<<=1);if(f>0)for(n.iushrn(f);f-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(u),c.isub(p)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(a),o.isub(c)):(n.isub(t),a.isub(i),c.isub(o))}return{a:a,b:c,gcd:n.iushln(l)}},s.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,o=new s(1),a=new s(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var p=0,d=1;0==(n.words[0]&d)&&p<26;++p,d<<=1);if(p>0)for(n.iushrn(p);p-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(a)):(n.isub(t),a.isub(o))}return(i=0===t.cmpn(1)?o:a).cmpn(0)<0&&i.iadd(e),i},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var s=t;t=n,n=s}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var s=i,o=n;0!==s&&o<this.length;o++){var a=0|this.words[o];s=(a+=s)>>>26,a&=67108863,this.words[o]=a}return 0!==s&&(this.words[o]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},s.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},s.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new j(e)},s.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var k={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){j.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(_,w),_.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var s=e.words[9];for(t.words[t.length++]=s&n,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&n)<<4|s>>>22,s=o}s>>>=22,e.words[i-10]=s,0===s&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(E,w),i(C,w),i(S,w),S.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(k[e])return k[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new E;else if("p192"===e)t=new C;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return k[e]=t,t},j.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},j.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},j.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},j.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},j.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},j.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},j.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},j.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},j.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},j.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},j.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},j.prototype.isqr=function(e){return this.imul(e,e.clone())},j.prototype.sqr=function(e){return this.mul(e,e)},j.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new s(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);r(!i.isZero());var a=new s(1).toRed(this),c=a.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new s(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var p=this.pow(u,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),f=o;0!==h.cmp(a);){for(var m=h,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g<f);var v=this.pow(p,new s(1).iushln(f-g-1));d=d.redMul(v),p=v.redSqr(),h=h.redMul(p),f=g}return d},j.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},j.prototype.pow=function(e,t){if(t.isZero())return new s(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new s(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],o=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),r=t.length-1;r>=0;r--){for(var l=t.words[r],u=c-1;u>=0;u--){var p=l>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==p||0!==o?(o<<=1,o|=p,(4===++a||0===r&&0===u)&&(i=this.mul(i,n[o]),a=0,o=0)):a=0}c=26}return i},j.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},j.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new M(e)},i(M,j),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},98707:function(e,t,n){var r=n(52221);e.exports=function(e){var t=null,n=r(e);if(3===e.nodeType){var i=n.createRange();i.selectNodeContents(e),e=i}if("function"==typeof e.getBoundingClientRect&&(t=e.getBoundingClientRect(),e.startContainer&&0===t.left&&0===t.top)){var s=n.createElement("span");s.appendChild(n.createTextNode("​")),e.insertNode(s),t=s.getBoundingClientRect();var o=s.parentNode;o.removeChild(s),o.normalize()}return t}},71876:function(e,t,n){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n<t.length;n++)t[n]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var s=n(69627);if("function"!=typeof s.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return s.randomBytes(e)}}catch(e){}},9111:function(e,t,n){var r=n(37225).Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i<t;i++)n[i]=e.readUInt32BE(4*i);return n}function s(e){for(;0<e.length;e++)e[0]=0}function o(e,t,n,r,i){for(var s,o,a,c,l=n[0],u=n[1],p=n[2],d=n[3],h=e[0]^t[0],f=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],v=4,b=1;b<i;b++)s=l[h>>>24]^u[f>>>16&255]^p[m>>>8&255]^d[255&g]^t[v++],o=l[f>>>24]^u[m>>>16&255]^p[g>>>8&255]^d[255&h]^t[v++],a=l[m>>>24]^u[g>>>16&255]^p[h>>>8&255]^d[255&f]^t[v++],c=l[g>>>24]^u[h>>>16&255]^p[f>>>8&255]^d[255&m]^t[v++],h=s,f=o,m=a,g=c;return s=(r[h>>>24]<<24|r[f>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[v++],o=(r[f>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&h])^t[v++],a=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[h>>>8&255]<<8|r[255&f])^t[v++],c=(r[g>>>24]<<24|r[h>>>16&255]<<16|r[f>>>8&255]<<8|r[255&m])^t[v++],[s>>>=0,o>>>=0,a>>>=0,c>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],s=[[],[],[],[]],o=0,a=0,c=0;c<256;++c){var l=a^a<<1^a<<2^a<<3^a<<4;l=l>>>8^255&l^99,n[o]=l,r[l]=o;var u=e[o],p=e[u],d=e[p],h=257*e[l]^16843008*l;i[0][o]=h<<24|h>>>8,i[1][o]=h<<16|h>>>16,i[2][o]=h<<8|h>>>24,i[3][o]=h,h=16843009*d^65537*p^257*u^16843008*o,s[0][l]=h<<24|h>>>8,s[1][l]=h<<16|h>>>16,s[2][l]=h<<8|h>>>24,s[3][l]=h,0===o?o=a=1:(o=u^e[e[e[d^u]]],a^=e[e[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:s}}();function l(e){this._key=i(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],s=0;s<t;s++)i[s]=e[s];for(s=t;s<r;s++){var o=i[s-1];s%t==0?(o=o<<8|o>>>24,o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o],o^=a[s/t|0]<<24):t>6&&s%t==4&&(o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o]),i[s]=i[s-t]^o}for(var l=[],u=0;u<r;u++){var p=r-u,d=i[p-(u%4?0:4)];l[u]=u<4||p<=4?d:c.INV_SUB_MIX[0][c.SBOX[d>>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return o(e=i(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=o(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),s=r.allocUnsafe(16);return s.writeUInt32BE(n[0],0),s.writeUInt32BE(n[3],4),s.writeUInt32BE(n[2],8),s.writeUInt32BE(n[1],12),s},l.prototype.scrub=function(){s(this._keySchedule),s(this._invKeySchedule),s(this._key)},e.exports.AES=l},43667:function(e,t,n){var r=n(9111),i=n(37225).Buffer,s=n(69239),o=n(59503),a=n(83579),c=n(35375),l=n(35127);function u(e,t,n,o){s.call(this);var c=i.alloc(4,0);this._cipher=new r.AES(t);var u=this._cipher.encryptBlock(c);this._ghash=new a(u),n=function(e,t,n){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new a(n),s=t.length,o=s%16;r.update(t),o&&(o=16-o,r.update(i.alloc(o,0))),r.update(i.alloc(8,0));var c=8*s,u=i.alloc(8);u.writeUIntBE(c,0,8),r.update(u),e._finID=r.state;var p=i.from(e._finID);return l(p),p}(this,n,u),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}o(u,s),u.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},u.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i<r;++i)n+=e[i]^t[i];return n}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},u.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},u.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},u.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=u},6123:function(e,t,n){var r=n(37180),i=n(68161),s=n(4317);t.createCipher=t.Cipher=r.createCipher,t.createCipheriv=t.Cipheriv=r.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(s)}},68161:function(e,t,n){var r=n(43667),i=n(37225).Buffer,s=n(54354),o=n(76085),a=n(69239),c=n(9111),l=n(51105);function u(e,t,n){a.call(this),this._cache=new p,this._last=void 0,this._cipher=new c.AES(t),this._prev=i.from(n),this._mode=e,this._autopadding=!0}function p(){this.cache=i.allocUnsafe(0)}function d(e,t,n){var a=s[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=i.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new o(a.module,t,n,!0):"auth"===a.type?new r(a.module,t,n,!0):new u(a.module,t,n)}n(59503)(u,a),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),r.push(n);return i.concat(r)},u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var n=-1;for(;++n<t;)if(e[n+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},p.prototype.add=function(e){this.cache=i.concat([this.cache,e])},p.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},p.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=s[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=l(t,!1,n.key,n.iv);return d(e,r.key,r.iv)},t.createDecipheriv=d},37180:function(e,t,n){var r=n(54354),i=n(43667),s=n(37225).Buffer,o=n(76085),a=n(69239),c=n(9111),l=n(51105);function u(e,t,n){a.call(this),this._cache=new d,this._cipher=new c.AES(t),this._prev=s.from(n),this._mode=e,this._autopadding=!0}n(59503)(u,a),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return s.concat(r)};var p=s.alloc(16,16);function d(){this.cache=s.allocUnsafe(0)}function h(e,t,n){var a=r[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=s.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof n&&(n=s.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===a.type?new o(a.module,t,n):"auth"===a.type?new i(a.module,t,n):new u(a.module,t,n)}u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(p))throw this._cipher.scrub(),new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=s.concat([this.cache,e])},d.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=s.allocUnsafe(e),n=-1;++n<e;)t.writeUInt8(e,n);return s.concat([this.cache,t])},t.createCipheriv=h,t.createCipher=function(e,t){var n=r[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=l(t,!1,n.key,n.iv);return h(e,i.key,i.iv)}},83579:function(e,t,n){var r=n(37225).Buffer,i=r.alloc(16,0);function s(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}o.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},o.prototype._multiply=function(){for(var e,t,n,r=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),t=3;t>0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=s(i)},o.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(s([0,e,0,t])),this.state},e.exports=o},35127:function(e){e.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},62113:function(e,t,n){var r=n(35375);t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},1634:function(e,t,n){var r=n(37225).Buffer,i=n(35375);function s(e,t,n){var s=t.length,o=i(t,e._cache);return e._cache=e._cache.slice(s),e._prev=r.concat([e._prev,n?t:o]),o}t.encrypt=function(e,t,n){for(var i,o=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){o=r.concat([o,s(e,t,n)]);break}i=e._cache.length,o=r.concat([o,s(e,t.slice(0,i),n)]),t=t.slice(i)}return o}},34422:function(e,t,n){var r=n(37225).Buffer;function i(e,t,n){for(var r,i,o=-1,a=0;++o<8;)r=t&1<<7-o?128:0,a+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>o%8,e._prev=s(e._prev,n?r:i);return a}function s(e,t){var n=e.length,i=-1,s=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i<n;)s[i]=e[i]<<1|e[i+1]>>7;return s}t.encrypt=function(e,t,n){for(var s=t.length,o=r.allocUnsafe(s),a=-1;++a<s;)o[a]=i(e,t[a],n);return o}},46750:function(e,t,n){var r=n(37225).Buffer;function i(e,t,n){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([n?t:i])]),i}t.encrypt=function(e,t,n){for(var s=t.length,o=r.allocUnsafe(s),a=-1;++a<s;)o[a]=i(e,t[a],n);return o}},92204:function(e,t,n){var r=n(35375),i=n(37225).Buffer,s=n(35127);function o(e){var t=e._cipher.encryptBlockRaw(e._prev);return s(e._prev),t}t.encrypt=function(e,t){var n=Math.ceil(t.length/16),s=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*n)]);for(var a=0;a<n;a++){var c=o(e),l=s+16*a;e._cache.writeUInt32BE(c[0],l+0),e._cache.writeUInt32BE(c[1],l+4),e._cache.writeUInt32BE(c[2],l+8),e._cache.writeUInt32BE(c[3],l+12)}var u=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,u)}},59252:function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},54354:function(e,t,n){var r={ECB:n(59252),CBC:n(62113),CFB:n(1634),CFB8:n(46750),CFB1:n(34422),OFB:n(985),CTR:n(92204),GCM:n(92204)},i=n(4317);for(var s in i)i[s].module=r[i[s].mode];e.exports=i},985:function(e,t,n){var r=n(90778).Buffer,i=n(35375);function s(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=r.concat([e._cache,s(e)]);var n=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),i(t,n)}},76085:function(e,t,n){var r=n(9111),i=n(37225).Buffer,s=n(69239);function o(e,t,n,o){s.call(this),this._cipher=new r.AES(t),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._mode=e}n(59503)(o,s),o.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},e.exports=o},83936:function(e,t,n){var r=n(63079),i=n(6123),s=n(54354),o=n(52324),a=n(51105);function c(e,t,n){if(e=e.toLowerCase(),s[e])return i.createCipheriv(e,t,n);if(o[e])return new r({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function l(e,t,n){if(e=e.toLowerCase(),s[e])return i.createDecipheriv(e,t,n);if(o[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var n,r;if(e=e.toLowerCase(),s[e])n=s[e].key,r=s[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");n=8*o[e].key,r=o[e].iv}var i=a(t,!1,n,r);return c(e,i.key,i.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var n,r;if(e=e.toLowerCase(),s[e])n=s[e].key,r=s[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");n=8*o[e].key,r=o[e].iv}var i=a(t,!1,n,r);return l(e,i.key,i.iv)},t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=function(){return Object.keys(o).concat(i.getCiphers())}},63079:function(e,t,n){var r=n(69239),i=n(98625),s=n(59503),o=n(37225).Buffer,a={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(e){r.call(this);var t,n=e.mode.toLowerCase(),i=a[n];t=e.decrypt?"decrypt":"encrypt";var s=e.key;o.isBuffer(s)||(s=o.from(s)),"des-ede"!==n&&"des-ede-cbc"!==n||(s=o.concat([s,s.slice(0,8)]));var c=e.iv;o.isBuffer(c)||(c=o.from(c)),this._des=i.create({key:s,iv:c,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],e.exports=c,s(c,r),c.prototype._update=function(e){return o.from(this._des.update(e))},c.prototype._final=function(){return o.from(this._des.final())}},52324:function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},8568:function(e,t,n){var r=n(90778).Buffer,i=n(53380),s=n(35175);function o(e){var t,n=e.modulus.byteLength();do{t=new i(s(n))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function a(e,t){var n=function(e){var t=o(e);return{blinder:t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),s=t.modulus.byteLength(),a=new i(e).mul(n.blinder).umod(t.modulus),c=a.toRed(i.mont(t.prime1)),l=a.toRed(i.mont(t.prime2)),u=t.coefficient,p=t.prime1,d=t.prime2,h=c.redPow(t.exponent1).fromRed(),f=l.redPow(t.exponent2).fromRed(),m=h.isub(f).imul(u).umod(p).imul(d);return f.iadd(m).imul(n.unblinder).umod(t.modulus).toArrayLike(r,"be",s)}a.getr=o,e.exports=a},60451:function(e,t,n){e.exports=n(1877)},29908:function(e,t,n){var r=n(37225).Buffer,i=n(77439),s=n(7130),o=n(59503),a=n(75043),c=n(53075),l=n(1877);function u(e){s.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function p(e){s.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new u(e)}function h(e){return new p(e)}Object.keys(l).forEach((function(e){l[e].id=r.from(l[e].id,"hex"),l[e.toLowerCase()]=l[e]})),o(u,s.Writable),u.prototype._write=function(e,t,n){this._hash.update(e),n()},u.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},u.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=a(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},o(p,s.Writable),p.prototype._write=function(e,t,n){this._hash.update(e),n()},p.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},p.prototype.verify=function(e,t,n){"string"==typeof t&&(t=r.from(t,n)),this.end();var i=this._hash.digest();return c(t,i,e,this._signType,this._tag)},e.exports={Sign:d,Verify:h,createSign:d,createVerify:h}},75043:function(e,t,n){var r=n(37225).Buffer,i=n(40445),s=n(8568),o=n(73931).ec,a=n(53380),c=n(87758),l=n(72968);function u(e,t,n,s){if((e=r.from(e.toArray())).length<t.byteLength()){var o=r.alloc(t.byteLength()-e.length);e=r.concat([o,e])}var a=n.length,c=function(e,t){e=(e=p(e,t)).mod(t);var n=r.from(e.toArray());if(n.length<t.byteLength()){var i=r.alloc(t.byteLength()-n.length);n=r.concat([i,n])}return n}(n,t),l=r.alloc(a);l.fill(1);var u=r.alloc(a);return u=i(s,u).update(l).update(r.from([0])).update(e).update(c).digest(),l=i(s,u).update(l).digest(),{k:u=i(s,u).update(l).update(r.from([1])).update(e).update(c).digest(),v:l=i(s,u).update(l).digest()}}function p(e,t){var n=new a(e),r=(e.length<<3)-t.bitLength();return r>0&&n.ishrn(r),n}function d(e,t,n){var s,o;do{for(s=r.alloc(0);8*s.length<e.bitLength();)t.v=i(n,t.k).update(t.v).digest(),s=r.concat([s,t.v]);o=p(s,e),t.k=i(n,t.k).update(t.v).update(r.from([0])).digest(),t.v=i(n,t.k).update(t.v).digest()}while(-1!==o.cmp(e));return o}function h(e,t,n,r){return e.toRed(a.mont(n)).redPow(t).fromRed().mod(r)}e.exports=function(e,t,n,i,f){var m=c(t);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(e,t){var n=l[t.curve.join(".")];if(!n)throw new Error("unknown curve "+t.curve.join("."));var i=new o(n).keyFromPrivate(t.privateKey).sign(e);return r.from(i.toDER())}(e,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(e,t,n){var i,s=t.params.priv_key,o=t.params.p,c=t.params.q,l=t.params.g,f=new a(0),m=p(e,c).mod(c),g=!1,v=u(s,c,e,n);for(;!1===g;)f=h(l,i=d(c,v,n),o,c),0===(g=i.invm(c).imul(m.add(s.mul(f))).mod(c)).cmpn(0)&&(g=!1,f=new a(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e));128&t[0]&&(t=[0].concat(t));var n=[48,e.length+t.length+4,2,e.length];return n=n.concat(e,[2,t.length],t),r.from(n)}(f,g)}(e,m,n)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");e=r.concat([f,e]);for(var g=m.modulus.byteLength(),v=[0,1];e.length+v.length+1<g;)v.push(255);v.push(0);for(var b=-1;++b<e.length;)v.push(e[b]);return s(v,m)},e.exports.getKey=u,e.exports.makeKey=d},53075:function(e,t,n){var r=n(37225).Buffer,i=n(53380),s=n(73931).ec,o=n(87758),a=n(72968);function c(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,t,n,l,u){var p=o(n);if("ec"===p.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=a[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new s(r),o=n.data.subjectPrivateKey.data;return i.verify(t,e,o)}(e,t,p)}if("dsa"===p.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,s=n.data.q,a=n.data.g,l=n.data.pub_key,u=o.signature.decode(e,"der"),p=u.s,d=u.r;c(p,s),c(d,s);var h=i.mont(r),f=p.invm(s);return 0===a.toRed(h).redPow(new i(t).mul(f).mod(s)).fromRed().mul(l.toRed(h).redPow(d.mul(f).mod(s)).fromRed()).mod(r).mod(s).cmp(d)}(e,t,p)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");t=r.concat([u,t]);for(var d=p.modulus.byteLength(),h=[1],f=0;t.length+h.length+2<d;)h.push(255),f++;h.push(0);for(var m=-1;++m<t.length;)h.push(t[m]);h=r.from(h);var g=i.mont(p.modulus);e=(e=new i(e).toRed(g)).redPow(new i(p.publicExponent)),e=r.from(e.fromRed().toArray());var v=f<8?1:0;for(d=Math.min(e.length,h.length),e.length!==h.length&&(v=1),m=-1;++m<d;)v|=e[m]^h[m];return 0===v}},35375:function(e,t,n){var r=n(90778).Buffer;e.exports=function(e,t){for(var n=Math.min(e.length,t.length),i=new r(n),s=0;s<n;++s)i[s]=e[s]^t[s];return i}},90778:function(e,t,n){"use strict";var r=n(55246);const i=n(62803),s=n(23644),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function c(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let r=c(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(G(e,Uint8Array)){const t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer))return f(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);const i=function(e){if(l.isBuffer(e)){const t=0|m(e.length),n=c(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||Y(e.length)?c(0):h(e);if("Buffer"===e.type&&Array.isArray(e.data))return h(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function p(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return p(e),c(e<0?0:0|m(e))}function h(e){const t=e.length<0?0:0|m(e.length),n=c(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function m(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(e).length;default:if(i)return r?-1:$(e).length;t=(""+t).toLowerCase(),i=!0}}function v(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return j(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Y(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:k(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):k(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function k(e,t,n,r,i){let s,o=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){let r=-1;for(s=n;s<a;s++)if(l(e,s)===l(t,-1===r?0:s-r)){if(-1===r&&(r=s),s-r+1===c)return r*o}else-1!==r&&(s-=s-r),r=-1}else for(n+c>a&&(n=a-c),s=n;s>=0;s--){let n=!0;for(let r=0;r<c;r++)if(l(e,s+r)!==l(t,r)){n=!1;break}if(n)return s}return-1}function w(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const s=t.length;let o;for(r>s/2&&(r=s/2),o=0;o<r;++o){const r=parseInt(t.substr(2*o,2),16);if(Y(r))return o;e[n+o]=r}return o}function _(e,t,n,r){return K($(t,e.length-n),e,n,r)}function E(e,t,n,r){return K(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function C(e,t,n,r){return K(J(t),e,n,r)}function S(e,t,n,r){return K(function(e,t){let n,r,i;const s=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,s.push(i),s.push(r);return s}(t,e.length-n),e,n,r)}function j(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let s=null,o=t>239?4:t>223?3:t>191?2:1;if(i+o<=n){let n,r,a,c;switch(o){case 1:t<128&&(s=t);break;case 2:n=e[i+1],128==(192&n)&&(c=(31&t)<<6|63&n,c>127&&(s=c));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(c=(15&t)<<12|(63&n)<<6|63&r,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:n=e[i+1],r=e[i+2],a=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&a)&&(c=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&a,c>65535&&c<1114112&&(s=c))}}null===s?(s=65533,o=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=o}return function(e){const t=e.length;if(t<=x)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=x));return n}(r)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||void 0===r||"function"!=typeof r.error||r.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return p(e),e<=0?c(e):void 0!==t?"string"==typeof n?c(e).fill(t,n):c(e).fill(t):c(e)}(e,t,n)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(G(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),G(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,s=Math.min(n,r);i<s;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=l.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(G(t,Uint8Array))i+t.length>r.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)b(this,t,t+1);return this},l.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)b(this,t,t+3),b(this,t+1,t+2);return this},l.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)b(this,t,t+7),b(this,t+1,t+6),b(this,t+2,t+5),b(this,t+3,t+4);return this},l.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?M(this,0,e):v.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,i){if(G(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let s=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0);const a=Math.min(s,o),c=this.slice(r,i),u=e.slice(t,n);for(let e=0;e<a;++e)if(c[e]!==u[e]){s=c[e],o=u[e];break}return s<o?-1:o<s?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let s=!1;for(;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":case"latin1":case"binary":return E(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const x=4096;function N(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function A(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function O(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=X[e[r]];return i}function T(e,t,n){const r=e.slice(t,n);let i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}function P(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,i,s){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function R(e,t,n,r,i){V(t,r,i,e,n,7);let s=Number(t&BigInt(4294967295));e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function U(e,t,n,r,i){V(t,r,i,e,n,7);let s=Number(t&BigInt(4294967295));e[n+7]=s,s>>=8,e[n+6]=s,s>>=8,e[n+5]=s,s>>=8,e[n+4]=s;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}function Z(e,t,n,r,i,s){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(e,t,n,r,i){return t=+t,n>>>=0,i||Z(e,0,n,4),s.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,i){return t=+t,n>>>=0,i||Z(e,0,n,8),s.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e],i=1,s=0;for(;++s<t&&(i*=256);)r+=this[e+s]*i;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),l.prototype.readBigUInt64BE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e],i=1,s=0;for(;++s<t&&(i*=256);)r+=this[e+s]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=t,i=1,s=this[e+--r];for(;r>0&&(i*=256);)s+=this[e+--r]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},l.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),l.prototype.readBigInt64BE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),s.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),s.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),s.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),s.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){I(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,s=0;for(this[t]=255&e;++s<n&&(i*=256);)this[t+s]=e/i&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){I(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=Q((function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Q((function(e,t=0){return U(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);I(this,e,t,n,r-1,-r)}let i=0,s=1,o=0;for(this[t]=255&e;++i<n&&(s*=256);)e<0&&0===o&&0!==this[t+i-1]&&(o=1),this[t+i]=(e/s>>0)-o&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);I(this,e,t,n,r-1,-r)}let i=n-1,s=1,o=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/s>>0)-o&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=Q((function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Q((function(e,t=0){return U(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{const s=l.isBuffer(e)?e:l.from(e,r),o=s.length;if(0===o)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=s[i%o]}return this};const z={};function B(e,t,n){z[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function F(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function V(e,t,n,r,i,s){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let i;throw i=s>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(s+1)}${r}`:`>= -(2${r} ** ${8*(s+1)-1}${r}) and < 2 ** ${8*(s+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new z.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||H(t,e.length-(n+1))}(r,i,s)}function q(e,t){if("number"!=typeof e)throw new z.ERR_INVALID_ARG_TYPE(t,"number",e)}function H(e,t,n){if(Math.floor(e)!==e)throw q(e,n),new z.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new z.ERR_BUFFER_OUT_OF_BOUNDS;throw new z.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}B("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),B("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),B("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=F(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=F(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function $(e,t){let n;t=t||1/0;const r=e.length;let i=null;const s=[];for(let o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function J(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function G(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function Q(e){return"undefined"==typeof BigInt?ee:e}function ee(){throw new Error("BigInt not supported")}},16422:function(e,t,n){"use strict";var r=n(25165),i=n(43120),s=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&s(e,".prototype.")>-1?i(n):n}},43120:function(e,t,n){"use strict";var r=n(75433),i=n(25165),s=i("%Function.prototype.apply%"),o=i("%Function.prototype.call%"),a=i("%Reflect.apply%",!0)||r.call(o,s),c=i("%Object.getOwnPropertyDescriptor%",!0),l=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=a(r,o,arguments);if(c&&l){var n=c(t,"length");n.configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var p=function(){return a(r,s,arguments)};l?l(e.exports,"apply",{value:p}):e.exports.apply=p},69239:function(e,t,n){var r=n(37225).Buffer,i=n(81717).Transform,s=n(3247).s;function o(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(59503)(o,i),o.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){r=e}finally{n(r)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new s(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=o},89105:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var o=i.apply(null,n);o&&e.push(o)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var a in n)r.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},26767:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(6670));t.default=c;var i=o(n(58407)),s=o(n(96121));function o(e){return e&&e.__esModule?e:{default:e}}var a=new r.default;function c(e,t){return a.set(e,t),function(){a.delete(e)}}function l(e){a.forEach((function(t,n){(0,s.default)(n,e.target)||t.call(n,e)}))}function u(e){e||(e=document),i.default.bind(e,"click",l)}c.globalClick=l,c.install=u,"undefined"!=typeof document&&u(document),e.exports=t.default},31439:function(e){var t;t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var s=0,o=r.length;s<o;s++)r[s].fn!==t&&r[s].fn._!==t&&i.push(r[s]);return i.length?n[e]=i:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},function(e,t,n){var r=n(3),i=n(4);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return i(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(5);function i(e,t,n,r,i){var o=s.apply(this,arguments);return e.addEventListener(n,o,i),{destroy:function(){e.removeEventListener(n,o,i)}}}function s(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}e.exports=function(e,t,n,r,s){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,n,r,s)})))}},function(e,t){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return o(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=i()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=i()(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":s(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}(),c=a,l=n(1),u=n.n(l),p=n(2),d=n.n(p),h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),f(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===h(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=d()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return g("action",e)}},{key:"defaultTarget",value:function(e){var t=g("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return g("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(u.a);function g(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}t.default=m}]).default},e.exports=t()},58407:function(e,t){var n=window.addEventListener?"addEventListener":"attachEvent",r=window.removeEventListener?"removeEventListener":"detachEvent",i="addEventListener"!==n?"on":"";t.bind=function(e,t,r,s){return e[n](i+t,r,s||!1),r},t.unbind=function(e,t,n,s){return e[r](i+t,n,s||!1),n}},97236:function(e,t,n){function r(e){var t,n;for(t=[],n=0;n<e.length;n++)t.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_"[e[n]%64]);return t.join("")}e.exports=function(e){if("undefined"!=typeof window){if(void 0!==window.crypto)return r(window.crypto.getRandomValues(new Uint8Array(e)));for(var t=new Array(e),i=0;i<e;i++)t[i]=Math.floor(256*Math.random());return r(t)}var s=n(50142);try{return r(s.randomBytes(e))}catch(t){return r(s.pseudoRandomBytes(e))}}},55246:function(e,t,n){var r=n(23333),i=n(90605);function s(){return(new Date).getTime()}var o,a=Array.prototype.slice,c={};o="undefined"!=typeof window&&window.console||"undefined"!=typeof window&&window.console?window.console:{};for(var l=[[function(){},"log"],[function(){o.log.apply(o,arguments)},"info"],[function(){o.log.apply(o,arguments)},"warn"],[function(){o.warn.apply(o,arguments)},"error"],[function(e){c[e]=s()},"time"],[function(e){var t=c[e];if(!t)throw new Error("No such label: "+e);delete c[e];var n=s()-t;o.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),o.error(e.stack)},"trace"],[function(e){o.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=a.call(arguments,1);i.ok(!1,r.format.apply(null,t))}},"assert"]],u=0;u<l.length;u++){var p=l[u],d=p[0],h=p[1];o[h]||(o[h]=d)}e.exports=o},92916:function(e,t,n){n(14183),n(45817),n(63564),n(89118),n(28623),n(17310),n(46495),e.exports=n(76891).Map},30841:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},93126:function(e){e.exports=function(){}},82895:function(e){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},7567:function(e,t,n){var r=n(77418);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},96384:function(e,t,n){var r=n(56281);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},70110:function(e,t,n){var r=n(29236),i=n(82561),s=n(49012);e.exports=function(e){return function(t,n,o){var a,c=r(t),l=i(c.length),u=s(o,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},94781:function(e,t,n){var r=n(66897),i=n(59589),s=n(68061),o=n(82561),a=n(89615);e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,u=4==e,p=6==e,d=5==e||p,h=t||a;return function(t,a,f){for(var m,g,v=s(t),b=i(v),y=r(a,f,3),k=o(b.length),w=0,_=n?h(t,k):c?h(t,0):void 0;k>w;w++)if((d||w in b)&&(g=y(m=b[w],w,v),e))if(n)_[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:_.push(m)}else if(u)return!1;return p?-1:l||u?u:_}}},75015:function(e,t,n){var r=n(77418),i=n(18457),s=n(65773)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[s])&&(t=void 0)),void 0===t?Array:t}},89615:function(e,t,n){var r=n(75015);e.exports=function(e,t){return new(r(e))(t)}},42318:function(e,t,n){var r=n(51695),i=n(65773)("toStringTag"),s="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:s?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},51695:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},38636:function(e,t,n){"use strict";var r=n(635).f,i=n(39638),s=n(34887),o=n(66897),a=n(82895),c=n(56281),l=n(91851),u=n(61407),p=n(5765),d=n(88599),h=n(74177).fastKey,f=n(39696),m=d?"_s":"size",g=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var u=e((function(e,r){a(e,u,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&c(r,n,e[l],e)}));return s(u.prototype,{clear:function(){for(var e=f(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=f(this,t),r=g(n,e);if(r){var i=r.n,s=r.p;delete n._i[r.i],r.r=!0,s&&(s.n=i),i&&(i.p=s),n._f==r&&(n._f=i),n._l==r&&(n._l=s),n[m]--}return!!r},forEach:function(e){f(this,t);for(var n,r=o(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(f(this,t),e)}}),d&&r(u.prototype,"size",{get:function(){return f(this,t)[m]}}),u},def:function(e,t,n){var r,i,s=g(e,t);return s?s.v=n:(e._l=s={i:i=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=s),r&&(r.n=s),e[m]++,"F"!==i&&(e._i[i]=s)),e},getEntry:g,setStrong:function(e,t,n){l(e,t,(function(e,n){this._t=f(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?u(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,u(1))}),n?"entries":"values",!n,!0),p(t)}}},35353:function(e,t,n){var r=n(42318),i=n(96384);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},85770:function(e,t,n){"use strict";var r=n(59507),i=n(87043),s=n(74177),o=n(3641),a=n(82283),c=n(34887),l=n(56281),u=n(82895),p=n(77418),d=n(7891),h=n(635).f,f=n(94781)(0),m=n(88599);e.exports=function(e,t,n,g,v,b){var y=r[e],k=y,w=v?"set":"add",_=k&&k.prototype,E={};return m&&"function"==typeof k&&(b||_.forEach&&!o((function(){(new k).entries().next()})))?(k=t((function(t,n){u(t,k,e,"_c"),t._c=new y,null!=n&&l(n,v,t[w],t)})),f("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),(function(e){var t="add"==e||"set"==e;!(e in _)||b&&"clear"==e||a(k.prototype,e,(function(n,r){if(u(this,k,e),!t&&b&&!p(n))return"get"==e&&void 0;var i=this._c[e](0===n?0:n,r);return t?this:i}))})),b||h(k.prototype,"size",{get:function(){return this._c.size}})):(k=g.getConstructor(t,e,v,w),c(k.prototype,n),s.NEED=!0),d(k,e),E[e]=k,i(i.G+i.W+i.F,E),b||g.setStrong(k,e,v),k}},76891:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},66897:function(e,t,n){var r=n(30841);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},91625:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},88599:function(e,t,n){e.exports=!n(3641)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},14595:function(e,t,n){var r=n(77418),i=n(59507).document,s=r(i)&&r(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},93900:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},87043:function(e,t,n){var r=n(59507),i=n(76891),s=n(66897),o=n(82283),a=n(6649),c=function(e,t,n){var l,u,p,d=e&c.F,h=e&c.G,f=e&c.S,m=e&c.P,g=e&c.B,v=e&c.W,b=h?i:i[t]||(i[t]={}),y=b.prototype,k=h?r:f?r[t]:(r[t]||{}).prototype;for(l in h&&(n=t),n)(u=!d&&k&&void 0!==k[l])&&a(b,l)||(p=u?k[l]:n[l],b[l]=h&&"function"!=typeof k[l]?n[l]:g&&u?s(p,r):v&&k[l]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(p):m&&"function"==typeof p?s(Function.call,p):p,m&&((b.virtual||(b.virtual={}))[l]=p,e&c.R&&y&&!y[l]&&o(y,l,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},3641:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},56281:function(e,t,n){var r=n(66897),i=n(65201),s=n(19959),o=n(7567),a=n(82561),c=n(68246),l={},u={},p=e.exports=function(e,t,n,p,d){var h,f,m,g,v=d?function(){return e}:c(e),b=r(n,p,t?2:1),y=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(s(v)){for(h=a(e.length);h>y;y++)if((g=t?b(o(f=e[y])[0],f[1]):b(e[y]))===l||g===u)return g}else for(m=v.call(e);!(f=m.next()).done;)if((g=i(m,b,f.value,t))===l||g===u)return g};p.BREAK=l,p.RETURN=u},59507:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},6649:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},82283:function(e,t,n){var r=n(635),i=n(2632);e.exports=n(88599)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},42232:function(e,t,n){var r=n(59507).document;e.exports=r&&r.documentElement},30801:function(e,t,n){e.exports=!n(88599)&&!n(3641)((function(){return 7!=Object.defineProperty(n(14595)("div"),"a",{get:function(){return 7}}).a}))},59589:function(e,t,n){var r=n(51695);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},19959:function(e,t,n){var r=n(43617),i=n(65773)("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||s[i]===e)}},18457:function(e,t,n){var r=n(51695);e.exports=Array.isArray||function(e){return"Array"==r(e)}},77418:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},65201:function(e,t,n){var r=n(7567);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var s=e.return;throw void 0!==s&&r(s.call(e)),t}}},11949:function(e,t,n){"use strict";var r=n(39638),i=n(2632),s=n(7891),o={};n(82283)(o,n(65773)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),s(e,t+" Iterator")}},91851:function(e,t,n){"use strict";var r=n(35145),i=n(87043),s=n(52820),o=n(82283),a=n(43617),c=n(11949),l=n(7891),u=n(1503),p=n(65773)("iterator"),d=!([].keys&&"next"in[].keys()),h="keys",f="values",m=function(){return this};e.exports=function(e,t,n,g,v,b,y){c(n,t,g);var k,w,_,E=function(e){if(!d&&e in M)return M[e];switch(e){case h:case f:return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",S=v==f,j=!1,M=e.prototype,x=M[p]||M["@@iterator"]||v&&M[v],N=x||E(v),A=v?S?E("entries"):N:void 0,O="Array"==t&&M.entries||x;if(O&&(_=u(O.call(new e)))!==Object.prototype&&_.next&&(l(_,C,!0),r||"function"==typeof _[p]||o(_,p,m)),S&&x&&x.name!==f&&(j=!0,N=function(){return x.call(this)}),r&&!y||!d&&!j&&M[p]||o(M,p,N),a[t]=N,a[C]=m,v)if(k={values:S?N:E(f),keys:b?N:E(h),entries:A},y)for(w in k)w in M||s(M,w,k[w]);else i(i.P+i.F*(d||j),t,k);return k}},61407:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},43617:function(e){e.exports={}},35145:function(e){e.exports=!0},74177:function(e,t,n){var r=n(62994)("meta"),i=n(77418),s=n(6649),o=n(635).f,a=0,c=Object.isExtensible||function(){return!0},l=!n(3641)((function(){return c(Object.preventExtensions({}))})),u=function(e){o(e,r,{value:{i:"O"+ ++a,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,r)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!s(e,r)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return l&&p.NEED&&c(e)&&!s(e,r)&&u(e),e}}},39638:function(e,t,n){var r=n(7567),i=n(58906),s=n(93900),o=n(53588)("IE_PROTO"),a=function(){},c=function(){var e,t=n(14595)("iframe"),r=s.length;for(t.style.display="none",n(42232).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[s[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=r(e),n=new a,a.prototype=null,n[o]=e):n=c(),void 0===t?n:i(n,t)}},635:function(e,t,n){var r=n(7567),i=n(30801),s=n(91032),o=Object.defineProperty;t.f=n(88599)?Object.defineProperty:function(e,t,n){if(r(e),t=s(t,!0),r(n),i)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},58906:function(e,t,n){var r=n(635),i=n(7567),s=n(65915);e.exports=n(88599)?Object.defineProperties:function(e,t){i(e);for(var n,o=s(t),a=o.length,c=0;a>c;)r.f(e,n=o[c++],t[n]);return e}},1503:function(e,t,n){var r=n(6649),i=n(68061),s=n(53588)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},93255:function(e,t,n){var r=n(6649),i=n(29236),s=n(70110)(!1),o=n(53588)("IE_PROTO");e.exports=function(e,t){var n,a=i(e),c=0,l=[];for(n in a)n!=o&&r(a,n)&&l.push(n);for(;t.length>c;)r(a,n=t[c++])&&(~s(l,n)||l.push(n));return l}},65915:function(e,t,n){var r=n(93255),i=n(93900);e.exports=Object.keys||function(e){return r(e,i)}},2632:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},34887:function(e,t,n){var r=n(82283);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},52820:function(e,t,n){e.exports=n(82283)},46199:function(e,t,n){"use strict";var r=n(87043),i=n(30841),s=n(66897),o=n(56281);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,a,c=arguments[1];return i(this),(t=void 0!==c)&&i(c),null==e?new this:(n=[],t?(r=0,a=s(c,arguments[2],2),o(e,!1,(function(e){n.push(a(e,r++))}))):o(e,!1,n.push,n),new this(n))}})}},20727:function(e,t,n){"use strict";var r=n(87043);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},5765:function(e,t,n){"use strict";var r=n(59507),i=n(76891),s=n(635),o=n(88599),a=n(65773)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[a]&&s.f(t,a,{configurable:!0,get:function(){return this}})}},7891:function(e,t,n){var r=n(635).f,i=n(6649),s=n(65773)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,s)&&r(e,s,{configurable:!0,value:t})}},53588:function(e,t,n){var r=n(82154)("keys"),i=n(62994);e.exports=function(e){return r[e]||(r[e]=i(e))}},82154:function(e,t,n){var r=n(76891),i=n(59507),s="__core-js_shared__",o=i[s]||(i[s]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(35145)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},1095:function(e,t,n){var r=n(48921),i=n(91625);e.exports=function(e){return function(t,n){var s,o,a=String(i(t)),c=r(n),l=a.length;return c<0||c>=l?e?"":void 0:(s=a.charCodeAt(c))<55296||s>56319||c+1===l||(o=a.charCodeAt(c+1))<56320||o>57343?e?a.charAt(c):s:e?a.slice(c,c+2):o-56320+(s-55296<<10)+65536}}},49012:function(e,t,n){var r=n(48921),i=Math.max,s=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):s(e,t)}},48921:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},29236:function(e,t,n){var r=n(59589),i=n(91625);e.exports=function(e){return r(i(e))}},82561:function(e,t,n){var r=n(48921),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},68061:function(e,t,n){var r=n(91625);e.exports=function(e){return Object(r(e))}},91032:function(e,t,n){var r=n(77418);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},62994:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},39696:function(e,t,n){var r=n(77418);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},65773:function(e,t,n){var r=n(82154)("wks"),i=n(62994),s=n(59507).Symbol,o="function"==typeof s;(e.exports=function(e){return r[e]||(r[e]=o&&s[e]||(o?s:i)("Symbol."+e))}).store=r},68246:function(e,t,n){var r=n(42318),i=n(65773)("iterator"),s=n(43617);e.exports=n(76891).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||s[r(e)]}},42394:function(e,t,n){"use strict";var r=n(93126),i=n(61407),s=n(43617),o=n(29236);e.exports=n(91851)(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),s.Arguments=s.Array,r("keys"),r("values"),r("entries")},89118:function(e,t,n){"use strict";var r=n(38636),i=n(39696),s="Map";e.exports=n(85770)(s,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(i(this,s),e);return t&&t.v},set:function(e,t){return r.def(i(this,s),0===e?0:e,t)}},r,!0)},14183:function(){},45817:function(e,t,n){"use strict";var r=n(1095)(!0);n(91851)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},46495:function(e,t,n){n(46199)("Map")},17310:function(e,t,n){n(20727)("Map")},28623:function(e,t,n){var r=n(87043);r(r.P+r.R,"Map",{toJSON:n(35353)("Map")})},63564:function(e,t,n){n(42394);for(var r=n(59507),i=n(82283),s=n(43617),o=n(65773)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var l=a[c],u=r[l],p=u&&u.prototype;p&&!p[o]&&i(p,o,l),s[l]=s.Array}},73888:function(e,t,n){var r=n(90778).Buffer,i=n(73931),s=n(30910);e.exports=function(e){return new a(e)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(e){this.curveType=o[e],this.curveType||(this.curveType={name:e}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function c(e,t,n){Array.isArray(e)||(e=e.toArray());var i=new r(e);if(n&&i.length<n){var s=new r(n-i.length);s.fill(0),i=r.concat([s,i])}return t?i.toString(t):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},a.prototype.computeSecret=function(e,t,n){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),c(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(e,t){var n=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(n[n.length-1]%2?n[0]=7:n[0]=6),c(n,e)},a.prototype.getPrivateKey=function(e){return c(this.keys.getPrivate(),e)},a.prototype.setPublicKey=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.keys._importPublic(e),this},a.prototype.setPrivateKey=function(e,t){t=t||"utf8",r.isBuffer(e)||(e=new r(e,t));var n=new s(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}},77439:function(e,t,n){"use strict";var r=n(59503),i=n(53956),s=n(50601),o=n(25636),a=n(69239);function c(e){a.call(this,"digest"),this._hash=e}r(c,a),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new s:new c(o(e))}},51345:function(e,t,n){var r=n(53956);e.exports=function(e){return(new r).update(e).digest()}},40445:function(e,t,n){"use strict";var r=n(59503),i=n(98919),s=n(69239),o=n(37225).Buffer,a=n(51345),c=n(50601),l=n(25636),u=o.alloc(128);function p(e,t){s.call(this,"digest"),"string"==typeof t&&(t=o.from(t));var n="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>n)?t=("rmd160"===e?new c:l(e)).update(t).digest():t.length<n&&(t=o.concat([t,u],n));for(var r=this._ipad=o.allocUnsafe(n),i=this._opad=o.allocUnsafe(n),a=0;a<n;a++)r[a]=54^t[a],i[a]=92^t[a];this._hash="rmd160"===e?new c:l(e),this._hash.update(r)}r(p,s),p.prototype._update=function(e){this._hash.update(e)},p.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new c:l(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new p("rmd160",t):"md5"===e?new i(a,t):new p(e,t)}},98919:function(e,t,n){"use strict";var r=n(59503),i=n(37225).Buffer,s=n(69239),o=i.alloc(128),a=64;function c(e,t){s.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=i.concat([t,o],a));for(var n=this._ipad=i.allocUnsafe(a),r=this._opad=i.allocUnsafe(a),c=0;c<a;c++)n[c]=54^t[c],r[c]=92^t[c];this._hash=[n]}r(c,s),c.prototype._update=function(e){this._hash.push(e)},c.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=c},23936:function(e,t,n){"use strict";var r=n(1625),i={};function s(e,t,n,r,i,s,o,a){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,s,o,a],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}var o="mixins";e.exports=function(e,t,n){var a=[],c={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},l={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)d(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=f(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(s(!(n in u),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e)return s("DEFINE_MANY_MERGED"===(l.hasOwnProperty(n)?l[n]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=f(e[n],r));e[n]=r}}}(e,t)},autobind:function(){}};function p(e,t){var n=c.hasOwnProperty(t)?c[t]:null;y.hasOwnProperty(t)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function d(e,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty(o)&&u.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&a!==o){var l=n[a],d=r.hasOwnProperty(a);if(p(d,a),u.hasOwnProperty(a))u[a](e,l);else{var h=c.hasOwnProperty(a);if("function"==typeof l&&!h&&!d&&!1!==n.autobind)i.push(a,l),r[a]=l;else if(d){var g=c[a];s(h&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,a),"DEFINE_MANY_MERGED"===g?r[a]=f(r[a],l):"DEFINE_MANY"===g&&(r[a]=m(r[a],l))}else r[a]=l}}}else;}function h(e,t){for(var n in s(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(s(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function f(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return h(i,n),h(i,r),i}}function m(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function g(e,t){return t.bind(e)}var v={componentDidMount:function(){this.__isMounted=!0}},b={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},k=function(){};return r(k.prototype,e.prototype,y),function(e){var t=function(e,r,o){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];e[r]=g(e,i)}}(this),this.props=e,this.context=r,this.refs=i,this.updater=o||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;s("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=a};for(var r in t.prototype=new k,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(d.bind(null,t)),d(t,v),d(t,e),d(t,b),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),s(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),c)t.prototype[r]||(t.prototype[r]=null);return t}}},7767:function(e,t,n){"use strict";var r=n(99196),i=n(23936);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var s=(new r.Component).updater;e.exports=i(r.Component,r.isValidElement,s)},50142:function(e,t,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n(35175),t.createHash=t.Hash=n(77439),t.createHmac=t.Hmac=n(40445);var r=n(60451),i=Object.keys(r),s=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return s};var o=n(80231);t.pbkdf2=o.pbkdf2,t.pbkdf2Sync=o.pbkdf2Sync;var a=n(83936);t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var c=n(63298);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var l=n(29908);t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=n(73888);var u=n(51296);t.publicEncrypt=u.publicEncrypt,t.privateEncrypt=u.privateEncrypt,t.publicDecrypt=u.publicDecrypt,t.privateDecrypt=u.privateDecrypt;var p=n(70460);t.randomFill=p.randomFill,t.randomFillSync=p.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},13185:function(e,t,n){"use strict";var r=n(98517),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),s=Object.prototype.toString,o=Array.prototype.concat,a=Object.defineProperty,c=a&&function(){var e={};try{for(var t in a(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),l=function(e,t,n,r){var i;(!(t in e)||"function"==typeof(i=r)&&"[object Function]"===s.call(i)&&r())&&(c?a(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},s=r(t);i&&(s=o.call(s,Object.getOwnPropertySymbols(t)));for(var a=0;a<s.length;a+=1)l(e,s[a],t[s[a]],n[s[a]])};u.supportsDescriptors=!!c,e.exports=u},98625:function(e,t,n){"use strict";t.utils=n(87990),t.Cipher=n(90746),t.DES=n(48738),t.CBC=n(94369),t.EDE=n(96413)},94369:function(e,t,n){"use strict";var r=n(48282),i=n(59503),s={};function o(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var n=Object.keys(s),r=0;r<n.length;r++){var o=n[r];t.prototype[o]=s[o]}return t.create=function(e){return new t(e)},t},s._cbcInit=function(){var e=new o(this.options.iv);this._cbcState=e},s._update=function(e,t,n,r){var i=this._cbcState,s=this.constructor.super_.prototype,o=i.iv;if("encrypt"===this.type){for(var a=0;a<this.blockSize;a++)o[a]^=e[t+a];s._update.call(this,o,0,n,r);for(a=0;a<this.blockSize;a++)o[a]=n[r+a]}else{s._update.call(this,e,t,n,r);for(a=0;a<this.blockSize;a++)n[r+a]^=o[a];for(a=0;a<this.blockSize;a++)o[a]=e[t+a]}}},90746:function(e,t,n){"use strict";var r=n(48282);function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<n;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,n=0,r=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var s=e.length-(e.length-t)%this.blockSize;t<s;t+=this.blockSize)this._update(e,t,i,n),n+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,n=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},48738:function(e,t,n){"use strict";var r=n(48282),i=n(59503),s=n(87990),o=n(90746);function a(){this.tmp=new Array(2),this.keys=null}function c(e){o.call(this,e);var t=new a;this._desState=t,this.deriveKeys(t,e.key)}i(c,o),e.exports=c,c.create=function(e){return new c(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var n=s.readUInt32BE(t,0),i=s.readUInt32BE(t,4);s.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var o=0;o<e.keys.length;o+=2){var a=l[o>>>1];n=s.r28shl(n,a),i=s.r28shl(i,a),s.pc2(n,i,e.keys,o)}},c.prototype._update=function(e,t,n,r){var i=this._desState,o=s.readUInt32BE(e,t),a=s.readUInt32BE(e,t+4);s.ip(o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,a,i.tmp,0):this._decrypt(i,o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],s.writeUInt32BE(n,o,r),s.writeUInt32BE(n,a,r+4)},c.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r<e.length;r++)e[r]=n;return!0},c.prototype._unpad=function(e){for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},c.prototype._encrypt=function(e,t,n,r,i){for(var o=t,a=n,c=0;c<e.keys.length;c+=2){var l=e.keys[c],u=e.keys[c+1];s.expand(a,e.tmp,0),l^=e.tmp[0],u^=e.tmp[1];var p=s.substitute(l,u),d=a;a=(o^s.permute(p))>>>0,o=d}s.rip(a,o,r,i)},c.prototype._decrypt=function(e,t,n,r,i){for(var o=n,a=t,c=e.keys.length-2;c>=0;c-=2){var l=e.keys[c],u=e.keys[c+1];s.expand(o,e.tmp,0),l^=e.tmp[0],u^=e.tmp[1];var p=s.substitute(l,u),d=o;o=(a^s.permute(p))>>>0,a=d}s.rip(o,a,r,i)}},96413:function(e,t,n){"use strict";var r=n(48282),i=n(59503),s=n(90746),o=n(48738);function a(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),s=t.slice(16,24);this.ciphers="encrypt"===e?[o.create({type:"encrypt",key:n}),o.create({type:"decrypt",key:i}),o.create({type:"encrypt",key:s})]:[o.create({type:"decrypt",key:s}),o.create({type:"encrypt",key:i}),o.create({type:"decrypt",key:n})]}function c(e){s.call(this,e);var t=new a(this.type,this.options.key);this._edeState=t}i(c,s),e.exports=c,c.create=function(e){return new c(e)},c.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},c.prototype._pad=o.prototype._pad,c.prototype._unpad=o.prototype._unpad},87990:function(e,t){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var i=0,s=0,o=6;o>=0;o-=2){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>>a+o&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>>a+o&1}for(o=6;o>=0;o-=2){for(a=1;a<=25;a+=8)s<<=1,s|=t>>>a+o&1;for(a=1;a<=25;a+=8)s<<=1,s|=e>>>a+o&1}n[r+0]=i>>>0,n[r+1]=s>>>0},t.rip=function(e,t,n,r){for(var i=0,s=0,o=0;o<4;o++)for(var a=24;a>=0;a-=8)i<<=1,i|=t>>>a+o&1,i<<=1,i|=e>>>a+o&1;for(o=4;o<8;o++)for(a=24;a>=0;a-=8)s<<=1,s|=t>>>a+o&1,s<<=1,s|=e>>>a+o&1;n[r+0]=i>>>0,n[r+1]=s>>>0},t.pc1=function(e,t,n,r){for(var i=0,s=0,o=7;o>=5;o--){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>a+o&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+o&1}for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+o&1;for(o=1;o<=3;o++){for(a=0;a<=24;a+=8)s<<=1,s|=t>>a+o&1;for(a=0;a<=24;a+=8)s<<=1,s|=e>>a+o&1}for(a=0;a<=24;a+=8)s<<=1,s|=e>>a+o&1;n[r+0]=i>>>0,n[r+1]=s>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,i){for(var s=0,o=0,a=n.length>>>1,c=0;c<a;c++)s<<=1,s|=e>>>n[c]&1;for(c=a;c<n.length;c++)o<<=1,o|=t>>>n[c]&1;r[i+0]=s>>>0,r[i+1]=o>>>0},t.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var s=23;s>=15;s-=4)r<<=6,r|=e>>>s&63;for(s=11;s>=3;s-=4)i|=e>>>s&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var n=0,i=0;i<4;i++){n<<=4,n|=r[64*i+(e>>>18-6*i&63)]}for(i=0;i<4;i++){n<<=4,n|=r[256+64*i+(t>>>18-6*i&63)]}return n>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,n=0;n<i.length;n++)t<<=1,t|=e>>>i[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var r=e.toString(2);r.length<t;)r="0"+r;for(var i=[],s=0;s<t;s+=n)i.push(r.slice(s,s+n));return i.join(" ")}},63298:function(e,t,n){var r=n(90778).Buffer,i=n(76156),s=n(27046),o=n(92716);var a={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(e){var t=new r(s[e].prime,"hex"),n=new r(s[e].gen,"hex");return new o(t,n)},t.createDiffieHellman=t.DiffieHellman=function e(t,n,s,c){return r.isBuffer(n)||void 0===a[n]?e(t,"binary",n,s):(n=n||"binary",c=c||"binary",s=s||new r([2]),r.isBuffer(s)||(s=new r(s,c)),"number"==typeof t?new o(i(t,s),s,!0):(r.isBuffer(t)||(t=new r(t,n)),new o(t,s,!0)))}},92716:function(e,t,n){var r=n(90778).Buffer,i=n(30910),s=new(n(16616)),o=new i(24),a=new i(11),c=new i(10),l=new i(3),u=new i(7),p=n(76156),d=n(35175);function h(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._pub=new i(e),this}function f(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._priv=new i(e),this}e.exports=g;var m={};function g(e,t,n){this.setGenerator(t),this.__prime=new i(e),this._prime=i.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=h,this.setPrivateKey=f):this._primeCode=8}function v(e,t){var n=new r(e.toArray());return t?n.toString(t):n}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString("hex"),r=[n,e.toString(16)].join("_");if(r in m)return m[r];var i,d=0;if(e.isEven()||!p.simpleSieve||!p.fermatTest(e)||!s.test(e))return d+=1,d+="02"===n||"05"===n?8:4,m[r]=d,d;switch(s.test(e.shrn(1))||(d+=2),n){case"02":e.mod(o).cmp(a)&&(d+=8);break;case"05":(i=e.mod(c)).cmp(l)&&i.cmp(u)&&(d+=8);break;default:d+=4}return m[r]=d,d}(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new i(d(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(e){var t=(e=(e=new i(e)).toRed(this._prime)).redPow(this._priv).fromRed(),n=new r(t.toArray()),s=this.getPrime();if(n.length<s.length){var o=new r(s.length-n.length);o.fill(0),n=r.concat([o,n])}return n},g.prototype.getPublicKey=function(e){return v(this._pub,e)},g.prototype.getPrivateKey=function(e){return v(this._priv,e)},g.prototype.getPrime=function(e){return v(this.__prime,e)},g.prototype.getGenerator=function(e){return v(this._gen,e)},g.prototype.setGenerator=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.__gen=e,this._gen=new i(e),this}},76156:function(e,t,n){var r=n(35175);e.exports=b,b.simpleSieve=g,b.fermatTest=v;var i=n(30910),s=new i(24),o=new(n(16616)),a=new i(1),c=new i(2),l=new i(5),u=(new i(16),new i(8),new i(10)),p=new i(3),d=(new i(7),new i(11)),h=new i(4),f=(new i(12),null);function m(){if(null!==f)return f;var e=[];e[0]=2;for(var t=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<t&&e[i]<=r&&n%e[i]!=0;i++);t!==i&&e[i]<=r||(e[t++]=n)}return f=e,e}function g(e){for(var t=m(),n=0;n<t.length;n++)if(0===e.modn(t[n]))return 0===e.cmpn(t[n]);return!0}function v(e){var t=i.mont(e);return 0===c.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function b(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var n,f;for(t=new i(t);;){for(n=new i(r(Math.ceil(e/8)));n.bitLength()>e;)n.ishrn(1);if(n.isEven()&&n.iadd(a),n.testn(1)||n.iadd(c),t.cmp(c)){if(!t.cmp(l))for(;n.mod(u).cmp(p);)n.iadd(h)}else for(;n.mod(s).cmp(d);)n.iadd(h);if(g(f=n.shrn(1))&&g(n)&&v(f)&&v(n)&&o.test(f)&&o.test(n))return n}}},73931:function(e,t,n){"use strict";var r=t;r.version=n(80906).i8,r.utils=n(12097),r.rand=n(71876),r.curve=n(46244),r.curves=n(65583),r.ec=n(72553),r.eddsa=n(66281)},48432:function(e,t,n){"use strict";var r=n(30910),i=n(12097),s=i.getNAF,o=i.getJSF,a=i.assert;function c(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function l(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){a(e.precomputed);var n=e._getDoubles(),r=s(t,1,this._bitLength),i=(1<<n.step+1)-(n.step%2==0?2:1);i/=3;var o,c,l=[];for(o=0;o<r.length;o+=n.step){c=0;for(var u=o+n.step-1;u>=o;u--)c=(c<<1)+r[u];l.push(c)}for(var p=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=i;h>0;h--){for(o=0;o<l.length;o++)(c=l[o])===h?d=d.mixedAdd(n.points[o]):c===-h&&(d=d.mixedAdd(n.points[o].neg()));p=p.add(d)}return p.toP()},c.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var i=r.points,o=s(t,n,this._bitLength),c=this.jpoint(null,null,null),l=o.length-1;l>=0;l--){for(var u=0;l>=0&&0===o[l];l--)u++;if(l>=0&&u++,c=c.dblp(u),l<0)break;var p=o[l];a(0!==p),c="affine"===e.type?p>0?c.mixedAdd(i[p-1>>1]):c.mixedAdd(i[-p-1>>1].neg()):p>0?c.add(i[p-1>>1]):c.add(i[-p-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,n,r,i){var a,c,l,u=this._wnafT1,p=this._wnafT2,d=this._wnafT3,h=0;for(a=0;a<r;a++){var f=(l=t[a])._getNAFPoints(e);u[a]=f.wnd,p[a]=f.points}for(a=r-1;a>=1;a-=2){var m=a-1,g=a;if(1===u[m]&&1===u[g]){var v=[t[m],null,null,t[g]];0===t[m].y.cmp(t[g].y)?(v[1]=t[m].add(t[g]),v[2]=t[m].toJ().mixedAdd(t[g].neg())):0===t[m].y.cmp(t[g].y.redNeg())?(v[1]=t[m].toJ().mixedAdd(t[g]),v[2]=t[m].add(t[g].neg())):(v[1]=t[m].toJ().mixedAdd(t[g]),v[2]=t[m].toJ().mixedAdd(t[g].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=o(n[m],n[g]);for(h=Math.max(y[0].length,h),d[m]=new Array(h),d[g]=new Array(h),c=0;c<h;c++){var k=0|y[0][c],w=0|y[1][c];d[m][c]=b[3*(k+1)+(w+1)],d[g][c]=0,p[m]=v}}else d[m]=s(n[m],u[m],this._bitLength),d[g]=s(n[g],u[g],this._bitLength),h=Math.max(d[m].length,h),h=Math.max(d[g].length,h)}var _=this.jpoint(null,null,null),E=this._wnafT4;for(a=h;a>=0;a--){for(var C=0;a>=0;){var S=!0;for(c=0;c<r;c++)E[c]=0|d[c][a],0!==E[c]&&(S=!1);if(!S)break;C++,a--}if(a>=0&&C++,_=_.dblp(C),a<0)break;for(c=0;c<r;c++){var j=E[c];0!==j&&(j>0?l=p[c][j-1>>1]:j<0&&(l=p[c][-j-1>>1].neg()),_="affine"===l.type?_.mixedAdd(l):_.add(l))}}for(a=0;a<r;a++)p[a]=null;return i?_:_.toP()},c.BasePoint=l,l.prototype.eq=function(){throw new Error("Not implemented")},l.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*n)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),3===e[0]);throw new Error("Unknown point format")},l.prototype.encodeCompressed=function(e){return this.encode(e,!0)},l.prototype._encode=function(e){var t=this.curve.p.byteLength(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",t))},l.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},l.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},l.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<t;i+=e){for(var s=0;s<e;s++)r=r.dbl();n.push(r)}return{step:e,points:n}},l.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},l.prototype._getBeta=function(){return null},l.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}},27978:function(e,t,n){"use strict";var r=n(12097),i=n(30910),s=n(59503),o=n(48432),a=r.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,n,r,s){o.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=s&&new i(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}s(c,o),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),s=this.one.redSub(this.c2.redMul(this.d).redMul(n)),o=r.redMul(s.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},c.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),s=n.redMul(this.d).redMul(this.c2).redSub(this.a),o=r.redMul(s.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},s(l,o.BasePoint),c.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},c.prototype.point=function(e,t,n,r){return new l(this,e,t,n,r)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=r.redAdd(t),o=s.redSub(n),a=r.redSub(t),c=i.redMul(o),l=s.redMul(a),u=i.redMul(a),p=o.redMul(s);return this.curve.point(c,l,p,u)},l.prototype._projDbl=function(){var e,t,n,r,i,s,o=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var l=(r=this.curve._mulA(a)).redAdd(c);this.zOne?(e=o.redSub(a).redSub(c).redMul(l.redSub(this.curve.two)),t=l.redMul(r.redSub(c)),n=l.redSqr().redSub(l).redSub(l)):(i=this.z.redSqr(),s=l.redSub(i).redISub(i),e=o.redSub(a).redISub(c).redMul(s),t=l.redMul(r.redSub(c)),n=l.redMul(s))}else r=a.redAdd(c),i=this.curve._mulC(this.z).redSqr(),s=r.redSub(i).redSub(i),e=this.curve._mulC(o.redISub(r)).redMul(s),t=this.curve._mulC(r).redMul(a.redISub(c)),n=r.redMul(s);return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),s=n.redSub(t),o=i.redSub(r),a=i.redAdd(r),c=n.redAdd(t),l=s.redMul(o),u=a.redMul(c),p=s.redMul(c),d=o.redMul(a);return this.curve.point(l,u,d,p)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),s=this.x.redMul(e.x),o=this.y.redMul(e.y),a=this.curve.d.redMul(s).redMul(o),c=i.redSub(a),l=i.redAdd(a),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(s).redISub(o),p=r.redMul(c).redMul(u);return this.curve.twisted?(t=r.redMul(l).redMul(o.redSub(this.curve._mulA(s))),n=c.redMul(l)):(t=r.redMul(l).redMul(o.redSub(s)),n=this.curve._mulC(c).redMul(l)),this.curve.point(p,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},46244:function(e,t,n){"use strict";var r=t;r.base=n(48432),r.short=n(42567),r.mont=n(2493),r.edwards=n(27978)},2493:function(e,t,n){"use strict";var r=n(30910),i=n(59503),s=n(48432),o=n(12097);function a(e){s.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,n){s.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(a,s),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(c,s.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},a.prototype.point=function(e,t){return new c(this,e,t)},a.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),s=e.x.redSub(e.z).redMul(n),o=i.redMul(r),a=t.z.redMul(s.redAdd(o).redSqr()),c=t.x.redMul(s.redISub(o).redSqr());return this.curve.point(a,c)},c.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var s=i.length-1;s>=0;s--)0===i[s]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},42567:function(e,t,n){"use strict";var r=n(12097),i=n(30910),s=n(59503),o=n(48432),a=r.assert;function c(e){o.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){o.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(e,t,n,r){o.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}s(c,o),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?n=s[0]:(n=s[1],a(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),s=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(s).fromRed(),r.redSub(s).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,n,r,s,o,a,c,l,u,p=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),f=new i(1),m=new i(0),g=new i(0),v=new i(1),b=0;0!==d.cmpn(0);){var y=h.div(d);l=h.sub(y.mul(d)),u=g.sub(y.mul(f));var k=v.sub(y.mul(m));if(!r&&l.cmp(p)<0)t=c.neg(),n=f,r=l.neg(),s=u;else if(r&&2==++b)break;c=l,h=d,d=l,g=f,f=u,v=m,m=k}o=l.neg(),a=u;var w=r.sqr().add(s.sqr());return o.sqr().add(a.sqr()).cmp(w)>=0&&(o=t,a=n),r.negative&&(r=r.neg(),s=s.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:r,b:s},{a:o,b:a}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),s=n.b.neg().mul(e).divRound(this.n),o=i.mul(n.a),a=s.mul(r.a),c=i.mul(n.b),l=s.mul(r.b);return{k1:e.sub(o).sub(a),k2:c.add(l).neg()}},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var s=r.fromRed().isOdd();return(t&&!s||!t&&s)&&(r=r.redNeg()),this.point(e,r)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,s=0;s<e.length;s++){var o=this._endoSplit(t[s]),a=e[s],c=a._getBeta();o.k1.negative&&(o.k1.ineg(),a=a.neg(!0)),o.k2.negative&&(o.k2.ineg(),c=c.neg(!0)),r[2*s]=a,r[2*s+1]=c,i[2*s]=o.k1,i[2*s+1]=o.k2}for(var l=this._wnafMulAdd(1,r,i,2*s,n),u=0;u<2*s;u++)r[u]=null,i[u]=null;return l},s(l,o.BasePoint),c.prototype.point=function(e,t,n){return new l(this,e,t,n)},c.prototype.pointFromJSON=function(e,t){return l.fromJSON(this,e,t)},l.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},l.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},l.fromJSON=function(e,t,n){"string"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var s=t[2];return r.precomputed={beta:null,doubles:s.doubles&&{step:s.doubles.step,points:[r].concat(s.doubles.points.map(i))},naf:s.naf&&{wnd:s.naf.wnd,points:[r].concat(s.naf.points.map(i))}},r},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),s=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,o)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(u,o.BasePoint),c.prototype.jpoint=function(e,t,n){return new u(this,e,t,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),s=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(n.redMul(this.z)),a=r.redSub(i),c=s.redSub(o);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),u=l.redMul(a),p=r.redMul(l),d=c.redSqr().redIAdd(u).redISub(p).redISub(p),h=c.redMul(p.redISub(d)).redISub(s.redMul(u)),f=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(d,h,f)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,s=e.y.redMul(t).redMul(this.z),o=n.redSub(r),a=i.redSub(s);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),l=c.redMul(o),u=n.redMul(c),p=a.redSqr().redIAdd(l).redISub(u).redISub(u),d=a.redMul(u.redISub(p)).redISub(i.redMul(l)),h=this.z.redMul(o);return this.curve.jpoint(p,d,h)},u.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t<e;t++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,s=this.x,o=this.y,a=this.z,c=a.redSqr().redSqr(),l=o.redAdd(o);for(t=0;t<e;t++){var u=s.redSqr(),p=l.redSqr(),d=p.redSqr(),h=u.redAdd(u).redIAdd(u).redIAdd(r.redMul(c)),f=s.redMul(p),m=h.redSqr().redISub(f.redAdd(f)),g=f.redISub(m),v=h.redMul(g);v=v.redIAdd(v).redISub(d);var b=l.redMul(a);t+1<e&&(c=c.redMul(d)),s=m,a=b,l=v}return this.curve.jpoint(s,l.redMul(i),a)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),s=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(r).redISub(s);o=o.redIAdd(o);var a=r.redAdd(r).redIAdd(r),c=a.redSqr().redISub(o).redISub(o),l=s.redIAdd(s);l=(l=l.redIAdd(l)).redIAdd(l),e=c,t=a.redMul(o.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),p=this.y.redSqr(),d=p.redSqr(),h=this.x.redAdd(p).redSqr().redISub(u).redISub(d);h=h.redIAdd(h);var f=u.redAdd(u).redIAdd(u),m=f.redSqr(),g=d.redIAdd(d);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(h).redISub(h),t=f.redMul(h.redISub(e)).redISub(g),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},u.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),s=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(r).redISub(s);o=o.redIAdd(o);var a=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),c=a.redSqr().redISub(o).redISub(o);e=c;var l=s.redIAdd(s);l=(l=l.redIAdd(l)).redIAdd(l),t=a.redMul(o.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),p=this.y.redSqr(),d=this.x.redMul(p),h=this.x.redSub(u).redMul(this.x.redAdd(u));h=h.redAdd(h).redIAdd(h);var f=d.redIAdd(d),m=(f=f.redIAdd(f)).redAdd(f);e=h.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(p).redISub(u);var g=p.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=h.redMul(f.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,n)},u.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),s=t.redSqr(),o=n.redSqr(),a=s.redAdd(s).redIAdd(s).redIAdd(e.redMul(i)),c=t.redAdd(t),l=(c=c.redIAdd(c)).redMul(o),u=a.redSqr().redISub(l.redAdd(l)),p=l.redISub(u),d=o.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=a.redMul(p).redISub(d),f=n.redAdd(n).redMul(r);return this.curve.jpoint(u,h,f)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),s=i.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(r),a=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(s)).redSqr(),c=r.redIAdd(r);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var l=i.redIAdd(o).redSqr().redISub(s).redISub(a).redISub(c),u=t.redMul(l);u=(u=u.redIAdd(u)).redIAdd(u);var p=this.x.redMul(a).redISub(u);p=(p=p.redIAdd(p)).redIAdd(p);var d=this.y.redMul(l.redMul(c.redISub(l)).redISub(o.redMul(a)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=this.z.redAdd(o).redSqr().redISub(n).redISub(a);return this.curve.jpoint(p,d,h)},u.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},u.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},u.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},65583:function(e,t,n){"use strict";var r,i=t,s=n(91138),o=n(46244),a=n(12097).assert;function c(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new c(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=c,l("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),l("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),l("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(4703)}catch(e){r=void 0}l("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},72553:function(e,t,n){"use strict";var r=n(30910),i=n(53674),s=n(12097),o=n(65583),a=n(71876),c=s.assert,l=n(26167),u=n(96376);function p(e){if(!(this instanceof p))return new p(e);"string"==typeof e&&(c(Object.prototype.hasOwnProperty.call(o,e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=p,p.prototype.keyPair=function(e){return new l(this,e)},p.prototype.keyFromPrivate=function(e,t){return l.fromPrivate(this,e,t)},p.prototype.keyFromPublic=function(e,t){return l.fromPublic(this,e,t)},p.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),s=this.n.sub(new r(2));;){var o=new r(t.generate(n));if(!(o.cmp(s)>0))return o.iaddn(1),this.keyFromPrivate(o)}},p.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},p.prototype.sign=function(e,t,n,s){"object"==typeof n&&(s=n,n=null),s||(s={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new r(e,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),c=e.toArray("be",o),l=new i({hash:this.hash,entropy:a,nonce:c,pers:s.pers,persEnc:s.persEnc||"utf8"}),p=this.n.sub(new r(1)),d=0;;d++){var h=s.k?s.k(d):new r(l.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(p)>=0)){var f=this.g.mul(h);if(!f.isInfinity()){var m=f.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var v=h.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var b=(f.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return s.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),b^=1),new u({r:g,s:v,recoveryParam:b})}}}}}},p.prototype.verify=function(e,t,n,i){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,i);var s=(t=new u(t,"hex")).r,o=t.s;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,c=o.invm(this.n),l=c.mul(e).umod(this.n),p=c.mul(s).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(l,n.getPublic(),p)).isInfinity()&&a.eqXToP(s):!(a=this.g.mulAdd(l,n.getPublic(),p)).isInfinity()&&0===a.getX().umod(this.n).cmp(s)},p.prototype.recoverPubKey=function(e,t,n,i){c((3&n)===n,"The recovery param is more than two bits"),t=new u(t,i);var s=this.n,o=new r(e),a=t.r,l=t.s,p=1&n,d=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");a=d?this.curve.pointFromX(a.add(this.curve.n),p):this.curve.pointFromX(a,p);var h=t.r.invm(s),f=s.sub(o).mul(h).umod(s),m=l.mul(h).umod(s);return this.g.mulAdd(f,a,m)},p.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new u(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var s;try{s=this.recoverPubKey(e,t,i)}catch(e){continue}if(s.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},26167:function(e,t,n){"use strict";var r=n(30910),i=n(12097).assert;function s(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=s,s.fromPublic=function(e,t,n){return t instanceof s?t:new s(e,{pub:t,pubEnc:n})},s.fromPrivate=function(e,t,n){return t instanceof s?t:new s(e,{priv:t,privEnc:n})},s.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},s.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},s.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},s.prototype.derive=function(e){return e.validate()||i(e.validate(),"public point not validated"),e.mul(this.priv).getX()},s.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},s.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},s.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},96376:function(e,t,n){"use strict";var r=n(30910),i=n(12097),s=i.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(s(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function c(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,s=0,o=t.place;s<r;s++,o++)i<<=8,i|=e[o],i>>>=0;return!(i<=127)&&(t.place=o,i)}function l(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function u(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new a;if(48!==e[n.place++])return!1;var s=c(e,n);if(!1===s)return!1;if(s+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var o=c(e,n);if(!1===o)return!1;var l=e.slice(n.place,o+n.place);if(n.place+=o,2!==e[n.place++])return!1;var u=c(e,n);if(!1===u)return!1;if(e.length!==u+n.place)return!1;var p=e.slice(n.place,u+n.place);if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}if(0===p[0]){if(!(128&p[1]))return!1;p=p.slice(1)}return this.r=new r(l),this.s=new r(p),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=l(t),n=l(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];u(r,t.length),(r=r.concat(t)).push(2),u(r,n.length);var s=r.concat(n),o=[48];return u(o,s.length),o=o.concat(s),i.encode(o,e)}},66281:function(e,t,n){"use strict";var r=n(91138),i=n(65583),s=n(12097),o=s.assert,a=s.parseBytes,c=n(8325),l=n(49945);function u(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=u,u.prototype.sign=function(e,t){e=a(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),s=this.encodePoint(i),o=this.hashInt(s,n.pubBytes(),e).mul(n.priv()),c=r.add(o).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:s})},u.prototype.verify=function(e,t,n){e=a(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),s=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(s)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return s.intFromLE(e.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(e){return c.fromPublic(this,e)},u.prototype.keyFromSecret=function(e){return c.fromSecret(this,e)},u.prototype.makeSignature=function(e){return e instanceof l?e:new l(this,e)},u.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},u.prototype.decodePoint=function(e){var t=(e=s.parseBytes(e)).length-1,n=e.slice(0,t).concat(-129&e[t]),r=0!=(128&e[t]),i=s.intFromLE(n);return this.curve.pointFromY(i,r)},u.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(e){return s.intFromLE(e)},u.prototype.isPoint=function(e){return e instanceof this.pointClass}},8325:function(e,t,n){"use strict";var r=n(12097),i=r.assert,s=r.parseBytes,o=r.cachedProperty;function a(e,t){this.eddsa=e,this._secret=s(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=s(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},o(a,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),o(a,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),o(a,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),o(a,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),o(a,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),o(a,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),a.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},a.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=a},49945:function(e,t,n){"use strict";var r=n(30910),i=n(12097),s=i.assert,o=i.cachedProperty,a=i.parseBytes;function c(e,t){this.eddsa=e,"object"!=typeof t&&(t=a(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),s(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),o(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),o(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),o(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=c},4703:function(e){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},12097:function(e,t,n){"use strict";var r=t,i=n(30910),s=n(48282),o=n(90458);r.assert=s,r.toArray=o.toArray,r.zero2=o.zero2,r.toHex=o.toHex,r.encode=o.encode,r.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<<t+1,s=e.clone(),o=0;o<r.length;o++){var a,c=s.andln(i-1);s.isOdd()?(a=c>(i>>1)-1?(i>>1)-c:c,s.isubn(a)):a=0,r[o]=a,s.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r,i=0,s=0;e.cmpn(-i)>0||t.cmpn(-s)>0;){var o,a,c=e.andln(3)+i&3,l=t.andln(3)+s&3;3===c&&(c=-1),3===l&&(l=-1),o=0==(1&c)?0:3!==(r=e.andln(7)+i&7)&&5!==r||2!==l?c:-c,n[0].push(o),a=0==(1&l)?0:3!==(r=t.andln(7)+s&7)&&5!==r||2!==c?l:-l,n[1].push(a),2*i===o+1&&(i=1-i),2*s===a+1&&(s=1-s),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"==typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},45685:function(e){"use strict";function t(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var s=Object.keys(Object(i)),o=0,a=s.length;o<a;o++){var c=s[o],l=Object.getOwnPropertyDescriptor(i,c);void 0!==l&&l.enumerable&&(n[c]=i[c])}}return n}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},2571:function(e,t,n){"use strict";var r,i=n(55246),s="object"==typeof Reflect?Reflect:null,o=s&&"function"==typeof s.apply?s.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=s&&"function"==typeof s.ownKeys?s.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 c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,s),r(n)}function s(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}b(e,t,s,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&b(e,"error",t,n)}(e,i,{once:!0})}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var l=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function p(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var s,o,a;if(u(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(s=p(e))>0&&a.length>s&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,function(e){i&&i.warn&&i.warn(e)}(c)}return e}function h(){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 f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=h.bind(r);return i.listener=n,r.wrapFn=i,i}function m(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):v(i,i.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function b(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(s){r.once&&e.removeEventListener(t,i),n(s)}))}}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return p(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)o(c,this,t);else{var l=c.length,u=v(c,l);for(n=0;n<l;++n)o(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return d(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return d(this,e,t,!0)},c.prototype.once=function(e,t){return u(t),this.on(e,f(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,s,o;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===t||n[s].listener===t){o=n[s].listener,i=s;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,s=Object.keys(n);for(r=0;r<s.length;++r)"removeListener"!==(i=s[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return m(this,e,!0)},c.prototype.rawListeners=function(e){return m(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},c.prototype.listenerCount=g,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},51105:function(e,t,n){var r=n(37225).Buffer,i=n(53956);e.exports=function(e,t,n,s){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=n/8,a=r.alloc(o),c=r.alloc(s||0),l=r.alloc(0);o>0||s>0;){var u=new i;u.update(l),u.update(e),t&&u.update(t),l=u.digest();var p=0;if(o>0){var d=a.length-o;p=Math.min(o,l.length),l.copy(a,d,0,p),o-=p}if(p<l.length&&s>0){var h=c.length-s,f=Math.min(s,l.length-p);l.copy(c,h,p,p+f),s-=f}}return l.fill(0),{key:a,iv:c}}},18282:function(e,t,n){"use strict";n.d(t,{v:function(){return d}});var r,i=n(90136);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var a,c=(a=[],{activateTrap:function(e){if(a.length>0){var t=a[a.length-1];t!==e&&t.pause()}var n=a.indexOf(e);-1===n||a.splice(n,1),a.push(e)},deactivateTrap:function(e){var t=a.indexOf(e);-1!==t&&a.splice(t,1),a.length>0&&a[a.length-1].unpause()}}),l=function(e){return setTimeout(e,0)},u=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},p=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},d=function(e,t){var n,a=document,d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),h={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},f=function(e){return h.containers.some((function(t){return t.contains(e)}))},m=function(e){var t=d[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=a.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},g=function(){var e;if(null!==m("initialFocus"))e=m("initialFocus");else if(f(a.activeElement))e=a.activeElement;else{var t=h.tabbableGroups[0];e=t&&t.firstTabbableNode||m("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},v=function(){if(h.tabbableGroups=h.containers.map((function(e){var t=(0,i.ht)(e);if(t.length>0)return{container:e,firstTabbableNode:t[0],lastTabbableNode:t[t.length-1]}})).filter((function(e){return!!e})),h.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},b=function e(t){t!==a.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!d.preventScroll}),h.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(g()))},y=function(e){f(e.target)||(p(d.clickOutsideDeactivates,e)?n.deactivate({returnFocus:d.returnFocusOnDeactivate&&!(0,i.EB)(e.target)}):p(d.allowOutsideClick,e)||e.preventDefault())},k=function(e){var t=f(e.target);t||e.target instanceof Document?t&&(h.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),b(h.mostRecentlyFocusedNode||g()))},w=function(e){if(!1!==d.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){v();var t=null;if(h.tabbableGroups.length>0)if(u(h.tabbableGroups,(function(t){return t.container.contains(e.target)}))<0)t=e.shiftKey?h.tabbableGroups[h.tabbableGroups.length-1].lastTabbableNode:h.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var n=u(h.tabbableGroups,(function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var r=0===n?h.tabbableGroups.length-1:n-1;t=h.tabbableGroups[r].lastTabbableNode}}else{var i=u(h.tabbableGroups,(function(t){var n=t.lastTabbableNode;return e.target===n}));if(i>=0){var s=i===h.tabbableGroups.length-1?0:i+1;t=h.tabbableGroups[s].firstTabbableNode}}else t=m("fallbackFocus");t&&(e.preventDefault(),b(t))}(e)},_=function(e){p(d.clickOutsideDeactivates,e)||f(e.target)||p(d.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},E=function(){if(h.active)return c.activateTrap(n),r=d.delayInitialFocus?l((function(){b(g())})):b(g()),a.addEventListener("focusin",k,!0),a.addEventListener("mousedown",y,{capture:!0,passive:!1}),a.addEventListener("touchstart",y,{capture:!0,passive:!1}),a.addEventListener("click",_,{capture:!0,passive:!1}),a.addEventListener("keydown",w,{capture:!0,passive:!1}),n},C=function(){if(h.active)return a.removeEventListener("focusin",k,!0),a.removeEventListener("mousedown",y,!0),a.removeEventListener("touchstart",y,!0),a.removeEventListener("click",_,!0),a.removeEventListener("keydown",w,!0),n};return(n={activate:function(e){if(h.active)return this;v(),h.active=!0,h.paused=!1,h.nodeFocusedBeforeActivation=a.activeElement;var t=e&&e.onActivate?e.onActivate:d.onActivate;return t&&t(),E(),this},deactivate:function(e){if(!h.active)return this;clearTimeout(r),C(),h.active=!1,h.paused=!1,c.deactivateTrap(n);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:d.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:d.returnFocusOnDeactivate)&&l((function(){var e;b((e=h.nodeFocusedBeforeActivation,m("setReturnFocus")||e))})),this},pause:function(){return h.paused||!h.active||(h.paused=!0,C()),this},unpause:function(){return h.paused&&h.active?(h.paused=!1,v(),E(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return h.containers=t.map((function(e){return"string"==typeof e?a.querySelector(e):e})),h.active&&v(),this}}).updateContainerElements(e),n}},49478:function(e){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;e.exports=function(e,r,i){if("[object Function]"!==n.call(r))throw new TypeError("iterator must be a function");var s=e.length;if(s===+s)for(var o=0;o<s;o++)r.call(i,e[o],o,e);else for(var a in e)t.call(e,a)&&r.call(i,e[a],a,e)}},44033:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,i="[object Function]";e.exports=function(e){var s=this;if("function"!=typeof s||r.call(s)!==i)throw new TypeError(t+s);for(var o,a=n.call(arguments,1),c=function(){if(this instanceof o){var t=s.apply(this,a.concat(n.call(arguments)));return Object(t)===t?t:this}return s.apply(e,a.concat(n.call(arguments)))},l=Math.max(0,s.length-a.length),u=[],p=0;p<l;p++)u.push("$"+p);if(o=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(c),s.prototype){var d=function(){};d.prototype=s.prototype,o.prototype=new d,d.prototype=null}return o}},75433:function(e,t,n){"use strict";var r=n(44033);e.exports=Function.prototype.bind||r},52221:function(e){e.exports=function e(n){if(t(n))return n;if(t(n.ownerDocument))return n.ownerDocument;if(t(n.document))return n.document;if(n.parentNode)return e(n.parentNode);if(n.commonAncestorContainer)return e(n.commonAncestorContainer);if(n.startContainer)return e(n.startContainer);if(n.anchorNode)return e(n.anchorNode)};function t(e){return e&&9===e.nodeType}},25165:function(e,t,n){"use strict";var r,i=SyntaxError,s=Function,o=TypeError,a=function(e){try{return s('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var l=function(){throw new o},u=c?function(){try{return l}catch(e){try{return c(arguments,"callee").get}catch(e){return l}}}():l,p=n(45992)(),d=Object.getPrototypeOf||function(e){return e.__proto__},h={},f="undefined"==typeof Uint8Array?r:d(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":s,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?d(d([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?d(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":u,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},g=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=d(i.prototype))}return m[t]=n,n},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(75433),y=n(99569),k=b.call(Function.call,Array.prototype.concat),w=b.call(Function.apply,Array.prototype.splice),_=b.call(Function.call,String.prototype.replace),E=b.call(Function.call,String.prototype.slice),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,j=function(e){var t=E(e,0,1),n=E(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return _(e,C,(function(e,t,n,i){r[r.length]=n?_(i,S,"$1"):t||e})),r},M=function(e,t){var n,r=e;if(y(v,r)&&(r="%"+(n=v[r])[0]+"%"),y(m,r)){var s=m[r];if(s===h&&(s=g(r)),void 0===s&&!t)throw new o("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:s}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new o('"allowMissing" argument must be a boolean');var n=j(e),r=n.length>0?n[0]:"",s=M("%"+r+"%",t),a=s.name,l=s.value,u=!1,p=s.alias;p&&(r=p[0],w(n,k([0,1],p)));for(var d=1,h=!0;d<n.length;d+=1){var f=n[d],g=E(f,0,1),v=E(f,-1);if(('"'===g||"'"===g||"`"===g||'"'===v||"'"===v||"`"===v)&&g!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==f&&h||(u=!0),y(m,a="%"+(r+="."+f)+"%"))l=m[a];else if(null!=l){if(!(f in l)){if(!t)throw new o("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&d+1>=n.length){var b=c(l,f);l=(h=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:l[f]}else h=y(l,f),l=l[f];h&&!u&&(m[a]=l)}}return l}},45992:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(4461);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},4461:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},77828:function(e,t,n){"use strict";var r=n(4461);e.exports=function(){return r()&&!!Symbol.toStringTag}},99569:function(e,t,n){"use strict";var r=n(75433);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},39302:function(e,t,n){"use strict";var r=n(37225).Buffer,i=n(7130).Transform;function s(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(59503)(s,i),s.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},s.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)n[s++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var o=0,a=8*e.length;a>0;++o)this._length[o]+=a,(a=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*a);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=s},91138:function(e,t,n){var r=t;r.utils=n(53566),r.common=n(95949),r.sha=n(75894),r.ripemd=n(94877),r.hmac=n(9942),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},95949:function(e,t,n){"use strict";var r=n(53566),i=n(48282);function s(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=s,s.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},s.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},s.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var s=8;s<this.padLength;s++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,s=8;s<this.padLength;s++)r[i++]=0;return r}},9942:function(e,t,n){"use strict";var r=n(53566),i=n(48282);function s(e,t,n){if(!(this instanceof s))return new s(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=s,s.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},s.prototype.update=function(e,t){return this.inner.update(e,t),this},s.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},94877:function(e,t,n){"use strict";var r=n(53566),i=n(95949),s=r.rotl32,o=r.sum32,a=r.sum32_3,c=r.sum32_4,l=i.BlockHash;function u(){if(!(this instanceof u))return new u;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function p(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function d(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(u,l),t.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],i=this.h[2],l=this.h[3],u=this.h[4],b=n,y=r,k=i,w=l,_=u,E=0;E<80;E++){var C=o(s(c(n,p(E,r,i,l),e[f[E]+t],d(E)),g[E]),u);n=u,u=l,l=s(i,10),i=r,r=C,C=o(s(c(b,p(79-E,y,k,w),e[m[E]+t],h(E)),v[E]),_),b=_,_=w,w=s(k,10),k=y,y=C}C=a(this.h[1],i,w),this.h[1]=a(this.h[2],l,_),this.h[2]=a(this.h[3],u,b),this.h[3]=a(this.h[4],n,y),this.h[4]=a(this.h[0],r,k),this.h[0]=C},u.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},75894:function(e,t,n){"use strict";t.sha1=n(69016),t.sha224=n(92055),t.sha256=n(23347),t.sha384=n(57544),t.sha512=n(31766)},69016:function(e,t,n){"use strict";var r=n(53566),i=n(95949),s=n(47574),o=r.rotl32,a=r.sum32,c=r.sum32_5,l=s.ft_1,u=i.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],s=this.h[1],u=this.h[2],d=this.h[3],h=this.h[4];for(r=0;r<n.length;r++){var f=~~(r/20),m=c(o(i,5),l(f,s,u,d),h,n[r],p[f]);h=d,d=u,u=o(s,30),s=i,i=m}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],s),this.h[2]=a(this.h[2],u),this.h[3]=a(this.h[3],d),this.h[4]=a(this.h[4],h)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},92055:function(e,t,n){"use strict";var r=n(53566),i=n(23347);function s(){if(!(this instanceof s))return new s;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(s,i),e.exports=s,s.blockSize=512,s.outSize=224,s.hmacStrength=192,s.padLength=64,s.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},23347:function(e,t,n){"use strict";var r=n(53566),i=n(95949),s=n(47574),o=n(48282),a=r.sum32,c=r.sum32_4,l=r.sum32_5,u=s.ch32,p=s.maj32,d=s.s0_256,h=s.s1_256,f=s.g0_256,m=s.g1_256,g=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}r.inherits(b,g),e.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=c(m(n[r-2]),n[r-7],f(n[r-15]),n[r-16]);var i=this.h[0],s=this.h[1],g=this.h[2],v=this.h[3],b=this.h[4],y=this.h[5],k=this.h[6],w=this.h[7];for(o(this.k.length===n.length),r=0;r<n.length;r++){var _=l(w,h(b),u(b,y,k),this.k[r],n[r]),E=a(d(i),p(i,s,g));w=k,k=y,y=b,b=a(v,_),v=g,g=s,s=i,i=a(_,E)}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],s),this.h[2]=a(this.h[2],g),this.h[3]=a(this.h[3],v),this.h[4]=a(this.h[4],b),this.h[5]=a(this.h[5],y),this.h[6]=a(this.h[6],k),this.h[7]=a(this.h[7],w)},b.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},57544:function(e,t,n){"use strict";var r=n(53566),i=n(31766);function s(){if(!(this instanceof s))return new s;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(s,i),e.exports=s,s.blockSize=1024,s.outSize=384,s.hmacStrength=192,s.padLength=128,s.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},31766:function(e,t,n){"use strict";var r=n(53566),i=n(95949),s=n(48282),o=r.rotr64_hi,a=r.rotr64_lo,c=r.shr64_hi,l=r.shr64_lo,u=r.sum64,p=r.sum64_hi,d=r.sum64_lo,h=r.sum64_4_hi,f=r.sum64_4_lo,m=r.sum64_5_hi,g=r.sum64_5_lo,v=i.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}function k(e,t,n,r,i){var s=e&n^~e&i;return s<0&&(s+=4294967296),s}function w(e,t,n,r,i,s){var o=t&r^~t&s;return o<0&&(o+=4294967296),o}function _(e,t,n,r,i){var s=e&n^e&i^n&i;return s<0&&(s+=4294967296),s}function E(e,t,n,r,i,s){var o=t&r^t&s^r&s;return o<0&&(o+=4294967296),o}function C(e,t){var n=o(e,t,28)^o(t,e,2)^o(t,e,7);return n<0&&(n+=4294967296),n}function S(e,t){var n=a(e,t,28)^a(t,e,2)^a(t,e,7);return n<0&&(n+=4294967296),n}function j(e,t){var n=o(e,t,14)^o(e,t,18)^o(t,e,9);return n<0&&(n+=4294967296),n}function M(e,t){var n=a(e,t,14)^a(e,t,18)^a(t,e,9);return n<0&&(n+=4294967296),n}function x(e,t){var n=o(e,t,1)^o(e,t,8)^c(e,t,7);return n<0&&(n+=4294967296),n}function N(e,t){var n=a(e,t,1)^a(e,t,8)^l(e,t,7);return n<0&&(n+=4294967296),n}function A(e,t){var n=o(e,t,19)^o(t,e,29)^c(e,t,6);return n<0&&(n+=4294967296),n}function O(e,t){var n=a(e,t,19)^a(t,e,29)^l(e,t,6);return n<0&&(n+=4294967296),n}r.inherits(y,v),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var i=A(n[r-4],n[r-3]),s=O(n[r-4],n[r-3]),o=n[r-14],a=n[r-13],c=x(n[r-30],n[r-29]),l=N(n[r-30],n[r-29]),u=n[r-32],p=n[r-31];n[r]=h(i,s,o,a,c,l,u,p),n[r+1]=f(i,s,o,a,c,l,u,p)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],i=this.h[1],o=this.h[2],a=this.h[3],c=this.h[4],l=this.h[5],h=this.h[6],f=this.h[7],v=this.h[8],b=this.h[9],y=this.h[10],x=this.h[11],N=this.h[12],A=this.h[13],O=this.h[14],T=this.h[15];s(this.k.length===n.length);for(var P=0;P<n.length;P+=2){var I=O,R=T,U=j(v,b),Z=M(v,b),D=k(v,b,y,x,N),L=w(v,b,y,x,N,A),z=this.k[P],B=this.k[P+1],F=n[P],V=n[P+1],q=m(I,R,U,Z,D,L,z,B,F,V),H=g(I,R,U,Z,D,L,z,B,F,V);I=C(r,i),R=S(r,i),U=_(r,i,o,a,c),Z=E(r,i,o,a,c,l);var W=p(I,R,U,Z),$=d(I,R,U,Z);O=N,T=A,N=y,A=x,y=v,x=b,v=p(h,f,q,H),b=d(f,f,q,H),h=c,f=l,c=o,l=a,o=r,a=i,r=p(q,H,W,$),i=d(q,H,W,$)}u(this.h,0,r,i),u(this.h,2,o,a),u(this.h,4,c,l),u(this.h,6,h,f),u(this.h,8,v,b),u(this.h,10,y,x),u(this.h,12,N,A),u(this.h,14,O,T)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},47574:function(e,t,n){"use strict";var r=n(53566).rotr32;function i(e,t,n){return e&t^~e&n}function s(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?o(t,n,r):2===e?s(t,n,r):void 0},t.ch32=i,t.maj32=s,t.p32=o,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},53566:function(e,t,n){"use strict";var r=n(48282),i=n(59503);function s(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):s(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=a(e[n].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=o(i)),n+=c(i.toString(16))}return n},t.zero2=a,t.zero8=c,t.join32=function(e,t,n,i){var s=n-t;r(s%4==0);for(var o=new Array(s/4),a=0,c=t;a<o.length;a++,c+=4){var l;l="big"===i?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],o[a]=l>>>0}return o},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var s=e[r];"big"===t?(n[i]=s>>>24,n[i+1]=s>>>16&255,n[i+2]=s>>>8&255,n[i+3]=255&s):(n[i+3]=s>>>24,n[i+2]=s>>>16&255,n[i+1]=s>>>8&255,n[i]=255&s)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],s=r+e[t+1]>>>0,o=(s<r?1:0)+n+i;e[t]=o>>>0,e[t+1]=s},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,s,o,a){var c=0,l=t;return c+=(l=l+r>>>0)<t?1:0,c+=(l=l+s>>>0)<s?1:0,e+n+i+o+(c+=(l=l+a>>>0)<a?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,s,o,a){return t+r+s+a>>>0},t.sum64_5_hi=function(e,t,n,r,i,s,o,a,c,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+s>>>0)<s?1:0,u+=(p=p+a>>>0)<a?1:0,e+n+i+o+c+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,s,o,a,c,l){return t+r+s+a+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},33451:function(e,t,n){"use strict";n.d(t,{lX:function(){return k},q_:function(){return j},PP:function(){return x},ob:function(){return d},Hp:function(){return h},Ep:function(){return p}});var r=n(40988),i=n(59149),s=n(21976),o=n(34770);function a(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function l(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function u(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function d(e,t,n,s){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var s=t.indexOf("?");return-1!==s&&(n=t.substr(s),t=t.substr(0,s)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),s?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=(0,i.Z)(o.pathname,s.pathname)):o.pathname=s.pathname:o.pathname||(o.pathname="/"),o}function h(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,s.Z)(e.state,t.state)}function f(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var s="function"==typeof e?e(t,n):e;"string"==typeof s?"function"==typeof r?r(s,i):i(!0):i(!1!==s)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var v="popstate",b="hashchange";function y(){try{return window.history.state||{}}catch(e){return{}}}function k(e){void 0===e&&(e={}),m||(0,o.Z)(!1);var t,n=window.history,i=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,s=!(-1===window.navigator.userAgent.indexOf("Trident")),c=e,h=c.forceRefresh,k=void 0!==h&&h,w=c.getUserConfirmation,_=void 0===w?g:w,E=c.keyLength,C=void 0===E?6:E,S=e.basename?u(a(e.basename)):"";function j(e){var t=e||{},n=t.key,r=t.state,i=window.location,s=i.pathname+i.search+i.hash;return S&&(s=l(s,S)),d(s,r,n)}function M(){return Math.random().toString(36).substr(2,C)}var x=f();function N(e){(0,r.Z)(B,e),B.length=n.length,x.notifyListeners(B.location,B.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(j(e.state))}function O(){P(j(y()))}var T=!1;function P(e){if(T)T=!1,N();else{x.confirmTransitionTo(e,"POP",_,(function(t){t?N({action:"POP",location:e}):function(e){var t=B.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(T=!0,Z(i))}(e)}))}}var I=j(y()),R=[I.key];function U(e){return S+p(e)}function Z(e){n.go(e)}var D=0;function L(e){1===(D+=e)&&1===e?(window.addEventListener(v,A),s&&window.addEventListener(b,O)):0===D&&(window.removeEventListener(v,A),s&&window.removeEventListener(b,O))}var z=!1;var B={length:n.length,action:"POP",location:I,createHref:U,push:function(e,t){var r="PUSH",s=d(e,t,M(),B.location);x.confirmTransitionTo(s,r,_,(function(e){if(e){var t=U(s),o=s.key,a=s.state;if(i)if(n.pushState({key:o,state:a},null,t),k)window.location.href=t;else{var c=R.indexOf(B.location.key),l=R.slice(0,c+1);l.push(s.key),R=l,N({action:r,location:s})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",s=d(e,t,M(),B.location);x.confirmTransitionTo(s,r,_,(function(e){if(e){var t=U(s),o=s.key,a=s.state;if(i)if(n.replaceState({key:o,state:a},null,t),k)window.location.replace(t);else{var c=R.indexOf(B.location.key);-1!==c&&(R[c]=s.key),N({action:r,location:s})}else window.location.replace(t)}}))},go:Z,goBack:function(){Z(-1)},goForward:function(){Z(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return z||(L(1),z=!0),function(){return z&&(z=!1,L(-1)),t()}},listen:function(e){var t=x.appendListener(e);return L(1),function(){L(-1),t()}}};return B}var w="hashchange",_={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:a},slash:{encodePath:a,decodePath:a}};function E(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function C(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function S(e){window.location.replace(E(window.location.href)+"#"+e)}function j(e){void 0===e&&(e={}),m||(0,o.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),i=n.getUserConfirmation,s=void 0===i?g:i,c=n.hashType,h=void 0===c?"slash":c,v=e.basename?u(a(e.basename)):"",b=_[h],y=b.encodePath,k=b.decodePath;function j(){var e=k(C());return v&&(e=l(e,v)),d(e)}var M=f();function x(e){(0,r.Z)(z,e),z.length=t.length,M.notifyListeners(z.location,z.action)}var N=!1,A=null;function O(){var e,t,n=C(),r=y(n);if(n!==r)S(r);else{var i=j(),o=z.location;if(!N&&(t=i,(e=o).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===p(i))return;A=null,function(e){if(N)N=!1,x();else{var t="POP";M.confirmTransitionTo(e,t,s,(function(n){n?x({action:t,location:e}):function(e){var t=z.location,n=R.lastIndexOf(p(t));-1===n&&(n=0);var r=R.lastIndexOf(p(e));-1===r&&(r=0);var i=n-r;i&&(N=!0,U(i))}(e)}))}}(i)}}var T=C(),P=y(T);T!==P&&S(P);var I=j(),R=[p(I)];function U(e){t.go(e)}var Z=0;function D(e){1===(Z+=e)&&1===e?window.addEventListener(w,O):0===Z&&window.removeEventListener(w,O)}var L=!1;var z={length:t.length,action:"POP",location:I,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=E(window.location.href)),n+"#"+y(v+p(e))},push:function(e,t){var n="PUSH",r=d(e,void 0,void 0,z.location);M.confirmTransitionTo(r,n,s,(function(e){if(e){var t=p(r),i=y(v+t);if(C()!==i){A=t,function(e){window.location.hash=e}(i);var s=R.lastIndexOf(p(z.location)),o=R.slice(0,s+1);o.push(t),R=o,x({action:n,location:r})}else x()}}))},replace:function(e,t){var n="REPLACE",r=d(e,void 0,void 0,z.location);M.confirmTransitionTo(r,n,s,(function(e){if(e){var t=p(r),i=y(v+t);C()!==i&&(A=t,S(i));var s=R.indexOf(p(z.location));-1!==s&&(R[s]=t),x({action:n,location:r})}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(e){void 0===e&&(e=!1);var t=M.setPrompt(e);return L||(D(1),L=!0),function(){return L&&(L=!1,D(-1)),t()}},listen:function(e){var t=M.appendListener(e);return D(1),function(){D(-1),t()}}};return z}function M(e,t,n){return Math.min(Math.max(e,t),n)}function x(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,s=void 0===i?["/"]:i,o=t.initialIndex,a=void 0===o?0:o,c=t.keyLength,l=void 0===c?6:c,u=f();function h(e){(0,r.Z)(k,e),k.length=k.entries.length,u.notifyListeners(k.location,k.action)}function m(){return Math.random().toString(36).substr(2,l)}var g=M(a,0,s.length-1),v=s.map((function(e){return d(e,void 0,"string"==typeof e?m():e.key||m())})),b=p;function y(e){var t=M(k.index+e,0,k.entries.length-1),r=k.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?h({action:"POP",location:r,index:t}):h()}))}var k={length:v.length,action:"POP",location:v[g],index:g,entries:v,createHref:b,push:function(e,t){var r="PUSH",i=d(e,t,m(),k.location);u.confirmTransitionTo(i,r,n,(function(e){if(e){var t=k.index+1,n=k.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),h({action:r,location:i,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=d(e,t,m(),k.location);u.confirmTransitionTo(i,r,n,(function(e){e&&(k.entries[k.index]=i,h({action:r,location:i}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=k.index+e;return t>=0&&t<k.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return k}},53674:function(e,t,n){"use strict";var r=n(91138),i=n(90458),s=n(48282);function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}e.exports=o,o.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},o.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(e,t,n,r){"string"!=typeof t&&(r=n,n=t,t=null),e=i.toArray(e,t),n=i.toArray(n,r),s(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},o.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var s=[];s.length<e;)this.V=this._hmac().update(this.V).digest(),s=s.concat(this.V);var o=s.slice(0,e);return this._update(n),this._reseed++,i.encode(o,t)}},13266:function(e,t,n){"use strict";var r=n(80364),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(e){return r.isMemo(e)?o:a[e.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=o;var l=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=h(n);i&&i!==f&&e(t,i,r)}var o=u(n);p&&(o=o.concat(p(n)));for(var a=c(t),m=c(n),g=0;g<o.length;++g){var v=o[g];if(!(s[v]||r&&r[v]||m&&m[v]||a&&a[v])){var b=d(n,v);try{l(t,v,b)}catch(e){}}}}return t}},88617:function(e,t,n){"use strict";var r=n(59128),i=n(98086),s=n(90922),o=n.n(s),a=n(94481),c=n(88090),l=n(75565),u=n.n(l),p=n(69016),d=n.n(p),h=n(2571),f=n(702),m=n(92846),g=o()("i18n-calypso"),v="number_format_decimals",b="number_format_thousands_sep",y="messages",k=[function(e){return e}],w={};function _(){M.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function E(e){return Array.prototype.slice.call(e)}function C(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&_("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",E(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&_("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",E(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function S(e,t){return e.dcnpgettext(y,t.context,t.original,t.plural,t.count)}function j(e,t){for(var n=k.length-1;n>=0;n--){var r=k[n](Object.assign({},t)),i=r.context?r.context+""+r.original:r.original;if(e.state.locale[i])return S(e.state.tannin,r)}return null}function M(){if(!(this instanceof M))return new M;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:u()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new h.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}M.throwErrors=!1,M.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},M.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},M.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},M.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",i=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,m.Z)(e,n,r,i)},M.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},M.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var s=e[""]["key-hash"],o=function(e,t){var n=!1===t?"":String(t);if(void 0!==w[n+e])return w[n+e];var r=d()().update(e).digest("hex");return w[n+e]=t?r.substr(0,t):r},a=function(e){return function(t){return t.context?(t.original=o(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=o(t.original,e),t}};if("sha1"===s.substr(0,4))if(4===s.length)k.push(a(!1));else{var l=s.substr(5).indexOf("-");if(l<0){var u=Number(s.substr(5));k.push(a(u))}else for(var p=Number(s.substr(5,l)),h=Number(s.substr(6+l)),f=p;f<=h;f++)k.push(a(f))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new c.Z((0,i.Z)({},y,this.state.locale)),this.state.numberFormatSettings.decimal_point=S(this.state.tannin,C([v])),this.state.numberFormatSettings.thousands_sep=S(this.state.tannin,C([b])),this.state.numberFormatSettings.decimal_point===v&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===b&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},M.prototype.getLocale=function(){return this.state.locale},M.prototype.getLocaleSlug=function(){return this.state.localeSlug},M.prototype.isRtl=function(){return"rtl"===this.state.textDirection},M.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},M.prototype.hasTranslation=function(){return!!j(this,C(arguments))},M.prototype.translate=function(){var e=C(arguments),t=j(this,e);if(t||(t=S(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=f.Z.apply(void 0,(0,r.Z)(n))}catch(e){if(!window||!window.console)return;var i=this.throwErrors?"error":"warn";"string"!=typeof e?window.console[i](e):window.console[i]("i18n sprintf error:",n)}}return e.components&&(t=(0,a.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},M.prototype.reRenderTranslations=function(){g("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},M.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},M.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)},t.Z=M},63807:function(e,t,n){"use strict";n.d(t,{Y4:function(){return c}});var r=n(88617),i=n(42928),s=n(80975),o=n(24531),a=new r.Z,c=a.numberFormat.bind(a),l=(a.translate.bind(a),a.configure.bind(a),a.setLocale.bind(a),a.getLocale.bind(a),a.getLocaleSlug.bind(a),a.addTranslations.bind(a),a.reRenderTranslations.bind(a),a.registerComponentUpdateHook.bind(a),a.registerTranslateHook.bind(a),a.state,a.stateObserver,a.on.bind(a),a.off.bind(a),a.emit.bind(a),(0,i.Z)(a),(0,s.Z)(a),(0,o.Z)(a));l.useRtl,l.withRtl},42928:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(59591),i=n(71687),s=n(93772),o=n(55200),a=n(82104),c=n(9057),l=n(98086),u=n(99196),p=n.n(u);function d(e){var t={numberFormat:e.numberFormat.bind(e),translate:e.translate.bind(e)};return function(n){var u,d,h=n.displayName||n.name||"";return d=u=function(u){(0,a.Z)(h,u);var d=(0,c.Z)(h);function h(){var e;(0,i.Z)(this,h);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=d.call.apply(d,[this].concat(n)),(0,l.Z)((0,o.Z)(e),"boundForceUpdate",e.forceUpdate.bind((0,o.Z)(e))),e}return(0,s.Z)(h,[{key:"componentDidMount",value:function(){e.on("change",this.boundForceUpdate)}},{key:"componentWillUnmount",value:function(){e.off("change",this.boundForceUpdate)}},{key:"render",value:function(){var i=(0,r.Z)({locale:e.getLocaleSlug()},this.props,{},t);return p().createElement(n,i)}}]),h}(p().Component),(0,l.Z)(u,"displayName","Localized("+h+")"),d}}},92846:function(e,t,n){"use strict";function r(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,s=isFinite(+t)?Math.abs(t):0,o=void 0===r?",":r,a=void 0===n?".":n,c="";return c=(s?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,s):""+Math.round(i)).split("."),c[0].length>3&&(c[0]=c[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(c[1]||"").length<s&&(c[1]=c[1]||"",c[1]+=new Array(s-c[1].length+1).join("0")),c.join(a)}n.d(t,{Z:function(){return r}})},24531:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50735),i=n(99196),s=n.n(i),o=n(20036),a=n(94333);function c(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return(0,o.useSubscription)(t)}var c=(0,a.createHigherOrderComponent)((function(e){return(0,i.forwardRef)((function(t,i){var o=n();return s().createElement(e,(0,r.Z)({},t,{isRtl:o,ref:i}))}))}),"WithRTL");return{useRtl:n,withRtl:c}}},80975:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(50572),i=n(99196),s=n.n(i);function o(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}return function(){var n=s().useState(t),i=(0,r.Z)(n,2),o=i[0],a=i[1];return s().useEffect((function(){var n=function(){return a(t)};return e.on("change",n),function(){return e.off("change",n)}}),[]),o}}},23644:function(e,t){t.read=function(e,t,n,r,i){var s,o,a=8*i-r-1,c=(1<<a)-1,l=c>>1,u=-7,p=n?i-1:0,d=n?-1:1,h=e[t+p];for(p+=d,s=h&(1<<-u)-1,h>>=-u,u+=a;u>0;s=256*s+e[t+p],p+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=r;u>0;o=256*o+e[t+p],p+=d,u-=8);if(0===s)s=1-l;else{if(s===c)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,r),s-=l}return(h?-1:1)*o*Math.pow(2,s-r)},t.write=function(e,t,n,r,i,s){var o,a,c,l=8*s-i-1,u=(1<<l)-1,p=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:s-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+p>=1?d/c:d*Math.pow(2,1-p))*c>=2&&(o++,c/=2),o+p>=u?(a=0,o=u):o+p>=1?(a=(t*c-1)*Math.pow(2,i),o+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[n+h]=255&a,h+=f,a/=256,i-=8);for(o=o<<i|a,l+=i;l>0;e[n+h]=255&o,h+=f,o/=256,l-=8);e[n+h-f]|=128*m}},59503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},24546:function(e){"use strict";e.exports=function(e,t,n,r,i,s,o,a){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,s,o,a],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},98304:function(e,t,n){"use strict";var r=n(77828)(),i=n(16422)("Object.prototype.toString"),s=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},o=function(e){return!!s(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},a=function(){return s(arguments)}();s.isLegacyArguments=o,e.exports=a?s:o},57372:function(e,t,n){"use strict";var r,i=Object.prototype.toString,s=Function.prototype.toString,o=/^\s*(?:function)?\*/,a=n(77828)(),c=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(o.test(s.call(e)))return!0;if(!a)return"[object GeneratorFunction]"===i.call(e);if(!c)return!1;if(void 0===r){var t=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&c(t)}return c(e)===r}},46618:function(e){"use strict";e.exports=function(e){return e!=e}},17614:function(e,t,n){"use strict";var r=n(43120),i=n(13185),s=n(46618),o=n(42775),a=n(49582),c=r(o(),Number);i(c,{getPolyfill:o,implementation:s,shim:a}),e.exports=c},42775:function(e,t,n){"use strict";var r=n(46618);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},49582:function(e,t,n){"use strict";var r=n(13185),i=n(42775);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},8639:function(e,t,n){"use strict";var r=n(49478),i=n(87331),s=n(16422),o=s("Object.prototype.toString"),a=n(77828)(),c="undefined"==typeof globalThis?window:globalThis,l=i(),u=s("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},p=s("String.prototype.slice"),d={},h=n(61787),f=Object.getPrototypeOf;a&&h&&f&&r(l,(function(e){var t=new c[e];if(Symbol.toStringTag in t){var n=f(t),r=h(n,Symbol.toStringTag);if(!r){var i=f(n);r=h(i,Symbol.toStringTag)}d[e]=r.get}}));e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!a||!(Symbol.toStringTag in e)){var t=p(o(e),8,-1);return u(l,t)>-1}return!!h&&function(e){var t=!1;return r(d,(function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}})),t}(e)}},16169:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},75565:function(e,t,n){var r=n(2571),i=n(59503);function s(e){if(!(this instanceof s))return new s(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=s,i(s,r.EventEmitter),Object.defineProperty(s.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),s.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},s.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},s.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},s.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},s.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},s.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},s.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},s.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},53956:function(e,t,n){"use strict";var r=n(59503),i=n(39302),s=n(37225).Buffer,o=new Array(16);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<<t|e>>>32-t}function l(e,t,n,r,i,s,o){return c(e+(t&n|~t&r)+i+s|0,o)+t|0}function u(e,t,n,r,i,s,o){return c(e+(t&r|n&~r)+i+s|0,o)+t|0}function p(e,t,n,r,i,s,o){return c(e+(t^n^r)+i+s|0,o)+t|0}function d(e,t,n,r,i,s,o){return c(e+(n^(t|~r))+i+s|0,o)+t|0}r(a,i),a.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,s=this._d;n=l(n,r,i,s,e[0],3614090360,7),s=l(s,n,r,i,e[1],3905402710,12),i=l(i,s,n,r,e[2],606105819,17),r=l(r,i,s,n,e[3],3250441966,22),n=l(n,r,i,s,e[4],4118548399,7),s=l(s,n,r,i,e[5],1200080426,12),i=l(i,s,n,r,e[6],2821735955,17),r=l(r,i,s,n,e[7],4249261313,22),n=l(n,r,i,s,e[8],1770035416,7),s=l(s,n,r,i,e[9],2336552879,12),i=l(i,s,n,r,e[10],4294925233,17),r=l(r,i,s,n,e[11],2304563134,22),n=l(n,r,i,s,e[12],1804603682,7),s=l(s,n,r,i,e[13],4254626195,12),i=l(i,s,n,r,e[14],2792965006,17),n=u(n,r=l(r,i,s,n,e[15],1236535329,22),i,s,e[1],4129170786,5),s=u(s,n,r,i,e[6],3225465664,9),i=u(i,s,n,r,e[11],643717713,14),r=u(r,i,s,n,e[0],3921069994,20),n=u(n,r,i,s,e[5],3593408605,5),s=u(s,n,r,i,e[10],38016083,9),i=u(i,s,n,r,e[15],3634488961,14),r=u(r,i,s,n,e[4],3889429448,20),n=u(n,r,i,s,e[9],568446438,5),s=u(s,n,r,i,e[14],3275163606,9),i=u(i,s,n,r,e[3],4107603335,14),r=u(r,i,s,n,e[8],1163531501,20),n=u(n,r,i,s,e[13],2850285829,5),s=u(s,n,r,i,e[2],4243563512,9),i=u(i,s,n,r,e[7],1735328473,14),n=p(n,r=u(r,i,s,n,e[12],2368359562,20),i,s,e[5],4294588738,4),s=p(s,n,r,i,e[8],2272392833,11),i=p(i,s,n,r,e[11],1839030562,16),r=p(r,i,s,n,e[14],4259657740,23),n=p(n,r,i,s,e[1],2763975236,4),s=p(s,n,r,i,e[4],1272893353,11),i=p(i,s,n,r,e[7],4139469664,16),r=p(r,i,s,n,e[10],3200236656,23),n=p(n,r,i,s,e[13],681279174,4),s=p(s,n,r,i,e[0],3936430074,11),i=p(i,s,n,r,e[3],3572445317,16),r=p(r,i,s,n,e[6],76029189,23),n=p(n,r,i,s,e[9],3654602809,4),s=p(s,n,r,i,e[12],3873151461,11),i=p(i,s,n,r,e[15],530742520,16),n=d(n,r=p(r,i,s,n,e[2],3299628645,23),i,s,e[0],4096336452,6),s=d(s,n,r,i,e[7],1126891415,10),i=d(i,s,n,r,e[14],2878612391,15),r=d(r,i,s,n,e[5],4237533241,21),n=d(n,r,i,s,e[12],1700485571,6),s=d(s,n,r,i,e[3],2399980690,10),i=d(i,s,n,r,e[10],4293915773,15),r=d(r,i,s,n,e[1],2240044497,21),n=d(n,r,i,s,e[8],1873313359,6),s=d(s,n,r,i,e[15],4264355552,10),i=d(i,s,n,r,e[6],2734768916,15),r=d(r,i,s,n,e[13],1309151649,21),n=d(n,r,i,s,e[4],4149444226,6),s=d(s,n,r,i,e[11],3174756917,10),i=d(i,s,n,r,e[2],718787259,15),r=d(r,i,s,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+s|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=s.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=a},16616:function(e,t,n){var r=n(30910),i=n(71876);function s(e){this.rand=e||new i.Rand}e.exports=s,s.create=function(e){return new s(e)},s.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},s.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},s.prototype.test=function(e,t,n){var i=e.bitLength(),s=r.mont(e),o=new r(1).toRed(s);t||(t=Math.max(1,i/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var l=e.shrn(c),u=a.toRed(s);t>0;t--){var p=this._randrange(new r(2),a);n&&n(p);var d=p.toRed(s).redPow(l);if(0!==d.cmp(o)&&0!==d.cmp(u)){for(var h=1;h<c;h++){if(0===(d=d.redSqr()).cmp(o))return!1;if(0===d.cmp(u))break}if(h===c)return!1}}return!0},s.prototype.getDivisor=function(e,t){var n=e.bitLength(),i=r.mont(e),s=new r(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var o=e.subn(1),a=0;!o.testn(a);a++);for(var c=e.shrn(a),l=o.toRed(i);t>0;t--){var u=this._randrange(new r(2),o),p=e.gcd(u);if(0!==p.cmpn(1))return p;var d=u.toRed(i).redPow(c);if(0!==d.cmp(s)&&0!==d.cmp(l)){for(var h=1;h<a;h++){if(0===(d=d.redSqr()).cmp(s))return d.fromRed().subn(1).gcd(e);if(0===d.cmp(l))break}if(h===a)return(d=d.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},66118:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(96980),o=n(11268),a=n.n(o),c=1073741823,l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window||"undefined"!=typeof window?window:{};function u(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var p=i().createContext||function(e,t){var n,i,o,p="__create-react-context-"+((l[o="__global_unique_id__"]=(l[o]||0)+1)+"__"),d=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=u(t.props.value),t}(0,s.Z)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[p]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((s=r)===(o=i)?0!==s||1/s==1/o:s!=s&&o!=o)?n=0:(n="function"==typeof t?t(r,i):c,0!==(n|=0)&&this.emitter.set(e.value,n))}var s,o},r.render=function(){return this.props.children},n}(r.Component);d.childContextTypes=((n={})[p]=a().object.isRequired,n);var h=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,s.Z)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?c:t},r.componentDidMount=function(){this.context[p]&&this.context[p].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?c:e},r.componentWillUnmount=function(){this.context[p]&&this.context[p].off(this.onUpdate)},r.getValue=function(){return this.context[p]?this.context[p].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return h.contextTypes=((i={})[p]=a().object,i),{Provider:d,Consumer:h}};t.Z=p},1920:function(){},3696:function(){},99889:function(){},93474:function(){},33285:function(){},39999:function(){},6383:function(){},78785:function(){},79177:function(){},16341:function(){},91648:function(){},907:function(){},58187:function(){},85731:function(){},48282:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},90458:function(e,t){"use strict";var n=t;function r(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",n=0;n<e.length;n++)t+=r(e[n].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),s=i>>8,o=255&i;s?n.push(s,o):n.push(o)}return n},n.zero2=r,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}},32002:function(e){var t=1e3,n=60*t,r=60*n,i=24*r,s=7*i,o=365.25*i;function a(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"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 a=/^(-?(?:\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(!a)return;var c=parseFloat(a[1]);switch((a[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*i;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>=i)return a(e,s,i,"day");if(s>=r)return a(e,s,r,"hour");if(s>=n)return a(e,s,n,"minute");if(s>=t)return a(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=i)return Math.round(e/i)+"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))}},96121:function(e){e.exports=function(e,t){return e===t||!!(16&e.compareDocumentPosition(t))}},1625:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,s){for(var o,a,c=i(e),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))n.call(o,u)&&(c[u]=o[u]);if(t){a=t(o);for(var p=0;p<a.length;p++)r.call(o,a[p])&&(c[a[p]]=o[a[p]])}}return c}},72335:function(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},88706:function(e,t,n){"use strict";var r=n(13185),i=n(43120),s=n(72335),o=n(75432),a=n(95894),c=i(o(),Object);r(c,{getPolyfill:o,implementation:s,shim:a}),e.exports=c},75432:function(e,t,n){"use strict";var r=n(72335);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},95894:function(e,t,n){"use strict";var r=n(75432),i=n(13185);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},96128:function(e,t,n){"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,s=Object.prototype.toString,o=n(56133),a=Object.prototype.propertyIsEnumerable,c=!a.call({toString:null},"toString"),l=a.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!d["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{p(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===s.call(e),r=o(e),a=t&&"[object String]"===s.call(e),d=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var f=l&&n;if(a&&e.length>0&&!i.call(e,0))for(var m=0;m<e.length;++m)d.push(String(m));if(r&&e.length>0)for(var g=0;g<e.length;++g)d.push(String(g));else for(var v in e)f&&"prototype"===v||!i.call(e,v)||d.push(String(v));if(c)for(var b=function(e){if("undefined"==typeof window||!h)return p(e);try{return p(e)}catch(e){return!1}}(e),y=0;y<u.length;++y)b&&"constructor"===u[y]||!i.call(e,u[y])||d.push(u[y]);return d}}e.exports=r},98517:function(e,t,n){"use strict";var r=Array.prototype.slice,i=n(56133),s=Object.keys,o=s?function(e){return s(e)}:n(96128),a=Object.keys;o.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?a(r.call(e)):a(e)})}else Object.keys=o;return Object.keys||o},e.exports=o},56133:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},82581:function(e,t,n){"use strict";var r=n(8277);t.certificate=n(42103);var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var s=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=s;var o=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));t.PublicKey=o;var a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=c;var l=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=l;var u=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=u,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var p=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=p;var d=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},42103:function(e,t,n){"use strict";var r=n(8277),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),s=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),o=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())})),c=r.define("RelativeDistinguishedName",(function(){this.setof(s)})),l=r.define("RDNSequence",(function(){this.seqof(c)})),u=r.define("Name",(function(){this.choice({rdnSequence:this.use(l)})})),p=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),d=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(u),this.key("validity").use(p),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),f=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())}));e.exports=f},89987:function(e,t,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,s=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=n(51105),a=n(6123),c=n(37225).Buffer;e.exports=function(e,t){var n,l=e.toString(),u=l.match(r);if(u){var p="aes"+u[1],d=c.from(u[2],"hex"),h=c.from(u[3].replace(/[\r\n]/g,""),"base64"),f=o(t,d.slice(0,8),parseInt(u[1],10)).key,m=[],g=a.createDecipheriv(p,f,d);m.push(g.update(h)),m.push(g.final()),n=c.concat(m)}else{var v=l.match(s);n=c.from(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(i)[1],data:n}}},87758:function(e,t,n){var r=n(82581),i=n(93611),s=n(89987),o=n(6123),a=n(80231),c=n(37225).Buffer;function l(e){var t;"object"!=typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=c.from(e));var n,l,u=s(e,t),p=u.tag,d=u.data;switch(p){case"CERTIFICATE":l=r.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=r.PublicKey.decode(d,"der")),n=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=r.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":d=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),s=i[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,u=e.subjectPrivateKey,p=parseInt(s.split("-")[1],10)/8,d=a.pbkdf2Sync(t,n,r,p,"sha1"),h=o.createDecipheriv(s,d,l),f=[];return f.push(h.update(u)),f.push(h.final()),c.concat(f)}(d=r.EncryptedPrivateKey.decode(d,"der"),t);case"PRIVATE KEY":switch(n=(l=r.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:r.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=r.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=r.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+p)}}e.exports=l,l.signature=r.signature},760:function(e,t,n){var r=n(16169);e.exports=h,e.exports.parse=s,e.exports.compile=function(e,t){return a(s(e,t),t)},e.exports.tokensToFunction=a,e.exports.tokensToRegExp=d;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function s(e,t){for(var n,r=[],s=0,o=0,a="",u=t&&t.delimiter||"/";null!=(n=i.exec(e));){var p=n[0],d=n[1],h=n.index;if(a+=e.slice(o,h),o=h+p.length,d)a+=d[1];else{var f=e[o],m=n[2],g=n[3],v=n[4],b=n[5],y=n[6],k=n[7];a&&(r.push(a),a="");var w=null!=m&&null!=f&&f!==m,_="+"===y||"*"===y,E="?"===y||"*"===y,C=n[2]||u,S=v||b;r.push({name:g||s++,prefix:m||"",delimiter:C,optional:E,repeat:_,partial:w,asterisk:!!k,pattern:S?l(S):k?".*":"[^"+c(C)+"]+?"})}}return o<e.length&&(a+=e.substr(o)),a&&r.push(a),r}function o(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function a(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",p(t)));return function(t,i){for(var s="",a=t||{},c=(i||{}).pretty?o:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!=typeof u){var p,d=a[u.name];if(null==d){if(u.optional){u.partial&&(s+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(d)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(p=c(d[h]),!n[l].test(p))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(p)+"`");s+=(0===h?u.prefix:u.delimiter)+p}}else{if(p=u.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(d),!n[l].test(p))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+p+'"');s+=u.prefix+p}}else s+=u}return s}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function p(e){return e&&e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,s=!1!==n.end,o="",a=0;a<e.length;a++){var l=e[a];if("string"==typeof l)o+=c(l);else{var d=c(l.prefix),h="(?:"+l.pattern+")";t.push(l),l.repeat&&(h+="(?:"+d+h+")*"),o+=h=l.optional?l.partial?d+"("+h+")?":"(?:"+d+"("+h+"))?":d+"("+h+")"}}var f=c(n.delimiter||"/"),m=o.slice(-f.length)===f;return i||(o=(m?o.slice(0,-f.length):o)+"(?:"+f+"(?=$))?"),o+=s?"$":i&&m?"":"(?="+f+"|$)",u(new RegExp("^"+o,p(n)),t)}function h(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(h(e[i],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",p(n)),t)}(e,t,n):function(e,t,n){return d(s(e,n),t,n)}(e,t,n)}},80231:function(e,t,n){t.pbkdf2=n(86443),t.pbkdf2Sync=n(1452)},86443:function(e,t,n){var r,i,s=n(37225).Buffer,o=n(95672),a=n(32042),c=n(1452),l=n(68200),u=window.crypto&&window.crypto.subtle,p={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function h(){return i||(i=window.process&&window.process.nextTick?window.process.nextTick:window.queueMicrotask?window.queueMicrotask:window.setImmediate?window.setImmediate:window.setTimeout)}function f(e,t,n,r,i){return u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return s.from(e)}))}e.exports=function(e,t,n,i,m,g){"function"==typeof m&&(g=m,m=void 0);var v=p[(m=m||"sha1").toLowerCase()];if(v&&"function"==typeof window.Promise){if(o(n,i),e=l(e,a,"Password"),t=l(t,a,"Salt"),"function"!=typeof g)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){h()((function(){t(null,e)}))}),(function(e){h()((function(){t(e)}))}))}(function(e){if(window.process&&!window.process.browser)return Promise.resolve(!1);if(!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var t=f(r=r||s.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=t,t}(v).then((function(r){return r?f(e,t,n,i,v):c(e,t,n,i,m)})),g)}else h()((function(){var r;try{r=c(e,t,n,i,m)}catch(e){return g(e)}g(null,r)}))}},32042:function(e,t,n){var r,i=n(5806);if(window.process&&window.process.browser)r="utf-8";else if(window.process&&window.process.version){r=parseInt(i.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else r="utf-8";e.exports=r},95672:function(e){var t=Math.pow(2,30)-1;e.exports=function(e,n){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof n)throw new TypeError("Key length not a number");if(n<0||n>t||n!=n)throw new TypeError("Bad key length")}},1452:function(e,t,n){var r=n(51345),i=n(50601),s=n(25636),o=n(37225).Buffer,a=n(95672),c=n(32042),l=n(68200),u=o.alloc(128),p={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,n){var a=function(e){function t(t){return s(e).update(t).digest()}function n(e){return(new i).update(e).digest()}return"rmd160"===e||"ripemd160"===e?n:"md5"===e?r:t}(e),c="sha512"===e||"sha384"===e?128:64;t.length>c?t=a(t):t.length<c&&(t=o.concat([t,u],c));for(var l=o.allocUnsafe(c+p[e]),d=o.allocUnsafe(c+p[e]),h=0;h<c;h++)l[h]=54^t[h],d[h]=92^t[h];var f=o.allocUnsafe(c+n+4);l.copy(f,0,0,c),this.ipad1=f,this.ipad2=l,this.opad=d,this.alg=e,this.blocksize=c,this.hash=a,this.size=p[e]}d.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,n,r,i){a(n,r);var s=new d(i=i||"sha1",e=l(e,c,"Password"),(t=l(t,c,"Salt")).length),u=o.allocUnsafe(r),h=o.allocUnsafe(t.length+4);t.copy(h,0,0,t.length);for(var f=0,m=p[i],g=Math.ceil(r/m),v=1;v<=g;v++){h.writeUInt32BE(v,t.length);for(var b=s.run(h,s.ipad1),y=b,k=1;k<n;k++){y=s.run(y,s.ipad2);for(var w=0;w<m;w++)b[w]^=y[w]}b.copy(u,f),f+=m}return u}},68200:function(e,t,n){var r=n(37225).Buffer;e.exports=function(e,t,n){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,t);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},5806:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var a,c=[],l=!1,u=-1;function p(){l&&a&&(l=!1,a.length?c=a.concat(c):u=-1,c.length&&d())}function d(){if(!l){var e=o(p);l=!0;for(var t=c.length;t;){for(a=c,c=[];++u<t;)a&&a[u].run();u=-1,t=c.length}a=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||o(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},9587:function(e,t,n){"use strict";var r=n(45843);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,s,o){if(o!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return n.PropTypes=n,n}},11268:function(e,t,n){e.exports=n(9587)()},45843:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},51296:function(e,t,n){t.publicEncrypt=n(75496),t.privateDecrypt=n(42882),t.privateEncrypt=function(e,n){return t.publicEncrypt(e,n,!0)},t.publicDecrypt=function(e,n){return t.privateDecrypt(e,n,!0)}},46598:function(e,t,n){var r=n(77439),i=n(37225).Buffer;function s(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var n,o=i.alloc(0),a=0;o.length<t;)n=s(a++),o=i.concat([o,r("sha1").update(e).update(n).digest()]);return o.slice(0,t)}},42882:function(e,t,n){var r=n(87758),i=n(46598),s=n(76245),o=n(30910),a=n(8568),c=n(77439),l=n(65505),u=n(37225).Buffer;e.exports=function(e,t,n){var p;p=e.padding?e.padding:n?1:4;var d,h=r(e),f=h.modulus.byteLength();if(t.length>f||new o(t).cmp(h.modulus)>=0)throw new Error("decryption error");d=n?l(new o(t),h):a(t,h);var m=u.alloc(f-d.length);if(d=u.concat([m,d],f),4===p)return function(e,t){var n=e.modulus.byteLength(),r=c("sha1").update(u.alloc(0)).digest(),o=r.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,o+1),l=t.slice(o+1),p=s(a,i(l,o)),d=s(l,i(p,n-o-1));if(function(e,t){e=u.from(e),t=u.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;for(;++i<r;)n+=e[i]^t[i];return n}(r,d.slice(0,o)))throw new Error("decryption error");var h=o;for(;0===d[h];)h++;if(1!==d[h++])throw new Error("decryption error");return d.slice(h)}(h,d);if(1===p)return function(e,t,n){var r=t.slice(0,2),i=2,s=0;for(;0!==t[i++];)if(i>=t.length){s++;break}var o=t.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&s++;o.length<8&&s++;if(s)throw new Error("decryption error");return t.slice(i)}(0,d,n);if(3===p)return d;throw new Error("unknown padding")}},75496:function(e,t,n){var r=n(87758),i=n(35175),s=n(77439),o=n(46598),a=n(76245),c=n(30910),l=n(65505),u=n(8568),p=n(37225).Buffer;e.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var h,f=r(e);if(4===d)h=function(e,t){var n=e.modulus.byteLength(),r=t.length,l=s("sha1").update(p.alloc(0)).digest(),u=l.length,d=2*u;if(r>n-d-2)throw new Error("message too long");var h=p.alloc(n-r-d-2),f=n-u-1,m=i(u),g=a(p.concat([l,h,p.alloc(1,1),t],f),o(m,f)),v=a(m,o(g,u));return new c(p.concat([p.alloc(1),v,g],n))}(f,t);else if(1===d)h=function(e,t,n){var r,s=t.length,o=e.modulus.byteLength();if(s>o-11)throw new Error("message too long");r=n?p.alloc(o-s-3,255):function(e){var t,n=p.allocUnsafe(e),r=0,s=i(2*e),o=0;for(;r<e;)o===s.length&&(s=i(2*e),o=0),(t=s[o++])&&(n[r++]=t);return n}(o-s-3);return new c(p.concat([p.from([0,n?1:2]),r,p.alloc(1),t],o))}(f,t,n);else{if(3!==d)throw new Error("unknown padding");if((h=new c(t)).cmp(f.modulus)>=0)throw new Error("data too long for modulus")}return n?u(h,f):l(h,f)}},65505:function(e,t,n){var r=n(30910),i=n(37225).Buffer;e.exports=function(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}},76245:function(e){e.exports=function(e,t){for(var n=e.length,r=-1;++r<n;)e[r]^=t[r];return e}},35175:function(e,t,n){"use strict";var r=n(5806),i=65536,s=4294967295;var o=n(37225).Buffer,a=window.crypto||window.msCrypto;a&&a.getRandomValues?e.exports=function(e,t){if(e>s)throw new RangeError("requested too many random bytes");var n=o.allocUnsafe(e);if(e>0)if(e>i)for(var c=0;c<e;c+=i)a.getRandomValues(n.slice(c,c+i));else a.getRandomValues(n);if("function"==typeof t)return r.nextTick((function(){t(null,n)}));return n}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},70460:function(e,t,n){"use strict";var r=n(5806);function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=n(37225),o=n(35175),a=s.Buffer,c=s.kMaxLength,l=window.crypto||window.msCrypto,u=Math.pow(2,32)-1;function p(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>u||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function d(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>u||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>c)throw new RangeError("buffer too small")}function h(e,t,n,i){if(r.browser){var s=e.buffer,a=new Uint8Array(s,t,n);return l.getRandomValues(a),i?void r.nextTick((function(){i(null,e)})):e}if(!i)return o(n).copy(e,t),e;o(n,(function(n,r){if(n)return i(n);r.copy(e,t),i(null,e)}))}l&&l.getRandomValues||!r.browser?(t.randomFill=function(e,t,n,r){if(!(a.isBuffer(e)||e instanceof window.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)r=t,t=0,n=e.length;else if("function"==typeof n)r=n,n=e.length-t;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return p(t,e.length),d(n,t,e.length),h(e,t,n,r)},t.randomFillSync=function(e,t,n){void 0===t&&(t=0);if(!(a.isBuffer(e)||e instanceof window.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');p(t,e.length),void 0===n&&(n=e.length-t);return d(n,t,e.length),h(e,t,n)}):(t.randomFill=i,t.randomFillSync=i)},66462:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case p:case s:case a:case o:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case m:case c:return e;default:return t}}case i:return t}}}function _(e){return w(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=s,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===s},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===a},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===p||e===a||e===o||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===k||e.$$typeof===v)},t.typeOf=w},80364:function(e,t,n){"use strict";e.exports=n(66462)},33244:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return!(0,s.default)(this.props,e)||!(0,s.default)(this.state,t)};var r,i=n(60360),s=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},21425:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(33244),s=(r=i)&&r.__esModule?r:{default:r};t.default={shouldComponentUpdate:s.default},e.exports=t.default},60360:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),s=0;s<n.length;s++)if(!i(n[s])||e[n[s]]!==t[n[s]])return!1;return!0},e.exports=t.default},1992:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(99196),i=n.n(r)().createContext(null)},32054:function(e,t,n){"use strict";var r=n(71446),i=n(99196),s=n.n(i),o=n(11268),a=n.n(o),c=n(1992),l=function(e){function t(t){var n;n=e.call(this,t)||this;var r=t.store;return n.state={storeState:r.getState(),store:r},n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this.subscribe()},n.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},n.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},n.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var n=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===n?null:{storeState:n}}))}));var n=t.getState();n!==this.state.storeState&&this.setState({storeState:n})},n.render=function(){var e=this.props.context||c.E;return s().createElement(e.Provider,{value:this.state},this.props.children)},t}(i.Component);l.propTypes={store:a().shape({subscribe:a().func.isRequired,dispatch:a().func.isRequired,getState:a().func.isRequired}),context:a().object,children:a().any},t.Z=l},4193:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(25303),i=n(71446),s=n(40988),o=n(5343),a=n(13266),c=n.n(a),l=n(24546),u=n.n(l),p=n(99196),d=n.n(p),h=n(80364),f=n(1992);function m(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,l=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,m=n.methodName,g=void 0===m?"connectAdvanced":m,v=n.renderCountProp,b=void 0===v?void 0:v,y=n.shouldHandleStateChanges,k=void 0===y||y,w=n.storeKey,_=void 0===w?"store":w,E=n.withRef,C=void 0!==E&&E,S=n.forwardRef,j=void 0!==S&&S,M=n.context,x=void 0===M?f.E:M,N=(0,o.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);u()(void 0===b,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),u()(!C,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var A="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";u()("store"===_,"storeKey has been removed and does not do anything. "+A);var O=x;return function(t){var n=t.displayName||t.name||"Component",o=l(n),a=(0,s.Z)({},N,{getDisplayName:l,methodName:g,renderCountProp:b,shouldHandleStateChanges:k,storeKey:_,displayName:o,wrappedComponentName:n,WrappedComponent:t}),f=N.pure,m=p.Component;f&&(m=p.PureComponent);var v=function(n){function c(t){var i,o,a,c,l,p,h,m,g,v,b;return i=n.call(this,t)||this,u()(j?!t.wrapperProps[_]:!t[_],"Passing redux store in props has been removed and does not do anything. "+A),i.selectDerivedProps=function(t,n,r,i){if(f&&o===n&&a===t)return c;r===l&&p===i||(l=r,p=i,h=e(r.dispatch,i)),o=n,a=t;var s=h(t,n);return c=s},i.selectChildElement=function(e,t,n){return t===m&&n===g&&b===e||(m=t,g=n,b=e,v=d().createElement(e,(0,s.Z)({},t,{ref:n}))),v},i.indirectRenderWrappedComponent=i.indirectRenderWrappedComponent.bind((0,r.Z)(i)),i}(0,i.Z)(c,n);var l=c.prototype;return l.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},l.renderWrappedComponent=function(e){u()(e,'Could not find "store" in the context of "'+o+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+o+" in connect options.");var n,r=e.storeState,i=e.store,s=this.props;j&&(s=this.props.wrapperProps,n=this.props.forwardedRef);var c=this.selectDerivedProps(r,s,i,a);return this.selectChildElement(t,c,n)},l.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,h.isContextConsumer)(d().createElement(this.props.context.Consumer,null))?this.props.context:O;return d().createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},c}(m);if(v.WrappedComponent=t,v.displayName=o,j){var y=d().forwardRef((function(e,t){return d().createElement(v,{wrapperProps:e,forwardedRef:t})}));return y.displayName=o,y.WrappedComponent=t,c()(y,t)}return c()(v,t)}}},28274:function(e,t,n){"use strict";var r,i,s,o,a,c,l,u,p,d,h,f,m=n(40988),g=n(5343),v=n(4193),b=n(37110),y=n(80214),k=n(26150),w=n(94262),_=n(27189);function E(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function C(e,t){return e===t}t.Z=(s=(i=void 0===r?{}:r).connectHOC,o=void 0===s?v.Z:s,a=i.mapStateToPropsFactories,c=void 0===a?k.ZP:a,l=i.mapDispatchToPropsFactories,u=void 0===l?y.ZP:l,p=i.mergePropsFactories,d=void 0===p?w.ZP:p,h=i.selectorFactory,f=void 0===h?_.ZP:h,function(e,t,n,r){void 0===r&&(r={});var i=r,s=i.pure,a=void 0===s||s,l=i.areStatesEqual,p=void 0===l?C:l,h=i.areOwnPropsEqual,v=void 0===h?b.Z:h,y=i.areStatePropsEqual,k=void 0===y?b.Z:y,w=i.areMergedPropsEqual,_=void 0===w?b.Z:w,S=(0,g.Z)(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),j=E(e,c,"mapStateToProps"),M=E(t,u,"mapDispatchToProps"),x=E(n,d,"mergeProps");return o(f,(0,m.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:j,initMapDispatchToProps:M,initMergeProps:x,pure:a,areStatesEqual:p,areOwnPropsEqual:v,areStatePropsEqual:k,areMergedPropsEqual:_},S))})},80214:function(e,t,n){"use strict";var r=n(74978),i=n(68821);t.ZP=[function(e){return"function"==typeof e?(0,i.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,i.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,i.dX)((function(t){return(0,r.DE)(e,t)})):void 0}]},26150:function(e,t,n){"use strict";var r=n(68821);t.ZP=[function(e){return"function"==typeof e?(0,r.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,r.dX)((function(){return{}}))}]},94262:function(e,t,n){"use strict";var r=n(40988);n(80450);function i(e,t,n){return(0,r.Z)({},n,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,s=n.areMergedPropsEqual,o=!1;return function(t,n,a){var c=e(t,n,a);return o?i&&s(c,r)||(r=c):(o=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return i}}]},27189:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});var r=n(5343);n(51617);function i(e,t,n,r){return function(i,s){return n(e(i,s),t(r,s),s)}}function s(e,t,n,r,i){var s,o,a,c,l,u=i.areStatesEqual,p=i.areOwnPropsEqual,d=i.areStatePropsEqual,h=!1;function f(i,h){var f,m,g=!p(h,o),v=!u(i,s);return s=i,o=h,g&&v?(a=e(s,o),t.dependsOnOwnProps&&(c=t(r,o)),l=n(a,c,o)):g?(e.dependsOnOwnProps&&(a=e(s,o)),t.dependsOnOwnProps&&(c=t(r,o)),l=n(a,c,o)):v?(f=e(s,o),m=!d(f,a),a=f,m&&(l=n(a,c,o)),l):l}return function(i,u){return h?f(i,u):(a=e(s=i,o=u),c=t(r,o),l=n(a,c,o),h=!0,l)}}function o(e,t){var n=t.initMapStateToProps,o=t.initMapDispatchToProps,a=t.initMergeProps,c=(0,r.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),l=n(e,c),u=o(e,c),p=a(e,c);return(c.pure?s:i)(l,u,p,e,c)}},51617:function(e,t,n){"use strict";n(28477)},68821:function(e,t,n){"use strict";n.d(t,{dX:function(){return r},xv:function(){return s}});n(80450);function r(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function i(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function s(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=i(e);var s=r(t,n);return"function"==typeof s&&(r.mapToProps=s,r.dependsOnOwnProps=i(s),s=r(t,n)),s},r}}},2620:function(e,t,n){"use strict";n.d(t,{zt:function(){return r.Z},$j:function(){return i.Z}});var r=n(32054),i=(n(4193),n(1992),n(28274))},37110:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=Object.prototype.hasOwnProperty;function i(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function s(e,t){if(i(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;for(var o=0;o<n.length;o++)if(!r.call(t,n[o])||!i(e[n[o]],t[n[o]]))return!1;return!0}},80450:function(e,t,n){"use strict";n(28477)},28477:function(e,t,n){"use strict";n(55246)},1336:function(e,t,n){"use strict";n.d(t,{UT:function(){return p}});var r=n(12901),i=n(71446),s=n(99196),o=n.n(s),a=n(33451),c=(n(11268),n(40988)),l=n(5343),u=n(34770);o().Component;var p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,a.q_)(t.props),t}return(0,i.Z)(t,e),t.prototype.render=function(){return o().createElement(r.F0,{history:this.history,children:this.props.children})},t}(o().Component);var d=function(e,t){return"function"==typeof e?e(t):e},h=function(e,t){return"string"==typeof e?(0,a.ob)(e,null,null,t):e},f=function(e){return e},m=o().forwardRef;void 0===m&&(m=f);var g=m((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,s=(0,l.Z)(e,["innerRef","navigate","onClick"]),a=s.target,u=(0,c.Z)({},s,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=f!==m&&t||n,o().createElement("a",u)}));var v=m((function(e,t){var n=e.component,i=void 0===n?g:n,s=e.replace,a=e.to,p=e.innerRef,v=(0,l.Z)(e,["component","replace","to","innerRef"]);return o().createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=e.history,r=h(d(a,e.location),e.location),l=r?n.createHref(r):"",g=(0,c.Z)({},v,{href:l,navigate:function(){var t=d(a,e.location);(s?n.replace:n.push)(t)}});return f!==m?g.ref=t||p:g.innerRef=p,o().createElement(i,g)}))})),b=function(e){return e},y=o().forwardRef;void 0===y&&(y=b);y((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,s=e.activeClassName,a=void 0===s?"active":s,p=e.activeStyle,f=e.className,m=e.exact,g=e.isActive,k=e.location,w=e.sensitive,_=e.strict,E=e.style,C=e.to,S=e.innerRef,j=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o().createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=k||e.location,s=h(d(C,n),n),l=s.pathname,M=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=M?(0,r.LX)(n.pathname,{path:M,exact:m,sensitive:w,strict:_}):null,N=!!(g?g(x,n):x),A=N?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(f,a):f,O=N?(0,c.Z)({},E,{},p):E,T=(0,c.Z)({"aria-current":N&&i||null,className:A,style:O,to:s},j);return b!==y?T.ref=t||S:T.innerRef=S,o().createElement(v,T)}))}))},12901:function(e,t,n){"use strict";n.d(t,{NL:function(){return w},l_:function(){return S},AW:function(){return N},F0:function(){return y},rs:function(){return R},s6:function(){return b},LX:function(){return x},EN:function(){return U}});var r=n(71446),i=n(99196),s=n.n(i),o=(n(11268),n(33451)),a=n(66118),c=n(34770),l=n(40988),u=n(760),p=n.n(u),d=(n(80364),n(5343)),h=n(13266),f=n.n(h),m=function(e){var t=(0,a.Z)();return t.displayName=e,t},g=m("Router-History"),v=function(e){var t=(0,a.Z)();return t.displayName=e,t},b=v("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return s().createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},s().createElement(g.Provider,{children:this.props.children||null,value:this.props.history}))},t}(s().Component);s().Component;var k=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(s().Component);function w(e){var t=e.message,n=e.when,r=void 0===n||n;return s().createElement(b.Consumer,null,(function(e){if(e||(0,c.Z)(!1),!r||e.staticContext)return null;var n=e.history.block;return s().createElement(k,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var _={},E=0;function C(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(_[e])return _[e];var t=p().compile(e);return E<1e4&&(_[e]=t,E++),t}(e)(t,{pretty:!0})}function S(e){var t=e.computedMatch,n=e.to,r=e.push,i=void 0!==r&&r;return s().createElement(b.Consumer,null,(function(e){e||(0,c.Z)(!1);var r=e.history,a=e.staticContext,u=i?r.push:r.replace,p=(0,o.ob)(t?"string"==typeof n?C(n,t.params):(0,l.Z)({},n,{pathname:C(n.pathname,t.params)}):n);return a?(u(p),null):s().createElement(k,{onMount:function(){u(p)},onUpdate:function(e,t){var n=(0,o.ob)(t.to);(0,o.Hp)(n,(0,l.Z)({},p,{key:n.key}))||u(p)},to:n})}))}var j={},M=0;function x(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,s=void 0!==i&&i,o=n.strict,a=void 0!==o&&o,c=n.sensitive,l=void 0!==c&&c;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=j[n]||(j[n]={});if(r[e])return r[e];var i=[],s={regexp:p()(e,i,t),keys:i};return M<1e4&&(r[e]=s,M++),s}(n,{end:s,strict:a,sensitive:l}),i=r.regexp,o=r.keys,c=i.exec(e);if(!c)return null;var u=c[0],d=c.slice(1),h=e===u;return s&&!h?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:h,params:o.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return s().createElement(b.Consumer,null,(function(t){t||(0,c.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?x(n.pathname,e.props):t.match,i=(0,l.Z)({},t,{location:n,match:r}),o=e.props,a=o.children,u=o.component,p=o.render;return Array.isArray(a)&&0===a.length&&(a=null),s().createElement(b.Provider,{value:i},i.match?a?"function"==typeof a?a(i):a:u?s().createElement(u,i):p?p(i):null:"function"==typeof a?a(i):null)}))},t}(s().Component);function A(e){return"/"===e.charAt(0)?e:"/"+e}function O(e,t){if(!e)return t;var n=A(e);return 0!==t.pathname.indexOf(n)?t:(0,l.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,o.Ep)(e)}function P(e){return function(){(0,c.Z)(!1)}}function I(){}s().Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return s().createElement(b.Consumer,null,(function(t){t||(0,c.Z)(!1);var n,r,i=e.props.location||t.location;return s().Children.forEach(e.props.children,(function(e){if(null==r&&s().isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?x(i.pathname,(0,l.Z)({},e.props,{path:o})):t.match}})),r?s().cloneElement(n,{location:i,computedMatch:r}):null}))},t}(s().Component);function U(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,d.Z)(t,["wrappedComponentRef"]);return s().createElement(b.Consumer,null,(function(t){return t||(0,c.Z)(!1),s().createElement(e,(0,l.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,f()(n,e)}s().useContext},30997:function(e){"use strict";var t={};function n(e,n,r){r||(r=Error);var i=function(e){var t,r;function i(t,r,i){return e.call(this,function(e,t,r){return"string"==typeof n?n:n(e,t,r)}(t,r,i))||this}return r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,s,o,a;if("string"==typeof t&&(s="not ",t.substr(!o||o<0?0:+o,s.length)===s)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var c=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(c," ").concat(i," ").concat(r(t,"type"))}return a+=". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},95507:function(e,t,n){"use strict";var r=n(5806),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var s=n(20465),o=n(48607);n(59503)(u,s);for(var a=i(o.prototype),c=0;c<a.length;c++){var l=a[c];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(e);s.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",p)))}function p(){this._writableState.ended||r.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},15385:function(e,t,n){"use strict";e.exports=i;var r=n(1866);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(59503)(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},20465:function(e,t,n){"use strict";var r,i=n(5806);e.exports=S,S.ReadableState=C;n(2571).EventEmitter;var s=function(e,t){return e.listeners(t).length},o=n(74756),a=n(90778).Buffer,c=window.Uint8Array||function(){};var l,u=n(80677);l=u&&u.debuglog?u.debuglog("stream"):function(){};var p,d,h,f=n(41500),m=n(13537),g=n(71199).getHighWaterMark,v=n(30997).q,b=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,k=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(59503)(S,o);var _=m.errorOrDestroy,E=["error","close","destroy","pause","resume"];function C(e,t,i){r=r||n(95507),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n(3247).s),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function S(e){if(r=r||n(95507),!(this instanceof S))return new S(e);var t=this instanceof r;this._readableState=new C(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),o.call(this)}function j(e,t,n,r,i){l("readableAddChunk",t);var s,o=e._readableState;if(null===t)o.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,o);else if(i||(s=function(e,t){var n;r=t,a.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new b("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(o,t)),s)_(e,s);else if(o.objectMode||t&&t.length>0)if("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),r)o.endEmitted?_(e,new w):M(e,o,t,!0);else if(o.ended)_(e,new y);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?M(e,o,t,!1):T(e,o)):M(e,o,t,!1)}else r||(o.reading=!1,T(e,o));return!o.ended&&(o.length<o.highWaterMark||0===o.length)}function M(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&A(e)),T(e,t)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=m.destroy,S.prototype._undestroy=m.undestroy,S.prototype._destroy=function(e,t){t(e)},S.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=a.from(e,t),t=""),n=!0),j(this,e,t,!1,n)},S.prototype.unshift=function(e){return j(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(e){p||(p=n(3247).s);var t=new p(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var x=1073741824;function N(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=x?e=x:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(O,e))}function O(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Z(e)}function T(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(l("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function R(e){l("readable nexttick read 0"),e.read(0)}function U(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Z(e),t.flowing&&!t.reading&&e.read(0)}function Z(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function L(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(z,t,e))}function z(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function B(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}S.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):A(this),null;if(0===(e=N(e,t))&&t.ended)return 0===t.length&&L(this),null;var r,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",i=!0),t.ended||t.reading?l("reading or ended",i=!1):i&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=N(n,t))),null===(r=e>0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&L(this)),null!==r&&this.emit("data",r),r},S.prototype._read=function(e){_(this,new k("_read()"))},S.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,l("pipe count=%d opts=%j",r.pipesCount,t);var o=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?c:g;function a(t,i){l("onunpipe"),t===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,l("cleanup"),e.removeListener("close",f),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",h),e.removeListener("unpipe",a),n.removeListener("end",c),n.removeListener("end",g),n.removeListener("data",d),p=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function c(){l("onend"),e.end()}r.endEmitted?i.nextTick(o):n.once("end",o),e.on("unpipe",a);var u=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,Z(e))}}(n);e.on("drain",u);var p=!1;function d(t){l("ondata");var i=e.write(t);l("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==B(r.pipes,e))&&!p&&(l("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(t){l("onerror",t),g(),e.removeListener("error",h),0===s(e,"error")&&_(e,t)}function f(){e.removeListener("finish",m),g()}function m(){l("onfinish"),e.removeListener("close",f),g()}function g(){l("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",h),e.once("close",f),e.once("finish",m),e.emit("pipe",n),r.flowing||(l("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)r[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=B(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},S.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,l("on readable",r.length,r.reading),r.length?A(this):r.reading||i.nextTick(R,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(I,this),n},S.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(I,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(U,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var s=0;s<E.length;s++)e.on(E[s],this.emit.bind(this,E[s]));return this._read=function(t){l("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=n(87906)),d(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=D,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(e,t){return void 0===h&&(h=n(67841)),h(S,e,t)})},1866:function(e,t,n){"use strict";e.exports=u;var r=n(30997).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,s=r.ERR_MULTIPLE_CALLBACK,o=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,c=n(95507);function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new s);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);c.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",p)}function p(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,n){d(e,t,n)}))}function d(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new a;if(e._transformState.transforming)throw new o;return e.push(null)}n(59503)(u,c),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,c.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new i("_transform()"))},u.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){c.prototype._destroy.call(this,e,(function(e){t(e)}))}},48607:function(e,t,n){"use strict";var r,i=n(5806);function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=S,S.WritableState=C;var o={deprecate:n(49231)},a=n(74756),c=n(90778).Buffer,l=window.Uint8Array||function(){};var u,p=n(13537),d=n(71199).getHighWaterMark,h=n(30997).q,f=h.ERR_INVALID_ARG_TYPE,m=h.ERR_METHOD_NOT_IMPLEMENTED,g=h.ERR_MULTIPLE_CALLBACK,v=h.ERR_STREAM_CANNOT_PIPE,b=h.ERR_STREAM_DESTROYED,y=h.ERR_STREAM_NULL_VALUES,k=h.ERR_STREAM_WRITE_AFTER_END,w=h.ERR_UNKNOWN_ENCODING,_=p.errorOrDestroy;function E(){}function C(e,t,o){r=r||n(95507),e=e||{},"boolean"!=typeof o&&(o=t instanceof r),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,s=n.writecb;if("function"!=typeof s)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,s){--t.pendingcb,n?(i.nextTick(s,r),i.nextTick(O,e,t),e._writableState.errorEmitted=!0,_(e,r)):(s(r),e._writableState.errorEmitted=!0,_(e,r),O(e,t))}(e,n,r,t,s);else{var o=N(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||x(e,n),r?i.nextTick(M,e,n,o,s):M(e,n,o,s)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function S(e){var t=this instanceof(r=r||n(95507));if(!t&&!u.call(S,this))return new S(e);this._writableState=new C(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),a.call(this)}function j(e,t,n,r,i,s,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new b("write")):n?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function M(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),O(e,t)}function x(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0,c=!0;n;)i[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;i.allBuffers=c,j(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,p=n.callback;if(j(e,t,!1,t.objectMode?1:l.length,l,u,p),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function N(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(n){t.pendingcb--,n&&_(e,n),t.prefinished=!0,e.emit("prefinish"),O(e,t)}))}function O(e,t){var n=N(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}n(59503)(S,a),C.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(C.prototype,"buffer",{get:o.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===S&&(e&&e._writableState instanceof C)}})):u=function(e){return e instanceof this},S.prototype.pipe=function(){_(this,new v)},S.prototype.write=function(e,t,n){var r,s=this._writableState,o=!1,a=!s.objectMode&&(r=e,c.isBuffer(r)||r instanceof l);return a&&!c.isBuffer(e)&&(e=function(e){return c.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=s.defaultEncoding),"function"!=typeof n&&(n=E),s.ending?function(e,t){var n=new k;_(e,n),i.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var s;return null===n?s=new y:"string"==typeof n||t.objectMode||(s=new f("chunk",["string","Buffer"],n)),!s||(_(e,s),i.nextTick(r,s),!1)}(this,s,e,n))&&(s.pendingcb++,o=function(e,t,n,r,i,s){if(!n){var o=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,n));return t}(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var a=t.objectMode?1:r.length;t.length+=a;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:s,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else j(e,t,!1,a,r,i,s);return l}(this,s,a,e,t,n)),o},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||x(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,n){n(new m("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,O(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=p.destroy,S.prototype._undestroy=p.undestroy,S.prototype._destroy=function(e,t){t(e)}},87906:function(e,t,n){"use strict";var r,i=n(5806);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(87288),a=Symbol("lastResolve"),c=Symbol("lastReject"),l=Symbol("error"),u=Symbol("ended"),p=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function f(e,t){return{value:e,done:t}}function m(e){var t=e[a];if(null!==t){var n=e[h].read();null!==n&&(e[p]=null,e[a]=null,e[c]=null,t(f(n,!1)))}}function g(e){i.nextTick(m,e)}var v=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((s(r={get stream(){return this[h]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(f(void 0,!0));if(this[h].destroyed)return new Promise((function(t,n){i.nextTick((function(){e[l]?n(e[l]):t(f(void 0,!0))}))}));var n,r=this[p];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[u]?n(f(void 0,!0)):t[d](n,r)}),r)}}(r,this));else{var s=this[h].read();if(null!==s)return Promise.resolve(f(s,!1));n=new Promise(this[d])}return this[p]=n,n}},Symbol.asyncIterator,(function(){return this})),s(r,"return",(function(){var e=this;return new Promise((function(t,n){e[h].destroy(null,(function(e){e?n(e):t(f(void 0,!0))}))}))})),r),v);e.exports=function(e){var t,n=Object.create(b,(s(t={},h,{value:e,writable:!0}),s(t,a,{value:null,writable:!0}),s(t,c,{value:null,writable:!0}),s(t,l,{value:null,writable:!0}),s(t,u,{value:e._readableState.endEmitted,writable:!0}),s(t,d,{value:function(e,t){var r=n[h].read();r?(n[p]=null,n[a]=null,n[c]=null,e(f(r,!1))):(n[a]=e,n[c]=t)},writable:!0}),t));return n[p]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[c];return null!==t&&(n[p]=null,n[a]=null,n[c]=null,t(e)),void(n[l]=e)}var r=n[a];null!==r&&(n[p]=null,n[a]=null,n[c]=null,r(f(void 0,!0))),n[u]=!0})),e.on("readable",g.bind(null,n)),n}},41500:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=n(90778).Buffer,a=n(23833).inspect,c=a&&a.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,l;return t=e,n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,n,r,i=o.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,n=i,r=a,o.prototype.copy.call(t,n,r),a+=s.data.length,s=s.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,s=e>i.length?i.length:e;if(s===i.length?r+=i:r+=i.slice(0,e),0==(e-=s)){s===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(s));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,s=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,s),0==(e-=s)){s===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(s));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return a(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}],n&&s(t.prototype,n),l&&s(t,l),e}()},13537:function(e,t,n){"use strict";var r=n(5806);function i(e,t){o(e,t),s(e)}function s(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,a=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return a||c?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(o,this,e)):r.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?r.nextTick(s,n):(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t?(r.nextTick(s,n),t(e)):r.nextTick(s,n)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}},87288:function(e,t,n){"use strict";var r=n(30997).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,s){if("function"==typeof n)return e(t,null,n);n||(n={}),s=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(s||i);var o=n.readable||!1!==n.readable&&t.readable,a=n.writable||!1!==n.writable&&t.writable,c=function(){t.writable||u()},l=t._writableState&&t._writableState.finished,u=function(){a=!1,l=!0,o||s.call(t)},p=t._readableState&&t._readableState.endEmitted,d=function(){o=!1,p=!0,a||s.call(t)},h=function(e){s.call(t,e)},f=function(){var e;return o&&!p?(t._readableState&&t._readableState.ended||(e=new r),s.call(t,e)):a&&!l?(t._writableState&&t._writableState.ended||(e=new r),s.call(t,e)):void 0},m=function(){t.req.on("finish",u)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?a&&!t._writableState&&(t.on("end",c),t.on("close",c)):(t.on("complete",u),t.on("abort",f),t.req?m():t.on("request",m)),t.on("end",d),t.on("finish",u),!1!==n.error&&t.on("error",h),t.on("close",f),function(){t.removeListener("complete",u),t.removeListener("abort",f),t.removeListener("request",m),t.req&&t.req.removeListener("finish",u),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",u),t.removeListener("end",d),t.removeListener("error",h),t.removeListener("close",f)}}},67841:function(e){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},60519:function(e,t,n){"use strict";var r;var i=n(30997).q,s=i.ERR_MISSING_ARGS,o=i.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function c(e,t,i,s){s=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(s);var a=!1;e.on("close",(function(){a=!0})),void 0===r&&(r=n(87288)),r(e,{readable:t,writable:i},(function(e){if(e)return s(e);a=!0,s()}));var c=!1;return function(t){if(!a&&!c)return c=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void s(t||new o("pipe"))}}function l(e){e()}function u(e,t){return e.pipe(t)}function p(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=p(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new s("streams");var o=t.map((function(e,n){var s=n<t.length-1;return c(e,s,n>0,(function(e){r||(r=e),e&&o.forEach(l),s||(o.forEach(l),i(r))}))}));return t.reduce(u)}},71199:function(e,t,n){"use strict";var r=n(30997).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var s=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new r(i?n:"highWaterMark",s);return Math.floor(s)}return e.objectMode?16:16384}}},74756:function(e,t,n){e.exports=n(2571).EventEmitter},7130:function(e,t,n){(t=e.exports=n(20465)).Stream=t,t.Readable=t,t.Writable=n(48607),t.Duplex=n(95507),t.Transform=n(1866),t.PassThrough=n(15385),t.finished=n(87288),t.pipeline=n(60519)},53126:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var r=n();r.withExtraArgument=n,t.Z=r},74978:function(e,t,n){"use strict";n.d(t,{md:function(){return g},DE:function(){return p},UY:function(){return l},qC:function(){return m},MT:function(){return a}});var r=n(13488),i=(n(55246),function(){return Math.random().toString(36).substring(7).split("").join(".")}),s={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function o(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function a(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,l=t,u=[],p=u,d=!1;function h(){p===u&&(p=u.slice())}function f(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return h(),p.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,h();var n=p.indexOf(e);p.splice(n,1),u=null}}}function g(e){if(!o(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,l=c(l,e)}finally{d=!1}for(var t=u=p,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,g({type:s.REPLACE})}function b(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(f())}return n(),{unsubscribe:t(n)}}})[r.Z]=function(){return this},e}return g({type:s.INIT}),(i={dispatch:g,subscribe:m,getState:f,replaceReducer:v})[r.Z]=b,i}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function l(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:s.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+s.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],u=n[l],p=e[l],d=u(p,t);if(void 0===d){var h=c(l,t);throw new Error(h)}i[l]=d,r=r||d!==p}return(r=r||a.length!==Object.keys(e).length)?i:e}}function u(e,t){return function(){return t(e.apply(this,arguments))}}function p(e,t){if("function"==typeof e)return u(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var i=e[r];"function"==typeof i&&(n[r]=u(i,t))}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},s=t.map((function(e){return e(i)}));return f({},n,{dispatch:r=m.apply(void 0,s)(n.dispatch)})}}}},59149:function(e,t){"use strict";function n(e){return"/"===e.charAt(0)}function r(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}t.Z=function(e,t){void 0===t&&(t="");var i,s=e&&e.split("/")||[],o=t&&t.split("/")||[],a=e&&n(e),c=t&&n(t),l=a||c;if(e&&n(e)?o=s:s.length&&(o.pop(),o=o.concat(s)),!o.length)return"/";if(o.length){var u=o[o.length-1];i="."===u||".."===u||""===u}else i=!1;for(var p=0,d=o.length;d>=0;d--){var h=o[d];"."===h?r(o,d):".."===h?(r(o,d),p++):p&&(r(o,d),p--)}if(!l)for(;p--;p)o.unshift("..");!l||""===o[0]||o[0]&&n(o[0])||o.unshift("");var f=o.join("/");return i&&"/"!==f.substr(-1)&&(f+="/"),f}},50601:function(e,t,n){"use strict";var r=n(90778).Buffer,i=n(59503),s=n(39302),o=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],p=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function h(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(e,t){return e<<t|e>>>32-t}function m(e,t,n,r,i,s,o,a){return f(e+(t^n^r)+s+o|0,a)+i|0}function g(e,t,n,r,i,s,o,a){return f(e+(t&n|~t&r)+s+o|0,a)+i|0}function v(e,t,n,r,i,s,o,a){return f(e+((t|~n)^r)+s+o|0,a)+i|0}function b(e,t,n,r,i,s,o,a){return f(e+(t&r|n&~r)+s+o|0,a)+i|0}function y(e,t,n,r,i,s,o,a){return f(e+(t^(n|~r))+s+o|0,a)+i|0}i(h,s),h.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,s=0|this._d,h=0|this._e,k=0|this._a,w=0|this._b,_=0|this._c,E=0|this._d,C=0|this._e,S=0;S<80;S+=1){var j,M;S<16?(j=m(n,r,i,s,h,e[a[S]],p[0],l[S]),M=y(k,w,_,E,C,e[c[S]],d[0],u[S])):S<32?(j=g(n,r,i,s,h,e[a[S]],p[1],l[S]),M=b(k,w,_,E,C,e[c[S]],d[1],u[S])):S<48?(j=v(n,r,i,s,h,e[a[S]],p[2],l[S]),M=v(k,w,_,E,C,e[c[S]],d[2],u[S])):S<64?(j=b(n,r,i,s,h,e[a[S]],p[3],l[S]),M=g(k,w,_,E,C,e[c[S]],d[3],u[S])):(j=y(n,r,i,s,h,e[a[S]],p[4],l[S]),M=m(k,w,_,E,C,e[c[S]],d[4],u[S])),n=h,h=s,s=f(i,10),i=r,r=j,k=C,C=E,E=f(_,10),_=w,w=M}var x=this._b+i+E|0;this._b=this._c+s+C|0,this._c=this._d+h+k|0,this._d=this._e+n+w|0,this._e=this._a+r+_|0,this._a=x},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},37225:function(e,t,n){var r=n(90778),i=r.Buffer;function s(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(s(r,t),t.Buffer=o),o.prototype=Object.create(i.prototype),s(i,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},82923:function(e,t,n){"use strict";var r,i=n(5806),s=n(90778),o=s.Buffer,a={};for(r in s)s.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=s[r]);var c=a.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(c[r]=o[r]);if(a.Buffer.prototype=o.prototype,c.from&&c.from!==Uint8Array.from||(c.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,n)}),c.alloc||(c.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=o(e);return t&&0!==t.length?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength=i.binding("buffer").kStringMaxLength}catch(e){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),e.exports=a},12023:function(e,t,n){var r=n(37225).Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,s=e.length,o=this._len,a=0;a<s;){for(var c=o%i,l=Math.min(s-a,i-c),u=0;u<l;u++)n[c+u]=e[a+u];a+=l,(o+=l)%i==0&&this._update(n)}return this._len+=s,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var s=this._hash();return e?s.toString(e):s},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},25636:function(e,t,n){var r=e.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};r.sha=n(83443),r.sha1=n(32798),r.sha224=n(47803),r.sha256=n(91772),r.sha384=n(43030),r.sha512=n(90566)},83443:function(e,t,n){var r=n(59503),i=n(12023),s=n(37225).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<30|e>>>2}function u(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,p=0;p<16;++p)n[p]=e.readInt32BE(4*p);for(;p<80;++p)n[p]=n[p-3]^n[p-8]^n[p-14]^n[p-16];for(var d=0;d<80;++d){var h=~~(d/20),f=0|((t=r)<<5|t>>>27)+u(h,i,s,a)+c+n[d]+o[h];c=a,a=s,s=l(i),i=r,r=f}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},32798:function(e,t,n){var r=n(59503),i=n(12023),s=n(37225).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function p(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var h=0;h<80;++h){var f=~~(h/20),m=l(r)+p(f,i,s,a)+c+n[h]+o[f]|0;c=a,a=s,s=u(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},47803:function(e,t,n){var r=n(59503),i=n(91772),s=n(12023),o=n(37225).Buffer,a=new Array(64);function c(){this.init(),this._w=a,s.call(this,64,56)}r(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},91772:function(e,t,n){var r=n(59503),i=n(12023),s=n(37225).Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function c(){this.init(),this._w=a,i.call(this,64,56)}function l(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function p(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,f=0|this._f,m=0|this._g,g=0|this._h,v=0;v<16;++v)n[v]=e.readInt32BE(4*v);for(;v<64;++v)n[v]=0|(((t=n[v-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[v-7]+h(n[v-15])+n[v-16];for(var b=0;b<64;++b){var y=g+d(c)+l(c,f,m)+o[b]+n[b]|0,k=p(r)+u(r,i,s)|0;g=m,m=f,f=c,c=a+y|0,a=s,s=i,i=r,r=y+k|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0,this._f=f+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},c.prototype._hash=function(){var e=s.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},43030:function(e,t,n){var r=n(59503),i=n(90566),s=n(12023),o=n(37225).Buffer,a=new Array(160);function c(){this.init(),this._w=a,s.call(this,128,112)}r(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},90566:function(e,t,n){var r=n(59503),i=n(12023),s=n(37225).Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function c(){this.init(),this._w=a,i.call(this,128,112)}function l(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function p(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function v(e,t){return e>>>0<t>>>0?1:0}r(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,s=0|this._dh,a=0|this._eh,c=0|this._fh,b=0|this._gh,y=0|this._hh,k=0|this._al,w=0|this._bl,_=0|this._cl,E=0|this._dl,C=0|this._el,S=0|this._fl,j=0|this._gl,M=0|this._hl,x=0;x<32;x+=2)t[x]=e.readInt32BE(4*x),t[x+1]=e.readInt32BE(4*x+4);for(;x<160;x+=2){var N=t[x-30],A=t[x-30+1],O=h(N,A),T=f(A,N),P=m(N=t[x-4],A=t[x-4+1]),I=g(A,N),R=t[x-14],U=t[x-14+1],Z=t[x-32],D=t[x-32+1],L=T+U|0,z=O+R+v(L,T)|0;z=(z=z+P+v(L=L+I|0,I)|0)+Z+v(L=L+D|0,D)|0,t[x]=z,t[x+1]=L}for(var B=0;B<160;B+=2){z=t[B],L=t[B+1];var F=u(n,r,i),V=u(k,w,_),q=p(n,k),H=p(k,n),W=d(a,C),$=d(C,a),J=o[B],K=o[B+1],G=l(a,c,b),Y=l(C,S,j),X=M+$|0,Q=y+W+v(X,M)|0;Q=(Q=(Q=Q+G+v(X=X+Y|0,Y)|0)+J+v(X=X+K|0,K)|0)+z+v(X=X+L|0,L)|0;var ee=H+V|0,te=q+F+v(ee,H)|0;y=b,M=j,b=c,j=S,c=a,S=C,a=s+Q+v(C=E+X|0,E)|0,s=i,E=_,i=r,_=w,r=n,w=k,n=Q+te+v(k=X+ee|0,X)|0}this._al=this._al+k|0,this._bl=this._bl+w|0,this._cl=this._cl+_|0,this._dl=this._dl+E|0,this._el=this._el+C|0,this._fl=this._fl+S|0,this._gl=this._gl+j|0,this._hl=this._hl+M|0,this._ah=this._ah+n+v(this._al,k)|0,this._bh=this._bh+r+v(this._bl,w)|0,this._ch=this._ch+i+v(this._cl,_)|0,this._dh=this._dh+s+v(this._dl,E)|0,this._eh=this._eh+a+v(this._el,C)|0,this._fh=this._fh+c+v(this._fl,S)|0,this._gh=this._gh+b+v(this._gl,j)|0,this._hh=this._hh+y+v(this._hl,M)|0},c.prototype._hash=function(){var e=s.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},62470:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.Z=void 0;var i,s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=e[s]}return n.default=e,t&&t.set(e,n),n}(n(99196)),o=(i=n(11268))&&i.__esModule?i:{default:i};function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function c(){return c=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},c.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],0<=t.indexOf(n)||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){function t(){return u(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e);var n=h(t);return function(e,t,n){t&&p(e.prototype,t),n&&p(e,n)}(t,[{key:"render",value:function(){var e,t=this.props,n=t.size,r=t.onClick,i=t.icon,o=t.className,a=l(t,["size","onClick","icon","className"]),u=["social-logo","social-logo-"+i,o].filter(Boolean).join(" ");switch(i){default:e=s.default.createElement("svg",c({height:n,width:n},a));break;case"amazon":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.589.589 0 00.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.061v.369zm-.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.015zm7.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.55zm.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684-.301-.386-1.99-.183-2.749-.092-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59z"})));break;case"behance":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156.482.102.894.273 1.241.507.344.235.612.546.804.938.188.387.281.871.281 1.443 0 .619-.141 1.137-.421 1.551-.284.413-.7.751-1.255 1.014.756.218 1.317.601 1.689 1.146.374.549.557 1.205.557 1.975 0 .623-.12 1.161-.359 1.612a3.144 3.144 0 01-.973 1.114c-.408.288-.876.5-1.399.637A6.144 6.144 0 017.963 18H2V5.698h5.799m-.35 4.97c.481 0 .878-.114 1.192-.345.311-.228.463-.603.463-1.119 0-.286-.051-.523-.152-.707a1.123 1.123 0 00-.416-.427 1.733 1.733 0 00-.596-.216 3.616 3.616 0 00-.697-.06H4.709v2.874h2.74zm.151 5.237c.267 0 .521-.024.759-.077.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491.11-.206.163-.474.163-.798 0-.633-.18-1.084-.533-1.357-.356-.27-.83-.404-1.413-.404H4.709v3.388H7.6zm8.562-.041c.367.358.897.538 1.583.538.493 0 .92-.125 1.277-.374.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693-.701 0-1.332-.113-1.899-.337a4.041 4.041 0 01-1.439-.958 4.364 4.364 0 01-.904-1.484 5.433 5.433 0 01-.32-1.899c0-.666.11-1.288.329-1.863a4.36 4.36 0 01.933-1.492c.406-.42.885-.751 1.444-.994a4.63 4.63 0 011.857-.363c.754 0 1.414.145 1.98.44a3.941 3.941 0 011.389 1.181 4.82 4.82 0 01.783 1.69c.16.632.217 1.292.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496-.39 0-.714.066-.973.2a1.972 1.972 0 00-.621.491 1.772 1.772 0 00-.328.628 2.695 2.695 0 00-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41zm-3.916-3.446h4.985V6.524h-4.985v1.214z"})));break;case"blogger-alt":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 01-1.16-1.079l-.001-.013A5.813 5.813 0 0011.803 3H8.871a5.813 5.813 0 00-5.813 5.813v6.375a5.813 5.813 0 005.813 5.813h6.257a5.814 5.814 0 005.813-5.813l.002-4.121a1.164 1.164 0 00-1.164-1.163zM8.726 7.713h3.291a1.117 1.117 0 110 2.234H8.726a1.117 1.117 0 110-2.234zm6.601 8.657H8.72a1.057 1.057 0 110-2.114h6.607a1.057 1.057 0 110 2.114z"})));break;case"blogger":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M14.722 14.019a.654.654 0 01-.654.654H9.977a.654.654 0 010-1.308h4.091c.361 0 .654.293.654.654zm-4.741-3.321h2.038a.692.692 0 000-1.384H9.981a.692.692 0 000 1.384zM21 5v14a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2zm-3.456 6.39a.72.72 0 00-.72-.72h-.607l-.013.001a.72.72 0 01-.718-.668l-.001-.008a3.599 3.599 0 00-3.599-3.599H10.07a3.599 3.599 0 00-3.599 3.599v3.947a3.6 3.6 0 003.599 3.599h3.874a3.599 3.599 0 003.599-3.599l.001-2.552z"})));break;case"codepen":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M22.016 8.84l-.007-.037c-.005-.025-.008-.048-.015-.072-.003-.015-.01-.028-.013-.042l-.023-.062-.02-.042a.391.391 0 00-.03-.057.357.357 0 00-.025-.038l-.035-.052-.03-.037c-.015-.017-.028-.032-.043-.045-.01-.012-.022-.023-.035-.035a.442.442 0 00-.048-.04l-.037-.03-.015-.012-9.161-6.096a.864.864 0 00-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 00-.078.082c-.012.013-.022.023-.03.037-.011.017-.025.035-.035.052a.498.498 0 01-.025.038c-.011.022-.021.039-.03.059a.39.39 0 01-.02.041 1.184 1.184 0 00-.034.106c-.007.023-.011.046-.016.071-.001.014-.005.025-.006.037a.73.73 0 00-.009.114v6.093c0 .037.003.075.008.112l.007.038c.005.023.008.047.015.072a.209.209 0 00.013.04c.007.022.013.042.022.063l.02.04a.4.4 0 00.055.096l.035.052.03.037a.603.603 0 00.042.045l.035.035c.015.013.032.028.048.04l.038.03.013.01 9.163 6.095a.858.858 0 00.959.004l9.163-6.095.015-.01c.013-.01.027-.02.037-.03a.534.534 0 00.048-.04c.013-.012.025-.023.035-.035.017-.015.03-.032.043-.045l.03-.037a.678.678 0 00.035-.052l.025-.038a.4.4 0 00.03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04.007-.025.01-.048.015-.072l.007-.037c.003-.042.007-.079.007-.117V8.954a.625.625 0 00-.008-.114zm-9.154-4.376l6.751 4.49-3.016 2.013-3.735-2.492V4.464zm-1.724 0v4.009l-3.735 2.494-3.014-2.013 6.749-4.49zm-7.439 6.098L5.853 12l-2.155 1.438v-2.876zm7.439 8.974l-6.749-4.491 3.015-2.011 3.735 2.492v4.01zM12 14.035L8.953 12 12 9.966 15.047 12 12 14.035zm.862 5.501v-4.009l3.735-2.492 3.016 2.011-6.751 4.49zm7.441-6.098L18.147 12l2.156-1.438v2.876z"})));break;case"dribbble":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10zm8.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 003.661-5.725zm-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 0012 20.555a8.488 8.488 0 003.336-.679zm-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637.111-.036.224-.07.337-.102a29.017 29.017 0 00-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 002.19 5.973zm-2.015-7.46c.382.005 3.901.02 7.897-1.041a54.477 54.477 0 00-3.167-4.94 8.572 8.572 0 00-4.73 5.981zm6.359-6.555a45.7 45.7 0 013.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.508 8.508 0 00-7.664-1.915zm8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27.028 27.028 0 01.751 1.678c2.842-.357 5.666.215 5.948.275a8.503 8.503 0 00-1.929-5.32z"})));break;case"dropbox":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12 6.134L6.069 9.797 2 6.54l5.883-3.843L12 6.134zm-10 6.92l5.883 3.843L12 13.459 6.069 9.797 2 13.054zm10 .405l4.116 3.439L22 13.054l-4.069-3.257L12 13.459zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663L22 6.54zm-9.989 7.66l-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153-4.128-3.426z"})));break;case"eventbrite":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M18.041 3.931L5.959 3A2.96 2.96 0 003 5.959v12.083A2.96 2.96 0 005.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959zM16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048-.152.708-.304 1.416-.451 2.128.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.17 2.17 0 01-.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-.841a3542.51 3542.51 0 011.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 01.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.783z",fillRule:"evenodd",clipRule:"evenodd"})));break;case"facebook":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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-10z"})));break;case"feed":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333zM2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2zm2.5 15a2.5 2.5 0 100 5 2.5 2.5 0 000-5z"})));break;case"flickr":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})));break;case"foursquare":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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 2zm-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.715-.072.353-.407 2.102-.448 2.295-.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.683l-.446 2.333z"})));break;case"ghost":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198v3.599zm10.792-3.599h-7.193v3.599h7.193v-3.599zm.003-7.198H3v3.599h17.998V10.2zm-7.195-7.197H3.005v3.599h10.798V3.003zm7.197 0h-3.599v3.599H21V3.003z"})));break;case"github":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.548 9.548 0 0112 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.481A9.997 9.997 0 0022 12c0-5.523-4.477-10-10-10z"})));break;case"google-alt":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-.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.672 0 2.022 1.62 3.672 3.606 3.672 2.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.862z"})));break;case"google-plus-alt":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.02H8V11zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})));break;case"google-plus":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.919 14.05a4.051 4.051 0 010-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.229 2.229 0 00-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.956zM19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"})));break;case"google":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.05h-9.36z"})));break;case"instagram":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.673.315.315.51.615.673 1.035.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.035-.315.315-.615.51-1.035.673-.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.786 2.786 0 01-1.035-.673 2.786 2.786 0 01-.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.035.315-.315.615-.51 1.035-.673.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.401 4.401 0 00-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.411 4.411 0 001.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.411 4.411 0 0019.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 3zm0 4.378a4.622 4.622 0 100 9.244 4.622 4.622 0 000-9.244zM12 15a3 3 0 110-6 3 3 0 010 6zm4.804-8.884a1.08 1.08 0 10.001 2.161 1.08 1.08 0 00-.001-2.161z"})));break;case"linkedin":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 003 4.3v15.4A1.3 1.3 0 004.3 21h15.4a1.3 1.3 0 001.3-1.3V4.3A1.3 1.3 0 0019.7 3zM8.339 18.338H5.667v-8.59h2.672v8.59zM7.004 8.574a1.548 1.548 0 11-.002-3.096 1.548 1.548 0 01.002 3.096zm11.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"})));break;case"mail":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"medium-alt":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),s.default.createElement("g",null,s.default.createElement("path",{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-6zm9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648-1.636 0-2.962-2.53-2.962-5.649s1.325-5.649 2.96-5.649zm4.577.589c.576 0 1.042 2.265 1.042 5.06 0 2.794-.466 5.06-1.042 5.06-.575 0-1.04-2.265-1.04-5.06 0-2.794.465-5.06 1.04-5.06z",fillRule:"nonzero"})));break;case"medium":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M3 3v18h18V3H3zm15 4.26l-1 .93a.28.28 0 00-.11.27v6.8a.27.27 0 00.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 00.17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 00.17-.54V9a.5.5 0 00-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18v.2z"})));break;case"patreon":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),s.default.createElement("g",null,s.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.975 5a5.05 5.05 0 00-5.041 5.046c0 2.774 2.261 5.03 5.04 5.03A5.034 5.034 0 0019 10.047C19 7.264 16.746 5 13.975 5zM5 18.44h2.461V5H5v13.44z"})));break;case"pinterest-alt":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.365.365 0 00-.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"})));break;case"pinterest":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.297.297 0 01.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 2z"})));break;case"pocket":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0020.222 3H3.839a1.823 1.823 0 00-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.897 9.897 0 003.91 1.727 10.06 10.06 0 004.049-.014.261.261 0 00.064-.023 9.906 9.906 0 003.753-1.691l.025-.018c.04-.029.08-.058.119-.089 2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.792 1.792 0 00-.098-.62zm-4.235 6.287l-4.704 4.512a1.372 1.372 0 01-1.898 0l-4.705-4.512a1.371 1.371 0 111.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 011.898 1.979z"})));break;case"polldaddy":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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-10zm.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.775 7.775 0 00-6.094-2.94 7.764 7.764 0 00-5.896 2.703c-.006.003-.01.01-.016.014l-.152.159-.031.032a6.122 6.122 0 00-1.633 4.165 6.15 6.15 0 006.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.386 7.386 0 016.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68zm3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.673 3.673 0 00.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.362 2.362 0 00.753 1.879c.501.476 1.23.667 1.871.529a2.067 2.067 0 001.469-1.134 1.912 1.912 0 00-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.698 1.698 0 00-1.437.679 1.525 1.525 0 00-.18 1.489c.004.011.01.021.016.03.193.634.774 1.1 1.467 1.117a1.618 1.618 0 01-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 01.499-1.539 2.016 2.016 0 011.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.515 2.515 0 01-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.825 2.825 0 01-.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.216 5.216 0 01-1.947-.376 5.01 5.01 0 002.613-.079 4.955 4.955 0 002.514-1.751c.618-.828.95-1.861.901-2.869zM12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a6.548 6.548 0 00-.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.041z"})));break;case"print":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3a2 2 0 01-2 2H7a2 2 0 01-2-2v-3H2V9a2 2 0 012-2h1V5a2 2 0 012-2h10a2 2 0 012 2v2h1a2 2 0 012 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5a1.5 1.5 0 10-3.001.001A1.5 1.5 0 0020 10.5z"})));break;case"reddit":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M22 11.816a2.279 2.279 0 00-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.878 1.878 0 001.876 1.862 1.88 1.88 0 001.877-1.878 1.88 1.88 0 00-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 00-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 00-1.492-.581A2.279 2.279 0 002 11.816c0 .814.433 1.523 1.078 1.925a4.056 4.056 0 00-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97c0-.214-.02-.424-.053-.632A2.259 2.259 0 0022 11.816zm-3.224-7.422a1.1 1.1 0 11-.001 2.199 1.1 1.1 0 01.001-2.199zM2.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.482 1.482 0 01-.525-1.129zm9.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.193zm8.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.185zm-11.64 1.703c-.76 0-1.397-.616-1.397-1.376 0-.76.637-1.397 1.397-1.397s1.376.637 1.376 1.397-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.616 1.376-1.376 1.376-.76 0-1.399-.616-1.399-1.376 0-.76.639-1.397 1.399-1.397s1.376.637 1.376 1.397zm-1.172 3.38a.389.389 0 010 .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 11.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 01.549 0z"})));break;case"share":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.118A2.981 2.981 0 0015 19a3 3 0 103-3z"})));break;case"skype":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M10.113 2.699l.1-.02c.033.017.066.033.098.051l-.198-.031zM2.72 10.223l-.017.103c.018.032.033.064.051.095l-.034-.198zm18.555 3.548c.007-.035.011-.071.018-.106-.018-.031-.033-.064-.052-.095l.034.201zm-7.712 7.428c.032.019.065.035.096.053l.105-.017-.201-.036zM22 16.386a5.55 5.55 0 01-1.637 3.953 5.548 5.548 0 01-3.953 1.637 5.575 5.575 0 01-2.75-.725l.105-.017-.202-.035c.032.019.065.035.096.053a9.524 9.524 0 01-1.654.147 9.375 9.375 0 01-3.676-.743 9.38 9.38 0 01-3.002-2.023 9.397 9.397 0 01-2.023-3.002 9.375 9.375 0 01-.743-3.676c0-.546.049-1.093.142-1.628.018.032.033.064.051.095l-.034-.199-.017.103A5.586 5.586 0 012 7.615c0-1.493.582-2.898 1.637-3.953A5.555 5.555 0 017.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031c-.032-.018-.066-.034-.098-.051l.004-.001a9.543 9.543 0 011.788-.169 9.41 9.41 0 016.678 2.766 9.4 9.4 0 012.024 3.002 9.375 9.375 0 01.743 3.676c0 .575-.054 1.15-.157 1.712-.018-.031-.033-.064-.052-.095l.034.201c.007-.035.011-.071.018-.106.461.829.707 1.767.707 2.721zm-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237 0-.794.679-1.348 1.903-1.348 2.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.599z"})));break;case"spotify":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.622.622 0 01-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 11-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 01.206.857M17.81 13.7a.78.78 0 01-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 116.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 01.256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 11-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 11-.955 1.608"})));break;case"squarespace":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 00-5.458 0l-6.141 6.141a.964.964 0 101.365 1.364l6.14-6.14a1.929 1.929 0 112.729 2.729l-6.022 6.022a1.929 1.929 0 002.729 0l4.658-4.658a3.86 3.86 0 000-5.458zm-2.047 2.047a.965.965 0 00-1.365 0l-6.14 6.14a1.929 1.929 0 01-2.729 0 .964.964 0 10-1.364 1.364 3.86 3.86 0 005.458 0l6.14-6.14a.966.966 0 000-1.364zm-2.047-6.141a3.858 3.858 0 00-5.458 0l-6.14 6.14a.964.964 0 101.364 1.364l6.141-6.14a1.929 1.929 0 012.729 0 .965.965 0 101.364-1.364zm-2.047 2.047a.964.964 0 00-1.364 0l-6.14 6.141a1.929 1.929 0 11-2.729-2.729l6.022-6.022a1.929 1.929 0 00-2.729 0L3.13 9.271a3.86 3.86 0 005.458 5.458l6.14-6.141a.963.963 0 00.001-1.364z"})));break;case"stumbleupon":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12 4.294a4.471 4.471 0 00-4.471 4.471v6.353a1.059 1.059 0 11-2.118 0v-2.824H2v2.941a4.471 4.471 0 008.942 0v-6.47a1.059 1.059 0 112.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0012 4.294zm1.059 8.059v2.882a4.471 4.471 0 008.941 0v-2.824h-3.412v2.824a1.059 1.059 0 11-2.118 0v-2.882l-2 .647-1.411-.647z"})));break;case"telegram":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486-.15-.475-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238l-1.786 9.004z"})));break;case"tiktok-alt":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),s.default.createElement("g",null,s.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2H5zm9.584 3h-2.052l.019 8.128a1.73 1.73 0 11-1.215-1.65v-2.084h-.533a3.804 3.804 0 103.803 3.803l-.022-4.207c1.268.968 2.85.869 2.85.869V8.82C14.47 8.636 14.584 6 14.584 6z"})));break;case"tiktok":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.011a6.338 6.338 0 11-6.34-6.338h.89v3.472a2.882 2.882 0 102.024 2.752L12.22 2z"})));break;case"tumblr-alt":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.126l-.924-2.743z"})));break;case"tumblr":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-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.656z"})));break;case"twitch":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636v-4.91zm-4.499 0h-1.637v4.91H12v-4.91zM4.228 3.178L3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178H4.228zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501v9.002z"})));break;case"twitter-alt":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M22.23 5.924a8.212 8.212 0 01-2.357.646 4.115 4.115 0 001.804-2.27 8.221 8.221 0 01-2.606.996 4.103 4.103 0 00-6.991 3.742 11.647 11.647 0 01-8.457-4.287 4.087 4.087 0 00-.556 2.063 4.1 4.1 0 001.825 3.415 4.09 4.09 0 01-1.859-.513v.052a4.104 4.104 0 003.292 4.023 4.099 4.099 0 01-1.853.07 4.11 4.11 0 003.833 2.85 8.236 8.236 0 01-5.096 1.756 8.33 8.33 0 01-.979-.057 11.617 11.617 0 006.29 1.843c7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.531a8.298 8.298 0 002.047-2.123z"})));break;case"twitter":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-2.534 6.71c.004.099.007.198.007.298 0 3.045-2.318 6.556-6.556 6.556a6.52 6.52 0 01-3.532-1.035 4.626 4.626 0 003.412-.954 2.307 2.307 0 01-2.152-1.6 2.295 2.295 0 001.04-.04 2.306 2.306 0 01-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 01-.713-3.076 6.54 6.54 0 004.749 2.407 2.305 2.305 0 013.926-2.101 4.602 4.602 0 001.463-.559 2.31 2.31 0 01-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192z"})));break;case"vimeo":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M22.396 7.164c-.093 2.026-1.507 4.799-4.245 8.32C15.322 19.161 12.928 21 10.97 21c-1.214 0-2.24-1.119-3.079-3.359l-1.68-6.159c-.623-2.239-1.29-3.36-2.005-3.36-.156 0-.701.328-1.634.98l-.978-1.261c1.027-.902 2.04-1.805 3.037-2.708C6.001 3.95 7.03 3.327 7.715 3.264c1.619-.156 2.616.951 2.99 3.321.404 2.557.685 4.147.841 4.769.467 2.121.981 3.181 1.542 3.181.435 0 1.09-.688 1.963-2.065.871-1.376 1.338-2.422 1.401-3.142.125-1.187-.343-1.782-1.401-1.782-.498 0-1.012.115-1.541.341 1.023-3.35 2.977-4.977 5.862-4.884 2.139.063 3.148 1.45 3.024 4.161z"})));break;case"whatsapp":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M2.048 22l1.406-5.136a9.894 9.894 0 01-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.848 9.848 0 017.011 2.906 9.85 9.85 0 012.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.913 9.913 0 01-4.736-1.206L2.048 22zm5.497-3.172l.301.179a8.214 8.214 0 004.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.189 8.189 0 00-2.41-5.828 8.182 8.182 0 00-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.222 8.222 0 001.259 4.384l.196.312-.832 3.04 3.118-.819zm9.49-4.554c-.062-.103-.227-.165-.475-.289-.248-.124-1.465-.723-1.692-.806-.227-.083-.392-.124-.557.124-.165.248-.64.806-.784.971-.144.165-.289.186-.536.062-.248-.124-1.046-.385-1.991-1.229-.736-.657-1.233-1.468-1.378-1.715-.144-.248-.015-.382.109-.505.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413.083-.165.041-.31-.021-.434s-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.91.91 0 00-.66.31c-.226.248-.866.847-.866 2.066 0 1.219.887 2.396 1.011 2.562.124.165 1.746 2.666 4.23 3.739.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.179z"})));break;case"woocommerce":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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-3zm-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-.6.5 0 .8.3.9.9.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.2.2.2.3.4.3.6s0 .4-.1.5z"})));break;case"wordpress":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12.158 12.786L9.46 20.625a8.984 8.984 0 005.526-.144.852.852 0 01-.065-.124l-2.763-7.571zM3.009 12a8.993 8.993 0 005.067 8.092L3.788 8.341A8.952 8.952 0 003.009 12zm15.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.596.04 0 .078.005.116.007A8.963 8.963 0 0012 3.009a8.982 8.982 0 00-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.996c.456-1.169.684-2.137.684-2.907zm1.82-3.86c.039.286.06.593.06.924 0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.984 8.984 0 004.47-7.771 8.922 8.922 0 00-1.1-4.313zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})));break;case"xanga":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M9 9h6v6H9V9zM3 9h6V3H3v6zm12 0h6V3h-6v6zm0 12h6v-6h-6v6zM3 21h6v-6H3v6z"})));break;case"youtube":e=s.default.createElement("svg",c({className:u,height:n,width:n,onClick:r},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.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.237zM9.935 14.594l-.001-5.62 5.404 2.82-5.403 2.8z"})))}return e}}]),t}(s.PureComponent);t.Z=v,g(v,"defaultProps",{size:24}),g(v,"propTypes",{icon:o.default.string.isRequired,size:o.default.number,onClick:o.default.func,className:o.default.string})},81717:function(e,t,n){e.exports=i;var r=n(2571).EventEmitter;function i(){r.call(this)}n(59503)(i,r),i.Readable=n(20465),i.Writable=n(48607),i.Duplex=n(95507),i.Transform=n(1866),i.PassThrough=n(15385),i.finished=n(87288),i.pipeline=n(60519),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function s(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",s),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",c));var o=!1;function a(){o||(o=!0,e.end())}function c(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",s),n.removeListener("end",a),n.removeListener("close",c),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},3247:function(e,t,n){"use strict";var r=n(37225).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.s=s,s.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=o(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=o(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},13488:function(e,t,n){"use strict";var r,i=n(32752);e=n.hmd(e),r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var s=(0,i.Z)(r);t.Z=s},32752:function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,{Z:function(){return r}})},90136:function(e,t,n){"use strict";n.d(t,{EB:function(){return g},ht:function(){return f}});var r=n(55246),i=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],s=i.join(","),o="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(s));return t&&o.call(e,s)&&r.unshift(e),r=r.filter(n)},c=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:"AUDIO"!==e.nodeName&&"VIDEO"!==e.nodeName&&"DETAILS"!==e.nodeName||null!==e.getAttribute("tabindex")?e.tabIndex:0:t},l=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},u=function(e){return"INPUT"===e.tagName},p=function(e){return function(e){return u(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||e.ownerDocument,i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return r.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var s=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!s||s===e}(e)},d=function(e,t){return!(t.disabled||function(e){return u(e)&&"hidden"===e.type}(t)||function(e,t){if("hidden"===getComputedStyle(e).visibility)return!0;var n=o.call(e,"details>summary:first-of-type")?e.parentElement:e;if(o.call(n,"details:not([open]) *"))return!0;if(t&&"full"!==t){if("non-zero-area"===t){var r=e.getBoundingClientRect(),i=r.width,s=r.height;return 0===i&&0===s}}else for(;e;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(t,e.displayCheck)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(u(e)||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||"BUTTON"===e.tagName)for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},h=function(e,t){return!(!d(e,t)||p(t)||c(t)<0)},f=function(e,t){var n=[],r=[];return a(e,(t=t||{}).includeContainer,h.bind(null,t)).forEach((function(e,t){var i=c(e);0===i?n.push(e):r.push({documentOrder:t,tabIndex:i,node:e})})),r.sort(l).map((function(e){return e.node})).concat(n)},m=i.concat("iframe").join(","),g=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==o.call(e,m)&&d(t,e)}},88090:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(7478),i={contextDelimiter:"",onMissingKey:null};function s(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},i)this.options[n]=void 0!==t&&n in t?t[n]:i[n]}s.prototype.getPluralForm=function(e,t){var n,i,s,o=this.pluralForms[e];return o||("function"!=typeof(s=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(i=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),s=(0,r.Z)(i)),o=this.pluralForms[e]=s),o(t)},s.prototype.dcnpgettext=function(e,t,n,r,i){var s,o,a;return s=void 0===i?0:this.getPluralForm(e,i),o=n,t&&(o=t+this.options.contextDelimiter+n),(a=this.data[e][o])&&a[s]?a[s]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===s?n:r)}},80816:function(e,t,n){"use strict";var r=n(90922),i=n.n(r),s=n(92819);const o=i()("dops:analytics");let a,c;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,t,n){l.setUser(e,t),l.setSuperProps(n),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){c={ID:e,username:t}},setSuperProps:function(e){a=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]);o("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);this.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]);o("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return n}(e,t);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,i,s,o){l.ga.recordPurchase(e,t,n,r,i,s,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(o("- Super Props: %o",a),t=(0,s.assign)(t,a)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};l.ga.initialized||(c&&(e={userId:"u-"+c.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.ga.initialize(),o("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){l.ga.initialize();let i="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(i+=" [Option Label: "+n+"]"),void 0!==r&&(i+=" [Option Value: "+r+"]"),o(i),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,i,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:i,quantity:s}),window.ga("ecommerce:send")}},identifyUser:function(){c&&window._tkq.push(["identifyUser",c.ID,c.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=l},19570:function(e,t,n){"use strict";var r=n(92819),i=n(96483),s=n(26251);function o(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const a=o("JsonParseError"),c=o("JsonParseAfterRedirectError"),l=o("Api404Error"),u=o("Api404AfterRedirectError"),p=o("FetchNetworkError");const d=new function(e,t){let n=e,o={"X-WP-Nonce":t},a={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:(0,r.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},setApiNonce(e){o={"X-WP-Nonce":e},a={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:(0,r.assign)({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,s.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,s.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),d(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(r)}).then(h).then(f)},fetchAuthorizationUrl:e=>p((0,i.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(h).then(f),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,a).then(f),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,a).then(f),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,a).then(h).then(f),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,a).then(f),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,a).then(h).then(f),updateUserTrackingSettings:e=>d(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(h).then(f),disconnectSite:()=>d(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(h).then(f),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,a).then(h).then(f),unlinkUser:()=>d(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(h).then(f),reconnect:()=>d(`${n}jetpack/v4/connection/reconnect`,c).then(h).then(f),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,a).then(h).then(f),setHasSeenWCConnectionModal:()=>d(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(h).then(f),fetchModules:()=>p(`${n}jetpack/v4/module/all`,a).then(h).then(f),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,a).then(h).then(f),activateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(h).then(f),deactivateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>d(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(h).then(f),updateSettings:e=>d(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(h).then(f),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,a).then(h).then(f),resetOptions:e=>d(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(h).then(f),activateVaultPress:()=>d(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(h).then(f),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,a).then(h).then(f),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),d(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(r)}).then(h).then(f)},activateAkismet:()=>d(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(h).then(f),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,a).then(h).then(f),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,a).then(h).then(f),checkAkismetKeyTyped:e=>d(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(h).then(f),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),a).then(h).then(f).then(m),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,a).then(h).then(f),getPlans:()=>p(`${n}jetpack/v4/plans`,a).then(h).then(f),fetchSettings:()=>p(`${n}jetpack/v4/settings`,a).then(h).then(f),updateSetting:e=>d(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(h).then(f),fetchSiteData:()=>p(`${n}jetpack/v4/site`,a).then(h).then(f).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,a).then(h).then(f).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,a).then(h).then(f),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,a).then(h).then(f).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,a).then(h).then(f).then((e=>JSON.parse(e.data))),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,a).then(h).then(f),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,a).then(h).then(f),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(h).then(f),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,a).then(h).then(f),saveRecommendationsData:e=>d(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(h),fetchProducts:()=>p(`${n}jetpack/v4/products`,a).then(h).then(f),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,a).then(h).then(f).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,a).then(h).then(f).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>d(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(h).then(f),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,a).then(h).then(f),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,a).then(h).then(f),verifySiteGoogle:e=>d(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(h).then(f),sendMobileLoginEmail:()=>d(`${n}jetpack/v4/mobile/send-login-email`,c).then(h).then(f),submitSurvey:e=>d(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(h).then(f),saveSetupQuestionnaire:e=>d(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(h).then(f),updateLicensingError:e=>d(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(h).then(f),updateLicenseKey:e=>d(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(h).then(f),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,a).then(h).then(f),updateLicensingActivationNoticeDismiss:e=>d(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(h).then(f),updateRecommendationsStep:e=>d(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(h),confirmIDCSafeMode:()=>d(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(h),startIDCFresh:e=>d(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(h).then(f),migrateIDC:()=>d(`${n}jetpack/v4/identity-crisis/migrate`,c).then(h),attachLicenses:e=>d(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(h).then(f),fetchSearchPlanInfo:()=>p(`${n}jetpack/v4/search/plan`,a).then(h).then(f),fetchSearchSettings:()=>p(`${n}jetpack/v4/search/settings`,a).then(h).then(f),updateSearchSettings:e=>d(`${n}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(h).then(f)};function p(e,t){return fetch(l(e),t)}function d(e,t,n){return fetch(e,(0,r.assign)({},t,n)).catch(g)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,r.assign)(this,u)};function h(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new l})):e.json().catch((e=>m(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function f(e){return e.json().catch((t=>m(t,e.redirected,e.url)))}function m(e,t,n){throw t?new c(n):new a}function g(){throw new p}t.ZP=d},31583:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(65736),o=n(55609),a=n(11268),c=n.n(a),l=(n(39999),n(37262));const __=s.__,u=e=>{const{label:t,onClick:n,isLoading:r,displayError:s,errorMessage:a}=e;return i().createElement("div",{className:"jp-action-button"},i().createElement(o.Button,{className:"jp-action-button--button",label:t,onClick:n,isPrimary:!0,disabled:r},r?i().createElement(l.Z,null):t),s&&i().createElement("p",{className:"jp-action-button__error"},a))};u.propTypes={label:c().string.isRequired,onClick:c().func,isLoading:c().bool,displayError:c().bool,errorMessage:c().string},u.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack")},t.Z=u},31824:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(89105),c=n.n(a),l=n(65736),u=n(11268),p=n.n(u);const __=l.__,d=e=>{const{title:t,height:n,className:r,...s}=e;return o().createElement("svg",i()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:c()("jp-automattic-byline-logo",r)},s),o().createElement("title",{id:"jp-automattic-byline-logo-title"},t),o().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),o().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),o().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))};d.defaultProps={title:__("An Automattic Airline","jetpack"),height:7,className:""},d.propTypes={title:p().string,height:p().number,className:p().string},t.Z=d},78310:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s);n(6383);const a=e=>{const{format:t,icon:n,imageUrl:r}=e;return i().createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},i().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:r?`url( ${r} )`:""}}),i().createElement("div",{className:"jp-components__decorative-card__content"},i().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(n)return i().createElement("div",{className:"jp-components__decorative-card__icon-container"},i().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n}))})())};a.propTypes={format:o().oneOf(["horizontal","vertical"]),icon:o().oneOf(["unlink"]),imageUrl:o().string},a.defaultProps={format:"horizontal"},t.Z=a},97967:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(65736),c=n(89105),l=n.n(c),u=n(11268),p=n.n(u),d=n(31824),h=(n(78785),n(81546));const __=a.__,f=e=>{const{a8cLogoHref:t,moduleName:n,className:r,...s}=e;return o().createElement("div",i()({className:l()("jp-dashboard-footer",r)},s),o().createElement("div",{className:"jp-dashboard-footer__footer-left"},o().createElement(h.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack")}),o().createElement("span",{className:"jp-dashboard-footer__module-name"},n)),o().createElement("div",{className:"jp-dashboard-footer__footer-right"},o().createElement("a",{href:t,"aria-label":__("An Automattic Airline","jetpack")},o().createElement(d.Z,null))))};f.defaultProps={a8cLogoHref:"https://jetpack.com",moduleName:__("Jetpack","jetpack"),className:""},f.propTypes={a8cLogoHref:p().string,moduleName:p().string,className:p().string},t.Z=f},81546:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(11268),c=n.n(a),l=n(99196),u=n.n(l),p=n(89105),d=n.n(p),h=n(65736);const __=h.__;class f extends u().Component{render(){const{logoColor:e,showText:t,className:n,...r}=this.props,s=t?"0 0 118 32":"0 0 32 32";return u().createElement("svg",i()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},r),u().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),u().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&&u().createElement(l.Fragment,null,u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"})))}}o()(f,"propTypes",{className:c().string,width:c().number,height:c().number,showText:c().bool,logoColor:c().string}),o()(f,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=f},37262:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s);n(79177);const a=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},r={borderTopColor:e.color,borderRightColor:e.color};return i().createElement("div",{className:t},i().createElement("div",{className:"jp-components-spinner__outer",style:n},i().createElement("div",{className:"jp-components-spinner__inner",style:r})))};a.propTypes={color:o().string,className:o().string,size:o().number},a.defaultProps={color:"#FFFFFF",className:"",size:20},t.Z=a},71415:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;if("undefined"!=typeof window&&(r=window.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);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const i=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+i}n.d(t,{Z:function(){return r}})},26251:function(e,t,n){var r=n(55246);let i={};try{i=n(92787)}catch{r.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),i={missingConfig:!0}}const s=e=>i.hasOwnProperty(e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(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 i[e]}}},92672:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(65736),c=n(31583),l=n(71631);const __=a.__,u=e=>{const{apiRoot:t,apiNonce:n,connectLabel:r,registrationNonce:s,redirectUri:o,from:a,autoTrigger:u}=e,{handleRegisterSite:p,isRegistered:d,isUserConnected:h,siteIsRegistering:f,userIsConnecting:m,registrationError:g}=(0,l.Z)({registrationNonce:s,redirectUri:o,apiRoot:t,apiNonce:n,autoTrigger:u,from:a});return i().createElement(i().Fragment,null,(!d||!h)&&i().createElement(c.Z,{label:r,onClick:p,displayError:!!g,isLoading:f||m}))};u.propTypes={connectLabel:o().string,apiRoot:o().string.isRequired,apiNonce:o().string.isRequired,from:o().string,redirectUri:o().string.isRequired,registrationNonce:o().string.isRequired,autoTrigger:o().bool},u.defaultProps={connectLabel:__("Connect","jetpack"),redirectUri:null,autoTrigger:!1},t.Z=u},39897:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(9818),c=n(65736),l=n(61591),u=n(32199),p=n(71631);const __=c.__,d=e=>{const{title:t,buttonLabel:n,apiRoot:r,apiNonce:s,registrationNonce:o,from:c,redirectUri:d,images:h,children:f,assetBaseUrl:m,autoTrigger:g}=e,{handleRegisterSite:v,isRegistered:b,isUserConnected:y,siteIsRegistering:k,userIsConnecting:w,registrationError:_}=(0,p.Z)({registrationNonce:o,redirectUri:d,apiRoot:r,apiNonce:s,autoTrigger:g,from:c}),E=(0,a.useSelect)((e=>e(u.t).getConnectionStatusIsFetching())),C=!b||!y,S=Boolean(_),j=k||w;return i().createElement(l.Z,{title:t,images:h,assetBaseUrl:m,isLoading:E,showConnectButton:C,buttonLabel:n,handleButtonClick:v,displayButtonError:S,buttonIsLoading:j},f)};d.propTypes={title:o().string,buttonLabel:o().string,apiRoot:o().string.isRequired,apiNonce:o().string.isRequired,registrationNonce:o().string.isRequired,from:o().string,redirectUri:o().string.isRequired,autoTrigger:o().bool,images:o().arrayOf(o().string),assetBaseUrl:o().string},d.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack"),buttonLabel:__("Set up Jetpack","jetpack"),images:[],redirectUri:null,autoTrigger:!1},t.Z=d},61591:function(e,t,n){"use strict";n.d(t,{E:function(){return d}});var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(65736),c=n(71415),l=n(31583),u=n(69307),p=n(77865);n(16341);const __=a.__,d=(0,u.createInterpolateElement)(__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:i().createElement("a",{href:(0,c.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:i().createElement("a",{href:(0,c.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),h=e=>{const{title:t,images:n,children:r,assetBaseUrl:s,isLoading:o,showConnectButton:a,buttonLabel:c,handleButtonClick:u,displayButtonError:h,buttonIsLoading:f}=e;return i().createElement(p.Z,{title:t,assetBaseUrl:s,images:n,className:"jp-connection__connect-screen"+(o?" jp-connection__connect-screen__loading":"")},i().createElement("div",{className:"jp-connection__connect-screen__content"},r,a&&i().createElement(i().Fragment,null,i().createElement(l.Z,{label:c,onClick:u,displayError:h,isLoading:f}),i().createElement("div",{className:"jp-connection__connect-screen__tos"},d))))};h.propTypes={title:o().string,images:o().arrayOf(o().string),assetBaseUrl:o().string,isLoading:o().bool,showConnectButton:o().bool,buttonLabel:o().string.isRequired,handleButtonClick:o().func,displayButtonError:o().bool,buttonIsLoading:o().bool},h.defaultProps={showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{}},t.Z=h},44254:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s);const a=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const r=t.map(((e,t)=>i().createElement(i().Fragment,{key:t},i().createElement("img",{src:n+e,alt:""}))));return i().createElement("div",{className:"jp-connection__connect-screen__image-slider"},r)};a.propTypes={images:o().arrayOf(o().string).isRequired,assetBaseUrl:o().string},a.defaultProps={assetBaseUrl:""},t.Z=a},77865:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(81546),c=n(44254);n(91648);const l=e=>{const{title:t,children:n,className:r,assetBaseUrl:s,images:o}=e,l=o?.length;return i().createElement("div",{className:"jp-connection__connect-screen-layout"+(l?" jp-connection__connect-screen-layout__two-columns":"")+(r?" "+r:"")},i().createElement("div",{className:"jp-connection__connect-screen-layout__left"},i().createElement(a.Z,null),i().createElement("h2",null,t),n),l?i().createElement("div",{className:"jp-connection__connect-screen-layout__right"},i().createElement(c.Z,{images:o,assetBaseUrl:s})):null)};l.propTypes={title:o().string,className:o().string,images:o().arrayOf(o().string),assetBaseUrl:o().string},t.Z=l},73593:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(65736),c=n(2332);const __=a.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,s=(0,r.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&s.length>0?i().createElement(i().Fragment,null,i().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},i().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack"))),i().createElement("div",{className:"jp-connection__disconnect-card__group"},s.map((e=>i().createElement(c.Z,{title:e.name}))))):null};l.PropTypes={connectedPlugins:o().object,disconnectingPlugin:o().string},t.Z=l},2332:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s);n(907);const a=e=>{const{title:t,value:n,description:r}=e;return i().createElement("div",{className:"jp-connection__disconnect-card card"},i().createElement("div",{className:"jp-connection__disconnect-card__card-content"},i().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||r)&&i().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},i().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),i().createElement("div",{className:"jp-connection__disconnect-card__card-description"},r))))};a.propTypes={title:o().string,value:o().string|o().number,description:o().number},t.Z=a},15628:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(65736),c=n(55609),l=n(19570),u=n(80816),p=n(26251),d=(n(58187),n(80163)),h=n(71496),f=n(84130),m=n(55700);const __=a.__,g=e=>{const[t,n]=(0,r.useState)(!1),[s,o]=(0,r.useState)(!1),[a,g]=(0,r.useState)(!1),[v,b]=(0,r.useState)(!1),[y,k]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1),{apiRoot:E,apiNonce:C,connectedPlugins:S,title:j,pluginScreenDisconnectCallback:M,onDisconnected:x,onError:N,disconnectStepComponent:A,context:O,connectedUser:T,connectedSiteId:P,isOpen:I,onClose:R}=e;let U="";(0,p.jetpackConfigHas)("consumer_slug")&&(U=(0,p.jetpackConfigGet)("consumer_slug"));const Z=(0,r.useMemo)((()=>({context:O,plugin:U})),[O,U]);(0,r.useEffect)((()=>{l.ZP.setApiRoot(E),l.ZP.setApiNonce(C)}),[E,C]),(0,r.useEffect)((()=>{T&&T.ID&&T.login&&u.Z.initialize(T.ID,T.login)}),[T,T.ID,T.login]),(0,r.useEffect)((()=>{I&&u.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",Z)}),[I,Z]),(0,r.useEffect)((()=>{I&&(s?!s||v||y?v&&!y?u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},Z)):y&&u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},Z)):u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},Z)):u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},Z)))}),[I,s,v,y,Z]);const D=(0,r.useCallback)((()=>{l.ZP.disconnectSite().then((()=>{n(!1),o(!0)})).catch((e=>{n(!1),g(e),N&&N(e)}))}),[n,o,g,N]),L=(0,r.useCallback)(((e,t)=>{_(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);u.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),k(!0),_(!1)})).catch((e=>{u.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),k(!0),_(!1)}))}),[_,k]),z=(0,r.useCallback)((e=>{e&&e.preventDefault(),g(!1),n(!0),"plugins"!==O?D():M&&M(e)}),[g,n,M,O,D]),B=(0,r.useCallback)((()=>T.ID&&P),[T,P]),F=(0,r.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!B())return void k(!0);const r={site_id:P,user_id:T.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},i=Object.assign({},Z,{disconnect_reason:e});L(r,i)}),[L,k,B,P,T,Z]),V=(0,r.useCallback)((e=>{e&&e.preventDefault(),x&&x(),R()}),[x,R]),q=(0,r.useCallback)((e=>{e&&e.preventDefault(),b(!0)}),[b]);return i().createElement(i().Fragment,null,I&&i().createElement(c.Modal,{title:"",contentLabel:j,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:R,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(s?" jp-connection__disconnect-dialog__success":"")},s?!s||v||y?v&&!y?i().createElement(f.Z,{isSubmittingFeedback:w,onFeedBackProvided:F,onExit:V}):y?i().createElement(m.Z,{onExit:V}):void 0:i().createElement(h.Z,{canProvideFeedback:B(),onProvideFeedback:q,onExit:V}):i().createElement(d.Z,{title:j,connectedPlugins:S,disconnectStepComponent:A,isDisconnecting:t,closeModal:R,onDisconnect:z,disconnectError:a,context:O,disconnectingPlugin:U})))};g.propTypes={apiRoot:o().string.isRequired,apiNonce:o().string.isRequired,title:o().string,onDisconnected:o().func,onError:o().func,context:o().string,connectedPlugins:o().object,pluginScreenDisconnectCallback:o().func,disconnectStepComponent:o().element,connectedUser:o().object,connectedSiteId:o().number,isOpen:o().bool,onClose:o().func},g.defaultProps={title:__("Are you sure you want to disconnect?","jetpack"),context:"jetpack-dashboard",connectedUser:{}},t.Z=g},71496:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(69307),c=n(65736),l=n(55609),u=n(78310),p=n(62042);const __=c.__,d=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:r}=e;return i().createElement("div",{className:"jp-connection__disconnect-dialog__content"},i().createElement(u.Z,{icon:"unlink",imageUrl:p}),i().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},i().createElement("h1",null,(0,a.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack"),{br:i().createElement("br",null)})),n&&i().createElement(i().Fragment,null,i().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack")),i().createElement("p",null,i().createElement(l.Button,{isPrimary:!0,onClick:r,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack"))),i().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack"))),!n&&i().createElement(i().Fragment,null,i().createElement("p",null,i().createElement(l.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))))};d.PropTypes={onExit:o().func,onProvideFeedback:o().func,canProvideFeedback:o().bool},t.Z=d},80163:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(69307),o=n(65736),a=n(71415),c=n(55609),l=n(11268),u=n.n(l),p=n(73593);const __=o.__,d=e=>{const{title:t,isDisconnecting:n,onDisconnect:r,disconnectError:o,disconnectStepComponent:l,connectedPlugins:u,disconnectingPlugin:d,closeModal:h,context:f}=e;return i().createElement(i().Fragment,null,i().createElement("div",{className:"jp-connection__disconnect-dialog__content"},i().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),i().createElement(p.Z,{connectedPlugins:u,disconnectingPlugin:d}),l,(()=>{if(!u&&!l)return i().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},i().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack"),i().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack")))})()),i().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},i().createElement("div",{className:"jp-row"},i().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},i().createElement("p",null,(0,s.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack"),{strong:i().createElement("strong",null),jpConnectionInfoLink:i().createElement("a",{href:(0,a.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link"}),jpSupportLink:i().createElement("a",{href:(0,a.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link"})}))),i().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},i().createElement(c.Button,{isPrimary:!0,disabled:n,onClick:h,className:"jp-connection__disconnect-dialog__btn-dismiss"},__("Stay connected","jetpack")),(()=>{let e=__("Disconnect","jetpack");return n?e=__("Disconnecting…","jetpack"):"plugins"===f&&(e=__("Disconnect and Deactivate","jetpack")),i().createElement(c.Button,{isPrimary:!0,disabled:n,onClick:r,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),o&&i().createElement("p",{className:"jp-connection__disconnect-dialog__error"},o)))};d.propTypes={title:u().string,isDisconnecting:u().bool,onDisconnect:u().func,disconnectError:u().bool,disconnectStepComponent:u().elementType,connectedPlugins:u().array,disconnectingPlugin:u().string,closeModal:u().func,context:u().string},t.Z=d},84130:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(65736),c=(n(85731),n(71194));const __=a.__,l=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:r}=e;return i().createElement("div",{className:"jp-connection__disconnect-dialog__content"},i().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack")),i().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack")),i().createElement(c.Z,{onSubmit:n,isSubmittingFeedback:r}),i().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack")))};l.PropTypes={onExit:o().func,onFeedBackProvided:o().func,isSubmittingFeedback:o().bool},t.Z=l},55700:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(78310),c=n(65736),l=n(55609),u=n(69307),p=n(90724);const __=c.__,d=e=>{const{onExit:t}=e;return i().createElement("div",{className:"jp-connection__disconnect-dialog__content"},i().createElement(a.Z,{format:"vertical",imageUrl:p}),i().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},i().createElement("h1",null,__("Thank you!","jetpack")),i().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,u.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack"),{br:i().createElement("br",null)})),i().createElement(l.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))};d.PropTypes={onExit:o().func,assetBaseUrl:o().string},t.Z=d},71194:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(55609),c=n(65736),l=n(87215);const __=c.__,u=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[s,o]=(0,r.useState)(),[c,u]=(0,r.useState)(),p=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack")}],d="another-reason",h=(0,r.useCallback)((()=>{t(s,s===d?c:"")}),[t,d,c,s]),f=(0,r.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),u(t)}),[u]),m=e=>e===s?"jp-connect__disconnect-survey-card--selected":"",g=(0,r.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":o(e)}}),[o]);return i().createElement(i().Fragment,null,i().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},p.map((e=>i().createElement(l.Z,{id:e.id,onClick:o,onKeyDown:g,className:"card jp-connect__disconnect-survey-card "+m(e.id)},i().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),i().createElement(l.Z,{id:d,onClick:o,onKeyDown:g,className:"card jp-connect__disconnect-survey-card "+m(d)},i().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack")," ",i().createElement("input",{placeholder:__("share your experience","jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:c,onChange:f,maxLength:1e3})))),i().createElement("p",null,i().createElement(a.Button,{disabled:!s||n,isPrimary:!0,onClick:h,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack"):__("Submit Feedback","jetpack",0))))};u.PropTypes={onSubmit:o().func,isSubmittingFeedback:o().bool},t.Z=u},87215:function(e,t,n){"use strict";var r=n(99196),i=n.n(r);n(85731);t.Z=e=>{const{id:t,onClick:n,onKeyDown:s,children:o,className:a}=e,c=(0,r.useCallback)((()=>{n(t)}),[t,n]),l=(0,r.useCallback)((e=>{s(t,e)}),[t,s]);return i().createElement("div",{tabIndex:"0",role:"button",onClick:c,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+a},o)}},71631:function(e,t,n){"use strict";var r=n(99196),i=n(9818),s=n(19570),o=n(32199);t.Z=e=>{let{registrationNonce:t,redirectUri:n,apiRoot:a,apiNonce:c,autoTrigger:l,from:u}=e;const{registerSite:p,connectUser:d}=(0,i.useDispatch)(o.t),h=(0,i.useSelect)((e=>e(o.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:m,isRegistered:g,isUserConnected:v}=(0,i.useSelect)((e=>({siteIsRegistering:e(o.t).getSiteIsRegistering(),userIsConnecting:e(o.t).getUserIsConnecting(),...e(o.t).getConnectionStatus()}))),b=()=>d({from:u}),y=e=>{e&&e.preventDefault(),g?b():p({registrationNonce:t,redirectUri:n}).then((()=>{b()}))};return(0,r.useEffect)((()=>{s.ZP.setApiRoot(a),s.ZP.setApiNonce(c)}),[a,c]),(0,r.useEffect)((()=>{!l||f||m||y()}),[]),{handleRegisterSite:y,handleConnectUser:b,isRegistered:g,isUserConnected:v,siteIsRegistering:f,userIsConnecting:m,registrationError:h}}},66973:function(e,t,n){"use strict";n.d(t,{i6:function(){return r},LI:function(){return i},r7:function(){return s},N4:function(){return o},qV:function(){return a},T1:function(){return c},TS:function(){return l},ZP:function(){return v}});const r="SET_CONNECTION_STATUS",i="SET_CONNECTION_STATUS_IS_FETCHING",s="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",c="CLEAR_REGISTRATION_ERROR",l="SET_AUTHORIZATION_URL",u="CONNECT_USER",p=e=>({type:r,connectionStatus:e}),d=e=>({type:s,isRegistering:e}),h=e=>({type:o,isConnecting:e}),f=e=>({type:a,registrationError:e}),m=()=>({type:c}),g=e=>({type:l,authorizationUrl:e});const v={setConnectionStatus:p,setConnectionStatusIsFetching:e=>({type:i,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:d,setUserIsConnecting:h,setRegistrationError:f,clearRegistrationError:m,setAuthorizationUrl:g,registerSite:function*(e){let{registrationNonce:t,redirectUri:n}=e;yield m(),yield d(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield p({isRegistered:!0}),yield g(e.authorizeUrl),yield d(!1),Promise.resolve(e)}catch(e){return yield f(e),yield d(!1),Promise.reject(e)}},connectUser:function*(){let{from:e,redirectFunc:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield h(!0),yield{type:u,from:e,redirectFunc:t}}}},84213:function(e,t,n){"use strict";var r=n(19570),i=n(9818),s=n(32199);const o=(0,i.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((r,i)=>{t(s.t).getAuthorizationUrl().then((t=>{const i=n||(e=>window.location.assign(e)),s=new URL(t);e&&s.searchParams.set("from",encodeURIComponent(e));const o=s.toString();i(o),r(o)})).catch((e=>{i(e)}))}))}}));t.Z={FETCH_CONNECTION_STATUS:()=>new Promise(((e,t)=>{r.ZP.fetchSiteConnectionStatus().then((t=>e(t))).catch((e=>t(e)))})),FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return r.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return r.ZP.registerSite(t,n)},CONNECT_USER:o}},81147:function(e,t,n){"use strict";var r=n(9818),i=n(66973);const s=(0,r.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.i6?{...e,...t.connectionStatus}:e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===i.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===i.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===i.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case i.T1:return!1;case i.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===i.TS?t.authorizationUrl:e});t.Z=s},28310:function(e,t,n){"use strict";var r=n(9818),i=n(66973),s=n(32199);const o={*getConnectionStatus(){yield i.ZP.setConnectionStatusIsFetching(!0);const e=yield i.ZP.fetchConnectionStatus();return yield i.ZP.setConnectionStatusIsFetching(!1),i.ZP.setConnectionStatus(e)},getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];const a=(0,r.select)(s.t).hasFinishedResolution("getAuthorizationUrl",i);return t&&!a&&(0,r.dispatch)(s.t).finishResolution("getAuthorizationUrl",i),t},*fulfill(e){const t=yield i.ZP.fetchAuthorizationUrl(e);yield i.ZP.setAuthorizationUrl(t.authorizeUrl)}}};t.Z={...o}},50387:function(e,t){"use strict";const n={getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:e=>e.connectionStatusIsFetching||!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1};t.Z=n},25333:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(9818);class o{static mayBeInit(e,t){null===o.store&&(o.store=(0,s.createReduxStore)(e,t),(0,s.register)(o.store),o.resolveResolvers(e,t.initialState))}static resolveResolvers(e,t){t.connectionStatus&&t.connectionStatus.hasOwnProperty("isRegistered")&&(0,s.dispatch)(e).finishResolution("getConnectionStatus",[])}}i()(o,"store",null),t.Z=o},32199:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var r=n(81147),i=n(66973),s=n(50387),o=n(25333),a=n(28310),c=n(84213);const l="jetpack-connection";o.Z.mayBeInit(l,{reducer:r.Z,actions:i.ZP,selectors:s.Z,resolvers:a.Z,controls:c.Z,initialState:window.JP_CONNECTION_INITIAL_STATE||{}})},61769:function(e,t,n){"use strict";var r=n(55609),i=n(69307),s=n(81546),o=n(37262),a=n(65736),c=n(11268),l=n.n(c),u=n(99196),p=n.n(u),d=n(22607),h=n(28503);const __=a.__,f=e=>{const{activateLicense:t,isActivating:n,license:a,licenseError:c,onLicenseChange:l}=e,u=null!=c;return p().createElement("div",{className:"jp-license-activation-screen-controls"},p().createElement("div",{className:"jp-license-activation-screen-controls--content"},p().createElement(s.Z,{showText:!1,height:48}),p().createElement("h1",null,__("Add a license key","jetpack")),p().createElement("p",null,(0,i.createInterpolateElement)(__("<strong>Check your email</strong> for your license key. You should have received it after making your purchase.","jetpack"),{strong:p().createElement("strong",null)})),p().createElement(r.TextControl,{className:u?"jp-license-activation-screen-controls--license-field-with-error":"jp-license-activation-screen-controls--license-field",label:__("License key","jetpack"),value:a,onChange:l,disabled:n}),u&&p().createElement("div",{className:"jp-license-activation-screen-controls--license-field-error"},p().createElement(d.Z,{icon:h.Z}),p().createElement("span",null,c))),p().createElement("div",null,p().createElement(r.Button,{className:"jp-license-activation-screen-controls--button",onClick:t},n?p().createElement(o.Z,null):__("Activate","jetpack"))))};f.propTypes={activateLicense:l().func.isRequired,isActivating:l().bool.isRequired,license:l().string.isRequired,licenseError:l().string,onLicenseChange:l().func.isRequired,siteUrl:l().string.isRequired},t.Z=f},46224:function(e,t,n){"use strict";var r=n(65736),i=n(69307),s=n(71415),o=n(11268),a=n.n(o),c=n(99196),l=n.n(c);const __=r.__,u=e=>{const{imageUrl:t,showSupportLink:n=!1}=e;return l().createElement("div",{className:"jp-license-activation-screen-illustration"},l().createElement("div",{className:"jp-license-activation-screen-illustration--wrapper"},l().createElement("img",{className:"jp-license-activation-screen-illustration--img",src:t,alt:""})),n&&l().createElement("p",{className:"jp-license-activation-screen-illustration--support-link"},(0,i.createInterpolateElement)(__("Do you need help? <a>Contact us.</a>","jetpack"),{a:l().createElement("a",{href:(0,s.Z)("jetpack-support")})})))};u.propTypes={imageUrl:a().string.isRequired,showSupportLink:a().bool},t.Z=u},78079:function(e,t,n){"use strict";var r=n(81546),i=n(11268),s=n.n(i),o=n(99196),a=n.n(o),c=n(80461),l=n(77919),u=n(57590);const p=e=>{const{productId:t,siteRawUrl:n,siteAdminUrl:i,currentRecommendationsStep:s}=e;return a().createElement("div",{className:"jp-license-activation-screen-success-info"},a().createElement("div",{className:"jp-license-activation-screen-success-info--content"},a().createElement(r.Z,{showText:!1,height:48})),a().createElement(c.Z,{siteRawUrl:n,productId:t}),a().createElement("div",{className:"jp-license-activation-screen-success-info--buttons"},a().createElement(u.c,{currentRecommendationsStep:s,siteAdminUrl:i}),a().createElement(l.o,{siteRawUrl:n,productId:t})))};p.propTypes={siteRawUrl:s().string,productId:s().number,siteAdminUrl:s().string,currentRecommendationsStep:s().string},t.Z=p},57590:function(e,t,n){"use strict";n.d(t,{c:function(){return l}});var r=n(65736),i=n(55609),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a);const __=r.__,l=e=>{const{currentRecommendationsStep:t,siteAdminUrl:n}=e;return"not-started"===t?c().createElement(i.Button,{className:"jp-license-activation-screen-success-info--button",href:n+"admin.php?page=jetpack#/recommendations"},__("Configure my site","jetpack")):c().createElement(i.Button,{className:"jp-license-activation-screen-success-info--button",href:n+"admin.php?page=jetpack#/my-plan"},__("View my plans","jetpack"))};l.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string}},80461:function(e,t,n){"use strict";var r=n(65736),i=n(69307),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(49067);const __=r.__,u=e=>{const{productId:t,siteRawUrl:n}=e,r=`https://cloud.jetpack.com/landing/${n}`,s=(0,l.F)(t),o={jetpack_anti_spam:{title:__("Your Jetpack Anti-spam is active!","jetpack"),text:__("We'll take care of everything from here. Now you can enjoy a spam-free site!","jetpack")},jetpack_backup:{title:__("Your Jetpack Backup is active!","jetpack"),text:(0,i.createInterpolateElement)(__("You can see your backups and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack"),{a:c().createElement("a",{href:r})})},jetpack_complete:{title:__("Your Jetpack Complete is active!","jetpack"),text:(0,i.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack"),{a:c().createElement("a",{href:r})})},jetpack_scan:{title:__("Your Jetpack Scan is active!","jetpack"),text:(0,i.createInterpolateElement)(__("You can see your security scans on <a>cloud.jetpack.com</a>.","jetpack"),{a:c().createElement("a",{href:r})})},jetpack_search:{title:__("Your Jetpack Search is active!","jetpack"),text:__("Next, we'll help you customize your Search experience for your visitors.","jetpack")},jetpack_security:{title:__("Your Jetpack Security is active!","jetpack"),text:(0,i.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack"),{a:c().createElement("a",{href:r})})},jetpack_videopress:{title:__("Your Jetpack Videopress is active!","jetpack"),text:__("Experience high-quality, ad-free video built specifically for WordPress.","jetpack")},default:{title:__("Your product is active!","jetpack"),text:__("You're all set!","jetpack")}};return c().createElement("div",{className:"jp-license-activation-screen-success-info--product-details"},c().createElement("h1",null,o[s].title," ",String.fromCodePoint(127881)),c().createElement("p",null,o[s].text))};u.propTypes={dashboardUrl:o().string,productId:o().number},t.Z=u},77919:function(e,t,n){"use strict";n.d(t,{o:function(){return p}});var r=n(65736),i=n(55609),s=n(71415),o=n(11268),a=n.n(o),c=n(99196),l=n.n(c),u=n(49067);const __=r.__,p=e=>{const{productId:t,siteRawUrl:n}=e,r={jetpack_backup:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_complete:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_scan:{text:__("View scan results","jetpack"),redirectSource:"jetpack-license-activation-success-scan"},jetpack_search:{text:__("Configure search","jetpack"),redirectSource:"jetpack-license-activation-success-search"},jetpack_security:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},default:null}[(0,u.F)(t)];return l().createElement(l().Fragment,null,r&&l().createElement(i.ExternalLink,{className:"jp-license-activation-screen-success-info--external-link",href:(0,s.Z)(r.redirectSource,{site:n})},r.text))};p.propTypes={siteRawUrl:a().string,productId:a().number}},18922:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(19570),c=n(65736),l=n(61769),u=n(46224),p=n(78079);const __=c.__,d=e=>{const{assetBaseUrl:t,lockImage:n,onActivationSuccess:s=(()=>null),siteRawUrl:o,startingLicense:c,successImage:d,siteAdminUrl:h,currentRecommendationsStep:f}=e,[m,g]=(0,r.useState)(null!=c?c:""),[v,b]=(0,r.useState)(null),[y,k]=(0,r.useState)(!1),[w,_]=(0,r.useState)(null),E=(0,r.useCallback)((()=>y?Promise.resolve():m.length<1?(b(__("This is not a valid license key. Please try again.","jetpack")),Promise.resolve()):(b(null),k(!0),a.ZP.attachLicenses([m]).then((e=>{const t=(e=>{let t=e;for(;Array.isArray(t)&&t.length>0;)t=t[0];if(t?.activatedProductId)return t.activatedProductId;if(t?.errors)for(const e in t.errors)if(t.errors[e].length>0)throw new Error(t.errors[e][0]);throw new Error(__("An unknown error occurred during license activation. Please try again.","jetpack"))})(e);_(t),s(t)})).catch((e=>{b(e.message)})).finally((()=>{k(!1)})))),[y,m,s]);return null!==w?i().createElement("div",{className:"jp-license-activation-screen"},i().createElement(p.Z,{siteRawUrl:o,productId:w,siteAdminUrl:h,currentRecommendationsStep:f}),i().createElement(u.Z,{imageUrl:t+d,showSupportLink:!1})):i().createElement("div",{className:"jp-license-activation-screen"},i().createElement(l.Z,{license:m,onLicenseChange:g,activateLicense:E,siteUrl:o,licenseError:v,isActivating:y}),i().createElement(u.Z,{imageUrl:t+n,showSupportLink:!0}))};d.propTypes={assetBaseUrl:o().string.isRequired,lockImage:o().string.isRequired,onActivationSuccess:o().func,siteRawUrl:o().string.isRequired,startingLicense:o().string,successImage:o().string.isRequired,siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string},t.Z=d},49067:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});const r={jetpack_anti_spam:[2110,2111],jetpack_backup:[2100,2101,2102,2103,2112,2113,2114,2115],jetpack_complete:[2014,2015],jetpack_scan:[2106,2107,2108,2109],jetpack_search:[2104,2105],jetpack_security:[2010,2011,2012,2013,2016,2017,2019,2020],jetpack_videopress:[2116,2117]};function i(e){return Object.keys(r).find((t=>r[t].includes(e)))||"default"}},77909:function(e,t,n){"use strict";n.d(t,{I:function(){return r.Z}});var r=n(18922)},6426:function(e,t,n){"use strict";var r=n(89105),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(71415),u=n(31583),p=n(39897),d=n(65736);const __=d.__,h=e=>{const{apiNonce:t,apiRoot:n,connectionStatus:r,partnerCoupon:a,assetBaseUrl:c,registrationNonce:h,siteRawUrl:f,tracksUserData:m,analytics:g}=e;(0,s.useEffect)((()=>{m&&"object"==typeof g&&g.tracks.recordEvent("jetpack_partner_coupon_redeem_view",{coupon:a.coupon_code,partner:a.partner.prefix,preset:a.preset,connected:r.isRegistered?"yes":"no"})}),[g,r,a,m]);const v=(0,s.useCallback)((()=>{m&&"object"==typeof g&&g.tracks.recordEvent("jetpack_partner_coupon_redeem_click",{coupon:a.coupon_code,partner:a.partner.prefix,preset:a.preset,connected:r.isRegistered?"yes":"no"}),window.location.href=(0,l.Z)("jetpack-plugin-partner-coupon-checkout",{path:a.product.slug,site:f,query:`coupon=${a.coupon_code}`})}),[g,r,a,f,m]),b=i()("jetpack-partner-coupon-redeem",{"jetpack-partner-coupon-redeem--connected":!!r.hasConnectedOwner});return o().createElement("div",{className:b},o().createElement(p.Z,{apiNonce:t,registrationNonce:h,apiRoot:n,images:["/images/connect-right-partner-backup.png"],assetBaseUrl:c,from:"jetpack-partner-coupon",title:(0,d.sprintf)(
+!function(){var e={8294:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},2402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},54:function(e,t,n){"use strict";var s=n(4605),r=n(1253),i=n(2875),a=n(7227),o=n(173),c=n(4912),l=function(e,t,n){for(var s=0,i=0;s=i,i=(0,r.fj)(),38===s&&12===i&&(t[n]=1),!(0,r.r)(i);)(0,r.lp)();return(0,r.tP)(e,r.FK)},p=function(e,t){return(0,r.cE)(function(e,t){var n=-1,s=44;do{switch((0,r.r)(s)){case 0:38===s&&12===(0,r.fj)()&&(t[n]=1),e[n]+=l(r.FK-1,t,n);break;case 2:e[n]+=(0,r.iF)(s);break;case 4:if(44===s){e[++n]=58===(0,r.fj)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,i.Dp)(s)}}while(s=(0,r.lp)());return e}((0,r.un)(e),t))},u=new WeakMap,d=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,s=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||u.get(n))&&!s){u.set(e,!0);for(var r=[],i=p(t,r),a=n.props,o=0,c=0;o<i.length;o++)for(var l=0;l<a.length;l++,c++)e.props[c]=r[o]?i[o].replace(/&\f/g,a[l]):a[l]+" "+i[o]}}},m=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},h=[a.Ji];t.Z=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||h;var i,l,p={},u=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)p[t[n]]=!0;u.push(e)}));var g=[d,m];var f,v=[o.P,(0,a.cD)((function(e){f.insert(e)}))],k=(0,a.qR)(g.concat(r,v));l=function(e,t,n,s){var r;f=n,r=e?e+"{"+t.styles+"}":t.styles,(0,o.q)((0,c.MY)(r),k),s&&(_.inserted[t.name]=!0)};var _={key:t,sheet:new s.m({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:p,registered:{},insert:l};return _.sheet.hydrate(u),_}},1109:function(e,t){"use strict";t.Z=function(e){for(var t,n=0,s=0,r=e.length;r>=4;++s,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(s)|(255&e.charCodeAt(++s))<<8|(255&e.charCodeAt(++s))<<16|(255&e.charCodeAt(++s))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(s+2))<<16;case 2:n^=(255&e.charCodeAt(s+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(s)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}},8101:function(e,t){"use strict";t.Z=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},3788:function(e,t,n){"use strict";n.d(t,{E:function(){return g},c:function(){return m},h:function(){return o}});var s=n(9196),r=n(54),i=n(431),a=n(359),o={}.hasOwnProperty,c=(0,s.createContext)("undefined"!=typeof HTMLElement?(0,r.Z)({key:"css"}):null);c.Provider;var l=function(e){return(0,s.forwardRef)((function(t,n){var r=(0,s.useContext)(c);return e(t,r,n)}))},p=(0,s.createContext)({});var u=s.useInsertionEffect?s.useInsertionEffect:function(e){e()};var d="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var n={};for(var s in t)o.call(t,s)&&(n[s]=t[s]);return n[d]=e,n},h=function(e){var t=e.cache,n=e.serialized,s=e.isStringTag;(0,i.hC)(t,n,s);u((function(){return(0,i.My)(t,n,s)}));return null},g=l((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var c=e[d],l=[r],u="";"string"==typeof e.className?u=(0,i.fp)(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var m=(0,a.O)(l,void 0,(0,s.useContext)(p));u+=t.key+"-"+m.name;var g={};for(var f in e)o.call(e,f)&&"css"!==f&&f!==d&&(g[f]=e[f]);return g.ref=n,g.className=u,(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h,{cache:t,serialized:m,isStringTag:"string"==typeof c}),(0,s.createElement)(c,g))}))},4362:function(e,t,n){"use strict";n.d(t,{BX:function(){return a},tZ:function(){return i}});n(9196),n(54);var s=n(3788),r=(n(7692),n(359),n(275));r.Fragment;function i(e,t,n){return s.h.call(t,"css")?(0,r.jsx)(s.E,(0,s.c)(e,t),n):(0,r.jsx)(e,t,n)}function a(e,t,n){return s.h.call(t,"css")?(0,r.jsxs)(s.E,(0,s.c)(e,t),n):(0,r.jsxs)(e,t,n)}},359:function(e,t,n){"use strict";n.d(t,{O:function(){return g}});var s=n(1109),r=n(891),i=n(8101),a=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},p=(0,i.Z)((function(e){return c(e)?e:e.replace(a,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(o,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===r.Z[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return m={name:n.name,styles:n.styles,next:m},n.name;if(void 0!==n.styles){var s=n.next;if(void 0!==s)for(;void 0!==s;)m={name:s.name,styles:s.styles,next:m},s=s.next;return n.styles+";"}return function(e,t,n){var s="";if(Array.isArray(n))for(var r=0;r<n.length;r++)s+=d(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?s+=i+"{"+t[a]+"}":l(a)&&(s+=p(i)+":"+u(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var o=d(e,t,a);switch(i){case"animation":case"animationName":s+=p(i)+":"+o+";";break;default:s+=i+"{"+o+"}"}}else for(var c=0;c<a.length;c++)l(a[c])&&(s+=p(i)+":"+u(i,a[c])+";")}return s}(e,t,n);case"function":if(void 0!==e){var r=m,i=n(e);return m=r,d(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var m,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var g=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";m=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,i+=d(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=d(n,t,e[o]),r&&(i+=a[o]);h.lastIndex=0;for(var c,l="";null!==(c=h.exec(i));)l+="-"+c[1];return{name:(0,s.Z)(i)+l,styles:i,next:m}}},4605:function(e,t,n){"use strict";n.d(t,{m:function(){return s}});var s=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},891:function(e,t){"use strict";t.Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},431:function(e,t,n){"use strict";n.d(t,{My:function(){return i},fp:function(){return s},hC:function(){return r}});function s(e,t,n){var s="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):s+=n+" "})),s}var r=function(e,t,n){var s=e.key+"-"+t.name;!1===n&&void 0===e.registered[s]&&(e.registered[s]=t.styles)},i=function(e,t,n){r(e,t,n);var s=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+s:"",i,e.sheet,!0);i=i.next}while(void 0!==i)}}},1074:function(e,t,n){"use strict";var s=n(9307);t.Z=function(e){let{icon:t,size:n=24,...r}=e;return(0,s.cloneElement)(t,{width:n,height:n,...r})}},797:function(e,t,n){"use strict";var s=n(9307),r=n(444);const i=(0,s.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,s.createElement)(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"}));t.Z=i},6163:function(e,t,n){var s=n(6147);e.exports=function(e){var t=null,n=s(e);if(3===e.nodeType){var r=n.createRange();r.selectNodeContents(e),e=r}if("function"==typeof e.getBoundingClientRect&&(t=e.getBoundingClientRect(),e.startContainer&&0===t.left&&0===t.top)){var i=n.createElement("span");i.appendChild(n.createTextNode("​")),e.insertNode(i),t=i.getBoundingClientRect();var a=i.parentNode;a.removeChild(i),a.normalize()}return t}},5235:function(e,t){var n;!function(){"use strict";var s={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var o in n)s.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},2491:function(e){var t;t=function(){return function(e){var t={};function n(s){if(t[s])return t[s].exports;var r=t[s]={i:s,l:!1,exports:{}};return e[s].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,s){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(s,r,function(t){return e[t]}.bind(null,r));return s},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var s=window.getSelection(),r=document.createRange();r.selectNodeContents(e),s.removeAllRanges(),s.addRange(r),t=s.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var s=this.e||(this.e={});return(s[e]||(s[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var s=this;function r(){s.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),s=0,r=n.length;s<r;s++)n[s].fn.apply(n[s].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),s=n[e],r=[];if(s&&t)for(var i=0,a=s.length;i<a;i++)s[i].fn!==t&&s[i].fn._!==t&&r.push(s[i]);return r.length?n[e]=r:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},function(e,t,n){var s=n(3),r=n(4);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(s.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(s.string(e))return function(e,t,n){return r(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var s=n(5);function r(e,t,n,s,r){var a=i.apply(this,arguments);return e.addEventListener(n,a,r),{destroy:function(){e.removeEventListener(n,a,r)}}}function i(e,t,n,r){return function(n){n.delegateTarget=s(n.target,t),n.delegateTarget&&r.call(e,n)}}e.exports=function(e,t,n,s,i){return"function"==typeof e.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return r(e,t,n,s,i)})))}},function(e,t){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,n){"use strict";n.r(t);var s=n(0),r=n.n(s),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return a(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=r()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=r()(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}(),c=o,l=n(1),p=n.n(l),u=n(2),d=n.n(u),m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),g=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return s.resolveOptions(n),s.listenClick(e),s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===m(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=d()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return f("action",e)}},{key:"defaultTarget",value:function(e){var t=f("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return f("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(p.a);function f(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}t.default=g}]).default},e.exports=t()},9494:function(e,t,n){function s(e){var t,n;for(t=[],n=0;n<e.length;n++)t.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_"[e[n]%64]);return t.join("")}e.exports=function(e){if("undefined"!=typeof window){if(void 0!==window.crypto)return s(window.crypto.getRandomValues(new Uint8Array(e)));for(var t=new Array(e),r=0;r<e;r++)t[r]=Math.floor(256*Math.random());return s(t)}var i=n(9369);try{return s(i.randomBytes(e))}catch(t){return s(i.pseudoRandomBytes(e))}}},3184:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,s=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 i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(n,s){function r(n){e.removeListener(t,i),s(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",r),n([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,r,{once:!0})}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function o(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?i.defaultMaxListeners:e._maxListeners}function l(e,t,n,s){var r,i,a,l;if(o(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=s?[n,a]:[a,n]:s?a.unshift(n):a.push(n),(r=c(e))>0&&a.length>r&&!a.warned){a.warned=!0;var p=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");p.name="MaxListenersExceededWarning",p.emitter=e,p.type=t,p.count=a.length,l=p,console&&console.warn&&console.warn(l)}return e}function p(){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 u(e,t,n){var s={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=p.bind(s);return r.listener=n,s.wrapFn=r,r}function d(e,t,n){var s=e._events;if(void 0===s)return[];var r=s[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;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(r):h(r,r.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),s=0;s<t;++s)n[s]=e[s];return n}function g(e,t,n,s){if("function"==typeof e.on)s.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function r(i){s.once&&e.removeEventListener(t,r),n(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return c(this)},i.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)s(c,this,t);else{var l=c.length,p=h(c,l);for(n=0;n<l;++n)s(p[n],this,t)}return!0},i.prototype.addListener=function(e,t){return l(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return l(this,e,t,!0)},i.prototype.once=function(e,t){return o(t),this.on(e,u(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return o(t),this.prependListener(e,u(this,e,t)),this},i.prototype.removeListener=function(e,t){var n,s,r,i,a;if(o(t),void 0===(s=this._events))return this;if(void 0===(n=s[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete s[e],s.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(r=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,r=i;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,r),1===n.length&&(s[e]=n[0]),void 0!==s.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,n,s;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var r,i=Object.keys(n);for(s=0;s<i.length;++s)"removeListener"!==(r=i[s])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(s=t.length-1;s>=0;s--)this.removeListener(e,t[s]);return this},i.prototype.listeners=function(e){return d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},i.prototype.listenerCount=m,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},2056:function(e,t,n){"use strict";n.d(t,{v:function(){return d}});var s,r=n(8750);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}var o,c=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}}),l=function(e){return setTimeout(e,0)},p=function(e,t){var n=-1;return e.every((function(e,s){return!t(e)||(n=s,!1)})),n},u=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return"function"==typeof e?e.apply(void 0,n):e},d=function(e,t){var n,o=document,d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),m={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},h=function(e){return m.containers.some((function(t){return t.contains(e)}))},g=function(e){var t=d[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=o.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},f=function(){var e;if(null!==g("initialFocus"))e=g("initialFocus");else if(h(o.activeElement))e=o.activeElement;else{var t=m.tabbableGroups[0];e=t&&t.firstTabbableNode||g("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},v=function(){if(m.tabbableGroups=m.containers.map((function(e){var t=(0,r.ht)(e);if(t.length>0)return{container:e,firstTabbableNode:t[0],lastTabbableNode:t[t.length-1]}})).filter((function(e){return!!e})),m.tabbableGroups.length<=0&&!g("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},k=function e(t){t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!d.preventScroll}),m.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(f()))},_=function(e){h(e.target)||(u(d.clickOutsideDeactivates,e)?n.deactivate({returnFocus:d.returnFocusOnDeactivate&&!(0,r.EB)(e.target)}):u(d.allowOutsideClick,e)||e.preventDefault())},y=function(e){var t=h(e.target);t||e.target instanceof Document?t&&(m.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),k(m.mostRecentlyFocusedNode||f()))},E=function(e){if(!1!==d.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){v();var t=null;if(m.tabbableGroups.length>0)if(p(m.tabbableGroups,(function(t){return t.container.contains(e.target)}))<0)t=e.shiftKey?m.tabbableGroups[m.tabbableGroups.length-1].lastTabbableNode:m.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var n=p(m.tabbableGroups,(function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var s=0===n?m.tabbableGroups.length-1:n-1;t=m.tabbableGroups[s].lastTabbableNode}}else{var r=p(m.tabbableGroups,(function(t){var n=t.lastTabbableNode;return e.target===n}));if(r>=0){var i=r===m.tabbableGroups.length-1?0:r+1;t=m.tabbableGroups[i].firstTabbableNode}}else t=g("fallbackFocus");t&&(e.preventDefault(),k(t))}(e)},w=function(e){u(d.clickOutsideDeactivates,e)||h(e.target)||u(d.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(m.active)return c.activateTrap(n),s=d.delayInitialFocus?l((function(){k(f())})):k(f()),o.addEventListener("focusin",y,!0),o.addEventListener("mousedown",_,{capture:!0,passive:!1}),o.addEventListener("touchstart",_,{capture:!0,passive:!1}),o.addEventListener("click",w,{capture:!0,passive:!1}),o.addEventListener("keydown",E,{capture:!0,passive:!1}),n},C=function(){if(m.active)return o.removeEventListener("focusin",y,!0),o.removeEventListener("mousedown",_,!0),o.removeEventListener("touchstart",_,!0),o.removeEventListener("click",w,!0),o.removeEventListener("keydown",E,!0),n};return(n={activate:function(e){if(m.active)return this;v(),m.active=!0,m.paused=!1,m.nodeFocusedBeforeActivation=o.activeElement;var t=e&&e.onActivate?e.onActivate:d.onActivate;return t&&t(),b(),this},deactivate:function(e){if(!m.active)return this;clearTimeout(s),C(),m.active=!1,m.paused=!1,c.deactivateTrap(n);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:d.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:d.returnFocusOnDeactivate)&&l((function(){var e;k((e=m.nodeFocusedBeforeActivation,g("setReturnFocus")||e))})),this},pause:function(){return m.paused||!m.active||(m.paused=!0,C()),this},unpause:function(){return m.paused&&m.active?(m.paused=!1,v(),b(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return m.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),m.active&&v(),this}}).updateContainerElements(e),n}},6147:function(e){e.exports=function e(n){if(t(n))return n;if(t(n.ownerDocument))return n.ownerDocument;if(t(n.document))return n.document;if(n.parentNode)return e(n.parentNode);if(n.commonAncestorContainer)return e(n.commonAncestorContainer);if(n.startContainer)return e(n.startContainer);if(n.anchorNode)return e(n.anchorNode)};function t(e){return e&&9===e.nodeType}},2511:function(e,t,n){"use strict";n.d(t,{Ep:function(){return u},Hp:function(){return m},PP:function(){return x},lX:function(){return y},ob:function(){return d},q_:function(){return S}});var s=n(255),r=n(4456),i=n(1260),a=n(6692);function o(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function l(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function u(e){var t=e.pathname,n=e.search,s=e.hash,r=t||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),s&&"#"!==s&&(r+="#"===s.charAt(0)?s:"#"+s),r}function d(e,t,n,i){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",s="",r=t.indexOf("#");-1!==r&&(s=t.substr(r),t=t.substr(0,r));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===s?"":s}}(e),a.state=t):(void 0===(a=(0,s.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),i?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=(0,r.Z)(a.pathname,i.pathname)):a.pathname=i.pathname:a.pathname||(a.pathname="/"),a}function m(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,i.Z)(e.state,t.state)}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,s,r){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof s?s(i,r):r(!0):r(!1!==i)}else r(!0)},appendListener:function(e){var n=!0;function s(){n&&e.apply(void 0,arguments)}return t.push(s),function(){n=!1,t=t.filter((function(e){return e!==s}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];t.forEach((function(e){return e.apply(void 0,n)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function f(e,t){t(window.confirm(e))}var v="popstate",k="hashchange";function _(){try{return window.history.state||{}}catch(e){return{}}}function y(e){void 0===e&&(e={}),g||(0,a.Z)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),c=e,m=c.forceRefresh,y=void 0!==m&&m,E=c.getUserConfirmation,w=void 0===E?f:E,b=c.keyLength,C=void 0===b?6:b,j=e.basename?p(o(e.basename)):"";function S(e){var t=e||{},n=t.key,s=t.state,r=window.location,i=r.pathname+r.search+r.hash;return j&&(i=l(i,j)),d(i,s,n)}function N(){return Math.random().toString(36).substr(2,C)}var x=h();function T(e){(0,s.Z)(F,e),F.length=n.length,x.notifyListeners(F.location,F.action)}function O(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||A(S(e.state))}function P(){A(S(_()))}var M=!1;function A(e){if(M)M=!1,T();else{x.confirmTransitionTo(e,"POP",w,(function(t){t?T({action:"POP",location:e}):function(e){var t=F.location,n=U.indexOf(t.key);-1===n&&(n=0);var s=U.indexOf(e.key);-1===s&&(s=0);var r=n-s;r&&(M=!0,L(r))}(e)}))}}var Z=S(_()),U=[Z.key];function R(e){return j+u(e)}function L(e){n.go(e)}var z=0;function I(e){1===(z+=e)&&1===e?(window.addEventListener(v,O),i&&window.addEventListener(k,P)):0===z&&(window.removeEventListener(v,O),i&&window.removeEventListener(k,P))}var D=!1;var F={length:n.length,action:"POP",location:Z,createHref:R,push:function(e,t){var s="PUSH",i=d(e,t,N(),F.location);x.confirmTransitionTo(i,s,w,(function(e){if(e){var t=R(i),a=i.key,o=i.state;if(r)if(n.pushState({key:a,state:o},null,t),y)window.location.href=t;else{var c=U.indexOf(F.location.key),l=U.slice(0,c+1);l.push(i.key),U=l,T({action:s,location:i})}else window.location.href=t}}))},replace:function(e,t){var s="REPLACE",i=d(e,t,N(),F.location);x.confirmTransitionTo(i,s,w,(function(e){if(e){var t=R(i),a=i.key,o=i.state;if(r)if(n.replaceState({key:a,state:o},null,t),y)window.location.replace(t);else{var c=U.indexOf(F.location.key);-1!==c&&(U[c]=i.key),T({action:s,location:i})}else window.location.replace(t)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return D||(I(1),D=!0),function(){return D&&(D=!1,I(-1)),t()}},listen:function(e){var t=x.appendListener(e);return I(1),function(){I(-1),t()}}};return F}var E="hashchange",w={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:o},slash:{encodePath:o,decodePath:o}};function b(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function C(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function j(e){window.location.replace(b(window.location.href)+"#"+e)}function S(e){void 0===e&&(e={}),g||(0,a.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,i=void 0===r?f:r,c=n.hashType,m=void 0===c?"slash":c,v=e.basename?p(o(e.basename)):"",k=w[m],_=k.encodePath,y=k.decodePath;function S(){var e=y(C());return v&&(e=l(e,v)),d(e)}var N=h();function x(e){(0,s.Z)(D,e),D.length=t.length,N.notifyListeners(D.location,D.action)}var T=!1,O=null;function P(){var e,t,n=C(),s=_(n);if(n!==s)j(s);else{var r=S(),a=D.location;if(!T&&(t=r,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(O===u(r))return;O=null,function(e){if(T)T=!1,x();else{var t="POP";N.confirmTransitionTo(e,t,i,(function(n){n?x({action:t,location:e}):function(e){var t=D.location,n=U.lastIndexOf(u(t));-1===n&&(n=0);var s=U.lastIndexOf(u(e));-1===s&&(s=0);var r=n-s;r&&(T=!0,R(r))}(e)}))}}(r)}}var M=C(),A=_(M);M!==A&&j(A);var Z=S(),U=[u(Z)];function R(e){t.go(e)}var L=0;function z(e){1===(L+=e)&&1===e?window.addEventListener(E,P):0===L&&window.removeEventListener(E,P)}var I=!1;var D={length:t.length,action:"POP",location:Z,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=b(window.location.href)),n+"#"+_(v+u(e))},push:function(e,t){var n="PUSH",s=d(e,void 0,void 0,D.location);N.confirmTransitionTo(s,n,i,(function(e){if(e){var t=u(s),r=_(v+t);if(C()!==r){O=t,function(e){window.location.hash=e}(r);var i=U.lastIndexOf(u(D.location)),a=U.slice(0,i+1);a.push(t),U=a,x({action:n,location:s})}else x()}}))},replace:function(e,t){var n="REPLACE",s=d(e,void 0,void 0,D.location);N.confirmTransitionTo(s,n,i,(function(e){if(e){var t=u(s),r=_(v+t);C()!==r&&(O=t,j(r));var i=U.indexOf(u(D.location));-1!==i&&(U[i]=t),x({action:n,location:s})}}))},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=N.setPrompt(e);return I||(z(1),I=!0),function(){return I&&(I=!1,z(-1)),t()}},listen:function(e){var t=N.appendListener(e);return z(1),function(){z(-1),t()}}};return D}function N(e,t,n){return Math.min(Math.max(e,t),n)}function x(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,i=void 0===r?["/"]:r,a=t.initialIndex,o=void 0===a?0:a,c=t.keyLength,l=void 0===c?6:c,p=h();function m(e){(0,s.Z)(y,e),y.length=y.entries.length,p.notifyListeners(y.location,y.action)}function g(){return Math.random().toString(36).substr(2,l)}var f=N(o,0,i.length-1),v=i.map((function(e){return d(e,void 0,"string"==typeof e?g():e.key||g())})),k=u;function _(e){var t=N(y.index+e,0,y.entries.length-1),s=y.entries[t];p.confirmTransitionTo(s,"POP",n,(function(e){e?m({action:"POP",location:s,index:t}):m()}))}var y={length:v.length,action:"POP",location:v[f],index:f,entries:v,createHref:k,push:function(e,t){var s="PUSH",r=d(e,t,g(),y.location);p.confirmTransitionTo(r,s,n,(function(e){if(e){var t=y.index+1,n=y.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),m({action:s,location:r,index:t,entries:n})}}))},replace:function(e,t){var s="REPLACE",r=d(e,t,g(),y.location);p.confirmTransitionTo(r,s,n,(function(e){e&&(y.entries[y.index]=r,m({action:s,location:r}))}))},go:_,goBack:function(){_(-1)},goForward:function(){_(1)},canGo:function(e){var t=y.index+e;return t>=0&&t<y.entries.length},block:function(e){return void 0===e&&(e=!1),p.setPrompt(e)},listen:function(e){return p.appendListener(e)}};return y}},7692:function(e,t,n){"use strict";var s=n(3801),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function c(e){return s.isMemo(e)?a:o[e.$$typeof]||r}o[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[s.Memo]=a;var l=Object.defineProperty,p=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,s){if("string"!=typeof n){if(h){var r=m(n);r&&r!==h&&e(t,r,s)}var a=p(n);u&&(a=a.concat(u(n)));for(var o=c(t),g=c(n),f=0;f<a.length;++f){var v=a[f];if(!(i[v]||s&&s[v]||g&&g[v]||o&&o[v])){var k=d(n,v);try{l(t,v,k)}catch(e){}}}}return t}},7676:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},8385:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(1806),a=n(5844),o=n.n(a),c=1073741823,l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window||"undefined"!=typeof window?window:{};function p(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,s){e=n,t.forEach((function(t){return t(e,s)}))}}}var u=r().createContext||function(e,t){var n,r,a,u="__create-react-context-"+((l[a="__global_unique_id__"]=(l[a]||0)+1)+"__"),d=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=p(t.props.value),t}(0,i.Z)(n,e);var s=n.prototype;return s.getChildContext=function(){var e;return(e={})[u]=this.emitter,e},s.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,s=this.props.value,r=e.value;((i=s)===(a=r)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(s,r):c,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},s.render=function(){return this.props.children},n}(s.Component);d.childContextTypes=((n={})[u]=o().object.isRequired,n);var m=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,i.Z)(n,t);var s=n.prototype;return s.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?c:t},s.componentDidMount=function(){this.context[u]&&this.context[u].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?c:e},s.componentWillUnmount=function(){this.context[u]&&this.context[u].off(this.onUpdate)},s.getValue=function(){return this.context[u]?this.context[u].get():e},s.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(s.Component);return m.contextTypes=((r={})[u]=o().object,r),{Provider:d,Consumer:m}};t.Z=u},5574:function(){},4075:function(){},9961:function(){},8783:function(){},8449:function(){},7787:function(){},6172:function(){},3527:function(){},7387:function(e,t){"use strict";t.Z={container:"dovianZYLKhnbnh9I06o",price:"dhFQXpZfMwVI8vuYHnwC","is-not-off-price":"eD7hzxFmdtG_MgmBtl_k",leyend:"OXRdumxMHnFcSML9WKHB"}},4086:function(){},8026:function(){},5837:function(e,t){"use strict";t.Z={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz",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"}},4590:function(){},5035:function(){},2202:function(){},2741:function(){},8043:function(){},3171:function(e){var t=1e3,n=60*t,s=60*n,r=24*s,i=7*r,a=365.25*r;function o(e,t,n,s){var r=t>=1.5*n;return Math.round(e/n)+" "+s+(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 o=/^(-?(?:\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(!o)return;var c=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*s;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 i=Math.abs(e);if(i>=r)return o(e,i,r,"day");if(i>=s)return o(e,i,s,"hour");if(i>=n)return o(e,i,n,"minute");if(i>=t)return o(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=r)return Math.round(e/r)+"d";if(i>=s)return Math.round(e/s)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=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))}},7563:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach((function(e){s[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},s)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,o,c=r(e),l=1;l<arguments.length;l++){for(var p in a=Object(arguments[l]))n.call(a,p)&&(c[p]=a[p]);if(t){o=t(a);for(var u=0;u<o.length;u++)s.call(a,o[u])&&(c[o[u]]=a[o[u]])}}return c}},70:function(e,t,n){var s=n(7676);e.exports=m,e.exports.parse=i,e.exports.compile=function(e,t){return o(i(e,t),t)},e.exports.tokensToFunction=o,e.exports.tokensToRegExp=d;var r=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,s=[],i=0,a=0,o="",p=t&&t.delimiter||"/";null!=(n=r.exec(e));){var u=n[0],d=n[1],m=n.index;if(o+=e.slice(a,m),a=m+u.length,d)o+=d[1];else{var h=e[a],g=n[2],f=n[3],v=n[4],k=n[5],_=n[6],y=n[7];o&&(s.push(o),o="");var E=null!=g&&null!=h&&h!==g,w="+"===_||"*"===_,b="?"===_||"*"===_,C=n[2]||p,j=v||k;s.push({name:f||i++,prefix:g||"",delimiter:C,optional:b,repeat:w,partial:E,asterisk:!!y,pattern:j?l(j):y?".*":"[^"+c(C)+"]+?"})}}return a<e.length&&(o+=e.substr(a)),o&&s.push(o),s}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function o(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(n[r]=new RegExp("^(?:"+e[r].pattern+")$",u(t)));return function(t,r){for(var i="",o=t||{},c=(r||{}).pretty?a:encodeURIComponent,l=0;l<e.length;l++){var p=e[l];if("string"!=typeof p){var u,d=o[p.name];if(null==d){if(p.optional){p.partial&&(i+=p.prefix);continue}throw new TypeError('Expected "'+p.name+'" to be defined')}if(s(d)){if(!p.repeat)throw new TypeError('Expected "'+p.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(p.optional)continue;throw new TypeError('Expected "'+p.name+'" to not be empty')}for(var m=0;m<d.length;m++){if(u=c(d[m]),!n[l].test(u))throw new TypeError('Expected all "'+p.name+'" to match "'+p.pattern+'", but received `'+JSON.stringify(u)+"`");i+=(0===m?p.prefix:p.delimiter)+u}}else{if(u=p.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(d),!n[l].test(u))throw new TypeError('Expected "'+p.name+'" to match "'+p.pattern+'", but received "'+u+'"');i+=p.prefix+u}}else i+=p}return i}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function p(e,t){return e.keys=t,e}function u(e){return e&&e.sensitive?"":"i"}function d(e,t,n){s(t)||(n=t||n,t=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,a="",o=0;o<e.length;o++){var l=e[o];if("string"==typeof l)a+=c(l);else{var d=c(l.prefix),m="(?:"+l.pattern+")";t.push(l),l.repeat&&(m+="(?:"+d+m+")*"),a+=m=l.optional?l.partial?d+"("+m+")?":"(?:"+d+"("+m+"))?":d+"("+m+")"}}var h=c(n.delimiter||"/"),g=a.slice(-h.length)===h;return r||(a=(g?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":r&&g?"":"(?="+h+"|$)",p(new RegExp("^"+a,u(n)),t)}function m(e,t,n){return s(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var s=0;s<n.length;s++)t.push({name:s,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return p(e,t)}(e,t):s(e)?function(e,t,n){for(var s=[],r=0;r<e.length;r++)s.push(m(e[r],t,n).source);return p(new RegExp("(?:"+s.join("|")+")",u(n)),t)}(e,t,n):function(e,t,n){return d(i(e,n),t,n)}(e,t,n)}},469:function(e,t,n){"use strict";var s=n(758);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==s){var o=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 o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},5162:function(e,t,n){e.exports=n(469)()},758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7556:function(e,t,n){"use strict";var s=n(3713);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==s){var o=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 o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},5844:function(e,t,n){e.exports=n(7556)()},3713:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8922:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,s=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,o=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,p=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,f=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,k=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case s:switch(e=e.type){case p:case u:case i:case o:case a:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case f:case g:case c:return e;default:return t}}case r:return t}}}function w(e){return E(e)===u}t.AsyncMode=p,t.ConcurrentMode=u,t.ContextConsumer=l,t.ContextProvider=c,t.Element=s,t.ForwardRef=d,t.Fragment=i,t.Lazy=f,t.Memo=g,t.Portal=r,t.Profiler=o,t.StrictMode=a,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||E(e)===p},t.isConcurrentMode=w,t.isContextConsumer=function(e){return E(e)===l},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===s},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===i},t.isLazy=function(e){return E(e)===f},t.isMemo=function(e){return E(e)===g},t.isPortal=function(e){return E(e)===r},t.isProfiler=function(e){return E(e)===o},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===o||e===a||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===k||e.$$typeof===_||e.$$typeof===y||e.$$typeof===v)},t.typeOf=E},3801:function(e,t,n){"use strict";e.exports=n(8922)},4223:function(e,t){"use strict";var n=60103,s=60106,r=60107,i=60108,a=60114,o=60109,c=60110,l=60112,p=60113,u=60120,d=60115,m=60116,h=60121,g=60122,f=60117,v=60129,k=60131;if("function"==typeof Symbol&&Symbol.for){var _=Symbol.for;n=_("react.element"),s=_("react.portal"),r=_("react.fragment"),i=_("react.strict_mode"),a=_("react.profiler"),o=_("react.provider"),c=_("react.context"),l=_("react.forward_ref"),p=_("react.suspense"),u=_("react.suspense_list"),d=_("react.memo"),m=_("react.lazy"),h=_("react.block"),g=_("react.server.block"),f=_("react.fundamental"),v=_("react.debug_trace_mode"),k=_("react.legacy_hidden")}function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case r:case a:case i:case p:case u:return e;default:switch(e=e&&e.$$typeof){case c:case l:case m:case d:case o:return e;default:return t}}case s:return t}}}t.isContextConsumer=function(e){return y(e)===c}},1637:function(e,t,n){"use strict";e.exports=n(4223)},373:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var s=n(9196),r=n.n(s)().createContext(null)},1290:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(373),a=n(5053),o=n(999);t.Z=function(e){var t=e.store,n=e.context,c=e.children,l=(0,s.useMemo)((function(){var e=(0,a.X)(t);return{store:t,subscription:e}}),[t]),p=(0,s.useMemo)((function(){return t.getState()}),[t]);(0,o.L)((function(){var e=l.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),p!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[l,p]);var u=n||i.E;return r().createElement(u.Provider,{value:l},c)}},5642:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var s=n(255),r=n(7921),i=n(7692),a=n.n(i),o=n(9196),c=n.n(o),l=n(1637),p=n(5053),u=n(999),d=n(373),m=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],h=["reactReduxForwardedRef"],g=[],f=[null,null];function v(e,t){var n=e[1];return[t.payload,n+1]}function k(e,t,n){(0,u.L)((function(){return e.apply(void 0,t)}),n)}function _(e,t,n,s,r,i,a){e.current=s,t.current=r,n.current=!1,i.current&&(i.current=null,a())}function y(e,t,n,s,r,i,a,o,c,l){if(e){var p=!1,u=null,d=function(){if(!p){var e,n,d=t.getState();try{e=s(d,r.current)}catch(e){n=e,u=e}n||(u=null),e===i.current?a.current||c():(i.current=e,o.current=e,a.current=!0,l({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(p=!0,n.tryUnsubscribe(),n.onStateChange=null,u)throw u}}}var E=function(){return[null,0]};function w(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,u=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,w=n.methodName,b=void 0===w?"connectAdvanced":w,C=n.renderCountProp,j=void 0===C?void 0:C,S=n.shouldHandleStateChanges,N=void 0===S||S,x=n.storeKey,T=void 0===x?"store":x,O=(n.withRef,n.forwardRef),P=void 0!==O&&O,M=n.context,A=void 0===M?d.E:M,Z=(0,r.Z)(n,m),U=A;return function(t){var n=t.displayName||t.name||"Component",i=u(n),d=(0,s.Z)({},Z,{getDisplayName:u,methodName:b,renderCountProp:j,shouldHandleStateChanges:N,storeKey:T,displayName:i,wrappedComponentName:n,WrappedComponent:t}),m=Z.pure;var w=m?o.useMemo:function(e){return e()};function C(n){var i=(0,o.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,r.Z)(n,h);return[n.context,e,t]}),[n]),a=i[0],u=i[1],m=i[2],b=(0,o.useMemo)((function(){return a&&a.Consumer&&(0,l.isContextConsumer)(c().createElement(a.Consumer,null))?a:U}),[a,U]),C=(0,o.useContext)(b),j=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(C)&&Boolean(C.store);var S=j?n.store:C.store,x=(0,o.useMemo)((function(){return function(t){return e(t.dispatch,d)}(S)}),[S]),T=(0,o.useMemo)((function(){if(!N)return f;var e=(0,p.X)(S,j?null:C.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[S,j,C]),O=T[0],P=T[1],M=(0,o.useMemo)((function(){return j?C:(0,s.Z)({},C,{subscription:O})}),[j,C,O]),A=(0,o.useReducer)(v,g,E),Z=A[0][0],R=A[1];if(Z&&Z.error)throw Z.error;var L=(0,o.useRef)(),z=(0,o.useRef)(m),I=(0,o.useRef)(),D=(0,o.useRef)(!1),F=w((function(){return I.current&&m===z.current?I.current:x(S.getState(),m)}),[S,Z,m]);k(_,[z,L,D,m,F,I,P]),k(y,[N,S,O,x,z,L,D,I,P,R],[S,O,x]);var V=(0,o.useMemo)((function(){return c().createElement(t,(0,s.Z)({},F,{ref:u}))}),[u,t,F]);return(0,o.useMemo)((function(){return N?c().createElement(b.Provider,{value:M},V):V}),[b,V,M])}var S=m?c().memo(C):C;if(S.WrappedComponent=t,S.displayName=C.displayName=i,P){var x=c().forwardRef((function(e,t){return c().createElement(S,(0,s.Z)({},e,{reactReduxForwardedRef:t}))}));return x.displayName=i,x.WrappedComponent=t,a()(x,t)}return a()(S,t)}}},1479:function(e,t,n){"use strict";var s=n(255),r=n(7921),i=n(5642),a=n(8588),o=n(2320),c=n(2004),l=n(4769),p=n(8164),u=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function d(e,t,n){for(var s=t.length-1;s>=0;s--){var r=t[s](e);if(r)return r}return function(t,s){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+s.wrappedComponentName+".")}}function m(e,t){return e===t}function h(e){var t=void 0===e?{}:e,n=t.connectHOC,h=void 0===n?i.Z:n,g=t.mapStateToPropsFactories,f=void 0===g?c.ZP:g,v=t.mapDispatchToPropsFactories,k=void 0===v?o.ZP:v,_=t.mergePropsFactories,y=void 0===_?l.ZP:_,E=t.selectorFactory,w=void 0===E?p.ZP:E;return function(e,t,n,i){void 0===i&&(i={});var o=i,c=o.pure,l=void 0===c||c,p=o.areStatesEqual,g=void 0===p?m:p,v=o.areOwnPropsEqual,_=void 0===v?a.Z:v,E=o.areStatePropsEqual,b=void 0===E?a.Z:E,C=o.areMergedPropsEqual,j=void 0===C?a.Z:C,S=(0,r.Z)(o,u),N=d(e,f,"mapStateToProps"),x=d(t,k,"mapDispatchToProps"),T=d(n,y,"mergeProps");return h(w,(0,s.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:N,initMapDispatchToProps:x,initMergeProps:T,pure:l,areStatesEqual:g,areOwnPropsEqual:_,areStatePropsEqual:b,areMergedPropsEqual:j},S))}}t.Z=h()},2320:function(e,t,n){"use strict";var s=n(7059),r=n(278);t.ZP=[function(e){return"function"==typeof e?(0,r.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,r.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,r.dX)((function(t){return(0,s.Z)(e,t)})):void 0}]},2004:function(e,t,n){"use strict";var s=n(278);t.ZP=[function(e){return"function"==typeof e?(0,s.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,s.dX)((function(){return{}}))}]},4769:function(e,t,n){"use strict";var s=n(255);function r(e,t,n){return(0,s.Z)({},n,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var s,r=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,o){var c=e(t,n,o);return a?r&&i(c,s)||(s=c):(a=!0,s=c),s}}}(e):void 0},function(e){return e?void 0:function(){return r}}]},8164:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});var s=n(7921),r=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function i(e,t,n,s){return function(r,i){return n(e(r,i),t(s,i),i)}}function a(e,t,n,s,r){var i,a,o,c,l,p=r.areStatesEqual,u=r.areOwnPropsEqual,d=r.areStatePropsEqual,m=!1;function h(r,m){var h,g,f=!u(m,a),v=!p(r,i);return i=r,a=m,f&&v?(o=e(i,a),t.dependsOnOwnProps&&(c=t(s,a)),l=n(o,c,a)):f?(e.dependsOnOwnProps&&(o=e(i,a)),t.dependsOnOwnProps&&(c=t(s,a)),l=n(o,c,a)):v?(h=e(i,a),g=!d(h,o),o=h,g&&(l=n(o,c,a)),l):l}return function(r,p){return m?h(r,p):(o=e(i=r,a=p),c=t(s,a),l=n(o,c,a),m=!0,l)}}function o(e,t){var n=t.initMapStateToProps,o=t.initMapDispatchToProps,c=t.initMergeProps,l=(0,s.Z)(t,r),p=n(e,l),u=o(e,l),d=c(e,l);return(l.pure?a:i)(p,u,d,e,l)}},278:function(e,t,n){"use strict";function s(e){return function(t,n){var s=e(t,n);function r(){return s}return r.dependsOnOwnProps=!1,r}}function r(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){n.displayName;var s=function(e,t){return s.dependsOnOwnProps?s.mapToProps(e,t):s.mapToProps(e)};return s.dependsOnOwnProps=!0,s.mapToProps=function(t,n){s.mapToProps=e,s.dependsOnOwnProps=r(e);var i=s(t,n);return"function"==typeof i&&(s.mapToProps=i,s.dependsOnOwnProps=r(i),i=s(t,n)),i},s}}n.d(t,{dX:function(){return s},xv:function(){return i}})},1654:function(e,t,n){"use strict";n.d(t,{$j:function(){return r.Z},zt:function(){return s.Z}});var s=n(1290),r=(n(5642),n(373),n(1479));n(7518),n(8882),n(6271)},7518:function(e,t,n){"use strict";n(373),n(6271)},2830:function(e,t,n){"use strict";n(9196),n(373)},8882:function(e,t,n){"use strict";n(9196),n(2830),n(5053),n(999),n(373)},6271:function(e,t,n){"use strict";n(9196),n(373),n(2830)},9309:function(e,t,n){"use strict";n.d(t,{$j:function(){return s.$j},zt:function(){return s.zt}});var s=n(1654),r=n(9523);(0,n(2935).F)(r.m)},5053:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var s=n(2935);var r={notify:function(){},get:function(){return[]}};function i(e,t){var n,i=r;function a(){c.onStateChange&&c.onStateChange()}function o(){var r,o,c;n||(n=t?t.addNestedSub(a):e.subscribe(a),r=(0,s.k)(),o=null,c=null,i={clear:function(){o=null,c=null},notify:function(){r((function(){for(var e=o;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=o;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=c={callback:e,next:null,prev:c};return n.prev?n.prev.next=n:o=n,function(){t&&null!==o&&(t=!1,n.next?n.next.prev=n.prev:c=n.prev,n.prev?n.prev.next=n.next:o=n.next)}}})}var c={addNestedSub:function(e){return o(),i.subscribe(e)},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:a,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,i.clear(),i=r)},getListeners:function(){return i}};return c}},2935:function(e,t,n){"use strict";n.d(t,{F:function(){return r},k:function(){return i}});var s=function(e){e()},r=function(e){return s=e},i=function(){return s}},7059:function(e,t,n){"use strict";function s(e,t){var n={},s=function(s){var r=e[s];"function"==typeof r&&(n[s]=function(){return t(r.apply(void 0,arguments))})};for(var r in e)s(r);return n}n.d(t,{Z:function(){return s}})},9523:function(e,t,n){"use strict";n.d(t,{m:function(){return s.unstable_batchedUpdates}});var s=n(1850)},8588:function(e,t,n){"use strict";function s(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function r(e,t){if(s(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!s(e[n[i]],t[n[i]]))return!1;return!0}n.d(t,{Z:function(){return r}})},999:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var s=n(9196),r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?s.useLayoutEffect:s.useEffect},7453:function(e,t,n){"use strict";n.d(t,{UT:function(){return u}});var s=n(4498),r=n(1806),i=n(9196),a=n.n(i),o=n(2511),c=n(255),l=n(7921),p=n(6692);a().Component;var u=function(e){function t(){for(var t,n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(t=e.call.apply(e,[this].concat(s))||this).history=(0,o.q_)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return a().createElement(s.F0,{history:this.history,children:this.props.children})},t}(a().Component);var d=function(e,t){return"function"==typeof e?e(t):e},m=function(e,t){return"string"==typeof e?(0,o.ob)(e,null,null,t):e},h=function(e){return e},g=a().forwardRef;void 0===g&&(g=h);var f=g((function(e,t){var n=e.innerRef,s=e.navigate,r=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),o=i.target,p=(0,c.Z)({},i,{onClick:function(e){try{r&&r(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||o&&"_self"!==o||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),s())}});return p.ref=h!==g&&t||n,a().createElement("a",p)}));var v=g((function(e,t){var n=e.component,r=void 0===n?f:n,i=e.replace,o=e.to,u=e.innerRef,v=(0,l.Z)(e,["component","replace","to","innerRef"]);return a().createElement(s.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var n=e.history,s=m(d(o,e.location),e.location),l=s?n.createHref(s):"",f=(0,c.Z)({},v,{href:l,navigate:function(){var t=d(o,e.location);(i?n.replace:n.push)(t)}});return h!==g?f.ref=t||u:f.innerRef=u,a().createElement(r,f)}))})),k=function(e){return e},_=a().forwardRef;void 0===_&&(_=k);_((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,i=e.activeClassName,o=void 0===i?"active":i,u=e.activeStyle,h=e.className,g=e.exact,f=e.isActive,y=e.location,E=e.sensitive,w=e.strict,b=e.style,C=e.to,j=e.innerRef,S=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a().createElement(s.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var n=y||e.location,i=m(d(C,n),n),l=i.pathname,N=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=N?(0,s.LX)(n.pathname,{path:N,exact:g,sensitive:E,strict:w}):null,T=!!(f?f(x,n):x),O=T?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(h,o):h,P=T?(0,c.Z)({},b,{},u):b,M=(0,c.Z)({"aria-current":T&&r||null,className:O,style:P,to:i},S);return k!==_?M.ref=t||j:M.innerRef=j,a().createElement(v,M)}))}))},4498:function(e,t,n){"use strict";n.d(t,{AW:function(){return T},EN:function(){return R},F0:function(){return _},LX:function(){return x},NL:function(){return E},l_:function(){return j},rs:function(){return U},s6:function(){return k}});var s=n(1806),r=n(9196),i=n.n(r),a=n(2511),o=n(8385),c=n(6692),l=n(255),p=n(70),u=n.n(p),d=(n(3801),n(7921)),m=n(7692),h=n.n(m),g=function(e){var t=(0,o.Z)();return t.displayName=e,t},f=g("Router-History"),v=function(e){var t=(0,o.Z)();return t.displayName=e,t},k=v("Router"),_=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,s.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i().createElement(k.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(f.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i().Component);i().Component;var y=function(e){function t(){return e.apply(this,arguments)||this}(0,s.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i().Component);function E(e){var t=e.message,n=e.when,s=void 0===n||n;return i().createElement(k.Consumer,null,(function(e){if(e||(0,c.Z)(!1),!s||e.staticContext)return null;var n=e.history.block;return i().createElement(y,{onMount:function(e){e.release=n(t)},onUpdate:function(e,s){s.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var w={},b=0;function C(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(w[e])return w[e];var t=u().compile(e);return b<1e4&&(w[e]=t,b++),t}(e)(t,{pretty:!0})}function j(e){var t=e.computedMatch,n=e.to,s=e.push,r=void 0!==s&&s;return i().createElement(k.Consumer,null,(function(e){e||(0,c.Z)(!1);var s=e.history,o=e.staticContext,p=r?s.push:s.replace,u=(0,a.ob)(t?"string"==typeof n?C(n,t.params):(0,l.Z)({},n,{pathname:C(n.pathname,t.params)}):n);return o?(p(u),null):i().createElement(y,{onMount:function(){p(u)},onUpdate:function(e,t){var n=(0,a.ob)(t.to);(0,a.Hp)(n,(0,l.Z)({},u,{key:n.key}))||p(u)},to:n})}))}var S={},N=0;function x(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,s=n.path,r=n.exact,i=void 0!==r&&r,a=n.strict,o=void 0!==a&&a,c=n.sensitive,l=void 0!==c&&c;return[].concat(s).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var s=function(e,t){var n=""+t.end+t.strict+t.sensitive,s=S[n]||(S[n]={});if(s[e])return s[e];var r=[],i={regexp:u()(e,r,t),keys:r};return N<1e4&&(s[e]=i,N++),i}(n,{end:i,strict:o,sensitive:l}),r=s.regexp,a=s.keys,c=r.exec(e);if(!c)return null;var p=c[0],d=c.slice(1),m=e===p;return i&&!m?null:{path:n,url:"/"===n&&""===p?"/":p,isExact:m,params:a.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var T=function(e){function t(){return e.apply(this,arguments)||this}return(0,s.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(k.Consumer,null,(function(t){t||(0,c.Z)(!1);var n=e.props.location||t.location,s=e.props.computedMatch?e.props.computedMatch:e.props.path?x(n.pathname,e.props):t.match,r=(0,l.Z)({},t,{location:n,match:s}),a=e.props,o=a.children,p=a.component,u=a.render;return Array.isArray(o)&&0===o.length&&(o=null),i().createElement(k.Provider,{value:r},r.match?o?"function"==typeof o?o(r):o:p?i().createElement(p,r):u?u(r):null:"function"==typeof o?o(r):null)}))},t}(i().Component);function O(e){return"/"===e.charAt(0)?e:"/"+e}function P(e,t){if(!e)return t;var n=O(e);return 0!==t.pathname.indexOf(n)?t:(0,l.Z)({},t,{pathname:t.pathname.substr(n.length)})}function M(e){return"string"==typeof e?e:(0,a.Ep)(e)}function A(e){return function(){(0,c.Z)(!1)}}function Z(){}i().Component;var U=function(e){function t(){return e.apply(this,arguments)||this}return(0,s.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(k.Consumer,null,(function(t){t||(0,c.Z)(!1);var n,s,r=e.props.location||t.location;return i().Children.forEach(e.props.children,(function(e){if(null==s&&i().isValidElement(e)){n=e;var a=e.props.path||e.props.from;s=a?x(r.pathname,(0,l.Z)({},e.props,{path:a})):t.match}})),s?i().cloneElement(n,{location:r,computedMatch:s}):null}))},t}(i().Component);function R(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,s=(0,d.Z)(t,["wrappedComponentRef"]);return i().createElement(k.Consumer,null,(function(t){return t||(0,c.Z)(!1),i().createElement(e,(0,l.Z)({},s,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}i().useContext},4561:function(e,t,n){"use strict";n(7563);var s=n(9196),r=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),t.Fragment=i("react.fragment")}var a=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var s,i={},l=null,p=null;for(s in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(p=t.ref),t)o.call(t,s)&&!c.hasOwnProperty(s)&&(i[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===i[s]&&(i[s]=t[s]);return{$$typeof:r,type:e,key:l,ref:p,props:i,_owner:a.current}}t.jsx=l,t.jsxs=l},275:function(e,t,n){"use strict";e.exports=n(4561)},5385:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,s=t.getState;return function(t){return function(r){return"function"==typeof r?r(n,s,e):t(r)}}}}var s=n();s.withExtraArgument=n,t.Z=s},835:function(e,t,n){"use strict";n.d(t,{DE:function(){return u},MT:function(){return o},UY:function(){return l},md:function(){return f},qC:function(){return g}});var s=n(407),r=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+r(),REPLACE:"@@redux/REPLACE"+r(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+r()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function o(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,l=t,p=[],u=p,d=!1;function m(){u===p&&(u=p.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function g(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return m(),u.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,m();var n=u.indexOf(e);u.splice(n,1),p=null}}}function f(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,l=c(l,e)}finally{d=!1}for(var t=p=u,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,f({type:i.REPLACE})}function k(){var e,t=g;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[s.Z]=function(){return this},e}return f({type:i.INIT}),(r={dispatch:f,subscribe:g,getState:h,replaceReducer:v})[s.Z]=k,r}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function l(e){for(var t=Object.keys(e),n={},s=0;s<t.length;s++){var r=t[s];0,"function"==typeof e[r]&&(n[r]=e[r])}var a,o=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var s=!1,r={},i=0;i<o.length;i++){var l=o[i],p=n[l],u=e[l],d=p(u,t);if(void 0===d){var m=c(l,t);throw new Error(m)}r[l]=d,s=s||d!==u}return(s=s||o.length!==Object.keys(e).length)?r:e}}function p(e,t){return function(){return t(e.apply(this,arguments))}}function u(e,t){if("function"==typeof e)return p(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var s in e){var r=e[s];"function"==typeof r&&(n[s]=p(r,t))}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),s=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:n.getState,dispatch:function(){return s.apply(void 0,arguments)}},i=t.map((function(e){return e(r)}));return h({},n,{dispatch:s=g.apply(void 0,i)(n.dispatch)})}}}},4456:function(e,t){"use strict";function n(e){return"/"===e.charAt(0)}function s(e,t){for(var n=t,s=n+1,r=e.length;s<r;n+=1,s+=1)e[n]=e[s];e.pop()}t.Z=function(e,t){void 0===t&&(t="");var r,i=e&&e.split("/")||[],a=t&&t.split("/")||[],o=e&&n(e),c=t&&n(t),l=o||c;if(e&&n(e)?a=i:i.length&&(a.pop(),a=a.concat(i)),!a.length)return"/";if(a.length){var p=a[a.length-1];r="."===p||".."===p||""===p}else r=!1;for(var u=0,d=a.length;d>=0;d--){var m=a[d];"."===m?s(a,d):".."===m?(s(a,d),u++):u&&(s(a,d),u--)}if(!l)for(;u--;u)a.unshift("..");!l||""===a[0]||a[0]&&n(a[0])||a.unshift("");var h=a.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h}},2659:function(e,t,n){"use strict";function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}t.Z=void 0;var r,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!=a&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(9196)),a=(r=n(5844))&&r.__esModule?r:{default:r},o=["size","onClick","icon","className"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(){return l=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},l.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,s,r=function(e,t){if(null==e)return{};var n,s,r={},i=Object.keys(e);for(s=0;s<i.length;s++)n=i[s],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(s=0;s<i.length;s++)n=i[s],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n,s=0;s<t.length;s++)(n=t[s]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,s=f(e);if(t){var r=f(this).constructor;n=Reflect.construct(s,arguments,r)}else n=s.apply(this,arguments);return g(this,n)}}function g(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(e){function t(){return u(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e);var n=h(t);return function(e,t,n){t&&d(e.prototype,t),n&&d(e,n)}(t,[{key:"render",value:function(){var e,t=this.props,n=t.size,s=t.onClick,r=t.icon,a=t.className,c=p(t,o),u=["social-logo","social-logo-"+r,a].filter(Boolean).join(" ");switch(r){default:e=i.default.createElement("svg",l({height:n,width:n},c));break;case"amazon":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.589.589 0 00.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.061v.369zm-.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.015zm7.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.55zm.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684-.301-.386-1.99-.183-2.749-.092-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59z"})));break;case"behance":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156.482.102.894.273 1.241.507.344.235.612.546.804.938.188.387.281.871.281 1.443 0 .619-.141 1.137-.421 1.551-.284.413-.7.751-1.255 1.014.756.218 1.317.601 1.689 1.146.374.549.557 1.205.557 1.975 0 .623-.12 1.161-.359 1.612a3.144 3.144 0 01-.973 1.114c-.408.288-.876.5-1.399.637A6.144 6.144 0 017.963 18H2V5.698h5.799m-.35 4.97c.481 0 .878-.114 1.192-.345.311-.228.463-.603.463-1.119 0-.286-.051-.523-.152-.707a1.123 1.123 0 00-.416-.427 1.733 1.733 0 00-.596-.216 3.616 3.616 0 00-.697-.06H4.709v2.874h2.74zm.151 5.237c.267 0 .521-.024.759-.077.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491.11-.206.163-.474.163-.798 0-.633-.18-1.084-.533-1.357-.356-.27-.83-.404-1.413-.404H4.709v3.388H7.6zm8.562-.041c.367.358.897.538 1.583.538.493 0 .92-.125 1.277-.374.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693-.701 0-1.332-.113-1.899-.337a4.041 4.041 0 01-1.439-.958 4.364 4.364 0 01-.904-1.484 5.433 5.433 0 01-.32-1.899c0-.666.11-1.288.329-1.863a4.36 4.36 0 01.933-1.492c.406-.42.885-.751 1.444-.994a4.63 4.63 0 011.857-.363c.754 0 1.414.145 1.98.44a3.941 3.941 0 011.389 1.181 4.82 4.82 0 01.783 1.69c.16.632.217 1.292.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496-.39 0-.714.066-.973.2a1.972 1.972 0 00-.621.491 1.772 1.772 0 00-.328.628 2.695 2.695 0 00-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41zm-3.916-3.446h4.985V6.524h-4.985v1.214z"})));break;case"blogger-alt":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 01-1.16-1.079l-.001-.013A5.813 5.813 0 0011.803 3H8.871a5.813 5.813 0 00-5.813 5.813v6.375a5.813 5.813 0 005.813 5.813h6.257a5.814 5.814 0 005.813-5.813l.002-4.121a1.164 1.164 0 00-1.164-1.163zM8.726 7.713h3.291a1.117 1.117 0 110 2.234H8.726a1.117 1.117 0 110-2.234zm6.601 8.657H8.72a1.057 1.057 0 110-2.114h6.607a1.057 1.057 0 110 2.114z"})));break;case"blogger":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M14.722 14.019a.654.654 0 01-.654.654H9.977a.654.654 0 010-1.308h4.091c.361 0 .654.293.654.654zm-4.741-3.321h2.038a.692.692 0 000-1.384H9.981a.692.692 0 000 1.384zM21 5v14a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2zm-3.456 6.39a.72.72 0 00-.72-.72h-.607l-.013.001a.72.72 0 01-.718-.668l-.001-.008a3.599 3.599 0 00-3.599-3.599H10.07a3.599 3.599 0 00-3.599 3.599v3.947a3.6 3.6 0 003.599 3.599h3.874a3.599 3.599 0 003.599-3.599l.001-2.552z"})));break;case"codepen":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22.016 8.84l-.007-.037c-.005-.025-.008-.048-.015-.072-.003-.015-.01-.028-.013-.042l-.023-.062-.02-.042a.391.391 0 00-.03-.057.357.357 0 00-.025-.038l-.035-.052-.03-.037c-.015-.017-.028-.032-.043-.045-.01-.012-.022-.023-.035-.035a.442.442 0 00-.048-.04l-.037-.03-.015-.012-9.161-6.096a.864.864 0 00-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 00-.078.082c-.012.013-.022.023-.03.037-.011.017-.025.035-.035.052a.498.498 0 01-.025.038c-.011.022-.021.039-.03.059a.39.39 0 01-.02.041 1.184 1.184 0 00-.034.106c-.007.023-.011.046-.016.071-.001.014-.005.025-.006.037a.73.73 0 00-.009.114v6.093c0 .037.003.075.008.112l.007.038c.005.023.008.047.015.072a.209.209 0 00.013.04c.007.022.013.042.022.063l.02.04a.4.4 0 00.055.096l.035.052.03.037a.603.603 0 00.042.045l.035.035c.015.013.032.028.048.04l.038.03.013.01 9.163 6.095a.858.858 0 00.959.004l9.163-6.095.015-.01c.013-.01.027-.02.037-.03a.534.534 0 00.048-.04c.013-.012.025-.023.035-.035.017-.015.03-.032.043-.045l.03-.037a.678.678 0 00.035-.052l.025-.038a.4.4 0 00.03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04.007-.025.01-.048.015-.072l.007-.037c.003-.042.007-.079.007-.117V8.954a.625.625 0 00-.008-.114zm-9.154-4.376l6.751 4.49-3.016 2.013-3.735-2.492V4.464zm-1.724 0v4.009l-3.735 2.494-3.014-2.013 6.749-4.49zm-7.439 6.098L5.853 12l-2.155 1.438v-2.876zm7.439 8.974l-6.749-4.491 3.015-2.011 3.735 2.492v4.01zM12 14.035L8.953 12 12 9.966 15.047 12 12 14.035zm.862 5.501v-4.009l3.735-2.492 3.016 2.011-6.751 4.49zm7.441-6.098L18.147 12l2.156-1.438v2.876z"})));break;case"dribbble":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10zm8.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 003.661-5.725zm-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 0012 20.555a8.488 8.488 0 003.336-.679zm-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637.111-.036.224-.07.337-.102a29.017 29.017 0 00-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 002.19 5.973zm-2.015-7.46c.382.005 3.901.02 7.897-1.041a54.477 54.477 0 00-3.167-4.94 8.572 8.572 0 00-4.73 5.981zm6.359-6.555a45.7 45.7 0 013.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.508 8.508 0 00-7.664-1.915zm8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27.028 27.028 0 01.751 1.678c2.842-.357 5.666.215 5.948.275a8.503 8.503 0 00-1.929-5.32z"})));break;case"dropbox":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 6.134L6.069 9.797 2 6.54l5.883-3.843L12 6.134zm-10 6.92l5.883 3.843L12 13.459 6.069 9.797 2 13.054zm10 .405l4.116 3.439L22 13.054l-4.069-3.257L12 13.459zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663L22 6.54zm-9.989 7.66l-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153-4.128-3.426z"})));break;case"eventbrite":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M18.041 3.931L5.959 3A2.96 2.96 0 003 5.959v12.083A2.96 2.96 0 005.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959zM16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048-.152.708-.304 1.416-.451 2.128.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.17 2.17 0 01-.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-.841a3542.51 3542.51 0 011.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 01.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.783z",fillRule:"evenodd",clipRule:"evenodd"})));break;case"facebook":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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-10z"})));break;case"feed":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333zM2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2zm2.5 15a2.5 2.5 0 100 5 2.5 2.5 0 000-5z"})));break;case"flickr":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})));break;case"foursquare":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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 2zm-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.715-.072.353-.407 2.102-.448 2.295-.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.683l-.446 2.333z"})));break;case"ghost":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198v3.599zm10.792-3.599h-7.193v3.599h7.193v-3.599zm.003-7.198H3v3.599h17.998V10.2zm-7.195-7.197H3.005v3.599h10.798V3.003zm7.197 0h-3.599v3.599H21V3.003z"})));break;case"github":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.548 9.548 0 0112 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.481A9.997 9.997 0 0022 12c0-5.523-4.477-10-10-10z"})));break;case"google-alt":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-.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.672 0 2.022 1.62 3.672 3.606 3.672 2.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.862z"})));break;case"google-plus-alt":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.02H8V11zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})));break;case"google-plus":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.919 14.05a4.051 4.051 0 010-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.229 2.229 0 00-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.956zM19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"})));break;case"google":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.05h-9.36z"})));break;case"instagram":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.673.315.315.51.615.673 1.035.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.035-.315.315-.615.51-1.035.673-.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.786 2.786 0 01-1.035-.673 2.786 2.786 0 01-.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.035.315-.315.615-.51 1.035-.673.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.401 4.401 0 00-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.411 4.411 0 001.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.411 4.411 0 0019.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 3zm0 4.378a4.622 4.622 0 100 9.244 4.622 4.622 0 000-9.244zM12 15a3 3 0 110-6 3 3 0 010 6zm4.804-8.884a1.08 1.08 0 10.001 2.161 1.08 1.08 0 00-.001-2.161z"})));break;case"link":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M17 13H7v-2h10v2zm1-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 004-4v-2a4 4 0 00-4-4zM2 11v2a4 4 0 004 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 00-4 4z"})));break;case"linkedin":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 003 4.3v15.4A1.3 1.3 0 004.3 21h15.4a1.3 1.3 0 001.3-1.3V4.3A1.3 1.3 0 0019.7 3zM8.339 18.338H5.667v-8.59h2.672v8.59zM7.004 8.574a1.548 1.548 0 11-.002-3.096 1.548 1.548 0 01.002 3.096zm11.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"})));break;case"mail":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"medium-alt":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{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-6zm9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648-1.636 0-2.962-2.53-2.962-5.649s1.325-5.649 2.96-5.649zm4.577.589c.576 0 1.042 2.265 1.042 5.06 0 2.794-.466 5.06-1.042 5.06-.575 0-1.04-2.265-1.04-5.06 0-2.794.465-5.06 1.04-5.06z",fillRule:"nonzero"})));break;case"medium":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M3 3v18h18V3H3zm15 4.26l-1 .93a.28.28 0 00-.11.27v6.8a.27.27 0 00.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 00.17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 00.17-.54V9a.5.5 0 00-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18v.2z"})));break;case"patreon":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.975 5a5.05 5.05 0 00-5.041 5.046c0 2.774 2.261 5.03 5.04 5.03A5.034 5.034 0 0019 10.047C19 7.264 16.746 5 13.975 5zM5 18.44h2.461V5H5v13.44z"})));break;case"pinterest-alt":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.365.365 0 00-.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"})));break;case"pinterest":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.297.297 0 01.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 2z"})));break;case"pocket":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0020.222 3H3.839a1.823 1.823 0 00-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.897 9.897 0 003.91 1.727 10.06 10.06 0 004.049-.014.261.261 0 00.064-.023 9.906 9.906 0 003.753-1.691l.025-.018c.04-.029.08-.058.119-.089 2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.792 1.792 0 00-.098-.62zm-4.235 6.287l-4.704 4.512a1.372 1.372 0 01-1.898 0l-4.705-4.512a1.371 1.371 0 111.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 011.898 1.979z"})));break;case"polldaddy":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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-10zm.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.775 7.775 0 00-6.094-2.94 7.764 7.764 0 00-5.896 2.703c-.006.003-.01.01-.016.014l-.152.159-.031.032a6.122 6.122 0 00-1.633 4.165 6.15 6.15 0 006.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.386 7.386 0 016.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68zm3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.673 3.673 0 00.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.362 2.362 0 00.753 1.879c.501.476 1.23.667 1.871.529a2.067 2.067 0 001.469-1.134 1.912 1.912 0 00-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.698 1.698 0 00-1.437.679 1.525 1.525 0 00-.18 1.489c.004.011.01.021.016.03.193.634.774 1.1 1.467 1.117a1.618 1.618 0 01-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 01.499-1.539 2.016 2.016 0 011.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.515 2.515 0 01-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.825 2.825 0 01-.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.216 5.216 0 01-1.947-.376 5.01 5.01 0 002.613-.079 4.955 4.955 0 002.514-1.751c.618-.828.95-1.861.901-2.869zM12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a6.548 6.548 0 00-.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.041z"})));break;case"print":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3a2 2 0 01-2 2H7a2 2 0 01-2-2v-3H2V9a2 2 0 012-2h1V5a2 2 0 012-2h10a2 2 0 012 2v2h1a2 2 0 012 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5a1.5 1.5 0 10-3.001.001A1.5 1.5 0 0020 10.5z"})));break;case"reddit":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22 11.816a2.279 2.279 0 00-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.878 1.878 0 001.876 1.862 1.88 1.88 0 001.877-1.878 1.88 1.88 0 00-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 00-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 00-1.492-.581A2.279 2.279 0 002 11.816c0 .814.433 1.523 1.078 1.925a4.056 4.056 0 00-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97c0-.214-.02-.424-.053-.632A2.259 2.259 0 0022 11.816zm-3.224-7.422a1.1 1.1 0 11-.001 2.199 1.1 1.1 0 01.001-2.199zM2.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.482 1.482 0 01-.525-1.129zm9.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.193zm8.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.185zm-11.64 1.703c-.76 0-1.397-.616-1.397-1.376 0-.76.637-1.397 1.397-1.397s1.376.637 1.376 1.397-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.616 1.376-1.376 1.376-.76 0-1.399-.616-1.399-1.376 0-.76.639-1.397 1.399-1.397s1.376.637 1.376 1.397zm-1.172 3.38a.389.389 0 010 .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 11.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 01.549 0z"})));break;case"share":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.118A2.981 2.981 0 0015 19a3 3 0 103-3z"})));break;case"skype":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M10.113 2.699l.1-.02c.033.017.066.033.098.051l-.198-.031zM2.72 10.223l-.017.103c.018.032.033.064.051.095l-.034-.198zm18.555 3.548c.007-.035.011-.071.018-.106-.018-.031-.033-.064-.052-.095l.034.201zm-7.712 7.428c.032.019.065.035.096.053l.105-.017-.201-.036zM22 16.386a5.55 5.55 0 01-1.637 3.953 5.548 5.548 0 01-3.953 1.637 5.575 5.575 0 01-2.75-.725l.105-.017-.202-.035c.032.019.065.035.096.053a9.524 9.524 0 01-1.654.147 9.375 9.375 0 01-3.676-.743 9.38 9.38 0 01-3.002-2.023 9.397 9.397 0 01-2.023-3.002 9.375 9.375 0 01-.743-3.676c0-.546.049-1.093.142-1.628.018.032.033.064.051.095l-.034-.199-.017.103A5.586 5.586 0 012 7.615c0-1.493.582-2.898 1.637-3.953A5.555 5.555 0 017.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031c-.032-.018-.066-.034-.098-.051l.004-.001a9.543 9.543 0 011.788-.169 9.41 9.41 0 016.678 2.766 9.4 9.4 0 012.024 3.002 9.375 9.375 0 01.743 3.676c0 .575-.054 1.15-.157 1.712-.018-.031-.033-.064-.052-.095l.034.201c.007-.035.011-.071.018-.106.461.829.707 1.767.707 2.721zm-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237 0-.794.679-1.348 1.903-1.348 2.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.599z"})));break;case"spotify":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.622.622 0 01-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 11-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 01.206.857M17.81 13.7a.78.78 0 01-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 116.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 01.256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 11-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 11-.955 1.608"})));break;case"squarespace":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 00-5.458 0l-6.141 6.141a.964.964 0 101.365 1.364l6.14-6.14a1.929 1.929 0 112.729 2.729l-6.022 6.022a1.929 1.929 0 002.729 0l4.658-4.658a3.86 3.86 0 000-5.458zm-2.047 2.047a.965.965 0 00-1.365 0l-6.14 6.14a1.929 1.929 0 01-2.729 0 .964.964 0 10-1.364 1.364 3.86 3.86 0 005.458 0l6.14-6.14a.966.966 0 000-1.364zm-2.047-6.141a3.858 3.858 0 00-5.458 0l-6.14 6.14a.964.964 0 101.364 1.364l6.141-6.14a1.929 1.929 0 012.729 0 .965.965 0 101.364-1.364zm-2.047 2.047a.964.964 0 00-1.364 0l-6.14 6.141a1.929 1.929 0 11-2.729-2.729l6.022-6.022a1.929 1.929 0 00-2.729 0L3.13 9.271a3.86 3.86 0 005.458 5.458l6.14-6.141a.963.963 0 00.001-1.364z"})));break;case"stumbleupon":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 4.294a4.471 4.471 0 00-4.471 4.471v6.353a1.059 1.059 0 11-2.118 0v-2.824H2v2.941a4.471 4.471 0 008.942 0v-6.47a1.059 1.059 0 112.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0012 4.294zm1.059 8.059v2.882a4.471 4.471 0 008.941 0v-2.824h-3.412v2.824a1.059 1.059 0 11-2.118 0v-2.882l-2 .647-1.411-.647z"})));break;case"telegram":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486-.15-.475-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238l-1.786 9.004z"})));break;case"tiktok-alt":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2H5zm9.584 3h-2.052l.019 8.128a1.73 1.73 0 11-1.215-1.65v-2.084h-.533a3.804 3.804 0 103.803 3.803l-.022-4.207c1.268.968 2.85.869 2.85.869V8.82C14.47 8.636 14.584 6 14.584 6z"})));break;case"tiktok":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.011a6.338 6.338 0 11-6.34-6.338h.89v3.472a2.882 2.882 0 102.024 2.752L12.22 2z"})));break;case"tumblr-alt":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.126l-.924-2.743z"})));break;case"tumblr":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-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.656z"})));break;case"twitch":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636v-4.91zm-4.499 0h-1.637v4.91H12v-4.91zM4.228 3.178L3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178H4.228zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501v9.002z"})));break;case"twitter-alt":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22.23 5.924a8.212 8.212 0 01-2.357.646 4.115 4.115 0 001.804-2.27 8.221 8.221 0 01-2.606.996 4.103 4.103 0 00-6.991 3.742 11.647 11.647 0 01-8.457-4.287 4.087 4.087 0 00-.556 2.063 4.1 4.1 0 001.825 3.415 4.09 4.09 0 01-1.859-.513v.052a4.104 4.104 0 003.292 4.023 4.099 4.099 0 01-1.853.07 4.11 4.11 0 003.833 2.85 8.236 8.236 0 01-5.096 1.756 8.33 8.33 0 01-.979-.057 11.617 11.617 0 006.29 1.843c7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.531a8.298 8.298 0 002.047-2.123z"})));break;case"twitter":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-2.534 6.71c.004.099.007.198.007.298 0 3.045-2.318 6.556-6.556 6.556a6.52 6.52 0 01-3.532-1.035 4.626 4.626 0 003.412-.954 2.307 2.307 0 01-2.152-1.6 2.295 2.295 0 001.04-.04 2.306 2.306 0 01-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 01-.713-3.076 6.54 6.54 0 004.749 2.407 2.305 2.305 0 013.926-2.101 4.602 4.602 0 001.463-.559 2.31 2.31 0 01-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192z"})));break;case"vimeo":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22.396 7.164c-.093 2.026-1.507 4.799-4.245 8.32C15.322 19.161 12.928 21 10.97 21c-1.214 0-2.24-1.119-3.079-3.359l-1.68-6.159c-.623-2.239-1.29-3.36-2.005-3.36-.156 0-.701.328-1.634.98l-.978-1.261c1.027-.902 2.04-1.805 3.037-2.708C6.001 3.95 7.03 3.327 7.715 3.264c1.619-.156 2.616.951 2.99 3.321.404 2.557.685 4.147.841 4.769.467 2.121.981 3.181 1.542 3.181.435 0 1.09-.688 1.963-2.065.871-1.376 1.338-2.422 1.401-3.142.125-1.187-.343-1.782-1.401-1.782-.498 0-1.012.115-1.541.341 1.023-3.35 2.977-4.977 5.862-4.884 2.139.063 3.148 1.45 3.024 4.161z"})));break;case"whatsapp":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M2.048 22l1.406-5.136a9.894 9.894 0 01-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.848 9.848 0 017.011 2.906 9.85 9.85 0 012.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.913 9.913 0 01-4.736-1.206L2.048 22zm5.497-3.172l.301.179a8.214 8.214 0 004.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.189 8.189 0 00-2.41-5.828 8.182 8.182 0 00-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.222 8.222 0 001.259 4.384l.196.312-.832 3.04 3.118-.819zm9.49-4.554c-.062-.103-.227-.165-.475-.289-.248-.124-1.465-.723-1.692-.806-.227-.083-.392-.124-.557.124-.165.248-.64.806-.784.971-.144.165-.289.186-.536.062-.248-.124-1.046-.385-1.991-1.229-.736-.657-1.233-1.468-1.378-1.715-.144-.248-.015-.382.109-.505.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413.083-.165.041-.31-.021-.434s-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.91.91 0 00-.66.31c-.226.248-.866.847-.866 2.066 0 1.219.887 2.396 1.011 2.562.124.165 1.746 2.666 4.23 3.739.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.179z"})));break;case"woocommerce":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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-3zm-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-.6.5 0 .8.3.9.9.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.2.2.2.3.4.3.6s0 .4-.1.5z"})));break;case"wordpress":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12.158 12.786L9.46 20.625a8.984 8.984 0 005.526-.144.852.852 0 01-.065-.124l-2.763-7.571zM3.009 12a8.993 8.993 0 005.067 8.092L3.788 8.341A8.952 8.952 0 003.009 12zm15.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.596.04 0 .078.005.116.007A8.963 8.963 0 0012 3.009a8.982 8.982 0 00-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.996c.456-1.169.684-2.137.684-2.907zm1.82-3.86c.039.286.06.593.06.924 0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.984 8.984 0 004.47-7.771 8.922 8.922 0 00-1.1-4.313zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})));break;case"xanga":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M9 9h6v6H9V9zM3 9h6V3H3v6zm12 0h6V3h-6v6zm0 12h6v-6h-6v6zM3 21h6v-6H3v6z"})));break;case"youtube":e=i.default.createElement("svg",l({className:u,height:n,width:n,onClick:s},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.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.237zM9.935 14.594l-.001-5.62 5.404 2.82-5.403 2.8z"})))}return e}}]),t}(i.PureComponent);t.Z=k,v(k,"defaultProps",{size:24}),v(k,"propTypes",{icon:a.default.string.isRequired,size:a.default.number,onClick:a.default.func,className:a.default.string})},407:function(e,t,n){"use strict";var s,r=n(7148);e=n.hmd(e),s="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var i=(0,r.Z)(s);t.Z=i},7148:function(e,t,n){"use strict";function s(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,{Z:function(){return s}})},8750:function(e,t,n){"use strict";n.d(t,{EB:function(){return y},ht:function(){return k}});var s=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],r=s.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o=!i&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},c=function(e,t,n){var s=Array.prototype.slice.apply(e.querySelectorAll(r));return t&&a.call(e,r)&&s.unshift(e),s=s.filter(n)},l=function e(t,n,s){for(var i=[],o=Array.from(t);o.length;){var c=o.shift();if("SLOT"===c.tagName){var l=c.assignedElements(),p=e(l.length?l:c.children,!0,s);s.flatten?i.push.apply(i,p):i.push({scope:c,candidates:p})}else{a.call(c,r)&&s.filter(c)&&(n||!t.includes(c))&&i.push(c);var u=c.shadowRoot||"function"==typeof s.getShadowRoot&&s.getShadowRoot(c);if(u){var d=e(!0===u?c.children:u.children,!0,s);s.flatten?i.push.apply(i,d):i.push({scope:c,candidates:d})}else o.unshift.apply(o,c.children)}}return i},p=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},u=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},d=function(e){return"INPUT"===e.tagName},m=function(e){return function(e){return d(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||o(e),s=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=s(window.CSS.escape(e.name));else try{t=s(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},h=function(e){var t=e.getBoundingClientRect(),n=t.width,s=t.height;return 0===n&&0===s},g=function(e,t){return!(t.disabled||function(e){return d(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,s=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(r,"details:not([open]) *"))return!0;var i=o(e).host,c=(null==i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return h(e)}else{if("function"==typeof s){for(var l=e;e;){var p=e.parentElement,u=o(e);if(p&&!p.shadowRoot&&!0===s(p))return h(e);e=e.assignedSlot?e.assignedSlot:p||u===e.ownerDocument?p:u.host}e=l}if(c)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var s=t.children.item(n);if("LEGEND"===s.tagName)return!!a.call(t,"fieldset[disabled] *")||!s.contains(e)}return!0}t=t.parentElement}return!1}(t))},f=function(e,t){return!(m(t)||p(t)<0||!g(e,t))},v=function e(t){var n=[],s=[];return t.forEach((function(t,r){var i=!!t.scope,a=i?t.scope:t,o=p(a,i),c=i?e(t.candidates):a;0===o?i?n.push.apply(n,c):n.push(a):s.push({documentOrder:r,tabIndex:o,item:t,isScope:i,content:c})})),s.sort(u).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},k=function(e,t){var n;return n=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:f.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,f.bind(null,t)),v(n)},_=s.concat("iframe").join(","),y=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,_)&&g(t,e)}},6975:function(e,t,n){"use strict";var s=n(1128),r=n.n(s),i=n(2819);const a=r()("dops:analytics");let o,c;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,t,n){l.setUser(e,t),l.setSuperProps(n),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){c={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=(0,i.assign)(o,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);l.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);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,s,r,i,a){l.ga.recordPurchase(e,t,n,s,r,i,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(a("- Super Props: %o",o),t=(0,i.assign)(t,o)),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};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.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={};l.ga.initialized||(c&&(e={userId:"u-"+c.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.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,s){l.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==s&&(r+=" [Option Value: "+s+"]"),a(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,s)},recordPurchase:function(e,t,n,s,r,i,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:r,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){c&&window._tkq.push(["identifyUser",c.ID,c.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=l},4743:function(e,t,n){"use strict";var s=n(2819),r=n(6483),i=n(1132);function a(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const o=a("JsonParseError"),c=a("JsonParseAfterRedirectError"),l=a("Api404Error"),p=a("Api404AfterRedirectError"),u=a("FetchNetworkError");const d=new function(e,t){let n=e,a={"X-WP-Nonce":t},o={credentials:"same-origin",headers:a},c={method:"post",credentials:"same-origin",headers:(0,s.assign)({},a,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",s=n.length?n.split("&"):[];return s.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+s.join("&")};const p={setApiRoot(e){n=e},setApiNonce(e){a={"X-WP-Nonce":e},o={credentials:"same-origin",headers:a},c={method:"post",credentials:"same-origin",headers:(0,s.assign)({},a,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const s={registration_nonce:e,no_iframe:!0};return(0,i.jetpackConfigHas)("consumer_slug")&&(s.plugin_slug=(0,i.jetpackConfigGet)("consumer_slug")),null!==t&&(s.redirect_uri=t),d(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(s)}).then(m).then(h)},fetchAuthorizationUrl:e=>u((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(m).then(h),fetchSiteConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(h),fetchSiteConnectionStatus:()=>u(`${n}jetpack/v4/connection`,o).then(h),fetchSiteConnectionTest:()=>u(`${n}jetpack/v4/connection/test`,o).then(m).then(h),fetchUserConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(h),fetchUserTrackingSettings:()=>u(`${n}jetpack/v4/tracking/settings`,o).then(m).then(h),updateUserTrackingSettings:e=>d(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(m).then(h),disconnectSite:()=>d(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(m).then(h),fetchConnectUrl:()=>u(`${n}jetpack/v4/connection/url`,o).then(m).then(h),unlinkUser:()=>d(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(m).then(h),reconnect:()=>d(`${n}jetpack/v4/connection/reconnect`,c).then(m).then(h),fetchConnectedPlugins:()=>u(`${n}jetpack/v4/connection/plugins`,o).then(m).then(h),setHasSeenWCConnectionModal:()=>d(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(m).then(h),fetchModules:()=>u(`${n}jetpack/v4/module/all`,o).then(m).then(h),fetchModule:e=>u(`${n}jetpack/v4/module/${e}`,o).then(m).then(h),activateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(m).then(h),deactivateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>d(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(m).then(h),updateSettings:e=>d(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(m).then(h),getProtectCount:()=>u(`${n}jetpack/v4/module/protect/data`,o).then(m).then(h),resetOptions:e=>d(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(m).then(h),activateVaultPress:()=>d(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(h),getVaultPressData:()=>u(`${n}jetpack/v4/module/vaultpress/data`,o).then(m).then(h),installPlugin:(e,t)=>{const s={slug:e,status:"active"};return t&&(s.source=t),d(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(s)}).then(m).then(h)},activateAkismet:()=>d(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(h),getAkismetData:()=>u(`${n}jetpack/v4/module/akismet/data`,o).then(m).then(h),checkAkismetKey:()=>u(`${n}jetpack/v4/module/akismet/key/check`,o).then(m).then(h),checkAkismetKeyTyped:e=>d(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(m).then(h),fetchStatsData:e=>u(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),o).then(m).then(h).then(g),getPluginUpdates:()=>u(`${n}jetpack/v4/updates/plugins`,o).then(m).then(h),getPlans:()=>u(`${n}jetpack/v4/plans`,o).then(m).then(h),fetchSettings:()=>u(`${n}jetpack/v4/settings`,o).then(m).then(h),updateSetting:e=>d(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(m).then(h),fetchSiteData:()=>u(`${n}jetpack/v4/site`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${n}jetpack/v4/site/features`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${n}jetpack/v4/site/products`,o).then(m).then(h),fetchSitePurchases:()=>u(`${n}jetpack/v4/site/purchases`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${n}jetpack/v4/site/benefits`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${n}jetpack/v4/site/discount`,o).then(m).then(h).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${n}jetpack/v4/setup/questionnaire`,o).then(m).then(h),fetchRecommendationsData:()=>u(`${n}jetpack/v4/recommendations/data`,o).then(m).then(h),fetchRecommendationsProductSuggestions:()=>u(`${n}jetpack/v4/recommendations/product-suggestions`,o).then(m).then(h),fetchRecommendationsUpsell:()=>u(`${n}jetpack/v4/recommendations/upsell`,o).then(m).then(h),fetchRecommendationsConditional:()=>u(`${n}jetpack/v4/recommendations/conditional`,o).then(m).then(h),saveRecommendationsData:e=>d(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>u(`${n}jetpack/v4/products`,o).then(m).then(h),fetchRewindStatus:()=>u(`${n}jetpack/v4/rewind`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${n}jetpack/v4/scan`,o).then(m).then(h).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>d(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(m).then(h),fetchPluginsData:()=>u(`${n}jetpack/v4/plugins`,o).then(m).then(h),fetchIntroOffers:()=>u(`${n}jetpack/v4/intro-offers`,o).then(m).then(h),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,o).then(m).then(h),verifySiteGoogle:e=>d(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(m).then(h),sendMobileLoginEmail:()=>d(`${n}jetpack/v4/mobile/send-login-email`,c).then(m).then(h),submitSurvey:e=>d(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(m).then(h),saveSetupQuestionnaire:e=>d(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(m).then(h),updateLicensingError:e=>d(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(m).then(h),updateLicenseKey:e=>d(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(m).then(h),getUserLicensesCounts:()=>u(`${n}jetpack/v4/licensing/user/counts`,o).then(m).then(h),getUserLicenses:()=>u(`${n}jetpack/v4/licensing/user/licenses`,o).then(m).then(h),updateLicensingActivationNoticeDismiss:e=>d(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(m).then(h),updateRecommendationsStep:e=>d(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>d(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(m),startIDCFresh:e=>d(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(m).then(h),migrateIDC:()=>d(`${n}jetpack/v4/identity-crisis/migrate`,c).then(m),attachLicenses:e=>d(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(m).then(h),fetchSearchPlanInfo:()=>u(`${n}jetpack/v4/search/plan`,o).then(m).then(h),fetchSearchSettings:()=>u(`${n}jetpack/v4/search/settings`,o).then(m).then(h),updateSearchSettings:e=>d(`${n}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(m).then(h),fetchSearchStats:()=>u(`${n}jetpack/v4/search/stats`,o).then(m).then(h),fetchWafSettings:()=>u(`${n}jetpack/v4/waf`,o).then(m).then(h),fetchWordAdsSettings:()=>u(`${n}jetpack/v4/wordads/settings`,o).then(m).then(h),updateWordAdsSettings:e=>d(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${n}jetpack/v4/search/pricing`,o).then(m).then(h)};function u(e,t){return fetch(l(e),t)}function d(e,t,n){return fetch(e,(0,s.assign)({},t,n)).catch(f)}function g(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,s.assign)(this,p)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new p(e.redirected):new l})):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 h(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new c(n):new o}function f(){throw new u}t.ZP=d},7121:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5736),a=n(5609),o=n(5844),c=n.n(o);n(7787);const __=i.__,l=e=>{const{label:t,onClick:n,isLoading:s,displayError:i,errorMessage:o}=e;return r().createElement("div",{className:"jp-action-button"},r().createElement(a.Button,{className:"jp-action-button--button",label:t,onClick:n,variant:"primary",disabled:s},s?r().createElement(a.Spinner,null):t),i&&r().createElement("p",{className:"jp-action-button__error"},o))};l.propTypes={label:c().string.isRequired,onClick:c().func,isLoading:c().bool,displayError:c().bool,errorMessage:c().string},l.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack")},t.Z=l},207:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(5235),c=n.n(o),l=n(5736),p=n(5844),u=n.n(p);const __=l.__,d=e=>{const{title:t,height:n,className:s,...i}=e;return a().createElement("svg",r()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:c()("jp-automattic-byline-logo",s)},i),a().createElement("title",{id:"jp-automattic-byline-logo-title"},t),a().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),a().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),a().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))};d.defaultProps={title:__("An Automattic Airline","jetpack"),height:7,className:""},d.propTypes={title:u().string,height:u().number,className:u().string},t.Z=d},1133:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i);n(6172);const o=e=>{const{format:t,icon:n,imageUrl:s}=e;return r().createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},r().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:s?`url( ${s} )`:""}}),r().createElement("div",{className:"jp-components__decorative-card__content"},r().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(n)return r().createElement("div",{className:"jp-components__decorative-card__icon-container"},r().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n}))})())};o.propTypes={format:a().oneOf(["horizontal","vertical"]),icon:a().oneOf(["unlink"]),imageUrl:a().string},o.defaultProps={format:"horizontal"},t.Z=o},2392:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(5736),c=n(5235),l=n.n(c),p=n(5844),u=n.n(p),d=n(207),m=(n(3527),n(1202));const __=o.__,h=e=>{const{a8cLogoHref:t,moduleName:n,className:s,moduleNameHref:i,...o}=e;return a().createElement("div",r()({className:l()("jp-dashboard-footer",s)},o),a().createElement("div",{className:"jp-dashboard-footer__footer-left"},a().createElement(m.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack")}),a().createElement("span",{className:"jp-dashboard-footer__module-name"},i?a().createElement("a",{href:i,"aria-label":n},n):n)),a().createElement("div",{className:"jp-dashboard-footer__footer-right"},a().createElement("a",{href:t,"aria-label":__("An Automattic Airline","jetpack")},a().createElement(d.Z,null))))};h.defaultProps={a8cLogoHref:"https://automattic.com",moduleName:__("Jetpack","jetpack"),className:"",moduleNameHref:"https://jetpack.com"},h.propTypes={a8cLogoHref:u().string,moduleName:u().string,className:u().string,moduleNameHref:u().string},t.Z=h},1202:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(5844),c=n.n(o),l=n(9196),p=n.n(l),u=n(5235),d=n.n(u),m=n(5736);const __=m.__;class h extends p().Component{render(){const{logoColor:e,showText:t,className:n,...s}=this.props,i=t?"0 0 118 32":"0 0 32 32";return p().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},s),p().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),p().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&&p().createElement(l.Fragment,null,p().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"}),p().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"}),p().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"}),p().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"}),p().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"}),p().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"}),p().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"})))}}a()(h,"propTypes",{className:c().string,width:c().number,height:c().number,showText:c().bool,logoColor:c().string}),a()(h,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=h},2947:function(e,t,n){"use strict";var s=n(6028);t.Z=e=>{const t=(0,s.X)();return new Intl.NumberFormat(t).format(e)}},5784:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(5235),c=n.n(o),l=n(5607),p=n(5736),u=n(5106),d=n(7387);const __=p.__;function m(e){let{value:t,currency:n,isOff:s}=e;const i=c()(d.Z.price,{[d.Z["is-not-off-price"]]:!s}),{symbol:a,integer:o,fraction:p}=(0,l.LR)(t,n);return r().createElement(u.ZP,{className:i,variant:"headline-medium",component:"p"},r().createElement(u.ZP,{component:"sup",variant:"title-medium"},a),o,r().createElement(u.ZP,{component:"sup",variant:"title-medium"},p))}function h(e){let{price:t,offPrice:n,currency:s,showNotOffPrice:i,leyend:a,isNotConvenientPrice:o}=e;return(t||n)&&s?(i=i&&Boolean(n),r().createElement(r().Fragment,null,r().createElement("div",{className:d.Z.container},i&&r().createElement(m,{value:t,currency:s,isOff:!1}),r().createElement(m,{value:n||t,currency:s,isOff:!o})),a&&r().createElement(u.ZP,{className:d.Z.leyend},a))):null}h.propTypes={currency:a().string,price:a().number,offPrice:a().number,isNotConvenientPrice:a().bool,leyend:a().string,showNotOffPrice:a().bool},h.defaultProps={currency:"",isNotConvenientPrice:!1,leyend:__("/month, paid yearly","jetpack"),showNotOffPrice:!0}},3521:function(e,t,n){"use strict";var s=n(9196),r=n.n(s);n(4086);t.Z=e=>{let{totalCount:t,items:n=[],showLegendLabelBeforeCount:i=!1}=e;const a=(0,s.useMemo)((()=>t||n.reduce(((e,t)=>{let{count:n}=t;return e+n}),0)),[n,t]);return r().createElement("div",{className:"record-meter-bar"},r().createElement("div",{className:"record-meter-bar__items"},n.map((e=>{let{count:t,label:n,backgroundColor:s}=e;const i=(t/a*100).toPrecision(2);return r().createElement("div",{key:n,style:{backgroundColor:s,flexBasis:`${i}%`}})}))),r().createElement("div",{className:"record-meter-bar__legend"},r().createElement("ul",{className:"record-meter-bar__legend--items"},n.map((e=>{let{count:t,label:n,backgroundColor:s}=e;return r().createElement("li",{key:n,className:"record-meter-bar__legend--item"},r().createElement("div",{className:"record-meter-bar__legend--item-circle",style:{backgroundColor:s}}),!i&&r().createElement("span",null,r().createElement("span",{className:"record-meter-bar__legend--item-count"},t),r().createElement("span",{className:"record-meter-bar__legend--item-label"},n)),i&&r().createElement("span",null,r().createElement("span",{className:"record-meter-bar__legend--item-label record-meter-bar__legend--item-label-first"},n),r().createElement("span",{className:"record-meter-bar__legend--item-count"},"(",t,")")))})))))}},5033:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i);n(8026);const o=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},s={borderTopColor:e.color,borderRightColor:e.color};return r().createElement("div",{className:t},r().createElement("div",{className:"jp-components-spinner__outer",style:n},r().createElement("div",{className:"jp-components-spinner__inner",style:s})))};o.propTypes={color:a().string,className:a().string,size:a().number},o.defaultProps={color:"#FFFFFF",className:"",size:20},t.Z=o},6017:function(e,t,n){"use strict";n.d(t,{h:function(){return s},s:function(){return r}});const s={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p",label:"p"},r=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(5235),c=n.n(o),l=n(5837),p=n(6017);const u=e=>{let{variant:t="body",children:n,component:s,className:o,...u}=e;const d=s||p.h[t]||"span",m=(0,i.useMemo)((()=>p.s.reduce(((e,t)=>(void 0!==u[t]&&(e+=l.Z[`${t}-${u[t]}`]+" ",delete u[t]),e)),"")),[u]);return a().createElement(d,r()({className:c()(l.Z.reset,l.Z[t],o,m)},u),n)};t.ZP=u},6028:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var s=n(9771);const r=()=>{var e,t,n,r;const{l10n:{locale:i}}=(0,s.__experimentalGetSettings)();if(i)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"})(i);return null!==(e=null===(t=window)||void 0===t||null===(n=t.window)||void 0===n||null===(r=n.navigator)||void 0===r?void 0:r.language)&&void 0!==e?e:"en-US"}},6324:function(e,t,n){"use strict";function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let s;var r;"undefined"!=typeof window&&(s=null===(r=window.Initial_State)||void 0===r?void 0:r.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),s&&(n.calypso_env=s);const i=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+i}n.d(t,{Z:function(){return s}})},1132:function(e,t,n){let s={};try{s=n(2787)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),s={missingConfig:!0}}const r=e=>s.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 s[e]}}},4792:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(5736),c=n(7121),l=n(1294);const __=o.__,p=e=>{const{apiRoot:t,apiNonce:n,connectLabel:s,registrationNonce:i,redirectUri:a,from:o,autoTrigger:p}=e,{handleRegisterSite:u,isRegistered:d,isUserConnected:m,siteIsRegistering:h,userIsConnecting:g,registrationError:f}=(0,l.Z)({registrationNonce:i,redirectUri:a,apiRoot:t,apiNonce:n,autoTrigger:p,from:o});return r().createElement(r().Fragment,null,(!d||!m)&&r().createElement(c.Z,{label:s,onClick:u,displayError:!!f,isLoading:h||g}))};p.propTypes={connectLabel:a().string,apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,from:a().string,redirectUri:a().string.isRequired,registrationNonce:a().string.isRequired,autoTrigger:a().bool},p.defaultProps={connectLabel:__("Connect","jetpack"),redirectUri:null,autoTrigger:!1},t.Z=p},9312:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(5736),c=n(1624),l=n(1294);const __=o.__,p=e=>{const{title:t,buttonLabel:n,apiRoot:s,apiNonce:i,registrationNonce:a,from:o,redirectUri:p,images:u,children:d,assetBaseUrl:m,autoTrigger:h,footer:g,skipUserConnection:f}=e,{handleRegisterSite:v,isRegistered:k,isUserConnected:_,siteIsRegistering:y,userIsConnecting:E,registrationError:w}=(0,l.Z)({registrationNonce:a,redirectUri:p,apiRoot:s,apiNonce:i,autoTrigger:h,from:o,skipUserConnection:f}),b=!k||!_,C=Boolean(w),j=y||E;return r().createElement(c.Z,{title:t,images:u,assetBaseUrl:m,showConnectButton:b,buttonLabel:n,handleButtonClick:v,displayButtonError:C,buttonIsLoading:j,footer:g},d)};p.propTypes={title:a().string,buttonLabel:a().string,apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,registrationNonce:a().string.isRequired,from:a().string,redirectUri:a().string.isRequired,autoTrigger:a().bool,images:a().arrayOf(a().string),assetBaseUrl:a().string,skipUserConnection:a().bool},p.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack"),buttonLabel:__("Set up Jetpack","jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1},t.Z=p},1624:function(e,t,n){"use strict";n.d(t,{E:function(){return d}});var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(5736),c=n(6324),l=n(7121),p=n(9307),u=n(8524);n(4590);const __=o.__,d=(0,p.createInterpolateElement)(__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:r().createElement("a",{href:(0,c.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:r().createElement("a",{href:(0,c.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),m=e=>{const{title:t,images:n,children:s,assetBaseUrl:i,isLoading:a,showConnectButton:o,buttonLabel:c,handleButtonClick:p,displayButtonError:m,buttonIsLoading:h,footer:g}=e;return r().createElement(u.Z,{title:t,assetBaseUrl:i,images:n,className:"jp-connection__connect-screen"+(a?" jp-connection__connect-screen__loading":"")},r().createElement("div",{className:"jp-connection__connect-screen__content"},s,o&&r().createElement(r().Fragment,null,r().createElement(l.Z,{label:c,onClick:p,displayError:m,isLoading:h}),r().createElement("div",{className:"jp-connection__connect-screen__tos"},d)),g&&r().createElement("div",{className:"jp-connection__connect-screen__footer"},g)))};m.propTypes={title:a().string,images:a().arrayOf(a().string),assetBaseUrl:a().string,isLoading:a().bool,showConnectButton:a().bool,buttonLabel:a().string.isRequired,handleButtonClick:a().func,displayButtonError:a().bool,buttonIsLoading:a().bool,footer:a().node},m.defaultProps={showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{},footer:null},t.Z=m},2458:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i);const o=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const s=t.map(((e,t)=>r().createElement(r().Fragment,{key:t},r().createElement("img",{src:n+e,alt:""}))));return r().createElement("div",{className:"jp-connection__connect-screen__image-slider"},s)};o.propTypes={images:a().arrayOf(a().string).isRequired,assetBaseUrl:a().string},o.defaultProps={assetBaseUrl:""},t.Z=o},8524:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(1202),c=n(2458);n(5035);const l=e=>{const{title:t,children:n,className:s,assetBaseUrl:i,images:a}=e,l=null==a?void 0:a.length;return r().createElement("div",{className:"jp-connection__connect-screen-layout"+(l?" jp-connection__connect-screen-layout__two-columns":"")+(s?" "+s:"")},r().createElement("div",{className:"jp-connection__connect-screen-layout__left"},r().createElement(o.Z,null),r().createElement("h2",null,t),n),l?r().createElement("div",{className:"jp-connection__connect-screen-layout__right"},r().createElement(c.Z,{images:a,assetBaseUrl:i})):null)};l.propTypes={title:a().string,className:a().string,images:a().arrayOf(a().string),assetBaseUrl:a().string},t.Z=l},7879:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(5736),c=n(4322);const __=o.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,i=(0,s.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&i.length>0?r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack"))),r().createElement("div",{className:"jp-connection__disconnect-card__group"},i.map((e=>r().createElement(c.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:a().array,disconnectingPlugin:a().string},t.Z=l},4322:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i);n(2202);const o=e=>{const{title:t,value:n,description:s}=e;return r().createElement("div",{className:"jp-connection__disconnect-card card"},r().createElement("div",{className:"jp-connection__disconnect-card__card-content"},r().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||s)&&r().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},r().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),r().createElement("div",{className:"jp-connection__disconnect-card__card-description"},s))))};o.propTypes={title:a().string,value:a().oneOfType([a().string,a().number]),description:a().number},t.Z=o},6168:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(5736),c=n(5609),l=n(4743),p=n(6975),u=n(1132),d=(n(2741),n(9015)),m=n(5995),h=n(1702),g=n(1166);const __=o.__,f=e=>{const[t,n]=(0,s.useState)(!1),[i,a]=(0,s.useState)(!1),[o,f]=(0,s.useState)(!1),[v,k]=(0,s.useState)(!1),[_,y]=(0,s.useState)(!1),[E,w]=(0,s.useState)(!1),{apiRoot:b,apiNonce:C,connectedPlugins:j,title:S,pluginScreenDisconnectCallback:N,onDisconnected:x,onError:T,disconnectStepComponent:O,context:P,connectedUser:M,connectedSiteId:A,isOpen:Z,onClose:U}=e;let R="";(0,u.jetpackConfigHas)("consumer_slug")&&(R=(0,u.jetpackConfigGet)("consumer_slug"));const L=(0,s.useMemo)((()=>({context:P,plugin:R})),[P,R]);(0,s.useEffect)((()=>{l.ZP.setApiRoot(b),l.ZP.setApiNonce(C)}),[b,C]),(0,s.useEffect)((()=>{M&&M.ID&&M.login&&p.Z.initialize(M.ID,M.login)}),[M,M.ID,M.login]),(0,s.useEffect)((()=>{Z&&p.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",L)}),[Z,L]),(0,s.useEffect)((()=>{Z&&(i?!i||v||_?v&&!_?p.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},L)):_&&p.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},L)):p.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},L)):p.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},L)))}),[Z,i,v,_,L]);const z=(0,s.useCallback)((()=>{l.ZP.disconnectSite().then((()=>{n(!1),a(!0)})).catch((e=>{n(!1),f(e),T&&T(e)}))}),[n,a,f,T]),I=(0,s.useCallback)(((e,t)=>{w(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);p.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),y(!0),w(!1)})).catch((e=>{p.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),y(!0),w(!1)}))}),[w,y]),D=(0,s.useCallback)((e=>{e&&e.preventDefault(),f(!1),n(!0),"plugins"!==P?z():N&&N(e)}),[f,n,N,P,z]),F=(0,s.useCallback)((e=>p.Z.tracks.recordEvent(e,L)),[L]),V=(0,s.useCallback)((()=>M.ID&&A),[M,A]),B=(0,s.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!V())return void y(!0);const s={site_id:A,user_id:M.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},r=Object.assign({},L,{disconnect_reason:e});I(s,r)}),[I,y,V,A,M,L]),H=(0,s.useCallback)((e=>{e&&e.preventDefault(),x&&x(),U()}),[x,U]),q=(0,s.useCallback)((e=>{e&&e.preventDefault(),k(!0)}),[k]);return r().createElement(r().Fragment,null,Z&&r().createElement(c.Modal,{title:"",contentLabel:S,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:U,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(i?" jp-connection__disconnect-dialog__success":"")},i?!i||v||_?v&&!_?r().createElement(h.Z,{isSubmittingFeedback:E,onFeedBackProvided:B,onExit:H}):_?r().createElement(g.Z,{onExit:H}):void 0:r().createElement(m.Z,{canProvideFeedback:V(),onProvideFeedback:q,onExit:H}):r().createElement(d.Z,{title:S,connectedPlugins:j,disconnectStepComponent:O,isDisconnecting:t,closeModal:U,onDisconnect:D,disconnectError:o,context:P,disconnectingPlugin:R,trackModalClick:F})))};f.propTypes={apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,title:a().string,onDisconnected:a().func,onError:a().func,context:a().string,connectedPlugins:a().oneOfType([a().array,a().object]),pluginScreenDisconnectCallback:a().func,disconnectStepComponent:a().element,connectedUser:a().object,connectedSiteId:a().number,isOpen:a().bool,onClose:a().func},f.defaultProps={title:__("Are you sure you want to disconnect?","jetpack"),context:"jetpack-dashboard",connectedUser:{}},t.Z=f},5995:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(9307),c=n(5736),l=n(5609),p=n(1133),u=n(2042);const __=c.__,d=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:s}=e;return r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement(p.Z,{icon:"unlink",imageUrl:u}),r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},r().createElement("h1",null,(0,o.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack"),{br:r().createElement("br",null)})),n&&r().createElement(r().Fragment,null,r().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack")),r().createElement("p",null,r().createElement(l.Button,{variant:"primary",onClick:s,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack"))),r().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack"))),!n&&r().createElement(r().Fragment,null,r().createElement("p",null,r().createElement(l.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))))};d.propTypes={onExit:a().func,onProvideFeedback:a().func,canProvideFeedback:a().bool},t.Z=d},9015:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9307),a=n(5736),o=n(6324),c=n(5609),l=n(5844),p=n.n(l),u=n(7879);const __=a.__,d=e=>{const{title:t,isDisconnecting:n,onDisconnect:a,disconnectError:l,disconnectStepComponent:p,connectedPlugins:d,disconnectingPlugin:m,closeModal:h,context:g,trackModalClick:f}=e,v=(0,s.useCallback)((()=>f("jetpack_disconnect_dialog_click_learn_about")),[f]),k=(0,s.useCallback)((()=>f("jetpack_disconnect_dialog_click_support")),[f]),_=(0,s.useCallback)((()=>{f("jetpack_disconnect_dialog_click_stay_connected"),h()}),[f,h]),y=(0,s.useCallback)((e=>{f("jetpack_disconnect_dialog_click_disconnect"),a(e)}),[f,a]);return r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),r().createElement(u.Z,{connectedPlugins:d,disconnectingPlugin:m}),p,(()=>{if(!(d&&Object.keys(d).filter((e=>e!==m)).length)&&!p)return r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack"),r().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack")))})()),r().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},r().createElement("div",{className:"jp-row"},r().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},r().createElement("p",null,(0,i.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack"),{strong:r().createElement("strong",null),jpConnectionInfoLink:r().createElement("a",{href:(0,o.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:v}),jpSupportLink:r().createElement("a",{href:(0,o.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:k})}))),r().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},r().createElement(c.Button,{variant:"primary",disabled:n,onClick:_,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===g?__("Cancel","jetpack"):__("Stay connected","jetpack",0)),(()=>{let e=__("Disconnect","jetpack");return n?e=__("Disconnecting…","jetpack"):"plugins"===g&&(e=__("Deactivate","jetpack")),r().createElement(c.Button,{variant:"primary",disabled:n,onClick:y,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),l&&r().createElement("p",{className:"jp-connection__disconnect-dialog__error"},l)))};d.propTypes={title:p().string,isDisconnecting:p().bool,onDisconnect:p().func,disconnectError:p().bool,disconnectStepComponent:p().elementType,connectedPlugins:p().array,disconnectingPlugin:p().string,closeModal:p().func,context:p().string,trackModalClick:p().func},t.Z=d},1702:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(5736),c=(n(8043),n(6336));const __=o.__,l=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:s}=e;return r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack")),r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack")),r().createElement(c.Z,{onSubmit:n,isSubmittingFeedback:s}),r().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack")))};l.PropTypes={onExit:a().func,onFeedBackProvided:a().func,isSubmittingFeedback:a().bool},t.Z=l},1166:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(1133),c=n(5736),l=n(5609),p=n(9307),u=n(724);const __=c.__,d=e=>{const{onExit:t}=e;return r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement(o.Z,{format:"vertical",imageUrl:u}),r().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},r().createElement("h1",null,__("Thank you!","jetpack")),r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,p.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack"),{br:r().createElement("br",null)})),r().createElement(l.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))};d.PropTypes={onExit:a().func,assetBaseUrl:a().string},t.Z=d},6336:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5844),a=n.n(i),o=n(5609),c=n(5736),l=n(4372);const __=c.__,p=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[i,a]=(0,s.useState)(),[c,p]=(0,s.useState)(),u=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack")}],d="another-reason",m=(0,s.useCallback)((()=>{t(i,i===d?c:"")}),[t,d,c,i]),h=(0,s.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),p(t)}),[p]),g=e=>e===i?"jp-connect__disconnect-survey-card--selected":"",f=(0,s.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":a(e)}}),[a]);return r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},u.map((e=>r().createElement(l.Z,{id:e.id,onClick:a,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+g(e.id)},r().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),r().createElement(l.Z,{id:d,onClick:a,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+g(d)},r().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack")," ",r().createElement("input",{placeholder:__("share your experience","jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:c,onChange:h,maxLength:1e3})))),r().createElement("p",null,r().createElement(o.Button,{disabled:!i||n,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack"):__("Submit Feedback","jetpack",0))))};p.PropTypes={onSubmit:a().func,isSubmittingFeedback:a().bool},t.Z=p},4372:function(e,t,n){"use strict";var s=n(9196),r=n.n(s);n(8043);t.Z=e=>{const{id:t,onClick:n,onKeyDown:i,children:a,className:o}=e,c=(0,s.useCallback)((()=>{n(t)}),[t,n]),l=(0,s.useCallback)((e=>{i(t,e)}),[t,i]);return r().createElement("div",{tabIndex:"0",role:"button",onClick:c,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+o},a)}},1294:function(e,t,n){"use strict";var s,r=n(9196),i=n(9818),a=n(4743),o=n(428);const c=null!==(s=window)&&void 0!==s&&s.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};t.Z=function(){let{registrationNonce:e=c.registrationNonce,apiRoot:t=c.apiRoot,apiNonce:n=c.apiNonce,redirectUri:s,autoTrigger:l,from:p,skipUserConnection:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:d,connectUser:m,refreshConnectedPlugins:h}=(0,i.useDispatch)(o.t),g=(0,i.useSelect)((e=>e(o.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:v,userConnectionData:k,connectedPlugins:_,isRegistered:y,isUserConnected:E,hasConnectedOwner:w}=(0,i.useSelect)((e=>({siteIsRegistering:e(o.t).getSiteIsRegistering(),userIsConnecting:e(o.t).getUserIsConnecting(),userConnectionData:e(o.t).getUserConnectionData(),connectedPlugins:e(o.t).getConnectedPlugins(),...e(o.t).getConnectionStatus()}))),b=()=>{u?s&&(window.location=s):m({from:p,redirectUri:s})},C=t=>{t&&t.preventDefault(),y?b():d({registrationNonce:e,redirectUri:s}).then((()=>{b()}))};return(0,r.useEffect)((()=>{a.ZP.setApiRoot(t),a.ZP.setApiNonce(n)}),[t,n]),(0,r.useEffect)((()=>{!l||f||v||C()}),[]),{handleRegisterSite:C,handleConnectUser:b,refreshConnectedPlugins:h,isRegistered:y,isUserConnected:E,siteIsRegistering:f,userIsConnecting:v,registrationError:g,userConnectionData:k,hasConnectedOwner:w,connectedPlugins:_}}},7523:function(e,t,n){"use strict";n.d(t,{LI:function(){return i},N4:function(){return o},T1:function(){return l},TS:function(){return p},ZP:function(){return y},i6:function(){return r},qV:function(){return c},r7:function(){return a},wQ:function(){return d}});var s=n(4743);const r="SET_CONNECTION_STATUS",i="SET_CONNECTION_STATUS_IS_FETCHING",a="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",c="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",u="CONNECT_USER",d="SET_CONNECTED_PLUGINS",m=e=>({type:r,connectionStatus:e}),h=e=>({type:a,isRegistering:e}),g=e=>({type:o,isConnecting:e}),f=e=>({type:c,registrationError:e}),v=()=>({type:l}),k=e=>({type:p,authorizationUrl:e}),_=e=>({type:d,connectedPlugins:e});const y={setConnectionStatus:m,setConnectionStatusIsFetching:e=>({type:i,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:h,setUserIsConnecting:g,setRegistrationError:f,clearRegistrationError:v,setAuthorizationUrl:k,registerSite:function*(e){let{registrationNonce:t,redirectUri:n}=e;yield v(),yield h(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield m({isRegistered:!0}),yield k(e.authorizeUrl),yield h(!1),Promise.resolve(e)}catch(e){return yield f(e),yield h(!1),Promise.reject(e)}},connectUser:function*(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield g(!0),yield{type:u,from:e,redirectFunc:t,redirectUri:n}},setConnectedPlugins:_,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>s.ZP.fetchConnectedPlugins().then((n=>{t(_(n)),e(n)}))))}}},1432:function(e,t,n){"use strict";var s=n(4743),r=n(9818),i=n(428);const a=(0,r.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((r,a)=>{t(i.t).getAuthorizationUrl(s).then((t=>{const s=n||(e=>window.location.assign(e)),i=new URL(t);e&&i.searchParams.set("from",encodeURIComponent(e));const a=i.toString();s(a),r(a)})).catch((e=>{a(e)}))}))}}));t.Z={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return s.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return s.ZP.registerSite(t,n)},CONNECT_USER:a}},2578:function(e,t,n){"use strict";var s=n(9818),r=n(7523);const i=(0,s.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.i6?{...e,...t.connectionStatus}:e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return 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:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.wQ?t.connectedPlugins:e}});t.Z=i},7728:function(e,t,n){"use strict";var s=n(9818),r=n(7523),i=n(428);const a={getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];const o=(0,s.select)(i.t).hasFinishedResolution("getAuthorizationUrl",r);return t&&!o&&(0,s.dispatch)(i.t).finishResolution("getAuthorizationUrl",r),t},*fulfill(e){const t=yield r.ZP.fetchAuthorizationUrl(e);yield r.ZP.setAuthorizationUrl(t.authorizeUrl)}}};t.Z={...a}},2725:function(e,t){"use strict";const n={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||[]};t.Z=n},3535:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9818);class a{static mayBeInit(e,t){null===a.store&&(a.store=(0,i.createReduxStore)(e,t),(0,i.register)(a.store))}}r()(a,"store",null),t.Z=a},428:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var s=n(2578),r=n(7523),i=n(2725),a=n(7728),o=n(1432),c=n(3535);const l="jetpack-connection",p=window.JP_CONNECTION_INITIAL_STATE;p||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,{__experimentalUseThunks:!0,reducer:s.Z,actions:r.ZP,selectors:i.Z,resolvers:a.Z,controls:o.Z,initialState:p||{}})},8728:function(e,t,n){"use strict";var s=n(5609),r=n(9307),i=n(1202),a=n(5033),o=n(5736),c=n(5162),l=n.n(c),p=n(9196),u=n.n(p),d=n(1074),m=n(797);const __=o.__,h=e=>{const{activateLicense:t,isActivating:n,license:o,licenseError:c,onLicenseChange:l}=e,p=null!=c;return u().createElement("div",{className:"jp-license-activation-screen-controls"},u().createElement("div",{className:"jp-license-activation-screen-controls--content"},u().createElement(i.Z,{showText:!1,height:48}),u().createElement("h1",null,__("Add a license key","jetpack")),u().createElement("p",null,(0,r.createInterpolateElement)(__("<strong>Check your email</strong> for your license key. You should have received it after making your purchase.","jetpack"),{strong:u().createElement("strong",null)})),u().createElement(s.TextControl,{className:p?"jp-license-activation-screen-controls--license-field-with-error":"jp-license-activation-screen-controls--license-field",label:__("License key","jetpack"),value:o,onChange:l,disabled:n}),p&&u().createElement("div",{className:"jp-license-activation-screen-controls--license-field-error"},u().createElement(d.Z,{icon:m.Z}),u().createElement("span",null,c))),u().createElement("div",null,u().createElement(s.Button,{className:"jp-license-activation-screen-controls--button",onClick:t},n?u().createElement(a.Z,null):__("Activate","jetpack"))))};h.propTypes={activateLicense:l().func.isRequired,isActivating:l().bool.isRequired,license:l().string.isRequired,licenseError:l().string,onLicenseChange:l().func.isRequired,siteUrl:l().string.isRequired},t.Z=h},8781:function(e,t,n){"use strict";var s=n(5736),r=n(9307),i=n(6324),a=n(5162),o=n.n(a),c=n(9196),l=n.n(c);const __=s.__,p=e=>{const{imageUrl:t,showSupportLink:n=!1}=e;return l().createElement("div",{className:"jp-license-activation-screen-illustration"},l().createElement("div",{className:"jp-license-activation-screen-illustration--wrapper"},l().createElement("img",{className:"jp-license-activation-screen-illustration--img",src:t,alt:""})),n&&l().createElement("p",{className:"jp-license-activation-screen-illustration--support-link"},(0,r.createInterpolateElement)(__("Do you need help? <a>Contact us.</a>","jetpack"),{a:l().createElement("a",{href:(0,i.Z)("jetpack-support-license-activation")})})))};p.propTypes={imageUrl:o().string.isRequired,showSupportLink:o().bool},t.Z=p},7554:function(e,t,n){"use strict";var s=n(1202),r=n(5162),i=n.n(r),a=n(9196),o=n.n(a),c=n(5874),l=n(4172),p=n(5431);const u=e=>{const{productId:t,siteRawUrl:n,siteAdminUrl:r,currentRecommendationsStep:i}=e;return o().createElement("div",{className:"jp-license-activation-screen-success-info"},o().createElement("div",{className:"jp-license-activation-screen-success-info--content"},o().createElement(s.Z,{showText:!1,height:48})),o().createElement(c.Z,{siteRawUrl:n,productId:t}),o().createElement("div",{className:"jp-license-activation-screen-success-info--buttons"},o().createElement(p.c,{currentRecommendationsStep:i,siteAdminUrl:r,siteRawUrl:n}),o().createElement(l.o,{siteRawUrl:n,productId:t})))};u.propTypes={siteRawUrl:i().string,productId:i().number,siteAdminUrl:i().string,currentRecommendationsStep:i().string},t.Z=u},5431:function(e,t,n){"use strict";n.d(t,{c:function(){return p}});var s=n(5736),r=n(5609),i=n(6324),a=n(5162),o=n.n(a),c=n(9196),l=n.n(c);const __=s.__,p=e=>{const{currentRecommendationsStep:t,siteAdminUrl:n,siteRawUrl:s}=e;return"not-started"===t?l().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button",href:n+"admin.php?page=jetpack#/recommendations"},__("Configure my site","jetpack")):l().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button",href:(0,i.Z)("license-activation-view-my-plans",{site:s})},__("View my plans","jetpack"))};p.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string,siteRawUrl:o().string.isRequired}},5874:function(e,t,n){"use strict";var s=n(5736),r=n(9307),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(8275);const __=s.__,p=e=>{const{productId:t,siteRawUrl:n}=e,s=`https://cloud.jetpack.com/landing/${n}`,i=(0,l.F)(t),a={jetpack_anti_spam:{title:__("Jetpack Anti-spam is active!","jetpack"),text:__("We'll take care of everything from here. Now you can enjoy a spam-free site!","jetpack")},jetpack_backup:{title:__("Jetpack Backup is active!","jetpack"),text:(0,r.createInterpolateElement)(__("You can see your backups and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack"),{a:c().createElement("a",{href:s})})},jetpack_complete:{title:__("Jetpack Complete is active!","jetpack"),text:(0,r.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack"),{a:c().createElement("a",{href:s})})},jetpack_scan:{title:__("Jetpack Scan is active!","jetpack"),text:(0,r.createInterpolateElement)(__("You can see your security scans on <a>cloud.jetpack.com</a>.","jetpack"),{a:c().createElement("a",{href:s})})},jetpack_search:{title:__("Jetpack Search is active!","jetpack"),text:__("Next, we'll help you customize the Search experience for your visitors.","jetpack")},jetpack_security:{title:__("Jetpack Security is active!","jetpack"),text:(0,r.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack"),{a:c().createElement("a",{href:s})})},jetpack_videopress:{title:__("Jetpack VideoPress is active!","jetpack"),text:__("Experience high-quality, ad-free video built specifically for WordPress.","jetpack")},default:{title:__("Your product is active!","jetpack"),text:__("You're all set!","jetpack")}};return c().createElement("div",{className:"jp-license-activation-screen-success-info--product-details"},c().createElement("h1",null,a[i].title," ",String.fromCodePoint(127881)),c().createElement("p",null,a[i].text))};p.propTypes={dashboardUrl:a().string,productId:a().number},t.Z=p},4172:function(e,t,n){"use strict";n.d(t,{o:function(){return u}});var s=n(5736),r=n(5609),i=n(6324),a=n(5162),o=n.n(a),c=n(9196),l=n.n(c),p=n(8275);const __=s.__,u=e=>{const{productId:t,siteRawUrl:n}=e,s={jetpack_backup:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_complete:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_scan:{text:__("View scan results","jetpack"),redirectSource:"jetpack-license-activation-success-scan"},jetpack_search:{text:__("Configure search","jetpack"),redirectSource:"jetpack-license-activation-success-search"},jetpack_security:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},default:null}[(0,p.F)(t)];return l().createElement(l().Fragment,null,s&&l().createElement(r.ExternalLink,{className:"jp-license-activation-screen-success-info--external-link",href:(0,i.Z)(s.redirectSource,{site:n})},s.text))};u.propTypes={siteRawUrl:o().string,productId:o().number}},468:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5162),a=n.n(i),o=n(4743),c=n(5736),l=n(8728),p=n(8781),u=n(7554),d=n(8702),m=n(1160);const __=c.__,h=e=>{const{onActivationSuccess:t=(()=>null),siteRawUrl:n,startingLicense:i,siteAdminUrl:a,currentRecommendationsStep:c}=e,[h,g]=(0,s.useState)(null!=i?i:""),[f,v]=(0,s.useState)(null),[k,_]=(0,s.useState)(!1),[y,E]=(0,s.useState)(null),w=(0,s.useCallback)((()=>k?Promise.resolve():h.length<1?(v(__("This is not a valid license key. Please try again.","jetpack")),Promise.resolve()):(v(null),_(!0),o.ZP.attachLicenses([h]).then((e=>{const n=(e=>{var t,n;let s=e;for(;Array.isArray(s)&&s.length>0;)s=s[0];if(null!==(t=s)&&void 0!==t&&t.activatedProductId)return s.activatedProductId;if(null!==(n=s)&&void 0!==n&&n.errors)for(const e in s.errors)if(s.errors[e].length>0)throw new Error(s.errors[e][0]);throw new Error(__("An unknown error occurred during license activation. Please try again.","jetpack"))})(e);E(n),t(n)})).catch((e=>{v(e.message)})).finally((()=>{_(!1)})))),[k,h,t]);return null!==y?r().createElement("div",{className:"jp-license-activation-screen"},r().createElement(u.Z,{siteRawUrl:n,productId:y,siteAdminUrl:a,currentRecommendationsStep:c}),r().createElement(p.Z,{imageUrl:m,showSupportLink:!1})):r().createElement("div",{className:"jp-license-activation-screen"},r().createElement(l.Z,{license:h,onLicenseChange:g,activateLicense:w,siteUrl:n,licenseError:f,isActivating:k}),r().createElement(p.Z,{imageUrl:d,showSupportLink:!0}))};h.propTypes={onActivationSuccess:a().func,siteRawUrl:a().string.isRequired,startingLicense:a().string,siteAdminUrl:a().string.isRequired,currentRecommendationsStep:a().string},t.Z=h},8275:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});const s={jetpack_anti_spam:[2110,2111],jetpack_backup:[2100,2101,2102,2103,2112,2113,2114,2115],jetpack_complete:[2014,2015],jetpack_scan:[2106,2107,2108,2109],jetpack_search:[2104,2105],jetpack_security:[2010,2011,2012,2013,2016,2017,2019,2020],jetpack_videopress:[2116,2117]};function r(e){return Object.keys(s).find((t=>s[t].includes(e)))||"default"}},3281:function(e,t,n){"use strict";n.d(t,{I:function(){return s.Z}});var s=n(468)},221:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5162),a=n.n(i),o=n(881),c=n(4859);const l=e=>{const{apiNonce:t,apiRoot:n,connectionStatus:s,partnerCoupon:i,assetBaseUrl:a,registrationNonce:l,siteRawUrl:p,tracksUserData:u,analytics:d}=e;return s.hasConnectedOwner?r().createElement(o.ZP,{assetBaseUrl:a,connectionStatus:s,partnerCoupon:i,siteRawUrl:p,tracksUserData:!!u,analytics:d}):r().createElement(c.Z,{apiNonce:t,registrationNonce:l,apiRoot:n,assetBaseUrl:a,connectionStatus:s,partnerCoupon:i,siteRawUrl:p,tracksUserData:!!u,analytics:d})};l.propTypes={apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,assetBaseUrl:a().string.isRequired,connectionStatus:a().object.isRequired,partnerCoupon:a().object.isRequired,registrationNonce:a().string.isRequired,siteRawUrl:a().string.isRequired,tracksUserData:a().bool.isRequired,analytics:a().object},t.Z=l},881:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5162),a=n.n(i),o=n(1202),c=n(7121),l=n(5736),p=n(8949);const __=l.__,u="jetpackRedeemPartnerCouponDismissedAt";function d(){const e=localStorage.getItem(u);return!(!e||(new Date).getTime()>parseInt(e)+2592e5)}const m=e=>{const{connectionStatus:t,partnerCoupon:n,assetBaseUrl:i,siteRawUrl:a,tracksUserData:m,analytics:h}=e,[g,f]=(0,s.useState)(d()),v=(0,p.i)(n,a,t,m,h),k=(0,s.useCallback)((()=>{localStorage.setItem(u,(new Date).getTime()),f(d())}),[f]);if(g)return null;let _=null;return _=n.partner.logo?r().createElement(r().Fragment,null,r().createElement(o.Z,null),r().createElement("span",null,"+"),r().createElement("img",{src:`${i}${n.partner.logo.src}`,alt:(0,l.sprintf)(
+/* translators: %s: Name of Jetpack partner. */
+__("Logo of %s who are offering a coupon in partnership with Jetpack","jetpack"),n.partner.name),width:n.partner.logo.width,height:n.partner.logo.height})):r().createElement(o.Z,null),r().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection"},r().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__layout"},r().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__content"},r().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__logo"},_),r().createElement("h2",{className:"jetpack-redeem-partner-coupon-post-connection__heading"},__("One free year of Jetpack Backup","jetpack"))),r().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__aside",style:{backgroundImage:`url(${i}/images/jetpack-aside-background.jpg)`}},r().createElement("img",{src:i+"/images/cloud-checkmark.svg",alt:""})),r().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__subcontent"},r().createElement("p",null,(0,l.sprintf)(
+/* translators: %s: Name of a Jetpack product. */
+__("Redeem your coupon and get started with %s for free the first year! Never worry about losing your data, ever.","jetpack"),n.product.title)),r().createElement("ul",null,n.product.features.map(((e,t)=>r().createElement("li",{key:t},e)))),r().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__actions"},r().createElement("div",null,r().createElement(c.Z,{label:(0,l.sprintf)(
+/* translators: %s: Name of a Jetpack product. */
+__("Redeem %s","jetpack"),n.product.title),onClick:v})),r().createElement("div",null,r().createElement("button",{className:"jetpack-redeem-partner-coupon-post-connection__remind-me-later",onClick:k},__("Remind me later","jetpack")))))))};m.propTypes={assetBaseUrl:a().string.isRequired,connectionStatus:a().object.isRequired,partnerCoupon:a().object.isRequired,siteRawUrl:a().string.isRequired,tracksUserData:a().bool.isRequired,analytics:a().object},t.ZP=m},4859:function(e,t,n){"use strict";var s=n(5235),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(7121),p=n(9312),u=n(5736),d=n(8949);const __=u.__,m=e=>{const{apiNonce:t,apiRoot:n,connectionStatus:s,partnerCoupon:i,assetBaseUrl:o,registrationNonce:c,siteRawUrl:m,tracksUserData:h,analytics:g}=e,f=(0,d.i)(i,m,s,h,g),v=r()("jetpack-redeem-partner-coupon-pre-connection",{"jetpack-redeem-partner-coupon-pre-connection--connected":!!s.hasConnectedOwner});return a().createElement("div",{className:v},a().createElement(p.Z,{apiNonce:t,registrationNonce:c,apiRoot:n,images:["/images/connect-right-partner-backup.png"],assetBaseUrl:o,from:"jetpack-partner-coupon",title:(0,u.sprintf)(
/* translators: %s: Jetpack partner name. */
-__("Welcome to Jetpack %s traveler!","jetpack"),a.partner.name),buttonLabel:(0,d.sprintf)(
+__("Welcome to Jetpack %s traveler!","jetpack"),i.partner.name),buttonLabel:(0,u.sprintf)(
+/* translators: %s: Name of a Jetpack product. */
+__("Set up & redeem %s","jetpack"),i.product.title),redirectUri:`admin.php?page=jetpack&partnerCoupon=${i.coupon_code}`,connectionStatus:s},a().createElement("p",null,(0,u.sprintf)(
/* translators: %s: Name of a Jetpack product. */
-__("Set up & redeem %s","jetpack"),a.product.title),redirectUri:`admin.php?page=jetpack&partnerCoupon=${a.coupon_code}`,connectionStatus:r},o().createElement("p",null,(0,d.sprintf)(
+__("Redeem your coupon and get started with %s for free the first year!","jetpack"),i.product.title)),a().createElement("ul",null,i.product.features.map(((e,t)=>a().createElement("li",{key:t},e)))),s.hasConnectedOwner&&a().createElement(l.Z,{label:(0,u.sprintf)(
/* translators: %s: Name of a Jetpack product. */
-__("Redeem your coupon and get started with %s for free the first year!","jetpack"),a.product.title)),o().createElement("ul",null,a.product.features.map(((e,t)=>o().createElement("li",{key:t},e)))),r.hasConnectedOwner&&o().createElement(u.Z,{label:(0,d.sprintf)(
+__("Redeem %s","jetpack"),i.product.title),onClick:f})))};m.propTypes={apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,assetBaseUrl:c().string.isRequired,connectionStatus:c().object.isRequired,partnerCoupon:c().object.isRequired,registrationNonce:c().string.isRequired,siteRawUrl:c().string.isRequired,tracksUserData:c().bool.isRequired,analytics:c().object},t.Z=m},8949:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var s=n(9196),r=n(6324);function i(e,t,n,i,a){(0,s.useEffect)((()=>{i&&"object"==typeof a&&a.tracks.recordEvent("jetpack_partner_coupon_redeem_view",{coupon:e.coupon_code,partner:e.partner.prefix,preset:e.preset,connected:n.isRegistered?"yes":"no"})}),[a,i,n,e]);return(0,s.useCallback)((()=>{i&&"object"==typeof a&&a.tracks.recordEvent("jetpack_partner_coupon_redeem_click",{coupon:e.coupon_code,partner:e.partner.prefix,preset:e.preset,connected:n.isRegistered?"yes":"no"}),window.location.href=(0,r.Z)("jetpack-plugin-partner-coupon-checkout",{path:e.product.slug,site:t,query:`coupon=${e.coupon_code}`})}),[a,i,n,e,t])}},1862:function(e,t,n){"use strict";n.d(t,{es:function(){return s.Z}});var s=n(221);n(4859),n(881)},4341:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(9309),p=n(5235),u=n.n(p),d=n(5736),m=n(6324),h=n(4069),g=n(5799),f=n(3255),v=n(6300);const __=d.__;class k extends i.Component{constructor(){super(...arguments),r()(this,"trackActivityClick",(()=>{h.Z.tracks.recordJetpackClick({type:"activity-link",target:"at-a-glance",feature:"activity-log"})}))}render(){const{inOfflineMode:e}=this.props,t=__("Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.","jetpack");return a().createElement("div",{className:"jp-dash-item__interior"},a().createElement(f.Z,{label:__("Activity","jetpack"),isModule:!1,className:u()({"jp-dash-item__is-inactive":e}),pro:!1},a().createElement("p",{className:"jp-dash-item__description"},e?__("Unavailable in Offline Mode.","jetpack"):t)),a().createElement(g.Z,{key:"view-activity",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:(0,m.Z)("calypso-activity-log",{site:this.props.siteRawUrl}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackActivityClick},__("View site activity","jetpack")))}}r()(k,"propTypes",{inOfflineMode:c().bool.isRequired,siteRawUrl:c().string.isRequired}),r()(k,"defaultProps",{inOfflineMode:!1,siteRawUrl:""}),t.Z=(0,l.$j)((e=>({inOfflineMode:(0,v.Ex)(e)})))(k)},1248:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2819),u=n(9307),d=n(5736),m=n(4069),h=n(5799),g=n(1549),f=n(3255),v=n(7296),k=n(3002),_=n(9508),y=n(1137),E=n(9584),w=n(6300),b=n(5733),C=n(4743),j=n(1020);const __=d.__,_x=d._x;class S extends o.Component{constructor(){super(...arguments),r()(this,"onActivateClick",(()=>(this.trackActivateClick(),this.props.createNotice("is-info",__("Activating Akismet…","jetpack"),{id:"activating-akismet"}),C.ZP.activateAkismet().then((()=>{this.props.removeNotice("activating-akismet"),window.location.href=this.props.siteAdminUrl+"admin.php?page=akismet-key-config"})).catch((()=>{this.props.removeNotice("activating-akismet"),this.props.createNotice("is-error",__("Could not activate Akismet.","jetpack"),{id:"activate-akismet-failure"})})),!1))),r()(this,"onModerateClick",(()=>{this.trackModerateClick()}))}trackActivateClick(){m.Z.tracks.recordJetpackClick({type:"activate-link",target:"at-a-glance",feature:"anti-spam"})}trackModerateClick(){m.Z.tracks.recordJetpackClick({type:"moderate-link",target:"at-a-glance",feature:"anti-spam"})}getContent(){const e=this.props.akismetData,t=__("Anti-spam","jetpack"),n={text:__("Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.","jetpack"),link:"https://akismet.com/",privacyLink:"https://automattic.com/privacy/"},s=()=>{const e=(0,u.createInterpolateElement)(__("Already have a key? <a>Activate Akismet</a>","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.onActivateClick})});return c().createElement(b.ZP,{callToAction:__("Upgrade","jetpack"),title:__("Automatically clear spam from comments and forms.","jetpack"),description:e,disableHref:"false",href:this.props.upgradeUrl,eventFeature:"akismet",path:"dashboard",plan:(0,E.o2)(E.V3),trackBannerDisplay:this.props.trackUpgradeButtonView})},r=()=>c().createElement(b.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and automatically clear spam from comments and forms","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"akismet",path:"dashboard",plan:(0,E.o2)(E.V3)}),i=()=>this.props.isOfflineMode?c().createElement(f.Z,{label:t,module:"akismet",support:n,pro:!0,className:"jp-dash-item__is-inactive"},c().createElement("p",{className:"jp-dash-item__description"},__("Unavailable in Offline Mode.","jetpack"))):this.props.hasConnectedOwner?s():r();if("N/A"===e)return c().createElement(f.Z,{label:t,module:"akismet",support:n,pro:!0},c().createElement("p",{className:"jp-dash-item__description"},__("Loading…","jetpack")));if(!this.props.hasAntiSpam&&!this.props.hasAkismet){if("not_installed"===e)return c().createElement(f.Z,{label:t,module:"akismet",support:n,className:"jp-dash-item__is-inactive",pro:!0,overrideContent:i()});if("not_active"===e)return c().createElement(f.Z,{label:t,module:"akismet",support:n,className:"jp-dash-item__is-inactive",pro:!0,overrideContent:i()});if("invalid_key"===e)return c().createElement(f.Z,{label:t,module:"akismet",support:n,className:"jp-dash-item__is-inactive",pro:!0,overrideContent:i()})}return["not_installed","not_active","invalid_key"].includes(e)?c().createElement(f.Z,{label:t,module:"akismet",support:n,className:"jp-dash-item__is-inactive",pro:!0},__("Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.","jetpack")):[c().createElement(f.Z,{key:"comment-moderation",label:t,module:"akismet",support:n,status:"is-working",pro:!0},(()=>"0"!==this.props.akismetData?c().createElement(c().Fragment,null,c().createElement("h2",{className:"jp-dash-item__count"},this.props.akismetData),c().createElement("p",{className:"jp-dash-item__description"},_x("Spam comments blocked.",'Example: "412 Spam comments blocked"',"jetpack"))):c().createElement("div",{className:"jp-dash-item__recently-activated"},c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack and its Anti-spam currently monitor all comments on your site. Data will display here soon!","jetpack"))))()),!this.props.isOfflineMode&&c().createElement(h.Z,{key:"moderate-comments",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:`${this.props.siteAdminUrl}edit-comments.php`,onClick:this.onModerateClick},__("Moderate comments","jetpack"))]}render(){return c().createElement("div",{className:"jp-dash-item__interior"},c().createElement(j.Z,null),this.getContent())}}r()(S,"propTypes",{siteRawUrl:a().string.isRequired,siteAdminUrl:a().string.isRequired,trackUpgradeButtonView:a().func,akismetData:a().oneOfType([a().string,a().object]).isRequired,isOfflineMode:a().bool.isRequired,upgradeUrl:a().string.isRequired,hasConnectedOwner:a().bool.isRequired}),r()(S,"defaultProps",{siteRawUrl:"",siteAdminUrl:"",akismetData:"N/A",isOfflineMode:"",trackUpgradeButtonView:p.noop}),t.Z=(0,l.$j)((e=>({akismetData:(0,v.fU)(e),isOfflineMode:(0,w.Ex)(e),upgradeUrl:(0,y.z)(e,"akismet"),nonce:(0,_.VY)(e),hasConnectedOwner:(0,w.it)(e),hasAntiSpam:(0,k.P2)(e,"antispam"),hasAkismet:(0,k.P2)(e,"akismet")})),(e=>({createNotice:g.iI,removeNotice:g.qq,connectUser:()=>e((0,w.bL)())})))(S)},647:function(e,t,n){"use strict";n.d(t,{v:function(){return p}});var s=n(9196),r=n.n(s),i=n(5736),a=n(3521),o=n(5799),c=n(4069),l=n(9890);const __=i.__,p=e=>{let{comments:t,plugins:n,posts:i,onClosePopup:p}=e;const u=(0,s.useRef)(!1);(0,s.useEffect)((()=>{u.current||(c.Z.tracks.recordEvent("jetpack_wpa_aag_backup_bar_chart_view",{comments:t,plugins:n,posts:i}),u.current=!0)}),[]);const d=(0,s.useMemo)((()=>[{count:i,label:__("Posts","jetpack"),backgroundColor:"#00BA37"},{count:n,label:__("Plugins","jetpack"),backgroundColor:"#3895BA"},{count:t,label:__("Comments","jetpack"),backgroundColor:"#E68B28"}]),[t,n,i]);return r().createElement(o.Z,{className:"jp-dash-upgrade-backup"},r().createElement(l.G,{posts:i,comments:t,onClosePopup:p}),r().createElement(a.Z,{items:d}))}},1498:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(7296),o=n(647),c=n(4069);t.Z=(0,i.$j)((e=>{var t,n;const s=null===(t=(0,a.yZ)(e))||void 0===t||null===(n=t.general)||void 0===n?void 0:n.stats;return{comments:null==s?void 0:s.comments,plugins:Object.keys((0,a.Fb)(e)).length,posts:null==s?void 0:s.posts,isFetchingData:(0,a.vz)(e)||(0,a.F2)(e)}}))((e=>{let{comments:t,isFetchingData:n,plugins:i,posts:a}=e;const[l,p]=(0,s.useState)(!0),u=(0,s.useCallback)((()=>{const e={comments:t,plugins:i,posts:a,target:"backup_bar_chart_close",type:"dismiss"};c.Z.tracks.recordJetpackClick(e),p(!1)}),[t,i,a]);return!n&&l&&a>20?r().createElement(o.v,{posts:a,comments:t,plugins:i,onClosePopup:u}):null}))},9890:function(e,t,n){"use strict";n.d(t,{G:function(){return c}});var s=n(9196),r=n.n(s),i=n(5736),a=n(7506),o=n(800);const __=i.__,c=e=>{let{posts:t,comments:n,onClosePopup:s}=e;return r().createElement("div",{className:"jp-dash-upgrade-backup__popup"},r().createElement(a.Z,{onClick:s,className:"jp-dash-upgrade-backup__popup-close-icon",compact:!0,borderless:!0},r().createElement("img",{src:o.hp+"/close.svg",alt:__("Close","jetpack")})),r().createElement("img",{className:"jp-dash-upgrade-backup__popup-lock-icon",src:o.hp+"/lock.svg",alt:__("Locked","jetpack")}),r().createElement("p",{className:"jp-dash-upgrade-backup__popup-title"},__("Upgrade to backup","jetpack")),r().createElement("p",null,(0,i.sprintf)(
+/* translators: 1 number of posts, 2 number of comments */
+__("Be sure your %1$d posts, %2$d comments, and more information are safely backed up with Jetpack","jetpack"),t,n)))}},2792:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2819),u=n(9307),d=n(5736),m=n(6324),h=n(4069),g=n(5799),f=n(3255),v=n(5733),k=n(3526),_=n(9584),y=n(1137),E=n(3002),w=n(1372),b=n(7296),C=n(6300),j=n(9508),S=n(1498);const __=d.__,N=e=>c().createElement(f.Z,{label:__("Backup","jetpack"),module:e.feature||"backups",support:{text:__("Jetpack Backups allow you to easily restore or download a backup from a specific moment.","jetpack"),link:(0,m.Z)("jetpack-support-backup")},className:e.className,status:e.status,pro:!0,overrideContent:e.overrideContent},c().createElement("p",{className:"jp-dash-item__description"},e.content));class x extends o.Component{constructor(){super(...arguments),r()(this,"trackBackupsClick",(()=>{h.Z.tracks.recordJetpackClick({type:"backups-link",target:"at-a-glance",feature:"backups"})})),r()(this,"trackRedeemCouponButtonView",(()=>{const{partnerCoupon:e}=this.props;h.Z.tracks.recordEvent("jetpack_wpa_aag_redeem_partner_coupon_button_view",{feature:"backups",coupon_preset:e.preset})}))}getJetpackBackupBanner(){const{partnerCoupon:e,upgradeUrl:t,siteRawUrl:n,trackUpgradeButtonView:s}=this.props;if(this.props.hasConnectedOwner){if(e&&"jetpack_backup_daily"===e.product.slug){const t=(0,m.Z)("jetpack-plugin-partner-coupon-checkout",{path:e.product.slug,site:n,query:`coupon=${e.coupon_code}`});return c().createElement(v.ZP,{callToAction:__("Redeem","jetpack"),title:(0,d.sprintf)(
/* translators: %s: Name of a Jetpack product. */
-__("Redeem %s","jetpack"),a.product.title),onClick:v})))};h.propTypes={apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,assetBaseUrl:c().string.isRequired,connectionStatus:c().object.isRequired,partnerCoupon:c().object.isRequired,registrationNonce:c().string.isRequired,siteRawUrl:c().string.isRequired,tracksUserData:c().bool.isRequired,analytics:c().object},t.Z=h},51438:function(e,t,n){"use strict";n.d(t,{e:function(){return r.Z}});var r=n(6426)},69641:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(2620),u=n(89105),p=n.n(u),d=n(65736),h=n(71415),f=n(60742),m=n(51117),g=n(88872),v=n(41147);const __=d.__;class b extends s.Component{render(){const{inOfflineMode:e}=this.props,t=__("Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.","jetpack");return o().createElement("div",{className:"jp-dash-item__interior"},o().createElement(m.Z,{label:__("Activity","jetpack"),isModule:!1,className:p()({"jp-dash-item__is-inactive":e}),pro:!1},o().createElement("p",{className:"jp-dash-item__description"},e?__("Unavailable in Offline Mode.","jetpack"):t)),o().createElement(f.Z,{key:"view-activity",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:(0,h.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View site activity","jetpack")))}}i()(b,"propTypes",{inOfflineMode:c().bool.isRequired,siteRawUrl:c().string.isRequired,sitePlan:c().object.isRequired}),i()(b,"defaultProps",{inOfflineMode:!1,siteRawUrl:"",sitePlan:""}),t.Z=(0,l.$j)((e=>({sitePlan:(0,g.UL)(e),inOfflineMode:(0,v.Ex)(e)})))(b)},94109:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(92819),p=n(69307),d=n(65736),h=n(71415),f=n(11973),m=n(60742),g=n(21094),v=n(51117),b=n(75395),y=n(88872),k=n(66552),w=n(61161),_=n(81200),E=n(41147),C=n(85253),S=n(19570),j=n(2795);const __=d.__,_x=d._x;class M extends a.Component{constructor(){super(...arguments),i()(this,"onActivateClick",(()=>(this.trackActivateClick(),this.props.createNotice("is-info",__("Activating Akismet…","jetpack"),{id:"activating-akismet"}),S.ZP.activateAkismet().then((()=>{this.props.removeNotice("activating-akismet"),window.location.href=this.props.siteAdminUrl+"admin.php?page=akismet-key-config"})).catch((()=>{this.props.removeNotice("activating-akismet"),this.props.createNotice("is-error",__("Could not activate Akismet.","jetpack"),{id:"activate-akismet-failure"})})),!1)))}trackActivateClick(){f.Z.tracks.recordJetpackClick({type:"activate-link",target:"at-a-glance",feature:"anti-spam"})}getContent(){const e=this.props.akismetData,t=__("Anti-spam","jetpack"),n="jetpack_free"===(0,u.get)(this.props.sitePlan,"product_slug","jetpack_free"),r={text:__("Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.","jetpack"),link:"https://akismet.com/",privacyLink:"https://automattic.com/privacy/"},i=()=>{const e=(0,p.createInterpolateElement)(__("Already have a key? <a>Activate Akismet</a>","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.onActivateClick})});return c().createElement(C.Z,{callToAction:__("Upgrade","jetpack"),title:__("Automatically clear spam from comments and forms.","jetpack"),description:e,disableHref:"false",href:this.props.upgradeUrl,eventFeature:"akismet",path:"dashboard",plan:(0,_.o2)(_.V3),trackBannerDisplay:this.props.trackUpgradeButtonView})},s=()=>c().createElement(C.Z,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and automatically clear spam from comments and forms","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"akismet",path:"dashboard",plan:(0,_.o2)(_.V3)}),o=()=>this.props.isOfflineMode?c().createElement(v.Z,{label:t,module:"akismet",support:r,pro:!0,className:"jp-dash-item__is-inactive"},c().createElement("p",{className:"jp-dash-item__description"},__("Unavailable in Offline Mode.","jetpack"))):this.props.hasConnectedOwner?i():s();if("N/A"===e)return c().createElement(v.Z,{label:t,module:"akismet",support:r,pro:!0},c().createElement("p",{className:"jp-dash-item__description"},__("Loading…","jetpack")));const a=!1!==this.props.sitePlan;if(n){if("not_installed"===e)return c().createElement(v.Z,{label:t,module:"akismet",support:r,className:"jp-dash-item__is-inactive",status:a?"pro-uninstalled":"no-pro-uninstalled-or-inactive",pro:!0,overrideContent:o()});if("not_active"===e)return c().createElement(v.Z,{label:t,module:"akismet",support:r,status:a?"pro-inactive":"no-pro-uninstalled-or-inactive",className:"jp-dash-item__is-inactive",pro:!0,overrideContent:o()});if("invalid_key"===e)return c().createElement(v.Z,{label:t,module:"akismet",support:r,className:"jp-dash-item__is-inactive",pro:!0,overrideContent:o()})}return["not_installed","not_active","invalid_key"].includes(e)?c().createElement(v.Z,{label:t,module:"akismet",support:r,className:"jp-dash-item__is-inactive",pro:!0},__("Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.","jetpack")):[c().createElement(v.Z,{key:"comment-moderation",label:t,module:"akismet",support:r,status:"is-working",pro:!0},(()=>"0"!==this.props.akismetData?c().createElement(c().Fragment,null,c().createElement("h2",{className:"jp-dash-item__count"},this.props.akismetData),c().createElement("p",{className:"jp-dash-item__description"},_x("Spam comments blocked.",'Example: "412 Spam comments blocked"',"jetpack"))):c().createElement("div",{className:"jp-dash-item__recently-activated"},c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack and its Anti-spam currently monitor all comments on your site. Data will display here soon!","jetpack"))))()),!this.props.isOfflineMode&&c().createElement(m.Z,{key:"moderate-comments",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:(0,h.Z)("calypso-comments-all",{site:this.props.siteRawUrl})},__("Moderate comments","jetpack"))]}render(){return c().createElement("div",{className:"jp-dash-item__interior"},c().createElement(j.Z,null),this.getContent())}}i()(M,"propTypes",{siteRawUrl:o().string.isRequired,siteAdminUrl:o().string.isRequired,trackUpgradeButtonView:o().func,akismetData:o().oneOfType([o().string,o().object]).isRequired,isOfflineMode:o().bool.isRequired,upgradeUrl:o().string.isRequired,hasConnectedOwner:o().bool.isRequired}),i()(M,"defaultProps",{siteRawUrl:"",siteAdminUrl:"",akismetData:"N/A",isOfflineMode:"",trackUpgradeButtonView:u.noop}),t.Z=(0,l.$j)((e=>({akismetData:(0,b.fU)(e),sitePlan:(0,y.UL)(e),isOfflineMode:(0,E.Ex)(e),upgradeUrl:(0,w.z)(e,"akismet"),nonce:(0,k.VY)(e),hasConnectedOwner:(0,E.it)(e)})),(e=>({createNotice:g.iI,removeNotice:g.qq,connectUser:()=>e((0,E.bL)())})))(M)},41445:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(92819),p=n(69307),d=n(65736),h=n(71415),f=n(60742),m=n(51117),g=n(85253),v=n(39786),b=n(81200),y=n(61161),k=n(88872),w=n(61744),_=n(75395),E=n(41147),C=n(66552);const __=d.__,S=e=>c().createElement(m.Z,{label:__("Backup","jetpack"),module:e.feature||"backups",support:{text:__("Jetpack Backups allow you to easily restore or download a backup from a specific moment.","jetpack"),link:(0,h.Z)("jetpack-support-backup")},className:e.className,status:e.status,pro:!0,overrideContent:e.overrideContent},c().createElement("p",{className:"jp-dash-item__description"},e.content));class j extends a.Component{getVPContent(){const{sitePlan:e,isVaultPressInstalled:t,getOptionValue:n,siteRawUrl:r,vaultPressData:i}=this.props;return n("vaultpress")&&"success"===(0,u.get)(i,"code","")?S({className:"jp-dash-item__is-active",status:"is-working",content:c().createElement("span",null,(0,u.get)(i,"message","")," ",(0,p.createInterpolateElement)(__("<a>View backup details</a>.","jetpack"),{a:c().createElement("a",{href:(0,h.Z)("vaultpress-dashboard"),target:"_blank",rel:"noopener noreferrer"})}))}):(0,u.isEmpty)(e)?S({className:"",status:"",content:__("Loading…","jetpack")}):"jetpack_free"!==(0,u.get)(e,"product_slug","jetpack_free")?S({className:"jp-dash-item__is-inactive",status:t?"pro-inactive":"pro-uninstalled",content:(0,p.createInterpolateElement)(__("To automatically back up your entire site, please <a>install and activate</a> VaultPress.","jetpack"),{a:c().createElement("a",{href:(0,h.Z)("calypso-plugins-setup",{site:r,query:"only=backups"}),target:"_blank",rel:"noopener noreferrer"})})}):S({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",overrideContent:this.props.hasConnectedOwner?c().createElement(g.Z,{callToAction:__("Upgrade","jetpack"),title:__("Never worry about losing your site – automatic backups keep your content safe.","jetpack"),disableHref:"false",href:this.props.upgradeUrl,eventFeature:"backups",path:"dashboard",plan:(0,b.o2)(b.N_),trackBannerDisplay:this.props.trackUpgradeButtonView}):c().createElement(g.Z,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and get automatic backups that keep your content safe.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"backups",path:"dashboard",plan:(0,b.o2)(b.N_)})})}getRewindContent(){const{planClass:e,rewindStatus:t,siteRawUrl:n}=this.props,r=(e,t)=>c().createElement(f.Z,{compact:!0,key:"manage-backups",className:"jp-dash-item__manage-in-wpcom",href:e},t),i=e=>S({className:"jp-dash-item__is-active",status:"is-working",feature:"rewind",content:e});switch(t){case"provisioning":return c().createElement(c().Fragment,null,i(__("We are configuring your site's backups.","jetpack")));case"awaiting_credentials":return c().createElement(c().Fragment,null,i(__("You need to enter your server's credentials to finish the setup.","jetpack")),r((0,h.Z)("jetpack-backup-dash-credentials",{site:n}),__("Enter credentials","jetpack")));case"active":const t=(0,b.lq)(e)?__("We are backing up your site in real-time.","jetpack"):__("We are backing up your site daily.","jetpack");return c().createElement(c().Fragment,null,i(t),r((0,h.Z)("calypso-activity-log",{site:n,query:"group=rewind"}),__("View your site's backups","jetpack")))}return!1}renderFromRewindStatus(){return"unavailable"===this.props.rewindStatus&&"site_new"===this.props.rewindStatusReason?S({className:"jp-dash-item__is-inactive",status:"pro-inactive",content:__("Your site is new and may still be preparing backup configuration.","jetpack")}):"unavailable"===this.props.rewindStatus||""===this.props.rewindStatus?this.getVPContent():c().createElement("div",{className:"jp-dash-item"},this.getRewindContent())}render(){return this.props.showBackups?this.props.isOfflineMode?c().createElement("div",{className:"jp-dash-item__interior"},S({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",content:__("Unavailable in Offline Mode.","jetpack")})):c().createElement("div",null,c().createElement(v.Z,null),this.renderFromRewindStatus()):null}}i()(j,"propTypes",{siteRawUrl:o().string.isRequired,getOptionValue:o().func.isRequired,rewindStatus:o().string.isRequired,rewindStatusReason:o().string.isRequired,trackUpgradeButtonView:o().func,vaultPressData:o().any.isRequired,sitePlan:o().object.isRequired,isOfflineMode:o().bool.isRequired,isVaultPressInstalled:o().bool.isRequired,upgradeUrl:o().string.isRequired,hasConnectedOwner:o().bool.isRequired}),i()(j,"defaultProps",{siteRawUrl:"",getOptionValue:u.noop,vaultPressData:"",sitePlan:"",isOfflineMode:!1,isVaultPressInstalled:!1,rewindStatus:"",trackUpgradeButtonView:u.noop}),t.Z=(0,l.$j)((e=>{const t=(0,k.UL)(e);return{vaultPressData:(0,_.XK)(e),sitePlan:t,planClass:(0,k.b7)(e)?(0,b.sc)((0,k.Jz)(e).product_slug):(0,b.sc)(t.product_slug),isOfflineMode:(0,E.Ex)(e),isVaultPressInstalled:(0,w.P8)(e,"vaultpress/vaultpress.php"),showBackups:(0,C.xR)(e),upgradeUrl:(0,y.z)(e,"backup"),hasConnectedOwner:(0,E.it)(e)}}),(e=>({connectUser:()=>e((0,E.bL)())})))(j)},1927:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(65736),o=n(69307),a=n(55609),c=n(71415),l=n(11268),u=n.n(l),p=n(99196),d=n.n(p),h=n(44072),f=n(39007);const __=s.__,_x=s._x;class m extends p.Component{render(){return d().createElement(f.Z,{iconAlt:__("Plugin icon","jetpack"),iconSrc:h,pluginName:_x("Boost","The Jetpack Boost product name, without the Jetpack prefix","jetpack"),pluginFile:"jetpack-boost/jetpack-boost.php",pluginSlug:"jetpack-boost",pluginLink:this.props.siteAdminUrl+"admin.php?page=jetpack-boost",installOrActivatePrompt:(0,o.createInterpolateElement)(__("Improve your site’s performance and SEO in a few clicks with the free Jetpack Boost plugin.<br /><ExternalLink>Learn more.</ExternalLink>","jetpack"),{ExternalLink:d().createElement(a.ExternalLink,{href:(0,c.Z)("stats-nudges-boost-learn")}),br:d().createElement("br",null)})})}}i()(m,"propTypes",{siteAdminUrl:u().string.isRequired}),t.Z=m},78204:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(69307),l=n(65736),u=n(41147),p=n(66552),d=n(80125),h=n(81441),f=n(51117),m=n(22256),g=n(10958);const __=l.__,_x=l._x;class v extends s.Component{siteConnection(){let e="";return this.props.isOfflineMode?e=o().createElement("div",{className:"jp-connection-settings__info"},this.props.siteIcon?o().createElement("img",{width:"64",height:"64",className:"jp-connection-settings__site-icon",src:this.props.siteIcon,alt:""}):o().createElement(m.Z,{icon:"globe",size:64}),o().createElement("div",{className:"jp-connection-settings__text"},__("Your site is in Offline Mode, so it can not be connected to WordPress.com.","jetpack"))):!0===this.props.siteConnectionStatus&&(e=o().createElement("div",null,o().createElement("div",{className:"jp-connection-settings__info"},this.props.siteIcon?o().createElement("img",{width:"64",height:"64",className:"jp-connection-settings__site-icon",src:this.props.siteIcon,alt:""}):o().createElement(m.Z,{icon:"globe",size:64}),o().createElement("div",{className:"jp-connection-settings__text"},__("Your site is connected to WordPress.com.","jetpack"),this.props.isConnectionOwner&&o().createElement("span",{className:"jp-connection-settings__is-owner"},o().createElement("br",null),o().createElement("em",null,__("You are the Jetpack owner.","jetpack"))))),this.props.userCanDisconnectSite&&o().createElement("div",{className:"jp-connection-settings__actions"},o().createElement(h.Z,{asLink:!0,autoOpenInDisconnectRoute:!0})))),e}userConnection(){const e=this.props.isConnectionOwner?null:o().createElement(h.Z,{asLink:!0,connectUser:!0,from:"connection-settings"});let t="";return this.props.isOfflineMode?o().createElement("div",{className:"jp-connection-settings__info"},this.props.userGravatar?o().createElement("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.userGravatar}):o().createElement(m.Z,{icon:"user",size:64}),o().createElement("div",{className:"jp-connection-settings__text"},__("The site is in Offline Mode, so you can not connect to WordPress.com.","jetpack"))):(t=this.props.isLinked?this.props.isFetchingUserData?__("Loading…","jetpack"):o().createElement("div",null,o().createElement("div",{className:"jp-connection-settings__info"},o().createElement("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.wpComConnectedUser.avatar}),o().createElement("div",{className:"jp-connection-settings__text"},(0,c.createInterpolateElement)((0,l.sprintf)(
+__("Redeem your coupon and get started with %s for free the first year!","jetpack"),e.product.title),disableHref:"false",href:t,eventFeature:"backups",path:"dashboard",eventProps:{type:"redeem_partner_coupon",coupon_preset:e.preset},plan:(0,_.o2)(_.N_),trackBannerDisplay:this.trackRedeemCouponButtonView})}return c().createElement(c().Fragment,null,c().createElement(S.Z,null),c().createElement(v.ZP,{callToAction:__("Upgrade","jetpack"),title:__("Never worry about losing your site – automatic backups keep your content safe.","jetpack"),disableHref:"false",href:t,eventFeature:"backups",path:"dashboard",plan:(0,_.o2)(_.N_),trackBannerDisplay:s}))}return c().createElement(v.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and get automatic backups that keep your content safe.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"backups",path:"dashboard",plan:(0,_.o2)(_.N_)})}getVPContent(){const{hasBackups:e,isFetchingSite:t,isVaultPressInstalled:n,getOptionValue:s,siteRawUrl:r,vaultPressData:i}=this.props;return s("vaultpress")&&"success"===(0,p.get)(i,"code","")?N({className:"jp-dash-item__is-active",status:"is-working",content:c().createElement("span",null,(0,p.get)(i,"message","")," ",(0,u.createInterpolateElement)(__("<a>View backup details</a>.","jetpack"),{a:c().createElement("a",{href:(0,m.Z)("vaultpress-dashboard"),target:"_blank",rel:"noopener noreferrer"})}))}):t?this.renderLoading():N(e?{className:"jp-dash-item__is-inactive",status:n?"pro-inactive":"pro-uninstalled",content:(0,u.createInterpolateElement)(__("To automatically back up your entire site, please <a>install and activate</a> VaultPress.","jetpack"),{a:c().createElement("a",{href:(0,m.Z)("calypso-plugins-setup",{site:r,query:"only=backups"}),target:"_blank",rel:"noopener noreferrer"})})}:{className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",overrideContent:this.getJetpackBackupBanner()})}getRewindContent(){const{hasRealTimeBackups:e,rewindStatus:t,siteRawUrl:n}=this.props,s=(e,t)=>c().createElement(g.Z,{compact:!0,key:"manage-backups",className:"jp-dash-item__manage-in-wpcom",href:e,target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick},t),r=e=>N({className:"jp-dash-item__is-active",status:"is-working",feature:"rewind",content:e});switch(t){case"provisioning":return c().createElement(c().Fragment,null,r(__("We are configuring your site's backups.","jetpack")));case"awaiting_credentials":return c().createElement(c().Fragment,null,r(__("You need to enter your server's credentials to finish the setup.","jetpack")),s((0,m.Z)("jetpack-backup-dash-credentials",{site:n}),__("Enter credentials","jetpack")));case"active":{let t=__("We are backing up your site daily.","jetpack");return e&&(t=__("We are backing up your site in real-time.","jetpack")),c().createElement(c().Fragment,null,r(t),s((0,m.Z)("calypso-activity-log",{site:n,query:"group=rewind"}),__("View your site's backups","jetpack")))}}return!1}renderLoading(){return N({className:"",status:"",content:__("Loading…","jetpack")})}renderFromRewindStatus(){return this.props.hasBackups&&"unavailable"===this.props.rewindStatus&&"site_new"===this.props.rewindStatusReason?N({className:"jp-dash-item__is-inactive",status:"pro-inactive",content:__("Your site is new and may still be preparing backup configuration.","jetpack")}):"unavailable"===this.props.rewindStatus||""===this.props.rewindStatus?this.getVPContent():c().createElement("div",{className:"jp-dash-item"},this.getRewindContent())}render(){return this.props.showBackups?this.props.isOfflineMode?c().createElement("div",{className:"jp-dash-item__interior"},N({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",content:__("Unavailable in Offline Mode.","jetpack")})):(this.props.isFetchingSite&&this.renderLoading(),c().createElement("div",null,c().createElement(k.Z,null),this.renderFromRewindStatus())):null}}r()(x,"propTypes",{siteRawUrl:a().string.isRequired,getOptionValue:a().func.isRequired,rewindStatus:a().string.isRequired,rewindStatusReason:a().string.isRequired,trackUpgradeButtonView:a().func,vaultPressData:a().any.isRequired,hasBackups:a().bool.isRequired,hasRealTimeBackups:a().bool.isRequired,isOfflineMode:a().bool.isRequired,isVaultPressInstalled:a().bool.isRequired,upgradeUrl:a().string.isRequired,hasConnectedOwner:a().bool.isRequired}),r()(x,"defaultProps",{siteRawUrl:"",getOptionValue:p.noop,vaultPressData:"",isOfflineMode:!1,isVaultPressInstalled:!1,rewindStatus:"",trackUpgradeButtonView:p.noop}),t.Z=(0,l.$j)((e=>({vaultPressData:(0,b.XK)(e),isOfflineMode:(0,C.Ex)(e),isVaultPressInstalled:(0,w.P8)(e,"vaultpress/vaultpress.php"),showBackups:(0,j.xR)(e),upgradeUrl:(0,y.z)(e,"backup"),hasConnectedOwner:(0,C.it)(e),isFetchingSite:(0,E._5)(e),hasBackups:(0,E.P2)(e,"backups"),hasRealTimeBackups:(0,E.P2)(e,"real-time-backups"),partnerCoupon:(0,j.DV)(e)})),(e=>({connectUser:()=>e((0,C.bL)())})))(x)},7607:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(6324),a=n(5736),o=n(3255);const __=a.__;t.Z=()=>{const e=__("Jetpack blocks","jetpack"),t={text:__("Jetpack includes some blocks which can help you create your pages exactly the way you want them.","jetpack"),link:(0,i.Z)("jetpack-support-blocks")};return r().createElement(o.Z,{label:e,support:t},r().createElement("p",{className:"jp-dash-item__description"},__("Jetpack blocks give you the power to deliver quality content that hooks website visitors without needing to hire a developer or learn a single line of code.","jetpack")))}},6438:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5736),a=n(9307),o=n(5609),c=n(6324),l=n(5162),p=n.n(l),u=n(9196),d=n.n(u),m=n(4072),h=n(8154);const __=i.__,_x=i._x,g=["jetpack-boost/jetpack-boost.php","jetpack-boost-dev/jetpack-boost.php"];class f extends u.Component{render(){return d().createElement(h.Z,{iconAlt:__("Plugin icon","jetpack"),iconSrc:m,pluginName:_x("Boost","The Jetpack Boost product name, without the Jetpack prefix","jetpack"),pluginFiles:g,pluginSlug:"jetpack-boost",pluginLink:this.props.siteAdminUrl+"admin.php?page=jetpack-boost",installOrActivatePrompt:(0,a.createInterpolateElement)(__("Improve your site’s performance and SEO in a few clicks with the free Jetpack Boost plugin.<br /><ExternalLink>Learn more</ExternalLink>","jetpack"),{ExternalLink:d().createElement(o.ExternalLink,{href:(0,c.Z)("stats-nudges-boost-learn")}),br:d().createElement("br",null)})})}}r()(f,"propTypes",{siteAdminUrl:p().string.isRequired}),t.Z=f},1475:function(e,t,n){"use strict";var s=n(5162),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(9307),l=n(5736),p=n(6300),u=n(9508),d=n(7583),m=n(7633),h=n(3255),g=n(5060),f=n(2106);const __=l.__,_x=l._x;class v extends i.Component{siteConnection(){let e="";return this.props.isOfflineMode?e=a().createElement("div",{className:"jp-connection-settings__info"},this.props.siteIcon?a().createElement("img",{width:"64",height:"64",className:"jp-connection-settings__site-icon",src:this.props.siteIcon,alt:""}):a().createElement(g.Z,{icon:"globe",size:64}),a().createElement("div",{className:"jp-connection-settings__text"},__("Your site is in Offline Mode, so it can not be connected to WordPress.com.","jetpack"))):!0===this.props.siteConnectionStatus&&(e=a().createElement("div",null,a().createElement("div",{className:"jp-connection-settings__info"},this.props.siteIcon?a().createElement("img",{width:"64",height:"64",className:"jp-connection-settings__site-icon",src:this.props.siteIcon,alt:""}):a().createElement(g.Z,{icon:"globe",size:64}),a().createElement("div",{className:"jp-connection-settings__text"},__("Your site is connected to WordPress.com.","jetpack"),this.props.isConnectionOwner&&a().createElement("span",{className:"jp-connection-settings__is-owner"},a().createElement("br",null),a().createElement("em",null,__("You are the Jetpack owner.","jetpack"))))),this.props.userCanDisconnectSite&&a().createElement("div",{className:"jp-connection-settings__actions"},a().createElement(m.Z,{asLink:!0,autoOpenInDisconnectRoute:!0})))),e}userConnection(){const e=this.props.isConnectionOwner?null:a().createElement(m.Z,{asLink:!0,connectUser:!0,from:"connection-settings"});let t="";return this.props.isOfflineMode?a().createElement("div",{className:"jp-connection-settings__info"},this.props.userGravatar?a().createElement("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.userGravatar}):a().createElement(g.Z,{icon:"user",size:64}),a().createElement("div",{className:"jp-connection-settings__text"},__("The site is in Offline Mode, so you can not connect to WordPress.com.","jetpack"))):(t=this.props.isLinked?this.props.isFetchingUserData?__("Loading…","jetpack"):a().createElement("div",null,a().createElement("div",{className:"jp-connection-settings__info"},a().createElement("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.wpComConnectedUser.avatar}),a().createElement("div",{className:"jp-connection-settings__text"},(0,c.createInterpolateElement)((0,l.sprintf)(
/* translators: Placeholder is the WordPress user login name. */
-__("Connected as <span>%s</span>","jetpack"),this.props.wpComConnectedUser.login),{span:o().createElement("span",{className:"jp-connection-settings__username"})}),o().createElement("div",{className:"jp-connection-settings__email"},this.props.wpComConnectedUser.email))),o().createElement("div",{className:"jp-connection-settings__actions"},e),o().createElement(g.Z,null)):o().createElement("div",null,o().createElement("div",{className:"jp-connection-settings__info"},__("Get the most out of Jetpack.","jetpack")),o().createElement("div",{className:"jp-connection-settings__actions"},e)),t)}render(){return o().createElement("div",null,o().createElement(d.Z,null),o().createElement("div",{className:"jp-at-a-glance__item-grid"},o().createElement("div",{className:"jp-at-a-glance__left"},o().createElement("div",{className:"jp-dash-item__interior"},o().createElement(f.Z,{className:"jp-connection-type",label:_x("Site connection","Dashboard widget header","jetpack")},this.siteConnection()))),this.props.userCanConnectAccount&&o().createElement("div",{className:"jp-at-a-glance__right"},o().createElement("div",{className:"jp-dash-item__interior"},o().createElement(f.Z,{className:"jp-connection-type",label:_x("Account connection","Dashboard widget header","jetpack")},this.userConnection())))))}}v.propTypes={siteConnectionStatus:i().any.isRequired,isOfflineMode:i().bool.isRequired,userCanDisconnectSite:i().bool.isRequired,isConnectionOwner:i().bool.isRequired,isLinked:i().bool.isRequired,userGravatar:i().any.isRequired,username:i().any.isRequired},t.Z=(0,a.$j)((e=>({siteConnectionStatus:(0,u.Gz)(e),isOfflineMode:(0,u.Ex)(e),userCanDisconnectSite:(0,p.WB)(e),userCanConnectAccount:(0,p.n0)(e),userGravatar:(0,p.KF)(e),username:(0,p.Ms)(e),isConnectionOwner:(0,u.QM)(e),isLinked:(0,u.BU)(e),siteIcon:(0,p.ze)(e),isFetchingUserData:(0,u.Dd)(e),wpComConnectedUser:(0,u.tN)(e)})))(v)},86428:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(92819),d=n(11973),h=n(5e4),f=n(69733),m=n(69641),g=n(1927),v=n(89665),b=n(17624),y=n(75031),k=n(18394),w=n(94109),_=n(41445),E=n(10846),C=n(37615),S=n(49283),j=n(89578),M=n(78204),x=n(15142),N=n(27219),A=n(21205),O=n(66552),T=n(41147),P=n(93107),I=n(35795);const __=u.__;class R extends a.Component{constructor(){super(...arguments),o()(this,"trackSecurityClick",(()=>d.Z.tracks.recordJetpackClick("aag_manage_security_wpcom"))),o()(this,"trackUpgradeButtonView",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return()=>d.Z.tracks.recordEvent("jetpack_wpa_aag_upgrade_button_view",{feature:e})}))}render(){const e={updateOptions:this.props.updateOptions,getOptionValue:this.props.getOptionValue,isUpdating:this.props.isUpdating,multisite:this.props.multisite},t={siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl},n=c().createElement(f.Z,{key:"securityHeader",label:__("Security","jetpack"),settingsPath:this.props.userCanManageModules?"#security":void 0,externalLink:this.props.isOfflineMode||!this.props.userCanManageModules?"":__("Manage security settings","jetpack"),externalLinkPath:this.props.isOfflineMode?"":"#/security",externalLinkClick:this.trackSecurityClick}),r=c().createElement("div",null,c().createElement(f.Z,{label:__("Connections","jetpack"),className:"jp-dash-section-header__connections"}),c().createElement(M.Z,null)),s=(0,p.get)(this.props.rewindStatus,["state"],""),o=(0,p.get)(this.props.rewindStatus,["reason"],""),a=[],l=!this.props.fetchingScanStatus&&"vp_active_on_site"===this.props.scanStatus?.reason;if(this.props.multisite&&!l||a.push(c().createElement(k.Z,i()({},e,t,{trackUpgradeButtonView:this.trackUpgradeButtonView("scan")}))),this.props.multisite||a.push(c().createElement(_.Z,i()({},e,{siteRawUrl:this.props.siteRawUrl,rewindStatus:s,rewindStatusReason:o,trackUpgradeButtonView:this.trackUpgradeButtonView("backups")}))),a.push(c().createElement(w.Z,i()({},t,{trackUpgradeButtonView:this.trackUpgradeButtonView("akismet")}))),"inactive"!==this.props.getModuleOverride("protect")&&a.push(c().createElement(b.Z,e)),"inactive"!==this.props.getModuleOverride("monitor")&&a.push(c().createElement(y.Z,e)),"active"===s&&a.unshift(c().createElement(m.Z,i()({},e,{siteRawUrl:this.props.siteRawUrl}))),this.props.userCanManageModules){const s=[{header:n,cards:a,pinnedBundle:!this.props.multisite&&!this.props.isOfflineMode&&this.props.hasConnectedOwner?c().createElement(S.Z,null):null}],o=[];return"inactive"!==this.props.getModuleOverride("photon")&&o.push(c().createElement(E.Z,e)),"inactive"!==this.props.getModuleOverride("search")&&o.push(c().createElement(C.Z,i()({},e,{trackUpgradeButtonView:this.trackUpgradeButtonView("search")}))),"inactive"!==this.props.getModuleOverride("videopress")&&o.push(c().createElement(j.Z,i()({},e,{trackUpgradeButtonView:this.trackUpgradeButtonView("videopress")}))),this.props.userCanManagePlugins&&o.push(c().createElement(g.Z,{siteAdminUrl:this.props.siteAdminUrl})),o.length&&s.push({header:c().createElement(f.Z,{key:"performanceHeader",label:__("Performance and Growth","jetpack")}),cards:o}),c().createElement("div",{className:"jp-at-a-glance"},c().createElement(x.Z,null),c().createElement(N.Z,null),c().createElement(A.Z,null),c().createElement(v.Z,i()({},e,t)),s.map(((e,t)=>[e.header,e.pinnedBundle,(0,p.chunk)(e.cards,2).map(((e,n)=>{let[r,i]=e;return c().createElement("div",{className:"jp-at-a-glance__item-grid",key:`card-${t}-${n}`},c().createElement("div",{className:"jp-at-a-glance__left"},r),c().createElement("div",{className:"jp-at-a-glance__right"},i))}))])),r)}let u="";this.props.userCanViewStats&&(u=c().createElement(v.Z,i()({},e,t)));const d=c().createElement(b.Z,e),h=this.props.getOptionValue("protect")&&this.props.hasConnectedOwner;return this.props.userIsSubscriber?c().createElement("div",null,u,r):c().createElement("div",null,u,h&&n,h&&d,r)}}t.Z=(0,l.$j)((e=>({userCanManageModules:(0,O.pK)(e),userCanViewStats:(0,O.px)(e),userCanManagePlugins:(0,O.ic)(e),userIsSubscriber:(0,O.dc)(e),isOfflineMode:(0,T.Ex)(e),getModuleOverride:t=>(0,P.Qy)(e,t),multisite:(0,O.TA)(e),scanStatus:(0,I.C8)(e),fetchingScanStatus:(0,I.gE)(e),hasConnectedOwner:(0,T.it)(e)})))((0,h.u)(R))},75031:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(69307),p=n(65736),d=n(71415),h=n(11973),f=n(93107),m=n(41147),g=n(51117);const __=p.__;class v extends a.Component{constructor(){super(...arguments),i()(this,"activateAndTrack",(()=>{h.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"monitor",toggled:"on"}),this.props.updateOptions({monitor:!0})})),i()(this,"connect",(()=>this.props.connectUser()))}getContent(){const e=__("Downtime monitoring","jetpack"),t={text:__("Jetpack’s downtime monitor will continuously monitor your site and alert you the moment that downtime is detected.","jetpack"),link:(0,d.Z)("jetpack-support-monitor")};if(this.props.getOptionValue("monitor")&&!this.props.isOfflineMode&&this.props.hasConnectedOwner)return c().createElement(g.Z,{label:e,module:"monitor",support:t,status:"is-working"},c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is monitoring your site. If we think your site is down, you will receive an email.","jetpack")));const n=this.props.hasConnectedOwner?(0,u.createInterpolateElement)(__("<a>Activate Monitor</a> to receive email notifications if your site goes down.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateAndTrack})}):__("Get alerts if your site goes offline. We’ll let you know when it’s back up, too.","jetpack");return c().createElement(g.Z,{label:e,module:"monitor",support:t,className:"jp-dash-item__is-inactive",noToggle:!this.props.hasConnectedOwner},c().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode?__("Unavailable in Offline Mode.","jetpack"):n),!this.props.isOfflineMode&&!this.props.hasConnectedOwner&&c().createElement("p",{className:"jp-dash-item__description jp-dash-item__connect"},(0,u.createInterpolateElement)(__("<a>Connect your WordPress.com</a> account to use this feature.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.connect})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}i()(v,"propTypes",{isOfflineMode:o().bool.isRequired,isModuleAvailable:o().bool.isRequired,hasConnectedOwner:o().bool.isRequired}),t.Z=(0,l.$j)((e=>({isOfflineMode:(0,m.Ex)(e),isModuleAvailable:(0,f.v1)(e,"monitor"),hasConnectedOwner:(0,m.it)(e)})),(e=>({connectUser:()=>e((0,m.bL)())})))(v)},10846:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(69307),p=n(65736),d=n(71415),h=n(51117),f=n(93107),m=n(41147);const __=p.__;class g extends a.Component{constructor(){super(...arguments),i()(this,"activatePhoton",(()=>this.props.updateOptions({photon:!0})))}getContent(){const e=__("Image Accelerator","jetpack"),t={text:__("Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.","jetpack"),link:(0,d.Z)("jetpack-support-photon")};return this.props.getOptionValue("photon")?c().createElement(h.Z,{label:e,module:"photon",support:t,status:"is-working"},c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.","jetpack"))):c().createElement(h.Z,{label:e,module:"photon",support:t,className:"jp-dash-item__is-inactive"},c().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,u.createInterpolateElement)(__("<a>Activate</a> to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activatePhoton})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}i()(g,"propTypes",{isOfflineMode:o().bool.isRequired,isModuleAvailable:o().bool.isRequired}),t.Z=(0,l.$j)((e=>({isOfflineMode:(0,m.Ex)(e),isModuleAvailable:(0,f.v1)(e,"photon")})))(g)},17624:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(69307),p=n(65736),d=n(71415),h=n(51117),f=n(75395),m=n(41147),g=n(93107),v=n(28865),b=n(66683);const __=p.__;class y extends a.Component{constructor(){super(...arguments),i()(this,"activateProtect",(()=>this.props.updateOptions({protect:!0}))),i()(this,"connect",(()=>this.props.connectUser()))}getContent(){const e=__("Protect","jetpack"),t={text:__("Protects your site from traditional and distributed brute force login attacks.","jetpack"),link:(0,d.Z)("jetpack-support-protect")};if(this.props.getOptionValue("protect")&&!this.props.isOfflineMode&&this.props.hasConnectedOwner){const n=this.props.protectCount;return!1===n||"0"===n||"N/A"===n?c().createElement(h.Z,{label:e,module:"protect",support:t,status:"is-working",className:"jp-dash-item__recently-activated"},c().createElement("div",{className:"jp-dash-item__recently-activated-lower"},c().createElement(b.Z,null),c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is actively blocking malicious login attempts. Data will display here soon!","jetpack")))):c().createElement(h.Z,{label:e,module:"protect",support:t,status:"is-working"},c().createElement("h2",{className:"jp-dash-item__count"},(0,v.Y)(n)),c().createElement("p",{className:"jp-dash-item__description"},__("Total malicious attacks blocked on your site.","jetpack")))}return c().createElement(h.Z,{label:e,module:"protect",support:t,className:"jp-dash-item__is-inactive",noToggle:!this.props.hasConnectedOwner},c().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode&&__("Unavailable in Offline Mode","jetpack"),!this.props.isOfflineMode&&!this.props.hasConnectedOwner&&(0,u.createInterpolateElement)(__("<a>Connect your WordPress.com</a> account to keep your site protected from malicious sign in attempts.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.connect})}),!this.props.isOfflineMode&&this.props.hasConnectedOwner&&(0,u.createInterpolateElement)(__("<a>Activate Protect</a> to keep your site protected from malicious sign in attempts.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateProtect})})))}render(){return this.props.isModuleAvailable&&c().createElement("div",{className:"jp-dash-item__interior"},c().createElement(b.Z,null),this.getContent())}}i()(y,"propTypes",{isOfflineMode:o().bool.isRequired,protectCount:o().any.isRequired,isModuleAvailable:o().bool.isRequired,hasConnectedOwner:o().bool.isRequired,connectUser:o().func.isRequired}),t.Z=(0,l.$j)((e=>({protectCount:(0,f.xz)(e),isOfflineMode:(0,m.Ex)(e),isModuleAvailable:(0,g.v1)(e,"protect"),hasConnectedOwner:(0,m.it)(e)})),(e=>({connectUser:()=>e((0,m.bL)())})))(y)},18394:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(92819),p=n(69307),d=n(65736),h=n(71415),f=n(60742),m=n(19570),g=n(11973),v=n(88872),b=n(35795),y=n(61744),k=n(75395),w=n(41147),_=n(51117),E=n(66552),C=n(61161),S=n(85253),j=n(21094),M=n(81200),x=n(28865);const __=d.__,_n=d._n,N=e=>c().createElement(_.Z,{label:__("Scan","jetpack"),module:e.feature||"scan",support:{text:__("Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.","jetpack"),link:(0,h.Z)("jetpack-support-security")},className:e.className||"",status:e.status||"",pro:!0,overrideContent:e.overrideContent},(0,u.isArray)(e.content)?e.content:c().createElement("p",{className:"jp-dash-item__description"},e.content)),A=e=>N({className:"jp-dash-item__is-active",status:"is-working",content:e});class O extends a.Component{constructor(){super(...arguments),i()(this,"onActivateVaultPressClick",(()=>(g.Z.tracks.recordJetpackClick({type:"activate-link",target:"at-a-glance",feature:"vaultpress"}),this.props.createNotice("is-info",__("Activating VaultPress…","jetpack"),{id:"activating-vaultpress"}),m.ZP.activateVaultPress().then((()=>{this.props.removeNotice("activating-vaultpress"),window.location.href=this.props.siteAdminUrl+"admin.php?page=vaultpress"})).catch((()=>{this.props.removeNotice("activating-vaultpress"),this.props.createNotice("is-error",__("Could not activate VaultPress.","jetpack"),{id:"activate-vaultpress-failure"})})),!1)))}getVPContent(){const{vaultPressData:e,hasConnectedOwner:t}=this.props;if("not_registered"===e?.code)return N({className:"jp-dash-item__is-inactive",status:"not-registered",content:(0,p.createInterpolateElement)(__("VaultPress is having difficulties scanning. Please make sure your <keyLink>registration key is entered</keyLink>. If you require further assistance please <supportLink>contact support</supportLink>.","jetpack"),{keyLink:c().createElement("a",{href:this.props.siteAdminUrl+"admin.php?page=vaultpress"}),supportLink:c().createElement("a",{href:(0,h.Z)("vaultpress-help")})})});if((0,u.get)(e,["data","features","security"],!1)){const t=this.props.scanThreats;if(0!==t)return this.renderThreatsFound(t,(0,h.Z)("vaultpress-dashboard"));if("success"===e.code)return N({status:"is-working",content:__("No threats found, you're good to go!","jetpack")})}if(this.props.fetchingSiteData)return N({content:__("Loading…","jetpack")});const n=!1!==this.props.sitePlan,r=["is-premium-plan","is-business-plan"].includes(this.props.planClass);return n&&r?this.props.isVaultPressInstalled?N({className:"jp-dash-item__is-inactive",status:"pro-inactive",content:[c().createElement("p",{className:"jp-dash-item__description",key:"inactive-scanning"},(0,p.createInterpolateElement)(__("VaultPress is not active, <a>please activate</a> to enable automatic scanning for security for threats.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.onActivateVaultPressClick})}))]}):N({className:"jp-dash-item__is-inactive",status:"pro-uninstalled",content:[c().createElement("p",{className:"jp-dash-item__description",key:"inactive-scanning"},(0,p.createInterpolateElement)(__("VaultPress is not installed, <a>please install</a> to enable automatic scanning for security for threats.","jetpack"),{a:c().createElement("a",{href:(0,h.Z)("calypso-plugins-vaultpress"),target:"_blank",rel:"noopener noreferrer"})}))]}):N({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",overrideContent:t?this.getUpgradeBanner():this.getConnectBanner()})}getUpgradeBanner(){return c().createElement(S.Z,{callToAction:__("Upgrade","jetpack"),title:__("Purchase Jetpack Scan to protect your site from security threats with automated scanning.","jetpack"),disableHref:"false",href:this.props.upgradeUrl,eventFeature:"scan",path:"dashboard",plan:(0,M.o2)(M.eM),trackBannerDisplay:this.props.trackUpgradeButtonView})}getConnectBanner(){return c().createElement(S.Z,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade to Jetpack Scan and protect your site from security threats with automated scanning.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"scan",path:"dashboard",plan:(0,M.o2)(M.eM)})}renderAction(e,t){return this.props.isAtomicSite?null:c().createElement(f.Z,{compact:!0,key:"manage-scan",className:"jp-dash-item__manage-in-wpcom",href:e,target:"_blank",rel:"noopener noreferrer"},t)}renderThreatsFound(e,t){return c().createElement(c().Fragment,null,A([c().createElement("h2",{className:"jp-dash-item__count is-alert"},(0,x.Y)(e)),c().createElement("p",{className:"jp-dash-item__description"},(0,p.createInterpolateElement)(_n("Security threat found. <a>Click here</a> to fix them immediately.","Security threats found. <a>Click here</a> to fix them immediately.",e,"jetpack"),{a:c().createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"})}))]),this.renderAction(t,__("View security scan details","jetpack")))}getRewindContent(){const{scanStatus:e,siteRawUrl:t}=this.props,n=(0,h.Z)("calypso-scanner",{site:t});if(Array.isArray(e.threats)&&e.threats.length>0)return this.renderThreatsFound(e.threats.length,n);if(e.credentials&&0===e.credentials.length)return c().createElement(c().Fragment,null,A(__("Please finish your setup by entering your server’s credentials.","jetpack")),this.renderAction((0,h.Z)("jetpack-scan-dash-credentials",{site:t}),__("Enter credentials","jetpack")));switch(e.state){case"provisioning":return c().createElement(c().Fragment,null,A(__("We are configuring your site protection.","jetpack")));case"idle":case"scanning":return c().createElement(c().Fragment,null,A(__("No security threats found. Your site will continue to be monitored for future threats.","jetpack")),this.renderAction((0,h.Z)("calypso-scanner",{site:t}),__("View security scan details","jetpack")))}return!1}getUpgradeContent(){const{hasConnectedOwner:e}=this.props;return N({className:"jp-dash-item__is-inactive",overrideContent:e?this.getUpgradeBanner():this.getConnectBanner()})}getContent(){const{scanStatus:e}=this.props;return e.state&&"unavailable"!==e.state?c().createElement("div",{className:"jp-dash-item"},this.getRewindContent()):"vp_active_on_site"===e.reason?this.getVPContent():this.getUpgradeContent()}render(){if(!this.props.showBackups)return null;if(this.props.isOfflineMode)return N({className:"jp-dash-item__is-inactive",content:__("Unavailable in Offline Mode.","jetpack")});const e=this.props.fetchingScanStatus||this.props.fetchingVaultPressData;return c().createElement("div",null,e?N({content:__("Loading…","jetpack")}):this.getContent())}}i()(O,"propTypes",{siteRawUrl:o().string.isRequired,siteAdminUrl:o().string.isRequired,trackUpgradeButtonView:o().func,vaultPressData:o().any.isRequired,scanThreats:o().any.isRequired,sitePlan:o().object.isRequired,isOfflineMode:o().bool.isRequired,isVaultPressInstalled:o().bool.isRequired,fetchingSiteData:o().bool.isRequired,upgradeUrl:o().string.isRequired,hasConnectedOwner:o().bool.isRequired}),i()(O,"defaultProps",{siteRawUrl:"",siteAdminUrl:"",vaultPressData:"",scanThreats:0,sitePlan:"",isOfflineMode:!1,isVaultPressInstalled:!1,fetchingSiteData:!1,trackUpgradeButtonView:u.noop}),t.Z=(0,l.$j)((e=>{const t=(0,v.UL)(e);return{isAtomicSite:(0,E.Ug)(e),isOfflineMode:(0,w.Ex)(e),scanStatus:(0,b.C8)(e),fetchingScanStatus:(0,b.gE)(e),isVaultPressInstalled:(0,y.P8)(e,"vaultpress/vaultpress.php"),fetchingVaultPressData:(0,k.P_)(e),vaultPressData:(0,k.XK)(e),scanThreats:(0,k._R)(e),fetchingSiteData:(0,v._5)(e),sitePlan:t,planClass:(0,M.sc)((0,u.get)(t,"product_slug","")),showBackups:(0,E.xR)(e),upgradeUrl:(0,C.z)(e,"scan"),hasConnectedOwner:(0,w.it)(e)}}),(e=>({createNotice:j.iI,removeNotice:j.qq,connectUser:()=>e((0,w.bL)())})))(O)},37615:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(92819),p=n(69307),d=n(65736),h=n(71415),f=n(11973),m=n(60742),g=n(51117),v=n(81200),b=n(88872),y=n(61161),k=n(41147),w=n(85253);const __=d.__,_=__("Incredibly powerful and customizable, Jetpack Search helps your visitors instantly find the right content – right when they need it.","jetpack"),E=__("Customize your Search experience.","jetpack"),C=__("Search supports many customizations. ","jetpack"),S=e=>c().createElement(g.Z,{label:__("Search","jetpack"),module:"search",support:{text:C,link:(0,h.Z)("jetpack-support-search")},className:e.className,status:e.status,isModule:e.pro_inactive,pro:!0,overrideContent:e.overrideContent},c().createElement("p",{className:"jp-dash-item__description"},e.content));class j extends a.Component{constructor(){super(...arguments),i()(this,"activateSearch",(()=>{this.props.updateOptions({search:!0,...this.props.hasSearchProduct?{instant_search_enabled:!0}:{}})}))}trackSearchLink(){f.Z.tracks.recordJetpackClick({type:"upgrade-link",target:"at-a-glance",feature:"search"})}render(){return this.props.isFetching?S({status:"",content:__("Loading…","jetpack")}):this.props.isOfflineMode?S({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",pro_inactive:!0,content:__("Unavailable in Offline Mode","jetpack")}):this.props.isBusinessPlan||this.props.hasSearchProduct?this.props.getOptionValue("search")?c().createElement("div",{className:"jp-dash-item"},c().createElement(g.Z,{label:__("Search","jetpack"),module:"search",support:{text:C,link:(0,h.Z)("jetpack-support-search")},className:"jp-dash-item__is-active",isModule:!1,pro:!0},c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack Search is powering search on your site.","jetpack"))),this.props.hasSearchProduct?c().createElement(m.Z,{compact:!0,className:"jp-search-config-aag",href:"admin.php?page=jetpack-search-configure"},E):c().createElement(m.Z,{compact:!0,className:"jp-search-config-aag",href:"customize.php?autofocus[panel]=widgets"},__("Add Search (Jetpack) Widget","jetpack"))):S({className:"jp-dash-item__is-inactive",pro_inactive:!1,content:(0,p.createInterpolateElement)(__("<a>Activate</a> to help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateSearch})})}):S({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",pro_inactive:!0,overrideContent:this.props.hasConnectedOwner?c().createElement(w.Z,{callToAction:__("Upgrade","jetpack"),title:_,disableHref:"false",href:this.props.upgradeUrl,eventFeature:"search",path:"dashboard",plan:(0,v.o2)(v.T5),icon:"search",trackBannerDisplay:this.props.trackUpgradeButtonView}):c().createElement(w.Z,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and get Jetpack Search, which helps your visitors instantly find the right content – right when they need it.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"search",path:"dashboard",plan:(0,v.o2)(v.T5),icon:"search"})})}}i()(j,"propTypes",{getOptionValue:o().func.isRequired,trackUpgradeBanner:o().func,isOfflineMode:o().bool.isRequired,hasConnectedOwner:o().string.isRequired}),i()(j,"defaultProps",{getOptionValue:u.noop,isOfflineMode:!1,trackUpgradeBanner:u.noop}),t.Z=(0,l.$j)((e=>({isBusinessPlan:"is-business-plan"===(0,v.sc)((0,b.UL)(e).product_slug),isOfflineMode:(0,k.Ex)(e),isFetching:(0,b.GR)(e),hasSearchProduct:(0,b.o$)(e),upgradeUrl:(0,y.z)(e,"search"),hasConnectedOwner:(0,k.it)(e)})),(e=>({connectUser:()=>e((0,k.bL)())})))(j)},49283:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(71415),l=n(65736),u=n(69307),p=n(55609),d=n(11973),h=n(9913),f=n(60742),m=n(80118),g=n(79568),v=n(20873),b=n(23183),y=n(61161),k=n(88872);const __=l.__,_x=l._x;class w extends s.Component{constructor(){super(...arguments),i()(this,"trackUpgradeClick",(()=>{d.Z.tracks.recordJetpackClick({page:"aag",target:"upgrade-button",feature:"security"})}))}renderFeatures(){const e=[{id:"backup",imageUrl:g,text:_x("Backup","The Jetpack Backup product name, without the Jetpack prefix","jetpack"),imgAlt:__("A cloud representing Jetpack Backup","jetpack")},{id:"scan",imageUrl:v,text:_x("Scan","The Jetpack Scan product name, without the Jetpack prefix","jetpack"),imgAlt:__("A shield representing Jetpack Scan","jetpack")},{id:"antispam",imageUrl:b,text:__("Anti-spam","jetpack"),imgAlt:__("A crossed-out bug representing Jetpack Anti-spam","jetpack")}];return o().createElement("div",{className:"dash-security-bundle--content-info-features"},e.map((e=>{let{id:t,imageUrl:n,text:r,imgAlt:i}=e;return o().createElement("div",{id:t,className:"dash-security-bundle--content-info-features-single-feature"},o().createElement("img",{src:n,alt:i}),o().createElement("p",null,r))})))}render(){const{hasActiveSecurityPurchase:e,isFetchingSitePurchases:t}=this.props;return e||t?null:o().createElement(f.Z,{className:"dash-security-bundle"},o().createElement("div",{className:"dash-security-bundle--icon"},o().createElement("img",{src:m,alt:__("A shield and check mark representing the Jetpack Security Bundle","jetpack")})),o().createElement("div",{className:"dash-security-bundle--content"},o().createElement("div",{className:"dash-security-bundle--content-info"},o().createElement("h3",null,__("Comprehensive Site Security","jetpack")),o().createElement("p",null,(0,u.createInterpolateElement)(__("Total protection for your site, including Backup, Scan, and Anti-spam. <ExternalLink>Learn More.</ExternalLink>","jetpack"),{ExternalLink:o().createElement(p.ExternalLink,{href:(0,c.Z)("jetpack-features-security"),rel:"noopener noreferrer",target:"_blank"})})),this.renderFeatures()),o().createElement("div",{className:"dash-security-bundle--content-cta"},o().createElement(h.Z,{className:"dash-security-bundle--content-cta-button",href:this.props.productDescriptionUrl,onClick:this.trackUpgradeClick,compact:!0,primary:!0},__("Upgrade","jetpack")))))}}t.Z=(0,a.$j)((e=>({hasActiveSecurityPurchase:(0,k.VL)(e),isFetchingSitePurchases:(0,k.GR)(e),productDescriptionUrl:(0,y.z)(e,"security")})))(w)},55857:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(69307),p=n(69771),d=n(65736),h=n(71415),f=n(55609),m=n(11973),g=n(9913),v=n(60742),b=n(81441),y=n(28865),k=n(66552);const __=d.__,_x=d._x,_n=d._n;class w extends a.Component{constructor(){super(...arguments),i()(this,"trackViewDetailedStats",(()=>m.Z.tracks.recordJetpackClick("view_detailed_stats"))),i()(this,"trackViewWpcomStats",(()=>m.Z.tracks.recordJetpackClick("view_wpcom_stats")))}statsBottom(){let e;return e="object"==typeof this.props.statsData.general?this.props.statsData.general.stats:{views:"-",comments:"-",views_today:"-",views_best_day:"-",views_best_day_total:"-"},[{viewsToday:e.views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]}render(){const e=this.statsBottom()[0];return c().createElement("div",null,c().createElement("div",{className:"jp-at-a-glance__stats-summary"},c().createElement("div",{className:"jp-at-a-glance__stats-summary-today"},c().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("Views today","Referring to a number of page views","jetpack")),c().createElement("h3",{className:"jp-at-a-glance__stat-number"},e.viewsToday)),c().createElement("div",{className:"jp-at-a-glance__stats-summary-bestday"},c().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("Best overall day","Referring to a number of page views","jetpack")),c().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.bestDay.count?"-":(0,d.sprintf)(
+__("Connected as <span>%s</span>","jetpack"),this.props.wpComConnectedUser.login),{span:a().createElement("span",{className:"jp-connection-settings__username"})}),a().createElement("div",{className:"jp-connection-settings__email"},this.props.wpComConnectedUser.email))),a().createElement("div",{className:"jp-connection-settings__actions"},e),a().createElement(f.Z,null)):a().createElement("div",null,a().createElement("div",{className:"jp-connection-settings__info"},__("Get the most out of Jetpack.","jetpack")),a().createElement("div",{className:"jp-connection-settings__actions"},e)),t)}render(){return a().createElement("div",null,a().createElement(d.Z,null),a().createElement("div",{className:"jp-at-a-glance__item-grid"},a().createElement("div",{className:"jp-at-a-glance__left"},a().createElement("div",{className:"jp-dash-item__interior"},a().createElement(h.Z,{className:"jp-connection-type",label:_x("Site connection","Dashboard widget header","jetpack")},this.siteConnection()))),this.props.userCanConnectAccount&&a().createElement("div",{className:"jp-at-a-glance__right"},a().createElement("div",{className:"jp-dash-item__interior"},a().createElement(h.Z,{className:"jp-connection-type",label:_x("Account connection","Dashboard widget header","jetpack")},this.userConnection())))))}}v.propTypes={siteConnectionStatus:r().any.isRequired,isOfflineMode:r().bool.isRequired,userCanDisconnectSite:r().bool.isRequired,isConnectionOwner:r().bool.isRequired,isLinked:r().bool.isRequired,userGravatar:r().any.isRequired,username:r().any.isRequired},t.Z=(0,o.$j)((e=>({siteConnectionStatus:(0,p.Gz)(e),isOfflineMode:(0,p.Ex)(e),userCanDisconnectSite:(0,u.WB)(e),userCanConnectAccount:(0,u.n0)(e),userGravatar:(0,u.KF)(e),username:(0,u.Ms)(e),isConnectionOwner:(0,p.QM)(e),isLinked:(0,p.BU)(e),siteIcon:(0,u.ze)(e),isFetchingUserData:(0,p.Dd)(e),wpComConnectedUser:(0,p.tN)(e)})))(v)},6408:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5736),a=n(9307),o=n(5609),c=n(6324),l=n(5162),p=n.n(l),u=n(9196),d=n.n(u),m=n(7436),h=n(8154);const __=i.__,_x=i._x,g=["zero-bs-crm/ZeroBSCRM.php"];class f extends u.Component{render(){return d().createElement(h.Z,{iconAlt:__("Plugin icon","jetpack"),iconSrc:m,pluginName:_x("CRM","The Jetpack CRM product name, without the Jetpack prefix","jetpack"),pluginFiles:g,pluginSlug:"zero-bs-crm",pluginLink:this.props.siteAdminUrl+"admin.php?page=zerobscrm-dash",installOrActivatePrompt:(0,a.createInterpolateElement)(__("Sell more and get more leads with the free Jetpack CRM plugin built specifically for WordPress.<br /><ExternalLink>Learn more</ExternalLink>","jetpack"),{ExternalLink:d().createElement(o.ExternalLink,{href:(0,c.Z)("stats-nudges-crm-learn")}),br:d().createElement("br",null)})})}}r()(f,"propTypes",{siteAdminUrl:p().string.isRequired}),t.Z=f},6288:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(2819),d=n(4069),m=n(2353),h=n(9552),g=n(4341),f=n(6438),v=n(6408),k=n(242),_=n(786),y=n(1699),E=n(9260),w=n(1248),b=n(2792),C=n(7607),j=n(3823),S=n(9441),N=n(6158),x=n(6354),T=n(1475),O=n(7679),P=n(9270),M=n(6551),A=n(9508),Z=n(6300),U=n(416),R=n(5080),L=n(1862);const __=p.__;class z extends o.Component{constructor(){super(...arguments),a()(this,"trackSecurityClick",(()=>d.Z.tracks.recordJetpackClick("aag_manage_security_wpcom"))),a()(this,"trackUpgradeButtonView",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return()=>d.Z.tracks.recordEvent("jetpack_wpa_aag_upgrade_button_view",{feature:e})}))}render(){var e;const t={updateOptions:this.props.updateOptions,getOptionValue:this.props.getOptionValue,isUpdating:this.props.isUpdating,multisite:this.props.multisite},n={siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl},s=c().createElement(h.Z,{label:__("Security","jetpack"),settingsPath:this.props.userCanManageModules?"#security":void 0,externalLink:this.props.isOfflineMode||!this.props.userCanManageModules?"":__("Manage security settings","jetpack"),externalLinkPath:this.props.isOfflineMode?"":"#/security",externalLinkClick:this.trackSecurityClick}),i=c().createElement("div",null,c().createElement(h.Z,{label:__("Connections","jetpack"),className:"jp-dash-section-header__connections"}),c().createElement(T.Z,null)),a=(0,u.get)(this.props.rewindStatus,["state"],""),o=(0,u.get)(this.props.rewindStatus,["reason"],""),l=[],p=!this.props.fetchingScanStatus&&"vp_active_on_site"===(null===(e=this.props.scanStatus)||void 0===e?void 0:e.reason);if(this.props.isAtomicSite||this.props.multisite&&!p||l.push(c().createElement(E.Z,r()({},t,n,{trackUpgradeButtonView:this.trackUpgradeButtonView("scan")}))),l.push(c().createElement(w.Z,r()({},n,{trackUpgradeButtonView:this.trackUpgradeButtonView("akismet")}))),"inactive"!==this.props.getModuleOverride("protect")&&l.push(c().createElement(_.Z,t)),"inactive"!==this.props.getModuleOverride("monitor")&&l.push(c().createElement(y.Z,t)),"active"===a&&l.unshift(c().createElement(g.Z,r()({},t,{siteRawUrl:this.props.siteRawUrl}))),this.props.userCanManageModules){const e=!this.props.multisite&&!this.props.isOfflineMode&&this.props.hasConnectedOwner,p=[];"inactive"!==this.props.getModuleOverride("photon")&&p.push(c().createElement(j.Z,t)),"inactive"!==this.props.getModuleOverride("search")&&p.push(c().createElement(S.Z,r()({},t,{trackUpgradeButtonView:this.trackUpgradeButtonView("search")}))),"inactive"!==this.props.getModuleOverride("videopress")&&p.push(c().createElement(x.Z,r()({},t,{trackUpgradeButtonView:this.trackUpgradeButtonView("videopress")}))),this.props.userCanManagePlugins&&p.push(c().createElement(f.Z,{siteAdminUrl:this.props.siteAdminUrl}),c().createElement(v.Z,{siteAdminUrl:this.props.siteAdminUrl})),p.push(c().createElement(C.Z,null));const u=!this.props.isOfflineMode&&this.props.partnerCoupon&&c().createElement(L.es,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,assetBaseUrl:this.props.pluginBaseUrl,connectionStatus:this.props.connectionStatus,partnerCoupon:this.props.partnerCoupon,siteRawUrl:this.props.siteRawUrl,tracksUserData:!!this.props.tracksUserData,analytics:d.Z}),m=e?c().createElement("div",{className:"jp-at-a-glance__pinned-bundle"},c().createElement(N.Z,null),c().createElement(b.Z,r()({},t,{siteRawUrl:this.props.siteRawUrl,rewindStatus:a,rewindStatusReason:o,trackUpgradeButtonView:this.trackUpgradeButtonView("backups")}))):null;return c().createElement("div",{className:"jp-at-a-glance"},c().createElement(O.Z,null),c().createElement(P.Z,null),c().createElement(M.Z,null),u,c().createElement(k.Z,r()({},t,n)),c().createElement(I,{header:s,cards:l,pinnedBundle:m}),c().createElement(I,{header:c().createElement(h.Z,{label:__("Performance and Growth","jetpack")}),cards:p}),i)}let m="";this.props.userCanViewStats&&(m=c().createElement(k.Z,r()({},t,n)));const A=c().createElement(_.Z,t),Z=this.props.getOptionValue("protect")&&this.props.hasConnectedOwner;return this.props.userIsSubscriber?c().createElement("div",null,m,i):c().createElement("div",null,m,Z&&s,Z&&A,i)}}t.Z=(0,l.$j)((e=>({userCanManageModules:(0,A.pK)(e),userCanViewStats:(0,A.px)(e),userCanManagePlugins:(0,A.ic)(e),userIsSubscriber:(0,A.dc)(e),isAtomicSite:(0,A.Ug)(e),isOfflineMode:(0,Z.Ex)(e),getModuleOverride:t=>(0,U.Qy)(e,t),multisite:(0,A.TA)(e),scanStatus:(0,R.C8)(e),fetchingScanStatus:(0,R.gE)(e),hasConnectedOwner:(0,Z.it)(e),connectionStatus:(0,Z.Zp)(e),partnerCoupon:(0,A.DV)(e),pluginBaseUrl:(0,A.wB)(e),tracksUserData:(0,A.hv)(e),apiRoot:(0,A.yB)(e),apiNonce:(0,A.VY)(e),registrationNonce:(0,A.H$)(e)})))((0,m.u)(z));const I=e=>{let{cards:t=[],header:n,pinnedBundle:s}=e;return t.length?c().createElement(c().Fragment,null,n,s,(0,u.chunk)(t,2).map(((e,t)=>{let[n,s]=e;return c().createElement("div",{className:"jp-at-a-glance__item-grid",key:`card-${t}`},c().createElement("div",{className:"jp-at-a-glance__left"},n),c().createElement("div",{className:"jp-at-a-glance__right"},s))}))):null}},1699:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(9307),u=n(5736),d=n(6324),m=n(4069),h=n(416),g=n(6300),f=n(3255);const __=u.__;class v extends o.Component{constructor(){super(...arguments),r()(this,"activateAndTrack",(()=>{m.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"monitor",toggled:"on"}),this.props.updateOptions({monitor:!0})})),r()(this,"connect",(()=>this.props.connectUser()))}getContent(){const e=__("Downtime monitoring","jetpack"),t={text:__("Jetpack’s downtime monitor will continuously monitor your site and alert you the moment that downtime is detected.","jetpack"),link:(0,d.Z)("jetpack-support-monitor")};if(this.props.getOptionValue("monitor")&&!this.props.isOfflineMode&&this.props.hasConnectedOwner)return c().createElement(f.Z,{label:e,module:"monitor",support:t,status:"is-working"},c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is monitoring your site. If we think your site is down, you will receive an email.","jetpack")));const n=this.props.hasConnectedOwner?(0,p.createInterpolateElement)(__("<a>Activate Monitor</a> to receive email notifications if your site goes down.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateAndTrack})}):__("Get alerts if your site goes offline. We’ll let you know when it’s back up, too.","jetpack");return c().createElement(f.Z,{label:e,module:"monitor",support:t,className:"jp-dash-item__is-inactive",noToggle:!this.props.hasConnectedOwner},c().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode?__("Unavailable in Offline Mode.","jetpack"):n),!this.props.isOfflineMode&&!this.props.hasConnectedOwner&&c().createElement("p",{className:"jp-dash-item__description jp-dash-item__connect"},(0,p.createInterpolateElement)(__("<a>Connect your WordPress.com</a> account to use this feature.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.connect})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}r()(v,"propTypes",{isOfflineMode:a().bool.isRequired,isModuleAvailable:a().bool.isRequired,hasConnectedOwner:a().bool.isRequired}),t.Z=(0,l.$j)((e=>({isOfflineMode:(0,g.Ex)(e),isModuleAvailable:(0,h.v1)(e,"monitor"),hasConnectedOwner:(0,g.it)(e)})),(e=>({connectUser:()=>e((0,g.bL)())})))(v)},3823:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(9307),u=n(5736),d=n(6324),m=n(3255),h=n(416),g=n(6300);const __=u.__;class f extends o.Component{constructor(){super(...arguments),r()(this,"activatePhoton",(()=>this.props.updateOptions({photon:!0})))}getContent(){const e=__("Image Accelerator","jetpack"),t={text:__("Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.","jetpack"),link:(0,d.Z)("jetpack-support-photon")};return this.props.getOptionValue("photon")?c().createElement(m.Z,{label:e,module:"photon",support:t,status:"is-working"},c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.","jetpack"))):c().createElement(m.Z,{label:e,module:"photon",support:t,className:"jp-dash-item__is-inactive"},c().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,p.createInterpolateElement)(__("<a>Activate</a> to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activatePhoton})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}r()(f,"propTypes",{isOfflineMode:a().bool.isRequired,isModuleAvailable:a().bool.isRequired}),t.Z=(0,l.$j)((e=>({isOfflineMode:(0,g.Ex)(e),isModuleAvailable:(0,h.v1)(e,"photon")})))(f)},786:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(9307),u=n(5736),d=n(6324),m=n(2947),h=n(3255),g=n(7296),f=n(6300),v=n(416),k=n(4681);const __=u.__;class _ extends o.Component{constructor(){super(...arguments),r()(this,"activateProtect",(()=>this.props.updateOptions({protect:!0}))),r()(this,"connect",(()=>this.props.connectUser()))}getContent(){const e=__("Brute force protection","jetpack"),t={text:__("Protects your site from traditional and distributed brute force login attacks.","jetpack"),link:(0,d.Z)("jetpack-support-protect")};if(this.props.getOptionValue("protect")&&!this.props.isOfflineMode&&this.props.hasConnectedOwner){const n=this.props.protectCount;return!1===n||"0"===n||"N/A"===n?c().createElement(h.Z,{label:e,module:"protect",support:t,status:"is-working",className:"jp-dash-item__recently-activated"},c().createElement("div",{className:"jp-dash-item__recently-activated-lower"},c().createElement(k.Z,null),c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is actively blocking malicious login attempts. Data will display here soon!","jetpack")))):c().createElement(h.Z,{label:e,module:"protect",support:t,status:"is-working"},c().createElement("h2",{className:"jp-dash-item__count"},(0,m.Z)(n)),c().createElement("p",{className:"jp-dash-item__description"},__("Total malicious attacks blocked on your site.","jetpack")))}return c().createElement(h.Z,{label:e,module:"protect",support:t,className:"jp-dash-item__is-inactive",noToggle:!this.props.hasConnectedOwner},c().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode&&__("Unavailable in Offline Mode","jetpack"),!this.props.isOfflineMode&&!this.props.hasConnectedOwner&&(0,p.createInterpolateElement)(__("<a>Connect your WordPress.com</a> account to keep your site protected from malicious sign in attempts.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.connect})}),!this.props.isOfflineMode&&this.props.hasConnectedOwner&&(0,p.createInterpolateElement)(__("<a>Activate Protect</a> to keep your site protected from malicious sign in attempts.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateProtect})})))}render(){return this.props.isModuleAvailable&&c().createElement("div",{className:"jp-dash-item__interior"},c().createElement(k.Z,null),this.getContent())}}r()(_,"propTypes",{isOfflineMode:a().bool.isRequired,protectCount:a().any.isRequired,isModuleAvailable:a().bool.isRequired,hasConnectedOwner:a().bool.isRequired,connectUser:a().func.isRequired}),t.Z=(0,l.$j)((e=>({protectCount:(0,g.xz)(e),isOfflineMode:(0,f.Ex)(e),isModuleAvailable:(0,v.v1)(e,"protect"),hasConnectedOwner:(0,f.it)(e)})),(e=>({connectUser:()=>e((0,f.bL)())})))(_)},9260:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2819),u=n(9307),d=n(5736),m=n(6324),h=n(2947),g=n(5799),f=n(4743),v=n(4069),k=n(3002),_=n(5080),y=n(1372),E=n(7296),w=n(6300),b=n(3255),C=n(9508),j=n(1137),S=n(5733),N=n(1549),x=n(9584);const __=d.__,_n=d._n,T=e=>c().createElement(b.Z,{label:__("Scan","jetpack"),module:e.feature||"scan",support:{text:__("Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.","jetpack"),link:(0,m.Z)("jetpack-support-security")},className:e.className||"",status:e.status||"",pro:!0,overrideContent:e.overrideContent},(0,p.isArray)(e.content)?e.content:c().createElement("p",{className:"jp-dash-item__description"},e.content)),O=e=>T({className:"jp-dash-item__is-active",status:"is-working",content:e});class P extends o.Component{constructor(){super(...arguments),r()(this,"trackScansClick",(()=>{v.Z.tracks.recordJetpackClick({type:"scans-link",target:"at-a-glance",feature:"scans"})})),r()(this,"onActivateVaultPressClick",(()=>(v.Z.tracks.recordJetpackClick({type:"activate-link",target:"at-a-glance",feature:"vaultpress"}),this.props.createNotice("is-info",__("Activating VaultPress…","jetpack"),{id:"activating-vaultpress"}),f.ZP.activateVaultPress().then((()=>{this.props.removeNotice("activating-vaultpress"),window.location.href=this.props.siteAdminUrl+"admin.php?page=vaultpress"})).catch((()=>{this.props.removeNotice("activating-vaultpress"),this.props.createNotice("is-error",__("Could not activate VaultPress.","jetpack"),{id:"activate-vaultpress-failure"})})),!1)))}getVPContent(){const{vaultPressData:e,hasConnectedOwner:t}=this.props;if("not_registered"===(null==e?void 0:e.code))return T({className:"jp-dash-item__is-inactive",status:"not-registered",content:(0,u.createInterpolateElement)(__("VaultPress is having difficulties scanning. Please make sure your <keyLink>registration key is entered</keyLink>. If you require further assistance please <supportLink>contact support</supportLink>.","jetpack"),{keyLink:c().createElement("a",{href:this.props.siteAdminUrl+"admin.php?page=vaultpress"}),supportLink:c().createElement("a",{href:(0,m.Z)("vaultpress-help")})})});if((0,p.get)(e,["data","features","security"],!1)){const t=this.props.scanThreats;if(0!==t)return this.renderThreatsFound(t,(0,m.Z)("vaultpress-dashboard"));if("success"===e.code)return T({status:"is-working",content:__("No threats found, you're good to go!","jetpack")})}if(this.props.fetchingSiteData)return T({content:__("Loading…","jetpack")});const n=!1!==this.props.sitePlan,s=["is-premium-plan","is-business-plan"].includes(this.props.planClass);return n&&s?this.props.isVaultPressInstalled?T({className:"jp-dash-item__is-inactive",status:"pro-inactive",content:[c().createElement("p",{className:"jp-dash-item__description",key:"inactive-scanning"},(0,u.createInterpolateElement)(__("VaultPress is not active, <a>please activate</a> to enable automatic scanning for security for threats.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.onActivateVaultPressClick})}))]}):T({className:"jp-dash-item__is-inactive",status:"pro-uninstalled",content:[c().createElement("p",{className:"jp-dash-item__description",key:"inactive-scanning"},(0,u.createInterpolateElement)(__("VaultPress is not installed, <a>please install</a> to enable automatic scanning for security for threats.","jetpack"),{a:c().createElement("a",{href:(0,m.Z)("calypso-plugins-vaultpress"),target:"_blank",rel:"noopener noreferrer"})}))]}):T({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",overrideContent:t?this.getUpgradeBanner():this.getConnectBanner()})}getUpgradeBanner(){return c().createElement(S.ZP,{callToAction:__("Upgrade","jetpack"),title:__("Purchase Jetpack Scan to protect your site from security threats with automated scanning.","jetpack"),disableHref:"false",href:this.props.upgradeUrl,eventFeature:"scan",path:"dashboard",plan:(0,x.o2)(x.eM),trackBannerDisplay:this.props.trackUpgradeButtonView})}getConnectBanner(){return c().createElement(S.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade to Jetpack Scan and protect your site from security threats with automated scanning.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"scan",path:"dashboard",plan:(0,x.o2)(x.eM)})}renderAction(e,t){return this.props.isAtomicSite?null:c().createElement(g.Z,{compact:!0,key:"manage-scan",className:"jp-dash-item__manage-in-wpcom",href:e,target:"_blank",rel:"noopener noreferrer",onClick:this.trackScansClick},t)}renderThreatsFound(e,t){return c().createElement(c().Fragment,null,O([c().createElement("h2",{className:"jp-dash-item__count is-alert"},(0,h.Z)(e)),c().createElement("p",{className:"jp-dash-item__description"},(0,u.createInterpolateElement)(_n("Security threat found. <a>Click here</a> to fix them immediately.","Security threats found. <a>Click here</a> to fix them immediately.",e,"jetpack"),{a:c().createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"})}))]),this.renderAction(t,__("View security scan details","jetpack")))}getRewindContent(){const{scanStatus:e,siteRawUrl:t}=this.props,n=(0,m.Z)("calypso-scanner",{site:t});if(Array.isArray(e.threats)&&e.threats.length>0)return this.renderThreatsFound(e.threats.length,n);if(e.credentials&&0===e.credentials.length)return c().createElement(c().Fragment,null,O(__("Please finish your setup by entering your server’s credentials.","jetpack")),this.renderAction((0,m.Z)("jetpack-scan-dash-credentials",{site:t}),__("Enter credentials","jetpack")));switch(e.state){case"provisioning":return c().createElement(c().Fragment,null,O(__("We are configuring your site protection.","jetpack")));case"idle":case"scanning":return c().createElement(c().Fragment,null,O(__("No security threats found. Your site will continue to be monitored for future threats.","jetpack")),this.renderAction((0,m.Z)("calypso-scanner",{site:t}),__("View security scan details","jetpack")))}return!1}getUpgradeContent(){const{hasConnectedOwner:e}=this.props;return T({className:"jp-dash-item__is-inactive",overrideContent:e?this.getUpgradeBanner():this.getConnectBanner()})}getContent(){const{scanStatus:e}=this.props;return e.state&&"unavailable"!==e.state?c().createElement("div",{className:"jp-dash-item"},this.getRewindContent()):"vp_active_on_site"===e.reason?this.getVPContent():this.getUpgradeContent()}render(){if(!this.props.showBackups)return null;if(this.props.isOfflineMode)return T({className:"jp-dash-item__is-inactive",content:__("Unavailable in Offline Mode.","jetpack")});const e=this.props.fetchingScanStatus||this.props.fetchingVaultPressData;return c().createElement("div",null,e?T({content:__("Loading…","jetpack")}):this.getContent())}}r()(P,"propTypes",{siteRawUrl:a().string.isRequired,siteAdminUrl:a().string.isRequired,trackUpgradeButtonView:a().func,vaultPressData:a().any.isRequired,scanThreats:a().any.isRequired,sitePlan:a().object.isRequired,isOfflineMode:a().bool.isRequired,isVaultPressInstalled:a().bool.isRequired,fetchingSiteData:a().bool.isRequired,upgradeUrl:a().string.isRequired,hasConnectedOwner:a().bool.isRequired}),r()(P,"defaultProps",{siteRawUrl:"",siteAdminUrl:"",vaultPressData:"",scanThreats:0,sitePlan:"",isOfflineMode:!1,isVaultPressInstalled:!1,fetchingSiteData:!1,trackUpgradeButtonView:p.noop}),t.Z=(0,l.$j)((e=>{const t=(0,k.UL)(e);return{isAtomicSite:(0,C.Ug)(e),isOfflineMode:(0,w.Ex)(e),scanStatus:(0,_.C8)(e),fetchingScanStatus:(0,_.gE)(e),isVaultPressInstalled:(0,y.P8)(e,"vaultpress/vaultpress.php"),fetchingVaultPressData:(0,E.P_)(e),vaultPressData:(0,E.XK)(e),scanThreats:(0,E._R)(e),fetchingSiteData:(0,k._5)(e),sitePlan:t,planClass:(0,x.sc)((0,p.get)(t,"product_slug","")),showBackups:(0,C.xR)(e),upgradeUrl:(0,j.z)(e,"scan"),hasConnectedOwner:(0,w.it)(e)}}),(e=>({createNotice:N.iI,removeNotice:N.qq,connectUser:()=>e((0,w.bL)())})))(P)},9441:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2819),u=n(9307),d=n(5736),m=n(6324),h=n(4069),g=n(5799),f=n(3255),v=n(9584),k=n(3002),_=n(1137),y=n(6300),E=n(5733);const __=d.__,w=__("Incredibly powerful and customizable, Jetpack Search helps your visitors instantly find the right content – right when they need it.","jetpack"),b=__("Customize your Search experience.","jetpack"),C=__("Search supports many customizations. ","jetpack"),j=e=>c().createElement(f.Z,{label:__("Search","jetpack"),module:"search",support:{text:C,link:(0,m.Z)("jetpack-support-search")},className:e.className,status:e.status,isModule:e.pro_inactive,pro:!0,overrideContent:e.overrideContent},c().createElement("p",{className:"jp-dash-item__description"},e.content));class S extends o.Component{constructor(){super(...arguments),r()(this,"trackConfigureSearchLink",(()=>{h.Z.tracks.recordJetpackClick({type:"configure-search-link",target:"at-a-glance",feature:"search"})})),r()(this,"trackAddSearchWidgetLink",(()=>{h.Z.tracks.recordJetpackClick({type:"search-widget-link",target:"at-a-glance",feature:"search"})})),r()(this,"activateSearch",(()=>{this.props.updateOptions({search:!0,...this.props.hasInstantSearch?{instant_search_enabled:!0}:{}})}))}render(){return this.props.isFetching?j({status:"",content:__("Loading…","jetpack")}):this.props.isOfflineMode?j({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",pro_inactive:!0,content:__("Unavailable in Offline Mode","jetpack")}):this.props.hasClassicSearch||this.props.hasInstantSearch?this.props.getOptionValue("search")?c().createElement("div",{className:"jp-dash-item"},c().createElement(f.Z,{label:__("Search","jetpack"),module:"search",support:{text:C,link:(0,m.Z)("jetpack-support-search")},className:"jp-dash-item__is-active",isModule:!1,pro:!0},c().createElement("p",{className:"jp-dash-item__description"},__("Jetpack Search is powering search on your site.","jetpack"))),this.props.hasInstantSearch?c().createElement(g.Z,{compact:!0,className:"jp-search-config-aag",href:"admin.php?page=jetpack-search-configure",onClick:this.trackConfigureSearchLink},b):c().createElement(g.Z,{compact:!0,className:"jp-search-config-aag",href:"customize.php?autofocus[panel]=widgets",onClick:this.trackAddSearchWidgetLink},__("Add Search (Jetpack) Widget","jetpack"))):j({className:"jp-dash-item__is-inactive",pro_inactive:!1,content:(0,u.createInterpolateElement)(__("<a>Activate</a> to help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateSearch})})}):j({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",pro_inactive:!0,overrideContent:this.props.hasConnectedOwner?c().createElement(E.ZP,{callToAction:__("Upgrade","jetpack"),title:w,disableHref:"false",href:this.props.upgradeUrl,eventFeature:"search",path:"dashboard",plan:(0,v.o2)(v.T5),icon:"search",trackBannerDisplay:this.props.trackUpgradeButtonView}):c().createElement(E.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and get Jetpack Search, which helps your visitors instantly find the right content – right when they need it.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"search",path:"dashboard",plan:(0,v.o2)(v.T5),icon:"search"})})}}r()(S,"propTypes",{getOptionValue:a().func.isRequired,trackUpgradeBanner:a().func,isOfflineMode:a().bool.isRequired,hasConnectedOwner:a().bool.isRequired}),r()(S,"defaultProps",{getOptionValue:p.noop,isOfflineMode:!1,trackUpgradeBanner:p.noop}),t.Z=(0,l.$j)((e=>({isOfflineMode:(0,y.Ex)(e),isFetching:(0,k.GR)(e),hasClassicSearch:(0,k.P2)(e,"search"),hasInstantSearch:(0,k.P2)(e,"instant-search"),upgradeUrl:(0,_.z)(e,"search"),hasConnectedOwner:(0,y.it)(e)})),(e=>({connectUser:()=>e((0,y.bL)())})))(S)},6158:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(6324),l=n(5736),p=n(9307),u=n(5609),d=n(4069),m=n(7506),h=n(5799),g=n(118),f=n(9568),v=n(873),k=n(3183),_=n(1137),y=n(3002);const __=l.__,_x=l._x;class E extends i.Component{constructor(){super(...arguments),r()(this,"trackUpgradeClick",(()=>{d.Z.tracks.recordJetpackClick({page:"aag",target:"upgrade-button",feature:"security"})}))}renderFeatures(){const e=[{id:"backup",imageUrl:f,text:_x("Backup","The Jetpack Backup product name, without the Jetpack prefix","jetpack"),imgAlt:__("A cloud representing Jetpack Backup","jetpack")},{id:"scan",imageUrl:v,text:_x("Scan","The Jetpack Scan product name, without the Jetpack prefix","jetpack"),imgAlt:__("A shield representing Jetpack Scan","jetpack")},{id:"antispam",imageUrl:k,text:__("Anti-spam","jetpack"),imgAlt:__("A crossed-out bug representing Jetpack Anti-spam","jetpack")}];return a().createElement("div",{className:"dash-security-bundle--content-info-features"},e.map((e=>{let{id:t,imageUrl:n,text:s,imgAlt:r}=e;return a().createElement("div",{key:t,id:t,className:"dash-security-bundle--content-info-features-single-feature"},a().createElement("img",{src:n,alt:r}),a().createElement("p",null,s))})))}render(){const{hasActiveSecurityPurchase:e,isFetchingSitePurchases:t}=this.props;return e||t?null:a().createElement(h.Z,{className:"dash-security-bundle"},a().createElement("div",{className:"dash-security-bundle--icon"},a().createElement("img",{src:g,alt:__("A shield and check mark representing the Jetpack Security Bundle","jetpack")})),a().createElement("div",{className:"dash-security-bundle--content"},a().createElement("div",{className:"dash-security-bundle--content-info"},a().createElement("h3",null,__("Comprehensive Site Security","jetpack")),a().createElement("p",null,(0,p.createInterpolateElement)(__("Total protection for your site, including Backup, Scan, and Anti-spam. <ExternalLink>Learn More</ExternalLink>","jetpack"),{ExternalLink:a().createElement(u.ExternalLink,{href:(0,c.Z)("jetpack-features-security"),rel:"noopener noreferrer",target:"_blank"})})),this.renderFeatures()),a().createElement("div",{className:"dash-security-bundle--content-cta"},a().createElement(m.Z,{className:"dash-security-bundle--content-cta-button",href:this.props.productDescriptionUrl,onClick:this.trackUpgradeClick,compact:!0,primary:!0},__("Upgrade","jetpack")))))}}t.Z=(0,o.$j)((e=>({hasActiveSecurityPurchase:(0,y.VL)(e),isFetchingSitePurchases:(0,y.GR)(e),productDescriptionUrl:(0,_.z)(e,"security")})))(E)},3361:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5235),u=n.n(p),d=n(9307),m=n(9771),h=n(5736),g=n(2947),f=n(6324),v=n(5609),k=n(4069),_=n(7506),y=n(5799),E=n(7633),w=n(9508);const __=h.__,_x=h._x,_n=h._n;class b extends o.Component{constructor(){super(...arguments),r()(this,"trackViewDetailedStats",(()=>k.Z.tracks.recordJetpackClick("view_detailed_stats"))),r()(this,"trackViewWpcomStats",(()=>k.Z.tracks.recordJetpackClick("view_wpcom_stats")))}statsBottom(){let e;return e="object"==typeof this.props.statsData.general?this.props.statsData.general.stats:{views:"-",comments:"-",views_today:"-",views_best_day:"-",views_best_day_total:"-"},[{viewsToday:e.views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]}render(){const e=this.statsBottom()[0];return c().createElement("div",null,c().createElement("div",{className:"jp-at-a-glance__stats-summary"},c().createElement("div",{className:"jp-at-a-glance__stats-summary-today"},c().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("Views today","Referring to a number of page views","jetpack")),c().createElement("h3",{className:"jp-at-a-glance__stat-number"},e.viewsToday)),c().createElement("div",{className:"jp-at-a-glance__stats-summary-bestday"},c().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("Best overall day","Referring to a number of page views","jetpack")),c().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.bestDay.count?"-":(0,h.sprintf)(
/* Translators: placeholder is a number of views. */
-_n("%s View","%s Views",e.bestDay.count,"jetpack"),(0,y.Y)(e.bestDay.count))),c().createElement("p",{className:"jp-at-a-glance__stat-details"},"-"===e.bestDay.day?"-":(0,p.dateI18n)(this.props.dateFormat,e.bestDay.day))),c().createElement("div",{className:"jp-at-a-glance__stats-summary-alltime"},c().createElement("div",{className:"jp-at-a-glance__stats-alltime-views"},c().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("All-time views","Referring to a number of page views","jetpack")),c().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.views?"-":(0,y.Y)(e.allTime.views))),c().createElement("div",{className:"jp-at-a-glance__stats-alltime-comments"},c().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("All-time comments","Referring to a number of comments","jetpack")),c().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.comments?"-":(0,y.Y)(e.allTime.comments))))),c().createElement("div",{className:"jp-at-a-glance__stats-cta"},c().createElement("div",{className:"jp-at-a-glance__stats-cta-description"}),c().createElement("div",{className:"jp-at-a-glance__stats-ctas"},(0,u.createInterpolateElement)(__("<button>View detailed stats</button>","jetpack"),{button:c().createElement(g.Z,{onClick:this.trackViewDetailedStats,href:this.props.siteAdminUrl+"admin.php?page=stats"})}),this.props.isLinked&&(0,u.createInterpolateElement)(__("<ExternalLink>View more stats on WordPress.com</ExternalLink>","jetpack"),{ExternalLink:c().createElement(f.ExternalLink,{onClick:this.trackViewWpcomStats,href:(0,h.Z)("calypso-stats-insights",{site:this.props.siteRawUrl}),rel:"noopener noreferrer",target:"_blank"})}))),!this.props.isLinked&&this.props.userCanConnectAccount&&c().createElement(v.Z,{compact:!0,className:"jp-settings-card__configure-link"},c().createElement(b.Z,{connectUser:!0,from:"unlinked-user-connect",connectLegend:__("Connect your WordPress.com account to view more stats","jetpack")})))}}w.propTypes={siteRawUrl:o().string.isRequired,siteAdminUrl:o().string.isRequired,statsData:o().object.isRequired,isLinked:o().bool.isRequired,dateFormat:o().string.isRequired},w.defaultProps={siteRawUrl:"",siteAdminUrl:"",statsData:{},isLinked:!1,dateFormat:"F j, Y"},t.Z=(0,l.$j)((e=>({userCanConnectAccount:(0,k.n0)(e)})))(w)},89665:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(92819),u=n(2620),p=n(69307),d=n(55609),h=n(69771),f=n(65736),m=n(71415),g=n(11973),v=n(9913),b=n(60742),y=n(73653),k=n(69733),w=n(55857),_=n(17752),E=n(66552),C=n(75395),S=n(98486),j=n(41147),M=n(93107),x=n(53263),N=n(28865),A=n(69039);const __=f.__;class O extends a.Component{constructor(e){super(e),i()(this,"dismissCard",(()=>{this.setState({emptyStatsDismissed:!0}),this.props.updateOptions({dismiss_empty_stats_card:!0})})),i()(this,"activateStats",(()=>this.props.updateOptions({stats:!0}))),i()(this,"switchToDay",(()=>this.switchTo("day"))),i()(this,"switchToWeek",(()=>this.switchTo("week"))),i()(this,"switchToMonth",(()=>this.switchTo("month"))),this.state={emptyStatsDismissed:e.isEmptyStatsCardDismissed}}barClick(e){e.data.link&&(g.Z.tracks.recordJetpackClick("stats_bar"),window.open(e.data.link,"_blank"))}statsChart(e){const t=this.props,n=[];let r=0;const
+_n("%s View","%s Views",e.bestDay.count,"jetpack"),(0,g.Z)(e.bestDay.count))),c().createElement("p",{className:"jp-at-a-glance__stat-details"},"-"===e.bestDay.day?"-":(0,m.dateI18n)(this.props.dateFormat,e.bestDay.day))),c().createElement("div",{className:"jp-at-a-glance__stats-summary-alltime"},c().createElement("div",{className:"jp-at-a-glance__stats-alltime-views"},c().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("All-time views","Referring to a number of page views","jetpack")),c().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.views?"-":(0,g.Z)(e.allTime.views))),c().createElement("div",{className:"jp-at-a-glance__stats-alltime-comments"},c().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("All-time comments","Referring to a number of comments","jetpack")),c().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.comments?"-":(0,g.Z)(e.allTime.comments))))),c().createElement("div",{className:"jp-at-a-glance__stats-cta"},c().createElement("div",{className:"jp-at-a-glance__stats-cta-description"}),c().createElement("div",{className:"jp-at-a-glance__stats-ctas"},this.props.isLinked&&(0,d.createInterpolateElement)(__("<ExternalLink>View more stats on WordPress.com</ExternalLink>","jetpack"),{ExternalLink:c().createElement(v.ExternalLink,{onClick:this.trackViewWpcomStats,href:(0,f.Z)("calypso-stats-insights",{site:this.props.siteRawUrl}),rel:"noopener noreferrer",target:"_blank",className:u()("jp-at-a-glance__stats-ctas-wpcom-stats",this.props.className)})}),(0,d.createInterpolateElement)(__("<button>View detailed stats</button>","jetpack"),{button:c().createElement(_.Z,{onClick:this.trackViewDetailedStats,href:this.props.siteAdminUrl+"admin.php?page=stats"})}))),!this.props.isLinked&&this.props.userCanConnectAccount&&c().createElement(y.Z,{compact:!0,className:"jp-settings-card__configure-link"},c().createElement(E.Z,{connectUser:!0,from:"unlinked-user-connect",connectLegend:__("Connect your WordPress.com account to view more stats","jetpack")})))}}b.propTypes={siteRawUrl:a().string.isRequired,siteAdminUrl:a().string.isRequired,statsData:a().object.isRequired,isLinked:a().bool.isRequired,dateFormat:a().string.isRequired},b.defaultProps={siteRawUrl:"",siteAdminUrl:"",statsData:{},isLinked:!1,dateFormat:"F j, Y"},t.Z=(0,l.$j)((e=>({userCanConnectAccount:(0,w.n0)(e)})))(b)},242:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(2819),p=n(9309),u=n(9307),d=n(5609),m=n(9771),h=n(5736),g=n(6324),f=n(2947),v=n(4069),k=n(7506),_=n(5799),y=n(3068),E=n(9552),w=n(3361),b=n(3230),C=n(9508),j=n(7296),S=n(800),N=n(6300),x=n(416),T=n(9224),O=n(9429);const __=h.__;class P extends o.Component{constructor(e){super(e),r()(this,"dismissCard",(()=>{this.setState({emptyStatsDismissed:!0}),this.props.updateOptions({dismiss_empty_stats_card:!0})})),r()(this,"activateStats",(()=>this.props.updateOptions({stats:!0}))),r()(this,"switchToDay",(()=>this.switchTo("day"))),r()(this,"switchToWeek",(()=>this.switchTo("week"))),r()(this,"switchToMonth",(()=>this.switchTo("month"))),this.state={emptyStatsDismissed:e.isEmptyStatsCardDismissed}}barClick(e){e.data.link&&(v.Z.tracks.recordJetpackClick("stats_bar"),window.open(e.data.link,"_blank"))}statsChart(e){const t=this.props,n=[];let s=0;const
/* translators: short date format, such as: Jan 12. */
-i=__("M j","jetpack"),
+r=__("M j","jetpack"),
/* translators: long date format, such as: January 12th. */
-s=__("F jS","jetpack"),
+i=__("F jS","jetpack"),
/* translators: long month/year format, such as: January, 2021. */
-o=__("F Y","jetpack");return"object"!=typeof t.statsData[e]?{chartData:n,totalViews:!1}:((0,l.forEach)(t.statsData[e].data,(function(a){const c=a[1];let l=a[0],u="",p="";r+=c,"day"===e?(u=(0,h.dateI18n)(i,l),p=(0,h.dateI18n)(s,l)):"week"===e?(l=l.replace(/W/g,"-"),u=(0,h.dateI18n)(i,l),p=(0,f.sprintf)(
+a=__("F Y","jetpack");return"object"!=typeof t.statsData[e]?{chartData:n,totalViews:!1}:((0,l.forEach)(t.statsData[e].data,(function(o){const c=o[1];let l=o[0],p="",u="";s+=c,"day"===e?(p=(0,m.dateI18n)(r,l),u=(0,m.dateI18n)(i,l)):"week"===e?(l=l.replace(/W/g,"-"),p=(0,m.dateI18n)(r,l),u=(0,h.sprintf)(
/* translators: placeholder is a date. */
-__("Week of %s","jetpack"),(0,h.dateI18n)(s,l))):"month"===e&&(u=(0,h.dateI18n)("M",l),p=(0,h.dateI18n)(o,l)),n.push({label:u,value:c,nestedValue:null,className:"statsChartbar",data:{link:(0,m.Z)(`calypso-stats-${e}`,{site:t.siteRawUrl,query:`startDate=${l}`})},tooltipData:[{label:p,value:(0,f.sprintf)(
+__("Week of %s","jetpack"),(0,m.dateI18n)(i,l))):"month"===e&&(p=(0,m.dateI18n)("M",l),u=(0,m.dateI18n)(a,l)),n.push({label:p,value:c,nestedValue:null,className:"statsChartbar",data:{link:(0,g.Z)(`calypso-stats-${e}`,{site:t.siteRawUrl,query:`startDate=${l}`})},tooltipData:[{label:u,value:(0,h.sprintf)(
/* translators: placeholder is a number */
-__("Views: %s","jetpack"),(0,N.Y)(c)),className:"tooltip class"},{label:__("Click to view detailed stats.","jetpack")}]})})),{chartData:n,totalViews:r})}statsErrors(){return(0,l.get)(this.props.statsData,["general","errors"],!1)}renderStatsChart(e){return c().createElement("div",null,c().createElement("div",{className:"jp-at-a-glance__stats-chart"},c().createElement(y.Z,{data:e,barClick:this.barClick}),0===e.length&&c().createElement(d.Spinner,null)),c().createElement("div",{id:"stats-bottom",className:"jp-at-a-glance__stats-bottom"},c().createElement(w.Z,{statsData:this.props.statsData,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,dateFormat:this.props.dateFormat})))}renderEmptyStatsCard(){return c().createElement(b.Z,{className:"jp-at-a-glance__stats-empty"},c().createElement("img",{src:S.hp+"stats-people.svg",width:"272",height:"144",alt:__("Jetpack Stats People","jetpack"),className:"jp-at-a-glance__stats-icon"}),c().createElement("p",null,__("Hello there! Your stats have been activated.","jetpack"),c().createElement("br",null),__("Just give us a little time to collect data so we can display it for you here.","jetpack")),c().createElement(v.Z,{onClick:this.dismissCard,primary:!0},__("Okay, got it!","jetpack")))}renderStatsArea(){if(this.props.getOptionValue("stats")){if(this.statsErrors())return c().createElement("div",{className:"jp-at-a-glance__stats-inactive"},c().createElement("span",null,(0,p.createInterpolateElement)(__("Something happened while loading stats. Please try again later or <a>view your stats now on WordPress.com</a>","jetpack"),{a:c().createElement("a",{href:(0,m.Z)("calypso-stats-insights",{site:this.props.siteRawUrl})})})));const e=this.statsChart(this.props.activeTab),t=e.chartData,n=e.totalViews,r=t.length&&n<=0&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed;return c().createElement("div",{className:"jp-at-a-glance__stats-container"},r?this.renderEmptyStatsCard():this.renderStatsChart(t))}return c().createElement("div",{className:"jp-at-a-glance__stats-inactive"},c().createElement("div",{className:"jp-at-a-glance__stats-inactive-icon"},c().createElement("img",{src:S.hp+"stats.svg",width:"60",height:"60",alt:__("Jetpack Stats Icon","jetpack"),className:"jp-at-a-glance__stats-icon"})),c().createElement("div",{className:"jp-at-a-glance__stats-inactive-text"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,p.createInterpolateElement)(__("<a>Activate Site Stats</a> to see detailed stats, likes, followers, subscribers, and more! <a1>Learn More</a1>","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateStats}),a1:c().createElement("a",{href:(0,m.Z)("jetpack-support-wordpress-com-stats"),target:"_blank",rel:"noopener noreferrer"})})),!this.props.isOfflineMode&&c().createElement("div",{className:"jp-at-a-glance__stats-inactive-button"},c().createElement(v.Z,{onClick:this.activateStats,primary:!0},__("Activate Site Stats","jetpack"))))}switchTo(e){g.Z.tracks.recordJetpackClick({target:"stats_switch_view",view:e}),this.props.switchView(e),this.props.fetchStatsData(e)}maybeShowStatsTabs(){return!(!1===this.statsChart(this.props.activeTab).totalViews&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed)&&(this.props.getOptionValue("stats")&&!this.statsErrors()?c().createElement("ul",{className:"jp-at-a-glance__stats-views"},c().createElement("li",{className:"jp-at-a-glance__stats-view"},c().createElement("a",{tabIndex:"0",href:"javascript:void(0)",onClick:this.switchToDay,className:this.getClass("day")},__("Days","jetpack"))),c().createElement("li",{className:"jp-at-a-glance__stats-view"},c().createElement("a",{tabIndex:"0",href:"javascript:void(0)",onClick:this.switchToWeek,className:this.getClass("week")},__("Weeks","jetpack"))),c().createElement("li",{className:"jp-at-a-glance__stats-view"},c().createElement("a",{tabIndex:"0",href:"javascript:void(0)",onClick:this.switchToMonth,className:this.getClass("month")},__("Months","jetpack")))):void 0)}getClass(e){return this.props.activeTab===e?"jp-at-a-glance__stats-view-link is-current":"jp-at-a-glance__stats-view-link"}render(){return"inactive"===this.props.getModuleOverride("stats")?c().createElement("div",null,c().createElement(x.Z,{moduleName:__("Site Stats","jetpack")})):this.props.isModuleAvailable&&c().createElement("div",null,c().createElement(A.Z,{range:this.props.activeTab}),c().createElement(k.Z,{label:__("Site Stats","jetpack")},this.maybeShowStatsTabs()),c().createElement(b.Z,{className:"jp-at-a-glance__stats-card "+(this.props.isOfflineMode?"is-inactive":"")},this.renderStatsArea()))}}i()(O,"propTypes",{isOfflineMode:o().bool.isRequired,siteRawUrl:o().string.isRequired,siteAdminUrl:o().string.isRequired,statsData:o().any.isRequired,isModuleAvailable:o().bool.isRequired}),t.Z=(0,u.$j)((e=>({isModuleAvailable:(0,M.v1)(e,"stats"),activeTab:(0,C.l5)(e),dateFormat:(0,E.mh)(e),isOfflineMode:(0,j.Ex)(e),isLinked:(0,j.BU)(e),connectUrl:(0,j.AM)(e),statsData:(0,l.isEmpty)((0,C.yZ)(e))?(0,E.Uu)(e):(0,C.yZ)(e),isEmptyStatsCardDismissed:(0,_.g0)(e),getModuleOverride:t=>(0,M.Qy)(e,t)})),(e=>({switchView:t=>e((0,C.D3)(t)),fetchStatsData:t=>e((0,C.g4)(t))})))(O)},89578:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(92819),p=n(69307),d=n(65736),h=n(71415),f=n(51117),m=n(81200),g=n(10618),v=n(85253),b=n(93107),y=n(41147),k=n(88872),w=n(61161);const __=d.__;class _ extends a.Component{constructor(){super(...arguments),i()(this,"activateVideoPress",(()=>this.props.updateOptions({videopress:!0})))}getContent(){const e=__("VideoPress","jetpack"),t={text:__("Engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. With Jetpack VideoPress, you can customize your video player to deliver your message without the distraction.","jetpack"),link:(0,h.Z)("jetpack-support-videopress")},n=(0,m.sc)(this.props.sitePlan.product_slug),{hasConnectedOwner:r,hasVideoPressLegacySecurityPlan:i,hasVideoPressPurchase:s,isFetching:o,isOffline:a,upgradeUrl:l,videoPressStorageUsed:d}=this.props,b=(0,u.includes)(["is-premium-plan","is-business-plan","is-complete-plan"],n)||i||s,y=s&&null!==d,k=r&&!b&&!a&&!o,w=s||null===d||0!==d?__("You have used your free video. Upgrade now to unlock more videos and 1TB of storage.","jetpack",0):__("1 free video available. Upgrade now to unlock more videos and 1TB of storage.","jetpack");return this.props.getOptionValue("videopress")&&r?c().createElement(f.Z,{className:"jp-dash-item__videopress",label:e,module:"videopress",support:t,status:"is-working",overrideContent:c().createElement(c().Fragment,null,c().createElement("div",{className:"dops-card jp-dash-item__card"},c().createElement("p",{className:"jp-dash-item__description"},__("VideoPress is enabled and will optimize your videos for smooth playback on any device. To add a new video, upload it to the Media Library or Post Editor.","jetpack")),y&&c().createElement("div",{className:"jp-dash-item__videopress-storage"},c().createElement("span",null,__("Video storage used out of 1TB:","jetpack")),c().createElement(g.Z,{value:d/1e4}))),k&&c().createElement(v.Z,{className:"media__videopress-upgrade",callToAction:__("Upgrade","jetpack"),title:w,disableHref:"false",eventFeature:"videopress",icon:"video",path:"dashboard",plan:(0,m.o2)(m.qb),feature:"jetpack_videopress",href:l,trackBannerDisplay:this.props.trackUpgradeButtonView}))}):c().createElement(f.Z,{label:e,module:"videopress",support:t,className:"jp-dash-item__is-inactive",noToggle:!r,overrideContent:!r&&!a&&c().createElement(v.Z,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to enable high-quality, ad-free video.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"videopress",path:"dashboard",plan:(0,m.o2)(m.qb),icon:"video"})},c().createElement("p",{className:"jp-dash-item__description"},a?__("Unavailable in Offline Mode","jetpack"):(0,p.createInterpolateElement)(__("<a>Activate</a> to engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. Try it for free.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateVideoPress})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}i()(_,"propTypes",{hasConnectedOwner:o().bool.isRequired,isOfflineMode:o().bool.isRequired,isModuleAvailable:o().bool.isRequired,trackUpgradeButtonView:o().func}),i()(_,"defaultProps",{trackUpgradeButtonView:u.noop}),t.Z=(0,l.$j)((e=>({hasConnectedOwner:(0,y.it)(e),hasVideoPressPurchase:(0,k.jQ)(e),hasVideoPressLegacySecurityPlan:(0,k.qn)(e).find(m.dy),isModuleAvailable:(0,b.v1)(e,"videopress"),isOffline:(0,y.Ex)(e),isFetching:(0,k.GR)(e),sitePlan:(0,k.UL)(e),upgradeUrl:(0,w.z)(e,"videopress"),videoPressStorageUsed:(0,k.VH)(e)})),(e=>({connectUser:()=>e((0,y.bL)())})))(_)},43240:function(e,t,n){"use strict";var r=n(99196),i=n.n(r);class s extends i().Component{componentDidMount(){const e=jQuery(this.refs.adminNotices),t=jQuery(".vp-deactivated");t.length>0&&t.each((function(){const t=jQuery(this).addClass("dops-notice is-success is-dismissable").removeClass("wrap vp-notice notice notice-success");t.wrapInner('<span class="dops-notice__content">'),t.find(".dops-notice__content").before('<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"/></svg></span>').css("display","block"),t.find(".dops-notice__content").after('<span role="button" tabindex="0" class="dops-notice__dismiss"><svg class="gridicon gridicons-cross" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg><span class="screen-reader-text"/></span>'),t.find("h2").replaceWith((function(){return jQuery("<strong />",{html:this.innerHTML})})),t.find("p").replaceWith((function(){return jQuery("<div/>",{html:this.innerHTML})})),t.prependTo(e).css("display","flex")}));const n=jQuery(".vp-notice");n.length>0&&n.each((function(){const t=jQuery(this);if(0===t.find(".dops-notice__icon").length){const e=t.hasClass("vp-registered"),n=e?"is-success":"is-error";t.addClass("dops-notice vp-notice-jp "+n),t.wrapInner('<span class="dops-notice__content">');const r=e?'<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"/></svg></span>':'<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><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-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"/></svg></span>';t.find(".dops-notice__content").before(r),t.find(".vp-message").removeClass("vp-message").addClass("dops-notice__text"),t.find("h3").replaceWith((function(){return jQuery("<strong />",{html:this.innerHTML})})),t.find("p").replaceWith((function(){return jQuery("<div/>",{html:this.innerHTML})})),t.css("display","flex")}t.find('a[href*="admin.php?page=vaultpress"]').remove(),t.prependTo(e).removeClass("wrap vp-notice")}));const r=jQuery(".woocommerce-message");r.length>0&&r.each((function(){const t=jQuery(this).addClass("dops-notice").removeClass("updated wc-connect");t.find(".button-primary").addClass("dops-notice__action").removeClass("button-primary").detach().appendTo(t),t.find("p").not(".submit").wrapAll('<span class="dops-notice__text"/>');const n=t.find(".dops-notice__text");n.find("p").replaceWith((function(){return jQuery("<div/>",{html:this.innerHTML,class:"dops-notice__moved_text"})})),n.find("br").remove(),t.find(".button-secondary").removeClass("button-secondary").detach().appendTo(n),t.find(".submit").remove(),t.find(".woocommerce-message-close").removeClass("woocommerce-message-close notice-dismiss").addClass("dops-notice__action"),t.wrapInner('<span class="dops-notice__content">').prependTo(e).css("display","flex"),t.find(".dops-notice__action").not(":first").removeClass("dops-notice__action").detach().appendTo(t.find(".dops-notice__text")),t.find(".dops-notice__action:first").detach().appendTo(t)}));const i=jQuery(".notice");i.length>0&&i.each((function(){jQuery(this).hide()})),e.length>0&&jQuery(".dops-notice__dismiss").click((function(){jQuery(this).parent().closest("div").hide()}))}render(){return i().createElement("div",{id:"jp-admin-notices",ref:"adminNotices","aria-live":"polite"})}}t.Z=s},76238:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(92819),u=n(89105),p=n.n(u),d=n(65736),h=n(34885),f=n(98486);const __=d.__,m={ios:{defaultSrc:f.hp+"/get-apps-ios-store.svg",src:"https://linkmaker.itunes.apple.com/assets/shared/badges/{localeSlug}/appstore-lrg.svg",tracksEvent:"calypso_app_download_ios_click",getStoreLink:e=>`https://apps.apple.com/app/apple-store/id335703880?pt=299112&ct=${e}&mt=8`,getTitleText:()=>__("Download the WordPress iOS mobile app.","jetpack"),getAltText:()=>__("Apple App Store download badge","jetpack"),getLocaleSlug:function(){const e=(0,h.X)().split("-")[0];return"en"===e?"en-us":`${e}-${e}`}},android:{defaultSrc:f.hp+"/get-apps-google-play.png",src:"https://play.google.com/intl/en_us/badges/images/generic/{localeSlug}_badge_web_generic.png",tracksEvent:"calypso_app_download_android_click",getStoreLink:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"web",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mobile-download-promo-pages";return`https://play.google.com/store/apps/details?id=org.wordpress.android&referrer=utm_source%3D%${e}%26utm_medium%3D${t}%26utm_campaign%3D${n}`},getTitleText:()=>__("Download the WordPress Android mobile app.","jetpack"),getAltText:()=>__("Google Play Store download badge","jetpack"),getLocaleSlug:function(){return(0,h.X)().split("-")[0]}}};class g extends a.PureComponent{constructor(e){super(e),i()(this,"onLoadImageComplete",(()=>{this.setState({hasExternalImageLoaded:!0})})),i()(this,"onLoadImageError",(()=>{this.setState({hasExternalImageLoaded:!1,imageSrc:m[this.props.storeName].defaultSrc})})),i()(this,"onLinkClick",(()=>{this.props.onBadgeClick(this.props.storeName)}));const t=m[e.storeName].getLocaleSlug().toLowerCase(),n=!(0,l.startsWith)(t,"en");this.state={shouldLoadExternalImage:n,imageSrc:n?m[e.storeName].src.replace("{localeSlug}",t):m[e.storeName].defaultSrc},n&&(this.image=null,this.loadImage())}loadImage(){this.image=new window.Image,this.image.src=this.state.imageSrc,this.image.onload=this.onLoadImageComplete,this.image.onerror=this.onLoadImageError}render(){const{altText:e,titleText:t,storeLink:n,storeName:r,utm_source:i,utm_medium:s,utm_campaign:o}=this.props,{imageSrc:a,hasExternalImageLoaded:l}=this.state,u=p()("apps-badge",{[`${r}-app-badge`]:!0,"is-external-image":l}),d=m[r];return c().createElement("figure",{className:u},c().createElement("a",{href:n||d.getStoreLink(i,s,o),onClick:this.onLinkClick,target:"_blank",rel:"noopener noreferrer"},c().createElement("img",{src:a,title:t||d.getTitleText(),alt:e||d.getAltText()})))}}i()(g,"propTypes",{altText:o().string,storeLink:o().string,storeName:o().oneOf(["ios","android"]).isRequired,titleText:o().string,onBadgeClick:o().func,utm_source:o().string.isRequired,utm_campaign:o().string,utm_medium:o().string}),i()(g,"defaultProps",{altText:"",storeLink:null,titleText:""}),t.Z=g},73875:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(89105),p=n.n(u),d=n(12901),h=n(65736),f=n(76238),m=n(11973),g=n(9913),v=n(60742),b=n(98486),y=n(17752),k=n(66552);const __=h.__;class w extends c().Component{constructor(){super(...arguments),i()(this,"trackDownloadClick",(e=>{m.Z.tracks.recordJetpackClick({target:"apps-card",button:"apps-download",page:this.props.location.pathname,store:e})})),i()(this,"dismissCard",(()=>{this.props.dismissAppCard(),m.Z.tracks.recordJetpackClick({target:"apps-card",button:"dismiss",page:this.props.location.pathname})}))}render(){if(!this.props.arePromotionsActive||this.props.isAppsCardDismissed)return null;const e=p()(this.props.className,"jp-apps-card");return c().createElement("div",{className:e},c().createElement(v.Z,{className:"jp-apps-card__content"},this.props.userCanManageOptions&&c().createElement(g.Z,{borderless:!0,compact:!0,className:"jp-apps-card__dismiss",href:"javascript:void(0)",onClick:this.dismissCard},c().createElement("span",{className:"dashicons dashicons-no"})),c().createElement("div",{className:"jp-apps-card__top"},c().createElement("img",{src:b.hp+"get-apps.svg",alt:""})),c().createElement("div",{className:"jp-apps-card__description"},c().createElement("h3",{className:"jp-apps-card__header"},__("Jetpack in your pocket","jetpack")),c().createElement("p",{className:"jp-apps-card__paragraph"},__("Get powerful security and performance tools in your pocket with the Jetpack mobile app.","jetpack")),c().createElement("div",{className:"jp-apps-card__apps-badges"},c().createElement(f.Z,{altText:__("Google Play Store download badge.","jetpack"),titleText:__("Download the Jetpack Android mobile app.","jetpack"),storeName:"android",storeLink:"https://play.google.com/store/apps/details?id=com.jetpack.android&utm_source=jpdash&utm_medium=cta&utm_campaign=getappscard",onBadgeClick:this.trackDownloadClick}),c().createElement(f.Z,{altText:__("Apple App Store download badge.","jetpack"),titleText:__("Download the Jetpack iOS mobile app.","jetpack"),storeName:"ios",storeLink:"https://apps.apple.com/us/app/jetpack-wp-security-speed/id1565481562?pt=299112ct=jpdash&mt=8",onBadgeClick:this.trackDownloadClick})))))}}i()(w,"displayName","AppsCard"),w.propTypes={className:o().string},t.Z=(0,l.$j)((e=>({isAppsCardDismissed:(0,y.vU)(e),arePromotionsActive:(0,k.Hy)(e),userCanManageOptions:(0,k.UF)(e)})),(e=>({dismissAppCard:()=>e((0,y.VP)({dismiss_dash_app_card:!0}))})))((0,d.EN)(w))},34606:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(89105),p=n.n(u),d=n(92819),h=n(11973),f=n(81200),m=n(9913),g=n(60742),v=n(22256),b=n(3218),y=n(66552),k=n(41147);class w extends a.Component{constructor(){super(...arguments),i()(this,"handleClick",(()=>{this.props.onClick();const{eventFeature:e,path:t,currentVersion:n}=this.props;if(e||t){const r=e?{feature:e}:{},i=t?{path:t}:{},s={target:"banner",type:"upgrade",current_version:n,is_user_wpcom_connected:this.props.isCurrentUserLinked?"yes":"no",is_connection_owner:this.props.isConnectionOwner?"yes":"no",...r,...i};h.Z.tracks.recordJetpackClick(s)}}))}getHref(){const{href:e,feature:t,siteSlug:n}=this.props;return!e&&n?t?`/plans/${n}?feature=${t}`:`/plans/${n}`:e}getIcon(){const{icon:e,iconAlt:t,iconSrc:n,plan:r}=this.props;return!r||e&&n?c().createElement("div",{className:"dops-banner__icons"},c().createElement("div",{className:"dops-banner__icon"},e&&c().createElement(v.Z,{icon:e||"info-outline",size:18}),n&&c().createElement("img",{className:"dops-banner__icon-circle-svg",src:n,alt:t})),c().createElement("div",{className:"dops-banner__icon-circle"},e&&c().createElement(v.Z,{icon:e||"info-outline",size:18}),n&&c().createElement("img",{className:"dops-banner__icon-circle-svg",src:n,alt:t}))):c().createElement("div",{className:"dops-banner__icon-plan"},c().createElement(b.Z,{plan:r}))}getContent(){const{callToAction:e,description:t,list:n,title:r}=this.props;return c().createElement("div",{className:"dops-banner__content"},c().createElement("div",{className:"dops-banner__info"},c().createElement("div",{className:"dops-banner__title"},r),t&&c().createElement("div",{className:"dops-banner__description"},t),(0,d.size)(n)>0&&c().createElement("ul",{className:"dops-banner__list"},n.map(((e,t)=>c().createElement("li",{key:t},c().createElement(v.Z,{icon:"checkmark",size:18}),e))))),e&&c().createElement("div",{className:"dops-banner__action"},e&&c().createElement(m.Z,{compact:!0,href:this.getHref(),onClick:this.handleClick,primary:!0},e)))}render(){const{callToAction:e,className:t,plan:n}=this.props,r=(0,f.sc)(n),i=(0,f.G1)(n),s=(0,f.yy)(n),o=p()("dops-banner",t,{"has-call-to-action":e},{"is-upgrade-personal":i&&"is-personal-plan"===r},{"is-upgrade-premium":i&&"is-premium-plan"===r},{"is-upgrade-business":i&&"is-business-plan"===r},{"is-product":s},{"is-plan":!s},{"is-bundle":!s&&(0,f.Pu)(n)});return c().createElement(g.Z,{className:o,href:e?null:this.getHref(),onClick:e?d.noop:this.handleClick},this.getIcon(),this.getContent())}}i()(w,"propTypes",{callToAction:o().string,className:o().string,currentVersion:o().string.isRequired,description:o().node,eventFeature:o().string,feature:o().string,href:o().string,icon:o().string,iconAlt:o().string,iconSrc:o().string,list:o().arrayOf(o().string),onClick:o().func,path:o().string,plan:o().string,siteSlug:o().string,title:o().string.isRequired,isCurrentUserLinked:o().string,isConnectionOwner:o().bool}),i()(w,"defaultProps",{onClick:d.noop}),t.Z=(0,l.$j)((e=>({currentVersion:(0,y.w1)(e),isCurrentUserLinked:(0,k.BU)(e),isConnectionOwner:(0,k.QM)(e)})))(w)},45232:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(89105),c=n.n(a);class l extends o().Component{render(){const e=c()("dops-button-group",this.props.className);return o().createElement("span",{className:e},this.props.children)}}i()(l,"displayName","ButtonGroup"),i()(l,"propTypes",{children(e){let t=null;return o().Children.forEach(e.children,(e=>{e.props&&"button"===e.props.type||(t=new Error("All children elements should be a Button."))})),t}})},9913:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(92819);class d extends c().Component{render(){const e=this.props.href?"a":"button",{primary:t,compact:n,scary:r,borderless:i,className:s,...o}=this.props,a=u()({"dops-button":!0,"is-compact":n,"is-primary":t,"is-scary":r,"is-borderless":i});return o.className=u()(s,a),c().createElement(e,o,this.props.children)}}i()(d,"displayName","Button"),i()(d,"propTypes",{disabled:o().bool,compact:o().bool,primary:o().bool,scary:o().bool,type:o().string,href:o().string,onClick:o().func,borderless:o().bool,className:o().string}),i()(d,"defaultProps",{disabled:!1,type:"button",onClick:p.noop,borderless:!1})},3810:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(92819),c=n(89105),l=n.n(c),u=n(60742);class p extends o().Component{render(){const e=(0,a.assign)({},this.props,{className:l()(this.props.className,"is-compact")});return o().createElement(u.Z,e,this.props.children)}}i()(p,"displayName","CompactCard")},60742:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(92819),d=n(22256);class h extends c().Component{constructor(){super(...arguments),i()(this,"_renderWithTitle",(()=>{const e="dops-card-section-orient-"+(this.props.vertical?"vertical":"horizontal");return c().createElement("div",{className:e},c().createElement("h4",{ref:"label",className:"dops-card-section-label"},this.props.title),c().createElement("div",{ref:"content",className:"dops-card-section-content"},this.props.children))}))}render(){return c().createElement("div",{className:u()("dops-card-section",this.props.className),style:this.props.style},this.props.title?this._renderWithTitle():this.props.children)}}i()(h,"propTypes",{title:o().any,vertical:o().any,style:o().object,className:o().string,device:o().oneOf(["desktop","tablet","phone"])}),i()(h,"defaultProps",{vertical:null});class f extends c().Component{render(){return c().createElement("div",{className:"dops-card-footer"},this.props.children)}}class m extends c().Component{constructor(){super(...arguments),i()(this,"_renderIcon",(()=>c().createElement("span",{className:"dops-card-icon",style:{color:this.props.iconColor}},this.props.icon&&c().createElement(d.Z,{icon:this.props.icon,style:{backgroundColor:this.props.iconColor}}),this.props.iconLabel)))}render(){const e=u()("dops-card",this.props.className,{"is-card-link":!!this.props.href,"is-compact":this.props.compact}),t=["compact","tagName","meta","iconColor"];let n,r;return this.props.href?n=c().createElement(d.Z,{className:"dops-card__link-indicator",icon:this.props.target?"external":"chevron-right"}):t.push("href","target"),this.props.title&&(r=c().createElement("h2",{className:"dops-card-title"},this.props.title,this.props.meta&&c().createElement("span",{className:"dops-card-meta"},this.props.meta),(this.props.icon||this.props.iconLabel)&&this._renderIcon())),c().createElement(this.props.href?"a":this.props.tagName,(0,p.assign)((0,p.omit)(this.props,t),{className:e}),n,r,this.props.children)}}i()(m,"propTypes",{meta:o().any,icon:o().string,iconLabel:o().any,iconColor:o().string,style:o().object,className:o().string,href:o().string,onClick:o().func,title:o().string,tagName:o().string,target:o().string,compact:o().bool,children:o().node}),i()(m,"defaultProps",{iconColor:"#787878",className:"",tagName:"div",onClick:()=>{}}),m.Section=h,m.Footer=f,t.Z=m},53436:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(47890),u=n(912);class p extends c().Component{constructor(){super(...arguments),i()(this,"buildBars",(e=>{const t=this.props.data.length,n=this.props.chartWidth,r=n/t;let i="bottom right";return this.props.data.map((function(s,o){const a=r*(o+1);return a+230>n&&a+r-230>0&&(i="bottom left"),c().createElement(l.Z,{index:o,key:o,isTouch:this.props.isTouch,tooltipPosition:i,className:s.className,clickHandler:this.props.barClick,data:s,max:e,count:t})}),this)}))}render(){return c().createElement("div",null,c().createElement("div",{className:"dops-chart__bars"},this.buildBars(this.props.yAxisMax)),c().createElement(u.Z,{data:this.props.data,labelWidth:42}))}}i()(p,"displayName","ModuleChartBarContainer"),i()(p,"propTypes",{isTouch:o().bool,data:o().array,yAxisMax:o().number,width:o().number,barClick:o().func})},47890:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(39124),d=n(22256);class h extends c().Component{constructor(){super(...arguments),i()(this,"state",{showPopover:!1}),i()(this,"buildSections",(()=>{const e=this.props.data.value,t=this.props.max,n=100-(t?Math.ceil(e/t*1e4)/100:0),r=Math.max(1,Math.floor(n)),i=[],s=this.props.data.nestedValue,o={"dops-chart__bar-section":!0,"is-spacer":!0,"is-ghost":100===n&&!this.props.active};let a,l,p;const d={height:r+"%"};i.push(c().createElement("div",{key:"spacer",className:u()(o),style:d}));const h={top:r+"%"};return s&&(l=e?Math.ceil(s/e*1e4)/100:0,p={height:l+"%"},a=c().createElement("div",{key:"nestedValue",className:"dops-chart__bar-section-inner",style:p})),i.push(c().createElement("div",{ref:"valueBar",key:"value",className:"dops-chart__bar-section is-bar",style:h},a)),i.push(c().createElement("div",{key:"label",className:"dops-chart__bar-label"},this.props.label)),i})),i()(this,"keyHandler",(e=>{"function"==typeof this.props.clickHandler&&13===e.keyCode&&this.props.clickHandler(this.props.data)})),i()(this,"clickHandler",(()=>{"function"==typeof this.props.clickHandler&&this.props.clickHandler(this.props.data)})),i()(this,"mouseEnter",(()=>{this.setState({showPopover:!0})})),i()(this,"mouseLeave",(()=>{this.setState({showPopover:!1})})),i()(this,"renderTooltip",(()=>{if(!this.props.data.tooltipData||!this.props.data.tooltipData.length||this.props.isTouch)return null;const{tooltipData:e}=this.props.data,t=e.map((function(e,t){const n=["module-content-list-item"];let r;return e.icon&&(r=c().createElement(d.Z,{icon:e.icon,size:18})),n.push(e.className),c().createElement("li",{key:t,className:n.join(" ")},c().createElement("span",{className:"dops-wrapper"},c().createElement("span",{className:"value"},e.value),c().createElement("span",{className:"label"},r,e.label)))}));return c().createElement(p.Z,{className:"dops-chart__tooltip",id:"popover__chart-bar",showDelay:200,context:this.refs&&this.refs.valueBar,isVisible:this.state.showPopover,position:this.props.tooltipPosition},c().createElement("ul",null,t))}))}render(){const e=this.props.count||1,t={"dops-chart__bar":!0};this.props.className&&(t[this.props.className]=!0);const n={width:1/e*100+"%"};return c().createElement("div",{role:"button",tabIndex:0,onKeyUp:this.keyHandler,onClick:this.clickHandler,onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,"aria-label":this.props.data.tooltipData[0].label+" — "+this.props.data.value+".",className:u()(t),style:n},this.buildSections(),c().createElement("div",{className:"dops-chart__bar-marker is-hundred"}),c().createElement("div",{className:"dops-chart__bar-marker is-fifty"}),c().createElement("div",{className:"dops-chart__bar-marker is-zero"}),this.renderTooltip())}}i()(h,"displayName","ModuleChartBar"),i()(h,"propTypes",{isTouch:o().bool,tooltipPosition:o().string,className:o().string,clickHandler:o().func,data:o().object.isRequired,max:o().number,count:o().number})},73653:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(92819),u=n(65736),p=n(53436),d=n(82538);const _x=u._x;class h extends o().Component{constructor(){super(...arguments),i()(this,"state",{maxBars:100,width:650}),i()(this,"resize",(()=>{let e,t=this.refs.chart.clientWidth-82;(0,d._)()?(t=t<=0?350:t,e=Math.floor(t/this.props.minTouchBarWidth)):e=Math.floor(t/this.props.minBarWidth),this.setState({maxBars:e,width:t})})),i()(this,"getYAxisMax",(e=>{const t=Math.max.apply(null,e),n=Math.pow(10,t.toString().length-1);let r=Math.ceil((t+1)/n)*n;return r<10&&(r=10),r})),i()(this,"getData",(()=>{let e=this.props.data;return e=e.slice(0-this.state.maxBars),e})),i()(this,"getValues",(()=>{let e=this.getData();return e=e.map((function(e){return e.value}),this),e})),i()(this,"isEmptyChart",(e=>0===(e=e.filter((function(e){return e>0}),this)).length))}componentDidMount(){this.resize=(0,l.throttle)(this.resize,400),window.addEventListener("resize",this.resize),this.resize()}componentWillUnmount(){window.removeEventListener("resize",this.resize)}UNSAFE_componentWillReceiveProps(e){this.props.loading&&!e.loading&&this.resize()}render(){const e=this.getValues(),t=this.getYAxisMax(e),n=this.getData();let r;return e.length&&this.isEmptyChart(e)&&(r=o().createElement("div",{className:"dops-chart__empty"},o().createElement("span",{className:"dops-chart__empty_notice"},_x("No activity this period","Notice in the empty statistics chart","jetpack")))),o().createElement("div",{ref:"chart",className:"dops-chart"},o().createElement("div",{className:"dops-chart__y-axis-markers"},o().createElement("div",{className:"dops-chart__y-axis-marker is-hundred"}),o().createElement("div",{className:"dops-chart__y-axis-marker is-fifty"}),o().createElement("div",{className:"dops-chart__y-axis-marker is-zero"})),o().createElement("div",{className:"dops-chart__y-axis"},o().createElement("div",{className:"dops-chart__y-axis-width-fix"},new Number(1e5).toLocaleString()),o().createElement("div",{className:"dops-chart__y-axis-label is-hundred"},t.toLocaleString()),o().createElement("div",{className:"dops-chart__y-axis-label is-fifty"},(t/2).toLocaleString()),o().createElement("div",{className:"dops-chart__y-axis-label is-zero"},0)),o().createElement(p.Z,{barClick:this.props.barClick,data:n,yAxisMax:t,chartWidth:this.state.width,isTouch:(0,d._)()}),r)}}i()(h,"displayName","ModuleChart"),i()(h,"propTypes",{loading:c().bool,data:c().array,minTouchBarWidth:c().number,minBarWidth:c().number,barClick:c().func}),i()(h,"defaultProps",{minTouchBarWidth:42,minBarWidth:15,barClick:l.noop})},12769:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a);class l extends c().Component{render(){const e={width:this.props.width+"px"};return e.left=this.props.x+"px",c().createElement("div",{className:"dops-chart__x-axis-label",style:e},this.props.label)}}i()(l,"displayName","ModuleChartLabel"),i()(l,"propTypes",{width:o().number.isRequired,x:o().number.isRequired,label:o().string.isRequired})},912:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(92819),u=n(12769);class p extends o().Component{constructor(){super(...arguments),i()(this,"state",{divisor:1,spacing:this.props.labelWidth}),i()(this,"resize",(e=>{let t=this.props;const n=this.refs.axis;!e||e instanceof Event||(t=e),n.style.overflow="hidden";const r=n.clientWidth;n.style.overflow="visible";const i=r/(t.data.length||1),s=t.labelWidth,o=Math.ceil(s/i);this.setState({divisor:o,spacing:i})}))}componentDidMount(){this.resizeThrottled=(0,l.throttle)(this.resize,400),window.addEventListener("resize",this.resizeThrottled),this.resize()}componentWillUnmount(){this.resizeThrottled.cancel&&this.resizeThrottled.cancel(),window.removeEventListener("resize",this.resizeThrottled)}UNSAFE_componentWillReceiveProps(e){this.resize(e)}render(){const e=this.props.data,t=e.map((function(t,n){const r=n*this.state.spacing+(this.state.spacing-this.props.labelWidth)/2;let i;return(e.length-n-1)%this.state.divisor==0&&(i=o().createElement(u.Z,{key:n,label:t.label,width:this.props.labelWidth,x:r})),i}),this);return o().createElement("div",{ref:"axis",className:"dops-chart__x-axis"},t)}}i()(p,"displayName","ModuleChartXAxis"),i()(p,"propTypes",{labelWidth:c().number.isRequired,data:c().array.isRequired})},18582:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(11268),c=n.n(a),l=n(99196),u=n.n(l),p=n(89105),d=n.n(p),h=n(92819),f=n(14318),m=n(15029);class g extends u().Component{constructor(){super(...arguments),o()(this,"state",{isCopied:!1,disabled:!1}),o()(this,"showConfirmation",(()=>{this.setState({isCopied:!0}),this.confirmationTimeout=setTimeout((()=>{this.setState({isCopied:!1})}),4e3)}))}componentWillUnmount(){clearTimeout(this.confirmationTimeout),delete this.confirmationTimeout}render(){const e=(0,h.omit)(this.props,"className","copied","copy","isError","isValid","prompt","selectOnFocus");return u().createElement("span",{className:d()("dops-clipboard-button-input",this.props.className)},u().createElement(m.Z,i()({},e,{type:"text",selectOnFocus:!0,readOnly:!0})),u().createElement(f.Z,{text:this.props.value,onCopy:this.showConfirmation,disabled:this.props.disabled,prompt:this.props.prompt,compact:!0},this.state.isCopied?this.props.copied:this.props.copy))}}o()(g,"displayName","ClipboardButtonInput"),o()(g,"propTypes",{value:c().string,disabled:c().bool,className:c().string,copied:c().string,copy:c().string,prompt:c().string}),o()(g,"defaultProps",{value:""})},81441:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(69307),p=n(65736),d=n(96483),h=n(71415),f=n(11973),m=n(9913),g=n(41147),v=n(66552),b=n(41922),y=n(15628),k=n(27711);const __=p.__;class w extends c().Component{constructor(e){super(e),i()(this,"handleOpenModal",(e=>{f.Z.tracks.recordJetpackClick("manage_site_connection"),e.preventDefault(),this.toggleVisibility()})),i()(this,"handleDisconnected",(()=>{this.props.fetchConnectUrl(),this.props.fetchSiteConnectionStatus()})),i()(this,"toggleVisibility",(()=>{this.setState({showModal:!this.state.showModal})})),i()(this,"loadIframe",(e=>{e.preventDefault(),this.props.isAuthorizing||this.props.fetchingConnectUrl||(f.Z.tracks.recordJetpackClick("link_account_in_place"),this.props.customConnect?this.props.customConnect():this.props.doConnectUser())})),i()(this,"renderUserButton",(()=>{if(this.props.isLinked)return c().createElement("div",null,c().createElement("a",{role:"button",tabIndex:"0",className:"jp-jetpack-unlink__button",onKeyDown:(0,b.Z)(this.props.unlinkUser),onClick:this.props.unlinkUser,disabled:this.props.isUnlinking},this.props.connectLegend||__("Disconnect your WordPress.com account","jetpack")));let e=this.props.connectUrl;this.props.from&&(e+=`&from=${this.props.from}`,e+="&additional-user");const t={className:"is-primary jp-jetpack-connect__button",href:e,disabled:this.props.fetchingConnectUrl||this.props.isAuthorizing},n=this.props.connectLegend||__("Connect your WordPress.com account","jetpack");return!this.props.connectInPlace||this.props.isSafari||this.props.doNotUseConnectionIframe||(t.onClick=this.loadIframe),this.props.asLink?c().createElement("a",t,n):c().createElement(m.Z,t,n)})),i()(this,"renderContent",(()=>{if(this.props.connectUser)return this.renderUserButton();if(this.props.isSiteConnected)return c().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,b.Z)(this.handleOpenModal),onClick:this.handleOpenModal,disabled:this.props.isDisconnecting},this.props.connectLegend||__("Manage site connection","jetpack"));let e=this.props.connectUrl;this.props.from&&(e+=`&from=${this.props.from}`);const t={className:"jp-jetpack-connect__button",href:e,disabled:this.props.fetchingConnectUrl},n=this.props.connectLegend||__("Set up Jetpack","jetpack");return this.props.asLink?c().createElement("a",t,n):c().createElement(m.Z,t,n)})),this.state={showModal:e.autoOpenInDisconnectRoute&&"#/disconnect"===(0,d.getFragment)(window.location.href)}}render(){return c().createElement("div",null,!this.props.isSiteConnected&&c().createElement("p",{className:"jp-banner__tos-blurb"},(0,u.createInterpolateElement)(__("By clicking the button below, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:c().createElement("a",{href:(0,h.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:c().createElement("a",{href:(0,h.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})})),this.renderContent(),this.props.children,c().createElement(y.Z,{apiNonce:this.props.apiNonce,apiRoot:this.props.apiRoot,connectedPlugins:this.props.connectedPlugins,connectedUser:{ID:this.props.userWpComId,login:this.props.userWpComLogin},connectedSiteId:this.props.connectedSiteId,disconnectStepComponent:c().createElement(k.Z,{siteBenefits:this.props.siteBenefits}),onDisconnected:this.handleDisconnected,isOpen:this.state.showModal,onClose:this.toggleVisibility,context:"jetpack"}))}}i()(w,"displayName","ConnectButton"),i()(w,"propTypes",{connectUser:o().bool,from:o().string,asLink:o().bool,connectLegend:o().string,connectInPlace:o().bool,customConnect:o().func,autoOpenInDisconnectRoute:o().bool}),i()(w,"defaultProps",{connectUser:!1,from:"",asLink:!1,connectInPlace:!0,autoOpenInDisconnectRoute:!1}),t.Z=(0,l.$j)((e=>({siteRawUrl:(0,v.JR)(e),isSiteConnected:(0,g.Gz)(e),isDisconnecting:(0,g.e_)(e),fetchingConnectUrl:(0,g.Mq)(e),connectUrl:(0,g.AM)(e),isLinked:(0,g.BU)(e),isUnlinking:(0,g.jZ)(e),isAuthorizing:(0,g.zq)(e),isSafari:(0,v.G6)(e),doNotUseConnectionIframe:(0,v.jq)(e),apiNonce:(0,v.VY)(e),apiRoot:(0,v.yB)(e),connectedPlugins:(0,v.xz)(e),siteBenefits:(0,v.Hh)(e),pluginUrl:(0,v.wB)(e),userWpComLogin:(0,v.IU)(e),userWpComId:(0,v._G)(e),connectedSiteId:(0,v.EZ)(e)})),(e=>({fetchConnectUrl:()=>e((0,g.eW)()),fetchSiteConnectionStatus:()=>e((0,g.I7)()),unlinkUser:()=>e((0,g.EP)()),doConnectUser:()=>e((0,g.bL)())})))(w)},24951:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(2620),o=n(11268),a=n.n(o),c=n(65736),l=n(81441),u=n(60742),p=n(11973),d=n(41147);const __=c.__,h=e=>{const{feature:t,featureLabel:n,text:s,doConnectUser:o}=e,a=(0,r.useCallback)((()=>{p.Z.tracks.recordJetpackClick({target:"connection-bar-click",feature:t,is_user_wpcom_connected:"no",is_connection_owner:"no"}),o(n)}),[o,t,n]);return i().createElement(u.Z,{compact:!0,className:"jp-connect-user-bar__card"},i().createElement("div",{className:"jp-connect-user-bar__text"},(0,c.sprintf)(
+__("Views: %s","jetpack"),(0,f.Z)(c)),className:"tooltip class"},{label:__("Click to view detailed stats.","jetpack")}]})})),{chartData:n,totalViews:s})}statsErrors(){return(0,l.get)(this.props.statsData,["general","errors"],!1)}renderStatsChart(e){return c().createElement("div",null,c().createElement("div",{className:"jp-at-a-glance__stats-chart"},c().createElement(y.Z,{data:e,barClick:this.barClick}),0===e.length&&c().createElement(d.Spinner,null)),c().createElement("div",{id:"stats-bottom",className:"jp-at-a-glance__stats-bottom"},c().createElement(w.Z,{statsData:this.props.statsData,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,dateFormat:this.props.dateFormat})))}renderEmptyStatsCard(){return c().createElement(_.Z,{className:"jp-at-a-glance__stats-empty"},c().createElement("img",{src:S.hp+"stats-people.svg",width:"272",height:"144",alt:__("Jetpack Stats People","jetpack"),className:"jp-at-a-glance__stats-icon"}),c().createElement("p",null,__("Hello there! Your stats have been activated.","jetpack"),c().createElement("br",null),__("Just give us a little time to collect data so we can display it for you here.","jetpack")),c().createElement(k.Z,{onClick:this.dismissCard,primary:!0},__("Okay, got it!","jetpack")))}renderStatsArea(){if(this.props.getOptionValue("stats")){if(this.statsErrors())return c().createElement("div",{className:"jp-at-a-glance__stats-inactive"},c().createElement("span",null,(0,u.createInterpolateElement)(__("Something happened while loading stats. Please try again later or <a>view your stats now on WordPress.com</a>","jetpack"),{a:c().createElement("a",{href:(0,g.Z)("calypso-stats-insights",{site:this.props.siteRawUrl})})})));const e=this.statsChart(this.props.activeTab),t=e.chartData,n=e.totalViews,s=t.length&&n<=0&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed;return c().createElement("div",{className:"jp-at-a-glance__stats-container"},s?this.renderEmptyStatsCard():this.renderStatsChart(t))}return c().createElement("div",{className:"jp-at-a-glance__stats-inactive"},c().createElement("div",{className:"jp-at-a-glance__stats-inactive-icon"},c().createElement("img",{src:S.hp+"stats.svg",width:"60",height:"60",alt:__("Jetpack Stats Icon","jetpack"),className:"jp-at-a-glance__stats-icon"})),c().createElement("div",{className:"jp-at-a-glance__stats-inactive-text"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,u.createInterpolateElement)(__("<a>Activate Site Stats</a> to see detailed stats, likes, followers, subscribers, and more! <a1>Learn More</a1>","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateStats}),a1:c().createElement("a",{href:(0,g.Z)("jetpack-support-wordpress-com-stats"),target:"_blank",rel:"noopener noreferrer"})})),!this.props.isOfflineMode&&c().createElement("div",{className:"jp-at-a-glance__stats-inactive-button"},c().createElement(k.Z,{onClick:this.activateStats,primary:!0},__("Activate Site Stats","jetpack"))))}switchTo(e){v.Z.tracks.recordJetpackClick({target:"stats_switch_view",view:e}),this.props.switchView(e),this.props.fetchStatsData(e)}maybeShowStatsTabs(){return!(!1===this.statsChart(this.props.activeTab).totalViews&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed)&&(this.props.getOptionValue("stats")&&!this.statsErrors()?c().createElement("ul",{className:"jp-at-a-glance__stats-views"},c().createElement("li",{className:"jp-at-a-glance__stats-view"},c().createElement("a",{tabIndex:"0",href:"javascript:void(0)",onClick:this.switchToDay,className:this.getClass("day")},__("Days","jetpack"))),c().createElement("li",{className:"jp-at-a-glance__stats-view"},c().createElement("a",{tabIndex:"0",href:"javascript:void(0)",onClick:this.switchToWeek,className:this.getClass("week")},__("Weeks","jetpack"))),c().createElement("li",{className:"jp-at-a-glance__stats-view"},c().createElement("a",{tabIndex:"0",href:"javascript:void(0)",onClick:this.switchToMonth,className:this.getClass("month")},__("Months","jetpack")))):void 0)}getClass(e){return this.props.activeTab===e?"jp-at-a-glance__stats-view-link is-current":"jp-at-a-glance__stats-view-link"}render(){return"inactive"===this.props.getModuleOverride("stats")?c().createElement("div",null,c().createElement(T.Z,{moduleName:__("Site Stats","jetpack")})):this.props.isModuleAvailable&&c().createElement("div",null,c().createElement(O.Z,{range:this.props.activeTab}),c().createElement(E.Z,{label:__("Site Stats","jetpack")},this.maybeShowStatsTabs()),c().createElement(_.Z,{className:"jp-at-a-glance__stats-card "+(this.props.isOfflineMode?"is-inactive":"")},this.renderStatsArea()))}}r()(P,"propTypes",{isOfflineMode:a().bool.isRequired,siteRawUrl:a().string.isRequired,siteAdminUrl:a().string.isRequired,statsData:a().any.isRequired,isModuleAvailable:a().bool.isRequired}),t.Z=(0,p.$j)((e=>({isModuleAvailable:(0,x.v1)(e,"stats"),activeTab:(0,j.l5)(e),dateFormat:(0,C.mh)(e),isOfflineMode:(0,N.Ex)(e),isLinked:(0,N.BU)(e),connectUrl:(0,N.AM)(e),statsData:(0,l.isEmpty)((0,j.yZ)(e))?(0,C.Uu)(e):(0,j.yZ)(e),isEmptyStatsCardDismissed:(0,b.g0)(e),getModuleOverride:t=>(0,x.Qy)(e,t)})),(e=>({switchView:t=>e((0,j.D3)(t)),fetchStatsData:t=>e((0,j.g4)(t))})))(P)},6354:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2819),u=n(9307),d=n(5736),m=n(6324),h=n(3255),g=n(9584),f=n(2395),v=n(5733),k=n(416),_=n(6300),y=n(3002),E=n(1137);const __=d.__;class w extends o.Component{constructor(){super(...arguments),r()(this,"activateVideoPress",(()=>this.props.updateOptions({videopress:!0})))}getContent(){const e=__("VideoPress","jetpack"),t={text:__("Engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. With Jetpack VideoPress, you can customize your video player to deliver your message without the distraction.","jetpack"),link:(0,m.Z)("jetpack-support-videopress")},{hasConnectedOwner:n,hasVideoPressFeature:s,hasVideoPressUnlimitedStorage:r,isFetching:i,isOffline:a,upgradeUrl:o,videoPressStorageUsed:l}=this.props,p=s&&!r&&null!==l,d=n&&!s&&!a&&!i,k=s||null===l||0!==l?__("You have used your free video. Upgrade now to unlock more videos and 1TB of storage.","jetpack",0):__("1 free video available. Upgrade now to unlock more videos and 1TB of storage.","jetpack");return this.props.getOptionValue("videopress")&&n?c().createElement(h.Z,{className:"jp-dash-item__videopress",label:e,module:"videopress",support:t,status:"is-working",overrideContent:c().createElement(c().Fragment,null,c().createElement("div",{className:"dops-card jp-dash-item__card"},c().createElement("p",{className:"jp-dash-item__description"},__("VideoPress is enabled and will optimize your videos for smooth playback on any device. To add a new video, upload it to the Media Library or Post Editor.","jetpack")),p&&c().createElement("div",{className:"jp-dash-item__videopress-storage"},c().createElement("span",null,__("Video storage used out of 1TB:","jetpack")),c().createElement(f.Z,{value:l/1e4}))),d&&c().createElement(v.ZP,{className:"media__videopress-upgrade",callToAction:__("Upgrade","jetpack"),title:k,disableHref:"false",eventFeature:"videopress",icon:"video",path:"dashboard",plan:(0,g.o2)(g.qb),feature:"jetpack_videopress",href:o,trackBannerDisplay:this.props.trackUpgradeButtonView}))}):c().createElement(h.Z,{label:e,module:"videopress",support:t,className:"jp-dash-item__is-inactive",noToggle:!n,overrideContent:!n&&!a&&c().createElement(v.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to enable high-quality, ad-free video.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"videopress",path:"dashboard",plan:(0,g.o2)(g.qb),icon:"video"})},c().createElement("p",{className:"jp-dash-item__description"},a?__("Unavailable in Offline Mode","jetpack"):(0,u.createInterpolateElement)(__("<a>Activate</a> to engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. Try it for free.","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateVideoPress})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}r()(w,"propTypes",{hasConnectedOwner:a().bool.isRequired,isOffline:a().bool.isRequired,isModuleAvailable:a().bool.isRequired,trackUpgradeButtonView:a().func}),r()(w,"defaultProps",{trackUpgradeButtonView:p.noop}),t.Z=(0,l.$j)((e=>({hasConnectedOwner:(0,_.it)(e),hasVideoPressFeature:(0,y.P2)(e,"videopress-1tb-storage")||(0,y.P2)(e,"videopress-unlimited-storage"),hasVideoPressUnlimitedStorage:(0,y.P2)(e,"videopress-unlimited-storage"),isModuleAvailable:(0,k.v1)(e,"videopress"),isOffline:(0,_.Ex)(e),isFetching:(0,y.GR)(e),sitePlan:(0,y.UL)(e),upgradeUrl:(0,E.z)(e,"videopress"),videoPressStorageUsed:(0,y.VH)(e)})),(e=>({connectUser:()=>e((0,_.bL)())})))(w)},7301:function(e,t,n){"use strict";var s=n(9196),r=n.n(s);class i extends r().Component{componentDidMount(){const e=jQuery(this.refs.adminNotices),t=jQuery(".vp-deactivated");t.length>0&&t.each((function(){const t=jQuery(this).addClass("dops-notice is-success is-dismissable").removeClass("wrap vp-notice notice notice-success");t.wrapInner('<span class="dops-notice__content">'),t.find(".dops-notice__content").before('<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"/></svg></span>').css("display","block"),t.find(".dops-notice__content").after('<span role="button" tabindex="0" class="dops-notice__dismiss"><svg class="gridicon gridicons-cross" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg><span class="screen-reader-text"/></span>'),t.find("h2").replaceWith((function(){return jQuery("<strong />",{html:this.innerHTML})})),t.find("p").replaceWith((function(){return jQuery("<div/>",{html:this.innerHTML})})),t.prependTo(e).css("display","flex")}));const n=jQuery(".vp-notice");n.length>0&&n.each((function(){const t=jQuery(this);if(0===t.find(".dops-notice__icon").length){const e=t.hasClass("vp-registered"),n=e?"is-success":"is-error";t.addClass("dops-notice vp-notice-jp "+n),t.wrapInner('<span class="dops-notice__content">');const s=e?'<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"/></svg></span>':'<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><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-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"/></svg></span>';t.find(".dops-notice__content").before(s),t.find(".vp-message").removeClass("vp-message").addClass("dops-notice__text"),t.find("h3").replaceWith((function(){return jQuery("<strong />",{html:this.innerHTML})})),t.find("p").replaceWith((function(){return jQuery("<div/>",{html:this.innerHTML})})),t.css("display","flex")}t.find('a[href*="admin.php?page=vaultpress"]').remove(),t.prependTo(e).removeClass("wrap vp-notice")}));const s=jQuery(".woocommerce-message");s.length>0&&s.each((function(){const t=jQuery(this).addClass("dops-notice").removeClass("updated wc-connect");t.find(".button-primary").addClass("dops-notice__action").removeClass("button-primary").detach().appendTo(t),t.find("p").not(".submit").wrapAll('<span class="dops-notice__text"/>');const n=t.find(".dops-notice__text");n.find("p").replaceWith((function(){return jQuery("<div/>",{html:this.innerHTML,class:"dops-notice__moved_text"})})),n.find("br").remove(),t.find(".button-secondary").removeClass("button-secondary").detach().appendTo(n),t.find(".submit").remove(),t.find(".woocommerce-message-close").removeClass("woocommerce-message-close notice-dismiss").addClass("dops-notice__action"),t.wrapInner('<span class="dops-notice__content">').prependTo(e).css("display","flex"),t.find(".dops-notice__action").not(":first").removeClass("dops-notice__action").detach().appendTo(t.find(".dops-notice__text")),t.find(".dops-notice__action:first").detach().appendTo(t)}));const r=jQuery(".notice");r.length>0&&r.each((function(){jQuery(this).hide()})),e.length>0&&jQuery(".dops-notice__dismiss").on("click",(function(){jQuery(this).parent().closest("div").hide()}))}render(){return r().createElement("div",{id:"jp-admin-notices",ref:"adminNotices","aria-live":"polite"})}}t.Z=i},408:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(2819),p=n(5235),u=n.n(p),d=n(5736),m=n(6028),h=n(800);const __=d.__,g={ios:{defaultSrc:h.hp+"/get-apps-ios-store.svg",src:"https://linkmaker.itunes.apple.com/assets/shared/badges/{localeSlug}/appstore-lrg.svg",tracksEvent:"calypso_app_download_ios_click",getStoreLink:e=>`https://apps.apple.com/app/apple-store/id335703880?pt=299112&ct=${e}&mt=8`,getTitleText:()=>__("Download the WordPress iOS mobile app.","jetpack"),getAltText:()=>__("Apple App Store download badge","jetpack"),getLocaleSlug:function(){const e=(0,m.X)().split("-")[0];return"en"===e?"en-us":`${e}-${e}`}},android:{defaultSrc:h.hp+"/get-apps-google-play.png",src:"https://play.google.com/intl/en_us/badges/images/generic/{localeSlug}_badge_web_generic.png",tracksEvent:"calypso_app_download_android_click",getStoreLink:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"web",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mobile-download-promo-pages";return`https://play.google.com/store/apps/details?id=org.wordpress.android&referrer=utm_source%3D%${e}%26utm_medium%3D${t}%26utm_campaign%3D${n}`},getTitleText:()=>__("Download the WordPress Android mobile app.","jetpack"),getAltText:()=>__("Google Play Store download badge","jetpack"),getLocaleSlug:function(){return(0,m.X)().split("-")[0]}}};class f extends o.PureComponent{constructor(e){super(e),r()(this,"onLoadImageComplete",(()=>{this.setState({hasExternalImageLoaded:!0})})),r()(this,"onLoadImageError",(()=>{this.setState({hasExternalImageLoaded:!1,imageSrc:g[this.props.storeName].defaultSrc})})),r()(this,"onLinkClick",(()=>{this.props.onBadgeClick(this.props.storeName)}));const t=g[e.storeName].getLocaleSlug().toLowerCase(),n=!(0,l.startsWith)(t,"en");this.state={shouldLoadExternalImage:n,imageSrc:n?g[e.storeName].src.replace("{localeSlug}",t):g[e.storeName].defaultSrc},n&&(this.image=null,this.loadImage())}loadImage(){this.image=new window.Image,this.image.src=this.state.imageSrc,this.image.onload=this.onLoadImageComplete,this.image.onerror=this.onLoadImageError}render(){const{altText:e,titleText:t,storeLink:n,storeName:s,utm_source:r,utm_medium:i,utm_campaign:a}=this.props,{imageSrc:o,hasExternalImageLoaded:l}=this.state,p=u()("apps-badge",{[`${s}-app-badge`]:!0,"is-external-image":l}),d=g[s];return c().createElement("figure",{className:p},c().createElement("a",{href:n||d.getStoreLink(r,i,a),onClick:this.onLinkClick,target:"_blank",rel:"noopener noreferrer"},c().createElement("img",{src:o,title:t||d.getTitleText(),alt:e||d.getAltText()})))}}r()(f,"propTypes",{altText:a().string,storeLink:a().string,storeName:a().oneOf(["ios","android"]).isRequired,titleText:a().string,onBadgeClick:a().func,utm_source:a().string,utm_campaign:a().string,utm_medium:a().string}),r()(f,"defaultProps",{altText:"",storeLink:null,titleText:""}),t.Z=f},7363:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5235),u=n.n(p),d=n(4498),m=n(5736),h=n(408),g=n(4069),f=n(7506),v=n(5799),k=n(800),_=n(3230),y=n(9508);const __=m.__;class E extends c().Component{constructor(){super(...arguments),r()(this,"trackDownloadClick",(e=>{g.Z.tracks.recordJetpackClick({target:"apps-card",button:"apps-download",page:this.props.location.pathname,store:e})})),r()(this,"dismissCard",(()=>{this.props.dismissAppCard(),g.Z.tracks.recordJetpackClick({target:"apps-card",button:"dismiss",page:this.props.location.pathname})}))}render(){if(!this.props.arePromotionsActive||this.props.isAppsCardDismissed)return null;const e=u()(this.props.className,"jp-apps-card");return c().createElement("div",{className:e},c().createElement(v.Z,{className:"jp-apps-card__content"},this.props.userCanManageOptions&&c().createElement(f.Z,{borderless:!0,compact:!0,className:"jp-apps-card__dismiss",onClick:this.dismissCard},c().createElement("span",{className:"dashicons dashicons-no"})),c().createElement("div",{className:"jp-apps-card__top"},c().createElement("img",{src:k.hp+"get-apps.svg",alt:""})),c().createElement("div",{className:"jp-apps-card__description"},c().createElement("h3",{className:"jp-apps-card__header"},__("Jetpack in your pocket","jetpack")),c().createElement("p",{className:"jp-apps-card__paragraph"},__("Get powerful security and performance tools in your pocket with the Jetpack mobile app.","jetpack")),c().createElement("div",{className:"jp-apps-card__apps-badges"},c().createElement(h.Z,{altText:__("Google Play Store download badge.","jetpack"),titleText:__("Download the Jetpack Android mobile app.","jetpack"),storeName:"android",storeLink:"https://play.google.com/store/apps/details?id=com.jetpack.android&utm_source=jpdash&utm_medium=cta&utm_campaign=getappscard",onBadgeClick:this.trackDownloadClick}),c().createElement(h.Z,{altText:__("Apple App Store download badge.","jetpack"),titleText:__("Download the Jetpack iOS mobile app.","jetpack"),storeName:"ios",storeLink:"https://apps.apple.com/us/app/jetpack-wp-security-speed/id1565481562?pt=299112ct=jpdash&mt=8",onBadgeClick:this.trackDownloadClick})))))}}r()(E,"displayName","AppsCard"),E.propTypes={className:a().string},t.Z=(0,l.$j)((e=>({isAppsCardDismissed:(0,_.vU)(e),arePromotionsActive:(0,y.Hy)(e),userCanManageOptions:(0,y.UF)(e)})),(e=>({dismissAppCard:()=>e((0,_.VP)({dismiss_dash_app_card:!0}))})))((0,d.EN)(E))},7407:function(e,t,n){"use strict";n.d(t,{$j:function(){return w},jL:function(){return E}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5235),u=n.n(p),d=n(2819),m=n(4069),h=n(9584),g=n(7506),f=n(5799),v=n(5060),k=n(3234),_=n(9508),y=n(6300);class E extends o.Component{constructor(){super(...arguments),r()(this,"handleClick",(()=>{this.props.onClick();const{eventFeature:e,path:t,currentVersion:n,eventProps:s}=this.props;if(e||t){const r=e?{feature:e}:{},i=t?{path:t}:{},a={target:"banner",type:"upgrade",current_version:n,is_user_wpcom_connected:this.props.isCurrentUserLinked?"yes":"no",is_connection_owner:this.props.isConnectionOwner?"yes":"no",...r,...i,...s};m.Z.tracks.recordJetpackClick(a)}}))}getHref(){const{href:e,feature:t,siteSlug:n}=this.props;return!e&&n?t?`/plans/${n}?feature=${t}`:`/plans/${n}`:e}getIcon(){const{icon:e,iconAlt:t,iconSrc:n,plan:s}=this.props;return!s||e&&n?c().createElement("div",{className:"dops-banner__icons"},c().createElement("div",{className:"dops-banner__icon"},e&&c().createElement(v.Z,{icon:e||"info-outline",size:18}),n&&c().createElement("img",{className:"dops-banner__icon-circle-svg",src:n,alt:t})),c().createElement("div",{className:"dops-banner__icon-circle"},e&&c().createElement(v.Z,{icon:e||"info-outline",size:18}),n&&c().createElement("img",{className:"dops-banner__icon-circle-svg",src:n,alt:t}))):c().createElement("div",{className:"dops-banner__icon-plan"},c().createElement(k.Z,{plan:s}))}getContent(){const{callToAction:e,description:t,list:n,title:s}=this.props;return c().createElement("div",{className:"dops-banner__content"},c().createElement("div",{className:"dops-banner__info"},c().createElement("div",{className:"dops-banner__title"},s),t&&c().createElement("div",{className:"dops-banner__description"},t),(0,d.size)(n)>0&&c().createElement("ul",{className:"dops-banner__list"},n.map(((e,t)=>c().createElement("li",{key:t},c().createElement(v.Z,{icon:"checkmark",size:18}),e))))),e&&c().createElement("div",{className:"dops-banner__action"},e&&c().createElement(g.Z,{compact:!0,href:this.getHref(),onClick:this.handleClick,primary:!0},e)))}render(){const{callToAction:e,className:t,plan:n}=this.props,s=(0,h.sc)(n),r=(0,h.G1)(n),i=(0,h.yy)(n),a=u()("dops-banner",t,{"has-call-to-action":e},{"is-upgrade-personal":r&&"is-personal-plan"===s},{"is-upgrade-premium":r&&"is-premium-plan"===s},{"is-upgrade-business":r&&"is-business-plan"===s},{"is-product":i},{"is-plan":!i},{"is-bundle":!i&&(0,h.Pu)(n)});return c().createElement(f.Z,{className:a,href:e?null:this.getHref(),onClick:e?d.noop:this.handleClick},this.getIcon(),this.getContent())}}function w(e){return(0,l.$j)((e=>({currentVersion:(0,_.w1)(e),isCurrentUserLinked:(0,y.BU)(e),isConnectionOwner:(0,y.QM)(e)})))(e)}r()(E,"propTypes",{callToAction:a().string,className:a().string,currentVersion:a().string.isRequired,description:a().node,eventFeature:a().string,eventProps:a().object,feature:a().string,href:a().string,icon:a().string,iconAlt:a().string,iconSrc:a().string,list:a().arrayOf(a().string),onClick:a().func,path:a().string,plan:a().string,siteSlug:a().string,title:a().node.isRequired,isCurrentUserLinked:a().bool,isConnectionOwner:a().bool}),r()(E,"defaultProps",{onClick:d.noop,eventProps:{}}),t.ZP=w(E)},8492:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5235),c=n.n(o);class l extends a().Component{render(){const e=c()("dops-button-group",this.props.className);return a().createElement("span",{className:e},this.props.children)}}r()(l,"displayName","ButtonGroup"),r()(l,"propTypes",{children(e){let t=null;return a().Children.forEach(e.children,(e=>{e.props&&"button"===e.props.type||(t=new Error("All children elements should be a Button."))})),t}})},7506:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(2819);class d extends c().Component{render(){const e=this.props.href?"a":"button",{primary:t,compact:n,scary:s,borderless:r,rna:i,className:a,...o}=this.props,l=p()({"dops-button":!0,"is-compact":n,"is-primary":t,"is-scary":s,"is-borderless":r,"is-rna":i});return o.className=p()(a,l),c().createElement(e,o,this.props.children)}}r()(d,"displayName","Button"),r()(d,"propTypes",{disabled:a().bool,compact:a().bool,primary:a().bool,scary:a().bool,type:a().string,href:a().string,onClick:a().func,borderless:a().bool,rna:a().bool,className:a().string}),r()(d,"defaultProps",{disabled:!1,type:"button",onClick:u.noop,borderless:!1})},5773:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(2819),c=n(5235),l=n.n(c),p=n(5799);class u extends a().Component{render(){const e=(0,o.assign)({},this.props,{className:l()(this.props.className,"is-compact")});return a().createElement(p.Z,e,this.props.children)}}r()(u,"displayName","CompactCard")},5799:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(2819),d=n(5060);class m extends c().Component{constructor(){super(...arguments),r()(this,"_renderWithTitle",(()=>{const e="dops-card-section-orient-"+(this.props.vertical?"vertical":"horizontal");return c().createElement("div",{className:e},c().createElement("h4",{ref:"label",className:"dops-card-section-label"},this.props.title),c().createElement("div",{ref:"content",className:"dops-card-section-content"},this.props.children))}))}render(){return c().createElement("div",{className:p()("dops-card-section",this.props.className),style:this.props.style},this.props.title?this._renderWithTitle():this.props.children)}}r()(m,"propTypes",{title:a().any,vertical:a().any,style:a().object,className:a().string,device:a().oneOf(["desktop","tablet","phone"])}),r()(m,"defaultProps",{vertical:null});class h extends c().Component{render(){return c().createElement("div",{className:"dops-card-footer"},this.props.children)}}class g extends c().Component{constructor(){super(...arguments),r()(this,"_renderIcon",(()=>c().createElement("span",{className:"dops-card-icon",style:{color:this.props.iconColor}},this.props.icon&&c().createElement(d.Z,{icon:this.props.icon,style:{backgroundColor:this.props.iconColor}}),this.props.iconLabel)))}render(){const e=p()("dops-card",this.props.className,{"is-card-link":!!this.props.href,"is-compact":this.props.compact}),t=["compact","tagName","meta","iconColor"];let n,s;return this.props.href?n=c().createElement(d.Z,{className:"dops-card__link-indicator",icon:this.props.target?"external":"chevron-right"}):t.push("href","target"),this.props.title&&(s=c().createElement("h2",{className:"dops-card-title"},this.props.title,this.props.meta&&c().createElement("span",{className:"dops-card-meta"},this.props.meta),(this.props.icon||this.props.iconLabel)&&this._renderIcon())),c().createElement(this.props.href?"a":this.props.tagName,(0,u.assign)((0,u.omit)(this.props,t),{className:e}),n,s,this.props.children)}}r()(g,"propTypes",{meta:a().any,icon:a().string,iconLabel:a().any,iconColor:a().string,style:a().object,className:a().string,href:a().string,onClick:a().func,title:a().string,tagName:a().string,target:a().string,compact:a().bool,children:a().node}),r()(g,"defaultProps",{iconColor:"#787878",className:"",tagName:"div",onClick:()=>{}}),g.Section=m,g.Footer=h,t.Z=g},7855:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(8918),p=n(2224);class u extends c().Component{constructor(){super(...arguments),r()(this,"buildBars",(e=>{const t=this.props.data.length,n=this.props.chartWidth,s=n/t;let r="bottom right";return this.props.data.map((function(i,a){const o=s*(a+1);return o+230>n&&o+s-230>0&&(r="bottom left"),c().createElement(l.Z,{index:a,key:a,isTouch:this.props.isTouch,tooltipPosition:r,className:i.className,clickHandler:this.props.barClick,data:i,max:e,count:t})}),this)}))}render(){return c().createElement("div",null,c().createElement("div",{className:"dops-chart__bars"},this.buildBars(this.props.yAxisMax)),c().createElement(p.Z,{data:this.props.data,labelWidth:42}))}}r()(u,"displayName","ModuleChartBarContainer"),r()(u,"propTypes",{isTouch:a().bool,data:a().array,yAxisMax:a().number,width:a().number,barClick:a().func})},8918:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(4088),d=n(5060);class m extends c().Component{constructor(){super(...arguments),r()(this,"state",{showPopover:!1}),r()(this,"buildSections",(()=>{const e=this.props.data.value,t=this.props.max,n=100-(t?Math.ceil(e/t*1e4)/100:0),s=Math.max(1,Math.floor(n)),r=[],i=this.props.data.nestedValue,a={"dops-chart__bar-section":!0,"is-spacer":!0,"is-ghost":100===n&&!this.props.active};let o,l,u;const d={height:s+"%"};r.push(c().createElement("div",{key:"spacer",className:p()(a),style:d}));const m={top:s+"%"};return i&&(l=e?Math.ceil(i/e*1e4)/100:0,u={height:l+"%"},o=c().createElement("div",{key:"nestedValue",className:"dops-chart__bar-section-inner",style:u})),r.push(c().createElement("div",{ref:"valueBar",key:"value",className:"dops-chart__bar-section is-bar",style:m},o)),r.push(c().createElement("div",{key:"label",className:"dops-chart__bar-label"},this.props.label)),r})),r()(this,"keyHandler",(e=>{"function"==typeof this.props.clickHandler&&13===e.keyCode&&this.props.clickHandler(this.props.data)})),r()(this,"clickHandler",(()=>{"function"==typeof this.props.clickHandler&&this.props.clickHandler(this.props.data)})),r()(this,"mouseEnter",(()=>{this.setState({showPopover:!0})})),r()(this,"mouseLeave",(()=>{this.setState({showPopover:!1})})),r()(this,"renderTooltip",(()=>{if(!this.props.data.tooltipData||!this.props.data.tooltipData.length||this.props.isTouch)return null;const{tooltipData:e}=this.props.data,t=e.map((function(e,t){const n=["module-content-list-item"];let s;return e.icon&&(s=c().createElement(d.Z,{icon:e.icon,size:18})),n.push(e.className),c().createElement("li",{key:t,className:n.join(" ")},c().createElement("span",{className:"dops-wrapper"},c().createElement("span",{className:"value"},e.value),c().createElement("span",{className:"label"},s,e.label)))}));return c().createElement(u.Z,{className:"dops-chart__tooltip",id:"popover__chart-bar",showDelay:200,context:this.refs&&this.refs.valueBar,isVisible:this.state.showPopover,position:this.props.tooltipPosition},c().createElement("ul",null,t))}))}render(){const e=this.props.count||1,t={"dops-chart__bar":!0};this.props.className&&(t[this.props.className]=!0);const n={width:1/e*100+"%"};return c().createElement("div",{role:"button",tabIndex:0,onKeyUp:this.keyHandler,onClick:this.clickHandler,onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,"aria-label":this.props.data.tooltipData[0].label+" — "+this.props.data.value+".",className:p()(t),style:n},this.buildSections(),c().createElement("div",{className:"dops-chart__bar-marker is-hundred"}),c().createElement("div",{className:"dops-chart__bar-marker is-fifty"}),c().createElement("div",{className:"dops-chart__bar-marker is-zero"}),this.renderTooltip())}}r()(m,"displayName","ModuleChartBar"),r()(m,"propTypes",{isTouch:a().bool,tooltipPosition:a().string,className:a().string,clickHandler:a().func,data:a().object.isRequired,max:a().number,count:a().number})},3068:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(2819),p=n(5736),u=n(7855),d=n(7733);const _x=p._x;class m extends a().Component{constructor(){super(...arguments),r()(this,"state",{maxBars:100,width:650}),r()(this,"resize",(()=>{let e,t=this.refs.chart.clientWidth-82;(0,d._)()?(t=t<=0?350:t,e=Math.floor(t/this.props.minTouchBarWidth)):e=Math.floor(t/this.props.minBarWidth),this.setState({maxBars:e,width:t})})),r()(this,"getYAxisMax",(e=>{const t=Math.max.apply(null,e),n=Math.pow(10,t.toString().length-1);let s=Math.ceil((t+1)/n)*n;return s<10&&(s=10),s})),r()(this,"getData",(()=>{let e=this.props.data;return e=e.slice(0-this.state.maxBars),e})),r()(this,"getValues",(()=>{let e=this.getData();return e=e.map((function(e){return e.value}),this),e})),r()(this,"isEmptyChart",(e=>0===(e=e.filter((function(e){return e>0}),this)).length))}componentDidMount(){this.resize=(0,l.throttle)(this.resize,400),window.addEventListener("resize",this.resize),this.resize()}componentWillUnmount(){window.removeEventListener("resize",this.resize)}UNSAFE_componentWillReceiveProps(e){this.props.loading&&!e.loading&&this.resize()}render(){const e=this.getValues(),t=this.getYAxisMax(e),n=this.getData();let s;return e.length&&this.isEmptyChart(e)&&(s=a().createElement("div",{className:"dops-chart__empty"},a().createElement("span",{className:"dops-chart__empty_notice"},_x("No activity this period","Notice in the empty statistics chart","jetpack")))),a().createElement("div",{ref:"chart",className:"dops-chart"},a().createElement("div",{className:"dops-chart__y-axis-markers"},a().createElement("div",{className:"dops-chart__y-axis-marker is-hundred"}),a().createElement("div",{className:"dops-chart__y-axis-marker is-fifty"}),a().createElement("div",{className:"dops-chart__y-axis-marker is-zero"})),a().createElement("div",{className:"dops-chart__y-axis"},a().createElement("div",{className:"dops-chart__y-axis-width-fix"},new Number(1e5).toLocaleString()),a().createElement("div",{className:"dops-chart__y-axis-label is-hundred"},t.toLocaleString()),a().createElement("div",{className:"dops-chart__y-axis-label is-fifty"},(t/2).toLocaleString()),a().createElement("div",{className:"dops-chart__y-axis-label is-zero"},0)),a().createElement(u.Z,{barClick:this.props.barClick,data:n,yAxisMax:t,chartWidth:this.state.width,isTouch:(0,d._)()}),s)}}r()(m,"displayName","ModuleChart"),r()(m,"propTypes",{loading:c().bool,data:c().array,minTouchBarWidth:c().number,minBarWidth:c().number,barClick:c().func}),r()(m,"defaultProps",{minTouchBarWidth:42,minBarWidth:15,barClick:l.noop})},8914:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o);class l extends c().Component{render(){const e={width:this.props.width+"px"};return e.left=this.props.x+"px",c().createElement("div",{className:"dops-chart__x-axis-label",style:e},this.props.label)}}r()(l,"displayName","ModuleChartLabel"),r()(l,"propTypes",{width:a().number.isRequired,x:a().number.isRequired,label:a().string.isRequired})},2224:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(2819),p=n(8914);class u extends a().Component{constructor(){super(...arguments),r()(this,"state",{divisor:1,spacing:this.props.labelWidth}),r()(this,"resize",(e=>{let t=this.props;const n=this.refs.axis;!e||e instanceof Event||(t=e),n.style.overflow="hidden";const s=n.clientWidth;n.style.overflow="visible";const r=s/(t.data.length||1),i=t.labelWidth,a=Math.ceil(i/r);this.setState({divisor:a,spacing:r})}))}componentDidMount(){this.resizeThrottled=(0,l.throttle)(this.resize,400),window.addEventListener("resize",this.resizeThrottled),this.resize()}componentWillUnmount(){this.resizeThrottled.cancel&&this.resizeThrottled.cancel(),window.removeEventListener("resize",this.resizeThrottled)}UNSAFE_componentWillReceiveProps(e){this.resize(e)}render(){const e=this.props.data,t=e.map((function(t,n){const s=n*this.state.spacing+(this.state.spacing-this.props.labelWidth)/2;let r;return(e.length-n-1)%this.state.divisor==0&&(r=a().createElement(p.Z,{key:n,label:t.label,width:this.props.labelWidth,x:s})),r}),this);return a().createElement("div",{ref:"axis",className:"dops-chart__x-axis"},t)}}r()(u,"displayName","ModuleChartXAxis"),r()(u,"propTypes",{labelWidth:c().number.isRequired,data:c().array.isRequired})},4104:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l),u=n(5235),d=n.n(u),m=n(2819),h=n(9026),g=n(5549);class f extends p().Component{constructor(){super(...arguments),a()(this,"state",{isCopied:!1,disabled:!1}),a()(this,"showConfirmation",(()=>{this.setState({isCopied:!0}),this.confirmationTimeout=setTimeout((()=>{this.setState({isCopied:!1})}),4e3)}))}componentWillUnmount(){clearTimeout(this.confirmationTimeout),delete this.confirmationTimeout}render(){const e=(0,m.omit)(this.props,"className","copied","copy","isError","isValid","prompt","selectOnFocus");return p().createElement("span",{className:d()("dops-clipboard-button-input",this.props.className)},p().createElement(g.Z,r()({},e,{type:"text",selectOnFocus:!0,readOnly:!0})),p().createElement(h.Z,{text:this.props.value,onCopy:this.showConfirmation,disabled:this.props.disabled,prompt:this.props.prompt,compact:!0},this.state.isCopied?this.props.copied:this.props.copy))}}a()(f,"displayName","ClipboardButtonInput"),a()(f,"propTypes",{value:c().string,disabled:c().bool,className:c().string,copied:c().string,copy:c().string,prompt:c().string}),a()(f,"defaultProps",{value:""})},7633:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(9307),u=n(5736),d=n(6483),m=n(6324),h=n(4069),g=n(7506),f=n(1865),v=n(6300),k=n(9508),_=n(3002),y=n(3915),E=n(6168),w=n(6165);const __=u.__;class b extends c().Component{constructor(e){super(e),r()(this,"handleOpenModal",(e=>{h.Z.tracks.recordJetpackClick("manage_site_connection"),e.preventDefault(),this.toggleVisibility()})),r()(this,"handleDisconnected",(()=>{this.props.fetchConnectUrl(),this.props.fetchSiteConnectionStatus()})),r()(this,"toggleVisibility",(()=>{this.setState({showModal:!this.state.showModal})})),r()(this,"loadIframe",(e=>{e.preventDefault(),this.props.isAuthorizing||this.props.fetchingConnectUrl||(h.Z.tracks.recordJetpackClick("link_account_in_place"),this.props.customConnect?this.props.customConnect():this.props.doConnectUser())})),r()(this,"renderDisconnectStepComponent",(()=>this.props.siteBenefits?c().createElement(w.Z,{siteBenefits:this.props.siteBenefits}):null)),r()(this,"renderUserButton",(()=>{if(this.props.isLinked)return c().createElement("div",null,c().createElement("a",{role:"button",tabIndex:"0",className:"jp-jetpack-unlink__button",onKeyDown:(0,y.Z)(this.props.unlinkUser),onClick:this.props.unlinkUser,disabled:this.props.isUnlinking},this.props.connectLegend||__("Disconnect your WordPress.com account","jetpack")));let e=this.props.connectUrl;this.props.from&&(e+=`&from=${this.props.from}`,e+="&additional-user");const t={className:"is-primary jp-jetpack-connect__button",href:e,disabled:this.props.fetchingConnectUrl||this.props.isAuthorizing},n=this.props.connectLegend||__("Connect your WordPress.com account","jetpack");return!this.props.connectInPlace||this.props.isSafari||this.props.doNotUseConnectionIframe||(t.onClick=this.loadIframe),this.props.asLink?c().createElement("a",t,n):c().createElement(g.Z,t,n)})),r()(this,"renderContent",(()=>{if(this.props.connectUser)return this.renderUserButton();if(this.props.isSiteConnected)return c().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,y.Z)(this.handleOpenModal),onClick:this.handleOpenModal,disabled:this.props.isDisconnecting},this.props.connectLegend||__("Manage site connection","jetpack"));let e=this.props.connectUrl;this.props.from&&(e+=`&from=${this.props.from}`);const t={className:"jp-jetpack-connect__button",href:e,disabled:this.props.fetchingConnectUrl},n=this.props.connectLegend||__("Set up Jetpack","jetpack");return this.props.asLink?c().createElement("a",t,n):c().createElement(g.Z,t,n)})),this.state={showModal:e.autoOpenInDisconnectRoute&&"#/disconnect"===(0,d.getFragment)(window.location.href)}}render(){return c().createElement("div",null,c().createElement(f.Z,null),!this.props.isSiteConnected&&c().createElement("p",{className:"jp-banner__tos-blurb"},(0,p.createInterpolateElement)(__("By clicking the button below, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:c().createElement("a",{href:(0,m.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:c().createElement("a",{href:(0,m.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})})),this.renderContent(),this.props.children,c().createElement(E.Z,{apiNonce:this.props.apiNonce,apiRoot:this.props.apiRoot,connectedPlugins:this.props.connectedPlugins,connectedUser:{ID:this.props.userWpComId,login:this.props.userWpComLogin},connectedSiteId:this.props.connectedSiteId,disconnectStepComponent:this.renderDisconnectStepComponent(),onDisconnected:this.handleDisconnected,isOpen:this.state.showModal,onClose:this.toggleVisibility,context:"jetpack"}))}}r()(b,"displayName","ConnectButton"),r()(b,"propTypes",{connectUser:a().bool,from:a().string,asLink:a().bool,connectLegend:a().string,connectInPlace:a().bool,customConnect:a().func,autoOpenInDisconnectRoute:a().bool}),r()(b,"defaultProps",{connectUser:!1,from:"",asLink:!1,connectInPlace:!0,autoOpenInDisconnectRoute:!1}),t.Z=(0,l.$j)((e=>({siteRawUrl:(0,k.JR)(e),isSiteConnected:(0,v.Gz)(e),isDisconnecting:(0,v.e_)(e),fetchingConnectUrl:(0,v.Mq)(e),connectUrl:(0,v.AM)(e),isLinked:(0,v.BU)(e),isUnlinking:(0,v.jZ)(e),isAuthorizing:(0,v.zq)(e),isSafari:(0,k.G6)(e),doNotUseConnectionIframe:(0,k.jq)(e),apiNonce:(0,k.VY)(e),apiRoot:(0,k.yB)(e),connectedPlugins:(0,k.xz)(e),siteBenefits:(0,_.nq)(e),pluginUrl:(0,k.wB)(e),userWpComLogin:(0,k.IU)(e),userWpComId:(0,k._G)(e),connectedSiteId:(0,k.EZ)(e)})),(e=>({fetchConnectUrl:()=>e((0,v.eW)()),fetchSiteConnectionStatus:()=>e((0,v.I7)()),unlinkUser:()=>e((0,v.EP)()),doConnectUser:()=>e((0,v.bL)())})))(b)},6164:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(5162),o=n.n(a),c=n(5736),l=n(7633),p=n(5799),u=n(4069),d=n(6300);const __=c.__,m=e=>{const{feature:t,featureLabel:n,text:i,doConnectUser:a}=e,o=(0,s.useCallback)((()=>{u.Z.tracks.recordJetpackClick({target:"connection-bar-click",feature:t,is_user_wpcom_connected:"no",is_connection_owner:"no"}),a(n)}),[a,t,n]);return r().createElement(p.Z,{compact:!0,className:"jp-connect-user-bar__card"},r().createElement("div",{className:"jp-connect-user-bar__text"},(0,c.sprintf)(
/* translators: placeholder is text adding extra instructions on what to do next. */
-__("This feature is provided by the WordPress.com cloud. %s","jetpack"),s)),i().createElement("div",{className:"jp-connect-user-bar__button"},i().createElement(l.Z,{connectUser:!0,from:"unlinked-user-connect",connectLegend:__("Connect your WordPress.com account","jetpack"),customConnect:a})))};h.propTypes={text:a().string.isRequired,feature:a().string,featureLabel:a().string},t.Z=(0,s.$j)(null,(e=>({doConnectUser:t=>e((0,d.bL)(t))})))(h)},68103:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(34606),d=n(60742),h=n(81441),f=n(22256);class m extends p.Z{getIcon(){const e=this.props.icon;return e&&"object"==typeof e?c().createElement("div",{className:"jp-connection-banner__icon"},e):c().createElement("div",{className:"dops-banner__icons"},c().createElement("div",{className:"dops-banner__icon"},c().createElement(f.Z,{icon:e||"info-outline",size:18})),c().createElement("div",{className:"dops-banner__icon-circle"},c().createElement(f.Z,{icon:e||"info-outline",size:18})))}getContent(){const{description:e,title:t,connectUser:n,from:r,asLink:i,connectInPlace:s}=this.props,o={connectUser:n,from:r,asLink:i,connectInPlace:s};return c().createElement("div",{className:"dops-banner__content"},c().createElement("div",{className:"dops-banner__info"},c().createElement("div",{className:"dops-banner__title"},t),e&&c().createElement("div",{className:"dops-banner__description"},e)),c().createElement("div",{className:"dops-banner__action"},c().createElement(h.Z,o)))}render(){const e=u()("dops-banner",this.props.className);return c().createElement(d.Z,{className:e},this.getIcon(),this.getContent())}}i()(m,"propTypes",{title:o().string.isRequired,className:o().string,description:o().node,icon:o().oneOfType([o().element,o().string]),connectUser:o().bool,from:o().string,asLink:o().bool,connectInPlace:o().bool}),t.Z=m},74465:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(81546),c=n(92672),l=n(61591),u=n(65736),p=n(55609),d=n(69307),h=n(11973);const __=u.__,f=e=>{const{title:t,logo:n,children:s,className:o,buttonLabel:u,apiRoot:f,apiNonce:m,registrationNonce:g,redirectUri:v,redirectTo:b,autoTrigger:y,isSiteConnected:k,setHasSeenWCConnectionModal:w}=e;(0,r.useEffect)((()=>{w()}),[w]);const _=(0,r.useCallback)((()=>{h.Z.tracks.recordJetpackClick("contextualized_connection_continue_button")}),[]);return i().createElement("div",{className:"jp-contextualized-connection"+(o?" "+o:"")},i().createElement("div",{className:"jp-contextualized-connection__content"},i().createElement("div",{className:"jp-contextualized-connection__logo"},n||i().createElement(a.Z,null)),i().createElement("h2",null,t),s,k&&i().createElement(p.Button,{isPrimary:!0,className:"jp-contextualized-connection__button",label:__("Continue to Jetpack","jetpack"),href:b,onClick:_},__("Continue to Jetpack","jetpack")),!k&&i().createElement(i().Fragment,null,i().createElement(c.Z,{autoTrigger:y,apiRoot:f,apiNonce:m,registrationNonce:g,redirectUri:v,connectLabel:u}),i().createElement("div",{className:"jp-contextualized-connection__tos"},l.E))),i().createElement("footer",{className:"jp-contextualized-connection__footer"},i().createElement("div",{className:"jp-contextualized-connection__footer-row"},i().createElement("div",{className:"jp-contextualized-connection__footer-column"},i().createElement("h3",null,__("Security tools","jetpack")),i().createElement("ul",{className:"jp-contextualized-connection__feature-list"},i().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> downtime monitoring","jetpack"),{strong:i().createElement("strong",null)})),i().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> brute force attack prevention","jetpack"),{strong:i().createElement("strong",null)})),i().createElement("li",null,__("Full store & order backups","jetpack")),i().createElement("li",null,__("Automated malware scanning","jetpack")),i().createElement("li",null,__("Comment and form spam protection","jetpack")))),i().createElement("div",{className:"jp-contextualized-connection__footer-column"},i().createElement("h3",null,__("Performance tools","jetpack")),i().createElement("ul",{className:"jp-contextualized-connection__feature-list"},i().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> Content Delivery Network (CDN)","jetpack"),{strong:i().createElement("strong",null)})),i().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> lazy image loading","jetpack"),{strong:i().createElement("strong",null)})),i().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> SEO tools","jetpack"),{strong:i().createElement("strong",null)})),i().createElement("li",null,__("Instant site search","jetpack")),i().createElement("li",null,__("Ad-free WordPress video hosting","jetpack")))),i().createElement("div",{className:"jp-contextualized-connection__footer-column"},i().createElement("h3",null,__("Growth tools","jetpack")),i().createElement("ul",{className:"jp-contextualized-connection__feature-list"},i().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> site stats","jetpack"),{strong:i().createElement("strong",null)})),i().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> social media tools","jetpack"),{strong:i().createElement("strong",null)})),i().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> related posts","jetpack"),{strong:i().createElement("strong",null)})),i().createElement("li",null,__("Accept payments","jetpack")),i().createElement("li",null,__("Ad network access","jetpack"))))),i().createElement("div",{className:"jp-contextualized-connection__footer-bottom-title"},__("More than 5 million WordPress sites trust Jetpack for their website security and performance.","jetpack"))))};f.propTypes={title:o().string,className:o().string,buttonLabel:o().string,apiRoot:o().string.isRequired,apiNonce:o().string.isRequired,registrationNonce:o().string.isRequired,redirectUri:o().string.isRequired,redirectTo:o().string.isRequired,autoTrigger:o().bool,isSiteConnected:o().bool.isRequired,logo:o().shape({type:o().oneOf(["img","svg"])})},t.Z=f},44135:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(7767),c=n.n(a),l=n(21425),u=n.n(l);t.Z=c()({displayName:"Count",mixins:[u()],propTypes:{count:i().number.isRequired},render(){return o().createElement("span",{className:"dops-count"},this.numberFormat(this.props.count))}})},51117:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(11268),c=n.n(a),l=n(99196),u=n.n(l),p=n(89105),d=n.n(p),h=n(2620),f=n(92819),m=n(65736),g=n(71415),v=n(11973),b=n(9913),y=n(60742),k=n(93107),w=n(66552),_=n(41147),E=n(77222),C=n(27415),S=n(35303),j=n(88001),M=n(25691),x=n(5e4);const __=m.__,_x=m._x;class N extends l.Component{constructor(){super(...arguments),o()(this,"toggleModule",(()=>{const{updateOptions:e,module:t,getOptionValue:n}=this.props;e({[t]:!n(t)})})),o()(this,"trackPaidBtnClick",(()=>{v.Z.tracks.recordJetpackClick({target:"paid-button",feature:this.props.module,page:"aag"})}))}render(){let e,t,n="";const r=d()(this.props.className,"jp-dash-item",this.props.disabled?"jp-dash-item__disabled":"");return""!==this.props.module&&(t=(0,f.includes)(["monitor","protect","photon","vaultpress","scan","backups","akismet","search"],this.props.module)&&this.props.isOfflineMode||this.props.noToggle||"manage"===this.props.module?"":u().createElement(E.T,{slug:this.props.module,activated:this.props.getOptionValue(this.props.module),toggling:this.props.isUpdating(this.props.module),toggleModule:this.toggleModule,compact:!0}),"manage"===this.props.module&&("is-warning"===this.props.status&&(t=u().createElement("a",{href:this.props.isOfflineMode?this.props.siteAdminUrl+"update-core.php":(0,g.Z)("calypso-plugins-manage",{site:this.props.siteRawUrl})},u().createElement(j.Z,{showDismiss:!1,status:this.props.status,isCompact:!0},_x("Updates needed","Short warning message","jetpack")))),"is-working"===this.props.status&&(t=u().createElement("span",{className:"jp-dash-item__active-label"},__("Active","jetpack")))),"rewind"===this.props.module&&(t=null)),this.props.pro&&!this.props.isOfflineMode&&(n=u().createElement(b.Z,{onClick:this.trackPaidBtnClick,compact:!0,href:"#/plans"},_x("Paid","Short label appearing near a paid feature configuration block.","jetpack")),this.props.isModule&&(t=u().createElement(C.Z,{proFeature:this.props.module,siteAdminUrl:this.props.siteAdminUrl}))),this.props.module&&this.props.getModule&&(e=this.props.getModule(this.props.module)),u().createElement("div",{className:r},u().createElement(S.Z,{label:this.props.label,cardBadge:n},this.props.userCanToggle?t:""),this.props.overrideContent?this.props.overrideContent:u().createElement(y.Z,{className:"jp-dash-item__card",href:this.props.href},u().createElement("div",{className:"jp-dash-item__content"},this.props.support.link&&u().createElement(M.Z,i()({module:e},this.props.support)),this.props.children)))}}o()(N,"propTypes",{label:c().string,status:c().string,statusText:c().string,disabled:c().bool,module:c().string,pro:c().bool,isModule:c().bool,support:c().object,overrideContent:c().element,noToggle:c().bool}),o()(N,"defaultProps",{label:"",module:"",pro:!1,isModule:!0,support:{text:"",link:""},noToggle:!1}),t.Z=(0,h.$j)((e=>({getModule:t=>(0,k.rT)(e,t),isOfflineMode:(0,_.Ex)(e),userCanToggle:(0,w.pK)(e),siteRawUrl:(0,w.JR)(e),siteAdminUrl:(0,w.wW)(e)})))((0,x.u)(N))},69733:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(11973);class d extends c().Component{constructor(){super(...arguments),i()(this,"trackCogClick",(()=>{p.Z.tracks.recordJetpackClick({target:"settings-cog",group:"security",page:"aag"})}))}render(){let e,t;const n=u()(this.props.className,"jp-dash-section-header");return this.props.externalLink&&(e=c().createElement("a",{className:"jp-dash-section-header__external-link",href:this.props.externalLinkPath,onClick:this.props.externalLinkClick},this.props.externalLink)),this.props.children&&(t=c().createElement("div",{className:"jp-dash-section-header__children"},this.props.children)),c().createElement("div",{className:n},c().createElement("div",{className:"jp-dash-section-header__label"},c().createElement("h2",{className:"jp-dash-section-header__name"},this.props.label)),e,t)}}i()(d,"displayName","DashSectionHeader"),i()(d,"propTypes",{label:o().string.isRequired,settingsPath:o().string,externalLinkPath:o().string,externalLink:o().string,externalLinkClick:o().func}),i()(d,"defaultProps",{label:"",settingsPath:"",externalLinkPath:"",externalLink:""}),t.Z=d},2795:function(e,t,n){"use strict";var r=n(99196),i=n(2620),s=n(74978),o=n(75395);class a extends r.Component{UNSAFE_componentWillMount(){this.props.fetchingAkismetData||this.props.fetchAkismetData()}render(){return null}}a.defaultProps={fetchAkismetData:()=>{}},t.Z=(0,i.$j)((e=>({fetchAkismetData:(0,o.bB)(),fetchingAkismetData:(0,o.bV)(e)})),(e=>(0,s.DE)({fetchAkismetData:o.bB},e)))(a)},65125:function(e,t,n){"use strict";var r=n(99196),i=n(2620),s=n(74978),o=n(75395);class a extends r.Component{UNSAFE_componentWillMount(){this.props.isCheckingAkismetKey||this.props.checkAkismetKey()}render(){return null}}a.defaultProps={checkAkismetKey:()=>{}},t.Z=(0,i.$j)((e=>({checkAkismetKey:(0,o.Bt)(),isCheckingAkismetKey:(0,o.gw)(e)})),(e=>(0,s.DE)({checkAkismetKey:o.Bt},e)))(a)},66683:function(e,t,n){"use strict";var r=n(99196),i=n(2620),s=n(74978),o=n(75395),a=n(93107);class c extends r.Component{UNSAFE_componentWillMount(){!this.props.fetchingProtectData&&this.props.isModuleActivated("protect")&&this.props.fetchProtectCount()}render(){return null}}c.defaultProps={fetchProtectCount:()=>{}},t.Z=(0,i.$j)((e=>({fetchProtectCount:(0,o.eR)(),fetchingProtectData:(0,o.Xu)(e),isModuleActivated:t=>(0,a.mp)(e,t)})),(e=>(0,s.DE)({fetchProtectCount:o.eR},e)))(c)},63038:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n(2620),l=n(92819),u=n(13553);class p extends a.Component{componentDidMount(){!this.props.isFetchingProducts&&(0,l.isEmpty)(this.props.products)&&this.props.fetchProducts()}render(){return null}}i()(p,"propTypes",{isFetchingProducts:o().bool}),i()(p,"defaultProps",{isFetchingProducts:!1}),t.Z=(0,c.$j)((e=>({isFetchingProducts:(0,u.T0)(e),products:(0,u.Xp)(e)})),(e=>({fetchProducts:()=>e((0,u.t2)())})))(p)},76563:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n(2620),l=n(90218),u=n(41147);class p extends a.Component{componentDidMount(){this.props.isFetchingRecommendationsData||this.props.isOfflineMode||this.props.fetchRecommendationsData()}render(){return null}}i()(p,"propTypes",{isFetchingRecommendationsData:o().bool,isOfflineMode:o().bool}),i()(p,"defaultProps",{isFetchingRecommendationsData:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsData:(0,l.WS)(e),isOfflineMode:(0,u.Ex)(e)})),(e=>({fetchRecommendationsData:()=>e((0,l.V2)())})))(p)},76287:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n(2620),l=n(90218),u=n(41147);class p extends a.Component{componentDidMount(){this.props.isFetchingRecommendationsProductSuggestions||this.props.isOfflineMode||this.props.fetchRecommendationsProductSuggestions()}render(){return null}}i()(p,"propTypes",{isFetchingRecommendationsProductSuggestions:o().bool,isOfflineMode:o().bool}),i()(p,"defaultProps",{isFetchingRecommendationsProductSuggestions:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsProductSuggestions:(0,l.at)(e),isOfflineMode:(0,u.Ex)(e)})),(e=>({fetchRecommendationsProductSuggestions:()=>e((0,l.km)())})))(p)},83361:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n(2620),l=n(90218),u=n(41147);class p extends a.Component{componentDidMount(){this.props.isFetchingRecommendationsUpsell||this.props.isOfflineMode||this.props.fetchRecommendationsUpsell()}render(){return null}}i()(p,"propTypes",{isFetchingRecommendationsUpsell:o().bool,isOfflineMode:o().bool}),i()(p,"defaultProps",{isFetchingRecommendationsUpsell:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsUpsell:(0,l.b5)(e),isOfflineMode:(0,u.Ex)(e)})),(e=>({fetchRecommendationsUpsell:()=>e((0,l.tR)())})))(p)},9477:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n(2620),l=n(30701),u=n(88872),p=n(41147);class d extends a.Component{UNSAFE_componentWillMount(){this.props.isFetchingRewindStatus||this.props.isOfflineMode||this.props.fetchRewind()}render(){return null}}i()(d,"propTypes",{isFetchingRewindStatus:o().bool,isOfflineMode:o().bool,sitePlan:o().object}),i()(d,"defaultProps",{isFetchingRewindStatus:!1,isOfflineMode:!1,sitePlan:{}}),t.Z=(0,c.$j)((e=>({isFetchingRewindStatus:(0,l.Li)(e),isOfflineMode:(0,p.Ex)(e),sitePlan:(0,u.UL)(e)})),(e=>({fetchRewind:()=>e((0,l.Au)())})))(d)},21205:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n(2620),l=n(35795),u=n(41147);class p extends a.Component{UNSAFE_componentWillMount(){this.props.isFetchingScanStatus||this.props.isOfflineMode||this.props.fetchScan()}render(){return null}}i()(p,"propTypes",{isFetchingScanStatus:o().bool,isOfflineMode:o().bool}),i()(p,"defaultProps",{isFetchingScanStatus:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingScanStatus:(0,l.gE)(e),isOfflineMode:(0,u.Ex)(e)})),(e=>({fetchScan:()=>e((0,l.eR)())})))(p)},15142:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(2620),o=n(61744);class a extends i().Component{UNSAFE_componentWillMount(){this.props.isFetchingPluginsData||this.props.fetchPluginsData()}render(){return null}}t.Z=(0,s.$j)((e=>({isFetchingPluginsData:(0,o.vz)(e)})),(e=>({fetchPluginsData:()=>e((0,o.s4)())})))(a)},27219:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n(2620),l=n(92819),u=n(88872),p=n(41147);class d extends a.Component{UNSAFE_componentWillMount(){this.props.isFetchingSiteData||this.props.isOfflineMode||!(0,l.isEmpty)(this.props.sitePlan)||(this.props.fetchSiteData(),this.props.fetchSiteFeatures(),this.props.fetchAvailablePlans(),this.props.fetchSitePurchases())}render(){return null}}i()(d,"propTypes",{isFetchingSiteData:o().bool,isOfflineMode:o().bool,sitePlan:o().object}),i()(d,"defaultProps",{isFetchingSiteData:!1,isOfflineMode:!1,sitePlan:{}}),t.Z=(0,c.$j)((e=>({isFetchingSiteData:(0,u._5)(e),isOfflineMode:(0,p.Ex)(e),sitePlan:(0,u.UL)(e)})),(e=>({fetchSiteData:()=>e((0,u.tO)()),fetchSiteFeatures:()=>e((0,u.ij)()),fetchAvailablePlans:()=>e((0,u.lA)()),fetchSitePurchases:()=>e((0,u.Z_)())})))(d)},69039:function(e,t,n){"use strict";var r=n(99196),i=n(2620),s=n(75395);class o extends r.Component{UNSAFE_componentWillMount(){this.props.fetchingStatsData||this.props.fetchStatsData(this.props.range)}render(){return null}}o.defaultProps={fetchStatsData:()=>{}},t.Z=(0,i.$j)((e=>({fetchStatsData:t=>(0,s.g4)(e,t),fetchingStatsData:(0,s.F2)(e)})),(e=>({fetchStatsData:t=>e((0,s.g4)(t))})))(o)},80125:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(2620),o=n(66552),a=n(41147);class c extends i().Component{UNSAFE_componentWillMount(){!this.props.isFetchingUserData&&this.props.userCanConnectAccount&&this.props.fetchUserConnectionData()}render(){return null}}t.Z=(0,s.$j)((e=>({isFetchingUserData:(0,a.Dd)(e),userCanConnectAccount:(0,o.n0)(e)})),(e=>({fetchUserConnectionData:()=>e((0,a.jb)())})))(c)},39786:function(e,t,n){"use strict";var r=n(99196),i=n(2620),s=n(74978),o=n(75395),a=n(93107);class c extends r.Component{UNSAFE_componentWillMount(){!this.props.fetchingVaultPressData&&this.props.isModuleActivated("vaultpress")&&this.props.fetchVaultPressData()}render(){return null}}c.defaultProps={fetchVaultPressData:()=>{}},t.Z=(0,i.$j)((e=>({fetchVaultPressData:(0,o.l7)(),fetchingVaultPressData:(0,o.P_)(e),isModuleActivated:t=>(0,a.mp)(e,t)})),(e=>(0,s.DE)({fetchVaultPressData:o.l7},e)))(c)},74891:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(89105),l=n.n(c),u=n(81200),p=n(92819),d=n(66552),h=n(88872),f=n(41147),m=n(28843),g=n(75395),v=n(60742),b=n(41922),y=n(30701),k=n(35795);class w extends o().Component{constructor(){super(...arguments),i()(this,"onPlanChange",(e=>{this.props.switchPlanPreview(e.target.value)})),i()(this,"onPermissionsChange",(e=>{this.props.switchUserPermissions(e.target.value)})),i()(this,"onThreatsChange",(e=>{this.props.switchThreats(e.target.value)})),i()(this,"onRewindStatusChange",(e=>{this.props.switchRewindState(e.target.value)})),i()(this,"onScanStatusChange",(e=>{this.props.switchScanState(e.target.value)})),i()(this,"maybeShowStatsToggle",(()=>{if(!this.props.isAdmin)return o().createElement("div",null,o().createElement("hr",null),o().createElement("ul",null,o().createElement("li",null,o().createElement("label",{htmlFor:"view_stats"},o().createElement("input",{type:"radio",id:"view_stats",value:"view_stats",name:"view_stats",checked:this.props.canViewStats,onChange:this.onPermissionsChange}),"Can view stats")),o().createElement("li",null,o().createElement("label",{htmlFor:"hide_stats"},o().createElement("input",{type:"radio",id:"hide_stats",value:"hide_stats",name:"hide_stats",checked:!this.props.canViewStats,onChange:this.onPermissionsChange}),"Can not view stats"))))})),i()(this,"showIsLinkedToggle",(()=>o().createElement("div",null,o().createElement("hr",null),o().createElement("ul",null,o().createElement("li",null,o().createElement("label",{htmlFor:"is_linked"},o().createElement("input",{type:"radio",id:"is_linked",value:"is_linked",name:"is_linked",checked:this.props.isUserLinked,onChange:this.onPermissionsChange}),"Linked")),o().createElement("li",null,o().createElement("label",{htmlFor:"is_unlinked"},o().createElement("input",{type:"radio",id:"is_unlinked",value:"is_unlinked",name:"is_unlinked",checked:!this.props.isUserLinked,onChange:this.onPermissionsChange}),"Unlinked"))))))}render(){if(!this.props.canDisplayDevCard)return null;const e=l()(this.props.className,"jp-dev-card"),t=(0,u.sc)(this.props.sitePlan.product_slug),n=(0,p.get)(this.props.rewindStatus,["state"],!1),r=(0,p.get)(this.props.scanStatus,["state"],!1);return o().createElement(v.Z,{compact:!0,className:e},o().createElement("a",{className:"jp-dev-card__close",role:"button",tabIndex:"0",onKeyDown:(0,b.Z)(this.props.disableDevCard),onClick:this.props.disableDevCard},"x"),o().createElement("div",{className:"jp-dev-card__heading"},"Dev Tools"),o().createElement("ul",null,o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_free"},o().createElement("input",{type:"radio",id:"jetpack_free",value:"jetpack_free",name:"jetpack_free",checked:"is-free-plan"===t,onChange:this.onPlanChange}),"Free")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_personal"},o().createElement("input",{type:"radio",id:"jetpack_personal",value:"jetpack_personal",name:"jetpack_personal",checked:"is-personal-plan"===t,onChange:this.onPlanChange}),"Personal")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_premium"},o().createElement("input",{type:"radio",id:"jetpack_premium",value:"jetpack_premium",name:"jetpack_premium",checked:"is-premium-plan"===t,onChange:this.onPlanChange}),"Premium")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_business"},o().createElement("input",{type:"radio",id:"jetpack_business",value:"jetpack_business",name:"jetpack_business",checked:"is-business-plan"===t,onChange:this.onPlanChange}),"Pro")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_security_t1"},o().createElement("input",{type:"radio",id:"jetpack_security_t1",value:"jetpack_security_t1_yearly",name:"jetpack_security_t1_yearly",checked:"is-security-t1-plan"===t,onChange:this.onPlanChange}),"Security (10 GB)")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_security_t2"},o().createElement("input",{type:"radio",id:"jetpack_security_t2",value:"jetpack_security_t2_yearly",name:"jetpack_security_t2_yearly",checked:"is-security-t2-plan"===t,onChange:this.onPlanChange}),"Security (1 TB)")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_complete"},o().createElement("input",{type:"radio",id:"jetpack_complete",value:"jetpack_complete",name:"jetpack_complete",checked:"is-complete-plan"===t,onChange:this.onPlanChange}),"Complete")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_backup_t1"},o().createElement("input",{type:"radio",id:"jetpack_backup_t1",value:"jetpack_backup_t1_yearly",name:"jetpack_backup_t1_yearly",checked:"is-backup-t1-plan"===t,onChange:this.onPlanChange}),"Backup (10 GB)")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_backup_t2"},o().createElement("input",{type:"radio",id:"jetpack_backup_t2",value:"jetpack_backup_t2_yearly",name:"jetpack_backup_t2_yearly",checked:"is-backup-t2-plan"===t,onChange:this.onPlanChange}),"Backup (1 TB)")),o().createElement("li",{className:"jp-dev-card__deprecated-plans-list-header"},"— DEPRECATED —"),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_security_daily"},o().createElement("input",{type:"radio",id:"jetpack_security_daily",value:"jetpack_security_daily",name:"jetpack_security_daily",checked:"is-daily-security-plan"===t,onChange:this.onPlanChange}),"Security Daily")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_security_realtime"},o().createElement("input",{type:"radio",id:"jetpack_security_realtime",value:"jetpack_security_realtime",name:"jetpack_security_realtime",checked:"is-realtime-security-plan"===t,onChange:this.onPlanChange}),"Security Real-Time")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_backup_daily"},o().createElement("input",{type:"radio",id:"jetpack_backup_daily",value:"jetpack_backup_daily",name:"jetpack_backup_daily",checked:"is-daily-backup-plan"===t,onChange:this.onPlanChange}),"Backup Daily")),o().createElement("li",null,o().createElement("label",{htmlFor:"jetpack_backup_realtime"},o().createElement("input",{type:"radio",id:"jetpack_backup_realtime",value:"jetpack_backup_realtime",name:"jetpack_backup_realtime",checked:"is-realtime-backup-plan"===t,onChange:this.onPlanChange}),"Backup Real-time"))),o().createElement("hr",null),o().createElement("ul",null,o().createElement("li",null,o().createElement("label",{htmlFor:"admin_master"},o().createElement("input",{type:"radio",id:"admin_master",value:"admin_master",name:"admin_master",checked:this.props.isConnectionOwner,onChange:this.onPermissionsChange}),"Admin (master)")),o().createElement("li",null,o().createElement("label",{htmlFor:"admin_secondary"},o().createElement("input",{type:"radio",id:"admin_secondary",value:"admin_secondary",name:"admin_secondary",checked:this.props.isAdmin&&!this.props.isConnectionOwner,onChange:this.onPermissionsChange}),"Admin (secondary)")),o().createElement("li",null,o().createElement("label",{htmlFor:"editor"},o().createElement("input",{type:"radio",id:"editor",value:"editor",name:"editor",checked:this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Editor")),o().createElement("li",null,o().createElement("label",{htmlFor:"subscriber"},o().createElement("input",{type:"radio",id:"subscriber",value:"subscriber",name:"subscriber",checked:!this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Subscriber"))),o().createElement("hr",null),o().createElement("ul",null,o().createElement("li",null,o().createElement("label",{htmlFor:"nothreats"},o().createElement("input",{type:"radio",id:"nothreats",value:0,name:"nothreats",checked:0===this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"No threats")),o().createElement("li",null,o().createElement("label",{htmlFor:"threats"},o().createElement("input",{type:"radio",id:"threats",value:17,name:"threats",checked:0!==this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"Threats"))),o().createElement("hr",null),o().createElement("ul",null,o().createElement("strong",null,"Backup"),o().createElement("li",null,o().createElement("label",{htmlFor:"rewindUnavailable"},o().createElement("input",{type:"radio",id:"rewindUnavailable",value:"unavailable",name:"unavailable",checked:"unavailable"===n,onChange:this.onRewindStatusChange}),"Unavailable")),o().createElement("li",null,o().createElement("label",{htmlFor:"rewindProvisioning"},o().createElement("input",{type:"radio",id:"rewindProvisioning",value:"provisioning",name:"provisioning",checked:"provisioning"===n,onChange:this.onRewindStatusChange}),"Provisioning")),o().createElement("li",null,o().createElement("label",{htmlFor:"rewindAwatingCreds"},o().createElement("input",{type:"radio",id:"rewindAwatingCreds",value:"awaiting_credentials",name:"awaiting_credentials",checked:"awaiting_credentials"===n,onChange:this.onRewindStatusChange}),"Awaiting credentials")),o().createElement("li",null,o().createElement("label",{htmlFor:"rewindActive"},o().createElement("input",{type:"radio",id:"rewindActive",value:"active",name:"active",checked:"active"===n,onChange:this.onRewindStatusChange}),"Active"))),o().createElement("ul",null,o().createElement("strong",null,"Scan"),o().createElement("li",null,o().createElement("label",{htmlFor:"scanUnavailable"},o().createElement("input",{type:"radio",id:"scanUnavailable",value:"unavailable",name:"unavailable",checked:"unavailable"===r,onChange:this.onScanStatusChange}),"Unavailable")),o().createElement("li",null,o().createElement("label",{htmlFor:"scanProvisioning"},o().createElement("input",{type:"radio",id:"scanProvisioning",value:"provisioning",name:"provisioning",checked:"provisioning"===r,onChange:this.onScanStatusChange}),"Provisioning")),o().createElement("li",null,o().createElement("label",{htmlFor:"scanIdle"},o().createElement("input",{type:"radio",id:"scanIdle",value:"idle",name:"idle",checked:"idle"===r,onChange:this.onScanStatusChange}),"Idle")),o().createElement("li",null,o().createElement("label",{htmlFor:"scanScanning"},o().createElement("input",{type:"radio",id:"scanScanning",value:"scanning",name:"scanning",checked:"scanning"===r,onChange:this.onScanStatusChange}),"Scanning"))),this.maybeShowStatsToggle(),this.showIsLinkedToggle())}}i()(w,"displayName","DevCard"),t.Z=(0,a.$j)((e=>({isDevVersion:(0,d._W)(e),sitePlan:(0,h.UL)(e),canDisplayDevCard:(0,m.Ry)(e),isUserLinked:(0,f.BU)(e),canViewStats:(0,d.px)(e),isConnectionOwner:(0,f.QM)(e),isAdmin:(0,d.WB)(e),canEditPosts:(0,d.rp)(e),getVaultPressScanThreatCount:()=>(0,g._R)(e),rewindStatus:(0,y.of)(e),scanStatus:(0,k.C8)(e)})),(e=>({switchPlanPreview:t=>e((0,m.fb)(t)),switchUserPermissions:t=>e((0,m.Yw)(t)),switchThreats:t=>e((0,m.aX)(parseInt(t))),disableDevCard:()=>e((0,m.Wh)()),switchRewindState:t=>e((0,m._s)(t)),switchScanState:t=>e((0,m.pH)(t))})))(w)},68961:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(7767),c=n.n(a),l=n(21425),u=n.n(l),p=n(89105),d=n.n(p),h=n(92819),f=n(22256);t.Z=c()({displayName:"ExternalLink",mixins:[u()],propTypes:{className:i().string,href:i().string,onClick:i().func,icon:i().bool,iconSize:i().number},getDefaultProps:()=>({iconSize:18}),render(){const e=d()("dops-external-link",this.props.className,{"has-icon":!!this.props.icon}),t=(0,h.assign)({},(0,h.omit)(this.props,"icon","iconSize"),{className:e,rel:"external"});return o().createElement("a",t,this.props.children,this.props.icon?o().createElement(f.Z,{icon:"external",size:this.props.iconSize}):null)}})},78919:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(11268),c=n.n(a),l=n(99196),u=n.n(l),p=n(89105),d=n.n(p),h=n(92819),f=n(60742),m=n(3810),g=n(22256),v=n(41922);class b extends u().Component{constructor(){super(...arguments),o()(this,"state",{expanded:this.props.expanded}),o()(this,"onClick",(()=>{this.props.children&&this.setState({expanded:!this.state.expanded}),this.props.onClick&&this.props.onClick(),this.state.expanded?this.props.onClose(this.props.cardKey):this.props.onOpen(this.props.cardKey)})),o()(this,"getClickAction",(()=>{if(!this.props.disabled)return this.onClick})),o()(this,"getActionButton",(()=>this.state.expanded&&this.props.actionButtonExpanded||this.props.actionButton)),o()(this,"renderActionButton",(()=>{const e=this.props.clickableHeader?null:this.getClickAction();if(this.props.actionButton)return u().createElement("button",{className:"dops-foldable-card__action",onClick:e},this.getActionButton());if(this.props.children){const t=24;return u().createElement("button",{type:"button",disabled:this.props.disabled,className:"dops-foldable-card__action dops-foldable-card__expand",onClick:e},u().createElement("span",{className:"screen-reader-text"},"More"),u().createElement(g.Z,{icon:this.props.icon,size:t}))}})),o()(this,"renderContent",(()=>u().createElement("div",{className:"dops-foldable-card__content"},this.props.children))),o()(this,"renderHeader",(()=>{const e=this.props.summary?u().createElement("span",{className:"dops-foldable-card__summary"},this.props.summary," "):null,t=this.props.expandedSummary?u().createElement("span",{className:"dops-foldable-card__summary_expanded"},this.props.expandedSummary," "):null,n=this.props.header?u().createElement("div",{className:"dops-foldable-card__header-text"},this.props.header):null,r=this.props.subheader?u().createElement("div",{className:"dops-foldable-card__subheader"},this.props.subheader):null,s={role:"button",tabIndex:0,onClick:this.getClickAction(),onKeyDown:(0,v.Z)(this.getClickAction())},o=d()("dops-foldable-card__header",{"is-clickable":!!this.props.clickableHeader,"has-border":!!this.props.summary}),a=d()("dops-foldable-card__header-text",{"is-clickable":!!this.props.clickableHeaderText});return u().createElement("div",i()({className:o},this.props.clickableHeader?s:{}),u().createElement("span",{className:"dops-foldable-card__main"},u().createElement("div",i()({className:a},this.props.clickableHeaderText?s:{}),n,r)),u().createElement("span",{className:"dops-foldable-card__secondary"},e,t,this.renderActionButton()))}))}render(){const e=this.props.compact?m.Z:f.Z,t=d()("dops-foldable-card",this.props.className,{"is-disabled":!!this.props.disabled,"is-expanded":!!this.state.expanded,"has-expanded-summary":!!this.props.expandedSummary});return u().createElement(e,{className:t},this.renderHeader(),this.state.expanded&&this.renderContent())}}o()(b,"propTypes",{actionButton:c().element,actionButtonExpanded:c().element,cardKey:c().string,compact:c().bool,disabled:c().bool,expandedSummary:c().oneOfType([c().string,c().element]),expanded:c().bool,icon:c().string,onClick:c().func,onClose:c().func,onOpen:c().func,summary:c().oneOfType([c().string,c().element]),clickableHeader:c().bool,clickableHeaderText:c().bool}),o()(b,"defaultProps",{onOpen:h.noop,onClose:h.noop,cardKey:"",icon:"chevron-down",isExpanded:!1,clickableHeader:!1,clickableHeaderText:!1}),t.Z=b},4696:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(89105),l=n.n(c),u=n(65736),p=n(71415),d=n(97967),h=n(11973),f=n(28843),m=n(74891),g=n(66552),v=n(41147),b=n(41922);const __=u.__,_x=u._x,y=()=>{const e=document.getElementById("jp-navigation").offsetTop;window.scrollTo(0,window.scrollY-e/1.5),window.scrollY>e&&window.requestAnimationFrame(y)};class k extends o().Component{constructor(){super(...arguments),i()(this,"resetOnClick",(()=>{window.confirm(__("This will reset all Jetpack options, are you sure?","jetpack"))&&this.props.resetOptions()})),i()(this,"trackVersionClick",(()=>{h.Z.tracks.recordJetpackClick({target:"footer_link",link:"version"})})),i()(this,"trackTermsClick",(()=>{h.Z.tracks.recordJetpackClick({target:"footer_link",link:"terms"})})),i()(this,"trackAboutClick",(()=>{h.Z.tracks.recordJetpackClick({target:"footer_link",link:"about"})})),i()(this,"trackPrivacyClick",(()=>{window.requestAnimationFrame(y),h.Z.tracks.recordJetpackClick({target:"footer_link",link:"privacy"})})),i()(this,"trackModulesClick",(()=>{h.Z.tracks.recordJetpackClick({target:"footer_link",link:"modules"})})),i()(this,"trackDebugClick",(()=>{h.Z.tracks.recordJetpackClick({target:"footer_link",link:"debug"})}))}render(){const e=l()(this.props.className,"jp-footer"),t=this.props.currentVersion,n=this.props.siteConnectionStatus?this.props.siteAdminUrl+"admin.php?page=jetpack_about":(0,p.Z)("jetpack"),r=this.props.siteConnectionStatus?this.props.siteAdminUrl+"admin.php?page=jetpack#/privacy":(0,p.Z)("a8c-privacy");return o().createElement("div",{className:e},o().createElement("ul",{className:"jp-footer__links"},(()=>{if(!this.props.isAtomicPlatform)return o().createElement("li",{className:"jp-footer__link-item"},o().createElement("a",{onClick:this.trackVersionClick,href:(0,p.Z)("jetpack"),target:"_blank",rel:"noopener noreferrer",className:"jp-footer__link",title:__("Jetpack version","jetpack")},t?(0,u.sprintf)(
+__("This feature is provided by the WordPress.com cloud. %s","jetpack"),i)),r().createElement("div",{className:"jp-connect-user-bar__button"},r().createElement(l.Z,{connectUser:!0,from:"unlinked-user-connect",connectLegend:__("Connect your WordPress.com account","jetpack"),customConnect:o})))};m.propTypes={text:o().string.isRequired,feature:o().string,featureLabel:o().string},t.Z=(0,i.$j)(null,(e=>({doConnectUser:t=>e((0,d.bL)(t))})))(m)},9099:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(7407),d=n(5799),m=n(7633),h=n(5060);class g extends u.jL{getIcon(){const e=this.props.icon;return e&&"object"==typeof e?c().createElement("div",{className:"jp-connection-banner__icon"},e):c().createElement("div",{className:"dops-banner__icons"},c().createElement("div",{className:"dops-banner__icon"},c().createElement(h.Z,{icon:e||"info-outline",size:18})),c().createElement("div",{className:"dops-banner__icon-circle"},c().createElement(h.Z,{icon:e||"info-outline",size:18})))}getContent(){const{description:e,title:t,connectUser:n,from:s,asLink:r,connectInPlace:i}=this.props,a={connectUser:n,from:s,asLink:r,connectInPlace:i};return c().createElement("div",{className:"dops-banner__content"},c().createElement("div",{className:"dops-banner__info"},c().createElement("div",{className:"dops-banner__title"},t),e&&c().createElement("div",{className:"dops-banner__description"},e)),c().createElement("div",{className:"dops-banner__action"},c().createElement(m.Z,a)))}render(){const e=p()("dops-banner",this.props.className);return c().createElement(d.Z,{className:e},this.getIcon(),this.getContent())}}r()(g,"propTypes",{title:a().string.isRequired,className:a().string,description:a().node,icon:a().oneOfType([a().element,a().string]),connectUser:a().bool,from:a().string,asLink:a().bool,connectInPlace:a().bool}),t.Z=(0,u.$j)(g)},6102:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5162),a=n.n(i),o=n(1202),c=n(4792),l=n(1624),p=n(5736),u=n(5609),d=n(9307),m=n(4069);const __=p.__,h=e=>{const{title:t,logo:n,children:i,className:a,buttonLabel:p,apiRoot:h,apiNonce:g,registrationNonce:f,redirectUri:v,redirectTo:k,autoTrigger:_,isSiteConnected:y,setHasSeenWCConnectionModal:E}=e;(0,s.useEffect)((()=>{E()}),[E]);const w=(0,s.useCallback)((()=>{m.Z.tracks.recordJetpackClick("contextualized_connection_continue_button")}),[]);return r().createElement("div",{className:"jp-contextualized-connection"+(a?" "+a:"")},r().createElement("div",{className:"jp-contextualized-connection__content"},r().createElement("div",{className:"jp-contextualized-connection__logo"},n||r().createElement(o.Z,null)),r().createElement("h2",null,t),i,y&&r().createElement(u.Button,{variant:"primary",className:"jp-contextualized-connection__button",label:__("Continue to Jetpack","jetpack"),href:k,onClick:w},__("Continue to Jetpack","jetpack")),!y&&r().createElement(r().Fragment,null,r().createElement(c.Z,{autoTrigger:_,apiRoot:h,apiNonce:g,registrationNonce:f,redirectUri:v,connectLabel:p}),r().createElement("div",{className:"jp-contextualized-connection__tos"},l.E))),r().createElement("footer",{className:"jp-contextualized-connection__footer"},r().createElement("div",{className:"jp-contextualized-connection__footer-row"},r().createElement("div",{className:"jp-contextualized-connection__footer-column"},r().createElement("h3",null,__("Security tools","jetpack")),r().createElement("ul",{className:"jp-contextualized-connection__feature-list"},r().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> downtime monitoring","jetpack"),{strong:r().createElement("strong",null)})),r().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> brute force attack prevention","jetpack"),{strong:r().createElement("strong",null)})),r().createElement("li",null,__("Full store & order backups","jetpack")),r().createElement("li",null,__("Automated malware scanning","jetpack")),r().createElement("li",null,__("Comment and form spam protection","jetpack")))),r().createElement("div",{className:"jp-contextualized-connection__footer-column"},r().createElement("h3",null,__("Performance tools","jetpack")),r().createElement("ul",{className:"jp-contextualized-connection__feature-list"},r().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> Content Delivery Network (CDN)","jetpack"),{strong:r().createElement("strong",null)})),r().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> lazy image loading","jetpack"),{strong:r().createElement("strong",null)})),r().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> SEO tools","jetpack"),{strong:r().createElement("strong",null)})),r().createElement("li",null,__("Instant site search","jetpack")),r().createElement("li",null,__("Ad-free WordPress video hosting","jetpack")))),r().createElement("div",{className:"jp-contextualized-connection__footer-column"},r().createElement("h3",null,__("Growth tools","jetpack")),r().createElement("ul",{className:"jp-contextualized-connection__feature-list"},r().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> site stats","jetpack"),{strong:r().createElement("strong",null)})),r().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> social media tools","jetpack"),{strong:r().createElement("strong",null)})),r().createElement("li",null,(0,d.createInterpolateElement)(__("<strong>Free</strong> related posts","jetpack"),{strong:r().createElement("strong",null)})),r().createElement("li",null,__("Accept payments","jetpack")),r().createElement("li",null,__("Ad network access","jetpack"))))),r().createElement("div",{className:"jp-contextualized-connection__footer-bottom-title"},__("More than 5 million WordPress sites trust Jetpack for their website security and performance.","jetpack"))))};h.propTypes={title:a().string,className:a().string,buttonLabel:a().string,apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,registrationNonce:a().string.isRequired,redirectUri:a().string.isRequired,redirectTo:a().string.isRequired,autoTrigger:a().bool,isSiteConnected:a().bool.isRequired,logo:a().shape({type:a().oneOf(["img","svg"])})},t.Z=h},5582:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o);class l extends c().PureComponent{render(){return c().createElement("span",{className:"dops-count"},this.numberFormat(this.props.count))}}r()(l,"displayName","Count"),r()(l,"propTypes",{count:a().number.isRequired})},3255:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l),u=n(5235),d=n.n(u),m=n(9309),h=n(2819),g=n(5736),f=n(6324),v=n(4069),k=n(7506),_=n(5799),y=n(416),E=n(9508),w=n(6300),b=n(5004),C=n(6450),j=n(4603),S=n(1668),N=n(9032),x=n(2353);const __=g.__,_x=g._x;class T extends l.Component{constructor(){super(...arguments),a()(this,"toggleModule",(()=>{const{updateOptions:e,module:t,getOptionValue:n}=this.props;e({[t]:!n(t)})})),a()(this,"trackPaidBtnClick",(()=>{v.Z.tracks.recordJetpackClick({target:"paid-button",feature:this.props.module,page:"aag"})}))}render(){let e,t,n="";const s=d()(this.props.className,"jp-dash-item",this.props.disabled?"jp-dash-item__disabled":"");return""!==this.props.module&&(t=(0,h.includes)(["monitor","protect","photon","vaultpress","scan","backups","akismet","search"],this.props.module)&&this.props.isOfflineMode||this.props.noToggle||"manage"===this.props.module?"":p().createElement(b.T,{slug:this.props.module,activated:this.props.getOptionValue(this.props.module),toggling:this.props.isUpdating(this.props.module),toggleModule:this.toggleModule,compact:!0}),"manage"===this.props.module&&("is-warning"===this.props.status&&(t=p().createElement("a",{href:this.props.isOfflineMode?this.props.siteAdminUrl+"update-core.php":(0,f.Z)("calypso-plugins-manage",{site:this.props.siteRawUrl})},p().createElement(S.Z,{showDismiss:!1,status:this.props.status,isCompact:!0},_x("Updates needed","Short warning message","jetpack")))),"is-working"===this.props.status&&(t=p().createElement("span",{className:"jp-dash-item__active-label"},__("Active","jetpack")))),"rewind"===this.props.module&&(t=null)),this.props.pro&&!this.props.isOfflineMode&&(n=p().createElement(k.Z,{onClick:this.trackPaidBtnClick,compact:!0,href:"#/plans"},_x("Paid","Short label appearing near a paid feature configuration block.","jetpack")),this.props.isModule&&(t=p().createElement(C.Z,{proFeature:this.props.module,siteAdminUrl:this.props.siteAdminUrl}))),this.props.module&&this.props.getModule&&(e=this.props.getModule(this.props.module)),p().createElement("div",{className:s},p().createElement(j.Z,{label:this.props.label,cardBadge:n},this.props.userCanToggle?t:""),this.props.overrideContent?this.props.overrideContent:p().createElement(_.Z,{className:"jp-dash-item__card",href:this.props.href},p().createElement("div",{className:"jp-dash-item__content"},this.props.support.link&&p().createElement(N.Z,r()({module:e},this.props.support)),this.props.children)))}}a()(T,"propTypes",{label:c().string,status:c().string,statusText:c().string,disabled:c().bool,module:c().string,pro:c().bool,isModule:c().bool,support:c().object,overrideContent:c().element,noToggle:c().bool}),a()(T,"defaultProps",{label:"",module:"",pro:!1,isModule:!0,support:{text:"",link:""},noToggle:!1}),t.Z=(0,m.$j)((e=>({getModule:t=>(0,y.rT)(e,t),isOfflineMode:(0,w.Ex)(e),userCanToggle:(0,E.pK)(e),siteRawUrl:(0,E.JR)(e),siteAdminUrl:(0,E.wW)(e)})))((0,x.u)(T))},9552:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(4069);class d extends c().Component{constructor(){super(...arguments),r()(this,"trackCogClick",(()=>{u.Z.tracks.recordJetpackClick({target:"settings-cog",group:"security",page:"aag"})}))}render(){let e,t;const n=p()(this.props.className,"jp-dash-section-header");return this.props.externalLink&&(e=c().createElement("a",{className:"jp-dash-section-header__external-link",href:this.props.externalLinkPath,onClick:this.props.externalLinkClick},this.props.externalLink)),this.props.children&&(t=c().createElement("div",{className:"jp-dash-section-header__children"},this.props.children)),c().createElement("div",{className:n},c().createElement("div",{className:"jp-dash-section-header__label"},c().createElement("h2",{className:"jp-dash-section-header__name"},this.props.label)),e,t)}}r()(d,"displayName","DashSectionHeader"),r()(d,"propTypes",{label:a().string.isRequired,settingsPath:a().string,externalLinkPath:a().string,externalLink:a().string,externalLinkClick:a().func}),r()(d,"defaultProps",{label:"",settingsPath:"",externalLinkPath:"",externalLink:""}),t.Z=d},1020:function(e,t,n){"use strict";var s=n(9196),r=n(9309),i=n(835),a=n(7296);class o extends s.Component{UNSAFE_componentWillMount(){this.props.fetchingAkismetData||this.props.fetchAkismetData()}render(){return null}}o.defaultProps={fetchAkismetData:()=>{}},t.Z=(0,r.$j)((e=>({fetchAkismetData:(0,a.bB)(),fetchingAkismetData:(0,a.bV)(e)})),(e=>(0,i.DE)({fetchAkismetData:a.bB},e)))(o)},3544:function(e,t,n){"use strict";var s=n(9196),r=n(9309),i=n(835),a=n(7296);class o extends s.Component{UNSAFE_componentWillMount(){this.props.isCheckingAkismetKey||this.props.checkAkismetKey()}render(){return null}}o.defaultProps={checkAkismetKey:()=>{}},t.Z=(0,r.$j)((e=>({checkAkismetKey:(0,a.Bt)(),isCheckingAkismetKey:(0,a.gw)(e)})),(e=>(0,i.DE)({checkAkismetKey:a.Bt},e)))(o)},4681:function(e,t,n){"use strict";var s=n(9196),r=n(9309),i=n(835),a=n(7296),o=n(416);class c extends s.Component{UNSAFE_componentWillMount(){!this.props.fetchingProtectData&&this.props.isModuleActivated("protect")&&this.props.fetchProtectCount()}render(){return null}}c.defaultProps={fetchProtectCount:()=>{}},t.Z=(0,r.$j)((e=>({fetchProtectCount:(0,a.eR)(),fetchingProtectData:(0,a.Xu)(e),isModuleActivated:t=>(0,o.mp)(e,t)})),(e=>(0,i.DE)({fetchProtectCount:a.eR},e)))(c)},3190:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n(9309),o=n(6920);class c extends i.Component{componentDidMount(){this.props.isFetchingIntroOffers||this.props.fetchIntroOffers()}render(){return null}}r()(c,"defaultProps",{isFetchingIntroOffers:!1}),t.Z=(0,a.$j)((e=>({isFetchingIntroOffers:(0,o.HW)(e)})),(e=>({fetchIntroOffers:()=>e((0,o.lR)())})))(c)},253:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n(9309),l=n(2819),p=n(4884);class u extends o.Component{componentDidMount(){!this.props.isFetchingProducts&&(0,l.isEmpty)(this.props.products)&&this.props.fetchProducts()}render(){return null}}r()(u,"propTypes",{isFetchingProducts:a().bool}),r()(u,"defaultProps",{isFetchingProducts:!1}),t.Z=(0,c.$j)((e=>({isFetchingProducts:(0,p.T0)(e),products:(0,p.Xp)(e)})),(e=>({fetchProducts:()=>e((0,p.t2)())})))(u)},4602:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n(9309),l=n(8722),p=n(6300);class u extends o.Component{componentDidMount(){this.props.isFetchingRecommendationsConditional||this.props.isOfflineMode||this.props.fetchRecommendationsConditional()}render(){return null}}r()(u,"propTypes",{isFetchingRecommendationsConditional:a().bool,isOfflineMode:a().bool}),r()(u,"defaultProps",{isFetchingRecommendationsConditional:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsConditional:(0,l.E4)(e),isOfflineMode:(0,p.Ex)(e)})),(e=>({fetchRecommendationsConditional:()=>e((0,l.AP)())})))(u)},298:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n(9309),l=n(8722),p=n(6300);class u extends o.Component{componentDidMount(){this.props.isFetchingRecommendationsData||this.props.isOfflineMode||this.props.fetchRecommendationsData()}render(){return null}}r()(u,"propTypes",{isFetchingRecommendationsData:a().bool,isOfflineMode:a().bool}),r()(u,"defaultProps",{isFetchingRecommendationsData:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsData:(0,l.WS)(e),isOfflineMode:(0,p.Ex)(e)})),(e=>({fetchRecommendationsData:()=>e((0,l.V2)())})))(u)},8408:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n(9309),l=n(8722),p=n(6300);class u extends o.Component{componentDidMount(){this.props.isFetchingRecommendationsProductSuggestions||this.props.isOfflineMode||this.props.fetchRecommendationsProductSuggestions()}render(){return null}}r()(u,"propTypes",{isFetchingRecommendationsProductSuggestions:a().bool,isOfflineMode:a().bool}),r()(u,"defaultProps",{isFetchingRecommendationsProductSuggestions:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsProductSuggestions:(0,l.at)(e),isOfflineMode:(0,p.Ex)(e)})),(e=>({fetchRecommendationsProductSuggestions:()=>e((0,l.km)())})))(u)},23:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n(9309),l=n(8722),p=n(6300);class u extends o.Component{componentDidMount(){this.props.isFetchingRecommendationsUpsell||this.props.isOfflineMode||this.props.fetchRecommendationsUpsell()}render(){return null}}r()(u,"propTypes",{isFetchingRecommendationsUpsell:a().bool,isOfflineMode:a().bool}),r()(u,"defaultProps",{isFetchingRecommendationsUpsell:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRecommendationsUpsell:(0,l.b5)(e),isOfflineMode:(0,p.Ex)(e)})),(e=>({fetchRecommendationsUpsell:()=>e((0,l.tR)())})))(u)},8546:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n(9309),l=n(9377),p=n(6300);class u extends o.Component{UNSAFE_componentWillMount(){this.props.isFetchingRewindStatus||this.props.isOfflineMode||this.props.fetchRewind()}render(){return null}}r()(u,"propTypes",{isFetchingRewindStatus:a().bool,isOfflineMode:a().bool}),r()(u,"defaultProps",{isFetchingRewindStatus:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingRewindStatus:(0,l.Li)(e),isOfflineMode:(0,p.Ex)(e)})),(e=>({fetchRewind:()=>e((0,l.Au)())})))(u)},6551:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n(9309),l=n(5080),p=n(6300);class u extends o.Component{UNSAFE_componentWillMount(){this.props.isFetchingScanStatus||this.props.isOfflineMode||this.props.fetchScan()}render(){return null}}r()(u,"propTypes",{isFetchingScanStatus:a().bool,isOfflineMode:a().bool}),r()(u,"defaultProps",{isFetchingScanStatus:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingScanStatus:(0,l.gE)(e),isOfflineMode:(0,p.Ex)(e)})),(e=>({fetchScan:()=>e((0,l.eR)())})))(u)},1865:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n(9309),o=n(3002);class c extends i.Component{componentDidMount(){this.props.isFetchingSiteBenefits||this.props.fetchSiteBenefits()}render(){return null}}r()(c,"defaultProps",{isFetchingSiteBenefitsData:!1}),t.Z=(0,a.$j)((e=>({isFetchingSiteBenefits:(0,o.bl)(e)})),(e=>({fetchSiteBenefits:()=>e((0,o.IO)())})))(c)},2658:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n(9309),o=n(3002);class c extends i.Component{componentDidMount(){this.props.isFetchingSiteDiscount||this.props.fetchSiteDiscount()}render(){return null}}r()(c,"defaultProps",{isFetchingSiteDiscount:!1}),t.Z=(0,a.$j)((e=>({isFetchingSiteDiscount:(0,o.Zd)(e)})),(e=>({fetchSiteDiscount:()=>e((0,o.N$)())})))(c)},7679:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(1372);class o extends r().Component{UNSAFE_componentWillMount(){this.props.isFetchingPluginsData||this.props.fetchPluginsData()}render(){return null}}t.Z=(0,i.$j)((e=>({isFetchingPluginsData:(0,a.vz)(e)})),(e=>({fetchPluginsData:()=>e((0,a.s4)())})))(o)},9270:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n(9309),l=n(2819),p=n(3002),u=n(6300);class d extends o.Component{UNSAFE_componentWillMount(){this.props.isFetchingSiteData||this.props.isOfflineMode||!(0,l.isEmpty)(this.props.sitePlan)||(this.props.fetchSiteData(),this.props.fetchSiteFeatures(),this.props.fetchAvailablePlans(),this.props.fetchSitePurchases())}render(){return null}}r()(d,"propTypes",{isFetchingSiteData:a().bool,isOfflineMode:a().bool,sitePlan:a().object}),r()(d,"defaultProps",{isFetchingSiteData:!1,isOfflineMode:!1,sitePlan:{}}),t.Z=(0,c.$j)((e=>({isFetchingSiteData:(0,p._5)(e),isOfflineMode:(0,u.Ex)(e),sitePlan:(0,p.UL)(e)})),(e=>({fetchSiteData:()=>e((0,p.tO)()),fetchSiteFeatures:()=>e((0,p.ij)()),fetchAvailablePlans:()=>e((0,p.lA)()),fetchSitePurchases:()=>e((0,p.Z_)())})))(d)},9429:function(e,t,n){"use strict";var s=n(9196),r=n(9309),i=n(7296);class a extends s.Component{UNSAFE_componentWillMount(){this.props.fetchingStatsData||this.props.fetchStatsData(this.props.range)}render(){return null}}a.defaultProps={fetchStatsData:()=>{}},t.Z=(0,r.$j)((e=>({fetchStatsData:t=>(0,i.g4)(e,t),fetchingStatsData:(0,i.F2)(e)})),(e=>({fetchStatsData:t=>e((0,i.g4)(t))})))(a)},7583:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(9508),o=n(6300);class c extends r().Component{UNSAFE_componentWillMount(){!this.props.isFetchingUserData&&this.props.userCanConnectAccount&&this.props.fetchUserConnectionData()}render(){return null}}t.Z=(0,i.$j)((e=>({isFetchingUserData:(0,o.Dd)(e),userCanConnectAccount:(0,a.n0)(e)})),(e=>({fetchUserConnectionData:()=>e((0,o.jb)())})))(c)},3526:function(e,t,n){"use strict";var s=n(9196),r=n(9309),i=n(835),a=n(7296),o=n(416);class c extends s.Component{componentDidMount(){this.props.fetchingVaultPressData||this.props.hasLoadedVaultPressData||!this.props.isModuleActivated("vaultpress")||this.props.fetchVaultPressData()}render(){return null}}c.defaultProps={fetchVaultPressData:()=>{}},t.Z=(0,r.$j)((e=>({fetchVaultPressData:(0,a.l7)(),fetchingVaultPressData:(0,a.P_)(e),isModuleActivated:t=>(0,o.mp)(e,t),hasLoadedVaultPressData:(0,a.V_)(e)})),(e=>(0,i.DE)({fetchVaultPressData:a.l7},e)))(c)},5074:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n(9309),l=n(2948),p=n(6300);class u extends o.Component{componentDidMount(){this.props.isFetchingWafSettings||this.props.isOfflineMode||this.props.fetchWafSettings()}render(){return null}}r()(u,"propTypes",{isFetchingWafSettings:a().bool,isOfflineMode:a().bool}),r()(u,"defaultProps",{isFetchingWafSettings:!1,isOfflineMode:!1}),t.Z=(0,c.$j)((e=>({isFetchingWafSettings:(0,l.vd)(e),isOfflineMode:(0,p.Ex)(e)})),(e=>({fetchWafSettings:()=>e((0,l.Iv)())})))(u)},8088:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(5235),l=n.n(c),p=n(9584),u=n(2819),d=n(9508),m=n(3002),h=n(6300),g=n(625),f=n(7296),v=n(5799),k=n(3915),_=n(9377),y=n(5080);class E extends a().Component{constructor(){super(...arguments),r()(this,"onPlanChange",(e=>{this.props.switchPlanPreview(e.target.value)})),r()(this,"onPermissionsChange",(e=>{this.props.switchUserPermissions(e.target.value)})),r()(this,"onThreatsChange",(e=>{this.props.switchThreats(e.target.value)})),r()(this,"onRewindStatusChange",(e=>{this.props.switchRewindState(e.target.value)})),r()(this,"onScanStatusChange",(e=>{this.props.switchScanState(e.target.value)})),r()(this,"maybeShowStatsToggle",(()=>{if(!this.props.isAdmin)return a().createElement("div",null,a().createElement("hr",null),a().createElement("ul",null,a().createElement("li",null,a().createElement("label",{htmlFor:"view_stats"},a().createElement("input",{type:"radio",id:"view_stats",value:"view_stats",name:"view_stats",checked:this.props.canViewStats,onChange:this.onPermissionsChange}),"Can view stats")),a().createElement("li",null,a().createElement("label",{htmlFor:"hide_stats"},a().createElement("input",{type:"radio",id:"hide_stats",value:"hide_stats",name:"hide_stats",checked:!this.props.canViewStats,onChange:this.onPermissionsChange}),"Can not view stats"))))})),r()(this,"showIsLinkedToggle",(()=>a().createElement("div",null,a().createElement("hr",null),a().createElement("ul",null,a().createElement("li",null,a().createElement("label",{htmlFor:"is_linked"},a().createElement("input",{type:"radio",id:"is_linked",value:"is_linked",name:"is_linked",checked:this.props.isUserLinked,onChange:this.onPermissionsChange}),"Linked")),a().createElement("li",null,a().createElement("label",{htmlFor:"is_unlinked"},a().createElement("input",{type:"radio",id:"is_unlinked",value:"is_unlinked",name:"is_unlinked",checked:!this.props.isUserLinked,onChange:this.onPermissionsChange}),"Unlinked"))))))}render(){if(!this.props.canDisplayDevCard)return null;const e=l()(this.props.className,"jp-dev-card"),t=(0,p.sc)(this.props.sitePlan.product_slug),n=(0,u.get)(this.props.rewindStatus,["state"],!1),s=(0,u.get)(this.props.scanStatus,["state"],!1);return a().createElement(v.Z,{compact:!0,className:e},a().createElement("a",{className:"jp-dev-card__close",role:"button",tabIndex:"0",onKeyDown:(0,k.Z)(this.props.disableDevCard),onClick:this.props.disableDevCard},"x"),a().createElement("div",{className:"jp-dev-card__heading"},"Dev Tools"),a().createElement("ul",null,a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_free"},a().createElement("input",{type:"radio",id:"jetpack_free",value:"jetpack_free",name:"jetpack_free",checked:"is-free-plan"===t,onChange:this.onPlanChange}),"Free")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_personal"},a().createElement("input",{type:"radio",id:"jetpack_personal",value:"jetpack_personal",name:"jetpack_personal",checked:"is-personal-plan"===t,onChange:this.onPlanChange}),"Personal")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_premium"},a().createElement("input",{type:"radio",id:"jetpack_premium",value:"jetpack_premium",name:"jetpack_premium",checked:"is-premium-plan"===t,onChange:this.onPlanChange}),"Premium")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_business"},a().createElement("input",{type:"radio",id:"jetpack_business",value:"jetpack_business",name:"jetpack_business",checked:"is-business-plan"===t,onChange:this.onPlanChange}),"Pro")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_security_t1"},a().createElement("input",{type:"radio",id:"jetpack_security_t1",value:"jetpack_security_t1_yearly",name:"jetpack_security_t1_yearly",checked:"is-security-t1-plan"===t,onChange:this.onPlanChange}),"Security (10 GB)")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_security_t2"},a().createElement("input",{type:"radio",id:"jetpack_security_t2",value:"jetpack_security_t2_yearly",name:"jetpack_security_t2_yearly",checked:"is-security-t2-plan"===t,onChange:this.onPlanChange}),"Security (1 TB)")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_complete"},a().createElement("input",{type:"radio",id:"jetpack_complete",value:"jetpack_complete",name:"jetpack_complete",checked:"is-complete-plan"===t,onChange:this.onPlanChange}),"Complete")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_backup_t0"},a().createElement("input",{type:"radio",id:"jetpack_backup_t0",value:"jetpack_backup_t0_yearly",name:"jetpack_backup_t0_yearly",checked:"is-backup-t0-plan"===t,onChange:this.onPlanChange}),"Backup (1 GB)")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_backup_t1"},a().createElement("input",{type:"radio",id:"jetpack_backup_t1",value:"jetpack_backup_t1_yearly",name:"jetpack_backup_t1_yearly",checked:"is-backup-t1-plan"===t,onChange:this.onPlanChange}),"Backup (10 GB)")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_backup_t2"},a().createElement("input",{type:"radio",id:"jetpack_backup_t2",value:"jetpack_backup_t2_yearly",name:"jetpack_backup_t2_yearly",checked:"is-backup-t2-plan"===t,onChange:this.onPlanChange}),"Backup (1 TB)")),a().createElement("li",{className:"jp-dev-card__deprecated-plans-list-header"},"— DEPRECATED —"),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_security_daily"},a().createElement("input",{type:"radio",id:"jetpack_security_daily",value:"jetpack_security_daily",name:"jetpack_security_daily",checked:"is-daily-security-plan"===t,onChange:this.onPlanChange}),"Security Daily")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_security_realtime"},a().createElement("input",{type:"radio",id:"jetpack_security_realtime",value:"jetpack_security_realtime",name:"jetpack_security_realtime",checked:"is-realtime-security-plan"===t,onChange:this.onPlanChange}),"Security Real-Time")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_backup_daily"},a().createElement("input",{type:"radio",id:"jetpack_backup_daily",value:"jetpack_backup_daily",name:"jetpack_backup_daily",checked:"is-daily-backup-plan"===t,onChange:this.onPlanChange}),"Backup Daily")),a().createElement("li",null,a().createElement("label",{htmlFor:"jetpack_backup_realtime"},a().createElement("input",{type:"radio",id:"jetpack_backup_realtime",value:"jetpack_backup_realtime",name:"jetpack_backup_realtime",checked:"is-realtime-backup-plan"===t,onChange:this.onPlanChange}),"Backup Real-time"))),a().createElement("hr",null),a().createElement("ul",null,a().createElement("li",null,a().createElement("label",{htmlFor:"admin_master"},a().createElement("input",{type:"radio",id:"admin_master",value:"admin_master",name:"admin_master",checked:this.props.isConnectionOwner,onChange:this.onPermissionsChange}),"Admin (master)")),a().createElement("li",null,a().createElement("label",{htmlFor:"admin_secondary"},a().createElement("input",{type:"radio",id:"admin_secondary",value:"admin_secondary",name:"admin_secondary",checked:this.props.isAdmin&&!this.props.isConnectionOwner,onChange:this.onPermissionsChange}),"Admin (secondary)")),a().createElement("li",null,a().createElement("label",{htmlFor:"editor"},a().createElement("input",{type:"radio",id:"editor",value:"editor",name:"editor",checked:this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Editor")),a().createElement("li",null,a().createElement("label",{htmlFor:"subscriber"},a().createElement("input",{type:"radio",id:"subscriber",value:"subscriber",name:"subscriber",checked:!this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Subscriber"))),a().createElement("hr",null),a().createElement("ul",null,a().createElement("li",null,a().createElement("label",{htmlFor:"nothreats"},a().createElement("input",{type:"radio",id:"nothreats",value:0,name:"nothreats",checked:0===this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"No threats")),a().createElement("li",null,a().createElement("label",{htmlFor:"threats"},a().createElement("input",{type:"radio",id:"threats",value:17,name:"threats",checked:0!==this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"Threats"))),a().createElement("hr",null),a().createElement("ul",null,a().createElement("strong",null,"Backup"),a().createElement("li",null,a().createElement("label",{htmlFor:"rewindUnavailable"},a().createElement("input",{type:"radio",id:"rewindUnavailable",value:"unavailable",name:"unavailable",checked:"unavailable"===n,onChange:this.onRewindStatusChange}),"Unavailable")),a().createElement("li",null,a().createElement("label",{htmlFor:"rewindProvisioning"},a().createElement("input",{type:"radio",id:"rewindProvisioning",value:"provisioning",name:"provisioning",checked:"provisioning"===n,onChange:this.onRewindStatusChange}),"Provisioning")),a().createElement("li",null,a().createElement("label",{htmlFor:"rewindAwatingCreds"},a().createElement("input",{type:"radio",id:"rewindAwatingCreds",value:"awaiting_credentials",name:"awaiting_credentials",checked:"awaiting_credentials"===n,onChange:this.onRewindStatusChange}),"Awaiting credentials")),a().createElement("li",null,a().createElement("label",{htmlFor:"rewindActive"},a().createElement("input",{type:"radio",id:"rewindActive",value:"active",name:"active",checked:"active"===n,onChange:this.onRewindStatusChange}),"Active"))),a().createElement("ul",null,a().createElement("strong",null,"Scan"),a().createElement("li",null,a().createElement("label",{htmlFor:"scanUnavailable"},a().createElement("input",{type:"radio",id:"scanUnavailable",value:"unavailable",name:"unavailable",checked:"unavailable"===s,onChange:this.onScanStatusChange}),"Unavailable")),a().createElement("li",null,a().createElement("label",{htmlFor:"scanProvisioning"},a().createElement("input",{type:"radio",id:"scanProvisioning",value:"provisioning",name:"provisioning",checked:"provisioning"===s,onChange:this.onScanStatusChange}),"Provisioning")),a().createElement("li",null,a().createElement("label",{htmlFor:"scanIdle"},a().createElement("input",{type:"radio",id:"scanIdle",value:"idle",name:"idle",checked:"idle"===s,onChange:this.onScanStatusChange}),"Idle")),a().createElement("li",null,a().createElement("label",{htmlFor:"scanScanning"},a().createElement("input",{type:"radio",id:"scanScanning",value:"scanning",name:"scanning",checked:"scanning"===s,onChange:this.onScanStatusChange}),"Scanning"))),this.maybeShowStatsToggle(),this.showIsLinkedToggle())}}r()(E,"displayName","DevCard"),t.Z=(0,o.$j)((e=>({isDevVersion:(0,d._W)(e),sitePlan:(0,m.UL)(e),canDisplayDevCard:(0,g.Ry)(e),isUserLinked:(0,h.BU)(e),canViewStats:(0,d.px)(e),isConnectionOwner:(0,h.QM)(e),isAdmin:(0,d.WB)(e),canEditPosts:(0,d.rp)(e),getVaultPressScanThreatCount:()=>(0,f._R)(e),rewindStatus:(0,_.of)(e),scanStatus:(0,y.C8)(e)})),(e=>({switchPlanPreview:t=>e((0,g.fb)(t)),switchUserPermissions:t=>e((0,g.Yw)(t)),switchThreats:t=>e((0,g.aX)(parseInt(t))),disableDevCard:()=>e((0,g.Wh)()),switchRewindState:t=>e((0,g._s)(t)),switchScanState:t=>e((0,g.pH)(t))})))(E)},860:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l),u=n(5235),d=n.n(u),m=n(2819),h=n(5799),g=n(5773),f=n(5060),v=n(3915);class k extends p().Component{constructor(){super(...arguments),a()(this,"state",{expanded:this.props.expanded}),a()(this,"onClick",(()=>{this.props.children&&this.setState({expanded:!this.state.expanded}),this.props.onClick&&this.props.onClick(),this.state.expanded?this.props.onClose(this.props.cardKey):this.props.onOpen(this.props.cardKey)})),a()(this,"getClickAction",(()=>{if(!this.props.disabled)return this.onClick})),a()(this,"getActionButton",(()=>this.state.expanded&&this.props.actionButtonExpanded||this.props.actionButton)),a()(this,"renderActionButton",(()=>{const e=this.props.clickableHeader?null:this.getClickAction();if(this.props.actionButton)return p().createElement("button",{className:"dops-foldable-card__action",onClick:e},this.getActionButton());if(this.props.children){const t=24;return p().createElement("button",{type:"button",disabled:this.props.disabled,className:"dops-foldable-card__action dops-foldable-card__expand",onClick:e},p().createElement("span",{className:"screen-reader-text"},"More"),p().createElement(f.Z,{icon:this.props.icon,size:t}))}})),a()(this,"renderContent",(()=>p().createElement("div",{className:"dops-foldable-card__content"},this.props.children))),a()(this,"renderHeader",(()=>{const e=this.props.summary?p().createElement("span",{className:"dops-foldable-card__summary"},this.props.summary," "):null,t=this.props.expandedSummary?p().createElement("span",{className:"dops-foldable-card__summary_expanded"},this.props.expandedSummary," "):null,n=this.props.header?p().createElement("div",{className:"dops-foldable-card__header-text"},this.props.header):null,s=this.props.subheader?p().createElement("div",{className:"dops-foldable-card__subheader"},this.props.subheader):null,i={role:"button",tabIndex:0,onClick:this.getClickAction(),onKeyDown:(0,v.Z)(this.getClickAction())},a=d()("dops-foldable-card__header",{"is-clickable":!!this.props.clickableHeader,"has-border":!!this.props.summary}),o=d()("dops-foldable-card__header-text",{"is-clickable":!!this.props.clickableHeaderText});return p().createElement("div",r()({className:a},this.props.clickableHeader?i:{}),p().createElement("span",{className:"dops-foldable-card__main"},p().createElement("div",r()({className:o},this.props.clickableHeaderText?i:{}),n,s)),p().createElement("span",{className:"dops-foldable-card__secondary"},e,t,this.renderActionButton()))}))}render(){const e=this.props.compact?g.Z:h.Z,t=d()("dops-foldable-card",this.props.className,{"is-disabled":!!this.props.disabled,"is-expanded":!!this.state.expanded,"has-expanded-summary":!!this.props.expandedSummary});return p().createElement(e,{className:t},this.renderHeader(),this.state.expanded&&this.renderContent())}}a()(k,"propTypes",{actionButton:c().element,actionButtonExpanded:c().element,cardKey:c().string,compact:c().bool,disabled:c().bool,expandedSummary:c().oneOfType([c().string,c().element]),expanded:c().bool,icon:c().string,onClick:c().func,onClose:c().func,onOpen:c().func,summary:c().oneOfType([c().string,c().element]),clickableHeader:c().bool,clickableHeaderText:c().bool}),a()(k,"defaultProps",{onOpen:m.noop,onClose:m.noop,cardKey:"",icon:"chevron-down",isExpanded:!1,clickableHeader:!1,clickableHeaderText:!1}),t.Z=k},7516:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(5235),l=n.n(c),p=n(5736),u=n(6324),d=n(2392),m=n(4069),h=n(625),g=n(8088),f=n(9508),v=n(6300),k=n(3915);const __=p.__,_x=p._x,_=()=>{const e=document.getElementById("jp-navigation").offsetTop;window.scrollTo(0,window.scrollY-e/1.5),window.scrollY>e&&window.requestAnimationFrame(_)};class y extends a().Component{constructor(){super(...arguments),r()(this,"resetOnClick",(()=>{window.confirm(__("This will reset all Jetpack options, are you sure?","jetpack"))&&this.props.resetOptions()})),r()(this,"trackVersionClick",(()=>{m.Z.tracks.recordJetpackClick({target:"footer_link",link:"version"})})),r()(this,"trackTermsClick",(()=>{m.Z.tracks.recordJetpackClick({target:"footer_link",link:"terms"})})),r()(this,"trackAboutClick",(()=>{m.Z.tracks.recordJetpackClick({target:"footer_link",link:"about"})})),r()(this,"trackPrivacyClick",(()=>{window.requestAnimationFrame(_),m.Z.tracks.recordJetpackClick({target:"footer_link",link:"privacy"})})),r()(this,"trackModulesClick",(()=>{m.Z.tracks.recordJetpackClick({target:"footer_link",link:"modules"})})),r()(this,"trackDebugClick",(()=>{m.Z.tracks.recordJetpackClick({target:"footer_link",link:"debug"})}))}render(){const e=l()(this.props.className,"jp-footer"),t=this.props.currentVersion,n=this.props.siteConnectionStatus?this.props.siteAdminUrl+"admin.php?page=jetpack_about":(0,u.Z)("jetpack"),s=this.props.siteConnectionStatus?this.props.siteAdminUrl+"admin.php?page=jetpack#/privacy":(0,u.Z)("a8c-privacy");return a().createElement("div",{className:e},a().createElement("ul",{className:"jp-footer__links"},(()=>{if(!this.props.isAtomicPlatform)return a().createElement("li",{className:"jp-footer__link-item"},a().createElement("a",{onClick:this.trackVersionClick,href:(0,u.Z)("jetpack"),target:"_blank",rel:"noopener noreferrer",className:"jp-footer__link",title:__("Jetpack version","jetpack")},t?(0,p.sprintf)(
/* Translators: placeholder is a version number. */
-__("Jetpack version %s","jetpack"),t):"Jetpack"))})(),o().createElement("li",{className:"jp-footer__link-item"},o().createElement("a",{onClick:this.trackAboutClick,href:n,className:"jp-footer__link",title:__("About Jetpack","jetpack")},_x("About","Link to learn more about Jetpack.","jetpack"))),o().createElement("li",{className:"jp-footer__link-item"},o().createElement("a",{onClick:this.trackTermsClick,href:(0,p.Z)("wpcom-tos"),target:"_blank",rel:"noopener noreferrer",title:__("WordPress.com Terms of Service","jetpack"),className:"jp-footer__link"},_x("Terms","Shorthand for Terms of Service.","jetpack"))),o().createElement("li",{className:"jp-footer__link-item"},o().createElement("a",{onClick:this.trackPrivacyClick,href:r,rel:"noopener noreferrer",title:__("Automattic's Privacy Policy","jetpack"),className:"jp-footer__link"},_x("Privacy","Shorthand for Privacy Policy.","jetpack"))),(()=>{if(this.props.siteConnectionStatus&&this.props.userCanManageOptions)return o().createElement("li",{className:"jp-footer__link-item"},o().createElement("a",{onClick:this.trackModulesClick,href:this.props.siteAdminUrl+"admin.php?page=jetpack_modules",title:__("Access the full list of Jetpack modules available on your site.","jetpack"),className:"jp-footer__link"},_x("Modules","Navigation item. Noun. Links to a list of modules for Jetpack.","jetpack")))})(),(()=>{if(this.props.userCanManageOptions)return o().createElement("li",{className:"jp-footer__link-item"},o().createElement("a",{onClick:this.trackDebugClick,href:this.props.siteAdminUrl+"admin.php?page=jetpack-debugger",title:__("Test your site’s compatibility with Jetpack.","jetpack"),className:"jp-footer__link"},_x("Debug","Navigation item. Noun. Links to a debugger tool for Jetpack.","jetpack")))})(),(()=>this.props.isDevVersion&&this.props.userCanManageOptions?o().createElement("li",{className:"jp-footer__link-item"},o().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,b.Z)(this.resetOnClick),onClick:this.resetOnClick,className:"jp-footer__link"},_x("Reset Options (dev only)","Navigation item.","jetpack"))):"")(),(()=>this.props.isDevVersion?o().createElement("li",{className:"jp-footer__link-item"},o().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,b.Z)(this.props.enableDevCard),onClick:this.props.enableDevCard,className:"jp-footer__link"},_x("Dev Tools","Navigation item.","jetpack"))):"")(),(()=>{if(this.props.isDevVersion&&this.props.displayDevCard)return o().createElement(m.Z,null)})()),o().createElement("div",{className:"jp-footer__rna-footer"},o().createElement(d.Z,{a8cLogoHref:n})))}}i()(k,"displayName","Footer"),t.Z=(0,a.$j)((e=>({currentVersion:(0,g.w1)(e),displayDevCard:(0,f.Ry)(e),isAtomicPlatform:(0,g.vL)(e),isDevVersion:(0,g._W)(e),isInIdentityCrisis:(0,v.l9)(e),siteAdminUrl:(0,g.wW)(e),siteConnectionStatus:(0,v.Gz)(e),userCanManageOptions:(0,g.UF)(e)})),(e=>({resetOptions:()=>e((0,f._G)("options")),enableDevCard:()=>e((0,f.vN)())})))(k)},28859:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(22256);class d extends c().Component{render(){const e=u()({"form-input-validation":!0,"is-warning":this.props.isWarning,"is-error":this.props.isError}),t=this.props.isError||this.props.isWarning?"notice-outline":"checkmark";return c().createElement("div",{className:e},c().createElement("span",null,c().createElement(p.Z,{size:24,icon:this.props.icon?this.props.icon:t})," ",this.props.text))}}i()(d,"displayName","FormInputValidation"),i()(d,"propTypes",{isError:o().bool,isWarning:o().bool,text:o().node,icon:o().string}),i()(d,"defaultProps",{isError:!1})},14318:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(11268),c=n.n(a),l=n(91850),u=n.n(l),p=n(99196),d=n.n(p),h=n(31439),f=n.n(h),m=n(92819),g=n(89105),v=n.n(g),b=n(9913);class y extends d().Component{constructor(){super(...arguments),o()(this,"displayPrompt",(()=>{window.prompt(this.props.prompt,this.props.text)}))}componentDidMount(){const e=u().findDOMNode(this.refs.button);this.clipboard=new(f())(e,{text:()=>this.props.text}),this.clipboard.on("success",this.props.onCopy),this.clipboard.on("error",this.displayPrompt)}componentWillUnmount(){this.clipboard.destroy(),delete this.clipboard}render(){const e=v()("dops-clipboard-button",this.props.className);return d().createElement(b.Z,i()({ref:"button"},(0,m.omit)(this.props,Object.keys(this.constructor.propTypes)),{className:e}))}}o()(y,"displayName","ClipboardButton"),o()(y,"propTypes",{className:c().string,text:c().string,prompt:c().string,onCopy:c().func}),o()(y,"defaultProps",{onCopy:m.noop})},94069:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(92819),d=n(56357);class h extends c().Component{render(){return c().createElement(d.Z,i()({},(0,p.omit)(this.props,"className"),{className:u()(this.props.className,"is-compact")}),this.props.children)}}o()(h,"displayName","CompactFormToggle")},56357:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(40515);class d extends a.Component{constructor(){super(...arguments),i()(this,"state",{showPopover:!1}),i()(this,"togglePopover",(()=>{this.setState({showPopover:!this.state.showPopover})})),i()(this,"_onPopoverClose",(()=>{this.setState({showPopover:!1})})),i()(this,"renderPopover",(()=>c().createElement(p.Z,{isVisible:this.state.showPopover,context:this.refs&&this.refs.toggleSwitch,position:this.props.disabledPopoverPosition,onClose:this._onPopoverClose,className:"dops-info-popover__tooltip"},this.props.disabledReason))),this.onKeyDown=this.onKeyDown.bind(this),this.onClick=this.onClick.bind(this),this.onLabelClick=this.onLabelClick.bind(this)}UNSAFE_componentWillMount(){this.id=this.constructor.idNum++}onKeyDown(e){this.props.disabled||("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown(e))}onClick(){this.props.disabled?this.props.disabledReason&&this.togglePopover():this.props.onChange()}onLabelClick(e){if(this.props.disabled)return;const t=e.target.nodeName.toLowerCase();"a"!==t&&"input"!==t&&"select"!==t&&(e.preventDefault(),this.props.onChange())}render(){const e=this.props.id||"toggle-"+this.id,t=u()("form-toggle",this.props.className,{"is-toggling":this.props.toggling});return c().createElement("span",null,c().createElement("input",{className:t,type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),c().createElement("label",{className:"form-toggle__label",htmlFor:e},c().createElement("span",{className:"form-toggle__switch",disabled:this.props.disabled,id:e,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"checkbox","aria-checked":this.props.checked,"aria-label":this.props["aria-label"],tabIndex:this.props.disabled?-1:0,ref:"toggleSwitch"}),c().createElement("span",{className:"form-toggle__label-content",onClick:this.onLabelClick},this.props.children)),this.renderPopover())}}i()(d,"propTypes",{onChange:o().func,onKeyDown:o().func,checked:o().bool,disabled:o().bool,id:o().string,className:o().string,toggling:o().bool,"aria-label":o().string,children:o().node,disabledReason:o().node}),i()(d,"defaultProps",{checked:!1,disabled:!1,onKeyDown:()=>{},onChange:()=>{},disabledPopoverPosition:"bottom",disabledReason:""}),i()(d,"idNum",0)},55735:function(e,t,n){"use strict";n.d(t,{C_:function(){return m},lX:function(){return g},Gj:function(){return v},B1:function(){return k},ih:function(){return E}});var r=n(27538),i=n.n(r),s=n(29183),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(92819),d=n(65736),h=n(9913),f=n(34964);const __=d.__,m=e=>c().createElement("fieldset",o()({},(0,p.omit)(e,"className"),{className:u()(e.className,"jp-form-fieldset")}),e.children);class g extends c().Component{render(){const{className:e,htmlFor:t,...n}=this.props;return c().createElement("label",o()({},n,{htmlFor:t,className:u()(e,"jp-form-label")}),this.props.children)}}i()(g,"displayName","FormLabel");class v extends c().Component{render(){return c().createElement("legend",o()({},(0,p.omit)(this.props,"className"),{className:u()(this.props.className,"jp-form-legend")}),this.props.children)}}i()(v,"displayName","FormLegend");class b extends c().Component{render(){const e=(0,p.omit)(this.props,["className","type"]);return c().createElement("input",o()({},e,{type:"checkbox",className:u()(this.props.className,"jp-form-checkbox")}))}}i()(b,"displayName","FormInputCheckbox");class y extends c().Component{constructor(){super(...arguments),i()(this,"focus",(()=>{this.refs.textField.focus()})),i()(this,"selectOnFocus",(e=>{e.target.select()}))}render(){const{className:e,selectOnFocus:t}=this.props,n=u()(e,{"jp-form-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid}),r={};for(const e in this.props)["isError","isValid","selectOnFocus"].includes(e)||(r[e]=this.props[e]);return c().createElement("input",o()({},r,{ref:"textField",className:n,onClick:t?this.selectOnFocus:null}))}}i()(y,"displayName","FormTextInput"),i()(y,"defaultProps",{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"});class k extends c().Component{render(){return c().createElement("textarea",o()({},(0,p.omit)(this.props,"className"),{className:u()(this.props.className,"jp-form-textarea")}),this.props.children)}}i()(k,"displayName","FormTextarea");class w extends c().Component{render(){const e=(0,p.omit)(this.props,["className","type"]);return c().createElement("input",o()({},e,{type:"radio",className:u()(this.props.className,"jp-form-radio")}))}}i()(w,"displayName","FormRadio");class _ extends c().Component{constructor(){super(...arguments),i()(this,"getDefaultButtonAction",(()=>this.props.isSubmitting?__("Saving…","jetpack"):__("Save Settings","jetpack",0)))}render(){const e=u()({"jp-form-button":!0});return c().createElement(h.Z,o()({},(0,p.omit)(this.props,"className"),{primary:this.props.isPrimary,className:u()(this.props.className,e)}),(0,p.isEmpty)(this.props.children)?this.getDefaultButtonAction():this.props.children)}}i()(_,"displayName","FormsButton"),i()(_,"defaultProps",{isSubmitting:!1,isPrimary:!0,type:"submit"});class E extends c().Component{constructor(){super(...arguments),i()(this,"handleOnSelect",(e=>{this.props.onOptionChange({target:{type:"select",name:this.props.name,value:e.value}})}))}render(){const e=[];return(0,p.forOwn)(this.props.validValues,((t,n)=>{e.push({label:t,value:n})})),c().createElement(f.Z,{options:e,onSelect:this.handleOnSelect,disabled:this.props.disabled,initialSelected:this.props.value})}}},49457:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(90922),u=n.n(l),p=n(88001),d=n(51933),h=n(96892),f=n(2620),m=n(74978),g=n(21094);const v=u()("calypso:notices");class b extends c().Component{constructor(){super(...arguments),i()(this,"removeNotice",(e=>{e&&h.Z.removeNotice(e)})),i()(this,"handleLocalNoticeDismissClick",(e=>()=>this.removeNotice(e))),i()(this,"handleReduxNoticeDismissClick",(e=>()=>this.props.removeNotice(e)))}UNSAFE_componentWillMount(){v("Mounting Global Notices React component.")}render(){let e=(this.props.notices[this.props.id]||[]).map((function(e,t){return c().createElement(p.Z,{key:"notice-old-"+t,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:this.handleLocalNoticeDismissClick(e),showDismiss:e.showDismiss},e.button&&c().createElement(d.Z,{href:e.href,onClick:e.onClick},e.button))}),this);return e=e.concat(this.props.storeNotices.map((function(e,t){return c().createElement(p.Z,{key:"notice-"+t,status:e.status,duration:e.duration||null,showDismiss:e.showDismiss,onDismissClick:this.handleReduxNoticeDismissClick(e.noticeId),text:e.text})}),this)),e.length?c().createElement("div",{id:this.props.id,className:"global-notices"},e):null}}i()(b,"displayName","NoticesList"),i()(b,"propTypes",{id:o().string,notices:o().oneOfType([o().object,o().array])}),i()(b,"defaultProps",{id:"overlay-notices",notices:Object.freeze([])}),t.Z=(0,f.$j)((e=>({storeNotices:e.globalNotices})),(e=>(0,m.DE)({removeNotice:g.qq},e)))(b)},87137:function(e,t,n){"use strict";n.d(t,{o:function(){return r},m:function(){return i}});const r="NEW_NOTICE",i="REMOVE_NOTICE"},21094:function(e,t,n){"use strict";n.d(t,{qq:function(){return s},iI:function(){return o},RT:function(){return a},tF:function(){return c}});var r=n(92819),i=n(87137);function s(e){return{noticeId:e,type:i.m}}function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s={noticeId:n.id||(0,r.uniqueId)(),duration:n.duration,showDismiss:"boolean"!=typeof n.showDismiss||n.showDismiss,isPersistent:n.isPersistent||!1,displayOnNextPage:n.displayOnNextPage||!1,status:e,text:t};return{type:i.o,notice:s}}const a=o.bind(null,"is-success"),c=o.bind(null,"is-error");o.bind(null,"is-info"),o.bind(null,"is-warning")},31008:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var r=n(74978),i=n(87137);function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.o:return[t.notice,...e];case i.m:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,r.UY)({globalNotices:s})},22256:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(21425),c=n.n(a),l=n(89105),u=n.n(l),p=n(7767);const d=n.n(p)()({displayName:"Gridicon",mixins:[c()],getDefaultProps:function(){return{className:"",size:24}},propTypes:{icon:i().string.isRequired,size:i().number,onClick:i().func,className:i().string},needsOffset:function(e,t){return["gridicons-add-outline","gridicons-add","gridicons-align-image-center","gridicons-align-image-left","gridicons-align-image-none","gridicons-align-image-right","gridicons-attachment","gridicons-backspace","gridicons-bold","gridicons-bookmark-outline","gridicons-bookmark","gridicons-calendar","gridicons-cart","gridicons-create","gridicons-custom-post-type","gridicons-external","gridicons-folder","gridicons-heading","gridicons-help-outline","gridicons-help","gridicons-history","gridicons-info-outline","gridicons-info","gridicons-italic","gridicons-layout-blocks","gridicons-link-break","gridicons-link","gridicons-list-checkmark","gridicons-list-ordered","gridicons-list-unordered","gridicons-menus","gridicons-minus","gridicons-my-sites","gridicons-notice-outline","gridicons-notice","gridicons-plans","gridicons-plus-small","gridicons-plus","gridicons-popout","gridicons-posts","gridicons-scheduled","gridicons-share-ios","gridicons-star-outline","gridicons-star","gridicons-stats","gridicons-status","gridicons-thumbs-up","gridicons-textcolor","gridicons-time","gridicons-trophy","gridicons-user-circle"].indexOf(e)>=0&&t%18==0},needsOffsetX:function(e,t){return["gridicons-arrow-down","gridicons-arrow-up","gridicons-comment","gridicons-clear-formatting","gridicons-flag","gridicons-menu","gridicons-reader","gridicons-strikethrough"].indexOf(e)>=0&&t%18==0},needsOffsetY:function(e,t){return["gridicons-align-center","gridicons-align-justify","gridicons-align-left","gridicons-align-right","gridicons-arrow-left","gridicons-arrow-right","gridicons-house","gridicons-indent-left","gridicons-indent-right","gridicons-minus-small","gridicons-print","gridicons-sign-out","gridicons-stats-alt","gridicons-trash","gridicons-underline","gridicons-video-camera"].indexOf(e)>=0&&t%18==0},render:function(){const e="gridicons-"+this.props.icon,t=this.needsOffset(e,this.props.size),n=this.needsOffsetX(e,this.props.size),r=this.needsOffsetY(e,this.props.size),i=u()("gridicon",e,this.props.className,{"needs-offset":t,"needs-offset-x":n,"needs-offset-y":r});let s;switch(e){default:s=o().createElement("svg",{height:this.props.size,width:this.props.size});break;case"gridicons-add-image":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M23 4v2h-3v3h-2V6h-3V4h3V1h2v3h3zm-8.5 7c.828 0 1.5-.672 1.5-1.5S15.328 8 14.5 8 13 8.672 13 9.5s.672 1.5 1.5 1.5zm3.5 3.234l-.513-.57c-.794-.885-2.18-.885-2.976 0l-.655.73L9 9l-3 3.333V6h7V4H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2v-7h-2v3.234z"})));break;case"gridicons-add-outline":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z"})));break;case"gridicons-add":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"})));break;case"gridicons-align-center":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M4 19h16v-2H4v2zm13-6H7v2h10v-2zM4 9v2h16V9H4zm13-4H7v2h10V5z"})));break;case"gridicons-align-image-center":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm5-4h8V9H8v6z"})));break;case"gridicons-align-image-left":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm0-4h8V9H3v6zm10 0h8v-2h-8v2zm0-4h8V9h-8v2z"})));break;case"gridicons-align-image-none":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zM11 9H3v6h8V9z"})));break;case"gridicons-align-image-right":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zm0-8h-8v6h8V9zm-10 4H3v2h8v-2zm0-4H3v2h8V9z"})));break;case"gridicons-align-justify":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M4 19h16v-2H4v2zm16-6H4v2h16v-2zM4 9v2h16V9H4zm16-4H4v2h16V5z"})));break;case"gridicons-align-left":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M4 19h16v-2H4v2zm10-6H4v2h10v-2zM4 9v2h16V9H4zm10-4H4v2h10V5z"})));break;case"gridicons-align-right":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M20 17H4v2h16v-2zm-10-2h10v-2H10v2zM4 9v2h16V9H4zm6-2h10V5H10v2z"})));break;case"gridicons-arrow-down":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M11 4v12.17l-5.59-5.59L4 12l8 8 8-8-1.41-1.41L13 16.17V4h-2z"})));break;case"gridicons-arrow-left":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"})));break;case"gridicons-arrow-right":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})));break;case"gridicons-arrow-up":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M13 20V7.83l5.59 5.59L20 12l-8-8-8 8 1.41 1.41L11 7.83V20h2z"})));break;case"gridicons-aside":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M14 20l6-6V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h8zM6 6h12v6h-4c-1.105 0-2 .895-2 2v4H6V6zm10 4H8V8h8v2z"})));break;case"gridicons-attachment":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M14 1c-2.762 0-5 2.238-5 5v10c0 1.657 1.343 3 3 3s2.99-1.343 2.99-3V6H13v10c0 .553-.447 1-1 1-.553 0-1-.447-1-1V6c0-1.657 1.343-3 3-3s3 1.343 3 3v10.125C17 18.887 14.762 21 12 21s-5-2.238-5-5v-5H5v5c0 3.866 3.134 7 7 7s6.99-3.134 6.99-7V6c0-2.762-2.228-5-4.99-5z"})));break;case"gridicons-audio":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-backspace":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M19 7H8l-5 5 5 5h11c1.104 0 2-.896 2-2V9c0-1.104-.896-2-2-2zm-.647 6.646l-.707.707L16 12.707l-1.647 1.647-.707-.707L15.293 12l-1.647-1.646.707-.707L16 11.293l1.646-1.647.707.707L16.707 12l1.646 1.646z"})));break;case"gridicons-bell":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M6.14 14.97l2.828 2.827c-.362.362-.862.586-1.414.586-1.105 0-2-.895-2-2 0-.552.224-1.052.586-1.414zm8.867 5.324L14.3 21 3 9.7l.706-.707 1.102.157c.754.108 1.69-.122 2.077-.51l3.885-3.884c2.34-2.34 6.135-2.34 8.475 0s2.34 6.135 0 8.475l-3.885 3.886c-.388.388-.618 1.323-.51 2.077l.157 1.1z"})));break;case"gridicons-block":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-bold":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M7 5.01h4.547c2.126 0 3.67.302 4.632.906.96.605 1.44 1.567 1.44 2.887 0 .896-.21 1.63-.63 2.205-.42.574-.98.92-1.678 1.036v.103c.95.212 1.637.608 2.057 1.19.42.58.63 1.35.63 2.315 0 1.367-.494 2.434-1.482 3.2-.99.765-2.332 1.148-4.027 1.148H7V5.01zm3 5.936h2.027c.862 0 1.486-.133 1.872-.4.386-.267.578-.708.578-1.323 0-.574-.21-.986-.63-1.236-.42-.25-1.087-.374-1.996-.374H10v3.333zm0 2.523v3.905h2.253c.876 0 1.52-.167 1.94-.502.416-.335.625-.848.625-1.54 0-1.243-.89-1.864-2.668-1.864H10z"})));break;case"gridicons-book":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M4 3h2v18H4zM18 3H7v18h11c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 6h-6V8h6v1zm0-2h-6V6h6v1z"})));break;case"gridicons-bookmark-outline":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M17 5v12.554l-5-2.857-5 2.857V5h10m0-2H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-bookmark":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M17 3H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-briefcase":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M21 6h-4V3c0-.5-.5-1-1-1H8c-.5 0-1 .5-1 1v3H3c-.6 0-1 .4-1 1v5h20V7c0-.6-.4-1-1-1zm-6 0H9V4h6v2zM14 15h-4v-2H2v8c0 .6.4 1 1 1h18c.6 0 1-.4 1-1v-8h-8v2z"})));break;case"gridicons-calendar":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-camera":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M17 12c0 1.7-1.3 3-3 3s-3-1.3-3-3 1.3-3 3-3 3 1.3 3 3zm5-5v11c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2V4h4v1h2l1-2h6l1 2h2c1.1 0 2 .9 2 2zM7.5 9c0-.8-.7-1.5-1.5-1.5S4.5 8.2 4.5 9s.7 1.5 1.5 1.5S7.5 9.8 7.5 9zM19 12c0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5 5-2.2 5-5z"})));break;case"gridicons-cart":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-checkmark-circle":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-checkmark":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"})));break;case"gridicons-chevron-down":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"})));break;case"gridicons-chevron-left":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586"})));break;case"gridicons-chevron-right":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586"})));break;case"gridicons-chevron-up":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M4 15l8-8 8 8-1.414 1.414L12 9.828l-6.586 6.586"})));break;case"gridicons-clear-formatting":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M10.837 10.163l-4.6 4.6L10 4h4l.777 2.223-2.144 2.144-.627-2.092-1.17 3.888zm5.495.506L19.244 19H15.82l-1.05-3.5H11.5L5 22l-1.5-1.5 17-17L22 5l-5.668 5.67zm-2.31 2.31l-.032.03.032-.01v-.02z"})));break;case"gridicons-clipboard":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M16 18H8v-2h8v2zm0-6H8v2h8v-2zm2-9h-2v2h2v15H6V5h2V3H6c-1.105 0-2 .895-2 2v15c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-4 2V4c0-1.105-.895-2-2-2s-2 .895-2 2v1c-1.105 0-2 .895-2 2v1h8V7c0-1.105-.895-2-2-2z"})));break;case"gridicons-cloud-download":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-6 7l-4-5h3V8h2v3h3l-4 5z"})));break;case"gridicons-cloud-outline":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M11.5 5c2.336 0 4.304 1.825 4.48 4.154l.142 1.86 1.867-.012h.092C19.698 11.043 21 12.37 21 14c0 .748-.28 1.452-.783 2H3.28c-.156-.256-.28-.59-.28-1 0-1.074.85-1.953 1.915-1.998.06.007.118.012.178.015l2.66.124-.622-2.587C7.044 10.186 7 9.843 7 9.5 7 7.02 9.02 5 11.5 5m0-2C7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5l-.025.002C17.72 5.646 14.922 3 11.5 3z"})));break;case"gridicons-cloud-upload":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-5 4v3h-2v-3H8l4-5 4 5h-3z"})));break;case"gridicons-cloud":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5z"})));break;case"gridicons-code":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M4.83 12l4.58 4.59L8 18l-6-6 6-6 1.41 1.41L4.83 12zm9.76 4.59L16 18l6-6-6-6-1.41 1.41L19.17 12l-4.58 4.59z"})));break;case"gridicons-cog":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M20 12c0-.568-.06-1.122-.174-1.656l1.834-1.612-2-3.464-2.322.786c-.82-.736-1.787-1.308-2.86-1.657L14 2h-4l-.48 2.396c-1.07.35-2.04.92-2.858 1.657L4.34 5.268l-2 3.464 1.834 1.612C4.06 10.878 4 11.432 4 12s.06 1.122.174 1.656L2.34 15.268l2 3.464 2.322-.786c.82.736 1.787 1.308 2.86 1.657L10 22h4l.48-2.396c1.07-.35 2.038-.92 2.858-1.657l2.322.786 2-3.464-1.834-1.613c.113-.535.174-1.09.174-1.657zm-8 4c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"})));break;case"gridicons-comment":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-computer":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-create":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M21 11v8c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h8l-2 2H5v14h14v-6l2-2zM7 17h3l7.5-7.5-3-3L7 14v3zm9.94-12.94L15.5 5.5l3 3 1.44-1.44c.585-.585.585-1.535 0-2.12l-.88-.88c-.585-.585-1.535-.585-2.12 0z"})));break;case"gridicons-credit-card":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})));break;case"gridicons-crop":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M22 16h-4V8c0-1.105-.895-2-2-2H8V2H6v4H2v2h4v8c0 1.105.895 2 2 2h8v4h2v-4h4v-2zM8 16V8h8v8H8z"})));break;case"gridicons-cross-small":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})));break;case"gridicons-cross":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"})));break;case"gridicons-custom-post-type":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"})));break;case"gridicons-customize":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M2 6c0-1.505.78-3.08 2-4 0 .845.69 2 2 2 1.657 0 3 1.343 3 3 0 .386-.08.752-.212 1.09.74.594 1.476 1.19 2.19 1.81L8.9 11.98c-.62-.716-1.214-1.454-1.807-2.192C6.753 9.92 6.387 10 6 10c-2.21 0-4-1.79-4-4zm12.152 6.848l1.34-1.34c.607.304 1.283.492 2.008.492 2.485 0 4.5-2.015 4.5-4.5 0-.725-.188-1.4-.493-2.007L18 9l-2-2 3.507-3.507C18.9 3.188 18.225 3 17.5 3 15.015 3 13 5.015 13 7.5c0 .725.188 1.4.493 2.007L3 20l2 2 6.848-6.848c1.885 1.928 3.874 3.753 5.977 5.45l1.425 1.148 1.5-1.5-1.15-1.425c-1.695-2.103-3.52-4.092-5.448-5.977z"})));break;case"gridicons-dropdown":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M7 10l5 5 5-5"})));break;case"gridicons-ellipsis":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M7 12c0 1.104-.896 2-2 2s-2-.896-2-2 .896-2 2-2 2 .896 2 2zm12-2c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2zm-7 0c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2z"})));break;case"gridicons-external":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-flag":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M15 6c0-1.105-.895-2-2-2H5v17h2v-7h5c0 1.105.895 2 2 2h6V6h-5z"})));break;case"gridicons-flip-horizontal":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M20 18v-5h3v-2h-3V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v5H1v2h3v5c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2zM6 6h12v5H6V6z"})));break;case"gridicons-flip-vertical":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 4h-5V1h-2v3H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h5v3h2v-3h5c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 18V6h5v12H6z"})));break;case"gridicons-folder-multiple":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M4 8c-1.105 0-2 .895-2 2v10c0 1.1.9 2 2 2h14c1.105 0 2-.895 2-2H4V8zm16 10H8c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2h7c1.105 0 2 .895 2 2v8c0 1.105-.895 2-2 2z"})));break;case"gridicons-folder":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-globe":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18l2-2 1-1v-2h-2v-1l-1-1H9v3l2 2v1.93c-3.94-.494-7-3.858-7-7.93l1 1h2v-2h2l3-3V6h-2L9 5v-.41C9.927 4.21 10.94 4 12 4s2.073.212 3 .59V6l-1 1v2l1 1 3.13-3.13c.752.897 1.304 1.964 1.606 3.13H18l-2 2v2l1 1h2l.286.286C18.03 18.06 15.24 20 12 20z"})));break;case"gridicons-grid":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M8 8H4V4h4v4zm6-4h-4v4h4V4zm6 0h-4v4h4V4zM8 10H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4zM8 16H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4z"})));break;case"gridicons-heading":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 20h-3v-6H9v6H6V5.01h3V11h6V5.01h3V20z"})));break;case"gridicons-heart-outline":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-heart":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-help-outline":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"})));break;case"gridicons-help":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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-2h2v2zm2.003-6.41c-.23.36-.6.704-1.108 1.028-.43.28-.7.482-.808.61-.108.13-.163.283-.163.46V13H11.04v-.528c0-.4.08-.74.245-1.017.163-.276.454-.546.872-.808.332-.21.57-.397.716-.565.145-.168.217-.36.217-.577 0-.172-.077-.308-.233-.41-.156-.1-.358-.15-.608-.15-.62 0-1.342.22-2.17.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.286z"})));break;case"gridicons-history":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M2.12 13.526c.742 4.78 4.902 8.47 9.88 8.47 5.5 0 10-4.5 10-9.998S17.5 2 12 2C8.704 2 5.802 3.6 4 6V2H2.003L2 9h7V7H5.8c1.4-1.8 3.702-3 6.202-3C16.4 4 20 7.6 20 11.998s-3.6 8-8 8c-3.877 0-7.13-2.795-7.848-6.472H2.12z"}),o().createElement("path",{d:"M11.002 7v5.3l3.2 4.298 1.6-1.197-2.8-3.7V7"})));break;case"gridicons-house":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z"})));break;case"gridicons-image-multiple":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-image":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-indent-left":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 20h2V4h-2v16zM2 11h10.172l-2.086-2.086L11.5 7.5 16 12l-4.5 4.5-1.414-1.414L12.172 13H2v-2z"})));break;case"gridicons-indent-right":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M6 4H4v16h2V4zm16 9H11.828l2.086 2.086L12.5 16.5 8 12l4.5-4.5 1.414 1.414L11.828 11H22v2z"})));break;case"gridicons-info-outline":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-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"})));break;case"gridicons-info":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-ink":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M5 15c0 3.866 3.134 7 7 7s7-3.134 7-7c0-1.387-.41-2.677-1.105-3.765h.007L12 2l-5.903 9.235h.007C5.41 12.323 5 13.613 5 15z"})));break;case"gridicons-institution":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M2 19h20v3H2zM12 2L2 6v2h20V6M17 10h3v7h-3zM10.5 10h3v7h-3zM4 10h3v7H4z"})));break;case"gridicons-italic":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M10.536 5l-.427 2h1.5L9.262 18h-1.5l-.427 2h6.128l.426-2h-1.5l2.347-11h1.5l.427-2"})));break;case"gridicons-layout-blocks":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M21 7h-2V3c0-1.105-.895-2-2-2H7c-1.105 0-2 .895-2 2v2H3c-1.105 0-2 .895-2 2v4c0 1.105.895 2 2 2h2v8c0 1.105.895 2 2 2h10c1.105 0 2-.895 2-2v-2h2c1.105 0 2-.895 2-2V9c0-1.105-.895-2-2-2zm-4 14H7v-8h2c1.105 0 2-.895 2-2V7c0-1.105-.895-2-2-2H7V3h10v4h-2c-1.105 0-2 .895-2 2v8c0 1.105.895 2 2 2h2v2zm4-4h-6V9h6v8z"})));break;case"gridicons-layout":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M8 20H5c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2v12c0 1.105-.895 2-2 2zm8-10h4c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2h-4c-1.105 0-2 .895-2 2v3c0 1.105.895 2 2 2zm5 10v-6c0-1.105-.895-2-2-2h-5c-1.105 0-2 .895-2 2v6c0 1.105.895 2 2 2h5c1.105 0 2-.895 2-2z"})));break;case"gridicons-link-break":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M10 11l-2 2H7v-2h3zm9.64-3.64L22 5l-1.5-1.5-17 17L5 22l9-9h3v-2h-1l2-2c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1c2.21 0 4-1.79 4-4v-2c0-1.623-.97-3.013-2.36-3.64zM4.36 16.64L6 15c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.63 7 7 7H6c-2.21 0-4 1.79-4 4v2c0 1.623.97 3.013 2.36 3.64z"})));break;case"gridicons-link":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.63 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 2h1c2.21 0 4-1.79 4-4v-2c0-2.21-1.79-4-4-4zM2 11v2c0 2.21 1.79 4 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.63 7 7 7H6c-2.21 0-4 1.79-4 4z"})));break;case"gridicons-list-checkmark":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M9.5 15.5L5 20l-2.5-2.5 1.06-1.06L5 17.88l3.44-3.44L9.5 15.5zM10 5v2h11V5H10zm0 14h11v-2H10v2zm0-6h11v-2H10v2zM8.44 8.44L5 11.88l-1.44-1.44L2.5 11.5 5 14l4.5-4.5-1.06-1.06zm0-6L5 5.88 3.56 4.44 2.5 5.5 5 8l4.5-4.5-1.06-1.06z"})));break;case"gridicons-list-ordered":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M8 19h13v-2H8v2zm0-6h13v-2H8v2zm0-8v2h13V5H8zm-4.425.252c.107-.096.197-.188.27-.275-.013.228-.02.48-.02.756V8h1.176V3.717H3.96L2.487 4.915l.6.738.487-.4zm.334 7.764c.474-.426.784-.715.93-.867.145-.153.26-.298.35-.436.087-.138.152-.278.194-.42.042-.143.063-.298.063-.466 0-.225-.06-.427-.18-.608s-.29-.32-.507-.417c-.218-.1-.465-.148-.742-.148-.22 0-.42.022-.596.067s-.34.11-.49.195c-.15.085-.337.226-.558.423l.636.744c.174-.15.33-.264.467-.34.138-.078.274-.117.41-.117.13 0 .232.032.304.097.073.064.11.152.11.264 0 .09-.02.176-.055.258-.036.082-.1.18-.192.294-.092.114-.287.328-.586.64L2.42 13.238V14h3.11v-.955H3.91v-.03zm.53 4.746v-.018c.306-.086.54-.225.702-.414.162-.19.243-.42.243-.685 0-.31-.126-.55-.378-.727-.252-.176-.6-.264-1.043-.264-.307 0-.58.033-.816.1s-.47.178-.696.334l.48.773c.293-.183.576-.274.85-.274.147 0 .263.027.35.082s.13.14.13.252c0 .3-.294.45-.882.45h-.27v.87h.264c.217 0 .393.017.527.05.136.03.233.08.294.143.06.064.09.154.09.27 0 .153-.057.265-.173.337-.115.07-.3.106-.554.106-.164 0-.343-.022-.538-.07-.194-.044-.385-.115-.573-.21v.96c.228.088.44.148.637.182.196.033.41.05.64.05.56 0 .998-.114 1.314-.343.315-.228.473-.542.473-.94.002-.585-.356-.923-1.07-1.013z"})));break;case"gridicons-list-unordered":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-location":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M19 9c0-3.866-3.134-7-7-7S5 5.134 5 9c0 1.387.41 2.677 1.105 3.765h-.008C8.457 16.46 12 22 12 22l5.903-9.235h-.007C18.59 11.677 19 10.387 19 9zm-7 3c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"})));break;case"gridicons-lock":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 8h-1V7c0-2.757-2.243-5-5-5S7 4.243 7 7v1H6c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V10c0-1.105-.895-2-2-2zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v1H9V7zm4 8.723V18h-2v-2.277c-.595-.346-1-.984-1-1.723 0-1.105.895-2 2-2s2 .895 2 2c0 .738-.405 1.376-1 1.723z"})));break;case"gridicons-mail":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"gridicons-mention":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10v-2c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8v.5c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5V12c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.65 0 3.102-.81 4.013-2.043C16.648 15.6 17.527 16 18.5 16c1.93 0 3.5-1.57 3.5-3.5V12c0-5.523-4.477-10-10-10zm0 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z"})));break;case"gridicons-menu":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M21 6v2H3V6h18zM3 18h18v-2H3v2zm0-5h18v-2H3v2z"})));break;case"gridicons-menus":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M9 19h10v-2H9v2zm0-6h6v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-microphone":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 13c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2-1.105 0-2 .896-2 2v5c0 1.104.895 2 2 2zm4-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6c0 2.972 2.164 5.433 5 5.91V20h2v-3.09c2.836-.478 5-2.94 5-5.91h-2z"})));break;case"gridicons-minus-small":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M6 11h12v2H6z"})));break;case"gridicons-minus":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M3 11h18v2H3z"})));break;case"gridicons-my-sites-horizon":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M10.986 13.928l.762-2.284-1.324-3.63c-.458-.026-.892-.08-.892-.08-.458-.027-.405-.727.054-.7 0 0 1.403.107 2.24.107.888 0 2.265-.107 2.265-.107.46-.027.513.646.055.7 0 0-.46.055-.973.082l2.006 5.966c-.875-.034-1.74-.053-2.6-.06l-.428-1.177-.403 1.17c-.252.002-.508.01-.76.015zm-7.156.393c-.21-.737-.33-1.514-.33-2.32 0-1.232.264-2.402.736-3.46l2.036 5.58c.85-.06 1.69-.104 2.526-.138L6.792 8.015c.512-.027.973-.08.973-.08.458-.055.404-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.036-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .674-.244 1.463-.572 2.51.3.02.604.043.907.066l.798-2.307c.486-1.212.647-2.18.647-3.043 0-.313-.02-.603-.057-.874.662 1.21 1.04 2.6 1.04 4.077 0 .807-.128 1.58-.34 2.32.5.05 1.006.112 1.51.17.205-.798.33-1.628.33-2.49 0-5.523-4.477-10-10-10S2 6.477 2 12c0 .862.125 1.692.33 2.49.5-.057 1.003-.12 1.5-.17zm14.638 3.168C16.676 19.672 14.118 20.5 12 20.5c-1.876 0-4.55-.697-6.463-3.012-.585.048-1.174.1-1.77.16C5.572 20.272 8.578 22 12 22c3.422 0 6.43-1.73 8.232-4.35-.593-.063-1.18-.114-1.764-.162zM12 15.01c-3.715 0-7.368.266-10.958.733.18.41.35.825.506 1.247 3.427-.43 6.91-.68 10.452-.68s7.025.25 10.452.68c.156-.422.327-.836.506-1.246-3.59-.467-7.243-.734-10.958-.734z"})));break;case"gridicons-my-sites":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM3.5 12c0-1.232.264-2.402.736-3.46L8.29 19.65C5.456 18.272 3.5 15.365 3.5 12zm8.5 8.5c-.834 0-1.64-.12-2.4-.345l2.55-7.41 2.613 7.157c.017.042.038.08.06.117-.884.31-1.833.48-2.823.48zm1.172-12.485c.512-.027.973-.08.973-.08.458-.055.404-.728-.054-.702 0 0-1.376.108-2.265.108-.835 0-2.24-.107-2.24-.107-.458-.026-.51.674-.053.7 0 0 .434.055.892.082l1.324 3.63-1.86 5.578-3.096-9.208c.512-.027.973-.08.973-.08.458-.055.403-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.037-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .727-.28 1.572-.646 2.748l-.848 2.833-3.072-9.138zm3.1 11.332l2.597-7.506c.484-1.212.645-2.18.645-3.044 0-.313-.02-.603-.057-.874.664 1.21 1.042 2.6 1.042 4.078 0 3.136-1.7 5.874-4.227 7.347z"})));break;case"gridicons-not-visible":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M1 12s4.188-6 11-6c.947 0 1.84.12 2.678.322L8.36 12.64C8.133 12.14 8 11.586 8 11c0-.937.335-1.787.875-2.47C6.483 9.344 4.66 10.917 3.62 12c.68.707 1.696 1.62 2.98 2.398L5.15 15.85C2.498 14.13 1 12 1 12zm22 0s-4.188 6-11 6c-.946 0-1.836-.124-2.676-.323L5 22l-1.5-1.5 17-17L22 5l-3.147 3.147C21.5 9.87 23 12 23 12zm-2.615.006c-.678-.708-1.697-1.624-2.987-2.403L16 11c0 2.21-1.79 4-4 4l-.947.947c.31.03.624.053.947.053 3.978 0 6.943-2.478 8.385-3.994z"})));break;case"gridicons-notice-outline":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})));break;case"gridicons-notice":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-pages":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-pencil":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M13 6l5 5-9.507 9.507c-.686-.686-.69-1.794-.012-2.485l-.002-.003c-.69.676-1.8.673-2.485-.013-.677-.677-.686-1.762-.036-2.455l-.008-.008c-.694.65-1.78.64-2.456-.036L13 6zm7.586-.414l-2.172-2.172c-.78-.78-2.047-.78-2.828 0L14 5l5 5 1.586-1.586c.78-.78.78-2.047 0-2.828zM3 18v3h3c0-1.657-1.343-3-3-3z"})));break;case"gridicons-phone":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-plans":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-1 12H6l5-10v10zm2 6V10h5l-5 10z"})));break;case"gridicons-plugins":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M16 8V3c0-.552-.448-1-1-1s-1 .448-1 1v5h-4V3c0-.552-.448-1-1-1s-1 .448-1 1v5H5v4c0 2.79 1.637 5.193 4 6.317V22h6v-3.683c2.363-1.124 4-3.527 4-6.317V8h-3z"})));break;case"gridicons-plus-small":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 11h-5V6h-2v5H6v2h5v5h2v-5h5"})));break;case"gridicons-plus":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M20 13h-7v7h-2v-7H4v-2h7V4h2v7h7v2z"})));break;case"gridicons-popout":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M6 7V5c0-1.105.895-2 2-2h11c1.105 0 2 .895 2 2v14c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2v-2h2v2h11V5H8v2H6zm5.5-.5l-1.414 1.414L13.172 11H3v2h10.172l-3.086 3.086L11.5 17.5 17 12l-5.5-5.5z"})));break;case"gridicons-posts":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"})));break;case"gridicons-print":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3c0 1.105-.895 2-2 2H7c-1.105 0-2-.895-2-2v-3H2V9c0-1.105.895-2 2-2h1V5c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2v2h1c1.105 0 2 .895 2 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5.672 1.5 1.5 1.5 1.5-.672 1.5-1.5z"})));break;case"gridicons-quote":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M11.192 15.757c0-.88-.23-1.618-.69-2.217-.326-.412-.768-.683-1.327-.812-.55-.128-1.07-.137-1.54-.028-.16-.95.1-1.956.76-3.022.66-1.065 1.515-1.867 2.558-2.403L9.373 5c-.8.396-1.56.898-2.26 1.505-.71.607-1.34 1.305-1.9 2.094s-.98 1.68-1.25 2.69-.346 2.04-.217 3.1c.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003zm9.124 0c0-.88-.23-1.618-.69-2.217-.326-.42-.77-.692-1.327-.817-.56-.124-1.074-.13-1.54-.022-.16-.94.09-1.95.75-3.02.66-1.06 1.514-1.86 2.557-2.4L18.49 5c-.8.396-1.555.898-2.26 1.505-.708.607-1.34 1.305-1.894 2.094-.556.79-.97 1.68-1.24 2.69-.273 1-.345 2.04-.217 3.1.165 1.4.615 2.52 1.35 3.35.732.833 1.646 1.25 2.742 1.25.967 0 1.768-.29 2.402-.876.627-.576.942-1.365.942-2.368v.01z"})));break;case"gridicons-reader":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M3 4v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4H3zm7 11H5v-1h5v1zm2-2H5v-1h7v1zm0-2H5v-1h7v1zm7 4h-5v-5h5v5zm0-7H5V6h14v2z"})));break;case"gridicons-reader-following":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M23,13.482L15.508,21L12,17.4l1.412-1.388l2.106,2.188l6.094-6.094L23,13.482z M15.545,15.344L20,10.889V2H2v14c0,1.1,0.9,2,2,2h4.538l4.913-4.832L15.545,15.344z M8,13H4v-1h4V13z M11,11H4v-1h7V11z M11,9H4V8h7V9z M18,6H4V4h14V6z"})));break;case"gridicons-reblog":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M22.086 9.914L20 7.828V18c0 1.105-.895 2-2 2h-7v-2h7V7.828l-2.086 2.086L14.5 8.5 19 4l4.5 4.5-1.414 1.414zM6 16.172V6h7V4H6c-1.105 0-2 .895-2 2v10.172l-2.086-2.086L.5 15.5 5 20l4.5-4.5-1.414-1.414L6 16.172z"})));break;case"gridicons-redo":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 6v3.586L14.343 5.93C13.17 4.756 11.636 4.17 10.1 4.17s-3.07.585-4.242 1.757c-2.343 2.342-2.343 6.14 0 8.484l5.364 5.364 1.414-1.414L7.272 13c-1.56-1.56-1.56-4.097 0-5.657.755-.755 1.76-1.172 2.828-1.172 1.068 0 2.073.417 2.828 1.173L16.586 11H13v2h7V6h-2z"})));break;case"gridicons-refresh":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z"})));break;case"gridicons-reply":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M14 8H6.828l2.586-2.586L8 4 3 9l5 5 1.414-1.414L6.828 10H14c2.206 0 4 1.794 4 4s-1.794 4-4 4h-2v2h2c3.314 0 6-2.686 6-6s-2.686-6-6-6z"})));break;case"gridicons-rotate":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 14v6c0 1.105-.895 2-2 2H6c-1.105 0-2-.895-2-2v-6c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2zM13.914 2.914L11.828 5H14c4.418 0 8 3.582 8 8h-2c0-3.308-2.692-6-6-6h-2.172l2.086 2.086L12.5 10.5 8 6l1.414-1.414L12.5 1.5l1.414 1.414z"})));break;case"gridicons-scheduled":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M10.498 18l-3.705-3.704 1.415-1.415 2.294 2.295 5.293-5.293 1.415 1.415L10.498 18zM21 6v13c0 1.104-.896 2-2 2H5c-1.104 0-2-.896-2-2V6c0-1.104.896-2 2-2h1V2h2v2h8V2h2v2h1c1.104 0 2 .896 2 2zm-2 2H5v11h14V8z"})));break;case"gridicons-search":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-share-ios":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M17 8h2c1.105 0 2 .895 2 2v9c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2v-9c0-1.105.895-2 2-2h2v2H5v9h14v-9h-2V8zM6.5 5.5l1.414 1.414L11 3.828V14h2V3.828l3.086 3.086L17.5 5.5 12 0 6.5 5.5z"})));break;case"gridicons-share":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 16c-.788 0-1.5.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.118c-.053.223-.088.453-.088.692 0 1.657 1.343 3 3 3s3-1.343 3-3-1.343-3-3-3z"})));break;case"gridicons-sign-out":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M16 17v2c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h9c1.105 0 2 .895 2 2v2h-2V5H5v14h9v-2h2zm2.5-10.5l-1.414 1.414L20.172 11H10v2h10.172l-3.086 3.086L18.5 17.5 24 12l-5.5-5.5z"})));break;case"gridicons-spam":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M17 2H7L2 7v10l5 5h10l5-5V7l-5-5zm-4 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-speaker":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M19 8v6c1.7 0 3-1.3 3-3s-1.3-3-3-3zM11 7H4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h1v3c0 1.1.9 2 2 2h2v-5h2l4 4h2V3h-2l-4 4z"})));break;case"gridicons-special-character":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12.005 7.418c-1.237 0-2.19.376-2.86 1.128s-1.005 1.812-1.005 3.18c0 1.387.226 2.513.677 3.377.45.865 1.135 1.543 2.05 2.036V20H5v-2.666h3.12c-1.04-.636-1.842-1.502-2.405-2.6-.564-1.097-.846-2.322-.846-3.676 0-1.258.29-2.363.875-3.317.585-.952 1.417-1.685 2.497-2.198s2.334-.77 3.763-.77c2.18 0 3.915.572 5.204 1.713s1.932 2.673 1.932 4.594c0 1.353-.283 2.57-.852 3.65-.567 1.08-1.38 1.947-2.44 2.603H19V20h-5.908v-2.86c.95-.493 1.65-1.18 2.102-2.062s.677-2.006.677-3.374c0-1.36-.336-2.415-1.01-3.164-.672-.747-1.624-1.122-2.855-1.122z"})));break;case"gridicons-star-outline":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-star":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-stats-alt":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M21 21H3v-2h18v2zM8 10H4v7h4v-7zm6-7h-4v14h4V3zm6 3h-4v11h4V6z"})));break;case"gridicons-stats":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm0 16H5V5h14v14zM9 17H7v-5h2v5zm4 0h-2V7h2v10zm4 0h-2v-7h2v7z"})));break;case"gridicons-status":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM7.55 13c-.02.166-.05.33-.05.5 0 2.485 2.015 4.5 4.5 4.5s4.5-2.015 4.5-4.5c0-.17-.032-.334-.05-.5h-8.9zM10 10V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1zm6 0V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1z"})));break;case"gridicons-strikethrough":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M14.348 12H21v2h-4.613c.24.515.368 1.094.368 1.748 0 1.317-.474 2.355-1.423 3.114-.947.76-2.266 1.138-3.956 1.138-1.557 0-2.934-.293-4.132-.878v-2.874c.985.44 1.818.75 2.5.928.682.18 1.306.27 1.872.27.68 0 1.2-.13 1.562-.39.363-.26.545-.644.545-1.158 0-.285-.08-.54-.24-.763-.16-.222-.394-.437-.704-.643-.18-.12-.483-.287-.88-.49H3v-2H14.347zm-3.528-2c-.073-.077-.143-.155-.193-.235-.126-.202-.19-.44-.19-.713 0-.44.157-.795.47-1.068.313-.273.762-.41 1.348-.41.492 0 .993.064 1.502.19.51.127 1.153.35 1.93.67l1-2.405c-.753-.327-1.473-.58-2.16-.76-.69-.18-1.414-.27-2.173-.27-1.544 0-2.753.37-3.628 1.108-.874.738-1.312 1.753-1.312 3.044 0 .302.036.58.088.848h3.318z"})));break;case"gridicons-sync":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M23.5 13.5l-3.086 3.086L19 18l-4.5-4.5 1.414-1.414L18 14.172V12c0-3.308-2.692-6-6-6V4c4.418 0 8 3.582 8 8v2.172l2.086-2.086L23.5 13.5zM6 12V9.828l2.086 2.086L9.5 10.5 5 6 3.586 7.414.5 10.5l1.414 1.414L4 9.828V12c0 4.418 3.582 8 8 8v-2c-3.308 0-6-2.692-6-6z"})));break;case"gridicons-tablet":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 2H6c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h12c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-5 19h-2v-1h2v1zm5-2H6V5h12v14z"})));break;case"gridicons-tag":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-text-color":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M3 19h18v3H3v-3zM15.82 17h3.424L14 3h-4L4.756 17H8.18l1.067-3.5h5.506L15.82 17zm-1.952-6h-3.73l1.868-5.725L13.868 11z"})));break;case"gridicons-themes":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M4 6c-1.105 0-2 .895-2 2v12c0 1.1.9 2 2 2h12c1.105 0 2-.895 2-2H4V6zm16-4H8c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V4c0-1.105-.895-2-2-2zm-5 14H8V9h7v7zm5 0h-3V9h3v7zm0-9H8V4h12v3z"})));break;case"gridicons-thumbs-up":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M6.7 22H2v-9h2l2.7 9zM20 9h-6V5c0-1.657-1.343-3-3-3h-1v4L7.1 9.625c-.712.89-1.1 1.996-1.1 3.135V14l2.1 7h8.337c1.836 0 3.435-1.25 3.88-3.03l1.622-6.485C22.254 10.223 21.3 9 20 9z"})));break;case"gridicons-time":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.8 13.4L13 11.667V7h-2v5.333l3.2 4.266 1.6-1.2z"})));break;case"gridicons-trash":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M6.187 8h11.625l-.695 11.125C17.05 20.18 16.177 21 15.12 21H8.88c-1.057 0-1.93-.82-1.997-1.875L6.187 8zM19 5v2H5V5h3V4c0-1.105.895-2 2-2h4c1.105 0 2 .895 2 2v1h3zm-9 0h4V4h-4v1z"})));break;case"gridicons-trophy":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18 5.062V3H6v2.062H2V8c0 2.525 1.89 4.598 4.324 4.932.7 2.058 2.485 3.61 4.676 3.978V18c0 1.105-.895 2-2 2H8v2h8v-2h-1c-1.105 0-2-.895-2-2v-1.09c2.19-.368 3.976-1.92 4.676-3.978C20.11 12.598 22 10.525 22 8V5.062h-4zM4 8v-.938h2v3.766C4.836 10.416 4 9.304 4 8zm16 0c0 1.304-.836 2.416-2 2.83V7.06h2V8z"})));break;case"gridicons-types":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M22 17c0 2.76-2.24 5-5 5s-5-2.24-5-5 2.24-5 5-5 5 2.24 5 5zM6.5 6.5h3.8L7 1 1 11h5.5V6.5zm9.5 4.085V8H8v8h2.585c.433-2.783 2.632-4.982 5.415-5.415z"})));break;case"gridicons-underline":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M4 19v2h16v-2H4zM18 3v8c0 3.314-2.686 6-6 6s-6-2.686-6-6V3h3v8c0 1.654 1.346 3 3 3s3-1.346 3-3V3h3z"})));break;case"gridicons-undo":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M18.142 5.93C16.97 4.756 15.435 4.17 13.9 4.17s-3.072.586-4.244 1.757L6 9.585V6H4v7h7v-2H7.414l3.657-3.657c.756-.755 1.76-1.172 2.83-1.172 1.067 0 2.072.417 2.827 1.173 1.56 1.56 1.56 4.097 0 5.657l-5.364 5.364 1.414 1.414 5.364-5.364c2.345-2.343 2.345-6.142.002-8.485z"})));break;case"gridicons-user-circle":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18.5c-4.694 0-8.5-3.806-8.5-8.5S7.306 3.5 12 3.5s8.5 3.806 8.5 8.5-3.806 8.5-8.5 8.5zm0-8c-3.038 0-5.5 1.728-5.5 3.5s2.462 3.5 5.5 3.5 5.5-1.728 5.5-3.5-2.462-3.5-5.5-3.5zm0-.5c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z"})));break;case"gridicons-user":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 4c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4zm0 16s8 0 8-2c0-2.4-3.9-5-8-5s-8 2.6-8 5c0 2 8 2 8 2z"})));break;case"gridicons-video-camera":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M17 9V7c0-1.105-.895-2-2-2H4c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h11c1.105 0 2-.895 2-2v-2l5 4V5l-5 4z"})));break;case"gridicons-video":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().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"})));break;case"gridicons-visible":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M12 6C5.188 6 1 12 1 12s4.188 6 11 6 11-6 11-6-4.188-6-11-6zm0 10c-3.943 0-6.926-2.484-8.38-4 1.04-1.085 2.863-2.657 5.255-3.47C8.335 9.214 8 10.064 8 11c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.937-.335-1.787-.875-2.47 2.393.813 4.216 2.386 5.254 3.47-1.456 1.518-4.438 4-8.38 4z"})));break;case"gridicons-chat":s=o().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o().createElement("g",null,o().createElement("path",{d:"M20,4h-8c-1.1,0-2,0.9-2,2v2h2c1.7,0,3,1.3,3,3v2h2v3.5l3.3-2.3c1.1-0.8,1.7-2,1.7-3.3V6C22,4.9,21.1,4,20,4z"}),o().createElement("g",null,o().createElement("path",{d:"M14,11v5c0,1.1-0.9,2-2,2H7v3.5l-3.3-2.3c-1.1-0.8-1.7-2-1.7-3.3V11c0-1.1,0.9-2,2-2h8C13.1,9,14,9.9,14,11z"}))))}return s}});t.Z=d},87279:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(7767),c=n.n(a),l=n(92819),u=n(40515),p=n(22256),d=n(89105),h=n.n(d),f=n(11973);t.Z=c()({displayName:"InfoPopover",propTypes:{id:i().string,position:i().string,className:i().string,rootClassName:i().string,gaEventCategory:i().string,popoverName:i().string,onClick:i().func,ignoreContext:i().shape({getDOMNode:i().function})},getDefaultProps:()=>({position:"bottom",onClick:l.noop}),getInitialState:()=>({showPopover:!1}),render(){const e=h()("dops-info-popover","dops-info-popover-button",{is_active:this.state.showPopover},this.props.className);return o().createElement("button",{ref:"infoPopover",className:e,onClick:this._onClick},o().createElement(p.Z,{icon:"info-outline",size:18}),this.props.screenReaderText?o().createElement("span",{className:"screen-reader-text"},this.props.screenReaderText):"",o().createElement(u.Z,{id:this.props.id,isVisible:this.state.showPopover,context:this.refs&&this.refs.infoPopover,ignoreContext:this.props.ignoreContext,position:this.props.position,onClose:this._onClose,className:h()("dops-info-popover__tooltip",this.props.className),rootClassName:this.props.rootClassName},this.props.children))},_onClick(e){this.props.onClick(),e.preventDefault(),this.setState({showPopover:!this.state.showPopover},this._recordStats)},_onClose(){this.setState({showPopover:!1},this._recordStats)},_recordStats(){const{gaEventCategory:e,popoverName:t}=this.props;if(e&&t){const n=this.state.showPopover?" Opened":" Closed";f.Z.ga.recordEvent(e,"InfoPopover: "+t+n)}}})},46188:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(55609),o=n(9913);t.Z=e=>{const{isInstalling:t=!1,children:n=null,...r}=e,a=t?i().createElement("div",{className:"jp-install-button__spinner-container"},i().createElement(s.Spinner,null)):n;return i().createElement(o.Z,r,a)}},85253:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(92819),p=n(34606),d=n(66552);class h extends p.Z{componentDidMount(){!this.props.hidePromotionBanner&&this.props.arePromotionsActive&&this.props.trackBannerDisplay()}render(){return this.props.hidePromotionBanner?null:this.props.arePromotionsActive?c().createElement(p.Z,this.props):null}}i()(h,"propTypes",{callToAction:o().string,className:o().string,description:o().node,eventFeature:o().string,feature:o().string,href:o().string,icon:o().string,iconAlt:o().string,iconSrc:o().string,list:o().arrayOf(o().string),onClick:o().func,trackBannerDisplay:o().func,path:o().string,plan:o().string,siteSlug:o().string,title:o().string.isRequired}),i()(h,"defaultProps",{onClick:u.noop,trackBannerDisplay:u.noop,plan:""}),t.Z=(0,l.$j)(((e,t)=>{const n=(0,d.pK)(e);return{arePromotionsActive:(0,d.Hy)(e),userCanPurchasePlan:n,hidePromotionBanner:!!t.plan&&!n}}))(h)},27711:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(2332),o=n(69307),a=n(55609),c=n(65736),l=n(71415);const __=c.__;t.Z=e=>{const{siteBenefits:t}=e;return i().createElement(i().Fragment,null,t.length>0&&i().createElement(i().Fragment,null,i().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},i().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.","jetpack"))),i().createElement("div",{className:"jp-connection__disconnect-card__group"},t.map((e=>{let{value:t,description:n,title:r}=e;return i().createElement(s.Z,{title:r,value:t,description:n})})))),t.length<=2&&i().createElement("div",{className:"jetpack-benefits__general-benefits-section"},i().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack has many powerful tools that can help you achieve your goals","jetpack")),i().createElement("ul",{className:"jetpack-benefits__general-benefits-list"},i().createElement("li",{key:"reason-cdn"},(0,o.createInterpolateElement)(__("Speed up your site and provide mobile-ready images with <ExternalLink>our CDN</ExternalLink>","jetpack"),{ExternalLink:i().createElement(a.ExternalLink,{href:(0,l.Z)("jetpack-features-design-content-delivery-network"),rel:"noopener noreferrer",target:"_blank"})})),i().createElement("li",{key:"reason-brute-force"},(0,o.createInterpolateElement)(__("Block <ExternalLink>brute force attacks</ExternalLink> and get immediate notifications if your site is down","jetpack"),{ExternalLink:i().createElement(a.ExternalLink,{href:(0,l.Z)("jetpack-features-security"),rel:"noopener noreferrer",target:"_blank"})})),i().createElement("li",{key:"reason-social"},(0,o.createInterpolateElement)(__("Grow your traffic with automated social <ExternalLink>publishing and sharing</ExternalLink>","jetpack"),{ExternalLink:i().createElement(a.ExternalLink,{href:(0,l.Z)("jetpack-support-social"),rel:"noopener noreferrer",target:"_blank"})})))))}},39868:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(92819),u=n(89105),p=n.n(u),d=n(22256),h=n(41922);class f extends a.Component{constructor(){super(...arguments),i()(this,"maybeDismiss",(e=>{!this.props.showDismiss||e.keyCode&&27!==e.keyCode||this.props.dismiss(e)}))}componentDidMount(){document.addEventListener("keydown",this.maybeDismiss.bind(this),!1)}componentWillUnmount(){document.removeEventListener("keydown",this.maybeDismiss.bind(this),!1)}clickForeground(e){e.stopPropagation()}render(){const e=p()(this.props.className,"jp-dialogue-modern",{"has-featured-image":!!this.props.svg});return c().createElement("div",{className:"jp-dialogue-modern-full__container",role:"presentation",onClick:this.maybeDismiss,onKeyDown:(0,h.Z)(this.maybeDismiss)},c().createElement("div",{className:e,role:"presentation",onClick:this.clickForeground,onKeyDown:(0,h.Z)(this.clickForeground)},this.props.showDismiss&&c().createElement(d.Z,{icon:"cross-small",className:"jp-dialogue-modern-full__dismiss",tabIndex:"0",onKeyDown:(0,h.Z)(this.props.dismiss),onClick:this.props.dismiss}),this.props.svg,c().createElement("div",{className:"jp-dialogue-modern__content"},c().createElement("h1",{className:"jp-dialogue-modern__title"},this.props.title),this.props.content),c().createElement("div",null,this.props.belowContent)))}}f.propTypes={content:o().oneOfType([o().string,o().object]).isRequired,belowContent:o().oneOfType([o().string,o().object]).isRequired,svg:o().oneOfType([o().bool,o().object]),dismissOnClick:o().func,showDismiss:o().bool,title:o().string,adminUrl:o().string,dismiss:o().func},f.defaultProps={svg:!1,showDismiss:!0,dismiss:l.noop,content:"",belowContent:"",title:""},t.Z=f},79644:function(e,t,n){"use strict";n.d(t,{D:function(){return l}});var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(65736),c=n(98486);const __=a.__,l=e=>{let{altText:t}=e;return i().createElement("div",{className:"jp-loading-icon"},i().createElement("img",{src:c.hp+"/jetpack-logomark-blue.svg",alt:t}))};l.propTypes={altText:o().string},l.defaultProps={altText:__("Loading…","jetpack")}},30281:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(74978),c=n(2620),l=n(39370);class u extends o().Component{constructor(){super(...arguments),i()(this,"dismissJetpackActionNotice",(()=>{this.props.dismissJetpackActionNotice(this.props.jetpackNotices)})),i()(this,"renderNotices",(()=>{this.props.jetpackNotices;return!1}))}render(){return o().createElement("div",null,this.renderNotices())}}i()(u,"displayName","DismissableNotices"),t.Z=(0,c.$j)((e=>({jetpackNotices:(0,l.gq)(e),isDismissed:t=>(0,l.jE)(e,t)})),(e=>(0,a.DE)({dismissJetpackActionNotice:l.Sn},e)))(u)},97079:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(65736),c=n(11268),l=n.n(c),u=n(88001),p=n(27951);const __=a.__;class d extends o().Component{render(){return o().createElement(u.Z,{showDismiss:!1,text:this.props.text,status:"is-error",icon:"link-break"},o().createElement(p.Z,{errorCode:this.props.errorCode,errorData:this.props.errorData,action:this.props.action},__("Restore Connection","jetpack")))}}i()(d,"defaultProps",{text:__("Connection Error, please reconnect.","jetpack")}),i()(d,"propTypes",{text:l().string.isRequired,errorCode:l().string,errorData:l().object,action:l().string})},66496:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(12901),p=n(62470),d=n(69307),h=n(65736),f=n(71415),m=n(68103),g=n(30281),v=n(62807),b=n(41147),y=n(66552),k=n(77219),w=n(88872),_=n(98486),E=n(3319),C=n(97031),S=n(51933),j=n(49457),M=n(76306),x=n(88001);const __=h.__;class N extends c().Component{render(){return!(!this.props.isDevVersion||this.props.userIsSubscriber)&&c().createElement(x.Z,{showDismiss:!1,text:__("You are currently running a development version of Jetpack.","jetpack")},c().createElement(S.Z,{href:_.Ez,external:!0},__("Submit Beta feedback","jetpack")))}}i()(N,"displayName","DevVersionNotice"),N.propTypes={isDevVersion:o().bool.isRequired,userIsSubscriber:o().bool.isRequired};class A extends c().Component{render(){if(this.props.isStaging&&!this.props.isInIdentityCrisis){const e=(0,f.Z)("jetpack-support-staging-sites"),t={text:__("You are running Jetpack on a staging server.","jetpack"),status:"is-basic",showDismiss:!1};return c().createElement(x.Z,t,c().createElement(S.Z,{href:e},__("More Info","jetpack")))}return!1}}i()(A,"displayName","StagingSiteNotice"),A.propTypes={isStaging:o().bool.isRequired,isInIdentityCrisis:o().bool.isRequired};class O extends c().Component{render(){if("offline"===this.props.siteConnectionStatus){const e=this.props.siteOfflineMode,t=[];e.filter&&t.push(__("The jetpack_development_mode filter is active","jetpack")),e.constant&&t.push((0,h.sprintf)(
+__("Jetpack version %s","jetpack"),t):"Jetpack"))})(),a().createElement("li",{className:"jp-footer__link-item"},a().createElement("a",{onClick:this.trackAboutClick,href:n,className:"jp-footer__link",title:__("About Jetpack","jetpack")},_x("About","Link to learn more about Jetpack.","jetpack"))),a().createElement("li",{className:"jp-footer__link-item"},a().createElement("a",{onClick:this.trackTermsClick,href:(0,u.Z)("wpcom-tos"),target:"_blank",rel:"noopener noreferrer",title:__("WordPress.com Terms of Service","jetpack"),className:"jp-footer__link"},_x("Terms","Shorthand for Terms of Service.","jetpack"))),a().createElement("li",{className:"jp-footer__link-item"},a().createElement("a",{onClick:this.trackPrivacyClick,href:s,rel:"noopener noreferrer",title:__("Automattic's Privacy Policy","jetpack"),className:"jp-footer__link"},_x("Privacy","Shorthand for Privacy Policy.","jetpack"))),(()=>{if(this.props.siteConnectionStatus&&this.props.userCanManageOptions)return a().createElement("li",{className:"jp-footer__link-item"},a().createElement("a",{onClick:this.trackModulesClick,href:this.props.siteAdminUrl+"admin.php?page=jetpack_modules",title:__("Access the full list of Jetpack modules available on your site.","jetpack"),className:"jp-footer__link"},_x("Modules","Navigation item. Noun. Links to a list of modules for Jetpack.","jetpack")))})(),(()=>{if(this.props.userCanManageOptions)return a().createElement("li",{className:"jp-footer__link-item"},a().createElement("a",{onClick:this.trackDebugClick,href:this.props.siteAdminUrl+"admin.php?page=jetpack-debugger",title:__("Test your site’s compatibility with Jetpack.","jetpack"),className:"jp-footer__link"},_x("Debug","Navigation item. Noun. Links to a debugger tool for Jetpack.","jetpack")))})(),(()=>this.props.isDevVersion&&this.props.userCanManageOptions?a().createElement("li",{className:"jp-footer__link-item"},a().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,k.Z)(this.resetOnClick),onClick:this.resetOnClick,className:"jp-footer__link"},_x("Reset Options (dev only)","Navigation item.","jetpack"))):"")(),(()=>this.props.isDevVersion?a().createElement("li",{className:"jp-footer__link-item"},a().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,k.Z)(this.props.enableDevCard),onClick:this.props.enableDevCard,className:"jp-footer__link"},_x("Dev Tools","Navigation item.","jetpack"))):"")(),(()=>{if(this.props.isDevVersion&&this.props.displayDevCard)return a().createElement(g.Z,null)})()),a().createElement("div",{className:"jp-footer__rna-footer"},a().createElement(d.Z,{a8cLogoHref:n})))}}r()(y,"displayName","Footer"),t.Z=(0,o.$j)((e=>({currentVersion:(0,f.w1)(e),displayDevCard:(0,h.Ry)(e),isAtomicPlatform:(0,f.vL)(e),isDevVersion:(0,f._W)(e),isInIdentityCrisis:(0,v.l9)(e),siteAdminUrl:(0,f.wW)(e),siteConnectionStatus:(0,v.Gz)(e),userCanManageOptions:(0,f.UF)(e)})),(e=>({resetOptions:()=>e((0,h._G)("options")),enableDevCard:()=>e((0,h.vN)())})))(y)},5452:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(5060);class d extends c().Component{render(){const e=p()({"form-input-validation":!0,"is-warning":this.props.isWarning,"is-error":this.props.isError}),t=this.props.isError||this.props.isWarning?"notice-outline":"checkmark";return c().createElement("div",{className:e},c().createElement("span",null,c().createElement(u.Z,{size:24,icon:this.props.icon?this.props.icon:t})," ",this.props.text))}}r()(d,"displayName","FormInputValidation"),r()(d,"propTypes",{isError:a().bool,isWarning:a().bool,text:a().node,icon:a().string}),r()(d,"defaultProps",{isError:!1})},9026:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(5162),c=n.n(o),l=n(1850),p=n.n(l),u=n(9196),d=n.n(u),m=n(2491),h=n.n(m),g=n(2819),f=n(5235),v=n.n(f),k=n(7506);class _ extends d().Component{constructor(){super(...arguments),a()(this,"displayPrompt",(()=>{window.prompt(this.props.prompt,this.props.text)}))}componentDidMount(){const e=p().findDOMNode(this.refs.button);this.clipboard=new(h())(e,{text:()=>this.props.text}),this.clipboard.on("success",this.props.onCopy),this.clipboard.on("error",this.displayPrompt)}componentWillUnmount(){this.clipboard.destroy(),delete this.clipboard}render(){const e=v()("dops-clipboard-button",this.props.className);return d().createElement(k.Z,r()({ref:"button"},(0,g.omit)(this.props,Object.keys(this.constructor.propTypes)),{className:e}))}}a()(_,"displayName","ClipboardButton"),a()(_,"propTypes",{className:c().string,text:c().string,prompt:c().string,onCopy:c().func}),a()(_,"defaultProps",{onCopy:g.noop})},1674:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(2819),d=n(4517);class m extends c().Component{render(){return c().createElement(d.Z,r()({},(0,u.omit)(this.props,"className"),{className:p()(this.props.className,"is-compact")}),this.props.children)}}a()(m,"displayName","CompactFormToggle")},4517:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(8402);class d extends o.Component{constructor(){super(...arguments),r()(this,"state",{showPopover:!1}),r()(this,"togglePopover",(()=>{this.setState({showPopover:!this.state.showPopover})})),r()(this,"_onPopoverClose",(()=>{this.setState({showPopover:!1})})),r()(this,"renderPopover",(()=>c().createElement(u.Z,{isVisible:this.state.showPopover,context:this.refs&&this.refs.toggleSwitch,position:this.props.disabledPopoverPosition,onClose:this._onPopoverClose,className:"dops-info-popover__tooltip"},this.props.disabledReason))),this.onKeyDown=this.onKeyDown.bind(this),this.onClick=this.onClick.bind(this),this.onLabelClick=this.onLabelClick.bind(this)}UNSAFE_componentWillMount(){this.id=this.constructor.idNum++}onKeyDown(e){this.props.disabled||("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown(e))}onClick(){this.props.disabled?this.props.disabledReason&&this.togglePopover():this.props.onChange()}onLabelClick(e){if(this.props.disabled)return;const t=e.target.nodeName.toLowerCase();"a"!==t&&"input"!==t&&"select"!==t&&(e.preventDefault(),this.props.onChange())}render(){const e=this.props.id||"toggle-"+this.id,t=p()("form-toggle",this.props.className,{"is-toggling":this.props.toggling});return c().createElement("span",null,c().createElement("input",{className:t,type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),c().createElement("label",{className:"form-toggle__label",htmlFor:e},c().createElement("span",{className:"form-toggle__switch",disabled:this.props.disabled,id:e,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"checkbox","aria-checked":this.props.checked,"aria-label":this.props["aria-label"],tabIndex:this.props.disabled?-1:0,ref:"toggleSwitch"}),c().createElement("span",{className:"form-toggle__label-content",onClick:this.onLabelClick},this.props.children)),this.renderPopover())}}r()(d,"propTypes",{onChange:a().func,onKeyDown:a().func,checked:a().bool,disabled:a().bool,id:a().string,className:a().string,toggling:a().bool,"aria-label":a().string,children:a().node,disabledReason:a().node}),r()(d,"defaultProps",{checked:!1,disabled:!1,onKeyDown:()=>{},onChange:()=>{},disabledPopoverPosition:"bottom",disabledReason:""}),r()(d,"idNum",0)},1775:function(e,t,n){"use strict";n.d(t,{B1:function(){return y},C_:function(){return g},Gj:function(){return v},ih:function(){return b},lX:function(){return f}});var s=n(8294),r=n.n(s),i=n(2402),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(2819),d=n(5736),m=n(7506),h=n(6200);const __=d.__,g=e=>c().createElement("fieldset",a()({},(0,u.omit)(e,"className"),{className:p()(e.className,"jp-form-fieldset")}),e.children);class f extends c().Component{render(){const{className:e,htmlFor:t,...n}=this.props;return c().createElement("label",a()({},n,{htmlFor:t,className:p()(e,"jp-form-label")}),this.props.children)}}r()(f,"displayName","FormLabel");class v extends c().Component{render(){return c().createElement("legend",a()({},(0,u.omit)(this.props,"className"),{className:p()(this.props.className,"jp-form-legend")}),this.props.children)}}r()(v,"displayName","FormLegend");class k extends c().Component{render(){const e=(0,u.omit)(this.props,["className","type"]);return c().createElement("input",a()({},e,{type:"checkbox",className:p()(this.props.className,"jp-form-checkbox")}))}}r()(k,"displayName","FormInputCheckbox");class _ extends c().Component{constructor(){super(...arguments),r()(this,"focus",(()=>{this.refs.textField.focus()})),r()(this,"selectOnFocus",(e=>{e.target.select()}))}render(){const{className:e,selectOnFocus:t}=this.props,n=p()(e,{"jp-form-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid}),s={};for(const e in this.props)["isError","isValid","selectOnFocus"].includes(e)||(s[e]=this.props[e]);return c().createElement("input",a()({},s,{ref:"textField",className:n,onClick:t?this.selectOnFocus:null}))}}r()(_,"displayName","FormTextInput"),r()(_,"defaultProps",{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"});class y extends c().Component{render(){return c().createElement("textarea",a()({},(0,u.omit)(this.props,"className"),{className:p()(this.props.className,"jp-form-textarea")}),this.props.children)}}r()(y,"displayName","FormTextarea");class E extends c().Component{render(){const e=(0,u.omit)(this.props,["className","type"]);return c().createElement("input",a()({},e,{type:"radio",className:p()(this.props.className,"jp-form-radio")}))}}r()(E,"displayName","FormRadio");class w extends c().Component{constructor(){super(...arguments),r()(this,"getDefaultButtonAction",(()=>this.props.isSubmitting?__("Saving…","jetpack"):__("Save Settings","jetpack",0)))}render(){const e=p()({"jp-form-button":!0});return c().createElement(m.Z,a()({},(0,u.omit)(this.props,"className"),{variant:this.props.isPrimary?"primary":void 0,className:p()(this.props.className,e)}),(0,u.isEmpty)(this.props.children)?this.getDefaultButtonAction():this.props.children)}}r()(w,"displayName","FormsButton"),r()(w,"defaultProps",{isSubmitting:!1,isPrimary:!0,type:"submit"});class b extends c().Component{constructor(){super(...arguments),r()(this,"handleOnSelect",(e=>{this.props.onOptionChange({target:{type:"select",name:this.props.name,value:e.value}})}))}render(){const e=[];return(0,u.forOwn)(this.props.validValues,((t,n)=>{e.push({label:t,value:n})})),c().createElement(h.Z,{options:e,onSelect:this.handleOnSelect,disabled:this.props.disabled,initialSelected:this.props.value})}}},7851:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(1128),p=n.n(l),u=n(1668),d=n(2099),m=n(1088),h=n(9309),g=n(835),f=n(1549);const v=p()("calypso:notices");class k extends c().Component{constructor(){super(...arguments),r()(this,"removeNotice",(e=>{e&&m.Z.removeNotice(e)})),r()(this,"handleLocalNoticeDismissClick",(e=>()=>this.removeNotice(e))),r()(this,"handleReduxNoticeDismissClick",(e=>()=>this.props.removeNotice(e)))}UNSAFE_componentWillMount(){v("Mounting Global Notices React component.")}render(){let e=(this.props.notices[this.props.id]||[]).map((function(e,t){return c().createElement(u.Z,{key:"notice-old-"+t,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:this.handleLocalNoticeDismissClick(e),showDismiss:e.showDismiss},e.button&&c().createElement(d.Z,{href:e.href,onClick:e.onClick},e.button))}),this);return e=e.concat(this.props.storeNotices.map((function(e,t){return c().createElement(u.Z,{key:"notice-"+t,status:e.status,duration:e.duration||null,showDismiss:e.showDismiss,onDismissClick:this.handleReduxNoticeDismissClick(e.noticeId),text:e.text})}),this)),e.length?c().createElement("div",{id:this.props.id,className:"global-notices"},e):null}}r()(k,"displayName","NoticesList"),r()(k,"propTypes",{id:a().string,notices:a().oneOfType([a().object,a().array])}),r()(k,"defaultProps",{id:"overlay-notices",notices:Object.freeze([])}),t.Z=(0,h.$j)((e=>({storeNotices:e.globalNotices})),(e=>(0,g.DE)({removeNotice:f.qq},e)))(k)},5901:function(e,t,n){"use strict";n.d(t,{m:function(){return r},o:function(){return s}});const s="NEW_NOTICE",r="REMOVE_NOTICE"},1549:function(e,t,n){"use strict";n.d(t,{RT:function(){return o},iI:function(){return a},qq:function(){return i},tF:function(){return c}});var s=n(2819),r=n(5901);function i(e){return{noticeId:e,type:r.m}}function a(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i={noticeId:n.id||(0,s.uniqueId)(),duration:n.duration,showDismiss:"boolean"!=typeof n.showDismiss||n.showDismiss,isPersistent:n.isPersistent||!1,displayOnNextPage:n.displayOnNextPage||!1,status:e,text:t};return{type:r.o,notice:i}}const o=a.bind(null,"is-success"),c=a.bind(null,"is-error");a.bind(null,"is-info"),a.bind(null,"is-warning")},3929:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var s=n(835),r=n(5901);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.o:return[t.notice,...e];case r.m:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,s.UY)({globalNotices:i})},5060:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l);class u extends c().PureComponent{needsOffset(e,t){return["gridicons-add-outline","gridicons-add","gridicons-align-image-center","gridicons-align-image-left","gridicons-align-image-none","gridicons-align-image-right","gridicons-attachment","gridicons-backspace","gridicons-bold","gridicons-bookmark-outline","gridicons-bookmark","gridicons-calendar","gridicons-cart","gridicons-create","gridicons-custom-post-type","gridicons-external","gridicons-folder","gridicons-heading","gridicons-help-outline","gridicons-help","gridicons-history","gridicons-info-outline","gridicons-info","gridicons-italic","gridicons-layout-blocks","gridicons-link-break","gridicons-link","gridicons-list-checkmark","gridicons-list-ordered","gridicons-list-unordered","gridicons-menus","gridicons-minus","gridicons-my-sites","gridicons-notice-outline","gridicons-notice","gridicons-plans","gridicons-plus-small","gridicons-plus","gridicons-popout","gridicons-posts","gridicons-scheduled","gridicons-share-ios","gridicons-star-outline","gridicons-star","gridicons-stats","gridicons-status","gridicons-thumbs-up","gridicons-textcolor","gridicons-time","gridicons-trophy","gridicons-user-circle"].indexOf(e)>=0&&t%18==0}needsOffsetX(e,t){return["gridicons-arrow-down","gridicons-arrow-up","gridicons-comment","gridicons-clear-formatting","gridicons-flag","gridicons-menu","gridicons-reader","gridicons-strikethrough"].indexOf(e)>=0&&t%18==0}needsOffsetY(e,t){return["gridicons-align-center","gridicons-align-justify","gridicons-align-left","gridicons-align-right","gridicons-arrow-left","gridicons-arrow-right","gridicons-house","gridicons-indent-left","gridicons-indent-right","gridicons-minus-small","gridicons-print","gridicons-sign-out","gridicons-stats-alt","gridicons-trash","gridicons-underline","gridicons-video-camera"].indexOf(e)>=0&&t%18==0}render(){const e="gridicons-"+this.props.icon,t=this.needsOffset(e,this.props.size),n=this.needsOffsetX(e,this.props.size),s=this.needsOffsetY(e,this.props.size),r=p()("gridicon",e,this.props.className,{"needs-offset":t,"needs-offset-x":n,"needs-offset-y":s});let i;switch(e){default:i=c().createElement("svg",{height:this.props.size,width:this.props.size});break;case"gridicons-add-image":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M23 4v2h-3v3h-2V6h-3V4h3V1h2v3h3zm-8.5 7c.828 0 1.5-.672 1.5-1.5S15.328 8 14.5 8 13 8.672 13 9.5s.672 1.5 1.5 1.5zm3.5 3.234l-.513-.57c-.794-.885-2.18-.885-2.976 0l-.655.73L9 9l-3 3.333V6h7V4H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2v-7h-2v3.234z"})));break;case"gridicons-add-outline":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z"})));break;case"gridicons-add":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"})));break;case"gridicons-align-center":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 19h16v-2H4v2zm13-6H7v2h10v-2zM4 9v2h16V9H4zm13-4H7v2h10V5z"})));break;case"gridicons-align-image-center":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm5-4h8V9H8v6z"})));break;case"gridicons-align-image-left":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm0-4h8V9H3v6zm10 0h8v-2h-8v2zm0-4h8V9h-8v2z"})));break;case"gridicons-align-image-none":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zM11 9H3v6h8V9z"})));break;case"gridicons-align-image-right":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zm0-8h-8v6h8V9zm-10 4H3v2h8v-2zm0-4H3v2h8V9z"})));break;case"gridicons-align-justify":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 19h16v-2H4v2zm16-6H4v2h16v-2zM4 9v2h16V9H4zm16-4H4v2h16V5z"})));break;case"gridicons-align-left":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 19h16v-2H4v2zm10-6H4v2h10v-2zM4 9v2h16V9H4zm10-4H4v2h10V5z"})));break;case"gridicons-align-right":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 17H4v2h16v-2zm-10-2h10v-2H10v2zM4 9v2h16V9H4zm6-2h10V5H10v2z"})));break;case"gridicons-arrow-down":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M11 4v12.17l-5.59-5.59L4 12l8 8 8-8-1.41-1.41L13 16.17V4h-2z"})));break;case"gridicons-arrow-left":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"})));break;case"gridicons-arrow-right":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})));break;case"gridicons-arrow-up":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M13 20V7.83l5.59 5.59L20 12l-8-8-8 8 1.41 1.41L11 7.83V20h2z"})));break;case"gridicons-aside":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14 20l6-6V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h8zM6 6h12v6h-4c-1.105 0-2 .895-2 2v4H6V6zm10 4H8V8h8v2z"})));break;case"gridicons-attachment":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14 1c-2.762 0-5 2.238-5 5v10c0 1.657 1.343 3 3 3s2.99-1.343 2.99-3V6H13v10c0 .553-.447 1-1 1-.553 0-1-.447-1-1V6c0-1.657 1.343-3 3-3s3 1.343 3 3v10.125C17 18.887 14.762 21 12 21s-5-2.238-5-5v-5H5v5c0 3.866 3.134 7 7 7s6.99-3.134 6.99-7V6c0-2.762-2.228-5-4.99-5z"})));break;case"gridicons-audio":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-backspace":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 7H8l-5 5 5 5h11c1.104 0 2-.896 2-2V9c0-1.104-.896-2-2-2zm-.647 6.646l-.707.707L16 12.707l-1.647 1.647-.707-.707L15.293 12l-1.647-1.646.707-.707L16 11.293l1.646-1.647.707.707L16.707 12l1.646 1.646z"})));break;case"gridicons-bell":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6.14 14.97l2.828 2.827c-.362.362-.862.586-1.414.586-1.105 0-2-.895-2-2 0-.552.224-1.052.586-1.414zm8.867 5.324L14.3 21 3 9.7l.706-.707 1.102.157c.754.108 1.69-.122 2.077-.51l3.885-3.884c2.34-2.34 6.135-2.34 8.475 0s2.34 6.135 0 8.475l-3.885 3.886c-.388.388-.618 1.323-.51 2.077l.157 1.1z"})));break;case"gridicons-block":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-bold":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M7 5.01h4.547c2.126 0 3.67.302 4.632.906.96.605 1.44 1.567 1.44 2.887 0 .896-.21 1.63-.63 2.205-.42.574-.98.92-1.678 1.036v.103c.95.212 1.637.608 2.057 1.19.42.58.63 1.35.63 2.315 0 1.367-.494 2.434-1.482 3.2-.99.765-2.332 1.148-4.027 1.148H7V5.01zm3 5.936h2.027c.862 0 1.486-.133 1.872-.4.386-.267.578-.708.578-1.323 0-.574-.21-.986-.63-1.236-.42-.25-1.087-.374-1.996-.374H10v3.333zm0 2.523v3.905h2.253c.876 0 1.52-.167 1.94-.502.416-.335.625-.848.625-1.54 0-1.243-.89-1.864-2.668-1.864H10z"})));break;case"gridicons-book":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 3h2v18H4zM18 3H7v18h11c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 6h-6V8h6v1zm0-2h-6V6h6v1z"})));break;case"gridicons-bookmark-outline":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 5v12.554l-5-2.857-5 2.857V5h10m0-2H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-bookmark":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 3H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-briefcase":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 6h-4V3c0-.5-.5-1-1-1H8c-.5 0-1 .5-1 1v3H3c-.6 0-1 .4-1 1v5h20V7c0-.6-.4-1-1-1zm-6 0H9V4h6v2zM14 15h-4v-2H2v8c0 .6.4 1 1 1h18c.6 0 1-.4 1-1v-8h-8v2z"})));break;case"gridicons-calendar":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-camera":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 12c0 1.7-1.3 3-3 3s-3-1.3-3-3 1.3-3 3-3 3 1.3 3 3zm5-5v11c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2V4h4v1h2l1-2h6l1 2h2c1.1 0 2 .9 2 2zM7.5 9c0-.8-.7-1.5-1.5-1.5S4.5 8.2 4.5 9s.7 1.5 1.5 1.5S7.5 9.8 7.5 9zM19 12c0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5 5-2.2 5-5z"})));break;case"gridicons-cart":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-checkmark-circle":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-checkmark":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"})));break;case"gridicons-chevron-down":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"})));break;case"gridicons-chevron-left":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586"})));break;case"gridicons-chevron-right":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586"})));break;case"gridicons-chevron-up":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 15l8-8 8 8-1.414 1.414L12 9.828l-6.586 6.586"})));break;case"gridicons-clear-formatting":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10.837 10.163l-4.6 4.6L10 4h4l.777 2.223-2.144 2.144-.627-2.092-1.17 3.888zm5.495.506L19.244 19H15.82l-1.05-3.5H11.5L5 22l-1.5-1.5 17-17L22 5l-5.668 5.67zm-2.31 2.31l-.032.03.032-.01v-.02z"})));break;case"gridicons-clipboard":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 18H8v-2h8v2zm0-6H8v2h8v-2zm2-9h-2v2h2v15H6V5h2V3H6c-1.105 0-2 .895-2 2v15c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-4 2V4c0-1.105-.895-2-2-2s-2 .895-2 2v1c-1.105 0-2 .895-2 2v1h8V7c0-1.105-.895-2-2-2z"})));break;case"gridicons-cloud-download":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-6 7l-4-5h3V8h2v3h3l-4 5z"})));break;case"gridicons-cloud-outline":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M11.5 5c2.336 0 4.304 1.825 4.48 4.154l.142 1.86 1.867-.012h.092C19.698 11.043 21 12.37 21 14c0 .748-.28 1.452-.783 2H3.28c-.156-.256-.28-.59-.28-1 0-1.074.85-1.953 1.915-1.998.06.007.118.012.178.015l2.66.124-.622-2.587C7.044 10.186 7 9.843 7 9.5 7 7.02 9.02 5 11.5 5m0-2C7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5l-.025.002C17.72 5.646 14.922 3 11.5 3z"})));break;case"gridicons-cloud-upload":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-5 4v3h-2v-3H8l4-5 4 5h-3z"})));break;case"gridicons-cloud":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5z"})));break;case"gridicons-code":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4.83 12l4.58 4.59L8 18l-6-6 6-6 1.41 1.41L4.83 12zm9.76 4.59L16 18l6-6-6-6-1.41 1.41L19.17 12l-4.58 4.59z"})));break;case"gridicons-cog":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 12c0-.568-.06-1.122-.174-1.656l1.834-1.612-2-3.464-2.322.786c-.82-.736-1.787-1.308-2.86-1.657L14 2h-4l-.48 2.396c-1.07.35-2.04.92-2.858 1.657L4.34 5.268l-2 3.464 1.834 1.612C4.06 10.878 4 11.432 4 12s.06 1.122.174 1.656L2.34 15.268l2 3.464 2.322-.786c.82.736 1.787 1.308 2.86 1.657L10 22h4l.48-2.396c1.07-.35 2.038-.92 2.858-1.657l2.322.786 2-3.464-1.834-1.613c.113-.535.174-1.09.174-1.657zm-8 4c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"})));break;case"gridicons-comment":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-computer":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-create":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 11v8c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h8l-2 2H5v14h14v-6l2-2zM7 17h3l7.5-7.5-3-3L7 14v3zm9.94-12.94L15.5 5.5l3 3 1.44-1.44c.585-.585.585-1.535 0-2.12l-.88-.88c-.585-.585-1.535-.585-2.12 0z"})));break;case"gridicons-credit-card":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})));break;case"gridicons-crop":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M22 16h-4V8c0-1.105-.895-2-2-2H8V2H6v4H2v2h4v8c0 1.105.895 2 2 2h8v4h2v-4h4v-2zM8 16V8h8v8H8z"})));break;case"gridicons-cross-small":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})));break;case"gridicons-cross":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"})));break;case"gridicons-custom-post-type":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"})));break;case"gridicons-customize":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M2 6c0-1.505.78-3.08 2-4 0 .845.69 2 2 2 1.657 0 3 1.343 3 3 0 .386-.08.752-.212 1.09.74.594 1.476 1.19 2.19 1.81L8.9 11.98c-.62-.716-1.214-1.454-1.807-2.192C6.753 9.92 6.387 10 6 10c-2.21 0-4-1.79-4-4zm12.152 6.848l1.34-1.34c.607.304 1.283.492 2.008.492 2.485 0 4.5-2.015 4.5-4.5 0-.725-.188-1.4-.493-2.007L18 9l-2-2 3.507-3.507C18.9 3.188 18.225 3 17.5 3 15.015 3 13 5.015 13 7.5c0 .725.188 1.4.493 2.007L3 20l2 2 6.848-6.848c1.885 1.928 3.874 3.753 5.977 5.45l1.425 1.148 1.5-1.5-1.15-1.425c-1.695-2.103-3.52-4.092-5.448-5.977z"})));break;case"gridicons-dropdown":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M7 10l5 5 5-5"})));break;case"gridicons-ellipsis":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M7 12c0 1.104-.896 2-2 2s-2-.896-2-2 .896-2 2-2 2 .896 2 2zm12-2c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2zm-7 0c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2z"})));break;case"gridicons-external":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-flag":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M15 6c0-1.105-.895-2-2-2H5v17h2v-7h5c0 1.105.895 2 2 2h6V6h-5z"})));break;case"gridicons-flip-horizontal":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 18v-5h3v-2h-3V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v5H1v2h3v5c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2zM6 6h12v5H6V6z"})));break;case"gridicons-flip-vertical":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 4h-5V1h-2v3H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h5v3h2v-3h5c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 18V6h5v12H6z"})));break;case"gridicons-folder-multiple":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 8c-1.105 0-2 .895-2 2v10c0 1.1.9 2 2 2h14c1.105 0 2-.895 2-2H4V8zm16 10H8c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2h7c1.105 0 2 .895 2 2v8c0 1.105-.895 2-2 2z"})));break;case"gridicons-folder":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-globe":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18l2-2 1-1v-2h-2v-1l-1-1H9v3l2 2v1.93c-3.94-.494-7-3.858-7-7.93l1 1h2v-2h2l3-3V6h-2L9 5v-.41C9.927 4.21 10.94 4 12 4s2.073.212 3 .59V6l-1 1v2l1 1 3.13-3.13c.752.897 1.304 1.964 1.606 3.13H18l-2 2v2l1 1h2l.286.286C18.03 18.06 15.24 20 12 20z"})));break;case"gridicons-grid":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M8 8H4V4h4v4zm6-4h-4v4h4V4zm6 0h-4v4h4V4zM8 10H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4zM8 16H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4z"})));break;case"gridicons-heading":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 20h-3v-6H9v6H6V5.01h3V11h6V5.01h3V20z"})));break;case"gridicons-heart-outline":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-heart":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-help-outline":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"})));break;case"gridicons-help":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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-2h2v2zm2.003-6.41c-.23.36-.6.704-1.108 1.028-.43.28-.7.482-.808.61-.108.13-.163.283-.163.46V13H11.04v-.528c0-.4.08-.74.245-1.017.163-.276.454-.546.872-.808.332-.21.57-.397.716-.565.145-.168.217-.36.217-.577 0-.172-.077-.308-.233-.41-.156-.1-.358-.15-.608-.15-.62 0-1.342.22-2.17.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.286z"})));break;case"gridicons-history":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M2.12 13.526c.742 4.78 4.902 8.47 9.88 8.47 5.5 0 10-4.5 10-9.998S17.5 2 12 2C8.704 2 5.802 3.6 4 6V2H2.003L2 9h7V7H5.8c1.4-1.8 3.702-3 6.202-3C16.4 4 20 7.6 20 11.998s-3.6 8-8 8c-3.877 0-7.13-2.795-7.848-6.472H2.12z"}),c().createElement("path",{d:"M11.002 7v5.3l3.2 4.298 1.6-1.197-2.8-3.7V7"})));break;case"gridicons-house":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z"})));break;case"gridicons-image-multiple":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-image":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-indent-left":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 20h2V4h-2v16zM2 11h10.172l-2.086-2.086L11.5 7.5 16 12l-4.5 4.5-1.414-1.414L12.172 13H2v-2z"})));break;case"gridicons-indent-right":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6 4H4v16h2V4zm16 9H11.828l2.086 2.086L12.5 16.5 8 12l4.5-4.5 1.414 1.414L11.828 11H22v2z"})));break;case"gridicons-info-outline":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-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"})));break;case"gridicons-info":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-ink":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M5 15c0 3.866 3.134 7 7 7s7-3.134 7-7c0-1.387-.41-2.677-1.105-3.765h.007L12 2l-5.903 9.235h.007C5.41 12.323 5 13.613 5 15z"})));break;case"gridicons-institution":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M2 19h20v3H2zM12 2L2 6v2h20V6M17 10h3v7h-3zM10.5 10h3v7h-3zM4 10h3v7H4z"})));break;case"gridicons-italic":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10.536 5l-.427 2h1.5L9.262 18h-1.5l-.427 2h6.128l.426-2h-1.5l2.347-11h1.5l.427-2"})));break;case"gridicons-layout-blocks":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 7h-2V3c0-1.105-.895-2-2-2H7c-1.105 0-2 .895-2 2v2H3c-1.105 0-2 .895-2 2v4c0 1.105.895 2 2 2h2v8c0 1.105.895 2 2 2h10c1.105 0 2-.895 2-2v-2h2c1.105 0 2-.895 2-2V9c0-1.105-.895-2-2-2zm-4 14H7v-8h2c1.105 0 2-.895 2-2V7c0-1.105-.895-2-2-2H7V3h10v4h-2c-1.105 0-2 .895-2 2v8c0 1.105.895 2 2 2h2v2zm4-4h-6V9h6v8z"})));break;case"gridicons-layout":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M8 20H5c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2v12c0 1.105-.895 2-2 2zm8-10h4c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2h-4c-1.105 0-2 .895-2 2v3c0 1.105.895 2 2 2zm5 10v-6c0-1.105-.895-2-2-2h-5c-1.105 0-2 .895-2 2v6c0 1.105.895 2 2 2h5c1.105 0 2-.895 2-2z"})));break;case"gridicons-link-break":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10 11l-2 2H7v-2h3zm9.64-3.64L22 5l-1.5-1.5-17 17L5 22l9-9h3v-2h-1l2-2c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1c2.21 0 4-1.79 4-4v-2c0-1.623-.97-3.013-2.36-3.64zM4.36 16.64L6 15c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.63 7 7 7H6c-2.21 0-4 1.79-4 4v2c0 1.623.97 3.013 2.36 3.64z"})));break;case"gridicons-link":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.63 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 2h1c2.21 0 4-1.79 4-4v-2c0-2.21-1.79-4-4-4zM2 11v2c0 2.21 1.79 4 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.63 7 7 7H6c-2.21 0-4 1.79-4 4z"})));break;case"gridicons-list-checkmark":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9.5 15.5L5 20l-2.5-2.5 1.06-1.06L5 17.88l3.44-3.44L9.5 15.5zM10 5v2h11V5H10zm0 14h11v-2H10v2zm0-6h11v-2H10v2zM8.44 8.44L5 11.88l-1.44-1.44L2.5 11.5 5 14l4.5-4.5-1.06-1.06zm0-6L5 5.88 3.56 4.44 2.5 5.5 5 8l4.5-4.5-1.06-1.06z"})));break;case"gridicons-list-ordered":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M8 19h13v-2H8v2zm0-6h13v-2H8v2zm0-8v2h13V5H8zm-4.425.252c.107-.096.197-.188.27-.275-.013.228-.02.48-.02.756V8h1.176V3.717H3.96L2.487 4.915l.6.738.487-.4zm.334 7.764c.474-.426.784-.715.93-.867.145-.153.26-.298.35-.436.087-.138.152-.278.194-.42.042-.143.063-.298.063-.466 0-.225-.06-.427-.18-.608s-.29-.32-.507-.417c-.218-.1-.465-.148-.742-.148-.22 0-.42.022-.596.067s-.34.11-.49.195c-.15.085-.337.226-.558.423l.636.744c.174-.15.33-.264.467-.34.138-.078.274-.117.41-.117.13 0 .232.032.304.097.073.064.11.152.11.264 0 .09-.02.176-.055.258-.036.082-.1.18-.192.294-.092.114-.287.328-.586.64L2.42 13.238V14h3.11v-.955H3.91v-.03zm.53 4.746v-.018c.306-.086.54-.225.702-.414.162-.19.243-.42.243-.685 0-.31-.126-.55-.378-.727-.252-.176-.6-.264-1.043-.264-.307 0-.58.033-.816.1s-.47.178-.696.334l.48.773c.293-.183.576-.274.85-.274.147 0 .263.027.35.082s.13.14.13.252c0 .3-.294.45-.882.45h-.27v.87h.264c.217 0 .393.017.527.05.136.03.233.08.294.143.06.064.09.154.09.27 0 .153-.057.265-.173.337-.115.07-.3.106-.554.106-.164 0-.343-.022-.538-.07-.194-.044-.385-.115-.573-.21v.96c.228.088.44.148.637.182.196.033.41.05.64.05.56 0 .998-.114 1.314-.343.315-.228.473-.542.473-.94.002-.585-.356-.923-1.07-1.013z"})));break;case"gridicons-list-unordered":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-location":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 9c0-3.866-3.134-7-7-7S5 5.134 5 9c0 1.387.41 2.677 1.105 3.765h-.008C8.457 16.46 12 22 12 22l5.903-9.235h-.007C18.59 11.677 19 10.387 19 9zm-7 3c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"})));break;case"gridicons-lock":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 8h-1V7c0-2.757-2.243-5-5-5S7 4.243 7 7v1H6c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V10c0-1.105-.895-2-2-2zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v1H9V7zm4 8.723V18h-2v-2.277c-.595-.346-1-.984-1-1.723 0-1.105.895-2 2-2s2 .895 2 2c0 .738-.405 1.376-1 1.723z"})));break;case"gridicons-mail":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"gridicons-mention":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10v-2c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8v.5c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5V12c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.65 0 3.102-.81 4.013-2.043C16.648 15.6 17.527 16 18.5 16c1.93 0 3.5-1.57 3.5-3.5V12c0-5.523-4.477-10-10-10zm0 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z"})));break;case"gridicons-menu":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 6v2H3V6h18zM3 18h18v-2H3v2zm0-5h18v-2H3v2z"})));break;case"gridicons-menus":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9 19h10v-2H9v2zm0-6h6v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-microphone":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 13c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2-1.105 0-2 .896-2 2v5c0 1.104.895 2 2 2zm4-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6c0 2.972 2.164 5.433 5 5.91V20h2v-3.09c2.836-.478 5-2.94 5-5.91h-2z"})));break;case"gridicons-minus-small":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6 11h12v2H6z"})));break;case"gridicons-minus":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 11h18v2H3z"})));break;case"gridicons-my-sites-horizon":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10.986 13.928l.762-2.284-1.324-3.63c-.458-.026-.892-.08-.892-.08-.458-.027-.405-.727.054-.7 0 0 1.403.107 2.24.107.888 0 2.265-.107 2.265-.107.46-.027.513.646.055.7 0 0-.46.055-.973.082l2.006 5.966c-.875-.034-1.74-.053-2.6-.06l-.428-1.177-.403 1.17c-.252.002-.508.01-.76.015zm-7.156.393c-.21-.737-.33-1.514-.33-2.32 0-1.232.264-2.402.736-3.46l2.036 5.58c.85-.06 1.69-.104 2.526-.138L6.792 8.015c.512-.027.973-.08.973-.08.458-.055.404-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.036-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .674-.244 1.463-.572 2.51.3.02.604.043.907.066l.798-2.307c.486-1.212.647-2.18.647-3.043 0-.313-.02-.603-.057-.874.662 1.21 1.04 2.6 1.04 4.077 0 .807-.128 1.58-.34 2.32.5.05 1.006.112 1.51.17.205-.798.33-1.628.33-2.49 0-5.523-4.477-10-10-10S2 6.477 2 12c0 .862.125 1.692.33 2.49.5-.057 1.003-.12 1.5-.17zm14.638 3.168C16.676 19.672 14.118 20.5 12 20.5c-1.876 0-4.55-.697-6.463-3.012-.585.048-1.174.1-1.77.16C5.572 20.272 8.578 22 12 22c3.422 0 6.43-1.73 8.232-4.35-.593-.063-1.18-.114-1.764-.162zM12 15.01c-3.715 0-7.368.266-10.958.733.18.41.35.825.506 1.247 3.427-.43 6.91-.68 10.452-.68s7.025.25 10.452.68c.156-.422.327-.836.506-1.246-3.59-.467-7.243-.734-10.958-.734z"})));break;case"gridicons-my-sites":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM3.5 12c0-1.232.264-2.402.736-3.46L8.29 19.65C5.456 18.272 3.5 15.365 3.5 12zm8.5 8.5c-.834 0-1.64-.12-2.4-.345l2.55-7.41 2.613 7.157c.017.042.038.08.06.117-.884.31-1.833.48-2.823.48zm1.172-12.485c.512-.027.973-.08.973-.08.458-.055.404-.728-.054-.702 0 0-1.376.108-2.265.108-.835 0-2.24-.107-2.24-.107-.458-.026-.51.674-.053.7 0 0 .434.055.892.082l1.324 3.63-1.86 5.578-3.096-9.208c.512-.027.973-.08.973-.08.458-.055.403-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.037-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .727-.28 1.572-.646 2.748l-.848 2.833-3.072-9.138zm3.1 11.332l2.597-7.506c.484-1.212.645-2.18.645-3.044 0-.313-.02-.603-.057-.874.664 1.21 1.042 2.6 1.042 4.078 0 3.136-1.7 5.874-4.227 7.347z"})));break;case"gridicons-not-visible":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M1 12s4.188-6 11-6c.947 0 1.84.12 2.678.322L8.36 12.64C8.133 12.14 8 11.586 8 11c0-.937.335-1.787.875-2.47C6.483 9.344 4.66 10.917 3.62 12c.68.707 1.696 1.62 2.98 2.398L5.15 15.85C2.498 14.13 1 12 1 12zm22 0s-4.188 6-11 6c-.946 0-1.836-.124-2.676-.323L5 22l-1.5-1.5 17-17L22 5l-3.147 3.147C21.5 9.87 23 12 23 12zm-2.615.006c-.678-.708-1.697-1.624-2.987-2.403L16 11c0 2.21-1.79 4-4 4l-.947.947c.31.03.624.053.947.053 3.978 0 6.943-2.478 8.385-3.994z"})));break;case"gridicons-notice-outline":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})));break;case"gridicons-notice":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-pages":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-pencil":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M13 6l5 5-9.507 9.507c-.686-.686-.69-1.794-.012-2.485l-.002-.003c-.69.676-1.8.673-2.485-.013-.677-.677-.686-1.762-.036-2.455l-.008-.008c-.694.65-1.78.64-2.456-.036L13 6zm7.586-.414l-2.172-2.172c-.78-.78-2.047-.78-2.828 0L14 5l5 5 1.586-1.586c.78-.78.78-2.047 0-2.828zM3 18v3h3c0-1.657-1.343-3-3-3z"})));break;case"gridicons-phone":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-plans":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-1 12H6l5-10v10zm2 6V10h5l-5 10z"})));break;case"gridicons-plugins":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 8V3c0-.552-.448-1-1-1s-1 .448-1 1v5h-4V3c0-.552-.448-1-1-1s-1 .448-1 1v5H5v4c0 2.79 1.637 5.193 4 6.317V22h6v-3.683c2.363-1.124 4-3.527 4-6.317V8h-3z"})));break;case"gridicons-plus-small":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 11h-5V6h-2v5H6v2h5v5h2v-5h5"})));break;case"gridicons-plus":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 13h-7v7h-2v-7H4v-2h7V4h2v7h7v2z"})));break;case"gridicons-popout":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6 7V5c0-1.105.895-2 2-2h11c1.105 0 2 .895 2 2v14c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2v-2h2v2h11V5H8v2H6zm5.5-.5l-1.414 1.414L13.172 11H3v2h10.172l-3.086 3.086L11.5 17.5 17 12l-5.5-5.5z"})));break;case"gridicons-posts":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"})));break;case"gridicons-print":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3c0 1.105-.895 2-2 2H7c-1.105 0-2-.895-2-2v-3H2V9c0-1.105.895-2 2-2h1V5c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2v2h1c1.105 0 2 .895 2 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5.672 1.5 1.5 1.5 1.5-.672 1.5-1.5z"})));break;case"gridicons-quote":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M11.192 15.757c0-.88-.23-1.618-.69-2.217-.326-.412-.768-.683-1.327-.812-.55-.128-1.07-.137-1.54-.028-.16-.95.1-1.956.76-3.022.66-1.065 1.515-1.867 2.558-2.403L9.373 5c-.8.396-1.56.898-2.26 1.505-.71.607-1.34 1.305-1.9 2.094s-.98 1.68-1.25 2.69-.346 2.04-.217 3.1c.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003zm9.124 0c0-.88-.23-1.618-.69-2.217-.326-.42-.77-.692-1.327-.817-.56-.124-1.074-.13-1.54-.022-.16-.94.09-1.95.75-3.02.66-1.06 1.514-1.86 2.557-2.4L18.49 5c-.8.396-1.555.898-2.26 1.505-.708.607-1.34 1.305-1.894 2.094-.556.79-.97 1.68-1.24 2.69-.273 1-.345 2.04-.217 3.1.165 1.4.615 2.52 1.35 3.35.732.833 1.646 1.25 2.742 1.25.967 0 1.768-.29 2.402-.876.627-.576.942-1.365.942-2.368v.01z"})));break;case"gridicons-reader":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 4v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4H3zm7 11H5v-1h5v1zm2-2H5v-1h7v1zm0-2H5v-1h7v1zm7 4h-5v-5h5v5zm0-7H5V6h14v2z"})));break;case"gridicons-reader-following":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M23,13.482L15.508,21L12,17.4l1.412-1.388l2.106,2.188l6.094-6.094L23,13.482z M15.545,15.344L20,10.889V2H2v14c0,1.1,0.9,2,2,2h4.538l4.913-4.832L15.545,15.344z M8,13H4v-1h4V13z M11,11H4v-1h7V11z M11,9H4V8h7V9z M18,6H4V4h14V6z"})));break;case"gridicons-reblog":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M22.086 9.914L20 7.828V18c0 1.105-.895 2-2 2h-7v-2h7V7.828l-2.086 2.086L14.5 8.5 19 4l4.5 4.5-1.414 1.414zM6 16.172V6h7V4H6c-1.105 0-2 .895-2 2v10.172l-2.086-2.086L.5 15.5 5 20l4.5-4.5-1.414-1.414L6 16.172z"})));break;case"gridicons-redo":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 6v3.586L14.343 5.93C13.17 4.756 11.636 4.17 10.1 4.17s-3.07.585-4.242 1.757c-2.343 2.342-2.343 6.14 0 8.484l5.364 5.364 1.414-1.414L7.272 13c-1.56-1.56-1.56-4.097 0-5.657.755-.755 1.76-1.172 2.828-1.172 1.068 0 2.073.417 2.828 1.173L16.586 11H13v2h7V6h-2z"})));break;case"gridicons-refresh":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z"})));break;case"gridicons-reply":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14 8H6.828l2.586-2.586L8 4 3 9l5 5 1.414-1.414L6.828 10H14c2.206 0 4 1.794 4 4s-1.794 4-4 4h-2v2h2c3.314 0 6-2.686 6-6s-2.686-6-6-6z"})));break;case"gridicons-rotate":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 14v6c0 1.105-.895 2-2 2H6c-1.105 0-2-.895-2-2v-6c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2zM13.914 2.914L11.828 5H14c4.418 0 8 3.582 8 8h-2c0-3.308-2.692-6-6-6h-2.172l2.086 2.086L12.5 10.5 8 6l1.414-1.414L12.5 1.5l1.414 1.414z"})));break;case"gridicons-scheduled":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10.498 18l-3.705-3.704 1.415-1.415 2.294 2.295 5.293-5.293 1.415 1.415L10.498 18zM21 6v13c0 1.104-.896 2-2 2H5c-1.104 0-2-.896-2-2V6c0-1.104.896-2 2-2h1V2h2v2h8V2h2v2h1c1.104 0 2 .896 2 2zm-2 2H5v11h14V8z"})));break;case"gridicons-search":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-share-ios":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 8h2c1.105 0 2 .895 2 2v9c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2v-9c0-1.105.895-2 2-2h2v2H5v9h14v-9h-2V8zM6.5 5.5l1.414 1.414L11 3.828V14h2V3.828l3.086 3.086L17.5 5.5 12 0 6.5 5.5z"})));break;case"gridicons-share":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 16c-.788 0-1.5.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.118c-.053.223-.088.453-.088.692 0 1.657 1.343 3 3 3s3-1.343 3-3-1.343-3-3-3z"})));break;case"gridicons-sign-out":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 17v2c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h9c1.105 0 2 .895 2 2v2h-2V5H5v14h9v-2h2zm2.5-10.5l-1.414 1.414L20.172 11H10v2h10.172l-3.086 3.086L18.5 17.5 24 12l-5.5-5.5z"})));break;case"gridicons-spam":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 2H7L2 7v10l5 5h10l5-5V7l-5-5zm-4 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-speaker":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 8v6c1.7 0 3-1.3 3-3s-1.3-3-3-3zM11 7H4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h1v3c0 1.1.9 2 2 2h2v-5h2l4 4h2V3h-2l-4 4z"})));break;case"gridicons-special-character":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12.005 7.418c-1.237 0-2.19.376-2.86 1.128s-1.005 1.812-1.005 3.18c0 1.387.226 2.513.677 3.377.45.865 1.135 1.543 2.05 2.036V20H5v-2.666h3.12c-1.04-.636-1.842-1.502-2.405-2.6-.564-1.097-.846-2.322-.846-3.676 0-1.258.29-2.363.875-3.317.585-.952 1.417-1.685 2.497-2.198s2.334-.77 3.763-.77c2.18 0 3.915.572 5.204 1.713s1.932 2.673 1.932 4.594c0 1.353-.283 2.57-.852 3.65-.567 1.08-1.38 1.947-2.44 2.603H19V20h-5.908v-2.86c.95-.493 1.65-1.18 2.102-2.062s.677-2.006.677-3.374c0-1.36-.336-2.415-1.01-3.164-.672-.747-1.624-1.122-2.855-1.122z"})));break;case"gridicons-star-outline":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-star":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-stats-alt":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 21H3v-2h18v2zM8 10H4v7h4v-7zm6-7h-4v14h4V3zm6 3h-4v11h4V6z"})));break;case"gridicons-stats":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm0 16H5V5h14v14zM9 17H7v-5h2v5zm4 0h-2V7h2v10zm4 0h-2v-7h2v7z"})));break;case"gridicons-status":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM7.55 13c-.02.166-.05.33-.05.5 0 2.485 2.015 4.5 4.5 4.5s4.5-2.015 4.5-4.5c0-.17-.032-.334-.05-.5h-8.9zM10 10V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1zm6 0V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1z"})));break;case"gridicons-strikethrough":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14.348 12H21v2h-4.613c.24.515.368 1.094.368 1.748 0 1.317-.474 2.355-1.423 3.114-.947.76-2.266 1.138-3.956 1.138-1.557 0-2.934-.293-4.132-.878v-2.874c.985.44 1.818.75 2.5.928.682.18 1.306.27 1.872.27.68 0 1.2-.13 1.562-.39.363-.26.545-.644.545-1.158 0-.285-.08-.54-.24-.763-.16-.222-.394-.437-.704-.643-.18-.12-.483-.287-.88-.49H3v-2H14.347zm-3.528-2c-.073-.077-.143-.155-.193-.235-.126-.202-.19-.44-.19-.713 0-.44.157-.795.47-1.068.313-.273.762-.41 1.348-.41.492 0 .993.064 1.502.19.51.127 1.153.35 1.93.67l1-2.405c-.753-.327-1.473-.58-2.16-.76-.69-.18-1.414-.27-2.173-.27-1.544 0-2.753.37-3.628 1.108-.874.738-1.312 1.753-1.312 3.044 0 .302.036.58.088.848h3.318z"})));break;case"gridicons-sync":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M23.5 13.5l-3.086 3.086L19 18l-4.5-4.5 1.414-1.414L18 14.172V12c0-3.308-2.692-6-6-6V4c4.418 0 8 3.582 8 8v2.172l2.086-2.086L23.5 13.5zM6 12V9.828l2.086 2.086L9.5 10.5 5 6 3.586 7.414.5 10.5l1.414 1.414L4 9.828V12c0 4.418 3.582 8 8 8v-2c-3.308 0-6-2.692-6-6z"})));break;case"gridicons-tablet":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 2H6c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h12c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-5 19h-2v-1h2v1zm5-2H6V5h12v14z"})));break;case"gridicons-tag":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-text-color":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 19h18v3H3v-3zM15.82 17h3.424L14 3h-4L4.756 17H8.18l1.067-3.5h5.506L15.82 17zm-1.952-6h-3.73l1.868-5.725L13.868 11z"})));break;case"gridicons-themes":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 6c-1.105 0-2 .895-2 2v12c0 1.1.9 2 2 2h12c1.105 0 2-.895 2-2H4V6zm16-4H8c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V4c0-1.105-.895-2-2-2zm-5 14H8V9h7v7zm5 0h-3V9h3v7zm0-9H8V4h12v3z"})));break;case"gridicons-thumbs-up":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6.7 22H2v-9h2l2.7 9zM20 9h-6V5c0-1.657-1.343-3-3-3h-1v4L7.1 9.625c-.712.89-1.1 1.996-1.1 3.135V14l2.1 7h8.337c1.836 0 3.435-1.25 3.88-3.03l1.622-6.485C22.254 10.223 21.3 9 20 9z"})));break;case"gridicons-time":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.8 13.4L13 11.667V7h-2v5.333l3.2 4.266 1.6-1.2z"})));break;case"gridicons-trash":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6.187 8h11.625l-.695 11.125C17.05 20.18 16.177 21 15.12 21H8.88c-1.057 0-1.93-.82-1.997-1.875L6.187 8zM19 5v2H5V5h3V4c0-1.105.895-2 2-2h4c1.105 0 2 .895 2 2v1h3zm-9 0h4V4h-4v1z"})));break;case"gridicons-trophy":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 5.062V3H6v2.062H2V8c0 2.525 1.89 4.598 4.324 4.932.7 2.058 2.485 3.61 4.676 3.978V18c0 1.105-.895 2-2 2H8v2h8v-2h-1c-1.105 0-2-.895-2-2v-1.09c2.19-.368 3.976-1.92 4.676-3.978C20.11 12.598 22 10.525 22 8V5.062h-4zM4 8v-.938h2v3.766C4.836 10.416 4 9.304 4 8zm16 0c0 1.304-.836 2.416-2 2.83V7.06h2V8z"})));break;case"gridicons-types":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M22 17c0 2.76-2.24 5-5 5s-5-2.24-5-5 2.24-5 5-5 5 2.24 5 5zM6.5 6.5h3.8L7 1 1 11h5.5V6.5zm9.5 4.085V8H8v8h2.585c.433-2.783 2.632-4.982 5.415-5.415z"})));break;case"gridicons-underline":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 19v2h16v-2H4zM18 3v8c0 3.314-2.686 6-6 6s-6-2.686-6-6V3h3v8c0 1.654 1.346 3 3 3s3-1.346 3-3V3h3z"})));break;case"gridicons-undo":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18.142 5.93C16.97 4.756 15.435 4.17 13.9 4.17s-3.072.586-4.244 1.757L6 9.585V6H4v7h7v-2H7.414l3.657-3.657c.756-.755 1.76-1.172 2.83-1.172 1.067 0 2.072.417 2.827 1.173 1.56 1.56 1.56 4.097 0 5.657l-5.364 5.364 1.414 1.414 5.364-5.364c2.345-2.343 2.345-6.142.002-8.485z"})));break;case"gridicons-user-circle":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18.5c-4.694 0-8.5-3.806-8.5-8.5S7.306 3.5 12 3.5s8.5 3.806 8.5 8.5-3.806 8.5-8.5 8.5zm0-8c-3.038 0-5.5 1.728-5.5 3.5s2.462 3.5 5.5 3.5 5.5-1.728 5.5-3.5-2.462-3.5-5.5-3.5zm0-.5c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z"})));break;case"gridicons-user":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4zm0 16s8 0 8-2c0-2.4-3.9-5-8-5s-8 2.6-8 5c0 2 8 2 8 2z"})));break;case"gridicons-video-camera":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 9V7c0-1.105-.895-2-2-2H4c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h11c1.105 0 2-.895 2-2v-2l5 4V5l-5 4z"})));break;case"gridicons-video":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().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"})));break;case"gridicons-visible":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 6C5.188 6 1 12 1 12s4.188 6 11 6 11-6 11-6-4.188-6-11-6zm0 10c-3.943 0-6.926-2.484-8.38-4 1.04-1.085 2.863-2.657 5.255-3.47C8.335 9.214 8 10.064 8 11c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.937-.335-1.787-.875-2.47 2.393.813 4.216 2.386 5.254 3.47-1.456 1.518-4.438 4-8.38 4z"})));break;case"gridicons-chat":i=c().createElement("svg",{className:r,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20,4h-8c-1.1,0-2,0.9-2,2v2h2c1.7,0,3,1.3,3,3v2h2v3.5l3.3-2.3c1.1-0.8,1.7-2,1.7-3.3V6C22,4.9,21.1,4,20,4z"}),c().createElement("g",null,c().createElement("path",{d:"M14,11v5c0,1.1-0.9,2-2,2H7v3.5l-3.3-2.3c-1.1-0.8-1.7-2-1.7-3.3V11c0-1.1,0.9-2,2-2h8C13.1,9,14,9.9,14,11z"}))))}return i}}r()(u,"displayName","Gridicon"),r()(u,"defaultProps",{className:"",size:24}),r()(u,"propTypes",{icon:a().string.isRequired,size:a().number,onClick:a().func,className:a().string}),t.Z=u},2698:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(2819),p=n(8402),u=n(5060),d=n(5235),m=n.n(d),h=n(4069);class g extends c().Component{constructor(){super(...arguments),r()(this,"state",{showPopover:!1}),r()(this,"_onClick",(e=>{this.props.onClick(),e.preventDefault(),this.setState({showPopover:!this.state.showPopover},this._recordStats)})),r()(this,"_onClose",(()=>{this.setState({showPopover:!1},this._recordStats)}))}render(){const e=m()("dops-info-popover","dops-info-popover-button",{is_active:this.state.showPopover},this.props.className);return c().createElement("button",{ref:"infoPopover",className:e,onClick:this._onClick},c().createElement(u.Z,{icon:"info-outline",size:18}),this.props.screenReaderText?c().createElement("span",{className:"screen-reader-text"},this.props.screenReaderText):"",c().createElement(p.Z,{id:this.props.id,isVisible:this.state.showPopover,context:this.refs&&this.refs.infoPopover,ignoreContext:this.props.ignoreContext,position:this.props.position,onClose:this._onClose,className:m()("dops-info-popover__tooltip",this.props.className),rootClassName:this.props.rootClassName},this.props.children))}_recordStats(){const{gaEventCategory:e,popoverName:t}=this.props;if(e&&t){const n=this.state.showPopover?" Opened":" Closed";h.Z.ga.recordEvent(e,"InfoPopover: "+t+n)}}}r()(g,"displayName","InfoPopover"),r()(g,"propTypes",{id:a().string,position:a().string,className:a().string,rootClassName:a().string,gaEventCategory:a().string,popoverName:a().string,onClick:a().func,ignoreContext:a().shape({getDOMNode:a().function})}),r()(g,"defaultProps",{position:"bottom",onClick:l.noop})},6626:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5609),a=n(7506);t.Z=e=>{const{isInstalling:t=!1,children:n=null,...s}=e,o=t?r().createElement("div",{className:"jp-install-button__spinner-container"},r().createElement(i.Spinner,null)):n;return r().createElement(a.Z,s,o)}},5733:function(e,t,n){"use strict";n.d(t,{$j:function(){return h},zv:function(){return m}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2819),u=n(7407),d=n(9508);class m extends u.jL{componentDidMount(){!this.props.hidePromotionBanner&&this.props.arePromotionsActive&&this.props.trackBannerDisplay()}render(){return this.props.hidePromotionBanner?null:this.props.arePromotionsActive?c().createElement(u.jL,this.props):null}}function h(e){return(0,l.$j)(((e,t)=>{const n=(0,d.pK)(e);return{arePromotionsActive:(0,d.Hy)(e),userCanPurchasePlan:n,hidePromotionBanner:!!t.plan&&!n}}))((0,u.$j)(e))}r()(m,"propTypes",{callToAction:a().string,className:a().string,description:a().node,eventFeature:a().string,feature:a().string,href:a().string,icon:a().string,iconAlt:a().string,iconSrc:a().string,list:a().arrayOf(a().string),onClick:a().func,trackBannerDisplay:a().func,path:a().string,plan:a().string,siteSlug:a().string,title:a().node.isRequired}),r()(m,"defaultProps",{onClick:p.noop,trackBannerDisplay:p.noop,plan:""}),t.ZP=h(m)},6165:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(4322),a=n(9307),o=n(5609),c=n(5736),l=n(6324),p=n(5162),u=n.n(p);const __=c.__,d=e=>{const{siteBenefits:t,context:n}=e;return r().createElement(r().Fragment,null,t.length>0&&r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},"disconnect"===n?__("Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.","jetpack"):__("Jetpack is currently powering features on your site. Once you deactivate Jetpack, these features will no longer be available.","jetpack",0))),r().createElement("div",{className:"jp-connection__disconnect-card__group"},t.map((e=>{let{value:t,description:n,title:s}=e;return r().createElement(i.Z,{title:s,value:t,description:n})})))),t.length<=2&&r().createElement("div",{className:"jetpack-benefits__general-benefits-section"},r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack has many powerful tools that can help you achieve your goals","jetpack")),r().createElement("ul",{className:"jetpack-benefits__general-benefits-list"},r().createElement("li",{key:"reason-cdn"},(0,a.createInterpolateElement)(__("Speed up your site and provide mobile-ready images with <ExternalLink>our CDN</ExternalLink>","jetpack"),{ExternalLink:r().createElement(o.ExternalLink,{href:(0,l.Z)("jetpack-features-design-content-delivery-network"),rel:"noopener noreferrer",target:"_blank"})})),r().createElement("li",{key:"reason-brute-force"},(0,a.createInterpolateElement)(__("Block <ExternalLink>brute force attacks</ExternalLink> and get immediate notifications if your site is down","jetpack"),{ExternalLink:r().createElement(o.ExternalLink,{href:(0,l.Z)("jetpack-features-security"),rel:"noopener noreferrer",target:"_blank"})})),r().createElement("li",{key:"reason-social"},(0,a.createInterpolateElement)(__("Grow your traffic with automated social <ExternalLink>publishing and sharing</ExternalLink>","jetpack"),{ExternalLink:r().createElement(o.ExternalLink,{href:(0,l.Z)("jetpack-support-social"),rel:"noopener noreferrer",target:"_blank"})})))))};d.propTypes={siteBenefits:u().array,context:u().oneOf(["disconnect","deactivate"])},d.defaultProps={context:"disconnect"},t.Z=d},8120:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(2819),p=n(5235),u=n.n(p),d=n(5060),m=n(3915);class h extends o.Component{constructor(){super(...arguments),r()(this,"maybeDismiss",(e=>{!this.props.showDismiss||e.keyCode&&27!==e.keyCode||this.props.dismiss(e)}))}componentDidMount(){document.addEventListener("keydown",this.maybeDismiss.bind(this),!1)}componentWillUnmount(){document.removeEventListener("keydown",this.maybeDismiss.bind(this),!1)}clickForeground(e){e.stopPropagation()}render(){const e=u()(this.props.className,"jp-dialogue-modern",{"has-featured-image":!!this.props.svg});return c().createElement("div",{className:"jp-dialogue-modern-full__container",role:"presentation",onClick:this.maybeDismiss,onKeyDown:(0,m.Z)(this.maybeDismiss)},c().createElement("div",{className:e,role:"presentation",onClick:this.clickForeground,onKeyDown:(0,m.Z)(this.clickForeground)},this.props.showDismiss&&c().createElement(d.Z,{icon:"cross-small",className:"jp-dialogue-modern-full__dismiss",tabIndex:"0",onKeyDown:(0,m.Z)(this.props.dismiss),onClick:this.props.dismiss}),this.props.svg,c().createElement("div",{className:"jp-dialogue-modern__content"},c().createElement("h1",{className:"jp-dialogue-modern__title"},this.props.title),this.props.content),c().createElement("div",null,this.props.belowContent)))}}h.propTypes={content:a().oneOfType([a().string,a().object]).isRequired,belowContent:a().oneOfType([a().string,a().object]).isRequired,svg:a().oneOfType([a().bool,a().object]),dismissOnClick:a().func,showDismiss:a().bool,title:a().string,adminUrl:a().string,dismiss:a().func},h.defaultProps={svg:!1,showDismiss:!0,dismiss:l.noop,content:"",belowContent:"",title:""},t.Z=h},2129:function(e,t,n){"use strict";n.d(t,{D:function(){return l}});var s=n(9196),r=n.n(s),i=n(5162),a=n.n(i),o=n(5736),c=n(800);const __=o.__,l=e=>{let{altText:t}=e;return r().createElement("div",{className:"jp-loading-icon"},r().createElement("img",{src:c.hp+"/jetpack-logomark-blue.svg",alt:t}))};l.propTypes={altText:a().string},l.defaultProps={altText:__("Loading…","jetpack")}},381:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(835),c=n(9309),l=n(5613);class p extends a().Component{constructor(){super(...arguments),r()(this,"dismissJetpackActionNotice",(()=>{this.props.dismissJetpackActionNotice(this.props.jetpackNotices)})),r()(this,"renderNotices",(()=>{this.props.jetpackNotices;return!1}))}render(){return a().createElement("div",null,this.renderNotices())}}r()(p,"displayName","DismissableNotices"),t.Z=(0,c.$j)((e=>({jetpackNotices:(0,l.gq)(e),isDismissed:t=>(0,l.jE)(e,t)})),(e=>(0,o.DE)({dismissJetpackActionNotice:l.Sn},e)))(p)},7332:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5736),c=n(5162),l=n.n(c),p=n(1668),u=n(4721);const __=o.__;class d extends a().Component{render(){return a().createElement(p.Z,{showDismiss:!1,text:this.props.text,status:"is-error",icon:"link-break"},a().createElement(u.Z,{errorCode:this.props.errorCode,errorData:this.props.errorData,action:this.props.action},__("Restore Connection","jetpack")))}}r()(d,"defaultProps",{text:__("Connection Error, please reconnect.","jetpack")}),r()(d,"propTypes",{text:l().string.isRequired,errorCode:l().string,errorData:l().object,action:l().string})},208:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(4498),u=n(2659),d=n(9307),m=n(5736),h=n(6324),g=n(9099),f=n(381),v=n(4687),k=n(6300),_=n(9508),y=n(9963),E=n(3002),w=n(800),b=n(1375),C=n(9635),j=n(2099),S=n(7851),N=n(1225),x=n(1668);const __=m.__;class T extends c().Component{render(){return!(!this.props.isDevVersion||this.props.userIsSubscriber)&&c().createElement(x.Z,{showDismiss:!1,text:__("You are currently running a development version of Jetpack.","jetpack")},c().createElement(j.Z,{href:w.Ez,external:!0},__("Submit Beta feedback","jetpack")))}}r()(T,"displayName","DevVersionNotice"),T.propTypes={isDevVersion:a().bool.isRequired,userIsSubscriber:a().bool.isRequired};class O extends c().Component{render(){if(this.props.isStaging&&!this.props.isInIdentityCrisis){const e=(0,h.Z)("jetpack-support-staging-sites"),t={text:__("You are running Jetpack on a staging server.","jetpack"),status:"is-basic",showDismiss:!1};return c().createElement(x.Z,t,c().createElement(j.Z,{href:e},__("More Info","jetpack")))}return!1}}r()(O,"displayName","StagingSiteNotice"),O.propTypes={isStaging:a().bool.isRequired,isInIdentityCrisis:a().bool.isRequired};class P extends c().Component{render(){if("offline"===this.props.siteConnectionStatus){const e=this.props.siteOfflineMode,t=[];e.filter&&t.push(__("The jetpack_development_mode filter is active","jetpack")),e.constant&&t.push((0,m.sprintf)(
/* translators: placeholder is a constant, such as WP_LOCAL_DEV. */
-__("The %s constant is defined","jetpack"),"JETPACK_DEV_DEBUG")),e.wpLocalConstant&&t.push((0,h.sprintf)(
+__("The %s constant is defined","jetpack"),"JETPACK_DEV_DEBUG")),e.wpLocalConstant&&t.push((0,m.sprintf)(
/* translators: placeholder is a constant, such as WP_LOCAL_DEV. */
__("The %s constant is defined","jetpack"),"WP_LOCAL_DEV")),e.url&&t.push(__("Your site URL is a known local development environment URL","jetpack"));const n=(0,d.createInterpolateElement)(
/* translators: reasons is an unordered list of reasons why a site may be in Offline mode. */
-__("Currently in <a>Offline Mode</a> (some features are disabled) because: <reasons/>","jetpack"),{a:c().createElement("a",{href:(0,f.Z)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"}),reasons:c().createElement("ul",null,t.map(((e,t)=>c().createElement("li",{key:t},e))))});return c().createElement(x.Z,{showDismiss:!1,status:"is-info",text:n},c().createElement(S.Z,{href:(0,f.Z)("jetpack-support-development-mode")},__("Learn More","jetpack")))}return!1}}i()(O,"displayName","OfflineModeNotice"),O.propTypes={siteConnectionStatus:o().oneOfType([o().string,o().bool]).isRequired,siteOfflineMode:o().oneOfType([o().bool,o().object]).isRequired};class T extends c().Component{render(){return!(this.props.isLinked||!this.props.connectUrl||!this.props.siteConnected)&&c().createElement("div",{className:"jp-unlinked-notice"},c().createElement(m.Z,{title:__("Jetpack is powering your site, but to access all of its features you’ll need to connect your account to WordPress.com.","jetpack"),callToAction:__("Create account","jetpack"),href:`${this.props.connectUrl}&from=unlinked-user-connect`,icon:c().createElement(p.Z,{icon:"wordpress",size:24}),className:"is-jetpack-info",from:"unlinked-user-connect",connectUser:!0}))}}i()(T,"displayName","UserUnlinked"),T.propTypes={connectUrl:o().string.isRequired,siteConnected:o().bool.isRequired};class P extends c().Component{render(){const e=this.props.siteDataErrors.filter((e=>e.hasOwnProperty("action"))),t="/connect-user"===this.props.location.pathname,n=this.props.location.pathname.startsWith("/license");return c().createElement("div",{"aria-live":"polite"},c().createElement(j.Z,null),this.props.siteConnectionStatus&&this.props.userCanConnectSite&&!this.props.isReconnectingSite&&(this.props.connectionErrors.length>0||e.length>0)&&c().createElement(C.Z,{errors:this.props.connectionErrors.concat(e)}),c().createElement(E.Z,null),c().createElement(N,{isDevVersion:this.props.isDevVersion,userIsSubscriber:this.props.userIsSubscriber}),c().createElement(O,{siteConnectionStatus:this.props.siteConnectionStatus,siteOfflineMode:this.props.siteOfflineMode}),c().createElement(A,{isStaging:this.props.isStaging,isInIdentityCrisis:this.props.isInIdentityCrisis}),c().createElement(M.Z,null),c().createElement(g.Z,null),!this.props.isReconnectingSite&&this.props.userCanConnectAccount&&this.props.hasConnectedOwner&&!e.length&&!this.props.connectionErrors.length&&!t&&c().createElement(T,{connectUrl:this.props.connectUrl,siteConnected:!0===this.props.siteConnectionStatus,isLinked:this.props.isLinked}),!this.props.siteConnectionStatus&&!this.props.userCanConnectSite&&c().createElement(x.Z,{showDismiss:!1,status:"is-warning",text:__("This site is not connected to WordPress.com. Please ask the site administrator to connect.","jetpack")}),this.props.licensingError&&c().createElement(x.Z,{showDismiss:!0,status:"is-error",text:this.props.licensingError,onDismissClick:this.props.clearLicensingError}),!n&&!this.props.isAtomicSite&&c().createElement(v.Z,{pathname:this.props.location.pathname}))}}i()(P,"displayName","JetpackNotices"),t.ZP=(0,l.$j)((e=>({connectUrl:(0,b.AM)(e),siteConnectionStatus:(0,b.Gz)(e),userCanConnectSite:(0,y.Mc)(e),userCanConnectAccount:(0,y.n0)(e),userIsSubscriber:(0,y.dc)(e),isLinked:(0,b.BU)(e),isDevVersion:(0,y._W)(e),isAtomicSite:(0,y.Ug)(e),siteOfflineMode:(0,b.Hu)(e),isStaging:(0,b.cm)(e),isInIdentityCrisis:(0,b.l9)(e),connectionErrors:(0,y.PK)(e),siteDataErrors:(0,w.Vc)(e),isReconnectingSite:(0,b.O_)(e),licensingError:(0,k.Tk)(e),hasConnectedOwner:(0,b.it)(e)})),(e=>({clearLicensingError:()=>e((0,k.xw)())})))((0,u.EN)(P))},97031:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(65736),u=n(97079),p=n(98486),d=n(51933),h=n(88001);const __=l.__;class f extends o().Component{getAction(e,t,n,r,i){switch(e){case"reconnect":return o().createElement(u.Z,{text:t,errorCode:n,errorData:r,action:e});case"support":return o().createElement(h.Z,{text:t,status:"is-error",icon:"link-break",showDismiss:!1},o().createElement(d.Z,{href:i,external:!0},__("Contact support","jetpack")))}return null}renderOne(e){const t=this.props.isDevVersion?p.Ez:p.Fr,n=this.getAction(e.action,e.message,e.code,e.hasOwnProperty("data")?e.data:{},t);return null===n?null:o().createElement(o().Fragment,{key:e.action},n)}render(){const e={},t=this.props.errors.filter((e=>e.hasOwnProperty("action")));for(const n of t)e.hasOwnProperty(n.action)||(e[n.action]=n);return Object.values(e).map((e=>this.renderOne(e)))}}i()(f,"propTypes",{errors:c().array.isRequired})},27951:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(51933),p=n(41147),d=n(11973);class h extends c().Component{constructor(){super(...arguments),i()(this,"getEventProps",(()=>{const e={location:"dashboard",purpose:"reconnect"};return this.props.errorCode&&(e.error_code=this.props.errorCode),this.props.errorData&&(this.props.errorData.api_error_code&&(e.api_error_code=this.props.errorData.api_error_code),this.props.errorData.api_http_code&&(e.api_http_code=this.props.errorData.api_http_code)),e})),i()(this,"handleDisconnectClick",(()=>{this.props.isReconnectingSite||(d.Z.tracks.recordEvent("jetpack_termination_error_notice_click",this.getEventProps()),this.props.reconnectSite(this.props.action))}))}componentDidMount(){d.Z.tracks.recordEvent("jetpack_termination_error_notice_view",this.getEventProps())}render(){return c().createElement(u.Z,{icon:this.props.icon,onClick:this.handleDisconnectClick},this.props.children)}}i()(h,"propTypes",{icon:o().string,errorCode:o().string,errorData:o().object,action:o().string}),t.Z=(0,l.$j)((e=>({isReconnectingSite:(0,p.O_)(e)})),(e=>({reconnectSite:()=>e((0,p.xK)())})))(h)},76306:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(2620),o=n(65736),a=n(12901),c=n(88001),l=n(88872);const __=o.__;const u=(0,a.EN)((function(e){let{activeSitePurchases:t,location:{pathname:n}}=e;if("/plans"!==n)return null;if(t.length<=1)return null;const r=t.map((e=>{let{product_slug:t,...n}=e;return{...n,product_slug:t.replace("_monthly","")}})),s=r.find((e=>{let{product_slug:t}=e;return t.includes("backup")}));if(!s)return null;const a=r.find((e=>{let{product_slug:t}=e;return"jetpack_personal"===t||"jetpack_premium"===t||"jetpack_business"===t}));if(!a)return null;if("jetpack_backup_realtime"===s.product_slug&&"jetpack_business"!==a.product_slug)return null;let l=__("daily backups","jetpack");return"jetpack_business"===a.product_slug&&(l=__("real-time backups","jetpack")),i().createElement(c.Z,{status:"is-warning",showDismiss:!1,text:(0,o.sprintf)(
+__("Currently in <a>Offline Mode</a> (some features are disabled) because: <reasons/>","jetpack"),{a:c().createElement("a",{href:(0,h.Z)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"}),reasons:c().createElement("ul",null,t.map(((e,t)=>c().createElement("li",{key:t},e))))});return c().createElement(x.Z,{showDismiss:!1,status:"is-info",text:n},c().createElement(j.Z,{href:(0,h.Z)("jetpack-support-development-mode")},__("Learn More","jetpack")))}return!1}}r()(P,"displayName","OfflineModeNotice"),P.propTypes={siteConnectionStatus:a().oneOfType([a().string,a().bool]).isRequired,siteOfflineMode:a().oneOfType([a().bool,a().object]).isRequired};class M extends c().Component{render(){return!(this.props.isLinked||!this.props.connectUrl||!this.props.siteConnected)&&c().createElement("div",{className:"jp-unlinked-notice"},c().createElement(g.Z,{title:__("Jetpack is powering your site, but to access all of its features you’ll need to connect your account to WordPress.com.","jetpack"),callToAction:__("Create account","jetpack"),href:`${this.props.connectUrl}&from=unlinked-user-connect`,icon:c().createElement(u.Z,{icon:"wordpress",size:24}),className:"is-jetpack-info",from:"unlinked-user-connect",connectUser:!0}))}}r()(M,"displayName","UserUnlinked"),M.propTypes={connectUrl:a().string.isRequired,siteConnected:a().bool.isRequired};class A extends c().Component{render(){const e=this.props.siteDataErrors.filter((e=>e.hasOwnProperty("action"))),t="/connect-user"===this.props.location.pathname,n=this.props.location.pathname.startsWith("/license");return c().createElement("div",{"aria-live":"polite"},c().createElement(S.Z,null),this.props.siteConnectionStatus&&this.props.userCanConnectSite&&!this.props.isReconnectingSite&&(this.props.connectionErrors.length>0||e.length>0)&&c().createElement(C.Z,{errors:this.props.connectionErrors.concat(e)}),c().createElement(b.Z,null),c().createElement(T,{isDevVersion:this.props.isDevVersion,userIsSubscriber:this.props.userIsSubscriber}),c().createElement(P,{siteConnectionStatus:this.props.siteConnectionStatus,siteOfflineMode:this.props.siteOfflineMode}),c().createElement(O,{isStaging:this.props.isStaging,isInIdentityCrisis:this.props.isInIdentityCrisis}),c().createElement(N.Z,null),c().createElement(f.Z,null),!this.props.isReconnectingSite&&this.props.userCanConnectAccount&&this.props.hasConnectedOwner&&!e.length&&!this.props.connectionErrors.length&&!t&&c().createElement(M,{connectUrl:this.props.connectUrl,siteConnected:!0===this.props.siteConnectionStatus,isLinked:this.props.isLinked}),!this.props.siteConnectionStatus&&!this.props.userCanConnectSite&&c().createElement(x.Z,{showDismiss:!1,status:"is-warning",text:__("This site is not connected to WordPress.com. Please ask the site administrator to connect.","jetpack")}),this.props.licensingError&&c().createElement(x.Z,{showDismiss:!0,status:"is-error",text:this.props.licensingError,onDismissClick:this.props.clearLicensingError}),!n&&!this.props.isAtomicSite&&c().createElement(v.Z,{pathname:this.props.location.pathname}))}}r()(A,"displayName","JetpackNotices"),t.ZP=(0,l.$j)((e=>({connectUrl:(0,k.AM)(e),siteConnectionStatus:(0,k.Gz)(e),userCanConnectSite:(0,_.Mc)(e),userCanConnectAccount:(0,_.n0)(e),userIsSubscriber:(0,_.dc)(e),isLinked:(0,k.BU)(e),isDevVersion:(0,_._W)(e),isAtomicSite:(0,_.Ug)(e),siteOfflineMode:(0,k.Hu)(e),isStaging:(0,k.cm)(e),isInIdentityCrisis:(0,k.l9)(e),connectionErrors:(0,_.PK)(e),siteDataErrors:(0,E.Vc)(e),isReconnectingSite:(0,k.O_)(e),licensingError:(0,y.Tk)(e),hasConnectedOwner:(0,k.it)(e)})),(e=>({clearLicensingError:()=>e((0,y.xw)())})))((0,p.EN)(A))},9635:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(5736),p=n(7332),u=n(800),d=n(2099),m=n(1668);const __=l.__;class h extends a().Component{getAction(e,t,n,s,r){switch(e){case"reconnect":return a().createElement(p.Z,{text:t,errorCode:n,errorData:s,action:e});case"support":return a().createElement(m.Z,{text:t,status:"is-error",icon:"link-break",showDismiss:!1},a().createElement(d.Z,{href:r,external:!0},__("Contact support","jetpack")))}return null}renderOne(e){const t=this.props.isDevVersion?u.Ez:u.Fr,n=this.getAction(e.action,e.message,e.code,e.hasOwnProperty("data")?e.data:{},t);return null===n?null:a().createElement(a().Fragment,{key:e.action},n)}render(){const e={},t=this.props.errors.filter((e=>e.hasOwnProperty("action")));for(const n of t)e.hasOwnProperty(n.action)||(e[n.action]=n);return Object.values(e).map((e=>this.renderOne(e)))}}r()(h,"propTypes",{errors:c().array.isRequired})},4721:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2099),u=n(6300),d=n(4069);class m extends c().Component{constructor(){super(...arguments),r()(this,"getEventProps",(()=>{const e={location:"dashboard",purpose:"reconnect"};return this.props.errorCode&&(e.error_code=this.props.errorCode),this.props.errorData&&(this.props.errorData.api_error_code&&(e.api_error_code=this.props.errorData.api_error_code),this.props.errorData.api_http_code&&(e.api_http_code=this.props.errorData.api_http_code)),e})),r()(this,"handleDisconnectClick",(()=>{this.props.isReconnectingSite||(d.Z.tracks.recordEvent("jetpack_termination_error_notice_click",this.getEventProps()),this.props.reconnectSite(this.props.action))}))}componentDidMount(){d.Z.tracks.recordEvent("jetpack_termination_error_notice_view",this.getEventProps())}render(){return c().createElement(p.Z,{icon:this.props.icon,onClick:this.handleDisconnectClick},this.props.children)}}r()(m,"propTypes",{icon:a().string,errorCode:a().string,errorData:a().object,action:a().string}),t.Z=(0,l.$j)((e=>({isReconnectingSite:(0,u.O_)(e)})),(e=>({reconnectSite:()=>e((0,u.xK)())})))(m)},1225:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(5736),o=n(4498),c=n(1668),l=n(3002);const __=a.__;const p=(0,o.EN)((function(e){let{activeSitePurchases:t,location:{pathname:n}}=e;if("/plans"!==n)return null;if(t.length<=1)return null;const s=t.map((e=>{let{product_slug:t,...n}=e;return{...n,product_slug:t.replace("_monthly","")}})),i=s.find((e=>{let{product_slug:t}=e;return t.includes("backup")}));if(!i)return null;const o=s.find((e=>{let{product_slug:t}=e;return"jetpack_personal"===t||"jetpack_premium"===t||"jetpack_business"===t}));if(!o)return null;if("jetpack_backup_realtime"===i.product_slug&&"jetpack_business"!==o.product_slug)return null;let l=__("daily backups","jetpack");return"jetpack_business"===o.product_slug&&(l=__("real-time backups","jetpack")),r().createElement(c.Z,{status:"is-warning",showDismiss:!1,text:(0,a.sprintf)(
/* translators: %1$s: feature, such as "daily backups". %2$s: Plan name, such as "Jetpack Premium". %3$s: Product name, such as "Jetpack Backups". */
-__("Your %2$s Plan includes %1$s. Looks like you also purchased the %3$s product. Consider removing %3$s.","jetpack"),l,a.product_name,s.product_name)})}));t.Z=(0,s.$j)((e=>({activeSitePurchases:(0,l.nl)(e)})))(u)},3319:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(69307),l=n(65736),u=n(71415),p=n(66552),d=n(39370),h=n(51933),f=n(88001),m=n(24857);const __=l.__;class g extends o().Component{constructor(){super(...arguments),i()(this,"state",{showNotice:!0}),i()(this,"dismissJetpackStateNotice",(()=>{this.setState({showNotice:!1})})),i()(this,"getErrorFromKey",(e=>{const t=this.props.jetpackStateNoticesErrorDescription||!1;let n="";switch(e){case"cheatin":n=__("Cheatin' uh?","jetpack");break;case"access_denied":n=(0,c.createInterpolateElement)(__("<p>Would you mind telling us why you did not complete the Jetpack connection in this <a>2 question survey</a>?</p><p>A Jetpack connection is required for our free security and traffic features to work.</p>","jetpack"),{a:o().createElement("a",{href:(0,u.Z)("jetpack-cancelled-connection"),target:"_blank",rel:"noopener noreferrer"}),p:o().createElement("p",null)});break;case"wrong_state":n=__("You need to stay logged in to your WordPress blog while you authorize Jetpack.","jetpack");break;case"invalid_client":n=__("We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.","jetpack");break;case"invalid_grant":n=__('There was an issue connecting your Jetpack. Please click "Connect to WordPress.com" again.',"jetpack");break;case"site_inaccessible":case"site_requires_authorization":n=(0,l.sprintf)(
+__("Your %2$s Plan includes %1$s. Looks like you also purchased the %3$s product. Consider removing %3$s.","jetpack"),l,o.product_name,i.product_name)})}));t.Z=(0,i.$j)((e=>({activeSitePurchases:(0,l.nl)(e)})))(p)},1375:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(9307),l=n(5736),p=n(6324),u=n(9508),d=n(5613),m=n(2099),h=n(1668),g=n(9327);const __=l.__;class f extends a().Component{constructor(){super(...arguments),r()(this,"state",{showNotice:!0}),r()(this,"dismissJetpackStateNotice",(()=>{this.setState({showNotice:!1})})),r()(this,"getErrorFromKey",(e=>{const t=this.props.jetpackStateNoticesErrorDescription||!1;let n="";switch(e){case"cheatin":n=__("Cheatin' uh?","jetpack");break;case"access_denied":n=(0,c.createInterpolateElement)(__("<p>Would you mind telling us why you did not complete the Jetpack connection in this <a>2 question survey</a>?</p><p>A Jetpack connection is required for our free security and traffic features to work.</p>","jetpack"),{a:a().createElement("a",{href:(0,p.Z)("jetpack-cancelled-connection"),target:"_blank",rel:"noopener noreferrer"}),p:a().createElement("p",null)});break;case"wrong_state":n=__("You need to stay logged in to your WordPress blog while you authorize Jetpack.","jetpack");break;case"invalid_client":n=__("We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.","jetpack");break;case"invalid_grant":n=__('There was an issue connecting your Jetpack. Please click "Connect to WordPress.com" again.',"jetpack");break;case"site_inaccessible":case"site_requires_authorization":n=(0,l.sprintf)(
/* translators: placeholder is an error code and message. */
-__("Your website needs to be publicly accessible to use Jetpack: %s","jetpack"),e);break;case"site_blacklisted":n=(0,c.createInterpolateElement)(__("This site can't be connected to WordPress.com because it violates our <a>Terms of Service</a>.","jetpack"),{a:o().createElement("a",{href:(0,u.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"})});break;case"not_public":n=(0,c.createInterpolateElement)(__("<s>Your Jetpack has a glitch.</s> Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).","jetpack"),{s:o().createElement("strong",null)});break;case"wpcom_408":case"wpcom_5??":case"wpcom_bad_response":case"wpcom_outage":n=__("WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.","jetpack");break;case"register_http_request_failed":case"token_http_request_failed":n=(0,l.sprintf)(
+__("Your website needs to be publicly accessible to use Jetpack: %s","jetpack"),e);break;case"site_blacklisted":n=(0,c.createInterpolateElement)(__("This site can't be connected to WordPress.com because it violates our <a>Terms of Service</a>.","jetpack"),{a:a().createElement("a",{href:(0,p.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"})});break;case"not_public":n=(0,c.createInterpolateElement)(__("<s>Your Jetpack has a glitch.</s> Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).","jetpack"),{s:a().createElement("strong",null)});break;case"wpcom_408":case"wpcom_5??":case"wpcom_bad_response":case"wpcom_outage":n=__("WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.","jetpack");break;case"register_http_request_failed":case"token_http_request_failed":n=(0,l.sprintf)(
/* translators: placeholder is an error code and message. */
__("Jetpack could not contact WordPress.com: %s. This usually means something is incorrectly configured on your web host.","jetpack"),e);break;case"no_role":case"no_cap":case"no_code":case"no_state":case"invalid_state":case"invalid_request":case"invalid_scope":case"unsupported_response_type":case"invalid_token":case"no_token":case"missing_secrets":case"home_missing":case"siteurl_missing":case"gmt_offset_missing":case"site_name_missing":case"secret_1_missing":case"secret_2_missing":case"site_lang_missing":case"home_malformed":case"siteurl_malformed":case"gmt_offset_malformed":case"timezone_string_malformed":case"site_name_malformed":case"secret_1_malformed":case"secret_2_malformed":case"site_lang_malformed":case"secrets_mismatch":case"verify_secret_1_missing":case"verify_secret_1_malformed":case"verify_secrets_missing":case"verify_secrets_mismatch":n=(0,c.createInterpolateElement)((0,l.sprintf)(
/* translators: placeholder is an error code and message. */
-__("<s>Your Jetpack has a glitch.</s> We’re sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %s","jetpack"),e),{s:o().createElement("strong",null)});break;default:n=e}return t?o().createElement("div",null,n,o().createElement("br",null),t):o().createElement("div",null,n)})),i()(this,"getMessageFromKey",(e=>{let t,n="",r="is-info";switch(e){case"modules_activated":this.props.isAtomicPlatform||(n=(0,c.createInterpolateElement)((0,l.sprintf)(
+__("<s>Your Jetpack has a glitch.</s> We’re sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %s","jetpack"),e),{s:a().createElement("strong",null)});break;default:n=e}return t?a().createElement("div",null,n,a().createElement("br",null),t):a().createElement("div",null,n)})),r()(this,"getMessageFromKey",(e=>{let t,n="",s="is-info";switch(e){case"modules_activated":this.props.isAtomicPlatform||(n=(0,c.createInterpolateElement)((0,l.sprintf)(
/* translators: placeholder is a version number, like 8.8. */
-__("Welcome to <s>Jetpack %s</s>!","jetpack"),this.props.currentVersion),{s:o().createElement("strong",null)}));break;case"already_authorized":n=__("Your Jetpack is already connected.","jetpack"),r="is-success";break;case"authorized":n=__("You're fueled up and ready to go, Jetpack is now active.","jetpack"),r="is-success";break;case"linked":n=__("You're fueled up and ready to go.","jetpack"),r="is-success";break;case"protect_misconfigured_ip":n=__("Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.","jetpack"),r="is-info",t=o().createElement(h.Z,{href:(0,u.Z)("jetpack-support-security-troubleshooting-protect")},__("Learn More","jetpack"));break;case"reconnection_completed":n=(0,c.createInterpolateElement)(__("Jetpack successfully reconnected! You can check your Jetpack Connection health by visiting the <a>Site Health tool</a>.","jetpack"),{a:o().createElement("a",{href:this.props.siteAdminUrl+"site-health.php"})}),r="is-success";break;default:n=e}return[n,r,t]})),i()(this,"renderContent",(()=>{let e,t="is-info",n="";const r=this.props.jetpackStateNoticesErrorCode,i=this.props.jetpackStateNoticesMessageCode,s=this.props.jetpackStateNoticesMessageContent;if(r||i||s){if(r&&(n=this.getErrorFromKey(r),"access_denied"!==r&&(t="is-error")),s&&s.release_post_content&&!this.props.isAtomicPlatform)return o().createElement(m.Z,{dismiss:this.dismissJetpackStateNotice,version:this.props.currentVersion,releasePostContent:s.release_post_content,featuredImage:s.release_post_featured_image,title:s.release_post_title});if(i){const r=this.getMessageFromKey(i);n=r[0],t=r[1],e=r[2]}if(""!==n)return o().createElement(f.Z,{status:t,onDismissClick:this.dismissJetpackStateNotice,text:n},e)}}))}render(){return o().createElement("div",null,this.state.showNotice?this.renderContent():null)}}i()(g,"displayName","JetpackStateNotices"),t.Z=(0,a.$j)((e=>({currentVersion:(0,p.w1)(e),isAtomicPlatform:(0,p.vL)(e),jetpackStateNoticesErrorCode:(0,d.gB)(e),jetpackStateNoticesMessageCode:(0,d.pt)(e),jetpackStateNoticesErrorDescription:(0,d.XF)(e),jetpackStateNoticesMessageContent:(0,d.Rv)(e),siteAdminUrl:(0,p.wW)(e)})))(g)},62807:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(69307),l=n(65736),u=n(71415),p=n(68961),d=n(11973),h=n(66552),f=n(77219),m=n(88001);const __=l.__,g=e=>{const{detachedLicensesCount:t,activationNoticeDismissInfo:n,updateLicensingActivationNoticeDismiss:r,pathname:i,siteAdminUrl:a}=e,{last_detached_count:l,last_dismissed_time:h}=n,f=`${a}admin.php?page=jetpack#/license/activation`,g=!!t,v=t>(l||0),b=(new Date-new Date(h||new Date))/864e5;(0,s.useEffect)((()=>{g&&(v||b>14)&&d.Z.tracks.recordEvent("jetpack_wpa_licensing_activation_notice_view")}),[]);const y=(0,s.useCallback)((()=>{d.Z.tracks.recordJetpackClick({target:"licensing_activation_notice",page:i,path:"licensing/activation"})}),[i]),k=(0,s.useCallback)((()=>{d.Z.tracks.recordJetpackClick({target:"calypso_purchases_link",page:i})}),[i]),w=(0,s.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_wpa_licensing_activation_notice_dismiss"),r()}),[r]);return g&&(v||b>14)?o().createElement(m.Z,{className:"jp-license-activation-notice",showDismiss:!0,onDismissClick:w,text:(0,c.createInterpolateElement)(__("You have an available product license key. <activateLink>Activate it now</activateLink> or <purchasesLink>view all your purchases</purchasesLink>","jetpack"),{activateLink:(0,s.createElement)("a",{href:f,onClick:y}),purchasesLink:(0,s.createElement)(p.Z,{className:"jp-license-activation-notice__external-link",href:(0,u.Z)("calypso-purchases"),onClick:k,target:"_blank",icon:!0})})}):null};g.propTypes={detachedLicensesCount:i().number.isRequired,activationNoticeDismissInfo:i().shape({last_detached_count:i().number.isRequired,last_dismiss_time:i().string.isRequired}),pathname:i().string.isRequired,siteAdminUrl:i().string.isRequired},t.Z=(0,a.$j)((e=>({detachedLicensesCount:(0,f.O4)(e),activationNoticeDismissInfo:(0,f.SP)(e),siteAdminUrl:(0,h.wW)(e)})),(e=>({updateLicensingActivationNoticeDismiss:()=>e((0,f.bT)())})))(g)},94218:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(89105),c=n.n(a),l=n(78850),u=n(65736),p=n(11973),d=n(9913),h=n(22256);const __=u.__,f=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=(0,l.LR)(e,t),s=c()({"jp-product-card__raw-price":!0,"jp-product-card__raw-price--is-old-price":n});return i().createElement("div",{className:s},i().createElement("sup",{className:"jp-product-card__currency-symbol"},r.symbol),i().createElement("span",{className:"jp-product-card__price-integer"},r.integer),i().createElement("sup",{className:"jp-product-card__price-fraction"},r.fraction))},m=e=>{const{icon:t,title:n,productSlug:s,description:o,features:a,currencyCode:l,price:m,discount:g,billingDescription:v,callToAction:b,checkoutText:y,checkoutUrl:k,priority:w,illustrationPath:_}=e,E=m*(100-g)/100,C=g>0,S=!!_,j=!!b;(0,r.useEffect)((()=>{p.Z.tracks.recordEvent("jetpack_product_card_view",{type:s})}),[s]);const M=(0,r.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_product_card_checkout_click",{type:s})}),[s]),x=c()({"jp-product-card":!0,"jp-product-card--has-media":S,"jp-product-card--has-cta":j}),N=c()(["jp-product-card__checkout",`jp-product-card__checkout--${w}`]);return i().createElement("div",{className:x},j&&i().createElement("div",{className:"jp-product-card__cta"},i().createElement(h.Z,{icon:"star"})," ",b),i().createElement("div",{className:"jp-product-card__inner"},!!t&&i().createElement("div",{className:"jp-product-card__icon"},t),i().createElement("h3",{className:"jp-product-card__title"},n),i().createElement("p",{className:"jp-product-card__description"},o),a.length&&i().createElement("ul",{className:"jp-product-card__features"},a.map(((e,t)=>i().createElement("li",{className:"jp-product-card__feature",key:t},i().createElement(h.Z,{icon:"checkmark"}),e)))),i().createElement("div",{className:"jp-product-card__price"},f(m,l,!!C),!!C&&f(E,l)),i().createElement("span",{className:"jp-product-card__price-description"},v),i().createElement(d.Z,{className:N,href:k,onClick:M},y)),S&&i().createElement("img",{className:"jp-product-card__media",src:_,alt:(0,u.sprintf)(
+__("Welcome to <s>Jetpack %s</s>!","jetpack"),this.props.currentVersion),{s:a().createElement("strong",null)}));break;case"already_authorized":n=__("Your Jetpack is already connected.","jetpack"),s="is-success";break;case"authorized":n=__("You're fueled up and ready to go, Jetpack is now active.","jetpack"),s="is-success";break;case"linked":n=__("You're fueled up and ready to go.","jetpack"),s="is-success";break;case"protect_misconfigured_ip":n=__("Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.","jetpack"),s="is-info",t=a().createElement(m.Z,{href:(0,p.Z)("jetpack-support-security-troubleshooting-protect")},__("Learn More","jetpack"));break;case"reconnection_completed":n=(0,c.createInterpolateElement)(__("Jetpack successfully reconnected! You can check your Jetpack Connection health by visiting the <a>Site Health tool</a>.","jetpack"),{a:a().createElement("a",{href:this.props.siteAdminUrl+"site-health.php"})}),s="is-success";break;default:n=e}return[n,s,t]})),r()(this,"renderContent",(()=>{let e,t="is-info",n="";const s=this.props.jetpackStateNoticesErrorCode,r=this.props.jetpackStateNoticesMessageCode,i=this.props.jetpackStateNoticesMessageContent;if(s||r||i){if(s&&(n=this.getErrorFromKey(s),"access_denied"!==s&&(t="is-error")),i&&i.release_post_content&&!this.props.isAtomicPlatform)return a().createElement(g.Z,{dismiss:this.dismissJetpackStateNotice,version:this.props.currentVersion,releasePostContent:i.release_post_content,featuredImage:i.release_post_featured_image,title:i.release_post_title});if(r){const s=this.getMessageFromKey(r);n=s[0],t=s[1],e=s[2]}if(""!==n)return a().createElement(h.Z,{status:t,onDismissClick:this.dismissJetpackStateNotice,text:n},e)}}))}render(){return a().createElement("div",null,this.state.showNotice?this.renderContent():null)}}r()(f,"displayName","JetpackStateNotices"),t.Z=(0,o.$j)((e=>({currentVersion:(0,u.w1)(e),isAtomicPlatform:(0,u.vL)(e),jetpackStateNoticesErrorCode:(0,d.gB)(e),jetpackStateNoticesMessageCode:(0,d.pt)(e),jetpackStateNoticesErrorDescription:(0,d.XF)(e),jetpackStateNoticesMessageContent:(0,d.Rv)(e),siteAdminUrl:(0,u.wW)(e)})))(f)},4687:function(e,t,n){"use strict";var s=n(5162),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(9307),l=n(5736),p=n(6324),u=n(5609),d=n(4069),m=n(9508),h=n(9963),g=n(1668);const __=l.__,f=e=>{const{detachedLicensesCount:t,activationNoticeDismissInfo:n,updateLicensingActivationNoticeDismiss:s,updateUserLicenses:r,pathname:o,siteAdminUrl:m,detachedLicenses:h,detachedLicensesLoading:f}=e,{last_detached_count:v,last_dismissed_time:k}=n,_=`${m}admin.php?page=jetpack#/license/activation`,y=!!t,E=t>=(v||0),w=new Date,b=new Date(k||new Date),C=y&&(E||(w-b)/864e5>14);(0,i.useEffect)((()=>{C&&(d.Z.tracks.recordEvent("jetpack_wpa_licensing_activation_notice_view"),1===t&&r())}),[]);const j=(0,i.useCallback)((()=>{d.Z.tracks.recordJetpackClick({target:"licensing_activation_notice",page:o,path:"licensing/activation"})}),[o]),S=(0,i.useCallback)((()=>{d.Z.tracks.recordJetpackClick({target:"calypso_purchases_link",page:o})}),[o]),N=(0,i.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_wpa_licensing_activation_notice_dismiss"),s()}),[s]);if(C){const e=h[0],n=e&&e.product,s=1===t&&n?(0,l.sprintf)(
+/* translators: placeholder is a product name */
+__("Activate %s. <activateLink>Activate it now</activateLink> or <purchasesLink>view all your purchases</purchasesLink>","jetpack"),n):__("You have an available product license key. <activateLink>Activate it now</activateLink> or <purchasesLink>view all your purchases</purchasesLink>","jetpack");return f?a().createElement("div",{className:"is-placeholder loading-notice"}):a().createElement(g.Z,{className:"jp-license-activation-notice",showDismiss:!0,onDismissClick:N,text:(0,c.createInterpolateElement)(s,{activateLink:(0,i.createElement)("a",{href:_,onClick:j}),purchasesLink:(0,i.createElement)(u.ExternalLink,{className:"jp-license-activation-notice__external-link",href:(0,p.Z)("calypso-purchases"),onClick:S})})})}return null};f.propTypes={detachedLicensesCount:r().number.isRequired,activationNoticeDismissInfo:r().shape({last_detached_count:r().number,last_dismiss_time:r().string}),pathname:r().string.isRequired,siteAdminUrl:r().string.isRequired,detachedLicenses:r().array.isRequired},f.defaultProps={activationNoticeDismissInfo:{last_detached_count:null,last_dismiss_time:null}},t.Z=(0,o.$j)((e=>({detachedLicensesCount:(0,h.O4)(e),activationNoticeDismissInfo:(0,h.SP)(e),siteAdminUrl:(0,m.wW)(e),detachedLicenses:(0,h.qz)(e),detachedLicensesLoading:(0,h.QD)(e)})),(e=>({updateLicensingActivationNoticeDismiss:()=>e((0,h.bT)()),updateUserLicenses:()=>e((0,h.v5)())})))(f)},2177:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5162),a=n.n(i),o=n(5235),c=n.n(o),l=n(5784),p=n(5736),u=n(4069),d=n(7506),m=n(5060);const __=p.__,h=e=>{const{icon:t,title:n,productSlug:i,description:a,features:o,currencyCode:h,price:g,discountedPrice:f,billingDescription:v,callToAction:k,checkoutText:_,checkoutUrl:y,priority:E,illustrationPath:w}=e,b=!!w,C=!!k;(0,s.useEffect)((()=>{u.Z.tracks.recordEvent("jetpack_product_card_view",{type:i})}),[i]);const j=(0,s.useCallback)((()=>{u.Z.tracks.recordEvent("jetpack_product_card_checkout_click",{type:i})}),[i]),S=c()({"jp-product-card":!0,"jp-product-card--has-media":b,"jp-product-card--has-cta":C}),N=c()(["jp-product-card__checkout",`jp-product-card__checkout--${E}`]);return r().createElement("div",{className:S},C&&r().createElement("div",{className:"jp-product-card__cta"},r().createElement(m.Z,{icon:"star"})," ",k),r().createElement("div",{className:"jp-product-card__inner"},!!t&&r().createElement("div",{className:"jp-product-card__icon"},t),r().createElement("h3",{className:"jp-product-card__title"},n),r().createElement("p",{className:"jp-product-card__description"},a),o.length&&r().createElement("ul",{className:"jp-product-card__features"},o.map(((e,t)=>r().createElement("li",{className:"jp-product-card__feature",key:t},r().createElement(m.Z,{icon:"checkmark"}),e)))),r().createElement("div",{className:"jp-product-card__price"},r().createElement(l.Z,{currency:h,price:g,offPrice:f,showNotOffPrice:!!f,leyend:v})),r().createElement(d.Z,{className:N,href:y,onClick:j},_)),b&&r().createElement("img",{className:"jp-product-card__media",src:w,alt:(0,p.sprintf)(
/* translators: %s: Name of a Jetpack product. */
-__("Graphical illustration of product: %s","jetpack"),n)}))};m.propTypes={checkoutText:o().string.isRequired,checkoutUrl:o().string.isRequired,title:o().string.isRequired,price:o().number.isRequired,currencyCode:o().string.isRequired,billingDescription:o().string.isRequired,productSlug:o().string.isRequired,description:o().string,features:o().array,discount:o().number,icon:o().element,callToAction:o().string,priority:o().string,illustrationPath:o().string},m.defaultProps={arePromotionsActive:!1,description:"",discount:0,features:[],priority:"primary",showIllustration:""},t.Z=m},26040:function(e,t,n){"use strict";n.d(t,{e:function(){return h}});var r=n(2620),i=n(99196),s=n.n(i),o=n(65736),a=n(11973),c=n(9913),l=n(45232),u=n(41147),p=n(66552),d=n(93107);const __=o.__,h=(0,r.$j)((e=>({canEditPosts:(0,p.rp)(e),canManageOptions:(0,p.UF)(e),hasConnectedOwner:(0,u.it)(e),isCurrentUserLinked:(0,u.BU)(e),isSiteConnected:(0,u.j8)(e),activeModules:(0,d.Xx)(e),siteConnectionStatus:(0,u.Gz)(e)})))((e=>{const{activeModules:t,canEditPosts:n,canManageOptions:r,hasConnectedOwner:o,isCurrentUserLinked:u,isSiteConnected:p,location:d={pathname:""},siteConnectionStatus:h}=e,{pathname:f}=d,m=["/","/dashboard","/my-plan","/plans"].includes(f)||f.includes("/recommendations"),g=""===f,v=(0,i.useCallback)((()=>{a.Z.tracks.recordJetpackClick({target:"masthead",path:"nav_dashboard"})}),[]),b=(0,i.useCallback)((()=>{a.Z.tracks.recordJetpackClick({target:"masthead",path:"nav_settings"})}),[]);if(g)return null;if(!h)return null;if(f.startsWith("/setup"))return null;if(!n)return null;if("offline"!==h&&!p)return null;if("offline"!==h&&!r){if(!o)return null;if(!u)return null;if(!t.some((e=>["post-by-email","publicize"].includes(e))))return null}return s().createElement("div",{className:"jp-masthead__nav"},s().createElement(l.Z,null,s().createElement(c.Z,{compact:!0,href:"#/dashboard",primary:m&&!g,onClick:v},__("Dashboard","jetpack")),s().createElement(c.Z,{compact:!0,href:"#/settings",primary:!m&&!g,onClick:b},__("Settings","jetpack"))))}))},96082:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(81546),l=n(11973),u=n(26040),p=n(66552),d=n(41147);class h extends o().Component{constructor(){super(...arguments),i()(this,"trackLogoClick",(()=>{l.Z.tracks.recordJetpackClick({target:"masthead",path:"logo"})})),i()(this,"testConnection",(()=>this.props.testConnection()))}render(){const{isWoASite:e,sandboxDomain:t,siteConnectionStatus:n}=this.props,r="offline"===n?o().createElement("code",null,"Offline Mode"):"",i=t?o().createElement("code",{id:"sandbox-domain-badge",onClick:this.testConnection,onKeyDown:this.testConnection,role:"button",tabIndex:0,title:`Sandboxing via ${t}. Click to test connection.`},"API Sandboxed"):"";return o().createElement("div",{className:"jp-masthead"},o().createElement("div",{className:"jp-masthead__inside-container"},o().createElement("div",{className:"jp-masthead__logo-container"},o().createElement("a",{onClick:this.trackLogoClick,className:"jp-masthead__logo-link",href:"#dashboard"},o().createElement(c.Z,{className:"jetpack-logo__masthead"})),r,i),e&&o().createElement(u.e,{location:this.props.location})))}}t.Z=(0,a.$j)((e=>({isWoASite:(0,p.Pw)(e),sandboxDomain:(0,d.LN)(e),siteConnectionStatus:(0,d.Gz)(e)})),(e=>({testConnection:()=>e((0,d.SG)())})))(h)},10958:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(65736),l=n(11973),u=n(9913),p=n(60742),d=n(41147),h=n(82649),f=n(41922),m=n(27279);const __=c.__,_x=c._x;class g extends o().Component{constructor(){super(...arguments),i()(this,"state",{showModal:!1}),i()(this,"handleOpenModal",(e=>{e.preventDefault(),l.Z.tracks.recordJetpackClick("login_to_mobile_app_modal"),this.toggleModalVisibility()})),i()(this,"toggleModalVisibility",(()=>{this.setState({showModal:!this.state.showModal})})),i()(this,"clickSendLoginEmail",(e=>{e.preventDefault(),l.Z.tracks.recordJetpackClick("login_to_mobile_send_link"),this.toggleModalVisibility(),this.props.sendMobileLoginEmail()}))}renderModal(){return o().createElement(h.Z,{className:"mobile-magic-link__modal",onRequestClose:this.toggleModalVisibility},o().createElement(p.Z,{className:"mobile-magic-link__modal__body"},o().createElement("h2",null,__("Email me a link to log in to the app","jetpack")),o().createElement("h4",null,__("Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.","jetpack")),o().createElement("div",{className:"mobile-magic-link__modal-actions"},o().createElement(u.Z,{className:"mobile-magic-link__modal-cancel",onClick:this.toggleModalVisibility},_x("Cancel","A caption for a button to cancel an action.","jetpack")),o().createElement(u.Z,{onClick:this.clickSendLoginEmail,primary:!0},_x("Send link","A caption for a button to log in to the WordPress mobile app.","jetpack")))))}render(){const{showModal:e}=this.state;return o().createElement("div",{className:"mobile-magic-link"},o().createElement("a",{className:"mobile-magic-link__button",onClick:this.handleOpenModal,onKeyDown:(0,f.Z)(this.handleOpenModal),role:"button",tabIndex:"0"},__("Log in to the WordPress mobile app","jetpack")),e&&this.renderModal())}}i()(g,"displayName","MobileMagicLink"),t.Z=(0,a.$j)((e=>({isSiteConnected:(0,d.Gz)(e),isLinked:(0,d.BU)(e)})),{sendMobileLoginEmail:m.u})(g)},82649:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(11268),c=n.n(a),l=n(99196),u=n.n(l),p=n(91850),d=n.n(p),h=n(89105),f=n.n(h),m=n(92819),g=n(18282);let v=!1;class b extends u().Component{constructor(){super(...arguments),o()(this,"state",{overlayMouseDown:!1}),o()(this,"handleEscapeKey",(e=>{27===e.keyCode&&this.maybeClose()})),o()(this,"maybeClose",(()=>{this.props.onRequestClose&&!v&&this.props.onRequestClose()})),o()(this,"handleMouseDownOverlay",(e=>{e.preventDefault(),e.stopPropagation(),this.setState({overlayMouseDown:!0})})),o()(this,"handleClickOverlay",(e=>{e.preventDefault(),e.stopPropagation(),this.state.overlayMouseDown&&this.props.onRequestClose&&!v&&(this.setState({overlayMouseDown:!1}),this.props.onRequestClose())})),o()(this,"handleMouseEventModal",(e=>{e.stopPropagation()}))}componentDidMount(){jQuery("body").addClass("dops-modal-showing").on("touchmove.dopsmodal",!1),jQuery(document).keyup(this.handleEscapeKey);try{this.focusTrap=(0,g.v)(d().findDOMNode(this)),this.focusTrap.activate({initialFocus:this.props.initialFocus})}catch(e){}}componentWillUnmount(){jQuery("body").removeClass("dops-modal-showing").off("touchmove.dopsmodal",!1),jQuery(document).unbind("keyup",this.handleEscapeKey);try{this.focusTrap.deactivate()}catch(e){}}render(){let e;const{style:t,className:n,width:r,title:s,...o}=this.props,{forwardedProps:a}=(0,m.omit)(o,"onRequestClose");switch(r){case"wide":e={maxWidth:"inherit",width:"inherit"};break;case"medium":e={maxWidth:1050,width:"inherit"};break;default:e={}}const c=(0,m.assign)({},t,e);return u().createElement("div",{className:"dops-modal-wrapper",onClick:this.handleClickOverlay,onMouseDown:this.handleMouseDownOverlay},u().createElement("div",i()({className:f()("dops-modal",n),style:c,onClick:this.handleMouseEventModal,onMouseDown:this.handleMouseEventModal,onMouseUp:this.handleMouseEventModal,role:"dialog","aria-label":s},a),this.props.children))}}o()(b,"propTypes",{style:c().object,width:c().oneOf(["wide","medium","narrow"]),className:c().string,title:c().string,initialFocus:c().string,onRequestClose:c().func}),o()(b,"defaultProps",{style:{}}),b.preventClose=function(){v=!0},b.allowClose=function(){v=!1},t.Z=b},53263:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(89105),u=n.n(l),p=n(69307),d=n(65736),h=n(71415),f=n(85253);const __=d.__;class m extends f.Z{render(){if(!this.props.moduleName)return null;const e=u()("module-overridden-banner",{"is-compact":this.props.compact});return o().createElement(f.Z,{className:e,title:this.props.moduleName,icon:"cog",description:(0,p.createInterpolateElement)((0,d.sprintf)(
+__("Graphical illustration of product: %s","jetpack"),n)}))};h.propTypes={checkoutText:a().string.isRequired,checkoutUrl:a().string.isRequired,title:a().string.isRequired,price:a().number.isRequired,discountedPrice:a().number,currencyCode:a().string.isRequired,billingDescription:a().string.isRequired,productSlug:a().string.isRequired,description:a().string,features:a().array,icon:a().element,callToAction:a().string,priority:a().string,illustrationPath:a().string},h.defaultProps={description:"",features:[],priority:"primary",showIllustration:""},t.Z=h},6484:function(e,t,n){"use strict";n.d(t,{e:function(){return m}});var s=n(9309),r=n(9196),i=n.n(r),a=n(5736),o=n(4069),c=n(7506),l=n(8492),p=n(6300),u=n(9508),d=n(416);const __=a.__,m=(0,s.$j)((e=>({canEditPosts:(0,u.rp)(e),canManageOptions:(0,u.UF)(e),hasConnectedOwner:(0,p.it)(e),isCurrentUserLinked:(0,p.BU)(e),isSiteConnected:(0,p.j8)(e),activeModules:(0,d.Xx)(e),siteConnectionStatus:(0,p.Gz)(e)})))((e=>{const{activeModules:t,canEditPosts:n,canManageOptions:s,hasConnectedOwner:a,isCurrentUserLinked:p,isSiteConnected:u,location:d={pathname:""},siteConnectionStatus:m}=e,{pathname:h}=d,g=["/","/dashboard","/my-plan","/plans"].includes(h)||h.includes("/recommendations"),f=""===h,v=(0,r.useCallback)((()=>{o.Z.tracks.recordJetpackClick({target:"masthead",path:"nav_dashboard"})}),[]),k=(0,r.useCallback)((()=>{o.Z.tracks.recordJetpackClick({target:"masthead",path:"nav_settings"})}),[]);if(f)return null;if(!m)return null;if(h.startsWith("/setup"))return null;if(!n)return null;if("offline"!==m&&!u)return null;if("offline"!==m&&!s){if(!a)return null;if(!p)return null;if(!t.some((e=>["post-by-email","publicize"].includes(e))))return null}return i().createElement("div",{className:"jp-masthead__nav"},i().createElement(l.Z,null,i().createElement(c.Z,{compact:!0,href:"#/dashboard",primary:g&&!f,onClick:v},__("Dashboard","jetpack")),i().createElement(c.Z,{compact:!0,href:"#/settings",primary:!g&&!f,onClick:k},__("Settings","jetpack"))))}))},6795:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(1202),l=n(4069),p=n(6484),u=n(9508),d=n(6300);class m extends a().Component{constructor(){super(...arguments),r()(this,"trackLogoClick",(()=>{l.Z.tracks.recordJetpackClick({target:"masthead",path:"logo"})})),r()(this,"testConnection",(()=>this.props.testConnection()))}render(){const{isWoASite:e,sandboxDomain:t,siteConnectionStatus:n}=this.props,s="offline"===n?a().createElement("code",null,"Offline Mode"):"",r=t?a().createElement("code",{id:"sandbox-domain-badge",onClick:this.testConnection,onKeyDown:this.testConnection,role:"button",tabIndex:0,title:`Sandboxing via ${t}. Click to test connection.`},"API Sandboxed"):"";return a().createElement("div",{className:"jp-masthead"},a().createElement("div",{className:"jp-masthead__inside-container"},a().createElement("div",{className:"jp-masthead__logo-container"},a().createElement("a",{onClick:this.trackLogoClick,className:"jp-masthead__logo-link",href:"#dashboard"},a().createElement(c.Z,{className:"jetpack-logo__masthead"})),s,r),e&&a().createElement(p.e,{location:this.props.location})))}}t.Z=(0,o.$j)((e=>({isWoASite:(0,u.Pw)(e),sandboxDomain:(0,d.LN)(e),siteConnectionStatus:(0,d.Gz)(e)})),(e=>({testConnection:()=>e((0,d.SG)())})))(m)},2106:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(5736),l=n(4069),p=n(7506),u=n(5799),d=n(6300),m=n(2676),h=n(3915),g=n(1739);const __=c.__,_x=c._x;class f extends a().Component{constructor(){super(...arguments),r()(this,"state",{showModal:!1}),r()(this,"handleOpenModal",(e=>{e.preventDefault(),l.Z.tracks.recordJetpackClick("login_to_mobile_app_modal"),this.toggleModalVisibility()})),r()(this,"toggleModalVisibility",(()=>{this.setState({showModal:!this.state.showModal})})),r()(this,"clickSendLoginEmail",(e=>{e.preventDefault(),l.Z.tracks.recordJetpackClick("login_to_mobile_send_link"),this.toggleModalVisibility(),this.props.sendMobileLoginEmail()}))}renderModal(){return a().createElement(m.Z,{className:"mobile-magic-link__modal",onRequestClose:this.toggleModalVisibility},a().createElement(u.Z,{className:"mobile-magic-link__modal__body"},a().createElement("h2",null,__("Email me a link to log in to the app","jetpack")),a().createElement("h4",null,__("Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.","jetpack")),a().createElement("div",{className:"mobile-magic-link__modal-actions"},a().createElement(p.Z,{className:"mobile-magic-link__modal-cancel",onClick:this.toggleModalVisibility},_x("Cancel","A caption for a button to cancel an action.","jetpack")),a().createElement(p.Z,{onClick:this.clickSendLoginEmail,primary:!0},_x("Send link","A caption for a button to log in to the WordPress mobile app.","jetpack")))))}render(){const{showModal:e}=this.state;return a().createElement("div",{className:"mobile-magic-link"},a().createElement("a",{className:"mobile-magic-link__button",onClick:this.handleOpenModal,onKeyDown:(0,h.Z)(this.handleOpenModal),role:"button",tabIndex:"0"},__("Log in to the WordPress mobile app","jetpack")),e&&this.renderModal())}}r()(f,"displayName","MobileMagicLink"),t.Z=(0,o.$j)((e=>({isSiteConnected:(0,d.Gz)(e),isLinked:(0,d.BU)(e)})),{sendMobileLoginEmail:g.u})(f)},2676:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l),u=n(1850),d=n.n(u),m=n(5235),h=n.n(m),g=n(2819),f=n(2056);let v=!1;class k extends p().Component{constructor(){super(...arguments),a()(this,"state",{overlayMouseDown:!1}),a()(this,"handleEscapeKey",(e=>{27===e.keyCode&&this.maybeClose()})),a()(this,"maybeClose",(()=>{this.props.onRequestClose&&!v&&this.props.onRequestClose()})),a()(this,"handleMouseDownOverlay",(e=>{e.preventDefault(),e.stopPropagation(),this.setState({overlayMouseDown:!0})})),a()(this,"handleClickOverlay",(e=>{e.preventDefault(),e.stopPropagation(),this.state.overlayMouseDown&&this.props.onRequestClose&&!v&&(this.setState({overlayMouseDown:!1}),this.props.onRequestClose())})),a()(this,"handleMouseEventModal",(e=>{e.stopPropagation()}))}componentDidMount(){jQuery("body").addClass("dops-modal-showing").on("touchmove.dopsmodal",!1),jQuery(document).keyup(this.handleEscapeKey);try{this.focusTrap=(0,f.v)(d().findDOMNode(this)),this.focusTrap.activate({initialFocus:this.props.initialFocus})}catch(e){}}componentWillUnmount(){jQuery("body").removeClass("dops-modal-showing").off("touchmove.dopsmodal",!1),jQuery(document).unbind("keyup",this.handleEscapeKey);try{this.focusTrap.deactivate()}catch(e){}}render(){let e;const{style:t,className:n,width:s,title:i,...a}=this.props,{forwardedProps:o}=(0,g.omit)(a,"onRequestClose");switch(s){case"wide":e={maxWidth:"inherit",width:"inherit"};break;case"medium":e={maxWidth:1050,width:"inherit"};break;default:e={}}const c=(0,g.assign)({},t,e);return p().createElement("div",{className:"dops-modal-wrapper",onClick:this.handleClickOverlay,onMouseDown:this.handleMouseDownOverlay},p().createElement("div",r()({className:h()("dops-modal",n),style:c,onClick:this.handleMouseEventModal,onMouseDown:this.handleMouseEventModal,onMouseUp:this.handleMouseEventModal,role:"dialog","aria-label":i},o),this.props.children))}}a()(k,"propTypes",{style:c().object,width:c().oneOf(["wide","medium","narrow"]),className:c().string,title:c().string,initialFocus:c().string,onRequestClose:c().func}),a()(k,"defaultProps",{style:{}}),k.preventClose=function(){v=!0},k.allowClose=function(){v=!1},t.Z=k},9224:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(5235),p=n.n(l),u=n(9307),d=n(5736),m=n(6324),h=n(5733);const __=d.__;class g extends h.zv{render(){if(!this.props.moduleName)return null;const e=p()("module-overridden-banner",{"is-compact":this.props.compact});return a().createElement(h.zv,{className:e,title:this.props.moduleName,icon:"cog",description:(0,u.createInterpolateElement)((0,d.sprintf)(
/* translators: placeholder is a feature name. */
-__("%s has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),this.props.moduleName),{link:o().createElement("a",{href:(0,h.Z)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer"})})})}}i()(m,"propTypes",{moduleName:c().string.isRequired}),t.Z=m},7179:function(e,t,n){"use strict";n.d(t,{l:function(){return u}});var r=n(2620),i=n(92819),s=n(65736),o=n(93107),a=n(17752),c=n(66552),l=n(41147);const __=s.__;function u(e){return(0,r.$j)(((e,t)=>({validValues:function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof(0,i.get)(t,["module","module"])&&(r=t.module.module),(0,o.R9)(e,r,n)},getOptionCurrentValue:(t,n)=>(0,o.C5)(e,t,n),getSettingCurrentValue:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,a.$8)(e,t,n)},getSiteRoles:()=>(0,c.Td)(e),isUpdating:t=>(0,a.Cu)(e,t),adminEmailAddress:(0,c.je)(e),currentIp:(0,c.de)(e),siteAdminUrl:(0,c.wW)(e),isCurrentUserLinked:(0,l.BU)(e)})),(e=>({updateOptions:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e((0,a.VP)(t,n))},regeneratePostByEmailAddress:()=>{const t={progress:__("Updating Post by Email address…","jetpack"),success:__("Regenerated Post by Email address.","jetpack"),error:e=>(0,s.sprintf)(
+__("%s has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),this.props.moduleName),{link:a().createElement("a",{href:(0,m.Z)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer"})})})}}r()(g,"propTypes",{moduleName:c().string.isRequired}),t.Z=(0,h.$j)(g)},9031:function(e,t,n){"use strict";n.d(t,{l:function(){return p}});var s=n(9309),r=n(2819),i=n(5736),a=n(416),o=n(3230),c=n(9508),l=n(6300);const __=i.__;function p(e){return(0,s.$j)(((e,t)=>({validValues:function(n){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof(0,r.get)(t,["module","module"])&&(s=t.module.module),(0,a.R9)(e,s,n)},getOptionCurrentValue:(t,n)=>(0,a.C5)(e,t,n),getSettingCurrentValue:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,o.$8)(e,t,n)},getSiteRoles:()=>(0,c.Td)(e),isUpdating:t=>(0,o.Cu)(e,t),adminEmailAddress:(0,c.je)(e),currentIp:(0,c.de)(e),siteAdminUrl:(0,c.wW)(e),isCurrentUserLinked:(0,l.BU)(e)})),(e=>({updateOptions:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e((0,o.VP)(t,n))},regeneratePostByEmailAddress:()=>{const t={progress:__("Updating Post by Email address…","jetpack"),success:__("Regenerated Post by Email address.","jetpack"),error:e=>(0,i.sprintf)(
/* translators: placeholder is an error message. */
-__("Error regenerating Post by Email address. %s","jetpack"),e)};return e((0,a.VP)({post_by_email_address:"regenerate"},t))},setUnsavedSettingsFlag:()=>e((0,a.a6)()),clearUnsavedSettingsFlag:()=>e((0,a._1)()),refreshSettings:()=>e((0,a.wv)())})))(e)}},5e4:function(e,t,n){"use strict";n.d(t,{u:function(){return d}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(11973),u=n(92819),p=n(7179);function d(e){class t extends c().Component{constructor(){var e;super(...arguments),e=this,o()(this,"state",{options:{}}),o()(this,"onOptionChange",(e=>{const t=e.target.name;let n;n="checkbox"===e.target.type&&void 0!==e.target.checked?e.target.checked:e.target.value,this.updateFormStateOptionValue(t,n)})),o()(this,"updateFormStateOptionValue",(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;"string"==typeof t&&(t={[t]:n});const r={...e.state.options,...t};return e.setState({options:r}),!0})),o()(this,"resetFormStateOption",(e=>(this.setState({options:(0,u.omit)(this.state.options,[e])}),!0))),o()(this,"updateFormStateModuleOption",(function(t,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.trackSettingsToggle(t,n,!e.getOptionValue(n)),e.getOptionValue(t)?r?e.props.updateOptions({[t]:!1,[n]:!e.getOptionValue(n)}):e.props.updateOptions({[n]:!e.getOptionValue(n)}):e.props.updateOptions({[t]:!0,[n]:!0})})),o()(this,"toggleModuleNow",(e=>{this.props.updateOptions({[e]:!this.getOptionValue(e)})})),o()(this,"onSubmit",(e=>{e.preventDefault(),this.props.updateOptions(this.state.options).then((()=>{const e={};(0,u.each)(this.state.options,((t,n)=>{n=n.replace(/\-/,"_"),e[n]=t})),this.trackFormSubmission(e),this.setState({options:{}})})).then((()=>{this.props.refreshSettings(),this.props.clearUnsavedSettingsFlag()}))})),o()(this,"getOptionValue",(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,u.get)(e.state.options,t,e.props.getSettingCurrentValue(t,n))})),o()(this,"shouldSaveButtonBeDisabled",(()=>this.isSavingAnyOption()||!this.isDirty())),o()(this,"isDirty",(()=>!!Object.keys(this.state.options).length)),o()(this,"isSavingAnyOption",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.props.isUpdating(t)})),o()(this,"trackFormSubmission",(e=>{l.Z.tracks.recordEvent("jetpack_wpa_settings_form_submit",e)})),o()(this,"trackSettingsToggle",((e,t,n)=>{l.Z.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:e,setting:t,toggled:n?"on":"off"})}))}componentDidUpdate(){this.isDirty()&&this.props.setUnsavedSettingsFlag()}render(){return c().createElement(e,i()({getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,toggleModuleNow:this.toggleModuleNow,updateFormStateModuleOption:this.updateFormStateModuleOption,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption,isDirty:this.isDirty,resetFormStateOption:this.resetFormStateOption},this.props))}}return(0,p.l)(t)}},77222:function(e,t,n){"use strict";n.d(t,{T:function(){return v}});var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(2620),u=n(69307),p=n(65736),d=n(71415),h=n(11973),f=n(94069),m=n(93107);const __=p.__;class g extends s.Component{constructor(){super(...arguments),i()(this,"toggleModule",(()=>(this.trackModuleToggle(this.props.slug,this.props.activated),this.props.toggleModule(this.props.slug,this.props.activated)))),i()(this,"trackModuleToggle",((e,t)=>{"stats"!==e&&h.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:e,toggled:t?"off":"on"})})),i()(this,"isDisabledByOverride",(()=>{const e=this.props.getModuleOverride(this.props.slug);return this.props.overrideCondition?this.props.overrideCondition===e:!!e})),i()(this,"getDisabledReason",(()=>{if(!this.isDisabledByOverride())return null;const e=this.props.getModuleOverride(this.props.slug),t={link:o().createElement("a",{href:(0,d.Z)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"underline"}})};switch(e){case"active":return(0,u.createInterpolateElement)(__("This feature has been enabled by a site administrator. <link>Learn more</link>.","jetpack"),t);case"inactive":return(0,u.createInterpolateElement)(__("This feature has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),t);default:return(0,u.createInterpolateElement)(__("This feature is being managed by a site administrator. <link>Learn more</link>.","jetpack"),t)}}))}render(){return o().createElement(f.Z,{checked:this.props.activated||this.props.isModuleActivated,toggling:this.props.toggling,className:this.props.className,disabled:this.props.disabled||this.isDisabledByOverride(),id:this.props.id,onChange:this.toggleModule,disabledReason:this.getDisabledReason(),"aria-label":this.props["aria-label"]},this.props.children)}}i()(g,"displayName","ModuleToggle"),i()(g,"propTypes",{toggleModule:c().func,activated:c().bool,disabled:c().bool,className:c().string,compact:c().bool,id:c().string,overrideCondition:c().string}),i()(g,"defaultProps",{activated:!1,disabled:!1,overrideCondition:""});const v=(0,l.$j)((e=>({getModuleOverride:t=>(0,m.Qy)(e,t)})))(g)},8582:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var r=n(99196),i=n.n(r);const s=i().createElement("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0862 0.22949C10.7536 -0.0764963 10.2464 -0.0764967 9.9138 0.229489L7.7667 2.20503C7.59755 2.36066 7.37497 2.44281 7.14676 2.43386L4.24981 2.32013C3.80111 2.30252 3.41252 2.63319 3.35171 3.08438L2.95909 5.99736C2.92816 6.22684 2.80973 6.43486 2.62923 6.57677L0.337958 8.37807C-0.0169309 8.65707 -0.105018 9.1637 0.134374 9.54896L1.67996 12.0364C1.80172 12.2323 1.84285 12.4689 1.79452 12.6952L1.18104 15.5687C1.08602 16.0138 1.33965 16.4593 1.76723 16.5984L4.52782 17.4963C4.7453 17.5671 4.92675 17.7215 5.03321 17.9264L6.38456 20.5275C6.59387 20.9304 7.07055 21.1064 7.48625 20.9342L10.1701 19.8225C10.3816 19.7349 10.6184 19.7349 10.8299 19.8225L13.5137 20.9342C13.9294 21.1064 14.4061 20.9304 14.6154 20.5275L15.9668 17.9264C16.0733 17.7215 16.2547 17.5671 16.4722 17.4963L19.2328 16.5984C19.6603 16.4593 19.914 16.0138 19.819 15.5687L19.2055 12.6953C19.1572 12.4689 19.1983 12.2323 19.32 12.0364L20.8656 9.54896C21.105 9.1637 21.0169 8.65707 20.662 8.37807L18.3708 6.57677C18.1903 6.43486 18.0718 6.22684 18.0409 5.99736L17.6483 3.08438C17.5875 2.63319 17.1989 2.30252 16.7502 2.32013L13.8532 2.43386C13.625 2.44281 13.4024 2.36066 13.2333 2.20503L11.0862 0.22949ZM8.76611 14H7.15771V9.11328H7.07422L5.54492 10.146V8.75732L7.15771 7.65869H8.76611V14ZM14.2072 14H12.6823V12.9189H9.56662V11.7017C10.3401 10.2822 11.1443 8.95068 11.966 7.65869H14.2072V11.6621H14.9983V12.9189H14.2072V14ZM10.9641 11.6401V11.7192H12.7219V8.81006H12.6428C12.0759 9.69336 11.4738 10.6865 10.9641 11.6401Z",fill:"black"}))},95554:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(8582);const c=e=>{let{text:t}=e;return i().createElement("div",{className:"jetpack-money-back-guarantee"},i().createElement("div",{className:"jetpack-money-back-guarantee__icon"},a.B),i().createElement("div",{className:"jetpack-money-back-guarantee__text"},t))};c.propTypes={text:o().string.isRequired}},83371:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(7767),c=n.n(a),l=n(2620),u=n(92819),p=n(12901),d=n(65736),h=n(11973),f=n(19555),m=n(41147),g=n(93107),v=n(61744),b=n(67939),y=n(17840),k=n(15142),w=n(67448),_=n(91592),E=n(71064),C=n(66552);const __=d.__,_x=d._x,S=c()({displayName:"NavigationSettings",mixins:[E.Z],UNSAFE_componentWillMount(){this.onRouteChange(this.props.location),this.props.history.listen(this.onRouteChange)},onRouteChange(e){const t=(e.search||"").substr(1).split("&").filter((e=>0===e.indexOf("term=")));let n="";t.length>0&&(n=t[0].split("=")[1]),this.props.searchForTerm(decodeURIComponent(n))},maybeShowSearch(){if(this.props.userCanManageModules)return i().createElement(w.Z,{onClick:this.handleClickForTracking("search"),pinned:!0,fitsContainer:!0,placeholder:__("Search for a Jetpack feature.","jetpack"),delaySearch:!0,delayTimeout:500,onSearch:this.doSearch,isOpen:!!this.props.searchTerm,initialValue:this.props.searchTerm})},trackNavClick(e){h.Z.tracks.recordJetpackClick({target:"nav_item",path:e})},buildUrl:function(e,t){const n=e.split("#")[1].split("?");return this.props.searchForTerm(t),"#"+n[0]+(t?"?term="+t:"")},handleClickForTracking(e){return()=>this.trackNavClick(e)},render:function(){let e,t,n;return this.props.userCanManageModules?e=i().createElement(b.Z,{selectedText:this.props.routeName},this.props.hasAnySecurityFeature&&i().createElement(y.Z,{path:"#security",onClick:this.handleClickForTracking("security"),selected:"/security"===this.props.location.pathname||"/settings"===this.props.location.pathname},_x("Security","Navigation item.","jetpack")),this.props.hasAnyPerformanceFeature&&i().createElement(y.Z,{path:"#performance",onClick:this.handleClickForTracking("performance"),selected:"/performance"===this.props.location.pathname},_x("Performance","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["masterbar","markdown","custom-content-types","post-by-email","infinite-scroll","copy-post"])&&i().createElement(y.Z,{path:"#writing",onClick:this.handleClickForTracking("writing"),selected:"/writing"===this.props.location.pathname},_x("Writing","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["publicize","sharedaddy","likes"])&&i().createElement(y.Z,{path:"#sharing",onClick:this.handleClickForTracking("sharing"),selected:"/sharing"===this.props.location.pathname},_x("Sharing","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["comments","gravatar-hovercards","markdown","subscriptions"])&&i().createElement(y.Z,{path:"#discussion",onClick:this.handleClickForTracking("discussion"),selected:"/discussion"===this.props.location.pathname},_x("Discussion","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["seo-tools","wordads","stats","related-posts","verification-tools","sitemaps","google-analytics"])&&i().createElement(y.Z,{path:"#traffic",onClick:this.handleClickForTracking("traffic"),selected:"/traffic"===this.props.location.pathname},_x("Traffic","Navigation item.","jetpack"))):this.props.isSubscriber?e=!1:(t=this.props.isModuleActivated("publicize")&&this.props.userCanPublish?this.props.hasAnyOfTheseModules(["publicize"])&&i().createElement(y.Z,{path:"#sharing",onClick:this.handleClickForTracking("sharing"),selected:"/sharing"===this.props.location.pathname||"/settings"===this.props.location.pathname},_x("Sharing","Navigation item.","jetpack")):"",n=this.props.isModuleActivated("post-by-email")&&this.props.userCanPublish?this.props.hasAnyOfTheseModules(["post-by-email"])&&i().createElement(y.Z,{path:"#writing",onClick:this.handleClickForTracking("writing"),selected:"/writing"===this.props.location.pathname},_x("Writing","Navigation item.","jetpack")):"",e=i().createElement(b.Z,{selectedText:this.props.routeName},n,t)),i().createElement("div",{id:"jp-navigation",className:"dops-navigation"},i().createElement(k.Z,null),i().createElement(_.Z,{selectedText:this.props.routeName},e,this.maybeShowSearch()))}});S.propTypes={userCanManageModules:o().bool.isRequired,isSubscriber:o().bool.isRequired,userCanPublish:o().bool.isRequired,isLinked:o().bool.isRequired,isSiteConnected:o().bool.isRequired,isModuleActivated:o().func.isRequired,searchHasFocus:o().bool.isRequired,location:o().object.isRequired},S.defaultProps={userCanManageModules:!1,isSubscriber:!1,userCanPublish:!1,isLinked:!1,isSiteConnected:!1,isModuleActivated:u.noop,searchHasFocus:!1},t.Z=(0,l.$j)((e=>({hasAnyOfTheseModules:t=>(0,g.og)(e,t),hasAnyPerformanceFeature:(0,g.zc)(e),hasAnySecurityFeature:(0,g.Su)(e),userCanManageModules:(0,C.pK)(e),isSubscriber:(0,C.dc)(e),userCanPublish:(0,C.D6)(e),isLinked:(0,m.BU)(e),isSiteConnected:(0,m.q7)(e),isModuleActivated:t=>(0,g.mp)(e,t),moduleList:(0,g.hU)(e),isPluginActive:t=>(0,v.TB)(e,t),searchTerm:(0,f.He)(e)})),(e=>({searchForTerm:t=>e((0,f.eb)(t))})))((0,p.EN)(S))},41776:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(2620),u=n(12901),p=n(65736),d=n(71415),h=n(11973),f=n(41147),m=n(93107),g=n(67939),v=n(17840),b=n(91592),y=n(66552);const _x=p._x;class k extends o().Component{constructor(){super(...arguments),i()(this,"trackNavClick",(e=>{h.Z.tracks.recordJetpackClick({target:"nav_item",path:e})})),i()(this,"trackDashboardClick",(()=>{this.trackNavClick("dashboard")})),i()(this,"trackMyPlanClick",(()=>{this.trackNavClick("my-plan")})),i()(this,"trackPlansClick",(()=>{this.trackNavClick("plans")})),i()(this,"trackRecommendationsClick",(()=>{this.trackNavClick("recommendations")}))}render(){let e;const t=(0,d.Z)(this.props.hasConnectedOwner?"jetpack-plans":"jetpack-nav-site-only-plans",{site:this.props.siteUrl,...this.props.purchaseToken?{query:`purchasetoken=${this.props.purchaseToken}`}:{}});return e=this.props.userCanManageModules?o().createElement(g.Z,{selectedText:this.props.routeName},o().createElement(v.Z,{path:"#/dashboard",onClick:this.trackDashboardClick,selected:"/dashboard"===this.props.location.pathname||"/"===this.props.location.pathname},_x("At a Glance","Navigation item.","jetpack")),!this.props.isOfflineMode&&this.props.isLinked&&o().createElement(v.Z,{path:"#/my-plan",onClick:this.trackMyPlanClick,selected:"/my-plan"===this.props.location.pathname},_x("My Plan","Navigation item.","jetpack")),!this.props.isOfflineMode&&o().createElement(v.Z,{path:t,onClick:this.trackPlansClick,selected:"/plans"===this.props.location.pathname},_x("Plans","Navigation item.","jetpack")),this.props.showRecommendations&&o().createElement(v.Z,{path:"#/recommendations",onClick:this.trackRecommendationsClick,selected:this.props.location.pathname.startsWith("/recommendations")},_x("Recommendations","Navigation item.","jetpack"))):o().createElement(g.Z,{selectedText:this.props.routeName},o().createElement(v.Z,{path:"#/dashboard",selected:"/dashboard"===this.props.location.pathname||"/"===this.props.location.pathname},_x("At a Glance","Navigation item.","jetpack"))),o().createElement("div",{id:"jp-navigation",className:"dops-navigation"},o().createElement(b.Z,{selectedText:this.props.routeName},e))}}k.propTypes={routeName:c().string.isRequired,isOfflineMode:c().bool},t.Z=(0,l.$j)((e=>({userCanManageModules:(0,y.pK)(e),userCanViewStats:(0,y.px)(e),isModuleActivated:t=>(0,m.mp)(e,t),isOfflineMode:(0,f.Ex)(e),isLinked:(0,f.BU)(e),hasConnectedOwner:(0,f.it)(e),showRecommendations:(0,y.mb)(e),siteUrl:(0,y.JR)(e),purchaseToken:(0,y.as)(e)})))((0,u.EN)(k))},64296:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(66552),p=n(93107),d=n(41776),h=n(83371),f=n(86428),m=n(7507),g=n(41147);class v extends c().Component{constructor(){super(...arguments),i()(this,"renderMainContent",(e=>{let t,n=c().createElement(d.Z,this.props);switch(e){default:this.props.history.replace("/dashboard"),t=c().createElement(f.Z,this.props);break;case"/settings":case"/writing":case"/sharing":case"/performance":this.props.isSubscriber||(n=c().createElement(h.Z,this.props),t=c().createElement(m.Z,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,searchTerm:this.props.searchTerm,userCanManageModules:this.props.userCanManageModules}))}return window.wpNavMenuClassChange(),c().createElement("div",null,n,t)}))}shouldComponentUpdate(e){return e.siteConnectionStatus!==this.props.siteConnectionStatus||e.location.pathname!==this.props.location.pathname}render(){return this.renderMainContent(this.props.location.pathname)}}v.propTypes={userCanViewStats:o().bool.isRequired,isSubscriber:o().bool.isRequired,siteConnectionStatus:o().any.isRequired},t.Z=(0,l.$j)((e=>({userCanViewStats:(0,u.px)(e),siteConnectionStatus:(0,g.Gz)(e),isSubscriber:(0,u.dc)(e),isModuleActivated:t=>(0,p.mp)(e,t),userCanManageModules:(0,u.pK)(e)})))(v)},88001:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(92819),d=n(41922),h=n(22256);class f extends c().Component{constructor(){super(...arguments),i()(this,"dismissTimeout",null),i()(this,"getIcon",(()=>{let e;switch(this.props.status){default:e="info";break;case"is-success":e="checkmark";break;case"is-error":case"is-warning":e="notice"}return e})),i()(this,"clearText",(e=>"string"==typeof e?e.replace(/(<([^>]+)>)/gi,""):e))}componentDidMount(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}componentWillUnmount(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}render(){const{children:e,className:t,icon:n,isCompact:r,onDismissClick:i,showDismiss:s=!r,status:o,text:a,dismissText:l}=this.props,p=u()("dops-notice",o,t,{"is-compact":r,"is-dismissable":s});return c().createElement("div",{className:p},c().createElement("span",{className:"dops-notice__icon-wrapper"},c().createElement(h.Z,{className:"dops-notice__icon",icon:n||this.getIcon(),size:24})),c().createElement("span",{className:"dops-notice__content"},c().createElement("span",{className:"dops-notice__text"},a?this.clearText(a):e)),a?e:null,s&&c().createElement("span",{role:"button",onKeyDown:(0,d.Z)(i),tabIndex:"0",className:"dops-notice__dismiss",onClick:i},c().createElement(h.Z,{icon:"cross",size:24}),c().createElement("span",{className:"dops-notice__screen-reader-text screen-reader-text"},l)))}}i()(f,"displayName","SimpleNotice"),i()(f,"defaultProps",{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:p.noop}),i()(f,"propTypes",{status:o().string,showDismiss:o().bool,isCompact:o().bool,duration:o().number,text:o().oneOfType([o().oneOfType([o().string,o().node]),o().arrayOf(o().oneOfType([o().string,o().node]))]),icon:o().string,onDismissClick:o().func,className:o().string})},51933:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(22256);class u extends c().Component{render(){const e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),c().createElement("a",e,c().createElement("span",null,this.props.children),this.props.icon&&c().createElement(l.Z,{icon:this.props.icon,size:24}),this.props.external&&c().createElement(l.Z,{icon:"external",size:24}))}}i()(u,"displayName","NoticeAction"),i()(u,"propTypes",{href:o().string,onClick:o().func,external:o().bool,icon:o().string}),i()(u,"defaultProps",{external:!1})},28865:function(e,t,n){"use strict";n.d(t,{Y:function(){return i}});var r=n(34885);const i=e=>{const t=(0,r.X)();return new Intl.NumberFormat(t).format(e)}},3218:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(98486),c=n(81200);const l={[c._d]:"/plans/wpcom-free.svg",[c.sy]:"/plans/wpcom-personal.svg",[c.Qm]:"/plans/wpcom-personal.svg",[c.wm]:"/plans/wpcom-personal.svg",[c.xf]:"/plans/wpcom-premium.svg",[c.G6]:"/plans/wpcom-premium.svg",[c.OE]:"/plans/wpcom-premium.svg",[c.p7]:"/plans/wpcom-business.svg",[c.j2]:"/plans/wpcom-business.svg",[c.Wg]:"/plans/wpcom-business.svg",[c.JA]:"/plans/wpcom-ecommerce.svg",[c.f3]:"/plans/wpcom-ecommerce.svg",[c.lv]:"/plans/wpcom-ecommerce.svg",[c.uz]:"/plans/wpcom-ecommerce.svg",[c.Ij]:"/products/product-jetpack-search.svg",[c.un]:"/products/product-jetpack-search.svg",[c.tV]:"/products/product-jetpack-backup.svg",[c.XL]:"/products/product-jetpack-backup.svg",[c.LA]:"/products/product-jetpack-backup.svg",[c.Us]:"/products/product-jetpack-backup.svg",[c.WS]:"/products/product-jetpack-scan.svg",[c.tl]:"/products/product-jetpack-scan.svg",[c.sh]:"/products/product-jetpack-anti-spam.svg",[c.vS]:"/products/product-jetpack-anti-spam.svg",[c.dW]:"/products/product-jetpack-search.svg",[c.ux]:"/products/product-jetpack-search.svg",[c.lj]:"/plans/jetpack-free.svg",[c.ap]:"/plans/jetpack-personal.svg",[c.mg]:"/plans/jetpack-personal.svg",[c.Xz]:"/plans/jetpack-premium.svg",[c.p2]:"/plans/jetpack-premium.svg",[c.NJ]:"/plans/jetpack-professional.svg",[c.yY]:"/plans/jetpack-professional.svg",[c.Et]:"/plans/jetpack-security.svg",[c.w2]:"/plans/jetpack-security.svg",[c.b6]:"/plans/jetpack-security.svg",[c.aS]:"/plans/jetpack-security.svg",[c.th]:"/plans/jetpack-complete.svg",[c.JX]:"/plans/jetpack-complete.svg",[c.v_]:"/products/product-jetpack-videopress.svg",[c.Bi]:"/products/product-jetpack-videopress.svg",[c.np]:"/products/product-jetpack-backup.svg",[c.ic]:"/products/product-jetpack-backup.svg",[c.sT]:"/products/product-jetpack-backup.svg",[c.ah]:"/products/product-jetpack-backup.svg",[c.Vl]:"/plans/jetpack-security.svg",[c.Dl]:"/plans/jetpack-security.svg",[c.jI]:"/plans/jetpack-security.svg",[c.bm]:"/plans/jetpack-security.svg"};class u extends s.Component{render(){const{className:e,alt:t,plan:n}=this.props;return o().createElement("img",{className:e,src:a.hp+l[n],width:32,height:32,alt:t||""})}}u.propTypes={classNames:i().string,alt:i().string,plan:i().oneOf([c._d,c.sy,c.Qm,c.wm,c.xf,c.G6,c.OE,c.p7,c.j2,c.Wg,c.JA,c.f3,c.lv,c.uz,c.Ij,c.un,c.tV,c.XL,c.LA,c.Us,c.WS,c.tl,c.sh,c.vS,c.dW,c.ux,c.lj,c.ap,c.mg,c.Xz,c.p2,c.NJ,c.yY,c.Et,c.w2,c.b6,c.aS,c.th,c.JX,c.np,c.ic,c.sT,c.ah,c.Vl,c.Dl,c.jI,c.bm]).isRequired}},39007:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(2620),o=n(11268),a=n.n(o),c=n(99196),l=n.n(c),u=n(19570),p=n(65736),d=n(55609),h=n(61744),f=n(11973),m=n(60742),g=n(85253),v=n(35303);const __=p.__;class b extends c.Component{constructor(){super(...arguments),i()(this,"state",{isActivating:!1,isInstalling:!1}),i()(this,"activateOrInstallPlugin",(()=>{const{fetchPluginsData:e,pluginIsActive:t,pluginIsInstalled:n,pluginSlug:r}=this.props;if(n)if(t){if(n&&t)return Promise.resolve()}else this.setState({isActivating:!0});else this.setState({isInstalling:!0});return f.Z.tracks.recordJetpackClick({target:"plugin_dash_item",type:n?"install":"activate",feature:r}),u.ZP.installPlugin(r,"active").then((()=>new Promise((e=>setTimeout(e,2500))))).then((()=>e())).finally((()=>{this.setState({isActivating:!1,isInstalling:!1})}))}))}renderContent(){const{iconAlt:e,iconSrc:t,isFetchingPluginsData:n,pluginLink:r,pluginName:i,pluginIsActive:s,pluginIsInstalled:o,installOrActivatePrompt:a}=this.props,{isInstalling:c,isActivating:u}=this.state;return n?l().createElement(m.Z,{className:"plugin-dash-item__content"},l().createElement("p",null,__("Loading…","jetpack"))):c?l().createElement(m.Z,{className:"plugin-dash-item__content"},l().createElement(d.Spinner,null),l().createElement("p",null,(0,p.sprintf)(
+__("Error regenerating Post by Email address. %s","jetpack"),e)};return e((0,o.VP)({post_by_email_address:"regenerate"},t))},setUnsavedSettingsFlag:()=>e((0,o.a6)()),clearUnsavedSettingsFlag:()=>e((0,o._1)()),refreshSettings:()=>e((0,o.wv)())})))(e)}},2353:function(e,t,n){"use strict";n.d(t,{u:function(){return d}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(4069),p=n(2819),u=n(9031);function d(e){class t extends c().Component{constructor(){var e;super(...arguments),e=this,a()(this,"state",{options:{}}),a()(this,"onOptionChange",(e=>{const t=e.target.name;let n;n="checkbox"===e.target.type&&void 0!==e.target.checked?e.target.checked:e.target.value,this.updateFormStateOptionValue(t,n)})),a()(this,"updateFormStateOptionValue",(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;"string"==typeof t&&(t={[t]:n});const s={...e.state.options,...t};return e.setState({options:s}),!0})),a()(this,"resetFormStateOption",(e=>(this.setState({options:(0,p.omit)(this.state.options,[e])}),!0))),a()(this,"updateFormStateModuleOption",(function(t,n){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.trackSettingsToggle(t,n,!e.getOptionValue(n)),e.getOptionValue(t)?s?e.props.updateOptions({[t]:!1,[n]:!e.getOptionValue(n)}):e.props.updateOptions({[n]:!e.getOptionValue(n)}):e.props.updateOptions({[t]:!0,[n]:!0})})),a()(this,"toggleModuleNow",(e=>{this.props.updateOptions({[e]:!this.getOptionValue(e)})})),a()(this,"onSubmit",(e=>{e.preventDefault(),this.props.updateOptions(this.state.options).then((()=>{const e={};(0,p.each)(this.state.options,((t,n)=>{n=n.replace(/\-/,"_"),e[n]=t})),this.trackFormSubmission(e),this.setState({options:{}})})).then((()=>{this.props.refreshSettings(),this.props.clearUnsavedSettingsFlag()}))})),a()(this,"getOptionValue",(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,p.get)(e.state.options,t,e.props.getSettingCurrentValue(t,n))})),a()(this,"shouldSaveButtonBeDisabled",(()=>this.isSavingAnyOption()||!this.isDirty())),a()(this,"isDirty",(()=>!!Object.keys(this.state.options).length)),a()(this,"isSavingAnyOption",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.props.isUpdating(t)})),a()(this,"trackFormSubmission",(e=>{l.Z.tracks.recordEvent("jetpack_wpa_settings_form_submit",e)})),a()(this,"trackSettingsToggle",((e,t,n)=>{l.Z.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:e,setting:t,toggled:n?"on":"off"})}))}componentDidUpdate(){this.isDirty()&&this.props.setUnsavedSettingsFlag()}render(){return c().createElement(e,r()({getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,toggleModuleNow:this.toggleModuleNow,updateFormStateModuleOption:this.updateFormStateModuleOption,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption,isDirty:this.isDirty,resetFormStateOption:this.resetFormStateOption},this.props))}}return(0,u.l)(t)}},5004:function(e,t,n){"use strict";n.d(t,{T:function(){return v}});var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(9309),p=n(9307),u=n(5736),d=n(6324),m=n(4069),h=n(1674),g=n(416);const __=u.__;class f extends i.Component{constructor(){super(...arguments),r()(this,"toggleModule",(()=>(this.trackModuleToggle(this.props.slug,this.props.activated),this.props.toggleModule(this.props.slug,this.props.activated)))),r()(this,"trackModuleToggle",((e,t)=>{"stats"!==e&&m.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:e,toggled:t?"off":"on"})})),r()(this,"isDisabledByOverride",(()=>{const e=this.props.getModuleOverride(this.props.slug);return this.props.overrideCondition?this.props.overrideCondition===e:!!e})),r()(this,"getDisabledReason",(()=>{if(!this.isDisabledByOverride())return null;const e=this.props.getModuleOverride(this.props.slug),t={link:a().createElement("a",{href:(0,d.Z)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"underline"}})};switch(e){case"active":return(0,p.createInterpolateElement)(__("This feature has been enabled by a site administrator. <link>Learn more</link>.","jetpack"),t);case"inactive":return(0,p.createInterpolateElement)(__("This feature has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),t);default:return(0,p.createInterpolateElement)(__("This feature is being managed by a site administrator. <link>Learn more</link>.","jetpack"),t)}}))}render(){return a().createElement(h.Z,{checked:this.props.activated||this.props.isModuleActivated,toggling:this.props.toggling,className:this.props.className,disabled:this.props.disabled||this.isDisabledByOverride(),id:this.props.id,onChange:this.toggleModule,disabledReason:this.getDisabledReason(),"aria-label":this.props["aria-label"]},this.props.children)}}r()(f,"displayName","ModuleToggle"),r()(f,"propTypes",{toggleModule:c().func,activated:c().bool,disabled:c().bool,className:c().string,compact:c().bool,id:c().string,overrideCondition:c().string}),r()(f,"defaultProps",{activated:!1,disabled:!1,overrideCondition:""});const v=(0,l.$j)((e=>({getModuleOverride:t=>(0,g.Qy)(e,t)})))(f)},6138:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var s=n(9196),r=n.n(s);const i=r().createElement("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0862 0.22949C10.7536 -0.0764963 10.2464 -0.0764967 9.9138 0.229489L7.7667 2.20503C7.59755 2.36066 7.37497 2.44281 7.14676 2.43386L4.24981 2.32013C3.80111 2.30252 3.41252 2.63319 3.35171 3.08438L2.95909 5.99736C2.92816 6.22684 2.80973 6.43486 2.62923 6.57677L0.337958 8.37807C-0.0169309 8.65707 -0.105018 9.1637 0.134374 9.54896L1.67996 12.0364C1.80172 12.2323 1.84285 12.4689 1.79452 12.6952L1.18104 15.5687C1.08602 16.0138 1.33965 16.4593 1.76723 16.5984L4.52782 17.4963C4.7453 17.5671 4.92675 17.7215 5.03321 17.9264L6.38456 20.5275C6.59387 20.9304 7.07055 21.1064 7.48625 20.9342L10.1701 19.8225C10.3816 19.7349 10.6184 19.7349 10.8299 19.8225L13.5137 20.9342C13.9294 21.1064 14.4061 20.9304 14.6154 20.5275L15.9668 17.9264C16.0733 17.7215 16.2547 17.5671 16.4722 17.4963L19.2328 16.5984C19.6603 16.4593 19.914 16.0138 19.819 15.5687L19.2055 12.6953C19.1572 12.4689 19.1983 12.2323 19.32 12.0364L20.8656 9.54896C21.105 9.1637 21.0169 8.65707 20.662 8.37807L18.3708 6.57677C18.1903 6.43486 18.0718 6.22684 18.0409 5.99736L17.6483 3.08438C17.5875 2.63319 17.1989 2.30252 16.7502 2.32013L13.8532 2.43386C13.625 2.44281 13.4024 2.36066 13.2333 2.20503L11.0862 0.22949ZM8.76611 14H7.15771V9.11328H7.07422L5.54492 10.146V8.75732L7.15771 7.65869H8.76611V14ZM14.2072 14H12.6823V12.9189H9.56662V11.7017C10.3401 10.2822 11.1443 8.95068 11.966 7.65869H14.2072V11.6621H14.9983V12.9189H14.2072V14ZM10.9641 11.6401V11.7192H12.7219V8.81006H12.6428C12.0759 9.69336 11.4738 10.6865 10.9641 11.6401Z",fill:"black"}))},3609:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var s=n(9196),r=n.n(s),i=n(5162),a=n.n(i),o=n(6138);const c=e=>{let{text:t}=e;return r().createElement("div",{className:"jetpack-money-back-guarantee"},r().createElement("div",{className:"jetpack-money-back-guarantee__icon"},o.B),r().createElement("div",{className:"jetpack-money-back-guarantee__text"},t))};c.propTypes={text:a().string.isRequired}},4265:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(9309),p=n(2819),u=n(1128),d=n.n(u),m=n(4498),h=n(5736),g=n(4069),f=n(9292),v=n(6300),k=n(416),_=n(1372),y=n(6923),E=n(1675),w=n(7679),b=n(1677),C=n(4399),j=n(9508);const __=h.__,_x=h._x,S=d()("calypso:url-search");class N extends a().Component{constructor(){super(...arguments),r()(this,"state",{searchOpen:!1}),r()(this,"doSearch",(e=>{if(this.setState({searchOpen:!1!==e}),this.onSearch)return void this.onSearch(e);const t=window.location.href.split("#")[1].split("?");this.props.searchForTerm(e);const n="#"+t[0]+(e?"?term="+e:"");S("search posts for:",e),S("setting URL: "+n),window.location.href=n})),r()(this,"onRouteChange",(e=>{const t=(e.search||"").substr(1).split("&").filter((e=>0===e.indexOf("term=")));let n="";t.length>0&&(n=t[0].split("=")[1]),this.props.searchForTerm(decodeURIComponent(n))}))}UNSAFE_componentWillMount(){this.onRouteChange(this.props.location),this.props.history.listen(this.onRouteChange)}UNSAFE_componentWillReceiveProps(e){e.search||this.setState({searchOpen:!1})}maybeShowSearch(){if(this.props.userCanManageModules)return a().createElement(b.Z,{onClick:this.handleClickForTracking("search"),pinned:!0,fitsContainer:!0,placeholder:__("Search for a Jetpack feature.","jetpack"),delaySearch:!0,delayTimeout:500,onSearch:this.doSearch,isOpen:!!this.props.searchTerm,initialValue:this.props.searchTerm})}trackNavClick(e){g.Z.tracks.recordJetpackClick({target:"nav_item",path:e})}handleClickForTracking(e){return()=>this.trackNavClick(e)}render(){let e,t,n;return this.props.userCanManageModules?e=a().createElement(y.Z,{selectedText:this.props.routeName},this.props.hasAnySecurityFeature&&a().createElement(E.Z,{path:"#security",onClick:this.handleClickForTracking("security"),selected:"/security"===this.props.location.pathname||"/settings"===this.props.location.pathname},_x("Security","Navigation item.","jetpack")),this.props.hasAnyPerformanceFeature&&a().createElement(E.Z,{path:"#performance",onClick:this.handleClickForTracking("performance"),selected:"/performance"===this.props.location.pathname},_x("Performance","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["masterbar","markdown","custom-content-types","post-by-email","infinite-scroll","copy-post"])&&a().createElement(E.Z,{path:"#writing",onClick:this.handleClickForTracking("writing"),selected:"/writing"===this.props.location.pathname},_x("Writing","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["publicize","sharedaddy","likes"])&&a().createElement(E.Z,{path:"#sharing",onClick:this.handleClickForTracking("sharing"),selected:"/sharing"===this.props.location.pathname},_x("Sharing","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["comments","gravatar-hovercards","markdown","subscriptions"])&&a().createElement(E.Z,{path:"#discussion",onClick:this.handleClickForTracking("discussion"),selected:"/discussion"===this.props.location.pathname},_x("Discussion","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["seo-tools","wordads","stats","related-posts","verification-tools","sitemaps","google-analytics"])&&a().createElement(E.Z,{path:"#traffic",onClick:this.handleClickForTracking("traffic"),selected:"/traffic"===this.props.location.pathname},_x("Traffic","Navigation item.","jetpack"))):this.props.isSubscriber?e=!1:(t=this.props.isModuleActivated("publicize")&&this.props.userCanPublish?this.props.hasAnyOfTheseModules(["publicize"])&&a().createElement(E.Z,{path:"#sharing",onClick:this.handleClickForTracking("sharing"),selected:"/sharing"===this.props.location.pathname||"/settings"===this.props.location.pathname},_x("Sharing","Navigation item.","jetpack")):"",n=this.props.isModuleActivated("post-by-email")&&this.props.userCanPublish?this.props.hasAnyOfTheseModules(["post-by-email"])&&a().createElement(E.Z,{path:"#writing",onClick:this.handleClickForTracking("writing"),selected:"/writing"===this.props.location.pathname},_x("Writing","Navigation item.","jetpack")):"",e=a().createElement(y.Z,{selectedText:this.props.routeName},n,t)),a().createElement("div",{id:"jp-navigation",className:"dops-navigation"},a().createElement(w.Z,null),a().createElement(C.Z,{selectedText:this.props.routeName},e,this.maybeShowSearch()))}}r()(N,"displayName","NavigationSettings"),N.propTypes={userCanManageModules:c().bool.isRequired,isSubscriber:c().bool.isRequired,userCanPublish:c().bool.isRequired,isLinked:c().bool.isRequired,isSiteConnected:c().bool.isRequired,isModuleActivated:c().func.isRequired,searchHasFocus:c().bool.isRequired,location:c().object.isRequired},N.defaultProps={userCanManageModules:!1,isSubscriber:!1,userCanPublish:!1,isLinked:!1,isSiteConnected:!1,isModuleActivated:p.noop,searchHasFocus:!1},t.Z=(0,l.$j)((e=>({hasAnyOfTheseModules:t=>(0,k.og)(e,t),hasAnyPerformanceFeature:(0,k.zc)(e),hasAnySecurityFeature:(0,k.Su)(e),userCanManageModules:(0,j.pK)(e),isSubscriber:(0,j.dc)(e),userCanPublish:(0,j.D6)(e),isLinked:(0,v.BU)(e),isSiteConnected:(0,v.q7)(e),isModuleActivated:t=>(0,k.mp)(e,t),moduleList:(0,k.hU)(e),isPluginActive:t=>(0,_.TB)(e,t),searchTerm:(0,f.He)(e)})),(e=>({searchForTerm:t=>e((0,f.eb)(t))})))((0,m.EN)(N))},2977:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(9309),p=n(4498),u=n(9307),d=n(5736),m=n(6324),h=n(4069),g=n(6300),f=n(416),v=n(6923),k=n(1675),_=n(4399),y=n(9508);const _x=d._x;class E extends a().Component{constructor(){super(...arguments),r()(this,"trackNavClick",(e=>{h.Z.tracks.recordJetpackClick({target:"nav_item",path:e})})),r()(this,"trackDashboardClick",(()=>{this.trackNavClick("dashboard")})),r()(this,"trackMyPlanClick",(()=>{this.trackNavClick("my-plan")})),r()(this,"trackPlansClick",(()=>{this.trackNavClick("plans")})),r()(this,"trackRecommendationsClick",(()=>{this.trackNavClick("recommendations")})),r()(this,"trackMyJetpackClick",(()=>{this.trackNavClick("my-jetpack")}))}render(){let e;const t=(0,m.Z)(this.props.hasConnectedOwner?"jetpack-plans":"jetpack-nav-site-only-plans",{site:this.props.siteUrl,...this.props.purchaseToken?{query:`purchasetoken=${this.props.purchaseToken}`}:{}});return e=this.props.userCanManageModules?a().createElement(v.Z,{selectedText:this.props.routeName},a().createElement(k.Z,{path:"#/dashboard",onClick:this.trackDashboardClick,selected:"/dashboard"===this.props.location.pathname||"/"===this.props.location.pathname},_x("At a Glance","Navigation item.","jetpack")),!this.props.isOfflineMode&&this.props.isLinked&&a().createElement(k.Z,{path:"#/my-plan",onClick:this.trackMyPlanClick,selected:"/my-plan"===this.props.location.pathname},_x("My Plan","Navigation item.","jetpack")),!this.props.isOfflineMode&&a().createElement(k.Z,{path:t,onClick:this.trackPlansClick,selected:"/plans"===this.props.location.pathname},_x("Plans","Navigation item.","jetpack")),this.props.showRecommendations&&a().createElement(k.Z,{path:"#/recommendations",onClick:this.trackRecommendationsClick,selected:this.props.location.pathname.startsWith("/recommendations")},(0,u.createInterpolateElement)((0,d.sprintf)(
+/* translators: %d is a count of how many new (unread) recommendations are available. */
+_x("Recommendations <count>%d</count>","Navigation item.","jetpack"),this.props.newRecommendationsCount),{count:a().createElement("span",{className:"dops-section-nav-tab__update-badge count-"+this.props.newRecommendationsCount})})),this.props.showMyJetpack&&a().createElement(k.Z,{path:this.props.adminUrl+"admin.php?page=my-jetpack",onClick:this.trackMyJetpackClick},_x("My Jetpack","Navigation item.","jetpack"))):a().createElement(v.Z,{selectedText:this.props.routeName},a().createElement(k.Z,{path:"#/dashboard",selected:"/dashboard"===this.props.location.pathname||"/"===this.props.location.pathname},_x("At a Glance","Navigation item.","jetpack"))),a().createElement("div",{id:"jp-navigation",className:"dops-navigation"},a().createElement(_.Z,{selectedText:this.props.routeName},e))}}E.propTypes={routeName:c().string.isRequired,isOfflineMode:c().bool},t.Z=(0,l.$j)((e=>({userCanManageModules:(0,y.pK)(e),userCanViewStats:(0,y.px)(e),isModuleActivated:t=>(0,f.mp)(e,t),isOfflineMode:(0,g.Ex)(e),isLinked:(0,g.BU)(e),hasConnectedOwner:(0,g.it)(e),showRecommendations:(0,y.mb)(e),newRecommendationsCount:(0,y.QP)(e),siteUrl:(0,y.JR)(e),adminUrl:(0,y.wW)(e),purchaseToken:(0,y.as)(e),showMyJetpack:(0,y.GC)(e)})))((0,p.EN)(E))},4241:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(9508),u=n(416),d=n(2977),m=n(4265),h=n(6288),g=n(9517),f=n(6300);class v extends c().Component{constructor(){super(...arguments),r()(this,"renderMainContent",(e=>{let t,n=c().createElement(d.Z,this.props);switch(e){case"/dashboard":default:this.props.history.replace("/dashboard"),t=c().createElement(h.Z,this.props);break;case"/settings":case"/writing":case"/sharing":case"/performance":this.props.isSubscriber||(n=c().createElement(m.Z,this.props),t=c().createElement(g.Z,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,searchTerm:this.props.searchTerm,userCanManageModules:this.props.userCanManageModules}))}return window.wpNavMenuClassChange(),c().createElement("div",null,n,t)}))}shouldComponentUpdate(e){return e.siteConnectionStatus!==this.props.siteConnectionStatus||e.location.pathname!==this.props.location.pathname}render(){return this.renderMainContent(this.props.location.pathname)}}v.propTypes={userCanViewStats:a().bool.isRequired,isSubscriber:a().bool.isRequired,siteConnectionStatus:a().any.isRequired},t.Z=(0,l.$j)((e=>({userCanViewStats:(0,p.px)(e),siteConnectionStatus:(0,f.Gz)(e),isSubscriber:(0,p.dc)(e),isModuleActivated:t=>(0,u.mp)(e,t),userCanManageModules:(0,p.pK)(e)})))(v)},1668:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(2819),d=n(3915),m=n(5060);class h extends c().Component{constructor(){super(...arguments),r()(this,"dismissTimeout",null),r()(this,"getIcon",(()=>{let e;switch(this.props.status){case"is-info":default:e="info";break;case"is-success":e="checkmark";break;case"is-error":case"is-warning":e="notice"}return e})),r()(this,"clearText",(e=>"string"==typeof e?e.replace(/(<([^>]+)>)/gi,""):e))}componentDidMount(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}componentWillUnmount(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}render(){const{children:e,className:t,icon:n,isCompact:s,onDismissClick:r,showDismiss:i=!s,status:a,text:o,dismissText:l}=this.props,u=p()("dops-notice",a,t,{"is-compact":s,"is-dismissable":i});return c().createElement("div",{className:u},c().createElement("span",{className:"dops-notice__icon-wrapper"},c().createElement(m.Z,{className:"dops-notice__icon",icon:n||this.getIcon(),size:24})),c().createElement("span",{className:"dops-notice__content"},c().createElement("span",{className:"dops-notice__text"},o?this.clearText(o):e)),o?e:null,i&&c().createElement("span",{role:"button",onKeyDown:(0,d.Z)(r),tabIndex:"0",className:"dops-notice__dismiss",onClick:r},c().createElement(m.Z,{icon:"cross",size:24}),c().createElement("span",{className:"dops-notice__screen-reader-text screen-reader-text"},l)))}}r()(h,"displayName","SimpleNotice"),r()(h,"defaultProps",{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:u.noop}),r()(h,"propTypes",{status:a().string,showDismiss:a().bool,isCompact:a().bool,duration:a().number,text:a().oneOfType([a().oneOfType([a().string,a().node]),a().arrayOf(a().oneOfType([a().string,a().node]))]),icon:a().string,onDismissClick:a().func,className:a().string})},2099:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5060);class p extends c().Component{render(){const e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),c().createElement("a",e,c().createElement("span",null,this.props.children),this.props.icon&&c().createElement(l.Z,{icon:this.props.icon,size:24}),this.props.external&&c().createElement(l.Z,{icon:"external",size:24}))}}r()(p,"displayName","NoticeAction"),r()(p,"propTypes",{href:a().string,onClick:a().func,external:a().bool,icon:a().string}),r()(p,"defaultProps",{external:!1})},3234:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var s=n(5162),r=n.n(s),i=n(9196),a=n.n(i),o=n(800),c=n(9584);const l={[c._d]:"/plans/wpcom-free.svg",[c.sy]:"/plans/wpcom-personal.svg",[c.Qm]:"/plans/wpcom-personal.svg",[c.wm]:"/plans/wpcom-personal.svg",[c.xf]:"/plans/wpcom-premium.svg",[c.G6]:"/plans/wpcom-premium.svg",[c.OE]:"/plans/wpcom-premium.svg",[c.p7]:"/plans/wpcom-business.svg",[c.j2]:"/plans/wpcom-business.svg",[c.Wg]:"/plans/wpcom-business.svg",[c.$K]:"/plans/wpcom-business.svg",[c.JA]:"/plans/wpcom-ecommerce.svg",[c.f3]:"/plans/wpcom-ecommerce.svg",[c.lv]:"/plans/wpcom-ecommerce.svg",[c.uz]:"/plans/wpcom-ecommerce.svg",[c.Ij]:"/products/product-jetpack-search.svg",[c.un]:"/products/product-jetpack-search.svg",[c.ZR]:"/products/product-jetpack-backup.svg",[c.hI]:"/products/product-jetpack-backup.svg",[c.tV]:"/products/product-jetpack-backup.svg",[c.XL]:"/products/product-jetpack-backup.svg",[c.LA]:"/products/product-jetpack-backup.svg",[c.Us]:"/products/product-jetpack-backup.svg",[c.WS]:"/products/product-jetpack-scan.svg",[c.tl]:"/products/product-jetpack-scan.svg",[c.sh]:"/products/product-jetpack-anti-spam.svg",[c.vS]:"/products/product-jetpack-anti-spam.svg",[c.dW]:"/products/product-jetpack-search.svg",[c.ux]:"/products/product-jetpack-search.svg",[c.lj]:"/plans/jetpack-free.svg",[c.ap]:"/plans/jetpack-personal.svg",[c.mg]:"/plans/jetpack-personal.svg",[c.Xz]:"/plans/jetpack-premium.svg",[c.p2]:"/plans/jetpack-premium.svg",[c.NJ]:"/plans/jetpack-professional.svg",[c.yY]:"/plans/jetpack-professional.svg",[c.Et]:"/plans/jetpack-security.svg",[c.w2]:"/plans/jetpack-security.svg",[c.b6]:"/plans/jetpack-security.svg",[c.aS]:"/plans/jetpack-security.svg",[c.th]:"/plans/jetpack-complete.svg",[c.JX]:"/plans/jetpack-complete.svg",[c.v_]:"/products/product-jetpack-videopress.svg",[c.Bi]:"/products/product-jetpack-videopress.svg",[c.np]:"/products/product-jetpack-backup.svg",[c.ic]:"/products/product-jetpack-backup.svg",[c.sT]:"/products/product-jetpack-backup.svg",[c.ah]:"/products/product-jetpack-backup.svg",[c.Vl]:"/plans/jetpack-security.svg",[c.Dl]:"/plans/jetpack-security.svg",[c.jI]:"/plans/jetpack-security.svg",[c.bm]:"/plans/jetpack-security.svg"};class p extends i.Component{render(){const{className:e,alt:t,plan:n}=this.props;return a().createElement("img",{className:e,src:o.hp+l[n],width:32,height:32,alt:t||""})}}p.propTypes={classNames:r().string,alt:r().string,plan:r().oneOf([c._d,c.sy,c.Qm,c.wm,c.xf,c.G6,c.OE,c.p7,c.j2,c.Wg,c.JA,c.f3,c.lv,c.uz,c.Ij,c.un,c.ZR,c.hI,c.tV,c.XL,c.LA,c.Us,c.WS,c.tl,c.sh,c.vS,c.dW,c.ux,c.lj,c.ap,c.mg,c.Xz,c.p2,c.NJ,c.yY,c.Et,c.w2,c.b6,c.aS,c.th,c.JX,c.v_,c.Bi,c.np,c.ic,c.sT,c.ah,c.Vl,c.Dl,c.jI,c.bm,c.v_,c.Bi]).isRequired}},8154:function(e,t,n){"use strict";var s=n(9309),r=n(5162),i=n.n(r),a=n(9196),o=n.n(a),c=n(4743),l=n(5736),p=n(5609),u=n(1372),d=n(4069),m=n(5799),h=n(5733),g=n(4603);const __=l.__,f=e=>{let{fetchPluginsData:t,iconAlt:n,iconSrc:s,installOrActivatePrompt:r,isFetchingPluginsData:i,aPluginIsActive:u,aPluginIsInstalled:f,pluginLink:v,pluginName:k,pluginSlug:_}=e;const[y,E]=(0,a.useState)(!1),[w,b]=(0,a.useState)(!1),C=(0,a.useCallback)((()=>{if(f)if(u){if(f&&u)return Promise.resolve()}else E(!0);else b(!0);return d.Z.tracks.recordJetpackClick({target:"plugin_dash_item",type:f?"install":"activate",feature:_}),c.ZP.installPlugin(_,"active").then((()=>new Promise((e=>setTimeout(e,2500))))).then((()=>t())).finally((()=>{E(!1),b(!1)}))}),[t,u,f,_]);return o().createElement("div",{className:"plugin-dash-item"},o().createElement(g.Z,{className:"plugin-dash-item__section-header",label:k}),i?o().createElement(m.Z,{className:"plugin-dash-item__content"},o().createElement("p",null,__("Loading…","jetpack"))):w?o().createElement(m.Z,{className:"plugin-dash-item__content"},o().createElement(p.Spinner,null),o().createElement("p",null,(0,l.sprintf)(
/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
-__("Installing %s","jetpack"),i))):u?l().createElement(m.Z,{className:"plugin-dash-item__content"},l().createElement(d.Spinner,null),l().createElement("p",null,(0,p.sprintf)(
+__("Installing %s","jetpack"),k))):y?o().createElement(m.Z,{className:"plugin-dash-item__content"},o().createElement(p.Spinner,null),o().createElement("p",null,(0,l.sprintf)(
/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
-__("Activating %s","jetpack"),i))):o?s?l().createElement(g.Z,{callToAction:(0,p.sprintf)(
+__("Activating %s","jetpack"),k))):f?u?o().createElement(h.ZP,{callToAction:(0,l.sprintf)(
/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
-__("Manage %s","jetpack"),i),icon:t?void 0:"plugins",iconAlt:e,iconSrc:t,title:__("Plugin is installed & active.","jetpack"),href:r}):l().createElement(g.Z,{callToAction:(0,p.sprintf)(
+__("Manage %s","jetpack"),k),icon:s?void 0:"plugins",iconAlt:n,iconSrc:s,title:__("Plugin is installed & active.","jetpack"),href:v}):o().createElement(h.ZP,{callToAction:(0,l.sprintf)(
/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
-__("Activate %s","jetpack"),i),icon:t?void 0:"plugins",iconAlt:e,iconSrc:t,title:a,onClick:this.activateOrInstallPlugin}):l().createElement(g.Z,{callToAction:(0,p.sprintf)(
+__("Activate %s","jetpack"),k),icon:s?void 0:"plugins",iconAlt:n,iconSrc:s,title:r,onClick:C}):o().createElement(h.ZP,{callToAction:(0,l.sprintf)(
/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
-__("Install %s","jetpack"),i),icon:t?void 0:"plugins",iconAlt:e,iconSrc:t,title:a,onClick:this.activateOrInstallPlugin})}render(){const{pluginName:e}=this.props;return l().createElement("div",{className:"plugin-dash-item"},l().createElement(v.Z,{className:"plugin-dash-item__section-header",label:e}),this.renderContent())}}i()(b,"propTypes",{pluginName:a().string.isRequired,pluginFile:a().string.isRequired,pluginSlug:a().string.isRequired,pluginLink:a().string.isRequired,installOrActivatePrompt:a().element.isRequired,iconAlt:a().string,iconSrc:a().string,isFetchingPluginsData:a().bool,pluginIsActive:a().bool,pluginIsInstalled:a().bool}),t.Z=(0,s.$j)(((e,t)=>({isFetchingPluginsData:(0,h.vz)(e),pluginIsInstalled:(0,h.P8)(e,t.pluginFile),pluginIsActive:(0,h.TB)(e,t.pluginFile)})),(e=>({fetchPluginsData:()=>e((0,h.s4)())})))(b)},40515:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(91850),u=n.n(l),p=n(90922),d=n.n(p),h=n(89105),f=n.n(h),m=n(26767),g=n.n(m),v=n(97236),b=n.n(v),y=n(92819),k=n(16291),w=n(7719);const _=d()("calypso:popover"),E=new Set;class C extends a.Component{constructor(e){super(e),this.setPopoverId(e.id),this.setDOMBehavior=this.setDOMBehavior.bind(this),this.setPosition=this.setPosition.bind(this),this.onClickout=this.onClickout.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onWindowChange=this.onWindowChange.bind(this),this.state={show:e.isVisible,left:-99999,top:-99999,positionClass:this.getPositionClass(e.position)}}componentDidMount(){this.bindEscKeyListener(),this.bindDebouncedReposition(),(0,w.fN)()}UNSAFE_componentWillReceiveProps(e){if((0,w.kK)(e.context)?this.domContext=e.context:this.domContext=u().findDOMNode(e.context),!e.isVisible)return null;this.setPosition()}componentDidUpdate(e){const{isVisible:t}=this.props;return t!==e.isVisible&&(t?this.show():this.hide()),this.domContainer&&this.domContext&&t&&t!==e.isVisible?(this.debug("Update position after render completes"),void setTimeout((()=>this.setPosition()),0)):null}componentWillUnmount(){this.debug("unmounting .... "),this.unbindClickoutHandler(),this.unbindDebouncedReposition(),this.unbindEscKeyListener(),(0,w.zR)(),E.delete(this.id),_("current popover instances: ",E.size)}bindEscKeyListener(){return this.props.closeOnEsc?this.escEventHandlerAdded?null:(this.debug("adding escKey listener ..."),this.escEventHandlerAdded=!0,void document.addEventListener("keydown",this.onKeydown,!0)):null}unbindEscKeyListener(){return this.props.closeOnEsc&&this.escEventHandlerAdded?(this.debug("unbinding `escKey` listener ..."),void document.removeEventListener("keydown",this.onKeydown,!0)):null}onKeydown(e){if(27!==e.keyCode)return null;this.close(!0)}bindClickoutHandler(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.domContainer;return e?this._clickoutHandlerReference?(this.debug("clickout event already bound"),null):(this.debug("binding `clickout` event"),void(this._clickoutHandlerReference=g()(e,this.onClickout))):(this.debug("no element to bind clickout side "),null)}unbindClickoutHandler(){this._clickoutHandlerReference&&(this.debug("unbinding `clickout` listener ..."),this._clickoutHandlerReference(),this._clickoutHandlerReference=null)}onClickout(e){let t=this.domContext&&this.domContext.contains&&!this.domContext.contains(e.target);if(this.props.ignoreContext&&t){const n=u().findDOMNode(this.props.ignoreContext);t=t&&n&&n.contains&&!n.contains(e.target)}t&&this.close()}bindDebouncedReposition(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}unbindDebouncedReposition(){this.willReposition&&(window.cancelAnimationFrame(this.willReposition),this.willReposition=null),window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0),this.debug("unbinding `debounce reposition` ...")}onWindowChange(){this.willReposition=window.requestAnimationFrame(this.setPosition)}setDOMBehavior(e){if(!e)return this.unbindClickoutHandler(),null;this.debug("setting DOM behavior"),this.bindClickoutHandler(e),this.domContainer=e,(0,w.kK)(this.props.context)?this.domContext=this.props.context:this.domContext=u().findDOMNode(this.props.context),this.domContainer.focus(),this.setPosition()}getPositionClass(){return`is-${(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.position).replace(/\s+/g,"-")}`}computePosition(){if(!this.props.isVisible)return null;const{domContainer:e,domContext:t}=this,{position:n}=this.props;if(!e||!t)return this.debug("[WARN] no DOM elements to work"),null;let r=n;this.debug("position: %o",n),this.props.autoPosition&&(r=(0,w.X6)(n,e,t),this.debug("suggested position: %o",r));const i=(0,y.assign)({},(0,w.Ou)((0,w.cv)(r,e,t),e),{positionClass:this.getPositionClass(r)});return this.debug("updating reposition: ",i),i}debug(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];_(`[%s] ${e}`,this.id,...n)}setPopoverId(e){this.id=e||`pop__${b()(16)}`,E.add(this.id),this.debug("creating ..."),_("current popover instances: ",E.size)}setPosition(){const e=this.computePosition();if(!e)return null;this.willReposition=null,this.setState(e)}getStylePosition(){const{left:e,top:t}=this.state;return{left:e,top:t}}show(){if(!this.props.showDelay)return this.setState({show:!0}),null;this.debug("showing in %o",`${this.props.showDelay}ms`),this.clearShowTimer(),this._openDelayTimer=setTimeout((()=>{this.setState({show:!0})}),this.props.showDelay)}hide(){this.unbindClickoutHandler(),this.setState({show:!1}),this.clearShowTimer()}clearShowTimer(){if(!this._openDelayTimer)return null;clearTimeout(this._openDelayTimer),this._openDelayTimer=null}close(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.props.isVisible)return this.debug("popover should be already closed"),null;this.domContext.focus(),this.props.onClose(e)}render(){if(!this.state.show)return this.debug("is hidden. return no render"),null;if(!this.props.context)return this.debug("No `context` to tie. return no render"),null;const e=f()("dops-popover",this.props.className,this.state.positionClass);return this.debug("rendering ..."),c().createElement(k.Z,{className:this.props.rootClassName},c().createElement("div",{style:this.getStylePosition(),className:e,ref:this.setDOMBehavior},c().createElement("div",{className:"dops-popover__arrow"}),c().createElement("div",{className:"dops-popover__inner"},this.props.children)))}}i()(C,"propTypes",{autoPosition:o().bool,className:o().string,closeOnEsc:o().bool,id:o().string,ignoreContext:o().shape({getDOMNode:o().function}),position:o().string,rootClassName:o().string,showDelay:o().number,onClose:o().func.isRequired,onShow:o().func}),i()(C,"defaultProps",{autoPosition:!0,className:"dops-popover",closeOnEsc:!0,isVisible:!1,position:"top",showDelay:0,onShow:()=>{}}),t.Z=C},7719:function(e,t,n){"use strict";n.d(t,{Ou:function(){return v},fN:function(){return h},zR:function(){return f},X6:function(){return m},cv:function(){return g},kK:function(){return b}});var r=n(98707),i=n.n(r),s=n(90922);const o=n.n(s)()("calypso:popover:util");function a(){const e={};return e.top=window.scrollY,e.left=window.scrollX,e.width=window.innerWidth,e.height=window.innerHeight,e.right=e.left+e.width,e.bottom=e.top+e.height,o("viewport: %o",e),e}const c={top:"bottom",bottom:"top",left:"right",right:"left"},l={top:"right",left:"top",bottom:"left",right:"bottom"};let u=a();function p(){u=a()}let d=!1;const h=()=>{if(d)return o("window events already bound");d=!0,o("bind handlers to `resize` and `scroll` events"),window.addEventListener("resize",p,!0),window.addEventListener("scroll",p,!0)},f=()=>{if(!d)return o("window events are not bound");d=!1,o("unbind handlers to `resize` and `scroll` events"),window.removeEventListener("resize",p,!0),window.removeEventListener("scroll",p,!0)},m=(e,t,n)=>{const r=i()(n),s=t.clientHeight,o=t.clientWidth,a={top:r.top-s,bottom:u.height-r.bottom-s,left:r.left-o,right:u.width-r.right-o},p=e.split(/\s+/),[d]=p;let[,h]=p;const f=function(e,t){const n=[e,c[e],l[e],c[l[e]]];let r,i=-1/0;for(let s=0,o=n.length;s<o;s++){const o=n[s],a=t[o];if(a>0)return o;a>i&&(i=a,r=e)}return r}(d,a);return h!==f&&h!==c[f]||(h=null),function(e,t,n,r,i,s){const o=t?[e+" "+t,e,e+" "+c[t]]:[e,e+" "+l[e],e+" "+c[l[e]]];let a,p=0;const d=i*s;for(let e=0,t=o.length;e<t;e++){const t=o[e],c=g(t,n,r),l=c.left+i,h=c.top+s,f=Math.min(c.top<u.top?h-u.top:u.bottom-c.top,s),m=Math.min(c.left<u.left?l-u.left:u.right-c.left,i)*f;if(m===d)return t;m>p&&(p=m,a=t)}return a}(f,h,t,n,o,s)||e};function g(e,t,n){const r=i()(t);if(!r)throw new Error("could not get bounding client rect of Tip element");const s=r.width,o=r.height,a=i()(n);if(!a)throw new Error("could not get bounding client rect of `target`");const c=a.width,l=a.height,u=function(e,t){const n=t.body||t.getElementsByTagName("body")[0],r=t.documentElement||n.parentNode,i=r.clientTop||n.clientTop||0,s=r.clientLeft||n.clientLeft||0,o=window.pageYOffset||r.scrollTop,a=window.pageXOffset||r.scrollLeft;return{top:e.top+o-i,left:e.left+a-s}}(a,document);if(!u)throw new Error("could not determine page offset of `target`");let p={};switch(e){case"top":p={top:u.top-o,left:u.left+c/2-s/2};break;case"bottom":p={top:u.top+l,left:u.left+c/2-s/2};break;case"right":p={top:u.top+l/2-o/2,left:u.left+c};break;case"left":p={top:u.top+l/2-o/2,left:u.left-s};break;case"top left":p={top:u.top-o,left:u.left+c/2-s+15};break;case"top right":p={top:u.top-o,left:u.left+c/2-15};break;case"bottom left":p={top:u.top+l,left:u.left+c/2-s+15};break;case"bottom right":p={top:u.top+l,left:u.left+c/2-15};break;case"left top":p={top:u.top+l/2-o,left:u.left-s};break;case"left bottom":p={top:u.top+l/2,left:u.left-s};break;case"right top":p={top:u.top+l/2-o,left:u.left+c};break;case"right bottom":p={top:u.top+l/2,left:u.left+c};break;default:throw new Error(`invalid position "${e}"`)}return p}const v=function(e,t){const n=i()(t).width;return e.left=Math.max(0,Math.min(e.left,u.width-n)),e},b=e=>{try{return e instanceof HTMLElement}catch(t){return"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument}}},87024:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var r=n(99196),i=n.n(r),s=n(65736),o=n(22256);const __=s.__,a=()=>i().createElement("div",{className:"jp-product-activated-label"},i().createElement(o.Z,{icon:"checkmark",size:20}),i().createElement("span",{className:"jp-product-activated-label__text"},__("Activated","jetpack")))},35179:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(65736),u=n(69771);const __=l.__;class p extends o().PureComponent{render(){const{expiryDate:e,purchaseDate:t,isRefundable:n,dateFormat:r}=this.props;if(!e&&!t)return null;if(!e||n){const e=new Date(t);return"Invalid Date"!==e.toString()?(0,l.sprintf)(
+__("Install %s","jetpack"),k),icon:s?void 0:"plugins",iconAlt:n,iconSrc:s,title:r,onClick:C}))};f.propTypes={pluginName:i().string.isRequired,pluginFiles:i().arrayOf(i().string).isRequired,pluginSlug:i().string.isRequired,pluginLink:i().string.isRequired,installOrActivatePrompt:i().element.isRequired,iconAlt:i().string,iconSrc:i().string,isFetchingPluginsData:i().bool,aPluginIsActive:i().bool,aPluginIsInstalled:i().bool},t.Z=(0,s.$j)(((e,t)=>{let{pluginFiles:n}=t;return{isFetchingPluginsData:(0,u.vz)(e),aPluginIsInstalled:n.some((t=>(0,u.P8)(e,t))),aPluginIsActive:n.some((t=>(0,u.TB)(e,t)))}}),(e=>({fetchPluginsData:()=>e((0,u.s4)())})))(f)},8402:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(1850),p=n.n(l),u=n(1128),d=n.n(u),m=n(5235),h=n.n(m),g=n(9494),f=n.n(g),v=n(2819),k=n(616),_=n(8355);const y=d()("calypso:popover"),E=new Set;class w extends o.Component{constructor(e){super(e),this.setPopoverId(e.id),this.setDOMBehavior=this.setDOMBehavior.bind(this),this.setPosition=this.setPosition.bind(this),this.onClickout=this.onClickout.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onWindowChange=this.onWindowChange.bind(this),this.state={show:e.isVisible,left:-99999,top:-99999,positionClass:this.getPositionClass(e.position)}}componentDidMount(){this.bindEscKeyListener(),this.bindDebouncedReposition(),(0,_.fN)()}UNSAFE_componentWillReceiveProps(e){if((0,_.kK)(e.context)?this.domContext=e.context:this.domContext=p().findDOMNode(e.context),!e.isVisible)return null;this.setPosition()}componentDidUpdate(e){const{isVisible:t}=this.props;return t!==e.isVisible&&(t?this.show():this.hide()),this.domContainer&&this.domContext&&t&&t!==e.isVisible?(this.debug("Update position after render completes"),void setTimeout((()=>this.setPosition()),0)):null}componentWillUnmount(){this.debug("unmounting .... "),this.unbindClickoutHandler(),this.unbindDebouncedReposition(),this.unbindEscKeyListener(),(0,_.zR)(),E.delete(this.id),y("current popover instances: ",E.size)}bindEscKeyListener(){return this.props.closeOnEsc?this.escEventHandlerAdded?null:(this.debug("adding escKey listener ..."),this.escEventHandlerAdded=!0,void document.addEventListener("keydown",this.onKeydown,!0)):null}unbindEscKeyListener(){return this.props.closeOnEsc&&this.escEventHandlerAdded?(this.debug("unbinding `escKey` listener ..."),void document.removeEventListener("keydown",this.onKeydown,!0)):null}onKeydown(e){if(27!==e.keyCode)return null;this.close(!0)}bindClickoutHandler(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.domContainer;return e?this._clickoutHandlerReference?(this.debug("clickout event already bound"),null):(this.debug("binding `clickout` event"),this._clickoutHandlerReference=t=>{e.contains(t.target)||this.onClickout(t)},void document.addEventListener("click",this._clickoutHandlerReference,!0)):(this.debug("no element to bind clickout side "),null)}unbindClickoutHandler(){this._clickoutHandlerReference&&(this.debug("unbinding `clickout` listener ..."),document.removeEventListener("click",this._clickoutHandlerReference,!0),this._clickoutHandlerReference=null)}onClickout(e){let t=this.domContext&&this.domContext.contains&&!this.domContext.contains(e.target);if(this.props.ignoreContext&&t){const n=p().findDOMNode(this.props.ignoreContext);t=t&&n&&n.contains&&!n.contains(e.target)}t&&this.close()}bindDebouncedReposition(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}unbindDebouncedReposition(){this.willReposition&&(window.cancelAnimationFrame(this.willReposition),this.willReposition=null),window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0),this.debug("unbinding `debounce reposition` ...")}onWindowChange(){this.willReposition=window.requestAnimationFrame(this.setPosition)}setDOMBehavior(e){if(!e)return this.unbindClickoutHandler(),null;this.debug("setting DOM behavior"),this.bindClickoutHandler(e),this.domContainer=e,(0,_.kK)(this.props.context)?this.domContext=this.props.context:this.domContext=p().findDOMNode(this.props.context),this.domContainer.focus(),this.setPosition()}getPositionClass(){return`is-${(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.position).replace(/\s+/g,"-")}`}computePosition(){if(!this.props.isVisible)return null;const{domContainer:e,domContext:t}=this,{position:n}=this.props;if(!e||!t)return this.debug("[WARN] no DOM elements to work"),null;let s=n;this.debug("position: %o",n),this.props.autoPosition&&(s=(0,_.X6)(n,e,t),this.debug("suggested position: %o",s));const r=(0,v.assign)({},(0,_.Ou)((0,_.cv)(s,e,t),e),{positionClass:this.getPositionClass(s)});return this.debug("updating reposition: ",r),r}debug(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];y(`[%s] ${e}`,this.id,...n)}setPopoverId(e){this.id=e||`pop__${f()(16)}`,E.add(this.id),this.debug("creating ..."),y("current popover instances: ",E.size)}setPosition(){const e=this.computePosition();if(!e)return null;this.willReposition=null,this.setState(e)}getStylePosition(){const{left:e,top:t}=this.state;return{left:e,top:t}}show(){if(!this.props.showDelay)return this.setState({show:!0}),null;this.debug("showing in %o",`${this.props.showDelay}ms`),this.clearShowTimer(),this._openDelayTimer=setTimeout((()=>{this.setState({show:!0})}),this.props.showDelay)}hide(){this.unbindClickoutHandler(),this.setState({show:!1}),this.clearShowTimer()}clearShowTimer(){if(!this._openDelayTimer)return null;clearTimeout(this._openDelayTimer),this._openDelayTimer=null}close(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.props.isVisible)return this.debug("popover should be already closed"),null;this.domContext.focus(),this.props.onClose(e)}render(){if(!this.state.show)return this.debug("is hidden. return no render"),null;if(!this.props.context)return this.debug("No `context` to tie. return no render"),null;const e=h()("dops-popover",this.props.className,this.state.positionClass);return this.debug("rendering ..."),c().createElement(k.Z,{className:this.props.rootClassName},c().createElement("div",{style:this.getStylePosition(),className:e,ref:this.setDOMBehavior},c().createElement("div",{className:"dops-popover__arrow"}),c().createElement("div",{className:"dops-popover__inner"},this.props.children)))}}r()(w,"propTypes",{autoPosition:a().bool,className:a().string,closeOnEsc:a().bool,id:a().string,ignoreContext:a().shape({getDOMNode:a().function}),position:a().string,rootClassName:a().string,showDelay:a().number,onClose:a().func.isRequired,onShow:a().func}),r()(w,"defaultProps",{autoPosition:!0,className:"dops-popover",closeOnEsc:!0,isVisible:!1,position:"top",showDelay:0,onShow:()=>{}}),t.Z=w},8355:function(e,t,n){"use strict";n.d(t,{Ou:function(){return v},X6:function(){return g},cv:function(){return f},fN:function(){return m},kK:function(){return k},zR:function(){return h}});var s=n(6163),r=n.n(s),i=n(1128);const a=n.n(i)()("calypso:popover:util");function o(){const e={};return e.top=window.scrollY,e.left=window.scrollX,e.width=window.innerWidth,e.height=window.innerHeight,e.right=e.left+e.width,e.bottom=e.top+e.height,a("viewport: %o",e),e}const c={top:"bottom",bottom:"top",left:"right",right:"left"},l={top:"right",left:"top",bottom:"left",right:"bottom"};let p=o();function u(){p=o()}let d=!1;const m=()=>{if(d)return a("window events already bound");d=!0,a("bind handlers to `resize` and `scroll` events"),window.addEventListener("resize",u,!0),window.addEventListener("scroll",u,!0)},h=()=>{if(!d)return a("window events are not bound");d=!1,a("unbind handlers to `resize` and `scroll` events"),window.removeEventListener("resize",u,!0),window.removeEventListener("scroll",u,!0)},g=(e,t,n)=>{const s=r()(n),i=t.clientHeight,a=t.clientWidth,o={top:s.top-i,bottom:p.height-s.bottom-i,left:s.left-a,right:p.width-s.right-a},u=e.split(/\s+/),[d]=u;let[,m]=u;const h=function(e,t){const n=[e,c[e],l[e],c[l[e]]];let s,r=-1/0;for(let i=0,a=n.length;i<a;i++){const a=n[i],o=t[a];if(o>0)return a;o>r&&(r=o,s=e)}return s}(d,o);return m!==h&&m!==c[h]||(m=null),function(e,t,n,s,r,i){const a=t?[e+" "+t,e,e+" "+c[t]]:[e,e+" "+l[e],e+" "+c[l[e]]];let o,u=0;const d=r*i;for(let e=0,t=a.length;e<t;e++){const t=a[e],c=f(t,n,s),l=c.left+r,m=c.top+i,h=Math.min(c.top<p.top?m-p.top:p.bottom-c.top,i),g=Math.min(c.left<p.left?l-p.left:p.right-c.left,r)*h;if(g===d)return t;g>u&&(u=g,o=t)}return o}(h,m,t,n,a,i)||e};function f(e,t,n){const s=r()(t);if(!s)throw new Error("could not get bounding client rect of Tip element");const i=s.width,a=s.height,o=r()(n);if(!o)throw new Error("could not get bounding client rect of `target`");const c=o.width,l=o.height,p=function(e,t){const n=t.body||t.getElementsByTagName("body")[0],s=t.documentElement||n.parentNode,r=s.clientTop||n.clientTop||0,i=s.clientLeft||n.clientLeft||0,a=window.pageYOffset||s.scrollTop,o=window.pageXOffset||s.scrollLeft;return{top:e.top+a-r,left:e.left+o-i}}(o,document);if(!p)throw new Error("could not determine page offset of `target`");let u={};switch(e){case"top":u={top:p.top-a,left:p.left+c/2-i/2};break;case"bottom":u={top:p.top+l,left:p.left+c/2-i/2};break;case"right":u={top:p.top+l/2-a/2,left:p.left+c};break;case"left":u={top:p.top+l/2-a/2,left:p.left-i};break;case"top left":u={top:p.top-a,left:p.left+c/2-i+15};break;case"top right":u={top:p.top-a,left:p.left+c/2-15};break;case"bottom left":u={top:p.top+l,left:p.left+c/2-i+15};break;case"bottom right":u={top:p.top+l,left:p.left+c/2-15};break;case"left top":u={top:p.top+l/2-a,left:p.left-i};break;case"left bottom":u={top:p.top+l/2,left:p.left-i};break;case"right top":u={top:p.top+l/2-a,left:p.left+c};break;case"right bottom":u={top:p.top+l/2,left:p.left+c};break;default:throw new Error(`invalid position "${e}"`)}return u}const v=function(e,t){const n=r()(t).width;return e.left=Math.max(0,Math.min(e.left,p.width-n)),e},k=e=>{try{return e instanceof HTMLElement}catch(t){return"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument}}},420:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var s=n(9196),r=n.n(s),i=n(5736),a=n(5060);const __=i.__,o=()=>r().createElement("div",{className:"jp-product-activated-label"},r().createElement(a.Z,{icon:"checkmark",size:20}),r().createElement("span",{className:"jp-product-activated-label__text"},__("Activated","jetpack")))},8833:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(5736),p=n(9771);const __=l.__;class u extends a().PureComponent{render(){const{expiryDate:e,purchaseDate:t,isRefundable:n,dateFormat:s}=this.props;if(!e&&!t)return null;if(!e||n){const e=new Date(t);return"Invalid Date"!==e.toString()?(0,l.sprintf)(
/* translators: placeholder is a date. */
-__("Purchased on %s.","jetpack"),(0,u.dateI18n)(r,e)):null}const i=new Date(e);return"Invalid Date"===i.toString()?null:(0,u.isInTheFuture)(i)?(0,l.sprintf)(
+__("Purchased on %s.","jetpack"),(0,p.dateI18n)(s,e)):null}const r=new Date(e);return"Invalid Date"===r.toString()?null:(0,p.isInTheFuture)(r)?(0,l.sprintf)(
/* translators: placeholder is a date. */
-__("Renews on %s.","jetpack"),(0,u.dateI18n)(r,i)):(0,l.sprintf)(
+__("Renews on %s.","jetpack"),(0,p.dateI18n)(s,r)):(0,l.sprintf)(
/* translators: placeholder is a date. */
-__("Expired on %s.","jetpack"),(0,u.dateI18n)(r,i))}}i()(p,"propTypes",{expiryDate:c().string,purchaseDate:c().string,isRefundable:c().bool,dateFormat:c().string}),i()(p,"defaultProps",{expiryDate:"",purchaseDate:"",isRefundable:!1,dateFormat:"F j, Y"}),t.Z=p},29733:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(11973),d=n(9913),h=n(60742),f=n(41147),m=n(82649);const __=u.__,_x=u._x;class g extends c().Component{constructor(){super(...arguments),i()(this,"shouldShowModal",(()=>{const{show:e}=this.props;return e&&this.props.isSiteConnected&&!this.props.isReconnectingSite})),i()(this,"closeModal",(()=>{this.props.onHide()})),i()(this,"clickReconnectSite",(e=>{e.preventDefault(),p.Z.tracks.recordJetpackClick("confirm_reconnect_modal"),this.props.reconnectSite(),this.closeModal()}))}render(){return this.shouldShowModal()&&c().createElement(m.Z,{className:"reconnect__modal",onRequestClose:this.closeModal},c().createElement(h.Z,{className:"reconnect__modal__body"},c().createElement("h2",null,__("Reconnect Jetpack","jetpack")),c().createElement("h4",null,__("You’ve clicked a link to restore your Jetpack connection.","jetpack")),c().createElement("h4",null,c().createElement("strong",null,__("You should only do this if advised by Site Health tests or Jetpack Support.","jetpack"))),c().createElement("h4",null,__("Click below to reconnect Jetpack","jetpack")),c().createElement("div",{className:"reconnect__modal-actions"},c().createElement(d.Z,{className:"reconnect__modal-cancel",onClick:this.closeModal},_x("Cancel","A caption for a button to cancel an action.","jetpack")),c().createElement(d.Z,{className:"reconnect__modal-reconnect",onClick:this.clickReconnectSite,primary:!0},_x("Reconnect Jetpack","A caption for a button to reconnect Jetpack.","jetpack")))))}}i()(g,"displayName","ReconnectModal"),i()(g,"propTypes",{show:o().bool,onHide:o().func}),i()(g,"defaultProps",{show:!1}),t.Z=(0,l.$j)((e=>({isSiteConnected:(0,f.q7)(e),isReconnectingSite:(0,f.O_)(e)})),(e=>({reconnectSite:()=>e((0,f.xK)())})))(g)},16291:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),i=n.n(r),s=n(91850),o=n.n(s),a=n(11268),c=n.n(a),l=n(99196),u=n.n(l),p=n(2620);class d extends u().Component{constructor(){super(...arguments),i()(this,"renderChildren",(()=>{let e;e=this.props&&(Object.keys(this.props).length>1||!this.props.children)?u().createElement("div",this.props,this.props.children):this.props.children,this.context.store&&(e=u().createElement(p.zt,{store:this.context.store},e)),o().render(e,this.container)}))}componentDidMount(){this.container=document.createElement("div"),document.body.appendChild(this.container),this.renderChildren()}componentDidUpdate(){this.renderChildren()}componentWillUnmount(){this.container&&(o().unmountComponentAtNode(this.container),document.body.removeChild(this.container),delete this.container)}render(){return null}}i()(d,"displayName","RootChild"),i()(d,"propTypes",{children:c().node}),i()(d,"contextTypes",{store:c().object})},67448:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(89105),c=n.n(a),l=n(24555),u=n(11268),p=n.n(u),d=n(99196),h=n.n(d),f=n(91850),m=n.n(f),g=n(92819),v=n(11973),b=n(22256);function y(e,t){switch(t.key){case" ":case"Enter":this[e](t)}}class k extends h().Component{constructor(){super(...arguments),o()(this,"state",{keyword:this.props.initialValue||"",isOpen:!!this.props.isOpen,hasFocus:!1}),o()(this,"scrollOverlay",(()=>{this.refs.overlay&&window.requestAnimationFrame((()=>{this.refs.overlay&&this.refs.searchInput&&(this.refs.overlay.scrollLeft=this.getScrollLeft(this.refs.searchInput))}))})),o()(this,"getScrollLeft",(e=>{if(!e.createTextRange)return e.scrollLeft;const t=e.createTextRange(),n=window.getComputedStyle(e,void 0),r=parseFloat(n.paddingLeft),i=t.getBoundingClientRect();return e.getBoundingClientRect().left+e.clientLeft+r-i.left})),o()(this,"focus",(()=>{setTimeout((()=>this.refs.searchInput&&m().findDOMNode(this.refs.searchInput).focus()),0)})),o()(this,"blur",(()=>{m().findDOMNode(this.refs.searchInput).blur()})),o()(this,"getCurrentSearchValue",(()=>m().findDOMNode(this.refs.searchInput).value)),o()(this,"clear",(()=>{this.setState({keyword:""})})),o()(this,"onBlur",(e=>{this.props.onBlur&&this.props.onBlur(e),this.setState({hasFocus:!1})})),o()(this,"onChange",(()=>{this.setState({keyword:this.getCurrentSearchValue()})})),o()(this,"openSearch",(e=>{this.props.onClick(),e.preventDefault(),this.setState({keyword:"",isOpen:!0}),v.Z.ga.recordEvent(this.props.analyticsGroup,"Clicked Open Search")})),o()(this,"closeSearch",(e=>{if(e.preventDefault(),this.props.disabled)return;const t=m().findDOMNode(this.refs.searchInput);this.setState({keyword:"",isOpen:this.props.isOpen||!1}),t.value="",t.blur(),this.props.pinned&&m().findDOMNode(this.refs.openIcon).focus(),this.props.onSearchClose(e),v.Z.ga.recordEvent(this.props.analyticsGroup,"Clicked Close Search")})),o()(this,"keyUp",(e=>{"Enter"===e.key&&(0,l.tq)()&&this.blur(),this.props.pinned&&("Escape"===e.key&&this.closeSearch(e),this.scrollOverlay())})),o()(this,"keyDown",(e=>{this.scrollOverlay(),"Escape"===e.key&&""===e.target.value&&this.closeSearch(e),this.props.onKeyDown(e)})),o()(this,"onFocus",(()=>{const e=m().findDOMNode(this.refs.searchInput),t=e.value;t&&(e.value="",e.value=t),this.setState({hasFocus:!0}),this.props.onSearchOpen()})),o()(this,"renderStylingDiv",(()=>h().createElement("div",{className:"dops-search__text-overlay",ref:"overlay"},this.props.overlayStyling(this.state.keyword)))),o()(this,"closeButton",(()=>this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:h().createElement("div",{role:"button",className:"dops-search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDown:this.closeListener,"aria-controls":"dops-search-component-"+this.state.instanceId,"aria-label":"Close Search"},h().createElement(b.Z,{icon:"cross",className:"dops-search__close-icon"}))))}UNSAFE_componentWillMount(){this.setState({instanceId:++k.instances}),this.closeListener=y.bind(this,"closeSearch"),this.openListener=y.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(e){e.onSearch===this.props.onSearch&&e.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,g.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),e.isOpen&&this.setState({isOpen:e.isOpen}),e.initialValue===this.props.initialValue||this.state.keyword!==this.props.initialValue&&""!==this.state.keyword||this.setState({keyword:e.initialValue||""})}componentDidUpdate(e,t){this.scrollOverlay(),(this.state.isOpen&&!t.isOpen||this.props.autoFocus&&!e.autoFocus)&&this.focus(),this.state.keyword!==t.keyword&&(this.state.keyword?this.onSearch(this.state.keyword):(this.props.delaySearch&&this.onSearch.cancel(),this.props.onSearch(this.state.keyword)),this.props.onSearchChange(this.state.keyword))}componentDidMount(){this.onSearch=this.props.delaySearch?(0,g.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch,this.props.autoFocus&&setTimeout((()=>this.focus()),0)}render(){const e=this.state.keyword,t=this.props.placeholder||"Search…",n=this.props.pinned&&!this.state.isOpen,r=this.state.isOpen||!this.props.pinned||this.props.initialValue,s=this.props.disableAutocorrect&&{autoComplete:"off",autoCorrect:"off",spellCheck:"false"},o=c()(this.props.additionalClasses,this.props.dir,{"is-expanded-to-container":this.props.fitsContainer,"is-open":r,"is-searching":this.props.searching,"has-focus":this.state.hasFocus,"dops-search":!0}),a=c()("dops-search__input-fade",this.props.dir),l=c()("dops-search__input",this.props.dir);return h().createElement("div",{dir:this.props.dir||null,className:o,role:"search"},h().createElement("div",{role:"button",className:"dops-search__icon-navigation",ref:"openIcon",onClick:n?this.openSearch:this.focus,tabIndex:n?"0":null,onKeyDown:n?this.openListener:null,"aria-controls":"dops-search-component-"+this.state.instanceId,"aria-label":"Open Search"},h().createElement(b.Z,{icon:"search",className:"dops-search__open-icon"})),h().createElement("div",{className:a},h().createElement("input",i()({type:"search",onChange:this.onChange,id:"dops-search-component-"+this.state.instanceId,className:l,placeholder:t,role:"searchbox",value:e,ref:"searchInput",onKeyUp:this.keyUp,onKeyDown:this.keyDown,onMouseUp:this.props.onClick,onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.props.disabled,"aria-hidden":!r,autoCapitalize:"none",dir:this.props.dir,maxLength:this.props.maxLength},s)),this.props.overlayStyling&&this.renderStylingDiv()),this.closeButton())}}o()(k,"displayName","Search"),o()(k,"instances",0),o()(k,"propTypes",{additionalClasses:p().string,initialValue:p().string,placeholder:p().string,pinned:p().bool,delaySearch:p().bool,delayTimeout:p().number,onSearch:p().func.isRequired,onSearchChange:p().func,onSearchOpen:p().func,onSearchClose:p().func,analyticsGroup:p().string,overlayStyling:p().func,autoFocus:p().bool,disabled:p().bool,onKeyDown:p().func,onClick:p().func,disableAutocorrect:p().bool,onBlur:p().func,searching:p().bool,isOpen:p().bool,dir:p().oneOf(["ltr","rtl"]),fitsContainer:p().bool,maxLength:p().number,hideClose:p().bool}),o()(k,"defaultProps",{pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,onSearchChange:g.noop,onSearchOpen:g.noop,onSearchClose:g.noop,onKeyDown:g.noop,onClick:g.noop,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1}),t.Z=k},35303:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(60742);class d extends c().Component{render(){const e=u()(this.props.className,"dops-section-header");return c().createElement(p.Z,{compact:!0,className:e},c().createElement("div",{className:"dops-section-header__label"},c().createElement("span",{className:"dops-section-header__label-text"},this.props.label)),c().createElement("div",{className:"dops-section-header__actions"},this.props.children))}}i()(d,"displayName","SectionHeader"),i()(d,"propTypes",{label:o().string}),i()(d,"defaultProps",{label:""})},91592:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(92819),c=n(89105),l=n.n(c),u=n(7767),p=n.n(u),d=n(67939),h=n(17840),f=n(67448);const m=p()({displayName:"SectionNav",propTypes:{children:i().node,selectedText:i().node,selectedCount:i().number,hasPinnedItems:i().bool,onMobileNavPanelOpen:i().func},getInitialState:function(){return{mobileOpen:!1}},getDefaultProps:function(){return{onMobileNavPanelOpen:()=>{}}},UNSAFE_componentWillMount:function(){this.checkForSiblingControls(this.props.children)},UNSAFE_componentWillReceiveProps:function(e){(0,a.isEqual)(this.props,e)||(this.checkForSiblingControls(e.children),this.hasSiblingControls||this.closeMobilePanel())},render:function(){const e=this.getChildren();let t;return e?(t=l()({"dops-section-nav":!0,"is-open":this.state.mobileOpen,"has-pinned-items":this.hasPinnedSearch||this.props.hasPinnedItems}),o().createElement("div",{className:t},o().createElement("div",{className:"dops-section-nav__mobile-header",role:"button",onClick:this.toggleMobileOpenState,tabIndex:0,onKeyUp:this.toggleMobileOpenState},o().createElement("span",{className:"dops-section-nav__mobile-header-text"},this.props.selectedText)),o().createElement("div",{className:"dops-section-nav__panel"},e))):(t=l()({"dops-section-nav":!0,"is-empty":!0}),o().createElement("div",{className:t},o().createElement("div",{className:"dops-section-nav__panel"},o().createElement(h.Z,null))))},getChildren:function(){return o().Children.map(this.props.children,function(e){const t={hasSiblingControls:this.hasSiblingControls,closeSectionNavMobilePanel:this.closeMobilePanel};return e?(e.type!==d.Z||e.props.selectedText||"string"!=typeof this.props.selectedText||(t.selectedText=this.props.selectedText),e.type===d.Z&&this.props.selectedCount&&(t.selectedCount=this.props.selectedCount),e.type===f.Z&&(e.props.pinned&&(this.hasPinnedSearch=!0),t.onSearch=this.generateOnSearch(e.props.onSearch)),o().cloneElement(e,t)):null}.bind(this))},closeMobilePanel:function(){window.innerWidth<480&&this.state.mobileOpen&&this.setState({mobileOpen:!1})},toggleMobileOpenState:function(){const e=!this.state.mobileOpen;this.setState({mobileOpen:e}),e&&this.props.onMobileNavPanelOpen()},generateOnSearch:function(e){return function(){e.apply(this,arguments),this.closeMobilePanel()}.bind(this)},checkForSiblingControls:function(e){this.hasSiblingControls=!1,o().Children.forEach(e,function(e,t){t&&e&&e.type!==f.Z&&(this.hasSiblingControls=!0)}.bind(this))}});t.Z=m},17840:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(21425),c=n.n(a),l=n(89105),u=n.n(l),p=n(7767),d=n.n(p),h=n(44135);const f=d()({displayName:"NavItem",mixins:[c()],propTypes:{itemType:i().string,path:i().string,selected:i().bool,tabIndex:i().number,onClick:i().func,isExternalLink:i().bool,disabled:i().bool,count:i().number},render:function(){const e=this.props.itemType?this.props.itemType:"tab",t={"is-selected":this.props.selected,"is-external":this.props.isExternalLink};t["dops-section-nav-"+e]=!0;const n=u()(t);let r,i;return this.props.isExternalLink&&(r="_blank"),this.props.disabled||(i=this.props.onClick),o().createElement("li",{className:n},o().createElement("a",{href:this.props.path,target:r,className:"dops-section-nav-"+e+"__link",onClick:i,tabIndex:this.props.tabIndex||0,disabled:this.props.disabled,role:"menuitem",rel:this.props.isExternalLink?"external":null},o().createElement("span",{className:"dops-section-nav-"+e+"__text"},this.props.children,"number"==typeof this.props.count&&o().createElement(h.Z,{count:this.props.count}))))}});t.Z=f},67939:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(89105),c=n.n(a),l=n(92819),u=n(24555),p=n(11268),d=n.n(p),h=n(91850),f=n.n(h),m=n(99196),g=n.n(m),v=n(51262),b=n(34964);class y extends g().Component{constructor(){super(...arguments),o()(this,"state",{isDropdown:!1}),o()(this,"getTabWidths",(()=>{let e=0;g().Children.forEach(this.props.children,function(t,n){if(!t)return;const r=f().findDOMNode(this.refs["tab-"+n]).offsetWidth;e+=r}.bind(this)),this.tabsWidth=e})),o()(this,"getDropdown",(()=>{const e=g().Children.map(this.props.children,(function(e,t){return e?g().createElement(v.Z,i()({},e.props,{key:"navTabsDropdown-"+t}),e.props.children):null}));return g().createElement(b.Z,{className:"dops-section-nav-tabs__dropdown",selectedText:this.props.selectedText,selectedCount:this.props.selectedCount},e)})),o()(this,"setDropdown",(()=>{let e;if(window.innerWidth>480){if(!this.refs.navGroup)return;e=this.refs.navGroup.offsetWidth,this.tabsWidth||this.getTabWidths(),e<=this.tabsWidth&&!this.state.isDropdown?this.setState({isDropdown:!0}):e>this.tabsWidth&&this.state.isDropdown&&this.setState({isDropdown:!1})}else window.innerWidth<=480&&this.state.isDropdown&&this.setState({isDropdown:!1})})),o()(this,"keyHandler",(e=>{switch(e.keyCode){case 32:case 13:e.preventDefault(),document.activeElement.click()}}))}componentDidMount(){this.setDropdown(),this.debouncedAfterResize=(0,l.debounce)(this.setDropdown,300),window.addEventListener("resize",this.debouncedAfterResize)}UNSAFE_componentWillReceiveProps(){this.setDropdown()}componentWillUnmount(){window.removeEventListener("resize",this.debouncedAfterResize)}render(){const e=g().Children.map(this.props.children,(function(e,t){return e&&g().cloneElement(e,{ref:"tab-"+t})})),t=c()({"dops-section-nav-tabs":!0,"is-dropdown":this.state.isDropdown,"is-open":this.state.isDropdownOpen,"has-siblings":this.props.hasSiblingControls}),n=(0,u.bQ)();return g().createElement("div",{className:"dops-section-nav-group",ref:"navGroup"},g().createElement("div",{className:t},this.props.label&&g().createElement("h6",{className:"dops-section-nav-group__label"},this.props.label),g().createElement("ul",{className:"dops-section-nav-tabs__list",role:"menu",onKeyDown:this.keyHandler},e),this.state.isDropdown&&n>480&&this.getDropdown()))}}o()(y,"propTypes",{selectedText:d().string,selectedCount:d().number,label:d().string,hasSiblingControls:d().bool}),o()(y,"defaultProps",{hasSiblingControls:!1}),t.Z=y},34964:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(91850),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(92819),d=n(51262),h=n(84467),f=n(23837),m=n(44135);const{Component:g}=c(),v=()=>{};class b extends g{constructor(e){super(e),this.navigateItem=this.navigateItem.bind(this),this.toggleDropdown=this.toggleDropdown.bind(this),this.handleOutsideClick=this.handleOutsideClick.bind(this),this._onClick=this._onClick.bind(this);const t={isOpen:!1};e.options.length&&(t.selected=this.getInitialSelectedItem(e)),this.state=t}UNSAFE_componentWillMount(){this.setState({instanceId:++b.instances})}UNSAFE_componentWillReceiveProps(e){this.state.isOpen&&this.closeDropdown(),void 0!==this.state.selected&&this.props.initialSelected!==e.initialSelected&&this.setState({selected:e.initialSelected})}componentWillUnmount(){window.removeEventListener("click",this.handleOutsideClick)}componentDidUpdate(e,t){this.state.isOpen?window.addEventListener("click",this.handleOutsideClick):window.removeEventListener("click",this.handleOutsideClick),this.state.isOpen!==t.isOpen&&this.props.onToggle({target:this,open:this.state.isOpen})}getInitialSelectedItem(e){if((e=e||this.props).initialSelected)return e.initialSelected;if(!e.options.length)return;const t=(0,p.find)(e.options,(e=>!e.isLabel));return t&&t.value}dropdownOptions(){let e=0;const t=this;return this.props.children?c().Children.map(this.props.children,(function(n,r){if(!n)return null;const i=c().cloneElement(n,{ref:n.type===d.Z?"item-"+e:null,key:"item-"+r,onClick:function(e){t.refs.dropdownContainer.focus(),"function"==typeof n.props.onClick&&n.props.onClick(e)}});return n.type===d.Z&&e++,i}),this):this.props.options.map((function(t,n){if(!t)return c().createElement(h.Z,{key:"dropdown-separator-"+this.state.instanceId+"-"+n});if(t.isLabel)return c().createElement(f.Z,{key:"dropdown-label-"+this.state.instanceId+"-"+n},t.label);const r=c().createElement(d.Z,{key:"dropdown-item-"+this.state.instanceId+"-"+t.value,ref:"item-"+e,selected:this.state.selected===t.value,onClick:this.onSelectItem(t),path:t.path},t.label);return e++,r}),this)}render(){const e={"dops-select-dropdown":!0,"is-compact":this.props.compact,"is-open":this.state.isOpen,"is-disabled":this.props.disabled};this.props.className&&this.props.className.split(" ").forEach((function(t){e[t]=!0}));const t=u()(e),n=this.props.selectedText?this.props.selectedText:(0,p.result)((0,p.find)(this.props.options,{value:this.state.selected}),"label");return c().createElement("div",{style:this.props.style,className:t},c().createElement("div",{ref:"dropdownContainer",className:"dops-select-dropdown__container",tabIndex:this.props.tabIndex||0,role:"listbox","aria-labelledby":"select-dropdown-"+this.state.instanceId,"aria-owns":"select-submenu-"+this.state.instanceId,"aria-controls":"select-submenu-"+this.state.instanceId,"aria-expanded":this.state.isOpen,onClick:this._onClick,onKeyDown:this.navigateItem},c().createElement("div",{id:"select-dropdown-"+this.state.instanceId,className:"dops-select-dropdown__header"},c().createElement("span",{className:"dops-select-dropdown__header-text"},n,"number"==typeof this.props.selectedCount&&c().createElement(m.Z,{count:this.props.selectedCount}))),c().createElement("ul",{id:"select-submenu-"+this.state.instanceId,className:"dops-select-dropdown__options"},this.dropdownOptions())))}_onClick(){this.props.disabled||this.toggleDropdown()}toggleDropdown(){this.setState({isOpen:!this.state.isOpen})}openDropdown(){this.setState({isOpen:!0})}closeDropdown(){this.state.isOpen&&(delete this.focused,this.setState({isOpen:!1}))}onSelectItem(e){return this.selectItem.bind(this,e)}selectItem(e){e&&(this.props.onSelect&&this.props.onSelect(e),this.setState({selected:e.value}),this.refs.dropdownContainer.focus())}navigateItem(e){switch(e.keyCode){case 9:this.navigateItemByTabKey(e);break;case 32:case 13:e.preventDefault(),this.activateItem();break;case 38:e.preventDefault(),this.focusSibling("previous"),this.openDropdown();break;case 40:e.preventDefault(),this.focusSibling("next"),this.openDropdown();break;case 27:e.preventDefault(),this.closeDropdown(),this.refs.dropdownContainer.focus()}}navigateItemByTabKey(e){if(!this.state.isOpen)return;e.preventDefault();const t=e.shiftKey?"previous":"next";this.focusSibling(t)}activateItem(){if(!this.state.isOpen)return this.openDropdown();document.activeElement.click()}focusSibling(e){let t,n;if(!this.state.isOpen)return;this.props.options.length?(t=(0,p.map)((0,p.filter)(this.props.options,(e=>e&&!e.isLabel)),"value"),n="number"==typeof this.focused?this.focused:t.indexOf(this.state.selected)):(t=(0,p.filter)(this.props.children,(function(e){return e.type===d.Z})),n="number"==typeof this.focused?this.focused:(0,p.findIndex)(t,(function(e){return e.props.selected})));const r=n+("previous"===e?-1:1);r>=t.length||r<0||(o().findDOMNode(this.refs["item-"+r].refs.itemLink).focus(),this.focused=r)}handleOutsideClick(e){o().findDOMNode(this.refs.dropdownContainer).contains(e.target)||this.closeDropdown()}}b.defaultProps={options:[],onSelect:v,onToggle:v,disabled:!1,style:{}},b.propTypes={selectedText:i().string,selectedCount:i().number,initialSelected:i().string,className:i().string,style:i().object,onSelect:i().func,onToggle:i().func,focusSibling:i().func,tabIndex:i().number,disabled:i().bool,options:i().arrayOf(i().shape({value:i().string.isRequired,label:i().string.isRequired,path:i().string}))},b.instances=0,t.Z=b},51262:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(44135);class d extends c().Component{render(){const e=u()(this.props.className,{"dops-select-dropdown__item":!0,"is-selected":this.props.selected,"is-disabled":this.props.disabled});return c().createElement("li",{className:"dops-select-dropdown__option"},c().createElement("a",{ref:"itemLink",href:this.props.path,className:e,onClick:this.props.disabled?null:this.props.onClick,"data-bold-text":this.props.value||this.props.children,role:"option",tabIndex:0,"aria-selected":this.props.selected},c().createElement("span",{className:"dops-select-dropdown__item-text"},this.props.children,"number"==typeof this.props.count&&c().createElement(p.Z,{count:this.props.count}))))}}i()(d,"propTypes",{children:o().string.isRequired,path:o().string,selected:o().bool,onClick:o().func,count:o().number}),i()(d,"defaultProps",{selected:!1}),t.Z=d},23837:function(e,t,n){"use strict";var r=n(99196),i=n.n(r);const{Component:s}=i(),o=e=>e.stopPropagation();t.Z=class extends s{render(){return i().createElement("li",{role:"menuitem",onClick:o,className:"dops-select-dropdown__label"},i().createElement("label",null,this.props.children))}}},84467:function(e,t,n){"use strict";var r=n(99196),i=n.n(r);class s extends i().Component{render(){return i().createElement("li",{className:"dops-select-dropdown__separator"})}}t.Z=s},84277:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(2620),u=n(92819),p=n(65736),d=n(11973),h=n(9913),f=n(81200),m=n(41147),g=n(66552),v=n(75395),b=n(88872),y=n(35303),k=n(27415),w=n(85253),_=n(53263),E=n(93107);const __=p.__,_x=p._x,C=e=>{const t=e=>()=>(e=>{d.Z.tracks.recordJetpackClick({target:"upgrade-banner",feature:e,type:"upgrade"})})(e),n=(t,n)=>()=>{(e=>{d.Z.tracks.recordJetpackClick({target:"connect-banner",feature:e,type:"connect"})})(t),e.doConnectUser(n)},r=!!e.module&&e.getModule(e.module),s=e.vaultPressData,a=(0,u.get)(s,["data","features","backups"],!1),c=(0,u.get)(s,["data","features","security"],!1);if(!e.userCanManageModules&&!(0,u.includes)(["post-by-email","publicize"],e.module))return o().createElement("span",null);const l=e.saveDisabled,p=!!e.feature&&e.feature;let m=e.header?e.header:"";""===m&&r&&(m=r.name);const g=()=>{switch(p){case f.BD:return"inactive"===e.getModuleOverride("videopress");case f.N8:return"inactive"===e.getModuleOverride("wordads");case f.r2:return"inactive"===e.getModuleOverride("google-analytics");case f.T5:return"inactive"===e.getModuleOverride("search");default:return!1}},v=(()=>{if(e.fetchingSiteData)return!0;const t=(0,f.sc)(e.sitePlan.product_slug),n=(0,u.includes)(["is-premium-plan","is-business-plan","is-daily-security-plan","is-realtime-security-plan","is-complete-plan"],t);switch(p){case f.eM:if("is-free-plan"===t&&!c)return!1;break;case f.N8:if(!n&&-1===e.activeFeatures.indexOf(f.N8))return!1;break;case f.r2:if(!n)return!1;break;case f.V3:if(((0,u.includes)(["is-free-plan"],t)||(0,u.isEmpty)(t))&&!e.isAkismetKeyValid&&!e.isCheckingAkismetKey)return!1}return!0})()&&e.children,b=!e.fetchingSiteData&&!g()&&!e.inOfflineMode&&(()=>{const r=(0,f.sc)(e.sitePlan.product_slug),i=_x("Upgrade","A caption for a button to upgrade an existing paid feature to a higher tier.","jetpack"),s=_x("Connect","A caption for a button to connect a user account to access paid features.","jetpack"),c=(0,u.includes)(["is-premium-plan","is-business-plan","is-daily-security-plan","is-realtime-security-plan","is-complete-plan"],r);switch(p){case f.BD:return e.hasConnectedOwner||c?"":o().createElement(w.Z,{title:__("Connect your WordPress.com account to enable high-quality, ad-free video.","jetpack"),callToAction:s,plan:(0,f.o2)(f.BD),feature:p,onClick:n(p)});case f.N8:return c||-1!==e.activeFeatures.indexOf(f.N8)?"":e.hasConnectedOwner?o().createElement(w.Z,{title:__("Generate income with high-quality ads.","jetpack"),callToAction:i,plan:(0,f.o2)(f.N8),feature:p,onClick:t(p),href:e.adsUpgradeUrl}):o().createElement(w.Z,{title:__("Connect your WordPress.com account to upgrade and generate income with high-quality ads.","jetpack"),callToAction:s,plan:(0,f.o2)(f.N8),feature:p,onClick:n(p)});case f.eM:return a||["is-business-plan","is-realtime-security-plan","is-complete-plan"].includes(r)||e.multisite?"":["is-premium-plan","is-daily-security-plan"].includes(r)?e.hasConnectedOwner?o().createElement(w.Z,{title:__("Save every change and get back online quickly with one-click restores.","jetpack"),plan:(0,f.o2)(f.N_),callToAction:i,feature:p,onClick:t(p),href:e.securityProUpgradeUrl}):o().createElement(w.Z,{title:__("Connect your WordPress.com account to upgrade and save every change and get back online quickly with one-click restores.","jetpack"),plan:(0,f.o2)(f.N_),callToAction:s,feature:p,onClick:n(p)}):e.hasConnectedOwner?o().createElement(w.Z,{callToAction:i,title:__("Automated scanning and one-click fixes keep your site ahead of security threats.","jetpack"),plan:(0,f.o2)(f.eM),feature:p,onClick:t(p),href:e.securityPremiumUpgradeUrl}):o().createElement(w.Z,{callToAction:s,title:__("Connect your WordPress.com account to upgrade for automated scanning and one-click fixes keep your site ahead of security threats.","jetpack"),plan:(0,f.o2)(f.eM),feature:p,onClick:n(p)});case f.r2:return c?"":e.hasConnectedOwner?o().createElement(w.Z,{callToAction:i,title:__("Connect your site to Google Analytics.","jetpack"),plan:(0,f.o2)(f.r2),feature:p,onClick:t(p),href:e.gaUpgradeUrl}):o().createElement(w.Z,{callToAction:s,title:__("Connect your WordPress.com account to upgrade and connect your site to Google Analytics.","jetpack"),plan:(0,f.o2)(f.r2),feature:p,onClick:n(p)});case f.T5:return e.hasActiveSearchPurchase||"is-complete-plan"===r?"":e.hasConnectedOwner?o().createElement(w.Z,{callToAction:i,title:__("Help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),plan:(0,f.o2)(f.T5),feature:p,onClick:t(p),href:e.searchUpgradeUrl}):o().createElement(w.Z,{callToAction:s,title:__("Connect your WordPress.com account to upgrade and help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),plan:(0,f.o2)(f.T5),feature:p,onClick:n(p)});case f.V3:return e.isCheckingAkismetKey||e.isAkismetKeyValid||"is-personal-plan"===r||c?"":e.hasConnectedOwner?o().createElement(w.Z,{callToAction:i,title:__("Automatically clear spam from comments and forms.","jetpack"),plan:(0,f.o2)(f.V3),feature:p,href:e.spamUpgradeUrl}):o().createElement(w.Z,{callToAction:s,title:__("Connect your WordPress.com account to upgrade and automatically clear spam from comments and forms.","jetpack"),plan:(0,f.o2)(f.V3),feature:p,onclick:e.doConnectUser});default:return""}})();if(!v&&!b)return null;let E="";return e.feature?E=`jp-settings-${e.feature}`:e.module&&(E=`jp-settings-${e.module}`),(()=>{if(!g())return!1;if(p!==f.r2)return null;const t=e.getModule("google-analytics");return o().createElement(_.Z,{moduleName:t.name})})()||o().createElement("form",i()({},E?{id:E}:null,{className:"jp-form-settings-card",onSubmit:l?void 0:e.onSubmit}),o().createElement(y.Z,{label:m},!e.hideButton&&o().createElement(h.Z,{primary:!0,compact:!0,type:"submit",disabled:l||!e.isDirty()},l?_x("Saving…","Button caption","jetpack"):_x("Save settings","Button caption","jetpack",0)),e.action&&o().createElement(k.Z,{proFeature:e.action,siteAdminUrl:e.siteAdminUrl,isCompact:!1})),v,b)};C.propTypes={action:c().string,saveDisabled:c().bool},C.defaultProps={action:"",saveDisabled:!1},t.Z=(0,l.$j)((e=>({sitePlan:(0,b.UL)(e),fetchingSiteData:(0,b._5)(e),siteAdminUrl:(0,g.wW)(e),userCanManageModules:(0,g.pK)(e),isAkismetKeyValid:(0,v._2)(e),isCheckingAkismetKey:(0,v.gw)(e),vaultPressData:(0,v.XK)(e),getModuleOverride:t=>(0,E.Qy)(e,t),getModule:t=>(0,E.rT)(e,t),activeFeatures:(0,b.$l)(e),videoPremiumUpgradeUrl:(0,g.Qq)(e,"settings-video-premium"),adsUpgradeUrl:(0,g.Qq)(e,"settings-ads"),securityProUpgradeUrl:(0,g.Qq)(e,"settings-security-pro"),securityPremiumUpgradeUrl:(0,g.Qq)(e,"settings-security-premium"),gaUpgradeUrl:(0,g.Qq)(e,"settings-ga"),searchUpgradeUrl:(0,g.Qq)(e,"jetpack-search"),spamUpgradeUrl:(0,g.Qq)(e,"settings-spam"),multisite:(0,g.TA)(e),hasActiveSearchPurchase:(0,b.o$)(e),inOfflineMode:(0,m.Ex)(e),hasConnectedOwner:(0,m.it)(e)})),(e=>({doConnectUser:t=>e((0,m.bL)(t))})))(C)},27006:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(60742),p=n(89105),d=n.n(p),h=n(92819),f=n(25691),m=n(41147),g=n(66552),v=n(93107);const b=e=>{const t=e.module;if(t.module&&!e.userCanManageModules&&!(0,h.includes)(["post-by-email","publicize"],t.module))return c().createElement("span",null);const n=e.disableInOfflineMode&&e.isUnavailableInOfflineMode(t.module),r=e.disableInSiteConnectionMode&&e.isUnavailableInSiteConnectionMode(t.module);let s=n||r;return"post-by-email"!==t.module||e.isLinked||(s=!0),c().createElement("div",{className:d()("jp-form-settings-group",e.className)},c().createElement(u.Z,{className:d()({"jp-form-has-child":e.hasChild,"jp-form-settings-disable":n||r})},s&&c().createElement("div",{className:"jp-form-block-fade"}),e.support.link&&c().createElement(f.Z,i()({module:t},e.support)),e.children))};b.propTypes={support:o().object,module:o().object,disableInOfflineMode:o().bool.isRequired,disableInSiteConnectionMode:o().bool,isOfflineMode:o().bool.isRequired,isSitePublic:o().bool.isRequired,userCanManageModules:o().bool.isRequired,isLinked:o().bool.isRequired,isUnavailableInOfflineMode:o().func.isRequired,className:o().string},b.defaultProps={support:{text:"",link:""},module:{},disableInOfflineMode:!1,disableInSiteConnectionMode:!1,isOfflineMode:!1,isSitePublic:!0,userCanManageModules:!1,isLinked:!1,isUnavailableInOfflineMode:h.noop,className:""},t.Z=(0,l.$j)((e=>({isOfflineMode:(0,m.Ex)(e),isSitePublic:(0,g.$r)(e),userCanManageModules:(0,g.pK)(e),userCanEditPosts:(0,g.rp)(e),isLinked:(0,m.BU)(e),isModuleActivated:t=>(0,v.mp)(e,t),isUnavailableInOfflineMode:t=>(0,m.t_)(e,t),isUnavailableInSiteConnectionMode:t=>(0,m.IK)(e,t)})))(b)},66765:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(89105),p=n.n(u),d=n(65736),h=n(71415),f=n(11973),m=n(60742),g=n(9913),v=n(88872),b=n(41147),y=n(66552),k=n(85253),w=n(81200);const __=d.__;class _ extends c().Component{constructor(){super(...arguments),i()(this,"trackBannerClick",(()=>{f.Z.tracks.recordJetpackClick({target:"banner-click",feature:"support",page:this.props.path,is_user_wpcom_connected:this.props.isCurrentUserLinked?"yes":"no",is_connection_owner:this.props.isConnectionOwner?"yes":"no"})})),i()(this,"handleConnectClick",(()=>{this.trackBannerClick(),this.props.connectUser()})),i()(this,"trackSearchClick",(()=>{f.Z.tracks.recordJetpackClick({target:"support-card",button:"support-search",page:this.props.path})}))}shouldComponentUpdate(e){return e.sitePlan.product_slug!==this.props.sitePlan.product_slug}render(){if(void 0===this.props.sitePlan.product_slug&&this.props.isFetchingSiteData)return c().createElement("div",null);const e=p()(this.props.className,"jp-support-card"),t=void 0===this.props.sitePlan.product_slug||"jetpack_free"===this.props.sitePlan.product_slug;return c().createElement("div",{className:e},c().createElement(m.Z,{className:"jp-support-card__happiness"},c().createElement("div",{className:"jp-support-card__happiness-contact"},c().createElement("h3",{className:"jp-support-card__header"},__("We're here to help","jetpack")),c().createElement("p",{className:"jp-support-card__description"},t?__("Jetpack offers support via community forums for any site without a paid product.","jetpack"):__("Your paid plan gives you access to prioritized Jetpack support.","jetpack",0)),c().createElement("p",{className:"jp-support-card__description"},c().createElement(g.Z,{onClick:this.trackSearchClick,href:this.props.isAtomicSite?(0,h.Z)("calypso-help"):(0,h.Z)("jetpack-support")},__("Search our support site","jetpack"))))),this.props.siteConnectionStatus&&t&&this.props.hasConnectedOwner&&c().createElement(k.Z,{title:__("Get a faster resolution to your support questions.","jetpack"),plan:(0,w.o2)(w.ps),callToAction:__("Upgrade","jetpack"),onClick:this.trackBannerClick,href:this.props.supportUpgradeUrl}),this.props.siteConnectionStatus&&t&&!this.props.hasConnectedOwner&&c().createElement(k.Z,{title:__("Connect your WordPress.com account and upgrade to get a faster resolution to your support questions.","jetpack"),plan:(0,w.o2)(w.ps),callToAction:__("Connect","jetpack"),onClick:this.handleConnectClick}))}}i()(_,"displayName","SupportCard"),i()(_,"defaultProps",{className:"",siteConnectionStatus:!1}),_.propTypes={siteConnectionStatus:o().any.isRequired,className:o().string,isCurrentUserLinked:o().string,isConnectionOwner:o().bool},t.Z=(0,l.$j)((e=>({sitePlan:(0,v.UL)(e),siteConnectionStatus:(0,b.Gz)(e),isFetchingSiteData:(0,v._5)(e),isAtomicSite:(0,y.Ug)(e),isDevVersion:(0,y._W)(e),supportUpgradeUrl:(0,y.Qq)(e,"support"),isCurrentUserLinked:(0,b.BU)(e),isConnectionOwner:(0,b.QM)(e),hasConnectedOwner:(0,b.it)(e)})),(e=>({connectUser:()=>e((0,b.bL)())})))(_)},25691:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(65736),u=n(11973),p=n(87279),d=n(68961);const __=l.__;class h extends a.Component{constructor(){super(...arguments),this.getModule=this.getModule.bind(this),this.trackInfoClick=this.trackInfoClick.bind(this),this.trackLearnMoreClick=this.trackLearnMoreClick.bind(this),this.trackPrivacyInfoClick=this.trackPrivacyInfoClick.bind(this)}getModule(){return this.props.module||{}}trackInfoClick(){u.Z.tracks.recordJetpackClick({target:"info-icon",feature:this.getModule().module})}trackLearnMoreClick(){u.Z.tracks.recordJetpackClick({target:"learn-more",feature:this.getModule().module})}trackPrivacyInfoClick(){u.Z.tracks.recordJetpackClick({target:"privacy-info",feature:this.getModule().module})}render(){const{text:e,link:t}=this.props;let{privacyLink:n}=this.props;return!n&&t&&(n=t+"#privacy"),c().createElement("div",{className:"jp-support-info"},c().createElement(p.Z,{position:"left",onClick:this.trackInfoClick,screenReaderText:__("Learn more","jetpack")},e+" ",c().createElement("span",{className:"jp-support-info__learn-more"},c().createElement(d.Z,{href:t,onClick:this.trackLearnMoreClick,target:"_blank",rel:"noopener noreferrer"},__("Learn more","jetpack"))),c().createElement("span",{className:"jp-support-info__privacy"},c().createElement(d.Z,{href:n,onClick:this.trackPrivacyInfoClick,target:"_blank",rel:"noopener noreferrer"},__("Privacy information","jetpack")))))}}i()(h,"propTypes",{module:o().object,text:o().string,link:o().string,privacyLink:o().string}),i()(h,"defaultProps",{module:void 0,text:"",link:"",privacyLink:""})},15029:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(92819);class d extends c().Component{constructor(){super(...arguments),o()(this,"focus",(()=>{this.refs.textField.focus()})),o()(this,"selectOnFocus",(e=>{e.target.select()}))}render(){const{className:e,selectOnFocus:t}=this.props,n=u()(e,{"dops-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid}),r=(0,p.omit)(this.props,"selectOnFocus","isError","isValid");return c().createElement("input",i()({},r,{ref:"textField",className:n,onClick:t?this.selectOnFocus:null}))}}o()(d,"displayName","TextInput"),o()(d,"defaultProps",{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"})},50844:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(92819);class d extends c().Component{render(){return c().createElement("textarea",i()({},(0,p.omit)(this.props,"className"),{className:u()(this.props.className,"dops-textarea")}),this.props.children)}}o()(d,"displayName","Textarea")},39124:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(24555),o=n(11268),a=n.n(o),c=n(99196),l=n.n(c),u=n(89105),p=n.n(u),d=n(40515);const h=()=>{};class f extends c.Component{render(){if(!this.props.showOnMobile&&(0,s.tq)())return null;const e=p()("dops-popover","dops-tooltip",`is-${this.props.position}`,this.props.className);return l().createElement(d.Z,{autoPosition:this.props.autoPosition,className:e,rootClassName:this.props.rootClassName,context:this.props.context,id:this.props.id,isVisible:this.props.isVisible,onClose:h,position:this.props.position,showDelay:this.props.showDelay},this.props.children)}}i()(f,"propTypes",{autoPosition:a().bool,className:a().string,id:a().string,isVisible:a().bool,position:a().string,rootClassName:a().string,status:a().string,showDelay:a().number,showOnMobile:a().bool}),i()(f,"defaultProps",{showDelay:100,position:"top",showOnMobile:!1}),t.Z=f},86338:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),s=n(99196),o=n(2620),a=n(19555);class c extends s.Component{UNSAFE_componentWillReceiveProps(e){const t=this.props.analytics.tracks.recordEvent;e.searchTerm!==this.props.searchTerm&&e.searchTerm.length>=3&&t("jetpack_wpa_search_term",{term:e.searchTerm})}render(){return null}}c.propTypes={analytics:i().object,searchTerm:i().string},t.Z=(0,o.$j)((e=>({searchTerm:(0,a.He)(e)})))(c)},57028:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(2620),u=n(11973),p=n(66552);class d extends s.PureComponent{constructor(){super(...arguments),i()(this,"trackClick",(()=>{const{target:e,feature:t}=this.props;if(e){const n=t?{feature:t}:{};u.Z.tracks.recordJetpackClick({type:"upgrade-link",target:e,...n})}}))}render(){return o().createElement("a",{href:this.props.upgradeUrl,target:"_blank",rel:"noopener noreferrer",onClick:this.trackClick},this.props.children)}}i()(d,"propTypes",{source:c().string.isRequired,target:c().string.isRequired,feature:c().string,upgradeUrl:c().string.isRequired}),t.Z=(0,l.$j)(((e,t)=>{let{source:n}=t;return{upgradeUrl:(0,p.Qq)(e,n)}}))(d)},24857:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(65736),c=n(5e4),l=n(11973),u=n(39868);const __=a.__,p=(0,c.u)(class extends s.Component{constructor(){super(...arguments),i()(this,"trackLearnMoreClick",(()=>{l.Z.tracks.recordJetpackClick({target:"warm_welcome_view_editor",version:this.props.version})})),i()(this,"dismissNotice",(()=>{l.Z.tracks.recordJetpackClick({target:"warm_welcome_dismiss",version:this.props.version}),this.props.dismiss()}))}componentDidMount(){jQuery("body").addClass("jp-dialogue-modern-showing"),l.Z.tracks.recordEvent("jetpack_warm_welcome_view",{version:this.props.version})}componentWillUnmount(){jQuery("body").removeClass("jp-dialogue-modern-showing")}renderInnerContent(){const e=(new DOMParser).parseFromString(this.props.releasePostContent,"text/html"),t=e.getElementsByTagName("a");for(let e=0;e<t.length;e++)t[e].setAttribute("target","_blank"),t[e].setAttribute("rel","noopener noreferrer");const n=e.body.innerHTML;return o().createElement("div",{className:"jp-upgrade-notice__content"},o().createElement("div",{dangerouslySetInnerHTML:{__html:n}}))}render(){const{featuredImage:e}=this.props;let t=null,{title:n}=this.props;return e&&e.length>0&&(t=o().createElement("img",{src:e,alt:""})),n&&0!==n.length||(n=(0,a.sprintf)(
+__("Expired on %s.","jetpack"),(0,p.dateI18n)(s,r))}}r()(u,"propTypes",{expiryDate:c().string,purchaseDate:c().string,isRefundable:c().bool,dateFormat:c().string}),r()(u,"defaultProps",{expiryDate:"",purchaseDate:"",isRefundable:!1,dateFormat:"F j, Y"}),t.Z=u},6799:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(4069),d=n(7506),m=n(5799),h=n(6300),g=n(2676);const __=p.__,_x=p._x;class f extends c().Component{constructor(){super(...arguments),r()(this,"shouldShowModal",(()=>{const{show:e}=this.props;return e&&this.props.isSiteConnected&&!this.props.isReconnectingSite})),r()(this,"closeModal",(()=>{this.props.onHide()})),r()(this,"clickReconnectSite",(e=>{e.preventDefault(),u.Z.tracks.recordJetpackClick("confirm_reconnect_modal"),this.props.reconnectSite(),this.closeModal()}))}render(){return this.shouldShowModal()&&c().createElement(g.Z,{className:"reconnect__modal",onRequestClose:this.closeModal},c().createElement(m.Z,{className:"reconnect__modal__body"},c().createElement("h2",null,__("Reconnect Jetpack","jetpack")),c().createElement("h4",null,__("You’ve clicked a link to restore your Jetpack connection.","jetpack")),c().createElement("h4",null,c().createElement("strong",null,__("You should only do this if advised by Site Health tests or Jetpack Support.","jetpack"))),c().createElement("h4",null,__("Click below to reconnect Jetpack","jetpack")),c().createElement("div",{className:"reconnect__modal-actions"},c().createElement(d.Z,{className:"reconnect__modal-cancel",onClick:this.closeModal},_x("Cancel","A caption for a button to cancel an action.","jetpack")),c().createElement(d.Z,{className:"reconnect__modal-reconnect",onClick:this.clickReconnectSite,primary:!0},_x("Reconnect Jetpack","A caption for a button to reconnect Jetpack.","jetpack")))))}}r()(f,"displayName","ReconnectModal"),r()(f,"propTypes",{show:a().bool,onHide:a().func}),r()(f,"defaultProps",{show:!1}),t.Z=(0,l.$j)((e=>({isSiteConnected:(0,h.q7)(e),isReconnectingSite:(0,h.O_)(e)})),(e=>({reconnectSite:()=>e((0,h.xK)())})))(f)},616:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(8294),r=n.n(s),i=n(1850),a=n.n(i),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l),u=n(9309);class d extends p().Component{constructor(){super(...arguments),r()(this,"renderChildren",(()=>{let e;e=this.props&&(Object.keys(this.props).length>1||!this.props.children)?p().createElement("div",this.props,this.props.children):this.props.children,this.context.store&&(e=p().createElement(u.zt,{store:this.context.store},e)),a().render(e,this.container)}))}componentDidMount(){this.container=document.createElement("div"),document.body.appendChild(this.container),this.renderChildren()}componentDidUpdate(){this.renderChildren()}componentWillUnmount(){this.container&&(a().unmountComponentAtNode(this.container),document.body.removeChild(this.container),delete this.container)}render(){return null}}r()(d,"displayName","RootChild"),r()(d,"propTypes",{children:c().node}),r()(d,"contextTypes",{store:c().object})},1677:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(5235),c=n.n(o),l=n(2816),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),h=n(1850),g=n.n(h),f=n(2819),v=n(4069),k=n(5060);function _(e,t){switch(t.key){case" ":case"Enter":this[e](t)}}class y extends m().Component{constructor(){super(...arguments),a()(this,"state",{keyword:this.props.initialValue||"",isOpen:!!this.props.isOpen,hasFocus:!1}),a()(this,"scrollOverlay",(()=>{this.refs.overlay&&window.requestAnimationFrame((()=>{this.refs.overlay&&this.refs.searchInput&&(this.refs.overlay.scrollLeft=this.getScrollLeft(this.refs.searchInput))}))})),a()(this,"getScrollLeft",(e=>{if(!e.createTextRange)return e.scrollLeft;const t=e.createTextRange(),n=window.getComputedStyle(e,void 0),s=parseFloat(n.paddingLeft),r=t.getBoundingClientRect();return e.getBoundingClientRect().left+e.clientLeft+s-r.left})),a()(this,"focus",(()=>{setTimeout((()=>this.refs.searchInput&&g().findDOMNode(this.refs.searchInput).focus()),0)})),a()(this,"blur",(()=>{g().findDOMNode(this.refs.searchInput).blur()})),a()(this,"getCurrentSearchValue",(()=>g().findDOMNode(this.refs.searchInput).value)),a()(this,"clear",(()=>{this.setState({keyword:""})})),a()(this,"onBlur",(e=>{this.props.onBlur&&this.props.onBlur(e),this.setState({hasFocus:!1})})),a()(this,"onChange",(()=>{this.setState({keyword:this.getCurrentSearchValue()})})),a()(this,"openSearch",(e=>{this.props.onClick(),e.preventDefault(),this.setState({keyword:"",isOpen:!0}),v.Z.ga.recordEvent(this.props.analyticsGroup,"Clicked Open Search")})),a()(this,"closeSearch",(e=>{if(e.preventDefault(),this.props.disabled)return;const t=g().findDOMNode(this.refs.searchInput);this.setState({keyword:"",isOpen:this.props.isOpen||!1}),t.value="",t.blur(),this.props.pinned&&g().findDOMNode(this.refs.openIcon).focus(),this.props.onSearchClose(e),v.Z.ga.recordEvent(this.props.analyticsGroup,"Clicked Close Search")})),a()(this,"keyUp",(e=>{"Enter"===e.key&&(0,l.tq)()&&this.blur(),this.props.pinned&&("Escape"===e.key&&this.closeSearch(e),this.scrollOverlay())})),a()(this,"keyDown",(e=>{this.scrollOverlay(),"Escape"===e.key&&""===e.target.value&&this.closeSearch(e),this.props.onKeyDown(e)})),a()(this,"onFocus",(()=>{const e=g().findDOMNode(this.refs.searchInput),t=e.value;t&&(e.value="",e.value=t),this.setState({hasFocus:!0}),this.props.onSearchOpen()})),a()(this,"renderStylingDiv",(()=>m().createElement("div",{className:"dops-search__text-overlay",ref:"overlay"},this.props.overlayStyling(this.state.keyword)))),a()(this,"closeButton",(()=>this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:m().createElement("div",{role:"button",className:"dops-search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDown:this.closeListener,"aria-controls":"dops-search-component-"+this.state.instanceId,"aria-label":"Close Search"},m().createElement(k.Z,{icon:"cross",className:"dops-search__close-icon"}))))}UNSAFE_componentWillMount(){this.setState({instanceId:++y.instances}),this.closeListener=_.bind(this,"closeSearch"),this.openListener=_.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(e){e.onSearch===this.props.onSearch&&e.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,f.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),e.isOpen&&this.setState({isOpen:e.isOpen}),e.initialValue===this.props.initialValue||this.state.keyword!==this.props.initialValue&&""!==this.state.keyword||this.setState({keyword:e.initialValue||""})}componentDidUpdate(e,t){this.scrollOverlay(),(this.state.isOpen&&!t.isOpen||this.props.autoFocus&&!e.autoFocus)&&this.focus(),this.state.keyword!==t.keyword&&(this.state.keyword?this.onSearch(this.state.keyword):(this.props.delaySearch&&this.onSearch.cancel(),this.props.onSearch(this.state.keyword)),this.props.onSearchChange(this.state.keyword))}componentDidMount(){this.onSearch=this.props.delaySearch?(0,f.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch,this.props.autoFocus&&setTimeout((()=>this.focus()),0)}render(){const e=this.state.keyword,t=this.props.placeholder||"Search…",n=this.props.pinned&&!this.state.isOpen,s=this.state.isOpen||!this.props.pinned||this.props.initialValue,i=this.props.disableAutocorrect&&{autoComplete:"off",autoCorrect:"off",spellCheck:"false"},a=c()(this.props.additionalClasses,this.props.dir,{"is-expanded-to-container":this.props.fitsContainer,"is-open":s,"is-searching":this.props.searching,"has-focus":this.state.hasFocus,"dops-search":!0}),o=c()("dops-search__input-fade",this.props.dir),l=c()("dops-search__input",this.props.dir);return m().createElement("div",{dir:this.props.dir||null,className:a,role:"search"},m().createElement("div",{role:"button",className:"dops-search__icon-navigation",ref:"openIcon",onClick:n?this.openSearch:this.focus,tabIndex:n?"0":null,onKeyDown:n?this.openListener:null,"aria-controls":"dops-search-component-"+this.state.instanceId,"aria-label":"Open Search"},m().createElement(k.Z,{icon:"search",className:"dops-search__open-icon"})),m().createElement("div",{className:o},m().createElement("input",r()({type:"search",onChange:this.onChange,id:"dops-search-component-"+this.state.instanceId,className:l,placeholder:t,role:"searchbox",value:e,ref:"searchInput",onKeyUp:this.keyUp,onKeyDown:this.keyDown,onMouseUp:this.props.onClick,onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.props.disabled,"aria-hidden":!s,autoCapitalize:"none",dir:this.props.dir,maxLength:this.props.maxLength},i)),this.props.overlayStyling&&this.renderStylingDiv()),this.closeButton())}}a()(y,"displayName","Search"),a()(y,"instances",0),a()(y,"propTypes",{additionalClasses:u().string,initialValue:u().string,placeholder:u().string,pinned:u().bool,delaySearch:u().bool,delayTimeout:u().number,onSearch:u().func.isRequired,onSearchChange:u().func,onSearchOpen:u().func,onSearchClose:u().func,analyticsGroup:u().string,overlayStyling:u().func,autoFocus:u().bool,disabled:u().bool,onKeyDown:u().func,onClick:u().func,disableAutocorrect:u().bool,onBlur:u().func,searching:u().bool,isOpen:u().bool,dir:u().oneOf(["ltr","rtl"]),fitsContainer:u().bool,maxLength:u().number,hideClose:u().bool}),a()(y,"defaultProps",{pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,onSearchChange:f.noop,onSearchOpen:f.noop,onSearchClose:f.noop,onKeyDown:f.noop,onClick:f.noop,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1}),t.Z=y},4603:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(5799);class d extends c().Component{render(){const e=p()(this.props.className,"dops-section-header");return c().createElement(u.Z,{compact:!0,className:e},c().createElement("div",{className:"dops-section-header__label"},c().createElement("span",{className:"dops-section-header__label-text"},this.props.label)),c().createElement("div",{className:"dops-section-header__actions"},this.props.children))}}r()(d,"displayName","SectionHeader"),r()(d,"propTypes",{label:a().string}),r()(d,"defaultProps",{label:""})},4399:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(2819),p=n(5235),u=n.n(p),d=n(6923),m=n(1675),h=n(1677);class g extends c().Component{constructor(){super(...arguments),r()(this,"state",{mobileOpen:!1}),r()(this,"toggleMobileOpenState",(()=>{const e=!this.state.mobileOpen;this.setState({mobileOpen:e}),e&&this.props.onMobileNavPanelOpen()}))}UNSAFE_componentWillMount(){this.checkForSiblingControls(this.props.children)}UNSAFE_componentWillReceiveProps(e){(0,l.isEqual)(this.props,e)||(this.checkForSiblingControls(e.children),this.hasSiblingControls||this.closeMobilePanel())}render(){const e=this.getChildren();let t;return e?(t=u()({"dops-section-nav":!0,"is-open":this.state.mobileOpen,"has-pinned-items":this.hasPinnedSearch||this.props.hasPinnedItems}),c().createElement("div",{className:t},c().createElement("div",{className:"dops-section-nav__mobile-header",role:"button",onClick:this.toggleMobileOpenState,tabIndex:0,onKeyUp:this.toggleMobileOpenState},c().createElement("span",{className:"dops-section-nav__mobile-header-text"},this.props.selectedText)),c().createElement("div",{className:"dops-section-nav__panel"},e))):(t=u()({"dops-section-nav":!0,"is-empty":!0}),c().createElement("div",{className:t},c().createElement("div",{className:"dops-section-nav__panel"},c().createElement(m.Z,null))))}getChildren(){return c().Children.map(this.props.children,function(e){const t={hasSiblingControls:this.hasSiblingControls,closeSectionNavMobilePanel:this.closeMobilePanel};return e?(e.type!==d.Z||e.props.selectedText||"string"!=typeof this.props.selectedText||(t.selectedText=this.props.selectedText),e.type===d.Z&&this.props.selectedCount&&(t.selectedCount=this.props.selectedCount),e.type===h.Z&&(e.props.pinned&&(this.hasPinnedSearch=!0),t.onSearch=this.generateOnSearch(e.props.onSearch)),c().cloneElement(e,t)):null}.bind(this))}closeMobilePanel(){window.innerWidth<480&&this.state.mobileOpen&&this.setState({mobileOpen:!1})}generateOnSearch(e){return function(){e.apply(this,arguments),this.closeMobilePanel()}.bind(this)}checkForSiblingControls(e){this.hasSiblingControls=!1,c().Children.forEach(e,function(e,t){t&&e&&e.type!==h.Z&&(this.hasSiblingControls=!0)}.bind(this))}}r()(g,"displayName","SectionNav"),r()(g,"propTypes",{children:a().node,selectedText:a().node,selectedCount:a().number,hasPinnedItems:a().bool,onMobileNavPanelOpen:a().func}),r()(g,"defaultProps",{onMobileNavPanelOpen:()=>{}}),t.Z=g},1675:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(5582);class d extends c().PureComponent{render(){const e=this.props.itemType?this.props.itemType:"tab",t={"is-selected":this.props.selected,"is-external":this.props.isExternalLink};t["dops-section-nav-"+e]=!0;const n=p()(t);let s,r;return this.props.isExternalLink&&(s="_blank"),this.props.disabled||(r=this.props.onClick),c().createElement("li",{className:n},c().createElement("a",{href:this.props.path,target:s,className:"dops-section-nav-"+e+"__link",onClick:r,tabIndex:this.props.tabIndex||0,disabled:this.props.disabled,role:"menuitem",rel:this.props.isExternalLink?"external":null},c().createElement("span",{className:"dops-section-nav-"+e+"__text"},this.props.children,"number"==typeof this.props.count&&c().createElement(u.Z,{count:this.props.count}))))}}r()(d,"displayName","NavItem"),r()(d,"propTypes",{itemType:a().string,path:a().string,selected:a().bool,tabIndex:a().number,onClick:a().func,isExternalLink:a().bool,disabled:a().bool,count:a().number}),t.Z=d},6923:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(5235),c=n.n(o),l=n(2819),p=n(2816),u=n(5162),d=n.n(u),m=n(1850),h=n.n(m),g=n(9196),f=n.n(g),v=n(1226),k=n(6200);class _ extends f().Component{constructor(){super(...arguments),a()(this,"state",{isDropdown:!1}),a()(this,"getTabWidths",(()=>{let e=0;f().Children.forEach(this.props.children,function(t,n){if(!t)return;const s=h().findDOMNode(this.refs["tab-"+n]).offsetWidth;e+=s}.bind(this)),this.tabsWidth=e})),a()(this,"getDropdown",(()=>{const e=f().Children.map(this.props.children,(function(e,t){return e?f().createElement(v.Z,r()({},e.props,{key:"navTabsDropdown-"+t}),e.props.children):null}));return f().createElement(k.Z,{className:"dops-section-nav-tabs__dropdown",selectedText:this.props.selectedText,selectedCount:this.props.selectedCount},e)})),a()(this,"setDropdown",(()=>{let e;if(window.innerWidth>480){if(!this.refs.navGroup)return;e=this.refs.navGroup.offsetWidth,this.tabsWidth||this.getTabWidths(),e<=this.tabsWidth&&!this.state.isDropdown?this.setState({isDropdown:!0}):e>this.tabsWidth&&this.state.isDropdown&&this.setState({isDropdown:!1})}else window.innerWidth<=480&&this.state.isDropdown&&this.setState({isDropdown:!1})})),a()(this,"keyHandler",(e=>{switch(e.keyCode){case 32:case 13:e.preventDefault(),document.activeElement.click()}}))}componentDidMount(){this.setDropdown(),this.debouncedAfterResize=(0,l.debounce)(this.setDropdown,300),window.addEventListener("resize",this.debouncedAfterResize)}UNSAFE_componentWillReceiveProps(){this.setDropdown()}componentWillUnmount(){window.removeEventListener("resize",this.debouncedAfterResize)}render(){const e=f().Children.map(this.props.children,(function(e,t){return e&&f().cloneElement(e,{ref:"tab-"+t})})),t=c()({"dops-section-nav-tabs":!0,"is-dropdown":this.state.isDropdown,"is-open":this.state.isDropdownOpen,"has-siblings":this.props.hasSiblingControls}),n=(0,p.bQ)();return f().createElement("div",{className:"dops-section-nav-group",ref:"navGroup"},f().createElement("div",{className:t},this.props.label&&f().createElement("h6",{className:"dops-section-nav-group__label"},this.props.label),f().createElement("ul",{className:"dops-section-nav-tabs__list",role:"menu",onKeyDown:this.keyHandler},e),this.state.isDropdown&&n>480&&this.getDropdown()))}}a()(_,"propTypes",{selectedText:d().string,selectedCount:d().number,label:d().string,hasSiblingControls:d().bool}),a()(_,"defaultProps",{hasSiblingControls:!1}),t.Z=_},6200:function(e,t,n){"use strict";var s=n(5162),r=n.n(s),i=n(1850),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(2819),d=n(1226),m=n(6764),h=n(5668),g=n(5582);const{Component:f}=c(),v=()=>{};class k extends f{constructor(e){super(e),this.navigateItem=this.navigateItem.bind(this),this.toggleDropdown=this.toggleDropdown.bind(this),this.handleOutsideClick=this.handleOutsideClick.bind(this),this._onClick=this._onClick.bind(this);const t={isOpen:!1};e.options.length&&(t.selected=this.getInitialSelectedItem(e)),this.state=t}UNSAFE_componentWillMount(){this.setState({instanceId:++k.instances})}UNSAFE_componentWillReceiveProps(e){this.state.isOpen&&this.closeDropdown(),void 0!==this.state.selected&&this.props.initialSelected!==e.initialSelected&&this.setState({selected:e.initialSelected})}componentWillUnmount(){window.removeEventListener("click",this.handleOutsideClick)}componentDidUpdate(e,t){this.state.isOpen?window.addEventListener("click",this.handleOutsideClick):window.removeEventListener("click",this.handleOutsideClick),this.state.isOpen!==t.isOpen&&this.props.onToggle({target:this,open:this.state.isOpen})}getInitialSelectedItem(e){if((e=e||this.props).initialSelected)return e.initialSelected;if(!e.options.length)return;const t=(0,u.find)(e.options,(e=>!e.isLabel));return t&&t.value}dropdownOptions(){let e=0;const t=this;return this.props.children?c().Children.map(this.props.children,(function(n,s){if(!n)return null;const r=c().cloneElement(n,{ref:n.type===d.Z?"item-"+e:null,key:"item-"+s,onClick:function(e){t.refs.dropdownContainer.focus(),"function"==typeof n.props.onClick&&n.props.onClick(e)}});return n.type===d.Z&&e++,r}),this):this.props.options.map((function(t,n){if(!t)return c().createElement(m.Z,{key:"dropdown-separator-"+this.state.instanceId+"-"+n});if(t.isLabel)return c().createElement(h.Z,{key:"dropdown-label-"+this.state.instanceId+"-"+n},t.label);const s=c().createElement(d.Z,{key:"dropdown-item-"+this.state.instanceId+"-"+t.value,ref:"item-"+e,selected:this.state.selected===t.value,onClick:this.onSelectItem(t),path:t.path},t.label);return e++,s}),this)}render(){const e={"dops-select-dropdown":!0,"is-compact":this.props.compact,"is-open":this.state.isOpen,"is-disabled":this.props.disabled};this.props.className&&this.props.className.split(" ").forEach((function(t){e[t]=!0}));const t=p()(e),n=this.props.selectedText?this.props.selectedText:(0,u.result)((0,u.find)(this.props.options,{value:this.state.selected}),"label");return c().createElement("div",{style:this.props.style,className:t},c().createElement("div",{ref:"dropdownContainer",className:"dops-select-dropdown__container",tabIndex:this.props.tabIndex||0,role:"listbox","aria-labelledby":"select-dropdown-"+this.state.instanceId,"aria-owns":"select-submenu-"+this.state.instanceId,"aria-controls":"select-submenu-"+this.state.instanceId,"aria-expanded":this.state.isOpen,onClick:this._onClick,onKeyDown:this.navigateItem},c().createElement("div",{id:"select-dropdown-"+this.state.instanceId,className:"dops-select-dropdown__header"},c().createElement("span",{className:"dops-select-dropdown__header-text"},n,"number"==typeof this.props.selectedCount&&c().createElement(g.Z,{count:this.props.selectedCount}))),c().createElement("ul",{id:"select-submenu-"+this.state.instanceId,className:"dops-select-dropdown__options"},this.dropdownOptions())))}_onClick(){this.props.disabled||this.toggleDropdown()}toggleDropdown(){this.setState({isOpen:!this.state.isOpen})}openDropdown(){this.setState({isOpen:!0})}closeDropdown(){this.state.isOpen&&(delete this.focused,this.setState({isOpen:!1}))}onSelectItem(e){return this.selectItem.bind(this,e)}selectItem(e){e&&(this.props.onSelect&&this.props.onSelect(e),this.setState({selected:e.value}),this.refs.dropdownContainer.focus())}navigateItem(e){switch(e.keyCode){case 9:this.navigateItemByTabKey(e);break;case 32:case 13:e.preventDefault(),this.activateItem();break;case 38:e.preventDefault(),this.focusSibling("previous"),this.openDropdown();break;case 40:e.preventDefault(),this.focusSibling("next"),this.openDropdown();break;case 27:e.preventDefault(),this.closeDropdown(),this.refs.dropdownContainer.focus()}}navigateItemByTabKey(e){if(!this.state.isOpen)return;e.preventDefault();const t=e.shiftKey?"previous":"next";this.focusSibling(t)}activateItem(){if(!this.state.isOpen)return this.openDropdown();document.activeElement.click()}focusSibling(e){let t,n;if(!this.state.isOpen)return;this.props.options.length?(t=(0,u.map)((0,u.filter)(this.props.options,(e=>e&&!e.isLabel)),"value"),n="number"==typeof this.focused?this.focused:t.indexOf(this.state.selected)):(t=(0,u.filter)(this.props.children,(function(e){return e.type===d.Z})),n="number"==typeof this.focused?this.focused:(0,u.findIndex)(t,(function(e){return e.props.selected})));const s=n+("previous"===e?-1:1);s>=t.length||s<0||(a().findDOMNode(this.refs["item-"+s].refs.itemLink).focus(),this.focused=s)}handleOutsideClick(e){a().findDOMNode(this.refs.dropdownContainer).contains(e.target)||this.closeDropdown()}}k.defaultProps={options:[],onSelect:v,onToggle:v,disabled:!1,style:{}},k.propTypes={selectedText:r().string,selectedCount:r().number,initialSelected:r().string,className:r().string,style:r().object,onSelect:r().func,onToggle:r().func,focusSibling:r().func,tabIndex:r().number,disabled:r().bool,options:r().arrayOf(r().shape({value:r().string.isRequired,label:r().string.isRequired,path:r().string}))},k.instances=0,t.Z=k},1226:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(5582);class d extends c().Component{render(){const e=p()(this.props.className,{"dops-select-dropdown__item":!0,"is-selected":this.props.selected,"is-disabled":this.props.disabled});return c().createElement("li",{className:"dops-select-dropdown__option"},c().createElement("a",{ref:"itemLink",href:this.props.path,className:e,onClick:this.props.disabled?null:this.props.onClick,"data-bold-text":this.props.value||this.props.children,role:"option",tabIndex:0,"aria-selected":this.props.selected},c().createElement("span",{className:"dops-select-dropdown__item-text"},this.props.children,"number"==typeof this.props.count&&c().createElement(u.Z,{count:this.props.count}))))}}r()(d,"propTypes",{children:a().string.isRequired,path:a().string,selected:a().bool,onClick:a().func,count:a().number}),r()(d,"defaultProps",{selected:!1}),t.Z=d},5668:function(e,t,n){"use strict";var s=n(9196),r=n.n(s);const{Component:i}=r(),a=e=>e.stopPropagation();t.Z=class extends i{render(){return r().createElement("li",{role:"menuitem",onClick:a,className:"dops-select-dropdown__label"},r().createElement("label",null,this.props.children))}}},6764:function(e,t,n){"use strict";var s=n(9196),r=n.n(s);class i extends r().Component{render(){return r().createElement("li",{className:"dops-select-dropdown__separator"})}}t.Z=i},3806:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(9309),p=n(2819),u=n(5736),d=n(4069),m=n(7506),h=n(9584),g=n(1137),f=n(6300),v=n(9508),k=n(7296),_=n(3002),y=n(4603),E=n(6450),w=n(5733),b=n(9224),C=n(416);const __=u.__,_x=u._x,j=e=>{const t=e=>()=>(e=>{d.Z.tracks.recordJetpackClick({target:"upgrade-banner",feature:e,type:"upgrade"})})(e),n=(t,n)=>()=>{(e=>{d.Z.tracks.recordJetpackClick({target:"connect-banner",feature:e,type:"connect"})})(t),e.doConnectUser(n)},s=!!e.module&&e.getModule(e.module),i=e.vaultPressData,o=(0,p.get)(i,["data","features","backups"],!1),c=(0,p.get)(i,["data","features","security"],!1);if(!e.userCanManageModules&&!(0,p.includes)(["post-by-email","publicize"],e.module))return a().createElement("span",null);const l=e.saveDisabled,u=!!e.feature&&e.feature;let g=e.header?e.header:"";""===g&&s&&(g=s.name);const f=()=>{switch(u){case h.BD:return"inactive"===e.getModuleOverride("videopress");case h.N8:return"inactive"===e.getModuleOverride("wordads");case h.r2:return"inactive"===e.getModuleOverride("google-analytics");case h.T5:return"inactive"===e.getModuleOverride("search");default:return!1}},v=(()=>{if(e.fetchingSiteData)return!0;switch(u){case h.eM:if(!e.hasScan&&!c)return!1;break;case h.N8:if(!e.hasWordAds)return!1;break;case h.r2:if(!e.hasGoogleAnalytics)return!1;break;case h.V3:if(!e.hasAntispam&&!e.isAkismetKeyValid&&!e.isCheckingAkismetKey)return!1}return!0})()&&e.children,k=!e.fetchingSiteData&&!f()&&!e.inOfflineMode&&(()=>{const s=_x("Upgrade","A caption for a button to upgrade an existing paid feature to a higher tier.","jetpack"),r=_x("Connect","A caption for a button to connect a user account to access paid features.","jetpack");switch(u){case h.BD:return e.hasConnectedOwner||e.hasVideoPress?"":a().createElement(w.ZP,{title:__("Connect your WordPress.com account to enable high-quality, ad-free video.","jetpack"),callToAction:r,plan:(0,h.o2)(h.BD),feature:u,onClick:n(u)});case h.N8:return e.hasWordAds?"":e.hasConnectedOwner?a().createElement(w.ZP,{title:__("Generate income with high-quality ads.","jetpack"),callToAction:s,plan:(0,h.o2)(h.N8),feature:u,onClick:t(u),href:e.adsUpgradeUrl}):a().createElement(w.ZP,{title:__("Connect your WordPress.com account to upgrade and generate income with high-quality ads.","jetpack"),callToAction:r,plan:(0,h.o2)(h.N8),feature:u,onClick:n(u)});case h.eM:return o||e.hasScan&&e.hasBackups||e.multisite?"":e.hasScan&&!e.hasBackups?e.hasConnectedOwner?a().createElement(w.ZP,{title:__("Save every change and get back online quickly with one-click restores.","jetpack"),plan:(0,h.o2)(h.N_),callToAction:s,feature:u,onClick:t(u),href:e.securityUpgradeUrl}):a().createElement(w.ZP,{title:__("Connect your WordPress.com account to upgrade and save every change and get back online quickly with one-click restores.","jetpack"),plan:(0,h.o2)(h.N_),callToAction:r,feature:u,onClick:n(u)}):e.hasConnectedOwner?a().createElement(w.ZP,{callToAction:s,title:__("Automated scanning and one-click fixes keep your site ahead of security threats.","jetpack"),plan:(0,h.o2)(h.eM),feature:u,onClick:t(u),href:e.scanUpgradeUrl}):a().createElement(w.ZP,{callToAction:r,title:__("Connect your WordPress.com account to upgrade for automated scanning and one-click fixes keep your site ahead of security threats.","jetpack"),plan:(0,h.o2)(h.eM),feature:u,onClick:n(u)});case h.r2:return e.hasGoogleAnalytics?"":e.hasConnectedOwner?a().createElement(w.ZP,{callToAction:s,title:__("Connect your site to Google Analytics.","jetpack"),plan:(0,h.o2)(h.r2),feature:u,onClick:t(u),href:e.gaUpgradeUrl}):a().createElement(w.ZP,{callToAction:r,title:__("Connect your WordPress.com account to upgrade and connect your site to Google Analytics.","jetpack"),plan:(0,h.o2)(h.r2),feature:u,onClick:n(u)});case h.T5:return e.hasInstantSearch?"":e.hasConnectedOwner?a().createElement(w.ZP,{callToAction:s,title:__("Help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),plan:(0,h.o2)(h.T5),feature:u,onClick:t(u),href:e.searchUpgradeUrl}):a().createElement(w.ZP,{callToAction:r,title:__("Connect your WordPress.com account to upgrade and help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),plan:(0,h.o2)(h.T5),feature:u,onClick:n(u)});case h.V3:return e.isCheckingAkismetKey||e.isAkismetKeyValid||e.hasAntispam?"":e.hasConnectedOwner?a().createElement(w.ZP,{callToAction:s,title:__("Automatically clear spam from comments and forms.","jetpack"),plan:(0,h.o2)(h.V3),feature:u,href:e.spamUpgradeUrl}):a().createElement(w.ZP,{callToAction:r,title:__("Connect your WordPress.com account to upgrade and automatically clear spam from comments and forms.","jetpack"),plan:(0,h.o2)(h.V3),feature:u,onclick:e.doConnectUser});default:return""}})();if(!v&&!k)return null;let _="";return e.feature?_=`jp-settings-${e.feature}`:e.module&&(_=`jp-settings-${e.module}`),(()=>{if(!f())return!1;if(u!==h.r2)return null;const t=e.getModule("google-analytics");return a().createElement(b.Z,{moduleName:t.name})})()||a().createElement("form",r()({},_?{id:_}:null,{className:"jp-form-settings-card",onSubmit:l?void 0:e.onSubmit}),a().createElement(y.Z,{label:g},!e.hideButton&&a().createElement(m.Z,{primary:!0,compact:!0,type:"submit",disabled:l||!e.isDirty()},l?_x("Saving…","Button caption","jetpack"):_x("Save settings","Button caption","jetpack",0)),e.action&&a().createElement(E.Z,{proFeature:e.action,siteAdminUrl:e.siteAdminUrl,isCompact:!1})),v,k)};j.propTypes={action:c().string,saveDisabled:c().bool},j.defaultProps={action:"",saveDisabled:!1},t.Z=(0,l.$j)((e=>({fetchingSiteData:(0,_._5)(e),siteAdminUrl:(0,v.wW)(e),userCanManageModules:(0,v.pK)(e),isAkismetKeyValid:(0,k._2)(e),isCheckingAkismetKey:(0,k.gw)(e),vaultPressData:(0,k.XK)(e),getModuleOverride:t=>(0,C.Qy)(e,t),getModule:t=>(0,C.rT)(e,t),adsUpgradeUrl:(0,v.Qq)(e,"settings-ads"),securityUpgradeUrl:(0,g.z)(e,"security"),scanUpgradeUrl:(0,g.z)(e,"scan"),gaUpgradeUrl:(0,v.Qq)(e,"settings-ga"),searchUpgradeUrl:(0,g.z)(e,"search"),spamUpgradeUrl:(0,g.z)(e,"akismet"),multisite:(0,v.TA)(e),inOfflineMode:(0,f.Ex)(e),hasConnectedOwner:(0,f.it)(e),hasAntispam:(0,_.P2)(e,"antispam"),hasBackups:(0,_.P2)(e,"backups"),hasGoogleAnalytics:(0,_.P2)(e,"google-analytics"),hasInstantSearch:(0,_.P2)(e,"instant-search"),hasScan:(0,_.P2)(e,"scan"),hasVideoPress:(0,_.P2)(e,"videopress"),hasWordAds:(0,_.P2)(e,"wordads")})),(e=>({doConnectUser:t=>e((0,f.bL)(t))})))(j)},8178:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5799),u=n(5235),d=n.n(u),m=n(2819),h=n(9032),g=n(6300),f=n(9508),v=n(416);const k=e=>{const t=e.module;if(t.module&&!e.userCanManageModules&&!(0,m.includes)(["post-by-email","publicize"],t.module))return c().createElement("span",null);const n=e.disableInOfflineMode&&e.isUnavailableInOfflineMode(t.module),s=e.disableInSiteConnectionMode&&e.isUnavailableInSiteConnectionMode(t.module);let i=n||s;return"post-by-email"!==t.module||e.isLinked||(i=!0),c().createElement("div",{className:d()("jp-form-settings-group",e.className)},c().createElement(p.Z,{className:d()({"jp-form-has-child":e.hasChild,"jp-form-settings-disable":n||s})},i&&c().createElement("div",{className:"jp-form-block-fade"}),e.support.link&&c().createElement(h.Z,r()({module:t},e.support)),e.children))};k.propTypes={support:a().object,module:a().object,disableInOfflineMode:a().bool.isRequired,disableInSiteConnectionMode:a().bool,isOfflineMode:a().bool.isRequired,isSitePublic:a().bool.isRequired,userCanManageModules:a().bool.isRequired,isLinked:a().bool.isRequired,isUnavailableInOfflineMode:a().func.isRequired,className:a().string},k.defaultProps={support:{text:"",link:""},module:{},disableInOfflineMode:!1,disableInSiteConnectionMode:!1,isOfflineMode:!1,isSitePublic:!0,userCanManageModules:!1,isLinked:!1,isUnavailableInOfflineMode:m.noop,className:""},t.Z=(0,l.$j)((e=>({isOfflineMode:(0,g.Ex)(e),isSitePublic:(0,f.$r)(e),userCanManageModules:(0,f.pK)(e),userCanEditPosts:(0,f.rp)(e),isLinked:(0,g.BU)(e),isModuleActivated:t=>(0,v.mp)(e,t),isUnavailableInOfflineMode:t=>(0,g.t_)(e,t),isUnavailableInSiteConnectionMode:t=>(0,g.IK)(e,t)})))(k)},2685:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5235),u=n.n(p),d=n(5736),m=n(6324),h=n(4069),g=n(5799),f=n(7506),v=n(3002),k=n(6300),_=n(9508),y=n(5733),E=n(9584);const __=d.__;class w extends c().Component{constructor(){super(...arguments),r()(this,"trackBannerClick",(()=>{h.Z.tracks.recordJetpackClick({target:"banner-click",feature:"support",page:this.props.path,is_user_wpcom_connected:this.props.isCurrentUserLinked?"yes":"no",is_connection_owner:this.props.isConnectionOwner?"yes":"no"})})),r()(this,"handleConnectClick",(()=>{this.trackBannerClick(),this.props.connectUser()})),r()(this,"trackSearchClick",(()=>{h.Z.tracks.recordJetpackClick({target:"support-card",button:"support-search",page:this.props.path})})),r()(this,"trackGettingStartedClick",(()=>{h.Z.tracks.recordJetpackClick({target:"support-card",button:"getting-started",page:this.props.path})}))}render(){const{hasSupport:e}=this.props;if(this.props.isFetchingSiteData)return c().createElement("div",null);const t=u()(this.props.className,"jp-support-card");return c().createElement("div",{className:t},c().createElement(g.Z,{className:"jp-support-card__happiness"},c().createElement("div",{className:"jp-support-card__happiness-contact"},c().createElement("h3",{className:"jp-support-card__header"},__("We're here to help","jetpack")),c().createElement("p",{className:"jp-support-card__description"},e?(0,d.sprintf)(
+/* translators: placeholder is either Jetpack or WordPress.com */
+__("Your paid plan gives you access to prioritized %s support.","jetpack"),this.props.isAtomicSite?"WordPress.com":"Jetpack"):__("Jetpack offers support via community forums for any site without a paid product.","jetpack")),c().createElement("p",{className:"jp-support-card__description"},c().createElement(f.Z,{onClick:this.trackGettingStartedClick,href:this.props.isAtomicSite?(0,m.Z)("calypso-help"):(0,m.Z)("jetpack-support-getting-started")},__("Getting started with Jetpack","jetpack")),c().createElement(f.Z,{onClick:this.trackSearchClick,href:this.props.isAtomicSite?(0,m.Z)("calypso-help"):(0,m.Z)("jetpack-support")},__("Search our support site","jetpack"))))),this.props.siteConnectionStatus&&!e&&this.props.hasConnectedOwner&&c().createElement(y.ZP,{title:__("Get a faster resolution to your support questions.","jetpack"),plan:(0,E.o2)(E.ps),callToAction:__("Upgrade","jetpack"),onClick:this.trackBannerClick,href:this.props.supportUpgradeUrl}),this.props.siteConnectionStatus&&!e&&!this.props.hasConnectedOwner&&c().createElement(y.ZP,{title:__("Connect your WordPress.com account and upgrade to get a faster resolution to your support questions.","jetpack"),plan:(0,E.o2)(E.ps),callToAction:__("Connect","jetpack"),onClick:this.handleConnectClick}))}}r()(w,"displayName","SupportCard"),r()(w,"defaultProps",{className:"",siteConnectionStatus:!1}),w.propTypes={siteConnectionStatus:a().any.isRequired,className:a().string,isCurrentUserLinked:a().bool,isConnectionOwner:a().bool},t.Z=(0,l.$j)((e=>({siteConnectionStatus:(0,k.Gz)(e),isFetchingSiteData:(0,v._5)(e),isAtomicSite:(0,_.Ug)(e),isDevVersion:(0,_._W)(e),supportUpgradeUrl:(0,_.Qq)(e,"support"),isCurrentUserLinked:(0,k.BU)(e),isConnectionOwner:(0,k.QM)(e),hasConnectedOwner:(0,k.it)(e),hasSupport:(0,v.P2)(e,"support")})),(e=>({connectUser:()=>e((0,k.bL)())})))(w)},9032:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(5736),p=n(5609),u=n(4069),d=n(2698);const __=l.__;class m extends o.Component{constructor(){super(...arguments),this.getModule=this.getModule.bind(this),this.trackInfoClick=this.trackInfoClick.bind(this),this.trackLearnMoreClick=this.trackLearnMoreClick.bind(this),this.trackPrivacyInfoClick=this.trackPrivacyInfoClick.bind(this)}getModule(){return this.props.module||{}}trackInfoClick(){u.Z.tracks.recordJetpackClick({target:"info-icon",feature:this.getModule().module})}trackLearnMoreClick(){u.Z.tracks.recordJetpackClick({target:"learn-more",feature:this.getModule().module})}trackPrivacyInfoClick(){u.Z.tracks.recordJetpackClick({target:"privacy-info",feature:this.getModule().module})}render(){const{text:e,link:t}=this.props;let{privacyLink:n}=this.props;return!n&&t&&(n=t+"#privacy"),c().createElement("div",{className:"jp-support-info"},c().createElement(d.Z,{position:"left",onClick:this.trackInfoClick,screenReaderText:__("Learn more","jetpack")},e+" ",c().createElement("span",{className:"jp-support-info__learn-more"},c().createElement(p.ExternalLink,{href:t,onClick:this.trackLearnMoreClick,rel:"noopener noreferrer"},__("Learn more","jetpack"))),c().createElement("span",{className:"jp-support-info__privacy"},c().createElement(p.ExternalLink,{href:n,onClick:this.trackPrivacyInfoClick,rel:"noopener noreferrer"},__("Privacy information","jetpack")))))}}r()(m,"propTypes",{module:a().object,text:a().string,link:a().string,privacyLink:a().string}),r()(m,"defaultProps",{module:void 0,text:"",link:"",privacyLink:""})},5549:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(2819);class d extends c().Component{constructor(){super(...arguments),a()(this,"focus",(()=>{this.refs.textField.focus()})),a()(this,"selectOnFocus",(e=>{e.target.select()}))}render(){const{className:e,selectOnFocus:t}=this.props,n=p()(e,{"dops-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid}),s=(0,u.omit)(this.props,"selectOnFocus","isError","isValid");return c().createElement("input",r()({},s,{ref:"textField",className:n,onClick:t?this.selectOnFocus:null}))}}a()(d,"displayName","TextInput"),a()(d,"defaultProps",{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"})},5936:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(2819);class d extends c().Component{render(){return c().createElement("textarea",r()({},(0,u.omit)(this.props,"className"),{className:p()(this.props.className,"dops-textarea")}),this.props.children)}}a()(d,"displayName","Textarea")},4088:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(2816),a=n(5162),o=n.n(a),c=n(9196),l=n.n(c),p=n(5235),u=n.n(p),d=n(8402);const m=()=>{};class h extends c.Component{render(){if(!this.props.showOnMobile&&(0,i.tq)())return null;const e=u()("dops-popover","dops-tooltip",`is-${this.props.position}`,this.props.className);return l().createElement(d.Z,{autoPosition:this.props.autoPosition,className:e,rootClassName:this.props.rootClassName,context:this.props.context,id:this.props.id,isVisible:this.props.isVisible,onClose:m,position:this.props.position,showDelay:this.props.showDelay},this.props.children)}}r()(h,"propTypes",{autoPosition:o().bool,className:o().string,id:o().string,isVisible:o().bool,position:o().string,rootClassName:o().string,status:o().string,showDelay:o().number,showOnMobile:o().bool}),r()(h,"defaultProps",{showDelay:100,position:"top",showOnMobile:!1}),t.Z=h},3157:function(e,t,n){"use strict";var s=n(5162),r=n.n(s),i=n(9196),a=n(9309),o=n(9292);class c extends i.Component{UNSAFE_componentWillReceiveProps(e){const t=this.props.analytics.tracks.recordEvent;e.searchTerm!==this.props.searchTerm&&e.searchTerm.length>=3&&t("jetpack_wpa_search_term",{term:e.searchTerm})}render(){return null}}c.propTypes={analytics:r().object,searchTerm:r().string},t.Z=(0,a.$j)((e=>({searchTerm:(0,o.He)(e)})))(c)},7834:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(9309),p=n(4069),u=n(9508);class d extends i.PureComponent{constructor(){super(...arguments),r()(this,"trackClick",(()=>{const{target:e,feature:t}=this.props;if(e){const n=t?{feature:t}:{};p.Z.tracks.recordJetpackClick({type:"upgrade-link",target:e,...n})}}))}render(){return a().createElement("a",{href:this.props.upgradeUrl,target:"_blank",rel:"noopener noreferrer",onClick:this.trackClick},this.props.children)}}r()(d,"propTypes",{source:c().string.isRequired,target:c().string.isRequired,feature:c().string,upgradeUrl:c().string.isRequired}),t.Z=(0,l.$j)(((e,t)=>{let{source:n}=t;return{upgradeUrl:(0,u.Qq)(e,n)}}))(d)},9327:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5736),c=n(2353),l=n(4069),p=n(8120);const __=o.__,u=(0,c.u)(class extends i.Component{constructor(){super(...arguments),r()(this,"trackLearnMoreClick",(()=>{l.Z.tracks.recordJetpackClick({target:"warm_welcome_view_editor",version:this.props.version})})),r()(this,"dismissNotice",(()=>{l.Z.tracks.recordJetpackClick({target:"warm_welcome_dismiss",version:this.props.version}),this.props.dismiss()}))}componentDidMount(){jQuery("body").addClass("jp-dialogue-modern-showing"),l.Z.tracks.recordEvent("jetpack_warm_welcome_view",{version:this.props.version})}componentWillUnmount(){jQuery("body").removeClass("jp-dialogue-modern-showing")}renderInnerContent(){const e=(new DOMParser).parseFromString(this.props.releasePostContent,"text/html"),t=e.getElementsByTagName("a");for(let e=0;e<t.length;e++)t[e].setAttribute("target","_blank"),t[e].setAttribute("rel","noopener noreferrer");const n=e.body.innerHTML;return a().createElement("div",{className:"jp-upgrade-notice__content"},a().createElement("div",{dangerouslySetInnerHTML:{__html:n}}))}render(){const{featuredImage:e}=this.props;let t=null,{title:n}=this.props;return e&&e.length>0&&(t=a().createElement("img",{src:e,alt:""})),n&&0!==n.length||(n=(0,o.sprintf)(
/* translators: Placeholder is a version number. */
-__("New in Jetpack %s","jetpack"),this.props.version)),o().createElement(u.Z,{svg:t,title:n,content:this.renderInnerContent(),dismiss:this.dismissNotice})}});t.Z=p},9481:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},98486:function(e,t,n){"use strict";n.d(t,{hp:function(){return i},Fr:function(){return s},Ez:function(){return o}});var r=n(71415);const i=window.Initial_State.pluginBaseUrl+"/images/",s=(0,r.Z)("jetpack-contact-support"),o=(0,r.Z)("jetpack-contact-support-beta-group")},86087:function(e,t,n){"use strict";n.d(t,{H:function(){return k}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(65736),u=n(71415),p=n(94069),d=n(55735),h=n(77222),f=n(84277),m=n(27006),g=n(25691),v=n(15029),b=n(5e4);const __=l.__;class y extends c().Component{constructor(){super(...arguments),o()(this,"updateFormStateByMarkdown",(e=>this.props.getSettingCurrentValue("wpcom_publish_posts_with_markdown",e)?this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown"):this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown",!0))),o()(this,"handleMarkdownCommentsToggle",(()=>{this.props.updateFormStateModuleOption("markdown","wpcom_publish_comments_with_markdown")}))}render(){const e=this.props.isModuleFound("comments"),t=this.props.isModuleFound("gravatar-hovercards"),n=this.props.isModuleFound("markdown"),r=this.props.isModuleFound("comment-likes");if(!(e||t||n||r))return null;const{isUnavailableInOfflineMode:s,getOptionValue:o}=this.props,a=this.props.getModule("comments"),l=this.props.getOptionValue("comments"),b=this.props.isUnavailableInOfflineMode("comments"),y=this.props.getModule("gravatar-hovercards"),k=this.props.getModule("markdown"),w=s("comment-likes"),_=o("comment-likes");return c().createElement(f.Z,i()({},this.props,{header:__("Comments","jetpack"),module:"comments",saveDisabled:this.props.isSavingAnyOption(["highlander_comment_form_prompt","jetpack_comment_form_color_scheme"])}),e&&c().createElement(m.Z,{hasChild:!0,disableInOfflineMode:!0,module:a,support:{text:__("Replaces the standard WordPress comment form with a new comment system that includes social media login options.","jetpack"),link:(0,u.Z)("jetpack-support-comments")}},c().createElement(h.T,{slug:"comments",compact:!0,disabled:b,activated:this.props.getOptionValue("comments"),toggling:this.props.isSavingAnyOption("comments"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},a.description)),c().createElement(d.C_,null,c().createElement(d.lX,null,c().createElement("span",{className:"jp-form-label-wide"},__("Comment form introduction","jetpack")),c().createElement(v.Z,{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:!l||b||this.props.isSavingAnyOption("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),c().createElement("span",{className:"jp-form-setting-explanation"},__("A few catchy words to motivate your visitors to comment.","jetpack")),c().createElement(d.lX,null,c().createElement("span",{className:"jp-form-label-wide"},__("Color scheme","jetpack")),c().createElement(d.ih,i()({name:"jetpack_comment_form_color_scheme",value:this.props.getOptionValue("jetpack_comment_form_color_scheme"),disabled:!l||b||this.props.isSavingAnyOption("jetpack_comment_form_color_scheme"),onChange:this.props.onOptionChange},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme","comments")}))))),(t||n||r)&&c().createElement(m.Z,null,t&&c().createElement("div",{className:"jp-toggle-set"},c().createElement(d.C_,null,c().createElement(h.T,{slug:"gravatar-hovercards",compact:!0,activated:this.props.getOptionValue("gravatar-hovercards"),toggling:this.props.isSavingAnyOption("gravatar-hovercards"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},y.description))),c().createElement(g.Z,{text:__("Show Gravatar hovercards alongside comments.","jetpack"),link:y.learn_more_button,privacyLink:y.learn_more_button+"#privacy"})),n&&c().createElement("div",{className:"jp-toggle-set"},c().createElement(d.C_,null,c().createElement(p.Z,{checked:!!this.props.getOptionValue("wpcom_publish_comments_with_markdown","markdown"),disabled:this.props.isSavingAnyOption(["markdown","wpcom_publish_comments_with_markdown"])||"inactive"===this.props.getModuleOverride("markdown"),toggling:this.props.isSavingAnyOption(["markdown","wpcom_publish_comments_with_markdown"]),onChange:this.handleMarkdownCommentsToggle},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable Markdown use for comments.","jetpack")))),c().createElement(g.Z,{text:__("Allow readers to use markdown in comments.","jetpack"),link:k.learn_more_button,privacyLink:k.learn_more_button+"#privacy"})),r&&c().createElement("div",{className:"jp-toggle-set"},c().createElement(d.C_,null,c().createElement(h.T,{slug:"comment-likes",compact:!0,disabled:w,activated:_,toggling:this.props.isSavingAnyOption("comment-likes"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable comment likes.","jetpack")))),c().createElement(g.Z,{text:__("Allow readers to like individual comments.","jetpack"),link:(0,u.Z)("jetpack-support-comment-likes"),privacyLink:(0,u.Z)("jetpack-support-comment-likes",{anchor:"privacy"})}))))}}const k=(0,b.u)(y)},9863:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(60742),d=n(93107),h=n(17752),f=n(41147),m=n(19555),g=n(27219),v=n(86087),b=n(20182);const __=u.__;class y extends c().Component{render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode},t=this.props.isModuleFound("comments"),n=this.props.isModuleFound("markdown"),r=this.props.isModuleFound("gravatar-hovercards"),s=this.props.isModuleFound("subscriptions"),o=this.props.isModuleFound("comment-likes");return(this.props.searchTerm||this.props.active)&&(t||s||n||r||o)?c().createElement("div",null,c().createElement(g.Z,null),c().createElement(p.Z,{title:this.props.searchTerm?__("Discussion","jetpack"):__("Manage advanced comment settings and grow your audience with email subscriptions.","jetpack"),className:"jp-settings-description"}),c().createElement(v.H,i()({},e,{isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride})),s&&c().createElement(b.Z,i()({},e,{isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,siteRawUrl:this.props.siteRawUrl}))):null}}o()(y,"displayName","DiscussionSettings"),t.Z=(0,l.$j)((e=>({module:t=>(0,d.rT)(e,t),settings:(0,h.Gw)(e),isOfflineMode:(0,f.Ex)(e),isUnavailableInOfflineMode:t=>(0,f.t_)(e,t),isModuleFound:t=>(0,m.CX)(e,t),connectUrl:(0,f.AM)(e),isLinked:(0,f.BU)(e),getModuleOverride:t=>(0,d.Qy)(e,t)})))(y)},20182:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(65736),u=n(71415),p=n(11973),d=n(94069),h=n(60742),f=n(55735),m=n(77222),g=n(84277),v=n(27006),b=n(5e4),y=n(24951);const __=l.__;class k extends c().Component{constructor(e){super(e),o()(this,"getInitialState",(()=>({stb_enabled:this.props.getOptionValue("stb_enabled"),stc_enabled:this.props.getOptionValue("stc_enabled")}))),o()(this,"updateOptions",(e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("subscriptions",e))})),o()(this,"trackConfigureClick",(()=>{p.Z.tracks.recordJetpackClick("view-followers")})),o()(this,"handleSubscribeToBlogToggleChange",(()=>{this.updateOptions("stb_enabled")})),o()(this,"handleSubscribeToCommentToggleChange",(()=>{this.updateOptions("stc_enabled")})),this.state=this.getInitialState()}render(){const e=this.props.getModule("subscriptions"),t=this.props.getOptionValue("subscriptions"),n=this.props.isUnavailableInOfflineMode("subscriptions");return c().createElement(g.Z,i()({},this.props,{hideButton:!0,module:"subscriptions"}),c().createElement(v.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:e,support:{text:__("Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.","jetpack"),link:(0,u.Z)("jetpack-support-subscriptions")}},c().createElement(m.T,{slug:"subscriptions",disabled:n,activated:t,toggling:this.props.isSavingAnyOption("subscriptions"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},e.description)),c().createElement(f.C_,null,c().createElement(d.Z,{checked:this.state.stb_enabled,disabled:!t||n||this.props.isSavingAnyOption(["subscriptions","stb_enabled"]),onChange:this.handleSubscribeToBlogToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable the “subscribe to site” option on your comment form","jetpack"))),c().createElement(d.Z,{checked:this.state.stc_enabled,disabled:!t||n||this.props.isSavingAnyOption(["subscriptions","stc_enabled"]),onChange:this.handleSubscribeToCommentToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable the “subscribe to comments” option on your comment form","jetpack"))))),(()=>!n&&t&&this.props.isLinked?c().createElement(h.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:(0,u.Z)("calypso-people-email-followers",{site:this.props.siteRawUrl})},__("View your Email Followers","jetpack")):"")(),!this.props.isLinked&&!this.props.isOfflineMode&&c().createElement(y.Z,{feature:"subscriptions",featureLabel:__("Subscriptions","jetpack"),text:__("Connect to manage your subscriptions settings.","jetpack")}))}}t.Z=(0,b.u)(k)},30655:function(e,t){"use strict";const n=[9,32,37,38,39,40];let r=!1;t.Z=function(){document.addEventListener("keydown",(function(e){r||-1!==n.indexOf(e.keyCode)&&(r=!0,document.documentElement.classList.add("dops-accessible-focus"))})),document.addEventListener("mouseup",(function(){r&&(r=!1,document.documentElement.classList.remove("dops-accessible-focus"))}))}},11973:function(e,t,n){"use strict";var r=n(9481),i=n(80816);i.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),i.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=i.Z},34885:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(69771);const i=()=>{var e;const{l10n:{locale:t}}=(0,r.__experimentalGetSettings)();if(t)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"})(t);return null!==(e=window?.window?.navigator?.language)&&void 0!==e?e:"en-US"}},81200:function(e,t,n){"use strict";n.d(t,{p7:function(){return i},j2:function(){return s},Wg:function(){return o},JA:function(){return a},f3:function(){return c},lv:function(){return l},xf:function(){return u},G6:function(){return p},OE:function(){return d},sy:function(){return h},Qm:function(){return f},wm:function(){return m},_d:function(){return g},lj:function(){return v},Xz:function(){return b},NJ:function(){return y},ap:function(){return k},p2:function(){return w},yY:function(){return _},mg:function(){return E},tV:function(){return C},XL:function(){return S},LA:function(){return j},Us:function(){return M},dW:function(){return x},ux:function(){return N},Et:function(){return A},w2:function(){return O},b6:function(){return T},aS:function(){return P},th:function(){return I},JX:function(){return R},Ij:function(){return U},un:function(){return Z},WS:function(){return D},tl:function(){return L},sh:function(){return z},vS:function(){return B},v_:function(){return F},Bi:function(){return V},uz:function(){return q},np:function(){return H},ic:function(){return W},sT:function(){return $},ah:function(){return J},Vl:function(){return K},Dl:function(){return G},jI:function(){return Y},bm:function(){return X},V3:function(){return ae},N_:function(){return ce},eM:function(){return le},BD:function(){return ue},ps:function(){return pe},N8:function(){return de},r2:function(){return he},T5:function(){return fe},qb:function(){return me},MC:function(){return ve},Cv:function(){return be},oF:function(){return ye},ZH:function(){return ke},yy:function(){return we},Pu:function(){return _e},DM:function(){return Ee},G1:function(){return Ce},o2:function(){return Se},sc:function(){return je},lq:function(){return Me},dy:function(){return xe}});var r=n(92819);const i="business-bundle",s="business-bundle-2y",o="business-bundle-monthly",a="ecommerce-bundle",c="ecommerce-bundle-2y",l="ecommerce-bundle-monthly",u="value_bundle",p="value_bundle-2y",d="value_bundle-monthly",h="personal-bundle",f="personal-bundle-2y",m="personal-bundle-monthly",g="free_plan",v="jetpack_free",b="jetpack_premium",y="jetpack_business",k="jetpack_personal",w="jetpack_premium_monthly",_="jetpack_business_monthly",E="jetpack_personal_monthly",C="jetpack_backup_t1_yearly",S="jetpack_backup_t1_monthly",j="jetpack_backup_t2_yearly",M="jetpack_backup_t2_monthly",x="jetpack_search",N="jetpack_search_monthly",A="jetpack_security_t1_yearly",O="jetpack_security_t1_monthly",T="jetpack_security_t2_yearly",P="jetpack_security_t2_monthly",I="jetpack_complete",R="jetpack_complete_monthly",U="wpcom_search",Z="wpcom_search_monthly",D="jetpack_scan",L="jetpack_scan_monthly",z="jetpack_anti_spam",B="jetpack_anti_spam_monthly",F="jetpack_videopress",V="jetpack_videopress_monthly",q="vip",H="jetpack_backup_daily",W="jetpack_backup_daily_monthly",$="jetpack_backup_realtime",J="jetpack_backup_realtime_monthly",K="jetpack_security_daily",G="jetpack_security_daily_monthly",Y="jetpack_security_realtime",X="jetpack_security_realtime_monthly",Q=[b,y,k,w,_,E],ee=[A,O,T,P,K,G,Y,X],te=[A,O,T,P,i,s,o,a,c,l,q,"wpcom-enterprise",K,G,Y,X],ne=[C,S,j,M,H,W,$,J],re=[x,N,U,Z],ie=[D,L],se=[z,B],oe=[F,V],ae="spam-akismet-plus",ce="site-backups-jetpack",le="security-scanning-jetpack",ue="video-hosting-jetpack",pe="priority-support-jetpack",de="wordads-jetpack",he="google-analytics-jetpack",fe="search-jetpack",me="videopress-jetpack",ge={[pe]:A,[fe]:x,[le]:D,[ce]:C,[ae]:z,[ue]:A,[de]:A,[he]:A,[ae]:z,[me]:F};function ve(e){return(0,r.includes)(ne,e)}function be(e){return(0,r.includes)(re,e)}function ye(e){return ie.includes(e)}function ke(e){return oe.includes(e)}function we(e){return ve(e)||be(e)||ye(e)||function(e){return se.includes(e)}(e)||ke(e)}function _e(e){return ee.includes(e)}function Ee(e){return te.includes(e)}function Ce(e){return Q.includes(e)}function Se(e){return ge[e]}function je(e){switch(e){case v:case g:return"is-free-plan";case h:case f:case m:case k:case E:return"is-personal-plan";case u:case p:case d:case b:case w:return"is-premium-plan";case i:case s:case o:case y:case _:case a:case c:case l:return"is-business-plan";case A:case O:return"is-security-t1-plan";case T:case P:return"is-security-t2-plan";case I:case R:case q:return"is-complete-plan";case C:case S:return"is-backup-t1-plan";case j:case M:return"is-backup-t2-plan";case x:case N:case U:case Z:return"is-search-plan";case D:case L:return"is-scan-plan";case z:case B:return"is-anti-spam-plan";case F:case V:return"is-videopress-plan";case K:case G:return"is-daily-security-plan";case Y:case X:return"is-realtime-security-plan";case H:case W:return"is-daily-backup-plan";case $:case J:return"is-realtime-backup-plan";default:return""}}function Me(e){return["is-business-plan","is-backup-t1-plan","is-backup-t2-plan","is-security-t1-plan","is-security-t2-plan","is-complete-plan","is-realtime-security-plan","is-realtime-backup-plan"].includes(e)}const xe=e=>e.active&&(0,r.includes)([G,K,X,Y],e.product_slug)&&new Date(e.subscribed_date)<new Date("2021-10-07T00:00:00+00:00")},39444:function(e,t,n){"use strict";var r=n(59177);t.Z=(e,t)=>{const n=new r.Z;let i;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{let e=null;i&&i.keyring_id&&(e=Number(i.keyring_id)),t(e)})),n.on("message",(e=>i=e))}},82538:function(e,t,n){"use strict";function r(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}n.d(t,{_:function(){return r}})},98772:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(12901),l=n(65736),u=n(71415),p=n(51438),d=n(39897),h=n(32199),f=n(55609),m=n(9818),g=n(96082),v=n(41776),b=n(83371),y=n(7507),k=n(77219),w=n(93107),_=n(41147),E=n(66552),C=n(88872),S=n(17752),j=n(19555),M=n(29955),x=n(63663),N=n(98362),A=n(86428),O=n(24451),T=n(4696),P=n(66765),I=n(73875),R=n(64296),U=n(66496),Z=n(43240),D=n(86338),L=n(11973),z=n(19570),B=n(9477),F=n(30701),V=n(29733),q=n(69307),H=n(98486),W=n(77909),$=n(74465);const __=l.__,J=["/recommendations","/recommendations/site-type","/recommendations/product-suggestions","/recommendations/product-purchased","/recommendations/woocommerce","/recommendations/monitor","/recommendations/related-posts","/recommendations/creative-mail","/recommendations/site-accelerator","/recommendations/summary"],K=["/","/dashboard","/reconnect","/my-plan","/plans"],G=["/settings","/security","/performance","/writing","/sharing","/discussion","/traffic","/privacy"];class Y extends o().Component{constructor(e){super(e),i()(this,"handleRouterWillLeave",(()=>{const e=__("There are unsaved settings in this tab that will be lost if you leave it. Proceed?","jetpack");return!!confirm(e)&&(window.setTimeout(this.props.clearUnsavedSettingsFlag,10),!0)})),i()(this,"initializeAnalytics",(()=>{const e=this.props.tracksUserData;e&&L.Z.initialize(e.userid,e.username,{blog_id:e.blogid})})),i()(this,"renderMainContent",(e=>{if(this.shouldShowWooConnectionScreen()){const e=this.props.location.state?.previousPath,t=e&&"/woo-setup"!==e?`#${e}`:"#/dashboard";return o().createElement($.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,title:__("Welcome to Jetpack! Security, Growth, & Performance tools for WordPress businesses","jetpack"),logo:o().createElement("img",{src:H.hp+"/jetpack-woocommerce-logo.svg",alt:__("Jetpack and WooCommerce","jetpack")}),buttonLabel:__("Set up Jetpack","jetpack"),redirectUri:"admin.php?page=jetpack",redirectTo:t,from:this.props.location.pathname,isSiteConnected:this.props.isSiteConnected,setHasSeenWCConnectionModal:this.props.setHasSeenWCConnectionModal},o().createElement("p",null,__("Jetpack is the perfect companion plugin for WooCommerce - made by WordPress experts to make your store faster, safer, and to help grow your business.","jetpack")))}if(this.props.partnerCoupon){const e=new URLSearchParams(window.location.search).get("showCouponRedemption");if(!this.props.isSiteConnected||e)return o().createElement(p.e,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right-partner-backup.png"],assetBaseUrl:this.props.pluginBaseUrl,connectionStatus:this.props.connectionStatus,partnerCoupon:this.props.partnerCoupon,siteRawUrl:this.props.siteRawUrl,tracksUserData:!!this.props.tracksUserData,analytics:L.Z})}if(this.isUserConnectScreen()&&(this.props.userCanManageModules||this.props.hasConnectedOwner))return o().createElement(d.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right-secondary.png"],assetBaseUrl:this.props.pluginBaseUrl,title:this.props.connectingUserFeatureLabel?(0,l.sprintf)(
+__("New in Jetpack %s","jetpack"),this.props.version)),a().createElement(p.Z,{svg:t,title:n,content:this.renderInnerContent(),dismiss:this.dismissNotice})}});t.Z=u},5182:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},800:function(e,t,n){"use strict";n.d(t,{Ez:function(){return a},Fr:function(){return i},hp:function(){return r}});var s=n(6324);const r=window.Initial_State.pluginBaseUrl+"/images/",i=(0,s.Z)("jetpack-contact-support"),a=(0,s.Z)("jetpack-contact-support-beta-group")},3067:function(e,t,n){"use strict";n.d(t,{H:function(){return y}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5736),p=n(6324),u=n(1674),d=n(1775),m=n(5004),h=n(3806),g=n(8178),f=n(9032),v=n(5549),k=n(2353);const __=l.__;class _ extends c().Component{constructor(){super(...arguments),a()(this,"updateFormStateByMarkdown",(e=>this.props.getSettingCurrentValue("wpcom_publish_posts_with_markdown",e)?this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown"):this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown",!0))),a()(this,"handleMarkdownCommentsToggle",(()=>{this.props.updateFormStateModuleOption("markdown","wpcom_publish_comments_with_markdown")}))}render(){const e=this.props.isModuleFound("comments"),t=this.props.isModuleFound("gravatar-hovercards"),n=this.props.isModuleFound("markdown"),s=this.props.isModuleFound("comment-likes");if(!(e||t||n||s))return null;const{isUnavailableInOfflineMode:i,getOptionValue:a}=this.props,o=this.props.getModule("comments"),l=this.props.getOptionValue("comments"),k=this.props.isUnavailableInOfflineMode("comments"),_=this.props.getModule("gravatar-hovercards"),y=this.props.getModule("markdown"),E=i("comment-likes"),w=a("comment-likes");return c().createElement(h.Z,r()({},this.props,{header:__("Comments","jetpack"),module:"comments",saveDisabled:this.props.isSavingAnyOption(["highlander_comment_form_prompt","jetpack_comment_form_color_scheme"])}),e&&c().createElement(g.Z,{hasChild:!0,disableInOfflineMode:!0,module:o,support:{text:__("Replaces the standard WordPress comment form with a new comment system that includes social media login options.","jetpack"),link:(0,p.Z)("jetpack-support-comments")}},c().createElement(m.T,{slug:"comments",compact:!0,disabled:k,activated:this.props.getOptionValue("comments"),toggling:this.props.isSavingAnyOption("comments"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},o.description)),c().createElement(d.C_,null,c().createElement(d.lX,null,c().createElement("span",{className:"jp-form-label-wide"},__("Comment form introduction","jetpack")),c().createElement(v.Z,{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:!l||k||this.props.isSavingAnyOption("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),c().createElement("span",{className:"jp-form-setting-explanation"},__("A few catchy words to motivate your visitors to comment.","jetpack")),c().createElement(d.lX,null,c().createElement("span",{className:"jp-form-label-wide"},__("Color scheme","jetpack")),c().createElement(d.ih,r()({name:"jetpack_comment_form_color_scheme",value:this.props.getOptionValue("jetpack_comment_form_color_scheme"),disabled:!l||k||this.props.isSavingAnyOption("jetpack_comment_form_color_scheme"),onChange:this.props.onOptionChange},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme","comments")}))))),(t||n||s)&&c().createElement(g.Z,null,t&&c().createElement("div",{className:"jp-toggle-set"},c().createElement(d.C_,null,c().createElement(m.T,{slug:"gravatar-hovercards",compact:!0,activated:this.props.getOptionValue("gravatar-hovercards"),toggling:this.props.isSavingAnyOption("gravatar-hovercards"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},_.description))),c().createElement(f.Z,{text:__("Show Gravatar hovercards alongside comments.","jetpack"),link:_.learn_more_button,privacyLink:_.learn_more_button+"#privacy"})),n&&c().createElement("div",{className:"jp-toggle-set"},c().createElement(d.C_,null,c().createElement(u.Z,{checked:!!this.props.getOptionValue("wpcom_publish_comments_with_markdown","markdown"),disabled:this.props.isSavingAnyOption(["markdown","wpcom_publish_comments_with_markdown"])||"inactive"===this.props.getModuleOverride("markdown"),toggling:this.props.isSavingAnyOption(["markdown","wpcom_publish_comments_with_markdown"]),onChange:this.handleMarkdownCommentsToggle},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable Markdown use for comments.","jetpack")))),c().createElement(f.Z,{text:__("Allow readers to use markdown in comments.","jetpack"),link:y.learn_more_button,privacyLink:y.learn_more_button+"#privacy"})),s&&c().createElement("div",{className:"jp-toggle-set"},c().createElement(d.C_,null,c().createElement(m.T,{slug:"comment-likes",compact:!0,disabled:E,activated:w,toggling:this.props.isSavingAnyOption("comment-likes"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable comment likes.","jetpack")))),c().createElement(f.Z,{text:__("Allow readers to like individual comments.","jetpack"),link:(0,p.Z)("jetpack-support-comment-likes"),privacyLink:(0,p.Z)("jetpack-support-comment-likes",{anchor:"privacy"})}))))}}const y=(0,k.u)(_)},399:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(5799),d=n(416),m=n(3230),h=n(6300),g=n(9292),f=n(9270),v=n(3067),k=n(125);const __=p.__;class _ extends c().Component{render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode},t=this.props.isModuleFound("comments"),n=this.props.isModuleFound("markdown"),s=this.props.isModuleFound("gravatar-hovercards"),i=this.props.isModuleFound("subscriptions"),a=this.props.isModuleFound("comment-likes");return(this.props.searchTerm||this.props.active)&&(t||i||n||s||a)?c().createElement("div",null,c().createElement(f.Z,null),c().createElement(u.Z,{title:this.props.searchTerm?__("Discussion","jetpack"):__("Manage advanced comment settings and grow your audience with email subscriptions.","jetpack"),className:"jp-settings-description"}),c().createElement(v.H,r()({},e,{isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride})),i&&c().createElement(k.Z,r()({},e,{isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,siteRawUrl:this.props.siteRawUrl}))):null}}a()(_,"displayName","DiscussionSettings"),t.Z=(0,l.$j)((e=>({module:t=>(0,d.rT)(e,t),settings:(0,m.Gw)(e),isOfflineMode:(0,h.Ex)(e),isUnavailableInOfflineMode:t=>(0,h.t_)(e,t),isModuleFound:t=>(0,g.CX)(e,t),connectUrl:(0,h.AM)(e),isLinked:(0,h.BU)(e),getModuleOverride:t=>(0,d.Qy)(e,t)})))(_)},125:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5736),p=n(6324),u=n(4069),d=n(1674),m=n(5799),h=n(1775),g=n(5004),f=n(3806),v=n(8178),k=n(2353),_=n(6164);const __=l.__;class y extends c().Component{constructor(e){super(e),a()(this,"getInitialState",(()=>({stb_enabled:this.props.getOptionValue("stb_enabled"),stc_enabled:this.props.getOptionValue("stc_enabled")}))),a()(this,"updateOptions",(e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("subscriptions",e))})),a()(this,"trackConfigureClick",(()=>{u.Z.tracks.recordJetpackClick("view-followers")})),a()(this,"handleSubscribeToBlogToggleChange",(()=>{this.updateOptions("stb_enabled")})),a()(this,"handleSubscribeToCommentToggleChange",(()=>{this.updateOptions("stc_enabled")})),this.state=this.getInitialState()}render(){const e=this.props.getModule("subscriptions"),t=this.props.getOptionValue("subscriptions"),n=this.props.isUnavailableInOfflineMode("subscriptions");return c().createElement(f.Z,r()({},this.props,{hideButton:!0,module:"subscriptions"}),c().createElement(v.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:e,support:{text:__("Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.","jetpack"),link:(0,p.Z)("jetpack-support-subscriptions")}},c().createElement(g.T,{slug:"subscriptions",disabled:n,activated:t,toggling:this.props.isSavingAnyOption("subscriptions"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},e.description)),c().createElement(h.C_,null,c().createElement(d.Z,{checked:this.state.stb_enabled,disabled:!t||n||this.props.isSavingAnyOption(["subscriptions","stb_enabled"]),onChange:this.handleSubscribeToBlogToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable the “subscribe to site” option on your comment form","jetpack"))),c().createElement(d.Z,{checked:this.state.stc_enabled,disabled:!t||n||this.props.isSavingAnyOption(["subscriptions","stc_enabled"]),onChange:this.handleSubscribeToCommentToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable the “subscribe to comments” option on your comment form","jetpack"))))),(()=>!n&&t&&this.props.isLinked?c().createElement(m.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:(0,p.Z)("calypso-people-email-followers",{site:this.props.siteRawUrl})},__("View your Email Followers","jetpack")):"")(),!this.props.isLinked&&!this.props.isOfflineMode&&c().createElement(_.Z,{feature:"subscriptions",featureLabel:__("Subscriptions","jetpack"),text:__("Connect to manage your subscriptions settings.","jetpack")}))}}t.Z=(0,k.u)(y)},1493:function(e,t){"use strict";const n=[9,32,37,38,39,40];let s=!1;t.Z=function(){document.addEventListener("keydown",(function(e){s||-1!==n.indexOf(e.keyCode)&&(s=!0,document.documentElement.classList.add("dops-accessible-focus"))})),document.addEventListener("mouseup",(function(){s&&(s=!1,document.documentElement.classList.remove("dops-accessible-focus"))}))}},4069:function(e,t,n){"use strict";var s=n(5182),r=n(6975);r.Z.setMcAnalyticsEnabled((0,s.Z)("mc_analytics_enabled")),r.Z.setGoogleAnalyticsEnabled((0,s.Z)("google_analytics_enabled"),(0,s.Z)("google_analytics_key")),t.Z=r.Z},9584:function(e,t,n){"use strict";n.d(t,{$K:function(){return f},BD:function(){return ge},Bi:function(){return $},Cb:function(){return le},DM:function(){return Se},Dl:function(){return Q},EC:function(){return be},Et:function(){return A},G1:function(){return Ne},G6:function(){return u},Ij:function(){return I},JA:function(){return o},JX:function(){return z},LA:function(){return T},N8:function(){return ve},NJ:function(){return y},N_:function(){return me},O$:function(){return we},OE:function(){return d},Pu:function(){return je},Qm:function(){return h},Ss:function(){return xe},T5:function(){return _e},Us:function(){return O},V3:function(){return de},Vl:function(){return X},WS:function(){return F},Wg:function(){return a},XL:function(){return x},Xz:function(){return _},ZR:function(){return j},_d:function(){return v},aS:function(){return R},ah:function(){return Y},ap:function(){return E},b6:function(){return U},bm:function(){return te},dW:function(){return P},eM:function(){return he},f3:function(){return c},hI:function(){return S},ic:function(){return K},j2:function(){return i},jI:function(){return ee},jT:function(){return oe},lj:function(){return k},lv:function(){return l},mg:function(){return C},np:function(){return W},o2:function(){return Te},p2:function(){return w},p7:function(){return r},ps:function(){return fe},qb:function(){return ye},r2:function(){return ke},sT:function(){return G},sc:function(){return Oe},sh:function(){return B},sy:function(){return m},tV:function(){return N},th:function(){return L},tl:function(){return V},un:function(){return D},ux:function(){return M},uz:function(){return J},vS:function(){return H},v_:function(){return q},w2:function(){return Z},wm:function(){return g},xf:function(){return p},yY:function(){return b},yy:function(){return Ce}});var s=n(2819);const r="business-bundle",i="business-bundle-2y",a="business-bundle-monthly",o="ecommerce-bundle",c="ecommerce-bundle-2y",l="ecommerce-bundle-monthly",p="value_bundle",u="value_bundle-2y",d="value_bundle-monthly",m="personal-bundle",h="personal-bundle-2y",g="personal-bundle-monthly",f="pro-plan",v="free_plan",k="jetpack_free",_="jetpack_premium",y="jetpack_business",E="jetpack_personal",w="jetpack_premium_monthly",b="jetpack_business_monthly",C="jetpack_personal_monthly",j="jetpack_backup_t0_yearly",S="jetpack_backup_t0_monthly",N="jetpack_backup_t1_yearly",x="jetpack_backup_t1_monthly",T="jetpack_backup_t2_yearly",O="jetpack_backup_t2_monthly",P="jetpack_search",M="jetpack_search_monthly",A="jetpack_security_t1_yearly",Z="jetpack_security_t1_monthly",U="jetpack_security_t2_yearly",R="jetpack_security_t2_monthly",L="jetpack_complete",z="jetpack_complete_monthly",I="wpcom_search",D="wpcom_search_monthly",F="jetpack_scan",V="jetpack_scan_monthly",B="jetpack_anti_spam",H="jetpack_anti_spam_monthly",q="jetpack_videopress",$="jetpack_videopress_monthly",J="vip",W="jetpack_backup_daily",K="jetpack_backup_daily_monthly",G="jetpack_backup_realtime",Y="jetpack_backup_realtime_monthly",X="jetpack_security_daily",Q="jetpack_security_daily_monthly",ee="jetpack_security_realtime",te="jetpack_security_realtime_monthly",ne=[_,y,E,w,b,C],se=[_,y,w,b],re=[A,Z,U,R,X,Q,ee,te],ie=[_,y,E,w,b,C,A,Z,U,R,L,z,X,Q,ee,te],ae=[A,Z,U,R,r,i,a,o,c,l,f,J,"wpcom-enterprise",X,Q,ee,te],oe=[j,S,N,x,T,O,W,K,G,Y],ce=[P,M,I,D],le=[F,V],pe=[B,H],ue=[q,$],de="spam-akismet-plus",me="site-backups-jetpack",he="security-scanning-jetpack",ge="video-hosting-jetpack",fe="priority-support-jetpack",ve="wordads-jetpack",ke="google-analytics-jetpack",_e="search-jetpack",ye="videopress-jetpack",Ee={[fe]:A,[_e]:P,[he]:F,[me]:N,[de]:B,[ge]:A,[ve]:A,[ke]:A,[de]:B,[ye]:q};function we(e){return(0,s.includes)(ie,e)}function be(e){return pe.includes(e)}function Ce(e){return function(e){return(0,s.includes)(oe,e)}(e)||function(e){return(0,s.includes)(ce,e)}(e)||function(e){return le.includes(e)}(e)||be(e)||function(e){return ue.includes(e)}(e)}function je(e){return re.includes(e)}function Se(e){return ae.includes(e)}function Ne(e){return ne.includes(e)}function xe(e){return se.includes(e)}function Te(e){return Ee[e]}function Oe(e){switch(e){case k:case v:return"is-free-plan";case m:case h:case g:case E:case C:return"is-personal-plan";case p:case u:case d:case _:case w:return"is-premium-plan";case r:case i:case a:case y:case b:case o:case c:case l:case f:return"is-business-plan";case A:case Z:return"is-security-t1-plan";case U:case R:return"is-security-t2-plan";case L:case z:case J:return"is-complete-plan";case j:case S:return"is-backup-t0-plan";case N:case x:return"is-backup-t1-plan";case T:case O:return"is-backup-t2-plan";case P:case M:case I:case D:return"is-search-plan";case F:case V:return"is-scan-plan";case B:case H:return"is-anti-spam-plan";case q:case $:return"is-videopress-plan";case X:case Q:return"is-daily-security-plan";case ee:case te:return"is-realtime-security-plan";case W:case K:return"is-daily-backup-plan";case G:case Y:return"is-realtime-backup-plan";default:return""}}},3962:function(e,t,n){"use strict";var s=n(7211);t.Z=(e,t)=>{const n=new s.Z;let r;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{let e=null;r&&r.keyring_id&&(e=Number(r.keyring_id)),t(e)})),n.on("message",(e=>r=e))}},7733:function(e,t,n){"use strict";function s(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}n.d(t,{_:function(){return s}})},1215:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(4498),l=n(5736),p=n(6324),u=n(1862),d=n(9312),m=n(428),h=n(5609),g=n(9818),f=n(6795),v=n(2977),k=n(4265),_=n(9517),y=n(9963),E=n(416),w=n(6300),b=n(9508),C=n(3002),j=n(3230),S=n(9292),N=n(2267),x=n(5150),T=n(4648),O=n(6288),P=n(8106),M=n(7516),A=n(2685),Z=n(7363),U=n(4241),R=n(208),L=n(7301),z=n(3157),I=n(4069),D=n(4743),F=n(8546),V=n(9377),B=n(6799),H=n(9307),q=n(800),$=n(3281),J=n(6102);const __=l.__,W=["/recommendations","/recommendations/site-type","/recommendations/product-suggestions","/recommendations/product-purchased","/recommendations/woocommerce","/recommendations/monitor","/recommendations/related-posts","/recommendations/creative-mail","/recommendations/site-accelerator","/recommendations/publicize","/recommendations/security-plan","/recommendations/anti-spam","/recommendations/videopress","/recommendations/summary"],K=["/","/dashboard","/reconnect","/my-plan","/plans"],G=["/settings","/security","/performance","/writing","/sharing","/discussion","/traffic","/privacy"];class Y extends a().Component{constructor(e){super(e),r()(this,"handleRouterWillLeave",(()=>{const e=__("There are unsaved settings in this tab that will be lost if you leave it. Proceed?","jetpack");return!!confirm(e)&&(window.setTimeout(this.props.clearUnsavedSettingsFlag,10),!0)})),r()(this,"initializeAnalytics",(()=>{const e=this.props.tracksUserData;e&&I.Z.initialize(e.userid,e.username,{blog_id:e.blogid})})),r()(this,"renderMainContent",(e=>{if(this.shouldShowWooConnectionScreen()){var t;const e=null===(t=this.props.location.state)||void 0===t?void 0:t.previousPath,n=e&&"/woo-setup"!==e?`#${e}`:"#/dashboard";return a().createElement(J.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,title:__("Welcome to Jetpack! Security, Growth, & Performance tools for WordPress businesses","jetpack"),logo:a().createElement("img",{src:q.hp+"/jetpack-woocommerce-logo.svg",alt:__("Jetpack and WooCommerce","jetpack")}),buttonLabel:__("Set up Jetpack","jetpack"),redirectUri:"admin.php?page=jetpack",redirectTo:n,from:this.props.location.pathname,isSiteConnected:this.props.isSiteConnected,setHasSeenWCConnectionModal:this.props.setHasSeenWCConnectionModal},a().createElement("p",null,__("Jetpack is the perfect companion plugin for WooCommerce - made by WordPress experts to make your store faster, safer, and to help grow your business.","jetpack")))}if(this.props.partnerCoupon){const e=new URLSearchParams(window.location.search).get("showCouponRedemption");if(!this.props.isOfflineMode&&(!this.props.isSiteConnected||e))return a().createElement(u.es,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,assetBaseUrl:this.props.pluginBaseUrl,connectionStatus:this.props.connectionStatus,partnerCoupon:this.props.partnerCoupon,siteRawUrl:this.props.siteRawUrl,tracksUserData:!!this.props.tracksUserData,analytics:I.Z})}if(this.isUserConnectScreen()&&(this.props.userCanManageModules||this.props.hasConnectedOwner))return a().createElement(d.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right-secondary.png"],assetBaseUrl:this.props.pluginBaseUrl,title:this.props.connectingUserFeatureLabel?(0,l.sprintf)(
/* translators: placeholder is a feature label (e.g. SEO, Notifications) */
-__("Unlock %s and more amazing features","jetpack"),this.props.connectingUserFeatureLabel):__("Unlock all the amazing features of Jetpack by connecting now","jetpack"),buttonLabel:__("Connect your user account","jetpack"),redirectUri:"admin.php?page=jetpack"},o().createElement("ul",null,o().createElement("li",null,__("Receive instant downtime alerts","jetpack")),o().createElement("li",null,__("Automatically share your content on social media","jetpack")),o().createElement("li",null,__("Let your subscribers know when you post","jetpack")),o().createElement("li",null,__("Receive notifications about new likes and comments","jetpack")),o().createElement("li",null,__("Let visitors share your content on social media","jetpack")),o().createElement("li",null,(0,q.createInterpolateElement)(__("And more! <a>See all Jetpack features</a>","jetpack"),{a:o().createElement("a",{href:(0,u.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"})}),o().createElement("a",{className:"jp-connection-screen-icon",href:(0,u.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"},o().createElement(f.Dashicon,{icon:"external"})))));if(!this.props.userCanManageModules)return!!this.props.siteConnectionStatus&&o().createElement("div",{"aria-live":"assertive"},o().createElement(R.Z,this.props));if(this.isMainConnectScreen())return o().createElement(d.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right.jpg"],assetBaseUrl:this.props.pluginBaseUrl,autoTrigger:this.shouldAutoTriggerConnection(),redirectUri:"admin.php?page=jetpack"},o().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack")),o().createElement("ul",null,o().createElement("li",null,__("Measure your impact with beautiful stats","jetpack")),o().createElement("li",null,__("Speed up your site with optimized images","jetpack")),o().createElement("li",null,__("Protect your site against bot attacks","jetpack")),o().createElement("li",null,__("Get notifications if your site goes offline","jetpack")),o().createElement("li",null,__("Enhance your site with dozens of other features","jetpack"))));const t=o().createElement(b.Z,{routeName:this.props.routeName,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl});let n,r=o().createElement(v.Z,{routeName:this.props.routeName});switch(e){case"/dashboard":case"/reconnect":case"/disconnect":case"/connect-user":case"/woo-setup":case"/setup":n=o().createElement(A.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/my-plan":n=o().createElement(O.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/plans":case"/plans-prompt":window.location.href=(0,u.Z)("jetpack-plans",{site:this.props.siteRawUrl});break;case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/traffic":case"/privacy":r=t,n=o().createElement(y.Z,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,searchTerm:this.props.searchTerm,rewindStatus:this.props.rewindStatus,userCanManageModules:this.props.userCanManageModules});break;case"/license/activation":this.props.isLinked&&this.props.isConnectionOwner?(r=null,n=o().createElement(W.I,{assetBaseUrl:this.props.pluginBaseUrl,lockImage:"/images/jetpack-license-activation-with-lock.png",siteRawUrl:this.props.siteRawUrl,successImage:"/images/jetpack-license-activation-with-success.png",onActivationSuccess:this.onLicenseActivationSuccess,siteAdminUrl:this.props.siteAdminUrl,currentRecommendationsStep:this.props.currentRecommendationsStep})):(this.props.history.replace("/dashboard"),n=this.getAtAGlance());break;case"/recommendations":case"/recommendations/site-type":case"/recommendations/product-suggestions":case"/recommendations/product-purchased":case"/recommendations/woocommerce":case"/recommendations/monitor":case"/recommendations/related-posts":case"/recommendations/creative-mail":case"/recommendations/site-accelerator":case"/recommendations/summary":this.props.showRecommendations?n=o().createElement(M.V,null):(this.props.history.replace("/dashboard"),n=this.getAtAGlance());break;default:if(N.w7.includes(e)){n=o().createElement(x.Z,null);break}this.props.history.replace("/dashboard"),n=this.getAtAGlance()}return this.props.isWoaSite?window.wpNavMenuClassChange({dashboard:1,settings:1}):window.wpNavMenuClassChange(),o().createElement("div",{"aria-live":"assertive",className:""+(this.shouldBlurMainContent()?"blur":"")},r,n)})),this.closeReconnectModal=this.closeReconnectModal.bind(this),this.onLicenseActivationSuccess=this.onLicenseActivationSuccess.bind(this)}UNSAFE_componentWillMount(){this.props.setInitialState(),z.ZP.setApiRoot(this.props.apiRoot),z.ZP.setApiNonce(this.props.apiNonce),this.initializeAnalytics(),window.addEventListener("beforeunload",this.props.clearUnsavedSettingsFlag),this.props.isSiteConnected&&L.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion})}componentDidMount(){const e=jQuery(".jp-jetpack-connect__container"),t=jQuery(".jp-connect-full__container");e&&t.length>0&&t.prependTo(e),this.props.isWooCommerceActive&&!this.props.hasSeenWCConnectionModal&&this.props.userCanManageModules&&this.props.history.replace({pathname:"/woo-setup",state:{previousPath:this.props.location.pathname}})}shouldComponentUpdate(e){return!["/wpbody-content","/wp-toolbar"].includes(e.location.pathname)&&(JSON.stringify(e.connectionStatus)!==JSON.stringify(this.props.connectionStatus)||e.siteConnectionStatus!==this.props.siteConnectionStatus||e.isLinked!==this.props.isLinked||e.isConnectingUser!==this.props.isConnectingUser||e.location.pathname!==this.props.location.pathname||e.searchTerm!==this.props.searchTerm||e.rewindStatus!==this.props.rewindStatus||e.areThereUnsavedSettings!==this.props.areThereUnsavedSettings||e.isReconnectingSite!==this.props.isReconnectingSite)}componentDidUpdate(e){if(e.location.pathname!==this.props.location.pathname&&this.props.isSiteConnected&&L.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion}),e.siteConnectionStatus!==this.props.siteConnectionStatus){const e=jQuery("#toplevel_page_jetpack").find("ul.wp-submenu li");e.find('a[href$="#/settings"]').hide(),e.find('a[href$="admin.php?page=stats"]').hide(),e.find('a[href$="admin.php?page=jetpack-search"]').hide()}this.props.setConnectionStatus(this.props.connectionStatus)}getAtAGlance(){return o().createElement(A.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus})}shouldShowAppsCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&K.includes(this.props.location.pathname)}shouldShowSupportCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&K.includes(this.props.location.pathname)}shouldShowRewindStatus(){return this.props.isSiteConnected&&K.includes(this.props.location.pathname)}shouldShowMasthead(){return[...K,...J,...G].includes(this.props.location.pathname)}shouldShowFooter(){return[...K,...G,...J,...N.w7].includes(this.props.location.pathname)}shouldBlurMainContent(){return this.props.isReconnectingSite}shouldShowReconnectModal(){return"/reconnect"===this.props.location.pathname}closeReconnectModal(){this.props.history.replace("/dashboard")}isMainConnectScreen(){return!1===this.props.siteConnectionStatus&&this.props.userCanConnectSite}isUserConnectScreen(){return"/connect-user"===this.props.location.pathname}shouldShowWooConnectionScreen(){return"/woo-setup"===this.props.location.pathname}shouldConnectUser(){return this.props.isConnectingUser}connectUser(){this.props.resetConnectUser(),this.props.history.replace("/connect-user")}isLicensingScreen(){return this.props.location.pathname.startsWith("/license")}shouldAutoTriggerConnection(){return this.props.location.pathname.startsWith("/setup")}onLicenseActivationSuccess(){this.props.updateUserLicensesCounts().then((()=>{this.props.updateLicensingActivationNoticeDismiss()})),this.props.fetchSiteData(),this.props.fetchSitePurchases(),this.props.fetchModules(),this.props.fetchSettings()}render(){const e=["jp-lower"];return this.isMainConnectScreen()&&e.push("jp-main-connect-screen"),this.isUserConnectScreen()&&e.push("jp-user-connect-screen"),this.isLicensingScreen()&&e.push("jp-licensing-screen"),o().createElement("div",null,this.shouldShowReconnectModal()&&o().createElement(V.Z,{show:!0,onHide:this.closeReconnectModal}),this.shouldShowMasthead()&&o().createElement(g.Z,{location:this.props.location}),o().createElement("div",{className:e.join(" ")},this.shouldShowRewindStatus()&&o().createElement(B.Z,null),o().createElement(Z.Z,null),o().createElement(U.ZP,null),this.shouldConnectUser()&&this.connectUser(),o().createElement(c.NL,{when:this.props.areThereUnsavedSettings,message:this.handleRouterWillLeave}),this.renderMainContent(this.props.location.pathname),this.shouldShowSupportCard()&&o().createElement(P.Z,{path:this.props.location.pathname}),this.shouldShowAppsCard()&&o().createElement(I.Z,null)),this.shouldShowFooter()&&o().createElement(T.Z,{siteAdminUrl:this.props.siteAdminUrl}),o().createElement(D.Z,{analytics:L.Z}))}}t.Z=(0,a.$j)((e=>({connectionStatus:(0,_.Zp)(e),siteConnectionStatus:(0,_.Gz)(e),isLinked:(0,_.BU)(e),isConnectingUser:(0,_.zq)(e),hasConnectedOwner:(0,_.it)(e),isConnectionOwner:(0,_.QM)(e),siteRawUrl:(0,E.JR)(e),siteAdminUrl:(0,E.wW)(e),searchTerm:(0,j.He)(e),apiRoot:(0,E.yB)(e),apiNonce:(0,E.VY)(e),registrationNonce:(0,E.H$)(e),tracksUserData:(0,E.hv)(e),areThereUnsavedSettings:(0,S.GD)(e),userCanManageModules:(0,E.pK)(e),userCanConnectSite:(0,E.Mc)(e),isSiteConnected:(0,_.q7)(e),isReconnectingSite:(0,_.O_)(e),rewindStatus:(0,F.of)(e),currentVersion:(0,E.w1)(e),showRecommendations:(0,E.mb)(e),pluginBaseUrl:(0,E.wB)(e),connectUrl:(0,_.AM)(e),connectingUserFeatureLabel:(0,_.xP)(e),isWoaSite:(0,E.Pw)(e),isWooCommerceActive:(0,E.nP)(e),hasSeenWCConnectionModal:(0,_.rH)(e),partnerCoupon:(0,E.DV)(e),currentRecommendationsStep:(0,E.rd)(e)})),(e=>({setInitialState:()=>e((0,E.KY)()),clearUnsavedSettingsFlag:()=>e((0,S._1)()),reconnectSite:()=>e((0,_.xK)()),setHasSeenWCConnectionModal:()=>e((0,_.qJ)()),resetConnectUser:()=>e((0,_.HD)()),updateLicensingActivationNoticeDismiss:()=>e((0,k.bT)()),updateUserLicensesCounts:()=>e((0,k.Ng)()),fetchSiteData:()=>e((0,C.tO)()),fetchSitePurchases:()=>e((0,C.Z_)()),fetchModules:()=>e((0,w.Z$)()),fetchSettings:()=>e((0,S.wv)())})))((0,m.withDispatch)((e=>({setConnectionStatus:t=>{e(h.t).setConnectionStatus(t)}})))((0,c.EN)(Y))),window.wpNavMenuClassChange=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{dashboard:1,settings:2},t=window.location.hash;jQuery(".current").each((function(e,t){jQuery(t).removeClass("current")}));const n=e=>jQuery("#toplevel_page_jetpack").find("li").filter((function(t){return t===e}))[0];t=t.split("?")[0].replace(/#/,""),K.includes(t)||J.includes(t)||N.w7.includes(t)?n(e.dashboard).classList.add("current"):G.includes(t)&&n(e.settings).classList.add("current");const r=jQuery("body");r.on("click",'a[href$="#/dashboard"], a[href$="#/settings"], .jp-dash-section-header__settings[href="#/security"], .dops-button[href="#/my-plan"], .dops-button[href="#/plans"], .jp-dash-section-header__external-link[href="#/security"]',(function(){window.scrollTo(0,0)})),r.on("click",".jetpack-js-stop-propagation",(function(e){e.stopPropagation()}))}},40767:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),i=n(2571);function s(e){(0,r.assign)(e,i.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},94614:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r="http:",i="__domain__.invalid",s=`http://${i}`;function o(e,t){const n=new URL(e,s);t?n.searchParams.set("s",t):n.searchParams.delete("s"),n.protocol=r,n.host=i,n.port="",n.username="",n.password="";let o=n.href.replace(s,"");return o=e.startsWith("/")?o:o.substring(1),o.replace(/%20/g,"+")}},71064:function(e,t,n){"use strict";var r=n(90922),i=n.n(r),s=n(94614);const o=i()("calypso:url-search");t.Z={getInitialState:function(){return{searchOpen:!1}},UNSAFE_componentWillReceiveProps:function(e){e.search||this.setState({searchOpen:!1})},doSearch:function(e){let t;this.setState({searchOpen:!1!==e}),this.onSearch?this.onSearch(e):(t=this.buildUrl&&"function"==typeof this.buildUrl?this.buildUrl(window.location.href,e):(0,s.Z)(window.location.href,e),o("search posts for:",e),o("setting URL: "+t),window.location.href=t)},getSearchOpen:function(){return!1!==this.state.searchOpen||this.props.search}}},24451:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(2620),o=n(88872),a=n(27219),c=n(41147),l=n(94091),u=n(18676);t.Z=(0,s.$j)((e=>({activeFeatures:(0,o.$l)(e),activeProducts:(0,o.p)(e),availableFeatures:(0,o.ms)(e),getSiteConnectionStatus:()=>(0,c.Gz)(e),hasActiveSearchPurchase:(0,o.o$)(e),purchases:(0,o.qn)(e),sitePlan:(0,o.UL)(e)})))((function(e){let t=e.sitePlan.product_slug||"",n=e.availableFeatures,r=e.activeFeatures;return"offline"===e.getSiteConnectionStatus(e)&&(t="offline",n={},r={}),i().createElement(i().Fragment,null,i().createElement(a.Z,null),i().createElement(l.Z,{activeProducts:e.activeProducts,plan:t,purchases:e.purchases,siteAdminUrl:e.siteAdminUrl}),i().createElement(u.Z,{activeFeatures:r,availableFeatures:n,hasActiveSearchPurchase:e.hasActiveSearchPurchase,plan:t,rewindStatus:e.rewindStatus,siteAdminUrl:e.siteAdminUrl,siteRawUrl:e.siteRawUrl}))}))},18676:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(2620),u=n(65736),p=n(71415),d=n(11973),h=n(9913),f=n(81200),m=n(92819),g=n(98486),v=n(61744),b=n(93107),y=n(39772),k=n(36965),w=n(15142),_=n(66552);const __=u.__;class E extends o().Component{constructor(){super(...arguments),i()(this,"trackPlansClick",(e=>{d.Z.tracks.recordJetpackClick({page:"my-plan",target:e,plan:this.props.plan})})),i()(this,"handleButtonClickForTracking",(e=>()=>this.trackPlansClick(e))),i()(this,"activateAds",(()=>{this.props.activateModule("wordads"),this.trackPlansClick("activate_wordads")})),i()(this,"activatePublicize",(()=>{this.props.activateModule("publicize"),this.trackPlansClick("activate_publicize")})),i()(this,"activateVideoPress",(()=>{this.props.activateFeature("videopress"),this.trackPlansClick("activate_videopress")})),i()(this,"activateGoogleAnalytics",(()=>{this.props.activateModule("google-analytics"),this.trackPlansClick("activate_ga")}))}render(){let e="";const t="offline"!==this.props.plan?(0,f.sc)(this.props.plan):"offline",n=(0,m.includes)(["is-premium-plan","is-business-plan","is-security-t1-plan","is-security-t2-plan","is-complete-plan","is-daily-security-plan","is-realtime-security-plan"],t),r="active"===(0,m.get)(this.props.rewindStatus,["state"],!1),i=!this.props.showBackups||!r&&"unavailable"!==(0,m.get)(this.props.rewindStatus,["state"],!1),s=e=>{const{title:t,description:n}=e;return o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site securely backed up with Jetpack Backup","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},t),o().createElement("p",null,n),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("view_backup_dash"),href:(0,p.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your backups","jetpack"))))},a=()=>{if(i)return;if(r)return o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site backups","jetpack")),o().createElement("p",null,__("Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.","jetpack")),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("view_security_dash_rewind"),href:(0,p.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your security activity","jetpack"))));let e="";switch(t){case"is-personal-plan":e=__("Daily backup of all your site data with unlimited space and one-click restores","jetpack");break;case"is-premium-plan":e=__("Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;case"is-business-plan":e=__("Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;default:e=""}return o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site security","jetpack")),o().createElement("p",null,e+__(" (powered by VaultPress).","jetpack")),this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("view_security_dash"),href:(0,p.Z)("vaultpress-dashboard")},__("View your security dashboard","jetpack")):o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("configure_vault"),href:(0,p.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:"only=vaultpress"})},__("View settings","jetpack"))))};let c;"is-daily-backup-plan"===t&&(c=s({title:__("Automated Daily Backups","jetpack"),description:__("We back up your website every day, so you never have to worry about your data again.","jetpack")})),["is-backup-t1-plan","is-backup-t2-plan","is-realtime-backup-plan"].includes(t)&&(c=s({title:__("Automated real-time backups","jetpack"),description:__("We back up your website with every change you make, making it easy to fix your mistakes.","jetpack")}));const l=()=>o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-search-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site with the power of Jetpack Search","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Instant search and filtering","jetpack")),o().createElement("p",null,__("Relevant search results and filtering tightly integrated with your theme.","jetpack")),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("view_search_customizer"),href:this.props.siteAdminUrl+"admin.php?page=jetpack-search-configure"},__("Customize Search","jetpack"))));switch(t){case"is-personal-plan":case"is-premium-plan":case"is-security-t1-plan":case"is-security-t2-plan":case"is-business-plan":case"is-complete-plan":case"is-daily-security-plan":case"is-realtime-security-plan":e=o().createElement("div",{className:"jp-landing__plan-features"},"is-personal-plan"===t&&a(),"is-premium-plan"===t&&a(),"is-business-plan"===t&&a(),this.props.hasActiveSearchPurchase&&l(),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-speed-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),o().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("paid_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance"},__("Make your site faster","jetpack")))),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-spam.svg",className:"jp-landing__plan-features-icon",alt:__("A folder holding real comments","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Anti-spam","jetpack")),o().createElement("p",null,__("Spam is automatically blocked from your comments.","jetpack")),this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("view_spam_stats"),href:this.props.siteAdminUrl+"admin.php?page=akismet-key-config"},__("View your spam stats","jetpack")):o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("configure_akismet"),href:(0,p.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:"only=akismet"})},__("View settings","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("videopress")&&o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-video-hosting.svg",className:"jp-landing__plan-features-icon",alt:__("A cloud with multiple types of content floating around it","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("VideoPress","jetpack")),o().createElement("p",null,__("High-speed, high-definition video hosting with no third-party ads.","jetpack")),this.props.getFeatureState("videopress")?o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("upload_videos"),href:this.props.siteAdminUrl+"upload.php"},__("Upload videos","jetpack")):o().createElement(h.Z,{onClick:this.activateVideoPress,disabled:this.props.isActivatingFeature("videopress")},__("Activate VideoPress","jetpack")))),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-site-activity.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),o().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),href:(0,p.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your site activity","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("wordads")&&o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-wordads.svg",className:"jp-landing__plan-features-icon",alt:__("A chart showing an healthy increase in earnings","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Monetize your site with ads","jetpack")),o().createElement("p",null,__("WordAds lets you earn money by displaying promotional content. Start earning today.","jetpack")),this.props.isModuleActivated("wordads")?o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("view_earnings"),href:(0,p.Z)("wpcom-ads-earnings",{site:this.props.siteRawUrl})},__("View your earnings","jetpack")):o().createElement(h.Z,{onClick:this.activateAds,disabled:this.props.isActivatingModule("wordads")},__("Start earning","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("google-analytics")&&o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-google-analytics.svg",className:"jp-landing__plan-features-icon",alt:__("Site stats showing an evolution in traffic and engagement","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Google Analytics","jetpack")),o().createElement("p",null,__("Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.","jetpack")),this.props.isModuleActivated("google-analytics")?o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("configure_ga"),href:(0,p.Z)("calypso-marketing-traffic",{site:this.props.siteRawUrl})},__("Configure Google Analytics","jetpack")):o().createElement(h.Z,{onClick:this.activateGoogleAnalytics,disabled:this.props.isActivatingModule("google-analytics")},__("Activate Google Analytics","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("publicize")&&o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-marketing.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Marketing automation","jetpack")),o().createElement("p",null,__("Schedule unlimited tweets, Facebook posts, and other social posts in advance.","jetpack")),this.props.isModuleActivated("publicize")?o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("schedule_posts"),href:(0,p.Z)("calypso-edit-posts",{site:this.props.siteRawUrl})},__("Schedule posts","jetpack")):o().createElement(h.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize")},__("Activate Publicize","jetpack")))));break;case"is-free-plan":case"is-backup-t1-plan":case"is-backup-t2-plan":case"is-search-plan":case"offline":case"is-daily-backup-plan":case"is-realtime-backup-plan":e=o().createElement("div",{className:"jp-landing__plan-features"},c,this.props.hasActiveSearchPurchase&&l(),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Always-on security","jetpack")),o().createElement("p",null,__("Prevent login attacks, and get instant notifications when there’s an issue with your site.","jetpack")),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("free_security"),href:(0,p.Z)("calypso-settings-security",{site:this.props.siteRawUrl})},__("Set up your site security","jetpack")))),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-speed-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),o().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("free_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance"},__("Make your site faster","jetpack")))),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-themes.svg",className:"jp-landing__plan-features-icon",alt:__("A wide variety of themes and tools to customize a site","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Design the perfect website","jetpack")),o().createElement("p",null,__("Get access to professionally crafted themes offered on WordPress.com, and customize your site exactly how you like it.","jetpack")),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("free_themes"),href:(0,p.Z)("calypso-themes",{site:this.props.siteRawUrl})},__("Explore themes","jetpack")))),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-performance-icon.svg",className:"jp-landing__plan-features-icon",alt:__("Site stats showing an evolution in traffic and engagement","jetpack")})),"inactive"!==this.props.getModuleOverride("publicize")&&o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Increase traffic to your site","jetpack")),o().createElement("p",null,__("Reach a wider audience by automatically sharing your posts on social media.","jetpack")),this.props.isModuleActivated("publicize")?o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("free_sharing"),href:(0,p.Z)("calypso-marketing-connections",{site:this.props.siteRawUrl})},__("Start sharing","jetpack")):o().createElement(h.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize")},__("Activate Publicize","jetpack")))),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-site-activity.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),o().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),href:(0,p.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your site activity","jetpack")))),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("div",{className:"jp-landing__plan-features-img"},o().createElement("img",{src:g.hp+"/jetpack-support.svg",className:"jp-landing__plan-features-icon",alt:__("Chat bubbles representing getting in touch with support","jetpack")})),o().createElement("div",{className:"jp-landing__plan-features-text"},o().createElement("h3",{className:"jp-landing__plan-features-title"},__("Support documentation","jetpack")),o().createElement("p",null,__("Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.","jetpack")),o().createElement(h.Z,{onClick:this.handleButtonClickForTracking("free_support_documentation"),href:(0,p.Z)("jetpack-support")},__("Search support docs","jetpack")))));break;default:e=o().createElement("div",{className:"jp-landing__plan-features is-loading"},o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o().createElement("div",{className:"jp-landing__plan-features-card"},o().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return o().createElement("div",null,o().createElement(w.Z,null),e)}}i()(E,"propTypes",{plan:c().string}),i()(E,"defaultProps",{plan:""}),t.Z=(0,l.$j)((e=>({isFetchingPluginsData:(0,v.vz)(e),isPluginActive:t=>(0,v.TB)(e,t),isPluginInstalled:t=>(0,v.P8)(e,t),isModuleActivated:t=>(0,b.mp)(e,t),isActivatingModule:t=>(0,b.ZY)(e,t),getModuleOverride:t=>(0,b.Qy)(e,t),showBackups:(0,_.xR)(e),getFeatureState:t=>(0,k.$8)(e,t),isActivatingFeature:t=>(0,k.Cu)(e,t)})),(e=>({fetchPluginsData:()=>e((0,v.s4)()),activateModule:t=>e((0,b.d)(t)),activateFeature:t=>e((0,y.VP)({[t]:!0}))})))(E)},18522:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(11268),o=n.n(s),a=n(89105),c=n.n(a),l=n(3218);const u=e=>{let{productSlug:t,action:n,isError:r,isPlaceholder:s,details:o,tagLine:a,title:u}=e;const p=c()("my-plan-card",{"is-placeholder":s,"has-action-only":n&&!o&&!s}),d=c()("my-plan-card__details",{"is-error":r});return i().createElement("div",{className:p},i().createElement("div",{className:"my-plan-card__primary"},i().createElement("div",{className:"my-plan-card__icon"},i().createElement(l.Z,{plan:t,alt:u})),i().createElement("div",{className:"my-plan-card__header"},u&&i().createElement("h2",{className:"my-plan-card__title"},u),a&&i().createElement("p",{className:"my-plan-card__tag-line"},a))),(o||n||s)&&i().createElement("div",{className:"my-plan-card__secondary"},i().createElement("div",{className:d},s?null:o),i().createElement("div",{className:"my-plan-card__action"},s?null:n)))};u.propTypes={productSlug:o().string.isRequired,action:o().oneOfType([o().node,o().element]),isError:o().bool,isPlaceholder:o().bool,details:o().oneOfType([o().string,o().node,o().element]),tagLine:o().oneOfType([o().string,o().node,o().element]),title:o().oneOfType([o().string,o().node,o().element])},t.Z=u},94091:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(11268),u=n.n(l),p=n(2620),d=n(89105),h=n.n(d),f=n(92819),m=n(69307),g=n(65736),v=n(71415),b=n(11973),y=n(9913),k=n(60742),w=n(68961),_=n(35179),E=n(57028),C=n(81200),S=n(66552),j=n(77219),M=n(87024),x=n(61595),N=n(18522);const __=g.__,_n=g._n,_x=g._x;class A extends c().Component{constructor(){super(...arguments),o()(this,"renderLicensingActions",(()=>{const{hasDetachedUserLicenses:e,showRecommendations:t,siteAdminUrl:n,purchases:r}=this.props;if(!t)return null;const i=!!r?.length||e;return c().createElement(k.Z,{compact:!0},c().createElement("div",{className:"jp-landing__licensing-actions"},e&&c().createElement("span",null,__("Got a license key? Activate it here.","jetpack")),c().createElement("div",{className:h()("jp-landing__licensing-actions-item",{"no-licenses":!e,"no-purchases":!i})},i&&c().createElement(w.Z,{className:"all-purchases__link",href:(0,v.Z)("calypso-purchases"),onClick:this.trackAllPurchasesClick,target:"_blank",icon:!0},__("View all purchases","jetpack")),e?c().createElement(y.Z,{href:n+"admin.php?page=jetpack#/license/activation",onClick:this.trackLicenseActivationClick,primary:!0},_x("Activate a Product","Navigation item.","jetpack")):c().createElement(y.Z,{href:n+"admin.php?page=jetpack#/recommendations",onClick:this.trackRecommendationsClick,primary:!0},_x("Recommendations","Navigation item.","jetpack")))))})),o()(this,"trackAllPurchasesClick",(()=>{b.Z.tracks.recordJetpackClick({target:"calypso_purchases_link",page:"my-plan"})})),o()(this,"trackLicenseActivationClick",(()=>{b.Z.tracks.recordJetpackClick({target:"licensing_activation_button",path:"licensing/activation",page:"my-plan"})})),o()(this,"trackRecommendationsClick",(()=>{b.Z.tracks.recordJetpackClick({target:"recommendations-button",page:"my-plan"})}))}getProductProps(e){const{displayBackups:t,dateFormat:n,purchases:r}=this.props,i={productSlug:e};if(!e)return{...i,isPlaceholder:!0};const s=(0,f.find)(r,(t=>t.product_slug===e));let o,a;switch(s&&(o=c().createElement(_.Z,{dateFormat:n,expiryDate:s.expiry_date,purchaseDate:s.subscribed_date,isRefundable:s.is_refundable}),a="1"===s.active?c().createElement(M.w,null):null),(0,C.sc)(e)){case"is-free-plan":return{...i,tagLine:(0,m.createInterpolateElement)(__("Worried about security? Get backups, automated security fixes and more: <a>Upgrade now</a>","jetpack"),{a:c().createElement(E.Z,{source:"my-plan-header-free-plan-text-link",target:"upgrade-now",feature:"my-plan-header-free-upgrade"})}),title:__("Jetpack Free","jetpack")};case"is-personal-plan":return{...i,details:o,tagLine:t?__("Daily backups, spam filtering, and priority support.","jetpack"):__("Spam filtering and priority support.","jetpack",0),title:__("Jetpack Personal","jetpack")};case"is-premium-plan":return{...i,details:[a,o],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Premium","jetpack")};case"is-business-plan":return{...i,details:[a,o],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Professional","jetpack")};case"is-security-t1-plan":return{...i,details:[a,o],tagLine:(0,m.createInterpolateElement)((0,g.sprintf)(
+__("Unlock %s and more amazing features","jetpack"),this.props.connectingUserFeatureLabel):__("Unlock all the amazing features of Jetpack by connecting now","jetpack"),buttonLabel:__("Connect your user account","jetpack"),redirectUri:"admin.php?page=jetpack"},a().createElement("ul",null,a().createElement("li",null,__("Receive instant downtime alerts","jetpack")),a().createElement("li",null,__("Automatically share your content on social media","jetpack")),a().createElement("li",null,__("Let your subscribers know when you post","jetpack")),a().createElement("li",null,__("Receive notifications about new likes and comments","jetpack")),a().createElement("li",null,__("Let visitors share your content on social media","jetpack")),a().createElement("li",null,(0,H.createInterpolateElement)(__("And more! <a>See all Jetpack features</a>","jetpack"),{a:a().createElement("a",{href:(0,p.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"})}),a().createElement("a",{className:"jp-connection-screen-icon",href:(0,p.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"},a().createElement(h.Dashicon,{icon:"external"})))));if(!this.props.userCanManageModules)return!!this.props.siteConnectionStatus&&a().createElement("div",{"aria-live":"assertive"},a().createElement(U.Z,this.props));if(this.isMainConnectScreen())return a().createElement(d.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right.jpg"],assetBaseUrl:this.props.pluginBaseUrl,autoTrigger:this.shouldAutoTriggerConnection(),redirectUri:"admin.php?page=jetpack"},a().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack")),a().createElement("ul",null,a().createElement("li",null,__("Measure your impact with beautiful stats","jetpack")),a().createElement("li",null,__("Speed up your site with optimized images","jetpack")),a().createElement("li",null,__("Protect your site against bot attacks","jetpack")),a().createElement("li",null,__("Get notifications if your site goes offline","jetpack")),a().createElement("li",null,__("Enhance your site with dozens of other features","jetpack"))));const n=a().createElement(k.Z,{routeName:this.props.routeName,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl});let s,r=a().createElement(v.Z,{routeName:this.props.routeName});switch(e){case"/dashboard":case"/reconnect":case"/disconnect":case"/connect-user":case"/woo-setup":case"/setup":s=a().createElement(O.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/my-plan":s=a().createElement(P.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/plans":case"/plans-prompt":window.location.href=(0,p.Z)("jetpack-plans",{site:this.props.siteRawUrl});break;case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/traffic":case"/privacy":r=n,s=a().createElement(_.Z,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,searchTerm:this.props.searchTerm,rewindStatus:this.props.rewindStatus,userCanManageModules:this.props.userCanManageModules});break;case"/license/activation":this.props.isLinked&&this.props.isConnectionOwner?(r=null,s=a().createElement($.I,{siteRawUrl:this.props.siteRawUrl,onActivationSuccess:this.onLicenseActivationSuccess,siteAdminUrl:this.props.siteAdminUrl,currentRecommendationsStep:this.props.currentRecommendationsStep})):(this.props.history.replace("/dashboard"),s=this.getAtAGlance());break;case"/recommendations":case"/recommendations/site-type":case"/recommendations/product-suggestions":case"/recommendations/product-purchased":case"/recommendations/woocommerce":case"/recommendations/monitor":case"/recommendations/related-posts":case"/recommendations/creative-mail":case"/recommendations/site-accelerator":case"/recommendations/publicize":case"/recommendations/security-plan":case"/recommendations/anti-spam":case"/recommendations/videopress":case"/recommendations/summary":this.props.showRecommendations?s=a().createElement(N.V,null):(this.props.history.replace("/dashboard"),s=this.getAtAGlance());break;default:if(T.w7.includes(e)){s=a().createElement(x.Z,null);break}this.props.history.replace("/dashboard"),s=this.getAtAGlance()}return this.props.isWoaSite?window.wpNavMenuClassChange({dashboard:1,settings:1}):window.wpNavMenuClassChange(),a().createElement("div",{"aria-live":"assertive",className:""+(this.shouldBlurMainContent()?"blur":"")},r,s)})),this.closeReconnectModal=this.closeReconnectModal.bind(this),this.onLicenseActivationSuccess=this.onLicenseActivationSuccess.bind(this)}UNSAFE_componentWillMount(){this.props.setInitialState(),D.ZP.setApiRoot(this.props.apiRoot),D.ZP.setApiNonce(this.props.apiNonce),this.initializeAnalytics(),window.addEventListener("beforeunload",this.props.clearUnsavedSettingsFlag),this.props.isSiteConnected&&I.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion})}componentDidMount(){const e=jQuery(".jp-jetpack-connect__container"),t=jQuery(".jp-connect-full__container");e&&t.length>0&&t.prependTo(e),this.props.isWooCommerceActive&&!this.props.hasSeenWCConnectionModal&&this.props.userCanManageModules&&this.props.history.replace({pathname:"/woo-setup",state:{previousPath:this.props.location.pathname}})}shouldComponentUpdate(e){return!["/wpbody-content","/wp-toolbar"].includes(e.location.pathname)&&(JSON.stringify(e.connectionStatus)!==JSON.stringify(this.props.connectionStatus)||e.siteConnectionStatus!==this.props.siteConnectionStatus||e.isLinked!==this.props.isLinked||e.isConnectingUser!==this.props.isConnectingUser||e.location.pathname!==this.props.location.pathname||e.searchTerm!==this.props.searchTerm||e.rewindStatus!==this.props.rewindStatus||e.areThereUnsavedSettings!==this.props.areThereUnsavedSettings||e.isReconnectingSite!==this.props.isReconnectingSite)}componentDidUpdate(e){if(e.location.pathname!==this.props.location.pathname&&this.props.isSiteConnected&&I.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion}),e.siteConnectionStatus!==this.props.siteConnectionStatus){const e=jQuery("#toplevel_page_jetpack").find("ul.wp-submenu li");e.find('a[href$="#/settings"]').hide(),e.find('a[href$="admin.php?page=stats"]').hide(),e.find('a[href$="admin.php?page=jetpack-search"]').hide()}this.props.setConnectionStatus(this.props.connectionStatus)}getAtAGlance(){return a().createElement(O.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus})}shouldShowAppsCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&K.includes(this.props.location.pathname)}shouldShowSupportCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&K.includes(this.props.location.pathname)}shouldShowRewindStatus(){return this.props.isSiteConnected&&K.includes(this.props.location.pathname)}shouldShowMasthead(){return[...K,...W,...G].includes(this.props.location.pathname)}shouldShowFooter(){return[...K,...G,...W,...T.w7].includes(this.props.location.pathname)}shouldBlurMainContent(){return this.props.isReconnectingSite}shouldShowReconnectModal(){return"/reconnect"===this.props.location.pathname}closeReconnectModal(){this.props.history.replace("/dashboard")}isMainConnectScreen(){return!1===this.props.siteConnectionStatus&&this.props.userCanConnectSite}isUserConnectScreen(){return"/connect-user"===this.props.location.pathname}shouldShowWooConnectionScreen(){return"/woo-setup"===this.props.location.pathname}shouldConnectUser(){return this.props.isConnectingUser}connectUser(){this.props.resetConnectUser(),this.props.history.replace("/connect-user")}isLicensingScreen(){return this.props.location.pathname.startsWith("/license")}shouldAutoTriggerConnection(){return this.props.location.pathname.startsWith("/setup")}onLicenseActivationSuccess(){this.props.updateUserLicensesCounts().then((()=>{this.props.updateLicensingActivationNoticeDismiss()})),this.props.fetchSiteData(),this.props.fetchSitePurchases(),this.props.fetchModules(),this.props.fetchSettings()}render(){const e=["jp-lower"];return this.isMainConnectScreen()&&e.push("jp-main-connect-screen"),this.isUserConnectScreen()&&e.push("jp-user-connect-screen"),this.isLicensingScreen()&&e.push("jp-licensing-screen"),a().createElement("div",null,this.shouldShowReconnectModal()&&a().createElement(B.Z,{show:!0,onHide:this.closeReconnectModal}),this.shouldShowMasthead()&&a().createElement(f.Z,{location:this.props.location}),a().createElement("div",{className:e.join(" ")},this.shouldShowRewindStatus()&&a().createElement(F.Z,null),a().createElement(L.Z,null),a().createElement(R.ZP,null),this.shouldConnectUser()&&this.connectUser(),a().createElement(c.NL,{when:this.props.areThereUnsavedSettings,message:this.handleRouterWillLeave}),this.renderMainContent(this.props.location.pathname),this.shouldShowSupportCard()&&a().createElement(A.Z,{path:this.props.location.pathname}),this.shouldShowAppsCard()&&a().createElement(Z.Z,null)),this.shouldShowFooter()&&a().createElement(M.Z,{siteAdminUrl:this.props.siteAdminUrl}),a().createElement(z.Z,{analytics:I.Z}))}}t.Z=(0,o.$j)((e=>({isOfflineMode:(0,w.Ex)(e),connectionStatus:(0,w.Zp)(e),siteConnectionStatus:(0,w.Gz)(e),isLinked:(0,w.BU)(e),isConnectingUser:(0,w.zq)(e),hasConnectedOwner:(0,w.it)(e),isConnectionOwner:(0,w.QM)(e),siteRawUrl:(0,b.JR)(e),siteAdminUrl:(0,b.wW)(e),searchTerm:(0,S.He)(e),apiRoot:(0,b.yB)(e),apiNonce:(0,b.VY)(e),registrationNonce:(0,b.H$)(e),tracksUserData:(0,b.hv)(e),areThereUnsavedSettings:(0,j.GD)(e),userCanManageModules:(0,b.pK)(e),userCanConnectSite:(0,b.Mc)(e),isSiteConnected:(0,w.q7)(e),isReconnectingSite:(0,w.O_)(e),rewindStatus:(0,V.of)(e),currentVersion:(0,b.w1)(e),showRecommendations:(0,b.mb)(e),pluginBaseUrl:(0,b.wB)(e),connectUrl:(0,w.AM)(e),connectingUserFeatureLabel:(0,w.xP)(e),isWoaSite:(0,b.Pw)(e),isWooCommerceActive:(0,b.nP)(e),hasSeenWCConnectionModal:(0,w.rH)(e),partnerCoupon:(0,b.DV)(e),currentRecommendationsStep:(0,b.rd)(e)})),(e=>({setInitialState:()=>e((0,b.KY)()),clearUnsavedSettingsFlag:()=>e((0,j._1)()),reconnectSite:()=>e((0,w.xK)()),setHasSeenWCConnectionModal:()=>e((0,w.qJ)()),resetConnectUser:()=>e((0,w.HD)()),updateLicensingActivationNoticeDismiss:()=>e((0,y.bT)()),updateUserLicensesCounts:()=>e((0,y.Ng)()),fetchSiteData:()=>e((0,C.tO)()),fetchSitePurchases:()=>e((0,C.Z_)()),fetchModules:()=>e((0,E.Z$)()),fetchSettings:()=>e((0,j.wv)())})))((0,g.withDispatch)((e=>({setConnectionStatus:t=>{e(m.t).setConnectionStatus(t)}})))((0,c.EN)(Y))),window.wpNavMenuClassChange=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{dashboard:1,settings:2},t=window.location.hash;jQuery(".current").each((function(e,t){jQuery(t).removeClass("current")}));const n=e=>jQuery("#toplevel_page_jetpack").find("li").filter((function(t){return t===e}))[0];t=t.split("?")[0].replace(/#/,""),K.includes(t)||W.includes(t)||T.w7.includes(t)?n(e.dashboard).classList.add("current"):G.includes(t)&&n(e.settings).classList.add("current");const s=jQuery("body");s.on("click",'a[href$="#/dashboard"], a[href$="#/settings"], .jp-dash-section-header__settings[href="#/security"], .dops-button[href="#/my-plan"], .dops-button[href="#/plans"], .jp-dash-section-header__external-link[href="#/security"]',(function(){window.scrollTo(0,0)})),s.on("click",".jetpack-js-stop-propagation",(function(e){e.stopPropagation()}))}},6257:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var s=n(2819),r=n(3184);function i(e){(0,s.assign)(e,r.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},8106:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(3002),o=n(9270),c=n(6300),l=n(2709),p=n(9308),u=n(1863);t.Z=(0,i.$j)((e=>({activeFeatures:(0,a.$l)(e),activeProducts:(0,a.p)(e),availableFeatures:(0,a.ms)(e),getSiteConnectionStatus:()=>(0,c.Gz)(e),purchases:(0,a.qn)(e),sitePlan:(0,a.UL)(e)})))((function(e){let t=e.sitePlan.product_slug||"",n=e.availableFeatures,s=e.activeFeatures;return"offline"===e.getSiteConnectionStatus(e)&&(t="offline",n={},s={}),r().createElement(r().Fragment,null,r().createElement(o.Z,null),r().createElement(u.Z,{siteRawUrl:e.siteRawUrl}),r().createElement(l.Z,{activeProducts:e.activeProducts,plan:t,purchases:e.purchases,siteAdminUrl:e.siteAdminUrl}),r().createElement(p.Z,{activeFeatures:s,availableFeatures:n,plan:t,rewindStatus:e.rewindStatus,siteAdminUrl:e.siteAdminUrl,siteRawUrl:e.siteRawUrl}))}))},8669:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5162),a=n.n(i),o=n(4069),c=n(1459),l=n(800);const p=e=>{const{additionalEventProperties:t,productSlug:n,action:i,title:a,tagLine:p,trackingId:u}=e;(0,s.useEffect)((()=>{o.Z.tracks.recordEvent("jetpack_my_plan_banner_view",{type:u,...t})}),[t,u]);const d=(0,s.useCallback)((()=>{o.Z.tracks.recordJetpackClick({target:u,feature:"my-plan-banner",page:"my-plan",...t})}),[t,u]);return r().createElement("div",{className:"jp-my-plan-banner"},r().createElement("div",{className:"jp-my-plan-banner__card dops-card",style:{backgroundImage:`url(${l.hp}jetpack-banner-gradient.png)`}},r().createElement(c.Z,{productSlug:n,action:r().cloneElement(i,{onClick:d}),title:a,tagLine:p})))};p.propTypes={action:a().element.isRequired,productSlug:a().string.isRequired,trackingId:a().string.isRequired,additionalEventProperties:a().object,tagLine:a().oneOfType([a().string,a().node,a().element]),title:a().oneOfType([a().string,a().node,a().element])},t.Z=p},9308:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(9309),p=n(5736),u=n(6324),d=n(4069),m=n(7506),h=n(9584),g=n(2819),f=n(800),v=n(1372),k=n(416),_=n(1952),y=n(1834),E=n(3002),w=n(7679),b=n(9508);const __=p.__;class C extends a().Component{constructor(){super(...arguments),r()(this,"trackPlansClick",(e=>{d.Z.tracks.recordJetpackClick({page:"my-plan",target:e,plan:this.props.plan})})),r()(this,"handleButtonClickForTracking",(e=>()=>this.trackPlansClick(e))),r()(this,"activateAds",(()=>{this.props.activateModule("wordads"),this.trackPlansClick("activate_wordads")})),r()(this,"activatePublicize",(()=>{this.props.activateModule("publicize"),this.trackPlansClick("activate_publicize")})),r()(this,"activateVideoPress",(()=>{this.props.activateFeature("videopress"),this.trackPlansClick("activate_videopress")})),r()(this,"activateGoogleAnalytics",(()=>{this.props.activateModule("google-analytics"),this.trackPlansClick("activate_ga")}))}render(){let e="";const t="offline"!==this.props.plan?(0,h.sc)(this.props.plan):"offline",n=(0,g.includes)(["is-premium-plan","is-business-plan","is-security-t1-plan","is-security-t2-plan","is-complete-plan","is-daily-security-plan","is-realtime-security-plan"],t),s="active"===(0,g.get)(this.props.rewindStatus,["state"],!1),r=!this.props.showBackups||!s&&"unavailable"!==(0,g.get)(this.props.rewindStatus,["state"],!1),i=e=>{const{title:t,description:n}=e;return a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site securely backed up with Jetpack Backup","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},t),a().createElement("p",null,n),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("view_backup_dash"),href:(0,u.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your backups","jetpack"))))},o=()=>{if(r)return;if(s)return a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site backups","jetpack")),a().createElement("p",null,__("Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.","jetpack")),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("view_security_dash_rewind"),href:(0,u.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your security activity","jetpack"))));let e="";switch(t){case"is-personal-plan":e=__("Daily backup of all your site data with unlimited space and one-click restores","jetpack");break;case"is-premium-plan":e=__("Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;case"is-business-plan":e=__("Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;default:e=""}return a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site security","jetpack")),a().createElement("p",null,e+__(" (powered by VaultPress).","jetpack")),this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("view_security_dash"),href:(0,u.Z)("vaultpress-dashboard")},__("View your security dashboard","jetpack")):a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("configure_vault"),href:(0,u.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:"only=vaultpress"})},__("View settings","jetpack"))))};let c;"is-daily-backup-plan"===t&&(c=i({title:__("Automated Daily Backups","jetpack"),description:__("We back up your website every day, so you never have to worry about your data again.","jetpack")})),["is-backup-t1-plan","is-backup-t2-plan","is-realtime-backup-plan"].includes(t)&&(c=i({title:__("Automated real-time backups","jetpack"),description:__("We back up your website with every change you make, making it easy to fix your mistakes.","jetpack")}));const l=()=>a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-search-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site with the power of Jetpack Search","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Instant search and filtering","jetpack")),a().createElement("p",null,__("Relevant search results and filtering tightly integrated with your theme.","jetpack")),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("view_search_customizer"),href:this.props.siteAdminUrl+"admin.php?page=jetpack-search-configure"},__("Customize Search","jetpack"))));switch(t){case"is-personal-plan":case"is-premium-plan":case"is-security-t1-plan":case"is-security-t2-plan":case"is-business-plan":case"is-complete-plan":case"is-daily-security-plan":case"is-realtime-security-plan":e=a().createElement("div",{className:"jp-landing__plan-features"},"is-personal-plan"===t&&o(),"is-premium-plan"===t&&o(),"is-business-plan"===t&&o(),this.props.hasInstantSearch&&l(),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-speed-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),a().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("paid_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance"},__("Make your site faster","jetpack")))),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-spam.svg",className:"jp-landing__plan-features-icon",alt:__("A folder holding real comments","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Anti-spam","jetpack")),a().createElement("p",null,__("Spam is automatically blocked from your comments.","jetpack")),this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("view_spam_stats"),href:this.props.siteAdminUrl+"admin.php?page=akismet-key-config"},__("View your spam stats","jetpack")):a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("configure_akismet"),href:(0,u.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:"only=akismet"})},__("View settings","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("videopress")&&a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-video-hosting.svg",className:"jp-landing__plan-features-icon",alt:__("A cloud with multiple types of content floating around it","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("VideoPress","jetpack")),a().createElement("p",null,__("High-speed, high-definition video hosting with no third-party ads.","jetpack")),this.props.getFeatureState("videopress")?a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("upload_videos"),href:this.props.siteAdminUrl+"upload.php"},__("Upload videos","jetpack")):a().createElement(m.Z,{onClick:this.activateVideoPress,disabled:this.props.isActivatingFeature("videopress")},__("Activate VideoPress","jetpack")))),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-site-activity.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),a().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),href:(0,u.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your site activity","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("wordads")&&a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-wordads.svg",className:"jp-landing__plan-features-icon",alt:__("A chart showing an healthy increase in earnings","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Monetize your site with ads","jetpack")),a().createElement("p",null,__("WordAds lets you earn money by displaying promotional content. Start earning today.","jetpack")),this.props.isModuleActivated("wordads")?a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("view_earnings"),href:(0,u.Z)("wpcom-ads-earnings",{site:this.props.siteRawUrl})},__("View your earnings","jetpack")):a().createElement(m.Z,{onClick:this.activateAds,disabled:this.props.isActivatingModule("wordads")},__("Start earning","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("google-analytics")&&a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-google-analytics.svg",className:"jp-landing__plan-features-icon",alt:__("Site stats showing an evolution in traffic and engagement","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Google Analytics","jetpack")),a().createElement("p",null,__("Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.","jetpack")),this.props.isModuleActivated("google-analytics")?a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("configure_ga"),href:(0,u.Z)("calypso-marketing-traffic",{site:this.props.siteRawUrl})},__("Configure Google Analytics","jetpack")):a().createElement(m.Z,{onClick:this.activateGoogleAnalytics,disabled:this.props.isActivatingModule("google-analytics")},__("Activate Google Analytics","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("publicize")&&a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-marketing.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Marketing automation","jetpack")),a().createElement("p",null,__("Schedule unlimited tweets, Facebook posts, and other social posts in advance.","jetpack")),this.props.isModuleActivated("publicize")?a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("schedule_posts"),href:(0,u.Z)("calypso-edit-posts",{site:this.props.siteRawUrl})},__("Schedule posts","jetpack")):a().createElement(m.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize")},__("Activate Publicize","jetpack")))));break;case"is-free-plan":case"is-backup-t0-plan":case"is-backup-t1-plan":case"is-backup-t2-plan":case"is-search-plan":case"offline":case"is-daily-backup-plan":case"is-realtime-backup-plan":e=a().createElement("div",{className:"jp-landing__plan-features"},c,this.props.hasInstantSearch&&l(),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Always-on security","jetpack")),a().createElement("p",null,__("Prevent login attacks, and get instant notifications when there’s an issue with your site.","jetpack")),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("free_security"),href:(0,u.Z)("calypso-settings-security",{site:this.props.siteRawUrl})},__("Set up your site security","jetpack")))),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-speed-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),a().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("free_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance"},__("Make your site faster","jetpack")))),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-themes.svg",className:"jp-landing__plan-features-icon",alt:__("A wide variety of themes and tools to customize a site","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Design the perfect website","jetpack")),a().createElement("p",null,__("Get access to professionally crafted themes offered on WordPress.com, and customize your site exactly how you like it.","jetpack")),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("free_themes"),href:(0,u.Z)("calypso-themes",{site:this.props.siteRawUrl})},__("Explore themes","jetpack")))),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-performance-icon.svg",className:"jp-landing__plan-features-icon",alt:__("Site stats showing an evolution in traffic and engagement","jetpack")})),"inactive"!==this.props.getModuleOverride("publicize")&&a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Increase traffic to your site","jetpack")),a().createElement("p",null,__("Reach a wider audience by automatically sharing your posts on social media.","jetpack")),this.props.isModuleActivated("publicize")?a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("free_sharing"),href:(0,u.Z)("calypso-marketing-connections",{site:this.props.siteRawUrl})},__("Start sharing","jetpack")):a().createElement(m.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize")},__("Activate Publicize","jetpack")))),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-site-activity.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),a().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),href:(0,u.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your site activity","jetpack")))),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("div",{className:"jp-landing__plan-features-img"},a().createElement("img",{src:f.hp+"/jetpack-support.svg",className:"jp-landing__plan-features-icon",alt:__("Chat bubbles representing getting in touch with support","jetpack")})),a().createElement("div",{className:"jp-landing__plan-features-text"},a().createElement("h3",{className:"jp-landing__plan-features-title"},__("Support documentation","jetpack")),a().createElement("p",null,__("Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.","jetpack")),a().createElement(m.Z,{onClick:this.handleButtonClickForTracking("free_support_documentation"),href:(0,u.Z)("jetpack-support")},__("Search support docs","jetpack")))));break;default:e=a().createElement("div",{className:"jp-landing__plan-features is-loading"},a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),a().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),a().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),a().createElement("div",{className:"jp-landing__plan-features-card"},a().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),a().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return a().createElement("div",null,a().createElement(w.Z,null),e)}}r()(C,"propTypes",{plan:c().string}),r()(C,"defaultProps",{plan:""}),t.Z=(0,l.$j)((e=>({hasInstantSearch:(0,E.P2)(e,"instant-search"),isFetchingPluginsData:(0,v.vz)(e),isPluginActive:t=>(0,v.TB)(e,t),isPluginInstalled:t=>(0,v.P8)(e,t),isModuleActivated:t=>(0,k.mp)(e,t),isActivatingModule:t=>(0,k.ZY)(e,t),getModuleOverride:t=>(0,k.Qy)(e,t),showBackups:(0,b.xR)(e),getFeatureState:t=>(0,y.$8)(e,t),isActivatingFeature:t=>(0,y.Cu)(e,t)})),(e=>({fetchPluginsData:()=>e((0,v.s4)()),activateModule:t=>e((0,k.d)(t)),activateFeature:t=>e((0,_.VP)({[t]:!0}))})))(C)},1459:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5162),a=n.n(i),o=n(5235),c=n.n(o),l=n(3234);const p=e=>{let{productSlug:t,action:n,isError:s,isPlaceholder:i,details:a,tagLine:o,title:p}=e;const u=c()("my-plan-card",{"is-placeholder":i,"has-action-only":n&&!a&&!i}),d=c()("my-plan-card__details",{"is-error":s});return r().createElement("div",{className:u},r().createElement("div",{className:"my-plan-card__primary"},r().createElement("div",{className:"my-plan-card__icon"},t&&r().createElement(l.Z,{plan:t,alt:p})),r().createElement("div",{className:"my-plan-card__header"},p&&r().createElement("h2",{className:"my-plan-card__title"},p),o&&r().createElement("p",{className:"my-plan-card__tag-line"},o))),(a||n||i)&&r().createElement("div",{className:"my-plan-card__secondary"},r().createElement("div",{className:d},i?null:a),r().createElement("div",{className:"my-plan-card__action"},i?null:n)))};p.propTypes={productSlug:a().string.isRequired,action:a().oneOfType([a().node,a().element]),isError:a().bool,isPlaceholder:a().bool,details:a().oneOfType([a().string,a().node,a().element]),tagLine:a().oneOfType([a().string,a().node,a().element]),title:a().oneOfType([a().string,a().node,a().element])},t.Z=p},2709:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5162),p=n.n(l),u=n(9309),d=n(5235),m=n.n(d),h=n(2819),g=n(9307),f=n(5736),v=n(6324),k=n(5609),_=n(4069),y=n(7506),E=n(5799),w=n(8833),b=n(7834),C=n(9584),j=n(9508),S=n(9963),N=n(420),x=n(7487),T=n(1459);const __=f.__,_n=f._n,_x=f._x;class O extends c().Component{constructor(){var e;super(...arguments),e=this,a()(this,"renderLicensingActions",(function(){var t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"header";const{hasDetachedUserLicenses:s,showRecommendations:r,siteAdminUrl:i,purchases:a}=e.props;if(!r)return null;const o=!(null==a||!a.length)&&"header"===n;return c().createElement(E.Z,{compact:!0},c().createElement("div",{className:"jp-landing__licensing-actions"},"header"===n&&c().createElement("span",null,__("Got a license key? Activate it here.","jetpack")),c().createElement("div",{className:m()("jp-landing__licensing-actions-item",{"no-licenses":!s,"no-purchases":!o})},o&&c().createElement(k.ExternalLink,{className:"all-purchases__link",href:(0,v.Z)("calypso-purchases"),onClick:e.trackAllPurchasesClick},__("View all purchases","jetpack")),"header"===n?c().createElement(y.Z,{href:null!==(t=window.Initial_State)&&void 0!==t&&t.useMyJetpackLicensingUI?i+"admin.php?page=my-jetpack#/add-license":i+"admin.php?page=jetpack#/license/activation",onClick:e.trackLicenseActivationClick,primary:!0},_x("Activate a Product","Navigation item.","jetpack")):c().createElement(y.Z,{href:i+"admin.php?page=jetpack#/recommendations",onClick:e.trackRecommendationsClick,primary:!0},_x("Recommendations","Navigation item.","jetpack")))))})),a()(this,"trackAllPurchasesClick",(()=>{_.Z.tracks.recordJetpackClick({target:"calypso_purchases_link",page:"my-plan"})})),a()(this,"trackLicenseActivationClick",(()=>{_.Z.tracks.recordJetpackClick({target:"licensing_activation_button",path:"licensing/activation",page:"my-plan"})})),a()(this,"trackRecommendationsClick",(()=>{_.Z.tracks.recordJetpackClick({target:"recommendations-button",page:"my-plan"})}))}getProductProps(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const{displayBackups:n,dateFormat:s,purchases:r}=this.props,i={productSlug:e};if(!e)return{...i,isPlaceholder:!0};const a=(0,h.find)(r,(t=>t.product_slug===e));let o,l;switch(a&&(o=c().createElement(w.Z,{key:"product-expiration",dateFormat:s,expiryDate:a.expiry_date,purchaseDate:a.subscribed_date,isRefundable:a.is_refundable}),l="1"===a.active?c().createElement(N.w,{key:"product-activated"}):null),(0,C.sc)(e)){case"is-free-plan":{let e=__("Worried about security? Get backups, automated security fixes and more: <a>Upgrade now</a>","jetpack");if(t.length){const n=t.some((e=>{let{product_slug:t}=e;return C.jT.includes(t)})),s=t.some((e=>{let{product_slug:t}=e;return C.Cb.includes(t)}));n&&s?e=__("Upgrade your site to access additional features, including spam protection and priority support: <a>Upgrade now</a>","jetpack"):n?e=__("Upgrade your site to access additional features, including spam protection, security scanning, and priority support: <a>Upgrade now</a>","jetpack"):s&&(e=__("Upgrade your site to access additional features, including spam protection, backups, and priority support: <a>Upgrade now</a>","jetpack"))}return{...i,tagLine:(0,g.createInterpolateElement)(e,{a:c().createElement(b.Z,{source:"my-plan-header-free-plan-text-link",target:"upgrade-now",feature:"my-plan-header-free-upgrade"})}),title:__("Jetpack Free","jetpack")}}case"is-personal-plan":return{...i,details:o,tagLine:n?__("Daily backups, spam filtering, and priority support.","jetpack"):__("Spam filtering and priority support.","jetpack",0),title:__("Jetpack Personal","jetpack")};case"is-premium-plan":return{...i,details:[l,o],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Premium","jetpack")};case"is-business-plan":return{...i,details:[l,o],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Professional","jetpack")};case"is-security-t1-plan":return{...i,details:[l,o],tagLine:(0,g.createInterpolateElement)((0,f.sprintf)(
/* translators: %1$d is the number of gigabytes of storage space the site has. */
-_n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.",10,"jetpack"),10),{strong:c().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-security-t2-plan":return{...i,details:[a,o],tagLine:(0,m.createInterpolateElement)((0,g.sprintf)(
+_n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.",10,"jetpack"),10),{strong:c().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-security-t2-plan":return{...i,details:[l,o],tagLine:(0,g.createInterpolateElement)((0,f.sprintf)(
/* translators: %1$d is the number of gigabytes of storage space the site has. */
-_n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dTB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dTB</strong> of storage space.",1,"jetpack"),1),{strong:c().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-complete-plan":return{...i,details:[a,o],tagLine:__("The most powerful WordPress sites: Top-tier security bundle, enhanced search.","jetpack"),title:__("Jetpack Complete","jetpack")};case"is-backup-t1-plan":return{...i,details:[a,o],tagLine:(0,m.createInterpolateElement)((0,g.sprintf)(
+_n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dTB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dTB</strong> of storage space.",1,"jetpack"),1),{strong:c().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-complete-plan":return{...i,details:[l,o],tagLine:__("The most powerful WordPress sites: Top-tier security bundle, enhanced search.","jetpack"),title:__("Jetpack Complete","jetpack")};case"is-backup-t0-plan":return{...i,details:[l,o],tagLine:(0,g.createInterpolateElement)((0,f.sprintf)(
/* translators: %1$d is the number of gigabytes of storage space the site has. */
-_n("Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.","Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.",10,"jetpack"),10),{strong:c().createElement("strong",null)}),title:__("Jetpack Backup","jetpack")};case"is-backup-t2-plan":return{...i,details:[a,o],tagLine:(0,m.createInterpolateElement)((0,g.sprintf)(
+_n("Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.","Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.",1,"jetpack"),1),{strong:c().createElement("strong",null)}),title:__("Jetpack Backup","jetpack")};case"is-backup-t1-plan":return{...i,details:[l,o],tagLine:(0,g.createInterpolateElement)((0,f.sprintf)(
+/* translators: %1$d is the number of gigabytes of storage space the site has. */
+_n("Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.","Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.",10,"jetpack"),10),{strong:c().createElement("strong",null)}),title:__("Jetpack Backup","jetpack")};case"is-backup-t2-plan":return{...i,details:[l,o],tagLine:(0,g.createInterpolateElement)((0,f.sprintf)(
/* translators: %1$d is the number of terabytes of storage space the site has. */
-_n("Your data is being securely backed up as you edit. You have <strong>%1$dTB</strong> of storage space.","Your data is being securely backed up as you edit. You have <strong>%1$dTB</strong> of storage space.",1,"jetpack"),1),{strong:c().createElement("strong",null)}),title:__("Jetpack Backup","jetpack")};case"is-search-plan":return{...i,details:[a,o],tagLine:__("Fast, highly relevant search results and powerful filtering.","jetpack"),title:__("Jetpack Search","jetpack")};case"is-scan-plan":return{...i,details:[a,o],tagLine:__("Automatic scanning and one-click fixes keep your site one step ahead of security threats.","jetpack"),title:(0,m.createInterpolateElement)(__("Jetpack Scan <em>Daily</em>","jetpack"),{em:c().createElement("em",null)})};case"is-anti-spam-plan":return{...i,details:[a,o],tagLine:__("Automatically clear spam from comments and forms. Save time, get more responses, give your visitors a better experience – all without lifting a finger.","jetpack"),title:__("Jetpack Anti-Spam","jetpack")};case"is-daily-security-plan":return{...i,details:o,tagLine:__("Enjoy the peace of mind of complete site protection. Great for brochure sites, restaurants, blogs, and resume sites.","jetpack"),title:__("Jetpack Security Daily","jetpack")};case"is-realtime-security-plan":return{...i,details:o,tagLine:__("Additional security for sites with 24/7 activity. Recommended for eCommerce stores, news organizations, and online forums.","jetpack"),title:__("Jetpack Security Real-Time","jetpack")};case"is-daily-backup-plan":return{...i,details:o,tagLine:__("Your data is being securely backed up every day with a 30-day archive.","jetpack"),title:(0,m.createInterpolateElement)(__("Jetpack Backup <em>Daily</em>","jetpack"),{em:c().createElement("em",null)})};case"is-realtime-backup-plan":return{...i,details:o,tagLine:__("Your data is being securely backed up as you edit.","jetpack"),title:(0,m.createInterpolateElement)(__("Jetpack Backup <em>Real-Time</em>","jetpack"),{em:c().createElement("em",null)})};case"is-videopress-plan":return{...i,details:[a,o],tagLine:__("High-quality, ad-free video built specifically for WordPress.","jetpack"),title:__("Jetpack VideoPress","jetpack")};default:return{...i,isPlaceholder:!0}}}renderPlan(){return c().createElement(c().Fragment,null,this.props.hasDetachedUserLicenses&&this.renderLicensingActions(),c().createElement(k.Z,{compact:!0},this.renderHeader(__("My Plan","jetpack")),c().createElement(N.Z,this.getProductProps(this.props.plan))))}renderProducts(){return(0,f.isEmpty)(this.props.activeProducts)?null:c().createElement(k.Z,{compact:!0},this.renderHeader(__("My Products","jetpack")),this.props.activeProducts.map((e=>{let{ID:t,product_slug:n}=e;return c().createElement(N.Z,i()({key:"product-card-"+t},this.getProductProps(n)))})))}renderHeader(e){return c().createElement("h3",{className:"jp-landing__card-header"},e)}renderFooter(){return!this.props.hasDetachedUserLicenses&&this.renderLicensingActions()}render(){return c().createElement("div",{className:"jp-landing__plans"},this.renderPlan(),this.renderProducts(),this.renderFooter(),this.props.showLicensingUi&&c().createElement(k.Z,{compact:!0},c().createElement(x.Z,null)))}}A.propTypes={activeProducts:u().array,plan:u().string,purchases:u().array,siteAdminUrl:u().string,dateFormat:u().string,displayBackups:u().bool,plansMainTopUpgradeUrl:u().string,showRecommendations:u().bool},t.Z=(0,p.$j)((e=>({dateFormat:(0,S.mh)(e),displayBackups:(0,S.xR)(e),plansMainTopUpgradeUrl:(0,S.Qq)(e,"plans-main-top"),showRecommendations:(0,S.mb)(e),showLicensingUi:(0,S.Yg)(e),hasDetachedUserLicenses:!!(0,j.O4)(e)})))(A)},61595:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(65736),o=n(2620),a=n(9913),c=n(15029),l=n(21094),u=n(19570),p=n(77219);const __=s.__,_x=s._x;t.Z=(0,o.$j)(null,{errorNotice:l.tF,successNotice:l.RT,updateUserLicensesCounts:p.Ng})((e=>{let{errorNotice:t,successNotice:n,updateUserLicensesCounts:s}=e;const[o,l]=(0,r.useState)(!1),[p,d]=(0,r.useState)(""),h=(0,r.useCallback)((e=>{d(e.target.value)}),[]),f=(0,r.useCallback)((()=>{p&&!o&&(l(!0),u.ZP.updateLicenseKey(p).then((()=>{s(),n(__("Jetpack license key added. It may take a minute for the license to be processed.","jetpack")),l(!1),d("")})).catch((()=>{t(__("Error adding Jetpack license key.","jetpack")),l(!1)})))}),[t,n,o,p,s]);return i().createElement("div",{className:"jp-landing__plan-features-header-jetpack-license"},i().createElement("h3",null,__("Jetpack License","jetpack")),i().createElement("p",null,__('If you have a Jetpack license key paste it here to queue it for activation. Once your license is processed your product will appear under "My Plan".',"jetpack")),i().createElement(c.Z,{name:"jetpack_license_key",className:"code",value:p,placeholder:__("Jetpack licence key","jetpack"),disabled:o,onChange:h}),i().createElement(a.Z,{primary:!0,compact:!0,onClick:f},o?_x("Applying…","Button caption","jetpack"):_x("Apply license","Button caption","jetpack",0)))}))},96892:function(e,t,n){"use strict";var r=n(90922),i=n.n(r),s=n(40767);const o=i()("calypso:notices");o("initializing notices");const a={containerNames:{}};(0,s.Z)(a);let c=[];const l={new:function(e,t,n){const r=t.overlay?"overlay-notices":"notices";a.containerNames[r]=r,o("creating notice",e,t,n),a[r]=[];const i={type:t.type||"message",status:n,text:e,duration:t.duration,container:r,button:t.button,href:t.href,onClick:e=>{if("function"==typeof t.onClick){const n=l.removeNotice.bind(l,i);return t.onClick(e,n)}},onRemoveCallback:t.onRemoveCallback||function(){},arrow:t.arrow,isCompact:t.isCompact,showDismiss:t.showDismiss,persistent:t.persistent};return t.displayOnNextPage?c.push(i):a[r].push(i),a.emit("change"),i},success:function(e,t){return t=t||{},this.new(e,t,"is-success")},error:function(e,t){return t=t||{},this.new(e,t,"is-error")},info:function(e,t){return t=t||{},this.new(e,t,"is-info")},warning:function(e,t){return t=t||{},this.new(e,t,"is-warning")},list:a,removeNotice:function(e){if(!e.container)return;const t=a[e.container],n=t.indexOf(e);-1!==n&&(t.splice(n,1),a.emit("change"))},clearNoticesOnNavigation:function(e,t){o("clearNoticesOnNavigation");let n,r,i=!1;const s=function(e){return e.persistent};for(r in a.containerNames)n=a[r].length,a[r]=a[r].filter(s),n!==a[r].length&&(i=!0);c.length&&(c.forEach((function(e){a[e.container]=[],a[e.container].push(e)})),c=[]),i&&a.emit("change"),t()},clearNotices:function(e){a[e]=[],a.emit("change")},getStatusHelper:function(e){return e.error?"is-error":e.warning?"is-warning":e.info?"is-info":e.success?"is-success":void 0}};t.Z=l},37755:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(2620),o=n(65736),a=n(93107),c=n(41147),l=n(19555),u=n(60742),p=n(27219),d=n(71045),h=n(90141),f=n(93039);const __=o.__;class m extends r.Component{render(){const e={getModule:this.props.module,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride,hasConnectedOwner:this.props.hasConnectedOwner},t=["photon","videopress","lazy-images","photon-cdn","search"].some(this.props.isModuleFound);return(this.props.searchTerm||this.props.active)&&t?i().createElement("div",null,i().createElement(p.Z,null),i().createElement(u.Z,{title:this.props.searchTerm?__("Performance","jetpack"):__("Load pages faster, optimize images, and speed up your visitors’ experience.","jetpack"),className:"jp-settings-description"}),i().createElement(h.Z,e),i().createElement(f.Z,e),i().createElement(d.Z,e)):null}}t.Z=(0,s.$j)((e=>({module:t=>(0,a.rT)(e,t),isUnavailableInOfflineMode:t=>(0,c.t_)(e,t),isModuleFound:t=>(0,l.CX)(e,t),getModuleOverride:t=>(0,a.Qy)(e,t),hasConnectedOwner:(0,c.it)(e)})))(m)},71045:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(92819),l=n(65736),u=n(71415),p=n(10618),d=n(81200),h=n(55735),f=n(85253),m=n(77222),g=n(5e4),v=n(84277),b=n(27006),y=n(66552),k=n(93107),w=n(19555),_=n(41147),E=n(88872);const __=l.__;class C extends o().Component{render(){const e=this.props.isModuleFound("videopress");if(!e)return null;const t=this.props.module("videopress"),n=(0,d.sc)(this.props.sitePlan.product_slug),{hasConnectedOwner:r,hasVideoPressLegacySecurityPlan:s,hasVideoPressPurchase:a,isFetching:l,isOffline:g,upgradeUrl:y,videoPressStorageUsed:k}=this.props,w=a&&null!==k,_=(0,c.includes)(["is-premium-plan","is-business-plan","is-complete-plan"],n)||s||a,E=a||null===k||0!==k?__("You have used your free video. Upgrade now to unlock more videos and 1TB of storage.","jetpack",0):__("1 free video available. Upgrade now to unlock more videos and 1TB of storage.","jetpack"),C=o().createElement(b.Z,{hasChild:!0,disableInOfflineMode:!0,module:t,support:{link:(0,u.Z)("jetpack-support-videopress")}},o().createElement(h.Gj,{className:"jp-form-label-wide"},__("VideoPress","jetpack")),o().createElement("p",null," ",__("Engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. With Jetpack VideoPress, you can customize your video player to deliver your message without the distraction.","jetpack")," "),w&&o().createElement("div",{className:"media__videopress-storage"},o().createElement("span",null,__("Video storage used out of 1TB:","jetpack")),o().createElement(p.Z,{value:k/1e4})),r&&o().createElement(m.T,{slug:"videopress",disabled:this.props.isUnavailableInOfflineMode("videopress"),activated:this.props.getOptionValue("videopress"),toggling:this.props.isSavingAnyOption("videopress"),toggleModule:this.props.toggleModuleNow},o().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable VideoPress","jetpack")))),S="inactive"===this.props.getModuleOverride("videopress"),j=e&&!_&&r&&!g&&!l;return o().createElement(v.Z,i()({},this.props,{header:__("Media","jetpack"),feature:!S&&d.BD,hideButton:!0}),e&&C,j&&o().createElement(f.Z,{className:"media__videopress-upgrade",callToAction:__("Upgrade","jetpack"),title:E,eventFeature:"videopress",icon:"video",plan:(0,d.o2)(d.qb),feature:"jetpack_videopress",href:y}))}}t.Z=(0,a.$j)((e=>({module:t=>(0,k.rT)(e,t),isModuleFound:t=>(0,w.CX)(e,t),sitePlan:(0,E.UL)(e),hasVideoPressPurchase:(0,E.jQ)(e),hasVideoPressLegacySecurityPlan:(0,E.qn)(e).find(d.dy),hasConnectedOwner:(0,_.it)(e),isOffline:(0,_.Ex)(e),isFetching:(0,E.GR)(e),getModuleOverride:t=>(0,k.Qy)(e,t),upgradeUrl:(0,y.Qq)(e,"videopress-upgrade"),videoPressStorageUsed:(0,E.VH)(e)})))((0,g.u)(C))},90141:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(65736),l=n(71415),u=n(60742),p=n(94069),d=n(81200),h=n(55735),f=n(41147),m=n(88872),g=n(17752),v=n(77222),b=n(84277),y=n(27006),k=n(5e4);const __=c.__,w=__("Incredibly powerful and customizable, Jetpack Search helps your visitors instantly find the right content – right when they need it.","jetpack"),_=__("Customize your Search experience.","jetpack"),E=__("Search supports many customizations. ","jetpack");t.Z=(0,a.$j)((e=>{const t=(0,d.sc)((0,m.UL)(e).product_slug);return{isLoading:(0,m.GR)(e),inOfflineMode:(0,f.Ex)(e),hasActiveSearchPurchase:(0,m.o$)(e),isBusinessPlan:"is-business-plan"===t,failedToEnableSearch:!(0,g.qg)(e,"search")&&!(0,g.Cu)(e,"search")&&!1===(0,g.p0)(e,"search")}}))((0,k.u)((function(e){const{failedToEnableSearch:t,hasActiveSearchPurchase:n,updateOptions:r}=e,a=e.getOptionValue("search"),c=e.getOptionValue("instant_search_enabled","search"),f=(0,s.useCallback)((()=>{const e={search:!a};c!==(n&&!a)&&(e.instant_search_enabled=n&&!a),r(e)}),[n,c,a,r]),m=(0,s.useCallback)((()=>{const e={instant_search_enabled:n&&!c};e.instant_search_enabled&&!a&&(e.search=!0),r(e)}),[n,c,a,r]);(0,s.useEffect)((()=>{t&&n&&(r({has_jetpack_search_product:!0}),f())}),[t,n,r,f]);const g=!!e.isSavingAnyOption("search"),k=!!e.isSavingAnyOption("instant_search_enabled"),C=g||k;return o().createElement(b.Z,i()({},e,{module:"search",feature:d.T5,hideButton:!0}),o().createElement(y.Z,{disableInOfflineMode:!0,hasChild:!0,module:{module:"search"},support:{text:E,link:(0,l.Z)("jetpack-support-search")}},o().createElement("p",null,e.inOfflineMode?__("Unavailable in Offline Mode","jetpack"):w),e.isLoading&&__("Loading…","jetpack"),!e.isLoading&&(e.isBusinessPlan||e.hasActiveSearchPurchase)&&o().createElement(s.Fragment,null,o().createElement(v.T,{activated:a,compact:!0,disabled:C,slug:"search",toggleModule:f,toggling:g},__("Enable Search","jetpack")),o().createElement(h.C_,null,o().createElement(p.Z,{checked:a&&c,disabled:C||!e.hasActiveSearchPurchase,onChange:m,toggling:k},o().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable instant search experience (recommended)","jetpack"))),o().createElement("p",{className:"jp-form-setting-explanation jp-form-search-setting-explanation"},__("Instant search will allow your visitors to get search results as soon as they start typing. If deactivated, Jetpack Search will still optimize your search results but visitors will have to submit a search query before seeing any results.","jetpack"))))),!e.isLoading&&(e.isBusinessPlan||e.hasActiveSearchPurchase)&&a&&!c&&o().createElement(u.Z,{compact:!0,className:"jp-settings-card__configure-link",href:"customize.php?autofocus[panel]=widgets"},__("Add Jetpack Search Widget","jetpack")),e.hasActiveSearchPurchase&&a&&c&&o().createElement(u.Z,{className:"jp-settings-card__configure-link",compact:!0,href:"admin.php?page=jetpack-search-configure"},_))})))},93039:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(71415),d=n(11973),h=n(94069),f=n(55735),m=n(41147),g=n(93107),v=n(19555),b=n(77222),y=n(84277),k=n(27006),w=n(5e4);const __=u.__,_=(0,w.u)(class extends a.Component{constructor(){super(...arguments),o()(this,"toggleModule",((e,t)=>{"photon"===e?!1==!t?this.props.updateOptions({photon:!1,"tiled-gallery":!1,tiled_galleries:!1}):this.props.updateOptions({photon:!0,"tiled-gallery":!0,tiled_galleries:!0}):this.props.updateOptions({[e]:!t})})),o()(this,"handleSiteAcceleratorChange",(()=>{let e=this.props.getOptionValue("photon"),t=this.props.getOptionValue("photon-cdn");const n=e||t,r=this.props.getModuleOverride("photon-cdn");let i=this.props.getModuleOverride("photon");if(this.props.isOfflineMode&&(i="inactive"),!0===n){const n={progress:__("Disabling site accelerator…","jetpack"),success:__("Site accelerator is no longer speeding up your site!","jetpack"),error:e=>(0,u.sprintf)(
+_n("Your data is being securely backed up as you edit. You have <strong>%1$dTB</strong> of storage space.","Your data is being securely backed up as you edit. You have <strong>%1$dTB</strong> of storage space.",1,"jetpack"),1),{strong:c().createElement("strong",null)}),title:__("Jetpack Backup","jetpack")};case"is-search-plan":return{...i,details:[l,o],tagLine:__("Fast, highly relevant search results and powerful filtering.","jetpack"),title:__("Jetpack Search","jetpack")};case"is-scan-plan":return{...i,details:[l,o],tagLine:__("Automatic scanning and one-click fixes keep your site one step ahead of security threats.","jetpack"),title:(0,g.createInterpolateElement)(__("Jetpack Scan <em>Daily</em>","jetpack"),{em:c().createElement("em",null)})};case"is-anti-spam-plan":return{...i,details:[l,o],tagLine:__("Automatically clear spam from comments and forms. Save time, get more responses, give your visitors a better experience – all without lifting a finger.","jetpack"),title:__("Jetpack Anti-Spam","jetpack")};case"is-daily-security-plan":return{...i,details:o,tagLine:__("Enjoy the peace of mind of complete site protection. Great for brochure sites, restaurants, blogs, and resume sites.","jetpack"),title:__("Jetpack Security Daily","jetpack")};case"is-realtime-security-plan":return{...i,details:o,tagLine:__("Additional security for sites with 24/7 activity. Recommended for eCommerce stores, news organizations, and online forums.","jetpack"),title:__("Jetpack Security Real-Time","jetpack")};case"is-daily-backup-plan":return{...i,details:o,tagLine:__("Your data is being securely backed up every day with a 30-day archive.","jetpack"),title:(0,g.createInterpolateElement)(__("Jetpack Backup <em>Daily</em>","jetpack"),{em:c().createElement("em",null)})};case"is-realtime-backup-plan":return{...i,details:o,tagLine:__("Your data is being securely backed up as you edit.","jetpack"),title:(0,g.createInterpolateElement)(__("Jetpack Backup <em>Real-Time</em>","jetpack"),{em:c().createElement("em",null)})};case"is-videopress-plan":return{...i,details:[l,o],tagLine:__("High-quality, ad-free video built specifically for WordPress.","jetpack"),title:__("Jetpack VideoPress","jetpack")};default:return{...i,isPlaceholder:!0}}}renderPlan(){return c().createElement(c().Fragment,null,this.renderLicensingActions(),c().createElement(E.Z,{compact:!0},this.renderHeader(__("My Plan","jetpack")),c().createElement(T.Z,this.getProductProps(this.props.plan,this.props.activeProducts))))}renderProducts(){return(0,h.isEmpty)(this.props.activeProducts)?null:c().createElement(E.Z,{compact:!0},this.renderHeader(__("My Products","jetpack")),this.props.activeProducts.map((e=>{let{ID:t,product_slug:n}=e;return c().createElement(T.Z,r()({key:"product-card-"+t},this.getProductProps(n)))})))}renderHeader(e){return c().createElement("h3",{className:"jp-landing__card-header"},e)}renderFooter(){return!this.props.hasDetachedUserLicenses&&this.renderLicensingActions("footer")}render(){return c().createElement("div",{className:"jp-landing__plans"},this.renderPlan(),this.renderProducts(),this.renderFooter(),this.props.showLicensingUi&&c().createElement(E.Z,{compact:!0},c().createElement(x.Z,null)))}}O.propTypes={activeProducts:p().array,plan:p().string,purchases:p().array,siteAdminUrl:p().string,dateFormat:p().string,displayBackups:p().bool,plansMainTopUpgradeUrl:p().string,showRecommendations:p().bool},t.Z=(0,u.$j)((e=>({dateFormat:(0,j.mh)(e),displayBackups:(0,j.xR)(e),plansMainTopUpgradeUrl:(0,j.Qq)(e,"plans-main-top"),showRecommendations:(0,j.mb)(e),showLicensingUi:(0,j.Yg)(e),hasDetachedUserLicenses:!!(0,S.O4)(e)})))(O)},7487:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5736),a=n(9309),o=n(7506),c=n(5549),l=n(1549),p=n(4743),u=n(9963);const __=i.__,_x=i._x;t.Z=(0,a.$j)(null,{errorNotice:l.tF,successNotice:l.RT,updateUserLicensesCounts:u.Ng})((e=>{let{errorNotice:t,successNotice:n,updateUserLicensesCounts:i}=e;const[a,l]=(0,s.useState)(!1),[u,d]=(0,s.useState)(""),m=(0,s.useCallback)((e=>{d(e.target.value)}),[]),h=(0,s.useCallback)((()=>{u&&!a&&(l(!0),p.ZP.updateLicenseKey(u).then((()=>{i(),n(__("Jetpack license key added. It may take a minute for the license to be processed.","jetpack")),l(!1),d("")})).catch((()=>{t(__("Error adding Jetpack license key.","jetpack")),l(!1)})))}),[t,n,a,u,i]);return r().createElement("div",{className:"jp-landing__plan-features-header-jetpack-license"},r().createElement("h3",null,__("Jetpack License","jetpack")),r().createElement("p",null,__('If you have a Jetpack license key paste it here to queue it for activation. Once your license is processed your product will appear under "My Plan".',"jetpack")),r().createElement(c.Z,{name:"jetpack_license_key",className:"code",value:u,placeholder:__("Jetpack licence key","jetpack"),disabled:a,onChange:m}),r().createElement(o.Z,{primary:!0,compact:!0,onClick:h},a?_x("Applying…","Button caption","jetpack"):_x("Apply license","Button caption","jetpack",0)))}))},1863:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(5162),o=n.n(a),c=n(6324),l=n(5736),p=n(7506),u=n(8669),d=n(9508);const __=l.__,m=e=>{let{partnerCoupon:t,siteRawUrl:n}=e;if("object"!=typeof t)return null;const s=r().createElement(p.Z,{primary:!0,href:(0,c.Z)("jetpack-plugin-partner-coupon-checkout",{path:t.product.slug,site:n,query:`coupon=${t.coupon_code}`})},__("Redeem","jetpack"));return r().createElement(u.Z,{productSlug:t.product.slug,action:s,title:(0,l.sprintf)(
+/* translators: %s: Jetpack product or plan name. */
+__("Get %s free for one year!","jetpack"),t.product.title),tagLine:(0,l.sprintf)(
+/* translators: %1$s: the name of a Jetpack partner, %2$s: the name of a Jetpack product or plan. */
+__("Redeem your %1$s coupon to get started with %2$s for free the first year!","jetpack"),t.partner.name,t.product.title),trackingId:"jetpack-partner-coupon",additionalEventProperties:{coupon:t.coupon_code}})};m.propTypes={partnerCoupon:o().oneOfType([o().object,o().bool]).isRequired,siteRawUrl:o().string.isRequired},t.Z=(0,i.$j)((e=>({partnerCoupon:(0,d.DV)(e)})))(m)},1088:function(e,t,n){"use strict";var s=n(1128),r=n.n(s),i=n(6257);const a=r()("calypso:notices");a("initializing notices");const o={containerNames:{}};(0,i.Z)(o);let c=[];const l={new:function(e,t,n){const s=t.overlay?"overlay-notices":"notices";o.containerNames[s]=s,a("creating notice",e,t,n),o[s]=[];const r={type:t.type||"message",status:n,text:e,duration:t.duration,container:s,button:t.button,href:t.href,onClick:e=>{if("function"==typeof t.onClick){const n=l.removeNotice.bind(l,r);return t.onClick(e,n)}},onRemoveCallback:t.onRemoveCallback||function(){},arrow:t.arrow,isCompact:t.isCompact,showDismiss:t.showDismiss,persistent:t.persistent};return t.displayOnNextPage?c.push(r):o[s].push(r),o.emit("change"),r},success:function(e,t){return t=t||{},this.new(e,t,"is-success")},error:function(e,t){return t=t||{},this.new(e,t,"is-error")},info:function(e,t){return t=t||{},this.new(e,t,"is-info")},warning:function(e,t){return t=t||{},this.new(e,t,"is-warning")},list:o,removeNotice:function(e){if(!e.container)return;const t=o[e.container],n=t.indexOf(e);-1!==n&&(t.splice(n,1),o.emit("change"))},clearNoticesOnNavigation:function(e,t){a("clearNoticesOnNavigation");let n,s,r=!1;const i=function(e){return e.persistent};for(s in o.containerNames)n=o[s].length,o[s]=o[s].filter(i),n!==o[s].length&&(r=!0);c.length&&(c.forEach((function(e){o[e.container]=[],o[e.container].push(e)})),c=[]),r&&o.emit("change"),t()},clearNotices:function(e){o[e]=[],o.emit("change")},getStatusHelper:function(e){return e.error?"is-error":e.warning?"is-warning":e.info?"is-info":e.success?"is-success":void 0}};t.Z=l},2160:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(5736),o=n(416),c=n(6300),l=n(9292),p=n(5799),u=n(9270),d=n(719),m=n(9300),h=n(7122);const __=a.__;class g extends s.Component{render(){const e={getModule:this.props.module,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride,hasConnectedOwner:this.props.hasConnectedOwner},t=["photon","videopress","lazy-images","photon-cdn","search"].some(this.props.isModuleFound);return(this.props.searchTerm||this.props.active)&&t?r().createElement("div",null,r().createElement(u.Z,null),r().createElement(p.Z,{title:this.props.searchTerm?__("Performance","jetpack"):__("Load pages faster, optimize images, and speed up your visitors’ experience.","jetpack"),className:"jp-settings-description"}),r().createElement(m.Z,e),r().createElement(h.Z,e),r().createElement(d.Z,e)):null}}t.Z=(0,i.$j)((e=>({module:t=>(0,o.rT)(e,t),isUnavailableInOfflineMode:t=>(0,c.t_)(e,t),isModuleFound:t=>(0,l.CX)(e,t),getModuleOverride:t=>(0,o.Qy)(e,t),hasConnectedOwner:(0,c.it)(e)})))(g)},719:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(6324),d=n(2395),m=n(9584),h=n(1775),g=n(5733),f=n(5004),v=n(2353),k=n(3806),_=n(8178),y=n(1137),E=n(416),w=n(9292),b=n(6300),C=n(3002),j=n(1674);const __=p.__;class S extends c().Component{constructor(){super(...arguments),a()(this,"togglePrivacySetting",(()=>{this.props.updateOptions({videopress_private_enabled_for_site:!this.props.getOptionValue("videopress_private_enabled_for_site")})}))}render(){const e=this.props.isModuleFound("videopress");if(!e)return null;const t=this.props.module("videopress"),{hasConnectedOwner:n,hasVideoPressFeature:s,hasVideoPressUnlimitedStorage:i,isFetching:a,isOffline:o,upgradeUrl:l,videoPressStorageUsed:p}=this.props,v=s&&!i&&null!==p,y=s||null===p||0!==p?__("You have used your free video. Upgrade now to unlock more videos and 1TB of storage.","jetpack",0):__("1 free video available. Upgrade now to unlock more videos and 1TB of storage.","jetpack"),E=c().createElement(_.Z,{hasChild:!0,disableInOfflineMode:!0,module:t,support:{link:(0,u.Z)("jetpack-support-videopress")}},c().createElement(h.Gj,{className:"jp-form-label-wide"},__("VideoPress","jetpack")),c().createElement("p",null," ",__("Engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. With Jetpack VideoPress, you can customize your video player to deliver your message without the distraction.","jetpack")," "),v&&c().createElement("div",{className:"media__videopress-storage"},c().createElement("span",null,__("Video storage used out of 1TB:","jetpack")),c().createElement(d.Z,{value:p/1e4})),n&&c().createElement(c().Fragment,null,c().createElement(f.T,{slug:"videopress",disabled:this.props.isUnavailableInOfflineMode("videopress"),activated:this.props.getOptionValue("videopress"),toggling:this.props.isSavingAnyOption("videopress"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable VideoPress","jetpack"))),c().createElement(h.C_,null,c().createElement(j.Z,{id:"videopress-site-privacy",disabled:!this.props.getOptionValue("videopress"),checked:this.props.getOptionValue("videopress_private_enabled_for_site"),onChange:this.togglePrivacySetting},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Video Privacy: Restrict views to members of this site","jetpack")))))),w="inactive"===this.props.getModuleOverride("videopress"),b=e&&!s&&n&&!o&&!a;return c().createElement(k.Z,r()({},this.props,{header:__("Media","jetpack"),feature:!w&&m.BD,hideButton:!0}),e&&E,b&&c().createElement(g.ZP,{className:"media__videopress-upgrade",callToAction:__("Upgrade","jetpack"),title:y,eventFeature:"videopress",icon:"video",plan:(0,m.o2)(m.qb),feature:"jetpack_videopress",href:l}))}}t.Z=(0,l.$j)((e=>({module:t=>(0,E.rT)(e,t),isModuleFound:t=>(0,w.CX)(e,t),sitePlan:(0,C.UL)(e),hasVideoPressFeature:(0,C.P2)(e,"videopress-1tb-storage")||(0,C.P2)(e,"videopress-unlimited-storage"),hasVideoPressUnlimitedStorage:(0,C.P2)(e,"videopress-unlimited-storage"),hasConnectedOwner:(0,b.it)(e),isOffline:(0,b.Ex)(e),isFetching:(0,C.GR)(e),getModuleOverride:t=>(0,E.Qy)(e,t),upgradeUrl:(0,y.z)(e,"videopress"),videoPressStorageUsed:(0,C.VH)(e)})))((0,v.u)(S))},9300:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(5736),l=n(6324),p=n(5799),u=n(1674),d=n(9584),m=n(1775),h=n(6300),g=n(3002),f=n(3230),v=n(5004),k=n(3806),_=n(8178),y=n(2353),E=n(9508);const __=c.__,w=__("Incredibly powerful and customizable, Jetpack Search helps your visitors instantly find the right content – right when they need it.","jetpack"),b=__("Customize your Search experience.","jetpack"),C=__("Search supports many customizations. ","jetpack");t.Z=(0,o.$j)((e=>({isLoading:(0,g.GR)(e),inOfflineMode:(0,h.Ex)(e),hasClassicSearch:(0,g.P2)(e,"search"),hasInstantSearch:(0,g.P2)(e,"instant-search"),failedToEnableSearch:!(0,f.qg)(e,"search")&&!(0,f.Cu)(e,"search")&&!1===(0,f.p0)(e,"search"),isWidgetsSupported:(0,E.Cv)(e,"widgets")})))((0,y.u)((function(e){const{failedToEnableSearch:t,hasInstantSearch:n,updateOptions:s}=e,o=e.getOptionValue("search"),c=e.getOptionValue("instant_search_enabled","search"),h=(0,i.useCallback)((()=>{const e={search:!o};c!==(n&&!o)&&(e.instant_search_enabled=n&&!o),s(e)}),[n,c,o,s]),g=(0,i.useCallback)((()=>{const e={instant_search_enabled:n&&!c};e.instant_search_enabled&&!o&&(e.search=!0),s(e)}),[n,c,o,s]);(0,i.useEffect)((()=>{t&&n&&(s({has_jetpack_search_product:!0}),h())}),[t,n,s,h]);const f=!!e.isSavingAnyOption("search"),y=!!e.isSavingAnyOption("instant_search_enabled"),E=f||y;return a().createElement(k.Z,r()({},e,{module:"search",feature:d.T5,hideButton:!0}),a().createElement(_.Z,{disableInOfflineMode:!0,hasChild:!0,module:{module:"search"},support:{text:C,link:(0,l.Z)("jetpack-support-search")}},a().createElement("p",null,e.inOfflineMode?__("Unavailable in Offline Mode","jetpack"):w),e.isLoading&&__("Loading…","jetpack"),!e.isLoading&&(e.hasClassicSearch||e.hasInstantSearch)&&a().createElement(i.Fragment,null,a().createElement(v.T,{activated:o,compact:!0,disabled:E,slug:"search",toggleModule:h,toggling:f},__("Enable Search","jetpack")),a().createElement(m.C_,null,a().createElement(u.Z,{checked:o&&c,disabled:E||!e.hasInstantSearch,onChange:g,toggling:y},a().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable instant search experience (recommended)","jetpack"))),a().createElement("p",{className:"jp-form-setting-explanation jp-form-search-setting-explanation"},__("Instant search will allow your visitors to get search results as soon as they start typing. If deactivated, Jetpack Search will still optimize your search results but visitors will have to submit a search query before seeing any results.","jetpack"))))),!e.isLoading&&e.isWidgetsSupported&&(e.hasClassicSearch||e.hasInstantSearch)&&o&&!c&&a().createElement(p.Z,{compact:!0,className:"jp-settings-card__configure-link",href:"customize.php?autofocus[panel]=widgets"},__("Add Jetpack Search Widget","jetpack")),e.hasInstantSearch&&o&&c&&a().createElement(p.Z,{className:"jp-settings-card__configure-link",compact:!0,href:"admin.php?page=jetpack-search-configure"},b))})))},7122:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(6324),d=n(4069),m=n(1674),h=n(1775),g=n(6300),f=n(416),v=n(9292),k=n(5004),_=n(3806),y=n(8178),E=n(2353);const __=p.__,w=(0,E.u)(class extends o.Component{constructor(){super(...arguments),a()(this,"toggleModule",((e,t)=>{"photon"===e?!1==!t?this.props.updateOptions({photon:!1,"tiled-gallery":!1,tiled_galleries:!1}):this.props.updateOptions({photon:!0,"tiled-gallery":!0,tiled_galleries:!0}):this.props.updateOptions({[e]:!t})})),a()(this,"handleSiteAcceleratorChange",(()=>{let e=this.props.getOptionValue("photon"),t=this.props.getOptionValue("photon-cdn");const n=e||t,s=this.props.getModuleOverride("photon-cdn");let r=this.props.getModuleOverride("photon");if(this.props.isOfflineMode&&(r="inactive"),!0===n){const n={progress:__("Disabling site accelerator…","jetpack"),success:__("Site accelerator is no longer speeding up your site!","jetpack"),error:e=>(0,p.sprintf)(
/* translators: placeholder is an error code. */
-__("Error disabling site accelerator. %s","jetpack"),e)};let s={};!1==!e&&"active"!==i&&(e=!1,s={photon:!1,"tiled-gallery":!1,tiled_galleries:!1}),!1==!t&&"active"!==r&&(t=!1,s={...s,"photon-cdn":!1}),this.props.updateOptions(s,n)}else{const n={progress:__("Enabling Site accelerator…","jetpack"),success:__("Site accelerator is now speeding up your site!","jetpack"),error:e=>(0,u.sprintf)(
+__("Error disabling site accelerator. %s","jetpack"),e)};let i={};!1==!e&&"active"!==r&&(e=!1,i={photon:!1,"tiled-gallery":!1,tiled_galleries:!1}),!1==!t&&"active"!==s&&(t=!1,i={...i,"photon-cdn":!1}),this.props.updateOptions(i,n)}else{const n={progress:__("Enabling Site accelerator…","jetpack"),success:__("Site accelerator is now speeding up your site!","jetpack"),error:e=>(0,p.sprintf)(
/* translators: placeholder is an error code. */
-__("Error enabling Site accelerator. %s","jetpack"),e)};let s={};!1===e&&"inactive"!==i&&(e=!0,s={photon:!0,"tiled-gallery":!0,tiled_galleries:!0}),!1===t&&"inactive"!==r&&(t=!0,s={...s,"photon-cdn":!0}),this.props.updateOptions(s,n)}!0===e||!0===t?d.Z.tracks.recordJetpackClick({target:"jetpack_site_accelerator_toggle",toggled:"on"}):d.Z.tracks.recordJetpackClick({target:"jetpack_site_accelerator_toggle",toggled:"off"}),this.props.getOptionValue("photon")!==e&&d.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"photon",toggled:!1===e?"off":"on"}),this.props.getOptionValue("photon-cdn")!==t&&d.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"photon-cdn",toggled:!1===t?"off":"on"})}))}render(){const e=this.props.isModuleFound("photon"),t=this.props.isModuleFound("photon-cdn"),n=this.props.isModuleFound("lazy-images");if(!e&&!n&&!t)return null;const r=this.props.module("lazy-images"),s=this.props.getOptionValue("photon")||this.props.getOptionValue("photon-cdn"),o=this.props.getModuleOverride("photon-cdn");let a=this.props.getModuleOverride("photon");this.props.isOfflineMode&&(a="inactive");const l=e&&t&&("inactive"!==a||"inactive"!==o),u=(e||t)&&("inactive"!==a||"inactive"!==o);let d;return!this.props.getOptionValue("photon")&&this.props.isSavingAnyOption("photon")?d=!this.props.getOptionValue("photon-cdn"):!this.props.getOptionValue("photon-cdn")&&this.props.isSavingAnyOption("photon-cdn")?d=!this.props.getOptionValue("photon"):this.props.getOptionValue("photon")&&this.props.isSavingAnyOption("photon")?(d=!this.props.getOptionValue("photon-cdn"),this.props.getOptionValue("photon-cdn")&&this.props.isSavingAnyOption("photon-cdn")&&(d=!0)):d=!(!this.props.getOptionValue("photon-cdn")||!this.props.isSavingAnyOption("photon-cdn"))&&!this.props.getOptionValue("photon"),c().createElement(y.Z,i()({},this.props,{header:__("Performance & speed","jetpack"),hideButton:!0,module:"performance-speed"}),(e||t)&&c().createElement(k.Z,{hasChild:!0,support:{link:(0,p.Z)("jetpack-support-site-accelerator")}},c().createElement("p",null,__("Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.","jetpack")),u&&c().createElement(h.Z,{checked:s,toggling:d,onChange:this.handleSiteAcceleratorChange,disabled:!l},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable site accelerator","jetpack"))),c().createElement(f.C_,null,e&&c().createElement(b.T,{slug:"photon",disabled:this.props.isUnavailableInOfflineMode("photon"),activated:this.props.getOptionValue("photon"),toggling:this.props.isSavingAnyOption("photon"),toggleModule:this.toggleModule},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Speed up image load times","jetpack"))),t&&c().createElement(b.T,{slug:"photon-cdn",activated:this.props.getOptionValue("photon-cdn"),toggling:this.props.isSavingAnyOption("photon-cdn"),toggleModule:this.toggleModule},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Speed up static file load times","jetpack"))))),n&&c().createElement(k.Z,{hasChild:!0,module:r,support:{link:(0,p.Z)("jetpack-support-lazy-images")}},c().createElement("p",null,__("Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.","jetpack")),c().createElement(b.T,{slug:"lazy-images",disabled:this.props.isUnavailableInOfflineMode("lazy-images"),activated:this.props.getOptionValue("lazy-images"),toggling:this.props.isSavingAnyOption("lazy-images"),toggleModule:this.toggleModule},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable Lazy Loading for images","jetpack")))))}});t.Z=(0,l.$j)((e=>({module:t=>(0,g.rT)(e,t),isModuleFound:t=>(0,v.CX)(e,t),isOfflineMode:(0,m.Ex)(e),getModuleOverride:t=>(0,g.Qy)(e,t)})))(_)},90955:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(11268),u=n.n(l),p=n(2620),d=n(69307),h=n(65736),f=n(71415),m=n(11973),g=n(94069),v=n(68961),b=n(64362),y=n(50093),k=n(17752),w=n(84277),_=n(27006),E=n(5e4);const __=h.__,_x=h._x,C=()=>m.Z.tracks.recordJetpackClick({target:"privacy-policy",feature:"privacy"}),S=()=>m.Z.tracks.recordJetpackClick({target:"cookie-policy",feature:"privacy"}),j=()=>m.Z.tracks.recordJetpackClick({target:"privacy-center",feature:"privacy"});class M extends c().Component{constructor(){super(...arguments),o()(this,"isPrivacyFound",(()=>!this.props.searchTerm||[_x("privacy","Search term.","jetpack"),_x("tracks","Search term.","jetpack"),_x("data","Search term.","jetpack"),_x("gdpr","Search term.","jetpack"),_x("tos","Search term.","jetpack"),_x("terms of service","Search term.","jetpack")].join(" ").toLowerCase().indexOf(this.props.searchTerm.toLowerCase())>-1)),o()(this,"togglePrivacy",(()=>{const e=this.props.trackingSettings.tracks_opt_out;this.props.setTrackingSettings(!e)}))}UNSAFE_componentWillMount(){this.props.fetchTrackingSettings()}render(){const{searchTerm:e,active:t}=this.props;return e||t?this.isPrivacyFound()&&c().createElement("div",null,c().createElement(w.Z,i()({},this.props,{header:_x("Privacy Settings","Settings header","jetpack"),hideButton:!0}),c().createElement(_.Z,{hasChild:!0},c().createElement("p",null,__("We are committed to your privacy and security.","jetpack")),c().createElement("p",null,c().createElement(g.Z,{compact:!0,checked:!this.props.trackingSettings.tracks_opt_out,disabled:this.props.isFetchingTrackingSettings||this.props.isUpdatingTrackingSettings,onChange:this.togglePrivacy,id:"privacy-settings"},(0,d.createInterpolateElement)(__("Share information with our analytics tool about your use of services while logged in to your WordPress.com account. <cookiePolicyLink>Learn more</cookiePolicyLink>.","jetpack"),{cookiePolicyLink:c().createElement(v.Z,{href:(0,f.Z)("a8c-cookies"),onClick:S,target:"_blank",rel:"noopener noreferrer"})}))),c().createElement("p",null,(0,d.createInterpolateElement)(__("This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our <pp>privacy policy</pp>.","jetpack"),{pp:c().createElement(v.Z,{href:(0,f.Z)("a8c-privacy"),onClick:C,target:"_blank",rel:"noopener noreferrer"})})),c().createElement("p",null,(0,d.createInterpolateElement)(__("We use other tracking tools, including some from third parties. <cookiePolicyLink>Read about these</cookiePolicyLink> and how to control them.","jetpack"),{cookiePolicyLink:c().createElement(v.Z,{href:(0,f.Z)("a8c-cookies"),onClick:S,target:"_blank",rel:"noopener noreferrer"})})),c().createElement("p",null,(0,d.createInterpolateElement)(__("For more information on how specific Jetpack features use data and track activity, please refer to our <privacyCenterLink>Privacy Center</privacyCenterLink>.","jetpack"),{privacyCenterLink:c().createElement(v.Z,{href:(0,f.Z)("jetpack-support-privacy"),onClick:j,target:"_blank",rel:"noopener noreferrer"})}))))):null}}o()(M,"displayName","PrivacySettings"),o()(M,"propTypes",{searchTerm:u().string,active:u().bool,toggleTracking:u().func,getOptionValue:u().func,isSavingAnyOption:u().func}),o()(M,"defaultProps",{searchTerm:"",active:!1}),t.Z=(0,p.$j)((e=>({settings:(0,k.Gw)(e),trackingSettings:(0,y.AO)(e),isUpdatingTrackingSettings:(0,y.Ak)(e),isFetchingTrackingSettings:(0,y.ab)(e)})),(e=>({setTrackingSettings:t=>{m.Z.tracks.setOptOut(t),e((0,b.X)({tracks_opt_out:t}))},fetchTrackingSettings:()=>e((0,b.$)())})))((0,E.u)(M))},27415:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(2620),u=n(92819),p=n(65736),d=n(71415),h=n(11973),f=n(9913),m=n(81200),g=n(66552),v=n(75395),b=n(88872),y=n(30701),k=n(35795),w=n(41147),_=n(61744),E=n(15142),C=n(39786),S=n(65125),j=n(88001);const __=p.__,_n=p._n,_x=p._x,M=(e,t)=>()=>((e,t)=>h.Z.tracks.recordJetpackClick({target:"pro-status",type:e,feature:t}))(e,t);class x extends o().Component{constructor(){super(...arguments),i()(this,"getProActions",((e,t)=>{let n="",r=!1,i=!1,s="";switch(e){case"threats":n="is-error",i=this.props.isCompact?_x("Threats","A caption for a small button to fix security issues.","jetpack"):_x("See threats","A caption for a small button to fix security issues.","jetpack"),s=(0,d.Z)("vaultpress-dashboard");break;case"free":case"personal":case"pro":case"invalid_key":return;case"secure":n="is-success",r=_x("Secure","Short message informing user that the site is secure.","jetpack");break;case"rewind_connected":const e=this.getRewindMessage();return o().createElement(j.Z,{showDismiss:!1,status:e.status,isCompact:!0},e.text);case"active":return o().createElement("span",{className:"jp-dash-item__active-label"},__("ACTIVE","jetpack"))}return o().createElement(j.Z,{showDismiss:!1,status:n,isCompact:!0},r,i&&o().createElement("a",{className:"dops-notice__text-no-underline",onClick:M(e,t),href:s},i))})),i()(this,"getSetUpButton",(e=>o().createElement(f.Z,{onClick:M("set_up",e),compact:!0,primary:!0,href:(0,d.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:`only=${e}`})},_x("Set up","Caption for a button to set up a feature.","jetpack"))))}getRewindMessage(){switch(this.props.rewindStatus.state){case"provisioning":return{status:"is-info",text:__("Setting up","jetpack")};case"awaiting_credentials":return{status:"is-warning",text:__("Action needed","jetpack")};case"active":return{status:"is-success",text:__("Connected","jetpack")};default:return{status:"",text:""}}}render(){const e=this.props.sitePlan,t=this.props.getVaultPressData();let n="";"scan"!==this.props.proFeature&&"backups"!==this.props.proFeature&&"vaultpress"!==this.props.proFeature||(n="vaultpress/vaultpress.php"),"akismet"===this.props.proFeature&&(n="akismet/akismet.php");const r=/jetpack_personal*/.test(e.product_slug),i=/jetpack_free*/.test(e.product_slug),s=/jetpack_premium*/.test(e.product_slug),a=(0,u.get)(t,["data","features","backups"],!1),c=(0,u.get)(t,["data","features","security"],!1),{scanStatus:l}=this.props;return o().createElement("div",null,o().createElement(E.Z,null),o().createElement(S.Z,null),o().createElement(C.Z,null),!this.props.isOfflineMode&&((u,p,d)=>{switch(u){case"rewind":return this.getProActions("rewind_connected","rewind");case"backups":if(i&&!a&&this.props.isCompact)return this.getProActions("free","backups");break;case"scan":if(this.props.fetchingSiteData||this.props.isFetchingVaultPressData)return"";if("N/A"!==t)return!i&&!r||c?c?this.getProActions(0===this.props.getScanThreats()?"secure":"threats","scan"):this.getSetUpButton("scan"):this.props.isCompact?this.getProActions("free","scan"):r&&!a?this.getSetUpButton("backups"):"";if(l&&"unavailable"!==l.state)return Array.isArray(l.threats)&&l.threats.length>0?o().createElement(j.Z,{showDismiss:!1,status:"is-error",isCompact:!0},_n("Threat","Threats",l.threats.length,"jetpack")):l.credentials?0===l.credentials.length?o().createElement(j.Z,{showDismiss:!1,status:"is-warning",isCompact:!0},__("Action needed","jetpack")):this.getProActions("secure","scan"):"";break;case"search":return i||r||s?this.getProActions("pro","search"):"";case"akismet":if(i&&(!p||!d))return this.props.isCompact?this.getProActions("free","anti-spam"):"";if(!this.props.isAkismetKeyValid&&!this.props.fetchingAkismetData&&p&&d&&!i)return this.getSetUpButton(u)}return e.product_slug&&n&&!i?p&&d?this.getProActions("active"):this.getSetUpButton(u):""})(this.props.proFeature,this.props.pluginActive(n),this.props.pluginInstalled(n)))}}i()(x,"propTypes",{isCompact:c().bool,proFeature:c().string,rewindStatus:c().object.isRequired}),i()(x,"defaultProps",{isCompact:!0,proFeature:""}),t.Z=(0,l.$j)((e=>{const t=(0,b.UL)(e);return{siteRawUrl:(0,g.JR)(e),siteAdminUrl:(0,g.wW)(e),getScanThreats:()=>(0,v._R)(e),getVaultPressData:()=>(0,v.XK)(e),getAkismetData:()=>(0,v.fU)(e),isFetchingVaultPressData:(0,v.P_)(e),sitePlan:t,planClass:(0,m.sc)((0,u.get)(t,"product_slug","")),fetchingPluginsData:(0,_.vz)(e),pluginActive:t=>(0,_.TB)(e,t),pluginInstalled:t=>(0,_.P8)(e,t),isOfflineMode:(0,w.Ex)(e),fetchingSiteData:(0,b._5)(e),isAkismetKeyValid:(0,v._2)(e),fetchingAkismetData:(0,v.bV)(e),paidFeatureUpgradeUrl:(0,g.Qq)(e,"upgrade"),planProUpgradeUrl:(0,g.Qq)(e,"plans-business"),rewindStatus:(0,y.of)(e),scanStatus:(0,k.C8)(e)}}))(x)},98362:function(e,t,n){"use strict";n.d(t,{tE:function(){return i},w7:function(){return s},ZS:function(){return o}});var r=n(98486);const i={JETPACK_ANTI_SPAM:"akismet",JETPACK_BACKUP:"backup",JETPACK_SCAN:"scan",JETPACK_SEARCH:"search",JETPACK_SECURITY:"security",JETPACK_VIDEOPRESS:"videopress"},s=[`/product/${i.JETPACK_ANTI_SPAM}`,`/product/${i.JETPACK_BACKUP}`,`/product/${i.JETPACK_SCAN}`,`/product/${i.JETPACK_SEARCH}`,`/product/${i.JETPACK_SECURITY}`,`/product/${i.JETPACK_VIDEOPRESS}`],o={[i.JETPACK_ANTI_SPAM]:`${r.hp}products/illustration-anti-spam.png`,[i.JETPACK_BACKUP]:`${r.hp}products/illustration-backup.png`,[i.JETPACK_SCAN]:`${r.hp}products/illustration-scan.png`,[i.JETPACK_SEARCH]:`${r.hp}products/illustration-search.png`,[i.JETPACK_SECURITY]:`${r.hp}products/illustration-scan.png`,[i.JETPACK_VIDEOPRESS]:`${r.hp}products/illustration-videopress.png`}},63663:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(12901),o=n(2620),a=n(11268),c=n.n(a),l=n(92819),u=n(63038),p=n(79644),d=n(13553),h=n(66552),f=n(98362),m=n(15893);const g=e=>{const{isFetchingProducts:t,products:n}=e,r=t||(0,l.isEmpty)(n),o=[];return r||Object.values(f.tE).forEach((function(e){if(!n.hasOwnProperty(e))return;const t=n[e];t.available&&o.push(i().createElement(s.AW,{key:e,path:`/product/${e}`},i().createElement(m.Z,{product:t,arePromotionsActive:h.Hy})))})),i().createElement(i().Fragment,null,i().createElement(u.Z,null),r?i().createElement("div",{className:"jp-product-descriptions__loading"},i().createElement(p.D,null)):i().createElement(s.rs,null,o))};g.propTypes={products:c().object,isFetchingProducts:c().bool,arePromotionsActive:c().bool},t.Z=(0,o.$j)((e=>({arePromotionsActive:(0,h.Hy)(e),isFetchingProducts:(0,d.T0)(e),products:(0,h.by)(e)})))(g)},83:function(e,t,n){"use strict";n.d(t,{pz:function(){return s},yS:function(){return o},dn:function(){return a},jZ:function(){return c}});var r=n(99196),i=n.n(r);const s=i().createElement("svg",{fill:"none",viewBox:"0 0 22 16",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{d:"m16.092 8.1635 0.0188-1.7025 1e-4 -0.03867c0-1.9752-1.8025-3.8666-4.4-3.8666-2.1696 0-3.828 1.3518-4.2735 2.9432l-0.42657 1.5238-1.581-0.06466c-0.0393-0.0016-0.07893-0.0024-0.11886-0.0024-1.587 0-2.9778 1.3444-2.9778 3.1333 0 1.7871 1.3878 3.1305 2.9728 3.1334l0.02863-2e-4h12.052l0.0123 2e-4c1.1943 0 2.2667-1.0162 2.2667-2.4 0-1.2351-0.8646-2.1899-1.8964-2.3684l-1.6776-0.2904zm-10.581-3.2038c-0.06651-0.00271-0.13335-0.00408-0.2005-0.00408-2.7492 0-4.9778 2.2983-4.9778 5.1333 0 2.8351 2.2286 5.1334 4.9778 5.1334l0.02962-2e-4h12.035l0.0236 2e-4c2.3564 0 4.2667-1.97 4.2667-4.4 0-2.1802-1.5375-3.99-3.5554-4.3392l3e-4 -0.0608c0-3.24-2.8653-5.8666-6.4-5.8666-2.9837 0-5.4905 1.8716-6.1994 4.404z",clipRule:"evenodd",fill:"#000",fillRule:"evenodd"})),o=i().createElement("svg",{className:"vertical",fill:"none",viewBox:"0 0 18 23",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{d:"m9 0.23486 9 4.0909v6.0984c0 5.1987-3.3389 10.121-8.0471 11.674-0.61868 0.2041-1.2872 0.2041-1.9059 0-4.7082-1.5528-8.0471-6.4749-8.0471-11.674v-6.0984l9-4.0909zm-7 5.3787v4.8106c0 4.4173 2.8602 8.5166 6.6735 9.7743 0.21184 0.0698 0.44118 0.0698 0.65302 0 3.8133-1.2577 6.6735-5.357 6.6735-9.7743v-4.8106l-7-3.1818-7 3.1818z",clipRule:"evenodd",fill:"#000",fillRule:"evenodd"})),a=i().createElement("svg",{className:"vertical",fill:"none",viewBox:"0 0 20 25",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{d:"m5.2729 24.276 10.667-23.333-1.2126-0.55434-1.6821 3.6796c-0.9128-0.46945-1.9479-0.73443-3.0449-0.73443-1.4153 0-2.7276 0.44103-3.8069 1.1931l-2.6065-2.6065-1.4142 1.4142 2.5684 2.5684c-0.7535 0.96578-1.2468 2.1445-1.3745 3.4307h-2.6996v2h2.6667v2h-2.6667v2h2.8c0.3345 1.6479 1.2768 3.075 2.5827 4.0372l-1.989 4.351 1.2126 0.5544zm1.634-6.7814c-0.96522-0.855-1.5737-2.1037-1.5737-3.4945v-4c0-2.5773 2.0893-4.6667 4.6667-4.6667 0.80034 0 1.5536 0.20149 2.2119 0.55651l-5.305 11.605zm7.567-8.8258 1.0786-2.3595c0.5878 0.88256 0.9708 1.9132 1.0811 3.0241h2.6996v2h-2.6667v2h2.6667v2h-2.8c-0.6177 3.043-3.3081 5.3334-6.5333 5.3334-0.33229 0-0.65891-0.0244-0.97816-0.0713l0.88215-1.9297c0.03193 6e-4 0.06393 1e-3 0.09601 1e-3 2.5773 0 4.6666-2.0894 4.6666-4.6667v-4c0-0.46256-0.0673-0.9094-0.1926-1.3313z",clipRule:"evenodd",fill:"#000",fillRule:"evenodd"})),c=i().createElement("svg",{className:"vertical",viewBox:"0 0 103 25",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{d:"m52 0.23486 9 4.0909v6.0984c0 5.1987-3.3389 10.121-8.0471 11.674-0.6186 0.2041-1.2872 0.2041-1.9058 0-4.7082-1.5528-8.0471-6.4749-8.0471-11.674v-6.0984l9-4.0909zm-7 5.3787v4.8106c0 4.4173 2.8602 8.5166 6.6735 9.7743 0.2118 0.0698 0.4412 0.0698 0.653 0 3.8133-1.2577 6.6735-5.357 6.6735-9.7743v-4.8106l-7-3.1818-7 3.1818z",clipRule:"evenodd",fillRule:"evenodd"}),i().createElement("path",{d:"m31.82 13.188h3.1406v-1.2656h-3.1406v-3.2969h-1.2656v3.2969h-3.1406v1.2656h3.1406v3.2969h1.2656v-3.2969z",fill:"#8C8F94"}),i().createElement("path",{d:"m72.82 13.188h3.1406v-1.2656h-3.1406v-3.2969h-1.2656v3.2969h-3.1406v1.2656h3.1406v3.2969h1.2656v-3.2969z",fill:"#8C8F94"}),i().createElement("path",{d:"m88.273 24.276 10.667-23.333-1.2126-0.55434-1.6821 3.6796c-0.9128-0.46945-1.9479-0.73443-3.0449-0.73443-1.4153 0-2.7276 0.44103-3.807 1.1931l-2.6065-2.6065-1.4142 1.4142 2.5684 2.5684c-0.7535 0.96578-1.2468 2.1445-1.3745 3.4307h-2.6996v2h2.6667v2h-2.6667v2h2.8001c0.3344 1.6479 1.2767 3.075 2.5826 4.0372l-1.989 4.351 1.2126 0.5544zm1.634-6.7814c-0.9652-0.855-1.5736-2.1037-1.5736-3.4945v-4c0-2.5773 2.0893-4.6667 4.6667-4.6667 0.8003 0 1.5536 0.20149 2.2119 0.55651l-5.305 11.605zm7.5671-8.8258 1.0786-2.3595c0.5878 0.88256 0.9708 1.9132 1.0811 3.0241h2.6993v2h-2.6664v2h2.6664v2h-2.7997c-0.6177 3.043-3.3081 5.3334-6.5333 5.3334-0.3323 0-0.6589-0.0244-0.9782-0.0713l0.8822-1.9297c0.0319 6e-4 0.0639 1e-3 0.096 1e-3 2.5773 0 4.6666-2.0894 4.6666-4.6667v-4c0-0.46256-0.0673-0.9094-0.1926-1.3313z",clipRule:"evenodd",fillRule:"evenodd"}),i().createElement("path",{d:"m16.092 11.164 0.0188-1.7026 1e-4 -0.03867c0-1.9752-1.8025-3.8666-4.4-3.8666-2.1696 0-3.828 1.3518-4.2735 2.9432l-0.42657 1.5238-1.581-0.0647c-0.0393-0.0016-0.07893-0.0024-0.11886-0.0024-1.587 0-2.9778 1.3444-2.9778 3.1333 0 1.7871 1.3878 3.1305 2.9728 3.1334l0.02863-2e-4h12.052l0.0123 2e-4c1.1943 0 2.2667-1.0162 2.2667-2.4 0-1.2351-0.8646-2.1899-1.8964-2.3684l-1.6776-0.2904zm-10.581-3.2038c-0.06651-0.00271-0.13335-0.00408-0.2005-0.00408-2.7492 0-4.9778 2.2983-4.9778 5.1333 0 2.8351 2.2286 5.1334 4.9778 5.1334l0.02962-2e-4h12.035l0.0236 2e-4c2.3564 0 4.2667-1.97 4.2667-4.4 0-2.1802-1.5375-3.99-3.5554-4.3392l3e-4 -0.0608c0-3.24-2.8653-5.8666-6.4-5.8666-2.9837 0-5.4905 1.8716-6.1994 4.404z",clipRule:"evenodd",fillRule:"evenodd"}))},15893:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(2620),o=n(11268),a=n.n(o),c=n(89105),l=n.n(c),u=n(92819),p=n(65736),d=n(11973),h=n(94218),f=n(95554),m=n(66552),g=n(98362),v=n(83);const __=p.__,b=(e,t,n,r)=>{const s=r&&e.showPromotion?e.promotionPercentage:void 0,o=!n&&g.ZS.hasOwnProperty(e.key)?g.ZS[e.key]:void 0;let a,c;switch(e.slug){case"jetpack_backup_t1_yearly":c=v.pz;break;case"jetpack_scan":c=v.yS;break;case"jetpack_anti_spam":c=v.dn;break;case"jetpack_security_t1_yearly":c=v.jZ,"secondary"===t&&(a=__("Popular upgrade","jetpack"))}return i().createElement(h.Z,{icon:c,title:e.title,productSlug:e.slug,description:e.description,features:e.features,currencyCode:e.currencyCode,price:e.fullPrice/12,discount:s,billingDescription:__("/month, paid yearly","jetpack"),callToAction:a,priority:t,illustrationPath:o,checkoutUrl:e.upgradeUrl,checkoutText:(0,p.sprintf)(
-/* translators: %s: Name of a Jetpack product. */
-__("Add %s","jetpack"),e.title)})},y=e=>{const{arePromotionsActive:t,availableProductsAndPlans:n,product:s}=e,o=((e,t)=>{const n="security";return!((0,u.isEmpty)(e.includedInPlans)||!t.hasOwnProperty(n)||!e.includedInPlans.includes(n))&&t.security})(s,n);(0,r.useEffect)((()=>{d.Z.tracks.recordEvent("jetpack_product_description_view",{type:s.slug})}),[s]);const a=l()({"jp-product-description":!0,"jp-product-description--split":!!o});return i().createElement(i().Fragment,null,i().createElement("div",{className:a},b(s,"primary",!!o,t),!!o&&b(o,"secondary",!!o,t)),i().createElement("div",{className:"jp-product-description__introductory-pricing"},__("Special introductory pricing, all renewals are at full price.","jetpack")),i().createElement("div",{className:"jp-product-description__money-back-guarantee"},i().createElement(f.N,{text:__("14-day money-back guarantee","jetpack")})))};y.propTypes={product:a().object.isRequired,arePromotionsActive:a().bool,availableProductsAndPlans:a().object.isRequired},y.defaultProps={arePromotionsActive:!1},t.Z=(0,s.$j)((e=>({availableProductsAndPlans:(0,m.by)(e)})))(y)},61161:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(66552),i=n(98362);const s=(e,t)=>{const n=`${(0,r.wW)(e)}admin.php?page=jetpack#`;return i.w7.includes(`/product/${t}`)?`${n}/product/${t}`:`${n}/dashboard`}},31818:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});const r={NOT_STARTED:"not-started",SITE_TYPE:"site-type-question",PRODUCT_SUGGESTIONS:"product-suggestions",PRODUCT_PURCHASED:"product-purchased",WOOCOMMERCE:"woocommerce",MONITOR:"monitor",RELATED_POSTS:"related-posts",CREATIVE_MAIL:"creative-mail",SITE_ACCELERATOR:"site-accelerator",SUMMARY:"summary"}},8816:function(e,t,n){"use strict";n.d(t,{H:function(){return m}});var r=n(89105),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(47678),l=n(9913),u=n(68961),p=n(22256),d=n(46188),h=n(11973),f=n(90218);const m=(0,a.$j)(((e,t)=>({isFeatureActive:(0,f.dz)(e,t.featureSlug),...(0,c.mp)(e,t.featureSlug),learnMoreLink:(0,c.gU)(t.featureSlug).descriptionLink})),((e,t)=>({...(0,c.ZS)(e,t.featureSlug)})))((e=>{const{activateFeature:t,configLink:n,configureButtonLabel:r,displayName:a,featureSlug:c,learnMoreLink:f,summaryActivateButtonLabel:m}=e,[g,v]=(0,s.useState)(!1),b=(0,s.useCallback)((()=>{h.Z.tracks.recordEvent("jetpack_recommendations_summary_configure_click",{feature:c})}),[c]),y=(0,s.useCallback)((()=>{h.Z.tracks.recordEvent("jetpack_recommendations_summary_learn_more_click",{feature:c})}),[c]),k=(0,s.useCallback)((()=>{h.Z.tracks.recordEvent("jetpack_recommendations_summary_enable_click",{feature:c}),v(!0),t().finally((()=>{v(!1)}))}),[t,c,v]),w=o().createElement("div",{className:"jp-recommendations-feature-summary__cta"},e.isFeatureActive?o().createElement(l.Z,{href:n,onClick:b},r):o().createElement(d.Z,{primary:!0,isInstalling:g,onClick:k},m));return o().createElement("div",{className:i()("jp-recommendations-feature-summary",{"is-feature-enabled":e.isFeatureActive})},e.isFeatureActive&&o().createElement("div",{className:"jp-recommendations-feature-summary__checkmark"},o().createElement(p.Z,{icon:"checkmark-circle",size:24})),o().createElement("div",{className:"jp-recommendations-feature-summary__display-name"},o().createElement(u.Z,{href:f,onClick:y,target:"_blank",rel:"noopener noreferrer"},a)),o().createElement("div",{className:"jp-recommendations-feature-summary__actions"},w))}))},47678:function(e,t,n){"use strict";n.d(t,{mp:function(){return c},ZS:function(){return l},gU:function(){return u}});var r=n(65736),i=n(19570),s=n(66552),o=n(17752),a=n(61744);const __=r.__,c=(e,t)=>{switch(t){case"creative-mail":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Creative Mail","jetpack"),summaryActivateButtonLabel:__("Install","jetpack"),configLink:(0,s.wW)(e)+"admin.php?page=creativemail"};case"monitor":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Downtime Monitoring","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=monitor"};case"related-posts":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Related Posts","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=related%20posts"};case"site-accelerator":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Site Accelerator","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=cdn"};case"woocommerce":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("WooCommerce","jetpack"),summaryActivateButtonLabel:__("Install","jetpack"),configLink:(0,s.wW)(e)+"admin.php?page=wc-admin&path=%2Fsetup-wizard"};default:throw`Unknown feature slug in mapStateToSummaryFeatureProps() recommendations/feature-utils.js: ${t}`}},l=(e,t)=>{switch(t){case"creative-mail":return{activateFeature:()=>i.ZP.installPlugin("creative-mail-by-constant-contact","recommendations").then((()=>{e((0,a.s4)())}))};case"monitor":return{activateFeature:()=>e((0,o.VP)({monitor:!0}))};case"related-posts":return{activateFeature:()=>e((0,o.VP)({"related-posts":!0}))};case"site-accelerator":return{activateFeature:()=>e((0,o.VP)({photon:!0,"photon-cdn":!0,tiled_galleries:!0,"tiled-gallery":!0}))};case"woocommerce":return{activateFeature:()=>i.ZP.installPlugin("woocommerce","recommendations").then((()=>{e((0,a.s4)())}))};default:throw`Unknown feature slug in mapDispatchToProps recommendations/feature-utils.js: ${t}`}},u=e=>{switch(e){case"creative-mail":return{progressValue:"83",question:__("Would you like to turn site visitors into subscribers with Creative Mail?","jetpack"),description:__("The Jetpack <strong>Newsletter Form</strong> combined with <strong>Creative Mail</strong> by Constant Contact can help automatically gather subscribers and send them beautiful emails. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://jetpack.com/support/jetpack-blocks/form-block/newsletter-sign-up-form/",ctaText:__("Install Creative Mail","jetpack"),illustrationPath:"/recommendations/creative-mail-illustration.svg"};case"monitor":return{progressValue:"50",question:__("Would you like Downtime Monitoring to notify you if your site goes offline?","jetpack"),description:__("If your site ever goes down, <strong>Downtime Monitoring</strong> will send you an email or push notitification to let you know. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://jetpack.com/support/monitor/",ctaText:__("Enable Downtime Monitoring","jetpack"),illustrationPath:"/recommendations/monitor-illustration.svg"};case"related-posts":return{progressValue:"67",question:__("Would you like Related Posts to display at the bottom of your content?","jetpack"),description:__("Displaying <strong>Related Posts</strong> at the end of your content keeps visitors engaged and on your site longer. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://jetpack.com/support/related-posts/",ctaText:__("Enable Related Posts","jetpack"),illustrationPath:"/recommendations/related-posts-illustration.jpg"};case"site-accelerator":return{progressValue:"99",question:__("Would you like Site Accelerator to help your site load faster?","jetpack"),description:__("Faster sites get better ranking in search engines and help keep visitors on your site longer. <strong>Site Accelerator</strong> will automatically optimize your image and files. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://jetpack.com/support/site-accelerator/",ctaText:__("Enable Site Accelerator","jetpack"),illustrationPath:"/recommendations/site-accelerator-illustration.svg"};case"woocommerce":return{progressValue:"33",question:__("Would you like WooCommerce to power your store?","jetpack"),description:__("We’re partnered with <strong>WooCommerce</strong> — a customizable, open-source eCommerce platform built for WordPress. It’s everything you need to start selling products today. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://woocommerce.com/woocommerce-features/",ctaText:__("Install WooCommerce","jetpack"),illustrationPath:"/recommendations/woocommerce-illustration.jpg"};default:throw`Unknown step slug in recommendations/question: ${e}`}}},29955:function(e,t,n){"use strict";n.d(t,{V:function(){return _}});var r=n(99196),i=n.n(r),s=n(12901),o=n(2620),a=n(65736),c=n(24299),l=n(95189),u=n(42897),p=n(8931),d=n(30018),h=n(76563),f=n(76287),m=n(83361),g=n(9477),v=n(27219),b=n(15142),y=n(90218),k=n(79644),w=n(31818);const __=a.__,_=(0,o.$j)((e=>({isLoading:!(0,y.WA)(e),step:(0,y.TO)(e)})))((e=>{const{isLoading:t,step:n}=e;let r;switch(n){case w.u.NOT_STARTED:case w.u.SITE_TYPE:r="/site-type";break;case w.u.PRODUCT_SUGGESTIONS:r="/product-suggestions";break;case w.u.PRODUCT_PURCHASED:r="/product-purchased";break;case w.u.WOOCOMMERCE:r="/woocommerce";break;case w.u.MONITOR:r="/monitor";break;case w.u.RELATED_POSTS:r="/related-posts";break;case w.u.CREATIVE_MAIL:r="/creative-mail";break;case w.u.SITE_ACCELERATOR:r="/site-accelerator";break;case w.u.SUMMARY:r="/summary";break;default:throw`Unknown step ${n} in RecommendationsComponent`}return i().createElement(i().Fragment,null,i().createElement(h.Z,null),i().createElement(f.Z,null),i().createElement(m.Z,null),i().createElement(g.Z,null),i().createElement(v.Z,null),i().createElement(b.Z,null),t?i().createElement("div",{className:"jp-recommendations__loading"},i().createElement(k.D,{altText:__("Loading recommendations","jetpack")})):i().createElement(s.rs,null,i().createElement(s.l_,{exact:!0,from:"/recommendations",to:"/recommendations"+r}),i().createElement(s.AW,{path:"/recommendations/site-type"},i().createElement(p.g,null)),i().createElement(s.AW,{path:"/recommendations/product-suggestions"},i().createElement(l.V,null)),i().createElement(s.AW,{path:"/recommendations/product-purchased"},i().createElement(u.Y,null)),i().createElement(s.AW,{path:"/recommendations/woocommerce"},i().createElement(c.Q,{stepSlug:"woocommerce"})),i().createElement(s.AW,{path:"/recommendations/monitor"},i().createElement(c.Q,{stepSlug:"monitor"})),i().createElement(s.AW,{path:"/recommendations/related-posts"},i().createElement(c.Q,{stepSlug:"related-posts"})),i().createElement(s.AW,{path:"/recommendations/creative-mail"},i().createElement(c.Q,{stepSlug:"creative-mail"})),i().createElement(s.AW,{path:"/recommendations/site-accelerator"},i().createElement(c.Q,{stepSlug:"site-accelerator"})),i().createElement(s.AW,{path:"/recommendations/summary"},i().createElement(d.E,null))))}))},42897:function(e,t,n){"use strict";n.d(t,{Y:function(){return g}});var r=n(99196),i=n.n(r),s=n(2620),o=n(92819),a=n(65736),c=n(10618),l=n(46576),u=n(79644),p=n(9913),d=n(22256),h=n(11973),f=n(90218),m=n(88872);const __=a.__,_x=a._x,g=(0,s.$j)((e=>({activePurchases:(0,m.p)(e),isFetchingSiteData:(0,m._5)(e),isFetchingSuggestions:(0,f.at)(e),nextRoute:(0,f.mI)(e),sitePlan:(0,m.UL)(e),suggestions:(0,f.El)(e)})))((e=>{const{nextRoute:t}=e,n=(e=>{let{activePurchases:t,isFetchingSiteData:n,isFetchingSuggestions:r,sitePlan:i,suggestions:s}=e;if(n||r)return!1;if(!s||!(0,o.isArray)(s))return!1;const a=s.find((e=>e.slug===i.product_slug));if(a)return a;if((0,o.isArray)(t)){const e=s.find((e=>{if(t.find((t=>e.slug===t.product_slug)))return e}));if(e)return e}return!1})(e);if((0,r.useEffect)((()=>{n&&h.Z.tracks.recordEvent("jetpack_recommendations_product_suggestion_purchased",{type:n.slug})}),[n]),!n)return i().createElement(u.D,{altText:__("Loading recommendations","jetpack")});const s=i().createElement("div",{className:"jp-recommendations-product-purchased"},i().createElement("ul",{className:"jp-recommendations-product-purchased__features"},n&&n.features.map(((e,t)=>i().createElement("li",{className:"jp-recommendations-product-purchased__feature",key:t},i().createElement(d.Z,{icon:"checkmark"}),e)))),i().createElement(p.Z,{primary:!0,className:"jp-recommendations-product-purchased__next",href:t},_x("Configure your site","Recommendations Product Purchased","jetpack")));return i().createElement(l.X,{progressBar:i().createElement(c.Z,{color:"#00A32A",value:"33"}),question:__("Your plan has been upgraded!","jetpack"),description:__("You now have access to these benefits:","jetpack"),illustrationPath:"recommendations/product-purchased-illustration.svg",answer:s})}))},3722:function(e,t,n){"use strict";n.d(t,{C:function(){return f}});var r=n(89105),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(87279),p=n(11973),d=n(90218);const h=e=>{let{answerKey:t,checked:n,info:r,title:s,updateCheckboxAnswer:o}=e;const l=(0,a.useCallback)((e=>{if("checkbox"!==e.target.type)return;o({[t]:!n})}),[t,n,o]),d=(0,a.useCallback)((e=>{e.stopPropagation()}),[]),h=(0,a.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_site_type_popover_click",{type:t.replace("-","_")})}),[t]);return c().createElement("div",{className:i()("jp-checkbox-answer__container",{checked:n}),onClick:l,onKeyPress:l,role:"checkbox","aria-checked":n,tabIndex:0},c().createElement("div",{className:"jp-checkbox-answer__checkbox"},c().createElement("input",{id:t,type:"checkbox",defaultChecked:n,tabIndex:-1})),c().createElement("label",{htmlFor:t,className:"jp-checkbox-answer__title"},s),c().createElement("div",{className:"jp-checkbox-answer__info",onClick:d,onKeyPress:d,role:"presentation"},c().createElement(u.Z,{position:"top right",onClick:h},r)))};h.propTypes={answerKey:o().string.isRequired,info:o().string.isRequired,title:o().string.isRequired};const f=(0,l.$j)(((e,t)=>({checked:(0,d.$q)(e,t.answerKey)})),(e=>({updateCheckboxAnswer:t=>e((0,d.x5)(t))})))(h)},24299:function(e,t,n){"use strict";n.d(t,{Q:function(){return m}});var r=n(10618),i=n(69307),s=n(65736),o=n(99196),a=n.n(o),c=n(2620),l=n(47678),u=n(46576),p=n(9913),d=n(68961),h=n(11973),f=n(90218);const __=s.__,m=(0,c.$j)(((e,t)=>({nextRoute:(0,f.mI)(e),...(0,l.gU)(t.stepSlug)})),((e,t)=>({addSelectedRecommendation:t=>e((0,f.Pq)(t)),addSkippedRecommendation:t=>e((0,f.J_)(t)),updateRecommendationsStep:t=>e((0,f.OC)(t)),...(0,l.ZS)(e,t.stepSlug)})))((e=>{const{activateFeature:t,addSelectedRecommendation:n,addSkippedRecommendation:s,ctaText:c,description:l,descriptionLink:f,illustrationPath:m,nextRoute:g,progressValue:v,question:b,stepSlug:y,updateRecommendationsStep:k}=e;(0,o.useEffect)((()=>{k(y)}),[y,k]);const w=(0,o.useCallback)((()=>{h.Z.tracks.recordEvent("jetpack_recommended_feature_learn_more_click",{feature:y})}),[y]),_=(0,o.useCallback)((()=>{h.Z.tracks.recordEvent("jetpack_recommended_feature_enable_click",{feature:y}),n(y),t()}),[t,n,y]),E=(0,o.useCallback)((()=>{h.Z.tracks.recordEvent("jetpack_recommended_feature_decide_later_click",{feature:y}),s(y)}),[s,y]);return a().createElement(u.X,{progressBar:a().createElement(r.Z,{color:"#00A32A",value:v}),question:b,description:(0,i.createInterpolateElement)(l,{strong:a().createElement("strong",null),ExternalLink:a().createElement(d.Z,{href:f,target:"_blank",icon:!0,iconSize:16,onClick:w})}),answer:a().createElement("div",{className:"jp-recommendations-question__install-section"},a().createElement(p.Z,{primary:!0,href:g,onClick:_},c),a().createElement("a",{href:g,onClick:E},__("Not now","jetpack"))),illustrationPath:m})}))},8978:function(e,t,n){"use strict";n.d(t,{A:function(){return b}});var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(65736),l=n(78850),u=n(71415),p=n(9913),d=n(68961),h=n(11973),f=n(66552),m=n(90218);const __=c.__,g=e=>{let{product:t,siteAdminUrl:n,siteRawUrl:r}=e;return(0,u.Z)("jetpack-recommendations-product-checkout",{site:r,path:t.slug,query:`redirect_to=${n}admin.php?jp-react-redirect=product-purchased`})},v=e=>{const{product:t,addSelectedRecommendation:n}=e,r=(0,s.useCallback)((()=>{h.Z.tracks.recordEvent("jetpack_recommendations_product_suggestion_click",{type:t.slug}),n("product-suggestions")}),[t,n]),i=(0,s.useCallback)((()=>{h.Z.tracks.recordEvent("jetpack_recommendations_product_suggestion_learn_more_click",{type:t.slug})}),[t]),a=(0,l.LR)(t.cost,t.currency_code);return o().createElement("div",{className:"jp-recommendations-product-suggestion-item jp-recommendations-product-suggestion__item"},o().createElement("div",{className:"jp-recommendations-product-suggestion-item__content"},o().createElement("h2",{className:"jp-recommendations-product-suggestion-item__title"},t.title),o().createElement("p",{className:"jp-recommendations-product-suggestion-item__description"},t.description),o().createElement("div",{className:"jp-recommendations-product-suggestion-item__price"},o().createElement("h3",{className:"jp-recommendations-product-suggestion-item__raw-price"},o().createElement("sup",{className:"jp-recommendations-product-suggestion-item__currency-symbol"},a.symbol),o().createElement("span",{className:"jp-recommendations-product-suggestion-item__price-integer"},a.integer),o().createElement("sup",{className:"jp-recommendations-product-suggestion-item__price-fraction"},a.fraction)),o().createElement("span",{className:"jp-recommendations-product-suggestion-item__billing-time-frame"},t.cost_timeframe,",",o().createElement("br",null),t.billing_timeframe)),o().createElement("div",{className:"jp-recommendations-product-suggestion-item__actions"},o().createElement(p.Z,{className:"jp-recommendations-product-suggestion-item__checkout-button",primary:!0,href:g(e),onClick:r},(0,c.sprintf)(
+__("Error enabling Site accelerator. %s","jetpack"),e)};let i={};!1===e&&"inactive"!==r&&(e=!0,i={photon:!0,"tiled-gallery":!0,tiled_galleries:!0}),!1===t&&"inactive"!==s&&(t=!0,i={...i,"photon-cdn":!0}),this.props.updateOptions(i,n)}!0===e||!0===t?d.Z.tracks.recordJetpackClick({target:"jetpack_site_accelerator_toggle",toggled:"on"}):d.Z.tracks.recordJetpackClick({target:"jetpack_site_accelerator_toggle",toggled:"off"}),this.props.getOptionValue("photon")!==e&&d.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"photon",toggled:!1===e?"off":"on"}),this.props.getOptionValue("photon-cdn")!==t&&d.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"photon-cdn",toggled:!1===t?"off":"on"})}))}render(){const e=this.props.isModuleFound("photon"),t=this.props.isModuleFound("photon-cdn"),n=this.props.isModuleFound("lazy-images");if(!e&&!n&&!t)return null;const s=this.props.module("lazy-images"),i=this.props.getOptionValue("photon")||this.props.getOptionValue("photon-cdn"),a=this.props.getModuleOverride("photon-cdn");let o=this.props.getModuleOverride("photon");this.props.isOfflineMode&&(o="inactive");const l=e&&t&&("inactive"!==o||"inactive"!==a),p=(e||t)&&("inactive"!==o||"inactive"!==a);let d;return!this.props.getOptionValue("photon")&&this.props.isSavingAnyOption("photon")?d=!this.props.getOptionValue("photon-cdn"):!this.props.getOptionValue("photon-cdn")&&this.props.isSavingAnyOption("photon-cdn")?d=!this.props.getOptionValue("photon"):this.props.getOptionValue("photon")&&this.props.isSavingAnyOption("photon")?(d=!this.props.getOptionValue("photon-cdn"),this.props.getOptionValue("photon-cdn")&&this.props.isSavingAnyOption("photon-cdn")&&(d=!0)):d=!(!this.props.getOptionValue("photon-cdn")||!this.props.isSavingAnyOption("photon-cdn"))&&!this.props.getOptionValue("photon"),c().createElement(_.Z,r()({},this.props,{header:__("Performance & speed","jetpack"),hideButton:!0,module:"performance-speed"}),(e||t)&&c().createElement(y.Z,{hasChild:!0,support:{link:(0,u.Z)("jetpack-support-site-accelerator")}},c().createElement("p",null,__("Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.","jetpack")),p&&c().createElement(m.Z,{checked:i,toggling:d,onChange:this.handleSiteAcceleratorChange,disabled:!l},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable site accelerator","jetpack"))),c().createElement(h.C_,null,e&&c().createElement(k.T,{slug:"photon",disabled:this.props.isUnavailableInOfflineMode("photon"),activated:this.props.getOptionValue("photon"),toggling:this.props.isSavingAnyOption("photon"),toggleModule:this.toggleModule},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Speed up image load times","jetpack"))),t&&c().createElement(k.T,{slug:"photon-cdn",activated:this.props.getOptionValue("photon-cdn"),toggling:this.props.isSavingAnyOption("photon-cdn"),toggleModule:this.toggleModule},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Speed up static file load times","jetpack"))))),n&&c().createElement(y.Z,{hasChild:!0,module:s,support:{link:(0,u.Z)("jetpack-support-lazy-images")}},c().createElement("p",null,__("Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.","jetpack")),c().createElement(k.T,{slug:"lazy-images",disabled:this.props.isUnavailableInOfflineMode("lazy-images"),activated:this.props.getOptionValue("lazy-images"),toggling:this.props.isSavingAnyOption("lazy-images"),toggleModule:this.toggleModule},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable Lazy Loading for images","jetpack")))))}});t.Z=(0,l.$j)((e=>({module:t=>(0,f.rT)(e,t),isModuleFound:t=>(0,v.CX)(e,t),isOfflineMode:(0,g.Ex)(e),getModuleOverride:t=>(0,f.Qy)(e,t)})))(w)},5043:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5162),p=n.n(l),u=n(9309),d=n(9307),m=n(5736),h=n(6324),g=n(5609),f=n(4069),v=n(1674),k=n(7639),_=n(775),y=n(3230),E=n(3806),w=n(8178),b=n(2353);const __=m.__,_x=m._x,C=()=>f.Z.tracks.recordJetpackClick({target:"privacy-policy",feature:"privacy"}),j=()=>f.Z.tracks.recordJetpackClick({target:"cookie-policy",feature:"privacy"}),S=()=>f.Z.tracks.recordJetpackClick({target:"privacy-center",feature:"privacy"});class N extends c().Component{constructor(){super(...arguments),a()(this,"isPrivacyFound",(()=>!this.props.searchTerm||[_x("privacy","Search term.","jetpack"),_x("tracks","Search term.","jetpack"),_x("data","Search term.","jetpack"),_x("gdpr","Search term.","jetpack"),_x("tos","Search term.","jetpack"),_x("terms of service","Search term.","jetpack")].join(" ").toLowerCase().indexOf(this.props.searchTerm.toLowerCase())>-1)),a()(this,"togglePrivacy",(()=>{const e=this.props.trackingSettings.tracks_opt_out;this.props.setTrackingSettings(!e)}))}UNSAFE_componentWillMount(){this.props.fetchTrackingSettings()}render(){const{searchTerm:e,active:t}=this.props;return e||t?this.isPrivacyFound()&&c().createElement("div",null,c().createElement(E.Z,r()({},this.props,{header:_x("Privacy Settings","Settings header","jetpack"),hideButton:!0}),c().createElement(w.Z,{hasChild:!0},c().createElement("p",null,__("We are committed to your privacy and security.","jetpack")),c().createElement("p",null,c().createElement(v.Z,{compact:!0,checked:!this.props.trackingSettings.tracks_opt_out,disabled:this.props.isFetchingTrackingSettings||this.props.isUpdatingTrackingSettings,onChange:this.togglePrivacy,id:"privacy-settings"},(0,d.createInterpolateElement)(__("Share information with our analytics tool about your use of services while logged in to your WordPress.com account. <cookiePolicyLink>Learn more</cookiePolicyLink>.","jetpack"),{cookiePolicyLink:c().createElement(g.ExternalLink,{href:(0,h.Z)("a8c-cookies"),onClick:j,rel:"noopener noreferrer"})}))),c().createElement("p",null,(0,d.createInterpolateElement)(__("This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our <pp>privacy policy</pp>.","jetpack"),{pp:c().createElement(g.ExternalLink,{href:(0,h.Z)("a8c-privacy"),onClick:C,rel:"noopener noreferrer"})})),c().createElement("p",null,(0,d.createInterpolateElement)(__("We use other tracking tools, including some from third parties. <cookiePolicyLink>Read about these</cookiePolicyLink> and how to control them.","jetpack"),{cookiePolicyLink:c().createElement(g.ExternalLink,{href:(0,h.Z)("a8c-cookies"),onClick:j,rel:"noopener noreferrer"})})),c().createElement("p",null,(0,d.createInterpolateElement)(__("For more information on how specific Jetpack features use data and track activity, please refer to our <privacyCenterLink>Privacy Center</privacyCenterLink>.","jetpack"),{privacyCenterLink:c().createElement(g.ExternalLink,{href:(0,h.Z)("jetpack-support-privacy"),onClick:S,rel:"noopener noreferrer"})}))))):null}}a()(N,"displayName","PrivacySettings"),a()(N,"propTypes",{searchTerm:p().string,active:p().bool,toggleTracking:p().func,getOptionValue:p().func,isSavingAnyOption:p().func}),a()(N,"defaultProps",{searchTerm:"",active:!1}),t.Z=(0,u.$j)((e=>({settings:(0,y.Gw)(e),trackingSettings:(0,_.AO)(e),isUpdatingTrackingSettings:(0,_.Ak)(e),isFetchingTrackingSettings:(0,_.ab)(e)})),(e=>({setTrackingSettings:t=>{f.Z.tracks.setOptOut(t),e((0,k.X)({tracks_opt_out:t}))},fetchTrackingSettings:()=>e((0,k.$)())})))((0,b.u)(N))},6450:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(9309),p=n(2819),u=n(5736),d=n(6324),m=n(4069),h=n(7506),g=n(9508),f=n(7296),v=n(3002),k=n(9377),_=n(5080),y=n(6300),E=n(1372),w=n(7679),b=n(3526),C=n(3544),j=n(1668);const __=u.__,_n=u._n,_x=u._x,S=(e,t)=>()=>((e,t)=>m.Z.tracks.recordJetpackClick({target:"pro-status",type:e,feature:t}))(e,t);class N extends a().Component{constructor(){super(...arguments),r()(this,"getProActions",((e,t)=>{let n="",s=!1,r=!1,i="";switch(e){case"threats":n="is-error",r=this.props.isCompact?_x("Threats","A caption for a small button to fix security issues.","jetpack"):_x("See threats","A caption for a small button to fix security issues.","jetpack"),i=(0,d.Z)("vaultpress-dashboard");break;case"secure":n="is-success",s=_x("Secure","Short message informing user that the site is secure.","jetpack");break;case"invalid_key":return;case"rewind_connected":const e=this.getRewindMessage();return a().createElement(j.Z,{showDismiss:!1,status:e.status,isCompact:!0},e.text);case"active":return a().createElement("span",{className:"jp-dash-item__active-label"},__("ACTIVE","jetpack"))}return a().createElement(j.Z,{showDismiss:!1,status:n,isCompact:!0},s,r&&a().createElement("a",{className:"dops-notice__text-no-underline",onClick:S(e,t),href:i},r))})),r()(this,"getSetUpButton",(e=>a().createElement(h.Z,{onClick:S("set_up",e),compact:!0,primary:!0,href:(0,d.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:`only=${e}`})},_x("Set up","Caption for a button to set up a feature.","jetpack"))))}getRewindMessage(){switch(this.props.rewindStatus.state){case"provisioning":return{status:"is-info",text:__("Setting up","jetpack")};case"awaiting_credentials":return{status:"is-warning",text:__("Action needed","jetpack")};case"active":return{status:"is-success",text:__("Connected","jetpack")};default:return{status:"",text:""}}}render(){const{purchasedVaultPressBackups:e,purchasedVaultPressScan:t,scanStatus:n}=this.props,s=this.props.sitePlan,r=this.props.getVaultPressData();let i="";"scan"!==this.props.proFeature&&"backups"!==this.props.proFeature&&"vaultpress"!==this.props.proFeature||(i="vaultpress/vaultpress.php"),"akismet"===this.props.proFeature&&(i="akismet/akismet.php");const o=/jetpack_free*/.test(s.product_slug),c=(0,p.get)(r,["data","features","backups"],!1),l=(0,p.get)(r,["data","features","security"],!1);return a().createElement("div",null,a().createElement(w.Z,null),a().createElement(C.Z,null),a().createElement(b.Z,null),!this.props.isOfflineMode&&((p,u,d)=>{switch(p){case"rewind":return this.getProActions("rewind_connected","rewind");case"backups":if(o&&!c&&this.props.isCompact)return"";break;case"scan":if(this.props.fetchingSiteData||this.props.isFetchingVaultPressData)return"";if("N/A"!==r)return t?l?this.getProActions(0===this.props.getScanThreats()?"secure":"threats","scan"):this.getSetUpButton("scan"):!e||c||this.props.isCompact?"":this.getSetUpButton("backups");if(n&&"unavailable"!==n.state)return Array.isArray(n.threats)&&n.threats.length>0?a().createElement(j.Z,{showDismiss:!1,status:"is-error",isCompact:!0},_n("Threat","Threats",n.threats.length,"jetpack")):n.credentials?0===n.credentials.length?a().createElement(j.Z,{showDismiss:!1,status:"is-warning",isCompact:!0},__("Action needed","jetpack")):this.getProActions("secure","scan"):"";break;case"search":return"";case"akismet":if(o&&(!u||!d))return"";if(!this.props.isAkismetKeyValid&&!this.props.fetchingAkismetData&&u&&d&&!o)return this.getSetUpButton(p)}return s.product_slug&&i&&!o?u&&d?this.getProActions("active"):this.getSetUpButton(p):""})(this.props.proFeature,this.props.pluginActive(i),this.props.pluginInstalled(i)))}}r()(N,"propTypes",{isCompact:c().bool,proFeature:c().string,rewindStatus:c().object.isRequired}),r()(N,"defaultProps",{isCompact:!0,proFeature:""}),t.Z=(0,l.$j)((e=>{const t=(0,v.UL)(e);return{siteRawUrl:(0,g.JR)(e),siteAdminUrl:(0,g.wW)(e),getScanThreats:()=>(0,f._R)(e),getVaultPressData:()=>(0,f.XK)(e),getAkismetData:()=>(0,f.fU)(e),isFetchingVaultPressData:(0,f.P_)(e),sitePlan:t,fetchingPluginsData:(0,E.vz)(e),pluginActive:t=>(0,E.TB)(e,t),pluginInstalled:t=>(0,E.P8)(e,t),isOfflineMode:(0,y.Ex)(e),fetchingSiteData:(0,v._5)(e),isAkismetKeyValid:(0,f._2)(e),fetchingAkismetData:(0,f.bV)(e),rewindStatus:(0,k.of)(e),scanStatus:(0,_.C8)(e),purchasedVaultPressBackups:(0,v.P2)(e,"vaultpress-backups"),purchasedVaultPressScan:(0,v.P2)(e,"vaultpress-security-scanning")}}))(N)},4648:function(e,t,n){"use strict";n.d(t,{ZS:function(){return a},tE:function(){return r},w7:function(){return i}});var s=n(800);const r={JETPACK_ANTI_SPAM:"akismet",JETPACK_BACKUP:"backup",JETPACK_SCAN:"scan",JETPACK_SEARCH:"search",JETPACK_SECURITY:"security",JETPACK_VIDEOPRESS:"videopress"},i=[`/product/${r.JETPACK_ANTI_SPAM}`,`/product/${r.JETPACK_BACKUP}`,`/product/${r.JETPACK_SCAN}`,`/product/${r.JETPACK_SEARCH}`,`/product/${r.JETPACK_SECURITY}`,`/product/${r.JETPACK_VIDEOPRESS}`],a={[r.JETPACK_ANTI_SPAM]:`${s.hp}products/illustration-anti-spam.png`,[r.JETPACK_BACKUP]:`${s.hp}products/illustration-backup.png`,[r.JETPACK_SCAN]:`${s.hp}products/illustration-scan.png`,[r.JETPACK_SEARCH]:`${s.hp}products/illustration-search.png`,[r.JETPACK_SECURITY]:`${s.hp}products/illustration-scan.png`,[r.JETPACK_VIDEOPRESS]:`${s.hp}products/illustration-videopress.png`}},5150:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(4498),a=n(9309),o=n(5162),c=n.n(o),l=n(2819),p=n(3190),u=n(253),d=n(2129),m=n(6920),h=n(4884),g=n(9508),f=n(4648),v=n(5229);const k=e=>{const{isFetchingProducts:t,isFetchingOffers:n,products:s}=e,a=t||n||(0,l.isEmpty)(s),o=[];return a||Object.values(f.tE).forEach((function(e){if(!s.hasOwnProperty(e))return;const t=s[e];t.available&&o.push(r().createElement(i.AW,{key:e,path:`/product/${e}`},r().createElement(v.Z,{product:t})))})),r().createElement(r().Fragment,null,r().createElement(u.Z,null),r().createElement(p.Z,null),a?r().createElement("div",{className:"jp-product-descriptions__loading"},r().createElement(d.D,null)):r().createElement(i.rs,null,o))};k.propTypes={products:c().object,isFetchingProducts:c().bool,isFetchingOffers:c().bool},t.Z=(0,a.$j)((e=>({isFetchingProducts:(0,h.T0)(e),isFetchingOffers:(0,m.HW)(e),products:(0,g.by)(e)})))(k)},5413:function(e,t,n){"use strict";n.d(t,{dn:function(){return o},jZ:function(){return c},pz:function(){return i},yS:function(){return a}});var s=n(9196),r=n.n(s);const i=r().createElement("svg",{fill:"none",viewBox:"0 0 22 16",xmlns:"http://www.w3.org/2000/svg"},r().createElement("path",{d:"m16.092 8.1635 0.0188-1.7025 1e-4 -0.03867c0-1.9752-1.8025-3.8666-4.4-3.8666-2.1696 0-3.828 1.3518-4.2735 2.9432l-0.42657 1.5238-1.581-0.06466c-0.0393-0.0016-0.07893-0.0024-0.11886-0.0024-1.587 0-2.9778 1.3444-2.9778 3.1333 0 1.7871 1.3878 3.1305 2.9728 3.1334l0.02863-2e-4h12.052l0.0123 2e-4c1.1943 0 2.2667-1.0162 2.2667-2.4 0-1.2351-0.8646-2.1899-1.8964-2.3684l-1.6776-0.2904zm-10.581-3.2038c-0.06651-0.00271-0.13335-0.00408-0.2005-0.00408-2.7492 0-4.9778 2.2983-4.9778 5.1333 0 2.8351 2.2286 5.1334 4.9778 5.1334l0.02962-2e-4h12.035l0.0236 2e-4c2.3564 0 4.2667-1.97 4.2667-4.4 0-2.1802-1.5375-3.99-3.5554-4.3392l3e-4 -0.0608c0-3.24-2.8653-5.8666-6.4-5.8666-2.9837 0-5.4905 1.8716-6.1994 4.404z",clipRule:"evenodd",fill:"#000",fillRule:"evenodd"})),a=r().createElement("svg",{className:"vertical",fill:"none",viewBox:"0 0 18 23",xmlns:"http://www.w3.org/2000/svg"},r().createElement("path",{d:"m9 0.23486 9 4.0909v6.0984c0 5.1987-3.3389 10.121-8.0471 11.674-0.61868 0.2041-1.2872 0.2041-1.9059 0-4.7082-1.5528-8.0471-6.4749-8.0471-11.674v-6.0984l9-4.0909zm-7 5.3787v4.8106c0 4.4173 2.8602 8.5166 6.6735 9.7743 0.21184 0.0698 0.44118 0.0698 0.65302 0 3.8133-1.2577 6.6735-5.357 6.6735-9.7743v-4.8106l-7-3.1818-7 3.1818z",clipRule:"evenodd",fill:"#000",fillRule:"evenodd"})),o=r().createElement("svg",{className:"vertical",fill:"none",viewBox:"0 0 20 25",xmlns:"http://www.w3.org/2000/svg"},r().createElement("path",{d:"m5.2729 24.276 10.667-23.333-1.2126-0.55434-1.6821 3.6796c-0.9128-0.46945-1.9479-0.73443-3.0449-0.73443-1.4153 0-2.7276 0.44103-3.8069 1.1931l-2.6065-2.6065-1.4142 1.4142 2.5684 2.5684c-0.7535 0.96578-1.2468 2.1445-1.3745 3.4307h-2.6996v2h2.6667v2h-2.6667v2h2.8c0.3345 1.6479 1.2768 3.075 2.5827 4.0372l-1.989 4.351 1.2126 0.5544zm1.634-6.7814c-0.96522-0.855-1.5737-2.1037-1.5737-3.4945v-4c0-2.5773 2.0893-4.6667 4.6667-4.6667 0.80034 0 1.5536 0.20149 2.2119 0.55651l-5.305 11.605zm7.567-8.8258 1.0786-2.3595c0.5878 0.88256 0.9708 1.9132 1.0811 3.0241h2.6996v2h-2.6667v2h2.6667v2h-2.8c-0.6177 3.043-3.3081 5.3334-6.5333 5.3334-0.33229 0-0.65891-0.0244-0.97816-0.0713l0.88215-1.9297c0.03193 6e-4 0.06393 1e-3 0.09601 1e-3 2.5773 0 4.6666-2.0894 4.6666-4.6667v-4c0-0.46256-0.0673-0.9094-0.1926-1.3313z",clipRule:"evenodd",fill:"#000",fillRule:"evenodd"})),c=r().createElement("svg",{className:"vertical",viewBox:"0 0 103 25",xmlns:"http://www.w3.org/2000/svg"},r().createElement("path",{d:"m52 0.23486 9 4.0909v6.0984c0 5.1987-3.3389 10.121-8.0471 11.674-0.6186 0.2041-1.2872 0.2041-1.9058 0-4.7082-1.5528-8.0471-6.4749-8.0471-11.674v-6.0984l9-4.0909zm-7 5.3787v4.8106c0 4.4173 2.8602 8.5166 6.6735 9.7743 0.2118 0.0698 0.4412 0.0698 0.653 0 3.8133-1.2577 6.6735-5.357 6.6735-9.7743v-4.8106l-7-3.1818-7 3.1818z",clipRule:"evenodd",fillRule:"evenodd"}),r().createElement("path",{d:"m31.82 13.188h3.1406v-1.2656h-3.1406v-3.2969h-1.2656v3.2969h-3.1406v1.2656h3.1406v3.2969h1.2656v-3.2969z",fill:"#8C8F94"}),r().createElement("path",{d:"m72.82 13.188h3.1406v-1.2656h-3.1406v-3.2969h-1.2656v3.2969h-3.1406v1.2656h3.1406v3.2969h1.2656v-3.2969z",fill:"#8C8F94"}),r().createElement("path",{d:"m88.273 24.276 10.667-23.333-1.2126-0.55434-1.6821 3.6796c-0.9128-0.46945-1.9479-0.73443-3.0449-0.73443-1.4153 0-2.7276 0.44103-3.807 1.1931l-2.6065-2.6065-1.4142 1.4142 2.5684 2.5684c-0.7535 0.96578-1.2468 2.1445-1.3745 3.4307h-2.6996v2h2.6667v2h-2.6667v2h2.8001c0.3344 1.6479 1.2767 3.075 2.5826 4.0372l-1.989 4.351 1.2126 0.5544zm1.634-6.7814c-0.9652-0.855-1.5736-2.1037-1.5736-3.4945v-4c0-2.5773 2.0893-4.6667 4.6667-4.6667 0.8003 0 1.5536 0.20149 2.2119 0.55651l-5.305 11.605zm7.5671-8.8258 1.0786-2.3595c0.5878 0.88256 0.9708 1.9132 1.0811 3.0241h2.6993v2h-2.6664v2h2.6664v2h-2.7997c-0.6177 3.043-3.3081 5.3334-6.5333 5.3334-0.3323 0-0.6589-0.0244-0.9782-0.0713l0.8822-1.9297c0.0319 6e-4 0.0639 1e-3 0.096 1e-3 2.5773 0 4.6666-2.0894 4.6666-4.6667v-4c0-0.46256-0.0673-0.9094-0.1926-1.3313z",clipRule:"evenodd",fillRule:"evenodd"}),r().createElement("path",{d:"m16.092 11.164 0.0188-1.7026 1e-4 -0.03867c0-1.9752-1.8025-3.8666-4.4-3.8666-2.1696 0-3.828 1.3518-4.2735 2.9432l-0.42657 1.5238-1.581-0.0647c-0.0393-0.0016-0.07893-0.0024-0.11886-0.0024-1.587 0-2.9778 1.3444-2.9778 3.1333 0 1.7871 1.3878 3.1305 2.9728 3.1334l0.02863-2e-4h12.052l0.0123 2e-4c1.1943 0 2.2667-1.0162 2.2667-2.4 0-1.2351-0.8646-2.1899-1.8964-2.3684l-1.6776-0.2904zm-10.581-3.2038c-0.06651-0.00271-0.13335-0.00408-0.2005-0.00408-2.7492 0-4.9778 2.2983-4.9778 5.1333 0 2.8351 2.2286 5.1334 4.9778 5.1334l0.02962-2e-4h12.035l0.0236 2e-4c2.3564 0 4.2667-1.97 4.2667-4.4 0-2.1802-1.5375-3.99-3.5554-4.3392l3e-4 -0.0608c0-3.24-2.8653-5.8666-6.4-5.8666-2.9837 0-5.4905 1.8716-6.1994 4.404z",clipRule:"evenodd",fillRule:"evenodd"}))},5229:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(5162),o=n.n(a),c=n(5235),l=n.n(c),p=n(2819),u=n(5736),d=n(4069),m=n(2177),h=n(3609),g=n(9508),f=n(6920),v=n(4648),k=n(5413);const __=u.__,_=(e,t,n,s)=>{const i=!s&&v.ZS.hasOwnProperty(e.key)?v.ZS[e.key]:void 0;let a,o;switch(e.slug){case"jetpack_backup_t0_yearly":case"jetpack_backup_t1_yearly":o=k.pz;break;case"jetpack_scan":o=k.yS;break;case"jetpack_anti_spam":o=k.dn;break;case"jetpack_security_t0_yearly":case"jetpack_security_t1_yearly":o=k.jZ,"secondary"===n&&(a=__("Popular upgrade","jetpack"))}const c=null==t?void 0:t.find((t=>{let{product_slug:n}=t;return n===e.slug})),l=(null==c?void 0:c.original_price)||e.fullPrice,p=null==c?void 0:c.raw_price;return r().createElement(m.Z,{icon:o,title:e.title,productSlug:e.slug,description:e.description,features:e.features,currencyCode:e.currencyCode,price:l/12,discountedPrice:p?p/12:null,billingDescription:__("per month, paid yearly","jetpack"),callToAction:a,priority:n,illustrationPath:i,checkoutUrl:e.upgradeUrl,checkoutText:(0,u.sprintf)(
/* translators: %s: Name of a Jetpack product. */
-__("Continue with %s","jetpack"),t.title)),!!t.cta_link&&!!t.cta_text&&o().createElement(d.Z,{className:"jp-recommendations-product-suggestion-item__external-link",href:t.cta_link,target:"_blank",icon:!0,iconSize:16,onClick:i,children:t.cta_text}))))};v.propTypes={product:i().object.isRequired};const b=(0,a.$j)((e=>({siteAdminUrl:(0,f.wW)(e),siteRawUrl:(0,f.JR)(e)})),(e=>({addSelectedRecommendation:t=>e((0,m.Pq)(t))})))(v)},95189:function(e,t,n){"use strict";n.d(t,{V:function(){return m}});var r=n(99196),i=n.n(r),s=n(2620),o=n(12901),a=n(65736),c=n(10618),l=n(79644),u=n(46576),p=n(8978),d=n(95554),h=n(11973),f=n(90218);const __=a.__,_x=a._x,m=(0,s.$j)((e=>({nextRoute:(0,f.mI)(e),suggestions:(0,f.El)(e),isFetchingSuggestions:(0,f.at)(e),isProductSuggestionsAvailable:(0,f.sB)(e)})),(e=>({addSkippedRecommendation:t=>e((0,f.J_)(t)),updateRecommendationsStep:t=>e((0,f.OC)(t))})))((e=>{const{addSkippedRecommendation:t,nextRoute:n,isFetchingSuggestions:s,isProductSuggestionsAvailable:a,updateRecommendationsStep:f,suggestions:m}=e;(0,r.useEffect)((()=>{f("product-suggestions")}),[f]);const g=(0,r.useCallback)((()=>{h.Z.tracks.recordEvent("jetpack_recommendations_product_suggestions_decide_later_click"),t("product-suggestions")}),[t]);if(s)return i().createElement(l.D,{altText:__("Loading recommendations","jetpack")});if(!a)return i().createElement(o.l_,{to:n.substring(1)});const v=i().createElement("div",{className:"jp-recommendations-product-suggestion__container"},i().createElement("div",{className:"jp-recommendations-product-suggestion__items"},m.map(((e,t)=>i().createElement(p.A,{key:t,product:e})))),i().createElement("div",{className:"jp-recommendations-product-suggestion__introductory-pricing"},__("Special introductory pricing, all renewals are at full price.","jetpack")),i().createElement("div",{className:"jp-recommendations-product-suggestion__money-back-guarantee"},i().createElement(d.N,{text:__("14-day money-back guarantee","jetpack")})),i().createElement("a",{className:"jp-recommendations-product-suggestion__skip",href:n,onClick:g},__("Decide later","jetpack")));return i().createElement(u.X,{progressBar:i().createElement(c.Z,{color:"#00A32A",value:"33"}),question:_x("Choose a plan","Recommendations Product Suggestions","jetpack"),description:_x("These are the most popular Jetpack plans for sites like yours:","Recommendations Product Suggestions","jetpack"),answer:v})}))},46576:function(e,t,n){"use strict";n.d(t,{X:function(){return p}});var r=n(89105),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(65736),u=n(98486);const __=l.__,p=e=>{const{answer:t,description:n,illustrationPath:r,progressBar:s,question:o}=e;return c().createElement("div",{className:i()("jp-recommendations-question__main",{"jp-recommendations-question__main--with-illustration":!!r})},c().createElement("div",{className:"jp-recommendations-question__content"},c().createElement("div",{className:"jp-recommendations-question__progress-bar"},s),c().createElement("h1",{className:"jp-recommendations-question__question"},o),c().createElement("p",{className:"jp-recommendations-question__description"},n),c().createElement("div",{className:"jp-recommendations-question__answer"},t)),r&&c().createElement("div",{className:"jp-recommendations-question__illustration-container"},c().createElement("img",{className:"jp-recommendations-question__illustration-background",src:u.hp+"recommendations/background.svg",alt:__("An illustration of a browser window used as the container to visually represent the current question.","jetpack")}),c().createElement("img",{className:"jp-recommendations-question__illustration-foreground",src:u.hp+r,alt:(0,l.sprintf)(
-/* translators: %s: Name of the current Jetpack Assistant question (read: step). */
-__("Illustration used to visually represent the current question: %s.","jetpack"),o)})))};p.propTypes={answer:o().element.isRequired,description:o().oneOfType([o().string,o().element]).isRequired,illustrationPath:o().string,progressBar:o().element.isRequired,question:o().oneOfType([o().string,o().element]).isRequired}},8931:function(e,t,n){"use strict";n.d(t,{g:function(){return f}});var r=n(99196),i=n.n(r),s=n(2620),o=n(65736),a=n(10618),c=n(46576),l=n(3722),u=n(9913),p=n(11973),d=n(66552),h=n(90218);const __=o.__,f=(0,s.$j)((e=>({nextRoute:(0,h.mI)(e),siteTitle:(0,d.aW)(e),answers:{personal:(0,h.$q)(e,"site-type-personal"),business:(0,h.$q)(e,"site-type-business"),store:(0,h.$q)(e,"site-type-store"),other:(0,h.$q)(e,"site-type-other")}})),(e=>({updateRecommendationsStep:t=>e((0,h.OC)(t)),saveRecommendationsData:()=>e((0,h.u8)())})))((e=>{const{answers:t,nextRoute:n,saveRecommendationsData:s,siteTitle:d,updateRecommendationsStep:h}=e;(0,r.useEffect)((()=>{h("site-type-question")}),[h]);const f=(0,r.useCallback)((()=>{s(),p.Z.tracks.recordEvent("jetpack_recommendations_site_type_answered",t)}),[t,s]),m=i().createElement("div",{className:"jp-recommendations-question__site-type-answer-container"},i().createElement("div",{className:"jp-recommendations-question__site-type-checkboxes"},i().createElement(l.C,{answerKey:"site-type-personal",title:__("Personal","jetpack"),info:__("Personal sites usually include blogs, resume sites, weddings or other events, and hobby sites.","jetpack")}),i().createElement(l.C,{answerKey:"site-type-business",title:__("Business","jetpack"),info:__("Business sites usually include shops, services like lawyers, or plumbers, and advertisers or influencers.","jetpack")}),i().createElement(l.C,{answerKey:"site-type-store",title:__("Store","jetpack"),info:__("Stores typically include online e-commerce stores selling goods, services, or digital downloads.","jetpack")}),i().createElement(l.C,{answerKey:"site-type-other",title:__("Other","jetpack"),info:__("Other sites may include non-profits, colleges or schools, apps, real-estate, or others.","jetpack")})),i().createElement(u.Z,{primary:!0,href:n,onClick:f},__("Continue","jetpack")),i().createElement("div",{className:"jp-recommendations-site-type-question__continue-description"},__("All of Jetpack’s great features await you and we’ll recommend some of our favorites.","jetpack")));return i().createElement(c.X,{progressBar:i().createElement(a.Z,{color:"#00A32A",value:"17"}),question:
+__("Add %s","jetpack"),e.title)})},y=e=>{const{availableProductsAndPlans:t,product:n,offers:i}=e,a=((e,t)=>{const n="security";return!((0,p.isEmpty)(e.includedInPlans)||!t.hasOwnProperty(n)||!e.includedInPlans.includes(n))&&t.security})(n,t);(0,s.useEffect)((()=>{d.Z.tracks.recordEvent("jetpack_product_description_view",{type:n.slug})}),[n]);const o=l()({"jp-product-description":!0,"jp-product-description--split":!!a});return r().createElement(r().Fragment,null,r().createElement("div",{className:o},_(n,i,"primary",!!a),!!a&&_(a,i,"secondary",!!a)),r().createElement("div",{className:"jp-product-description__introductory-pricing"},__("Special introductory pricing, all renewals are at full price.","jetpack")),r().createElement("div",{className:"jp-product-description__money-back-guarantee"},r().createElement(h.N,{text:__("14-day money-back guarantee","jetpack")})))};y.propTypes={product:o().object.isRequired,availableProductsAndPlans:o().object.isRequired,offers:o().arrayOf(o().object).isRequired},t.Z=(0,i.$j)((e=>({availableProductsAndPlans:(0,g.by)(e),offers:(0,f.ni)(e)})))(y)},1137:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var s=n(9508),r=n(4648);const i=(e,t)=>{const n=`${(0,s.wW)(e)}admin.php?page=jetpack#`;return r.w7.includes(`/product/${t}`)?`${n}/product/${t}`:`${n}/dashboard`}},8014:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5736),a=n(5060);const __=i.__;t.Z=()=>{const e=(0,s.useCallback)((()=>history.back()),[]);return r().createElement("button",{className:"jp-recommendations-back-btn",onClick:e},r().createElement(a.Z,{size:18,icon:"arrow-left"}),
+/* translators: As in go back to the previous page. */
+__("Back","jetpack"))}},9398:function(e,t,n){"use strict";n.d(t,{l:function(){return r},u:function(){return s}});const s={NOT_STARTED:"not-started",SITE_TYPE:"site-type-question",PRODUCT_SUGGESTIONS:"product-suggestions",PRODUCT_PURCHASED:"product-purchased",WOOCOMMERCE:"woocommerce",MONITOR:"monitor",RELATED_POSTS:"related-posts",CREATIVE_MAIL:"creative-mail",SITE_ACCELERATOR:"site-accelerator",PUBLICIZE:"publicize",SECURITY_PLAN:"security-plan",ANTI_SPAM:"anti-spam",VIDEOPRESS:"videopress",SUMMARY:"summary"},r="assistant-site-type"},3494:function(e,t,n){"use strict";var s=n(5736),r=n(5235),i=n.n(r),a=n(9196),o=n.n(a);const __=s.__;t.Z=e=>{let{className:t,discount:n,suffix:r}=e;return n?o().createElement("div",{className:i()("jp-recommendations-discount-badge",t)},(0,s.sprintf)(// translators: %d is the percentage value, %% the percentage symbol
+__("%d%% off","jetpack"),n),r):null}},2025:function(e,t,n){"use strict";n.d(t,{H:function(){return f}});var s=n(5235),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(7684),l=n(7506),p=n(5060),u=n(6626),d=n(4069),m=n(8722),h=n(5736),g=n(5609);const __=h.__,f=(0,o.$j)(((e,t)=>({isFeatureActive:(0,m.dz)(e,t.featureSlug),...(0,c.mp)(e,t.featureSlug),stepRoute:m.BR[t.featureSlug]})),((e,t)=>({...(0,c.ZS)(e,t.featureSlug)})))((e=>{const{activateFeature:t,configLink:n,configureButtonLabel:s,displayName:o,featureSlug:c,stepRoute:m,summaryActivateButtonLabel:h,isNew:f}=e,[v,k]=(0,i.useState)(!1),_=(0,i.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_configure_click",{feature:c})}),[c]),y=(0,i.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_enable_click",{feature:c}),k(!0),t().finally((()=>{k(!1)}))}),[t,c,k]),E=(0,i.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_step_name_click",{feature:c})}),[c]),w=(0,i.useMemo)((()=>n.match(/^https:\/\/jetpack.com\/redirect/)),[n]),b=a().createElement("div",{className:"jp-recommendations-feature-summary__cta"},e.isFeatureActive?a().createElement(a().Fragment,null,w?a().createElement(g.ExternalLink,{type:"button",className:"dops-button is-rna",href:n,onClick:_},s):a().createElement(l.Z,{rna:!0,href:n,onClick:_},s)):a().createElement(u.Z,{primary:!0,rna:!0,isInstalling:v,onClick:y},h));return a().createElement("div",{className:r()("jp-recommendations-feature-summary",{"is-feature-enabled":e.isFeatureActive})},e.isFeatureActive&&a().createElement("div",{className:"jp-recommendations-feature-summary__checkmark"},a().createElement(p.Z,{icon:"checkmark-circle",size:24})),a().createElement(l.Z,{borderless:!0,href:m,onClick:E,className:"jp-recommendations-feature-summary__display-name"},a().createElement("span",{className:"jp-recommendations-feature-summary__display-name-text"},o),f&&
+/* translators: 'New' is shown as a badge to indicate that this content has not been viewed before. */
+a().createElement("span",{className:"jp-recommendations__new-badge"},__("New","jetpack"))),a().createElement("div",{className:"jp-recommendations-feature-summary__actions"},b))}))},1508:function(e,t,n){"use strict";n.d(t,{_:function(){return d}});var s=n(9196),r=n.n(s),i=n(5609),a=n(9309),o=n(7684),c=n(8722),l=n(4069),p=n(5736),u=n(7506);const __=p.__,d=(0,a.$j)(((e,t)=>({...(0,o.H)(e,t.resourceSlug),stepRoute:c.BR[t.resourceSlug]})))((e=>{const{displayName:t,ctaLabel:n,ctaLink:a,resourceSlug:o,isNew:c,stepRoute:p}=e,d=(0,s.useCallback)((()=>{l.Z.tracks.recordEvent("jetpack_recommendations_summary_learn_more_click",{feature:o})}),[o]),m=(0,s.useCallback)((()=>{l.Z.tracks.recordEvent("jetpack_recommendations_summary_step_name_click",{feature:o})}),[o]);return r().createElement("div",{className:"jp-recommendations-feature-summary"},r().createElement(u.Z,{borderless:!0,href:p,onClick:m,className:"jp-recommendations-feature-summary__display-name"},r().createElement("span",{className:"jp-recommendations-feature-summary__display-name-text"},t),c&&
+/* translators: 'New' is shown as a badge to indicate that this content has not been viewed before. */
+r().createElement("span",{className:"jp-recommendations__new-badge"},__("New","jetpack"))),r().createElement("div",{className:"jp-recommendations-feature-summary__actions"},r().createElement("div",{className:"jp-recommendations-feature-summary__cta"},r().createElement(i.ExternalLink,{type:"button",className:"dops-button is-rna",href:a,onClick:d},n))))}))},7684:function(e,t,n){"use strict";n.d(t,{H:function(){return u},ZS:function(){return d},gU:function(){return m},mp:function(){return p},qJ:function(){return g},r3:function(){return h}});var s=n(5736),r=n(4743),i=n(6324),a=n(9508),o=n(3230),c=n(1372),l=n(9584);const __=s.__,p=(e,t)=>{switch(t){case"creative-mail":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Creative Mail","jetpack"),summaryActivateButtonLabel:__("Install","jetpack"),configLink:(0,a.wW)(e)+"admin.php?page=creativemail"};case"monitor":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Downtime Monitoring","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=monitor"};case"related-posts":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Related Posts","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=related%20posts"};case"site-accelerator":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Site Accelerator","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=cdn"};case"publicize":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Social Media Sharing","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:(0,i.Z)("calypso-marketing-connections",{site:(0,a.JR)(e)})};case"videopress":return{configureButtonLabel:__("How To","jetpack"),displayName:__("VideoPress","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:(0,i.Z)("jetpack-support-videopress-block-editor")};case"woocommerce":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("WooCommerce","jetpack"),summaryActivateButtonLabel:__("Install","jetpack"),configLink:(0,a.wW)(e)+"admin.php?page=wc-admin&path=%2Fsetup-wizard"};default:throw`Unknown feature slug in mapStateToSummaryFeatureProps() recommendations/feature-utils.js: ${t}`}},u=(e,t)=>{switch(t){case"security-plan":return{displayName:__("Site Security","jetpack"),ctaLabel:__("Read More","jetpack"),ctaLink:(0,i.Z)("jetpack-blog-wordpress-security-for-beginners")};case"anti-spam":return{displayName:__("Spam Management","jetpack"),ctaLabel:__("Read More","jetpack"),ctaLink:(0,i.Z)("jetpack-blog-spam-comments")};default:throw`Unknown resource slug in mapStateToSummaryResourceProps() recommendations/feature-utils.js: ${t}`}},d=(e,t)=>{switch(t){case"creative-mail":return{activateFeature:()=>r.ZP.installPlugin("creative-mail-by-constant-contact","recommendations").then((()=>{e((0,c.s4)())}))};case"monitor":return{activateFeature:()=>e((0,o.VP)({monitor:!0}))};case"related-posts":return{activateFeature:()=>e((0,o.VP)({"related-posts":!0}))};case"site-accelerator":return{activateFeature:()=>e((0,o.VP)({photon:!0,"photon-cdn":!0,tiled_galleries:!0,"tiled-gallery":!0}))};case"publicize":return{activateFeature:()=>e((0,o.VP)({publicize:!0}))};case"videopress":return{activateFeature:()=>e((0,o.VP)({videopress:!0}))};case"woocommerce":return{activateFeature:()=>r.ZP.installPlugin("woocommerce","recommendations").then((()=>{e((0,c.s4)())}))};default:throw`Unknown feature slug in mapDispatchToProps recommendations/feature-utils.js: ${t}`}},m=e=>{switch(e){case"creative-mail":return{progressValue:"83",question:__("Would you like to turn site visitors into subscribers?","jetpack"),description:__("The Jetpack Newsletter Form combined with Creative Mail by Constant Contact can help automatically gather subscribers and send them beautiful emails. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://jetpack.com/support/jetpack-blocks/form-block/newsletter-sign-up-form/",ctaText:__("Install Creative Mail","jetpack"),illustration:"assistant-creative-mail"};case"monitor":return{progressValue:"50",question:__("Would you like Downtime Monitoring to notify you if your site goes offline?","jetpack"),description:__("If your site ever goes down, Downtime Monitoring will send you an email or push notitification to let you know. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://jetpack.com/support/monitor/",ctaText:__("Enable Downtime Monitoring","jetpack"),illustration:"assistant-downtime-monitoring"};case"related-posts":return{progressValue:"67",question:__("Would you like Related Posts to display at the bottom of your content?","jetpack"),description:__("Displaying Related Posts at the end of your content keeps visitors engaged and on your site. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://jetpack.com/support/related-posts/",ctaText:__("Enable Related Posts","jetpack"),illustration:"assistant-related-post"};case"site-accelerator":return{progressValue:"99",question:__("Would you like your site to load faster?","jetpack"),description:__("Faster sites get better ranking in search engines and help keep visitors on your site longer. Jetpack will automatically optimize and load your images and files from our global Content Delivery Network (CDN). <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://jetpack.com/support/site-accelerator/",ctaText:__("Enable Site Accelerator","jetpack"),illustration:"assistant-site-accelerator"};case"publicize":return{question:__("Automatically share your posts to social media to grow your audience.","jetpack"),description:__("It’s easy to share your content to a wider audience by connecting your social media accounts to Jetpack. When you publish a post, it will automatically appear on all your favorite platforms. Best of all, it’s free. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("jetpack-blog-social-sharing"),ctaText:__("Enable Social Media Sharing","jetpack")};case"security-plan":return{question:__("With more plugins comes more responsibility.","jetpack"),description:__("As you add plugins to your site, you have to start thinking about vulnerabilities, failed updates, and incompatible plugins. You should ensure that the plugins you install:","jetpack"),descriptionList:[__("Have good user ratings","jetpack"),__("Are compatible with the most recent version of WordPress","jetpack"),__("Are developed by teams that respond to support requests promptly","jetpack")],descriptionSecondary:__("Or let Jetpack handle your security and backups so you can focus on your business.","jetpack"),ctaText:__("Read WordPress Security for Beginners","jetpack"),ctaLink:(0,i.Z)("jetpack-blog-wordpress-security-for-beginners")};case"anti-spam":return{question:__("It’s time to block spam comments.","jetpack"),description:__("Congratulations! Your content is getting traction and receiving comments. The more popular your content is, the more likely it is you will be a target for spam comments. To ensure a great experience for your readers, we recommend manually moderating spam or using an automated product like Jetpack Anti-spam.","jetpack"),ctaText:__("Learn how to block spam","jetpack"),ctaLink:(0,i.Z)("jetpack-blog-spam-comments")};case"videopress":return{question:__("Share videos on your site to increase engagement and purchases.","jetpack"),description:__("No matter your business, adding videos to your site is essential for success. Jetpack VideoPress offers HD, ad-free video hosting, so you can keep the focus on your content. Try it for free or upgrade for more space. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("jetpack-videopress"),ctaText:__("Try VideoPress for free","jetpack")};case"woocommerce":return{progressValue:"33",question:__("Would you like WooCommerce to power your store?","jetpack"),description:__("We’re partnered with <strong>WooCommerce</strong> — a customizable, open-source eCommerce platform built for WordPress. It’s everything you need to start selling products today. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:"https://woocommerce.com/woocommerce-features/",ctaText:__("Install WooCommerce","jetpack")};default:throw`Unknown step slug in recommendations/question: ${e}`}},h=(e,t)=>{const n=(0,a.JR)(e),s=(0,a.Q6)(e);switch(t){case l.Et:return{productCardTitle:__("Increase your site security!","jetpack"),productCardCtaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:n,path:t}),productCardCtaText:__("Get Jetpack Security","jetpack"),productCardList:s.security?s.security.features:[],productCardIcon:"/recommendations/cloud-icon.svg"};case l.sh:return{productCardTitle:__("Block spam automatically with Jetpack Anti-spam","jetpack"),productCardCtaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:n,path:t}),productCardCtaText:__("Get Anti-spam","jetpack"),productCardList:s.akismet?s.akismet.features:[],productCardIcon:"/recommendations/bug-icon.svg"};case l.v_:return{productCardTitle:__("Upgrade for more videos and storage","jetpack"),productCardCtaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:n,path:t}),productCardCtaText:__("Get VideoPress","jetpack"),productCardList:s.videopress?s.videopress.features:[],productCardIcon:"/recommendations/video-icon.svg"};default:throw`Unknown product slug for getProductCardData: ${t}`}},g=(e,t,n)=>{if(t===l.Et){if("publicize"===n)return{productCardTitle:__("Your site is growing. It’s time for a security plan.","jetpack")};if("security-plan"===n)return{productCardTitle:__("Jetpack Security gives you complete site protection and backups.","jetpack")}}return{}}},1912:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(9508),l=n(6876),p=n(8356);t.Z=e=>(0,o.$j)((e=>({discountData:(0,l.u)(e),siteAdminUrl:(0,c.wW)(e),siteRawUrl:(0,c.JR)(e)})))((t=>{const{slug:n,discountData:s,siteAdminUrl:o,siteRawUrl:c}=t,{code:l}=s,u=(0,i.useMemo)((()=>(0,p.N)(n,o,c,l)),[n,o,c,l]);return a().createElement(e,r()({upgradeUrl:u},t))}))},2267:function(e,t,n){"use strict";n.d(t,{V:function(){return x}});var s=n(9196),r=n.n(s),i=n(4498),a=n(9309),o=n(5736),c=n(6324),l=n(9720),p=n(5376),u=n(4404),d=n(7392),m=n(3026),h=n(298),g=n(3190),f=n(8408),v=n(23),k=n(4602),_=n(8546),y=n(9270),E=n(7679),w=n(8722),b=n(9508),C=n(2658),j=n(2129),S=n(9398),N=n(7806);const __=o.__,x=(0,a.$j)((e=>({isLoading:!(0,w.WA)(e)||!(0,w.i8)(e),step:(0,w.TO)(e),newRecommendations:(0,b.YJ)(e)})))((e=>{const{isLoading:t,step:n,newRecommendations:s}=e;let a;switch(n){case S.u.NOT_STARTED:case S.u.SITE_TYPE:a="/site-type";break;case S.u.PRODUCT_SUGGESTIONS:a="/product-suggestions";break;case S.u.PRODUCT_PURCHASED:a="/product-purchased";break;case S.u.WOOCOMMERCE:a="/woocommerce";break;case S.u.MONITOR:a="/monitor";break;case S.u.RELATED_POSTS:a="/related-posts";break;case S.u.CREATIVE_MAIL:a="/creative-mail";break;case S.u.SITE_ACCELERATOR:a="/site-accelerator";break;case S.u.PUBLICIZE:a="/publicize";break;case S.u.SECURITY_PLAN:a="/security-plan";break;case S.u.ANTI_SPAM:a="/anti-spam";break;case S.u.VIDEOPRESS:a="/videopress";break;case S.u.SUMMARY:a="/summary";break;default:throw`Unknown step ${n} in RecommendationsComponent`}const o=e=>s&&s.includes(e);return r().createElement(r().Fragment,null,r().createElement(h.Z,null),r().createElement(f.Z,null),r().createElement(v.Z,null),r().createElement(k.Z,null),r().createElement(_.Z,null),r().createElement(y.Z,null),r().createElement(E.Z,null),r().createElement(C.Z,null),r().createElement(g.Z,null),t?r().createElement("div",{className:"jp-recommendations__loading"},r().createElement(j.D,{altText:__("Loading recommendations","jetpack")})):r().createElement(i.rs,null,r().createElement(i.l_,{exact:!0,from:"/recommendations",to:"/recommendations"+a}),r().createElement(i.AW,{path:"/recommendations/site-type"},r().createElement(d.g,null)),r().createElement(i.AW,{path:"/recommendations/product-suggestions"},r().createElement(p.V,null)),r().createElement(i.AW,{path:"/recommendations/product-purchased"},r().createElement(u.Y,null)),r().createElement(i.AW,{path:"/recommendations/woocommerce"},r().createElement(l.Q,{stepSlug:"woocommerce"})),r().createElement(i.AW,{path:"/recommendations/monitor"},r().createElement(l.Q,{stepSlug:"monitor"})),r().createElement(i.AW,{path:"/recommendations/related-posts"},r().createElement(l.Q,{stepSlug:"related-posts"})),r().createElement(i.AW,{path:"/recommendations/creative-mail"},r().createElement(l.Q,{stepSlug:"creative-mail"})),r().createElement(i.AW,{path:"/recommendations/site-accelerator"},r().createElement(l.Q,{stepSlug:"site-accelerator"})),r().createElement(i.AW,{path:"/recommendations/publicize"},r().createElement(l.Q,{stepSlug:"publicize",isNew:o("publicize")})),r().createElement(i.AW,{path:"/recommendations/security-plan"},r().createElement(N.t,{stepSlug:"security-plan",isNew:o("security-plan")})),r().createElement(i.AW,{path:"/recommendations/anti-spam"},r().createElement(N.t,{stepSlug:"anti-spam",isNew:o("anti-spam")})),r().createElement(i.AW,{path:"/recommendations/videopress"},r().createElement(l.Q,{stepSlug:"videopress",isNew:o("videopress")})),r().createElement(i.AW,{path:"/recommendations/summary"},r().createElement(m.E,{newRecommendations:s}))),r().createElement("div",{className:"jp-footer"},r().createElement("li",{className:"jp-footer__link-item"},r().createElement("a",{role:"button",tabIndex:"0",className:"jp-footer__link",href:(0,c.Z)("jetpack-support-getting-started")},__("Learn how to get started with Jetpack","jetpack"))),r().createElement("li",{className:"jp-footer__link-item"},r().createElement("a",{role:"button",tabIndex:"0",className:"jp-footer__link",href:(0,c.Z)("jetpack-support")},__("Search our support site","jetpack")))))}))},8821:function(e,t,n){"use strict";n.d(t,{u:function(){return b}});var s=n(2402),r=n.n(s),i=n(5235),a=n.n(i),o=n(5162),c=n.n(o),l=n(9196),p=n.n(l),u=n(9309),d=n(5607),m=n(5736),h=n(7506),g=n(6920),f=n(6876),v=n(3494),k=n(1912),_=n(6622),y=n(7279);const __=m.__,E=e=>{let{className:t,integer:n,fraction:s,symbol:r}=e;return p().createElement("div",{className:t},p().createElement("sup",{className:"jp-recommendations-product-card-upsell__currency-symbol"},r),p().createElement("span",{className:"jp-recommendations-product-card-upsell__price-integer"},n),p().createElement("sup",{className:"jp-recommendations-product-card-upsell__price-fraction"},s))},w=e=>{let{slug:t,cost:n,title:s,description:i,billing_timeframe:o,cost_timeframe:c,currency_code:u,isRecommended:g,features:f,onClick:k,onMount:w,isFetchingDiscount:b,isFetchingOffers:C,discountData:j,introOffers:S,upgradeUrl:N}=e;const{discount:x}=j,T=(0,l.useMemo)((()=>(0,y.h)(j)),[j]),{original_price:O,raw_price:P}=(0,l.useMemo)((()=>S.find((e=>{let{product_slug:n}=e;return n===t}))||{}),[t,S]),M=O||12*n,A=P||M,Z=T&&x?A*(1-x/100):A,U=M?Math.round((M-Z)/M*100):null,R=(0,l.useMemo)((()=>(0,d.LR)(M/12,u)),[M,u]),L=(0,l.useMemo)((()=>(0,d.LR)(Z/12,u)),[Z,u]),z=g&&p().createElement(_.Z,{className:"jp-recommendations-product-card-upsell__header"});return(0,l.useEffect)((()=>{w&&w()}),[w]),p().createElement("div",{className:a()("jp-recommendations-product-card-upsell",{"with-header":!!z})},z,p().createElement("h1",{className:"jp-recommendations-product-card-upsell__heading"},s),p().createElement("p",{className:"jp-recommendations-product-card-upsell__description"},i),p().createElement("ul",{className:"jp-recommendations-product-card-upsell__features jp-recommendations-sidebar-card__features"},f.map((e=>p().createElement("li",{key:e},e)))),!(b||C)&&p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-recommendations-product-card-upsell__price-container"},p().createElement("div",{className:"jp-recommendations-product-card-upsell__price"},T&&p().createElement(E,r()({className:"jp-recommendations-product-card-upsell__raw-price"},R)),p().createElement(E,r()({className:"jp-recommendations-product-card-upsell__final-price"},L)),T&&p().createElement(v.Z,{className:"jp-recommendations-product-card-upsell__discount",discount:U,suffix:"*"})),p().createElement("div",{className:"jp-recommendations-product-card-upsell__billing-time-frame"},`${c}, ${o}`))),p().createElement(h.Z,{className:"jp-recommendations-product-card-upsell__cta-button",primary:!g,rna:!0,href:N,onClick:k,target:"_blank",rel:"noopener noreferrer"},
+/* translators: %s: Jetpack product name. */
+(0,m.sprintf)(__("Get %s","jetpack"),s)))};w.propTypes={slug:c().string.isRequired,cost:c().number.isRequired,title:c().string.isRequired,description:c().string.isRequired,billing_timeframe:c().string.isRequired,cost_timeframe:c().string.isRequired,currency_code:c().string.isRequired,features:c().arrayOf(c().string).isRequired,isRecommended:c().bool,onClick:c().func,onMount:c().func};const b=(0,u.$j)((e=>({isFetchingDiscount:(0,f.Zd)(e),isFetchingOffers:(0,g.HW)(e),discountData:(0,f.u)(e),introOffers:(0,g.ni)(e)})))((0,k.Z)(w))},4404:function(e,t,n){"use strict";n.d(t,{Y:function(){return f}});var s=n(9196),r=n.n(s),i=n(9309),a=n(2819),o=n(5736),c=n(2395),l=n(9916),p=n(2129),u=n(7506),d=n(5060),m=n(4069),h=n(8722),g=n(3002);const __=o.__,_x=o._x,f=(0,i.$j)((e=>({activePurchases:(0,g.p)(e),isFetchingSiteData:(0,g._5)(e),isFetchingSuggestions:(0,h.at)(e),nextRoute:(0,h.mI)(e),sitePlan:(0,g.UL)(e),suggestions:(0,h.El)(e)})))((e=>{const{nextRoute:t}=e,n=(e=>{let{activePurchases:t,isFetchingSiteData:n,isFetchingSuggestions:s,sitePlan:r,suggestions:i}=e;if(n||s)return!1;if(!i||!(0,a.isArray)(i))return!1;const o=i.find((e=>e.slug===r.product_slug));if(o)return o;if((0,a.isArray)(t)){const e=i.find((e=>{if(t.find((t=>e.slug===t.product_slug)))return e}));if(e)return e}return!1})(e);if((0,s.useEffect)((()=>{n&&m.Z.tracks.recordEvent("jetpack_recommendations_product_suggestion_purchased",{type:n.slug})}),[n]),!n)return r().createElement(p.D,{altText:__("Loading recommendations","jetpack")});const i=r().createElement("div",{className:"jp-recommendations-product-purchased"},r().createElement("ul",{className:"jp-recommendations-product-purchased__features"},n&&n.features.map(((e,t)=>r().createElement("li",{className:"jp-recommendations-product-purchased__feature",key:t},r().createElement(d.Z,{icon:"checkmark"}),e)))),r().createElement(u.Z,{primary:!0,rna:!0,className:"jp-recommendations-product-purchased__next",href:t},_x("Configure your site","Recommendations Product Purchased","jetpack")));return r().createElement(l.X,{progressBar:r().createElement(c.Z,{color:"#00A32A",value:"33"}),question:__("Your plan has been upgraded!","jetpack"),description:__("You now have access to these benefits:","jetpack"),answer:i,illustration:"assistant-product-purchased",illustrationClassName:"jp-recommendations-product-purchased__illustration"})}))},68:function(e,t,n){"use strict";n.d(t,{C:function(){return h}});var s=n(5235),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2698),u=n(4069),d=n(8722);const m=e=>{let{answerKey:t,checked:n,info:s,title:i,updateCheckboxAnswer:a}=e;const l=(0,o.useCallback)((()=>a({[t]:!n})),[t,n,a]),d=(0,o.useCallback)((()=>{u.Z.tracks.recordEvent("jetpack_recommendations_site_type_popover_click",{type:t.replace("-","_")})}),[t]);return c().createElement("div",{className:"jp-checkbox-answer__container"},c().createElement("div",{className:r()("jp-checkbox-answer__checkbox",{checked:n})},c().createElement("input",{id:t,className:"jp-checkbox-answer__checkbox-input",type:"checkbox",checked:n,onChange:l}),c().createElement("label",{htmlFor:t,className:"jp-checkbox-answer__title"},i)),c().createElement("div",{className:"jp-checkbox-answer__info"},c().createElement(p.Z,{position:"top right",onClick:d},s)))};m.propTypes={answerKey:a().string.isRequired,info:a().string.isRequired,title:a().string.isRequired};const h=(0,l.$j)(((e,t)=>({checked:(0,d.$q)(e,t.answerKey)})),(e=>({updateCheckboxAnswer:t=>e((0,d.x5)(t))})))(m)},9720:function(e,t,n){"use strict";n.d(t,{Q:function(){return _}});var s=n(2395),r=n(9307),i=n(5736),a=n(9196),o=n.n(a),c=n(9309),l=n(5609),p=n(6095),u=n(7684),d=n(9916),m=n(9398),h=n(8747),g=n(7506),f=n(4069),v=n(8722),k=n(5060);const __=i.__,_=(0,c.$j)(((e,t)=>({nextRoute:(0,v.mI)(e),...(0,u.gU)(t.stepSlug),...(0,u.mp)(e,t.stepSlug),stateStepSlug:(0,v.TO)(e),updatingStep:(0,v.ZL)(e),canShowProductSuggestions:(0,v.sB)(e),discountViewedStep:(0,v.VZ)(e),featureActive:(0,v.dz)(e,t.stepSlug),summaryViewed:(0,v.E3)(e,"summary"),spotlightProduct:(0,v.fo)(e,t.stepSlug)})),((e,t)=>({addSelectedRecommendation:t=>e((0,v.Pq)(t)),addSkippedRecommendation:t=>e((0,v.J_)(t)),addViewedRecommendation:t=>e((0,v.Hm)(t)),updateRecommendationsStep:t=>e((0,v.OC)(t)),...(0,u.ZS)(e,t.stepSlug)})))((e=>{const{activateFeature:t,addSelectedRecommendation:n,addSkippedRecommendation:i,addViewedRecommendation:c,ctaText:u,description:v,descriptionLink:_,illustration:y,nextRoute:E,progressValue:w,question:b,stepSlug:C,stateStepSlug:j,updatingStep:S,updateRecommendationsStep:N,spotlightProduct:x,isNew:T,canShowProductSuggestions:O,discountViewedStep:P,featureActive:M,configureButtonLabel:A,configLink:Z,summaryViewed:U}=e;(0,a.useEffect)((()=>{C!==j?N(C):C!==j||S||(c(C),f.Z.tracks.recordEvent("jetpack_recommendations_recommendation_viewed",{feature:C}))}),[C,j,S,N,c]);const R=!P||P===C,L=(0,a.useCallback)((()=>{f.Z.tracks.recordEvent("jetpack_recommended_feature_learn_more_click",{feature:C})}),[C]),z=(0,a.useCallback)((()=>{f.Z.tracks.recordEvent("jetpack_recommended_feature_enable_click",{feature:C}),n(C),t()}),[t,n,C]),I=(0,a.useCallback)((()=>{f.Z.tracks.recordEvent("jetpack_recommended_feature_configure_click",{feature:C})}),[C]),D=(0,a.useCallback)((()=>{f.Z.tracks.recordEvent("jetpack_recommended_feature_decide_later_click",{feature:C}),i(C)}),[i,C]),F=(0,a.useCallback)((()=>{f.Z.tracks.recordEvent("jetpack_recommended_feature_back_to_summary_click",{feature:C})}),[C]),V=(0,a.useMemo)((()=>Z.match(/^https:\/\/jetpack.com\/redirect/)),[Z]);let B=null;return x?B=o().createElement(h.N,{productSlug:x,stepSlug:C}):R&&O&&(B=o().createElement(p.Z,null)),o().createElement(d.X,{progressBar:w?o().createElement(s.Z,{color:"#00A32A",value:w}):null,isNew:T,question:b,description:(0,r.createInterpolateElement)(v,{strong:o().createElement("strong",null),ExternalLink:o().createElement(l.ExternalLink,{href:_,onClick:L})}),answer:o().createElement("div",{className:"jp-recommendations-question__install-section"},M?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-recommendations-question__feature-enabled"},o().createElement("div",{className:"jp-recommendations-question__checkmark"},o().createElement(k.Z,{icon:"checkmark-circle",size:24})),o().createElement("span",null,__("Feature Enabled","jetpack"))),o().createElement("div",{className:"jp-recommendations-question__settings-button"},V?o().createElement(l.ExternalLink,{type:"button",className:"dops-button is-rna",href:Z,onClick:I},A):o().createElement(g.Z,{rna:!0,href:Z,onClick:I},A))):o().createElement(g.Z,{primary:!0,rna:!0,href:E,onClick:z},u),o().createElement("div",{className:"jp-recommendations-question__jump-nav"},o().createElement("a",{href:E,onClick:D},M&&__("Next","jetpack"),!M&&__("Not now","jetpack")),U&&o().createElement(o().Fragment,null,o().createElement("span",{className:"jp-recommendations-question__jump-nav-separator"},"|"),o().createElement("a",{onClick:F,href:"#/recommendations/summary"},__("View Summary","jetpack")," ")))),sidebarCard:B,illustration:y||m.l})}))},9908:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var s=n(2402),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(4069),u=n(8722),d=n(3002),m=n(8821),h=n(7279);const g=e=>{let{product:t,addSelectedRecommendation:n,upsell:s,discountData:i}=e;const a=(0,o.useMemo)((()=>(0,h.h)(i)),[i]),l=(0,o.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_product_suggestion_click",{product_slug:t.slug,discount:a}),n("product-suggestions")}),[t,n,a]),u=(0,o.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_product_suggestion_display",{product_slug:t.slug,discount:a})}),[t,a]);return c().createElement(m.u,r()({},t,{isRecommended:t.slug===(null==s?void 0:s.product_slug),onClick:l,onMount:u}))};g.propTypes={product:a().object.isRequired};const f=(0,l.$j)((e=>({upsell:(0,u.jn)(e),discountData:(0,d.u)(e)})),(e=>({addSelectedRecommendation:t=>e((0,u.Pq)(t))})))(g)},5376:function(e,t,n){"use strict";n.d(t,{V:function(){return f}});var s=n(9196),r=n.n(s),i=n(9309),a=n(4498),o=n(5736),c=n(2129),l=n(3609),p=n(8722),u=n(6876),d=n(9908),m=n(8014),h=n(8842),g=n(7279);const __=o.__,f=(0,i.$j)((e=>({nextRoute:(0,p.mI)(e),isProductSuggestionsAvailable:(0,p.sB)(e),isFetchingSuggestions:(0,p.at)(e),isFetchingDiscount:(0,u.Zd)(e),isFetchingUpsell:(0,p.b5)(e),suggestions:(0,p.El)(e),discountData:(0,u.u)(e)})))((e=>{let{nextRoute:t,isProductSuggestionsAvailable:n,isFetchingSuggestions:i,isFetchingDiscount:o,isFetchingUpsell:p,suggestions:u,discountData:f}=e;const{expiry_date:v}=f,k=(0,s.useMemo)((()=>(0,g.h)(f)),[f]);return i||p?r().createElement(c.D,{altText:__("Loading recommendations","jetpack")}):n?r().createElement("section",{className:"jp-recommendations-question__main"},r().createElement("header",{className:"jp-recommendations-product-suggestion__header"},r().createElement(m.Z,null)),r().createElement("div",{className:"jp-recommendations-product-suggestion__container"},r().createElement("div",{className:"jp-recommendations-product-suggestion__items"},u.map(((e,t)=>r().createElement("div",{className:"jp-recommendations-product-suggestion__item",key:t},r().createElement(d.A,{product:e}))))),r().createElement("div",{className:"jp-recommendations-product-suggestion__money-back-guarantee"},r().createElement(l.N,{text:__("14-day money-back guarantee","jetpack")}))),!o&&r().createElement("footer",{className:"jp-recommendations-product-suggestion__footer"},r().createElement("span",null,k&&__("* Discount is for first term only, all renewals are at full price.","jetpack"),!k&&__("Special introductory pricing, all renewals are at full price.","jetpack")),k&&v&&r().createElement("div",{className:"jp-recommendations-product-suggestion__timer"},r().createElement(h.Z,{timeClassName:"jp-recommendations-product-suggestion__time",label:__("Discount ends in:","jetpack"),expiryDate:v})))):r().createElement(a.l_,{to:t.substring(1)})}))},9916:function(e,t,n){"use strict";n.d(t,{X:function(){return v}});var s=n(5235),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(800),d=n(6920),m=n(8722),h=n(6876);const __=p.__,g=e=>{let{isLoading:t,illustration:n,illustrationClassName:s,sidebarCard:i}=e;const a=`${u.hp}recommendations/${n}`;return t?null:i?c().createElement("div",{className:"jp-recommendations-question__sidebar-card"},i):n?c().createElement("div",{className:"jp-recommendations-question__illustration-container"},c().createElement("picture",{className:"jp-recommendations-question__illustration-picture"},c().createElement("source",{type:"image/webp",srcset:`${a}.webp 1x, ${a}-2x.webp 2x`}),c().createElement("img",{className:r()("jp-recommendations-question__illustration",s),srcset:`${a}-2x.png 2x`,src:`${a}.png`,alt:""}))):null},f=e=>{const{answer:t,description:n,illustration:s,progressBar:i,question:a,content:o,isNew:l,sidebarCard:p}=e;return c().createElement("div",{className:r()("jp-recommendations-question__main",{"jp-recommendations-question__main--with-sidebar":!!s||!!p})},c().createElement("div",{className:"jp-recommendations-question__content"},(l||i)&&c().createElement("div",{className:"jp-recommendations-question__progress-bar-wrap"},l&&c().createElement("span",{className:"jp-recommendations__new-badge"},__("New","jetpack")),c().createElement("div",{className:"jp-recommendations-question__progress-bar"},i)),c().createElement("h1",{className:"jp-recommendations-question__question"},a),c().createElement("p",{className:"jp-recommendations-question__description"},n),o,c().createElement("div",{className:"jp-recommendations-question__answer"},t)),c().createElement("div",{className:"jp-recommendations-question__sidebar"},c().createElement(g,e)))};f.propTypes={answer:a().element.isRequired,description:a().oneOfType([a().string,a().element]).isRequired,illustration:a().string,illustrationClassName:a().string,progressBar:a().element.isRequired,question:a().oneOfType([a().string,a().element]).isRequired,content:a().element.isRequired,sidebarCard:a().element,isNew:a().boolean,isLoading:a().boolean};const v=(0,l.$j)((e=>({isLoading:(0,h.Zd)(e)||(0,m.at)(e)||(0,d.HW)(e)})))(f)},7806:function(e,t,n){"use strict";n.d(t,{t:function(){return f}});var s=n(9196),r=n.n(s),i=n(9309),a=n(2395),o=n(9307),c=n(5609),l=n(5736),p=n(8722),u=n(4069),d=n(9916),m=n(9398),h=n(7684),g=n(8747);const __=l.__,f=(0,i.$j)(((e,t)=>({nextRoute:(0,p.mI)(e),...(0,h.gU)(t.stepSlug),stateStepSlug:(0,p.TO)(e),updatingStep:(0,p.ZL)(e),summaryViewed:(0,p.E3)(e,"summary"),spotlightProduct:(0,p.fo)(e,t.stepSlug)})),(e=>({addViewedRecommendation:t=>e((0,p.Hm)(t)),updateRecommendationsStep:t=>e((0,p.OC)(t))})))((e=>{const{isNew:t,progressValue:n,question:i,description:l,descriptionList:p,descriptionSecondary:h,descriptionLink:f,nextRoute:v,ctaText:k,ctaLink:_,stepSlug:y,stateStepSlug:E,updatingStep:w,spotlightProduct:b,updateRecommendationsStep:C,addViewedRecommendation:j,summaryViewed:S}=e;(0,s.useEffect)((()=>{y!==E?C(y):y!==E||w||(j(y),u.Z.tracks.recordEvent("jetpack_recommendations_recommendation_viewed",{feature:y}))}),[y,E,w,C,j]);const N=(0,s.useCallback)((()=>{u.Z.tracks.recordEvent("jetpack_recommended_resource_learn_more_click",{feature:y})}),[y]),x=(0,s.useCallback)((()=>{u.Z.tracks.recordEvent("jetpack_recommended_resource_read_click",{feature:y}),window.location.href=v}),[y,v]),T=(0,s.useCallback)((()=>{u.Z.tracks.recordEvent("jetpack_recommended_resource_skip_click",{feature:y})}),[y]),O=(0,s.useCallback)((()=>{u.Z.tracks.recordEvent("jetpack_recommended_resource_back_to_summary_click",{feature:y})}),[y]);return r().createElement(d.X,{progressBar:n?r().createElement(a.Z,{color:"#00A32A",value:n}):null,isNew:t,question:i,description:(0,o.createInterpolateElement)(l,{strong:r().createElement("strong",null),ExternalLink:r().createElement(c.ExternalLink,{href:f,onClick:N})}),content:p||h?r().createElement(r().Fragment,null,p&&r().createElement("ul",{className:"jp-recommendations-question__description-list"},p.map((e=>r().createElement("li",null,e)))),h&&r().createElement("p",{className:"jp-recommendations-question__description"},h)):null,answer:r().createElement("div",{className:"jp-recommendations-question__install-section"},r().createElement(c.ExternalLink,{type:"button",className:"dops-button is-rna is-primary",href:_,onClick:x},k),r().createElement("div",{className:"jp-recommendations-question__jump-nav"},r().createElement("a",{href:v,onClick:T},__("Read Later","jetpack")),S&&r().createElement(r().Fragment,null,r().createElement("span",{className:"jp-recommendations-question__jump-nav-separator"},"|"),r().createElement("a",{onClick:O,href:"#/recommendations/summary"},__("View Summary","jetpack")," ")))),sidebarCard:b?r().createElement(g.N,{productSlug:b,stepSlug:y}):null,illustration:m.l})}))},7392:function(e,t,n){"use strict";n.d(t,{g:function(){return f}});var s=n(9196),r=n.n(s),i=n(9309),a=n(5736),o=n(2395),c=n(9916),l=n(68),p=n(9398),u=n(6095),d=n(7506),m=n(4069),h=n(9508),g=n(8722);const __=a.__,f=(0,i.$j)((e=>({nextRoute:(0,g.mI)(e),siteTitle:(0,h.aW)(e),answers:{personal:(0,g.$q)(e,"site-type-personal"),business:(0,g.$q)(e,"site-type-business"),store:(0,g.$q)(e,"site-type-store"),other:(0,g.$q)(e,"site-type-other")},canShowProductSuggestions:(0,g.sB)(e)})),(e=>({updateRecommendationsStep:t=>e((0,g.OC)(t)),saveRecommendationsData:()=>e((0,g.u8)())})))((e=>{const{answers:t,nextRoute:n,saveRecommendationsData:i,siteTitle:h,updateRecommendationsStep:g,canShowProductSuggestions:f}=e;(0,s.useEffect)((()=>{g("site-type-question")}),[g]);const v=(0,s.useCallback)((()=>{i(),m.Z.tracks.recordEvent("jetpack_recommendations_site_type_answered",t)}),[t,i]),k=r().createElement("div",{className:"jp-recommendations-question__site-type-answer-container"},r().createElement("div",{className:"jp-recommendations-question__site-type-checkboxes"},r().createElement(l.C,{answerKey:"site-type-personal",title:__("Personal","jetpack"),info:__("Personal sites usually include blogs, resume sites, weddings or other events, and hobby sites.","jetpack")}),r().createElement(l.C,{answerKey:"site-type-business",title:__("Business","jetpack"),info:__("Business sites usually include shops, services like lawyers, or plumbers, and advertisers or influencers.","jetpack")}),r().createElement(l.C,{answerKey:"site-type-store",title:__("Store","jetpack"),info:__("Stores typically include online e-commerce stores selling goods, services, or digital downloads.","jetpack")}),r().createElement(l.C,{answerKey:"site-type-other",title:__("Other","jetpack"),info:__("Other sites may include non-profits, colleges or schools, apps, real-estate, or others.","jetpack")})),r().createElement(d.Z,{primary:!0,rna:!0,href:n,onClick:v},__("Continue","jetpack")),r().createElement("div",{className:"jp-recommendations-site-type-question__continue-description"},__("All of Jetpack’s great features await you and we’ll recommend some of our favorites.","jetpack")));return r().createElement(c.X,{progressBar:r().createElement(o.Z,{color:"#00A32A",value:"17"}),question:
/* translators: placeholder is the title of the site */
-(0,o.sprintf)(__("What type of site is %s?","jetpack"),d),description:__("This assistant will help you get the most from Jetpack. Tell us more about your goals and we’ll recommend relevant features to help you succeed.","jetpack"),answer:m,illustrationPath:"recommendations/site-type-illustration.jpg"})}))},41596:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(99196),i=n.n(r);const s=e=>{const{content:t,illustrationPath:n}=e;return i().createElement("div",{className:"jp-recommendations-sidebar-card"},i().createElement("div",{className:"jp-recommendations-sidebar-card__illustration-container"},i().createElement("div",{className:"jp-recommendations-sidebar-card__illustration"},i().createElement("img",{src:n,alt:""}))),i().createElement("div",{className:"jp-recommendations-sidebar-card__content"},t))}},85821:function(e,t,n){"use strict";n.d(t,{K:function(){return d}});var r=n(69307),i=n(65736),s=n(99196),o=n.n(s),a=n(76238),c=n(41596),l=n(22256),u=n(98486),p=n(11973);const __=i.__,d=()=>{const e=[__("Refined post and page editor","jetpack"),__("Manage multiple sites from one dashboard","jetpack"),__("Multi-site plugin management","jetpack"),__("Free stock photo library","jetpack"),__("Update your site from any device","jetpack")];(0,s.useEffect)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"mobile_app"})}),[]);const t=(0,s.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"mobile_app_wpcom"})}),[]),n=(0,s.useCallback)((e=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"mobile_app_badge",store:e})}),[]);return o().createElement(c.A,{illustrationPath:u.hp+"/recommendations/mobile-app.svg",content:o().createElement("div",null,o().createElement("h2",null,__("Explore a better editing experience","jetpack")),o().createElement("p",null,(0,r.createInterpolateElement)(__("With Jetpack, you have <strong>free access</strong> to managing your site with <a>WordPress.com</a> and the Android and iOS WordPress apps.","jetpack"),{strong:o().createElement("strong",null),a:o().createElement("a",{href:"https://wordpress.com",target:"_blank",rel:"noreferrer",onClick:t})})),o().createElement("ul",{className:"jp-recommendations-sidebar-card__features"},e.map((e=>o().createElement("li",null,o().createElement(l.Z,{icon:"checkmark-circle"}),e)))),o().createElement("div",{className:"jp-recommendations-sidebar-card__apps-badge"},o().createElement(a.Z,{onBadgeClick:n,storeName:"ios",utm_source:"jetpack-plugin-recommendations"}),o().createElement(a.Z,{onBadgeClick:n,storeName:"android",utm_source:"jetpack-plugin-recommendations"})))})}},85295:function(e,t,n){"use strict";n.d(t,{c:function(){return m}});var r=n(65736),i=n(99196),s=n.n(i),o=n(2620),a=n(71415),c=n(41596),l=n(9913),u=n(98486),p=n(11973),d=n(81200),h=n(66552),f=n(88872);const __=r.__,m=(0,o.$j)((e=>({siteRawUrl:(0,h.JR)(e),planClass:(0,f.b7)(e)?(0,d.sc)((0,f.Jz)(e).product_slug):(0,d.sc)((0,f.UL)(e).product_slug)})))((e=>{const{planClass:t,siteRawUrl:n}=e;(0,i.useEffect)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"one-click-restores"})}),[]);const o=(0,i.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"one_click_restores"})}),[]),h=(0,d.lq)(t)?__("Real-time Backups","jetpack"):__("Daily Backups","jetpack");return s().createElement(c.A,{illustrationPath:u.hp+"/recommendations/one-click-restores.svg",content:s().createElement("div",{className:"jp-recommendations-one-click-restores"},s().createElement("h2",null,__("Enable one-click restores","jetpack")),s().createElement("p",null,(0,r.sprintf)(
+(0,a.sprintf)(__("What type of site is %s?","jetpack"),h),description:__("This assistant will help you get the most from Jetpack. Tell us more about your goals and we’ll recommend relevant features to help you succeed.","jetpack"),answer:k,sidebarCard:f?r().createElement(u.Z,null):null,illustration:p.l,illustrationClassName:"jp-recommendations-site-type__illustration"})}))},6095:function(e,t,n){"use strict";var s=n(5736),r=n(9196),i=n.n(r),a=n(9309),o=n(7506),c=n(800),l=n(4069),p=n(6920),u=n(8722),d=n(6876),m=n(3494),h=n(8842),g=n(351),f=n(7279);const __=s.__;t.Z=(0,a.$j)((e=>({isLoading:(0,d.Zd)(e)||(0,u.at)(e)||(0,p.HW)(e),discountData:(0,d.u)(e),introOffers:(0,p.ni)(e),suggestions:(0,u.El)(e),step:(0,u.TO)(e)})),(e=>({markAsViewed:t=>e((0,u.fy)(t))})))((e=>{let{isLoading:t,discountData:n,introOffers:s,suggestions:a,markAsViewed:p,step:u}=e;const{expiry_date:d}=n,v=(0,r.useMemo)((()=>(0,g.q)(n,s,a)),[n,s,a]),k=(0,r.useMemo)((()=>(0,f.h)(n)),[n]),_=(0,r.useCallback)((()=>{l.Z.tracks.recordEvent("jetpack_recommendations_upsell_card_cta_click",{discount:k})}),[k]);return(0,r.useEffect)((()=>p(u)),[p,u]),(0,r.useEffect)((()=>{t||l.Z.tracks.recordEvent("jetpack_recommendations_upsell_card_display",{discount:k})}),[t,k]),t?null:i().createElement("div",{className:"jp-recommendations-discount-card"},i().createElement("div",{className:"jp-recommendations-discount-card__container"},i().createElement("div",{className:"jp-recommendations-discount-card__card"},i().createElement("div",{className:"jp-recommendations-discount-card__card-header"},i().createElement("img",{className:"jp-recommendations-discount-card__header-icon",src:c.hp+"recommendations/cloud-icon.svg",alt:""}),k&&i().createElement(m.Z,{discount:v})),i().createElement("div",{className:"jp-recommendations-discount-card__card-body"},i().createElement("h3",{className:"jp-recommendations-discount-card__heading"},__("Increase your site security!","jetpack")),i().createElement("ul",{className:"jp-recommendations-discount-card__feature-list"},i().createElement("li",null,__("Real-time cloud backups","jetpack")),i().createElement("li",null,__("One-click restores","jetpack")),i().createElement("li",null,__("Real-time malware scanning","jetpack")),i().createElement("li",null,__("Comments and form spam protection","jetpack"))),!t&&i().createElement(o.Z,{className:"jp-recommendations-discount-card__button",rna:!0,href:"#/recommendations/product-suggestions",onClick:_},k&&__("View discounted products","jetpack"),!k&&__("View products","jetpack")))),k&&i().createElement("div",{className:"jp-recommendations-discount-card__timer"},i().createElement(h.Z,{timeClassName:"jp-recommendations-discount-card__time",label:__("Discount ends in:","jetpack"),expiryDate:d}))))}))},1961:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var s=n(5235),r=n.n(s),i=n(9196),a=n.n(i);const o=e=>{const{header:t,content:n,illustrationPath:s}=e;return a().createElement("div",{className:r()("jp-recommendations-sidebar-card",{"with-illustration":!!s})},s?a().createElement("div",{className:"jp-recommendations-sidebar-card__illustration-container"},a().createElement("div",{className:"jp-recommendations-sidebar-card__illustration"},a().createElement("img",{src:s,alt:""}))):t,a().createElement("div",{className:"jp-recommendations-sidebar-card__content"},n))}},2923:function(e,t,n){"use strict";n.d(t,{K:function(){return u}});var s=n(9307),r=n(5736),i=n(9196),a=n.n(i),o=n(408),c=n(1961),l=n(800),p=n(4069);const __=r.__,u=()=>{const e=[__("Refined post and page editor","jetpack"),__("Manage multiple sites from one dashboard","jetpack"),__("Multi-site plugin management","jetpack"),__("Free stock photo library","jetpack"),__("Update your site from any device","jetpack")];(0,i.useEffect)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"mobile_app"})}),[]);const t=(0,i.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"mobile_app_wpcom"})}),[]),n=(0,i.useCallback)((e=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"mobile_app_badge",store:e})}),[]);return a().createElement(c.A,{illustrationPath:l.hp+"/recommendations/mobile-app.svg",content:a().createElement("div",null,a().createElement("h2",null,__("Explore a better editing experience","jetpack")),a().createElement("p",null,(0,s.createInterpolateElement)(__("With Jetpack, you have <strong>free access</strong> to managing your site with <a>WordPress.com</a> and the Android and iOS WordPress apps.","jetpack"),{strong:a().createElement("strong",null),a:a().createElement("a",{href:"https://wordpress.com",target:"_blank",rel:"noreferrer",onClick:t})})),a().createElement("ul",{className:"jp-recommendations-sidebar-card__features"},e.map((e=>a().createElement("li",null,e)))),a().createElement("div",{className:"jp-recommendations-sidebar-card__apps-badge"},a().createElement(o.Z,{onBadgeClick:n,storeName:"ios",utm_source:"jetpack-plugin-recommendations"}),a().createElement(o.Z,{onBadgeClick:n,storeName:"android",utm_source:"jetpack-plugin-recommendations"})))})}},8787:function(e,t,n){"use strict";n.d(t,{c:function(){return h}});var s=n(5736),r=n(9196),i=n.n(r),a=n(9309),o=n(6324),c=n(1961),l=n(7506),p=n(800),u=n(4069),d=n(9508),m=n(3002);const __=s.__,h=(0,a.$j)((e=>({hasRealTimeBackups:(0,m.P2)(e,"real-time-backups"),siteRawUrl:(0,d.JR)(e)})))((e=>{const{hasRealTimeBackups:t,siteRawUrl:n}=e;(0,r.useEffect)((()=>{u.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"one-click-restores"})}),[]);const a=(0,r.useCallback)((()=>{u.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"one_click_restores"})}),[]);let d=__("Daily Backups","jetpack");return t&&(d=__("Real-time Backups","jetpack")),i().createElement(c.A,{illustrationPath:p.hp+"/recommendations/one-click-restores.svg",content:i().createElement("div",{className:"jp-recommendations-one-click-restores"},i().createElement("h2",null,__("Enable one-click restores","jetpack")),i().createElement("p",null,(0,s.sprintf)(
/* translators: placeholder is the name of a backups plan: Daily Backups or Real-time Backups */
-__("Get the most out of your %s. One-click restores ensure you’ll be able to easily restore your site, if anything goes wrong.","jetpack"),h)),s().createElement("p",null,__("Enter your server credentials to enable one-click restores included in your plan.","jetpack")),s().createElement("div",{className:"jp-recommendations-one-click-restores__cta"},s().createElement(l.Z,{primary:!0,href:(0,a.Z)("jetpack-backup-dash-credentials",{site:n}),onClick:o},__("Enable one-click restores","jetpack"))))})}))},82355:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(65736),i=n(99196),s=n.n(i),o=n(9913),a=n(22256),c=n(98486),l=n(11973);const __=r.__,u=e=>{const{upgradeUrl:t}=e;(0,i.useEffect)((()=>{l.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"upsell_no_price"})}),[]);const n=(0,i.useCallback)((()=>{l.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"upsell_no_price"})}),[]),r=[__("Robust security to keep your site safe","jetpack"),__("Speed-enhancing performance tools","jetpack"),__("Increase site growth with marketing","jetpack")];return s().createElement("div",{className:"jp-recommendations-product-card-upsell-no-price"},s().createElement("div",{className:"jp-recommendations-product-card-upsell-no-price__header-chrome"},s().createElement("img",{src:c.hp+"/star.svg",alt:""}),__("Recommended premium product","jetpack")),s().createElement("div",{className:"jp-recommendations-product-card-upsell-no-price__padding"},s().createElement("h2",null,__("Powerful security, performance, and marketing","jetpack")),s().createElement("ul",null,r.map((e=>s().createElement("li",{key:e},s().createElement(a.Z,{icon:"checkmark-circle"}),e)))),s().createElement("p",null,__("Explore premium Jetpack product bundles or pick and choose exactly what you need.","jetpack")),s().createElement(o.Z,{primary:!0,href:t,onClick:n,target:"blank",rel:"noopener noreferrer"},__("Learn more","jetpack"),s().createElement(a.Z,{icon:"external"}))))}},65155:function(e,t,n){"use strict";n.d(t,{u:function(){return d}});var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(78850),c=n(9913),l=n(22256),u=n(98486),p=n(11973);const d=e=>{let{billing_timeframe:t,cost_timeframe:n,cta_text:r,currency_code:i,description:d,features:h,header:f,price:m,product_slug:g,title:v,upgradeUrl:b}=e;(0,s.useEffect)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"upsell_with_price",product_slug:g})}),[g]);const y=(0,s.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"upsell_with_price",product_slug:g})}),[g]),k=(0,a.LR)(m,i);return o().createElement("div",{className:"jp-recommendations-product-card-upsell"},o().createElement("div",{className:"jp-recommendations-product-card-upsell__header-chrome"},o().createElement("img",{src:u.hp+"/star.svg",alt:""}),f),o().createElement("div",{className:"jp-recommendations-product-card-upsell__padding"},o().createElement("h1",null,v),o().createElement("p",null,d),o().createElement("div",{className:"jp-recommendations-product-card-upsell__price"},o().createElement("span",{className:"jp-recommendations-product-card-upsell__raw-price"},o().createElement("h2",null,o().createElement("sup",{className:"jp-recommendations-product-card-upsell__currency-symbol"},k.symbol),o().createElement("span",{className:"jp-recommendations-product-card-upsell__price-integer"},k.integer),o().createElement("sup",{className:"jp-recommendations-product-card-upsell__price-fraction"},k.fraction))),o().createElement("span",{className:"jp-recommendations-product-card-upsell__billing-time-frame"},n,o().createElement("br",null),t)),o().createElement(c.Z,{className:"jp-recommendations-product-card-upsell__cta-button",primary:!0,href:b,onClick:y,target:"_blank",rel:"noopener noreferrer"},r,o().createElement(l.Z,{icon:"external"})),o().createElement("ul",{className:"jp-recommendations-sidebar-card__features"},h.map((e=>o().createElement("li",{key:e},o().createElement(l.Z,{icon:"checkmark-circle"}),e))))))};d.propTypes={title:i().string.isRequired,description:i().string.isRequired,upgradeUrl:i().string.isRequired,features:i().arrayOf(i().string)}},92498:function(e,t,n){"use strict";n.d(t,{c:function(){return f}});var r=n(65736),i=n(99196),s=n.n(i),o=n(2620),a=n(71415),c=n(41596),l=n(9913),u=n(22256),p=n(98486),d=n(11973),h=n(66552);const __=r.__,f=(0,o.$j)((e=>({siteRawUrl:(0,h.JR)(e)})))((e=>{const{siteRawUrl:t}=e;(0,i.useEffect)((()=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"security"})}),[]);const n=(0,i.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"security"})}),[]);return s().createElement(c.A,{illustrationPath:p.hp+"/recommendations/manage-security.svg",content:s().createElement("div",null,s().createElement("h2",null,__("Manage your security on Jetpack.com","jetpack")),s().createElement("p",null,__("Did you know you can manage all your backups right from Jetpack.com?","jetpack")),s().createElement("p",null,__("You can also use your included Activity feature to monitor every change that occurs on your site!","jetpack")),s().createElement(l.Z,{primary:!0,href:(0,a.Z)("jetpack-backup",{site:t}),target:"_blank",rel:"noopener noreferrer",onClick:n},__("Manage security on Jetpack.com","jetpack"),s().createElement(u.Z,{icon:"external"})))})}))},30018:function(e,t,n){"use strict";n.d(t,{E:function(){return M}});var r=n(29183),i=n.n(r),s=n(69307),o=n(65736),a=n(89105),c=n.n(a),l=n(92819),u=n(99196),p=n.n(u),d=n(2620),h=n(8816),f=n(79644),m=n(85295),g=n(92498),v=n(85821),b=n(82355),y=n(65155),k=n(68961),w=n(22256),_=n(11973),E=n(66552),C=n(90218),S=n(17752),j=n(61744);const __=o.__,M=(0,d.$j)((e=>{const t=(0,j.bK)(e),n=(0,S.Gw)(e),r=(0,C.jn)(e);return{isFetchingMainData:(0,l.isEmpty)(n)||(0,l.isEmpty)(t),isFetchingSidebarData:(0,l.isEmpty)(r),sidebarCardSlug:(0,C.Xi)(e),siteTypeDisplayName:(0,C.M)(e),summaryFeatureSlugs:(0,C.CI)(e),upgradeUrl:(0,E.Qq)(e,"jetpack-recommendations-backups"),upsell:r}}),(e=>({updateRecommendationsStep:t=>e((0,C.OC)(t))})))((e=>{const{isFetchingMainData:t,isFetchingSidebarData:n,sidebarCardSlug:r,siteTypeDisplayName:a,summaryFeatureSlugs:l,updateRecommendationsStep:d,upgradeUrl:E,upsell:C}=e,S=(0,u.useCallback)((()=>{_.Z.tracks.recordEvent("jetpack_recommended_summary_learn_more_click")}),[]);(0,u.useEffect)((()=>{d("summary")}),[d]);const j=t?p().createElement(f.D,{altText:__("Loading recommendations","jetpack")}):p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-recommendations-summary__configuration"},p().createElement("h1",null,(0,o.sprintf)(
-/* translators: placeholder indicates the type of site, such as "personal site" or "store" */
-__("Nice work! Let’s ensure the features you enabled are configured for your %s.","jetpack"),a)),p().createElement("section",{"aria-labelledby":"enabled-recommendations"},p().createElement("h2",{id:"enabled-recommendations"},__("Recommendations enabled","jetpack")),p().createElement("div",null,l.selected.length>0?l.selected.map((e=>p().createElement(h.H,{key:e,featureSlug:e}))):p().createElement("p",null,p().createElement("em",null,__("You didn’t enable any recommended features. To get the most out of Jetpack, enable some recommendations or explore all Jetpack features.","jetpack"))))),l.skipped.length>0&&p().createElement("section",{"aria-labelledby":"skipped-recommendations"},p().createElement("h2",{id:"skipped-recommendations"},__("Recommendations skipped","jetpack")),p().createElement("div",null,l.skipped.map((e=>p().createElement(h.H,{key:e,featureSlug:e})))))),p().createElement("div",{className:"jp-recommendations-summary__more-features"},p().createElement(w.Z,{icon:"info-outline"}),p().createElement("p",null,(0,s.createInterpolateElement)(__("Curious what else Jetpack has to offer? <ExternalLink>View all Jetpack features</ExternalLink>","jetpack"),{ExternalLink:p().createElement(k.Z,{href:"https://jetpack.com/features/comparison/",target:"_blank",rel:"noopener noreferrer",onClick:S,icon:!0,iconSize:16})}))));let M;if(n)M=p().createElement(f.D,{altText:__("Loading recommendations","jetpack")});else switch(r){case"loading":M=p().createElement(f.D,{altText:__("Loading recommendations","jetpack")});break;case"upsell":M=C.hide_upsell?p().createElement(b.q,{upgradeUrl:E}):p().createElement(y.u,i()({},C,{upgradeUrl:E}));break;case"one-click-restores":M=p().createElement(m.c,null);break;case"manage-security":M=p().createElement(g.c,null);break;case"download-app":M=p().createElement(v.K,null);break;default:throw`Unknown sidebarCardSlug in SummaryComponent: ${r}`}return p().createElement("div",{className:"jp-recommendations-summary"},p().createElement("div",{className:c()("jp-recommendations-summary__content",{isLoading:t})},j),p().createElement("div",{className:c()("jp-recommendations-summary__sidebar",{isLoading:n})},M))}))},70445:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(11268),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(92819),p=n(65736),d=n(34606),h=n(5e4),f=n(93107),m=n(19555),g=n(84277),v=n(27006),b=n(66552),y=n(41147),k=n(24951);const __=p.__,w=(0,h.u)(class extends a.Component{constructor(){super(...arguments),i()(this,"handleBannerClick",(e=>()=>this.props.updateOptions({[e]:!0})))}render(){if(!this.props.canManageModules)return null;if(this.props.searchTerm.length<3)return null;const e=["contact-form","enhanced-distribution","json-api","notes"],t=this.props.modules,n=[];return(0,u.forEach)(t,((t,r)=>{if(this.props.isModuleFound(r)&&(0,u.includes)(e,r)){const e=this.props.isOfflineMode&&this.props.isUnavailableInOfflineMode(t.module),i=!this.props.hasConnectedOwner&&this.props.isUnavailableInSiteConnectionMode(t.module);if(e||i)return n.push(c().createElement(_,{key:r,moduleData:t,offlineMode:e,siteConnectionMode:i}));this.props.getOptionValue(t.module)?n.push(c().createElement(_,{key:r,moduleData:t})):n.push(c().createElement(d.Z,{className:"jp-searchable-banner",key:r,callToAction:__("Activate","jetpack"),description:t.description,href:"javascript:void( 0 )",icon:"cog",onClick:this.handleBannerClick(t.module),title:t.name}))}})),c().createElement("div",null,n)}});w.propTypes={searchTerm:o().string},w.defaultProps={searchTerm:""};class _ extends a.Component{render(){const e=this.props.moduleData,t=this.props.offlineMode,n=this.props.siteConnectionMode;return c().createElement(g.Z,{module:e.module,header:e.name,action:e.module,hideButton:!0},c().createElement(v.Z,{disableInOfflineMode:t,disableInSiteConnectionMode:n,module:{module:e.module},support:{link:e.learn_more_button}},e.description),n&&c().createElement(k.Z,{feature:e.module,featureLabel:e.name,text:__("Connect to configure.","jetpack")}))}}t.Z=(0,l.$j)((e=>({modules:(0,f.hU)(e),isModuleFound:t=>(0,m.CX)(e,t),canManageModules:(0,b.pK)(e),isUnavailableInOfflineMode:t=>(0,y.t_)(e,t),isOfflineMode:(0,y.Ex)(e),isUnavailableInSiteConnectionMode:t=>(0,y.IK)(e,t)})))(w)},35177:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(92819),p=n(69307),d=n(65736),h=n(11973),f=n(81200),m=n(78919),g=n(28859),v=n(55735),b=n(22256),y=n(75395),k=n(84277),w=n(27006),_=n(15029),E=n(5e4);const __=d.__,_x=d._x,C=(0,E.u)(class extends a.Component{constructor(){super(...arguments),o()(this,"state",{apiKey:this.props.getOptionValue("wordpress_api_key"),delayKeyCheck:!1,currentEvent:{}}),o()(this,"keyChanged",!1),o()(this,"checkApiKeyTyped",(e=>{this.props.checkAkismetKey(e.currentTarget.value),this.keyChanged=!0,this.setState({delayKeyCheck:!1})})),o()(this,"updateText",(e=>{const t=(0,u.assign)({},e);t.currentTarget.value=(0,u.trim)(t.currentTarget.value),this.setState({apiKey:t.currentTarget.value,delayKeyCheck:!0,currentEvent:t},this.debouncedCheckApiKeyTyped(t))})),o()(this,"trackOpenCard",(()=>{h.Z.tracks.recordJetpackClick({target:"foldable-settings-open",feature:"anti-spam"})}))}UNSAFE_componentWillMount(){this.debouncedCheckApiKeyTyped=(0,u.debounce)(this.checkApiKeyTyped,500)}componentDidUpdate(){!this.props.isCheckingAkismetKey&&this.props.isAkismetKeyValid&&this.keyChanged&&!(0,u.isEmpty)(this.state.currentEvent)&&(this.keyChanged=!1,this.props.onOptionChange(this.state.currentEvent))}render(){const e={name:"wordpress_api_key",value:this.state.apiKey,disabled:this.props.isSavingAnyOption("wordpress_api_key"),onChange:this.updateText};let t="",n=__("Checking your spam protection…","jetpack"),r=(0,p.createInterpolateElement)(__("If you don't already have an API key, then <a>get your API key here</a>, and you'll be guided through the process of getting one.","jetpack"),{a:c().createElement("a",{href:"https://akismet.com/wordpress/"})});return null===this.props.isAkismetKeyValid?(e.value=__("Fetching key…","jetpack"),e.disabled=!0,r=!1):!this.props.isDirty()&&""===this.props.getSettingCurrentValue("wordpress_api_key")&&this.props.isAkismetKeyValid?(e.value=__("A valid key has been set in your site's configuration.","jetpack"),e.isValid=!0,e.disabled=!0,n=__("Your site is protected from spam.","jetpack"),r=__("It looks like your API key has been set globally.","jetpack"),t=c().createElement(g.Z,{text:__("Your Anti-spam key is valid.","jetpack")})):""===this.state.apiKey?(e.value="",n=__("Your site needs an Anti-spam key.","jetpack")):this.state.delayKeyCheck||this.props.isCheckingAkismetKey?this.props.isCheckingAkismetKey&&(t=c().createElement("div",{className:"form-input-validation is-warning"},c().createElement("span",null,c().createElement(b.Z,{size:24,icon:"sync"}),__("Checking key…","jetpack"))),r=!1):!1===this.props.isAkismetKeyValid?(t=c().createElement(g.Z,{isError:!0,text:(0,p.createInterpolateElement)(__("There's a problem with your Anti-spam API key. <a>Learn more</a>.","jetpack"),{a:c().createElement("a",{href:"https://docs.akismet.com/getting-started/api-key/"})})}),e.isError=!0,n=__("Your site is not protected from spam.","jetpack")):(t=c().createElement(g.Z,{text:__("Your Anti-spam key is valid.","jetpack")}),e.isValid=!0,n=__("Your site is protected from spam.","jetpack"),r=!1),c().createElement(k.Z,i()({},this.props,{header:_x("Anti-spam","Settings header","jetpack"),saveDisabled:this.props.isSavingAnyOption("wordpress_api_key"),feature:f.V3}),c().createElement(m.Z,{onOpen:this.trackOpenCard,header:n},c().createElement(w.Z,{support:{text:__("Removes spam from comments and contact forms.","jetpack"),link:"https://akismet.com/jetpack/"}},c().createElement(v.C_,null,c().createElement(v.lX,null,c().createElement("span",{className:"jp-form-label-wide"},__("Your API key","jetpack")),c().createElement(_.Z,e),t),r&&c().createElement("p",{className:"jp-form-setting-explanation"},r)))))}});t.Z=(0,l.$j)((e=>({isAkismetKeyValid:(0,y._2)(e),isCheckingAkismetKey:(0,y.gw)(e)})),(e=>({checkAkismetKey:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e((0,y.Bt)(t))}})))(C)},64067:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(11268),u=n.n(l),p=n(2620),d=n(92819),h=n(69307),f=n(65736),m=n(71415),g=n(11973),v=n(34606),b=n(60742),y=n(81200),k=n(75395),w=n(88872),_=n(93107),E=n(28865),C=n(9477),S=n(84277),j=n(27006),M=n(66552),x=n(5e4);const __=f.__,_x=f._x,_n=f._n;class N extends a.Component{render(){return c().createElement(S.Z,{header:_x("Backups and security scanning","Settings header","jetpack"),hideButton:!0,action:"scan"},c().createElement(j.Z,{disableInOfflineMode:!0,module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,m.Z)("vaultpress-help-get-to-know")}},__("Checking site status…","jetpack")))}}class A extends a.Component{constructor(){super(...arguments),o()(this,"getCardText",(()=>{if(this.props.isOfflineMode)return __("Unavailable in Offline Mode.","jetpack");const{title:e,icon:t,description:n,url:r}=this.getRewindMessage();return c().createElement(v.Z,{title:e,icon:t,feature:"rewind",description:n,className:"is-upgrade-premium jp-banner__no-border",href:r})}))}getRewindMessage(){const{siteRawUrl:e,rewindState:t}=this.props;switch(t){case"provisioning":return{title:__("Provisioning","jetpack"),icon:"info",description:__("Backups and Scan are being configured for your site.","jetpack"),url:""};case"awaiting_credentials":return{title:__("Awaiting credentials","jetpack"),icon:"notice",description:__("You need to enter your server credentials to finish configuring Backups and Scan.","jetpack"),url:(0,m.Z)("jetpack-settings-security-credentials",{site:e})};case"active":return{title:__("Active","jetpack"),icon:"checkmark-circle",description:__("Your site is connected to Jetpack Backup and Scan.","jetpack"),url:(0,m.Z)("calypso-activity-log",{site:e})};default:return{title:__("Oops!","jetpack"),icon:"info",description:__("The Jetpack Backup and Scan status could not be retrieved at this time.","jetpack"),url:""}}}render(){return c().createElement(S.Z,i()({feature:"rewind"},this.props,{header:_x("Backups and security scanning","Settings header","jetpack"),action:"rewind",hideButton:!0}),this.getCardText())}}o()(A,"propTypes",{isOfflineMode:u().bool,siteRawUrl:u().string,rewindState:u().string}),o()(A,"defaultProps",{isOfflineMode:!1,siteRawUrl:"",rewindState:""});const O=(0,x.u)(class extends a.Component{constructor(){super(...arguments),o()(this,"toggleModule",((e,t)=>{this.props.updateFormStateOptionValue(e,!t)})),o()(this,"trackConfigureClick",(()=>{g.Z.tracks.recordJetpackClick("configure-scan")}))}getCardText(){const e=(0,d.get)(this.props.vaultPressData,["data","features","backups"],!1),t=(0,d.get)(this.props.vaultPressData,["data","features","security"],!1),n=(0,y.sc)(this.props.sitePlan.product_slug);let r="";if(this.props.isOfflineMode)return __("Unavailable in Offline Mode.","jetpack");if(e&&t){const e=this.props.hasThreats;return e?c().createElement("div",null,c().createElement("strong",null,(0,f.sprintf)(
+__("Get the most out of your %s. One-click restores ensure you’ll be able to easily restore your site, if anything goes wrong.","jetpack"),d)),i().createElement("p",null,__("Enter your server credentials to enable one-click restores included in your plan.","jetpack")),i().createElement("div",{className:"jp-recommendations-one-click-restores__cta"},i().createElement(l.Z,{rna:!0,href:(0,o.Z)("jetpack-backup-dash-credentials",{site:n}),onClick:a},__("Enable one-click restores","jetpack"))))})}))},3986:function(e,t,n){"use strict";n.d(t,{q:function(){return d}});var s=n(5736),r=n(9196),i=n.n(r),a=n(7506),o=n(5060),c=n(4069),l=n(1961),p=n(6622),u=n(1912);const __=s.__,d=(0,u.Z)((e=>{const{upgradeUrl:t}=e;(0,r.useEffect)((()=>{c.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"upsell_no_price"})}),[]);const n=(0,r.useCallback)((()=>{c.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"upsell_no_price"})}),[]),s=[__("Robust security to keep your site safe","jetpack"),__("Speed-enhancing performance tools","jetpack"),__("Increase site growth with marketing","jetpack")];return i().createElement(l.A,{header:i().createElement(p.Z,null),content:i().createElement("div",null,i().createElement("h2",null,__("Powerful security, performance, and marketing","jetpack")),i().createElement("ul",{className:"jp-recommendations-sidebar-card__features"},s.map((e=>i().createElement("li",{key:e},e)))),i().createElement("p",null,__("Explore premium Jetpack product bundles or pick and choose exactly what you need.","jetpack")),i().createElement(a.Z,{rna:!0,href:t,onClick:n,target:"blank",rel:"noopener noreferrer"},__("Learn more","jetpack"),i().createElement(o.Z,{icon:"external"})))})}))},8747:function(e,t,n){"use strict";n.d(t,{N:function(){return m}});var s=n(9196),r=n.n(s),i=n(9309),a=n(5162),o=n.n(a),c=n(5609),l=n(800),p=n(4069),u=n(7684);const d=e=>{const{productCardTitle:t,productCardCtaLink:n,productCardCtaText:i,productCardList:a,productCardIcon:o,stepSlug:u}=e,d=(0,s.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_step_product_card_button_click",{feature:u})}),[u]);return r().createElement("div",{className:"jp-recommendations-discount-card"},r().createElement("div",{className:"jp-recommendations-discount-card__container"},r().createElement("div",{className:"jp-recommendations-discount-card__card"},r().createElement("div",{className:"jp-recommendations-discount-card__card-header"},r().createElement("img",{className:"jp-recommendations-discount-card__header-icon",src:l.hp+o,alt:""})),r().createElement("div",{className:"jp-recommendations-discount-card__card-body"},r().createElement("h3",{className:"jp-recommendations-discount-card__heading"},t),a&&r().createElement("ul",{className:"jp-recommendations-discount-card__feature-list"},a.map((e=>r().createElement("li",null,e)))),r().createElement(c.ExternalLink,{type:"button",className:"dops-button is-rna jp-recommendations-discount-card__button",href:n,onClick:d},i)))))};d.PropTypes={productSlug:o().string.isRequired};const m=(0,i.$j)(((e,t)=>({...(0,u.r3)(e,t.productSlug),...(0,u.qJ)(e,t.productSlug,t.stepSlug)})))(d)},6622:function(e,t,n){"use strict";var s=n(5736),r=n(5235),i=n.n(r),a=n(9196),o=n.n(a),c=n(5060);const __=s.__;t.Z=e=>{let{className:t}=e;return o().createElement("div",{className:i()("jp-recommendations-recommended-header",t)},o().createElement(c.Z,{size:"18",icon:"star"}),__("Recommended premium product","jetpack"))}},4855:function(e,t,n){"use strict";n.d(t,{c:function(){return h}});var s=n(5736),r=n(9196),i=n.n(r),a=n(9309),o=n(6324),c=n(1961),l=n(7506),p=n(5060),u=n(800),d=n(4069),m=n(9508);const __=s.__,h=(0,a.$j)((e=>({siteRawUrl:(0,m.JR)(e)})))((e=>{const{siteRawUrl:t}=e;(0,r.useEffect)((()=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"security"})}),[]);const n=(0,r.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"security"})}),[]);return i().createElement(c.A,{illustrationPath:u.hp+"/recommendations/manage-security.svg",content:i().createElement("div",null,i().createElement("h2",null,__("Manage your security on Jetpack.com","jetpack")),i().createElement("p",null,__("Did you know you can manage all your backups right from Jetpack.com?","jetpack")),i().createElement("p",null,__("You can also use your included Activity feature to monitor every change that occurs on your site!","jetpack")),i().createElement(l.Z,{rna:!0,href:(0,o.Z)("jetpack-backup",{site:t}),target:"_blank",rel:"noopener noreferrer",onClick:n},__("Manage security on Jetpack.com","jetpack"),i().createElement(p.Z,{icon:"external"})))})}))},3026:function(e,t,n){"use strict";n.d(t,{E:function(){return b}});var s=n(5736),r=n(5235),i=n.n(r),a=n(2819),o=n(9196),c=n.n(o),l=n(9309),p=n(5766),u=n(2025),d=n(2129),m=n(8787),h=n(4855),g=n(2923),f=n(3986),v=n(9508),k=n(8722),_=n(3230),y=n(1372),E=n(1508);const __=s.__,w=e=>{const{isFetchingMainData:t,isFetchingSidebarData:n,sidebarCardSlug:r,siteTitle:a,summaryFeatureSlugs:l,summaryResourceSlugs:v,updateRecommendationsStep:k,addViewedRecommendation:_,upsell:y,newRecommendations:w,stateStepSlug:b,updatingStep:C}=e;(0,o.useEffect)((()=>{"summary"!==b?k("summary"):"summary"!==b||C||_("summary")}),[b,C,k,_]);const j=e=>w.includes(e),S=t?c().createElement(d.D,{altText:__("Loading recommendations","jetpack")}):c().createElement(c().Fragment,null,c().createElement("div",{className:"jp-recommendations-summary__configuration"},c().createElement("h1",null,(0,s.sprintf)(
+/* translators: %s is the site name */
+__("Nice work! Let’s recap what we enabled for %s.","jetpack"),a)),c().createElement("section",{"aria-labelledby":"enabled-recommendations"},c().createElement("h2",{id:"enabled-recommendations"},__("Recommendations enabled","jetpack")),c().createElement("div",null,l.selected.length>0?l.selected.map((e=>c().createElement(u.H,{key:e,featureSlug:e,isNew:j(e)}))):c().createElement("p",{className:"jp-recommendations-summary__recommendation-notice"},c().createElement("em",null,__("You didn’t enable any recommended features. To get the most out of Jetpack, enable some recommendations or explore all Jetpack features.","jetpack"))))),l.skipped.length>0&&c().createElement("section",{"aria-labelledby":"skipped-recommendations"},c().createElement("h2",{id:"skipped-recommendations"},__("Recommendations skipped","jetpack")),c().createElement("div",null,l.skipped.map((e=>c().createElement(u.H,{key:e,featureSlug:e,isNew:j(e)}))))),v.length>0&&c().createElement("section",{"aria-labelledby":"resources-summary-title"},c().createElement("h2",{id:"resources-summary-title"},__("Resources","jetpack")),c().createElement("div",null,v.map((e=>c().createElement(E._,{key:e,resourceSlug:e,isNew:j(e)})))))));let N;if(n)N=c().createElement(d.D,{altText:__("Loading recommendations","jetpack")});else switch(r){case"loading":N=c().createElement(d.D,{altText:__("Loading recommendations","jetpack")});break;case"upsell":N=y.hide_upsell?c().createElement(f.q,null):c().createElement(p.Z,null);break;case"one-click-restores":N=c().createElement(m.c,null);break;case"manage-security":N=c().createElement(h.c,null);break;case"download-app":N=c().createElement(g.K,null);break;default:throw`Unknown sidebarCardSlug in SummaryComponent: ${r}`}return c().createElement("div",{className:"jp-recommendations-summary"},c().createElement("div",{className:i()("jp-recommendations-summary__content",{isLoading:t})},S),c().createElement("div",{className:i()("jp-recommendations-summary__sidebar",{isLoading:n})},N))};w.defaultProps={newRecommendations:[]};const b=(0,l.$j)((e=>{const t=(0,y.bK)(e),n=(0,_.Gw)(e),s=(0,k.jn)(e);return{isFetchingMainData:(0,a.isEmpty)(n)||(0,a.isEmpty)(t),isFetchingSidebarData:(0,a.isEmpty)(s),sidebarCardSlug:(0,k.Xi)(e),siteTitle:(0,v.aW)(e),summaryFeatureSlugs:(0,k.CI)(e),summaryResourceSlugs:(0,k.jp)(e),stateStepSlug:(0,k.TO)(e),updatingStep:(0,k.ZL)(e),upsell:s}}),(e=>({updateRecommendationsStep:t=>e((0,k.OC)(t)),addViewedRecommendation:t=>e((0,k.Hm)(t))})))(w)},5766:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(5736),a=n(9196),o=n.n(a),c=n(9309),l=n(3609),p=n(4069),u=n(8722),d=n(6876),m=n(8821),h=n(8842),g=n(7279);const __=i.__,f=(0,c.$j)((e=>({upsell:(0,u.jn)(e),discountData:(0,d.u)(e)})))((e=>{let{upsell:t,discountData:n}=e;const{product_slug:s}=t||{},{expiry_date:i}=n,c=(0,a.useMemo)((()=>(0,g.h)(n)),[n]),u=(0,a.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{product_slug:s,discount:c})}),[s,c]),d=(0,a.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{product_slug:s,discount:c})}),[s,c]);return o().createElement(o().Fragment,null,o().createElement(m.u,r()({},t,{slug:s,isRecommended:!0,onClick:u,onMount:d})),c&&o().createElement("div",{className:"jp-recommendations-summary__discount"},o().createElement("div",{className:"jp-recommendations-summary__timer"},o().createElement(h.Z,{timeClassName:"jp-recommendations-summary__time",label:__("Discount ends in:","jetpack"),expiryDate:i})),o().createElement("a",{className:"jp-recommendations-summary__reco-link",href:"#/recommendations/product-suggestions"},__("See all discounted products","jetpack"))),o().createElement("div",{className:"jp-recommendations-summary__footer"},o().createElement(l.N,{text:__("14-day money-back guarantee","jetpack")}),o().createElement("div",{className:"jp-recommendations-summary__footnote"},c&&__("* Discount is for first term only, all renewals are at full price.","jetpack"),!c&&__("Special introductory pricing, all renewals are at full price.","jetpack"))))}));t.Z=f},8842:function(e,t,n){"use strict";var s=n(5736),r=n(9196),i=n.n(r);const __=s.__;t.Z=e=>{let{label:t,timeClassName:n,expiryDate:a}=e;const o=(0,r.useMemo)((()=>new Date(a)),[a]),[c,l]=(0,r.useState)(o-Date.now()),p=(0,r.useRef)(),u=(0,r.useCallback)((()=>{l(o-Date.now())}),[o,l]),d=(0,r.useCallback)((e=>{const t=e/1e3,n=Math.floor(t/86400),r=Math.floor((t-3600*n*24)/3600),i=Math.floor((t-3600*n*24-3600*r)/60),a=Math.floor(t-3600*n*24-3600*r-60*i),o=[];return n>0&&
+// translators: %d is the number of days, d an abbreviation for days (e.g. 7d). Only translate the latter.
+o.push((0,s.sprintf)(__("%dd","jetpack"),n)),(n>0||r>0)&&
+// translators: %d is the number of hours, h an abbreviation for hours (e.g. 23h). Only translate the latter.
+o.push((0,s.sprintf)(__("%dh","jetpack"),r)),(n>0||r>0||i>0)&&
+// translators: %d is the number of minutes, m an abbreviation for minutes (e.g. 59m). Only translate the latter.
+o.push((0,s.sprintf)(__("%dm","jetpack"),i)),// translators: %d is the number of seconds, s an abbreviation for seconds (e.g. 59s). Only translate the latter.
+o.push((0,s.sprintf)(__("%ds","jetpack"),a)),o.join(" ")}),[]);return(0,r.useEffect)((()=>{const e=setInterval(u,500);return p.current=e,()=>{clearInterval(p.current)}}),[]),c>0?i().createElement(i().Fragment,null,t,i().createElement("span",{className:n},d(c))):__("Discount offer has ended","jetpack")}},351:function(e,t,n){"use strict";n.d(t,{q:function(){return s}});const s=(e,t,n)=>{if(!e||!t||!n)return;const s=parseInt(null==e?void 0:e.discount,10);if(Number.isNaN(s))return;const r=n.map((e=>{let{slug:t}=e;return t})),i=t.filter((e=>{let{product_slug:t}=e;return r.includes(t)})).map((e=>{let{original_price:t,raw_price:n}=e;if(!t)return;const r=(t-n*(1-s/100))/t;return Math.round(100*r)})).filter(Boolean);return i.length?Math.max(...i):void 0}},8356:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var s=n(6324);const r=(e,t,n,r)=>(0,s.Z)("jetpack-recommendations-product-checkout",{site:n,path:e,query:`coupon=${r||""}&redirect_to=${t}admin.php?jp-react-redirect=product-purchased`})},7279:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});const s=e=>{if("object"!=typeof e)return!1;const{discount:t,is_used:n,expiry_date:s}=e;return!!t&&!n&&new Date(s).valueOf()-Date.now()>0}},1256:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(5162),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2819),u=n(5736),d=n(7407),m=n(2353),h=n(416),g=n(9292),f=n(3806),v=n(8178),k=n(9508),_=n(6300),y=n(6164);const __=u.__,E=(0,m.u)(class extends o.Component{constructor(){super(...arguments),r()(this,"handleBannerClick",(e=>()=>this.props.updateOptions({[e]:!0})))}render(){if(!this.props.canManageModules)return null;if(this.props.searchTerm.length<3)return null;const e=["contact-form","enhanced-distribution","json-api","notes"],t=this.props.modules,n=[];return(0,p.forEach)(t,((t,s)=>{if(this.props.isModuleFound(s)&&(0,p.includes)(e,s)){const e=this.props.isOfflineMode&&this.props.isUnavailableInOfflineMode(t.module),r=!this.props.hasConnectedOwner&&this.props.isUnavailableInSiteConnectionMode(t.module);if(e||r)return n.push(c().createElement(w,{key:s,moduleData:t,offlineMode:e,siteConnectionMode:r}));this.props.getOptionValue(t.module)?n.push(c().createElement(w,{key:s,moduleData:t})):n.push(c().createElement(d.ZP,{className:"jp-searchable-banner",key:s,callToAction:__("Activate","jetpack"),description:t.description,href:"javascript:void( 0 )",icon:"cog",onClick:this.handleBannerClick(t.module),title:t.name}))}})),c().createElement("div",null,n)}});E.propTypes={searchTerm:a().string},E.defaultProps={searchTerm:""};class w extends o.Component{render(){const e=this.props.moduleData,t=this.props.offlineMode,n=this.props.siteConnectionMode;return c().createElement(f.Z,{module:e.module,header:e.name,action:e.module,hideButton:!0},c().createElement(v.Z,{disableInOfflineMode:t,disableInSiteConnectionMode:n,module:{module:e.module},support:{link:e.learn_more_button}},e.description),n&&c().createElement(y.Z,{feature:e.module,featureLabel:e.name,text:__("Connect to configure.","jetpack")}))}}t.Z=(0,l.$j)((e=>({modules:(0,h.hU)(e),isModuleFound:t=>(0,g.CX)(e,t),canManageModules:(0,k.pK)(e),isUnavailableInOfflineMode:t=>(0,_.t_)(e,t),isOfflineMode:(0,_.Ex)(e),isUnavailableInSiteConnectionMode:t=>(0,_.IK)(e,t)})))(E)},7753:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2819),u=n(9307),d=n(5736),m=n(4069),h=n(9584),g=n(860),f=n(5452),v=n(1775),k=n(5060),_=n(7296),y=n(3806),E=n(8178),w=n(5549),b=n(2353);const __=d.__,_x=d._x,C=(0,b.u)(class extends o.Component{constructor(){super(...arguments),a()(this,"state",{apiKey:this.props.getOptionValue("wordpress_api_key"),delayKeyCheck:!1,currentEvent:{}}),a()(this,"keyChanged",!1),a()(this,"checkApiKeyTyped",(e=>{this.props.checkAkismetKey(e.currentTarget.value),this.keyChanged=!0,this.setState({delayKeyCheck:!1})})),a()(this,"updateText",(e=>{const t=(0,p.assign)({},e);t.currentTarget.value=(0,p.trim)(t.currentTarget.value),this.setState({apiKey:t.currentTarget.value,delayKeyCheck:!0,currentEvent:t},this.debouncedCheckApiKeyTyped(t))})),a()(this,"trackOpenCard",(()=>{m.Z.tracks.recordJetpackClick({target:"foldable-settings-open",feature:"anti-spam"})}))}UNSAFE_componentWillMount(){this.debouncedCheckApiKeyTyped=(0,p.debounce)(this.checkApiKeyTyped,500)}componentDidUpdate(){!this.props.isCheckingAkismetKey&&this.props.isAkismetKeyValid&&this.keyChanged&&!(0,p.isEmpty)(this.state.currentEvent)&&(this.keyChanged=!1,this.props.onOptionChange(this.state.currentEvent))}render(){const e={name:"wordpress_api_key",value:this.state.apiKey,disabled:this.props.isSavingAnyOption("wordpress_api_key"),onChange:this.updateText};let t="",n=__("Checking your spam protection…","jetpack"),s=(0,u.createInterpolateElement)(__("If you don't already have an API key, then <a>get your API key here</a>, and you'll be guided through the process of getting one.","jetpack"),{a:c().createElement("a",{href:"https://akismet.com/wordpress/"})});return null===this.props.isAkismetKeyValid?(e.value=__("Fetching key…","jetpack"),e.disabled=!0,s=!1):!this.props.isDirty()&&""===this.props.getSettingCurrentValue("wordpress_api_key")&&this.props.isAkismetKeyValid?(e.value=__("A valid key has been set in your site's configuration.","jetpack"),e.isValid=!0,e.disabled=!0,n=__("Your site is protected from spam.","jetpack"),s=__("It looks like your API key has been set globally.","jetpack"),t=c().createElement(f.Z,{text:__("Your Anti-spam key is valid.","jetpack")})):""===this.state.apiKey?(e.value="",n=__("Your site needs an Anti-spam key.","jetpack")):this.state.delayKeyCheck||this.props.isCheckingAkismetKey?this.props.isCheckingAkismetKey&&(t=c().createElement("div",{className:"form-input-validation is-warning"},c().createElement("span",null,c().createElement(k.Z,{size:24,icon:"sync"}),__("Checking key…","jetpack"))),s=!1):!1===this.props.isAkismetKeyValid?(t=c().createElement(f.Z,{isError:!0,text:(0,u.createInterpolateElement)(__("There's a problem with your Anti-spam API key. <a>Learn more</a>.","jetpack"),{a:c().createElement("a",{href:"https://docs.akismet.com/getting-started/api-key/"})})}),e.isError=!0,n=__("Your site is not protected from spam.","jetpack")):(t=c().createElement(f.Z,{text:__("Your Anti-spam key is valid.","jetpack")}),e.isValid=!0,n=__("Your site is protected from spam.","jetpack"),s=!1),c().createElement(y.Z,r()({},this.props,{header:_x("Anti-spam","Settings header","jetpack"),saveDisabled:this.props.isSavingAnyOption("wordpress_api_key"),feature:h.V3}),c().createElement(g.Z,{onOpen:this.trackOpenCard,header:n},c().createElement(E.Z,{support:{text:__("Removes spam from comments and contact forms.","jetpack"),link:"https://akismet.com/jetpack/"}},c().createElement(v.C_,null,c().createElement(v.lX,null,c().createElement("span",{className:"jp-form-label-wide"},__("Your API key","jetpack")),c().createElement(w.Z,e),t),s&&c().createElement("p",{className:"jp-form-setting-explanation"},s)))))}});t.Z=(0,l.$j)((e=>({isAkismetKeyValid:(0,_._2)(e),isCheckingAkismetKey:(0,_.gw)(e)})),(e=>({checkAkismetKey:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e((0,_.Bt)(t))}})))(C)},9529:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5162),p=n.n(l),u=n(9309),d=n(2819),m=n(9307),h=n(5736),g=n(6324),f=n(2947),v=n(4069),k=n(7407),_=n(5799),y=n(9584),E=n(7296),w=n(3002),b=n(416),C=n(8546),j=n(3806),S=n(8178),N=n(9508),x=n(2353);const __=h.__,_x=h._x,_n=h._n;class T extends o.Component{render(){return c().createElement(j.Z,{header:_x("Backups and security scanning","Settings header","jetpack"),hideButton:!0,action:"scan"},c().createElement(S.Z,{disableInOfflineMode:!0,module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,g.Z)("vaultpress-help-get-to-know")}},__("Checking site status…","jetpack")))}}class O extends o.Component{constructor(){super(...arguments),a()(this,"getCardText",(()=>{if(this.props.isOfflineMode)return __("Unavailable in Offline Mode.","jetpack");const{title:e,icon:t,description:n,url:s}=this.getRewindMessage();return c().createElement(k.ZP,{title:e,icon:t,feature:"rewind",description:n,className:"is-upgrade-premium jp-banner__no-border",href:s})}))}getRewindMessage(){const{siteRawUrl:e,rewindState:t}=this.props;switch(t){case"provisioning":return{title:__("Provisioning","jetpack"),icon:"info",description:__("Backups and Scan are being configured for your site.","jetpack"),url:""};case"awaiting_credentials":return{title:__("Awaiting credentials","jetpack"),icon:"notice",description:__("You need to enter your server credentials to finish configuring Backups and Scan.","jetpack"),url:(0,g.Z)("jetpack-settings-security-credentials",{site:e})};case"active":return{title:__("Active","jetpack"),icon:"checkmark-circle",description:__("Your site is connected to Jetpack Backup and Scan.","jetpack"),url:(0,g.Z)("calypso-activity-log",{site:e})};default:return{title:__("Oops!","jetpack"),icon:"info",description:__("The Jetpack Backup and Scan status could not be retrieved at this time.","jetpack"),url:""}}}render(){return c().createElement(j.Z,r()({feature:"rewind"},this.props,{header:_x("Backups and security scanning","Settings header","jetpack"),action:"rewind",hideButton:!0}),this.getCardText())}}a()(O,"propTypes",{isOfflineMode:p().bool,siteRawUrl:p().string,rewindState:p().string}),a()(O,"defaultProps",{isOfflineMode:!1,siteRawUrl:"",rewindState:""});const P=(0,x.u)(class extends o.Component{constructor(){super(...arguments),a()(this,"toggleModule",((e,t)=>{this.props.updateFormStateOptionValue(e,!t)})),a()(this,"trackConfigureClick",(()=>{v.Z.tracks.recordJetpackClick("configure-scan")}))}getCardText(){const e=(0,d.get)(this.props.vaultPressData,["data","features","backups"],!1),t=(0,d.get)(this.props.vaultPressData,["data","features","security"],!1);let n="";if(this.props.isOfflineMode)return __("Unavailable in Offline Mode.","jetpack");if(e&&t){const e=this.props.hasThreats;return e?c().createElement("div",null,c().createElement("strong",null,(0,h.sprintf)(
/* Translators: placeholder is a number (of threats). */
-_n("Uh oh, %s threat found.","Uh oh, %s threats found.",e,"jetpack"),(0,E.Y)(e))),c().createElement("br",null),c().createElement("br",null),(0,h.createInterpolateElement)(__("<a>View details</a>","jetpack"),{a:c().createElement("a",{href:(0,m.Z)("vaultpress-dashboard")})}),c().createElement("br",null),(0,h.createInterpolateElement)(__("<a>Contact Support</a>","jetpack"),{a:c().createElement("a",{href:(0,m.Z)("jetpack-support")})})):__("Your site is connected to VaultPress for backups and security scanning.","jetpack")}if(e&&(0,d.includes)(["is-free-plan","is-personal-plan","is-daily-backup-plan","is-realtime-backup-plan"],n))return __("Your site is connected to VaultPress for backups.","jetpack");switch(n){case"is-personal-plan":r=__("You have paid for backups but they're not yet active.","jetpack"),r+=" "+__('Click "Set Up" to finish installation.',"jetpack");break;case"is-premium-plan":case"is-business-plan":r=__("You have paid for backups and security scanning but they’re not yet active.","jetpack"),r+=" "+__('Click "Set Up" to finish installation.',"jetpack")}return r}render(){if(!this.props.showBackups)return null;const e=(0,d.get)(this.props.vaultPressData,["data","features","security"],!1),t=(0,d.get)(this.props.rewindStatus,["state"],!1),n=!1!==t,r="N/A"!==this.props.vaultPressData&&!1!==(0,d.get)(this.props.vaultPressData,["data"],!1);return n||!this.props.vaultPressActive||r?(0,d.includes)(["provisioning","awaiting_credentials","active"],t)?c().createElement(A,i()({},this.props,{rewindState:t})):c().createElement(S.Z,i()({feature:y.eM},this.props,{header:_x("Backups and security scanning","Settings header","jetpack"),action:"scan",hideButton:!0}),c().createElement(C.Z,null),c().createElement(j.Z,{disableInOfflineMode:!0,module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,m.Z)("vaultpress-help-get-to-know")}},this.getCardText()),!this.props.isUnavailableInOfflineMode("backups")&&e&&c().createElement(b.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,target:"_blank",href:(0,m.Z)("vaultpress-dashboard")},__("Configure your Security Scans","jetpack"))):c().createElement(N,null)}});t.Z=(0,p.$j)((e=>({sitePlan:(0,w.UL)(e),vaultPressData:(0,k.XK)(e),hasThreats:(0,k._R)(e),vaultPressActive:(0,_.mp)(e,"vaultpress"),showBackups:(0,M.xR)(e)})))(O)},24295:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(92819),p=n(65736),d=n(60742),h=n(93107),f=n(17752),m=n(41147),g=n(75395),v=n(19555),b=n(61744),y=n(27219),k=n(65125),w=n(81200),_=n(88872),E=n(64067),C=n(35177),S=n(67306),j=n(3013),M=n(24682),x=n(95835);const __=p.__;class N extends a.Component{constructor(){super(...arguments),o()(this,"isAkismetFound",(()=>{if(!this.props.isPluginActive("akismet/akismet.php"))return!1;if(this.props.searchTerm){const e=this.props.isPluginInstalled("akismet/akismet.php");return["akismet","antispam","spam","comments",e.Description,e.PluginURI].join(" ").toLowerCase().indexOf(this.props.searchTerm.toLowerCase())>-1}return!0}))}render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,rewindStatus:this.props.rewindStatus,siteRawUrl:this.props.siteRawUrl,hasConnectedOwner:this.props.hasConnectedOwner},t=this.props.isModuleFound("protect"),n=this.props.isModuleFound("sso"),r=this.isAkismetFound(),s="active"===(0,u.get)(this.props.rewindStatus,["state"],!1),o=this.props.isModuleFound("vaultpress")||s,a=this.props.isModuleFound("monitor"),l=this.props.searchTerm;if(!l&&!this.props.active)return null;if(!(n||t||r||o||a))return null;const p=(0,w.sc)((0,u.get)(this.props.sitePlan,["product_slug"])),h=this.props.activeSitePurchases.map((e=>(0,w.sc)(e.product_slug))),f="is-personal-plan"===p,m="is-free-plan"===p&&["is-daily-backup-plan","is-realtime-backup-plan","is-backup-t1-plan","is-backup-t2-plan"].filter((e=>h.includes(e))).length>0,g=f||m?c().createElement(S.N,i()({},e,{vaultPressData:this.props.vaultPressData})):c().createElement(E.Z,e);return c().createElement("div",null,c().createElement(y.Z,null),c().createElement(d.Z,{title:l?__("Security","jetpack"):__("Your site is protected by Jetpack. You’ll be notified if anything needs attention.","jetpack",0),className:"jp-settings-description"}),o&&g,a&&c().createElement(j.u,e),r&&c().createElement(c().Fragment,null,c().createElement(C.Z,e),c().createElement(k.Z,null)),t&&c().createElement(M.C,e),n&&c().createElement(x.y,e))}}o()(N,"displayName","SecuritySettings"),t.Z=(0,l.$j)((e=>({activeSitePurchases:(0,_.nl)(e),module:t=>(0,h.rT)(e,t),settings:(0,f.Gw)(e),sitePlan:(0,_.UL)(e),isOfflineMode:(0,m.Ex)(e),isUnavailableInOfflineMode:t=>(0,m.t_)(e,t),isModuleFound:t=>(0,v.CX)(e,t),isPluginActive:t=>(0,b.TB)(e,t),isPluginInstalled:t=>(0,b.P8)(e,t),vaultPressData:(0,g.XK)(e),hasConnectedOwner:(0,m.it)(e)})))(N)},67306:function(e,t,n){"use strict";n.d(t,{N:function(){return b}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(11268),u=n.n(l),p=n(92819),d=n(65736),h=n(71415),f=n(34606),m=n(84277),g=n(27006),v=n(81200);const __=d.__,_x=d._x;class b extends a.Component{constructor(){super(...arguments),o()(this,"getVaultPressContent",(()=>c().createElement(g.Z,{module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,h.Z)("jetpack-support-backup")}},__("Your site is connected to VaultPress for backups.","jetpack")))),o()(this,"getRewindBanner",(()=>{const{title:e,icon:t,description:n,url:r}=this.getRewindMessage();return c().createElement(f.Z,{title:e,icon:t,feature:"rewind",description:n,className:"is-upgrade-premium jp-banner__no-border",href:r})}))}getRewindMessage(){const{siteRawUrl:e,rewindStatus:t}=this.props;switch((0,p.get)(t,"state",!1)){case"provisioning":return{title:__("Provisioning","jetpack"),icon:"info",description:__("Jetpack Backup is being configured for your site.","jetpack"),url:""};case"awaiting_credentials":return{title:__("Awaiting credentials","jetpack"),icon:"notice",description:__("You need to enter your server credentials to finish configuring Jetpack Backup.","jetpack"),url:(0,h.Z)("jetpack-settings-security-credentials",{site:e})};case"active":return{title:__("Active","jetpack"),icon:"checkmark-circle",description:__("Your site is connected to Jetpack Backup.","jetpack"),url:(0,h.Z)("calypso-activity-log",{site:e})};default:return{title:__("Oops!","jetpack"),icon:"info",description:__("The Jetpack Backup status could not be retrieved at this time.","jetpack"),url:""}}}render(){const{rewindStatus:e,vaultPressData:t}=this.props,n=(0,p.get)(e,"state",!1),r=(0,p.get)(t,["data","features","backups"],!1);return!1!==n||r?c().createElement(m.Z,i()({feature:v.N_},this.props,{header:_x("Jetpack Backup","Settings header","jetpack"),hideButton:!0}),"unavailable"===n?this.getVaultPressContent():this.getRewindBanner()):c().createElement(m.Z,{header:_x("Jetpack Backup","Settings header","jetpack"),hideButton:!0,action:v.N_},c().createElement(g.Z,{module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,h.Z)("jetpack-support-backup")}},__("Checking site status…","jetpack")))}}o()(b,"propTypes",{siteRawUrl:u().string,rewindState:u().string}),o()(b,"defaultProps",{siteRawUrl:"",rewindState:""})},3013:function(e,t,n){"use strict";n.d(t,{u:function(){return b}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(65736),u=n(71415),p=n(11973),d=n(60742),h=n(77222),f=n(5e4),m=n(84277),g=n(27006),v=n(24951);const __=l.__,_x=l._x,b=(0,f.u)(class extends a.Component{constructor(){super(...arguments),o()(this,"trackConfigureClick",(()=>{p.Z.tracks.recordJetpackClick("configure-monitor")}))}render(){const e=this.props.hasConnectedOwner,t=this.props.isOfflineMode,n=this.props.getOptionValue("monitor"),r=this.props.isUnavailableInOfflineMode("monitor");return c().createElement(m.Z,i()({},this.props,{hideButton:!0,module:"monitor",header:_x("Downtime monitoring","Settings header","jetpack")}),c().createElement(g.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:this.props.getModule("monitor"),support:{text:__("Jetpack will continuously monitor your site and alert you the moment downtime is detected.","jetpack"),link:(0,u.Z)("jetpack-support-monitor")}},c().createElement(h.T,{slug:"monitor",disabled:r||!e,activated:n,toggling:this.props.isSavingAnyOption("monitor"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Get alerts if your site goes offline. We’ll let you know when it’s back up, too.","jetpack")))),e&&c().createElement(d.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:(0,u.Z)("calypso-settings-security",{site:this.props.siteRawUrl})},__("Configure your notification settings","jetpack")),!e&&!t&&c().createElement(v.Z,{feature:"monitor",featureLabel:__("Downtime Monitoring","jetpack"),text:__("Connect to set up your status alerts.","jetpack")}))}})},24682:function(e,t,n){"use strict";n.d(t,{C:function(){return _}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(92819),u=n(65736),p=n(71415),d=n(11973),h=n(9913),f=n(50844),m=n(78919),g=n(55735),v=n(77222),b=n(5e4),y=n(84277),k=n(27006),w=n(24951);const __=u.__,_x=u._x,_=(0,b.u)(class extends a.Component{constructor(){super(...arguments),o()(this,"state",{safelist:this.props.getOptionValue("jetpack_protect_global_whitelist")?this.props.getOptionValue("jetpack_protect_global_whitelist").local:""}),o()(this,"currentIpIsSafelisted",(()=>!!(0,l.includes)(this.state.safelist,this.props.currentIp))),o()(this,"updateText",(e=>{this.currentIpIsSafelisted(),this.setState({safelist:e.target.value}),this.props.onOptionChange(e)})),o()(this,"addToSafelist",(()=>{const e=this.state.safelist+(0>=this.state.safelist.length?"":"\n")+this.props.currentIp;this.props.updateFormStateOptionValue("jetpack_protect_global_whitelist",e),this.setState({safelist:e}),d.Z.tracks.recordJetpackClick({target:"add-to-whitelist",feature:"protect"})})),o()(this,"trackOpenCard",(()=>{d.Z.tracks.recordJetpackClick({target:"foldable-settings-open",feature:"protect"})}))}render(){const e=this.props.getOptionValue("protect"),t=this.props.isUnavailableInOfflineMode("protect"),n=c().createElement(v.T,{slug:"protect",compact:!0,disabled:t,activated:e,toggling:this.props.isSavingAnyOption("protect"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},this.props.getModule("protect").description));return c().createElement(y.Z,i()({},this.props,{module:"protect",header:_x("Protect","Settings header","jetpack"),saveDisabled:this.props.isSavingAnyOption("jetpack_protect_global_whitelist")}),c().createElement(k.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:this.props.getModule("protect"),className:"foldable-wrapper"},c().createElement(m.Z,{onOpen:this.trackOpenCard,header:n},c().createElement(k.Z,{hasChild:!0,module:this.props.getModule("protect"),support:{text:__("Protects your site from traditional and distributed brute force login attacks.","jetpack"),link:(0,p.Z)("jetpack-support-protect")}},c().createElement(g.C_,null,this.props.currentIp&&c().createElement("div",null,c().createElement("div",{className:"jp-form-label-wide"},(0,u.sprintf)(
+_n("Uh oh, %s threat found.","Uh oh, %s threats found.",e,"jetpack"),(0,f.Z)(e))),c().createElement("br",null),c().createElement("br",null),(0,m.createInterpolateElement)(__("<a>View details</a>","jetpack"),{a:c().createElement("a",{href:(0,g.Z)("vaultpress-dashboard")})}),c().createElement("br",null),(0,m.createInterpolateElement)(__("<a>Contact Support</a>","jetpack"),{a:c().createElement("a",{href:(0,g.Z)("jetpack-support")})})):__("Your site is connected to VaultPress for backups and security scanning.","jetpack")}return e&&!this.props.hasScan?__("Your site is connected to VaultPress for backups.","jetpack"):(n=__("You have paid for backups but they're not yet active.","jetpack"),this.props.hasScan&&(n=__("You have paid for backups and security scanning but they’re not yet active.","jetpack")),n+=" "+__('Click "Set Up" to finish installation.',"jetpack"),n)}render(){if(!this.props.showBackups)return null;const e=(0,d.get)(this.props.vaultPressData,["data","features","security"],!1),t=(0,d.get)(this.props.rewindStatus,["state"],!1),n=!1!==t,s="N/A"!==this.props.vaultPressData&&!1!==(0,d.get)(this.props.vaultPressData,["data"],!1);return n||!this.props.vaultPressActive||s?(0,d.includes)(["provisioning","awaiting_credentials","active"],t)?c().createElement(O,r()({},this.props,{rewindState:t})):c().createElement(j.Z,r()({feature:y.eM},this.props,{header:_x("Backups and security scanning","Settings header","jetpack"),action:"scan",hideButton:!0}),c().createElement(C.Z,null),c().createElement(S.Z,{disableInOfflineMode:!0,module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,g.Z)("vaultpress-help-get-to-know")}},this.getCardText()),!this.props.isUnavailableInOfflineMode("backups")&&e&&c().createElement(_.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,target:"_blank",href:(0,g.Z)("vaultpress-dashboard")},__("Configure your Security Scans","jetpack"))):c().createElement(T,null)}});t.Z=(0,u.$j)((e=>({vaultPressData:(0,E.XK)(e),hasScan:(0,w.P2)(e,"scan"),hasThreats:(0,E._R)(e),vaultPressActive:(0,b.mp)(e,"vaultpress"),showBackups:(0,N.xR)(e)})))(P)},7914:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(2819),u=n(5736),d=n(5799),m=n(416),h=n(3230),g=n(6300),f=n(7296),v=n(9292),k=n(1372),_=n(9270),y=n(3544),E=n(3002),w=n(9529),b=n(7753),C=n(385),j=n(9e3),S=n(6478),N=n(7006),x=n(6237);const __=u.__;class T extends o.Component{constructor(){super(...arguments),a()(this,"isAkismetFound",(()=>{if(!this.props.isPluginActive("akismet/akismet.php"))return!1;if(this.props.searchTerm){const e=this.props.isPluginInstalled("akismet/akismet.php");return["akismet","antispam","spam","comments",e.Description,e.PluginURI].join(" ").toLowerCase().indexOf(this.props.searchTerm.toLowerCase())>-1}return!0}))}render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,rewindStatus:this.props.rewindStatus,siteRawUrl:this.props.siteRawUrl,hasConnectedOwner:this.props.hasConnectedOwner},t=this.props.isModuleFound("waf"),n=this.props.isModuleFound("protect"),s=this.props.isModuleFound("sso"),i=this.isAkismetFound(),a="active"===(0,p.get)(this.props.rewindStatus,["state"],!1),o=this.props.isModuleFound("vaultpress")||a,l=this.props.isModuleFound("monitor"),u=this.props.searchTerm;if(!u&&!this.props.active)return null;if(!(s||n||i||o||l))return null;const m=this.props.backupsOnly?c().createElement(C.N,r()({},e,{vaultPressData:this.props.vaultPressData})):c().createElement(w.Z,e);return c().createElement("div",null,c().createElement(_.Z,null),c().createElement(d.Z,{title:u?__("Security","jetpack"):__("Your site is protected by Jetpack. You’ll be notified if anything needs attention.","jetpack",0),className:"jp-settings-description"}),o&&m,l&&c().createElement(j.u,e),i&&c().createElement(c().Fragment,null,c().createElement(b.Z,e),c().createElement(y.Z,null)),t&&c().createElement(S.Z,e),n&&c().createElement(N.C,e),s&&c().createElement(x.y,e))}}a()(T,"displayName","SecuritySettings"),t.Z=(0,l.$j)((e=>({backupsOnly:(0,E.P2)(e,"backups")&&!(0,E.P2)(e,"scan"),module:t=>(0,m.rT)(e,t),settings:(0,h.Gw)(e),isOfflineMode:(0,g.Ex)(e),isUnavailableInOfflineMode:t=>(0,g.t_)(e,t),isModuleFound:t=>(0,v.CX)(e,t),isPluginActive:t=>(0,k.TB)(e,t),isPluginInstalled:t=>(0,k.P8)(e,t),vaultPressData:(0,f.XK)(e),hasConnectedOwner:(0,g.it)(e)})))(T)},385:function(e,t,n){"use strict";n.d(t,{N:function(){return k}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5162),p=n.n(l),u=n(2819),d=n(5736),m=n(6324),h=n(7407),g=n(3806),f=n(8178),v=n(9584);const __=d.__,_x=d._x;class k extends o.Component{constructor(){super(...arguments),a()(this,"getVaultPressContent",(()=>c().createElement(f.Z,{module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,m.Z)("jetpack-support-backup")}},__("Your site is connected to VaultPress for backups.","jetpack")))),a()(this,"getRewindBanner",(()=>{const{title:e,icon:t,description:n,url:s}=this.getRewindMessage();return c().createElement(h.ZP,{title:e,icon:t,feature:"rewind",description:n,className:"is-upgrade-premium jp-banner__no-border",href:s})}))}getRewindMessage(){const{siteRawUrl:e,rewindStatus:t}=this.props;switch((0,u.get)(t,"state",!1)){case"provisioning":return{title:__("Provisioning","jetpack"),icon:"info",description:__("Jetpack Backup is being configured for your site.","jetpack"),url:""};case"awaiting_credentials":return{title:__("Awaiting credentials","jetpack"),icon:"notice",description:__("You need to enter your server credentials to finish configuring Jetpack Backup.","jetpack"),url:(0,m.Z)("jetpack-settings-security-credentials",{site:e})};case"active":return{title:__("Active","jetpack"),icon:"checkmark-circle",description:__("Your site is connected to Jetpack Backup.","jetpack"),url:(0,m.Z)("calypso-activity-log",{site:e})};default:return{title:__("Oops!","jetpack"),icon:"info",description:__("The Jetpack Backup status could not be retrieved at this time.","jetpack"),url:""}}}render(){const{rewindStatus:e,vaultPressData:t}=this.props,n=(0,u.get)(e,"state",!1),s=(0,u.get)(t,["data","features","backups"],!1);return!1!==n||s?c().createElement(g.Z,r()({feature:v.N_},this.props,{header:_x("Jetpack Backup","Settings header","jetpack"),hideButton:!0}),"unavailable"===n?this.getVaultPressContent():this.getRewindBanner()):c().createElement(g.Z,{header:_x("Jetpack Backup","Settings header","jetpack"),hideButton:!0,action:v.N_},c().createElement(f.Z,{module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,m.Z)("jetpack-support-backup")}},__("Checking site status…","jetpack")))}}a()(k,"propTypes",{siteRawUrl:p().string,rewindState:p().string}),a()(k,"defaultProps",{siteRawUrl:"",rewindState:""})},9e3:function(e,t,n){"use strict";n.d(t,{u:function(){return k}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5736),p=n(6324),u=n(4069),d=n(5799),m=n(5004),h=n(2353),g=n(3806),f=n(8178),v=n(6164);const __=l.__,_x=l._x,k=(0,h.u)(class extends o.Component{constructor(){super(...arguments),a()(this,"trackConfigureClick",(()=>{u.Z.tracks.recordJetpackClick("configure-monitor")}))}render(){const e=this.props.hasConnectedOwner,t=this.props.isOfflineMode,n=this.props.getOptionValue("monitor"),s=this.props.isUnavailableInOfflineMode("monitor");return c().createElement(g.Z,r()({},this.props,{hideButton:!0,module:"monitor",header:_x("Downtime monitoring","Settings header","jetpack")}),c().createElement(f.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:this.props.getModule("monitor"),support:{text:__("Jetpack will continuously monitor your site and alert you the moment downtime is detected.","jetpack"),link:(0,p.Z)("jetpack-support-monitor")}},c().createElement(m.T,{slug:"monitor",disabled:s||!e,activated:n,toggling:this.props.isSavingAnyOption("monitor"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Get alerts if your site goes offline. We’ll let you know when it’s back up, too.","jetpack")))),e&&c().createElement(d.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:(0,p.Z)("calypso-settings-security",{site:this.props.siteRawUrl})},__("Configure your notification settings","jetpack")),!e&&!t&&c().createElement(v.Z,{feature:"monitor",featureLabel:__("Downtime Monitoring","jetpack"),text:__("Connect to set up your status alerts.","jetpack")}))}})},7006:function(e,t,n){"use strict";n.d(t,{C:function(){return w}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(2819),p=n(5736),u=n(6324),d=n(4069),m=n(7506),h=n(5936),g=n(860),f=n(1775),v=n(5004),k=n(2353),_=n(3806),y=n(8178),E=n(6164);const __=p.__,_x=p._x,w=(0,k.u)(class extends o.Component{constructor(){super(...arguments),a()(this,"state",{safelist:this.props.getOptionValue("jetpack_protect_global_whitelist")?this.props.getOptionValue("jetpack_protect_global_whitelist").local:""}),a()(this,"currentIpIsSafelisted",(()=>!!(0,l.includes)(this.state.safelist,this.props.currentIp))),a()(this,"updateText",(e=>{this.currentIpIsSafelisted(),this.setState({safelist:e.target.value}),this.props.onOptionChange(e)})),a()(this,"addToSafelist",(()=>{const e=this.state.safelist+(0>=this.state.safelist.length?"":"\n")+this.props.currentIp;this.props.updateFormStateOptionValue("jetpack_protect_global_whitelist",e),this.setState({safelist:e}),d.Z.tracks.recordJetpackClick({target:"add-to-whitelist",feature:"protect"})})),a()(this,"trackOpenCard",(()=>{d.Z.tracks.recordJetpackClick({target:"foldable-settings-open",feature:"protect"})}))}render(){const e=this.props.getOptionValue("protect"),t=this.props.isUnavailableInOfflineMode("protect"),n=c().createElement(v.T,{slug:"protect",compact:!0,disabled:t,activated:e,toggling:this.props.isSavingAnyOption("protect"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},this.props.getModule("protect").description));return c().createElement(_.Z,r()({},this.props,{module:"protect",header:_x("Brute force protection","Settings header","jetpack"),saveDisabled:this.props.isSavingAnyOption("jetpack_protect_global_whitelist")}),c().createElement(y.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:this.props.getModule("protect"),className:"foldable-wrapper"},c().createElement(g.Z,{onOpen:this.trackOpenCard,header:n},c().createElement(y.Z,{hasChild:!0,module:this.props.getModule("protect"),support:{text:__("Protects your site from traditional and distributed brute force login attacks.","jetpack"),link:(0,u.Z)("jetpack-support-protect")}},c().createElement(f.C_,null,this.props.currentIp&&c().createElement("div",null,c().createElement("div",{className:"jp-form-label-wide"},(0,p.sprintf)(
/* translators: placeholder is an IP address. */
-__("Your current IP: %s","jetpack"),this.props.currentIp)),c().createElement(h.Z,{disabled:!e||t||this.currentIpIsSafelisted()||this.props.isSavingAnyOption(["protect","jetpack_protect_global_whitelist"]),onClick:this.addToSafelist},__("Add to Always Allowed list","jetpack"))),c().createElement(g.lX,null,c().createElement(g.Gj,null,__("Always allowed IP addresses","jetpack")),c().createElement(f.Z,{disabled:!e||t||this.props.isSavingAnyOption(["protect","jetpack_protect_global_whitelist"]),name:"jetpack_protect_global_whitelist",placeholder:"Example: 12.12.12.1-12.12.12.100",onChange:this.updateText,value:this.state.safelist})),c().createElement("span",{className:"jp-form-setting-explanation"},__('You may mark an IP address (or series of addresses) as "Always allowed", preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100',"jetpack")))))),!this.props.hasConnectedOwner&&!this.props.isOfflineMode&&c().createElement(w.Z,{feature:"protect",featureLabel:__("Protect","jetpack"),text:__("Connect to set up brute force attack protection.","jetpack")}))}})},95835:function(e,t,n){"use strict";n.d(t,{y:function(){return b}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(65736),u=n(71415),p=n(94069),d=n(55735),h=n(77222),f=n(5e4),m=n(84277),g=n(27006),v=n(24951);const __=l.__,_x=l._x,b=(0,f.u)(class extends a.Component{constructor(){super(...arguments),o()(this,"state",{jetpack_sso_match_by_email:this.props.getOptionValue("jetpack_sso_match_by_email","sso"),jetpack_sso_require_two_step:this.props.getOptionValue("jetpack_sso_require_two_step","sso")}),o()(this,"handleTwoStepToggleChange",(()=>{this.updateOptions("jetpack_sso_require_two_step")})),o()(this,"handleMatchByEmailToggleChange",(()=>{this.updateOptions("jetpack_sso_match_by_email")})),o()(this,"updateOptions",(e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("sso",e))}))}render(){const e=this.props.getOptionValue("sso"),t=this.props.isUnavailableInOfflineMode("sso");return c().createElement(m.Z,i()({},this.props,{hideButton:!0,module:"sso",header:_x("WordPress.com login","Settings header, noun.","jetpack")}),c().createElement(g.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:this.props.getModule("sso"),support:{text:__("Allows registered users to log in to your site with their WordPress.com accounts.","jetpack"),link:(0,u.Z)("jetpack-support-sso")}},c().createElement("p",null,__("Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.","jetpack")),c().createElement(h.T,{slug:"sso",disabled:t||!this.props.hasConnectedOwner,activated:e,toggling:this.props.isSavingAnyOption("sso"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},this.props.getModule("sso").description)),c().createElement(d.C_,null,c().createElement(p.Z,{checked:this.state.jetpack_sso_match_by_email,disabled:!e||t||this.props.isSavingAnyOption(["sso","jetpack_sso_match_by_email"]),onChange:this.handleMatchByEmailToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Match accounts using email addresses","jetpack"))),c().createElement(p.Z,{checked:this.state.jetpack_sso_require_two_step,disabled:!e||t||this.props.isSavingAnyOption(["sso","jetpack_sso_require_two_step"]),onChange:this.handleTwoStepToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Require accounts to use WordPress.com Two-Step Authentication","jetpack"))))),!this.props.hasConnectedOwner&&!this.props.isOfflineMode&&c().createElement(v.Z,{feature:"sso",featureLabel:__("Secure Sign-On","jetpack"),text:__("Connect to enable WordPress.com Secure Sign-On.","jetpack")}))}})},7507:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(65736),u=n(2620),p=n(12901),d=n(9863),h=n(37755),f=n(90955),m=n(70445),g=n(24295),v=n(84669),b=n(97640),y=n(18731),k=n(93107);const __=l.__;class w extends c().Component{render(){const{location:e={pathname:""},rewindStatus:t,searchTerm:n,siteAdminUrl:r,siteRawUrl:s,userCanManageModules:o}=this.props,{pathname:a}=e,u={searchTerm:n,rewindStatus:t,userCanManageModules:o};return c().createElement("div",{className:"jp-settings-container"},c().createElement("div",{className:"jp-no-results"},n?(0,l.sprintf)(
+__("Your current IP: %s","jetpack"),this.props.currentIp)),c().createElement(m.Z,{disabled:!e||t||this.currentIpIsSafelisted()||this.props.isSavingAnyOption(["protect","jetpack_protect_global_whitelist"]),onClick:this.addToSafelist},__("Add to Always Allowed list","jetpack"))),c().createElement(f.lX,null,c().createElement(f.Gj,null,__("Always allowed IP addresses","jetpack")),c().createElement(h.Z,{disabled:!e||t||this.props.isSavingAnyOption(["protect","jetpack_protect_global_whitelist"]),name:"jetpack_protect_global_whitelist",placeholder:"Example: 12.12.12.1-12.12.12.100",onChange:this.updateText,value:this.state.safelist})),c().createElement("span",{className:"jp-form-setting-explanation"},__('You may mark an IP address (or series of addresses) as "Always allowed", preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100',"jetpack")))))),!this.props.hasConnectedOwner&&!this.props.isOfflineMode&&c().createElement(E.Z,{feature:"protect",featureLabel:__("Protect","jetpack"),text:__("Connect to set up brute force attack protection.","jetpack")}))}})},6237:function(e,t,n){"use strict";n.d(t,{y:function(){return k}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5736),p=n(6324),u=n(1674),d=n(1775),m=n(5004),h=n(2353),g=n(3806),f=n(8178),v=n(6164);const __=l.__,_x=l._x,k=(0,h.u)(class extends o.Component{constructor(){super(...arguments),a()(this,"state",{jetpack_sso_match_by_email:this.props.getOptionValue("jetpack_sso_match_by_email","sso"),jetpack_sso_require_two_step:this.props.getOptionValue("jetpack_sso_require_two_step","sso")}),a()(this,"handleTwoStepToggleChange",(()=>{this.updateOptions("jetpack_sso_require_two_step")})),a()(this,"handleMatchByEmailToggleChange",(()=>{this.updateOptions("jetpack_sso_match_by_email")})),a()(this,"updateOptions",(e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("sso",e))}))}render(){const e=this.props.getOptionValue("sso"),t=this.props.isUnavailableInOfflineMode("sso");return c().createElement(g.Z,r()({},this.props,{hideButton:!0,module:"sso",header:_x("WordPress.com login","Settings header, noun.","jetpack")}),c().createElement(f.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:this.props.getModule("sso"),support:{text:__("Allows registered users to log in to your site with their WordPress.com accounts.","jetpack"),link:(0,p.Z)("jetpack-support-sso")}},c().createElement("p",null,__("Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.","jetpack")),c().createElement(m.T,{slug:"sso",disabled:t||!this.props.hasConnectedOwner,activated:e,toggling:this.props.isSavingAnyOption("sso"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},this.props.getModule("sso").description)),c().createElement(d.C_,null,c().createElement(u.Z,{checked:this.state.jetpack_sso_match_by_email,disabled:!e||t||this.props.isSavingAnyOption(["sso","jetpack_sso_match_by_email"]),onChange:this.handleMatchByEmailToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Match accounts using email addresses","jetpack"))),c().createElement(u.Z,{checked:this.state.jetpack_sso_require_two_step,disabled:!e||t||this.props.isSavingAnyOption(["sso","jetpack_sso_require_two_step"]),onChange:this.handleTwoStepToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Require accounts to use WordPress.com Two-Step Authentication","jetpack"))))),!this.props.hasConnectedOwner&&!this.props.isOfflineMode&&c().createElement(v.Z,{feature:"sso",featureLabel:__("Secure Sign-On","jetpack"),text:__("Connect to enable WordPress.com Secure Sign-On.","jetpack")}))}})},6478:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(1674),d=n(1775),m=n(9584),h=n(860),g=n(5733),f=n(2353),v=n(5004),k=n(3806),_=n(8178),y=n(2698),E=n(5936),w=n(9307),b=n(1137),C=n(3002),j=n(6725),S=n(5074),N=n(5609),x=n(6324);const __=p.__,_x=p._x,T=class extends o.Component{constructor(){super(...arguments),a()(this,"state",{jetpack_waf_ip_list:this.props.getOptionValue("jetpack_waf_ip_list"),jetpack_waf_ip_allow_list:this.props.getOptionValue("jetpack_waf_ip_allow_list"),jetpack_waf_ip_block_list:this.props.getOptionValue("jetpack_waf_ip_block_list"),jetpack_waf_share_data:this.props.getOptionValue("jetpack_waf_share_data")}),a()(this,"handleIpListToggleChange",(()=>{this.updateOptions("jetpack_waf_ip_list")})),a()(this,"handleShareDataToggleChange",(()=>{this.updateOptions("jetpack_waf_share_data")})),a()(this,"handleIpListChange",(e=>{const{target:{name:t,value:n}}=e;this.setState({[t]:n}),this.props.onOptionChange(e)})),a()(this,"updateOptions",(e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("waf",e))}))}render(){const e=this.props.getOptionValue("waf"),t=this.props.isUnavailableInOfflineMode("waf"),n=c().createElement("div",{className:"waf__header"},c().createElement("span",null,_x("Firewall","Settings header","jetpack")),c().createElement("span",{className:"waf__header__badge"},_x("Beta","Settings header badge","jetpack"))),s=c().createElement("div",{className:"waf__settings__toggle-setting"},c().createElement(u.Z,{checked:this.state.jetpack_waf_ip_list,disabled:!e||t||this.props.isSavingAnyOption(["waf","jetpack_waf_ip_list"]),onChange:this.handleIpListToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Allow / Block list - Block or allow a specific request IP","jetpack"))),this.state.jetpack_waf_ip_list&&c().createElement(c().Fragment,null,c().createElement("div",{className:"waf__settings__ips"},c().createElement(d.lX,null,__("Blocked IP addresses","jetpack")),c().createElement(E.Z,{disabled:!e||t||this.props.isSavingAnyOption(["waf","jetpack_waf_ip_list","jetpack_waf_ip_block_list"]),name:"jetpack_waf_ip_block_list",placeholder:(0,p.sprintf)(
+/* translators: Placeholder is a list of example IP addresses. */
+__("Example: %s","jetpack"),"\n12.12.12.1\n12.12.12.2"),value:this.state.jetpack_waf_ip_block_list,onChange:this.handleIpListChange})),c().createElement("div",{className:"waf__settings__ips"},c().createElement(d.lX,null,__("Always allowed IP addresses","jetpack")),c().createElement(E.Z,{disabled:!e||t||this.props.isSavingAnyOption(["waf","jetpack_waf_ip_list","jetpack_waf_ip_allow_list"]),name:"jetpack_waf_ip_allow_list",placeholder:__("Example:","jetpack")+"\n12.12.12.1\n12.12.12.2",value:this.state.jetpack_waf_ip_allow_list,onChange:this.handleIpListChange})))),i=c().createElement("div",{className:"waf__settings__toggle-setting"},c().createElement(u.Z,{checked:this.state.jetpack_waf_share_data,disabled:!e||t||this.props.isSavingAnyOption(["waf","jetpack_waf_share_data"]),onChange:this.handleShareDataToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Share data with Jetpack","jetpack"))),c().createElement(y.Z,{position:"right",screenReaderText:__("Learn more","jetpack"),className:"waf__settings__share-data-popover"},(0,w.createInterpolateElement)(__("Allow Jetpack to collect data to improve Firewall protection and rules. <ExternalLink>Learn more</ExternalLink> <hr /> <ExternalLink>Privacy Information</ExternalLink>","jetpack"),{ExternalLink:c().createElement(N.ExternalLink,{href:(0,x.Z)("jetpack-waf-settings-privacy-info")}),hr:c().createElement("hr",null)}))),a=(0,w.createInterpolateElement)(__("<b>Enhance protection</b> - Learn how to configure the firewall to inspect all requests and run before WordPress initializes","jetpack"),{b:c().createElement("strong",null)}),o=c().createElement(h.Z,{header:a,className:"waf__enhanced-protection"},c().createElement(_.Z,{hasChild:!0},c().createElement("ul",null,c().createElement("li",null,(0,w.createInterpolateElement)((0,p.sprintf)(
+/* translators: Placeholder is the file path to the Firewall's bootstrap file. */
+__("To ensure the firewall can best protect your site, please update: <code>auto_prepend_file</code> PHP directive to point to <code>%s</code> Typically this is set either in an .htaccess file or in the global PHP configuration; contact your host for further assistance.","jetpack"),this.props.bootstrapPath),{code:c().createElement("code",null)})),c().createElement("li",null,__("Don't forget to undo this action when Firewall is turned off, or when you uninstall Jetpack.","jetpack"))))),l=c().createElement(g.ZP,{callToAction:__("Upgrade","jetpack"),title:__("Upgrade your protection for latest rules access","jetpack"),eventFeature:"scan",plan:(0,m.o2)(m.eM),feature:"jetpack_scan",href:this.props.scanUpgradeUrl});return c().createElement(k.Z,r()({},this.props,{header:n,module:"waf",saveDisabled:this.props.isSavingAnyOption(["jetpack_waf_ip_allow_list","jetpack_waf_ip_block_list"])}),c().createElement(S.Z,null),c().createElement(_.Z,{disableInOfflineMode:!0,module:this.props.getModule("waf")},c().createElement(v.T,{slug:"waf",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("waf"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},this.props.getModule("waf").description)),e&&c().createElement(d.C_,{className:"waf__settings"},s,i)),e&&this.props.bootstrapPath&&o,!this.props.hasRulesAccess&&!this.props.isFetchingWafSettings&&l)}};t.Z=(0,l.$j)((e=>{const t=(0,C.UL)(e);return{bootstrapPath:(0,j.Rp)(e),hasRulesAccess:(0,j.m9)(e),isFetchingWafSettings:(0,j.vd)(e),scanUpgradeUrl:(0,b.z)(e,"scan"),sitePlan:t}}))((0,f.u)(T))},9517:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5736),p=n(9309),u=n(4498),d=n(399),m=n(2160),h=n(5043),g=n(1256),f=n(7914),v=n(8845),k=n(7889),_=n(1421),y=n(416);const __=l.__;class E extends c().Component{render(){const{location:e={pathname:""},rewindStatus:t,searchTerm:n,siteAdminUrl:s,siteRawUrl:i,userCanManageModules:a}=this.props,{pathname:o}=e,p={searchTerm:n,rewindStatus:t,userCanManageModules:a};return c().createElement("div",{className:"jp-settings-container"},c().createElement("div",{className:"jp-no-results"},n?(0,l.sprintf)(
/* translators: placeholder is a searchterm entered in searchform. */
-__("No search results found for %s","jetpack"),n):__("Enter a search term to find settings or close search.","jetpack")),c().createElement(g.Z,i()({siteAdminUrl:r,siteRawUrl:s,active:"/security"===a||"/settings"===a&&o},u)),c().createElement(d.Z,i()({siteRawUrl:s,active:"/discussion"===a},u)),c().createElement(h.Z,i()({active:"/performance"===a},u)),c().createElement(b.Z,i()({siteRawUrl:s,siteAdminUrl:r,active:"/traffic"===a},u)),c().createElement(y.Z,i()({siteAdminUrl:r,active:"/writing"===a||!o&&this.props.isModuleActivated("post-by-email")&&!this.props.isModuleActivated("publicize")},u)),c().createElement(v.Z,i()({siteAdminUrl:r,active:"/sharing"===a||"/settings"===a&&!o&&this.props.isModuleActivated("publicize")},u)),c().createElement(f.Z,i()({active:"/privacy"===a},u)),c().createElement(m.Z,{searchTerm:n}))}}o()(w,"displayName","SearchableSettings"),t.Z=(0,u.$j)((e=>({isModuleActivated:t=>(0,k.mp)(e,t)})))((0,p.EN)(w))},84669:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(2620),o=n(65736),a=n(60742),c=n(93107),l=n(17752),u=n(41147),p=n(19555),d=n(66552),h=n(27219),f=n(37636),m=n(10342),g=n(29779);const __=o.__;class v extends r.Component{render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,userCanManageModules:this.props.userCanManageModules},t=this.props.isModuleFound("publicize"),n=this.props.isModuleFound("sharedaddy"),r=this.props.isModuleFound("likes");return(this.props.searchTerm||this.props.active)&&(t||n||r)?i().createElement("div",null,i().createElement(h.Z,null),i().createElement(a.Z,{title:this.props.searchTerm?__("Sharing","jetpack"):__("Share your content to social media, reaching new audiences and increasing engagement.","jetpack"),className:"jp-settings-description"}),t&&i().createElement(f.u,e),n&&i().createElement(m.n,e),r&&i().createElement(g.d,e)):null}}t.Z=(0,s.$j)((e=>({module:t=>(0,c.rT)(e,t),settings:(0,l.Gw)(e),isOfflineMode:(0,u.Ex)(e),isUnavailableInOfflineMode:t=>(0,u.t_)(e,t),isModuleFound:t=>(0,p.CX)(e,t),isLinked:(0,u.BU)(e),connectUrl:(0,u.AM)(e),siteRawUrl:(0,d.JR)(e),siteAdminUrl:(0,d.wW)(e),userCanManageModules:(0,d.pK)(e)})))(v)},29779:function(e,t,n){"use strict";n.d(t,{d:function(){return h}});var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(65736),c=n(71415),l=n(5e4),u=n(84277),p=n(27006),d=n(77222);const __=a.__,_x=a._x,h=(0,l.u)(class extends s.Component{render(){const e=this.props.isUnavailableInOfflineMode("likes"),t=this.props.getOptionValue("likes");return o().createElement(u.Z,i()({},this.props,{header:_x("Like buttons","Settings header","jetpack"),module:"likes",hideButton:!0}),o().createElement(p.Z,{disableInOfflineMode:!0,module:{module:"likes"},support:{text:__("Adds like buttons to your content so that visitors can show their appreciation or enjoyment.","jetpack"),link:(0,c.Z)("jetpack-support-likes")}},o().createElement("p",null,__("The Like button is a way for people on WordPress.com to show their appreciation for your content.","jetpack")),o().createElement(d.T,{slug:"likes",disabled:e,activated:t,toggling:this.props.isSavingAnyOption("likes"),toggleModule:this.props.toggleModuleNow},__("Add Like buttons to your posts and pages","jetpack"))))}})},37636:function(e,t,n){"use strict";n.d(t,{u:function(){return g}});var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(65736),c=n(71415),l=n(11973),u=n(60742),p=n(5e4),d=n(84277),h=n(27006),f=n(77222),m=n(24951);const __=a.__,_x=a._x,g=(0,p.u)(class extends s.Component{trackClickConfigure(){l.Z.tracks.recordJetpackClick({target:"configure-publicize",page:"sharing"})}render(){const e=this.props.isUnavailableInOfflineMode("publicize"),t=this.props.isLinked,n=this.props.isOfflineMode,r=this.props.siteRawUrl,s=this.props.getOptionValue("publicize"),a=this.props.userCanManageModules;return a||s?o().createElement(d.Z,i()({},this.props,{header:_x("Publicize connections","Settings header","jetpack"),module:"publicize",hideButton:!0}),a&&o().createElement(h.Z,{disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:{module:"publicize"},support:{text:__("Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.","jetpack"),link:(0,c.Z)("jetpack-support-publicize")}},o().createElement("p",null,__("Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.","jetpack")),o().createElement(f.T,{slug:"publicize",disabled:e||!this.props.isLinked,activated:s,toggling:this.props.isSavingAnyOption("publicize"),toggleModule:this.props.toggleModuleNow},__("Automatically share your posts to social networks","jetpack"))),!t&&!n&&o().createElement(m.Z,{feature:"publicize",featureLabel:__("Publicize","jetpack"),text:__("Connect to add your social media accounts.","jetpack")}),s&&(()=>{if(!e)return t&&o().createElement(u.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackClickConfigure,target:"_blank",rel:"noopener noreferrer",href:(0,c.Z)("calypso-marketing-connections",{site:r})},__("Connect your social media accounts","jetpack"))})()):null}})},10342:function(e,t,n){"use strict";n.d(t,{n:function(){return m}});var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(65736),c=n(71415),l=n(11973),u=n(60742),p=n(5e4),d=n(84277),h=n(27006),f=n(77222);const __=a.__,_x=a._x,m=(0,p.u)(class extends s.Component{trackClickConfigure(){l.Z.tracks.recordJetpackClick({target:"configure-sharing",page:"sharing"})}render(){const e=this.props.isLinked,t=this.props.siteRawUrl,n=this.props.siteAdminUrl,r=this.props.isOfflineMode,s=this.props.getOptionValue("sharedaddy");return o().createElement(d.Z,i()({},this.props,{header:_x("Sharing buttons","Settings header","jetpack"),module:"sharing",hideButton:!0}),o().createElement(h.Z,{disableInOfflineMode:!0,module:{module:"sharedaddy"},support:{text:__("You can customize the sharing buttons and choose which services to display.","jetpack"),link:(0,c.Z)("jetpack-support-sharing")}},o().createElement("p",null,__("Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.","jetpack")),o().createElement(f.T,{slug:"sharedaddy",activated:s,toggling:this.props.isSavingAnyOption("sharedaddy"),toggleModule:this.props.toggleModuleNow},__("Add sharing buttons to your posts and pages","jetpack"))),s&&(()=>r||!e?o().createElement(u.Z,{compact:!0,className:"jp-settings-card__configure-link",href:n+"options-general.php?page=sharing"},__("Configure your sharing buttons","jetpack")):o().createElement(u.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackClickConfigure,target:"_blank",rel:"noopener noreferrer",href:(0,c.Z)("calypso-marketing-sharing-buttons",{site:t})},__("Configure your sharing buttons","jetpack")))())}})},67592:function(e,t,n){"use strict";n.d(t,{R9:function(){return r},q7:function(){return i},Uy:function(){return s},hm:function(){return o},J1:function(){return a},U7:function(){return c},BV:function(){return l},ie:function(){return u},AA:function(){return p},IW:function(){return d},Mo:function(){return h},dD:function(){return f},lj:function(){return m},o2:function(){return g},yb:function(){return v},bG:function(){return b},sO:function(){return y},B9:function(){return k},T:function(){return w},YD:function(){return _},X0:function(){return E},kK:function(){return C},rA:function(){return S},TB:function(){return j},jE:function(){return M},kF:function(){return x},I3:function(){return N},sG:function(){return A},n2:function(){return O},Jy:function(){return T},Gu:function(){return P},xk:function(){return I},CD:function(){return R},L:function(){return U},Lo:function(){return Z},Hy:function(){return D},m:function(){return L},_M:function(){return z},a8:function(){return B},ar:function(){return F},TR:function(){return V},H5:function(){return q},yV:function(){return H},QG:function(){return W},sQ:function(){return $},Kt:function(){return J},c0:function(){return K},Cf:function(){return G},x3:function(){return Y},Mi:function(){return X},$I:function(){return Q},as:function(){return ee},RR:function(){return te},Fm:function(){return ne},KD:function(){return re},BG:function(){return ie},BB:function(){return se},Pi:function(){return oe},yE:function(){return ae},HO:function(){return ce},YC:function(){return le},$0:function(){return ue},w_:function(){return pe},g:function(){return de},i7:function(){return he},ik:function(){return fe},Pp:function(){return me},hz:function(){return ge},QD:function(){return ve},JA:function(){return be},dS:function(){return ye},rY:function(){return ke},q4:function(){return we},jH:function(){return _e},QF:function(){return Ee},BX:function(){return Ce},gY:function(){return Se},FL:function(){return je},Ns:function(){return Me},TI:function(){return xe},rQ:function(){return Ne},fH:function(){return Ae},l9:function(){return Oe},Mg:function(){return Te},nD:function(){return Pe},rw:function(){return Ie},Vl:function(){return Re},VN:function(){return Ue},g9:function(){return Ze},Fe:function(){return De},lt:function(){return Le},Dz:function(){return ze},Ab:function(){return Be},Ep:function(){return Fe},zO:function(){return Ve},XU:function(){return qe},y$:function(){return He},qU:function(){return We},s6:function(){return $e},z1:function(){return Je},jb:function(){return Ke},uG:function(){return Ge},og:function(){return Ye},HE:function(){return Xe},x1:function(){return Qe},kO:function(){return et},i3:function(){return tt},Nk:function(){return nt},qY:function(){return rt},zD:function(){return it},IZ:function(){return st},lh:function(){return ot},fX:function(){return at},tU:function(){return ct},Ez:function(){return lt},Qm:function(){return ut},XP:function(){return pt},K0:function(){return dt},Fc:function(){return ht},b8:function(){return ft},me:function(){return mt},Vd:function(){return gt},tl:function(){return vt},Yo:function(){return bt},mL:function(){return yt},hF:function(){return kt},CM:function(){return wt},it:function(){return _t},Dg:function(){return Et},ml:function(){return Ct},Yk:function(){return St},fe:function(){return jt},N9:function(){return Mt},vr:function(){return xt},M0:function(){return Nt},$F:function(){return At},b6:function(){return Ot},cz:function(){return Tt},$d:function(){return Pt},s9:function(){return It},km:function(){return Rt},oQ:function(){return Ut},UI:function(){return Zt},Uq:function(){return Dt},U$:function(){return Lt},R5:function(){return zt},lO:function(){return Bt},jt:function(){return Ft}});const r="JETPACK_SET_INITIAL_STATE",i="CONNECT_URL_FETCH",s="CONNECT_URL_FETCH_FAIL",o="CONNECT_URL_FETCH_SUCCESS",a="DISCONNECT_SITE",c="DISCONNECT_SITE_FAIL",l="DISCONNECT_SITE_SUCCESS",u="CONNECT_USER",p="RESET_CONNECT_USER",d="UNLINK_USER",h="UNLINK_USER_FAIL",f="UNLINK_USER_SUCCESS",m="USER_CONNECTION_DATA_FETCH",g="USER_CONNECTION_DATA_FETCH_FAIL",v="USER_CONNECTION_DATA_FETCH_SUCCESS",b="SITE_RECONNECT",y="SITE_RECONNECT_SUCCESS",k="SITE_RECONNECT_FAIL",w="USER_TRACKING_SETTINGS_FETCH",_="USER_TRACKING_SETTINGS_FETCH_FAIL",E="USER_TRACKING_SETTINGS_FETCH_SUCCESS",C="USER_TRACKING_SETTINGS_UPDATE",S="USER_TRACKING_SETTINGS_UPDATE_FAIL",j="USER_TRACKING_SETTINGS_UPDATE_SUCCESS",M="JETPACK_MODULES_LIST_FETCH",x="JETPACK_MODULES_LIST_FETCH_FAIL",N="JETPACK_MODULES_LIST_RECEIVE",A="JETPACK_MODULE_ACTIVATE",O="JETPACK_MODULE_ACTIVATE_SUCCESS",T="JETPACK_MODULE_ACTIVATE_FAIL",P="JETPACK_MODULE_DEACTIVATE",I="JETPACK_MODULE_DEACTIVATE_FAIL",R="JETPACK_MODULE_DEACTIVATE_SUCCESS",U="JETPACK_MODULE_UPDATE_OPTIONS",Z="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",D="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",L="JETPACK_CONNECTION_STATUS_FETCH",z="JETPACK_CONNECTION_TEST_FETCH",B="JETPACK_SITE_CONNECTED_PLUGINS_FETCH",F="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_RECEIVE",V="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_FAIL",q="DASHBOARD_PROTECT_COUNT_FETCH",H="DASHBOARD_PROTECT_COUNT_FETCH_FAIL",W="DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS",$="RESET_OPTIONS",J="RESET_OPTIONS_FAIL",K="RESET_OPTIONS_SUCCESS",G="VAULTPRESS_SITE_DATA_FETCH",Y="VAULTPRESS_SITE_DATA_FETCH_FAIL",X="VAULTPRESS_SITE_DATA_FETCH_SUCCESS",Q="AKISMET_DATA_FETCH",ee="AKISMET_DATA_FETCH_FAIL",te="AKISMET_DATA_FETCH_SUCCESS",ne="AKISMET_KEY_CHECK_FETCH",re="AKISMET_KEY_CHECK_FETCH_FAIL",ie="AKISMET_KEY_CHECK_FETCH_SUCCESS",se="PLUGIN_UPDATES_FETCH",oe="PLUGIN_UPDATES_FETCH_FAIL",ae="PLUGIN_UPDATES_FETCH_SUCCESS",ce="STATS_SWITCH_TAB",le="STATS_DATA_FETCH",ue="STATS_DATA_FETCH_FAIL",pe="STATS_DATA_FETCH_SUCCESS",de="JETPACK_PRODUCTS_FETCH",he="JETPACK_PRODUCTS_FETCH_RECEIVE",fe="JETPACK_PRODUCTS_FETCH_FAIL",me="JETPACK_SITE_PRODUCTS_FETCH",ge="JETPACK_SITE_PRODUCTS_FETCH_FAIL",ve="JETPACK_SITE_PRODUCTS_FETCH_RECEIVE",be="JETPACK_SETTINGS_FETCH",ye="JETPACK_SETTINGS_FETCH_RECEIVE",ke="JETPACK_SETTINGS_FETCH_FAIL",we="JETPACK_SETTING_UPDATE",_e="JETPACK_SETTING_UPDATE_SUCCESS",Ee="JETPACK_SETTING_UPDATE_FAIL",Ce="JETPACK_SETTINGS_UPDATE",Se="JETPACK_SETTINGS_UPDATE_FAIL",je="JETPACK_SETTINGS_UPDATE_SUCCESS",Me="JETPACK_SETTINGS_SET_UNSAVED_FLAG",xe="JETPACK_SETTINGS_CLEAR_UNSAVED_FLAG",Ne="JETPACK_SITE_DATA_FETCH",Ae="JETPACK_SITE_DATA_FETCH_RECEIVE",Oe="JETPACK_SITE_DATA_FETCH_FAIL",Te="JETPACK_SITE_BENEFITS_FETCH",Pe="JETPACK_SITE_BENEFITS_FETCH_RECEIVE",Ie="JETPACK_SITE_BENEFITS_FETCH_FAIL",Re="JETPACK_SITE_FEATURES_FETCH",Ue="JETPACK_SITE_FEATURES_FETCH_RECEIVE",Ze="JETPACK_SITE_FEATURES_FETCH_FAIL",De="JETPACK_SITE_PLANS_FETCH",Le="JETPACK_SITE_PLANS_FETCH_RECEIVE",ze="JETPACK_SITE_PLANS_FETCH_FAIL",Be="JETPACK_SITE_PURCHASES_FETCH",Fe="JETPACK_SITE_PURCHASES_FETCH_RECEIVE",Ve="JETPACK_SITE_PURCHASES_FETCH_FAIL",qe="JETPACK_RECOMMENDATIONS_DATA_ADD_SELECTED_RECOMMENDATION",He="JETPACK_RECOMMENDATIONS_DATA_ADD_SKIPPED_RECOMMENDATION",We="JETPACK_RECOMMENDATIONS_DATA_FETCH",$e="JETPACK_RECOMMENDATIONS_DATA_FETCH_RECEIVE",Je="JETPACK_RECOMMENDATIONS_DATA_FETCH_FAIL",Ke="JETPACK_RECOMMENDATIONS_DATA_UPDATE",Ge="JETPACK_RECOMMENDATIONS_DATA_SAVE",Ye="JETPACK_RECOMMENDATIONS_DATA_SAVE_SUCCESS",Xe="JETPACK_RECOMMENDATIONS_DATA_SAVE_FAIL",Qe="JETPACK_RECOMMENDATIONS_STEP_UPDATE",et="JETPACK_RECOMMENDATIONS_STEP_UPDATE_SUCCESS",tt="JETPACK_RECOMMENDATIONS_STEP_UPDATE_FAIL",nt="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH",rt="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_RECEIVE",it="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_FAIL",st="JETPACK_RECOMMENDATIONS_UPSELL_FETCH",ot="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_RECEIVE",at="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_FAIL",ct="JETPACK_ACTION_NOTICES_DISMISS",lt="JETPACK_NOTICES_DISMISS_SUCCESS",ut="JETPACK_PLUGINS_DATA_FETCH",pt="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",dt="JETPACK_PLUGINS_DATA_FETCH_FAIL",ht="JETPACK_SEARCH_TERM",ft="SET_PLAN_DURATION",mt="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY",gt="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_SUCCESS",vt="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_FAIL",bt="DEV_CARD_DISPLAY",yt="DEV_CARD_HIDE",kt="MOCK_SWITCH_USER_PERMISSIONS",wt="MOCK_SWITCH_THREATS",_t="REWIND_STATUS_FETCH",Et="REWIND_STATUS_FETCH_RECEIVE",Ct="REWIND_STATUS_FETCH_FAIL",St="MOCK_SWITCH_REWIND_STATE",jt="SCAN_STATUS_FETCH",Mt="SCAN_STATUS_FETCH_RECEIVE",xt="SCAN_STATUS_FETCH_FAIL",Nt="MOCK_SWITCH_SCAN_STATE",At="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH",Ot="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_FAIL",Tt="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_SUCCESS",Pt="JETPACK_SITE_VERIFY_GOOGLE_REQUEST",It="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_SUCCESS",Rt="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_FAIL",Ut="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL",Zt="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_SUCCESS",Dt="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_FAIL",Lt="JETPACK_LICENSING_ERROR_UPDATE",zt="JETPACK_LICENSING_USER_LICENSE_COUNTS_UPDATE",Bt="JETPACK_LICENSING_ACTIVATION_NOTICE_DISMISS_UPDATE",Ft="JETPACK_CONNECTION_HAS_SEEN_WC_CONNECTION_MODAL"},57644:function(e,t,n){"use strict";n.d(t,{D3:function(){return s},g4:function(){return o},eR:function(){return a},l7:function(){return c},bB:function(){return l},Bt:function(){return u}});var r=n(19570),i=n(67592);const s=e=>t=>{t({type:i.HO,activeStatsTab:e})},o=e=>t=>(t({type:i.YC}),r.ZP.fetchStatsData(e).then((e=>{t({type:i.w_,statsData:e})})).catch((e=>{t({type:i.$0,error:e})}))),a=()=>e=>(e({type:i.H5}),r.ZP.getProtectCount().then((t=>{e({type:i.QG,protectCount:t})})).catch((t=>{e({type:i.yV,error:t})}))),c=()=>e=>(e({type:i.Cf}),r.ZP.getVaultPressData().then((t=>{e({type:i.Mi,vaultPressData:t})})).catch((t=>{e({type:i.x3,error:t})}))),l=()=>e=>(e({type:i.$I}),r.ZP.getAkismetData().then((t=>{e({type:i.RR,akismetData:t})})).catch((t=>{e({type:i.as,error:t})}))),u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t=>{t({type:i.Fm});return(""===e?r.ZP.checkAkismetKey().then((e=>{t({type:i.BG,akismet:e})})):r.ZP.checkAkismetKeyTyped(e).then((e=>{t({type:i.BG,akismet:e})}))).catch((e=>{t({type:i.KD,error:e})}))}}},75395:function(e,t,n){"use strict";n.d(t,{l5:function(){return r.l5},fU:function(){return r.fU},xz:function(){return r.xz},yZ:function(){return r.yZ},XK:function(){return r.XK},_R:function(){return r._R},_2:function(){return r._2},gw:function(){return r.gw},bV:function(){return r.bV},Xu:function(){return r.Xu},F2:function(){return r.F2},P_:function(){return r.P_},Bt:function(){return i.Bt},bB:function(){return i.bB},eR:function(){return i.eR},g4:function(){return i.g4},l7:function(){return i.l7},D3:function(){return i.D3}});var r=n(50046),i=n(57644)},50046:function(e,t,n){"use strict";n.d(t,{sI:function(){return o},l5:function(){return a},F2:function(){return c},yZ:function(){return l},bV:function(){return u},fU:function(){return p},gw:function(){return d},_2:function(){return h},Xu:function(){return f},xz:function(){return m},P_:function(){return g},XK:function(){return v},_R:function(){return b}});var r=n(74978),i=n(92819),s=n(67592);const o=(0,r.UY)({requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.YC:return(0,i.assign)({},e,{fetchingStatsData:!0});case s.$I:return(0,i.assign)({},e,{fetchingAkismetData:!0});case s.Fm:return(0,i.assign)({},e,{checkingAkismetKey:!0});case s.Cf:return(0,i.assign)({},e,{fetchingVaultPressData:!0});case s.H5:return(0,i.assign)({},e,{fetchingProtectData:!0});case s.BB:return(0,i.assign)({},e,{fetchingPluginUpdates:!0});case s.$0:case s.w_:return(0,i.assign)({},e,{fetchingStatsData:!1});case s.as:case s.RR:return(0,i.assign)({},e,{fetchingAkismetData:!1});case s.KD:case s.BG:return(0,i.assign)({},e,{checkingAkismetKey:!1});case s.yV:case s.QG:return(0,i.assign)({},e,{fetchingProtectData:!1});case s.Pi:case s.yE:return(0,i.assign)({},e,{fetchingPluginUpdates:!1});case s.x3:case s.Mi:return(0,i.assign)({},e,{fetchingVaultPressData:!1});default:return e}},activeStatsTab:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"day",t=arguments.length>1?arguments[1]:void 0;return t.type===s.HO?t.activeStatsTab:e},protectCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===s.QG?t.protectCount:e},vaultPressData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.Mi:return t.vaultPressData;case s.CM:return(0,i.assign)({},"N/A"===e?{}:e,{data:{active:!0,features:{security:!0},security:{notice_count:t.mockCount}}});default:return e}},statsData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===s.w_?(0,i.assign)({},e,t.statsData):e},akismetData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===s.RR?t.akismetData:e},akismet:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{validKey:null,invalidKeyCode:"",invalidKeyMessage:""},t=arguments.length>1?arguments[1]:void 0;return t.type===s.BG?(0,i.assign)({},e,t.akismet):e},pluginUpdates:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===s.yE?t.pluginUpdates:e}});function a(e){return e.jetpack.dashboard.activeStatsTab}function c(e){return!!e.jetpack.dashboard.requests.fetchingStatsData}function l(e){return e.jetpack.dashboard.statsData}function u(e){return!!e.jetpack.dashboard.requests.fetchingAkismetData}function p(e){return e.jetpack.dashboard.akismetData}function d(e){return!!e.jetpack.dashboard.requests.checkingAkismetKey}function h(e){return(0,i.get)(e.jetpack.dashboard,["akismet","validKey"],!1)}function f(e){return!!e.jetpack.dashboard.requests.fetchingProtectData}function m(e){return e.jetpack.dashboard.protectCount}function g(e){return!!e.jetpack.dashboard.requests.fetchingVaultPressData}function v(e){return e.jetpack.dashboard.vaultPressData}function b(e){return(0,i.get)(e.jetpack.dashboard.vaultPressData,"data.security.notice_count",0)}},64769:function(e,t,n){"use strict";n.d(t,{I7:function(){return c},SG:function(){return l},eW:function(){return u},jb:function(){return p},EP:function(){return d},bL:function(){return h},HD:function(){return f},xK:function(){return m},qJ:function(){return g}});var r=n(65736),i=n(21094),s=n(67592),o=n(19570),a=n(66552);const __=r.__,c=()=>e=>o.ZP.fetchSiteConnectionStatus().then((t=>{e({type:s.m,siteConnected:t})})),l=()=>e=>(e((0,i.iI)("is-info",__("Testing Jetpack Connection","jetpack"),{id:"test-jetpack-connection"})),o.ZP.fetchSiteConnectionTest().then((t=>{e({type:s._M,connectionTest:t}),e((0,i.qq)("test-jetpack-connection")),e((0,i.iI)("success"===t.code?"is-success":"is-error",t.message,{id:"test-jetpack-connection"}))})).catch((t=>{e((0,i.qq)("test-jetpack-connection")),e((0,i.iI)("is-error",(0,r.sprintf)(
+__("No search results found for %s","jetpack"),n):__("Enter a search term to find settings or close search.","jetpack")),c().createElement(f.Z,r()({siteAdminUrl:s,siteRawUrl:i,active:"/security"===o||"/settings"===o&&a},p)),c().createElement(d.Z,r()({siteRawUrl:i,active:"/discussion"===o},p)),c().createElement(m.Z,r()({active:"/performance"===o},p)),c().createElement(k.Z,r()({siteRawUrl:i,siteAdminUrl:s,active:"/traffic"===o},p)),c().createElement(_.Z,r()({siteAdminUrl:s,active:"/writing"===o||!a&&this.props.isModuleActivated("post-by-email")&&!this.props.isModuleActivated("publicize")},p)),c().createElement(v.Z,r()({siteAdminUrl:s,active:"/sharing"===o||"/settings"===o&&!a&&this.props.isModuleActivated("publicize")},p)),c().createElement(h.Z,r()({active:"/privacy"===o},p)),c().createElement(g.Z,{searchTerm:n}))}}a()(E,"displayName","SearchableSettings"),t.Z=(0,p.$j)((e=>({isModuleActivated:t=>(0,y.mp)(e,t)})))((0,u.EN)(E))},8845:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(9309),a=n(5736),o=n(5799),c=n(416),l=n(3230),p=n(6300),u=n(9292),d=n(9508),m=n(9270),h=n(2950),g=n(2234),f=n(8994);const __=a.__;class v extends s.Component{render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,userCanManageModules:this.props.userCanManageModules},t=this.props.isModuleFound("publicize"),n=this.props.isModuleFound("sharedaddy"),s=this.props.isModuleFound("likes");return(this.props.searchTerm||this.props.active)&&(t||n||s)?r().createElement("div",null,r().createElement(m.Z,null),r().createElement(o.Z,{title:this.props.searchTerm?__("Sharing","jetpack"):__("Share your content to social media, reaching new audiences and increasing engagement.","jetpack"),className:"jp-settings-description"}),t&&r().createElement(h.u,e),n&&r().createElement(g.n,e),s&&r().createElement(f.d,e)):null}}t.Z=(0,i.$j)((e=>({module:t=>(0,c.rT)(e,t),settings:(0,l.Gw)(e),isOfflineMode:(0,p.Ex)(e),isUnavailableInOfflineMode:t=>(0,p.t_)(e,t),isModuleFound:t=>(0,u.CX)(e,t),isLinked:(0,p.BU)(e),connectUrl:(0,p.AM)(e),siteRawUrl:(0,d.JR)(e),siteAdminUrl:(0,d.wW)(e),userCanManageModules:(0,d.pK)(e)})))(v)},8994:function(e,t,n){"use strict";n.d(t,{d:function(){return m}});var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(5736),c=n(6324),l=n(2353),p=n(3806),u=n(8178),d=n(5004);const __=o.__,_x=o._x,m=(0,l.u)(class extends i.Component{render(){const e=this.props.isUnavailableInOfflineMode("likes"),t=this.props.getOptionValue("likes");return a().createElement(p.Z,r()({},this.props,{header:_x("Like buttons","Settings header","jetpack"),module:"likes",hideButton:!0}),a().createElement(u.Z,{disableInOfflineMode:!0,module:{module:"likes"},support:{text:__("Adds like buttons to your content so that visitors can show their appreciation or enjoyment.","jetpack"),link:(0,c.Z)("jetpack-support-likes")}},a().createElement("p",null,__("The Like button is a way for people on WordPress.com to show their appreciation for your content.","jetpack")),a().createElement(d.T,{slug:"likes",disabled:e,activated:t,toggling:this.props.isSavingAnyOption("likes"),toggleModule:this.props.toggleModuleNow},__("Add Like buttons to your posts and pages","jetpack"))))}})},2950:function(e,t,n){"use strict";n.d(t,{u:function(){return f}});var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(5736),c=n(6324),l=n(4069),p=n(5799),u=n(2353),d=n(3806),m=n(8178),h=n(5004),g=n(6164);const __=o.__,_x=o._x,f=(0,u.u)(class extends i.Component{trackClickConfigure(){l.Z.tracks.recordJetpackClick({target:"configure-publicize",page:"sharing"})}render(){const e=this.props.isUnavailableInOfflineMode("publicize"),t=this.props.isLinked,n=this.props.isOfflineMode,s=this.props.siteRawUrl,i=this.props.getOptionValue("publicize"),o=this.props.userCanManageModules;return o||i?a().createElement(d.Z,r()({},this.props,{header:_x("Publicize connections","Settings header","jetpack"),module:"publicize",hideButton:!0}),o&&a().createElement(m.Z,{disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:{module:"publicize"},support:{text:__("Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.","jetpack"),link:(0,c.Z)("jetpack-support-publicize")}},a().createElement("p",null,__("Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.","jetpack")),a().createElement(h.T,{slug:"publicize",disabled:e||!this.props.isLinked,activated:i,toggling:this.props.isSavingAnyOption("publicize"),toggleModule:this.props.toggleModuleNow},__("Automatically share your posts to social networks","jetpack"))),!t&&!n&&a().createElement(g.Z,{feature:"publicize",featureLabel:__("Publicize","jetpack"),text:__("Connect to add your social media accounts.","jetpack")}),i&&(()=>{if(!e)return t&&a().createElement(p.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackClickConfigure,target:"_blank",rel:"noopener noreferrer",href:(0,c.Z)("calypso-marketing-connections",{site:s})},__("Connect your social media accounts","jetpack"))})()):null}})},2234:function(e,t,n){"use strict";n.d(t,{n:function(){return g}});var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(5736),c=n(6324),l=n(4069),p=n(5799),u=n(2353),d=n(3806),m=n(8178),h=n(5004);const __=o.__,_x=o._x,g=(0,u.u)(class extends i.Component{trackClickConfigure(){l.Z.tracks.recordJetpackClick({target:"configure-sharing",page:"sharing"})}render(){const e=this.props.isLinked,t=this.props.siteRawUrl,n=this.props.siteAdminUrl,s=this.props.isOfflineMode,i=this.props.getOptionValue("sharedaddy");return a().createElement(d.Z,r()({},this.props,{header:_x("Sharing buttons","Settings header","jetpack"),module:"sharing",hideButton:!0}),a().createElement(m.Z,{disableInOfflineMode:!0,module:{module:"sharedaddy"},support:{text:__("You can customize the sharing buttons and choose which services to display.","jetpack"),link:(0,c.Z)("jetpack-support-sharing")}},a().createElement("p",null,__("Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.","jetpack")),a().createElement(h.T,{slug:"sharedaddy",activated:i,toggling:this.props.isSavingAnyOption("sharedaddy"),toggleModule:this.props.toggleModuleNow},__("Add sharing buttons to your posts and pages","jetpack"))),i&&(()=>s||!e?a().createElement(p.Z,{compact:!0,className:"jp-settings-card__configure-link",href:n+"options-general.php?page=sharing"},__("Configure your sharing buttons","jetpack")):a().createElement(p.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackClickConfigure,target:"_blank",rel:"noopener noreferrer",href:(0,c.Z)("calypso-marketing-sharing-buttons",{site:t})},__("Configure your sharing buttons","jetpack")))())}})},1975:function(e,t,n){"use strict";n.d(t,{$0n:function(){return pe},$F1:function(){return Lt},$ID:function(){return Q},$d8:function(){return Dt},AAZ:function(){return u},Abu:function(){return He},B9W:function(){return y},BB$:function(){return ie},BG7:function(){return re},BVO:function(){return l},BX3:function(){return Ce},CD3:function(){return U},CMU:function(){return xt},CfX:function(){return G},DgS:function(){return Ot},Dze:function(){return Be},EpE:function(){return qe},Ez9:function(){return ft},EzW:function(){return rn},FLi:function(){return Se},FcF:function(){return yt},Few:function(){return Fe},Fmj:function(){return ne},G_D:function(){return ht},Gu5:function(){return A},H5i:function(){return H},HEN:function(){return nt},HOX:function(){return ce},Hyl:function(){return z},I3o:function(){return T},IWc:function(){return d},IZk:function(){return lt},J1y:function(){return o},JAC:function(){return ke},Jyr:function(){return M},K0Z:function(){return _t},KDO:function(){return se},Kth:function(){return W},Lao:function(){return R},Lon:function(){return L},LxH:function(){return nn},M0I:function(){return Rt},Mg3:function(){return Me},MiX:function(){return X},MoW:function(){return m},N9n:function(){return Zt},Nkq:function(){return at},NsN:function(){return Ne},Oth:function(){return en},Piu:function(){return ae},Ppo:function(){return ge},QD8:function(){return ve},QFx:function(){return be},QGN:function(){return $},QmL:function(){return vt},R5k:function(){return Jt},R99:function(){return s},RRK:function(){return te},TBz:function(){return S},TIZ:function(){return xe},TRY:function(){return B},Tad:function(){return E},Tip:function(){return Ue},U$1:function(){return $t},U7H:function(){return c},UIx:function(){return Ht},UqW:function(){return qt},UyH:function(){return i},VN$:function(){return Ie},VdL:function(){return bt},VlO:function(){return ze},WV5:function(){return an},X0m:function(){return b},XPw:function(){return kt},XUm:function(){return Je},Y5l:function(){return Qt},YCI:function(){return le},YDM:function(){return w},Yk$:function(){return Mt},YoP:function(){return jt},_MD:function(){return D},a8A:function(){return F},arb:function(){return Et},arr:function(){return V},asZ:function(){return ee},b6A:function(){return zt},bGw:function(){return k},c0d:function(){return K},clc:function(){return Kt},czi:function(){return It},dDV:function(){return h},dSY:function(){return _e},fHq:function(){return Oe},fXf:function(){return ut},feA:function(){return At},g9Z:function(){return De},gGy:function(){return sn},gYU:function(){return je},g_q:function(){return Yt},gat:function(){return de},hF6:function(){return Nt},hmP:function(){return a},hzW:function(){return fe},i3n:function(){return it},i7L:function(){return me},ien:function(){return p},ikp:function(){return he},itb:function(){return Tt},jEk:function(){return N},jHC:function(){return we},jbS:function(){return Qe},jtr:function(){return Xt},kFt:function(){return x},kK9:function(){return C},kO5:function(){return rt},kms:function(){return Vt},krc:function(){return tn},l94:function(){return Pe},lLu:function(){return Re},lOd:function(){return Wt},lhN:function(){return pt},lje:function(){return g},ltp:function(){return Ve},mLi:function(){return St},maF:function(){return I},meS:function(){return wt},mlz:function(){return Pt},n2G:function(){return P},nDB:function(){return Ae},nnP:function(){return Ke},o2S:function(){return f},oQj:function(){return Bt},ogt:function(){return tt},pmE:function(){return Le},q4m:function(){return Ee},q7G:function(){return r},qUO:function(){return Ge},qYt:function(){return ot},qdt:function(){return mt},rAK:function(){return j},rQ4:function(){return Te},rYo:function(){return ye},rwn:function(){return Ze},s6x:function(){return Ye},s9K:function(){return Ft},sG3:function(){return O},sO1:function(){return _},sQG:function(){return J},tUc:function(){return gt},tlb:function(){return Ct},uGk:function(){return et},vrP:function(){return Ut},wXx:function(){return dt},w_8:function(){return ue},x16:function(){return st},x3k:function(){return Y},xkZ:function(){return Z},y$G:function(){return We},yEZ:function(){return oe},yV3:function(){return q},ybW:function(){return v},ycn:function(){return Gt},z1n:function(){return Xe},zDe:function(){return ct},zOX:function(){return $e}});const s="JETPACK_SET_INITIAL_STATE",r="CONNECT_URL_FETCH",i="CONNECT_URL_FETCH_FAIL",a="CONNECT_URL_FETCH_SUCCESS",o="DISCONNECT_SITE",c="DISCONNECT_SITE_FAIL",l="DISCONNECT_SITE_SUCCESS",p="CONNECT_USER",u="RESET_CONNECT_USER",d="UNLINK_USER",m="UNLINK_USER_FAIL",h="UNLINK_USER_SUCCESS",g="USER_CONNECTION_DATA_FETCH",f="USER_CONNECTION_DATA_FETCH_FAIL",v="USER_CONNECTION_DATA_FETCH_SUCCESS",k="SITE_RECONNECT",_="SITE_RECONNECT_SUCCESS",y="SITE_RECONNECT_FAIL",E="USER_TRACKING_SETTINGS_FETCH",w="USER_TRACKING_SETTINGS_FETCH_FAIL",b="USER_TRACKING_SETTINGS_FETCH_SUCCESS",C="USER_TRACKING_SETTINGS_UPDATE",j="USER_TRACKING_SETTINGS_UPDATE_FAIL",S="USER_TRACKING_SETTINGS_UPDATE_SUCCESS",N="JETPACK_MODULES_LIST_FETCH",x="JETPACK_MODULES_LIST_FETCH_FAIL",T="JETPACK_MODULES_LIST_RECEIVE",O="JETPACK_MODULE_ACTIVATE",P="JETPACK_MODULE_ACTIVATE_SUCCESS",M="JETPACK_MODULE_ACTIVATE_FAIL",A="JETPACK_MODULE_DEACTIVATE",Z="JETPACK_MODULE_DEACTIVATE_FAIL",U="JETPACK_MODULE_DEACTIVATE_SUCCESS",R="JETPACK_MODULE_UPDATE_OPTIONS",L="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",z="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",I="JETPACK_CONNECTION_STATUS_FETCH",D="JETPACK_CONNECTION_TEST_FETCH",F="JETPACK_SITE_CONNECTED_PLUGINS_FETCH",V="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_RECEIVE",B="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_FAIL",H="DASHBOARD_PROTECT_COUNT_FETCH",q="DASHBOARD_PROTECT_COUNT_FETCH_FAIL",$="DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS",J="RESET_OPTIONS",W="RESET_OPTIONS_FAIL",K="RESET_OPTIONS_SUCCESS",G="VAULTPRESS_SITE_DATA_FETCH",Y="VAULTPRESS_SITE_DATA_FETCH_FAIL",X="VAULTPRESS_SITE_DATA_FETCH_SUCCESS",Q="AKISMET_DATA_FETCH",ee="AKISMET_DATA_FETCH_FAIL",te="AKISMET_DATA_FETCH_SUCCESS",ne="AKISMET_KEY_CHECK_FETCH",se="AKISMET_KEY_CHECK_FETCH_FAIL",re="AKISMET_KEY_CHECK_FETCH_SUCCESS",ie="PLUGIN_UPDATES_FETCH",ae="PLUGIN_UPDATES_FETCH_FAIL",oe="PLUGIN_UPDATES_FETCH_SUCCESS",ce="STATS_SWITCH_TAB",le="STATS_DATA_FETCH",pe="STATS_DATA_FETCH_FAIL",ue="STATS_DATA_FETCH_SUCCESS",de="JETPACK_PRODUCTS_FETCH",me="JETPACK_PRODUCTS_FETCH_RECEIVE",he="JETPACK_PRODUCTS_FETCH_FAIL",ge="JETPACK_SITE_PRODUCTS_FETCH",fe="JETPACK_SITE_PRODUCTS_FETCH_FAIL",ve="JETPACK_SITE_PRODUCTS_FETCH_RECEIVE",ke="JETPACK_SETTINGS_FETCH",_e="JETPACK_SETTINGS_FETCH_RECEIVE",ye="JETPACK_SETTINGS_FETCH_FAIL",Ee="JETPACK_SETTING_UPDATE",we="JETPACK_SETTING_UPDATE_SUCCESS",be="JETPACK_SETTING_UPDATE_FAIL",Ce="JETPACK_SETTINGS_UPDATE",je="JETPACK_SETTINGS_UPDATE_FAIL",Se="JETPACK_SETTINGS_UPDATE_SUCCESS",Ne="JETPACK_SETTINGS_SET_UNSAVED_FLAG",xe="JETPACK_SETTINGS_CLEAR_UNSAVED_FLAG",Te="JETPACK_SITE_DATA_FETCH",Oe="JETPACK_SITE_DATA_FETCH_RECEIVE",Pe="JETPACK_SITE_DATA_FETCH_FAIL",Me="JETPACK_SITE_BENEFITS_FETCH",Ae="JETPACK_SITE_BENEFITS_FETCH_RECEIVE",Ze="JETPACK_SITE_BENEFITS_FETCH_FAIL",Ue="JETPACK_SITE_DISCOUNT_FETCH",Re="JETPACK_SITE_DISCOUNT_FETCH_RECEIVE",Le="JETPACK_SITE_DISCOUNT_FETCH_FAIL",ze="JETPACK_SITE_FEATURES_FETCH",Ie="JETPACK_SITE_FEATURES_FETCH_RECEIVE",De="JETPACK_SITE_FEATURES_FETCH_FAIL",Fe="JETPACK_SITE_PLANS_FETCH",Ve="JETPACK_SITE_PLANS_FETCH_RECEIVE",Be="JETPACK_SITE_PLANS_FETCH_FAIL",He="JETPACK_SITE_PURCHASES_FETCH",qe="JETPACK_SITE_PURCHASES_FETCH_RECEIVE",$e="JETPACK_SITE_PURCHASES_FETCH_FAIL",Je="JETPACK_RECOMMENDATIONS_DATA_ADD_SELECTED_RECOMMENDATION",We="JETPACK_RECOMMENDATIONS_DATA_ADD_SKIPPED_RECOMMENDATION",Ke="JETPACK_RECOMMENDATIONS_DATA_ADD_VIEWED_RECOMMENDATION",Ge="JETPACK_RECOMMENDATIONS_DATA_FETCH",Ye="JETPACK_RECOMMENDATIONS_DATA_FETCH_RECEIVE",Xe="JETPACK_RECOMMENDATIONS_DATA_FETCH_FAIL",Qe="JETPACK_RECOMMENDATIONS_DATA_UPDATE",et="JETPACK_RECOMMENDATIONS_DATA_SAVE",tt="JETPACK_RECOMMENDATIONS_DATA_SAVE_SUCCESS",nt="JETPACK_RECOMMENDATIONS_DATA_SAVE_FAIL",st="JETPACK_RECOMMENDATIONS_STEP_UPDATE",rt="JETPACK_RECOMMENDATIONS_STEP_UPDATE_SUCCESS",it="JETPACK_RECOMMENDATIONS_STEP_UPDATE_FAIL",at="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH",ot="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_RECEIVE",ct="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_FAIL",lt="JETPACK_RECOMMENDATIONS_UPSELL_FETCH",pt="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_RECEIVE",ut="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_FAIL",dt="JETPACK_RECOMMENDATIONS_CONDITIONAL_FETCH",mt="JETPACK_RECOMMENDATIONS_CONDITIONAL_FETCH_RECEIVE",ht="JETPACK_RECOMMENDATIONS_CONDITIONAL_FETCH_FAIL",gt="JETPACK_ACTION_NOTICES_DISMISS",ft="JETPACK_NOTICES_DISMISS_SUCCESS",vt="JETPACK_PLUGINS_DATA_FETCH",kt="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",_t="JETPACK_PLUGINS_DATA_FETCH_FAIL",yt="JETPACK_SEARCH_TERM",Et="SET_PLAN_DURATION",wt="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY",bt="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_SUCCESS",Ct="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_FAIL",jt="DEV_CARD_DISPLAY",St="DEV_CARD_HIDE",Nt="MOCK_SWITCH_USER_PERMISSIONS",xt="MOCK_SWITCH_THREATS",Tt="REWIND_STATUS_FETCH",Ot="REWIND_STATUS_FETCH_RECEIVE",Pt="REWIND_STATUS_FETCH_FAIL",Mt="MOCK_SWITCH_REWIND_STATE",At="SCAN_STATUS_FETCH",Zt="SCAN_STATUS_FETCH_RECEIVE",Ut="SCAN_STATUS_FETCH_FAIL",Rt="MOCK_SWITCH_SCAN_STATE",Lt="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH",zt="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_FAIL",It="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_SUCCESS",Dt="JETPACK_SITE_VERIFY_GOOGLE_REQUEST",Ft="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_SUCCESS",Vt="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_FAIL",Bt="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL",Ht="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_SUCCESS",qt="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_FAIL",$t="JETPACK_LICENSING_ERROR_UPDATE",Jt="JETPACK_LICENSING_USER_LICENSE_COUNTS_UPDATE",Wt="JETPACK_LICENSING_ACTIVATION_NOTICE_DISMISS_UPDATE",Kt="JETPACK_LICENSING_GET_USER_LICENSES_FETCH",Gt="JETPACK_LICENSING_GET_USER_LICENSES_SUCCESS",Yt="JETPACK_LICENSING_GET_USER_LICENSES_FAILURE",Xt="JETPACK_CONNECTION_HAS_SEEN_WC_CONNECTION_MODAL",Qt="WAF_SETTINGS_FETCH",en="WAF_SETTINGS_FETCH_RECEIVE",tn="WAF_SETTINGS_FETCH_FAIL",nn="JETPACK_INTRO_OFFERS_FETCH",sn="JETPACK_INTRO_OFFERS_FETCH_RECEIVE",rn="JETPACK_INTRO_OFFERS_FETCH_FAIL",an="JETPACK_RECOMMENDATIONS_SITE_DISCOUNT_VIEWED"},7865:function(e,t,n){"use strict";n.d(t,{Bt:function(){return p},D3:function(){return i},bB:function(){return l},eR:function(){return o},g4:function(){return a},l7:function(){return c}});var s=n(4743),r=n(1975);const i=e=>t=>{t({type:r.HOX,activeStatsTab:e})},a=e=>t=>(t({type:r.YCI}),s.ZP.fetchStatsData(e).then((e=>{t({type:r.w_8,statsData:e})})).catch((e=>{t({type:r.$0n,error:e})}))),o=()=>e=>(e({type:r.H5i}),s.ZP.getProtectCount().then((t=>{e({type:r.QGN,protectCount:t})})).catch((t=>{e({type:r.yV3,error:t})}))),c=()=>e=>(e({type:r.CfX}),s.ZP.getVaultPressData().then((t=>{e({type:r.MiX,vaultPressData:t})})).catch((t=>{e({type:r.x3k,error:t})}))),l=()=>e=>(e({type:r.$ID}),s.ZP.getAkismetData().then((t=>{e({type:r.RRK,akismetData:t})})).catch((t=>{e({type:r.asZ,error:t})}))),p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t=>{t({type:r.Fmj});return(""===e?s.ZP.checkAkismetKey().then((e=>{t({type:r.BG7,akismet:e})})):s.ZP.checkAkismetKeyTyped(e).then((e=>{t({type:r.BG7,akismet:e})}))).catch((e=>{t({type:r.KDO,error:e})}))}}},7296:function(e,t,n){"use strict";n.d(t,{Bt:function(){return r.Bt},D3:function(){return r.D3},F2:function(){return s.F2},Fb:function(){return s.Fb},P_:function(){return s.P_},V_:function(){return s.V_},XK:function(){return s.XK},Xu:function(){return s.Xu},_2:function(){return s._2},_R:function(){return s._R},bB:function(){return r.bB},bV:function(){return s.bV},eR:function(){return r.eR},fU:function(){return s.fU},g4:function(){return r.g4},gw:function(){return s.gw},l5:function(){return s.l5},l7:function(){return r.l7},vz:function(){return s.vz},xz:function(){return s.xz},yZ:function(){return s.yZ}});var s=n(569),r=n(7865)},569:function(e,t,n){"use strict";n.d(t,{F2:function(){return c},Fb:function(){return E},P_:function(){return v},V_:function(){return f},XK:function(){return k},Xu:function(){return h},_2:function(){return m},_R:function(){return _},bV:function(){return p},fU:function(){return u},gw:function(){return d},l5:function(){return o},sI:function(){return a},vz:function(){return y},xz:function(){return g},yZ:function(){return l}});var s=n(835),r=n(2819),i=n(1975);const a=(0,s.UY)({requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.YCI:return(0,r.assign)({},e,{fetchingStatsData:!0});case i.$ID:return(0,r.assign)({},e,{fetchingAkismetData:!0});case i.Fmj:return(0,r.assign)({},e,{checkingAkismetKey:!0});case i.CfX:return(0,r.assign)({},e,{fetchingVaultPressData:!0});case i.H5i:return(0,r.assign)({},e,{fetchingProtectData:!0});case i.BB$:return(0,r.assign)({},e,{fetchingPluginUpdates:!0});case i.$0n:case i.w_8:return(0,r.assign)({},e,{fetchingStatsData:!1});case i.asZ:case i.RRK:return(0,r.assign)({},e,{fetchingAkismetData:!1});case i.KDO:case i.BG7:return(0,r.assign)({},e,{checkingAkismetKey:!1});case i.yV3:case i.QGN:return(0,r.assign)({},e,{fetchingProtectData:!1});case i.Piu:case i.yEZ:return(0,r.assign)({},e,{fetchingPluginUpdates:!1});case i.x3k:case i.MiX:return(0,r.assign)({},e,{fetchingVaultPressData:!1,hasLoadedVaultPressData:!0});default:return e}},activeStatsTab:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"day",t=arguments.length>1?arguments[1]:void 0;return t.type===i.HOX?t.activeStatsTab:e},protectCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===i.QGN?t.protectCount:e},vaultPressData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.MiX:return t.vaultPressData;case i.CMU:return(0,r.assign)({},"N/A"===e?{}:e,{data:{active:!0,features:{security:!0},security:{notice_count:t.mockCount}}});default:return e}},statsData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.w_8?(0,r.assign)({},e,t.statsData):e},akismetData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===i.RRK?t.akismetData:e},akismet:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{validKey:null,invalidKeyCode:"",invalidKeyMessage:""},t=arguments.length>1?arguments[1]:void 0;return t.type===i.BG7?(0,r.assign)({},e,t.akismet):e},pluginUpdates:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===i.yEZ?t.pluginUpdates:e}});function o(e){return e.jetpack.dashboard.activeStatsTab}function c(e){return!!e.jetpack.dashboard.requests.fetchingStatsData}function l(e){return e.jetpack.dashboard.statsData}function p(e){return!!e.jetpack.dashboard.requests.fetchingAkismetData}function u(e){return e.jetpack.dashboard.akismetData}function d(e){return!!e.jetpack.dashboard.requests.checkingAkismetKey}function m(e){return(0,r.get)(e.jetpack.dashboard,["akismet","validKey"],!1)}function h(e){return!!e.jetpack.dashboard.requests.fetchingProtectData}function g(e){return e.jetpack.dashboard.protectCount}function f(e){return!!e.jetpack.dashboard.requests.hasLoadedVaultPressData}function v(e){return!!e.jetpack.dashboard.requests.fetchingVaultPressData}function k(e){return e.jetpack.dashboard.vaultPressData}function _(e){return(0,r.get)(e.jetpack.dashboard.vaultPressData,"data.security.notice_count",0)}function y(e){return!!e.jetpack.pluginsData.requests.isFetchingPluginsData}function E(e){return e.jetpack.pluginsData.items||{}}},5274:function(e,t,n){"use strict";n.d(t,{EP:function(){return u},HD:function(){return m},I7:function(){return o},SG:function(){return c},bL:function(){return d},eW:function(){return l},jb:function(){return p},qJ:function(){return g},xK:function(){return h}});var s=n(5736),r=n(1549),i=n(1975),a=n(4743);const __=s.__,o=()=>e=>a.ZP.fetchSiteConnectionStatus().then((t=>{e({type:i.maF,siteConnected:t})})),c=()=>e=>(e((0,r.iI)("is-info",__("Testing Jetpack Connection","jetpack"),{id:"test-jetpack-connection"})),a.ZP.fetchSiteConnectionTest().then((t=>{e({type:i._MD,connectionTest:t}),e((0,r.qq)("test-jetpack-connection")),e((0,r.iI)("success"===t.code?"is-success":"is-error",t.message,{id:"test-jetpack-connection"}))})).catch((t=>{e((0,r.qq)("test-jetpack-connection")),e((0,r.iI)("is-error",(0,s.sprintf)(
/* translators: placeholder is an error message. */
-__("There was an error testing Jetpack. Error: %s","jetpack"),t.message),{id:"test-jetpack-connection"}))}))),u=()=>e=>(e({type:s.q7}),o.ZP.fetchConnectUrl().then((t=>{e({type:s.hm,connectUrl:t})})).catch((t=>{e({type:s.Uy,error:t})}))),p=()=>e=>(e({type:s.lj}),o.ZP.fetchUserConnectionData().then((t=>{e({type:s.yb,userConnectionData:t})})).catch((t=>{e({type:s.o2,error:t})}))),d=()=>e=>(e({type:s.IW}),e((0,i.iI)("is-info",__("Unlinking from WordPress.com","jetpack"),{id:"unlink-user"})),o.ZP.unlinkUser().then((t=>{e({type:s.dD,userUnlinked:t}),e(u()),e((0,i.qq)("unlink-user")),e((0,i.iI)("is-success",__("Unlinked from WordPress.com.","jetpack"),{id:"unlink-user",duration:2e3}))})).catch((t=>{e({type:s.Mo,error:t}),e((0,i.qq)("unlink-user")),e((0,i.iI)("is-error",(0,r.sprintf)(
+__("There was an error testing Jetpack. Error: %s","jetpack"),t.message),{id:"test-jetpack-connection"}))}))),l=()=>e=>(e({type:i.q7G}),a.ZP.fetchConnectUrl().then((t=>{e({type:i.hmP,connectUrl:t})})).catch((t=>{e({type:i.UyH,error:t})}))),p=()=>e=>(e({type:i.lje}),a.ZP.fetchUserConnectionData().then((t=>{e({type:i.ybW,userConnectionData:t})})).catch((t=>{e({type:i.o2S,error:t})}))),u=()=>e=>(e({type:i.IWc}),e((0,r.iI)("is-info",__("Unlinking from WordPress.com","jetpack"),{id:"unlink-user"})),a.ZP.unlinkUser().then((t=>{e({type:i.dDV,userUnlinked:t}),e(l()),e((0,r.qq)("unlink-user")),e((0,r.iI)("is-success",__("Unlinked from WordPress.com.","jetpack"),{id:"unlink-user",duration:2e3}))})).catch((t=>{e({type:i.MoW,error:t}),e((0,r.qq)("unlink-user")),e((0,r.iI)("is-error",(0,s.sprintf)(
/* translators: placeholder is the error. */
-__("Error unlinking from WordPress.com. Error: %s","jetpack"),t),{id:"unlink-user"}))}))),h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t=>{t({type:s.ie,featureLabel:e})}},f=()=>e=>{e({type:s.AA})},m=()=>(e,t)=>(e({type:s.bG}),e((0,i.iI)("is-info",__("Reconnecting Jetpack","jetpack"),{id:"reconnect-jetpack"})),o.ZP.reconnect().then((n=>{const r=n.status,i=n.authorizeUrl;if("in_progress"===r){if((0,a.G6)(t())||(0,a.jq)(t()))return window.location.replace(i);e({type:s.hm,connectUrl:i}),e(h())}else window.location.reload()})).catch((t=>{e({type:s.B9,error:t}),e((0,i.qq)("reconnect-jetpack")),e((0,i.iI)("is-error",(0,r.sprintf)(
+__("Error unlinking from WordPress.com. Error: %s","jetpack"),t),{id:"unlink-user"}))}))),d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t=>{t({type:i.ien,featureLabel:e})}},m=()=>e=>{e({type:i.AAZ})},h=()=>e=>(e({type:i.bGw}),e((0,r.iI)("is-info",__("Reconnecting Jetpack","jetpack"),{id:"reconnect-jetpack"})),a.ZP.reconnect().then((t=>{const n=t.status,s=t.authorizeUrl;"in_progress"===n?(e({type:i.dDV}),e({type:i.hmP,connectUrl:s}),e(d())):window.location.reload()})).catch((t=>{e({type:i.B9W,error:t}),e((0,r.qq)("reconnect-jetpack")),e((0,r.iI)("is-error",(0,s.sprintf)(
/* translators: placeholder is the error. */
-__("There was an error reconnecting Jetpack. Error: %s","jetpack"),t.response.message||t.response.code),{id:"reconnect-jetpack"}))}))),g=()=>e=>(e({type:s.jt}),o.ZP.setHasSeenWCConnectionModal())},41147:function(e,t,n){"use strict";n.d(t,{AM:function(){return r.AM},tN:function(){return r.tN},xP:function(){return r.xP},Zp:function(){return r.Zp},rH:function(){return r.rH},LN:function(){return r.LN},Gz:function(){return r.Gz},Hu:function(){return r.Hu},it:function(){return r.it},zq:function(){return r.zq},QM:function(){return r.QM},BU:function(){return r.BU},e_:function(){return r.e_},Mq:function(){return r.Mq},Dd:function(){return r.Dd},l9:function(){return r.l9},Ex:function(){return r.Ex},O_:function(){return r.O_},q7:function(){return r.q7},j8:function(){return r.j8},cm:function(){return r.cm},t_:function(){return r.t_},IK:function(){return r.IK},jZ:function(){return r.jZ},bL:function(){return i.bL},eW:function(){return i.eW},I7:function(){return i.I7},SG:function(){return i.SG},jb:function(){return i.jb},xK:function(){return i.xK},HD:function(){return i.HD},qJ:function(){return i.qJ},EP:function(){return i.EP}});var r=n(6861),i=n(64769)},6861:function(e,t,n){"use strict";n.d(t,{I6:function(){return c},Zp:function(){return l},Gz:function(){return u},q7:function(){return p},j8:function(){return d},Hu:function(){return h},AM:function(){return f},tN:function(){return m},e_:function(){return g},Mq:function(){return v},jZ:function(){return b},zq:function(){return y},xP:function(){return k},Dd:function(){return w},BU:function(){return _},QM:function(){return E},it:function(){return C},Ex:function(){return S},cm:function(){return j},l9:function(){return M},t_:function(){return x},IK:function(){return N},LN:function(){return A},O_:function(){return O},rH:function(){return T}});var r=n(74978),i=n(92819),s=n(67592),o=n(93107);const a={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},c=(0,r.UY)({connectUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.R9:return(0,i.get)(t,"initialState.connectUrl",e);case s.hm:return t.connectUrl;default:return e}},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{siteConnected:window.Initial_State.connectionStatus},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.m:case s.BV:return(0,i.assign)({},e,{siteConnected:t.siteConnected});case s.dD:return(0,i.assign)({},e,{siteConnected:{...e.siteConnected,isUserConnected:!1}});case s.yb:return!0===t.userConnectionData?.currentUser?.isConnected?(0,i.assign)({},e,{siteConnected:{...e.siteConnected,hasConnectedOwner:!0}}):e;default:return e}},user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.userData,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.yb:return(0,i.assign)({},e,t.userConnectionData);case s.dD:const n=(0,i.assign)({},e.currentUser,{isConnected:!1});return(0,i.assign)({},e,{currentUser:n});case s.hF:return(0,i.merge)({},e,t.initialState);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.J1:return(0,i.assign)({},e,{disconnectingSite:!0});case s.IW:return(0,i.assign)({},e,{unlinkingUser:!0});case s.ie:return(0,i.assign)({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel});case s.AA:return(0,i.assign)({},e,{connectingUser:!1});case s.q7:return(0,i.assign)({},e,{fetchingConnectUrl:!0});case s.lj:return(0,i.assign)({},e,{fetchingUserData:!0});case s.bG:return(0,i.assign)({},e,{reconnectingSite:!0});case s.U7:case s.BV:return(0,i.assign)({},e,{disconnectingSite:!1});case s.Mo:case s.dD:return(0,i.assign)({},e,{unlinkingUser:!1});case s.Uy:case s.hm:return(0,i.assign)({},e,{fetchingConnectUrl:!1});case s.o2:case s.yb:return(0,i.assign)({},e,{fetchingUserData:!1});case s.B9:case s.sO:return(0,i.assign)({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.hasSeenWCConnectionModal||!1,t=arguments.length>1?arguments[1]:void 0;return t.type===s.jt||e}});function l(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&e.jetpack.connection.status.siteConnected}function u(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&(e.jetpack.connection.status.siteConnected.offlineMode.isActive?"offline":e.jetpack.connection.status.siteConnected.isActive)}function p(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&!0!==e.jetpack.connection.status.siteConnected.offlineMode.isActive&&e.jetpack.connection.status.siteConnected.isActive}function d(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&!0!==e.jetpack.connection.status.siteConnected.offlineMode.isActive&&e.jetpack.connection.status.siteConnected.isRegistered}function h(e){return!!(0,i.get)(e.jetpack.connection.status,["siteConnected","offlineMode","isActive"])&&(0,i.get)(e.jetpack.connection.status,["siteConnected","offlineMode"])}function f(e){return e.jetpack.connection.connectUrl}function m(e){return e.jetpack.connection.user.currentUser.wpcomUser}function g(e){return!!e.jetpack.connection.requests.disconnectingSite}function v(e){return!!e.jetpack.connection.requests.fetchingConnectUrl}function b(e){return!!e.jetpack.connection.requests.unlinkingUser}function y(e){return!!e.jetpack.connection.requests.connectingUser}function k(e){return e.jetpack.connection.requests.hasOwnProperty("connectingUserFeatureLabel")?e.jetpack.connection.requests.connectingUserFeatureLabel:null}function w(e){return!!e.jetpack.connection.requests.fetchingUserData}function _(e){return!!e.jetpack.connection.user.currentUser.isConnected}function E(e){return!!e.jetpack.connection.user.currentUser.isMaster}function C(e){return(0,i.get)(e.jetpack.connection.status,["siteConnected","hasConnectedOwner"],!1)}function S(e){return"offline"===u(e)}function j(e){return(0,i.get)(e.jetpack.connection.status,["siteConnected","isStaging"],!1)}function M(e){return(0,i.get)(e.jetpack.connection.status,["siteConnected","isInIdentityCrisis"],!1)}function x(e,t){return S(e)&&function(e,t){return(0,i.includes)((0,o.HS)(e).concat(["backups","scan"]),t)}(e,t)}function N(e,t){return!C(e)&&function(e,t){return(0,i.includes)((0,o.he)(e),t)}(e,t)}function A(e){return(0,i.get)(e.jetpack.connection.status,["siteConnected","sandboxDomain"],"")}function O(e){return!!e.jetpack.connection.requests.reconnectingSite}function T(e){return!!e.jetpack.connection.hasSeenWCConnectionModal}},43853:function(e,t,n){"use strict";n.d(t,{_G:function(){return a},vN:function(){return c},Wh:function(){return l},fb:function(){return u},Yw:function(){return y},aX:function(){return k},_s:function(){return w},pH:function(){return _}});var r=n(65736),i=n(21094),s=n(67592),o=n(19570);const __=r.__,a=e=>t=>(t({type:s.sQ}),t((0,i.iI)("is-info",__("Resetting Jetpack options…","jetpack"),{id:"reset-options"})),o.ZP.resetOptions(e).then((()=>{t({type:s.c0}),t((0,i.qq)("reset-options")),t((0,i.iI)("is-success",__("Options reset.","jetpack"),{id:"reset-options",duration:2e3}))})).catch((e=>{t({type:s.Kt,error:e}),t((0,i.qq)("reset-options")),t((0,i.iI)("is-error",__("Options failed to reset.","jetpack"),{id:"reset-options"}))}))),c=()=>e=>{e({type:s.Yo})},l=()=>e=>{e({type:s.mL})},u=e=>t=>{t({type:s.fH,siteData:{plan:{product_slug:e}}})},p={currentUser:{isMaster:!0,isConnected:!0,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},d={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},h={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!0,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},f={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!1,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},m={currentUser:{permissions:{view_stats:!0}}},g={currentUser:{permissions:{view_stats:!1}}},v={currentUser:{isConnected:!0}},b={currentUser:{isConnected:!1,isMaster:!1}},y=e=>{let t={};return n=>{switch(e){case"admin_master":t=p;break;case"admin_secondary":t=d;break;case"editor":case"contributor":case"author":t=h;break;case"subscriber":t=f;break;case"view_stats":t=m;break;case"hide_stats":t=g;break;case"is_linked":t=v;break;case"is_unlinked":t=b}n({type:s.hF,initialState:t})}},k=e=>t=>{t({type:s.CM,mockCount:e})},w=e=>t=>{t({type:s.Yk,rewindState:{state:e}})},_=e=>t=>{t({type:s.M0,scanState:{state:e}})}},28843:function(e,t,n){"use strict";n.d(t,{Ry:function(){return r.Ry},Wh:function(){return i.Wh},vN:function(){return i.vN},_G:function(){return i._G},fb:function(){return i.fb},_s:function(){return i._s},pH:function(){return i.pH},aX:function(){return i.aX},Yw:function(){return i.Yw}});var r=n(71565),i=n(43853)},71565:function(e,t,n){"use strict";n.d(t,{I6:function(){return s},Ry:function(){return o}});var r=n(74978),i=n(67592);const s=(0,r.UY)({display:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Yo:return!0;case i.mL:return!1;default:return e}}});function o(e){return!!e.jetpack.devCard.display}},83097:function(e,t,n){"use strict";n.d(t,{I6:function(){return o}});var r=n(74978),i=n(92819),s=n(67592);const o=(0,r.UY)({disconnectSurvey:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{submitting:!1,submitted:!1,error:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.me:return(0,i.assign)({},e,{submitting:!0});case s.Vd:return(0,i.assign)({},e,{submitting:!1,submitted:!0,error:null});case s.tl:return(0,i.assign)({},e,{submitting:!1,submitted:!1,error:t.error});default:return e}}})},27572:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(67592);const i=()=>e=>{e({type:r.R9,initialState:window.Initial_State})}},66552:function(e,t,n){"use strict";n.d(t,{Hy:function(){return r.Hy},Cv:function(){return r.Cv},jq:function(){return r.jq},je:function(){return r.je},VY:function(){return r.VY},yB:function(){return r.yB},PK:function(){return r.PK},de:function(){return r.de},w1:function(){return r.w1},mh:function(){return r.mh},rd:function(){return r.rd},xz:function(){return r.xz},Hh:function(){return r.Hh},Uu:function(){return r.Uu},Z2:function(){return r.Z2},DV:function(){return r.DV},wB:function(){return r.wB},by:function(){return r.by},as:function(){return r.as},H$:function(){return r.H$},wW:function(){return r.wW},ze:function(){return r.ze},EZ:function(){return r.EZ},JR:function(){return r.JR},Td:function(){return r.Td},aW:function(){return r.aW},hv:function(){return r.hv},Qq:function(){return r.Qq},KF:function(){return r.KF},_G:function(){return r._G},IU:function(){return r.IU},Ms:function(){return r.Ms},vL:function(){return r.vL},Ug:function(){return r.Ug},_W:function(){return r._W},TA:function(){return r.TA},G6:function(){return r.G6},$r:function(){return r.$r},pI:function(){return r.pI},Pw:function(){return r.Pw},nP:function(){return r.nP},xR:function(){return r.xR},Yg:function(){return r.Yg},mb:function(){return r.mb},n0:function(){return r.n0},Mc:function(){return r.Mc},WB:function(){return r.WB},rp:function(){return r.rp},pK:function(){return r.pK},UF:function(){return r.UF},ic:function(){return r.ic},D6:function(){return r.D6},px:function(){return r.px},dc:function(){return r.dc},KY:function(){return i.K}});var r=n(67643),i=n(27572)},67643:function(e,t,n){"use strict";n.d(t,{E3:function(){return l},_W:function(){return u},w1:function(){return p},Td:function(){return d},Uu:function(){return h},xz:function(){return f},Hh:function(){return m},je:function(){return g},JR:function(){return v},wW:function(){return b},aW:function(){return y},$r:function(){return k},dc:function(){return w},D6:function(){return _},pK:function(){return E},UF:function(){return C},rp:function(){return S},ic:function(){return j},WB:function(){return M},Mc:function(){return x},n0:function(){return N},IU:function(){return A},_G:function(){return O},KF:function(){return T},Ms:function(){return P},px:function(){return R},EZ:function(){return U},ze:function(){return Z},pI:function(){return D},VY:function(){return L},yB:function(){return z},H$:function(){return B},wB:function(){return F},as:function(){return V},hv:function(){return H},de:function(){return W},Z2:function(){return $},Hy:function(){return J},Ug:function(){return K},Pw:function(){return G},vL:function(){return Y},Cv:function(){return X},xR:function(){return Q},mb:function(){return ee},Yg:function(){return te},TA:function(){return ne},mh:function(){return re},DV:function(){return oe},Qq:function(){return ae},by:function(){return ce},rd:function(){return le},PK:function(){return ue},G6:function(){return pe},jq:function(){return de},nP:function(){return he}});var r=n(92819),i=n(71415),s=n(67592),o=n(89238),a=n(13553),c=n(41147);const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.R9:return(0,r.assign)({},e,t.initialState);case s.hF:return(0,r.merge)({},e,{userData:t.initialState});default:return e}};function u(e){return!!e.jetpack.initialState.isDevVersion}function p(e){return(0,r.get)(e.jetpack.initialState,"currentVersion","")}function d(e){return(0,r.get)(e.jetpack.initialState.stats,"roles",{})}function h(e){return(0,r.get)(e.jetpack.initialState.stats,"data")}function f(e){return(0,r.get)(e.jetpack.initialState,"connectedPlugins",{})}function m(e){return(0,r.get)(e.jetpack.initialState,"jetpackBenefits",[])}function g(e){return(0,r.get)(e.jetpack.initialState,["userData","currentUser","wpcomUser","email"])}function v(e){return(0,r.get)(e.jetpack.initialState,"rawUrl",{})}function b(e){return(0,r.get)(e.jetpack.initialState,"adminUrl",{})}function y(e){return(0,r.get)(e.jetpack.initialState,"siteTitle","")}function k(e){return(0,r.get)(e.jetpack.initialState,["connectionStatus","isPublic"])}function w(e){return!(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function _(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"publish_posts",!1)}function E(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_modules",!1)}function C(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_options",!1)}function S(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function j(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_plugins",!1)}function M(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"disconnect",!1)}function x(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"connect",!1)}function N(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"connect_user",!1)}function A(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser,["wpcomUser","login"],"")}function O(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser,["wpcomUser","ID"],"")}function T(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser,["gravatar"])}function P(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser,["username"])}function I(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser,"id","")}function R(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"view_stats",!1)}function U(e){return(0,r.get)(e.jetpack.initialState.siteData,["blog_id"])}function Z(e){return(0,r.get)(e.jetpack.initialState.siteData,["icon"])}function D(e){return(0,r.get)(e.jetpack.initialState.siteData,["siteVisibleToSearchEngines"],!0)}function L(e){return(0,r.get)(e.jetpack.initialState,"WP_API_nonce")}function z(e){return(0,r.get)(e.jetpack.initialState,"WP_API_root")}function B(e){return(0,r.get)(e.jetpack.initialState,"registrationNonce")}function F(e){return(0,r.get)(e.jetpack.initialState,"pluginBaseUrl")}function V(e){return(0,r.get)(e.jetpack.initialState,"purchaseToken")}function q(e){return(0,r.get)(e.jetpack.initialState,"calypsoEnv")}function H(e){return(0,r.get)(e.jetpack.initialState,"tracksUserData")}function W(e){return(0,r.get)(e.jetpack.initialState,"currentIp")}function $(e){return(0,r.get)(e.jetpack.initialState,"lastPostUrl")}function J(e){return(0,r.get)(e.jetpack.initialState.siteData,"showPromotions",!0)}function K(e){return(0,r.get)(e.jetpack.initialState.siteData,"isAtomicSite",!1)}function G(e){return(0,r.get)(e.jetpack.initialState.siteData,"isWoASite",!1)}function Y(e){return(0,r.get)(e.jetpack.initialState.siteData,"isAtomicPlatform",!1)}function X(e,t){return(0,r.get)(e.jetpack.initialState.themeData,["support",t],!1)}function Q(e){return(0,r.get)(e.jetpack.initialState.siteData,"showBackups",!0)}function ee(e){return(0,r.get)(e.jetpack.initialState.siteData,"showRecommendations",!1)}function te(e){return(0,r.get)(e.jetpack.initialState.licensing,"showLicensingUi",!1)}function ne(e){return(0,r.get)(e.jetpack.initialState.siteData,"isMultisite",!1)}function re(e){return(0,r.get)(e.jetpack.initialState.siteData,"dateFormat",!1)}function ie(e){return(0,r.get)(e.jetpack.initialState,"aff","")}function se(e){return(0,r.get)(e.jetpack.initialState,"partnerSubsidiaryId","")}function oe(e){return(0,r.get)(e.jetpack.initialState,"partnerCoupon")}const ae=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const s=ie(e),a=se(e),l=n||I(e),u=V(e),p=q(e);r&&"monthly"===(0,o.b)(e)&&(t+="-monthly");const d={site:v(e)};return s&&(d.aff=s),l&&(d.u=l),a&&(d.subsidiaryId=a),d.query="",(0,c.BU)(e)||(d.query+="unlinked=1&"),u&&(d.query+=`purchasetoken=${u}`),p&&(d.calypso_env=p),(0,i.Z)(t,d)};function ce(e){const t=(0,r.get)(e.jetpack.initialState,"products",{}),n=(0,a.Xp)(e),s={};for(const[e,o]of Object.entries(t))s[e]={title:o.title,slug:o.slug,key:e,description:o.description,features:o.features,available:(0,r.get)(n,[o.slug,"available"],!1),currencyCode:(0,r.get)(n,[o.slug,"currency_code"],""),showPromotion:o.show_promotion,promotionPercentage:o.discount_percent,includedInPlans:o.included_in_plans,fullPrice:(0,r.get)(n,[o.slug,"cost"],""),upgradeUrl:(0,i.Z)("jetpack-product-description-checkout",{path:o.slug})};return s}function le(e){return(0,r.get)(e.jetpack.initialState,"recommendationsStep","")}function ue(e){return(0,r.get)(e.jetpack.initialState,["connectionStatus","errors"],[]).filter((e=>e.hasOwnProperty("action")))}function pe(e){return!!e.jetpack.initialState.isSafari}function de(e){return!!e.jetpack.initialState.doNotUseConnectionIframe}function he(e){return!!e.jetpack.initialState.isWooCommerceActive}},35429:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(67592);n(19570);const i=e=>t=>{t({type:r.tU,notice:e})}},39370:function(e,t,n){"use strict";n.d(t,{gq:function(){return r.gq},gB:function(){return r.gB},XF:function(){return r.XF},pt:function(){return r.pt},Rv:function(){return r.Rv},jE:function(){return r.jE},Sn:function(){return i.S}});var r=n(93036),i=n(35429)},93036:function(e,t,n){"use strict";n.d(t,{I6:function(){return o},gq:function(){return a},gB:function(){return c},pt:function(){return l},Rv:function(){return u},XF:function(){return p},jE:function(){return d}});var r=n(74978),i=n(92819),s=n(67592);const o=(0,r.UY)({notice:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===s.BV?"disconnected":e},dismissed:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.dismissedNotices,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.tU:return(0,i.assign)({},e,{[t.notice]:!0});case s.Ez:return(0,i.assign)({},e,t.dismissedNotices);case s.c0:return!1;default:return e}}});function a(e){return e.jetpack.jetpackNotices.notice}function c(e){return(0,i.get)(e.jetpack.initialState,["jetpackStateNotices","errorCode"])}function l(e){return(0,i.get)(e.jetpack.initialState,["jetpackStateNotices","messageCode"])}function u(e){return(0,i.get)(e.jetpack.initialState,["jetpackStateNotices","messageContent"])}function p(e){return(0,i.get)(e.jetpack.initialState,["jetpackStateNotices","errorDescription"])}function d(e,t){return(0,i.get)(e.jetpack.jetpackNotices.dismissed,[t],!1)}},28178:function(e,t,n){"use strict";n.d(t,{xw:function(){return s},Ng:function(){return o},bT:function(){return a}});var r=n(67592),i=n(19570);const s=()=>e=>(e({type:r.U$,error:""}),i.ZP.updateLicensingError({error:""})),o=()=>e=>i.ZP.getUserLicensesCounts().then((t=>{e({type:r.R5,counts:t})})).catch((t=>{e({type:r.U$,error:t})})),a=()=>(e,t)=>{const n=t().jetpack.licensing.userCounts?.detached;return i.ZP.updateLicensingActivationNoticeDismiss(n).then((t=>{e({type:r.lO,dismissData:t})})).catch((t=>{e({type:r.U$,error:t})}))}},77219:function(e,t,n){"use strict";n.d(t,{SP:function(){return r.SP},O4:function(){return r.O4},Tk:function(){return r.Tk},xw:function(){return i.xw},bT:function(){return i.bT},Ng:function(){return i.Ng}});var r=n(88584),i=n(28178)},88584:function(e,t,n){"use strict";n.d(t,{I6:function(){return o},Tk:function(){return a},O4:function(){return c},SP:function(){return l}});var r=n(92819),i=n(74978),s=n(67592);const o=(0,i.UY)({error:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.licensing.error,t=arguments.length>1?arguments[1]:void 0;return t.type===s.U$?t.error:e},userCounts:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window.Initial_State.licensing.userCounts)&&void 0!==e?e:{},n=arguments.length>1?arguments[1]:void 0;return n.type===s.R5?(0,r.assign)({},t,n.counts):t},activationNoticeDismiss:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window.Initial_State.licensing.activationNoticeDismiss)&&void 0!==e?e:{last_detached_count:null,last_dismissed_time:null},n=arguments.length>1?arguments[1]:void 0;return n.type===s.lO?(0,r.assign)({},t,n.dismissData):t}});function a(e){return(0,r.get)(e.jetpack.licensing,["error"],"")}function c(e){return(0,r.get)(e.jetpack.licensing.userCounts,["detached"],0)}function l(e){return(0,r.get)(e.jetpack.licensing,["activationNoticeDismiss"],{})}},27279:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var r=n(65736),i=n(19570),s=n(67592),o=n(21094);const __=r.__,a=()=>e=>(e({type:s.oQ}),e((0,o.qq)("mobile-login-email-send")),e((0,o.qq)("mobile-login-email-sent")),e((0,o.qq)("mobile-login-email-error")),e((0,o.iI)("is-info",__("Sending login email…","jetpack"),{id:"mobile-login-email-send"})),i.ZP.sendMobileLoginEmail().then((t=>(e((0,o.qq)("mobile-login-email-send")),e({type:s.UI}),e((0,o.iI)("is-success",__("Login email sent","jetpack"),{id:"mobile-login-email-sent",duration:2e3})),t))).catch((t=>{e({type:s.Uq,error:t.response}),e((0,o.qq)("mobile-login-email-send")),e((0,o.iI)("is-error",__("Failed to send login email","jetpack"),{id:"mobile-login-email-error"}))})))},36900:function(e,t,n){"use strict";n.d(t,{I6:function(){return o}});var r=n(74978),i=n(92819),s=n(67592);const o=(0,r.UY)({mobile:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sendingLoginEmail:!1,loginEmailSent:!1,error:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.oQ:return(0,i.assign)({},e,{sendingLoginEmail:!0});case s.UI:return(0,i.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!0,error:null});case s.Uq:return(0,i.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!1,error:t.error});default:return e}}})},7954:function(e,t,n){"use strict";n.d(t,{Z$:function(){return l},d:function(){return u},DK:function(){return p},Uq:function(){return d}});var r=n(92819),i=n(65736),s=n(21094),o=n(67592),a=n(91172),c=n(19570);const __=i.__,l=()=>e=>(e({type:o.jE}),c.ZP.fetchModules().then((t=>(e({type:o.I3,modules:t}),t))).catch((t=>{e({type:o.kF,error:t})}))),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(n,r)=>(n({type:o.sG,module:e}),n((0,s.qq)("module-toggle")),n((0,s.iI)("is-info",(0,i.sprintf)(
+__("There was an error reconnecting Jetpack. Error: %s","jetpack"),t.response.message||t.response.code),{id:"reconnect-jetpack"}))}))),g=()=>e=>(e({type:i.jtr}),a.ZP.setHasSeenWCConnectionModal())},6300:function(e,t,n){"use strict";n.d(t,{AM:function(){return s.AM},BU:function(){return s.BU},Dd:function(){return s.Dd},EP:function(){return r.EP},Ex:function(){return s.Ex},Gz:function(){return s.Gz},HD:function(){return r.HD},Hu:function(){return s.Hu},I7:function(){return r.I7},IK:function(){return s.IK},LN:function(){return s.LN},Mq:function(){return s.Mq},O_:function(){return s.O_},QM:function(){return s.QM},SG:function(){return r.SG},Zp:function(){return s.Zp},bL:function(){return r.bL},cm:function(){return s.cm},eW:function(){return r.eW},e_:function(){return s.e_},it:function(){return s.it},j8:function(){return s.j8},jZ:function(){return s.jZ},jb:function(){return r.jb},l9:function(){return s.l9},q7:function(){return s.q7},qJ:function(){return r.qJ},rH:function(){return s.rH},tN:function(){return s.tN},t_:function(){return s.t_},xK:function(){return r.xK},xP:function(){return s.xP},zq:function(){return s.zq}});var s=n(3480),r=n(5274)},3480:function(e,t,n){"use strict";n.d(t,{AM:function(){return h},BU:function(){return w},Dd:function(){return E},Ex:function(){return j},Gz:function(){return p},Hu:function(){return m},I6:function(){return c},IK:function(){return T},LN:function(){return O},Mq:function(){return v},O_:function(){return P},QM:function(){return b},Zp:function(){return l},cm:function(){return S},e_:function(){return f},it:function(){return C},j8:function(){return d},jZ:function(){return k},l9:function(){return N},q7:function(){return u},rH:function(){return M},tN:function(){return g},t_:function(){return x},xP:function(){return y},zq:function(){return _}});var s=n(835),r=n(2819),i=n(1975),a=n(416);const o={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},c=(0,s.UY)({connectUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R99:return(0,r.get)(t,"initialState.connectUrl",e);case i.hmP:return t.connectUrl;default:return e}},status:function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{siteConnected:window.Initial_State.connectionStatus},s=arguments.length>1?arguments[1]:void 0;switch(s.type){case i.maF:case i.BVO:return(0,r.assign)({},n,{siteConnected:s.siteConnected});case i.dDV:return(0,r.assign)({},n,{siteConnected:{...n.siteConnected,isUserConnected:!1}});case i.ybW:return!0===(null===(e=s.userConnectionData)||void 0===e||null===(t=e.currentUser)||void 0===t?void 0:t.isConnected)?(0,r.assign)({},n,{siteConnected:{...n.siteConnected,hasConnectedOwner:!0}}):n;default:return n}},user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.userData||{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.ybW:return(0,r.assign)({},e,t.userConnectionData);case i.dDV:const n=(0,r.assign)({},e.currentUser,{isConnected:!1});return(0,r.assign)({},e,{currentUser:n});case i.hF6:return(0,r.merge)({},e,t.initialState);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.J1y:return(0,r.assign)({},e,{disconnectingSite:!0});case i.IWc:return(0,r.assign)({},e,{unlinkingUser:!0});case i.ien:return(0,r.assign)({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel});case i.AAZ:return(0,r.assign)({},e,{connectingUser:!1});case i.q7G:return(0,r.assign)({},e,{fetchingConnectUrl:!0});case i.lje:return(0,r.assign)({},e,{fetchingUserData:!0});case i.bGw:return(0,r.assign)({},e,{reconnectingSite:!0});case i.U7H:case i.BVO:return(0,r.assign)({},e,{disconnectingSite:!1});case i.MoW:case i.dDV:return(0,r.assign)({},e,{unlinkingUser:!1});case i.UyH:case i.hmP:return(0,r.assign)({},e,{fetchingConnectUrl:!1});case i.o2S:case i.ybW:return(0,r.assign)({},e,{fetchingUserData:!1});case i.B9W:case i.sO1:return(0,r.assign)({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.hasSeenWCConnectionModal||!1,t=arguments.length>1?arguments[1]:void 0;return t.type===i.jtr||e}});function l(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&e.jetpack.connection.status.siteConnected}function p(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&(e.jetpack.connection.status.siteConnected.offlineMode.isActive?"offline":e.jetpack.connection.status.siteConnected.isActive)}function u(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&!0!==e.jetpack.connection.status.siteConnected.offlineMode.isActive&&e.jetpack.connection.status.siteConnected.isActive}function d(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&!0!==e.jetpack.connection.status.siteConnected.offlineMode.isActive&&e.jetpack.connection.status.siteConnected.isRegistered}function m(e){return!!(0,r.get)(e.jetpack.connection.status,["siteConnected","offlineMode","isActive"])&&(0,r.get)(e.jetpack.connection.status,["siteConnected","offlineMode"])}function h(e){return e.jetpack.connection.connectUrl}function g(e){var t;return null===(t=e.jetpack.connection.user.currentUser)||void 0===t?void 0:t.wpcomUser}function f(e){return!!e.jetpack.connection.requests.disconnectingSite}function v(e){return!!e.jetpack.connection.requests.fetchingConnectUrl}function k(e){return!!e.jetpack.connection.requests.unlinkingUser}function _(e){return!!e.jetpack.connection.requests.connectingUser}function y(e){return e.jetpack.connection.requests.hasOwnProperty("connectingUserFeatureLabel")?e.jetpack.connection.requests.connectingUserFeatureLabel:null}function E(e){return!!e.jetpack.connection.requests.fetchingUserData}function w(e){return!!e.jetpack.connection.user.currentUser.isConnected}function b(e){return!!e.jetpack.connection.user.currentUser.isMaster}function C(e){return(0,r.get)(e.jetpack.connection.status,["siteConnected","hasConnectedOwner"],!1)}function j(e){return"offline"===p(e)}function S(e){return(0,r.get)(e.jetpack.connection.status,["siteConnected","isStaging"],!1)}function N(e){return(0,r.get)(e.jetpack.connection.status,["siteConnected","isInIdentityCrisis"],!1)}function x(e,t){return j(e)&&function(e,t){return(0,r.includes)((0,a.HS)(e).concat(["backups","scan"]),t)}(e,t)}function T(e,t){return!C(e)&&function(e,t){return(0,r.includes)((0,a.he)(e),t)}(e,t)}function O(e){return(0,r.get)(e.jetpack.connection.status,["siteConnected","sandboxDomain"],"")}function P(e){return!!e.jetpack.connection.requests.reconnectingSite}function M(e){return!!e.jetpack.connection.hasSeenWCConnectionModal}},5711:function(e,t,n){"use strict";n.d(t,{Wh:function(){return l},Yw:function(){return _},_G:function(){return o},_s:function(){return E},aX:function(){return y},fb:function(){return p},pH:function(){return w},vN:function(){return c}});var s=n(5736),r=n(1549),i=n(1975),a=n(4743);const __=s.__,o=e=>t=>(t({type:i.sQG}),t((0,r.iI)("is-info",__("Resetting Jetpack options…","jetpack"),{id:"reset-options"})),a.ZP.resetOptions(e).then((()=>{t({type:i.c0d}),t((0,r.qq)("reset-options")),t((0,r.iI)("is-success",__("Options reset.","jetpack"),{id:"reset-options",duration:2e3}))})).catch((e=>{t({type:i.Kth,error:e}),t((0,r.qq)("reset-options")),t((0,r.iI)("is-error",__("Options failed to reset.","jetpack"),{id:"reset-options"}))}))),c=()=>e=>{e({type:i.YoP})},l=()=>e=>{e({type:i.mLi})},p=e=>t=>{t({type:i.fHq,siteData:{plan:{product_slug:e}}})},u={currentUser:{isMaster:!0,isConnected:!0,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},d={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},m={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!0,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},h={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!1,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},g={currentUser:{permissions:{view_stats:!0}}},f={currentUser:{permissions:{view_stats:!1}}},v={currentUser:{isConnected:!0}},k={currentUser:{isConnected:!1,isMaster:!1}},_=e=>{let t={};return n=>{switch(e){case"admin_master":t=u;break;case"admin_secondary":t=d;break;case"editor":case"contributor":case"author":t=m;break;case"subscriber":t=h;break;case"view_stats":t=g;break;case"hide_stats":t=f;break;case"is_linked":t=v;break;case"is_unlinked":t=k}n({type:i.hF6,initialState:t})}},y=e=>t=>{t({type:i.CMU,mockCount:e})},E=e=>t=>{t({type:i.Yk$,rewindState:{state:e}})},w=e=>t=>{t({type:i.M0I,scanState:{state:e}})}},625:function(e,t,n){"use strict";n.d(t,{Ry:function(){return s.Ry},Wh:function(){return r.Wh},Yw:function(){return r.Yw},_G:function(){return r._G},_s:function(){return r._s},aX:function(){return r.aX},fb:function(){return r.fb},pH:function(){return r.pH},vN:function(){return r.vN}});var s=n(9112),r=n(5711)},9112:function(e,t,n){"use strict";n.d(t,{I6:function(){return i},Ry:function(){return a}});var s=n(835),r=n(1975);const i=(0,s.UY)({display:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.YoP:return!0;case r.mLi:return!1;default:return e}}});function a(e){return!!e.jetpack.devCard.display}},8183:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var s=n(835),r=n(2819),i=n(1975);const a=(0,s.UY)({disconnectSurvey:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{submitting:!1,submitted:!1,error:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.meS:return(0,r.assign)({},e,{submitting:!0});case i.VdL:return(0,r.assign)({},e,{submitting:!1,submitted:!0,error:null});case i.tlb:return(0,r.assign)({},e,{submitting:!1,submitted:!1,error:t.error});default:return e}}})},6419:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});var s=n(1975);const r=()=>e=>{e({type:s.R99,initialState:window.Initial_State})}},9508:function(e,t,n){"use strict";n.d(t,{$r:function(){return s.$r},Cv:function(){return s.Cv},D6:function(){return s.D6},DV:function(){return s.DV},EZ:function(){return s.EZ},G6:function(){return s.G6},GC:function(){return s.GC},H$:function(){return s.H$},Hy:function(){return s.Hy},IU:function(){return s.IU},JR:function(){return s.JR},KF:function(){return s.KF},KY:function(){return r.K},Mc:function(){return s.Mc},Ms:function(){return s.Ms},PK:function(){return s.PK},Pw:function(){return s.Pw},Q6:function(){return s.Q6},QP:function(){return s.QP},Qq:function(){return s.Qq},TA:function(){return s.TA},Td:function(){return s.Td},UF:function(){return s.UF},Ug:function(){return s.Ug},Uu:function(){return s.Uu},VY:function(){return s.VY},WB:function(){return s.WB},YJ:function(){return s.YJ},Yg:function(){return s.Yg},Z2:function(){return s.Z2},_G:function(){return s._G},_W:function(){return s._W},aW:function(){return s.aW},as:function(){return s.as},by:function(){return s.by},dc:function(){return s.dc},de:function(){return s.de},hv:function(){return s.hv},ic:function(){return s.ic},je:function(){return s.je},jq:function(){return s.jq},mb:function(){return s.mb},mh:function(){return s.mh},n0:function(){return s.n0},nP:function(){return s.nP},pI:function(){return s.pI},pK:function(){return s.pK},px:function(){return s.px},rd:function(){return s.rd},rp:function(){return s.rp},vL:function(){return s.vL},w1:function(){return s.w1},wB:function(){return s.wB},wW:function(){return s.wW},xR:function(){return s.xR},xz:function(){return s.xz},yB:function(){return s.yB},ze:function(){return s.ze}});var s=n(4761),r=n(6419)},4761:function(e,t,n){"use strict";n.d(t,{$r:function(){return _},Cv:function(){return Y},D6:function(){return E},DV:function(){return ce},E3:function(){return l},EZ:function(){return U},G6:function(){return he},GC:function(){return ee},H$:function(){return D},Hy:function(){return J},IU:function(){return T},JR:function(){return f},KF:function(){return P},Mc:function(){return N},Ms:function(){return M},PK:function(){return me},Pw:function(){return K},Q6:function(){return pe},QP:function(){return ne},Qq:function(){return le},TA:function(){return re},Td:function(){return d},UF:function(){return b},Ug:function(){return W},Uu:function(){return m},VY:function(){return z},WB:function(){return S},YJ:function(){return te},Yg:function(){return se},Z2:function(){return $},_G:function(){return O},_W:function(){return p},aW:function(){return k},as:function(){return V},by:function(){return ue},dc:function(){return y},de:function(){return q},hv:function(){return H},ic:function(){return j},je:function(){return g},jq:function(){return ge},mb:function(){return Q},mh:function(){return ie},n0:function(){return x},nP:function(){return fe},pI:function(){return L},pK:function(){return w},px:function(){return Z},rd:function(){return de},rp:function(){return C},vL:function(){return G},w1:function(){return u},wB:function(){return F},wW:function(){return v},xR:function(){return X},xz:function(){return h},yB:function(){return I},ze:function(){return R}});var s=n(2819),r=n(6324),i=n(1975),a=n(5207),o=n(4884),c=n(6300);const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R99:return(0,s.assign)({},e,t.initialState);case i.hF6:return(0,s.merge)({},e,{userData:t.initialState});default:return e}};function p(e){return!!e.jetpack.initialState.isDevVersion}function u(e){return(0,s.get)(e.jetpack.initialState,"currentVersion","")}function d(e){return(0,s.get)(e.jetpack.initialState.stats,"roles",{})}function m(e){return(0,s.get)(e.jetpack.initialState.stats,"data")}function h(e){return(0,s.get)(e.jetpack.initialState,"connectedPlugins",{})}function g(e){return(0,s.get)(e.jetpack.initialState,["userData","currentUser","wpcomUser","email"])}function f(e){return(0,s.get)(e.jetpack.initialState,"rawUrl",{})}function v(e){return(0,s.get)(e.jetpack.initialState,"adminUrl",{})}function k(e){return(0,s.get)(e.jetpack.initialState,"siteTitle","")}function _(e){return(0,s.get)(e.jetpack.initialState,["connectionStatus","isPublic"])}function y(e){return!(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function E(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"publish_posts",!1)}function w(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_modules",!1)}function b(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_options",!1)}function C(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function j(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_plugins",!1)}function S(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"disconnect",!1)}function N(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"connect",!1)}function x(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"connect_user",!1)}function T(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser,["wpcomUser","login"],"")}function O(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser,["wpcomUser","ID"],"")}function P(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser,["gravatar"])}function M(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser,["username"])}function A(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser,"id","")}function Z(e){return(0,s.get)(e.jetpack.initialState.userData.currentUser.permissions,"view_stats",!1)}function U(e){return(0,s.get)(e.jetpack.initialState.siteData,["blog_id"])}function R(e){return(0,s.get)(e.jetpack.initialState.siteData,["icon"])}function L(e){return(0,s.get)(e.jetpack.initialState.siteData,["siteVisibleToSearchEngines"],!0)}function z(e){return(0,s.get)(e.jetpack.initialState,"WP_API_nonce")}function I(e){return(0,s.get)(e.jetpack.initialState,"WP_API_root")}function D(e){return(0,s.get)(e.jetpack.initialState,"registrationNonce")}function F(e){return(0,s.get)(e.jetpack.initialState,"pluginBaseUrl")}function V(e){return(0,s.get)(e.jetpack.initialState,"purchaseToken")}function B(e){return(0,s.get)(e.jetpack.initialState,"calypsoEnv")}function H(e){return(0,s.get)(e.jetpack.initialState,"tracksUserData")}function q(e){return(0,s.get)(e.jetpack.initialState,"currentIp")}function $(e){return(0,s.get)(e.jetpack.initialState,"lastPostUrl")}function J(e){return(0,s.get)(e.jetpack.initialState.siteData,"showPromotions",!0)}function W(e){return(0,s.get)(e.jetpack.initialState.siteData,"isAtomicSite",!1)}function K(e){return(0,s.get)(e.jetpack.initialState.siteData,"isWoASite",!1)}function G(e){return(0,s.get)(e.jetpack.initialState.siteData,"isAtomicPlatform",!1)}function Y(e,t){return(0,s.get)(e.jetpack.initialState.themeData,["support",t],!1)}function X(e){return(0,s.get)(e.jetpack.initialState.siteData,"showBackups",!0)}function Q(e){return(0,s.get)(e.jetpack.initialState.siteData,"showRecommendations",!1)}function ee(e){return(0,s.get)(e.jetpack.initialState.siteData,"showMyJetpack",!0)}function te(e){return(0,s.get)(e.jetpack.initialState,"newRecommendations",[])}function ne(e){return te(e).length}function se(e){return(0,s.get)(e.jetpack.initialState.licensing,"showLicensingUi",!1)}function re(e){return(0,s.get)(e.jetpack.initialState.siteData,"isMultisite",!1)}function ie(e){return(0,s.get)(e.jetpack.initialState.siteData,"dateFormat",!1)}function ae(e){return(0,s.get)(e.jetpack.initialState,"aff","")}function oe(e){return(0,s.get)(e.jetpack.initialState,"partnerSubsidiaryId","")}function ce(e){return(0,s.get)(e.jetpack.initialState,"partnerCoupon")}const le=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=ae(e),o=oe(e),l=n||A(e),p=V(e),u=B(e);s&&"monthly"===(0,a.b)(e)&&(t+="-monthly");const d={site:f(e)};return i&&(d.aff=i),l&&(d.u=l),o&&(d.subsidiaryId=o),d.query="",(0,c.BU)(e)||(d.query+="unlinked=1&"),p&&(d.query+=`purchasetoken=${p}`),u&&(d.calypso_env=u),(0,r.Z)(t,d)};function pe(e){return(0,s.get)(e.jetpack.initialState,"products",{})}function ue(e){const t=(0,s.get)(e.jetpack.initialState,"products",{}),n=(0,o.Xp)(e),i={};for(const[e,a]of Object.entries(t))i[e]={title:a.title,slug:a.slug,key:e,description:a.description,features:a.features,available:(0,s.get)(n,[a.slug,"available"],!1),currencyCode:(0,s.get)(n,[a.slug,"currency_code"],""),showPromotion:a.show_promotion,promotionPercentage:a.discount_percent,includedInPlans:a.included_in_plans,fullPrice:(0,s.get)(n,[a.slug,"cost"],""),upgradeUrl:(0,r.Z)("jetpack-product-description-checkout",{path:a.slug})};return i}function de(e){return(0,s.get)(e.jetpack.initialState,"recommendationsStep","")}function me(e){return(0,s.get)(e.jetpack.initialState,["connectionStatus","errors"],[]).filter((e=>e.hasOwnProperty("action")))}function he(e){return!!e.jetpack.initialState.isSafari}function ge(e){return!!e.jetpack.initialState.doNotUseConnectionIframe}function fe(e){return!!e.jetpack.initialState.isWooCommerceActive}},8762:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var s=n(4743),r=n(1975);const i=()=>e=>(e({type:r.LxH}),s.ZP.fetchIntroOffers().then((t=>{let{data:n}=t;e({type:r.gGy,data:n})})).catch((t=>{e({type:r.EzW,error:t})})))},6920:function(e,t,n){"use strict";n.d(t,{HW:function(){return r.HW},I6:function(){return r.I6},lR:function(){return s.l},ni:function(){return r.ni}});var s=n(8762),r=n(7717)},7717:function(e,t,n){"use strict";n.d(t,{HW:function(){return a},I6:function(){return i},ni:function(){return o}});var s=n(835),r=n(1975);const i=(0,s.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===r.gGy?t.data:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.LxH:return{...e,isFetching:!0};case r.gGy:case r.EzW:return{...e,isFetching:!1};default:return e}}});function a(e){return!!e.jetpack.introOffers.requests.isFetching}function o(e){return e.jetpack.introOffers.data}},3232:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var s=n(1975);n(4743);const r=e=>t=>{t({type:s.tUc,notice:e})}},5613:function(e,t,n){"use strict";n.d(t,{Rv:function(){return s.Rv},Sn:function(){return r.S},XF:function(){return s.XF},gB:function(){return s.gB},gq:function(){return s.gq},jE:function(){return s.jE},pt:function(){return s.pt}});var s=n(7953),r=n(3232)},7953:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},Rv:function(){return p},XF:function(){return u},gB:function(){return c},gq:function(){return o},jE:function(){return d},pt:function(){return l}});var s=n(835),r=n(2819),i=n(1975);const a=(0,s.UY)({notice:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===i.BVO?"disconnected":e},dismissed:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.dismissedNotices,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.tUc:return(0,r.assign)({},e,{[t.notice]:!0});case i.Ez9:return(0,r.assign)({},e,t.dismissedNotices);case i.c0d:return!1;default:return e}}});function o(e){return e.jetpack.jetpackNotices.notice}function c(e){return(0,r.get)(e.jetpack.initialState,["jetpackStateNotices","errorCode"])}function l(e){return(0,r.get)(e.jetpack.initialState,["jetpackStateNotices","messageCode"])}function p(e){return(0,r.get)(e.jetpack.initialState,["jetpackStateNotices","messageContent"])}function u(e){return(0,r.get)(e.jetpack.initialState,["jetpackStateNotices","errorDescription"])}function d(e,t){return(0,r.get)(e.jetpack.jetpackNotices.dismissed,[t],!1)}},6816:function(e,t,n){"use strict";n.d(t,{Ng:function(){return a},bT:function(){return c},v5:function(){return o},xw:function(){return i}});var s=n(1975),r=n(4743);const i=()=>e=>(e({type:s.U$1,error:""}),r.ZP.updateLicensingError({error:""})),a=()=>e=>r.ZP.getUserLicensesCounts().then((t=>{e({type:s.R5k,counts:t})})).catch((t=>{e({type:s.U$1,error:t})})),o=()=>e=>(e({type:s.clc}),r.ZP.getUserLicenses().then((t=>{e({type:s.ycn,data:t})})).catch((t=>{e({type:s.U$1,error:t}),e({type:s.g_q})}))),c=()=>(e,t)=>{var n;const i=null===(n=t().jetpack.licensing.userCounts)||void 0===n?void 0:n.detached;return r.ZP.updateLicensingActivationNoticeDismiss(i).then((t=>{e({type:s.lOd,dismissData:t})})).catch((t=>{e({type:s.U$1,error:t})}))}},9963:function(e,t,n){"use strict";n.d(t,{Ng:function(){return r.Ng},O4:function(){return s.O4},QD:function(){return s.QD},SP:function(){return s.SP},Tk:function(){return s.Tk},bT:function(){return r.bT},qz:function(){return s.qz},v5:function(){return r.v5},xw:function(){return r.xw}});var s=n(2337),r=n(6816)},2337:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},O4:function(){return p},QD:function(){return l},SP:function(){return u},Tk:function(){return o},qz:function(){return c}});var s=n(2819),r=n(835),i=n(1975);const a=(0,r.UY)({error:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.licensing.error,t=arguments.length>1?arguments[1]:void 0;return t.type===i.U$1?t.error:e},userCounts:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window.Initial_State.licensing.userCounts)&&void 0!==e?e:{},n=arguments.length>1?arguments[1]:void 0;return n.type===i.R5k?(0,s.assign)({},t,n.counts):t},activationNoticeDismiss:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window.Initial_State.licensing.activationNoticeDismiss)&&void 0!==e?e:{last_detached_count:null,last_dismissed_time:null},n=arguments.length>1?arguments[1]:void 0;return n.type===i.lOd?(0,s.assign)({},t,n.dismissData):t},licenses:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window.Initial_State.licensing.licenses)&&void 0!==e?e:{items:[],loading:!1},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case i.clc:return{...t,loading:!0};case i.ycn:return{...t,...n.data,loading:!1};case i.g_q:return{...t,loading:!1};default:return t}}});function o(e){return(0,s.get)(e.jetpack.licensing,["error"],"")}function c(e){const t=(0,s.get)(e.jetpack.licensing.licenses,["items"],{});return Object.values(t).filter((e=>{let{attached_at:t}=e;return null===t}))}function l(e){return(0,s.get)(e.jetpack.licensing.licenses,["loading"],!1)}function p(e){return(0,s.get)(e.jetpack.licensing.userCounts,["detached"],0)}function u(e){return(0,s.get)(e.jetpack.licensing,["activationNoticeDismiss"],{})}},1739:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var s=n(5736),r=n(4743),i=n(1975),a=n(1549);const __=s.__,o=()=>e=>(e({type:i.oQj}),e((0,a.qq)("mobile-login-email-send")),e((0,a.qq)("mobile-login-email-sent")),e((0,a.qq)("mobile-login-email-error")),e((0,a.iI)("is-info",__("Sending login email…","jetpack"),{id:"mobile-login-email-send"})),r.ZP.sendMobileLoginEmail().then((t=>(e((0,a.qq)("mobile-login-email-send")),e({type:i.UIx}),e((0,a.iI)("is-success",__("Login email sent","jetpack"),{id:"mobile-login-email-sent",duration:2e3})),t))).catch((t=>{e({type:i.UqW,error:t.response}),e((0,a.qq)("mobile-login-email-send")),e((0,a.iI)("is-error",__("Failed to send login email","jetpack"),{id:"mobile-login-email-error"}))})))},5688:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var s=n(835),r=n(2819),i=n(1975);const a=(0,s.UY)({mobile:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sendingLoginEmail:!1,loginEmailSent:!1,error:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.oQj:return(0,r.assign)({},e,{sendingLoginEmail:!0});case i.UIx:return(0,r.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!0,error:null});case i.UqW:return(0,r.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!1,error:t.error});default:return e}}})},8654:function(e,t,n){"use strict";n.d(t,{DK:function(){return u},Uq:function(){return d},Z$:function(){return l},d:function(){return p}});var s=n(2819),r=n(5736),i=n(1549),a=n(1975),o=n(2586),c=n(4743);const __=r.__,l=()=>e=>(e({type:a.jEk}),c.ZP.fetchModules().then((t=>(e({type:a.I3o,modules:t}),t))).catch((t=>{e({type:a.kFt,error:t})}))),p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(n,s)=>(n({type:a.sG3,module:e}),n((0,i.qq)("module-toggle")),n((0,i.iI)("is-info",(0,r.sprintf)(
/* translators: placeholder is a feature name, such as "Image CDN". */
-__("Activating %s…","jetpack"),(0,a.rT)(r(),e).name),{id:"module-toggle"})),c.ZP.activateModule(e).then((()=>{n({type:o.n2,module:e,success:!0}),n((0,s.qq)("module-toggle")),n((0,s.iI)("is-success",(0,i.sprintf)(
+__("Activating %s…","jetpack"),(0,o.rT)(s(),e).name),{id:"module-toggle"})),c.ZP.activateModule(e).then((()=>{n({type:a.n2G,module:e,success:!0}),n((0,i.qq)("module-toggle")),n((0,i.iI)("is-success",(0,r.sprintf)(
/* translators: placeholder is a feature name, such as "Image CDN". */
-__("%s has been activated.","jetpack"),(0,a.rT)(r(),e).name),{id:"module-toggle",duration:2e3})),t&&window.location.reload()})).catch((t=>{n({type:o.Jy,module:e,success:!1,error:t}),n((0,s.qq)("module-toggle")),n((0,s.iI)("is-error",(0,i.sprintf)(
+__("%s has been activated.","jetpack"),(0,o.rT)(s(),e).name),{id:"module-toggle",duration:2e3})),t&&window.location.reload()})).catch((t=>{n({type:a.Jyr,module:e,success:!1,error:t}),n((0,i.qq)("module-toggle")),n((0,i.iI)("is-error",(0,r.sprintf)(
/* translators: %1$s: feature name, such as "Image CDN". - %2$s: error message. */
-__("%1$s failed to activate. %2$s","jetpack"),(0,a.rT)(r(),e).name,t),{id:"module-toggle"}))})))};function p(e,t){if("custom-content-types"!==e)return!1;t||jQuery("#menu-posts-jetpack-portfolio, #menu-posts-jetpack-testimonial").toggle(),(0,r.forEach)(t,(function(e,t){"jetpack_portfolio"===t&&jQuery("#menu-posts-jetpack-portfolio, .jp-toggle-portfolio").toggle(),"jetpack_testimonial"===t&&jQuery("#menu-posts-jetpack-testimonial, .jp-toggle-testimonial").toggle()}))}function d(e){(0,r.some)(["masterbar","jetpack_testimonial","jetpack_portfolio"],(t=>t in e))&&window.location.reload()}},93107:function(e,t,n){"use strict";n.d(t,{Xx:function(){return r.Xx},rT:function(){return r.rT},C5:function(){return r.C5},R9:function(){return r.R9},Qy:function(){return r.Qy},hU:function(){return r.hU},HS:function(){return r.HS},he:function(){return r.he},og:function(){return r.og},zc:function(){return r.zc},Su:function(){return r.Su},ZY:function(){return r.ZY},mp:function(){return r.mp},v1:function(){return r.v1},d:function(){return i.d},Z$:function(){return i.Z$},DK:function(){return i.DK},Uq:function(){return i.Uq}});var r=n(91172),i=n(7954)},91172:function(e,t,n){"use strict";n.d(t,{I6:function(){return c},ZY:function(){return l},C5:function(){return u},R9:function(){return p},hU:function(){return d},Xx:function(){return h},rT:function(){return f},HS:function(){return m},he:function(){return g},og:function(){return v},zc:function(){return b},Su:function(){return y},mp:function(){return k},v1:function(){return w},Qy:function(){return _}});var r=n(74978),i=n(92819),s=n(67592),o=n(61744);const a={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}},c=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.R9:return(0,i.assign)({},t.initialState.getModules);case s.I3:return(0,i.assign)({},e,t.modules);case s.n2:return(0,i.assign)({},e,{[t.module]:(0,i.assign)({},e[t.module],{activated:!0})});case s.CD:return(0,i.assign)({},e,{[t.module]:(0,i.assign)({},e[t.module],{activated:!1})});case s.Hy:const n=(0,i.assign)({},e[t.module]);return Object.keys(t.newOptionValues).forEach((e=>{n.options[e].current_value=t.newOptionValues[e]})),(0,i.assign)({},e,{[t.module]:n});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.jE:return(0,i.assign)({},e,{fetchingModulesList:!0});case s.kF:case s.I3:return(0,i.assign)({},e,{fetchingModulesList:!1});case s.sG:return(0,i.assign)({},e,{activating:(0,i.assign)({},e.activating,{[t.module]:!0})});case s.Jy:case s.n2:return(0,i.assign)({},e,{activating:(0,i.assign)({},e.activating,{[t.module]:!1})});case s.Gu:return(0,i.assign)({},e,{deactivating:(0,i.assign)({},e.deactivating,{[t.module]:!0})});case s.xk:case s.CD:return(0,i.assign)({},e,{deactivating:(0,i.assign)({},e.deactivating,{[t.module]:!1})});case s.L:const n=(0,i.assign)({},e.updatingOption);return n[t.module]=(0,i.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((e=>{n[t.module][e]=!0})),(0,i.assign)({},e,{updatingOption:(0,i.assign)({},e.updatingOption,n)});case s.Lo:case s.Hy:const r=(0,i.assign)({},e.updatingOption);return r[t.module]=(0,i.assign)({},r[t.module]),Object.keys(t.newOptionValues).forEach((e=>{r[t.module][e]=!1})),(0,i.assign)({},e,{updatingOption:(0,i.assign)({},e.updatingOption,r)});default:return e}}});function l(e,t){return!!e.jetpack.modules.requests.activating[t]}function u(e,t,n){return(0,i.get)(e.jetpack.modules.items,[t,"options",n,"current_value"])}function p(e,t,n){return(0,i.get)(e.jetpack.modules.items,[t,"options",n,"enum_labels"],!1)}function d(e){return e.jetpack.modules.items}function h(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].activated))}function f(e,t){return(0,i.get)(e.jetpack.modules.items,t,{})}function m(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].requires_connection))}function g(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].requires_user_connection))}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=Object.keys(d(e));return 0<(0,i.intersection)(n,t).length}function b(e){return v(e,["carousel","lazy-images","photon","photon-cdn","search","videopress"])}function y(e){return v(e,["protect","sso","vaultpress"])||(0,o.TB)(e,"akismet/akismet.php")}function k(e,t){return!!(0,i.get)(e.jetpack.modules.items,[t,"activated"],!1)}function w(e,t){return(0,i.includes)(Object.keys(e.jetpack.modules.items),t)}function _(e,t){return(0,i.get)(e.jetpack.modules.items,[t,"override"],!1)}},89238:function(e,t,n){"use strict";n.d(t,{I:function(){return s},b:function(){return o}});var r=n(74978),i=n(67592);const s=(0,r.UY)({duration:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yearly",t=arguments.length>1?arguments[1]:void 0;return t.type===i.b8?t.duration:e}});function o(e){return e.jetpack.plans.duration}},37457:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var r=n(67592),i=n(19570);const s=()=>e=>(e({type:r.g}),i.ZP.fetchProducts().then((t=>{e({type:r.i7,products:t})})).catch((t=>{e({type:r.ik,error:t})})))},13553:function(e,t,n){"use strict";n.d(t,{Xp:function(){return r.Xp},T0:function(){return r.T0},t2:function(){return i.t}});var r=n(79367),i=n(37457)},79367:function(e,t,n){"use strict";n.d(t,{I6:function(){return o},T0:function(){return a},Xp:function(){return c}});var r=n(92819),i=n(74978),s=n(67592);const o=(0,i.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===s.i7?t.products:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.g:return(0,r.assign)({},e,{isFetchingProducts:!0});case s.i7:case s.ik:return(0,r.assign)({},e,{isFetchingProducts:!1});default:return e}}});function a(e){return!!e.jetpack.products.requests.isFetchingProducts}function c(e){return e.jetpack.products.items}},46023:function(e,t,n){"use strict";n.d(t,{I6:function(){return o},K0:function(){return a}});var r=n(74978),i=n(92819),s=n(67592);const o=(0,r.UY)({connectUrls:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===s.R9?(0,i.assign)({},t.initialState.externalServicesConnectUrls):e}});function a(e,t){return(0,i.get)(e.jetpack.publicize.connectUrls,t,null)}},55449:function(e,t,n){"use strict";n.d(t,{V2:function(){return s},x5:function(){return o},u8:function(){return c},Pq:function(){return l},J_:function(){return u},OC:function(){return p},km:function(){return d},tR:function(){return h}});var r=n(19570),i=n(67592);const s=()=>e=>(e({type:i.qU}),r.ZP.fetchRecommendationsData().then((t=>{e({type:i.s6,data:t})})).catch((t=>{e({type:i.z1,error:t})}))),o=e=>t=>{t({type:i.jb,data:e})},a=(e,t)=>{const n=t().jetpack.recommendations;return e({type:i.uG}),r.ZP.saveRecommendationsData(n.data).then((()=>{e({type:i.og})})).catch((t=>{e({type:i.HE,error:t})}))},c=()=>(e,t)=>a(e,t),l=e=>(t,n)=>(t({type:i.XU,slug:e}),a(t,n)),u=e=>(t,n)=>(t({type:i.y$,slug:e}),a(t,n)),p=e=>(t,n)=>{t({type:i.x1,step:e});const s=n().jetpack.recommendations;return r.ZP.updateRecommendationsStep(s.step).then((()=>{t({type:i.kO})})).catch((e=>{t({type:i.i3,error:e})}))},d=()=>e=>(e({type:i.Nk}),r.ZP.fetchRecommendationsProductSuggestions().then((t=>{e({type:i.qY,productSuggestions:t})})).catch((t=>e({type:i.zD,error:t})))),h=()=>e=>(e({type:i.IZ}),r.ZP.fetchRecommendationsUpsell().then((t=>{e({type:i.lh,upsell:t})})).catch((t=>e({type:i.fX,error:t,upsell:{hide_upsell:!0}}))))},90218:function(e,t,n){"use strict";n.d(t,{Pq:function(){return r.Pq},J_:function(){return r.J_},V2:function(){return r.V2},km:function(){return r.km},tR:function(){return r.tR},u8:function(){return r.u8},x5:function(){return r.x5},OC:function(){return r.OC},$q:function(){return i.$q},mI:function(){return i.mI},El:function(){return i.El},Xi:function(){return i.Xi},M:function(){return i.M},TO:function(){return i.TO},CI:function(){return i.CI},jn:function(){return i.jn},dz:function(){return i.dz},WS:function(){return i.WS},at:function(){return i.at},b5:function(){return i.b5},sB:function(){return i.sB},WA:function(){return i.WA},I6:function(){return i.I6}});var r=n(55449),i=n(68054)},68054:function(e,t,n){"use strict";n.d(t,{El:function(){return f},I6:function(){return m},WS:function(){return g},WA:function(){return v},at:function(){return b},b5:function(){return y},$q:function(){return k},dz:function(){return E},sB:function(){return S},TO:function(){return x},mI:function(){return N},M:function(){return A},jn:function(){return O},CI:function(){return T},Xi:function(){return P}});var r=n(65736),i=n(74978),s=n(92819),o=n(67643),a=n(67592),c=n(30701),l=n(17752),u=n(88872),p=n(41147),d=n(61744);const _x=r._x,h=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return(0,s.union)(e,t)},f=e=>(0,s.get)(e.jetpack,["recommendations","productSuggestions"],[]),m=(0,i.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.s6:case a.jb:return(0,s.assign)({},e,t.data);case a.XU:{const n=(0,s.mergeWith)({},e,{selectedRecommendations:[t.slug],skippedRecommendations:[]},h);return n.skippedRecommendations=(0,s.difference)(e.skippedRecommendations,[t.slug]),n}case a.y$:{const n=(0,s.mergeWith)({},e,{selectedRecommendations:[],skippedRecommendations:[t.slug]},h);return n.selectedRecommendations=(0,s.difference)(e.selectedRecommendations,[t.slug]),n}default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.qU:return(0,s.assign)({},e,{isFetchingRecommendationsData:!0});case a.s6:return(0,s.assign)({},e,{isRecommendationsDataLoaded:!0,isFetchingRecommendationsData:!1});case a.z1:return(0,s.assign)({},e,{isFetchingRecommendationsData:!1});case a.Nk:return(0,s.assign)({},e,{isFetchingRecommendationsProductSuggestions:!0});case a.qY:case a.zD:return(0,s.assign)({},e,{isFetchingRecommendationsProductSuggestions:!1});case a.IZ:return(0,s.assign)({},e,{isFetchingRecommendationsUpsell:!0});case a.lh:case a.fX:return(0,s.assign)({},e,{isFetchingRecommendationsUpsell:!1});default:return e}},step:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return t.type===a.x1?t.step:e},upsell:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.lh:case a.fX:return t.upsell;default:return e}},productSuggestions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.qY:case a.zD:return t.productSuggestions;default:return e}}}),g=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsData,v=e=>!!e.jetpack.recommendations.requests.isRecommendationsDataLoaded,b=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsProductSuggestions,y=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsUpsell,k=(e,t)=>(0,s.get)(e.jetpack,["recommendations","data",t],!1),w={"setup-wizard-completed":"summary","banner-completed":"woocommerce","not-started":"site-type-question","site-type-question":"product-suggestions","product-suggestions":"woocommerce",woocommerce:"monitor",monitor:"related-posts","related-posts":"creative-mail","creative-mail":"site-accelerator","site-accelerator":"summary",summary:"summary"},_={"not-started":"#/recommendations/site-type","site-type-question":"#/recommendations/site-type","product-suggestions":"#/recommendations/product-suggestions",woocommerce:"#/recommendations/woocommerce",monitor:"#/recommendations/monitor","related-posts":"#/recommendations/related-posts","creative-mail":"#/recommendations/creative-mail","site-accelerator":"#/recommendations/site-accelerator",summary:"#/recommendations/summary"},E=(e,t)=>{switch(t){case"creative-mail":return!!(0,d.TB)(e,"creative-mail-by-constant-contact/creative-mail-plugin.php");case"monitor":return!!(0,l.$8)(e,"monitor");case"related-posts":return!!(0,l.$8)(e,"related-posts");case"site-accelerator":return!!(0,l.$8)(e,"photon")&&(0,l.$8)(e,"photon-cdn");case"woocommerce":return!!(0,d.TB)(e,"woocommerce/woocommerce.php");default:throw`Unknown featureSlug in isFeatureActive() in recommendations/reducer.js: ${t}`}},C=e=>"jetpack_free"===(0,u.UL)(e).product_slug&&!(0,u.b2)(e),S=e=>{if(!C(e))return!1;const t=f(e);return(0,s.isArray)(t)&&!(0,s.isEmpty)(t)},j=(e,t)=>{switch(t){case"setup-wizard-completed":case"banner-completed":case"not-started":return!1;case"site-type-question":case"summary":return!0;case"product-suggestions":return S(e);case"woocommerce":return!!k(e,"site-type-store")&&!E(e,t);case"monitor":return(0,p.it)(e)&&!E(e,t);default:return!E(e,t)}},M=(e,t)=>{let n=w[t];for(;!j(e,n);)n=w[n];return n},x=e=>{const t=""===(0,s.get)(e.jetpack,["recommendations","step"],"")?(0,o.rd)(e):e.jetpack.recommendations.step;return["setup-wizard-completed","banner-completed"].includes(t)?M(e,t):t},N=e=>{const t=x(e),n=M(e,t);return _[n]},A=e=>{const t=["site-type-store","site-type-business","site-type-personal","site-type-other"],n={
-/* translators: A name for a website that sells things */
-"site-type-store":_x("store","Site type display name","jetpack"),
-/* translators: A name for a website for a business */
-"site-type-business":_x("business site","Site type display name","jetpack"),
-/* translators: A name for a website for personal use */
-"site-type-personal":_x("personal site","Site type display name","jetpack"),
-/* translators: A generic name for a website */
-"site-type-other":_x("site","Site type display name","jetpack")};for(const r of t)if(!0===k(e,r))return n[r];return n["site-type-other"]},O=e=>(0,s.get)(e.jetpack,["recommendations","upsell"],{}),T=e=>{const t=["woocommerce","monitor","related-posts","creative-mail","site-accelerator"].filter((t=>((e,t)=>{switch(t){case"woocommerce":return!0===k(e,"site-type-store");case"monitor":return(0,p.it)(e);default:return!0}})(e,t))),n=[],r=[];for(const i of t)E(e,i)?n.push(i):r.push(i);return{selected:n,skipped:r}},P=e=>{const t=(0,u.UL)(e),n=(0,c.of)(e).state;return t.product_slug&&n?C(e)?"upsell":"awaiting_credentials"!==n||(0,u.Ic)(e)?["active","provisioning"].includes(n)?"manage-security":"download-app":"one-click-restores":"loading"}},11681:function(e,t,n){"use strict";var r=n(74978),i=n(31008),s=n(67643),o=n(50046),a=n(6861),c=n(71565),l=n(89238),u=n(93036),p=n(91172),d=n(40054),h=n(79367),f=n(46023),m=n(90218),g=n(79782),v=n(5606),b=n(7053),y=n(36965),k=n(17881),w=n(76719),_=n(82765),E=n(83097),C=n(50093),S=n(36900),j=n(88584);const M=(0,r.UY)({connection:a.I6,dashboard:o.sI,devCard:c.I6,initialState:s.E3,jetpackNotices:u.I6,modules:p.I6,plans:l.I,pluginsData:d.I6,products:h.I6,publicize:f.I6,recommendations:m.I6,rewind:g.I6,scan:v.I6,search:b.I6,settings:y.I6,siteData:k.I6,siteProducts:w.I6,siteVerify:_.I6,disconnectSurvey:E.I6,trackingSettings:C.I6,mobile:S.I6,licensing:j.I6});t.Z=(0,r.UY)({globalNotices:i.x,jetpack:M})},594:function(e,t,n){"use strict";var r=n(74978),i=n(53126),s=n(11681);t.Z=(0,r.qC)((0,r.md)(i.Z),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)(r.MT)(s.Z)},35922:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(67592),i=n(19570);const s=()=>e=>(e({type:r.it}),i.ZP.fetchRewindStatus().then((t=>(e({type:r.Dg,status:t}),t))).catch((t=>{e({type:r.ml,error:t})})))},30701:function(e,t,n){"use strict";n.d(t,{of:function(){return r.of},Li:function(){return r.Li},Au:function(){return i.A}});var r=n(79782),i=n(35922)},79782:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},Li:function(){return c},of:function(){return l}});var r=n(74978),i=n(92819),s=n(67592);const o={isFetchingRewindStatus:!1},a=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.Dg:return(0,i.assign)({},e,{status:t.status});case s.Yk:return(0,i.assign)({},e,{status:t.rewindState});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.it:return(0,i.assign)({},e,{isFetchingRewindStatus:!0});case s.Dg:case s.ml:return(0,i.assign)({},e,{isFetchingRewindStatus:!1});default:return e}}});function c(e){return!!e.jetpack.rewind.requests.isFetchingRewindStatus}function l(e){return(0,i.get)(e.jetpack.rewind,["data","status"],{})}},71943:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r=n(67592),i=n(19570);const s=()=>e=>(e({type:r.fe}),i.ZP.fetchScanStatus().then((t=>(e({type:r.N9,status:t}),t))).catch((t=>{e({type:r.vr,error:t})})))},35795:function(e,t,n){"use strict";n.d(t,{C8:function(){return r.C8},gE:function(){return r.gE},eR:function(){return i.e}});var r=n(5606),i=n(71943)},5606:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},gE:function(){return c},C8:function(){return l}});var r=n(74978),i=n(92819),s=n(67592);const o={isFetchingScanStatus:!1},a=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.N9:return(0,i.assign)({},e,{status:t.status});case s.M0:return{status:{...e.status,...t.scanState}};default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.fe:return(0,i.assign)({},e,{isFetchingScanStatus:!0});case s.N9:case s.vr:return(0,i.assign)({},e,{isFetchingScanStatus:!1});default:return e}}});function c(e){return!!e.jetpack.scan.requests.isFetchingScanStatus}function l(e){return(0,i.get)(e.jetpack.scan,["data","status"],{})}},80878:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(67592);const i=e=>t=>{t({type:r.Fc,term:e})}},19555:function(e,t,n){"use strict";n.d(t,{He:function(){return r.He},CX:function(){return r.CX},eb:function(){return i.e}});var r=n(7053),i=n(80878)},7053:function(e,t,n){"use strict";n.d(t,{I6:function(){return o},He:function(){return a},CX:function(){return c}});var r=n(92819),i=n(74978),s=n(67592);const o=(0,i.UY)({searchTerm:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return t.type===s.Fc?t.term:e}});function a(e){return e.jetpack.search.searchTerm}function c(e,t){const n=(0,r.find)((0,r.get)(e.jetpack,["modules","items"],{}),["module",t]);if(void 0===n)return!1;const i=(0,r.get)(e.jetpack,["search","searchTerm"],!1);return!i||[n.module,n.name,n.description,n.learn_more_button,n.long_description,n.search_terms,n.additional_search_queries,n.short_description,n.feature?n.feature.toString():""].join(" ").toLowerCase().indexOf(i.toLowerCase())>-1}},39772:function(e,t,n){"use strict";n.d(t,{a6:function(){return l},_1:function(){return u},wv:function(){return p},VP:function(){return d}});var r=n(92819),i=n(65736),s=n(21094),o=n(67592),a=n(93107),c=n(19570);const __=i.__,l=()=>({type:o.Ns}),u=()=>({type:o.TI}),p=()=>e=>(e({type:o.JA}),c.ZP.fetchSettings().then((t=>(e({type:o.dS,settings:t}),t))).catch((t=>{e({type:o.rY,error:t})}))),d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=>{const l={progress:__("Updating settings…","jetpack"),success:__("Updated settings.","jetpack"),error:e=>(0,i.sprintf)(
+__("%1$s failed to activate. %2$s","jetpack"),(0,o.rT)(s(),e).name,t),{id:"module-toggle"}))})))};function u(e,t){if("custom-content-types"!==e)return!1;t||jQuery("#menu-posts-jetpack-portfolio, #menu-posts-jetpack-testimonial").toggle(),(0,s.forEach)(t,(function(e,t){"jetpack_portfolio"===t&&jQuery("#menu-posts-jetpack-portfolio, .jp-toggle-portfolio").toggle(),"jetpack_testimonial"===t&&jQuery("#menu-posts-jetpack-testimonial, .jp-toggle-testimonial").toggle()}))}function d(e){(0,s.some)(["masterbar","jetpack_testimonial","jetpack_portfolio"],(t=>t in e))&&window.location.reload()}},416:function(e,t,n){"use strict";n.d(t,{C5:function(){return s.C5},DK:function(){return r.DK},HS:function(){return s.HS},Qy:function(){return s.Qy},R9:function(){return s.R9},Su:function(){return s.Su},Uq:function(){return r.Uq},Xx:function(){return s.Xx},Z$:function(){return r.Z$},ZY:function(){return s.ZY},d:function(){return r.d},hU:function(){return s.hU},he:function(){return s.he},mp:function(){return s.mp},og:function(){return s.og},rT:function(){return s.rT},v1:function(){return s.v1},zc:function(){return s.zc}});var s=n(2586),r=n(8654)},2586:function(e,t,n){"use strict";n.d(t,{C5:function(){return p},HS:function(){return g},I6:function(){return c},Qy:function(){return w},R9:function(){return u},Su:function(){return _},Xx:function(){return m},ZY:function(){return l},hU:function(){return d},he:function(){return f},mp:function(){return y},og:function(){return v},rT:function(){return h},v1:function(){return E},zc:function(){return k}});var s=n(835),r=n(2819),i=n(1975),a=n(1372);const o={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}},c=(0,s.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R99:return(0,r.assign)({},t.initialState.getModules);case i.I3o:return(0,r.assign)({},e,t.modules);case i.n2G:return(0,r.assign)({},e,{[t.module]:(0,r.assign)({},e[t.module],{activated:!0})});case i.CD3:return(0,r.assign)({},e,{[t.module]:(0,r.assign)({},e[t.module],{activated:!1})});case i.Hyl:const n=(0,r.assign)({},e[t.module]);return Object.keys(t.newOptionValues).forEach((e=>{n.options[e].current_value=t.newOptionValues[e]})),(0,r.assign)({},e,{[t.module]:n});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.jEk:return(0,r.assign)({},e,{fetchingModulesList:!0});case i.kFt:case i.I3o:return(0,r.assign)({},e,{fetchingModulesList:!1});case i.sG3:return(0,r.assign)({},e,{activating:(0,r.assign)({},e.activating,{[t.module]:!0})});case i.Jyr:case i.n2G:return(0,r.assign)({},e,{activating:(0,r.assign)({},e.activating,{[t.module]:!1})});case i.Gu5:return(0,r.assign)({},e,{deactivating:(0,r.assign)({},e.deactivating,{[t.module]:!0})});case i.xkZ:case i.CD3:return(0,r.assign)({},e,{deactivating:(0,r.assign)({},e.deactivating,{[t.module]:!1})});case i.Lao:const n=(0,r.assign)({},e.updatingOption);return n[t.module]=(0,r.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((e=>{n[t.module][e]=!0})),(0,r.assign)({},e,{updatingOption:(0,r.assign)({},e.updatingOption,n)});case i.Lon:case i.Hyl:const s=(0,r.assign)({},e.updatingOption);return s[t.module]=(0,r.assign)({},s[t.module]),Object.keys(t.newOptionValues).forEach((e=>{s[t.module][e]=!1})),(0,r.assign)({},e,{updatingOption:(0,r.assign)({},e.updatingOption,s)});default:return e}}});function l(e,t){return!!e.jetpack.modules.requests.activating[t]}function p(e,t,n){return(0,r.get)(e.jetpack.modules.items,[t,"options",n,"current_value"])}function u(e,t,n){return(0,r.get)(e.jetpack.modules.items,[t,"options",n,"enum_labels"],!1)}function d(e){return e.jetpack.modules.items}function m(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].activated))}function h(e,t){return(0,r.get)(e.jetpack.modules.items,t,{})}function g(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].requires_connection))}function f(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].requires_user_connection))}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=Object.keys(d(e));return 0<(0,r.intersection)(n,t).length}function k(e){return v(e,["carousel","lazy-images","photon","photon-cdn","search","videopress"])}function _(e){return v(e,["protect","sso","vaultpress"])||(0,a.TB)(e,"akismet/akismet.php")}function y(e,t){return!!(0,r.get)(e.jetpack.modules.items,[t,"activated"],!1)}function E(e,t){return(0,r.includes)(Object.keys(e.jetpack.modules.items),t)}function w(e,t){return(0,r.get)(e.jetpack.modules.items,[t,"override"],!1)}},5207:function(e,t,n){"use strict";n.d(t,{I:function(){return i},b:function(){return a}});var s=n(835),r=n(1975);const i=(0,s.UY)({duration:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yearly",t=arguments.length>1?arguments[1]:void 0;return t.type===r.arb?t.duration:e}});function a(e){return e.jetpack.plans.duration}},1886:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var s=n(1975),r=n(4743);const i=()=>e=>(e({type:s.gat}),r.ZP.fetchProducts().then((t=>{e({type:s.i7L,products:t})})).catch((t=>{e({type:s.ikp,error:t})})))},4884:function(e,t,n){"use strict";n.d(t,{T0:function(){return s.T0},Xp:function(){return s.Xp},t2:function(){return r.t}});var s=n(1679),r=n(1886)},1679:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},T0:function(){return o},Xp:function(){return c}});var s=n(2819),r=n(835),i=n(1975);const a=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.i7L?t.products:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.gat:return(0,s.assign)({},e,{isFetchingProducts:!0});case i.i7L:case i.ikp:return(0,s.assign)({},e,{isFetchingProducts:!1});default:return e}}});function o(e){return!!e.jetpack.products.requests.isFetchingProducts}function c(e){return e.jetpack.products.items}},4975:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},K0:function(){return o}});var s=n(835),r=n(2819),i=n(1975);const a=(0,s.UY)({connectUrls:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.R99?(0,r.assign)({},t.initialState.externalServicesConnectUrls):e}});function o(e,t){return(0,r.get)(e.jetpack.publicize.connectUrls,t,null)}},3180:function(e,t,n){"use strict";n.d(t,{AP:function(){return f},Hm:function(){return u},J_:function(){return p},OC:function(){return d},Pq:function(){return l},V2:function(){return i},fy:function(){return m},km:function(){return h},tR:function(){return g},u8:function(){return c},x5:function(){return a}});var s=n(4743),r=n(1975);const i=()=>e=>(e({type:r.qUO}),s.ZP.fetchRecommendationsData().then((t=>{e({type:r.s6x,data:t})})).catch((t=>{e({type:r.z1n,error:t})}))),a=e=>t=>{t({type:r.jbS,data:e})},o=(e,t)=>{const n=t().jetpack.recommendations;return e({type:r.uGk}),s.ZP.saveRecommendationsData(n.data).then((()=>{e({type:r.ogt})})).catch((t=>{e({type:r.HEN,error:t})}))},c=()=>(e,t)=>o(e,t),l=e=>(t,n)=>(t({type:r.XUm,slug:e}),o(t,n)),p=e=>(t,n)=>(t({type:r.y$G,slug:e}),o(t,n)),u=e=>(t,n)=>(t({type:r.nnP,slug:e}),o(t,n)),d=e=>(t,n)=>{t({type:r.x16,step:e});const i=n().jetpack.recommendations;return s.ZP.updateRecommendationsStep(i.step).then((()=>{t({type:r.kO5})})).catch((e=>{t({type:r.i3n,error:e})}))},m=e=>({type:r.WV5,step:e}),h=()=>e=>(e({type:r.Nkq}),s.ZP.fetchRecommendationsProductSuggestions().then((t=>{e({type:r.qYt,productSuggestions:t})})).catch((t=>e({type:r.zDe,error:t})))),g=()=>e=>(e({type:r.IZk}),s.ZP.fetchRecommendationsUpsell().then((t=>{e({type:r.lhN,upsell:t})})).catch((t=>e({type:r.fXf,error:t,upsell:{hide_upsell:!0}})))),f=()=>e=>(e({type:r.wXx}),s.ZP.fetchRecommendationsConditional().then((t=>{e({type:r.qdt,data:t})})).catch((t=>e({type:r.G_D,error:t}))))},8722:function(e,t,n){"use strict";n.d(t,{$q:function(){return r.$q},AP:function(){return s.AP},BR:function(){return r.BR},CI:function(){return r.CI},E3:function(){return r.E3},E4:function(){return r.E4},El:function(){return r.El},Hm:function(){return s.Hm},I6:function(){return r.I6},J_:function(){return s.J_},OC:function(){return s.OC},Pq:function(){return s.Pq},TO:function(){return r.TO},V2:function(){return s.V2},VZ:function(){return r.VZ},WA:function(){return r.WA},WS:function(){return r.WS},Xi:function(){return r.Xi},ZL:function(){return r.ZL},at:function(){return r.at},b5:function(){return r.b5},dz:function(){return r.dz},fo:function(){return r.fo},fy:function(){return s.fy},i8:function(){return r.i8},jn:function(){return r.jn},jp:function(){return r.jp},km:function(){return s.km},mI:function(){return r.mI},sB:function(){return r.sB},tR:function(){return s.tR},u8:function(){return s.u8},x5:function(){return s.x5}});var s=n(3180),r=n(5954)},5954:function(e,t,n){"use strict";n.d(t,{$q:function(){return C},BR:function(){return S},CI:function(){return I},E3:function(){return N},E4:function(){return y},El:function(){return h},I6:function(){return g},TO:function(){return U},VZ:function(){return b},WA:function(){return v},WS:function(){return f},Xi:function(){return F},ZL:function(){return w},at:function(){return k},b5:function(){return _},dz:function(){return x},fo:function(){return P},i8:function(){return E},jn:function(){return L},jp:function(){return D},mI:function(){return R},sB:function(){return O}});n(5736);var s=n(835),r=n(2819),i=n(1975),a=n(9584),o=n(9377),c=n(3230),l=n(3002),p=n(6300),u=n(1372),d=n(9508);const m=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return(0,r.union)(e,t)},h=e=>(0,r.get)(e.jetpack,["recommendations","productSuggestions"],[]),g=(0,s.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.s6x:case i.jbS:return(0,r.assign)({},e,t.data);case i.XUm:{const n=(0,r.mergeWith)({},e,{selectedRecommendations:[t.slug],skippedRecommendations:[],viewedRecommendations:[]},m);return n.skippedRecommendations=(0,r.difference)(e.skippedRecommendations,[t.slug]),n}case i.y$G:{const n=(0,r.mergeWith)({},e,{selectedRecommendations:[],skippedRecommendations:[t.slug],viewedRecommendations:[]},m);return n.selectedRecommendations=(0,r.difference)(e.selectedRecommendations,[t.slug]),n}case i.nnP:return(0,r.mergeWith)({},e,{selectedRecommendations:[],skippedRecommendations:[],viewedRecommendations:[t.slug]},m);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.qUO:return(0,r.assign)({},e,{isFetchingRecommendationsData:!0});case i.s6x:return(0,r.assign)({},e,{isRecommendationsDataLoaded:!0,isFetchingRecommendationsData:!1});case i.z1n:return(0,r.assign)({},e,{isFetchingRecommendationsData:!1});case i.Nkq:return(0,r.assign)({},e,{isFetchingRecommendationsProductSuggestions:!0});case i.qYt:case i.zDe:return(0,r.assign)({},e,{isFetchingRecommendationsProductSuggestions:!1});case i.IZk:return(0,r.assign)({},e,{isFetchingRecommendationsUpsell:!0});case i.lhN:case i.fXf:return(0,r.assign)({},e,{isFetchingRecommendationsUpsell:!1});case i.wXx:return(0,r.assign)({},e,{isFetchingRecommendationsConditional:!0});case i.qdt:return(0,r.assign)({},e,{isRecommendationsConditionalLoaded:!0,isFetchingRecommendationsConditional:!1});case i.G_D:return(0,r.assign)({},e,{isFetchingRecommendationsConditional:!1});case i.x16:return(0,r.assign)({},e,{isUpdatingRecommendationsStep:!0});case i.kO5:case i.i3n:return(0,r.assign)({},e,{isUpdatingRecommendationsStep:!1});default:return e}},step:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return t.type===i.x16?t.step:e},upsell:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.lhN:case i.fXf:return t.upsell;default:return e}},productSuggestions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.qYt:case i.zDe:return t.productSuggestions;default:return e}},conditional:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.qdt:case i.G_D:return t.data;default:return e}},siteDiscount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.WV5?{...e,viewed:t.step}:e}}),f=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsData,v=e=>!!e.jetpack.recommendations.requests.isRecommendationsDataLoaded,k=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsProductSuggestions,_=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsUpsell,y=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsConditional,E=e=>!!e.jetpack.recommendations.requests.isRecommendationsConditionalLoaded,w=e=>!!e.jetpack.recommendations.requests.isUpdatingRecommendationsStep,b=e=>e.jetpack.recommendations.siteDiscount.viewed||"",C=(e,t)=>(0,r.get)(e.jetpack,["recommendations","data",t],!1),j={"setup-wizard-completed":"summary","banner-completed":"woocommerce","not-started":"site-type-question","site-type-question":"woocommerce","product-suggestions":"woocommerce",woocommerce:"monitor",monitor:"related-posts","related-posts":"creative-mail","creative-mail":"site-accelerator","site-accelerator":"publicize",publicize:"summary","security-plan":"summary","anti-spam":"summary",videopress:"summary",summary:"summary"},S={"not-started":"#/recommendations/site-type","site-type-question":"#/recommendations/site-type","product-suggestions":"#/recommendations/product-suggestions",woocommerce:"#/recommendations/woocommerce",monitor:"#/recommendations/monitor","related-posts":"#/recommendations/related-posts","creative-mail":"#/recommendations/creative-mail","site-accelerator":"#/recommendations/site-accelerator",publicize:"#/recommendations/publicize","security-plan":"#/recommendations/security-plan","anti-spam":"#/recommendations/anti-spam",videopress:"#/recommendations/videopress",summary:"#/recommendations/summary"},N=(e,t)=>{const n=(0,r.get)(e.jetpack,["recommendations","data"]);return n.viewedRecommendations&&n.viewedRecommendations.includes(t)},x=(e,t)=>{switch(t){case"creative-mail":return!!(0,u.TB)(e,"creative-mail-by-constant-contact/creative-mail-plugin.php");case"monitor":return!!(0,c.$8)(e,"monitor");case"related-posts":return!!(0,c.$8)(e,"related-posts");case"site-accelerator":return!!(0,c.$8)(e,"photon")&&(0,c.$8)(e,"photon-cdn");case"woocommerce":return!!(0,u.TB)(e,"woocommerce/woocommerce.php");case"publicize":return!!(0,c.$8)(e,"publicize");case"videopress":return!!(0,c.$8)(e,"videopress");default:throw`Unknown featureSlug in isFeatureActive() in recommendations/reducer.js: ${t}`}},T=e=>"jetpack_free"===(0,l.UL)(e).product_slug&&!(0,l.b2)(e),O=e=>{if(!T(e))return!1;const t=h(e);return(0,r.isArray)(t)&&!(0,r.isEmpty)(t)},P=(e,t)=>{switch(t){case"publicize":case"security-plan":if(!(0,l.VL)(e)&&!(0,l.nE)(e))return a.Et;break;case"anti-spam":if(!(0,u.TB)(e,"akismet/akismet.php")&&!(0,l.IL)(e)&&!(0,a.O$)((0,l.UL)(e)))return a.sh;break;case"videopress":if(!(0,l.P2)(e,"videopress-1tb-storage")&&!(0,l.P2)(e,"videopress-unlimited-storage"))return a.v_}return!1},M=(e,t)=>{const n=(e=>(0,r.get)(e.jetpack,["recommendations","conditional"]))(e);return Array.isArray(n)&&n.indexOf(t)>-1},A=(e,t)=>{switch(t){case"setup-wizard-completed":case"banner-completed":case"not-started":return!1;case"site-type-question":case"summary":return!0;case"product-suggestions":return O(e);case"woocommerce":return!!C(e,"site-type-store")&&!x(e,t);case"monitor":return(0,p.it)(e)&&!x(e,t);case"publicize":case"videopress":return M(e,t)&&!x(e,t);case"security-plan":case"anti-spam":return M(e,t);default:return!x(e,t)}},Z=(e,t)=>{let n=j[t];for(;!A(e,n);)n=j[n];return n},U=e=>{const t=""===(0,r.get)(e.jetpack,["recommendations","step"],"")?(e=>{const t=(0,d.YJ)(e);return t.length>0?t[0]:(0,d.rd)(e)})(e):e.jetpack.recommendations.step;return["setup-wizard-completed","banner-completed"].includes(t)?Z(e,t):t},R=e=>{const t=U(e),n=Z(e,t);return S[n]},L=e=>(0,r.get)(e.jetpack,["recommendations","upsell"],{}),z=(e,t)=>{switch(t){case"woocommerce":return!0===C(e,"site-type-store");case"monitor":return(0,p.it)(e);case"publicize":case"videopress":return M(e,t)||x(e,t);case"security-plan":case"anti-spam":return M(e,t);default:return!0}},I=e=>{const t=["woocommerce","monitor","related-posts","creative-mail","site-accelerator","publicize","videopress"].filter((t=>z(e,t))),n=[],s=[];for(const r of t)x(e,r)?n.push(r):s.push(r);return{selected:n,skipped:s}},D=e=>["security-plan","anti-spam"].filter((t=>z(e,t))),F=e=>{const t=(0,l.UL)(e),n=(0,o.of)(e).state;return t.product_slug&&n?T(e)?"upsell":"awaiting_credentials"!==n||(0,l.P2)(e,"scan")?["active","provisioning"].includes(n)?"manage-security":"download-app":"one-click-restores":"loading"}},9171:function(e,t,n){"use strict";var s=n(835),r=n(3929),i=n(4761),a=n(569),o=n(3480),c=n(9112),l=n(6920),p=n(5207),u=n(7953),d=n(2586),m=n(71),h=n(1679),g=n(4975),f=n(8722),v=n(5220),k=n(5518),_=n(7647),y=n(1834),E=n(6876),w=n(7628),b=n(1410),C=n(8183),j=n(775),S=n(5688),N=n(2337),x=n(2948);const T=(0,s.UY)({connection:o.I6,dashboard:a.sI,devCard:c.I6,initialState:i.E3,jetpackNotices:u.I6,modules:d.I6,plans:p.I,pluginsData:m.I6,products:h.I6,publicize:g.I6,recommendations:f.I6,rewind:v.I6,scan:k.I6,search:_.I6,settings:y.I6,siteData:E.I6,siteProducts:w.I6,siteVerify:b.I6,disconnectSurvey:C.I6,trackingSettings:j.I6,mobile:S.I6,licensing:N.I6,waf:x.I6,introOffers:l.I6});t.Z=(0,s.UY)({globalNotices:r.x,jetpack:T})},5641:function(e,t,n){"use strict";var s=n(835),r=n(5385),i=n(9171);t.Z=(0,s.qC)((0,s.md)(r.Z),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)(s.MT)(i.Z)},2653:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var s=n(1975),r=n(4743);const i=()=>e=>(e({type:s.itb}),r.ZP.fetchRewindStatus().then((t=>(e({type:s.DgS,status:t}),t))).catch((t=>{e({type:s.mlz,error:t})})))},9377:function(e,t,n){"use strict";n.d(t,{Au:function(){return r.A},Li:function(){return s.Li},of:function(){return s.of}});var s=n(5220),r=n(2653)},5220:function(e,t,n){"use strict";n.d(t,{I6:function(){return o},Li:function(){return c},of:function(){return l}});var s=n(835),r=n(2819),i=n(1975);const a={isFetchingRewindStatus:!1},o=(0,s.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.DgS:return(0,r.assign)({},e,{status:t.status});case i.Yk$:return(0,r.assign)({},e,{status:t.rewindState});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.itb:return(0,r.assign)({},e,{isFetchingRewindStatus:!0});case i.DgS:case i.mlz:return(0,r.assign)({},e,{isFetchingRewindStatus:!1});default:return e}}});function c(e){return!!e.jetpack.rewind.requests.isFetchingRewindStatus}function l(e){return(0,r.get)(e.jetpack.rewind,["data","status"],{})}},4758:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var s=n(1975),r=n(4743);const i=()=>e=>(e({type:s.feA}),r.ZP.fetchScanStatus().then((t=>(e({type:s.N9n,status:t}),t))).catch((t=>{e({type:s.vrP,error:t})})))},5080:function(e,t,n){"use strict";n.d(t,{C8:function(){return s.C8},eR:function(){return r.e},gE:function(){return s.gE}});var s=n(5518),r=n(4758)},5518:function(e,t,n){"use strict";n.d(t,{C8:function(){return l},I6:function(){return o},gE:function(){return c}});var s=n(835),r=n(2819),i=n(1975);const a={isFetchingScanStatus:!1},o=(0,s.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.N9n:return(0,r.assign)({},e,{status:t.status});case i.M0I:return{status:{...e.status,...t.scanState}};default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.feA:return(0,r.assign)({},e,{isFetchingScanStatus:!0});case i.N9n:case i.vrP:return(0,r.assign)({},e,{isFetchingScanStatus:!1});default:return e}}});function c(e){return!!e.jetpack.scan.requests.isFetchingScanStatus}function l(e){return(0,r.get)(e.jetpack.scan,["data","status"],{})}},4570:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});var s=n(1975);const r=e=>t=>{t({type:s.FcF,term:e})}},9292:function(e,t,n){"use strict";n.d(t,{CX:function(){return s.CX},He:function(){return s.He},eb:function(){return r.e}});var s=n(7647),r=n(4570)},7647:function(e,t,n){"use strict";n.d(t,{CX:function(){return c},He:function(){return o},I6:function(){return a}});var s=n(2819),r=n(835),i=n(1975);const a=(0,r.UY)({searchTerm:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return t.type===i.FcF?t.term:e}});function o(e){return e.jetpack.search.searchTerm}function c(e,t){const n=(0,s.find)((0,s.get)(e.jetpack,["modules","items"],{}),["module",t]);if(void 0===n)return!1;const r=(0,s.get)(e.jetpack,["search","searchTerm"],!1);return!r||[n.module,n.name,n.description,n.learn_more_button,n.long_description,n.search_terms,n.additional_search_queries,n.short_description,n.feature?n.feature.toString():""].join(" ").toLowerCase().indexOf(r.toLowerCase())>-1}},1952:function(e,t,n){"use strict";n.d(t,{VP:function(){return d},_1:function(){return p},a6:function(){return l},wv:function(){return u}});var s=n(2819),r=n(5736),i=n(1549),a=n(1975),o=n(416),c=n(4743);const __=r.__,l=()=>({type:a.NsN}),p=()=>({type:a.TIZ}),u=()=>e=>(e({type:a.JAC}),c.ZP.fetchSettings().then((t=>(e({type:a.dSY,settings:t}),t))).catch((t=>{e({type:a.rYo,error:t})}))),d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=>{const l={progress:__("Updating settings…","jetpack"),success:__("Updated settings.","jetpack"),error:e=>(0,r.sprintf)(
/* translators: placeholder is an error code or an error message. */
-__("Error updating settings. %s","jetpack"),e.message||e.code||e.name||e),...t};"object"==typeof e&&(0,r.some)(["masterbar","jetpack_testimonial","jetpack_portfolio"],(t=>t in e))&&(l.success=__("Updated settings. Refreshing page…","jetpack")),n((0,s.qq)("module-setting-update")),n((0,s.qq)("module-setting-update-success"));const u=["dismiss_dash_app_card","dismiss_empty_stats_card"];return"object"!=typeof e||(0,r.some)(u,(t=>t in e))||n((0,s.iI)("is-info",l.progress,{id:"module-setting-update"})),n({type:o.BX,updatedOptions:e}),c.ZP.updateSettings(e).then((t=>{n({type:o.FL,updatedOptions:h(t,e),success:t}),(0,a.DK)(e),(0,a.Uq)(e),n((0,s.qq)("module-setting-update")),n((0,s.qq)("module-setting-update-success")),"object"!=typeof e||(0,r.some)(u,(t=>t in e))||n((0,s.iI)("is-success",l.success,{id:"module-setting-update-success",duration:2e3}))})).catch((t=>{n({type:o.gY,success:!1,error:t,updatedOptions:e}),n((0,s.qq)("module-setting-update")),n((0,s.iI)("is-error",l.error(t),{id:"module-setting-update"}))}))}};function h(e,t){let n=t;return"regenerate"===(0,r.get)(t,"post_by_email_address")&&(n={post_by_email_address:e.post_by_email_address}),n}},17752:function(e,t,n){"use strict";n.d(t,{vU:function(){return r.vU},GD:function(){return r.GD},g0:function(){return r.g0},$8:function(){return r.$8},Gw:function(){return r.Gw},p0:function(){return r.p0},qg:function(){return r.qg},Cu:function(){return r.Cu},_1:function(){return i._1},wv:function(){return i.wv},a6:function(){return i.a6},VP:function(){return i.VP}});var r=n(36965),i=n(39772)},36965:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},Gw:function(){return c},$8:function(){return l},Cu:function(){return u},p0:function(){return p},qg:function(){return d},GD:function(){return h},vU:function(){return f},g0:function(){return m}});var r=n(74978),i=n(92819),s=n(67592);const o={fetchingSettingsList:!1,settingsSent:{},updatedSettings:{}},a=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.R9:return(0,i.assign)({},e,t.initialState.settings);case s.dS:return(0,i.assign)({},t.settings);case s.jH:const n=Object.keys(t.updatedOption)[0];return(0,i.assign)({},e,{[n]:t.updatedOption[n]});case s.FL:return(0,i.assign)({},e,t.updatedOptions);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.JA:return(0,i.assign)({},e,{fetchingSettingsList:!0});case s.rY:case s.dS:return(0,i.assign)({},e,{fetchingSettingsList:!1});case s.q4:case s.BX:return(0,i.merge)({},e,{settingsSent:(0,i.mapValues)(t.updatedOptions,(()=>!0))});case s.QF:case s.jH:case s.gY:case s.FL:return(0,i.merge)({},e,{settingsSent:(0,i.mapValues)(t.updatedOptions,(()=>!1)),updatedSettings:(0,i.mapValues)(t.updatedOptions,(()=>Boolean(t.success)))});default:return e}},unsavedSettingsFlag:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.Ns:return!0;case s.TI:return!1;default:return e}}});function c(e){return e.jetpack.settings.items}function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(""===n||(0,i.get)(e.jetpack.settings.items,n,!1))return(0,i.get)(e.jetpack.settings.items,t,void 0)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"object"==typeof t?(0,i.some)((0,i.filter)(e.jetpack.settings.requests.settingsSent,((e,n)=>(0,i.includes)(t,n))),(e=>e)):e.jetpack.settings.requests.settingsSent[t]}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.jetpack.settings.requests.updatedSettings[t]}function d(e,t){return!!(0,i.get)(e.jetpack.settings.items,[t],!1)}function h(e){return(0,i.get)(e.jetpack.settings,"unsavedSettingsFlag",!1)}function f(e){return(0,i.get)(e.jetpack.settings.items,"dismiss_dash_app_card",!1)}function m(e){return(0,i.get)(e.jetpack.settings.items,"dismiss_empty_stats_card",!1)}},76719:function(e,t,n){"use strict";n.d(t,{I6:function(){return s}});var r=n(74978),i=n(67592);const s=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.QD?t.siteProducts:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Pp:return{...e,isFetching:!0};case i.QD:case i.hz:return{...e,isFetching:!1};default:return e}}})},86224:function(e,t,n){"use strict";n.d(t,{n:function(){return a},Z:function(){return c}});var r=n(65736),i=n(67592),s=n(19570),o=n(21094);const __=r.__,a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t=>(t({type:i.$F}),s.ZP.fetchVerifySiteGoogleStatus(e).then((e=>{if(e.errors&&e.errors.length>0){const n=Object.keys(e.errors)[0],r=e.errors[n];return t({type:i.b6,error:{code:n,message:r}}),e}return t({type:i.cz,verified:e.verified,token:e.token,isOwner:e.is_owner,searchConsoleUrl:e.google_search_console_url,verificationConsoleUrl:e.google_verification_console_url}),e})).catch((e=>{t({type:i.b6,error:e.response})})))},c=e=>t=>(t({type:i.$d}),s.ZP.verifySiteGoogle(e).then((e=>{if(e.errors&&e.errors.length>0){const n=Object.keys(e.errors)[0],r=e.errors[n];return t({type:i.km,error:{code:n,message:r}}),e}return t({verified:e.verified,isOwner:e.is_owner,searchConsoleUrl:e.google_search_console_url,verificationConsoleUrl:e.google_verification_console_url,type:i.s9}),e.verified&&t((0,o.iI)("is-success",__("Site is verified","jetpack"),{id:"verify-site-google-verified",duration:2e3})),e})).catch((e=>{t({type:i.km,error:e.response})})))},91628:function(e,t,n){"use strict";n.d(t,{_g:function(){return r._g},ou:function(){return r.ou},hr:function(){return r.hr},nZ:function(){return r.nZ},dO:function(){return r.dO},nS:function(){return r.nS},BH:function(){return r.BH},n:function(){return i.n},Zn:function(){return i.Z}});var r=n(82765),i=n(86224)},82765:function(e,t,n){"use strict";n.d(t,{I6:function(){return o},nZ:function(){return a},BH:function(){return c},hr:function(){return l},nS:function(){return u},ou:function(){return p},_g:function(){return d},dO:function(){return h}});var r=n(74978),i=n(92819),s=n(67592);const o=(0,r.UY)({google:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fetching:!1,verifying:!1,verified:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.$F:return(0,i.assign)({},e,{fetching:!0});case s.b6:return(0,i.assign)({},e,{fetching:!1,error:t.error});case s.cz:return(0,i.assign)({},e,{fetching:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,token:t.token,error:null});case s.$d:return(0,i.assign)({},e,{verifying:!0});case s.s9:return(0,i.assign)({},e,{verifying:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,error:null});case s.km:return(0,i.assign)({},e,{verifying:!1,verified:!1,error:t.error});default:return e}}});function a(e){return(0,i.get)(e,"jetpack.siteVerify.google.fetching",!1)}function c(e){return(0,i.get)(e,"jetpack.siteVerify.google.verifying",!1)}function l(e){return!a(e)&&"no_token_for_user"!==(0,i.get)(e,"jetpack.siteVerify.google.error.code",null)}function u(e){return(0,i.get)(e,"jetpack.siteVerify.google.verified",!1)}function p(e){return(0,i.get)(e,"jetpack.siteVerify.google.error",null)}function d(e){return(0,i.get)(e,"jetpack.siteVerify.google.searchConsoleUrl",null)}function h(e){return(0,i.get)(e,"jetpack.siteVerify.google.isOwner",!1)}},74424:function(e,t,n){"use strict";n.d(t,{tO:function(){return s},ij:function(){return o},lA:function(){return a},Z_:function(){return c}});var r=n(67592),i=n(19570);const s=()=>e=>(e({type:r.rQ}),i.ZP.fetchSiteData().then((t=>(e({type:r.fH,siteData:t}),t))).catch((t=>{e({type:r.l9,error:t})}))),o=()=>e=>(e({type:r.Vl}),i.ZP.fetchSiteFeatures().then((t=>(e({type:r.VN,siteFeatures:t}),t))).catch((t=>{e({type:r.g9,error:t})}))),a=()=>e=>(e({type:r.Fe}),i.ZP.getPlans().then((t=>(e({type:r.lt,plans:t}),t))).catch((t=>{e({type:r.Dz,error:t})}))),c=()=>e=>(e({type:r.Ab}),i.ZP.fetchSitePurchases().then((t=>(e({type:r.Ep,purchases:t}),t))).catch((t=>{e({type:r.zO,error:t})})))},88872:function(e,t,n){"use strict";n.d(t,{Jz:function(){return r.Jz},$l:function(){return r.$l},p:function(){return r.p},nl:function(){return r.nl},ms:function(){return r.ms},Vc:function(){return r.Vc},UL:function(){return r.UL},qn:function(){return r.qn},VH:function(){return r.VH},b7:function(){return r.b7},b2:function(){return r.b2},Ic:function(){return r.Ic},o$:function(){return r.o$},VL:function(){return r.VL},jQ:function(){return r.jQ},_5:function(){return r._5},GR:function(){return r.GR},lA:function(){return i.lA},tO:function(){return i.tO},ij:function(){return i.ij},Z_:function(){return i.Z_}});var r=n(17881),i=n(74424)},36583:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var r=n(67592),i=n(19570);const s=()=>e=>(e({type:r.Qm}),i.ZP.fetchPluginsData().then((t=>(e({type:r.XP,pluginsData:t}),t))).catch((t=>{e({type:r.K0,error:t})})))},61744:function(e,t,n){"use strict";n.d(t,{bK:function(){return r.bK},vz:function(){return r.vz},TB:function(){return r.TB},P8:function(){return r.P8},s4:function(){return i.s}});var r=n(40054),i=n(36583)},40054:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},vz:function(){return c},bK:function(){return l},TB:function(){return u},P8:function(){return p}});var r=n(92819),i=n(74978),s=n(67592);const o={isFetchingPluginsData:!1},a=(0,i.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===s.XP?(0,r.assign)({},t.pluginsData):e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.Qm:return(0,r.assign)({},e,{isFetchingPluginsData:!0});case s.K0:case s.XP:return(0,r.assign)({},e,{isFetchingPluginsData:!1});default:return e}}});function c(e){return!!e.jetpack.pluginsData.requests.isFetchingPluginsData}function l(e){return e.jetpack.pluginsData.items}function u(e,t){return e.jetpack.pluginsData.items[t]&&e.jetpack.pluginsData.items[t].active}function p(e,t){return!!e.jetpack.pluginsData.items[t]}},17881:function(e,t,n){"use strict";n.d(t,{I6:function(){return l},Vc:function(){return u},_5:function(){return p},GR:function(){return d},UL:function(){return h},VH:function(){return f},ms:function(){return m},$l:function(){return g},qn:function(){return v},nl:function(){return b},p:function(){return y},b2:function(){return k},Jz:function(){return w},b7:function(){return _},Ic:function(){return E},VL:function(){return C},o$:function(){return S},jQ:function(){return j}});var r=n(74978),i=n(92819),s=n(65736),o=n(81200),a=n(67592);const __=s.__,c={isFetchingSiteData:!1},l=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.fH:return(0,i.assign)({},e,t.siteData);case a.nD:return(0,i.merge)({},e,{site:{benefits:t.siteBenefits}});case a.ar:return(0,i.merge)({},e,{site:{connectedPlugins:t.connectedPlugins}});case a.VN:return(0,i.merge)({},e,{site:{features:t.siteFeatures}});case a.lt:return(0,i.merge)({},e,{sitePlans:t.plans});case a.Ep:return(0,i.merge)({},e,{sitePurchases:t.purchases});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.rQ:return(0,i.assign)({},e,{isFetchingSiteData:!0});case a.Mg:return(0,i.assign)({},e,{isFetchingSiteBenefits:!0});case a.a8:return(0,i.assign)({},e,{isFetchingConnectedPlugins:!0});case a.Vl:return(0,i.assign)({},e,{isFetchingSiteFeatures:!0});case a.Fe:return(0,i.assign)({},e,{isFetchingSitePlans:!0});case a.Ab:return(0,i.assign)({},e,{isFetchingSitePurchases:!0});case a.l9:case a.fH:return(0,i.assign)({},e,{isFetchingSiteData:!1});case a.rw:case a.nD:return(0,i.assign)({},e,{isFetchingSiteBenefits:!1});case a.TR:case a.ar:return(0,i.assign)({},e,{isFetchingConnectedPlugins:!1,isDoneFetchingConnectedPlugins:!0});case a.g9:case a.VN:return(0,i.assign)({},e,{isFetchingSiteFeatures:!1});case a.Dz:case a.lt:return(0,i.assign)({},e,{isFetchingSitePlans:!1});case a.zO:case a.Ep:return(0,i.assign)({},e,{isFetchingSitePurchases:!1});default:return e}},errors:function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(r.type===a.l9){switch(r.error.name){case"ApiError":e="reconnect",t=__("There seems to be a problem with your connection to WordPress.com. If the problem persists, try reconnecting.","jetpack");break;case"JsonParseError":e="support",t=__("Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.","jetpack");break;default:e=null,t=__("There seems to be a problem with your website.","jetpack")}return(0,i.assign)({},n,{message:r.error.hasOwnProperty("response")?r.error.response.message:t,action:e,code:r.error.hasOwnProperty("response")?r.error.response.code:"fetch_site_data_fail_other",data:r.error.hasOwnProperty("response")?r.error.response.data:{}})}return n}});function u(e){return[(0,i.get)(e.jetpack.siteData,["errors"],[])]}function p(e){return!!(e.jetpack.siteData.requests.isFetchingSiteData||e.jetpack.siteData.requests.isFetchingSiteFeatures||e.jetpack.siteData.requests.isFetchingSitePlans||e.jetpack.siteData.requests.isFetchingSitePurchases)}function d(e){return!!e.jetpack.siteData.requests.isFetchingSitePurchases}function h(e){return(0,i.get)(e.jetpack.siteData,["data","plan"],{})}function f(e){return(0,i.get)(e.jetpack.siteData,["data","options","videopress_storage_used"],null)}function m(e){return(0,i.get)(e.jetpack.siteData,["data","site","features","available"],{})}function g(e){return(0,i.get)(e.jetpack.siteData,["data","site","features","active"],[])}function v(e){return(0,i.get)(e.jetpack.siteData,["data","sitePurchases"],[])}function b(e){return v(e).filter((e=>"1"===e.active))}function y(e){return b(e).filter((e=>(0,o.yy)(e.product_slug)))}function k(e){return y(e).length>0}function w(e){return(0,i.find)(y(e),(e=>(0,o.MC)(e.product_slug)))}function _(e){return!!w(e)}function E(e){return!!function(e){return(0,i.find)(y(e),(e=>(0,o.oF)(e.product_slug)))}(e)}function C(e){return!!function(e){return(0,i.find)(b(e),(e=>(0,o.DM)(e.product_slug)))}(e)||"is-complete-plan"===(0,o.sc)(h(e).product_slug)}function S(e){return!!function(e){return(0,i.find)(y(e),(e=>(0,o.Cv)(e.product_slug)))}(e)||"is-complete-plan"===(0,o.sc)(h(e).product_slug)}function j(e){return!!function(e){return(0,i.find)(y(e),(e=>(0,o.ZH)(e.product_slug)))}(e)}},64362:function(e,t,n){"use strict";n.d(t,{$:function(){return a},X:function(){return c}});var r=n(65736),i=n(21094),s=n(67592),o=n(19570);const __=r.__,a=()=>e=>(e({type:s.T}),o.ZP.fetchUserTrackingSettings().then((t=>(e({type:s.X0,settings:t}),t))).catch((t=>{e({type:s.YD,error:t})}))),c=e=>t=>{const n={progress:__("Updating privacy settings…","jetpack"),success:__("Updated privacy settings.","jetpack"),error:e=>(0,r.sprintf)(
+__("Error updating settings. %s","jetpack"),e.message||e.code||e.name||e),...t};"object"==typeof e&&(0,s.some)(["masterbar","jetpack_testimonial","jetpack_portfolio"],(t=>t in e))&&(l.success=__("Updated settings. Refreshing page…","jetpack")),n((0,i.qq)("module-setting-update")),n((0,i.qq)("module-setting-update-success"));const p=["dismiss_dash_app_card","dismiss_empty_stats_card"];return"object"!=typeof e||(0,s.some)(p,(t=>t in e))||n((0,i.iI)("is-info",l.progress,{id:"module-setting-update"})),n({type:a.BX3,updatedOptions:e}),c.ZP.updateSettings(e).then((t=>{n({type:a.FLi,updatedOptions:m(t,e),success:t}),(0,o.DK)(e),(0,o.Uq)(e),n((0,i.qq)("module-setting-update")),n((0,i.qq)("module-setting-update-success")),"object"!=typeof e||(0,s.some)(p,(t=>t in e))||n((0,i.iI)("is-success",l.success,{id:"module-setting-update-success",duration:2e3}))})).catch((t=>{n({type:a.gYU,success:!1,error:t,updatedOptions:e}),n((0,i.qq)("module-setting-update")),n((0,i.iI)("is-error",l.error(t),{id:"module-setting-update"}))}))}};function m(e,t){let n=t;return"regenerate"===(0,s.get)(t,"post_by_email_address")&&(n={post_by_email_address:e.post_by_email_address}),n}},3230:function(e,t,n){"use strict";n.d(t,{$8:function(){return s.$8},Cu:function(){return s.Cu},GD:function(){return s.GD},Gw:function(){return s.Gw},VP:function(){return r.VP},_1:function(){return r._1},a6:function(){return r.a6},g0:function(){return s.g0},p0:function(){return s.p0},qg:function(){return s.qg},vU:function(){return s.vU},wv:function(){return r.wv}});var s=n(1834),r=n(1952)},1834:function(e,t,n){"use strict";n.d(t,{$8:function(){return l},Cu:function(){return p},GD:function(){return m},Gw:function(){return c},I6:function(){return o},g0:function(){return g},p0:function(){return u},qg:function(){return d},vU:function(){return h}});var s=n(835),r=n(2819),i=n(1975);const a={fetchingSettingsList:!1,settingsSent:{},updatedSettings:{}},o=(0,s.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R99:return(0,r.assign)({},e,t.initialState.settings);case i.dSY:return(0,r.assign)({},t.settings);case i.jHC:const n=Object.keys(t.updatedOption)[0];return(0,r.assign)({},e,{[n]:t.updatedOption[n]});case i.FLi:return(0,r.assign)({},e,t.updatedOptions);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.JAC:return(0,r.assign)({},e,{fetchingSettingsList:!0});case i.rYo:case i.dSY:return(0,r.assign)({},e,{fetchingSettingsList:!1});case i.q4m:case i.BX3:return(0,r.merge)({},e,{settingsSent:(0,r.mapValues)(t.updatedOptions,(()=>!0))});case i.QFx:case i.jHC:case i.gYU:case i.FLi:return(0,r.merge)({},e,{settingsSent:(0,r.mapValues)(t.updatedOptions,(()=>!1)),updatedSettings:(0,r.mapValues)(t.updatedOptions,(()=>Boolean(t.success)))});default:return e}},unsavedSettingsFlag:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.NsN:return!0;case i.TIZ:return!1;default:return e}}});function c(e){return e.jetpack.settings.items}function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(""===n||(0,r.get)(e.jetpack.settings.items,n,!1))return(0,r.get)(e.jetpack.settings.items,t,void 0)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"object"==typeof t?(0,r.some)((0,r.filter)(e.jetpack.settings.requests.settingsSent,((e,n)=>(0,r.includes)(t,n))),(e=>e)):e.jetpack.settings.requests.settingsSent[t]}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.jetpack.settings.requests.updatedSettings[t]}function d(e,t){return!!(0,r.get)(e.jetpack.settings.items,[t],!1)}function m(e){return(0,r.get)(e.jetpack.settings,"unsavedSettingsFlag",!1)}function h(e){return(0,r.get)(e.jetpack.settings.items,"dismiss_dash_app_card",!1)}function g(e){return(0,r.get)(e.jetpack.settings.items,"dismiss_empty_stats_card",!1)}},7628:function(e,t,n){"use strict";n.d(t,{I6:function(){return i}});var s=n(835),r=n(1975);const i=(0,s.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.QD8?t.siteProducts:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.Ppo:return{...e,isFetching:!0};case r.QD8:case r.hzW:return{...e,isFetching:!1};default:return e}}})},163:function(e,t,n){"use strict";n.d(t,{Z:function(){return c},n:function(){return o}});var s=n(5736),r=n(1975),i=n(4743),a=n(1549);const __=s.__,o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t=>(t({type:r.$F1}),i.ZP.fetchVerifySiteGoogleStatus(e).then((e=>{if(e.errors&&e.errors.length>0){const n=Object.keys(e.errors)[0],s=e.errors[n];return t({type:r.b6A,error:{code:n,message:s}}),e}return t({type:r.czi,verified:e.verified,token:e.token,isOwner:e.is_owner,searchConsoleUrl:e.google_search_console_url,verificationConsoleUrl:e.google_verification_console_url}),e})).catch((e=>{t({type:r.b6A,error:e.response})})))},c=e=>t=>(t({type:r.$d8}),i.ZP.verifySiteGoogle(e).then((e=>{if(e.errors&&e.errors.length>0){const n=Object.keys(e.errors)[0],s=e.errors[n];return t({type:r.kms,error:{code:n,message:s}}),e}return t({verified:e.verified,isOwner:e.is_owner,searchConsoleUrl:e.google_search_console_url,verificationConsoleUrl:e.google_verification_console_url,type:r.s9K}),e.verified&&t((0,a.iI)("is-success",__("Site is verified","jetpack"),{id:"verify-site-google-verified",duration:2e3})),e})).catch((e=>{t({type:r.kms,error:e.response})})))},7923:function(e,t,n){"use strict";n.d(t,{BH:function(){return s.BH},Zn:function(){return r.Z},_g:function(){return s._g},dO:function(){return s.dO},hr:function(){return s.hr},n:function(){return r.n},nS:function(){return s.nS},nZ:function(){return s.nZ},ou:function(){return s.ou}});var s=n(1410),r=n(163)},1410:function(e,t,n){"use strict";n.d(t,{BH:function(){return c},I6:function(){return a},_g:function(){return d},dO:function(){return m},hr:function(){return l},nS:function(){return p},nZ:function(){return o},ou:function(){return u}});var s=n(835),r=n(2819),i=n(1975);const a=(0,s.UY)({google:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fetching:!1,verifying:!1,verified:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.$F1:return(0,r.assign)({},e,{fetching:!0});case i.b6A:return(0,r.assign)({},e,{fetching:!1,error:t.error});case i.czi:return(0,r.assign)({},e,{fetching:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,token:t.token,error:null});case i.$d8:return(0,r.assign)({},e,{verifying:!0});case i.s9K:return(0,r.assign)({},e,{verifying:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,error:null});case i.kms:return(0,r.assign)({},e,{verifying:!1,verified:!1,error:t.error});default:return e}}});function o(e){return(0,r.get)(e,"jetpack.siteVerify.google.fetching",!1)}function c(e){return(0,r.get)(e,"jetpack.siteVerify.google.verifying",!1)}function l(e){return!o(e)&&"no_token_for_user"!==(0,r.get)(e,"jetpack.siteVerify.google.error.code",null)}function p(e){return(0,r.get)(e,"jetpack.siteVerify.google.verified",!1)}function u(e){return(0,r.get)(e,"jetpack.siteVerify.google.error",null)}function d(e){return(0,r.get)(e,"jetpack.siteVerify.google.searchConsoleUrl",null)}function m(e){return(0,r.get)(e,"jetpack.siteVerify.google.isOwner",!1)}},7619:function(e,t,n){"use strict";n.d(t,{IO:function(){return a},N$:function(){return o},Z_:function(){return p},ij:function(){return c},lA:function(){return l},tO:function(){return i}});var s=n(1975),r=n(4743);const i=()=>e=>(e({type:s.rQ4}),r.ZP.fetchSiteData().then((t=>(e({type:s.fHq,siteData:t}),t))).catch((t=>{e({type:s.l94,error:t})}))),a=()=>e=>(e({type:s.Mg3}),r.ZP.fetchSiteBenefits().then((t=>{e({type:s.nDB,siteBenefits:t})})).catch((t=>{e({type:s.rwn,error:t})}))),o=()=>e=>(e({type:s.Tip}),r.ZP.fetchSiteDiscount().then((t=>{e({type:s.lLu,siteDiscount:t})})).catch((t=>{e({type:s.pmE,error:t})}))),c=()=>e=>(e({type:s.VlO}),r.ZP.fetchSiteFeatures().then((t=>(e({type:s.VN$,siteFeatures:t}),t))).catch((t=>{e({type:s.g9Z,error:t})}))),l=()=>e=>(e({type:s.Few}),r.ZP.getPlans().then((t=>(e({type:s.ltp,plans:t}),t))).catch((t=>{e({type:s.Dze,error:t})}))),p=()=>e=>(e({type:s.Abu}),r.ZP.fetchSitePurchases().then((t=>(e({type:s.EpE,purchases:t}),t))).catch((t=>{e({type:s.zOX,error:t})})))},3002:function(e,t,n){"use strict";n.d(t,{$l:function(){return s.$l},GR:function(){return s.GR},IL:function(){return s.IL},IO:function(){return r.IO},N$:function(){return r.N$},P2:function(){return s.P2},UL:function(){return s.UL},VH:function(){return s.VH},VL:function(){return s.VL},Vc:function(){return s.Vc},Z_:function(){return r.Z_},Zd:function(){return s.Zd},_5:function(){return s._5},b2:function(){return s.b2},bl:function(){return s.bl},ij:function(){return r.ij},lA:function(){return r.lA},ms:function(){return s.ms},nE:function(){return s.nE},nl:function(){return s.nl},nq:function(){return s.nq},p:function(){return s.p},qn:function(){return s.qn},tO:function(){return r.tO},u:function(){return s.u}});var s=n(6876),r=n(7619)},213:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var s=n(1975),r=n(4743);const i=()=>e=>(e({type:s.QmL}),r.ZP.fetchPluginsData().then((t=>(e({type:s.XPw,pluginsData:t}),t))).catch((t=>{e({type:s.K0Z,error:t})})))},1372:function(e,t,n){"use strict";n.d(t,{P8:function(){return s.P8},TB:function(){return s.TB},bK:function(){return s.bK},s4:function(){return r.s},vz:function(){return s.vz}});var s=n(71),r=n(213)},71:function(e,t,n){"use strict";n.d(t,{I6:function(){return o},P8:function(){return u},TB:function(){return p},bK:function(){return l},vz:function(){return c}});var s=n(2819),r=n(835),i=n(1975);const a={isFetchingPluginsData:!1},o=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.XPw?(0,s.assign)({},t.pluginsData):e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.QmL:return(0,s.assign)({},e,{isFetchingPluginsData:!0});case i.K0Z:case i.XPw:return(0,s.assign)({},e,{isFetchingPluginsData:!1});default:return e}}});function c(e){return!!e.jetpack.pluginsData.requests.isFetchingPluginsData}function l(e){return e.jetpack.pluginsData.items}function p(e,t){return e.jetpack.pluginsData.items[t]&&e.jetpack.pluginsData.items[t].active}function u(e,t){return!!e.jetpack.pluginsData.items[t]}},6876:function(e,t,n){"use strict";n.d(t,{$l:function(){return y},GR:function(){return h},I6:function(){return l},IL:function(){return N},P2:function(){return E},UL:function(){return g},VH:function(){return f},VL:function(){return S},Vc:function(){return p},Zd:function(){return m},_5:function(){return u},b2:function(){return j},bl:function(){return d},ms:function(){return _},nE:function(){return x},nl:function(){return b},nq:function(){return v},p:function(){return C},qn:function(){return w},u:function(){return k}});var s=n(835),r=n(2819),i=n(5736),a=n(9584),o=n(1975);const __=i.__,c={isFetchingSiteData:!1},l=(0,s.UY)({data:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case o.fHq:return(0,r.assign)({},t,n.siteData);case o.nDB:return(0,r.merge)({},t,{site:{benefits:n.siteBenefits}});case o.lLu:if(null!==(e=n.siteDiscount)&&void 0!==e&&e.code)return(0,r.merge)({},t,{site:{discount:n.siteDiscount}});case o.arr:return(0,r.merge)({},t,{site:{connectedPlugins:n.connectedPlugins}});case o.VN$:return(0,r.merge)({},t,{site:{features:n.siteFeatures}});case o.ltp:return(0,r.merge)({},t,{sitePlans:n.plans});case o.EpE:return(0,r.merge)({},t,{sitePurchases:n.purchases});default:return t}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.rQ4:return(0,r.assign)({},e,{isFetchingSiteData:!0});case o.Mg3:return(0,r.assign)({},e,{isFetchingSiteBenefits:!0});case o.Tip:return(0,r.assign)({},e,{isFetchingSiteDiscount:!0});case o.a8A:return(0,r.assign)({},e,{isFetchingConnectedPlugins:!0});case o.VlO:return(0,r.assign)({},e,{isFetchingSiteFeatures:!0});case o.Few:return(0,r.assign)({},e,{isFetchingSitePlans:!0});case o.Abu:return(0,r.assign)({},e,{isFetchingSitePurchases:!0});case o.l94:case o.fHq:return(0,r.assign)({},e,{isFetchingSiteData:!1});case o.rwn:case o.nDB:return(0,r.assign)({},e,{isFetchingSiteBenefits:!1});case o.pmE:case o.lLu:return(0,r.assign)({},e,{isFetchingSiteDiscount:!1});case o.TRY:case o.arr:return(0,r.assign)({},e,{isFetchingConnectedPlugins:!1,isDoneFetchingConnectedPlugins:!0});case o.g9Z:case o.VN$:return(0,r.assign)({},e,{isFetchingSiteFeatures:!1});case o.Dze:case o.ltp:return(0,r.assign)({},e,{isFetchingSitePlans:!1});case o.zOX:case o.EpE:return(0,r.assign)({},e,{isFetchingSitePurchases:!1});default:return e}},errors:function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;if(s.type===o.l94){switch(s.error.name){case"ApiError":e="reconnect",t=__("There seems to be a problem with your connection to WordPress.com. If the problem persists, try reconnecting.","jetpack");break;case"JsonParseError":e="support",t=__("Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.","jetpack");break;default:e=null,t=__("There seems to be a problem with your website.","jetpack")}return(0,r.assign)({},n,{message:s.error.hasOwnProperty("response")?s.error.response.message:t,action:e,code:s.error.hasOwnProperty("response")?s.error.response.code:"fetch_site_data_fail_other",data:s.error.hasOwnProperty("response")?s.error.response.data:{}})}return n}});function p(e){return[(0,r.get)(e.jetpack.siteData,["errors"],[])]}function u(e){return!!(e.jetpack.siteData.requests.isFetchingSiteData||e.jetpack.siteData.requests.isFetchingSiteFeatures||e.jetpack.siteData.requests.isFetchingSitePlans||e.jetpack.siteData.requests.isFetchingSitePurchases)}function d(e){return!!e.jetpack.siteData.requests.isFetchingSiteBenefits}function m(e){return!!e.jetpack.siteData.requests.isFetchingSiteDiscount}function h(e){return!!e.jetpack.siteData.requests.isFetchingSitePurchases}function g(e){return(0,r.get)(e.jetpack.siteData,["data","plan"],{})}function f(e){return(0,r.get)(e.jetpack.siteData,["data","options","videopress_storage_used"],null)}function v(e){return(0,r.get)(e.jetpack.siteData,["data","site","benefits"],null)}function k(e){return(0,r.get)(e.jetpack.siteData,["data","site","discount"],{})}function _(e){return(0,r.get)(e.jetpack.siteData,["data","site","features","available"],{})}function y(e){return(0,r.get)(e.jetpack.siteData,["data","site","features","active"],[])}function E(e,t){const n=y(e);return n&&n.indexOf(t)>=0}function w(e){return(0,r.get)(e.jetpack.siteData,["data","sitePurchases"],[])}function b(e){return w(e).filter((e=>"1"===e.active))}function C(e){return b(e).filter((e=>(0,a.yy)(e.product_slug)))}function j(e){return C(e).length>0}function S(e){return!!function(e){return(0,r.find)(b(e),(e=>(0,a.DM)(e.product_slug)))}(e)||"is-complete-plan"===(0,a.sc)(g(e).product_slug)}function N(e){return!!function(e){return(0,r.find)(C(e),(e=>(0,a.EC)(e.product_slug)))}(e)}function x(e){return!!function(e){return(0,r.find)(C(e),(e=>(0,a.Ss)(e.product_slug)))}(e)}},7639:function(e,t,n){"use strict";n.d(t,{$:function(){return o},X:function(){return c}});var s=n(5736),r=n(1549),i=n(1975),a=n(4743);const __=s.__,o=()=>e=>(e({type:i.Tad}),a.ZP.fetchUserTrackingSettings().then((t=>(e({type:i.X0m,settings:t}),t))).catch((t=>{e({type:i.YDM,error:t})}))),c=e=>t=>{const n={progress:__("Updating privacy settings…","jetpack"),success:__("Updated privacy settings.","jetpack"),error:e=>(0,s.sprintf)(
/* translators: placeholder is an error message. */
-__("Error updating privacy settings. %s","jetpack"),e.message||e.code||e.name||e)};return t((0,i.qq)("tracking-settings-update")),t((0,i.qq)("tracking-settings-update-success")),t((0,i.iI)("is-info",n.progress,{id:"tracking-settings-update"})),t({type:s.kK,updatedSettings:e}),o.ZP.updateUserTrackingSettings(e).then((r=>{t({type:s.TB,updatedSettings:e,success:r}),t((0,i.qq)("tracking-settings-update")),t((0,i.qq)("tracking-settings-update-success")),t((0,i.iI)("is-success",n.success,{id:"tracking-settings-update-success",duration:2e3}))})).catch((r=>{t({type:s.rA,updatedSettings:e,success:!1,error:r}),t((0,i.qq)("tracking-settings-update")),t((0,i.qq)("tracking-settings-update-success")),t((0,i.iI)("is-error",n.error(r),{id:"tracking-settings-update"}))}))}},50093:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},AO:function(){return c},ab:function(){return l},Ak:function(){return u}});var r=n(92819),i=n(74978),s=n(67592);const o={fetchingTrackingSettings:!1,updatingTrackingSettings:!1},a=(0,i.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.X0:return(0,r.assign)({},e,t.settings);case s.TB:return(0,r.assign)({},e,t.updatedSettings);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.T:return(0,r.assign)({},e,{fetchingTrackingSettings:!0});case s.YD:case s.X0:return(0,r.assign)({},e,{fetchingTrackingSettings:!1});case s.kK:return(0,r.assign)({},e,{updatingTrackingSettings:!0});case s.rA:case s.TB:return(0,r.assign)({},e,{updatingTrackingSettings:!1});default:return e}}});function c(e){return e.jetpack.trackingSettings.items}function l(e){return e.jetpack.trackingSettings.requests.fetchingTrackingSettings}function u(e){return e.jetpack.trackingSettings.requests.updatingTrackingSettings}},37247:function(e,t,n){"use strict";n.d(t,{f:function(){return C}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(69307),u=n(65736),p=n(71415),d=n(11973),h=n(60742),f=n(94069),m=n(68961),g=n(81200),v=n(55735),b=n(50844),y=n(5e4),k=n(77222),w=n(84277),_=n(27006),E=n(15029);const __=u.__,_x=u._x,C=(0,y.u)(class extends c().Component{constructor(){super(...arguments),o()(this,"updateOptions",(e=>{this.props.updateFormStateModuleOption("wordads",e)})),o()(this,"trackConfigureClick",(()=>{d.Z.tracks.recordJetpackClick("view-earnings")})),o()(this,"trackConfigureWidgetClick",(()=>{d.Z.tracks.recordJetpackClick("place_ad_widget")})),o()(this,"handleChange",(e=>()=>this.updateOptions(e)))}renderAdsTxtSection(){const{getOptionValue:e,isUnavailableInOfflineMode:t}=this.props,n=e("wordads_custom_adstxt_enabled","wordads"),r=e("wordads_custom_adstxt","wordads"),i=e("wordads"),s=t("wordads");return c().createElement(_.Z,{hasChild:!0,support:{text:__("Ads.txt (Authorized Digital Sellers) is a mechanism that enables content owners to declare who is authorized to sell their ad inventory. It’s the formal list of advertising partners you support as a publisher.","jetpack"),link:"https://jetpack.com/support/ads/"}},c().createElement(f.Z,{checked:n,disabled:!i||s||this.props.isSavingAnyOption(["wordads","wordads_custom_adstxt_enabled"]),onChange:this.handleChange("wordads_custom_adstxt_enabled")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Customize your ads.txt file","jetpack"))),n&&c().createElement(v.C_,null,c().createElement("br",null),c().createElement("p",null,i&&(0,l.createInterpolateElement)(__("Jetpack Ads automatically generates a custom <link1>ads.txt</link1> tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. <link2>Check here for more details</link2>.","jetpack"),{link1:c().createElement("a",{href:"/ads.txt",target:"_blank",rel:"noopener noreferrer"}),link2:c().createElement("a",{href:(0,p.Z)("jetpack-how-jetpack-ads-members-can-increase-their-earnings-with-ads-txt"),target:"_blank",rel:"noopener noreferrer"})}),!i&&__("When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.","jetpack")),c().createElement(b.Z,{name:"wordads_custom_adstxt",value:r,disabled:!i||s||this.props.isSavingAnyOption(["wordads","wordads_custom_adstxt"]),onChange:this.props.onOptionChange})))}render(){const e=this.props.getOptionValue("wordads"),t=this.props.isUnavailableInOfflineMode("wordads"),n=this.props.getOptionValue("enable_header_ad","wordads"),r=this.props.getOptionValue("wordads_second_belowpost","wordads"),s=this.props.getOptionValue("wordads_display_front_page","wordads"),o=this.props.getOptionValue("wordads_display_post","wordads"),a=this.props.getOptionValue("wordads_display_page","wordads"),u=this.props.getOptionValue("wordads_display_archive","wordads"),d=this.props.getOptionValue("wordads_ccpa_enabled","wordads"),b=this.props.getOptionValue("wordads_ccpa_privacy_policy_url","wordads"),y=-1!==this.props.siteRawUrl.indexOf("::");return c().createElement(w.Z,i()({},this.props,{header:_x("Ads","Ads header","jetpack"),feature:g.N8,saveDisabled:this.props.isSavingAnyOption(["wordads_custom_adstxt"])}),c().createElement(_.Z,{disableInOfflineMode:!0,hasChild:!0,module:{module:"wordads"},support:{text:__("Displays high-quality ads on your site that allow you to earn income.","jetpack"),link:(0,p.Z)("jetpack-support-ads")}},c().createElement("p",null,__("Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.","jetpack"),c().createElement("br",null),c().createElement("small",{className:"jp-form-setting-explanation"},(0,l.createInterpolateElement)(__("By activating ads, you agree to the Automattic Ads <link>Terms of Service</link>.","jetpack"),{link:c().createElement("a",{href:(0,p.Z)("wpcom-automattic-ads-tos"),target:"_blank",rel:"noopener noreferrer",onClick:this.trackConfigureWidgetClick})}))),c().createElement(k.T,{slug:"wordads",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("wordads"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable ads and display an ad below each post","jetpack"))),c().createElement(v.C_,null,c().createElement(v.Gj,null,__("Display ads below posts on","jetpack")),c().createElement(f.Z,{checked:s,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_display_front_page"]),onChange:this.handleChange("wordads_display_front_page")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Front page","jetpack"))),c().createElement(f.Z,{checked:o,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_display_post"]),onChange:this.handleChange("wordads_display_post")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Posts","jetpack"))),c().createElement(f.Z,{checked:a,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_display_page"]),onChange:this.handleChange("wordads_display_page")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Pages","jetpack"))),c().createElement(f.Z,{checked:u,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_display_archive"]),onChange:this.handleChange("wordads_display_archive")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Archives","jetpack")))),c().createElement(v.C_,null,c().createElement(v.Gj,null,__("Additional ad placements","jetpack")),c().createElement(f.Z,{checked:n,disabled:!e||t||this.props.isSavingAnyOption(["wordads","enable_header_ad"]),onChange:this.handleChange("enable_header_ad")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Top of each page","jetpack"))),c().createElement(f.Z,{checked:r,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_second_belowpost"]),onChange:this.handleChange("wordads_second_belowpost")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Second ad below post","jetpack"))),c().createElement("small",{className:"jp-form-setting-explanation"},e&&(0,l.createInterpolateElement)(__("You can place additional ads using the Ad widget. <link>Try it out!</link>","jetpack"),{link:c().createElement("a",{className:"jp-module-settings__external-link",href:"customize.php?autofocus[panel]=widgets"})})))),c().createElement(_.Z,{hasChild:!0,support:{text:__("Enables a targeted advertising opt-out link for California consumers, as required by the California Consumer Privacy Act (CCPA).","jetpack"),link:this.props.isAtomicSite?(0,p.Z)("wpcom-support-ccpa"):(0,p.Z)("jetpack-support-ads")}},c().createElement(f.Z,{checked:d,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_ccpa_enabled"]),onChange:this.handleChange("wordads_ccpa_enabled")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable targeted advertising to California site visitors (CCPA)","jetpack"))),d&&c().createElement(v.C_,null,c().createElement("p",null,c().createElement("small",{className:"jp-form-setting-explanation"},(0,l.createInterpolateElement)(__("For more information about the California Consumer Privacy Act (CCPA) <br/>and how it pertains to your site, please consult our <link>CCPA guide for site owners</link>.","jetpack"),{br:c().createElement("br",null),link:c().createElement(m.Z,{icon:!0,href:this.props.isAtomicSite?(0,p.Z)("wpcom-support-ccpa"):(0,p.Z)("jetpack-support-ads"),target:"_blank",rel:"noopener noreferrer"})}))),c().createElement("p",null,c().createElement(v.Gj,null,__("Do Not Sell Link","jetpack")),(0,l.createInterpolateElement)(__('CCPA requires that you place a "Do Not Sell My Personal Information" link on every page of your site where targeted advertising will appear. <br/>You can use the <widgetLink>Do Not Sell Link (CCPA) Widget</widgetLink>, or the <code>[ccpa-do-not-sell-link]</code> shortcode to automatically place this link on your site. Note: the link will always display to logged in administrators regardless of geolocation.',"jetpack"),{br:c().createElement("br",null),code:c().createElement("code",null),widgetLink:c().createElement("a",{className:"jp-module-settings__external-link",href:"customize.php?autofocus[panel]=widgets"})}),c().createElement("span",{className:"jp-form-setting-explanation"},__("Failure to add this link will result in non-compliance with CCPA.","jetpack")))),d&&c().createElement(v.C_,null,c().createElement(v.Gj,null,__("Privacy Policy URL","jetpack")),c().createElement(E.Z,{name:"wordads_ccpa_privacy_policy_url",placeholder:"https://",value:b,disabled:!e||t||!d||this.props.isSavingAnyOption(["wordads","wordads_ccpa_privacy_policy_url"]),onChange:this.props.onOptionChange}),c().createElement("span",{className:"jp-form-setting-explanation"},__("Adds a link to your privacy policy to the bottom of the CCPA notice popup (optional).","jetpack")))),!y&&this.renderAdsTxtSection(),!t&&e&&c().createElement(h.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:this.props.configureUrl},__("View your earnings","jetpack")))}})},92897:function(e,t,n){"use strict";n.d(t,{W:function(){return g}});var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(69307),c=n(65736),l=n(71415),u=n(11973),p=n(60742),d=n(81200),h=n(5e4),f=n(84277),m=n(27006);const __=c.__,_x=c._x,g=(0,h.u)(class extends s.Component{trackConfigureClick(){u.Z.tracks.recordJetpackClick("configure-ga")}render(){return o().createElement(f.Z,i()({},this.props,{header:_x("Google Analytics","Settings header","jetpack"),feature:d.r2,hideButton:!0}),o().createElement(m.Z,{disableInOfflineMode:!0,module:{module:"google-analytics"},support:{text:__("Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.","jetpack"),link:(0,l.Z)("jetpack-support-google-analytics")}},(0,a.createInterpolateElement)(__("Google Analytics is a free service that complements our <a>built-in stats</a> with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.","jetpack"),{a:o().createElement("a",{href:(0,l.Z)("calypso-stats-day",{site:this.props.siteRawUrl})})})),!this.props.isUnavailableInOfflineMode("google-analytics")&&o().createElement(p.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:this.props.configureUrl},__("Configure your Google Analytics settings","jetpack")))}})},97640:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(71415),d=n(60742),h=n(93107),f=n(17752),m=n(41147),g=n(19555),v=n(27219),b=n(98692),y=n(92897),k=n(37247),w=n(3625),_=n(38571),E=n(39986),C=n(11031),S=n(95908),j=n(66552);const __=u.__;class M extends c().Component{render(){const e={settings:this.props.settings,siteRawUrl:this.props.siteRawUrl,getModule:this.props.module,isSiteConnected:this.props.isSiteConnected,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,getModuleOverride:this.props.getModuleOverride,hasConnectedOwner:this.props.hasConnectedOwner},t=this.props.isModuleFound("seo-tools"),n=this.props.isModuleFound("wordads"),r=this.props.isModuleFound("stats"),s=this.props.isModuleFound("shortlinks"),o=this.props.isModuleFound("related-posts"),a=this.props.isModuleFound("verification-tools"),l=this.props.isModuleFound("sitemaps"),u=this.props.isModuleFound("google-analytics");return(this.props.searchTerm||this.props.active)&&(t||n||r||s||o||a||l||u)?c().createElement("div",null,c().createElement(v.Z,null),c().createElement(d.Z,{title:this.props.searchTerm?__("Traffic","jetpack"):__("Maximize your site’s visibility in search engines and view traffic stats in real time.","jetpack"),className:"jp-settings-description"}),n&&c().createElement(k.f,i()({},e,{isAtomicSite:this.props.isAtomicSite,configureUrl:(0,p.Z)("calypso-stats-ads-day",{site:this.props.siteRawUrl})})),o&&c().createElement(E.Z,i()({},e,{configureUrl:this.props.siteAdminUrl+"customize.php?autofocus[section]=jetpack_relatedposts&return="+encodeURIComponent(this.props.siteAdminUrl+"admin.php?page=jetpack#/traffic")+"&url="+encodeURIComponent(this.props.lastPostUrl)})),t&&c().createElement(b.ZP,i()({},e,{configureUrl:(0,p.Z)("calypso-marketing-traffic",{site:this.props.siteRawUrl,anchor:"seo"})})),u&&c().createElement(y.W,i()({},e,{configureUrl:(0,p.Z)("calypso-marketing-traffic",{site:this.props.siteRawUrl,anchor:"analytics"})})),r&&c().createElement(w.V,e),s&&c().createElement(_.Z,e),l&&c().createElement(S.Z,e),a&&c().createElement(C.W,e)):null}}o()(M,"displayName","TrafficSettings"),t.Z=(0,l.$j)((e=>({module:t=>(0,h.rT)(e,t),settings:(0,f.Gw)(e),isOfflineMode:(0,m.Ex)(e),isUnavailableInOfflineMode:t=>(0,m.t_)(e,t),isModuleFound:t=>(0,g.CX)(e,t),isSiteConnected:(0,m.q7)(e),lastPostUrl:(0,j.Z2)(e),getModuleOverride:t=>(0,h.Qy)(e,t),isAtomicSite:(0,j.Ug)(e),hasConnectedOwner:(0,m.it)(e)})))(M)},39986:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(69307),u=n(65736),p=n(71415),d=n(11973),h=n(60742),f=n(94069),m=n(55735),g=n(77222),v=n(5e4),b=n(84277),y=n(27006);const __=u.__,_x=u._x;class k extends c().Component{constructor(){super(...arguments),o()(this,"state",{show_headline:this.props.getOptionValue("show_headline","related-posts"),show_thumbnails:this.props.getOptionValue("show_thumbnails","related-posts")}),o()(this,"updateOptions",(e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("related-posts",e))})),o()(this,"handleShowHeadlineToggleChange",(()=>{this.updateOptions("show_headline")})),o()(this,"handleShowThumbnailsToggleChange",(()=>{this.updateOptions("show_thumbnails")})),o()(this,"trackConfigureClick",(()=>{d.Z.tracks.recordJetpackClick("configure-related-posts")}))}render(){const e=this.props.getOptionValue("related-posts"),t=this.props.isUnavailableInOfflineMode("related-posts");return c().createElement(b.Z,i()({},this.props,{hideButton:!0,module:"related-posts"}),c().createElement(y.Z,{hasChild:!0,disableInOfflineMode:!0,module:this.props.getModule("related-posts"),support:{text:__("The feature helps visitors find more of your content by displaying related posts at the bottom of each post.","jetpack"),link:(0,p.Z)("jetpack-support-related-posts")}},c().createElement("p",null,(0,l.createInterpolateElement)(__("Keep your visitors engaged with related content at the bottom of each post. These settings won’t apply to <a>related posts added using the block editor</a>.","jetpack"),{a:c().createElement("a",{href:(0,p.Z)("jetpack-support-jetpack-blocks-related-posts-block"),target:"_blank",rel:"noopener noreferrer"})})),c().createElement(g.T,{slug:"related-posts",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("related-posts"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Show related content after posts","jetpack"))),c().createElement(m.C_,null,c().createElement(f.Z,{checked:this.state.show_headline,disabled:!e||t||this.props.isSavingAnyOption(["related-posts","show_headline"]),onChange:this.handleShowHeadlineToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Highlight related content with a heading","jetpack"))),c().createElement(f.Z,{checked:this.state.show_thumbnails,disabled:!e||t||this.props.isSavingAnyOption(["related-posts","show_thumbnails"]),onChange:this.handleShowThumbnailsToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Show a thumbnail image where available","jetpack"))),e&&c().createElement("div",null,c().createElement(m.lX,{className:"jp-form-label-wide"},_x("Preview","A header for a preview area in the configuration screen.","jetpack")),c().createElement(h.Z,{className:"jp-related-posts-preview"},this.state.show_headline&&c().createElement("div",{className:"jp-related-posts-preview__title"},__("Related","jetpack")),[{url:"cat-blog.png",text:__("Big iPhone/iPad Update Now Available","jetpack"),context:_x('In "Mobile"',"It refers to the category where a post was found. Used in an example preview.","jetpack")},{url:"devices.jpg",text:__("The WordPress for Android App Gets a Big Facelift","jetpack"),context:_x('In "Mobile"',"It refers to the category where a post was found. Used in an example preview.","jetpack")},{url:"mobile-wedding.jpg",text:__("Upgrade Focus: VideoPress For Weddings","jetpack"),context:_x('In "Upgrade"',"It refers to the category where a post was found. Used in an example preview.","jetpack")}].map(((e,t)=>c().createElement("div",{key:`preview_${t}`,className:"jp-related-posts-preview__item"},this.state.show_thumbnails&&c().createElement("img",{src:`https://jetpackme.files.wordpress.com/2019/03/${e.url}`,alt:e.text}),c().createElement("h4",{className:"jp-related-posts-preview__post-title"},c().createElement("a",{href:"#/traffic"},e.text)),c().createElement("p",{className:"jp-related-posts-preview__post-context"},e.context)))))))),!this.props.isUnavailableInOfflineMode("related-posts")&&e&&c().createElement(h.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:this.props.configureUrl},__("Configure related posts in the Customizer","jetpack")))}}const w=(0,v.u)(k)},98692:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(80505),d=n(52489),h=n(79465),f=n(62470),m=n(89105),g=n.n(m),v=n(71415),b=n(5e4),y=n(84277),k=n(27006),w=n(77222),_=n(55735),E=n(78919),C=n(47349),S=n(88001),j=n(61744),M=n(9913);const __=u.__,_x=u._x,_n=u._n,x=[{name:"Yoast SEO",slug:"wordpress-seo/wp-seo.php"},{name:"Yoast SEO Premium",slug:"wordpress-seo-premium/wp-seo-premium.php"},{name:"All In One SEO Pack",slug:"all-in-one-seo-pack/all_in_one_seo_pack.php"},{name:"All in One SEO Pack Pro",slug:"all-in-one-seo-pack-pro/all_in_one_seo_pack.php"}],N=(0,b.u)(class extends a.Component{constructor(){super(...arguments),o()(this,"constants",{frontPageMetaMaxLength:300,frontPageMetaSuggestedLength:159,moduleOptionsArray:["advanced_seo_front_page_description","advanced_seo_title_formats"],siteIconPreviewSize:512}),o()(this,"SocialPreviewGoogle",(e=>c().createElement(p.Z,{title:e.title,url:e.url,description:e.frontPageMetaDescription}))),o()(this,"SocialPreviewFacebook",(e=>c().createElement(d.Z,{title:e.title,url:e.url,type:"website",description:e.frontPageMetaDescription,image:e.image}))),o()(this,"SocialPreviewTwitter",(e=>c().createElement(h.Z,{title:e.title,url:e.url,type:"summary",description:e.frontPageMetaDescription,image:e.image}))),o()(this,"updateCustomSeoTitleInputState",(e=>{this.props.updateFormStateOptionValue("advanced_seo_title_formats",e)})),o()(this,"saveButton",(e=>{const t=this.props.isSavingAnyOption(this.constants.moduleOptionsArray);return c().createElement(M.Z,{primary:!0,compact:!0,type:"submit",disabled:t||!e.isDirty()},t?_x("Saving…","Button caption","jetpack"):_x("Save settings","Button caption","jetpack",0))}))}render(){const e=this.props.isOfflineMode,t=this.props.getModule("seo-tools"),n=this.props.getOptionValue(t.module),r=this.props.getOptionValue("advanced_seo_title_formats"),s=this.props.getOptionValue("advanced_seo_front_page_description"),o={title:this.props.siteData.name||"",tagline:this.props.siteData.description||"",url:this.props.siteData.URL||"",frontPageMetaDescription:s||(this.props.siteData.description||""),image:this.props.siteData.icon?.img?`${this.props.siteData.icon.img}?s=${this.constants.siteIconPreviewSize}`:""},a=x.reduce(((e,t)=>((0,j.TB)(this.props.state,t.slug)&&e.push(t),e)),[]),l=a.length>0,p=g()({"jp-seo-front-page-description-count":!0,"jp-seo-front-page-description-count-max":s.length>=this.constants.frontPageMetaMaxLength,"jp-seo-front-page-description-count-warn":s.length>this.constants.frontPageMetaSuggestedLength&&s.length<this.constants.frontPageMetaMaxLength});return c().createElement(y.Z,i()({},this.props,{header:_x("Search engine optimization","Settings header","jetpack"),feature:"seo-tools-jetpack",module:t.module,saveDisabled:this.props.isSavingAnyOption(this.constants.moduleOptionsArray),hideButton:l}),c().createElement(k.Z,{disableInOfflineMode:!0,module:{module:"seo-tools"},support:{text:__("Allows you to optimize your site and its content for better results in search engines.","jetpack"),link:(0,v.Z)("jetpack-support-seo-tools")}},l&&c().createElement(S.Z,{showDismiss:!1},(0,u.sprintf)(
+__("Error updating privacy settings. %s","jetpack"),e.message||e.code||e.name||e)};return t((0,r.qq)("tracking-settings-update")),t((0,r.qq)("tracking-settings-update-success")),t((0,r.iI)("is-info",n.progress,{id:"tracking-settings-update"})),t({type:i.kK9,updatedSettings:e}),a.ZP.updateUserTrackingSettings(e).then((s=>{t({type:i.TBz,updatedSettings:e,success:s}),t((0,r.qq)("tracking-settings-update")),t((0,r.qq)("tracking-settings-update-success")),t((0,r.iI)("is-success",n.success,{id:"tracking-settings-update-success",duration:2e3}))})).catch((s=>{t({type:i.rAK,updatedSettings:e,success:!1,error:s}),t((0,r.qq)("tracking-settings-update")),t((0,r.qq)("tracking-settings-update-success")),t((0,r.iI)("is-error",n.error(s),{id:"tracking-settings-update"}))}))}},775:function(e,t,n){"use strict";n.d(t,{AO:function(){return c},Ak:function(){return p},I6:function(){return o},ab:function(){return l}});var s=n(2819),r=n(835),i=n(1975);const a={fetchingTrackingSettings:!1,updatingTrackingSettings:!1},o=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.X0m:return(0,s.assign)({},e,t.settings);case i.TBz:return(0,s.assign)({},e,t.updatedSettings);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Tad:return(0,s.assign)({},e,{fetchingTrackingSettings:!0});case i.YDM:case i.X0m:return(0,s.assign)({},e,{fetchingTrackingSettings:!1});case i.kK9:return(0,s.assign)({},e,{updatingTrackingSettings:!0});case i.rAK:case i.TBz:return(0,s.assign)({},e,{updatingTrackingSettings:!1});default:return e}}});function c(e){return e.jetpack.trackingSettings.items}function l(e){return e.jetpack.trackingSettings.requests.fetchingTrackingSettings}function p(e){return e.jetpack.trackingSettings.requests.updatingTrackingSettings}},8159:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var s=n(1975),r=n(4743);const i=()=>e=>(e({type:s.Y5l}),r.ZP.fetchWafSettings().then((t=>(e({type:s.Oth,settings:t}),t))).catch((t=>{e({type:s.krc,error:t})})))},2948:function(e,t,n){"use strict";n.d(t,{I6:function(){return s.I6},Iv:function(){return r.I},vd:function(){return s.vd}});var s=n(6725),r=n(8159)},6725:function(e,t,n){"use strict";n.d(t,{I6:function(){return o},Rp:function(){return l},m9:function(){return p},vd:function(){return c}});var s=n(835),r=n(2819),i=n(1975);const a={isFetchingWafSettings:!1},o=(0,s.UY)({data:function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;return s.type===i.Oth?(0,r.assign)({},n,{bootstrapPath:null===(e=s.settings)||void 0===e?void 0:e.bootstrapPath,hasRulesAccess:null===(t=s.settings)||void 0===t?void 0:t.hasRulesAccess}):n},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Y5l:return(0,r.assign)({},e,{isFetchingWafSettings:!0});case i.Oth:case i.krc:return(0,r.assign)({},e,{isFetchingWafSettings:!1});default:return e}}});function c(e){return!!e.jetpack.waf.requests.isFetchingWafSettings}function l(e){return(0,r.get)(e.jetpack.waf,["data","bootstrapPath"],"")}function p(e){return(0,r.get)(e.jetpack.waf,["data","hasRulesAccess"],!1)}},5494:function(e,t,n){"use strict";n.d(t,{f:function(){return C}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9307),p=n(5736),u=n(6324),d=n(5609),m=n(4069),h=n(5799),g=n(1674),f=n(9584),v=n(1775),k=n(5936),_=n(2353),y=n(5004),E=n(3806),w=n(8178),b=n(5549);const __=p.__,_x=p._x,C=(0,_.u)(class extends c().Component{constructor(){super(...arguments),a()(this,"updateOptions",(e=>{this.props.updateFormStateModuleOption("wordads",e)})),a()(this,"trackConfigureClick",(()=>{m.Z.tracks.recordJetpackClick("view-earnings")})),a()(this,"trackConfigureWidgetClick",(()=>{m.Z.tracks.recordJetpackClick("place_ad_widget")})),a()(this,"handleChange",(e=>()=>this.updateOptions(e)))}renderAdsTxtSection(){const{getOptionValue:e,isUnavailableInOfflineMode:t}=this.props,n=e("wordads_custom_adstxt_enabled","wordads"),s=e("wordads_custom_adstxt","wordads"),r=e("wordads"),i=t("wordads");return c().createElement(w.Z,{hasChild:!0,support:{text:__("Ads.txt (Authorized Digital Sellers) is a mechanism that enables content owners to declare who is authorized to sell their ad inventory. It’s the formal list of advertising partners you support as a publisher.","jetpack"),link:"https://jetpack.com/support/ads/"}},c().createElement(g.Z,{checked:n,disabled:!r||i||this.props.isSavingAnyOption(["wordads","wordads_custom_adstxt_enabled"]),onChange:this.handleChange("wordads_custom_adstxt_enabled")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Customize your ads.txt file","jetpack"))),n&&c().createElement(v.C_,null,c().createElement("br",null),c().createElement("p",null,r&&(0,l.createInterpolateElement)(__("WordAds automatically generates a custom <link1>ads.txt</link1> tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. <link2>Check here for more details</link2>.","jetpack"),{link1:c().createElement("a",{href:"/ads.txt",target:"_blank",rel:"noopener noreferrer"}),link2:c().createElement("a",{href:(0,u.Z)("jetpack-how-jetpack-ads-members-can-increase-their-earnings-with-ads-txt"),target:"_blank",rel:"noopener noreferrer"})}),!r&&__("When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.","jetpack")),c().createElement(k.Z,{name:"wordads_custom_adstxt",value:s,disabled:!r||i||this.props.isSavingAnyOption(["wordads","wordads_custom_adstxt"]),onChange:this.props.onOptionChange})))}render(){const e=this.props.getOptionValue("wordads"),t=this.props.isUnavailableInOfflineMode("wordads"),n=this.props.getOptionValue("enable_header_ad","wordads"),s=this.props.getOptionValue("wordads_second_belowpost","wordads"),i=this.props.getOptionValue("wordads_display_front_page","wordads"),a=this.props.getOptionValue("wordads_display_post","wordads"),o=this.props.getOptionValue("wordads_display_page","wordads"),p=this.props.getOptionValue("wordads_display_archive","wordads"),m=this.props.getOptionValue("wordads_ccpa_enabled","wordads"),k=this.props.getOptionValue("wordads_ccpa_privacy_policy_url","wordads"),_=-1!==this.props.siteRawUrl.indexOf("::");return c().createElement(E.Z,r()({},this.props,{header:_x("Ads","Ads header","jetpack"),feature:f.N8,saveDisabled:this.props.isSavingAnyOption(["wordads_custom_adstxt"])}),c().createElement(w.Z,{disableInOfflineMode:!0,hasChild:!0,module:{module:"wordads"},support:{text:__("Displays high-quality ads on your site that allow you to earn income.","jetpack"),link:(0,u.Z)("jetpack-support-ads")}},c().createElement("p",null,__("Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.","jetpack"),c().createElement("br",null),c().createElement("small",{className:"jp-form-setting-explanation"},(0,l.createInterpolateElement)(__("By activating ads, you agree to the Automattic Ads <link>Terms of Service</link>.","jetpack"),{link:c().createElement("a",{href:(0,u.Z)("wpcom-automattic-ads-tos"),target:"_blank",rel:"noopener noreferrer",onClick:this.trackConfigureWidgetClick})}))),c().createElement(y.T,{slug:"wordads",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("wordads"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable ads and display an ad below each post","jetpack"))),c().createElement(v.C_,null,c().createElement(v.Gj,null,__("Display ads below posts on","jetpack")),c().createElement(g.Z,{checked:i,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_display_front_page"]),onChange:this.handleChange("wordads_display_front_page")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Front page","jetpack"))),c().createElement(g.Z,{checked:a,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_display_post"]),onChange:this.handleChange("wordads_display_post")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Posts","jetpack"))),c().createElement(g.Z,{checked:o,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_display_page"]),onChange:this.handleChange("wordads_display_page")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Pages","jetpack"))),c().createElement(g.Z,{checked:p,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_display_archive"]),onChange:this.handleChange("wordads_display_archive")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Archives","jetpack")))),c().createElement(v.C_,null,c().createElement(v.Gj,null,__("Additional ad placements","jetpack")),c().createElement(g.Z,{checked:n,disabled:!e||t||this.props.isSavingAnyOption(["wordads","enable_header_ad"]),onChange:this.handleChange("enable_header_ad")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Top of each page","jetpack"))),c().createElement(g.Z,{checked:s,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_second_belowpost"]),onChange:this.handleChange("wordads_second_belowpost")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Second ad below post","jetpack"))))),c().createElement(w.Z,{hasChild:!0,support:{text:__("Enables a targeted advertising opt-out link for California consumers, as required by the California Consumer Privacy Act (CCPA).","jetpack"),link:this.props.isAtomicSite?(0,u.Z)("wpcom-support-ccpa"):(0,u.Z)("jetpack-support-ads")}},c().createElement(g.Z,{checked:m,disabled:!e||t||this.props.isSavingAnyOption(["wordads","wordads_ccpa_enabled"]),onChange:this.handleChange("wordads_ccpa_enabled")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable targeted advertising to California site visitors (CCPA)","jetpack"))),m&&c().createElement(v.C_,null,c().createElement("p",null,c().createElement("small",{className:"jp-form-setting-explanation"},(0,l.createInterpolateElement)(__("For more information about the California Consumer Privacy Act (CCPA) <br/>and how it pertains to your site, please consult our <link>CCPA guide for site owners</link>.","jetpack"),{br:c().createElement("br",null),link:c().createElement(d.ExternalLink,{href:this.props.isAtomicSite?(0,u.Z)("wpcom-support-ccpa"):(0,u.Z)("jetpack-support-ads"),rel:"noopener noreferrer"})}))),c().createElement("p",null,c().createElement(v.Gj,null,__("Do Not Sell Link","jetpack")),(0,l.createInterpolateElement)(__('CCPA requires that you place a "Do Not Sell My Personal Information" link on every page of your site where targeted advertising will appear. <br/>You can use the <widgetLink>Do Not Sell Link (CCPA) Widget</widgetLink>, or the <code>[ccpa-do-not-sell-link]</code> shortcode to automatically place this link on your site. Note: the link will always display to logged in administrators regardless of geolocation.',"jetpack"),{br:c().createElement("br",null),code:c().createElement("code",null),widgetLink:c().createElement("a",{className:"jp-module-settings__external-link",href:"customize.php?autofocus[panel]=widgets"})}),c().createElement("span",{className:"jp-form-setting-explanation"},__("Failure to add this link will result in non-compliance with CCPA.","jetpack")))),m&&c().createElement(v.C_,null,c().createElement(v.Gj,null,__("Privacy Policy URL","jetpack")),c().createElement(b.Z,{name:"wordads_ccpa_privacy_policy_url",placeholder:"https://",value:k,disabled:!e||t||!m||this.props.isSavingAnyOption(["wordads","wordads_ccpa_privacy_policy_url"]),onChange:this.props.onOptionChange}),c().createElement("span",{className:"jp-form-setting-explanation"},__("Adds a link to your privacy policy to the bottom of the CCPA notice popup (optional).","jetpack")))),!_&&this.renderAdsTxtSection(),!t&&e&&c().createElement(h.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:this.props.configureUrl},__("View your earnings","jetpack")))}})},5248:function(e,t,n){"use strict";n.d(t,{W:function(){return f}});var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(9307),c=n(5736),l=n(6324),p=n(4069),u=n(5799),d=n(9584),m=n(2353),h=n(3806),g=n(8178);const __=c.__,_x=c._x,f=(0,m.u)(class extends i.Component{trackConfigureClick(){p.Z.tracks.recordJetpackClick("configure-ga")}render(){return a().createElement(h.Z,r()({},this.props,{header:_x("Google Analytics","Settings header","jetpack"),feature:d.r2,hideButton:!0}),a().createElement(g.Z,{disableInOfflineMode:!0,module:{module:"google-analytics"},support:{text:__("Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.","jetpack"),link:(0,l.Z)("jetpack-support-google-analytics")}},(0,o.createInterpolateElement)(__("Google Analytics is a free service that complements our <a>built-in stats</a> with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.","jetpack"),{a:a().createElement("a",{href:(0,l.Z)("calypso-stats-day",{site:this.props.siteRawUrl})})})),!this.props.isUnavailableInOfflineMode("google-analytics")&&a().createElement(u.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:this.props.configureUrl},__("Configure your Google Analytics settings","jetpack")))}})},7889:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(6324),d=n(5799),m=n(416),h=n(3230),g=n(6300),f=n(9292),v=n(9270),k=n(4531),_=n(5248),y=n(5494),E=n(5847),w=n(1659),b=n(2552),C=n(5262),j=n(6077),S=n(9508);const __=p.__;class N extends c().Component{render(){const e={settings:this.props.settings,siteRawUrl:this.props.siteRawUrl,getModule:this.props.module,isSiteConnected:this.props.isSiteConnected,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,getModuleOverride:this.props.getModuleOverride,hasConnectedOwner:this.props.hasConnectedOwner},t=this.props.isModuleFound("seo-tools"),n=this.props.isModuleFound("wordads"),s=this.props.isModuleFound("stats"),i=this.props.isModuleFound("shortlinks"),a=this.props.isModuleFound("related-posts"),o=this.props.isModuleFound("verification-tools"),l=this.props.isModuleFound("sitemaps"),p=this.props.isModuleFound("google-analytics");return(this.props.searchTerm||this.props.active)&&(t||n||s||i||a||o||l||p)?c().createElement("div",null,c().createElement(v.Z,null),c().createElement(d.Z,{title:this.props.searchTerm?__("Traffic","jetpack"):__("Maximize your site’s visibility in search engines and view traffic stats in real time.","jetpack"),className:"jp-settings-description"}),n&&c().createElement(y.f,r()({},e,{isAtomicSite:this.props.isAtomicSite,configureUrl:(0,u.Z)("calypso-stats-ads-day",{site:this.props.siteRawUrl})})),a&&c().createElement(b.Z,r()({},e,{configureUrl:this.props.siteAdminUrl+"customize.php?autofocus[section]=jetpack_relatedposts&return="+encodeURIComponent(this.props.siteAdminUrl+"admin.php?page=jetpack#/traffic")+"&url="+encodeURIComponent(this.props.lastPostUrl)})),t&&c().createElement(k.ZP,r()({},e,{configureUrl:(0,u.Z)("calypso-marketing-traffic",{site:this.props.siteRawUrl,anchor:"seo"})})),p&&c().createElement(_.W,r()({},e,{configureUrl:(0,u.Z)("calypso-marketing-traffic",{site:this.props.siteRawUrl,anchor:"analytics"})})),s&&c().createElement(E.V,e),i&&c().createElement(w.Z,e),l&&c().createElement(j.Z,e),o&&c().createElement(C.W,e)):null}}a()(N,"displayName","TrafficSettings"),t.Z=(0,l.$j)((e=>({module:t=>(0,m.rT)(e,t),settings:(0,h.Gw)(e),isOfflineMode:(0,g.Ex)(e),isUnavailableInOfflineMode:t=>(0,g.t_)(e,t),isModuleFound:t=>(0,f.CX)(e,t),isSiteConnected:(0,g.q7)(e),lastPostUrl:(0,S.Z2)(e),getModuleOverride:t=>(0,m.Qy)(e,t),isAtomicSite:(0,S.Ug)(e),hasConnectedOwner:(0,g.it)(e)})))(N)},2552:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9307),p=n(5736),u=n(6324),d=n(4069),m=n(5799),h=n(1674),g=n(1775),f=n(5004),v=n(2353),k=n(3806),_=n(8178);const __=p.__,_x=p._x;class y extends c().Component{constructor(){super(...arguments),a()(this,"state",{show_headline:this.props.getOptionValue("show_headline","related-posts"),show_thumbnails:this.props.getOptionValue("show_thumbnails","related-posts")}),a()(this,"updateOptions",(e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("related-posts",e))})),a()(this,"handleShowHeadlineToggleChange",(()=>{this.updateOptions("show_headline")})),a()(this,"handleShowThumbnailsToggleChange",(()=>{this.updateOptions("show_thumbnails")})),a()(this,"trackConfigureClick",(()=>{d.Z.tracks.recordJetpackClick("configure-related-posts")}))}render(){const e=this.props.getOptionValue("related-posts"),t=this.props.isUnavailableInOfflineMode("related-posts");return c().createElement(k.Z,r()({},this.props,{hideButton:!0,module:"related-posts"}),c().createElement(_.Z,{hasChild:!0,disableInOfflineMode:!0,module:this.props.getModule("related-posts"),support:{text:__("The feature helps visitors find more of your content by displaying related posts at the bottom of each post.","jetpack"),link:(0,u.Z)("jetpack-support-related-posts")}},c().createElement("p",null,(0,l.createInterpolateElement)(__("Keep your visitors engaged with related content at the bottom of each post. These settings won’t apply to <a>related posts added using the block editor</a>.","jetpack"),{a:c().createElement("a",{href:(0,u.Z)("jetpack-support-jetpack-blocks-related-posts-block"),target:"_blank",rel:"noopener noreferrer"})})),c().createElement(f.T,{slug:"related-posts",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("related-posts"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Show related content after posts","jetpack"))),c().createElement(g.C_,null,c().createElement(h.Z,{checked:this.state.show_headline,disabled:!e||t||this.props.isSavingAnyOption(["related-posts","show_headline"]),onChange:this.handleShowHeadlineToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Highlight related content with a heading","jetpack"))),c().createElement(h.Z,{checked:this.state.show_thumbnails,disabled:!e||t||this.props.isSavingAnyOption(["related-posts","show_thumbnails"]),onChange:this.handleShowThumbnailsToggleChange},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Show a thumbnail image where available","jetpack"))),e&&c().createElement("div",null,c().createElement(g.lX,{className:"jp-form-label-wide"},_x("Preview","A header for a preview area in the configuration screen.","jetpack")),c().createElement(m.Z,{className:"jp-related-posts-preview"},this.state.show_headline&&c().createElement("div",{className:"jp-related-posts-preview__title"},__("Related","jetpack")),[{url:"cat-blog.png",text:__("Big iPhone/iPad Update Now Available","jetpack"),context:_x('In "Mobile"',"It refers to the category where a post was found. Used in an example preview.","jetpack")},{url:"devices.jpg",text:__("The WordPress for Android App Gets a Big Facelift","jetpack"),context:_x('In "Mobile"',"It refers to the category where a post was found. Used in an example preview.","jetpack")},{url:"mobile-wedding.jpg",text:__("Upgrade Focus: VideoPress For Weddings","jetpack"),context:_x('In "Upgrade"',"It refers to the category where a post was found. Used in an example preview.","jetpack")}].map(((e,t)=>c().createElement("div",{key:`preview_${t}`,className:"jp-related-posts-preview__item"},this.state.show_thumbnails&&c().createElement("img",{src:`https://jetpackme.files.wordpress.com/2019/03/${e.url}`,alt:e.text}),c().createElement("h4",{className:"jp-related-posts-preview__post-title"},c().createElement("a",{href:"#/traffic"},e.text)),c().createElement("p",{className:"jp-related-posts-preview__post-context"},e.context)))))))),!this.props.isUnavailableInOfflineMode("related-posts")&&e&&c().createElement(m.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:this.props.configureUrl},__("Configure related posts in the Customizer","jetpack")))}}const E=(0,v.u)(y)},4531:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(7143),d=n(9988),m=n(149),h=n(2659),g=n(5235),f=n.n(g),v=n(6324),k=n(2353),_=n(3806),y=n(8178),E=n(5004),w=n(1775),b=n(860),C=n(4427),j=n(1668),S=n(1372),N=n(7506);const __=p.__,_x=p._x,_n=p._n,x=[{name:"Yoast SEO",slug:"wordpress-seo/wp-seo.php"},{name:"Yoast SEO Premium",slug:"wordpress-seo-premium/wp-seo-premium.php"},{name:"All In One SEO Pack",slug:"all-in-one-seo-pack/all_in_one_seo_pack.php"},{name:"All in One SEO Pack Pro",slug:"all-in-one-seo-pack-pro/all_in_one_seo_pack.php"}],T=(0,k.u)(class extends o.Component{constructor(){super(...arguments),a()(this,"constants",{frontPageMetaMaxLength:300,frontPageMetaSuggestedLength:159,moduleOptionsArray:["advanced_seo_front_page_description","advanced_seo_title_formats"],siteIconPreviewSize:512}),a()(this,"SocialPreviewGoogle",(e=>c().createElement(u.Z,{title:e.title,url:e.url,description:e.frontPageMetaDescription}))),a()(this,"SocialPreviewFacebook",(e=>c().createElement(d.Z,{title:e.title,url:e.url,type:"website",description:e.frontPageMetaDescription,image:e.image}))),a()(this,"SocialPreviewTwitter",(e=>c().createElement(m.Z,{title:e.title,url:e.url,type:"summary",description:e.frontPageMetaDescription,image:e.image}))),a()(this,"updateCustomSeoTitleInputState",(e=>{this.props.updateFormStateOptionValue("advanced_seo_title_formats",e)})),a()(this,"saveButton",(e=>{const t=this.props.isSavingAnyOption(this.constants.moduleOptionsArray);return c().createElement(N.Z,{primary:!0,compact:!0,type:"submit",disabled:t||!e.isDirty()},t?_x("Saving…","Button caption","jetpack"):_x("Save settings","Button caption","jetpack",0))}))}render(){var e;const t=this.props.isOfflineMode,n=this.props.getModule("seo-tools"),s=this.props.getOptionValue(n.module),i=this.props.getOptionValue("advanced_seo_title_formats"),a=this.props.getOptionValue("advanced_seo_front_page_description"),o={title:this.props.siteData.name||"",tagline:this.props.siteData.description||"",url:this.props.siteData.URL||"",frontPageMetaDescription:a||(this.props.siteData.description||""),image:null!==(e=this.props.siteData.icon)&&void 0!==e&&e.img?`${this.props.siteData.icon.img}?s=${this.constants.siteIconPreviewSize}`:""},l=x.reduce(((e,t)=>((0,S.TB)(this.props.state,t.slug)&&e.push(t),e)),[]),u=l.length>0,d=f()({"jp-seo-front-page-description-count":!0,"jp-seo-front-page-description-count-max":a.length>=this.constants.frontPageMetaMaxLength,"jp-seo-front-page-description-count-warn":a.length>this.constants.frontPageMetaSuggestedLength&&a.length<this.constants.frontPageMetaMaxLength});return c().createElement(_.Z,r()({},this.props,{header:_x("Search engine optimization","Settings header","jetpack"),feature:"seo-tools-jetpack",module:n.module,saveDisabled:this.props.isSavingAnyOption(this.constants.moduleOptionsArray),hideButton:u}),c().createElement(y.Z,{disableInOfflineMode:!0,module:{module:"seo-tools"},support:{text:__("Allows you to optimize your site and its content for better results in search engines.","jetpack"),link:(0,v.Z)("jetpack-support-seo-tools")}},u&&c().createElement(j.Z,{showDismiss:!1},(0,p.sprintf)(
/* translators: %s is the name of conflicting SEO plugin */
-__("Your SEO settings are managed by the following plugin: %s","jetpack"),a[0].name)),c().createElement("p",null,__("Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.","jetpack")),c().createElement(w.T,{slug:"seo-tools",activated:n,toggling:this.props.isSavingAnyOption(t.module),disabled:this.props.isSavingAnyOption(this.constants.moduleOptionsArray)||l,toggleModule:this.props.toggleModuleNow},__("Customize your SEO settings","jetpack"))),n&&!e&&!(0,j.vz)(this.props.state)&&!l&&c().createElement("div",null,c().createElement(E.Z,{header:__("Expand to customize the page title structures of your site.","jetpack"),clickableHeader:!0,className:"jp-seo-custom-titles-card"},c().createElement(k.Z,null,c().createElement("p",null,__("You can set the structure of page titles for different sections of your site. Doing this will change the way your site title is displayed in search engines, social media sites, and browser tabs.","jetpack")),c().createElement(_.C_,null,c().createElement(C.ZP,{customSeoTitles:r,updateCustomSeoTitleInputState:this.updateCustomSeoTitleInputState,siteData:o})),c().createElement("div",{className:"jp-seo-custom-titles-save-button"},this.saveButton(this.props)))),c().createElement(E.Z,{header:__("Expand to edit your front page meta description.","jetpack"),clickableHeader:!0,className:"jp-seo-front-page-description-card"},c().createElement(k.Z,null,c().createElement("p",{style:{clear:"both"}},__("Craft a description of your Website: up to 160 characters that will be used in search engine results for your front page, and when your website is shared on social media sites.","jetpack")),c().createElement(_.lX,{htmlFor:"jp-seo-front-page-description"},c().createElement("span",{className:"jp-form-label-wide"},__("Front Page Meta Description","jetpack"))),c().createElement("div",{className:"jp-seo-front-page-description-container"},c().createElement(_.B1,{name:"advanced_seo_front_page_description",id:"jp-seo-front-page-description",className:"jp-form-textarea-wide",maxLength:this.constants.frontPageMetaMaxLength,value:s,onChange:this.props.onOptionChange}),c().createElement("div",{className:p},(0,u.sprintf)(
+__("Your SEO settings are managed by the following plugin: %s","jetpack"),l[0].name)),c().createElement("p",null,__("Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.","jetpack")),c().createElement(E.T,{slug:"seo-tools",activated:s,toggling:this.props.isSavingAnyOption(n.module),disabled:this.props.isSavingAnyOption(this.constants.moduleOptionsArray)||u,toggleModule:this.props.toggleModuleNow},__("Customize your SEO settings","jetpack"))),s&&!t&&!(0,S.vz)(this.props.state)&&!u&&c().createElement("div",null,c().createElement(b.Z,{header:__("Expand to customize the page title structures of your site.","jetpack"),clickableHeader:!0,className:"jp-seo-custom-titles-card"},c().createElement(y.Z,null,c().createElement("p",null,__("You can set the structure of page titles for different sections of your site. Doing this will change the way your site title is displayed in search engines, social media sites, and browser tabs.","jetpack")),c().createElement(w.C_,null,c().createElement(C.ZP,{customSeoTitles:i,updateCustomSeoTitleInputState:this.updateCustomSeoTitleInputState,siteData:o})),c().createElement("div",{className:"jp-seo-custom-titles-save-button"},this.saveButton(this.props)))),c().createElement(b.Z,{header:__("Expand to edit your front page meta description.","jetpack"),clickableHeader:!0,className:"jp-seo-front-page-description-card"},c().createElement(y.Z,null,c().createElement("p",{style:{clear:"both"}},__("Craft a description of your Website: up to 160 characters that will be used in search engine results for your front page, and when your website is shared on social media sites.","jetpack")),c().createElement(w.lX,{htmlFor:"jp-seo-front-page-description"},c().createElement("span",{className:"jp-form-label-wide"},__("Front Page Meta Description","jetpack"))),c().createElement("div",{className:"jp-seo-front-page-description-container"},c().createElement(w.B1,{name:"advanced_seo_front_page_description",id:"jp-seo-front-page-description",className:"jp-form-textarea-wide",maxLength:this.constants.frontPageMetaMaxLength,value:a,onChange:this.props.onOptionChange}),c().createElement("div",{className:d},(0,p.sprintf)(
/* translators: placeholder is number of characters */
-_n("%d character","%d characters",s.length,"jetpack"),s.length),s.length>=this.constants.frontPageMetaMaxLength&&" - "+__("Maximum characters reached.","jetpack"))),c().createElement("div",{className:"jp-seo-front-page-description-save-button"},this.saveButton(this.props)))),c().createElement(E.Z,{header:__("Expand to preview how the SEO settings will look for your homepage on Google, Facebook, and Twitter.","jetpack"),clickableHeader:!0,className:"jp-seo-social-previews"},c().createElement("div",{className:"jp-seo-social-previews-container"},c().createElement(f.Z,{icon:"google",size:24}),c().createElement("span",{className:"jp-seo-social-previews-label"},__("Google search","jetpack"))),this.SocialPreviewGoogle(o),c().createElement("hr",null),c().createElement("div",{className:"jp-seo-social-previews-container"},c().createElement(f.Z,{icon:"facebook",size:24}),c().createElement("span",{className:"jp-seo-social-previews-label"},__("Facebook","jetpack"))),this.SocialPreviewFacebook(o),c().createElement("hr",null),c().createElement("div",{className:"jp-seo-social-previews-container"},c().createElement(f.Z,{icon:"twitter-alt",size:24}),c().createElement("span",{className:"jp-seo-social-previews-label"},__("Twitter","jetpack"))),this.SocialPreviewTwitter(o))))}});t.ZP=(0,l.$j)((e=>({siteData:e.jetpack.siteData.data,state:e})))(N)},47349:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),s=n(65736),o=n(15029),a=n(55735),c=n(9913);const __=s.__,l={pageTypes:[{name:"front_page",label:__("Front Page","jetpack")},{name:"posts",label:__("Posts","jetpack")},{name:"pages",label:__("Pages","jetpack")},{name:"groups",label:__("Tags","jetpack")},{name:"archives",label:__("Archives","jetpack")}],insertableTokens:{site_name:__("Site Title","jetpack"),tagline:__("Tagline","jetpack"),post_title:__("Post Title","jetpack"),page_title:__("Page Title","jetpack"),group_title:__("Tag or Category Name","jetpack"),date:__("Date","jetpack"),archive_title:__("Archive Title","jetpack")},tokensAvailablePerPageType:{front_page:["site_name","tagline"],posts:["site_name","tagline","post_title"],pages:["site_name","tagline","page_title"],groups:["site_name","tagline","group_title"],archives:["site_name","tagline","date","archive_title"]}},u=e=>{let{pageType:t,customSeoTitleInputRef:n,handleCustomSeoTitleInput:s,token:o}=e;const a=(0,r.useCallback)((()=>{const e=n.current;e.focus();const r=`[${o}]`,i=e.refs.textField.selectionStart,a=e.props.value.substring(0,i),c=e.props.value.substring(i,e.props.value.length);s(t,a+r+c)}),[t,n,s,o]);return i().createElement(c.Z,{className:"jp-seo-custom-titles-input-button",compact:!0,onClick:a},l.insertableTokens[o])},p=e=>{let{pageType:t,customSeoTitleInputRef:n,handleCustomSeoTitleInput:c,value:p,siteData:d}=e;return i().createElement("div",{className:`jp-seo-custom-titles-input-container-${t.name}`,key:t.name},i().createElement("div",{className:"jp-seo-custom-titles-input-controls"},i().createElement(a.lX,{className:"jp-seo-custom-titles-input-label",htmlFor:`jp-seo-custom-titles-input-${t.name}`},i().createElement("span",{className:"jp-form-label"},t.label)),i().createElement("div",null,((e,t,n)=>l.tokensAvailablePerPageType[e.name].map((r=>"archives"===e.name&&"date"===r?null:i().createElement(u,{pageType:e,customSeoTitleInputRef:t,handleCustomSeoTitleInput:n,token:r}))))(t,n,c))),i().createElement(o.Z,{id:`jp-seo-custom-titles-input-${t.name}`,className:"jp-seo-custom-titles-input",value:p,onChange:(0,r.useCallback)((e=>c(t,e.target.value)),[c,t]),ref:n}),i().createElement("div",{className:"jp-seo-custom-titles-input-preview"},((e,t,n)=>(l.tokensAvailablePerPageType[e.name].forEach((e=>{switch(e){case"site_name":t=t.replace(/\[site_name\]/g,n.title);break;case"tagline":t=t.replace(/\[tagline\]/g,n.tagline);break;case"post_title":t=t.replace(/\[post_title\]/g,__("Example Title","jetpack"));break;case"page_title":t=t.replace(/\[page_title\]/g,__("Example Title","jetpack"));break;case"group_title":t=t.replace(/\[group_title\]/g,__("Tag","jetpack"));break;case"date":case"archive_title":t=t.replace(/\[archive_title\]|\[date\]/g,__("Example Archive Title/Date","jetpack"))}})),(0,s.sprintf)(
+_n("%d character","%d characters",a.length,"jetpack"),a.length),a.length>=this.constants.frontPageMetaMaxLength&&" - "+__("Maximum characters reached.","jetpack"))),c().createElement("div",{className:"jp-seo-front-page-description-save-button"},this.saveButton(this.props)))),c().createElement(b.Z,{header:__("Expand to preview how the SEO settings will look for your homepage on Google, Facebook, and Twitter.","jetpack"),clickableHeader:!0,className:"jp-seo-social-previews"},c().createElement("div",{className:"jp-seo-social-previews-container"},c().createElement(h.Z,{icon:"google",size:24}),c().createElement("span",{className:"jp-seo-social-previews-label"},__("Google search","jetpack"))),this.SocialPreviewGoogle(o),c().createElement("hr",null),c().createElement("div",{className:"jp-seo-social-previews-container"},c().createElement(h.Z,{icon:"facebook",size:24}),c().createElement("span",{className:"jp-seo-social-previews-label"},__("Facebook","jetpack"))),this.SocialPreviewFacebook(o),c().createElement("hr",null),c().createElement("div",{className:"jp-seo-social-previews-container"},c().createElement(h.Z,{icon:"twitter-alt",size:24}),c().createElement("span",{className:"jp-seo-social-previews-label"},__("Twitter","jetpack"))),this.SocialPreviewTwitter(o))))}});t.ZP=(0,l.$j)((e=>({siteData:e.jetpack.siteData.data,state:e})))(T)},4427:function(e,t,n){"use strict";var s=n(9196),r=n.n(s),i=n(5736),a=n(5549),o=n(1775),c=n(7506);const __=i.__,l={pageTypes:[{name:"front_page",label:__("Front Page","jetpack")},{name:"posts",label:__("Posts","jetpack")},{name:"pages",label:__("Pages","jetpack")},{name:"groups",label:__("Tags","jetpack")},{name:"archives",label:__("Archives","jetpack")}],insertableTokens:{site_name:__("Site Title","jetpack"),tagline:__("Tagline","jetpack"),post_title:__("Post Title","jetpack"),page_title:__("Page Title","jetpack"),group_title:__("Tag or Category Name","jetpack"),date:__("Date","jetpack"),archive_title:__("Archive Title","jetpack")},tokensAvailablePerPageType:{front_page:["site_name","tagline"],posts:["site_name","tagline","post_title"],pages:["site_name","tagline","page_title"],groups:["site_name","tagline","group_title"],archives:["site_name","tagline","date","archive_title"]}},p=e=>{let{pageType:t,customSeoTitleInputRef:n,handleCustomSeoTitleInput:i,token:a}=e;const o=(0,s.useCallback)((()=>{const e=n.current;e.focus();const s=`[${a}]`,r=e.refs.textField.selectionStart,o=e.props.value.substring(0,r),c=e.props.value.substring(r,e.props.value.length);i(t,o+s+c)}),[t,n,i,a]);return r().createElement(c.Z,{className:"jp-seo-custom-titles-input-button",compact:!0,onClick:o},l.insertableTokens[a])},u=e=>{let{pageType:t,customSeoTitleInputRef:n,handleCustomSeoTitleInput:c,value:u,siteData:d}=e;return r().createElement("div",{className:`jp-seo-custom-titles-input-container-${t.name}`,key:t.name},r().createElement("div",{className:"jp-seo-custom-titles-input-controls"},r().createElement(o.lX,{className:"jp-seo-custom-titles-input-label",htmlFor:`jp-seo-custom-titles-input-${t.name}`},r().createElement("span",{className:"jp-form-label"},t.label)),r().createElement("div",null,((e,t,n)=>l.tokensAvailablePerPageType[e.name].map((s=>"archives"===e.name&&"date"===s?null:r().createElement(p,{pageType:e,customSeoTitleInputRef:t,handleCustomSeoTitleInput:n,token:s}))))(t,n,c))),r().createElement(a.Z,{id:`jp-seo-custom-titles-input-${t.name}`,className:"jp-seo-custom-titles-input",value:u,onChange:(0,s.useCallback)((e=>c(t,e.target.value)),[c,t]),ref:n}),r().createElement("div",{className:"jp-seo-custom-titles-input-preview"},((e,t,n)=>(l.tokensAvailablePerPageType[e.name].forEach((e=>{switch(e){case"site_name":t=t.replace(/\[site_name\]/g,n.title);break;case"tagline":t=t.replace(/\[tagline\]/g,n.tagline);break;case"post_title":t=t.replace(/\[post_title\]/g,__("Example Title","jetpack"));break;case"page_title":t=t.replace(/\[page_title\]/g,__("Example Title","jetpack"));break;case"group_title":t=t.replace(/\[group_title\]/g,__("Tag","jetpack"));break;case"date":case"archive_title":t=t.replace(/\[archive_title\]|\[date\]/g,__("Example Archive Title/Date","jetpack"))}})),(0,i.sprintf)(
/* translators: %s is the preview text for a custom SEO input */
-__("Preview: %s","jetpack"),t)))(t,p,d)))};t.ZP=e=>{const[t]=(0,r.useState)({front_page:i().createRef(),posts:i().createRef(),pages:i().createRef(),groups:i().createRef(),archives:i().createRef()}),n=l.pageTypes.reduce(((t,n)=>{var r;return t[n.name]=(r=e.customSeoTitles[n.name],Array.isArray(r)?r.reduce(((e,t)=>e+("token"===t.type?`[${t.value}]`:t.value)),""):""),t}),{}),s=e.updateCustomSeoTitleInputState,o=(0,r.useCallback)(((e,t)=>{n[e.name]=t;const r=Object.keys(n).reduce(((e,t)=>(e[t]=((e,t)=>e.split(/(\[(?:site_name|tagline|post_title|page_title|group_title|date|archive_title)\])/).filter((e=>{if(e)return e})).map((e=>{let n=null;return Object.keys(l.insertableTokens).map((t=>{e===`[${t}]`&&(n=t)})),n&&l.tokensAvailablePerPageType[t].includes(n)?{type:"token",value:n}:{type:"string",value:e}})))(n[t],t),e)),{});s(r)}),[n,s]);return i().createElement("div",{className:"jp-seo-custom-titles"},l.pageTypes.map((r=>i().createElement(p,{pageType:r,value:n[r.name],handleCustomSeoTitleInput:o,customSeoTitleInputRef:t[r.name],siteData:e.siteData}))))}},38571:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(65736),l=n(71415),u=n(5e4),p=n(93107),d=n(84277),h=n(27006),f=n(77222);const __=c.__,_x=c._x;class m extends s.Component{render(){const{isSiteConnected:e}=this.props;return o().createElement(d.Z,i()({},this.props,{header:_x("WP.me Shortlinks","Settings header","jetpack"),module:"shortlinks",hideButton:!0}),o().createElement(h.Z,{module:{module:"shortlinks"},support:{text:this.props.shortlinksModule.description,link:(0,l.Z)("jetpack-support-shortlinks")},disableInOfflineMode:!0},o().createElement(f.T,{slug:"shortlinks",disabled:!e,activated:this.props.shortlinksActive,toggling:this.props.isSavingAnyOption("shortlinks"),toggleModule:this.props.toggleModuleNow},__("Generate shortened URLs for simpler sharing.","jetpack"))))}}t.Z=(0,u.u)((0,a.$j)(((e,t)=>({shortlinksActive:t.getOptionValue("shortlinks"),shortlinksModule:(0,p.rT)(e,"shortlinks")})))(m))},3625:function(e,t,n){"use strict";n.d(t,{V:function(){return M}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(92819),u=n(89105),p=n.n(u),d=n(69307),h=n(65736),f=n(71415),m=n(11973),g=n(9913),v=n(60742),b=n(94069),y=n(78919),k=n(98486),w=n(55735),_=n(5e4),E=n(27006),C=n(84277),S=n(53263);const __=h.__,_x=h._x;class j extends c().Component{constructor(e){super(e),o()(this,"updateOptions",((e,t)=>{let n=this.props.getOptionValue(t,"stats"),r=!1;this.state[`${t}_${e}`]?(0,l.includes)(n,e)&&(n=(0,l.filter)(n,(t=>t!==e))):(0,l.includes)(n,e)||(n.push(e),r=!0),this.setState({[`${t}_${e}`]:!this.state[`${t}_${e}`]},(()=>{this.props.updateOptions({[t]:n})})),m.Z.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:"stats",setting:t,role:e,toggled:r?"on":"off"})})),o()(this,"activateStats",(()=>{this.props.updateOptions({stats:!0})})),o()(this,"trackOpenCard",(()=>{m.Z.tracks.recordJetpackClick({target:"foldable-settings-open",feature:"stats"})})),o()(this,"handleRoleToggleChange",((e,t)=>()=>this.updateOptions(e,t)));const t=e.getOptionValue("count_roles","stats"),n=e.getOptionValue("roles","stats");this.state={count_roles:t,roles:n,count_roles_administrator:(0,l.includes)(t,"administrator",!1),count_roles_editor:(0,l.includes)(t,"editor",!1),count_roles_author:(0,l.includes)(t,"author",!1),count_roles_contributor:(0,l.includes)(t,"contributor",!1),count_roles_subscriber:(0,l.includes)(t,"subscriber",!1),roles_administrator:!0,roles_editor:(0,l.includes)(n,"editor",!1),roles_author:(0,l.includes)(n,"author",!1),roles_contributor:(0,l.includes)(n,"contributor",!1),roles_subscriber:(0,l.includes)(n,"subscriber",!1)}}handleStatsOptionToggle(e){return()=>this.props.updateFormStateModuleOption("stats",e)}render(){const e=this.props.getModule("stats"),t=this.props.getOptionValue("stats"),n=this.props.isUnavailableInOfflineMode("stats"),r=this.props.getSiteRoles();return"inactive"===this.props.getModuleOverride("stats")?c().createElement(S.Z,{moduleName:e.name}):t?c().createElement(C.Z,i()({},this.props,{header:_x("Site stats","Settings header","jetpack"),hideButton:!0,module:"site-stats"}),c().createElement(y.Z,{onOpen:this.trackOpenCard,header:__("Expand to update settings for how visits are counted and manage who can view this information.","jetpack"),clickableHeader:!0,className:p()("jp-foldable-settings-standalone",{"jp-foldable-settings-disable":n})},c().createElement(E.Z,{disableInOfflineMode:!0,module:e,support:{text:__("Displays information on your site activity, including visitors and popular posts or pages.","jetpack"),link:(0,f.Z)("jetpack-support-wordpress-com-stats")}},c().createElement(w.C_,null,c().createElement(b.Z,{checked:!!this.props.getOptionValue("admin_bar"),disabled:!t||n,toggling:this.props.isSavingAnyOption(["stats","admin_bar"]),onChange:this.handleStatsOptionToggle("admin_bar")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Include a small chart in your admin bar with a 48-hour traffic snapshot","jetpack")))),c().createElement(w.C_,null,c().createElement(w.Gj,null,__("Count logged in page views from","jetpack")),Object.keys(r).map((e=>c().createElement(b.Z,{checked:this.state[`count_roles_${e}`],disabled:!t||n||this.props.isSavingAnyOption(["stats","count_roles"]),onChange:this.handleRoleToggleChange(e,"count_roles"),key:`count_roles-${e}`},c().createElement("span",{className:"jp-form-toggle-explanation"},r[e].name))))),c().createElement(w.C_,null,c().createElement(w.Gj,null,__("Allow stats reports to be viewed by","jetpack")),c().createElement(b.Z,{checked:!0,disabled:!0},c().createElement("span",{className:"jp-form-toggle-explanation"},r.administrator.name)),Object.keys(r).map((e=>"administrator"!==e&&c().createElement(b.Z,{checked:this.state[`roles_${e}`],disabled:!t||n||this.props.isSavingAnyOption(["stats","roles"]),onChange:this.handleRoleToggleChange(e,"roles"),key:`roles-${e}`},c().createElement("span",{className:"jp-form-toggle-explanation"},r[e].name)))))))):c().createElement(v.Z,{className:"jp-at-a-glance__stats-card "+(this.props.isOfflineMode?"is-inactive":"")},c().createElement("div",{className:"jp-at-a-glance__stats-inactive"},c().createElement("div",{className:"jp-at-a-glance__stats-inactive-icon"},c().createElement("img",{src:k.hp+"stats.svg",width:"60",height:"60",alt:__("Jetpack Stats Icon","jetpack"),className:"jp-at-a-glance__stats-icon"})),c().createElement("div",{className:"jp-at-a-glance__stats-inactive-text"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,d.createInterpolateElement)(__("<a>Activate Site Stats</a> to see detailed stats, likes, followers, subscribers, and more! <a1>Learn More</a1>","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateStats}),a1:c().createElement("a",{href:(0,f.Z)("jetpack-support-wordpress-com-stats"),target:"_blank",rel:"noopener noreferrer"})})),!this.props.isOfflineMode&&c().createElement("div",{className:"jp-at-a-glance__stats-inactive-button"},c().createElement(g.Z,{onClick:this.activateStats,primary:!0},__("Activate Site Stats","jetpack")))))}}const M=(0,_.u)(j)},95908:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(89105),u=n.n(l),p=n(2620),d=n(92819),h=n(69307),f=n(65736),m=n(71415),g=n(11973),v=n(68961),b=n(55735),y=n(5e4),k=n(77222),w=n(84277),_=n(27006),E=n(18582),C=n(66552);const __=f.__,_x=f._x;class S extends c().Component{constructor(){super(...arguments),o()(this,"renderSitemapRow",((e,t)=>c().createElement("span",{className:"jp-sitemap-row"},c().createElement(E.Z,{value:e,copy:_x("Copy","verb","jetpack"),copied:__("Copied!","jetpack"),prompt:__("Highlight and copy the following text to your clipboard:","jetpack")}),c().createElement(v.Z,{onClick:()=>g.Z.tracks.recordJetpackClick(t),icon:!0,target:"_blank",rel:"noopener noreferrer",href:e}))))}render(){const e=this.props.getModule("sitemaps"),t=(0,d.get)(e,["extra","sitemap_url"],""),n=(0,d.get)(e,["extra","news_sitemap_url"],""),r=u()({"jp-form-setting-explanation":!0,"is-warning":!this.props.isSiteVisibleToSearchEngines&&this.props.getOptionValue("sitemaps")});return c().createElement(w.Z,i()({},this.props,{module:"sitemaps",hideButton:!0}),c().createElement(_.Z,{hasChild:!0,module:{module:"sitemaps"},support:{link:(0,m.Z)("jetpack-support-sitemaps")}},c().createElement("p",null,__("Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.","jetpack")),c().createElement(k.T,{slug:"sitemaps",compact:!0,activated:this.props.getOptionValue("sitemaps"),toggling:this.props.isSavingAnyOption("sitemaps"),toggleModule:this.props.toggleModuleNow},__("Generate XML sitemaps","jetpack")),this.props.isSiteVisibleToSearchEngines?this.props.getOptionValue("sitemaps")&&c().createElement(b.C_,null,c().createElement("p",{className:"jp-form-setting-explanation"},__("Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.","jetpack"),this.renderSitemapRow(t,"sitemap-url-link"),this.renderSitemapRow(n,"sitemap-news-url-link"))):c().createElement(b.C_,null,c().createElement("p",{className:r},(0,h.createInterpolateElement)(__('Search engines can’t access your site at the moment. If you’d like to make your site accessible, check your <a>Reading settings</a> and switch "Search Engine Visibility" on.',"jetpack"),{a:c().createElement("a",{href:this.props.siteAdminUrl+"options-reading.php"})})))))}}t.Z=(0,p.$j)((e=>({isSiteVisibleToSearchEngines:(0,C.pI)(e),siteAdminUrl:(0,C.wW)(e)})))((0,y.u)(S))},11031:function(e,t,n){"use strict";n.d(t,{W:function(){return E}});var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(92819),u=n(69307),p=n(65736),d=n(71415),h=n(68961),f=n(15029),m=n(55735),g=n(77222),v=n(5e4),b=n(84277),y=n(27006),k=n(85253),w=n(61804);const __=p.__;class _ extends c().Component{getMetaTag(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?/^[a-z0-9_-]+$/i.test(t)?(0,l.includes)(t,"<meta")?t:`<meta name="${(0,l.get)(_.serviceIds,e,"")}" content="${t}" />`:t:""}getSiteVerificationValue(e){const t=this.props.getOptionValue(e);return t===this.props.getSettingCurrentValue(e)?this.getMetaTag(e,t):t}render(){const e=this.props.getModule("verification-tools");if("inactive"===this.props.getModuleOverride("verification-tools"))return c().createElement(k.Z,{title:e.name,icon:"cog",description:(0,p.sprintf)(
+__("Preview: %s","jetpack"),t)))(t,u,d)))};t.ZP=e=>{const[t]=(0,s.useState)({front_page:r().createRef(),posts:r().createRef(),pages:r().createRef(),groups:r().createRef(),archives:r().createRef()}),n=l.pageTypes.reduce(((t,n)=>{var s;return t[n.name]=(s=e.customSeoTitles[n.name],Array.isArray(s)?s.reduce(((e,t)=>e+("token"===t.type?`[${t.value}]`:t.value)),""):""),t}),{}),i=e.updateCustomSeoTitleInputState,a=(0,s.useCallback)(((e,t)=>{n[e.name]=t;const s=Object.keys(n).reduce(((e,t)=>(e[t]=((e,t)=>e.split(/(\[(?:site_name|tagline|post_title|page_title|group_title|date|archive_title)\])/).filter((e=>{if(e)return e})).map((e=>{let n=null;return Object.keys(l.insertableTokens).map((t=>{e===`[${t}]`&&(n=t)})),n&&l.tokensAvailablePerPageType[t].includes(n)?{type:"token",value:n}:{type:"string",value:e}})))(n[t],t),e)),{});i(s)}),[n,i]);return r().createElement("div",{className:"jp-seo-custom-titles"},l.pageTypes.map((s=>r().createElement(u,{pageType:s,value:n[s.name],handleCustomSeoTitleInput:a,customSeoTitleInputRef:t[s.name],siteData:e.siteData}))))}},1659:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(5736),l=n(6324),p=n(2353),u=n(416),d=n(3806),m=n(8178),h=n(5004);const __=c.__,_x=c._x;class g extends i.Component{render(){const{isSiteConnected:e}=this.props;return a().createElement(d.Z,r()({},this.props,{header:_x("WP.me Shortlinks","Settings header","jetpack"),module:"shortlinks",hideButton:!0}),a().createElement(m.Z,{module:{module:"shortlinks"},support:{text:this.props.shortlinksModule.description,link:(0,l.Z)("jetpack-support-shortlinks")},disableInOfflineMode:!0},a().createElement(h.T,{slug:"shortlinks",disabled:!e,activated:this.props.shortlinksActive,toggling:this.props.isSavingAnyOption("shortlinks"),toggleModule:this.props.toggleModuleNow},__("Generate shortened URLs for simpler sharing.","jetpack"))))}}t.Z=(0,p.u)((0,o.$j)(((e,t)=>({shortlinksActive:t.getOptionValue("shortlinks"),shortlinksModule:(0,u.rT)(e,"shortlinks")})))(g))},5847:function(e,t,n){"use strict";n.d(t,{V:function(){return N}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(2819),p=n(5235),u=n.n(p),d=n(9307),m=n(5736),h=n(6324),g=n(4069),f=n(7506),v=n(5799),k=n(1674),_=n(860),y=n(800),E=n(1775),w=n(2353),b=n(8178),C=n(3806),j=n(9224);const __=m.__,_x=m._x;class S extends c().Component{constructor(e){super(e),a()(this,"updateOptions",((e,t)=>{let n=this.props.getOptionValue(t,"stats"),s=!1;this.state[`${t}_${e}`]?(0,l.includes)(n,e)&&(n=(0,l.filter)(n,(t=>t!==e))):(0,l.includes)(n,e)||(n.push(e),s=!0),this.setState({[`${t}_${e}`]:!this.state[`${t}_${e}`]},(()=>{this.props.updateOptions({[t]:n})})),g.Z.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:"stats",setting:t,role:e,toggled:s?"on":"off"})})),a()(this,"activateStats",(()=>{this.props.updateOptions({stats:!0})})),a()(this,"trackOpenCard",(()=>{g.Z.tracks.recordJetpackClick({target:"foldable-settings-open",feature:"stats"})})),a()(this,"handleRoleToggleChange",((e,t)=>()=>this.updateOptions(e,t)));const t=e.getOptionValue("count_roles","stats"),n=e.getOptionValue("roles","stats");this.state={count_roles:t,roles:n,count_roles_administrator:(0,l.includes)(t,"administrator",!1),count_roles_editor:(0,l.includes)(t,"editor",!1),count_roles_author:(0,l.includes)(t,"author",!1),count_roles_contributor:(0,l.includes)(t,"contributor",!1),count_roles_subscriber:(0,l.includes)(t,"subscriber",!1),roles_administrator:!0,roles_editor:(0,l.includes)(n,"editor",!1),roles_author:(0,l.includes)(n,"author",!1),roles_contributor:(0,l.includes)(n,"contributor",!1),roles_subscriber:(0,l.includes)(n,"subscriber",!1)}}handleStatsOptionToggle(e){return()=>this.props.updateFormStateModuleOption("stats",e)}render(){const e=this.props.getModule("stats"),t=this.props.getOptionValue("stats"),n=this.props.isUnavailableInOfflineMode("stats"),s=this.props.getSiteRoles();return"inactive"===this.props.getModuleOverride("stats")?c().createElement(j.Z,{moduleName:e.name}):t?c().createElement(C.Z,r()({},this.props,{header:_x("Site stats","Settings header","jetpack"),hideButton:!0,module:"site-stats"}),c().createElement(_.Z,{onOpen:this.trackOpenCard,header:__("Expand to update settings for how visits are counted and manage who can view this information.","jetpack"),clickableHeader:!0,className:u()("jp-foldable-settings-standalone",{"jp-foldable-settings-disable":n})},c().createElement(b.Z,{disableInOfflineMode:!0,module:e,support:{text:__("Displays information on your site activity, including visitors and popular posts or pages.","jetpack"),link:(0,h.Z)("jetpack-support-wordpress-com-stats")}},c().createElement(E.C_,null,c().createElement(k.Z,{checked:!!this.props.getOptionValue("admin_bar"),disabled:!t||n,toggling:this.props.isSavingAnyOption(["stats","admin_bar"]),onChange:this.handleStatsOptionToggle("admin_bar")},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Include a small chart in your admin bar with a 48-hour traffic snapshot","jetpack")))),c().createElement(E.C_,null,c().createElement(E.Gj,null,__("Count logged in page views from","jetpack")),Object.keys(s).map((e=>c().createElement(k.Z,{checked:this.state[`count_roles_${e}`],disabled:!t||n||this.props.isSavingAnyOption(["stats","count_roles"]),onChange:this.handleRoleToggleChange(e,"count_roles"),key:`count_roles-${e}`},c().createElement("span",{className:"jp-form-toggle-explanation"},s[e].name))))),c().createElement(E.C_,null,c().createElement(E.Gj,null,__("Allow stats reports to be viewed by","jetpack")),c().createElement(k.Z,{checked:!0,disabled:!0},c().createElement("span",{className:"jp-form-toggle-explanation"},s.administrator.name)),Object.keys(s).map((e=>"administrator"!==e&&c().createElement(k.Z,{checked:this.state[`roles_${e}`],disabled:!t||n||this.props.isSavingAnyOption(["stats","roles"]),onChange:this.handleRoleToggleChange(e,"roles"),key:`roles-${e}`},c().createElement("span",{className:"jp-form-toggle-explanation"},s[e].name)))))))):c().createElement(v.Z,{className:"jp-at-a-glance__stats-card "+(this.props.isOfflineMode?"is-inactive":"")},c().createElement("div",{className:"jp-at-a-glance__stats-inactive"},c().createElement("div",{className:"jp-at-a-glance__stats-inactive-icon"},c().createElement("img",{src:y.hp+"stats.svg",width:"60",height:"60",alt:__("Jetpack Stats Icon","jetpack"),className:"jp-at-a-glance__stats-icon"})),c().createElement("div",{className:"jp-at-a-glance__stats-inactive-text"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,d.createInterpolateElement)(__("<a>Activate Site Stats</a> to see detailed stats, likes, followers, subscribers, and more! <a1>Learn More</a1>","jetpack"),{a:c().createElement("a",{href:"javascript:void(0)",onClick:this.activateStats}),a1:c().createElement("a",{href:(0,h.Z)("jetpack-support-wordpress-com-stats"),target:"_blank",rel:"noopener noreferrer"})})),!this.props.isOfflineMode&&c().createElement("div",{className:"jp-at-a-glance__stats-inactive-button"},c().createElement(f.Z,{onClick:this.activateStats,primary:!0},__("Activate Site Stats","jetpack")))))}}const N=(0,w.u)(S)},6077:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(5235),p=n.n(l),u=n(9309),d=n(2819),m=n(9307),h=n(5736),g=n(6324),f=n(5609),v=n(4069),k=n(1775),_=n(2353),y=n(5004),E=n(3806),w=n(8178),b=n(4104),C=n(9508);const __=h.__,_x=h._x;class j extends c().Component{constructor(){super(...arguments),a()(this,"renderSitemapRow",((e,t)=>c().createElement("span",{className:"jp-sitemap-row"},c().createElement(b.Z,{value:e,copy:_x("Copy","verb","jetpack"),copied:__("Copied!","jetpack"),prompt:__("Highlight and copy the following text to your clipboard:","jetpack")}),c().createElement(f.ExternalLink,{onClick:()=>v.Z.tracks.recordJetpackClick(t),rel:"noopener noreferrer",href:e}))))}render(){const e=this.props.getModule("sitemaps"),t=(0,d.get)(e,["extra","sitemap_url"],""),n=(0,d.get)(e,["extra","news_sitemap_url"],""),s=p()({"jp-form-setting-explanation":!0,"is-warning":!this.props.isSiteVisibleToSearchEngines&&this.props.getOptionValue("sitemaps")});return c().createElement(E.Z,r()({},this.props,{module:"sitemaps",hideButton:!0}),c().createElement(w.Z,{hasChild:!0,module:{module:"sitemaps"},support:{link:(0,g.Z)("jetpack-support-sitemaps")}},c().createElement("p",null,__("Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.","jetpack")),c().createElement(y.T,{slug:"sitemaps",compact:!0,activated:this.props.getOptionValue("sitemaps"),toggling:this.props.isSavingAnyOption("sitemaps"),toggleModule:this.props.toggleModuleNow},__("Generate XML sitemaps","jetpack")),this.props.isSiteVisibleToSearchEngines?this.props.getOptionValue("sitemaps")&&c().createElement(k.C_,null,c().createElement("p",{className:"jp-form-setting-explanation"},__("Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.","jetpack"),this.renderSitemapRow(t,"sitemap-url-link"),this.renderSitemapRow(n,"sitemap-news-url-link"))):c().createElement(k.C_,null,c().createElement("p",{className:s},(0,m.createInterpolateElement)(__('Search engines can’t access your site at the moment. If you’d like to make your site accessible, check your <a>Reading settings</a> and switch "Search Engine Visibility" on.',"jetpack"),{a:c().createElement("a",{href:this.props.siteAdminUrl+"options-reading.php"})})))))}}t.Z=(0,u.$j)((e=>({isSiteVisibleToSearchEngines:(0,C.pI)(e),siteAdminUrl:(0,C.wW)(e)})))((0,_.u)(j))},5262:function(e,t,n){"use strict";n.d(t,{W:function(){return b}});var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(2819),p=n(9307),u=n(5736),d=n(6324),m=n(5609),h=n(5549),g=n(1775),f=n(5004),v=n(2353),k=n(3806),_=n(8178),y=n(5733),E=n(9528);const __=u.__;class w extends c().Component{getMetaTag(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?/^[a-z0-9_-]+$/i.test(t)?(0,l.includes)(t,"<meta")?t:`<meta name="${(0,l.get)(w.serviceIds,e,"")}" content="${t}" />`:t:""}getSiteVerificationValue(e){const t=this.props.getOptionValue(e);return t===this.props.getSettingCurrentValue(e)?this.getMetaTag(e,t):t}render(){const e=this.props.getModule("verification-tools");if("inactive"===this.props.getModuleOverride("verification-tools"))return c().createElement(y.ZP,{title:e.name,icon:"cog",description:(0,u.sprintf)(
/* translators: placeholder is a feature name. */
-__("%s has been disabled by a site administrator.","jetpack"),e.name)});const t=!!this.props.getOptionValue(e.module);return c().createElement(b.Z,i()({},this.props,{module:e.module,saveDisabled:this.props.isSavingAnyOption(["google","bing","pinterest","yandex","facebook"])}),c().createElement(y.Z,{module:e,support:{text:__("Provides the necessary hidden tags needed to verify your WordPress site with various services.","jetpack"),link:(0,d.Z)("jetpack-support-site-verification-tools")}},c().createElement(g.T,{slug:e.module,activated:t,toggling:this.props.isSavingAnyOption([e.module]),disabled:this.props.isSavingAnyOption([e.module]),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Verify site ownership with third party services","jetpack"))),c().createElement("p",null,(0,u.createInterpolateElement)(
+__("%s has been disabled by a site administrator.","jetpack"),e.name)});const t=!!this.props.getOptionValue(e.module);return c().createElement(k.Z,r()({},this.props,{module:e.module,saveDisabled:this.props.isSavingAnyOption(["google","bing","pinterest","yandex","facebook"])}),c().createElement(_.Z,{module:e,support:{text:__("Provides the necessary hidden tags needed to verify your WordPress site with various services.","jetpack"),link:(0,d.Z)("jetpack-support-site-verification-tools")}},c().createElement(f.T,{slug:e.module,activated:t,toggling:this.props.isSavingAnyOption([e.module]),disabled:this.props.isSavingAnyOption([e.module]),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Verify site ownership with third party services","jetpack"))),c().createElement("p",null,(0,p.createInterpolateElement)(
/* translators: placeholders are links to external sites. */
-__("Note that <b>verifying your site with these services is not necessary</b> in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the <support>full instructions</support> if you are having trouble. Supported verification services: <google>Google Search Console</google>, <bing>Bing Webmaster Center</bing>, <pinterest>Pinterest Site Verification</pinterest>, <yandex>Yandex.Webmaster</yandex>, and <facebook>Facebook Domain Verification</facebook>.","jetpack"),{b:c().createElement("strong",null),support:c().createElement("a",{href:(0,d.Z)("jetpack-support-site-verification-tools")}),google:c().createElement(h.Z,{icon:!0,target:"_blank",rel:"noopener noreferrer",href:"https://www.google.com/webmasters/tools/"}),bing:c().createElement(h.Z,{icon:!0,target:"_blank",rel:"noopener noreferrer",href:"https://www.bing.com/webmaster/"}),pinterest:c().createElement(h.Z,{icon:!0,target:"_blank",rel:"noopener noreferrer",href:"https://pinterest.com/website/verify/"}),yandex:c().createElement(h.Z,{icon:!0,target:"_blank",rel:"noopener noreferrer",href:"https://webmaster.yandex.com/sites/"}),facebook:c().createElement(h.Z,{icon:!0,target:"_blank",rel:"noopener noreferrer",href:"https://business.facebook.com/settings/"})})),c().createElement(m.C_,null,c().createElement(w.Z,i()({value:this.getSiteVerificationValue("google"),placeholder:this.getMetaTag("google","1234")},this.props,{disabled:this.props.isUpdating("google")||!t})),c().createElement(m.lX,{className:"jp-form-input-with-prefix",key:"verification_service_bing"},c().createElement("span",null,__("Bing","jetpack")),c().createElement(f.Z,{name:"bing",value:this.getSiteVerificationValue("bing"),placeholder:this.getMetaTag("bing","1234"),className:"code",disabled:this.props.isUpdating("bing")||!t,onChange:this.props.onOptionChange})),c().createElement(m.lX,{className:"jp-form-input-with-prefix",key:"verification_service_pinterest"},c().createElement("span",null,__("Pinterest","jetpack")),c().createElement(f.Z,{name:"pinterest",value:this.getSiteVerificationValue("pinterest"),placeholder:this.getMetaTag("pinterest","1234"),className:"code",disabled:this.props.isUpdating("pinterest")||!t,onChange:this.props.onOptionChange})),c().createElement(m.lX,{className:"jp-form-input-with-prefix",key:"verification_service_yandex"},c().createElement("span",null,__("Yandex","jetpack")),c().createElement(f.Z,{name:"yandex",value:this.getSiteVerificationValue("yandex"),placeholder:this.getMetaTag("yandex","1234"),className:"code",disabled:this.props.isUpdating("yandex")||!t,onChange:this.props.onOptionChange})),c().createElement(m.lX,{className:"jp-form-input-with-prefix",key:"verification_service_facebook"},c().createElement("span",null,__("Facebook","jetpack")),c().createElement(f.Z,{name:"facebook",value:this.getSiteVerificationValue("facebook"),placeholder:this.getMetaTag("facebook","1234"),className:"code",disabled:this.props.isUpdating("facebook")||!t,onChange:this.props.onOptionChange})))))}}o()(_,"serviceIds",{google:"google-site-verification",bing:"msvalidate.01",pinterest:"p:domain_verify",yandex:"yandex-verification",facebook:"facebook-domain-verification"});const E=(0,v.u)(_)},61804:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),s=n(99196),o=n.n(s),a=n(11268),c=n.n(a),l=n(2620),u=n(69307),p=n(65736),d=n(11973),h=n(68961),f=n(15029),m=n(88872),g=n(55735),v=n(22256),b=n(9913),y=n(39444),k=n(46023),w=n(91628),_=n(66552),E=n(21094);const __=p.__;class C extends o().Component{constructor(){super(...arguments),i()(this,"state",{inputVisible:!1}),i()(this,"handleClickAutoVerify",(()=>{this.props.fetchingSiteData||this.props.fetchingGoogleSiteVerify||(d.Z.tracks.recordEvent("jetpack_site_verification_google_auto_verify_click"),(0,y.Z)(this.props.googleSiteVerificationConnectUrl,(e=>{e&&this.checkAndVerifySite(e)})))})),i()(this,"handleClickSetManually",(e=>{d.Z.tracks.recordEvent("jetpack_site_verification_google_manual_verify_click",{is_owner:this.props.isOwner}),this.toggleVerifyMethod(e)})),i()(this,"handleClickEdit",(e=>{d.Z.tracks.recordEvent("jetpack_site_verification_google_edit_click",{is_owner:this.props.isOwner}),this.toggleVerifyMethod(e)})),i()(this,"handleClickCancel",(e=>{d.Z.tracks.recordEvent("jetpack_site_verification_google_cancel_click",{is_owner:this.props.isOwner}),this.props.resetFormStateOption("google"),this.toggleVerifyMethod(e)})),i()(this,"quickSave",(e=>{d.Z.tracks.recordEvent("jetpack_site_verification_google_manual_verify_save",{is_owner:this.props.isOwner,is_empty:!this.props.value}),this.props.onSubmit(e)})),i()(this,"toggleVerifyMethod",(()=>{this.setState({inputVisible:!this.state.inputVisible})})),i()(this,"handleOnTextInputKeyPress",(e=>{"Enter"===e.key&&this.quickSave()}))}componentDidMount(){this.props.isCurrentUserLinked&&this.props.checkVerifyStatusGoogle().then((e=>{if(this.props.googleSiteVerificationError&&"unverify-site-error"===this.props.googleSiteVerificationError.code&&this.props.updateOptions({google:""}).then((()=>this.props.checkVerifyStatusGoogle())),e)return!this.props.getOptionValue("google")&&e.token?this.props.updateOptions({google:e.token}):void(!this.props.getOptionValue("google")||e.token||e.verified||this.setState({inputVisible:!0}))}))}checkAndVerifySite(e){this.props.createNotice("is-info",__("Verifying…","jetpack"),{id:"verifying-site-google"}),this.props.checkVerifyStatusGoogle(e).then((e=>{if(e)return e.token!==this.props.value?this.props.updateOptions({google:e.token}):void 0})).then((()=>{this.props.removeNotice("verifying-site-google"),this.props.isSiteVerifiedWithGoogle||this.props.verifySiteGoogle(e).then((()=>{if(this.props.googleSiteVerificationError){const e=this.props.googleSiteVerificationError.message;d.Z.tracks.recordEvent("jetpack_site_verification_google_verify_error",{error_message:e}),this.props.createNotice("is-error",(0,p.sprintf)(
+__("Note that <b>verifying your site with these services is not necessary</b> in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the <support>full instructions</support> if you are having trouble. Supported verification services: <google>Google Search Console</google>, <bing>Bing Webmaster Center</bing>, <pinterest>Pinterest Site Verification</pinterest>, <yandex>Yandex.Webmaster</yandex>, and <facebook>Facebook Domain Verification</facebook>.","jetpack"),{b:c().createElement("strong",null),support:c().createElement("a",{href:(0,d.Z)("jetpack-support-site-verification-tools")}),google:c().createElement(m.ExternalLink,{rel:"noopener noreferrer",href:"https://www.google.com/webmasters/tools/"}),bing:c().createElement(m.ExternalLink,{rel:"noopener noreferrer",href:"https://www.bing.com/webmaster/"}),pinterest:c().createElement(m.ExternalLink,{rel:"noopener noreferrer",href:"https://pinterest.com/website/verify/"}),yandex:c().createElement(m.ExternalLink,{rel:"noopener noreferrer",href:"https://webmaster.yandex.com/sites/"}),facebook:c().createElement(m.ExternalLink,{rel:"noopener noreferrer",href:"https://business.facebook.com/settings/"})})),c().createElement(g.C_,null,c().createElement(E.Z,r()({value:this.getSiteVerificationValue("google"),placeholder:this.getMetaTag("google","1234")},this.props,{disabled:this.props.isUpdating("google")||!t})),c().createElement(g.lX,{className:"jp-form-input-with-prefix",key:"verification_service_bing"},c().createElement("span",null,__("Bing","jetpack")),c().createElement(h.Z,{name:"bing",value:this.getSiteVerificationValue("bing"),placeholder:this.getMetaTag("bing","1234"),className:"code",disabled:this.props.isUpdating("bing")||!t,onChange:this.props.onOptionChange})),c().createElement(g.lX,{className:"jp-form-input-with-prefix",key:"verification_service_pinterest"},c().createElement("span",null,__("Pinterest","jetpack")),c().createElement(h.Z,{name:"pinterest",value:this.getSiteVerificationValue("pinterest"),placeholder:this.getMetaTag("pinterest","1234"),className:"code",disabled:this.props.isUpdating("pinterest")||!t,onChange:this.props.onOptionChange})),c().createElement(g.lX,{className:"jp-form-input-with-prefix",key:"verification_service_yandex"},c().createElement("span",null,__("Yandex","jetpack")),c().createElement(h.Z,{name:"yandex",value:this.getSiteVerificationValue("yandex"),placeholder:this.getMetaTag("yandex","1234"),className:"code",disabled:this.props.isUpdating("yandex")||!t,onChange:this.props.onOptionChange})),c().createElement(g.lX,{className:"jp-form-input-with-prefix",key:"verification_service_facebook"},c().createElement("span",null,__("Facebook","jetpack")),c().createElement(h.Z,{name:"facebook",value:this.getSiteVerificationValue("facebook"),placeholder:this.getMetaTag("facebook","1234"),className:"code",disabled:this.props.isUpdating("facebook")||!t,onChange:this.props.onOptionChange})))))}}a()(w,"serviceIds",{google:"google-site-verification",bing:"msvalidate.01",pinterest:"p:domain_verify",yandex:"yandex-verification",facebook:"facebook-domain-verification"});const b=(0,v.u)(w)},9528:function(e,t,n){"use strict";var s=n(8294),r=n.n(s),i=n(9196),a=n.n(i),o=n(5162),c=n.n(o),l=n(9309),p=n(9307),u=n(5736),d=n(5609),m=n(4069),h=n(5549),g=n(3002),f=n(1775),v=n(5060),k=n(7506),_=n(3962),y=n(4975),E=n(7923),w=n(9508),b=n(1549);const __=u.__;class C extends a().Component{constructor(){super(...arguments),r()(this,"state",{inputVisible:!1}),r()(this,"handleClickAutoVerify",(()=>{this.props.fetchingSiteData||this.props.fetchingGoogleSiteVerify||(m.Z.tracks.recordEvent("jetpack_site_verification_google_auto_verify_click"),(0,_.Z)(this.props.googleSiteVerificationConnectUrl,(e=>{e&&this.checkAndVerifySite(e)})))})),r()(this,"handleClickSetManually",(e=>{m.Z.tracks.recordEvent("jetpack_site_verification_google_manual_verify_click",{is_owner:this.props.isOwner}),this.toggleVerifyMethod(e)})),r()(this,"handleClickEdit",(e=>{m.Z.tracks.recordEvent("jetpack_site_verification_google_edit_click",{is_owner:this.props.isOwner}),this.toggleVerifyMethod(e)})),r()(this,"handleClickCancel",(e=>{m.Z.tracks.recordEvent("jetpack_site_verification_google_cancel_click",{is_owner:this.props.isOwner}),this.props.resetFormStateOption("google"),this.toggleVerifyMethod(e)})),r()(this,"quickSave",(e=>{m.Z.tracks.recordEvent("jetpack_site_verification_google_manual_verify_save",{is_owner:this.props.isOwner,is_empty:!this.props.value}),this.props.onSubmit(e)})),r()(this,"toggleVerifyMethod",(()=>{this.setState({inputVisible:!this.state.inputVisible})})),r()(this,"handleOnTextInputKeyPress",(e=>{"Enter"===e.key&&this.quickSave()}))}componentDidMount(){this.props.isCurrentUserLinked&&this.props.checkVerifyStatusGoogle().then((e=>{if(this.props.googleSiteVerificationError&&"unverify-site-error"===this.props.googleSiteVerificationError.code&&this.props.updateOptions({google:""}).then((()=>this.props.checkVerifyStatusGoogle())),e)return!this.props.getOptionValue("google")&&e.token?this.props.updateOptions({google:e.token}):void(!this.props.getOptionValue("google")||e.token||e.verified||this.setState({inputVisible:!0}))}))}checkAndVerifySite(e){this.props.createNotice("is-info",__("Verifying…","jetpack"),{id:"verifying-site-google"}),this.props.checkVerifyStatusGoogle(e).then((e=>{if(e)return e.token!==this.props.value?this.props.updateOptions({google:e.token}):void 0})).then((()=>{this.props.removeNotice("verifying-site-google"),this.props.isSiteVerifiedWithGoogle||this.props.verifySiteGoogle(e).then((()=>{if(this.props.googleSiteVerificationError){const e=this.props.googleSiteVerificationError.message;m.Z.tracks.recordEvent("jetpack_site_verification_google_verify_error",{error_message:e}),this.props.createNotice("is-error",(0,u.sprintf)(
/* translators: placeholder is an error message. */
-__("Site failed to verify: %s","jetpack"),e),{id:"verify-site-google-error",duration:5e3})}else this.props.isSiteVerifiedWithGoogle&&d.Z.tracks.recordEvent("jetpack_site_verification_google_verify_success")}))}))}render(){const e=this.props.googleSiteVerificationError&&"forbidden"===this.props.googleSiteVerificationError.code;if(this.state.inputVisible||e||!this.props.isCurrentUserLinked)return o().createElement("div",null,o().createElement(g.lX,{className:"jp-form-input-with-prefix",key:"verification_service_google"},o().createElement("span",null,__("Google","jetpack")),o().createElement(f.Z,{name:"google",value:this.props.value,placeholder:this.props.placeholder,className:"code",disabled:this.props.disabled,onChange:this.props.onOptionChange,onKeyPress:this.handleOnTextInputKeyPress}),this.state.inputVisible&&o().createElement("div",{className:"jp-form-site-verification-buttons"},o().createElement(b.Z,{primary:!0,type:"button",className:"jp-form-site-verification-edit-button",disabled:this.props.disabled,onClick:this.quickSave},__("Save","jetpack")),o().createElement(b.Z,{type:"button",className:"jp-form-site-verification-edit-button",disabled:this.props.disabled,onClick:this.handleClickCancel},__("Cancel","jetpack")))));if(this.props.isSiteVerifiedWithGoogle)return o().createElement("div",null,o().createElement("div",{className:"jp-form-input-with-prefix",key:"verification_service_google"},o().createElement("span",null,__("Google","jetpack")),o().createElement("div",{className:"jp-form-site-verification-verified"},o().createElement(v.Z,{icon:"checkmark-circle",size:20})," ",o().createElement("span",null,__("Your site is verified with Google","jetpack"))),o().createElement(b.Z,{type:"button",className:"jp-form-site-verification-edit-button",onClick:this.handleClickEdit},__("Edit","jetpack"))),this.props.isOwner&&o().createElement("div",{className:"jp-form-input-with-prefix-bottom-message"},o().createElement("div",{className:"jp-form-setting-explanation"},o().createElement("p",null,(0,u.createInterpolateElement)(__("Monitor your site's traffic and performance from the <a>Google Search Console</a>.","jetpack"),{a:o().createElement(h.Z,{icon:!0,iconSize:16,target:"_blank",rel:"noopener noreferrer",href:this.props.googleSearchConsoleUrl})})," ",(0,u.createInterpolateElement)(
+__("Site failed to verify: %s","jetpack"),e),{id:"verify-site-google-error",duration:5e3})}else this.props.isSiteVerifiedWithGoogle&&m.Z.tracks.recordEvent("jetpack_site_verification_google_verify_success")}))}))}render(){const e=this.props.googleSiteVerificationError&&"forbidden"===this.props.googleSiteVerificationError.code;if(this.state.inputVisible||e||!this.props.isCurrentUserLinked)return a().createElement("div",null,a().createElement(f.lX,{className:"jp-form-input-with-prefix",key:"verification_service_google"},a().createElement("span",null,__("Google","jetpack")),a().createElement(h.Z,{name:"google",value:this.props.value,placeholder:this.props.placeholder,className:"code",disabled:this.props.disabled,onChange:this.props.onOptionChange,onKeyPress:this.handleOnTextInputKeyPress}),this.state.inputVisible&&a().createElement("div",{className:"jp-form-site-verification-buttons"},a().createElement(k.Z,{primary:!0,type:"button",className:"jp-form-site-verification-edit-button",disabled:this.props.disabled,onClick:this.quickSave},__("Save","jetpack")),a().createElement(k.Z,{type:"button",className:"jp-form-site-verification-edit-button",disabled:this.props.disabled,onClick:this.handleClickCancel},__("Cancel","jetpack")))));if(this.props.isSiteVerifiedWithGoogle)return a().createElement("div",null,a().createElement("div",{className:"jp-form-input-with-prefix",key:"verification_service_google"},a().createElement("span",null,__("Google","jetpack")),a().createElement("div",{className:"jp-form-site-verification-verified"},a().createElement(v.Z,{icon:"checkmark-circle",size:20})," ",a().createElement("span",null,__("Your site is verified with Google","jetpack"))),a().createElement(k.Z,{type:"button",className:"jp-form-site-verification-edit-button",onClick:this.handleClickEdit},__("Edit","jetpack"))),this.props.isOwner&&a().createElement("div",{className:"jp-form-input-with-prefix-bottom-message"},a().createElement("div",{className:"jp-form-setting-explanation"},a().createElement("p",null,(0,p.createInterpolateElement)(__("Monitor your site's traffic and performance from the <a>Google Search Console</a>.","jetpack"),{a:a().createElement(d.ExternalLink,{rel:"noopener noreferrer",href:this.props.googleSearchConsoleUrl})})," ",(0,p.createInterpolateElement)(
/* translators: placeholders are links to Google support documents. */
-__("Google will email about certain events that occur with your site, including indications that your website has been <a1>hacked</a1>, or problems <a2>crawling or indexing</a2> your site.","jetpack"),{a1:o().createElement(h.Z,{icon:!0,iconSize:16,target:"_blank",rel:"noopener noreferrer",href:"https://developers.google.com/web/fundamentals/security/hacked/"}),a2:o().createElement(h.Z,{icon:!0,iconSize:16,target:"_blank",rel:"noopener noreferrer",href:"https://www.google.com/insidesearch/howsearchworks/crawling-indexing.html"})})))));const t=this.props.fetchingSiteData||this.props.fetchingGoogleSiteVerify||this.props.isVerifyingGoogleSite||this.props.disabled;return o().createElement("div",{className:"jp-form-input-with-prefix jp-form-google-label-unverified",key:"verification_service_google"},o().createElement("span",null,__("Google","jetpack")),o().createElement("div",{className:"jp-form-google-label-unverified-actions"},(0,u.createInterpolateElement)(__("<button1>Verify with Google</button1><span>or</span><button2>Manually Verify</button2>","jetpack"),{button1:o().createElement(b.Z,{primary:!0,type:"button",disabled:t,onClick:this.handleClickAutoVerify}),span:o().createElement("span",{className:"jp-form-google-separator"}),button2:o().createElement(b.Z,{type:"button",disabled:t,onClick:this.handleClickSetManually})})))}}i()(C,"propTypes",{disabled:c().bool}),i()(C,"defaultProps",{disabled:!1}),t.Z=(0,l.$j)((e=>({fetchingSiteData:(0,m._5)(e),googleSiteVerificationConnectUrl:(0,k.K0)(e,"google_site_verification"),googleSearchConsoleUrl:(0,w._g)(e),fetchingGoogleSiteVerify:(0,w.nZ)(e),isConnectedToGoogle:(0,w.hr)(e),isSiteVerifiedWithGoogle:(0,w.nS)(e),isVerifyingGoogleSite:(0,w.BH)(e),userCanManageOptions:(0,_.UF)(e),googleSiteVerificationError:(0,w.ou)(e),isOwner:(0,w.dO)(e)})),{checkVerifyStatusGoogle:w.n,createNotice:E.iI,removeNotice:E.qq,verifySiteGoogle:w.Zn})(C)},41922:function(e,t,n){"use strict";function r(e){return t=>{13!==t.which&&32!==t.which||e(t)}}n.d(t,{Z:function(){return r}})},98865:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(71415),d=n(55735),h=n(19555),f=n(77222),m=n(5e4),g=n(93107),v=n(84277),b=n(27006);const __=u.__,_x=u._x;class y extends c().Component{constructor(){super(...arguments),o()(this,"updateFormStateByMarkdown",(e=>this.props.getSettingCurrentValue("wpcom_publish_comments_with_markdown",e)?this.props.updateFormStateModuleOption(e,"wpcom_publish_posts_with_markdown"):this.props.updateFormStateModuleOption(e,"wpcom_publish_posts_with_markdown",!0)))}render(){const e=this.props.isModuleFound("copy-post"),t=this.props.isModuleFound("latex"),n=this.props.isModuleFound("markdown"),r=this.props.isModuleFound("shortcodes");if(!(e||t||n||r))return null;const s=this.props.module("markdown"),o=this.props.module("latex"),a=this.props.module("copy-post"),l=this.props.module("shortcodes"),u=c().createElement(b.Z,{module:a,support:{text:__("Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.","jetpack"),link:(0,p.Z)("jetpack-support-copy-post")}},c().createElement(d.C_,null,c().createElement(f.T,{slug:"copy-post",activated:!!this.props.getOptionValue("copy-post"),toggling:this.props.isSavingAnyOption("copy-post"),disabled:this.props.isSavingAnyOption("copy-post"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},a.description)))),h=c().createElement(b.Z,{module:s,support:{text:__("Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.","jetpack"),link:(0,p.Z)("jetpack-support-markdown")}},c().createElement(d.C_,null,c().createElement(f.T,{slug:"markdown",activated:!!this.props.getOptionValue("wpcom_publish_posts_with_markdown","markdown"),toggling:this.props.isSavingAnyOption(["markdown","wpcom_publish_posts_with_markdown"]),disabled:this.props.isSavingAnyOption(["markdown","wpcom_publish_posts_with_markdown"]),toggleModule:this.updateFormStateByMarkdown},c().createElement("span",{className:"jp-form-toggle-explanation"},s.description)))),m=c().createElement(b.Z,{module:o,support:{text:__("LaTeX is a powerful markup language for writing complex mathematical equations and formulas.","jetpack"),link:(0,p.Z)("jetpack-support-beautiful-math-with-latex")}},c().createElement(d.C_,null,c().createElement(f.T,{slug:"latex",activated:!!this.props.getOptionValue("latex"),toggling:this.props.isSavingAnyOption(["latex"]),disabled:this.props.isSavingAnyOption(["latex"]),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},o.description)))),g=c().createElement(b.Z,{module:l,support:{text:l.description,link:(0,p.Z)("jetpack-support-shortcode-embeds")}},c().createElement(d.C_,null,c().createElement(f.T,{slug:"shortcodes",activated:!!this.props.getOptionValue("shortcodes"),toggling:this.props.isSavingAnyOption(["shortcodes"]),disabled:this.props.isSavingAnyOption(["shortcodes"]),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Compose using shortcodes to embed media from popular sites","jetpack")))));return c().createElement(v.Z,i()({},this.props,{header:_x("Composing","Settings header","jetpack"),module:"composing",saveDisabled:this.props.isSavingAnyOption("ignored_phrases")}),e&&u,n&&h,t&&m,r&&g)}}t.Z=(0,l.$j)((e=>({module:t=>(0,g.rT)(e,t),isModuleFound:t=>(0,h.CX)(e,t)})))((0,m.u)(y))},45767:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(69307),p=n(65736),d=n(71415),h=n(94069),f=n(3810),m=n(55735),g=n(5e4),v=n(93107),b=n(19555),y=n(84277),k=n(27006);const __=p.__;class w extends c().Component{constructor(){super(...arguments),o()(this,"state",{testimonial:this.props.getOptionValue("jetpack_testimonial","custom-content-types"),portfolio:this.props.getOptionValue("jetpack_portfolio","custom-content-types")}),o()(this,"updateCPTs",(e=>{const t="testimonial"===e?!(!this.state.testimonial||this.state.portfolio):!(!this.state.portfolio||this.state.testimonial);this.props.updateFormStateModuleOption("custom-content-types","jetpack_"+e,t),this.setState({[e]:!this.state[e]})})),o()(this,"linkIfActiveCPT",(e=>this.props.getSettingCurrentValue(`jetpack_${e}`,"custom-content-types")?c().createElement("a",{href:`${this.props.siteAdminUrl}edit.php?post_type=jetpack-${e}`}):c().createElement("span",null))),o()(this,"handleTestimonialToggleChange",(()=>{this.updateCPTs("testimonial")})),o()(this,"handlePortfolioToggleChange",(()=>{this.updateCPTs("portfolio")}))}render(){if(!this.props.isModuleFound("custom-content-types"))return null;const e=this.props.module("custom-content-types"),t="inactive"===this.props.getModuleOverride("custom-content-types"),n=t&&__("This feature has been disabled by a site administrator.","jetpack");return c().createElement(y.Z,i()({},this.props,{module:"custom-content-types",hideButton:!0}),c().createElement(k.Z,{hasChild:!0,module:e,support:{link:(0,d.Z)("jetpack-support-custom-content-types")}},c().createElement("p",null,(0,u.createInterpolateElement)(__("Add <testimonialLink>testimonials</testimonialLink> to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.","jetpack"),{testimonialLink:this.linkIfActiveCPT("testimonial")})),c().createElement(h.Z,{checked:this.state.testimonial,disabled:this.props.isSavingAnyOption("jetpack_testimonial")||t,onChange:this.handleTestimonialToggleChange,disabledReason:n},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Testimonials","jetpack"))),c().createElement(m.C_,null,c().createElement("p",{className:"jp-form-setting-explanation"},__("Testimonials shortcode: [testimonials]","jetpack")))),this.props.testimonialActive&&c().createElement(f.Z,{className:"jp-settings-card__configure-link",href:`${this.props.siteAdminUrl}post-new.php?post_type=jetpack-testimonial`},__("Add a testimonial","jetpack")),c().createElement(k.Z,{hasChild:!0,module:e,support:{link:(0,d.Z)("jetpack-support-custom-content-types")}},c().createElement("p",null,(0,u.createInterpolateElement)(__("Use <portfolioLink>portfolios</portfolioLink> on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.","jetpack"),{portfolioLink:this.linkIfActiveCPT("portfolio")})),c().createElement(h.Z,{checked:this.state.portfolio,disabled:this.props.isSavingAnyOption("jetpack_portfolio")||t,onChange:this.handlePortfolioToggleChange,disabledReason:n},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Portfolios","jetpack"))),c().createElement(m.C_,null,c().createElement("p",{className:"jp-form-setting-explanation"},__("Portfolios shortcode: [portfolio]","jetpack")))),this.props.portfolioActive&&c().createElement(f.Z,{className:"jp-settings-card__configure-link",href:`${this.props.siteAdminUrl}post-new.php?post_type=jetpack-portfolio`},__("Add a portfolio item","jetpack")))}}t.Z=(0,g.u)((0,l.$j)(((e,t)=>({module:t=>(0,v.rT)(e,t),isModuleFound:t=>(0,b.CX)(e,t),getModuleOverride:t=>(0,v.Qy)(e,t),portfolioActive:t.getSettingCurrentValue("jetpack_portfolio","custom-content-types"),testimonialActive:t.getSettingCurrentValue("jetpack_testimonial","custom-content-types")})))(w))},18731:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(60742),d=n(17752),h=n(66552),f=n(41147),m=n(93107),g=n(19555),v=n(27219),b=n(98865),y=n(45767),k=n(64261),w=n(22034),_=n(78476),E=n(73690),C=n(11613);const __=u.__;class S extends c().Component{render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isLinked:this.props.isLinked,getModuleOverride:this.props.getModuleOverride},t=["carousel","copy-post","custom-css","latex","masterbar","markdown","shortcodes","custom-content-types","post-by-email","infinite-scroll","widgets","widget-visibility"].some(this.props.isModuleFound);if(!this.props.searchTerm&&!this.props.active)return null;if(!t)return null;const n=this.props.userCanManageModules||this.props.userCanEditPosts,r=this.props.userCanManageModules||this.props.userCanEditPosts&&this.props.isModuleActivated("post-by-email");return c().createElement("div",null,c().createElement(v.Z,null),c().createElement(p.Z,{title:this.props.searchTerm?__("Writing","jetpack"):__("Compose content the way you want to and streamline your publishing experience.","jetpack"),className:"jp-settings-description"}),this.props.isModuleFound("carousel")&&c().createElement(C.Z,e),n&&c().createElement(b.Z,i()({},e,{userCanManageModules:this.props.userCanManageModules})),this.props.isModuleFound("custom-content-types")&&c().createElement(y.Z,e),c().createElement(k.Z,e),c().createElement(_.Z,e),this.props.isModuleFound("post-by-email")&&r&&c().createElement(w.Z,i()({},e,{connectUrl:this.props.connectUrl,isLinked:this.props.isLinked,userCanManageModules:this.props.userCanManageModules})),this.props.isModuleFound("masterbar")&&!this.props.masterbarIsAlwaysActive&&c().createElement(E.S,i()({connectUrl:this.props.connectUrl},e)),!n&&!r&&c().createElement(p.Z,null,__("Writing tools available to you will be shown here when an administrator enables them.","jetpack")))}}o()(S,"displayName","WritingSettings"),t.Z=(0,l.$j)((e=>({module:t=>(0,m.rT)(e,t),settings:(0,d.Gw)(e),masterbarIsAlwaysActive:(0,h.Ug)(e),isOfflineMode:(0,f.Ex)(e),isUnavailableInOfflineMode:t=>(0,f.t_)(e,t),userCanEditPosts:(0,h.rp)(e),isModuleActivated:t=>(0,m.mp)(e,t),isLinked:(0,f.BU)(e),userCanManageModules:(0,h.pK)(e),isModuleFound:t=>(0,g.CX)(e,t),connectUrl:(0,f.AM)(e),getModuleOverride:t=>(0,m.Qy)(e,t)})))(S)},73690:function(e,t,n){"use strict";n.d(t,{S:function(){return f}});var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(65736),c=n(71415),l=n(5e4),u=n(84277),p=n(27006),d=n(77222),h=n(24951);const __=a.__,_x=a._x,f=(0,l.u)(class extends s.Component{render(){const e=this.props.getOptionValue("masterbar"),t=this.props.isUnavailableInOfflineMode("masterbar"),n=this.props.isLinked;return o().createElement(u.Z,i()({},this.props,{header:_x("WordPress.com toolbar","Settings header","jetpack"),module:"masterbar",hideButton:!0}),o().createElement(p.Z,{disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:{module:"masterbar"},support:{text:__("Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.","jetpack"),link:(0,c.Z)("jetpack-support-masterbar")}},o().createElement("p",null,__("The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.","jetpack")),o().createElement(d.T,{slug:"masterbar",disabled:t||!n,activated:e,toggling:this.props.isSavingAnyOption("masterbar"),toggleModule:this.props.toggleModuleNow},__("Enable the WordPress.com toolbar","jetpack"))),!this.props.isUnavailableInOfflineMode("masterbar")&&!this.props.isLinked&&o().createElement(h.Z,{feature:"masterbar",featureLabel:__("WordPress.com Toolbar","jetpack"),text:__("Connect to enable the WordPress.com toolbar.","jetpack")}))}})},22034:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(71415),d=n(11973),h=n(9913),f=n(18582),m=n(55735),g=n(77222),v=n(93107),b=n(19555),y=n(5e4),k=n(84277),w=n(27006),_=n(24951);const __=u.__,_x=u._x;class E extends c().Component{constructor(){super(...arguments),o()(this,"regeneratePostByEmailAddress",(e=>{d.Z.tracks.recordJetpackClick("pbe-regenerage-email"),e.preventDefault(),this.props.regeneratePostByEmailAddress()})),o()(this,"address",(()=>{const e=this.props.getOptionValue("post_by_email_address");return!1===e||"1"===e||null===e?"":e}))}render(){if(!this.props.isModuleFound("post-by-email"))return null;const e=this.props.getModule("post-by-email"),t=this.props.getOptionValue("post-by-email"),n=this.props.isUnavailableInOfflineMode("post-by-email")||!this.props.isLinked,r=this.address();return c().createElement(k.Z,i()({},this.props,{module:"post-by-email",hideButton:!0}),c().createElement(w.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:e,support:{text:__("Allows you to publish new posts by sending an email to a special address.","jetpack"),link:(0,p.Z)("jetpack-support-post-by-email")}},c().createElement("p",null,__("Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.","jetpack")),this.props.userCanManageModules?c().createElement(g.T,{slug:"post-by-email",compact:!0,disabled:n,activated:t,toggling:this.props.isSavingAnyOption("post-by-email"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},this.props.module("post-by-email").description)):c().createElement("span",{className:"jp-form-toggle-explanation"},this.props.module("post-by-email").description),c().createElement(m.C_,null,c().createElement(m.lX,null,c().createElement(m.Gj,null,__("Send your new posts to this email address:","jetpack")),c().createElement(f.Z,{value:r,disabled:!t||n,copy:_x("Copy","verb","jetpack"),copied:__("Copied!","jetpack"),prompt:__("Highlight and copy the following text to your clipboard:","jetpack")})),c().createElement(h.Z,{disabled:!t||n,onClick:this.regeneratePostByEmailAddress},r?__("Regenerate address","jetpack"):__("Create address","jetpack",0)))),!this.props.isUnavailableInOfflineMode("post-by-email")&&!this.props.isLinked&&c().createElement(_.Z,{feature:"post-by-email",featureLabel:__("Post by Email","jetpack"),text:__("Connect to enable publishing via email.","jetpack")}))}}t.Z=(0,l.$j)((e=>({module:t=>(0,v.rT)(e,t),isModuleFound:t=>(0,b.CX)(e,t)})))((0,y.u)(E))},64261:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(27538),o=n.n(s),a=n(99196),c=n.n(a),l=n(2620),u=n(65736),p=n(71415),d=n(11973),h=n(55735),f=n(77222),m=n(93107),g=n(66552),v=n(19555),b=n(5e4),y=n(84277),k=n(27006),w=n(53263);const __=u.__;class _ extends c().Component{constructor(){super(...arguments),o()(this,"getInfiniteMode",(()=>this.props.getOptionValue("infinite-scroll")?this.props.getOptionValue("infinite_scroll","infinite-scroll")?"infinite_scroll":"infinite_button":"infinite_default")),o()(this,"updateInfiniteMode",(e=>{this.setState({infinite_mode:e},this.prepareOptionsToUpdate)})),o()(this,"prepareOptionsToUpdate",(()=>{"infinite_default"===this.state.infinite_mode?this.props.updateFormStateOptionValue("infinite-scroll",!1):"infinite_scroll"!==this.state.infinite_mode&&"infinite_button"!==this.state.infinite_mode||this.props.updateFormStateOptionValue({"infinite-scroll":!0,infinite_scroll:"infinite_scroll"===this.state.infinite_mode})})),o()(this,"updateOptions",((e,t)=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption(t,e))})),o()(this,"trackLearnMoreIS",(()=>{d.Z.tracks.recordJetpackClick({target:"learn-more",feature:"infinite-scroll",extra:"not-supported-link"})})),o()(this,"state",{infinite_mode:this.getInfiniteMode()}),o()(this,"handleInfiniteScrollModeChange",(e=>()=>this.updateInfiniteMode(e)))}render(){const e=this.props.isModuleFound("infinite-scroll"),t=this.props.isModuleFound("custom-css");if(!e&&!t)return null;const n=this.props.getModule("infinite-scroll"),r=this.props.getModule("custom-css"),s="inactive"===this.props.getModuleOverride("infinite-scroll");return c().createElement(y.Z,i()({},this.props,{header:__("Theme enhancements","jetpack"),hideButton:!e||!this.props.isInfiniteScrollSupported,module:"theme-enhancements"}),s&&c().createElement(w.Z,{moduleName:n.name,compact:!0}),e&&!s&&c().createElement(k.Z,{hasChild:!0,module:{module:n.module},key:`theme_enhancement_${n.module}`,support:{text:__("Loads the next posts automatically when the reader approaches the bottom of the page.","jetpack"),link:(0,p.Z)("jetpack-support-infinite-scroll")}},c().createElement(h.Gj,{className:"jp-form-label-wide"},n.name),c().createElement("p",null,__("Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.","jetpack")),this.props.isInfiniteScrollSupported?[{key:"infinite_default",label:__("Load more posts using the default theme behavior","jetpack")},{key:"infinite_button",label:__("Load more posts in page with a button","jetpack")},{key:"infinite_scroll",label:__("Load more posts as the reader scrolls down","jetpack")}].map((e=>c().createElement(h.lX,{key:`${n.module}_${e.key}`},c().createElement("input",{type:"radio",name:"infinite_mode",value:e.key,checked:e.key===this.state.infinite_mode,disabled:this.props.isSavingAnyOption([n.module,e.key]),onChange:this.handleInfiniteScrollModeChange(e.key)}),c().createElement("span",{className:"jp-form-toggle-explanation"},e.label)))):c().createElement("span",null,__("Theme support required.","jetpack")+" ",c().createElement("a",{onClick:this.trackLearnMoreIS,href:n.learn_more_button+"#theme",title:__("Learn more about adding support for Infinite Scroll to your theme.","jetpack")},__("Learn more","jetpack")))),t&&c().createElement(k.Z,{module:{module:r.module},support:{text:r.description,link:(0,p.Z)("jetpack-support-custom-css")}},c().createElement(f.T,{slug:"custom-css",activated:!!this.props.getOptionValue("custom-css"),toggling:this.props.isSavingAnyOption(["custom-css"]),disabled:this.props.isSavingAnyOption(["custom-css"]),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enhance CSS customization panel","jetpack")))))}}t.Z=(0,l.$j)((e=>({module:t=>(0,m.rT)(e,t),isInfiniteScrollSupported:(0,g.Cv)(e,"infinite-scroll"),isModuleFound:t=>(0,v.CX)(e,t)})))((0,b.u)(_))},78476:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(65736),l=n(71415),u=n(5e4),p=n(93107),d=n(19555),h=n(84277),f=n(27006),m=n(77222);const __=c.__,_x=c._x;class g extends s.Component{render(){const e=this.props.isModuleFound("widgets"),t=this.props.isModuleFound("widget-visibility");return e||t?o().createElement(h.Z,i()({},this.props,{header:_x("Widgets","Settings header","jetpack"),module:"widgets",hideButton:!0}),e&&o().createElement(f.Z,{module:{module:"widgets"},support:{text:this.props.widgetsModule.description,link:(0,l.Z)("jetpack-support-extra-sidebar-widgets")}},o().createElement(m.T,{slug:"widgets",activated:this.props.widgetsActive,toggling:this.props.isSavingAnyOption("widgets"),toggleModule:this.props.toggleModuleNow},__("Make extra widgets available for use on your site including subscription forms and Twitter streams","jetpack"))),t&&o().createElement(f.Z,{module:{module:"widget-visibility"},support:{text:__("Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.","jetpack"),link:(0,l.Z)("jetpack-support-widget-visibility")}},o().createElement(m.T,{slug:"widget-visibility",activated:this.props.widgetVisibilityActive,toggling:this.props.isSavingAnyOption("widget-visibility"),toggleModule:this.props.toggleModuleNow},__("Enable widget visibility controls to display widgets only on particular posts or pages","jetpack")))):null}}t.Z=(0,u.u)((0,a.$j)(((e,t)=>({widgetVisibilityActive:t.getOptionValue("widget-visibility"),widgetsActive:t.getOptionValue("widgets"),widgetsModule:(0,p.rT)(e,"widgets"),isModuleFound:t=>(0,d.CX)(e,t)})))(g))},11613:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),s=n(99196),o=n.n(s),a=n(2620),c=n(65736),l=n(71415),u=n(94069),p=n(55735),d=n(77222),h=n(5e4),f=n(84277),m=n(27006),g=n(93107),v=n(19555);const __=c.__;t.Z=(0,a.$j)((e=>({module:t=>(0,g.rT)(e,t),isModuleFound:t=>(0,v.CX)(e,t)})))((0,h.u)((function(e){const t=e.isModuleFound("carousel");if(!t)return null;const n=e.getOptionValue("carousel_display_comments","carousel"),r=e.getOptionValue("carousel_display_exif","carousel"),s=e.getOptionValue("carousel"),a=(t,n,r,i)=>o().createElement(u.Z,{checked:t,disabled:!s||e.isSavingAnyOption(["carousel",n]),onChange:r},o().createElement("span",{className:"jp-form-toggle-explanation"},i));return o().createElement(f.Z,i()({},e,{module:"media",header:__("Media","jetpack"),hideButton:!t,saveDisabled:e.isSavingAnyOption("carousel_background_color")}),o().createElement(m.Z,{hasChild:!0,module:{module:"carousel"},support:{link:(0,l.Z)("jetpack-support-carousel")}},o().createElement("p",null,__("Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.","jetpack")),o().createElement(d.T,{slug:"carousel",activated:s,toggling:e.isSavingAnyOption("carousel"),toggleModule:e.toggleModuleNow},o().createElement("span",{className:"jp-form-toggle-explanation"},__("Display images in a full-screen carousel gallery","jetpack"))),o().createElement(p.C_,null,a(r,"carousel_display_exif",(()=>{e.updateFormStateModuleOption("carousel","carousel_display_exif")}),__("Show photo Exif metadata in carousel (when available)","jetpack")),a(n,"carousel_display_comments",(()=>{e.updateFormStateModuleOption("carousel","carousel_display_comments")}),__("Show comments area in carousel","jetpack")),o().createElement(p.C_,null,o().createElement("p",{className:"jp-form-setting-explanation"},__("Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.","jetpack"))),o().createElement(p.lX,null,o().createElement(p.Gj,{className:"jp-form-label-wide"},__("Carousel color scheme","jetpack")),o().createElement(p.ih,i()({name:"carousel_background_color",value:e.getOptionValue("carousel_background_color"),disabled:!s||e.isSavingAnyOption(["carousel","carousel_background_color"])},e,{validValues:e.validValues("carousel_background_color","carousel")}))))))})))},10618:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(45086),i=n(57275),s=n(25303),o=n(45814),a=n(15746),c=n(12472),l=n(99196),u=n(89105),p=n.n(u),d=n(30682),h=(n(1920),function(e){(0,o.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;(0,r.Z)(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=t.call.apply(t,[this].concat(o)),(0,c.Z)((0,s.Z)(e),"state",{allTimeMax:e.props.value}),e}return(0,i.Z)(n,[{key:"getCompletionPercentage",value:function(){var e=Math.ceil((this.props.canGoBackwards?this.props.value:this.state.allTimeMax)/this.props.total*100);return Math.min(e,100)}},{key:"renderBar",value:function(){var e=this.props,t=e.color,n=e.title,r=e.total,i=e.value,s={width:this.getCompletionPercentage()+"%"};return t&&(s.backgroundColor=t),l.createElement("div",{"aria-valuemax":r,"aria-valuemin":0,"aria-valuenow":i,className:"progress-bar__progress",role:"progressbar",style:s},n&&l.createElement(d.Z,null,n))}},{key:"render",value:function(){var e=p()(this.props.className,"progress-bar",{"is-compact":this.props.compact,"is-pulsing":this.props.isPulsing});return l.createElement("div",{className:e},this.renderBar())}}],[{key:"getDerivedStateFromProps",value:function(e,t){return{allTimeMax:Math.max(t.allTimeMax,e.value)}}}]),n}(l.PureComponent));(0,c.Z)(h,"defaultProps",{total:100,compact:!1,isPulsing:!1,canGoBackwards:!1})},30682:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(99196),i=n.n(r);n(3696);function s(e){var t=e.children;return i().createElement("span",{className:"screen-reader-text"},t)}},75139:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r={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 i(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},78850:function(e,t,n){"use strict";n.d(t,{LR:function(){return o}});var r=n(52141),i=n(63807),s=n(75139);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,s.X)(t);if(!o||isNaN(e))return null;var a=(0,r.Z)({},o,n),c=a.decimal,l=a.grouping,u=a.precision,p=a.symbol,d=e<0?"-":"",h=Math.abs(e),f=Math.floor(h),m=(0,i.Y4)(f,{decimals:0,thousandsSep:l,decPoint:c}),g=u>0?(0,i.Y4)(h-f,{decimals:u,thousandsSep:l,decPoint:c}).slice(1):"";return{sign:d,symbol:p,integer:m,fraction:g}}},94481:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(99196),i=n(32365);function s(e,t){let n,i,o=[];for(let r=0;r<e.length;r++){const s=e[r];if("string"!==s.type){if(void 0===t[s.value])throw new Error(`Invalid interpolation, missing component node: \`${s.value}\``);if("object"!=typeof t[s.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${s.value}\``);if("componentClose"===s.type)throw new Error(`Missing opening component token: \`${s.value}\``);if("componentOpen"===s.type){n=t[s.value],i=r;break}o.push(t[s.value])}else o.push(s.value)}if(n){const a=function(e,t){const n=t[e];let r=0;for(let i=e+1;i<t.length;i++){const e=t[i];if(e.value===n.value){if("componentOpen"===e.type){r++;continue}if("componentClose"===e.type){if(0===r)return i;r--}}}throw new Error("Missing closing component token `"+n.value+"`")}(i,e),c=s(e.slice(i+1,a),t),l=(0,r.cloneElement)(n,{},c);if(o.push(l),a<e.length-1){const n=s(e.slice(a+1),t);o=o.concat(n)}}return o=o.filter(Boolean),0===o.length?null:1===o.length?o[0]:(0,r.createElement)(r.Fragment,null,...o)}function o(e){const{mixedString:t,components:n,throwErrors:r}=e;if(!n)return t;if("object"!=typeof n){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const o=(0,i.Z)(t);try{return s(o,n)}catch(e){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}},32365:function(e,t,n){"use strict";function r(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function i(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}n.d(t,{Z:function(){return i}})},47236:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),i=n(2571);function s(e){(0,r.assign)(e,i.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},59177:function(e,t,n){"use strict";function r(){var e=this;this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=function(t){t.source===e.windowInstance&&e.emit("message",t.data)}}(0,n(47236).Z)(r.prototype),r.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},r.prototype.getScreenCenterSpecs=function(e,t){var n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},r.prototype.isOpen=function(e){var t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},r.prototype.checkStatus=function(){for(var e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},r.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=r},52489:function(e,t,n){"use strict";var r=n(45086),i=n(57275),s=n(45814),o=n(15746),a=n(11268),c=n.n(a),l=n(99196),u=n.n(l),p=n(92819),d=n(13639),h=(n(99889),function(e){return e&&e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,"")}),f=(0,d.SL)((0,d.hs)(80),(0,d.KB)(80)),m=(0,d.SL)((0,d.hs)(200),(0,d.KB)(200)),g=function(e){(0,s.Z)(n,e);var t=(0,o.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.url,n=e.type,r=e.title,i=e.description,s=e.image,o=e.author;return u().createElement("div",{className:"facebook-preview facebook-preview__".concat(n)},u().createElement("div",{className:"facebook-preview__content"},u().createElement("div",{className:"facebook-preview__image"},s&&u().createElement("img",{alt:"Facebook Preview Thumbnail",src:s})),u().createElement("div",{className:"facebook-preview__body"},u().createElement("div",{className:"facebook-preview__url"},(0,p.compact)([h(t),o]).join(" | ")),u().createElement("div",{className:"facebook-preview__title"},f(r||"")),u().createElement("div",{className:"facebook-preview__description"},m((0,d.ju)(i))))))}}]),n}(l.PureComponent);g.propTypes={url:c().string,type:c().string,title:c().string,description:c().string,image:c().string,author:c().string},t.Z=g},13639:function(e,t,n){"use strict";n.d(t,{hs:function(){return i},I$:function(){return s},KB:function(){return o},SL:function(){return a},ju:function(){return c}});var r=n(92819),i=function(e){return function(t){return t.length<=e&&t}},s=function(e,t){return function(n){var r=n.slice(0,t),i=r.lastIndexOf(" ");return i>e&&i<t&&r.slice(0,i).concat("…")}},o=function(e){return function(t){return t.slice(0,e).concat("…")}},a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return(0,r.find)(t,(function(t){return!1!==t(e)}))(e)}},c=function(e){return e?e.replace(/(<([^>]+)>)/gi,""):""}},80505:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(11268),i=n.n(r),s=n(99196),o=n.n(s),a=n(13639),c=(n(93474),160),l=(0,a.SL)((0,a.hs)(63),(0,a.I$)(23,73),(0,a.KB)(63)),u=(0,a.SL)((0,a.hs)(c),(0,a.I$)(80,170),(0,a.KB)(c));function p(e){var t=e.description,n=e.title,r=e.url;return o().createElement("div",{className:"search-preview"},o().createElement("div",{className:"search-preview__display"},o().createElement("div",{className:"search-preview__url"},function(e){var t=e.replace(/^[^/]+[/]*/,"").split("/").join(" › ");return(0,a.SL)((0,a.hs)(68),(0,a.KB)(68))(t)}(r)," ▾"),o().createElement("div",{className:"search-preview__title"},l(n)),o().createElement("div",{className:"search-preview__description"},u((0,a.ju)(t)))))}p.propTypes={title:i().string,url:i().string,description:i().string},p.defaultProps={title:"",url:"",description:""}},79465:function(e,t,n){"use strict";var r=n(40988),i=n(49058),s=n(45086),o=n(57275),a=n(45814),c=n(15746),l=n(11268),u=n.n(l),p=n(99196),d=n.n(p),h=n(82943),f=(n(33285),function(e){(0,a.Z)(n,e);var t=(0,c.Z)(n);function n(){return(0,s.Z)(this,n),t.apply(this,arguments)}return(0,o.Z)(n,[{key:"render",value:function(){var e=this.props.tweets||[{text:"",media:[],card:(0,i.Z)((0,i.Z)({},this.props),{},{type:"large_image_summary"===this.props.type?"summary_large_image":this.props.type}),date:Date.now(),name:"Account Name",profileImage:"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:"@account"}];return d().createElement("div",{className:"twitter-preview"},e&&e.map((function(t,n){return d().createElement(h.t,(0,r.Z)({key:"twitter-preview__tweet-".concat(n),isLast:n+1===e.length},t))})))}}]),n}(p.PureComponent));f.propTypes={tweets:u().array},t.Z=f},82943:function(e,t,n){"use strict";n.d(t,{t:function(){return y}});var r=n(45086),i=n(57275),s=n(45814),o=n(15746),a=n(89105),c=n.n(a),l=n(11268),u=n.n(l),p=n(99196),d=n.n(p),h=n(76292),f=n.n(h),m=n(65736),g=n(55609),v=n(13639);n(33285);var __=m.__,b=(0,v.SL)((0,v.hs)(200),(0,v.KB)(200)),y=function(e){(0,s.Z)(n,e);var t=(0,o.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"renderSidebar",value:function(e,t){return d().createElement("div",{className:"twitter-preview__sidebar"},d().createElement("div",{className:"twitter-preview__profile-image"},d().createElement("img",{alt:__("Twitter profile image","jetpack"),src:e})),!t&&d().createElement("div",{className:"twitter-preview__connector"}))}},{key:"renderHeader",value:function(e,t,n){return d().createElement("div",{className:"twitter-preview__header"},d().createElement("span",{className:"twitter-preview__name"},e),d().createElement("span",{className:"twitter-preview__screen-name"},t),d().createElement("span",{className:"twitter-preview__date"},f()(n).format("MMM D")))}},{key:"renderText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.url||"",i=e.endsWith(r)?e.substr(0,e.lastIndexOf(r)):e,s=t.reduce((function(e,t){return e.replace(new RegExp("\\("+t+"\\)","g"),'(<a href="'.concat(t,'">').concat(t,"</a>)"))}),(0,v.ju)(i).replace(new RegExp("\\n","g"),"<br/>"));return d().createElement("div",{className:"twitter-preview__text",dangerouslySetInnerHTML:{__html:s}})}},{key:"renderMedia",value:function(e){if(e){var t=e.filter((function(e){return e.type.startsWith("image/")||e.type.startsWith("video/")})).filter((function(e,t,n){return 0===t||!n[0].type.startsWith("video/")&&"image/gif"!==n[0].type&&(!e.type.startsWith("video/")&&"image/gif"!==e.type)})).slice(0,4),n=t.length>0&&t[0].type.startsWith("video/"),r=c()(["twitter-preview__media","twitter-preview__media-children-"+t.length]);if(0!==t.length)return d().createElement("div",{className:r},n&&t.map((function(e,t){return d().createElement("video",{key:"twitter-preview__media-item-".concat(t),controls:!0},d().createElement("source",{src:e.url,type:e.type})," ")})),!n&&t.map((function(e,t){return d().createElement("img",{key:"twitter-preview__media-item-".concat(t),alt:e.alt,src:e.url})})))}}},{key:"renderQuoteTweet",value:function(e){if(e)return d().createElement("div",{className:"twitter-preview__quote-tweet"},d().createElement(g.SandBox,{html:'<blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><a href="'.concat(e,'"></a></blockquote>'),scripts:["https://platform.twitter.com/widgets.js"],title:"Embedded tweet",onFocus:this.hideOverlay}),d().createElement("div",{className:"twitter-preview__quote-tweet-overlay"}))}},{key:"renderCard",value:function(e){if(e){var t=e.description,n=e.image,r=e.title,i=e.type,s=e.url,o=c()("twitter-preview__card-".concat(i),{"twitter-preview__card-has-image":!!n});return d().createElement("div",{className:"twitter-preview__card"},d().createElement("div",{className:o},n&&d().createElement("img",{className:"twitter-preview__card-image",src:n,alt:""}),d().createElement("div",{className:"twitter-preview__card-body"},d().createElement("div",{className:"twitter-preview__card-title"},r),d().createElement("div",{className:"twitter-preview__card-description"},b((0,v.ju)(t))),d().createElement("div",{className:"twitter-preview__card-url"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("g",null,d().createElement("path",{d:"M11.96 14.945c-.067 0-.136-.01-.203-.027-1.13-.318-2.097-.986-2.795-1.932-.832-1.125-1.176-2.508-.968-3.893s.942-2.605 2.068-3.438l3.53-2.608c2.322-1.716 5.61-1.224 7.33 1.1.83 1.127 1.175 2.51.967 3.895s-.943 2.605-2.07 3.438l-1.48 1.094c-.333.246-.804.175-1.05-.158-.246-.334-.176-.804.158-1.05l1.48-1.095c.803-.592 1.327-1.463 1.476-2.45.148-.988-.098-1.975-.69-2.778-1.225-1.656-3.572-2.01-5.23-.784l-3.53 2.608c-.802.593-1.326 1.464-1.475 2.45-.15.99.097 1.975.69 2.778.498.675 1.187 1.15 1.992 1.377.4.114.633.528.52.928-.092.33-.394.547-.722.547z"}),d().createElement("path",{d:"M7.27 22.054c-1.61 0-3.197-.735-4.225-2.125-.832-1.127-1.176-2.51-.968-3.894s.943-2.605 2.07-3.438l1.478-1.094c.334-.245.805-.175 1.05.158s.177.804-.157 1.05l-1.48 1.095c-.803.593-1.326 1.464-1.475 2.45-.148.99.097 1.975.69 2.778 1.225 1.657 3.57 2.01 5.23.785l3.528-2.608c1.658-1.225 2.01-3.57.785-5.23-.498-.674-1.187-1.15-1.992-1.376-.4-.113-.633-.527-.52-.927.112-.4.528-.63.926-.522 1.13.318 2.096.986 2.794 1.932 1.717 2.324 1.224 5.612-1.1 7.33l-3.53 2.608c-.933.693-2.023 1.026-3.105 1.026z"}))),function(e){return e.replace(/^[^/]+[/]*(www\.)?/,"").replace(/\/.*$/,"")}(s||"")))))}}},{key:"renderFooter",value:function(){return d().createElement("div",{className:"twitter-preview__footer"},d().createElement("span",{className:"twitter-preview__icon-replies"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M14.046 2.242l-4.148-.01h-.002c-4.374 0-7.8 3.427-7.8 7.802 0 4.098 3.186 7.206 7.465 7.37v3.828c0 .108.044.286.12.403.142.225.384.347.632.347.138 0 .277-.038.402-.118.264-.168 6.473-4.14 8.088-5.506 1.902-1.61 3.04-3.97 3.043-6.312v-.017c-.006-4.367-3.43-7.787-7.8-7.788zm3.787 12.972c-1.134.96-4.862 3.405-6.772 4.643V16.67c0-.414-.335-.75-.75-.75h-.396c-3.66 0-6.318-2.476-6.318-5.886 0-3.534 2.768-6.302 6.3-6.302l4.147.01h.002c3.532 0 6.3 2.766 6.302 6.296-.003 1.91-.942 3.844-2.514 5.176z"}))),d().createElement("span",{className:"twitter-preview__icon-retweets"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M23.77 15.67c-.292-.293-.767-.293-1.06 0l-2.22 2.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414 0-.75.336-.75.75s.336.75.75.75h5.85c1.24 0 2.25 1.01 2.25 2.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06 0s-.294.768 0 1.06l3.5 3.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767 0-1.06zm-10.66 3.28H7.26c-1.24 0-2.25-1.01-2.25-2.25V6.46l2.22 2.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768 0-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06 0l-3.5 3.5c-.294.292-.294.767 0 1.06s.767.293 1.06 0l2.22-2.22V16.7c0 2.068 1.683 3.75 3.75 3.75h5.85c.414 0 .75-.336.75-.75s-.337-.75-.75-.75z"}))),d().createElement("span",{className:"twitter-preview__icon-likes"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"}))),d().createElement("span",{className:"twitter-preview__icon-share"},d().createElement("svg",{viewBox:"0 0 24 24"},d().createElement("path",{d:"M17.53 7.47l-5-5c-.293-.293-.768-.293-1.06 0l-5 5c-.294.293-.294.768 0 1.06s.767.294 1.06 0l3.72-3.72V15c0 .414.336.75.75.75s.75-.336.75-.75V4.81l3.72 3.72c.146.147.338.22.53.22s.384-.072.53-.22c.293-.293.293-.767 0-1.06z"}),d().createElement("path",{d:"M19.708 21.944H4.292C3.028 21.944 2 20.916 2 19.652V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 .437.355.792.792.792h15.416c.437 0 .792-.355.792-.792V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 1.264-1.028 2.292-2.292 2.292z"}))))}},{key:"render",value:function(){var e=this.props,t=e.isLast,n=e.profileImage,r=e.name,i=e.screenName,s=e.date,o=e.text,a=e.media,c=e.tweet,l=e.urls,u=e.card;return d().createElement("div",{className:"twitter-preview__container"},this.renderSidebar(n,t),d().createElement("div",{className:"twitter-preview__main"},this.renderHeader(r,i,s),d().createElement("div",{className:"twitter-preview__content"},this.renderText(o,l,u),this.renderMedia(a),this.renderQuoteTweet(c),this.renderCard(u)),this.renderFooter()))}}]),n}(p.PureComponent);y.propTypes={tweets:u().array,isLast:u().bool,profileImage:u().string,name:u().string,screenName:u().string,date:u().number,text:u().string,media:u().array,tweet:u().string,urls:u().array,card:u().object}},24555:function(e,t,n){"use strict";n.d(t,{tq:function(){return p},bQ:function(){return d}});var r=n(55246),i=769,s="<480px",o="undefined"==typeof window||!window.matchMedia;function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.min,n=e.max;return void 0!==t&&void 0!==n?o?{matches:i>t&&i<=n}:window.matchMedia("(min-width: ".concat(t+1,"px) and (max-width: ").concat(n,"px)")):void 0!==t?o?{matches:i>t}:window.matchMedia("(min-width: ".concat(t+1,"px)")):void 0!==n&&(o?{matches:i<=n}:window.matchMedia("(max-width: ".concat(n,"px)")))}var c={"<480px":a({max:480}),"<660px":a({max:660}),"<800px":a({max:800}),"<960px":a({max:960}),"<1040px":a({max:1040}),"<1280px":a({max:1280}),"<1400px":a({max:1400}),">480px":a({min:480}),">660px":a({min:660}),">800px":a({min:800}),">960px":a({min:960}),">1040px":a({min:1040}),">1280px":a({min:1280}),">1400px":a({min:1400}),"480px-660px":a({min:480,max:660}),"660px-960px":a({min:660,max:960}),"480px-960px":a({min:480,max:960})};function l(e){if(c.hasOwnProperty(e))return c[e];try{r.warn("Undefined breakpoint used in `mobile-first-breakpoint`",e)}catch(e){}}function u(e){var t=l(e);return t?t.matches:void 0}function p(){return u(s)}function d(){return o?i:window.innerWidth}},90922:function(e,t,n){var r=n(55246),i=n(5806);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==i&&"env"in i&&(e=i.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,r.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=r.debug||r.log||(()=>{}),e.exports=n(31967)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},31967:function(e,t,n){var r=n(55246);e.exports=function(e){function t(e){let n,r,s,o=null;function a(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];if(!a.enabled)return;const s=a,o=Number(new Date),c=o-(n||o);s.diff=c,s.prev=n,s.curr=o,n=o,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let l=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";l++;const i=t.formatters[n];if("function"==typeof i){const t=r[l];e=i.call(s,t),r.splice(l,1),l--}return e})),t.formatArgs.call(s,r);const u=s.log||t.log;u.apply(s,r)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=i,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(r!==t.namespaces&&(r=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function i(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){r.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},34770:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r="Invariant failed";function i(e,t){if(!e)throw new Error(r)}},11043:function(e,t,n){"use strict";var r=n(1625),i=n(99196);t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,s=i.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=s[0];var o=s[1];return s=e.value,e.getCurrentValue===t&&e.subscribe===n||(s=t(),o({getCurrentValue:t,subscribe:n,value:s})),i.useDebugValue(s),i.useEffect((function(){function e(){if(!i){var e=t();o((function(i){return i.getCurrentValue!==t||i.subscribe!==n||i.value===e?i:r({},i,{value:e})}))}}var i=!1,s=n(e);return e(),function(){i=!0,s()}}),[t,n]),s}},20036:function(e,t,n){"use strict";e.exports=n(11043)},49231:function(e,t,n){var r=n(55246);function i(e){try{if(!window.localStorage)return!1}catch(e){return!1}var t=window.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(i("noDeprecation"))return e;var n=!1;return function(){if(!n){if(i("throwDeprecation"))throw new Error(t);i("traceDeprecation")?r.trace(t):r.warn(t),n=!0}return e.apply(this,arguments)}}},11311:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},58370:function(e,t,n){"use strict";var r=n(98304),i=n(57372),s=n(32457),o=n(8639);function a(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,u=a(Object.prototype.toString),p=a(Number.prototype.valueOf),d=a(String.prototype.valueOf),h=a(Boolean.prototype.valueOf);if(c)var f=a(BigInt.prototype.valueOf);if(l)var m=a(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"[object Map]"===u(e)}function b(e){return"[object Set]"===u(e)}function y(e){return"[object WeakMap]"===u(e)}function k(e){return"[object WeakSet]"===u(e)}function w(e){return"[object ArrayBuffer]"===u(e)}function _(e){return"undefined"!=typeof ArrayBuffer&&(w.working?w(e):e instanceof ArrayBuffer)}function E(e){return"[object DataView]"===u(e)}function C(e){return"undefined"!=typeof DataView&&(E.working?E(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=o,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):o(e)||C(e)},t.isUint8Array=function(e){return"Uint8Array"===s(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===s(e)},t.isUint16Array=function(e){return"Uint16Array"===s(e)},t.isUint32Array=function(e){return"Uint32Array"===s(e)},t.isInt8Array=function(e){return"Int8Array"===s(e)},t.isInt16Array=function(e){return"Int16Array"===s(e)},t.isInt32Array=function(e){return"Int32Array"===s(e)},t.isFloat32Array=function(e){return"Float32Array"===s(e)},t.isFloat64Array=function(e){return"Float64Array"===s(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===s(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===s(e)},v.working="undefined"!=typeof Map&&v(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(v.working?v(e):e instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(b.working?b(e):e instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(y.working?y(e):e instanceof WeakMap)},k.working="undefined"!=typeof WeakSet&&k(new WeakSet),t.isWeakSet=function(e){return k(e)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),t.isArrayBuffer=_,E.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&E(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=C;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function j(e){return"[object SharedArrayBuffer]"===u(e)}function M(e){return void 0!==S&&(void 0===j.working&&(j.working=j(new S)),j.working?j(e):e instanceof S)}function x(e){return g(e,p)}function N(e){return g(e,d)}function A(e){return g(e,h)}function O(e){return c&&g(e,f)}function T(e){return l&&g(e,m)}t.isSharedArrayBuffer=M,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===u(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===u(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===u(e)},t.isGeneratorObject=function(e){return"[object Generator]"===u(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===u(e)},t.isNumberObject=x,t.isStringObject=N,t.isBooleanObject=A,t.isBigIntObject=O,t.isSymbolObject=T,t.isBoxedPrimitive=function(e){return x(e)||N(e)||A(e)||O(e)||T(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(_(e)||M(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},23333:function(e,t,n){var r=n(5806),i=n(55246),s=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},o=/%[sdj%]/g;t.format=function(e){if(!k(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,s=String(e).replace(o,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n<i;a=r[++n])b(a)||!E(a)?s+=" "+a:s+=" "+u(a);return s},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var s=!1;return function(){if(!s){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?i.trace(n):i.error(n),s=!0}return e.apply(this,arguments)}};var a={},c=/^$/;if(r.env.NODE_DEBUG){var l=r.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),c=new RegExp("^"+l+"$","i")}function u(e,n){var r={seen:[],stylize:d};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),v(n)?r.showHidden=n:n&&t._extend(r,n),w(r.showHidden)&&(r.showHidden=!1),w(r.depth)&&(r.depth=2),w(r.colors)&&(r.colors=!1),w(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=p),h(r,e,r.depth)}function p(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function d(e,t){return e}function h(e,n,r){if(e.customInspect&&n&&j(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return k(i)||(i=h(e,i,r)),i}var s=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(k(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(y(t))return e.stylize(""+t,"number");if(v(t))return e.stylize(""+t,"boolean");if(b(t))return e.stylize("null","null")}(e,n);if(s)return s;var o=Object.keys(n),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(n)),S(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return f(n);if(0===o.length){if(j(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(_(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(C(n))return e.stylize(Date.prototype.toString.call(n),"date");if(S(n))return f(n)}var l,u="",p=!1,d=["{","}"];(g(n)&&(p=!0,d=["[","]"]),j(n))&&(u=" [Function"+(n.name?": "+n.name:"")+"]");return _(n)&&(u=" "+RegExp.prototype.toString.call(n)),C(n)&&(u=" "+Date.prototype.toUTCString.call(n)),S(n)&&(u=" "+f(n)),0!==o.length||p&&0!=n.length?r<0?_(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=p?function(e,t,n,r,i){for(var s=[],o=0,a=t.length;o<a;++o)O(t,String(o))?s.push(m(e,t,n,r,String(o),!0)):s.push("");return i.forEach((function(i){i.match(/^\d+$/)||s.push(m(e,t,n,r,i,!0))})),s}(e,n,r,a,o):o.map((function(t){return m(e,n,r,a,t,p)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,u,d)):d[0]+u+d[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,n,r,i,s){var o,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),O(r,i)||(o="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=b(n)?h(e,c.value,null):h(e,c.value,n-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),w(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function g(e){return Array.isArray(e)}function v(e){return"boolean"==typeof e}function b(e){return null===e}function y(e){return"number"==typeof e}function k(e){return"string"==typeof e}function w(e){return void 0===e}function _(e){return E(e)&&"[object RegExp]"===M(e)}function E(e){return"object"==typeof e&&null!==e}function C(e){return E(e)&&"[object Date]"===M(e)}function S(e){return E(e)&&("[object Error]"===M(e)||e instanceof Error)}function j(e){return"function"==typeof e}function M(e){return Object.prototype.toString.call(e)}function x(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(c.test(e)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);i.error("%s %d: %s",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(58370),t.isArray=g,t.isBoolean=v,t.isNull=b,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=k,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=w,t.isRegExp=_,t.types.isRegExp=_,t.isObject=E,t.isDate=C,t.types.isDate=C,t.isError=S,t.types.isNativeError=S,t.isFunction=j,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(11311);var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(){var e=new Date,t=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":");return[e.getDate(),N[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){i.log("%s - %s",A(),t.format.apply(t,arguments))},t.inherits=n(59503),t._extend=function(e,t){if(!t||!E(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,s(e))},t.promisify.custom=T,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var s=this,o=function(){return i.apply(s,arguments)};e.apply(this,t).then((function(e){r.nextTick(o.bind(null,null,e))}),(function(e){r.nextTick(P.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,s(e)),t}},21976:function(e,t){"use strict";function n(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}t.Z=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every((function(t,n){return e(t,r[n])}));if("object"==typeof t||"object"==typeof r){var i=n(t),s=n(r);return i!==t||s!==r?e(i,s):Object.keys(Object.assign({},t,r)).every((function(n){return e(t[n],r[n])}))}return!1}},32457:function(e,t,n){"use strict";var r=n(49478),i=n(87331),s=n(16422),o=s("Object.prototype.toString"),a=n(77828)(),c="undefined"==typeof globalThis?window:globalThis,l=i(),u=s("String.prototype.slice"),p={},d=n(61787),h=Object.getPrototypeOf;a&&d&&h&&r(l,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var n=h(t),r=d(n,Symbol.toStringTag);if(!r){var i=h(n);r=d(i,Symbol.toStringTag)}p[e]=r.get}}}));var f=n(8639);e.exports=function(e){return!!f(e)&&(a&&Symbol.toStringTag in e?function(e){var t=!1;return r(p,(function(n,r){if(!t)try{var i=n.call(e);i===r&&(t=i)}catch(e){}})),t}(e):u(o(e),8,-1))}},62042:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},90724:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},44072:function(e,t,n){"use strict";e.exports=n.p+"images/boost-8ea10be101c586380d89.svg"},79568:function(e,t,n){"use strict";e.exports=n.p+"images/cloud-d0f9b0f863bc1adcc03e.svg"},23183:function(e,t,n){"use strict";e.exports=n.p+"images/remove-bug-aa23c420a6e6394d5787.svg"},80118:function(e,t,n){"use strict";e.exports=n.p+"images/shield-with-check-b59b7e859cf937a15a0e.svg"},20873:function(e,t,n){"use strict";e.exports=n.p+"images/shield-bb27f10b1ca957261b8d.svg"},92787:function(e){"use strict";if(void 0==={consumer_slug:"jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack"}},99196:function(e){"use strict";e.exports=window.React},91850:function(e){"use strict";e.exports=window.ReactDOM},92819:function(e){"use strict";e.exports=window.lodash},76292:function(e){"use strict";e.exports=window.moment},55609:function(e){"use strict";e.exports=window.wp.components},94333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},69771:function(e){"use strict";e.exports=window.wp.date},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n},70444:function(e){"use strict";e.exports=window.wp.primitives},96483:function(e){"use strict";e.exports=window.wp.url},56095:function(){},14864:function(){},69627:function(){},23833:function(){},80677:function(){},87331:function(e){"use strict";var t=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],n="undefined"==typeof globalThis?window:globalThis;e.exports=function(){for(var e=[],r=0;r<t.length;r++)"function"==typeof n[t[r]]&&(e[e.length]=t[r]);return e}},61787:function(e,t,n){"use strict";var r=n(25165)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},25303:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},45086:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},57275:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return i}})},15746:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(6336),i=n(77363),s=n(2102);function o(e){var t=(0,i.Z)();return function(){var n,i=(0,r.Z)(e);if(t){var o=(0,r.Z)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(0,s.Z)(this,n)}}},12472:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},40988:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},6336:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},45814:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99112);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},71446:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99112);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},77363:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},49058:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(12472);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},5343:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},2102:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(31344),i=n(25303);function s(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},99112:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},31344:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},8134:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},14316:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},97024:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(8134);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},55200:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},71687:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},93772:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return i}})},9057:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(72406),i=n(58189),s=n(34621);function o(e){var t=(0,i.Z)();return function(){var n,i=(0,r.Z)(e);if(t){var o=(0,r.Z)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(0,s.Z)(this,n)}}},98086:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},50735:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},72406:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},82104:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(43051);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},96980:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(43051);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},58189:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},40613:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},20120:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s=[],_n=!0,o=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(s.push(r.value),!t||s.length!==t);_n=!0);}catch(e){o=!0,i=e}finally{try{_n||null==n.return||n.return()}finally{if(o)throw i}}return s}}n.d(t,{Z:function(){return r}})},41722:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},56083:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},52141:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(98086);function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},59591:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(98086);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},34621:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(29504),i=n(55200);function s(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},43051:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},50572:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(14316),i=n(20120),s=n(33611),o=n(41722);function a(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,s.Z)(e,t)||(0,o.Z)()}},59128:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(97024),i=n(40613),s=n(33611),o=n(56083);function a(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,s.Z)(e)||(0,o.Z)()}},29504:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},33611:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(8134);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},4317:function(e){"use strict";e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},1877:function(e){"use strict";e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},72968:function(e){"use strict";e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},27046:function(e){"use strict";e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},80906:function(e){"use strict";e.exports={i8:"6.5.4"}},93611:function(e){"use strict";e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var s=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}();var r={};!function(){"use strict";n.d(r,{getRouteName:function(){return h}});var e=n(91850),t=n.n(e),i=n(99196),s=n.n(i),o=n(2620),a=n(1336),c=n(12901),l=(n(92819),n(65736)),u=n(30655),p=n(594),d=n(98772);const _x=l._x;function h(e){switch(e){default:return _x("At A Glance","Navigation item.","jetpack");case"/setup":return _x("Set up","Navigation item.","jetpack");case"/my-plan":return _x("My Plan","Navigation item.","jetpack");case"/plans":case"/plans-prompt":return _x("Plans","Navigation item.","jetpack");case"/recommendations":return _x("Recommendations","Navigation item.","jetpack");case"/settings":return _x("Settings","Navigation item.","jetpack");case"/discussion":return _x("Discussion","Navigation item.","jetpack");case"/security":return _x("Security","Navigation item.","jetpack");case"/performance":return _x("Performance","Navigation item.","jetpack");case"/traffic":return _x("Traffic","Navigation item.","jetpack");case"/writing":return _x("Writing","Navigation item.","jetpack");case"/sharing":return _x("Sharing","Navigation item.","jetpack");case"/license/activation":return _x("License","Navigation item.","jetpack")}}(0,u.Z)(),function(){const e=document.getElementById("jp-plugin-container");if(null===e)return;t().render(s().createElement("div",null,s().createElement(o.zt,{store:p.Z},s().createElement(a.UT,null,s().createElement(c.rs,null,s().createElement(c.AW,{path:"/dashboard"},s().createElement(d.Z,{routeName:h("/dashboard")})),s().createElement(c.AW,{path:"/reconnect"},s().createElement(d.Z,{routeName:h("/reconnect")})),s().createElement(c.AW,{path:"/setup"},s().createElement(d.Z,{routeName:h("/setup")})),s().createElement(c.AW,{path:"/my-plan"},s().createElement(d.Z,{routeName:h("/my-plan")})),s().createElement(c.AW,{path:"/plans"},s().createElement(d.Z,{routeName:h("/plans")})),s().createElement(c.AW,{path:"/recommendations"},s().createElement(d.Z,{routeName:h("/recommendations")})),s().createElement(c.AW,{path:"/plans-prompt"},s().createElement(d.Z,{routeName:h("/plans-prompt")})),s().createElement(c.AW,{path:"/settings"},s().createElement(d.Z,{routeName:h("/settings")})),s().createElement(c.AW,{path:"/discussion"},s().createElement(d.Z,{routeName:h("/discussion")})),s().createElement(c.AW,{path:"/security"},s().createElement(d.Z,{routeName:h("/security")})),s().createElement(c.AW,{path:"/performance"},s().createElement(d.Z,{routeName:h("/performance")})),s().createElement(c.AW,{path:"/traffic"},s().createElement(d.Z,{routeName:h("/traffic")})),s().createElement(c.AW,{path:"/writing"},s().createElement(d.Z,{routeName:h("/writing")})),s().createElement(c.AW,{path:"/sharing"},s().createElement(d.Z,{routeName:h("/sharing")})),s().createElement(c.AW,{path:"/license/activation"},s().createElement(d.Z,{routeName:h("/license/activation")})),s().createElement(c.AW,{path:"/wpbody-content",component:d.Z}),s().createElement(c.AW,{path:"/wp-toolbar",component:d.Z}),s().createElement(c.AW,{path:"/privacy",component:d.Z}),s().createElement(c.AW,{path:"/*"},s().createElement(d.Z,{routeName:h("/*")})))))),e)}()}(),window.getRouteName=r.getRouteName}(); \ No newline at end of file
+__("Google will email about certain events that occur with your site, including indications that your website has been <a1>hacked</a1>, or problems <a2>crawling or indexing</a2> your site.","jetpack"),{a1:a().createElement(d.ExternalLink,{rel:"noopener noreferrer",href:"https://developers.google.com/web/fundamentals/security/hacked/"}),a2:a().createElement(d.ExternalLink,{rel:"noopener noreferrer",href:"https://www.google.com/insidesearch/howsearchworks/crawling-indexing.html"})})))));const t=this.props.fetchingSiteData||this.props.fetchingGoogleSiteVerify||this.props.isVerifyingGoogleSite||this.props.disabled;return a().createElement("div",{className:"jp-form-input-with-prefix jp-form-google-label-unverified",key:"verification_service_google"},a().createElement("span",null,__("Google","jetpack")),a().createElement("div",{className:"jp-form-google-label-unverified-actions"},(0,p.createInterpolateElement)(__("<button1>Verify with Google</button1><span>or</span><button2>Manually Verify</button2>","jetpack"),{button1:a().createElement(k.Z,{primary:!0,type:"button",disabled:t,onClick:this.handleClickAutoVerify}),span:a().createElement("span",{className:"jp-form-google-separator"}),button2:a().createElement(k.Z,{type:"button",disabled:t,onClick:this.handleClickSetManually})})))}}r()(C,"propTypes",{disabled:c().bool}),r()(C,"defaultProps",{disabled:!1}),t.Z=(0,l.$j)((e=>({fetchingSiteData:(0,g._5)(e),googleSiteVerificationConnectUrl:(0,y.K0)(e,"google_site_verification"),googleSearchConsoleUrl:(0,E._g)(e),fetchingGoogleSiteVerify:(0,E.nZ)(e),isConnectedToGoogle:(0,E.hr)(e),isSiteVerifiedWithGoogle:(0,E.nS)(e),isVerifyingGoogleSite:(0,E.BH)(e),userCanManageOptions:(0,w.UF)(e),googleSiteVerificationError:(0,E.ou)(e),isOwner:(0,E.dO)(e)})),{checkVerifyStatusGoogle:E.n,createNotice:b.iI,removeNotice:b.qq,verifySiteGoogle:E.Zn})(C)},3915:function(e,t,n){"use strict";function s(e){return t=>{13!==t.which&&32!==t.which||e(t)}}n.d(t,{Z:function(){return s}})},2633:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(6324),d=n(5773),m=n(1674),h=n(1775),g=n(9292),f=n(5004),v=n(2353),k=n(416),_=n(3806),y=n(8178);const __=p.__,_x=p._x;class E extends c().Component{constructor(){super(...arguments),a()(this,"updateFormStateByMarkdown",(e=>this.props.getSettingCurrentValue("wpcom_publish_comments_with_markdown",e)?this.props.updateFormStateModuleOption(e,"wpcom_publish_posts_with_markdown"):this.props.updateFormStateModuleOption(e,"wpcom_publish_posts_with_markdown",!0))),a()(this,"toggleBlocks",(()=>{const e=!this.props.getSettingCurrentValue("jetpack_blocks_disabled");return this.props.updateOptions({jetpack_blocks_disabled:e})}))}render(){const e=this.props.isModuleFound("copy-post"),t=this.props.isModuleFound("latex"),n=this.props.isModuleFound("markdown"),s=this.props.isModuleFound("shortcodes"),i=this.props.isModuleFound("blocks");if(!(e||t||n||s||i))return null;const a=this.props.module("markdown"),o=this.props.module("latex"),l=this.props.module("copy-post"),p=this.props.module("shortcodes"),g=this.props.module("blocks"),v=c().createElement(y.Z,{module:l,support:{text:__("Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.","jetpack"),link:(0,u.Z)("jetpack-support-copy-post")}},c().createElement(h.C_,null,c().createElement(f.T,{slug:"copy-post",activated:!!this.props.getOptionValue("copy-post"),toggling:this.props.isSavingAnyOption("copy-post"),disabled:this.props.isSavingAnyOption("copy-post"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},l.description)))),k=c().createElement(y.Z,{module:a,support:{text:__("Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.","jetpack"),link:(0,u.Z)("jetpack-support-markdown")}},c().createElement(h.C_,null,c().createElement(f.T,{slug:"markdown",activated:!!this.props.getOptionValue("wpcom_publish_posts_with_markdown","markdown"),toggling:this.props.isSavingAnyOption(["markdown","wpcom_publish_posts_with_markdown"]),disabled:this.props.isSavingAnyOption(["markdown","wpcom_publish_posts_with_markdown"]),toggleModule:this.updateFormStateByMarkdown},c().createElement("span",{className:"jp-form-toggle-explanation"},a.description)))),E=c().createElement(y.Z,{module:o,support:{text:__("LaTeX is a powerful markup language for writing complex mathematical equations and formulas.","jetpack"),link:(0,u.Z)("jetpack-support-beautiful-math-with-latex")}},c().createElement(h.C_,null,c().createElement(f.T,{slug:"latex",activated:!!this.props.getOptionValue("latex"),toggling:this.props.isSavingAnyOption(["latex"]),disabled:this.props.isSavingAnyOption(["latex"]),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},o.description)))),w=c().createElement(y.Z,{module:p,support:{text:p.description,link:(0,u.Z)("jetpack-support-shortcode-embeds")}},c().createElement(h.C_,null,c().createElement(f.T,{slug:"shortcodes",activated:!!this.props.getOptionValue("shortcodes"),toggling:this.props.isSavingAnyOption(["shortcodes"]),disabled:this.props.isSavingAnyOption(["shortcodes"]),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Compose using shortcodes to embed media from popular sites","jetpack"))))),b=c().createElement(c().Fragment,null,c().createElement(y.Z,{module:g,support:{text:__("Jetpack includes some blocks which can help you create your pages exactly the way you want them.","jetpack"),link:(0,u.Z)("jetpack-support-blocks")}},c().createElement(h.C_,null,c().createElement(m.Z,{checked:!this.props.getOptionValue("jetpack_blocks_disabled"),disabled:this.props.isSavingAnyOption(["jetpack_blocks_disabled"]),onChange:this.toggleBlocks},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Jetpack Blocks give you the power to deliver quality content that hooks website visitors without needing to hire a developer or learn a single line of code.","jetpack")),!this.props.getOptionValue("jetpack_blocks_disabled")&&c().createElement("span",{className:"jp-form-setting-explanation"},__("Caution: if there are Jetpack blocks used in existing posts or pages, disabling this setting will cause those blocks to stop working.","jetpack"))))),c().createElement(d.Z,{className:"jp-settings-card__configure-link",href:`${this.props.siteAdminUrl}post-new.php`},__("Discover Jetpack tools in the block editor","jetpack")));return c().createElement(_.Z,r()({},this.props,{header:_x("Composing","Settings header","jetpack"),module:"composing",saveDisabled:this.props.isSavingAnyOption("ignored_phrases")}),e&&v,n&&k,t&&E,s&&w,i&&b)}}t.Z=(0,l.$j)((e=>({module:t=>(0,k.rT)(e,t),isModuleFound:t=>(0,g.CX)(e,t)})))((0,v.u)(E))},4312:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(9307),u=n(5736),d=n(6324),m=n(1674),h=n(5773),g=n(1775),f=n(2353),v=n(416),k=n(9292),_=n(3806),y=n(8178);const __=u.__;class E extends c().Component{constructor(){super(...arguments),a()(this,"state",{testimonial:this.props.getOptionValue("jetpack_testimonial","custom-content-types"),portfolio:this.props.getOptionValue("jetpack_portfolio","custom-content-types")}),a()(this,"updateCPTs",(e=>{const t="testimonial"===e?!(!this.state.testimonial||this.state.portfolio):!(!this.state.portfolio||this.state.testimonial);this.props.updateFormStateModuleOption("custom-content-types","jetpack_"+e,t),this.setState({[e]:!this.state[e]})})),a()(this,"linkIfActiveCPT",(e=>this.props.getSettingCurrentValue(`jetpack_${e}`,"custom-content-types")?c().createElement("a",{href:`${this.props.siteAdminUrl}edit.php?post_type=jetpack-${e}`}):c().createElement("span",null))),a()(this,"handleTestimonialToggleChange",(()=>{this.updateCPTs("testimonial")})),a()(this,"handlePortfolioToggleChange",(()=>{this.updateCPTs("portfolio")}))}render(){if(!this.props.isModuleFound("custom-content-types"))return null;const e=this.props.module("custom-content-types"),t="inactive"===this.props.getModuleOverride("custom-content-types"),n=t&&__("This feature has been disabled by a site administrator.","jetpack");return c().createElement(_.Z,r()({},this.props,{module:"custom-content-types",hideButton:!0}),c().createElement(y.Z,{hasChild:!0,module:e,support:{link:(0,d.Z)("jetpack-support-custom-content-types")}},c().createElement("p",null,(0,p.createInterpolateElement)(__("Add <testimonialLink>testimonials</testimonialLink> to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.","jetpack"),{testimonialLink:this.linkIfActiveCPT("testimonial")})),c().createElement(m.Z,{checked:this.state.testimonial,disabled:this.props.isSavingAnyOption("jetpack_testimonial")||t,onChange:this.handleTestimonialToggleChange,disabledReason:n},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Testimonials","jetpack"))),c().createElement(g.C_,null,c().createElement("p",{className:"jp-form-setting-explanation"},__("Testimonials shortcode: [testimonials]","jetpack")))),this.props.testimonialActive&&c().createElement(h.Z,{className:"jp-settings-card__configure-link",href:`${this.props.siteAdminUrl}post-new.php?post_type=jetpack-testimonial`},__("Add a testimonial","jetpack")),c().createElement(y.Z,{hasChild:!0,module:e,support:{link:(0,d.Z)("jetpack-support-custom-content-types")}},c().createElement("p",null,(0,p.createInterpolateElement)(__("Use <portfolioLink>portfolios</portfolioLink> on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.","jetpack"),{portfolioLink:this.linkIfActiveCPT("portfolio")})),c().createElement(m.Z,{checked:this.state.portfolio,disabled:this.props.isSavingAnyOption("jetpack_portfolio")||t,onChange:this.handlePortfolioToggleChange,disabledReason:n},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Portfolios","jetpack"))),c().createElement(g.C_,null,c().createElement("p",{className:"jp-form-setting-explanation"},__("Portfolios shortcode: [portfolio]","jetpack")))),this.props.portfolioActive&&c().createElement(h.Z,{className:"jp-settings-card__configure-link",href:`${this.props.siteAdminUrl}post-new.php?post_type=jetpack-portfolio`},__("Add a portfolio item","jetpack")))}}t.Z=(0,f.u)((0,l.$j)(((e,t)=>({module:t=>(0,v.rT)(e,t),isModuleFound:t=>(0,k.CX)(e,t),getModuleOverride:t=>(0,v.Qy)(e,t),portfolioActive:t.getSettingCurrentValue("jetpack_portfolio","custom-content-types"),testimonialActive:t.getSettingCurrentValue("jetpack_testimonial","custom-content-types")})))(E))},1421:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(5799),d=n(3230),m=n(9508),h=n(6300),g=n(416),f=n(9292),v=n(9270),k=n(2633),_=n(4312),y=n(3756),E=n(9414),w=n(9544),b=n(6720),C=n(1138);const __=p.__;class j extends c().Component{render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isLinked:this.props.isLinked,getModuleOverride:this.props.getModuleOverride},t=["carousel","copy-post","custom-css","latex","masterbar","markdown","shortcodes","custom-content-types","post-by-email","infinite-scroll","widgets","widget-visibility","blocks"].some(this.props.isModuleFound);if(!this.props.searchTerm&&!this.props.active)return null;if(!t)return null;const n=this.props.userCanManageModules||this.props.userCanEditPosts,s=this.props.userCanManageModules||this.props.userCanEditPosts&&this.props.isModuleActivated("post-by-email");return c().createElement("div",null,c().createElement(v.Z,null),c().createElement(u.Z,{title:this.props.searchTerm?__("Writing","jetpack"):__("Compose content the way you want to and streamline your publishing experience.","jetpack"),className:"jp-settings-description"}),this.props.isModuleFound("carousel")&&c().createElement(C.Z,e),n&&c().createElement(k.Z,r()({},e,{userCanManageModules:this.props.userCanManageModules})),this.props.isModuleFound("custom-content-types")&&c().createElement(_.Z,e),c().createElement(y.Z,e),c().createElement(w.Z,e),this.props.isModuleFound("post-by-email")&&s&&c().createElement(E.Z,r()({},e,{connectUrl:this.props.connectUrl,isLinked:this.props.isLinked,userCanManageModules:this.props.userCanManageModules})),this.props.isModuleFound("masterbar")&&!this.props.masterbarIsAlwaysActive&&c().createElement(b.S,r()({connectUrl:this.props.connectUrl},e)),!n&&!s&&c().createElement(u.Z,null,__("Writing tools available to you will be shown here when an administrator enables them.","jetpack")))}}a()(j,"displayName","WritingSettings"),t.Z=(0,l.$j)((e=>({module:t=>(0,g.rT)(e,t),settings:(0,d.Gw)(e),masterbarIsAlwaysActive:(0,m.Ug)(e),isOfflineMode:(0,h.Ex)(e),isUnavailableInOfflineMode:t=>(0,h.t_)(e,t),userCanEditPosts:(0,m.rp)(e),isModuleActivated:t=>(0,g.mp)(e,t),isLinked:(0,h.BU)(e),userCanManageModules:(0,m.pK)(e),isModuleFound:t=>(0,f.CX)(e,t),connectUrl:(0,h.AM)(e),getModuleOverride:t=>(0,g.Qy)(e,t)})))(j)},6720:function(e,t,n){"use strict";n.d(t,{S:function(){return h}});var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(5736),c=n(6324),l=n(2353),p=n(3806),u=n(8178),d=n(5004),m=n(6164);const __=o.__,_x=o._x,h=(0,l.u)(class extends i.Component{render(){const e=this.props.getOptionValue("masterbar"),t=this.props.isUnavailableInOfflineMode("masterbar"),n=this.props.isLinked;return a().createElement(p.Z,r()({},this.props,{header:_x("WordPress.com toolbar","Settings header","jetpack"),module:"masterbar",hideButton:!0}),a().createElement(u.Z,{disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:{module:"masterbar"},support:{text:__("Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.","jetpack"),link:(0,c.Z)("jetpack-support-masterbar")}},a().createElement("p",null,__("The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.","jetpack")),a().createElement(d.T,{slug:"masterbar",disabled:t||!n,activated:e,toggling:this.props.isSavingAnyOption("masterbar"),toggleModule:this.props.toggleModuleNow},__("Enable the WordPress.com toolbar","jetpack"))),!this.props.isUnavailableInOfflineMode("masterbar")&&!this.props.isLinked&&a().createElement(m.Z,{feature:"masterbar",featureLabel:__("WordPress.com Toolbar","jetpack"),text:__("Connect to enable the WordPress.com toolbar.","jetpack")}))}})},9414:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(6324),d=n(4069),m=n(7506),h=n(4104),g=n(1775),f=n(5004),v=n(416),k=n(9292),_=n(2353),y=n(3806),E=n(8178),w=n(6164);const __=p.__,_x=p._x;class b extends c().Component{constructor(){super(...arguments),a()(this,"regeneratePostByEmailAddress",(e=>{d.Z.tracks.recordJetpackClick("pbe-regenerage-email"),e.preventDefault(),this.props.regeneratePostByEmailAddress()})),a()(this,"address",(()=>{const e=this.props.getOptionValue("post_by_email_address");return!1===e||"1"===e||null===e?"":e}))}render(){if(!this.props.isModuleFound("post-by-email"))return null;const e=this.props.getModule("post-by-email"),t=this.props.getOptionValue("post-by-email"),n=this.props.isUnavailableInOfflineMode("post-by-email")||!this.props.isLinked,s=this.address();return c().createElement(y.Z,r()({},this.props,{module:"post-by-email",hideButton:!0}),c().createElement(E.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:e,support:{text:__("Allows you to publish new posts by sending an email to a special address.","jetpack"),link:(0,u.Z)("jetpack-support-post-by-email")}},c().createElement("p",null,__("Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.","jetpack")),this.props.userCanManageModules?c().createElement(f.T,{slug:"post-by-email",compact:!0,disabled:n,activated:t,toggling:this.props.isSavingAnyOption("post-by-email"),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},this.props.module("post-by-email").description)):c().createElement("span",{className:"jp-form-toggle-explanation"},this.props.module("post-by-email").description),c().createElement(g.C_,null,c().createElement(g.lX,null,c().createElement(g.Gj,null,__("Send your new posts to this email address:","jetpack")),c().createElement(h.Z,{value:s,disabled:!t||n,copy:_x("Copy","verb","jetpack"),copied:__("Copied!","jetpack"),prompt:__("Highlight and copy the following text to your clipboard:","jetpack")})),c().createElement(m.Z,{disabled:!t||n,onClick:this.regeneratePostByEmailAddress},s?__("Regenerate address","jetpack"):__("Create address","jetpack",0)))),!this.props.isUnavailableInOfflineMode("post-by-email")&&!this.props.isLinked&&c().createElement(w.Z,{feature:"post-by-email",featureLabel:__("Post by Email","jetpack"),text:__("Connect to enable publishing via email.","jetpack")}))}}t.Z=(0,l.$j)((e=>({module:t=>(0,v.rT)(e,t),isModuleFound:t=>(0,k.CX)(e,t)})))((0,_.u)(b))},3756:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(8294),a=n.n(i),o=n(9196),c=n.n(o),l=n(9309),p=n(5736),u=n(6324),d=n(4069),m=n(1775),h=n(5004),g=n(416),f=n(9508),v=n(9292),k=n(2353),_=n(3806),y=n(8178),E=n(9224);const __=p.__;class w extends c().Component{constructor(){super(...arguments),a()(this,"getInfiniteMode",(()=>this.props.getOptionValue("infinite-scroll")?this.props.getOptionValue("infinite_scroll","infinite-scroll")?"infinite_scroll":"infinite_button":"infinite_default")),a()(this,"updateInfiniteMode",(e=>{this.setState({infinite_mode:e},this.prepareOptionsToUpdate)})),a()(this,"prepareOptionsToUpdate",(()=>{"infinite_default"===this.state.infinite_mode?this.props.updateFormStateOptionValue("infinite-scroll",!1):"infinite_scroll"!==this.state.infinite_mode&&"infinite_button"!==this.state.infinite_mode||this.props.updateFormStateOptionValue({"infinite-scroll":!0,infinite_scroll:"infinite_scroll"===this.state.infinite_mode})})),a()(this,"updateOptions",((e,t)=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption(t,e))})),a()(this,"trackLearnMoreIS",(()=>{d.Z.tracks.recordJetpackClick({target:"learn-more",feature:"infinite-scroll",extra:"not-supported-link"})})),a()(this,"trackVisitCustomizer",(()=>{d.Z.tracks.recordJetpackClick({target:"visit-customizer",feature:"custom-css",extra:"not-supported-link"})})),a()(this,"state",{infinite_mode:this.getInfiniteMode()}),a()(this,"handleInfiniteScrollModeChange",(e=>()=>this.updateInfiniteMode(e)))}render(){const e=this.props.isModuleFound("infinite-scroll"),t=this.props.isModuleFound("custom-css");if(!e&&!t)return null;const n=this.props.getModule("infinite-scroll"),s=this.props.getModule("custom-css"),i="inactive"===this.props.getModuleOverride("infinite-scroll");return c().createElement(_.Z,r()({},this.props,{header:__("Theme enhancements","jetpack"),hideButton:!e||!this.props.isInfiniteScrollSupported,module:"theme-enhancements"}),i&&c().createElement(E.Z,{moduleName:n.name,compact:!0}),e&&!i&&c().createElement(y.Z,{hasChild:!0,module:{module:n.module},key:`theme_enhancement_${n.module}`,support:{text:__("Loads the next posts automatically when the reader approaches the bottom of the page.","jetpack"),link:(0,u.Z)("jetpack-support-infinite-scroll")}},c().createElement(m.Gj,{className:"jp-form-label-wide"},n.name),c().createElement("p",null,__("Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.","jetpack")),this.props.isInfiniteScrollSupported?[{key:"infinite_default",label:__("Load more posts using the default theme behavior","jetpack")},{key:"infinite_button",label:__("Load more posts in page with a button","jetpack")},{key:"infinite_scroll",label:__("Load more posts as the reader scrolls down","jetpack")}].map((e=>c().createElement(m.lX,{key:`${n.module}_${e.key}`},c().createElement("input",{type:"radio",name:"infinite_mode",value:e.key,checked:e.key===this.state.infinite_mode,disabled:this.props.isSavingAnyOption([n.module,e.key]),onChange:this.handleInfiniteScrollModeChange(e.key)}),c().createElement("span",{className:"jp-form-toggle-explanation"},e.label)))):c().createElement("span",null,__("Theme support required.","jetpack")+" ",c().createElement("a",{onClick:this.trackLearnMoreIS,href:n.learn_more_button+"#theme",title:__("Learn more about adding support for Infinite Scroll to your theme.","jetpack")},__("Learn more","jetpack")))),t&&c().createElement(y.Z,{module:{module:s.module},support:{text:s.description,link:(0,u.Z)("jetpack-support-custom-css")}},c().createElement(m.Gj,{className:"jp-form-label-wide"},s.name),c().createElement("span",null,c().createElement("p",null,__("Additional CSS can be added from the Customizer. Enable the enhanced Custom CSS feature below to add additional features.","jetpack")+" ",c().createElement("a",{onClick:this.trackVisitCustomizer,href:`${this.props.siteAdminUrl}customize.php?autofocus%5Bsection%5D=custom_css`,title:__("Edit and add CSS directly on your site from the Customizer.","jetpack")},__("Access the Customizer here.","jetpack")))),c().createElement(h.T,{slug:"custom-css",activated:!!this.props.getOptionValue("custom-css"),toggling:this.props.isSavingAnyOption(["custom-css"]),disabled:this.props.isSavingAnyOption(["custom-css"]),toggleModule:this.props.toggleModuleNow},c().createElement("span",{className:"jp-form-toggle-explanation"},__("Enhance CSS customization panel","jetpack")))))}}t.Z=(0,l.$j)((e=>({module:t=>(0,g.rT)(e,t),isInfiniteScrollSupported:(0,f.Cv)(e,"infinite-scroll"),isModuleFound:t=>(0,v.CX)(e,t)})))((0,k.u)(w))},9544:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(5736),l=n(6324),p=n(2353),u=n(416),d=n(9292),m=n(3806),h=n(8178),g=n(5004);const __=c.__,_x=c._x;class f extends i.Component{render(){const e=this.props.isModuleFound("widgets"),t=this.props.isModuleFound("widget-visibility");return e||t?a().createElement(m.Z,r()({},this.props,{header:_x("Widgets","Settings header","jetpack"),module:"widgets",hideButton:!0}),e&&a().createElement(h.Z,{module:{module:"widgets"},support:{text:this.props.widgetsModule.description,link:(0,l.Z)("jetpack-support-extra-sidebar-widgets")}},a().createElement(g.T,{slug:"widgets",activated:this.props.widgetsActive,toggling:this.props.isSavingAnyOption("widgets"),toggleModule:this.props.toggleModuleNow},__("Make extra widgets available for use on your site including subscription forms and Twitter streams","jetpack"))),t&&a().createElement(h.Z,{module:{module:"widget-visibility"},support:{text:__("Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.","jetpack"),link:(0,l.Z)("jetpack-support-widget-visibility")}},a().createElement(g.T,{slug:"widget-visibility",activated:this.props.widgetVisibilityActive,toggling:this.props.isSavingAnyOption("widget-visibility"),toggleModule:this.props.toggleModuleNow},__("Enable widget visibility controls to display widgets only on particular posts or pages","jetpack")))):null}}t.Z=(0,p.u)((0,o.$j)(((e,t)=>({widgetVisibilityActive:t.getOptionValue("widget-visibility"),widgetsActive:t.getOptionValue("widgets"),widgetsModule:(0,u.rT)(e,"widgets"),isModuleFound:t=>(0,d.CX)(e,t)})))(f))},1138:function(e,t,n){"use strict";var s=n(2402),r=n.n(s),i=n(9196),a=n.n(i),o=n(9309),c=n(5736),l=n(6324),p=n(1674),u=n(1775),d=n(5004),m=n(2353),h=n(3806),g=n(8178),f=n(416),v=n(9292);const __=c.__;t.Z=(0,o.$j)((e=>({module:t=>(0,f.rT)(e,t),isModuleFound:t=>(0,v.CX)(e,t)})))((0,m.u)((function(e){const t=e.isModuleFound("carousel");if(!t)return null;const n=e.getOptionValue("carousel_display_comments","carousel"),s=e.getOptionValue("carousel_display_exif","carousel"),i=e.getOptionValue("carousel"),o=(t,n,s,r)=>a().createElement(p.Z,{checked:t,disabled:!i||e.isSavingAnyOption(["carousel",n]),onChange:s},a().createElement("span",{className:"jp-form-toggle-explanation"},r));return a().createElement(h.Z,r()({},e,{module:"media",header:__("Media","jetpack"),hideButton:!t,saveDisabled:e.isSavingAnyOption("carousel_background_color")}),a().createElement(g.Z,{hasChild:!0,module:{module:"carousel"},support:{link:(0,l.Z)("jetpack-support-carousel")}},a().createElement("p",null,__("Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.","jetpack")),a().createElement(d.T,{slug:"carousel",activated:i,toggling:e.isSavingAnyOption("carousel"),toggleModule:e.toggleModuleNow},a().createElement("span",{className:"jp-form-toggle-explanation"},__("Display images in a full-screen carousel gallery","jetpack"))),a().createElement(u.C_,null,o(s,"carousel_display_exif",(()=>{e.updateFormStateModuleOption("carousel","carousel_display_exif")}),__("Show photo Exif metadata in carousel (when available)","jetpack")),o(n,"carousel_display_comments",(()=>{e.updateFormStateModuleOption("carousel","carousel_display_comments")}),__("Show comments area in carousel","jetpack")),a().createElement(u.C_,null,a().createElement("p",{className:"jp-form-setting-explanation"},__("Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.","jetpack"))),a().createElement(u.lX,null,a().createElement(u.Gj,{className:"jp-form-label-wide"},__("Carousel color scheme","jetpack")),a().createElement(u.ih,r()({name:"carousel_background_color",value:e.getOptionValue("carousel_background_color"),disabled:!i||e.isSavingAnyOption(["carousel","carousel_background_color"])},e,{validValues:e.validValues("carousel_background_color","carousel")}))))))})))},2395:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(4635),r=n(3094),i=n(506),a=n(3656),o=n(3959),c=n(2650),l=n(9196),p=n(5235),u=n.n(p),d=n(1801),m=(n(5574),function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a)),(0,c.Z)((0,i.Z)(e),"state",{allTimeMax:e.props.value}),e}return(0,r.Z)(n,[{key:"getCompletionPercentage",value:function(){var e=Math.ceil((this.props.canGoBackwards?this.props.value:this.state.allTimeMax)/this.props.total*100);return Math.min(e,100)}},{key:"renderBar",value:function(){var e=this.props,t=e.color,n=e.title,s=e.total,r=e.value,i={width:this.getCompletionPercentage()+"%"};return t&&(i.backgroundColor=t),l.createElement("div",{"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":r,className:"progress-bar__progress",role:"progressbar",style:i},n&&l.createElement(d.Z,null,n))}},{key:"render",value:function(){var e=u()(this.props.className,"progress-bar",{"is-compact":this.props.compact,"is-pulsing":this.props.isPulsing});return l.createElement("div",{className:e},this.renderBar())}}],[{key:"getDerivedStateFromProps",value:function(e,t){return{allTimeMax:Math.max(t.allTimeMax,e.value)}}}]),n}(l.PureComponent));(0,c.Z)(m,"defaultProps",{total:100,compact:!1,isPulsing:!1,canGoBackwards:!1})},1801:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var s=n(9196),r=n.n(s);n(4075);function i(e){var t=e.children;return r().createElement("span",{className:"screen-reader-text"},t)}},3317:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});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 r(e){return s[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},5607:function(e,t,n){"use strict";n.d(t,{LR:function(){return i}});var s=n(3317),r=n(5375);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=(0,s.X)(t);if(!i||isNaN(e))return null;const{decimal:a,grouping:o,precision:c,symbol:l}={...i,...n},p=e<0?"-":"",u=Math.abs(e),d=Math.floor(u),m=(0,r.Z)(u,c,a,o).split(a)[0],h=c>0?(0,r.Z)(u-d,c,a,o).slice(1):"";return{sign:p,symbol:l,integer:m,fraction:h}}},5375:function(e,t,n){"use strict";function s(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";const i=(e+"").replace(/[^0-9+\-Ee.]/g,""),a=isFinite(+i)?+i:0,o=isFinite(+t)?Math.abs(t):0,c=(o?s(a,o):""+Math.round(a)).split(".");return c[0].length>3&&(c[0]=c[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,r)),(c[1]||"").length<o&&(c[1]=c[1]||"",c[1]+=new Array(o-c[1].length+1).join("0")),c.join(n)}n.d(t,{Z:function(){return r}})},1530:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var s=n(3184);function r(e){Object.assign(e,s.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},7211:function(e,t,n){"use strict";function s(){this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=e=>{e.source===this.windowInstance&&this.emit("message",e.data)}}(0,n(1530).Z)(s.prototype),s.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},s.prototype.getScreenCenterSpecs=function(e,t){const n=void 0!==window.screenTop?window.screenTop:window.screenY,s=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(s+window.innerWidth/2-e/2)].join()},s.prototype.isOpen=function(e){let t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},s.prototype.checkStatus=function(){for(const e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},s.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t},t.Z=s},9988:function(e,t,n){"use strict";var s=n(2819),r=n(5844),i=n.n(r),a=n(9196),o=n(1987),c=(n(9961),n(4362));const l=e=>e&&e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,""),p=(0,o.SL)((0,o.hs)(80),(0,o.KB)(80)),u=(0,o.SL)((0,o.hs)(200),(0,o.KB)(200));class d extends a.PureComponent{render(){const{url:e,type:t,title:n,description:r,image:i,author:a}=this.props;return(0,c.tZ)("div",{className:`facebook-preview facebook-preview__${t}`,children:(0,c.BX)("div",{className:"facebook-preview__content",children:[(0,c.tZ)("div",{className:"facebook-preview__image",children:i&&(0,c.tZ)("img",{alt:"Facebook Preview Thumbnail",src:i})}),(0,c.BX)("div",{className:"facebook-preview__body",children:[(0,c.tZ)("div",{className:"facebook-preview__url",children:(0,s.compact)([l(e),a]).join(" | ")}),(0,c.tZ)("div",{className:"facebook-preview__title",children:p(n||"")}),(0,c.tZ)("div",{className:"facebook-preview__description",children:u((0,o.ju)(r))})]})]})})}}d.propTypes={url:i().string,type:i().string,title:i().string,description:i().string,image:i().string,author:i().string},t.Z=d},1987:function(e,t,n){"use strict";n.d(t,{I$:function(){return i},KB:function(){return a},SL:function(){return o},hs:function(){return r},ju:function(){return c}});var s=n(2819);const r=e=>t=>t.length<=e&&t,i=(e,t)=>n=>{const s=n.slice(0,t),r=s.lastIndexOf(" ");return r>e&&r<t&&s.slice(0,r).concat("…")},a=e=>t=>t.slice(0,e).concat("…"),o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>(0,s.find)(t,(t=>!1!==t(e)))(e)},c=e=>e?e.replace(/(<([^>]+)>)/gi,""):""},7143:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(5844),r=n.n(s),i=n(1987),a=(n(8783),n(4362));const o=160,c=e=>{const t=e.replace(/^[^/]+[/]*/,"").split("/").join(" › ");return(0,i.SL)((0,i.hs)(68),(0,i.KB)(68))(t)},l=(0,i.SL)((0,i.hs)(63),(0,i.I$)(23,73),(0,i.KB)(63)),p=(0,i.SL)((0,i.hs)(o),(0,i.I$)(80,170),(0,i.KB)(o));function u(e){let{description:t,title:n,url:s}=e;return(0,a.tZ)("div",{className:"search-preview",children:(0,a.BX)("div",{className:"search-preview__display",children:[(0,a.BX)("div",{className:"search-preview__url",children:[c(s)," ▾"]}),(0,a.tZ)("div",{className:"search-preview__title",children:l(n)}),(0,a.tZ)("div",{className:"search-preview__description",children:p((0,i.ju)(t))})]})})}u.propTypes={title:r().string,url:r().string,description:r().string},u.defaultProps={title:"",url:"",description:""}},149:function(e,t,n){"use strict";var s=n(5844),r=n.n(s),i=n(9196),a=n(3667),o=(n(8449),n(4362));class c extends i.PureComponent{render(){const e=this.props.tweets||[{text:"",media:[],card:{...this.props,type:"large_image_summary"===this.props.type?"summary_large_image":this.props.type},date:Date.now(),name:"Account Name",profileImage:"https://abs.twimg.com/sticky/default_profile_images/default_profile_bigger.png",screenName:"@account"}];return(0,o.tZ)("div",{className:"twitter-preview",children:e&&e.map(((t,n)=>(0,o.tZ)(a.t,{isLast:n+1===e.length,...t},`twitter-preview__tweet-${n}`)))})}}c.propTypes={tweets:r().array},t.Z=c},3667:function(e,t,n){"use strict";n.d(t,{t:function(){return f}});var s=n(5609),r=n(5736),i=n(5235),a=n.n(i),o=n(6292),c=n.n(o),l=n(5844),p=n.n(l),u=n(9196),d=n(1987),m=(n(8449),n(4362));const __=r.__,h=e=>e.replace(/^[^/]+[/]*(www\.)?/,"").replace(/\/.*$/,""),g=(0,d.SL)((0,d.hs)(200),(0,d.KB)(200));class f extends u.PureComponent{renderSidebar(e,t){return(0,m.BX)("div",{className:"twitter-preview__sidebar",children:[(0,m.tZ)("div",{className:"twitter-preview__profile-image",children:(0,m.tZ)("img",{alt:__("Twitter profile image","jetpack"),src:e})}),!t&&(0,m.tZ)("div",{className:"twitter-preview__connector"})]})}renderHeader(e,t,n){return(0,m.BX)("div",{className:"twitter-preview__header",children:[(0,m.tZ)("span",{className:"twitter-preview__name",children:e}),(0,m.tZ)("span",{className:"twitter-preview__screen-name",children:t}),(0,m.tZ)("span",{className:"twitter-preview__date",children:c()(n).format("MMM D")})]})}renderText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).url||"",s=e.endsWith(n)?e.substr(0,e.lastIndexOf(n)):e,r=t.reduce(((e,t)=>e.replace(new RegExp("\\("+t+"\\)","g"),`(<a href="${t}">${t}</a>)`)),(0,d.ju)(s).replace(new RegExp("\\n","g"),"<br/>"));return(0,m.tZ)("div",{className:"twitter-preview__text",dangerouslySetInnerHTML:{__html:r}})}renderMedia(e){if(!e)return;const t=e.filter((e=>e.type.startsWith("image/")||e.type.startsWith("video/"))).filter(((e,t,n)=>0===t||!n[0].type.startsWith("video/")&&"image/gif"!==n[0].type&&(!e.type.startsWith("video/")&&"image/gif"!==e.type))).slice(0,4),n=t.length>0&&t[0].type.startsWith("video/"),s=a()(["twitter-preview__media","twitter-preview__media-children-"+t.length]);return 0!==t.length?(0,m.BX)("div",{className:s,children:[n&&t.map(((e,t)=>(0,m.BX)("video",{controls:!0,children:[(0,m.tZ)("source",{src:e.url,type:e.type})," "]},`twitter-preview__media-item-${t}`))),!n&&t.map(((e,t)=>(0,m.tZ)("img",{alt:e.alt,src:e.url},`twitter-preview__media-item-${t}`)))]}):void 0}renderQuoteTweet(e){if(e)return(0,m.BX)("div",{className:"twitter-preview__quote-tweet",children:[(0,m.tZ)(s.SandBox,{html:`<blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><a href="${e}"></a></blockquote>`,scripts:["https://platform.twitter.com/widgets.js"],title:"Embedded tweet",onFocus:this.hideOverlay}),(0,m.tZ)("div",{className:"twitter-preview__quote-tweet-overlay"})]})}renderCard(e){if(!e)return;const{description:t,image:n,title:s,type:r,url:i}=e,o=a()(`twitter-preview__card-${r}`,{"twitter-preview__card-has-image":!!n});return(0,m.tZ)("div",{className:"twitter-preview__card",children:(0,m.BX)("div",{className:o,children:[n&&(0,m.tZ)("img",{className:"twitter-preview__card-image",src:n,alt:""}),(0,m.BX)("div",{className:"twitter-preview__card-body",children:[(0,m.tZ)("div",{className:"twitter-preview__card-title",children:s}),(0,m.tZ)("div",{className:"twitter-preview__card-description",children:g((0,d.ju)(t))}),(0,m.BX)("div",{className:"twitter-preview__card-url",children:[(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.BX)("g",{children:[(0,m.tZ)("path",{d:"M11.96 14.945c-.067 0-.136-.01-.203-.027-1.13-.318-2.097-.986-2.795-1.932-.832-1.125-1.176-2.508-.968-3.893s.942-2.605 2.068-3.438l3.53-2.608c2.322-1.716 5.61-1.224 7.33 1.1.83 1.127 1.175 2.51.967 3.895s-.943 2.605-2.07 3.438l-1.48 1.094c-.333.246-.804.175-1.05-.158-.246-.334-.176-.804.158-1.05l1.48-1.095c.803-.592 1.327-1.463 1.476-2.45.148-.988-.098-1.975-.69-2.778-1.225-1.656-3.572-2.01-5.23-.784l-3.53 2.608c-.802.593-1.326 1.464-1.475 2.45-.15.99.097 1.975.69 2.778.498.675 1.187 1.15 1.992 1.377.4.114.633.528.52.928-.092.33-.394.547-.722.547z"}),(0,m.tZ)("path",{d:"M7.27 22.054c-1.61 0-3.197-.735-4.225-2.125-.832-1.127-1.176-2.51-.968-3.894s.943-2.605 2.07-3.438l1.478-1.094c.334-.245.805-.175 1.05.158s.177.804-.157 1.05l-1.48 1.095c-.803.593-1.326 1.464-1.475 2.45-.148.99.097 1.975.69 2.778 1.225 1.657 3.57 2.01 5.23.785l3.528-2.608c1.658-1.225 2.01-3.57.785-5.23-.498-.674-1.187-1.15-1.992-1.376-.4-.113-.633-.527-.52-.927.112-.4.528-.63.926-.522 1.13.318 2.096.986 2.794 1.932 1.717 2.324 1.224 5.612-1.1 7.33l-3.53 2.608c-.933.693-2.023 1.026-3.105 1.026z"})]})}),h(i||"")]})]})]})})}renderFooter(){return(0,m.BX)("div",{className:"twitter-preview__footer",children:[(0,m.tZ)("span",{className:"twitter-preview__icon-replies",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M14.046 2.242l-4.148-.01h-.002c-4.374 0-7.8 3.427-7.8 7.802 0 4.098 3.186 7.206 7.465 7.37v3.828c0 .108.044.286.12.403.142.225.384.347.632.347.138 0 .277-.038.402-.118.264-.168 6.473-4.14 8.088-5.506 1.902-1.61 3.04-3.97 3.043-6.312v-.017c-.006-4.367-3.43-7.787-7.8-7.788zm3.787 12.972c-1.134.96-4.862 3.405-6.772 4.643V16.67c0-.414-.335-.75-.75-.75h-.396c-3.66 0-6.318-2.476-6.318-5.886 0-3.534 2.768-6.302 6.3-6.302l4.147.01h.002c3.532 0 6.3 2.766 6.302 6.296-.003 1.91-.942 3.844-2.514 5.176z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-retweets",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M23.77 15.67c-.292-.293-.767-.293-1.06 0l-2.22 2.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414 0-.75.336-.75.75s.336.75.75.75h5.85c1.24 0 2.25 1.01 2.25 2.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06 0s-.294.768 0 1.06l3.5 3.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767 0-1.06zm-10.66 3.28H7.26c-1.24 0-2.25-1.01-2.25-2.25V6.46l2.22 2.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768 0-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06 0l-3.5 3.5c-.294.292-.294.767 0 1.06s.767.293 1.06 0l2.22-2.22V16.7c0 2.068 1.683 3.75 3.75 3.75h5.85c.414 0 .75-.336.75-.75s-.337-.75-.75-.75z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-likes",children:(0,m.tZ)("svg",{viewBox:"0 0 24 24",children:(0,m.tZ)("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"})})}),(0,m.tZ)("span",{className:"twitter-preview__icon-share",children:(0,m.BX)("svg",{viewBox:"0 0 24 24",children:[(0,m.tZ)("path",{d:"M17.53 7.47l-5-5c-.293-.293-.768-.293-1.06 0l-5 5c-.294.293-.294.768 0 1.06s.767.294 1.06 0l3.72-3.72V15c0 .414.336.75.75.75s.75-.336.75-.75V4.81l3.72 3.72c.146.147.338.22.53.22s.384-.072.53-.22c.293-.293.293-.767 0-1.06z"}),(0,m.tZ)("path",{d:"M19.708 21.944H4.292C3.028 21.944 2 20.916 2 19.652V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 .437.355.792.792.792h15.416c.437 0 .792-.355.792-.792V14c0-.414.336-.75.75-.75s.75.336.75.75v5.652c0 1.264-1.028 2.292-2.292 2.292z"})]})})]})}render(){const{isLast:e,profileImage:t,name:n,screenName:s,date:r,text:i,media:a,tweet:o,urls:c,card:l}=this.props;return(0,m.BX)("div",{className:"twitter-preview__container",children:[this.renderSidebar(t,e),(0,m.BX)("div",{className:"twitter-preview__main",children:[this.renderHeader(n,s,r),(0,m.BX)("div",{className:"twitter-preview__content",children:[this.renderText(i,c,l),this.renderMedia(a),this.renderQuoteTweet(o),this.renderCard(l)]}),this.renderFooter()]})]})}}f.propTypes={tweets:p().array,isLast:p().bool,profileImage:p().string,name:p().string,screenName:p().string,date:p().number,text:p().string,media:p().array,tweet:p().string,urls:p().array,card:p().object}},2816:function(e,t,n){"use strict";n.d(t,{bQ:function(){return u},tq:function(){return p}});var s=769,r="<480px",i="undefined"==typeof window||!window.matchMedia;function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.min,n=e.max;return void 0!==t&&void 0!==n?i?{matches:s>t&&s<=n}:window.matchMedia("(min-width: ".concat(t+1,"px) and (max-width: ").concat(n,"px)")):void 0!==t?i?{matches:s>t}:window.matchMedia("(min-width: ".concat(t+1,"px)")):void 0!==n&&(i?{matches:s<=n}:window.matchMedia("(max-width: ".concat(n,"px)")))}var o={"<480px":a({max:480}),"<660px":a({max:660}),"<800px":a({max:800}),"<960px":a({max:960}),"<1040px":a({max:1040}),"<1280px":a({max:1280}),"<1400px":a({max:1400}),">480px":a({min:480}),">660px":a({min:660}),">800px":a({min:800}),">960px":a({min:960}),">1040px":a({min:1040}),">1280px":a({min:1280}),">1400px":a({min:1400}),"480px-660px":a({min:480,max:660}),"660px-960px":a({min:660,max:960}),"480px-960px":a({min:480,max:960})};function c(e){if(o.hasOwnProperty(e))return o[e];try{console.warn("Undefined breakpoint used in `mobile-first-breakpoint`",e)}catch(e){}}function l(e){var t=c(e);return t?t.matches:void 0}function p(){return l(r)}function u(){return i?s:window.innerWidth}},1128:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let s=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(r=s))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(2942)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2942:function(e,t,n){e.exports=function(e){function t(e){let n,r,i,a=null;function o(){for(var e=arguments.length,s=new Array(e),r=0;r<e;r++)s[r]=arguments[r];if(!o.enabled)return;const i=o,a=Number(new Date),c=a-(n||a);i.diff=c,i.prev=n,i.curr=a,n=a,s[0]=t.coerce(s[0]),"string"!=typeof s[0]&&s.unshift("%O");let l=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";l++;const r=t.formatters[n];if("function"==typeof r){const t=s[l];e=r.call(i,t),s.splice(l,1),l--}return e})),t.formatArgs.call(i,s);const p=i.log||t.log;p.apply(i,s)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=s,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(r!==t.namespaces&&(r=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function s(e,n){const s=t(this.namespace+(void 0===n?":":n)+e);return s.log=this.log,s}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),r=s.length;for(n=0;n<r;n++)s[n]&&("-"===(e=s[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,s;for(n=0,s=t.skips.length;n<s;n++)if(t.skips[n].test(e))return!1;for(n=0,s=t.names.length;n<s;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(3171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},6692:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var s="Invariant failed";function r(e,t){if(!e)throw new Error(s)}},1260:function(e,t){"use strict";function n(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}t.Z=function e(t,s){if(t===s)return!0;if(null==t||null==s)return!1;if(Array.isArray(t))return Array.isArray(s)&&t.length===s.length&&t.every((function(t,n){return e(t,s[n])}));if("object"==typeof t||"object"==typeof s){var r=n(t),i=n(s);return r!==t||i!==s?e(r,i):Object.keys(Object.assign({},t,s)).every((function(n){return e(t[n],s[n])}))}return!1}},2042:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},8702:function(e,t,n){"use strict";e.exports=n.p+"images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png"},1160:function(e,t,n){"use strict";e.exports=n.p+"images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png"},4072:function(e,t,n){"use strict";e.exports=n.p+"images/boost-8ea10be101c586380d89.svg"},7436:function(e,t,n){"use strict";e.exports=n.p+"images/people-c8df8440a2897e6d0eba.svg"},9568:function(e,t,n){"use strict";e.exports=n.p+"images/cloud-d0f9b0f863bc1adcc03e.svg"},3183:function(e,t,n){"use strict";e.exports=n.p+"images/remove-bug-aa23c420a6e6394d5787.svg"},118:function(e,t,n){"use strict";e.exports=n.p+"images/shield-with-check-b59b7e859cf937a15a0e.svg"},873:function(e,t,n){"use strict";e.exports=n.p+"images/shield-bb27f10b1ca957261b8d.svg"},2787:function(e){"use strict";if(void 0==={consumer_slug:"jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack"}},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},6292:function(e){"use strict";e.exports=window.moment},5609:function(e){"use strict";e.exports=window.wp.components},9818:function(e){"use strict";e.exports=window.wp.data},9771:function(e){"use strict";e.exports=window.wp.date},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},444:function(e){"use strict";e.exports=window.wp.primitives},6483:function(e){"use strict";e.exports=window.wp.url},9369:function(){},506:function(e,t,n){"use strict";function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return s}})},4635:function(e,t,n){"use strict";function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return s}})},3094:function(e,t,n){"use strict";function s(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function r(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return r}})},3959:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var s=n(1227),r=n(1203),i=n(5309);function a(e){var t=(0,r.Z)();return function(){var n,r=(0,s.Z)(e);if(t){var a=(0,s.Z)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,i.Z)(this,n)}}},2650:function(e,t,n){"use strict";function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return s}})},255:function(e,t,n){"use strict";function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},s.apply(this,arguments)}n.d(t,{Z:function(){return s}})},1227:function(e,t,n){"use strict";function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}n.d(t,{Z:function(){return s}})},3656:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var s=n(205);function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,s.Z)(e,t)}},1806:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var s=n(205);function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,s.Z)(e,t)}},1203:function(e,t,n){"use strict";function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return s}})},7921:function(e,t,n){"use strict";function s(e,t){if(null==e)return{};var n,s,r={},i=Object.keys(e);for(s=0;s<i.length;s++)n=i[s],t.indexOf(n)>=0||(r[n]=e[n]);return r}n.d(t,{Z:function(){return s}})},5309:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var s=n(7381),r=n(506);function i(e,t){if(t&&("object"===(0,s.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}},205:function(e,t,n){"use strict";function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}n.d(t,{Z:function(){return s}})},7381:function(e,t,n){"use strict";function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}n.d(t,{Z:function(){return s}})},2263:function(e,t,n){"use strict";n.d(t,{Ab:function(){return a},Fr:function(){return o},G$:function(){return i},K$:function(){return l},MS:function(){return s},h5:function(){return c},lK:function(){return p},uj:function(){return r}});var s="-ms-",r="-moz-",i="-webkit-",a="comm",o="rule",c="decl",l="@import",p="@keyframes"},7227:function(e,t,n){"use strict";n.d(t,{Ji:function(){return p},cD:function(){return l},qR:function(){return c}});var s=n(2263),r=n(2875),i=n(1253),a=n(173),o=n(9430);function c(e){var t=(0,r.Ei)(e);return function(n,s,r,i){for(var a="",o=0;o<t;o++)a+=e[o](n,s,r,i)||"";return a}}function l(e){return function(t){t.root||(t=t.return)&&e(t)}}function p(e,t,n,c){if(e.length>-1&&!e.return)switch(e.type){case s.h5:e.return=(0,o.O)(e.value,e.length);break;case s.lK:return(0,a.q)([(0,i.JG)(e,{value:(0,r.gx)(e.value,"@","@"+s.G$)})],c);case s.Fr:if(e.length)return(0,r.$e)(e.props,(function(t){switch((0,r.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,a.q)([(0,i.JG)(e,{props:[(0,r.gx)(t,/:(read-\w+)/,":"+s.uj+"$1")]})],c);case"::placeholder":return(0,a.q)([(0,i.JG)(e,{props:[(0,r.gx)(t,/:(plac\w+)/,":"+s.G$+"input-$1")]}),(0,i.JG)(e,{props:[(0,r.gx)(t,/:(plac\w+)/,":"+s.uj+"$1")]}),(0,i.JG)(e,{props:[(0,r.gx)(t,/:(plac\w+)/,s.MS+"input-$1")]})],c)}return""}))}}},4912:function(e,t,n){"use strict";n.d(t,{MY:function(){return a}});var s=n(2263),r=n(2875),i=n(1253);function a(e){return(0,i.cE)(o("",null,null,null,[""],e=(0,i.un)(e),0,[0],e))}function o(e,t,n,s,a,u,d,m,h){for(var g=0,f=0,v=d,k=0,_=0,y=0,E=1,w=1,b=1,C=0,j="",S=a,N=u,x=s,T=j;w;)switch(y=C,C=(0,i.lp)()){case 40:if(108!=y&&58==T.charCodeAt(v-1)){-1!=(0,r.Cw)(T+=(0,r.gx)((0,i.iF)(C),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:T+=(0,i.iF)(C);break;case 9:case 10:case 13:case 32:T+=(0,i.Qb)(y);break;case 92:T+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,r.R3)(l((0,i.q6)((0,i.lp)(),(0,i.Ud)()),t,n),h);break;default:T+="/"}break;case 123*E:m[g++]=(0,r.to)(T)*b;case 125*E:case 59:case 0:switch(C){case 0:case 125:w=0;case 59+f:_>0&&(0,r.to)(T)-v&&(0,r.R3)(_>32?p(T+";",s,n,v-1):p((0,r.gx)(T," ","")+";",s,n,v-2),h);break;case 59:T+=";";default:if((0,r.R3)(x=c(T,t,n,g,f,a,m,j,S=[],N=[],v),u),123===C)if(0===f)o(T,t,x,x,S,u,v,m,N);else switch(k){case 100:case 109:case 115:o(e,x,x,s&&(0,r.R3)(c(e,x,x,0,0,a,m,j,a,S=[],v),N),a,N,v,m,s?S:N);break;default:o(T,x,x,x,[""],N,0,m,N)}}g=f=_=0,E=b=1,j=T="",v=d;break;case 58:v=1+(0,r.to)(T),_=y;default:if(E<1)if(123==C)--E;else if(125==C&&0==E++&&125==(0,i.mp)())continue;switch(T+=(0,r.Dp)(C),C*E){case 38:b=f>0?1:(T+="\f",-1);break;case 44:m[g++]=((0,r.to)(T)-1)*b,b=1;break;case 64:45===(0,i.fj)()&&(T+=(0,i.iF)((0,i.lp)())),k=(0,i.fj)(),f=v=(0,r.to)(j=T+=(0,i.QU)((0,i.Ud)())),C++;break;case 45:45===y&&2==(0,r.to)(T)&&(E=0)}}return u}function c(e,t,n,a,o,c,l,p,u,d,m){for(var h=o-1,g=0===o?c:[""],f=(0,r.Ei)(g),v=0,k=0,_=0;v<a;++v)for(var y=0,E=(0,r.tb)(e,h+1,h=(0,r.Wn)(k=l[v])),w=e;y<f;++y)(w=(0,r.fy)(k>0?g[y]+" "+E:(0,r.gx)(E,/&\f/g,g[y])))&&(u[_++]=w);return(0,i.dH)(e,t,n,0===o?s.Fr:p,u,d,m)}function l(e,t,n){return(0,i.dH)(e,t,n,s.Ab,(0,r.Dp)((0,i.Tb)()),(0,r.tb)(e,2,-2),0)}function p(e,t,n,a){return(0,i.dH)(e,t,n,s.h5,(0,r.tb)(e,0,a),(0,r.tb)(e,a+1,-1),a)}},9430:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var s=n(2263),r=n(2875);function i(e,t){switch((0,r.vp)(e,t)){case 5103:return s.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return s.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return s.G$+e+s.uj+e+s.MS+e+e;case 6828:case 4268:return s.G$+e+s.MS+e+e;case 6165:return s.G$+e+s.MS+"flex-"+e+e;case 5187:return s.G$+e+(0,r.gx)(e,/(\w+).+(:[^]+)/,s.G$+"box-$1$2"+s.MS+"flex-$1$2")+e;case 5443:return s.G$+e+s.MS+"flex-item-"+(0,r.gx)(e,/flex-|-self/,"")+e;case 4675:return s.G$+e+s.MS+"flex-line-pack"+(0,r.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return s.G$+e+s.MS+(0,r.gx)(e,"shrink","negative")+e;case 5292:return s.G$+e+s.MS+(0,r.gx)(e,"basis","preferred-size")+e;case 6060:return s.G$+"box-"+(0,r.gx)(e,"-grow","")+s.G$+e+s.MS+(0,r.gx)(e,"grow","positive")+e;case 4554:return s.G$+(0,r.gx)(e,/([^-])(transform)/g,"$1"+s.G$+"$2")+e;case 6187:return(0,r.gx)((0,r.gx)((0,r.gx)(e,/(zoom-|grab)/,s.G$+"$1"),/(image-set)/,s.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,r.gx)(e,/(image-set\([^]*)/,s.G$+"$1$`$1");case 4968:return(0,r.gx)((0,r.gx)(e,/(.+:)(flex-)?(.*)/,s.G$+"box-pack:$3"+s.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+s.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,r.gx)(e,/(.+)-inline(.+)/,s.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,r.to)(e)-1-t>6)switch((0,r.uO)(e,t+1)){case 109:if(45!==(0,r.uO)(e,t+4))break;case 102:return(0,r.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+s.G$+"$2-$3$1"+s.uj+(108==(0,r.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,r.Cw)(e,"stretch")?i((0,r.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,r.uO)(e,t+1))break;case 6444:switch((0,r.uO)(e,(0,r.to)(e)-3-(~(0,r.Cw)(e,"!important")&&10))){case 107:return(0,r.gx)(e,":",":"+s.G$)+e;case 101:return(0,r.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+s.G$+(45===(0,r.uO)(e,14)?"inline-":"")+"box$3$1"+s.G$+"$2$3$1"+s.MS+"$2box$3")+e}break;case 5936:switch((0,r.uO)(e,t+11)){case 114:return s.G$+e+s.MS+(0,r.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return s.G$+e+s.MS+(0,r.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return s.G$+e+s.MS+(0,r.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return s.G$+e+s.MS+e+e}return e}},173:function(e,t,n){"use strict";n.d(t,{P:function(){return a},q:function(){return i}});var s=n(2263),r=n(2875);function i(e,t){for(var n="",s=(0,r.Ei)(e),i=0;i<s;i++)n+=t(e[i],i,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case s.K$:case s.h5:return e.return=e.return||e.value;case s.Ab:return"";case s.lK:return e.return=e.value+"{"+i(e.children,a)+"}";case s.Fr:e.value=e.props.join(",")}return(0,r.to)(n=i(e.children,a))?e.return=e.value+"{"+n+"}":""}},1253:function(e,t,n){"use strict";n.d(t,{FK:function(){return o},JG:function(){return u},QU:function(){return S},Qb:function(){return w},Tb:function(){return d},Ud:function(){return f},cE:function(){return y},dH:function(){return p},fj:function(){return g},iF:function(){return E},kq:function(){return b},lp:function(){return h},mp:function(){return m},q6:function(){return j},r:function(){return k},tP:function(){return v},un:function(){return _}});var s=n(2875),r=1,i=1,a=0,o=0,c=0,l="";function p(e,t,n,s,a,o,c){return{value:e,root:t,parent:n,type:s,props:a,children:o,line:r,column:i,length:c,return:""}}function u(e,t){return(0,s.f0)(p("",null,null,"",null,null,0),e,{length:-e.length},t)}function d(){return c}function m(){return c=o>0?(0,s.uO)(l,--o):0,i--,10===c&&(i=1,r--),c}function h(){return c=o<a?(0,s.uO)(l,o++):0,i++,10===c&&(i=1,r++),c}function g(){return(0,s.uO)(l,o)}function f(){return o}function v(e,t){return(0,s.tb)(l,e,t)}function k(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return r=i=1,a=(0,s.to)(l=e),o=0,[]}function y(e){return l="",e}function E(e){return(0,s.fy)(v(o-1,C(91===e?e+2:40===e?e+1:e)))}function w(e){for(;(c=g())&&c<33;)h();return k(e)>2||k(c)>3?"":" "}function b(e,t){for(;--t&&h()&&!(c<48||c>102||c>57&&c<65||c>70&&c<97););return v(e,f()+(t<6&&32==g()&&32==h()))}function C(e){for(;h();)switch(c){case e:return o;case 34:case 39:34!==e&&39!==e&&C(c);break;case 40:41===e&&C(e);break;case 92:h()}return o}function j(e,t){for(;h()&&e+c!==57&&(e+c!==84||47!==g()););return"/*"+v(t,o-1)+"*"+(0,s.Dp)(47===e?e:h())}function S(e){for(;!k(g());)h();return v(e,o)}},2875:function(e,t,n){"use strict";n.d(t,{$e:function(){return f},Cw:function(){return p},Dp:function(){return r},EQ:function(){return c},Ei:function(){return h},R3:function(){return g},Wn:function(){return s},f0:function(){return i},fy:function(){return o},gx:function(){return l},tb:function(){return d},to:function(){return m},uO:function(){return u},vp:function(){return a}});var s=Math.abs,r=String.fromCharCode,i=Object.assign;function a(e,t){return(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3)}function o(e){return e.trim()}function c(e,t){return(e=t.exec(e))?e[0]:e}function l(e,t,n){return e.replace(t,n)}function p(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function m(e){return e.length}function h(e){return e.length}function g(e,t){return t.push(e),e}function f(e,t){return e.map(t).join("")}}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var s=t.getElementsByTagName("script");s.length&&(e=s[s.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}();var s={};!function(){"use strict";n.d(s,{getRouteName:function(){return m}});var e=n(1850),t=n.n(e),r=n(9196),i=n.n(r),a=n(9309),o=n(7453),c=n(4498),l=(n(2819),n(5736)),p=n(1493),u=n(5641),d=n(1215);const _x=l._x;function m(e){switch(e){case"/dashboard":default:return _x("At A Glance","Navigation item.","jetpack");case"/setup":return _x("Set up","Navigation item.","jetpack");case"/my-plan":return _x("My Plan","Navigation item.","jetpack");case"/plans":case"/plans-prompt":return _x("Plans","Navigation item.","jetpack");case"/recommendations":return _x("Recommendations","Navigation item.","jetpack");case"/settings":return _x("Settings","Navigation item.","jetpack");case"/discussion":return _x("Discussion","Navigation item.","jetpack");case"/security":return _x("Security","Navigation item.","jetpack");case"/performance":return _x("Performance","Navigation item.","jetpack");case"/traffic":return _x("Traffic","Navigation item.","jetpack");case"/writing":return _x("Writing","Navigation item.","jetpack");case"/sharing":return _x("Sharing","Navigation item.","jetpack");case"/license/activation":return _x("License","Navigation item.","jetpack")}}(0,p.Z)(),function(){const e=document.getElementById("jp-plugin-container");if(null===e)return;t().render(i().createElement("div",null,i().createElement(a.zt,{store:u.Z},i().createElement(o.UT,null,i().createElement(c.rs,null,i().createElement(c.AW,{path:"/dashboard"},i().createElement(d.Z,{routeName:m("/dashboard")})),i().createElement(c.AW,{path:"/reconnect"},i().createElement(d.Z,{routeName:m("/reconnect")})),i().createElement(c.AW,{path:"/setup"},i().createElement(d.Z,{routeName:m("/setup")})),i().createElement(c.AW,{path:"/my-plan"},i().createElement(d.Z,{routeName:m("/my-plan")})),i().createElement(c.AW,{path:"/plans"},i().createElement(d.Z,{routeName:m("/plans")})),i().createElement(c.AW,{path:"/recommendations"},i().createElement(d.Z,{routeName:m("/recommendations")})),i().createElement(c.AW,{path:"/plans-prompt"},i().createElement(d.Z,{routeName:m("/plans-prompt")})),i().createElement(c.AW,{path:"/settings"},i().createElement(d.Z,{routeName:m("/settings")})),i().createElement(c.AW,{path:"/discussion"},i().createElement(d.Z,{routeName:m("/discussion")})),i().createElement(c.AW,{path:"/security"},i().createElement(d.Z,{routeName:m("/security")})),i().createElement(c.AW,{path:"/performance"},i().createElement(d.Z,{routeName:m("/performance")})),i().createElement(c.AW,{path:"/traffic"},i().createElement(d.Z,{routeName:m("/traffic")})),i().createElement(c.AW,{path:"/writing"},i().createElement(d.Z,{routeName:m("/writing")})),i().createElement(c.AW,{path:"/sharing"},i().createElement(d.Z,{routeName:m("/sharing")})),i().createElement(c.AW,{path:"/license/activation"},i().createElement(d.Z,{routeName:m("/license/activation")})),i().createElement(c.AW,{path:"/wpbody-content",component:d.Z}),i().createElement(c.AW,{path:"/wp-toolbar",component:d.Z}),i().createElement(c.AW,{path:"/privacy",component:d.Z}),i().createElement(c.AW,{path:"/*"},i().createElement(d.Z,{routeName:m("/*")})))))),e)}()}(),window.getRouteName=s.getRouteName}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/admin.js.LICENSE.txt b/plugins/jetpack/_inc/build/admin.js.LICENSE.txt
index 40d5d150..46f185c9 100644
--- a/plugins/jetpack/_inc/build/admin.js.LICENSE.txt
+++ b/plugins/jetpack/_inc/build/admin.js.LICENSE.txt
@@ -19,20 +19,6 @@ object-assign
*/
/*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
- * @license MIT
- */
-
-/*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <https://feross.org>
- * @license MIT
- */
-
-/*!
* clipboard.js v2.0.6
* https://clipboardjs.com/
*
@@ -45,14 +31,10 @@ object-assign
*/
/*!
-* tabbable 5.2.1
+* tabbable 5.3.2
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/
-/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
-
-/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
-
/**
* This test is for touch events.
* It may not accurately detect a touch screen, but may be close enough depending on the use case.
@@ -73,8 +55,17 @@ object-assign
* LICENSE file in the root directory of this source tree.
*/
-/** @license React vundefined
- * use-subscription.production.min.js
+/** @license React v17.0.2
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/** @license React v17.0.2
+ * react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
diff --git a/plugins/jetpack/_inc/build/admin.rtl.css b/plugins/jetpack/_inc/build/admin.rtl.css
index b0d5dbb3..499cad78 100644
--- a/plugins/jetpack/_inc/build/admin.rtl.css
+++ b/plugins/jetpack/_inc/build/admin.rtl.css
@@ -1 +1 @@
-.jetpack-partner-coupon-redeem .components-button{border-radius:4px;font-size:14px;font-weight:600;height:40px;justify-content:center}.jetpack-partner-coupon-redeem--connected .jp-connection__connect-screen__tos{display:none!important}.jp-connection__connect-screen__loading{display:none}.jp-connection__connect-screen__tos{margin-top:28px;max-width:360px}.jp-connection__connect-screen .jp-action-button{margin-top:40px}.jp-connection__connect-screen .jp-action-button button{max-width:100%}.jp-connection__connect-screen .jp-action-button button:disabled{color:hsla(0,0%,100%,.4)}@media(max-width:782px){.jp-connection__connect-screen .jp-action-button button{max-width:none;width:100%}}.jp-connection__connect-screen-layout{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:#000;font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:#000;font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:#000;text-decoration-thickness:2px}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:#000}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:9px;padding-right:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red)!important;line-height:25px!important;padding-right:25px}@-webkit-keyframes rotate-spinner{to{transform:rotate(-1turn)}}@keyframes rotate-spinner{to{transform:rotate(-1turn)}}.jp-components-spinner{align-items:center;display:flex}.jp-components-spinner__inner,.jp-components-spinner__outer{-webkit-animation:3s linear infinite;animation:3s linear infinite;-webkit-animation-name:rotate-spinner;animation-name:rotate-spinner;border:.1em solid transparent;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-left-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.dops-button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:.875rem;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top}.dops-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.dops-button:disabled,.dops-button[disabled]{background:#fff;border-color:#eee;color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}.dops-button.is-compact{line-height:2;padding:0 10px}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{margin-top:-8px;top:4px}.dops-button.is-compact .gridicons-plus-small{margin-right:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-right:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-right:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}.dops-button.is-primary{background:#3582c4;border-color:#3582c4;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{background:#2271b1;border-color:#2271b1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;color:#66c6e4!important;cursor:default;text-shadow:none!important}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{border-color:#eee;color:#f4cdcd}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{height:24px;top:6px;width:24px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{background:#fff;color:#eee;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{height:18px;top:5px;width:18px}.dops-button-group .dops-button{border-radius:0;border-right-width:0}.dops-button-group .dops-button:focus{position:relative;z-index:z-index("button-group-parent",".button-group .button:focus")}.dops-button-group .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button-group .dops-button.is-scary:focus{box-shadow:inset -1px 0 0 #d94f4f,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-primary.is-scary:focus{box-shadow:inset -1px 0 0 #761919,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-scary:first-child:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button-group .dops-button:first-child{border-bottom-right-radius:4px;border-right-width:1px;border-top-right-radius:4px}.dops-button-group .dops-button:last-child{border-bottom-left-radius:4px;border-top-left-radius:4px}.dops-section-header .dops-button-group .dops-button{margin-left:0}.dops-count{border:1px solid #a2a2a2;border-radius:.75rem;color:#a2a2a2;display:inline-block;font-size:.6875rem;font-weight:600;line-height:.875rem;padding:.0625rem .375rem;text-align:center}.dops-select-dropdown{height:43px}.dops-select-dropdown.is-compact{height:28px}.dops-select-dropdown.is-disabled .dops-select-dropdown__header{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-select-dropdown__container{display:inline-block;max-width:100%;overflow:hidden;position:relative;width:auto}.dops-select-dropdown.is-open .dops-select-dropdown__container{z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container,.dops-accessible-focus .dops-select-dropdown__container:focus{box-shadow:0 0 0 2px #78dcfa;z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container .select-dropdown__header,.dops-accessible-focus .dops-select-dropdown__container:focus .select-dropdown__header{border-color:#0087be}.dops-accessible-focus .dops-select-dropdown__container:focus{border-color:#00aadc;border-radius:4px;box-shadow:0 0 0 2px #78dcfa;outline:0}.dops-select-dropdown__header{background-color:#fff;border:solid #d5d5d5;border-radius:4px;border-width:1px 1px 2px;box-sizing:content-box;color:#414141;cursor:pointer;font-size:14px;font-weight:600;height:18px;line-height:18px;padding:11px 16px 11px 44px;transition:background-color .2s ease}.dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:hsla(0,0%,64%,.5);content:"";display:inline-block;display:block;font:normal 16px/1 Dashicons;left:13px;line-height:18px;position:absolute;top:12px;vertical-align:middle}.is-compact .dops-select-dropdown__header:after{left:4px;top:4px}.is-compact .dops-select-dropdown__header{color:#888;font-size:11px;line-height:1;padding:7px;text-transform:uppercase}.is-compact .dops-select-dropdown__header .dops-count{border-width:0;line-height:1;margin-right:0}.dops-select-dropdown.is-open .dops-select-dropdown__header{background-color:#f6f6f6;border-radius:4px 4px 0 0;box-shadow:none}.dops-select-dropdown.is-open .dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"";display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-select-dropdown__header .dops-count{margin-right:8px}.dops-select-dropdown__header-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-select-dropdown__options{background-color:#fff;border:1px solid #d5d5d5;border-radius:0 0 4px 4px;box-sizing:border-box;height:0;list-style:none;margin:-2px 0 0;padding:0;visibility:hidden}.dops-accessible-focus .dops-select-dropdown__options{border:1px solid #0087be;border-top-color:#d5d5d5}.dops-select-dropdown.is-open .dops-select-dropdown__options{height:auto;visibility:visible}.dops-select-dropdown__option:last-child .dops-select-dropdown__item{border-radius:0 0 4px 4px}.dops-select-dropdown__item,.dops-select-dropdown__item-text{padding:11px 16px 11px 44px}.dops-select-dropdown__item{color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;line-height:18px;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}.dops-select-dropdown__item:before{content:attr(data-bold-text);font-weight:700;opacity:0}.dops-select-dropdown__item:visited{color:#414141}.dops-select-dropdown__item.is-selected{background-color:#3582c4;color:#fff}.dops-select-dropdown__item.is-disabled{background-color:#fff;color:#a2a2a2;cursor:default;opacity:.5}.notouch .dops-select-dropdown__item:hover{color:#3582c4}.notouch .dops-select-dropdown__item.is-selected:hover{color:#fff}.dops-select-dropdown__item-text{box-sizing:border-box;color:inherit;display:flex;flex-flow:row wrap;justify-content:space-between;padding-left:16px;position:absolute;right:0;text-overflow:ellipsis;top:0;white-space:nowrap;width:100%}.dops-select-dropdown__item-text .dops-count{border-color:inherit;color:inherit}.dops-select-dropdown__separator{border-top:1px solid #d5d5d5;display:block;margin:8px 0}.dops-select-dropdown__label{color:#bbb;display:block;line-height:20px;margin-top:5px}.dops-select-dropdown__label label{font-size:12px;padding:0 16px;text-transform:uppercase}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(-1px,1px)}.gridicon.needs-offset-x g{transform:translate(-1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-search{align-items:center;display:flex;flex:1 1 auto;height:51px;margin-bottom:24px;position:relative;transition:all .15s ease-in-out;width:60px;z-index:22}.dops-search .dops-search__icon-navigation{align-items:center;background-color:#fff;border-radius:inherit;display:flex;flex:0 0 auto;height:100%}.dops-search .dops-search__close-icon,.dops-search .dops-search__open-icon{color:#0087be;cursor:pointer;flex:0 0 auto;width:50px;z-index:20}.accessible-focus .dops-search .dops-search__close-icon:focus,.accessible-focus .dops-search .dops-search__open-icon:focus{outline:1px dotted #0087be}.dops-search .dops-search__open-icon:hover{color:#555}.dops-search .dops-search__close-icon{color:#555;opacity:0;transition:opacity .2s ease-in}.accessible-focus .dops-search.has-focus{box-shadow:0 0 0 1px #0087be,0 0 0 4px #78dcfa}.dops-search.is-expanded-to-container{display:flex;height:100%;left:0;margin-bottom:0;overflow:hidden;position:absolute;top:0;width:50px}.dops-search.is-expanded-to-container .dops-search__input-fade{display:flex;flex:1 1 auto;position:relative}.dops-search.is-expanded-to-container .dops-search__input[type=search]{box-shadow:none;display:flex;flex:1 1 auto;margin:0}.dops-search__input[type=search]{appearance:none;-webkit-appearance:none;background:#fff;border:none;border-radius:inherit;box-sizing:border-box;display:none;flex:1 1 auto;height:100%;padding:0;top:0;z-index:10}.dops-search__input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.dops-search__input[type=search]:focus{border:none;box-shadow:none}.dops-search.is-open{width:100%}.dops-search.is-open .dops-search__open-icon{color:#555}.dops-search.is-open .dops-search__close-icon{display:inline-block}.dops-search.is-open .dops-search__close-icon,.dops-search.is-open .dops-search__input{opacity:1}.dops-search.is-open .dops-search__input{display:block}.dops-search.is-open .dops-search__input-fade{border-radius:inherit;flex:1 1 auto;font-size:16px;height:100%;position:relative}.dops-search.is-open .dops-search__input-fade.ltr:before,.dops-search.is-open .dops-search__input-fade:before{-webkit-touch-callout:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);border-radius:inherit;bottom:0;content:"";display:block;height:auto;left:0;pointer-events:none;position:absolute;right:auto;top:0;-webkit-user-select:none;user-select:none;width:32px;z-index:12}.dops-search__input-fade .dops-search__text-overlay{align-items:center;color:transparent;display:flex;flex:1 1 auto;font:inherit;height:100%;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;white-space:nowrap;width:100%;z-index:11}.dops-search.is-searching .dops-search__open-icon{display:none}.animating.dops-search-opening .dops-search input{opacity:1}.dops-section-nav{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;margin:0 0 17px;padding:0;position:relative;width:100%}.dops-section-nav.is-empty .dops-section-nav__panel{visibility:hidden}@media(max-width:480px){.dops-section-nav.is-open{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}}@media(min-width:481px){.dops-section-nav.has-pinned-items{padding-left:60px}}@media(min-width:481px)and (max-width:660px){.dops-section-nav.has-pinned-items{padding-left:50px}}@media(max-width:660px){.dops-section-nav{margin-bottom:9px}}.dops-section-nav__mobile-header{color:#414141;cursor:pointer;display:flex;font-size:14px;font-weight:600;line-height:16px;padding:15px}.dops-section-nav__mobile-header:after{color:hsla(0,0%,64%,.5);content:"";line-height:16px}.dops-section-nav.is-open .dops-section-nav__mobile-header:after,.dops-section-nav__mobile-header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-section-nav.is-open .dops-section-nav__mobile-header:after{content:""}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header{padding-left:50px}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header:after{margin-right:8px}@media(min-width:481px){.dops-section-nav__mobile-header{display:none}}.dops-section-nav__mobile-header-text{flex:1 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:0}.dops-section-nav__mobile-header-text small{color:#a2a2a2;font-size:11px;font-weight:600;margin-right:5px;text-transform:uppercase}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header-text{flex:0 1 auto;width:auto}.dops-section-nav__panel{box-sizing:border-box;width:100%}@media(max-width:480px){.dops-section-nav.is-open .dops-section-nav__panel{background:linear-gradient(180deg,#f6f6f6 0,#fff 4px);border-top:1px solid #d5d5d5;padding-bottom:15px}}@media(min-width:481px){.dops-section-nav__panel{align-items:center;display:flex}.dops-section-nav__panel:first-child{flex:1 0 auto;width:0}}.dops-section-nav-group{border-top:1px solid #d5d5d5;margin-top:16px;padding-top:16px;position:relative}.dops-section-nav-group:first-child{border-top:none;padding-top:0}@media(max-width:480px){.dops-section-nav-group{display:none}.dops-section-nav.is-open .dops-section-nav-group{display:block}}@media(min-width:481px){.dops-section-nav-group{border-top:none;margin-top:0;padding-top:0}.dops-section-nav-group:first-child{display:flex;flex:1 0 auto;width:0}}.dops-section-nav__button{margin-top:24px;width:100%}.dops-section-nav__hr{background:#eee}.dops-section-nav-group__label{color:#a2a2a2;display:none;font-size:11px;font-weight:600;line-height:12px;margin-bottom:8px;padding:0 15px;text-transform:uppercase}@media(max-width:480px){.has-siblings .dops-section-nav-group__label{display:block}}.dops-section-nav-group__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-section-nav-tab .count{margin-right:8px}@media(min-width:481px){.dops-section-nav-tabs{flex:1 0 auto;width:0}.dops-section-nav-tabs.is-dropdown{flex:0 1 auto;margin:8px;position:relative;width:auto}}.dops-section-nav-tabs__list{list-style:none;margin:0}@media(min-width:481px){.dops-section-nav-tabs__list{display:flex;overflow:hidden;width:100%}.is-dropdown .dops-section-nav-tabs__list{display:none}}.dops-section-nav-tab{margin-bottom:0}@media(min-width:481px){.dops-section-nav-tab{border-bottom:2px solid transparent;border-top:none;flex:none;text-align:center;width:auto}.dops-section-nav-tab.is-selected{border-bottom-color:#414141}}.dops-section-nav-tab__link,.dops-section-nav-tab__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-section-nav-tab__link{align-items:center;box-sizing:border-box;color:#414141;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;line-height:18px;padding:15px;width:100%}.dops-section-nav-tab__link:visited{color:#414141}.dops-section-nav-tab__link[disabled],.notouch .dops-section-nav-tab__link[disabled]:hover{color:#eee;cursor:default}.is-selected .dops-section-nav-tab__link{background-color:#2271b1;color:#fff}.dops-section-nav-tab__link:focus{box-shadow:none;outline:none}.dops-accessible-focus .dops-section-nav-tab__link:focus{outline:1px solid #a2a2a2}.is-external .dops-section-nav-tab__link:after{font-size:18px;padding-right:2px}.dops-section-nav-tab__link:hover{color:#0a4b78}.notouch .dops-section-nav-tab__link:hover{color:#2271b1}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#fff}@media(min-width:481px){.dops-section-nav-tab__link{color:#2271b1;display:block;font-weight:400;padding:16px 16px 14px;width:auto}.dops-section-nav-tab__link:visited{color:#2271b1}.is-selected .dops-section-nav-tab__link{background-color:transparent;color:#414141}.is-selected .dops-section-nav-tab__link:after{display:none}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#414141}}.dops-section-nav-tab__text{color:inherit;display:block;flex:1 0 auto;width:0}@media(min-width:481px){.dops-section-nav-tab__text{display:inline;flex:none;width:auto}}.dops-section-nav-tabs__dropdown{position:relative;width:100%;z-index:3}.dops-section-nav-tabs__dropdown.is-open{z-index:4}.dops-section-nav-tabs__dropdown .dops-select-dropdown__container{position:static}.dops-section-nav__segmented .dops-segmented-control{margin:0 15px}.dops-section-nav__segmented .dops-segmented-control__link{padding:3px 16px 5px}@media(max-width:480px){.dops-section-nav .dops-search.is-pinned{height:46px}}.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-left:48px}h2.dops-card-title{font-size:rem(20px)}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;left:16px;position:absolute;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.dops-popover{font-size:11px;left:0;left:auto;position:absolute;top:0;z-index:1000}.dops-popover .dops-popover__inner{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);position:relative;text-align:center}.dops-popover .dops-popover__arrow{border:10px dashed #d5d5d5;height:0;line-height:0;position:absolute;width:0;z-index:1}.dops-popover.fade{transition:opacity .1s}.dops-popover.is-top-left .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow,.dops-popover.is-top .dops-popover__arrow{border-bottom:none;border-left-color:transparent;border-top-style:solid;bottom:0;left:50%;margin-left:-10px}.dops-popover.is-top-left .dops-popover__arrow:before,.dops-popover.is-top-right .dops-popover__arrow:before,.dops-popover.is-top .dops-popover__arrow:before{border:10px solid transparent;border-bottom:none;border-top-color:#fff;bottom:2px;content:" ";left:50%;margin-left:-10px;position:absolute}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-bottom .dops-popover__arrow{border-bottom-style:solid;border-left-color:transparent;border-top:none;left:50%;margin-left:-10px;top:0}.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-popover.is-bottom-right .dops-popover__arrow:before,.dops-popover.is-bottom .dops-popover__arrow:before{border:10px solid transparent;border-bottom:10px solid #fff;border-top:none;content:" ";left:50%;margin-left:-10px;position:absolute;top:2px}.dops-popover.is-left-bottom .dops-popover__arrow,.dops-popover.is-left-top .dops-popover__arrow,.dops-popover.is-left .dops-popover__arrow{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent;margin-top:-10px;right:0;top:50%}.dops-popover.is-left-bottom .dops-popover__arrow:before,.dops-popover.is-left-top .dops-popover__arrow:before,.dops-popover.is-left .dops-popover__arrow:before{border:10px solid transparent;border-left:10px solid #fff;border-right:none;content:" ";margin-top:-10px;position:absolute;right:2px;top:50%}.dops-popover.is-right-bottom .dops-popover__arrow,.dops-popover.is-right-top .dops-popover__arrow,.dops-popover.is-right .dops-popover__arrow{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent;left:0;margin-top:-10px;top:50%}.dops-popover.is-right-bottom .dops-popover__arrow:before,.dops-popover.is-right-top .dops-popover__arrow:before,.dops-popover.is-right .dops-popover__arrow:before{border:10px solid transparent;border-left:none;border-right-color:#fff;content:" ";left:2px;margin-top:-10px;position:absolute;top:50%}.dops-popover.is-bottom-left,.dops-popover.is-bottom-right,.dops-popover.is-top-left,.dops-popover.is-top-right{padding-left:0;padding-right:0}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-top-left .dops-popover__arrow{left:auto;left:5px}.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow{left:15px}.dops-popover.is-top-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner,.dops-popover.is-top .dops-popover__inner{top:-10px}.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner{left:-10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-bottom .dops-popover__inner{top:10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-right .dops-popover__inner,.dops-popover.is-top-left .dops-popover__inner{left:10px}.dops-popover.is-dialog-visible{z-index:100300}.dops-popover__menu{display:flex;flex-direction:column;min-width:200px}.dops-popover__menu-item{background:inherit;border:none;border-radius:0;color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;position:relative;text-align:right;transition:all .05s ease-in-out}.dops-popover__menu-item:first-child{margin-top:5px}.dops-popover__menu-item:focus,.dops-popover__menu-item:hover{background-color:#3582c4;border:0;box-shadow:none;color:#fff}.dops-popover__menu-item:focus .gridicon,.dops-popover__menu-item:hover .gridicon{color:#fff}.dops-popover__menu-item[disabled]:focus,.dops-popover__menu-item[disabled]:hover{background:transparent;cursor:default}.dops-popover__menu-item:last-child{margin-bottom:5px}.dops-popover__menu-item::-moz-focus-inner{border:0}.dops-popover__menu-item.has-icon{padding-right:42px}.dops-popover__menu-item .gridicon{color:#bbb;margin-left:8px;vertical-align:bottom}.dops-popover__hr{background:#eee;margin:8px 0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;right:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-right:12px}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{right:8px}.dops-section-header.dops-card{display:flex;flex-wrap:wrap;max-width:100%;padding-bottom:.6875rem;padding-top:.6875rem;position:relative}.dops-section-header.dops-card:after{content:""}.dops-section-header__label{align-items:center;color:#414141;display:flex;flex-grow:1;font-size:.875rem;line-height:1.75rem;min-width:0;position:relative}.dops-section-header__label .dops-count{margin-right:.5rem}.dops-section-header__label-text{margin-left:.5rem;min-width:0;overflow:hidden;padding-left:.5rem;position:relative;white-space:nowrap;width:100%}.dops-section-header__label-text:before{-webkit-touch-callout:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:0;pointer-events:none;position:absolute;right:auto;top:0;-webkit-user-select:none;user-select:none;width:8px}.has-card-badge .dops-section-header__label-text{width:auto}.dops-section-header__actions{flex-grow:0;position:relative}.dops-section-header__actions:after{clear:both;content:".";display:block;height:0;visibility:hidden}.section-header__actions .button{float:right;margin-left:.5rem}.section-header__actions .button:last-child{margin-left:0}.dops-notice{animation:appear .3s ease-in-out;background:#414141;border-radius:3px;box-sizing:border-box;color:#fff;display:flex;line-height:1.5;margin-bottom:24px;position:relative;width:100%}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#3582c4}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{align-items:baseline;align-self:stretch;background:#747474;border-radius:0 3px 3px 0;color:#fff;display:flex;flex-shrink:0;justify-content:center;width:47px}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media(min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content.dops-notice__content{flex-grow:1;font-size:12px;padding:13px}@media(min-width:481px){.dops-notice__content.dops-notice__content{font-size:14px}}.dops-notice__content.dops-notice__content a{color:#fff;text-decoration:underline}.dops-notice__content.dops-notice__content a:hover,.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{color:#fff;text-decoration:underline}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-right:0}.dops-notice__text li{margin-right:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-right:.428em}.dops-notice__dismiss{cursor:pointer;flex-shrink:0;padding:12px 12px 0}.dops-notice__dismiss .gridicon{height:18px;width:18px}@media(min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{height:24px;width:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{align-items:center;color:#bbb;cursor:pointer;display:flex;font-size:12px;font-weight:400;padding:13px;text-decoration:none;white-space:nowrap}@media(min-width:481px){a.dops-notice__action{align-items:center;border-radius:0;flex-grow:0;flex-shrink:1;font-size:14px;margin:0 auto 0 0;padding:13px 16px}a.dops-notice__action .gridicon{height:24px;width:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{height:18px;margin-right:8px;opacity:.7;width:18px}.dops-notice.is-compact{border-radius:3px;display:inline-flex;flex-direction:row;flex-wrap:nowrap;line-height:1.5;margin:0;min-height:20px;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;width:auto}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{height:18px;margin:0;width:18px}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{align-self:center;flex:none;margin:0 0 0 8px;padding:0;position:relative}.dops-notice.is-compact .dops-notice__dismiss .gridicon{height:18px;width:18px}.dops-notice.is-compact a.dops-notice__action{align-self:center;background:transparent;display:inline-block;font-size:12px;margin:0 16px 0 0;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{height:14px;margin-right:8px;opacity:1;vertical-align:sub;width:14px}.dops-plan-icon{background-repeat:no-repeat;height:inherit;width:inherit}.dops-plan-icon__free .dops-plan-icon__free-0{fill:#78dcfa}.dops-plan-icon__free .dops-plan-icon__free-1{fill:#fff}.dops-plan-icon__free .dops-plan-icon__free-2{fill:#006a95}.dops-plan-icon__free .dops-plan-icon__free-3{fill:#0087be}.dops-plan-icon__free .dops-plan-icon__free-4{fill:#00a4e7}.dops-plan-icon__personal .dops-plan-icon__personal-0{fill:#f0b849}.dops-plan-icon__personal .dops-plan-icon__personal-1{fill:#a2a2a2}.dops-plan-icon__personal .dops-plan-icon__personal-2{fill:#d5d5d5}.dops-plan-icon__personal .dops-plan-icon__personal-3{fill:#fff}.dops-plan-icon__personal .dops-plan-icon__personal-4{fill:#888}.dops-plan-icon__personal .dops-plan-icon__personal-5{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-0{fill:#4ab866}.dops-plan-icon__premium .dops-plan-icon__premium-1{fill:#a2a2a2}.dops-plan-icon__premium .dops-plan-icon__premium-2{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-3{fill:#fff}.dops-plan-icon__premium .dops-plan-icon__premium-4{fill:#d5d5d5}.dops-plan-icon__premium .dops-plan-icon__premium-5{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-6{fill:#555}.dops-plan-icon__business .dops-plan-icon__business-0{fill:#855da6}.dops-plan-icon__business .dops-plan-icon__business-1{fill:#fff}.dops-plan-icon__business .dops-plan-icon__business-2{fill:#eee}.dops-plan-icon__business .dops-plan-icon__business-3{fill:#0087be}.dops-plan-icon__business .dops-plan-icon__business-4{fill:#005082}.dops-banner.dops-card{border-right:3px solid #0087be;display:flex;padding:12px 12px 12px 6px;position:relative;z-index:2}.dops-banner.dops-card.is-card-link{padding:12px 16px 12px 48px}.dops-banner.dops-card.is-dismissible{padding-left:48px}.dops-banner.dops-card .dops-banner__icon{color:#0087be}.dops-banner.dops-card .dops-banner__icon-circle{background-color:#0087be}.dops-banner.dops-card.is-jetpack-info{border-right-color:#069e08}.dops-banner.dops-card.is-jetpack-info .dops-banner__icon{color:#069e08}.dops-banner.dops-card.is-jetpack-info .dops-banner__icon-circle{background-color:#069e08}.dops-banner.dops-card.is-product{border-right-color:#3895ba}.dops-banner.dops-card.is-product .dops-banner__icon{color:#3895ba}.dops-banner.dops-card.is-product .dops-banner__icon-circle{background-color:#3895ba}.dops-banner.dops-card.is-plan{border-right-color:#069e08}.dops-banner.dops-card.is-plan .dops-banner__icon{color:#069e08}.dops-banner.dops-card.is-plan .dops-banner__icon-circle{background-color:#069e08}.dops-banner.dops-card.is-plan.is-upgrade-personal{border-right-color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-personal .dops-banner__icon{color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-personal .dops-banner__icon-circle{background-color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-premium{border-right-color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-premium .dops-banner__icon{color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-premium .dops-banner__icon-circle{background-color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-business{border-right-color:#855da6}.dops-banner.dops-card.is-plan.is-upgrade-business .dops-banner__icon{color:#855da6}.dops-banner.dops-card.is-plan.is-upgrade-business .dops-banner__icon-circle{background-color:#855da6}.dops-banner.dops-card.is-plan.is-bundle{border-right-color:#984a9c}.dops-banner.dops-card.is-plan.is-bundle .dops-banner__icon{color:#984a9c}.dops-banner.dops-card.is-plan.is-bundle .dops-banner__icon-circle{background-color:#984a9c}.dops-banner.dops-card .dops-card__link-indicator{align-items:center;color:#0087be;display:flex}.dops-banner.dops-card:hover{transition:all .1s ease-in-out}.dops-banner.dops-card:hover.is-card-link{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}.dops-banner.dops-card:hover .dops-card__link-indicator{color:#005082}@media(min-width:481px){.dops-banner.dops-card{padding:12px 16px}.dops-banner.dops-card.is-dismissible{padding-left:16px}}.dops-banner__icons{display:flex}.dops-banner__icons .dops-banner__icon,.dops-banner__icons .dops-banner__icon-circle{border-radius:50%;flex-shrink:0;height:24px;margin-left:16px;margin-top:-2px;text-align:center;top:4px;width:24px}.dops-banner__icons .dops-banner__icon{align-self:center;color:#fff;display:block}.dops-banner__icons .dops-banner__icon-circle{color:#fff;display:none;padding:3px 3px 4px 4px}.dops-banner__icons .dops-banner__icon-circle-svg{transform:translate(-1px,1px)}@media(min-width:481px){.dops-banner__icons{align-items:center}.dops-banner__icons .dops-banner__icon{display:none}.dops-banner__icons .dops-banner__icon-circle{display:block}}.dops-banner__icon-plan{display:flex;margin-left:16px}.dops-banner__icon-plan .dops-plan-icon{height:32px;width:32px}@media(min-width:481px){.dops-banner__icon-plan{align-items:center}}.dops-banner__content{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap}@media(min-width:481px){.dops-banner__content{flex-wrap:nowrap}}.dops-banner__info{flex-grow:1;line-height:1.4;width:100%}.dops-banner__info .dops-banner__description,.dops-banner__info .dops-banner__list,.dops-banner__info .dops-banner__title{color:#414141}.dops-banner__info .dops-banner__title{font-size:.875rem;font-weight:500}.dops-banner__info .dops-banner__description{font-size:.75rem;margin-top:3px}.dops-banner__info .dops-banner__list{font-size:.75rem;list-style:none;margin:0}.dops-banner__info .dops-banner__list li{margin:6px 0}.dops-banner__info .dops-banner__list li .gridicon{color:#a2a2a2;display:none}@media(min-width:481px){.dops-banner__info{width:auto}.dops-banner__info .dops-banner__list li .gridicon{display:inline;margin-left:12px;vertical-align:bottom}}.dops-banner__action{align-self:center;font-size:.75rem;margin:8px 0 0;text-align:right;width:100%}.dops-banner__action .dops-banner__prices{display:flex;justify-content:flex-start}.dops-banner__action .dops-banner__prices .dops-plan-price{margin-bottom:0}.dops-banner__action .dops-banner__prices .dops-plan-price.is-discounted,.dops-banner__action .dops-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol{color:#414141}.has-call-to-action .dops-banner__action .dops-banner__prices .dops-plan-price{margin-bottom:8px}@media(min-width:481px){.dops-banner__action{margin:0 8px 0 4px;text-align:center;width:auto}.is-dismissible .dops-banner__action{margin-top:40px}.dops-banner__action .dops-banner__prices{justify-content:flex-end;text-align:left}}.module-overridden-banner.dops-banner.is-compact{margin-bottom:0}.module-overridden-banner.dops-banner .dops-banner__description a{text-decoration:underline}.dops-info-popover-button{background:transparent;border:none;color:#888;padding:0}.dops-info-popover-button:hover{color:#414141}.dops-info-popover-button:focus{box-shadow:none}.dops-accessible-focus .dops-info-popover-button:focus{outline:thin dotted}.dops-info-popover .gridicon{color:#c8c8c8;cursor:pointer}.dops-info-popover .gridicon:hover,.dops-info-popover.is_active .gridicon{color:#414141}.dops-popover.dops-info-popover__tooltip .dops-popover__inner{color:#6f6f6f;font-size:13px;max-width:220px;padding:16px;text-align:right}.dops-external-link .gridicons-external{color:currentColor;margin-right:.5rem;position:relative;top:.125rem}.jp-support-info{left:1.5625rem;position:absolute;top:1.6875rem;z-index:1}@media(max-width:480px){.jp-support-info{left:1rem;top:1.25rem}}.jp-form-fieldset .jp-support-info{top:4px}.jp-support-info .dops-info-popover{white-space:nowrap}.dops-popover .jp-support-info__privacy{border-top:1px solid hsla(0,0%,64%,.5);display:block;margin-top:.875rem;padding-top:.75rem}.dops-text-input.dops-text-input{background-color:#fff;border:1px solid #d5d5d5;box-shadow:none;box-sizing:border-box;color:#414141;font-size:16px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}.dops-text-input.dops-text-input::placeholder{color:#a2a2a2}.dops-text-input.dops-text-input:hover{border-color:#bbb}.dops-text-input.dops-text-input:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.dops-text-input.dops-text-input:focus::-ms-clear{display:none}.dops-text-input.dops-text-input:disabled{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-text-input.dops-text-input:disabled:hover{cursor:default}.dops-text-input.dops-text-input:disabled::placeholder{color:#bbb}.dops-text-input.dops-text-input{-webkit-appearance:none}.dops-text-input.dops-text-input.is-valid{border-color:#4ab866}.dops-text-input.dops-text-input.is-valid:hover{border-color:#3a9551}.dops-text-input.dops-text-input.is-error{border-color:#d94f4f}.dops-text-input.dops-text-input.is-error:hover{border-color:#c92c2c}.dops-text-input.dops-text-input:focus.is-valid{box-shadow:0 0 0 2px #caead2}.dops-text-input.dops-text-input:focus.is-valid:hover{box-shadow:0 0 0 2px #a6dcb3}.dops-text-input.dops-text-input:focus.is-error{box-shadow:0 0 0 2px #f9e2e2}.dops-text-input.dops-text-input:focus.is-error:hover{box-shadow:0 0 0 2px #f0b8b8}.jp-form-settings-group .jp-toggle-set{position:relative}.jp-form-settings-group .jp-toggle-set .jp-support-info{left:-1.25rem;top:.3125rem}@media(max-width:480px){.jp-form-settings-group .jp-toggle-set .jp-support-info{left:-2rem;top:.3125rem}}.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-right:1.25rem;text-align:right;width:100%}.jp-connection__disconnect-card{background-color:#fff;border:none;border-radius:3px;box-shadow:0 0 15px #e2e2df;margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:right;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-left:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:left}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-left:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:0;margin-right:1rem}}.jp-connection__disconnect-dialog h1{font-size:24px;font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:24px;font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:16px;margin-top:0}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:#000;text-decoration-thickness:2px}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:#000}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:#f9f9f6;border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:#fff;border-top:1px solid #dcdcde;bottom:0;padding:2rem 0;position:-webkit-sticky;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(180deg,transparent,#f9f9f6);bottom:calc(100% + 1px);content:"";display:block;height:80px;position:absolute;right:0;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:#000!important;margin-left:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:#d63639!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:#000!important}.jp-connection__disconnect-dialog__button-wrap{text-align:right}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:#d63639}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:36px}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-right:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px #dcdcde;display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:#dcdcde;background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;position:absolute;right:24px;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:#d63639;border-radius:50px;height:80px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px #e2e2df;margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:right;width:800px}.jp-connect__disconnect-survey-card--selected{background:#e2e2df;border-color:#000}.jp-connect__disconnect-survey-card:after{border-left:2px solid #000;border-top:2px solid #000;content:"";display:block;height:5px;left:1.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:#2c3338}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:#2c3338;flex-grow:1;max-width:calc(100% - 40px);padding-left:40px}.jp-connect-user-bar__card{align-items:center;background:#f3f5f6;border-top:1px solid #ccd0d4;display:flex;justify-content:space-between;padding:8px 24px}.jp-connect-user-bar__card .jp-connect-user-bar__text{color:#414141;font-size:13px;font-weight:500;height:16px;line-height:16px}.jp-connect-user-bar__card .jp-connect-user-bar__button{order:3}.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled]{background:#f3f5f6;border:1px solid #0071a1;border-radius:3px;box-sizing:border-box;color:#0071a1;float:left;font-size:13px;font-weight:600;line-height:16px;text-align:center;white-space:nowrap}.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled[disabled],.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled],.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled]:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled][disabled]{background:#f3f5f6!important;color:#0071a1!important}.progress-bar{background-color:#c3c4c7;border-radius:4.5px;display:inline-block;height:9px;position:relative;width:100%}.progress-bar.is-compact{height:4px}.progress-bar__progress{background-color:#2271b1;border-radius:4.5px;display:inline-block;height:100%;position:absolute;right:0;top:0;transition:width .2s}@media(prefers-reduced-motion:reduce){.progress-bar__progress{transition:none}}.progress-bar.is-pulsing .progress-bar__progress{-webkit-animation:progress-bar-animation 3.3s linear infinite;animation:progress-bar-animation 3.3s linear infinite;background-image:linear-gradient(45deg,#2271b1 28%,#5198d9 0,#5198d9 72%,#2271b1 0);background-size:50px 100%}@media(prefers-reduced-motion:reduce){.progress-bar.is-pulsing .progress-bar__progress{-webkit-animation:none;animation:none}}@-webkit-keyframes progress-bar-animation{0%{background-position:100px 0}}@keyframes progress-bar-animation{0%{background-position:100px 0}}.percentage-bar{border-radius:0;height:8px;width:150px}.percentage-bar .progress-bar__progress{border-radius:0}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important}.screen-reader-text:active,.screen-reader-text:focus,.screen-reader-text:hover{clip:auto!important;background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;line-height:normal;padding:15px 23px 14px;right:5px;text-decoration:none;top:5px;width:auto;z-index:z-index("screen-reader-text-parent",".screen-reader-text:focus")}.dops-foldable-card.dops-card{padding:0;position:relative;transition:margin .15s linear}.dops-foldable-card.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-foldable-card.dops-card.is-expanded{margin-bottom:8px}.dops-foldable-card.dops-card .is-clickable{cursor:pointer}.dops-foldable-card__header{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;min-height:64px;padding:16px;position:relative;width:100%}.dops-foldable-card__header.has-border .dops-foldable-card__summary,.dops-foldable-card__header.has-border .dops-foldable-card__summary_expanded{margin-left:48px}.dops-foldable-card__header.has-border .dops-foldable-card__expand{border-right:1px solid #f6f6f6}.dops-foldable-card.is-compact .dops-foldable-card__header{min-height:40px;padding:8px 16px}.dops-foldable-card.is-expanded .dops-foldable-card__header{height:inherit;margin-bottom:0;min-height:64px}.dops-foldable-card.is-expanded.is-compact .dops-foldable-card__header{min-height:40px}.dops-foldable-card.is-disabled .dops-foldable-card__header{opacity:.2}.dops-foldable-card__action{background:none;border:0;height:100%;left:0;position:absolute;top:0}.dops-foldable-card.is-expanded .dops-foldable-card__action{height:100%}.dops-foldable-card.is-disabled .dops-foldable-card__action{cursor:default}.dops-accessible-focus .dops-foldable-card__action:focus{outline:thin dotted}button.dops-foldable-card__action{cursor:pointer;outline:0}.dops-foldable-card__main{align-items:center;display:block;margin-left:5px;max-width:calc(100% - 36px);width:100%}@media(max-width:480px){.dops-foldable-card__main{flex:1 1}}.dops-foldable-card__secondary{align-items:center;display:flex;flex:1 1;justify-content:flex-end}.dops-foldable-card__expand{width:48px}.dops-foldable-card__expand .gridicon{fill:#a2a2a2;align-items:center;display:flex;transition:transform .15s cubic-bezier(.175,.885,.32,1.275),color .2s ease-in;vertical-align:middle;width:100%}.dops-foldable-card.is-expanded .dops-foldable-card__expand .gridicon{transform:rotate(-180deg)}.dops-foldable-card__expand .gridicon:hover{fill:#a2a2a2}.dops-foldable-card__expand:focus .gridicon,.dops-foldable-card__expand:hover .gridicon{fill:#3582c4}.dops-foldable-card__header-text{font-size:1.125rem;width:100%}.dops-foldable-card__subheader{color:#6f6f6f;font-size:.875rem;margin-bottom:.125rem;margin-top:.125rem}.dops-foldable-card__content{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__content{border-top:1px solid #f6f6f6;display:block;padding:16px}.dops-foldable-card.is-compact .dops-foldable-card.is-expanded .dops-foldable-card__content{padding:8px}.dops-foldable-card.is-expanded .dops-foldable-card__content p:first-child{margin-top:0}.dops-foldable-card.is-expanded .dops-foldable-card__content p:last-child{margin-bottom:0}.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{color:#a2a2a2;display:inline-block;font-size:12px;margin-left:40px;transition:opacity .2s linear}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{flex:2;text-align:left;transition:none}@media(max-width:480px){.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{display:none}}.dops-foldable-card__summary{display:inline-block;opacity:1}.dops-foldable-card.is-expanded .dops-foldable-card__summary,.dops-foldable-card__summary_expanded,.has-expanded-summary .dops-foldable-card.is-expanded .dops-foldable-card__summary{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__summary_expanded{display:inline-block}.form-input-validation{animation:appear .3s ease-in-out;border-radius:1px;box-sizing:border-box;color:#4ab866;font-size:14px;padding:6px 34px 11px 24px;position:relative}.form-input-validation.is-error{color:#d94f4f}.form-input-validation.is-warning{color:#f0b849}.form-input-validation .gridicon{float:right;margin-right:-34px}.dops-textarea{background-color:#fff;border:1px solid #d5d5d5;box-shadow:none;box-sizing:border-box;color:#414141;font-size:1rem;line-height:1.5;margin:0;min-height:5.75rem;padding:.4375rem .875rem;transition:all .15s ease-in-out;width:100%}.dops-textarea::placeholder{color:#a2a2a2}.dops-textarea:hover{border-color:#bbb}.dops-textarea:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.dops-textarea:focus::-ms-clear{display:none}.dops-textarea:disabled{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-textarea:disabled:hover{cursor:default}.dops-textarea:disabled::placeholder{color:#bbb}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-left:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-left:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-right:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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-right: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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:right;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 0 -4px 2px;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.twitter-preview__container .twitter-preview__footer svg{fill:#787c82;height:16px;width:16px}.dops-clipboard-button-input{display:block;position:relative}.dops-clipboard-button-input .dops-clipboard-button{left:4px;overflow:visible;position:absolute;top:50%;transform:translateY(-50%)}.dops-clipboard-button-input .dops-clipboard-button:not(:disabled):before{-webkit-touch-callout:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:0;left:calc(100% + 1px);pointer-events:none;position:absolute;right:auto;top:0;-webkit-user-select:none;user-select:none;width:16px}.dops-clipboard-button-input .dops-clipboard-button:focus:before{left:calc(100% + 3px)}.jp-recommendations-question__content{display:flex;flex-direction:column}@media(min-width:661px){.jp-recommendations-question__main--with-illustration .jp-recommendations-question__content{padding-left:48px}}.jp-recommendations-question__progress-bar{margin:32px 32px 0}.jp-recommendations-question__progress-bar .progress-bar{width:70px}@media(max-width:480px){.jp-recommendations-question__progress-bar{margin:16px 16px 32px}}.jp-recommendations-question__question{font-size:1.5rem;margin:32px 32px 0}@media(max-width:480px){.jp-recommendations-question__question{margin:0 16px 32px}}.jp-recommendations-question__description{font-size:16px;margin:32px 32px 24px}@media(max-width:480px){.jp-recommendations-question__description{margin:0 16px 16px}}.jp-recommendations-question__description .gridicons-external{margin-right:.25rem}.jp-recommendations-question__description a{white-space:nowrap}.jp-recommendations-question__main--with-illustration .jp-recommendations-question__description{margin-left:0}@media(max-width:660px){.jp-recommendations-question__main--with-illustration .jp-recommendations-question__description{margin-left:32px}}.jp-recommendations-question__answer{display:flex;flex-direction:column;height:100%}.jp-recommendations-question__illustration-container{position:relative;width:100%}.jp-recommendations-question__illustration-container img{bottom:0;left:0;position:absolute}@media(max-width:660px){.jp-recommendations-question__illustration-container{display:none}}.jp-recommendations-question__illustration-background{width:100%}.jp-recommendations-question__illustration-foreground{margin:10%;width:75%}.jp-recommendations-question__install-section{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:flex-end}.jp-recommendations-question__install-section button{margin-bottom:16px;margin-top:auto;min-width:172px}.jp-recommendations-question__install-section a{margin-bottom:32px}.jp-recommendations-question__install-section a.dops-button{margin-bottom:16px;text-align:center}@media(max-width:480px){.jp-recommendations-question__install-section a.dops-button{width:100%}.jp-recommendations-question__install-section{padding:64px 16px 0}}.jp-loading-icon{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.jp-recommendations-product-suggestion-item{border:1px solid #dcdcde;border-radius:8px;padding:24px}.jp-recommendations-product-suggestion-item__content{display:flex;flex-direction:column}@media(min-width:481px){.jp-recommendations-product-suggestion-item__content{align-self:start;display:grid;grid-template-columns:1fr auto}}.jp-recommendations-product-suggestion-item__title{font-size:1.5rem;line-height:1.2;margin-bottom:16px;margin-top:0}@media(min-width:481px){.jp-recommendations-product-suggestion-item__title{grid-column:1}}.jp-recommendations-product-suggestion-item__description{font-size:.875rem;line-height:1.5;margin-bottom:16px;margin-top:0;max-width:370px}@media(min-width:481px){.jp-recommendations-product-suggestion-item__description{grid-column:1}}@media(min-width:961px){.jp-recommendations-product-suggestion-item__description{max-width:280px}}.jp-recommendations-product-suggestion-item__actions{display:flex;flex-direction:column}@media(min-width:481px){.jp-recommendations-product-suggestion-item__actions{grid-column:1}}.jp-recommendations-product-suggestion-item__checkout-button{align-self:flex-start;font-size:1rem;margin-bottom:16px;margin-top:0;text-align:center}.jp-recommendations-product-suggestion-item__external-link{align-self:flex-start;font-size:1rem;line-height:1.5}.jp-recommendations-product-suggestion-item__price{display:flex;flex-direction:row;margin-bottom:16px}@media(min-width:481px){.jp-recommendations-product-suggestion-item__price{flex-direction:column;grid-column:2;grid-row:1/4;margin-right:auto;padding-right:16px}}.jp-recommendations-product-suggestion-item__raw-price{display:flex;margin:0}@media(min-width:481px){.jp-recommendations-product-suggestion-item__raw-price{margin-right:auto}}.jp-recommendations-product-suggestion-item__currency-symbol{font-size:1.25rem;line-height:1.4;padding-left:1px}.jp-recommendations-product-suggestion-item__price-integer{font-size:2.5rem;font-weight:700;line-height:1}.jp-recommendations-product-suggestion-item__price-fraction{font-size:.875rem;font-weight:700;line-height:1.5;padding-right:1px}.jp-recommendations-product-suggestion-item__billing-time-frame{color:#787c82;font-size:.8125rem;margin-right:10px;text-align:center}@media(min-width:481px){.jp-recommendations-product-suggestion-item__billing-time-frame{margin-right:0;margin-top:8px}}.jetpack-money-back-guarantee{align-items:center;color:#1d2327;display:flex;font-size:.875rem;justify-content:center;line-height:1.5}.jetpack-money-back-guarantee__icon svg{display:block;height:23px;width:23px}.jetpack-money-back-guarantee__text{margin-right:8px}.jp-recommendations-product-suggestion__container{margin-bottom:32px;text-align:center}.jp-recommendations-product-suggestion__items{display:flex;flex-direction:column;margin:8px 16px 24px;max-width:660px;text-align:right}@media(min-width:961px){.jp-recommendations-product-suggestion__items{display:grid;gap:16px;grid-template-columns:1fr 1fr;grid-template-rows:auto;max-width:none}}@media(min-width:481px){.jp-recommendations-product-suggestion__items{margin-left:32px;margin-right:32px}}@media(max-width:960px){.jp-recommendations-product-suggestion__item{margin-bottom:16px}.jp-recommendations-product-suggestion__item:last-of-type{margin-bottom:0}}.jp-recommendations-product-suggestion__introductory-pricing{color:#1d2327;font-size:.875rem;letter-spacing:.1px;line-height:1.5;margin-bottom:10px}.jp-recommendations-product-suggestion__money-back-guarantee{margin-bottom:24px}.jp-recommendations-product-suggestion__skip{display:inline-block;font-size:1rem;line-height:1.5}.jp-recommendations-product-purchased{display:flex;flex-direction:column;height:100%;margin:0 16px 32px}@media(min-width:481px){.jp-recommendations-product-purchased{margin-left:32px;margin-right:32px}}.jp-recommendations-product-purchased__features{margin:0 0 32px}.jp-recommendations-product-purchased__feature{align-items:center;display:flex}.jp-recommendations-product-purchased svg{fill:#069e08;margin-left:10px}.jp-recommendations-product-purchased__next{align-self:center}@media(min-width:481px){.jp-recommendations-product-purchased__next{margin-top:auto}}.jp-checkbox-answer__container{background:#fff;border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex}.jp-checkbox-answer__container.checked{background:#f8fbff;border:1px solid #3582c4}@media(max-width:480px){.jp-checkbox-answer__container{margin-bottom:8px}}.jp-checkbox-answer__title{align-items:center;display:flex;padding:15px 0;width:100%}.jp-checkbox-answer__checkbox{margin:18px 16px 14px 8px}.jp-checkbox-answer__info{padding:16px 0 16px 16px}.jp-recommendations-question__site-type-checkboxes{margin-bottom:16px;text-align:right}@media(min-width:481px){.jp-recommendations-question__site-type-checkboxes{display:grid;gap:16px;grid-template-columns:auto auto;grid-template-rows:auto auto}}@media(max-width:480px){.jp-recommendations-question__site-type-checkboxes{display:flex;flex-direction:column}}.jp-recommendations-question__site-type-answer-container{margin:0 32px 32px 0;text-align:center}@media(max-width:660px){.jp-recommendations-question__site-type-answer-container{margin:0 32px 32px}}@media(max-width:480px){.jp-recommendations-question__site-type-answer-container{margin:0 16px 16px}.jp-recommendations-question__site-type-answer-container .dops-button{width:100%}}.jp-recommendations-site-type-question__continue-description{color:#646970;margin:24px auto 0;max-width:300px}@media(max-width:480px){.jp-recommendations-site-type-question__continue-description{display:none}}.jp-recommendations-site-type__illustration{height:200px;padding:65px}.jp-install-button__spinner-container{display:flex;justify-content:center}.jp-recommendations-feature-summary{border-bottom:1px solid #e1e1e1;display:grid;grid-template-columns:auto 120px;min-width:275px}.jp-recommendations-feature-summary.is-feature-enabled{grid-template-columns:30px auto 120px}.jp-recommendations-feature-summary .gridicons-checkmark-circle{fill:#069e08}.jp-recommendations-feature-summary:last-child{border-bottom:none}.jp-recommendations-feature-summary__checkmark{align-content:center;align-items:center;display:flex}.jp-recommendations-feature-summary__display-name{align-items:center;display:flex;padding-right:12px}.jp-recommendations-feature-summary__cta button{width:100%}.jp-recommendations-feature-summary__cta a{text-align:center;width:100%}.jp-recommendations-feature-summary__actions{padding:8px}.jp-recommendations-sidebar-card{background:linear-gradient(180deg,#c5d9ed 115px,#fff 0);border-radius:8px;width:100%}.jp-recommendations-sidebar-card .dops-button{background:#069e08;border-color:#069e08;text-align:center;width:100%}.jp-recommendations-sidebar-card__illustration-container{text-align:center}.jp-recommendations-sidebar-card__illustration{background:#fff;border-radius:3px;box-shadow:0 0 24px rgba(0,0,0,.16);display:inline-flex;height:115px;justify-content:center;margin-top:24px;padding:8px;width:220px}.jp-recommendations-sidebar-card__content{padding:0 24px 24px}.jp-recommendations-sidebar-card__features{margin:32px 0 8px}.jp-recommendations-sidebar-card__features li{align-items:center;display:flex}.jp-recommendations-sidebar-card__features .gridicons-checkmark-circle{fill:#069e08;margin-left:8px}.jp-recommendations-one-click-restores h2{margin-top:32px}.jp-recommendations-one-click-restores p{margin:16px 0}.jp-recommendations-one-click-restores .jp-recommendations-one-click-restores__cta{margin-top:32px;text-align:center}.apps-badge{display:flex;margin:0;max-height:40px;max-width:135px;overflow:hidden}.apps-badge:first-child{margin-left:8px}.apps-badge img{-ms-interpolation-mode:nearest-neighbor;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;max-width:100%}.apps-badge.android-app-badge img{transform:scale(1.13) translate(7px,-5.1px);transform-origin:right}.jp-recommendations-sidebar-card__apps-badge{display:flex;margin-top:32px}.jp-recommendations-sidebar-card__apps-badge .apps-badge{width:50%}.jp-recommendations-product-card-upsell-no-price{background:#fff;border-radius:8px}.jp-recommendations-product-card-upsell-no-price img{margin-left:8px}.jp-recommendations-product-card-upsell-no-price h2{margin:0 0 24px}.jp-recommendations-product-card-upsell-no-price ul{margin:16px 0}.jp-recommendations-product-card-upsell-no-price li{align-items:center;display:flex}.jp-recommendations-product-card-upsell-no-price p{margin:0}.jp-recommendations-product-card-upsell-no-price .gridicons-checkmark-circle{fill:#069e08;margin-left:8px}.jp-recommendations-product-card-upsell-no-price .dops-button{background:#069e08;border-color:#069e08;margin:32px 0 0;text-align:center;width:100%}.jp-recommendations-product-card-upsell-no-price__padding{padding:24px}.jp-recommendations-product-card-upsell-no-price__header-chrome{background:#3582c4;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#fff;padding:8px}.jp-recommendations-product-card-upsell{background:#fff;border-radius:8px}.jp-recommendations-product-card-upsell img{margin-left:8px}.jp-recommendations-product-card-upsell h1{margin-bottom:16px;margin-top:0}.jp-recommendations-product-card-upsell p{margin-bottom:32px;margin-top:16px}.jp-recommendations-product-card-upsell .dops-button{background:#069e08;border-color:#069e08;margin:32px 0 0;text-align:center;width:100%}.jp-recommendations-product-card-upsell .dops-button:hover{background:#007117;border-color:#007117}.jp-recommendations-product-card-upsell__padding{padding:24px}.jp-recommendations-product-card-upsell__header-chrome{background:#3582c4;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#fff;display:flex;padding:8px}.jp-recommendations-product-card-upsell__price{align-items:center;display:flex}.jp-recommendations-product-card-upsell__raw-price h2{display:flex;margin:0}.jp-recommendations-product-card-upsell__currency-symbol{font-size:1.5rem;margin-top:-.25rem}.jp-recommendations-product-card-upsell__price-integer{font-size:3.375rem;font-weight:700;line-height:.7}.jp-recommendations-product-card-upsell__price-fraction{font-size:.75rem;margin-top:-.25rem}.jp-recommendations-product-card-upsell__billing-time-frame{margin-right:12px}.jp-recommendations-product-card-upsell__cta-button .gridicons-external{margin-right:.25rem}.jp-recommendations-summary{background:#e9eff5;border:1px solid #d5d5d5;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);display:grid;grid-template-columns:57% 43%}@media(max-width:660px){.jp-recommendations-summary{display:flex;flex-direction:column}}.jp-recommendations-summary__content{background:#fff}.jp-recommendations-summary__content.isLoading{align-items:center;display:flex;justify-content:center;min-height:730px}.jp-recommendations-summary__configuration{margin:48px 48px 32px}@media(max-width:480px){.jp-recommendations-summary__configuration{margin:16px 16px 0}}.jp-recommendations-summary__configuration h2{margin:32px 0 16px}.jp-recommendations-summary__sidebar{border-right:1px solid #d5d5d5;padding:24px}@media(max-width:660px){.jp-recommendations-summary__sidebar{padding:0}}.jp-recommendations-summary__sidebar.isLoading{align-items:center;display:flex;justify-content:center;min-height:430px}.jp-recommendations-summary__more-features{align-items:flex-start;border-top:1px solid #dcdcde;display:flex;padding:40px 48px}@media(max-width:480px){.jp-recommendations-summary__more-features{padding:40px 16px}}.jp-recommendations-summary__more-features .gridicons-info-outline{fill:#787c82;flex:0 0 24px;margin-left:18px}.jp-recommendations-summary__more-features .gridicons-external{margin-right:.25rem}.jp-recommendations-summary__more-features>p{margin:1px 0 0}.jp-product-card{background:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);box-sizing:border-box;padding:30px 24px 45px;position:relative;width:100%}@media(min-width:661px){.jp-product-card{padding:40px 48px 60px}}@media(min-width:961px){.jp-product-card{padding-top:60px}}.jp-product-card__inner{display:flex;flex-direction:column;height:100%;max-width:400px}.jp-product-card__icon{display:none;height:16px;margin-bottom:24px}@media(min-width:961px){.jp-product-card__icon{display:block}}.jp-product-card__icon svg{height:100%;width:auto}.jp-product-card__title{color:#000;font-size:2rem;font-weight:700;margin:0 0 18px}.jp-product-card__description{color:#000;font-size:.9375rem;line-height:1.5;margin:0 0 22px}.jp-product-card__features{margin:0 0 30px}.jp-product-card__feature{align-items:center;color:#000;display:flex;margin-bottom:8px}.jp-product-card__feature svg{fill:#069e08;margin-left:10px}.jp-product-card__price{color:#000;display:flex;flex-direction:row;flex-wrap:wrap;margin-top:auto}.jp-product-card__raw-price{display:flex;font-size:3rem;margin:0 0 0 22px}.jp-product-card__raw-price--is-old-price{color:#a7aaad;position:relative}.jp-product-card__raw-price--is-old-price:after{background:#c9356e;border-radius:5px;content:" ";display:block;height:3px;margin-top:-2px;pointer-events:none;position:absolute;top:50%;width:100%}.jp-product-card__currency-symbol{font-size:.5em;line-height:1.4;padding-left:1px}.jp-product-card__price-integer{font-size:inherit;font-weight:700;line-height:1}.jp-product-card__price-fraction{font-size:.35em;font-weight:700;line-height:1.7;padding-right:1px}.jp-product-card__price-description{color:#787c82;display:block;font-size:.875rem;letter-spacing:.2px;margin-bottom:32px}.jp-product-card__checkout{align-self:flex-start;font-size:1rem;padding-left:60px;padding-right:60px;text-align:center}.jp-product-card__checkout--primary,.jp-product-card__checkout--primary:focus,.jp-product-card__checkout--primary:hover{background:#000;border-color:#000;color:#fff}.jp-product-card__checkout--primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #000}.jp-product-card__checkout--secondary{background:transparent;border:2px solid #000;color:#000;transition:all .15s ease-in-out}.jp-product-card__checkout--secondary:focus,.jp-product-card__checkout--secondary:hover{background:#000;border-color:#000;color:#fff}.jp-product-card__checkout--secondary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #000}.jp-product-card__cta{align-items:center;background:#000;border-top-left-radius:4px;border-top-right-radius:4px;color:#fff;display:flex;font-size:.8125rem;font-weight:600;left:0;letter-spacing:.3px;padding:9px 10px;position:absolute;right:0;top:0}.jp-product-card__cta .gridicon{height:16px;margin-left:5px;width:16px}.jp-product-card--has-cta{padding-top:60px}.jp-product-card__media{align-self:center;display:none;height:auto;margin-top:36px;max-width:100%;width:auto}@media(min-width:481px){.jp-product-card__media{display:block}}@media(min-width:661px){.jp-product-card__media{min-width:240px}}@media(min-width:961px){.jp-product-card__media{margin-top:0}}@media(min-width:481px){.jp-product-card--has-media{display:block}}@media(min-width:961px){.jp-product-card--has-media{column-gap:26px;display:grid;grid-template-columns:55% 45%}}@media(min-width:1041px){.jp-product-card--has-media{grid-template-columns:auto auto}}.jp-product-card--has-media .jp-product-card__price{margin-top:0}.jp-product-description>*{margin-bottom:26px}@media(min-width:961px){.jp-product-description--split{column-gap:26px;display:grid;grid-template-columns:50% 50%}}@media(min-width:1041px){.jp-product-description--split{grid-template-columns:auto 410px}}.jp-product-description__introductory-pricing{color:#000;font-size:.875rem;letter-spacing:.1px;line-height:1.5;margin-bottom:10px;text-align:center}.jp-product-description__money-back-guarantee{text-align:center}.jp-product-description .jp-product-card__icon .vertical{height:150%}@media(max-width:960px){.jp-product-description{margin-left:auto;margin-right:auto;max-width:550px}}.jp-product-descriptions__loading{padding-top:48px}.plugin-dash-item p{font-size:var(--font-body-small)}.plugin-dash-item .dops-banner,.plugin-dash-item .plugin-dash-item__content,.plugin-dash-item .plugin-dash-item__section-header{margin-bottom:0;width:100%}.plugin-dash-item .dops-banner.dops-card{border-right-color:#3895ba;height:100%}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle{background-color:#3895ba;height:32px;width:32px}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle .gridicon{margin-bottom:0}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle .gridicon g{transform:none}@media(max-width:480px){.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon{display:none}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle{display:block}}.plugin-dash-item .plugin-dash-item__content{align-items:center;display:flex;flex-direction:row;height:100%}.plugin-dash-item .plugin-dash-item__content .components-spinner{margin-top:0}.dops-tooltip.dops-popover .dops-popover__arrow{border-width:6px}.dops-tooltip.dops-popover.is-bottom-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow{border-bottom-color:#555;left:10px;top:4px}.dops-tooltip.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-bottom-right .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-bottom-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-error .dops-popover__arrow{border-bottom-color:#d94f4f}.dops-tooltip.dops-popover.is-bottom-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-warning .dops-popover__arrow{border-bottom-color:#f0b849}.dops-tooltip.dops-popover.is-bottom-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-success .dops-popover__arrow{border-bottom-color:#4ab866}.dops-tooltip.dops-popover.is-top-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right .dops-popover__arrow,.dops-tooltip.dops-popover.is-top .dops-popover__arrow{border-top-color:#555;bottom:4px;left:10px}.dops-tooltip.dops-popover.is-top-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-top-right .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-top .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-top-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-error .dops-popover__arrow{border-top-color:#d94f4f}.dops-tooltip.dops-popover.is-top-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-warning .dops-popover__arrow{border-top-color:#f0b849}.dops-tooltip.dops-popover.is-top-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-success .dops-popover__arrow{border-top-color:#4ab866}.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow,.dops-tooltip.dops-popover.is-top .dops-popover__arrow{margin-right:-6px}.dops-tooltip.dops-popover.is-left,.dops-tooltip.dops-popover.is-right{padding-top:0}.dops-tooltip.dops-popover.is-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-right .dops-popover__arrow{margin-top:-6px}.dops-tooltip.dops-popover.is-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-right .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-error .dops-popover__arrow{border-left-color:#d94f4f}.dops-tooltip.dops-popover.is-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-warning .dops-popover__arrow{border-left-color:#f0b849}.dops-tooltip.dops-popover.is-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-success .dops-popover__arrow{border-left-color:#4ab866}.dops-tooltip.dops-popover.is-left .dops-popover__arrow{border-right-color:#555;margin-left:4px}.dops-tooltip.dops-popover.is-right .dops-popover__arrow{border-left-color:#555;margin-right:4px}.dops-tooltip.dops-popover .dops-popover__inner{background:#555;border:0;border-radius:2px;box-shadow:none;color:#fff;font-size:12px;padding:6px 10px;text-align:right}.dops-tooltip.dops-popover.is-error .dops-popover__inner{background:#d94f4f}.dops-tooltip.dops-popover.is-warning .dops-popover__inner{background:#f0b849}.dops-tooltip.dops-popover.is-success .dops-popover__inner{background:#4ab866}.dops-tooltip.dops-popover ul{list-style:none;margin:0;padding:0}.dops-tooltip.dops-popover ul li{border:0;font-size:11px;font-weight:100}.dops-tooltip__hr{background:#a2a2a2;margin:8px 0}.dops-chart{background-color:#fff;box-sizing:border-box;padding:8px 20px 8px 0;position:relative}.dops-chart .dops-chart__y-axis-markers{height:200px;left:0;position:absolute;right:0;top:8px}.dops-chart .dops-chart__y-axis-marker{border-top:1px solid #eee;height:1px;position:absolute;top:0;width:100%}.dops-chart__bar-marker{border-top:1px solid hsla(0,0%,93%,.1);height:1px;position:absolute;top:0;width:100%;z-index:1}.dops-chart .dops-chart__y-axis-marker.is-fifty,.dops-chart__bar-marker.is-fifty,.dops-chart__y-axis-label.is-fifty{top:50%}.dops-chart .dops-chart__y-axis-marker.is-zero,.dops-chart__bar-marker.is-zero,.dops-chart__y-axis-label.is-zero{top:100%}.dops-chart__y-axis{color:#888;float:left;font-size:11px;height:200px;margin-bottom:30px;padding:0 10px 0 20px;position:relative}.dops-chart__y-axis-label{left:20px;position:absolute;text-align:left;top:0}.dops-chart__y-axis-width-fix{color:hsla(0,0%,100%,0)}.dops-chart__x-axis{color:#555;font-size:0;min-height:18px;padding:5px 0;position:relative}.dops-chart__x-axis-label{display:inline-block;font-size:11px;position:absolute;text-align:center;vertical-align:top}.dops-chart__x-axis-label:before{background:#f6f6f6;background-image:linear-gradient(180deg,#f6f6f6 0,#d5d5d5);content:"";display:block;height:5px;margin-right:-.5px;position:absolute;right:50%;top:-4px;width:1px}.dops-chart__bars{display:-ms-flex;display:flex;font-size:0;overflow:hidden}.dops-chart__bar,.dops-chart__bars{height:200px;position:relative;text-align:center}.dops-chart__bar{display:inline-block;-ms-flex-grow:1;flex-grow:1;-ms-flex-shrink:1;flex-shrink:1}.dops-chart__bar.is-weekend{background-color:hsla(0,0%,93%,.5)}.dops-chart__bar:focus{background-color:rgba(240,130,30,.1)}.dops-chart__bar:hover{background-color:hsla(0,0%,93%,.3);cursor:pointer}.dops-chart__bar.is-selected{background-color:rgba(240,130,30,.1);cursor:default}.dops-chart__bar-section{background-color:#0087be;bottom:0;display:inline-block;left:16%;position:absolute;right:16%;top:0;z-index:2}.dops-chart__bar:hover .dops-chart__bar-section.is-bar{background-color:#3582c4}.dops-chart__bar.is-selected .dops-chart__bar-section.is-bar{background-color:#f0821e}.dops-chart__bar-section.is-spacer{background-color:hsla(0,0%,100%,0);z-index:0}.dops-chart__bar-section.is-ghost:after{background-image:linear-gradient(180deg,hsla(0,0%,100%,0),hsla(0,0%,93%,.5));bottom:0;content:"";display:block;height:40px;position:absolute;right:0;top:160px;width:100%;z-index:1}.dops-chart__bar:hover .dops-chart__bar-section.is-ghost:after{display:none}.dops-chart__bar-section-inner{background:#004069;bottom:0;left:23.33%;position:absolute;right:23.33%}.dops-chart__bar.is-selected .dops-chart__bar-section-inner{background-color:#d63638}.dops-chart__legend{margin-bottom:-8px}.dops-chart__legend:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-chart__legend .dops-chart__legend-options{color:#747474;float:left;font-size:11px;letter-spacing:.1em;list-style-type:none;margin:0;text-transform:uppercase}@media(max-width:480px){.dops-chart__legend .dops-chart__legend-options{width:100%}}.dops-chart__legend-option{display:inline;text-align:right}@media(max-width:480px){.dops-chart__legend-option{display:inline-block;width:50%}}.dops-chart__legend-label{display:inline-block;padding:12px 20px 10px 19px}.dops-chart__legend-label.is-selectable{cursor:pointer}.dops-chart__legend-label.is-selectable:focus,.dops-chart__legend-label.is-selectable:hover{color:tint(#3582c4,20%)}@media(max-width:480px){.dops-chart__legend-label{display:block}}.dops-chart__legend-option .dops-chart__legend-color{background:#0087be;border-radius:1px;display:inline-block;height:10px;margin:3px 8px 3px 5px;vertical-align:top;width:10px}@media(max-width:480px){.dops-chart__legend-option:first-child .dops-chart__legend-color{margin-right:2px}}.dops-chart__legend-color.is-dark-blue{background:#004069}.dops-chart__legend-option .dops-chart__legend-checkbox{float:none;margin:0;vertical-align:top}.dops-chart__empty{bottom:0;clear:both;font-size:14px;left:0;line-height:24px;position:absolute;right:0;text-align:center;top:0;z-index:1}.dops-chart__empty_notice{animation:appear .3s ease-in-out;background:#fff;border-radius:1px;box-shadow:0 0 0 1px hsla(0,0%,84%,.5),0 1px 2px #eee;box-sizing:border-box;font-size:14px;line-height:1.4285;margin-bottom:24px;padding:11px 24px;position:relative;top:97px}@media(min-width:661px){.dops-chart__empty_notice{font-size:inherit;padding:13px 48px}.dops-chart__empty_notice:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"";display:inline-block;font:normal 16px/1 Noticons;font-size:24px;line-height:1;margin:-12px -8px 0 0;position:absolute;right:20px;top:23px;vertical-align:middle}}.dops-chart__tooltip .dops-popover__inner{text-align:right;width:230px}.dops-chart__tooltip .dops-popover__inner ul{list-style:none;margin:0;padding:0}.dops-chart__tooltip .dops-popover__inner ul:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-chart__tooltip .dops-popover__inner ul li{border:0;font-size:11px;font-weight:100;height:24px;letter-spacing:.1em;margin-bottom:0;text-transform:uppercase}.dops-chart__tooltip .dops-popover__inner ul li .dops-wrapper{clear:both;display:block;line-height:inherit;line-height:24px}.dops-chart__tooltip .dops-popover__inner ul li .value{color:#d5d5d5;float:left;min-width:22px;text-align:left}.dops-chart__tooltip .dops-popover__inner ul li .label{display:block;overflow:hidden;vertical-align:baseline;word-break:break-all}.dops-chart__tooltip .dops-popover__inner ul li .gridicon{margin-left:6px;margin-top:-3px;vertical-align:middle}.dops-chart__tooltip.is-streak{height:35px;margin-top:-5px}.dops-chart__tooltip.is-streak .dops-popover__arrow:before{right:85px;top:30px}.dops-chart__tooltip.is-streak .dops-popover__inner{position:relative;top:-10px;width:160px}.dops-chart__tooltip.is-streak .dops-popover__inner li{height:14px}.dops-chart__tooltip.is-streak .dops-popover__inner li .label{float:right;text-align:center;width:100%}.rtl .dops-chart__tooltip.is-streak .dops-popover__inner li .label{font-size:11px}.dops-chart__tooltip.is-streak .dops-popover__inner li .label .post-count{font-weight:700}.dops-chart__tooltip.is-streak .dops-popover__inner li .value{float:none}.dops-chart__tooltip .dops-module-content-list-item.is-date-label{border-bottom:1px solid #5d5d5d;font-size:11px;font-weight:700;margin-bottom:2px;padding-bottom:2px;text-transform:uppercase}.dops-chart__tooltip .dops-module-content-list-item.is-published-item{height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .label{color:#d5d5d5;height:19px;letter-spacing:0;overflow:hidden;text-transform:none}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value{min-width:0;width:0}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value:before{background-image:linear-gradient(270deg,rgba(61,89,109,0) 0,rgba(61,89,109,.5),#3d596d);content:"";display:block;height:24px;position:relative;right:-30px;width:30px}.dash-security-bundle{display:flex;flex-direction:column;padding:32px}@media(min-width:661px){.dash-security-bundle{flex-direction:row}}.dash-security-bundle .dash-security-bundle--icon{align-items:flex-start;display:flex;margin-bottom:16px;margin-left:0;margin-top:16px}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--icon{align-items:center;margin-bottom:0;margin-left:32px;margin-top:0}}.dash-security-bundle .dash-security-bundle--content{display:flex;flex:1;flex-direction:column;justify-content:space-between}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--content{flex-direction:row}}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info{display:flex;flex-direction:column}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info h3{font-size:22px;font-weight:700;margin-bottom:0}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info p{font-size:14px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features,.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature{display:flex;flex-direction:row}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature img{width:24px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature p{font-weight:700}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature:not(:last-child){margin-left:16px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-cta{align-items:center;display:flex;flex-direction:row;margin-right:0;margin-top:16px}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-cta{margin-right:16px;margin-top:0}}#jp-plugin-container{min-height:100vh}body.dops-modal-showing{overflow:hidden}.dops-modal-wrapper{-webkit-overflow-scrolling:touch;background-color:rgba(0,0,0,.5);bottom:0;cursor:pointer;display:block;left:0;outline:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;text-align:center;top:0;transition:opacity .15s linear;z-index:1050}.dops-modal-wrapper:before{content:"";display:inline-block;height:100%;vertical-align:middle}.dops-modal-wrapper .dops-modal{background-color:#fff;clear:both;cursor:default;display:inline-block;margin:0;max-width:550px;position:relative;text-align:right;transition:all .5s;vertical-align:middle;width:100%;z-index:100}@media(min-width:481px){.dops-modal-wrapper .dops-modal{border-radius:5px;box-shadow:0 4px 20px rgba(0,0,0,.2);height:auto;margin:0 auto}}.jp-product-activated-label{color:#069e08;display:flex;font-weight:600;padding:0 0 8px}@media(min-width:961px){.jp-product-activated-label{justify-content:flex-end}}.jp-product-activated-label .gridicons-checkmark{margin-left:8px}@media(min-width:961px){.my-plan-card{display:flex;flex-flow:row nowrap;justify-content:space-between}}.my-plan-card__primary{display:flex;flex-flow:row nowrap;flex-grow:1}.my-plan-card__header{flex:1}.my-plan-card__title{color:#414141;font-size:1.25rem;font-weight:600;line-height:30px;margin:6px 0}.my-plan-card__tag-line{font-weight:400;line-height:18px;margin:0 0 24px}@media(min-width:961px){.my-plan-card__tag-line{margin-bottom:8px}}.my-plan-card__icon{flex:0 0 auto;height:64px;margin:8px 0 16px 20px;width:64px}@media(max-width:660px){.my-plan-card__icon{display:none}}.my-plan-card__icon img{height:100%;width:100%}.my-plan-card__secondary{align-items:center;display:flex;flex-flow:row wrap;justify-content:space-between;padding:8px 0 0;position:relative}@media(min-width:961px){.my-plan-card__secondary{align-items:flex-end;flex-flow:column nowrap;justify-content:center;padding:0 24px 0 0}}.my-plan-card__secondary:before{border-top:1px solid #c3c4c7;content:"";left:-16px;position:absolute;right:-16px;top:0}@media(min-width:481px){.my-plan-card__secondary:before{left:-24px;right:-24px}}@media(min-width:961px){.my-plan-card__secondary:before{content:none}}.has-action-only .my-plan-card__secondary{justify-content:center;padding-top:0}.has-action-only .my-plan-card__secondary:before{content:none}.my-plan-card__details{color:#888;padding-top:8px}@media(min-width:481px){.my-plan-card__details{white-space:nowrap}}@media(min-width:961px){.my-plan-card__details{padding-top:0}}.my-plan-card__details.is-error{color:#d94f4f}.my-plan-card__action{padding-top:8px;white-space:nowrap}.has-action-only .my-plan-card__action{padding-top:0}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-right:5px}.notices-list{overflow:hidden}.notices-list.is-pinned{position:fixed;top:79px;width:calc(100% - 336px);z-index:z-index("root",".notices-list.is-pinned")}.notices-list.is-pinned .notice{z-index:z-index("root",".notices-list.is-pinned .notice")}.notices-list__whitespace{display:block;height:71px;width:100%}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{bottom:0;left:0;pointer-events:none;position:fixed;right:0;text-align:left;top:auto;z-index:179}@media(min-width:661px){.global-notices{bottom:auto;left:16px;max-width:calc(100% - 68px);right:auto;top:63px}}@media(min-width:961px){.global-notices{left:24px;max-width:calc(100% - 208px);top:71px}}@media(min-width:1041px){.global-notices{left:32px;max-width:calc(100% - 224px)}}.global-notices .dops-notice{border-radius:0;box-shadow:0 2px 5px rgba(0,0,0,.2),0 0 56px rgba(0,0,0,.15);flex-wrap:nowrap;margin-bottom:0;pointer-events:auto;text-align:right}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0}@media(min-width:661px){.global-notices .dops-notice{border-radius:3px;display:flex;margin-bottom:24px;overflow:hidden}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0 3px 3px 0}.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:13px 16px}}.global-notices .dops-notice__dismiss{flex-shrink:0}@media(min-width:661px){.global-notices .dops-notice__dismiss{padding:13px 16px 0}}.reconnect__modal__body{color:#2e4453;font-size:rem(14px);margin:0;padding:rem(24px) rem(32px);text-align:center}.reconnect__modal__body h2{color:#2e4453;font-size:rem(32px);font-weight:300;margin:rem(32px) 0 rem(24px)}.reconnect__modal__body h4{color:#668eaa;font-size:rem(16px);font-weight:400;line-height:1.5em;margin:rem(16px) rem(24px) 0}.reconnect__modal-actions{margin:2rem 0}.reconnect__modal-actions .reconnect__modal-cancel{margin-left:1em}.jp-license-activation-screen-controls{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-controls h1{font-size:44px;font-weight:700}.jp-license-activation-screen-controls p{font-size:16px}.jp-license-activation-screen-controls label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-controls{padding:64px}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error label,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field label{font-size:16px;font-weight:600}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border-radius:4px;font-size:18px;line-height:24px;margin:0;min-height:48px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border:1px solid #787c82}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border:1px solid #d63639}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error{align-items:start;color:#d63639;display:flex;flex-direction:row}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error svg{fill:#d63639;margin-left:4px;min-width:24px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error span{font-size:16px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{background-color:#000;border-radius:4px;color:#fff;display:flex;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin-top:24px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{width:auto}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:hover,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:hover{background-color:#2c3338;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:focus,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active[disabled],.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button[disabled]{background-color:#dcdcde;color:#a7aaad}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button .jp-components-spinner,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active .jp-components-spinner{width:100%}.jp-license-activation-screen-illustration{align-items:center;background:#f9f9f6;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-illustration--wrapper{display:flex;flex:1}.jp-license-activation-screen-illustration--wrapper img{align-self:center;height:auto;max-width:100%}.jp-license-activation-screen-illustration--support-link{flex:0}.jp-license-activation-screen-success-info--product-details a{color:var(--jp-black);text-decoration:underline!important}.jp-license-activation-screen-success-info--external-link{color:var(--jp-black);font-size:16px;font-style:normal;font-weight:600;text-decoration:underline!important;white-space:nowrap}.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{background-color:#000;border-radius:4px;color:#fff;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin:0 0 20px 40px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{width:auto}}.components-button.jp-license-activation-screen-success-info--button:active:hover,.components-button.jp-license-activation-screen-success-info--button:hover,.components-button.jp-license-activation-screen-success-info--button:visited:hover{background-color:#2c3338;color:#fff}.components-button.jp-license-activation-screen-success-info--button:active:focus,.components-button.jp-license-activation-screen-success-info--button:focus,.components-button.jp-license-activation-screen-success-info--button:visited:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.components-button.jp-license-activation-screen-success-info--button:active:disabled,.components-button.jp-license-activation-screen-success-info--button:active[disabled],.components-button.jp-license-activation-screen-success-info--button:disabled,.components-button.jp-license-activation-screen-success-info--button:visited:disabled,.components-button.jp-license-activation-screen-success-info--button:visited[disabled],.components-button.jp-license-activation-screen-success-info--button[disabled]{background-color:#dcdcde;color:#a7aaad}.components-button.jp-license-activation-screen-success-info--button .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:active .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:visited .jp-components-spinner{width:100%}.jp-license-activation-screen-success-info{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-success-info h1{font-size:44px;font-weight:700}.jp-license-activation-screen-success-info p{font-size:16px}.jp-license-activation-screen-success-info label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-success-info{padding:64px}}@media screen and (max-width:480px){.jp-license-activation-screen-success-info .jp-license-activation-screen-success-info--buttons{text-align:center}}.jp-license-activation-screen{border-radius:4px;box-shadow:0 4px 24px 0 #00000026;display:flex;flex-direction:column;min-height:540px;overflow:hidden}@media screen and (min-width:780px){.jp-license-activation-screen{flex-direction:row}}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 24px 16px 64px;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;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-contextualized-connection{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08);display:flex;flex-direction:column}.jp-contextualized-connection__content{align-items:center;display:flex;flex-direction:column;margin:auto;max-width:860px;padding:2rem;text-align:center;width:100%}@media(min-width:782px){.jp-contextualized-connection__content{padding:4rem}}.jp-contextualized-connection__content h2{font-size:36px;margin-bottom:1.5rem}.jp-contextualized-connection__content p{font-size:16px;margin-bottom:2rem}.jp-contextualized-connection__logo img{max-width:100%}.jp-contextualized-connection__tos{color:#787c82;font-size:14px;margin-top:2rem;max-width:400px}.jp-contextualized-connection__tos a{color:#787c82;font-weight:700;text-decoration:underline}.jp-contextualized-connection .jp-action-button--button.is-primary,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary{background-color:#000;justify-content:center}.jp-contextualized-connection .jp-action-button--button.is-primary:active:not(:disabled),.jp-contextualized-connection .jp-action-button--button.is-primary:hover:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:active:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:hover:not(:disabled){background:#2c3338;color:#fff}.jp-contextualized-connection .jp-action-button--button.is-primary:focus:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #000}.jp-contextualized-connection .jp-action-button--button.is-primary.disabled,.jp-contextualized-connection .jp-action-button--button.is-primary:disabled,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary.disabled,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:disabled{background:#dcdcde;pointer-events:none}.jp-contextualized-connection__footer{background-color:#f9f9f6;font-size:16px;padding:4rem;width:100%}.jp-contextualized-connection__footer-row{grid-gap:4rem;display:grid;grid-template-columns:auto}@media(min-width:782px){.jp-contextualized-connection__footer-row{grid-gap:3rem;grid-template-columns:repeat(3,1fr)}}.jp-contextualized-connection__footer-column h3{margin-top:0}.jp-contextualized-connection__footer-bottom-title{color:#000;font-size:20px;margin-top:4rem;text-align:center}.jp-contextualized-connection__feature-list{list-style-type:none;padding:0}.jp-contextualized-connection__feature-list li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:9px;padding-right:30px} \ No newline at end of file
+.jetpack-redeem-partner-coupon-post-connection{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jetpack-redeem-partner-coupon-post-connection .components-button{border-radius:4px;font-size:14px;font-weight:600;height:40px;justify-content:center}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__layout{display:grid;grid-template-areas:"content aside" "subcontent aside";grid-template-columns:auto 34%}}.jetpack-redeem-partner-coupon-post-connection__content{padding:32px 24px 24px}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__content{padding:48px 48px 0}}.jetpack-redeem-partner-coupon-post-connection__subcontent{padding:24px}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__subcontent{padding:0 48px 48px}}.jetpack-redeem-partner-coupon-post-connection__subcontent>p:first-child{margin-top:0}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__subcontent>p:first-child{margin-top:1em}}.jetpack-redeem-partner-coupon-post-connection__aside{align-items:center;background:#f9f9f6;background-position:50%;background-size:cover;display:flex;justify-content:center;padding:48px 0}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__aside{grid-area:aside;padding:0}}.jetpack-redeem-partner-coupon-post-connection__aside img{width:90px}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__aside img{width:auto}}.jetpack-redeem-partner-coupon-post-connection__logo{align-items:center;color:#000;display:flex;font-weight:700;justify-content:left}.jetpack-redeem-partner-coupon-post-connection__logo>*+*{margin-right:8px}@media(min-width:480px){.jetpack-redeem-partner-coupon-post-connection__logo>*+*{margin-right:16px}}.jetpack-redeem-partner-coupon-post-connection__heading{color:#000;font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:48px}.jetpack-redeem-partner-coupon-post-connection li,.jetpack-redeem-partner-coupon-post-connection p{color:#000;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jetpack-redeem-partner-coupon-post-connection ul{list-style-type:none;padding:0}.jetpack-redeem-partner-coupon-post-connection ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;margin-bottom:9px;padding-right:30px}.jetpack-redeem-partner-coupon-post-connection .jp-action-button button{width:100%}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection .jp-action-button button{width:auto}}.jetpack-redeem-partner-coupon-post-connection__actions{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;margin-top:32px}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__actions{justify-content:left}}@media(min-width:1080px){.jetpack-redeem-partner-coupon-post-connection__actions{flex-wrap:nowrap}}.jetpack-redeem-partner-coupon-post-connection__actions>div{flex:1 0 100%;text-align:center}@media(min-width:782px){.jetpack-redeem-partner-coupon-post-connection__actions>div{text-align:right}}@media(min-width:1080px){.jetpack-redeem-partner-coupon-post-connection__actions>div{flex:0 0 auto}}.jetpack-redeem-partner-coupon-post-connection__remind-me-later{background:transparent;border:0;color:#000;cursor:pointer;font-size:1rem;font-weight:600;margin:24px 0 0;padding:2px 0;text-decoration:underline}.jetpack-redeem-partner-coupon-post-connection__remind-me-later:hover{text-decoration:none}@media(min-width:1080px){.jetpack-redeem-partner-coupon-post-connection__remind-me-later{margin:0 24px 0 0}}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red)!important;line-height:25px!important;padding-right:25px}.jetpack-redeem-partner-coupon-pre-connection .components-button{border-radius:4px;font-size:14px;font-weight:600;height:40px;justify-content:center}.jetpack-redeem-partner-coupon-pre-connection--connected .jp-connection__connect-screen__tos{display:none!important}.jp-connection__connect-screen__loading{display:none}.jp-connection__connect-screen__tos{margin-top:28px;max-width:360px}.jp-connection__connect-screen .jp-action-button{margin-top:40px}.jp-connection__connect-screen .jp-action-button button{max-width:100%}.jp-connection__connect-screen .jp-action-button button:disabled{color:hsla(0,0%,100%,.4)}@media(max-width:782px){.jp-connection__connect-screen .jp-action-button button{max-width:none;width:100%}}.jp-connection__connect-screen__footer{margin-top:32px}.jp-connection__connect-screen-layout{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:#000;font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:#000;font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:#000;text-decoration-thickness:2px}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:#000}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:9px;padding-right:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.dops-button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:.875rem;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top}.dops-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.dops-button:disabled,.dops-button[disabled]{background:#fff;border-color:#eee;color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}.dops-button.is-compact{line-height:2;padding:0 10px}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{margin-top:-8px;top:4px}.dops-button.is-compact .gridicons-plus-small{margin-right:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-right:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-right:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}.dops-button.is-primary{background:#3582c4;border-color:#3582c4;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{background:#2271b1;border-color:#2271b1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;color:#66c6e4!important;cursor:default;text-shadow:none!important}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{border-color:#eee;color:#f4cdcd}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{height:24px;top:6px;width:24px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{background:#fff;color:#eee;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{height:18px;top:5px;width:18px}.dops-button.is-rna{font-weight:600;padding:.625rem 1.5rem;text-align:center;transition:all .15s ease-in-out}.dops-button.is-rna.disabled,.dops-button.is-rna:disabled{background:var(--jp-gray)!important;border-color:transparent!important;color:var(--jp-gray-20)!important;pointer-events:none}.dops-button.is-rna .gridicon{margin-inline-start:.25rem}.dops-button:not(.is-primary).is-rna{background-color:var(--jp-white);border-color:var(--jp-black);color:var(--jp-black)}.dops-button:not(.is-primary).is-rna:active,.dops-button:not(.is-primary).is-rna:hover{background:var(--jp-gray-0)}.dops-button:not(.is-primary).is-rna:focus{box-shadow:none;outline:solid 2px var(--jp-black);outline-offset:-1px}.dops-button.is-primary.is-rna{-webkit-font-smoothing:antialiased;background-color:var(--jp-black);border-color:var(--jp-black)}.dops-button.is-primary.is-rna:active,.dops-button.is-primary.is-rna:hover{background:var(--jp-gray-80);border-color:var(--jp-gray-80);color:var(--jp-white)}.dops-button.is-primary.is-rna:focus{box-shadow:none;outline:solid 1px var(--jp-black);outline-offset:1px}.dops-button-group .dops-button{border-radius:0;border-right-width:0}.dops-button-group .dops-button:focus{position:relative;z-index:z-index("button-group-parent",".button-group .button:focus")}.dops-button-group .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button-group .dops-button.is-scary:focus{box-shadow:inset -1px 0 0 #d94f4f,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-primary.is-scary:focus{box-shadow:inset -1px 0 0 #761919,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-scary:first-child:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button-group .dops-button:first-child{border-bottom-right-radius:4px;border-right-width:1px;border-top-right-radius:4px}.dops-button-group .dops-button:last-child{border-bottom-left-radius:4px;border-top-left-radius:4px}.dops-section-header .dops-button-group .dops-button{margin-left:0}.dops-count{border:1px solid #a2a2a2;border-radius:.75rem;color:#a2a2a2;display:inline-block;font-size:.6875rem;font-weight:600;line-height:.875rem;padding:.0625rem .375rem;text-align:center}.dops-select-dropdown{height:43px}.dops-select-dropdown.is-compact{height:28px}.dops-select-dropdown.is-disabled .dops-select-dropdown__header{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-select-dropdown__container{display:inline-block;max-width:100%;overflow:hidden;position:relative;width:auto}.dops-select-dropdown.is-open .dops-select-dropdown__container{z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container,.dops-accessible-focus .dops-select-dropdown__container:focus{box-shadow:0 0 0 2px #78dcfa;z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container .select-dropdown__header,.dops-accessible-focus .dops-select-dropdown__container:focus .select-dropdown__header{border-color:#0087be}.dops-accessible-focus .dops-select-dropdown__container:focus{border-color:#00aadc;border-radius:4px;box-shadow:0 0 0 2px #78dcfa;outline:0}.dops-select-dropdown__header{background-color:#fff;border:solid #d5d5d5;border-radius:4px;border-width:1px 1px 2px;box-sizing:content-box;color:#414141;cursor:pointer;font-size:14px;font-weight:600;height:18px;line-height:18px;padding:11px 16px 11px 44px;transition:background-color .2s ease}.dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:hsla(0,0%,64%,.5);content:"";display:inline-block;display:block;font:normal 16px/1 Dashicons;left:13px;line-height:18px;position:absolute;top:12px;vertical-align:middle}.is-compact .dops-select-dropdown__header:after{left:4px;top:4px}.is-compact .dops-select-dropdown__header{color:#888;font-size:11px;line-height:1;padding:7px;text-transform:uppercase}.is-compact .dops-select-dropdown__header .dops-count{border-width:0;line-height:1;margin-right:0}.dops-select-dropdown.is-open .dops-select-dropdown__header{background-color:#f6f6f6;border-radius:4px 4px 0 0;box-shadow:none}.dops-select-dropdown.is-open .dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"";display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-select-dropdown__header .dops-count{margin-right:8px}.dops-select-dropdown__header-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-select-dropdown__options{background-color:#fff;border:1px solid #d5d5d5;border-radius:0 0 4px 4px;box-sizing:border-box;height:0;list-style:none;margin:-2px 0 0;padding:0;visibility:hidden}.dops-accessible-focus .dops-select-dropdown__options{border:1px solid #0087be;border-top-color:#d5d5d5}.dops-select-dropdown.is-open .dops-select-dropdown__options{height:auto;visibility:visible}.dops-select-dropdown__option:last-child .dops-select-dropdown__item{border-radius:0 0 4px 4px}.dops-select-dropdown__item,.dops-select-dropdown__item-text{padding:11px 16px 11px 44px}.dops-select-dropdown__item{color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;line-height:18px;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}.dops-select-dropdown__item:before{content:attr(data-bold-text);font-weight:700;opacity:0}.dops-select-dropdown__item:visited{color:#414141}.dops-select-dropdown__item.is-selected{background-color:#3582c4;color:#fff}.dops-select-dropdown__item.is-disabled{background-color:#fff;color:#a2a2a2;cursor:default;opacity:.5}.notouch .dops-select-dropdown__item:hover{color:#3582c4}.notouch .dops-select-dropdown__item.is-selected:hover{color:#fff}.dops-select-dropdown__item-text{box-sizing:border-box;color:inherit;display:flex;flex-flow:row wrap;justify-content:space-between;padding-left:16px;position:absolute;right:0;text-overflow:ellipsis;top:0;white-space:nowrap;width:100%}.dops-select-dropdown__item-text .dops-count{border-color:inherit;color:inherit}.dops-select-dropdown__separator{border-top:1px solid #d5d5d5;display:block;margin:8px 0}.dops-select-dropdown__label{color:#bbb;display:block;line-height:20px;margin-top:5px}.dops-select-dropdown__label label{font-size:12px;padding:0 16px;text-transform:uppercase}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(-1px,1px)}.gridicon.needs-offset-x g{transform:translate(-1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-search{align-items:center;display:flex;flex:1 1 auto;height:51px;margin-bottom:24px;position:relative;transition:all .15s ease-in-out;width:60px;z-index:22}.dops-search .dops-search__icon-navigation{align-items:center;background-color:#fff;border-radius:inherit;display:flex;flex:0 0 auto;height:100%}.dops-search .dops-search__close-icon,.dops-search .dops-search__open-icon{color:#0087be;cursor:pointer;flex:0 0 auto;width:50px;z-index:20}.accessible-focus .dops-search .dops-search__close-icon:focus,.accessible-focus .dops-search .dops-search__open-icon:focus{outline:1px dotted #0087be}.dops-search .dops-search__open-icon:hover{color:#555}.dops-search .dops-search__close-icon{color:#555;opacity:0;transition:opacity .2s ease-in}.accessible-focus .dops-search.has-focus{box-shadow:0 0 0 1px #0087be,0 0 0 4px #78dcfa}.dops-search.is-expanded-to-container{display:flex;height:100%;left:0;margin-bottom:0;overflow:hidden;position:absolute;top:0;width:50px}.dops-search.is-expanded-to-container .dops-search__input-fade{display:flex;flex:1 1 auto;position:relative}.dops-search.is-expanded-to-container .dops-search__input[type=search]{box-shadow:none;display:flex;flex:1 1 auto;margin:0}.dops-search__input[type=search]{appearance:none;-webkit-appearance:none;background:#fff;border:none;border-radius:inherit;box-sizing:border-box;display:none;flex:1 1 auto;height:100%;padding:0;top:0;z-index:10}.dops-search__input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.dops-search__input[type=search]:focus{border:none;box-shadow:none}.dops-search.is-open{width:100%}.dops-search.is-open .dops-search__open-icon{color:#555}.dops-search.is-open .dops-search__close-icon{display:inline-block}.dops-search.is-open .dops-search__close-icon,.dops-search.is-open .dops-search__input{opacity:1}.dops-search.is-open .dops-search__input{display:block}.dops-search.is-open .dops-search__input-fade{border-radius:inherit;flex:1 1 auto;font-size:16px;height:100%;position:relative}.dops-search.is-open .dops-search__input-fade.ltr:before,.dops-search.is-open .dops-search__input-fade:before{-webkit-touch-callout:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);border-radius:inherit;bottom:0;content:"";display:block;height:auto;left:0;pointer-events:none;position:absolute;right:auto;top:0;-webkit-user-select:none;user-select:none;width:32px;z-index:12}.dops-search__input-fade .dops-search__text-overlay{align-items:center;color:transparent;display:flex;flex:1 1 auto;font:inherit;height:100%;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;white-space:nowrap;width:100%;z-index:11}.dops-search.is-searching .dops-search__open-icon{display:none}.animating.dops-search-opening .dops-search input{opacity:1}.dops-section-nav{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;margin:0 0 17px;padding:0;position:relative;width:100%}.dops-section-nav.is-empty .dops-section-nav__panel{visibility:hidden}@media(max-width:480px){.dops-section-nav.is-open{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}}@media(min-width:481px){.dops-section-nav.has-pinned-items{padding-left:60px}}@media(min-width:481px)and (max-width:660px){.dops-section-nav.has-pinned-items{padding-left:50px}}@media(max-width:660px){.dops-section-nav{margin-bottom:9px}}.dops-section-nav__mobile-header{color:#414141;cursor:pointer;display:flex;font-size:14px;font-weight:600;line-height:16px;padding:15px}.dops-section-nav__mobile-header:after{color:hsla(0,0%,64%,.5);content:"";line-height:16px}.dops-section-nav.is-open .dops-section-nav__mobile-header:after,.dops-section-nav__mobile-header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-section-nav.is-open .dops-section-nav__mobile-header:after{content:""}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header{padding-left:50px}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header:after{margin-right:8px}@media(min-width:481px){.dops-section-nav__mobile-header{display:none}}.dops-section-nav__mobile-header-text{flex:1 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:0}.dops-section-nav__mobile-header-text small{color:#a2a2a2;font-size:11px;font-weight:600;margin-right:5px;text-transform:uppercase}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header-text{flex:0 1 auto;width:auto}.dops-section-nav__panel{box-sizing:border-box;width:100%}@media(max-width:480px){.dops-section-nav.is-open .dops-section-nav__panel{background:linear-gradient(180deg,#f6f6f6 0,#fff 4px);border-top:1px solid #d5d5d5;padding-bottom:15px}}@media(min-width:481px){.dops-section-nav__panel{align-items:center;display:flex}.dops-section-nav__panel:first-child{flex:1 0 auto;width:0}}.dops-section-nav-group{border-top:1px solid #d5d5d5;margin-top:16px;padding-top:16px;position:relative}.dops-section-nav-group:first-child{border-top:none;padding-top:0}@media(max-width:480px){.dops-section-nav-group{display:none}.dops-section-nav.is-open .dops-section-nav-group{display:block}}@media(min-width:481px){.dops-section-nav-group{border-top:none;margin-top:0;padding-top:0}.dops-section-nav-group:first-child{display:flex;flex:1 0 auto;width:0}}.dops-section-nav__button{margin-top:24px;width:100%}.dops-section-nav__hr{background:#eee}.dops-section-nav-group__label{color:#a2a2a2;display:none;font-size:11px;font-weight:600;line-height:12px;margin-bottom:8px;padding:0 15px;text-transform:uppercase}@media(max-width:480px){.has-siblings .dops-section-nav-group__label{display:block}}.dops-section-nav-group__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-section-nav-tab .count{margin-right:8px}@media(min-width:481px){.dops-section-nav-tabs{flex:1 0 auto;width:0}.dops-section-nav-tabs.is-dropdown{flex:0 1 auto;margin:8px;position:relative;width:auto}}.dops-section-nav-tabs__list{list-style:none;margin:0}@media(min-width:481px){.dops-section-nav-tabs__list{display:flex;overflow:hidden;width:100%}.is-dropdown .dops-section-nav-tabs__list{display:none}}.dops-section-nav-tab{margin-bottom:0}@media(min-width:481px){.dops-section-nav-tab{border-bottom:2px solid transparent;border-top:none;flex:none;text-align:center;width:auto}.dops-section-nav-tab.is-selected{border-bottom-color:#414141}}.dops-section-nav-tab__link,.dops-section-nav-tab__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dops-section-nav-tab__link{align-items:center;box-sizing:border-box;color:#414141;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;line-height:18px;padding:15px;width:100%}.dops-section-nav-tab__link:visited{color:#414141}.dops-section-nav-tab__link[disabled],.notouch .dops-section-nav-tab__link[disabled]:hover{color:#eee;cursor:default}.is-selected .dops-section-nav-tab__link{background-color:#2271b1;color:#fff}.dops-section-nav-tab__link:focus{box-shadow:none;outline:none}.dops-accessible-focus .dops-section-nav-tab__link:focus{outline:1px solid #a2a2a2}.is-external .dops-section-nav-tab__link:after{font-size:18px;padding-right:2px}.dops-section-nav-tab__link:hover{color:#0a4b78}.notouch .dops-section-nav-tab__link:hover{color:#2271b1}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#fff}@media(min-width:481px){.dops-section-nav-tab__link{color:#2271b1;display:block;font-weight:400;padding:16px 16px 14px;width:auto}.dops-section-nav-tab__link:visited{color:#2271b1}.is-selected .dops-section-nav-tab__link{background-color:transparent;color:#414141}.is-selected .dops-section-nav-tab__link:after{display:none}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#414141}}.dops-section-nav-tab__update-badge{background-color:#d63638;border-radius:9px;box-sizing:border-box;color:#fff;display:inline-block;font-size:11px;height:18px;line-height:1.6;margin-block-start:2px;margin-top:-1px;min-width:18px;padding:0 5px;text-align:center;vertical-align:middle}.dops-section-nav-tab__update-badge.count-0{display:none}.dops-section-nav-tab__text{color:inherit;display:block;flex:1 0 auto;width:0}@media(min-width:481px){.dops-section-nav-tab__text{display:inline;flex:none;width:auto}}.dops-section-nav-tabs__dropdown{position:relative;width:100%;z-index:3}.dops-section-nav-tabs__dropdown.is-open{z-index:4}.dops-section-nav-tabs__dropdown .dops-select-dropdown__container{position:static}.dops-section-nav__segmented .dops-segmented-control{margin:0 15px}.dops-section-nav__segmented .dops-segmented-control__link{padding:3px 16px 5px}@media(max-width:480px){.dops-section-nav .dops-search.is-pinned{height:46px}}.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-left:48px}h2.dops-card-title{font-size:1.25rem}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;left:16px;position:absolute;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.dops-popover{font-size:11px;left:0;left:auto;position:absolute;top:0;z-index:1000}.dops-popover .dops-popover__inner{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);position:relative;text-align:center}.dops-popover .dops-popover__arrow{border:10px dashed #d5d5d5;height:0;line-height:0;position:absolute;width:0;z-index:1}.dops-popover.fade{transition:opacity .1s}.dops-popover.is-top .dops-popover__arrow,.dops-popover.is-top-left .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow{border-bottom:none;border-left-color:transparent;border-top-style:solid;bottom:0;left:50%;margin-left:-10px}.dops-popover.is-top .dops-popover__arrow:before,.dops-popover.is-top-left .dops-popover__arrow:before,.dops-popover.is-top-right .dops-popover__arrow:before{border:10px solid transparent;border-bottom:none;border-top-color:#fff;bottom:2px;content:" ";left:50%;margin-left:-10px;position:absolute}.dops-popover.is-bottom .dops-popover__arrow,.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-bottom-right .dops-popover__arrow{border-bottom-style:solid;border-left-color:transparent;border-top:none;left:50%;margin-left:-10px;top:0}.dops-popover.is-bottom .dops-popover__arrow:before,.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-popover.is-bottom-right .dops-popover__arrow:before{border:10px solid transparent;border-bottom:10px solid #fff;border-top:none;content:" ";left:50%;margin-left:-10px;position:absolute;top:2px}.dops-popover.is-left .dops-popover__arrow,.dops-popover.is-left-bottom .dops-popover__arrow,.dops-popover.is-left-top .dops-popover__arrow{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent;margin-top:-10px;right:0;top:50%}.dops-popover.is-left .dops-popover__arrow:before,.dops-popover.is-left-bottom .dops-popover__arrow:before,.dops-popover.is-left-top .dops-popover__arrow:before{border:10px solid transparent;border-left:10px solid #fff;border-right:none;content:" ";margin-top:-10px;position:absolute;right:2px;top:50%}.dops-popover.is-right .dops-popover__arrow,.dops-popover.is-right-bottom .dops-popover__arrow,.dops-popover.is-right-top .dops-popover__arrow{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent;left:0;margin-top:-10px;top:50%}.dops-popover.is-right .dops-popover__arrow:before,.dops-popover.is-right-bottom .dops-popover__arrow:before,.dops-popover.is-right-top .dops-popover__arrow:before{border:10px solid transparent;border-left:none;border-right-color:#fff;content:" ";left:2px;margin-top:-10px;position:absolute;top:50%}.dops-popover.is-bottom-left,.dops-popover.is-bottom-right,.dops-popover.is-top-left,.dops-popover.is-top-right{padding-left:0;padding-right:0}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-top-left .dops-popover__arrow{left:auto;left:5px}.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow{left:15px}.dops-popover.is-top .dops-popover__inner,.dops-popover.is-top-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner{top:-10px}.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner{left:-10px}.dops-popover.is-bottom .dops-popover__inner,.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-bottom-right .dops-popover__inner{top:10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-right .dops-popover__inner,.dops-popover.is-top-left .dops-popover__inner{left:10px}.dops-popover.is-dialog-visible{z-index:100300}.dops-popover__menu{display:flex;flex-direction:column;min-width:200px}.dops-popover__menu-item{background:inherit;border:none;border-radius:0;color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;position:relative;text-align:right;transition:all .05s ease-in-out}.dops-popover__menu-item:first-child{margin-top:5px}.dops-popover__menu-item:focus,.dops-popover__menu-item:hover{background-color:#3582c4;border:0;box-shadow:none;color:#fff}.dops-popover__menu-item:focus .gridicon,.dops-popover__menu-item:hover .gridicon{color:#fff}.dops-popover__menu-item[disabled]:focus,.dops-popover__menu-item[disabled]:hover{background:transparent;cursor:default}.dops-popover__menu-item:last-child{margin-bottom:5px}.dops-popover__menu-item::-moz-focus-inner{border:0}.dops-popover__menu-item.has-icon{padding-right:42px}.dops-popover__menu-item .gridicon{color:#bbb;margin-left:8px;vertical-align:bottom}.dops-popover__hr{background:#eee;margin:8px 0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;right:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-right:12px}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{right:8px}.dops-section-header.dops-card{display:flex;flex-wrap:wrap;max-width:100%;padding-bottom:.6875rem;padding-top:.6875rem;position:relative}.dops-section-header.dops-card:after{content:""}.dops-section-header__label{align-items:center;color:#414141;display:flex;flex-grow:1;font-size:.875rem;line-height:1.75rem;min-width:0;position:relative}.dops-section-header__label .dops-count{margin-right:.5rem}.dops-section-header__label-text{margin-left:.5rem;min-width:0;overflow:hidden;padding-left:.5rem;position:relative;white-space:nowrap;width:100%}.dops-section-header__label-text:before{-webkit-touch-callout:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:0;pointer-events:none;position:absolute;right:auto;top:0;-webkit-user-select:none;user-select:none;width:8px}.has-card-badge .dops-section-header__label-text{width:auto}.dops-section-header__actions{flex-grow:0;position:relative}.dops-section-header__actions:after{clear:both;content:".";display:block;height:0;visibility:hidden}.section-header__actions .button{float:right;margin-left:.5rem}.section-header__actions .button:last-child{margin-left:0}.dops-notice{animation:appear .3s ease-in-out;background:#414141;border-radius:3px;box-sizing:border-box;color:#fff;display:flex;line-height:1.5;margin-bottom:24px;position:relative;width:100%}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#3582c4}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{align-items:baseline;align-self:stretch;background:#747474;border-radius:0 3px 3px 0;color:#fff;display:flex;flex-shrink:0;justify-content:center;width:47px}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media(min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content.dops-notice__content{flex-grow:1;font-size:12px;padding:13px}@media(min-width:481px){.dops-notice__content.dops-notice__content{font-size:14px}}.dops-notice__content.dops-notice__content a{color:#fff;text-decoration:underline}.dops-notice__content.dops-notice__content a:hover,.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{color:#fff;text-decoration:underline}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-right:0}.dops-notice__text li{margin-right:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-right:.428em}.dops-notice__dismiss{cursor:pointer;flex-shrink:0;padding:12px 12px 0}.dops-notice__dismiss .gridicon{height:18px;width:18px}@media(min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{height:24px;width:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{align-items:center;color:#bbb;cursor:pointer;display:flex;font-size:12px;font-weight:400;padding:13px;text-decoration:none;white-space:nowrap}@media(min-width:481px){a.dops-notice__action{align-items:center;border-radius:0;flex-grow:0;flex-shrink:1;font-size:14px;margin:0 auto 0 0;padding:13px 16px}a.dops-notice__action .gridicon{height:24px;width:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{height:18px;margin-right:8px;opacity:.7;width:18px}.dops-notice.is-compact{border-radius:3px;display:inline-flex;flex-direction:row;flex-wrap:nowrap;line-height:1.5;margin:0;min-height:20px;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;width:auto}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{height:18px;margin:0;width:18px}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{align-self:center;flex:none;margin:0 0 0 8px;padding:0;position:relative}.dops-notice.is-compact .dops-notice__dismiss .gridicon{height:18px;width:18px}.dops-notice.is-compact a.dops-notice__action{align-self:center;background:transparent;display:inline-block;font-size:12px;margin:0 16px 0 0;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{height:14px;margin-right:8px;opacity:1;vertical-align:sub;width:14px}.dops-plan-icon{background-repeat:no-repeat;height:inherit;width:inherit}.dops-plan-icon__free .dops-plan-icon__free-0{fill:#78dcfa}.dops-plan-icon__free .dops-plan-icon__free-1{fill:#fff}.dops-plan-icon__free .dops-plan-icon__free-2{fill:#006a95}.dops-plan-icon__free .dops-plan-icon__free-3{fill:#0087be}.dops-plan-icon__free .dops-plan-icon__free-4{fill:#00a4e7}.dops-plan-icon__personal .dops-plan-icon__personal-0{fill:#f0b849}.dops-plan-icon__personal .dops-plan-icon__personal-1{fill:#a2a2a2}.dops-plan-icon__personal .dops-plan-icon__personal-2{fill:#d5d5d5}.dops-plan-icon__personal .dops-plan-icon__personal-3{fill:#fff}.dops-plan-icon__personal .dops-plan-icon__personal-4{fill:#888}.dops-plan-icon__personal .dops-plan-icon__personal-5{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-0{fill:#4ab866}.dops-plan-icon__premium .dops-plan-icon__premium-1{fill:#a2a2a2}.dops-plan-icon__premium .dops-plan-icon__premium-2{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-3{fill:#fff}.dops-plan-icon__premium .dops-plan-icon__premium-4{fill:#d5d5d5}.dops-plan-icon__premium .dops-plan-icon__premium-5{fill:#6f6f6f}.dops-plan-icon__premium .dops-plan-icon__premium-6{fill:#555}.dops-plan-icon__business .dops-plan-icon__business-0{fill:#855da6}.dops-plan-icon__business .dops-plan-icon__business-1{fill:#fff}.dops-plan-icon__business .dops-plan-icon__business-2{fill:#eee}.dops-plan-icon__business .dops-plan-icon__business-3{fill:#0087be}.dops-plan-icon__business .dops-plan-icon__business-4{fill:#005082}.dops-banner.dops-card{border-right:3px solid #0087be;display:flex;padding:12px 12px 12px 6px;position:relative;z-index:2}.dops-banner.dops-card.is-card-link{padding:12px 16px 12px 48px}.dops-banner.dops-card.is-dismissible{padding-left:48px}.dops-banner.dops-card .dops-banner__icon{color:#0087be}.dops-banner.dops-card .dops-banner__icon-circle{background-color:#0087be}.dops-banner.dops-card.is-jetpack-info{border-right-color:#069e08}.dops-banner.dops-card.is-jetpack-info .dops-banner__icon{color:#069e08}.dops-banner.dops-card.is-jetpack-info .dops-banner__icon-circle{background-color:#069e08}.dops-banner.dops-card.is-product{border-right-color:#3895ba}.dops-banner.dops-card.is-product .dops-banner__icon{color:#3895ba}.dops-banner.dops-card.is-product .dops-banner__icon-circle{background-color:#3895ba}.dops-banner.dops-card.is-plan{border-right-color:#069e08}.dops-banner.dops-card.is-plan .dops-banner__icon{color:#069e08}.dops-banner.dops-card.is-plan .dops-banner__icon-circle{background-color:#069e08}.dops-banner.dops-card.is-plan.is-upgrade-personal{border-right-color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-personal .dops-banner__icon{color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-personal .dops-banner__icon-circle{background-color:#f0b849}.dops-banner.dops-card.is-plan.is-upgrade-premium{border-right-color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-premium .dops-banner__icon{color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-premium .dops-banner__icon-circle{background-color:#4ab866}.dops-banner.dops-card.is-plan.is-upgrade-business{border-right-color:#855da6}.dops-banner.dops-card.is-plan.is-upgrade-business .dops-banner__icon{color:#855da6}.dops-banner.dops-card.is-plan.is-upgrade-business .dops-banner__icon-circle{background-color:#855da6}.dops-banner.dops-card.is-plan.is-bundle{border-right-color:#984a9c}.dops-banner.dops-card.is-plan.is-bundle .dops-banner__icon{color:#984a9c}.dops-banner.dops-card.is-plan.is-bundle .dops-banner__icon-circle{background-color:#984a9c}.dops-banner.dops-card .dops-card__link-indicator{align-items:center;color:#0087be;display:flex}.dops-banner.dops-card:hover{transition:all .1s ease-in-out}.dops-banner.dops-card:hover.is-card-link{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}.dops-banner.dops-card:hover .dops-card__link-indicator{color:#005082}@media(min-width:481px){.dops-banner.dops-card{padding:12px 16px}.dops-banner.dops-card.is-dismissible{padding-left:16px}}.dops-banner__icons{display:flex}.dops-banner__icons .dops-banner__icon,.dops-banner__icons .dops-banner__icon-circle{border-radius:50%;flex-shrink:0;height:24px;margin-left:16px;margin-top:-2px;text-align:center;top:4px;width:24px}.dops-banner__icons .dops-banner__icon{align-self:center;color:#fff;display:block}.dops-banner__icons .dops-banner__icon-circle{color:#fff;display:none;padding:3px 3px 4px 4px}.dops-banner__icons .dops-banner__icon-circle-svg{transform:translate(-1px,1px)}@media(min-width:481px){.dops-banner__icons{align-items:center}.dops-banner__icons .dops-banner__icon{display:none}.dops-banner__icons .dops-banner__icon-circle{display:block}}.dops-banner__icon-plan{display:flex;margin-left:16px}.dops-banner__icon-plan .dops-plan-icon{height:32px;width:32px}@media(min-width:481px){.dops-banner__icon-plan{align-items:center}}.dops-banner__content{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap}@media(min-width:481px){.dops-banner__content{flex-wrap:nowrap}}.dops-banner__info{flex-grow:1;line-height:1.4;width:100%}.dops-banner__info .dops-banner__description,.dops-banner__info .dops-banner__list,.dops-banner__info .dops-banner__title{color:#414141}.dops-banner__info .dops-banner__title{font-size:.875rem;font-weight:500}.dops-banner__info .dops-banner__description{font-size:.75rem;margin-top:3px}.dops-banner__info .dops-banner__list{font-size:.75rem;list-style:none;margin:0}.dops-banner__info .dops-banner__list li{margin:6px 0}.dops-banner__info .dops-banner__list li .gridicon{color:#a2a2a2;display:none}@media(min-width:481px){.dops-banner__info{width:auto}.dops-banner__info .dops-banner__list li .gridicon{display:inline;margin-left:12px;vertical-align:bottom}}.dops-banner__action{align-self:center;font-size:.75rem;margin:8px 0 0;text-align:right;width:100%}.dops-banner__action .dops-banner__prices{display:flex;justify-content:flex-start}.dops-banner__action .dops-banner__prices .dops-plan-price{margin-bottom:0}.dops-banner__action .dops-banner__prices .dops-plan-price.is-discounted,.dops-banner__action .dops-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol{color:#414141}.has-call-to-action .dops-banner__action .dops-banner__prices .dops-plan-price{margin-bottom:8px}@media(min-width:481px){.dops-banner__action{margin:0 8px 0 4px;text-align:center;width:auto}.is-dismissible .dops-banner__action{margin-top:40px}.dops-banner__action .dops-banner__prices{justify-content:flex-end;text-align:left}}.module-overridden-banner.dops-banner.is-compact{margin-bottom:0}.module-overridden-banner.dops-banner .dops-banner__description a{text-decoration:underline}.dops-info-popover-button{background:transparent;border:none;color:#888;padding:0}.dops-info-popover-button:hover{color:#414141}.dops-info-popover-button:focus{box-shadow:none}.dops-accessible-focus .dops-info-popover-button:focus{outline:thin dotted}.dops-info-popover .gridicon{color:#c8c8c8;cursor:pointer}.dops-info-popover .gridicon:hover,.dops-info-popover.is_active .gridicon{color:#414141}.dops-popover.dops-info-popover__tooltip .dops-popover__inner{color:#6f6f6f;font-size:13px;max-width:220px;padding:16px;text-align:right}.jp-support-info{left:1.5625rem;position:absolute;top:1.6875rem;z-index:1}@media(max-width:480px){.jp-support-info{left:1rem;top:1.25rem}}.jp-form-fieldset .jp-support-info{top:4px}.jp-support-info .dops-info-popover{white-space:nowrap}.dops-popover .jp-support-info__privacy{border-top:1px solid hsla(0,0%,64%,.5);display:block;margin-top:.875rem;padding-top:.75rem}.dops-text-input.dops-text-input{background-color:#fff;border:1px solid #d5d5d5;box-shadow:none;box-sizing:border-box;color:#414141;font-size:16px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}.dops-text-input.dops-text-input::placeholder{color:#a2a2a2}.dops-text-input.dops-text-input:hover{border-color:#bbb}.dops-text-input.dops-text-input:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.dops-text-input.dops-text-input:focus::-ms-clear{display:none}.dops-text-input.dops-text-input:disabled{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-text-input.dops-text-input:disabled:hover{cursor:default}.dops-text-input.dops-text-input:disabled::placeholder{color:#bbb}.dops-text-input.dops-text-input{-webkit-appearance:none}.dops-text-input.dops-text-input.is-valid{border-color:#4ab866}.dops-text-input.dops-text-input.is-valid:hover{border-color:#3a9551}.dops-text-input.dops-text-input.is-error{border-color:#d94f4f}.dops-text-input.dops-text-input.is-error:hover{border-color:#c92c2c}.dops-text-input.dops-text-input:focus.is-valid{box-shadow:0 0 0 2px #caead2}.dops-text-input.dops-text-input:focus.is-valid:hover{box-shadow:0 0 0 2px #a6dcb3}.dops-text-input.dops-text-input:focus.is-error{box-shadow:0 0 0 2px #f9e2e2}.dops-text-input.dops-text-input:focus.is-error:hover{box-shadow:0 0 0 2px #f0b8b8}.jp-form-settings-group .jp-toggle-set{position:relative}.jp-form-settings-group .jp-toggle-set .jp-support-info{left:-1.25rem;top:.3125rem}@media(max-width:480px){.jp-form-settings-group .jp-toggle-set .jp-support-info{left:-2rem;top:.3125rem}}.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-right:1.25rem;text-align:right;width:100%}.jp-connection__disconnect-card{background-color:#fff;border:none;border-radius:3px;box-shadow:0 0 15px #e2e2df;margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:right;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-left:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:left}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-left:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:0;margin-right:1rem}}.jp-connection__disconnect-dialog h1{font-size:24px;font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:24px;font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:16px;margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:#000;text-decoration-thickness:2px}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:#000}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:#f9f9f6;border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:#fff;border-top:1px solid #dcdcde;bottom:0;padding:2rem 0;position:-webkit-sticky;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(180deg,transparent,#f9f9f6);bottom:calc(100% + 1px);content:"";display:block;height:80px;position:absolute;right:0;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:#000!important;margin-left:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:#d63639!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:#000!important}.jp-connection__disconnect-dialog__button-wrap{text-align:right}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:#d63639}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:36px}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-right:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px #dcdcde;display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:#dcdcde;background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;position:absolute;right:24px;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:#d63639;border-radius:50px;height:80px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px #e2e2df;margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:right;width:800px}.jp-connect__disconnect-survey-card--selected{background:#e2e2df;border-color:#000}.jp-connect__disconnect-survey-card:after{border-left:2px solid #000;border-top:2px solid #000;content:"";display:block;height:5px;left:1.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:#2c3338}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:#2c3338;flex-grow:1;max-width:calc(100% - 40px);padding-left:40px}.jp-connect-user-bar__card{align-items:center;background:#f3f5f6;border-top:1px solid #ccd0d4;display:flex;justify-content:space-between;padding:8px 24px}.jp-connect-user-bar__card .jp-connect-user-bar__text{color:#414141;font-size:13px;font-weight:500;height:16px;line-height:16px}.jp-connect-user-bar__card .jp-connect-user-bar__button{order:3}.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled]{background:#f3f5f6;border:1px solid #0071a1;border-radius:3px;box-sizing:border-box;color:#0071a1;float:left;font-size:13px;font-weight:600;line-height:16px;text-align:center;white-space:nowrap}.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button:disabled[disabled],.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled],.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled]:disabled,.jp-connect-user-bar__card .jp-connect-user-bar__button .jp-jetpack-connect__button[disabled][disabled]{background:#f3f5f6!important;color:#0071a1!important}.progress-bar{background-color:#c3c4c7;border-radius:4.5px;display:inline-block;height:9px;position:relative;width:100%}.progress-bar.is-compact{height:4px}.progress-bar__progress{background-color:#2271b1;border-radius:4.5px;display:inline-block;height:100%;position:absolute;right:0;top:0;transition:width .2s}@media(prefers-reduced-motion:reduce){.progress-bar__progress{transition:none}}.progress-bar.is-pulsing .progress-bar__progress{-webkit-animation:progress-bar-animation 3.3s linear infinite;animation:progress-bar-animation 3.3s linear infinite;background-image:linear-gradient(45deg,#2271b1 28%,#5198d9 0,#5198d9 72%,#2271b1 0);background-size:50px 100%}@media(prefers-reduced-motion:reduce){.progress-bar.is-pulsing .progress-bar__progress{-webkit-animation:none;animation:none}}@-webkit-keyframes progress-bar-animation{0%{background-position:100px 0}}@keyframes progress-bar-animation{0%{background-position:100px 0}}.percentage-bar{border-radius:0;height:8px;width:150px}.percentage-bar .progress-bar__progress{border-radius:0}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important}.screen-reader-text:active,.screen-reader-text:focus,.screen-reader-text:hover{clip:auto!important;background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;line-height:normal;padding:15px 23px 14px;right:5px;text-decoration:none;top:5px;width:auto;z-index:z-index("screen-reader-text-parent",".screen-reader-text:focus")}.dops-foldable-card.dops-card{padding:0;position:relative;transition:margin .15s linear}.dops-foldable-card.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-foldable-card.dops-card.is-expanded{margin-bottom:8px}.dops-foldable-card.dops-card .is-clickable{cursor:pointer}.dops-foldable-card__header{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;min-height:64px;padding:16px;position:relative;width:100%}.dops-foldable-card__header.has-border .dops-foldable-card__summary,.dops-foldable-card__header.has-border .dops-foldable-card__summary_expanded{margin-left:48px}.dops-foldable-card__header.has-border .dops-foldable-card__expand{border-right:1px solid #f6f6f6}.dops-foldable-card.is-compact .dops-foldable-card__header{min-height:40px;padding:8px 16px}.dops-foldable-card.is-expanded .dops-foldable-card__header{height:inherit;margin-bottom:0;min-height:64px}.dops-foldable-card.is-expanded.is-compact .dops-foldable-card__header{min-height:40px}.dops-foldable-card.is-disabled .dops-foldable-card__header{opacity:.2}.dops-foldable-card__action{background:none;border:0;height:100%;left:0;position:absolute;top:0}.dops-foldable-card.is-expanded .dops-foldable-card__action{height:100%}.dops-foldable-card.is-disabled .dops-foldable-card__action{cursor:default}.dops-accessible-focus .dops-foldable-card__action:focus{outline:thin dotted}button.dops-foldable-card__action{cursor:pointer;outline:0}.dops-foldable-card__main{align-items:center;display:block;margin-left:5px;max-width:calc(100% - 36px);width:100%}@media(max-width:480px){.dops-foldable-card__main{flex:1 1}}.dops-foldable-card__secondary{align-items:center;display:flex;flex:1 1;justify-content:flex-end}.dops-foldable-card__expand{width:48px}.dops-foldable-card__expand .gridicon{fill:#a2a2a2;align-items:center;display:flex;transition:transform .15s cubic-bezier(.175,.885,.32,1.275),color .2s ease-in;vertical-align:middle;width:100%}.dops-foldable-card.is-expanded .dops-foldable-card__expand .gridicon{transform:rotate(-180deg)}.dops-foldable-card__expand .gridicon:hover{fill:#a2a2a2}.dops-foldable-card__expand:focus .gridicon,.dops-foldable-card__expand:hover .gridicon{fill:#3582c4}.dops-foldable-card__header-text{font-size:1.125rem;width:100%}.dops-foldable-card__subheader{color:#6f6f6f;font-size:.875rem;margin-bottom:.125rem;margin-top:.125rem}.dops-foldable-card__content{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__content{border-top:1px solid #f6f6f6;display:block;padding:16px}.dops-foldable-card.is-compact .dops-foldable-card.is-expanded .dops-foldable-card__content{padding:8px}.dops-foldable-card.is-expanded .dops-foldable-card__content p:first-child{margin-top:0}.dops-foldable-card.is-expanded .dops-foldable-card__content p:last-child{margin-bottom:0}.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{color:#a2a2a2;display:inline-block;font-size:12px;margin-left:40px;transition:opacity .2s linear}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{flex:2;text-align:left;transition:none}@media(max-width:480px){.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{display:none}}.dops-foldable-card__summary{display:inline-block;opacity:1}.dops-foldable-card.is-expanded .dops-foldable-card__summary,.dops-foldable-card__summary_expanded,.has-expanded-summary .dops-foldable-card.is-expanded .dops-foldable-card__summary{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__summary_expanded{display:inline-block}.form-input-validation{animation:appear .3s ease-in-out;border-radius:1px;box-sizing:border-box;color:#4ab866;font-size:14px;padding:6px 34px 11px 24px;position:relative}.form-input-validation.is-error{color:#d94f4f}.form-input-validation.is-warning{color:#f0b849}.form-input-validation .gridicon{float:right;margin-right:-34px}.dops-textarea{background-color:#fff;border:1px solid #d5d5d5;box-shadow:none;box-sizing:border-box;color:#414141;font-size:1rem;line-height:1.5;margin:0;min-height:5.75rem;padding:.4375rem .875rem;transition:all .15s ease-in-out;width:100%}.dops-textarea::placeholder{color:#a2a2a2}.dops-textarea:hover{border-color:#bbb}.dops-textarea:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.dops-textarea:focus::-ms-clear{display:none}.dops-textarea:disabled{-webkit-text-fill-color:#bbb;background:#f6f6f6;border-color:#eee;color:#bbb}.dops-textarea:disabled:hover{cursor:default}.dops-textarea:disabled::placeholder{color:#bbb}.search-preview__display{word-wrap:break-word;border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px}.search-preview__title{color:#1a0dab;font-size:20px;line-height:26px;margin-bottom:7px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#3c4043;font-size:14px;line-height:18.2px;margin-bottom:8px;max-width:616px}.search-preview__description{color:#3c4043;font-size:14px;font-weight:400;line-height:22.12px;max-width:616px}.facebook-preview{-webkit-overflow-scrolling:touch;border:none;display:flex;margin:20px;max-width:527px;overflow-x:auto}.facebook-preview__content{background-color:#f2f3f5;display:flex;max-width:100%}.facebook-preview__body{border:1px solid #dadde1;display:flex;flex-direction:column;font-family:Helvetica,Arial,sans-serif;overflow:hidden;padding:10px 12px}.facebook-preview__title{color:#1d2129;font-size:16px;font-weight:600;line-height:20px;max-height:100px;transition:color .1s ease-in-out}.facebook-preview__description{color:#606770;font-size:14px;line-height:20px;overflow-y:hidden}.facebook-preview__url{color:#606770;font-size:12px;line-height:11px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.facebook-preview__article .facebook-preview__content{flex-direction:column;min-width:100%}.facebook-preview__article .facebook-preview__image{align-items:center;display:flex;justify-content:center;max-height:250px;overflow-y:hidden}.facebook-preview__article .facebook-preview__image img{height:auto;max-width:527px;width:100%}.facebook-preview__article .facebook-preview__body{height:auto;max-height:100px}.facebook-preview__article .facebook-preview__title{margin-bottom:1px}.facebook-preview__article .facebook-preview__description{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box}.facebook-preview__article .facebook-preview__url{margin-bottom:5px}.facebook-preview__website{max-height:158px;overflow:hidden}.facebook-preview__website .facebook-preview__image{border:1px solid #dadde1;border-left:0;box-sizing:border-box;flex-shrink:0;height:158px;width:158px}.facebook-preview__website .facebook-preview__image img{display:block;font-size:14px;height:auto;width:100%}.facebook-preview__website .facebook-preview__image:after{background:#fff;content:"";display:block;height:100%;width:100%}.facebook-preview__website .facebook-preview__body{height:136px;justify-content:center;width:100%}.facebook-preview__website .facebook-preview__title{margin-bottom:5px;max-height:110px;overflow-wrap:break-word}.facebook-preview__website .facebook-preview__url{margin-bottom:5px}.facebook-preview__website .facebook-preview__description{max-height:80px}.twitter-preview{background-color:#fff;padding:20px;width:635px}.twitter-preview__container{display:grid;grid-template-columns:65px auto;margin-bottom:5px;margin-left:24px}.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 img{border-radius:15px;height:30px;-o-object-fit:cover;object-fit:cover;width:30px}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__name{font-size:16px;font-weight:700;line-height:19px}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;font-size:16px;letter-spacing:-.3px;line-height:18px;margin-right:15px}.twitter-preview__container .twitter-preview__content{margin:7px 0}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#787c82;font-size:14px;letter-spacing:-.3px;line-height:18px;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{grid-gap:2px;border-radius:15px;display:grid;grid-template-areas:"a";height:300px;margin-top:10px;overflow:hidden}.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-top:10px;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-right: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{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;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3em;overflow:hidden;padding:.75em;text-align:right;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{font-size:1em;font-weight:700;margin:0 0 .15em;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{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.32333em;max-height:3.9em;overflow:hidden;text-overflow:ellipsis}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;margin-top:.32333em;max-height:1.3em;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url svg{fill:#8899a6;height:15px;margin:0 0 -4px 2px;width:15px}.twitter-preview__container .twitter-preview__footer{display:grid;grid-template-columns:repeat(4,auto)}.twitter-preview__container .twitter-preview__footer svg{fill:#787c82;height:16px;width:16px}.dops-clipboard-button-input{display:block;position:relative}.dops-clipboard-button-input .dops-clipboard-button{left:4px;overflow:visible;position:absolute;top:50%;transform:translateY(-50%)}.dops-clipboard-button-input .dops-clipboard-button:not(:disabled):before{-webkit-touch-callout:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:0;left:calc(100% + 1px);pointer-events:none;position:absolute;right:auto;top:0;-webkit-user-select:none;user-select:none;width:16px}.dops-clipboard-button-input .dops-clipboard-button:focus:before{left:calc(100% + 3px)}.jp-recommendations-discount-badge{background-color:#f2cf75;border-radius:4px;color:#101517;font-size:.875rem;font-weight:700;line-height:1;padding:.375rem .75rem;text-align:center}.jp-recommendations-discount-card{align-items:flex-start;display:flex;height:100%;justify-content:center;padding:3rem 0}@media(max-width:782px){.jp-recommendations-discount-card{justify-content:center;padding-inline-end:1rem;padding-inline-start:1rem}}@media(min-width:1041px){.jp-recommendations-discount-card{justify-content:flex-end;padding-left:3rem;padding-right:3rem}}.jp-recommendations-discount-card__container{max-width:360px;width:100%}.jp-recommendations-discount-card__card{background-color:#fff;border-radius:.5rem;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-recommendations-discount-card__card-header{align-items:flex-start;background-color:#120b15;background-image:url(images/header-background-c0f56cae4d269449fbdc.jpg);background-image:-webkit-image-set(url(images/header-background-c0f56cae4d269449fbdc.jpg) 1x,url(images/header-background-2x-1763392f68916f8e33e1.jpg) 2x);background-image:image-set(url(images/header-background-c0f56cae4d269449fbdc.jpg) 1x,url(images/header-background-2x-1763392f68916f8e33e1.jpg) 2x);background-position:50%;background-repeat:no-repeat;background-size:cover;border-top-left-radius:inherit;border-top-right-radius:inherit;display:flex;height:112px;justify-content:space-between;padding:1rem}.jp-recommendations-discount-card__header-icon{width:55px}.jp-recommendations-discount-card__card-body{display:flex;flex-direction:column;padding:1.5rem 2rem 2rem}.jp-recommendations-discount-card__heading{margin:0}.jp-recommendations-discount-card__feature-list{list-style-type:none;margin:1.5rem 0;padding:0}.jp-recommendations-discount-card__feature-list li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:.5rem;padding-inline-start:2.25rem}.jp-recommendations-discount-card__button{align-items:center;align-self:center;display:flex;font-size:1rem;margin-top:.25rem}.jp-recommendations-discount-card__button .components-external-link__icon{margin-right:4px}.jp-recommendations-discount-card__timer{color:#50575e;font-size:.875rem;padding:1.25rem .5rem .5rem;text-align:center}.jp-recommendations-discount-card__time{display:inline-block;font-size:18px;margin-inline-start:.5rem;text-align:right;white-space:nowrap;width:8rem}.jp-recommendations-question__content{display:flex;flex-direction:column}@media(min-width:661px){.jp-recommendations-question__main--with-sidebar .jp-recommendations-question__content{padding-left:48px}}.jp-recommendations-question__progress-bar .progress-bar{width:70px}.jp-recommendations-question__progress-bar-wrap{align-items:center;display:flex;margin:32px 32px 0}@media(max-width:480px){.jp-recommendations-question__progress-bar-wrap{margin:16px 16px 32px}}.jp-recommendations-question__progress-bar-wrap .jp-recommendations__new-badge{margin-left:1rem}.jp-recommendations-question__question{color:var(--jp-gray-80);font-size:1.5rem;margin:40px 40px 0}@media(max-width:480px){.jp-recommendations-question__question{margin:0 16px 32px}}.jp-recommendations-question__description{color:var(--jp-gray-100);font-size:16px;margin:32px 40px 32px 32px}@media(max-width:480px){.jp-recommendations-question__description{margin:0 16px 16px}}.jp-recommendations-question__description .gridicons-external{margin-right:.25rem}.jp-recommendations-question__description a{white-space:nowrap}.jp-recommendations-question__description-list{color:var(--jp-gray-100);font-size:16px;list-style:disc;margin:0 32px;padding-right:16px}@media(max-width:480px){.jp-recommendations-question__description-list{margin:0 16px}}.jp-recommendations-question__main--with-sidebar .jp-recommendations-question__description{margin-left:0}@media(max-width:782px){.jp-recommendations-question__main--with-sidebar .jp-recommendations-question__description{margin-left:32px}}.jp-recommendations-question__answer{display:flex;flex-direction:column;height:100%}.jp-recommendations-question__illustration-container{align-items:center;display:flex;height:100%;justify-content:center;width:100%}@media(max-width:1040px){.jp-recommendations-question__illustration-container{display:none}}.jp-recommendations-question__illustration-picture{display:flex;justify-content:center;width:100%}.jp-recommendations-question__sidebar-card{width:100%}.jp-recommendations-question__illustration{flex:1;max-width:420px}.jp-recommendations-question__checkmark{align-content:center;align-items:center;display:flex;margin-left:8px}.jp-recommendations-question__feature-enabled{align-content:center;align-items:center;display:flex;margin-bottom:16px}.jp-recommendations-question__feature-enabled .gridicons-checkmark-circle{fill:#069e08}.jp-recommendations-question__settings-button .components-external-link{align-items:center;display:flex}.jp-recommendations-question__settings-button .components-external-link__icon{margin-right:4px}.jp-recommendations-question__install-section{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center}.jp-recommendations-question__install-section button{margin-bottom:16px;margin-top:auto;min-width:172px}.jp-recommendations-question__install-section a{margin-bottom:32px}.jp-recommendations-question__install-section a.dops-button{margin-bottom:16px;text-align:center}@media(max-width:480px){.jp-recommendations-question__install-section a.dops-button{width:100%}.jp-recommendations-question__install-section{padding:64px 16px 0}}.jp-recommendations-question__jump-nav{display:flex;justify-content:center}.jp-recommendations-question__jump-nav-separator{margin:0 8px}.jp-loading-icon{height:100%;width:100%}.jetpack-money-back-guarantee,.jp-loading-icon{align-items:center;display:flex;justify-content:center}.jetpack-money-back-guarantee{color:#1d2327;font-size:.875rem;line-height:1.5}.jetpack-money-back-guarantee__icon svg{display:block;height:23px;width:23px}.jetpack-money-back-guarantee__text{margin-right:8px}.jp-recommendations-recommended-header{align-items:center;background:#f3f3ea;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#000;display:flex;font-weight:700;padding:.5rem}.jp-recommendations-recommended-header .gridicon{margin-inline-end:.5rem}.jp-recommendations-product-card-upsell{background-color:#fff;border:1px solid #dcdcde;border-radius:.5rem;padding:3.25rem 2rem 2rem;position:relative}@media(max-width:480px){.jp-recommendations-product-card-upsell{padding:1rem}.jp-recommendations-product-card-upsell.with-header{padding-top:3rem}}.jp-recommendations-product-card-upsell__header{left:0;position:absolute;right:0;top:0}.jp-recommendations-product-card-upsell__heading{color:#101517;font-size:2rem;font-weight:700;margin:0}.jp-recommendations-product-card-upsell__description{font-size:.875rem;margin-bottom:1.5rem}.jp-recommendations-product-card-upsell__features{min-height:7.5rem}.jp-recommendations-product-card-upsell__price{display:flex;flex-wrap:wrap}.jp-recommendations-product-card-upsell__final-price,.jp-recommendations-product-card-upsell__raw-price{display:flex;margin:0}.jp-recommendations-product-card-upsell__raw-price{color:#a7aaad;margin-inline-end:.75rem;position:relative}.jp-recommendations-product-card-upsell__raw-price:before{background-color:#c9356e;content:"";display:block;height:3px;position:absolute;top:50%;width:100%}.jp-recommendations-product-card-upsell__final-price{color:#101517;margin-inline-end:1rem}.jp-recommendations-product-card-upsell__currency-symbol{font-size:1.5rem;margin-top:-.25rem}.jp-recommendations-product-card-upsell__price-integer{font-size:3.375rem;font-weight:700;line-height:.7}.jp-recommendations-product-card-upsell__price-fraction{font-size:.75rem;margin-top:-.25rem}.jp-recommendations-product-card-upsell__discount{align-self:flex-end;margin-top:1rem}.jp-recommendations-product-card-upsell__billing-time-frame{color:#787c82;margin-top:.5rem}.jp-recommendations-product-card-upsell__cta-button{font-size:1rem;margin-top:2rem;padding-inline-end:4rem!important;padding-inline-start:4rem!important}.jp-recommendations-product-card-upsell__cta-button .gridicons-external{margin-right:.25rem}.jp-recommendations-back-btn{fill:currentColor;align-items:center;background-color:transparent;border:none;color:var(--jp-gray-70);cursor:pointer;display:flex;font-size:1rem;padding:0}.jp-recommendations-back-btn:active .gridicon,.jp-recommendations-back-btn:hover .gridicon{transform:translateX(.25rem)}.jp-recommendations-back-btn:focus-visible{outline-color:var(--jp-black);outline-offset:2px}.jp-recommendations-back-btn .gridicon{margin-inline-end:.25rem;transition:transform .1s ease-in-out}.jp-recommendations-product-suggestion__header{padding:2rem 2.5rem 1.5rem}@media(max-width:782px){.jp-recommendations-product-suggestion__header{padding-left:1rem;padding-right:1rem}}.jp-recommendations-product-suggestion__container{padding:0 2.5rem}@media(max-width:782px){.jp-recommendations-product-suggestion__container{padding-left:1rem;padding-right:1rem}}.jp-recommendations-product-suggestion__items{display:grid;gap:2rem;grid-template-columns:1fr 1fr}@media(max-width:782px){.jp-recommendations-product-suggestion__items{display:block;margin:0 auto;max-width:360px}.jp-recommendations-product-suggestion__item{margin-bottom:2rem}.jp-recommendations-product-suggestion__item:last-child{margin-bottom:0}}.jp-recommendations-product-suggestion__item .jp-recommendations-product-card-upsell,.jp-recommendations-product-suggestion__item .jp-recommendations-product-card-upsell__padding{height:100%}.jp-recommendations-product-suggestion__money-back-guarantee{margin:1.25rem 0 1.5rem}.jp-recommendations-product-suggestion__footer{align-items:center;background:var(--jp-white-off);color:var(--jp-gray-30);display:flex;font-size:.875rem;gap:2rem;justify-content:space-between;min-height:3.125rem;padding:1rem 2.5rem}@media(max-width:782px){.jp-recommendations-product-suggestion__footer{flex-direction:column;justify-content:flex-start;padding-left:1rem;padding-right:1rem;text-align:center}}.jp-recommendations-product-suggestion__timer{color:var(--jp-gray-60)}@media(max-width:782px){.jp-recommendations-product-suggestion__timer{flex-direction:column;justify-content:flex-start}}.jp-recommendations-product-suggestion__time{display:inline-block;font-size:1.125rem;margin-inline-start:.5rem;width:140px}.jp-recommendations-product-purchased{display:flex;flex-direction:column;height:100%;margin:0 16px 32px}@media(min-width:481px){.jp-recommendations-product-purchased{margin-left:32px;margin-right:32px}}.jp-recommendations-product-purchased__features{margin:0 0 32px}.jp-recommendations-product-purchased__feature{align-items:center;display:flex}.jp-recommendations-product-purchased svg{fill:#069e08;margin-left:10px}.jp-recommendations-product-purchased__next{align-self:center}@media(min-width:481px){.jp-recommendations-product-purchased__next{margin-top:auto}}.jp-recommendations-product-purchased__illustration{justify-self:flex-end;max-width:100%}.jp-checkbox-answer__container{position:relative}@media(max-width:480px){.jp-checkbox-answer__container{margin-bottom:1rem}}.jp-checkbox-answer__checkbox{align-items:center;background:var(--jp-white);border:1px solid var(--jp-gray-5);border-radius:var(--jp-border-radius);box-sizing:border-box;color:var(--jp-gray-100);display:flex;height:100%;padding:.875rem 1rem;padding-inline-end:calc(1.5rem + 18px)}.jp-checkbox-answer__checkbox:focus-within{border-color:currentColor}.jp-checkbox-answer__checkbox.checked{background:var(--jp-gray-0)}.jp-checkbox-answer__title{align-items:center;display:flex;flex:1;margin-inline-start:1rem;width:100%}.jp-checkbox-answer__checkbox-input[type=checkbox],.jp-checkbox-answer__checkbox-input[type=radio]{border:1px solid;border-radius:2px;height:20px;margin:0;width:20px}.jp-checkbox-answer__checkbox-input[type=checkbox]:checked:before,.jp-checkbox-answer__checkbox-input[type=radio]:checked:before{background-color:var(--jp-black);content:url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M14.7791%204.00004L7.36198%2013.9753L3.06108%2010.7773%22%20stroke%3D%22white%22%2F%3E%3C%2Fsvg%3E");height:18px;margin:0;width:18px}.jp-checkbox-answer__checkbox-input[type=checkbox]:focus,.jp-checkbox-answer__checkbox-input[type=radio]:focus{border-color:currentColor;box-shadow:none}.jp-checkbox-answer__info{align-items:center;display:flex;height:100%;left:0;margin-inline-end:1rem;position:absolute;top:0}[dir=rtl] .jp-checkbox-answer__info{left:auto;right:0}.jp-recommendations-question__site-type-checkboxes{margin-bottom:40px;text-align:right}@media(min-width:481px){.jp-recommendations-question__site-type-checkboxes{display:grid;gap:16px;grid-template-columns:auto auto;grid-template-rows:auto auto}}@media(max-width:480px){.jp-recommendations-question__site-type-checkboxes{display:flex;flex-direction:column}}.jp-recommendations-question__site-type-answer-container{margin:0 32px 32px 0;text-align:center}@media(max-width:660px){.jp-recommendations-question__site-type-answer-container{margin:0 32px 32px}}@media(max-width:480px){.jp-recommendations-question__site-type-answer-container{margin:0 16px 16px}.jp-recommendations-question__site-type-answer-container .dops-button{width:100%}}.jp-recommendations-site-type-question__continue-description{color:#646970;margin:14px auto 0;max-width:300px}@media(max-width:480px){.jp-recommendations-site-type-question__continue-description{display:none}}.jp-recommendations-site-type__illustration{justify-self:flex-end;max-width:100%}.jp-recommendations-summary{background:var(--jp-white-off);border:1px solid #d5d5d5;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);display:grid;grid-template-columns:54% 46%}@media(max-width:660px){.jp-recommendations-summary{display:flex;flex-direction:column}}.jp-recommendations-summary__content{background:#fff}@media(max-width:480px){.jp-recommendations-summary__content{padding-bottom:1rem}}.jp-recommendations-summary__content.isLoading{align-items:center;display:flex;justify-content:center;min-height:730px}.jp-recommendations-summary__configuration{margin:3rem 3rem 2rem}@media(max-width:480px){.jp-recommendations-summary__configuration{margin:1rem 1rem 0}}.jp-recommendations-summary__configuration h1{color:var(--jp-gray-80);font-size:1.5rem}.jp-recommendations-summary__configuration h2{color:var(--jp-gray-100);font-size:1rem;margin:2rem 0 1rem}.jp-recommendations-summary__recommendation-notice{color:var(--jp-gray-50);font-size:.875rem}.jp-recommendations-summary__sidebar{background:radial-gradient(circle at 60%,rgba(6,158,8,.15) 0,hsla(0,0%,100%,0) 75%),radial-gradient(circle at 30% 80%,rgba(206,217,242,.5) 5%,hsla(0,0%,100%,0) 25%),radial-gradient(circle at 50% 15%,hsla(46,77%,83%,.5) 0,hsla(0,0%,100%,0) 35%);padding:2rem 2.5rem}@media(max-width:660px){.jp-recommendations-summary__sidebar{padding:1rem}}.jp-recommendations-summary__sidebar.isLoading{align-items:center;display:flex;justify-content:center;min-height:430px}.jp-recommendations-summary__sidebar .jp-recommendations-product-card-upsell__cta-button{width:100%}.jp-recommendations-summary__discount{align-items:center;border-bottom:1px solid var(--jp-gray-5);display:flex;font-size:1rem;gap:1rem;justify-content:space-between;padding:1.5rem 0}.jp-recommendations-summary__discount .jp-recommendations-summary__reco-link{color:var(--jp-black);text-align:left;text-decoration:underline}.jp-recommendations-summary__discount .jp-recommendations-summary__reco-link:active,.jp-recommendations-summary__discount .jp-recommendations-summary__reco-link:hover{text-decoration:none}.jp-recommendations-summary__timer{color:var(--jp-gray-60);display:flex;flex-direction:column;font-size:.875rem}.jp-recommendations-summary__time{font-size:1.125rem;margin-top:.25rem}.jp-recommendations-summary__footer{padding-top:2rem}.jp-recommendations-summary__footnote{color:var(--jp-gray-30);font-size:.875rem;margin-bottom:0;margin-top:.625rem;text-align:center}.jp-install-button__spinner-container{display:flex;justify-content:center}.jp-recommendations-feature-summary{border-bottom:1px solid #e1e1e1;display:flex;min-width:275px}.jp-recommendations-feature-summary .gridicons-checkmark-circle{fill:#069e08}.jp-recommendations-feature-summary:last-child{border-bottom:none}.jp-recommendations-feature-summary__checkmark{align-content:center;align-items:center;display:flex;margin-left:8px}.jp-recommendations-feature-summary__display-name{align-items:center;background:none;display:flex;flex-grow:1;font-size:1rem;justify-content:flex-start}.jp-recommendations-feature-summary__display-name.is-borderless{color:#000}.jp-recommendations-feature-summary__display-name.is-borderless:focus,.jp-recommendations-feature-summary__display-name.is-borderless:hover{background:none}.jp-recommendations-feature-summary__display-name.is-borderless:focus .jp-recommendations-feature-summary__display-name-text,.jp-recommendations-feature-summary__display-name.is-borderless:hover .jp-recommendations-feature-summary__display-name-text{box-shadow:0 3px 0 0 currentColor}.jp-recommendations-feature-summary__display-name .jp-recommendations__new-badge{margin-right:1rem}.jp-recommendations-summary .jp-recommendations-feature-summary__display-name{color:var(--jp-gray-100)}.jp-recommendations-feature-summary__display-name-text{box-shadow:0 1px 0 0 currentColor}.jp-recommendations-feature-summary__cta button{width:100%}.jp-recommendations-feature-summary__cta a{text-align:center;width:100%}.jp-recommendations-feature-summary__cta .components-external-link{align-items:center;display:flex}.jp-recommendations-feature-summary__cta .components-external-link__icon{margin-right:4px}.jp-recommendations-feature-summary__actions{margin-inline-start:auto;padding:8px 8px 8px 0}.jp-recommendations-sidebar-card{background-color:#fff;border:1px solid #dcdcde;border-radius:.5rem;box-shadow:0 12px 20px rgba(0,0,0,.05);margin-bottom:2.5rem;width:100%}.jp-recommendations-sidebar-card.with-illustration{background:linear-gradient(180deg,#e6f2e8,115px,#fff 115px)}.jp-recommendations-sidebar-card__content h2{font-size:1rem;margin-top:1.75rem}.jp-recommendations-sidebar-card__content p{font-size:.875rem}.jp-recommendations-sidebar-card__content .dops-button{margin-top:1rem;width:100%}.jp-recommendations-sidebar-card__illustration-container{text-align:center}.jp-recommendations-sidebar-card__illustration{background:#fff;border-radius:3px;box-shadow:0 0 24px rgba(0,0,0,.16);display:inline-flex;height:115px;justify-content:center;margin-top:24px;padding:8px;width:220px}.jp-recommendations-sidebar-card__content{padding:0 24px 24px}.jp-recommendations-sidebar-card__features{list-style-type:none;margin:1.5rem 0;padding:0}.jp-recommendations-sidebar-card__features li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:.5rem;padding-inline-start:2.25rem}.jp-recommendations-one-click-restores h2{margin-top:32px}.jp-recommendations-one-click-restores p{margin:16px 0}.jp-recommendations-one-click-restores .jp-recommendations-one-click-restores__cta{margin-top:32px;text-align:center}.apps-badge{display:flex;margin:0;max-height:40px;max-width:135px;overflow:hidden}.apps-badge:first-child{margin-left:8px}.apps-badge img{-ms-interpolation-mode:nearest-neighbor;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;max-width:100%}.apps-badge.android-app-badge img{transform:scale(1.13) translate(7px,-5.1px);transform-origin:right}.jp-recommendations-sidebar-card__apps-badge{display:flex;margin-top:32px}.jp-recommendations-sidebar-card__apps-badge .apps-badge{width:50%}.jp-product-card{background:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);box-sizing:border-box;padding:30px 24px 45px;position:relative;width:100%}@media(min-width:661px){.jp-product-card{padding:40px 48px 60px}}@media(min-width:961px){.jp-product-card{padding-top:60px}}.jp-product-card__inner{display:flex;flex-direction:column;height:100%;max-width:400px}.jp-product-card__icon{display:none;height:16px;margin-bottom:24px}@media(min-width:961px){.jp-product-card__icon{display:block}}.jp-product-card__icon svg{height:100%;width:auto}.jp-product-card__title{color:#000;font-size:2rem;font-weight:700;margin:0 0 18px}.jp-product-card__description{color:#000;font-size:.9375rem;line-height:1.5;margin:0 0 22px}.jp-product-card__features{margin:0 0 30px}.jp-product-card__feature{align-items:center;color:#000;display:flex;margin-bottom:8px}.jp-product-card__feature svg{fill:#069e08;margin-left:10px}.jp-product-card__price>div>p{font-size:3.375rem;font-weight:700;line-height:.7;margin-inline-end:.75rem!important}.jp-product-card__price>div>p sup:first-of-type{font-size:1.5rem;margin-top:-.25rem}.jp-product-card__price>div>p sup:last-of-type{font-size:.75rem;margin-top:-.75rem}.jp-product-card__price>div>p:last-child{color:var(--jp-gray-100)}.jp-product-card__price>p{font-size:.875rem;margin-top:.5rem}.jp-product-card__checkout{align-self:flex-start;font-size:1rem;margin-top:2rem;padding-left:60px;padding-right:60px;text-align:center}.jp-product-card__checkout--primary,.jp-product-card__checkout--primary:focus,.jp-product-card__checkout--primary:hover{background:#000;border-color:#000;color:#fff}.jp-product-card__checkout--primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #000}.jp-product-card__checkout--secondary{background:transparent;border:2px solid #000;color:#000;transition:all .15s ease-in-out}.jp-product-card__checkout--secondary:focus,.jp-product-card__checkout--secondary:hover{background:#000;border-color:#000;color:#fff}.jp-product-card__checkout--secondary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #000}.jp-product-card__cta{align-items:center;background:#000;border-top-left-radius:4px;border-top-right-radius:4px;color:#fff;display:flex;font-size:.8125rem;font-weight:600;left:0;letter-spacing:.3px;padding:9px 10px;position:absolute;right:0;top:0}.jp-product-card__cta .gridicon{height:16px;margin-left:5px;width:16px}.jp-product-card--has-cta{padding-top:60px}.jp-product-card__media{align-self:center;display:none;height:auto;margin-top:36px;max-width:100%;width:auto}@media(min-width:481px){.jp-product-card__media{display:block}}@media(min-width:661px){.jp-product-card__media{min-width:240px}}@media(min-width:961px){.jp-product-card__media{margin-top:0}}@media(min-width:481px){.jp-product-card--has-media{display:block}}@media(min-width:961px){.jp-product-card--has-media{column-gap:26px;display:grid;grid-template-columns:55% 45%}}@media(min-width:1041px){.jp-product-card--has-media{grid-template-columns:auto auto}}.jp-product-card--has-media .jp-product-card__price{margin-top:0}.dovianZYLKhnbnh9I06o{align-items:flex-end;display:flex;flex-wrap:wrap}.dhFQXpZfMwVI8vuYHnwC{display:inline-flex;position:relative}.dhFQXpZfMwVI8vuYHnwC:first-child{margin-left:calc(var( --spacing-base )*2)}.dhFQXpZfMwVI8vuYHnwC.eD7hzxFmdtG_MgmBtl_k{color:var(--jp-gray-20)}.dhFQXpZfMwVI8vuYHnwC.eD7hzxFmdtG_MgmBtl_k:after{background:var(--jp-red);border-radius:var(--jp-border-radius);content:" ";display:block;height:3px;margin-top:-2px;pointer-events:none;position:absolute;top:50%;width:100%}.OXRdumxMHnFcSML9WKHB{color:var(--jp-gray-40);margin-bottom:calc(var( --spacing-base )*3)}.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-size:var(--font-title-medium);font-weight:500;line-height:32px}.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-size:var(--font-body-extra-small);font-weight:400;line-height:20px}.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-left:calc(var( --spacing-base )*0)}.ODX5Vr1TARoLFkDDFooD{margin-bottom:calc(var( --spacing-base )*0)}.cphJ8dCpfimnky7P2FHg{margin-right: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-left:calc(var( --spacing-base )*1)}.hfqOWgq6_MEGdFE82eOY{margin-bottom:calc(var( --spacing-base )*1)}.I8MxZQYTbuu595yfesWA{margin-right: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-left:calc(var( --spacing-base )*2)}.Db8lbak1_wunpPk8NwKU{margin-bottom:calc(var( --spacing-base )*2)}.ftsYE5J9hLzquQ0tA5dY{margin-right: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-left:calc(var( --spacing-base )*3)}.yrVTnq_WBMbejg89c2ZQ{margin-bottom:calc(var( --spacing-base )*3)}.UKtHPJnI2cXBWtPDm5hM{margin-right: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-left:calc(var( --spacing-base )*4)}.pkDbXXXL32237M0hokEh{margin-bottom:calc(var( --spacing-base )*4)}.XXv4kDTGvEnQeuGKOPU3{margin-right: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-left:calc(var( --spacing-base )*5)}.Lvk3dqcyHbZ07QCRlrUQ{margin-bottom:calc(var( --spacing-base )*5)}.r3yQECDQ9qX0XZzXlVAg{margin-right: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-left:calc(var( --spacing-base )*6)}.t30usboNSyqfQWIwHvT3{margin-bottom:calc(var( --spacing-base )*6)}.Nm_TyFkYCMhOoghoToKJ{margin-right: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-left:calc(var( --spacing-base )*7)}.im8407m2fw5vOg7O2zsw{margin-bottom:calc(var( --spacing-base )*7)}.G0fbeBgvz2sh3uTP9gNl{margin-right: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-left:calc(var( --spacing-base )*8)}.GpL6idrXmSOM6jB8Ohsf{margin-bottom:calc(var( --spacing-base )*8)}.HbtWJoQwpgGycz8dGzeT{margin-right: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-left:calc(var( --spacing-base )*0)}.tg_UIUI11VBzrTAn2AzJ{padding-bottom:calc(var( --spacing-base )*0)}.uczvl8kaz84oPQJ2DB2R{padding-right: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-left:calc(var( --spacing-base )*1)}.WZQy2SZuZso59bUsXXyl{padding-bottom:calc(var( --spacing-base )*1)}.o331apInxNunbYB3SfPE{padding-right: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-left:calc(var( --spacing-base )*2)}.eHpLc_idmuEqeqCTvqkN{padding-bottom:calc(var( --spacing-base )*2)}.vU39i2B4P1fUTMB2l6Vo{padding-right: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-left:calc(var( --spacing-base )*3)}.Ts0dIlc3aTSL7V4cIHis{padding-bottom:calc(var( --spacing-base )*3)}.CzlqQXXhX6MvorArFZ8B{padding-right: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-left:calc(var( --spacing-base )*4)}.oGwXC3ohCic9XnAj6x69{padding-bottom:calc(var( --spacing-base )*4)}.U6gnT9y42ViPNOcNzBwb{padding-right: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-left:calc(var( --spacing-base )*5)}.vVWpZpLlWrkTt0hMk8XU{padding-bottom:calc(var( --spacing-base )*5)}.RxfaJj5a1Nt6IavEo5Zl{padding-right: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-left:calc(var( --spacing-base )*6)}.n8yA3jHlMRyLd5UIfoND{padding-bottom:calc(var( --spacing-base )*6)}.tXHmxYnHzbwtfxEaG51n{padding-right: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-left:calc(var( --spacing-base )*7)}.KVEXoJqf1s92j0JMdNmN{padding-bottom:calc(var( --spacing-base )*7)}.ZMXGNrNaKW3k_3TLz0Fq{padding-right: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-left:calc(var( --spacing-base )*8)}.Y8F9ga1TDCMbM1lj4gUz{padding-bottom:calc(var( --spacing-base )*8)}.AJuyNGrI63BOWql719H8{padding-right:calc(var( --spacing-base )*8)}.jp-product-description>*{margin-bottom:26px}@media(min-width:961px){.jp-product-description--split{column-gap:26px;display:grid;grid-template-columns:50% 50%}}@media(min-width:1041px){.jp-product-description--split{grid-template-columns:auto 410px}}.jp-product-description__introductory-pricing{color:#000;font-size:.875rem;letter-spacing:.1px;line-height:1.5;margin-bottom:10px;text-align:center}.jp-product-description__money-back-guarantee{text-align:center}.jp-product-description .jp-product-card__icon .vertical{height:150%}@media(max-width:960px){.jp-product-description{margin-left:auto;margin-right:auto;max-width:550px}}.jp-product-descriptions__loading{padding-top:48px}.plugin-dash-item p{font-size:var(--font-body-small)}.plugin-dash-item .dops-banner,.plugin-dash-item .plugin-dash-item__content,.plugin-dash-item .plugin-dash-item__section-header{margin-bottom:0;width:100%}.plugin-dash-item .dops-banner.dops-card{border-right-color:#3895ba;height:100%}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle{background-color:#3895ba;height:32px;width:32px}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle .gridicon{margin-bottom:0}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle .gridicon g{transform:none}@media(max-width:480px){.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon{display:none}.plugin-dash-item .dops-banner.dops-card .dops-banner__icons .dops-banner__icon-circle{display:block}}.plugin-dash-item .plugin-dash-item__content{align-items:center;display:flex;flex-direction:row;height:100%}.plugin-dash-item .plugin-dash-item__content .components-spinner{margin-top:0}.dops-tooltip.dops-popover .dops-popover__arrow{border-width:6px}.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right .dops-popover__arrow{border-bottom-color:#555;left:10px;top:4px}.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-bottom-right .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-bottom-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-error .dops-popover__arrow{border-bottom-color:#d94f4f}.dops-tooltip.dops-popover.is-bottom-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-warning .dops-popover__arrow{border-bottom-color:#f0b849}.dops-tooltip.dops-popover.is-bottom-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom-right.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-bottom.is-success .dops-popover__arrow{border-bottom-color:#4ab866}.dops-tooltip.dops-popover.is-top .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right .dops-popover__arrow{border-top-color:#555;bottom:4px;left:10px}.dops-tooltip.dops-popover.is-top .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-top-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-top-right .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-top-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-error .dops-popover__arrow{border-top-color:#d94f4f}.dops-tooltip.dops-popover.is-top-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-warning .dops-popover__arrow{border-top-color:#f0b849}.dops-tooltip.dops-popover.is-top-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-top-right.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-top.is-success .dops-popover__arrow{border-top-color:#4ab866}.dops-tooltip.dops-popover.is-bottom .dops-popover__arrow,.dops-tooltip.dops-popover.is-top .dops-popover__arrow{margin-right:-6px}.dops-tooltip.dops-popover.is-left,.dops-tooltip.dops-popover.is-right{padding-top:0}.dops-tooltip.dops-popover.is-left .dops-popover__arrow,.dops-tooltip.dops-popover.is-right .dops-popover__arrow{margin-top:-6px}.dops-tooltip.dops-popover.is-left .dops-popover__arrow:before,.dops-tooltip.dops-popover.is-right .dops-popover__arrow:before{display:none}.dops-tooltip.dops-popover.is-left.is-error .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-error .dops-popover__arrow{border-left-color:#d94f4f}.dops-tooltip.dops-popover.is-left.is-warning .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-warning .dops-popover__arrow{border-left-color:#f0b849}.dops-tooltip.dops-popover.is-left.is-success .dops-popover__arrow,.dops-tooltip.dops-popover.is-right.is-success .dops-popover__arrow{border-left-color:#4ab866}.dops-tooltip.dops-popover.is-left .dops-popover__arrow{border-right-color:#555;margin-left:4px}.dops-tooltip.dops-popover.is-right .dops-popover__arrow{border-left-color:#555;margin-right:4px}.dops-tooltip.dops-popover .dops-popover__inner{background:#555;border:0;border-radius:2px;box-shadow:none;color:#fff;font-size:12px;padding:6px 10px;text-align:right}.dops-tooltip.dops-popover.is-error .dops-popover__inner{background:#d94f4f}.dops-tooltip.dops-popover.is-warning .dops-popover__inner{background:#f0b849}.dops-tooltip.dops-popover.is-success .dops-popover__inner{background:#4ab866}.dops-tooltip.dops-popover ul{list-style:none;margin:0;padding:0}.dops-tooltip.dops-popover ul li{border:0;font-size:11px;font-weight:100}.dops-tooltip__hr{background:#a2a2a2;margin:8px 0}.dops-chart{background-color:#fff;box-sizing:border-box;padding:8px 20px 8px 0;position:relative}.dops-chart .dops-chart__y-axis-markers{height:200px;left:0;position:absolute;right:0;top:8px}.dops-chart .dops-chart__y-axis-marker{border-top:1px solid #eee;height:1px;position:absolute;top:0;width:100%}.dops-chart__bar-marker{border-top:1px solid hsla(0,0%,93%,.1);height:1px;position:absolute;top:0;width:100%;z-index:1}.dops-chart .dops-chart__y-axis-marker.is-fifty,.dops-chart__bar-marker.is-fifty,.dops-chart__y-axis-label.is-fifty{top:50%}.dops-chart .dops-chart__y-axis-marker.is-zero,.dops-chart__bar-marker.is-zero,.dops-chart__y-axis-label.is-zero{top:100%}.dops-chart__y-axis{color:#888;float:left;font-size:11px;height:200px;margin-bottom:30px;padding:0 10px 0 20px;position:relative}.dops-chart__y-axis-label{left:20px;position:absolute;text-align:left;top:0}.dops-chart__y-axis-width-fix{color:hsla(0,0%,100%,0)}.dops-chart__x-axis{color:#555;font-size:0;min-height:18px;padding:5px 0;position:relative}.dops-chart__x-axis-label{display:inline-block;font-size:11px;position:absolute;text-align:center;vertical-align:top}.dops-chart__x-axis-label:before{background:#f6f6f6;background-image:linear-gradient(180deg,#f6f6f6 0,#d5d5d5);content:"";display:block;height:5px;margin-right:-.5px;position:absolute;right:50%;top:-4px;width:1px}.dops-chart__bars{display:-ms-flex;display:flex;font-size:0;overflow:hidden}.dops-chart__bar,.dops-chart__bars{height:200px;position:relative;text-align:center}.dops-chart__bar{display:inline-block;-ms-flex-grow:1;flex-grow:1;-ms-flex-shrink:1;flex-shrink:1}.dops-chart__bar.is-weekend{background-color:hsla(0,0%,93%,.5)}.dops-chart__bar:focus{background-color:rgba(240,130,30,.1)}.dops-chart__bar:hover{background-color:hsla(0,0%,93%,.3);cursor:pointer}.dops-chart__bar.is-selected{background-color:rgba(240,130,30,.1);cursor:default}.dops-chart__bar-section{background-color:#0087be;bottom:0;display:inline-block;left:16%;position:absolute;right:16%;top:0;z-index:2}.dops-chart__bar:hover .dops-chart__bar-section.is-bar{background-color:#3582c4}.dops-chart__bar.is-selected .dops-chart__bar-section.is-bar{background-color:#f0821e}.dops-chart__bar-section.is-spacer{background-color:hsla(0,0%,100%,0);z-index:0}.dops-chart__bar-section.is-ghost:after{background-image:linear-gradient(180deg,hsla(0,0%,100%,0),hsla(0,0%,93%,.5));bottom:0;content:"";display:block;height:40px;position:absolute;right:0;top:160px;width:100%;z-index:1}.dops-chart__bar:hover .dops-chart__bar-section.is-ghost:after{display:none}.dops-chart__bar-section-inner{background:#004069;bottom:0;left:23.33%;position:absolute;right:23.33%}.dops-chart__bar.is-selected .dops-chart__bar-section-inner{background-color:#d63638}.dops-chart__legend{margin-bottom:-8px}.dops-chart__legend:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-chart__legend .dops-chart__legend-options{color:#747474;float:left;font-size:11px;letter-spacing:.1em;list-style-type:none;margin:0;text-transform:uppercase}@media(max-width:480px){.dops-chart__legend .dops-chart__legend-options{width:100%}}.dops-chart__legend-option{display:inline;text-align:right}@media(max-width:480px){.dops-chart__legend-option{display:inline-block;width:50%}}.dops-chart__legend-label{display:inline-block;padding:12px 20px 10px 19px}.dops-chart__legend-label.is-selectable{cursor:pointer}.dops-chart__legend-label.is-selectable:focus,.dops-chart__legend-label.is-selectable:hover{color:tint(#3582c4,20%)}@media(max-width:480px){.dops-chart__legend-label{display:block}}.dops-chart__legend-option .dops-chart__legend-color{background:#0087be;border-radius:1px;display:inline-block;height:10px;margin:3px 8px 3px 5px;vertical-align:top;width:10px}@media(max-width:480px){.dops-chart__legend-option:first-child .dops-chart__legend-color{margin-right:2px}}.dops-chart__legend-color.is-dark-blue{background:#004069}.dops-chart__legend-option .dops-chart__legend-checkbox{float:none;margin:0;vertical-align:top}.dops-chart__empty{bottom:0;clear:both;font-size:14px;left:0;line-height:24px;position:absolute;right:0;text-align:center;top:0;z-index:1}.dops-chart__empty_notice{animation:appear .3s ease-in-out;background:#fff;border-radius:1px;box-shadow:0 0 0 1px hsla(0,0%,84%,.5),0 1px 2px #eee;box-sizing:border-box;font-size:14px;line-height:1.4285;margin-bottom:24px;padding:11px 24px;position:relative;top:97px}@media(min-width:661px){.dops-chart__empty_notice{font-size:inherit;padding:13px 48px}.dops-chart__empty_notice:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"";display:inline-block;font:normal 16px/1 Noticons;font-size:24px;line-height:1;margin:-12px -8px 0 0;position:absolute;right:20px;top:23px;vertical-align:middle}}.dops-chart__tooltip .dops-popover__inner{text-align:right;width:230px}.dops-chart__tooltip .dops-popover__inner ul{list-style:none;margin:0;padding:0}.dops-chart__tooltip .dops-popover__inner ul:after{clear:both;content:".";display:block;height:0;visibility:hidden}.dops-chart__tooltip .dops-popover__inner ul li{border:0;font-size:11px;font-weight:100;height:24px;letter-spacing:.1em;margin-bottom:0;text-transform:uppercase}.dops-chart__tooltip .dops-popover__inner ul li .dops-wrapper{clear:both;display:block;line-height:inherit;line-height:24px}.dops-chart__tooltip .dops-popover__inner ul li .value{color:#d5d5d5;float:left;min-width:22px;text-align:left}.dops-chart__tooltip .dops-popover__inner ul li .label{display:block;overflow:hidden;vertical-align:baseline;word-break:break-all}.dops-chart__tooltip .dops-popover__inner ul li .gridicon{margin-left:6px;margin-top:-3px;vertical-align:middle}.dops-chart__tooltip.is-streak{height:35px;margin-top:-5px}.dops-chart__tooltip.is-streak .dops-popover__arrow:before{right:85px;top:30px}.dops-chart__tooltip.is-streak .dops-popover__inner{position:relative;top:-10px;width:160px}.dops-chart__tooltip.is-streak .dops-popover__inner li{height:14px}.dops-chart__tooltip.is-streak .dops-popover__inner li .label{float:right;text-align:center;width:100%}.rtl .dops-chart__tooltip.is-streak .dops-popover__inner li .label{font-size:11px}.dops-chart__tooltip.is-streak .dops-popover__inner li .label .post-count{font-weight:700}.dops-chart__tooltip.is-streak .dops-popover__inner li .value{float:none}.dops-chart__tooltip .dops-module-content-list-item.is-date-label{border-bottom:1px solid #5d5d5d;font-size:11px;font-weight:700;margin-bottom:2px;padding-bottom:2px;text-transform:uppercase}.dops-chart__tooltip .dops-module-content-list-item.is-published-item{height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .label{color:#d5d5d5;height:19px;letter-spacing:0;overflow:hidden;text-transform:none}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value{min-width:0;width:0}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value:before{background-image:linear-gradient(270deg,rgba(61,89,109,0) 0,rgba(61,89,109,.5),#3d596d);content:"";display:block;height:24px;position:relative;right:-30px;width:30px}.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{-webkit-margin-end:1em;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;width:1rem}.record-meter-bar__legend--item-circle,.record-meter-bar__legend--item-count,.record-meter-bar__legend--item-label-first{-webkit-margin-end:.4em;margin-inline-end:.4em}.jp-dash-upgrade-backup{margin-bottom:0;padding-bottom:3rem;padding-top:3rem}.jp-dash-upgrade-backup__popup{align-items:center;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);background:hsla(0,0%,100%,.86);border:1px solid var(--jp-gray);border-radius:4px;box-sizing:border-box;display:flex;flex-direction:column;left:0;margin:0 auto;padding:32px 28px;position:absolute;right:0;top:-10px;width:337px;z-index:99}.jp-dash-upgrade-backup__popup-close-icon{left:13px;position:absolute;top:13px}.jp-dash-upgrade-backup__popup-lock-icon{height:19px;margin-bottom:.5em;width:16px}.jp-dash-upgrade-backup__popup-title{color:#101517;font-size:12px;font-style:normal;font-weight:700;line-height:19px;text-align:center}.dash-security-bundle{display:flex;flex-direction:column;padding:32px}@media(min-width:661px){.dash-security-bundle{flex-direction:row}}.dash-security-bundle .dash-security-bundle--icon{align-items:flex-start;display:flex;margin-bottom:16px;margin-left:0;margin-top:16px}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--icon{align-items:center;margin-bottom:0;margin-left:32px;margin-top:0}}.dash-security-bundle .dash-security-bundle--content{display:flex;flex:1;flex-direction:column;justify-content:space-between}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--content{flex-direction:row}}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info{display:flex;flex-direction:column}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info h3{font-size:22px;font-weight:700;margin-bottom:0}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info p{font-size:14px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features,.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature{display:flex;flex-direction:row}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature img{width:24px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature p{font-weight:700}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-info .dash-security-bundle--content-info-features .dash-security-bundle--content-info-features-single-feature:not(:last-child){margin-left:16px}.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-cta{align-items:center;display:flex;flex-direction:row;margin-right:0;margin-top:16px}@media(min-width:661px){.dash-security-bundle .dash-security-bundle--content .dash-security-bundle--content-cta{margin-right:16px;margin-top:0}}#jp-plugin-container{min-height:100vh}body.dops-modal-showing{overflow:hidden}.dops-modal-wrapper{-webkit-overflow-scrolling:touch;background-color:rgba(0,0,0,.5);bottom:0;cursor:pointer;display:block;left:0;outline:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;text-align:center;top:0;transition:opacity .15s linear;z-index:1050}.dops-modal-wrapper:before{content:"";display:inline-block;height:100%;vertical-align:middle}.dops-modal-wrapper .dops-modal{background-color:#fff;clear:both;cursor:default;display:inline-block;margin:0;max-width:550px;position:relative;text-align:right;transition:all .5s;vertical-align:middle;width:100%;z-index:100}@media(min-width:481px){.dops-modal-wrapper .dops-modal{border-radius:5px;box-shadow:0 4px 20px rgba(0,0,0,.2);height:auto;margin:0 auto}}.jp-product-activated-label{color:#069e08;display:flex;font-weight:600;padding:0 0 8px}@media(min-width:961px){.jp-product-activated-label{justify-content:flex-end}}.jp-product-activated-label .gridicons-checkmark{margin-left:8px}@media(min-width:961px){.my-plan-card{display:flex;flex-flow:row nowrap;justify-content:space-between}}.my-plan-card__primary{display:flex;flex-flow:row nowrap;flex-grow:1}.my-plan-card__header{flex:1}.my-plan-card__title{color:#414141;font-size:1.25rem;font-weight:600;line-height:30px;margin:6px 0}.my-plan-card__tag-line{font-weight:400;line-height:18px;margin:0 0 24px}@media(min-width:961px){.my-plan-card__tag-line{margin-bottom:8px}}.my-plan-card__icon{flex:0 0 auto;height:64px;margin:8px 0 16px 20px;width:64px}@media(max-width:660px){.my-plan-card__icon{display:none}}.my-plan-card__icon img{height:100%;width:100%}.my-plan-card__secondary{align-items:center;display:flex;flex-flow:row wrap;justify-content:space-between;padding:8px 0 0;position:relative}@media(min-width:961px){.my-plan-card__secondary{align-items:flex-end;flex-flow:column nowrap;justify-content:center;padding:0 24px 0 0}}.my-plan-card__secondary:before{border-top:1px solid #c3c4c7;content:"";left:-16px;position:absolute;right:-16px;top:0}@media(min-width:481px){.my-plan-card__secondary:before{left:-24px;right:-24px}}@media(min-width:961px){.my-plan-card__secondary:before{content:none}}.has-action-only .my-plan-card__secondary{justify-content:center;padding-top:0}.has-action-only .my-plan-card__secondary:before{content:none}.my-plan-card__details{color:#888;padding-top:8px}@media(min-width:481px){.my-plan-card__details{white-space:nowrap}}@media(min-width:961px){.my-plan-card__details{padding-top:0}}.my-plan-card__details.is-error{color:#d94f4f}.my-plan-card__action{padding-top:8px;white-space:nowrap}.has-action-only .my-plan-card__action{padding-top:0}.jp-my-plan-banner__card{background-color:#fff;background-position:0;background-repeat:no-repeat;background-size:50% 100%}.jp-my-plan-banner .my-plan-card__icon{margin-bottom:8px;margin-top:8px}.jp-my-plan-banner .my-plan-card__header{align-self:center}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-right:5px}.notices-list{overflow:hidden}.notices-list.is-pinned{position:fixed;top:79px;width:calc(100% - 336px);z-index:z-index("root",".notices-list.is-pinned")}.notices-list.is-pinned .notice{z-index:z-index("root",".notices-list.is-pinned .notice")}.notices-list__whitespace{display:block;height:71px;width:100%}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{bottom:0;left:0;pointer-events:none;position:fixed;right:0;text-align:left;top:auto;z-index:179}@media(min-width:661px){.global-notices{bottom:auto;left:16px;max-width:calc(100% - 68px);right:auto;top:63px}}@media(min-width:961px){.global-notices{left:24px;max-width:calc(100% - 208px);top:71px}}@media(min-width:1041px){.global-notices{left:32px;max-width:calc(100% - 224px)}}.global-notices .dops-notice{border-radius:0;box-shadow:0 2px 5px rgba(0,0,0,.2),0 0 56px rgba(0,0,0,.15);flex-wrap:nowrap;margin-bottom:0;pointer-events:auto;text-align:right}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0}@media(min-width:661px){.global-notices .dops-notice{border-radius:3px;display:flex;margin-bottom:24px;overflow:hidden}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0 3px 3px 0}.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:13px 16px}}.global-notices .dops-notice__dismiss{flex-shrink:0}@media(min-width:661px){.global-notices .dops-notice__dismiss{padding:13px 16px 0}}.reconnect__modal__body{color:#2e4453;font-size:rem(14px);margin:0;padding:rem(24px) rem(32px);text-align:center}.reconnect__modal__body h2{color:#2e4453;font-size:rem(32px);font-weight:300;margin:rem(32px) 0 rem(24px)}.reconnect__modal__body h4{color:#668eaa;font-size:rem(16px);font-weight:400;line-height:1.5em;margin:rem(16px) rem(24px) 0}.reconnect__modal-actions{margin:2rem 0}.reconnect__modal-actions .reconnect__modal-cancel{margin-left:1em}.jp-license-activation-screen-controls{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-controls h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-controls p{font-size:16px;margin:1em 0}.jp-license-activation-screen-controls label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-controls{padding:64px}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field label,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error label{font-size:16px;font-weight:600}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border-radius:4px;font-size:18px;line-height:24px;margin:0;min-height:48px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border:1px solid #787c82}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border:1px solid #d63639}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error{align-items:start;color:#d63639;display:flex;flex-direction:row}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error svg{fill:#d63639;margin-left:4px;min-width:24px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error span{font-size:16px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{background-color:#000;border-radius:4px;color:#fff;display:flex;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin-top:24px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{width:auto}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:hover,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:hover{background-color:#2c3338;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:focus,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active[disabled],.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button[disabled]{background-color:#dcdcde;color:#a7aaad}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button .jp-components-spinner,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active .jp-components-spinner{width:100%}@-webkit-keyframes rotate-spinner{to{transform:rotate(-1turn)}}@keyframes rotate-spinner{to{transform:rotate(-1turn)}}.jp-components-spinner{align-items:center;display:flex}.jp-components-spinner__inner,.jp-components-spinner__outer{-webkit-animation:3s linear infinite;animation:3s linear infinite;-webkit-animation-name:rotate-spinner;animation-name:rotate-spinner;border:.1em solid transparent;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-left-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.jp-license-activation-screen-illustration{align-items:center;background:#f9f9f6;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-illustration--wrapper{display:flex;flex:1}.jp-license-activation-screen-illustration--wrapper img{align-self:center;height:auto;max-width:100%}.jp-license-activation-screen-illustration--support-link{flex:0}.jp-license-activation-screen-success-info--product-details h1{line-height:52px}.jp-license-activation-screen-success-info--product-details a{color:var(--jp-black);text-decoration:underline!important}.jp-license-activation-screen-success-info--external-link{color:var(--jp-black);font-size:16px;font-style:normal;font-weight:600;text-decoration:underline!important;white-space:nowrap}.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{background-color:#000;border-radius:4px;color:#fff;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin:0 0 20px 40px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{width:auto}}.components-button.jp-license-activation-screen-success-info--button:active:hover,.components-button.jp-license-activation-screen-success-info--button:hover,.components-button.jp-license-activation-screen-success-info--button:visited:hover{background-color:#2c3338;color:#fff}.components-button.jp-license-activation-screen-success-info--button:active:focus,.components-button.jp-license-activation-screen-success-info--button:focus,.components-button.jp-license-activation-screen-success-info--button:visited:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.components-button.jp-license-activation-screen-success-info--button:active:disabled,.components-button.jp-license-activation-screen-success-info--button:active[disabled],.components-button.jp-license-activation-screen-success-info--button:disabled,.components-button.jp-license-activation-screen-success-info--button:visited:disabled,.components-button.jp-license-activation-screen-success-info--button:visited[disabled],.components-button.jp-license-activation-screen-success-info--button[disabled]{background-color:#dcdcde;color:#a7aaad}.components-button.jp-license-activation-screen-success-info--button .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:active .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:visited .jp-components-spinner{width:100%}.jp-license-activation-screen-success-info{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-success-info h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-success-info p{font-size:16px;margin:1em 0}.jp-license-activation-screen-success-info label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-success-info{padding:64px}}@media screen and (max-width:480px){.jp-license-activation-screen-success-info .jp-license-activation-screen-success-info--buttons{text-align:center}}.jp-license-activation-screen{border-radius:4px;box-shadow:0 4px 24px 0 #00000026;display:flex;flex-direction:column;min-height:540px;overflow:hidden}@media screen and (min-width:780px){.jp-license-activation-screen{flex-direction:row}}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 24px 16px 64px;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;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-contextualized-connection{background:#fff;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08);display:flex;flex-direction:column}.jp-contextualized-connection__content{align-items:center;display:flex;flex-direction:column;margin:auto;max-width:860px;padding:2rem;text-align:center;width:100%}@media(min-width:782px){.jp-contextualized-connection__content{padding:4rem}}.jp-contextualized-connection__content h2{font-size:36px;margin-bottom:1.5rem}.jp-contextualized-connection__content p{font-size:16px;margin-bottom:2rem}.jp-contextualized-connection__logo img{max-width:100%}.jp-contextualized-connection__tos{color:#787c82;font-size:14px;margin-top:2rem;max-width:400px}.jp-contextualized-connection__tos a{color:#787c82;font-weight:700;text-decoration:underline}.jp-contextualized-connection .jp-action-button--button.is-primary,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary{background-color:#000;justify-content:center}.jp-contextualized-connection .jp-action-button--button.is-primary:active:not(:disabled),.jp-contextualized-connection .jp-action-button--button.is-primary:hover:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:active:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:hover:not(:disabled){background:#2c3338;color:#fff}.jp-contextualized-connection .jp-action-button--button.is-primary:focus:not(:disabled),.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #000}.jp-contextualized-connection .jp-action-button--button.is-primary.disabled,.jp-contextualized-connection .jp-action-button--button.is-primary:disabled,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary.disabled,.jp-contextualized-connection .jp-contextualized-connection__button.is-primary:disabled{background:#dcdcde;pointer-events:none}.jp-contextualized-connection__footer{background-color:#f9f9f6;font-size:16px;padding:4rem;width:100%}.jp-contextualized-connection__footer-row{grid-gap:4rem;display:grid;grid-template-columns:auto}@media(min-width:782px){.jp-contextualized-connection__footer-row{grid-gap:3rem;grid-template-columns:repeat(3,1fr)}}.jp-contextualized-connection__footer-column h3{margin-top:0}.jp-contextualized-connection__footer-bottom-title{color:#000;font-size:20px;margin-top:4rem;text-align:center}.jp-contextualized-connection__feature-list{list-style-type:none;padding:0}.jp-contextualized-connection__feature-list li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:#000;margin-bottom:9px;padding-right:30px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.asset.php b/plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.asset.php
index 10a10617..86c2970b 100644
--- a/plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.asset.php
+++ b/plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'c5e875fc5f3df19b6cfc768768de0204'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '810e5473c97be67de3f2');
diff --git a/plugins/jetpack/_inc/build/carousel/swiper-bundle.min.asset.php b/plugins/jetpack/_inc/build/carousel/swiper-bundle.min.asset.php
index a35d00b7..66ffabca 100644
--- a/plugins/jetpack/_inc/build/carousel/swiper-bundle.min.asset.php
+++ b/plugins/jetpack/_inc/build/carousel/swiper-bundle.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '3d5c5640e4433f7b5d73da541b95dced'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '87356a648aef27d9ee23');
diff --git a/plugins/jetpack/_inc/build/carousel/swiper-bundle.min.js b/plugins/jetpack/_inc/build/carousel/swiper-bundle.min.js
index cd3b525e..007e3d3b 100644
--- a/plugins/jetpack/_inc/build/carousel/swiper-bundle.min.js
+++ b/plugins/jetpack/_inc/build/carousel/swiper-bundle.min.js
@@ -1,2 +1,2 @@
/*! For license information please see swiper-bundle.min.js.LICENSE.txt */
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Swiper670=t():e.Swiper670=t()}(self,(function(){return e={5690:function(e){e.exports=function(){"use strict";function e(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function t(t,i,a){return i&&e(t.prototype,i),a&&e(t,a),t}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},i.apply(this,arguments)}function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function n(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(i){void 0===e[i]?e[i]=t[i]:a(t[i])&&a(e[i])&&Object.keys(t[i]).length>0&&n(e[i],t[i])}))}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 s(){var e="undefined"!=typeof document?document:{};return n(e,r),e}var o={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 l(){var e="undefined"!=typeof window?window:{};return n(e,o),e}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function p(){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 v(e,t,i){return v=p()?Reflect.construct:function(e,t,i){var a=[null];a.push.apply(a,t);var n=new(Function.bind.apply(e,a));return i&&c(n,i.prototype),n},v.apply(null,arguments)}function h(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||!h(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,i)}function i(){return v(e,arguments,u(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),c(i,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 i;return g(m(i=e.call.apply(e,[this].concat(t))||this)),i}return d(t,e),t}(f(Array));function E(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,E(e)):t.push(e)})),t}function C(e,t){return Array.prototype.filter.call(e,t)}function y(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}function w(e,t){if("string"!=typeof e)return[e];for(var i=[],a=t.querySelectorAll(e),n=0;n<a.length;n+=1)i.push(a[n]);return i}function T(e,t){var i=l(),a=s(),n=[];if(!t&&e instanceof b)return e;if(!e)return new b(n);if("string"==typeof e){var r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){var o="div";0===r.indexOf("<li")&&(o="ul"),0===r.indexOf("<tr")&&(o="tbody"),0!==r.indexOf("<td")&&0!==r.indexOf("<th")||(o="tr"),0===r.indexOf("<tbody")&&(o="table"),0===r.indexOf("<option")&&(o="select");var d=a.createElement(o);d.innerHTML=r;for(var u=0;u<d.childNodes.length;u+=1)n.push(d.childNodes[u])}else n=w(e.trim(),t||a)}else if(e.nodeType||e===i||e===a)n.push(e);else if(Array.isArray(e)){if(e instanceof b)return e;n=e}return new b(y(n))}function x(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,a)})),this}function S(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,a)})),this}function M(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));this.forEach((function(e){a.forEach((function(t){e.classList.toggle(t)}))}))}function k(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));return C(this,(function(e){return a.filter((function(t){return e.classList.contains(t)})).length>0})).length>0}function P(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(var a in e)this[i][a]=e[a],this[i].setAttribute(a,e[a]);return this}function z(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function $(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this}function L(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this}function O(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=t[0],n=t[1],r=t[2],s=t[3];function o(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),T(t).is(n))r.apply(t,i);else for(var a=T(t).parents(),s=0;s<a.length;s+=1)T(a[s]).is(n)&&r.apply(a[s],i)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(a=t[0],r=t[1],s=t[2],n=void 0),s||(s=!1);for(var d,u=a.split(" "),c=0;c<this.length;c+=1){var p=this[c];if(n)for(d=0;d<u.length;d+=1){var v=u[d];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[v]||(p.dom7LiveListeners[v]=[]),p.dom7LiveListeners[v].push({listener:r,proxyListener:o}),p.addEventListener(v,o,s)}else for(d=0;d<u.length;d+=1){var h=u[d];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[h]||(p.dom7Listeners[h]=[]),p.dom7Listeners[h].push({listener:r,proxyListener:l}),p.addEventListener(h,l,s)}}return this}function A(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=t[0],n=t[1],r=t[2],s=t[3];"function"==typeof t[1]&&(a=t[0],r=t[1],s=t[2],n=void 0),s||(s=!1);for(var o=a.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],u=0;u<this.length;u+=1){var c=this[u],p=void 0;if(!n&&c.dom7Listeners?p=c.dom7Listeners[d]:n&&c.dom7LiveListeners&&(p=c.dom7LiveListeners[d]),p&&p.length)for(var v=p.length-1;v>=0;v-=1){var h=p[v];r&&h.listener===r||r&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===r?(c.removeEventListener(d,h.proxyListener,s),p.splice(v,1)):r||(c.removeEventListener(d,h.proxyListener,s),p.splice(v,1))}}return this}function I(){for(var e=l(),t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];for(var n=i[0].split(" "),r=i[1],s=0;s<n.length;s+=1)for(var o=n[s],d=0;d<this.length;d+=1){var u=this[d];if(e.CustomEvent){var c=new e.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});u.dom7EventData=i.filter((function(e,t){return t>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}}return this}function G(e){var t=this;function i(a){a.target===this&&(e.call(this,a),t.off("transitionend",i))}return e&&t.on("transitionend",i),this}function B(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 D(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 N(){if(this.length>0){var e=l(),t=s(),i=this[0],a=i.getBoundingClientRect(),n=t.body,r=i.clientTop||n.clientTop||0,o=i.clientLeft||n.clientLeft||0,d=i===e?e.scrollY:i.scrollTop,u=i===e?e.scrollX:i.scrollLeft;return{top:a.top+d-r,left:a.left+u-o}}return null}function R(){var e=l();return this[0]?e.getComputedStyle(this[0],null):{}}function X(e,t){var i,a=l();if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var n in e)this[i].style[n]=e[n];return this}if(this[0])return a.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this}function Y(e){return e?(this.forEach((function(t,i){e.apply(t,[t,i])})),this):this}function W(e){return T(C(this,e))}function H(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function _(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function F(e){var t,i,a=l(),n=s(),r=this[0];if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(t=T(e),i=0;i<t.length;i+=1)if(t[i]===r)return!0;return!1}if(e===n)return r===n;if(e===a)return r===a;if(e.nodeType||e instanceof b){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===r)return!0;return!1}return!1}function j(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function V(e){if(void 0===e)return this;var t=this.length;if(e>t-1)return T([]);if(e<0){var i=t+e;return T(i<0?[]:[this[i]])}return T([this[e]])}function q(){for(var e,t=s(),i=0;i<arguments.length;i+=1){e=i<0||arguments.length<=i?void 0:arguments[i];for(var a=0;a<this.length;a+=1)if("string"==typeof e){var n=t.createElement("div");for(n.innerHTML=e;n.firstChild;)this[a].appendChild(n.firstChild)}else if(e instanceof b)for(var r=0;r<e.length;r+=1)this[a].appendChild(e[r]);else this[a].appendChild(e)}return this}function U(e){var t,i,a=s();for(t=0;t<this.length;t+=1)if("string"==typeof e){var n=a.createElement("div");for(n.innerHTML=e,i=n.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(n.childNodes[i],this[t].childNodes[0])}else if(e instanceof b)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function K(e){return this.length>0?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=[],i=this[0];if(!i)return T([]);for(;i.nextElementSibling;){var a=i.nextElementSibling;e?T(a).is(e)&&t.push(a):t.push(a),i=a}return T(t)}function Q(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 Z(e){var t=[],i=this[0];if(!i)return T([]);for(;i.previousElementSibling;){var a=i.previousElementSibling;e?T(a).is(e)&&t.push(a):t.push(a),i=a}return T(t)}function ee(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?T(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return T(t)}function te(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].parentNode;a;)e?T(a).is(e)&&t.push(a):t.push(a),a=a.parentNode;return T(t)}function ie(e){var t=this;return void 0===e?T([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function ae(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].querySelectorAll(e),n=0;n<a.length;n+=1)t.push(a[n]);return T(t)}function ne(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].children,n=0;n<a.length;n+=1)e&&!T(a[n]).is(e)||t.push(a[n]);return T(t)}function re(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}T.fn=b.prototype;var se,oe,le,de={addClass:x,removeClass:S,hasClass:k,toggleClass:M,attr:P,removeAttr:z,transform:$,transition:L,on:O,off:A,trigger:I,transitionEnd:G,outerWidth:B,outerHeight:D,styles:R,offset:N,css:X,each:Y,html:H,text:_,is:F,index:j,eq:V,append:q,prepend:U,next:K,nextAll:J,prev:Q,prevAll:Z,parent:ee,parents:te,closest:ie,find:ae,children:ne,filter:W,remove:re};function ue(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function ce(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function pe(){return Date.now()}function ve(e){var t,i=l();return i.getComputedStyle&&(t=i.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function he(e,t){void 0===t&&(t="x");var i,a,n,r=l(),s=ve(e);return r.WebKitCSSMatrix?((a=s.transform||s.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),n=new r.WebKitCSSMatrix("none"===a?"":a)):i=(n=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(a=r.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=r.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||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"],i="undefined"!=typeof window?window.HTMLElement:void 0,a=1;a<arguments.length;a+=1){var n=a<0||arguments.length<=a?void 0:arguments[a];if(null!=n&&!(i&&n instanceof i))for(var r=Object.keys(Object(n)).filter((function(e){return t.indexOf(e)<0})),s=0,o=r.length;s<o;s+=1){var l=r[s],d=Object.getOwnPropertyDescriptor(n,l);void 0!==d&&d.enumerable&&(fe(e[l])&&fe(n[l])?n[l].__swiper__?e[l]=n[l]:me(e[l],n[l]):!fe(e[l])&&fe(n[l])?(e[l]={},n[l].__swiper__?e[l]=n[l]:me(e[l],n[l])):e[l]=n[l])}}return e}function ge(e,t){Object.keys(t).forEach((function(i){fe(t[i])&&Object.keys(t[i]).forEach((function(a){"function"==typeof t[i][a]&&(t[i][a]=t[i][a].bind(e))})),e[i]=t[i]}))}function be(e){return void 0===e&&(e=""),"."+e.trim().replace(/([\.:\/])/g,"\\$1").replace(/ /g,".")}function Ee(e,t,i,a){var n=s();return i&&Object.keys(a).forEach((function(i){if(!t[i]&&!0===t.auto){var r=n.createElement("div");r.className=a[i],e.append(r),t[i]=r}})),t}function Ce(){var e=l(),t=s();return{touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!e.PointerEvent&&"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}function ye(){return se||(se=Ce()),se}function we(e){var t=(void 0===e?{}:e).userAgent,i=ye(),a=l(),n=a.navigator.platform,r=t||a.navigator.userAgent,s={ios:!1,android:!1},o=a.screen.width,d=a.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/),c=r.match(/(iPad).*OS\s([\d_]+)/),p=r.match(/(iPod)(.*OS\s([\d_]+))?/),v=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===n,f="MacIntel"===n,m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&f&&i.touch&&m.indexOf(o+"x"+d)>=0&&((c=r.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),f=!1),u&&!h&&(s.os="android",s.android=!0),(c||v||p)&&(s.os="ios",s.ios=!0),s}function Te(e){return void 0===e&&(e={}),oe||(oe=we(e)),oe}function xe(){var e=l();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 le||(le=xe()),le}Object.keys(de).forEach((function(e){Object.defineProperty(T.fn,e,{value:de[e],writable:!0})}));var Me=function(){return void 0!==l().ResizeObserver},ke={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 i=e.width,a=e.height,n=i,r=a;t.forEach((function(t){var i=t.contentBoxSize,a=t.contentRect,s=t.target;s&&s!==e.el||(n=a?a.width:(i[0]||i).inlineSize,r=a?a.height:(i[0]||i).blockSize)})),n===i&&r===a||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=l();e.params.resizeObserver&&Me()?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=l();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},Pe={attach:function(e,t){void 0===t&&(t={});var i=l(),a=this,n=new(i.MutationObserver||i.WebkitMutationObserver)((function(e){if(1!==e.length){var t=function(){a.emit("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}else a.emit("observerUpdate",e[0])}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.observer.observers.push(n)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)e.observer.attach(t[i]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach((function(e){e.disconnect()})),e.observer.observers=[]}},ze={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){ge(this,{observer:i({},Pe,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},$e={useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var a=t.modules[i];a.params&&me(e,a.params)}))},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var a=t.modules[i],n=e[i]||{};a.on&&t.on&&Object.keys(a.on).forEach((function(e){t.on(e,a.on[e])})),a.create&&a.create.bind(t)(n)}))}},Le={on:function(e,t,i){var a=this;if("function"!=typeof t)return a;var n=i?"unshift":"push";return e.split(" ").forEach((function(e){a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][n](t)})),a},once:function(e,t,i){var a=this;if("function"!=typeof t)return a;function n(){a.off(e,n),n.__emitterProxy&&delete n.__emitterProxy;for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];t.apply(a,r)}return n.__emitterProxy=t,a.on(e,n,i)},onAny:function(e,t){var i=this;if("function"!=typeof e)return i;var a=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[a](e),i},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;var i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off:function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((function(a,n){(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&i.eventsListeners[e].splice(n,1)}))})),i):i},emit:function(){var e,t,i,a=this;if(!a.eventsListeners)return a;for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),i=a):(e=r[0].events,t=r[0].data,i=r[0].context||a),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach((function(e){a.eventsAnyListeners&&a.eventsAnyListeners.length&&a.eventsAnyListeners.forEach((function(a){a.apply(i,[e].concat(t))})),a.eventsListeners&&a.eventsListeners[e]&&a.eventsListeners[e].forEach((function(e){e.apply(i,t)}))})),a}};function Oe(){var e,t,i=this,a=i.$el;e=void 0!==i.params.width&&null!==i.params.width?i.params.width:a[0].clientWidth,t=void 0!==i.params.height&&null!==i.params.height?i.params.height:a[0].clientHeight,0===e&&i.isHorizontal()||0===t&&i.isVertical()||(e=e-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),t=t-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),me(i,{width:e,height:t,size:i.isHorizontal()?e:t}))}function Ae(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function i(e,i){return parseFloat(e.getPropertyValue(t(i))||0)}var a=e.params,n=e.$wrapperEl,r=e.size,s=e.rtlTranslate,o=e.wrongRTL,l=e.virtual&&a.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,u=n.children("."+e.params.slideClass),c=l?e.virtual.slides.length:u.length,p=[],v=[],h=[],f=a.slidesOffsetBefore;"function"==typeof f&&(f=a.slidesOffsetBefore.call(e));var m=a.slidesOffsetAfter;"function"==typeof m&&(m=a.slidesOffsetAfter.call(e));var g=e.snapGrid.length,b=e.slidesGrid.length,E=a.spaceBetween,C=-f,y=0,w=0;if(void 0!==r){var T,x;"string"==typeof E&&E.indexOf("%")>=0&&(E=parseFloat(E.replace("%",""))/100*r),e.virtualSize=-E,s?u.css({marginLeft:"",marginTop:""}):u.css({marginRight:"",marginBottom:""}),a.slidesPerColumn>1&&(T=Math.floor(c/a.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/a.slidesPerColumn)*a.slidesPerColumn,"auto"!==a.slidesPerView&&"row"===a.slidesPerColumnFill&&(T=Math.max(T,a.slidesPerView*a.slidesPerColumn)));for(var S,M,k,P=a.slidesPerColumn,z=T/P,$=Math.floor(c/a.slidesPerColumn),L=0;L<c;L+=1){x=0;var O=u.eq(L);if(a.slidesPerColumn>1){var A=void 0,I=void 0,G=void 0;if("row"===a.slidesPerColumnFill&&a.slidesPerGroup>1){var B=Math.floor(L/(a.slidesPerGroup*a.slidesPerColumn)),D=L-a.slidesPerColumn*a.slidesPerGroup*B,N=0===B?a.slidesPerGroup:Math.min(Math.ceil((c-B*P*a.slidesPerGroup)/P),a.slidesPerGroup);A=(I=D-(G=Math.floor(D/N))*N+B*a.slidesPerGroup)+G*T/P,O.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else"column"===a.slidesPerColumnFill?(G=L-(I=Math.floor(L/P))*P,(I>$||I===$&&G===P-1)&&(G+=1)>=P&&(G=0,I+=1)):I=L-(G=Math.floor(L/z))*z;O.css(t("margin-top"),0!==G?a.spaceBetween&&a.spaceBetween+"px":"")}if("none"!==O.css("display")){if("auto"===a.slidesPerView){var R=getComputedStyle(O[0]),X=O[0].style.transform,Y=O[0].style.webkitTransform;if(X&&(O[0].style.transform="none"),Y&&(O[0].style.webkitTransform="none"),a.roundLengths)x=e.isHorizontal()?O.outerWidth(!0):O.outerHeight(!0);else{var W=i(R,"width"),H=i(R,"padding-left"),_=i(R,"padding-right"),F=i(R,"margin-left"),j=i(R,"margin-right"),V=R.getPropertyValue("box-sizing");if(V&&"border-box"===V)x=W+F+j;else{var q=O[0],U=q.clientWidth;x=W+H+_+F+j+(q.offsetWidth-U)}}X&&(O[0].style.transform=X),Y&&(O[0].style.webkitTransform=Y),a.roundLengths&&(x=Math.floor(x))}else x=(r-(a.slidesPerView-1)*E)/a.slidesPerView,a.roundLengths&&(x=Math.floor(x)),u[L]&&(u[L].style[t("width")]=x+"px");u[L]&&(u[L].swiperSlideSize=x),h.push(x),a.centeredSlides?(C=C+x/2+y/2+E,0===y&&0!==L&&(C=C-r/2-E),0===L&&(C=C-r/2-E),Math.abs(C)<.001&&(C=0),a.roundLengths&&(C=Math.floor(C)),w%a.slidesPerGroup==0&&p.push(C),v.push(C)):(a.roundLengths&&(C=Math.floor(C)),(w-Math.min(e.params.slidesPerGroupSkip,w))%e.params.slidesPerGroup==0&&p.push(C),v.push(C),C=C+x+E),e.virtualSize+=x+E,y=x,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+m,s&&o&&("slide"===a.effect||"coverflow"===a.effect)&&n.css({width:e.virtualSize+a.spaceBetween+"px"}),a.setWrapperSize&&n.css(((M={})[t("width")]=e.virtualSize+a.spaceBetween+"px",M)),a.slidesPerColumn>1&&(e.virtualSize=(x+a.spaceBetween)*T,e.virtualSize=Math.ceil(e.virtualSize/a.slidesPerColumn)-a.spaceBetween,n.css(((k={})[t("width")]=e.virtualSize+a.spaceBetween+"px",k)),a.centeredSlides)){S=[];for(var K=0;K<p.length;K+=1){var J=p[K];a.roundLengths&&(J=Math.floor(J)),p[K]<e.virtualSize+p[0]&&S.push(J)}p=S}if(!a.centeredSlides){S=[];for(var Q=0;Q<p.length;Q+=1){var Z=p[Q];a.roundLengths&&(Z=Math.floor(Z)),p[Q]<=e.virtualSize-r&&S.push(Z)}p=S,Math.floor(e.virtualSize-r)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-r)}if(0===p.length&&(p=[0]),0!==a.spaceBetween){var ee,te=e.isHorizontal()&&s?"marginLeft":t("marginRight");u.filter((function(e,t){return!a.cssMode||t!==u.length-1})).css(((ee={})[te]=E+"px",ee))}if(a.centeredSlides&&a.centeredSlidesBounds){var ie=0;h.forEach((function(e){ie+=e+(a.spaceBetween?a.spaceBetween:0)}));var ae=(ie-=a.spaceBetween)-r;p=p.map((function(e){return e<0?-f:e>ae?ae+m:e}))}if(a.centerInsufficientSlides){var ne=0;if(h.forEach((function(e){ne+=e+(a.spaceBetween?a.spaceBetween:0)})),(ne-=a.spaceBetween)<r){var re=(r-ne)/2;p.forEach((function(e,t){p[t]=e-re})),v.forEach((function(e,t){v[t]=e+re}))}}me(e,{slides:u,snapGrid:p,slidesGrid:v,slidesSizesGrid:h}),c!==d&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),v.length!==b&&e.emit("slidesGridLengthChange"),(a.watchSlidesProgress||a.watchSlidesVisibility)&&e.updateSlidesOffset()}}function Ie(e){var t,i=this,a=[],n=i.virtual&&i.params.virtual.enabled,r=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);var s=function(e){return n?i.slides.filter((function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e}))[0]:i.slides.eq(e)[0]};if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>1)if(i.params.centeredSlides)i.visibleSlides.each((function(e){a.push(e)}));else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var o=i.activeIndex+t;if(o>i.slides.length&&!n)break;a.push(s(o))}else a.push(s(i.activeIndex));for(t=0;t<a.length;t+=1)if(void 0!==a[t]){var l=a[t].offsetHeight;r=l>r?l:r}r&&i.$wrapperEl.css("height",r+"px")}function Ge(){for(var e=this,t=e.slides,i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop}function Be(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,a=t.slides,n=t.rtlTranslate;if(0!==a.length){void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;n&&(r=e),a.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<a.length;s+=1){var o=a[s],l=(r+(i.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight){var d=-(r-o.swiperSlideOffset),u=d+t.slidesSizesGrid[s];(d>=0&&d<t.size-1||u>1&&u<=t.size||d<=0&&u>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(s),a.eq(s).addClass(i.slideVisibleClass))}o.progress=n?-l:l}t.visibleSlides=T(t.visibleSlides)}}function De(e){var t=this;if(void 0===e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var a=t.params,n=t.maxTranslate()-t.minTranslate(),r=t.progress,s=t.isBeginning,o=t.isEnd,l=s,d=o;0===n?(r=0,s=!0,o=!0):(s=(r=(e-t.minTranslate())/n)<=0,o=r>=1),me(t,{progress:r,isBeginning:s,isEnd:o}),(a.watchSlidesProgress||a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!d&&t.emit("reachEnd toEdge"),(l&&!s||d&&!o)&&t.emit("fromEdge"),t.emit("progress",r)}function Ne(){var e,t=this,i=t.slides,a=t.params,n=t.$wrapperEl,r=t.activeIndex,s=t.realIndex,o=t.virtual&&a.virtual.enabled;i.removeClass(a.slideActiveClass+" "+a.slideNextClass+" "+a.slidePrevClass+" "+a.slideDuplicateActiveClass+" "+a.slideDuplicateNextClass+" "+a.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+a.slideClass+'[data-swiper-slide-index="'+r+'"]'):i.eq(r)).addClass(a.slideActiveClass),a.loop&&(e.hasClass(a.slideDuplicateClass)?n.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(a.slideDuplicateActiveClass):n.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(a.slideDuplicateActiveClass));var l=e.nextAll("."+a.slideClass).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=i.eq(0)).addClass(a.slideNextClass);var d=e.prevAll("."+a.slideClass).eq(0).addClass(a.slidePrevClass);a.loop&&0===d.length&&(d=i.eq(-1)).addClass(a.slidePrevClass),a.loop&&(l.hasClass(a.slideDuplicateClass)?n.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass):n.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass),d.hasClass(a.slideDuplicateClass)?n.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass):n.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass)),t.emitSlidesClasses()}function Re(e){var t,i=this,a=i.rtlTranslate?i.translate:-i.translate,n=i.slidesGrid,r=i.snapGrid,s=i.params,o=i.activeIndex,l=i.realIndex,d=i.snapIndex,u=e;if(void 0===u){for(var c=0;c<n.length;c+=1)void 0!==n[c+1]?a>=n[c]&&a<n[c+1]-(n[c+1]-n[c])/2?u=c:a>=n[c]&&a<n[c+1]&&(u=c+1):a>=n[c]&&(u=c);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(a)>=0)t=r.indexOf(a);else{var p=Math.min(s.slidesPerGroupSkip,u);t=p+Math.floor((u-p)/s.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),u!==o){var v=parseInt(i.slides.eq(u).attr("data-swiper-slide-index")||u,10);me(i,{snapIndex:t,realIndex:v,previousIndex:o,activeIndex:u}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==v&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}else t!==d&&(i.snapIndex=t,i.emit("snapIndexChange"))}function Xe(e){var t,i=this,a=i.params,n=T(e.target).closest("."+a.slideClass)[0],r=!1;if(n)for(var s=0;s<i.slides.length;s+=1)if(i.slides[s]===n){r=!0,t=s;break}if(!n||!r)return i.clickedSlide=void 0,void(i.clickedIndex=void 0);i.clickedSlide=n,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(T(n).attr("data-swiper-slide-index"),10):i.clickedIndex=t,a.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}function Ye(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,i=t.params,a=t.rtlTranslate,n=t.translate,r=t.$wrapperEl;if(i.virtualTranslate)return a?-n:n;if(i.cssMode)return n;var s=he(r[0],e);return a&&(s=-s),s||0}function We(e,t){var i=this,a=i.rtlTranslate,n=i.params,r=i.$wrapperEl,s=i.wrapperEl,o=i.progress,l=0,d=0,u=0;i.isHorizontal()?l=a?-e:e:d=e,n.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),n.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-d:n.virtualTranslate||r.transform("translate3d("+l+"px, "+d+"px, "+u+"px)"),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:d;var c=i.maxTranslate()-i.minTranslate();(0===c?0:(e-i.minTranslate())/c)!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)}function He(){return-this.snapGrid[0]}function _e(){return-this.snapGrid[this.snapGrid.length-1]}function Fe(e,t,i,a,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===a&&(a=!0);var r=this,s=r.params,o=r.wrapperEl;if(r.animating&&s.preventInteractionOnTransition)return!1;var l,d=r.minTranslate(),u=r.maxTranslate();if(l=a&&e>d?d:a&&e<u?u:e,r.updateProgress(l),s.cssMode){var c,p=r.isHorizontal();return 0===t?o[p?"scrollLeft":"scrollTop"]=-l:o.scrollTo?o.scrollTo(((c={})[p?"left":"top"]=-l,c.behavior="smooth",c)):o[p?"scrollLeft":"scrollTop"]=-l,!0}return 0===t?(r.setTransition(0),r.setTranslate(l),i&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(l),i&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}function je(e,t){var i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)}function Ve(e,t){void 0===e&&(e=!0);var i=this,a=i.activeIndex,n=i.params,r=i.previousIndex;if(!n.cssMode){n.autoHeight&&i.updateAutoHeight();var s=t;if(s||(s=a>r?"next":a<r?"prev":"reset"),i.emit("transitionStart"),e&&a!==r){if("reset"===s)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),"next"===s?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}}}function qe(e,t){void 0===e&&(e=!0);var i=this,a=i.activeIndex,n=i.previousIndex,r=i.params;if(i.animating=!1,!r.cssMode){i.setTransition(0);var s=t;if(s||(s=a>n?"next":a<n?"prev":"reset"),i.emit("transitionEnd"),e&&a!==n){if("reset"===s)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),"next"===s?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}}function Ue(e,t,i,a,n){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var r=parseInt(e,10);if(!isFinite(r))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=r}var s=this,o=e;o<0&&(o=0);var l=s.params,d=s.snapGrid,u=s.slidesGrid,c=s.previousIndex,p=s.activeIndex,v=s.rtlTranslate,h=s.wrapperEl,f=s.enabled;if(s.animating&&l.preventInteractionOnTransition||!f&&!a&&!n)return!1;var m=Math.min(s.params.slidesPerGroupSkip,o),g=m+Math.floor((o-m)/s.params.slidesPerGroup);g>=d.length&&(g=d.length-1),(p||l.initialSlide||0)===(c||0)&&i&&s.emit("beforeSlideChangeStart");var b,E=-d[g];if(s.updateProgress(E),l.normalizeSlideIndex)for(var C=0;C<u.length;C+=1){var y=-Math.floor(100*E),w=Math.floor(100*u[C]),T=Math.floor(100*u[C+1]);void 0!==u[C+1]?y>=w&&y<T-(T-w)/2?o=C:y>=w&&y<T&&(o=C+1):y>=w&&(o=C)}if(s.initialized&&o!==p){if(!s.allowSlideNext&&E<s.translate&&E<s.minTranslate())return!1;if(!s.allowSlidePrev&&E>s.translate&&E>s.maxTranslate()&&(p||0)!==o)return!1}if(b=o>p?"next":o<p?"prev":"reset",v&&-E===s.translate||!v&&E===s.translate)return s.updateActiveIndex(o),l.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==l.effect&&s.setTranslate(E),"reset"!==b&&(s.transitionStart(i,b),s.transitionEnd(i,b)),!1;if(l.cssMode){var x,S=s.isHorizontal(),M=-E;return v&&(M=h.scrollWidth-h.offsetWidth-M),0===t?h[S?"scrollLeft":"scrollTop"]=M:h.scrollTo?h.scrollTo(((x={})[S?"left":"top"]=M,x.behavior="smooth",x)):h[S?"scrollLeft":"scrollTop"]=M,!0}return 0===t?(s.setTransition(0),s.setTranslate(E),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,a),s.transitionStart(i,b),s.transitionEnd(i,b)):(s.setTransition(t),s.setTranslate(E),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,a),s.transitionStart(i,b),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,b))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))),!0}function Ke(e,t,i,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var n=this,r=e;return n.params.loop&&(r+=n.loopedSlides),n.slideTo(r,t,i,a)}function Je(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this,n=a.params,r=a.animating;if(!a.enabled)return a;var s=a.activeIndex<n.slidesPerGroupSkip?1:n.slidesPerGroup;if(n.loop){if(r&&n.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return a.slideTo(a.activeIndex+s,e,t,i)}function Qe(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this,n=a.params,r=a.animating,s=a.snapGrid,o=a.slidesGrid,l=a.rtlTranslate;if(!a.enabled)return a;if(n.loop){if(r&&n.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,c=d(l?a.translate:-a.translate),p=s.map((function(e){return d(e)})),v=s[p.indexOf(c)-1];return void 0===v&&n.cssMode&&s.forEach((function(e){!v&&c>=e&&(v=e)})),void 0!==v&&(u=o.indexOf(v))<0&&(u=a.activeIndex-1),a.slideTo(u,e,t,i)}function Ze(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this;return a.slideTo(a.activeIndex,e,t,i)}function et(e,t,i,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===a&&(a=.5);var n=this,r=n.activeIndex,s=Math.min(n.params.slidesPerGroupSkip,r),o=s+Math.floor((r-s)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[o]){var d=n.snapGrid[o];l-d>(n.snapGrid[o+1]-d)*a&&(r+=n.params.slidesPerGroup)}else{var u=n.snapGrid[o-1];l-u<=(n.snapGrid[o]-u)*a&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,e,t,i)}function tt(){var e,t=this,i=t.params,a=t.$wrapperEl,n="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(T(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?r<t.loopedSlides-n/2||r>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),r=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),ce((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-n?(t.loopFix(),r=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),ce((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}function it(){var e=this,t=s(),i=e.params,a=e.$wrapperEl;a.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var n=a.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var r=i.slidesPerGroup-n.length%i.slidesPerGroup;if(r!==i.slidesPerGroup){for(var o=0;o<r;o+=1){var l=T(t.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);a.append(l)}n=a.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=n.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>n.length&&(e.loopedSlides=n.length);var d=[],u=[];n.each((function(t,i){var a=T(t);i<e.loopedSlides&&u.push(t),i<n.length&&i>=n.length-e.loopedSlides&&d.push(t),a.attr("data-swiper-slide-index",i)}));for(var c=0;c<u.length;c+=1)a.append(T(u[c].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var p=d.length-1;p>=0;p-=1)a.prepend(T(d[p].cloneNode(!0)).addClass(i.slideDuplicateClass))}function at(){var e=this;e.emit("beforeLoopFix");var t,i=e.activeIndex,a=e.slides,n=e.loopedSlides,r=e.allowSlidePrev,s=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var d=-o[i]-e.getTranslate();i<n?(t=a.length-3*n+i,t+=n,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)):i>=a.length-n&&(t=-a.length+i+n,t+=n,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)),e.allowSlidePrev=r,e.allowSlideNext=s,e.emit("loopFix")}function nt(){var e=this,t=e.$wrapperEl,i=e.params,a=e.slides;t.children("."+i.slideClass+"."+i.slideDuplicateClass+",."+i.slideClass+"."+i.slideBlankClass).remove(),a.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 i=t.el;i.style.cursor="move",i.style.cursor=e?"-webkit-grabbing":"-webkit-grab",i.style.cursor=e?"-moz-grabbin":"-moz-grab",i.style.cursor=e?"grabbing":"grab"}}function st(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}function ot(e){var t=this,i=t.$wrapperEl,a=t.params;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&i.append(e[n]);else i.append(e);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update()}function lt(e){var t=this,i=t.params,a=t.$wrapperEl,n=t.activeIndex;i.loop&&t.loopDestroy();var r=n+1;if("object"==typeof e&&"length"in e){for(var s=0;s<e.length;s+=1)e[s]&&a.prepend(e[s]);r=n+e.length}else a.prepend(e);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),t.slideTo(r,0,!1)}function dt(e,t){var i=this,a=i.$wrapperEl,n=i.params,r=i.activeIndex;n.loop&&(r-=i.loopedSlides,i.loopDestroy(),i.slides=a.children("."+n.slideClass));var s=i.slides.length;if(e<=0)i.prependSlide(t);else if(e>=s)i.appendSlide(t);else{for(var o=r>e?r+1:r,l=[],d=s-1;d>=e;d-=1){var u=i.slides.eq(d);u.remove(),l.unshift(u)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&a.append(t[c]);o=r>e?r+t.length:r}else a.append(t);for(var p=0;p<l.length;p+=1)a.append(l[p]);n.loop&&i.loopCreate(),n.observer&&i.support.observer||i.update(),n.loop?i.slideTo(o+i.loopedSlides,0,!1):i.slideTo(o,0,!1)}}function ut(e){var t=this,i=t.params,a=t.$wrapperEl,n=t.activeIndex;i.loop&&(n-=t.loopedSlides,t.loopDestroy(),t.slides=a.children("."+i.slideClass));var r,s=n;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1);s=Math.max(s,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1),s=Math.max(s,0);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),i.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)}function ct(){for(var e=this,t=[],i=0;i<e.slides.length;i+=1)t.push(i);e.removeSlide(t)}function pt(e){var t=this,i=s(),a=l(),n=t.touchEventsData,r=t.params,o=t.touches;if(t.enabled&&(!t.animating||!r.preventInteractionOnTransition)){var d=e;d.originalEvent&&(d=d.originalEvent);var u=T(d.target);if(("wrapper"!==r.touchEventsTarget||u.closest(t.wrapperEl).length)&&(n.isTouchEvent="touchstart"===d.type,(n.isTouchEvent||!("which"in d)||3!==d.which)&&!(!n.isTouchEvent&&"button"in d&&d.button>0||n.isTouched&&n.isMoved)))if(!!r.noSwipingClass&&""!==r.noSwipingClass&&d.target&&d.target.shadowRoot&&e.path&&e.path[0]&&(u=T(e.path[0])),r.noSwiping&&u.closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])t.allowClick=!0;else if(!r.swipeHandler||u.closest(r.swipeHandler)[0]){o.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,o.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;var c=o.currentX,p=o.currentY,v=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,h=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(v&&(c<=h||c>=a.innerWidth-h)){if("prevent"!==v)return;e.preventDefault()}if(me(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=c,o.startY=p,n.touchStartTime=pe(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==d.type){var f=!0;u.is(n.focusableElements)&&(f=!1),i.activeElement&&T(i.activeElement).is(n.focusableElements)&&i.activeElement!==u[0]&&i.activeElement.blur();var m=f&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!m||u[0].isContentEditable||d.preventDefault()}t.emit("touchStart",d)}}}function vt(e){var t=s(),i=this,a=i.touchEventsData,n=i.params,r=i.touches,o=i.rtlTranslate;if(i.enabled){var l=e;if(l.originalEvent&&(l=l.originalEvent),a.isTouched){if(!a.isTouchEvent||"touchmove"===l.type){var d="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?d.pageX:l.pageX,c="touchmove"===l.type?d.pageY:l.pageY;if(l.preventedByNestedSwiper)return r.startX=u,void(r.startY=c);if(!i.allowTouchMove)return i.allowClick=!1,void(a.isTouched&&(me(r,{startX:u,startY:c,currentX:u,currentY:c}),a.touchStartTime=pe()));if(a.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(i.isVertical()){if(c<r.startY&&i.translate<=i.maxTranslate()||c>r.startY&&i.translate>=i.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(u<r.startX&&i.translate<=i.maxTranslate()||u>r.startX&&i.translate>=i.minTranslate())return;if(a.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&T(l.target).is(a.focusableElements))return a.isMoved=!0,void(i.allowClick=!1);if(a.allowTouchCallbacks&&i.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){r.currentX=u,r.currentY=c;var p,v=r.currentX-r.startX,h=r.currentY-r.startY;if(!(i.params.threshold&&Math.sqrt(Math.pow(v,2)+Math.pow(h,2))<i.params.threshold))if(void 0===a.isScrolling&&(i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?a.isScrolling=!1:v*v+h*h>=25&&(p=180*Math.atan2(Math.abs(h),Math.abs(v))/Math.PI,a.isScrolling=i.isHorizontal()?p>n.touchAngle:90-p>n.touchAngle)),a.isScrolling&&i.emit("touchMoveOpposite",l),void 0===a.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){i.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation(),a.isMoved||(n.loop&&i.loopFix(),a.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!n.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),a.isMoved=!0;var f=i.isHorizontal()?v:h;r.diff=f,f*=n.touchRatio,o&&(f=-f),i.swipeDirection=f>0?"prev":"next",a.currentTranslate=f+a.startTranslate;var m=!0,g=n.resistanceRatio;if(n.touchReleaseOnEdges&&(g=0),f>0&&a.currentTranslate>i.minTranslate()?(m=!1,n.resistance&&(a.currentTranslate=i.minTranslate()-1+Math.pow(-i.minTranslate()+a.startTranslate+f,g))):f<0&&a.currentTranslate<i.maxTranslate()&&(m=!1,n.resistance&&(a.currentTranslate=i.maxTranslate()+1-Math.pow(i.maxTranslate()-a.startTranslate-f,g))),m&&(l.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),i.allowSlidePrev||i.allowSlideNext||(a.currentTranslate=a.startTranslate),n.threshold>0){if(!(Math.abs(f)>n.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,a.currentTranslate=a.startTranslate,void(r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&(0===a.velocities.length&&a.velocities.push({position:r[i.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:r[i.isHorizontal()?"currentX":"currentY"],time:pe()})),i.updateProgress(a.currentTranslate),i.setTranslate(a.currentTranslate))}}}}else a.startMoving&&a.isScrolling&&i.emit("touchMoveOpposite",l)}}function ht(e){var t=this,i=t.touchEventsData,a=t.params,n=t.touches,r=t.rtlTranslate,s=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid;if(t.enabled){var d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&a.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);a.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,c=pe(),p=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),p<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=pe(),ce((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===n.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=a.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!a.cssMode)if(a.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(a.freeModeMomentum){if(i.velocities.length>1){var v=i.velocities.pop(),h=i.velocities.pop(),f=v.position-h.position,m=v.time-h.time;t.velocity=f/m,t.velocity/=2,Math.abs(t.velocity)<a.freeModeMinimumVelocity&&(t.velocity=0),(m>150||pe()-v.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeModeMomentumVelocityRatio,i.velocities.length=0;var g=1e3*a.freeModeMomentumRatio,b=t.velocity*g,E=t.translate+b;r&&(E=-E);var C,y,w=!1,T=20*Math.abs(t.velocity)*a.freeModeMomentumBounceRatio;if(E<t.maxTranslate())a.freeModeMomentumBounce?(E+t.maxTranslate()<-T&&(E=t.maxTranslate()-T),C=t.maxTranslate(),w=!0,i.allowMomentumBounce=!0):E=t.maxTranslate(),a.loop&&a.centeredSlides&&(y=!0);else if(E>t.minTranslate())a.freeModeMomentumBounce?(E-t.minTranslate()>T&&(E=t.minTranslate()+T),C=t.minTranslate(),w=!0,i.allowMomentumBounce=!0):E=t.minTranslate(),a.loop&&a.centeredSlides&&(y=!0);else if(a.freeModeSticky){for(var x,S=0;S<l.length;S+=1)if(l[S]>-E){x=S;break}E=-(E=Math.abs(l[x]-E)<Math.abs(l[x-1]-E)||"next"===t.swipeDirection?l[x]:l[x-1])}if(y&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(g=r?Math.abs((-E-t.translate)/t.velocity):Math.abs((E-t.translate)/t.velocity),a.freeModeSticky){var M=Math.abs((r?-E:E)-t.translate),k=t.slidesSizesGrid[t.activeIndex];g=M<k?a.speed:M<2*k?1.5*a.speed:2.5*a.speed}}else if(a.freeModeSticky)return void t.slideToClosest();a.freeModeMomentumBounce&&w?(t.updateProgress(C),t.setTransition(g),t.setTranslate(E),t.transitionStart(!0,t.swipeDirection),t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(a.speed),setTimeout((function(){t.setTranslate(C),s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(E),t.setTransition(g),t.setTranslate(E),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):(t.emit("_freeModeNoMomentumRelease"),t.updateProgress(E)),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(a.freeModeSticky)return void t.slideToClosest();a.freeMode&&t.emit("_freeModeNoMomentumRelease")}(!a.freeModeMomentum||p>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var P=0,z=t.slidesSizesGrid[0],$=0;$<o.length;$+=$<a.slidesPerGroupSkip?1:a.slidesPerGroup){var L=$<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==o[$+L]?u>=o[$]&&u<o[$+L]&&(P=$,z=o[$+L]-o[$]):u>=o[$]&&(P=$,z=o[o.length-1]-o[o.length-2])}var O=(u-o[P])/z,A=P<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(O>=a.longSwipesRatio?t.slideTo(P+A):t.slideTo(P)),"prev"===t.swipeDirection&&(O>1-a.longSwipesRatio?t.slideTo(P+A):t.slideTo(P))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(P+A),"prev"===t.swipeDirection&&t.slideTo(P)):d.target===t.navigation.nextEl?t.slideTo(P+A):t.slideTo(P)}}}}function ft(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var a=e.allowSlideNext,n=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=n,e.allowSlideNext=a,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,i=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var a=e.maxTranslate()-e.minTranslate();(0===a?0:(e.translate-e.minTranslate())/a)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var bt=!1;function Et(){}function Ct(){var e=this,t=s(),i=e.params,a=e.touchEvents,n=e.el,r=e.wrapperEl,o=e.device,l=e.support;e.onTouchStart=pt.bind(e),e.onTouchMove=vt.bind(e),e.onTouchEnd=ht.bind(e),i.cssMode&&(e.onScroll=gt.bind(e)),e.onClick=mt.bind(e);var d=!!i.nested;if(!l.touch&&l.pointerEvents)n.addEventListener(a.start,e.onTouchStart,!1),t.addEventListener(a.move,e.onTouchMove,d),t.addEventListener(a.end,e.onTouchEnd,!1);else{if(l.touch){var u=!("touchstart"!==a.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(a.start,e.onTouchStart,u),n.addEventListener(a.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),n.addEventListener(a.end,e.onTouchEnd,u),a.cancel&&n.addEventListener(a.cancel,e.onTouchEnd,u),bt||(t.addEventListener("touchstart",Et),bt=!0)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(n.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,d),t.addEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&n.addEventListener("click",e.onClick,!0),i.cssMode&&r.addEventListener("scroll",e.onScroll),i.updateOnWindowResize?e.on(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft,!0):e.on("observerUpdate",ft,!0)}function yt(){var e=this,t=s(),i=e.params,a=e.touchEvents,n=e.el,r=e.wrapperEl,o=e.device,l=e.support,d=!!i.nested;if(!l.touch&&l.pointerEvents)n.removeEventListener(a.start,e.onTouchStart,!1),t.removeEventListener(a.move,e.onTouchMove,d),t.removeEventListener(a.end,e.onTouchEnd,!1);else{if(l.touch){var u=!("onTouchStart"!==a.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(a.start,e.onTouchStart,u),n.removeEventListener(a.move,e.onTouchMove,d),n.removeEventListener(a.end,e.onTouchEnd,u),a.cancel&&n.removeEventListener(a.cancel,e.onTouchEnd,u)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(n.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,d),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&n.removeEventListener("click",e.onClick,!0),i.cssMode&&r.removeEventListener("scroll",e.onScroll),e.off(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft)}function wt(){var e=this,t=e.activeIndex,i=e.initialized,a=e.loopedSlides,n=void 0===a?0:a,r=e.params,s=e.$el,o=r.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(l&&e.currentBreakpoint!==l){var d=l in o?o[l]: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 u=d||e.originalParams,c=r.slidesPerColumn>1,p=u.slidesPerColumn>1,v=r.enabled;c&&!p?(s.removeClass(r.containerModifierClass+"multirow "+r.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!c&&p&&(s.addClass(r.containerModifierClass+"multirow"),"column"===u.slidesPerColumnFill&&s.addClass(r.containerModifierClass+"multirow-column"),e.emitContainerClasses());var h=u.direction&&u.direction!==r.direction,f=r.loop&&(u.slidesPerView!==r.slidesPerView||h);h&&i&&e.changeDirection(),me(e.params,u);var m=e.params.enabled;me(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!m?e.disable():!v&&m&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",u),f&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}}function Tt(e,t,i){if(void 0===t&&(t="window"),e&&("container"!==t||i)){var a=!1,n=l(),r="window"===t?n.innerHeight:i.clientHeight,s=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}}));s.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var o=0;o<s.length;o+=1){var d=s[o],u=d.point,c=d.value;"window"===t?n.matchMedia("(min-width: "+c+"px)").matches&&(a=u):c<=i.clientWidth&&(a=u)}return a||"max"}}function xt(e,t){var i=[];return e.forEach((function(e){"object"==typeof e?Object.keys(e).forEach((function(a){e[a]&&i.push(t+a)})):"string"==typeof e&&i.push(t+e)})),i}function St(){var e=this,t=e.classNames,i=e.params,a=e.rtl,n=e.$el,r=e.device,s=e.support,o=xt(["initialized",i.direction,{"pointer-events":s.pointerEvents&&!s.touch},{"free-mode":i.freeMode},{autoheight:i.autoHeight},{rtl:a},{multirow:i.slidesPerColumn>1},{"multirow-column":i.slidesPerColumn>1&&"column"===i.slidesPerColumnFill},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode}],i.containerModifierClass);t.push.apply(t,o),n.addClass([].concat(t).join(" ")),e.emitContainerClasses()}function Mt(){var e=this,t=e.$el,i=e.classNames;t.removeClass(i.join(" ")),e.emitContainerClasses()}function kt(e,t,i,a,n,r){var s,o=l();function d(){r&&r()}T(e).parent("picture")[0]||e.complete&&n?d():t?((s=new o.Image).onload=d,s.onerror=d,a&&(s.sizes=a),i&&(s.srcset=i),t&&(s.src=t)):d()}function Pt(){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 i=0;i<e.imagesToLoad.length;i+=1){var a=e.imagesToLoad[i];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}function zt(){var e=this,t=e.params,i=e.isLocked,a=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&a?e.isLocked=a<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==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,focusableElements:"input, select, option, textarea, button, video, label",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:Oe,updateSlides:Ae,updateAutoHeight:Ie,updateSlidesOffset:Ge,updateSlidesProgress:Be,updateProgress:De,updateSlidesClasses:Ne,updateActiveIndex:Re,updateClickedSlide:Xe},translate:{getTranslate:Ye,setTranslate:We,minTranslate:He,maxTranslate:_e,translateTo:Fe},transition:{setTransition:je,transitionStart:Ve,transitionEnd:qe},slide:{slideTo:Ue,slideToLoop:Ke,slideNext:Je,slidePrev:Qe,slideReset:Ze,slideToClosest:et,slideToClickedSlide:tt},loop:{loopCreate:it,loopFix:at,loopDestroy:nt},grabCursor:{setGrabCursor:rt,unsetGrabCursor:st},manipulation:{appendSlide:ot,prependSlide:lt,addSlide:dt,removeSlide:ut,removeAllSlides:ct},events:{attachEvents:Ct,detachEvents:yt},breakpoints:{setBreakpoint:wt,getBreakpoint:Tt},checkOverflow:{checkOverflow:zt},classes:{addClasses:St,removeClasses:Mt},images:{loadImage:kt,preloadImages:Pt}},Ot={},At=function(){function e(){for(var t,i,a=arguments.length,n=new Array(a),r=0;r<a;r++)n[r]=arguments[r];if(1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?i=n[0]:(t=n[0],i=n[1]),i||(i={}),i=me({},i),t&&!i.el&&(i.el=t),i.el&&T(i.el).length>1){var s=[];return T(i.el).each((function(t){var a=me({},i,{el:t});s.push(new e(a))})),s}var o=this;o.__swiper__=!0,o.support=ye(),o.device=Te({userAgent:i.userAgent}),o.browser=Se(),o.eventsListeners={},o.eventsAnyListeners=[],void 0===o.modules&&(o.modules={}),Object.keys(o.modules).forEach((function(e){var t=o.modules[e];if(t.params){var a=Object.keys(t.params)[0],n=t.params[a];if("object"!=typeof n||null===n)return;if(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===i[a]&&(i[a]={auto:!0}),!(a in i)||!("enabled"in n))return;!0===i[a]&&(i[a]={enabled:!0}),"object"!=typeof i[a]||"enabled"in i[a]||(i[a].enabled=!0),i[a]||(i[a]={enabled:!1})}}));var l,d,u=me({},$t);return o.useParams(u),o.params=me({},u,Ot,i),o.originalParams=me({},o.params),o.passedParams=me({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach((function(e){o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=T,me(o,{enabled:o.params.enabled,el:t,classNames:[],slides:T(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===o.params.direction},isVertical:function(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:(l=["touchstart","touchmove","touchend","touchcancel"],d=["mousedown","mousemove","mouseup"],o.support.pointerEvents&&(d=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},o.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.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,focusableElements:o.params.focusableElements,lastClickTime:pe(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.emit("_swiper"),o.params.init&&o.init(),o}var i=e.prototype;return i.enable=function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},i.disable=function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},i.setProgress=function(e,t){var i=this;e=Math.min(Math.max(e,0),1);var a=i.minTranslate(),n=(i.maxTranslate()-a)*e+a;i.translateTo(n,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()},i.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(" "))}},i.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(" ")},i.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each((function(i){var a=e.getSlideClasses(i);t.push({slideEl:i,classNames:a}),e.emit("_slideClass",i,a)})),e.emit("_slideClasses",t)}},i.slidesPerViewDynamic=function(){var e=this,t=e.params,i=e.slides,a=e.slidesGrid,n=e.size,r=e.activeIndex,s=1;if(t.centeredSlides){for(var o,l=i[r].swiperSlideSize,d=r+1;d<i.length;d+=1)i[d]&&!o&&(s+=1,(l+=i[d].swiperSlideSize)>n&&(o=!0));for(var u=r-1;u>=0;u-=1)i[u]&&!o&&(s+=1,(l+=i[u].swiperSlideSize)>n&&(o=!0))}else for(var c=r+1;c<i.length;c+=1)a[c]-a[r]<n&&(s+=1);return s},i.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(a(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||a(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function a(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},i.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this,a=i.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(""+i.params.containerModifierClass+a).addClass(""+i.params.containerModifierClass+e),i.emitContainerClasses(),i.params.direction=e,i.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i},i.mount=function(e){var t=this;if(t.mounted)return!0;var i=T(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;var a=function(){return"."+(t.params.wrapperClass||"").trim().split(" ").join(".")},n=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=T(e.shadowRoot.querySelector(a()));return t.children=function(e){return i.children(e)},t}return i.children(a())}();if(0===n.length&&t.params.createElements){var r=s().createElement("div");n=T(r),r.className=t.params.wrapperClass,i.append(r),i.children("."+t.params.slideClass).each((function(e){n.append(e)}))}return me(t,{$el:i,el:e,$wrapperEl:n,wrapperEl:n[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===n.css("display")}),!0},i.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},i.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,a=i.params,n=i.$el,r=i.$wrapperEl,s=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),a.loop&&i.loopDestroy(),t&&(i.removeClasses(),n.removeAttr("style"),r.removeAttr("style"),s&&s.length&&s.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,ue(i)),i.destroyed=!0),null},e.extendDefaults=function(e){me(Ot,e)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var i=t.name||Object.keys(e.prototype.modules).length+"_"+pe();e.prototype.modules[i]=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 Ot}},{key:"defaults",get:function(){return $t}}]),e}();Object.keys(Lt).forEach((function(e){Object.keys(Lt[e]).forEach((function(t){At.prototype[t]=Lt[e][t]}))})),At.use([ke,ze]);var It={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,i=e.navigation.toggleEl;if(!e.params.loop){var a=e.navigation,n=a.$nextEl,r=a.$prevEl;r&&r.length>0&&(e.isBeginning?i(r,!0):i(r,!1),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?i(n,!0):i(n,!1),e.params.watchOverflow&&e.enabled&&n[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,i=this,a=i.params.navigation;i.params.navigation=Ee(i.$el,i.params.navigation,i.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(a.nextEl||a.prevEl)&&(a.nextEl&&(e=T(a.nextEl),i.params.uniqueNavElements&&"string"==typeof a.nextEl&&e.length>1&&1===i.$el.find(a.nextEl).length&&(e=i.$el.find(a.nextEl))),a.prevEl&&(t=T(a.prevEl),i.params.uniqueNavElements&&"string"==typeof a.prevEl&&t.length>1&&1===i.$el.find(a.prevEl).length&&(t=i.$el.find(a.prevEl))),e&&e.length>0&&e.on("click",i.navigation.onNextClick),t&&t.length>0&&t.on("click",i.navigation.onPrevClick),me(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),i.enabled||(e&&e.addClass(a.lockClass),t&&t.addClass(a.lockClass)))},destroy:function(){var e=this,t=e.navigation,i=t.$nextEl,a=t.$prevEl;i&&i.length&&(i.off("click",e.navigation.onNextClick),i.removeClass(e.params.navigation.disabledClass)),a&&a.length&&(a.off("click",e.navigation.onPrevClick),a.removeClass(e.params.navigation.disabledClass))}},Gt={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a,n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,s=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((a=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>n-1-2*e.loopedSlides&&(a-=n-2*e.loopedSlides),a>s-1&&(a-=s),a<0&&"bullets"!==e.params.paginationType&&(a=s+a)):a=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,d,u=e.pagination.bullets;if(i.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=a-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=a-e.pagination.dynamicBulletIndex,d=((l=o+(Math.min(u.length,i.dynamicMainBullets)-1))+o)/2),u.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),r.length>1)u.each((function(e){var t=T(e),n=t.index();n===a&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(n>=o&&n<=l&&t.addClass(i.bulletActiveClass+"-main"),n===o&&t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),n===l&&t.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))}));else{var c=u.eq(a),p=c.index();if(c.addClass(i.bulletActiveClass),i.dynamicBullets){for(var v=u.eq(o),h=u.eq(l),f=o;f<=l;f+=1)u.eq(f).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(p>=u.length-i.dynamicMainBullets){for(var m=i.dynamicMainBullets;m>=0;m-=1)u.eq(u.length-m).addClass(i.bulletActiveClass+"-main");u.eq(u.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),h.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),h.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var g=Math.min(u.length,i.dynamicMainBullets+4),b=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,E=t?"right":"left";u.css(e.isHorizontal()?E:"top",b+"px")}}if("fraction"===i.type&&(r.find(be(i.currentClass)).text(i.formatFractionCurrent(a+1)),r.find(be(i.totalClass)).text(i.formatFractionTotal(s))),"progressbar"===i.type){var C;C=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var y=(a+1)/s,w=1,x=1;"horizontal"===C?w=y:x=y,r.find(be(i.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+x+")").transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(r.html(i.renderCustom(e,a+1,s)),e.emit("paginationRender",r[0])):e.emit("paginationUpdate",r[0]),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](i.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 i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el,n="";if("bullets"===t.type){var r=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&r>i&&(r=i);for(var s=0;s<r;s+=1)t.renderBullet?n+=t.renderBullet.call(e,s,t.bulletClass):n+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";a.html(n),e.pagination.bullets=a.find(be(t.bulletClass))}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',a.html(n)),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',a.html(n)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this;e.params.pagination=Ee(e.$el,e.params.pagination,e.params.createElements,{el:"swiper-pagination"});var t=e.params.pagination;if(t.el){var i=T(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click",be(t.bulletClass),(function(t){t.preventDefault();var i=T(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),me(e.pagination,{$el:i,el:i[0]}),e.enabled||i.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 i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click",be(t.bulletClass))}}},Bt={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(a-t,2)+Math.pow(n-i,2))},onGestureStart:function(e){var t=this,i=t.support,a=t.params.zoom,n=t.zoom,r=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!i.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,r.scaleStart=Bt.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("."+a.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||a.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,i=t.support,a=t.params.zoom,n=t.zoom,r=n.gesture;if(!i.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,r.scaleMove=Bt.getDistanceBetweenTouches(e)}r.$imageEl&&0!==r.$imageEl.length?(i.gestures?n.scale=e.scale*n.currentScale:n.scale=r.scaleMove/r.scaleStart*n.currentScale,n.scale>r.maxRatio&&(n.scale=r.maxRatio-1+Math.pow(n.scale-r.maxRatio+1,.5)),n.scale<a.minRatio&&(n.scale=a.minRatio+1-Math.pow(a.minRatio-n.scale+1,.5)),r.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")")):"gesturechange"===e.type&&n.onGestureStart(e)},onGestureEnd:function(e){var t=this,i=t.device,a=t.support,n=t.params.zoom,r=t.zoom,s=r.gesture;if(!a.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!i.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,s.maxRatio),n.minRatio),s.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this,i=t.device,a=t.zoom,n=a.gesture,r=a.image;n.$imageEl&&0!==n.$imageEl.length&&(r.isTouched||(i.android&&e.cancelable&&e.preventDefault(),r.isTouched=!0,r.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,r.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,i=t.zoom,a=i.gesture,n=i.image,r=i.velocity;if(a.$imageEl&&0!==a.$imageEl.length&&(t.allowClick=!1,n.isTouched&&a.$slideEl)){n.isMoved||(n.width=a.$imageEl[0].offsetWidth,n.height=a.$imageEl[0].offsetHeight,n.startX=he(a.$imageWrapEl[0],"x")||0,n.startY=he(a.$imageWrapEl[0],"y")||0,a.slideWidth=a.$slideEl[0].offsetWidth,a.slideHeight=a.$slideEl[0].offsetHeight,a.$imageWrapEl.transition(0),t.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var s=n.width*i.scale,o=n.height*i.scale;if(!(s<a.slideWidth&&o<a.slideHeight)){if(n.minX=Math.min(a.slideWidth/2-s/2,0),n.maxX=-n.minX,n.minY=Math.min(a.slideHeight/2-o/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!n.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=n.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=n.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(n.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(n.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(n.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(n.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=n.touchesCurrent.x,r.prevPositionY=n.touchesCurrent.y,r.prevTime=Date.now(),a.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,a=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var n=300,r=300,s=a.x*n,o=i.currentX+s,l=a.y*r,d=i.currentY+l;0!==a.x&&(n=Math.abs((o-i.currentX)/a.x)),0!==a.y&&(r=Math.abs((d-i.currentY)/a.y));var u=Math.max(n,r);i.currentX=o,i.currentY=d;var c=i.width*e.scale,p=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-c/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-p/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,i=t.gesture;i.$slideEl&&e.previousIndex!==e.activeIndex&&(i.$imageEl&&i.$imageEl.transform("translate3d(0,0,0) scale(1)"),i.$imageWrapEl&&i.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,i.$slideEl=void 0,i.$imageEl=void 0,i.$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,i,a,n,r,s,o,d,u,c,p,v,h,f,m,g,b=this,E=l(),C=b.zoom,y=b.params.zoom,w=C.gesture,T=C.image;w.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?w.$slideEl=b.$wrapperEl.children("."+b.params.slideActiveClass):w.$slideEl=b.slides.eq(b.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),w.$imageWrapEl=w.$imageEl.parent("."+y.containerClass)),w.$imageEl&&0!==w.$imageEl.length&&w.$imageWrapEl&&0!==w.$imageWrapEl.length&&(w.$slideEl.addClass(""+y.zoomedSlideClass),void 0===T.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=T.touchesStart.x,i=T.touchesStart.y),C.scale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,C.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=w.$slideEl[0].offsetWidth,g=w.$slideEl[0].offsetHeight,a=w.$slideEl.offset().left+E.scrollX+m/2-t,n=w.$slideEl.offset().top+E.scrollY+g/2-i,o=w.$imageEl[0].offsetWidth,d=w.$imageEl[0].offsetHeight,u=o*C.scale,c=d*C.scale,h=-(p=Math.min(m/2-u/2,0)),f=-(v=Math.min(g/2-c/2,0)),(r=a*C.scale)<p&&(r=p),r>h&&(r=h),(s=n*C.scale)<v&&(s=v),s>f&&(s=f)):(r=0,s=0),w.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+s+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+C.scale+")"))},out:function(){var e=this,t=e.zoom,i=e.params.zoom,a=t.gesture;a.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?a.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):a.$slideEl=e.slides.eq(e.activeIndex),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent("."+i.containerClass)),a.$imageEl&&0!==a.$imageEl.length&&a.$imageWrapEl&&0!==a.$imageWrapEl.length&&(t.scale=1,t.currentScale=1,a.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),a.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),a.$slideEl.removeClass(""+i.zoomedSlideClass),a.$slideEl=void 0)},toggleGestures:function(e){var t=this,i=t.zoom,a=i.slideSelector,n=i.passiveListener;t.$wrapperEl[e]("gesturestart",a,i.onGestureStart,n),t.$wrapperEl[e]("gesturechange",a,i.onGestureChange,n),t.$wrapperEl[e]("gestureend",a,i.onGestureEnd,n)},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,i=e.zoom;if(!i.enabled){i.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},n=!t.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;e.zoom.passiveListener=a,e.zoom.slideSelector=r,t.gestures?(e.$wrapperEl.on(e.touchEvents.start,e.zoom.enableGestures,a),e.$wrapperEl.on(e.touchEvents.end,e.zoom.disableGestures,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,i.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,r,i.onGestureChange,n),e.$wrapperEl.on(e.touchEvents.end,r,i.onGestureEnd,a),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,i.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,i.onTouchMove,n)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){var i=e.support;e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!i.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},n=!i.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;i.gestures?(e.$wrapperEl.off(e.touchEvents.start,e.zoom.enableGestures,a),e.$wrapperEl.off(e.touchEvents.end,e.zoom.disableGestures,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,r,t.onGestureChange,n),e.$wrapperEl.off(e.touchEvents.end,r,t.onGestureEnd,a),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,n)}}},Dt={getRandomNumber:function(e){void 0===e&&(e=16);var t=function(){return Math.round(16*Math.random()).toString(16)};return"x".repeat(e).replace(/x/g,t)},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-roledescription",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterOrSpaceKey:function(e){if(13===e.keyCode||32===e.keyCode){var t=this,i=t.params.a11y,a=T(e.target);t.navigation&&t.navigation.$nextEl&&a.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(i.lastSlideMessage):t.a11y.notify(i.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&a.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(i.firstSlideMessage):t.a11y.notify(i.prevSlideMessage)),t.pagination&&a.is(be(t.params.pagination.bulletClass))&&a[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop&&e.navigation){var t=e.navigation,i=t.$nextEl,a=t.$prevEl;a&&a.length>0&&(e.isBeginning?(e.a11y.disableEl(a),e.a11y.makeElNotFocusable(a)):(e.a11y.enableEl(a),e.a11y.makeElFocusable(a))),i&&i.length>0&&(e.isEnd?(e.a11y.disableEl(i),e.a11y.makeElNotFocusable(i)):(e.a11y.enableEl(i),e.a11y.makeElFocusable(i)))}},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(i){var a=T(i);e.a11y.makeElFocusable(a),e.params.pagination.renderBullet||(e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,t.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))}))},init:function(){var e=this,t=e.params.a11y;e.$el.append(e.a11y.liveRegion);var i=e.$el;t.containerRoleDescriptionMessage&&e.a11y.addElRoleDescription(i,t.containerRoleDescriptionMessage),t.containerMessage&&e.a11y.addElLabel(i,t.containerMessage);var a,n,r=e.$wrapperEl,s=r.attr("id")||"swiper-wrapper-"+e.a11y.getRandomNumber(16),o=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";e.a11y.addElId(r,s),e.a11y.addElLive(r,o),t.itemRoleDescriptionMessage&&e.a11y.addElRoleDescription(T(e.slides),t.itemRoleDescriptionMessage),e.a11y.addElRole(T(e.slides),t.slideRole),e.slides.each((function(i){var a=T(i),n=t.slideLabelMessage.replace(/\{\{index\}\}/,a.index()+1).replace(/\{\{slidesLength\}\}/,e.slides.length);e.a11y.addElLabel(a,n)})),e.navigation&&e.navigation.$nextEl&&(a=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),a&&a.length&&(e.a11y.makeElFocusable(a),"BUTTON"!==a[0].tagName&&(e.a11y.addElRole(a,"button"),a.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(a,t.nextSlideMessage),e.a11y.addElControls(a,s)),n&&n.length&&(e.a11y.makeElFocusable(n),"BUTTON"!==n[0].tagName&&(e.a11y.addElRole(n,"button"),n.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(n,t.prevSlideMessage),e.a11y.addElControls(n,s)),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,i=this;i.a11y.liveRegion&&i.a11y.liveRegion.length>0&&i.a11y.liveRegion.remove(),i.navigation&&i.navigation.$nextEl&&(e=i.navigation.$nextEl),i.navigation&&i.navigation.$prevEl&&(t=i.navigation.$prevEl),e&&e.off("keydown",i.a11y.onEnterOrSpaceKey),t&&t.off("keydown",i.a11y.onEnterOrSpaceKey),i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.$el.off("keydown",be(i.params.pagination.bulletClass),i.a11y.onEnterOrSpaceKey)}},Nt=[{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){ge(this,{navigation:i({},It)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},"enable disable":function(e){var t=e.navigation,i=t.$nextEl,a=t.$prevEl;i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),a&&a[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)},click:function(e,t){var i=e.navigation,a=i.$nextEl,n=i.$prevEl,r=t.target;if(e.params.navigation.hideOnClick&&!T(r).is(n)&&!T(r).is(a)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===r||e.pagination.el.contains(r)))return;var s;a?s=a.hasClass(e.params.navigation.hiddenClass):n&&(s=n.hasClass(e.params.navigation.hiddenClass)),!0===s?e.emit("navigationShow"):e.emit("navigationHide"),a&&a.toggleClass(e.params.navigation.hiddenClass),n&&n.toggleClass(e.params.navigation.hiddenClass)}}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){ge(this,{pagination:i({dynamicBulletIndex:0},Gt)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},"enable disable":function(e){var t=e.pagination.$el;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)},click:function(e,t){var i=t.target;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&e.pagination.$el.length>0&&!T(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===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:"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:i({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}},Bt)});var t=1;Object.defineProperty(e.zoom,"scale",{get:function(){return t},set:function(i){if(t!==i){var a=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,n=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",i,a,n)}t=i}})},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:"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:i({},Dt,{liveRegion:T('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},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()}}}];return At.use(Nt),At}()}},t={},i=function i(a){var n=t[a];if(void 0!==n)return n.exports;var r=t[a]={exports:{}};return e[a].call(r.exports,r,r.exports,i),r.exports}(5690),i;var e,t,i})); \ No newline at end of file
+!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Swiper670=t():e.Swiper670=t()}(self,(function(){return e={5911:function(e){e.exports=function(){"use strict";function e(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function t(t,i,a){return i&&e(t.prototype,i),a&&e(t,a),t}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},i.apply(this,arguments)}function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function n(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(i){void 0===e[i]?e[i]=t[i]:a(t[i])&&a(e[i])&&Object.keys(t[i]).length>0&&n(e[i],t[i])}))}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 s(){var e="undefined"!=typeof document?document:{};return n(e,r),e}var o={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 l(){var e="undefined"!=typeof window?window:{};return n(e,o),e}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function p(){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 v(e,t,i){return v=p()?Reflect.construct:function(e,t,i){var a=[null];a.push.apply(a,t);var n=new(Function.bind.apply(e,a));return i&&c(n,i.prototype),n},v.apply(null,arguments)}function h(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||!h(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,i)}function i(){return v(e,arguments,u(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),c(i,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 i;return g(m(i=e.call.apply(e,[this].concat(t))||this)),i}return d(t,e),t}(f(Array));function E(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,E(e)):t.push(e)})),t}function C(e,t){return Array.prototype.filter.call(e,t)}function y(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}function w(e,t){if("string"!=typeof e)return[e];for(var i=[],a=t.querySelectorAll(e),n=0;n<a.length;n+=1)i.push(a[n]);return i}function T(e,t){var i=l(),a=s(),n=[];if(!t&&e instanceof b)return e;if(!e)return new b(n);if("string"==typeof e){var r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){var o="div";0===r.indexOf("<li")&&(o="ul"),0===r.indexOf("<tr")&&(o="tbody"),0!==r.indexOf("<td")&&0!==r.indexOf("<th")||(o="tr"),0===r.indexOf("<tbody")&&(o="table"),0===r.indexOf("<option")&&(o="select");var d=a.createElement(o);d.innerHTML=r;for(var u=0;u<d.childNodes.length;u+=1)n.push(d.childNodes[u])}else n=w(e.trim(),t||a)}else if(e.nodeType||e===i||e===a)n.push(e);else if(Array.isArray(e)){if(e instanceof b)return e;n=e}return new b(y(n))}function x(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,a)})),this}function S(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,a)})),this}function M(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));this.forEach((function(e){a.forEach((function(t){e.classList.toggle(t)}))}))}function k(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));return C(this,(function(e){return a.filter((function(t){return e.classList.contains(t)})).length>0})).length>0}function P(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(var a in e)this[i][a]=e[a],this[i].setAttribute(a,e[a]);return this}function z(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function $(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this}function L(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this}function O(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=t[0],n=t[1],r=t[2],s=t[3];function o(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),T(t).is(n))r.apply(t,i);else for(var a=T(t).parents(),s=0;s<a.length;s+=1)T(a[s]).is(n)&&r.apply(a[s],i)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(a=t[0],r=t[1],s=t[2],n=void 0),s||(s=!1);for(var d,u=a.split(" "),c=0;c<this.length;c+=1){var p=this[c];if(n)for(d=0;d<u.length;d+=1){var v=u[d];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[v]||(p.dom7LiveListeners[v]=[]),p.dom7LiveListeners[v].push({listener:r,proxyListener:o}),p.addEventListener(v,o,s)}else for(d=0;d<u.length;d+=1){var h=u[d];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[h]||(p.dom7Listeners[h]=[]),p.dom7Listeners[h].push({listener:r,proxyListener:l}),p.addEventListener(h,l,s)}}return this}function A(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=t[0],n=t[1],r=t[2],s=t[3];"function"==typeof t[1]&&(a=t[0],r=t[1],s=t[2],n=void 0),s||(s=!1);for(var o=a.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],u=0;u<this.length;u+=1){var c=this[u],p=void 0;if(!n&&c.dom7Listeners?p=c.dom7Listeners[d]:n&&c.dom7LiveListeners&&(p=c.dom7LiveListeners[d]),p&&p.length)for(var v=p.length-1;v>=0;v-=1){var h=p[v];r&&h.listener===r||r&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===r?(c.removeEventListener(d,h.proxyListener,s),p.splice(v,1)):r||(c.removeEventListener(d,h.proxyListener,s),p.splice(v,1))}}return this}function I(){for(var e=l(),t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];for(var n=i[0].split(" "),r=i[1],s=0;s<n.length;s+=1)for(var o=n[s],d=0;d<this.length;d+=1){var u=this[d];if(e.CustomEvent){var c=new e.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});u.dom7EventData=i.filter((function(e,t){return t>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}}return this}function G(e){var t=this;function i(a){a.target===this&&(e.call(this,a),t.off("transitionend",i))}return e&&t.on("transitionend",i),this}function B(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 D(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 N(){if(this.length>0){var e=l(),t=s(),i=this[0],a=i.getBoundingClientRect(),n=t.body,r=i.clientTop||n.clientTop||0,o=i.clientLeft||n.clientLeft||0,d=i===e?e.scrollY:i.scrollTop,u=i===e?e.scrollX:i.scrollLeft;return{top:a.top+d-r,left:a.left+u-o}}return null}function R(){var e=l();return this[0]?e.getComputedStyle(this[0],null):{}}function X(e,t){var i,a=l();if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var n in e)this[i].style[n]=e[n];return this}if(this[0])return a.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this}function Y(e){return e?(this.forEach((function(t,i){e.apply(t,[t,i])})),this):this}function W(e){return T(C(this,e))}function H(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function _(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function F(e){var t,i,a=l(),n=s(),r=this[0];if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(t=T(e),i=0;i<t.length;i+=1)if(t[i]===r)return!0;return!1}if(e===n)return r===n;if(e===a)return r===a;if(e.nodeType||e instanceof b){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===r)return!0;return!1}return!1}function j(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function V(e){if(void 0===e)return this;var t=this.length;if(e>t-1)return T([]);if(e<0){var i=t+e;return T(i<0?[]:[this[i]])}return T([this[e]])}function q(){for(var e,t=s(),i=0;i<arguments.length;i+=1){e=i<0||arguments.length<=i?void 0:arguments[i];for(var a=0;a<this.length;a+=1)if("string"==typeof e){var n=t.createElement("div");for(n.innerHTML=e;n.firstChild;)this[a].appendChild(n.firstChild)}else if(e instanceof b)for(var r=0;r<e.length;r+=1)this[a].appendChild(e[r]);else this[a].appendChild(e)}return this}function U(e){var t,i,a=s();for(t=0;t<this.length;t+=1)if("string"==typeof e){var n=a.createElement("div");for(n.innerHTML=e,i=n.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(n.childNodes[i],this[t].childNodes[0])}else if(e instanceof b)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function K(e){return this.length>0?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=[],i=this[0];if(!i)return T([]);for(;i.nextElementSibling;){var a=i.nextElementSibling;e?T(a).is(e)&&t.push(a):t.push(a),i=a}return T(t)}function Q(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 Z(e){var t=[],i=this[0];if(!i)return T([]);for(;i.previousElementSibling;){var a=i.previousElementSibling;e?T(a).is(e)&&t.push(a):t.push(a),i=a}return T(t)}function ee(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?T(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return T(t)}function te(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].parentNode;a;)e?T(a).is(e)&&t.push(a):t.push(a),a=a.parentNode;return T(t)}function ie(e){var t=this;return void 0===e?T([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function ae(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].querySelectorAll(e),n=0;n<a.length;n+=1)t.push(a[n]);return T(t)}function ne(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].children,n=0;n<a.length;n+=1)e&&!T(a[n]).is(e)||t.push(a[n]);return T(t)}function re(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}T.fn=b.prototype;var se,oe,le,de={addClass:x,removeClass:S,hasClass:k,toggleClass:M,attr:P,removeAttr:z,transform:$,transition:L,on:O,off:A,trigger:I,transitionEnd:G,outerWidth:B,outerHeight:D,styles:R,offset:N,css:X,each:Y,html:H,text:_,is:F,index:j,eq:V,append:q,prepend:U,next:K,nextAll:J,prev:Q,prevAll:Z,parent:ee,parents:te,closest:ie,find:ae,children:ne,filter:W,remove:re};function ue(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function ce(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function pe(){return Date.now()}function ve(e){var t,i=l();return i.getComputedStyle&&(t=i.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function he(e,t){void 0===t&&(t="x");var i,a,n,r=l(),s=ve(e);return r.WebKitCSSMatrix?((a=s.transform||s.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),n=new r.WebKitCSSMatrix("none"===a?"":a)):i=(n=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(a=r.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=r.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||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"],i="undefined"!=typeof window?window.HTMLElement:void 0,a=1;a<arguments.length;a+=1){var n=a<0||arguments.length<=a?void 0:arguments[a];if(null!=n&&!(i&&n instanceof i))for(var r=Object.keys(Object(n)).filter((function(e){return t.indexOf(e)<0})),s=0,o=r.length;s<o;s+=1){var l=r[s],d=Object.getOwnPropertyDescriptor(n,l);void 0!==d&&d.enumerable&&(fe(e[l])&&fe(n[l])?n[l].__swiper__?e[l]=n[l]:me(e[l],n[l]):!fe(e[l])&&fe(n[l])?(e[l]={},n[l].__swiper__?e[l]=n[l]:me(e[l],n[l])):e[l]=n[l])}}return e}function ge(e,t){Object.keys(t).forEach((function(i){fe(t[i])&&Object.keys(t[i]).forEach((function(a){"function"==typeof t[i][a]&&(t[i][a]=t[i][a].bind(e))})),e[i]=t[i]}))}function be(e){return void 0===e&&(e=""),"."+e.trim().replace(/([\.:\/])/g,"\\$1").replace(/ /g,".")}function Ee(e,t,i,a){var n=s();return i&&Object.keys(a).forEach((function(i){if(!t[i]&&!0===t.auto){var r=n.createElement("div");r.className=a[i],e.append(r),t[i]=r}})),t}function Ce(){var e=l(),t=s();return{touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!e.PointerEvent&&"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}function ye(){return se||(se=Ce()),se}function we(e){var t=(void 0===e?{}:e).userAgent,i=ye(),a=l(),n=a.navigator.platform,r=t||a.navigator.userAgent,s={ios:!1,android:!1},o=a.screen.width,d=a.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/),c=r.match(/(iPad).*OS\s([\d_]+)/),p=r.match(/(iPod)(.*OS\s([\d_]+))?/),v=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===n,f="MacIntel"===n,m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&f&&i.touch&&m.indexOf(o+"x"+d)>=0&&((c=r.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),f=!1),u&&!h&&(s.os="android",s.android=!0),(c||v||p)&&(s.os="ios",s.ios=!0),s}function Te(e){return void 0===e&&(e={}),oe||(oe=we(e)),oe}function xe(){var e=l();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 le||(le=xe()),le}Object.keys(de).forEach((function(e){Object.defineProperty(T.fn,e,{value:de[e],writable:!0})}));var Me=function(){return void 0!==l().ResizeObserver},ke={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 i=e.width,a=e.height,n=i,r=a;t.forEach((function(t){var i=t.contentBoxSize,a=t.contentRect,s=t.target;s&&s!==e.el||(n=a?a.width:(i[0]||i).inlineSize,r=a?a.height:(i[0]||i).blockSize)})),n===i&&r===a||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=l();e.params.resizeObserver&&Me()?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=l();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},Pe={attach:function(e,t){void 0===t&&(t={});var i=l(),a=this,n=new(i.MutationObserver||i.WebkitMutationObserver)((function(e){if(1!==e.length){var t=function(){a.emit("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}else a.emit("observerUpdate",e[0])}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.observer.observers.push(n)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)e.observer.attach(t[i]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach((function(e){e.disconnect()})),e.observer.observers=[]}},ze={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){ge(this,{observer:i({},Pe,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},$e={useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var a=t.modules[i];a.params&&me(e,a.params)}))},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var a=t.modules[i],n=e[i]||{};a.on&&t.on&&Object.keys(a.on).forEach((function(e){t.on(e,a.on[e])})),a.create&&a.create.bind(t)(n)}))}},Le={on:function(e,t,i){var a=this;if("function"!=typeof t)return a;var n=i?"unshift":"push";return e.split(" ").forEach((function(e){a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][n](t)})),a},once:function(e,t,i){var a=this;if("function"!=typeof t)return a;function n(){a.off(e,n),n.__emitterProxy&&delete n.__emitterProxy;for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];t.apply(a,r)}return n.__emitterProxy=t,a.on(e,n,i)},onAny:function(e,t){var i=this;if("function"!=typeof e)return i;var a=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[a](e),i},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;var i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off:function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((function(a,n){(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&i.eventsListeners[e].splice(n,1)}))})),i):i},emit:function(){var e,t,i,a=this;if(!a.eventsListeners)return a;for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),i=a):(e=r[0].events,t=r[0].data,i=r[0].context||a),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach((function(e){a.eventsAnyListeners&&a.eventsAnyListeners.length&&a.eventsAnyListeners.forEach((function(a){a.apply(i,[e].concat(t))})),a.eventsListeners&&a.eventsListeners[e]&&a.eventsListeners[e].forEach((function(e){e.apply(i,t)}))})),a}};function Oe(){var e,t,i=this,a=i.$el;e=void 0!==i.params.width&&null!==i.params.width?i.params.width:a[0].clientWidth,t=void 0!==i.params.height&&null!==i.params.height?i.params.height:a[0].clientHeight,0===e&&i.isHorizontal()||0===t&&i.isVertical()||(e=e-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),t=t-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),me(i,{width:e,height:t,size:i.isHorizontal()?e:t}))}function Ae(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function i(e,i){return parseFloat(e.getPropertyValue(t(i))||0)}var a=e.params,n=e.$wrapperEl,r=e.size,s=e.rtlTranslate,o=e.wrongRTL,l=e.virtual&&a.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,u=n.children("."+e.params.slideClass),c=l?e.virtual.slides.length:u.length,p=[],v=[],h=[],f=a.slidesOffsetBefore;"function"==typeof f&&(f=a.slidesOffsetBefore.call(e));var m=a.slidesOffsetAfter;"function"==typeof m&&(m=a.slidesOffsetAfter.call(e));var g=e.snapGrid.length,b=e.slidesGrid.length,E=a.spaceBetween,C=-f,y=0,w=0;if(void 0!==r){var T,x;"string"==typeof E&&E.indexOf("%")>=0&&(E=parseFloat(E.replace("%",""))/100*r),e.virtualSize=-E,s?u.css({marginLeft:"",marginTop:""}):u.css({marginRight:"",marginBottom:""}),a.slidesPerColumn>1&&(T=Math.floor(c/a.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/a.slidesPerColumn)*a.slidesPerColumn,"auto"!==a.slidesPerView&&"row"===a.slidesPerColumnFill&&(T=Math.max(T,a.slidesPerView*a.slidesPerColumn)));for(var S,M,k,P=a.slidesPerColumn,z=T/P,$=Math.floor(c/a.slidesPerColumn),L=0;L<c;L+=1){x=0;var O=u.eq(L);if(a.slidesPerColumn>1){var A=void 0,I=void 0,G=void 0;if("row"===a.slidesPerColumnFill&&a.slidesPerGroup>1){var B=Math.floor(L/(a.slidesPerGroup*a.slidesPerColumn)),D=L-a.slidesPerColumn*a.slidesPerGroup*B,N=0===B?a.slidesPerGroup:Math.min(Math.ceil((c-B*P*a.slidesPerGroup)/P),a.slidesPerGroup);A=(I=D-(G=Math.floor(D/N))*N+B*a.slidesPerGroup)+G*T/P,O.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else"column"===a.slidesPerColumnFill?(G=L-(I=Math.floor(L/P))*P,(I>$||I===$&&G===P-1)&&(G+=1)>=P&&(G=0,I+=1)):I=L-(G=Math.floor(L/z))*z;O.css(t("margin-top"),0!==G?a.spaceBetween&&a.spaceBetween+"px":"")}if("none"!==O.css("display")){if("auto"===a.slidesPerView){var R=getComputedStyle(O[0]),X=O[0].style.transform,Y=O[0].style.webkitTransform;if(X&&(O[0].style.transform="none"),Y&&(O[0].style.webkitTransform="none"),a.roundLengths)x=e.isHorizontal()?O.outerWidth(!0):O.outerHeight(!0);else{var W=i(R,"width"),H=i(R,"padding-left"),_=i(R,"padding-right"),F=i(R,"margin-left"),j=i(R,"margin-right"),V=R.getPropertyValue("box-sizing");if(V&&"border-box"===V)x=W+F+j;else{var q=O[0],U=q.clientWidth;x=W+H+_+F+j+(q.offsetWidth-U)}}X&&(O[0].style.transform=X),Y&&(O[0].style.webkitTransform=Y),a.roundLengths&&(x=Math.floor(x))}else x=(r-(a.slidesPerView-1)*E)/a.slidesPerView,a.roundLengths&&(x=Math.floor(x)),u[L]&&(u[L].style[t("width")]=x+"px");u[L]&&(u[L].swiperSlideSize=x),h.push(x),a.centeredSlides?(C=C+x/2+y/2+E,0===y&&0!==L&&(C=C-r/2-E),0===L&&(C=C-r/2-E),Math.abs(C)<.001&&(C=0),a.roundLengths&&(C=Math.floor(C)),w%a.slidesPerGroup==0&&p.push(C),v.push(C)):(a.roundLengths&&(C=Math.floor(C)),(w-Math.min(e.params.slidesPerGroupSkip,w))%e.params.slidesPerGroup==0&&p.push(C),v.push(C),C=C+x+E),e.virtualSize+=x+E,y=x,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+m,s&&o&&("slide"===a.effect||"coverflow"===a.effect)&&n.css({width:e.virtualSize+a.spaceBetween+"px"}),a.setWrapperSize&&n.css(((M={})[t("width")]=e.virtualSize+a.spaceBetween+"px",M)),a.slidesPerColumn>1&&(e.virtualSize=(x+a.spaceBetween)*T,e.virtualSize=Math.ceil(e.virtualSize/a.slidesPerColumn)-a.spaceBetween,n.css(((k={})[t("width")]=e.virtualSize+a.spaceBetween+"px",k)),a.centeredSlides)){S=[];for(var K=0;K<p.length;K+=1){var J=p[K];a.roundLengths&&(J=Math.floor(J)),p[K]<e.virtualSize+p[0]&&S.push(J)}p=S}if(!a.centeredSlides){S=[];for(var Q=0;Q<p.length;Q+=1){var Z=p[Q];a.roundLengths&&(Z=Math.floor(Z)),p[Q]<=e.virtualSize-r&&S.push(Z)}p=S,Math.floor(e.virtualSize-r)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-r)}if(0===p.length&&(p=[0]),0!==a.spaceBetween){var ee,te=e.isHorizontal()&&s?"marginLeft":t("marginRight");u.filter((function(e,t){return!a.cssMode||t!==u.length-1})).css(((ee={})[te]=E+"px",ee))}if(a.centeredSlides&&a.centeredSlidesBounds){var ie=0;h.forEach((function(e){ie+=e+(a.spaceBetween?a.spaceBetween:0)}));var ae=(ie-=a.spaceBetween)-r;p=p.map((function(e){return e<0?-f:e>ae?ae+m:e}))}if(a.centerInsufficientSlides){var ne=0;if(h.forEach((function(e){ne+=e+(a.spaceBetween?a.spaceBetween:0)})),(ne-=a.spaceBetween)<r){var re=(r-ne)/2;p.forEach((function(e,t){p[t]=e-re})),v.forEach((function(e,t){v[t]=e+re}))}}me(e,{slides:u,snapGrid:p,slidesGrid:v,slidesSizesGrid:h}),c!==d&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),v.length!==b&&e.emit("slidesGridLengthChange"),(a.watchSlidesProgress||a.watchSlidesVisibility)&&e.updateSlidesOffset()}}function Ie(e){var t,i=this,a=[],n=i.virtual&&i.params.virtual.enabled,r=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);var s=function(e){return n?i.slides.filter((function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e}))[0]:i.slides.eq(e)[0]};if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>1)if(i.params.centeredSlides)i.visibleSlides.each((function(e){a.push(e)}));else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var o=i.activeIndex+t;if(o>i.slides.length&&!n)break;a.push(s(o))}else a.push(s(i.activeIndex));for(t=0;t<a.length;t+=1)if(void 0!==a[t]){var l=a[t].offsetHeight;r=l>r?l:r}r&&i.$wrapperEl.css("height",r+"px")}function Ge(){for(var e=this,t=e.slides,i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop}function Be(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,a=t.slides,n=t.rtlTranslate;if(0!==a.length){void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;n&&(r=e),a.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<a.length;s+=1){var o=a[s],l=(r+(i.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight){var d=-(r-o.swiperSlideOffset),u=d+t.slidesSizesGrid[s];(d>=0&&d<t.size-1||u>1&&u<=t.size||d<=0&&u>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(s),a.eq(s).addClass(i.slideVisibleClass))}o.progress=n?-l:l}t.visibleSlides=T(t.visibleSlides)}}function De(e){var t=this;if(void 0===e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var a=t.params,n=t.maxTranslate()-t.minTranslate(),r=t.progress,s=t.isBeginning,o=t.isEnd,l=s,d=o;0===n?(r=0,s=!0,o=!0):(s=(r=(e-t.minTranslate())/n)<=0,o=r>=1),me(t,{progress:r,isBeginning:s,isEnd:o}),(a.watchSlidesProgress||a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!d&&t.emit("reachEnd toEdge"),(l&&!s||d&&!o)&&t.emit("fromEdge"),t.emit("progress",r)}function Ne(){var e,t=this,i=t.slides,a=t.params,n=t.$wrapperEl,r=t.activeIndex,s=t.realIndex,o=t.virtual&&a.virtual.enabled;i.removeClass(a.slideActiveClass+" "+a.slideNextClass+" "+a.slidePrevClass+" "+a.slideDuplicateActiveClass+" "+a.slideDuplicateNextClass+" "+a.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+a.slideClass+'[data-swiper-slide-index="'+r+'"]'):i.eq(r)).addClass(a.slideActiveClass),a.loop&&(e.hasClass(a.slideDuplicateClass)?n.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(a.slideDuplicateActiveClass):n.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(a.slideDuplicateActiveClass));var l=e.nextAll("."+a.slideClass).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=i.eq(0)).addClass(a.slideNextClass);var d=e.prevAll("."+a.slideClass).eq(0).addClass(a.slidePrevClass);a.loop&&0===d.length&&(d=i.eq(-1)).addClass(a.slidePrevClass),a.loop&&(l.hasClass(a.slideDuplicateClass)?n.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass):n.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass),d.hasClass(a.slideDuplicateClass)?n.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass):n.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass)),t.emitSlidesClasses()}function Re(e){var t,i=this,a=i.rtlTranslate?i.translate:-i.translate,n=i.slidesGrid,r=i.snapGrid,s=i.params,o=i.activeIndex,l=i.realIndex,d=i.snapIndex,u=e;if(void 0===u){for(var c=0;c<n.length;c+=1)void 0!==n[c+1]?a>=n[c]&&a<n[c+1]-(n[c+1]-n[c])/2?u=c:a>=n[c]&&a<n[c+1]&&(u=c+1):a>=n[c]&&(u=c);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(a)>=0)t=r.indexOf(a);else{var p=Math.min(s.slidesPerGroupSkip,u);t=p+Math.floor((u-p)/s.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),u!==o){var v=parseInt(i.slides.eq(u).attr("data-swiper-slide-index")||u,10);me(i,{snapIndex:t,realIndex:v,previousIndex:o,activeIndex:u}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==v&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}else t!==d&&(i.snapIndex=t,i.emit("snapIndexChange"))}function Xe(e){var t,i=this,a=i.params,n=T(e.target).closest("."+a.slideClass)[0],r=!1;if(n)for(var s=0;s<i.slides.length;s+=1)if(i.slides[s]===n){r=!0,t=s;break}if(!n||!r)return i.clickedSlide=void 0,void(i.clickedIndex=void 0);i.clickedSlide=n,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(T(n).attr("data-swiper-slide-index"),10):i.clickedIndex=t,a.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}function Ye(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,i=t.params,a=t.rtlTranslate,n=t.translate,r=t.$wrapperEl;if(i.virtualTranslate)return a?-n:n;if(i.cssMode)return n;var s=he(r[0],e);return a&&(s=-s),s||0}function We(e,t){var i=this,a=i.rtlTranslate,n=i.params,r=i.$wrapperEl,s=i.wrapperEl,o=i.progress,l=0,d=0,u=0;i.isHorizontal()?l=a?-e:e:d=e,n.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),n.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-d:n.virtualTranslate||r.transform("translate3d("+l+"px, "+d+"px, "+u+"px)"),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:d;var c=i.maxTranslate()-i.minTranslate();(0===c?0:(e-i.minTranslate())/c)!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)}function He(){return-this.snapGrid[0]}function _e(){return-this.snapGrid[this.snapGrid.length-1]}function Fe(e,t,i,a,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===a&&(a=!0);var r=this,s=r.params,o=r.wrapperEl;if(r.animating&&s.preventInteractionOnTransition)return!1;var l,d=r.minTranslate(),u=r.maxTranslate();if(l=a&&e>d?d:a&&e<u?u:e,r.updateProgress(l),s.cssMode){var c,p=r.isHorizontal();return 0===t?o[p?"scrollLeft":"scrollTop"]=-l:o.scrollTo?o.scrollTo(((c={})[p?"left":"top"]=-l,c.behavior="smooth",c)):o[p?"scrollLeft":"scrollTop"]=-l,!0}return 0===t?(r.setTransition(0),r.setTranslate(l),i&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(l),i&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}function je(e,t){var i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)}function Ve(e,t){void 0===e&&(e=!0);var i=this,a=i.activeIndex,n=i.params,r=i.previousIndex;if(!n.cssMode){n.autoHeight&&i.updateAutoHeight();var s=t;if(s||(s=a>r?"next":a<r?"prev":"reset"),i.emit("transitionStart"),e&&a!==r){if("reset"===s)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),"next"===s?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}}}function qe(e,t){void 0===e&&(e=!0);var i=this,a=i.activeIndex,n=i.previousIndex,r=i.params;if(i.animating=!1,!r.cssMode){i.setTransition(0);var s=t;if(s||(s=a>n?"next":a<n?"prev":"reset"),i.emit("transitionEnd"),e&&a!==n){if("reset"===s)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),"next"===s?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}}function Ue(e,t,i,a,n){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var r=parseInt(e,10);if(!isFinite(r))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=r}var s=this,o=e;o<0&&(o=0);var l=s.params,d=s.snapGrid,u=s.slidesGrid,c=s.previousIndex,p=s.activeIndex,v=s.rtlTranslate,h=s.wrapperEl,f=s.enabled;if(s.animating&&l.preventInteractionOnTransition||!f&&!a&&!n)return!1;var m=Math.min(s.params.slidesPerGroupSkip,o),g=m+Math.floor((o-m)/s.params.slidesPerGroup);g>=d.length&&(g=d.length-1),(p||l.initialSlide||0)===(c||0)&&i&&s.emit("beforeSlideChangeStart");var b,E=-d[g];if(s.updateProgress(E),l.normalizeSlideIndex)for(var C=0;C<u.length;C+=1){var y=-Math.floor(100*E),w=Math.floor(100*u[C]),T=Math.floor(100*u[C+1]);void 0!==u[C+1]?y>=w&&y<T-(T-w)/2?o=C:y>=w&&y<T&&(o=C+1):y>=w&&(o=C)}if(s.initialized&&o!==p){if(!s.allowSlideNext&&E<s.translate&&E<s.minTranslate())return!1;if(!s.allowSlidePrev&&E>s.translate&&E>s.maxTranslate()&&(p||0)!==o)return!1}if(b=o>p?"next":o<p?"prev":"reset",v&&-E===s.translate||!v&&E===s.translate)return s.updateActiveIndex(o),l.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==l.effect&&s.setTranslate(E),"reset"!==b&&(s.transitionStart(i,b),s.transitionEnd(i,b)),!1;if(l.cssMode){var x,S=s.isHorizontal(),M=-E;return v&&(M=h.scrollWidth-h.offsetWidth-M),0===t?h[S?"scrollLeft":"scrollTop"]=M:h.scrollTo?h.scrollTo(((x={})[S?"left":"top"]=M,x.behavior="smooth",x)):h[S?"scrollLeft":"scrollTop"]=M,!0}return 0===t?(s.setTransition(0),s.setTranslate(E),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,a),s.transitionStart(i,b),s.transitionEnd(i,b)):(s.setTransition(t),s.setTranslate(E),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,a),s.transitionStart(i,b),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,b))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))),!0}function Ke(e,t,i,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var n=this,r=e;return n.params.loop&&(r+=n.loopedSlides),n.slideTo(r,t,i,a)}function Je(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this,n=a.params,r=a.animating;if(!a.enabled)return a;var s=a.activeIndex<n.slidesPerGroupSkip?1:n.slidesPerGroup;if(n.loop){if(r&&n.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return a.slideTo(a.activeIndex+s,e,t,i)}function Qe(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this,n=a.params,r=a.animating,s=a.snapGrid,o=a.slidesGrid,l=a.rtlTranslate;if(!a.enabled)return a;if(n.loop){if(r&&n.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,c=d(l?a.translate:-a.translate),p=s.map((function(e){return d(e)})),v=s[p.indexOf(c)-1];return void 0===v&&n.cssMode&&s.forEach((function(e){!v&&c>=e&&(v=e)})),void 0!==v&&(u=o.indexOf(v))<0&&(u=a.activeIndex-1),a.slideTo(u,e,t,i)}function Ze(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this;return a.slideTo(a.activeIndex,e,t,i)}function et(e,t,i,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===a&&(a=.5);var n=this,r=n.activeIndex,s=Math.min(n.params.slidesPerGroupSkip,r),o=s+Math.floor((r-s)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[o]){var d=n.snapGrid[o];l-d>(n.snapGrid[o+1]-d)*a&&(r+=n.params.slidesPerGroup)}else{var u=n.snapGrid[o-1];l-u<=(n.snapGrid[o]-u)*a&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,e,t,i)}function tt(){var e,t=this,i=t.params,a=t.$wrapperEl,n="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(T(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?r<t.loopedSlides-n/2||r>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),r=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),ce((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-n?(t.loopFix(),r=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),ce((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}function it(){var e=this,t=s(),i=e.params,a=e.$wrapperEl;a.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var n=a.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var r=i.slidesPerGroup-n.length%i.slidesPerGroup;if(r!==i.slidesPerGroup){for(var o=0;o<r;o+=1){var l=T(t.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);a.append(l)}n=a.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=n.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>n.length&&(e.loopedSlides=n.length);var d=[],u=[];n.each((function(t,i){var a=T(t);i<e.loopedSlides&&u.push(t),i<n.length&&i>=n.length-e.loopedSlides&&d.push(t),a.attr("data-swiper-slide-index",i)}));for(var c=0;c<u.length;c+=1)a.append(T(u[c].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var p=d.length-1;p>=0;p-=1)a.prepend(T(d[p].cloneNode(!0)).addClass(i.slideDuplicateClass))}function at(){var e=this;e.emit("beforeLoopFix");var t,i=e.activeIndex,a=e.slides,n=e.loopedSlides,r=e.allowSlidePrev,s=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var d=-o[i]-e.getTranslate();i<n?(t=a.length-3*n+i,t+=n,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)):i>=a.length-n&&(t=-a.length+i+n,t+=n,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)),e.allowSlidePrev=r,e.allowSlideNext=s,e.emit("loopFix")}function nt(){var e=this,t=e.$wrapperEl,i=e.params,a=e.slides;t.children("."+i.slideClass+"."+i.slideDuplicateClass+",."+i.slideClass+"."+i.slideBlankClass).remove(),a.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 i=t.el;i.style.cursor="move",i.style.cursor=e?"-webkit-grabbing":"-webkit-grab",i.style.cursor=e?"-moz-grabbin":"-moz-grab",i.style.cursor=e?"grabbing":"grab"}}function st(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}function ot(e){var t=this,i=t.$wrapperEl,a=t.params;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&i.append(e[n]);else i.append(e);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update()}function lt(e){var t=this,i=t.params,a=t.$wrapperEl,n=t.activeIndex;i.loop&&t.loopDestroy();var r=n+1;if("object"==typeof e&&"length"in e){for(var s=0;s<e.length;s+=1)e[s]&&a.prepend(e[s]);r=n+e.length}else a.prepend(e);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),t.slideTo(r,0,!1)}function dt(e,t){var i=this,a=i.$wrapperEl,n=i.params,r=i.activeIndex;n.loop&&(r-=i.loopedSlides,i.loopDestroy(),i.slides=a.children("."+n.slideClass));var s=i.slides.length;if(e<=0)i.prependSlide(t);else if(e>=s)i.appendSlide(t);else{for(var o=r>e?r+1:r,l=[],d=s-1;d>=e;d-=1){var u=i.slides.eq(d);u.remove(),l.unshift(u)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&a.append(t[c]);o=r>e?r+t.length:r}else a.append(t);for(var p=0;p<l.length;p+=1)a.append(l[p]);n.loop&&i.loopCreate(),n.observer&&i.support.observer||i.update(),n.loop?i.slideTo(o+i.loopedSlides,0,!1):i.slideTo(o,0,!1)}}function ut(e){var t=this,i=t.params,a=t.$wrapperEl,n=t.activeIndex;i.loop&&(n-=t.loopedSlides,t.loopDestroy(),t.slides=a.children("."+i.slideClass));var r,s=n;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1);s=Math.max(s,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1),s=Math.max(s,0);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),i.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)}function ct(){for(var e=this,t=[],i=0;i<e.slides.length;i+=1)t.push(i);e.removeSlide(t)}function pt(e){var t=this,i=s(),a=l(),n=t.touchEventsData,r=t.params,o=t.touches;if(t.enabled&&(!t.animating||!r.preventInteractionOnTransition)){var d=e;d.originalEvent&&(d=d.originalEvent);var u=T(d.target);if(("wrapper"!==r.touchEventsTarget||u.closest(t.wrapperEl).length)&&(n.isTouchEvent="touchstart"===d.type,(n.isTouchEvent||!("which"in d)||3!==d.which)&&!(!n.isTouchEvent&&"button"in d&&d.button>0||n.isTouched&&n.isMoved)))if(!!r.noSwipingClass&&""!==r.noSwipingClass&&d.target&&d.target.shadowRoot&&e.path&&e.path[0]&&(u=T(e.path[0])),r.noSwiping&&u.closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])t.allowClick=!0;else if(!r.swipeHandler||u.closest(r.swipeHandler)[0]){o.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,o.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;var c=o.currentX,p=o.currentY,v=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,h=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(v&&(c<=h||c>=a.innerWidth-h)){if("prevent"!==v)return;e.preventDefault()}if(me(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=c,o.startY=p,n.touchStartTime=pe(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==d.type){var f=!0;u.is(n.focusableElements)&&(f=!1),i.activeElement&&T(i.activeElement).is(n.focusableElements)&&i.activeElement!==u[0]&&i.activeElement.blur();var m=f&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!m||u[0].isContentEditable||d.preventDefault()}t.emit("touchStart",d)}}}function vt(e){var t=s(),i=this,a=i.touchEventsData,n=i.params,r=i.touches,o=i.rtlTranslate;if(i.enabled){var l=e;if(l.originalEvent&&(l=l.originalEvent),a.isTouched){if(!a.isTouchEvent||"touchmove"===l.type){var d="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?d.pageX:l.pageX,c="touchmove"===l.type?d.pageY:l.pageY;if(l.preventedByNestedSwiper)return r.startX=u,void(r.startY=c);if(!i.allowTouchMove)return i.allowClick=!1,void(a.isTouched&&(me(r,{startX:u,startY:c,currentX:u,currentY:c}),a.touchStartTime=pe()));if(a.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(i.isVertical()){if(c<r.startY&&i.translate<=i.maxTranslate()||c>r.startY&&i.translate>=i.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(u<r.startX&&i.translate<=i.maxTranslate()||u>r.startX&&i.translate>=i.minTranslate())return;if(a.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&T(l.target).is(a.focusableElements))return a.isMoved=!0,void(i.allowClick=!1);if(a.allowTouchCallbacks&&i.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){r.currentX=u,r.currentY=c;var p,v=r.currentX-r.startX,h=r.currentY-r.startY;if(!(i.params.threshold&&Math.sqrt(Math.pow(v,2)+Math.pow(h,2))<i.params.threshold))if(void 0===a.isScrolling&&(i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?a.isScrolling=!1:v*v+h*h>=25&&(p=180*Math.atan2(Math.abs(h),Math.abs(v))/Math.PI,a.isScrolling=i.isHorizontal()?p>n.touchAngle:90-p>n.touchAngle)),a.isScrolling&&i.emit("touchMoveOpposite",l),void 0===a.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){i.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation(),a.isMoved||(n.loop&&i.loopFix(),a.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!n.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),a.isMoved=!0;var f=i.isHorizontal()?v:h;r.diff=f,f*=n.touchRatio,o&&(f=-f),i.swipeDirection=f>0?"prev":"next",a.currentTranslate=f+a.startTranslate;var m=!0,g=n.resistanceRatio;if(n.touchReleaseOnEdges&&(g=0),f>0&&a.currentTranslate>i.minTranslate()?(m=!1,n.resistance&&(a.currentTranslate=i.minTranslate()-1+Math.pow(-i.minTranslate()+a.startTranslate+f,g))):f<0&&a.currentTranslate<i.maxTranslate()&&(m=!1,n.resistance&&(a.currentTranslate=i.maxTranslate()+1-Math.pow(i.maxTranslate()-a.startTranslate-f,g))),m&&(l.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),i.allowSlidePrev||i.allowSlideNext||(a.currentTranslate=a.startTranslate),n.threshold>0){if(!(Math.abs(f)>n.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,a.currentTranslate=a.startTranslate,void(r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&(0===a.velocities.length&&a.velocities.push({position:r[i.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:r[i.isHorizontal()?"currentX":"currentY"],time:pe()})),i.updateProgress(a.currentTranslate),i.setTranslate(a.currentTranslate))}}}}else a.startMoving&&a.isScrolling&&i.emit("touchMoveOpposite",l)}}function ht(e){var t=this,i=t.touchEventsData,a=t.params,n=t.touches,r=t.rtlTranslate,s=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid;if(t.enabled){var d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&a.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);a.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,c=pe(),p=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),p<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=pe(),ce((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===n.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=a.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!a.cssMode)if(a.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(a.freeModeMomentum){if(i.velocities.length>1){var v=i.velocities.pop(),h=i.velocities.pop(),f=v.position-h.position,m=v.time-h.time;t.velocity=f/m,t.velocity/=2,Math.abs(t.velocity)<a.freeModeMinimumVelocity&&(t.velocity=0),(m>150||pe()-v.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeModeMomentumVelocityRatio,i.velocities.length=0;var g=1e3*a.freeModeMomentumRatio,b=t.velocity*g,E=t.translate+b;r&&(E=-E);var C,y,w=!1,T=20*Math.abs(t.velocity)*a.freeModeMomentumBounceRatio;if(E<t.maxTranslate())a.freeModeMomentumBounce?(E+t.maxTranslate()<-T&&(E=t.maxTranslate()-T),C=t.maxTranslate(),w=!0,i.allowMomentumBounce=!0):E=t.maxTranslate(),a.loop&&a.centeredSlides&&(y=!0);else if(E>t.minTranslate())a.freeModeMomentumBounce?(E-t.minTranslate()>T&&(E=t.minTranslate()+T),C=t.minTranslate(),w=!0,i.allowMomentumBounce=!0):E=t.minTranslate(),a.loop&&a.centeredSlides&&(y=!0);else if(a.freeModeSticky){for(var x,S=0;S<l.length;S+=1)if(l[S]>-E){x=S;break}E=-(E=Math.abs(l[x]-E)<Math.abs(l[x-1]-E)||"next"===t.swipeDirection?l[x]:l[x-1])}if(y&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(g=r?Math.abs((-E-t.translate)/t.velocity):Math.abs((E-t.translate)/t.velocity),a.freeModeSticky){var M=Math.abs((r?-E:E)-t.translate),k=t.slidesSizesGrid[t.activeIndex];g=M<k?a.speed:M<2*k?1.5*a.speed:2.5*a.speed}}else if(a.freeModeSticky)return void t.slideToClosest();a.freeModeMomentumBounce&&w?(t.updateProgress(C),t.setTransition(g),t.setTranslate(E),t.transitionStart(!0,t.swipeDirection),t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(a.speed),setTimeout((function(){t.setTranslate(C),s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(E),t.setTransition(g),t.setTranslate(E),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):(t.emit("_freeModeNoMomentumRelease"),t.updateProgress(E)),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(a.freeModeSticky)return void t.slideToClosest();a.freeMode&&t.emit("_freeModeNoMomentumRelease")}(!a.freeModeMomentum||p>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var P=0,z=t.slidesSizesGrid[0],$=0;$<o.length;$+=$<a.slidesPerGroupSkip?1:a.slidesPerGroup){var L=$<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==o[$+L]?u>=o[$]&&u<o[$+L]&&(P=$,z=o[$+L]-o[$]):u>=o[$]&&(P=$,z=o[o.length-1]-o[o.length-2])}var O=(u-o[P])/z,A=P<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(O>=a.longSwipesRatio?t.slideTo(P+A):t.slideTo(P)),"prev"===t.swipeDirection&&(O>1-a.longSwipesRatio?t.slideTo(P+A):t.slideTo(P))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(P+A),"prev"===t.swipeDirection&&t.slideTo(P)):d.target===t.navigation.nextEl?t.slideTo(P+A):t.slideTo(P)}}}}function ft(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var a=e.allowSlideNext,n=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=n,e.allowSlideNext=a,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,i=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var a=e.maxTranslate()-e.minTranslate();(0===a?0:(e.translate-e.minTranslate())/a)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var bt=!1;function Et(){}function Ct(){var e=this,t=s(),i=e.params,a=e.touchEvents,n=e.el,r=e.wrapperEl,o=e.device,l=e.support;e.onTouchStart=pt.bind(e),e.onTouchMove=vt.bind(e),e.onTouchEnd=ht.bind(e),i.cssMode&&(e.onScroll=gt.bind(e)),e.onClick=mt.bind(e);var d=!!i.nested;if(!l.touch&&l.pointerEvents)n.addEventListener(a.start,e.onTouchStart,!1),t.addEventListener(a.move,e.onTouchMove,d),t.addEventListener(a.end,e.onTouchEnd,!1);else{if(l.touch){var u=!("touchstart"!==a.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(a.start,e.onTouchStart,u),n.addEventListener(a.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),n.addEventListener(a.end,e.onTouchEnd,u),a.cancel&&n.addEventListener(a.cancel,e.onTouchEnd,u),bt||(t.addEventListener("touchstart",Et),bt=!0)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(n.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,d),t.addEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&n.addEventListener("click",e.onClick,!0),i.cssMode&&r.addEventListener("scroll",e.onScroll),i.updateOnWindowResize?e.on(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft,!0):e.on("observerUpdate",ft,!0)}function yt(){var e=this,t=s(),i=e.params,a=e.touchEvents,n=e.el,r=e.wrapperEl,o=e.device,l=e.support,d=!!i.nested;if(!l.touch&&l.pointerEvents)n.removeEventListener(a.start,e.onTouchStart,!1),t.removeEventListener(a.move,e.onTouchMove,d),t.removeEventListener(a.end,e.onTouchEnd,!1);else{if(l.touch){var u=!("onTouchStart"!==a.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(a.start,e.onTouchStart,u),n.removeEventListener(a.move,e.onTouchMove,d),n.removeEventListener(a.end,e.onTouchEnd,u),a.cancel&&n.removeEventListener(a.cancel,e.onTouchEnd,u)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(n.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,d),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&n.removeEventListener("click",e.onClick,!0),i.cssMode&&r.removeEventListener("scroll",e.onScroll),e.off(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft)}function wt(){var e=this,t=e.activeIndex,i=e.initialized,a=e.loopedSlides,n=void 0===a?0:a,r=e.params,s=e.$el,o=r.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(l&&e.currentBreakpoint!==l){var d=l in o?o[l]: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 u=d||e.originalParams,c=r.slidesPerColumn>1,p=u.slidesPerColumn>1,v=r.enabled;c&&!p?(s.removeClass(r.containerModifierClass+"multirow "+r.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!c&&p&&(s.addClass(r.containerModifierClass+"multirow"),"column"===u.slidesPerColumnFill&&s.addClass(r.containerModifierClass+"multirow-column"),e.emitContainerClasses());var h=u.direction&&u.direction!==r.direction,f=r.loop&&(u.slidesPerView!==r.slidesPerView||h);h&&i&&e.changeDirection(),me(e.params,u);var m=e.params.enabled;me(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!m?e.disable():!v&&m&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",u),f&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}}function Tt(e,t,i){if(void 0===t&&(t="window"),e&&("container"!==t||i)){var a=!1,n=l(),r="window"===t?n.innerHeight:i.clientHeight,s=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}}));s.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var o=0;o<s.length;o+=1){var d=s[o],u=d.point,c=d.value;"window"===t?n.matchMedia("(min-width: "+c+"px)").matches&&(a=u):c<=i.clientWidth&&(a=u)}return a||"max"}}function xt(e,t){var i=[];return e.forEach((function(e){"object"==typeof e?Object.keys(e).forEach((function(a){e[a]&&i.push(t+a)})):"string"==typeof e&&i.push(t+e)})),i}function St(){var e=this,t=e.classNames,i=e.params,a=e.rtl,n=e.$el,r=e.device,s=e.support,o=xt(["initialized",i.direction,{"pointer-events":s.pointerEvents&&!s.touch},{"free-mode":i.freeMode},{autoheight:i.autoHeight},{rtl:a},{multirow:i.slidesPerColumn>1},{"multirow-column":i.slidesPerColumn>1&&"column"===i.slidesPerColumnFill},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode}],i.containerModifierClass);t.push.apply(t,o),n.addClass([].concat(t).join(" ")),e.emitContainerClasses()}function Mt(){var e=this,t=e.$el,i=e.classNames;t.removeClass(i.join(" ")),e.emitContainerClasses()}function kt(e,t,i,a,n,r){var s,o=l();function d(){r&&r()}T(e).parent("picture")[0]||e.complete&&n?d():t?((s=new o.Image).onload=d,s.onerror=d,a&&(s.sizes=a),i&&(s.srcset=i),t&&(s.src=t)):d()}function Pt(){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 i=0;i<e.imagesToLoad.length;i+=1){var a=e.imagesToLoad[i];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}function zt(){var e=this,t=e.params,i=e.isLocked,a=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&a?e.isLocked=a<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==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,focusableElements:"input, select, option, textarea, button, video, label",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:Oe,updateSlides:Ae,updateAutoHeight:Ie,updateSlidesOffset:Ge,updateSlidesProgress:Be,updateProgress:De,updateSlidesClasses:Ne,updateActiveIndex:Re,updateClickedSlide:Xe},translate:{getTranslate:Ye,setTranslate:We,minTranslate:He,maxTranslate:_e,translateTo:Fe},transition:{setTransition:je,transitionStart:Ve,transitionEnd:qe},slide:{slideTo:Ue,slideToLoop:Ke,slideNext:Je,slidePrev:Qe,slideReset:Ze,slideToClosest:et,slideToClickedSlide:tt},loop:{loopCreate:it,loopFix:at,loopDestroy:nt},grabCursor:{setGrabCursor:rt,unsetGrabCursor:st},manipulation:{appendSlide:ot,prependSlide:lt,addSlide:dt,removeSlide:ut,removeAllSlides:ct},events:{attachEvents:Ct,detachEvents:yt},breakpoints:{setBreakpoint:wt,getBreakpoint:Tt},checkOverflow:{checkOverflow:zt},classes:{addClasses:St,removeClasses:Mt},images:{loadImage:kt,preloadImages:Pt}},Ot={},At=function(){function e(){for(var t,i,a=arguments.length,n=new Array(a),r=0;r<a;r++)n[r]=arguments[r];if(1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?i=n[0]:(t=n[0],i=n[1]),i||(i={}),i=me({},i),t&&!i.el&&(i.el=t),i.el&&T(i.el).length>1){var s=[];return T(i.el).each((function(t){var a=me({},i,{el:t});s.push(new e(a))})),s}var o=this;o.__swiper__=!0,o.support=ye(),o.device=Te({userAgent:i.userAgent}),o.browser=Se(),o.eventsListeners={},o.eventsAnyListeners=[],void 0===o.modules&&(o.modules={}),Object.keys(o.modules).forEach((function(e){var t=o.modules[e];if(t.params){var a=Object.keys(t.params)[0],n=t.params[a];if("object"!=typeof n||null===n)return;if(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===i[a]&&(i[a]={auto:!0}),!(a in i)||!("enabled"in n))return;!0===i[a]&&(i[a]={enabled:!0}),"object"!=typeof i[a]||"enabled"in i[a]||(i[a].enabled=!0),i[a]||(i[a]={enabled:!1})}}));var l,d,u=me({},$t);return o.useParams(u),o.params=me({},u,Ot,i),o.originalParams=me({},o.params),o.passedParams=me({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach((function(e){o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=T,me(o,{enabled:o.params.enabled,el:t,classNames:[],slides:T(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===o.params.direction},isVertical:function(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:(l=["touchstart","touchmove","touchend","touchcancel"],d=["mousedown","mousemove","mouseup"],o.support.pointerEvents&&(d=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},o.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.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,focusableElements:o.params.focusableElements,lastClickTime:pe(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.emit("_swiper"),o.params.init&&o.init(),o}var i=e.prototype;return i.enable=function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},i.disable=function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},i.setProgress=function(e,t){var i=this;e=Math.min(Math.max(e,0),1);var a=i.minTranslate(),n=(i.maxTranslate()-a)*e+a;i.translateTo(n,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()},i.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(" "))}},i.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(" ")},i.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each((function(i){var a=e.getSlideClasses(i);t.push({slideEl:i,classNames:a}),e.emit("_slideClass",i,a)})),e.emit("_slideClasses",t)}},i.slidesPerViewDynamic=function(){var e=this,t=e.params,i=e.slides,a=e.slidesGrid,n=e.size,r=e.activeIndex,s=1;if(t.centeredSlides){for(var o,l=i[r].swiperSlideSize,d=r+1;d<i.length;d+=1)i[d]&&!o&&(s+=1,(l+=i[d].swiperSlideSize)>n&&(o=!0));for(var u=r-1;u>=0;u-=1)i[u]&&!o&&(s+=1,(l+=i[u].swiperSlideSize)>n&&(o=!0))}else for(var c=r+1;c<i.length;c+=1)a[c]-a[r]<n&&(s+=1);return s},i.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(a(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||a(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function a(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},i.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this,a=i.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(""+i.params.containerModifierClass+a).addClass(""+i.params.containerModifierClass+e),i.emitContainerClasses(),i.params.direction=e,i.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i},i.mount=function(e){var t=this;if(t.mounted)return!0;var i=T(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;var a=function(){return"."+(t.params.wrapperClass||"").trim().split(" ").join(".")},n=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=T(e.shadowRoot.querySelector(a()));return t.children=function(e){return i.children(e)},t}return i.children(a())}();if(0===n.length&&t.params.createElements){var r=s().createElement("div");n=T(r),r.className=t.params.wrapperClass,i.append(r),i.children("."+t.params.slideClass).each((function(e){n.append(e)}))}return me(t,{$el:i,el:e,$wrapperEl:n,wrapperEl:n[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===n.css("display")}),!0},i.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},i.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,a=i.params,n=i.$el,r=i.$wrapperEl,s=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),a.loop&&i.loopDestroy(),t&&(i.removeClasses(),n.removeAttr("style"),r.removeAttr("style"),s&&s.length&&s.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,ue(i)),i.destroyed=!0),null},e.extendDefaults=function(e){me(Ot,e)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var i=t.name||Object.keys(e.prototype.modules).length+"_"+pe();e.prototype.modules[i]=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 Ot}},{key:"defaults",get:function(){return $t}}]),e}();Object.keys(Lt).forEach((function(e){Object.keys(Lt[e]).forEach((function(t){At.prototype[t]=Lt[e][t]}))})),At.use([ke,ze]);var It={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,i=e.navigation.toggleEl;if(!e.params.loop){var a=e.navigation,n=a.$nextEl,r=a.$prevEl;r&&r.length>0&&(e.isBeginning?i(r,!0):i(r,!1),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?i(n,!0):i(n,!1),e.params.watchOverflow&&e.enabled&&n[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,i=this,a=i.params.navigation;i.params.navigation=Ee(i.$el,i.params.navigation,i.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(a.nextEl||a.prevEl)&&(a.nextEl&&(e=T(a.nextEl),i.params.uniqueNavElements&&"string"==typeof a.nextEl&&e.length>1&&1===i.$el.find(a.nextEl).length&&(e=i.$el.find(a.nextEl))),a.prevEl&&(t=T(a.prevEl),i.params.uniqueNavElements&&"string"==typeof a.prevEl&&t.length>1&&1===i.$el.find(a.prevEl).length&&(t=i.$el.find(a.prevEl))),e&&e.length>0&&e.on("click",i.navigation.onNextClick),t&&t.length>0&&t.on("click",i.navigation.onPrevClick),me(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),i.enabled||(e&&e.addClass(a.lockClass),t&&t.addClass(a.lockClass)))},destroy:function(){var e=this,t=e.navigation,i=t.$nextEl,a=t.$prevEl;i&&i.length&&(i.off("click",e.navigation.onNextClick),i.removeClass(e.params.navigation.disabledClass)),a&&a.length&&(a.off("click",e.navigation.onPrevClick),a.removeClass(e.params.navigation.disabledClass))}},Gt={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a,n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,s=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((a=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>n-1-2*e.loopedSlides&&(a-=n-2*e.loopedSlides),a>s-1&&(a-=s),a<0&&"bullets"!==e.params.paginationType&&(a=s+a)):a=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,d,u=e.pagination.bullets;if(i.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=a-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=a-e.pagination.dynamicBulletIndex,d=((l=o+(Math.min(u.length,i.dynamicMainBullets)-1))+o)/2),u.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),r.length>1)u.each((function(e){var t=T(e),n=t.index();n===a&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(n>=o&&n<=l&&t.addClass(i.bulletActiveClass+"-main"),n===o&&t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),n===l&&t.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))}));else{var c=u.eq(a),p=c.index();if(c.addClass(i.bulletActiveClass),i.dynamicBullets){for(var v=u.eq(o),h=u.eq(l),f=o;f<=l;f+=1)u.eq(f).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(p>=u.length-i.dynamicMainBullets){for(var m=i.dynamicMainBullets;m>=0;m-=1)u.eq(u.length-m).addClass(i.bulletActiveClass+"-main");u.eq(u.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),h.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),h.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var g=Math.min(u.length,i.dynamicMainBullets+4),b=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,E=t?"right":"left";u.css(e.isHorizontal()?E:"top",b+"px")}}if("fraction"===i.type&&(r.find(be(i.currentClass)).text(i.formatFractionCurrent(a+1)),r.find(be(i.totalClass)).text(i.formatFractionTotal(s))),"progressbar"===i.type){var C;C=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var y=(a+1)/s,w=1,x=1;"horizontal"===C?w=y:x=y,r.find(be(i.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+x+")").transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(r.html(i.renderCustom(e,a+1,s)),e.emit("paginationRender",r[0])):e.emit("paginationUpdate",r[0]),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](i.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 i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el,n="";if("bullets"===t.type){var r=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&r>i&&(r=i);for(var s=0;s<r;s+=1)t.renderBullet?n+=t.renderBullet.call(e,s,t.bulletClass):n+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";a.html(n),e.pagination.bullets=a.find(be(t.bulletClass))}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',a.html(n)),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',a.html(n)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this;e.params.pagination=Ee(e.$el,e.params.pagination,e.params.createElements,{el:"swiper-pagination"});var t=e.params.pagination;if(t.el){var i=T(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click",be(t.bulletClass),(function(t){t.preventDefault();var i=T(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),me(e.pagination,{$el:i,el:i[0]}),e.enabled||i.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 i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click",be(t.bulletClass))}}},Bt={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(a-t,2)+Math.pow(n-i,2))},onGestureStart:function(e){var t=this,i=t.support,a=t.params.zoom,n=t.zoom,r=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!i.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,r.scaleStart=Bt.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("."+a.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||a.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,i=t.support,a=t.params.zoom,n=t.zoom,r=n.gesture;if(!i.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,r.scaleMove=Bt.getDistanceBetweenTouches(e)}r.$imageEl&&0!==r.$imageEl.length?(i.gestures?n.scale=e.scale*n.currentScale:n.scale=r.scaleMove/r.scaleStart*n.currentScale,n.scale>r.maxRatio&&(n.scale=r.maxRatio-1+Math.pow(n.scale-r.maxRatio+1,.5)),n.scale<a.minRatio&&(n.scale=a.minRatio+1-Math.pow(a.minRatio-n.scale+1,.5)),r.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")")):"gesturechange"===e.type&&n.onGestureStart(e)},onGestureEnd:function(e){var t=this,i=t.device,a=t.support,n=t.params.zoom,r=t.zoom,s=r.gesture;if(!a.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!i.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,s.maxRatio),n.minRatio),s.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this,i=t.device,a=t.zoom,n=a.gesture,r=a.image;n.$imageEl&&0!==n.$imageEl.length&&(r.isTouched||(i.android&&e.cancelable&&e.preventDefault(),r.isTouched=!0,r.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,r.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,i=t.zoom,a=i.gesture,n=i.image,r=i.velocity;if(a.$imageEl&&0!==a.$imageEl.length&&(t.allowClick=!1,n.isTouched&&a.$slideEl)){n.isMoved||(n.width=a.$imageEl[0].offsetWidth,n.height=a.$imageEl[0].offsetHeight,n.startX=he(a.$imageWrapEl[0],"x")||0,n.startY=he(a.$imageWrapEl[0],"y")||0,a.slideWidth=a.$slideEl[0].offsetWidth,a.slideHeight=a.$slideEl[0].offsetHeight,a.$imageWrapEl.transition(0),t.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var s=n.width*i.scale,o=n.height*i.scale;if(!(s<a.slideWidth&&o<a.slideHeight)){if(n.minX=Math.min(a.slideWidth/2-s/2,0),n.maxX=-n.minX,n.minY=Math.min(a.slideHeight/2-o/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!n.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=n.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=n.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(n.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(n.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(n.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(n.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=n.touchesCurrent.x,r.prevPositionY=n.touchesCurrent.y,r.prevTime=Date.now(),a.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,a=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var n=300,r=300,s=a.x*n,o=i.currentX+s,l=a.y*r,d=i.currentY+l;0!==a.x&&(n=Math.abs((o-i.currentX)/a.x)),0!==a.y&&(r=Math.abs((d-i.currentY)/a.y));var u=Math.max(n,r);i.currentX=o,i.currentY=d;var c=i.width*e.scale,p=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-c/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-p/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,i=t.gesture;i.$slideEl&&e.previousIndex!==e.activeIndex&&(i.$imageEl&&i.$imageEl.transform("translate3d(0,0,0) scale(1)"),i.$imageWrapEl&&i.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,i.$slideEl=void 0,i.$imageEl=void 0,i.$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,i,a,n,r,s,o,d,u,c,p,v,h,f,m,g,b=this,E=l(),C=b.zoom,y=b.params.zoom,w=C.gesture,T=C.image;w.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?w.$slideEl=b.$wrapperEl.children("."+b.params.slideActiveClass):w.$slideEl=b.slides.eq(b.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),w.$imageWrapEl=w.$imageEl.parent("."+y.containerClass)),w.$imageEl&&0!==w.$imageEl.length&&w.$imageWrapEl&&0!==w.$imageWrapEl.length&&(w.$slideEl.addClass(""+y.zoomedSlideClass),void 0===T.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=T.touchesStart.x,i=T.touchesStart.y),C.scale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,C.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=w.$slideEl[0].offsetWidth,g=w.$slideEl[0].offsetHeight,a=w.$slideEl.offset().left+E.scrollX+m/2-t,n=w.$slideEl.offset().top+E.scrollY+g/2-i,o=w.$imageEl[0].offsetWidth,d=w.$imageEl[0].offsetHeight,u=o*C.scale,c=d*C.scale,h=-(p=Math.min(m/2-u/2,0)),f=-(v=Math.min(g/2-c/2,0)),(r=a*C.scale)<p&&(r=p),r>h&&(r=h),(s=n*C.scale)<v&&(s=v),s>f&&(s=f)):(r=0,s=0),w.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+s+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+C.scale+")"))},out:function(){var e=this,t=e.zoom,i=e.params.zoom,a=t.gesture;a.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?a.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):a.$slideEl=e.slides.eq(e.activeIndex),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent("."+i.containerClass)),a.$imageEl&&0!==a.$imageEl.length&&a.$imageWrapEl&&0!==a.$imageWrapEl.length&&(t.scale=1,t.currentScale=1,a.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),a.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),a.$slideEl.removeClass(""+i.zoomedSlideClass),a.$slideEl=void 0)},toggleGestures:function(e){var t=this,i=t.zoom,a=i.slideSelector,n=i.passiveListener;t.$wrapperEl[e]("gesturestart",a,i.onGestureStart,n),t.$wrapperEl[e]("gesturechange",a,i.onGestureChange,n),t.$wrapperEl[e]("gestureend",a,i.onGestureEnd,n)},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,i=e.zoom;if(!i.enabled){i.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},n=!t.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;e.zoom.passiveListener=a,e.zoom.slideSelector=r,t.gestures?(e.$wrapperEl.on(e.touchEvents.start,e.zoom.enableGestures,a),e.$wrapperEl.on(e.touchEvents.end,e.zoom.disableGestures,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,i.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,r,i.onGestureChange,n),e.$wrapperEl.on(e.touchEvents.end,r,i.onGestureEnd,a),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,i.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,i.onTouchMove,n)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){var i=e.support;e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!i.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},n=!i.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;i.gestures?(e.$wrapperEl.off(e.touchEvents.start,e.zoom.enableGestures,a),e.$wrapperEl.off(e.touchEvents.end,e.zoom.disableGestures,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,r,t.onGestureChange,n),e.$wrapperEl.off(e.touchEvents.end,r,t.onGestureEnd,a),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,n)}}},Dt={getRandomNumber:function(e){void 0===e&&(e=16);var t=function(){return Math.round(16*Math.random()).toString(16)};return"x".repeat(e).replace(/x/g,t)},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-roledescription",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterOrSpaceKey:function(e){if(13===e.keyCode||32===e.keyCode){var t=this,i=t.params.a11y,a=T(e.target);t.navigation&&t.navigation.$nextEl&&a.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(i.lastSlideMessage):t.a11y.notify(i.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&a.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(i.firstSlideMessage):t.a11y.notify(i.prevSlideMessage)),t.pagination&&a.is(be(t.params.pagination.bulletClass))&&a[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop&&e.navigation){var t=e.navigation,i=t.$nextEl,a=t.$prevEl;a&&a.length>0&&(e.isBeginning?(e.a11y.disableEl(a),e.a11y.makeElNotFocusable(a)):(e.a11y.enableEl(a),e.a11y.makeElFocusable(a))),i&&i.length>0&&(e.isEnd?(e.a11y.disableEl(i),e.a11y.makeElNotFocusable(i)):(e.a11y.enableEl(i),e.a11y.makeElFocusable(i)))}},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(i){var a=T(i);e.a11y.makeElFocusable(a),e.params.pagination.renderBullet||(e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,t.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))}))},init:function(){var e=this,t=e.params.a11y;e.$el.append(e.a11y.liveRegion);var i=e.$el;t.containerRoleDescriptionMessage&&e.a11y.addElRoleDescription(i,t.containerRoleDescriptionMessage),t.containerMessage&&e.a11y.addElLabel(i,t.containerMessage);var a,n,r=e.$wrapperEl,s=r.attr("id")||"swiper-wrapper-"+e.a11y.getRandomNumber(16),o=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";e.a11y.addElId(r,s),e.a11y.addElLive(r,o),t.itemRoleDescriptionMessage&&e.a11y.addElRoleDescription(T(e.slides),t.itemRoleDescriptionMessage),e.a11y.addElRole(T(e.slides),t.slideRole),e.slides.each((function(i){var a=T(i),n=t.slideLabelMessage.replace(/\{\{index\}\}/,a.index()+1).replace(/\{\{slidesLength\}\}/,e.slides.length);e.a11y.addElLabel(a,n)})),e.navigation&&e.navigation.$nextEl&&(a=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),a&&a.length&&(e.a11y.makeElFocusable(a),"BUTTON"!==a[0].tagName&&(e.a11y.addElRole(a,"button"),a.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(a,t.nextSlideMessage),e.a11y.addElControls(a,s)),n&&n.length&&(e.a11y.makeElFocusable(n),"BUTTON"!==n[0].tagName&&(e.a11y.addElRole(n,"button"),n.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(n,t.prevSlideMessage),e.a11y.addElControls(n,s)),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,i=this;i.a11y.liveRegion&&i.a11y.liveRegion.length>0&&i.a11y.liveRegion.remove(),i.navigation&&i.navigation.$nextEl&&(e=i.navigation.$nextEl),i.navigation&&i.navigation.$prevEl&&(t=i.navigation.$prevEl),e&&e.off("keydown",i.a11y.onEnterOrSpaceKey),t&&t.off("keydown",i.a11y.onEnterOrSpaceKey),i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.$el.off("keydown",be(i.params.pagination.bulletClass),i.a11y.onEnterOrSpaceKey)}},Nt=[{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){ge(this,{navigation:i({},It)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},"enable disable":function(e){var t=e.navigation,i=t.$nextEl,a=t.$prevEl;i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),a&&a[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)},click:function(e,t){var i=e.navigation,a=i.$nextEl,n=i.$prevEl,r=t.target;if(e.params.navigation.hideOnClick&&!T(r).is(n)&&!T(r).is(a)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===r||e.pagination.el.contains(r)))return;var s;a?s=a.hasClass(e.params.navigation.hiddenClass):n&&(s=n.hasClass(e.params.navigation.hiddenClass)),!0===s?e.emit("navigationShow"):e.emit("navigationHide"),a&&a.toggleClass(e.params.navigation.hiddenClass),n&&n.toggleClass(e.params.navigation.hiddenClass)}}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){ge(this,{pagination:i({dynamicBulletIndex:0},Gt)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},"enable disable":function(e){var t=e.pagination.$el;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)},click:function(e,t){var i=t.target;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&e.pagination.$el.length>0&&!T(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===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:"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:i({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}},Bt)});var t=1;Object.defineProperty(e.zoom,"scale",{get:function(){return t},set:function(i){if(t!==i){var a=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,n=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",i,a,n)}t=i}})},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:"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:i({},Dt,{liveRegion:T('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},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()}}}];return At.use(Nt),At}()}},t={},i=function i(a){var n=t[a];if(void 0!==n)return n.exports;var r=t[a]={exports:{}};return e[a].call(r.exports,r,r.exports,i),r.exports}(5911),i;var e,t,i})); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.asset.php b/plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.asset.php
index ba194820..33157f38 100644
--- a/plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.asset.php
+++ b/plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '22ed1bb121ac4c6d7d90711ed27cb818'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '5c4219095a0504b27e4f');
diff --git a/plugins/jetpack/_inc/build/connect-button.min.asset.php b/plugins/jetpack/_inc/build/connect-button.min.asset.php
index db75820b..862ddb7c 100644
--- a/plugins/jetpack/_inc/build/connect-button.min.asset.php
+++ b/plugins/jetpack/_inc/build/connect-button.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'c521dfda8ced79158f30d8b2eef5bfdd'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '7e82a11d60451a204cce');
diff --git a/plugins/jetpack/_inc/build/connect-button.min.js b/plugins/jetpack/_inc/build/connect-button.min.js
index c05ffc2c..0a55a524 100644
--- a/plugins/jetpack/_inc/build/connect-button.min.js
+++ b/plugins/jetpack/_inc/build/connect-button.min.js
@@ -1 +1 @@
-jQuery(document).ready((function(n){var e=n(".jp-connect-button, .jp-banner__alt-connect-button").eq(0),t=n(".jp-connect-full__tos-blurb"),o=n('<iframe class="jp-jetpack-connect__iframe" />'),a=n("#jetpack-connection-cards, .jp-connect-full__dismiss-paragraph, .jp-connect-full__testimonial"),i="";e.on("click",(function(e){if(e.preventDefault(),"undefined"==typeof URLSearchParams)i="";else{var t=new URLSearchParams(n(this).prop("search"));i=t&&t.get("from")}a.length&&a.fadeOut(600),c.startConnectionFlow()}));var c={isRegistering:!1,isPaidPlan:!1,startConnectionFlow:function(){var e=n("#jetpack-connection-cards, .jp-connect-full__testimonial");e.length&&e.fadeOut(600),c.isRegistering||c.handleConnection()},selectAndStartAuthorizationFlow:function(n){n.allowInplaceAuthorization&&"original"!==jpConnect.forceVariation?c.handleAuthorizeInPlaceFlow(n):n.alternateAuthorizeUrl?window.location=n.alternateAuthorizeUrl:window.location=n.authorizeUrl},handleConnection:function(){if(e.hasClass("jp-banner__alt-connect-button")){var o=i&&"&from="+i||"";window.location=jpConnect.connectInPlaceUrl+o}else{c.isRegistering=!0,t.hide(),e.hide(),c.triggerLoadingState();var a=jpConnect.apiBaseUrl+"/connection/register";window.Initial_State&&window.Initial_State.calypsoEnv&&(a=a+"?"+n.param({calypso_env:window.Initial_State.calypsoEnv})),n.ajax({url:a,type:"POST",data:{registration_nonce:jpConnect.registrationNonce,_wpnonce:jpConnect.apiNonce,from:i,no_iframe:"original"===jpConnect.forceVariation},error:c.handleConnectionError,success:c.selectAndStartAuthorizationFlow})}},triggerLoadingState:function(){var e=n("<span>").addClass("jp-connect-full__button-container-loading").text(jpConnect.buttonTextRegistering).appendTo(".jp-connect-full__button-container"),t=n("<div>").addClass("jp-spinner"),o=n("<div>").addClass("jp-spinner__outer").appendTo(t);n("<div>").addClass("jp-spinner__inner").appendTo(o),e.after(t)},handleAuthorizeInPlaceFlow:function(e){window.addEventListener("message",c.receiveData),o.attr("src",e.authorizeUrl+"&from="+i+"&iframe_source=jetpack-connect-main"),o.on("load",(function(){o.show(),n(".jp-connect-full__button-container").hide(),n("#jp-connect-full__step1-header").hide(),n("#jp-connect-full__step2-header").show()})),o.hide(),n(".jp-connect-full__button-container").after(o);var t=document.createElement("link");t.rel="preload",t.as="script",t.href=jpConnect.preFetchScript,document.head.appendChild(t)},fetchPlanType:function(){return n.ajax({url:jpConnect.apiBaseUrl+"/site",type:"GET",data:{_wpnonce:jpConnect.apiSiteDataNonce},success:function(n){var e=JSON.parse(n.data);c.isPaidPlan=e.options.is_pending_plan||!e.plan.is_free}})},receiveData:function(n){if(n.origin===jpConnect.jetpackApiDomain&&n.source===o.get(0).contentWindow)switch(n.data){case"close":window.removeEventListener("message",this.receiveData),c.handleAuthorizationComplete();break;case"wpcom_nocookie":o.hide(),c.handleConnectionError()}},handleAuthorizationComplete:function(){c.isRegistering=!1,c.fetchPlanType().always((function(){if(c.isPaidPlan){var n=document.createElement("a");n.href=jpConnect.dashboardUrl;var e=window.location.pathname===n.pathname&&window.location.hash.length&&n.hash.length;window.location.assign(jpConnect.dashboardUrl),e&&window.location.reload(!0)}else window.location.assign(jpConnect.plansPromptUrl)}))},handleConnectionError:function(n){c.isRegistering=!1,window.location=e.attr("href")}};i=location.hash.split("&from=")[1]})); \ No newline at end of file
+jQuery(document).ready((function(n){var e=n(".jp-connect-button, .jp-banner__alt-connect-button").eq(0),t=n(".jp-connect-full__tos-blurb"),a=n("#jetpack-connection-cards, .jp-connect-full__dismiss-paragraph, .jp-connect-full__testimonial"),o="";e.on("click",(function(e){if(e.preventDefault(),"undefined"==typeof URLSearchParams)o="";else{var t=new URLSearchParams(n(this).prop("search"));o=t&&t.get("from")}a.length&&a.fadeOut(600),i.startConnectionFlow()}));var i={isRegistering:!1,isPaidPlan:!1,startConnectionFlow:function(){var e=n("#jetpack-connection-cards, .jp-connect-full__testimonial");e.length&&e.fadeOut(600),i.isRegistering||i.handleConnection()},startAuthorizationFlow:function(n){n.alternateAuthorizeUrl?window.location=n.alternateAuthorizeUrl:window.location=n.authorizeUrl},handleConnection:function(){if(e.hasClass("jp-banner__alt-connect-button")){var a=o&&"&from="+o||"";window.location=jpConnect.connectInPlaceUrl+a}else{i.isRegistering=!0,t.hide(),e.hide(),i.triggerLoadingState();var r=jpConnect.apiBaseUrl+"/connection/register";window.Initial_State&&window.Initial_State.calypsoEnv&&(r=r+"?"+n.param({calypso_env:window.Initial_State.calypsoEnv})),n.ajax({url:r,type:"POST",data:{registration_nonce:jpConnect.registrationNonce,_wpnonce:jpConnect.apiNonce,from:o},error:i.handleConnectionError,success:i.startAuthorizationFlow})}},triggerLoadingState:function(){var e=n("<span>").addClass("jp-connect-full__button-container-loading").text(jpConnect.buttonTextRegistering).appendTo(".jp-connect-full__button-container"),t=n("<div>").addClass("jp-spinner"),a=n("<div>").addClass("jp-spinner__outer").appendTo(t);n("<div>").addClass("jp-spinner__inner").appendTo(a),e.after(t)},fetchPlanType:function(){return n.ajax({url:jpConnect.apiBaseUrl+"/site",type:"GET",data:{_wpnonce:jpConnect.apiSiteDataNonce},success:function(n){var e=JSON.parse(n.data);i.isPaidPlan=e.options.is_pending_plan||!e.plan.is_free}})},receiveData:function(n){if(n.origin===jpConnect.jetpackApiDomain)switch(n.data){case"close":window.removeEventListener("message",this.receiveData),i.handleAuthorizationComplete();break;case"wpcom_nocookie":i.handleConnectionError()}},handleAuthorizationComplete:function(){i.isRegistering=!1,i.fetchPlanType().always((function(){if(i.isPaidPlan){var n=document.createElement("a");n.href=jpConnect.dashboardUrl;var e=window.location.pathname===n.pathname&&window.location.hash.length&&n.hash.length;window.location.assign(jpConnect.dashboardUrl),e&&window.location.reload(!0)}else window.location.assign(jpConnect.plansPromptUrl)}))},handleConnectionError:function(n){i.isRegistering=!1,window.location=e.attr("href")}};o=location.hash.split("&from=")[1]})); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/contact-form/js/editor-view.min.asset.php b/plugins/jetpack/_inc/build/contact-form/js/editor-view.min.asset.php
index e66c42a3..03a6b287 100644
--- a/plugins/jetpack/_inc/build/contact-form/js/editor-view.min.asset.php
+++ b/plugins/jetpack/_inc/build/contact-form/js/editor-view.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'ebeb66f7693136e660e09a24ea4dba3d'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'be23ac1ecdd756597e40');
diff --git a/plugins/jetpack/_inc/build/contact-form/js/grunion-admin.min.asset.php b/plugins/jetpack/_inc/build/contact-form/js/grunion-admin.min.asset.php
index ec683686..3795cb4a 100644
--- a/plugins/jetpack/_inc/build/contact-form/js/grunion-admin.min.asset.php
+++ b/plugins/jetpack/_inc/build/contact-form/js/grunion-admin.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'a154f36d301eb7253ef00d164609a0b3'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'a2298af12124ff37a73d');
diff --git a/plugins/jetpack/_inc/build/contact-form/js/grunion-frontend.min.asset.php b/plugins/jetpack/_inc/build/contact-form/js/grunion-frontend.min.asset.php
index c6773ae1..ae0fd08d 100644
--- a/plugins/jetpack/_inc/build/contact-form/js/grunion-frontend.min.asset.php
+++ b/plugins/jetpack/_inc/build/contact-form/js/grunion-frontend.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '7120c3986b6fbd13f1084132ab99da0b'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '529c9d52a58b3c436d90');
diff --git a/plugins/jetpack/_inc/build/contact-form/js/grunion.min.asset.php b/plugins/jetpack/_inc/build/contact-form/js/grunion.min.asset.php
index 8f0a288a..1cc7d0ca 100644
--- a/plugins/jetpack/_inc/build/contact-form/js/grunion.min.asset.php
+++ b/plugins/jetpack/_inc/build/contact-form/js/grunion.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '3719f4fe5ce6b577313a734a0b0733ca'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'f0936a7798471f5dc525');
diff --git a/plugins/jetpack/_inc/build/contact-form/js/tinymce-plugin-form-button.min.asset.php b/plugins/jetpack/_inc/build/contact-form/js/tinymce-plugin-form-button.min.asset.php
index e4c55802..14b8634c 100644
--- a/plugins/jetpack/_inc/build/contact-form/js/tinymce-plugin-form-button.min.asset.php
+++ b/plugins/jetpack/_inc/build/contact-form/js/tinymce-plugin-form-button.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '0c1f6956c0645edfffe0066350fa70f9'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'cf94be393a7072e63d7e');
diff --git a/plugins/jetpack/_inc/build/crowdsignal-shortcode.min.asset.php b/plugins/jetpack/_inc/build/crowdsignal-shortcode.min.asset.php
index 5c26fb5b..adcd0369 100644
--- a/plugins/jetpack/_inc/build/crowdsignal-shortcode.min.asset.php
+++ b/plugins/jetpack/_inc/build/crowdsignal-shortcode.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '42f2cd5dccaff654c7694b772ffde2c0'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'ed7438c9107a722fe018');
diff --git a/plugins/jetpack/_inc/build/crowdsignal-survey.min.asset.php b/plugins/jetpack/_inc/build/crowdsignal-survey.min.asset.php
index 50ad917a..34dda8fd 100644
--- a/plugins/jetpack/_inc/build/crowdsignal-survey.min.asset.php
+++ b/plugins/jetpack/_inc/build/crowdsignal-survey.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '7e5286ba460c4587c7cb85f390a18a92'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '8f8946751b2acf2b4098');
diff --git a/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css-preview.min.asset.php b/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css-preview.min.asset.php
index 2c2fb988..6200eb05 100644
--- a/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css-preview.min.asset.php
+++ b/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css-preview.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '874b21320dad46cf0b1a03b06972761e'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'd0f1e52bedda0e8d71f0');
diff --git a/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.core-4.9.min.asset.php b/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.core-4.9.min.asset.php
index daffb398..c376954a 100644
--- a/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.core-4.9.min.asset.php
+++ b/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.core-4.9.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '4b484eda5061c06dcad91273f2834913'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '101b216624bfa9e6a849');
diff --git a/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.min.asset.php b/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.min.asset.php
index 2022d089..dbd1bdb3 100644
--- a/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.min.asset.php
+++ b/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '8a8570e5695ca0187633938be109fdfb'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'db55320b901cec83554e');
diff --git a/plugins/jetpack/_inc/build/custom-css/custom-css/js/css-editor.min.asset.php b/plugins/jetpack/_inc/build/custom-css/custom-css/js/css-editor.min.asset.php
index 41bbacd1..723e2f66 100644
--- a/plugins/jetpack/_inc/build/custom-css/custom-css/js/css-editor.min.asset.php
+++ b/plugins/jetpack/_inc/build/custom-css/custom-css/js/css-editor.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '0c0e12187237e9a94805654278f41eb4'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'a7fc86e0f09a5a5e166d');
diff --git a/plugins/jetpack/_inc/build/custom-css/custom-css/js/use-codemirror.min.asset.php b/plugins/jetpack/_inc/build/custom-css/custom-css/js/use-codemirror.min.asset.php
index 9e02163e..43b31917 100644
--- a/plugins/jetpack/_inc/build/custom-css/custom-css/js/use-codemirror.min.asset.php
+++ b/plugins/jetpack/_inc/build/custom-css/custom-css/js/use-codemirror.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'a0fce8e24703a4859eb74563e0ac8c5a'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '5c7f15d0c19bca568f08');
diff --git a/plugins/jetpack/_inc/build/custom-post-types/comics/comics.min.asset.php b/plugins/jetpack/_inc/build/custom-post-types/comics/comics.min.asset.php
index b5e5aa4c..a5a1d7a7 100644
--- a/plugins/jetpack/_inc/build/custom-post-types/comics/comics.min.asset.php
+++ b/plugins/jetpack/_inc/build/custom-post-types/comics/comics.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '8cd712b6f7fe9a17d7b40a4a89c3299a'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'ee090827803a65bc40fc');
diff --git a/plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.asset.php b/plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.asset.php
index b12e9a28..aef1d540 100644
--- a/plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.asset.php
+++ b/plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '55129492b2bbbc4e61d5526cb0c62524'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '164e1ff8990280e6911b');
diff --git a/plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.asset.php b/plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.asset.php
index cba55c27..ac0a03ef 100644
--- a/plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.asset.php
+++ b/plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'e5de6666e4d5e9cfb33bb94f6a6b5f60'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '0de8e00a9030e015e1c1');
diff --git a/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.asset.php b/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.asset.php
index 1a1d57aa..6efd44c7 100644
--- a/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.asset.php
+++ b/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'cc88ce45366e1e9157427a3bc6087f01'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '760ddd0796b7da00ab21');
diff --git a/plugins/jetpack/_inc/build/facebook-embed.min.asset.php b/plugins/jetpack/_inc/build/facebook-embed.min.asset.php
index f735f6a0..10390087 100644
--- a/plugins/jetpack/_inc/build/facebook-embed.min.asset.php
+++ b/plugins/jetpack/_inc/build/facebook-embed.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '396a3f4c8835cd4c5480139ec4b3342f'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'e2fe4208d73cc95fe9e0');
diff --git a/plugins/jetpack/_inc/build/gallery-settings.min.asset.php b/plugins/jetpack/_inc/build/gallery-settings.min.asset.php
index e53608b8..f31e45a1 100644
--- a/plugins/jetpack/_inc/build/gallery-settings.min.asset.php
+++ b/plugins/jetpack/_inc/build/gallery-settings.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '764afdfb08801fecc905b1a067ffc327'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'b60364641b904026b49d');
diff --git a/plugins/jetpack/_inc/build/idc-notice.min.js b/plugins/jetpack/_inc/build/idc-notice.min.js
deleted file mode 100644
index 0d410e4b..00000000
--- a/plugins/jetpack/_inc/build/idc-notice.min.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/* global idcL10n, jQuery, analytics, history, wpCookies */
-!function(e){var i,c=idcL10n.nonce,n=idcL10n.currentUrl,t=idcL10n.apiRoot,o=e(".jp-idc-notice"),a=e(".jp-idc-notice .dops-button"),r=idcL10n.tracksUserData,s=idcL10n.tracksEventData,d=e("#wp-admin-bar-jetpack-idc"),f=e("#jp-idc-confirm-safe-mode-action"),p=e("#jp-idc-fix-connection-action"),l=e("#jp-idc-migrate-action"),u=e("#jp-idc-reconnect-site-action"),m=e(".jp-idc-error__notice"),_=!1;function h(){a.prop("disabled",!0)}function j(){a.prop("disabled",!1)}function k(){m.hide(),g("confirm_safe_mode");var i=t+"jetpack/v4/identity-crisis/confirm-safe-mode";h(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",c)},url:i,data:{},success:function(){o.hide(),d.removeClass("hide"),window.location.search&&1===window.location.search.indexOf("page=jetpack")&&window.location.reload()},error:function(e){_="confirm",v(e),j()}})}function w(){m.hide(),g("migrate");var i=t+"jetpack/v4/identity-crisis/migrate";h(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",c)},url:i,data:{},success:function(){o.hide(),e("body").hasClass("toplevel_page_jetpack")&&window.location.reload(!0)},error:function(e){_="migrate",v(e),j()}})}function y(){m.hide(),g("start_fresh");var i=t+"jetpack/v4/identity-crisis/start-fresh";h(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",c)},url:i,data:{},success:function(e){window.location=e+"&from=idc-notice"},error:function(e){_="start-fresh",v(e),j()}})}function v(i){var c=e(".jp-idc-error__desc");i&&i.responseJSON&&i.responseJSON.message?c.html(i.responseJSON.message):c.html(""),m.css("display","flex")}function g(e,i){void 0!==i&&"object"==typeof i||(i={}),e&&e.length&&"undefined"!=typeof analytics&&analytics.tracks&&analytics.mc&&(e=0!==(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,analytics.tracks.recordEvent(e,i),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),analytics.mc.bumpStat("jetpack-idc",e))}"undefined"!=typeof analytics&&analytics.initialize(r.userid,r.username),s.isAdmin?g("notice_view"):g("non_admin_notice_view",{page:s.currentScreen}),i=void 0!==i&&i,window.location.search&&-1!==window.location.search.indexOf("jetpack_idc_clear_confirmation")&&(g("clear_confirmation_clicked"),history&&history.pushState?history.pushState({},"",n):i&&(window.location.href=n)),o.on("click",".notice-dismiss",function(){var e="https:"===window.location.protocol;wpCookies.set("jetpack_idc_dismiss_notice","1",604800,!1,!1,e),g("non_admin_notice_dismiss",{page:s.currentScreen})}),o.on("click","#jp-idc-error__action",function(){switch(m.hide(),_){case"confirm":k();break;case"start-fresh":y();break;case"migrate":w();break;default:return}}),f.on("click",k),p.on("click",function(){m.hide(),g("fix_connection"),o.addClass("jp-idc-show-second-step")}),u.on("click",y),l.on("click",w)}(jQuery); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/images/green-star-b0ac6af62d4c43bd4d04ca6abb9c2e83.svg b/plugins/jetpack/_inc/build/images/green-star-b0ac6af62d4c43bd4d04ca6abb9c2e83.svg
deleted file mode 100644
index 0e389b6f..00000000
--- a/plugins/jetpack/_inc/build/images/green-star-b0ac6af62d4c43bd4d04ca6abb9c2e83.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg width="105" height="105" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M85.16 71.382l.898 10.75-10.78.425-3.285 10.275-10.12-3.733-6.966 8.236-7.923-7.322-9.589 4.944-4.516-9.797-10.75.898-.426-10.78-10.274-3.285 3.733-10.12-8.236-6.966 7.322-7.923-4.943-9.589 9.796-4.516-.898-10.75 10.78-.426 3.285-10.274 10.12 3.733 6.966-8.236 7.923 7.322 9.589-4.943 4.516 9.796 10.75-.898.425 10.78 10.275 3.285-3.733 10.12 8.236 6.966-7.322 7.923 4.944 9.588-9.797 4.517z" fill="#00BE28"/></svg> \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/images/header-background-2x-1763392f68916f8e33e1.jpg b/plugins/jetpack/_inc/build/images/header-background-2x-1763392f68916f8e33e1.jpg
new file mode 100644
index 00000000..1213a35a
--- /dev/null
+++ b/plugins/jetpack/_inc/build/images/header-background-2x-1763392f68916f8e33e1.jpg
Binary files differ
diff --git a/plugins/jetpack/_inc/build/images/header-background-c0f56cae4d269449fbdc.jpg b/plugins/jetpack/_inc/build/images/header-background-c0f56cae4d269449fbdc.jpg
new file mode 100644
index 00000000..99621567
--- /dev/null
+++ b/plugins/jetpack/_inc/build/images/header-background-c0f56cae4d269449fbdc.jpg
Binary files differ
diff --git a/plugins/jetpack/images/jetpack-license-activation-with-lock.png b/plugins/jetpack/_inc/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png
index ea421dc0..ea421dc0 100644
--- a/plugins/jetpack/images/jetpack-license-activation-with-lock.png
+++ b/plugins/jetpack/_inc/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png
Binary files differ
diff --git a/plugins/jetpack/images/jetpack-license-activation-with-success.png b/plugins/jetpack/_inc/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png
index a2562d9b..a2562d9b 100644
--- a/plugins/jetpack/images/jetpack-license-activation-with-success.png
+++ b/plugins/jetpack/_inc/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png
Binary files differ
diff --git a/plugins/jetpack/_inc/build/images/people-c8df8440a2897e6d0eba.svg b/plugins/jetpack/_inc/build/images/people-c8df8440a2897e6d0eba.svg
new file mode 100644
index 00000000..1a7a346a
--- /dev/null
+++ b/plugins/jetpack/_inc/build/images/people-c8df8440a2897e6d0eba.svg
@@ -0,0 +1,6 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M12.5 17L12.5 15C12.5 13.8954 11.6046 13 10.5 13L6.5 13C5.39543 13 4.5 13.8954 4.5 15L4.5 17" stroke="white" stroke-width="1.5"/>
+<path d="M19.5 17V15C19.5 13.8954 18.6046 13 17.5 13H15" stroke="white" stroke-width="1.5"/>
+<circle cx="15.5" cy="8.5" r="1.75" stroke="white" stroke-width="1.5"/>
+<circle cx="8.5" cy="8.5" r="1.75" stroke="white" stroke-width="1.5"/>
+</svg>
diff --git a/plugins/jetpack/_inc/build/infinite-scroll/infinity-customizer.min.asset.php b/plugins/jetpack/_inc/build/infinite-scroll/infinity-customizer.min.asset.php
index 78f312f6..2f956450 100644
--- a/plugins/jetpack/_inc/build/infinite-scroll/infinity-customizer.min.asset.php
+++ b/plugins/jetpack/_inc/build/infinite-scroll/infinity-customizer.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '5af10c37c496277b339af1f1457f39cf'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '230d58b9e83391f8d18c');
diff --git a/plugins/jetpack/_inc/build/infinite-scroll/infinity.min.asset.php b/plugins/jetpack/_inc/build/infinite-scroll/infinity.min.asset.php
index 76c63ad7..e76fb369 100644
--- a/plugins/jetpack/_inc/build/infinite-scroll/infinity.min.asset.php
+++ b/plugins/jetpack/_inc/build/infinite-scroll/infinity.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '7af9bd7d9866b7f7620a1a8aa96a9ce7'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'a03ee67f61c922de9ef7');
diff --git a/plugins/jetpack/_inc/build/instant-search/407.js b/plugins/jetpack/_inc/build/instant-search/407.js
deleted file mode 100644
index 038bd365..00000000
--- a/plugins/jetpack/_inc/build/instant-search/407.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see 407.js.LICENSE.txt */
-(self.webpackChunkJetpack=self.webpackChunkJetpack||[]).push([[407],{7538:function(t){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},9183:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,e.apply(this,arguments)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0},2213:function(t){!function(){"use strict";var e=[],n=3988292384;function r(t){var e,r,o,i,u=-1;for(e=0,o=t.length;e<o;e+=1){for(i=255&(u^t[e]),r=0;r<8;r+=1)1==(1&i)?i=i>>>1^n:i>>>=1;u=u>>>8^i}return-1^u}function o(t,n){var r,i,u;if(void 0!==o.crc&&n&&t||(o.crc=-1,t)){for(r=o.crc,i=0,u=t.length;i<u;i+=1)r=r>>>8^e[255&(r^t[i])];return o.crc=r,-1^r}}!function(){var t,r,o;for(r=0;r<256;r+=1){for(t=r,o=0;o<8;o+=1)1&t?t=n^t>>>1:t>>>=1;e[r]=t>>>0}}(),t.exports=function(t,e){var n;t="string"==typeof t?(n=t,Array.prototype.map.call(n,(function(t){return t.charCodeAt(0)}))):t;return((e?r(t):o(t))>>>0).toString(16)},t.exports.direct=r,t.exports.table=o}()},8027:function(t){"use strict";t.exports=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var n,r="boolean"==typeof e.cycles&&e.cycles,o=e.cmp&&(n=e.cmp,function(t){return function(e,r){var o={key:e,value:t[e]},i={key:r,value:t[r]};return n(o,i)}}),i=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var n,u;if(Array.isArray(e)){for(u="[",n=0;n<e.length;n++)n&&(u+=","),u+=t(e[n])||"null";return u+"]"}if(null===e)return"null";if(-1!==i.indexOf(e)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var c=i.push(e)-1,s=Object.keys(e).sort(o&&o(e));for(u="",n=0;n<s.length;n++){var a=s[n],f=t(e[a]);f&&(u&&(u+=","),u+=JSON.stringify(a)+":"+f)}return i.splice(c,1),"{"+u+"}"}}(t)}},3266:function(t,e,n){"use strict";var r=n(364),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function s(t){return r.isMemo(t)?u:c[t.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=u;var a=Object.defineProperty,f=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(d){var o=_(n);o&&o!==d&&t(e,o,r)}var u=f(n);l&&(u=u.concat(l(n)));for(var c=s(e),h=s(n),v=0;v<u.length;++v){var y=u[v];if(!(i[y]||r&&r[y]||h&&h[y]||c&&c[y])){var m=p(n,y);try{a(e,y,m)}catch(t){}}}}return e}},4546:function(t){"use strict";t.exports=function(t,e,n,r,o,i,u,c){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=[n,r,o,i,u,c],f=0;(s=new Error(e.replace(/%s/g,(function(){return a[f++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},2596:function(t,e,n){var r=n(2373).Symbol;t.exports=r},8644:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},563:function(t,e,n){var r=n(2596),o=n(8703),i=n(888),u=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?o(t):i(t)}},6316:function(t,e,n){var r=n(2596),o=n(8644),i=n(163),u=n(1995),c=r?r.prototype:void 0,s=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(u(e))return s?s.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},1367:function(t,e,n){var r=n(4120),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},2117:function(t){var e="object"==typeof window&&window&&window.Object===Object&&window;t.exports=e},8703:function(t,e,n){var r=n(2596),o=Object.prototype,i=o.hasOwnProperty,u=o.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(e?t[c]=n:delete t[c]),o}},888:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},2373:function(t,e,n){var r=n(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},4120:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},5034:function(t,e,n){var r=n(7709),o=n(6987),i=n(5812),u=Math.max,c=Math.min;t.exports=function(t,e,n){var s,a,f,l,p,_,d=0,h=!1,v=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function m(e){var n=s,r=a;return s=a=void 0,d=e,l=t.apply(r,n)}function b(t){return d=t,p=setTimeout(w,e),h?m(t):l}function g(t){var n=t-_;return void 0===_||n>=e||n<0||v&&t-d>=f}function w(){var t=o();if(g(t))return x(t);p=setTimeout(w,function(t){var n=e-(t-_);return v?c(n,f-(t-d)):n}(t))}function x(t){return p=void 0,y&&s?m(t):(s=a=void 0,l)}function P(){var t=o(),n=g(t);if(s=arguments,a=this,_=t,n){if(void 0===p)return b(_);if(v)return clearTimeout(p),p=setTimeout(w,e),m(_)}return void 0===p&&(p=setTimeout(w,e)),l}return e=i(e)||0,r(n)&&(h=!!n.leading,f=(v="maxWait"in n)?u(i(n.maxWait)||0,e):f,y="trailing"in n?!!n.trailing:y),P.cancel=function(){void 0!==p&&clearTimeout(p),d=0,s=_=a=p=void 0},P.flush=function(){return void 0===p?l:x(o())},P}},163:function(t){var e=Array.isArray;t.exports=e},7709:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},1995:function(t,e,n){var r=n(563),o=n(3474);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},6987:function(t,e,n){var r=n(2373);t.exports=function(){return r.Date.now()}},5812:function(t,e,n){var r=n(1367),o=n(7709),i=n(1995),u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||s.test(t)?a(t.slice(2),n?2:8):u.test(t)?NaN:+t}},7010:function(t,e,n){var r=n(6316);t.exports=function(t){return null==t?"":r(t)}},660:function(t,e,n){var r=n(7010),o=0;t.exports=function(t){var e=++o;return r(t)+e}},278:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(2213),o=n.n(r),i=n(8211),u=n.n(i),c=(0,n(6597).Z)("photon"),s={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},a="__domain__.invalid",f="http://".concat(a);function l(t,e){var n;try{n=new URL(t,f)}catch(t){return null}var r,i,l,p,_,d="https:"===n.protocol,h=new URL("https://i0.wp.com");if(_=n.host,/^i[0-2]\.wp\.com$/.test(_))h.pathname=n.pathname,h.hostname=n.hostname;else{if(n.search)return null;var v=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(v=n.pathname.replace("://","//")),n.hostname===a&&(v=n.pathname),h.pathname=v,h.hostname=(r=v,i=o()(r),l=u()(i),p="i"+Math.floor(3*l()),c('determined server "%s" to use with "%s"',p,r),p+".wp.com"),d&&h.searchParams.set("ssl",1)}if(e)for(var y in e)"host"!==y&&"hostname"!==y?"secure"!==y||e[y]?h.searchParams.set(s[y]||y,e[y]):h.protocol="http:":h.hostname=e[y];return c("generated Photon URL: %s",h.href),h.href}},5151:function(t,e,n){"use strict";n.d(e,{d4:function(){return r.d4},sO:function(){return r.sO},eJ:function(){return r.eJ},Vf:function(){return o.Vf},HY:function(){return o.HY},wA:function(){return o.wA},jz:function(){return g},Vx:function(){return c}});var r=n(426),o=n(2695);function i(t,e){for(var n in e)t[n]=e[n];return t}function u(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var r in e)if("__source"!==r&&t[r]!==e[r])return!0;return!1}function c(t){this.props=t}(c.prototype=new o.wA).isPureReactComponent=!0,c.prototype.shouldComponentUpdate=function(t,e){return u(this.props,t)||u(this.state,e)};var s=o.YM.__b;o.YM.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),s&&s(t)};var a="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var f=function(t,e){return null==t?null:(0,o.bR)((0,o.bR)(t).map(e))},l={map:f,forEach:f,count:function(t){return t?(0,o.bR)(t).length:0},only:function(t){var e=(0,o.bR)(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:o.bR},p=o.YM.__e;o.YM.__e=function(t,e,n){if(t.then)for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),r.__c(t,e);p(t,e,n)};var _=o.YM.unmount;function d(){this.__u=0,this.t=null,this.__b=null}function h(t){var e=t.__.__c;return e&&e.__e&&e.__e(t)}function v(){this.u=null,this.o=null}o.YM.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&!0===t.__h&&(t.type=null),_&&_(t)},(d.prototype=new o.wA).__c=function(t,e){var n=e.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=h(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(c):c())};n.__R=u;var c=function(){if(!--r.__u){if(r.state.__e){var t=r.state.__e;r.__v.__k[0]=function t(e,n,r){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)})),e.__c&&e.__c.__P===n&&(e.__e&&r.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=r)),e}(t,t.__c.__P,t.__c.__O)}var e;for(r.setState({__e:r.__b=null});e=r.t.pop();)e.forceUpdate()}},s=!0===e.__h;r.__u++||s||r.setState({__e:r.__b=r.__v.__k[0]}),t.then(u,u)},d.prototype.componentWillUnmount=function(){this.t=[]},d.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function t(e,n,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),e.__c.__H=null),null!=(e=i({},e)).__c&&(e.__c.__P===r&&(e.__c.__P=n),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)}))),e}(this.__b,n,r.__O=r.__P)}this.__b=null}var u=e.__e&&(0,o.az)(o.HY,null,t.fallback);return u&&(u.__h=null),[(0,o.az)(o.HY,null,e.__e?null:t.children),u]};var y=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function m(t){return this.getChildContext=function(){return t.context},t.children}function b(t){var e=this,n=t.i;e.componentWillUnmount=function(){(0,o.sY)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),t.__v?(e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(t){this.childNodes.push(t),e.i.appendChild(t)},insertBefore:function(t,n){this.childNodes.push(t),e.i.appendChild(t)},removeChild:function(t){this.childNodes.splice(this.childNodes.indexOf(t)>>>1,1),e.i.removeChild(t)}}),(0,o.sY)((0,o.az)(m,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function g(t,e){return(0,o.az)(b,{__v:t,i:e})}(v.prototype=new o.wA).__e=function(t){var e=this,n=h(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),y(e,t,r)):o()};n?n(i):i()}},v.prototype.render=function(t){this.u=null,this.o=new Map;var e=(0,o.bR)(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},v.prototype.componentDidUpdate=v.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(e,n){y(t,n,e)}))};var w="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,x=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,P="undefined"!=typeof document,O=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t)};o.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(o.wA.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var S=o.YM.event;function C(){}function E(){return this.cancelBubble}function k(){return this.defaultPrevented}o.YM.event=function(t){return S&&(t=S(t)),t.persist=C,t.isPropagationStopped=E,t.isDefaultPrevented=k,t.nativeEvent=t};var M,T={configurable:!0,get:function(){return this.class}},j=o.YM.vnode;o.YM.vnode=function(t){var e=t.type,n=t.props,r=n;if("string"==typeof e){var i=-1===e.indexOf("-");for(var u in r={},n){var c=n[u];P&&"children"===u&&"noscript"===e||"value"===u&&"defaultValue"in n&&null==c||("defaultValue"===u&&"value"in n&&null==n.value?u="value":"download"===u&&!0===c?c="":/ondoubleclick/i.test(u)?u="ondblclick":/^onchange(textarea|input)/i.test(u+e)&&!O(n.type)?u="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(u)?u=u.toLowerCase():i&&x.test(u)?u=u.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===c&&(c=void 0),r[u]=c)}"select"==e&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,o.bR)(n.children).forEach((function(t){t.props.selected=-1!=r.value.indexOf(t.props.value)}))),"select"==e&&null!=r.defaultValue&&(r.value=(0,o.bR)(n.children).forEach((function(t){t.props.selected=r.multiple?-1!=r.defaultValue.indexOf(t.props.value):r.defaultValue==t.props.value}))),t.props=r}e&&n.class!=n.className&&(T.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",T)),t.$$typeof=w,j&&j(t)};var N=o.YM.__r;o.YM.__r=function(t){N&&N(t),M=t.__c};var R={ReactCurrentDispatcher:{current:{readContext:function(t){return M.__n[t.__c].props.value}}}};function A(t){return!!t&&t.$$typeof===w}o.HY;e.ZP={useState:r.eJ,useReducer:r._Y,useEffect:r.d4,useLayoutEffect:r.bt,useRef:r.sO,useImperativeHandle:r.aP,useMemo:r.Ye,useCallback:r.I4,useContext:r.qp,useDebugValue:r.Qb,version:"17.0.2",Children:l,render:function(t,e,n){return null==e.__k&&(e.textContent=""),(0,o.sY)(t,e),"function"==typeof n&&n(),t?t.__c:null},hydrate:function(t,e,n){return(0,o.ZB)(t,e),"function"==typeof n&&n(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&((0,o.sY)(null,t),!0)},createPortal:g,createElement:o.az,createContext:o.kr,createFactory:function(t){return o.az.bind(null,t)},cloneElement:function(t){return A(t)?o.Tm.apply(null,arguments):t},createRef:o.Vf,Fragment:o.HY,isValidElement:A,findDOMNode:function(t){return t&&(t.base||1===t.nodeType&&t)||null},Component:o.wA,PureComponent:c,memo:function(t,e){function n(t){var n=this.props.ref,r=n==t.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!r:u(this.props,t)}function r(e){return this.shouldComponentUpdate=n,(0,o.az)(t,e)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(t){function e(e,n){var r=i({},e);return delete r.ref,t(r,(n=e.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return e.$$typeof=a,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e},flushSync:function(t,e){return t(e)},unstable_batchedUpdates:function(t,e){return t(e)},StrictMode:o.HY,Suspense:d,SuspenseList:v,lazy:function(t){var e,n,r;function i(i){if(e||(e=t()).then((function(t){n=t.default||t}),(function(t){r=t})),r)throw r;if(!n)throw e;return(0,o.az)(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:R}},2695:function(t,e,n){"use strict";n.d(e,{sY:function(){return U},ZB:function(){return I},az:function(){return h},HY:function(){return m},Vf:function(){return y},wA:function(){return b},Tm:function(){return $},kr:function(){return H},bR:function(){return C},YM:function(){return o}});var r,o,i,u,c,s,a,f={},l=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function _(t,e){for(var n in e)t[n]=e[n];return t}function d(t){var e=t.parentNode;e&&e.removeChild(t)}function h(t,e,n){var o,i,u,c={};for(u in e)"key"==u?o=e[u]:"ref"==u?i=e[u]:c[u]=e[u];if(arguments.length>2&&(c.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(u in t.defaultProps)void 0===c[u]&&(c[u]=t.defaultProps[u]);return v(t,c,o,i,null)}function v(t,e,n,r,u){var c={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++i:u};return null==u&&null!=o.vnode&&o.vnode(c),c}function y(){return{current:null}}function m(t){return t.children}function b(t,e){this.props=t,this.context=e}function g(t,e){if(null==e)return t.__?g(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?g(t):null}function w(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return w(t)}}function x(t){(!t.__d&&(t.__d=!0)&&u.push(t)&&!P.__r++||s!==o.debounceRendering)&&((s=o.debounceRendering)||c)(P)}function P(){for(var t;P.__r=u.length;)t=u.sort((function(t,e){return t.__v.__b-e.__v.__b})),u=[],t.some((function(t){var e,n,r,o,i,u;t.__d&&(i=(o=(e=t).__v).__e,(u=e.__P)&&(n=[],(r=_({},o)).__v=o.__v+1,N(u,o,r,e.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?g(o):i,o.__h),R(n,o),o.__e!=i&&w(o)))}))}function O(t,e,n,r,o,i,u,c,s,a){var p,_,d,h,y,b,w,x=r&&r.__k||l,P=x.length;for(n.__k=[],p=0;p<e.length;p++)if(null!=(h=n.__k[p]=null==(h=e[p])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?v(null,h,null,null,h):Array.isArray(h)?v(m,{children:h},null,null,null):h.__b>0?v(h.type,h.props,h.key,null,h.__v):h)){if(h.__=n,h.__b=n.__b+1,null===(d=x[p])||d&&h.key==d.key&&h.type===d.type)x[p]=void 0;else for(_=0;_<P;_++){if((d=x[_])&&h.key==d.key&&h.type===d.type){x[_]=void 0;break}d=null}N(t,h,d=d||f,o,i,u,c,s,a),y=h.__e,(_=h.ref)&&d.ref!=_&&(w||(w=[]),d.ref&&w.push(d.ref,null,h),w.push(_,h.__c||y,h)),null!=y?(null==b&&(b=y),"function"==typeof h.type&&h.__k===d.__k?h.__d=s=S(h,s,t):s=E(t,h,d,x,y,s),"function"==typeof n.type&&(n.__d=s)):s&&d.__e==s&&s.parentNode!=t&&(s=g(d))}for(n.__e=b,p=P;p--;)null!=x[p]&&("function"==typeof n.type&&null!=x[p].__e&&x[p].__e==n.__d&&(n.__d=g(r,p+1)),D(x[p],x[p]));if(w)for(p=0;p<w.length;p++)Y(w[p],w[++p],w[++p])}function S(t,e,n){for(var r,o=t.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=t,e="function"==typeof r.type?S(r,e,n):E(n,r,r,o,r.__e,e));return e}function C(t,e){return e=e||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some((function(t){C(t,e)})):e.push(t)),e}function E(t,e,n,r,o,i){var u,c,s;if(void 0!==e.__d)u=e.__d,e.__d=void 0;else if(null==n||o!=i||null==o.parentNode)t:if(null==i||i.parentNode!==t)t.appendChild(o),u=null;else{for(c=i,s=0;(c=c.nextSibling)&&s<r.length;s+=2)if(c==o)break t;t.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function k(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]=null==n?"":"number"!=typeof n||p.test(e)?n:n+"px"}function M(t,e,n,r,o){var i;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||k(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||k(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r||t.addEventListener(e,i?j:T,i):t.removeEventListener(e,i?j:T,i);else if("dangerouslySetInnerHTML"!==e){if(o)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null!=n&&(!1!==n||"a"===e[0]&&"r"===e[1])?t.setAttribute(e,n):t.removeAttribute(e))}}function T(t){this.l[t.type+!1](o.event?o.event(t):t)}function j(t){this.l[t.type+!0](o.event?o.event(t):t)}function N(t,e,n,r,i,u,c,s,a){var f,l,p,d,h,v,y,g,w,x,P,S=e.type;if(void 0!==e.constructor)return null;null!=n.__h&&(a=n.__h,s=e.__e=n.__e,e.__h=null,u=[s]),(f=o.__b)&&f(e);try{t:if("function"==typeof S){if(g=e.props,w=(f=S.contextType)&&r[f.__c],x=f?w?w.props.value:f.__:r,n.__c?y=(l=e.__c=n.__c).__=l.__E:("prototype"in S&&S.prototype.render?e.__c=l=new S(g,x):(e.__c=l=new b(g,x),l.constructor=S,l.render=Z),w&&w.sub(l),l.props=g,l.state||(l.state={}),l.context=x,l.__n=r,p=l.__d=!0,l.__h=[]),null==l.__s&&(l.__s=l.state),null!=S.getDerivedStateFromProps&&(l.__s==l.state&&(l.__s=_({},l.__s)),_(l.__s,S.getDerivedStateFromProps(g,l.__s))),d=l.props,h=l.state,p)null==S.getDerivedStateFromProps&&null!=l.componentWillMount&&l.componentWillMount(),null!=l.componentDidMount&&l.__h.push(l.componentDidMount);else{if(null==S.getDerivedStateFromProps&&g!==d&&null!=l.componentWillReceiveProps&&l.componentWillReceiveProps(g,x),!l.__e&&null!=l.shouldComponentUpdate&&!1===l.shouldComponentUpdate(g,l.__s,x)||e.__v===n.__v){l.props=g,l.state=l.__s,e.__v!==n.__v&&(l.__d=!1),l.__v=e,e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),l.__h.length&&c.push(l);break t}null!=l.componentWillUpdate&&l.componentWillUpdate(g,l.__s,x),null!=l.componentDidUpdate&&l.__h.push((function(){l.componentDidUpdate(d,h,v)}))}l.context=x,l.props=g,l.state=l.__s,(f=o.__r)&&f(e),l.__d=!1,l.__v=e,l.__P=t,f=l.render(l.props,l.state,l.context),l.state=l.__s,null!=l.getChildContext&&(r=_(_({},r),l.getChildContext())),p||null==l.getSnapshotBeforeUpdate||(v=l.getSnapshotBeforeUpdate(d,h)),P=null!=f&&f.type===m&&null==f.key?f.props.children:f,O(t,Array.isArray(P)?P:[P],e,n,r,i,u,c,s,a),l.base=e.__e,e.__h=null,l.__h.length&&c.push(l),y&&(l.__E=l.__=null),l.__e=!1}else null==u&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=A(n.__e,e,n,r,i,u,c,a);(f=o.diffed)&&f(e)}catch(t){e.__v=null,(a||null!=u)&&(e.__e=s,e.__h=!!a,u[u.indexOf(s)]=null),o.__e(t,e,n)}}function R(t,e){o.__c&&o.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(t){o.__e(t,e.__v)}}))}function A(t,e,n,o,i,u,c,s){var a,l,p,_=n.props,h=e.props,v=e.type,y=0;if("svg"===v&&(i=!0),null!=u)for(;y<u.length;y++)if((a=u[y])&&(a===t||(v?a.localName==v:3==a.nodeType))){t=a,u[y]=null;break}if(null==t){if(null===v)return document.createTextNode(h);t=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,h.is&&h),u=null,s=!1}if(null===v)_===h||s&&t.data===h||(t.data=h);else{if(u=u&&r.call(t.childNodes),l=(_=n.props||f).dangerouslySetInnerHTML,p=h.dangerouslySetInnerHTML,!s){if(null!=u)for(_={},y=0;y<t.attributes.length;y++)_[t.attributes[y].name]=t.attributes[y].value;(p||l)&&(p&&(l&&p.__html==l.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(t,e,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in e||M(t,i,null,n[i],r);for(i in e)o&&"function"!=typeof e[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===e[i]||M(t,i,e[i],n[i],r)}(t,h,_,i,s),p)e.__k=[];else if(y=e.props.children,O(t,Array.isArray(y)?y:[y],e,n,o,i&&"foreignObject"!==v,u,c,u?u[0]:n.__k&&g(n,0),s),null!=u)for(y=u.length;y--;)null!=u[y]&&d(u[y]);s||("value"in h&&void 0!==(y=h.value)&&(y!==t.value||"progress"===v&&!y)&&M(t,"value",y,_.value,!1),"checked"in h&&void 0!==(y=h.checked)&&y!==t.checked&&M(t,"checked",y,_.checked,!1))}return t}function Y(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){o.__e(t,n)}}function D(t,e,n){var r,i;if(o.unmount&&o.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Y(r,null,e)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(t){o.__e(t,e)}r.base=r.__P=null}if(r=t.__k)for(i=0;i<r.length;i++)r[i]&&D(r[i],e,"function"!=typeof t.type);n||null==t.__e||d(t.__e),t.__e=t.__d=void 0}function Z(t,e,n){return this.constructor(t,n)}function U(t,e,n){var i,u,c;o.__&&o.__(t,e),u=(i="function"==typeof n)?null:n&&n.__k||e.__k,c=[],N(e,t=(!i&&n||e).__k=h(m,null,[t]),u||f,f,void 0!==e.ownerSVGElement,!i&&n?[n]:u?null:e.firstChild?r.call(e.childNodes):null,c,!i&&n?n:u?u.__e:e.firstChild,i),R(c,t)}function I(t,e){U(t,e,I)}function $(t,e,n){var o,i,u,c=_({},t.props);for(u in e)"key"==u?o=e[u]:"ref"==u?i=e[u]:c[u]=e[u];return arguments.length>2&&(c.children=arguments.length>3?r.call(arguments,2):n),v(t.type,c,o||t.key,i||t.ref,null)}function H(t,e){var n={__c:e="__cC"+a++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var n,r;return this.getChildContext||(n=[],(r={})[e]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&n.some(x)},this.sub=function(t){n.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n.splice(n.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Provider.__=n.Consumer.contextType=n}r=l.slice,o={__e:function(t,e){for(var n,r,o;e=e.__;)if((n=e.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(t)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(t),o=n.__d),o)return n.__E=n}catch(e){t=e}throw t}},i=0,b.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=_({},this.state),"function"==typeof t&&(t=t(_({},n),this.props)),t&&_(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),x(this))},b.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),x(this))},b.prototype.render=m,u=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,P.__r=0,a=0},426:function(t,e,n){"use strict";n.d(e,{eJ:function(){return h},_Y:function(){return v},d4:function(){return y},bt:function(){return m},sO:function(){return b},aP:function(){return g},Ye:function(){return w},I4:function(){return x},qp:function(){return P},Qb:function(){return O}});var r,o,i,u=n(2695),c=0,s=[],a=u.YM.__b,f=u.YM.__r,l=u.YM.diffed,p=u.YM.__c,_=u.YM.unmount;function d(t,e){u.YM.__h&&u.YM.__h(o,t,c||e),c=0;var n=o.__H||(o.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function h(t){return c=1,v(T,t)}function v(t,e,n){var i=d(r++,2);return i.t=t,i.__c||(i.__=[n?n(e):T(void 0,e),function(t){var e=i.t(i.__[0],t);i.__[0]!==e&&(i.__=[e,i.__[1]],i.__c.setState({}))}],i.__c=o),i.__}function y(t,e){var n=d(r++,3);!u.YM.__s&&M(n.__H,e)&&(n.__=t,n.__H=e,o.__H.__h.push(n))}function m(t,e){var n=d(r++,4);!u.YM.__s&&M(n.__H,e)&&(n.__=t,n.__H=e,o.__h.push(n))}function b(t){return c=5,w((function(){return{current:t}}),[])}function g(t,e,n){c=6,m((function(){"function"==typeof t?t(e()):t&&(t.current=e())}),null==n?n:n.concat(t))}function w(t,e){var n=d(r++,7);return M(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function x(t,e){return c=8,w((function(){return t}),e)}function P(t){var e=o.context[t.__c],n=d(r++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(o)),e.props.value):t.__}function O(t,e){u.YM.useDebugValue&&u.YM.useDebugValue(e?e(t):t)}function S(){s.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(E),t.__H.__h.forEach(k),t.__H.__h=[]}catch(e){t.__H.__h=[],u.YM.__e(e,t.__v)}})),s=[]}u.YM.__b=function(t){o=null,a&&a(t)},u.YM.__r=function(t){f&&f(t),r=0;var e=(o=t.__c).__H;e&&(e.__h.forEach(E),e.__h.forEach(k),e.__h=[])},u.YM.diffed=function(t){l&&l(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&(1!==s.push(e)&&i===u.YM.requestAnimationFrame||((i=u.YM.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(r),C&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);C&&(e=requestAnimationFrame(n))})(S)),o=null},u.YM.__c=function(t,e){e.some((function(t){try{t.__h.forEach(E),t.__h=t.__h.filter((function(t){return!t.__||k(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],u.YM.__e(n,t.__v)}})),p&&p(t,e)},u.YM.unmount=function(t){_&&_(t);var e=t.__c;if(e&&e.__H)try{e.__H.__.forEach(E)}catch(t){u.YM.__e(t,e.__v)}};var C="function"==typeof requestAnimationFrame;function E(t){var e=o;"function"==typeof t.__c&&t.__c(),o=e}function k(t){var e=o;t.__c=t.__(),o=e}function M(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function T(t,e){return"function"==typeof e?e(t):e}},9587:function(t,e,n){"use strict";var r=n(5843);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,u){if(u!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},1268:function(t,e,n){t.exports=n(9587)()},5843:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8118:function(t,e){"use strict";var n=Object.prototype,r=n.toString,o=n.hasOwnProperty,i="[object Object]",u="[object Array]";function c(t,e){return null!=t?t+"["+e+"]":e}e.x=function t(e,n,s){var a=r.call(e);if(void 0===s)if(a===i)s={};else{if(a!==u)return;s=[]}for(var f in e)if(o.call(e,f)){var l=e[f];if(null!=l)switch(r.call(l)){case u:case i:t(l,c(n,f),s);break;default:s[c(n,f)]=l}}return s}},4090:function(t,e,n){"use strict";function r(t,e){var n,r,o,i="";for(n in t)if(void 0!==(o=t[n]))if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(e||"")+i}n.d(e,{c:function(){return r}})},6462:function(t,e){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,u=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,a=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,l=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,_=n?Symbol.for("react.suspense"):60113,d=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,m=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,g=n?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case f:case l:case i:case c:case u:case _:return t;default:switch(t=t&&t.$$typeof){case a:case p:case v:case h:case s:return t;default:return e}}case o:return e}}}function x(t){return w(t)===l}e.AsyncMode=f,e.ConcurrentMode=l,e.ContextConsumer=a,e.ContextProvider=s,e.Element=r,e.ForwardRef=p,e.Fragment=i,e.Lazy=v,e.Memo=h,e.Portal=o,e.Profiler=c,e.StrictMode=u,e.Suspense=_,e.isAsyncMode=function(t){return x(t)||w(t)===f},e.isConcurrentMode=x,e.isContextConsumer=function(t){return w(t)===a},e.isContextProvider=function(t){return w(t)===s},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return w(t)===p},e.isFragment=function(t){return w(t)===i},e.isLazy=function(t){return w(t)===v},e.isMemo=function(t){return w(t)===h},e.isPortal=function(t){return w(t)===o},e.isProfiler=function(t){return w(t)===c},e.isStrictMode=function(t){return w(t)===u},e.isSuspense=function(t){return w(t)===_},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===l||t===c||t===u||t===_||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===h||t.$$typeof===s||t.$$typeof===a||t.$$typeof===p||t.$$typeof===m||t.$$typeof===b||t.$$typeof===g||t.$$typeof===y)},e.typeOf=w},364:function(t,e,n){"use strict";t.exports=n(6462)},1992:function(t,e,n){"use strict";n.d(e,{E:function(){return r}});var r=n(5151).ZP.createContext(null)},2054:function(t,e,n){"use strict";var r=n(1446),o=n(5151),i=n(1268),u=n.n(i),c=n(1992),s=function(t){function e(e){var n;n=t.call(this,e)||this;var r=e.store;return n.state={storeState:r.getState(),store:r},n}(0,r.Z)(e,t);var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this.subscribe()},n.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},n.componentDidUpdate=function(t){this.props.store!==t.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},n.subscribe=function(){var t=this,e=this.props.store;this.unsubscribe=e.subscribe((function(){var n=e.getState();t._isMounted&&t.setState((function(t){return t.storeState===n?null:{storeState:n}}))}));var n=e.getState();n!==this.state.storeState&&this.setState({storeState:n})},n.render=function(){var t=this.props.context||c.E;return o.ZP.createElement(t.Provider,{value:this.state},this.props.children)},e}(o.wA);s.propTypes={store:u().shape({subscribe:u().func.isRequired,dispatch:u().func.isRequired,getState:u().func.isRequired}),context:u().object,children:u().any},e.Z=s},4193:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(5303),o=n(1446),i=n(988),u=n(5343),c=n(3266),s=n.n(c),a=n(4546),f=n.n(a),l=n(5151),p=n(364),_=n(1992);function d(t,e){void 0===e&&(e={});var n=e,c=n.getDisplayName,a=void 0===c?function(t){return"ConnectAdvanced("+t+")"}:c,d=n.methodName,h=void 0===d?"connectAdvanced":d,v=n.renderCountProp,y=void 0===v?void 0:v,m=n.shouldHandleStateChanges,b=void 0===m||m,g=n.storeKey,w=void 0===g?"store":g,x=n.withRef,P=void 0!==x&&x,O=n.forwardRef,S=void 0!==O&&O,C=n.context,E=void 0===C?_.E:C,k=(0,u.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);f()(void 0===y,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),f()(!P,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var M="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";f()("store"===w,"storeKey has been removed and does not do anything. "+M);var T=E;return function(e){var n=e.displayName||e.name||"Component",u=a(n),c=(0,i.Z)({},k,{getDisplayName:a,methodName:h,renderCountProp:y,shouldHandleStateChanges:b,storeKey:w,displayName:u,wrappedComponentName:n,WrappedComponent:e}),_=k.pure,d=l.wA;_&&(d=l.Vx);var v=function(n){function s(e){var o,u,c,s,a,p,d,h,v,y,m;return o=n.call(this,e)||this,f()(S?!e.wrapperProps[w]:!e[w],"Passing redux store in props has been removed and does not do anything. "+M),o.selectDerivedProps=function(e,n,r,o){if(_&&u===n&&c===e)return s;r===a&&p===o||(a=r,p=o,d=t(r.dispatch,o)),u=n,c=e;var i=d(e,n);return s=i},o.selectChildElement=function(t,e,n){return e===h&&n===v&&m===t||(h=e,v=n,m=t,y=l.ZP.createElement(t,(0,i.Z)({},e,{ref:n}))),y},o.indirectRenderWrappedComponent=o.indirectRenderWrappedComponent.bind((0,r.Z)(o)),o}(0,o.Z)(s,n);var a=s.prototype;return a.indirectRenderWrappedComponent=function(t){return this.renderWrappedComponent(t)},a.renderWrappedComponent=function(t){f()(t,'Could not find "store" in the context of "'+u+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+u+" in connect options.");var n,r=t.storeState,o=t.store,i=this.props;S&&(i=this.props.wrapperProps,n=this.props.forwardedRef);var s=this.selectDerivedProps(r,i,o,c);return this.selectChildElement(e,s,n)},a.render=function(){var t=this.props.context&&this.props.context.Consumer&&(0,p.isContextConsumer)(l.ZP.createElement(this.props.context.Consumer,null))?this.props.context:T;return l.ZP.createElement(t.Consumer,null,this.indirectRenderWrappedComponent)},s}(d);if(v.WrappedComponent=e,v.displayName=u,S){var m=l.ZP.forwardRef((function(t,e){return l.ZP.createElement(v,{wrapperProps:t,forwardedRef:e})}));return m.displayName=u,m.WrappedComponent=e,s()(m,e)}return s()(v,e)}}},8274:function(t,e,n){"use strict";var r,o,i,u,c,s,a,f,l,p,_,d,h=n(988),v=n(5343),y=n(4193),m=n(7110),b=n(214),g=n(6150),w=n(4262),x=n(7189);function P(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function O(t,e){return t===e}e.Z=(i=(o=void 0===r?{}:r).connectHOC,u=void 0===i?y.Z:i,c=o.mapStateToPropsFactories,s=void 0===c?g.ZP:c,a=o.mapDispatchToPropsFactories,f=void 0===a?b.ZP:a,l=o.mergePropsFactories,p=void 0===l?w.ZP:l,_=o.selectorFactory,d=void 0===_?x.ZP:_,function(t,e,n,r){void 0===r&&(r={});var o=r,i=o.pure,c=void 0===i||i,a=o.areStatesEqual,l=void 0===a?O:a,_=o.areOwnPropsEqual,y=void 0===_?m.Z:_,b=o.areStatePropsEqual,g=void 0===b?m.Z:b,w=o.areMergedPropsEqual,x=void 0===w?m.Z:w,S=(0,v.Z)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=P(t,s,"mapStateToProps"),E=P(e,f,"mapDispatchToProps"),k=P(n,p,"mergeProps");return u(d,(0,h.Z)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:C,initMapDispatchToProps:E,initMergeProps:k,pure:c,areStatesEqual:l,areOwnPropsEqual:y,areStatePropsEqual:g,areMergedPropsEqual:x},S))})},214:function(t,e,n){"use strict";var r=n(4978),o=n(8821);e.ZP=[function(t){return"function"==typeof t?(0,o.xv)(t,"mapDispatchToProps"):void 0},function(t){return t?void 0:(0,o.dX)((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?(0,o.dX)((function(e){return(0,r.DE)(t,e)})):void 0}]},6150:function(t,e,n){"use strict";var r=n(8821);e.ZP=[function(t){return"function"==typeof t?(0,r.xv)(t,"mapStateToProps"):void 0},function(t){return t?void 0:(0,r.dX)((function(){return{}}))}]},4262:function(t,e,n){"use strict";var r=n(988);function o(t,e,n){return(0,r.Z)({},n,t,e)}e.ZP=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,u=!1;return function(e,n,c){var s=t(e,n,c);return u?o&&i(s,r)||(r=s):(u=!0,r=s),r}}}(t):void 0},function(t){return t?void 0:function(){return o}}]},7189:function(t,e,n){"use strict";n.d(e,{ZP:function(){return u}});var r=n(5343);function o(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function i(t,e,n,r,o){var i,u,c,s,a,f=o.areStatesEqual,l=o.areOwnPropsEqual,p=o.areStatePropsEqual,_=!1;function d(o,_){var d,h,v=!l(_,u),y=!f(o,i);return i=o,u=_,v&&y?(c=t(i,u),e.dependsOnOwnProps&&(s=e(r,u)),a=n(c,s,u)):v?(t.dependsOnOwnProps&&(c=t(i,u)),e.dependsOnOwnProps&&(s=e(r,u)),a=n(c,s,u)):y?(d=t(i,u),h=!p(d,c),c=d,h&&(a=n(c,s,u)),a):a}return function(o,f){return _?d(o,f):(c=t(i=o,u=f),s=e(r,u),a=n(c,s,u),_=!0,a)}}function u(t,e){var n=e.initMapStateToProps,u=e.initMapDispatchToProps,c=e.initMergeProps,s=(0,r.Z)(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(t,s),f=u(t,s),l=c(t,s);return(s.pure?i:o)(a,f,l,t,s)}},8821:function(t,e,n){"use strict";function r(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function o(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function i(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=o(t);var i=r(e,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(e,n)),i},r}}n.d(e,{dX:function(){return r},xv:function(){return i}})},2620:function(t,e,n){"use strict";n.d(e,{zt:function(){return r.Z},$j:function(){return o.Z}});var r=n(2054),o=(n(4193),n(1992),n(8274))},7110:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=Object.prototype.hasOwnProperty;function o(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function i(t,e){if(o(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(var u=0;u<n.length;u++)if(!r.call(e,n[u])||!o(t[n[u]],e[n[u]]))return!1;return!0}},4978:function(t,e,n){"use strict";n.d(e,{md:function(){return v},DE:function(){return l},UY:function(){return a},MT:function(){return c}});var r=n(3488),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function u(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function c(t,e,n){var o;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(c)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var s=t,a=e,f=[],l=f,p=!1;function _(){l===f&&(l=f.slice())}function d(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function h(t){if("function"!=typeof t)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var e=!0;return _(),l.push(t),function(){if(e){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");e=!1,_();var n=l.indexOf(t);l.splice(n,1),f=null}}}function v(t){if(!u(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,a=s(a,t)}finally{p=!1}for(var e=f=l,n=0;n<e.length;n++){(0,e[n])()}return t}function y(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");s=t,v({type:i.REPLACE})}function m(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new TypeError("Expected the observer to be an object.");function n(){t.next&&t.next(d())}return n(),{unsubscribe:e(n)}}})[r.Z]=function(){return this},t}return v({type:i.INIT}),(o={dispatch:v,subscribe:h,getState:d,replaceReducer:y})[r.Z]=m,o}function s(t,e){var n=e&&e.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function a(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var o=e[r];0,"function"==typeof t[o]&&(n[o]=t[o])}var u,c=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(t){u=t}return function(t,e){if(void 0===t&&(t={}),u)throw u;for(var r=!1,o={},i=0;i<c.length;i++){var a=c[i],f=n[a],l=t[a],p=f(l,e);if(void 0===p){var _=s(a,e);throw new Error(_)}o[a]=p,r=r||p!==l}return(r=r||c.length!==Object.keys(t).length)?o:t}}function f(t,e){return function(){return e(t.apply(this,arguments))}}function l(t,e){if("function"==typeof t)return f(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in t){var o=t[r];"function"==typeof o&&(n[r]=f(o,e))}return n}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(n,!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function v(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map((function(t){return t(o)}));return d({},n,{dispatch:r=h.apply(void 0,i)(n.dispatch)})}}}},2601:function(t){"use strict";function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}t.exports=function(t){var n,r={};return e(r,t),(n=function(t){return function(e){return function(n){var o,i,u=r[n.type],c=e(n);if(u)for(o=0;o<u.length;o++)(i=u[o](n,t))&&t.dispatch(i);return c}}}).effects=r,n}},8211:function(t){"use strict";var e=256,n=[],r=window,o=Math.pow(e,6),i=Math.pow(2,52),u=2*i,c=255,s=Math.random;function a(t){var n,r=t.length,o=this,i=0,u=o.i=o.j=0,s=o.S=[];for(r||(t=[r++]);i<e;)s[i]=i++;for(i=0;i<e;i++)s[i]=s[u=c&u+t[i%r]+(n=s[i])],s[u]=n;(o.g=function(t){for(var n,r=0,i=o.i,u=o.j,s=o.S;t--;)n=s[i=c&i+1],r=r*e+s[c&(s[i]=s[u=c&u+n])+(s[u]=n)];return o.i=i,o.j=u,r})(e)}function f(t,e){var n,r=[],o=(typeof t)[0];if(e&&"o"==o)for(n in t)try{r.push(f(t[n],e-1))}catch(t){}return r.length?r:"s"==o?t:t+"\0"}function l(t,e){for(var n,r=t+"",o=0;o<r.length;)e[c&o]=c&(n^=19*e[c&o])+r.charCodeAt(o++);return _(e)}function p(t){try{return r.crypto.getRandomValues(t=new Uint8Array(e)),_(t)}catch(t){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,_(n)]}}function _(t){return String.fromCharCode.apply(0,t)}t.exports=function(r,c){if(c&&!0===c.global)return c.global=!1,Math.random=t.exports(r,c),c.global=!0,Math.random;var s=c&&c.entropy||!1,d=[],h=(l(f(s?[r,_(n)]:0 in arguments?r:p(),3),d),new a(d));return l(_(h.S),n),function(){for(var t=h.g(6),n=o,r=0;t<i;)t=(t+r)*e,n*=e,r=h.g(1);for(;t>=u;)t/=2,n/=2,r>>>=1;return(t+r)/n}},t.exports.resetGlobal=function(){Math.random=s},l(Math.random(),n)},7078:function(t){var e=/<\/?([a-z][a-z0-9]*)\b[^>]*>?/gi;t.exports=function(t){return(t=t||"").replace(e,"").trim()}},3488:function(t,e,n){"use strict";var r,o=n(2752);t=n.hmd(t),r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:t;var i=(0,o.Z)(r);e.Z=i},2752:function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,{Z:function(){return r}})},8763:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});class r{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.first=null,this.items=Object.create(null),this.last=null,this.max=t,this.size=0,this.ttl=e}has(t){return t in this.items}clear(){return this.first=null,this.items=Object.create(null),this.last=null,this.size=0,this}delete(t){if(this.has(t)){const e=this.items[t];delete this.items[t],this.size--,null!==e.prev&&(e.prev.next=e.next),null!==e.next&&(e.next.prev=e.prev),this.first===e&&(this.first=e.next),this.last===e&&(this.last=e.prev)}return this}evict(){const t=this.first;return delete this.items[t.key],this.first=t.next,this.first.prev=null,this.size--,this}get(t){let e;if(this.has(t)){const n=this.items[t];this.ttl>0&&n.expiry<=(new Date).getTime()?this.delete(t):(e=n.value,this.set(t,e,!0))}return e}keys(){return Object.keys(this.items)}set(t,e){let n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(r||this.has(t)){if(n=this.items[t],n.value=e,!1===r&&(n.expiry=this.ttl>0?(new Date).getTime()+this.ttl:this.ttl),this.last!==n){const t=this.last,e=n.next,r=n.prev;this.first===n&&(this.first=n.next),n.next=null,n.prev=this.last,t.next=n,null!==r&&(r.next=e),null!==e&&(e.prev=r)}}else this.max>0&&this.size===this.max&&this.evict(),n=this.items[t]={expiry:this.ttl>0?(new Date).getTime()+this.ttl:this.ttl,key:t,prev:this.last,next:null,value:e},1==++this.size?this.first=n:this.last.next=n;return this.last=n,this}}function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(isNaN(t)||t<0)throw new TypeError("Invalid max value");if(isNaN(e)||e<0)throw new TypeError("Invalid ttl value");return new r(t,e)}},5303:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{Z:function(){return r}})},988:function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{Z:function(){return r}})},1446:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9112);function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,r.Z)(t,e)}},5343:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,{Z:function(){return r}})},9112:function(t,e,n){"use strict";function r(t,e){return r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,{Z:function(){return r}})}}]); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/instant-search.min.css b/plugins/jetpack/_inc/build/instant-search/instant-search.min.css
deleted file mode 100644
index 07771339..00000000
--- a/plugins/jetpack/_inc/build/instant-search/instant-search.min.css
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Do not modify this file directly. It is compiled SASS code. */
-.gridicon{fill:currentColor;display:inline-block}.gridicon.needs-offset g{transform:translate(1px, 1px)}.gridicon.needs-offset-x g{transform:translate(1px, 0)}.gridicon.needs-offset-y g{transform:translate(0, 1px)}.jetpack-instant-search__search-results{padding:0.125em 2em;margin:1em auto;position:relative;max-width:1080px;min-height:400px;text-align:left}.jetpack-instant-search__search-results mark{background-color:#ffc;font-weight:bold;color:inherit;padding:0}.jetpack-instant-search__search-results-real-query{font-size:1.5em;-webkit-text-decoration:bold;text-decoration:bold}.jetpack-instant-search__search-results-unused-query,.jetpack-instant-search__search-results-real-query{overflow:hidden;margin:0;padding:0}.jetpack-instant-search__result-comments{padding-left:10px}.jetpack-search-filters-widget__filter-list{margin-bottom:10px;text-align:left}.jetpack-search-filters-widget__filter-list div label{display:inline-block;width:auto;margin-left:5px}.jetpack-instant-search__sort-widget-select{margin-left:4px;text-align:left}.jetpack-search-sort-wrapper{text-align:left}.jetpack-instant-search__result-minimal{padding:0.125em 0;margin:1em 0;position:relative}.jetpack-instant-search__result-minimal h3{clear:none}.jetpack-instant-search__result-minimal h3 .gridicon{margin-left:5px;margin-right:5px}.jetpack-instant-search__result-minimal .gridicon{margin-right:5px}.jetpack-instant-search__result-minimal h3{overflow:hidden}.jetpack-instant-search__result-minimal-date{margin:0.5em 0;float:right;display:block;font-size:0.85em}.jetpack-instant-search__result-minimal-tag,.jetpack-instant-search__result-minimal-cat{margin-right:0.5em}.jetpack-instant-search__result-minimal-tags,.jetpack-instant-search__result-minimal-cats{padding-left:10px}.jp-instant-search__box input{border-radius:2px;font-size:14px;height:26px;width:100%;line-height:1.2em}.jetpack-instant-search__is-loading{opacity:0.2}
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.css b/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.css
deleted file mode 100644
index 0ab37e66..00000000
--- a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.css
+++ /dev/null
@@ -1 +0,0 @@
-.jetpack-instant-search__overlay{background:rgba(29,35,39,.7);bottom:0;box-sizing:border-box;color:#00101c;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transition:opacity .1s ease-in;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay.is-hidden{background:transparent;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}.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)}.jetpack-instant-search__notice{font-size:14px;margin:1em 0;padding:.75em}.jetpack-instant-search__notice.jetpack-instant-search__notice--warning{background-color:#f5e6b3;color:#4f3500}.jetpack-instant-search__notice .gridicon{margin-right:.5em;margin-top:-5px;vertical-align:middle}.jetpack-instant-search__scroll-button{border:0;box-shadow:none;font-size:13px;outline:0}.jetpack-instant-search__search-sort{align-items:center;display:flex}.jetpack-instant-search__search-sort>label[for=jetpack-instant-search__search-sort-select]{flex-shrink:0;font-size:1em;font-weight:700;margin:0 .25em 0 0}.jetpack-instant-search__search-sort-with-links{font-size:13px}@media(max-width:575.98px){.jetpack-instant-search__search-sort-with-select{margin-right:1em;width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-sort-with-select{margin-right:0}}@media(min-width:992px){.jetpack-instant-search__search-sort-with-select{margin-top:-4px}}#jetpack-instant-search__search-sort-select{-webkit-appearance:auto;appearance:auto;background:#fff;border:1px solid #e6f1f5;border-radius:5px;color:#00101c;font-size:1em;height:inherit;padding:.25em}@media(max-width:575.98px){#jetpack-instant-search__search-sort-select{padding:.5em;width:100%}}.jetpack-instant-search__search-sort-option{color:#646970;cursor:pointer;padding:0 2px;text-decoration:none}.jetpack-instant-search__search-sort-option:after{color:#646970;content:"·";font-weight:400;padding-left:5px}.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:focus,.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:hover{text-decoration:none}.jetpack-instant-search__search-sort-option:last-child:after{content:""}.jetpack-instant-search__search-sort-option.is-selected{color:#044b7a;font-weight:600;text-decoration:none}.jetpack-instant-search__search-form-controls{align-items:center;display:flex;line-height:1.3;margin-left:56px;margin-right:56px;margin-top:16px;z-index:1}@media(max-width:991.98px){.jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:767.98px){.jetpack-instant-search__search-form-controls{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-form-controls{position:absolute;right:320px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{position:absolute;right:320px}}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-form-controls{right:0}.jetpack-instant-search__box{border-bottom:1px solid #e6f1f5;border-right:1px solid #e6f1f5}.jetpack-instant-search__box-label{align-items:center;display:flex;flex:0 0 100%;margin:0}input.jetpack-instant-search__box-input.search-field{-webkit-appearance:none;appearance:none;background:#fff;border:0;box-shadow:none;color:#3c434a;font-size:18px;height:60px;line-height:1;margin:0;max-width:none;padding:0 14px;text-indent:32px;vertical-align:middle}input.jetpack-instant-search__box-input.search-field:focus,input.jetpack-instant-search__box-input.search-field:hover{background:#fff;color:#00101c}input.jetpack-instant-search__box-input.search-field.search-field{letter-spacing:-.02em;padding-left:0;text-indent:0}.jetpack-instant-search__box-gridicon{align-items:center;display:flex;flex-shrink:0;height:60px;justify-content:center;left:0;position:relative;top:0;width:60px;z-index:1}.jetpack-instant-search__box-gridicon svg{fill:#646970}.jetpack-instant-search__box input[type=button]{word-wrap:normal;border:none;color:#646970;cursor:pointer;font-size:1em;font-weight:400;height:60px;line-height:1;margin:0 .25em 0 0;padding:0;text-decoration:none;text-shadow:none;text-transform:none;transition:all .1s linear;width:60px}.jetpack-instant-search__box input[type=button],.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{color:#3c434a}.jetpack-instant-search__box input[type=button]:focus{outline:1px dotted}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input{border:none;box-shadow:none;height:52px;outline-style:none;transition:color .15s ease-in-out,border-color .25s ease-in-out;width:100%}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:focus,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:hover{border:none;box-shadow:none;outline-style:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-button,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-decoration{appearance:none;-webkit-appearance:none;display:initial}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-cancel-button{display:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-clear,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-reveal{display:none}.jetpack-instant-search__path-breadcrumb{font-size:.9em;margin:0;max-width:calc(100vw - 2em);overflow-x:hidden;text-overflow:ellipsis}.jetpack-instant-search__path-breadcrumb-link{max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jetpack-instant-search__path-breadcrumb-link:focus,.jetpack-instant-search__path-breadcrumb-link:hover{text-decoration:underline}.jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__path-breadcrumb-link{color:#3c434a}.jetpack-instant-search__search-result-comments{border-left:2px solid #f0f0f1;font-size:.9em;margin-left:8px;margin-top:16px;padding-left:16px;word-break:break-word}.jetpack-instant-search__search-result-comments .gridicon{margin-right:8px;vertical-align:middle}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title{margin-bottom:.4em}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title .gridicon{margin-right:8px}.jetpack-instant-search__search-result-minimal-cats-and-tags{display:flex;flex-flow:row wrap;font-size:.9375em}.jetpack-instant-search__search-result-minimal-cats,.jetpack-instant-search__search-result-minimal-tags{display:flex;flex-flow:row wrap;list-style-type:none;margin:0;padding:0}.jetpack-instant-search__search-result-minimal-cat,.jetpack-instant-search__search-result-minimal-tag{margin:0 .75em 0 0}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag .gridicon{margin-right:.25em}.jetpack-instant-search__search-result-minimal-cat-text,.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag-text,.jetpack-instant-search__search-result-minimal-tag .gridicon{vertical-align:middle}.jetpack-instant-search__search-result-minimal-content{word-break:break-word}.jetpack-instant-search__search-result-expanded{display:flex;flex-flow:column}.jetpack-instant-search__search-result-expanded:last-child{margin-right:0}.jetpack-instant-search__search-result-expanded .jetpack-instant-search__search-result-expanded__title{width:100%}.jetpack-instant-search__search-result-expanded__path{color:#646970;font-size:.9375em;margin:0 0 .4em}.jetpack-instant-search__search-result-expanded__copy-container{max-width:100%}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__copy-container{width:calc(100% - 128px - 1em)}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__copy-container{width:auto}.jetpack-instant-search__search-result-expanded__content{color:#00101c;font-size:.9375em}.jetpack-instant-search__search-result-expanded__image-link{margin-left:1em}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-link{margin:0 auto .5em;order:-1}}.jetpack-instant-search__search-result-expanded__image-container{width:128px}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-container{width:256px}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__image-container{display:none}.jetpack-instant-search__search-result-expanded__image-container{position:relative}.jetpack-instant-search__search-result-expanded__image-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-expanded__image{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-expanded__content-container{display:flex;flex-flow:column}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__content-container{flex-flow:row nowrap}}.jetpack-instant-search__search-result-expanded__footer{display:flex;list-style-type:none;margin-left:0;margin-top:10px;padding-left:0}.jetpack-instant-search__search-result-expanded__footer li{margin-right:10px}.jetpack-instant-search__search-result-expanded__footer-blog-image{border-radius:2px;margin-right:3px;vertical-align:middle}.jetpack-instant-search__search-result-expanded__footer-blog{font-size:13px;font-style:normal;font-weight:600;line-height:180%}.jetpack-instant-search__search-result-expanded__footer-author:after,.jetpack-instant-search__search-result-expanded__footer-blog:after{color:#636363;content:"·";margin-left:10px}.jetpack-instant-search__search-result-expanded__footer-author,.jetpack-instant-search__search-result-expanded__footer-date{color:#636363;font-size:13px;font-style:normal;font-weight:400}.jetpack-instant-search__product-rating-stars .gridicon{fill:#f0c930;vertical-align:middle}.jetpack-instant-search a.jetpack-instant-search__product-rating-count{color:#646970;font-size:.9em;text-decoration:underline;vertical-align:text-top}.jetpack-instant-search__product-price-regular{color:#646970;padding-right:.25em}.jetpack-instant-search__search-results-list.is-format-product{display:flex;flex-wrap:wrap;margin-right:40px;padding:0 0 3em}@media(max-width:991.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-right:24px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-right:4px}}.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{display:flex;flex-direction:column;margin:0 16px 16px 0;position:relative;width:calc(50% - 16px)}@media(min-width:576px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:768px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:992px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:1200px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:1400px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(20% - 16px)}}.jetpack-instant-search__search-result>.jetpack-instant-search__search-result-product-img-link{display:block}.jetpack-instant-search__search-result-product-img-container{border-radius:5px;color:transparent;position:relative}.jetpack-instant-search__search-result-product-img-container.jetpack-instant-search__search-result-product-img-container--placeholder{background:#c3c4c7}.jetpack-instant-search__search-result-product-img-container .gridicon{fill:#fff}.jetpack-instant-search__search-result-product-img-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-product-img{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-product-img>.gridicon{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.jetpack-instant-search__search-result-product-img>.gridicons-image{height:25%;width:25%}.jetpack-instant-search__search-result-product-img>.gridicons-block{height:50%;width:50%}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-product-title{font-size:1.25em;margin:.25em 0 0}.jetpack-instant-search__search-result-product-match{font-size:.9em;margin-top:.25em}.jetpack-instant-search__search-result-product-match mark{align-items:center;display:flex;font-weight:400}.jetpack-instant-search__search-result-product-match .gridicon{height:1em;margin-right:.25em;width:1em}.jetpack-instant-search__search-result{margin:0 0 2em}.jetpack-instant-search__search-result-title{font-size:1.6em;font-weight:400;line-height:1.35;margin:0;overflow-wrap:break-word}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link{text-decoration:none}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:focus,.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:hover{text-decoration:underline}.jetpack-instant-search__search-filters{position:relative}.jetpack-instant-search__search-filters>div{margin-top:1em}.jetpack-instant-search__search-filters-title{color:#00101c;display:block;font-weight:700;line-height:1.3}.jetpack-instant-search__clear-filters-link{line-height:1.3;margin:0;position:absolute;right:0;top:0}.jetpack-instant-search__search-filter-sub-heading{color:#646970;font-size:inherit;margin:0;padding:0}.jetpack-instant-search__search-filter-list{text-align:left}.jetpack-instant-search__search-filter-list>div{align-items:baseline;display:flex;margin-top:8px}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input{-webkit-appearance:checkbox;appearance:checkbox;background:none;border:none;cursor:pointer;height:auto;margin:0;top:1px;width:auto}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:before,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:before{display:none!important}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-label,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-label{color:inherit;cursor:pointer;display:inline-block;font-weight:400;margin:0 0 0 8px;padding:0;width:auto}.jetpack-instant-search__search-static-filter-list{font-size:.875rem;line-height:1.8}.jetpack-instant-search__widget-area-container{margin-bottom:2em}.jetpack-instant-search__jetpack-colophon{margin-bottom:2em;margin-top:2em;text-align:center}.jetpack-instant-search__jetpack-colophon-link{align-items:center;color:inherit;display:flex;text-decoration:none}.jetpack-instant-search__jetpack-colophon-logo{display:inline;height:16px;width:16px}.jetpack-instant-search__jetpack-colophon-text{color:#3c434a;font-size:.7em;font-weight:400;padding-left:6px}.jetpack-instant-search__sidebar{padding-top:14px}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget{background:none;border:none;margin:0;padding:0}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget a{font-weight:400}.jetpack-instant-search__sidebar h2.widgettitle{border:none;font-size:1.3em;margin:1em 0 .5em}.jetpack-instant-search__sidebar h2.widgettitle:after,.jetpack-instant-search__sidebar h2.widgettitle:before{display:none!important}.jetpack-instant-search__search-results{background:#fff;border-radius:3px;margin:0 auto;max-width:1080px;min-height:100%;position:relative;z-index:10}@media(max-width:575.98px){.jetpack-instant-search__search-results{border-radius:0}}@media(min-width:992px){.jetpack-instant-search__search-results{max-width:95%}}.jetpack-instant-search__search-results mark{background:#ffc;color:#00101c}.jetpack-instant-search__search-results-controls{display:flex}.jetpack-instant-search__search-results-content{display:flex;position:relative}.jetpack-instant-search__search-results-filter-button{align-items:center;border:0;color:#646970;cursor:pointer;display:flex;flex-shrink:0;font-size:12px;margin:0;padding:8px;text-decoration:none;transition:background-color .25s ease-in-out}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-filter-button{visibility:hidden}@media(min-width:576px){.jetpack-instant-search__search-results-filter-button{font-size:13px;padding:10px 14px}}@media(min-width:992px){.jetpack-instant-search__search-results-filter-button{display:none}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:flex}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:none}}.jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__search-results-filter-button:hover{color:#00101c}.jetpack-instant-search__search-results-filter-button .gridicon{margin-left:4px}.jetpack-instant-search__search-results-primary{margin:0;max-width:calc(100% - 320px);width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-primary{max-width:100%}@media(max-width:991.98px){.jetpack-instant-search__search-results-primary{max-width:100%}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-primary{max-width:100%}}.jetpack-instant-search__search-results-secondary{background:none;border-left:1px solid #e6f1f5;border-radius:0;bottom:0;box-shadow:none;color:#00101c;display:block;flex:none;padding:0 32px;position:static;width:320px}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary{display:none}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:991.98px)and (max-width:575.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:1199.98px)and (max-width:575.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{color:#00101c;font-size:1em;font-weight:700;line-height:1.3;margin:1em 56px 1.5em;padding:0;word-break:break-word}@media(max-width:991.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title,.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-results-title{padding-right:210px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title{padding-right:210px}}.jetpack-instant-search__search-results-list{color:#00101c;list-style:none;margin-left:56px;margin-right:56px;padding:0}@media(max-width:991.98px){.jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list{margin-left:20px;margin-right:20px}}.jetpack-instant-search__search-results-list li:before{content:"​";height:1px;position:absolute;width:1px}.jetpack-instant-search__search-results-search-form{font-size:.8em;margin:0;top:0;width:100%}button.jetpack-instant-search__overlay-close{align-items:center;-webkit-appearance:none;appearance:none;background:none;background-color:transparent!important;border:none;border-bottom:1px solid #e6f1f5;box-shadow:none;cursor:pointer;display:flex;height:61px;justify-content:center;line-height:1;margin:0;outline:none;padding:0;text-decoration:none;text-shadow:none;text-transform:none;width:60px}button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}button.jetpack-instant-search__overlay-close:focus{outline:1px dotted}button.jetpack-instant-search__overlay-close svg.gridicon{fill:#646970}button.jetpack-instant-search__overlay-close:active,button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{background-color:transparent!important;border-color:#e6f1f5}button.jetpack-instant-search__overlay-close:active svg.gridicon,button.jetpack-instant-search__overlay-close:focus svg.gridicon,button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#3c434a}.jetpack-instant-search__search-results-pagination{display:block;flex:none;margin:50px}.jetpack-instant-search .widget.widget_archive ul li a,.jetpack-instant-search .widget a,.jetpack-instant-search a{border:none;color:#001621;text-decoration:none}.jetpack-instant-search .widget.widget_archive ul li a:focus,.jetpack-instant-search .widget.widget_archive ul li a:hover,.jetpack-instant-search .widget a:focus,.jetpack-instant-search .widget a:hover,.jetpack-instant-search a:focus,.jetpack-instant-search a:hover{color:#044b7a;text-decoration:underline}.jetpack-search-filters-widget__filter-list{list-style-type:none}body.enable-search-modal .cover-modal.show-modal.search-modal.active{display:none}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark{background:rgba(29,35,39,.7);color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a{color:#f6f7f7}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:hover{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filters-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__content,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-list,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-unused-query{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__jetpack-colophon-text,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb-link{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filter-sub-heading,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__path{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box-gridicon svg,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close svg.gridicon{fill:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:focus svg.gridicon,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:hover{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field{background:#000;color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:hover{background:#000;color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results{background:#000}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results mark{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{color:#e6f1f5}@media(min-width:992px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{border-color:#3c434a}}@media(max-width:991.98px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#000;border-color:#3c434a;box-shadow:0 2px 3px #3c434a}}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option:after{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option.is-selected{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-product-img--placeholder{color:#2c3338}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark #jetpack-instant-search__search-sort-select{background:#000;border-color:#3c434a;color:#e6f1f5}.jp-search-configure-app-wrapper{flex-grow:1}.jp-search-configure-app-wrapper .jp-search-configure-loading-spinner{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.jp-search-configure-app-wrapper .jetpack-instant-search{background:#f0f0f0;padding-top:2em;position:absolute}.jp-search-configure-app-wrapper .jetpack-instant-search .jetpack-instant-search__search-results{max-width:none}.jp-search-configure-app-wrapper .jetpack-instant-search a:not(.jetpack-instant-search__search-sort-option){pointer-events:none}.jp-search-configure-save-button{margin-right:4px}.jp-search-configure-save-button:first-of-type{margin-left:auto}@media(min-width:600px){.jp-search-configure-save-button{margin-right:8px}}@media(min-width:782px){.jp-search-configure-sidebar .jp-search-configure-save-button{display:none}}.jp-search-configure-header{align-items:center;display:flex;height:48px;justify-content:space-between;overflow:auto;padding:0 16px}@media(min-width:782px){.jp-search-configure-header{height:60px}}@media(min-width:600px){.jp-search-configure-header{overflow:visible}}.jp-search-configure-header__navigable-toolbar-wrapper{align-items:center;display:flex;justify-content:center}.jp-search-configure-header__title{font-size:20px;margin:0 20px 0 0;padding:0}.jp-search-configure-header__actions{display:flex}@media(min-width:600px){.jp-search-configure-header__actions .components-button.jp-search-configure-header__show-settings-button{margin-right:8px}}@media(min-width:782px){.jp-search-configure-header__actions .components-button.jp-search-configure-header__show-settings-button{display:none;margin-left:0}}.jp-search-configure-color-input .component-color-indicator{vertical-align:middle}.jp-search-configure-color-input .block-editor-color-gradient-control fieldset>legend{margin-bottom:12px}.jp-search-configure-color-input .block-editor-color-gradient-control fieldset>legend>.block-editor-color-gradient-control__color-indicator{margin-bottom:0}.jp-search-configure-color-input .components-circular-option-picker__option-wrapper :focus:after{left:-4px;top:-4px}.jp-search-configure-color-input .components-circular-option-picker__option-wrapper .components-button.is-pressed:focus:not(:disabled){box-shadow:inset 0 0 0 14px!important}.jp-search-configure-sidebar-options--is-disabled .jp-search-configure-color-input .components-button{cursor:not-allowed;filter:grayscale(.8);pointer-events:none}.jp-search-configure-sidebar-options--is-disabled .jp-search-configure-color-input .components-circular-option-picker__option-wrapper:hover{transform:scale(1)}.jp-search-configure-excluded-post-types-control{margin-top:8px}.jp-search-configure-excluded-post-types-control .jp-search-configure-excluded-post-types-control__label{margin-bottom:8px}.jp-search-configure-excluded-post-types-control .components-notice{margin:8px 0;padding-bottom:4px;padding-top:4px}.components-panel__header.jp-search-configure-sidebar__panel-tabs{border-top:0;justify-content:flex-start;margin-top:0;padding-left:0;padding-right:12px}.components-panel__header.jp-search-configure-sidebar__panel-tabs ul{display:flex;height:100%}.components-panel__header.jp-search-configure-sidebar__panel-tabs li{margin:0}.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{margin-right:4px}@media(min-width:600px){.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{margin-right:12px}}@media(min-width:782px){.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{display:none}}.components-button.jp-search-configure-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;color:#1e1e1e;cursor:pointer;display:inline-block;font-weight:400;height:49px;height:100%;margin-left:0;padding:3px 15px}.components-button.jp-search-configure-sidebar__panel-tab:after{speak:none;content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;visibility:hidden}.components-button.jp-search-configure-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);font-weight:600;position:relative}.components-button.jp-search-configure-sidebar__panel-tab.is-active:before{border-bottom:4px solid transparent;bottom:1px;content:"";left:0;position:absolute;right:0;top:0}.components-button.jp-search-configure-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.jp-search-configure-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.jp-search-configure-sidebar-description{display:flex;padding:16px}.jp-search-configure-sidebar-description .block-editor-block-icon{margin-right:16px}.jp-search-configure-sidebar-options .components-base-control{margin-bottom:24px}.jp-search-configure-sidebar-options .components-base-control.components-checkbox-control,.jp-search-configure-sidebar-options .components-base-control.components-toggle-control,.jp-search-configure-sidebar-options .components-base-control:last-child{margin-bottom:0}.jp-search-configure-sidebar-options .components-checkbox-control__label{vertical-align:baseline}.jp-search-configure-result-format-radios{margin-bottom:1em}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons{display:flex;justify-content:space-around;margin-bottom:12px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button{display:flex;flex-direction:column;height:auto;padding-left:6px;padding-right:6px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button:first-child{margin-right:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button:last-child{margin-left:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button svg{border:2px solid #fff;border-radius:3px;margin-bottom:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button.jp-search-configure-theme-button--selected svg{border-color:#2f2f2f}.jp-search-configure-sidebar-options--is-disabled input{cursor:not-allowed;pointer-events:none}.jp-search-configure-sidebar-options--is-disabled input[type=checkbox],.jp-search-configure-sidebar-options--is-disabled input[type=radio]{background:#ddd;border-color:#ddd}.jp-search-configure-sidebar-options--is-disabled .components-radio-control__input[type=radio]:checked{background:#ccc;border-color:#ccc}.components-checkbox-control__input:disabled{background:#ddd;border-color:#ddd;cursor:not-allowed}#jp-search-configure .hide-if-no-js{height:100vh;margin:0;position:relative;text-align:center;width:100vw}#jp-search-configure .hide-if-no-js .jp-search-loader{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}#jp-search-configure .interface-interface-skeleton__header{background-color:#fff}.jp-search-configure-layout__body{display:flex;flex-grow:1;overflow:auto}.block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator{margin-bottom:12px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}@media screen and (min-width:782px){.block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches{display:grid;grid-template-columns:repeat(6,28px);justify-content:space-between}}.block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control{margin-bottom:inherit}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media(min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area{background:#fff;color:#1e1e1e}@media(min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media(min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media(min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2,.interface-complementary-area h3{color:#1e1e1e;font-size:13px;margin-bottom:1.5em}.interface-complementary-area hr{border-bottom:1px solid #f0f0f0;border-top:none;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{bottom:10px;left:auto;right:10px;top:auto}@media(min-width:782px){body.js.is-fullscreen-mode{height:calc(100% + 32px);margin-top:-32px}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media(min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{bottom:0;display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;right:0;top:46px}@media(min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex:0 1 100%;flex-direction:column;overflow:hidden}.interface-interface-skeleton{left:0}@media(min-width:783px){.interface-interface-skeleton{left:160px}.auto-fold .interface-interface-skeleton{left:36px}}@media(min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media(min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{background:#fff;bottom:0;color:#1e1e1e;display:block;flex-shrink:0;left:0;position:absolute;right:0;top:0;z-index:100000}@media(min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;width:auto;z-index:90}}.interface-interface-skeleton__sidebar{overflow:auto}@media(min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{border-bottom:1px solid #e0e0e0;color:#1e1e1e;flex-shrink:0;height:auto;z-index:30}.interface-interface-skeleton__footer{background-color:#fff;border-top:1px solid #e0e0e0;bottom:0;color:#1e1e1e;display:none;flex-shrink:0;height:auto;left:0;position:absolute;width:100%;z-index:90}@media(min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{align-items:center;background:#fff;display:flex;font-size:13px;height:24px;padding:0 18px;z-index:30}.interface-interface-skeleton__actions{bottom:auto;color:#1e1e1e;left:auto;position:fixed!important;right:0;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus{bottom:0;top:auto}.interface-more-menu-dropdown{margin-left:-4px}.interface-more-menu-dropdown .components-button{padding:0 2px;width:auto}@media(min-width:600px){.interface-more-menu-dropdown{margin-left:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media(min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{max-width:480px;width:auto}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media(min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-height:24px;max-width:24px}html.wp-toolbar{background:#fff}#wpbody-content>.notice,#wpfooter,.jp-search-configure-sidebar .components-button.interface-complementary-area__pin-unpin-item{display:none}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.js b/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.js
deleted file mode 100644
index 57a3b681..00000000
--- a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/*! For license information please see jp-search-configure-main.js.LICENSE.txt */
-!function(){var e={7538:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},9183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},2607:function(e,t,r){"use strict";var n=r(9307);t.Z=function(e){let{icon:t,size:r=24,...s}=e;return(0,n.cloneElement)(t,{width:r,height:r,...s})}},8570:function(e,t,r){"use strict";var n=r(9307),s=r(444);const o=(0,n.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(s.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));t.Z=o},2946:function(e,t,r){"use strict";var n=r(9307),s=r(444);const o=(0,n.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(s.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));t.Z=o},9105:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var i=s.apply(null,r);i&&e.push(i)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var a in r)n.call(r,a)&&r[a]&&e.push(a);else e.push(r.toString())}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()},2213:function(e){!function(){"use strict";var t=[],r=3988292384;function n(e){var t,n,s,o,i=-1;for(t=0,s=e.length;t<s;t+=1){for(o=255&(i^e[t]),n=0;n<8;n+=1)1==(1&o)?o=o>>>1^r:o>>>=1;i=i>>>8^o}return-1^i}function s(e,r){var n,o,i;if(void 0!==s.crc&&r&&e||(s.crc=-1,e)){for(n=s.crc,o=0,i=e.length;o<i;o+=1)n=n>>>8^t[255&(n^e[o])];return s.crc=n,-1^n}}!function(){var e,n,s;for(n=0;n<256;n+=1){for(e=n,s=0;s<8;s+=1)1&e?e=r^e>>>1:e>>>=1;t[n]=e>>>0}}(),e.exports=function(e,t){var r;e="string"==typeof e?(r=e,Array.prototype.map.call(r,(function(e){return e.charCodeAt(0)}))):e;return((t?n(e):s(e))>>>0).toString(16)},e.exports.direct=n,e.exports.table=s}()},8027:function(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,s=t.cmp&&(r=t.cmp,function(e){return function(t,n){var s={key:t,value:e[t]},o={key:n,value:e[n]};return r(s,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,i;if(Array.isArray(t)){for(i="[",r=0;r<t.length;r++)r&&(i+=","),i+=e(t[r])||"null";return i+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var a=o.push(t)-1,c=Object.keys(t).sort(s&&s(t));for(i="",r=0;r<c.length;r++){var l=c[r],u=e(t[l]);u&&(i&&(i+=","),i+=JSON.stringify(l)+":"+u)}return o.splice(a,1),"{"+i+"}"}}(e)}},3266:function(e,t,r){"use strict";var n=r(364),s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(e){return n.isMemo(e)?i:a[e.$$typeof]||s}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var s=d(r);s&&s!==f&&e(t,s,n)}var i=u(r);p&&(i=i.concat(p(r)));for(var a=c(t),m=c(r),g=0;g<i.length;++g){var y=i[g];if(!(o[y]||n&&n[y]||m&&m[y]||a&&a[y])){var v=h(r,y);try{l(t,y,v)}catch(e){}}}}return t}},4546:function(e){"use strict";e.exports=function(e,t,r,n,s,o,i,a){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,s,o,i,a],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},2596:function(e,t,r){var n=r(2373).Symbol;e.exports=n},8644:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=Array(n);++r<n;)s[r]=t(e[r],r,e);return s}},563:function(e,t,r){var n=r(2596),s=r(8703),o=r(888),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?s(e):o(e)}},6316:function(e,t,r){var n=r(2596),s=r(8644),o=r(163),i=r(1995),a=n?n.prototype:void 0,c=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return s(t,e)+"";if(i(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},1367:function(e,t,r){var n=r(4120),s=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(s,""):e}},2117:function(e){var t="object"==typeof window&&window&&window.Object===Object&&window;e.exports=t},8703:function(e,t,r){var n=r(2596),s=Object.prototype,o=s.hasOwnProperty,i=s.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var s=i.call(e);return n&&(t?e[a]=r:delete e[a]),s}},888:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},2373:function(e,t,r){var n=r(2117),s="object"==typeof self&&self&&self.Object===Object&&self,o=n||s||Function("return this")();e.exports=o},4120:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},5034:function(e,t,r){var n=r(7709),s=r(6987),o=r(5812),i=Math.max,a=Math.min;e.exports=function(e,t,r){var c,l,u,p,h,d,f=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=c,n=l;return c=l=void 0,f=t,p=e.apply(n,r)}function _(e){return f=e,h=setTimeout(b,t),m?v(e):p}function E(e){var r=e-d;return void 0===d||r>=t||r<0||g&&e-f>=u}function b(){var e=s();if(E(e))return w(e);h=setTimeout(b,function(e){var r=t-(e-d);return g?a(r,u-(e-f)):r}(e))}function w(e){return h=void 0,y&&c?v(e):(c=l=void 0,p)}function k(){var e=s(),r=E(e);if(c=arguments,l=this,d=e,r){if(void 0===h)return _(d);if(g)return clearTimeout(h),h=setTimeout(b,t),v(d)}return void 0===h&&(h=setTimeout(b,t)),p}return t=o(t)||0,n(r)&&(m=!!r.leading,u=(g="maxWait"in r)?i(o(r.maxWait)||0,t):u,y="trailing"in r?!!r.trailing:y),k.cancel=function(){void 0!==h&&clearTimeout(h),f=0,c=d=l=h=void 0},k.flush=function(){return void 0===h?p:w(s())},k}},163:function(e){var t=Array.isArray;e.exports=t},7709:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3474:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},1995:function(e,t,r){var n=r(563),s=r(3474);e.exports=function(e){return"symbol"==typeof e||s(e)&&"[object Symbol]"==n(e)}},6987:function(e,t,r){var n=r(2373);e.exports=function(){return n.Date.now()}},5812:function(e,t,r){var n=r(1367),s=r(7709),o=r(1995),i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(s(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=s(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=a.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):i.test(e)?NaN:+e}},7010:function(e,t,r){var n=r(6316);e.exports=function(e){return null==e?"":n(e)}},660:function(e,t,r){var n=r(7010),s=0;e.exports=function(e){var t=++s;return n(e)+t}},2002:function(e){var t=1e3,r=60*t,n=60*r,s=24*n,o=7*s,i=365.25*s;function a(e,t,r,n){var s=t>=1.5*r;return Math.round(e/r)+" "+n+(s?"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 a=/^(-?(?:\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(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*s;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;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 o=Math.abs(e);if(o>=s)return a(e,o,s,"day");if(o>=n)return a(e,o,n,"hour");if(o>=r)return a(e,o,r,"minute");if(o>=t)return a(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=s)return Math.round(e/s)+"d";if(o>=n)return Math.round(e/n)+"h";if(o>=r)return Math.round(e/r)+"m";if(o>=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))}},278:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(2213),s=r.n(n),o=r(8211),i=r.n(o),a=r(8468),c=r.n(a)()("photon"),l={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function h(e,t){var r;try{r=new URL(e,p)}catch(e){return null}var n,o,a,h,d,f="https:"===r.protocol,m=new URL("https://i0.wp.com");if(d=r.host,/^i[0-2]\.wp\.com$/.test(d))m.pathname=r.pathname,m.hostname=r.hostname;else{if(r.search)return null;var g=r.href.replace("".concat(r.protocol,"/"),"");"blob:"===r.protocol&&(g=r.pathname.replace("://","//")),r.hostname===u&&(g=r.pathname),m.pathname=g,m.hostname=(n=g,o=s()(n),a=i()(o),h="i"+Math.floor(3*a()),c('determined server "%s" to use with "%s"',h,n),h+".wp.com"),f&&m.searchParams.set("ssl",1)}if(t)for(var y in t)"host"!==y&&"hostname"!==y?"secure"!==y||t[y]?m.searchParams.set(l[y]||y,t[y]):m.protocol="http:":m.hostname=t[y];return c("generated Photon URL: %s",m.href),m.href}},9587:function(e,t,r){"use strict";var n=r(5843);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,r,s,o,i){if(i!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return r.PropTypes=r,r}},1268:function(e,t,r){e.exports=r(9587)()},5843:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8118:function(e,t){"use strict";var r=Object.prototype,n=r.toString,s=r.hasOwnProperty,o="[object Object]",i="[object Array]";function a(e,t){return null!=e?e+"["+t+"]":t}t.x=function e(t,r,c){var l=n.call(t);if(void 0===c)if(l===o)c={};else{if(l!==i)return;c=[]}for(var u in t)if(s.call(t,u)){var p=t[u];if(null!=p)switch(n.call(p)){case i:case o:e(p,a(r,u),c);break;default:c[a(r,u)]=p}}return c}},4090:function(e,t,r){"use strict";function n(e,t){var r,n,s,o="";for(r in e)if(void 0!==(s=e[r]))if(Array.isArray(s))for(n=0;n<s.length;n++)o&&(o+="&"),o+=encodeURIComponent(r)+"="+encodeURIComponent(s[n]);else o&&(o+="&"),o+=encodeURIComponent(r)+"="+encodeURIComponent(s);return(t||"")+o}r.d(t,{c:function(){return n}})},6462:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,s=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case p:case o:case a:case i:case d:return e;default:switch(e=e&&e.$$typeof){case l:case h:case g:case m:case c:return e;default:return t}}case s:return t}}}function w(e){return b(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=h,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=s,t.Profiler=a,t.StrictMode=i,t.Suspense=d,t.isAsyncMode=function(e){return w(e)||b(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return b(e)===l},t.isContextProvider=function(e){return b(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return b(e)===h},t.isFragment=function(e){return b(e)===o},t.isLazy=function(e){return b(e)===g},t.isMemo=function(e){return b(e)===m},t.isPortal=function(e){return b(e)===s},t.isProfiler=function(e){return b(e)===a},t.isStrictMode=function(e){return b(e)===i},t.isSuspense=function(e){return b(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===a||e===i||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===h||e.$$typeof===v||e.$$typeof===_||e.$$typeof===E||e.$$typeof===y)},t.typeOf=b},364:function(e,t,r){"use strict";e.exports=r(6462)},1992:function(e,t,r){"use strict";r.d(t,{E:function(){return s}});var n=r(9196),s=r.n(n)().createContext(null)},2054:function(e,t,r){"use strict";var n=r(1446),s=r(9196),o=r.n(s),i=r(1268),a=r.n(i),c=r(1992),l=function(e){function t(t){var r;r=e.call(this,t)||this;var n=t.store;return r.state={storeState:n.getState(),store:n},r}(0,n.Z)(t,e);var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this.subscribe()},r.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},r.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},r.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var r=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===r?null:{storeState:r}}))}));var r=t.getState();r!==this.state.storeState&&this.setState({storeState:r})},r.render=function(){var e=this.props.context||c.E;return o().createElement(e.Provider,{value:this.state},this.props.children)},t}(s.Component);l.propTypes={store:a().shape({subscribe:a().func.isRequired,dispatch:a().func.isRequired,getState:a().func.isRequired}),context:a().object,children:a().any},t.Z=l},4193:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var n=r(5303),s=r(1446),o=r(988),i=r(5343),a=r(3266),c=r.n(a),l=r(4546),u=r.n(l),p=r(9196),h=r.n(p),d=r(364),f=r(1992);function m(e,t){void 0===t&&(t={});var r=t,a=r.getDisplayName,l=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,m=r.methodName,g=void 0===m?"connectAdvanced":m,y=r.renderCountProp,v=void 0===y?void 0:y,_=r.shouldHandleStateChanges,E=void 0===_||_,b=r.storeKey,w=void 0===b?"store":b,k=r.withRef,S=void 0!==k&&k,C=r.forwardRef,j=void 0!==C&&C,x=r.context,O=void 0===x?f.E:x,R=(0,i.Z)(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);u()(void 0===v,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),u()(!S,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var P="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";u()("store"===w,"storeKey has been removed and does not do anything. "+P);var T=O;return function(t){var r=t.displayName||t.name||"Component",i=l(r),a=(0,o.Z)({},R,{getDisplayName:l,methodName:g,renderCountProp:v,shouldHandleStateChanges:E,storeKey:w,displayName:i,wrappedComponentName:r,WrappedComponent:t}),f=R.pure,m=p.Component;f&&(m=p.PureComponent);var y=function(r){function c(t){var s,i,a,c,l,p,d,m,g,y,v;return s=r.call(this,t)||this,u()(j?!t.wrapperProps[w]:!t[w],"Passing redux store in props has been removed and does not do anything. "+P),s.selectDerivedProps=function(t,r,n,s){if(f&&i===r&&a===t)return c;n===l&&p===s||(l=n,p=s,d=e(n.dispatch,s)),i=r,a=t;var o=d(t,r);return c=o},s.selectChildElement=function(e,t,r){return t===m&&r===g&&v===e||(m=t,g=r,v=e,y=h().createElement(e,(0,o.Z)({},t,{ref:r}))),y},s.indirectRenderWrappedComponent=s.indirectRenderWrappedComponent.bind((0,n.Z)(s)),s}(0,s.Z)(c,r);var l=c.prototype;return l.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},l.renderWrappedComponent=function(e){u()(e,'Could not find "store" in the context of "'+i+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+i+" in connect options.");var r,n=e.storeState,s=e.store,o=this.props;j&&(o=this.props.wrapperProps,r=this.props.forwardedRef);var c=this.selectDerivedProps(n,o,s,a);return this.selectChildElement(t,c,r)},l.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,d.isContextConsumer)(h().createElement(this.props.context.Consumer,null))?this.props.context:T;return h().createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},c}(m);if(y.WrappedComponent=t,y.displayName=i,j){var _=h().forwardRef((function(e,t){return h().createElement(y,{wrapperProps:e,forwardedRef:t})}));return _.displayName=i,_.WrappedComponent=t,c()(_,t)}return c()(y,t)}}},8274:function(e,t,r){"use strict";var n,s,o,i,a,c,l,u,p,h,d,f,m=r(988),g=r(5343),y=r(4193),v=r(7110),_=r(214),E=r(6150),b=r(4262),w=r(7189);function k(e,t,r){for(var n=t.length-1;n>=0;n--){var s=t[n](e);if(s)return s}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function S(e,t){return e===t}t.Z=(o=(s=void 0===n?{}:n).connectHOC,i=void 0===o?y.Z:o,a=s.mapStateToPropsFactories,c=void 0===a?E.ZP:a,l=s.mapDispatchToPropsFactories,u=void 0===l?_.ZP:l,p=s.mergePropsFactories,h=void 0===p?b.ZP:p,d=s.selectorFactory,f=void 0===d?w.ZP:d,function(e,t,r,n){void 0===n&&(n={});var s=n,o=s.pure,a=void 0===o||o,l=s.areStatesEqual,p=void 0===l?S:l,d=s.areOwnPropsEqual,y=void 0===d?v.Z:d,_=s.areStatePropsEqual,E=void 0===_?v.Z:_,b=s.areMergedPropsEqual,w=void 0===b?v.Z:b,C=(0,g.Z)(s,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),j=k(e,c,"mapStateToProps"),x=k(t,u,"mapDispatchToProps"),O=k(r,h,"mergeProps");return i(f,(0,m.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:j,initMapDispatchToProps:x,initMergeProps:O,pure:a,areStatesEqual:p,areOwnPropsEqual:y,areStatePropsEqual:E,areMergedPropsEqual:w},C))})},214:function(e,t,r){"use strict";var n=r(4978),s=r(8821);t.ZP=[function(e){return"function"==typeof e?(0,s.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,s.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,s.dX)((function(t){return(0,n.DE)(e,t)})):void 0}]},6150:function(e,t,r){"use strict";var n=r(8821);t.ZP=[function(e){return"function"==typeof e?(0,n.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,n.dX)((function(){return{}}))}]},4262:function(e,t,r){"use strict";var n=r(988);function s(e,t,r){return(0,n.Z)({},r,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,s=r.pure,o=r.areMergedPropsEqual,i=!1;return function(t,r,a){var c=e(t,r,a);return i?s&&o(c,n)||(n=c):(i=!0,n=c),n}}}(e):void 0},function(e){return e?void 0:function(){return s}}]},7189:function(e,t,r){"use strict";r.d(t,{ZP:function(){return i}});var n=r(5343);function s(e,t,r,n){return function(s,o){return r(e(s,o),t(n,o),o)}}function o(e,t,r,n,s){var o,i,a,c,l,u=s.areStatesEqual,p=s.areOwnPropsEqual,h=s.areStatePropsEqual,d=!1;function f(s,d){var f,m,g=!p(d,i),y=!u(s,o);return o=s,i=d,g&&y?(a=e(o,i),t.dependsOnOwnProps&&(c=t(n,i)),l=r(a,c,i)):g?(e.dependsOnOwnProps&&(a=e(o,i)),t.dependsOnOwnProps&&(c=t(n,i)),l=r(a,c,i)):y?(f=e(o,i),m=!h(f,a),a=f,m&&(l=r(a,c,i)),l):l}return function(s,u){return d?f(s,u):(a=e(o=s,i=u),c=t(n,i),l=r(a,c,i),d=!0,l)}}function i(e,t){var r=t.initMapStateToProps,i=t.initMapDispatchToProps,a=t.initMergeProps,c=(0,n.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),l=r(e,c),u=i(e,c),p=a(e,c);return(c.pure?o:s)(l,u,p,e,c)}},8821:function(e,t,r){"use strict";function n(e){return function(t,r){var n=e(t,r);function s(){return n}return s.dependsOnOwnProps=!1,s}}function s(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function o(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=s(e);var o=n(t,r);return"function"==typeof o&&(n.mapToProps=o,n.dependsOnOwnProps=s(o),o=n(t,r)),o},n}}r.d(t,{dX:function(){return n},xv:function(){return o}})},2620:function(e,t,r){"use strict";r.d(t,{zt:function(){return n.Z},$j:function(){return s.Z}});var n=r(2054),s=(r(4193),r(1992),r(8274))},7110:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=Object.prototype.hasOwnProperty;function s(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function o(e,t){if(s(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(!n.call(t,r[i])||!s(e[r[i]],t[r[i]]))return!1;return!0}},4978:function(e,t,r){"use strict";r.d(t,{md:function(){return g},DE:function(){return p},UY:function(){return l},MT:function(){return a}});var n=r(3488),s=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function a(e,t,r){var s;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(a)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,l=t,u=[],p=u,h=!1;function d(){p===u&&(p=u.slice())}function f(){if(h)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(h)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return d(),p.push(e),function(){if(t){if(h)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,d();var r=p.indexOf(e);p.splice(r,1),u=null}}}function g(e){if(!i(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(h)throw new Error("Reducers may not dispatch actions.");try{h=!0,l=c(l,e)}finally{h=!1}for(var t=u=p,r=0;r<t.length;r++){(0,t[r])()}return e}function y(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,g({type:o.REPLACE})}function v(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(f())}return r(),{unsubscribe:t(r)}}})[n.Z]=function(){return this},e}return g({type:o.INIT}),(s={dispatch:g,subscribe:m,getState:f,replaceReducer:y})[n.Z]=v,s}function c(e,t){var r=t&&t.type;return"Given "+(r&&'action "'+String(r)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function l(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var s=t[n];0,"function"==typeof e[s]&&(r[s]=e[s])}var i,a=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if(void 0===r(void 0,{type:o.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===r(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(r)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var n=!1,s={},o=0;o<a.length;o++){var l=a[o],u=r[l],p=e[l],h=u(p,t);if(void 0===h){var d=c(l,t);throw new Error(d)}s[l]=h,n=n||h!==p}return(n=n||a.length!==Object.keys(e).length)?s:e}}function u(e,t){return function(){return t(e.apply(this,arguments))}}function p(e,t){if("function"==typeof e)return u(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var r={};for(var n in e){var s=e[n];"function"==typeof s&&(r[n]=u(s,t))}return r}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(r,!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},s={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=t.map((function(e){return e(s)}));return f({},r,{dispatch:n=m.apply(void 0,o)(r.dispatch)})}}}},2601:function(e){"use strict";function t(e,r){var n;if(Array.isArray(r))for(n=0;n<r.length;n++)t(e,r[n]);else for(n in r)e[n]=(e[n]||[]).concat(r[n])}e.exports=function(e){var r,n={};return t(n,e),(r=function(e){return function(t){return function(r){var s,o,i=n[r.type],a=t(r);if(i)for(s=0;s<i.length;s++)(o=i[s](r,e))&&e.dispatch(o);return a}}}).effects=n,r}},8211:function(e){"use strict";var t=256,r=[],n=window,s=Math.pow(t,6),o=Math.pow(2,52),i=2*o,a=255,c=Math.random;function l(e){var r,n=e.length,s=this,o=0,i=s.i=s.j=0,c=s.S=[];for(n||(e=[n++]);o<t;)c[o]=o++;for(o=0;o<t;o++)c[o]=c[i=a&i+e[o%n]+(r=c[o])],c[i]=r;(s.g=function(e){for(var r,n=0,o=s.i,i=s.j,c=s.S;e--;)r=c[o=a&o+1],n=n*t+c[a&(c[o]=c[i=a&i+r])+(c[i]=r)];return s.i=o,s.j=i,n})(t)}function u(e,t){var r,n=[],s=(typeof e)[0];if(t&&"o"==s)for(r in e)try{n.push(u(e[r],t-1))}catch(e){}return n.length?n:"s"==s?e:e+"\0"}function p(e,t){for(var r,n=e+"",s=0;s<n.length;)t[a&s]=a&(r^=19*t[a&s])+n.charCodeAt(s++);return d(t)}function h(e){try{return n.crypto.getRandomValues(e=new Uint8Array(t)),d(e)}catch(e){return[+new Date,n,n.navigator&&n.navigator.plugins,n.screen,d(r)]}}function d(e){return String.fromCharCode.apply(0,e)}e.exports=function(n,a){if(a&&!0===a.global)return a.global=!1,Math.random=e.exports(n,a),a.global=!0,Math.random;var c=a&&a.entropy||!1,f=[],m=(p(u(c?[n,d(r)]:0 in arguments?n:h(),3),f),new l(f));return p(d(m.S),r),function(){for(var e=m.g(6),r=s,n=0;e<o;)e=(e+n)*t,r*=t,n=m.g(1);for(;e>=i;)e/=2,r/=2,n>>>=1;return(e+n)/r}},e.exports.resetGlobal=function(){Math.random=c},p(Math.random(),r)},7078:function(e){var t=/<\/?([a-z][a-z0-9]*)\b[^>]*>?/gi;e.exports=function(e){return(e=e||"").replace(t,"").trim()}},3488:function(e,t,r){"use strict";var n,s=r(2752);e=r.hmd(e),n="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var o=(0,s.Z)(n);t.Z=o},2752:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,{Z:function(){return n}})},5597:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(9183),s=r.n(n),o=r(2620),i=r(2819),a=r(5736),c=r(9661),l=r(9499),u=r(230),p=r(9532),h=r(8931),d=r(3331),f=r(396);const __=a.__;r.p=window.JetpackInstantSearchOptions.webpackPublicPath;const m={aggregations:(0,u.a5)([...window[p.W1].widgets,...window[p.W1].widgetsOutsideOverlay]),defaultSort:window[p.W1].defaultSort,hasOverlayWidgets:!!window[p.W1].hasOverlayWidgets,options:window[p.W1],themeOptions:(0,h.C)(window[p.W1])};function g(){const{color:e,excludedPostTypes:t,infiniteScroll:r,resultFormat:n,showLogo:a,sort:u,sortEnabled:h,theme:g,trigger:y}=(0,f.Z)(),v={...window[p.W1].overlayOptions,...(0,i.pickBy)({colorTheme:g,defaultSort:u,enableInfScroll:r,enableSort:h,excludedPostTypes:t,highlightColor:e,overlayTrigger:y,resultFormat:n,showPoweredBy:a},(e=>void 0!==e))},{isLoading:_}=(0,d.Z)();return React.createElement("div",{
-/* translators: accessibility text for the widgets screen content landmark region. */
-"aria-label":__("Jetpack Search customization preview","jetpack"),className:"jp-search-configure-app-wrapper",role:"region",tabIndex:"-1"},_?React.createElement("img",{className:"jp-search-configure-loading-spinner",width:"32",height:"32",alt:__("Loading","jetpack"),src:"//en.wordpress.com/i/loading/loading-64.gif"}):React.createElement(o.zt,{store:l.Z},React.createElement(c.Z,s()({},m,{enableAnalytics:!1,initialIsVisible:!0,initialShowResults:!0,isInCustomizer:!1,overlayOptions:v,shouldCreatePortal:!1,shouldIntegrateWithDom:!1}))))}},512:function(e,t,r){"use strict";var n=r(5609),s=r(5736),o=r(2607),i=r(8570),a=r(9239);const __=s.__;t.Z=function(e){let{enableSidebar:t}=e;
-// translators: Product name 'Jetpack Search' should not be translated
-const r=__("Customize Jetpack Search","jetpack");return React.createElement("div",{className:"jp-search-configure-header"},React.createElement("div",{className:"jp-search-configure-header__navigable-toolbar-wrapper"},React.createElement("h1",{className:"jp-search-configure-header__title"},r)),React.createElement("div",{className:"jp-search-configure-header__actions"},React.createElement(a.Z,null),React.createElement(n.Button,{"aria-label":__("Show settings","jetpack"),className:"jp-search-configure-header__show-settings-button",isSecondary:!0,onClick:()=>t()},React.createElement(o.Z,{icon:i.Z}))))}},3655:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(9307),s=r(9818),o=r(162),i=r(3426),a=r(5808),c=r(70),l=r(9532);function u(){const{isLargeViewport:e}=(0,s.useSelect)((e=>({isLargeViewport:e(o.store).isViewportMatch("large")}))),[t,r]=(0,n.useState)(c.E),u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.E;return r(e)};return(0,n.useEffect)((()=>{(0,a.j2)(),(0,a.AM)(window[l.W1].siteId),(0,a.Ny)(`${a.q0}_page_view`)}),[]),(0,n.useEffect)((()=>{e&&null===t&&u()}),[t,e]),React.createElement("div",{className:"jp-search-configure-root"},React.createElement(i.Z,{disableSidebar:()=>r(null),enabledSidebarName:t,enableSidebar:u}))}},3426:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(5736),s=r(5597),o=r(512),i=r(1311);const __=n.__;function a(e){const{enabledSidebarName:t,enableSidebar:r,disableSidebar:n}=e;return React.createElement("div",{className:"interface-interface-skeleton"},React.createElement("div",{className:"interface-interface-skeleton__editor"},React.createElement("div",{
-/* translators: accessibility text for the widgets screen top bar landmark region. */
-"aria-label":__("Jetpack Search customization top bar","jetpack"),className:"interface-interface-skeleton__header",role:"region",tabIndex:"-1"},React.createElement(o.Z,{enableSidebar:r})),React.createElement("div",{className:"jp-search-configure-layout__body"},React.createElement(s.Z,null),!!t&&React.createElement("div",{
-/* translators: accessibility text for the widgets screen settings landmark region. */
-"aria-label":__("Jetpack Search customization settings","jetpack"),className:"interface-interface-skeleton__sidebar",role:"region",tabIndex:"-1"},React.createElement(i.Z,{disableSidebar:n,enabledSidebarName:t,enableSidebar:r})))))}},9239:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(5609),s=r(5736),o=r(5808),i=r(7218),a=r(9532);const __=s.__;function c(){const{editedEntities:e,isSaving:t,hasUnsavedEdits:r,saveRecords:s}=(0,i.Z)();return React.createElement(n.Button,{"aria-disabled":t,className:"jp-search-configure-save-button",disabled:!r,isBusy:t,isPrimary:!0,onClick:function(){t||((0,o.Ny)(`${o.q0}_save_button_click`,{initialSettings:JSON.stringify(window[a.W1].overlayOptions),changedSettings:JSON.stringify(e),changedSettingNames:Object.keys(e).join(",")}),s(...arguments))}},t?__("Saving…","jetpack"):__("Save","jetpack",0))}},4818:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(2175),s=r(5736),o=r(9818);const __=s.__,i=[{name:"Dull blue",color:"#463ECE"},{name:"Jazzberry jam",color:"#C6446F"},{name:"June bud",color:"#C4D455"}];function a(e){let{disabled:t,value:r,onChange:s}=e;const a=(0,o.useSelect)((e=>{var t;const r=null!==(t=e("core/block-editor").getSettings())&&void 0!==t?t:{};return Array.isArray(r?.colors)&&r.colors.length>0?r.colors:i}));return React.createElement("div",{className:"jp-search-configure-color-input components-base-control"},React.createElement(n.__experimentalColorGradientControl,{label:__("Highlight for search terms","jetpack"),disabled:t,colorValue:r,colors:a,disableCustomColors:!1,disableCustomGradients:!0,onColorChange:s}))}},300:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(9307),s=r(5609),o=r(5736);const __=o.__,i=window.JetpackInstantSearchOptions.postTypes;function a(e){let{disabled:t,onChange:r,validPostTypes:o=i,value:a}=e;const c=(0,n.useMemo)((()=>Object.keys(o)),[o]),l=(0,n.useMemo)((()=>a&&Array.isArray(a)?new Set(a):new Set),[a]),u=l.size===c.length-1;return React.createElement("div",{className:"jp-search-configure-excluded-post-types-control components-base-control"},React.createElement("div",{className:"jp-search-configure-excluded-post-types-control__label"},__("Excluded post types","jetpack")),u&&React.createElement(s.Notice,{isDismissible:!1,status:"info"},__("You must leave at least one post type unchecked.","jetpack")),c.map((e=>{return React.createElement(s.CheckboxControl,{checked:l.has(e),disabled:t||!l.has(e)&&u,key:e,label:i[e].name,onChange:(n=e,e=>{const t=new Set(l);e?t.add(n):t.delete(n),r([...t])}),value:e});var n})))}},1311:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(5609),s=r(5736),o=r(2607),i=r(2946),a=r(70),c=r(9239),l=r(845),u=r(7346),p=r(8914);const __=s.__;function h(e){const{enabledSidebarName:t,enableSidebar:r,disableSidebar:s}=e;return React.createElement("div",{className:"interface-complementary-area jp-search-configure-sidebar"},React.createElement("div",{className:"components-panel__header interface-complementary-area-header jp-search-configure-sidebar__panel-tabs",tabindex:"-1"},React.createElement(p.Z,{enabledSidebarName:t,enableSidebar:r}),React.createElement(c.Z,null),React.createElement(n.Button,{"aria-label":__("Show preview","jetpack"),className:"jp-search-configure-sidebar__hide-settings-button",isSecondary:!0,onClick:s},React.createElement(o.Z,{icon:i.Z}))),React.createElement("div",{className:"components-panel"},t===a.m&&React.createElement(l.Z,null),t===a.E&&React.createElement(u.Z,null)))}},845:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(2175),s=r(5609),o=r(5736),i=r(1429),a=r(6483);const __=o.__;function c(){return React.createElement("div",{className:"jp-search-configure-sidebar-description"},React.createElement(n.BlockIcon,{icon:i.Y}),React.createElement("div",null,React.createElement("p",null,__("Jetpack Instant Search will allow your visitors to get search results as soon as they start typing. Customize this experience to offer better results that match your site.","jetpack")),React.createElement(s.Button,{href:"widgets.php",isTertiary:!0},__("Edit widgets","jetpack")),React.createElement(s.Button,{href:(0,a.addQueryArgs)("customize.php",{"autofocus[section]":"jetpack_search",return:`${window.location.pathname}${window.location.search}`}),isTertiary:!0},__("Configure in the Customizer","jetpack"))))}},7346:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(9105),s=r.n(n),o=r(5609),i=r(5736),a=r(3331),c=r(7218),l=r(396),u=r(4818),p=r(300),h=r(569);const __=i.__;function d(){const{color:e,excludedPostTypes:t,infiniteScroll:r,resultFormat:n,setColor:i,setExcludedPostTypes:d,setInfiniteScroll:f,setResultFormat:m,setShowLogo:g,setSort:y,setSortEnabled:v,setTheme:_,setTrigger:E,showLogo:b,sort:w,sortEnabled:k,theme:S,trigger:C}=(0,l.Z)(),{isSaving:j}=(0,c.Z)(),{isLoading:x}=(0,a.Z)(),O=j||x;return React.createElement(o.Panel,{className:s()("jp-search-configure-sidebar-options",{"jp-search-configure-sidebar-options--is-disabled":O})},React.createElement(o.PanelBody,{title:__("Styling","jetpack"),initialOpen:!0},React.createElement(h.Z,{disabled:O,onChange:_,value:S}),React.createElement(o.RadioControl,{className:"jp-search-configure-result-format-radios",label:__("Result format","jetpack"),selected:n,options:[{label:__("Minimal","jetpack"),value:"minimal"},{label:__("Expanded (shows images)","jetpack"),value:"expanded"},{label:__("Product (for WooCommerce stores)","jetpack"),value:"product"}],onChange:m}),React.createElement(u.Z,{disabled:O,onChange:i,value:e})),React.createElement(o.PanelBody,{title:__("Search options","jetpack"),initialOpen:!0},React.createElement(o.SelectControl,{disabled:O,label:__("Default sort","jetpack"),value:w,options:[{label:__("Relevance (recommended)","jetpack"),value:"relevance"},{label:__("Newest first","jetpack"),value:"newest"},{label:__("Oldest first","jetpack"),value:"oldest"}],onChange:y}),React.createElement(o.SelectControl,{disabled:O,label:__("Overlay trigger","jetpack"),value:C,options:[{label:__("Open when the user starts typing","jetpack"),value:"immediate"},{label:__("Open when results are available","jetpack"),value:"results"},{label:__("Open when user submits the form","jetpack"),value:"submit"}],onChange:E}),React.createElement(p.Z,{disabled:O,onChange:d,value:t})),React.createElement(o.PanelBody,{title:__("Additional settings","jetpack"),initialOpen:!0},React.createElement(o.ToggleControl,{checked:k,disabled:O,label:__("Show sort selector","jetpack"),onChange:v}),React.createElement(o.ToggleControl,{checked:r,disabled:O,label:__("Enable infinite scroll","jetpack"),onChange:f}),React.createElement(o.ToggleControl,{checked:b,disabled:O,label:__('Show "Powered by Jetpack"',"jetpack"),onChange:g})))}},8914:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(9105),s=r.n(n),o=r(5736),i=r(5609),a=r(70);const __=o.__;function c(e){let{enabledSidebarName:t,enableSidebar:r}=e;return React.createElement("ul",null,React.createElement("li",null,React.createElement(l,{enableSidebar:r,identifier:a.m,isActive:t===a.m,label:__("Jetpack Search","jetpack")})),React.createElement("li",null,React.createElement(l,{enableSidebar:r,identifier:a.E,isActive:t===a.E,label:__("Options","jetpack")})))}function l(e){let{enableSidebar:t,identifier:r,label:n,isActive:a}=e;
-// translators: %s: sidebar label e.g: "Options".
-const c=a?(0,o.sprintf)(__("%s (selected)","jetpack"),n):n;return React.createElement(i.Button,{onClick:()=>t(r),className:s()("jp-search-configure-sidebar__panel-tab",{"is-active":a}),"aria-label":c,"data-label":n},n)}},569:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(9105),s=r.n(n),o=r(5609),i=r(5736),a=r(8961);const __=i.__;function c(e){let{disabled:t,value:r,onChange:n}=e;return React.createElement("div",{className:"jp-search-configure-theme-buttons components-base-control"},React.createElement(o.Button,{className:s()({"jp-search-configure-theme-button--selected":"light"===r}),disabled:t,onClick:()=>n("light"),variant:"link"},React.createElement(a.Z,{theme:"light"}),React.createElement("span",{"aria-label":__("Light Theme","jetpack")},__("Light","jetpack"))),React.createElement(o.Button,{className:s()({"jp-search-configure-theme-button--selected":"dark"===r}),disabled:t,onClick:()=>n("dark"),variant:"link"},React.createElement(a.Z,{theme:"dark"}),React.createElement("span",{"aria-label":__("Dark Theme","jetpack")},__("Dark","jetpack"))))}},8961:function(e,t,r){"use strict";function n(e){let{theme:t}=e;const r="dark"===t?"#000":"#fff",n="dark"===t?"#4F5861":"#DDE5EE";return React.createElement("svg",{width:"104",height:"80",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},React.createElement("rect",{x:"7.5",y:"7.5",width:"89",height:"65",rx:"3.5",fill:r,stroke:n}),React.createElement("path",{d:"M16 20a4 4 0 014-4h49a4 4 0 010 8H20a4 4 0 01-4-4zM42 55.5a1.5 1.5 0 011.5-1.5h32a1.5 1.5 0 010 3h-32a1.5 1.5 0 01-1.5-1.5zM42 60.5a1.5 1.5 0 011.5-1.5h11a1.5 1.5 0 010 3h-11a1.5 1.5 0 01-1.5-1.5zM16 47a4 4 0 014-4h12a4 4 0 014 4v12a4 4 0 01-4 4H20a4 4 0 01-4-4V47zM42 48a3 3 0 013-3h40a3 3 0 110 6H45a3 3 0 01-3-3zM8 32h89v1H8z",fill:n}))}r.d(t,{Z:function(){return n}})},7218:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(9196),s=r(9818);function o(){const{saveEntityRecord:e,undo:t,redo:r}=(0,s.useDispatch)("core"),o=(0,s.useSelect)((e=>e("core").getEntityRecordEdits("root","site"))),i=o&&Object.keys(o).length>0,a=(0,s.useSelect)((e=>e("core").isSavingEntityRecord("root","site"))),c=(0,s.useSelect)((e=>e("core").hasUndo())),l=(0,s.useSelect)((e=>e("core").hasRedo())),u=(0,n.useCallback)((()=>{i&&e("root","site",o)}),[o,i,e]);return{editedEntities:o,hasRedo:c,hasUndo:l,hasUnsavedEdits:i,isSaving:a,redo:r,saveRecords:u,undo:t}}},3331:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(9818);function s(){return{isLoading:!(0,n.useSelect)((e=>e("core").getSite()))}}},396:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(9196),s=r(7798);function o(){const[e,t]=(0,s.useEntityProp)("root","site","jetpack_search_color_theme"),[r,o]=(0,s.useEntityProp)("root","site","jetpack_search_result_format"),[i,a]=(0,s.useEntityProp)("root","site","jetpack_search_default_sort"),[c,l]=(0,s.useEntityProp)("root","site","jetpack_search_overlay_trigger"),[u,p]=(0,s.useEntityProp)("root","site","jetpack_search_highlight_color"),[h,d]=(0,s.useEntityProp)("root","site","jetpack_search_enable_sort"),[f,m]=(0,s.useEntityProp)("root","site","jetpack_search_inf_scroll"),[g,y]=(0,s.useEntityProp)("root","site","jetpack_search_show_powered_by"),[v,_]=(0,s.useEntityProp)("root","site","jetpack_search_excluded_post_types");return{color:u,excludedPostTypes:(0,n.useMemo)((()=>v?.split(",").filter((e=>e?.length>0))),[v]),infiniteScroll:f,resultFormat:r,setColor:p,setExcludedPostTypes:e=>_(e.join(",")),setInfiniteScroll:m,setResultFormat:o,setShowLogo:y,setSort:a,setSortEnabled:d,setTheme:t,setTrigger:l,showLogo:g,sort:i,sortEnabled:h,theme:e,trigger:c}}},5808:function(e,t,r){"use strict";r.d(t,{q0:function(){return s},j2:function(){return o},AM:function(){return i},Ny:function(){return a}});var n=r(6546);const s="jetpack_search_customberg",o=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.tU)(...t,!0)},i=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.AM)(...t,!0)},a=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.Ny)(...t,!0)}},70:function(e,t,r){"use strict";r.d(t,{m:function(){return n},E:function(){return s}});const n="jetpack-customize-search/info",s="jetpack-customize-search/options"},3130:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(7538),s=r.n(n),o=r(9196),i=r(7079);class a extends o.Component{constructor(){super(...arguments),s()(this,"handleOverlayOptionsUpdate",(e=>{this.props.updateOverlayOptions(e,(()=>this.props.showResults()))}))}componentDidMount(){(0,i.vJ)(this.handleOverlayOptionsUpdate),(0,i.Em)(this.props.toggleResults)}render(){return null}}},3703:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(7538),s=r.n(n),o=r(9196),i=r(5034),a=r.n(i);class c extends o.Component{constructor(){super(...arguments),s()(this,"handleCompositionStart",(()=>this.setState({isComposing:!0}))),s()(this,"handleCompositionEnd",(()=>this.setState({isComposing:!1}))),s()(this,"handleFilterInputClick",(e=>{e.preventDefault(),e.currentTarget.dataset.filterType&&("taxonomy"===e.currentTarget.dataset.filterType?this.props.setFilter(e.currentTarget.dataset.taxonomy,e.currentTarget.dataset.val):this.props.setFilter(e.currentTarget.dataset.filterType,e.currentTarget.dataset.val)),this.props.setSearchQuery(""),this.props.showResults()})),s()(this,"handleHistoryNavigation",(()=>{this.props.initializeQueryValues({isHistoryNavigation:!0})})),s()(this,"handleInput",a()((e=>{e.inputType?.includes("format")||""===e.target.value||this.state.isComposing||"submit"!==this.props.overlayOptions.overlayTrigger&&(this.props.setSearchQuery(e.target.value),"immediate"===this.props.overlayOptions.overlayTrigger&&this.props.showResults(),"results"===this.props.overlayOptions.overlayTrigger&&this.props.response?.results&&this.props.showResults())}),200)),s()(this,"handleKeyup",(e=>{"Enter"===e.key&&(this.props.setSearchQuery(e.target.value),this.props.showResults())})),s()(this,"handleOverlayTriggerClick",(e=>{e.stopImmediatePropagation(),this.props.setSearchQuery(""),this.props.showResults()})),s()(this,"handleSubmit",(e=>{if(e.preventDefault(),this.handleInput.flush(),!this.props.isVisible){const t=e.target.querySelector(this.props.themeOptions.searchInputSelector)?.value;"string"==typeof t&&this.props.setSearchQuery(t),this.props.showResults()}})),s()(this,"fixBodyScroll",(()=>{this.props.isVisible?(this.preventBodyScroll(),window?.scrollTo(0,0)):this.props.isVisible||this.restoreBodyScroll()})),this.state={isComposing:!1,bodyScrollTop:0,previousStyle:null,previousBodyStyleAttribute:""},this.props.initializeQueryValues()}componentDidMount(){this.disableUnnecessaryFormAndInputAttributes(),this.addEventListeners()}componentWillUnmount(){this.removeEventListeners(),this.restoreBodyScroll()}componentDidUpdate(e){this.props.isVisible!==e.isVisible&&this.fixBodyScroll()}disableUnnecessaryFormAndInputAttributes(){document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.removeAttribute("required"),e.removeAttribute("autocomplete"),e.form.removeAttribute("autocomplete")}))}addEventListeners(){window.addEventListener("popstate",this.handleHistoryNavigation),document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.form.addEventListener("submit",this.handleSubmit),e.addEventListener("keyup",this.handleKeyup),e.addEventListener("input",this.handleInput),e.addEventListener("compositionstart",this.handleCompositionStart),e.addEventListener("compositionend",this.handleCompositionEnd)})),document.querySelectorAll(this.props.themeOptions.overlayTriggerSelector).forEach((e=>{e.addEventListener("click",this.handleOverlayTriggerClick,!0)})),document.querySelectorAll(this.props.themeOptions.filterInputSelector).forEach((e=>{e.addEventListener("click",this.handleFilterInputClick)}))}removeEventListeners(){window.removeEventListener("popstate",this.handleHistoryNavigation),document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.form.removeEventListener("submit",this.handleSubmit),e.removeEventListener("keyup",this.handleKeyup),e.removeEventListener("input",this.handleInput),e.removeEventListener("compositionstart",this.handleCompositionStart),e.removeEventListener("compositionend",this.handleCompositionEnd)})),document.querySelectorAll(this.props.themeOptions.overlayTriggerSelector).forEach((e=>{e.removeEventListener("click",this.handleOverlayTriggerClick,!0)})),document.querySelectorAll(this.props.themeOptions.filterInputSelector).forEach((e=>{e.removeEventListener("click",this.handleFilterInputClick)}))}preventBodyScroll(){this.setState({bodyScrollTop:parseInt(window.scrollY)||0,previousStyle:{top:document.body.style.top,left:document.body.style.left,right:document.body.style.right,scrollBehavior:document.documentElement.style.scrollBehavior},previousBodyStyleAttribute:document.body.getAttribute("style")},(()=>{const e=document.documentElement?.scrollHeight-document.body?.scrollHeight||0;document.body.setAttribute("style","position: fixed !important"),document.body.style.top=`-${this.state.bodyScrollTop-e}px`,document.body.style.left=0,document.body.style.right=0}))}restoreBodyScroll(){var e,t,r,n;this.state.previousBodyStyleAttribute?document.body.setAttribute("style",this.state.previousBodyStyleAttribute):document.body.removeAttribute("style"),document.body.style.top=null!==(e=this.state.previousStyle?.top)&&void 0!==e?e:"",document.body.style.left=null!==(t=this.state.previousStyle?.left)&&void 0!==t?t:"",document.body.style.right=null!==(r=this.state.previousStyle?.right)&&void 0!==r?r:"",document.documentElement.style.scrollBehavior="revert",this.state.bodyScrollTop>0&&window.scrollTo(0,this.state.bodyScrollTop),document.documentElement.style.scrollBehavior=null!==(n=this.state.previousStyle?.scrollBehavior)&&void 0!==n?n:"",this.setState({bodyScrollTop:0,previousStyle:null,previousBodyStyleAttribute:""})}render(){return null}}},1295:function(e,t,r){"use strict";var n=r(7538),s=r.n(n),o=r(9196),i=r.n(o),a=r(5736);const __=a.__;class c extends o.Component{needsOffset(e,t){return["gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGTitle(e){if("title"in this.props)return this.props.title?i().createElement("title",null,this.props.title):null;switch(e){default:return null;case"gridicons-audio":return i().createElement("title",null,__("Has audio.","jetpack"));case"gridicons-calendar":return i().createElement("title",null,__("Is an event.","jetpack"));case"gridicons-cart":return i().createElement("title",null,__("Is a product.","jetpack"));case"chevron-down":return i().createElement("title",null,__("Show filters","jetpack"));case"gridicons-comment":return i().createElement("title",null,__("Matching comment.","jetpack"));case"gridicons-cross":return i().createElement("title",null,__("Close search results","jetpack"));case"gridicons-filter":return i().createElement("title",null,__("Toggle search filters.","jetpack"));case"gridicons-folder":return i().createElement("title",null,__("Category","jetpack"));case"gridicons-image-multiple":return i().createElement("title",null,__("Has multiple images.","jetpack"));case"gridicons-image":return i().createElement("title",null,__("Has an image.","jetpack"));case"gridicons-page":return i().createElement("title",null,__("Page","jetpack"));case"gridicons-post":return i().createElement("title",null,__("Post","jetpack"));case"gridicons-jetpack-search":case"gridicons-search":return i().createElement("title",null,__("Search","jetpack"));case"gridicons-tag":return i().createElement("title",null,__("Tag","jetpack"));case"gridicons-video":return i().createElement("title",null,__("Has a video.","jetpack"))}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return i().createElement("g",null,i().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-block":return i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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-chevron-down":return i().createElement("g",null,i().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return i().createElement("g",null,i().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-cross":return i().createElement("g",null,i().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 i().createElement("g",null,i().createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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-jetpack-search":return i().createElement("g",null,i().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-pages":return i().createElement("g",null,i().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 i().createElement("g",null,i().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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"}))}}render(){const{size:e=24,className:t=""}=this.props,r=this.props.height||e,n=this.props.width||e,s=this.props.style||{height:r,width:n},o="gridicons-"+this.props.icon;let a=["gridicon",o,t];return this.needsOffset(o,e)&&a.push("needs-offset"),a=a.join(" "),i().createElement("svg",{className:a,focusable:this.props.focusable,height:r,onClick:this.props.onClick,style:s,viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},this.getSVGTitle(o),this.renderIcon(o))}}s()(c,"defaultProps",{"aria-hidden":"false",focusable:"true"}),t.Z=c},1429:function(e,t,r){"use strict";r.d(t,{Y:function(){return a}});var n=r(9196),s=r.n(n),o=r(5736);const __=o.__,i="#fff",a=s().createElement("svg",{className:"jetpack-instant-search__jetpack-colophon-logo",height:12,width:12,viewBox:"0 0 32 32"},s().createElement("path",{className:"jetpack-logo__icon-circle",fill:"#069e08",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),s().createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:i,points:"15,19 7,19 15,3 "}),s().createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:i,points:"17,29 17,13 25,13 "}));t.Z=e=>{const t="string"==typeof e.locale?e.locale.split("-",1)[0]:null,r=t&&"en"!==t?"https://"+t+".jetpack.com/search?utm_source=poweredby":"https://jetpack.com/search?utm_source=poweredby";return s().createElement("div",{className:"jetpack-instant-search__jetpack-colophon"},s().createElement("a",{href:r,rel:"external noopener noreferrer nofollow",target:"_blank",className:"jetpack-instant-search__jetpack-colophon-link"},a,s().createElement("span",{className:"jetpack-instant-search__jetpack-colophon-text"},__("Search powered by Jetpack","jetpack"))))}},3660:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(1295);t.Z=e=>{let{type:t,children:r}=e;return"warning"!==t?null:s().createElement("div",{className:"jetpack-instant-search__notice jetpack-instant-search__notice--warning"},s().createElement(o.Z,{icon:"info",size:20}),r)}},1808:function(e,t,r){"use strict";var n=r(5736),s=r(9196),o=r.n(s),i=r(9532);const __=n.__;t.Z=e=>{const{children:t,closeOverlay:r,colorTheme:n,hasOverlayWidgets:a,isVisible:c}=e,l=(u=r,e=>{"Escape"!==e.key&&"Esc"!==e.key||(e.preventDefault(),u())});var u;return(0,s.useEffect)((()=>(window.addEventListener("keydown",l),()=>{window.removeEventListener("keydown",l)})),[l]),o().createElement("div",{"aria-hidden":!c,"aria-labelledby":"jetpack-instant-search__overlay-title",className:["jetpack-instant-search",i.zg,`jetpack-instant-search__overlay--${n}`,a?"":"jetpack-instant-search__overlay--no-sidebar",c?"":"is-hidden"].join(" "),role:"dialog"},o().createElement("h1",{id:"jetpack-instant-search__overlay-title",className:"screen-reader-text"},__("Search results","jetpack")),t)}},6941:function(e,t,r){"use strict";var n=r(9196),s=r.n(n);t.Z=e=>{let{className:t,onClick:r,url:n}=e;const o=function(e){const t=e.split("/").filter((e=>e.length>0));return t.shift(),t}(n);return o.length<1?null:s().createElement("div",{className:`jetpack-instant-search__path-breadcrumb ${t||""}`},s().createElement("a",{className:"jetpack-instant-search__path-breadcrumb-link",href:`//${n}`,onClick:r},o.map(((e,t,r)=>s().createElement("span",{className:"jetpack-instant-search__path-breadcrumb-piece"},decodeURIComponent(e),t!==r.length-1?" › ":"")))))}},7979:function(e,t,r){"use strict";var n=r(9183),s=r.n(n),o=r(9196),i=r.n(o),a=r(7802);t.Z=e=>{const{alt:t,isPhotonEnabled:r,maxHeight:n=600,maxWidth:c=600,src:l,lazyLoad:u=!0,...p}=e,h=(0,o.useRef)(),[d,f]=(0,o.useState)(null),m=(0,a.y)(l,c,n,r);return(0,o.useEffect)((()=>{if(!m)return;let e=null;return u&&"IntersectionObserver"in window?(e=new window.IntersectionObserver(((e,t)=>{for(const r of e)r.isIntersecting&&(f(m),t.unobserve(r.target))})),e.observe(h.current)):f(m),()=>{e?.disconnect()}}),[u,m]),i().createElement("img",s()({alt:t,ref:h,src:d},p))}},1208:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(1295),i=r(7135);const a=["youtube","ooyala","anvplayer","wpvideo","bc_video","video","brightcove","tp_video","jwplayer","tempo-video","vimeo"],c=["gallery","ione_media_gallery"],l=["audio","soundcloud"],u={product:"cart",video:"video",gallery:"image-multiple",event:"calendar",events:"calendar"};t.Z=e=>{let{postType:t,shortcodeTypes:r,iconSize:n=18}=e;if(Object.keys(u).includes(t))return s().createElement(o.Z,{icon:u[t],size:n});const p=(0,i.Z)(r,a),h=(0,i.Z)(r,l),d=(0,i.Z)(r,c);return p?s().createElement(o.Z,{icon:"video",size:n}):h?s().createElement(o.Z,{icon:"audio",size:n}):"page"===t?s().createElement(o.Z,{icon:"pages",size:n}):d?s().createElement(o.Z,{icon:"image-multiple",size:n}):null}},9592:function(e,t,r){"use strict";var n=r(9196),s=r.n(n);class o extends n.Component{render(){const{formattedPrice:e,formattedSalePrice:t,formattedRegularPrice:r,price:o,salePrice:i}=this.props;return o?s().createElement("span",{className:"jetpack-instant-search__product-price"},i>0?s().createElement(n.Fragment,null,s().createElement("s",{className:"jetpack-instant-search__product-price-regular",dangerouslySetInnerHTML:{__html:r}}),s().createElement("span",{dangerouslySetInnerHTML:{__html:t}})):s().createElement("span",{dangerouslySetInnerHTML:{__html:e}})):null}}t.Z=o},7265:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(5736),s=r(9196),o=r.n(s),i=r(1295);const _n=n._n;function a(e){let{rating:t=0,count:r=0,permalink:s}=e;return o().createElement("div",{className:"jetpack-instant-search__product-rating"},o().createElement("span",{"aria-hidden":!0,className:"jetpack-instant-search__product-rating-stars"},Array(5).fill(o().createElement(i.Z,{size:16,icon:"star-outline"})).fill(o().createElement(i.Z,{size:16,icon:"star"}),0,t))," ",o().createElement("a",{"aria-hidden":!0,className:"jetpack-instant-search__product-rating-count",href:s+"#reviews"},(0,n.sprintf)(
-/* Translators: the placeholder is the number of product reviews. */
-_n("%d review","%d reviews",r,"jetpack"),r)),o().createElement("span",{className:"screen-reader-text"},(0,n.sprintf)(
-/* Translators: the first placeholder is the average product rating out of 5; the second is the number of product reviews. */
-_n("Average rating of %1$d out of 5 from %2$d review.","Average rating of %1$d out of 5 from %2$d reviews.",r,"jetpack"),Number(t).toFixed(2),r)))}},9534:function(e,t,r){"use strict";var n=r(7538),s=r.n(n),o=r(9196),i=r.n(o),a=r(5736),c=r(5034),l=r.n(c),u=r(9532);const __=a.__;class p extends o.Component{constructor(){super(...arguments),s()(this,"overlayElement",document.getElementsByClassName(u.zg)[0]),s()(this,"checkScroll",l()((()=>{this.props.enableLoadOnScroll&&window.innerHeight+this.overlayElement.scrollTop>=this.overlayElement.scrollHeight&&this.props.onLoadNextPage()}),100))}componentDidMount(){this.overlayElement.addEventListener("scroll",this.checkScroll)}componentDidUnmount(){this.overlayElement.removeEventListener("scroll",this.checkScroll)}render(){return i().createElement("button",{className:"jetpack-instant-search__scroll-button",disabled:this.props.isLoading,onClick:this.props.onLoadNextPage},this.props.isLoading?i().createElement("span",null,__("Loading…","jetpack")):i().createElement("span",null,__("Load more","jetpack")))}}t.Z=p},9661:function(e,t,r){"use strict";var n=r(7538),s=r.n(n),o=r(9196),i=r.n(o),a=r(1850),c=r(5034),l=r.n(c),u=r(2620),p=r(8027),h=r.n(p),d=r(3130),f=r(3703),m=r(1808),g=r(5031),y=r(6546),v=r(9532),_=r(2168),E=r(6669),b=r(7283),w=r(341);class k extends o.Component{constructor(){var e;super(...arguments),e=this,s()(this,"getResultFormat",(()=>{const e=(0,E.ug)();return this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==v.Bk?v.Pz:e||this.state.overlayOptions.resultFormat})),s()(this,"initializeStaticFilters",(()=>{const e=(0,_.bA)();e.length>0&&0===Object.keys(this.props.staticFilters).length&&e.forEach((e=>this.props.setStaticFilter(e.filter_id,e.selected,!0)))})),s()(this,"hideResults",(e=>{this.props.shouldIntegrateWithDom&&(0,E.Q0)(this.props.initialHref,(()=>{this.setState({isVisible:!1}),this.props.clearQueryValues()}),e)})),s()(this,"toggleResults",(e=>{this.props.shouldIntegrateWithDom&&this.state.isVisible!==e&&(e&&this.initializeStaticFilters(),this.setState({isVisible:e}))})),s()(this,"showResults",this.toggleResults.bind(this,!0)),s()(this,"onChangeQueryString",(e=>{this.getResults(),this.props.hasActiveQuery&&!this.state.isVisible&&this.showResults(),!this.props.hasActiveQuery&&e&&this.hideResults(e),null!==this.props.searchQuery&&document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.value=this.props.searchQuery}))})),s()(this,"loadNextPage",(()=>{this.props.hasNextPage&&this.getResults({pageHandle:this.props.response.page_handle})})),s()(this,"getResults",(function(){let{pageHandle:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.props.makeSearchRequest({aggregations:t?{}:e.props.aggregations,excludedPostTypes:e.state.overlayOptions.excludedPostTypes,filter:e.props.filters,staticFilters:e.props.staticFilters,pageHandle:t,query:e.props.searchQuery,resultFormat:e.getResultFormat(),siteId:e.props.options.siteId,sort:e.props.sort,postsPerPage:e.props.options.postsPerPage,adminQueryFilter:e.props.options.adminQueryFilter,isInCustomizer:e.props.isInCustomizer})})),s()(this,"updateOverlayOptions",((e,t)=>{this.setState((t=>({overlayOptionsCustomizerOverride:{...t.overlayOptionsCustomizerOverride,...e}})),t)})),this.state={isVisible:!!this.props.initialIsVisible,overlayOptionsCustomizerOverride:{}},this.getResults=l()(this.getResults,200),this.props.enableAnalytics?this.initializeAnalytics():(0,y.IJ)(),this.props.shouldIntegrateWithDom?this.props.initializeQueryValues():this.props.disableQueryStringIntegration()}static getDerivedStateFromProps(e,t){return{overlayOptions:{...e.overlayOptions,...t.overlayOptionsCustomizerOverride}}}componentDidMount(){this.getResults(),this.props.hasActiveQuery&&this.showResults()}componentDidUpdate(e,t){e.searchQuery===this.props.searchQuery&&e.sort===this.props.sort&&h()(e.filters)===h()(this.props.filters)&&h()(e.staticFilters)===h()(this.props.staticFilters)||this.onChangeQueryString(this.props.isHistoryNavigation),t.overlayOptions.defaultSort!==this.state.overlayOptions.defaultSort&&this.props.setSort(this.state.overlayOptions.defaultSort),h()(t.overlayOptions.excludedPostTypes)!==h()(this.state.overlayOptions.excludedPostTypes)&&this.getResults()}initializeAnalytics(){(0,y.tU)(),(0,y.vy)(),(0,y.AM)(this.props.options.siteId)}render(){const e=this.getResultFormat(),t=this.props.shouldCreatePortal?a.createPortal:e=>e;return i().createElement(o.Fragment,null,this.props.isInCustomizer&&i().createElement(d.Z,{showResults:this.showResults,toggleResults:this.toggleResults,updateOverlayOptions:this.updateOverlayOptions}),this.props.shouldIntegrateWithDom&&i().createElement(f.Z,{initializeQueryValues:this.props.initializeQueryValues,isVisible:this.state.isVisible,overlayOptions:this.state.overlayOptions,setFilter:this.props.setFilter,setSearchQuery:this.props.setSearchQuery,showResults:this.showResults,themeOptions:this.props.themeOptions}),t(i().createElement(m.Z,{closeColor:this.state.overlayOptions.closeColor,closeOverlay:this.hideResults,colorTheme:this.state.overlayOptions.colorTheme,hasOverlayWidgets:this.props.hasOverlayWidgets,isVisible:this.state.isVisible},i().createElement(g.Z,{closeOverlay:this.hideResults,enableLoadOnScroll:this.state.overlayOptions.enableInfScroll,enableSort:this.state.overlayOptions.enableSort,filters:this.props.filters,staticFilters:this.props.staticFilters,hasError:this.props.hasError,hasNextPage:this.props.hasNextPage,highlightColor:this.state.overlayOptions.highlightColor,isLoading:this.props.isLoading,isPhotonEnabled:this.props.options.isPhotonEnabled,isPrivateSite:this.props.options.isPrivateSite,isVisible:this.state.isVisible,locale:this.props.options.locale,onChangeSearch:this.props.setSearchQuery,onChangeSort:this.props.setSort,onLoadNextPage:this.loadNextPage,overlayTrigger:this.state.overlayOptions.overlayTrigger,postTypes:this.props.options.postTypes,response:this.props.response,resultFormat:e,searchQuery:this.props.searchQuery,showPoweredBy:this.state.overlayOptions.showPoweredBy,sort:this.props.sort,widgets:this.props.options.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay,hasNonSearchWidgets:this.props.options.hasNonSearchWidgets})),document.body))}}s()(k,"defaultProps",{overlayOptions:{},widgets:[]}),t.Z=(0,u.$j)(((e,t)=>({filters:(0,w.Zj)(e),staticFilters:(0,w.Bk)(e),hasActiveQuery:(0,w.en)(e),hasError:(0,w.xT)(e),isHistoryNavigation:(0,w.wI)(e),hasNextPage:(0,w.Qy)(e),isLoading:(0,w.hg)(e),response:(0,w.ck)(e),searchQuery:(0,w.uP)(e),sort:(0,w.r$)(e,t.overlayOptions.defaultSort),widgetOutsideOverlay:(0,w.ZN)(e)})),{clearQueryValues:b.Mz,disableQueryStringIntegration:b.OZ,initializeQueryValues:b.Ln,makeSearchRequest:b.x1,setStaticFilter:b.O1,setFilter:b.Tv,setSearchQuery:b.ql,setSort:b.HD})(k)},2957:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(5736),i=r(660),a=r.n(i),c=r(1295);const __=o.__;let l=null;t.Z=e=>{var t;const[r]=(0,n.useState)((()=>a()("jetpack-instant-search__box-input-"))),o=(0,n.useRef)(null);return(0,n.useEffect)((()=>{var t;e.isVisible?(t=o.current,()=>{l=document.activeElement,t.focus()})():e.shouldRestoreFocus&&l&&l.focus()}),[e.isVisible,e.shouldRestoreFocus]),s().createElement(n.Fragment,null,s().createElement("div",{className:"jetpack-instant-search__box"},s().createElement("label",{className:"jetpack-instant-search__box-label",htmlFor:r},s().createElement("span",{className:"screen-reader-text assistive-text"},__("Site Search","jetpack")),s().createElement("div",{className:"jetpack-instant-search__box-gridicon"},s().createElement(c.Z,{icon:"search",size:24})),s().createElement("input",{autoComplete:"off",id:r,className:"search-field jetpack-instant-search__box-input",inputMode:"search",onChange:e.isVisible?e.onChange:null,ref:o,placeholder:__("Search…","jetpack"),type:"search",value:null!==(t=e.searchQuery)&&void 0!==t?t:""}),"string"==typeof e.searchQuery&&e.searchQuery.length>0&&
-/* Translators: Button is used to clear the search input query. */
-s().createElement("input",{type:"button",value:__("clear","jetpack"),onClick:e.onClear}),s().createElement("button",{className:"screen-reader-text assistive-text"},__("Search","jetpack")))))}},6536:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(649);t.Z=e=>s().createElement("div",{className:"jetpack-instant-search__search-form-controls"},e.children,e.enableSort&&s().createElement(o.Z,{onChange:e.onChangeSort,resultFormat:e.resultFormat,value:e.sort}))},7287:function(e,t,r){"use strict";r.d(t,{a:function(){return h},Z:function(){return d}});var n=r(7538),s=r.n(n),o=r(9196),i=r.n(o),a=r(7078),c=r.n(a),l=r(660),u=r.n(l),p=r(8931);const h=e=>e.split(" ").join("T");class d extends o.Component{constructor(){super(...arguments),s()(this,"filtersList",(0,o.createRef)()),s()(this,"idPrefix",u()("jetpack-instant-search__search-filter-")),s()(this,"toggleFilter",(()=>{this.props.onChange(this.getIdentifier(),(0,p.b)(this.filtersList.current))})),s()(this,"toggleStaticFilter",(e=>{this.props.onChange(this.getIdentifier(),e.target.value)})),s()(this,"renderDate",(e=>{let{key_as_string:t,doc_count:r}=e;const{locale:n="en-US"}=this.props;return i().createElement("div",null,i().createElement("input",{checked:this.isChecked(t),disabled:!this.isChecked(t)&&0===r,id:`${this.idPrefix}-dates-${this.getIdentifier()}-${t}`,name:t,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-dates-${this.getIdentifier()}-${t}`,className:"jetpack-instant-search__search-filter-list-label"},new Date(h(t)).toLocaleString(n,function(e){switch(e){case"day":return{year:"numeric",month:"long",day:"numeric"};case"month":return{year:"numeric",month:"long"};case"year":return{year:"numeric"}}return{year:"numeric",month:"long"}}(this.props.configuration.interval))," ","(",r,")"))})),s()(this,"renderPostType",(e=>{let{key:t,doc_count:r}=e;const n=t in this.props.postTypes?this.props.postTypes[t].singular_name:t;return i().createElement("div",null,i().createElement("input",{checked:this.isChecked(t),disabled:!this.isChecked(t)&&0===r,id:`${this.idPrefix}-post-types-${t}`,name:t,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-post-types-${t}`,className:"jetpack-instant-search__search-filter-list-label"},c()(n)," (",r,")"))})),s()(this,"renderTaxonomy",(e=>{let{key:t,doc_count:r}=e;const[n,s]=t&&t.split(/\/(.+)/);return i().createElement("div",null,i().createElement("input",{checked:this.isChecked(n),disabled:!this.isChecked(n)&&0===r,id:`${this.idPrefix}-taxonomies-${n}`,name:n,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-taxonomies-${n}`,className:"jetpack-instant-search__search-filter-list-label"},c()(s)," (",r,")"))})),s()(this,"renderGroup",(e=>i().createElement("div",null,i().createElement("input",{checked:this.isChecked(e.value),id:`${this.idPrefix}-groups-${e.value}`,name:this.props.configuration.filter_id,onChange:this.toggleStaticFilter,value:e.value,type:"radio",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-groups-${e.value}`,className:"jetpack-instant-search__search-filter-list-label"},e.name))))}getIdentifier(){return"postType"===this.props.type?"post_types":"date"===this.props.type?`${this.props.configuration.interval}_${this.props.configuration.field}`:"taxonomy"===this.props.type?this.props.configuration.taxonomy:"group"===this.props.type?this.props.configuration.filter_id:void 0}isChecked(e){return Boolean(this.props.value&&this.props.value.includes(e))}renderDates(){return[...this.props.aggregation.buckets.filter((e=>!!e)).map(this.renderDate)].reverse().slice(0,this.props.configuration.count)}renderPostTypes(){return this.props.aggregation.buckets.map(this.renderPostType)}renderTaxonomies(){return this.props.aggregation.buckets.map(this.renderTaxonomy)}renderGroups(){return this.props.configuration.values.map(this.renderGroup)}render(){return i().createElement("div",null,i().createElement("h4",{className:"jetpack-instant-search__search-filter-sub-heading"},this.props.configuration.name),i().createElement("div",{ref:this.filtersList},i().createElement("div",{className:"jetpack-instant-search__search-filter-list jetpack-instant-search__search-static-filter-list"},"group"===this.props.type&&this.renderGroups()),this.props.aggregation&&"buckets"in this.props.aggregation&&i().createElement("div",{className:"jetpack-instant-search__search-filter-list"},"date"===this.props.type&&this.renderDates(),"postType"===this.props.type&&this.renderPostTypes(),"taxonomy"===this.props.type&&this.renderTaxonomies())))}}},2360:function(e,t,r){"use strict";var n=r(7538),s=r.n(n),o=r(9196),i=r.n(o),a=r(5736),c=r(2620),l=r(7287),u=r(2168),p=r(7283),h=r(6546);const __=a.__;class d extends o.Component{constructor(){super(...arguments),s()(this,"onChangeFilter",((e,t)=>{this.props.setFilter(e,t),this.props.onChange&&this.props.onChange()})),s()(this,"onChangeStaticFilter",((e,t)=>{(0,h.GE)({filterName:e,filterValue:t}),this.props.setStaticFilter(e,t),this.props.onChange&&this.props.onChange()})),s()(this,"onClearFilters",(e=>{e.preventDefault(),"click"!==e.type&&("keydown"!==e.type||"Enter"!==e.key&&" "!==e.key)||(this.props.clearFilters(),this.props.onChange&&this.props.onChange())})),s()(this,"renderFilterComponent",(e=>{let{configuration:t,results:r}=e;return r&&i().createElement(l.Z,{aggregation:r,configuration:t,locale:this.props.locale,onChange:this.onChangeFilter,postTypes:this.props.postTypes,type:(0,u.jc)(t),value:this.props.filters[(0,u.jZ)(t)]})})),s()(this,"renderStaticFilterComponent",(e=>e.hasOwnProperty("visible")&&!e.visible?null:i().createElement(l.Z,{aggregation:[],configuration:e,locale:this.props.locale,onChange:this.onChangeStaticFilter,postTypes:this.props.postTypes,type:(0,u.jc)(e),value:this.props.staticFilters[(0,u.jZ)(e)]})))}hasActiveFilters(){return Object.keys(this.props.filters).length>0}render(){if(!this.props.widget)return null;const e=(0,u.bA)(),t=this.props.results?.aggregations;return i().createElement("div",{className:"jetpack-instant-search__search-filters"},this.props.showTitle&&i().createElement("div",{className:"jetpack-instant-search__search-filters-title"},__("Filter options","jetpack")),this.props.showClearFiltersButton&&this.hasActiveFilters()&&i().createElement("a",{class:"jetpack-instant-search__clear-filters-link",href:"#",onClick:this.onClearFilters,onKeyDown:this.onClearFilters,role:"button",tabIndex:"0"},__("Clear filters","jetpack")),this.props.widget?.filters&&this.props.widget.filters.length>0&&e.map(this.renderStaticFilterComponent),this.props.widget?.filters?.map((e=>t?{configuration:e,results:t[e.filter_id]}:null)).filter((e=>!!e)).filter((e=>{let{results:t}=e;return!!t&&Array.isArray(t.buckets)&&t.buckets.length>0})).map(this.renderFilterComponent))}}s()(d,"defaultProps",{showClearFiltersButton:!0,showTitle:!0}),t.Z=(0,c.$j)(null,{clearFilters:p.K5,setFilter:p.Tv,setStaticFilter:p.O1})(d)},6268:function(e,t,r){"use strict";var n=r(7538),s=r.n(n),o=r(9196),i=r.n(o),a=r(2957);const c=e=>e.preventDefault();class l extends o.Component{constructor(){super(...arguments),s()(this,"onClear",(()=>this.props.onChangeSearch(""))),s()(this,"onChangeSearch",(e=>this.props.onChangeSearch(e.currentTarget.value)))}render(){return i().createElement("form",{autocomplete:"off",onSubmit:c,role:"search",className:this.props.className},i().createElement("div",{className:"jetpack-instant-search__search-form"},i().createElement(a.Z,{isVisible:this.props.isVisible,onChange:this.onChangeSearch,onClear:this.onClear,shouldRestoreFocus:!0,searchQuery:this.props.searchQuery})))}}t.Z=l},6034:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(1295);t.Z=e=>{let{comments:t,iconSize:r=18}=e;return t?s().createElement("div",{className:"jetpack-instant-search__search-result-comments"},s().createElement(o.Z,{icon:"comment",size:r}),s().createElement("span",{className:"jetpack-instant-search__search-result-comments-text",dangerouslySetInnerHTML:{__html:t.join(" ... ")}})):null}},8424:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(9196),s=r.n(n),o=r(6941),i=r(7979),a=r(6034),c=r(7287);function l(e){const{isMultiSite:t,locale:r="en-US"}=e,{result_type:n,fields:l,highlight:u}=e.result;if("post"!==n)return null;const p=Array.isArray(l["image.url.raw"])?l["image.url.raw"][0]:l["image.url.raw"];return s().createElement("li",{className:["jetpack-instant-search__search-result","jetpack-instant-search__search-result-expanded",`jetpack-instant-search__search-result-expanded--${l.post_type}`,p?"":"jetpack-instant-search__search-result-expanded--no-image",t?"is-multisite":""].join(" ")},s().createElement("div",{className:"jetpack-instant-search__search-result-expanded__content-container"},s().createElement("div",{className:"jetpack-instant-search__search-result-expanded__copy-container"},s().createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-expanded__title"},s().createElement("a",{className:"jetpack-instant-search__search-result-title-link jetpack-instant-search__search-result-expanded__title-link",href:`//${l["permalink.url.raw"]}`,onClick:e.onClick,dangerouslySetInnerHTML:{__html:u.title}})),!t&&s().createElement(o.Z,{className:"jetpack-instant-search__search-result-expanded__path",onClick:e.onClick,url:`//${l["permalink.url.raw"]}`}),s().createElement("div",{className:"jetpack-instant-search__search-result-expanded__content",dangerouslySetInnerHTML:{__html:u.content.join(" ... ")}}),u.comments&&s().createElement(a.Z,{comments:u.comments})),s().createElement("a",{className:"jetpack-instant-search__search-result-expanded__image-link",href:`//${l["permalink.url.raw"]}`,onClick:e.onClick},s().createElement("div",{className:"jetpack-instant-search__search-result-expanded__image-container"},p?s().createElement(i.Z,{alt:l["title.default"],className:"jetpack-instant-search__search-result-expanded__image",isPhotonEnabled:e.isPhotonEnabled,src:`//${p}`}):null))),t&&s().createElement("ul",{className:"jetpack-instant-search__search-result-expanded__footer"},s().createElement("li",null,s().createElement(i.Z,{alt:l.blog_name,className:"jetpack-instant-search__search-result-expanded__footer-blog-image",isPhotonEnabled:!1,height:24,width:24,src:l.blog_icon_url,lazyLoad:!1}),s().createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-blog"},l.blog_name)),s().createElement("li",null,s().createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-author"},l.author)),s().createElement("li",null,s().createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-date"},new Date((0,c.a)(l.date)).toLocaleDateString(r,{year:"numeric",month:"short",day:"numeric"})))))}},7165:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(1295),i=r(6941),a=r(1208),c=r(6034);class l extends n.Component{getIconSize(){return 18}getTags(){let e=this.props.result.fields["tag.name.default"];return e?(Array.isArray(e)||(e=[e]),e.slice(0,5)):[]}getCategories(){let e=this.props.result.fields["category.name.default"];return e?(Array.isArray(e)||(e=[e]),e.slice(0,5)):[]}renderNoMatchingContent(){const e=this.getTags(),t=this.getCategories(),r=0===e.length&&0===t.length;return s().createElement("div",{className:"jetpack-instant-search__search-result-minimal-content"},r&&s().createElement(i.Z,{url:this.props.result.fields["permalink.url.raw"]}),s().createElement("div",{className:"jetpack-instant-search__search-result-minimal-cats-and-tags"},0!==e.length&&s().createElement("ul",{className:"jetpack-instant-search__search-result-minimal-tags"},e.map((e=>s().createElement("li",{className:"jetpack-instant-search__search-result-minimal-tag"},s().createElement(o.Z,{icon:"tag",size:this.getIconSize()}),s().createElement("span",{className:"jetpack-instant-search__search-result-minimal-tag-text"},e))))),0!==t.length&&s().createElement("ul",{className:"jetpack-instant-search__search-result-minimal-cats"},t.map((e=>s().createElement("li",{className:"jetpack-instant-search__search-result-minimal-cat"},s().createElement(o.Z,{icon:"folder",size:this.getIconSize()}),s().createElement("span",{className:"jetpack-instant-search__search-result-minimal-cat-text"},e)))))))}renderMatchingContent(){return s().createElement("div",{className:"jetpack-instant-search__search-result-minimal-content",dangerouslySetInnerHTML:{__html:this.props.result.highlight.content.join(" ... ")}})}render(){const{result_type:e,fields:t,highlight:r}=this.props.result;if("post"!==e)return null;const n=!r.content||""===r.content[0];return s().createElement("li",{className:"jetpack-instant-search__search-result jetpack-instant-search__search-result-minimal"},s().createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-minimal-title"},s().createElement(a.Z,{postType:t.post_type,shortcodeTypes:t.shortcode_types}),s().createElement("a",{className:"jetpack-instant-search__search-result-title-link jetpack-instant-search__search-result-minimal-title-link",href:`//${t["permalink.url.raw"]}`,onClick:this.props.onClick,dangerouslySetInnerHTML:{__html:r.title}})),n?this.renderNoMatchingContent():this.renderMatchingContent(),s().createElement(c.Z,{comments:r&&r.comments}))}}t.Z=l},1828:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(5736),i=r(1295),a=r(7979),c=r(7265),l=r(9592);const __=o.__;class u extends n.Component{render(){const{result_type:e,fields:t,highlight:r}=this.props.result;if("post"!==e)return null;const n=Array.isArray(t["image.url.raw"])?t["image.url.raw"][0]:t["image.url.raw"],o=Array.isArray(r.title)&&r.title[0].length>0?r.title[0]:__("No title","jetpack"),u="string"==typeof this.props.searchQuery&&""!==this.props.searchQuery.trim(),p=o.includes("<mark>"),h=u&&!p&&Array.isArray(r.content)&&r.content[0]?.length>0;return s().createElement("li",{className:"jetpack-instant-search__search-result jetpack-instant-search__search-result-product"},s().createElement("a",{className:"jetpack-instant-search__search-result-product-img-link",href:`//${t["permalink.url.raw"]}`,onClick:this.props.onClick},s().createElement("div",{className:"jetpack-instant-search__search-result-product-img-container "+(n?"":"jetpack-instant-search__search-result-product-img-container--placeholder")},n?s().createElement(a.Z,{alt:t["title.default"],className:"jetpack-instant-search__search-result-product-img",isPhotonEnabled:this.props.isPhotonEnabled,src:`//${n}`}):s().createElement("div",{className:"jetpack-instant-search__search-result-product-img"},s().createElement(i.Z,{icon:"block",style:{}}),s().createElement(i.Z,{icon:"image",style:{},title:__("Does not have an image","jetpack")})))),s().createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-product-title"},s().createElement("a",{className:"jetpack-instant-search__search-result-title-link",href:`//${t["permalink.url.raw"]}`,onClick:this.props.onClick,dangerouslySetInnerHTML:{__html:o}})),s().createElement(l.Z,{price:t["wc.price"],salePrice:t["wc.sale_price"],formattedPrice:t["wc.formatted_price"],formattedRegularPrice:t["wc.formatted_regular_price"],formattedSalePrice:t["wc.formatted_sale_price"]}),!!t["meta._wc_average_rating.double"]&&s().createElement(c.Z,{count:t["meta._wc_review_count.long"],rating:t["meta._wc_average_rating.double"],permalink:`//${t["permalink.url.raw"]}`}),h&&s().createElement("div",{className:"jetpack-instant-search__search-result-product-match"},s().createElement("mark",null,s().createElement(i.Z,{icon:"search",style:{},title:!1}),s().createElement("span",null,"comment"in r?__("Matches comments","jetpack"):__("Matches content","jetpack",0)))))}}t.Z=u},6072:function(e,t,r){"use strict";var n=r(9183),s=r.n(n),o=r(7538),i=r.n(o),a=r(9196),c=r.n(a),l=r(7165),u=r(8424),p=r(1828),h=r(6546),d=r(9532);class f extends a.Component{constructor(){super(...arguments),i()(this,"onClick",(()=>{this.props.railcar&&(0,h.Lo)({...this.getCommonTrainTracksProps(),action:"click"})}))}componentDidMount(){this.props.railcar&&(0,h.Sn)(this.getCommonTrainTracksProps())}componentDidUpdate(e){this.props.railcar!==e.railcar&&this.props.railcar&&(0,h.Sn)(this.getCommonTrainTracksProps())}getCommonTrainTracksProps(){return{fetch_algo:this.props.railcar.fetch_algo,fetch_position:this.props.railcar.fetch_position,fetch_query:this.props.railcar.fetch_query,railcar:this.props.railcar.railcar,rec_blog_id:this.props.railcar.rec_blog_id,rec_post_id:this.props.railcar.rec_post_id,session_id:this.props.railcar.session_id,ui_algo:"jetpack-instant-search-ui/v1",ui_position:this.props.index}}render(){if(this.props.resultFormat===d.LI)return c().createElement(p.Z,s()({onClick:this.onClick},this.props));if(this.props.resultFormat===d.Pz){const e=this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==d.Bk;return c().createElement(u.Z,s()({onClick:this.onClick},this.props,{isMultiSite:e}))}return c().createElement(l.Z,s()({onClick:this.onClick},this.props))}}t.Z=f},5031:function(e,t,r){"use strict";var n=r(7538),s=r.n(n),o=r(5736),i=r(9196),a=r.n(i),c=r(1295),l=r(3660),u=r(9534),p=r(6536),h=r(6268),d=r(6072),f=r(6068),m=r(4592),g=r(2168),y=r(9532);const v=o.__,_=o._n,__=v,_n=_;class E extends i.Component{constructor(){super(...arguments),s()(this,"state",{shouldShowMobileSecondary:!1}),s()(this,"toggleMobileSecondary",(e=>{"click"!==e.type&&("keydown"!==e.type||"Enter"!==e.key&&" "!==e.key)||(" "===e.key&&e.preventDefault(),this.setState((e=>({shouldShowMobileSecondary:!e.shouldShowMobileSecondary}))))})),s()(this,"closeOverlay",(e=>{e.preventDefault(),this.props.closeOverlay()})),s()(this,"onKeyPressHandler",(e=>{"Enter"===e.key&&(e.preventDefault(),this.props.closeOverlay())}))}hasFilterOptions(){let e=[...this.props.widgets];return this.props.widgetOutsideOverlay?.filters?.length>0&&(e=[this.props.widgetOutsideOverlay,...e]),e.length>0}getSearchTitle(){const{total:e=0,corrected_query:t=!1}=this.props.response,r=""!==this.props.searchQuery,n=!1!==t,s=(new Intl.NumberFormat).format(e),i=this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==y.Bk;if(this.props.isLoading)return r?__("Searching…","jetpack",0):__("Loading popular results…","jetpack");if(0===e||this.props.hasError)return __("No results found","jetpack");if(r&&n)return(0,o.sprintf)(
-/* translators: %1$s: number of results. %2$s: the corrected search query. */
-_n('Found %1$s result for "%2$s"','Found %1$s results for "%2$s"',e,"jetpack"),s,t);if(i){const t=(0,g.bA)().filter((e=>"group_id"===e.filter_id)),r=1===t.length&&t[0].values?t[0].values.filter((e=>e.value!==y.Bk)):{},n=r[0]?.name?r[0].name:__("All P2","jetpack");return(0,o.sprintf)(
-/* translators: %1$s: number of results. - %2$s: site name. */
-_n("Found %1$s result in %2$s","Found %1$s results in %2$s",e,"jetpack"),s,n)}return r?(0,o.sprintf)(
-/* translators: %s: number of results. */
-_n("Found %s result","Found %s results",e,"jetpack"),s,this.props.searchQuery):__("Showing popular results","jetpack")}renderPrimarySection(){const{highlightColor:e,searchQuery:t}=this.props,{results:r=[],total:n=0,corrected_query:s=!1}=this.props.response,c=(0,m.B)(e),p=!1!==s,h=n>0;return a().createElement(i.Fragment,null,a().createElement("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t\t\t\t\t.jetpack-instant-search *::selection,\n\t\t\t\t\t\t\t.jetpack-instant-search .jetpack-instant-search__search-results .jetpack-instant-search__search-results-primary .jetpack-instant-search__search-result mark {\n\t\t\t\t\t\t\t\tcolor: ${c};\n\t\t\t\t\t\t\t\tbackground-color: ${e};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t`}}),a().createElement("div",{className:"jetpack-instant-search__search-results-title"},this.getSearchTitle()),h&&p&&a().createElement("p",{className:"jetpack-instant-search__search-results-unused-query"},
-/* translators: %s: Search query. */
-(0,o.sprintf)(__('No results for "%s"',"jetpack"),t)),this.props.hasError&&a().createElement(l.Z,{type:"warning"},__("It looks like you're offline. Please reconnect for results.","jetpack")),h&&!this.props.hasError&&this.props.response._isOffline&&a().createElement(l.Z,{type:"warning"},__("It looks like you're offline. Please reconnect to load the latest results.","jetpack")),h&&!this.props.hasError&&a().createElement("ol",{className:`jetpack-instant-search__search-results-list is-format-${this.props.resultFormat}`},r.map(((e,t)=>a().createElement(d.Z,{index:t,staticFilters:this.props.staticFilters,isPhotonEnabled:this.props.isPhotonEnabled,locale:this.props.locale,railcar:this.props.isVisible?e.railcar:null,result:e,resultFormat:this.props.resultFormat,searchQuery:this.props.searchQuery})))),h&&this.props.hasNextPage&&a().createElement("div",{className:"jetpack-instant-search__search-results-pagination"},a().createElement(u.Z,{enableLoadOnScroll:this.props.enableLoadOnScroll,isLoading:this.props.isLoading,onLoadNextPage:this.props.onLoadNextPage})))}renderSecondarySection(){return a().createElement(f.Z,{filters:this.props.filters,staticFilters:this.props.staticFilters,isLoading:this.props.isLoading,locale:this.props.locale,postTypes:this.props.postTypes,response:this.props.response,showPoweredBy:this.props.showPoweredBy,widgets:this.props.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay})}render(){return a().createElement("div",{"aria-hidden":!0===this.props.isLoading,"aria-live":"polite",className:"jetpack-instant-search__search-results"},a().createElement("div",{className:"jetpack-instant-search__search-results-controls"},a().createElement(h.Z,{className:"jetpack-instant-search__search-results-search-form",isVisible:this.props.isVisible,onChangeSearch:this.props.onChangeSearch,searchQuery:this.props.searchQuery}),a().createElement("button",{className:"jetpack-instant-search__overlay-close",onClick:this.closeOverlay,onKeyPress:this.onKeyPressHandler,tabIndex:"0","aria-label":__("Close search results","jetpack")},a().createElement(c.Z,{icon:"cross",size:"24","aria-hidden":"true",focusable:"false"}))),a().createElement(p.Z,{enableSort:this.props.enableSort,onChangeSort:this.props.onChangeSort,resultFormat:this.props.resultFormat,sort:this.props.sort},(this.hasFilterOptions()||this.props.hasNonSearchWidgets)&&a().createElement("div",{role:"button",onClick:this.toggleMobileSecondary,onKeyDown:this.toggleMobileSecondary,tabIndex:"0",className:"jetpack-instant-search__search-results-filter-button"},__("Filters","jetpack"),a().createElement(c.Z,{icon:"chevron-down",size:16,alt:__("Show search filters","jetpack"),"aria-hidden":"true"}),a().createElement("span",{className:"screen-reader-text assistive-text"},this.state.shouldShowMobileSecondary?__("Hide filters","jetpack"):__("Show filters","jetpack")))),a().createElement("div",{className:"jetpack-instant-search__search-results-content"},a().createElement("div",{className:"jetpack-instant-search__search-results-primary"},this.renderPrimarySection()),a().createElement("div",{className:["jetpack-instant-search__search-results-secondary",(this.state.shouldShowMobileSecondary?"jetpack-instant-search__search-results-secondary--show-as-modal":"")+" "].join(" ")},this.renderSecondarySection())))}}t.Z=E},649:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(7538),s=r.n(n),o=r(9196),i=r.n(o),a=r(5736),c=r(4877);const __=a.__;class l extends o.Component{constructor(){super(...arguments),s()(this,"handleKeyPress",(e=>{this.props.value!==e.currentTarget.value&&"Enter"===e.key&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))})),s()(this,"handleClick",(e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))})),s()(this,"handleSelectChange",(e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.value))}))}render(){const e=(0,c.n)(this.props.resultFormat);return e.size>3?i().createElement("div",{className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-select"},i().createElement("label",{htmlFor:"jetpack-instant-search__search-sort-select"},__("Sort:","jetpack")),i().createElement("select",{id:"jetpack-instant-search__search-sort-select",onBlur:this.handleSelectChange,onChange:this.handleSelectChange},[...e.entries()].map((e=>{let[t,r]=e;return i().createElement("option",{value:t,key:t,selected:this.props.value===t?"selected":""},r)})))):i().createElement("div",{className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-links"},i().createElement("div",{className:"screen-reader-text"},__("Sort by: ","jetpack")),[...e.entries()].map((e=>{let[t,r]=e;return i().createElement("a",{className:"jetpack-instant-search__search-sort-option "+(this.props.value===t?"is-selected":""),"data-value":t,key:t,onClick:this.handleClick,onKeyPress:this.handleKeyPress,role:"button",tabIndex:0},r)})))}}},6068:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(1850),i=r(2360),a=r(3595),c=r(1429);t.Z=e=>s().createElement("div",{className:"jetpack-instant-search__sidebar"},s().createElement(i.Z,{filters:e.filters,staticFilters:e.staticFilters,loading:e.isLoading,locale:e.locale,postTypes:e.postTypes,results:e.response,showClearFiltersButton:!0,widget:e.widgetOutsideOverlay}),s().createElement(a.Z,null),e.widgets.map((t=>(0,o.createPortal)(s().createElement("div",{id:`${t.widget_id}-portaled-wrapper`,className:"jetpack-instant-search__portaled-wrapper"},s().createElement(i.Z,{filters:e.filters,staticFilters:e.staticFilters,loading:e.isLoading,locale:e.locale,postTypes:e.postTypes,results:e.response,showClearFiltersButton:!1,showTitle:!1,widget:t})),document.getElementById(`${t.widget_id}-wrapper`)))),e.showPoweredBy&&s().createElement(c.Z,{locale:e.locale}))},3595:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(7538),s=r.n(n),o=r(9196),i=r.n(o);class a extends o.Component{constructor(){super(...arguments),s()(this,"container",(0,o.createRef)())}componentDidMount(){const e=document.getElementsByClassName("jetpack-instant-search__widget-area")[0];e&&(e.style.removeProperty("display"),this.container.current.appendChild(e))}shouldComponentUpdate(){return!1}render(){return i().createElement("div",{className:"jetpack-instant-search__widget-area-container",ref:this.container})}}},5242:function(e,t,r){"use strict";function n(e,t,r){if(!e)return"";const n=decodeURIComponent(e);return(!t||"false"!==n)&&(!(!t||"true"!==n)||(r&&0*+n==0?+n:n))}function s(e,t,r){let s,o;const i={},a=e.split("&");for(t=void 0===t||t,r=void 0===r||r;s=a.shift();)s=s.split("="),o=s.shift(),void 0!==i[o]?i[o]=[].concat(i[o],n(s.shift(),t,r)):i[o]=n(s.shift(),t,r);return i}r.d(t,{J:function(){return s}})},230:function(e,t,r){"use strict";r.d(t,{a5:function(){return d},Wb:function(){return f},yC:function(){return x}});var n=r(4090),s=r(8118),o=r(8027),i=r.n(o),a=r(8763),c=r(2168),l=r(9532);let u;const p=(0,a.Z)(30,5*l.AG),h=(0,a.Z)(30,30*l.AG);function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t={};return e.forEach((e=>{let{filters:r}=e;return r.forEach((e=>{t[e.filter_id]=m(e)}))})),t}function f(e){var t;return e=null!==(t=e)&&void 0!==t?t:{},Object.fromEntries(Object.entries(e).filter((e=>{let[,t]=e;return t?.buckets?.length>0})).map((e=>{let[t,r]=e;const n=r.buckets.map((e=>({...e,doc_count:0})));return[t,{...r,buckets:n}]})))}function m(e){switch(e.type){case"date_histogram":return{date_histogram:{field:"post_date_gmt"===e.field?"date_gmt":"date",interval:e.interval}};case"taxonomy":{let t=`taxonomy.${e.taxonomy}.slug_slash_name`;return"post_tag"===e.taxonomy?t="tag.slug_slash_name":"category"===e.taxonomy&&(t="category.slug_slash_name"),{terms:{field:t,size:e.count}}}case"post_type":return{terms:{field:e.type,size:e.count}}}}j();const g=/(\d{4})-(\d{2})-(\d{2})/;function y(e,t,r){let n,s;"year"===r&&([,n,,]=t.match(g)),"month"===r&&([,n,s]=t.match(g));let o="",i="";if(s){const e=+s+1,t=e<10?`0${e}`:`${e}`;o=`${n}-${s}-01`,i=e<=12?`${n}-${t}-01`:+n+1+"-01-01"}else n&&(o=`${n}-01-01`,i=+n+1+"-01-01");return{range:{[e]:{gte:o,lt:i}}}}const v=new Map([["post_types",e=>({term:{post_type:e}})],["category",e=>({term:{"category.slug":e}})],["post_tag",e=>({term:{"tag.slug":e}})],["month_post_date",e=>y("date",e,"month")],["month_post_date_gmt",e=>y("date_gmt",e,"month")],["month_post_modified",e=>y("date",e,"month")],["month_post_modified_gmt",e=>y("date_gmt",e,"month")],["year_post_date",e=>y("date",e,"year")],["year_post_date_gmt",e=>y("date_gmt",e,"year")],["year_post_modified",e=>y("date",e,"year")],["year_post_modified_gmt",e=>y("date_gmt",e,"year")]]);function _(e){const t={};return Object.keys(e).forEach((r=>{const n=e[r];"group_id"===r&&n!==l.Bk&&(t[r]=n)})),t}function E(e,t,r){const n={bool:{must:[]}};return(0,c.wP)().filter((t=>{return r=e[t],Array.isArray(r)&&r.length>0;var r})).forEach((t=>{e[t].forEach((e=>{v.has(t)?n.bool.must.push(v.get(t)(e)):n.bool.must.push({term:{[`taxonomy.${t}.slug`]:e}})}))})),t&&n.bool.must.push(t),r?.length>0&&n.bool.must.push({bool:{must_not:r.map((e=>v.get("post_types")(e)))}}),n}const b=new Map([["oldest","date_asc"],["newest","date_desc"],["relevance","score_default"]]);function w(e){return["price_asc","price_desc","rating_desc"].includes(e)?e:b.get(e,"score_default")}function k(e){let{aggregations:t,excludedPostTypes:r,filter:o,staticFilters:i,pageHandle:a,query:c,resultFormat:u,sort:p,postsPerPage:h=10,adminQueryFilter:d,isInCustomizer:f=!1}=e;null===c&&(c="");let m=["date","permalink.url.raw","tag.name.default","category.name.default","post_type","has.image","shortcode_types","image.url.raw"];(u===l.LI||f)&&(m=m.concat(["meta._wc_average_rating.double","meta._wc_review_count.long","wc.formatted_price","wc.formatted_regular_price","wc.formatted_sale_price","wc.price","wc.sale_price"])),i&&i.group_id&&i.group_id!==l.Bk&&(m=m.concat(["author","blog_name","blog_icon_url"]));let g={aggregations:t,fields:m,highlight_fields:["title","content","comments"],filter:E(o,d,r),query:encodeURIComponent(c),sort:w(p),page_handle:a,size:h};return i&&Object.keys(i).length>0&&(g={...g,..._(i)}),(0,n.c)((0,s.x)(g))}function S(e){return function(t){const r=p.get(e)||h.get(e);if("AbortError"===t.name)return r?{_isCached:!0,_isError:!1,_isOffline:!1,...r}:null;if(r)return{_isCached:!0,_isError:!0,_isOffline:!1,...r};throw t}}function C(e,t){return function(r){const n={...r,requestId:t};return p.set(e,n),h.set(e,n),n}}function j(){u&&u.abort(),u=new AbortController}function x(e,t){const r=i()(Array.from(arguments));if(!navigator.onLine&&h.get(r))return Promise.resolve(h.get(r)).then((e=>({_isCached:!0,_isError:!1,_isOffline:!0,...e})));if(p.get(r))return Promise.resolve(p.get(r)).then((e=>({_isCached:!0,_isError:!1,_isOffline:!1,...e})));const n=k(e),s=S(r),o=C(r,t),a=`/sites/${e.siteId}/search?${n}`,{apiNonce:c,apiRoot:d,homeUrl:f,isPrivateSite:m,isWpcom:g}=window[l.W1],y=`https://public-api.wordpress.com/rest/v1.3${a}`,v=`${f}/wp-json/wpcom-origin/v1.3${a}`,_=`${d}wpcom/v2/search?${n}`;let E=y;return m&&g?E=v:m&&(E=_),j(),fetch(E,{headers:m?{"X-WP-Nonce":c}:{},credentials:m?"include":"same-origin",signal:u.signal}).then((e=>200!==e.status?Promise.reject(`Unexpected response from API with status code ${e.status}.`):e)).then((e=>e.json())).then(o).catch(s)}},7135:function(e,t,r){"use strict";function n(e,t){Array.isArray(e)||(e=[e]);return 0!==e.filter((e=>t.includes(e))).length}r.d(t,{Z:function(){return n}})},4592:function(e,t,r){"use strict";function n(e){const t=function(e){let t;return"#"===e[0]&&(t=e.substring(1)),3===t.length&&(t=t.split("").map((e=>`${e}${e}`)).join("")),t}(e);return(299*parseInt(t.substr(0,2),16)+587*parseInt(t.substr(2,2),16)+114*parseInt(t.substr(4,2),16))/1e3>=128?"black":"white"}r.d(t,{B:function(){return n}})},9532:function(e,t,r){"use strict";r.d(t,{Bk:function(){return s},W1:function(){return o},zg:function(){return i},oy:function(){return a},Pz:function(){return c},LI:function(){return l},AG:function(){return u},PP:function(){return p},yb:function(){return h},kQ:function(){return d},bk:function(){return f},aP:function(){return m},rs:function(){return g}});var n=r(5736);const __=n.__,s="__NO_GROUP__",o="JetpackInstantSearchOptions",i="jetpack-instant-search__overlay",a="ASC",c="expanded",l="product",u=6e4,p="relevance",h=1e3,d=["newest","oldest",p,"price_asc","price_desc","rating_desc"],f=[c,"minimal",l],m=new Map([[p,__("Relevance","jetpack")],["newest",__("Newest","jetpack")],["oldest",__("Oldest","jetpack")]]),g=new Map([["price_asc",__("Price: low to high","jetpack")],["price_desc",__("Price: high to low","jetpack")],["rating_desc",__("Rating","jetpack")]])},7079:function(e,t,r){"use strict";r.d(t,{Em:function(){return i},vJ:function(){return a}});var n=r(9532);const s=new Map([["jetpack_search_color_theme","colorTheme"],["jetpack_search_enable_sort","enableSort"],["jetpack_search_highlight_color","highlightColor"],["jetpack_search_inf_scroll","enableInfScroll"],["jetpack_search_overlay_trigger","overlayTrigger"],["jetpack_search_show_powered_by","showPoweredBy"],["jetpack_search_result_format","resultFormat"]]);function o(){return"function"==typeof window?.wp?.customize}function i(e){o()&&window.addEventListener("message",(t=>{t.data&&t.target===window&&"jetpackSearchSectionOpen"===t.data?.key&&"expanded"in t.data&&e(t.data.expanded)}))}function a(e){o()&&s.forEach(((t,r)=>{window.wp.customize(r,(r=>{r.bind((function(r){const s={[t]:r};window[n.W1].showResults=!0,window[n.W1].overlayOptions={...window[n.W1].overlayOptions,...s},e&&e(s)}))}))}))}},8931:function(e,t,r){"use strict";function n(e){return[...e.querySelectorAll('input[type="checkbox"]').values()].filter((e=>e.checked)).map((e=>e.name))}function s(e){const t={searchInputSelector:['input[name="s"]:not(.jetpack-instant-search__box-input)',"#searchform input.search-field:not(.jetpack-instant-search__box-input)",".search-form input.search-field:not(.jetpack-instant-search__box-input)",".searchform input.search-field:not(.jetpack-instant-search__box-input)"].join(", "),filterInputSelector:["a.jetpack-search-filter__link"],overlayTriggerSelector:[".jetpack-instant-search__open-overlay-button","header#site-header .search-toggle[data-toggle-target]"].join(",")};return e.theme_options?{...t,...e.theme_options}:t}r.d(t,{b:function(){return n},C:function(){return s}})},2168:function(e,t,r){"use strict";r.d(t,{wP:function(){return o},bA:function(){return i},i3:function(){return a},do:function(){return l},jZ:function(){return p},$s:function(){return h},jc:function(){return d}});var n=r(9532);const s=Object.freeze(["post_types","category","post_format","post_tag","month_post_date","month_post_date_gmt","month_post_modified","month_post_modified_gmt","year_post_date","year_post_date_gmt","year_post_modified","year_post_modified_gmt"]);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window[n.W1]?.widgets,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window[n.W1]?.widgetsOutsideOverlay;const r=new Set(s);return[...null!=e?e:[],...null!=t?t:[]].map((e=>e.filters)).filter((e=>Array.isArray(e))).reduce(((e,t)=>e.concat(t)),[]).filter((e=>"taxonomy"===e.type)).forEach((e=>r.add(e.taxonomy))),[...r]}function i(){return window[n.W1]?.staticFilters?window[n.W1].staticFilters:[]}function a(){const e=i(),t=new Set;return e.forEach((e=>t.add(e.filter_id))),[...t]}function c(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window[n.W1]?.widgets;return null!==(e=t?.map(u).reduce(((e,t)=>e.concat(t)),[]))&&void 0!==e?e:[]}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window[n.W1]?.widgets;const t=c(e);return o().filter((e=>!t.includes(e)))}function u(e){return e.filters.map(p).filter((e=>"string"==typeof e))}function p(e){return"date_histogram"===e.type?`${e.interval}_${e.field}`:"taxonomy"===e.type?`${e.taxonomy}`:"post_type"===e.type?"post_types":"group"===e.type?e.filter_id:null}function h(e){return e.includes("month")?{field:e.split("month_").pop(),type:"date_histogram",interval:"month"}:e.includes("year")?{field:e.split("year_").pop(),type:"date_histogram",interval:"year"}:"post_types"===e?{type:"post_type"}:"group"===e?{type:"group"}:{type:"taxonomy",taxonomy:e}}function d(e){return"date_histogram"===e.type?"date":"taxonomy"===e.type?"taxonomy":"post_type"===e.type?"postType":"group"===e.type?"group":void 0}},7802:function(e,t,r){"use strict";r.d(t,{y:function(){return i}});var n=r(278),s=r(9196);function o(e){return e?e.split("?",1)[0]:""}function i(e,t,r){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const[a,c]=(0,s.useState)(null),l=o(e),u=["gif","jpg","jpeg","png","webp"],p=l?.substring(l.lastIndexOf(".")+1).toLowerCase(),h=u.includes(p);return(0,s.useEffect)((()=>{if(i&&h){const s=(0,n.Z)(l,{resize:`${t},${r}`});c(s||e)}else c(e)}),[e,t,r,i,l,h]),a}},6669:function(e,t,r){"use strict";r.d(t,{pm:function(){return a},_L:function(){return c},ug:function(){return l},Q0:function(){return u}});var n=r(4090),s=r(9532),o=r(2168),i=r(5242);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search;return(0,i.J)(e.substring(1),!1,!1)}function c(e){!function(e){if(history.pushState){const t=new window.URL(window.location.href);window[s.W1]&&"homeUrl"in window[s.W1]&&(t.href=window[s.W1].homeUrl),t.search=e,window.history.pushState(null,null,t.toString())}}((0,n.c)(e))}function l(){const e=a();return s.bk.includes(e.result_format)?e.result_format:null}function u(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(history.pushState&&history.replaceState){const s=new URL(e),i=a(s.search),c=[...(0,o.wP)(),...(0,o.i3)(),"s","sort"],l=Object.keys(i).some((e=>c.includes(e)));if(l&&c.forEach((e=>delete i[e])),s.search=(0,n.c)(i),r?window.history.replaceState(null,null,s.toString()):window.history.pushState(null,null,s.toString()),l)return void window.location.reload();t()}}},4877:function(e,t,r){"use strict";r.d(t,{n:function(){return s}});var n=r(9532);function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e!==n.LI?n.aP:new Map([...n.aP,...n.rs])}},6546:function(e,t,r){"use strict";r.d(t,{IJ:function(){return o},tU:function(){return i},vy:function(){return a},AM:function(){return c},Ny:function(){return l},Sn:function(){return u},Lo:function(){return p},GE:function(){return h}});let n=!0;const s={};function o(){n=!1}function i(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||n)&&(window._tkq=window._tkq||[])}function a(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||n)&&window._tkq.push(["clearIdentity"])}function c(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(t||n)&&(s.blog_id=e)}function l(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(r||n)&&window._tkq.push(["recordEvent",e,{...s,...t}])}function u(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l("jetpack_instant_search_traintracks_render",e,t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l("jetpack_instant_search_traintracks_interact",e,t)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l("jetpack_instant_search_static_filter_select",e,t)}},7283:function(e,t,r){"use strict";function n(e){return{type:"MAKE_SEARCH_REQUEST",options:e}}function s(e){let{options:t,response:r}=e;return{type:"RECORD_SUCCESSFUL_SEARCH_REQUEST",options:t,response:r}}function o(e){return{type:"RECORD_FAILED_SEARCH_REQUEST",error:e}}function i(){let{isHistoryNavigation:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"INITIALIZE_QUERY_VALUES",isHistoryNavigation:e}}function a(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"SET_SEARCH_QUERY",query:e,propagateToWindow:t}}function c(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"SET_SORT",sort:e,propagateToWindow:t}}function l(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_FILTER",name:e,value:t,propagateToWindow:r}}function u(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_STATIC_FILTER",name:e,value:t,propagateToWindow:r}}function p(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"CLEAR_FILTERS",propagateToWindow:e}}function h(){return{type:"CLEAR_QUERY_VALUES"}}function d(){return{type:"DISABLE_QUERY_STRING_INTEGRATION"}}r.d(t,{x1:function(){return n},C0:function(){return s},Y6:function(){return o},Ln:function(){return i},ql:function(){return a},HD:function(){return c},Tv:function(){return l},O1:function(){return u},K5:function(){return p},Mz:function(){return h},OZ:function(){return d}})},6439:function(e,t,r){"use strict";var n=r(5034),s=r.n(n),o=r(230),i=r(9532),a=r(2168),c=r(6669),l=r(7283);let u=0,p=!0;const h=s()(c._L,i.yb);t.Z={CLEAR_FILTERS:function(e){if(!1===e.propagateToWindow||!p)return;const t=(0,c.pm)();(0,a.wP)().forEach((e=>delete t[e])),(0,a.i3)().forEach((e=>delete t[e])),(0,c._L)(t)},DISABLE_QUERY_STRING_INTEGRATION:function(){p=!1},INITIALIZE_QUERY_VALUES:function(e,t){const r=(0,c.pm)();let n;"s"in r?t.dispatch((0,l.ql)(r.s,!1)):t.dispatch((0,l.ql)(null,!1)),i.kQ.includes(r.sort)?n=r.sort:"date"===r.orderby?n="string"==typeof r.order&&r.order.toUpperCase()===i.oy?"oldest":"newest":"relevance"===r.orderby&&(n="relevance"),"string"==typeof n&&t.dispatch((0,l.HD)(n,!1)),t.dispatch((0,l.K5)(!1)),(0,a.wP)().filter((e=>e in r)).forEach((e=>t.dispatch((0,l.Tv)(e,r[e],!1)))),(0,a.i3)().filter((e=>e in r)).forEach((e=>t.dispatch((0,l.O1)(e,r[e],!1))))},MAKE_SEARCH_REQUEST:function(e,t){u++,(0,o.yC)(e.options,u).then((r=>{null!==r&&t.dispatch((0,l.C0)({options:e.options,response:r}))})).catch((e=>{console.error("Jetpack Search encountered an error:",e),t.dispatch((0,l.Y6)(e))}))},SET_FILTER:function(e){if(!1===e.propagateToWindow||!p)return;if(!(0,a.wP)().includes(e.name))return;const t=(0,c.pm)();t[e.name]=e.value,(0,c._L)(t)},SET_STATIC_FILTER:function(e){if(!1===e.propagateToWindow)return;if(!(0,a.i3)().includes(e.name))return;const t=(0,c.pm)();t[e.name]=e.value,(0,c._L)(t)},SET_SEARCH_QUERY:function(e){if(!1===e.propagateToWindow||!p)return;const t=(0,c.pm)();null!==e.query?t.s=e.query:delete t.s,h(t)},SET_SORT:function(e){if(!1===e.propagateToWindow||!p)return;if(!i.kQ.includes(e.sort))return;const t=(0,c.pm)();t.sort=e.sort,delete t.order,delete t.orderby,(0,c._L)(t)}}},9499:function(e,t,r){"use strict";var n=r(4978),s=r(2601),o=r.n(s),i=r(6439),a=r(6680);const c=[o()(i.Z)],l=(0,n.MT)(a.ZP,{},(0,n.md)(...c));t.Z=l},8720:function(e,t,r){"use strict";r.d(t,{xT:function(){return o},hg:function(){return i},p:function(){return a}});var n=r(230);let s={};function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"MAKE_SEARCH_REQUEST":case"RECORD_SUCCESSFUL_SEARCH_REQUEST":return!1;case"RECORD_FAILED_SEARCH_REQUEST":return!0}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"MAKE_SEARCH_REQUEST":return!0;case"RECORD_SUCCESSFUL_SEARCH_REQUEST":case"RECORD_FAILED_SEARCH_REQUEST":return!1}return e}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECORD_SUCCESSFUL_SEARCH_REQUEST"===t.type){if("requestId"in e&&"requestId"in t.response&&e.requestId>t.response.requestId)return e;const r={...t.response};return t.options.pageHandle&&(r.aggregations={..."aggregations"in e&&!Array.isArray(e)?e.aggregations:{},...Array.isArray(r.aggregations)?{}:r.aggregations},r.results=[..."results"in e?e.results:[],...r.results],s={}),Array.isArray(r.results)&&r.results.length>r.total&&(r.total=r.results.length),t.options.pageHandle||(r.results?.length>0?s=(0,n.Wb)(r.aggregations):r.aggregations=s),r}return e}},6801:function(e,t,r){"use strict";function n(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INITIALIZE_QUERY_VALUES":return t.isHistoryNavigation;case"SET_SEARCH_QUERY":case"SET_SORT":case"CLEAR_FILTERS":case"SET_FILTER":return!t.propagateToWindow&&e}return e}r.d(t,{w:function(){return n}})},6680:function(e,t,r){"use strict";var n=r(4978),s=r(8720),o=r(5283),i=r(9310),a=r(6801);t.ZP=(0,n.UY)({filters:o.u8,staticFilters:o.OY,hasError:s.xT,isLoading:s.hg,isHistoryNavigation:a.w,response:s.p,searchQuery:o.w4,serverOptions:i.M,sort:o.DY})},5283:function(e,t,r){"use strict";r.d(t,{w4:function(){return o},DY:function(){return i},u8:function(){return a},OY:function(){return c}});var n=r(9532),s=r(2168);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SEARCH_QUERY":return t.query;case"CLEAR_QUERY_VALUES":return null}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SORT":return n.kQ.includes(t.sort)?t.sort:e;case"CLEAR_QUERY_VALUES":return null}return e}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_FILTERS":case"CLEAR_QUERY_VALUES":return{};case"SET_FILTER":if(!(0,s.wP)().includes(t.name)||!Array.isArray(t.value)&&"string"!=typeof t.value)return e;if(0===t.value.length){const r={...e};return delete r[t.name],r}return{...e,[t.name]:"string"==typeof t.value?[t.value]:t.value}}return e}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_QUERY_VALUES":return{};case"SET_STATIC_FILTER":return(0,s.i3)().includes(t.name)?{...e,[t.name]:t.value}:e}return e}},9310:function(e,t,r){"use strict";r.d(t,{M:function(){return s}});var n=r(9532);function s(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window[n.W1])&&void 0!==e?e:{};return t}},341:function(e,t,r){"use strict";r.d(t,{ck:function(){return o},xT:function(){return i},Qy:function(){return a},hg:function(){return c},uP:function(){return l},r$:function(){return u},Zj:function(){return p},Bk:function(){return h},en:function(){return d},ZN:function(){return f},wI:function(){return m}});var n=r(9532),s=r(2168);function o(e){return e.response}function i(e){return e.hasError}function a(e){return!i(e)&&o(e)?.page_handle}function c(e){return e.isLoading}function l(e){return e.searchQuery}function u(e,t){return"string"!=typeof t&&(t=n.PP),"string"==typeof e.sort?e.sort:t}function p(e){return e.filters}function h(e){return e.staticFilters}function d(e){return null!==l(e)||function(e){return Object.keys(e.filters).length>0}(e)||function(e){return Object.keys(e.staticFilters).length>0}(e)||null!==e.sort}function f(e){if(!e.serverOptions.widgets||!e.filters)return{};const t=(0,s.do)(e.serverOptions.widgets);return{filters:Object.keys(e.filters).filter((e=>t.includes(e))).map(s.$s)}}function m(e){return e.isHistoryNavigation}},8468:function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(s=n))})),t.splice(s,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(3712)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3712:function(e,t,r){e.exports=function(e){function t(e){let r,s=null;function o(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];if(!o.enabled)return;const i=o,a=Number(new Date),c=a-(r||a);i.diff=c,i.prev=r,i.curr=a,r=a,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let l=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,((e,r)=>{if("%%"===e)return"%";l++;const s=t.formatters[r];if("function"==typeof s){const t=n[l];e=s.call(i,t),n.splice(l,1),l--}return e})),t.formatArgs.call(i,n);const u=i.log||t.log;u.apply(i,n)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=n,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null===s?t.enabled(e):s,set:e=>{s=e}}),"function"==typeof t.init&&t.init(o),o}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),s=n.length;for(r=0;r<s;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(2002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},8763:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});class n{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.first=null,this.items=Object.create(null),this.last=null,this.max=e,this.size=0,this.ttl=t}has(e){return e in this.items}clear(){return this.first=null,this.items=Object.create(null),this.last=null,this.size=0,this}delete(e){if(this.has(e)){const t=this.items[e];delete this.items[e],this.size--,null!==t.prev&&(t.prev.next=t.next),null!==t.next&&(t.next.prev=t.prev),this.first===t&&(this.first=t.next),this.last===t&&(this.last=t.prev)}return this}evict(){const e=this.first;return delete this.items[e.key],this.first=e.next,this.first.prev=null,this.size--,this}get(e){let t;if(this.has(e)){const r=this.items[e];this.ttl>0&&r.expiry<=(new Date).getTime()?this.delete(e):(t=r.value,this.set(e,t,!0))}return t}keys(){return Object.keys(this.items)}set(e,t){let r,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n||this.has(e)){if(r=this.items[e],r.value=t,!1===n&&(r.expiry=this.ttl>0?(new Date).getTime()+this.ttl:this.ttl),this.last!==r){const e=this.last,t=r.next,n=r.prev;this.first===r&&(this.first=r.next),r.next=null,r.prev=this.last,e.next=r,null!==n&&(n.next=t),null!==t&&(t.prev=n)}}else this.max>0&&this.size===this.max&&this.evict(),r=this.items[e]={expiry:this.ttl>0?(new Date).getTime()+this.ttl:this.ttl,key:e,prev:this.last,next:null,value:t},1==++this.size?this.first=r:this.last.next=r;return this.last=r,this}}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(isNaN(e)||e<0)throw new TypeError("Invalid max value");if(isNaN(t)||t<0)throw new TypeError("Invalid ttl value");return new n(e,t)}},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},2175:function(e){"use strict";e.exports=window.wp.blockEditor},5609:function(e){"use strict";e.exports=window.wp.components},7798:function(e){"use strict";e.exports=window.wp.coreData},9818:function(e){"use strict";e.exports=window.wp.data},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},444:function(e){"use strict";e.exports=window.wp.primitives},6483:function(e){"use strict";e.exports=window.wp.url},162:function(e){"use strict";e.exports=window.wp.viewport},5303:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{Z:function(){return n}})},988:function(e,t,r){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:function(){return n}})},1446:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(9112);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,n.Z)(e,t)}},5343:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,s={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}r.d(t,{Z:function(){return n}})},9112:function(e,t,r){"use strict";function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{Z:function(){return n}})}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n](o,o.exports,r),o.loaded=!0,o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){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}(),function(){"use strict";var e=r(9307),t=r(3655);window.jetpackSearchConfigureInit=function(r){document.body.classList.add("folded"),(0,e.render)(React.createElement(t.Z,null),document.getElementById(r))}}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.rtl.css b/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.rtl.css
deleted file mode 100644
index 6c76929e..00000000
--- a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.rtl.css
+++ /dev/null
@@ -1 +0,0 @@
-.jetpack-instant-search__overlay{background:rgba(29,35,39,.7);bottom:0;box-sizing:border-box;color:#00101c;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transition:opacity .1s ease-in;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay.is-hidden{background:transparent;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}.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)}.jetpack-instant-search__notice{font-size:14px;margin:1em 0;padding:.75em}.jetpack-instant-search__notice.jetpack-instant-search__notice--warning{background-color:#f5e6b3;color:#4f3500}.jetpack-instant-search__notice .gridicon{margin-left:.5em;margin-top:-5px;vertical-align:middle}.jetpack-instant-search__scroll-button{border:0;box-shadow:none;font-size:13px;outline:0}.jetpack-instant-search__search-sort{align-items:center;display:flex}.jetpack-instant-search__search-sort>label[for=jetpack-instant-search__search-sort-select]{flex-shrink:0;font-size:1em;font-weight:700;margin:0 0 0 .25em}.jetpack-instant-search__search-sort-with-links{font-size:13px}@media(max-width:575.98px){.jetpack-instant-search__search-sort-with-select{margin-left:1em;width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-sort-with-select{margin-left:0}}@media(min-width:992px){.jetpack-instant-search__search-sort-with-select{margin-top:-4px}}#jetpack-instant-search__search-sort-select{-webkit-appearance:auto;appearance:auto;background:#fff;border:1px solid #e6f1f5;border-radius:5px;color:#00101c;font-size:1em;height:inherit;padding:.25em}@media(max-width:575.98px){#jetpack-instant-search__search-sort-select{padding:.5em;width:100%}}.jetpack-instant-search__search-sort-option{color:#646970;cursor:pointer;padding:0 2px;text-decoration:none}.jetpack-instant-search__search-sort-option:after{color:#646970;content:"·";font-weight:400;padding-right:5px}.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:focus,.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:hover{text-decoration:none}.jetpack-instant-search__search-sort-option:last-child:after{content:""}.jetpack-instant-search__search-sort-option.is-selected{color:#044b7a;font-weight:600;text-decoration:none}.jetpack-instant-search__search-form-controls{align-items:center;display:flex;line-height:1.3;margin-left:56px;margin-right:56px;margin-top:16px;z-index:1}@media(max-width:991.98px){.jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:767.98px){.jetpack-instant-search__search-form-controls{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-form-controls{left:320px;position:absolute}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{left:320px;position:absolute}}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-form-controls{left:0}.jetpack-instant-search__box{border-bottom:1px solid #e6f1f5;border-left:1px solid #e6f1f5}.jetpack-instant-search__box-label{align-items:center;display:flex;flex:0 0 100%;margin:0}input.jetpack-instant-search__box-input.search-field{-webkit-appearance:none;appearance:none;background:#fff;border:0;box-shadow:none;color:#3c434a;font-size:18px;height:60px;line-height:1;margin:0;max-width:none;padding:0 14px;text-indent:32px;vertical-align:middle}input.jetpack-instant-search__box-input.search-field:focus,input.jetpack-instant-search__box-input.search-field:hover{background:#fff;color:#00101c}input.jetpack-instant-search__box-input.search-field.search-field{letter-spacing:-.02em;padding-right:0;text-indent:0}.jetpack-instant-search__box-gridicon{align-items:center;display:flex;flex-shrink:0;height:60px;justify-content:center;position:relative;right:0;top:0;width:60px;z-index:1}.jetpack-instant-search__box-gridicon svg{fill:#646970}.jetpack-instant-search__box input[type=button]{word-wrap:normal;border:none;color:#646970;cursor:pointer;font-size:1em;font-weight:400;height:60px;line-height:1;margin:0 0 0 .25em;padding:0;text-decoration:none;text-shadow:none;text-transform:none;transition:all .1s linear;width:60px}.jetpack-instant-search__box input[type=button],.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{color:#3c434a}.jetpack-instant-search__box input[type=button]:focus{outline:1px dotted}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input{border:none;box-shadow:none;height:52px;outline-style:none;transition:color .15s ease-in-out,border-color .25s ease-in-out;width:100%}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:focus,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:hover{border:none;box-shadow:none;outline-style:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-button,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-decoration{appearance:none;-webkit-appearance:none;display:initial}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-cancel-button{display:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-clear,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-reveal{display:none}.jetpack-instant-search__path-breadcrumb{font-size:.9em;margin:0;max-width:calc(100vw - 2em);overflow-x:hidden;text-overflow:ellipsis}.jetpack-instant-search__path-breadcrumb-link{max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jetpack-instant-search__path-breadcrumb-link:focus,.jetpack-instant-search__path-breadcrumb-link:hover{text-decoration:underline}.jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__path-breadcrumb-link{color:#3c434a}.jetpack-instant-search__search-result-comments{border-right:2px solid #f0f0f1;font-size:.9em;margin-right:8px;margin-top:16px;padding-right:16px;word-break:break-word}.jetpack-instant-search__search-result-comments .gridicon{margin-left:8px;vertical-align:middle}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title{margin-bottom:.4em}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title .gridicon{margin-left:8px}.jetpack-instant-search__search-result-minimal-cats-and-tags{display:flex;flex-flow:row wrap;font-size:.9375em}.jetpack-instant-search__search-result-minimal-cats,.jetpack-instant-search__search-result-minimal-tags{display:flex;flex-flow:row wrap;list-style-type:none;margin:0;padding:0}.jetpack-instant-search__search-result-minimal-cat,.jetpack-instant-search__search-result-minimal-tag{margin:0 0 0 .75em}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag .gridicon{margin-left:.25em}.jetpack-instant-search__search-result-minimal-cat-text,.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag-text,.jetpack-instant-search__search-result-minimal-tag .gridicon{vertical-align:middle}.jetpack-instant-search__search-result-minimal-content{word-break:break-word}.jetpack-instant-search__search-result-expanded{display:flex;flex-flow:column}.jetpack-instant-search__search-result-expanded:last-child{margin-left:0}.jetpack-instant-search__search-result-expanded .jetpack-instant-search__search-result-expanded__title{width:100%}.jetpack-instant-search__search-result-expanded__path{color:#646970;font-size:.9375em;margin:0 0 .4em}.jetpack-instant-search__search-result-expanded__copy-container{max-width:100%}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__copy-container{width:calc(100% - 128px - 1em)}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__copy-container{width:auto}.jetpack-instant-search__search-result-expanded__content{color:#00101c;font-size:.9375em}.jetpack-instant-search__search-result-expanded__image-link{margin-right:1em}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-link{margin:0 auto .5em;order:-1}}.jetpack-instant-search__search-result-expanded__image-container{width:128px}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-container{width:256px}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__image-container{display:none}.jetpack-instant-search__search-result-expanded__image-container{position:relative}.jetpack-instant-search__search-result-expanded__image-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-expanded__image{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-expanded__content-container{display:flex;flex-flow:column}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__content-container{flex-flow:row nowrap}}.jetpack-instant-search__search-result-expanded__footer{display:flex;list-style-type:none;margin-right:0;margin-top:10px;padding-right:0}.jetpack-instant-search__search-result-expanded__footer li{margin-left:10px}.jetpack-instant-search__search-result-expanded__footer-blog-image{border-radius:2px;margin-left:3px;vertical-align:middle}.jetpack-instant-search__search-result-expanded__footer-blog{font-size:13px;font-style:normal;font-weight:600;line-height:180%}.jetpack-instant-search__search-result-expanded__footer-author:after,.jetpack-instant-search__search-result-expanded__footer-blog:after{color:#636363;content:"·";margin-right:10px}.jetpack-instant-search__search-result-expanded__footer-author,.jetpack-instant-search__search-result-expanded__footer-date{color:#636363;font-size:13px;font-style:normal;font-weight:400}.jetpack-instant-search__product-rating-stars .gridicon{fill:#f0c930;vertical-align:middle}.jetpack-instant-search a.jetpack-instant-search__product-rating-count{color:#646970;font-size:.9em;text-decoration:underline;vertical-align:text-top}.jetpack-instant-search__product-price-regular{color:#646970;padding-left:.25em}.jetpack-instant-search__search-results-list.is-format-product{display:flex;flex-wrap:wrap;margin-left:40px;padding:0 0 3em}@media(max-width:991.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-left:24px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-left:4px}}.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{display:flex;flex-direction:column;margin:0 0 16px 16px;position:relative;width:calc(50% - 16px)}@media(min-width:576px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:768px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:992px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:1200px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:1400px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(20% - 16px)}}.jetpack-instant-search__search-result>.jetpack-instant-search__search-result-product-img-link{display:block}.jetpack-instant-search__search-result-product-img-container{border-radius:5px;color:transparent;position:relative}.jetpack-instant-search__search-result-product-img-container.jetpack-instant-search__search-result-product-img-container--placeholder{background:#c3c4c7}.jetpack-instant-search__search-result-product-img-container .gridicon{fill:#fff}.jetpack-instant-search__search-result-product-img-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-product-img{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-product-img>.gridicon{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.jetpack-instant-search__search-result-product-img>.gridicons-image{height:25%;width:25%}.jetpack-instant-search__search-result-product-img>.gridicons-block{height:50%;width:50%}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-product-title{font-size:1.25em;margin:.25em 0 0}.jetpack-instant-search__search-result-product-match{font-size:.9em;margin-top:.25em}.jetpack-instant-search__search-result-product-match mark{align-items:center;display:flex;font-weight:400}.jetpack-instant-search__search-result-product-match .gridicon{height:1em;margin-left:.25em;width:1em}.jetpack-instant-search__search-result{margin:0 0 2em}.jetpack-instant-search__search-result-title{font-size:1.6em;font-weight:400;line-height:1.35;margin:0;overflow-wrap:break-word}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link{text-decoration:none}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:focus,.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:hover{text-decoration:underline}.jetpack-instant-search__search-filters{position:relative}.jetpack-instant-search__search-filters>div{margin-top:1em}.jetpack-instant-search__search-filters-title{color:#00101c;display:block;font-weight:700;line-height:1.3}.jetpack-instant-search__clear-filters-link{left:0;line-height:1.3;margin:0;position:absolute;top:0}.jetpack-instant-search__search-filter-sub-heading{color:#646970;font-size:inherit;margin:0;padding:0}.jetpack-instant-search__search-filter-list{text-align:right}.jetpack-instant-search__search-filter-list>div{align-items:baseline;display:flex;margin-top:8px}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input{-webkit-appearance:checkbox;appearance:checkbox;background:none;border:none;cursor:pointer;height:auto;margin:0;top:1px;width:auto}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:before,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:before{display:none!important}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-label,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-label{color:inherit;cursor:pointer;display:inline-block;font-weight:400;margin:0 8px 0 0;padding:0;width:auto}.jetpack-instant-search__search-static-filter-list{font-size:.875rem;line-height:1.8}.jetpack-instant-search__widget-area-container{margin-bottom:2em}.jetpack-instant-search__jetpack-colophon{margin-bottom:2em;margin-top:2em;text-align:center}.jetpack-instant-search__jetpack-colophon-link{align-items:center;color:inherit;display:flex;text-decoration:none}.jetpack-instant-search__jetpack-colophon-logo{display:inline;height:16px;width:16px}.jetpack-instant-search__jetpack-colophon-text{color:#3c434a;font-size:.7em;font-weight:400;padding-right:6px}.jetpack-instant-search__sidebar{padding-top:14px}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget{background:none;border:none;margin:0;padding:0}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget a{font-weight:400}.jetpack-instant-search__sidebar h2.widgettitle{border:none;font-size:1.3em;margin:1em 0 .5em}.jetpack-instant-search__sidebar h2.widgettitle:after,.jetpack-instant-search__sidebar h2.widgettitle:before{display:none!important}.jetpack-instant-search__search-results{background:#fff;border-radius:3px;margin:0 auto;max-width:1080px;min-height:100%;position:relative;z-index:10}@media(max-width:575.98px){.jetpack-instant-search__search-results{border-radius:0}}@media(min-width:992px){.jetpack-instant-search__search-results{max-width:95%}}.jetpack-instant-search__search-results mark{background:#ffc;color:#00101c}.jetpack-instant-search__search-results-controls{display:flex}.jetpack-instant-search__search-results-content{display:flex;position:relative}.jetpack-instant-search__search-results-filter-button{align-items:center;border:0;color:#646970;cursor:pointer;display:flex;flex-shrink:0;font-size:12px;margin:0;padding:8px;text-decoration:none;transition:background-color .25s ease-in-out}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-filter-button{visibility:hidden}@media(min-width:576px){.jetpack-instant-search__search-results-filter-button{font-size:13px;padding:10px 14px}}@media(min-width:992px){.jetpack-instant-search__search-results-filter-button{display:none}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:flex}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:none}}.jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__search-results-filter-button:hover{color:#00101c}.jetpack-instant-search__search-results-filter-button .gridicon{margin-right:4px}.jetpack-instant-search__search-results-primary{margin:0;max-width:calc(100% - 320px);width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-primary{max-width:100%}@media(max-width:991.98px){.jetpack-instant-search__search-results-primary{max-width:100%}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-primary{max-width:100%}}.jetpack-instant-search__search-results-secondary{background:none;border-radius:0;border-right:1px solid #e6f1f5;bottom:0;box-shadow:none;color:#00101c;display:block;flex:none;padding:0 32px;position:static;width:320px}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary{display:none}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:991.98px)and (max-width:575.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:1199.98px)and (max-width:575.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{color:#00101c;font-size:1em;font-weight:700;line-height:1.3;margin:1em 56px 1.5em;padding:0;word-break:break-word}@media(max-width:991.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title,.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-results-title{padding-left:210px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title{padding-left:210px}}.jetpack-instant-search__search-results-list{color:#00101c;list-style:none;margin-left:56px;margin-right:56px;padding:0}@media(max-width:991.98px){.jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list{margin-left:20px;margin-right:20px}}.jetpack-instant-search__search-results-list li:before{content:"​";height:1px;position:absolute;width:1px}.jetpack-instant-search__search-results-search-form{font-size:.8em;margin:0;top:0;width:100%}button.jetpack-instant-search__overlay-close{align-items:center;-webkit-appearance:none;appearance:none;background:none;background-color:transparent!important;border:none;border-bottom:1px solid #e6f1f5;box-shadow:none;cursor:pointer;display:flex;height:61px;justify-content:center;line-height:1;margin:0;outline:none;padding:0;text-decoration:none;text-shadow:none;text-transform:none;width:60px}button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}button.jetpack-instant-search__overlay-close:focus{outline:1px dotted}button.jetpack-instant-search__overlay-close svg.gridicon{fill:#646970}button.jetpack-instant-search__overlay-close:active,button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{background-color:transparent!important;border-color:#e6f1f5}button.jetpack-instant-search__overlay-close:active svg.gridicon,button.jetpack-instant-search__overlay-close:focus svg.gridicon,button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#3c434a}.jetpack-instant-search__search-results-pagination{display:block;flex:none;margin:50px}.jetpack-instant-search .widget.widget_archive ul li a,.jetpack-instant-search .widget a,.jetpack-instant-search a{border:none;color:#001621;text-decoration:none}.jetpack-instant-search .widget.widget_archive ul li a:focus,.jetpack-instant-search .widget.widget_archive ul li a:hover,.jetpack-instant-search .widget a:focus,.jetpack-instant-search .widget a:hover,.jetpack-instant-search a:focus,.jetpack-instant-search a:hover{color:#044b7a;text-decoration:underline}.jetpack-search-filters-widget__filter-list{list-style-type:none}body.enable-search-modal .cover-modal.show-modal.search-modal.active{display:none}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark{background:rgba(29,35,39,.7);color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a{color:#f6f7f7}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:hover{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filters-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__content,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-list,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-unused-query{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__jetpack-colophon-text,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb-link{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filter-sub-heading,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__path{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box-gridicon svg,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close svg.gridicon{fill:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:focus svg.gridicon,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:hover{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field{background:#000;color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:hover{background:#000;color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results{background:#000}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results mark{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{color:#e6f1f5}@media(min-width:992px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{border-color:#3c434a}}@media(max-width:991.98px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#000;border-color:#3c434a;box-shadow:0 2px 3px #3c434a}}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option:after{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option.is-selected{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-product-img--placeholder{color:#2c3338}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark #jetpack-instant-search__search-sort-select{background:#000;border-color:#3c434a;color:#e6f1f5}.jp-search-configure-app-wrapper{flex-grow:1}.jp-search-configure-app-wrapper .jp-search-configure-loading-spinner{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.jp-search-configure-app-wrapper .jetpack-instant-search{background:#f0f0f0;padding-top:2em;position:absolute}.jp-search-configure-app-wrapper .jetpack-instant-search .jetpack-instant-search__search-results{max-width:none}.jp-search-configure-app-wrapper .jetpack-instant-search a:not(.jetpack-instant-search__search-sort-option){pointer-events:none}.jp-search-configure-save-button{margin-left:4px}.jp-search-configure-save-button:first-of-type{margin-right:auto}@media(min-width:600px){.jp-search-configure-save-button{margin-left:8px}}@media(min-width:782px){.jp-search-configure-sidebar .jp-search-configure-save-button{display:none}}.jp-search-configure-header{align-items:center;display:flex;height:48px;justify-content:space-between;overflow:auto;padding:0 16px}@media(min-width:782px){.jp-search-configure-header{height:60px}}@media(min-width:600px){.jp-search-configure-header{overflow:visible}}.jp-search-configure-header__navigable-toolbar-wrapper{align-items:center;display:flex;justify-content:center}.jp-search-configure-header__title{font-size:20px;margin:0 0 0 20px;padding:0}.jp-search-configure-header__actions{display:flex}@media(min-width:600px){.jp-search-configure-header__actions .components-button.jp-search-configure-header__show-settings-button{margin-left:8px}}@media(min-width:782px){.jp-search-configure-header__actions .components-button.jp-search-configure-header__show-settings-button{display:none;margin-right:0}}.jp-search-configure-color-input .component-color-indicator{vertical-align:middle}.jp-search-configure-color-input .block-editor-color-gradient-control fieldset>legend{margin-bottom:12px}.jp-search-configure-color-input .block-editor-color-gradient-control fieldset>legend>.block-editor-color-gradient-control__color-indicator{margin-bottom:0}.jp-search-configure-color-input .components-circular-option-picker__option-wrapper :focus:after{right:-4px;top:-4px}.jp-search-configure-color-input .components-circular-option-picker__option-wrapper .components-button.is-pressed:focus:not(:disabled){box-shadow:inset 0 0 0 14px!important}.jp-search-configure-sidebar-options--is-disabled .jp-search-configure-color-input .components-button{cursor:not-allowed;filter:grayscale(.8);pointer-events:none}.jp-search-configure-sidebar-options--is-disabled .jp-search-configure-color-input .components-circular-option-picker__option-wrapper:hover{transform:scale(1)}.jp-search-configure-excluded-post-types-control{margin-top:8px}.jp-search-configure-excluded-post-types-control .jp-search-configure-excluded-post-types-control__label{margin-bottom:8px}.jp-search-configure-excluded-post-types-control .components-notice{margin:8px 0;padding-bottom:4px;padding-top:4px}.components-panel__header.jp-search-configure-sidebar__panel-tabs{border-top:0;justify-content:flex-start;margin-top:0;padding-left:12px;padding-right:0}.components-panel__header.jp-search-configure-sidebar__panel-tabs ul{display:flex;height:100%}.components-panel__header.jp-search-configure-sidebar__panel-tabs li{margin:0}.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{margin-left:4px}@media(min-width:600px){.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{margin-left:12px}}@media(min-width:782px){.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{display:none}}.components-button.jp-search-configure-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;color:#1e1e1e;cursor:pointer;display:inline-block;font-weight:400;height:49px;height:100%;margin-right:0;padding:3px 15px}.components-button.jp-search-configure-sidebar__panel-tab:after{speak:none;content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;visibility:hidden}.components-button.jp-search-configure-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);font-weight:600;position:relative}.components-button.jp-search-configure-sidebar__panel-tab.is-active:before{border-bottom:4px solid transparent;bottom:1px;content:"";left:0;position:absolute;right:0;top:0}.components-button.jp-search-configure-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.jp-search-configure-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.jp-search-configure-sidebar-description{display:flex;padding:16px}.jp-search-configure-sidebar-description .block-editor-block-icon{margin-left:16px}.jp-search-configure-sidebar-options .components-base-control{margin-bottom:24px}.jp-search-configure-sidebar-options .components-base-control.components-checkbox-control,.jp-search-configure-sidebar-options .components-base-control.components-toggle-control,.jp-search-configure-sidebar-options .components-base-control:last-child{margin-bottom:0}.jp-search-configure-sidebar-options .components-checkbox-control__label{vertical-align:baseline}.jp-search-configure-result-format-radios{margin-bottom:1em}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons{display:flex;justify-content:space-around;margin-bottom:12px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button{display:flex;flex-direction:column;height:auto;padding-left:6px;padding-right:6px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button:first-child{margin-left:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button:last-child{margin-right:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button svg{border:2px solid #fff;border-radius:3px;margin-bottom:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button.jp-search-configure-theme-button--selected svg{border-color:#2f2f2f}.jp-search-configure-sidebar-options--is-disabled input{cursor:not-allowed;pointer-events:none}.jp-search-configure-sidebar-options--is-disabled input[type=checkbox],.jp-search-configure-sidebar-options--is-disabled input[type=radio]{background:#ddd;border-color:#ddd}.jp-search-configure-sidebar-options--is-disabled .components-radio-control__input[type=radio]:checked{background:#ccc;border-color:#ccc}.components-checkbox-control__input:disabled{background:#ddd;border-color:#ddd;cursor:not-allowed}#jp-search-configure .hide-if-no-js{height:100vh;margin:0;position:relative;text-align:center;width:100vw}#jp-search-configure .hide-if-no-js .jp-search-loader{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}#jp-search-configure .interface-interface-skeleton__header{background-color:#fff}.jp-search-configure-layout__body{display:flex;flex-grow:1;overflow:auto}.block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator{margin-bottom:12px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}@media screen and (min-width:782px){.block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches{display:grid;grid-template-columns:repeat(6,28px);justify-content:space-between}}.block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control{margin-bottom:inherit}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media(min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area{background:#fff;color:#1e1e1e}@media(min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media(min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media(min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2,.interface-complementary-area h3{color:#1e1e1e;font-size:13px;margin-bottom:1.5em}.interface-complementary-area hr{border-bottom:1px solid #f0f0f0;border-top:none;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{bottom:10px;left:10px;right:auto;top:auto}@media(min-width:782px){body.js.is-fullscreen-mode{height:calc(100% + 32px);margin-top:-32px}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media(min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{bottom:0;display:flex;flex-direction:row;height:auto;left:0;max-height:100%;position:fixed;top:46px}@media(min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex:0 1 100%;flex-direction:column;overflow:hidden}.interface-interface-skeleton{right:0}@media(min-width:783px){.interface-interface-skeleton{right:160px}.auto-fold .interface-interface-skeleton{right:36px}}@media(min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media(min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{background:#fff;bottom:0;color:#1e1e1e;display:block;flex-shrink:0;left:0;position:absolute;right:0;top:0;z-index:100000}@media(min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;width:auto;z-index:90}}.interface-interface-skeleton__sidebar{overflow:auto}@media(min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{border-bottom:1px solid #e0e0e0;color:#1e1e1e;flex-shrink:0;height:auto;z-index:30}.interface-interface-skeleton__footer{background-color:#fff;border-top:1px solid #e0e0e0;bottom:0;color:#1e1e1e;display:none;flex-shrink:0;height:auto;position:absolute;right:0;width:100%;z-index:90}@media(min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{align-items:center;background:#fff;display:flex;font-size:13px;height:24px;padding:0 18px;z-index:30}.interface-interface-skeleton__actions{bottom:auto;color:#1e1e1e;left:0;position:fixed!important;right:auto;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus{bottom:0;top:auto}.interface-more-menu-dropdown{margin-right:-4px}.interface-more-menu-dropdown .components-button{padding:0 2px;width:auto}@media(min-width:600px){.interface-more-menu-dropdown{margin-right:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media(min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{max-width:480px;width:auto}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media(min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-height:24px;max-width:24px}html.wp-toolbar{background:#fff}#wpbody-content>.notice,#wpfooter,.jp-search-configure-sidebar .components-button.interface-complementary-area__pin-unpin-item{display:none}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search-main.asset.php b/plugins/jetpack/_inc/build/instant-search/jp-search-main.asset.php
deleted file mode 100644
index ef7ef5ba..00000000
--- a/plugins/jetpack/_inc/build/instant-search/jp-search-main.asset.php
+++ /dev/null
@@ -1 +0,0 @@
-<?php return array('dependencies' => array('wp-i18n', 'wp-jp-i18n-state', 'wp-polyfill'), 'version' => 'd06c48532583ce5d0adee59db35f7ddf'); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search-main.js b/plugins/jetpack/_inc/build/instant-search/jp-search-main.js
deleted file mode 100644
index 7e7908b1..00000000
--- a/plugins/jetpack/_inc/build/instant-search/jp-search-main.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(){var e,t,n,r,o,i,a,c={9532:function(e,t,n){"use strict";n.d(t,{Bk:function(){return o},W1:function(){return i},zg:function(){return a},oy:function(){return c},Pz:function(){return u},LI:function(){return s},AG:function(){return l},PP:function(){return f},yb:function(){return d},kQ:function(){return p},bk:function(){return h},aP:function(){return m},rs:function(){return w}});var r=n(5736);const __=r.__,o="__NO_GROUP__",i="JetpackInstantSearchOptions",a="jetpack-instant-search__overlay",c="ASC",u="expanded",s="product",l=6e4,f="relevance",d=1e3,p=["newest","oldest",f,"price_asc","price_desc","rating_desc"],h=[u,"minimal",s],m=new Map([[f,__("Relevance","jetpack")],["newest",__("Newest","jetpack")],["oldest",__("Oldest","jetpack")]]),w=new Map([["price_asc",__("Price: low to high","jetpack")],["price_desc",__("Price: high to low","jetpack")],["rating_desc",__("Rating","jetpack")]])},7079:function(e,t,n){"use strict";n.d(t,{bS:function(){return i},Em:function(){return a},vJ:function(){return c}});var r=n(9532);const o=new Map([["jetpack_search_color_theme","colorTheme"],["jetpack_search_enable_sort","enableSort"],["jetpack_search_highlight_color","highlightColor"],["jetpack_search_inf_scroll","enableInfScroll"],["jetpack_search_overlay_trigger","overlayTrigger"],["jetpack_search_show_powered_by","showPoweredBy"],["jetpack_search_result_format","resultFormat"]]);function i(){return"function"==typeof window?.wp?.customize}function a(e){i()&&window.addEventListener("message",(t=>{t.data&&t.target===window&&"jetpackSearchSectionOpen"===t.data?.key&&"expanded"in t.data&&e(t.data.expanded)}))}function c(e){i()&&o.forEach(((t,n)=>{window.wp.customize(n,(n=>{n.bind((function(n){const o={[t]:n};window[r.W1].showResults=!0,window[r.W1].overlayOptions={...window[r.W1].overlayOptions,...o},e&&e(o)}))}))}))}},1535:function(e,t,n){n.p=window.JetpackInstantSearchOptions.webpackPublicPath},5736:function(e){"use strict";e.exports=window.wp.i18n},4231:function(e){"use strict";e.exports=window.wp.jpI18nState}},u={};function s(e){var t=u[e];if(void 0!==t)return t.exports;var n=u[e]={id:e,loaded:!1,exports:{}};return c[e](n,n.exports,s),n.loaded=!0,n.exports}s.m=c,s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce((function(t,n){return s.f[n](e,t),t}),[]))},s.u=function(e){return(613===e?"jp-search.chunk-main-payload":e)+".js?minify=false&ver="+{407:"1694d7732b10d258d19f",613:"ea3915c20523c9f94c13"}[e]},s.miniCssF=function(e){return"jp-search.chunk-main-payload.css?minify=false&ver=30cd4553a5ce8ea8e16c"},function(){if(!s.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;s.miniCssF=(e=s.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="Jetpack:",s.l=function(n,r,o,i){if(e[n])e[n].push(r);else{var a,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+o){a=f;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",t+o),a.src=n),e[n]=[r];var d=function(t,r){a.onerror=a.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((function(e){return e(r)})),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}},n="jetpack",r={613:["0e17ef273599d7b1004fc0c6aacf4f5e","?minify=false&ver=ea3915c20523c9f94c13"]},o={},s.f.wpI18n=function(e,t){var i,a,c;o[e]?t.push(o[e]):0!==o[e]&&r[e]&&t.push(o[e]=(i=r[e],a=s(5736),c=s(4231),c?"en_US"===c.locale?Promise.resolve():"undefined"==typeof fetch?Promise.reject(new Error("Fetch API is not available.")):fetch(c.baseUrl+(c.domainMap.jetpack||"plugins/jetpack")+"-"+c.locale+"-"+i[0]+".json"+i[1]).then((function(e){if(!e.ok)throw new Error("HTTP request failed: "+e.status+" "+e.statusText);return e.json()})).then((function(e){var t=e.locale_data,r=t.jetpack||t.messages;r[""].domain=n,a.setLocaleData(r,n)})):Promise.reject(new Error("I18n state is not available. Check that WordPress is exporting wp.jpI18nState."))).then((function(){o[e]=0}),(function(t){delete o[e],console.error("Failed to fetch i18n data:",t)})))},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;s.g.importScripts&&(e=s.g.location+"");var t=s.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(/\/[^\/]+$/,"/"),s.p=e}(),i=function(e){return new Promise((function(t,n){var r=s.miniCssF(e),o=s.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var a;if((o=(a=i[r]).getAttribute("data-href"))===e||o===t)return a}}(r,o))return t();!function(e,t,n,r){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(i){if(o.onerror=o.onload=null,"load"===i.type)n();else{var a=i&&("load"===i.type?"missing":i.type),c=i&&i.target&&i.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=c,o.parentNode.removeChild(o),r(u)}},o.href=t,document.head.appendChild(o)}(e,o,t,n)}))},a={381:0},s.f.miniCss=function(e,t){a[e]?t.push(a[e]):0!==a[e]&&{613:1}[e]&&t.push(a[e]=i(e).then((function(){a[e]=0}),(function(t){throw delete a[e],t})))},function(){var e={381:0};s.f.j=function(t,n){var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,(function(n){if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=function(t,n){var r,o,i=n[0],a=n[1],c=n[2],u=0;if(i.some((function(t){return 0!==e[t]}))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(c)c(s)}for(t&&t(n);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[i[u]]=0},n=self.webpackChunkJetpack=self.webpackChunkJetpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";s(1535);var e=s(9532),t=s(7079);function n(){Promise.all([s.e(407),s.e(613)]).then(s.bind(s,162)).then((e=>e.initialize()))}window[e.W1]&&(0,t.vJ)(),"loading"!==document.readyState?n():document.addEventListener("DOMContentLoaded",n)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search.bundle.js b/plugins/jetpack/_inc/build/instant-search/jp-search.bundle.js
deleted file mode 100644
index 3ed083ba..00000000
--- a/plugins/jetpack/_inc/build/instant-search/jp-search.bundle.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=79)}([function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(29),o=n(1);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(30);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(26),o=n(27),i=n(28);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t,n){var r=n(0);function o(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){var r=n(39);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(32),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(22),o=n(36);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(23)(Object,"create");e.exports=r},function(e,t,n){var r=n(62);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(68);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(10),o=n(31),i=n(33),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,u,l,p,f,h,d=0,_=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=c,r=u;return c=u=void 0,d=t,p=e.apply(r,n)}function m(e){return d=e,f=setTimeout(w,t),_?y(e):p}function b(e){var n=e-h;return void 0===h||n>=t||n<0||v&&e-d>=l}function w(){var e=o();if(b(e))return k(e);f=setTimeout(w,function(e){var n=t-(e-h);return v?s(n,l-(e-d)):n}(e))}function k(e){return f=void 0,g&&c?y(e):(c=u=void 0,p)}function x(){var e=o(),n=b(e);if(c=arguments,u=this,h=e,n){if(void 0===f)return m(h);if(v)return clearTimeout(f),f=setTimeout(w,t),y(h)}return void 0===f&&(f=setTimeout(w,t)),p}return t=i(t)||0,r(n)&&(_=!!n.leading,l=(v="maxWait"in n)?a(i(n.maxWait)||0,t):l,g="trailing"in n?!!n.trailing:g),x.cancel=function(){void 0!==f&&clearTimeout(f),d=0,c=h=u=f=void 0},x.flush=function(){return void 0===f?p:k(o())},x}},function(e,t,n){var r=n(11).Symbol;e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return s(u(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function s(e,t){var n,r,a,s,c,u,l,p,f,h=1,d=e.length,_="";for(r=0;r<d;r++)if("string"==typeof e[r])_+=e[r];else if("object"==typeof e[r]){if((s=e[r]).keys)for(n=t[h],a=0;a<s.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[a],s.keys[a-1]));n=n[s.keys[a]]}else n=s.param_no?t[s.param_no]:t[h++];if(o.not_type.test(s.type)&&o.not_primitive.test(s.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(s.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(s.type)&&(p=n>=0),s.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,s.width?parseInt(s.width):0);break;case"e":n=s.precision?parseFloat(n).toExponential(s.precision):parseFloat(n).toExponential();break;case"f":n=s.precision?parseFloat(n).toFixed(s.precision):parseFloat(n);break;case"g":n=s.precision?String(Number(n.toPrecision(s.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=s.precision?n.substring(0,s.precision):n;break;case"t":n=String(!!n),n=s.precision?n.substring(0,s.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=s.precision?n.substring(0,s.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=s.precision?n.substring(0,s.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(s.type)?_+=n:(!o.number.test(s.type)||p&&!s.sign?f="":(f=p?"+":"-",n=n.toString().replace(o.sign,"")),u=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",l=s.width-(f+n).length,c=s.width&&l>0?u.repeat(l):"",_+=s.align?f+n+c:"0"===u?f+c+n:c+f+n)}return _}var c=Object.create(null);function u(e){if(c[e])return c[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],s=t[2],u=[];if(null===(u=o.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(s=s.substring(u[0].length));)if(null!==(u=o.key_access.exec(s)))a.push(u[1]);else{if(null===(u=o.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t){var n=/<\/?([a-z][a-z0-9]*)\b[^>]*>?/gi;e.exports=function(e){return(e=e||"").replace(n,"").trim()}},function(e,t,n){var r=n(76),o=n(77),i=n(78);e.exports=function(e,t){return r(e)||o(e,t)||i()}},function(e,t,n){var r=n(17),o=n(34),i=n(35),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(49),o=n(54);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function a(){var t,a,s=r,c=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<c;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===o&&(o=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(t=new Array(c),a=0;a<c;a++)t[a]=arguments[a];return s={args:t,val:e.apply(null,t)},r?(r.prev=s,s.next=r):o=s,i===n?(o=o.prev).next=null:i++,r=s,s.val}return t&&t.maxSize&&(n=t.maxSize),a.clear=function(){r=null,o=null,i=0},a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.prototype,o=r.toString,i=r.hasOwnProperty;function a(e,t){return null!=e?e+"["+t+"]":t}t.flatten=function e(t,n,r){var s=o.call(t);if(void 0===r)if("[object Object]"===s)r={};else{if("[object Array]"!==s)return;r=[]}for(var c in t)if(i.call(t,c)){var u=t[c];if(null!=u)switch(o.call(u)){case"[object Array]":case"[object Object]":e(u,a(n,c),r);break;default:r[a(n,c)]=u}}return r}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){var r=n(11);e.exports=function(){return r.Date.now()}},function(e,t){var n="object"==typeof window&&window&&window.Object===Object&&window;e.exports=n},function(e,t,n){var r=n(10),o=n(12),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(17),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){},function(e,t){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},o=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set}catch(n){return!1}})()||function(){var o=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof o){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var i=e[r];if("[object Array]"!==Object.prototype.toString.call(i)&&2===i.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(i[0],i[1])}else for(var a in e)e.hasOwnProperty(a)&&this.append(a,e[a])}},i=o.prototype;i.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},i.delete=function(e){delete this._entries[e]},i.get=function(e){return e in this._entries?this._entries[e][0]:null},i.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},i.has=function(e){return e in this._entries},i.set=function(e,t){this._entries[e]=[String(t)]},i.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var o=0;o<n.length;o++)e.call(t,n[o],r,this)}},i.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},i.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},i.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(i[Symbol.iterator]=i.entries),i.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=o}();var i=e.URLSearchParams.prototype;"function"!=typeof i.sort&&(i.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof i._fromString&&Object.defineProperty(i,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,i=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<i.length;n++)r=i[n].split("="),this.append(o(r[0]),r.length>1?o(r[1]):"")}})}("undefined"!=typeof window?window:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(n){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,o=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(o=document.implementation.createHTMLDocument("")).createElement("base")).href=n,o.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(p){throw new Error("URL unable to set base "+n+" due to "+p)}}var i=o.createElement("a");if(i.href=t,r&&(o.body.appendChild(i),i.href=i.href),":"===i.protocol||!/:/.test(i.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:i});var a=new e.URLSearchParams(this.search),s=!0,c=!0,u=this;["append","delete","set"].forEach((function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),s&&(c=!1,u.search=a.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var l=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==l&&(l=this.search,c&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}("undefined"!=typeof window?window:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},function(e,t,n){var r=n(40),o=n(75);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(18),o=n(41),i=n(42),a=n(72);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(18),o=n(12),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(43),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},function(e,t,n){var r=n(44);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(45);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(46),o=n(67),i=n(69),a=n(70),s=n(71);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(47),o=n(59),i=n(66);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(48),o=n(55),i=n(56),a=n(57),s=n(58);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(13);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(50),o=n(51),i=n(10),a=n(53),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r=n(22),o=n(10);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){var r,o=n(52),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(11)["__core-js_shared__"];e.exports=r},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(13),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(13),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(13);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(60),o=n(61),i=n(63),a=n(64),s=n(65);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(14),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(14);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(14);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(14);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(23)(n(11),"Map");e.exports=r},function(e,t,n){var r=n(15);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(15);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(15);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(15);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(73);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(17),o=n(74),i=n(18),a=n(12),s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){var r=n(12);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){"use strict";n.r(t);var r,o,i,a,s,c={},u=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n){var r,o,i,a,s=arguments;if(t=p({},t),arguments.length>3)for(n=[n],r=3;r<arguments.length;r++)n.push(s[r]);if(null!=n&&(t.children=n),null!=e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===t[o]&&(t[o]=e.defaultProps[o]);return a=t.key,null!=(i=t.ref)&&delete t.ref,null!=a&&delete t.key,d(e,t,a,i)}function d(e,t,n,o){var i={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return r.vnode&&r.vnode(i),i}function _(e){return e.children}function v(e,t){this.props=e,this.context=t}function g(e,t){if(null==t)return e.__?g(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?g(e):null}function y(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return y(e)}}function m(e){(!e.__d&&(e.__d=!0)&&1===o.push(e)||a!==r.debounceRendering)&&((a=r.debounceRendering)||i)(b)}function b(){var e,t,n,r,i,a,s;for(o.sort((function(e,t){return t.__v.__b-e.__v.__b}));e=o.pop();)e.__d&&(n=void 0,r=void 0,a=(i=(t=e).__v).__e,(s=t.__P)&&(n=[],r=C(s,i,p({},i),t.__n,void 0!==s.ownerSVGElement,null,n,null==a?g(i):a),O(n,i),r!=a&&y(i)))}function w(e,t,n,r,o,i,a,s,l){var p,h,d,_,v,y,m,b=n&&n.__k||u,w=b.length;if(s==c&&(s=null!=i?i[0]:w?g(n,0):null),p=0,t.__k=k(t.__k,(function(n){if(null!=n){if(n.__=t,n.__b=t.__b+1,null===(d=b[p])||d&&n.key==d.key&&n.type===d.type)b[p]=void 0;else for(h=0;h<w;h++){if((d=b[h])&&n.key==d.key&&n.type===d.type){b[h]=void 0;break}d=null}if(_=C(e,n,d=d||c,r,o,i,a,s,l),(h=n.ref)&&d.ref!=h&&(m||(m=[]),d.ref&&m.push(d.ref,null,n),m.push(h,n.__c||_,n)),null!=_){if(null==y&&(y=_),null!=n.__d)_=n.__d,n.__d=null;else if(i==d||_!=s||null==_.parentNode){e:if(null==s||s.parentNode!==e)e.appendChild(_);else{for(v=s,h=0;(v=v.nextSibling)&&h<w;h+=2)if(v==_)break e;e.insertBefore(_,s)}"option"==t.type&&(e.value="")}s=_.nextSibling,"function"==typeof t.type&&(t.__d=_)}}return p++,n})),t.__e=y,null!=i&&"function"!=typeof t.type)for(p=i.length;p--;)null!=i[p]&&f(i[p]);for(p=w;p--;)null!=b[p]&&T(b[p],b[p]);if(m)for(p=0;p<m.length;p++)E(m[p],m[++p],m[++p])}function k(e,t,n){if(null==n&&(n=[]),null==e||"boolean"==typeof e)t&&n.push(t(null));else if(Array.isArray(e))for(var r=0;r<e.length;r++)k(e[r],t,n);else n.push(t?t("string"==typeof e||"number"==typeof e?d(null,e,null,null):null!=e.__e||null!=e.__c?d(e.type,e.props,e.key,null):e):e);return n}function x(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]="number"==typeof n&&!1===l.test(t)?n+"px":null==n?"":n}function S(e,t,n,r,o){var i,a,s,c,u;if(o?"className"===t&&(t="class"):"class"===t&&(t="className"),"key"===t||"children"===t);else if("style"===t)if(i=e.style,"string"==typeof n)i.cssText=n;else{if("string"==typeof r&&(i.cssText="",r=null),r)for(a in r)n&&a in n||x(i,a,"");if(n)for(s in n)r&&n[s]===r[s]||x(i,s,n[s])}else"o"===t[0]&&"n"===t[1]?(c=t!==(t=t.replace(/Capture$/,"")),u=t.toLowerCase(),t=(u in e?u:t).slice(2),n?(r||e.addEventListener(t,j,c),(e.l||(e.l={}))[t]=n):e.removeEventListener(t,j,c)):"list"!==t&&"tagName"!==t&&"form"!==t&&!o&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/^xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n?e.removeAttribute(t):e.setAttribute(t,n))}function j(e){this.l[e.type](r.event?r.event(e):e)}function C(e,t,n,o,i,a,s,c,u){var l,f,h,d,g,y,m,b,x,S,j=t.type;if(void 0!==t.constructor)return null;(l=r.__b)&&l(t);try{e:if("function"==typeof j){if(b=t.props,x=(l=j.contextType)&&o[l.__c],S=l?x?x.props.value:l.__:o,n.__c?m=(f=t.__c=n.__c).__=f.__E:("prototype"in j&&j.prototype.render?t.__c=f=new j(b,S):(t.__c=f=new v(b,S),f.constructor=j,f.render=L),x&&x.sub(f),f.props=b,f.state||(f.state={}),f.context=S,f.__n=o,h=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=j.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=p({},f.__s)),p(f.__s,j.getDerivedStateFromProps(b,f.__s))),d=f.props,g=f.state,h)null==j.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==j.getDerivedStateFromProps&&null==f.__e&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(b,S),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(b,f.__s,S)){for(f.props=b,f.state=f.__s,f.__d=!1,f.__v=t,t.__e=n.__e,t.__k=n.__k,f.__h.length&&s.push(f),l=0;l<t.__k.length;l++)t.__k[l]&&(t.__k[l].__=t);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(b,f.__s,S),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(d,g,y)}))}f.context=S,f.props=b,f.state=f.__s,(l=r.__r)&&l(t),f.__d=!1,f.__v=t,f.__P=e,l=f.render(f.props,f.state,f.context),t.__k=k(null!=l&&l.type==_&&null==l.key?l.props.children:l),null!=f.getChildContext&&(o=p(p({},o),f.getChildContext())),h||null==f.getSnapshotBeforeUpdate||(y=f.getSnapshotBeforeUpdate(d,g)),w(e,t,n,o,i,a,s,c,u),f.base=t.__e,f.__h.length&&s.push(f),m&&(f.__E=f.__=null),f.__e=null}else t.__e=P(n.__e,t,n,o,i,a,s,u);(l=r.diffed)&&l(t)}catch(e){r.__e(e,t,n)}return t.__e}function O(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function P(e,t,n,r,o,i,a,s){var l,p,f,h,d,_=n.props,v=t.props;if(o="svg"===t.type||o,null==e&&null!=i)for(l=0;l<i.length;l++)if(null!=(p=i[l])&&(null===t.type?3===p.nodeType:p.localName===t.type)){e=p,i[l]=null;break}if(null==e){if(null===t.type)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type),i=null}if(null===t.type)null!=i&&(i[i.indexOf(e)]=null),_!==v&&(e.data=v);else if(t!==n){if(null!=i&&(i=u.slice.call(e.childNodes)),f=(_=n.props||c).dangerouslySetInnerHTML,h=v.dangerouslySetInnerHTML,!s){if(_===c)for(_={},d=0;d<e.attributes.length;d++)_[e.attributes[d].name]=e.attributes[d].value;(h||f)&&(h&&f&&h.__html==f.__html||(e.innerHTML=h&&h.__html||""))}(function(e,t,n,r,o){var i;for(i in n)i in t||S(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"value"===i||"checked"===i||n[i]===t[i]||S(e,i,t[i],n[i],r)})(e,v,_,o,s),t.__k=t.props.children,h||w(e,t,n,r,"foreignObject"!==t.type&&o,i,a,c,s),s||("value"in v&&void 0!==v.value&&v.value!==e.value&&(e.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==e.checked&&(e.checked=v.checked))}return e}function E(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function T(e,t,n){var o,i,a;if(r.unmount&&r.unmount(e),(o=e.ref)&&E(o,null,t),n||"function"==typeof e.type||(n=null!=(i=e.__e)),e.__e=e.__d=null,null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){r.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(a=0;a<o.length;a++)o[a]&&T(o[a],t,n);null!=i&&f(i)}function L(e,t,n){return this.constructor(e,n)}function N(e,t,n){var o,i,a;r.__&&r.__(e,t),i=(o=n===s)?null:n&&n.__k||t.__k,e=h(_,null,[e]),a=[],C(t,(o?t:n||t).__k=e,i||c,c,void 0!==t.ownerSVGElement,n&&!o?[n]:i?null:u.slice.call(t.childNodes),a,n||c,o),O(a,e)}function A(e,t){return t=p(p({},e.props),t),arguments.length>2&&(t.children=u.slice.call(arguments,2)),d(e.type,t,t.key||e.key,t.ref||e.ref)}r={__e:function(e,t){for(var n;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError)n.setState(n.constructor.getDerivedStateFromError(e));else{if(null==n.componentDidCatch)continue;n.componentDidCatch(e)}return m(n.__E=n)}catch(t){e=t}throw e}},v.prototype.setState=function(e,t){var n;n=this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(n,this.props)),e&&p(n,e),null!=e&&this.__v&&(this.__e=!1,t&&this.__h.push(t),m(this))},v.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),m(this))},v.prototype.render=_,o=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=c;var R,F,z=n(7),I=n.n(z),M=n(8),U=n.n(M),H=n(2),q=n.n(H),D=n(3),V=n.n(D),$=n(4),W=n.n($),Q=n(5),B=n.n(Q),G=n(1),X=n.n(G),J=n(6),K=n.n(J),Y=n(0),Z=n.n(Y),ee=[],te=r.__r,ne=r.diffed,re=r.__c,oe=r.unmount;function ie(){ee.some((function(e){e.__P&&(e.__H.u.forEach(ae),e.__H.u.forEach(se),e.__H.u=[])})),ee=[]}function ae(e){e.m&&e.m()}function se(e){var t=e.i();"function"==typeof t&&(e.m=t)}function ce(e){var t=e.parentNode;t&&t.removeChild(e)}r.__r=function(e){te&&te(e),0,(R=e.__c).__H&&(R.__H.u.forEach(ae),R.__H.u.forEach(se),R.__H.u=[])},r.diffed=function(e){ne&&ne(e);var t=e.__c;if(t){var n=t.__H;n&&n.u.length&&(1!==ee.push(t)&&F===r.requestAnimationFrame||((F=r.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);"undefined"!=typeof window&&(t=requestAnimationFrame(n))})(ie))}},r.__c=function(e,t){t.some((function(e){e.__h.forEach(ae),e.__h=e.__h.filter((function(e){return!e.i||se(e)}))})),re&&re(e,t)},r.unmount=function(e){oe&&oe(e);var t=e.__c;if(t){var n=t.__H;n&&n.t.forEach((function(e){return e.m&&e.m()}))}};var ue=r.__e;function le(e){this.__u=[],this.__f=e.fallback}r.__e=function(e,t,n){if(e.then&&n)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.o)return n&&(t.__e=n.__e,t.__k=n.__k),void r.o(e);ue(e,t,n)},(le.prototype=new v).o=function(e){var t=this;t.__u.push(e);var n=function(){t.__u[t.__u.indexOf(e)]=t.__u[t.__u.length-1],t.__u.pop(),0==t.__u.length&&(t.__f&&T(t.__f),t.__v.__e=null,t.__v.__k=t.state.u,t.setState({u:null}))};null==t.state.u&&(t.__f=t.__f&&A(t.__f),t.setState({u:t.__v.__k}),function e(t){for(var n=0;n<t.length;n++){var r=t[n];null!=r&&("function"!=typeof r.type&&r.__e?ce(r.__e):r.__k&&e(r.__k))}}(t.__v.__k),t.__v.__k=[]),e.then(n,n)},le.prototype.render=function(e,t){return t.u?this.__f:e.children};var pe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,fe=r.event;r.event=function(e){return fe&&(e=fe(e)),e.persist=function(){},e.nativeEvent=e};var he=function(){function e(){}var t=e.prototype;return t.getChildContext=function(){return this.props.context},t.render=function(e){return e.children},e}();function de(e){var t=this,n=e.container,r=h(he,{context:t.context},e.vnode);return t.i&&t.i!==n&&(t.l.parentNode&&t.i.removeChild(t.l),T(t.s),t.v=!1),e.vnode?t.v?(n.__k=t.__k,N(r,n),t.__k=n.__k):(t.l=document.createTextNode(""),function(e,t){N(e,t,s)}("",n),n.appendChild(t.l),t.v=!0,t.i=n,N(r,n,t.l),t.__k=this.l.__k):t.v&&(t.l.parentNode&&t.i.removeChild(t.l),T(t.s)),t.s=r,t.componentWillUnmount=function(){t.l.parentNode&&t.i.removeChild(t.l),T(t.s)},null}function _e(e,t){return h(de,{vnode:e,container:t})}function ve(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}!function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).isPureReactComponent=!0,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.shouldComponentUpdate=function(e,t){return ve(this.props,e)||ve(this.state,t)}}(v);function ge(e,t){e["UNSAFE_"+t]&&!e[t]&&Object.defineProperty(e,t,{configurable:!1,get:function(){return this["UNSAFE_"+t]},set:function(e){this["UNSAFE_"+t]=e}})}v.prototype.isReactComponent={};var ye=r.vnode;r.vnode=function(e){e.$$typeof=pe,function(t){var n=e.type,r=e.props;if(r&&"string"==typeof n){var o={};for(var i in r)/^on(Ani|Tra)/.test(i)&&(r[i.toLowerCase()]=r[i],delete r[i]),o[i.toLowerCase()]=i;if(o.ondoubleclick&&(r.ondblclick=r[o.ondoubleclick],delete r[o.ondoubleclick]),o.onbeforeinput&&(r.onbeforeinput=r[o.onbeforeinput],delete r[o.onbeforeinput]),o.onchange&&("textarea"===n||"input"===n.toLowerCase()&&!/^fil|che|ra/i.test(r.type))){var a=o.oninput||"oninput";r[a]||(r[a]=r[o.onchange],delete r[o.onchange])}}}();var t=e.type;t&&t.t&&e.ref&&(e.props.ref=e.ref,e.ref=null),"function"==typeof t&&!t.p&&t.prototype&&(ge(t.prototype,"componentWillMount"),ge(t.prototype,"componentWillReceiveProps"),ge(t.prototype,"componentWillUpdate"),t.p=!0),ye&&ye(e)};var me,be,we,ke,xe=n(16),Se=n.n(xe);function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){je(e,t,n[t])}))}return e}me={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},be=["(","?"],we={")":["("],":":["?","?:"]},ke=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var Oe={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function Pe(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(ke);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(we[n]){if(we[n][0]===o){n=we[n][1]||n;break}}else if(be.indexOf(o)>=0||me[o]<me[n]){a.push(o);break}i.push(o)}we[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,s,c=[];for(n=0;n<e.length;n++){if(a=e[n],i=Oe[a]){for(r=i.length,o=Array(r);r--;)o[r]=c.pop();try{s=i.apply(null,o)}catch(u){return u}}else s=t.hasOwnProperty(a)?t[a]:+a;c.push(s)}return c[0]}(t,e)}}var Ee={contextDelimiter:"",onMissingKey:null};function Te(e,t){var n;for(n in this.data=e,this.pluralForms={},t=t||{},this.options={},Ee)this.options[n]=t[n]||Ee[n]}Te.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=Pe(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},Te.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,s;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(s=this.data[e][a])&&s[i]?s[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var Le=n(24),Ne=n.n(Le),Ae=n(19),Re=n.n(Ae),Fe={"":{plural_forms:"plural=(n!=1)"}},ze=Ne()(console.error),Ie=new Te({});function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";Ie.data[t]=Ce({},Fe,Ie.data[t],e),Ie.data[t][""]=Ce({},Fe[""],Ie.data[t][""])}function Ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return Ie.data[e]||Me(void 0,e),Ie.dcnpgettext(e,t,n,r,o)}function He(e,t){return Ue(t,void 0,e)}function qe(e,t,n,r){return Ue(r,void 0,e,t,n)}function De(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Re.a.sprintf.apply(Re.a,[e].concat(n))}catch(o){return ze("sprintf error: \n\n"+o.toString()),e}}n(37);var Ve=function(e){function t(){return q()(this,t),W()(this,B()(t).apply(this,arguments))}return K()(t,e),V()(t,[{key:"needsOffset",value:function(e,t){return["gridicons-calendar","gridicons-cart","gridicons-folder"].indexOf(e)>=0&&t%18==0}},{key:"getSVGTitle",value:function(e){switch(e){default:return null;case"gridicons-audio":return h("title",null,He("Has audio"));case"gridicons-calendar":return h("title",null,He("Is an event"));case"gridicons-cart":return h("title",null,He("Is a product"));case"gridicons-comment":return h("title",null,He("Matching comment"));case"gridicons-folder":return h("title",null,He("Category"));case"gridicons-image-multiple":return h("title",null,He("Has multiple images"));case"gridicons-image":return h("title",null,He("Has an image"));case"gridicons-page":return h("title",null,He("Page"));case"gridicons-jetpack-search":case"gridicons-search":return h("title",null,He("Search"));case"gridicons-tag":return h("title",null,He("Tag"));case"gridicons-video":return h("title",null,He("Has a video"))}}},{key:"renderIcon",value:function(e){switch(e){default:return null;case"gridicons-audio":return h("g",null,h("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-calendar":return h("g",null,h("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 h("g",null,h("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-comment":return h("g",null,h("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-folder":return h("g",null,h("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-multiple":return h("g",null,h("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-pages":return h("g",null,h("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-tag":return h("g",null,h("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 h("g",null,h("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"}))}}},{key:"render",value:function(){var e=this.props,t=e.size,n=void 0===t?24:t,r=e.class_name,o=void 0===r?"":r,i="gridicons-"+this.props.icon,a=["gridicon",i,o];return this.needsOffset(i,n)&&a.push("needs-offset"),h("svg",{className:a=a.join(" "),height:n,width:n,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},this.getSVGTitle(i),this.renderIcon(i))}}]),t}(v);function $e(e,t){return Array.isArray(e)||(e=[e]),0!==e.filter((function(e){return t.includes(e)})).length}var We=["youtube","ooyala","anvplayer","wpvideo","bc_video","video","brightcove","tp_video","jwplayer","tempo-video","vimeo"],Qe=["gallery","ione_media_gallery"],Be=["audio","soundcloud"],Ge={product:"cart",video:"video",gallery:"image-multiple",event:"calendar",events:"calendar"},Xe=function(e){var t=e.postType,n=e.shortcodeTypes,r=e.imageCount,o=e.iconSize,i=void 0===o?18:o;if(Object.keys(Ge).includes(t))return h(Ve,{icon:Ge[t],size:i});var a=$e(n,We),s=$e(n,Be),c=$e(n,Qe);if(a)return h(Ve,{icon:"video",size:i});if(s)return h(Ve,{icon:"audio",size:i});switch(t){case"page":return h(Ve,{icon:"pages",size:i});default:if(c||r>1)return h(Ve,{icon:"image-multiple",size:i})}return null},Je=function(e){var t=e.comments,n=e.iconSize;return t?h("div",{className:"jetpack-instant-search__result-comments"},h(Ve,{icon:"comment",size:void 0===n?18:n}),h("span",{className:"jetpack-instant-search__result-comments-text",dangerouslySetInnerHTML:{__html:t.join(" ... ")}})):null},Ke={};function Ye(e,t){window._tkq.push(["recordEvent",e,U()({},Ke,{},t)])}function Ze(e){Ye("jetpack_instant_search_traintracks_interact",e)}var et=function(e){function t(){var e,n;q()(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=W()(this,(e=B()(t)).call.apply(e,[this].concat(o))),Z()(X()(n),"onClick",(function(){Ze(U()({},n.getCommonTrainTracksProps(),{action:"click"}))})),n}return K()(t,e),V()(t,[{key:"componentDidMount",value:function(){Ye("jetpack_instant_search_traintracks_render",this.getCommonTrainTracksProps())}},{key:"getCommonTrainTracksProps",value:function(){return{fetch_algo:this.props.result.railcar.fetch_algo,fetch_position:this.props.result.railcar.fetch_position,fetch_query:this.props.result.railcar.fetch_query,railcar:this.props.result.railcar.railcar,rec_blog_id:this.props.result.railcar.rec_blog_id,rec_post_id:this.props.result.railcar.rec_post_id,ui_algo:"jetpack-instant-search-ui/v1",ui_position:this.props.index}}},{key:"getIconSize",value:function(){return 18}},{key:"getTags",value:function(){var e=this.props.result.fields["tag.name.default"];return e?(Array.isArray(e)||(e=[e]),e):[]}},{key:"getCategories",value:function(){var e=this.props.result.fields["category.name.default"];return e?(Array.isArray(e)||(e=[e]),e):[]}},{key:"renderNoMatchingContent",value:function(){var e=this,t=new URL("http://"+this.props.result.fields["permalink.url.raw"]).pathname,n=this.getTags(),r=this.getCategories();return h("div",{className:"jetpack-instant-search__result-minimal-content"},0===n.length&&0===r.length&&h("div",{className:"jetpack-instant-search__result-minimal-path"},t),0!==n.length&&h("div",{className:"jetpack-instant-search__result-minimal-tags"},n.map((function(t){return h("span",{className:"jetpack-instant-search__result-minimal-tag"},h(Ve,{icon:"tag",size:e.getIconSize()}),t)}))),0!==r.length&&h("div",{className:"jetpack-instant-search__result-minimal-cats"},r.map((function(t){return h("span",{className:"jetpack-instant-search__result-minimal-cat"},h(Ve,{icon:"folder",size:e.getIconSize()}),t)}))))}},{key:"renderMatchingContent",value:function(){return h("div",{className:"jetpack-instant-search__result-minimal-content",dangerouslySetInnerHTML:{__html:this.props.result.highlight.content.join(" ... ")}})}},{key:"render",value:function(){var e=this.props.locale,t=void 0===e?"en-US":e,n=this.props.result,r=n.result_type,o=n.fields,i=n.highlight;if("post"!==r)return null;var a=!i.content||""===i.content[0];return h("div",{className:"jetpack-instant-search__result-minimal"},h("span",{className:"jetpack-instant-search__result-minimal-date"},new Date(o.date.split(" ")[0]).toLocaleDateString(t,{dateStyle:"short"})),h("h3",{className:"jetpack-instant-search__result-title"},h(Xe,{postType:o.post_type,shortcodeTypes:o.shortcode_types,imageCount:o["has.image"]}),h("a",{href:"//".concat(o["permalink.url.raw"]),className:"jetpack-instant-search__result-minimal-title",dangerouslySetInnerHTML:{__html:i.title},onClick:this.onClick})),a?this.renderNoMatchingContent():this.renderMatchingContent(),h(Je,{comments:i&&i.comments}))}}]),t}(v);n(38);function tt(e,t){var n,r,o,i="";for(n in e)if(void 0!==(o=e[n]))if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(t||"")+i}function nt(e){if(!e)return"";var t=decodeURIComponent(e);return"false"!==t&&("true"===t||(0*+t==0?+t:t))}var rt,ot,it,at=n(9),st=n.n(at),ct="JetpackInstantSearchOptions",ut={date_asc:{label:He("Oldest","jetpack"),field:"date",direction:"ASC"},date_desc:{label:He("Newest","jetpack"),field:"date",direction:"DESC"},score_default:{label:He("Relevance","jetpack"),field:"relevance",direction:"DESC"}};function lt(){return function(e){for(var t,n,r={},o=e.split("&");t=o.shift();)void 0!==r[n=(t=t.split("=")).shift()]?r[n]=[].concat(r[n],nt(t.shift())):r[n]=nt(t.shift());return r}(window.location.search.substring(1))}function pt(e){if(history.pushState){var t=new window.URL(window.location.href);window[ct]&&"homeUrl"in window[ct]&&(t.href=window[ct].homeUrl),t.search=e,window.history.pushState(null,null,t.toString()),window.dispatchEvent(new Event("queryStringChange"))}}function ft(){var e=lt();return"s"in e?decodeURIComponent(e.s.replace(/\+/g,"%20")):""}function ht(e){var t=lt();""===e?delete t.s:t.s=e,pt(tt(t))}var dt={"date|DESC":"date_desc","date|ASC":"date_asc","relevance|DESC":"score_default"};var _t=["date","price","rating"],vt={date:(rt={},Z()(rt,"ASC","date_asc"),Z()(rt,"DESC","date_desc"),rt),price:(ot={},Z()(ot,"ASC","price_asc"),Z()(ot,"DESC","price_desc"),ot),rating:(it={},Z()(it,"ASC","rating_asc"),Z()(it,"DESC","rating_desc"),it),recency:"score_recency",keyword:"score_keyword",popularity:"score_popularity"};function gt(){var e=lt(),t="order"in e?e.order:"DESC",n="orderby"in e?e.orderby:"relevance",r="score_default";return _t.includes(n)?r=vt[n][t]:Object.keys(vt).includes(n)&&(r=vt[n]),r}function yt(e){var t=lt(),n=function(e){return ut[e]}(e);if(!n)return!1;t.orderby=n.field,t.order=n.direction,pt(tt(t))}function mt(e){var t=lt();return e in t?"string"==typeof t[e]?[t[e]]:t[e]:[]}function bt(){var e=["post_types","month_post_date","month_post_date_gmt","month_post_modified","month_post_modified_gmt","year_post_date","year_post_date_gmt","year_post_modified","year_post_modified_gmt"],t=st()(window[ct],"widgets[0].filters");return[].concat(e,t?I()(t.filter((function(e){return"taxonomy"===e.type})).map((function(e){return e.taxonomy}))):["category","post_tag"])}function wt(e){return e?mt(e):Object.assign.apply(Object,[{}].concat(I()(bt().map((function(e){return Z()({},e,mt(e))})))))}function kt(){for(var e=bt(),t=0;t<e.length;t++)if(mt(e[t]).length>0)return!0;return!1}function xt(e,t){var n=lt();n[e]=t,pt(tt(n))}var St=function(e){function t(){var e,n;q()(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=W()(this,(e=B()(t)).call.apply(e,[this].concat(o))),Z()(X()(n),"checkScroll",Se()((function(){n.props.enableLoadOnScroll&&window.innerHeight+window.scrollY===document.body.offsetHeight&&n.props.onLoadNextPage()}),100)),n}return K()(t,e),V()(t,[{key:"componentDidMount",value:function(){this.props.enableLoadOnScroll&&document.addEventListener("scroll",this.checkScroll)}},{key:"componentDidUnmount",value:function(){document.removeEventListener("scroll",this.checkScroll)}},{key:"render",value:function(){return h("button",{className:"jetpack-instant-search__scroll-button",disabled:this.props.isLoading,onClick:this.props.onLoadNextPage},this.props.isLoading?h("span",null,He("Loading…","jetpack")):h("span",null,He("Load more","jetpack")))}}]),t}(v),jt=function(e){function t(){var e,n;q()(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=W()(this,(e=B()(t)).call.apply(e,[this].concat(o))),Z()(X()(n),"renderResult",(function(e,t){switch(n.props.resultFormat){case"engagement":case"product":case"minimal":default:return h(et,{index:t,locale:n.props.locale,query:n.props.query,result:e})}})),n}return K()(t,e),V()(t,[{key:"getSearchTitle",value:function(){var e=this.props.response,t=e.total,n=void 0===t?0:t,r=e.corrected_query,o=void 0!==r&&r,i=""!==this.props.query,a=!1!==o,s=(new Intl.NumberFormat).format(n);return i&&a?De(qe('Showing %s result for "%s"','Showing %s results for "%s"',n,"jetpack"),s,o):i?De(qe('%s result for "%s"','%s results for "%s"',n,"jetpack"),s,this.props.query):De(qe("%s result","%s results",n,"jetpack"),s)}},{key:"renderEmptyResults",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.showText,n=void 0!==t&&t;return h("div",{className:"jetpack-instant-search__search-results"},n?h("div",null,h("h3",null,De(He("No Results.","jetpack"),this.props.query))):null)}},{key:"render",value:function(){var e=this.props.query,t=this.props.response,n=t.results,r=void 0===n?[]:n,o=t.total,i=void 0===o?0:o,a=t.corrected_query,s=!1!==(void 0!==a&&a);return""!==e||kt()?0===i?this.renderEmptyResults({showText:!0}):h("div",{className:"jetpack-instant-search__search-results ".concat(!0===this.props.isLoading?" jetpack-instant-search__is-loading":"")},h("p",{className:"jetpack-instant-search__search-results-real-query"},this.getSearchTitle()),s&&h("p",{className:"jetpack-instant-search__search-results-unused-query"},De(He('No results for "%s"',"jetpack"),e)),r.map(this.renderResult),this.props.hasNextPage&&h(St,{enableLoadOnScroll:this.props.enableLoadOnScroll,isLoading:this.props.isLoading,onLoadNextPage:this.props.onLoadNextPage})):this.renderEmptyResults()}}]),t}(v),Ct=n(20),Ot=n.n(Ct);function Pt(e){for(;e&&e.lastChild;)e.removeChild(e.lastChild)}function Et(){for(var e=["main","#content","#primary",".content"],t=0;t<e.length;t++)if(document.querySelector(e[t]))return e[t];return null}var Tt=function(e){function t(e){var n;return q()(this,t),n=W()(this,B()(t).call(this,e)),Z()(X()(n),"toggleFilter",(function(){var e;n.props.onChange(n.getIdentifier(),(e=n.filtersList.current,I()(e.querySelectorAll('input[type="checkbox"]').values()).filter((function(e){return e.checked})).map((function(e){return e.name}))))})),Z()(X()(n),"renderDate",(function(e){var t=e.key_as_string,r=e.doc_count,o=n.props.locale,i=void 0===o?"en-US":o;return h("div",null,h("input",{checked:n.isChecked(t),id:"".concat(n.idPrefix,"-dates-").concat(n.getIdentifier(),"-").concat(t),name:t,onChange:n.toggleFilter,type:"checkbox"}),h("label",{htmlFor:"".concat(n.idPrefix,"-dates-").concat(n.getIdentifier(),"-").concat(t)},new Date(t).toLocaleString(i,n.dateOptions)," (",r,")"))})),Z()(X()(n),"renderPostType",(function(e){var t=e.key,r=e.doc_count,o=t in n.props.postTypes?n.props.postTypes[t].singular_name:t;return h("div",null,h("input",{checked:n.isChecked(t),id:"".concat(n.idPrefix,"-post-types-").concat(t),name:t,onChange:n.toggleFilter,type:"checkbox"}),h("label",{htmlFor:"".concat(n.idPrefix,"-post-types-").concat(t)},Ot()(o)," (",r,")"))})),Z()(X()(n),"renderTaxonomy",(function(e){var t=e.key,r=e.doc_count;return h("div",null,h("input",{checked:n.isChecked(t),id:"".concat(n.idPrefix,"-taxonomies-").concat(t),name:t,onChange:n.toggleFilter,type:"checkbox"}),h("label",{htmlFor:"".concat(n.idPrefix,"-taxonomies-").concat(t)},Ot()(t)," (",r,")"))})),n.filtersList={},n.idPrefix="jp-instant-search-filter-".concat(Math.floor(100*Math.random())),"date"===n.props.type&&(n.dateOptions=function(e){switch(e){case"day":return{year:"numeric",month:"long",day:"numeric"};case"month":return{year:"numeric",month:"long"};case"year":return{year:"numeric"}}return{year:"numeric",month:"long"}}(n.props.configuration.interval)),n}return K()(t,e),V()(t,[{key:"getIdentifier",value:function(){return"postType"===this.props.type?"post_types":"date"===this.props.type?"".concat(this.props.configuration.interval,"_").concat(this.props.configuration.field):"taxonomy"===this.props.type?this.props.configuration.taxonomy:void 0}},{key:"isChecked",value:function(e){return this.props.value&&this.props.value.includes(e)}},{key:"renderDates",value:function(){return I()(this.props.aggregation.buckets.filter((function(e){return!!e&&e.doc_count>0})).map(this.renderDate)).reverse().slice(0,this.props.configuration.count)}},{key:"renderPostTypes",value:function(){return this.props.aggregation.buckets.map(this.renderPostType)}},{key:"renderTaxonomies",value:function(){return this.props.aggregation.buckets.map(this.renderTaxonomy)}},{key:"render",value:function(){return h("div",null,h("h4",{className:"jetpack-search-filters-widget__sub-heading"},this.props.configuration.name),this.props.aggregation&&"buckets"in this.props.aggregation&&h("div",{className:"jetpack-search-filters-widget__filter-list",ref:this.filtersList},"date"===this.props.type&&this.renderDates(),"postType"===this.props.type&&this.renderPostTypes(),"taxonomy"===this.props.type&&this.renderTaxonomies()))}}]),t}(v),Lt=function(e){function t(){var e,n;q()(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=W()(this,(e=B()(t)).call.apply(e,[this].concat(o))),Z()(X()(n),"renderFilterComponent",(function(e){var t=e.configuration,r=e.results;switch(t.type){case"date_histogram":return r&&h(Tt,{aggregation:r,configuration:t,locale:n.props.locale,type:"date",value:n.props.filters["".concat(t.interval,"_").concat(t.field)],onChange:n.props.onChange});case"taxonomy":return r&&h(Tt,{aggregation:r,configuration:t,value:n.props.filters[t.taxonomy],onChange:n.props.onChange,type:"taxonomy"});case"post_type":return r&&h(Tt,{aggregation:r,configuration:t,value:n.props.filters.post_types,onChange:n.props.onChange,postTypes:n.props.postTypes,type:"postType"})}})),n}return K()(t,e),V()(t,[{key:"render",value:function(){var e=st()(this.props.results,"aggregations");return h("div",{className:!0===this.props.loading?"jetpack-instant-search__filters-widget jetpack-instant-search__is-loading":"jetpack-instant-search__filters-widget"},st()(this.props.widget,"filters").map((function(t){return e?{configuration:t,results:e[t.filter_id]}:null})).filter((function(e){return!!e})).filter((function(e){var t=e.results;return!!t&&Array.isArray(t.buckets)&&t.buckets.length>0})).map(this.renderFilterComponent))}}]),t}(v),Nt=function(e){function t(){var e,n;q()(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=W()(this,(e=B()(t)).call.apply(e,[this].concat(o))),Z()(X()(n),"handleChange",(function(e){n.props.value!==e.target.value&&n.props.onChange(e.target.value)})),n}return K()(t,e),V()(t,[{key:"render",value:function(){var e=this,t=ut;return h("label",null,He("Sort by","jetpack"),h("select",{className:"jetpack-instant-search__sort-widget-select",onBlur:this.handleChange,onChange:this.handleChange},Object.keys(t).map((function(n){return h("option",{value:n,selected:e.props.value===n},t[n].label)}))))}}]),t}(v),At=function(e){function t(){return q()(this,t),W()(this,B()(t).apply(this,arguments))}return K()(t,e),V()(t,[{key:"render",value:function(){return h("div",{className:"jp-instant-search__box"},h("span",{className:"screen-reader-text"},He("Search","jetpack")),h("input",{className:"search-field jp-instant-search__box-input",onInput:this.props.onChangeQuery,onFocus:this.props.onFocus,onBlur:this.props.onBlur,ref:this.props.appRef,placeholder:He("Search…","jetpack"),type:"search",value:this.props.query}))}}]),t}(v),Rt=n(21),Ft=n.n(Rt),zt=n(25);function It(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t={};return e.forEach((function(e){return e.filters.forEach((function(e){t[e.filter_id]=Mt(e)}))})),t}function Mt(e){switch(e.type){case"date_histogram":return{date_histogram:{field:"post_date_gmt"===e.field?"date_gmt":"date",interval:e.interval}};case"taxonomy":var t="taxonomy.".concat(e.taxonomy,".slug");return"post_tag"===e.taxonomy?t="tag.slug":"category"===e.type&&(t="category.slug"),{terms:{field:t,size:e.count}};case"post_type":return{terms:{field:e.type,size:e.count}}}}var Ut=/(\d{4})-(\d{2})-(\d{2})/;function Ht(e,t,n){var r,o;if("year"===n){var i=t.match(Ut);r=Ft()(i,3)[1]}if("month"===n){var a=t.match(Ut),s=Ft()(a,3);r=s[1],o=s[2]}var c="",u="";return o?(c="".concat(r,"-").concat(o,"-01"),u="".concat(r,"-").concat(+o+1,"-01")):r&&(c="".concat(r,"-01-01"),u="".concat(+r+1,"-01-01")),{range:Z()({},e,{gte:c,lt:u})}}var qt=new Map([["post_types",function(e){return{term:{post_type:e}}}],["category",function(e){return{term:{"category.slug":e}}}],["post_tag",function(e){return{term:{"tag.slug":e}}}],["month_post_date",function(e){return Ht("date",e,"month")}],["month_post_date_gmt",function(e){return Ht("date_gmt",e,"month")}],["month_post_modified",function(e){return Ht("date",e,"month")}],["month_post_modified_gmt",function(e){return Ht("date_gmt",e,"month")}],["year_post_date",function(e){return Ht("date",e,"year")}],["year_post_date_gmt",function(e){return Ht("date_gmt",e,"year")}],["year_post_modified",function(e){return Ht("date",e,"year")}],["year_post_modified_gmt",function(e){return Ht("date_gmt",e,"year")}]]);function Dt(e){if(!e)return{};var t={bool:{must:[]}};return bt().filter((function(t){return n=e[t],Array.isArray(n)&&n.length>0;var n})).forEach((function(n){e[n].forEach((function(e){qt.has(n)?t.bool.must.push(qt.get(n)(e)):t.bool.must.push({term:Z()({},"taxonomy.".concat(n,".slug"),e)})}))})),t}function Vt(e){var t=e.aggregations,n=e.filter,r=e.pageHandle,o=e.query,i=e.resultFormat,a=e.siteId,s=e.sort,c=[],u=[];switch(i){case"engagement":case"product":case"minimal":default:u=["title","content","comments"],c=["date","permalink.url.raw","tag.name.default","category.name.default","post_type","has.image","shortcode_types"]}var l,p,f=tt(Object(zt.flatten)({aggregations:t,fields:c,highlight_fields:u,filter:Dt(n),query:encodeURIComponent(o),sort:s,page_handle:r}));return(l="https://public-api.wordpress.com/rest/v1.3/sites/".concat(a,"/search?").concat(f),p=p||{},new Promise((function(e,t){var n=new XMLHttpRequest,r=[],o=[],i={},a=function(){return{ok:2==(n.status/100|0),statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(JSON.parse(n.responseText))},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:a,headers:{keys:function(){return r},entries:function(){return o},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var s in n.open(p.method||"get",l,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){r.push(t=t.toLowerCase()),o.push([t,n]),i[t]=i[t]?i[t]+","+n:n})),e(a())},n.onerror=t,n.withCredentials="include"==p.credentials,p.headers)n.setRequestHeader(s,p.headers[s]);n.send(p.body||null)}))).then((function(e){return e.json()}))}var $t=function(e){function t(){var e;return q()(this,t),e=W()(this,B()(t).apply(this,arguments)),Z()(X()(e),"onSearchFocus",(function(){e.hasActiveQuery()&&e.showResults()})),Z()(X()(e),"onSearchBlur",(function(){e.state.showResults&&e.hideResults()})),Z()(X()(e),"onChangeQuery",(function(e){ht(e.target.value)})),Z()(X()(e),"onChangeQueryString",(function(){e.hasActiveQuery()?e.showResults():e.hideResults(),e.getDebouncedResults(ft(),wt(),gt(),null)})),Z()(X()(e),"onChangeFilter",(function(e,t){xt(e,t)})),Z()(X()(e),"onChangeSort",(function(e){yt(e)})),Z()(X()(e),"loadNextPage",(function(){e.hasNextPage()&&e.getResults(ft(),wt(),gt(),e.state.response.page_handle)})),Z()(X()(e),"getResults",(function(t,n,r,o){e.requestId++;var i=e.requestId;e.setState({isLoading:!0},(function(){Vt({aggregations:o?{}:e.props.aggregations,filter:n,pageHandle:o,query:t,resultFormat:e.props.options.resultFormat,siteId:e.props.options.siteId,sort:r}).then((function(t){if(e.requestId===i){var n=U()({},t);o&&(n.aggregations=U()({},"aggregations"in e.state.response&&!Array.isArray(e.state.response)?e.state.response.aggregations:{},{},Array.isArray(t.aggregations)?{}:t.aggregations),n.results=[].concat(I()("results"in e.state.response?e.state.response.results:[]),I()(t.results))),e.setState({response:n})}e.setState({isLoading:!1})}))}))})),e.input={},e.requestId=0,e.props.aggregations=It(e.props.options.widgets),e.state={isLoading:!1,response:{},showResults:!1},e.getDebouncedResults=Se()(e.getResults,200),e.prepareDomForMounting(),e}return K()(t,e),V()(t,[{key:"componentDidMount",value:function(){this.getResults(ft(),wt(),this.props.initialSort,null),this.hasActiveQuery()&&this.showResults(),this.props.grabFocus&&this.input.current.focus(),window.addEventListener("popstate",this.onChangeQueryString),window.addEventListener("queryStringChange",this.onChangeQueryString)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("popstate",this.onChangeQueryString),window.removeEventListener("queryStringChange",this.onChangeQueryString)}},{key:"prepareDomForMounting",value:function(){!function(e){for(var t=null,n=0;n<e.length;n++)(t=document.querySelector(e[n]))&&(t.style.display="none")}(this.props.themeOptions.elementSelectors),document.querySelectorAll(".jetpack-instant-search-wrapper").forEach((function(e){return Pt(e)})),document.querySelectorAll(this.props.themeOptions.searchFormSelector).forEach((function(e){return Pt(e)}))}},{key:"hasActiveQuery",value:function(){return""!==ft()||kt()}},{key:"hasNextPage",value:function(){return!!this.state.response.page_handle}},{key:"showResults",value:function(){this.state.showResults||(!function(e){for(var t=document.querySelector(e),n=0;n<t.children.length;n++)t.children[n].style.display="none"}(this.props.themeOptions.resultsSelector),this.setState({showResults:!0}))}},{key:"hideResults",value:function(){var e=this;this.props.isSearchPage||this.hasActiveQuery()||!this.state.showResults||this.setState({showResults:!1},(function(){var t;!function(e){for(var t=document.querySelector(e),n=0;n<t.children.length;n++)t.children[n].style.display="initial"}(e.props.themeOptions.resultsSelector),t=e.props.initialHref,history.pushState&&(window.history.pushState(null,null,t),window.dispatchEvent(new Event("queryStringChange")))}))}},{key:"renderWidgets",value:function(){var e=this;return this.props.options.widgets.map((function(t){return _e(h("div",{id:"".concat(t.widget_id,"-portaled-wrapper")},h("div",{className:"search-form"},h(At,{onChangeQuery:e.onChangeQuery,onFocus:e.onSearchFocus,onBlur:e.onSearchBlur,appRef:e.input,query:ft()})),h("div",{className:"jetpack-search-sort-wrapper"},h(Nt,{onChange:e.onChangeSort,value:gt()})),h(Lt,{filters:wt(),loading:e.state.isLoading,locale:e.props.options.locale,onChange:e.onChangeFilter,postTypes:e.props.options.postTypes,results:e.state.response,widget:t})),document.getElementById("".concat(t.widget_id,"-wrapper")))}))}},{key:"renderSearchForms",value:function(){var e=this,t=Array.from(document.querySelectorAll(this.props.themeOptions.searchFormSelector));return t&&t.map((function(t){return _e(h(At,{onChangeQuery:e.onChangeQuery,appRef:e.input,query:ft()}),t)}))}},{key:"render",value:function(){return h(_,null,this.renderWidgets(),this.renderSearchForms(),this.state.showResults&&_e(h(jt,{hasNextPage:this.hasNextPage(),isLoading:this.state.isLoading,onLoadNextPage:this.loadNextPage,locale:this.props.options.locale,query:ft(),response:this.state.response,resultFormat:this.props.options.resultFormat,enableLoadOnScroll:this.props.options.enableLoadOnScroll}),document.querySelector(this.props.themeOptions.resultsSelector)))}}]),t}(v);Z()($t,"defaultProps",{resultFormat:"minimal",widgets:[]});var Wt=$t;document.addEventListener("DOMContentLoaded",(function(){var e,t,n,r,o,i;window[ct]&&"siteId"in window[ct]&&(window._tkq=window._tkq||[],window._tkq.push(["clearIdentity"]),i=window[ct].siteId,Ke.blog_id=i,N(h(Wt,{grabFocus:e,initialHref:window.location.href,initialSort:(r=window[ct].sort,o=ft(),"orderby"in lt()?gt():""===o?"date_desc":Object.keys(dt).includes(r)?dt[r]:"score_default"),isSearchPage:""!==ft(),options:window[ct],themeOptions:(t=window[ct],n={resultsSelector:Et(),elementSelectors:["#content .page-title","section.ast-archive-description"].filter((function(e){return document.querySelector(e)})),searchFormSelector:"form#searchform, form.search-form, form.searchform"},t.theme_options?U()({},n,{},t.theme_options):n)}),document.body))}))}])); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.css b/plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.css
deleted file mode 100644
index bfe0d103..00000000
--- a/plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.css
+++ /dev/null
@@ -1 +0,0 @@
-.jetpack-instant-search__overlay{background:rgba(29,35,39,.7);bottom:0;box-sizing:border-box;color:#00101c;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transition:opacity .1s ease-in;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay.is-hidden{background:transparent;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}.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)}.jetpack-instant-search__notice{font-size:14px;margin:1em 0;padding:.75em}.jetpack-instant-search__notice.jetpack-instant-search__notice--warning{background-color:#f5e6b3;color:#4f3500}.jetpack-instant-search__notice .gridicon{margin-right:.5em;margin-top:-5px;vertical-align:middle}.jetpack-instant-search__scroll-button{border:0;box-shadow:none;font-size:13px;outline:0}.jetpack-instant-search__search-sort{align-items:center;display:flex}.jetpack-instant-search__search-sort>label[for=jetpack-instant-search__search-sort-select]{flex-shrink:0;font-size:1em;font-weight:700;margin:0 .25em 0 0}.jetpack-instant-search__search-sort-with-links{font-size:13px}@media(max-width:575.98px){.jetpack-instant-search__search-sort-with-select{margin-right:1em;width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-sort-with-select{margin-right:0}}@media(min-width:992px){.jetpack-instant-search__search-sort-with-select{margin-top:-4px}}#jetpack-instant-search__search-sort-select{-webkit-appearance:auto;appearance:auto;background:#fff;border:1px solid #e6f1f5;border-radius:5px;color:#00101c;font-size:1em;height:inherit;padding:.25em}@media(max-width:575.98px){#jetpack-instant-search__search-sort-select{padding:.5em;width:100%}}.jetpack-instant-search__search-sort-option{color:#646970;cursor:pointer;padding:0 2px;text-decoration:none}.jetpack-instant-search__search-sort-option:after{color:#646970;content:"·";font-weight:400;padding-left:5px}.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:focus,.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:hover{text-decoration:none}.jetpack-instant-search__search-sort-option:last-child:after{content:""}.jetpack-instant-search__search-sort-option.is-selected{color:#044b7a;font-weight:600;text-decoration:none}.jetpack-instant-search__search-form-controls{align-items:center;display:flex;line-height:1.3;margin-left:56px;margin-right:56px;margin-top:16px;z-index:1}@media(max-width:991.98px){.jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:767.98px){.jetpack-instant-search__search-form-controls{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-form-controls{position:absolute;right:320px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{position:absolute;right:320px}}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-form-controls{right:0}.jetpack-instant-search__box{border-bottom:1px solid #e6f1f5;border-right:1px solid #e6f1f5}.jetpack-instant-search__box-label{align-items:center;display:flex;flex:0 0 100%;margin:0}input.jetpack-instant-search__box-input.search-field{-webkit-appearance:none;appearance:none;background:#fff;border:0;box-shadow:none;color:#3c434a;font-size:18px;height:60px;line-height:1;margin:0;max-width:none;padding:0 14px;text-indent:32px;vertical-align:middle}input.jetpack-instant-search__box-input.search-field:focus,input.jetpack-instant-search__box-input.search-field:hover{background:#fff;color:#00101c}input.jetpack-instant-search__box-input.search-field.search-field{letter-spacing:-.02em;padding-left:0;text-indent:0}.jetpack-instant-search__box-gridicon{align-items:center;display:flex;flex-shrink:0;height:60px;justify-content:center;left:0;position:relative;top:0;width:60px;z-index:1}.jetpack-instant-search__box-gridicon svg{fill:#646970}.jetpack-instant-search__box input[type=button]{word-wrap:normal;border:none;color:#646970;cursor:pointer;font-size:1em;font-weight:400;height:60px;line-height:1;margin:0 .25em 0 0;padding:0;text-decoration:none;text-shadow:none;text-transform:none;transition:all .1s linear;width:60px}.jetpack-instant-search__box input[type=button],.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{color:#3c434a}.jetpack-instant-search__box input[type=button]:focus{outline:1px dotted}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input{border:none;box-shadow:none;height:52px;outline-style:none;transition:color .15s ease-in-out,border-color .25s ease-in-out;width:100%}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:focus,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:hover{border:none;box-shadow:none;outline-style:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-button,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-decoration{appearance:none;-webkit-appearance:none;display:initial}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-cancel-button{display:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-clear,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-reveal{display:none}.jetpack-instant-search__path-breadcrumb{font-size:.9em;margin:0;max-width:calc(100vw - 2em);overflow-x:hidden;text-overflow:ellipsis}.jetpack-instant-search__path-breadcrumb-link{max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jetpack-instant-search__path-breadcrumb-link:focus,.jetpack-instant-search__path-breadcrumb-link:hover{text-decoration:underline}.jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__path-breadcrumb-link{color:#3c434a}.jetpack-instant-search__search-result-comments{border-left:2px solid #f0f0f1;font-size:.9em;margin-left:8px;margin-top:16px;padding-left:16px;word-break:break-word}.jetpack-instant-search__search-result-comments .gridicon{margin-right:8px;vertical-align:middle}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title{margin-bottom:.4em}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title .gridicon{margin-right:8px}.jetpack-instant-search__search-result-minimal-cats-and-tags{display:flex;flex-flow:row wrap;font-size:.9375em}.jetpack-instant-search__search-result-minimal-cats,.jetpack-instant-search__search-result-minimal-tags{display:flex;flex-flow:row wrap;list-style-type:none;margin:0;padding:0}.jetpack-instant-search__search-result-minimal-cat,.jetpack-instant-search__search-result-minimal-tag{margin:0 .75em 0 0}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag .gridicon{margin-right:.25em}.jetpack-instant-search__search-result-minimal-cat-text,.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag-text,.jetpack-instant-search__search-result-minimal-tag .gridicon{vertical-align:middle}.jetpack-instant-search__search-result-minimal-content{word-break:break-word}.jetpack-instant-search__search-result-expanded{display:flex;flex-flow:column}.jetpack-instant-search__search-result-expanded:last-child{margin-right:0}.jetpack-instant-search__search-result-expanded .jetpack-instant-search__search-result-expanded__title{width:100%}.jetpack-instant-search__search-result-expanded__path{color:#646970;font-size:.9375em;margin:0 0 .4em}.jetpack-instant-search__search-result-expanded__copy-container{max-width:100%}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__copy-container{width:calc(100% - 128px - 1em)}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__copy-container{width:auto}.jetpack-instant-search__search-result-expanded__content{color:#00101c;font-size:.9375em}.jetpack-instant-search__search-result-expanded__image-link{margin-left:1em}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-link{margin:0 auto .5em;order:-1}}.jetpack-instant-search__search-result-expanded__image-container{width:128px}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-container{width:256px}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__image-container{display:none}.jetpack-instant-search__search-result-expanded__image-container{position:relative}.jetpack-instant-search__search-result-expanded__image-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-expanded__image{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-expanded__content-container{display:flex;flex-flow:column}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__content-container{flex-flow:row nowrap}}.jetpack-instant-search__search-result-expanded__footer{display:flex;list-style-type:none;margin-left:0;margin-top:10px;padding-left:0}.jetpack-instant-search__search-result-expanded__footer li{margin-right:10px}.jetpack-instant-search__search-result-expanded__footer-blog-image{border-radius:2px;margin-right:3px;vertical-align:middle}.jetpack-instant-search__search-result-expanded__footer-blog{font-size:13px;font-style:normal;font-weight:600;line-height:180%}.jetpack-instant-search__search-result-expanded__footer-author:after,.jetpack-instant-search__search-result-expanded__footer-blog:after{color:#636363;content:"·";margin-left:10px}.jetpack-instant-search__search-result-expanded__footer-author,.jetpack-instant-search__search-result-expanded__footer-date{color:#636363;font-size:13px;font-style:normal;font-weight:400}.jetpack-instant-search__product-rating-stars .gridicon{fill:#f0c930;vertical-align:middle}.jetpack-instant-search a.jetpack-instant-search__product-rating-count{color:#646970;font-size:.9em;text-decoration:underline;vertical-align:text-top}.jetpack-instant-search__product-price-regular{color:#646970;padding-right:.25em}.jetpack-instant-search__search-results-list.is-format-product{display:flex;flex-wrap:wrap;margin-right:40px;padding:0 0 3em}@media(max-width:991.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-right:24px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-right:4px}}.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{display:flex;flex-direction:column;margin:0 16px 16px 0;position:relative;width:calc(50% - 16px)}@media(min-width:576px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:768px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:992px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:1200px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:1400px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(20% - 16px)}}.jetpack-instant-search__search-result>.jetpack-instant-search__search-result-product-img-link{display:block}.jetpack-instant-search__search-result-product-img-container{border-radius:5px;color:transparent;position:relative}.jetpack-instant-search__search-result-product-img-container.jetpack-instant-search__search-result-product-img-container--placeholder{background:#c3c4c7}.jetpack-instant-search__search-result-product-img-container .gridicon{fill:#fff}.jetpack-instant-search__search-result-product-img-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-product-img{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-product-img>.gridicon{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.jetpack-instant-search__search-result-product-img>.gridicons-image{height:25%;width:25%}.jetpack-instant-search__search-result-product-img>.gridicons-block{height:50%;width:50%}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-product-title{font-size:1.25em;margin:.25em 0 0}.jetpack-instant-search__search-result-product-match{font-size:.9em;margin-top:.25em}.jetpack-instant-search__search-result-product-match mark{align-items:center;display:flex;font-weight:400}.jetpack-instant-search__search-result-product-match .gridicon{height:1em;margin-right:.25em;width:1em}.jetpack-instant-search__search-result{margin:0 0 2em}.jetpack-instant-search__search-result-title{font-size:1.6em;font-weight:400;line-height:1.35;margin:0;overflow-wrap:break-word}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link{text-decoration:none}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:focus,.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:hover{text-decoration:underline}.jetpack-instant-search__search-filters{position:relative}.jetpack-instant-search__search-filters>div{margin-top:1em}.jetpack-instant-search__search-filters-title{color:#00101c;display:block;font-weight:700;line-height:1.3}.jetpack-instant-search__clear-filters-link{line-height:1.3;margin:0;position:absolute;right:0;top:0}.jetpack-instant-search__search-filter-sub-heading{color:#646970;font-size:inherit;margin:0;padding:0}.jetpack-instant-search__search-filter-list{text-align:left}.jetpack-instant-search__search-filter-list>div{align-items:baseline;display:flex;margin-top:8px}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input{-webkit-appearance:checkbox;appearance:checkbox;background:none;border:none;cursor:pointer;height:auto;margin:0;top:1px;width:auto}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:before,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:before{display:none!important}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-label,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-label{color:inherit;cursor:pointer;display:inline-block;font-weight:400;margin:0 0 0 8px;padding:0;width:auto}.jetpack-instant-search__search-static-filter-list{font-size:.875rem;line-height:1.8}.jetpack-instant-search__widget-area-container{margin-bottom:2em}.jetpack-instant-search__jetpack-colophon{margin-bottom:2em;margin-top:2em;text-align:center}.jetpack-instant-search__jetpack-colophon-link{align-items:center;color:inherit;display:flex;text-decoration:none}.jetpack-instant-search__jetpack-colophon-logo{display:inline;height:16px;width:16px}.jetpack-instant-search__jetpack-colophon-text{color:#3c434a;font-size:.7em;font-weight:400;padding-left:6px}.jetpack-instant-search__sidebar{padding-top:14px}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget{background:none;border:none;margin:0;padding:0}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget a{font-weight:400}.jetpack-instant-search__sidebar h2.widgettitle{border:none;font-size:1.3em;margin:1em 0 .5em}.jetpack-instant-search__sidebar h2.widgettitle:after,.jetpack-instant-search__sidebar h2.widgettitle:before{display:none!important}.jetpack-instant-search__search-results{background:#fff;border-radius:3px;margin:0 auto;max-width:1080px;min-height:100%;position:relative;z-index:10}@media(max-width:575.98px){.jetpack-instant-search__search-results{border-radius:0}}@media(min-width:992px){.jetpack-instant-search__search-results{max-width:95%}}.jetpack-instant-search__search-results mark{background:#ffc;color:#00101c}.jetpack-instant-search__search-results-controls{display:flex}.jetpack-instant-search__search-results-content{display:flex;position:relative}.jetpack-instant-search__search-results-filter-button{align-items:center;border:0;color:#646970;cursor:pointer;display:flex;flex-shrink:0;font-size:12px;margin:0;padding:8px;text-decoration:none;transition:background-color .25s ease-in-out}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-filter-button{visibility:hidden}@media(min-width:576px){.jetpack-instant-search__search-results-filter-button{font-size:13px;padding:10px 14px}}@media(min-width:992px){.jetpack-instant-search__search-results-filter-button{display:none}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:flex}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:none}}.jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__search-results-filter-button:hover{color:#00101c}.jetpack-instant-search__search-results-filter-button .gridicon{margin-left:4px}.jetpack-instant-search__search-results-primary{margin:0;max-width:calc(100% - 320px);width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-primary{max-width:100%}@media(max-width:991.98px){.jetpack-instant-search__search-results-primary{max-width:100%}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-primary{max-width:100%}}.jetpack-instant-search__search-results-secondary{background:none;border-left:1px solid #e6f1f5;border-radius:0;bottom:0;box-shadow:none;color:#00101c;display:block;flex:none;padding:0 32px;position:static;width:320px}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary{display:none}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:991.98px)and (max-width:575.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:1199.98px)and (max-width:575.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{color:#00101c;font-size:1em;font-weight:700;line-height:1.3;margin:1em 56px 1.5em;padding:0;word-break:break-word}@media(max-width:991.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title,.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-results-title{padding-right:210px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title{padding-right:210px}}.jetpack-instant-search__search-results-list{color:#00101c;list-style:none;margin-left:56px;margin-right:56px;padding:0}@media(max-width:991.98px){.jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list{margin-left:20px;margin-right:20px}}.jetpack-instant-search__search-results-list li:before{content:"​";height:1px;position:absolute;width:1px}.jetpack-instant-search__search-results-search-form{font-size:.8em;margin:0;top:0;width:100%}button.jetpack-instant-search__overlay-close{align-items:center;-webkit-appearance:none;appearance:none;background:none;background-color:transparent!important;border:none;border-bottom:1px solid #e6f1f5;box-shadow:none;cursor:pointer;display:flex;height:61px;justify-content:center;line-height:1;margin:0;outline:none;padding:0;text-decoration:none;text-shadow:none;text-transform:none;width:60px}button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}button.jetpack-instant-search__overlay-close:focus{outline:1px dotted}button.jetpack-instant-search__overlay-close svg.gridicon{fill:#646970}button.jetpack-instant-search__overlay-close:active,button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{background-color:transparent!important;border-color:#e6f1f5}button.jetpack-instant-search__overlay-close:active svg.gridicon,button.jetpack-instant-search__overlay-close:focus svg.gridicon,button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#3c434a}.jetpack-instant-search__search-results-pagination{display:block;flex:none;margin:50px}.jetpack-instant-search .widget.widget_archive ul li a,.jetpack-instant-search .widget a,.jetpack-instant-search a{border:none;color:#001621;text-decoration:none}.jetpack-instant-search .widget.widget_archive ul li a:focus,.jetpack-instant-search .widget.widget_archive ul li a:hover,.jetpack-instant-search .widget a:focus,.jetpack-instant-search .widget a:hover,.jetpack-instant-search a:focus,.jetpack-instant-search a:hover{color:#044b7a;text-decoration:underline}.jetpack-search-filters-widget__filter-list{list-style-type:none}body.enable-search-modal .cover-modal.show-modal.search-modal.active{display:none}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark{background:rgba(29,35,39,.7);color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a{color:#f6f7f7}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:hover{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filters-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__content,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-list,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-unused-query{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__jetpack-colophon-text,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb-link{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filter-sub-heading,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__path{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box-gridicon svg,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close svg.gridicon{fill:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:focus svg.gridicon,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:hover{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field{background:#000;color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:hover{background:#000;color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results{background:#000}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results mark{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{color:#e6f1f5}@media(min-width:992px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{border-color:#3c434a}}@media(max-width:991.98px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#000;border-color:#3c434a;box-shadow:0 2px 3px #3c434a}}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option:after{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option.is-selected{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-product-img--placeholder{color:#2c3338}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark #jetpack-instant-search__search-sort-select{background:#000;border-color:#3c434a;color:#e6f1f5} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.js b/plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.js
deleted file mode 100644
index 30e8d3b6..00000000
--- a/plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";(self.webpackChunkJetpack=self.webpackChunkJetpack||[]).push([[613],{3130:function(e,t,r){r.d(t,{Z:function(){return o}});var s=r(7538),n=r.n(s),i=r(5151),a=r(7079);class o extends i.wA{constructor(){super(...arguments),n()(this,"handleOverlayOptionsUpdate",(e=>{this.props.updateOverlayOptions(e,(()=>this.props.showResults()))}))}componentDidMount(){(0,a.vJ)(this.handleOverlayOptionsUpdate),(0,a.Em)(this.props.toggleResults)}render(){return null}}},3703:function(e,t,r){r.d(t,{Z:function(){return l}});var s=r(7538),n=r.n(s),i=r(5151),a=r(5034),o=r.n(a);class l extends i.wA{constructor(){super(...arguments),n()(this,"handleCompositionStart",(()=>this.setState({isComposing:!0}))),n()(this,"handleCompositionEnd",(()=>this.setState({isComposing:!1}))),n()(this,"handleFilterInputClick",(e=>{e.preventDefault(),e.currentTarget.dataset.filterType&&("taxonomy"===e.currentTarget.dataset.filterType?this.props.setFilter(e.currentTarget.dataset.taxonomy,e.currentTarget.dataset.val):this.props.setFilter(e.currentTarget.dataset.filterType,e.currentTarget.dataset.val)),this.props.setSearchQuery(""),this.props.showResults()})),n()(this,"handleHistoryNavigation",(()=>{this.props.initializeQueryValues({isHistoryNavigation:!0})})),n()(this,"handleInput",o()((e=>{e.inputType?.includes("format")||""===e.target.value||this.state.isComposing||"submit"!==this.props.overlayOptions.overlayTrigger&&(this.props.setSearchQuery(e.target.value),"immediate"===this.props.overlayOptions.overlayTrigger&&this.props.showResults(),"results"===this.props.overlayOptions.overlayTrigger&&this.props.response?.results&&this.props.showResults())}),200)),n()(this,"handleKeyup",(e=>{"Enter"===e.key&&(this.props.setSearchQuery(e.target.value),this.props.showResults())})),n()(this,"handleOverlayTriggerClick",(e=>{e.stopImmediatePropagation(),this.props.setSearchQuery(""),this.props.showResults()})),n()(this,"handleSubmit",(e=>{if(e.preventDefault(),this.handleInput.flush(),!this.props.isVisible){const t=e.target.querySelector(this.props.themeOptions.searchInputSelector)?.value;"string"==typeof t&&this.props.setSearchQuery(t),this.props.showResults()}})),n()(this,"fixBodyScroll",(()=>{this.props.isVisible?(this.preventBodyScroll(),window?.scrollTo(0,0)):this.props.isVisible||this.restoreBodyScroll()})),this.state={isComposing:!1,bodyScrollTop:0,previousStyle:null,previousBodyStyleAttribute:""},this.props.initializeQueryValues()}componentDidMount(){this.disableUnnecessaryFormAndInputAttributes(),this.addEventListeners()}componentWillUnmount(){this.removeEventListeners(),this.restoreBodyScroll()}componentDidUpdate(e){this.props.isVisible!==e.isVisible&&this.fixBodyScroll()}disableUnnecessaryFormAndInputAttributes(){document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.removeAttribute("required"),e.removeAttribute("autocomplete"),e.form.removeAttribute("autocomplete")}))}addEventListeners(){window.addEventListener("popstate",this.handleHistoryNavigation),document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.form.addEventListener("submit",this.handleSubmit),e.addEventListener("keyup",this.handleKeyup),e.addEventListener("input",this.handleInput),e.addEventListener("compositionstart",this.handleCompositionStart),e.addEventListener("compositionend",this.handleCompositionEnd)})),document.querySelectorAll(this.props.themeOptions.overlayTriggerSelector).forEach((e=>{e.addEventListener("click",this.handleOverlayTriggerClick,!0)})),document.querySelectorAll(this.props.themeOptions.filterInputSelector).forEach((e=>{e.addEventListener("click",this.handleFilterInputClick)}))}removeEventListeners(){window.removeEventListener("popstate",this.handleHistoryNavigation),document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.form.removeEventListener("submit",this.handleSubmit),e.removeEventListener("keyup",this.handleKeyup),e.removeEventListener("input",this.handleInput),e.removeEventListener("compositionstart",this.handleCompositionStart),e.removeEventListener("compositionend",this.handleCompositionEnd)})),document.querySelectorAll(this.props.themeOptions.overlayTriggerSelector).forEach((e=>{e.removeEventListener("click",this.handleOverlayTriggerClick,!0)})),document.querySelectorAll(this.props.themeOptions.filterInputSelector).forEach((e=>{e.removeEventListener("click",this.handleFilterInputClick)}))}preventBodyScroll(){this.setState({bodyScrollTop:parseInt(window.scrollY)||0,previousStyle:{top:document.body.style.top,left:document.body.style.left,right:document.body.style.right,scrollBehavior:document.documentElement.style.scrollBehavior},previousBodyStyleAttribute:document.body.getAttribute("style")},(()=>{const e=document.documentElement?.scrollHeight-document.body?.scrollHeight||0;document.body.setAttribute("style","position: fixed !important"),document.body.style.top=`-${this.state.bodyScrollTop-e}px`,document.body.style.left=0,document.body.style.right=0}))}restoreBodyScroll(){var e,t,r,s;this.state.previousBodyStyleAttribute?document.body.setAttribute("style",this.state.previousBodyStyleAttribute):document.body.removeAttribute("style"),document.body.style.top=null!==(e=this.state.previousStyle?.top)&&void 0!==e?e:"",document.body.style.left=null!==(t=this.state.previousStyle?.left)&&void 0!==t?t:"",document.body.style.right=null!==(r=this.state.previousStyle?.right)&&void 0!==r?r:"",document.documentElement.style.scrollBehavior="revert",this.state.bodyScrollTop>0&&window.scrollTo(0,this.state.bodyScrollTop),document.documentElement.style.scrollBehavior=null!==(s=this.state.previousStyle?.scrollBehavior)&&void 0!==s?s:"",this.setState({bodyScrollTop:0,previousStyle:null,previousBodyStyleAttribute:""})}render(){return null}}},1295:function(e,t,r){var s=r(7538),n=r.n(s),i=r(5151),a=r(5736);const __=a.__;class o extends i.wA{needsOffset(e,t){return["gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGTitle(e){if("title"in this.props)return this.props.title?i.ZP.createElement("title",null,this.props.title):null;switch(e){default:return null;case"gridicons-audio":return i.ZP.createElement("title",null,__("Has audio.","jetpack"));case"gridicons-calendar":return i.ZP.createElement("title",null,__("Is an event.","jetpack"));case"gridicons-cart":return i.ZP.createElement("title",null,__("Is a product.","jetpack"));case"chevron-down":return i.ZP.createElement("title",null,__("Show filters","jetpack"));case"gridicons-comment":return i.ZP.createElement("title",null,__("Matching comment.","jetpack"));case"gridicons-cross":return i.ZP.createElement("title",null,__("Close search results","jetpack"));case"gridicons-filter":return i.ZP.createElement("title",null,__("Toggle search filters.","jetpack"));case"gridicons-folder":return i.ZP.createElement("title",null,__("Category","jetpack"));case"gridicons-image-multiple":return i.ZP.createElement("title",null,__("Has multiple images.","jetpack"));case"gridicons-image":return i.ZP.createElement("title",null,__("Has an image.","jetpack"));case"gridicons-page":return i.ZP.createElement("title",null,__("Page","jetpack"));case"gridicons-post":return i.ZP.createElement("title",null,__("Post","jetpack"));case"gridicons-jetpack-search":case"gridicons-search":return i.ZP.createElement("title",null,__("Search","jetpack"));case"gridicons-tag":return i.ZP.createElement("title",null,__("Tag","jetpack"));case"gridicons-video":return i.ZP.createElement("title",null,__("Has a video.","jetpack"))}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return i.ZP.createElement("g",null,i.ZP.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-block":return i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.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-chevron-down":return i.ZP.createElement("g",null,i.ZP.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return i.ZP.createElement("g",null,i.ZP.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-cross":return i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.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-jetpack-search":return i.ZP.createElement("g",null,i.ZP.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-pages":return i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.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 i.ZP.createElement("g",null,i.ZP.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"}))}}render(){const{size:e=24,className:t=""}=this.props,r=this.props.height||e,s=this.props.width||e,n=this.props.style||{height:r,width:s},a="gridicons-"+this.props.icon;let o=["gridicon",a,t];return this.needsOffset(a,e)&&o.push("needs-offset"),o=o.join(" "),i.ZP.createElement("svg",{className:o,focusable:this.props.focusable,height:r,onClick:this.props.onClick,style:n,viewBox:"0 0 24 24",width:s,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},this.getSVGTitle(a),this.renderIcon(a))}}n()(o,"defaultProps",{"aria-hidden":"false",focusable:"true"}),t.Z=o},1429:function(e,t,r){var s=r(5151),n=r(5736);const __=n.__,i="#fff",a=s.ZP.createElement("svg",{className:"jetpack-instant-search__jetpack-colophon-logo",height:12,width:12,viewBox:"0 0 32 32"},s.ZP.createElement("path",{className:"jetpack-logo__icon-circle",fill:"#069e08",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),s.ZP.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:i,points:"15,19 7,19 15,3 "}),s.ZP.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:i,points:"17,29 17,13 25,13 "}));t.Z=e=>{const t="string"==typeof e.locale?e.locale.split("-",1)[0]:null,r=t&&"en"!==t?"https://"+t+".jetpack.com/search?utm_source=poweredby":"https://jetpack.com/search?utm_source=poweredby";return s.ZP.createElement("div",{className:"jetpack-instant-search__jetpack-colophon"},s.ZP.createElement("a",{href:r,rel:"external noopener noreferrer nofollow",target:"_blank",className:"jetpack-instant-search__jetpack-colophon-link"},a,s.ZP.createElement("span",{className:"jetpack-instant-search__jetpack-colophon-text"},__("Search powered by Jetpack","jetpack"))))}},3660:function(e,t,r){var s=r(5151),n=r(1295);t.Z=e=>{let{type:t,children:r}=e;return"warning"!==t?null:s.ZP.createElement("div",{className:"jetpack-instant-search__notice jetpack-instant-search__notice--warning"},s.ZP.createElement(n.Z,{icon:"info",size:20}),r)}},1808:function(e,t,r){var s=r(5736),n=r(5151),i=r(9532);const __=s.__;t.Z=e=>{const{children:t,closeOverlay:r,colorTheme:s,hasOverlayWidgets:a,isVisible:o}=e,l=(c=r,e=>{"Escape"!==e.key&&"Esc"!==e.key||(e.preventDefault(),c())});var c;return(0,n.d4)((()=>(window.addEventListener("keydown",l),()=>{window.removeEventListener("keydown",l)})),[l]),n.ZP.createElement("div",{"aria-hidden":!o,"aria-labelledby":"jetpack-instant-search__overlay-title",className:["jetpack-instant-search",i.zg,`jetpack-instant-search__overlay--${s}`,a?"":"jetpack-instant-search__overlay--no-sidebar",o?"":"is-hidden"].join(" "),role:"dialog"},n.ZP.createElement("h1",{id:"jetpack-instant-search__overlay-title",className:"screen-reader-text"},__("Search results","jetpack")),t)}},6941:function(e,t,r){var s=r(5151);t.Z=e=>{let{className:t,onClick:r,url:n}=e;const i=function(e){const t=e.split("/").filter((e=>e.length>0));return t.shift(),t}(n);return i.length<1?null:s.ZP.createElement("div",{className:`jetpack-instant-search__path-breadcrumb ${t||""}`},s.ZP.createElement("a",{className:"jetpack-instant-search__path-breadcrumb-link",href:`//${n}`,onClick:r},i.map(((e,t,r)=>s.ZP.createElement("span",{className:"jetpack-instant-search__path-breadcrumb-piece"},decodeURIComponent(e),t!==r.length-1?" › ":"")))))}},7979:function(e,t,r){var s=r(9183),n=r.n(s),i=r(5151),a=r(7802);t.Z=e=>{const{alt:t,isPhotonEnabled:r,maxHeight:s=600,maxWidth:o=600,src:l,lazyLoad:c=!0,...p}=e,u=(0,i.sO)(),[h,d]=(0,i.eJ)(null),m=(0,a.y)(l,o,s,r);return(0,i.d4)((()=>{if(!m)return;let e=null;return c&&"IntersectionObserver"in window?(e=new window.IntersectionObserver(((e,t)=>{for(const r of e)r.isIntersecting&&(d(m),t.unobserve(r.target))})),e.observe(u.current)):d(m),()=>{e?.disconnect()}}),[c,m]),i.ZP.createElement("img",n()({alt:t,ref:u,src:h},p))}},1208:function(e,t,r){var s=r(5151),n=r(1295),i=r(7135);const a=["youtube","ooyala","anvplayer","wpvideo","bc_video","video","brightcove","tp_video","jwplayer","tempo-video","vimeo"],o=["gallery","ione_media_gallery"],l=["audio","soundcloud"],c={product:"cart",video:"video",gallery:"image-multiple",event:"calendar",events:"calendar"};t.Z=e=>{let{postType:t,shortcodeTypes:r,iconSize:p=18}=e;if(Object.keys(c).includes(t))return s.ZP.createElement(n.Z,{icon:c[t],size:p});const u=(0,i.Z)(r,a),h=(0,i.Z)(r,l),d=(0,i.Z)(r,o);return u?s.ZP.createElement(n.Z,{icon:"video",size:p}):h?s.ZP.createElement(n.Z,{icon:"audio",size:p}):"page"===t?s.ZP.createElement(n.Z,{icon:"pages",size:p}):d?s.ZP.createElement(n.Z,{icon:"image-multiple",size:p}):null}},9592:function(e,t,r){var s=r(5151);class n extends s.wA{render(){const{formattedPrice:e,formattedSalePrice:t,formattedRegularPrice:r,price:n,salePrice:i}=this.props;return n?s.ZP.createElement("span",{className:"jetpack-instant-search__product-price"},i>0?s.ZP.createElement(s.HY,null,s.ZP.createElement("s",{className:"jetpack-instant-search__product-price-regular",dangerouslySetInnerHTML:{__html:r}}),s.ZP.createElement("span",{dangerouslySetInnerHTML:{__html:t}})):s.ZP.createElement("span",{dangerouslySetInnerHTML:{__html:e}})):null}}t.Z=n},7265:function(e,t,r){r.d(t,{Z:function(){return a}});var s=r(5736),n=r(5151),i=r(1295);const _n=s._n;function a(e){let{rating:t=0,count:r=0,permalink:a}=e;return n.ZP.createElement("div",{className:"jetpack-instant-search__product-rating"},n.ZP.createElement("span",{"aria-hidden":!0,className:"jetpack-instant-search__product-rating-stars"},Array(5).fill(n.ZP.createElement(i.Z,{size:16,icon:"star-outline"})).fill(n.ZP.createElement(i.Z,{size:16,icon:"star"}),0,t))," ",n.ZP.createElement("a",{"aria-hidden":!0,className:"jetpack-instant-search__product-rating-count",href:a+"#reviews"},(0,s.sprintf)(
-/* Translators: the placeholder is the number of product reviews. */
-_n("%d review","%d reviews",r,"jetpack"),r)),n.ZP.createElement("span",{className:"screen-reader-text"},(0,s.sprintf)(
-/* Translators: the first placeholder is the average product rating out of 5; the second is the number of product reviews. */
-_n("Average rating of %1$d out of 5 from %2$d review.","Average rating of %1$d out of 5 from %2$d reviews.",r,"jetpack"),Number(t).toFixed(2),r)))}},9534:function(e,t,r){var s=r(7538),n=r.n(s),i=r(5151),a=r(5736),o=r(5034),l=r.n(o),c=r(9532);const __=a.__;class p extends i.wA{constructor(){super(...arguments),n()(this,"overlayElement",document.getElementsByClassName(c.zg)[0]),n()(this,"checkScroll",l()((()=>{this.props.enableLoadOnScroll&&window.innerHeight+this.overlayElement.scrollTop>=this.overlayElement.scrollHeight&&this.props.onLoadNextPage()}),100))}componentDidMount(){this.overlayElement.addEventListener("scroll",this.checkScroll)}componentDidUnmount(){this.overlayElement.removeEventListener("scroll",this.checkScroll)}render(){return i.ZP.createElement("button",{className:"jetpack-instant-search__scroll-button",disabled:this.props.isLoading,onClick:this.props.onLoadNextPage},this.props.isLoading?i.ZP.createElement("span",null,__("Loading…","jetpack")):i.ZP.createElement("span",null,__("Load more","jetpack")))}}t.Z=p},9661:function(e,t,r){var s=r(7538),n=r.n(s),i=r(5151),a=r(5034),o=r.n(a),l=r(2620),c=r(8027),p=r.n(c),u=r(3130),h=r(3703),d=r(1808),m=r(5031),g=r(6546),_=r(9532),f=r(2168),y=r(6669),v=r(7283),E=r(341);class k extends i.wA{constructor(){var e;super(...arguments),e=this,n()(this,"getResultFormat",(()=>{const e=(0,y.ug)();return this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==_.Bk?_.Pz:e||this.state.overlayOptions.resultFormat})),n()(this,"initializeStaticFilters",(()=>{const e=(0,f.bA)();e.length>0&&0===Object.keys(this.props.staticFilters).length&&e.forEach((e=>this.props.setStaticFilter(e.filter_id,e.selected,!0)))})),n()(this,"hideResults",(e=>{this.props.shouldIntegrateWithDom&&(0,y.Q0)(this.props.initialHref,(()=>{this.setState({isVisible:!1}),this.props.clearQueryValues()}),e)})),n()(this,"toggleResults",(e=>{this.props.shouldIntegrateWithDom&&this.state.isVisible!==e&&(e&&this.initializeStaticFilters(),this.setState({isVisible:e}))})),n()(this,"showResults",this.toggleResults.bind(this,!0)),n()(this,"onChangeQueryString",(e=>{this.getResults(),this.props.hasActiveQuery&&!this.state.isVisible&&this.showResults(),!this.props.hasActiveQuery&&e&&this.hideResults(e),null!==this.props.searchQuery&&document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.value=this.props.searchQuery}))})),n()(this,"loadNextPage",(()=>{this.props.hasNextPage&&this.getResults({pageHandle:this.props.response.page_handle})})),n()(this,"getResults",(function(){let{pageHandle:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.props.makeSearchRequest({aggregations:t?{}:e.props.aggregations,excludedPostTypes:e.state.overlayOptions.excludedPostTypes,filter:e.props.filters,staticFilters:e.props.staticFilters,pageHandle:t,query:e.props.searchQuery,resultFormat:e.getResultFormat(),siteId:e.props.options.siteId,sort:e.props.sort,postsPerPage:e.props.options.postsPerPage,adminQueryFilter:e.props.options.adminQueryFilter,isInCustomizer:e.props.isInCustomizer})})),n()(this,"updateOverlayOptions",((e,t)=>{this.setState((t=>({overlayOptionsCustomizerOverride:{...t.overlayOptionsCustomizerOverride,...e}})),t)})),this.state={isVisible:!!this.props.initialIsVisible,overlayOptionsCustomizerOverride:{}},this.getResults=o()(this.getResults,200),this.props.enableAnalytics?this.initializeAnalytics():(0,g.IJ)(),this.props.shouldIntegrateWithDom?this.props.initializeQueryValues():this.props.disableQueryStringIntegration()}static getDerivedStateFromProps(e,t){return{overlayOptions:{...e.overlayOptions,...t.overlayOptionsCustomizerOverride}}}componentDidMount(){this.getResults(),this.props.hasActiveQuery&&this.showResults()}componentDidUpdate(e,t){e.searchQuery===this.props.searchQuery&&e.sort===this.props.sort&&p()(e.filters)===p()(this.props.filters)&&p()(e.staticFilters)===p()(this.props.staticFilters)||this.onChangeQueryString(this.props.isHistoryNavigation),t.overlayOptions.defaultSort!==this.state.overlayOptions.defaultSort&&this.props.setSort(this.state.overlayOptions.defaultSort),p()(t.overlayOptions.excludedPostTypes)!==p()(this.state.overlayOptions.excludedPostTypes)&&this.getResults()}initializeAnalytics(){(0,g.tU)(),(0,g.vy)(),(0,g.AM)(this.props.options.siteId)}render(){const e=this.getResultFormat(),t=this.props.shouldCreatePortal?i.jz:e=>e;return i.ZP.createElement(i.HY,null,this.props.isInCustomizer&&i.ZP.createElement(u.Z,{showResults:this.showResults,toggleResults:this.toggleResults,updateOverlayOptions:this.updateOverlayOptions}),this.props.shouldIntegrateWithDom&&i.ZP.createElement(h.Z,{initializeQueryValues:this.props.initializeQueryValues,isVisible:this.state.isVisible,overlayOptions:this.state.overlayOptions,setFilter:this.props.setFilter,setSearchQuery:this.props.setSearchQuery,showResults:this.showResults,themeOptions:this.props.themeOptions}),t(i.ZP.createElement(d.Z,{closeColor:this.state.overlayOptions.closeColor,closeOverlay:this.hideResults,colorTheme:this.state.overlayOptions.colorTheme,hasOverlayWidgets:this.props.hasOverlayWidgets,isVisible:this.state.isVisible},i.ZP.createElement(m.Z,{closeOverlay:this.hideResults,enableLoadOnScroll:this.state.overlayOptions.enableInfScroll,enableSort:this.state.overlayOptions.enableSort,filters:this.props.filters,staticFilters:this.props.staticFilters,hasError:this.props.hasError,hasNextPage:this.props.hasNextPage,highlightColor:this.state.overlayOptions.highlightColor,isLoading:this.props.isLoading,isPhotonEnabled:this.props.options.isPhotonEnabled,isPrivateSite:this.props.options.isPrivateSite,isVisible:this.state.isVisible,locale:this.props.options.locale,onChangeSearch:this.props.setSearchQuery,onChangeSort:this.props.setSort,onLoadNextPage:this.loadNextPage,overlayTrigger:this.state.overlayOptions.overlayTrigger,postTypes:this.props.options.postTypes,response:this.props.response,resultFormat:e,searchQuery:this.props.searchQuery,showPoweredBy:this.state.overlayOptions.showPoweredBy,sort:this.props.sort,widgets:this.props.options.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay,hasNonSearchWidgets:this.props.options.hasNonSearchWidgets})),document.body))}}n()(k,"defaultProps",{overlayOptions:{},widgets:[]}),t.Z=(0,l.$j)(((e,t)=>({filters:(0,E.Zj)(e),staticFilters:(0,E.Bk)(e),hasActiveQuery:(0,E.en)(e),hasError:(0,E.xT)(e),isHistoryNavigation:(0,E.wI)(e),hasNextPage:(0,E.Qy)(e),isLoading:(0,E.hg)(e),response:(0,E.ck)(e),searchQuery:(0,E.uP)(e),sort:(0,E.r$)(e,t.overlayOptions.defaultSort),widgetOutsideOverlay:(0,E.ZN)(e)})),{clearQueryValues:v.Mz,disableQueryStringIntegration:v.OZ,initializeQueryValues:v.Ln,makeSearchRequest:v.x1,setStaticFilter:v.O1,setFilter:v.Tv,setSearchQuery:v.ql,setSort:v.HD})(k)},2957:function(e,t,r){var s=r(5151),n=r(5736),i=r(660),a=r.n(i),o=r(1295);const __=n.__;let l=null;t.Z=e=>{var t;const[r]=(0,s.eJ)((()=>a()("jetpack-instant-search__box-input-"))),n=(0,s.sO)(null);return(0,s.d4)((()=>{var t;e.isVisible?(t=n.current,()=>{l=document.activeElement,t.focus()})():e.shouldRestoreFocus&&l&&l.focus()}),[e.isVisible,e.shouldRestoreFocus]),s.ZP.createElement(s.HY,null,s.ZP.createElement("div",{className:"jetpack-instant-search__box"},s.ZP.createElement("label",{className:"jetpack-instant-search__box-label",htmlFor:r},s.ZP.createElement("span",{className:"screen-reader-text assistive-text"},__("Site Search","jetpack")),s.ZP.createElement("div",{className:"jetpack-instant-search__box-gridicon"},s.ZP.createElement(o.Z,{icon:"search",size:24})),s.ZP.createElement("input",{autoComplete:"off",id:r,className:"search-field jetpack-instant-search__box-input",inputMode:"search",onChange:e.isVisible?e.onChange:null,ref:n,placeholder:__("Search…","jetpack"),type:"search",value:null!==(t=e.searchQuery)&&void 0!==t?t:""}),"string"==typeof e.searchQuery&&e.searchQuery.length>0&&
-/* Translators: Button is used to clear the search input query. */
-s.ZP.createElement("input",{type:"button",value:__("clear","jetpack"),onClick:e.onClear}),s.ZP.createElement("button",{className:"screen-reader-text assistive-text"},__("Search","jetpack")))))}},6536:function(e,t,r){var s=r(5151),n=r(649);t.Z=e=>s.ZP.createElement("div",{className:"jetpack-instant-search__search-form-controls"},e.children,e.enableSort&&s.ZP.createElement(n.Z,{onChange:e.onChangeSort,resultFormat:e.resultFormat,value:e.sort}))},7287:function(e,t,r){r.d(t,{a:function(){return u},Z:function(){return h}});var s=r(7538),n=r.n(s),i=r(5151),a=r(7078),o=r.n(a),l=r(660),c=r.n(l),p=r(8931);const u=e=>e.split(" ").join("T");class h extends i.wA{constructor(){super(...arguments),n()(this,"filtersList",(0,i.Vf)()),n()(this,"idPrefix",c()("jetpack-instant-search__search-filter-")),n()(this,"toggleFilter",(()=>{this.props.onChange(this.getIdentifier(),(0,p.b)(this.filtersList.current))})),n()(this,"toggleStaticFilter",(e=>{this.props.onChange(this.getIdentifier(),e.target.value)})),n()(this,"renderDate",(e=>{let{key_as_string:t,doc_count:r}=e;const{locale:s="en-US"}=this.props;return i.ZP.createElement("div",null,i.ZP.createElement("input",{checked:this.isChecked(t),disabled:!this.isChecked(t)&&0===r,id:`${this.idPrefix}-dates-${this.getIdentifier()}-${t}`,name:t,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i.ZP.createElement("label",{htmlFor:`${this.idPrefix}-dates-${this.getIdentifier()}-${t}`,className:"jetpack-instant-search__search-filter-list-label"},new Date(u(t)).toLocaleString(s,function(e){switch(e){case"day":return{year:"numeric",month:"long",day:"numeric"};case"month":return{year:"numeric",month:"long"};case"year":return{year:"numeric"}}return{year:"numeric",month:"long"}}(this.props.configuration.interval))," ","(",r,")"))})),n()(this,"renderPostType",(e=>{let{key:t,doc_count:r}=e;const s=t in this.props.postTypes?this.props.postTypes[t].singular_name:t;return i.ZP.createElement("div",null,i.ZP.createElement("input",{checked:this.isChecked(t),disabled:!this.isChecked(t)&&0===r,id:`${this.idPrefix}-post-types-${t}`,name:t,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i.ZP.createElement("label",{htmlFor:`${this.idPrefix}-post-types-${t}`,className:"jetpack-instant-search__search-filter-list-label"},o()(s)," (",r,")"))})),n()(this,"renderTaxonomy",(e=>{let{key:t,doc_count:r}=e;const[s,n]=t&&t.split(/\/(.+)/);return i.ZP.createElement("div",null,i.ZP.createElement("input",{checked:this.isChecked(s),disabled:!this.isChecked(s)&&0===r,id:`${this.idPrefix}-taxonomies-${s}`,name:s,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i.ZP.createElement("label",{htmlFor:`${this.idPrefix}-taxonomies-${s}`,className:"jetpack-instant-search__search-filter-list-label"},o()(n)," (",r,")"))})),n()(this,"renderGroup",(e=>i.ZP.createElement("div",null,i.ZP.createElement("input",{checked:this.isChecked(e.value),id:`${this.idPrefix}-groups-${e.value}`,name:this.props.configuration.filter_id,onChange:this.toggleStaticFilter,value:e.value,type:"radio",className:"jetpack-instant-search__search-filter-list-input"}),i.ZP.createElement("label",{htmlFor:`${this.idPrefix}-groups-${e.value}`,className:"jetpack-instant-search__search-filter-list-label"},e.name))))}getIdentifier(){return"postType"===this.props.type?"post_types":"date"===this.props.type?`${this.props.configuration.interval}_${this.props.configuration.field}`:"taxonomy"===this.props.type?this.props.configuration.taxonomy:"group"===this.props.type?this.props.configuration.filter_id:void 0}isChecked(e){return Boolean(this.props.value&&this.props.value.includes(e))}renderDates(){return[...this.props.aggregation.buckets.filter((e=>!!e)).map(this.renderDate)].reverse().slice(0,this.props.configuration.count)}renderPostTypes(){return this.props.aggregation.buckets.map(this.renderPostType)}renderTaxonomies(){return this.props.aggregation.buckets.map(this.renderTaxonomy)}renderGroups(){return this.props.configuration.values.map(this.renderGroup)}render(){return i.ZP.createElement("div",null,i.ZP.createElement("h4",{className:"jetpack-instant-search__search-filter-sub-heading"},this.props.configuration.name),i.ZP.createElement("div",{ref:this.filtersList},i.ZP.createElement("div",{className:"jetpack-instant-search__search-filter-list jetpack-instant-search__search-static-filter-list"},"group"===this.props.type&&this.renderGroups()),this.props.aggregation&&"buckets"in this.props.aggregation&&i.ZP.createElement("div",{className:"jetpack-instant-search__search-filter-list"},"date"===this.props.type&&this.renderDates(),"postType"===this.props.type&&this.renderPostTypes(),"taxonomy"===this.props.type&&this.renderTaxonomies())))}}},2360:function(e,t,r){var s=r(7538),n=r.n(s),i=r(5151),a=r(5736),o=r(2620),l=r(7287),c=r(2168),p=r(7283),u=r(6546);const __=a.__;class h extends i.wA{constructor(){super(...arguments),n()(this,"onChangeFilter",((e,t)=>{this.props.setFilter(e,t),this.props.onChange&&this.props.onChange()})),n()(this,"onChangeStaticFilter",((e,t)=>{(0,u.GE)({filterName:e,filterValue:t}),this.props.setStaticFilter(e,t),this.props.onChange&&this.props.onChange()})),n()(this,"onClearFilters",(e=>{e.preventDefault(),"click"!==e.type&&("keydown"!==e.type||"Enter"!==e.key&&" "!==e.key)||(this.props.clearFilters(),this.props.onChange&&this.props.onChange())})),n()(this,"renderFilterComponent",(e=>{let{configuration:t,results:r}=e;return r&&i.ZP.createElement(l.Z,{aggregation:r,configuration:t,locale:this.props.locale,onChange:this.onChangeFilter,postTypes:this.props.postTypes,type:(0,c.jc)(t),value:this.props.filters[(0,c.jZ)(t)]})})),n()(this,"renderStaticFilterComponent",(e=>e.hasOwnProperty("visible")&&!e.visible?null:i.ZP.createElement(l.Z,{aggregation:[],configuration:e,locale:this.props.locale,onChange:this.onChangeStaticFilter,postTypes:this.props.postTypes,type:(0,c.jc)(e),value:this.props.staticFilters[(0,c.jZ)(e)]})))}hasActiveFilters(){return Object.keys(this.props.filters).length>0}render(){if(!this.props.widget)return null;const e=(0,c.bA)(),t=this.props.results?.aggregations;return i.ZP.createElement("div",{className:"jetpack-instant-search__search-filters"},this.props.showTitle&&i.ZP.createElement("div",{className:"jetpack-instant-search__search-filters-title"},__("Filter options","jetpack")),this.props.showClearFiltersButton&&this.hasActiveFilters()&&i.ZP.createElement("a",{class:"jetpack-instant-search__clear-filters-link",href:"#",onClick:this.onClearFilters,onKeyDown:this.onClearFilters,role:"button",tabIndex:"0"},__("Clear filters","jetpack")),this.props.widget?.filters&&this.props.widget.filters.length>0&&e.map(this.renderStaticFilterComponent),this.props.widget?.filters?.map((e=>t?{configuration:e,results:t[e.filter_id]}:null)).filter((e=>!!e)).filter((e=>{let{results:t}=e;return!!t&&Array.isArray(t.buckets)&&t.buckets.length>0})).map(this.renderFilterComponent))}}n()(h,"defaultProps",{showClearFiltersButton:!0,showTitle:!0}),t.Z=(0,o.$j)(null,{clearFilters:p.K5,setFilter:p.Tv,setStaticFilter:p.O1})(h)},6268:function(e,t,r){var s=r(7538),n=r.n(s),i=r(5151),a=r(2957);const o=e=>e.preventDefault();class l extends i.wA{constructor(){super(...arguments),n()(this,"onClear",(()=>this.props.onChangeSearch(""))),n()(this,"onChangeSearch",(e=>this.props.onChangeSearch(e.currentTarget.value)))}render(){return i.ZP.createElement("form",{autocomplete:"off",onSubmit:o,role:"search",className:this.props.className},i.ZP.createElement("div",{className:"jetpack-instant-search__search-form"},i.ZP.createElement(a.Z,{isVisible:this.props.isVisible,onChange:this.onChangeSearch,onClear:this.onClear,shouldRestoreFocus:!0,searchQuery:this.props.searchQuery})))}}t.Z=l},6034:function(e,t,r){var s=r(5151),n=r(1295);t.Z=e=>{let{comments:t,iconSize:r=18}=e;return t?s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-comments"},s.ZP.createElement(n.Z,{icon:"comment",size:r}),s.ZP.createElement("span",{className:"jetpack-instant-search__search-result-comments-text",dangerouslySetInnerHTML:{__html:t.join(" ... ")}})):null}},8424:function(e,t,r){r.d(t,{Z:function(){return l}});var s=r(5151),n=r(6941),i=r(7979),a=r(6034),o=r(7287);function l(e){const{isMultiSite:t,locale:r="en-US"}=e,{result_type:l,fields:c,highlight:p}=e.result;if("post"!==l)return null;const u=Array.isArray(c["image.url.raw"])?c["image.url.raw"][0]:c["image.url.raw"];return s.ZP.createElement("li",{className:["jetpack-instant-search__search-result","jetpack-instant-search__search-result-expanded",`jetpack-instant-search__search-result-expanded--${c.post_type}`,u?"":"jetpack-instant-search__search-result-expanded--no-image",t?"is-multisite":""].join(" ")},s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-expanded__content-container"},s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-expanded__copy-container"},s.ZP.createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-expanded__title"},s.ZP.createElement("a",{className:"jetpack-instant-search__search-result-title-link jetpack-instant-search__search-result-expanded__title-link",href:`//${c["permalink.url.raw"]}`,onClick:e.onClick,dangerouslySetInnerHTML:{__html:p.title}})),!t&&s.ZP.createElement(n.Z,{className:"jetpack-instant-search__search-result-expanded__path",onClick:e.onClick,url:`//${c["permalink.url.raw"]}`}),s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-expanded__content",dangerouslySetInnerHTML:{__html:p.content.join(" ... ")}}),p.comments&&s.ZP.createElement(a.Z,{comments:p.comments})),s.ZP.createElement("a",{className:"jetpack-instant-search__search-result-expanded__image-link",href:`//${c["permalink.url.raw"]}`,onClick:e.onClick},s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-expanded__image-container"},u?s.ZP.createElement(i.Z,{alt:c["title.default"],className:"jetpack-instant-search__search-result-expanded__image",isPhotonEnabled:e.isPhotonEnabled,src:`//${u}`}):null))),t&&s.ZP.createElement("ul",{className:"jetpack-instant-search__search-result-expanded__footer"},s.ZP.createElement("li",null,s.ZP.createElement(i.Z,{alt:c.blog_name,className:"jetpack-instant-search__search-result-expanded__footer-blog-image",isPhotonEnabled:!1,height:24,width:24,src:c.blog_icon_url,lazyLoad:!1}),s.ZP.createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-blog"},c.blog_name)),s.ZP.createElement("li",null,s.ZP.createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-author"},c.author)),s.ZP.createElement("li",null,s.ZP.createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-date"},new Date((0,o.a)(c.date)).toLocaleDateString(r,{year:"numeric",month:"short",day:"numeric"})))))}},7165:function(e,t,r){var s=r(5151),n=r(1295),i=r(6941),a=r(1208),o=r(6034);class l extends s.wA{getIconSize(){return 18}getTags(){let e=this.props.result.fields["tag.name.default"];return e?(Array.isArray(e)||(e=[e]),e.slice(0,5)):[]}getCategories(){let e=this.props.result.fields["category.name.default"];return e?(Array.isArray(e)||(e=[e]),e.slice(0,5)):[]}renderNoMatchingContent(){const e=this.getTags(),t=this.getCategories(),r=0===e.length&&0===t.length;return s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-minimal-content"},r&&s.ZP.createElement(i.Z,{url:this.props.result.fields["permalink.url.raw"]}),s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-minimal-cats-and-tags"},0!==e.length&&s.ZP.createElement("ul",{className:"jetpack-instant-search__search-result-minimal-tags"},e.map((e=>s.ZP.createElement("li",{className:"jetpack-instant-search__search-result-minimal-tag"},s.ZP.createElement(n.Z,{icon:"tag",size:this.getIconSize()}),s.ZP.createElement("span",{className:"jetpack-instant-search__search-result-minimal-tag-text"},e))))),0!==t.length&&s.ZP.createElement("ul",{className:"jetpack-instant-search__search-result-minimal-cats"},t.map((e=>s.ZP.createElement("li",{className:"jetpack-instant-search__search-result-minimal-cat"},s.ZP.createElement(n.Z,{icon:"folder",size:this.getIconSize()}),s.ZP.createElement("span",{className:"jetpack-instant-search__search-result-minimal-cat-text"},e)))))))}renderMatchingContent(){return s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-minimal-content",dangerouslySetInnerHTML:{__html:this.props.result.highlight.content.join(" ... ")}})}render(){const{result_type:e,fields:t,highlight:r}=this.props.result;if("post"!==e)return null;const n=!r.content||""===r.content[0];return s.ZP.createElement("li",{className:"jetpack-instant-search__search-result jetpack-instant-search__search-result-minimal"},s.ZP.createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-minimal-title"},s.ZP.createElement(a.Z,{postType:t.post_type,shortcodeTypes:t.shortcode_types}),s.ZP.createElement("a",{className:"jetpack-instant-search__search-result-title-link jetpack-instant-search__search-result-minimal-title-link",href:`//${t["permalink.url.raw"]}`,onClick:this.props.onClick,dangerouslySetInnerHTML:{__html:r.title}})),n?this.renderNoMatchingContent():this.renderMatchingContent(),s.ZP.createElement(o.Z,{comments:r&&r.comments}))}}t.Z=l},1828:function(e,t,r){var s=r(5151),n=r(5736),i=r(1295),a=r(7979),o=r(7265),l=r(9592);const __=n.__;class c extends s.wA{render(){const{result_type:e,fields:t,highlight:r}=this.props.result;if("post"!==e)return null;const n=Array.isArray(t["image.url.raw"])?t["image.url.raw"][0]:t["image.url.raw"],c=Array.isArray(r.title)&&r.title[0].length>0?r.title[0]:__("No title","jetpack"),p="string"==typeof this.props.searchQuery&&""!==this.props.searchQuery.trim(),u=c.includes("<mark>"),h=p&&!u&&Array.isArray(r.content)&&r.content[0]?.length>0;return s.ZP.createElement("li",{className:"jetpack-instant-search__search-result jetpack-instant-search__search-result-product"},s.ZP.createElement("a",{className:"jetpack-instant-search__search-result-product-img-link",href:`//${t["permalink.url.raw"]}`,onClick:this.props.onClick},s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-product-img-container "+(n?"":"jetpack-instant-search__search-result-product-img-container--placeholder")},n?s.ZP.createElement(a.Z,{alt:t["title.default"],className:"jetpack-instant-search__search-result-product-img",isPhotonEnabled:this.props.isPhotonEnabled,src:`//${n}`}):s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-product-img"},s.ZP.createElement(i.Z,{icon:"block",style:{}}),s.ZP.createElement(i.Z,{icon:"image",style:{},title:__("Does not have an image","jetpack")})))),s.ZP.createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-product-title"},s.ZP.createElement("a",{className:"jetpack-instant-search__search-result-title-link",href:`//${t["permalink.url.raw"]}`,onClick:this.props.onClick,dangerouslySetInnerHTML:{__html:c}})),s.ZP.createElement(l.Z,{price:t["wc.price"],salePrice:t["wc.sale_price"],formattedPrice:t["wc.formatted_price"],formattedRegularPrice:t["wc.formatted_regular_price"],formattedSalePrice:t["wc.formatted_sale_price"]}),!!t["meta._wc_average_rating.double"]&&s.ZP.createElement(o.Z,{count:t["meta._wc_review_count.long"],rating:t["meta._wc_average_rating.double"],permalink:`//${t["permalink.url.raw"]}`}),h&&s.ZP.createElement("div",{className:"jetpack-instant-search__search-result-product-match"},s.ZP.createElement("mark",null,s.ZP.createElement(i.Z,{icon:"search",style:{},title:!1}),s.ZP.createElement("span",null,"comment"in r?__("Matches comments","jetpack"):__("Matches content","jetpack",0)))))}}t.Z=c},6072:function(e,t,r){var s=r(9183),n=r.n(s),i=r(7538),a=r.n(i),o=r(5151),l=r(7165),c=r(8424),p=r(1828),u=r(6546),h=r(9532);class d extends o.wA{constructor(){super(...arguments),a()(this,"onClick",(()=>{this.props.railcar&&(0,u.Lo)({...this.getCommonTrainTracksProps(),action:"click"})}))}componentDidMount(){this.props.railcar&&(0,u.Sn)(this.getCommonTrainTracksProps())}componentDidUpdate(e){this.props.railcar!==e.railcar&&this.props.railcar&&(0,u.Sn)(this.getCommonTrainTracksProps())}getCommonTrainTracksProps(){return{fetch_algo:this.props.railcar.fetch_algo,fetch_position:this.props.railcar.fetch_position,fetch_query:this.props.railcar.fetch_query,railcar:this.props.railcar.railcar,rec_blog_id:this.props.railcar.rec_blog_id,rec_post_id:this.props.railcar.rec_post_id,session_id:this.props.railcar.session_id,ui_algo:"jetpack-instant-search-ui/v1",ui_position:this.props.index}}render(){if(this.props.resultFormat===h.LI)return o.ZP.createElement(p.Z,n()({onClick:this.onClick},this.props));if(this.props.resultFormat===h.Pz){const e=this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==h.Bk;return o.ZP.createElement(c.Z,n()({onClick:this.onClick},this.props,{isMultiSite:e}))}return o.ZP.createElement(l.Z,n()({onClick:this.onClick},this.props))}}t.Z=d},5031:function(e,t,r){var s=r(7538),n=r.n(s),i=r(5736),a=r(5151),o=r(1295),l=r(3660),c=r(9534),p=r(6536),u=r(6268),h=r(6072),d=r(6068),m=r(4592),g=r(2168),_=r(9532);const f=i.__,y=i._n,__=f,_n=y;class v extends a.wA{constructor(){super(...arguments),n()(this,"state",{shouldShowMobileSecondary:!1}),n()(this,"toggleMobileSecondary",(e=>{"click"!==e.type&&("keydown"!==e.type||"Enter"!==e.key&&" "!==e.key)||(" "===e.key&&e.preventDefault(),this.setState((e=>({shouldShowMobileSecondary:!e.shouldShowMobileSecondary}))))})),n()(this,"closeOverlay",(e=>{e.preventDefault(),this.props.closeOverlay()})),n()(this,"onKeyPressHandler",(e=>{"Enter"===e.key&&(e.preventDefault(),this.props.closeOverlay())}))}hasFilterOptions(){let e=[...this.props.widgets];return this.props.widgetOutsideOverlay?.filters?.length>0&&(e=[this.props.widgetOutsideOverlay,...e]),e.length>0}getSearchTitle(){const{total:e=0,corrected_query:t=!1}=this.props.response,r=""!==this.props.searchQuery,s=!1!==t,n=(new Intl.NumberFormat).format(e),a=this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==_.Bk;if(this.props.isLoading)return r?__("Searching…","jetpack",0):__("Loading popular results…","jetpack");if(0===e||this.props.hasError)return __("No results found","jetpack");if(r&&s)return(0,i.sprintf)(
-/* translators: %1$s: number of results. %2$s: the corrected search query. */
-_n('Found %1$s result for "%2$s"','Found %1$s results for "%2$s"',e,"jetpack"),n,t);if(a){const t=(0,g.bA)().filter((e=>"group_id"===e.filter_id)),r=1===t.length&&t[0].values?t[0].values.filter((e=>e.value!==_.Bk)):{},s=r[0]?.name?r[0].name:__("All P2","jetpack");return(0,i.sprintf)(
-/* translators: %1$s: number of results. - %2$s: site name. */
-_n("Found %1$s result in %2$s","Found %1$s results in %2$s",e,"jetpack"),n,s)}return r?(0,i.sprintf)(
-/* translators: %s: number of results. */
-_n("Found %s result","Found %s results",e,"jetpack"),n,this.props.searchQuery):__("Showing popular results","jetpack")}renderPrimarySection(){const{highlightColor:e,searchQuery:t}=this.props,{results:r=[],total:s=0,corrected_query:n=!1}=this.props.response,o=(0,m.B)(e),p=!1!==n,u=s>0;return a.ZP.createElement(a.HY,null,a.ZP.createElement("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t\t\t\t\t.jetpack-instant-search *::selection,\n\t\t\t\t\t\t\t.jetpack-instant-search .jetpack-instant-search__search-results .jetpack-instant-search__search-results-primary .jetpack-instant-search__search-result mark {\n\t\t\t\t\t\t\t\tcolor: ${o};\n\t\t\t\t\t\t\t\tbackground-color: ${e};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t`}}),a.ZP.createElement("div",{className:"jetpack-instant-search__search-results-title"},this.getSearchTitle()),u&&p&&a.ZP.createElement("p",{className:"jetpack-instant-search__search-results-unused-query"},
-/* translators: %s: Search query. */
-(0,i.sprintf)(__('No results for "%s"',"jetpack"),t)),this.props.hasError&&a.ZP.createElement(l.Z,{type:"warning"},__("It looks like you're offline. Please reconnect for results.","jetpack")),u&&!this.props.hasError&&this.props.response._isOffline&&a.ZP.createElement(l.Z,{type:"warning"},__("It looks like you're offline. Please reconnect to load the latest results.","jetpack")),u&&!this.props.hasError&&a.ZP.createElement("ol",{className:`jetpack-instant-search__search-results-list is-format-${this.props.resultFormat}`},r.map(((e,t)=>a.ZP.createElement(h.Z,{index:t,staticFilters:this.props.staticFilters,isPhotonEnabled:this.props.isPhotonEnabled,locale:this.props.locale,railcar:this.props.isVisible?e.railcar:null,result:e,resultFormat:this.props.resultFormat,searchQuery:this.props.searchQuery})))),u&&this.props.hasNextPage&&a.ZP.createElement("div",{className:"jetpack-instant-search__search-results-pagination"},a.ZP.createElement(c.Z,{enableLoadOnScroll:this.props.enableLoadOnScroll,isLoading:this.props.isLoading,onLoadNextPage:this.props.onLoadNextPage})))}renderSecondarySection(){return a.ZP.createElement(d.Z,{filters:this.props.filters,staticFilters:this.props.staticFilters,isLoading:this.props.isLoading,locale:this.props.locale,postTypes:this.props.postTypes,response:this.props.response,showPoweredBy:this.props.showPoweredBy,widgets:this.props.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay})}render(){return a.ZP.createElement("div",{"aria-hidden":!0===this.props.isLoading,"aria-live":"polite",className:"jetpack-instant-search__search-results"},a.ZP.createElement("div",{className:"jetpack-instant-search__search-results-controls"},a.ZP.createElement(u.Z,{className:"jetpack-instant-search__search-results-search-form",isVisible:this.props.isVisible,onChangeSearch:this.props.onChangeSearch,searchQuery:this.props.searchQuery}),a.ZP.createElement("button",{className:"jetpack-instant-search__overlay-close",onClick:this.closeOverlay,onKeyPress:this.onKeyPressHandler,tabIndex:"0","aria-label":__("Close search results","jetpack")},a.ZP.createElement(o.Z,{icon:"cross",size:"24","aria-hidden":"true",focusable:"false"}))),a.ZP.createElement(p.Z,{enableSort:this.props.enableSort,onChangeSort:this.props.onChangeSort,resultFormat:this.props.resultFormat,sort:this.props.sort},(this.hasFilterOptions()||this.props.hasNonSearchWidgets)&&a.ZP.createElement("div",{role:"button",onClick:this.toggleMobileSecondary,onKeyDown:this.toggleMobileSecondary,tabIndex:"0",className:"jetpack-instant-search__search-results-filter-button"},__("Filters","jetpack"),a.ZP.createElement(o.Z,{icon:"chevron-down",size:16,alt:__("Show search filters","jetpack"),"aria-hidden":"true"}),a.ZP.createElement("span",{className:"screen-reader-text assistive-text"},this.state.shouldShowMobileSecondary?__("Hide filters","jetpack"):__("Show filters","jetpack")))),a.ZP.createElement("div",{className:"jetpack-instant-search__search-results-content"},a.ZP.createElement("div",{className:"jetpack-instant-search__search-results-primary"},this.renderPrimarySection()),a.ZP.createElement("div",{className:["jetpack-instant-search__search-results-secondary",(this.state.shouldShowMobileSecondary?"jetpack-instant-search__search-results-secondary--show-as-modal":"")+" "].join(" ")},this.renderSecondarySection())))}}t.Z=v},649:function(e,t,r){r.d(t,{Z:function(){return l}});var s=r(7538),n=r.n(s),i=r(5151),a=r(5736),o=r(4877);const __=a.__;class l extends i.wA{constructor(){super(...arguments),n()(this,"handleKeyPress",(e=>{this.props.value!==e.currentTarget.value&&"Enter"===e.key&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))})),n()(this,"handleClick",(e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))})),n()(this,"handleSelectChange",(e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.value))}))}render(){const e=(0,o.n)(this.props.resultFormat);return e.size>3?i.ZP.createElement("div",{className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-select"},i.ZP.createElement("label",{htmlFor:"jetpack-instant-search__search-sort-select"},__("Sort:","jetpack")),i.ZP.createElement("select",{id:"jetpack-instant-search__search-sort-select",onBlur:this.handleSelectChange,onChange:this.handleSelectChange},[...e.entries()].map((e=>{let[t,r]=e;return i.ZP.createElement("option",{value:t,key:t,selected:this.props.value===t?"selected":""},r)})))):i.ZP.createElement("div",{className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-links"},i.ZP.createElement("div",{className:"screen-reader-text"},__("Sort by: ","jetpack")),[...e.entries()].map((e=>{let[t,r]=e;return i.ZP.createElement("a",{className:"jetpack-instant-search__search-sort-option "+(this.props.value===t?"is-selected":""),"data-value":t,key:t,onClick:this.handleClick,onKeyPress:this.handleKeyPress,role:"button",tabIndex:0},r)})))}}},6068:function(e,t,r){var s=r(5151),n=r(2360),i=r(3595),a=r(1429);t.Z=e=>s.ZP.createElement("div",{className:"jetpack-instant-search__sidebar"},s.ZP.createElement(n.Z,{filters:e.filters,staticFilters:e.staticFilters,loading:e.isLoading,locale:e.locale,postTypes:e.postTypes,results:e.response,showClearFiltersButton:!0,widget:e.widgetOutsideOverlay}),s.ZP.createElement(i.Z,null),e.widgets.map((t=>(0,s.jz)(s.ZP.createElement("div",{id:`${t.widget_id}-portaled-wrapper`,className:"jetpack-instant-search__portaled-wrapper"},s.ZP.createElement(n.Z,{filters:e.filters,staticFilters:e.staticFilters,loading:e.isLoading,locale:e.locale,postTypes:e.postTypes,results:e.response,showClearFiltersButton:!1,showTitle:!1,widget:t})),document.getElementById(`${t.widget_id}-wrapper`)))),e.showPoweredBy&&s.ZP.createElement(a.Z,{locale:e.locale}))},3595:function(e,t,r){r.d(t,{Z:function(){return a}});var s=r(7538),n=r.n(s),i=r(5151);class a extends i.wA{constructor(){super(...arguments),n()(this,"container",(0,i.Vf)())}componentDidMount(){const e=document.getElementsByClassName("jetpack-instant-search__widget-area")[0];e&&(e.style.removeProperty("display"),this.container.current.appendChild(e))}shouldComponentUpdate(){return!1}render(){return i.ZP.createElement("div",{className:"jetpack-instant-search__widget-area-container",ref:this.container})}}},5242:function(e,t,r){function s(e,t,r){if(!e)return"";const s=decodeURIComponent(e);return(!t||"false"!==s)&&(!(!t||"true"!==s)||(r&&0*+s==0?+s:s))}function n(e,t,r){let n,i;const a={},o=e.split("&");for(t=void 0===t||t,r=void 0===r||r;n=o.shift();)n=n.split("="),i=n.shift(),void 0!==a[i]?a[i]=[].concat(a[i],s(n.shift(),t,r)):a[i]=s(n.shift(),t,r);return a}r.d(t,{J:function(){return n}})},162:function(e,t,r){r.r(t),r.d(t,{initialize:function(){return h}});r(1535);var s=r(5151),n=r(2695),i=r(2620),a=r(9661),o=r(8931),l=r(9532),c=r(230),p=r(7079),u=r(9499);function h(){window[l.W1]&&"siteId"in window[l.W1]&&(0,n.sY)(s.ZP.createElement(i.zt,{store:u.Z},s.ZP.createElement(a.Z,{aggregations:(0,c.a5)([...window[l.W1].widgets,...window[l.W1].widgetsOutsideOverlay]),enableAnalytics:!0,hasOverlayWidgets:!!window[l.W1].hasOverlayWidgets,initialHref:window.location.href,initialIsVisible:window[l.W1].showResults,isInCustomizer:(0,p.bS)(),overlayOptions:window[l.W1].overlayOptions,options:window[l.W1],shouldCreatePortal:!0,shouldIntegrateWithDom:!0,themeOptions:(0,o.C)(window[l.W1])})),document.body)}},230:function(e,t,r){r.d(t,{a5:function(){return d},Wb:function(){return m},yC:function(){return j}});var s=r(4090),n=r(8118),i=r(8027),a=r.n(i),o=r(8763),l=r(2168),c=r(9532);let p;const u=(0,o.Z)(30,5*c.AG),h=(0,o.Z)(30,30*c.AG);function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t={};return e.forEach((e=>{let{filters:r}=e;return r.forEach((e=>{t[e.filter_id]=g(e)}))})),t}function m(e){var t;return e=null!==(t=e)&&void 0!==t?t:{},Object.fromEntries(Object.entries(e).filter((e=>{let[,t]=e;return t?.buckets?.length>0})).map((e=>{let[t,r]=e;const s=r.buckets.map((e=>({...e,doc_count:0})));return[t,{...r,buckets:s}]})))}function g(e){switch(e.type){case"date_histogram":return{date_histogram:{field:"post_date_gmt"===e.field?"date_gmt":"date",interval:e.interval}};case"taxonomy":{let t=`taxonomy.${e.taxonomy}.slug_slash_name`;return"post_tag"===e.taxonomy?t="tag.slug_slash_name":"category"===e.taxonomy&&(t="category.slug_slash_name"),{terms:{field:t,size:e.count}}}case"post_type":return{terms:{field:e.type,size:e.count}}}}b();const _=/(\d{4})-(\d{2})-(\d{2})/;function f(e,t,r){let s,n;"year"===r&&([,s,,]=t.match(_)),"month"===r&&([,s,n]=t.match(_));let i="",a="";if(n){const e=+n+1,t=e<10?`0${e}`:`${e}`;i=`${s}-${n}-01`,a=e<=12?`${s}-${t}-01`:+s+1+"-01-01"}else s&&(i=`${s}-01-01`,a=+s+1+"-01-01");return{range:{[e]:{gte:i,lt:a}}}}const y=new Map([["post_types",e=>({term:{post_type:e}})],["category",e=>({term:{"category.slug":e}})],["post_tag",e=>({term:{"tag.slug":e}})],["month_post_date",e=>f("date",e,"month")],["month_post_date_gmt",e=>f("date_gmt",e,"month")],["month_post_modified",e=>f("date",e,"month")],["month_post_modified_gmt",e=>f("date_gmt",e,"month")],["year_post_date",e=>f("date",e,"year")],["year_post_date_gmt",e=>f("date_gmt",e,"year")],["year_post_modified",e=>f("date",e,"year")],["year_post_modified_gmt",e=>f("date_gmt",e,"year")]]);function v(e){const t={};return Object.keys(e).forEach((r=>{const s=e[r];"group_id"===r&&s!==c.Bk&&(t[r]=s)})),t}function E(e,t,r){const s={bool:{must:[]}};return(0,l.wP)().filter((t=>{return r=e[t],Array.isArray(r)&&r.length>0;var r})).forEach((t=>{e[t].forEach((e=>{y.has(t)?s.bool.must.push(y.get(t)(e)):s.bool.must.push({term:{[`taxonomy.${t}.slug`]:e}})}))})),t&&s.bool.must.push(t),r?.length>0&&s.bool.must.push({bool:{must_not:r.map((e=>y.get("post_types")(e)))}}),s}const k=new Map([["oldest","date_asc"],["newest","date_desc"],["relevance","score_default"]]);function P(e){return["price_asc","price_desc","rating_desc"].includes(e)?e:k.get(e,"score_default")}function Z(e){let{aggregations:t,excludedPostTypes:r,filter:i,staticFilters:a,pageHandle:o,query:l,resultFormat:p,sort:u,postsPerPage:h=10,adminQueryFilter:d,isInCustomizer:m=!1}=e;null===l&&(l="");let g=["date","permalink.url.raw","tag.name.default","category.name.default","post_type","has.image","shortcode_types","image.url.raw"];(p===c.LI||m)&&(g=g.concat(["meta._wc_average_rating.double","meta._wc_review_count.long","wc.formatted_price","wc.formatted_regular_price","wc.formatted_sale_price","wc.price","wc.sale_price"])),a&&a.group_id&&a.group_id!==c.Bk&&(g=g.concat(["author","blog_name","blog_icon_url"]));let _={aggregations:t,fields:g,highlight_fields:["title","content","comments"],filter:E(i,d,r),query:encodeURIComponent(l),sort:P(u),page_handle:o,size:h};return a&&Object.keys(a).length>0&&(_={..._,...v(a)}),(0,s.c)((0,n.x)(_))}function w(e){return function(t){const r=u.get(e)||h.get(e);if("AbortError"===t.name)return r?{_isCached:!0,_isError:!1,_isOffline:!1,...r}:null;if(r)return{_isCached:!0,_isError:!0,_isOffline:!1,...r};throw t}}function S(e,t){return function(r){const s={...r,requestId:t};return u.set(e,s),h.set(e,s),s}}function b(){p&&p.abort(),p=new AbortController}function j(e,t){const r=a()(Array.from(arguments));if(!navigator.onLine&&h.get(r))return Promise.resolve(h.get(r)).then((e=>({_isCached:!0,_isError:!1,_isOffline:!0,...e})));if(u.get(r))return Promise.resolve(u.get(r)).then((e=>({_isCached:!0,_isError:!1,_isOffline:!1,...e})));const s=Z(e),n=w(r),i=S(r,t),o=`/sites/${e.siteId}/search?${s}`,{apiNonce:l,apiRoot:d,homeUrl:m,isPrivateSite:g,isWpcom:_}=window[c.W1],f=`https://public-api.wordpress.com/rest/v1.3${o}`,y=`${m}/wp-json/wpcom-origin/v1.3${o}`,v=`${d}wpcom/v2/search?${s}`;let E=f;return g&&_?E=y:g&&(E=v),b(),fetch(E,{headers:g?{"X-WP-Nonce":l}:{},credentials:g?"include":"same-origin",signal:p.signal}).then((e=>200!==e.status?Promise.reject(`Unexpected response from API with status code ${e.status}.`):e)).then((e=>e.json())).then(i).catch(n)}},7135:function(e,t,r){function s(e,t){Array.isArray(e)||(e=[e]);return 0!==e.filter((e=>t.includes(e))).length}r.d(t,{Z:function(){return s}})},4592:function(e,t,r){function s(e){const t=function(e){let t;return"#"===e[0]&&(t=e.substring(1)),3===t.length&&(t=t.split("").map((e=>`${e}${e}`)).join("")),t}(e);return(299*parseInt(t.substr(0,2),16)+587*parseInt(t.substr(2,2),16)+114*parseInt(t.substr(4,2),16))/1e3>=128?"black":"white"}r.d(t,{B:function(){return s}})},8931:function(e,t,r){function s(e){return[...e.querySelectorAll('input[type="checkbox"]').values()].filter((e=>e.checked)).map((e=>e.name))}function n(e){const t={searchInputSelector:['input[name="s"]:not(.jetpack-instant-search__box-input)',"#searchform input.search-field:not(.jetpack-instant-search__box-input)",".search-form input.search-field:not(.jetpack-instant-search__box-input)",".searchform input.search-field:not(.jetpack-instant-search__box-input)"].join(", "),filterInputSelector:["a.jetpack-search-filter__link"],overlayTriggerSelector:[".jetpack-instant-search__open-overlay-button","header#site-header .search-toggle[data-toggle-target]"].join(",")};return e.theme_options?{...t,...e.theme_options}:t}r.d(t,{b:function(){return s},C:function(){return n}})},6597:function(e,t){const r=()=>{};t.Z=()=>r},2168:function(e,t,r){r.d(t,{wP:function(){return i},bA:function(){return a},i3:function(){return o},do:function(){return c},jZ:function(){return u},$s:function(){return h},jc:function(){return d}});var s=r(9532);const n=Object.freeze(["post_types","category","post_format","post_tag","month_post_date","month_post_date_gmt","month_post_modified","month_post_modified_gmt","year_post_date","year_post_date_gmt","year_post_modified","year_post_modified_gmt"]);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window[s.W1]?.widgets,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window[s.W1]?.widgetsOutsideOverlay;const r=new Set(n);return[...null!=e?e:[],...null!=t?t:[]].map((e=>e.filters)).filter((e=>Array.isArray(e))).reduce(((e,t)=>e.concat(t)),[]).filter((e=>"taxonomy"===e.type)).forEach((e=>r.add(e.taxonomy))),[...r]}function a(){return window[s.W1]?.staticFilters?window[s.W1].staticFilters:[]}function o(){const e=a(),t=new Set;return e.forEach((e=>t.add(e.filter_id))),[...t]}function l(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window[s.W1]?.widgets;return null!==(e=t?.map(p).reduce(((e,t)=>e.concat(t)),[]))&&void 0!==e?e:[]}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window[s.W1]?.widgets;const t=l(e);return i().filter((e=>!t.includes(e)))}function p(e){return e.filters.map(u).filter((e=>"string"==typeof e))}function u(e){return"date_histogram"===e.type?`${e.interval}_${e.field}`:"taxonomy"===e.type?`${e.taxonomy}`:"post_type"===e.type?"post_types":"group"===e.type?e.filter_id:null}function h(e){return e.includes("month")?{field:e.split("month_").pop(),type:"date_histogram",interval:"month"}:e.includes("year")?{field:e.split("year_").pop(),type:"date_histogram",interval:"year"}:"post_types"===e?{type:"post_type"}:"group"===e?{type:"group"}:{type:"taxonomy",taxonomy:e}}function d(e){return"date_histogram"===e.type?"date":"taxonomy"===e.type?"taxonomy":"post_type"===e.type?"postType":"group"===e.type?"group":void 0}},7802:function(e,t,r){r.d(t,{y:function(){return a}});var s=r(278),n=r(5151);function i(e){return e?e.split("?",1)[0]:""}function a(e,t,r){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const[o,l]=(0,n.eJ)(null),c=i(e),p=["gif","jpg","jpeg","png","webp"],u=c?.substring(c.lastIndexOf(".")+1).toLowerCase(),h=p.includes(u);return(0,n.d4)((()=>{if(a&&h){const n=(0,s.Z)(c,{resize:`${t},${r}`});l(n||e)}else l(e)}),[e,t,r,a,c,h]),o}},6669:function(e,t,r){r.d(t,{pm:function(){return o},_L:function(){return l},ug:function(){return c},Q0:function(){return p}});var s=r(4090),n=r(9532),i=r(2168),a=r(5242);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search;return(0,a.J)(e.substring(1),!1,!1)}function l(e){!function(e){if(history.pushState){const t=new window.URL(window.location.href);window[n.W1]&&"homeUrl"in window[n.W1]&&(t.href=window[n.W1].homeUrl),t.search=e,window.history.pushState(null,null,t.toString())}}((0,s.c)(e))}function c(){const e=o();return n.bk.includes(e.result_format)?e.result_format:null}function p(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(history.pushState&&history.replaceState){const n=new URL(e),a=o(n.search),l=[...(0,i.wP)(),...(0,i.i3)(),"s","sort"],c=Object.keys(a).some((e=>l.includes(e)));if(c&&l.forEach((e=>delete a[e])),n.search=(0,s.c)(a),r?window.history.replaceState(null,null,n.toString()):window.history.pushState(null,null,n.toString()),c)return void window.location.reload();t()}}},4877:function(e,t,r){r.d(t,{n:function(){return n}});var s=r(9532);function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e!==s.LI?s.aP:new Map([...s.aP,...s.rs])}},6546:function(e,t,r){r.d(t,{IJ:function(){return i},tU:function(){return a},vy:function(){return o},AM:function(){return l},Sn:function(){return p},Lo:function(){return u},GE:function(){return h}});let s=!0;const n={};function i(){s=!1}function a(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||s)&&(window._tkq=window._tkq||[])}function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||s)&&window._tkq.push(["clearIdentity"])}function l(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(t||s)&&(n.blog_id=e)}function c(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(r||s)&&window._tkq.push(["recordEvent",e,{...n,...t}])}function p(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c("jetpack_instant_search_traintracks_render",e,t)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c("jetpack_instant_search_traintracks_interact",e,t)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c("jetpack_instant_search_static_filter_select",e,t)}},7283:function(e,t,r){function s(e){return{type:"MAKE_SEARCH_REQUEST",options:e}}function n(e){let{options:t,response:r}=e;return{type:"RECORD_SUCCESSFUL_SEARCH_REQUEST",options:t,response:r}}function i(e){return{type:"RECORD_FAILED_SEARCH_REQUEST",error:e}}function a(){let{isHistoryNavigation:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"INITIALIZE_QUERY_VALUES",isHistoryNavigation:e}}function o(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"SET_SEARCH_QUERY",query:e,propagateToWindow:t}}function l(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"SET_SORT",sort:e,propagateToWindow:t}}function c(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_FILTER",name:e,value:t,propagateToWindow:r}}function p(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_STATIC_FILTER",name:e,value:t,propagateToWindow:r}}function u(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"CLEAR_FILTERS",propagateToWindow:e}}function h(){return{type:"CLEAR_QUERY_VALUES"}}function d(){return{type:"DISABLE_QUERY_STRING_INTEGRATION"}}r.d(t,{x1:function(){return s},C0:function(){return n},Y6:function(){return i},Ln:function(){return a},ql:function(){return o},HD:function(){return l},Tv:function(){return c},O1:function(){return p},K5:function(){return u},Mz:function(){return h},OZ:function(){return d}})},6439:function(e,t,r){var s=r(5034),n=r.n(s),i=r(230),a=r(9532),o=r(2168),l=r(6669),c=r(7283);let p=0,u=!0;const h=n()(l._L,a.yb);t.Z={CLEAR_FILTERS:function(e){if(!1===e.propagateToWindow||!u)return;const t=(0,l.pm)();(0,o.wP)().forEach((e=>delete t[e])),(0,o.i3)().forEach((e=>delete t[e])),(0,l._L)(t)},DISABLE_QUERY_STRING_INTEGRATION:function(){u=!1},INITIALIZE_QUERY_VALUES:function(e,t){const r=(0,l.pm)();let s;"s"in r?t.dispatch((0,c.ql)(r.s,!1)):t.dispatch((0,c.ql)(null,!1)),a.kQ.includes(r.sort)?s=r.sort:"date"===r.orderby?s="string"==typeof r.order&&r.order.toUpperCase()===a.oy?"oldest":"newest":"relevance"===r.orderby&&(s="relevance"),"string"==typeof s&&t.dispatch((0,c.HD)(s,!1)),t.dispatch((0,c.K5)(!1)),(0,o.wP)().filter((e=>e in r)).forEach((e=>t.dispatch((0,c.Tv)(e,r[e],!1)))),(0,o.i3)().filter((e=>e in r)).forEach((e=>t.dispatch((0,c.O1)(e,r[e],!1))))},MAKE_SEARCH_REQUEST:function(e,t){p++,(0,i.yC)(e.options,p).then((r=>{null!==r&&t.dispatch((0,c.C0)({options:e.options,response:r}))})).catch((e=>{console.error("Jetpack Search encountered an error:",e),t.dispatch((0,c.Y6)(e))}))},SET_FILTER:function(e){if(!1===e.propagateToWindow||!u)return;if(!(0,o.wP)().includes(e.name))return;const t=(0,l.pm)();t[e.name]=e.value,(0,l._L)(t)},SET_STATIC_FILTER:function(e){if(!1===e.propagateToWindow)return;if(!(0,o.i3)().includes(e.name))return;const t=(0,l.pm)();t[e.name]=e.value,(0,l._L)(t)},SET_SEARCH_QUERY:function(e){if(!1===e.propagateToWindow||!u)return;const t=(0,l.pm)();null!==e.query?t.s=e.query:delete t.s,h(t)},SET_SORT:function(e){if(!1===e.propagateToWindow||!u)return;if(!a.kQ.includes(e.sort))return;const t=(0,l.pm)();t.sort=e.sort,delete t.order,delete t.orderby,(0,l._L)(t)}}},9499:function(e,t,r){var s=r(4978),n=r(2601),i=r.n(n),a=r(6439),o=r(6680);const l=[i()(a.Z)],c=(0,s.MT)(o.ZP,{},(0,s.md)(...l));t.Z=c},8720:function(e,t,r){r.d(t,{xT:function(){return i},hg:function(){return a},p:function(){return o}});var s=r(230);let n={};function i(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"MAKE_SEARCH_REQUEST":case"RECORD_SUCCESSFUL_SEARCH_REQUEST":return!1;case"RECORD_FAILED_SEARCH_REQUEST":return!0}return e}function a(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"MAKE_SEARCH_REQUEST":return!0;case"RECORD_SUCCESSFUL_SEARCH_REQUEST":case"RECORD_FAILED_SEARCH_REQUEST":return!1}return e}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECORD_SUCCESSFUL_SEARCH_REQUEST"===t.type){if("requestId"in e&&"requestId"in t.response&&e.requestId>t.response.requestId)return e;const r={...t.response};return t.options.pageHandle&&(r.aggregations={..."aggregations"in e&&!Array.isArray(e)?e.aggregations:{},...Array.isArray(r.aggregations)?{}:r.aggregations},r.results=[..."results"in e?e.results:[],...r.results],n={}),Array.isArray(r.results)&&r.results.length>r.total&&(r.total=r.results.length),t.options.pageHandle||(r.results?.length>0?n=(0,s.Wb)(r.aggregations):r.aggregations=n),r}return e}},6801:function(e,t,r){function s(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INITIALIZE_QUERY_VALUES":return t.isHistoryNavigation;case"SET_SEARCH_QUERY":case"SET_SORT":case"CLEAR_FILTERS":case"SET_FILTER":return!t.propagateToWindow&&e}return e}r.d(t,{w:function(){return s}})},6680:function(e,t,r){var s=r(4978),n=r(8720),i=r(5283),a=r(9310),o=r(6801);t.ZP=(0,s.UY)({filters:i.u8,staticFilters:i.OY,hasError:n.xT,isLoading:n.hg,isHistoryNavigation:o.w,response:n.p,searchQuery:i.w4,serverOptions:a.M,sort:i.DY})},5283:function(e,t,r){r.d(t,{w4:function(){return i},DY:function(){return a},u8:function(){return o},OY:function(){return l}});var s=r(9532),n=r(2168);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SEARCH_QUERY":return t.query;case"CLEAR_QUERY_VALUES":return null}return e}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SORT":return s.kQ.includes(t.sort)?t.sort:e;case"CLEAR_QUERY_VALUES":return null}return e}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_FILTERS":case"CLEAR_QUERY_VALUES":return{};case"SET_FILTER":if(!(0,n.wP)().includes(t.name)||!Array.isArray(t.value)&&"string"!=typeof t.value)return e;if(0===t.value.length){const r={...e};return delete r[t.name],r}return{...e,[t.name]:"string"==typeof t.value?[t.value]:t.value}}return e}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_QUERY_VALUES":return{};case"SET_STATIC_FILTER":return(0,n.i3)().includes(t.name)?{...e,[t.name]:t.value}:e}return e}},9310:function(e,t,r){r.d(t,{M:function(){return n}});var s=r(9532);function n(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window[s.W1])&&void 0!==e?e:{};return t}},341:function(e,t,r){r.d(t,{ck:function(){return i},xT:function(){return a},Qy:function(){return o},hg:function(){return l},uP:function(){return c},r$:function(){return p},Zj:function(){return u},Bk:function(){return h},en:function(){return d},ZN:function(){return m},wI:function(){return g}});var s=r(9532),n=r(2168);function i(e){return e.response}function a(e){return e.hasError}function o(e){return!a(e)&&i(e)?.page_handle}function l(e){return e.isLoading}function c(e){return e.searchQuery}function p(e,t){return"string"!=typeof t&&(t=s.PP),"string"==typeof e.sort?e.sort:t}function u(e){return e.filters}function h(e){return e.staticFilters}function d(e){return null!==c(e)||function(e){return Object.keys(e.filters).length>0}(e)||function(e){return Object.keys(e.staticFilters).length>0}(e)||null!==e.sort}function m(e){if(!e.serverOptions.widgets||!e.filters)return{};const t=(0,n.do)(e.serverOptions.widgets);return{filters:Object.keys(e.filters).filter((e=>t.includes(e))).map(n.$s)}}function g(e){return e.isHistoryNavigation}}}]); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.rtl.css b/plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.rtl.css
deleted file mode 100644
index 2a51cf23..00000000
--- a/plugins/jetpack/_inc/build/instant-search/jp-search.chunk-main-payload.rtl.css
+++ /dev/null
@@ -1 +0,0 @@
-.jetpack-instant-search__overlay{background:rgba(29,35,39,.7);bottom:0;box-sizing:border-box;color:#00101c;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transition:opacity .1s ease-in;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay.is-hidden{background:transparent;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}.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)}.jetpack-instant-search__notice{font-size:14px;margin:1em 0;padding:.75em}.jetpack-instant-search__notice.jetpack-instant-search__notice--warning{background-color:#f5e6b3;color:#4f3500}.jetpack-instant-search__notice .gridicon{margin-left:.5em;margin-top:-5px;vertical-align:middle}.jetpack-instant-search__scroll-button{border:0;box-shadow:none;font-size:13px;outline:0}.jetpack-instant-search__search-sort{align-items:center;display:flex}.jetpack-instant-search__search-sort>label[for=jetpack-instant-search__search-sort-select]{flex-shrink:0;font-size:1em;font-weight:700;margin:0 0 0 .25em}.jetpack-instant-search__search-sort-with-links{font-size:13px}@media(max-width:575.98px){.jetpack-instant-search__search-sort-with-select{margin-left:1em;width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-sort-with-select{margin-left:0}}@media(min-width:992px){.jetpack-instant-search__search-sort-with-select{margin-top:-4px}}#jetpack-instant-search__search-sort-select{-webkit-appearance:auto;appearance:auto;background:#fff;border:1px solid #e6f1f5;border-radius:5px;color:#00101c;font-size:1em;height:inherit;padding:.25em}@media(max-width:575.98px){#jetpack-instant-search__search-sort-select{padding:.5em;width:100%}}.jetpack-instant-search__search-sort-option{color:#646970;cursor:pointer;padding:0 2px;text-decoration:none}.jetpack-instant-search__search-sort-option:after{color:#646970;content:"·";font-weight:400;padding-right:5px}.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:focus,.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:hover{text-decoration:none}.jetpack-instant-search__search-sort-option:last-child:after{content:""}.jetpack-instant-search__search-sort-option.is-selected{color:#044b7a;font-weight:600;text-decoration:none}.jetpack-instant-search__search-form-controls{align-items:center;display:flex;line-height:1.3;margin-left:56px;margin-right:56px;margin-top:16px;z-index:1}@media(max-width:991.98px){.jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:767.98px){.jetpack-instant-search__search-form-controls{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-form-controls{left:320px;position:absolute}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{left:320px;position:absolute}}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-form-controls{left:0}.jetpack-instant-search__box{border-bottom:1px solid #e6f1f5;border-left:1px solid #e6f1f5}.jetpack-instant-search__box-label{align-items:center;display:flex;flex:0 0 100%;margin:0}input.jetpack-instant-search__box-input.search-field{-webkit-appearance:none;appearance:none;background:#fff;border:0;box-shadow:none;color:#3c434a;font-size:18px;height:60px;line-height:1;margin:0;max-width:none;padding:0 14px;text-indent:32px;vertical-align:middle}input.jetpack-instant-search__box-input.search-field:focus,input.jetpack-instant-search__box-input.search-field:hover{background:#fff;color:#00101c}input.jetpack-instant-search__box-input.search-field.search-field{letter-spacing:-.02em;padding-right:0;text-indent:0}.jetpack-instant-search__box-gridicon{align-items:center;display:flex;flex-shrink:0;height:60px;justify-content:center;position:relative;right:0;top:0;width:60px;z-index:1}.jetpack-instant-search__box-gridicon svg{fill:#646970}.jetpack-instant-search__box input[type=button]{word-wrap:normal;border:none;color:#646970;cursor:pointer;font-size:1em;font-weight:400;height:60px;line-height:1;margin:0 0 0 .25em;padding:0;text-decoration:none;text-shadow:none;text-transform:none;transition:all .1s linear;width:60px}.jetpack-instant-search__box input[type=button],.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{color:#3c434a}.jetpack-instant-search__box input[type=button]:focus{outline:1px dotted}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input{border:none;box-shadow:none;height:52px;outline-style:none;transition:color .15s ease-in-out,border-color .25s ease-in-out;width:100%}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:focus,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:hover{border:none;box-shadow:none;outline-style:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-button,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-decoration{appearance:none;-webkit-appearance:none;display:initial}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-cancel-button{display:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-clear,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-reveal{display:none}.jetpack-instant-search__path-breadcrumb{font-size:.9em;margin:0;max-width:calc(100vw - 2em);overflow-x:hidden;text-overflow:ellipsis}.jetpack-instant-search__path-breadcrumb-link{max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jetpack-instant-search__path-breadcrumb-link:focus,.jetpack-instant-search__path-breadcrumb-link:hover{text-decoration:underline}.jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__path-breadcrumb-link{color:#3c434a}.jetpack-instant-search__search-result-comments{border-right:2px solid #f0f0f1;font-size:.9em;margin-right:8px;margin-top:16px;padding-right:16px;word-break:break-word}.jetpack-instant-search__search-result-comments .gridicon{margin-left:8px;vertical-align:middle}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title{margin-bottom:.4em}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title .gridicon{margin-left:8px}.jetpack-instant-search__search-result-minimal-cats-and-tags{display:flex;flex-flow:row wrap;font-size:.9375em}.jetpack-instant-search__search-result-minimal-cats,.jetpack-instant-search__search-result-minimal-tags{display:flex;flex-flow:row wrap;list-style-type:none;margin:0;padding:0}.jetpack-instant-search__search-result-minimal-cat,.jetpack-instant-search__search-result-minimal-tag{margin:0 0 0 .75em}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag .gridicon{margin-left:.25em}.jetpack-instant-search__search-result-minimal-cat-text,.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag-text,.jetpack-instant-search__search-result-minimal-tag .gridicon{vertical-align:middle}.jetpack-instant-search__search-result-minimal-content{word-break:break-word}.jetpack-instant-search__search-result-expanded{display:flex;flex-flow:column}.jetpack-instant-search__search-result-expanded:last-child{margin-left:0}.jetpack-instant-search__search-result-expanded .jetpack-instant-search__search-result-expanded__title{width:100%}.jetpack-instant-search__search-result-expanded__path{color:#646970;font-size:.9375em;margin:0 0 .4em}.jetpack-instant-search__search-result-expanded__copy-container{max-width:100%}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__copy-container{width:calc(100% - 128px - 1em)}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__copy-container{width:auto}.jetpack-instant-search__search-result-expanded__content{color:#00101c;font-size:.9375em}.jetpack-instant-search__search-result-expanded__image-link{margin-right:1em}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-link{margin:0 auto .5em;order:-1}}.jetpack-instant-search__search-result-expanded__image-container{width:128px}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-container{width:256px}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__image-container{display:none}.jetpack-instant-search__search-result-expanded__image-container{position:relative}.jetpack-instant-search__search-result-expanded__image-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-expanded__image{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-expanded__content-container{display:flex;flex-flow:column}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__content-container{flex-flow:row nowrap}}.jetpack-instant-search__search-result-expanded__footer{display:flex;list-style-type:none;margin-right:0;margin-top:10px;padding-right:0}.jetpack-instant-search__search-result-expanded__footer li{margin-left:10px}.jetpack-instant-search__search-result-expanded__footer-blog-image{border-radius:2px;margin-left:3px;vertical-align:middle}.jetpack-instant-search__search-result-expanded__footer-blog{font-size:13px;font-style:normal;font-weight:600;line-height:180%}.jetpack-instant-search__search-result-expanded__footer-author:after,.jetpack-instant-search__search-result-expanded__footer-blog:after{color:#636363;content:"·";margin-right:10px}.jetpack-instant-search__search-result-expanded__footer-author,.jetpack-instant-search__search-result-expanded__footer-date{color:#636363;font-size:13px;font-style:normal;font-weight:400}.jetpack-instant-search__product-rating-stars .gridicon{fill:#f0c930;vertical-align:middle}.jetpack-instant-search a.jetpack-instant-search__product-rating-count{color:#646970;font-size:.9em;text-decoration:underline;vertical-align:text-top}.jetpack-instant-search__product-price-regular{color:#646970;padding-left:.25em}.jetpack-instant-search__search-results-list.is-format-product{display:flex;flex-wrap:wrap;margin-left:40px;padding:0 0 3em}@media(max-width:991.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-left:24px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-left:4px}}.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{display:flex;flex-direction:column;margin:0 0 16px 16px;position:relative;width:calc(50% - 16px)}@media(min-width:576px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:768px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:992px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:1200px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:1400px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(20% - 16px)}}.jetpack-instant-search__search-result>.jetpack-instant-search__search-result-product-img-link{display:block}.jetpack-instant-search__search-result-product-img-container{border-radius:5px;color:transparent;position:relative}.jetpack-instant-search__search-result-product-img-container.jetpack-instant-search__search-result-product-img-container--placeholder{background:#c3c4c7}.jetpack-instant-search__search-result-product-img-container .gridicon{fill:#fff}.jetpack-instant-search__search-result-product-img-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-product-img{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-product-img>.gridicon{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.jetpack-instant-search__search-result-product-img>.gridicons-image{height:25%;width:25%}.jetpack-instant-search__search-result-product-img>.gridicons-block{height:50%;width:50%}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-product-title{font-size:1.25em;margin:.25em 0 0}.jetpack-instant-search__search-result-product-match{font-size:.9em;margin-top:.25em}.jetpack-instant-search__search-result-product-match mark{align-items:center;display:flex;font-weight:400}.jetpack-instant-search__search-result-product-match .gridicon{height:1em;margin-left:.25em;width:1em}.jetpack-instant-search__search-result{margin:0 0 2em}.jetpack-instant-search__search-result-title{font-size:1.6em;font-weight:400;line-height:1.35;margin:0;overflow-wrap:break-word}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link{text-decoration:none}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:focus,.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:hover{text-decoration:underline}.jetpack-instant-search__search-filters{position:relative}.jetpack-instant-search__search-filters>div{margin-top:1em}.jetpack-instant-search__search-filters-title{color:#00101c;display:block;font-weight:700;line-height:1.3}.jetpack-instant-search__clear-filters-link{left:0;line-height:1.3;margin:0;position:absolute;top:0}.jetpack-instant-search__search-filter-sub-heading{color:#646970;font-size:inherit;margin:0;padding:0}.jetpack-instant-search__search-filter-list{text-align:right}.jetpack-instant-search__search-filter-list>div{align-items:baseline;display:flex;margin-top:8px}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input{-webkit-appearance:checkbox;appearance:checkbox;background:none;border:none;cursor:pointer;height:auto;margin:0;top:1px;width:auto}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:before,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:before{display:none!important}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-label,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-label{color:inherit;cursor:pointer;display:inline-block;font-weight:400;margin:0 8px 0 0;padding:0;width:auto}.jetpack-instant-search__search-static-filter-list{font-size:.875rem;line-height:1.8}.jetpack-instant-search__widget-area-container{margin-bottom:2em}.jetpack-instant-search__jetpack-colophon{margin-bottom:2em;margin-top:2em;text-align:center}.jetpack-instant-search__jetpack-colophon-link{align-items:center;color:inherit;display:flex;text-decoration:none}.jetpack-instant-search__jetpack-colophon-logo{display:inline;height:16px;width:16px}.jetpack-instant-search__jetpack-colophon-text{color:#3c434a;font-size:.7em;font-weight:400;padding-right:6px}.jetpack-instant-search__sidebar{padding-top:14px}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget{background:none;border:none;margin:0;padding:0}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget a{font-weight:400}.jetpack-instant-search__sidebar h2.widgettitle{border:none;font-size:1.3em;margin:1em 0 .5em}.jetpack-instant-search__sidebar h2.widgettitle:after,.jetpack-instant-search__sidebar h2.widgettitle:before{display:none!important}.jetpack-instant-search__search-results{background:#fff;border-radius:3px;margin:0 auto;max-width:1080px;min-height:100%;position:relative;z-index:10}@media(max-width:575.98px){.jetpack-instant-search__search-results{border-radius:0}}@media(min-width:992px){.jetpack-instant-search__search-results{max-width:95%}}.jetpack-instant-search__search-results mark{background:#ffc;color:#00101c}.jetpack-instant-search__search-results-controls{display:flex}.jetpack-instant-search__search-results-content{display:flex;position:relative}.jetpack-instant-search__search-results-filter-button{align-items:center;border:0;color:#646970;cursor:pointer;display:flex;flex-shrink:0;font-size:12px;margin:0;padding:8px;text-decoration:none;transition:background-color .25s ease-in-out}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-filter-button{visibility:hidden}@media(min-width:576px){.jetpack-instant-search__search-results-filter-button{font-size:13px;padding:10px 14px}}@media(min-width:992px){.jetpack-instant-search__search-results-filter-button{display:none}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:flex}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:none}}.jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__search-results-filter-button:hover{color:#00101c}.jetpack-instant-search__search-results-filter-button .gridicon{margin-right:4px}.jetpack-instant-search__search-results-primary{margin:0;max-width:calc(100% - 320px);width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-primary{max-width:100%}@media(max-width:991.98px){.jetpack-instant-search__search-results-primary{max-width:100%}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-primary{max-width:100%}}.jetpack-instant-search__search-results-secondary{background:none;border-radius:0;border-right:1px solid #e6f1f5;bottom:0;box-shadow:none;color:#00101c;display:block;flex:none;padding:0 32px;position:static;width:320px}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary{display:none}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:991.98px)and (max-width:575.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:1199.98px)and (max-width:575.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{color:#00101c;font-size:1em;font-weight:700;line-height:1.3;margin:1em 56px 1.5em;padding:0;word-break:break-word}@media(max-width:991.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title,.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-results-title{padding-left:210px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title{padding-left:210px}}.jetpack-instant-search__search-results-list{color:#00101c;list-style:none;margin-left:56px;margin-right:56px;padding:0}@media(max-width:991.98px){.jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list{margin-left:20px;margin-right:20px}}.jetpack-instant-search__search-results-list li:before{content:"​";height:1px;position:absolute;width:1px}.jetpack-instant-search__search-results-search-form{font-size:.8em;margin:0;top:0;width:100%}button.jetpack-instant-search__overlay-close{align-items:center;-webkit-appearance:none;appearance:none;background:none;background-color:transparent!important;border:none;border-bottom:1px solid #e6f1f5;box-shadow:none;cursor:pointer;display:flex;height:61px;justify-content:center;line-height:1;margin:0;outline:none;padding:0;text-decoration:none;text-shadow:none;text-transform:none;width:60px}button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}button.jetpack-instant-search__overlay-close:focus{outline:1px dotted}button.jetpack-instant-search__overlay-close svg.gridicon{fill:#646970}button.jetpack-instant-search__overlay-close:active,button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{background-color:transparent!important;border-color:#e6f1f5}button.jetpack-instant-search__overlay-close:active svg.gridicon,button.jetpack-instant-search__overlay-close:focus svg.gridicon,button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#3c434a}.jetpack-instant-search__search-results-pagination{display:block;flex:none;margin:50px}.jetpack-instant-search .widget.widget_archive ul li a,.jetpack-instant-search .widget a,.jetpack-instant-search a{border:none;color:#001621;text-decoration:none}.jetpack-instant-search .widget.widget_archive ul li a:focus,.jetpack-instant-search .widget.widget_archive ul li a:hover,.jetpack-instant-search .widget a:focus,.jetpack-instant-search .widget a:hover,.jetpack-instant-search a:focus,.jetpack-instant-search a:hover{color:#044b7a;text-decoration:underline}.jetpack-search-filters-widget__filter-list{list-style-type:none}body.enable-search-modal .cover-modal.show-modal.search-modal.active{display:none}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark{background:rgba(29,35,39,.7);color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a{color:#f6f7f7}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:hover{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filters-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__content,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-list,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-unused-query{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__jetpack-colophon-text,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb-link{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filter-sub-heading,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__path{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box-gridicon svg,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close svg.gridicon{fill:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:focus svg.gridicon,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:hover{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field{background:#000;color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:hover{background:#000;color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results{background:#000}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results mark{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{color:#e6f1f5}@media(min-width:992px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{border-color:#3c434a}}@media(max-width:991.98px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#000;border-color:#3c434a;box-shadow:0 2px 3px #3c434a}}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option:after{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option.is-selected{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-product-img--placeholder{color:#2c3338}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark #jetpack-instant-search__search-sort-select{background:#000;border-color:#3c434a;color:#e6f1f5} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/search.css b/plugins/jetpack/_inc/build/instant-search/search.css
deleted file mode 100644
index 766e3ed7..00000000
--- a/plugins/jetpack/_inc/build/instant-search/search.css
+++ /dev/null
@@ -1 +0,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)} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/search.rtl.css b/plugins/jetpack/_inc/build/instant-search/search.rtl.css
deleted file mode 100644
index cd2295cf..00000000
--- a/plugins/jetpack/_inc/build/instant-search/search.rtl.css
+++ /dev/null
@@ -1 +0,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)} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/jetpack-admin.min.asset.php b/plugins/jetpack/_inc/build/jetpack-admin.min.asset.php
index bd54d554..0e7c780d 100644
--- a/plugins/jetpack/_inc/build/jetpack-admin.min.asset.php
+++ b/plugins/jetpack/_inc/build/jetpack-admin.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'f142ae64663af48ce61ac94b02f30548'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'a46354e91a770a8af6fe');
diff --git a/plugins/jetpack/_inc/build/jetpack-connection-banner.min.asset.php b/plugins/jetpack/_inc/build/jetpack-connection-banner.min.asset.php
index 073968e5..8df237c5 100644
--- a/plugins/jetpack/_inc/build/jetpack-connection-banner.min.asset.php
+++ b/plugins/jetpack/_inc/build/jetpack-connection-banner.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '30be5946920040752152a8b9297bf113'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '9278d66461ebf5e6b3f4');
diff --git a/plugins/jetpack/_inc/build/jetpack-deactivate-dialog.min.asset.php b/plugins/jetpack/_inc/build/jetpack-deactivate-dialog.min.asset.php
index 7aa0fb37..688c632b 100644
--- a/plugins/jetpack/_inc/build/jetpack-deactivate-dialog.min.asset.php
+++ b/plugins/jetpack/_inc/build/jetpack-deactivate-dialog.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '72a2e27efb715acc0a6d0f09cada4cca'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '926b63aaab1cc43aab24');
diff --git a/plugins/jetpack/_inc/build/jetpack-jitm.min.js b/plugins/jetpack/_inc/build/jetpack-jitm.min.js
deleted file mode 100644
index df295af2..00000000
--- a/plugins/jetpack/_inc/build/jetpack-jitm.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-jQuery(document).ready(function(t){var a={default:function(a){var e='<div class="jitm-card jitm-banner '+(a.CTA.message?"has-call-to-action":"")+" is-upgrade-premium "+a.content.classes+'" data-stats_url="'+a.jitm_stats_url+'">';if(e+='<div class="jitm-banner__icon-plan">'+a.content.icon+"</div>",e+='<div class="jitm-banner__content">',e+='<div class="jitm-banner__info">',e+='<div class="jitm-banner__title">'+a.content.message+"</div>",a.content.description&&""!==a.content.description){if(e+='<div class="jitm-banner__description">'+a.content.description,a.content.list.length>0){e+='<ul class="banner__list">';for(var i=0;i<a.content.list.length;i++){var n=a.content.list[i].item;a.content.list[i].url&&(n='<a href="'+a.content.list[i].url+'" target="_blank" rel="noopener noreferrer" data-module="'+a.feature_class+'" data-jptracks-name="nudge_item_click" data-jptracks-prop="jitm-'+a.id+'">'+n+"</a>"),e+='<li><svg class="gridicon gridicons-checkmark" height="16" width="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414" /></g></svg>'+n+"</li>"}}e+="</div>"}if(e+="</div>",a.activate_module&&(e+='<div class="jitm-banner__action" id="jitm-banner__activate">',e+='<a href="#" data-module="'+a.activate_module+'" type="button" class="jitm-button is-compact is-primary jptracks" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+a.id+'-activate_module">'+window.jitm_config.activate_module_text+"</a>",e+="</div>"),a.CTA.message){var c="jitm-button is-compact jptracks";a.CTA.primary&&null===a.activate_module&&(c+=" is-primary"),e+='<div class="jitm-banner__action">',e+='<a href="'+a.url+'" target="'+(!1===a.CTA.newWindow?"_self":"_blank")+'" rel="noopener noreferrer" title="'+a.CTA.message+'" data-module="'+a.feature_class+'" type="button" class="'+c+'" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+a.id+'">'+a.CTA.message+"</a>",e+="</div>"}return e+='<a href="#" data-module="'+a.feature_class+'" class="jitm-banner__dismiss"></a>',e+="</div>",t(e+="</div>")}},e=function(){t(".jetpack-jitm-message").each(function(){var e=t(this),i=e.data("message-path"),n=e.data("query"),c=e.data("redirect"),r=location.hash;"_dashboard"!==(r=r.replace(/#\//,"_"))&&(i=i.replace("toplevel_page_jetpack","toplevel_page_jetpack"+r)),t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:i,query:n,_wpnonce:e.data("nonce")}).then(function(i){"object"==typeof i&&i[1]&&(i=[i[1]]),0!==i.length&&i[0].content&&function(e,i,n){var c;(c=i.template)&&a[c]||(c="default"),i.url=i.url+"&redirect="+n;var r,o=a[c](i);o.find(".jitm-banner__dismiss").click((r=o,function(a){a.preventDefault(),r.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",data:{id:i.id,feature_class:i.feature_class}})})),t("#jp-admin-notices").length>0?(e.innerHTML=o,t("#jp-admin-notices").find(".jitm-card")&&t(".jitm-card").replaceWith(o),o.prependTo(t("#jp-admin-notices"))):e.replaceWith(o),o.find("#jitm-banner__activate a").click(function(){var a=t(this);if(a.attr("disabled"))return!1;t.ajax({url:window.jitm_config.api_root+"jetpack/v4/module/"+a.data("module")+"/active",method:"POST",beforeSend:function(a){a.setRequestHeader("X-WP-Nonce",e.data("nonce")),t("#jitm-banner__activate a").text(window.jitm_config.activating_module_text),t("#jitm-banner__activate a").attr("disabled",!0)}}).done(function(){t("#jitm-banner__activate a").text(window.jitm_config.activated_module_text),t("#jitm-banner__activate a").attr("disabled",!0),setTimeout(function(){o.fadeOut("slow")},2e3)})})}(e,i[0],c)})})};e(),t(window).bind("hashchange",function(t){if(t.originalEvent.newURL.indexOf("jetpack#/")>=0){var a=document.querySelector(".jitm-card");a&&a.remove(),e()}})}); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/jetpack-modules.min.asset.php b/plugins/jetpack/_inc/build/jetpack-modules.min.asset.php
index a0ad31ba..61b98f91 100644
--- a/plugins/jetpack/_inc/build/jetpack-modules.min.asset.php
+++ b/plugins/jetpack/_inc/build/jetpack-modules.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'dfdb33eaa0074f941ae3e2559ecca14f'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '33b911fc9450c41c3e65');
diff --git a/plugins/jetpack/_inc/build/jetpack-modules.models.min.asset.php b/plugins/jetpack/_inc/build/jetpack-modules.models.min.asset.php
index f777d8da..fa9575d8 100644
--- a/plugins/jetpack/_inc/build/jetpack-modules.models.min.asset.php
+++ b/plugins/jetpack/_inc/build/jetpack-modules.models.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '1e048282a13f3754a005c9c4d575f518'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'fe707d70d06eaf84701f');
diff --git a/plugins/jetpack/_inc/build/jetpack-modules.views.min.asset.php b/plugins/jetpack/_inc/build/jetpack-modules.views.min.asset.php
index 90ae7d0d..26179605 100644
--- a/plugins/jetpack/_inc/build/jetpack-modules.views.min.asset.php
+++ b/plugins/jetpack/_inc/build/jetpack-modules.views.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'aa31fb92a8fbbfb02799fb9a062abb21'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '5ca3ed0154644cf12061');
diff --git a/plugins/jetpack/_inc/build/jetpack-recommendations-banner.min.asset.php b/plugins/jetpack/_inc/build/jetpack-recommendations-banner.min.asset.php
index 74f03cdb..4e5e8c2f 100644
--- a/plugins/jetpack/_inc/build/jetpack-recommendations-banner.min.asset.php
+++ b/plugins/jetpack/_inc/build/jetpack-recommendations-banner.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '02d66e22a542d83207f4c1ee2cbd7a28'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'ad64f071c2651dcbebfa');
diff --git a/plugins/jetpack/_inc/build/jquery.jetpack-resize.min.js b/plugins/jetpack/_inc/build/jquery.jetpack-resize.min.js
deleted file mode 100644
index 4fce7781..00000000
--- a/plugins/jetpack/_inc/build/jquery.jetpack-resize.min.js
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/* global Jetpack, JSON */
-/**
- * Resizeable Iframes.
- *
- * Start listening to resize postMessage events for selected iframes:
- * $( selector ).Jetpack( 'resizeable' );
- * - OR -
- * Jetpack.resizeable( 'on', context );
- *
- * Resize selected iframes:
- * $( selector ).Jetpack( 'resizeable', 'resize', { width: 100, height: 200 } );
- * - OR -
- * Jetpack.resizeable( 'resize', { width: 100, height: 200 }, context );
- *
- * Stop listening to resize postMessage events for selected iframes:
- * $( selector ).Jetpack( 'resizeable', 'off' );
- * - OR -
- * Jetpack.resizeable( 'off', context );
- *
- * Stop listening to all resize postMessage events:
- * Jetpack.resizeable( 'off' );
- */
-!function(e){var t,a,i,n,r=!1,o=[],s=!1;void 0===window.Jetpack&&(window.Jetpack={getTarget:function(t){return this instanceof jQuery?t?this.filter(t):this:t?e(t):t}}),void 0===e.fn.Jetpack&&(e.fn.Jetpack=function(t){if("function"==typeof Jetpack[t])return Jetpack[t].apply(this,Array.prototype.slice.call(arguments,1));e.error('Namespace "'+t+'" does not exist on jQuery.Jetpack')}),"function"==typeof window.postMessage?(t=function(e){return e.match(/^https?:\/\//)||(e=document.location.href),e.split("/").slice(0,3).join("/")},a=function(){r=!0,e(window).on("message.JetpackResizeableIframe",function(t){var a,i=t.originalEvent;if(-1!==e.inArray(i.origin,o)){if("object"==typeof i.data)a=i.data.data;else try{a=JSON.parse(i.data)}catch(e){a=!1}a.data&&void 0!==(a=a.data).action&&"resize"===a.action&&s.filter(function(){return void 0!==a.name?this.name===a.name:i.source===this.contentWindow}).first().Jetpack("resizeable","resize",a)}})},i=function(){r=!1,e(window).off("message.JetpackResizeableIframe"),o=[],e(".jetpack-resizeable").removeClass("jetpack-resizeable"),s=!1},n={on:function(i){var n=Jetpack.getTarget.call(this,i);return r||a(),n.each(function(){o.push(t(e(this).attr("src")))}).addClass("jetpack-resizeable"),s=e(".jetpack-resizeable"),n},off:function(a){var n=Jetpack.getTarget.call(this,a);return void 0===n?(i(),n):(n.each(function(){var a=t(e(this).attr("src")),i=e.inArray(a,o);-1!==i&&o.splice(i,1)}).removeClass("jetpack-resizeable"),s=e(".jetpack-resizeable"),n)},resize:function(t,a){var i=Jetpack.getTarget.call(this,a);return e.each(["width","height"],function(e,a){var n,r=0;void 0!==t[a]&&(r=parseInt(t[a],10)),0!==r&&(i[a](r),(n=i.parent()).hasClass("slim-likes-widget")&&n[a](r))}),i}},e.extend(window.Jetpack,{resizeable:function(t){return n[t]?n[t].apply(this,Array.prototype.slice.call(arguments,1)):t?void e.error("Method "+t+" does not exist on Jetpack.resizeable"):n.on.apply(this)}})):e.extend(window.Jetpack,{resizeable:function(){e.error("Browser does not support window.postMessage")}})}(jQuery); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/jquery.spin.min.js b/plugins/jetpack/_inc/build/jquery.spin.min.js
deleted file mode 100644
index 9ac0aba3..00000000
--- a/plugins/jetpack/_inc/build/jquery.spin.min.js
+++ /dev/null
@@ -1,6 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/**
- * Copyright (c) 2011-2013 Felix Gnass
- * Licensed under the MIT license
- */
-!function(e){if("object"==typeof exports)e(require("jquery"),require("spin"));else if("function"==typeof define&&define.amd)define(["jquery","spin"],e);else{if(!window.Spinner)throw new Error("Spin.js not present");e(window.jQuery,window.Spinner)}}(function(e,n){e.fn.spin=function(s,i){return this.each(function(){var t=e(this),r=t.data();if(r.spinner&&(r.spinner.stop(),delete r.spinner),!1!==s){if(void 0!==(s=e.extend({color:i||t.css("color")},e.fn.spin.presets[s]||s)).right&&void 0!==s.length&&void 0!==s.width&&void 0!==s.radius){var p=t.css("padding-left");p=void 0===p?0:parseInt(p,10),s.left=t.outerWidth()-2*(s.length+s.width+s.radius)-p-s.right,delete s.right}r.spinner=new n(s).spin(this)}})},e.fn.spin.presets={tiny:{lines:8,length:2,width:2,radius:3},small:{lines:8,length:4,width:3,radius:5},large:{lines:10,length:8,width:4,radius:8}}}),function(e){e.fn.spin.presets.wp={trail:60,speed:1.3},e.fn.spin.presets.small=e.extend({lines:8,length:2,width:2,radius:3},e.fn.spin.presets.wp),e.fn.spin.presets.medium=e.extend({lines:8,length:4,width:3,radius:5},e.fn.spin.presets.wp),e.fn.spin.presets.large=e.extend({lines:10,length:6,width:4,radius:7},e.fn.spin.presets.wp),e.fn.spin.presets["small-left"]=e.extend({left:5},e.fn.spin.presets.small),e.fn.spin.presets["small-right"]=e.extend({right:5},e.fn.spin.presets.small),e.fn.spin.presets["medium-left"]=e.extend({left:5},e.fn.spin.presets.medium),e.fn.spin.presets["medium-right"]=e.extend({right:5},e.fn.spin.presets.medium),e.fn.spin.presets["large-left"]=e.extend({left:5},e.fn.spin.presets.large),e.fn.spin.presets["large-right"]=e.extend({right:5},e.fn.spin.presets.large)}(jQuery); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/lazy-images/js/lazy-images.min.js b/plugins/jetpack/_inc/build/lazy-images/js/lazy-images.min.js
deleted file mode 100644
index fbdb8060..00000000
--- a/plugins/jetpack/_inc/build/lazy-images/js/lazy-images.min.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/* globals IntersectionObserver, jQuery */
-var jetpackLazyImagesModule=function(t){var e,n,o,i,r={rootMargin:"200px 0px",threshold:.01},s=0;function h(){if(e=document.querySelectorAll("img.jetpack-lazy-image:not(.jetpack-lazy-image--handled)"),s=e.length,n&&n.disconnect(),"IntersectionObserver"in window)for(n=new IntersectionObserver(a,r),i=0;i<e.length;i++)(o=e[i]).getAttribute("data-lazy-loaded")||n.observe(o);else!function(t){var e;for(e=0;e<t.length;e++){var n=t[e];c(n)}}(e)}function a(t){var e;for(0===s&&n.disconnect(),e=0;e<t.length;e++){var o=t[e];o.intersectionRatio>0&&(s--,n.unobserve(o.target),c(o.target))}}function c(e){var n,o,i,r=t(e);r.length&&(n=r.attr("data-lazy-srcset"),o=r.attr("data-lazy-sizes"),(i=r.clone(!0)).removeAttr("data-lazy-srcset"),i.removeAttr("data-lazy-sizes"),i.removeAttr("data-lazy-src"),i.addClass("jetpack-lazy-image--handled"),i.attr("data-lazy-loaded",1),n?i.attr("srcset",n):i.removeAttr("srcset"),o&&i.attr("sizes",o),r.replaceWith(i),i.trigger("jetpack-lazy-loaded-image"))}t(document).ready(function(){h(),t("body").bind("post-load",h),t("body").bind("jetpack-lazy-images-load",h)})};
-/**
- * The following is an Intersection observer polyfill which is licensed under
- * the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE and can be found at:
- * https://github.com/w3c/IntersectionObserver/tree/master/polyfill
- */
-/**
- * Copyright 2016 Google Inc. All Rights Reserved.
- *
- * Licensed under the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE.
- *
- * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
- *
- */
-/**
- * The following is an Intersection observer polyfill which is licensed under
- * the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE and can be found at:
- * https://github.com/w3c/IntersectionObserver/tree/master/polyfill
- */
-/**
- * Copyright 2016 Google Inc. All Rights Reserved.
- *
- * Licensed under the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE.
- *
- * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
- *
- */
-!function(t,e){"use strict";if("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)"isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var n=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},i.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},i.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(r(t,"resize",this._checkForIntersections,!0),r(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),n=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(i){var r=i.element,s=h(r),a=this._rootContainsTarget(r),c=i.entry,u=e&&a&&this._computeTargetAndRootIntersection(r,n),l=i.entry=new o({time:t.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:n,intersectionRect:u});c?e&&a?this._hasCrossedThreshold(c,l)&&this._queuedEntries.push(l):c&&c.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(n,o){if("none"!=t.getComputedStyle(n).display){for(var i,r,s,a,u,l,d,p,g=h(n),f=c(n),v=!1;!v;){var m=null,_=1==f.nodeType?t.getComputedStyle(f):{};if("none"==_.display)return;if(f==this.root||f==e?(v=!0,m=o):f!=e.body&&f!=e.documentElement&&"visible"!=_.overflow&&(m=h(f)),m&&(i=m,r=g,s=void 0,a=void 0,u=void 0,l=void 0,d=void 0,p=void 0,s=Math.max(i.top,r.top),a=Math.min(i.bottom,r.bottom),u=Math.max(i.left,r.left),l=Math.min(i.right,r.right),p=a-s,!(g=(d=l-u)>=0&&p>=0&&{top:s,bottom:a,left:u,right:l,width:d,height:p})))break;f=c(f)}return g}},i.prototype._getRootRect=function(){var t;if(this.root)t=h(this.root);else{var n=e.documentElement,o=e.body;t={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(t)},i.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},i.prototype._rootIsInDom=function(){return!this.root||a(e,this.root)},i.prototype._rootContainsTarget=function(t){return a(this.root||e,t)},i.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},i.prototype._unregisterInstance=function(){var t=n.indexOf(this);-1!=t&&n.splice(t,1)},t.IntersectionObserver=i,t.IntersectionObserverEntry=o}function o(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?i/n:this.isIntersecting?1:0}function i(t,e){var n,o,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout(function(){n(),i=null},o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function r(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function s(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function h(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(t,e){for(var n=e;n;){if(n==t)return!0;n=c(n)}return!1}function c(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e}}(window,document),jetpackLazyImagesModule(jQuery); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/likes/post-count-jetpack.min.asset.php b/plugins/jetpack/_inc/build/likes/post-count-jetpack.min.asset.php
index 449754bd..9d8a56b0 100644
--- a/plugins/jetpack/_inc/build/likes/post-count-jetpack.min.asset.php
+++ b/plugins/jetpack/_inc/build/likes/post-count-jetpack.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '41c75833cd3e8bcec7399c5954a5eb10'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '6f55785ca581dabe28c6');
diff --git a/plugins/jetpack/_inc/build/likes/post-count.min.asset.php b/plugins/jetpack/_inc/build/likes/post-count.min.asset.php
index 56670147..54653a54 100644
--- a/plugins/jetpack/_inc/build/likes/post-count.min.asset.php
+++ b/plugins/jetpack/_inc/build/likes/post-count.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'ec5289cb98fdac64b726fd3ec5ba006b'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '03de2c3f040bf491b317');
diff --git a/plugins/jetpack/_inc/build/likes/queuehandler.min.asset.php b/plugins/jetpack/_inc/build/likes/queuehandler.min.asset.php
index 69170886..8e57aa0f 100644
--- a/plugins/jetpack/_inc/build/likes/queuehandler.min.asset.php
+++ b/plugins/jetpack/_inc/build/likes/queuehandler.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '78bbf5554c10cd339a1c6a3035a2e8be'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'ac1e5cd500fd04cf83fe');
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/aquatic/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/aquatic/colors.css
index 3fde6e9f..c2541bf9 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/aquatic/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/aquatic/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-body{background:#f6f7f7}a{color:#0073aa}a:hover,a:active,a:focus{color:#0096dd}#post-body .misc-pub-post-status:before,#post-body #visibility:before,.curtime #timestamp:before,#post-body .misc-pub-revisions:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:hover,.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#d63638}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover,.media-modal .delete-attachment:focus,.media-modal .trash-attachment:focus,.media-modal .untrash-attachment:focus,.wp-core-ui .button-link-delete:hover,.wp-core-ui .button-link-delete:focus{color:#d63638}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:hover,.wp-core-ui input[type=reset]:active{color:#0096dd}input[type=text]:focus,input[type=password]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=checkbox]:focus,input[type=radio]:focus,select:focus,textarea:focus{border-color:#008763;box-shadow:0 0 0 1px #008763}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#008763;color:#262a2e;box-shadow:inset 0 2px 5px -3px #008763}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#008763;border-color:#008763}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button-secondary:hover{border-color:#00543e;color:#00543e}.wp-core-ui .button.focus,.wp-core-ui .button:focus,.wp-core-ui .button-secondary:focus{border-color:#00ba88;color:#002118;box-shadow:0 0 0 1px #00ba88}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#008763;border-color:#008763;color:#fff}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#00966e;border-color:#007858;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #008763}.wp-core-ui .button-primary:active{background:#006e50;border-color:#006e50;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#008763;color:#fff;border-color:#003b2b;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#008763}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#02395c}.wp-core-ui .wp-ui-text-primary{color:#02395c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#0675c4}.wp-core-ui .wp-ui-text-highlight{color:#0675c4}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#09b585}.wp-core-ui .wp-ui-text-notification{color:#09b585}.wp-core-ui .wp-ui-text-icon{color:#bbe0fa}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #008763;color:#008763}.wrap .page-title-action:hover{color:#00543e;border-color:#00543e}.wrap .page-title-action:focus{border-color:#00ba88;color:#002118;box-shadow:0 0 0 1px #00ba88}.view-switch a.current:before{color:#055d9c}.view-switch a:hover:before{color:#09b585}#adminmenuback,#adminmenuwrap,#adminmenu{background:#055d9c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#bbe0fa}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#0675c4}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#02395c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#02395c}#adminmenu .wp-submenu .wp-submenu-head{color:#fff}#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu .wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a{color:#fff}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover{color:#f0c930}#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#f0c930}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,.folded #adminmenu li.current.menu-top{color:#01283d;background:#f0c930}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before{color:#01283d}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#09b585}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li:hover a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins{color:#fff;background:#02395c}#collapse-button{color:#bbe0fa}#collapse-button:hover,#collapse-button:focus{color:#f0c930}#wpadminbar{color:#fff;background:#055d9c}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before,#wpadminbar .ab-item:after{color:#bbe0fa}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{color:#f0c930;background:#02395c}#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label{color:#f0c930}#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover #adminbarsearch:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#02395c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#0d70b8}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#fff}#wpadminbar .quicklinks li .blavatar,#wpadminbar .menupop .menupop>.ab-item:before{color:#bbe0fa}#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li #adminbarsearch.adminbar-focused:before{color:#f0c930}#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#f0c930}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#bbe0fa}#wpadminbar #adminbarsearch:before{color:#bbe0fa}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#0672bf}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#09b585}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#08a378}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#0672bf;background-color:#0672bf}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f0c930}#wpadminbar #wp-admin-bar-user-info .username{color:#fff}.wp-pointer .wp-pointer-content h3{background-color:#008763;border-color:#006e50}.wp-pointer .wp-pointer-content h3:before{color:#008763}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#008763}.media-item .bar,.media-progress-bar div{background-color:#008763}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #008763}.attachment.details .check{background-color:#008763;box-shadow:0 0 0 1px #fff,0 0 0 2px #008763}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #008763}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:hover:after,.theme-browser .theme.add-new-theme a:focus:after{background:#008763}.theme-browser .theme.add-new-theme a:hover span:after,.theme-browser .theme.add-new-theme a:focus span:after{color:#008763}.theme-section.current,.theme-filter.current{border-bottom-color:#055d9c}body.more-filters-opened .more-filters{color:#fff;background-color:#055d9c}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:hover,body.more-filters-opened .more-filters:focus{background-color:#0675c4;color:#fff}body.more-filters-opened .more-filters:hover:before,body.more-filters-opened .more-filters:focus:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#0675c4;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#bbe0fa}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#0675c4}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#02395c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#bbe0fa}.mce-container.mce-menu .mce-menu-item:hover,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active{background:#008763}#customize-controls .control-section:hover>.accordion-section-title,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section .accordion-section-title:focus{color:#008763;border-left-color:#008763}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{color:#008763;border-top-color:#008763}.customize-panel-back:hover,.customize-panel-back:focus,.customize-section-back:hover,.customize-section-back:focus{color:#008763;border-left-color:#008763}.customize-screen-options-toggle:hover,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.active-menu-screen-options .customize-screen-options-toggle,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus{color:#008763}.wp-customizer .menu-item .submitbox .submitdelete:focus,.customize-screen-options-toggle:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.wp-customizer button:focus .toggle-indicator:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,#available-menu-items .item-add:focus:before{box-shadow:0 0 0 1px #00ba88,0 0 2px 1px #008763}#customize-controls .customize-info.open .customize-help-toggle,#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover{color:#008763}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#008763;color:#008763}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#008763}.control-panel-themes .customize-themes-section-title.selected{color:#008763}#customize-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:focus:after{color:#008763}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#008763;border-style:solid;box-shadow:0 0 0 1px #008763;outline:2px solid transparent}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button.active:hover{border-bottom-color:#008763}.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,.wp-core-ui .wp-full-overlay .collapse-sidebar:focus{color:#008763}.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow{box-shadow:0 0 0 1px #00ba88,0 0 2px 1px #008763}.wp-full-overlay-footer .devices button:hover:before,.wp-full-overlay-footer .devices button:focus:before{color:#008763}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#02395c !important}.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{background:#01283d}#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .current div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before{color:#01283d}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #02395c}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#001621}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#01283d}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#001621 !important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #044b7a;border-top:1px solid #044b7a}.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover{background:#055d9c}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#fff}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#bbe0fa}.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#f0c930}.admin-color-aquatic .site__info .site__title::after,.admin-color-aquatic .site__info .site__domain::after,.admin-color-classic-blue .site__info .site__title::after,.admin-color-classic-blue .site__info .site__domain::after,.admin-color-classic-bright .site__info .site__title::after,.admin-color-classic-bright .site__info .site__domain::after,.admin-color-classic-dark .site__info .site__title::after,.admin-color-classic-dark .site__info .site__domain::after,.admin-color-contrast .site__info .site__title::after,.admin-color-contrast .site__info .site__domain::after,.admin-color-nightfall .site__info .site__title::after,.admin-color-nightfall .site__info .site__domain::after,.admin-color-powder-snow .site__info .site__title::after,.admin-color-powder-snow .site__info .site__domain::after,.admin-color-sakura .site__info .site__title::after,.admin-color-sakura .site__info .site__domain::after,.admin-color-sunset .site__info .site__title::after,.admin-color-sunset .site__info .site__domain::after{background:linear-gradient(90deg, rgba(5, 93, 156, 0), #055d9c 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher{color:#bbe0fa}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#bbe0fa}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-contrast #adminmenuback{outline:1px solid #044b7a}.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338 !important}body{--wp-admin-theme-color: #008763;--wp-admin-theme-color-darker-10: #006e50;--wp-admin-theme-color-darker-20: #00543e}.a8c-faux-inline-help{--color-primary: #0675c4;--color-primary-dark: #044b7a;--color-primary-light: #399ce3;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#008763;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#007053} \ No newline at end of file
+/* NOAUTORTL */body{background:#f6f7f7}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#d63638}input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked:before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#008763;box-shadow:0 0 0 1px #008763}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;box-shadow:0 0 0 1px #32373c;color:#262a2e}.wp-core-ui .button:active{border-color:#7e8993;box-shadow:none;color:#262a2e}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#008763;box-shadow:inset 0 2px 5px -3px #008763;color:#262a2e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{border-color:#008763;color:#008763}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#00543e;color:#00543e}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#00ba88;box-shadow:0 0 0 1px #00ba88;color:#002118}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#008763;border-color:#008763;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#00966e;border-color:#007858;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #008763}.wp-core-ui .button-primary:active{background:#006e50;border-color:#006e50;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#008763;border-color:#003b2b;box-shadow:inset 0 2px 5px -3px #000;color:#fff}.wp-core-ui .button-group>.button.active{border-color:#008763}.wp-core-ui .wp-ui-primary{background-color:#02395c;color:#fff}.wp-core-ui .wp-ui-text-primary{color:#02395c}.wp-core-ui .wp-ui-highlight{background-color:#0675c4;color:#fff}.wp-core-ui .wp-ui-text-highlight{color:#0675c4}.wp-core-ui .wp-ui-notification{background-color:#09b585;color:#fff}.wp-core-ui .wp-ui-text-notification{color:#09b585}.wp-core-ui .wp-ui-text-icon{color:#bbe0fa}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #008763;color:#008763}.wrap .page-title-action:hover{border-color:#00543e;color:#00543e}.wrap .page-title-action:focus{border-color:#00ba88;box-shadow:0 0 0 1px #00ba88;color:#002118}.view-switch a.current:before{color:#055d9c}.view-switch a:hover:before{color:#09b585}#adminmenu,#adminmenuback,#adminmenuwrap{background:#055d9c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#bbe0fa}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{background-color:#0675c4;color:#fff}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#02395c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#02395c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#fff}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#f0c930}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f0c930}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{background:#f0c930;color:#01283d}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#01283d}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background:#09b585;color:#fff}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{background:#02395c;color:#fff}#collapse-button{color:#bbe0fa}#collapse-button:focus,#collapse-button:hover{color:#f0c930}#wpadminbar{background:#055d9c;color:#fff}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#bbe0fa}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#02395c;color:#f0c930}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#f0c930}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#02395c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#0d70b8}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#fff}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#bbe0fa}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f0c930}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#bbe0fa}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background:#0672bf;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode{background-color:#09b585;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{background-color:#08a378;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{background-color:#0672bf;border-color:#0672bf}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f0c930}#wpadminbar #wp-admin-bar-user-info .username{color:#fff}.wp-pointer .wp-pointer-content h3{background-color:#008763;border-color:#006e50}.wp-pointer .wp-pointer-content h3:before{color:#008763}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#008763}.media-item .bar,.media-progress-bar div{background-color:#008763}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #008763}.attachment.details .check{background-color:#008763;box-shadow:0 0 0 1px #fff,0 0 0 2px #008763}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #008763}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#008763}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#008763}.theme-filter.current,.theme-section.current{border-bottom-color:#055d9c}body.more-filters-opened .more-filters{background-color:#055d9c;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#0675c4;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#0675c4;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#bbe0fa}.wp-responsive-open div#wp-responsive-toggle a{background:#0675c4;border-color:transparent}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#02395c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#bbe0fa}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#008763}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{border-left-color:#008763;color:#008763}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{border-top-color:#008763;color:#008763}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{border-left-color:#008763;color:#008763}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#008763}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #00ba88,0 0 2px 1px #008763}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#008763}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#008763;color:#008763}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#008763}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after,.control-panel-themes .customize-themes-section-title.selected{color:#008763}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#008763;border-style:solid;box-shadow:0 0 0 1px #008763;outline:2px solid transparent}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#008763}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#008763}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #00ba88,0 0 2px 1px #008763}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#008763}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#02395c!important}.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#01283d}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#01283d}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #02395c}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#001621}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#01283d}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#001621!important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #044b7a;border-top:1px solid #044b7a}.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover{background:#055d9c}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#fff}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#bbe0fa}.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#f0c930}.admin-color-aquatic .site__info .site__domain:after,.admin-color-aquatic .site__info .site__title:after,.admin-color-classic-blue .site__info .site__domain:after,.admin-color-classic-blue .site__info .site__title:after,.admin-color-classic-bright .site__info .site__domain:after,.admin-color-classic-bright .site__info .site__title:after,.admin-color-classic-dark .site__info .site__domain:after,.admin-color-classic-dark .site__info .site__title:after,.admin-color-contrast .site__info .site__domain:after,.admin-color-contrast .site__info .site__title:after,.admin-color-nightfall .site__info .site__domain:after,.admin-color-nightfall .site__info .site__title:after,.admin-color-powder-snow .site__info .site__domain:after,.admin-color-powder-snow .site__info .site__title:after,.admin-color-sakura .site__info .site__domain:after,.admin-color-sakura .site__info .site__title:after,.admin-color-sunset .site__info .site__domain:after,.admin-color-sunset .site__info .site__title:after{background:linear-gradient(90deg,rgba(5,93,156,0),#055d9c 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#bbe0fa}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-contrast #adminmenuback{outline:1px solid #044b7a}.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338!important}body{--wp-admin-theme-color:#008763;--wp-admin-theme-color-darker-10:#006e50;--wp-admin-theme-color-darker-20:#00543e}.a8c-faux-inline-help{--color-primary:#0675c4;--color-primary-dark:#044b7a;--color-primary-light:#399ce3;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#008763;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#007053} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/blue/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/blue/colors.css
index 3e9c9ff7..1dfdf891 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/blue/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/blue/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#52accc;box-shadow:inset 0 -1px 0 #4796b3}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#4796b3;color:#fff !important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff !important}.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item{background:#4796b3 !important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher{color:#e2ecf1}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#e2ecf1}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #4796b3;border-top:1px solid #4796b3}.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#096484}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#e2ecf1}.admin-color-blue .site__info .site__title::after,.admin-color-blue .site__info .site__domain::after,.admin-color-coffee .site__info .site__title::after,.admin-color-coffee .site__info .site__domain::after,.admin-color-ectoplasm .site__info .site__title::after,.admin-color-ectoplasm .site__info .site__domain::after,.admin-color-fresh .site__info .site__title::after,.admin-color-fresh .site__info .site__domain::after,.admin-color-light .site__info .site__title::after,.admin-color-light .site__info .site__domain::after,.admin-color-midnight .site__info .site__title::after,.admin-color-midnight .site__info .site__domain::after,.admin-color-modern .site__info .site__title::after,.admin-color-modern .site__info .site__domain::after,.admin-color-ocean .site__info .site__title::after,.admin-color-ocean .site__info .site__domain::after,.admin-color-sunrise .site__info .site__title::after,.admin-color-sunrise .site__info .site__domain::after{background:linear-gradient(90deg, rgba(82, 172, 204, 0), #52accc 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#096484;color:#fff}.a8c-faux-inline-help{--color-primary: #096484;--color-primary-dark: #044b7a;--color-primary-light: #399ce3;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#096484;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
+/* NOAUTORTL */.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#52accc;box-shadow:inset 0 -1px 0 #4796b3}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#4796b3;color:#fff!important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff!important}.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item{background:#4796b3!important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#e2ecf1}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #4796b3;border-top:1px solid #4796b3}.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#096484}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#e2ecf1}.admin-color-blue .site__info .site__domain:after,.admin-color-blue .site__info .site__title:after,.admin-color-coffee .site__info .site__domain:after,.admin-color-coffee .site__info .site__title:after,.admin-color-ectoplasm .site__info .site__domain:after,.admin-color-ectoplasm .site__info .site__title:after,.admin-color-fresh .site__info .site__domain:after,.admin-color-fresh .site__info .site__title:after,.admin-color-light .site__info .site__domain:after,.admin-color-light .site__info .site__title:after,.admin-color-midnight .site__info .site__domain:after,.admin-color-midnight .site__info .site__title:after,.admin-color-modern .site__info .site__domain:after,.admin-color-modern .site__info .site__title:after,.admin-color-ocean .site__info .site__domain:after,.admin-color-ocean .site__info .site__title:after,.admin-color-sunrise .site__info .site__domain:after,.admin-color-sunrise .site__info .site__title:after{background:linear-gradient(90deg,rgba(82,172,204,0),#52accc 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#096484;color:#fff}body{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}.a8c-faux-inline-help{--color-primary:#096484;--color-primary-dark:#044b7a;--color-primary-light:#399ce3;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#096484;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-blue/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-blue/colors.css
index 4a2a5135..8bd976f9 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-blue/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-blue/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-body{background:#f6f7f7}a{color:#0073aa}a:hover,a:active,a:focus{color:#0096dd}#post-body .misc-pub-post-status:before,#post-body #visibility:before,.curtime #timestamp:before,#post-body .misc-pub-revisions:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:hover,.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#d63638}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover,.media-modal .delete-attachment:focus,.media-modal .trash-attachment:focus,.media-modal .untrash-attachment:focus,.wp-core-ui .button-link-delete:hover,.wp-core-ui .button-link-delete:focus{color:#d63638}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:hover,.wp-core-ui input[type=reset]:active{color:#0096dd}input[type=text]:focus,input[type=password]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=checkbox]:focus,input[type=radio]:focus,select:focus,textarea:focus{border-color:#b26200;box-shadow:0 0 0 1px #b26200}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#b26200;color:#262a2e;box-shadow:inset 0 2px 5px -3px #b26200}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#b26200;border-color:#b26200}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button-secondary:hover{border-color:#7f4600;color:#7f4600}.wp-core-ui .button.focus,.wp-core-ui .button:focus,.wp-core-ui .button-secondary:focus{border-color:#e57e00;color:#4c2a00;box-shadow:0 0 0 1px #e57e00}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#b26200;border-color:#b26200;color:#fff}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#c16a00;border-color:#a35a00;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #b26200}.wp-core-ui .button-primary:active{background:#995400;border-color:#995400;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#b26200;color:#fff;border-color:#663800;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#b26200}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#055d9c}.wp-core-ui .wp-ui-text-primary{color:#055d9c}.wp-core-ui .wp-ui-highlight{color:#0675c4;background-color:#fff}.wp-core-ui .wp-ui-text-highlight{color:#fff}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#e68b28}.wp-core-ui .wp-ui-text-notification{color:#e68b28}.wp-core-ui .wp-ui-text-icon{color:#646970}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #b26200;color:#b26200}.wrap .page-title-action:hover{color:#7f4600;border-color:#7f4600}.wrap .page-title-action:focus{border-color:#e57e00;color:#4c2a00;box-shadow:0 0 0 1px #e57e00}.view-switch a.current:before{color:#dcdcde}.view-switch a:hover:before{color:#e68b28}#adminmenuback,#adminmenuwrap,#adminmenu{background:#dcdcde}#adminmenu a{color:#2c3338}#adminmenu div.wp-menu-image:before{color:#646970}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#0675c4;background-color:#fff}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#0675c4}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#055d9c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#055d9c}#adminmenu .wp-submenu .wp-submenu-head{color:#fff}#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu .wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a{color:#fff}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover{color:#e68b28}#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#e68b28}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,.folded #adminmenu li.current.menu-top{color:#fff;background:#50575e}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#e68b28}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li:hover a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins{color:#fff;background:#055d9c}#collapse-button{color:#646970}#collapse-button:hover,#collapse-button:focus{color:#e68b28}#wpadminbar{color:#2c3338;background:#dcdcde}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#2c3338}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before,#wpadminbar .ab-item:after{color:#646970}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{color:#e68b28;background:#055d9c}#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label{color:#e68b28}#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover #adminbarsearch:before{color:#0675c4}#wpadminbar .menupop .ab-sub-wrapper{background:#055d9c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#efefef}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#fff}#wpadminbar .quicklinks li .blavatar,#wpadminbar .menupop .menupop>.ab-item:before{color:#646970}#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li #adminbarsearch.adminbar-focused:before{color:#e68b28}#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#e68b28}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#646970}#wpadminbar #adminbarsearch:before{color:#646970}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#2c3338;background:#eeeeef}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#e68b28}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#cf7d24}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#eeeeef;background-color:#eeeeef}#wpadminbar #wp-admin-bar-user-info .display-name{color:#2c3338}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e68b28}#wpadminbar #wp-admin-bar-user-info .username{color:#fff}.wp-pointer .wp-pointer-content h3{background-color:#b26200;border-color:#995400}.wp-pointer .wp-pointer-content h3:before{color:#b26200}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#b26200}.media-item .bar,.media-progress-bar div{background-color:#b26200}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #b26200}.attachment.details .check{background-color:#b26200;box-shadow:0 0 0 1px #fff,0 0 0 2px #b26200}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #b26200}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:hover:after,.theme-browser .theme.add-new-theme a:focus:after{background:#b26200}.theme-browser .theme.add-new-theme a:hover span:after,.theme-browser .theme.add-new-theme a:focus span:after{color:#b26200}.theme-section.current,.theme-filter.current{border-bottom-color:#dcdcde}body.more-filters-opened .more-filters{color:#2c3338;background-color:#dcdcde}body.more-filters-opened .more-filters:before{color:#2c3338}body.more-filters-opened .more-filters:hover,body.more-filters-opened .more-filters:focus{background-color:#fff;color:#0675c4}body.more-filters-opened .more-filters:hover:before,body.more-filters-opened .more-filters:focus:before{color:#0675c4}.widgets-chooser li.widgets-chooser-selected{background-color:#fff;color:#0675c4}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#0675c4}div#wp-responsive-toggle a:before{color:#646970}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#055d9c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#646970}.mce-container.mce-menu .mce-menu-item:hover,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active{background:#b26200}#customize-controls .control-section:hover>.accordion-section-title,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section .accordion-section-title:focus{color:#b26200;border-left-color:#b26200}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{color:#b26200;border-top-color:#b26200}.customize-panel-back:hover,.customize-panel-back:focus,.customize-section-back:hover,.customize-section-back:focus{color:#b26200;border-left-color:#b26200}.customize-screen-options-toggle:hover,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.active-menu-screen-options .customize-screen-options-toggle,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus{color:#b26200}.wp-customizer .menu-item .submitbox .submitdelete:focus,.customize-screen-options-toggle:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.wp-customizer button:focus .toggle-indicator:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,#available-menu-items .item-add:focus:before{box-shadow:0 0 0 1px #e57e00,0 0 2px 1px #b26200}#customize-controls .customize-info.open .customize-help-toggle,#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover{color:#b26200}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#b26200;color:#b26200}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#b26200}.control-panel-themes .customize-themes-section-title.selected{color:#b26200}#customize-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:focus:after{color:#b26200}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#b26200;border-style:solid;box-shadow:0 0 0 1px #b26200;outline:2px solid transparent}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button.active:hover{border-bottom-color:#b26200}.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,.wp-core-ui .wp-full-overlay .collapse-sidebar:focus{color:#b26200}.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e57e00,0 0 2px 1px #b26200}.wp-full-overlay-footer .devices button:hover:before,.wp-full-overlay-footer .devices button:focus:before{color:#b26200}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#055d9c !important}.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{background:#044b7a}#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .current div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #055d9c}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#01283d}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#044b7a}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#01283d !important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #c3c4c7;border-top:1px solid #c3c4c7}.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover{background:#dcdcde}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#2c3338}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#646970}.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#50575e}.admin-color-aquatic .site__info .site__title::after,.admin-color-aquatic .site__info .site__domain::after,.admin-color-classic-blue .site__info .site__title::after,.admin-color-classic-blue .site__info .site__domain::after,.admin-color-classic-bright .site__info .site__title::after,.admin-color-classic-bright .site__info .site__domain::after,.admin-color-classic-dark .site__info .site__title::after,.admin-color-classic-dark .site__info .site__domain::after,.admin-color-contrast .site__info .site__title::after,.admin-color-contrast .site__info .site__domain::after,.admin-color-nightfall .site__info .site__title::after,.admin-color-nightfall .site__info .site__domain::after,.admin-color-powder-snow .site__info .site__title::after,.admin-color-powder-snow .site__info .site__domain::after,.admin-color-sakura .site__info .site__title::after,.admin-color-sakura .site__info .site__domain::after,.admin-color-sunset .site__info .site__title::after,.admin-color-sunset .site__info .site__domain::after{background:linear-gradient(90deg, rgba(220, 220, 222, 0), #dcdcde 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher{color:#646970}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#646970}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#0675c4}.admin-color-contrast #adminmenuback{outline:1px solid #c3c4c7}.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338 !important}body{--wp-admin-theme-color: #b26200;--wp-admin-theme-color-darker-10: #995400;--wp-admin-theme-color-darker-20: #7f4600}.a8c-faux-inline-help{--color-primary: #0675c4;--color-primary-dark: #044b7a;--color-primary-light: #399ce3;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#b26200;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#8a4d00} \ No newline at end of file
+/* NOAUTORTL */body{background:#f6f7f7}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#d63638}input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked:before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#b26200;box-shadow:0 0 0 1px #b26200}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;box-shadow:0 0 0 1px #32373c;color:#262a2e}.wp-core-ui .button:active{border-color:#7e8993;box-shadow:none;color:#262a2e}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#b26200;box-shadow:inset 0 2px 5px -3px #b26200;color:#262a2e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{border-color:#b26200;color:#b26200}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#7f4600;color:#7f4600}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#e57e00;box-shadow:0 0 0 1px #e57e00;color:#4c2a00}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#b26200;border-color:#b26200;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#c16a00;border-color:#a35a00;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #b26200}.wp-core-ui .button-primary:active{background:#995400;border-color:#995400;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#b26200;border-color:#663800;box-shadow:inset 0 2px 5px -3px #000;color:#fff}.wp-core-ui .button-group>.button.active{border-color:#b26200}.wp-core-ui .wp-ui-primary{background-color:#055d9c;color:#fff}.wp-core-ui .wp-ui-text-primary{color:#055d9c}.wp-core-ui .wp-ui-highlight{background-color:#fff;color:#0675c4}.wp-core-ui .wp-ui-text-highlight{color:#fff}.wp-core-ui .wp-ui-notification{background-color:#e68b28;color:#fff}.wp-core-ui .wp-ui-text-notification{color:#e68b28}.wp-core-ui .wp-ui-text-icon{color:#646970}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #b26200;color:#b26200}.wrap .page-title-action:hover{border-color:#7f4600;color:#7f4600}.wrap .page-title-action:focus{border-color:#e57e00;box-shadow:0 0 0 1px #e57e00;color:#4c2a00}.view-switch a.current:before{color:#dcdcde}.view-switch a:hover:before{color:#e68b28}#adminmenu,#adminmenuback,#adminmenuwrap{background:#dcdcde}#adminmenu a{color:#2c3338}#adminmenu div.wp-menu-image:before{color:#646970}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{background-color:#fff;color:#0675c4}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#0675c4}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#055d9c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#055d9c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#fff}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#e68b28}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#e68b28}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{background:#50575e;color:#fff}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background:#e68b28;color:#fff}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{background:#055d9c;color:#fff}#collapse-button{color:#646970}#collapse-button:focus,#collapse-button:hover{color:#e68b28}#wpadminbar{background:#dcdcde}#wpadminbar,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#2c3338}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#646970}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#055d9c;color:#e68b28}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#e68b28}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#0675c4}#wpadminbar .menupop .ab-sub-wrapper{background:#055d9c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#efefef}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#fff}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#646970}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#e68b28}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#646970}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background:#eeeeef;color:#2c3338}#wpadminbar #wp-admin-bar-recovery-mode{background-color:#e68b28;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{background-color:#cf7d24;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{background-color:#eeeeef;border-color:#eeeeef}#wpadminbar #wp-admin-bar-user-info .display-name{color:#2c3338}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e68b28}#wpadminbar #wp-admin-bar-user-info .username{color:#fff}.wp-pointer .wp-pointer-content h3{background-color:#b26200;border-color:#995400}.wp-pointer .wp-pointer-content h3:before{color:#b26200}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#b26200}.media-item .bar,.media-progress-bar div{background-color:#b26200}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #b26200}.attachment.details .check{background-color:#b26200;box-shadow:0 0 0 1px #fff,0 0 0 2px #b26200}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #b26200}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#b26200}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#b26200}.theme-filter.current,.theme-section.current{border-bottom-color:#dcdcde}body.more-filters-opened .more-filters{background-color:#dcdcde;color:#2c3338}body.more-filters-opened .more-filters:before{color:#2c3338}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#fff;color:#0675c4}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#0675c4}.widgets-chooser li.widgets-chooser-selected{background-color:#fff;color:#0675c4}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#0675c4}div#wp-responsive-toggle a:before{color:#646970}.wp-responsive-open div#wp-responsive-toggle a{background:#fff;border-color:transparent}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#055d9c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#646970}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#b26200}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{border-left-color:#b26200;color:#b26200}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{border-top-color:#b26200;color:#b26200}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{border-left-color:#b26200;color:#b26200}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#b26200}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #e57e00,0 0 2px 1px #b26200}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#b26200}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#b26200;color:#b26200}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#b26200}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after,.control-panel-themes .customize-themes-section-title.selected{color:#b26200}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#b26200;border-style:solid;box-shadow:0 0 0 1px #b26200;outline:2px solid transparent}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#b26200}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#b26200}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e57e00,0 0 2px 1px #b26200}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#b26200}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#055d9c!important}.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#044b7a}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #055d9c}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#01283d}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#044b7a}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#01283d!important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #c3c4c7;border-top:1px solid #c3c4c7}.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover{background:#dcdcde}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#2c3338}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#646970}.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#50575e}.admin-color-aquatic .site__info .site__domain:after,.admin-color-aquatic .site__info .site__title:after,.admin-color-classic-blue .site__info .site__domain:after,.admin-color-classic-blue .site__info .site__title:after,.admin-color-classic-bright .site__info .site__domain:after,.admin-color-classic-bright .site__info .site__title:after,.admin-color-classic-dark .site__info .site__domain:after,.admin-color-classic-dark .site__info .site__title:after,.admin-color-contrast .site__info .site__domain:after,.admin-color-contrast .site__info .site__title:after,.admin-color-nightfall .site__info .site__domain:after,.admin-color-nightfall .site__info .site__title:after,.admin-color-powder-snow .site__info .site__domain:after,.admin-color-powder-snow .site__info .site__title:after,.admin-color-sakura .site__info .site__domain:after,.admin-color-sakura .site__info .site__title:after,.admin-color-sunset .site__info .site__domain:after,.admin-color-sunset .site__info .site__title:after{background:linear-gradient(90deg,hsla(240,3%,87%,0),#dcdcde 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#646970}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#0675c4}.admin-color-contrast #adminmenuback{outline:1px solid #c3c4c7}.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338!important}body{--wp-admin-theme-color:#b26200;--wp-admin-theme-color-darker-10:#995400;--wp-admin-theme-color-darker-20:#7f4600}.a8c-faux-inline-help{--color-primary:#0675c4;--color-primary-dark:#044b7a;--color-primary-light:#399ce3;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#b26200;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#8a4d00} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-bright/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-bright/colors.css
index 5562be4e..564a9e81 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-bright/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-bright/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-body{background:#f6f7f7}a{color:#0073aa}a:hover,a:active,a:focus{color:#0096dd}#post-body .misc-pub-post-status:before,#post-body #visibility:before,.curtime #timestamp:before,#post-body .misc-pub-revisions:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:hover,.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#d63638}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover,.media-modal .delete-attachment:focus,.media-modal .trash-attachment:focus,.media-modal .untrash-attachment:focus,.wp-core-ui .button-link-delete:hover,.wp-core-ui .button-link-delete:focus{color:#d63638}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:hover,.wp-core-ui input[type=reset]:active{color:#0096dd}input[type=text]:focus,input[type=password]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=checkbox]:focus,input[type=radio]:focus,select:focus,textarea:focus{border-color:#c9356e;box-shadow:0 0 0 1px #c9356e}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#c9356e;color:#262a2e;box-shadow:inset 0 2px 5px -3px #c9356e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#c9356e;border-color:#c9356e}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button-secondary:hover{border-color:#a12a58;color:#a12a58}.wp-core-ui .button.focus,.wp-core-ui .button:focus,.wp-core-ui .button-secondary:focus{border-color:#d45d8b;color:#782042;box-shadow:0 0 0 1px #d45d8b}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#c9356e;border-color:#c9356e;color:#fff}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#cd4177;border-color:#bd3267;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #c9356e}.wp-core-ui .button-primary:active{background:#b53063;border-color:#b53063;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#c9356e;color:#fff;border-color:#8c254d;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#c9356e}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#055d9c}.wp-core-ui .wp-ui-text-primary{color:#055d9c}.wp-core-ui .wp-ui-highlight{color:#1d2327;background-color:#dcdcde}.wp-core-ui .wp-ui-text-highlight{color:#dcdcde}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#f283aa}.wp-core-ui .wp-ui-text-notification{color:#f283aa}.wp-core-ui .wp-ui-text-icon{color:#646970}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #c9356e;color:#c9356e}.wrap .page-title-action:hover{color:#a12a58;border-color:#a12a58}.wrap .page-title-action:focus{border-color:#d45d8b;color:#782042;box-shadow:0 0 0 1px #d45d8b}.view-switch a.current:before{color:#fff}.view-switch a:hover:before{color:#f283aa}#adminmenuback,#adminmenuwrap,#adminmenu{background:#fff}#adminmenu a{color:#2c3338}#adminmenu div.wp-menu-image:before{color:#646970}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#1d2327;background-color:#dcdcde}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#1d2327}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#e9f0f5}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#e9f0f5}#adminmenu .wp-submenu .wp-submenu-head{color:#044b7a}#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu .wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a{color:#044b7a}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover{color:#c9356e}#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a{color:#c9356e}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#c9356e}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,.folded #adminmenu li.current.menu-top{color:#044b7a;background:#bbe0fa}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before{color:#044b7a}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#f283aa}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li:hover a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins{color:#fff;background:#e9f0f5}#collapse-button{color:#646970}#collapse-button:hover,#collapse-button:focus{color:#c9356e}#wpadminbar{color:#2c3338;background:#fff}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#2c3338}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before,#wpadminbar .ab-item:after{color:#646970}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{color:#c9356e;background:#e9f0f5}#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label{color:#c9356e}#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover #adminbarsearch:before{color:#1d2327}#wpadminbar .menupop .ab-sub-wrapper{background:#e9f0f5}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#fff}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#044b7a}#wpadminbar .quicklinks li .blavatar,#wpadminbar .menupop .menupop>.ab-item:before{color:#646970}#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li #adminbarsearch.adminbar-focused:before{color:#c9356e}#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#c9356e}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#646970}#wpadminbar #adminbarsearch:before{color:#646970}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#2c3338;background:#fff}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#f283aa}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#da7699}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#fff;background-color:#fff}#wpadminbar #wp-admin-bar-user-info .display-name{color:#2c3338}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c9356e}#wpadminbar #wp-admin-bar-user-info .username{color:#044b7a}.wp-pointer .wp-pointer-content h3{background-color:#c9356e;border-color:#b53063}.wp-pointer .wp-pointer-content h3:before{color:#c9356e}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c9356e}.media-item .bar,.media-progress-bar div{background-color:#c9356e}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c9356e}.attachment.details .check{background-color:#c9356e;box-shadow:0 0 0 1px #fff,0 0 0 2px #c9356e}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #c9356e}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:hover:after,.theme-browser .theme.add-new-theme a:focus:after{background:#c9356e}.theme-browser .theme.add-new-theme a:hover span:after,.theme-browser .theme.add-new-theme a:focus span:after{color:#c9356e}.theme-section.current,.theme-filter.current{border-bottom-color:#fff}body.more-filters-opened .more-filters{color:#2c3338;background-color:#fff}body.more-filters-opened .more-filters:before{color:#2c3338}body.more-filters-opened .more-filters:hover,body.more-filters-opened .more-filters:focus{background-color:#dcdcde;color:#1d2327}body.more-filters-opened .more-filters:hover:before,body.more-filters-opened .more-filters:focus:before{color:#1d2327}.widgets-chooser li.widgets-chooser-selected{background-color:#dcdcde;color:#1d2327}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#1d2327}div#wp-responsive-toggle a:before{color:#646970}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#dcdcde}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#e9f0f5}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#646970}.mce-container.mce-menu .mce-menu-item:hover,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active{background:#c9356e}#customize-controls .control-section:hover>.accordion-section-title,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section .accordion-section-title:focus{color:#c9356e;border-left-color:#c9356e}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{color:#c9356e;border-top-color:#c9356e}.customize-panel-back:hover,.customize-panel-back:focus,.customize-section-back:hover,.customize-section-back:focus{color:#c9356e;border-left-color:#c9356e}.customize-screen-options-toggle:hover,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.active-menu-screen-options .customize-screen-options-toggle,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus{color:#c9356e}.wp-customizer .menu-item .submitbox .submitdelete:focus,.customize-screen-options-toggle:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.wp-customizer button:focus .toggle-indicator:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,#available-menu-items .item-add:focus:before{box-shadow:0 0 0 1px #d45d8b,0 0 2px 1px #c9356e}#customize-controls .customize-info.open .customize-help-toggle,#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover{color:#c9356e}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#c9356e;color:#c9356e}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#c9356e}.control-panel-themes .customize-themes-section-title.selected{color:#c9356e}#customize-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:focus:after{color:#c9356e}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#c9356e;border-style:solid;box-shadow:0 0 0 1px #c9356e;outline:2px solid transparent}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button.active:hover{border-bottom-color:#c9356e}.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,.wp-core-ui .wp-full-overlay .collapse-sidebar:focus{color:#c9356e}.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow{box-shadow:0 0 0 1px #d45d8b,0 0 2px 1px #c9356e}.wp-full-overlay-footer .devices button:hover:before,.wp-full-overlay-footer .devices button:focus:before{color:#c9356e}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#055d9c !important}.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{background:#044b7a}#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .current div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before{color:#044b7a}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#c9356e}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #055d9c}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#01283d}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#044b7a}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#01283d !important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #dcdcde;border-top:1px solid #dcdcde}.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover{background:#fff}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#2c3338}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#646970}.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#bbe0fa}.admin-color-aquatic .site__info .site__title::after,.admin-color-aquatic .site__info .site__domain::after,.admin-color-classic-blue .site__info .site__title::after,.admin-color-classic-blue .site__info .site__domain::after,.admin-color-classic-bright .site__info .site__title::after,.admin-color-classic-bright .site__info .site__domain::after,.admin-color-classic-dark .site__info .site__title::after,.admin-color-classic-dark .site__info .site__domain::after,.admin-color-contrast .site__info .site__title::after,.admin-color-contrast .site__info .site__domain::after,.admin-color-nightfall .site__info .site__title::after,.admin-color-nightfall .site__info .site__domain::after,.admin-color-powder-snow .site__info .site__title::after,.admin-color-powder-snow .site__info .site__domain::after,.admin-color-sakura .site__info .site__title::after,.admin-color-sakura .site__info .site__domain::after,.admin-color-sunset .site__info .site__title::after,.admin-color-sunset .site__info .site__domain::after{background:linear-gradient(90deg, rgba(255, 255, 255, 0), white 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher{color:#646970}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#646970}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#1d2327}.admin-color-contrast #adminmenuback{outline:1px solid #dcdcde}.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338 !important}body{--wp-admin-theme-color: #c9356e;--wp-admin-theme-color-darker-10: #b53063;--wp-admin-theme-color-darker-20: #a12a58}.a8c-faux-inline-help{--color-primary: #0675c4;--color-primary-dark: #044b7a;--color-primary-light: #399ce3;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#2c3338;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#c9356e;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#ab235a} \ No newline at end of file
+/* NOAUTORTL */body{background:#f6f7f7}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#d63638}input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked:before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#c9356e;box-shadow:0 0 0 1px #c9356e}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;box-shadow:0 0 0 1px #32373c;color:#262a2e}.wp-core-ui .button:active{border-color:#7e8993;box-shadow:none;color:#262a2e}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#c9356e;box-shadow:inset 0 2px 5px -3px #c9356e;color:#262a2e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{border-color:#c9356e;color:#c9356e}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#a12a58;color:#a12a58}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#d45d8b;box-shadow:0 0 0 1px #d45d8b;color:#782042}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#c9356e;border-color:#c9356e;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#cd4177;border-color:#bd3267;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #c9356e}.wp-core-ui .button-primary:active{background:#b53063;border-color:#b53063;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#c9356e;border-color:#8c254d;box-shadow:inset 0 2px 5px -3px #000;color:#fff}.wp-core-ui .button-group>.button.active{border-color:#c9356e}.wp-core-ui .wp-ui-primary{background-color:#055d9c;color:#fff}.wp-core-ui .wp-ui-text-primary{color:#055d9c}.wp-core-ui .wp-ui-highlight{background-color:#dcdcde;color:#1d2327}.wp-core-ui .wp-ui-text-highlight{color:#dcdcde}.wp-core-ui .wp-ui-notification{background-color:#f283aa;color:#fff}.wp-core-ui .wp-ui-text-notification{color:#f283aa}.wp-core-ui .wp-ui-text-icon{color:#646970}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #c9356e;color:#c9356e}.wrap .page-title-action:hover{border-color:#a12a58;color:#a12a58}.wrap .page-title-action:focus{border-color:#d45d8b;box-shadow:0 0 0 1px #d45d8b;color:#782042}.view-switch a.current:before{color:#fff}.view-switch a:hover:before{color:#f283aa}#adminmenu,#adminmenuback,#adminmenuwrap{background:#fff}#adminmenu a{color:#2c3338}#adminmenu div.wp-menu-image:before{color:#646970}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{background-color:#dcdcde;color:#1d2327}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#1d2327}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#e9f0f5}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#e9f0f5}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#044b7a}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#c9356e}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{background:#bbe0fa;color:#044b7a}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#044b7a}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background:#f283aa;color:#fff}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{background:#e9f0f5;color:#fff}#collapse-button{color:#646970}#collapse-button:focus,#collapse-button:hover{color:#c9356e}#wpadminbar{background:#fff}#wpadminbar,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#2c3338}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#646970}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#e9f0f5;color:#c9356e}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#c9356e}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#1d2327}#wpadminbar .menupop .ab-sub-wrapper{background:#e9f0f5}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#fff}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#044b7a}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#646970}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#c9356e}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#646970}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background:#fff;color:#2c3338}#wpadminbar #wp-admin-bar-recovery-mode{background-color:#f283aa;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{background-color:#da7699;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{background-color:#fff;border-color:#fff}#wpadminbar #wp-admin-bar-user-info .display-name{color:#2c3338}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c9356e}#wpadminbar #wp-admin-bar-user-info .username{color:#044b7a}.wp-pointer .wp-pointer-content h3{background-color:#c9356e;border-color:#b53063}.wp-pointer .wp-pointer-content h3:before{color:#c9356e}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c9356e}.media-item .bar,.media-progress-bar div{background-color:#c9356e}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c9356e}.attachment.details .check{background-color:#c9356e;box-shadow:0 0 0 1px #fff,0 0 0 2px #c9356e}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #c9356e}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#c9356e}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#c9356e}.theme-filter.current,.theme-section.current{border-bottom-color:#fff}body.more-filters-opened .more-filters{background-color:#fff;color:#2c3338}body.more-filters-opened .more-filters:before{color:#2c3338}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#dcdcde;color:#1d2327}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#1d2327}.widgets-chooser li.widgets-chooser-selected{background-color:#dcdcde;color:#1d2327}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#1d2327}div#wp-responsive-toggle a:before{color:#646970}.wp-responsive-open div#wp-responsive-toggle a{background:#dcdcde;border-color:transparent}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#e9f0f5}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#646970}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#c9356e}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{border-left-color:#c9356e;color:#c9356e}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{border-top-color:#c9356e;color:#c9356e}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{border-left-color:#c9356e;color:#c9356e}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#c9356e}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #d45d8b,0 0 2px 1px #c9356e}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#c9356e}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#c9356e;color:#c9356e}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#c9356e}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after,.control-panel-themes .customize-themes-section-title.selected{color:#c9356e}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#c9356e;border-style:solid;box-shadow:0 0 0 1px #c9356e;outline:2px solid transparent}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#c9356e}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#c9356e}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #d45d8b,0 0 2px 1px #c9356e}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#c9356e}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#055d9c!important}.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#044b7a}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#044b7a}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#c9356e}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #055d9c}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#01283d}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#044b7a}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#01283d!important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #dcdcde;border-top:1px solid #dcdcde}.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover{background:#fff}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#2c3338}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#646970}.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#bbe0fa}.admin-color-aquatic .site__info .site__domain:after,.admin-color-aquatic .site__info .site__title:after,.admin-color-classic-blue .site__info .site__domain:after,.admin-color-classic-blue .site__info .site__title:after,.admin-color-classic-bright .site__info .site__domain:after,.admin-color-classic-bright .site__info .site__title:after,.admin-color-classic-dark .site__info .site__domain:after,.admin-color-classic-dark .site__info .site__title:after,.admin-color-contrast .site__info .site__domain:after,.admin-color-contrast .site__info .site__title:after,.admin-color-nightfall .site__info .site__domain:after,.admin-color-nightfall .site__info .site__title:after,.admin-color-powder-snow .site__info .site__domain:after,.admin-color-powder-snow .site__info .site__title:after,.admin-color-sakura .site__info .site__domain:after,.admin-color-sakura .site__info .site__title:after,.admin-color-sunset .site__info .site__domain:after,.admin-color-sunset .site__info .site__title:after{background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#646970}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#1d2327}.admin-color-contrast #adminmenuback{outline:1px solid #dcdcde}.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338!important}body{--wp-admin-theme-color:#c9356e;--wp-admin-theme-color-darker-10:#b53063;--wp-admin-theme-color-darker-20:#a12a58}.a8c-faux-inline-help{--color-primary:#0675c4;--color-primary-dark:#044b7a;--color-primary-light:#399ce3;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#2c3338;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#c9356e;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#ab235a} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-dark/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-dark/colors.css
index b5cd8645..058349d3 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-dark/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/classic-dark/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-body{background:#f6f7f7}a{color:#0073aa}a:hover,a:active,a:focus{color:#0096dd}#post-body .misc-pub-post-status:before,#post-body #visibility:before,.curtime #timestamp:before,#post-body .misc-pub-revisions:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:hover,.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#d63638}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover,.media-modal .delete-attachment:focus,.media-modal .trash-attachment:focus,.media-modal .untrash-attachment:focus,.wp-core-ui .button-link-delete:hover,.wp-core-ui .button-link-delete:focus{color:#d63638}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:hover,.wp-core-ui input[type=reset]:active{color:#0096dd}input[type=text]:focus,input[type=password]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=checkbox]:focus,input[type=radio]:focus,select:focus,textarea:focus{border-color:#c9356e;box-shadow:0 0 0 1px #c9356e}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#c9356e;color:#262a2e;box-shadow:inset 0 2px 5px -3px #c9356e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#c9356e;border-color:#c9356e}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button-secondary:hover{border-color:#a12a58;color:#a12a58}.wp-core-ui .button.focus,.wp-core-ui .button:focus,.wp-core-ui .button-secondary:focus{border-color:#d45d8b;color:#782042;box-shadow:0 0 0 1px #d45d8b}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#c9356e;border-color:#c9356e;color:#fff}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#cd4177;border-color:#bd3267;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #c9356e}.wp-core-ui .button-primary:active{background:#b53063;border-color:#b53063;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#c9356e;color:#fff;border-color:#8c254d;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#c9356e}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#101517}.wp-core-ui .wp-ui-text-primary{color:#101517}.wp-core-ui .wp-ui-highlight{color:#00b9eb;background-color:#1a1e23}.wp-core-ui .wp-ui-text-highlight{color:#1a1e23}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#c9356e}.wp-core-ui .wp-ui-text-notification{color:#c9356e}.wp-core-ui .wp-ui-text-icon{color:#a2aab2}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #c9356e;color:#c9356e}.wrap .page-title-action:hover{color:#a12a58;border-color:#a12a58}.wrap .page-title-action:focus{border-color:#d45d8b;color:#782042;box-shadow:0 0 0 1px #d45d8b}.view-switch a.current:before{color:#23282d}.view-switch a:hover:before{color:#c9356e}#adminmenuback,#adminmenuwrap,#adminmenu{background:#23282d}#adminmenu a{color:#eee}#adminmenu div.wp-menu-image:before{color:#a2aab2}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#00b9eb;background-color:#1a1e23}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#00b9eb}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#32373c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#32373c}#adminmenu .wp-submenu .wp-submenu-head{color:#b4b9be}#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu .wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a{color:#b4b9be}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover{color:#00b9eb}#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#00b9eb}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,.folded #adminmenu li.current.menu-top{color:#fff;background:#0073aa}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#c9356e}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li:hover a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins{color:#fff;background:#32373c}#collapse-button{color:#a2aab2}#collapse-button:hover,#collapse-button:focus{color:#00b9eb}#wpadminbar{color:#eee;background:#23282d}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#eee}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before,#wpadminbar .ab-item:after{color:#a2aab2}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{color:#00b9eb;background:#32373c}#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label{color:#00b9eb}#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover #adminbarsearch:before{color:#00b9eb}#wpadminbar .menupop .ab-sub-wrapper{background:#32373c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#373a3d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#b4b9be}#wpadminbar .quicklinks li .blavatar,#wpadminbar .menupop .menupop>.ab-item:before{color:#a2aab2}#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li #adminbarsearch.adminbar-focused:before{color:#00b9eb}#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#00b9eb}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#a2aab2}#wpadminbar #adminbarsearch:before{color:#a2aab2}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#eee;background:#333a41}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#c9356e}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#b53063}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#333a41;background-color:#333a41}#wpadminbar #wp-admin-bar-user-info .display-name{color:#eee}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#00b9eb}#wpadminbar #wp-admin-bar-user-info .username{color:#b4b9be}.wp-pointer .wp-pointer-content h3{background-color:#c9356e;border-color:#b53063}.wp-pointer .wp-pointer-content h3:before{color:#c9356e}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c9356e}.media-item .bar,.media-progress-bar div{background-color:#c9356e}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c9356e}.attachment.details .check{background-color:#c9356e;box-shadow:0 0 0 1px #fff,0 0 0 2px #c9356e}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #c9356e}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:hover:after,.theme-browser .theme.add-new-theme a:focus:after{background:#c9356e}.theme-browser .theme.add-new-theme a:hover span:after,.theme-browser .theme.add-new-theme a:focus span:after{color:#c9356e}.theme-section.current,.theme-filter.current{border-bottom-color:#23282d}body.more-filters-opened .more-filters{color:#eee;background-color:#23282d}body.more-filters-opened .more-filters:before{color:#eee}body.more-filters-opened .more-filters:hover,body.more-filters-opened .more-filters:focus{background-color:#1a1e23;color:#00b9eb}body.more-filters-opened .more-filters:hover:before,body.more-filters-opened .more-filters:focus:before{color:#00b9eb}.widgets-chooser li.widgets-chooser-selected{background-color:#1a1e23;color:#00b9eb}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#00b9eb}div#wp-responsive-toggle a:before{color:#a2aab2}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#1a1e23}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#32373c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#a2aab2}.mce-container.mce-menu .mce-menu-item:hover,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active{background:#c9356e}#customize-controls .control-section:hover>.accordion-section-title,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section .accordion-section-title:focus{color:#c9356e;border-left-color:#c9356e}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{color:#c9356e;border-top-color:#c9356e}.customize-panel-back:hover,.customize-panel-back:focus,.customize-section-back:hover,.customize-section-back:focus{color:#c9356e;border-left-color:#c9356e}.customize-screen-options-toggle:hover,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.active-menu-screen-options .customize-screen-options-toggle,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus{color:#c9356e}.wp-customizer .menu-item .submitbox .submitdelete:focus,.customize-screen-options-toggle:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.wp-customizer button:focus .toggle-indicator:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,#available-menu-items .item-add:focus:before{box-shadow:0 0 0 1px #d45d8b,0 0 2px 1px #c9356e}#customize-controls .customize-info.open .customize-help-toggle,#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover{color:#c9356e}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#c9356e;color:#c9356e}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#c9356e}.control-panel-themes .customize-themes-section-title.selected{color:#c9356e}#customize-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:focus:after{color:#c9356e}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#c9356e;border-style:solid;box-shadow:0 0 0 1px #c9356e;outline:2px solid transparent}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button.active:hover{border-bottom-color:#c9356e}.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,.wp-core-ui .wp-full-overlay .collapse-sidebar:focus{color:#c9356e}.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow{box-shadow:0 0 0 1px #d45d8b,0 0 2px 1px #c9356e}.wp-full-overlay-footer .devices button:hover:before,.wp-full-overlay-footer .devices button:focus:before{color:#c9356e}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#101517 !important}.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{background:#333}#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .current div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #101517}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#23282d}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#333}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#23282d !important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #333;border-top:1px solid #333}.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover{background:#23282d}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#eee}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#a2aab2}.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#0073aa}.admin-color-aquatic .site__info .site__title::after,.admin-color-aquatic .site__info .site__domain::after,.admin-color-classic-blue .site__info .site__title::after,.admin-color-classic-blue .site__info .site__domain::after,.admin-color-classic-bright .site__info .site__title::after,.admin-color-classic-bright .site__info .site__domain::after,.admin-color-classic-dark .site__info .site__title::after,.admin-color-classic-dark .site__info .site__domain::after,.admin-color-contrast .site__info .site__title::after,.admin-color-contrast .site__info .site__domain::after,.admin-color-nightfall .site__info .site__title::after,.admin-color-nightfall .site__info .site__domain::after,.admin-color-powder-snow .site__info .site__title::after,.admin-color-powder-snow .site__info .site__domain::after,.admin-color-sakura .site__info .site__title::after,.admin-color-sakura .site__info .site__domain::after,.admin-color-sunset .site__info .site__title::after,.admin-color-sunset .site__info .site__domain::after{background:linear-gradient(90deg, rgba(35, 40, 45, 0), #23282d 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher{color:#a2aab2}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#a2aab2}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#00b9eb}.admin-color-contrast #adminmenuback{outline:1px solid #333}.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338 !important}body{--wp-admin-theme-color: #c9356e;--wp-admin-theme-color-darker-10: #b53063;--wp-admin-theme-color-darker-20: #a12a58}.a8c-faux-inline-help{--color-primary: #1d2327;--color-primary-dark: #3c434a;--color-primary-light: #8c8f94;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#c9356e;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#ab235a} \ No newline at end of file
+/* NOAUTORTL */body{background:#f6f7f7}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#d63638}input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked:before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#c9356e;box-shadow:0 0 0 1px #c9356e}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;box-shadow:0 0 0 1px #32373c;color:#262a2e}.wp-core-ui .button:active{border-color:#7e8993;box-shadow:none;color:#262a2e}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#c9356e;box-shadow:inset 0 2px 5px -3px #c9356e;color:#262a2e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{border-color:#c9356e;color:#c9356e}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#a12a58;color:#a12a58}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#d45d8b;box-shadow:0 0 0 1px #d45d8b;color:#782042}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#c9356e;border-color:#c9356e;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#cd4177;border-color:#bd3267;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #c9356e}.wp-core-ui .button-primary:active{background:#b53063;border-color:#b53063;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#c9356e;border-color:#8c254d;box-shadow:inset 0 2px 5px -3px #000;color:#fff}.wp-core-ui .button-group>.button.active{border-color:#c9356e}.wp-core-ui .wp-ui-primary{background-color:#101517;color:#fff}.wp-core-ui .wp-ui-text-primary{color:#101517}.wp-core-ui .wp-ui-highlight{background-color:#1a1e23;color:#00b9eb}.wp-core-ui .wp-ui-text-highlight{color:#1a1e23}.wp-core-ui .wp-ui-notification{background-color:#c9356e;color:#fff}.wp-core-ui .wp-ui-text-notification{color:#c9356e}.wp-core-ui .wp-ui-text-icon{color:#a2aab2}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #c9356e;color:#c9356e}.wrap .page-title-action:hover{border-color:#a12a58;color:#a12a58}.wrap .page-title-action:focus{border-color:#d45d8b;box-shadow:0 0 0 1px #d45d8b;color:#782042}.view-switch a.current:before{color:#23282d}.view-switch a:hover:before{color:#c9356e}#adminmenu,#adminmenuback,#adminmenuwrap{background:#23282d}#adminmenu a{color:#eee}#adminmenu div.wp-menu-image:before{color:#a2aab2}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{background-color:#1a1e23;color:#00b9eb}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#00b9eb}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#32373c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#32373c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#b4b9be}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#00b9eb}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#00b9eb}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{background:#0073aa;color:#fff}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background:#c9356e;color:#fff}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{background:#32373c;color:#fff}#collapse-button{color:#a2aab2}#collapse-button:focus,#collapse-button:hover{color:#00b9eb}#wpadminbar{background:#23282d;color:#eee}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#eee}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#a2aab2}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#32373c;color:#00b9eb}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#00b9eb}#wpadminbar .menupop .ab-sub-wrapper{background:#32373c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#373a3d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#b4b9be}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#a2aab2}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#00b9eb}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#a2aab2}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background:#333a41;color:#eee}#wpadminbar #wp-admin-bar-recovery-mode{background-color:#c9356e;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{background-color:#b53063;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{background-color:#333a41;border-color:#333a41}#wpadminbar #wp-admin-bar-user-info .display-name{color:#eee}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#00b9eb}#wpadminbar #wp-admin-bar-user-info .username{color:#b4b9be}.wp-pointer .wp-pointer-content h3{background-color:#c9356e;border-color:#b53063}.wp-pointer .wp-pointer-content h3:before{color:#c9356e}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c9356e}.media-item .bar,.media-progress-bar div{background-color:#c9356e}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c9356e}.attachment.details .check{background-color:#c9356e;box-shadow:0 0 0 1px #fff,0 0 0 2px #c9356e}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #c9356e}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#c9356e}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#c9356e}.theme-filter.current,.theme-section.current{border-bottom-color:#23282d}body.more-filters-opened .more-filters{background-color:#23282d;color:#eee}body.more-filters-opened .more-filters:before{color:#eee}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#1a1e23;color:#00b9eb}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#00b9eb}.widgets-chooser li.widgets-chooser-selected{background-color:#1a1e23;color:#00b9eb}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#00b9eb}div#wp-responsive-toggle a:before{color:#a2aab2}.wp-responsive-open div#wp-responsive-toggle a{background:#1a1e23;border-color:transparent}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#32373c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#a2aab2}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#c9356e}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{border-left-color:#c9356e;color:#c9356e}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{border-top-color:#c9356e;color:#c9356e}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{border-left-color:#c9356e;color:#c9356e}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#c9356e}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #d45d8b,0 0 2px 1px #c9356e}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#c9356e}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#c9356e;color:#c9356e}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#c9356e}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after,.control-panel-themes .customize-themes-section-title.selected{color:#c9356e}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#c9356e;border-style:solid;box-shadow:0 0 0 1px #c9356e;outline:2px solid transparent}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#c9356e}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#c9356e}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #d45d8b,0 0 2px 1px #c9356e}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#c9356e}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#101517!important}.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#333}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #101517}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#23282d}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#333}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#23282d!important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #333;border-top:1px solid #333}.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover{background:#23282d}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#eee}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#a2aab2}.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#0073aa}.admin-color-aquatic .site__info .site__domain:after,.admin-color-aquatic .site__info .site__title:after,.admin-color-classic-blue .site__info .site__domain:after,.admin-color-classic-blue .site__info .site__title:after,.admin-color-classic-bright .site__info .site__domain:after,.admin-color-classic-bright .site__info .site__title:after,.admin-color-classic-dark .site__info .site__domain:after,.admin-color-classic-dark .site__info .site__title:after,.admin-color-contrast .site__info .site__domain:after,.admin-color-contrast .site__info .site__title:after,.admin-color-nightfall .site__info .site__domain:after,.admin-color-nightfall .site__info .site__title:after,.admin-color-powder-snow .site__info .site__domain:after,.admin-color-powder-snow .site__info .site__title:after,.admin-color-sakura .site__info .site__domain:after,.admin-color-sakura .site__info .site__title:after,.admin-color-sunset .site__info .site__domain:after,.admin-color-sunset .site__info .site__title:after{background:linear-gradient(90deg,rgba(35,40,45,0),#23282d 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#a2aab2}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#00b9eb}.admin-color-contrast #adminmenuback{outline:1px solid #333}.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338!important}body{--wp-admin-theme-color:#c9356e;--wp-admin-theme-color-darker-10:#b53063;--wp-admin-theme-color-darker-20:#a12a58}.a8c-faux-inline-help{--color-primary:#1d2327;--color-primary-dark:#3c434a;--color-primary-light:#8c8f94;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#c9356e;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#ab235a} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/coffee/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/coffee/colors.css
index 19f4f575..5033bdc1 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/coffee/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/coffee/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#59524c;box-shadow:inset 0 -1px 0 #46403c}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#46403c;color:#fff !important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff !important}.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item{background:#46403c !important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher{color:#f6f7f7}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#f6f7f7}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #46403c;border-top:1px solid #46403c}.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#c7a589}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#f6f7f7}.admin-color-blue .site__info .site__title::after,.admin-color-blue .site__info .site__domain::after,.admin-color-coffee .site__info .site__title::after,.admin-color-coffee .site__info .site__domain::after,.admin-color-ectoplasm .site__info .site__title::after,.admin-color-ectoplasm .site__info .site__domain::after,.admin-color-fresh .site__info .site__title::after,.admin-color-fresh .site__info .site__domain::after,.admin-color-light .site__info .site__title::after,.admin-color-light .site__info .site__domain::after,.admin-color-midnight .site__info .site__title::after,.admin-color-midnight .site__info .site__domain::after,.admin-color-modern .site__info .site__title::after,.admin-color-modern .site__info .site__domain::after,.admin-color-ocean .site__info .site__title::after,.admin-color-ocean .site__info .site__domain::after,.admin-color-sunrise .site__info .site__title::after,.admin-color-sunrise .site__info .site__domain::after{background:linear-gradient(90deg, rgba(89, 82, 76, 0), #59524c 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#c7a589;color:#fff}.a8c-faux-inline-help{--color-primary: #c7a589;--color-primary-dark: #704000;--color-primary-light: #e68b28;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#c7a589;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#8a4d00} \ No newline at end of file
+/* NOAUTORTL */.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#59524c;box-shadow:inset 0 -1px 0 #46403c}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#46403c;color:#fff!important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff!important}.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item{background:#46403c!important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#f6f7f7}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #46403c;border-top:1px solid #46403c}.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#c7a589}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#f6f7f7}.admin-color-blue .site__info .site__domain:after,.admin-color-blue .site__info .site__title:after,.admin-color-coffee .site__info .site__domain:after,.admin-color-coffee .site__info .site__title:after,.admin-color-ectoplasm .site__info .site__domain:after,.admin-color-ectoplasm .site__info .site__title:after,.admin-color-fresh .site__info .site__domain:after,.admin-color-fresh .site__info .site__title:after,.admin-color-light .site__info .site__domain:after,.admin-color-light .site__info .site__title:after,.admin-color-midnight .site__info .site__domain:after,.admin-color-midnight .site__info .site__title:after,.admin-color-modern .site__info .site__domain:after,.admin-color-modern .site__info .site__title:after,.admin-color-ocean .site__info .site__domain:after,.admin-color-ocean .site__info .site__title:after,.admin-color-sunrise .site__info .site__domain:after,.admin-color-sunrise .site__info .site__title:after{background:linear-gradient(90deg,rgba(89,82,76,0),#59524c 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#c7a589;color:#fff}body{--wp-admin-theme-color:#c7a589;--wp-admin-theme-color-darker-10:#bf9878;--wp-admin-theme-color-darker-20:#b78b66}.a8c-faux-inline-help{--color-primary:#c7a589;--color-primary-dark:#704000;--color-primary-light:#e68b28;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#c7a589;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#8a4d00} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/contrast/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/contrast/colors.css
index 12f5c6a1..dc3f0fc2 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/contrast/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/contrast/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-body{background:#fff}a{color:#0073aa}a:hover,a:active,a:focus{color:#0096dd}#post-body .misc-pub-post-status:before,#post-body #visibility:before,.curtime #timestamp:before,#post-body .misc-pub-revisions:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:hover,.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#d63638}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover,.media-modal .delete-attachment:focus,.media-modal .trash-attachment:focus,.media-modal .untrash-attachment:focus,.wp-core-ui .button-link-delete:hover,.wp-core-ui .button-link-delete:focus{color:#d63638}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:hover,.wp-core-ui input[type=reset]:active{color:#0096dd}input[type=text]:focus,input[type=password]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=checkbox]:focus,input[type=radio]:focus,select:focus,textarea:focus{border-color:#044b7a;box-shadow:0 0 0 1px #044b7a}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#044b7a;color:#262a2e;box-shadow:inset 0 2px 5px -3px #044b7a}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#044b7a;border-color:#044b7a}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button-secondary:hover{border-color:#022d49;color:#022d49}.wp-core-ui .button.focus,.wp-core-ui .button:focus,.wp-core-ui .button-secondary:focus{border-color:#0669ab;color:#010e17;box-shadow:0 0 0 1px #0669ab}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#044b7a;border-color:#044b7a;color:#fff}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#045489;border-color:#04426b;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #044b7a}.wp-core-ui .button-primary:active{background:#033c61;border-color:#033c61;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#044b7a;color:#fff;border-color:#021d30;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#044b7a}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#101517}.wp-core-ui .wp-ui-text-primary{color:#101517}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#50575e}.wp-core-ui .wp-ui-text-highlight{color:#50575e}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#f0c930}.wp-core-ui .wp-ui-text-notification{color:#f0c930}.wp-core-ui .wp-ui-text-icon{color:#1d2327}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #044b7a;color:#044b7a}.wrap .page-title-action:hover{color:#022d49;border-color:#022d49}.wrap .page-title-action:focus{border-color:#0669ab;color:#010e17;box-shadow:0 0 0 1px #0669ab}.view-switch a.current:before{color:#fff}.view-switch a:hover:before{color:#f0c930}#adminmenuback,#adminmenuwrap,#adminmenu{background:#fff}#adminmenu a{color:#1d2327}#adminmenu div.wp-menu-image:before{color:#1d2327}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#50575e}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#fff;border-bottom-color:#fff}#adminmenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#1d2327}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#1d2327}#adminmenu .wp-submenu .wp-submenu-head{color:#c3c4c7}#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu .wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a{color:#c3c4c7}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover{color:#f0c930}#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#f0c930}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#fff}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,.folded #adminmenu li.current.menu-top{color:#fff;background:#101517}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#f0c930}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li:hover a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins{color:#fff;background:#1d2327}#collapse-button{color:#1d2327}#collapse-button:hover,#collapse-button:focus{color:#f0c930}#wpadminbar{color:#1d2327;background:#fff}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#1d2327}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before,#wpadminbar .ab-item:after{color:#1d2327}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{color:#f0c930;background:#1d2327}#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label{color:#f0c930}#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover #adminbarsearch:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#1d2327}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#fff}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#c3c4c7}#wpadminbar .quicklinks li .blavatar,#wpadminbar .menupop .menupop>.ab-item:before{color:#1d2327}#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li #adminbarsearch.adminbar-focused:before{color:#f0c930}#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#f0c930}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#1d2327}#wpadminbar #adminbarsearch:before{color:#1d2327}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#1d2327;background:#fff}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#f0c930}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#d8b52b}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#fff;background-color:#fff}#wpadminbar #wp-admin-bar-user-info .display-name{color:#1d2327}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f0c930}#wpadminbar #wp-admin-bar-user-info .username{color:#c3c4c7}.wp-pointer .wp-pointer-content h3{background-color:#044b7a;border-color:#033c61}.wp-pointer .wp-pointer-content h3:before{color:#044b7a}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#044b7a}.media-item .bar,.media-progress-bar div{background-color:#044b7a}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #044b7a}.attachment.details .check{background-color:#044b7a;box-shadow:0 0 0 1px #fff,0 0 0 2px #044b7a}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #044b7a}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:hover:after,.theme-browser .theme.add-new-theme a:focus:after{background:#044b7a}.theme-browser .theme.add-new-theme a:hover span:after,.theme-browser .theme.add-new-theme a:focus span:after{color:#044b7a}.theme-section.current,.theme-filter.current{border-bottom-color:#fff}body.more-filters-opened .more-filters{color:#1d2327;background-color:#fff}body.more-filters-opened .more-filters:before{color:#1d2327}body.more-filters-opened .more-filters:hover,body.more-filters-opened .more-filters:focus{background-color:#50575e;color:#fff}body.more-filters-opened .more-filters:hover:before,body.more-filters-opened .more-filters:focus:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#50575e;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#1d2327}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#50575e}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#1d2327}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#1d2327}.mce-container.mce-menu .mce-menu-item:hover,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active{background:#044b7a}#customize-controls .control-section:hover>.accordion-section-title,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section .accordion-section-title:focus{color:#044b7a;border-left-color:#044b7a}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{color:#044b7a;border-top-color:#044b7a}.customize-panel-back:hover,.customize-panel-back:focus,.customize-section-back:hover,.customize-section-back:focus{color:#044b7a;border-left-color:#044b7a}.customize-screen-options-toggle:hover,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.active-menu-screen-options .customize-screen-options-toggle,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus{color:#044b7a}.wp-customizer .menu-item .submitbox .submitdelete:focus,.customize-screen-options-toggle:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.wp-customizer button:focus .toggle-indicator:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,#available-menu-items .item-add:focus:before{box-shadow:0 0 0 1px #0669ab,0 0 2px 1px #044b7a}#customize-controls .customize-info.open .customize-help-toggle,#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover{color:#044b7a}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#044b7a;color:#044b7a}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#044b7a}.control-panel-themes .customize-themes-section-title.selected{color:#044b7a}#customize-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:focus:after{color:#044b7a}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#044b7a;border-style:solid;box-shadow:0 0 0 1px #044b7a;outline:2px solid transparent}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button.active:hover{border-bottom-color:#044b7a}.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,.wp-core-ui .wp-full-overlay .collapse-sidebar:focus{color:#044b7a}.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow{box-shadow:0 0 0 1px #0669ab,0 0 2px 1px #044b7a}.wp-full-overlay-footer .devices button:hover:before,.wp-full-overlay-footer .devices button:focus:before{color:#044b7a}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#101517 !important}.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{background:#2c3338}#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .current div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #101517}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#50575e}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#2c3338}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#50575e !important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #dcdcde;border-top:1px solid #dcdcde}.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover{background:#fff}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#1d2327}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#1d2327}.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#101517}.admin-color-aquatic .site__info .site__title::after,.admin-color-aquatic .site__info .site__domain::after,.admin-color-classic-blue .site__info .site__title::after,.admin-color-classic-blue .site__info .site__domain::after,.admin-color-classic-bright .site__info .site__title::after,.admin-color-classic-bright .site__info .site__domain::after,.admin-color-classic-dark .site__info .site__title::after,.admin-color-classic-dark .site__info .site__domain::after,.admin-color-contrast .site__info .site__title::after,.admin-color-contrast .site__info .site__domain::after,.admin-color-nightfall .site__info .site__title::after,.admin-color-nightfall .site__info .site__domain::after,.admin-color-powder-snow .site__info .site__title::after,.admin-color-powder-snow .site__info .site__domain::after,.admin-color-sakura .site__info .site__title::after,.admin-color-sakura .site__info .site__domain::after,.admin-color-sunset .site__info .site__title::after,.admin-color-sunset .site__info .site__domain::after{background:linear-gradient(90deg, rgba(255, 255, 255, 0), white 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher{color:#1d2327}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#1d2327}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-contrast #adminmenuback{outline:1px solid #dcdcde}.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338 !important}body{--wp-admin-theme-color: #044b7a;--wp-admin-theme-color-darker-10: #033c61;--wp-admin-theme-color-darker-20: #022d49}.a8c-faux-inline-help{--color-primary: #2c3338;--color-primary-dark: #101517;--color-primary-light: #50575e;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#2c3338;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#044b7a;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
+/* NOAUTORTL */body{background:#fff}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#d63638}input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked:before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#044b7a;box-shadow:0 0 0 1px #044b7a}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;box-shadow:0 0 0 1px #32373c;color:#262a2e}.wp-core-ui .button:active{border-color:#7e8993;box-shadow:none;color:#262a2e}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#044b7a;box-shadow:inset 0 2px 5px -3px #044b7a;color:#262a2e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{border-color:#044b7a;color:#044b7a}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#022d49;color:#022d49}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#0669ab;box-shadow:0 0 0 1px #0669ab;color:#010e17}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#044b7a;border-color:#044b7a;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#045489;border-color:#04426b;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #044b7a}.wp-core-ui .button-primary:active{background:#033c61;border-color:#033c61;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#044b7a;border-color:#021d30;box-shadow:inset 0 2px 5px -3px #000;color:#fff}.wp-core-ui .button-group>.button.active{border-color:#044b7a}.wp-core-ui .wp-ui-primary{background-color:#101517;color:#fff}.wp-core-ui .wp-ui-text-primary{color:#101517}.wp-core-ui .wp-ui-highlight{background-color:#50575e;color:#fff}.wp-core-ui .wp-ui-text-highlight{color:#50575e}.wp-core-ui .wp-ui-notification{background-color:#f0c930;color:#fff}.wp-core-ui .wp-ui-text-notification{color:#f0c930}.wp-core-ui .wp-ui-text-icon{color:#1d2327}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #044b7a;color:#044b7a}.wrap .page-title-action:hover{border-color:#022d49;color:#022d49}.wrap .page-title-action:focus{border-color:#0669ab;box-shadow:0 0 0 1px #0669ab;color:#010e17}.view-switch a.current:before{color:#fff}.view-switch a:hover:before{color:#f0c930}#adminmenu,#adminmenuback,#adminmenuwrap{background:#fff}#adminmenu a,#adminmenu div.wp-menu-image:before{color:#1d2327}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{background-color:#50575e;color:#fff}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#fff;border-bottom-color:#fff}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#1d2327}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#1d2327}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#c3c4c7}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#f0c930}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f0c930}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#fff}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{background:#101517;color:#fff}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background:#f0c930;color:#fff}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{background:#1d2327;color:#fff}#collapse-button{color:#1d2327}#collapse-button:focus,#collapse-button:hover{color:#f0c930}#wpadminbar{background:#fff}#wpadminbar,#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#1d2327}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#1d2327;color:#f0c930}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#f0c930}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#1d2327}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#fff}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#c3c4c7}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#1d2327}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f0c930}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#1d2327}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background:#fff;color:#1d2327}#wpadminbar #wp-admin-bar-recovery-mode{background-color:#f0c930;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{background-color:#d8b52b;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{background-color:#fff;border-color:#fff}#wpadminbar #wp-admin-bar-user-info .display-name{color:#1d2327}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f0c930}#wpadminbar #wp-admin-bar-user-info .username{color:#c3c4c7}.wp-pointer .wp-pointer-content h3{background-color:#044b7a;border-color:#033c61}.wp-pointer .wp-pointer-content h3:before{color:#044b7a}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#044b7a}.media-item .bar,.media-progress-bar div{background-color:#044b7a}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #044b7a}.attachment.details .check{background-color:#044b7a;box-shadow:0 0 0 1px #fff,0 0 0 2px #044b7a}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #044b7a}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#044b7a}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#044b7a}.theme-filter.current,.theme-section.current{border-bottom-color:#fff}body.more-filters-opened .more-filters{background-color:#fff;color:#1d2327}body.more-filters-opened .more-filters:before{color:#1d2327}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#50575e;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#50575e;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#1d2327}.wp-responsive-open div#wp-responsive-toggle a{background:#50575e;border-color:transparent}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#1d2327}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#1d2327}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#044b7a}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{border-left-color:#044b7a;color:#044b7a}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{border-top-color:#044b7a;color:#044b7a}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{border-left-color:#044b7a;color:#044b7a}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#044b7a}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #0669ab,0 0 2px 1px #044b7a}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#044b7a}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#044b7a;color:#044b7a}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#044b7a}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after,.control-panel-themes .customize-themes-section-title.selected{color:#044b7a}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#044b7a;border-style:solid;box-shadow:0 0 0 1px #044b7a;outline:2px solid transparent}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#044b7a}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#044b7a}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #0669ab,0 0 2px 1px #044b7a}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#044b7a}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#101517!important}.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#2c3338}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #101517}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#50575e}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#2c3338}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#50575e!important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #dcdcde;border-top:1px solid #dcdcde}.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover{background:#fff}.admin-color-aquatic .site__info .site__domain,.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__domain,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__domain,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__domain,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__domain,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__domain,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__domain,.admin-color-sunset .site__info .site__title{color:#1d2327}.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#101517}.admin-color-aquatic .site__info .site__domain:after,.admin-color-aquatic .site__info .site__title:after,.admin-color-classic-blue .site__info .site__domain:after,.admin-color-classic-blue .site__info .site__title:after,.admin-color-classic-bright .site__info .site__domain:after,.admin-color-classic-bright .site__info .site__title:after,.admin-color-classic-dark .site__info .site__domain:after,.admin-color-classic-dark .site__info .site__title:after,.admin-color-contrast .site__info .site__domain:after,.admin-color-contrast .site__info .site__title:after,.admin-color-nightfall .site__info .site__domain:after,.admin-color-nightfall .site__info .site__title:after,.admin-color-powder-snow .site__info .site__domain:after,.admin-color-powder-snow .site__info .site__title:after,.admin-color-sakura .site__info .site__domain:after,.admin-color-sakura .site__info .site__title:after,.admin-color-sunset .site__info .site__domain:after,.admin-color-sunset .site__info .site__title:after{background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#1d2327}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-contrast #adminmenuback{outline:1px solid #dcdcde}.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338!important}body{--wp-admin-theme-color:#044b7a;--wp-admin-theme-color-darker-10:#033c61;--wp-admin-theme-color-darker-20:#022d49}.a8c-faux-inline-help{--color-primary:#2c3338;--color-primary-dark:#101517;--color-primary-light:#50575e;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#2c3338;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#044b7a;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/colors.css
index 69847097..7f71cdf6 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#523f6d;box-shadow:inset 0 -1px 0 #413256}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#413256;color:#fff !important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff !important}.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item{background:#413256 !important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher{color:#fff}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #413256;border-top:1px solid #413256}.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#a3b745}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#fff}.admin-color-blue .site__info .site__title::after,.admin-color-blue .site__info .site__domain::after,.admin-color-coffee .site__info .site__title::after,.admin-color-coffee .site__info .site__domain::after,.admin-color-ectoplasm .site__info .site__title::after,.admin-color-ectoplasm .site__info .site__domain::after,.admin-color-fresh .site__info .site__title::after,.admin-color-fresh .site__info .site__domain::after,.admin-color-light .site__info .site__title::after,.admin-color-light .site__info .site__domain::after,.admin-color-midnight .site__info .site__title::after,.admin-color-midnight .site__info .site__domain::after,.admin-color-modern .site__info .site__title::after,.admin-color-modern .site__info .site__domain::after,.admin-color-ocean .site__info .site__title::after,.admin-color-ocean .site__info .site__domain::after,.admin-color-sunrise .site__info .site__title::after,.admin-color-sunrise .site__info .site__domain::after{background:linear-gradient(90deg, rgba(82, 63, 109, 0), #523f6d 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#a3b745;color:#fff}.a8c-faux-inline-help{--color-primary: #a3b745;--color-primary-dark: #536700;--color-primary-light: #b5de00;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#a3b745;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#647d00} \ No newline at end of file
+/* NOAUTORTL */.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#523f6d;box-shadow:inset 0 -1px 0 #413256}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#413256;color:#fff!important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff!important}.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item{background:#413256!important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #413256;border-top:1px solid #413256}.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#a3b745}.admin-color-blue .site__info .site__domain,.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__domain,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__domain,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__domain,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__domain,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__domain,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__domain,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__domain,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__domain,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain:after,.admin-color-blue .site__info .site__title:after,.admin-color-coffee .site__info .site__domain:after,.admin-color-coffee .site__info .site__title:after,.admin-color-ectoplasm .site__info .site__domain:after,.admin-color-ectoplasm .site__info .site__title:after,.admin-color-fresh .site__info .site__domain:after,.admin-color-fresh .site__info .site__title:after,.admin-color-light .site__info .site__domain:after,.admin-color-light .site__info .site__title:after,.admin-color-midnight .site__info .site__domain:after,.admin-color-midnight .site__info .site__title:after,.admin-color-modern .site__info .site__domain:after,.admin-color-modern .site__info .site__title:after,.admin-color-ocean .site__info .site__domain:after,.admin-color-ocean .site__info .site__title:after,.admin-color-sunrise .site__info .site__domain:after,.admin-color-sunrise .site__info .site__title:after{background:linear-gradient(90deg,rgba(82,63,109,0),#523f6d 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#a3b745;color:#fff}body{--wp-admin-theme-color:#a3b745;--wp-admin-theme-color-darker-10:#93a43e;--wp-admin-theme-color-darker-20:#829237}.a8c-faux-inline-help{--color-primary:#a3b745;--color-primary-dark:#536700;--color-primary-light:#b5de00;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#a3b745;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#647d00} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/fresh/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/fresh/colors.css
index aaba230a..0c17e07a 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/fresh/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/fresh/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#101517;box-shadow:inset 0 -1px 0 #333}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#333;color:#fff !important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff !important}.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item{background:#333 !important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher{color:#a2aab2}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#a2aab2}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#00b9eb}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #333;border-top:1px solid #333}.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#006fad}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#a2aab2}.admin-color-blue .site__info .site__title::after,.admin-color-blue .site__info .site__domain::after,.admin-color-coffee .site__info .site__title::after,.admin-color-coffee .site__info .site__domain::after,.admin-color-ectoplasm .site__info .site__title::after,.admin-color-ectoplasm .site__info .site__domain::after,.admin-color-fresh .site__info .site__title::after,.admin-color-fresh .site__info .site__domain::after,.admin-color-light .site__info .site__title::after,.admin-color-light .site__info .site__domain::after,.admin-color-midnight .site__info .site__title::after,.admin-color-midnight .site__info .site__domain::after,.admin-color-modern .site__info .site__title::after,.admin-color-modern .site__info .site__domain::after,.admin-color-ocean .site__info .site__title::after,.admin-color-ocean .site__info .site__domain::after,.admin-color-sunrise .site__info .site__title::after,.admin-color-sunrise .site__info .site__domain::after{background:linear-gradient(90deg, rgba(35, 40, 45, 0), #23282d 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#006fad;color:#fff}.a8c-faux-inline-help{--color-primary: #1d2327;--color-primary-dark: #3c434a;--color-primary-light: #8c8f94;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#c9356e;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#ab235a}#wpadminbar .ab-top-menu>#wp-admin-bar-blog.my-sites>.ab-item{background:#23282d}.site__info>.site__badge{background:#dcdcde;color:#1d2327} \ No newline at end of file
+/* NOAUTORTL */.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#101517;box-shadow:inset 0 -1px 0 #333}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#333;color:#fff!important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff!important}.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item{background:#333!important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#a2aab2}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#00b9eb}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #333;border-top:1px solid #333}.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#006fad}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#a2aab2}.admin-color-blue .site__info .site__domain:after,.admin-color-blue .site__info .site__title:after,.admin-color-coffee .site__info .site__domain:after,.admin-color-coffee .site__info .site__title:after,.admin-color-ectoplasm .site__info .site__domain:after,.admin-color-ectoplasm .site__info .site__title:after,.admin-color-fresh .site__info .site__domain:after,.admin-color-fresh .site__info .site__title:after,.admin-color-light .site__info .site__domain:after,.admin-color-light .site__info .site__title:after,.admin-color-midnight .site__info .site__domain:after,.admin-color-midnight .site__info .site__title:after,.admin-color-modern .site__info .site__domain:after,.admin-color-modern .site__info .site__title:after,.admin-color-ocean .site__info .site__domain:after,.admin-color-ocean .site__info .site__title:after,.admin-color-sunrise .site__info .site__domain:after,.admin-color-sunrise .site__info .site__title:after{background:linear-gradient(90deg,rgba(35,40,45,0),#23282d 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#006fad;color:#fff}body{--wp-admin-theme-color:#006fad;--wp-admin-theme-color-darker-10:#005f94;--wp-admin-theme-color-darker-20:#004e7a}.a8c-faux-inline-help{--color-primary:#1d2327;--color-primary-dark:#3c434a;--color-primary-light:#8c8f94;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#c9356e;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#ab235a}#wpadminbar .ab-top-menu>#wp-admin-bar-blog.my-sites>.ab-item{background:#23282d}.site__info>.site__badge{background:#dcdcde;color:#1d2327} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/light/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/light/colors.css
index d6f707d2..cefa76a8 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/light/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/light/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-#wpadminbar #wp-admin-bar-blog>a.ab-item:before,#wpadminbar #wp-admin-bar-newdash>a.ab-item:before,#wpadminbar #wp-admin-bar-notes .noticon-bell:before{filter:brightness(0.1)}.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#e5e5e5;box-shadow:inset 0 -1px 0 #fff}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#fff;color:#333 !important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#333 !important}.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item{background:#fff !important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher{color:#1d2327}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#1d2327}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #fff;border-top:1px solid #fff}.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#888}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#333}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#1d2327}.admin-color-blue .site__info .site__title::after,.admin-color-blue .site__info .site__domain::after,.admin-color-coffee .site__info .site__title::after,.admin-color-coffee .site__info .site__domain::after,.admin-color-ectoplasm .site__info .site__title::after,.admin-color-ectoplasm .site__info .site__domain::after,.admin-color-fresh .site__info .site__title::after,.admin-color-fresh .site__info .site__domain::after,.admin-color-light .site__info .site__title::after,.admin-color-light .site__info .site__domain::after,.admin-color-midnight .site__info .site__title::after,.admin-color-midnight .site__info .site__domain::after,.admin-color-modern .site__info .site__title::after,.admin-color-modern .site__info .site__domain::after,.admin-color-ocean .site__info .site__title::after,.admin-color-ocean .site__info .site__domain::after,.admin-color-sunrise .site__info .site__title::after,.admin-color-sunrise .site__info .site__domain::after{background:linear-gradient(90deg, rgba(229, 229, 229, 0), #e5e5e5 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#888;color:#333}.a8c-faux-inline-help{--color-primary: #04a4cc;--color-primary-dark: #044b7a;--color-primary-light: #399ce3;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#04a4cc;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
+/* NOAUTORTL */#wpadminbar #wp-admin-bar-blog>a.ab-item:before,#wpadminbar #wp-admin-bar-newdash>a.ab-item:before,#wpadminbar #wp-admin-bar-notes .noticon-bell:before{filter:brightness(.1)}.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#e5e5e5;box-shadow:inset 0 -1px 0 #fff}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#fff;color:#333!important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#333!important}.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item{background:#fff!important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#1d2327}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #fff;border-top:1px solid #fff}.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#888}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#333}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#1d2327}.admin-color-blue .site__info .site__domain:after,.admin-color-blue .site__info .site__title:after,.admin-color-coffee .site__info .site__domain:after,.admin-color-coffee .site__info .site__title:after,.admin-color-ectoplasm .site__info .site__domain:after,.admin-color-ectoplasm .site__info .site__title:after,.admin-color-fresh .site__info .site__domain:after,.admin-color-fresh .site__info .site__title:after,.admin-color-light .site__info .site__domain:after,.admin-color-light .site__info .site__title:after,.admin-color-midnight .site__info .site__domain:after,.admin-color-midnight .site__info .site__title:after,.admin-color-modern .site__info .site__domain:after,.admin-color-modern .site__info .site__title:after,.admin-color-ocean .site__info .site__domain:after,.admin-color-ocean .site__info .site__title:after,.admin-color-sunrise .site__info .site__domain:after,.admin-color-sunrise .site__info .site__title:after{background:linear-gradient(90deg,hsla(0,0%,90%,0),#e5e5e5 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#888;color:#333}body{--wp-admin-theme-color:#888;--wp-admin-theme-color-darker-10:#7b7b7b;--wp-admin-theme-color-darker-20:#6f6f6f}.a8c-faux-inline-help{--color-primary:#04a4cc;--color-primary-dark:#044b7a;--color-primary-light:#399ce3;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#04a4cc;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/midnight/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/midnight/colors.css
index 9f7e3ce7..ffe91955 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/midnight/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/midnight/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#363b3f;box-shadow:inset 0 -1px 0 #26292c}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#26292c;color:#fff !important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff !important}.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item{background:#26292c !important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher{color:#fff}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #26292c;border-top:1px solid #26292c}.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#e14d43}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#fff}.admin-color-blue .site__info .site__title::after,.admin-color-blue .site__info .site__domain::after,.admin-color-coffee .site__info .site__title::after,.admin-color-coffee .site__info .site__domain::after,.admin-color-ectoplasm .site__info .site__title::after,.admin-color-ectoplasm .site__info .site__domain::after,.admin-color-fresh .site__info .site__title::after,.admin-color-fresh .site__info .site__domain::after,.admin-color-light .site__info .site__title::after,.admin-color-light .site__info .site__domain::after,.admin-color-midnight .site__info .site__title::after,.admin-color-midnight .site__info .site__domain::after,.admin-color-modern .site__info .site__title::after,.admin-color-modern .site__info .site__domain::after,.admin-color-ocean .site__info .site__title::after,.admin-color-ocean .site__info .site__domain::after,.admin-color-sunrise .site__info .site__title::after,.admin-color-sunrise .site__info .site__domain::after{background:linear-gradient(90deg, rgba(54, 59, 63, 0), #363b3f 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#e14d43;color:#fff}.a8c-faux-inline-help{--color-primary: #e14d43;--color-primary-dark: #8a2424;--color-primary-light: #f86368;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#e14d43;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#00417d} \ No newline at end of file
+/* NOAUTORTL */.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#363b3f;box-shadow:inset 0 -1px 0 #26292c}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#26292c;color:#fff!important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff!important}.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item{background:#26292c!important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #26292c;border-top:1px solid #26292c}.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#e14d43}.admin-color-blue .site__info .site__domain,.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__domain,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__domain,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__domain,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__domain,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__domain,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__domain,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__domain,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__domain,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain:after,.admin-color-blue .site__info .site__title:after,.admin-color-coffee .site__info .site__domain:after,.admin-color-coffee .site__info .site__title:after,.admin-color-ectoplasm .site__info .site__domain:after,.admin-color-ectoplasm .site__info .site__title:after,.admin-color-fresh .site__info .site__domain:after,.admin-color-fresh .site__info .site__title:after,.admin-color-light .site__info .site__domain:after,.admin-color-light .site__info .site__title:after,.admin-color-midnight .site__info .site__domain:after,.admin-color-midnight .site__info .site__title:after,.admin-color-modern .site__info .site__domain:after,.admin-color-modern .site__info .site__title:after,.admin-color-ocean .site__info .site__domain:after,.admin-color-ocean .site__info .site__title:after,.admin-color-sunrise .site__info .site__domain:after,.admin-color-sunrise .site__info .site__title:after{background:linear-gradient(90deg,rgba(54,59,63,0),#363b3f 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#e14d43;color:#fff}body{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}.a8c-faux-inline-help{--color-primary:#e14d43;--color-primary-dark:#8a2424;--color-primary-light:#f86368;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#e14d43;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#00417d} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/modern/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/modern/colors.css
index 9552f1d1..8e5d0eb7 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/modern/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/modern/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#1e1e1e;box-shadow:inset 0 -1px 0 #0c0c0c}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#0c0c0c;color:#fff !important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff !important}.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item{background:#0c0c0c !important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher{color:#c3c4c7}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#c3c4c7}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #0c0c0c;border-top:1px solid #0c0c0c}.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#3858e9}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#c3c4c7}.admin-color-blue .site__info .site__title::after,.admin-color-blue .site__info .site__domain::after,.admin-color-coffee .site__info .site__title::after,.admin-color-coffee .site__info .site__domain::after,.admin-color-ectoplasm .site__info .site__title::after,.admin-color-ectoplasm .site__info .site__domain::after,.admin-color-fresh .site__info .site__title::after,.admin-color-fresh .site__info .site__domain::after,.admin-color-light .site__info .site__title::after,.admin-color-light .site__info .site__domain::after,.admin-color-midnight .site__info .site__title::after,.admin-color-midnight .site__info .site__domain::after,.admin-color-modern .site__info .site__title::after,.admin-color-modern .site__info .site__domain::after,.admin-color-ocean .site__info .site__title::after,.admin-color-ocean .site__info .site__domain::after,.admin-color-sunrise .site__info .site__title::after,.admin-color-sunrise .site__info .site__domain::after{background:linear-gradient(90deg, rgba(30, 30, 30, 0), #1e1e1e 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#3858e9;color:#fff}.a8c-faux-inline-help{--color-primary: #3858e9;--color-primary-dark: #044b7a;--color-primary-light: #399ce3;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#3858e9;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#2145e6} \ No newline at end of file
+/* NOAUTORTL */.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#1e1e1e;box-shadow:inset 0 -1px 0 #0c0c0c}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#0c0c0c;color:#fff!important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff!important}.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item{background:#0c0c0c!important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#c3c4c7}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #0c0c0c;border-top:1px solid #0c0c0c}.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#3858e9}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#c3c4c7}.admin-color-blue .site__info .site__domain:after,.admin-color-blue .site__info .site__title:after,.admin-color-coffee .site__info .site__domain:after,.admin-color-coffee .site__info .site__title:after,.admin-color-ectoplasm .site__info .site__domain:after,.admin-color-ectoplasm .site__info .site__title:after,.admin-color-fresh .site__info .site__domain:after,.admin-color-fresh .site__info .site__title:after,.admin-color-light .site__info .site__domain:after,.admin-color-light .site__info .site__title:after,.admin-color-midnight .site__info .site__domain:after,.admin-color-midnight .site__info .site__title:after,.admin-color-modern .site__info .site__domain:after,.admin-color-modern .site__info .site__title:after,.admin-color-ocean .site__info .site__domain:after,.admin-color-ocean .site__info .site__title:after,.admin-color-sunrise .site__info .site__domain:after,.admin-color-sunrise .site__info .site__title:after{background:linear-gradient(90deg,rgba(30,30,30,0),#1e1e1e 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#3858e9;color:#fff}body{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}.a8c-faux-inline-help{--color-primary:#3858e9;--color-primary-dark:#044b7a;--color-primary-light:#399ce3;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#3858e9;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#2145e6} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/nightfall/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/nightfall/colors.css
index cfbbb8c6..f981d653 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/nightfall/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/nightfall/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-body{background:#f6f7f7}a{color:#0073aa}a:hover,a:active,a:focus{color:#0096dd}#post-body .misc-pub-post-status:before,#post-body #visibility:before,.curtime #timestamp:before,#post-body .misc-pub-revisions:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:hover,.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#d63638}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover,.media-modal .delete-attachment:focus,.media-modal .trash-attachment:focus,.media-modal .untrash-attachment:focus,.wp-core-ui .button-link-delete:hover,.wp-core-ui .button-link-delete:focus{color:#d63638}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:hover,.wp-core-ui input[type=reset]:active{color:#0096dd}input[type=text]:focus,input[type=password]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=checkbox]:focus,input[type=radio]:focus,select:focus,textarea:focus{border-color:#0675c4;box-shadow:0 0 0 1px #0675c4}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#0675c4;color:#262a2e;box-shadow:inset 0 2px 5px -3px #0675c4}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#0675c4;border-color:#0675c4}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button-secondary:hover{border-color:#045793;color:#045793}.wp-core-ui .button.focus,.wp-core-ui .button:focus,.wp-core-ui .button-secondary:focus{border-color:#0893f5;color:#033a61;box-shadow:0 0 0 1px #0893f5}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#0675c4;border-color:#0675c4;color:#fff}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#067ed3;border-color:#066cb5;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.wp-core-ui .button-primary:active{background:#0566ab;border-color:#0566ab;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#0675c4;color:#fff;border-color:#04497a;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#0675c4}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#001621}.wp-core-ui .wp-ui-text-primary{color:#001621}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#044b7a}.wp-core-ui .wp-ui-text-highlight{color:#044b7a}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#399ce3}.wp-core-ui .wp-ui-text-notification{color:#399ce3}.wp-core-ui .wp-ui-text-icon{color:#91caf2}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #0675c4;color:#0675c4}.wrap .page-title-action:hover{color:#045793;border-color:#045793}.wrap .page-title-action:focus{border-color:#0893f5;color:#033a61;box-shadow:0 0 0 1px #0893f5}.view-switch a.current:before{color:#02395c}.view-switch a:hover:before{color:#399ce3}#adminmenuback,#adminmenuwrap,#adminmenu{background:#02395c}#adminmenu a{color:#bbe0fa}#adminmenu div.wp-menu-image:before{color:#91caf2}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#044b7a}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#01283d}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#01283d}#adminmenu .wp-submenu .wp-submenu-head{color:#fff}#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu .wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a{color:#fff}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover{color:#68b3e8}#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#68b3e8}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,.folded #adminmenu li.current.menu-top{color:#fff;background:#001621}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#399ce3}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li:hover a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins{color:#fff;background:#01283d}#collapse-button{color:#91caf2}#collapse-button:hover,#collapse-button:focus{color:#68b3e8}#wpadminbar{color:#bbe0fa;background:#02395c}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#bbe0fa}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before,#wpadminbar .ab-item:after{color:#91caf2}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{color:#68b3e8;background:#01283d}#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label{color:#68b3e8}#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover #adminbarsearch:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#01283d}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#074e7a}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#fff}#wpadminbar .quicklinks li .blavatar,#wpadminbar .menupop .menupop>.ab-item:before{color:#91caf2}#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li #adminbarsearch.adminbar-focused:before{color:#68b3e8}#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#68b3e8}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#91caf2}#wpadminbar #adminbarsearch:before{color:#91caf2}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#bbe0fa;background:#034f7f}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#399ce3}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#338ccc}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#034f7f;background-color:#034f7f}#wpadminbar #wp-admin-bar-user-info .display-name{color:#bbe0fa}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#68b3e8}#wpadminbar #wp-admin-bar-user-info .username{color:#fff}.wp-pointer .wp-pointer-content h3{background-color:#0675c4;border-color:#0566ab}.wp-pointer .wp-pointer-content h3:before{color:#0675c4}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#0675c4}.media-item .bar,.media-progress-bar div{background-color:#0675c4}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0675c4}.attachment.details .check{background-color:#0675c4;box-shadow:0 0 0 1px #fff,0 0 0 2px #0675c4}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:hover:after,.theme-browser .theme.add-new-theme a:focus:after{background:#0675c4}.theme-browser .theme.add-new-theme a:hover span:after,.theme-browser .theme.add-new-theme a:focus span:after{color:#0675c4}.theme-section.current,.theme-filter.current{border-bottom-color:#02395c}body.more-filters-opened .more-filters{color:#bbe0fa;background-color:#02395c}body.more-filters-opened .more-filters:before{color:#bbe0fa}body.more-filters-opened .more-filters:hover,body.more-filters-opened .more-filters:focus{background-color:#044b7a;color:#fff}body.more-filters-opened .more-filters:hover:before,body.more-filters-opened .more-filters:focus:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#044b7a;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#91caf2}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#044b7a}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#01283d}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#91caf2}.mce-container.mce-menu .mce-menu-item:hover,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active{background:#0675c4}#customize-controls .control-section:hover>.accordion-section-title,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section .accordion-section-title:focus{color:#0675c4;border-left-color:#0675c4}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{color:#0675c4;border-top-color:#0675c4}.customize-panel-back:hover,.customize-panel-back:focus,.customize-section-back:hover,.customize-section-back:focus{color:#0675c4;border-left-color:#0675c4}.customize-screen-options-toggle:hover,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.active-menu-screen-options .customize-screen-options-toggle,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus{color:#0675c4}.wp-customizer .menu-item .submitbox .submitdelete:focus,.customize-screen-options-toggle:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.wp-customizer button:focus .toggle-indicator:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,#available-menu-items .item-add:focus:before{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}#customize-controls .customize-info.open .customize-help-toggle,#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover{color:#0675c4}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#0675c4;color:#0675c4}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#0675c4}.control-panel-themes .customize-themes-section-title.selected{color:#0675c4}#customize-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:focus:after{color:#0675c4}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#0675c4;border-style:solid;box-shadow:0 0 0 1px #0675c4;outline:2px solid transparent}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button.active:hover{border-bottom-color:#0675c4}.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,.wp-core-ui .wp-full-overlay .collapse-sidebar:focus{color:#0675c4}.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}.wp-full-overlay-footer .devices button:hover:before,.wp-full-overlay-footer .devices button:focus:before{color:#0675c4}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#001621 !important}.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{background:#01283d}#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .current div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #001621}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#02395c}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#01283d}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#02395c !important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #01283d;border-top:1px solid #01283d}.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover{background:#02395c}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#bbe0fa}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#68b3e8}.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#001621}.admin-color-aquatic .site__info .site__title::after,.admin-color-aquatic .site__info .site__domain::after,.admin-color-classic-blue .site__info .site__title::after,.admin-color-classic-blue .site__info .site__domain::after,.admin-color-classic-bright .site__info .site__title::after,.admin-color-classic-bright .site__info .site__domain::after,.admin-color-classic-dark .site__info .site__title::after,.admin-color-classic-dark .site__info .site__domain::after,.admin-color-contrast .site__info .site__title::after,.admin-color-contrast .site__info .site__domain::after,.admin-color-nightfall .site__info .site__title::after,.admin-color-nightfall .site__info .site__domain::after,.admin-color-powder-snow .site__info .site__title::after,.admin-color-powder-snow .site__info .site__domain::after,.admin-color-sakura .site__info .site__title::after,.admin-color-sakura .site__info .site__domain::after,.admin-color-sunset .site__info .site__title::after,.admin-color-sunset .site__info .site__domain::after{background:linear-gradient(90deg, rgba(2, 57, 92, 0), #02395c 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher{color:#68b3e8}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#68b3e8}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-contrast #adminmenuback{outline:1px solid #01283d}.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338 !important}body{--wp-admin-theme-color: #0675c4;--wp-admin-theme-color-darker-10: #0566ab;--wp-admin-theme-color-darker-20: #045793}.a8c-faux-inline-help{--color-primary: #1d2327;--color-primary-dark: #3c434a;--color-primary-light: #8c8f94;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#0675c4;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
+/* NOAUTORTL */body{background:#f6f7f7}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#d63638}input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked:before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#0675c4;box-shadow:0 0 0 1px #0675c4}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;box-shadow:0 0 0 1px #32373c;color:#262a2e}.wp-core-ui .button:active{border-color:#7e8993;box-shadow:none;color:#262a2e}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#0675c4;box-shadow:inset 0 2px 5px -3px #0675c4;color:#262a2e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{border-color:#0675c4;color:#0675c4}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#045793;color:#045793}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#0893f5;box-shadow:0 0 0 1px #0893f5;color:#033a61}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#0675c4;border-color:#0675c4;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#067ed3;border-color:#066cb5;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.wp-core-ui .button-primary:active{background:#0566ab;border-color:#0566ab;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#0675c4;border-color:#04497a;box-shadow:inset 0 2px 5px -3px #000;color:#fff}.wp-core-ui .button-group>.button.active{border-color:#0675c4}.wp-core-ui .wp-ui-primary{background-color:#001621;color:#fff}.wp-core-ui .wp-ui-text-primary{color:#001621}.wp-core-ui .wp-ui-highlight{background-color:#044b7a;color:#fff}.wp-core-ui .wp-ui-text-highlight{color:#044b7a}.wp-core-ui .wp-ui-notification{background-color:#399ce3;color:#fff}.wp-core-ui .wp-ui-text-notification{color:#399ce3}.wp-core-ui .wp-ui-text-icon{color:#91caf2}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #0675c4;color:#0675c4}.wrap .page-title-action:hover{border-color:#045793;color:#045793}.wrap .page-title-action:focus{border-color:#0893f5;box-shadow:0 0 0 1px #0893f5;color:#033a61}.view-switch a.current:before{color:#02395c}.view-switch a:hover:before{color:#399ce3}#adminmenu,#adminmenuback,#adminmenuwrap{background:#02395c}#adminmenu a{color:#bbe0fa}#adminmenu div.wp-menu-image:before{color:#91caf2}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{background-color:#044b7a;color:#fff}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#01283d}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#01283d}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#fff}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#68b3e8}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#68b3e8}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{background:#001621;color:#fff}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background:#399ce3;color:#fff}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{background:#01283d;color:#fff}#collapse-button{color:#91caf2}#collapse-button:focus,#collapse-button:hover{color:#68b3e8}#wpadminbar{background:#02395c}#wpadminbar,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#bbe0fa}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#91caf2}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#01283d;color:#68b3e8}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#68b3e8}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#01283d}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#074e7a}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#fff}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#91caf2}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#68b3e8}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#91caf2}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background:#034f7f;color:#bbe0fa}#wpadminbar #wp-admin-bar-recovery-mode{background-color:#399ce3;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{background-color:#338ccc;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{background-color:#034f7f;border-color:#034f7f}#wpadminbar #wp-admin-bar-user-info .display-name{color:#bbe0fa}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#68b3e8}#wpadminbar #wp-admin-bar-user-info .username{color:#fff}.wp-pointer .wp-pointer-content h3{background-color:#0675c4;border-color:#0566ab}.wp-pointer .wp-pointer-content h3:before{color:#0675c4}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#0675c4}.media-item .bar,.media-progress-bar div{background-color:#0675c4}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0675c4}.attachment.details .check{background-color:#0675c4;box-shadow:0 0 0 1px #fff,0 0 0 2px #0675c4}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#0675c4}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#0675c4}.theme-filter.current,.theme-section.current{border-bottom-color:#02395c}body.more-filters-opened .more-filters{background-color:#02395c;color:#bbe0fa}body.more-filters-opened .more-filters:before{color:#bbe0fa}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#044b7a;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#044b7a;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#91caf2}.wp-responsive-open div#wp-responsive-toggle a{background:#044b7a;border-color:transparent}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#01283d}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#91caf2}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#0675c4}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{border-left-color:#0675c4;color:#0675c4}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{border-top-color:#0675c4;color:#0675c4}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{border-left-color:#0675c4;color:#0675c4}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#0675c4}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#0675c4}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#0675c4;color:#0675c4}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#0675c4}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after,.control-panel-themes .customize-themes-section-title.selected{color:#0675c4}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#0675c4;border-style:solid;box-shadow:0 0 0 1px #0675c4;outline:2px solid transparent}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#0675c4}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#0675c4}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#0675c4}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#001621!important}.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#01283d}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #001621}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#02395c}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#01283d}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#02395c!important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #01283d;border-top:1px solid #01283d}.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover{background:#02395c}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#bbe0fa}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#68b3e8}.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#001621}.admin-color-aquatic .site__info .site__domain:after,.admin-color-aquatic .site__info .site__title:after,.admin-color-classic-blue .site__info .site__domain:after,.admin-color-classic-blue .site__info .site__title:after,.admin-color-classic-bright .site__info .site__domain:after,.admin-color-classic-bright .site__info .site__title:after,.admin-color-classic-dark .site__info .site__domain:after,.admin-color-classic-dark .site__info .site__title:after,.admin-color-contrast .site__info .site__domain:after,.admin-color-contrast .site__info .site__title:after,.admin-color-nightfall .site__info .site__domain:after,.admin-color-nightfall .site__info .site__title:after,.admin-color-powder-snow .site__info .site__domain:after,.admin-color-powder-snow .site__info .site__title:after,.admin-color-sakura .site__info .site__domain:after,.admin-color-sakura .site__info .site__title:after,.admin-color-sunset .site__info .site__domain:after,.admin-color-sunset .site__info .site__title:after{background:linear-gradient(90deg,rgba(2,57,92,0),#02395c 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#68b3e8}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-contrast #adminmenuback{outline:1px solid #01283d}.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338!important}body{--wp-admin-theme-color:#0675c4;--wp-admin-theme-color-darker-10:#0566ab;--wp-admin-theme-color-darker-20:#045793}.a8c-faux-inline-help{--color-primary:#1d2327;--color-primary-dark:#3c434a;--color-primary-light:#8c8f94;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#0675c4;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ocean/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ocean/colors.css
index 9bf67ac1..021bce62 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ocean/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/ocean/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#738e96;box-shadow:inset 0 -1px 0 #627c83}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#627c83;color:#fff !important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff !important}.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item{background:#627c83 !important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher{color:#fff}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #627c83;border-top:1px solid #627c83}.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#9ebaa0}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#fff}.admin-color-blue .site__info .site__title::after,.admin-color-blue .site__info .site__domain::after,.admin-color-coffee .site__info .site__title::after,.admin-color-coffee .site__info .site__domain::after,.admin-color-ectoplasm .site__info .site__title::after,.admin-color-ectoplasm .site__info .site__domain::after,.admin-color-fresh .site__info .site__title::after,.admin-color-fresh .site__info .site__domain::after,.admin-color-light .site__info .site__title::after,.admin-color-light .site__info .site__domain::after,.admin-color-midnight .site__info .site__title::after,.admin-color-midnight .site__info .site__domain::after,.admin-color-modern .site__info .site__title::after,.admin-color-modern .site__info .site__domain::after,.admin-color-ocean .site__info .site__title::after,.admin-color-ocean .site__info .site__domain::after,.admin-color-sunrise .site__info .site__title::after,.admin-color-sunrise .site__info .site__domain::after{background:linear-gradient(90deg, rgba(115, 142, 150, 0), #738e96 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#9ebaa0;color:#fff}.a8c-faux-inline-help{--color-primary: #9ebaa0;--color-primary-dark: #005c44;--color-primary-light: #09b585;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#9ebaa0;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#007053} \ No newline at end of file
+/* NOAUTORTL */.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#738e96;box-shadow:inset 0 -1px 0 #627c83}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#627c83;color:#fff!important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff!important}.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item{background:#627c83!important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #627c83;border-top:1px solid #627c83}.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#9ebaa0}.admin-color-blue .site__info .site__domain,.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__domain,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__domain,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__domain,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__domain,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__domain,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__domain,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__domain,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__domain,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain:after,.admin-color-blue .site__info .site__title:after,.admin-color-coffee .site__info .site__domain:after,.admin-color-coffee .site__info .site__title:after,.admin-color-ectoplasm .site__info .site__domain:after,.admin-color-ectoplasm .site__info .site__title:after,.admin-color-fresh .site__info .site__domain:after,.admin-color-fresh .site__info .site__title:after,.admin-color-light .site__info .site__domain:after,.admin-color-light .site__info .site__title:after,.admin-color-midnight .site__info .site__domain:after,.admin-color-midnight .site__info .site__title:after,.admin-color-modern .site__info .site__domain:after,.admin-color-modern .site__info .site__title:after,.admin-color-ocean .site__info .site__domain:after,.admin-color-ocean .site__info .site__title:after,.admin-color-sunrise .site__info .site__domain:after,.admin-color-sunrise .site__info .site__title:after{background:linear-gradient(90deg,rgba(115,142,150,0),#738e96 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#9ebaa0;color:#fff}body{--wp-admin-theme-color:#9ebaa0;--wp-admin-theme-color-darker-10:#8faf91;--wp-admin-theme-color-darker-20:#80a583}.a8c-faux-inline-help{--color-primary:#9ebaa0;--color-primary-dark:#005c44;--color-primary-light:#09b585;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#9ebaa0;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#007053} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/powder-snow/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/powder-snow/colors.css
index 193e9c9d..26c8b034 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/powder-snow/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/powder-snow/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-body{background:#f6f7f7}a{color:#0073aa}a:hover,a:active,a:focus{color:#0096dd}#post-body .misc-pub-post-status:before,#post-body #visibility:before,.curtime #timestamp:before,#post-body .misc-pub-revisions:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:hover,.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#d63638}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover,.media-modal .delete-attachment:focus,.media-modal .trash-attachment:focus,.media-modal .untrash-attachment:focus,.wp-core-ui .button-link-delete:hover,.wp-core-ui .button-link-delete:focus{color:#d63638}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:hover,.wp-core-ui input[type=reset]:active{color:#0096dd}input[type=text]:focus,input[type=password]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=checkbox]:focus,input[type=radio]:focus,select:focus,textarea:focus{border-color:#0675c4;box-shadow:0 0 0 1px #0675c4}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#0675c4;color:#262a2e;box-shadow:inset 0 2px 5px -3px #0675c4}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#0675c4;border-color:#0675c4}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button-secondary:hover{border-color:#045793;color:#045793}.wp-core-ui .button.focus,.wp-core-ui .button:focus,.wp-core-ui .button-secondary:focus{border-color:#0893f5;color:#033a61;box-shadow:0 0 0 1px #0893f5}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#0675c4;border-color:#0675c4;color:#fff}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#067ed3;border-color:#066cb5;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.wp-core-ui .button-primary:active{background:#0566ab;border-color:#0566ab;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#0675c4;color:#fff;border-color:#04497a;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#0675c4}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#101517}.wp-core-ui .wp-ui-text-primary{color:#101517}.wp-core-ui .wp-ui-highlight{color:#055d9c;background-color:#fff}.wp-core-ui .wp-ui-text-highlight{color:#fff}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#399ce3}.wp-core-ui .wp-ui-text-notification{color:#399ce3}.wp-core-ui .wp-ui-text-icon{color:#646970}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #0675c4;color:#0675c4}.wrap .page-title-action:hover{color:#045793;border-color:#045793}.wrap .page-title-action:focus{border-color:#0893f5;color:#033a61;box-shadow:0 0 0 1px #0893f5}.view-switch a.current:before{color:#dcdcde}.view-switch a:hover:before{color:#399ce3}#adminmenuback,#adminmenuwrap,#adminmenu{background:#dcdcde}#adminmenu a{color:#2c3338}#adminmenu div.wp-menu-image:before{color:#646970}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#055d9c;background-color:#fff}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#055d9c}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#c3c4c7}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#c3c4c7}#adminmenu .wp-submenu .wp-submenu-head{color:#2c3338}#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu .wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a{color:#2c3338}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover{color:#055d9c}#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a{color:#2c3338}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#055d9c}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,.folded #adminmenu li.current.menu-top{color:#fff;background:#50575e}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#399ce3}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li:hover a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins{color:#fff;background:#c3c4c7}#collapse-button{color:#646970}#collapse-button:hover,#collapse-button:focus{color:#055d9c}#wpadminbar{color:#2c3338;background:#dcdcde}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#2c3338}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before,#wpadminbar .ab-item:after{color:#646970}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{color:#055d9c;background:#c3c4c7}#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label{color:#055d9c}#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover #adminbarsearch:before{color:#055d9c}#wpadminbar .menupop .ab-sub-wrapper{background:#c3c4c7}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#efefef}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#2c3338}#wpadminbar .quicklinks li .blavatar,#wpadminbar .menupop .menupop>.ab-item:before{color:#646970}#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li #adminbarsearch.adminbar-focused:before{color:#055d9c}#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#055d9c}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#646970}#wpadminbar #adminbarsearch:before{color:#646970}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#2c3338;background:#eeeeef}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#399ce3}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#338ccc}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#eeeeef;background-color:#eeeeef}#wpadminbar #wp-admin-bar-user-info .display-name{color:#2c3338}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#055d9c}#wpadminbar #wp-admin-bar-user-info .username{color:#2c3338}.wp-pointer .wp-pointer-content h3{background-color:#0675c4;border-color:#0566ab}.wp-pointer .wp-pointer-content h3:before{color:#0675c4}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#0675c4}.media-item .bar,.media-progress-bar div{background-color:#0675c4}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0675c4}.attachment.details .check{background-color:#0675c4;box-shadow:0 0 0 1px #fff,0 0 0 2px #0675c4}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:hover:after,.theme-browser .theme.add-new-theme a:focus:after{background:#0675c4}.theme-browser .theme.add-new-theme a:hover span:after,.theme-browser .theme.add-new-theme a:focus span:after{color:#0675c4}.theme-section.current,.theme-filter.current{border-bottom-color:#dcdcde}body.more-filters-opened .more-filters{color:#2c3338;background-color:#dcdcde}body.more-filters-opened .more-filters:before{color:#2c3338}body.more-filters-opened .more-filters:hover,body.more-filters-opened .more-filters:focus{background-color:#fff;color:#055d9c}body.more-filters-opened .more-filters:hover:before,body.more-filters-opened .more-filters:focus:before{color:#055d9c}.widgets-chooser li.widgets-chooser-selected{background-color:#fff;color:#055d9c}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#055d9c}div#wp-responsive-toggle a:before{color:#646970}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#c3c4c7}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#646970}.mce-container.mce-menu .mce-menu-item:hover,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active{background:#0675c4}#customize-controls .control-section:hover>.accordion-section-title,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section .accordion-section-title:focus{color:#0675c4;border-left-color:#0675c4}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{color:#0675c4;border-top-color:#0675c4}.customize-panel-back:hover,.customize-panel-back:focus,.customize-section-back:hover,.customize-section-back:focus{color:#0675c4;border-left-color:#0675c4}.customize-screen-options-toggle:hover,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.active-menu-screen-options .customize-screen-options-toggle,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus{color:#0675c4}.wp-customizer .menu-item .submitbox .submitdelete:focus,.customize-screen-options-toggle:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.wp-customizer button:focus .toggle-indicator:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,#available-menu-items .item-add:focus:before{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}#customize-controls .customize-info.open .customize-help-toggle,#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover{color:#0675c4}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#0675c4;color:#0675c4}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#0675c4}.control-panel-themes .customize-themes-section-title.selected{color:#0675c4}#customize-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:focus:after{color:#0675c4}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#0675c4;border-style:solid;box-shadow:0 0 0 1px #0675c4;outline:2px solid transparent}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button.active:hover{border-bottom-color:#0675c4}.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,.wp-core-ui .wp-full-overlay .collapse-sidebar:focus{color:#0675c4}.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}.wp-full-overlay-footer .devices button:hover:before,.wp-full-overlay-footer .devices button:focus:before{color:#0675c4}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#101517 !important}.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{background:#2c3338}#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .current div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#2c3338}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #101517}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#3c434a}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#2c3338}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#3c434a !important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #c3c4c7;border-top:1px solid #c3c4c7}.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover{background:#dcdcde}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#2c3338}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#50575e}.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#50575e}.admin-color-aquatic .site__info .site__title::after,.admin-color-aquatic .site__info .site__domain::after,.admin-color-classic-blue .site__info .site__title::after,.admin-color-classic-blue .site__info .site__domain::after,.admin-color-classic-bright .site__info .site__title::after,.admin-color-classic-bright .site__info .site__domain::after,.admin-color-classic-dark .site__info .site__title::after,.admin-color-classic-dark .site__info .site__domain::after,.admin-color-contrast .site__info .site__title::after,.admin-color-contrast .site__info .site__domain::after,.admin-color-nightfall .site__info .site__title::after,.admin-color-nightfall .site__info .site__domain::after,.admin-color-powder-snow .site__info .site__title::after,.admin-color-powder-snow .site__info .site__domain::after,.admin-color-sakura .site__info .site__title::after,.admin-color-sakura .site__info .site__domain::after,.admin-color-sunset .site__info .site__title::after,.admin-color-sunset .site__info .site__domain::after{background:linear-gradient(90deg, rgba(220, 220, 222, 0), #dcdcde 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher{color:#50575e}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#50575e}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#055d9c}.admin-color-contrast #adminmenuback{outline:1px solid #c3c4c7}.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338 !important}body{--wp-admin-theme-color: #0675c4;--wp-admin-theme-color-darker-10: #0566ab;--wp-admin-theme-color-darker-20: #045793}.a8c-faux-inline-help{--color-primary: #1d2327;--color-primary-dark: #3c434a;--color-primary-light: #8c8f94;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#0675c4;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
+/* NOAUTORTL */body{background:#f6f7f7}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#d63638}input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked:before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#0675c4;box-shadow:0 0 0 1px #0675c4}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;box-shadow:0 0 0 1px #32373c;color:#262a2e}.wp-core-ui .button:active{border-color:#7e8993;box-shadow:none;color:#262a2e}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#0675c4;box-shadow:inset 0 2px 5px -3px #0675c4;color:#262a2e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{border-color:#0675c4;color:#0675c4}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#045793;color:#045793}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#0893f5;box-shadow:0 0 0 1px #0893f5;color:#033a61}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#0675c4;border-color:#0675c4;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#067ed3;border-color:#066cb5;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.wp-core-ui .button-primary:active{background:#0566ab;border-color:#0566ab;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#0675c4;border-color:#04497a;box-shadow:inset 0 2px 5px -3px #000;color:#fff}.wp-core-ui .button-group>.button.active{border-color:#0675c4}.wp-core-ui .wp-ui-primary{background-color:#101517;color:#fff}.wp-core-ui .wp-ui-text-primary{color:#101517}.wp-core-ui .wp-ui-highlight{background-color:#fff;color:#055d9c}.wp-core-ui .wp-ui-text-highlight{color:#fff}.wp-core-ui .wp-ui-notification{background-color:#399ce3;color:#fff}.wp-core-ui .wp-ui-text-notification{color:#399ce3}.wp-core-ui .wp-ui-text-icon{color:#646970}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #0675c4;color:#0675c4}.wrap .page-title-action:hover{border-color:#045793;color:#045793}.wrap .page-title-action:focus{border-color:#0893f5;box-shadow:0 0 0 1px #0893f5;color:#033a61}.view-switch a.current:before{color:#dcdcde}.view-switch a:hover:before{color:#399ce3}#adminmenu,#adminmenuback,#adminmenuwrap{background:#dcdcde}#adminmenu a{color:#2c3338}#adminmenu div.wp-menu-image:before{color:#646970}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{background-color:#fff;color:#055d9c}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#055d9c}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#c3c4c7}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#c3c4c7}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#2c3338}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#055d9c}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#2c3338}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#055d9c}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{background:#50575e;color:#fff}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background:#399ce3;color:#fff}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{background:#c3c4c7;color:#fff}#collapse-button{color:#646970}#collapse-button:focus,#collapse-button:hover{color:#055d9c}#wpadminbar{background:#dcdcde}#wpadminbar,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#2c3338}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#646970}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#c3c4c7;color:#055d9c}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#055d9c}#wpadminbar .menupop .ab-sub-wrapper{background:#c3c4c7}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#efefef}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#2c3338}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#646970}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#055d9c}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#646970}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background:#eeeeef;color:#2c3338}#wpadminbar #wp-admin-bar-recovery-mode{background-color:#399ce3;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{background-color:#338ccc;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{background-color:#eeeeef;border-color:#eeeeef}#wpadminbar #wp-admin-bar-user-info .display-name{color:#2c3338}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#055d9c}#wpadminbar #wp-admin-bar-user-info .username{color:#2c3338}.wp-pointer .wp-pointer-content h3{background-color:#0675c4;border-color:#0566ab}.wp-pointer .wp-pointer-content h3:before{color:#0675c4}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#0675c4}.media-item .bar,.media-progress-bar div{background-color:#0675c4}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0675c4}.attachment.details .check{background-color:#0675c4;box-shadow:0 0 0 1px #fff,0 0 0 2px #0675c4}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#0675c4}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#0675c4}.theme-filter.current,.theme-section.current{border-bottom-color:#dcdcde}body.more-filters-opened .more-filters{background-color:#dcdcde;color:#2c3338}body.more-filters-opened .more-filters:before{color:#2c3338}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#fff;color:#055d9c}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#055d9c}.widgets-chooser li.widgets-chooser-selected{background-color:#fff;color:#055d9c}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#055d9c}div#wp-responsive-toggle a:before{color:#646970}.wp-responsive-open div#wp-responsive-toggle a{background:#fff;border-color:transparent}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#c3c4c7}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#646970}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#0675c4}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{border-left-color:#0675c4;color:#0675c4}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{border-top-color:#0675c4;color:#0675c4}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{border-left-color:#0675c4;color:#0675c4}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#0675c4}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#0675c4}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#0675c4;color:#0675c4}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#0675c4}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after,.control-panel-themes .customize-themes-section-title.selected{color:#0675c4}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#0675c4;border-style:solid;box-shadow:0 0 0 1px #0675c4;outline:2px solid transparent}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#0675c4}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#0675c4}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#0675c4}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#101517!important}.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#2c3338}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#2c3338}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #101517}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#3c434a}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#2c3338}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#3c434a!important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #c3c4c7;border-top:1px solid #c3c4c7}.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover{background:#dcdcde}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#2c3338}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#50575e}.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#50575e}.admin-color-aquatic .site__info .site__domain:after,.admin-color-aquatic .site__info .site__title:after,.admin-color-classic-blue .site__info .site__domain:after,.admin-color-classic-blue .site__info .site__title:after,.admin-color-classic-bright .site__info .site__domain:after,.admin-color-classic-bright .site__info .site__title:after,.admin-color-classic-dark .site__info .site__domain:after,.admin-color-classic-dark .site__info .site__title:after,.admin-color-contrast .site__info .site__domain:after,.admin-color-contrast .site__info .site__title:after,.admin-color-nightfall .site__info .site__domain:after,.admin-color-nightfall .site__info .site__title:after,.admin-color-powder-snow .site__info .site__domain:after,.admin-color-powder-snow .site__info .site__title:after,.admin-color-sakura .site__info .site__domain:after,.admin-color-sakura .site__info .site__title:after,.admin-color-sunset .site__info .site__domain:after,.admin-color-sunset .site__info .site__title:after{background:linear-gradient(90deg,hsla(240,3%,87%,0),#dcdcde 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#50575e}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#055d9c}.admin-color-contrast #adminmenuback{outline:1px solid #c3c4c7}.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338!important}body{--wp-admin-theme-color:#0675c4;--wp-admin-theme-color-darker-10:#0566ab;--wp-admin-theme-color-darker-20:#045793}.a8c-faux-inline-help{--color-primary:#1d2327;--color-primary-dark:#3c434a;--color-primary-light:#8c8f94;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#0675c4;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sakura/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sakura/colors.css
index abd52ca3..49e6fbb6 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sakura/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sakura/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-body{background:#f6f7f7}a{color:#0073aa}a:hover,a:active,a:focus{color:#0096dd}#post-body .misc-pub-post-status:before,#post-body #visibility:before,.curtime #timestamp:before,#post-body .misc-pub-revisions:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:hover,.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#d63638}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover,.media-modal .delete-attachment:focus,.media-modal .trash-attachment:focus,.media-modal .untrash-attachment:focus,.wp-core-ui .button-link-delete:hover,.wp-core-ui .button-link-delete:focus{color:#d63638}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:hover,.wp-core-ui input[type=reset]:active{color:#0096dd}input[type=text]:focus,input[type=password]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=checkbox]:focus,input[type=radio]:focus,select:focus,textarea:focus{border-color:#0675c4;box-shadow:0 0 0 1px #0675c4}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#0675c4;color:#262a2e;box-shadow:inset 0 2px 5px -3px #0675c4}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#0675c4;border-color:#0675c4}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button-secondary:hover{border-color:#045793;color:#045793}.wp-core-ui .button.focus,.wp-core-ui .button:focus,.wp-core-ui .button-secondary:focus{border-color:#0893f5;color:#033a61;box-shadow:0 0 0 1px #0893f5}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#0675c4;border-color:#0675c4;color:#fff}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#067ed3;border-color:#066cb5;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.wp-core-ui .button-primary:active{background:#0566ab;border-color:#0566ab;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#0675c4;color:#fff;border-color:#04497a;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#0675c4}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#005c44}.wp-core-ui .wp-ui-text-primary{color:#005c44}.wp-core-ui .wp-ui-highlight{color:#4f092a;background-color:#f7a8c3}.wp-core-ui .wp-ui-text-highlight{color:#f7a8c3}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#f283aa}.wp-core-ui .wp-ui-text-notification{color:#f283aa}.wp-core-ui .wp-ui-text-icon{color:#8c1749}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #0675c4;color:#0675c4}.wrap .page-title-action:hover{color:#045793;border-color:#045793}.wrap .page-title-action:focus{border-color:#0893f5;color:#033a61;box-shadow:0 0 0 1px #0893f5}.view-switch a.current:before{color:#f2ceda}.view-switch a:hover:before{color:#f283aa}#adminmenuback,#adminmenuwrap,#adminmenu{background:#f2ceda}#adminmenu a{color:#700f3b}#adminmenu div.wp-menu-image:before{color:#8c1749}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#4f092a;background-color:#f7a8c3}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#4f092a}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#4f092a}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#4f092a}#adminmenu .wp-submenu .wp-submenu-head{color:#f5e9ed}#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu .wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a{color:#f5e9ed}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover{color:#68b3e8}#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a{color:#f5e9ed}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#68b3e8}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,.folded #adminmenu li.current.menu-top{color:#fff;background:#0675c4}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#f283aa}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li:hover a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins{color:#fff;background:#4f092a}#collapse-button{color:#8c1749}#collapse-button:hover,#collapse-button:focus{color:#68b3e8}#wpadminbar{color:#700f3b;background:#f2ceda}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#700f3b}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before,#wpadminbar .ab-item:after{color:#8c1749}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{color:#68b3e8;background:#4f092a}#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label{color:#68b3e8}#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover #adminbarsearch:before{color:#4f092a}#wpadminbar .menupop .ab-sub-wrapper{background:#4f092a}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f9ebf0}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#f5e9ed}#wpadminbar .quicklinks li .blavatar,#wpadminbar .menupop .menupop>.ab-item:before{color:#8c1749}#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li #adminbarsearch.adminbar-focused:before{color:#68b3e8}#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#68b3e8}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#8c1749}#wpadminbar #adminbarsearch:before{color:#8c1749}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#700f3b;background:#f9eaef}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#f283aa}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#da7699}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#f9eaef;background-color:#f9eaef}#wpadminbar #wp-admin-bar-user-info .display-name{color:#700f3b}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#68b3e8}#wpadminbar #wp-admin-bar-user-info .username{color:#f5e9ed}.wp-pointer .wp-pointer-content h3{background-color:#0675c4;border-color:#0566ab}.wp-pointer .wp-pointer-content h3:before{color:#0675c4}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#0675c4}.media-item .bar,.media-progress-bar div{background-color:#0675c4}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0675c4}.attachment.details .check{background-color:#0675c4;box-shadow:0 0 0 1px #fff,0 0 0 2px #0675c4}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:hover:after,.theme-browser .theme.add-new-theme a:focus:after{background:#0675c4}.theme-browser .theme.add-new-theme a:hover span:after,.theme-browser .theme.add-new-theme a:focus span:after{color:#0675c4}.theme-section.current,.theme-filter.current{border-bottom-color:#f2ceda}body.more-filters-opened .more-filters{color:#700f3b;background-color:#f2ceda}body.more-filters-opened .more-filters:before{color:#700f3b}body.more-filters-opened .more-filters:hover,body.more-filters-opened .more-filters:focus{background-color:#f7a8c3;color:#4f092a}body.more-filters-opened .more-filters:hover:before,body.more-filters-opened .more-filters:focus:before{color:#4f092a}.widgets-chooser li.widgets-chooser-selected{background-color:#f7a8c3;color:#4f092a}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#4f092a}div#wp-responsive-toggle a:before{color:#8c1749}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#f7a8c3}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4f092a}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#8c1749}.mce-container.mce-menu .mce-menu-item:hover,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active{background:#0675c4}#customize-controls .control-section:hover>.accordion-section-title,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section .accordion-section-title:focus{color:#0675c4;border-left-color:#0675c4}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{color:#0675c4;border-top-color:#0675c4}.customize-panel-back:hover,.customize-panel-back:focus,.customize-section-back:hover,.customize-section-back:focus{color:#0675c4;border-left-color:#0675c4}.customize-screen-options-toggle:hover,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.active-menu-screen-options .customize-screen-options-toggle,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus{color:#0675c4}.wp-customizer .menu-item .submitbox .submitdelete:focus,.customize-screen-options-toggle:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.wp-customizer button:focus .toggle-indicator:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,#available-menu-items .item-add:focus:before{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}#customize-controls .customize-info.open .customize-help-toggle,#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover{color:#0675c4}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#0675c4;color:#0675c4}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#0675c4}.control-panel-themes .customize-themes-section-title.selected{color:#0675c4}#customize-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:focus:after{color:#0675c4}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#0675c4;border-style:solid;box-shadow:0 0 0 1px #0675c4;outline:2px solid transparent}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button.active:hover{border-bottom-color:#0675c4}.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,.wp-core-ui .wp-full-overlay .collapse-sidebar:focus{color:#0675c4}.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}.wp-full-overlay-footer .devices button:hover:before,.wp-full-overlay-footer .devices button:focus:before{color:#0675c4}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#005c44 !important}.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{background:#004533}#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .current div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#f5e9ed}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #005c44}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#003024}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#004533}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#003024 !important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #f7a8c3;border-top:1px solid #f7a8c3}.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover{background:#f2ceda}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#700f3b}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#ab235a}.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#0675c4}.admin-color-aquatic .site__info .site__title::after,.admin-color-aquatic .site__info .site__domain::after,.admin-color-classic-blue .site__info .site__title::after,.admin-color-classic-blue .site__info .site__domain::after,.admin-color-classic-bright .site__info .site__title::after,.admin-color-classic-bright .site__info .site__domain::after,.admin-color-classic-dark .site__info .site__title::after,.admin-color-classic-dark .site__info .site__domain::after,.admin-color-contrast .site__info .site__title::after,.admin-color-contrast .site__info .site__domain::after,.admin-color-nightfall .site__info .site__title::after,.admin-color-nightfall .site__info .site__domain::after,.admin-color-powder-snow .site__info .site__title::after,.admin-color-powder-snow .site__info .site__domain::after,.admin-color-sakura .site__info .site__title::after,.admin-color-sakura .site__info .site__domain::after,.admin-color-sunset .site__info .site__title::after,.admin-color-sunset .site__info .site__domain::after{background:linear-gradient(90deg, rgba(242, 206, 218, 0), #f2ceda 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher{color:#ab235a}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#ab235a}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#4f092a}.admin-color-contrast #adminmenuback{outline:1px solid #f7a8c3}.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338 !important}body{--wp-admin-theme-color: #0675c4;--wp-admin-theme-color-darker-10: #0566ab;--wp-admin-theme-color-darker-20: #045793}.a8c-faux-inline-help{--color-primary: #008763;--color-primary-dark: #005c44;--color-primary-light: #09b585;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#0675c4;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
+/* NOAUTORTL */body{background:#f6f7f7}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#d63638}input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked:before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#0675c4;box-shadow:0 0 0 1px #0675c4}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;box-shadow:0 0 0 1px #32373c;color:#262a2e}.wp-core-ui .button:active{border-color:#7e8993;box-shadow:none;color:#262a2e}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#0675c4;box-shadow:inset 0 2px 5px -3px #0675c4;color:#262a2e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{border-color:#0675c4;color:#0675c4}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#045793;color:#045793}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#0893f5;box-shadow:0 0 0 1px #0893f5;color:#033a61}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#0675c4;border-color:#0675c4;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#067ed3;border-color:#066cb5;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.wp-core-ui .button-primary:active{background:#0566ab;border-color:#0566ab;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#0675c4;border-color:#04497a;box-shadow:inset 0 2px 5px -3px #000;color:#fff}.wp-core-ui .button-group>.button.active{border-color:#0675c4}.wp-core-ui .wp-ui-primary{background-color:#005c44;color:#fff}.wp-core-ui .wp-ui-text-primary{color:#005c44}.wp-core-ui .wp-ui-highlight{background-color:#f7a8c3;color:#4f092a}.wp-core-ui .wp-ui-text-highlight{color:#f7a8c3}.wp-core-ui .wp-ui-notification{background-color:#f283aa;color:#fff}.wp-core-ui .wp-ui-text-notification{color:#f283aa}.wp-core-ui .wp-ui-text-icon{color:#8c1749}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #0675c4;color:#0675c4}.wrap .page-title-action:hover{border-color:#045793;color:#045793}.wrap .page-title-action:focus{border-color:#0893f5;box-shadow:0 0 0 1px #0893f5;color:#033a61}.view-switch a.current:before{color:#f2ceda}.view-switch a:hover:before{color:#f283aa}#adminmenu,#adminmenuback,#adminmenuwrap{background:#f2ceda}#adminmenu a{color:#700f3b}#adminmenu div.wp-menu-image:before{color:#8c1749}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{background-color:#f7a8c3;color:#4f092a}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#4f092a}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#4f092a}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#4f092a}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#f5e9ed}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#68b3e8}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#f5e9ed}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#68b3e8}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{background:#0675c4;color:#fff}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background:#f283aa;color:#fff}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{background:#4f092a;color:#fff}#collapse-button{color:#8c1749}#collapse-button:focus,#collapse-button:hover{color:#68b3e8}#wpadminbar{background:#f2ceda}#wpadminbar,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#700f3b}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#8c1749}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#4f092a;color:#68b3e8}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#68b3e8}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#4f092a}#wpadminbar .menupop .ab-sub-wrapper{background:#4f092a}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f9ebf0}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#f5e9ed}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#8c1749}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#68b3e8}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#8c1749}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background:#f9eaef;color:#700f3b}#wpadminbar #wp-admin-bar-recovery-mode{background-color:#f283aa;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{background-color:#da7699;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{background-color:#f9eaef;border-color:#f9eaef}#wpadminbar #wp-admin-bar-user-info .display-name{color:#700f3b}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#68b3e8}#wpadminbar #wp-admin-bar-user-info .username{color:#f5e9ed}.wp-pointer .wp-pointer-content h3{background-color:#0675c4;border-color:#0566ab}.wp-pointer .wp-pointer-content h3:before{color:#0675c4}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#0675c4}.media-item .bar,.media-progress-bar div{background-color:#0675c4}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0675c4}.attachment.details .check{background-color:#0675c4;box-shadow:0 0 0 1px #fff,0 0 0 2px #0675c4}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #0675c4}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#0675c4}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#0675c4}.theme-filter.current,.theme-section.current{border-bottom-color:#f2ceda}body.more-filters-opened .more-filters{background-color:#f2ceda;color:#700f3b}body.more-filters-opened .more-filters:before{color:#700f3b}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#f7a8c3;color:#4f092a}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#4f092a}.widgets-chooser li.widgets-chooser-selected{background-color:#f7a8c3;color:#4f092a}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#4f092a}div#wp-responsive-toggle a:before{color:#8c1749}.wp-responsive-open div#wp-responsive-toggle a{background:#f7a8c3;border-color:transparent}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4f092a}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#8c1749}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#0675c4}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{border-left-color:#0675c4;color:#0675c4}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{border-top-color:#0675c4;color:#0675c4}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{border-left-color:#0675c4;color:#0675c4}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#0675c4}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#0675c4}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#0675c4;color:#0675c4}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#0675c4}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after,.control-panel-themes .customize-themes-section-title.selected{color:#0675c4}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#0675c4;border-style:solid;box-shadow:0 0 0 1px #0675c4;outline:2px solid transparent}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#0675c4}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#0675c4}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #0893f5,0 0 2px 1px #0675c4}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#0675c4}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#005c44!important}.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#004533}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f5e9ed}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #005c44}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#003024}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#004533}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#003024!important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #f7a8c3;border-top:1px solid #f7a8c3}.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover{background:#f2ceda}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#700f3b}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#ab235a}.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#0675c4}.admin-color-aquatic .site__info .site__domain:after,.admin-color-aquatic .site__info .site__title:after,.admin-color-classic-blue .site__info .site__domain:after,.admin-color-classic-blue .site__info .site__title:after,.admin-color-classic-bright .site__info .site__domain:after,.admin-color-classic-bright .site__info .site__title:after,.admin-color-classic-dark .site__info .site__domain:after,.admin-color-classic-dark .site__info .site__title:after,.admin-color-contrast .site__info .site__domain:after,.admin-color-contrast .site__info .site__title:after,.admin-color-nightfall .site__info .site__domain:after,.admin-color-nightfall .site__info .site__title:after,.admin-color-powder-snow .site__info .site__domain:after,.admin-color-powder-snow .site__info .site__title:after,.admin-color-sakura .site__info .site__domain:after,.admin-color-sakura .site__info .site__title:after,.admin-color-sunset .site__info .site__domain:after,.admin-color-sunset .site__info .site__title:after{background:linear-gradient(90deg,rgba(242,206,218,0),#f2ceda 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#ab235a}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#4f092a}.admin-color-contrast #adminmenuback{outline:1px solid #f7a8c3}.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338!important}body{--wp-admin-theme-color:#0675c4;--wp-admin-theme-color-darker-10:#0566ab;--wp-admin-theme-color-darker-20:#045793}.a8c-faux-inline-help{--color-primary:#008763;--color-primary-dark:#005c44;--color-primary-light:#09b585;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#0675c4;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#055d9c} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunrise/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunrise/colors.css
index af0a44ce..a3bbc3a7 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunrise/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunrise/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#cf4944;box-shadow:inset 0 -1px 0 #be3631}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#be3631;color:#fff !important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff !important}.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item{background:#be3631 !important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher{color:#f6f7f7}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#f6f7f7}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #be3631;border-top:1px solid #be3631}.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#dd823b}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#f6f7f7}.admin-color-blue .site__info .site__title::after,.admin-color-blue .site__info .site__domain::after,.admin-color-coffee .site__info .site__title::after,.admin-color-coffee .site__info .site__domain::after,.admin-color-ectoplasm .site__info .site__title::after,.admin-color-ectoplasm .site__info .site__domain::after,.admin-color-fresh .site__info .site__title::after,.admin-color-fresh .site__info .site__domain::after,.admin-color-light .site__info .site__title::after,.admin-color-light .site__info .site__domain::after,.admin-color-midnight .site__info .site__title::after,.admin-color-midnight .site__info .site__domain::after,.admin-color-modern .site__info .site__title::after,.admin-color-modern .site__info .site__domain::after,.admin-color-ocean .site__info .site__title::after,.admin-color-ocean .site__info .site__domain::after,.admin-color-sunrise .site__info .site__title::after,.admin-color-sunrise .site__info .site__domain::after{background:linear-gradient(90deg, rgba(207, 73, 68, 0), #cf4944 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#dd823b;color:#fff}.a8c-faux-inline-help{--color-primary: #dd823b;--color-primary-dark: #704000;--color-primary-light: #e68b28;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#dd823b;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#8a4d00} \ No newline at end of file
+/* NOAUTORTL */.admin-color-blue #wpadminbar,.admin-color-coffee #wpadminbar,.admin-color-ectoplasm #wpadminbar,.admin-color-fresh #wpadminbar,.admin-color-light #wpadminbar,.admin-color-midnight #wpadminbar,.admin-color-modern #wpadminbar,.admin-color-ocean #wpadminbar,.admin-color-sunrise #wpadminbar{background:#cf4944;box-shadow:inset 0 -1px 0 #be3631}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-blog>.ab-item{background:#be3631;color:#fff!important}.admin-color-blue #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-coffee #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ectoplasm #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-fresh #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-light #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-midnight #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-modern #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-ocean #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item,.admin-color-sunrise #wpadminbar .ab-top-menu>#wp-admin-bar-newdash>.ab-item{color:#fff!important}.admin-color-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-blue #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-blue #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-coffee #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-coffee #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ectoplasm #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ectoplasm #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-fresh #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-fresh #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-light #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-light #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-midnight #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-midnight #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-modern #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-modern #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-ocean #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-ocean #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunrise #wpadminbar #wp-admin-bar-notes.wpnt-show>.ab-item,.admin-color-sunrise #wpadminbar:not(.mobile) .ab-top-menu>li:not(#wp-admin-bar-ab-new-post):hover>.ab-item{background:#be3631!important}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#f6f7f7}.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-coffee #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ectoplasm #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-fresh #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-light #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-midnight #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-modern #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-ocean #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunrise #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-blue #adminmenu li.toplevel_page_site-card,.admin-color-coffee #adminmenu li.toplevel_page_site-card,.admin-color-ectoplasm #adminmenu li.toplevel_page_site-card,.admin-color-fresh #adminmenu li.toplevel_page_site-card,.admin-color-light #adminmenu li.toplevel_page_site-card,.admin-color-midnight #adminmenu li.toplevel_page_site-card,.admin-color-modern #adminmenu li.toplevel_page_site-card,.admin-color-ocean #adminmenu li.toplevel_page_site-card,.admin-color-sunrise #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #be3631;border-top:1px solid #be3631}.admin-color-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-coffee #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ectoplasm #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-fresh #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-light #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-midnight #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-modern #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-ocean #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunrise #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#dd823b}.admin-color-blue .site__info .site__title,.admin-color-coffee .site__info .site__title,.admin-color-ectoplasm .site__info .site__title,.admin-color-fresh .site__info .site__title,.admin-color-light .site__info .site__title,.admin-color-midnight .site__info .site__title,.admin-color-modern .site__info .site__title,.admin-color-ocean .site__info .site__title,.admin-color-sunrise .site__info .site__title{color:#fff}.admin-color-blue .site__info .site__domain,.admin-color-coffee .site__info .site__domain,.admin-color-ectoplasm .site__info .site__domain,.admin-color-fresh .site__info .site__domain,.admin-color-light .site__info .site__domain,.admin-color-midnight .site__info .site__domain,.admin-color-modern .site__info .site__domain,.admin-color-ocean .site__info .site__domain,.admin-color-sunrise .site__info .site__domain{color:#f6f7f7}.admin-color-blue .site__info .site__domain:after,.admin-color-blue .site__info .site__title:after,.admin-color-coffee .site__info .site__domain:after,.admin-color-coffee .site__info .site__title:after,.admin-color-ectoplasm .site__info .site__domain:after,.admin-color-ectoplasm .site__info .site__title:after,.admin-color-fresh .site__info .site__domain:after,.admin-color-fresh .site__info .site__title:after,.admin-color-light .site__info .site__domain:after,.admin-color-light .site__info .site__title:after,.admin-color-midnight .site__info .site__domain:after,.admin-color-midnight .site__info .site__title:after,.admin-color-modern .site__info .site__domain:after,.admin-color-modern .site__info .site__title:after,.admin-color-ocean .site__info .site__domain:after,.admin-color-ocean .site__info .site__title:after,.admin-color-sunrise .site__info .site__domain:after,.admin-color-sunrise .site__info .site__title:after{background:linear-gradient(90deg,rgba(207,73,68,0),#cf4944 90%)}.admin-color-blue .site__info>.site__badge,.admin-color-coffee .site__info>.site__badge,.admin-color-ectoplasm .site__info>.site__badge,.admin-color-fresh .site__info>.site__badge,.admin-color-light .site__info>.site__badge,.admin-color-midnight .site__info>.site__badge,.admin-color-modern .site__info>.site__badge,.admin-color-ocean .site__info>.site__badge,.admin-color-sunrise .site__info>.site__badge{background:#dd823b;color:#fff}body{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.a8c-faux-inline-help{--color-primary:#dd823b;--color-primary-dark:#704000;--color-primary-light:#e68b28;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#dd823b;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#8a4d00} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunset/colors.css b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunset/colors.css
index 6850d1d8..44848828 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunset/colors.css
+++ b/plugins/jetpack/_inc/build/masterbar/admin-color-schemes/colors/sunset/colors.css
@@ -1,3 +1 @@
-/* NOAUTORTL */
-/* Do not modify this file directly. It is compiled SASS code. */
-body{background:#f6f7f7}a{color:#0073aa}a:hover,a:active,a:focus{color:#0096dd}#post-body .misc-pub-post-status:before,#post-body #visibility:before,.curtime #timestamp:before,#post-body .misc-pub-revisions:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:hover,.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#d63638}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover,.media-modal .delete-attachment:focus,.media-modal .trash-attachment:focus,.media-modal .untrash-attachment:focus,.wp-core-ui .button-link-delete:hover,.wp-core-ui .button-link-delete:focus{color:#d63638}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:hover,.wp-core-ui input[type=reset]:active{color:#0096dd}input[type=text]:focus,input[type=password]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=checkbox]:focus,input[type=radio]:focus,select:focus,textarea:focus{border-color:#b26200;box-shadow:0 0 0 1px #b26200}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#b26200;color:#262a2e;box-shadow:inset 0 2px 5px -3px #b26200}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#b26200;border-color:#b26200}.wp-core-ui .button.hover,.wp-core-ui .button:hover,.wp-core-ui .button-secondary:hover{border-color:#7f4600;color:#7f4600}.wp-core-ui .button.focus,.wp-core-ui .button:focus,.wp-core-ui .button-secondary:focus{border-color:#e57e00;color:#4c2a00;box-shadow:0 0 0 1px #e57e00}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#b26200;border-color:#b26200;color:#fff}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#c16a00;border-color:#a35a00;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #b26200}.wp-core-ui .button-primary:active{background:#995400;border-color:#995400;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#b26200;color:#fff;border-color:#663800;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#b26200}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#691c1c}.wp-core-ui .wp-ui-text-primary{color:#691c1c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#691c1c}.wp-core-ui .wp-ui-text-highlight{color:#691c1c}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#f283aa}.wp-core-ui .wp-ui-text-notification{color:#f283aa}.wp-core-ui .wp-ui-text-icon{color:#facfd2}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #b26200;color:#b26200}.wrap .page-title-action:hover{color:#7f4600;border-color:#7f4600}.wrap .page-title-action:focus{border-color:#e57e00;color:#4c2a00;box-shadow:0 0 0 1px #e57e00}.view-switch a.current:before{color:#8a2424}.view-switch a:hover:before{color:#f283aa}#adminmenuback,#adminmenuwrap,#adminmenu{background:#8a2424}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#facfd2}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#691c1c}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#b32d2e}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#b32d2e}#adminmenu .wp-submenu .wp-submenu-head{color:#fff}#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu .wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a{color:#fff}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover{color:#f0c930}#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a{color:#fff}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#f0c930}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,.folded #adminmenu li.current.menu-top{color:#4f3500;background:#f0c930}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before{color:#4f3500}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#f283aa}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li:hover a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins{color:#fff;background:#b32d2e}#collapse-button{color:#facfd2}#collapse-button:hover,#collapse-button:focus{color:#f0c930}#wpadminbar{color:#fff;background:#8a2424}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before,#wpadminbar .ab-item:after{color:#facfd2}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{color:#f0c930;background:#b32d2e}#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label{color:#f0c930}#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover #adminbarsearch:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#b32d2e}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#9f3333}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#fff}#wpadminbar .quicklinks li .blavatar,#wpadminbar .menupop .menupop>.ab-item:before{color:#facfd2}#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li #adminbarsearch.adminbar-focused:before{color:#f0c930}#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#f0c930}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#facfd2}#wpadminbar #adminbarsearch:before{color:#facfd2}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#a62b2b}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#f283aa}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#da7699}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#a62b2b;background-color:#a62b2b}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f0c930}#wpadminbar #wp-admin-bar-user-info .username{color:#fff}.wp-pointer .wp-pointer-content h3{background-color:#b26200;border-color:#995400}.wp-pointer .wp-pointer-content h3:before{color:#b26200}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#b26200}.media-item .bar,.media-progress-bar div{background-color:#b26200}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #b26200}.attachment.details .check{background-color:#b26200;box-shadow:0 0 0 1px #fff,0 0 0 2px #b26200}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #b26200}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:hover:after,.theme-browser .theme.add-new-theme a:focus:after{background:#b26200}.theme-browser .theme.add-new-theme a:hover span:after,.theme-browser .theme.add-new-theme a:focus span:after{color:#b26200}.theme-section.current,.theme-filter.current{border-bottom-color:#8a2424}body.more-filters-opened .more-filters{color:#fff;background-color:#8a2424}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:hover,body.more-filters-opened .more-filters:focus{background-color:#691c1c;color:#fff}body.more-filters-opened .more-filters:hover:before,body.more-filters-opened .more-filters:focus:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#691c1c;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#facfd2}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#691c1c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#b32d2e}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#facfd2}.mce-container.mce-menu .mce-menu-item:hover,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active{background:#b26200}#customize-controls .control-section:hover>.accordion-section-title,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section .accordion-section-title:focus{color:#b26200;border-left-color:#b26200}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{color:#b26200;border-top-color:#b26200}.customize-panel-back:hover,.customize-panel-back:focus,.customize-section-back:hover,.customize-section-back:focus{color:#b26200;border-left-color:#b26200}.customize-screen-options-toggle:hover,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.active-menu-screen-options .customize-screen-options-toggle,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus{color:#b26200}.wp-customizer .menu-item .submitbox .submitdelete:focus,.customize-screen-options-toggle:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.wp-customizer button:focus .toggle-indicator:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,#available-menu-items .item-add:focus:before{box-shadow:0 0 0 1px #e57e00,0 0 2px 1px #b26200}#customize-controls .customize-info.open .customize-help-toggle,#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover{color:#b26200}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#b26200;color:#b26200}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#b26200}.control-panel-themes .customize-themes-section-title.selected{color:#b26200}#customize-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section .accordion-section-title:focus:after{color:#b26200}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#b26200;border-style:solid;box-shadow:0 0 0 1px #b26200;outline:2px solid transparent}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button.active:hover{border-bottom-color:#b26200}.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,.wp-core-ui .wp-full-overlay .collapse-sidebar:focus{color:#b26200}.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e57e00,0 0 2px 1px #b26200}.wp-full-overlay-footer .devices button:hover:before,.wp-full-overlay-footer .devices button:focus:before{color:#b26200}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#691c1c !important}.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item{background:#451313}#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu .current div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before{color:#4f3500}#adminmenu .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #691c1c}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#240a0a}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#451313}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#240a0a !important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #691c1c;border-top:1px solid #691c1c}.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover{background:#8a2424}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#fff}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#ffabaf}.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image{background-color:#f0c930}.admin-color-aquatic .site__info .site__title::after,.admin-color-aquatic .site__info .site__domain::after,.admin-color-classic-blue .site__info .site__title::after,.admin-color-classic-blue .site__info .site__domain::after,.admin-color-classic-bright .site__info .site__title::after,.admin-color-classic-bright .site__info .site__domain::after,.admin-color-classic-dark .site__info .site__title::after,.admin-color-classic-dark .site__info .site__domain::after,.admin-color-contrast .site__info .site__title::after,.admin-color-contrast .site__info .site__domain::after,.admin-color-nightfall .site__info .site__title::after,.admin-color-nightfall .site__info .site__domain::after,.admin-color-powder-snow .site__info .site__title::after,.admin-color-powder-snow .site__info .site__domain::after,.admin-color-sakura .site__info .site__title::after,.admin-color-sakura .site__info .site__domain::after,.admin-color-sunset .site__info .site__title::after,.admin-color-sunset .site__info .site__domain::after{background:linear-gradient(90deg, rgba(138, 36, 36, 0), #8a2424 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher{color:#ffabaf}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#ffabaf}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-contrast #adminmenuback{outline:1px solid #691c1c}.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338 !important}body{--wp-admin-theme-color: #b26200;--wp-admin-theme-color-darker-10: #995400;--wp-admin-theme-color-darker-20: #7f4600}.a8c-faux-inline-help{--color-primary: #d63638;--color-primary-dark: #8a2424;--color-primary-light: #f86368;--color-surface: #fff;--color-neutral-100-rgb: 16, 21, 23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#b26200;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#8a4d00} \ No newline at end of file
+/* NOAUTORTL */body{background:#f6f7f7}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#d63638}input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked:before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#b26200;box-shadow:0 0 0 1px #b26200}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;box-shadow:0 0 0 1px #32373c;color:#262a2e}.wp-core-ui .button:active{border-color:#7e8993;box-shadow:none;color:#262a2e}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#b26200;box-shadow:inset 0 2px 5px -3px #b26200;color:#262a2e}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{border-color:#b26200;color:#b26200}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#7f4600;color:#7f4600}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#e57e00;box-shadow:0 0 0 1px #e57e00;color:#4c2a00}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#b26200;border-color:#b26200;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#c16a00;border-color:#a35a00;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #b26200}.wp-core-ui .button-primary:active{background:#995400;border-color:#995400;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#b26200;border-color:#663800;box-shadow:inset 0 2px 5px -3px #000;color:#fff}.wp-core-ui .button-group>.button.active{border-color:#b26200}.wp-core-ui .wp-ui-primary{background-color:#691c1c;color:#fff}.wp-core-ui .wp-ui-text-primary{color:#691c1c}.wp-core-ui .wp-ui-highlight{background-color:#691c1c;color:#fff}.wp-core-ui .wp-ui-text-highlight{color:#691c1c}.wp-core-ui .wp-ui-notification{background-color:#f283aa;color:#fff}.wp-core-ui .wp-ui-text-notification{color:#f283aa}.wp-core-ui .wp-ui-text-icon{color:#facfd2}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #b26200;color:#b26200}.wrap .page-title-action:hover{border-color:#7f4600;color:#7f4600}.wrap .page-title-action:focus{border-color:#e57e00;box-shadow:0 0 0 1px #e57e00;color:#4c2a00}.view-switch a.current:before{color:#8a2424}.view-switch a:hover:before{color:#f283aa}#adminmenu,#adminmenuback,#adminmenuwrap{background:#8a2424}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#facfd2}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{background-color:#691c1c;color:#fff}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f6f7f7;border-bottom-color:#f6f7f7}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#b32d2e}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#b32d2e}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#fff}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#f0c930}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f0c930}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f6f7f7}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{background:#f0c930;color:#4f3500}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#4f3500}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background:#f283aa;color:#fff}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{background:#b32d2e;color:#fff}#collapse-button{color:#facfd2}#collapse-button:focus,#collapse-button:hover{color:#f0c930}#wpadminbar{background:#8a2424;color:#fff}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#facfd2}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#b32d2e;color:#f0c930}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#f0c930}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#b32d2e}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#9f3333}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#fff}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#facfd2}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f0c930}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#facfd2}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background:#a62b2b;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode{background-color:#f283aa;color:#fff}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{background-color:#da7699;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{background-color:#a62b2b;border-color:#a62b2b}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f0c930}#wpadminbar #wp-admin-bar-user-info .username{color:#fff}.wp-pointer .wp-pointer-content h3{background-color:#b26200;border-color:#995400}.wp-pointer .wp-pointer-content h3:before{color:#b26200}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#b26200}.media-item .bar,.media-progress-bar div{background-color:#b26200}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #b26200}.attachment.details .check{background-color:#b26200;box-shadow:0 0 0 1px #fff,0 0 0 2px #b26200}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #b26200}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#b26200}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#b26200}.theme-filter.current,.theme-section.current{border-bottom-color:#8a2424}body.more-filters-opened .more-filters{background-color:#8a2424;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#691c1c;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#691c1c;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#facfd2}.wp-responsive-open div#wp-responsive-toggle a{background:#691c1c;border-color:transparent}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#b32d2e}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#facfd2}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#b26200}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{border-left-color:#b26200;color:#b26200}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{border-top-color:#b26200;color:#b26200}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{border-left-color:#b26200;color:#b26200}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#b26200}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #e57e00,0 0 2px 1px #b26200}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#b26200}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#b26200;color:#b26200}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#b26200}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after,.control-panel-themes .customize-themes-section-title.selected{color:#b26200}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#b26200;border-style:solid;box-shadow:0 0 0 1px #b26200;outline:2px solid transparent}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#b26200}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#b26200}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e57e00,0 0 2px 1px #b26200}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#b26200}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{background:#691c1c!important}.admin-color-aquatic #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-aquatic #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-aquatic #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-aquatic #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-blue #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-blue #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-blue #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-bright #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-bright #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-bright #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-classic-dark #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-classic-dark #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-classic-dark #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-contrast #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-contrast #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-contrast #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-nightfall #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-nightfall #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-nightfall #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-powder-snow #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-powder-snow #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-powder-snow #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sakura #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sakura #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sakura #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,.admin-color-sunset #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,.admin-color-sunset #wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,.admin-color-sunset #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:#451313}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#4f3500}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#fff}.admin-color-aquatic #wpadminbar,.admin-color-classic-blue #wpadminbar,.admin-color-classic-bright #wpadminbar,.admin-color-classic-dark #wpadminbar,.admin-color-contrast #wpadminbar,.admin-color-nightfall #wpadminbar,.admin-color-powder-snow #wpadminbar,.admin-color-sakura #wpadminbar,.admin-color-sunset #wpadminbar{box-shadow:inset 0 -1px 0 #691c1c}.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-aquatic #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.my-sites>.ab-item:hover{background:#240a0a}.admin-color-aquatic #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-blue #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-bright #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-classic-dark #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-contrast #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-nightfall #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-powder-snow #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sakura #wpadminbar #wp-admin-bar-notes.hover>.ab-item,.admin-color-sunset #wpadminbar #wp-admin-bar-notes.hover>.ab-item{background:#451313}.admin-color-aquatic #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-blue #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-bright #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-classic-dark #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-contrast #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-nightfall #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-powder-snow #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sakura #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item,.admin-color-sunset #wpadminbar .ab-top-menu>li.wpnt-show>.ab-item{background:#240a0a!important}.admin-color-aquatic #adminmenu li.toplevel_page_site-card,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card,.admin-color-contrast #adminmenu li.toplevel_page_site-card,.admin-color-nightfall #adminmenu li.toplevel_page_site-card,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card,.admin-color-sakura #adminmenu li.toplevel_page_site-card,.admin-color-sunset #adminmenu li.toplevel_page_site-card{border-bottom:1px solid #691c1c;border-top:1px solid #691c1c}.admin-color-aquatic #adminmenu li.toplevel_page_site-card a:hover,.admin-color-aquatic #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-blue #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-bright #adminmenu li.toplevel_page_site-card:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card a:hover,.admin-color-classic-dark #adminmenu li.toplevel_page_site-card:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card a:hover,.admin-color-contrast #adminmenu li.toplevel_page_site-card:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card a:hover,.admin-color-nightfall #adminmenu li.toplevel_page_site-card:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card a:hover,.admin-color-powder-snow #adminmenu li.toplevel_page_site-card:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sakura #adminmenu li.toplevel_page_site-card:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card a:hover,.admin-color-sunset #adminmenu li.toplevel_page_site-card:hover{background:#8a2424}.admin-color-aquatic .site__info .site__title,.admin-color-classic-blue .site__info .site__title,.admin-color-classic-bright .site__info .site__title,.admin-color-classic-dark .site__info .site__title,.admin-color-contrast .site__info .site__title,.admin-color-nightfall .site__info .site__title,.admin-color-powder-snow .site__info .site__title,.admin-color-sakura .site__info .site__title,.admin-color-sunset .site__info .site__title{color:#fff}.admin-color-aquatic .site__info .site__domain,.admin-color-classic-blue .site__info .site__domain,.admin-color-classic-bright .site__info .site__domain,.admin-color-classic-dark .site__info .site__domain,.admin-color-contrast .site__info .site__domain,.admin-color-nightfall .site__info .site__domain,.admin-color-powder-snow .site__info .site__domain,.admin-color-sakura .site__info .site__domain,.admin-color-sunset .site__info .site__domain{color:#ffabaf}.admin-color-aquatic #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-aquatic #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-blue #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-bright #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-classic-dark #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-contrast #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-nightfall #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-powder-snow #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sakura #adminmenu .toplevel_page_site-card:hover div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,.admin-color-sunset #adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-color:#f0c930}.admin-color-aquatic .site__info .site__domain:after,.admin-color-aquatic .site__info .site__title:after,.admin-color-classic-blue .site__info .site__domain:after,.admin-color-classic-blue .site__info .site__title:after,.admin-color-classic-bright .site__info .site__domain:after,.admin-color-classic-bright .site__info .site__title:after,.admin-color-classic-dark .site__info .site__domain:after,.admin-color-classic-dark .site__info .site__title:after,.admin-color-contrast .site__info .site__domain:after,.admin-color-contrast .site__info .site__title:after,.admin-color-nightfall .site__info .site__domain:after,.admin-color-nightfall .site__info .site__title:after,.admin-color-powder-snow .site__info .site__domain:after,.admin-color-powder-snow .site__info .site__title:after,.admin-color-sakura .site__info .site__domain:after,.admin-color-sakura .site__info .site__title:after,.admin-color-sunset .site__info .site__domain:after,.admin-color-sunset .site__info .site__title:after{background:linear-gradient(90deg,rgba(138,36,36,0),#8a2424 90%)}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher div.wp-menu-image:before{color:#ffabaf}.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-aquatic #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-blue #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-bright #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-classic-dark #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-contrast #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-nightfall #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-powder-snow #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sakura #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover,.admin-color-sunset #adminmenuwrap>#adminmenu .site-switcher:hover div.wp-menu-image:before{color:#fff}.admin-color-contrast #adminmenuback{outline:1px solid #691c1c}.admin-color-classic-bright.folded #adminmenu .toplevel_page_site-notices .wp-menu-image,.admin-color-contrast.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#2c3338!important}body{--wp-admin-theme-color:#b26200;--wp-admin-theme-color-darker-10:#995400;--wp-admin-theme-color-darker-20:#7f4600}.a8c-faux-inline-help{--color-primary:#d63638;--color-primary-dark:#8a2424;--color-primary-light:#f86368;--color-surface:#fff;--color-neutral-100-rgb:16,21,23}#adminmenu .toplevel_page_site-notices .upsell_banner{background-color:#fff;color:#000}#adminmenu .toplevel_page_site-notices .upsell_banner .button{background-color:#b26200;color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner .button:hover{background-color:#8a4d00} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.asset.php b/plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.asset.php
index 2f70567e..e1aef0a1 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.asset.php
+++ b/plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '072d2d4c1364eba13c61ab8874d7daa4'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '59a620f9c8da1acc7f2e');
diff --git a/plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.js b/plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.js
index 36a3b365..dbc2ffd0 100644
--- a/plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.js
+++ b/plugins/jetpack/_inc/build/masterbar/admin-menu/admin-menu.min.js
@@ -1 +1 @@
-!function(){function e(){var e,n=document.querySelector("#wpadminbar"),a=document.querySelector("#wpwrap"),o=document.querySelector("#adminmenu");if(n){(e=document.querySelector(".wp-submenu .current > a"))&&e.focus(),c("false");var r=n.querySelector("#wp-admin-bar-blog");if(r&&r.addEventListener("click",(function(e){e.preventDefault();for(var t=n.querySelectorAll(".hover"),o=0;o<t.length;o++)t[o].classList.remove("hover");if(a.classList.toggle("wp-responsive-open"),a.classList.contains("wp-responsive-open")){c("true");var r=document.querySelector("#adminmenu a");r&&r.focus()}else c("false")})),o){var s=o.querySelector("#collapse-button");s&&s.addEventListener("click",(function(e){setTimeout((function(){var n;n=e.target.parentNode.ariaExpanded,t("POST",ajaxurl,"application/x-www-form-urlencoded; charset=UTF-8","action=sidebar_state&expanded="+n)}),50)}));const e=o.querySelector(".dismissible-card__close-icon");e&&e.addEventListener("click",(function(n){n.preventDefault();const a=document.getElementById("toplevel_page_site-notices");a&&(a.style.display="none"),t("POST",ajaxurl,"application/x-www-form-urlencoded; charset=UTF-8","id="+encodeURIComponent(e.dataset.feature_id)+"&feature_class="+encodeURIComponent(e.dataset.feature_class)+"&action=jitm_dismiss&_ajax_nonce="+jetpackAdminMenu.jitmDismissNonce)}))}}function c(e){for(var t=n.querySelectorAll("#wp-admin-bar-blog a"),a=0;a<t.length;a++)t[a].setAttribute("aria-expanded",e)}}function t(e,t,n,a){var o=new XMLHttpRequest;o.open(e,t,!0),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),n&&o.setRequestHeader("Content-Type",n),o.withCredentials=!0,o.send(a)}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}(); \ No newline at end of file
+!function(){function e(){var e,n=document.querySelector("#wpadminbar"),a=document.querySelector("#wpwrap"),o=document.querySelector("#adminmenu"),r="dismissible-card__close-icon";if(n){(e=document.querySelector(".wp-submenu .current > a"))&&e.focus(),i("false");var s=n.querySelector("#wp-admin-bar-blog");if(s&&s.addEventListener("click",(function(e){e.preventDefault();for(var t=n.querySelectorAll(".hover"),o=0;o<t.length;o++)t[o].classList.remove("hover");if(a.classList.toggle("wp-responsive-open"),a.classList.contains("wp-responsive-open")){i("true");var r=document.querySelector("#adminmenu a");r&&r.focus()}else i("false")})),o){var c=o.querySelector("#collapse-button");c&&c.addEventListener("click",(function(e){setTimeout((function(){var n;n=e.target.parentNode.ariaExpanded,t("POST",ajaxurl,"application/x-www-form-urlencoded; charset=UTF-8","action=sidebar_state&expanded="+n)}),50)})),o.addEventListener("click",(function(e){if(e.target.classList.contains(r)||e.target.closest("."+r)){e.preventDefault();const n=document.getElementById("toplevel_page_site-notices");n&&(n.style.display="none");const a=e.target;t("POST",ajaxurl,"application/x-www-form-urlencoded; charset=UTF-8","id="+encodeURIComponent(a.dataset.feature_id)+"&feature_class="+encodeURIComponent(a.dataset.feature_class)+"&action=jitm_dismiss&_ajax_nonce="+jetpackAdminMenu.jitmDismissNonce)}})),t("GET",ajaxurl+"?action=upsell_nudge_jitm&_ajax_nonce="+jetpackAdminMenu.upsellNudgeJitm,void 0,null,(function(e){try{e.readyState===XMLHttpRequest.DONE&&200===e.status&&e.responseText&&o.querySelector("#toplevel_page_site_card").insertAdjacentHTML("afterend",e.responseText)}catch(e){}}))}}function i(e){for(var t=n.querySelectorAll("#wp-admin-bar-blog a"),a=0;a<t.length;a++)t[a].setAttribute("aria-expanded",e)}}function t(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;var r=new XMLHttpRequest;r.open(e,t,!0),r.setRequestHeader("X-Requested-With","XMLHttpRequest"),n&&r.setRequestHeader("Content-Type",n),r.withCredentials=!0,o&&(r.onreadystatechange=function(){o(r)}),r.send(a)}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/masterbar/masterbar/tracks-events.min.asset.php b/plugins/jetpack/_inc/build/masterbar/masterbar/tracks-events.min.asset.php
index 500fb7c9..0289a0d7 100644
--- a/plugins/jetpack/_inc/build/masterbar/masterbar/tracks-events.min.asset.php
+++ b/plugins/jetpack/_inc/build/masterbar/masterbar/tracks-events.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '0321194e9c2e25dfb0e409c5097e2801'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '4395eca42cf3abcc1623');
diff --git a/plugins/jetpack/_inc/build/masterbar/nudges/additional-css/js/additional-css.min.asset.php b/plugins/jetpack/_inc/build/masterbar/nudges/additional-css/js/additional-css.min.asset.php
index 62e74bcf..d4404fc7 100644
--- a/plugins/jetpack/_inc/build/masterbar/nudges/additional-css/js/additional-css.min.asset.php
+++ b/plugins/jetpack/_inc/build/masterbar/nudges/additional-css/js/additional-css.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '39d5ea3429934bf20e77333f4fab73a2'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '4364b1d8e60f5122cd8c');
diff --git a/plugins/jetpack/_inc/build/masterbar/tracks-events.min.js b/plugins/jetpack/_inc/build/masterbar/tracks-events.min.js
deleted file mode 100644
index e920b830..00000000
--- a/plugins/jetpack/_inc/build/masterbar/tracks-events.min.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/*globals jQuery, JSON */
-!function(a){var e={"wp-admin-bar-blog":"my_sites","wp-admin-bar-newdash":"reader","wp-admin-bar-ab-new-post":"write_button","wp-admin-bar-my-account":"my_account","wp-admin-bar-notes":"notifications","wp-admin-bar-switch-site":"my_sites_switch_site","wp-admin-bar-blog-info":"my_sites_blog_info","wp-admin-bar-site-view":"my_sites_view_site","wp-admin-bar-my-home":"my_sites_my_home","wp-admin-bar-blog-stats":"my_sites_blog_stats","wp-admin-bar-activity":"my_sites_activity","wp-admin-bar-plan":"my_sites_plan","wp-admin-bar-plan-badge":"my_sites_plan_badge","wp-admin-bar-edit-page":"my_sites_manage_site_pages","wp-admin-bar-new-page-badge":"my_sites_manage_add_page","wp-admin-bar-edit-post":"my_sites_manage_blog_posts","wp-admin-bar-new-post-badge":"my_sites_manage_add_new_post","wp-admin-bar-edit-attachment":"my_sites_manage_media","wp-admin-bar-new-attachment-badge":"my_sites_manage_add_media","wp-admin-bar-comments":"my_sites_manage_comments","wp-admin-bar-edit-testimonial":"my_sites_manage_testimonials","wp-admin-bar-new-testimonial":"my_sites_manage_add_testimonial","wp-admin-bar-edit-portfolio":"my_sites_manage_portfolio","wp-admin-bar-new-portfolio":"my_sites_manage_add_portfolio","wp-admin-bar-themes":"my_sites_personalize_themes","wp-admin-bar-cmz":"my_sites_personalize_themes_customize","wp-admin-bar-sharing":"my_sites_configure_sharing","wp-admin-bar-people":"my_sites_configure_people","wp-admin-bar-people-add":"my_sites_configure_people_add_button","wp-admin-bar-plugins":"my_sites_configure_plugins","wp-admin-bar-plugins-add":"my_sites_configure_manage_plugins","wp-admin-bar-blog-settings":"my_sites_configure_settings","wp-admin-bar-followed-sites":"reader_followed_sites","wp-admin-bar-reader-followed-sites-manage":"reader_manage_followed_sites","wp-admin-bar-discover-discover":"reader_discover","wp-admin-bar-discover-search":"reader_search","wp-admin-bar-discover-recommended-blogs":"reader_recommendations","wp-admin-bar-my-activity-my-likes":"reader_my_likes","wp-admin-bar-user-info":"my_account_user_name","wp-admin-bar-my-profile":"my_account_profile_my_profile","wp-admin-bar-account-settings":"my_account_profile_account_settings","wp-admin-bar-billing":"my_account_profile_manage_purchases","wp-admin-bar-security":"my_account_profile_security","wp-admin-bar-notifications":"my_account_profile_notifications","wp-admin-bar-get-apps":"my_account_special_get_apps","wp-admin-bar-next-steps":"my_account_special_next_steps","wp-admin-bar-help":"my_account_special_help"},i={openSite:function(a){return{clicked:"masterbar_notifications_panel_site",site_id:a.siteId}},openPost:function(a){return{clicked:"masterbar_notifications_panel_post",site_id:a.siteId,post_id:a.postId}},openComment:function(a){return{clicked:"masterbar_notifications_panel_comment",site_id:a.siteId,post_id:a.postId,comment_id:a.commentId}}};a(document).ready(function(){a(".mb-trackable .ab-item:not(div),#wp-admin-bar-notes .ab-item,#wp-admin-bar-user-info .ab-item,.mb-trackable .ab-secondary").on("click touchstart",function(i){if(window.jpTracksAJAX&&"function"==typeof window.jpTracksAJAX.record_ajax_event){var t=a(i.target),n=t.closest("li");if(t.is("a")||(t=t.closest("a")),n&&t){var s=t.attr("ID")||n.attr("ID");if(e.hasOwnProperty(s)){var r={clicked:e[s]};n.hasClass("menupop")?window.jpTracksAJAX.record_ajax_event("masterbar_click","click",r):(i.preventDefault(),window.jpTracksAJAX.record_ajax_event("masterbar_click","click",r).always(function(){window.location=t.attr("href")}))}}}})}),a(window).on("message",function(a){if(window.jpTracksAJAX&&"function"==typeof window.jpTracksAJAX.record_ajax_event){var e=!a.data&&a.originalEvent.data?a.originalEvent:a;if("https://widgets.wp.com"===e.origin){var t="string"==typeof e.data?function(a,e){try{return JSON.parse(a)}catch(a){return e}}(e.data,{}):e.data;if("notesIframeMessage"===t.type){var n=i[t.action];n&&window.jpTracksAJAX.record_ajax_event("masterbar_click","click",n(t))}}}})}(jQuery); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js b/plugins/jetpack/_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js
deleted file mode 100644
index b23b7c9e..00000000
--- a/plugins/jetpack/_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js
+++ /dev/null
@@ -1,7 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/**
- * navigation.js
- *
- * Handles toggling the navigation menu for small screens.
- */
-!function(){var e,a,l=document.getElementById("access");l&&(e=l.getElementsByTagName("h3")[0],a=l.getElementsByTagName("ul")[0],e&&(a&&a.childNodes.length?e.onclick=function(){-1===a.className.indexOf("nav-menu")&&(a.className="nav-menu"),-1!==e.className.indexOf("toggled-on")?(e.className=e.className.replace(" toggled-on",""),a.className=a.className.replace(" toggled-on","")):(e.className+=" toggled-on",a.className+=" toggled-on")}:e.style.display="none"))}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/photon/photon.min.asset.php b/plugins/jetpack/_inc/build/photon/photon.min.asset.php
index 99d2d8ce..a25950c3 100644
--- a/plugins/jetpack/_inc/build/photon/photon.min.asset.php
+++ b/plugins/jetpack/_inc/build/photon/photon.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'ee19613aae705fc5a545a91e6f82abbe'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'e376abd67ba650470b9e');
diff --git a/plugins/jetpack/_inc/build/plugins-page.asset.php b/plugins/jetpack/_inc/build/plugins-page.asset.php
index 11206131..c31fb16d 100644
--- a/plugins/jetpack/_inc/build/plugins-page.asset.php
+++ b/plugins/jetpack/_inc/build/plugins-page.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '0d5590335d6ad8f9d367b50a69e95805'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '4e29aa948b28de2a799d');
diff --git a/plugins/jetpack/_inc/build/plugins-page.css b/plugins/jetpack/_inc/build/plugins-page.css
index 85f42fd4..eb2bab17 100644
--- a/plugins/jetpack/_inc/build/plugins-page.css
+++ b/plugins/jetpack/_inc/build/plugins-page.css
@@ -1 +1 @@
-.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-left:1.25rem;text-align:left;width:100%}.jp-connection__disconnect-card{background-color:#fff;border:none;border-radius:3px;box-shadow:0 0 15px #e2e2df;margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:left;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-right:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:right}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-right:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:1rem;margin-right:0}}.jp-connection__disconnect-dialog h1{font-size:24px;font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:24px;font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:16px;margin-top:0}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:#000;text-decoration-thickness:2px}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:#000}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:#f9f9f6;border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:#fff;border-top:1px solid #dcdcde;bottom:0;padding:2rem 0;position:-webkit-sticky;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(180deg,transparent,#f9f9f6);bottom:calc(100% + 1px);content:"";display:block;height:80px;left:0;position:absolute;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:#000!important;margin-right:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:#d63639!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:#000!important}.jp-connection__disconnect-dialog__button-wrap{text-align:left}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:#d63639}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:36px}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-left:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px #dcdcde;display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:#dcdcde;background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;left:24px;position:absolute;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:#d63639;border-radius:50px;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px #e2e2df;margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:left;width:800px}.jp-connect__disconnect-survey-card--selected{background:#e2e2df;border-color:#000}.jp-connect__disconnect-survey-card:after{border-right:2px solid #000;border-top:2px solid #000;content:"";display:block;height:5px;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%) rotate(45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:#2c3338}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:#2c3338;flex-grow:1;max-width:calc(100% - 40px);padding-right:40px} \ No newline at end of file
+.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-left:1.25rem;text-align:left;width:100%}.jp-connection__disconnect-card{background-color:#fff;border:none;border-radius:3px;box-shadow:0 0 15px #e2e2df;margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:left;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-right:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:right}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-right:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:1rem;margin-right:0}}.jp-connection__disconnect-dialog h1{font-size:24px;font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:24px;font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:16px;margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:#000;text-decoration-thickness:2px}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:#000}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:#f9f9f6;border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:#fff;border-top:1px solid #dcdcde;bottom:0;padding:2rem 0;position:-webkit-sticky;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(180deg,transparent,#f9f9f6);bottom:calc(100% + 1px);content:"";display:block;height:80px;left:0;position:absolute;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:#000!important;margin-right:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:#d63639!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:#000!important}.jp-connection__disconnect-dialog__button-wrap{text-align:left}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:#d63639}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:36px}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-left:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px #dcdcde;display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:#dcdcde;background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;left:24px;position:absolute;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:#d63639;border-radius:50px;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px #e2e2df;margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:left;width:800px}.jp-connect__disconnect-survey-card--selected{background:#e2e2df;border-color:#000}.jp-connect__disconnect-survey-card:after{border-right:2px solid #000;border-top:2px solid #000;content:"";display:block;height:5px;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%) rotate(45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:#2c3338}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:#2c3338;flex-grow:1;max-width:calc(100% - 40px);padding-right:40px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/plugins-page.js b/plugins/jetpack/_inc/build/plugins-page.js
index 03e18fcf..184b847d 100644
--- a/plugins/jetpack/_inc/build/plugins-page.js
+++ b/plugins/jetpack/_inc/build/plugins-page.js
@@ -1,2 +1,2 @@
/*! For license information please see plugins-page.js.LICENSE.txt */
-!function(){var e={90605:function(e,t,n){"use strict";var r=n(5806),o=n(55246);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var c,a,s=n(27452).codes,u=s.ERR_AMBIGUOUS_ARGUMENT,l=s.ERR_INVALID_ARG_TYPE,f=s.ERR_INVALID_ARG_VALUE,p=s.ERR_INVALID_RETURN_VALUE,d=s.ERR_MISSING_ARGS,g=n(71228),y=n(23333).inspect,h=n(23333).types,m=h.isPromise,v=h.isRegExp,E=Object.assign?Object.assign:n(45685).assign,_=Object.is?Object.is:n(88706);new Map;function b(){var e=n(81562);c=e.isDeepEqual,a=e.isDeepStrictEqual}var S=!1,w=e.exports=A,C={};function T(e){if(e.message instanceof Error)throw e.message;throw new g(e)}function O(e,t,n,r){if(!n){var o=!1;if(0===t)o=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var i=new g({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw i.generatedMessage=o,i}}function A(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];O.apply(void 0,[A,t.length].concat(t))}w.fail=function e(t,n,i,c,a){var s,u=arguments.length;if(0===u)s="Failed";else if(1===u)i=t,t=void 0;else{if(!1===S){S=!0;var l=r.emitWarning?r.emitWarning:o.warn.bind(o);l("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===u&&(c="!=")}if(i instanceof Error)throw i;var f={actual:t,expected:n,operator:void 0===c?"fail":c,stackStartFn:a||e};void 0!==i&&(f.message=i);var p=new g(f);throw s&&(p.message=s,p.generatedMessage=!0),p},w.AssertionError=g,w.ok=A,w.equal=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");t!=n&&T({actual:t,expected:n,message:r,operator:"==",stackStartFn:e})},w.notEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");t==n&&T({actual:t,expected:n,message:r,operator:"!=",stackStartFn:e})},w.deepEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===c&&b(),c(t,n)||T({actual:t,expected:n,message:r,operator:"deepEqual",stackStartFn:e})},w.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===c&&b(),c(t,n)&&T({actual:t,expected:n,message:r,operator:"notDeepEqual",stackStartFn:e})},w.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===c&&b(),a(t,n)||T({actual:t,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:e})},w.notDeepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===c&&b();a(t,n)&&T({actual:t,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:e})},w.strictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");_(t,n)||T({actual:t,expected:n,message:r,operator:"strictEqual",stackStartFn:e})},w.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");_(t,n)&&T({actual:t,expected:n,message:r,operator:"notStrictEqual",stackStartFn:e})};var j=function e(t,n,r){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==r&&"string"==typeof r[e]&&v(t[e])&&t[e].test(r[e])?o[e]=r[e]:o[e]=t[e])}))};function P(e,t,n,r,o,i){if(!(n in e)||!a(e[n],t[n])){if(!r){var c=new j(e,o),s=new j(t,o,e),u=new g({actual:c,expected:s,operator:"deepStrictEqual",stackStartFn:i});throw u.actual=e,u.expected=t,u.operator=i.name,u}T({actual:e,expected:t,message:r,operator:i.name,stackStartFn:i})}}function k(e,t,n,r){if("function"!=typeof t){if(v(t))return t.test(e);if(2===arguments.length)throw new l("expected",["Function","RegExp"],t);if("object"!==i(e)||null===e){var o=new g({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:r});throw o.operator=r.name,o}var a=Object.keys(t);if(t instanceof Error)a.push("name","message");else if(0===a.length)throw new f("error",t,"may not be an empty object");return void 0===c&&b(),a.forEach((function(o){"string"==typeof e[o]&&v(t[o])&&t[o].test(e[o])||P(e,t,o,n,a,r)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function I(e){if("function"!=typeof e)throw new l("fn","Function",e);try{e()}catch(e){return e}return C}function N(e){return m(e)||null!==e&&"object"===i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function F(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!N(t=e()))throw new p("instance of Promise","promiseFn",t)}else{if(!N(e))throw new l("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return C})).catch((function(e){return e}))}))}function D(e,t,n,r){if("string"==typeof n){if(4===arguments.length)throw new l("error",["Object","Error","Function","RegExp"],n);if("object"===i(t)&&null!==t){if(t.message===n)throw new u("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new u("error/message",'The error "'.concat(t,'" is identical to the message.'));r=n,n=void 0}else if(null!=n&&"object"!==i(n)&&"function"!=typeof n)throw new l("error",["Object","Error","Function","RegExp"],n);if(t===C){var o="";n&&n.name&&(o+=" (".concat(n.name,")")),o+=r?": ".concat(r):".";var c="rejects"===e.name?"rejection":"exception";T({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(c).concat(o),stackStartFn:e})}if(n&&!k(t,n,r,e))throw t}function U(e,t,n,r){if(t!==C){if("string"==typeof n&&(r=n,n=void 0),!n||k(t,n)){var o=r?": ".concat(r):".",i="doesNotReject"===e.name?"rejection":"exception";T({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function R(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];O.apply(void 0,[R,t.length].concat(t))}w.throws=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];D.apply(void 0,[e,I(t)].concat(r))},w.rejects=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return F(t).then((function(t){return D.apply(void 0,[e,t].concat(r))}))},w.doesNotThrow=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];U.apply(void 0,[e,I(t)].concat(r))},w.doesNotReject=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return F(t).then((function(t){return U.apply(void 0,[e,t].concat(r))}))},w.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===i(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=y(t);var r=new g({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),o=t.stack;if("string"==typeof o){var c=o.split("\n");c.shift();for(var a=r.stack.split("\n"),s=0;s<c.length;s++){var u=a.indexOf(c[s]);if(-1!==u){a=a.slice(0,u);break}}r.stack="".concat(a.join("\n"),"\n").concat(c.join("\n"))}throw r}},w.strict=E(R,w,{equal:w.strictEqual,deepEqual:w.deepStrictEqual,notEqual:w.notStrictEqual,notDeepEqual:w.notDeepStrictEqual}),w.strict.strict=w.strict},71228:function(e,t,n){"use strict";var r=n(5806);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?a(e):t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){var t="function"==typeof Map?new Map:void 0;return s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;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,r)}function r(){return l(e,arguments,p(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,e)},s(e)}function u(){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 l(e,t,n){return l=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&f(o,n.prototype),o},l.apply(null,arguments)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var g=n(23333).inspect,y=n(27452).codes.ERR_INVALID_ARG_TYPE;function h(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var m="",v="",E="",_="",b={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function S(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function w(e){return g(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function C(e,t,n){var o="",i="",c=0,a="",s=!1,u=w(e),l=u.split("\n"),f=w(t).split("\n"),p=0,g="";if("strictEqual"===n&&"object"===d(e)&&"object"===d(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===l.length&&1===f.length&&l[0]!==f[0]){var y=l[0].length+f[0].length;if(y<=10){if(!("object"===d(e)&&null!==e||"object"===d(t)&&null!==t||0===e&&0===t))return"".concat(b[n],"\n\n")+"".concat(l[0]," !== ").concat(f[0],"\n")}else if("strictEqualObject"!==n){if(y<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;l[0][p]===f[0][p];)p++;p>2&&(g="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",p),"^"),p=0)}}}for(var S=l[l.length-1],C=f[f.length-1];S===C&&(p++<2?a="\n ".concat(S).concat(a):o=S,l.pop(),f.pop(),0!==l.length&&0!==f.length);)S=l[l.length-1],C=f[f.length-1];var T=Math.max(l.length,f.length);if(0===T){var O=u.split("\n");if(O.length>30)for(O[26]="".concat(m,"...").concat(_);O.length>27;)O.pop();return"".concat(b.notIdentical,"\n\n").concat(O.join("\n"),"\n")}p>3&&(a="\n".concat(m,"...").concat(_).concat(a),s=!0),""!==o&&(a="\n ".concat(o).concat(a),o="");var A=0,j=b[n]+"\n".concat(v,"+ actual").concat(_," ").concat(E,"- expected").concat(_),P=" ".concat(m,"...").concat(_," Lines skipped");for(p=0;p<T;p++){var k=p-c;if(l.length<p+1)k>1&&p>2&&(k>4?(i+="\n".concat(m,"...").concat(_),s=!0):k>3&&(i+="\n ".concat(f[p-2]),A++),i+="\n ".concat(f[p-1]),A++),c=p,o+="\n".concat(E,"-").concat(_," ").concat(f[p]),A++;else if(f.length<p+1)k>1&&p>2&&(k>4?(i+="\n".concat(m,"...").concat(_),s=!0):k>3&&(i+="\n ".concat(l[p-2]),A++),i+="\n ".concat(l[p-1]),A++),c=p,i+="\n".concat(v,"+").concat(_," ").concat(l[p]),A++;else{var I=f[p],N=l[p],F=N!==I&&(!h(N,",")||N.slice(0,-1)!==I);F&&h(I,",")&&I.slice(0,-1)===N&&(F=!1,N+=","),F?(k>1&&p>2&&(k>4?(i+="\n".concat(m,"...").concat(_),s=!0):k>3&&(i+="\n ".concat(l[p-2]),A++),i+="\n ".concat(l[p-1]),A++),c=p,i+="\n".concat(v,"+").concat(_," ").concat(N),o+="\n".concat(E,"-").concat(_," ").concat(I),A+=2):(i+=o,o="",1!==k&&0!==p||(i+="\n ".concat(N),A++))}if(A>20&&p<T-2)return"".concat(j).concat(P,"\n").concat(i,"\n").concat(m,"...").concat(_).concat(o,"\n")+"".concat(m,"...").concat(_)}return"".concat(j).concat(s?P:"","\n").concat(i).concat(o).concat(a).concat(g)}var T=function(e){function t(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==d(e)||null===e)throw new y("options","Object",e);var o=e.message,i=e.operator,s=e.stackStartFn,u=e.actual,l=e.expected,f=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=o)n=c(this,p(t).call(this,String(o)));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&1!==r.stderr.getColorDepth()?(m="",v="",_="",E=""):(m="",v="",_="",E="")),"object"===d(u)&&null!==u&&"object"===d(l)&&null!==l&&"stack"in u&&u instanceof Error&&"stack"in l&&l instanceof Error&&(u=S(u),l=S(l)),"deepStrictEqual"===i||"strictEqual"===i)n=c(this,p(t).call(this,C(u,l,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var g=b[i],h=w(u).split("\n");if("notStrictEqual"===i&&"object"===d(u)&&null!==u&&(g=b.notStrictEqualObject),h.length>30)for(h[26]="".concat(m,"...").concat(_);h.length>27;)h.pop();n=1===h.length?c(this,p(t).call(this,"".concat(g," ").concat(h[0]))):c(this,p(t).call(this,"".concat(g,"\n\n").concat(h.join("\n"),"\n")))}else{var T=w(u),O="",A=b[i];"notDeepEqual"===i||"notEqual"===i?(T="".concat(b[i],"\n\n").concat(T)).length>1024&&(T="".concat(T.slice(0,1021),"...")):(O="".concat(w(l)),T.length>512&&(T="".concat(T.slice(0,509),"...")),O.length>512&&(O="".concat(O.slice(0,509),"...")),"deepEqual"===i||"equal"===i?T="".concat(A,"\n\n").concat(T,"\n\nshould equal\n\n"):O=" ".concat(i," ").concat(O)),n=c(this,p(t).call(this,"".concat(T).concat(O)))}return Error.stackTraceLimit=f,n.generatedMessage=!o,Object.defineProperty(a(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=u,n.expected=l,n.operator=i,Error.captureStackTrace&&Error.captureStackTrace(a(n),s),n.stack,n.name="AssertionError",c(n)}var n,s,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,s=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:g.custom,value:function(e,t){return g(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],s&&i(n.prototype,s),u&&i(n,u),t}(s(Error));e.exports=T},27452:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var a,s,u={};function l(e,t,n){n||(n=Error);var r=function(n){function r(n,c,a){var s;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),s=o(this,i(r).call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,c,a))),s.code=e,s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(r,n),r}(n);u[e]=r}function f(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",(function(e,t,o){var i,c,s,u;if(void 0===a&&(a=n(90605)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(c="not ",t.substr(!s||s<0?0:+s,c.length)===c)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))u="The ".concat(e," ").concat(i," ").concat(f(t,"type"));else{var l=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(l," ").concat(i," ").concat(f(t,"type"))}return u+=". Received type ".concat(r(o))}),TypeError),l("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=n(23333));var o=s.inspect(t);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(o)}),TypeError,RangeError),l("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var o;return o=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(o,".")}),TypeError),l("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===a&&(a=n(90605)),a(t.length>0,"At least one arg needs to be specified");var o="The ",i=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),i){case 1:o+="".concat(t[0]," argument");break;case 2:o+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:o+=t.slice(0,i-1).join(", "),o+=", and ".concat(t[i-1]," arguments")}return"".concat(o," must be specified")}),TypeError),e.exports.codes=u},81562:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(_n=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==c.return||c.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var i=void 0!==/a/g.flags,c=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},a=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},s=Object.is?Object.is:n(88706),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},l=Number.isNaN?Number.isNaN:n(17614);function f(e){return e.call.bind(e)}var p=f(Object.prototype.hasOwnProperty),d=f(Object.prototype.propertyIsEnumerable),g=f(Object.prototype.toString),y=n(23333).types,h=y.isAnyArrayBuffer,m=y.isArrayBufferView,v=y.isDate,E=y.isMap,_=y.isRegExp,b=y.isSet,S=y.isNativeError,w=y.isBoxedPrimitive,C=y.isNumberObject,T=y.isStringObject,O=y.isBooleanObject,A=y.isBigIntObject,j=y.isSymbolObject,P=y.isFloat32Array,k=y.isFloat64Array;function I(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function N(e){return Object.keys(e).filter(I).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function F(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0}function D(e,t,n,r){if(e===t)return 0!==e||(!n||s(e,t));if(n){if("object"!==o(e))return"number"==typeof e&&l(e)&&l(t);if("object"!==o(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==o(e))return(null===t||"object"!==o(t))&&e==t;if(null===t||"object"!==o(t))return!1}var c,a,u,f,p=g(e);if(p!==g(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var d=N(e),y=N(t);return d.length===y.length&&R(e,t,n,r,1,d)}if("[object Object]"===p&&(!E(e)&&E(t)||!b(e)&&b(t)))return!1;if(v(e)){if(!v(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(_(e)){if(!_(t)||(u=e,f=t,!(i?u.source===f.source&&u.flags===f.flags:RegExp.prototype.toString.call(u)===RegExp.prototype.toString.call(f))))return!1}else if(S(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(m(e)){if(n||!P(e)&&!k(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===F(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var I=N(e),D=N(t);return I.length===D.length&&R(e,t,n,r,0,I)}if(b(e))return!(!b(t)||e.size!==t.size)&&R(e,t,n,r,2);if(E(e))return!(!E(t)||e.size!==t.size)&&R(e,t,n,r,3);if(h(e)){if(a=t,(c=e).byteLength!==a.byteLength||0!==F(new Uint8Array(c),new Uint8Array(a)))return!1}else if(w(e)&&!function(e,t){return C(e)?C(t)&&s(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):T(e)?T(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):O(e)?O(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):A(e)?A(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):j(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return R(e,t,n,r,0)}function U(e,t){return t.filter((function(t){return d(e,t)}))}function R(e,t,n,r,o,i){if(5===arguments.length){i=Object.keys(e);var c=Object.keys(t);if(i.length!==c.length)return!1}for(var a=0;a<i.length;a++)if(!p(t,i[a]))return!1;if(n&&5===arguments.length){var s=u(e);if(0!==s.length){var l=0;for(a=0;a<s.length;a++){var f=s[a];if(d(e,f)){if(!d(t,f))return!1;i.push(f),l++}else if(d(t,f))return!1}var g=u(t);if(s.length!==g.length&&U(t,g).length!==l)return!1}else{var y=u(t);if(0!==y.length&&0!==U(t,y).length)return!1}}if(0===i.length&&(0===o||1===o&&0===e.length||0===e.size))return!0;if(void 0===r)r={val1:new Map,val2:new Map,position:0};else{var h=r.val1.get(e);if(void 0!==h){var m=r.val2.get(t);if(void 0!==m)return h===m}r.position++}r.val1.set(e,r.position),r.val2.set(t,r.position);var v=K(e,t,n,i,r,o);return r.val1.delete(e),r.val2.delete(t),v}function x(e,t,n,r){for(var o=c(e),i=0;i<o.length;i++){var a=o[i];if(D(t,a,n,r))return e.delete(a),!0}return!1}function M(e){switch(o(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(l(e))return!1}return!0}function L(e,t,n){var r=M(n);return null!=r?r:t.has(r)&&!e.has(r)}function $(e,t,n,r,o){var i=M(n);if(null!=i)return i;var c=t.get(i);return!(void 0===c&&!t.has(i)||!D(r,c,!1,o))&&(!e.has(i)&&D(r,c,!1,o))}function J(e,t,n,r,o,i){for(var a=c(e),s=0;s<a.length;s++){var u=a[s];if(D(n,u,o,i)&&D(r,t.get(u),o,i))return e.delete(u),!0}return!1}function K(e,t,n,i,s,u){var l=0;if(2===u){if(!function(e,t,n,r){for(var i=null,a=c(e),s=0;s<a.length;s++){var u=a[s];if("object"===o(u)&&null!==u)null===i&&(i=new Set),i.add(u);else if(!t.has(u)){if(n)return!1;if(!L(e,t,u))return!1;null===i&&(i=new Set),i.add(u)}}if(null!==i){for(var l=c(t),f=0;f<l.length;f++){var p=l[f];if("object"===o(p)&&null!==p){if(!x(i,p,n,r))return!1}else if(!n&&!e.has(p)&&!x(i,p,n,r))return!1}return 0===i.size}return!0}(e,t,n,s))return!1}else if(3===u){if(!function(e,t,n,i){for(var c=null,s=a(e),u=0;u<s.length;u++){var l=r(s[u],2),f=l[0],p=l[1];if("object"===o(f)&&null!==f)null===c&&(c=new Set),c.add(f);else{var d=t.get(f);if(void 0===d&&!t.has(f)||!D(p,d,n,i)){if(n)return!1;if(!$(e,t,f,p,i))return!1;null===c&&(c=new Set),c.add(f)}}}if(null!==c){for(var g=a(t),y=0;y<g.length;y++){var h=r(g[y],2),m=(f=h[0],h[1]);if("object"===o(f)&&null!==f){if(!J(c,e,f,m,n,i))return!1}else if(!(n||e.has(f)&&D(e.get(f),m,!1,i)||J(c,e,f,m,!1,i)))return!1}return 0===c.size}return!0}(e,t,n,s))return!1}else if(1===u)for(;l<e.length;l++){if(!p(e,l)){if(p(t,l))return!1;for(var f=Object.keys(e);l<f.length;l++){var d=f[l];if(!p(t,d)||!D(e[d],t[d],n,s))return!1}return f.length===Object.keys(t).length}if(!p(t,l)||!D(e[l],t[l],n,s))return!1}for(l=0;l<i.length;l++){var g=i[l];if(!D(e[g],t[g],n,s))return!1}return!0}e.exports={isDeepEqual:function(e,t){return D(e,t,false)},isDeepStrictEqual:function(e,t){return D(e,t,true)}}},16422:function(e,t,n){"use strict";var r=n(25165),o=n(43120),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},43120:function(e,t,n){"use strict";var r=n(75433),o=n(25165),i=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),a=o("%Reflect.apply%",!0)||r.call(c,i),s=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=a(r,c,arguments);if(s&&u){var n=s(t,"length");n.configurable&&u(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var f=function(){return a(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},55246:function(e,t,n){var r=n(23333),o=n(90605);function i(){return(new Date).getTime()}var c,a=Array.prototype.slice,s={};c="undefined"!=typeof window&&window.console||"undefined"!=typeof window&&window.console?window.console:{};for(var u=[[function(){},"log"],[function(){c.log.apply(c,arguments)},"info"],[function(){c.log.apply(c,arguments)},"warn"],[function(){c.warn.apply(c,arguments)},"error"],[function(e){s[e]=i()},"time"],[function(e){var t=s[e];if(!t)throw new Error("No such label: "+e);delete s[e];var n=i()-t;c.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),c.error(e.stack)},"trace"],[function(e){c.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=a.call(arguments,1);o.ok(!1,r.format.apply(null,t))}},"assert"]],l=0;l<u.length;l++){var f=u[l],p=f[0],d=f[1];c[d]||(c[d]=p)}e.exports=c},13185:function(e,t,n){"use strict";var r=n(98517),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,c=Array.prototype.concat,a=Object.defineProperty,s=a&&function(){var e={};try{for(var t in a(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),u=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(s?a(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},l=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=c.call(i,Object.getOwnPropertySymbols(t)));for(var a=0;a<i.length;a+=1)u(e,i[a],t[i[a]],n[i[a]])};l.supportsDescriptors=!!s,e.exports=l},45685:function(e){"use strict";function t(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i=Object.keys(Object(o)),c=0,a=i.length;c<a;c++){var s=i[c],u=Object.getOwnPropertyDescriptor(o,s);void 0!==u&&u.enumerable&&(n[s]=o[s])}}return n}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},49478:function(e){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;e.exports=function(e,r,o){if("[object Function]"!==n.call(r))throw new TypeError("iterator must be a function");var i=e.length;if(i===+i)for(var c=0;c<i;c++)r.call(o,e[c],c,e);else for(var a in e)t.call(e,a)&&r.call(o,e[a],a,e)}},44033:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||r.call(i)!==o)throw new TypeError(t+i);for(var c,a=n.call(arguments,1),s=function(){if(this instanceof c){var t=i.apply(this,a.concat(n.call(arguments)));return Object(t)===t?t:this}return i.apply(e,a.concat(n.call(arguments)))},u=Math.max(0,i.length-a.length),l=[],f=0;f<u;f++)l.push("$"+f);if(c=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(s),i.prototype){var p=function(){};p.prototype=i.prototype,c.prototype=new p,p.prototype=null}return c}},75433:function(e,t,n){"use strict";var r=n(44033);e.exports=Function.prototype.bind||r},25165:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,c=TypeError,a=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var u=function(){throw new c},l=s?function(){try{return u}catch(e){try{return s(arguments,"callee").get}catch(e){return u}}}():u,f=n(45992)(),p=Object.getPrototypeOf||function(e){return e.__proto__},d={},g="undefined"==typeof Uint8Array?r:p(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?p(p([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?p((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?p((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?p(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":g,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},h=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=p(o.prototype))}return y[t]=n,n},m={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(75433),E=n(99569),_=v.call(Function.call,Array.prototype.concat),b=v.call(Function.apply,Array.prototype.splice),S=v.call(Function.call,String.prototype.replace),w=v.call(Function.call,String.prototype.slice),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,O=function(e){var t=w(e,0,1),n=w(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return S(e,C,(function(e,t,n,o){r[r.length]=n?S(o,T,"$1"):t||e})),r},A=function(e,t){var n,r=e;if(E(m,r)&&(r="%"+(n=m[r])[0]+"%"),E(y,r)){var i=y[r];if(i===d&&(i=h(r)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');var n=O(e),r=n.length>0?n[0]:"",i=A("%"+r+"%",t),a=i.name,u=i.value,l=!1,f=i.alias;f&&(r=f[0],b(n,_([0,1],f)));for(var p=1,d=!0;p<n.length;p+=1){var g=n[p],h=w(g,0,1),m=w(g,-1);if(('"'===h||"'"===h||"`"===h||'"'===m||"'"===m||"`"===m)&&h!==m)throw new o("property names with quotes must have matching quotes");if("constructor"!==g&&d||(l=!0),E(y,a="%"+(r+="."+g)+"%"))u=y[a];else if(null!=u){if(!(g in u)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&p+1>=n.length){var v=s(u,g);u=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[g]}else d=E(u,g),u=u[g];d&&!l&&(y[a]=u)}}return u}},45992:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(4461);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},4461:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},77828:function(e,t,n){"use strict";var r=n(4461);e.exports=function(){return r()&&!!Symbol.toStringTag}},99569:function(e,t,n){"use strict";var r=n(75433);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},13266:function(e,t,n){"use strict";var r=n(80364),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return r.isMemo(e)?c:a[e.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=c;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var o=d(n);o&&o!==g&&e(t,o,r)}var c=l(n);f&&(c=c.concat(f(n)));for(var a=s(t),y=s(n),h=0;h<c.length;++h){var m=c[h];if(!(i[m]||r&&r[m]||y&&y[m]||a&&a[m])){var v=p(n,m);try{u(t,m,v)}catch(e){}}}}return t}},59503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},24546:function(e){"use strict";e.exports=function(e,t,n,r,o,i,c,a){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,c,a],l=0;(s=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},98304:function(e,t,n){"use strict";var r=n(77828)(),o=n(16422)("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},c=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},a=function(){return i(arguments)}();i.isLegacyArguments=c,e.exports=a?i:c},57372:function(e,t,n){"use strict";var r,o=Object.prototype.toString,i=Function.prototype.toString,c=/^\s*(?:function)?\*/,a=n(77828)(),s=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(c.test(i.call(e)))return!0;if(!a)return"[object GeneratorFunction]"===o.call(e);if(!s)return!1;if(void 0===r){var t=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&s(t)}return s(e)===r}},46618:function(e){"use strict";e.exports=function(e){return e!=e}},17614:function(e,t,n){"use strict";var r=n(43120),o=n(13185),i=n(46618),c=n(42775),a=n(49582),s=r(c(),Number);o(s,{getPolyfill:c,implementation:i,shim:a}),e.exports=s},42775:function(e,t,n){"use strict";var r=n(46618);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},49582:function(e,t,n){"use strict";var r=n(13185),o=n(42775);e.exports=function(){var e=o();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},8639:function(e,t,n){"use strict";var r=n(49478),o=n(87331),i=n(16422),c=i("Object.prototype.toString"),a=n(77828)(),s="undefined"==typeof globalThis?window:globalThis,u=o(),l=i("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},f=i("String.prototype.slice"),p={},d=n(61787),g=Object.getPrototypeOf;a&&d&&g&&r(u,(function(e){var t=new s[e];if(Symbol.toStringTag in t){var n=g(t),r=d(n,Symbol.toStringTag);if(!r){var o=g(n);r=d(o,Symbol.toStringTag)}p[e]=r.get}}));e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!a||!(Symbol.toStringTag in e)){var t=f(c(e),8,-1);return l(u,t)>-1}return!!d&&function(e){var t=!1;return r(p,(function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}})),t}(e)}},6383:function(){},907:function(){},58187:function(){},85731:function(){},32002:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,c=365.25*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,s){s=s||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*c;case"weeks":case"week":case"w":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===u&&isFinite(e))return s.long?function(e){var i=Math.abs(e);if(i>=o)return a(e,i,o,"day");if(i>=r)return a(e,i,r,"hour");if(i>=n)return a(e,i,n,"minute");if(i>=t)return a(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=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))}},72335:function(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},88706:function(e,t,n){"use strict";var r=n(13185),o=n(43120),i=n(72335),c=n(75432),a=n(95894),s=o(c(),Object);r(s,{getPolyfill:c,implementation:i,shim:a}),e.exports=s},75432:function(e,t,n){"use strict";var r=n(72335);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},95894:function(e,t,n){"use strict";var r=n(75432),o=n(13185);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},96128:function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,c=n(56133),a=Object.prototype.propertyIsEnumerable,s=!a.call({toString:null},"toString"),u=a.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=c(e),a=t&&"[object String]"===i.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var g=u&&n;if(a&&e.length>0&&!o.call(e,0))for(var y=0;y<e.length;++y)p.push(String(y));if(r&&e.length>0)for(var h=0;h<e.length;++h)p.push(String(h));else for(var m in e)g&&"prototype"===m||!o.call(e,m)||p.push(String(m));if(s)for(var v=function(e){if("undefined"==typeof window||!d)return f(e);try{return f(e)}catch(e){return!1}}(e),E=0;E<l.length;++E)v&&"constructor"===l[E]||!o.call(e,l[E])||p.push(l[E]);return p}}e.exports=r},98517:function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(56133),i=Object.keys,c=i?function(e){return i(e)}:n(96128),a=Object.keys;c.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?a(r.call(e)):a(e)})}else Object.keys=c;return Object.keys||c},e.exports=c},56133:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},5806:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var a,s=[],u=!1,l=-1;function f(){u&&a&&(u=!1,a.length?s=a.concat(s):l=-1,s.length&&p())}function p(){if(!u){var e=c(f);u=!0;for(var t=s.length;t;){for(a=s,s=[];++l<t;)a&&a[l].run();l=-1,t=s.length}a=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function g(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new d(e,t)),1!==s.length||u||c(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},9587:function(e,t,n){"use strict";var r=n(45843);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},11268:function(e,t,n){e.exports=n(9587)()},45843:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},66462:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,c=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,E=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case i:case a:case c:case d:return e;default:switch(e=e&&e.$$typeof){case u:case p:case h:case y:case s:return e;default:return t}}case o:return t}}}function S(e){return b(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=h,t.Memo=y,t.Portal=o,t.Profiler=a,t.StrictMode=c,t.Suspense=d,t.isAsyncMode=function(e){return S(e)||b(e)===l},t.isConcurrentMode=S,t.isContextConsumer=function(e){return b(e)===u},t.isContextProvider=function(e){return b(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===p},t.isFragment=function(e){return b(e)===i},t.isLazy=function(e){return b(e)===h},t.isMemo=function(e){return b(e)===y},t.isPortal=function(e){return b(e)===o},t.isProfiler=function(e){return b(e)===a},t.isStrictMode=function(e){return b(e)===c},t.isSuspense=function(e){return b(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===a||e===c||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===y||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===E||e.$$typeof===_||e.$$typeof===m)},t.typeOf=b},80364:function(e,t,n){"use strict";e.exports=n(66462)},1992:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(99196),o=n.n(r)().createContext(null)},32054:function(e,t,n){"use strict";var r=n(71446),o=n(99196),i=n.n(o),c=n(11268),a=n.n(c),s=n(1992),u=function(e){function t(t){var n;n=e.call(this,t)||this;var r=t.store;return n.state={storeState:r.getState(),store:r},n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this.subscribe()},n.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},n.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},n.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var n=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===n?null:{storeState:n}}))}));var n=t.getState();n!==this.state.storeState&&this.setState({storeState:n})},n.render=function(){var e=this.props.context||s.E;return i().createElement(e.Provider,{value:this.state},this.props.children)},t}(o.Component);u.propTypes={store:a().shape({subscribe:a().func.isRequired,dispatch:a().func.isRequired,getState:a().func.isRequired}),context:a().object,children:a().any},t.Z=u},4193:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(25303),o=n(71446),i=n(40988),c=n(5343),a=n(13266),s=n.n(a),u=n(24546),l=n.n(u),f=n(99196),p=n.n(f),d=n(80364),g=n(1992);function y(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,u=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,y=n.methodName,h=void 0===y?"connectAdvanced":y,m=n.renderCountProp,v=void 0===m?void 0:m,E=n.shouldHandleStateChanges,_=void 0===E||E,b=n.storeKey,S=void 0===b?"store":b,w=n.withRef,C=void 0!==w&&w,T=n.forwardRef,O=void 0!==T&&T,A=n.context,j=void 0===A?g.E:A,P=(0,c.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);l()(void 0===v,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),l()(!C,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var k="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";l()("store"===S,"storeKey has been removed and does not do anything. "+k);var I=j;return function(t){var n=t.displayName||t.name||"Component",c=u(n),a=(0,i.Z)({},P,{getDisplayName:u,methodName:h,renderCountProp:v,shouldHandleStateChanges:_,storeKey:S,displayName:c,wrappedComponentName:n,WrappedComponent:t}),g=P.pure,y=f.Component;g&&(y=f.PureComponent);var m=function(n){function s(t){var o,c,a,s,u,f,d,y,h,m,v;return o=n.call(this,t)||this,l()(O?!t.wrapperProps[S]:!t[S],"Passing redux store in props has been removed and does not do anything. "+k),o.selectDerivedProps=function(t,n,r,o){if(g&&c===n&&a===t)return s;r===u&&f===o||(u=r,f=o,d=e(r.dispatch,o)),c=n,a=t;var i=d(t,n);return s=i},o.selectChildElement=function(e,t,n){return t===y&&n===h&&v===e||(y=t,h=n,v=e,m=p().createElement(e,(0,i.Z)({},t,{ref:n}))),m},o.indirectRenderWrappedComponent=o.indirectRenderWrappedComponent.bind((0,r.Z)(o)),o}(0,o.Z)(s,n);var u=s.prototype;return u.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},u.renderWrappedComponent=function(e){l()(e,'Could not find "store" in the context of "'+c+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+c+" in connect options.");var n,r=e.storeState,o=e.store,i=this.props;O&&(i=this.props.wrapperProps,n=this.props.forwardedRef);var s=this.selectDerivedProps(r,i,o,a);return this.selectChildElement(t,s,n)},u.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,d.isContextConsumer)(p().createElement(this.props.context.Consumer,null))?this.props.context:I;return p().createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},s}(y);if(m.WrappedComponent=t,m.displayName=c,O){var E=p().forwardRef((function(e,t){return p().createElement(m,{wrapperProps:e,forwardedRef:t})}));return E.displayName=c,E.WrappedComponent=t,s()(E,t)}return s()(m,t)}}},28274:function(e,t,n){"use strict";var r,o,i,c,a,s,u,l,f,p,d,g,y=n(40988),h=n(5343),m=n(4193),v=n(37110),E=n(80214),_=n(26150),b=n(94262),S=n(27189);function w(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function C(e,t){return e===t}t.Z=(i=(o=void 0===r?{}:r).connectHOC,c=void 0===i?m.Z:i,a=o.mapStateToPropsFactories,s=void 0===a?_.ZP:a,u=o.mapDispatchToPropsFactories,l=void 0===u?E.ZP:u,f=o.mergePropsFactories,p=void 0===f?b.ZP:f,d=o.selectorFactory,g=void 0===d?S.ZP:d,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,f=void 0===u?C:u,d=o.areOwnPropsEqual,m=void 0===d?v.Z:d,E=o.areStatePropsEqual,_=void 0===E?v.Z:E,b=o.areMergedPropsEqual,S=void 0===b?v.Z:b,T=(0,h.Z)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),O=w(e,s,"mapStateToProps"),A=w(t,l,"mapDispatchToProps"),j=w(n,p,"mergeProps");return c(g,(0,y.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:O,initMapDispatchToProps:A,initMergeProps:j,pure:a,areStatesEqual:f,areOwnPropsEqual:m,areStatePropsEqual:_,areMergedPropsEqual:S},T))})},80214:function(e,t,n){"use strict";var r=n(74978),o=n(68821);t.ZP=[function(e){return"function"==typeof e?(0,o.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,o.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,o.dX)((function(t){return(0,r.DE)(e,t)})):void 0}]},26150:function(e,t,n){"use strict";var r=n(68821);t.ZP=[function(e){return"function"==typeof e?(0,r.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,r.dX)((function(){return{}}))}]},94262:function(e,t,n){"use strict";var r=n(40988);n(80450);function o(e,t,n){return(0,r.Z)({},n,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,c=!1;return function(t,n,a){var s=e(t,n,a);return c?o&&i(s,r)||(r=s):(c=!0,r=s),r}}}(e):void 0},function(e){return e?void 0:function(){return o}}]},27189:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(5343);n(51617);function o(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function i(e,t,n,r,o){var i,c,a,s,u,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function g(o,d){var g,y,h=!f(d,c),m=!l(o,i);return i=o,c=d,h&&m?(a=e(i,c),t.dependsOnOwnProps&&(s=t(r,c)),u=n(a,s,c)):h?(e.dependsOnOwnProps&&(a=e(i,c)),t.dependsOnOwnProps&&(s=t(r,c)),u=n(a,s,c)):m?(g=e(i,c),y=!p(g,a),a=g,y&&(u=n(a,s,c)),u):u}return function(o,l){return d?g(o,l):(a=e(i=o,c=l),s=t(r,c),u=n(a,s,c),d=!0,u)}}function c(e,t){var n=t.initMapStateToProps,c=t.initMapDispatchToProps,a=t.initMergeProps,s=(0,r.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),u=n(e,s),l=c(e,s),f=a(e,s);return(s.pure?i:o)(u,l,f,e,s)}},51617:function(e,t,n){"use strict";n(28477)},68821:function(e,t,n){"use strict";n.d(t,{dX:function(){return r},xv:function(){return i}});n(80450);function r(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(t,n)),i},r}}},2620:function(e,t,n){"use strict";n.d(t,{zt:function(){return r.Z},$j:function(){return o.Z}});var r=n(32054),o=(n(4193),n(1992),n(28274))},37110:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function i(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var c=0;c<n.length;c++)if(!r.call(t,n[c])||!o(e[n[c]],t[n[c]]))return!1;return!0}},80450:function(e,t,n){"use strict";n(28477)},28477:function(e,t,n){"use strict";n(55246)},53126:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var r=n();r.withExtraArgument=n,t.Z=r},74978:function(e,t,n){"use strict";n.d(t,{md:function(){return h},DE:function(){return f},UY:function(){return u},qC:function(){return y},MT:function(){return a}});var r=n(13488),o=(n(55246),function(){return Math.random().toString(36).substring(7).split("").join(".")}),i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function c(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function a(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var s=e,u=t,l=[],f=l,p=!1;function d(){f===l&&(f=l.slice())}function g(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return u}function y(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return d(),f.push(e),function(){if(t){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,d();var n=f.indexOf(e);f.splice(n,1),l=null}}}function h(e){if(!c(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,u=s(u,e)}finally{p=!1}for(var t=l=f,n=0;n<t.length;n++){(0,t[n])()}return e}function m(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");s=e,h({type:i.REPLACE})}function v(){var e,t=y;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[r.Z]=function(){return this},e}return h({type:i.INIT}),(o={dispatch:h,subscribe:y,getState:g,replaceReducer:m})[r.Z]=v,o}function s(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var c,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){c=e}return function(e,t){if(void 0===e&&(e={}),c)throw c;for(var r=!1,o={},i=0;i<a.length;i++){var u=a[i],l=n[u],f=e[u],p=l(f,t);if(void 0===p){var d=s(u,t);throw new Error(d)}o[u]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(e).length)?o:e}}function l(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return l(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=l(o,t))}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return g({},n,{dispatch:r=y.apply(void 0,i)(n.dispatch)})}}}},13488:function(e,t,n){"use strict";var r,o=n(32752);e=n.hmd(e),r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var i=(0,o.Z)(r);t.Z=i},32752:function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,{Z:function(){return r}})},80816:function(e,t,n){"use strict";var r=n(90922),o=n.n(r),i=n(92819);const c=o()("dops:analytics");let a,s;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const u={initialize:function(e,t,n){u.setUser(e,t),u.setSuperProps(n),u.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){a=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]);c("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);this.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]);c("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Built stat "%s" in group "%s"',t,e);return n}(e,t);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){u.tracks.recordPageView(e),u.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,o,i,c){u.ga.recordPurchase(e,t,n,r,o,i,c)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(c("- Super Props: %o",a),t=(0,i.assign)(t,a)),c('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):c('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};u.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){u.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){c("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};u.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),u.ga.initialized=!0)},recordPageView:function(e,t){u.ga.initialize(),c("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){u.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),c(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,o,i,c){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:c}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=u},19570:function(e,t,n){"use strict";var r=n(92819),o=n(96483),i=n(26251);function c(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const a=c("JsonParseError"),s=c("JsonParseAfterRedirectError"),u=c("Api404Error"),l=c("Api404AfterRedirectError"),f=c("FetchNetworkError");const p=new function(e,t){let n=e,c={"X-WP-Nonce":t},a={credentials:"same-origin",headers:c},s={method:"post",credentials:"same-origin",headers:(0,r.assign)({},c,{"Content-type":"application/json"})},u=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 l={setApiRoot(e){n=e},setApiNonce(e){c={"X-WP-Nonce":e},a={credentials:"same-origin",headers:c},s={method:"post",credentials:"same-origin",headers:(0,r.assign)({},c,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,i.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,i.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),p(`${n}jetpack/v4/connection/register`,s,{body:JSON.stringify(r)}).then(d).then(g)},fetchAuthorizationUrl:e=>f((0,o.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(d).then(g),fetchSiteConnectionData:()=>f(`${n}jetpack/v4/connection/data`,a).then(g),fetchSiteConnectionStatus:()=>f(`${n}jetpack/v4/connection`,a).then(g),fetchSiteConnectionTest:()=>f(`${n}jetpack/v4/connection/test`,a).then(d).then(g),fetchUserConnectionData:()=>f(`${n}jetpack/v4/connection/data`,a).then(g),fetchUserTrackingSettings:()=>f(`${n}jetpack/v4/tracking/settings`,a).then(d).then(g),updateUserTrackingSettings:e=>p(`${n}jetpack/v4/tracking/settings`,s,{body:JSON.stringify(e)}).then(d).then(g),disconnectSite:()=>p(`${n}jetpack/v4/connection`,s,{body:JSON.stringify({isActive:!1})}).then(d).then(g),fetchConnectUrl:()=>f(`${n}jetpack/v4/connection/url`,a).then(d).then(g),unlinkUser:()=>p(`${n}jetpack/v4/connection/user`,s,{body:JSON.stringify({linked:!1})}).then(d).then(g),reconnect:()=>p(`${n}jetpack/v4/connection/reconnect`,s).then(d).then(g),fetchConnectedPlugins:()=>f(`${n}jetpack/v4/connection/plugins`,a).then(d).then(g),setHasSeenWCConnectionModal:()=>p(`${n}jetpack/v4/seen-wc-connection-modal`,s).then(d).then(g),fetchModules:()=>f(`${n}jetpack/v4/module/all`,a).then(d).then(g),fetchModule:e=>f(`${n}jetpack/v4/module/${e}`,a).then(d).then(g),activateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!0})}).then(d).then(g),deactivateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>p(`${n}jetpack/v4/module/${e}`,s,{body:JSON.stringify(t)}).then(d).then(g),updateSettings:e=>p(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(g),getProtectCount:()=>f(`${n}jetpack/v4/module/protect/data`,a).then(d).then(g),resetOptions:e=>p(`${n}jetpack/v4/options/${e}`,s,{body:JSON.stringify({reset:!0})}).then(d).then(g),activateVaultPress:()=>p(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(d).then(g),getVaultPressData:()=>f(`${n}jetpack/v4/module/vaultpress/data`,a).then(d).then(g),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),p(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify(r)}).then(d).then(g)},activateAkismet:()=>p(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(d).then(g),getAkismetData:()=>f(`${n}jetpack/v4/module/akismet/data`,a).then(d).then(g),checkAkismetKey:()=>f(`${n}jetpack/v4/module/akismet/key/check`,a).then(d).then(g),checkAkismetKeyTyped:e=>p(`${n}jetpack/v4/module/akismet/key/check`,s,{body:JSON.stringify({api_key:e})}).then(d).then(g),fetchStatsData:e=>f(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),a).then(d).then(g).then(y),getPluginUpdates:()=>f(`${n}jetpack/v4/updates/plugins`,a).then(d).then(g),getPlans:()=>f(`${n}jetpack/v4/plans`,a).then(d).then(g),fetchSettings:()=>f(`${n}jetpack/v4/settings`,a).then(d).then(g),updateSetting:e=>p(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(g),fetchSiteData:()=>f(`${n}jetpack/v4/site`,a).then(d).then(g).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>f(`${n}jetpack/v4/site/features`,a).then(d).then(g).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>f(`${n}jetpack/v4/site/products`,a).then(d).then(g),fetchSitePurchases:()=>f(`${n}jetpack/v4/site/purchases`,a).then(d).then(g).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>f(`${n}jetpack/v4/site/benefits`,a).then(d).then(g).then((e=>JSON.parse(e.data))),fetchSetupQuestionnaire:()=>f(`${n}jetpack/v4/setup/questionnaire`,a).then(d).then(g),fetchRecommendationsData:()=>f(`${n}jetpack/v4/recommendations/data`,a).then(d).then(g),fetchRecommendationsProductSuggestions:()=>f(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(d).then(g),fetchRecommendationsUpsell:()=>f(`${n}jetpack/v4/recommendations/upsell`,a).then(d).then(g),saveRecommendationsData:e=>p(`${n}jetpack/v4/recommendations/data`,s,{body:JSON.stringify({data:e})}).then(d),fetchProducts:()=>f(`${n}jetpack/v4/products`,a).then(d).then(g),fetchRewindStatus:()=>f(`${n}jetpack/v4/rewind`,a).then(d).then(g).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>f(`${n}jetpack/v4/scan`,a).then(d).then(g).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>p(`${n}jetpack/v4/notice/${e}`,s,{body:JSON.stringify({dismissed:!0})}).then(d).then(g),fetchPluginsData:()=>f(`${n}jetpack/v4/plugins`,a).then(d).then(g),fetchVerifySiteGoogleStatus:e=>f(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,a).then(d).then(g),verifySiteGoogle:e=>p(`${n}jetpack/v4/verify-site/google`,s,{body:JSON.stringify({keyring_id:e})}).then(d).then(g),sendMobileLoginEmail:()=>p(`${n}jetpack/v4/mobile/send-login-email`,s).then(d).then(g),submitSurvey:e=>p(`${n}jetpack/v4/marketing/survey`,s,{body:JSON.stringify(e)}).then(d).then(g),saveSetupQuestionnaire:e=>p(`${n}jetpack/v4/setup/questionnaire`,s,{body:JSON.stringify(e)}).then(d).then(g),updateLicensingError:e=>p(`${n}jetpack/v4/licensing/error`,s,{body:JSON.stringify(e)}).then(d).then(g),updateLicenseKey:e=>p(`${n}jetpack/v4/licensing/set-license`,s,{body:JSON.stringify({license:e})}).then(d).then(g),getUserLicensesCounts:()=>f(`${n}jetpack/v4/licensing/user/counts`,a).then(d).then(g),updateLicensingActivationNoticeDismiss:e=>p(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,s,{body:JSON.stringify({last_detached_count:e})}).then(d).then(g),updateRecommendationsStep:e=>p(`${n}jetpack/v4/recommendations/step`,s,{body:JSON.stringify({step:e})}).then(d),confirmIDCSafeMode:()=>p(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,s).then(d),startIDCFresh:e=>p(`${n}jetpack/v4/identity-crisis/start-fresh`,s,{body:JSON.stringify({redirect_uri:e})}).then(d).then(g),migrateIDC:()=>p(`${n}jetpack/v4/identity-crisis/migrate`,s).then(d),attachLicenses:e=>p(`${n}jetpack/v4/licensing/attach-licenses`,s,{body:JSON.stringify({licenses:e})}).then(d).then(g),fetchSearchPlanInfo:()=>f(`${n}jetpack/v4/search/plan`,a).then(d).then(g),fetchSearchSettings:()=>f(`${n}jetpack/v4/search/settings`,a).then(d).then(g),updateSearchSettings:e=>p(`${n}jetpack/v4/search/settings`,s,{body:JSON.stringify(e)}).then(d).then(g)};function f(e,t){return fetch(u(e),t)}function p(e,t,n){return fetch(e,(0,r.assign)({},t,n)).catch(h)}function y(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,r.assign)(this,l)};function d(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new u})):e.json().catch((e=>y(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function g(e){return e.json().catch((t=>y(t,e.redirected,e.url)))}function y(e,t,n){throw t?new s(n):new a}function h(){throw new f}t.ZP=p},78310:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(11268),c=n.n(i);n(6383);const a=e=>{const{format:t,icon:n,imageUrl:r}=e;return o().createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},o().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:r?`url( ${r} )`:""}}),o().createElement("div",{className:"jp-components__decorative-card__content"},o().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(n)return o().createElement("div",{className:"jp-components__decorative-card__icon-container"},o().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n}))})())};a.propTypes={format:c().oneOf(["horizontal","vertical"]),icon:c().oneOf(["unlink"]),imageUrl:c().string},a.defaultProps={format:"horizontal"},t.Z=a},71415:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;if("undefined"!=typeof window&&(r=window.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);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const o=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+o}n.d(t,{Z:function(){return r}})},26251:function(e,t,n){var r=n(55246);let o={};try{o=n(92787)}catch{r.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),o={missingConfig:!0}}const i=e=>o.hasOwnProperty(e);e.exports={jetpackConfigHas:i,jetpackConfigGet:e=>{if(!i(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 o[e]}}},73593:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(11268),c=n.n(i),a=n(65736),s=n(2332);const __=a.__,u=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,i=(0,r.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&i.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},i.map((e=>o().createElement(s.Z,{title:e.name}))))):null};u.PropTypes={connectedPlugins:c().object,disconnectingPlugin:c().string},t.Z=u},2332:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(11268),c=n.n(i);n(907);const a=e=>{const{title:t,value:n,description:r}=e;return o().createElement("div",{className:"jp-connection__disconnect-card card"},o().createElement("div",{className:"jp-connection__disconnect-card__card-content"},o().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||r)&&o().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},o().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),o().createElement("div",{className:"jp-connection__disconnect-card__card-description"},r))))};a.propTypes={title:c().string,value:c().string|c().number,description:c().number},t.Z=a},15628:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(11268),c=n.n(i),a=n(65736),s=n(55609),u=n(19570),l=n(80816),f=n(26251),p=(n(58187),n(80163)),d=n(71496),g=n(84130),y=n(55700);const __=a.__,h=e=>{const[t,n]=(0,r.useState)(!1),[i,c]=(0,r.useState)(!1),[a,h]=(0,r.useState)(!1),[m,v]=(0,r.useState)(!1),[E,_]=(0,r.useState)(!1),[b,S]=(0,r.useState)(!1),{apiRoot:w,apiNonce:C,connectedPlugins:T,title:O,pluginScreenDisconnectCallback:A,onDisconnected:j,onError:P,disconnectStepComponent:k,context:I,connectedUser:N,connectedSiteId:F,isOpen:D,onClose:U}=e;let R="";(0,f.jetpackConfigHas)("consumer_slug")&&(R=(0,f.jetpackConfigGet)("consumer_slug"));const x=(0,r.useMemo)((()=>({context:I,plugin:R})),[I,R]);(0,r.useEffect)((()=>{u.ZP.setApiRoot(w),u.ZP.setApiNonce(C)}),[w,C]),(0,r.useEffect)((()=>{N&&N.ID&&N.login&&l.Z.initialize(N.ID,N.login)}),[N,N.ID,N.login]),(0,r.useEffect)((()=>{D&&l.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",x)}),[D,x]),(0,r.useEffect)((()=>{D&&(i?!i||m||E?m&&!E?l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},x)):E&&l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},x)):l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},x)):l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},x)))}),[D,i,m,E,x]);const M=(0,r.useCallback)((()=>{u.ZP.disconnectSite().then((()=>{n(!1),c(!0)})).catch((e=>{n(!1),h(e),P&&P(e)}))}),[n,c,h,P]),L=(0,r.useCallback)(((e,t)=>{S(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);l.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),_(!0),S(!1)})).catch((e=>{l.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),_(!0),S(!1)}))}),[S,_]),$=(0,r.useCallback)((e=>{e&&e.preventDefault(),h(!1),n(!0),"plugins"!==I?M():A&&A(e)}),[h,n,A,I,M]),J=(0,r.useCallback)((()=>N.ID&&F),[N,F]),K=(0,r.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!J())return void _(!0);const r={site_id:F,user_id:N.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},o=Object.assign({},x,{disconnect_reason:e});L(r,o)}),[L,_,J,F,N,x]),B=(0,r.useCallback)((e=>{e&&e.preventDefault(),j&&j(),U()}),[j,U]),H=(0,r.useCallback)((e=>{e&&e.preventDefault(),v(!0)}),[v]);return o().createElement(o().Fragment,null,D&&o().createElement(s.Modal,{title:"",contentLabel:O,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:U,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(i?" jp-connection__disconnect-dialog__success":"")},i?!i||m||E?m&&!E?o().createElement(g.Z,{isSubmittingFeedback:b,onFeedBackProvided:K,onExit:B}):E?o().createElement(y.Z,{onExit:B}):void 0:o().createElement(d.Z,{canProvideFeedback:J(),onProvideFeedback:H,onExit:B}):o().createElement(p.Z,{title:O,connectedPlugins:T,disconnectStepComponent:k,isDisconnecting:t,closeModal:U,onDisconnect:$,disconnectError:a,context:I,disconnectingPlugin:R})))};h.propTypes={apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,title:c().string,onDisconnected:c().func,onError:c().func,context:c().string,connectedPlugins:c().object,pluginScreenDisconnectCallback:c().func,disconnectStepComponent:c().element,connectedUser:c().object,connectedSiteId:c().number,isOpen:c().bool,onClose:c().func},h.defaultProps={title:__("Are you sure you want to disconnect?","jetpack"),context:"jetpack-dashboard",connectedUser:{}},t.Z=h},71496:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(11268),c=n.n(i),a=n(69307),s=n(65736),u=n(55609),l=n(78310),f=n(62042);const __=s.__,p=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:r}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(l.Z,{icon:"unlink",imageUrl:f}),o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},o().createElement("h1",null,(0,a.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack"),{br:o().createElement("br",null)})),n&&o().createElement(o().Fragment,null,o().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack")),o().createElement("p",null,o().createElement(u.Button,{isPrimary:!0,onClick:r,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack"))),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack"))),!n&&o().createElement(o().Fragment,null,o().createElement("p",null,o().createElement(u.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))))};p.PropTypes={onExit:c().func,onProvideFeedback:c().func,canProvideFeedback:c().bool},t.Z=p},80163:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(69307),c=n(65736),a=n(71415),s=n(55609),u=n(11268),l=n.n(u),f=n(73593);const __=c.__,p=e=>{const{title:t,isDisconnecting:n,onDisconnect:r,disconnectError:c,disconnectStepComponent:u,connectedPlugins:l,disconnectingPlugin:p,closeModal:d,context:g}=e;return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),o().createElement(f.Z,{connectedPlugins:l,disconnectingPlugin:p}),u,(()=>{if(!l&&!u)return o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack"),o().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack")))})()),o().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},o().createElement("div",{className:"jp-row"},o().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},o().createElement("p",null,(0,i.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack"),{strong:o().createElement("strong",null),jpConnectionInfoLink:o().createElement("a",{href:(0,a.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link"}),jpSupportLink:o().createElement("a",{href:(0,a.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link"})}))),o().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},o().createElement(s.Button,{isPrimary:!0,disabled:n,onClick:d,className:"jp-connection__disconnect-dialog__btn-dismiss"},__("Stay connected","jetpack")),(()=>{let e=__("Disconnect","jetpack");return n?e=__("Disconnecting…","jetpack"):"plugins"===g&&(e=__("Disconnect and Deactivate","jetpack")),o().createElement(s.Button,{isPrimary:!0,disabled:n,onClick:r,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),c&&o().createElement("p",{className:"jp-connection__disconnect-dialog__error"},c)))};p.propTypes={title:l().string,isDisconnecting:l().bool,onDisconnect:l().func,disconnectError:l().bool,disconnectStepComponent:l().elementType,connectedPlugins:l().array,disconnectingPlugin:l().string,closeModal:l().func,context:l().string},t.Z=p},84130:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(11268),c=n.n(i),a=n(65736),s=(n(85731),n(71194));const __=a.__,u=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:r}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack")),o().createElement(s.Z,{onSubmit:n,isSubmittingFeedback:r}),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack")))};u.PropTypes={onExit:c().func,onFeedBackProvided:c().func,isSubmittingFeedback:c().bool},t.Z=u},55700:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(11268),c=n.n(i),a=n(78310),s=n(65736),u=n(55609),l=n(69307),f=n(90724);const __=s.__,p=e=>{const{onExit:t}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(a.Z,{format:"vertical",imageUrl:f}),o().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},o().createElement("h1",null,__("Thank you!","jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,l.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack"),{br:o().createElement("br",null)})),o().createElement(u.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))};p.PropTypes={onExit:c().func,assetBaseUrl:c().string},t.Z=p},71194:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(11268),c=n.n(i),a=n(55609),s=n(65736),u=n(87215);const __=s.__,l=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[i,c]=(0,r.useState)(),[s,l]=(0,r.useState)(),f=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack")}],p="another-reason",d=(0,r.useCallback)((()=>{t(i,i===p?s:"")}),[t,p,s,i]),g=(0,r.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),l(t)}),[l]),y=e=>e===i?"jp-connect__disconnect-survey-card--selected":"",h=(0,r.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":c(e)}}),[c]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},f.map((e=>o().createElement(u.Z,{id:e.id,onClick:c,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+y(e.id)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),o().createElement(u.Z,{id:p,onClick:c,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+y(p)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack")," ",o().createElement("input",{placeholder:__("share your experience","jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:s,onChange:g,maxLength:1e3})))),o().createElement("p",null,o().createElement(a.Button,{disabled:!i||n,isPrimary:!0,onClick:d,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack"):__("Submit Feedback","jetpack",0))))};l.PropTypes={onSubmit:c().func,isSubmittingFeedback:c().bool},t.Z=l},87215:function(e,t,n){"use strict";var r=n(99196),o=n.n(r);n(85731);t.Z=e=>{const{id:t,onClick:n,onKeyDown:i,children:c,className:a}=e,s=(0,r.useCallback)((()=>{n(t)}),[t,n]),u=(0,r.useCallback)((e=>{i(t,e)}),[t,i]);return o().createElement("div",{tabIndex:"0",role:"button",onClick:s,onKeyDown:u,className:"card jp-connect__disconnect-survey-card "+a},c)}},87137:function(e,t,n){"use strict";n.d(t,{o:function(){return r},m:function(){return o}});const r="NEW_NOTICE",o="REMOVE_NOTICE"},21094:function(e,t,n){"use strict";var r=n(92819),o=n(87137);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i={noticeId:n.id||(0,r.uniqueId)(),duration:n.duration,showDismiss:"boolean"!=typeof n.showDismiss||n.showDismiss,isPersistent:n.isPersistent||!1,displayOnNextPage:n.displayOnNextPage||!1,status:e,text:t};return{type:o.o,notice:i}}i.bind(null,"is-success"),i.bind(null,"is-error"),i.bind(null,"is-info"),i.bind(null,"is-warning")},31008:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(74978),o=n(87137);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.o:return[t.notice,...e];case o.m:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,r.UY)({globalNotices:i})},27711:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(2332),c=n(69307),a=n(55609),s=n(65736),u=n(71415);const __=s.__;t.Z=e=>{const{siteBenefits:t}=e;return o().createElement(o().Fragment,null,t.length>0&&o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.","jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},t.map((e=>{let{value:t,description:n,title:r}=e;return o().createElement(i.Z,{title:r,value:t,description:n})})))),t.length<=2&&o().createElement("div",{className:"jetpack-benefits__general-benefits-section"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack has many powerful tools that can help you achieve your goals","jetpack")),o().createElement("ul",{className:"jetpack-benefits__general-benefits-list"},o().createElement("li",{key:"reason-cdn"},(0,c.createInterpolateElement)(__("Speed up your site and provide mobile-ready images with <ExternalLink>our CDN</ExternalLink>","jetpack"),{ExternalLink:o().createElement(a.ExternalLink,{href:(0,u.Z)("jetpack-features-design-content-delivery-network"),rel:"noopener noreferrer",target:"_blank"})})),o().createElement("li",{key:"reason-brute-force"},(0,c.createInterpolateElement)(__("Block <ExternalLink>brute force attacks</ExternalLink> and get immediate notifications if your site is down","jetpack"),{ExternalLink:o().createElement(a.ExternalLink,{href:(0,u.Z)("jetpack-features-security"),rel:"noopener noreferrer",target:"_blank"})})),o().createElement("li",{key:"reason-social"},(0,c.createInterpolateElement)(__("Grow your traffic with automated social <ExternalLink>publishing and sharing</ExternalLink>","jetpack"),{ExternalLink:o().createElement(a.ExternalLink,{href:(0,u.Z)("jetpack-support-social"),rel:"noopener noreferrer",target:"_blank"})})))))}},81200:function(e,t,n){"use strict";n(92819)},60265:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(2620),c=n(65736),a=n(37617),s=n(66552),u=n(19570),l=n(15628),f=n(27711);const __=c.__;t.Z=(0,i.$j)((e=>({apiRoot:(0,s.yB)(e),apiNonce:(0,s.VY)(e),connectedPlugins:(0,s.xz)(e),siteBenefits:(0,s.Hh)(e),tracksUserData:(0,s.hv)(e)})))((e=>{const{apiRoot:t,apiNonce:n,connectedPlugins:i,siteBenefits:c,tracksUserData:s}=e,[p,d]=(0,r.useState)(!1),g=document.querySelector("#deactivate-jetpack, #deactivate-jetpack-dev");g.setAttribute("title",__("Deactivate Jetpack","jetpack")),g.textContent=__("Disconnect and Deactivate","jetpack"),(0,r.useEffect)((()=>{u.ZP.setApiRoot(t),u.ZP.setApiNonce(n)}),[t,n]);const y=(0,r.useCallback)((()=>{d(!p)}),[d,p]),h=(0,r.useCallback)((e=>{e.preventDefault(),y()}),[y]);(0,r.useEffect)((()=>(g.addEventListener("click",h),()=>{g.removeEventListener("click",h)})),[g,h]);const m=(0,r.useCallback)((()=>{window.location.href=g.getAttribute("href")}),[g]);return o().createElement(a.Z,null,o().createElement(l.Z,{apiRoot:t,apiNonce:n,connectedPlugins:i,connectedUser:{ID:s.userid,login:s.username},context:"plugins",isOpen:p,onClose:y,pluginScreenDisconnectCallback:m,disconnectStepComponent:o().createElement(f.Z,{siteBenefits:c})}))}))},37617:function(e,t,n){"use strict";var r=n(91850),o=n.n(r),i=n(99196),c=n.n(i);const a=document.getElementById("jetpack-plugin-portal-sidecar");class s extends c().Component{constructor(e){super(e),this.portalNode=document.createElement("div")}componentDidMount(){a.appendChild(this.portalNode)}componentWillUnmount(){a.removeChild(this.portalNode)}render(){return o().createPortal(this.props.children,this.portalNode)}}t.Z=s},67592:function(e,t,n){"use strict";n.d(t,{R9:function(){return r},q7:function(){return o},Uy:function(){return i},hm:function(){return c},J1:function(){return a},U7:function(){return s},BV:function(){return u},ie:function(){return l},AA:function(){return f},IW:function(){return p},Mo:function(){return d},dD:function(){return g},lj:function(){return y},o2:function(){return h},yb:function(){return m},bG:function(){return v},sO:function(){return E},B9:function(){return _},T:function(){return b},YD:function(){return S},X0:function(){return w},kK:function(){return C},rA:function(){return T},TB:function(){return O},jE:function(){return A},kF:function(){return j},I3:function(){return P},sG:function(){return k},n2:function(){return I},Jy:function(){return N},Gu:function(){return F},xk:function(){return D},CD:function(){return U},L:function(){return R},Lo:function(){return x},Hy:function(){return M},m:function(){return L},a8:function(){return $},ar:function(){return J},TR:function(){return K},H5:function(){return B},yV:function(){return H},QG:function(){return q},c0:function(){return G},Cf:function(){return V},x3:function(){return Z},Mi:function(){return z},$I:function(){return W},as:function(){return Y},RR:function(){return X},Fm:function(){return Q},KD:function(){return ee},BG:function(){return te},BB:function(){return ne},Pi:function(){return re},yE:function(){return oe},HO:function(){return ie},YC:function(){return ce},$0:function(){return ae},w_:function(){return se},g:function(){return ue},i7:function(){return le},ik:function(){return fe},Pp:function(){return pe},hz:function(){return de},QD:function(){return ge},JA:function(){return ye},dS:function(){return he},rY:function(){return me},q4:function(){return ve},jH:function(){return Ee},QF:function(){return _e},BX:function(){return be},gY:function(){return Se},FL:function(){return we},Ns:function(){return Ce},TI:function(){return Te},rQ:function(){return Oe},fH:function(){return Ae},l9:function(){return je},Mg:function(){return Pe},nD:function(){return ke},rw:function(){return Ie},Vl:function(){return Ne},VN:function(){return Fe},g9:function(){return De},Fe:function(){return Ue},lt:function(){return Re},Dz:function(){return xe},Ab:function(){return Me},Ep:function(){return Le},zO:function(){return $e},XU:function(){return Je},y$:function(){return Ke},qU:function(){return Be},s6:function(){return He},z1:function(){return qe},jb:function(){return Ge},x1:function(){return Ve},Nk:function(){return Ze},qY:function(){return ze},zD:function(){return We},IZ:function(){return Ye},lh:function(){return Xe},fX:function(){return Qe},tU:function(){return et},Ez:function(){return tt},Qm:function(){return nt},XP:function(){return rt},K0:function(){return ot},Fc:function(){return it},b8:function(){return ct},me:function(){return at},Vd:function(){return st},tl:function(){return ut},Yo:function(){return lt},mL:function(){return ft},hF:function(){return pt},CM:function(){return dt},it:function(){return gt},Dg:function(){return yt},ml:function(){return ht},Yk:function(){return mt},fe:function(){return vt},N9:function(){return Et},vr:function(){return _t},M0:function(){return bt},$F:function(){return St},b6:function(){return wt},cz:function(){return Ct},$d:function(){return Tt},s9:function(){return Ot},km:function(){return At},oQ:function(){return jt},UI:function(){return Pt},Uq:function(){return kt},U$:function(){return It},R5:function(){return Nt},lO:function(){return Ft},jt:function(){return Dt}});const r="JETPACK_SET_INITIAL_STATE",o="CONNECT_URL_FETCH",i="CONNECT_URL_FETCH_FAIL",c="CONNECT_URL_FETCH_SUCCESS",a="DISCONNECT_SITE",s="DISCONNECT_SITE_FAIL",u="DISCONNECT_SITE_SUCCESS",l="CONNECT_USER",f="RESET_CONNECT_USER",p="UNLINK_USER",d="UNLINK_USER_FAIL",g="UNLINK_USER_SUCCESS",y="USER_CONNECTION_DATA_FETCH",h="USER_CONNECTION_DATA_FETCH_FAIL",m="USER_CONNECTION_DATA_FETCH_SUCCESS",v="SITE_RECONNECT",E="SITE_RECONNECT_SUCCESS",_="SITE_RECONNECT_FAIL",b="USER_TRACKING_SETTINGS_FETCH",S="USER_TRACKING_SETTINGS_FETCH_FAIL",w="USER_TRACKING_SETTINGS_FETCH_SUCCESS",C="USER_TRACKING_SETTINGS_UPDATE",T="USER_TRACKING_SETTINGS_UPDATE_FAIL",O="USER_TRACKING_SETTINGS_UPDATE_SUCCESS",A="JETPACK_MODULES_LIST_FETCH",j="JETPACK_MODULES_LIST_FETCH_FAIL",P="JETPACK_MODULES_LIST_RECEIVE",k="JETPACK_MODULE_ACTIVATE",I="JETPACK_MODULE_ACTIVATE_SUCCESS",N="JETPACK_MODULE_ACTIVATE_FAIL",F="JETPACK_MODULE_DEACTIVATE",D="JETPACK_MODULE_DEACTIVATE_FAIL",U="JETPACK_MODULE_DEACTIVATE_SUCCESS",R="JETPACK_MODULE_UPDATE_OPTIONS",x="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",M="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",L="JETPACK_CONNECTION_STATUS_FETCH",$="JETPACK_SITE_CONNECTED_PLUGINS_FETCH",J="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_RECEIVE",K="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_FAIL",B="DASHBOARD_PROTECT_COUNT_FETCH",H="DASHBOARD_PROTECT_COUNT_FETCH_FAIL",q="DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS",G="RESET_OPTIONS_SUCCESS",V="VAULTPRESS_SITE_DATA_FETCH",Z="VAULTPRESS_SITE_DATA_FETCH_FAIL",z="VAULTPRESS_SITE_DATA_FETCH_SUCCESS",W="AKISMET_DATA_FETCH",Y="AKISMET_DATA_FETCH_FAIL",X="AKISMET_DATA_FETCH_SUCCESS",Q="AKISMET_KEY_CHECK_FETCH",ee="AKISMET_KEY_CHECK_FETCH_FAIL",te="AKISMET_KEY_CHECK_FETCH_SUCCESS",ne="PLUGIN_UPDATES_FETCH",re="PLUGIN_UPDATES_FETCH_FAIL",oe="PLUGIN_UPDATES_FETCH_SUCCESS",ie="STATS_SWITCH_TAB",ce="STATS_DATA_FETCH",ae="STATS_DATA_FETCH_FAIL",se="STATS_DATA_FETCH_SUCCESS",ue="JETPACK_PRODUCTS_FETCH",le="JETPACK_PRODUCTS_FETCH_RECEIVE",fe="JETPACK_PRODUCTS_FETCH_FAIL",pe="JETPACK_SITE_PRODUCTS_FETCH",de="JETPACK_SITE_PRODUCTS_FETCH_FAIL",ge="JETPACK_SITE_PRODUCTS_FETCH_RECEIVE",ye="JETPACK_SETTINGS_FETCH",he="JETPACK_SETTINGS_FETCH_RECEIVE",me="JETPACK_SETTINGS_FETCH_FAIL",ve="JETPACK_SETTING_UPDATE",Ee="JETPACK_SETTING_UPDATE_SUCCESS",_e="JETPACK_SETTING_UPDATE_FAIL",be="JETPACK_SETTINGS_UPDATE",Se="JETPACK_SETTINGS_UPDATE_FAIL",we="JETPACK_SETTINGS_UPDATE_SUCCESS",Ce="JETPACK_SETTINGS_SET_UNSAVED_FLAG",Te="JETPACK_SETTINGS_CLEAR_UNSAVED_FLAG",Oe="JETPACK_SITE_DATA_FETCH",Ae="JETPACK_SITE_DATA_FETCH_RECEIVE",je="JETPACK_SITE_DATA_FETCH_FAIL",Pe="JETPACK_SITE_BENEFITS_FETCH",ke="JETPACK_SITE_BENEFITS_FETCH_RECEIVE",Ie="JETPACK_SITE_BENEFITS_FETCH_FAIL",Ne="JETPACK_SITE_FEATURES_FETCH",Fe="JETPACK_SITE_FEATURES_FETCH_RECEIVE",De="JETPACK_SITE_FEATURES_FETCH_FAIL",Ue="JETPACK_SITE_PLANS_FETCH",Re="JETPACK_SITE_PLANS_FETCH_RECEIVE",xe="JETPACK_SITE_PLANS_FETCH_FAIL",Me="JETPACK_SITE_PURCHASES_FETCH",Le="JETPACK_SITE_PURCHASES_FETCH_RECEIVE",$e="JETPACK_SITE_PURCHASES_FETCH_FAIL",Je="JETPACK_RECOMMENDATIONS_DATA_ADD_SELECTED_RECOMMENDATION",Ke="JETPACK_RECOMMENDATIONS_DATA_ADD_SKIPPED_RECOMMENDATION",Be="JETPACK_RECOMMENDATIONS_DATA_FETCH",He="JETPACK_RECOMMENDATIONS_DATA_FETCH_RECEIVE",qe="JETPACK_RECOMMENDATIONS_DATA_FETCH_FAIL",Ge="JETPACK_RECOMMENDATIONS_DATA_UPDATE",Ve="JETPACK_RECOMMENDATIONS_STEP_UPDATE",Ze="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH",ze="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_RECEIVE",We="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_FAIL",Ye="JETPACK_RECOMMENDATIONS_UPSELL_FETCH",Xe="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_RECEIVE",Qe="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_FAIL",et="JETPACK_ACTION_NOTICES_DISMISS",tt="JETPACK_NOTICES_DISMISS_SUCCESS",nt="JETPACK_PLUGINS_DATA_FETCH",rt="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",ot="JETPACK_PLUGINS_DATA_FETCH_FAIL",it="JETPACK_SEARCH_TERM",ct="SET_PLAN_DURATION",at="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY",st="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_SUCCESS",ut="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_FAIL",lt="DEV_CARD_DISPLAY",ft="DEV_CARD_HIDE",pt="MOCK_SWITCH_USER_PERMISSIONS",dt="MOCK_SWITCH_THREATS",gt="REWIND_STATUS_FETCH",yt="REWIND_STATUS_FETCH_RECEIVE",ht="REWIND_STATUS_FETCH_FAIL",mt="MOCK_SWITCH_REWIND_STATE",vt="SCAN_STATUS_FETCH",Et="SCAN_STATUS_FETCH_RECEIVE",_t="SCAN_STATUS_FETCH_FAIL",bt="MOCK_SWITCH_SCAN_STATE",St="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH",wt="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_FAIL",Ct="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_SUCCESS",Tt="JETPACK_SITE_VERIFY_GOOGLE_REQUEST",Ot="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_SUCCESS",At="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_FAIL",jt="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL",Pt="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_SUCCESS",kt="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_FAIL",It="JETPACK_LICENSING_ERROR_UPDATE",Nt="JETPACK_LICENSING_USER_LICENSE_COUNTS_UPDATE",Ft="JETPACK_LICENSING_ACTIVATION_NOTICE_DISMISS_UPDATE",Dt="JETPACK_CONNECTION_HAS_SEEN_WC_CONNECTION_MODAL"},50046:function(e,t,n){"use strict";n.d(t,{sI:function(){return c}});var r=n(74978),o=n(92819),i=n(67592);const c=(0,r.UY)({requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.YC:return(0,o.assign)({},e,{fetchingStatsData:!0});case i.$I:return(0,o.assign)({},e,{fetchingAkismetData:!0});case i.Fm:return(0,o.assign)({},e,{checkingAkismetKey:!0});case i.Cf:return(0,o.assign)({},e,{fetchingVaultPressData:!0});case i.H5:return(0,o.assign)({},e,{fetchingProtectData:!0});case i.BB:return(0,o.assign)({},e,{fetchingPluginUpdates:!0});case i.$0:case i.w_:return(0,o.assign)({},e,{fetchingStatsData:!1});case i.as:case i.RR:return(0,o.assign)({},e,{fetchingAkismetData:!1});case i.KD:case i.BG:return(0,o.assign)({},e,{checkingAkismetKey:!1});case i.yV:case i.QG:return(0,o.assign)({},e,{fetchingProtectData:!1});case i.Pi:case i.yE:return(0,o.assign)({},e,{fetchingPluginUpdates:!1});case i.x3:case i.Mi:return(0,o.assign)({},e,{fetchingVaultPressData:!1});default:return e}},activeStatsTab:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"day",t=arguments.length>1?arguments[1]:void 0;return t.type===i.HO?t.activeStatsTab:e},protectCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===i.QG?t.protectCount:e},vaultPressData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Mi:return t.vaultPressData;case i.CM:return(0,o.assign)({},"N/A"===e?{}:e,{data:{active:!0,features:{security:!0},security:{notice_count:t.mockCount}}});default:return e}},statsData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.w_?(0,o.assign)({},e,t.statsData):e},akismetData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===i.RR?t.akismetData:e},akismet:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{validKey:null,invalidKeyCode:"",invalidKeyMessage:""},t=arguments.length>1?arguments[1]:void 0;return t.type===i.BG?(0,o.assign)({},e,t.akismet):e},pluginUpdates:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===i.yE?t.pluginUpdates:e}})},64769:function(e,t,n){"use strict";n(65736),n(21094),n(19570),n(66552)},41147:function(e,t,n){"use strict";n(6861),n(64769)},6861:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(74978),o=n(92819),i=n(67592);n(93107);const c={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},a=(0,r.UY)({connectUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R9:return(0,o.get)(t,"initialState.connectUrl",e);case i.hm:return t.connectUrl;default:return e}},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{siteConnected:window.Initial_State.connectionStatus},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.m:case i.BV:return(0,o.assign)({},e,{siteConnected:t.siteConnected});case i.dD:return(0,o.assign)({},e,{siteConnected:{...e.siteConnected,isUserConnected:!1}});case i.yb:return!0===t.userConnectionData?.currentUser?.isConnected?(0,o.assign)({},e,{siteConnected:{...e.siteConnected,hasConnectedOwner:!0}}):e;default:return e}},user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.userData,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.yb:return(0,o.assign)({},e,t.userConnectionData);case i.dD:const n=(0,o.assign)({},e.currentUser,{isConnected:!1});return(0,o.assign)({},e,{currentUser:n});case i.hF:return(0,o.merge)({},e,t.initialState);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.J1:return(0,o.assign)({},e,{disconnectingSite:!0});case i.IW:return(0,o.assign)({},e,{unlinkingUser:!0});case i.ie:return(0,o.assign)({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel});case i.AA:return(0,o.assign)({},e,{connectingUser:!1});case i.q7:return(0,o.assign)({},e,{fetchingConnectUrl:!0});case i.lj:return(0,o.assign)({},e,{fetchingUserData:!0});case i.bG:return(0,o.assign)({},e,{reconnectingSite:!0});case i.U7:case i.BV:return(0,o.assign)({},e,{disconnectingSite:!1});case i.Mo:case i.dD:return(0,o.assign)({},e,{unlinkingUser:!1});case i.Uy:case i.hm:return(0,o.assign)({},e,{fetchingConnectUrl:!1});case i.o2:case i.yb:return(0,o.assign)({},e,{fetchingUserData:!1});case i.B9:case i.sO:return(0,o.assign)({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.hasSeenWCConnectionModal||!1,t=arguments.length>1?arguments[1]:void 0;return t.type===i.jt||e}})},71565:function(e,t,n){"use strict";n.d(t,{I6:function(){return i}});var r=n(74978),o=n(67592);const i=(0,r.UY)({display:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.Yo:return!0;case o.mL:return!1;default:return e}}})},83097:function(e,t,n){"use strict";n.d(t,{I6:function(){return c}});var r=n(74978),o=n(92819),i=n(67592);const c=(0,r.UY)({disconnectSurvey:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{submitting:!1,submitted:!1,error:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.me:return(0,o.assign)({},e,{submitting:!0});case i.Vd:return(0,o.assign)({},e,{submitting:!1,submitted:!0,error:null});case i.tl:return(0,o.assign)({},e,{submitting:!1,submitted:!1,error:t.error});default:return e}}})},66552:function(e,t,n){"use strict";n.d(t,{VY:function(){return r.VY},yB:function(){return r.yB},xz:function(){return r.xz},Hh:function(){return r.Hh},hv:function(){return r.hv}});var r=n(67643)},67643:function(e,t,n){"use strict";n.d(t,{E3:function(){return i},xz:function(){return c},Hh:function(){return a},VY:function(){return s},yB:function(){return u},hv:function(){return l}});var r=n(92819),o=n(67592);n(89238),n(13553),n(41147);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.R9:return(0,r.assign)({},e,t.initialState);case o.hF:return(0,r.merge)({},e,{userData:t.initialState});default:return e}};function c(e){return(0,r.get)(e.jetpack.initialState,"connectedPlugins",{})}function a(e){return(0,r.get)(e.jetpack.initialState,"jetpackBenefits",[])}function s(e){return(0,r.get)(e.jetpack.initialState,"WP_API_nonce")}function u(e){return(0,r.get)(e.jetpack.initialState,"WP_API_root")}function l(e){return(0,r.get)(e.jetpack.initialState,"tracksUserData")}},93036:function(e,t,n){"use strict";n.d(t,{I6:function(){return c}});var r=n(74978),o=n(92819),i=n(67592);const c=(0,r.UY)({notice:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===i.BV?"disconnected":e},dismissed:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.dismissedNotices,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.tU:return(0,o.assign)({},e,{[t.notice]:!0});case i.Ez:return(0,o.assign)({},e,t.dismissedNotices);case i.c0:return!1;default:return e}}})},88584:function(e,t,n){"use strict";n.d(t,{I6:function(){return c}});var r=n(92819),o=n(74978),i=n(67592);const c=(0,o.UY)({error:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.licensing.error,t=arguments.length>1?arguments[1]:void 0;return t.type===i.U$?t.error:e},userCounts:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window.Initial_State.licensing.userCounts)&&void 0!==e?e:{},n=arguments.length>1?arguments[1]:void 0;return n.type===i.R5?(0,r.assign)({},t,n.counts):t},activationNoticeDismiss:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window.Initial_State.licensing.activationNoticeDismiss)&&void 0!==e?e:{last_detached_count:null,last_dismissed_time:null},n=arguments.length>1?arguments[1]:void 0;return n.type===i.lO?(0,r.assign)({},t,n.dismissData):t}})},36900:function(e,t,n){"use strict";n.d(t,{I6:function(){return c}});var r=n(74978),o=n(92819),i=n(67592);const c=(0,r.UY)({mobile:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sendingLoginEmail:!1,loginEmailSent:!1,error:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.oQ:return(0,o.assign)({},e,{sendingLoginEmail:!0});case i.UI:return(0,o.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!0,error:null});case i.Uq:return(0,o.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!1,error:t.error});default:return e}}})},7954:function(e,t,n){"use strict";n(92819),n(65736),n(21094),n(91172),n(19570)},93107:function(e,t,n){"use strict";n(91172),n(7954)},91172:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(74978),o=n(92819),i=n(67592);n(61744);const c={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}},a=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R9:return(0,o.assign)({},t.initialState.getModules);case i.I3:return(0,o.assign)({},e,t.modules);case i.n2:return(0,o.assign)({},e,{[t.module]:(0,o.assign)({},e[t.module],{activated:!0})});case i.CD:return(0,o.assign)({},e,{[t.module]:(0,o.assign)({},e[t.module],{activated:!1})});case i.Hy:const n=(0,o.assign)({},e[t.module]);return Object.keys(t.newOptionValues).forEach((e=>{n.options[e].current_value=t.newOptionValues[e]})),(0,o.assign)({},e,{[t.module]:n});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.jE:return(0,o.assign)({},e,{fetchingModulesList:!0});case i.kF:case i.I3:return(0,o.assign)({},e,{fetchingModulesList:!1});case i.sG:return(0,o.assign)({},e,{activating:(0,o.assign)({},e.activating,{[t.module]:!0})});case i.Jy:case i.n2:return(0,o.assign)({},e,{activating:(0,o.assign)({},e.activating,{[t.module]:!1})});case i.Gu:return(0,o.assign)({},e,{deactivating:(0,o.assign)({},e.deactivating,{[t.module]:!0})});case i.xk:case i.CD:return(0,o.assign)({},e,{deactivating:(0,o.assign)({},e.deactivating,{[t.module]:!1})});case i.L:const n=(0,o.assign)({},e.updatingOption);return n[t.module]=(0,o.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((e=>{n[t.module][e]=!0})),(0,o.assign)({},e,{updatingOption:(0,o.assign)({},e.updatingOption,n)});case i.Lo:case i.Hy:const r=(0,o.assign)({},e.updatingOption);return r[t.module]=(0,o.assign)({},r[t.module]),Object.keys(t.newOptionValues).forEach((e=>{r[t.module][e]=!1})),(0,o.assign)({},e,{updatingOption:(0,o.assign)({},e.updatingOption,r)});default:return e}}})},89238:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var r=n(74978),o=n(67592);const i=(0,r.UY)({duration:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yearly",t=arguments.length>1?arguments[1]:void 0;return t.type===o.b8?t.duration:e}})},37457:function(e,t,n){"use strict";n(19570)},13553:function(e,t,n){"use strict";n(79367),n(37457)},79367:function(e,t,n){"use strict";n.d(t,{I6:function(){return c}});var r=n(92819),o=n(74978),i=n(67592);const c=(0,o.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.i7?t.products:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.g:return(0,r.assign)({},e,{isFetchingProducts:!0});case i.i7:case i.ik:return(0,r.assign)({},e,{isFetchingProducts:!1});default:return e}}})},46023:function(e,t,n){"use strict";n.d(t,{I6:function(){return c}});var r=n(74978),o=n(92819),i=n(67592);const c=(0,r.UY)({connectUrls:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.R9?(0,o.assign)({},t.initialState.externalServicesConnectUrls):e}})},55449:function(e,t,n){"use strict";n(19570)},90218:function(e,t,n){"use strict";n.d(t,{I6:function(){return r.I6}});n(55449);var r=n(68054)},68054:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});n(65736);var r=n(74978),o=n(92819),i=(n(67643),n(67592));n(30701),n(17752),n(88872),n(41147),n(61744);const c=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return(0,o.union)(e,t)},a=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.s6:case i.jb:return(0,o.assign)({},e,t.data);case i.XU:{const n=(0,o.mergeWith)({},e,{selectedRecommendations:[t.slug],skippedRecommendations:[]},c);return n.skippedRecommendations=(0,o.difference)(e.skippedRecommendations,[t.slug]),n}case i.y$:{const n=(0,o.mergeWith)({},e,{selectedRecommendations:[],skippedRecommendations:[t.slug]},c);return n.selectedRecommendations=(0,o.difference)(e.selectedRecommendations,[t.slug]),n}default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.qU:return(0,o.assign)({},e,{isFetchingRecommendationsData:!0});case i.s6:return(0,o.assign)({},e,{isRecommendationsDataLoaded:!0,isFetchingRecommendationsData:!1});case i.z1:return(0,o.assign)({},e,{isFetchingRecommendationsData:!1});case i.Nk:return(0,o.assign)({},e,{isFetchingRecommendationsProductSuggestions:!0});case i.qY:case i.zD:return(0,o.assign)({},e,{isFetchingRecommendationsProductSuggestions:!1});case i.IZ:return(0,o.assign)({},e,{isFetchingRecommendationsUpsell:!0});case i.lh:case i.fX:return(0,o.assign)({},e,{isFetchingRecommendationsUpsell:!1});default:return e}},step:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return t.type===i.x1?t.step:e},upsell:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.lh:case i.fX:return t.upsell;default:return e}},productSuggestions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.qY:case i.zD:return t.productSuggestions;default:return e}}})},11681:function(e,t,n){"use strict";var r=n(74978),o=n(31008),i=n(67643),c=n(50046),a=n(6861),s=n(71565),u=n(89238),l=n(93036),f=n(91172),p=n(40054),d=n(79367),g=n(46023),y=n(90218),h=n(79782),m=n(5606),v=n(7053),E=n(36965),_=n(17881),b=n(76719),S=n(82765),w=n(83097),C=n(50093),T=n(36900),O=n(88584);const A=(0,r.UY)({connection:a.I6,dashboard:c.sI,devCard:s.I6,initialState:i.E3,jetpackNotices:l.I6,modules:f.I6,plans:u.I,pluginsData:p.I6,products:d.I6,publicize:g.I6,recommendations:y.I6,rewind:h.I6,scan:m.I6,search:v.I6,settings:E.I6,siteData:_.I6,siteProducts:b.I6,siteVerify:S.I6,disconnectSurvey:w.I6,trackingSettings:C.I6,mobile:T.I6,licensing:O.I6});t.Z=(0,r.UY)({globalNotices:o.x,jetpack:A})},594:function(e,t,n){"use strict";var r=n(74978),o=n(53126),i=n(11681);t.Z=(0,r.qC)((0,r.md)(o.Z),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)(r.MT)(i.Z)},35922:function(e,t,n){"use strict";n(19570)},30701:function(e,t,n){"use strict";n(79782),n(35922)},79782:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(74978),o=n(92819),i=n(67592);const c={isFetchingRewindStatus:!1},a=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Dg:return(0,o.assign)({},e,{status:t.status});case i.Yk:return(0,o.assign)({},e,{status:t.rewindState});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.it:return(0,o.assign)({},e,{isFetchingRewindStatus:!0});case i.Dg:case i.ml:return(0,o.assign)({},e,{isFetchingRewindStatus:!1});default:return e}}})},5606:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(74978),o=n(92819),i=n(67592);const c={isFetchingScanStatus:!1},a=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.N9:return(0,o.assign)({},e,{status:t.status});case i.M0:return{status:{...e.status,...t.scanState}};default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.fe:return(0,o.assign)({},e,{isFetchingScanStatus:!0});case i.N9:case i.vr:return(0,o.assign)({},e,{isFetchingScanStatus:!1});default:return e}}})},7053:function(e,t,n){"use strict";n.d(t,{I6:function(){return i}});n(92819);var r=n(74978),o=n(67592);const i=(0,r.UY)({searchTerm:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return t.type===o.Fc?t.term:e}})},39772:function(e,t,n){"use strict";n(92819),n(65736),n(21094),n(93107),n(19570)},17752:function(e,t,n){"use strict";n(36965),n(39772)},36965:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(74978),o=n(92819),i=n(67592);const c={fetchingSettingsList:!1,settingsSent:{},updatedSettings:{}},a=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R9:return(0,o.assign)({},e,t.initialState.settings);case i.dS:return(0,o.assign)({},t.settings);case i.jH:const n=Object.keys(t.updatedOption)[0];return(0,o.assign)({},e,{[n]:t.updatedOption[n]});case i.FL:return(0,o.assign)({},e,t.updatedOptions);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.JA:return(0,o.assign)({},e,{fetchingSettingsList:!0});case i.rY:case i.dS:return(0,o.assign)({},e,{fetchingSettingsList:!1});case i.q4:case i.BX:return(0,o.merge)({},e,{settingsSent:(0,o.mapValues)(t.updatedOptions,(()=>!0))});case i.QF:case i.jH:case i.gY:case i.FL:return(0,o.merge)({},e,{settingsSent:(0,o.mapValues)(t.updatedOptions,(()=>!1)),updatedSettings:(0,o.mapValues)(t.updatedOptions,(()=>Boolean(t.success)))});default:return e}},unsavedSettingsFlag:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Ns:return!0;case i.TI:return!1;default:return e}}})},76719:function(e,t,n){"use strict";n.d(t,{I6:function(){return i}});var r=n(74978),o=n(67592);const i=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.QD?t.siteProducts:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.Pp:return{...e,isFetching:!0};case o.QD:case o.hz:return{...e,isFetching:!1};default:return e}}})},82765:function(e,t,n){"use strict";n.d(t,{I6:function(){return c}});var r=n(74978),o=n(92819),i=n(67592);const c=(0,r.UY)({google:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fetching:!1,verifying:!1,verified:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.$F:return(0,o.assign)({},e,{fetching:!0});case i.b6:return(0,o.assign)({},e,{fetching:!1,error:t.error});case i.cz:return(0,o.assign)({},e,{fetching:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,token:t.token,error:null});case i.$d:return(0,o.assign)({},e,{verifying:!0});case i.s9:return(0,o.assign)({},e,{verifying:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,error:null});case i.km:return(0,o.assign)({},e,{verifying:!1,verified:!1,error:t.error});default:return e}}})},74424:function(e,t,n){"use strict";n(19570)},88872:function(e,t,n){"use strict";n(17881),n(74424)},36583:function(e,t,n){"use strict";n(19570)},61744:function(e,t,n){"use strict";n(40054),n(36583)},40054:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(92819),o=n(74978),i=n(67592);const c={isFetchingPluginsData:!1},a=(0,o.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.XP?(0,r.assign)({},t.pluginsData):e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Qm:return(0,r.assign)({},e,{isFetchingPluginsData:!0});case i.K0:case i.XP:return(0,r.assign)({},e,{isFetchingPluginsData:!1});default:return e}}})},17881:function(e,t,n){"use strict";n.d(t,{I6:function(){return s}});var r=n(74978),o=n(92819),i=n(65736),c=(n(81200),n(67592));const __=i.__,a={isFetchingSiteData:!1},s=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.fH:return(0,o.assign)({},e,t.siteData);case c.nD:return(0,o.merge)({},e,{site:{benefits:t.siteBenefits}});case c.ar:return(0,o.merge)({},e,{site:{connectedPlugins:t.connectedPlugins}});case c.VN:return(0,o.merge)({},e,{site:{features:t.siteFeatures}});case c.lt:return(0,o.merge)({},e,{sitePlans:t.plans});case c.Ep:return(0,o.merge)({},e,{sitePurchases:t.purchases});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.rQ:return(0,o.assign)({},e,{isFetchingSiteData:!0});case c.Mg:return(0,o.assign)({},e,{isFetchingSiteBenefits:!0});case c.a8:return(0,o.assign)({},e,{isFetchingConnectedPlugins:!0});case c.Vl:return(0,o.assign)({},e,{isFetchingSiteFeatures:!0});case c.Fe:return(0,o.assign)({},e,{isFetchingSitePlans:!0});case c.Ab:return(0,o.assign)({},e,{isFetchingSitePurchases:!0});case c.l9:case c.fH:return(0,o.assign)({},e,{isFetchingSiteData:!1});case c.rw:case c.nD:return(0,o.assign)({},e,{isFetchingSiteBenefits:!1});case c.TR:case c.ar:return(0,o.assign)({},e,{isFetchingConnectedPlugins:!1,isDoneFetchingConnectedPlugins:!0});case c.g9:case c.VN:return(0,o.assign)({},e,{isFetchingSiteFeatures:!1});case c.Dz:case c.lt:return(0,o.assign)({},e,{isFetchingSitePlans:!1});case c.zO:case c.Ep:return(0,o.assign)({},e,{isFetchingSitePurchases:!1});default:return e}},errors:function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(r.type===c.l9){switch(r.error.name){case"ApiError":e="reconnect",t=__("There seems to be a problem with your connection to WordPress.com. If the problem persists, try reconnecting.","jetpack");break;case"JsonParseError":e="support",t=__("Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.","jetpack");break;default:e=null,t=__("There seems to be a problem with your website.","jetpack")}return(0,o.assign)({},n,{message:r.error.hasOwnProperty("response")?r.error.response.message:t,action:e,code:r.error.hasOwnProperty("response")?r.error.response.code:"fetch_site_data_fail_other",data:r.error.hasOwnProperty("response")?r.error.response.data:{}})}return n}})},50093:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(92819),o=n(74978),i=n(67592);const c={fetchingTrackingSettings:!1,updatingTrackingSettings:!1},a=(0,o.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.X0:return(0,r.assign)({},e,t.settings);case i.TB:return(0,r.assign)({},e,t.updatedSettings);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.T:return(0,r.assign)({},e,{fetchingTrackingSettings:!0});case i.YD:case i.X0:return(0,r.assign)({},e,{fetchingTrackingSettings:!1});case i.kK:return(0,r.assign)({},e,{updatingTrackingSettings:!0});case i.rA:case i.TB:return(0,r.assign)({},e,{updatingTrackingSettings:!1});default:return e}}})},90922:function(e,t,n){var r=n(55246),o=n(5806);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==o&&"env"in o&&(e=o.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,r.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=r.debug||r.log||(()=>{}),e.exports=n(31967)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},31967:function(e,t,n){var r=n(55246);e.exports=function(e){function t(e){let n,r,i,c=null;function a(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(!a.enabled)return;const i=a,c=Number(new Date),s=c-(n||c);i.diff=s,i.prev=n,i.curr=c,n=c,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let u=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";u++;const o=t.formatters[n];if("function"==typeof o){const t=r[u];e=o.call(i,t),r.splice(u,1),u--}return e})),t.formatArgs.call(i,r);const l=i.log||t.log;l.apply(i,r)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=o,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==c?c:(r!==t.namespaces&&(r=t.namespaces,i=t.enabled(e)),i),set:e=>{c=e}}),"function"==typeof t.init&&t.init(a),a}function o(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){r.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},11311:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},58370:function(e,t,n){"use strict";var r=n(98304),o=n(57372),i=n(32457),c=n(8639);function a(e){return e.call.bind(e)}var s="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,l=a(Object.prototype.toString),f=a(Number.prototype.valueOf),p=a(String.prototype.valueOf),d=a(Boolean.prototype.valueOf);if(s)var g=a(BigInt.prototype.valueOf);if(u)var y=a(Symbol.prototype.valueOf);function h(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function m(e){return"[object Map]"===l(e)}function v(e){return"[object Set]"===l(e)}function E(e){return"[object WeakMap]"===l(e)}function _(e){return"[object WeakSet]"===l(e)}function b(e){return"[object ArrayBuffer]"===l(e)}function S(e){return"undefined"!=typeof ArrayBuffer&&(b.working?b(e):e instanceof ArrayBuffer)}function w(e){return"[object DataView]"===l(e)}function C(e){return"undefined"!=typeof DataView&&(w.working?w(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=o,t.isTypedArray=c,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):c(e)||C(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},m.working="undefined"!=typeof Map&&m(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(m.working?m(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},E.working="undefined"!=typeof WeakMap&&E(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(E.working?E(e):e instanceof WeakMap)},_.working="undefined"!=typeof WeakSet&&_(new WeakSet),t.isWeakSet=function(e){return _(e)},b.working="undefined"!=typeof ArrayBuffer&&b(new ArrayBuffer),t.isArrayBuffer=S,w.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&w(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=C;var T="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===l(e)}function A(e){return void 0!==T&&(void 0===O.working&&(O.working=O(new T)),O.working?O(e):e instanceof T)}function j(e){return h(e,f)}function P(e){return h(e,p)}function k(e){return h(e,d)}function I(e){return s&&h(e,g)}function N(e){return u&&h(e,y)}t.isSharedArrayBuffer=A,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=j,t.isStringObject=P,t.isBooleanObject=k,t.isBigIntObject=I,t.isSymbolObject=N,t.isBoxedPrimitive=function(e){return j(e)||P(e)||k(e)||I(e)||N(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(S(e)||A(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},23333:function(e,t,n){var r=n(5806),o=n(55246),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},c=/%[sdj%]/g;t.format=function(e){if(!_(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,i=String(e).replace(c,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n<o;a=r[++n])v(a)||!w(a)?i+=" "+a:i+=" "+l(a);return i},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?o.trace(n):o.error(n),i=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(r.env.NODE_DEBUG){var u=r.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}function l(e,n){var r={seen:[],stylize:p};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=f),d(r,e,r.depth)}function f(e,t){var n=l.styles[t];return n?"["+l.colors[n][0]+"m"+e+"["+l.colors[n][1]+"m":e}function p(e,t){return e}function d(e,n,r){if(e.customInspect&&n&&O(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return _(o)||(o=d(e,o,r)),o}var i=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(_(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(E(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(v(t))return e.stylize("null","null")}(e,n);if(i)return i;var c=Object.keys(n),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(c);if(e.showHidden&&(c=Object.getOwnPropertyNames(n)),T(n)&&(c.indexOf("message")>=0||c.indexOf("description")>=0))return g(n);if(0===c.length){if(O(n)){var s=n.name?": "+n.name:"";return e.stylize("[Function"+s+"]","special")}if(S(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(C(n))return e.stylize(Date.prototype.toString.call(n),"date");if(T(n))return g(n)}var u,l="",f=!1,p=["{","}"];(h(n)&&(f=!0,p=["[","]"]),O(n))&&(l=" [Function"+(n.name?": "+n.name:"")+"]");return S(n)&&(l=" "+RegExp.prototype.toString.call(n)),C(n)&&(l=" "+Date.prototype.toUTCString.call(n)),T(n)&&(l=" "+g(n)),0!==c.length||f&&0!=n.length?r<0?S(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=f?function(e,t,n,r,o){for(var i=[],c=0,a=t.length;c<a;++c)I(t,String(c))?i.push(y(e,t,n,r,String(c),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(y(e,t,n,r,o,!0))})),i}(e,n,r,a,c):c.map((function(t){return y(e,n,r,a,t,f)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,l,p)):p[0]+l+p[1]}function g(e){return"["+Error.prototype.toString.call(e)+"]"}function y(e,t,n,r,o,i){var c,a,s;if((s=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?a=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(a=e.stylize("[Setter]","special")),I(r,o)||(c="["+o+"]"),a||(e.seen.indexOf(s.value)<0?(a=v(n)?d(e,s.value,null):d(e,s.value,n-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),b(c)){if(i&&o.match(/^\d+$/))return a;(c=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(c=c.substr(1,c.length-2),c=e.stylize(c,"name")):(c=c.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),c=e.stylize(c,"string"))}return c+": "+a}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function v(e){return null===e}function E(e){return"number"==typeof e}function _(e){return"string"==typeof e}function b(e){return void 0===e}function S(e){return w(e)&&"[object RegExp]"===A(e)}function w(e){return"object"==typeof e&&null!==e}function C(e){return w(e)&&"[object Date]"===A(e)}function T(e){return w(e)&&("[object Error]"===A(e)||e instanceof Error)}function O(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function j(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);o.error("%s %d: %s",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(58370),t.isArray=h,t.isBoolean=m,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=E,t.isString=_,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=S,t.types.isRegExp=S,t.isObject=w,t.isDate=C,t.types.isDate=C,t.isError=T,t.types.isNativeError=T,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(11311);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(){var e=new Date,t=[j(e.getHours()),j(e.getMinutes()),j(e.getSeconds())].join(":");return[e.getDate(),P[e.getMonth()],t].join(" ")}function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){o.log("%s - %s",k(),t.format.apply(t,arguments))},t.inherits=n(59503),t._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function F(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t;if("function"!=typeof(t=e[N]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,o)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),N&&Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=N,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var o=t.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,c=function(){return o.apply(i,arguments)};e.apply(this,t).then((function(e){r.nextTick(c.bind(null,null,e))}),(function(e){r.nextTick(F.bind(null,e,c))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},32457:function(e,t,n){"use strict";var r=n(49478),o=n(87331),i=n(16422),c=i("Object.prototype.toString"),a=n(77828)(),s="undefined"==typeof globalThis?window:globalThis,u=o(),l=i("String.prototype.slice"),f={},p=n(61787),d=Object.getPrototypeOf;a&&p&&d&&r(u,(function(e){if("function"==typeof s[e]){var t=new s[e];if(Symbol.toStringTag in t){var n=d(t),r=p(n,Symbol.toStringTag);if(!r){var o=d(n);r=p(o,Symbol.toStringTag)}f[e]=r.get}}}));var g=n(8639);e.exports=function(e){return!!g(e)&&(a&&Symbol.toStringTag in e?function(e){var t=!1;return r(f,(function(n,r){if(!t)try{var o=n.call(e);o===r&&(t=o)}catch(e){}})),t}(e):l(c(e),8,-1))}},62042:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},90724:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},92787:function(e){"use strict";if(void 0==={consumer_slug:"jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack"}},99196:function(e){"use strict";e.exports=window.React},91850:function(e){"use strict";e.exports=window.ReactDOM},92819:function(e){"use strict";e.exports=window.lodash},55609:function(e){"use strict";e.exports=window.wp.components},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n},96483:function(e){"use strict";e.exports=window.wp.url},87331:function(e){"use strict";var t=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],n="undefined"==typeof globalThis?window:globalThis;e.exports=function(){for(var e=[],r=0;r<t.length;r++)"function"==typeof n[t[r]]&&(e[e.length]=t[r]);return e}},61787:function(e,t,n){"use strict";var r=n(25165)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},25303:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},40988:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},71446:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(99112);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},5343:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},99112:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),function(){"use strict";var e=n(91850),t=n.n(e),r=n(99196),o=n.n(r),i=n(2620),c=n(594),a=n(60265);function s(){const e=document.getElementById("jetpack-plugin-portal-app");t().render(o().createElement(i.zt,{store:c.Z},o().createElement(a.Z,null)),e)}"loading"!==document.readyState?s():document.addEventListener("DOMContentLoaded",(()=>{s()}))}()}(); \ No newline at end of file
+!function(){var e={7692:function(e,t,n){"use strict";var r=n(3801),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function a(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var o=f(n);o&&o!==g&&e(t,o,r)}var i=l(n);d&&(i=i.concat(d(n)));for(var s=a(t),m=a(n),h=0;h<i.length;++h){var _=i[h];if(!(c[_]||r&&r[_]||m&&m[_]||s&&s[_])){var y=p(n,_);try{u(t,_,y)}catch(e){}}}}return t}},6172:function(){},2202:function(){},2741:function(){},8043:function(){},3171:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,c=7*o,i=365.25*o;function s(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,a){a=a||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"weeks":case"week":case"w":return a*c;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===u&&isFinite(e))return a.long?function(e){var c=Math.abs(e);if(c>=o)return s(e,c,o,"day");if(c>=r)return s(e,c,r,"hour");if(c>=n)return s(e,c,n,"minute");if(c>=t)return s(e,c,t,"second");return e+" ms"}(e):function(e){var c=Math.abs(e);if(c>=o)return Math.round(e/o)+"d";if(c>=r)return Math.round(e/r)+"h";if(c>=n)return Math.round(e/n)+"m";if(c>=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))}},469:function(e,t,n){"use strict";var r=n(758);function o(){}function c(){}c.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,c,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:c,resetWarningCache:o};return n.PropTypes=n,n}},5162:function(e,t,n){e.exports=n(469)()},758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7556:function(e,t,n){"use strict";var r=n(3713);function o(){}function c(){}c.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,c,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:c,resetWarningCache:o};return n.PropTypes=n,n}},5844:function(e,t,n){e.exports=n(7556)()},3713:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8922:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,c=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,a=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,_=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,E=n?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case d:case c:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case h:case m:case a:return e;default:return t}}case o:return t}}}function b(e){return C(e)===d}t.AsyncMode=l,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=a,t.Element=r,t.ForwardRef=p,t.Fragment=c,t.Lazy=h,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return b(e)||C(e)===l},t.isConcurrentMode=b,t.isContextConsumer=function(e){return C(e)===u},t.isContextProvider=function(e){return C(e)===a},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return C(e)===p},t.isFragment=function(e){return C(e)===c},t.isLazy=function(e){return C(e)===h},t.isMemo=function(e){return C(e)===m},t.isPortal=function(e){return C(e)===o},t.isProfiler=function(e){return C(e)===s},t.isStrictMode=function(e){return C(e)===i},t.isSuspense=function(e){return C(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===c||e===d||e===s||e===i||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===E||e.$$typeof===_)},t.typeOf=C},3801:function(e,t,n){"use strict";e.exports=n(8922)},4223:function(e,t){"use strict";var n=60103,r=60106,o=60107,c=60108,i=60114,s=60109,a=60110,u=60112,l=60113,d=60120,p=60115,f=60116,g=60121,m=60122,h=60117,_=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var v=Symbol.for;n=v("react.element"),r=v("react.portal"),o=v("react.fragment"),c=v("react.strict_mode"),i=v("react.profiler"),s=v("react.provider"),a=v("react.context"),u=v("react.forward_ref"),l=v("react.suspense"),d=v("react.suspense_list"),p=v("react.memo"),f=v("react.lazy"),g=v("react.block"),m=v("react.server.block"),h=v("react.fundamental"),_=v("react.debug_trace_mode"),y=v("react.legacy_hidden")}function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case i:case c:case l:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case f:case p:case s:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return E(e)===a}},1637:function(e,t,n){"use strict";e.exports=n(4223)},373:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(9196),o=n.n(r)().createContext(null)},1290:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(373),i=n(5053),s=n(999);t.Z=function(e){var t=e.store,n=e.context,a=e.children,u=(0,r.useMemo)((function(){var e=(0,i.X)(t);return{store:t,subscription:e}}),[t]),l=(0,r.useMemo)((function(){return t.getState()}),[t]);(0,s.L)((function(){var e=u.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[u,l]);var d=n||c.E;return o().createElement(d.Provider,{value:u},a)}},5642:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(255),o=n(7921),c=n(7692),i=n.n(c),s=n(9196),a=n.n(s),u=n(1637),l=n(5053),d=n(999),p=n(373),f=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],g=["reactReduxForwardedRef"],m=[],h=[null,null];function _(e,t){var n=e[1];return[t.payload,n+1]}function y(e,t,n){(0,d.L)((function(){return e.apply(void 0,t)}),n)}function v(e,t,n,r,o,c,i){e.current=r,t.current=o,n.current=!1,c.current&&(c.current=null,i())}function E(e,t,n,r,o,c,i,s,a,u){if(e){var l=!1,d=null,p=function(){if(!l){var e,n,p=t.getState();try{e=r(p,o.current)}catch(e){n=e,d=e}n||(d=null),e===c.current?i.current||a():(c.current=e,s.current=e,i.current=!0,u({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var C=function(){return[null,0]};function b(e,t){void 0===t&&(t={});var n=t,c=n.getDisplayName,d=void 0===c?function(e){return"ConnectAdvanced("+e+")"}:c,b=n.methodName,k=void 0===b?"connectAdvanced":b,w=n.renderCountProp,S=void 0===w?void 0:w,j=n.shouldHandleStateChanges,P=void 0===j||j,O=n.storeKey,T=void 0===O?"store":O,N=(n.withRef,n.forwardRef),I=void 0!==N&&N,F=n.context,A=void 0===F?p.E:F,D=(0,o.Z)(n,f),x=A;return function(t){var n=t.displayName||t.name||"Component",c=d(n),p=(0,r.Z)({},D,{getDisplayName:d,methodName:k,renderCountProp:S,shouldHandleStateChanges:P,storeKey:T,displayName:c,wrappedComponentName:n,WrappedComponent:t}),f=D.pure;var b=f?s.useMemo:function(e){return e()};function w(n){var c=(0,s.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,o.Z)(n,g);return[n.context,e,t]}),[n]),i=c[0],d=c[1],f=c[2],k=(0,s.useMemo)((function(){return i&&i.Consumer&&(0,u.isContextConsumer)(a().createElement(i.Consumer,null))?i:x}),[i,x]),w=(0,s.useContext)(k),S=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(w)&&Boolean(w.store);var j=S?n.store:w.store,O=(0,s.useMemo)((function(){return function(t){return e(t.dispatch,p)}(j)}),[j]),T=(0,s.useMemo)((function(){if(!P)return h;var e=(0,l.X)(j,S?null:w.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[j,S,w]),N=T[0],I=T[1],F=(0,s.useMemo)((function(){return S?w:(0,r.Z)({},w,{subscription:N})}),[S,w,N]),A=(0,s.useReducer)(_,m,C),D=A[0][0],U=A[1];if(D&&D.error)throw D.error;var $=(0,s.useRef)(),R=(0,s.useRef)(f),L=(0,s.useRef)(),Z=(0,s.useRef)(!1),J=b((function(){return L.current&&f===R.current?L.current:O(j.getState(),f)}),[j,D,f]);y(v,[R,$,Z,f,J,L,I]),y(E,[P,j,N,O,R,$,Z,L,I,U],[j,N,O]);var M=(0,s.useMemo)((function(){return a().createElement(t,(0,r.Z)({},J,{ref:d}))}),[d,t,J]);return(0,s.useMemo)((function(){return P?a().createElement(k.Provider,{value:F},M):M}),[k,M,F])}var j=f?a().memo(w):w;if(j.WrappedComponent=t,j.displayName=w.displayName=c,I){var O=a().forwardRef((function(e,t){return a().createElement(j,(0,r.Z)({},e,{reactReduxForwardedRef:t}))}));return O.displayName=c,O.WrappedComponent=t,i()(O,t)}return i()(j,t)}}},1479:function(e,t,n){"use strict";var r=n(255),o=n(7921),c=n(5642),i=n(8588),s=n(2320),a=n(2004),u=n(4769),l=n(8164),d=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function p(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function f(e,t){return e===t}function g(e){var t=void 0===e?{}:e,n=t.connectHOC,g=void 0===n?c.Z:n,m=t.mapStateToPropsFactories,h=void 0===m?a.ZP:m,_=t.mapDispatchToPropsFactories,y=void 0===_?s.ZP:_,v=t.mergePropsFactories,E=void 0===v?u.ZP:v,C=t.selectorFactory,b=void 0===C?l.ZP:C;return function(e,t,n,c){void 0===c&&(c={});var s=c,a=s.pure,u=void 0===a||a,l=s.areStatesEqual,m=void 0===l?f:l,_=s.areOwnPropsEqual,v=void 0===_?i.Z:_,C=s.areStatePropsEqual,k=void 0===C?i.Z:C,w=s.areMergedPropsEqual,S=void 0===w?i.Z:w,j=(0,o.Z)(s,d),P=p(e,h,"mapStateToProps"),O=p(t,y,"mapDispatchToProps"),T=p(n,E,"mergeProps");return g(b,(0,r.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:P,initMapDispatchToProps:O,initMergeProps:T,pure:u,areStatesEqual:m,areOwnPropsEqual:v,areStatePropsEqual:k,areMergedPropsEqual:S},j))}}t.Z=g()},2320:function(e,t,n){"use strict";var r=n(7059),o=n(278);t.ZP=[function(e){return"function"==typeof e?(0,o.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,o.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,o.dX)((function(t){return(0,r.Z)(e,t)})):void 0}]},2004:function(e,t,n){"use strict";var r=n(278);t.ZP=[function(e){return"function"==typeof e?(0,r.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,r.dX)((function(){return{}}))}]},4769:function(e,t,n){"use strict";var r=n(255);function o(e,t,n){return(0,r.Z)({},n,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,c=n.areMergedPropsEqual,i=!1;return function(t,n,s){var a=e(t,n,s);return i?o&&c(a,r)||(r=a):(i=!0,r=a),r}}}(e):void 0},function(e){return e?void 0:function(){return o}}]},8164:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s}});var r=n(7921),o=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function c(e,t,n,r){return function(o,c){return n(e(o,c),t(r,c),c)}}function i(e,t,n,r,o){var c,i,s,a,u,l=o.areStatesEqual,d=o.areOwnPropsEqual,p=o.areStatePropsEqual,f=!1;function g(o,f){var g,m,h=!d(f,i),_=!l(o,c);return c=o,i=f,h&&_?(s=e(c,i),t.dependsOnOwnProps&&(a=t(r,i)),u=n(s,a,i)):h?(e.dependsOnOwnProps&&(s=e(c,i)),t.dependsOnOwnProps&&(a=t(r,i)),u=n(s,a,i)):_?(g=e(c,i),m=!p(g,s),s=g,m&&(u=n(s,a,i)),u):u}return function(o,l){return f?g(o,l):(s=e(c=o,i=l),a=t(r,i),u=n(s,a,i),f=!0,u)}}function s(e,t){var n=t.initMapStateToProps,s=t.initMapDispatchToProps,a=t.initMergeProps,u=(0,r.Z)(t,o),l=n(e,u),d=s(e,u),p=a(e,u);return(u.pure?i:c)(l,d,p,e,u)}},278:function(e,t,n){"use strict";function r(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function c(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var c=r(t,n);return"function"==typeof c&&(r.mapToProps=c,r.dependsOnOwnProps=o(c),c=r(t,n)),c},r}}n.d(t,{dX:function(){return r},xv:function(){return c}})},1654:function(e,t,n){"use strict";n.d(t,{$j:function(){return o.Z},zt:function(){return r.Z}});var r=n(1290),o=(n(5642),n(373),n(1479));n(7518),n(8882),n(6271)},7518:function(e,t,n){"use strict";n(373),n(6271)},2830:function(e,t,n){"use strict";n(9196),n(373)},8882:function(e,t,n){"use strict";n(9196),n(2830),n(5053),n(999),n(373)},6271:function(e,t,n){"use strict";n(9196),n(373),n(2830)},9309:function(e,t,n){"use strict";n.d(t,{$j:function(){return r.$j},zt:function(){return r.zt}});var r=n(1654),o=n(9523);(0,n(2935).F)(o.m)},5053:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});var r=n(2935);var o={notify:function(){},get:function(){return[]}};function c(e,t){var n,c=o;function i(){a.onStateChange&&a.onStateChange()}function s(){var o,s,a;n||(n=t?t.addNestedSub(i):e.subscribe(i),o=(0,r.k)(),s=null,a=null,c={clear:function(){s=null,a=null},notify:function(){o((function(){for(var e=s;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=s;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=a={callback:e,next:null,prev:a};return n.prev?n.prev.next=n:s=n,function(){t&&null!==s&&(t=!1,n.next?n.next.prev=n.prev:a=n.prev,n.prev?n.prev.next=n.next:s=n.next)}}})}var a={addNestedSub:function(e){return s(),c.subscribe(e)},notifyNestedSubs:function(){c.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:s,tryUnsubscribe:function(){n&&(n(),n=void 0,c.clear(),c=o)},getListeners:function(){return c}};return a}},2935:function(e,t,n){"use strict";n.d(t,{F:function(){return o},k:function(){return c}});var r=function(e){e()},o=function(e){return r=e},c=function(){return r}},7059:function(e,t,n){"use strict";function r(e,t){var n={},r=function(r){var o=e[r];"function"==typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}n.d(t,{Z:function(){return r}})},9523:function(e,t,n){"use strict";n.d(t,{m:function(){return r.unstable_batchedUpdates}});var r=n(1850)},8588:function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var c=0;c<n.length;c++)if(!Object.prototype.hasOwnProperty.call(t,n[c])||!r(e[n[c]],t[n[c]]))return!1;return!0}n.d(t,{Z:function(){return o}})},999:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(9196),o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect},5385:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var r=n();r.withExtraArgument=n,t.Z=r},835:function(e,t,n){"use strict";n.d(t,{MT:function(){return s},UY:function(){return u},md:function(){return g},qC:function(){return f}});var r=n(407),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function s(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(s)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var a=e,u=t,l=[],d=l,p=!1;function f(){d===l&&(d=l.slice())}function g(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return u}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return f(),d.push(e),function(){if(t){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,f();var n=d.indexOf(e);d.splice(n,1),l=null}}}function h(e){if(!i(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,u=a(u,e)}finally{p=!1}for(var t=l=d,n=0;n<t.length;n++){(0,t[n])()}return e}function _(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");a=e,h({type:c.REPLACE})}function y(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[r.Z]=function(){return this},e}return h({type:c.INIT}),(o={dispatch:h,subscribe:m,getState:g,replaceReducer:_})[r.Z]=y,o}function a(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var i,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:c.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+c.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},c=0;c<s.length;c++){var u=s[c],l=n[u],d=e[u],p=l(d,t);if(void 0===p){var f=a(u,t);throw new Error(f)}o[u]=p,r=r||p!==d}return(r=r||s.length!==Object.keys(e).length)?o:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},c=t.map((function(e){return e(o)}));return p({},n,{dispatch:r=f.apply(void 0,c)(n.dispatch)})}}}},407:function(e,t,n){"use strict";var r,o=n(7148);e=n.hmd(e),r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var c=(0,o.Z)(r);t.Z=c},7148:function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,{Z:function(){return r}})},6975:function(e,t,n){"use strict";var r=n(1128),o=n.n(r),c=n(2819);const i=o()("dops:analytics");let s,a;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const u={initialize:function(e,t,n){u.setUser(e,t),u.setSuperProps(n),u.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){a={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=(0,c.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]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);u.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]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);u.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){u.tracks.recordPageView(e),u.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,o,c,i){u.ga.recordPurchase(e,t,n,r,o,c,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=(0,c.assign)(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};u.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){u.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};u.ga.initialized||(a&&(e={userId:"u-"+a.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),u.ga.initialized=!0)},recordPageView:function(e,t){u.ga.initialize(),i("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){u.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),i(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,o,c,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:c}),window.ga("ecommerce:send")}},identifyUser:function(){a&&window._tkq.push(["identifyUser",a.ID,a.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=u},4743:function(e,t,n){"use strict";var r=n(2819),o=n(6483),c=n(1132);function i(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const s=i("JsonParseError"),a=i("JsonParseAfterRedirectError"),u=i("Api404Error"),l=i("Api404AfterRedirectError"),d=i("FetchNetworkError");const p=new function(e,t){let n=e,i={"X-WP-Nonce":t},s={credentials:"same-origin",headers:i},a={method:"post",credentials:"same-origin",headers:(0,r.assign)({},i,{"Content-type":"application/json"})},u=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 l={setApiRoot(e){n=e},setApiNonce(e){i={"X-WP-Nonce":e},s={credentials:"same-origin",headers:i},a={method:"post",credentials:"same-origin",headers:(0,r.assign)({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,c.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,c.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),p(`${n}jetpack/v4/connection/register`,a,{body:JSON.stringify(r)}).then(f).then(g)},fetchAuthorizationUrl:e=>d((0,o.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),s).then(f).then(g),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,s).then(g),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,s).then(g),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,s).then(f).then(g),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,s).then(g),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,s).then(f).then(g),updateUserTrackingSettings:e=>p(`${n}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(f).then(g),disconnectSite:()=>p(`${n}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(f).then(g),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,s).then(f).then(g),unlinkUser:()=>p(`${n}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(f).then(g),reconnect:()=>p(`${n}jetpack/v4/connection/reconnect`,a).then(f).then(g),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,s).then(f).then(g),setHasSeenWCConnectionModal:()=>p(`${n}jetpack/v4/seen-wc-connection-modal`,a).then(f).then(g),fetchModules:()=>d(`${n}jetpack/v4/module/all`,s).then(f).then(g),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,s).then(f).then(g),activateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(f).then(g),deactivateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>p(`${n}jetpack/v4/module/${e}`,a,{body:JSON.stringify(t)}).then(f).then(g),updateSettings:e=>p(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(f).then(g),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,s).then(f).then(g),resetOptions:e=>p(`${n}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(f).then(g),activateVaultPress:()=>p(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(f).then(g),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,s).then(f).then(g),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),p(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify(r)}).then(f).then(g)},activateAkismet:()=>p(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(f).then(g),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,s).then(f).then(g),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,s).then(f).then(g),checkAkismetKeyTyped:e=>p(`${n}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(f).then(g),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),s).then(f).then(g).then(m),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,s).then(f).then(g),getPlans:()=>d(`${n}jetpack/v4/plans`,s).then(f).then(g),fetchSettings:()=>d(`${n}jetpack/v4/settings`,s).then(f).then(g),updateSetting:e=>p(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(f).then(g),fetchSiteData:()=>d(`${n}jetpack/v4/site`,s).then(f).then(g).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,s).then(f).then(g).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,s).then(f).then(g),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,s).then(f).then(g).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,s).then(f).then(g).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${n}jetpack/v4/site/discount`,s).then(f).then(g).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,s).then(f).then(g),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,s).then(f).then(g),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,s).then(f).then(g),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,s).then(f).then(g),fetchRecommendationsConditional:()=>d(`${n}jetpack/v4/recommendations/conditional`,s).then(f).then(g),saveRecommendationsData:e=>p(`${n}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(f),fetchProducts:()=>d(`${n}jetpack/v4/products`,s).then(f).then(g),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,s).then(f).then(g).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,s).then(f).then(g).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>p(`${n}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(f).then(g),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,s).then(f).then(g),fetchIntroOffers:()=>d(`${n}jetpack/v4/intro-offers`,s).then(f).then(g),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,s).then(f).then(g),verifySiteGoogle:e=>p(`${n}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(f).then(g),sendMobileLoginEmail:()=>p(`${n}jetpack/v4/mobile/send-login-email`,a).then(f).then(g),submitSurvey:e=>p(`${n}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(f).then(g),saveSetupQuestionnaire:e=>p(`${n}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(f).then(g),updateLicensingError:e=>p(`${n}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(f).then(g),updateLicenseKey:e=>p(`${n}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(f).then(g),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,s).then(f).then(g),getUserLicenses:()=>d(`${n}jetpack/v4/licensing/user/licenses`,s).then(f).then(g),updateLicensingActivationNoticeDismiss:e=>p(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(f).then(g),updateRecommendationsStep:e=>p(`${n}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(f),confirmIDCSafeMode:()=>p(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(f),startIDCFresh:e=>p(`${n}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(f).then(g),migrateIDC:()=>p(`${n}jetpack/v4/identity-crisis/migrate`,a).then(f),attachLicenses:e=>p(`${n}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(f).then(g),fetchSearchPlanInfo:()=>d(`${n}jetpack/v4/search/plan`,s).then(f).then(g),fetchSearchSettings:()=>d(`${n}jetpack/v4/search/settings`,s).then(f).then(g),updateSearchSettings:e=>p(`${n}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(f).then(g),fetchSearchStats:()=>d(`${n}jetpack/v4/search/stats`,s).then(f).then(g),fetchWafSettings:()=>d(`${n}jetpack/v4/waf`,s).then(f).then(g),fetchWordAdsSettings:()=>d(`${n}jetpack/v4/wordads/settings`,s).then(f).then(g),updateWordAdsSettings:e=>p(`${n}jetpack/v4/wordads/settings`,a,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${n}jetpack/v4/search/pricing`,s).then(f).then(g)};function d(e,t){return fetch(u(e),t)}function p(e,t,n){return fetch(e,(0,r.assign)({},t,n)).catch(h)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,r.assign)(this,l)};function f(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new u})):e.json().catch((e=>m(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function g(e){return e.json().catch((t=>m(t,e.redirected,e.url)))}function m(e,t,n){throw t?new a(n):new s}function h(){throw new d}t.ZP=p},1133:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(5844),i=n.n(c);n(6172);const s=e=>{const{format:t,icon:n,imageUrl:r}=e;return o().createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},o().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:r?`url( ${r} )`:""}}),o().createElement("div",{className:"jp-components__decorative-card__content"},o().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(n)return o().createElement("div",{className:"jp-components__decorative-card__icon-container"},o().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n}))})())};s.propTypes={format:i().oneOf(["horizontal","vertical"]),icon:i().oneOf(["unlink"]),imageUrl:i().string},s.defaultProps={format:"horizontal"},t.Z=s},6324:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;var o;"undefined"!=typeof window&&(r=null===(o=window.Initial_State)||void 0===o?void 0:o.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const c=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+c}n.d(t,{Z:function(){return r}})},1132:function(e,t,n){let r={};try{r=n(2787)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const o=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:o,jetpackConfigGet:e=>{if(!o(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]}}},7879:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(5844),i=n.n(c),s=n(5736),a=n(4322);const __=s.__,u=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,c=(0,r.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&c.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},c.map((e=>o().createElement(a.Z,{title:e.name,key:e.slug}))))):null};u.propTypes={connectedPlugins:i().array,disconnectingPlugin:i().string},t.Z=u},4322:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(5844),i=n.n(c);n(2202);const s=e=>{const{title:t,value:n,description:r}=e;return o().createElement("div",{className:"jp-connection__disconnect-card card"},o().createElement("div",{className:"jp-connection__disconnect-card__card-content"},o().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||r)&&o().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},o().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),o().createElement("div",{className:"jp-connection__disconnect-card__card-description"},r))))};s.propTypes={title:i().string,value:i().oneOfType([i().string,i().number]),description:i().number},t.Z=s},6168:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(5844),i=n.n(c),s=n(5736),a=n(5609),u=n(4743),l=n(6975),d=n(1132),p=(n(2741),n(9015)),f=n(5995),g=n(1702),m=n(1166);const __=s.__,h=e=>{const[t,n]=(0,r.useState)(!1),[c,i]=(0,r.useState)(!1),[s,h]=(0,r.useState)(!1),[_,y]=(0,r.useState)(!1),[v,E]=(0,r.useState)(!1),[C,b]=(0,r.useState)(!1),{apiRoot:k,apiNonce:w,connectedPlugins:S,title:j,pluginScreenDisconnectCallback:P,onDisconnected:O,onError:T,disconnectStepComponent:N,context:I,connectedUser:F,connectedSiteId:A,isOpen:D,onClose:x}=e;let U="";(0,d.jetpackConfigHas)("consumer_slug")&&(U=(0,d.jetpackConfigGet)("consumer_slug"));const $=(0,r.useMemo)((()=>({context:I,plugin:U})),[I,U]);(0,r.useEffect)((()=>{u.ZP.setApiRoot(k),u.ZP.setApiNonce(w)}),[k,w]),(0,r.useEffect)((()=>{F&&F.ID&&F.login&&l.Z.initialize(F.ID,F.login)}),[F,F.ID,F.login]),(0,r.useEffect)((()=>{D&&l.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",$)}),[D,$]),(0,r.useEffect)((()=>{D&&(c?!c||_||v?_&&!v?l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},$)):v&&l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},$)):l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},$)):l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},$)))}),[D,c,_,v,$]);const R=(0,r.useCallback)((()=>{u.ZP.disconnectSite().then((()=>{n(!1),i(!0)})).catch((e=>{n(!1),h(e),T&&T(e)}))}),[n,i,h,T]),L=(0,r.useCallback)(((e,t)=>{b(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);l.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),E(!0),b(!1)})).catch((e=>{l.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),E(!0),b(!1)}))}),[b,E]),Z=(0,r.useCallback)((e=>{e&&e.preventDefault(),h(!1),n(!0),"plugins"!==I?R():P&&P(e)}),[h,n,P,I,R]),J=(0,r.useCallback)((e=>l.Z.tracks.recordEvent(e,$)),[$]),M=(0,r.useCallback)((()=>F.ID&&A),[F,A]),H=(0,r.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!M())return void E(!0);const r={site_id:A,user_id:F.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},o=Object.assign({},$,{disconnect_reason:e});L(r,o)}),[L,E,M,A,F,$]),B=(0,r.useCallback)((e=>{e&&e.preventDefault(),O&&O(),x()}),[O,x]),K=(0,r.useCallback)((e=>{e&&e.preventDefault(),y(!0)}),[y]);return o().createElement(o().Fragment,null,D&&o().createElement(a.Modal,{title:"",contentLabel:j,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:x,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(c?" jp-connection__disconnect-dialog__success":"")},c?!c||_||v?_&&!v?o().createElement(g.Z,{isSubmittingFeedback:C,onFeedBackProvided:H,onExit:B}):v?o().createElement(m.Z,{onExit:B}):void 0:o().createElement(f.Z,{canProvideFeedback:M(),onProvideFeedback:K,onExit:B}):o().createElement(p.Z,{title:j,connectedPlugins:S,disconnectStepComponent:N,isDisconnecting:t,closeModal:x,onDisconnect:Z,disconnectError:s,context:I,disconnectingPlugin:U,trackModalClick:J})))};h.propTypes={apiRoot:i().string.isRequired,apiNonce:i().string.isRequired,title:i().string,onDisconnected:i().func,onError:i().func,context:i().string,connectedPlugins:i().oneOfType([i().array,i().object]),pluginScreenDisconnectCallback:i().func,disconnectStepComponent:i().element,connectedUser:i().object,connectedSiteId:i().number,isOpen:i().bool,onClose:i().func},h.defaultProps={title:__("Are you sure you want to disconnect?","jetpack"),context:"jetpack-dashboard",connectedUser:{}},t.Z=h},5995:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(5844),i=n.n(c),s=n(9307),a=n(5736),u=n(5609),l=n(1133),d=n(2042);const __=a.__,p=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:r}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(l.Z,{icon:"unlink",imageUrl:d}),o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},o().createElement("h1",null,(0,s.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack"),{br:o().createElement("br",null)})),n&&o().createElement(o().Fragment,null,o().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack")),o().createElement("p",null,o().createElement(u.Button,{variant:"primary",onClick:r,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack"))),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack"))),!n&&o().createElement(o().Fragment,null,o().createElement("p",null,o().createElement(u.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))))};p.propTypes={onExit:i().func,onProvideFeedback:i().func,canProvideFeedback:i().bool},t.Z=p},9015:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(9307),i=n(5736),s=n(6324),a=n(5609),u=n(5844),l=n.n(u),d=n(7879);const __=i.__,p=e=>{const{title:t,isDisconnecting:n,onDisconnect:i,disconnectError:u,disconnectStepComponent:l,connectedPlugins:p,disconnectingPlugin:f,closeModal:g,context:m,trackModalClick:h}=e,_=(0,r.useCallback)((()=>h("jetpack_disconnect_dialog_click_learn_about")),[h]),y=(0,r.useCallback)((()=>h("jetpack_disconnect_dialog_click_support")),[h]),v=(0,r.useCallback)((()=>{h("jetpack_disconnect_dialog_click_stay_connected"),g()}),[h,g]),E=(0,r.useCallback)((e=>{h("jetpack_disconnect_dialog_click_disconnect"),i(e)}),[h,i]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),o().createElement(d.Z,{connectedPlugins:p,disconnectingPlugin:f}),l,(()=>{if(!(p&&Object.keys(p).filter((e=>e!==f)).length)&&!l)return o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack"),o().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack")))})()),o().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},o().createElement("div",{className:"jp-row"},o().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},o().createElement("p",null,(0,c.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack"),{strong:o().createElement("strong",null),jpConnectionInfoLink:o().createElement("a",{href:(0,s.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:_}),jpSupportLink:o().createElement("a",{href:(0,s.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:y})}))),o().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},o().createElement(a.Button,{variant:"primary",disabled:n,onClick:v,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===m?__("Cancel","jetpack"):__("Stay connected","jetpack",0)),(()=>{let e=__("Disconnect","jetpack");return n?e=__("Disconnecting…","jetpack"):"plugins"===m&&(e=__("Deactivate","jetpack")),o().createElement(a.Button,{variant:"primary",disabled:n,onClick:E,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),u&&o().createElement("p",{className:"jp-connection__disconnect-dialog__error"},u)))};p.propTypes={title:l().string,isDisconnecting:l().bool,onDisconnect:l().func,disconnectError:l().bool,disconnectStepComponent:l().elementType,connectedPlugins:l().array,disconnectingPlugin:l().string,closeModal:l().func,context:l().string,trackModalClick:l().func},t.Z=p},1702:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(5844),i=n.n(c),s=n(5736),a=(n(8043),n(6336));const __=s.__,u=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:r}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack")),o().createElement(a.Z,{onSubmit:n,isSubmittingFeedback:r}),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack")))};u.PropTypes={onExit:i().func,onFeedBackProvided:i().func,isSubmittingFeedback:i().bool},t.Z=u},1166:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(5844),i=n.n(c),s=n(1133),a=n(5736),u=n(5609),l=n(9307),d=n(724);const __=a.__,p=e=>{const{onExit:t}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(s.Z,{format:"vertical",imageUrl:d}),o().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},o().createElement("h1",null,__("Thank you!","jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,l.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack"),{br:o().createElement("br",null)})),o().createElement(u.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))};p.PropTypes={onExit:i().func,assetBaseUrl:i().string},t.Z=p},6336:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(5844),i=n.n(c),s=n(5609),a=n(5736),u=n(4372);const __=a.__,l=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[c,i]=(0,r.useState)(),[a,l]=(0,r.useState)(),d=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack")}],p="another-reason",f=(0,r.useCallback)((()=>{t(c,c===p?a:"")}),[t,p,a,c]),g=(0,r.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),l(t)}),[l]),m=e=>e===c?"jp-connect__disconnect-survey-card--selected":"",h=(0,r.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":i(e)}}),[i]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},d.map((e=>o().createElement(u.Z,{id:e.id,onClick:i,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+m(e.id)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),o().createElement(u.Z,{id:p,onClick:i,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+m(p)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack")," ",o().createElement("input",{placeholder:__("share your experience","jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:a,onChange:g,maxLength:1e3})))),o().createElement("p",null,o().createElement(s.Button,{disabled:!c||n,variant:"primary",onClick:f,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack"):__("Submit Feedback","jetpack",0))))};l.PropTypes={onSubmit:i().func,isSubmittingFeedback:i().bool},t.Z=l},4372:function(e,t,n){"use strict";var r=n(9196),o=n.n(r);n(8043);t.Z=e=>{const{id:t,onClick:n,onKeyDown:c,children:i,className:s}=e,a=(0,r.useCallback)((()=>{n(t)}),[t,n]),u=(0,r.useCallback)((e=>{c(t,e)}),[t,c]);return o().createElement("div",{tabIndex:"0",role:"button",onClick:a,onKeyDown:u,className:"card jp-connect__disconnect-survey-card "+s},i)}},5901:function(e,t,n){"use strict";n.d(t,{m:function(){return o},o:function(){return r}});const r="NEW_NOTICE",o="REMOVE_NOTICE"},1549:function(e,t,n){"use strict";var r=n(2819),o=n(5901);function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const c={noticeId:n.id||(0,r.uniqueId)(),duration:n.duration,showDismiss:"boolean"!=typeof n.showDismiss||n.showDismiss,isPersistent:n.isPersistent||!1,displayOnNextPage:n.displayOnNextPage||!1,status:e,text:t};return{type:o.o,notice:c}}c.bind(null,"is-success"),c.bind(null,"is-error"),c.bind(null,"is-info"),c.bind(null,"is-warning")},3929:function(e,t,n){"use strict";n.d(t,{x:function(){return c}});var r=n(835),o=n(5901);function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.o:return[t.notice,...e];case o.m:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,r.UY)({globalNotices:c})},6165:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(4322),i=n(9307),s=n(5609),a=n(5736),u=n(6324),l=n(5162),d=n.n(l);const __=a.__,p=e=>{const{siteBenefits:t,context:n}=e;return o().createElement(o().Fragment,null,t.length>0&&o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},"disconnect"===n?__("Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.","jetpack"):__("Jetpack is currently powering features on your site. Once you deactivate Jetpack, these features will no longer be available.","jetpack",0))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},t.map((e=>{let{value:t,description:n,title:r}=e;return o().createElement(c.Z,{title:r,value:t,description:n})})))),t.length<=2&&o().createElement("div",{className:"jetpack-benefits__general-benefits-section"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack has many powerful tools that can help you achieve your goals","jetpack")),o().createElement("ul",{className:"jetpack-benefits__general-benefits-list"},o().createElement("li",{key:"reason-cdn"},(0,i.createInterpolateElement)(__("Speed up your site and provide mobile-ready images with <ExternalLink>our CDN</ExternalLink>","jetpack"),{ExternalLink:o().createElement(s.ExternalLink,{href:(0,u.Z)("jetpack-features-design-content-delivery-network"),rel:"noopener noreferrer",target:"_blank"})})),o().createElement("li",{key:"reason-brute-force"},(0,i.createInterpolateElement)(__("Block <ExternalLink>brute force attacks</ExternalLink> and get immediate notifications if your site is down","jetpack"),{ExternalLink:o().createElement(s.ExternalLink,{href:(0,u.Z)("jetpack-features-security"),rel:"noopener noreferrer",target:"_blank"})})),o().createElement("li",{key:"reason-social"},(0,i.createInterpolateElement)(__("Grow your traffic with automated social <ExternalLink>publishing and sharing</ExternalLink>","jetpack"),{ExternalLink:o().createElement(s.ExternalLink,{href:(0,u.Z)("jetpack-support-social"),rel:"noopener noreferrer",target:"_blank"})})))))};p.propTypes={siteBenefits:d().array,context:d().oneOf(["disconnect","deactivate"])},p.defaultProps={context:"disconnect"},t.Z=p},9584:function(e,t,n){"use strict";n(2819)},5289:function(e,t,n){"use strict";var r=n(9196),o=n.n(r),c=n(9309),i=n(5736),s=n(9422),a=n(9508),u=n(3002),l=n(6300),d=n(4743),p=n(6168),f=n(6165);const __=i.__;t.Z=(0,c.$j)((e=>({apiRoot:(0,a.yB)(e),apiNonce:(0,a.VY)(e),connectedPlugins:(0,u.H0)(e),siteBenefits:(0,u.nq)(e),connectionUserData:(0,l.tN)(e)})),(e=>({fetchConnectedPlugins:()=>e((0,u.tG)()),fetchSiteBenefits:()=>e((0,u.IO)()),fetchUserConnectionData:()=>e((0,l.jb)())})))((e=>{const{apiRoot:t,apiNonce:n,siteBenefits:c,connectionUserData:i,fetchSiteBenefits:a,fetchUserConnectionData:u}=e,[l,g]=(0,r.useState)(!1);(0,r.useEffect)((()=>{a(),u()}),[a,u]);const m=document.querySelector("#deactivate-jetpack, #deactivate-jetpack-dev");m.setAttribute("title",__("Deactivate Jetpack","jetpack")),(0,r.useEffect)((()=>{d.ZP.setApiRoot(t),d.ZP.setApiNonce(n)}),[t,n]);const h=(0,r.useCallback)((()=>{g(!l)}),[g,l]),_=(0,r.useCallback)((e=>{e.preventDefault(),h()}),[h]);(0,r.useEffect)((()=>(m.addEventListener("click",_),()=>{m.removeEventListener("click",_)})),[m,_]);const y=(0,r.useCallback)((()=>{window.location.href=m.getAttribute("href")}),[m]),v=c?o().createElement(f.Z,{siteBenefits:c,context:"deactivate"}):null;return o().createElement(s.Z,null,o().createElement(p.Z,{title:__("Are you sure you want to deactivate?","jetpack"),apiRoot:t,apiNonce:n,connectedPlugins:[],connectedUser:{ID:null==i?void 0:i.ID,login:null==i?void 0:i.login},context:"plugins",isOpen:l,onClose:h,pluginScreenDisconnectCallback:y,disconnectStepComponent:v}))}))},9422:function(e,t,n){"use strict";var r=n(1850),o=n.n(r),c=n(9196),i=n.n(c);const s=document.getElementById("jetpack-plugin-portal-sidecar");class a extends i().Component{constructor(e){super(e),this.portalNode=document.createElement("div")}componentDidMount(){s.appendChild(this.portalNode)}componentWillUnmount(){s.removeChild(this.portalNode)}render(){return o().createPortal(this.props.children,this.portalNode)}}t.Z=a},1975:function(e,t,n){"use strict";n.d(t,{AAZ:function(){return d},Abu:function(){return te},B9W:function(){return E},BVO:function(){return u},CD3:function(){return T},Dze:function(){return ee},EpE:function(){return ne},Few:function(){return X},Gu5:function(){return P},Hyl:function(){return F},I3o:function(){return k},IWc:function(){return p},J1y:function(){return s},Jyr:function(){return j},K0Z:function(){return ie},Lao:function(){return N},Lon:function(){return I},Mg3:function(){return H},MoW:function(){return f},QmL:function(){return oe},R99:function(){return r},TRY:function(){return U},Tip:function(){return q},U7H:function(){return a},UyH:function(){return c},VN$:function(){return z},VlO:function(){return G},XPw:function(){return ce},a8A:function(){return D},arb:function(){return se},arr:function(){return x},bGw:function(){return y},dDV:function(){return g},fHq:function(){return J},g9Z:function(){return Y},gat:function(){return $},hF6:function(){return ae},hmP:function(){return i},i7L:function(){return R},ien:function(){return l},ikp:function(){return L},jEk:function(){return C},jtr:function(){return ue},kFt:function(){return b},l94:function(){return M},lLu:function(){return V},lje:function(){return m},ltp:function(){return Q},maF:function(){return A},n2G:function(){return S},nDB:function(){return B},o2S:function(){return h},pmE:function(){return W},q7G:function(){return o},rQ4:function(){return Z},rwn:function(){return K},sG3:function(){return w},sO1:function(){return v},xkZ:function(){return O},ybW:function(){return _},zOX:function(){return re}});const r="JETPACK_SET_INITIAL_STATE",o="CONNECT_URL_FETCH",c="CONNECT_URL_FETCH_FAIL",i="CONNECT_URL_FETCH_SUCCESS",s="DISCONNECT_SITE",a="DISCONNECT_SITE_FAIL",u="DISCONNECT_SITE_SUCCESS",l="CONNECT_USER",d="RESET_CONNECT_USER",p="UNLINK_USER",f="UNLINK_USER_FAIL",g="UNLINK_USER_SUCCESS",m="USER_CONNECTION_DATA_FETCH",h="USER_CONNECTION_DATA_FETCH_FAIL",_="USER_CONNECTION_DATA_FETCH_SUCCESS",y="SITE_RECONNECT",v="SITE_RECONNECT_SUCCESS",E="SITE_RECONNECT_FAIL",C="JETPACK_MODULES_LIST_FETCH",b="JETPACK_MODULES_LIST_FETCH_FAIL",k="JETPACK_MODULES_LIST_RECEIVE",w="JETPACK_MODULE_ACTIVATE",S="JETPACK_MODULE_ACTIVATE_SUCCESS",j="JETPACK_MODULE_ACTIVATE_FAIL",P="JETPACK_MODULE_DEACTIVATE",O="JETPACK_MODULE_DEACTIVATE_FAIL",T="JETPACK_MODULE_DEACTIVATE_SUCCESS",N="JETPACK_MODULE_UPDATE_OPTIONS",I="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",F="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",A="JETPACK_CONNECTION_STATUS_FETCH",D="JETPACK_SITE_CONNECTED_PLUGINS_FETCH",x="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_RECEIVE",U="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_FAIL",$="JETPACK_PRODUCTS_FETCH",R="JETPACK_PRODUCTS_FETCH_RECEIVE",L="JETPACK_PRODUCTS_FETCH_FAIL",Z="JETPACK_SITE_DATA_FETCH",J="JETPACK_SITE_DATA_FETCH_RECEIVE",M="JETPACK_SITE_DATA_FETCH_FAIL",H="JETPACK_SITE_BENEFITS_FETCH",B="JETPACK_SITE_BENEFITS_FETCH_RECEIVE",K="JETPACK_SITE_BENEFITS_FETCH_FAIL",q="JETPACK_SITE_DISCOUNT_FETCH",V="JETPACK_SITE_DISCOUNT_FETCH_RECEIVE",W="JETPACK_SITE_DISCOUNT_FETCH_FAIL",G="JETPACK_SITE_FEATURES_FETCH",z="JETPACK_SITE_FEATURES_FETCH_RECEIVE",Y="JETPACK_SITE_FEATURES_FETCH_FAIL",X="JETPACK_SITE_PLANS_FETCH",Q="JETPACK_SITE_PLANS_FETCH_RECEIVE",ee="JETPACK_SITE_PLANS_FETCH_FAIL",te="JETPACK_SITE_PURCHASES_FETCH",ne="JETPACK_SITE_PURCHASES_FETCH_RECEIVE",re="JETPACK_SITE_PURCHASES_FETCH_FAIL",oe="JETPACK_PLUGINS_DATA_FETCH",ce="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",ie="JETPACK_PLUGINS_DATA_FETCH_FAIL",se="SET_PLAN_DURATION",ae="MOCK_SWITCH_USER_PERMISSIONS",ue="JETPACK_CONNECTION_HAS_SEEN_WC_CONNECTION_MODAL"},5274:function(e,t,n){"use strict";n.d(t,{jb:function(){return c}});n(5736),n(1549);var r=n(1975),o=n(4743);const c=()=>e=>(e({type:r.lje}),o.ZP.fetchUserConnectionData().then((t=>{e({type:r.ybW,userConnectionData:t})})).catch((t=>{e({type:r.o2S,error:t})})))},6300:function(e,t,n){"use strict";n.d(t,{jb:function(){return o.jb},tN:function(){return r.tN}});var r=n(3480),o=n(5274)},3480:function(e,t,n){"use strict";n.d(t,{I6:function(){return s},tN:function(){return a}});var r=n(835),o=n(2819),c=n(1975);n(416);const i={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},s=(0,r.UY)({connectUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.R99:return(0,o.get)(t,"initialState.connectUrl",e);case c.hmP:return t.connectUrl;default:return e}},status:function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{siteConnected:window.Initial_State.connectionStatus},r=arguments.length>1?arguments[1]:void 0;switch(r.type){case c.maF:case c.BVO:return(0,o.assign)({},n,{siteConnected:r.siteConnected});case c.dDV:return(0,o.assign)({},n,{siteConnected:{...n.siteConnected,isUserConnected:!1}});case c.ybW:return!0===(null===(e=r.userConnectionData)||void 0===e||null===(t=e.currentUser)||void 0===t?void 0:t.isConnected)?(0,o.assign)({},n,{siteConnected:{...n.siteConnected,hasConnectedOwner:!0}}):n;default:return n}},user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.userData||{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.ybW:return(0,o.assign)({},e,t.userConnectionData);case c.dDV:const n=(0,o.assign)({},e.currentUser,{isConnected:!1});return(0,o.assign)({},e,{currentUser:n});case c.hF6:return(0,o.merge)({},e,t.initialState);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.J1y:return(0,o.assign)({},e,{disconnectingSite:!0});case c.IWc:return(0,o.assign)({},e,{unlinkingUser:!0});case c.ien:return(0,o.assign)({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel});case c.AAZ:return(0,o.assign)({},e,{connectingUser:!1});case c.q7G:return(0,o.assign)({},e,{fetchingConnectUrl:!0});case c.lje:return(0,o.assign)({},e,{fetchingUserData:!0});case c.bGw:return(0,o.assign)({},e,{reconnectingSite:!0});case c.U7H:case c.BVO:return(0,o.assign)({},e,{disconnectingSite:!1});case c.MoW:case c.dDV:return(0,o.assign)({},e,{unlinkingUser:!1});case c.UyH:case c.hmP:return(0,o.assign)({},e,{fetchingConnectUrl:!1});case c.o2S:case c.ybW:return(0,o.assign)({},e,{fetchingUserData:!1});case c.B9W:case c.sO1:return(0,o.assign)({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.hasSeenWCConnectionModal||!1,t=arguments.length>1?arguments[1]:void 0;return t.type===c.jtr||e}});function a(e){var t;return null===(t=e.jetpack.connection.user.currentUser)||void 0===t?void 0:t.wpcomUser}},9508:function(e,t,n){"use strict";n.d(t,{VY:function(){return r.VY},yB:function(){return r.yB}});var r=n(4761)},4761:function(e,t,n){"use strict";n.d(t,{E3:function(){return c},VY:function(){return i},yB:function(){return s}});var r=n(2819),o=n(1975);n(5207),n(4884),n(6300);const c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.R99:return(0,r.assign)({},e,t.initialState);case o.hF6:return(0,r.merge)({},e,{userData:t.initialState});default:return e}};function i(e){return(0,r.get)(e.jetpack.initialState,"WP_API_nonce")}function s(e){return(0,r.get)(e.jetpack.initialState,"WP_API_root")}},8654:function(e,t,n){"use strict";n(2819),n(5736),n(1549),n(2586),n(4743)},416:function(e,t,n){"use strict";n(2586),n(8654)},2586:function(e,t,n){"use strict";var r=n(835),o=n(2819),c=n(1975);n(1372);const i={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}};(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.R99:return(0,o.assign)({},t.initialState.getModules);case c.I3o:return(0,o.assign)({},e,t.modules);case c.n2G:return(0,o.assign)({},e,{[t.module]:(0,o.assign)({},e[t.module],{activated:!0})});case c.CD3:return(0,o.assign)({},e,{[t.module]:(0,o.assign)({},e[t.module],{activated:!1})});case c.Hyl:const n=(0,o.assign)({},e[t.module]);return Object.keys(t.newOptionValues).forEach((e=>{n.options[e].current_value=t.newOptionValues[e]})),(0,o.assign)({},e,{[t.module]:n});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.jEk:return(0,o.assign)({},e,{fetchingModulesList:!0});case c.kFt:case c.I3o:return(0,o.assign)({},e,{fetchingModulesList:!1});case c.sG3:return(0,o.assign)({},e,{activating:(0,o.assign)({},e.activating,{[t.module]:!0})});case c.Jyr:case c.n2G:return(0,o.assign)({},e,{activating:(0,o.assign)({},e.activating,{[t.module]:!1})});case c.Gu5:return(0,o.assign)({},e,{deactivating:(0,o.assign)({},e.deactivating,{[t.module]:!0})});case c.xkZ:case c.CD3:return(0,o.assign)({},e,{deactivating:(0,o.assign)({},e.deactivating,{[t.module]:!1})});case c.Lao:const n=(0,o.assign)({},e.updatingOption);return n[t.module]=(0,o.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((e=>{n[t.module][e]=!0})),(0,o.assign)({},e,{updatingOption:(0,o.assign)({},e.updatingOption,n)});case c.Lon:case c.Hyl:const r=(0,o.assign)({},e.updatingOption);return r[t.module]=(0,o.assign)({},r[t.module]),Object.keys(t.newOptionValues).forEach((e=>{r[t.module][e]=!1})),(0,o.assign)({},e,{updatingOption:(0,o.assign)({},e.updatingOption,r)});default:return e}}})},5207:function(e,t,n){"use strict";var r=n(835),o=n(1975);(0,r.UY)({duration:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yearly",t=arguments.length>1?arguments[1]:void 0;return t.type===o.arb?t.duration:e}})},1886:function(e,t,n){"use strict";n(4743)},4884:function(e,t,n){"use strict";n(1679),n(1886)},1679:function(e,t,n){"use strict";var r=n(2819),o=n(835),c=n(1975);(0,o.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.i7L?t.products:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.gat:return(0,r.assign)({},e,{isFetchingProducts:!0});case c.i7L:case c.ikp:return(0,r.assign)({},e,{isFetchingProducts:!1});default:return e}}})},8626:function(e,t,n){"use strict";var r=n(835),o=n(3929),c=n(4761),i=n(3480),s=n(6876);const a=(0,r.UY)({initialState:c.E3,connection:i.I6,siteData:s.I6});t.Z=(0,r.UY)({globalNotices:o.x,jetpack:a})},8923:function(e,t,n){"use strict";var r=n(835),o=n(5385),c=n(8626);t.Z=(0,r.qC)((0,r.md)(o.Z),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)(r.MT)(c.Z)},7619:function(e,t,n){"use strict";n.d(t,{IO:function(){return c},tG:function(){return i}});var r=n(1975),o=n(4743);const c=()=>e=>(e({type:r.Mg3}),o.ZP.fetchSiteBenefits().then((t=>{e({type:r.nDB,siteBenefits:t})})).catch((t=>{e({type:r.rwn,error:t})}))),i=()=>e=>(e({type:r.a8A}),o.ZP.fetchConnectedPlugins().then((t=>(e({type:r.arr,connectedPlugins:t}),t))).catch((t=>{e({type:r.TRY,error:t})})))},3002:function(e,t,n){"use strict";n.d(t,{H0:function(){return r.H0},IO:function(){return o.IO},nq:function(){return r.nq},tG:function(){return o.tG}});var r=n(6876),o=n(7619)},213:function(e,t,n){"use strict";n(4743)},1372:function(e,t,n){"use strict";n(71),n(213)},71:function(e,t,n){"use strict";var r=n(2819),o=n(835),c=n(1975);const i={isFetchingPluginsData:!1};(0,o.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.XPw?(0,r.assign)({},t.pluginsData):e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.QmL:return(0,r.assign)({},e,{isFetchingPluginsData:!0});case c.K0Z:case c.XPw:return(0,r.assign)({},e,{isFetchingPluginsData:!1});default:return e}}})},6876:function(e,t,n){"use strict";n.d(t,{H0:function(){return l},I6:function(){return a},nq:function(){return u}});var r=n(835),o=n(2819),c=n(5736),i=(n(9584),n(1975));const __=c.__,s={isFetchingSiteData:!1},a=(0,r.UY)({data:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case i.fHq:return(0,o.assign)({},t,n.siteData);case i.nDB:return(0,o.merge)({},t,{site:{benefits:n.siteBenefits}});case i.lLu:if(null!==(e=n.siteDiscount)&&void 0!==e&&e.code)return(0,o.merge)({},t,{site:{discount:n.siteDiscount}});case i.arr:return(0,o.merge)({},t,{site:{connectedPlugins:n.connectedPlugins}});case i.VN$:return(0,o.merge)({},t,{site:{features:n.siteFeatures}});case i.ltp:return(0,o.merge)({},t,{sitePlans:n.plans});case i.EpE:return(0,o.merge)({},t,{sitePurchases:n.purchases});default:return t}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.rQ4:return(0,o.assign)({},e,{isFetchingSiteData:!0});case i.Mg3:return(0,o.assign)({},e,{isFetchingSiteBenefits:!0});case i.Tip:return(0,o.assign)({},e,{isFetchingSiteDiscount:!0});case i.a8A:return(0,o.assign)({},e,{isFetchingConnectedPlugins:!0});case i.VlO:return(0,o.assign)({},e,{isFetchingSiteFeatures:!0});case i.Few:return(0,o.assign)({},e,{isFetchingSitePlans:!0});case i.Abu:return(0,o.assign)({},e,{isFetchingSitePurchases:!0});case i.l94:case i.fHq:return(0,o.assign)({},e,{isFetchingSiteData:!1});case i.rwn:case i.nDB:return(0,o.assign)({},e,{isFetchingSiteBenefits:!1});case i.pmE:case i.lLu:return(0,o.assign)({},e,{isFetchingSiteDiscount:!1});case i.TRY:case i.arr:return(0,o.assign)({},e,{isFetchingConnectedPlugins:!1,isDoneFetchingConnectedPlugins:!0});case i.g9Z:case i.VN$:return(0,o.assign)({},e,{isFetchingSiteFeatures:!1});case i.Dze:case i.ltp:return(0,o.assign)({},e,{isFetchingSitePlans:!1});case i.zOX:case i.EpE:return(0,o.assign)({},e,{isFetchingSitePurchases:!1});default:return e}},errors:function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(r.type===i.l94){switch(r.error.name){case"ApiError":e="reconnect",t=__("There seems to be a problem with your connection to WordPress.com. If the problem persists, try reconnecting.","jetpack");break;case"JsonParseError":e="support",t=__("Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.","jetpack");break;default:e=null,t=__("There seems to be a problem with your website.","jetpack")}return(0,o.assign)({},n,{message:r.error.hasOwnProperty("response")?r.error.response.message:t,action:e,code:r.error.hasOwnProperty("response")?r.error.response.code:"fetch_site_data_fail_other",data:r.error.hasOwnProperty("response")?r.error.response.data:{}})}return n}});function u(e){return(0,o.get)(e.jetpack.siteData,["data","site","benefits"],null)}function l(e){const t=function(e){return function(e){return!!e.jetpack.siteData.requests.isDoneFetchingConnectedPlugins}(e)?(0,o.get)(e.jetpack.siteData,["data","site","connectedPlugins"],[]).filter((e=>"jetpack"!==e.slug)):null}(e);return t&&t.reduce(((e,t)=>(e[t.slug]={name:t.name},e)),{})}},1128:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(2942)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2942:function(e,t,n){e.exports=function(e){function t(e){let n,o,c,i=null;function s(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(!s.enabled)return;const c=s,i=Number(new Date),a=i-(n||i);c.diff=a,c.prev=n,c.curr=i,n=i,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let u=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";u++;const o=t.formatters[n];if("function"==typeof o){const t=r[u];e=o.call(c,t),r.splice(u,1),u--}return e})),t.formatArgs.call(c,r);const l=c.log||t.log;l.apply(c,r)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,c=t.enabled(e)),c),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(3171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},2042:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},2787:function(e){"use strict";if(void 0==={consumer_slug:"jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack"}},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},5609:function(e){"use strict";e.exports=window.wp.components},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},6483:function(e){"use strict";e.exports=window.wp.url},255:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},7921:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var c=t[r]={id:r,loaded:!1,exports:{}};return e[r](c,c.exports,n),c.loaded=!0,c.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),function(){"use strict";var e=n(1850),t=n.n(e),r=n(9196),o=n.n(r),c=n(9309),i=n(8923),s=n(5289);function a(){const e=document.getElementById("jetpack-plugin-portal-app");t().render(o().createElement(c.zt,{store:i.Z},o().createElement(s.Z,null)),e)}"loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",(()=>{a()}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/plugins-page.js.LICENSE.txt b/plugins/jetpack/_inc/build/plugins-page.js.LICENSE.txt
index 424474e0..21010121 100644
--- a/plugins/jetpack/_inc/build/plugins-page.js.LICENSE.txt
+++ b/plugins/jetpack/_inc/build/plugins-page.js.LICENSE.txt
@@ -1,11 +1,13 @@
-/*!
- * The buffer module from node.js, for the browser.
+/** @license React v16.13.1
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
*
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
- * @license MIT
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
*/
-/** @license React v16.13.1
+/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
diff --git a/plugins/jetpack/_inc/build/plugins-page.rtl.css b/plugins/jetpack/_inc/build/plugins-page.rtl.css
index ed2cc54b..3078a2bb 100644
--- a/plugins/jetpack/_inc/build/plugins-page.rtl.css
+++ b/plugins/jetpack/_inc/build/plugins-page.rtl.css
@@ -1 +1 @@
-.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-right:1.25rem;text-align:right;width:100%}.jp-connection__disconnect-card{background-color:#fff;border:none;border-radius:3px;box-shadow:0 0 15px #e2e2df;margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:right;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-left:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:left}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-left:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:0;margin-right:1rem}}.jp-connection__disconnect-dialog h1{font-size:24px;font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:24px;font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:16px;margin-top:0}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:#000;text-decoration-thickness:2px}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:#000}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:#f9f9f6;border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:#fff;border-top:1px solid #dcdcde;bottom:0;padding:2rem 0;position:-webkit-sticky;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(180deg,transparent,#f9f9f6);bottom:calc(100% + 1px);content:"";display:block;height:80px;position:absolute;right:0;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:#000!important;margin-left:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:#d63639!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:#000!important}.jp-connection__disconnect-dialog__button-wrap{text-align:right}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:#d63639}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:36px}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-right:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px #dcdcde;display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:#dcdcde;background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;position:absolute;right:24px;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:#d63639;border-radius:50px;height:80px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 24px 16px 64px;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;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px #e2e2df;margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:right;width:800px}.jp-connect__disconnect-survey-card--selected{background:#e2e2df;border-color:#000}.jp-connect__disconnect-survey-card:after{border-left:2px solid #000;border-top:2px solid #000;content:"";display:block;height:5px;left:1.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:#2c3338}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:#2c3338;flex-grow:1;max-width:calc(100% - 40px);padding-left:40px} \ No newline at end of file
+.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-right:1.25rem;text-align:right;width:100%}.jp-connection__disconnect-card{background-color:#fff;border:none;border-radius:3px;box-shadow:0 0 15px #e2e2df;margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:right;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-left:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:left}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-left:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:0;margin-right:1rem}}.jp-connection__disconnect-dialog h1{font-size:24px;font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:24px;font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:16px;margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:#000;font-size:16px;font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:#000;text-decoration-thickness:2px}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:#000}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:#f9f9f6;border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:#fff;border-top:1px solid #dcdcde;bottom:0;padding:2rem 0;position:-webkit-sticky;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(180deg,transparent,#f9f9f6);bottom:calc(100% + 1px);content:"";display:block;height:80px;position:absolute;right:0;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:#000!important;margin-left:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:#d63639!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:#000!important}.jp-connection__disconnect-dialog__button-wrap{text-align:right}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:#d63639}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:36px}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-right:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px #dcdcde;display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:#dcdcde;background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;position:absolute;right:24px;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:#d63639;border-radius:50px;height:80px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 24px 16px 64px;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;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px #e2e2df;margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:right;width:800px}.jp-connect__disconnect-survey-card--selected{background:#e2e2df;border-color:#000}.jp-connect__disconnect-survey-card:after{border-left:2px solid #000;border-top:2px solid #000;content:"";display:block;height:5px;left:1.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:#2c3338}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:#2c3338;flex-grow:1;max-width:calc(100% - 40px);padding-left:40px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/polldaddy-shortcode.min.asset.php b/plugins/jetpack/_inc/build/polldaddy-shortcode.min.asset.php
index b0cd1063..e90df74c 100644
--- a/plugins/jetpack/_inc/build/polldaddy-shortcode.min.asset.php
+++ b/plugins/jetpack/_inc/build/polldaddy-shortcode.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'd83654b089888e5f2758f8b1aecfdbe8'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '10b19964b6428cc5755a');
diff --git a/plugins/jetpack/_inc/build/postmessage.min.js b/plugins/jetpack/_inc/build/postmessage.min.js
deleted file mode 100644
index ae926057..00000000
--- a/plugins/jetpack/_inc/build/postmessage.min.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/**
- The MIT License
-
- Copyright (c) 2010 Daniel Park (http://metaweb.com, http://postmessage.freebaseapps.com)
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
- **/
-var NO_JQUERY={};!function(e,t,a){if(!("console"in e)){var n=e.console={};n.log=n.warn=n.error=n.debug=function(){}}t===NO_JQUERY&&(t={fn:{},extend:function(){for(var e=arguments[0],t=1,a=arguments.length;t<a;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}}),t.fn.pm=function(){return console.log("usage: \nto send: $.pm(options)\nto receive: $.pm.bind(type, fn, [origin])"),this},t.pm=e.pm=function(e){r.send(e)},t.pm.bind=e.pm.bind=function(e,t,a,n,s){r.bind(e,t,a,n,!0===s)},t.pm.unbind=e.pm.unbind=function(e,t){r.unbind(e,t)},t.pm.origin=e.pm.origin=null,t.pm.poll=e.pm.poll=200;var r={send:function(e){var a=t.extend({},r.defaults,e),n=a.target;if(a.target)if(a.type){var s={data:a.data,type:a.type};a.success&&(s.callback=r._callback(a.success)),a.error&&(s.errback=r._callback(a.error)),"postMessage"in n&&!a.hash?(r._bind(),n.postMessage(JSON.stringify(s),a.origin||"*")):(r.hash._bind(),r.hash.send(a,s))}else console.warn("postmessage type required");else console.warn("postmessage target window required")},bind:function(e,t,a,n,s){r._replyBind(e,t,a,n,s)},_replyBind:function(a,n,s,o,i){"postMessage"in e&&!o?r._bind():r.hash._bind();var u=r.data("listeners.postmessage");u||(u={},r.data("listeners.postmessage",u));var c=u[a];c||(c=[],u[a]=c),c.push({fn:n,callback:i,origin:s||t.pm.origin})},unbind:function(e,t){var a=r.data("listeners.postmessage");if(a)if(e)if(t){var n=a[e];if(n){for(var s=[],o=0,i=n.length;o<i;o++){var u=n[o];u.fn!==t&&s.push(u)}a[e]=s}}else delete a[e];else for(var o in a)delete a[o]},data:function(e,t){return void 0===t?r._data[e]:(r._data[e]=t,t)},_data:{},_CHARS:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),_random:function(){for(var e=[],t=0;t<32;t++)e[t]=r._CHARS[0|32*Math.random()];return e.join("")},_callback:function(e){var t=r.data("callbacks.postmessage");t||(t={},r.data("callbacks.postmessage",t));var a=r._random();return t[a]=e,a},_bind:function(){r.data("listening.postmessage")||(e.addEventListener?e.addEventListener("message",r._dispatch,!1):e.attachEvent&&e.attachEvent("onmessage",r._dispatch),r.data("listening.postmessage",1))},_dispatch:function(e){try{var t=JSON.parse(e.data)}catch(e){return}if(t.type){var a=(r.data("callbacks.postmessage")||{})[t.type];if(a)a(t.data);else for(var n=(r.data("listeners.postmessage")||{})[t.type]||[],s=0,o=n.length;s<o;s++){var i=n[s];if(i.origin&&"*"!==i.origin&&e.origin!==i.origin){if(console.warn("postmessage message origin mismatch",e.origin,i.origin),t.errback){var u={message:"postmessage origin mismatch",origin:[e.origin,i.origin]};r.send({target:e.source,data:u,type:t.errback})}}else try{i.callback?i.fn(t.data,c,e):c(i.fn(t.data,e))}catch(a){if(!t.errback)throw a;r.send({target:e.source,data:a,type:t.errback})}function c(a){t.callback&&r.send({target:e.source,data:a,type:t.callback})}}}}};r.hash={send:function(t,a){var n=t.target,s=t.url;if(s){s=r.hash._url(s);var o,i=r.hash._url(e.location.href);if(e==n.parent)o="parent";else try{for(var u=0,c=parent.frames.length;u<c;u++){if(parent.frames[u]==e){o=u;break}}}catch(t){o=e.name}if(null!=o){var l={"x-requested-with":"postmessage",source:{name:o,url:i},postmessage:a},f="#x-postmessage-id="+r._random();n.location=s+f+encodeURIComponent(JSON.stringify(l))}else console.warn("postmessage windows must be direct parent/child windows and the child must be available through the parent window.frames list")}else console.warn("postmessage target window url is required")},_regex:/^\#x\-postmessage\-id\=(\w{32})/,_regex_len:"#x-postmessage-id=".length+32,_bind:function(){r.data("polling.postmessage")||(setInterval(function(){var t=""+e.location.hash,a=r.hash._regex.exec(t);if(a){var n=a[1];r.hash._last!==n&&(r.hash._last=n,r.hash._dispatch(t.substring(r.hash._regex_len)))}},t.pm.poll||200),r.data("polling.postmessage",1))},_dispatch:function(t){if(t){try{if(!("postmessage"===(t=JSON.parse(decodeURIComponent(t)))["x-requested-with"]&&t.source&&null!=t.source.name&&t.source.url&&t.postmessage))return}catch(e){return}var a=t.postmessage,n=(r.data("callbacks.postmessage")||{})[a.type];if(n)n(a.data);else{var s;s="parent"===t.source.name?e.parent:e.frames[t.source.name];for(var o=(r.data("listeners.postmessage")||{})[a.type]||[],i=0,u=o.length;i<u;i++){var c=o[i];if(c.origin){var l=/https?\:\/\/[^\/]*/.exec(t.source.url)[0];if("*"!==c.origin&&l!==c.origin){if(console.warn("postmessage message origin mismatch",l,c.origin),a.errback){var f={message:"postmessage origin mismatch",origin:[l,c.origin]};r.send({target:s,data:f,type:a.errback,hash:!0,url:t.source.url})}continue}}function p(e){a.callback&&r.send({target:s,data:e,type:a.callback,hash:!0,url:t.source.url})}try{c.callback?c.fn(a.data,p):p(c.fn(a.data))}catch(e){if(!a.errback)throw e;r.send({target:s,data:e,type:a.errback,hash:!0,url:t.source.url})}}}}},_url:function(e){return(""+e).replace(/#.*$/,"")}},t.extend(r,{defaults:{target:null,url:null,type:null,data:null,success:null,error:null,origin:"*",hash:!1}})}(this,"undefined"==typeof jQuery?NO_JQUERY:jQuery),"JSON"in window&&window.JSON||(JSON={}),function(){function f(e){return e<10?"0"+e:e}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(e){return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var a,n,r,s,o,i=gap,u=t[e];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(e)),"function"==typeof rep&&(u=rep.call(t,e,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,o=[],"[object Array]"===Object.prototype.toString.apply(u)){for(s=u.length,a=0;a<s;a+=1)o[a]=str(a,u)||"null";return r=0===o.length?"[]":gap?"[\n"+gap+o.join(",\n"+gap)+"\n"+i+"]":"["+o.join(",")+"]",gap=i,r}if(rep&&"object"==typeof rep)for(s=rep.length,a=0;a<s;a+=1)"string"==typeof(n=rep[a])&&(r=str(n,u))&&o.push(quote(n)+(gap?": ":":")+r);else for(n in u)Object.hasOwnProperty.call(u,n)&&(r=str(n,u))&&o.push(quote(n)+(gap?": ":":")+r);return r=0===o.length?"{}":gap?"{\n"+gap+o.join(",\n"+gap)+"\n"+i+"}":"{"+o.join(",")+"}",gap=i,r}}"function"!=typeof JSON.stringify&&(JSON.stringify=function(e,t,a){var n;if(gap="",indent="","number"==typeof a)for(n=0;n<a;n+=1)indent+=" ";else"string"==typeof a&&(indent=a);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var a,n,r=e[t];if(r&&"object"==typeof r)for(a in r)Object.hasOwnProperty.call(r,a)&&(void 0!==(n=walk(r,a))?r[a]=n:delete r[a]);return reviver.call(e,t,r)}if(cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/related-posts/related-posts-customizer.min.asset.php b/plugins/jetpack/_inc/build/related-posts/related-posts-customizer.min.asset.php
index 8c40f4f9..df53fa9c 100644
--- a/plugins/jetpack/_inc/build/related-posts/related-posts-customizer.min.asset.php
+++ b/plugins/jetpack/_inc/build/related-posts/related-posts-customizer.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '9c92304d5bc683ae4e05261b3b7c9bf4'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '4a244e2e2831288903ca');
diff --git a/plugins/jetpack/_inc/build/related-posts/related-posts.min.asset.php b/plugins/jetpack/_inc/build/related-posts/related-posts.min.asset.php
index 697704f5..6f844df7 100644
--- a/plugins/jetpack/_inc/build/related-posts/related-posts.min.asset.php
+++ b/plugins/jetpack/_inc/build/related-posts/related-posts.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '4c831b82cc3066530b246b70d8294a81'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '7ba744934ce4ab30e9ac');
diff --git a/plugins/jetpack/_inc/build/scan/admin-bar-notice.min.asset.php b/plugins/jetpack/_inc/build/scan/admin-bar-notice.min.asset.php
index 024d0386..8cdb23f7 100644
--- a/plugins/jetpack/_inc/build/scan/admin-bar-notice.min.asset.php
+++ b/plugins/jetpack/_inc/build/scan/admin-bar-notice.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'a5f0b24424e075824e1aee7b6ae2f520'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '881363cf2672e7623e74');
diff --git a/plugins/jetpack/_inc/build/search-dashboard.asset.php b/plugins/jetpack/_inc/build/search-dashboard.asset.php
deleted file mode 100644
index 65dbd666..00000000
--- a/plugins/jetpack/_inc/build/search-dashboard.asset.php
+++ /dev/null
@@ -1 +0,0 @@
-<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'db9ad6d9d79e48a59a72499fcb57fdf3'); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/search-dashboard.css b/plugins/jetpack/_inc/build/search-dashboard.css
deleted file mode 100644
index 49891d00..00000000
--- a/plugins/jetpack/_inc/build/search-dashboard.css
+++ /dev/null
@@ -1 +0,0 @@
-.dops-popover{font-size:11px;left:0;position:absolute;right:auto;top:0;z-index:1000}.dops-popover .dops-popover__inner{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);position:relative;text-align:center}.dops-popover .dops-popover__arrow{border:10px dashed #d5d5d5;height:0;line-height:0;position:absolute;width:0;z-index:1}.dops-popover.fade{transition:opacity .1s}.dops-popover.is-top-left .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow,.dops-popover.is-top .dops-popover__arrow{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;bottom:0;left:50%;margin-left:-10px}.dops-popover.is-top-left .dops-popover__arrow:before,.dops-popover.is-top-right .dops-popover__arrow:before,.dops-popover.is-top .dops-popover__arrow:before{border:10px solid transparent;border-bottom:none;border-top-color:#fff;bottom:2px;content:" ";left:50%;margin-left:-10px;position:absolute}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-bottom .dops-popover__arrow{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;left:50%;margin-left:-10px;top:0}.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-popover.is-bottom-right .dops-popover__arrow:before,.dops-popover.is-bottom .dops-popover__arrow:before{border:10px solid transparent;border-bottom:10px solid #fff;border-top:none;content:" ";left:50%;margin-left:-10px;position:absolute;top:2px}.dops-popover.is-left-bottom .dops-popover__arrow,.dops-popover.is-left-top .dops-popover__arrow,.dops-popover.is-left .dops-popover__arrow{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent;margin-top:-10px;right:0;top:50%}.dops-popover.is-left-bottom .dops-popover__arrow:before,.dops-popover.is-left-top .dops-popover__arrow:before,.dops-popover.is-left .dops-popover__arrow:before{border:10px solid transparent;border-left:10px solid #fff;border-right:none;content:" ";margin-top:-10px;position:absolute;right:2px;top:50%}.dops-popover.is-right-bottom .dops-popover__arrow,.dops-popover.is-right-top .dops-popover__arrow,.dops-popover.is-right .dops-popover__arrow{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent;left:0;margin-top:-10px;top:50%}.dops-popover.is-right-bottom .dops-popover__arrow:before,.dops-popover.is-right-top .dops-popover__arrow:before,.dops-popover.is-right .dops-popover__arrow:before{border:10px solid transparent;border-left:none;border-right-color:#fff;content:" ";left:2px;margin-top:-10px;position:absolute;top:50%}.dops-popover.is-bottom-left,.dops-popover.is-bottom-right,.dops-popover.is-top-left,.dops-popover.is-top-right{padding-left:0;padding-right:0}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-top-left .dops-popover__arrow{left:auto;right:5px}.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow{left:15px}.dops-popover.is-top-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner,.dops-popover.is-top .dops-popover__inner{top:-10px}.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner{left:-10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-bottom .dops-popover__inner{top:10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-right .dops-popover__inner,.dops-popover.is-top-left .dops-popover__inner{left:10px}.dops-popover.is-dialog-visible{z-index:100300}.dops-popover__menu{display:flex;flex-direction:column;min-width:200px}.dops-popover__menu-item{background:inherit;border:none;border-radius:0;color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;position:relative;text-align:left;transition:all .05s ease-in-out}.dops-popover__menu-item:first-child{margin-top:5px}.dops-popover__menu-item:focus,.dops-popover__menu-item:hover{background-color:#3582c4;border:0;box-shadow:none;color:#fff}.dops-popover__menu-item:focus .gridicon,.dops-popover__menu-item:hover .gridicon{color:#fff}.dops-popover__menu-item[disabled]:focus,.dops-popover__menu-item[disabled]:hover{background:transparent;cursor:default}.dops-popover__menu-item:last-child{margin-bottom:5px}.dops-popover__menu-item::-moz-focus-inner{border:0}.dops-popover__menu-item.has-icon{padding-left:42px}.dops-popover__menu-item .gridicon{color:#bbb;margin-right:8px;vertical-align:bottom}.dops-popover__hr{background:#eee;margin:8px 0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;left:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-left:12px}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{left:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{left:8px}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-right:48px}h2.dops-card-title{font-size:rem(20px)}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;position:absolute;right:16px;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.dops-info-popover-button{background:transparent;border:none;color:#888;padding:0}.dops-info-popover-button:hover{color:#414141}.dops-info-popover-button:focus{box-shadow:none}.dops-accessible-focus .dops-info-popover-button:focus{outline:thin dotted}.dops-info-popover .gridicon{color:#c8c8c8;cursor:pointer}.dops-info-popover .gridicon:hover,.dops-info-popover.is_active .gridicon{color:#414141}.dops-popover.dops-info-popover__tooltip .dops-popover__inner{color:#6f6f6f;font-size:13px;max-width:220px;padding:16px;text-align:left}.dops-external-link .gridicons-external{color:currentColor;margin-left:.5rem;position:relative;top:.125rem}#jp-plugin-container{min-height:100vh}.jp-support-info{position:absolute;right:1.5625rem;top:1.6875rem;z-index:1}@media(max-width:480px){.jp-support-info{right:1rem;top:1.25rem}}.jp-form-fieldset .jp-support-info{top:4px}.jp-support-info .dops-info-popover{white-space:nowrap}.dops-popover .jp-support-info__privacy{border-top:1px solid hsla(0,0%,64%,.5);display:block;margin-top:.875rem;padding-top:.75rem}.dops-button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:.875rem;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top}.dops-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.dops-button:disabled,.dops-button[disabled]{background:#fff;border-color:#eee;color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}.dops-button.is-compact{line-height:2;padding:0 10px}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{margin-top:-8px;top:4px}.dops-button.is-compact .gridicons-plus-small{margin-left:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-left:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-left:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}.dops-button.is-primary{background:#3582c4;border-color:#3582c4;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{background:#2271b1;border-color:#2271b1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;color:#66c6e4!important;cursor:default;text-shadow:none!important}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{border-color:#eee;color:#f4cdcd}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{height:24px;top:6px;width:24px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{background:#fff;color:#eee;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{height:18px;top:5px;width:18px}.jp-instant-search-upsell-nudge{color:#000;cursor:pointer;font-size:1em;text-decoration:none}.jp-instant-search-upsell-nudge:hover{color:#000}.jp-search-dashboard-wrap{align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin:0 auto;width:100%}.jp-search-dashboard-row{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:calc(100% - 32px)}@media(min-width:600px){.jp-search-dashboard-row{grid-template-columns:repeat(8,1fr);margin:0 18px;width:calc(100% - 36px)}}@media(min-width:960px){.jp-search-dashboard-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px;width:calc(100% - 48px)}}.jp-search-dashboard-row .sm-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .sm-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .sm-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.jp-search-dashboard-row .md-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .md-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .md-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .md-col-span-4{grid-column-end:span 4}.jp-search-dashboard-row .md-col-span-5{grid-column-end:span 5}.jp-search-dashboard-row .md-col-span-6{grid-column-end:span 6}.jp-search-dashboard-row .md-col-span-7{grid-column-end:span 7}.jp-search-dashboard-row .md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.jp-search-dashboard-row .lg-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .lg-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .lg-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .lg-col-span-4{grid-column-end:span 4}.jp-search-dashboard-row .lg-col-span-5{grid-column-end:span 5}.jp-search-dashboard-row .lg-col-span-6{grid-column-end:span 6}.jp-search-dashboard-row .lg-col-span-7{grid-column-end:span 7}.jp-search-dashboard-row .lg-col-span-8{grid-column-end:span 8}.jp-search-dashboard-row .lg-col-span-9{grid-column-end:span 9}.jp-search-dashboard-row .lg-col-span-10{grid-column-end:span 10}.jp-search-dashboard-row .lg-col-span-11{grid-column-end:span 11}.jp-search-dashboard-row .lg-col-span-12{grid-column-end:span 12}.jp-search-dashboard-row .lg-col-span-0{display:none}}@media(max-width:960px){.jp-search-dashboard-row .md-col-span-0{display:none}}@media(max-width:600px){.jp-search-dashboard-row .sm-col-span-0{display:none}.jp-search-dashboard-row .sm-col-span-1{display:block}}.jp-form-search-settings-group{width:100%}.jp-form-search-settings-group .dops-card{box-shadow:none;padding:4em 0 0}.jp-form-search-settings-group .form-toggle__label{margin:0}.jp-form-search-settings-group__toggle.is-instant-search{margin-top:4em}.jp-form-search-settings-group__toggle .form-toggle__label-content{display:none}.jp-form-search-settings-group__toggle .jp-form-search-settings-group__toggle-container{display:flex}@media(max-width:960px){.jp-form-search-settings-group__toggle .jp-form-search-settings-group__toggle-container{justify-content:center}}.jp-form-search-settings-group__toggle_label{font-size:1.5em;font-weight:600;line-height:1.167}.jp-form-search-settings-group__toggle_label span{font-weight:400}.jp-form-search-settings-group__toggle-description{margin-top:1em}p.jp-form-search-settings-group__toggle-explanation{font-size:1em;font-weight:400;line-height:1.5;margin-bottom:0}.jp-form-search-settings-group-buttons{margin-top:1.5em}.jp-form-search-settings-group-buttons__button{align-items:center;border-color:#000;display:flex;font-size:1em;justify-content:center;min-height:2.5em;padding:.5em 1.5em;text-align:center}.jp-form-search-settings-group-buttons__button.is-customize-search{background-color:#000;color:#fff}.jp-form-search-settings-group-buttons__button:disabled,.jp-form-search-settings-group-buttons__button[disabled]{background-color:#dcdcde;border-color:#dcdcde;color:#a7aaad;cursor:not-allowed}.jp-form-search-settings-group-buttons__button.is-widgets-editor{background:transparent;color:#000}.jp-form-search-settings-group-buttons__button.is-widgets-editor:disabled,.jp-form-search-settings-group-buttons__button.is-widgets-editor[disabled]{background:transparent;color:#a7aaad}.form-toggle.is-search-admin.is-compact+.form-toggle__label .form-toggle__switch{background:#fff;border:2px solid #000;border-radius:.75em;height:1.5em;width:3em}.form-toggle.is-search-admin.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-search-admin.is-compact+.form-toggle__label .form-toggle__switch:before{background-color:#000;height:.9375em;width:.9375em}.form-toggle.is-search-admin.is-compact+.form-toggle__label .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle.is-search-admin.is-compact:checked+.form-toggle__label .form-toggle__switch{background:#069e08;border-color:#069e08}.form-toggle.is-search-admin.is-compact:checked+.form-toggle__label .form-toggle__switch:after{background-color:#fff;left:1.5em}.form-toggle.is-search-admin.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-search-admin.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:before{left:1.5em}.form-toggle.is-search-admin.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-search-admin.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:before{left:0}.jp-search-dashboard-cut{border:2px solid #069e08;border-radius:4px;display:block;margin:2em 0;padding:1em 4em 1em 1.5em;position:relative;text-decoration:none}.jp-search-dashboard-cut span{display:block}.jp-search-dashboard-cut span:last-of-type{font-weight:600}.jp-search-dashboard-cut:focus span:last-of-type,.jp-search-dashboard-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:2px}.jp-search-dashboard-cut:focus:after,.jp-search-dashboard-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-search-dashboard-cut:after{color:#069e08;content:"→";font-size:1.5em;font-weight:600;position:absolute;right:1.5em;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-mocked-instant-search{background:#fff;border-radius:3px;box-shadow:0 5px 25px rgba(0,0,0,.35);font-size:.75em;height:100%;margin:0 auto;overflow:hidden;-webkit-user-select:none;user-select:none;width:100%}.jp-mocked-instant-search__search-controls{align-items:center;border-bottom:1px solid #e6f1f5;display:flex;flex-flow:row nowrap;justify-content:space-between}.jp-mocked-instant-search__search-icon{align-items:center;display:flex;height:60px;justify-content:center;width:60px}@media(max-width:660px){.jp-mocked-instant-search__search-icon{height:45px;width:45px}}.jp-mocked-instant-search__search-mock-input{width:calc(100% - 120px)}.jp-mocked-instant-search__close-button{align-items:center;background-color:transparent!important;border-left:1px solid #e6f1f5;display:flex;height:60px;justify-content:center;line-height:1;width:60px}.jp-mocked-instant-search__close-button svg.gridicon{fill:#646970}@media(max-width:660px){.jp-mocked-instant-search__close-button{height:45px;width:45px}}.jp-mocked-instant-search__search-results{display:flex;height:100%;position:relative}.jp-mocked-instant-search__search-results-primary{padding:1em 4em;width:100%}@media(min-width:661px){.jp-mocked-instant-search__search-results-primary{max-width:calc(100% - 220px)}}@media(max-width:660px){.jp-mocked-instant-search__search-results-primary{padding:2em}}.jp-mocked-instant-search__search-results-header{align-items:center;display:flex;flex-flow:row wrap;justify-content:space-between}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-statistics{font-size:1em;font-weight:700}@media(max-width:480px){.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-statistics{width:100%}}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list span{font-size:1em;margin-left:.5em}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list span:first-child{margin-left:0}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list .jp-mocked-instant-search__result-sort-selected{color:#069e08}@media(max-width:480px){.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list{width:100%}}.jp-mocked-instant-search__search-result{margin-top:1em}.jp-mocked-instant-search__search-results-secondary{background:none;border-left:1px solid #e6f1f5;border-radius:0;bottom:0;box-shadow:none;display:block;flex:none;padding-left:2em;padding-top:1em;position:static;width:220px}@media(max-width:660px){.jp-mocked-instant-search__search-results-secondary{display:none}}.jp-mocked-instant-search__search-filter-header{font-weight:700}.jp-mocked-instant-search__search-filter label{cursor:default}.jp-mocked-instant-search__search-filter label input[type=checkbox]{border:1px solid #e6e6fa;border-radius:5px;cursor:default}.jp-mocked-instant-search__search-filter span{background-color:#e6e6fa;display:inline-block;line-height:1.35;margin-left:1em;width:50em}.jp-mocked-instant-search__search-filter input[type=checkbox]{height:1em;width:1em}.jp-mocked-instant-search__search-filter-list{margin-top:1em}.jp-mocked-legacy-search{border-radius:3px;margin:0 auto;-webkit-user-select:none;user-select:none;width:100%}.jp-mocked-legacy-search__search-controls{background:#fff;box-shadow:0 5px 25px rgba(0,0,0,.35);display:flex;flex-flow:row nowrap;width:100%}.jp-mocked-legacy-search__search-icon{align-items:center;display:flex;height:60px;justify-content:center;width:60px}.jp-mocked-legacy-search__search-input{align-items:center;display:flex;width:100%}*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;min-height:100%;padding:0}#screen-meta,#screen-meta-links{display:none}#jp-search-dashboard{color:#000;font-size:16px;min-height:100vh}#jp-search-dashboard .jp-masthead__logo-link{pointer-events:none}#jp-search-dashboard .jp-search-dashboard-top{background-color:#f9f9f6;overflow:hidden}#jp-search-dashboard .jp-search-dashboard-top__title{padding:2.5em 0}#jp-search-dashboard .jp-search-dashboard-top__title h1{font-size:2.25em;line-height:1.111;margin:0}#jp-search-dashboard .jp-search-dashboard-top__mocked-search-interface{align-items:center;display:flex;flex-flow:column;height:15.625em;justify-content:center}#jp-search-dashboard .jp-search-dashboard-bottom{background-color:#fff}#jp-search-dashboard .jp-search-dashboard-footer,#jp-search-dashboard .jp-search-dashboard-header{background-color:#fff;padding:2.5em 0}@media(max-width:600px){#jp-search-dashboard{font-size:14px}}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-left:5px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/search-dashboard.js b/plugins/jetpack/_inc/build/search-dashboard.js
deleted file mode 100644
index 38b68eec..00000000
--- a/plugins/jetpack/_inc/build/search-dashboard.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/*! For license information please see search-dashboard.js.LICENSE.txt */
-!function(){var e={27538:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},29183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},8277:function(e,t,n){"use strict";const r=t;r.bignum=n(30910),r.define=n(99875).define,r.base=n(73034),r.constants=n(68344),r.decoders=n(55439),r.encoders=n(95411)},99875:function(e,t,n){"use strict";const r=n(95411),i=n(55439),o=n(59503);function s(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new s(e,t)},s.prototype._createNamed=function(e){const t=this.name;function n(e){this._initNamed(e,t)}return o(n,e),n.prototype._initNamed=function(t,n){e.call(this,t,n)},new n(this)},s.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i[e])),this.decoders[e]},s.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},s.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r[e])),this.encoders[e]},s.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},27027:function(e,t,n){"use strict";const r=n(59503),i=n(72173).b,o=n(82923).Buffer;function s(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return a.isEncoderBuffer(e)||(e=new a(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(s,i),t.C=s,s.isDecoderBuffer=function(e){if(e instanceof s)return!0;return"object"==typeof e&&o.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"==typeof e.offset&&"number"==typeof e.length&&"function"==typeof e.save&&"function"==typeof e.restore&&"function"==typeof e.isEmpty&&"function"==typeof e.readUInt8&&"function"==typeof e.skip&&"function"==typeof e.raw},s.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},s.prototype.restore=function(e){const t=new s(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},s.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");const n=new s(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},s.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.R=a,a.isEncoderBuffer=function(e){if(e instanceof a)return!0;return"object"==typeof e&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},a.prototype.join=function(e,t){return e||(e=o.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},73034:function(e,t,n){"use strict";const r=t;r.Reporter=n(72173).b,r.DecoderBuffer=n(27027).C,r.EncoderBuffer=n(27027).R,r.Node=n(24873)},24873:function(e,t,n){"use strict";const r=n(72173).b,i=n(27027).R,o=n(27027).C,s=n(48282),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function u(e,t,n){const r={};this._baseState=r,r.name=n,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}e.exports=u;const f=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){const e=this._baseState,t={};f.forEach((function(n){t[n]=e[n]}));const n=new this.constructor(t.parent);return n._baseState=t,n},u.prototype._wrap=function(){const e=this._baseState;c.forEach((function(t){this[t]=function(){const n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},u.prototype._init=function(e){const t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),s.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){const t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(s(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);const r=e[n];t[r]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){u.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),a.forEach((function(e){u.prototype[e]=function(){const t=this._baseState,n=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(n),this}})),u.prototype.use=function(e){s(e);const t=this._baseState;return s(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){const t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){const t=this._baseState;return s(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){const t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},u.prototype.contains=function(e){const t=this._baseState;return s(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){const n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));let r,i=n.default,s=!0,a=null;if(null!==n.key&&(a=e.enterKey(n.key)),n.optional){let r=null;if(null!==n.explicit?r=n.explicit:null!==n.implicit?r=n.implicit:null!==n.tag&&(r=n.tag),null!==r||n.any){if(s=this._peekTag(e,r,n.any),e.isError(s))return s}else{const r=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),s=!0}catch(e){s=!1}e.restore(r)}}if(n.obj&&s&&(r=e.enterObject()),s){if(null!==n.explicit){const t=this._decodeTag(e,n.explicit);if(e.isError(t))return t;e=t}const r=e.offset;if(null===n.use&&null===n.choice){let t;n.any&&(t=e.save());const r=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(r))return r;n.any?i=e.raw(t):e=r}if(t&&t.track&&null!==n.tag&&t.track(e.path(),r,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){const r=new o(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(r,t)}}return n.obj&&s&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==s?null!==a&&e.exitKey(a):e.leaveKey(a,n.key,i),i},u.prototype._decodeGeneric=function(e,t,n){const r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){const n=this._baseState;return n.useDecoder=this._use(e,t),s(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},u.prototype._decodeChoice=function(e,t){const n=this._baseState;let r=null,i=!1;return Object.keys(n.choice).some((function(o){const s=e.save(),a=n.choice[o];try{const n=a._decode(e,t);if(e.isError(n))return!1;r={type:o,value:n},i=!0}catch(t){return e.restore(s),!1}return!0}),this),i?r:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},u.prototype._encode=function(e,t,n){const r=this._baseState;if(null!==r.default&&r.default===e)return;const i=this._encodeValue(e,t,n);return void 0===i||this._skipDefault(i,t,n)?void 0:i},u.prototype._encodeValue=function(e,t,n){const i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);let o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}let s=null,a=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)s=this._getUse(i.contains,n)._encode(e,t),a=!0;else if(i.children)s=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");const r=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const n=this.clone();n._baseState.implicit=null,s=this._createEncoderBuffer(e.map((function(n){const r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),n))}else null!==i.use?o=this._getUse(i.use,n)._encode(e,t):(s=this._encodePrimitive(i.tag,e),a=!0);if(!i.any&&null===i.choice){const e=null!==i.implicit?i.implicit:i.tag,n=null===i.implicit?"universal":"context";null===e?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(e,a,n,s))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(e,t){const n=this._baseState,r=n.choice[e.type];return r||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){const n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},72173:function(e,t,n){"use strict";const r=n(59503);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.b=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){const r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){const t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){let t;const n=this._reporterState,r=e instanceof o;if(t=r?e:new o(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},5598:function(e,t){"use strict";function n(e){const t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);const r=e[n];t[r]=n})),t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n(t.tag)},68344:function(e,t,n){"use strict";const r=t;r._reverse=function(e){const t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);const r=e[n];t[r]=n})),t},r.der=n(5598)},75761:function(e,t,n){"use strict";const r=n(59503),i=n(30910),o=n(27027).C,s=n(24873),a=n(5598);function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){s.call(this,"der",e)}function f(e,t){let n=e.readUInt8(t);if(e.isError(n))return n;const r=a.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){let r=n;for(n=0;128==(128&r);){if(r=e.readUInt8(t),e.isError(r))return r;n<<=7,n|=127&r}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:a.tag[n]}}function h(e,t,n){let r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0==(128&r))return r;const i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(let t=0;t<i;t++){r<<=8;const t=e.readUInt8(n);if(e.isError(t))return t;r|=t}return r}e.exports=c,c.prototype.decode=function(e,t){return o.isDecoderBuffer(e)||(e=new o(e,t)),this.tree._decode(e,t)},r(u,s),u.prototype._peekTag=function(e,t,n){if(e.isEmpty())return!1;const r=e.save(),i=f(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(r),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||n)},u.prototype._decodeTag=function(e,t,n){const r=f(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;let i=h(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!n&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');const o=e.save(),s=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(s)?s:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){for(;;){const n=f(e,t);if(e.isError(n))return n;const r=h(e,n.primitive,t);if(e.isError(r))return r;let i;if(i=n.primitive||null!==r?e.skip(r):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===n.tagStr)break}},u.prototype._decodeList=function(e,t,n,r){const i=[];for(;!e.isEmpty();){const t=this._peekTag(e,"end");if(e.isError(t))return t;const o=n.decode(e,"der",r);if(e.isError(o)&&t)break;i.push(o)}return i},u.prototype._decodeStr=function(e,t){if("bitstr"===t){const t=e.readUInt8();return e.isError(t)?t:{unused:t,data:e.raw()}}if("bmpstr"===t){const t=e.raw();if(t.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");let n="";for(let e=0;e<t.length/2;e++)n+=String.fromCharCode(t.readUInt16BE(2*e));return n}if("numstr"===t){const t=e.raw().toString("ascii");return this._isNumstr(t)?t:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){const t=e.raw().toString("ascii");return this._isPrintstr(t)?t:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,n){let r;const i=[];let o=0,s=0;for(;!e.isEmpty();)s=e.readUInt8(),o<<=7,o|=127&s,0==(128&s)&&(i.push(o),o=0);128&s&&i.push(o);const a=i[0]/40|0,c=i[0]%40;if(r=n?i:[a,c].concat(i.slice(1)),t){let e=t[r.join(" ")];void 0===e&&(e=t[r.join(".")]),void 0!==e&&(r=e)}return r},u.prototype._decodeTime=function(e,t){const n=e.raw().toString();let r,i,o,s,a,c;if("gentime"===t)r=0|n.slice(0,4),i=0|n.slice(4,6),o=0|n.slice(6,8),s=0|n.slice(8,10),a=0|n.slice(10,12),c=0|n.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");r=0|n.slice(0,2),i=0|n.slice(2,4),o=0|n.slice(4,6),s=0|n.slice(6,8),a=0|n.slice(8,10),c=0|n.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,o,s,a,c,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(e){const t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){const n=e.raw();let r=new i(n);return t&&(r=t[r.toString(10)]||r),r},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},55439:function(e,t,n){"use strict";const r=t;r.der=n(75761),r.pem=n(33672)},33672:function(e,t,n){"use strict";const r=n(59503),i=n(82923).Buffer,o=n(75761);function s(e){o.call(this,e),this.enc="pem"}r(s,o),e.exports=s,s.prototype.decode=function(e,t){const n=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/;let a=-1,c=-1;for(let e=0;e<n.length;e++){const t=n[e].match(s);if(null!==t&&t[2]===r){if(-1!==a){if("END"!==t[1])break;c=e;break}if("BEGIN"!==t[1])break;a=e}}if(-1===a||-1===c)throw new Error("PEM section not found for: "+r);const u=n.slice(a+1,c).join("");u.replace(/[^a-z0-9+/=]+/gi,"");const f=i.from(u,"base64");return o.prototype.decode.call(this,f,t)}},18248:function(e,t,n){"use strict";const r=n(59503),i=n(82923).Buffer,o=n(24873),s=n(5598);function a(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){o.call(this,"der",e)}function u(e){return e<10?"0"+e:e}e.exports=a,a.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(c,o),c.prototype._encodeComposite=function(e,t,n,r){const o=function(e,t,n,r){let i;"seqof"===e?e="seq":"setof"===e&&(e="set");if(s.tagByName.hasOwnProperty(e))i=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}if(i>=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=s.tagClassByName[n||"universal"]<<6,i}(e,t,n,this.reporter);if(r.length<128){const e=i.alloc(2);return e[0]=o,e[1]=r.length,this._createEncoderBuffer([e,r])}let a=1;for(let e=r.length;e>=256;e>>=8)a++;const c=i.alloc(2+a);c[0]=o,c[1]=128|a;for(let e=1+a,t=r.length;t>0;e--,t>>=8)c[e]=255&t;return this._createEncoderBuffer([c,r])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let n=0;n<e.length;n++)t.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(t)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},c.prototype._encodeObjid=function(e,t,n){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s.]+/g);for(let t=0;t<e.length;t++)e[t]|=0}else if(Array.isArray(e)){e=e.slice();for(let t=0;t<e.length;t++)e[t]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!n){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let t=0;t<e.length;t++){let n=e[t];for(r++;n>=128;n>>=7)r++}const o=i.alloc(r);let s=o.length-1;for(let t=e.length-1;t>=0;t--){let n=e[t];for(o[s--]=127&n;(n>>=7)>0;)o[s--]=128|127&n}return this._createEncoderBuffer(o)},c.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[u(r.getUTCFullYear()),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[u(r.getUTCFullYear()%100),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=i.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let t=e;t>=256;t>>=8)n++;const r=new Array(n);for(let t=r.length-1;t>=0;t--)r[t]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r.default)return!1;const o=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i<o.length;i++)if(o[i]!==r.defaultBuffer[i])return!1;return!0}},95411:function(e,t,n){"use strict";const r=t;r.der=n(18248),r.pem=n(51027)},51027:function(e,t,n){"use strict";const r=n(59503),i=n(18248);function o(e){i.call(this,e),this.enc="pem"}r(o,i),e.exports=o,o.prototype.encode=function(e,t){const n=i.prototype.encode.call(this,e).toString("base64"),r=["-----BEGIN "+t.label+"-----"];for(let e=0;e<n.length;e+=64)r.push(n.slice(e,e+64));return r.push("-----END "+t.label+"-----"),r.join("\n")}},90605:function(e,t,n){"use strict";var r=n(5806),i=n(55246);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var s,a,c=n(27452).codes,u=c.ERR_AMBIGUOUS_ARGUMENT,f=c.ERR_INVALID_ARG_TYPE,h=c.ERR_INVALID_ARG_VALUE,l=c.ERR_INVALID_RETURN_VALUE,d=c.ERR_MISSING_ARGS,p=n(71228),g=n(23333).inspect,m=n(23333).types,b=m.isPromise,v=m.isRegExp,y=Object.assign?Object.assign:n(45685).assign,w=Object.is?Object.is:n(88706);new Map;function _(){var e=n(81562);s=e.isDeepEqual,a=e.isDeepStrictEqual}var E=!1,S=e.exports=A,k={};function M(e){if(e.message instanceof Error)throw e.message;throw new p(e)}function C(e,t,n,r){if(!n){var i=!1;if(0===t)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var o=new p({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function A(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];C.apply(void 0,[A,t.length].concat(t))}S.fail=function e(t,n,o,s,a){var c,u=arguments.length;if(0===u)c="Failed";else if(1===u)o=t,t=void 0;else{if(!1===E){E=!0;var f=r.emitWarning?r.emitWarning:i.warn.bind(i);f("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===u&&(s="!=")}if(o instanceof Error)throw o;var h={actual:t,expected:n,operator:void 0===s?"fail":s,stackStartFn:a||e};void 0!==o&&(h.message=o);var l=new p(h);throw c&&(l.message=c,l.generatedMessage=!0),l},S.AssertionError=p,S.ok=A,S.equal=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");t!=n&&M({actual:t,expected:n,message:r,operator:"==",stackStartFn:e})},S.notEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");t==n&&M({actual:t,expected:n,message:r,operator:"!=",stackStartFn:e})},S.deepEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===s&&_(),s(t,n)||M({actual:t,expected:n,message:r,operator:"deepEqual",stackStartFn:e})},S.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===s&&_(),s(t,n)&&M({actual:t,expected:n,message:r,operator:"notDeepEqual",stackStartFn:e})},S.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===s&&_(),a(t,n)||M({actual:t,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:e})},S.notDeepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===s&&_();a(t,n)&&M({actual:t,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:e})},S.strictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");w(t,n)||M({actual:t,expected:n,message:r,operator:"strictEqual",stackStartFn:e})},S.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");w(t,n)&&M({actual:t,expected:n,message:r,operator:"notStrictEqual",stackStartFn:e})};var x=function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==r&&"string"==typeof r[e]&&v(t[e])&&t[e].test(r[e])?i[e]=r[e]:i[e]=t[e])}))};function I(e,t,n,r,i,o){if(!(n in e)||!a(e[n],t[n])){if(!r){var s=new x(e,i),c=new x(t,i,e),u=new p({actual:s,expected:c,operator:"deepStrictEqual",stackStartFn:o});throw u.actual=e,u.expected=t,u.operator=o.name,u}M({actual:e,expected:t,message:r,operator:o.name,stackStartFn:o})}}function O(e,t,n,r){if("function"!=typeof t){if(v(t))return t.test(e);if(2===arguments.length)throw new f("expected",["Function","RegExp"],t);if("object"!==o(e)||null===e){var i=new p({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:r});throw i.operator=r.name,i}var a=Object.keys(t);if(t instanceof Error)a.push("name","message");else if(0===a.length)throw new h("error",t,"may not be an empty object");return void 0===s&&_(),a.forEach((function(i){"string"==typeof e[i]&&v(t[i])&&t[i].test(e[i])||I(e,t,i,n,a,r)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function T(e){if("function"!=typeof e)throw new f("fn","Function",e);try{e()}catch(e){return e}return k}function N(e){return b(e)||null!==e&&"object"===o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function j(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!N(t=e()))throw new l("instance of Promise","promiseFn",t)}else{if(!N(e))throw new f("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return k})).catch((function(e){return e}))}))}function z(e,t,n,r){if("string"==typeof n){if(4===arguments.length)throw new f("error",["Object","Error","Function","RegExp"],n);if("object"===o(t)&&null!==t){if(t.message===n)throw new u("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new u("error/message",'The error "'.concat(t,'" is identical to the message.'));r=n,n=void 0}else if(null!=n&&"object"!==o(n)&&"function"!=typeof n)throw new f("error",["Object","Error","Function","RegExp"],n);if(t===k){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=r?": ".concat(r):".";var s="rejects"===e.name?"rejection":"exception";M({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(s).concat(i),stackStartFn:e})}if(n&&!O(t,n,r,e))throw t}function P(e,t,n,r){if(t!==k){if("string"==typeof n&&(r=n,n=void 0),!n||O(t,n)){var i=r?": ".concat(r):".",o="doesNotReject"===e.name?"rejection":"exception";M({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function R(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];C.apply(void 0,[R,t.length].concat(t))}S.throws=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];z.apply(void 0,[e,T(t)].concat(r))},S.rejects=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return j(t).then((function(t){return z.apply(void 0,[e,t].concat(r))}))},S.doesNotThrow=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];P.apply(void 0,[e,T(t)].concat(r))},S.doesNotReject=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return j(t).then((function(t){return P.apply(void 0,[e,t].concat(r))}))},S.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===o(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=g(t);var r=new p({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),i=t.stack;if("string"==typeof i){var s=i.split("\n");s.shift();for(var a=r.stack.split("\n"),c=0;c<s.length;c++){var u=a.indexOf(s[c]);if(-1!==u){a=a.slice(0,u);break}}r.stack="".concat(a.join("\n"),"\n").concat(s.join("\n"))}throw r}},S.strict=y(R,S,{equal:S.strictEqual,deepEqual:S.deepStrictEqual,notEqual:S.notStrictEqual,notDeepEqual:S.notDeepStrictEqual}),S.strict.strict=S.strict},71228:function(e,t,n){"use strict";var r=n(5806);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?a(e):t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;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,r)}function r(){return f(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)},c(e)}function u(){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 f(e,t,n){return f=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&h(i,n.prototype),i},f.apply(null,arguments)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var p=n(23333).inspect,g=n(27452).codes.ERR_INVALID_ARG_TYPE;function m(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var b="",v="",y="",w="",_={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function S(e){return p(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function k(e,t,n){var i="",o="",s=0,a="",c=!1,u=S(e),f=u.split("\n"),h=S(t).split("\n"),l=0,p="";if("strictEqual"===n&&"object"===d(e)&&"object"===d(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===f.length&&1===h.length&&f[0]!==h[0]){var g=f[0].length+h[0].length;if(g<=10){if(!("object"===d(e)&&null!==e||"object"===d(t)&&null!==t||0===e&&0===t))return"".concat(_[n],"\n\n")+"".concat(f[0]," !== ").concat(h[0],"\n")}else if("strictEqualObject"!==n){if(g<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;f[0][l]===h[0][l];)l++;l>2&&(p="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",l),"^"),l=0)}}}for(var E=f[f.length-1],k=h[h.length-1];E===k&&(l++<2?a="\n ".concat(E).concat(a):i=E,f.pop(),h.pop(),0!==f.length&&0!==h.length);)E=f[f.length-1],k=h[h.length-1];var M=Math.max(f.length,h.length);if(0===M){var C=u.split("\n");if(C.length>30)for(C[26]="".concat(b,"...").concat(w);C.length>27;)C.pop();return"".concat(_.notIdentical,"\n\n").concat(C.join("\n"),"\n")}l>3&&(a="\n".concat(b,"...").concat(w).concat(a),c=!0),""!==i&&(a="\n ".concat(i).concat(a),i="");var A=0,x=_[n]+"\n".concat(v,"+ actual").concat(w," ").concat(y,"- expected").concat(w),I=" ".concat(b,"...").concat(w," Lines skipped");for(l=0;l<M;l++){var O=l-s;if(f.length<l+1)O>1&&l>2&&(O>4?(o+="\n".concat(b,"...").concat(w),c=!0):O>3&&(o+="\n ".concat(h[l-2]),A++),o+="\n ".concat(h[l-1]),A++),s=l,i+="\n".concat(y,"-").concat(w," ").concat(h[l]),A++;else if(h.length<l+1)O>1&&l>2&&(O>4?(o+="\n".concat(b,"...").concat(w),c=!0):O>3&&(o+="\n ".concat(f[l-2]),A++),o+="\n ".concat(f[l-1]),A++),s=l,o+="\n".concat(v,"+").concat(w," ").concat(f[l]),A++;else{var T=h[l],N=f[l],j=N!==T&&(!m(N,",")||N.slice(0,-1)!==T);j&&m(T,",")&&T.slice(0,-1)===N&&(j=!1,N+=","),j?(O>1&&l>2&&(O>4?(o+="\n".concat(b,"...").concat(w),c=!0):O>3&&(o+="\n ".concat(f[l-2]),A++),o+="\n ".concat(f[l-1]),A++),s=l,o+="\n".concat(v,"+").concat(w," ").concat(N),i+="\n".concat(y,"-").concat(w," ").concat(T),A+=2):(o+=i,i="",1!==O&&0!==l||(o+="\n ".concat(N),A++))}if(A>20&&l<M-2)return"".concat(x).concat(I,"\n").concat(o,"\n").concat(b,"...").concat(w).concat(i,"\n")+"".concat(b,"...").concat(w)}return"".concat(x).concat(c?I:"","\n").concat(o).concat(i).concat(a).concat(p)}var M=function(e){function t(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==d(e)||null===e)throw new g("options","Object",e);var i=e.message,o=e.operator,c=e.stackStartFn,u=e.actual,f=e.expected,h=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=i)n=s(this,l(t).call(this,String(i)));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&1!==r.stderr.getColorDepth()?(b="",v="",w="",y=""):(b="",v="",w="",y="")),"object"===d(u)&&null!==u&&"object"===d(f)&&null!==f&&"stack"in u&&u instanceof Error&&"stack"in f&&f instanceof Error&&(u=E(u),f=E(f)),"deepStrictEqual"===o||"strictEqual"===o)n=s(this,l(t).call(this,k(u,f,o)));else if("notDeepStrictEqual"===o||"notStrictEqual"===o){var p=_[o],m=S(u).split("\n");if("notStrictEqual"===o&&"object"===d(u)&&null!==u&&(p=_.notStrictEqualObject),m.length>30)for(m[26]="".concat(b,"...").concat(w);m.length>27;)m.pop();n=1===m.length?s(this,l(t).call(this,"".concat(p," ").concat(m[0]))):s(this,l(t).call(this,"".concat(p,"\n\n").concat(m.join("\n"),"\n")))}else{var M=S(u),C="",A=_[o];"notDeepEqual"===o||"notEqual"===o?(M="".concat(_[o],"\n\n").concat(M)).length>1024&&(M="".concat(M.slice(0,1021),"...")):(C="".concat(S(f)),M.length>512&&(M="".concat(M.slice(0,509),"...")),C.length>512&&(C="".concat(C.slice(0,509),"...")),"deepEqual"===o||"equal"===o?M="".concat(A,"\n\n").concat(M,"\n\nshould equal\n\n"):C=" ".concat(o," ").concat(C)),n=s(this,l(t).call(this,"".concat(M).concat(C)))}return Error.stackTraceLimit=h,n.generatedMessage=!i,Object.defineProperty(a(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=u,n.expected=f,n.operator=o,Error.captureStackTrace&&Error.captureStackTrace(a(n),c),n.stack,n.name="AssertionError",s(n)}var n,c,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,c=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:p.custom,value:function(e,t){return p(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],c&&o(n.prototype,c),u&&o(n,u),t}(c(Error));e.exports=M},27452:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}var a,c,u={};function f(e,t,n){n||(n=Error);var r=function(n){function r(n,s,a){var c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),c=i(this,o(r).call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,s,a))),c.code=e,c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(r,n),r}(n);u[e]=r}function h(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}f("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),f("ERR_INVALID_ARG_TYPE",(function(e,t,i){var o,s,c,u;if(void 0===a&&(a=n(90605)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(s="not ",t.substr(!c||c<0?0:+c,s.length)===s)?(o="must not be",t=t.replace(/^not /,"")):o="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))u="The ".concat(e," ").concat(o," ").concat(h(t,"type"));else{var f=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(f," ").concat(o," ").concat(h(t,"type"))}return u+=". Received type ".concat(r(i))}),TypeError),f("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=n(23333));var i=c.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(i)}),TypeError,RangeError),f("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var i;return i=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")}),TypeError),f("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===a&&(a=n(90605)),a(t.length>0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", "),i+=", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),e.exports.codes=u},81562:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],_n=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(_n=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,i=e}finally{try{_n||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var o=void 0!==/a/g.flags,s=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},a=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},c=Object.is?Object.is:n(88706),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},f=Number.isNaN?Number.isNaN:n(17614);function h(e){return e.call.bind(e)}var l=h(Object.prototype.hasOwnProperty),d=h(Object.prototype.propertyIsEnumerable),p=h(Object.prototype.toString),g=n(23333).types,m=g.isAnyArrayBuffer,b=g.isArrayBufferView,v=g.isDate,y=g.isMap,w=g.isRegExp,_=g.isSet,E=g.isNativeError,S=g.isBoxedPrimitive,k=g.isNumberObject,M=g.isStringObject,C=g.isBooleanObject,A=g.isBigIntObject,x=g.isSymbolObject,I=g.isFloat32Array,O=g.isFloat64Array;function T(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function N(e){return Object.keys(e).filter(T).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function j(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function z(e,t,n,r){if(e===t)return 0!==e||(!n||c(e,t));if(n){if("object"!==i(e))return"number"==typeof e&&f(e)&&f(t);if("object"!==i(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==i(e))return(null===t||"object"!==i(t))&&e==t;if(null===t||"object"!==i(t))return!1}var s,a,u,h,l=p(e);if(l!==p(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var d=N(e),g=N(t);return d.length===g.length&&R(e,t,n,r,1,d)}if("[object Object]"===l&&(!y(e)&&y(t)||!_(e)&&_(t)))return!1;if(v(e)){if(!v(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(w(e)){if(!w(t)||(u=e,h=t,!(o?u.source===h.source&&u.flags===h.flags:RegExp.prototype.toString.call(u)===RegExp.prototype.toString.call(h))))return!1}else if(E(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(b(e)){if(n||!I(e)&&!O(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===j(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var T=N(e),z=N(t);return T.length===z.length&&R(e,t,n,r,0,T)}if(_(e))return!(!_(t)||e.size!==t.size)&&R(e,t,n,r,2);if(y(e))return!(!y(t)||e.size!==t.size)&&R(e,t,n,r,3);if(m(e)){if(a=t,(s=e).byteLength!==a.byteLength||0!==j(new Uint8Array(s),new Uint8Array(a)))return!1}else if(S(e)&&!function(e,t){return k(e)?k(t)&&c(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):M(e)?M(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):C(e)?C(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):A(e)?A(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):x(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return R(e,t,n,r,0)}function P(e,t){return t.filter((function(t){return d(e,t)}))}function R(e,t,n,r,i,o){if(5===arguments.length){o=Object.keys(e);var s=Object.keys(t);if(o.length!==s.length)return!1}for(var a=0;a<o.length;a++)if(!l(t,o[a]))return!1;if(n&&5===arguments.length){var c=u(e);if(0!==c.length){var f=0;for(a=0;a<c.length;a++){var h=c[a];if(d(e,h)){if(!d(t,h))return!1;o.push(h),f++}else if(d(t,h))return!1}var p=u(t);if(c.length!==p.length&&P(t,p).length!==f)return!1}else{var g=u(t);if(0!==g.length&&0!==P(t,g).length)return!1}}if(0===o.length&&(0===i||1===i&&0===e.length||0===e.size))return!0;if(void 0===r)r={val1:new Map,val2:new Map,position:0};else{var m=r.val1.get(e);if(void 0!==m){var b=r.val2.get(t);if(void 0!==b)return m===b}r.position++}r.val1.set(e,r.position),r.val2.set(t,r.position);var v=H(e,t,n,o,r,i);return r.val1.delete(e),r.val2.delete(t),v}function B(e,t,n,r){for(var i=s(e),o=0;o<i.length;o++){var a=i[o];if(z(t,a,n,r))return e.delete(a),!0}return!1}function L(e){switch(i(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(f(e))return!1}return!0}function D(e,t,n){var r=L(n);return null!=r?r:t.has(r)&&!e.has(r)}function U(e,t,n,r,i){var o=L(n);if(null!=o)return o;var s=t.get(o);return!(void 0===s&&!t.has(o)||!z(r,s,!1,i))&&(!e.has(o)&&z(r,s,!1,i))}function F(e,t,n,r,i,o){for(var a=s(e),c=0;c<a.length;c++){var u=a[c];if(z(n,u,i,o)&&z(r,t.get(u),i,o))return e.delete(u),!0}return!1}function H(e,t,n,o,c,u){var f=0;if(2===u){if(!function(e,t,n,r){for(var o=null,a=s(e),c=0;c<a.length;c++){var u=a[c];if("object"===i(u)&&null!==u)null===o&&(o=new Set),o.add(u);else if(!t.has(u)){if(n)return!1;if(!D(e,t,u))return!1;null===o&&(o=new Set),o.add(u)}}if(null!==o){for(var f=s(t),h=0;h<f.length;h++){var l=f[h];if("object"===i(l)&&null!==l){if(!B(o,l,n,r))return!1}else if(!n&&!e.has(l)&&!B(o,l,n,r))return!1}return 0===o.size}return!0}(e,t,n,c))return!1}else if(3===u){if(!function(e,t,n,o){for(var s=null,c=a(e),u=0;u<c.length;u++){var f=r(c[u],2),h=f[0],l=f[1];if("object"===i(h)&&null!==h)null===s&&(s=new Set),s.add(h);else{var d=t.get(h);if(void 0===d&&!t.has(h)||!z(l,d,n,o)){if(n)return!1;if(!U(e,t,h,l,o))return!1;null===s&&(s=new Set),s.add(h)}}}if(null!==s){for(var p=a(t),g=0;g<p.length;g++){var m=r(p[g],2),b=(h=m[0],m[1]);if("object"===i(h)&&null!==h){if(!F(s,e,h,b,n,o))return!1}else if(!(n||e.has(h)&&z(e.get(h),b,!1,o)||F(s,e,h,b,!1,o)))return!1}return 0===s.size}return!0}(e,t,n,c))return!1}else if(1===u)for(;f<e.length;f++){if(!l(e,f)){if(l(t,f))return!1;for(var h=Object.keys(e);f<h.length;f++){var d=h[f];if(!l(t,d)||!z(e[d],t[d],n,c))return!1}return h.length===Object.keys(t).length}if(!l(t,f)||!z(e[f],t[f],n,c))return!1}for(f=0;f<o.length;f++){var p=o[f];if(!z(e[p],t[p],n,c))return!1}return!0}e.exports={isDeepEqual:function(e,t){return z(e,t,false)},isDeepStrictEqual:function(e,t){return z(e,t,true)}}},6670:function(e,t,n){e.exports={default:n(92916),__esModule:!0}},62803:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=c(e),s=o[0],a=o[1],u=new i(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),f=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[f++]=t>>16&255,u[f++]=t>>8&255,u[f++]=255&t;2===a&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[f++]=255&t);1===a&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[f++]=t>>8&255,u[f++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],s=16383,a=0,c=r-i;a<c;a+=s)o.push(u(e,a,a+s>c?c:a+s));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var i,o,s=[],a=t;a<r;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},30910:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(56095).Buffer}catch(e){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function c(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=r,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,s=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=c(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r<e.length;r+=2)i=c(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,c=0,f=n;f<a;f+=r)c=u(e,f,f+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==s){var h=1;for(c=u(e,f,e.length,t),f=0;f<s;f++)h*=t;this.imuln(h),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],l=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;n.words[0]=a;for(var u=1;u<r;u++){for(var f=c>>>26,h=67108863&c,l=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=l;d++){var p=u-d|0;f+=(s=(i=0|e.words[p])*(o=0|t.words[d])+h)/67108864|0,h=67108863&s}n.words[u]=0|h,c=0|f}return 0!==c?n.words[u]=0|c:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);n=0!==(o=a>>>24-i&16777215)||s!==this.length-1?f[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=h[e],d=l[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(d).toString(e);n=(p=p.idivn(d)).isZero()?g+n:f[u-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(o),f=this.clone();if(c){for(a=0;!f.isZero();a++)s=f.andln(255),f.iushrn(8),u[a]=s;for(;a<o;a++)u[a]=0}else{for(a=0;a<o-i;a++)u[a]=0;for(a=0;!f.isZero();a++)s=f.andln(255),f.iushrn(8),u[o-a-1]=s}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return r(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s<r.length;s++)o=(t=(0|n.words[s])-(0|r.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)o=(t=(0|n.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,n){var r,i,o,s=e.words,a=t.words,c=n.words,u=0,f=0|s[0],h=8191&f,l=f>>>13,d=0|s[1],p=8191&d,g=d>>>13,m=0|s[2],b=8191&m,v=m>>>13,y=0|s[3],w=8191&y,_=y>>>13,E=0|s[4],S=8191&E,k=E>>>13,M=0|s[5],C=8191&M,A=M>>>13,x=0|s[6],I=8191&x,O=x>>>13,T=0|s[7],N=8191&T,j=T>>>13,z=0|s[8],P=8191&z,R=z>>>13,B=0|s[9],L=8191&B,D=B>>>13,U=0|a[0],F=8191&U,H=U>>>13,V=0|a[1],q=8191&V,K=V>>>13,$=0|a[2],Z=8191&$,J=$>>>13,G=0|a[3],W=8191&G,Y=G>>>13,X=0|a[4],Q=8191&X,ee=X>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,fe=0|a[8],he=8191&fe,le=fe>>>13,de=0|a[9],pe=8191&de,ge=de>>>13;n.negative=e.negative^t.negative,n.length=19;var me=(u+(r=Math.imul(h,F))|0)+((8191&(i=(i=Math.imul(h,H))+Math.imul(l,F)|0))<<13)|0;u=((o=Math.imul(l,H))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,r=Math.imul(p,F),i=(i=Math.imul(p,H))+Math.imul(g,F)|0,o=Math.imul(g,H);var be=(u+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,K)|0)+Math.imul(l,q)|0))<<13)|0;u=((o=o+Math.imul(l,K)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(b,F),i=(i=Math.imul(b,H))+Math.imul(v,F)|0,o=Math.imul(v,H),r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,K)|0;var ve=(u+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,J)|0)+Math.imul(l,Z)|0))<<13)|0;u=((o=o+Math.imul(l,J)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(w,F),i=(i=Math.imul(w,H))+Math.imul(_,F)|0,o=Math.imul(_,H),r=r+Math.imul(b,q)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,K)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,J)|0;var ye=(u+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(l,W)|0))<<13)|0;u=((o=o+Math.imul(l,Y)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(S,F),i=(i=Math.imul(S,H))+Math.imul(k,F)|0,o=Math.imul(k,H),r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(_,q)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,J)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,J)|0,r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(g,W)|0,o=o+Math.imul(g,Y)|0;var we=(u+(r=r+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(l,Q)|0))<<13)|0;u=((o=o+Math.imul(l,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(C,F),i=(i=Math.imul(C,H))+Math.imul(A,F)|0,o=Math.imul(A,H),r=r+Math.imul(S,q)|0,i=(i=i+Math.imul(S,K)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,J)|0)+Math.imul(_,Z)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(b,W)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(v,W)|0,o=o+Math.imul(v,Y)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,ee)|0;var _e=(u+(r=r+Math.imul(h,ne)|0)|0)+((8191&(i=(i=i+Math.imul(h,re)|0)+Math.imul(l,ne)|0))<<13)|0;u=((o=o+Math.imul(l,re)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(I,F),i=(i=Math.imul(I,H))+Math.imul(O,F)|0,o=Math.imul(O,H),r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,K)|0,r=r+Math.imul(S,Z)|0,i=(i=i+Math.imul(S,J)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,J)|0,r=r+Math.imul(w,W)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(_,W)|0,o=o+Math.imul(_,Y)|0,r=r+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0;var Ee=(u+(r=r+Math.imul(h,oe)|0)|0)+((8191&(i=(i=i+Math.imul(h,se)|0)+Math.imul(l,oe)|0))<<13)|0;u=((o=o+Math.imul(l,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,F),i=(i=Math.imul(N,H))+Math.imul(j,F)|0,o=Math.imul(j,H),r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,K)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,J)|0,r=r+Math.imul(S,W)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(k,W)|0,o=o+Math.imul(k,Y)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(b,ne)|0,i=(i=i+Math.imul(b,re)|0)+Math.imul(v,ne)|0,o=o+Math.imul(v,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0;var Se=(u+(r=r+Math.imul(h,ce)|0)|0)+((8191&(i=(i=i+Math.imul(h,ue)|0)+Math.imul(l,ce)|0))<<13)|0;u=((o=o+Math.imul(l,ue)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(P,F),i=(i=Math.imul(P,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(N,q)|0,i=(i=i+Math.imul(N,K)|0)+Math.imul(j,q)|0,o=o+Math.imul(j,K)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,J)|0)+Math.imul(O,Z)|0,o=o+Math.imul(O,J)|0,r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(A,W)|0,o=o+Math.imul(A,Y)|0,r=r+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,se)|0)+Math.imul(v,oe)|0,o=o+Math.imul(v,se)|0,r=r+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,ue)|0;var ke=(u+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,le)|0)+Math.imul(l,he)|0))<<13)|0;u=((o=o+Math.imul(l,le)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,F),i=(i=Math.imul(L,H))+Math.imul(D,F)|0,o=Math.imul(D,H),r=r+Math.imul(P,q)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(R,q)|0,o=o+Math.imul(R,K)|0,r=r+Math.imul(N,Z)|0,i=(i=i+Math.imul(N,J)|0)+Math.imul(j,Z)|0,o=o+Math.imul(j,J)|0,r=r+Math.imul(I,W)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(O,W)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,r=r+Math.imul(S,ne)|0,i=(i=i+Math.imul(S,re)|0)+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,se)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(b,ce)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(v,ce)|0,o=o+Math.imul(v,ue)|0,r=r+Math.imul(p,he)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(g,he)|0,o=o+Math.imul(g,le)|0;var Me=(u+(r=r+Math.imul(h,pe)|0)|0)+((8191&(i=(i=i+Math.imul(h,ge)|0)+Math.imul(l,pe)|0))<<13)|0;u=((o=o+Math.imul(l,ge)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,K))+Math.imul(D,q)|0,o=Math.imul(D,K),r=r+Math.imul(P,Z)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(R,Z)|0,o=o+Math.imul(R,J)|0,r=r+Math.imul(N,W)|0,i=(i=i+Math.imul(N,Y)|0)+Math.imul(j,W)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(A,ne)|0,o=o+Math.imul(A,re)|0,r=r+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,ue)|0,r=r+Math.imul(b,he)|0,i=(i=i+Math.imul(b,le)|0)+Math.imul(v,he)|0,o=o+Math.imul(v,le)|0;var Ce=(u+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((o=o+Math.imul(g,ge)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,J))+Math.imul(D,Z)|0,o=Math.imul(D,J),r=r+Math.imul(P,W)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(R,W)|0,o=o+Math.imul(R,Y)|0,r=r+Math.imul(N,Q)|0,i=(i=i+Math.imul(N,ee)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,ee)|0,r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,r=r+Math.imul(S,ce)|0,i=(i=i+Math.imul(S,ue)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,ue)|0,r=r+Math.imul(w,he)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(_,he)|0,o=o+Math.imul(_,le)|0;var Ae=(u+(r=r+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,ge)|0)+Math.imul(v,pe)|0))<<13)|0;u=((o=o+Math.imul(v,ge)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,W),i=(i=Math.imul(L,Y))+Math.imul(D,W)|0,o=Math.imul(D,Y),r=r+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(N,ne)|0,i=(i=i+Math.imul(N,re)|0)+Math.imul(j,ne)|0,o=o+Math.imul(j,re)|0,r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,se)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,r=r+Math.imul(S,he)|0,i=(i=i+Math.imul(S,le)|0)+Math.imul(k,he)|0,o=o+Math.imul(k,le)|0;var xe=(u+(r=r+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((o=o+Math.imul(_,ge)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,ee))+Math.imul(D,Q)|0,o=Math.imul(D,ee),r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(N,oe)|0,i=(i=i+Math.imul(N,se)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,se)|0,r=r+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,r=r+Math.imul(C,he)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(A,he)|0,o=o+Math.imul(A,le)|0;var Ie=(u+(r=r+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,ge)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,ge)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(D,ne)|0,o=Math.imul(D,re),r=r+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,se)|0,r=r+Math.imul(N,ce)|0,i=(i=i+Math.imul(N,ue)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,ue)|0,r=r+Math.imul(I,he)|0,i=(i=i+Math.imul(I,le)|0)+Math.imul(O,he)|0,o=o+Math.imul(O,le)|0;var Oe=(u+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,ge)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,ge)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,se))+Math.imul(D,oe)|0,o=Math.imul(D,se),r=r+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(R,ce)|0,o=o+Math.imul(R,ue)|0,r=r+Math.imul(N,he)|0,i=(i=i+Math.imul(N,le)|0)+Math.imul(j,he)|0,o=o+Math.imul(j,le)|0;var Te=(u+(r=r+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,ge)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,ce),i=(i=Math.imul(L,ue))+Math.imul(D,ce)|0,o=Math.imul(D,ue),r=r+Math.imul(P,he)|0,i=(i=i+Math.imul(P,le)|0)+Math.imul(R,he)|0,o=o+Math.imul(R,le)|0;var Ne=(u+(r=r+Math.imul(N,pe)|0)|0)+((8191&(i=(i=i+Math.imul(N,ge)|0)+Math.imul(j,pe)|0))<<13)|0;u=((o=o+Math.imul(j,ge)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(L,he),i=(i=Math.imul(L,le))+Math.imul(D,he)|0,o=Math.imul(D,le);var je=(u+(r=r+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,ge)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863;var ze=(u+(r=Math.imul(L,pe))|0)+((8191&(i=(i=Math.imul(L,ge))+Math.imul(D,pe)|0))<<13)|0;return u=((o=Math.imul(D,ge))+(i>>>13)|0)+(ze>>>26)|0,ze&=67108863,c[0]=me,c[1]=be,c[2]=ve,c[3]=ye,c[4]=we,c[5]=_e,c[6]=Ee,c[7]=Se,c[8]=ke,c[9]=Me,c[10]=Ce,c[11]=Ae,c[12]=xe,c[13]=Ie,c[14]=Oe,c[15]=Te,c[16]=Ne,c[17]=je,c[18]=ze,0!==u&&(c[19]=u,n.length++),n};function g(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(p=d),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?p(this,e,t):r<63?d(this,e,t):r<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var f=o-u,h=(0|e.words[f])*(0|t.words[u]),l=67108863&h;a=67108863&(l=l+a|0),i+=(s=(s=s+(h/67108864|0)|0)+(l>>>26)|0)>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):g(this,e,t),n},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},m.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},m.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s<o;s++)r[s]=t[e[s]],i[s]=n[e[s]]},m.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),f=0;f<i;f+=a)for(var h=c,l=u,d=0;d<s;d++){var p=n[f+d],g=r[f+d],m=n[f+d+s],b=r[f+d+s],v=h*m-l*b;b=h*b+l*m,m=v,n[f+d]=p+m,r[f+d]=g+b,n[f+d+s]=p-m,r[f+d+s]=g-b,d!==a&&(v=c*h-u*l,l=c*l+u*h,h=v)}},m.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},m.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},m.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},m.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(0==(-8192&o))},m.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},m.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),c=new Array(r),u=new Array(r),f=new Array(r),h=new Array(r),l=n.words;l.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,u,r),this.transform(s,o,a,c,r,i),this.transform(u,o,f,h,r,i);for(var d=0;d<r;d++){var p=a[d]*f[d]-c[d]*h[d];c[d]=a[d]*h[d]+c[d]*f[d],a[d]=p}return this.conjugate(a,c,r),this.transform(a,c,l,o,r,i),this.conjugate(l,o,r),this.normalize13b(l,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),g(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<n;this.words[t]=c|s,s=a>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=n;if(i-=s,i=Math.max(0,i),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var f=0;for(u=this.length-1;u>=0&&(0!==f||u>=i);u--){var h=0|this.words[u];this.words[u]=f<<26-o|h>>>o,f=h&a}return c&&0!==f&&(c.words[c.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,s=e.length+n;this._expand(s);var a=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)a=(o=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(o=-(0|this.words[i])+a)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,c=r.length-i.length;if("mod"!==t){(a=new o(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var f=r.clone()._ishlnsubmul(i,1,c);0===f.negative&&(r=f,a&&(a.words[c]=1));for(var h=c-1;h>=0;h--){var l=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(l=Math.min(l/s|0,67108863),r._ishlnsubmul(i,l,h);0!==r.negative;)l--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);a&&(a.words[h]=l)}return a&&a.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),c=new o(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var f=n.clone(),h=t.clone();!t.isZero();){for(var l=0,d=1;0==(t.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(t.iushrn(l);l-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(f),s.isub(h)),i.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(f),c.isub(h)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(c)):(n.isub(t),a.isub(i),c.isub(s))}return{a:a,b:c,gcd:n.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,s=new o(1),a=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,f=1;0==(t.words[0]&f)&&u<26;++u,f<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var h=0,l=1;0==(n.words[0]&l)&&h<26;++h,l<<=1);if(h>0)for(n.iushrn(h);h-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return(i=0===t.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(y,v),y.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&n)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(w,v),i(_,v),i(E,v),E.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new w;else if("p192"===e)t=new _;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return b[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},S.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,u).cmp(c);)f.redIAdd(c);for(var h=this.pow(f,i),l=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;0!==d.cmp(a);){for(var g=d,m=0;0!==g.cmp(a);m++)g=g.redSqr();r(m<p);var b=this.pow(h,new o(1).iushln(p-m-1));l=l.redMul(b),h=b.redSqr(),d=d.redMul(h),p=m}return l},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),r=t.length-1;r>=0;r--){for(var u=t.words[r],f=c-1;f>=0;f--){var h=u>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==s?(s<<=1,s|=h,(4===++a||0===r&&0===f)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}c=26}return i},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,S),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},k.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},53380:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(14864).Buffer}catch(e){}function a(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function c(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function u(e,t,n,i){for(var o=0,s=0,a=Math.min(e.length,n),c=t;c<a;c++){var u=e.charCodeAt(c)-48;o*=i,s=u>=49?u-49+10:u>=17?u-17+10:u,r(u>=0&&s<i,"Invalid character"),o+=s}return o}function f(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,s=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=c(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r<e.length;r+=2)i=c(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,c=0,f=n;f<a;f+=r)c=u(e,f,f+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==s){var h=1;for(c=u(e,f,e.length,t),f=0;f<s;f++)h*=t;this.imuln(h),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype._move=function(e){f(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(e){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);n=0!==(o=a>>>24-i&16777215)||s!==this.length-1?l[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=p[e];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var g=h.modrn(f).toString(e);n=(h=h.idivn(f)).isZero()?g+n:l[u-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function g(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;n.words[0]=a;for(var u=1;u<r;u++){for(var f=c>>>26,h=67108863&c,l=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=l;d++){var p=u-d|0;f+=(s=(i=0|e.words[p])*(o=0|t.words[d])+h)/67108864|0,h=67108863&s}n.words[u]=0|h,c=0|f}return 0!==c?n.words[u]=0|c:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,i),s},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var s=this.words[i]<<o|r;e[n++]=255&s,n<e.length&&(e[n++]=s>>8&255),n<e.length&&(e[n++]=s>>16&255),6===o?(n<e.length&&(e[n++]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n<e.length)for(e[n++]=r;n<e.length;)e[n++]=0},o.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,i=0,o=0;i<this.length;i++){var s=this.words[i]<<o|r;e[n--]=255&s,n>=0&&(e[n--]=s>>8&255),n>=0&&(e[n--]=s>>16&255),6===o?(n>=0&&(e[n--]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},o.prototype.ior=function(e){return r(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return r(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return r(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},o.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s<r.length;s++)o=(t=(0|n.words[s])-(0|r.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)o=(t=(0|n.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,o,s=e.words,a=t.words,c=n.words,u=0,f=0|s[0],h=8191&f,l=f>>>13,d=0|s[1],p=8191&d,g=d>>>13,m=0|s[2],b=8191&m,v=m>>>13,y=0|s[3],w=8191&y,_=y>>>13,E=0|s[4],S=8191&E,k=E>>>13,M=0|s[5],C=8191&M,A=M>>>13,x=0|s[6],I=8191&x,O=x>>>13,T=0|s[7],N=8191&T,j=T>>>13,z=0|s[8],P=8191&z,R=z>>>13,B=0|s[9],L=8191&B,D=B>>>13,U=0|a[0],F=8191&U,H=U>>>13,V=0|a[1],q=8191&V,K=V>>>13,$=0|a[2],Z=8191&$,J=$>>>13,G=0|a[3],W=8191&G,Y=G>>>13,X=0|a[4],Q=8191&X,ee=X>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,fe=0|a[8],he=8191&fe,le=fe>>>13,de=0|a[9],pe=8191&de,ge=de>>>13;n.negative=e.negative^t.negative,n.length=19;var me=(u+(r=Math.imul(h,F))|0)+((8191&(i=(i=Math.imul(h,H))+Math.imul(l,F)|0))<<13)|0;u=((o=Math.imul(l,H))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,r=Math.imul(p,F),i=(i=Math.imul(p,H))+Math.imul(g,F)|0,o=Math.imul(g,H);var be=(u+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,K)|0)+Math.imul(l,q)|0))<<13)|0;u=((o=o+Math.imul(l,K)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(b,F),i=(i=Math.imul(b,H))+Math.imul(v,F)|0,o=Math.imul(v,H),r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,K)|0;var ve=(u+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,J)|0)+Math.imul(l,Z)|0))<<13)|0;u=((o=o+Math.imul(l,J)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(w,F),i=(i=Math.imul(w,H))+Math.imul(_,F)|0,o=Math.imul(_,H),r=r+Math.imul(b,q)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,K)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,J)|0;var ye=(u+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(l,W)|0))<<13)|0;u=((o=o+Math.imul(l,Y)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(S,F),i=(i=Math.imul(S,H))+Math.imul(k,F)|0,o=Math.imul(k,H),r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(_,q)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,J)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,J)|0,r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(g,W)|0,o=o+Math.imul(g,Y)|0;var we=(u+(r=r+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(l,Q)|0))<<13)|0;u=((o=o+Math.imul(l,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(C,F),i=(i=Math.imul(C,H))+Math.imul(A,F)|0,o=Math.imul(A,H),r=r+Math.imul(S,q)|0,i=(i=i+Math.imul(S,K)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,J)|0)+Math.imul(_,Z)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(b,W)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(v,W)|0,o=o+Math.imul(v,Y)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,ee)|0;var _e=(u+(r=r+Math.imul(h,ne)|0)|0)+((8191&(i=(i=i+Math.imul(h,re)|0)+Math.imul(l,ne)|0))<<13)|0;u=((o=o+Math.imul(l,re)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(I,F),i=(i=Math.imul(I,H))+Math.imul(O,F)|0,o=Math.imul(O,H),r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,K)|0,r=r+Math.imul(S,Z)|0,i=(i=i+Math.imul(S,J)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,J)|0,r=r+Math.imul(w,W)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(_,W)|0,o=o+Math.imul(_,Y)|0,r=r+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0;var Ee=(u+(r=r+Math.imul(h,oe)|0)|0)+((8191&(i=(i=i+Math.imul(h,se)|0)+Math.imul(l,oe)|0))<<13)|0;u=((o=o+Math.imul(l,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,F),i=(i=Math.imul(N,H))+Math.imul(j,F)|0,o=Math.imul(j,H),r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,K)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,J)|0,r=r+Math.imul(S,W)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(k,W)|0,o=o+Math.imul(k,Y)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(b,ne)|0,i=(i=i+Math.imul(b,re)|0)+Math.imul(v,ne)|0,o=o+Math.imul(v,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0;var Se=(u+(r=r+Math.imul(h,ce)|0)|0)+((8191&(i=(i=i+Math.imul(h,ue)|0)+Math.imul(l,ce)|0))<<13)|0;u=((o=o+Math.imul(l,ue)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(P,F),i=(i=Math.imul(P,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(N,q)|0,i=(i=i+Math.imul(N,K)|0)+Math.imul(j,q)|0,o=o+Math.imul(j,K)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,J)|0)+Math.imul(O,Z)|0,o=o+Math.imul(O,J)|0,r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(A,W)|0,o=o+Math.imul(A,Y)|0,r=r+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,se)|0)+Math.imul(v,oe)|0,o=o+Math.imul(v,se)|0,r=r+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,ue)|0;var ke=(u+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,le)|0)+Math.imul(l,he)|0))<<13)|0;u=((o=o+Math.imul(l,le)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,F),i=(i=Math.imul(L,H))+Math.imul(D,F)|0,o=Math.imul(D,H),r=r+Math.imul(P,q)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(R,q)|0,o=o+Math.imul(R,K)|0,r=r+Math.imul(N,Z)|0,i=(i=i+Math.imul(N,J)|0)+Math.imul(j,Z)|0,o=o+Math.imul(j,J)|0,r=r+Math.imul(I,W)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(O,W)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,r=r+Math.imul(S,ne)|0,i=(i=i+Math.imul(S,re)|0)+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,se)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(b,ce)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(v,ce)|0,o=o+Math.imul(v,ue)|0,r=r+Math.imul(p,he)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(g,he)|0,o=o+Math.imul(g,le)|0;var Me=(u+(r=r+Math.imul(h,pe)|0)|0)+((8191&(i=(i=i+Math.imul(h,ge)|0)+Math.imul(l,pe)|0))<<13)|0;u=((o=o+Math.imul(l,ge)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,K))+Math.imul(D,q)|0,o=Math.imul(D,K),r=r+Math.imul(P,Z)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(R,Z)|0,o=o+Math.imul(R,J)|0,r=r+Math.imul(N,W)|0,i=(i=i+Math.imul(N,Y)|0)+Math.imul(j,W)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(A,ne)|0,o=o+Math.imul(A,re)|0,r=r+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,ue)|0,r=r+Math.imul(b,he)|0,i=(i=i+Math.imul(b,le)|0)+Math.imul(v,he)|0,o=o+Math.imul(v,le)|0;var Ce=(u+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((o=o+Math.imul(g,ge)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,J))+Math.imul(D,Z)|0,o=Math.imul(D,J),r=r+Math.imul(P,W)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(R,W)|0,o=o+Math.imul(R,Y)|0,r=r+Math.imul(N,Q)|0,i=(i=i+Math.imul(N,ee)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,ee)|0,r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,r=r+Math.imul(S,ce)|0,i=(i=i+Math.imul(S,ue)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,ue)|0,r=r+Math.imul(w,he)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(_,he)|0,o=o+Math.imul(_,le)|0;var Ae=(u+(r=r+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,ge)|0)+Math.imul(v,pe)|0))<<13)|0;u=((o=o+Math.imul(v,ge)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,W),i=(i=Math.imul(L,Y))+Math.imul(D,W)|0,o=Math.imul(D,Y),r=r+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(N,ne)|0,i=(i=i+Math.imul(N,re)|0)+Math.imul(j,ne)|0,o=o+Math.imul(j,re)|0,r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,se)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,r=r+Math.imul(S,he)|0,i=(i=i+Math.imul(S,le)|0)+Math.imul(k,he)|0,o=o+Math.imul(k,le)|0;var xe=(u+(r=r+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((o=o+Math.imul(_,ge)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,ee))+Math.imul(D,Q)|0,o=Math.imul(D,ee),r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(N,oe)|0,i=(i=i+Math.imul(N,se)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,se)|0,r=r+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,r=r+Math.imul(C,he)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(A,he)|0,o=o+Math.imul(A,le)|0;var Ie=(u+(r=r+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,ge)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,ge)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(D,ne)|0,o=Math.imul(D,re),r=r+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,se)|0,r=r+Math.imul(N,ce)|0,i=(i=i+Math.imul(N,ue)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,ue)|0,r=r+Math.imul(I,he)|0,i=(i=i+Math.imul(I,le)|0)+Math.imul(O,he)|0,o=o+Math.imul(O,le)|0;var Oe=(u+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,ge)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,ge)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,se))+Math.imul(D,oe)|0,o=Math.imul(D,se),r=r+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(R,ce)|0,o=o+Math.imul(R,ue)|0,r=r+Math.imul(N,he)|0,i=(i=i+Math.imul(N,le)|0)+Math.imul(j,he)|0,o=o+Math.imul(j,le)|0;var Te=(u+(r=r+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,ge)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,ce),i=(i=Math.imul(L,ue))+Math.imul(D,ce)|0,o=Math.imul(D,ue),r=r+Math.imul(P,he)|0,i=(i=i+Math.imul(P,le)|0)+Math.imul(R,he)|0,o=o+Math.imul(R,le)|0;var Ne=(u+(r=r+Math.imul(N,pe)|0)|0)+((8191&(i=(i=i+Math.imul(N,ge)|0)+Math.imul(j,pe)|0))<<13)|0;u=((o=o+Math.imul(j,ge)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(L,he),i=(i=Math.imul(L,le))+Math.imul(D,he)|0,o=Math.imul(D,le);var je=(u+(r=r+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,ge)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863;var ze=(u+(r=Math.imul(L,pe))|0)+((8191&(i=(i=Math.imul(L,ge))+Math.imul(D,pe)|0))<<13)|0;return u=((o=Math.imul(D,ge))+(i>>>13)|0)+(ze>>>26)|0,ze&=67108863,c[0]=me,c[1]=be,c[2]=ve,c[3]=ye,c[4]=we,c[5]=_e,c[6]=Ee,c[7]=Se,c[8]=ke,c[9]=Me,c[10]=Ce,c[11]=Ae,c[12]=xe,c[13]=Ie,c[14]=Oe,c[15]=Te,c[16]=Ne,c[17]=je,c[18]=ze,0!==u&&(c[19]=u,n.length++),n};function b(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var f=o-u,h=(0|e.words[f])*(0|t.words[u]),l=67108863&h;a=67108863&(l=l+a|0),i+=(s=(s=s+(h/67108864|0)|0)+(l>>>26)|0)>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function v(e,t,n){return b(e,t,n)}function y(e,t){this.x=e,this.y=t}Math.imul||(m=g),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?m(this,e,t):n<63?g(this,e,t):n<1024?b(this,e,t):v(this,e,t)},y.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},y.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},y.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s<o;s++)r[s]=t[e[s]],i[s]=n[e[s]]},y.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),f=0;f<i;f+=a)for(var h=c,l=u,d=0;d<s;d++){var p=n[f+d],g=r[f+d],m=n[f+d+s],b=r[f+d+s],v=h*m-l*b;b=h*b+l*m,m=v,n[f+d]=p+m,r[f+d]=g+b,n[f+d+s]=p-m,r[f+d+s]=g-b,d!==a&&(v=c*h-u*l,l=c*l+u*h,h=v)}},y.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},y.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},y.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},y.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(0==(-8192&o))},y.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},y.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),c=new Array(r),u=new Array(r),f=new Array(r),h=new Array(r),l=n.words;l.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,u,r),this.transform(s,o,a,c,r,i),this.transform(u,o,f,h,r,i);for(var d=0;d<r;d++){var p=a[d]*f[d]-c[d]*h[d];c[d]=a[d]*h[d]+c[d]*f[d],a[d]=p}return this.conjugate(a,c,r),this.transform(a,c,l,o,r,i),this.conjugate(l,o,r),this.normalize13b(l,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),v(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"==typeof e),r(e<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,s=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=s>>>26,this.words[i]=67108863&s}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=e.words[r]>>>i&1}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<n;this.words[t]=c|s,s=a>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=n;if(i-=s,i=Math.max(0,i),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var f=0;for(u=this.length-1;u>=0&&(0!==f||u>=i);u--){var h=0|this.words[u];this.words[u]=f<<26-o|h>>>o,f=h&a}return c&&0!==f&&(c.words[c.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,s=e.length+n;this._expand(s);var a=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)a=(o=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&o;if(0===a)return this._strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(o=-(0|this.words[i])+a)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,c=r.length-i.length;if("mod"!==t){(a=new o(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var f=r.clone()._ishlnsubmul(i,1,c);0===f.negative&&(r=f,a&&(a.words[c]=1));for(var h=c-1;h>=0;h--){var l=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(l=Math.min(l/s|0,67108863),r._ishlnsubmul(i,l,h);0!==r.negative;)l--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);a&&(a.words[h]=l)}return a&&a._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),c=new o(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var f=n.clone(),h=t.clone();!t.isZero();){for(var l=0,d=1;0==(t.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(t.iushrn(l);l-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(f),s.isub(h)),i.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(f),c.isub(h)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(c)):(n.isub(t),a.isub(i),c.isub(s))}return{a:a,b:c,gcd:n.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,s=new o(1),a=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,f=1;0==(t.words[0]&f)&&u<26;++u,f<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var h=0,l=1;0==(n.words[0]&l)&&h<26;++h,l<<=1);if(h>0)for(n.iushrn(h);h-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return(i=0===t.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var w={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function A(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},i(E,_),E.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&n)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},E.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,_),i(k,_),i(M,_),M.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(w[e])return w[e];var t;if("k256"===e)t=new E;else if("p224"===e)t=new S;else if("p192"===e)t=new k;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return w[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(f(e,e.umod(this.m)._forceRed(this)),e)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,u).cmp(c);)f.redIAdd(c);for(var h=this.pow(f,i),l=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;0!==d.cmp(a);){for(var g=d,m=0;0!==g.cmp(a);m++)g=g.redSqr();r(m<p);var b=this.pow(h,new o(1).iushln(p-m-1));l=l.redMul(b),h=b.redSqr(),d=d.redMul(h),p=m}return l},C.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),r=t.length-1;r>=0;r--){for(var u=t.words[r],f=c-1;f>=0;f--){var h=u>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==s?(s<<=1,s|=h,(4===++a||0===r&&0===f)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}c=26}return i},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new A(e)},i(A,C),A.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},A.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},A.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},A.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},A.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},98707:function(e,t,n){var r=n(52221);e.exports=function(e){var t=null,n=r(e);if(3===e.nodeType){var i=n.createRange();i.selectNodeContents(e),e=i}if("function"==typeof e.getBoundingClientRect&&(t=e.getBoundingClientRect(),e.startContainer&&0===t.left&&0===t.top)){var o=n.createElement("span");o.appendChild(n.createTextNode("​")),e.insertNode(o),t=o.getBoundingClientRect();var s=o.parentNode;s.removeChild(o),s.normalize()}return t}},71876:function(e,t,n){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n<t.length;n++)t[n]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=n(69627);if("function"!=typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},9111:function(e,t,n){var r=n(37225).Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i<t;i++)n[i]=e.readUInt32BE(4*i);return n}function o(e){for(;0<e.length;e++)e[0]=0}function s(e,t,n,r,i){for(var o,s,a,c,u=n[0],f=n[1],h=n[2],l=n[3],d=e[0]^t[0],p=e[1]^t[1],g=e[2]^t[2],m=e[3]^t[3],b=4,v=1;v<i;v++)o=u[d>>>24]^f[p>>>16&255]^h[g>>>8&255]^l[255&m]^t[b++],s=u[p>>>24]^f[g>>>16&255]^h[m>>>8&255]^l[255&d]^t[b++],a=u[g>>>24]^f[m>>>16&255]^h[d>>>8&255]^l[255&p]^t[b++],c=u[m>>>24]^f[d>>>16&255]^h[p>>>8&255]^l[255&g]^t[b++],d=o,p=s,g=a,m=c;return o=(r[d>>>24]<<24|r[p>>>16&255]<<16|r[g>>>8&255]<<8|r[255&m])^t[b++],s=(r[p>>>24]<<24|r[g>>>16&255]<<16|r[m>>>8&255]<<8|r[255&d])^t[b++],a=(r[g>>>24]<<24|r[m>>>16&255]<<16|r[d>>>8&255]<<8|r[255&p])^t[b++],c=(r[m>>>24]<<24|r[d>>>16&255]<<16|r[p>>>8&255]<<8|r[255&g])^t[b++],[o>>>=0,s>>>=0,a>>>=0,c>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,c=0;c<256;++c){var u=a^a<<1^a<<2^a<<3^a<<4;u=u>>>8^255&u^99,n[s]=u,r[u]=s;var f=e[s],h=e[f],l=e[h],d=257*e[u]^16843008*u;i[0][s]=d<<24|d>>>8,i[1][s]=d<<16|d>>>16,i[2][s]=d<<8|d>>>24,i[3][s]=d,d=16843009*l^65537*h^257*f^16843008*s,o[0][u]=d<<24|d>>>8,o[1][u]=d<<16|d>>>16,o[2][u]=d<<8|d>>>24,o[3][u]=d,0===s?s=a=1:(s=f^e[e[e[l^f]]],a^=e[e[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<r;o++){var s=i[o-1];o%t==0?(s=s<<8|s>>>24,s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s],s^=a[o/t|0]<<24):t>6&&o%t==4&&(s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s]),i[o]=i[o-t]^s}for(var u=[],f=0;f<r;f++){var h=r-f,l=i[h-(f%4?0:4)];u[f]=f<4||h<=4?l:c.INV_SUB_MIX[0][c.SBOX[l>>>24]]^c.INV_SUB_MIX[1][c.SBOX[l>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[l>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&l]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return s(e=i(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},u.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=s(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=u},43667:function(e,t,n){var r=n(9111),i=n(37225).Buffer,o=n(69239),s=n(59503),a=n(83579),c=n(35375),u=n(35127);function f(e,t,n,s){o.call(this);var c=i.alloc(4,0);this._cipher=new r.AES(t);var f=this._cipher.encryptBlock(c);this._ghash=new a(f),n=function(e,t,n){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new a(n),o=t.length,s=o%16;r.update(t),s&&(s=16-s,r.update(i.alloc(s,0))),r.update(i.alloc(8,0));var c=8*o,f=i.alloc(8);f.writeUIntBE(c,0,8),r.update(f),e._finID=r.state;var h=i.from(e._finID);return u(h),h}(this,n,f),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}s(f,o),f.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},f.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i<r;++i)n+=e[i]^t[i];return n}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},f.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},f.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},f.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=f},6123:function(e,t,n){var r=n(37180),i=n(68161),o=n(4317);t.createCipher=t.Cipher=r.createCipher,t.createCipheriv=t.Cipheriv=r.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(o)}},68161:function(e,t,n){var r=n(43667),i=n(37225).Buffer,o=n(54354),s=n(76085),a=n(69239),c=n(9111),u=n(51105);function f(e,t,n){a.call(this),this._cache=new h,this._last=void 0,this._cipher=new c.AES(t),this._prev=i.from(n),this._mode=e,this._autopadding=!0}function h(){this.cache=i.allocUnsafe(0)}function l(e,t,n){var a=o[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=i.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new s(a.module,t,n,!0):"auth"===a.type?new r(a.module,t,n,!0):new f(a.module,t,n)}n(59503)(f,a),f.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),r.push(n);return i.concat(r)},f.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var n=-1;for(;++n<t;)if(e[n+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},f.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=i.concat([this.cache,e])},h.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=o[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=u(t,!1,n.key,n.iv);return l(e,r.key,r.iv)},t.createDecipheriv=l},37180:function(e,t,n){var r=n(54354),i=n(43667),o=n(37225).Buffer,s=n(76085),a=n(69239),c=n(9111),u=n(51105);function f(e,t,n){a.call(this),this._cache=new l,this._cipher=new c.AES(t),this._prev=o.from(n),this._mode=e,this._autopadding=!0}n(59503)(f,a),f.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return o.concat(r)};var h=o.alloc(16,16);function l(){this.cache=o.allocUnsafe(0)}function d(e,t,n){var a=r[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof n&&(n=o.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===a.type?new s(a.module,t,n):"auth"===a.type?new i(a.module,t,n):new f(a.module,t,n)}f.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},f.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},l.prototype.add=function(e){this.cache=o.concat([this.cache,e])},l.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},l.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),n=-1;++n<e;)t.writeUInt8(e,n);return o.concat([this.cache,t])},t.createCipheriv=d,t.createCipher=function(e,t){var n=r[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=u(t,!1,n.key,n.iv);return d(e,i.key,i.iv)}},83579:function(e,t,n){var r=n(37225).Buffer,i=r.alloc(16,0);function o(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},s.prototype._multiply=function(){for(var e,t,n,r=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],s=-1;++s<128;){for(0!=(this.state[~~(s/8)]&1<<7-s%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),t=3;t>0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},s.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=s},35127:function(e){e.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},62113:function(e,t,n){var r=n(35375);t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},1634:function(e,t,n){var r=n(37225).Buffer,i=n(35375);function o(e,t,n){var o=t.length,s=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:s]),s}t.encrypt=function(e,t,n){for(var i,s=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){s=r.concat([s,o(e,t,n)]);break}i=e._cache.length,s=r.concat([s,o(e,t.slice(0,i),n)]),t=t.slice(i)}return s}},34422:function(e,t,n){var r=n(37225).Buffer;function i(e,t,n){for(var r,i,s=-1,a=0;++s<8;)r=t&1<<7-s?128:0,a+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>s%8,e._prev=o(e._prev,n?r:i);return a}function o(e,t){var n=e.length,i=-1,o=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i<n;)o[i]=e[i]<<1|e[i+1]>>7;return o}t.encrypt=function(e,t,n){for(var o=t.length,s=r.allocUnsafe(o),a=-1;++a<o;)s[a]=i(e,t[a],n);return s}},46750:function(e,t,n){var r=n(37225).Buffer;function i(e,t,n){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([n?t:i])]),i}t.encrypt=function(e,t,n){for(var o=t.length,s=r.allocUnsafe(o),a=-1;++a<o;)s[a]=i(e,t[a],n);return s}},92204:function(e,t,n){var r=n(35375),i=n(37225).Buffer,o=n(35127);function s(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}t.encrypt=function(e,t){var n=Math.ceil(t.length/16),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*n)]);for(var a=0;a<n;a++){var c=s(e),u=o+16*a;e._cache.writeUInt32BE(c[0],u+0),e._cache.writeUInt32BE(c[1],u+4),e._cache.writeUInt32BE(c[2],u+8),e._cache.writeUInt32BE(c[3],u+12)}var f=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,f)}},59252:function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},54354:function(e,t,n){var r={ECB:n(59252),CBC:n(62113),CFB:n(1634),CFB8:n(46750),CFB1:n(34422),OFB:n(985),CTR:n(92204),GCM:n(92204)},i=n(4317);for(var o in i)i[o].module=r[i[o].mode];e.exports=i},985:function(e,t,n){var r=n(90778).Buffer,i=n(35375);function o(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=r.concat([e._cache,o(e)]);var n=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),i(t,n)}},76085:function(e,t,n){var r=n(9111),i=n(37225).Buffer,o=n(69239);function s(e,t,n,s){o.call(this),this._cipher=new r.AES(t),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._mode=e}n(59503)(s,o),s.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},e.exports=s},83936:function(e,t,n){var r=n(63079),i=n(6123),o=n(54354),s=n(52324),a=n(51105);function c(e,t,n){if(e=e.toLowerCase(),o[e])return i.createCipheriv(e,t,n);if(s[e])return new r({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function u(e,t,n){if(e=e.toLowerCase(),o[e])return i.createDecipheriv(e,t,n);if(s[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");n=8*s[e].key,r=s[e].iv}var i=a(t,!1,n,r);return c(e,i.key,i.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");n=8*s[e].key,r=s[e].iv}var i=a(t,!1,n,r);return u(e,i.key,i.iv)},t.createDecipheriv=t.Decipheriv=u,t.listCiphers=t.getCiphers=function(){return Object.keys(s).concat(i.getCiphers())}},63079:function(e,t,n){var r=n(69239),i=n(98625),o=n(59503),s=n(37225).Buffer,a={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(e){r.call(this);var t,n=e.mode.toLowerCase(),i=a[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;s.isBuffer(o)||(o=s.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=s.concat([o,o.slice(0,8)]));var c=e.iv;s.isBuffer(c)||(c=s.from(c)),this._des=i.create({key:o,iv:c,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],e.exports=c,o(c,r),c.prototype._update=function(e){return s.from(this._des.update(e))},c.prototype._final=function(){return s.from(this._des.final())}},52324:function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},8568:function(e,t,n){var r=n(90778).Buffer,i=n(53380),o=n(35175);function s(e){var t,n=e.modulus.byteLength();do{t=new i(o(n))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function a(e,t){var n=function(e){var t=s(e);return{blinder:t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),o=t.modulus.byteLength(),a=new i(e).mul(n.blinder).umod(t.modulus),c=a.toRed(i.mont(t.prime1)),u=a.toRed(i.mont(t.prime2)),f=t.coefficient,h=t.prime1,l=t.prime2,d=c.redPow(t.exponent1).fromRed(),p=u.redPow(t.exponent2).fromRed(),g=d.isub(p).imul(f).umod(h).imul(l);return p.iadd(g).imul(n.unblinder).umod(t.modulus).toArrayLike(r,"be",o)}a.getr=s,e.exports=a},60451:function(e,t,n){e.exports=n(1877)},29908:function(e,t,n){var r=n(37225).Buffer,i=n(77439),o=n(7130),s=n(59503),a=n(75043),c=n(53075),u=n(1877);function f(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function l(e){return new f(e)}function d(e){return new h(e)}Object.keys(u).forEach((function(e){u[e].id=r.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]})),s(f,o.Writable),f.prototype._write=function(e,t,n){this._hash.update(e),n()},f.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},f.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=a(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},s(h,o.Writable),h.prototype._write=function(e,t,n){this._hash.update(e),n()},h.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},h.prototype.verify=function(e,t,n){"string"==typeof t&&(t=r.from(t,n)),this.end();var i=this._hash.digest();return c(t,i,e,this._signType,this._tag)},e.exports={Sign:l,Verify:d,createSign:l,createVerify:d}},75043:function(e,t,n){var r=n(37225).Buffer,i=n(40445),o=n(8568),s=n(73931).ec,a=n(53380),c=n(87758),u=n(72968);function f(e,t,n,o){if((e=r.from(e.toArray())).length<t.byteLength()){var s=r.alloc(t.byteLength()-e.length);e=r.concat([s,e])}var a=n.length,c=function(e,t){e=(e=h(e,t)).mod(t);var n=r.from(e.toArray());if(n.length<t.byteLength()){var i=r.alloc(t.byteLength()-n.length);n=r.concat([i,n])}return n}(n,t),u=r.alloc(a);u.fill(1);var f=r.alloc(a);return f=i(o,f).update(u).update(r.from([0])).update(e).update(c).digest(),u=i(o,f).update(u).digest(),{k:f=i(o,f).update(u).update(r.from([1])).update(e).update(c).digest(),v:u=i(o,f).update(u).digest()}}function h(e,t){var n=new a(e),r=(e.length<<3)-t.bitLength();return r>0&&n.ishrn(r),n}function l(e,t,n){var o,s;do{for(o=r.alloc(0);8*o.length<e.bitLength();)t.v=i(n,t.k).update(t.v).digest(),o=r.concat([o,t.v]);s=h(o,e),t.k=i(n,t.k).update(t.v).update(r.from([0])).digest(),t.v=i(n,t.k).update(t.v).digest()}while(-1!==s.cmp(e));return s}function d(e,t,n,r){return e.toRed(a.mont(n)).redPow(t).fromRed().mod(r)}e.exports=function(e,t,n,i,p){var g=c(t);if(g.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(e,t){var n=u[t.curve.join(".")];if(!n)throw new Error("unknown curve "+t.curve.join("."));var i=new s(n).keyFromPrivate(t.privateKey).sign(e);return r.from(i.toDER())}(e,g)}if("dsa"===g.type){if("dsa"!==i)throw new Error("wrong private key type");return function(e,t,n){var i,o=t.params.priv_key,s=t.params.p,c=t.params.q,u=t.params.g,p=new a(0),g=h(e,c).mod(c),m=!1,b=f(o,c,e,n);for(;!1===m;)p=d(u,i=l(c,b,n),s,c),0===(m=i.invm(c).imul(g.add(o.mul(p))).mod(c)).cmpn(0)&&(m=!1,p=new a(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e));128&t[0]&&(t=[0].concat(t));var n=[48,e.length+t.length+4,2,e.length];return n=n.concat(e,[2,t.length],t),r.from(n)}(p,m)}(e,g,n)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");e=r.concat([p,e]);for(var m=g.modulus.byteLength(),b=[0,1];e.length+b.length+1<m;)b.push(255);b.push(0);for(var v=-1;++v<e.length;)b.push(e[v]);return o(b,g)},e.exports.getKey=f,e.exports.makeKey=l},53075:function(e,t,n){var r=n(37225).Buffer,i=n(53380),o=n(73931).ec,s=n(87758),a=n(72968);function c(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,t,n,u,f){var h=s(n);if("ec"===h.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,n){var r=a[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),s=n.data.subjectPrivateKey.data;return i.verify(t,e,s)}(e,t,h)}if("dsa"===h.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,o=n.data.q,a=n.data.g,u=n.data.pub_key,f=s.signature.decode(e,"der"),h=f.s,l=f.r;c(h,o),c(l,o);var d=i.mont(r),p=h.invm(o);return 0===a.toRed(d).redPow(new i(t).mul(p).mod(o)).fromRed().mul(u.toRed(d).redPow(l.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(l)}(e,t,h)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=r.concat([f,t]);for(var l=h.modulus.byteLength(),d=[1],p=0;t.length+d.length+2<l;)d.push(255),p++;d.push(0);for(var g=-1;++g<t.length;)d.push(t[g]);d=r.from(d);var m=i.mont(h.modulus);e=(e=new i(e).toRed(m)).redPow(new i(h.publicExponent)),e=r.from(e.fromRed().toArray());var b=p<8?1:0;for(l=Math.min(e.length,d.length),e.length!==d.length&&(b=1),g=-1;++g<l;)b|=e[g]^d[g];return 0===b}},35375:function(e,t,n){var r=n(90778).Buffer;e.exports=function(e,t){for(var n=Math.min(e.length,t.length),i=new r(n),o=0;o<n;++o)i[o]=e[o]^t[o];return i}},90778:function(e,t,n){"use strict";var r=n(55246);const i=n(62803),o=n(23644),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function c(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return f(e,t,n)}function f(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=c(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(W(e,Uint8Array)){const t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(W(e,ArrayBuffer)||e&&W(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(W(e,SharedArrayBuffer)||e&&W(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const i=function(e){if(u.isBuffer(e)){const t=0|g(e.length),n=c(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||Y(e.length)?c(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function h(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return h(e),c(e<0?0:0|g(e))}function d(e){const t=e.length<0?0:0|g(e.length),n=c(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function g(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||W(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(e).length;default:if(i)return r?-1:Z(e).length;t=(""+t).toLowerCase(),i=!0}}function b(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return I(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Y(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:w(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):w(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function w(e,t,n,r,i){let o,s=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,n/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){let r=-1;for(o=n;o<a;o++)if(u(e,o)===u(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===c)return r*s}else-1!==r&&(o-=o-r),r=-1}else for(n+c>a&&(n=a-c),o=n;o>=0;o--){let n=!0;for(let r=0;r<c;r++)if(u(e,o+r)!==u(t,r)){n=!1;break}if(n)return o}return-1}function _(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let s;for(r>o/2&&(r=o/2),s=0;s<r;++s){const r=parseInt(t.substr(2*s,2),16);if(Y(r))return s;e[n+s]=r}return s}function E(e,t,n,r){return G(Z(t,e.length-n),e,n,r)}function S(e,t,n,r){return G(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function k(e,t,n,r){return G(J(t),e,n,r)}function M(e,t,n,r){return G(function(e,t){let n,r,i;const o=[];for(let s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,s=t>239?4:t>223?3:t>191?2:1;if(i+s<=n){let n,r,a,c;switch(s){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128==(192&n)&&(c=(31&t)<<6|63&n,c>127&&(o=c));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(c=(15&t)<<12|(63&n)<<6|63&r,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:n=e[i+1],r=e[i+2],a=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&a)&&(c=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&a,c>65535&&c<1114112&&(o=c))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=s}return function(e){const t=e.length;if(t<=x)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=x));return n}(r)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||void 0===r||"function"!=typeof r.error||r.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return f(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return h(e),e<=0?c(e):void 0!==t?"string"==typeof n?c(e).fill(t,n):c(e).fill(t):c(e)}(e,t,n)},u.allocUnsafe=function(e){return l(e)},u.allocUnsafeSlow=function(e){return l(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(W(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),W(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(W(t,Uint8Array))i+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):b.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},s&&(u.prototype[s]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,i){if(W(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0);const a=Math.min(o,s),c=this.slice(r,i),f=e.slice(t,n);for(let e=0;e<a;++e)if(c[e]!==f[e]){o=c[e],s=f[e];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":case"latin1":case"binary":return S(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const x=4096;function I(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function O(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function T(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=X[e[r]];return i}function N(e,t,n){const r=e.slice(t,n);let i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}function j(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function z(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r,i){V(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,n}function R(e,t,n,r,i){V(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=s,s>>=8,e[n+2]=s,s>>=8,e[n+1]=s,s>>=8,e[n]=s,n+8}function B(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,i){return t=+t,n>>>=0,i||B(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,i){return t=+t,n>>>=0,i||B(e,0,n,8),o.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),u.prototype.readBigUInt64BE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||j(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||j(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),u.prototype.readBigInt64BE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||j(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){z(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){z(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Q((function(e,t=0){return P(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Q((function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);z(this,e,t,n,r-1,-r)}let i=0,o=1,s=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);z(this,e,t,n,r-1,-r)}let i=n-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Q((function(e,t=0){return P(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Q((function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=u.isBuffer(e)?e:u.from(e,r),s=o.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%s]}return this};const U={};function F(e,t,n){U[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function H(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function V(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new U.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||K(t,e.length-(n+1))}(r,i,o)}function q(e,t){if("number"!=typeof e)throw new U.ERR_INVALID_ARG_TYPE(t,"number",e)}function K(e,t,n){if(Math.floor(e)!==e)throw q(e,n),new U.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new U.ERR_BUFFER_OUT_OF_BOUNDS;throw new U.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}F("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),F("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),F("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=H(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=H(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r}),RangeError);const $=/[^+/0-9A-Za-z-_]/g;function Z(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let s=0;s<r;++s){if(n=e.charCodeAt(s),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function J(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function G(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function W(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function Q(e){return"undefined"==typeof BigInt?ee:e}function ee(){throw new Error("BigInt not supported")}},16422:function(e,t,n){"use strict";var r=n(25165),i=n(43120),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},43120:function(e,t,n){"use strict";var r=n(75433),i=n(25165),o=i("%Function.prototype.apply%"),s=i("%Function.prototype.call%"),a=i("%Reflect.apply%",!0)||r.call(s,o),c=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),f=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=a(r,s,arguments);if(c&&u){var n=c(t,"length");n.configurable&&u(t,"length",{value:1+f(0,e.length-(arguments.length-1))})}return t};var h=function(){return a(r,o,arguments)};u?u(e.exports,"apply",{value:h}):e.exports.apply=h},69239:function(e,t,n){var r=n(37225).Buffer,i=n(81717).Transform,o=n(3247).s;function s(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(59503)(s,i),s.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){r=e}finally{n(r)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=s},89105:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var s=i.apply(null,n);s&&e.push(s)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var a in n)r.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},26767:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(6670));t.default=c;var i=s(n(58407)),o=s(n(96121));function s(e){return e&&e.__esModule?e:{default:e}}var a=new r.default;function c(e,t){return a.set(e,t),function(){a.delete(e)}}function u(e){a.forEach((function(t,n){(0,o.default)(n,e.target)||t.call(n,e)}))}function f(e){e||(e=document),i.default.bind(e,"click",u)}c.globalClick=u,c.install=f,"undefined"!=typeof document&&f(document),e.exports=t.default},58407:function(e,t){var n=window.addEventListener?"addEventListener":"attachEvent",r=window.removeEventListener?"removeEventListener":"detachEvent",i="addEventListener"!==n?"on":"";t.bind=function(e,t,r,o){return e[n](i+t,r,o||!1),r},t.unbind=function(e,t,n,o){return e[r](i+t,n,o||!1),n}},97236:function(e,t,n){function r(e){var t,n;for(t=[],n=0;n<e.length;n++)t.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_"[e[n]%64]);return t.join("")}e.exports=function(e){if("undefined"!=typeof window){if(void 0!==window.crypto)return r(window.crypto.getRandomValues(new Uint8Array(e)));for(var t=new Array(e),i=0;i<e;i++)t[i]=Math.floor(256*Math.random());return r(t)}var o=n(50142);try{return r(o.randomBytes(e))}catch(t){return r(o.pseudoRandomBytes(e))}}},55246:function(e,t,n){var r=n(23333),i=n(90605);function o(){return(new Date).getTime()}var s,a=Array.prototype.slice,c={};s="undefined"!=typeof window&&window.console||"undefined"!=typeof window&&window.console?window.console:{};for(var u=[[function(){},"log"],[function(){s.log.apply(s,arguments)},"info"],[function(){s.log.apply(s,arguments)},"warn"],[function(){s.warn.apply(s,arguments)},"error"],[function(e){c[e]=o()},"time"],[function(e){var t=c[e];if(!t)throw new Error("No such label: "+e);delete c[e];var n=o()-t;s.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),s.error(e.stack)},"trace"],[function(e){s.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=a.call(arguments,1);i.ok(!1,r.format.apply(null,t))}},"assert"]],f=0;f<u.length;f++){var h=u[f],l=h[0],d=h[1];s[d]||(s[d]=l)}e.exports=s},92916:function(e,t,n){n(14183),n(45817),n(63564),n(89118),n(28623),n(17310),n(46495),e.exports=n(76891).Map},30841:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},93126:function(e){e.exports=function(){}},82895:function(e){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},7567:function(e,t,n){var r=n(77418);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},96384:function(e,t,n){var r=n(56281);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},70110:function(e,t,n){var r=n(29236),i=n(82561),o=n(49012);e.exports=function(e){return function(t,n,s){var a,c=r(t),u=i(c.length),f=o(s,u);if(e&&n!=n){for(;u>f;)if((a=c[f++])!=a)return!0}else for(;u>f;f++)if((e||f in c)&&c[f]===n)return e||f||0;return!e&&-1}}},94781:function(e,t,n){var r=n(66897),i=n(59589),o=n(68061),s=n(82561),a=n(89615);e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,f=4==e,h=6==e,l=5==e||h,d=t||a;return function(t,a,p){for(var g,m,b=o(t),v=i(b),y=r(a,p,3),w=s(v.length),_=0,E=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((l||_ in v)&&(m=y(g=v[_],_,b),e))if(n)E[_]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:E.push(g)}else if(f)return!1;return h?-1:u||f?f:E}}},75015:function(e,t,n){var r=n(77418),i=n(18457),o=n(65773)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},89615:function(e,t,n){var r=n(75015);e.exports=function(e,t){return new(r(e))(t)}},42318:function(e,t,n){var r=n(51695),i=n(65773)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},51695:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},38636:function(e,t,n){"use strict";var r=n(635).f,i=n(39638),o=n(34887),s=n(66897),a=n(82895),c=n(56281),u=n(91851),f=n(61407),h=n(5765),l=n(88599),d=n(74177).fastKey,p=n(39696),g=l?"_s":"size",m=function(e,t){var n,r=d(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var f=e((function(e,r){a(e,f,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[g]=0,null!=r&&c(r,n,e[u],e)}));return o(f.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[g]=0},delete:function(e){var n=p(this,t),r=m(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[g]--}return!!r},forEach:function(e){p(this,t);for(var n,r=s(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!m(p(this,t),e)}}),l&&r(f.prototype,"size",{get:function(){return p(this,t)[g]}}),f},def:function(e,t,n){var r,i,o=m(e,t);return o?o.v=n:(e._l=o={i:i=d(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[g]++,"F"!==i&&(e._i[i]=o)),e},getEntry:m,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?f(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,f(1))}),n?"entries":"values",!n,!0),h(t)}}},35353:function(e,t,n){var r=n(42318),i=n(96384);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},85770:function(e,t,n){"use strict";var r=n(59507),i=n(87043),o=n(74177),s=n(3641),a=n(82283),c=n(34887),u=n(56281),f=n(82895),h=n(77418),l=n(7891),d=n(635).f,p=n(94781)(0),g=n(88599);e.exports=function(e,t,n,m,b,v){var y=r[e],w=y,_=b?"set":"add",E=w&&w.prototype,S={};return g&&"function"==typeof w&&(v||E.forEach&&!s((function(){(new w).entries().next()})))?(w=t((function(t,n){f(t,w,e,"_c"),t._c=new y,null!=n&&u(n,b,t[_],t)})),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),(function(e){var t="add"==e||"set"==e;!(e in E)||v&&"clear"==e||a(w.prototype,e,(function(n,r){if(f(this,w,e),!t&&v&&!h(n))return"get"==e&&void 0;var i=this._c[e](0===n?0:n,r);return t?this:i}))})),v||d(w.prototype,"size",{get:function(){return this._c.size}})):(w=m.getConstructor(t,e,b,_),c(w.prototype,n),o.NEED=!0),l(w,e),S[e]=w,i(i.G+i.W+i.F,S),v||m.setStrong(w,e,b),w}},76891:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},66897:function(e,t,n){var r=n(30841);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},91625:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},88599:function(e,t,n){e.exports=!n(3641)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},14595:function(e,t,n){var r=n(77418),i=n(59507).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},93900:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},87043:function(e,t,n){var r=n(59507),i=n(76891),o=n(66897),s=n(82283),a=n(6649),c=function(e,t,n){var u,f,h,l=e&c.F,d=e&c.G,p=e&c.S,g=e&c.P,m=e&c.B,b=e&c.W,v=d?i:i[t]||(i[t]={}),y=v.prototype,w=d?r:p?r[t]:(r[t]||{}).prototype;for(u in d&&(n=t),n)(f=!l&&w&&void 0!==w[u])&&a(v,u)||(h=f?w[u]:n[u],v[u]=d&&"function"!=typeof w[u]?n[u]:m&&f?o(h,r):b&&w[u]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((v.virtual||(v.virtual={}))[u]=h,e&c.R&&y&&!y[u]&&s(y,u,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},3641:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},56281:function(e,t,n){var r=n(66897),i=n(65201),o=n(19959),s=n(7567),a=n(82561),c=n(68246),u={},f={},h=e.exports=function(e,t,n,h,l){var d,p,g,m,b=l?function(){return e}:c(e),v=r(n,h,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(o(b)){for(d=a(e.length);d>y;y++)if((m=t?v(s(p=e[y])[0],p[1]):v(e[y]))===u||m===f)return m}else for(g=b.call(e);!(p=g.next()).done;)if((m=i(g,v,p.value,t))===u||m===f)return m};h.BREAK=u,h.RETURN=f},59507:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},6649:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},82283:function(e,t,n){var r=n(635),i=n(2632);e.exports=n(88599)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},42232:function(e,t,n){var r=n(59507).document;e.exports=r&&r.documentElement},30801:function(e,t,n){e.exports=!n(88599)&&!n(3641)((function(){return 7!=Object.defineProperty(n(14595)("div"),"a",{get:function(){return 7}}).a}))},59589:function(e,t,n){var r=n(51695);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},19959:function(e,t,n){var r=n(43617),i=n(65773)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},18457:function(e,t,n){var r=n(51695);e.exports=Array.isArray||function(e){return"Array"==r(e)}},77418:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},65201:function(e,t,n){var r=n(7567);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},11949:function(e,t,n){"use strict";var r=n(39638),i=n(2632),o=n(7891),s={};n(82283)(s,n(65773)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(s,{next:i(1,n)}),o(e,t+" Iterator")}},91851:function(e,t,n){"use strict";var r=n(35145),i=n(87043),o=n(52820),s=n(82283),a=n(43617),c=n(11949),u=n(7891),f=n(1503),h=n(65773)("iterator"),l=!([].keys&&"next"in[].keys()),d="keys",p="values",g=function(){return this};e.exports=function(e,t,n,m,b,v,y){c(n,t,m);var w,_,E,S=function(e){if(!l&&e in A)return A[e];switch(e){case d:case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",M=b==p,C=!1,A=e.prototype,x=A[h]||A["@@iterator"]||b&&A[b],I=x||S(b),O=b?M?S("entries"):I:void 0,T="Array"==t&&A.entries||x;if(T&&(E=f(T.call(new e)))!==Object.prototype&&E.next&&(u(E,k,!0),r||"function"==typeof E[h]||s(E,h,g)),M&&x&&x.name!==p&&(C=!0,I=function(){return x.call(this)}),r&&!y||!l&&!C&&A[h]||s(A,h,I),a[t]=I,a[k]=g,b)if(w={values:M?I:S(p),keys:v?I:S(d),entries:O},y)for(_ in w)_ in A||o(A,_,w[_]);else i(i.P+i.F*(l||C),t,w);return w}},61407:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},43617:function(e){e.exports={}},35145:function(e){e.exports=!0},74177:function(e,t,n){var r=n(62994)("meta"),i=n(77418),o=n(6649),s=n(635).f,a=0,c=Object.isExtensible||function(){return!0},u=!n(3641)((function(){return c(Object.preventExtensions({}))})),f=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},h=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!c(e))return"F";if(!t)return"E";f(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!c(e))return!0;if(!t)return!1;f(e)}return e[r].w},onFreeze:function(e){return u&&h.NEED&&c(e)&&!o(e,r)&&f(e),e}}},39638:function(e,t,n){var r=n(7567),i=n(58906),o=n(93900),s=n(53588)("IE_PROTO"),a=function(){},c=function(){var e,t=n(14595)("iframe"),r=o.length;for(t.style.display="none",n(42232).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[o[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=r(e),n=new a,a.prototype=null,n[s]=e):n=c(),void 0===t?n:i(n,t)}},635:function(e,t,n){var r=n(7567),i=n(30801),o=n(91032),s=Object.defineProperty;t.f=n(88599)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},58906:function(e,t,n){var r=n(635),i=n(7567),o=n(65915);e.exports=n(88599)?Object.defineProperties:function(e,t){i(e);for(var n,s=o(t),a=s.length,c=0;a>c;)r.f(e,n=s[c++],t[n]);return e}},1503:function(e,t,n){var r=n(6649),i=n(68061),o=n(53588)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},93255:function(e,t,n){var r=n(6649),i=n(29236),o=n(70110)(!1),s=n(53588)("IE_PROTO");e.exports=function(e,t){var n,a=i(e),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;t.length>c;)r(a,n=t[c++])&&(~o(u,n)||u.push(n));return u}},65915:function(e,t,n){var r=n(93255),i=n(93900);e.exports=Object.keys||function(e){return r(e,i)}},2632:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},34887:function(e,t,n){var r=n(82283);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},52820:function(e,t,n){e.exports=n(82283)},46199:function(e,t,n){"use strict";var r=n(87043),i=n(30841),o=n(66897),s=n(56281);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,a,c=arguments[1];return i(this),(t=void 0!==c)&&i(c),null==e?new this:(n=[],t?(r=0,a=o(c,arguments[2],2),s(e,!1,(function(e){n.push(a(e,r++))}))):s(e,!1,n.push,n),new this(n))}})}},20727:function(e,t,n){"use strict";var r=n(87043);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},5765:function(e,t,n){"use strict";var r=n(59507),i=n(76891),o=n(635),s=n(88599),a=n(65773)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];s&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},7891:function(e,t,n){var r=n(635).f,i=n(6649),o=n(65773)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},53588:function(e,t,n){var r=n(82154)("keys"),i=n(62994);e.exports=function(e){return r[e]||(r[e]=i(e))}},82154:function(e,t,n){var r=n(76891),i=n(59507),o="__core-js_shared__",s=i[o]||(i[o]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(35145)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},1095:function(e,t,n){var r=n(48921),i=n(91625);e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),c=r(n),u=a.length;return c<0||c>=u?e?"":void 0:(o=a.charCodeAt(c))<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?e?a.charAt(c):o:e?a.slice(c,c+2):s-56320+(o-55296<<10)+65536}}},49012:function(e,t,n){var r=n(48921),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},48921:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},29236:function(e,t,n){var r=n(59589),i=n(91625);e.exports=function(e){return r(i(e))}},82561:function(e,t,n){var r=n(48921),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},68061:function(e,t,n){var r=n(91625);e.exports=function(e){return Object(r(e))}},91032:function(e,t,n){var r=n(77418);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},62994:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},39696:function(e,t,n){var r=n(77418);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},65773:function(e,t,n){var r=n(82154)("wks"),i=n(62994),o=n(59507).Symbol,s="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=s&&o[e]||(s?o:i)("Symbol."+e))}).store=r},68246:function(e,t,n){var r=n(42318),i=n(65773)("iterator"),o=n(43617);e.exports=n(76891).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},42394:function(e,t,n){"use strict";var r=n(93126),i=n(61407),o=n(43617),s=n(29236);e.exports=n(91851)(Array,"Array",(function(e,t){this._t=s(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},89118:function(e,t,n){"use strict";var r=n(38636),i=n(39696),o="Map";e.exports=n(85770)(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(i(this,o),e);return t&&t.v},set:function(e,t){return r.def(i(this,o),0===e?0:e,t)}},r,!0)},14183:function(){},45817:function(e,t,n){"use strict";var r=n(1095)(!0);n(91851)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},46495:function(e,t,n){n(46199)("Map")},17310:function(e,t,n){n(20727)("Map")},28623:function(e,t,n){var r=n(87043);r(r.P+r.R,"Map",{toJSON:n(35353)("Map")})},63564:function(e,t,n){n(42394);for(var r=n(59507),i=n(82283),o=n(43617),s=n(65773)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],f=r[u],h=f&&f.prototype;h&&!h[s]&&i(h,s,u),o[u]=o.Array}},73888:function(e,t,n){var r=n(90778).Buffer,i=n(73931),o=n(30910);e.exports=function(e){return new a(e)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function c(e,t,n){Array.isArray(e)||(e=e.toArray());var i=new r(e);if(n&&i.length<n){var o=new r(n-i.length);o.fill(0),i=r.concat([o,i])}return t?i.toString(t):i}s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,a.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},a.prototype.computeSecret=function(e,t,n){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),c(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(e,t){var n=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(n[n.length-1]%2?n[0]=7:n[0]=6),c(n,e)},a.prototype.getPrivateKey=function(e){return c(this.keys.getPrivate(),e)},a.prototype.setPublicKey=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.keys._importPublic(e),this},a.prototype.setPrivateKey=function(e,t){t=t||"utf8",r.isBuffer(e)||(e=new r(e,t));var n=new o(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}},77439:function(e,t,n){"use strict";var r=n(59503),i=n(53956),o=n(50601),s=n(25636),a=n(69239);function c(e){a.call(this,"digest"),this._hash=e}r(c,a),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new o:new c(s(e))}},51345:function(e,t,n){var r=n(53956);e.exports=function(e){return(new r).update(e).digest()}},40445:function(e,t,n){"use strict";var r=n(59503),i=n(98919),o=n(69239),s=n(37225).Buffer,a=n(51345),c=n(50601),u=n(25636),f=s.alloc(128);function h(e,t){o.call(this,"digest"),"string"==typeof t&&(t=s.from(t));var n="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>n)?t=("rmd160"===e?new c:u(e)).update(t).digest():t.length<n&&(t=s.concat([t,f],n));for(var r=this._ipad=s.allocUnsafe(n),i=this._opad=s.allocUnsafe(n),a=0;a<n;a++)r[a]=54^t[a],i[a]=92^t[a];this._hash="rmd160"===e?new c:u(e),this._hash.update(r)}r(h,o),h.prototype._update=function(e){this._hash.update(e)},h.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new c:u(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new h("rmd160",t):"md5"===e?new i(a,t):new h(e,t)}},98919:function(e,t,n){"use strict";var r=n(59503),i=n(37225).Buffer,o=n(69239),s=i.alloc(128),a=64;function c(e,t){o.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=i.concat([t,s],a));for(var n=this._ipad=i.allocUnsafe(a),r=this._opad=i.allocUnsafe(a),c=0;c<a;c++)n[c]=54^t[c],r[c]=92^t[c];this._hash=[n]}r(c,o),c.prototype._update=function(e){this._hash.push(e)},c.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=c},23936:function(e,t,n){"use strict";var r=n(1625),i={};function o(e,t,n,r,i,o,s,a){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,s,a],f=0;(c=new Error(t.replace(/%s/g,(function(){return u[f++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}var s="mixins";e.exports=function(e,t,n){var a=[],c={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},u={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},f={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)l(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(o(!(n in f),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e)return o("DEFINE_MANY_MERGED"===(u.hasOwnProperty(n)?u[n]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=p(e[n],r));e[n]=r}}}(e,t)},autobind:function(){}};function h(e,t){var n=c.hasOwnProperty(t)?c[t]:null;y.hasOwnProperty(t)&&o("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&o("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function l(e,n){if(n){o("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),o(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty(s)&&f.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&a!==s){var u=n[a],l=r.hasOwnProperty(a);if(h(l,a),f.hasOwnProperty(a))f[a](e,u);else{var d=c.hasOwnProperty(a);if("function"==typeof u&&!d&&!l&&!1!==n.autobind)i.push(a,u),r[a]=u;else if(l){var m=c[a];o(d&&("DEFINE_MANY_MERGED"===m||"DEFINE_MANY"===m),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",m,a),"DEFINE_MANY_MERGED"===m?r[a]=p(r[a],u):"DEFINE_MANY"===m&&(r[a]=g(r[a],u))}else r[a]=u}}}else;}function d(e,t){for(var n in o(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(o(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function p(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return d(i,n),d(i,r),i}}function g(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function m(e,t){return t.bind(e)}var b={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},w=function(){};return r(w.prototype,e.prototype,y),function(e){var t=function(e,r,s){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];e[r]=m(e,i)}}(this),this.props=e,this.context=r,this.refs=i,this.updater=s||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;o("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=a};for(var r in t.prototype=new w,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(l.bind(null,t)),l(t,b),l(t,e),l(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),o(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),c)t.prototype[r]||(t.prototype[r]=null);return t}}},7767:function(e,t,n){"use strict";var r=n(99196),i=n(23936);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=(new r.Component).updater;e.exports=i(r.Component,r.isValidElement,o)},50142:function(e,t,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n(35175),t.createHash=t.Hash=n(77439),t.createHmac=t.Hmac=n(40445);var r=n(60451),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var s=n(80231);t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var a=n(83936);t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var c=n(63298);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var u=n(29908);t.createSign=u.createSign,t.Sign=u.Sign,t.createVerify=u.createVerify,t.Verify=u.Verify,t.createECDH=n(73888);var f=n(51296);t.publicEncrypt=f.publicEncrypt,t.privateEncrypt=f.privateEncrypt,t.publicDecrypt=f.publicDecrypt,t.privateDecrypt=f.privateDecrypt;var h=n(70460);t.randomFill=h.randomFill,t.randomFillSync=h.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},13185:function(e,t,n){"use strict";var r=n(98517),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,s=Array.prototype.concat,a=Object.defineProperty,c=a&&function(){var e={};try{for(var t in a(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),u=function(e,t,n,r){var i;(!(t in e)||"function"==typeof(i=r)&&"[object Function]"===o.call(i)&&r())&&(c?a(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},f=function(e,t){var n=arguments.length>2?arguments[2]:{},o=r(t);i&&(o=s.call(o,Object.getOwnPropertySymbols(t)));for(var a=0;a<o.length;a+=1)u(e,o[a],t[o[a]],n[o[a]])};f.supportsDescriptors=!!c,e.exports=f},98625:function(e,t,n){"use strict";t.utils=n(87990),t.Cipher=n(90746),t.DES=n(48738),t.CBC=n(94369),t.EDE=n(96413)},94369:function(e,t,n){"use strict";var r=n(48282),i=n(59503),o={};function s(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var n=Object.keys(o),r=0;r<n.length;r++){var s=n[r];t.prototype[s]=o[s]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new s(this.options.iv);this._cbcState=e},o._update=function(e,t,n,r){var i=this._cbcState,o=this.constructor.super_.prototype,s=i.iv;if("encrypt"===this.type){for(var a=0;a<this.blockSize;a++)s[a]^=e[t+a];o._update.call(this,s,0,n,r);for(a=0;a<this.blockSize;a++)s[a]=n[r+a]}else{o._update.call(this,e,t,n,r);for(a=0;a<this.blockSize;a++)n[r+a]^=s[a];for(a=0;a<this.blockSize;a++)s[a]=e[t+a]}}},90746:function(e,t,n){"use strict";var r=n(48282);function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<n;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,n=0,r=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,n),n+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,n=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},48738:function(e,t,n){"use strict";var r=n(48282),i=n(59503),o=n(87990),s=n(90746);function a(){this.tmp=new Array(2),this.keys=null}function c(e){s.call(this,e);var t=new a;this._desState=t,this.deriveKeys(t,e.key)}i(c,s),e.exports=c,c.create=function(e){return new c(e)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var n=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var s=0;s<e.keys.length;s+=2){var a=u[s>>>1];n=o.r28shl(n,a),i=o.r28shl(i,a),o.pc2(n,i,e.keys,s)}},c.prototype._update=function(e,t,n,r){var i=this._desState,s=o.readUInt32BE(e,t),a=o.readUInt32BE(e,t+4);o.ip(s,a,i.tmp,0),s=i.tmp[0],a=i.tmp[1],"encrypt"===this.type?this._encrypt(i,s,a,i.tmp,0):this._decrypt(i,s,a,i.tmp,0),s=i.tmp[0],a=i.tmp[1],o.writeUInt32BE(n,s,r),o.writeUInt32BE(n,a,r+4)},c.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r<e.length;r++)e[r]=n;return!0},c.prototype._unpad=function(e){for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},c.prototype._encrypt=function(e,t,n,r,i){for(var s=t,a=n,c=0;c<e.keys.length;c+=2){var u=e.keys[c],f=e.keys[c+1];o.expand(a,e.tmp,0),u^=e.tmp[0],f^=e.tmp[1];var h=o.substitute(u,f),l=a;a=(s^o.permute(h))>>>0,s=l}o.rip(a,s,r,i)},c.prototype._decrypt=function(e,t,n,r,i){for(var s=n,a=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],f=e.keys[c+1];o.expand(s,e.tmp,0),u^=e.tmp[0],f^=e.tmp[1];var h=o.substitute(u,f),l=s;s=(a^o.permute(h))>>>0,a=l}o.rip(s,a,r,i)}},96413:function(e,t,n){"use strict";var r=n(48282),i=n(59503),o=n(90746),s=n(48738);function a(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[s.create({type:"encrypt",key:n}),s.create({type:"decrypt",key:i}),s.create({type:"encrypt",key:o})]:[s.create({type:"decrypt",key:o}),s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:n})]}function c(e){o.call(this,e);var t=new a(this.type,this.options.key);this._edeState=t}i(c,o),e.exports=c,c.create=function(e){return new c(e)},c.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},c.prototype._pad=s.prototype._pad,c.prototype._unpad=s.prototype._unpad},87990:function(e,t){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var i=0,o=0,s=6;s>=0;s-=2){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+s&1;for(a=1;a<=25;a+=8)o<<=1,o|=e>>>a+s&1}n[r+0]=i>>>0,n[r+1]=o>>>0},t.rip=function(e,t,n,r){for(var i=0,o=0,s=0;s<4;s++)for(var a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;for(s=4;s<8;s++)for(a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.pc1=function(e,t,n,r){for(var i=0,o=0,s=7;s>=5;s--){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,i){for(var o=0,s=0,a=n.length>>>1,c=0;c<a;c++)o<<=1,o|=e>>>n[c]&1;for(c=a;c<n.length;c++)s<<=1,s|=t>>>n[c]&1;r[i+0]=o>>>0,r[i+1]=s>>>0},t.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var n=0,i=0;i<4;i++){n<<=4,n|=r[64*i+(e>>>18-6*i&63)]}for(i=0;i<4;i++){n<<=4,n|=r[256+64*i+(t>>>18-6*i&63)]}return n>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,n=0;n<i.length;n++)t<<=1,t|=e>>>i[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var r=e.toString(2);r.length<t;)r="0"+r;for(var i=[],o=0;o<t;o+=n)i.push(r.slice(o,o+n));return i.join(" ")}},63298:function(e,t,n){var r=n(90778).Buffer,i=n(76156),o=n(27046),s=n(92716);var a={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(e){var t=new r(o[e].prime,"hex"),n=new r(o[e].gen,"hex");return new s(t,n)},t.createDiffieHellman=t.DiffieHellman=function e(t,n,o,c){return r.isBuffer(n)||void 0===a[n]?e(t,"binary",n,o):(n=n||"binary",c=c||"binary",o=o||new r([2]),r.isBuffer(o)||(o=new r(o,c)),"number"==typeof t?new s(i(t,o),o,!0):(r.isBuffer(t)||(t=new r(t,n)),new s(t,o,!0)))}},92716:function(e,t,n){var r=n(90778).Buffer,i=n(30910),o=new(n(16616)),s=new i(24),a=new i(11),c=new i(10),u=new i(3),f=new i(7),h=n(76156),l=n(35175);function d(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._pub=new i(e),this}function p(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._priv=new i(e),this}e.exports=m;var g={};function m(e,t,n){this.setGenerator(t),this.__prime=new i(e),this._prime=i.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=p):this._primeCode=8}function b(e,t){var n=new r(e.toArray());return t?n.toString(t):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString("hex"),r=[n,e.toString(16)].join("_");if(r in g)return g[r];var i,l=0;if(e.isEven()||!h.simpleSieve||!h.fermatTest(e)||!o.test(e))return l+=1,l+="02"===n||"05"===n?8:4,g[r]=l,l;switch(o.test(e.shrn(1))||(l+=2),n){case"02":e.mod(s).cmp(a)&&(l+=8);break;case"05":(i=e.mod(c)).cmp(u)&&i.cmp(f)&&(l+=8);break;default:l+=4}return g[r]=l,l}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new i(l(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var t=(e=(e=new i(e)).toRed(this._prime)).redPow(this._priv).fromRed(),n=new r(t.toArray()),o=this.getPrime();if(n.length<o.length){var s=new r(o.length-n.length);s.fill(0),n=r.concat([s,n])}return n},m.prototype.getPublicKey=function(e){return b(this._pub,e)},m.prototype.getPrivateKey=function(e){return b(this._priv,e)},m.prototype.getPrime=function(e){return b(this.__prime,e)},m.prototype.getGenerator=function(e){return b(this._gen,e)},m.prototype.setGenerator=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.__gen=e,this._gen=new i(e),this}},76156:function(e,t,n){var r=n(35175);e.exports=v,v.simpleSieve=m,v.fermatTest=b;var i=n(30910),o=new i(24),s=new(n(16616)),a=new i(1),c=new i(2),u=new i(5),f=(new i(16),new i(8),new i(10)),h=new i(3),l=(new i(7),new i(11)),d=new i(4),p=(new i(12),null);function g(){if(null!==p)return p;var e=[];e[0]=2;for(var t=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<t&&e[i]<=r&&n%e[i]!=0;i++);t!==i&&e[i]<=r||(e[t++]=n)}return p=e,e}function m(e){for(var t=g(),n=0;n<t.length;n++)if(0===e.modn(t[n]))return 0===e.cmpn(t[n]);return!0}function b(e){var t=i.mont(e);return 0===c.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function v(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var n,p;for(t=new i(t);;){for(n=new i(r(Math.ceil(e/8)));n.bitLength()>e;)n.ishrn(1);if(n.isEven()&&n.iadd(a),n.testn(1)||n.iadd(c),t.cmp(c)){if(!t.cmp(u))for(;n.mod(f).cmp(h);)n.iadd(d)}else for(;n.mod(o).cmp(l);)n.iadd(d);if(m(p=n.shrn(1))&&m(n)&&b(p)&&b(n)&&s.test(p)&&s.test(n))return n}}},73931:function(e,t,n){"use strict";var r=t;r.version=n(80906).i8,r.utils=n(12097),r.rand=n(71876),r.curve=n(46244),r.curves=n(65583),r.ec=n(72553),r.eddsa=n(66281)},48432:function(e,t,n){"use strict";var r=n(30910),i=n(12097),o=i.getNAF,s=i.getJSF,a=i.assert;function c(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){a(e.precomputed);var n=e._getDoubles(),r=o(t,1,this._bitLength),i=(1<<n.step+1)-(n.step%2==0?2:1);i/=3;var s,c,u=[];for(s=0;s<r.length;s+=n.step){c=0;for(var f=s+n.step-1;f>=s;f--)c=(c<<1)+r[f];u.push(c)}for(var h=this.jpoint(null,null,null),l=this.jpoint(null,null,null),d=i;d>0;d--){for(s=0;s<u.length;s++)(c=u[s])===d?l=l.mixedAdd(n.points[s]):c===-d&&(l=l.mixedAdd(n.points[s].neg()));h=h.add(l)}return h.toP()},c.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var i=r.points,s=o(t,n,this._bitLength),c=this.jpoint(null,null,null),u=s.length-1;u>=0;u--){for(var f=0;u>=0&&0===s[u];u--)f++;if(u>=0&&f++,c=c.dblp(f),u<0)break;var h=s[u];a(0!==h),c="affine"===e.type?h>0?c.mixedAdd(i[h-1>>1]):c.mixedAdd(i[-h-1>>1].neg()):h>0?c.add(i[h-1>>1]):c.add(i[-h-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,n,r,i){var a,c,u,f=this._wnafT1,h=this._wnafT2,l=this._wnafT3,d=0;for(a=0;a<r;a++){var p=(u=t[a])._getNAFPoints(e);f[a]=p.wnd,h[a]=p.points}for(a=r-1;a>=1;a-=2){var g=a-1,m=a;if(1===f[g]&&1===f[m]){var b=[t[g],null,null,t[m]];0===t[g].y.cmp(t[m].y)?(b[1]=t[g].add(t[m]),b[2]=t[g].toJ().mixedAdd(t[m].neg())):0===t[g].y.cmp(t[m].y.redNeg())?(b[1]=t[g].toJ().mixedAdd(t[m]),b[2]=t[g].add(t[m].neg())):(b[1]=t[g].toJ().mixedAdd(t[m]),b[2]=t[g].toJ().mixedAdd(t[m].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],y=s(n[g],n[m]);for(d=Math.max(y[0].length,d),l[g]=new Array(d),l[m]=new Array(d),c=0;c<d;c++){var w=0|y[0][c],_=0|y[1][c];l[g][c]=v[3*(w+1)+(_+1)],l[m][c]=0,h[g]=b}}else l[g]=o(n[g],f[g],this._bitLength),l[m]=o(n[m],f[m],this._bitLength),d=Math.max(l[g].length,d),d=Math.max(l[m].length,d)}var E=this.jpoint(null,null,null),S=this._wnafT4;for(a=d;a>=0;a--){for(var k=0;a>=0;){var M=!0;for(c=0;c<r;c++)S[c]=0|l[c][a],0!==S[c]&&(M=!1);if(!M)break;k++,a--}if(a>=0&&k++,E=E.dblp(k),a<0)break;for(c=0;c<r;c++){var C=S[c];0!==C&&(C>0?u=h[c][C-1>>1]:C<0&&(u=h[c][-C-1>>1].neg()),E="affine"===u.type?E.mixedAdd(u):E.add(u))}}for(a=0;a<r;a++)h[a]=null;return i?E:E.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*n)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)r=r.dbl();n.push(r)}return{step:e,points:n}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}},27978:function(e,t,n){"use strict";var r=n(12097),i=n(30910),o=n(59503),s=n(48432),a=r.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,n,r,o){s.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,s),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),s=r.redMul(o.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},c.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(o.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},o(u,s.BasePoint),c.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},c.prototype.point=function(e,t,n,r){return new u(this,e,t,n,r)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),s=o.redSub(n),a=r.redSub(t),c=i.redMul(s),u=o.redMul(a),f=i.redMul(a),h=s.redMul(o);return this.curve.point(c,u,h,f)},u.prototype._projDbl=function(){var e,t,n,r,i,o,s=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var u=(r=this.curve._mulA(a)).redAdd(c);this.zOne?(e=s.redSub(a).redSub(c).redMul(u.redSub(this.curve.two)),t=u.redMul(r.redSub(c)),n=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),o=u.redSub(i).redISub(i),e=s.redSub(a).redISub(c).redMul(o),t=u.redMul(r.redSub(c)),n=u.redMul(o))}else r=a.redAdd(c),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),e=this.curve._mulC(s.redISub(r)).redMul(o),t=this.curve._mulC(r).redMul(a.redISub(c)),n=r.redMul(o);return this.curve.point(e,t,n)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),s=i.redSub(r),a=i.redAdd(r),c=n.redAdd(t),u=o.redMul(s),f=a.redMul(c),h=o.redMul(c),l=s.redMul(a);return this.curve.point(u,f,l,h)},u.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(s),c=i.redSub(a),u=i.redAdd(a),f=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),h=r.redMul(c).redMul(f);return this.curve.twisted?(t=r.redMul(u).redMul(s.redSub(this.curve._mulA(o))),n=c.redMul(u)):(t=r.redMul(u).redMul(s.redSub(o)),n=this.curve._mulC(c).redMul(u)),this.curve.point(h,t,n)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},u.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},46244:function(e,t,n){"use strict";var r=t;r.base=n(48432),r.short=n(42567),r.mont=n(2493),r.edwards=n(27978)},2493:function(e,t,n){"use strict";var r=n(30910),i=n(59503),o=n(48432),s=n(12097);function a(e){o.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,n){o.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(a,o),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(c,o.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},a.prototype.point=function(e,t){return new c(this,e,t)},a.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(n),s=i.redMul(r),a=t.z.redMul(o.redAdd(s).redSqr()),c=t.x.redMul(o.redISub(s).redSqr());return this.curve.point(a,c)},c.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},42567:function(e,t,n){"use strict";var r=n(12097),i=n(30910),o=n(59503),s=n(48432),a=r.assert;function c(e){s.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,n,r){s.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function f(e,t,n,r){s.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,s),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?n=o[0]:(n=o[1],a(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,n,r,o,s,a,c,u,f,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=e,d=this.n.clone(),p=new i(1),g=new i(0),m=new i(0),b=new i(1),v=0;0!==l.cmpn(0);){var y=d.div(l);u=d.sub(y.mul(l)),f=m.sub(y.mul(p));var w=b.sub(y.mul(g));if(!r&&u.cmp(h)<0)t=c.neg(),n=p,r=u.neg(),o=f;else if(r&&2==++v)break;c=u,d=l,l=u,m=p,p=f,b=g,g=w}s=u.neg(),a=f;var _=r.sqr().add(o.sqr());return s.sqr().add(a.sqr()).cmp(_)>=0&&(s=t,a=n),r.negative&&(r=r.neg(),o=o.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:r,b:o},{a:s,b:a}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),s=i.mul(n.a),a=o.mul(r.a),c=i.mul(n.b),u=o.mul(r.b);return{k1:e.sub(s).sub(a),k2:c.add(u).neg()}},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var s=this._endoSplit(t[o]),a=e[o],c=a._getBeta();s.k1.negative&&(s.k1.ineg(),a=a.neg(!0)),s.k2.negative&&(s.k2.ineg(),c=c.neg(!0)),r[2*o]=a,r[2*o+1]=c,i[2*o]=s.k1,i[2*o+1]=s.k2}for(var u=this._wnafMulAdd(1,r,i,2*o,n),f=0;f<2*o;f++)r[f]=null,i[f]=null;return u},o(u,s.BasePoint),c.prototype.point=function(e,t,n){return new u(this,e,t,n)},c.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,n){"string"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var o=t[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},u.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(f,s.BasePoint),c.prototype.jpoint=function(e,t,n){return new f(this,e,t,n)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(n.redMul(this.z)),a=r.redSub(i),c=o.redSub(s);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),f=u.redMul(a),h=r.redMul(u),l=c.redSqr().redIAdd(f).redISub(h).redISub(h),d=c.redMul(h.redISub(l)).redISub(o.redMul(f)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(l,d,p)},f.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),s=n.redSub(r),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),f=n.redMul(c),h=a.redSqr().redIAdd(u).redISub(f).redISub(f),l=a.redMul(f.redISub(h)).redISub(i.redMul(u)),d=this.z.redMul(s);return this.curve.jpoint(h,l,d)},f.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t<e;t++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,s=this.y,a=this.z,c=a.redSqr().redSqr(),u=s.redAdd(s);for(t=0;t<e;t++){var f=o.redSqr(),h=u.redSqr(),l=h.redSqr(),d=f.redAdd(f).redIAdd(f).redIAdd(r.redMul(c)),p=o.redMul(h),g=d.redSqr().redISub(p.redAdd(p)),m=p.redISub(g),b=d.redMul(m);b=b.redIAdd(b).redISub(l);var v=u.redMul(a);t+1<e&&(c=c.redMul(l)),o=g,a=v,u=b}return this.curve.jpoint(o,u.redMul(i),a)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},f.prototype._zeroDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(o);s=s.redIAdd(s);var a=r.redAdd(r).redIAdd(r),c=a.redSqr().redISub(s).redISub(s),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=c,t=a.redMul(s.redISub(c)).redISub(u),n=this.y.redAdd(this.y)}else{var f=this.x.redSqr(),h=this.y.redSqr(),l=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(f).redISub(l);d=d.redIAdd(d);var p=f.redAdd(f).redIAdd(f),g=p.redSqr(),m=l.redIAdd(l);m=(m=m.redIAdd(m)).redIAdd(m),e=g.redISub(d).redISub(d),t=p.redMul(d.redISub(e)).redISub(m),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},f.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(o);s=s.redIAdd(s);var a=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),c=a.redSqr().redISub(s).redISub(s);e=c;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=a.redMul(s.redISub(c)).redISub(u),n=this.y.redAdd(this.y)}else{var f=this.z.redSqr(),h=this.y.redSqr(),l=this.x.redMul(h),d=this.x.redSub(f).redMul(this.x.redAdd(f));d=d.redAdd(d).redIAdd(d);var p=l.redIAdd(l),g=(p=p.redIAdd(p)).redAdd(p);e=d.redSqr().redISub(g),n=this.y.redAdd(this.z).redSqr().redISub(h).redISub(f);var m=h.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),t=d.redMul(p.redISub(e)).redISub(m)}return this.curve.jpoint(e,t,n)},f.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=t.redSqr(),s=n.redSqr(),a=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),c=t.redAdd(t),u=(c=c.redIAdd(c)).redMul(s),f=a.redSqr().redISub(u.redAdd(u)),h=u.redISub(f),l=s.redSqr();l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var d=a.redMul(h).redISub(l),p=n.redAdd(n).redMul(r);return this.curve.jpoint(f,d,p)},f.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(r),a=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(o)).redSqr(),c=r.redIAdd(r);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=i.redIAdd(s).redSqr().redISub(o).redISub(a).redISub(c),f=t.redMul(u);f=(f=f.redIAdd(f)).redIAdd(f);var h=this.x.redMul(a).redISub(f);h=(h=h.redIAdd(h)).redIAdd(h);var l=this.y.redMul(u.redMul(c.redISub(u)).redISub(s.redMul(a)));l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var d=this.z.redAdd(s).redSqr().redISub(n).redISub(a);return this.curve.jpoint(h,l,d)},f.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},f.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},f.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},f.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},65583:function(e,t,n){"use strict";var r,i=t,o=n(91138),s=n(46244),a=n(12097).assert;function c(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new c(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(4703)}catch(e){r=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},72553:function(e,t,n){"use strict";var r=n(30910),i=n(53674),o=n(12097),s=n(65583),a=n(71876),c=o.assert,u=n(26167),f=n(96376);function h(e){if(!(this instanceof h))return new h(e);"string"==typeof e&&(c(Object.prototype.hasOwnProperty.call(s,e),"Unknown curve "+e),e=s[e]),e instanceof s.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=h,h.prototype.keyPair=function(e){return new u(this,e)},h.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},h.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},h.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var s=new r(t.generate(n));if(!(s.cmp(o)>0))return s.iaddn(1),this.keyFromPrivate(s)}},h.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},h.prototype.sign=function(e,t,n,o){"object"==typeof n&&(o=n,n=null),o||(o={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new r(e,16));for(var s=this.n.byteLength(),a=t.getPrivate().toArray("be",s),c=e.toArray("be",s),u=new i({hash:this.hash,entropy:a,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),h=this.n.sub(new r(1)),l=0;;l++){var d=o.k?o.k(l):new r(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(h)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var g=p.getX(),m=g.umod(this.n);if(0!==m.cmpn(0)){var b=d.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(b=b.umod(this.n)).cmpn(0)){var v=(p.getY().isOdd()?1:0)|(0!==g.cmp(m)?2:0);return o.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),v^=1),new f({r:m,s:b,recoveryParam:v})}}}}}},h.prototype.verify=function(e,t,n,i){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,i);var o=(t=new f(t,"hex")).r,s=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,c=s.invm(this.n),u=c.mul(e).umod(this.n),h=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,n.getPublic(),h)).isInfinity()&&a.eqXToP(o):!(a=this.g.mulAdd(u,n.getPublic(),h)).isInfinity()&&0===a.getX().umod(this.n).cmp(o)},h.prototype.recoverPubKey=function(e,t,n,i){c((3&n)===n,"The recovery param is more than two bits"),t=new f(t,i);var o=this.n,s=new r(e),a=t.r,u=t.s,h=1&n,l=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");a=l?this.curve.pointFromX(a.add(this.curve.n),h):this.curve.pointFromX(a,h);var d=t.r.invm(o),p=o.sub(s).mul(d).umod(o),g=u.mul(d).umod(o);return this.g.mulAdd(p,a,g)},h.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new f(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},26167:function(e,t,n){"use strict";var r=n(30910),i=n(12097).assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=o,o.fromPublic=function(e,t,n){return t instanceof o?t:new o(e,{pub:t,pubEnc:n})},o.fromPrivate=function(e,t,n){return t instanceof o?t:new o(e,{priv:t,privEnc:n})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.validate()||i(e.validate(),"public point not validated"),e.mul(this.priv).getX()},o.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},o.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},96376:function(e,t,n){"use strict";var r=n(30910),i=n(12097),o=i.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function c(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,s=t.place;o<r;o++,s++)i<<=8,i|=e[s],i>>>=0;return!(i<=127)&&(t.place=s,i)}function u(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function f(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=s,s.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new a;if(48!==e[n.place++])return!1;var o=c(e,n);if(!1===o)return!1;if(o+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var s=c(e,n);if(!1===s)return!1;var u=e.slice(n.place,s+n.place);if(n.place+=s,2!==e[n.place++])return!1;var f=c(e,n);if(!1===f)return!1;if(e.length!==f+n.place)return!1;var h=e.slice(n.place,f+n.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}return this.r=new r(u),this.s=new r(h),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=u(t),n=u(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];f(r,t.length),(r=r.concat(t)).push(2),f(r,n.length);var o=r.concat(n),s=[48];return f(s,o.length),s=s.concat(o),i.encode(s,e)}},66281:function(e,t,n){"use strict";var r=n(91138),i=n(65583),o=n(12097),s=o.assert,a=o.parseBytes,c=n(8325),u=n(49945);function f(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof f))return new f(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=f,f.prototype.sign=function(e,t){e=a(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),o=this.encodePoint(i),s=this.hashInt(o,n.pubBytes(),e).mul(n.priv()),c=r.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},f.prototype.verify=function(e,t,n){e=a(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(o)},f.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},f.prototype.keyFromPublic=function(e){return c.fromPublic(this,e)},f.prototype.keyFromSecret=function(e){return c.fromSecret(this,e)},f.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},f.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},f.prototype.decodePoint=function(e){var t=(e=o.parseBytes(e)).length-1,n=e.slice(0,t).concat(-129&e[t]),r=0!=(128&e[t]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},f.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},f.prototype.decodeInt=function(e){return o.intFromLE(e)},f.prototype.isPoint=function(e){return e instanceof this.pointClass}},8325:function(e,t,n){"use strict";var r=n(12097),i=r.assert,o=r.parseBytes,s=r.cachedProperty;function a(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},s(a,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),s(a,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),s(a,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),s(a,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),s(a,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),s(a,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),a.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},a.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=a},49945:function(e,t,n){"use strict";var r=n(30910),i=n(12097),o=i.assert,s=i.cachedProperty,a=i.parseBytes;function c(e,t){this.eddsa=e,"object"!=typeof t&&(t=a(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}s(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),s(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=c},4703:function(e){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},12097:function(e,t,n){"use strict";var r=t,i=n(30910),o=n(48282),s=n(90458);r.assert=o,r.toArray=s.toArray,r.zero2=s.zero2,r.toHex=s.toHex,r.encode=s.encode,r.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<<t+1,o=e.clone(),s=0;s<r.length;s++){var a,c=o.andln(i-1);o.isOdd()?(a=c>(i>>1)-1?(i>>1)-c:c,o.isubn(a)):a=0,r[s]=a,o.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var s,a,c=e.andln(3)+i&3,u=t.andln(3)+o&3;3===c&&(c=-1),3===u&&(u=-1),s=0==(1&c)?0:3!==(r=e.andln(7)+i&7)&&5!==r||2!==u?c:-c,n[0].push(s),a=0==(1&u)?0:3!==(r=t.andln(7)+o&7)&&5!==r||2!==c?u:-u,n[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"==typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},45685:function(e){"use strict";function t(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o=Object.keys(Object(i)),s=0,a=o.length;s<a;s++){var c=o[s],u=Object.getOwnPropertyDescriptor(i,c);void 0!==u&&u.enumerable&&(n[c]=i[c])}}return n}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},2571:function(e,t,n){"use strict";var r,i=n(55246),o="object"==typeof Reflect?Reflect:null,s=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.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 c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}v(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&v(e,"error",t,n)}(e,i,{once:!0})}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var u=10;function f(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function h(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var o,s,a;if(f(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),a=s[t]),void 0===a)a=s[t]=n,++e._eventsCount;else if("function"==typeof a?a=s[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=h(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,function(e){i&&i.warn&&i.warn(e)}(c)}return e}function d(){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 p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function g(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):b(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function b(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function v(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return h(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)s(c,this,t);else{var u=c.length,f=b(c,u);for(n=0;n<u;++n)s(f[n],this,t)}return!0},c.prototype.addListener=function(e,t){return l(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return l(this,e,t,!0)},c.prototype.once=function(e,t){return f(t),this.on(e,p(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return f(t),this.prependListener(e,p(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,o,s;if(f(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return g(this,e,!0)},c.prototype.rawListeners=function(e){return g(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},51105:function(e,t,n){var r=n(37225).Buffer,i=n(53956);e.exports=function(e,t,n,o){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=n/8,a=r.alloc(s),c=r.alloc(o||0),u=r.alloc(0);s>0||o>0;){var f=new i;f.update(u),f.update(e),t&&f.update(t),u=f.digest();var h=0;if(s>0){var l=a.length-s;h=Math.min(s,u.length),u.copy(a,l,0,h),s-=h}if(h<u.length&&o>0){var d=c.length-o,p=Math.min(o,u.length-h);u.copy(c,d,h,h+p),o-=p}}return u.fill(0),{key:a,iv:c}}},49478:function(e){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;e.exports=function(e,r,i){if("[object Function]"!==n.call(r))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var s=0;s<o;s++)r.call(i,e[s],s,e);else for(var a in e)t.call(e,a)&&r.call(i,e[a],a,e)}},44033:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,i="[object Function]";e.exports=function(e){var o=this;if("function"!=typeof o||r.call(o)!==i)throw new TypeError(t+o);for(var s,a=n.call(arguments,1),c=function(){if(this instanceof s){var t=o.apply(this,a.concat(n.call(arguments)));return Object(t)===t?t:this}return o.apply(e,a.concat(n.call(arguments)))},u=Math.max(0,o.length-a.length),f=[],h=0;h<u;h++)f.push("$"+h);if(s=Function("binder","return function ("+f.join(",")+"){ return binder.apply(this,arguments); }")(c),o.prototype){var l=function(){};l.prototype=o.prototype,s.prototype=new l,l.prototype=null}return s}},75433:function(e,t,n){"use strict";var r=n(44033);e.exports=Function.prototype.bind||r},52221:function(e){e.exports=function e(n){if(t(n))return n;if(t(n.ownerDocument))return n.ownerDocument;if(t(n.document))return n.document;if(n.parentNode)return e(n.parentNode);if(n.commonAncestorContainer)return e(n.commonAncestorContainer);if(n.startContainer)return e(n.startContainer);if(n.anchorNode)return e(n.anchorNode)};function t(e){return e&&9===e.nodeType}},25165:function(e,t,n){"use strict";var r,i=SyntaxError,o=Function,s=TypeError,a=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var u=function(){throw new s},f=c?function(){try{return u}catch(e){try{return c(arguments,"callee").get}catch(e){return u}}}():u,h=n(45992)(),l=Object.getPrototypeOf||function(e){return e.__proto__},d={},p="undefined"==typeof Uint8Array?r:l(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":h?l([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h?l(l([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&h?l((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&h?l((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h?l(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":f,"%TypedArray%":p,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},m=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=l(i.prototype))}return g[t]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(75433),y=n(99569),w=v.call(Function.call,Array.prototype.concat),_=v.call(Function.apply,Array.prototype.splice),E=v.call(Function.call,String.prototype.replace),S=v.call(Function.call,String.prototype.slice),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,C=function(e){var t=S(e,0,1),n=S(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return E(e,k,(function(e,t,n,i){r[r.length]=n?E(i,M,"$1"):t||e})),r},A=function(e,t){var n,r=e;if(y(b,r)&&(r="%"+(n=b[r])[0]+"%"),y(g,r)){var o=g[r];if(o===d&&(o=m(r)),void 0===o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');var n=C(e),r=n.length>0?n[0]:"",o=A("%"+r+"%",t),a=o.name,u=o.value,f=!1,h=o.alias;h&&(r=h[0],_(n,w([0,1],h)));for(var l=1,d=!0;l<n.length;l+=1){var p=n[l],m=S(p,0,1),b=S(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===b||"'"===b||"`"===b)&&m!==b)throw new i("property names with quotes must have matching quotes");if("constructor"!==p&&d||(f=!0),y(g,a="%"+(r+="."+p)+"%"))u=g[a];else if(null!=u){if(!(p in u)){if(!t)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&l+1>=n.length){var v=c(u,p);u=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[p]}else d=y(u,p),u=u[p];d&&!f&&(g[a]=u)}}return u}},45992:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(4461);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},4461:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},77828:function(e,t,n){"use strict";var r=n(4461);e.exports=function(){return r()&&!!Symbol.toStringTag}},99569:function(e,t,n){"use strict";var r=n(75433);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},39302:function(e,t,n){"use strict";var r=n(37225).Buffer,i=n(7130).Transform;function o(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(59503)(o,i),o.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var s=0,a=8*e.length;a>0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},91138:function(e,t,n){var r=t;r.utils=n(53566),r.common=n(95949),r.sha=n(75894),r.ripemd=n(94877),r.hmac=n(9942),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},95949:function(e,t,n){"use strict";var r=n(53566),i=n(48282);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},9942:function(e,t,n){"use strict";var r=n(53566),i=n(48282);function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},94877:function(e,t,n){"use strict";var r=n(53566),i=n(95949),o=r.rotl32,s=r.sum32,a=r.sum32_3,c=r.sum32_4,u=i.BlockHash;function f(){if(!(this instanceof f))return new f;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function l(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function d(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(f,u),t.ripemd160=f,f.blockSize=512,f.outSize=160,f.hmacStrength=192,f.padLength=64,f.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],i=this.h[2],u=this.h[3],f=this.h[4],v=n,y=r,w=i,_=u,E=f,S=0;S<80;S++){var k=s(o(c(n,h(S,r,i,u),e[p[S]+t],l(S)),m[S]),f);n=f,f=u,u=o(i,10),i=r,r=k,k=s(o(c(v,h(79-S,y,w,_),e[g[S]+t],d(S)),b[S]),E),v=E,E=_,_=o(w,10),w=y,y=k}k=a(this.h[1],i,_),this.h[1]=a(this.h[2],u,E),this.h[2]=a(this.h[3],f,v),this.h[3]=a(this.h[4],n,y),this.h[4]=a(this.h[0],r,w),this.h[0]=k},f.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],g=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},75894:function(e,t,n){"use strict";t.sha1=n(69016),t.sha224=n(92055),t.sha256=n(23347),t.sha384=n(57544),t.sha512=n(31766)},69016:function(e,t,n){"use strict";var r=n(53566),i=n(95949),o=n(47574),s=r.rotl32,a=r.sum32,c=r.sum32_5,u=o.ft_1,f=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function l(){if(!(this instanceof l))return new l;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(l,f),e.exports=l,l.blockSize=512,l.outSize=160,l.hmacStrength=80,l.padLength=64,l.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=s(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],f=this.h[2],l=this.h[3],d=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),g=c(s(i,5),u(p,o,f,l),d,n[r],h[p]);d=l,l=f,f=s(o,30),o=i,i=g}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],f),this.h[3]=a(this.h[3],l),this.h[4]=a(this.h[4],d)},l.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},92055:function(e,t,n){"use strict";var r=n(53566),i=n(23347);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},23347:function(e,t,n){"use strict";var r=n(53566),i=n(95949),o=n(47574),s=n(48282),a=r.sum32,c=r.sum32_4,u=r.sum32_5,f=o.ch32,h=o.maj32,l=o.s0_256,d=o.s1_256,p=o.g0_256,g=o.g1_256,m=i.BlockHash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}r.inherits(v,m),e.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=c(g(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],m=this.h[2],b=this.h[3],v=this.h[4],y=this.h[5],w=this.h[6],_=this.h[7];for(s(this.k.length===n.length),r=0;r<n.length;r++){var E=u(_,d(v),f(v,y,w),this.k[r],n[r]),S=a(l(i),h(i,o,m));_=w,w=y,y=v,v=a(b,E),b=m,m=o,o=i,i=a(E,S)}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],m),this.h[3]=a(this.h[3],b),this.h[4]=a(this.h[4],v),this.h[5]=a(this.h[5],y),this.h[6]=a(this.h[6],w),this.h[7]=a(this.h[7],_)},v.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},57544:function(e,t,n){"use strict";var r=n(53566),i=n(31766);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},31766:function(e,t,n){"use strict";var r=n(53566),i=n(95949),o=n(48282),s=r.rotr64_hi,a=r.rotr64_lo,c=r.shr64_hi,u=r.shr64_lo,f=r.sum64,h=r.sum64_hi,l=r.sum64_lo,d=r.sum64_4_hi,p=r.sum64_4_lo,g=r.sum64_5_hi,m=r.sum64_5_lo,b=i.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function w(e,t,n,r,i){var o=e&n^~e&i;return o<0&&(o+=4294967296),o}function _(e,t,n,r,i,o){var s=t&r^~t&o;return s<0&&(s+=4294967296),s}function E(e,t,n,r,i){var o=e&n^e&i^n&i;return o<0&&(o+=4294967296),o}function S(e,t,n,r,i,o){var s=t&r^t&o^r&o;return s<0&&(s+=4294967296),s}function k(e,t){var n=s(e,t,28)^s(t,e,2)^s(t,e,7);return n<0&&(n+=4294967296),n}function M(e,t){var n=a(e,t,28)^a(t,e,2)^a(t,e,7);return n<0&&(n+=4294967296),n}function C(e,t){var n=s(e,t,14)^s(e,t,18)^s(t,e,9);return n<0&&(n+=4294967296),n}function A(e,t){var n=a(e,t,14)^a(e,t,18)^a(t,e,9);return n<0&&(n+=4294967296),n}function x(e,t){var n=s(e,t,1)^s(e,t,8)^c(e,t,7);return n<0&&(n+=4294967296),n}function I(e,t){var n=a(e,t,1)^a(e,t,8)^u(e,t,7);return n<0&&(n+=4294967296),n}function O(e,t){var n=s(e,t,19)^s(t,e,29)^c(e,t,6);return n<0&&(n+=4294967296),n}function T(e,t){var n=a(e,t,19)^a(t,e,29)^u(e,t,6);return n<0&&(n+=4294967296),n}r.inherits(y,b),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var i=O(n[r-4],n[r-3]),o=T(n[r-4],n[r-3]),s=n[r-14],a=n[r-13],c=x(n[r-30],n[r-29]),u=I(n[r-30],n[r-29]),f=n[r-32],h=n[r-31];n[r]=d(i,o,s,a,c,u,f,h),n[r+1]=p(i,o,s,a,c,u,f,h)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],i=this.h[1],s=this.h[2],a=this.h[3],c=this.h[4],u=this.h[5],d=this.h[6],p=this.h[7],b=this.h[8],v=this.h[9],y=this.h[10],x=this.h[11],I=this.h[12],O=this.h[13],T=this.h[14],N=this.h[15];o(this.k.length===n.length);for(var j=0;j<n.length;j+=2){var z=T,P=N,R=C(b,v),B=A(b,v),L=w(b,v,y,x,I),D=_(b,v,y,x,I,O),U=this.k[j],F=this.k[j+1],H=n[j],V=n[j+1],q=g(z,P,R,B,L,D,U,F,H,V),K=m(z,P,R,B,L,D,U,F,H,V);z=k(r,i),P=M(r,i),R=E(r,i,s,a,c),B=S(r,i,s,a,c,u);var $=h(z,P,R,B),Z=l(z,P,R,B);T=I,N=O,I=y,O=x,y=b,x=v,b=h(d,p,q,K),v=l(p,p,q,K),d=c,p=u,c=s,u=a,s=r,a=i,r=h(q,K,$,Z),i=l(q,K,$,Z)}f(this.h,0,r,i),f(this.h,2,s,a),f(this.h,4,c,u),f(this.h,6,d,p),f(this.h,8,b,v),f(this.h,10,y,x),f(this.h,12,I,O),f(this.h,14,T,N)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},47574:function(e,t,n){"use strict";var r=n(53566).rotr32;function i(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function s(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?s(t,n,r):2===e?o(t,n,r):void 0},t.ch32=i,t.maj32=o,t.p32=s,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},53566:function(e,t,n){"use strict";var r=n(48282),i=n(59503);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var s=e.charCodeAt(i);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):o(e,i)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=a(e[n].toString(16));return t},t.htonl=s,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=s(i)),n+=c(i.toString(16))}return n},t.zero2=a,t.zero8=c,t.join32=function(e,t,n,i){var o=n-t;r(o%4==0);for(var s=new Array(o/4),a=0,c=t;a<s.length;a++,c+=4){var u;u="big"===i?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],s[a]=u>>>0}return s},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,s=(o<r?1:0)+n+i;e[t]=s>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,s,a){var c=0,u=t;return c+=(u=u+r>>>0)<t?1:0,c+=(u=u+o>>>0)<o?1:0,e+n+i+s+(c+=(u=u+a>>>0)<a?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,o,s,a){return t+r+o+a>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,s,a,c,u){var f=0,h=t;return f+=(h=h+r>>>0)<t?1:0,f+=(h=h+o>>>0)<o?1:0,f+=(h=h+a>>>0)<a?1:0,e+n+i+s+c+(f+=(h=h+u>>>0)<u?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,o,s,a,c,u){return t+r+o+a+u>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},53674:function(e,t,n){"use strict";var r=n(91138),i=n(90458),o=n(48282);function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}e.exports=s,s.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},s.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},s.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},s.prototype.reseed=function(e,t,n,r){"string"!=typeof t&&(r=n,n=t,t=null),e=i.toArray(e,t),n=i.toArray(n,r),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},s.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length<e;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var s=o.slice(0,e);return this._update(n),this._reseed++,i.encode(s,t)}},13266:function(e,t,n){"use strict";var r=n(80364),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(e){return r.isMemo(e)?s:a[e.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var u=Object.defineProperty,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=d(n);i&&i!==p&&e(t,i,r)}var s=f(n);h&&(s=s.concat(h(n)));for(var a=c(t),g=c(n),m=0;m<s.length;++m){var b=s[m];if(!(o[b]||r&&r[b]||g&&g[b]||a&&a[b])){var v=l(n,b);try{u(t,b,v)}catch(e){}}}}return t}},23644:function(e,t){t.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,u=c>>1,f=-7,h=n?i-1:0,l=n?-1:1,d=e[t+h];for(h+=l,o=d&(1<<-f)-1,d>>=-f,f+=a;f>0;o=256*o+e[t+h],h+=l,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=r;f>0;s=256*s+e[t+h],h+=l,f-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=u}return(d?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,c,u=8*o-i-1,f=(1<<u)-1,h=f>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=f):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+h>=1?l/c:l*Math.pow(2,1-h))*c>=2&&(s++,c/=2),s+h>=f?(a=0,s=f):s+h>=1?(a=(t*c-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;e[n+d]=255&s,d+=p,s/=256,u-=8);e[n+d-p]|=128*g}},59503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},24546:function(e){"use strict";e.exports=function(e,t,n,r,i,o,s,a){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,s,a],f=0;(c=new Error(t.replace(/%s/g,(function(){return u[f++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},98304:function(e,t,n){"use strict";var r=n(77828)(),i=n(16422)("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},s=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,e.exports=a?o:s},57372:function(e,t,n){"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,s=/^\s*(?:function)?\*/,a=n(77828)(),c=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(s.test(o.call(e)))return!0;if(!a)return"[object GeneratorFunction]"===i.call(e);if(!c)return!1;if(void 0===r){var t=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&c(t)}return c(e)===r}},46618:function(e){"use strict";e.exports=function(e){return e!=e}},17614:function(e,t,n){"use strict";var r=n(43120),i=n(13185),o=n(46618),s=n(42775),a=n(49582),c=r(s(),Number);i(c,{getPolyfill:s,implementation:o,shim:a}),e.exports=c},42775:function(e,t,n){"use strict";var r=n(46618);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},49582:function(e,t,n){"use strict";var r=n(13185),i=n(42775);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},8639:function(e,t,n){"use strict";var r=n(49478),i=n(87331),o=n(16422),s=o("Object.prototype.toString"),a=n(77828)(),c="undefined"==typeof globalThis?window:globalThis,u=i(),f=o("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},h=o("String.prototype.slice"),l={},d=n(61787),p=Object.getPrototypeOf;a&&d&&p&&r(u,(function(e){var t=new c[e];if(Symbol.toStringTag in t){var n=p(t),r=d(n,Symbol.toStringTag);if(!r){var i=p(n);r=d(i,Symbol.toStringTag)}l[e]=r.get}}));e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!a||!(Symbol.toStringTag in e)){var t=h(s(e),8,-1);return f(u,t)>-1}return!!d&&function(e){var t=!1;return r(l,(function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}})),t}(e)}},53956:function(e,t,n){"use strict";var r=n(59503),i=n(39302),o=n(37225).Buffer,s=new Array(16);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<<t|e>>>32-t}function u(e,t,n,r,i,o,s){return c(e+(t&n|~t&r)+i+o|0,s)+t|0}function f(e,t,n,r,i,o,s){return c(e+(t&r|n&~r)+i+o|0,s)+t|0}function h(e,t,n,r,i,o,s){return c(e+(t^n^r)+i+o|0,s)+t|0}function l(e,t,n,r,i,o,s){return c(e+(n^(t|~r))+i+o|0,s)+t|0}r(a,i),a.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=u(n,r,i,o,e[0],3614090360,7),o=u(o,n,r,i,e[1],3905402710,12),i=u(i,o,n,r,e[2],606105819,17),r=u(r,i,o,n,e[3],3250441966,22),n=u(n,r,i,o,e[4],4118548399,7),o=u(o,n,r,i,e[5],1200080426,12),i=u(i,o,n,r,e[6],2821735955,17),r=u(r,i,o,n,e[7],4249261313,22),n=u(n,r,i,o,e[8],1770035416,7),o=u(o,n,r,i,e[9],2336552879,12),i=u(i,o,n,r,e[10],4294925233,17),r=u(r,i,o,n,e[11],2304563134,22),n=u(n,r,i,o,e[12],1804603682,7),o=u(o,n,r,i,e[13],4254626195,12),i=u(i,o,n,r,e[14],2792965006,17),n=f(n,r=u(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=f(o,n,r,i,e[6],3225465664,9),i=f(i,o,n,r,e[11],643717713,14),r=f(r,i,o,n,e[0],3921069994,20),n=f(n,r,i,o,e[5],3593408605,5),o=f(o,n,r,i,e[10],38016083,9),i=f(i,o,n,r,e[15],3634488961,14),r=f(r,i,o,n,e[4],3889429448,20),n=f(n,r,i,o,e[9],568446438,5),o=f(o,n,r,i,e[14],3275163606,9),i=f(i,o,n,r,e[3],4107603335,14),r=f(r,i,o,n,e[8],1163531501,20),n=f(n,r,i,o,e[13],2850285829,5),o=f(o,n,r,i,e[2],4243563512,9),i=f(i,o,n,r,e[7],1735328473,14),n=h(n,r=f(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=h(o,n,r,i,e[8],2272392833,11),i=h(i,o,n,r,e[11],1839030562,16),r=h(r,i,o,n,e[14],4259657740,23),n=h(n,r,i,o,e[1],2763975236,4),o=h(o,n,r,i,e[4],1272893353,11),i=h(i,o,n,r,e[7],4139469664,16),r=h(r,i,o,n,e[10],3200236656,23),n=h(n,r,i,o,e[13],681279174,4),o=h(o,n,r,i,e[0],3936430074,11),i=h(i,o,n,r,e[3],3572445317,16),r=h(r,i,o,n,e[6],76029189,23),n=h(n,r,i,o,e[9],3654602809,4),o=h(o,n,r,i,e[12],3873151461,11),i=h(i,o,n,r,e[15],530742520,16),n=l(n,r=h(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=l(o,n,r,i,e[7],1126891415,10),i=l(i,o,n,r,e[14],2878612391,15),r=l(r,i,o,n,e[5],4237533241,21),n=l(n,r,i,o,e[12],1700485571,6),o=l(o,n,r,i,e[3],2399980690,10),i=l(i,o,n,r,e[10],4293915773,15),r=l(r,i,o,n,e[1],2240044497,21),n=l(n,r,i,o,e[8],1873313359,6),o=l(o,n,r,i,e[15],4264355552,10),i=l(i,o,n,r,e[6],2734768916,15),r=l(r,i,o,n,e[13],1309151649,21),n=l(n,r,i,o,e[4],4149444226,6),o=l(o,n,r,i,e[11],3174756917,10),i=l(i,o,n,r,e[2],718787259,15),r=l(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=a},16616:function(e,t,n){var r=n(30910),i=n(71876);function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},o.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),s=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var u=e.shrn(c),f=a.toRed(o);t>0;t--){var h=this._randrange(new r(2),a);n&&n(h);var l=h.toRed(o).redPow(u);if(0!==l.cmp(s)&&0!==l.cmp(f)){for(var d=1;d<c;d++){if(0===(l=l.redSqr()).cmp(s))return!1;if(0===l.cmp(f))break}if(d===c)return!1}}return!0},o.prototype.getDivisor=function(e,t){var n=e.bitLength(),i=r.mont(e),o=new r(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var s=e.subn(1),a=0;!s.testn(a);a++);for(var c=e.shrn(a),u=s.toRed(i);t>0;t--){var f=this._randrange(new r(2),s),h=e.gcd(f);if(0!==h.cmpn(1))return h;var l=f.toRed(i).redPow(c);if(0!==l.cmp(o)&&0!==l.cmp(u)){for(var d=1;d<a;d++){if(0===(l=l.redSqr()).cmp(o))return l.fromRed().subn(1).gcd(e);if(0===l.cmp(u))break}if(d===a)return(l=l.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},78785:function(){},48282:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},90458:function(e,t){"use strict";var n=t;function r(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",n=0;n<e.length;n++)t+=r(e[n].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),o=i>>8,s=255&i;o?n.push(o,s):n.push(s)}return n},n.zero2=r,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}},32002:function(e){var t=1e3,n=60*t,r=60*n,i=24*r,o=7*i,s=365.25*i;function a(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,c){c=c||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*i;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"===u&&isFinite(e))return c.long?function(e){var o=Math.abs(e);if(o>=i)return a(e,o,i,"day");if(o>=r)return a(e,o,r,"hour");if(o>=n)return a(e,o,n,"minute");if(o>=t)return a(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=i)return Math.round(e/i)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=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))}},96121:function(e){e.exports=function(e,t){return e===t||!!(16&e.compareDocumentPosition(t))}},1625:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var s,a,c=i(e),u=1;u<arguments.length;u++){for(var f in s=Object(arguments[u]))n.call(s,f)&&(c[f]=s[f]);if(t){a=t(s);for(var h=0;h<a.length;h++)r.call(s,a[h])&&(c[a[h]]=s[a[h]])}}return c}},72335:function(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},88706:function(e,t,n){"use strict";var r=n(13185),i=n(43120),o=n(72335),s=n(75432),a=n(95894),c=i(s(),Object);r(c,{getPolyfill:s,implementation:o,shim:a}),e.exports=c},75432:function(e,t,n){"use strict";var r=n(72335);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},95894:function(e,t,n){"use strict";var r=n(75432),i=n(13185);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},96128:function(e,t,n){"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=n(56133),a=Object.prototype.propertyIsEnumerable,c=!a.call({toString:null},"toString"),u=a.call((function(){}),"prototype"),f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(e){var t=e.constructor;return t&&t.prototype===e},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!l["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{h(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),r=s(e),a=t&&"[object String]"===o.call(e),l=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var p=u&&n;if(a&&e.length>0&&!i.call(e,0))for(var g=0;g<e.length;++g)l.push(String(g));if(r&&e.length>0)for(var m=0;m<e.length;++m)l.push(String(m));else for(var b in e)p&&"prototype"===b||!i.call(e,b)||l.push(String(b));if(c)for(var v=function(e){if("undefined"==typeof window||!d)return h(e);try{return h(e)}catch(e){return!1}}(e),y=0;y<f.length;++y)v&&"constructor"===f[y]||!i.call(e,f[y])||l.push(f[y]);return l}}e.exports=r},98517:function(e,t,n){"use strict";var r=Array.prototype.slice,i=n(56133),o=Object.keys,s=o?function(e){return o(e)}:n(96128),a=Object.keys;s.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?a(r.call(e)):a(e)})}else Object.keys=s;return Object.keys||s},e.exports=s},56133:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},82581:function(e,t,n){"use strict";var r=n(8277);t.certificate=n(42103);var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));t.PublicKey=s;var a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=c;var u=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=u;var f=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=f,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var h=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(l),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=h;var l=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},42103:function(e,t,n){"use strict";var r=n(8277),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())})),c=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),u=r.define("RDNSequence",(function(){this.seqof(c)})),f=r.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),h=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),l=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(f),this.key("validity").use(h),this.key("subject").use(f),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(l).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())}));e.exports=p},89987:function(e,t,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,s=n(51105),a=n(6123),c=n(37225).Buffer;e.exports=function(e,t){var n,u=e.toString(),f=u.match(r);if(f){var h="aes"+f[1],l=c.from(f[2],"hex"),d=c.from(f[3].replace(/[\r\n]/g,""),"base64"),p=s(t,l.slice(0,8),parseInt(f[1],10)).key,g=[],m=a.createDecipheriv(h,p,l);g.push(m.update(d)),g.push(m.final()),n=c.concat(g)}else{var b=u.match(o);n=c.from(b[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:n}}},87758:function(e,t,n){var r=n(82581),i=n(93611),o=n(89987),s=n(6123),a=n(80231),c=n(37225).Buffer;function u(e){var t;"object"!=typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=c.from(e));var n,u,f=o(e,t),h=f.tag,l=f.data;switch(h){case"CERTIFICATE":u=r.certificate.decode(l,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=r.PublicKey.decode(l,"der")),n=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=r.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":l=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,f=e.subjectPrivateKey,h=parseInt(o.split("-")[1],10)/8,l=a.pbkdf2Sync(t,n,r,h,"sha1"),d=s.createDecipheriv(o,l,u),p=[];return p.push(d.update(f)),p.push(d.final()),c.concat(p)}(l=r.EncryptedPrivateKey.decode(l,"der"),t);case"PRIVATE KEY":switch(n=(u=r.PrivateKey.decode(l,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:r.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=r.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(l,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(l,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(l,"der")};case"EC PRIVATE KEY":return{curve:(l=r.ECPrivateKey.decode(l,"der")).parameters.value,privateKey:l.privateKey};default:throw new Error("unknown key type "+h)}}e.exports=u,u.signature=r.signature},80231:function(e,t,n){t.pbkdf2=n(86443),t.pbkdf2Sync=n(1452)},86443:function(e,t,n){var r,i,o=n(37225).Buffer,s=n(95672),a=n(32042),c=n(1452),u=n(68200),f=window.crypto&&window.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},l=[];function d(){return i||(i=window.process&&window.process.nextTick?window.process.nextTick:window.queueMicrotask?window.queueMicrotask:window.setImmediate?window.setImmediate:window.setTimeout)}function p(e,t,n,r,i){return f.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return f.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.from(e)}))}e.exports=function(e,t,n,i,g,m){"function"==typeof g&&(m=g,g=void 0);var b=h[(g=g||"sha1").toLowerCase()];if(b&&"function"==typeof window.Promise){if(s(n,i),e=u(e,a,"Password"),t=u(t,a,"Salt"),"function"!=typeof m)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){d()((function(){t(null,e)}))}),(function(e){d()((function(){t(e)}))}))}(function(e){if(window.process&&!window.process.browser)return Promise.resolve(!1);if(!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==l[e])return l[e];var t=p(r=r||o.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return l[e]=t,t}(b).then((function(r){return r?p(e,t,n,i,b):c(e,t,n,i,g)})),m)}else d()((function(){var r;try{r=c(e,t,n,i,g)}catch(e){return m(e)}m(null,r)}))}},32042:function(e,t,n){var r,i=n(5806);if(window.process&&window.process.browser)r="utf-8";else if(window.process&&window.process.version){r=parseInt(i.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else r="utf-8";e.exports=r},95672:function(e){var t=Math.pow(2,30)-1;e.exports=function(e,n){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof n)throw new TypeError("Key length not a number");if(n<0||n>t||n!=n)throw new TypeError("Bad key length")}},1452:function(e,t,n){var r=n(51345),i=n(50601),o=n(25636),s=n(37225).Buffer,a=n(95672),c=n(32042),u=n(68200),f=s.alloc(128),h={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function l(e,t,n){var a=function(e){function t(t){return o(e).update(t).digest()}function n(e){return(new i).update(e).digest()}return"rmd160"===e||"ripemd160"===e?n:"md5"===e?r:t}(e),c="sha512"===e||"sha384"===e?128:64;t.length>c?t=a(t):t.length<c&&(t=s.concat([t,f],c));for(var u=s.allocUnsafe(c+h[e]),l=s.allocUnsafe(c+h[e]),d=0;d<c;d++)u[d]=54^t[d],l[d]=92^t[d];var p=s.allocUnsafe(c+n+4);u.copy(p,0,0,c),this.ipad1=p,this.ipad2=u,this.opad=l,this.alg=e,this.blocksize=c,this.hash=a,this.size=h[e]}l.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,n,r,i){a(n,r);var o=new l(i=i||"sha1",e=u(e,c,"Password"),(t=u(t,c,"Salt")).length),f=s.allocUnsafe(r),d=s.allocUnsafe(t.length+4);t.copy(d,0,0,t.length);for(var p=0,g=h[i],m=Math.ceil(r/g),b=1;b<=m;b++){d.writeUInt32BE(b,t.length);for(var v=o.run(d,o.ipad1),y=v,w=1;w<n;w++){y=o.run(y,o.ipad2);for(var _=0;_<g;_++)v[_]^=y[_]}v.copy(f,p),p+=g}return f}},68200:function(e,t,n){var r=n(37225).Buffer;e.exports=function(e,t,n){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,t);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},5806:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var a,c=[],u=!1,f=-1;function h(){u&&a&&(u=!1,a.length?c=a.concat(c):f=-1,c.length&&l())}function l(){if(!u){var e=s(h);u=!0;for(var t=c.length;t;){for(a=c,c=[];++f<t;)a&&a[f].run();f=-1,t=c.length}a=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new d(e,t)),1!==c.length||u||s(l)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},9587:function(e,t,n){"use strict";var r=n(45843);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},11268:function(e,t,n){e.exports=n(9587)()},45843:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},51296:function(e,t,n){t.publicEncrypt=n(75496),t.privateDecrypt=n(42882),t.privateEncrypt=function(e,n){return t.publicEncrypt(e,n,!0)},t.publicDecrypt=function(e,n){return t.privateDecrypt(e,n,!0)}},46598:function(e,t,n){var r=n(77439),i=n(37225).Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var n,s=i.alloc(0),a=0;s.length<t;)n=o(a++),s=i.concat([s,r("sha1").update(e).update(n).digest()]);return s.slice(0,t)}},42882:function(e,t,n){var r=n(87758),i=n(46598),o=n(76245),s=n(30910),a=n(8568),c=n(77439),u=n(65505),f=n(37225).Buffer;e.exports=function(e,t,n){var h;h=e.padding?e.padding:n?1:4;var l,d=r(e),p=d.modulus.byteLength();if(t.length>p||new s(t).cmp(d.modulus)>=0)throw new Error("decryption error");l=n?u(new s(t),d):a(t,d);var g=f.alloc(p-l.length);if(l=f.concat([g,l],p),4===h)return function(e,t){var n=e.modulus.byteLength(),r=c("sha1").update(f.alloc(0)).digest(),s=r.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),u=t.slice(s+1),h=o(a,i(u,s)),l=o(u,i(h,n-s-1));if(function(e,t){e=f.from(e),t=f.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;for(;++i<r;)n+=e[i]^t[i];return n}(r,l.slice(0,s)))throw new Error("decryption error");var d=s;for(;0===l[d];)d++;if(1!==l[d++])throw new Error("decryption error");return l.slice(d)}(d,l);if(1===h)return function(e,t,n){var r=t.slice(0,2),i=2,o=0;for(;0!==t[i++];)if(i>=t.length){o++;break}var s=t.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;s.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,l,n);if(3===h)return l;throw new Error("unknown padding")}},75496:function(e,t,n){var r=n(87758),i=n(35175),o=n(77439),s=n(46598),a=n(76245),c=n(30910),u=n(65505),f=n(8568),h=n(37225).Buffer;e.exports=function(e,t,n){var l;l=e.padding?e.padding:n?1:4;var d,p=r(e);if(4===l)d=function(e,t){var n=e.modulus.byteLength(),r=t.length,u=o("sha1").update(h.alloc(0)).digest(),f=u.length,l=2*f;if(r>n-l-2)throw new Error("message too long");var d=h.alloc(n-r-l-2),p=n-f-1,g=i(f),m=a(h.concat([u,d,h.alloc(1,1),t],p),s(g,p)),b=a(g,s(m,f));return new c(h.concat([h.alloc(1),b,m],n))}(p,t);else if(1===l)d=function(e,t,n){var r,o=t.length,s=e.modulus.byteLength();if(o>s-11)throw new Error("message too long");r=n?h.alloc(s-o-3,255):function(e){var t,n=h.allocUnsafe(e),r=0,o=i(2*e),s=0;for(;r<e;)s===o.length&&(o=i(2*e),s=0),(t=o[s++])&&(n[r++]=t);return n}(s-o-3);return new c(h.concat([h.from([0,n?1:2]),r,h.alloc(1),t],s))}(p,t,n);else{if(3!==l)throw new Error("unknown padding");if((d=new c(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?f(d,p):u(d,p)}},65505:function(e,t,n){var r=n(30910),i=n(37225).Buffer;e.exports=function(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}},76245:function(e){e.exports=function(e,t){for(var n=e.length,r=-1;++r<n;)e[r]^=t[r];return e}},35175:function(e,t,n){"use strict";var r=n(5806),i=65536,o=4294967295;var s=n(37225).Buffer,a=window.crypto||window.msCrypto;a&&a.getRandomValues?e.exports=function(e,t){if(e>o)throw new RangeError("requested too many random bytes");var n=s.allocUnsafe(e);if(e>0)if(e>i)for(var c=0;c<e;c+=i)a.getRandomValues(n.slice(c,c+i));else a.getRandomValues(n);if("function"==typeof t)return r.nextTick((function(){t(null,n)}));return n}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},70460:function(e,t,n){"use strict";var r=n(5806);function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=n(37225),s=n(35175),a=o.Buffer,c=o.kMaxLength,u=window.crypto||window.msCrypto,f=Math.pow(2,32)-1;function h(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>f||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function l(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>f||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>c)throw new RangeError("buffer too small")}function d(e,t,n,i){if(r.browser){var o=e.buffer,a=new Uint8Array(o,t,n);return u.getRandomValues(a),i?void r.nextTick((function(){i(null,e)})):e}if(!i)return s(n).copy(e,t),e;s(n,(function(n,r){if(n)return i(n);r.copy(e,t),i(null,e)}))}u&&u.getRandomValues||!r.browser?(t.randomFill=function(e,t,n,r){if(!(a.isBuffer(e)||e instanceof window.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)r=t,t=0,n=e.length;else if("function"==typeof n)r=n,n=e.length-t;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return h(t,e.length),l(n,t,e.length),d(e,t,n,r)},t.randomFillSync=function(e,t,n){void 0===t&&(t=0);if(!(a.isBuffer(e)||e instanceof window.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');h(t,e.length),void 0===n&&(n=e.length-t);return l(n,t,e.length),d(e,t,n)}):(t.randomFill=i,t.randomFillSync=i)},66462:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,l=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case f:case h:case o:case a:case s:case d:return e;default:switch(e=e&&e.$$typeof){case u:case l:case m:case g:case c:return e;default:return t}}case i:return t}}}function E(e){return _(e)===h}t.AsyncMode=f,t.ConcurrentMode=h,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=l,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=d,t.isAsyncMode=function(e){return E(e)||_(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===l},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===m},t.isMemo=function(e){return _(e)===g},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===a},t.isStrictMode=function(e){return _(e)===s},t.isSuspense=function(e){return _(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===h||e===a||e===s||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===c||e.$$typeof===u||e.$$typeof===l||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b)},t.typeOf=_},80364:function(e,t,n){"use strict";e.exports=n(66462)},33244:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)};var r,i=n(60360),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},21425:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(33244),o=(r=i)&&r.__esModule?r:{default:r};t.default={shouldComponentUpdate:o.default},e.exports=t.default},60360:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),o=0;o<n.length;o++)if(!i(n[o])||e[n[o]]!==t[n[o]])return!1;return!0},e.exports=t.default},1992:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(99196),i=n.n(r)().createContext(null)},32054:function(e,t,n){"use strict";var r=n(71446),i=n(99196),o=n.n(i),s=n(11268),a=n.n(s),c=n(1992),u=function(e){function t(t){var n;n=e.call(this,t)||this;var r=t.store;return n.state={storeState:r.getState(),store:r},n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this.subscribe()},n.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},n.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},n.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var n=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===n?null:{storeState:n}}))}));var n=t.getState();n!==this.state.storeState&&this.setState({storeState:n})},n.render=function(){var e=this.props.context||c.E;return o().createElement(e.Provider,{value:this.state},this.props.children)},t}(i.Component);u.propTypes={store:a().shape({subscribe:a().func.isRequired,dispatch:a().func.isRequired,getState:a().func.isRequired}),context:a().object,children:a().any},t.Z=u},4193:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(25303),i=n(71446),o=n(40988),s=n(5343),a=n(13266),c=n.n(a),u=n(24546),f=n.n(u),h=n(99196),l=n.n(h),d=n(80364),p=n(1992);function g(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,u=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,g=n.methodName,m=void 0===g?"connectAdvanced":g,b=n.renderCountProp,v=void 0===b?void 0:b,y=n.shouldHandleStateChanges,w=void 0===y||y,_=n.storeKey,E=void 0===_?"store":_,S=n.withRef,k=void 0!==S&&S,M=n.forwardRef,C=void 0!==M&&M,A=n.context,x=void 0===A?p.E:A,I=(0,s.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);f()(void 0===v,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),f()(!k,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var O="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";f()("store"===E,"storeKey has been removed and does not do anything. "+O);var T=x;return function(t){var n=t.displayName||t.name||"Component",s=u(n),a=(0,o.Z)({},I,{getDisplayName:u,methodName:m,renderCountProp:v,shouldHandleStateChanges:w,storeKey:E,displayName:s,wrappedComponentName:n,WrappedComponent:t}),p=I.pure,g=h.Component;p&&(g=h.PureComponent);var b=function(n){function c(t){var i,s,a,c,u,h,d,g,m,b,v;return i=n.call(this,t)||this,f()(C?!t.wrapperProps[E]:!t[E],"Passing redux store in props has been removed and does not do anything. "+O),i.selectDerivedProps=function(t,n,r,i){if(p&&s===n&&a===t)return c;r===u&&h===i||(u=r,h=i,d=e(r.dispatch,i)),s=n,a=t;var o=d(t,n);return c=o},i.selectChildElement=function(e,t,n){return t===g&&n===m&&v===e||(g=t,m=n,v=e,b=l().createElement(e,(0,o.Z)({},t,{ref:n}))),b},i.indirectRenderWrappedComponent=i.indirectRenderWrappedComponent.bind((0,r.Z)(i)),i}(0,i.Z)(c,n);var u=c.prototype;return u.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},u.renderWrappedComponent=function(e){f()(e,'Could not find "store" in the context of "'+s+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+s+" in connect options.");var n,r=e.storeState,i=e.store,o=this.props;C&&(o=this.props.wrapperProps,n=this.props.forwardedRef);var c=this.selectDerivedProps(r,o,i,a);return this.selectChildElement(t,c,n)},u.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,d.isContextConsumer)(l().createElement(this.props.context.Consumer,null))?this.props.context:T;return l().createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},c}(g);if(b.WrappedComponent=t,b.displayName=s,C){var y=l().forwardRef((function(e,t){return l().createElement(b,{wrapperProps:e,forwardedRef:t})}));return y.displayName=s,y.WrappedComponent=t,c()(y,t)}return c()(b,t)}}},28274:function(e,t,n){"use strict";var r,i,o,s,a,c,u,f,h,l,d,p,g=n(40988),m=n(5343),b=n(4193),v=n(37110),y=n(80214),w=n(26150),_=n(94262),E=n(27189);function S(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function k(e,t){return e===t}t.Z=(o=(i=void 0===r?{}:r).connectHOC,s=void 0===o?b.Z:o,a=i.mapStateToPropsFactories,c=void 0===a?w.ZP:a,u=i.mapDispatchToPropsFactories,f=void 0===u?y.ZP:u,h=i.mergePropsFactories,l=void 0===h?_.ZP:h,d=i.selectorFactory,p=void 0===d?E.ZP:d,function(e,t,n,r){void 0===r&&(r={});var i=r,o=i.pure,a=void 0===o||o,u=i.areStatesEqual,h=void 0===u?k:u,d=i.areOwnPropsEqual,b=void 0===d?v.Z:d,y=i.areStatePropsEqual,w=void 0===y?v.Z:y,_=i.areMergedPropsEqual,E=void 0===_?v.Z:_,M=(0,m.Z)(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=S(e,c,"mapStateToProps"),A=S(t,f,"mapDispatchToProps"),x=S(n,l,"mergeProps");return s(p,(0,g.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:C,initMapDispatchToProps:A,initMergeProps:x,pure:a,areStatesEqual:h,areOwnPropsEqual:b,areStatePropsEqual:w,areMergedPropsEqual:E},M))})},80214:function(e,t,n){"use strict";var r=n(74978),i=n(68821);t.ZP=[function(e){return"function"==typeof e?(0,i.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,i.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,i.dX)((function(t){return(0,r.DE)(e,t)})):void 0}]},26150:function(e,t,n){"use strict";var r=n(68821);t.ZP=[function(e){return"function"==typeof e?(0,r.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,r.dX)((function(){return{}}))}]},94262:function(e,t,n){"use strict";var r=n(40988);n(80450);function i(e,t,n){return(0,r.Z)({},n,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,s=!1;return function(t,n,a){var c=e(t,n,a);return s?i&&o(c,r)||(r=c):(s=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return i}}]},27189:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s}});var r=n(5343);n(51617);function i(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function o(e,t,n,r,i){var o,s,a,c,u,f=i.areStatesEqual,h=i.areOwnPropsEqual,l=i.areStatePropsEqual,d=!1;function p(i,d){var p,g,m=!h(d,s),b=!f(i,o);return o=i,s=d,m&&b?(a=e(o,s),t.dependsOnOwnProps&&(c=t(r,s)),u=n(a,c,s)):m?(e.dependsOnOwnProps&&(a=e(o,s)),t.dependsOnOwnProps&&(c=t(r,s)),u=n(a,c,s)):b?(p=e(o,s),g=!l(p,a),a=p,g&&(u=n(a,c,s)),u):u}return function(i,f){return d?p(i,f):(a=e(o=i,s=f),c=t(r,s),u=n(a,c,s),d=!0,u)}}function s(e,t){var n=t.initMapStateToProps,s=t.initMapDispatchToProps,a=t.initMergeProps,c=(0,r.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),u=n(e,c),f=s(e,c),h=a(e,c);return(c.pure?o:i)(u,f,h,e,c)}},51617:function(e,t,n){"use strict";n(28477)},68821:function(e,t,n){"use strict";n.d(t,{dX:function(){return r},xv:function(){return o}});n(80450);function r(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function i(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function o(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=i(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=i(o),o=r(t,n)),o},r}}},2620:function(e,t,n){"use strict";n.d(t,{zt:function(){return r.Z},$j:function(){return i.Z}});var r=n(32054),i=(n(4193),n(1992),n(28274))},37110:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=Object.prototype.hasOwnProperty;function i(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function o(e,t){if(i(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var s=0;s<n.length;s++)if(!r.call(t,n[s])||!i(e[n[s]],t[n[s]]))return!1;return!0}},80450:function(e,t,n){"use strict";n(28477)},28477:function(e,t,n){"use strict";n(55246)},30997:function(e){"use strict";var t={};function n(e,n,r){r||(r=Error);var i=function(e){var t,r;function i(t,r,i){return e.call(this,function(e,t,r){return"string"==typeof n?n:n(e,t,r)}(t,r,i))||this}return r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,o,s,a;if("string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var c=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(c," ").concat(i," ").concat(r(t,"type"))}return a+=". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},95507:function(e,t,n){"use strict";var r=n(5806),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=f;var o=n(20465),s=n(48607);n(59503)(f,o);for(var a=i(s.prototype),c=0;c<a.length;c++){var u=a[c];f.prototype[u]||(f.prototype[u]=s.prototype[u])}function f(e){if(!(this instanceof f))return new f(e);o.call(this,e),s.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||r.nextTick(l,this)}function l(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(f.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(f.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},15385:function(e,t,n){"use strict";e.exports=i;var r=n(1866);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(59503)(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},20465:function(e,t,n){"use strict";var r,i=n(5806);e.exports=M,M.ReadableState=k;n(2571).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=n(74756),a=n(90778).Buffer,c=window.Uint8Array||function(){};var u,f=n(80677);u=f&&f.debuglog?f.debuglog("stream"):function(){};var h,l,d,p=n(41500),g=n(13537),m=n(71199).getHighWaterMark,b=n(30997).q,v=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,w=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(59503)(M,s);var E=g.errorOrDestroy,S=["error","close","destroy","pause","resume"];function k(e,t,i){r=r||n(95507),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",i),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=n(3247).s),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function M(e){if(r=r||n(95507),!(this instanceof M))return new M(e);var t=this instanceof r;this._readableState=new k(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function C(e,t,n,r,i){u("readableAddChunk",t);var o,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?O(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,T(e)))}(e,s);else if(i||(o=function(e,t){var n;r=t,a.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new v("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(s,t)),o)E(e,o);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),r)s.endEmitted?E(e,new _):A(e,s,t,!0);else if(s.ended)E(e,new y);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?A(e,s,t,!1):N(e,s)):A(e,s,t,!1)}else r||(s.reading=!1,N(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function A(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&O(e)),N(e,t)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),M.prototype.destroy=g.destroy,M.prototype._undestroy=g.undestroy,M.prototype._destroy=function(e,t){t(e)},M.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=a.from(e,t),t=""),n=!0),C(this,e,t,!1,n)},M.prototype.unshift=function(e){return C(this,e,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(e){h||(h=n(3247).s);var t=new h(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var x=1073741824;function I(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=x?e=x:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(T,e))}function T(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,B(e)}function N(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(j,e,t))}function j(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function z(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function P(e){u("readable nexttick read 0"),e.read(0)}function R(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function D(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}M.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?D(this):O(this),null;if(0===(e=I(e,t))&&t.ended)return 0===t.length&&D(this),null;var r,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=I(n,t))),null===(r=e>0?L(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&D(this)),null!==r&&this.emit("data",r),r},M.prototype._read=function(e){E(this,new w("_read()"))},M.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,u("pipe count=%d opts=%j",r.pipesCount,t);var s=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?c:m;function a(t,i){u("onunpipe"),t===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),e.removeListener("drain",f),e.removeListener("error",d),e.removeListener("unpipe",a),n.removeListener("end",c),n.removeListener("end",m),n.removeListener("data",l),h=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){u("onend"),e.end()}r.endEmitted?i.nextTick(s):n.once("end",s),e.on("unpipe",a);var f=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,B(e))}}(n);e.on("drain",f);var h=!1;function l(t){u("ondata");var i=e.write(t);u("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==F(r.pipes,e))&&!h&&(u("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function d(t){u("onerror",t),m(),e.removeListener("error",d),0===o(e,"error")&&E(e,t)}function p(){e.removeListener("finish",g),m()}function g(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),n.unpipe(e)}return n.on("data",l),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",p),e.once("finish",g),e.emit("pipe",n),r.flowing||(u("pipe resume"),n.resume()),e},M.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=F(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},M.prototype.on=function(e,t){var n=s.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,u("on readable",r.length,r.reading),r.length?O(this):r.reading||i.nextTick(P,this))),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(e,t){var n=s.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(z,this),n},M.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(z,this),t},M.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(R,e,t))}(this,e)),e.paused=!1,this},M.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},M.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(u("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(u("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<S.length;o++)e.on(S[o],this.emit.bind(this,S[o]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=n(87906)),l(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),M._fromList=L,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(e,t){return void 0===d&&(d=n(67841)),d(M,e,t)})},1866:function(e,t,n){"use strict";e.exports=f;var r=n(30997).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,c=n(95507);function u(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function f(e){if(!(this instanceof f))return new f(e);c.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",h)}function h(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?l(this,null,null):this._flush((function(t,n){l(e,t,n)}))}function l(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new a;if(e._transformState.transforming)throw new s;return e.push(null)}n(59503)(f,c),f.prototype.push=function(e,t){return this._transformState.needTransform=!1,c.prototype.push.call(this,e,t)},f.prototype._transform=function(e,t,n){n(new i("_transform()"))},f.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},f.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},f.prototype._destroy=function(e,t){c.prototype._destroy.call(this,e,(function(e){t(e)}))}},48607:function(e,t,n){"use strict";var r,i=n(5806);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=M,M.WritableState=k;var s={deprecate:n(49231)},a=n(74756),c=n(90778).Buffer,u=window.Uint8Array||function(){};var f,h=n(13537),l=n(71199).getHighWaterMark,d=n(30997).q,p=d.ERR_INVALID_ARG_TYPE,g=d.ERR_METHOD_NOT_IMPLEMENTED,m=d.ERR_MULTIPLE_CALLBACK,b=d.ERR_STREAM_CANNOT_PIPE,v=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,_=d.ERR_UNKNOWN_ENCODING,E=h.errorOrDestroy;function S(){}function k(e,t,s){r=r||n(95507),e=e||{},"boolean"!=typeof s&&(s=t instanceof r),this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=l(this,e,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if("function"!=typeof o)throw new m;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(T,e,t),e._writableState.errorEmitted=!0,E(e,r)):(o(r),e._writableState.errorEmitted=!0,E(e,r),T(e,t))}(e,n,r,t,o);else{var s=I(n)||e.destroyed;s||n.corked||n.bufferProcessing||!n.bufferedRequest||x(e,n),r?i.nextTick(A,e,n,s,o):A(e,n,s,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function M(e){var t=this instanceof(r=r||n(95507));if(!t&&!f.call(M,this))return new M(e);this._writableState=new k(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),a.call(this)}function C(e,t,n,r,i,o,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function A(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),T(e,t)}function x(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),s=t.corkedRequestsFree;s.entry=n;for(var a=0,c=!0;n;)i[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;i.allBuffers=c,C(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,f=n.encoding,h=n.callback;if(C(e,t,!1,t.objectMode?1:u.length,u,f,h),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function I(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function O(e,t){e._final((function(n){t.pendingcb--,n&&E(e,n),t.prefinished=!0,e.emit("prefinish"),T(e,t)}))}function T(e,t){var n=I(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.nextTick(O,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}n(59503)(M,a),k.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(k.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(e){return!!f.call(this,e)||this===M&&(e&&e._writableState instanceof k)}})):f=function(e){return e instanceof this},M.prototype.pipe=function(){E(this,new b)},M.prototype.write=function(e,t,n){var r,o=this._writableState,s=!1,a=!o.objectMode&&(r=e,c.isBuffer(r)||r instanceof u);return a&&!c.isBuffer(e)&&(e=function(e){return c.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=S),o.ending?function(e,t){var n=new w;E(e,n),i.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var o;return null===n?o=new y:"string"==typeof n||t.objectMode||(o=new p("chunk",["string","Buffer"],n)),!o||(E(e,o),i.nextTick(r,o),!1)}(this,o,e,n))&&(o.pendingcb++,s=function(e,t,n,r,i,o){if(!n){var s=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,n));return t}(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,a,r,i,o);return u}(this,o,a,e,t,n)),s},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||x(this,e))},M.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(e,t,n){n(new g("_write()"))},M.prototype._writev=null,M.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,T(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),M.prototype.destroy=h.destroy,M.prototype._undestroy=h.undestroy,M.prototype._destroy=function(e,t){t(e)}},87906:function(e,t,n){"use strict";var r,i=n(5806);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(87288),a=Symbol("lastResolve"),c=Symbol("lastReject"),u=Symbol("error"),f=Symbol("ended"),h=Symbol("lastPromise"),l=Symbol("handlePromise"),d=Symbol("stream");function p(e,t){return{value:e,done:t}}function g(e){var t=e[a];if(null!==t){var n=e[d].read();null!==n&&(e[h]=null,e[a]=null,e[c]=null,t(p(n,!1)))}}function m(e){i.nextTick(g,e)}var b=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((o(r={get stream(){return this[d]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[f])return Promise.resolve(p(void 0,!0));if(this[d].destroyed)return new Promise((function(t,n){i.nextTick((function(){e[u]?n(e[u]):t(p(void 0,!0))}))}));var n,r=this[h];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[f]?n(p(void 0,!0)):t[l](n,r)}),r)}}(r,this));else{var o=this[d].read();if(null!==o)return Promise.resolve(p(o,!1));n=new Promise(this[l])}return this[h]=n,n}},Symbol.asyncIterator,(function(){return this})),o(r,"return",(function(){var e=this;return new Promise((function(t,n){e[d].destroy(null,(function(e){e?n(e):t(p(void 0,!0))}))}))})),r),b);e.exports=function(e){var t,n=Object.create(v,(o(t={},d,{value:e,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,f,{value:e._readableState.endEmitted,writable:!0}),o(t,l,{value:function(e,t){var r=n[d].read();r?(n[h]=null,n[a]=null,n[c]=null,e(p(r,!1))):(n[a]=e,n[c]=t)},writable:!0}),t));return n[h]=null,s(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[c];return null!==t&&(n[h]=null,n[a]=null,n[c]=null,t(e)),void(n[u]=e)}var r=n[a];null!==r&&(n[h]=null,n[a]=null,n[c]=null,r(p(void 0,!0))),n[f]=!0})),e.on("readable",m.bind(null,n)),n}},41500:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=n(90778).Buffer,a=n(23833).inspect,c=a&&a.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,u;return t=e,n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,n,r,i=s.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,n=i,r=a,s.prototype.copy.call(t,n,r),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return a(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}],n&&o(t.prototype,n),u&&o(t,u),e}()},13537:function(e,t,n){"use strict";var r=n(5806);function i(e,t){s(e,t),o(e)}function o(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function s(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,a=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return a||c?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(s,this,e)):r.nextTick(s,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?r.nextTick(o,n):(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t?(r.nextTick(o,n),t(e)):r.nextTick(o,n)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}},87288:function(e,t,n){"use strict";var r=n(30997).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||i);var s=n.readable||!1!==n.readable&&t.readable,a=n.writable||!1!==n.writable&&t.writable,c=function(){t.writable||f()},u=t._writableState&&t._writableState.finished,f=function(){a=!1,u=!0,s||o.call(t)},h=t._readableState&&t._readableState.endEmitted,l=function(){s=!1,h=!0,a||o.call(t)},d=function(e){o.call(t,e)},p=function(){var e;return s&&!h?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):a&&!u?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},g=function(){t.req.on("finish",f)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?a&&!t._writableState&&(t.on("end",c),t.on("close",c)):(t.on("complete",f),t.on("abort",p),t.req?g():t.on("request",g)),t.on("end",l),t.on("finish",f),!1!==n.error&&t.on("error",d),t.on("close",p),function(){t.removeListener("complete",f),t.removeListener("abort",p),t.removeListener("request",g),t.req&&t.req.removeListener("finish",f),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("end",l),t.removeListener("error",d),t.removeListener("close",p)}}},67841:function(e){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},60519:function(e,t,n){"use strict";var r;var i=n(30997).q,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function c(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var a=!1;e.on("close",(function(){a=!0})),void 0===r&&(r=n(87288)),r(e,{readable:t,writable:i},(function(e){if(e)return o(e);a=!0,o()}));var c=!1;return function(t){if(!a&&!c)return c=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new s("pipe"))}}function u(e){e()}function f(e,t){return e.pipe(t)}function h(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=h(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var s=t.map((function(e,n){var o=n<t.length-1;return c(e,o,n>0,(function(e){r||(r=e),e&&s.forEach(u),o||(s.forEach(u),i(r))}))}));return t.reduce(f)}},71199:function(e,t,n){"use strict";var r=n(30997).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},74756:function(e,t,n){e.exports=n(2571).EventEmitter},7130:function(e,t,n){(t=e.exports=n(20465)).Stream=t,t.Readable=t,t.Writable=n(48607),t.Duplex=n(95507),t.Transform=n(1866),t.PassThrough=n(15385),t.finished=n(87288),t.pipeline=n(60519)},53126:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var r=n();r.withExtraArgument=n,t.Z=r},74978:function(e,t,n){"use strict";n.d(t,{md:function(){return m},DE:function(){return h},UY:function(){return u},qC:function(){return g},MT:function(){return a}});var r=n(13488),i=(n(55246),function(){return Math.random().toString(36).substring(7).split("").join(".")}),o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function s(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function a(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,u=t,f=[],h=f,l=!1;function d(){h===f&&(h=f.slice())}function p(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return u}function g(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return d(),h.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,d();var n=h.indexOf(e);h.splice(n,1),f=null}}}function m(e){if(!s(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,u=c(u,e)}finally{l=!1}for(var t=f=h,n=0;n<t.length;n++){(0,t[n])()}return e}function b(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,m({type:o.REPLACE})}function v(){var e,t=g;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(p())}return n(),{unsubscribe:t(n)}}})[r.Z]=function(){return this},e}return m({type:o.INIT}),(i={dispatch:m,subscribe:g,getState:p,replaceReducer:b})[r.Z]=v,i}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var s,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:o.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){s=e}return function(e,t){if(void 0===e&&(e={}),s)throw s;for(var r=!1,i={},o=0;o<a.length;o++){var u=a[o],f=n[u],h=e[u],l=f(h,t);if(void 0===l){var d=c(u,t);throw new Error(d)}i[u]=l,r=r||l!==h}return(r=r||a.length!==Object.keys(e).length)?i:e}}function f(e,t){return function(){return t(e.apply(this,arguments))}}function h(e,t){if("function"==typeof e)return f(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var i=e[r];"function"==typeof i&&(n[r]=f(i,t))}return n}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return p({},n,{dispatch:r=g.apply(void 0,o)(n.dispatch)})}}}},50601:function(e,t,n){"use strict";var r=n(90778).Buffer,i=n(59503),o=n(39302),s=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],f=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],h=[0,1518500249,1859775393,2400959708,2840853838],l=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<<t|e>>>32-t}function g(e,t,n,r,i,o,s,a){return p(e+(t^n^r)+o+s|0,a)+i|0}function m(e,t,n,r,i,o,s,a){return p(e+(t&n|~t&r)+o+s|0,a)+i|0}function b(e,t,n,r,i,o,s,a){return p(e+((t|~n)^r)+o+s|0,a)+i|0}function v(e,t,n,r,i,o,s,a){return p(e+(t&r|n&~r)+o+s|0,a)+i|0}function y(e,t,n,r,i,o,s,a){return p(e+(t^(n|~r))+o+s|0,a)+i|0}i(d,o),d.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,w=0|this._a,_=0|this._b,E=0|this._c,S=0|this._d,k=0|this._e,M=0;M<80;M+=1){var C,A;M<16?(C=g(n,r,i,o,d,e[a[M]],h[0],u[M]),A=y(w,_,E,S,k,e[c[M]],l[0],f[M])):M<32?(C=m(n,r,i,o,d,e[a[M]],h[1],u[M]),A=v(w,_,E,S,k,e[c[M]],l[1],f[M])):M<48?(C=b(n,r,i,o,d,e[a[M]],h[2],u[M]),A=b(w,_,E,S,k,e[c[M]],l[2],f[M])):M<64?(C=v(n,r,i,o,d,e[a[M]],h[3],u[M]),A=m(w,_,E,S,k,e[c[M]],l[3],f[M])):(C=y(n,r,i,o,d,e[a[M]],h[4],u[M]),A=g(w,_,E,S,k,e[c[M]],l[4],f[M])),n=d,d=o,o=p(i,10),i=r,r=C,w=k,k=S,S=p(E,10),E=_,_=A}var x=this._b+i+S|0;this._b=this._c+o+k|0,this._c=this._d+d+w|0,this._d=this._e+n+_|0,this._e=this._a+r+E|0,this._a=x},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=d},37225:function(e,t,n){var r=n(90778),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},82923:function(e,t,n){"use strict";var r,i=n(5806),o=n(90778),s=o.Buffer,a={};for(r in o)o.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=o[r]);var c=a.Buffer={};for(r in s)s.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(c[r]=s[r]);if(a.Buffer.prototype=s.prototype,c.from&&c.from!==Uint8Array.from||(c.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return s(e,t,n)}),c.alloc||(c.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=s(e);return t&&0!==t.length?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength=i.binding("buffer").kStringMaxLength}catch(e){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),e.exports=a},12023:function(e,t,n){var r=n(37225).Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,o=e.length,s=this._len,a=0;a<o;){for(var c=s%i,u=Math.min(o-a,i-c),f=0;f<u;f++)n[c+f]=e[a+f];a+=u,(s+=u)%i==0&&this._update(n)}return this._len+=o,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},25636:function(e,t,n){var r=e.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};r.sha=n(83443),r.sha1=n(32798),r.sha224=n(47803),r.sha256=n(91772),r.sha384=n(43030),r.sha512=n(90566)},83443:function(e,t,n){var r=n(59503),i=n(12023),o=n(37225).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,i.call(this,64,56)}function u(e){return e<<30|e>>>2}function f(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,c=0|this._e,h=0;h<16;++h)n[h]=e.readInt32BE(4*h);for(;h<80;++h)n[h]=n[h-3]^n[h-8]^n[h-14]^n[h-16];for(var l=0;l<80;++l){var d=~~(l/20),p=0|((t=r)<<5|t>>>27)+f(d,i,o,a)+c+n[l]+s[d];c=a,a=o,o=u(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},32798:function(e,t,n){var r=n(59503),i=n(12023),o=n(37225).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function f(e){return e<<30|e>>>2}function h(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,c=0|this._e,l=0;l<16;++l)n[l]=e.readInt32BE(4*l);for(;l<80;++l)n[l]=(t=n[l-3]^n[l-8]^n[l-14]^n[l-16])<<1|t>>>31;for(var d=0;d<80;++d){var p=~~(d/20),g=u(r)+h(p,i,o,a)+c+n[d]+s[p]|0;c=a,a=o,o=f(i),i=r,r=g}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},47803:function(e,t,n){var r=n(59503),i=n(91772),o=n(12023),s=n(37225).Buffer,a=new Array(64);function c(){this.init(),this._w=a,o.call(this,64,56)}r(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},91772:function(e,t,n){var r=n(59503),i=n(12023),o=n(37225).Buffer,s=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function c(){this.init(),this._w=a,i.call(this,64,56)}function u(e,t,n){return n^e&(t^n)}function f(e,t,n){return e&t|n&(e|t)}function h(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function l(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function d(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,c=0|this._e,p=0|this._f,g=0|this._g,m=0|this._h,b=0;b<16;++b)n[b]=e.readInt32BE(4*b);for(;b<64;++b)n[b]=0|(((t=n[b-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[b-7]+d(n[b-15])+n[b-16];for(var v=0;v<64;++v){var y=m+l(c)+u(c,p,g)+s[v]+n[v]|0,w=h(r)+f(r,i,o)|0;m=g,g=p,p=c,c=a+y|0,a=o,o=i,i=r,r=y+w|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=g+this._g|0,this._h=m+this._h|0},c.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},43030:function(e,t,n){var r=n(59503),i=n(90566),o=n(12023),s=n(37225).Buffer,a=new Array(160);function c(){this.init(),this._w=a,o.call(this,128,112)}r(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},90566:function(e,t,n){var r=n(59503),i=n(12023),o=n(37225).Buffer,s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function c(){this.init(),this._w=a,i.call(this,128,112)}function u(e,t,n){return n^e&(t^n)}function f(e,t,n){return e&t|n&(e|t)}function h(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function l(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function d(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function b(e,t){return e>>>0<t>>>0?1:0}r(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,a=0|this._eh,c=0|this._fh,v=0|this._gh,y=0|this._hh,w=0|this._al,_=0|this._bl,E=0|this._cl,S=0|this._dl,k=0|this._el,M=0|this._fl,C=0|this._gl,A=0|this._hl,x=0;x<32;x+=2)t[x]=e.readInt32BE(4*x),t[x+1]=e.readInt32BE(4*x+4);for(;x<160;x+=2){var I=t[x-30],O=t[x-30+1],T=d(I,O),N=p(O,I),j=g(I=t[x-4],O=t[x-4+1]),z=m(O,I),P=t[x-14],R=t[x-14+1],B=t[x-32],L=t[x-32+1],D=N+R|0,U=T+P+b(D,N)|0;U=(U=U+j+b(D=D+z|0,z)|0)+B+b(D=D+L|0,L)|0,t[x]=U,t[x+1]=D}for(var F=0;F<160;F+=2){U=t[F],D=t[F+1];var H=f(n,r,i),V=f(w,_,E),q=h(n,w),K=h(w,n),$=l(a,k),Z=l(k,a),J=s[F],G=s[F+1],W=u(a,c,v),Y=u(k,M,C),X=A+Z|0,Q=y+$+b(X,A)|0;Q=(Q=(Q=Q+W+b(X=X+Y|0,Y)|0)+J+b(X=X+G|0,G)|0)+U+b(X=X+D|0,D)|0;var ee=K+V|0,te=q+H+b(ee,K)|0;y=v,A=C,v=c,C=M,c=a,M=k,a=o+Q+b(k=S+X|0,S)|0,o=i,S=E,i=r,E=_,r=n,_=w,n=Q+te+b(w=X+ee|0,X)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+E|0,this._dl=this._dl+S|0,this._el=this._el+k|0,this._fl=this._fl+M|0,this._gl=this._gl+C|0,this._hl=this._hl+A|0,this._ah=this._ah+n+b(this._al,w)|0,this._bh=this._bh+r+b(this._bl,_)|0,this._ch=this._ch+i+b(this._cl,E)|0,this._dh=this._dh+o+b(this._dl,S)|0,this._eh=this._eh+a+b(this._el,k)|0,this._fh=this._fh+c+b(this._fl,M)|0,this._gh=this._gh+v+b(this._gl,C)|0,this._hh=this._hh+y+b(this._hl,A)|0},c.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},81717:function(e,t,n){e.exports=i;var r=n(2571).EventEmitter;function i(){r.call(this)}n(59503)(i,r),i.Readable=n(20465),i.Writable=n(48607),i.Duplex=n(95507),i.Transform=n(1866),i.PassThrough=n(15385),i.finished=n(87288),i.pipeline=n(60519),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",c));var s=!1;function a(){s||(s=!0,e.end())}function c(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(f(),0===r.listenerCount(this,"error"))throw e}function f(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",c),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",f),n.removeListener("close",f),e.removeListener("close",f)}return n.on("error",u),e.on("error",u),n.on("end",f),n.on("close",f),e.on("close",f),e.emit("pipe",n),e}},3247:function(e,t,n){"use strict";var r=n(37225).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=f,this.end=h,t=3;break;default:return this.write=l,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function f(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=s(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=s(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=s(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},13488:function(e,t,n){"use strict";var r,i=n(32752);e=n.hmd(e),r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var o=(0,i.Z)(r);t.Z=o},32752:function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,{Z:function(){return r}})},80816:function(e,t,n){"use strict";var r=n(90922),i=n.n(r),o=n(92819);const s=i()("dops:analytics");let a,c;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const u={initialize:function(e,t,n){u.setUser(e,t),u.setSuperProps(n),u.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){c={ID:e,username:t}},setSuperProps:function(e){a=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]);s("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);this.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]);s("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Built stat "%s" in group "%s"',t,e);return n}(e,t);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){u.tracks.recordPageView(e),u.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,i,o,s){u.ga.recordPurchase(e,t,n,r,i,o,s)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(s("- Super Props: %o",a),t=(0,o.assign)(t,a)),s('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):s('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};u.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){u.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){s("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};u.ga.initialized||(c&&(e={userId:"u-"+c.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),u.ga.initialized=!0)},recordPageView:function(e,t){u.ga.initialize(),s("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){u.ga.initialize();let i="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(i+=" [Option Label: "+n+"]"),void 0!==r&&(i+=" [Option Value: "+r+"]"),s(i),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,i,o,s){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:s}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){c&&window._tkq.push(["identifyUser",c.ID,c.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=u},19570:function(e,t,n){"use strict";var r=n(92819),i=n(96483),o=n(26251);function s(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const a=s("JsonParseError"),c=s("JsonParseAfterRedirectError"),u=s("Api404Error"),f=s("Api404AfterRedirectError"),h=s("FetchNetworkError");const l=new function(e,t){let n=e,s={"X-WP-Nonce":t},a={credentials:"same-origin",headers:s},c={method:"post",credentials:"same-origin",headers:(0,r.assign)({},s,{"Content-type":"application/json"})},u=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 f={setApiRoot(e){n=e},setApiNonce(e){s={"X-WP-Nonce":e},a={credentials:"same-origin",headers:s},c={method:"post",credentials:"same-origin",headers:(0,r.assign)({},s,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,o.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,o.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),l(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(r)}).then(d).then(p)},fetchAuthorizationUrl:e=>h((0,i.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(d).then(p),fetchSiteConnectionData:()=>h(`${n}jetpack/v4/connection/data`,a).then(p),fetchSiteConnectionStatus:()=>h(`${n}jetpack/v4/connection`,a).then(p),fetchSiteConnectionTest:()=>h(`${n}jetpack/v4/connection/test`,a).then(d).then(p),fetchUserConnectionData:()=>h(`${n}jetpack/v4/connection/data`,a).then(p),fetchUserTrackingSettings:()=>h(`${n}jetpack/v4/tracking/settings`,a).then(d).then(p),updateUserTrackingSettings:e=>l(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(d).then(p),disconnectSite:()=>l(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(d).then(p),fetchConnectUrl:()=>h(`${n}jetpack/v4/connection/url`,a).then(d).then(p),unlinkUser:()=>l(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(d).then(p),reconnect:()=>l(`${n}jetpack/v4/connection/reconnect`,c).then(d).then(p),fetchConnectedPlugins:()=>h(`${n}jetpack/v4/connection/plugins`,a).then(d).then(p),setHasSeenWCConnectionModal:()=>l(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(d).then(p),fetchModules:()=>h(`${n}jetpack/v4/module/all`,a).then(d).then(p),fetchModule:e=>h(`${n}jetpack/v4/module/${e}`,a).then(d).then(p),activateModule:e=>l(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(d).then(p),deactivateModule:e=>l(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>l(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(d).then(p),updateSettings:e=>l(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(d).then(p),getProtectCount:()=>h(`${n}jetpack/v4/module/protect/data`,a).then(d).then(p),resetOptions:e=>l(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(d).then(p),activateVaultPress:()=>l(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(d).then(p),getVaultPressData:()=>h(`${n}jetpack/v4/module/vaultpress/data`,a).then(d).then(p),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),l(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(r)}).then(d).then(p)},activateAkismet:()=>l(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(d).then(p),getAkismetData:()=>h(`${n}jetpack/v4/module/akismet/data`,a).then(d).then(p),checkAkismetKey:()=>h(`${n}jetpack/v4/module/akismet/key/check`,a).then(d).then(p),checkAkismetKeyTyped:e=>l(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(d).then(p),fetchStatsData:e=>h(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),a).then(d).then(p).then(g),getPluginUpdates:()=>h(`${n}jetpack/v4/updates/plugins`,a).then(d).then(p),getPlans:()=>h(`${n}jetpack/v4/plans`,a).then(d).then(p),fetchSettings:()=>h(`${n}jetpack/v4/settings`,a).then(d).then(p),updateSetting:e=>l(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(d).then(p),fetchSiteData:()=>h(`${n}jetpack/v4/site`,a).then(d).then(p).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>h(`${n}jetpack/v4/site/features`,a).then(d).then(p).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>h(`${n}jetpack/v4/site/products`,a).then(d).then(p),fetchSitePurchases:()=>h(`${n}jetpack/v4/site/purchases`,a).then(d).then(p).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>h(`${n}jetpack/v4/site/benefits`,a).then(d).then(p).then((e=>JSON.parse(e.data))),fetchSetupQuestionnaire:()=>h(`${n}jetpack/v4/setup/questionnaire`,a).then(d).then(p),fetchRecommendationsData:()=>h(`${n}jetpack/v4/recommendations/data`,a).then(d).then(p),fetchRecommendationsProductSuggestions:()=>h(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(d).then(p),fetchRecommendationsUpsell:()=>h(`${n}jetpack/v4/recommendations/upsell`,a).then(d).then(p),saveRecommendationsData:e=>l(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(d),fetchProducts:()=>h(`${n}jetpack/v4/products`,a).then(d).then(p),fetchRewindStatus:()=>h(`${n}jetpack/v4/rewind`,a).then(d).then(p).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>h(`${n}jetpack/v4/scan`,a).then(d).then(p).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>l(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(d).then(p),fetchPluginsData:()=>h(`${n}jetpack/v4/plugins`,a).then(d).then(p),fetchVerifySiteGoogleStatus:e=>h(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,a).then(d).then(p),verifySiteGoogle:e=>l(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(d).then(p),sendMobileLoginEmail:()=>l(`${n}jetpack/v4/mobile/send-login-email`,c).then(d).then(p),submitSurvey:e=>l(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(d).then(p),saveSetupQuestionnaire:e=>l(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(d).then(p),updateLicensingError:e=>l(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(d).then(p),updateLicenseKey:e=>l(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(d).then(p),getUserLicensesCounts:()=>h(`${n}jetpack/v4/licensing/user/counts`,a).then(d).then(p),updateLicensingActivationNoticeDismiss:e=>l(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(d).then(p),updateRecommendationsStep:e=>l(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(d),confirmIDCSafeMode:()=>l(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(d),startIDCFresh:e=>l(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(d).then(p),migrateIDC:()=>l(`${n}jetpack/v4/identity-crisis/migrate`,c).then(d),attachLicenses:e=>l(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(d).then(p),fetchSearchPlanInfo:()=>h(`${n}jetpack/v4/search/plan`,a).then(d).then(p),fetchSearchSettings:()=>h(`${n}jetpack/v4/search/settings`,a).then(d).then(p),updateSearchSettings:e=>l(`${n}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(d).then(p)};function h(e,t){return fetch(u(e),t)}function l(e,t,n){return fetch(e,(0,r.assign)({},t,n)).catch(m)}function g(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,r.assign)(this,f)};function d(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new f(e.redirected):new u})):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 p(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new c(n):new a}function m(){throw new h}t.ZP=l},31824:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),o=n(99196),s=n.n(o),a=n(89105),c=n.n(a),u=n(65736),f=n(11268),h=n.n(f);const __=u.__,l=e=>{const{title:t,height:n,className:r,...o}=e;return s().createElement("svg",i()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:c()("jp-automattic-byline-logo",r)},o),s().createElement("title",{id:"jp-automattic-byline-logo-title"},t),s().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),s().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),s().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))};l.defaultProps={title:__("An Automattic Airline","jetpack"),height:7,className:""},l.propTypes={title:h().string,height:h().number,className:h().string},t.Z=l},97967:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),o=n(99196),s=n.n(o),a=n(65736),c=n(89105),u=n.n(c),f=n(11268),h=n.n(f),l=n(31824),d=(n(78785),n(81546));const __=a.__,p=e=>{const{a8cLogoHref:t,moduleName:n,className:r,...o}=e;return s().createElement("div",i()({className:u()("jp-dashboard-footer",r)},o),s().createElement("div",{className:"jp-dashboard-footer__footer-left"},s().createElement(d.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack")}),s().createElement("span",{className:"jp-dashboard-footer__module-name"},n)),s().createElement("div",{className:"jp-dashboard-footer__footer-right"},s().createElement("a",{href:t,"aria-label":__("An Automattic Airline","jetpack")},s().createElement(l.Z,null))))};p.defaultProps={a8cLogoHref:"https://jetpack.com",moduleName:__("Jetpack","jetpack"),className:""},p.propTypes={a8cLogoHref:h().string,moduleName:h().string,className:h().string},t.Z=p},81546:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),o=n(27538),s=n.n(o),a=n(11268),c=n.n(a),u=n(99196),f=n.n(u),h=n(89105),l=n.n(h),d=n(65736);const __=d.__;class p extends f().Component{render(){const{logoColor:e,showText:t,className:n,...r}=this.props,o=t?"0 0 118 32":"0 0 32 32";return f().createElement("svg",i()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:o,className:l()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},r),f().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),f().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&&f().createElement(u.Fragment,null,f().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"}),f().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"}),f().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"}),f().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"}),f().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"}),f().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"}),f().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"})))}}s()(p,"propTypes",{className:c().string,width:c().number,height:c().number,showText:c().bool,logoColor:c().string}),s()(p,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=p},71415:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;if("undefined"!=typeof window&&(r=window.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);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const i=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+i}n.d(t,{Z:function(){return r}})},26251:function(e,t,n){var r=n(55246);let i={};try{i=n(92787)}catch{r.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),i={missingConfig:!0}}const o=e=>i.hasOwnProperty(e);e.exports={jetpackConfigHas:o,jetpackConfigGet:e=>{if(!o(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 i[e]}}},9913:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27538),i=n.n(r),o=n(11268),s=n.n(o),a=n(99196),c=n.n(a),u=n(89105),f=n.n(u),h=n(92819);class l extends c().Component{render(){const e=this.props.href?"a":"button",{primary:t,compact:n,scary:r,borderless:i,className:o,...s}=this.props,a=f()({"dops-button":!0,"is-compact":n,"is-primary":t,"is-scary":r,"is-borderless":i});return s.className=f()(o,a),c().createElement(e,s,this.props.children)}}i()(l,"displayName","Button"),i()(l,"propTypes",{disabled:s().bool,compact:s().bool,primary:s().bool,scary:s().bool,type:s().string,href:s().string,onClick:s().func,borderless:s().bool,className:s().string}),i()(l,"defaultProps",{disabled:!1,type:"button",onClick:h.noop,borderless:!1})},60742:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),o=n(11268),s=n.n(o),a=n(99196),c=n.n(a),u=n(89105),f=n.n(u),h=n(92819),l=n(22256);class d extends c().Component{constructor(){super(...arguments),i()(this,"_renderWithTitle",(()=>{const e="dops-card-section-orient-"+(this.props.vertical?"vertical":"horizontal");return c().createElement("div",{className:e},c().createElement("h4",{ref:"label",className:"dops-card-section-label"},this.props.title),c().createElement("div",{ref:"content",className:"dops-card-section-content"},this.props.children))}))}render(){return c().createElement("div",{className:f()("dops-card-section",this.props.className),style:this.props.style},this.props.title?this._renderWithTitle():this.props.children)}}i()(d,"propTypes",{title:s().any,vertical:s().any,style:s().object,className:s().string,device:s().oneOf(["desktop","tablet","phone"])}),i()(d,"defaultProps",{vertical:null});class p extends c().Component{render(){return c().createElement("div",{className:"dops-card-footer"},this.props.children)}}class g extends c().Component{constructor(){super(...arguments),i()(this,"_renderIcon",(()=>c().createElement("span",{className:"dops-card-icon",style:{color:this.props.iconColor}},this.props.icon&&c().createElement(l.Z,{icon:this.props.icon,style:{backgroundColor:this.props.iconColor}}),this.props.iconLabel)))}render(){const e=f()("dops-card",this.props.className,{"is-card-link":!!this.props.href,"is-compact":this.props.compact}),t=["compact","tagName","meta","iconColor"];let n,r;return this.props.href?n=c().createElement(l.Z,{className:"dops-card__link-indicator",icon:this.props.target?"external":"chevron-right"}):t.push("href","target"),this.props.title&&(r=c().createElement("h2",{className:"dops-card-title"},this.props.title,this.props.meta&&c().createElement("span",{className:"dops-card-meta"},this.props.meta),(this.props.icon||this.props.iconLabel)&&this._renderIcon())),c().createElement(this.props.href?"a":this.props.tagName,(0,h.assign)((0,h.omit)(this.props,t),{className:e}),n,r,this.props.children)}}i()(g,"propTypes",{meta:s().any,icon:s().string,iconLabel:s().any,iconColor:s().string,style:s().object,className:s().string,href:s().string,onClick:s().func,title:s().string,tagName:s().string,target:s().string,compact:s().bool,children:s().node}),i()(g,"defaultProps",{iconColor:"#787878",className:"",tagName:"div",onClick:()=>{}}),g.Section=d,g.Footer=p,t.Z=g},27219:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),o=n(11268),s=n.n(o),a=n(99196),c=n(2620),u=n(92819),f=n(88872),h=n(41147);class l extends a.Component{UNSAFE_componentWillMount(){this.props.isFetchingSiteData||this.props.isOfflineMode||!(0,u.isEmpty)(this.props.sitePlan)||(this.props.fetchSiteData(),this.props.fetchSiteFeatures(),this.props.fetchAvailablePlans(),this.props.fetchSitePurchases())}render(){return null}}i()(l,"propTypes",{isFetchingSiteData:s().bool,isOfflineMode:s().bool,sitePlan:s().object}),i()(l,"defaultProps",{isFetchingSiteData:!1,isOfflineMode:!1,sitePlan:{}}),t.Z=(0,c.$j)((e=>({isFetchingSiteData:(0,f._5)(e),isOfflineMode:(0,h.Ex)(e),sitePlan:(0,f.UL)(e)})),(e=>({fetchSiteData:()=>e((0,f.tO)()),fetchSiteFeatures:()=>e((0,f.ij)()),fetchAvailablePlans:()=>e((0,f.lA)()),fetchSitePurchases:()=>e((0,f.Z_)())})))(l)},68961:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),o=n(99196),s=n.n(o),a=n(7767),c=n.n(a),u=n(21425),f=n.n(u),h=n(89105),l=n.n(h),d=n(92819),p=n(22256);t.Z=c()({displayName:"ExternalLink",mixins:[f()],propTypes:{className:i().string,href:i().string,onClick:i().func,icon:i().bool,iconSize:i().number},getDefaultProps:()=>({iconSize:18}),render(){const e=l()("dops-external-link",this.props.className,{"has-icon":!!this.props.icon}),t=(0,d.assign)({},(0,d.omit)(this.props,"icon","iconSize"),{className:e,rel:"external"});return s().createElement("a",t,this.props.children,this.props.icon?s().createElement(p.Z,{icon:"external",size:this.props.iconSize}):null)}})},94069:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(29183),i=n.n(r),o=n(27538),s=n.n(o),a=n(99196),c=n.n(a),u=n(89105),f=n.n(u),h=n(92819),l=n(56357);class d extends c().Component{render(){return c().createElement(l.Z,i()({},(0,h.omit)(this.props,"className"),{className:f()(this.props.className,"is-compact")}),this.props.children)}}s()(d,"displayName","CompactFormToggle")},56357:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27538),i=n.n(r),o=n(11268),s=n.n(o),a=n(99196),c=n.n(a),u=n(89105),f=n.n(u),h=n(40515);class l extends a.Component{constructor(){super(...arguments),i()(this,"state",{showPopover:!1}),i()(this,"togglePopover",(()=>{this.setState({showPopover:!this.state.showPopover})})),i()(this,"_onPopoverClose",(()=>{this.setState({showPopover:!1})})),i()(this,"renderPopover",(()=>c().createElement(h.Z,{isVisible:this.state.showPopover,context:this.refs&&this.refs.toggleSwitch,position:this.props.disabledPopoverPosition,onClose:this._onPopoverClose,className:"dops-info-popover__tooltip"},this.props.disabledReason))),this.onKeyDown=this.onKeyDown.bind(this),this.onClick=this.onClick.bind(this),this.onLabelClick=this.onLabelClick.bind(this)}UNSAFE_componentWillMount(){this.id=this.constructor.idNum++}onKeyDown(e){this.props.disabled||("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown(e))}onClick(){this.props.disabled?this.props.disabledReason&&this.togglePopover():this.props.onChange()}onLabelClick(e){if(this.props.disabled)return;const t=e.target.nodeName.toLowerCase();"a"!==t&&"input"!==t&&"select"!==t&&(e.preventDefault(),this.props.onChange())}render(){const e=this.props.id||"toggle-"+this.id,t=f()("form-toggle",this.props.className,{"is-toggling":this.props.toggling});return c().createElement("span",null,c().createElement("input",{className:t,type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),c().createElement("label",{className:"form-toggle__label",htmlFor:e},c().createElement("span",{className:"form-toggle__switch",disabled:this.props.disabled,id:e,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"checkbox","aria-checked":this.props.checked,"aria-label":this.props["aria-label"],tabIndex:this.props.disabled?-1:0,ref:"toggleSwitch"}),c().createElement("span",{className:"form-toggle__label-content",onClick:this.onLabelClick},this.props.children)),this.renderPopover())}}i()(l,"propTypes",{onChange:s().func,onKeyDown:s().func,checked:s().bool,disabled:s().bool,id:s().string,className:s().string,toggling:s().bool,"aria-label":s().string,children:s().node,disabledReason:s().node}),i()(l,"defaultProps",{checked:!1,disabled:!1,onKeyDown:()=>{},onChange:()=>{},disabledPopoverPosition:"bottom",disabledReason:""}),i()(l,"idNum",0)},87137:function(e,t,n){"use strict";n.d(t,{o:function(){return r},m:function(){return i}});const r="NEW_NOTICE",i="REMOVE_NOTICE"},21094:function(e,t,n){"use strict";n.d(t,{qq:function(){return o},iI:function(){return s}});var r=n(92819),i=n(87137);function o(e){return{noticeId:e,type:i.m}}function s(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={noticeId:n.id||(0,r.uniqueId)(),duration:n.duration,showDismiss:"boolean"!=typeof n.showDismiss||n.showDismiss,isPersistent:n.isPersistent||!1,displayOnNextPage:n.displayOnNextPage||!1,status:e,text:t};return{type:i.o,notice:o}}s.bind(null,"is-success"),s.bind(null,"is-error"),s.bind(null,"is-info"),s.bind(null,"is-warning")},31008:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(74978),i=n(87137);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.o:return[t.notice,...e];case i.m:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,r.UY)({globalNotices:o})},22256:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),o=n(99196),s=n.n(o),a=n(21425),c=n.n(a),u=n(89105),f=n.n(u),h=n(7767);const l=n.n(h)()({displayName:"Gridicon",mixins:[c()],getDefaultProps:function(){return{className:"",size:24}},propTypes:{icon:i().string.isRequired,size:i().number,onClick:i().func,className:i().string},needsOffset:function(e,t){return["gridicons-add-outline","gridicons-add","gridicons-align-image-center","gridicons-align-image-left","gridicons-align-image-none","gridicons-align-image-right","gridicons-attachment","gridicons-backspace","gridicons-bold","gridicons-bookmark-outline","gridicons-bookmark","gridicons-calendar","gridicons-cart","gridicons-create","gridicons-custom-post-type","gridicons-external","gridicons-folder","gridicons-heading","gridicons-help-outline","gridicons-help","gridicons-history","gridicons-info-outline","gridicons-info","gridicons-italic","gridicons-layout-blocks","gridicons-link-break","gridicons-link","gridicons-list-checkmark","gridicons-list-ordered","gridicons-list-unordered","gridicons-menus","gridicons-minus","gridicons-my-sites","gridicons-notice-outline","gridicons-notice","gridicons-plans","gridicons-plus-small","gridicons-plus","gridicons-popout","gridicons-posts","gridicons-scheduled","gridicons-share-ios","gridicons-star-outline","gridicons-star","gridicons-stats","gridicons-status","gridicons-thumbs-up","gridicons-textcolor","gridicons-time","gridicons-trophy","gridicons-user-circle"].indexOf(e)>=0&&t%18==0},needsOffsetX:function(e,t){return["gridicons-arrow-down","gridicons-arrow-up","gridicons-comment","gridicons-clear-formatting","gridicons-flag","gridicons-menu","gridicons-reader","gridicons-strikethrough"].indexOf(e)>=0&&t%18==0},needsOffsetY:function(e,t){return["gridicons-align-center","gridicons-align-justify","gridicons-align-left","gridicons-align-right","gridicons-arrow-left","gridicons-arrow-right","gridicons-house","gridicons-indent-left","gridicons-indent-right","gridicons-minus-small","gridicons-print","gridicons-sign-out","gridicons-stats-alt","gridicons-trash","gridicons-underline","gridicons-video-camera"].indexOf(e)>=0&&t%18==0},render:function(){const e="gridicons-"+this.props.icon,t=this.needsOffset(e,this.props.size),n=this.needsOffsetX(e,this.props.size),r=this.needsOffsetY(e,this.props.size),i=f()("gridicon",e,this.props.className,{"needs-offset":t,"needs-offset-x":n,"needs-offset-y":r});let o;switch(e){default:o=s().createElement("svg",{height:this.props.size,width:this.props.size});break;case"gridicons-add-image":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M23 4v2h-3v3h-2V6h-3V4h3V1h2v3h3zm-8.5 7c.828 0 1.5-.672 1.5-1.5S15.328 8 14.5 8 13 8.672 13 9.5s.672 1.5 1.5 1.5zm3.5 3.234l-.513-.57c-.794-.885-2.18-.885-2.976 0l-.655.73L9 9l-3 3.333V6h7V4H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2v-7h-2v3.234z"})));break;case"gridicons-add-outline":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z"})));break;case"gridicons-add":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"})));break;case"gridicons-align-center":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M4 19h16v-2H4v2zm13-6H7v2h10v-2zM4 9v2h16V9H4zm13-4H7v2h10V5z"})));break;case"gridicons-align-image-center":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm5-4h8V9H8v6z"})));break;case"gridicons-align-image-left":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm0-4h8V9H3v6zm10 0h8v-2h-8v2zm0-4h8V9h-8v2z"})));break;case"gridicons-align-image-none":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zM11 9H3v6h8V9z"})));break;case"gridicons-align-image-right":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zm0-8h-8v6h8V9zm-10 4H3v2h8v-2zm0-4H3v2h8V9z"})));break;case"gridicons-align-justify":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M4 19h16v-2H4v2zm16-6H4v2h16v-2zM4 9v2h16V9H4zm16-4H4v2h16V5z"})));break;case"gridicons-align-left":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M4 19h16v-2H4v2zm10-6H4v2h10v-2zM4 9v2h16V9H4zm10-4H4v2h10V5z"})));break;case"gridicons-align-right":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M20 17H4v2h16v-2zm-10-2h10v-2H10v2zM4 9v2h16V9H4zm6-2h10V5H10v2z"})));break;case"gridicons-arrow-down":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M11 4v12.17l-5.59-5.59L4 12l8 8 8-8-1.41-1.41L13 16.17V4h-2z"})));break;case"gridicons-arrow-left":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"})));break;case"gridicons-arrow-right":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})));break;case"gridicons-arrow-up":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M13 20V7.83l5.59 5.59L20 12l-8-8-8 8 1.41 1.41L11 7.83V20h2z"})));break;case"gridicons-aside":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M14 20l6-6V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h8zM6 6h12v6h-4c-1.105 0-2 .895-2 2v4H6V6zm10 4H8V8h8v2z"})));break;case"gridicons-attachment":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M14 1c-2.762 0-5 2.238-5 5v10c0 1.657 1.343 3 3 3s2.99-1.343 2.99-3V6H13v10c0 .553-.447 1-1 1-.553 0-1-.447-1-1V6c0-1.657 1.343-3 3-3s3 1.343 3 3v10.125C17 18.887 14.762 21 12 21s-5-2.238-5-5v-5H5v5c0 3.866 3.134 7 7 7s6.99-3.134 6.99-7V6c0-2.762-2.228-5-4.99-5z"})));break;case"gridicons-audio":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-backspace":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M19 7H8l-5 5 5 5h11c1.104 0 2-.896 2-2V9c0-1.104-.896-2-2-2zm-.647 6.646l-.707.707L16 12.707l-1.647 1.647-.707-.707L15.293 12l-1.647-1.646.707-.707L16 11.293l1.646-1.647.707.707L16.707 12l1.646 1.646z"})));break;case"gridicons-bell":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M6.14 14.97l2.828 2.827c-.362.362-.862.586-1.414.586-1.105 0-2-.895-2-2 0-.552.224-1.052.586-1.414zm8.867 5.324L14.3 21 3 9.7l.706-.707 1.102.157c.754.108 1.69-.122 2.077-.51l3.885-3.884c2.34-2.34 6.135-2.34 8.475 0s2.34 6.135 0 8.475l-3.885 3.886c-.388.388-.618 1.323-.51 2.077l.157 1.1z"})));break;case"gridicons-block":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-bold":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M7 5.01h4.547c2.126 0 3.67.302 4.632.906.96.605 1.44 1.567 1.44 2.887 0 .896-.21 1.63-.63 2.205-.42.574-.98.92-1.678 1.036v.103c.95.212 1.637.608 2.057 1.19.42.58.63 1.35.63 2.315 0 1.367-.494 2.434-1.482 3.2-.99.765-2.332 1.148-4.027 1.148H7V5.01zm3 5.936h2.027c.862 0 1.486-.133 1.872-.4.386-.267.578-.708.578-1.323 0-.574-.21-.986-.63-1.236-.42-.25-1.087-.374-1.996-.374H10v3.333zm0 2.523v3.905h2.253c.876 0 1.52-.167 1.94-.502.416-.335.625-.848.625-1.54 0-1.243-.89-1.864-2.668-1.864H10z"})));break;case"gridicons-book":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M4 3h2v18H4zM18 3H7v18h11c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 6h-6V8h6v1zm0-2h-6V6h6v1z"})));break;case"gridicons-bookmark-outline":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M17 5v12.554l-5-2.857-5 2.857V5h10m0-2H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-bookmark":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M17 3H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-briefcase":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M21 6h-4V3c0-.5-.5-1-1-1H8c-.5 0-1 .5-1 1v3H3c-.6 0-1 .4-1 1v5h20V7c0-.6-.4-1-1-1zm-6 0H9V4h6v2zM14 15h-4v-2H2v8c0 .6.4 1 1 1h18c.6 0 1-.4 1-1v-8h-8v2z"})));break;case"gridicons-calendar":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-camera":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M17 12c0 1.7-1.3 3-3 3s-3-1.3-3-3 1.3-3 3-3 3 1.3 3 3zm5-5v11c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2V4h4v1h2l1-2h6l1 2h2c1.1 0 2 .9 2 2zM7.5 9c0-.8-.7-1.5-1.5-1.5S4.5 8.2 4.5 9s.7 1.5 1.5 1.5S7.5 9.8 7.5 9zM19 12c0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5 5-2.2 5-5z"})));break;case"gridicons-cart":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-checkmark-circle":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-checkmark":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"})));break;case"gridicons-chevron-down":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"})));break;case"gridicons-chevron-left":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586"})));break;case"gridicons-chevron-right":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586"})));break;case"gridicons-chevron-up":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M4 15l8-8 8 8-1.414 1.414L12 9.828l-6.586 6.586"})));break;case"gridicons-clear-formatting":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M10.837 10.163l-4.6 4.6L10 4h4l.777 2.223-2.144 2.144-.627-2.092-1.17 3.888zm5.495.506L19.244 19H15.82l-1.05-3.5H11.5L5 22l-1.5-1.5 17-17L22 5l-5.668 5.67zm-2.31 2.31l-.032.03.032-.01v-.02z"})));break;case"gridicons-clipboard":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M16 18H8v-2h8v2zm0-6H8v2h8v-2zm2-9h-2v2h2v15H6V5h2V3H6c-1.105 0-2 .895-2 2v15c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-4 2V4c0-1.105-.895-2-2-2s-2 .895-2 2v1c-1.105 0-2 .895-2 2v1h8V7c0-1.105-.895-2-2-2z"})));break;case"gridicons-cloud-download":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-6 7l-4-5h3V8h2v3h3l-4 5z"})));break;case"gridicons-cloud-outline":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M11.5 5c2.336 0 4.304 1.825 4.48 4.154l.142 1.86 1.867-.012h.092C19.698 11.043 21 12.37 21 14c0 .748-.28 1.452-.783 2H3.28c-.156-.256-.28-.59-.28-1 0-1.074.85-1.953 1.915-1.998.06.007.118.012.178.015l2.66.124-.622-2.587C7.044 10.186 7 9.843 7 9.5 7 7.02 9.02 5 11.5 5m0-2C7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5l-.025.002C17.72 5.646 14.922 3 11.5 3z"})));break;case"gridicons-cloud-upload":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-5 4v3h-2v-3H8l4-5 4 5h-3z"})));break;case"gridicons-cloud":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5z"})));break;case"gridicons-code":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M4.83 12l4.58 4.59L8 18l-6-6 6-6 1.41 1.41L4.83 12zm9.76 4.59L16 18l6-6-6-6-1.41 1.41L19.17 12l-4.58 4.59z"})));break;case"gridicons-cog":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M20 12c0-.568-.06-1.122-.174-1.656l1.834-1.612-2-3.464-2.322.786c-.82-.736-1.787-1.308-2.86-1.657L14 2h-4l-.48 2.396c-1.07.35-2.04.92-2.858 1.657L4.34 5.268l-2 3.464 1.834 1.612C4.06 10.878 4 11.432 4 12s.06 1.122.174 1.656L2.34 15.268l2 3.464 2.322-.786c.82.736 1.787 1.308 2.86 1.657L10 22h4l.48-2.396c1.07-.35 2.038-.92 2.858-1.657l2.322.786 2-3.464-1.834-1.613c.113-.535.174-1.09.174-1.657zm-8 4c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"})));break;case"gridicons-comment":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-computer":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-create":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M21 11v8c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h8l-2 2H5v14h14v-6l2-2zM7 17h3l7.5-7.5-3-3L7 14v3zm9.94-12.94L15.5 5.5l3 3 1.44-1.44c.585-.585.585-1.535 0-2.12l-.88-.88c-.585-.585-1.535-.585-2.12 0z"})));break;case"gridicons-credit-card":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})));break;case"gridicons-crop":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M22 16h-4V8c0-1.105-.895-2-2-2H8V2H6v4H2v2h4v8c0 1.105.895 2 2 2h8v4h2v-4h4v-2zM8 16V8h8v8H8z"})));break;case"gridicons-cross-small":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})));break;case"gridicons-cross":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"})));break;case"gridicons-custom-post-type":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"})));break;case"gridicons-customize":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M2 6c0-1.505.78-3.08 2-4 0 .845.69 2 2 2 1.657 0 3 1.343 3 3 0 .386-.08.752-.212 1.09.74.594 1.476 1.19 2.19 1.81L8.9 11.98c-.62-.716-1.214-1.454-1.807-2.192C6.753 9.92 6.387 10 6 10c-2.21 0-4-1.79-4-4zm12.152 6.848l1.34-1.34c.607.304 1.283.492 2.008.492 2.485 0 4.5-2.015 4.5-4.5 0-.725-.188-1.4-.493-2.007L18 9l-2-2 3.507-3.507C18.9 3.188 18.225 3 17.5 3 15.015 3 13 5.015 13 7.5c0 .725.188 1.4.493 2.007L3 20l2 2 6.848-6.848c1.885 1.928 3.874 3.753 5.977 5.45l1.425 1.148 1.5-1.5-1.15-1.425c-1.695-2.103-3.52-4.092-5.448-5.977z"})));break;case"gridicons-dropdown":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M7 10l5 5 5-5"})));break;case"gridicons-ellipsis":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M7 12c0 1.104-.896 2-2 2s-2-.896-2-2 .896-2 2-2 2 .896 2 2zm12-2c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2zm-7 0c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2z"})));break;case"gridicons-external":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-flag":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M15 6c0-1.105-.895-2-2-2H5v17h2v-7h5c0 1.105.895 2 2 2h6V6h-5z"})));break;case"gridicons-flip-horizontal":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M20 18v-5h3v-2h-3V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v5H1v2h3v5c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2zM6 6h12v5H6V6z"})));break;case"gridicons-flip-vertical":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 4h-5V1h-2v3H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h5v3h2v-3h5c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 18V6h5v12H6z"})));break;case"gridicons-folder-multiple":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M4 8c-1.105 0-2 .895-2 2v10c0 1.1.9 2 2 2h14c1.105 0 2-.895 2-2H4V8zm16 10H8c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2h7c1.105 0 2 .895 2 2v8c0 1.105-.895 2-2 2z"})));break;case"gridicons-folder":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-globe":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18l2-2 1-1v-2h-2v-1l-1-1H9v3l2 2v1.93c-3.94-.494-7-3.858-7-7.93l1 1h2v-2h2l3-3V6h-2L9 5v-.41C9.927 4.21 10.94 4 12 4s2.073.212 3 .59V6l-1 1v2l1 1 3.13-3.13c.752.897 1.304 1.964 1.606 3.13H18l-2 2v2l1 1h2l.286.286C18.03 18.06 15.24 20 12 20z"})));break;case"gridicons-grid":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M8 8H4V4h4v4zm6-4h-4v4h4V4zm6 0h-4v4h4V4zM8 10H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4zM8 16H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4z"})));break;case"gridicons-heading":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 20h-3v-6H9v6H6V5.01h3V11h6V5.01h3V20z"})));break;case"gridicons-heart-outline":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-heart":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-help-outline":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"})));break;case"gridicons-help":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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-2h2v2zm2.003-6.41c-.23.36-.6.704-1.108 1.028-.43.28-.7.482-.808.61-.108.13-.163.283-.163.46V13H11.04v-.528c0-.4.08-.74.245-1.017.163-.276.454-.546.872-.808.332-.21.57-.397.716-.565.145-.168.217-.36.217-.577 0-.172-.077-.308-.233-.41-.156-.1-.358-.15-.608-.15-.62 0-1.342.22-2.17.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.286z"})));break;case"gridicons-history":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M2.12 13.526c.742 4.78 4.902 8.47 9.88 8.47 5.5 0 10-4.5 10-9.998S17.5 2 12 2C8.704 2 5.802 3.6 4 6V2H2.003L2 9h7V7H5.8c1.4-1.8 3.702-3 6.202-3C16.4 4 20 7.6 20 11.998s-3.6 8-8 8c-3.877 0-7.13-2.795-7.848-6.472H2.12z"}),s().createElement("path",{d:"M11.002 7v5.3l3.2 4.298 1.6-1.197-2.8-3.7V7"})));break;case"gridicons-house":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z"})));break;case"gridicons-image-multiple":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-image":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-indent-left":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 20h2V4h-2v16zM2 11h10.172l-2.086-2.086L11.5 7.5 16 12l-4.5 4.5-1.414-1.414L12.172 13H2v-2z"})));break;case"gridicons-indent-right":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M6 4H4v16h2V4zm16 9H11.828l2.086 2.086L12.5 16.5 8 12l4.5-4.5 1.414 1.414L11.828 11H22v2z"})));break;case"gridicons-info-outline":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-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"})));break;case"gridicons-info":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-ink":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M5 15c0 3.866 3.134 7 7 7s7-3.134 7-7c0-1.387-.41-2.677-1.105-3.765h.007L12 2l-5.903 9.235h.007C5.41 12.323 5 13.613 5 15z"})));break;case"gridicons-institution":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M2 19h20v3H2zM12 2L2 6v2h20V6M17 10h3v7h-3zM10.5 10h3v7h-3zM4 10h3v7H4z"})));break;case"gridicons-italic":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M10.536 5l-.427 2h1.5L9.262 18h-1.5l-.427 2h6.128l.426-2h-1.5l2.347-11h1.5l.427-2"})));break;case"gridicons-layout-blocks":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M21 7h-2V3c0-1.105-.895-2-2-2H7c-1.105 0-2 .895-2 2v2H3c-1.105 0-2 .895-2 2v4c0 1.105.895 2 2 2h2v8c0 1.105.895 2 2 2h10c1.105 0 2-.895 2-2v-2h2c1.105 0 2-.895 2-2V9c0-1.105-.895-2-2-2zm-4 14H7v-8h2c1.105 0 2-.895 2-2V7c0-1.105-.895-2-2-2H7V3h10v4h-2c-1.105 0-2 .895-2 2v8c0 1.105.895 2 2 2h2v2zm4-4h-6V9h6v8z"})));break;case"gridicons-layout":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M8 20H5c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2v12c0 1.105-.895 2-2 2zm8-10h4c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2h-4c-1.105 0-2 .895-2 2v3c0 1.105.895 2 2 2zm5 10v-6c0-1.105-.895-2-2-2h-5c-1.105 0-2 .895-2 2v6c0 1.105.895 2 2 2h5c1.105 0 2-.895 2-2z"})));break;case"gridicons-link-break":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M10 11l-2 2H7v-2h3zm9.64-3.64L22 5l-1.5-1.5-17 17L5 22l9-9h3v-2h-1l2-2c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1c2.21 0 4-1.79 4-4v-2c0-1.623-.97-3.013-2.36-3.64zM4.36 16.64L6 15c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.63 7 7 7H6c-2.21 0-4 1.79-4 4v2c0 1.623.97 3.013 2.36 3.64z"})));break;case"gridicons-link":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.63 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 2h1c2.21 0 4-1.79 4-4v-2c0-2.21-1.79-4-4-4zM2 11v2c0 2.21 1.79 4 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.63 7 7 7H6c-2.21 0-4 1.79-4 4z"})));break;case"gridicons-list-checkmark":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M9.5 15.5L5 20l-2.5-2.5 1.06-1.06L5 17.88l3.44-3.44L9.5 15.5zM10 5v2h11V5H10zm0 14h11v-2H10v2zm0-6h11v-2H10v2zM8.44 8.44L5 11.88l-1.44-1.44L2.5 11.5 5 14l4.5-4.5-1.06-1.06zm0-6L5 5.88 3.56 4.44 2.5 5.5 5 8l4.5-4.5-1.06-1.06z"})));break;case"gridicons-list-ordered":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M8 19h13v-2H8v2zm0-6h13v-2H8v2zm0-8v2h13V5H8zm-4.425.252c.107-.096.197-.188.27-.275-.013.228-.02.48-.02.756V8h1.176V3.717H3.96L2.487 4.915l.6.738.487-.4zm.334 7.764c.474-.426.784-.715.93-.867.145-.153.26-.298.35-.436.087-.138.152-.278.194-.42.042-.143.063-.298.063-.466 0-.225-.06-.427-.18-.608s-.29-.32-.507-.417c-.218-.1-.465-.148-.742-.148-.22 0-.42.022-.596.067s-.34.11-.49.195c-.15.085-.337.226-.558.423l.636.744c.174-.15.33-.264.467-.34.138-.078.274-.117.41-.117.13 0 .232.032.304.097.073.064.11.152.11.264 0 .09-.02.176-.055.258-.036.082-.1.18-.192.294-.092.114-.287.328-.586.64L2.42 13.238V14h3.11v-.955H3.91v-.03zm.53 4.746v-.018c.306-.086.54-.225.702-.414.162-.19.243-.42.243-.685 0-.31-.126-.55-.378-.727-.252-.176-.6-.264-1.043-.264-.307 0-.58.033-.816.1s-.47.178-.696.334l.48.773c.293-.183.576-.274.85-.274.147 0 .263.027.35.082s.13.14.13.252c0 .3-.294.45-.882.45h-.27v.87h.264c.217 0 .393.017.527.05.136.03.233.08.294.143.06.064.09.154.09.27 0 .153-.057.265-.173.337-.115.07-.3.106-.554.106-.164 0-.343-.022-.538-.07-.194-.044-.385-.115-.573-.21v.96c.228.088.44.148.637.182.196.033.41.05.64.05.56 0 .998-.114 1.314-.343.315-.228.473-.542.473-.94.002-.585-.356-.923-1.07-1.013z"})));break;case"gridicons-list-unordered":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-location":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M19 9c0-3.866-3.134-7-7-7S5 5.134 5 9c0 1.387.41 2.677 1.105 3.765h-.008C8.457 16.46 12 22 12 22l5.903-9.235h-.007C18.59 11.677 19 10.387 19 9zm-7 3c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"})));break;case"gridicons-lock":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 8h-1V7c0-2.757-2.243-5-5-5S7 4.243 7 7v1H6c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V10c0-1.105-.895-2-2-2zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v1H9V7zm4 8.723V18h-2v-2.277c-.595-.346-1-.984-1-1.723 0-1.105.895-2 2-2s2 .895 2 2c0 .738-.405 1.376-1 1.723z"})));break;case"gridicons-mail":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"gridicons-mention":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10v-2c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8v.5c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5V12c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.65 0 3.102-.81 4.013-2.043C16.648 15.6 17.527 16 18.5 16c1.93 0 3.5-1.57 3.5-3.5V12c0-5.523-4.477-10-10-10zm0 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z"})));break;case"gridicons-menu":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M21 6v2H3V6h18zM3 18h18v-2H3v2zm0-5h18v-2H3v2z"})));break;case"gridicons-menus":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M9 19h10v-2H9v2zm0-6h6v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-microphone":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 13c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2-1.105 0-2 .896-2 2v5c0 1.104.895 2 2 2zm4-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6c0 2.972 2.164 5.433 5 5.91V20h2v-3.09c2.836-.478 5-2.94 5-5.91h-2z"})));break;case"gridicons-minus-small":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M6 11h12v2H6z"})));break;case"gridicons-minus":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M3 11h18v2H3z"})));break;case"gridicons-my-sites-horizon":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M10.986 13.928l.762-2.284-1.324-3.63c-.458-.026-.892-.08-.892-.08-.458-.027-.405-.727.054-.7 0 0 1.403.107 2.24.107.888 0 2.265-.107 2.265-.107.46-.027.513.646.055.7 0 0-.46.055-.973.082l2.006 5.966c-.875-.034-1.74-.053-2.6-.06l-.428-1.177-.403 1.17c-.252.002-.508.01-.76.015zm-7.156.393c-.21-.737-.33-1.514-.33-2.32 0-1.232.264-2.402.736-3.46l2.036 5.58c.85-.06 1.69-.104 2.526-.138L6.792 8.015c.512-.027.973-.08.973-.08.458-.055.404-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.036-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .674-.244 1.463-.572 2.51.3.02.604.043.907.066l.798-2.307c.486-1.212.647-2.18.647-3.043 0-.313-.02-.603-.057-.874.662 1.21 1.04 2.6 1.04 4.077 0 .807-.128 1.58-.34 2.32.5.05 1.006.112 1.51.17.205-.798.33-1.628.33-2.49 0-5.523-4.477-10-10-10S2 6.477 2 12c0 .862.125 1.692.33 2.49.5-.057 1.003-.12 1.5-.17zm14.638 3.168C16.676 19.672 14.118 20.5 12 20.5c-1.876 0-4.55-.697-6.463-3.012-.585.048-1.174.1-1.77.16C5.572 20.272 8.578 22 12 22c3.422 0 6.43-1.73 8.232-4.35-.593-.063-1.18-.114-1.764-.162zM12 15.01c-3.715 0-7.368.266-10.958.733.18.41.35.825.506 1.247 3.427-.43 6.91-.68 10.452-.68s7.025.25 10.452.68c.156-.422.327-.836.506-1.246-3.59-.467-7.243-.734-10.958-.734z"})));break;case"gridicons-my-sites":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM3.5 12c0-1.232.264-2.402.736-3.46L8.29 19.65C5.456 18.272 3.5 15.365 3.5 12zm8.5 8.5c-.834 0-1.64-.12-2.4-.345l2.55-7.41 2.613 7.157c.017.042.038.08.06.117-.884.31-1.833.48-2.823.48zm1.172-12.485c.512-.027.973-.08.973-.08.458-.055.404-.728-.054-.702 0 0-1.376.108-2.265.108-.835 0-2.24-.107-2.24-.107-.458-.026-.51.674-.053.7 0 0 .434.055.892.082l1.324 3.63-1.86 5.578-3.096-9.208c.512-.027.973-.08.973-.08.458-.055.403-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.037-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .727-.28 1.572-.646 2.748l-.848 2.833-3.072-9.138zm3.1 11.332l2.597-7.506c.484-1.212.645-2.18.645-3.044 0-.313-.02-.603-.057-.874.664 1.21 1.042 2.6 1.042 4.078 0 3.136-1.7 5.874-4.227 7.347z"})));break;case"gridicons-not-visible":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M1 12s4.188-6 11-6c.947 0 1.84.12 2.678.322L8.36 12.64C8.133 12.14 8 11.586 8 11c0-.937.335-1.787.875-2.47C6.483 9.344 4.66 10.917 3.62 12c.68.707 1.696 1.62 2.98 2.398L5.15 15.85C2.498 14.13 1 12 1 12zm22 0s-4.188 6-11 6c-.946 0-1.836-.124-2.676-.323L5 22l-1.5-1.5 17-17L22 5l-3.147 3.147C21.5 9.87 23 12 23 12zm-2.615.006c-.678-.708-1.697-1.624-2.987-2.403L16 11c0 2.21-1.79 4-4 4l-.947.947c.31.03.624.053.947.053 3.978 0 6.943-2.478 8.385-3.994z"})));break;case"gridicons-notice-outline":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})));break;case"gridicons-notice":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-pages":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-pencil":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M13 6l5 5-9.507 9.507c-.686-.686-.69-1.794-.012-2.485l-.002-.003c-.69.676-1.8.673-2.485-.013-.677-.677-.686-1.762-.036-2.455l-.008-.008c-.694.65-1.78.64-2.456-.036L13 6zm7.586-.414l-2.172-2.172c-.78-.78-2.047-.78-2.828 0L14 5l5 5 1.586-1.586c.78-.78.78-2.047 0-2.828zM3 18v3h3c0-1.657-1.343-3-3-3z"})));break;case"gridicons-phone":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-plans":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-1 12H6l5-10v10zm2 6V10h5l-5 10z"})));break;case"gridicons-plugins":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M16 8V3c0-.552-.448-1-1-1s-1 .448-1 1v5h-4V3c0-.552-.448-1-1-1s-1 .448-1 1v5H5v4c0 2.79 1.637 5.193 4 6.317V22h6v-3.683c2.363-1.124 4-3.527 4-6.317V8h-3z"})));break;case"gridicons-plus-small":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 11h-5V6h-2v5H6v2h5v5h2v-5h5"})));break;case"gridicons-plus":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M20 13h-7v7h-2v-7H4v-2h7V4h2v7h7v2z"})));break;case"gridicons-popout":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M6 7V5c0-1.105.895-2 2-2h11c1.105 0 2 .895 2 2v14c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2v-2h2v2h11V5H8v2H6zm5.5-.5l-1.414 1.414L13.172 11H3v2h10.172l-3.086 3.086L11.5 17.5 17 12l-5.5-5.5z"})));break;case"gridicons-posts":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"})));break;case"gridicons-print":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3c0 1.105-.895 2-2 2H7c-1.105 0-2-.895-2-2v-3H2V9c0-1.105.895-2 2-2h1V5c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2v2h1c1.105 0 2 .895 2 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5.672 1.5 1.5 1.5 1.5-.672 1.5-1.5z"})));break;case"gridicons-quote":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M11.192 15.757c0-.88-.23-1.618-.69-2.217-.326-.412-.768-.683-1.327-.812-.55-.128-1.07-.137-1.54-.028-.16-.95.1-1.956.76-3.022.66-1.065 1.515-1.867 2.558-2.403L9.373 5c-.8.396-1.56.898-2.26 1.505-.71.607-1.34 1.305-1.9 2.094s-.98 1.68-1.25 2.69-.346 2.04-.217 3.1c.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003zm9.124 0c0-.88-.23-1.618-.69-2.217-.326-.42-.77-.692-1.327-.817-.56-.124-1.074-.13-1.54-.022-.16-.94.09-1.95.75-3.02.66-1.06 1.514-1.86 2.557-2.4L18.49 5c-.8.396-1.555.898-2.26 1.505-.708.607-1.34 1.305-1.894 2.094-.556.79-.97 1.68-1.24 2.69-.273 1-.345 2.04-.217 3.1.165 1.4.615 2.52 1.35 3.35.732.833 1.646 1.25 2.742 1.25.967 0 1.768-.29 2.402-.876.627-.576.942-1.365.942-2.368v.01z"})));break;case"gridicons-reader":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M3 4v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4H3zm7 11H5v-1h5v1zm2-2H5v-1h7v1zm0-2H5v-1h7v1zm7 4h-5v-5h5v5zm0-7H5V6h14v2z"})));break;case"gridicons-reader-following":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M23,13.482L15.508,21L12,17.4l1.412-1.388l2.106,2.188l6.094-6.094L23,13.482z M15.545,15.344L20,10.889V2H2v14c0,1.1,0.9,2,2,2h4.538l4.913-4.832L15.545,15.344z M8,13H4v-1h4V13z M11,11H4v-1h7V11z M11,9H4V8h7V9z M18,6H4V4h14V6z"})));break;case"gridicons-reblog":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M22.086 9.914L20 7.828V18c0 1.105-.895 2-2 2h-7v-2h7V7.828l-2.086 2.086L14.5 8.5 19 4l4.5 4.5-1.414 1.414zM6 16.172V6h7V4H6c-1.105 0-2 .895-2 2v10.172l-2.086-2.086L.5 15.5 5 20l4.5-4.5-1.414-1.414L6 16.172z"})));break;case"gridicons-redo":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 6v3.586L14.343 5.93C13.17 4.756 11.636 4.17 10.1 4.17s-3.07.585-4.242 1.757c-2.343 2.342-2.343 6.14 0 8.484l5.364 5.364 1.414-1.414L7.272 13c-1.56-1.56-1.56-4.097 0-5.657.755-.755 1.76-1.172 2.828-1.172 1.068 0 2.073.417 2.828 1.173L16.586 11H13v2h7V6h-2z"})));break;case"gridicons-refresh":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z"})));break;case"gridicons-reply":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M14 8H6.828l2.586-2.586L8 4 3 9l5 5 1.414-1.414L6.828 10H14c2.206 0 4 1.794 4 4s-1.794 4-4 4h-2v2h2c3.314 0 6-2.686 6-6s-2.686-6-6-6z"})));break;case"gridicons-rotate":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 14v6c0 1.105-.895 2-2 2H6c-1.105 0-2-.895-2-2v-6c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2zM13.914 2.914L11.828 5H14c4.418 0 8 3.582 8 8h-2c0-3.308-2.692-6-6-6h-2.172l2.086 2.086L12.5 10.5 8 6l1.414-1.414L12.5 1.5l1.414 1.414z"})));break;case"gridicons-scheduled":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M10.498 18l-3.705-3.704 1.415-1.415 2.294 2.295 5.293-5.293 1.415 1.415L10.498 18zM21 6v13c0 1.104-.896 2-2 2H5c-1.104 0-2-.896-2-2V6c0-1.104.896-2 2-2h1V2h2v2h8V2h2v2h1c1.104 0 2 .896 2 2zm-2 2H5v11h14V8z"})));break;case"gridicons-search":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-share-ios":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M17 8h2c1.105 0 2 .895 2 2v9c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2v-9c0-1.105.895-2 2-2h2v2H5v9h14v-9h-2V8zM6.5 5.5l1.414 1.414L11 3.828V14h2V3.828l3.086 3.086L17.5 5.5 12 0 6.5 5.5z"})));break;case"gridicons-share":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 16c-.788 0-1.5.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.118c-.053.223-.088.453-.088.692 0 1.657 1.343 3 3 3s3-1.343 3-3-1.343-3-3-3z"})));break;case"gridicons-sign-out":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M16 17v2c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h9c1.105 0 2 .895 2 2v2h-2V5H5v14h9v-2h2zm2.5-10.5l-1.414 1.414L20.172 11H10v2h10.172l-3.086 3.086L18.5 17.5 24 12l-5.5-5.5z"})));break;case"gridicons-spam":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M17 2H7L2 7v10l5 5h10l5-5V7l-5-5zm-4 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-speaker":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M19 8v6c1.7 0 3-1.3 3-3s-1.3-3-3-3zM11 7H4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h1v3c0 1.1.9 2 2 2h2v-5h2l4 4h2V3h-2l-4 4z"})));break;case"gridicons-special-character":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12.005 7.418c-1.237 0-2.19.376-2.86 1.128s-1.005 1.812-1.005 3.18c0 1.387.226 2.513.677 3.377.45.865 1.135 1.543 2.05 2.036V20H5v-2.666h3.12c-1.04-.636-1.842-1.502-2.405-2.6-.564-1.097-.846-2.322-.846-3.676 0-1.258.29-2.363.875-3.317.585-.952 1.417-1.685 2.497-2.198s2.334-.77 3.763-.77c2.18 0 3.915.572 5.204 1.713s1.932 2.673 1.932 4.594c0 1.353-.283 2.57-.852 3.65-.567 1.08-1.38 1.947-2.44 2.603H19V20h-5.908v-2.86c.95-.493 1.65-1.18 2.102-2.062s.677-2.006.677-3.374c0-1.36-.336-2.415-1.01-3.164-.672-.747-1.624-1.122-2.855-1.122z"})));break;case"gridicons-star-outline":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-star":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-stats-alt":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M21 21H3v-2h18v2zM8 10H4v7h4v-7zm6-7h-4v14h4V3zm6 3h-4v11h4V6z"})));break;case"gridicons-stats":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm0 16H5V5h14v14zM9 17H7v-5h2v5zm4 0h-2V7h2v10zm4 0h-2v-7h2v7z"})));break;case"gridicons-status":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM7.55 13c-.02.166-.05.33-.05.5 0 2.485 2.015 4.5 4.5 4.5s4.5-2.015 4.5-4.5c0-.17-.032-.334-.05-.5h-8.9zM10 10V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1zm6 0V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1z"})));break;case"gridicons-strikethrough":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M14.348 12H21v2h-4.613c.24.515.368 1.094.368 1.748 0 1.317-.474 2.355-1.423 3.114-.947.76-2.266 1.138-3.956 1.138-1.557 0-2.934-.293-4.132-.878v-2.874c.985.44 1.818.75 2.5.928.682.18 1.306.27 1.872.27.68 0 1.2-.13 1.562-.39.363-.26.545-.644.545-1.158 0-.285-.08-.54-.24-.763-.16-.222-.394-.437-.704-.643-.18-.12-.483-.287-.88-.49H3v-2H14.347zm-3.528-2c-.073-.077-.143-.155-.193-.235-.126-.202-.19-.44-.19-.713 0-.44.157-.795.47-1.068.313-.273.762-.41 1.348-.41.492 0 .993.064 1.502.19.51.127 1.153.35 1.93.67l1-2.405c-.753-.327-1.473-.58-2.16-.76-.69-.18-1.414-.27-2.173-.27-1.544 0-2.753.37-3.628 1.108-.874.738-1.312 1.753-1.312 3.044 0 .302.036.58.088.848h3.318z"})));break;case"gridicons-sync":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M23.5 13.5l-3.086 3.086L19 18l-4.5-4.5 1.414-1.414L18 14.172V12c0-3.308-2.692-6-6-6V4c4.418 0 8 3.582 8 8v2.172l2.086-2.086L23.5 13.5zM6 12V9.828l2.086 2.086L9.5 10.5 5 6 3.586 7.414.5 10.5l1.414 1.414L4 9.828V12c0 4.418 3.582 8 8 8v-2c-3.308 0-6-2.692-6-6z"})));break;case"gridicons-tablet":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 2H6c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h12c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-5 19h-2v-1h2v1zm5-2H6V5h12v14z"})));break;case"gridicons-tag":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-text-color":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M3 19h18v3H3v-3zM15.82 17h3.424L14 3h-4L4.756 17H8.18l1.067-3.5h5.506L15.82 17zm-1.952-6h-3.73l1.868-5.725L13.868 11z"})));break;case"gridicons-themes":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M4 6c-1.105 0-2 .895-2 2v12c0 1.1.9 2 2 2h12c1.105 0 2-.895 2-2H4V6zm16-4H8c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V4c0-1.105-.895-2-2-2zm-5 14H8V9h7v7zm5 0h-3V9h3v7zm0-9H8V4h12v3z"})));break;case"gridicons-thumbs-up":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M6.7 22H2v-9h2l2.7 9zM20 9h-6V5c0-1.657-1.343-3-3-3h-1v4L7.1 9.625c-.712.89-1.1 1.996-1.1 3.135V14l2.1 7h8.337c1.836 0 3.435-1.25 3.88-3.03l1.622-6.485C22.254 10.223 21.3 9 20 9z"})));break;case"gridicons-time":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.8 13.4L13 11.667V7h-2v5.333l3.2 4.266 1.6-1.2z"})));break;case"gridicons-trash":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M6.187 8h11.625l-.695 11.125C17.05 20.18 16.177 21 15.12 21H8.88c-1.057 0-1.93-.82-1.997-1.875L6.187 8zM19 5v2H5V5h3V4c0-1.105.895-2 2-2h4c1.105 0 2 .895 2 2v1h3zm-9 0h4V4h-4v1z"})));break;case"gridicons-trophy":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18 5.062V3H6v2.062H2V8c0 2.525 1.89 4.598 4.324 4.932.7 2.058 2.485 3.61 4.676 3.978V18c0 1.105-.895 2-2 2H8v2h8v-2h-1c-1.105 0-2-.895-2-2v-1.09c2.19-.368 3.976-1.92 4.676-3.978C20.11 12.598 22 10.525 22 8V5.062h-4zM4 8v-.938h2v3.766C4.836 10.416 4 9.304 4 8zm16 0c0 1.304-.836 2.416-2 2.83V7.06h2V8z"})));break;case"gridicons-types":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M22 17c0 2.76-2.24 5-5 5s-5-2.24-5-5 2.24-5 5-5 5 2.24 5 5zM6.5 6.5h3.8L7 1 1 11h5.5V6.5zm9.5 4.085V8H8v8h2.585c.433-2.783 2.632-4.982 5.415-5.415z"})));break;case"gridicons-underline":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M4 19v2h16v-2H4zM18 3v8c0 3.314-2.686 6-6 6s-6-2.686-6-6V3h3v8c0 1.654 1.346 3 3 3s3-1.346 3-3V3h3z"})));break;case"gridicons-undo":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M18.142 5.93C16.97 4.756 15.435 4.17 13.9 4.17s-3.072.586-4.244 1.757L6 9.585V6H4v7h7v-2H7.414l3.657-3.657c.756-.755 1.76-1.172 2.83-1.172 1.067 0 2.072.417 2.827 1.173 1.56 1.56 1.56 4.097 0 5.657l-5.364 5.364 1.414 1.414 5.364-5.364c2.345-2.343 2.345-6.142.002-8.485z"})));break;case"gridicons-user-circle":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18.5c-4.694 0-8.5-3.806-8.5-8.5S7.306 3.5 12 3.5s8.5 3.806 8.5 8.5-3.806 8.5-8.5 8.5zm0-8c-3.038 0-5.5 1.728-5.5 3.5s2.462 3.5 5.5 3.5 5.5-1.728 5.5-3.5-2.462-3.5-5.5-3.5zm0-.5c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z"})));break;case"gridicons-user":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 4c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4zm0 16s8 0 8-2c0-2.4-3.9-5-8-5s-8 2.6-8 5c0 2 8 2 8 2z"})));break;case"gridicons-video-camera":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M17 9V7c0-1.105-.895-2-2-2H4c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h11c1.105 0 2-.895 2-2v-2l5 4V5l-5 4z"})));break;case"gridicons-video":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().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"})));break;case"gridicons-visible":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M12 6C5.188 6 1 12 1 12s4.188 6 11 6 11-6 11-6-4.188-6-11-6zm0 10c-3.943 0-6.926-2.484-8.38-4 1.04-1.085 2.863-2.657 5.255-3.47C8.335 9.214 8 10.064 8 11c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.937-.335-1.787-.875-2.47 2.393.813 4.216 2.386 5.254 3.47-1.456 1.518-4.438 4-8.38 4z"})));break;case"gridicons-chat":o=s().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s().createElement("g",null,s().createElement("path",{d:"M20,4h-8c-1.1,0-2,0.9-2,2v2h2c1.7,0,3,1.3,3,3v2h2v3.5l3.3-2.3c1.1-0.8,1.7-2,1.7-3.3V6C22,4.9,21.1,4,20,4z"}),s().createElement("g",null,s().createElement("path",{d:"M14,11v5c0,1.1-0.9,2-2,2H7v3.5l-3.3-2.3c-1.1-0.8-1.7-2-1.7-3.3V11c0-1.1,0.9-2,2-2h8C13.1,9,14,9.9,14,11z"}))))}return o}});t.Z=l},87279:function(e,t,n){"use strict";var r=n(11268),i=n.n(r),o=n(99196),s=n.n(o),a=n(7767),c=n.n(a),u=n(92819),f=n(40515),h=n(22256),l=n(89105),d=n.n(l),p=n(11973);t.Z=c()({displayName:"InfoPopover",propTypes:{id:i().string,position:i().string,className:i().string,rootClassName:i().string,gaEventCategory:i().string,popoverName:i().string,onClick:i().func,ignoreContext:i().shape({getDOMNode:i().function})},getDefaultProps:()=>({position:"bottom",onClick:u.noop}),getInitialState:()=>({showPopover:!1}),render(){const e=d()("dops-info-popover","dops-info-popover-button",{is_active:this.state.showPopover},this.props.className);return s().createElement("button",{ref:"infoPopover",className:e,onClick:this._onClick},s().createElement(h.Z,{icon:"info-outline",size:18}),this.props.screenReaderText?s().createElement("span",{className:"screen-reader-text"},this.props.screenReaderText):"",s().createElement(f.Z,{id:this.props.id,isVisible:this.state.showPopover,context:this.refs&&this.refs.infoPopover,ignoreContext:this.props.ignoreContext,position:this.props.position,onClose:this._onClose,className:d()("dops-info-popover__tooltip",this.props.className),rootClassName:this.props.rootClassName},this.props.children))},_onClick(e){this.props.onClick(),e.preventDefault(),this.setState({showPopover:!this.state.showPopover},this._recordStats)},_onClose(){this.setState({showPopover:!1},this._recordStats)},_recordStats(){const{gaEventCategory:e,popoverName:t}=this.props;if(e&&t){const n=this.state.showPopover?" Opened":" Closed";p.Z.ga.recordEvent(e,"InfoPopover: "+t+n)}}})},35491:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),o=n(99196),s=n.n(o),a=n(2620),c=n(89105),u=n.n(c);class f extends s().Component{render(){const e=u()(this.props.className,"jp-loading-placeholder");return s().createElement("div",{className:e},s().createElement("span",{className:"dashicons dashicons-wordpress-alt"}))}}i()(f,"displayName","LoadingPlaceholder"),t.Z=(0,a.$j)((e=>e))(f)},7179:function(e,t,n){"use strict";n.d(t,{l:function(){return f}});var r=n(2620),i=n(92819),o=n(65736),s=n(93107),a=n(17752),c=n(66552),u=n(41147);const __=o.__;function f(e){return(0,r.$j)(((e,t)=>({validValues:function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof(0,i.get)(t,["module","module"])&&(r=t.module.module),(0,s.R9)(e,r,n)},getOptionCurrentValue:(t,n)=>(0,s.C5)(e,t,n),getSettingCurrentValue:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,a.$8)(e,t,n)},getSiteRoles:()=>(0,c.Td)(e),isUpdating:t=>(0,a.Cu)(e,t),adminEmailAddress:(0,c.je)(e),currentIp:(0,c.de)(e),siteAdminUrl:(0,c.wW)(e),isCurrentUserLinked:(0,u.BU)(e)})),(e=>({updateOptions:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e((0,a.VP)(t,n))},regeneratePostByEmailAddress:()=>{const t={progress:__("Updating Post by Email address…","jetpack"),success:__("Regenerated Post by Email address.","jetpack"),error:e=>(0,o.sprintf)(
-/* translators: placeholder is an error message. */
-__("Error regenerating Post by Email address. %s","jetpack"),e)};return e((0,a.VP)({post_by_email_address:"regenerate"},t))},setUnsavedSettingsFlag:()=>e((0,a.a6)()),clearUnsavedSettingsFlag:()=>e((0,a._1)()),refreshSettings:()=>e((0,a.wv)())})))(e)}},5e4:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var r=n(29183),i=n.n(r),o=n(27538),s=n.n(o),a=n(99196),c=n.n(a),u=n(11973),f=n(92819),h=n(7179);function l(e){class t extends c().Component{constructor(){var e;super(...arguments),e=this,s()(this,"state",{options:{}}),s()(this,"onOptionChange",(e=>{const t=e.target.name;let n;n="checkbox"===e.target.type&&void 0!==e.target.checked?e.target.checked:e.target.value,this.updateFormStateOptionValue(t,n)})),s()(this,"updateFormStateOptionValue",(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;"string"==typeof t&&(t={[t]:n});const r={...e.state.options,...t};return e.setState({options:r}),!0})),s()(this,"resetFormStateOption",(e=>(this.setState({options:(0,f.omit)(this.state.options,[e])}),!0))),s()(this,"updateFormStateModuleOption",(function(t,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.trackSettingsToggle(t,n,!e.getOptionValue(n)),e.getOptionValue(t)?r?e.props.updateOptions({[t]:!1,[n]:!e.getOptionValue(n)}):e.props.updateOptions({[n]:!e.getOptionValue(n)}):e.props.updateOptions({[t]:!0,[n]:!0})})),s()(this,"toggleModuleNow",(e=>{this.props.updateOptions({[e]:!this.getOptionValue(e)})})),s()(this,"onSubmit",(e=>{e.preventDefault(),this.props.updateOptions(this.state.options).then((()=>{const e={};(0,f.each)(this.state.options,((t,n)=>{n=n.replace(/\-/,"_"),e[n]=t})),this.trackFormSubmission(e),this.setState({options:{}})})).then((()=>{this.props.refreshSettings(),this.props.clearUnsavedSettingsFlag()}))})),s()(this,"getOptionValue",(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,f.get)(e.state.options,t,e.props.getSettingCurrentValue(t,n))})),s()(this,"shouldSaveButtonBeDisabled",(()=>this.isSavingAnyOption()||!this.isDirty())),s()(this,"isDirty",(()=>!!Object.keys(this.state.options).length)),s()(this,"isSavingAnyOption",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.props.isUpdating(t)})),s()(this,"trackFormSubmission",(e=>{u.Z.tracks.recordEvent("jetpack_wpa_settings_form_submit",e)})),s()(this,"trackSettingsToggle",((e,t,n)=>{u.Z.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:e,setting:t,toggled:n?"on":"off"})}))}componentDidUpdate(){this.isDirty()&&this.props.setUnsavedSettingsFlag()}render(){return c().createElement(e,i()({getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,toggleModuleNow:this.toggleModuleNow,updateFormStateModuleOption:this.updateFormStateModuleOption,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption,isDirty:this.isDirty,resetFormStateOption:this.resetFormStateOption},this.props))}}return(0,h.l)(t)}},77222:function(e,t,n){"use strict";n.d(t,{T:function(){return b}});var r=n(27538),i=n.n(r),o=n(99196),s=n.n(o),a=n(11268),c=n.n(a),u=n(2620),f=n(69307),h=n(65736),l=n(71415),d=n(11973),p=n(94069),g=n(93107);const __=h.__;class m extends o.Component{constructor(){super(...arguments),i()(this,"toggleModule",(()=>(this.trackModuleToggle(this.props.slug,this.props.activated),this.props.toggleModule(this.props.slug,this.props.activated)))),i()(this,"trackModuleToggle",((e,t)=>{"stats"!==e&&d.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:e,toggled:t?"off":"on"})})),i()(this,"isDisabledByOverride",(()=>{const e=this.props.getModuleOverride(this.props.slug);return this.props.overrideCondition?this.props.overrideCondition===e:!!e})),i()(this,"getDisabledReason",(()=>{if(!this.isDisabledByOverride())return null;const e=this.props.getModuleOverride(this.props.slug),t={link:s().createElement("a",{href:(0,l.Z)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"underline"}})};switch(e){case"active":return(0,f.createInterpolateElement)(__("This feature has been enabled by a site administrator. <link>Learn more</link>.","jetpack"),t);case"inactive":return(0,f.createInterpolateElement)(__("This feature has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),t);default:return(0,f.createInterpolateElement)(__("This feature is being managed by a site administrator. <link>Learn more</link>.","jetpack"),t)}}))}render(){return s().createElement(p.Z,{checked:this.props.activated||this.props.isModuleActivated,toggling:this.props.toggling,className:this.props.className,disabled:this.props.disabled||this.isDisabledByOverride(),id:this.props.id,onChange:this.toggleModule,disabledReason:this.getDisabledReason(),"aria-label":this.props["aria-label"]},this.props.children)}}i()(m,"displayName","ModuleToggle"),i()(m,"propTypes",{toggleModule:c().func,activated:c().bool,disabled:c().bool,className:c().string,compact:c().bool,id:c().string,overrideCondition:c().string}),i()(m,"defaultProps",{activated:!1,disabled:!1,overrideCondition:""});const b=(0,u.$j)((e=>({getModuleOverride:t=>(0,g.Qy)(e,t)})))(m)},40515:function(e,t,n){"use strict";var r=n(27538),i=n.n(r),o=n(11268),s=n.n(o),a=n(99196),c=n.n(a),u=n(91850),f=n.n(u),h=n(90922),l=n.n(h),d=n(89105),p=n.n(d),g=n(26767),m=n.n(g),b=n(97236),v=n.n(b),y=n(92819),w=n(16291),_=n(7719);const E=l()("calypso:popover"),S=new Set;class k extends a.Component{constructor(e){super(e),this.setPopoverId(e.id),this.setDOMBehavior=this.setDOMBehavior.bind(this),this.setPosition=this.setPosition.bind(this),this.onClickout=this.onClickout.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onWindowChange=this.onWindowChange.bind(this),this.state={show:e.isVisible,left:-99999,top:-99999,positionClass:this.getPositionClass(e.position)}}componentDidMount(){this.bindEscKeyListener(),this.bindDebouncedReposition(),(0,_.fN)()}UNSAFE_componentWillReceiveProps(e){if((0,_.kK)(e.context)?this.domContext=e.context:this.domContext=f().findDOMNode(e.context),!e.isVisible)return null;this.setPosition()}componentDidUpdate(e){const{isVisible:t}=this.props;return t!==e.isVisible&&(t?this.show():this.hide()),this.domContainer&&this.domContext&&t&&t!==e.isVisible?(this.debug("Update position after render completes"),void setTimeout((()=>this.setPosition()),0)):null}componentWillUnmount(){this.debug("unmounting .... "),this.unbindClickoutHandler(),this.unbindDebouncedReposition(),this.unbindEscKeyListener(),(0,_.zR)(),S.delete(this.id),E("current popover instances: ",S.size)}bindEscKeyListener(){return this.props.closeOnEsc?this.escEventHandlerAdded?null:(this.debug("adding escKey listener ..."),this.escEventHandlerAdded=!0,void document.addEventListener("keydown",this.onKeydown,!0)):null}unbindEscKeyListener(){return this.props.closeOnEsc&&this.escEventHandlerAdded?(this.debug("unbinding `escKey` listener ..."),void document.removeEventListener("keydown",this.onKeydown,!0)):null}onKeydown(e){if(27!==e.keyCode)return null;this.close(!0)}bindClickoutHandler(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.domContainer;return e?this._clickoutHandlerReference?(this.debug("clickout event already bound"),null):(this.debug("binding `clickout` event"),void(this._clickoutHandlerReference=m()(e,this.onClickout))):(this.debug("no element to bind clickout side "),null)}unbindClickoutHandler(){this._clickoutHandlerReference&&(this.debug("unbinding `clickout` listener ..."),this._clickoutHandlerReference(),this._clickoutHandlerReference=null)}onClickout(e){let t=this.domContext&&this.domContext.contains&&!this.domContext.contains(e.target);if(this.props.ignoreContext&&t){const n=f().findDOMNode(this.props.ignoreContext);t=t&&n&&n.contains&&!n.contains(e.target)}t&&this.close()}bindDebouncedReposition(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}unbindDebouncedReposition(){this.willReposition&&(window.cancelAnimationFrame(this.willReposition),this.willReposition=null),window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0),this.debug("unbinding `debounce reposition` ...")}onWindowChange(){this.willReposition=window.requestAnimationFrame(this.setPosition)}setDOMBehavior(e){if(!e)return this.unbindClickoutHandler(),null;this.debug("setting DOM behavior"),this.bindClickoutHandler(e),this.domContainer=e,(0,_.kK)(this.props.context)?this.domContext=this.props.context:this.domContext=f().findDOMNode(this.props.context),this.domContainer.focus(),this.setPosition()}getPositionClass(){return`is-${(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.position).replace(/\s+/g,"-")}`}computePosition(){if(!this.props.isVisible)return null;const{domContainer:e,domContext:t}=this,{position:n}=this.props;if(!e||!t)return this.debug("[WARN] no DOM elements to work"),null;let r=n;this.debug("position: %o",n),this.props.autoPosition&&(r=(0,_.X6)(n,e,t),this.debug("suggested position: %o",r));const i=(0,y.assign)({},(0,_.Ou)((0,_.cv)(r,e,t),e),{positionClass:this.getPositionClass(r)});return this.debug("updating reposition: ",i),i}debug(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];E(`[%s] ${e}`,this.id,...n)}setPopoverId(e){this.id=e||`pop__${v()(16)}`,S.add(this.id),this.debug("creating ..."),E("current popover instances: ",S.size)}setPosition(){const e=this.computePosition();if(!e)return null;this.willReposition=null,this.setState(e)}getStylePosition(){const{left:e,top:t}=this.state;return{left:e,top:t}}show(){if(!this.props.showDelay)return this.setState({show:!0}),null;this.debug("showing in %o",`${this.props.showDelay}ms`),this.clearShowTimer(),this._openDelayTimer=setTimeout((()=>{this.setState({show:!0})}),this.props.showDelay)}hide(){this.unbindClickoutHandler(),this.setState({show:!1}),this.clearShowTimer()}clearShowTimer(){if(!this._openDelayTimer)return null;clearTimeout(this._openDelayTimer),this._openDelayTimer=null}close(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.props.isVisible)return this.debug("popover should be already closed"),null;this.domContext.focus(),this.props.onClose(e)}render(){if(!this.state.show)return this.debug("is hidden. return no render"),null;if(!this.props.context)return this.debug("No `context` to tie. return no render"),null;const e=p()("dops-popover",this.props.className,this.state.positionClass);return this.debug("rendering ..."),c().createElement(w.Z,{className:this.props.rootClassName},c().createElement("div",{style:this.getStylePosition(),className:e,ref:this.setDOMBehavior},c().createElement("div",{className:"dops-popover__arrow"}),c().createElement("div",{className:"dops-popover__inner"},this.props.children)))}}i()(k,"propTypes",{autoPosition:s().bool,className:s().string,closeOnEsc:s().bool,id:s().string,ignoreContext:s().shape({getDOMNode:s().function}),position:s().string,rootClassName:s().string,showDelay:s().number,onClose:s().func.isRequired,onShow:s().func}),i()(k,"defaultProps",{autoPosition:!0,className:"dops-popover",closeOnEsc:!0,isVisible:!1,position:"top",showDelay:0,onShow:()=>{}}),t.Z=k},7719:function(e,t,n){"use strict";n.d(t,{Ou:function(){return b},fN:function(){return d},zR:function(){return p},X6:function(){return g},cv:function(){return m},kK:function(){return v}});var r=n(98707),i=n.n(r),o=n(90922);const s=n.n(o)()("calypso:popover:util");function a(){const e={};return e.top=window.scrollY,e.left=window.scrollX,e.width=window.innerWidth,e.height=window.innerHeight,e.right=e.left+e.width,e.bottom=e.top+e.height,s("viewport: %o",e),e}const c={top:"bottom",bottom:"top",left:"right",right:"left"},u={top:"right",left:"top",bottom:"left",right:"bottom"};let f=a();function h(){f=a()}let l=!1;const d=()=>{if(l)return s("window events already bound");l=!0,s("bind handlers to `resize` and `scroll` events"),window.addEventListener("resize",h,!0),window.addEventListener("scroll",h,!0)},p=()=>{if(!l)return s("window events are not bound");l=!1,s("unbind handlers to `resize` and `scroll` events"),window.removeEventListener("resize",h,!0),window.removeEventListener("scroll",h,!0)},g=(e,t,n)=>{const r=i()(n),o=t.clientHeight,s=t.clientWidth,a={top:r.top-o,bottom:f.height-r.bottom-o,left:r.left-s,right:f.width-r.right-s},h=e.split(/\s+/),[l]=h;let[,d]=h;const p=function(e,t){const n=[e,c[e],u[e],c[u[e]]];let r,i=-1/0;for(let o=0,s=n.length;o<s;o++){const s=n[o],a=t[s];if(a>0)return s;a>i&&(i=a,r=e)}return r}(l,a);return d!==p&&d!==c[p]||(d=null),function(e,t,n,r,i,o){const s=t?[e+" "+t,e,e+" "+c[t]]:[e,e+" "+u[e],e+" "+c[u[e]]];let a,h=0;const l=i*o;for(let e=0,t=s.length;e<t;e++){const t=s[e],c=m(t,n,r),u=c.left+i,d=c.top+o,p=Math.min(c.top<f.top?d-f.top:f.bottom-c.top,o),g=Math.min(c.left<f.left?u-f.left:f.right-c.left,i)*p;if(g===l)return t;g>h&&(h=g,a=t)}return a}(p,d,t,n,s,o)||e};function m(e,t,n){const r=i()(t);if(!r)throw new Error("could not get bounding client rect of Tip element");const o=r.width,s=r.height,a=i()(n);if(!a)throw new Error("could not get bounding client rect of `target`");const c=a.width,u=a.height,f=function(e,t){const n=t.body||t.getElementsByTagName("body")[0],r=t.documentElement||n.parentNode,i=r.clientTop||n.clientTop||0,o=r.clientLeft||n.clientLeft||0,s=window.pageYOffset||r.scrollTop,a=window.pageXOffset||r.scrollLeft;return{top:e.top+s-i,left:e.left+a-o}}(a,document);if(!f)throw new Error("could not determine page offset of `target`");let h={};switch(e){case"top":h={top:f.top-s,left:f.left+c/2-o/2};break;case"bottom":h={top:f.top+u,left:f.left+c/2-o/2};break;case"right":h={top:f.top+u/2-s/2,left:f.left+c};break;case"left":h={top:f.top+u/2-s/2,left:f.left-o};break;case"top left":h={top:f.top-s,left:f.left+c/2-o+15};break;case"top right":h={top:f.top-s,left:f.left+c/2-15};break;case"bottom left":h={top:f.top+u,left:f.left+c/2-o+15};break;case"bottom right":h={top:f.top+u,left:f.left+c/2-15};break;case"left top":h={top:f.top+u/2-s,left:f.left-o};break;case"left bottom":h={top:f.top+u/2,left:f.left-o};break;case"right top":h={top:f.top+u/2-s,left:f.left+c};break;case"right bottom":h={top:f.top+u/2,left:f.left+c};break;default:throw new Error(`invalid position "${e}"`)}return h}const b=function(e,t){const n=i()(t).width;return e.left=Math.max(0,Math.min(e.left,f.width-n)),e},v=e=>{try{return e instanceof HTMLElement}catch(t){return"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument}}},16291:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27538),i=n.n(r),o=n(91850),s=n.n(o),a=n(11268),c=n.n(a),u=n(99196),f=n.n(u),h=n(2620);class l extends f().Component{constructor(){super(...arguments),i()(this,"renderChildren",(()=>{let e;e=this.props&&(Object.keys(this.props).length>1||!this.props.children)?f().createElement("div",this.props,this.props.children):this.props.children,this.context.store&&(e=f().createElement(h.zt,{store:this.context.store},e)),s().render(e,this.container)}))}componentDidMount(){this.container=document.createElement("div"),document.body.appendChild(this.container),this.renderChildren()}componentDidUpdate(){this.renderChildren()}componentWillUnmount(){this.container&&(s().unmountComponentAtNode(this.container),document.body.removeChild(this.container),delete this.container)}render(){return null}}i()(l,"displayName","RootChild"),i()(l,"propTypes",{children:c().node}),i()(l,"contextTypes",{store:c().object})},27006:function(e,t,n){"use strict";var r=n(29183),i=n.n(r),o=n(11268),s=n.n(o),a=n(99196),c=n.n(a),u=n(2620),f=n(60742),h=n(89105),l=n.n(h),d=n(92819),p=n(25691),g=n(41147),m=n(66552),b=n(93107);const v=e=>{const t=e.module;if(t.module&&!e.userCanManageModules&&!(0,d.includes)(["post-by-email","publicize"],t.module))return c().createElement("span",null);const n=e.disableInOfflineMode&&e.isUnavailableInOfflineMode(t.module),r=e.disableInSiteConnectionMode&&e.isUnavailableInSiteConnectionMode(t.module);let o=n||r;return"post-by-email"!==t.module||e.isLinked||(o=!0),c().createElement("div",{className:l()("jp-form-settings-group",e.className)},c().createElement(f.Z,{className:l()({"jp-form-has-child":e.hasChild,"jp-form-settings-disable":n||r})},o&&c().createElement("div",{className:"jp-form-block-fade"}),e.support.link&&c().createElement(p.Z,i()({module:t},e.support)),e.children))};v.propTypes={support:s().object,module:s().object,disableInOfflineMode:s().bool.isRequired,disableInSiteConnectionMode:s().bool,isOfflineMode:s().bool.isRequired,isSitePublic:s().bool.isRequired,userCanManageModules:s().bool.isRequired,isLinked:s().bool.isRequired,isUnavailableInOfflineMode:s().func.isRequired,className:s().string},v.defaultProps={support:{text:"",link:""},module:{},disableInOfflineMode:!1,disableInSiteConnectionMode:!1,isOfflineMode:!1,isSitePublic:!0,userCanManageModules:!1,isLinked:!1,isUnavailableInOfflineMode:d.noop,className:""},t.Z=(0,u.$j)((e=>({isOfflineMode:(0,g.Ex)(e),isSitePublic:(0,m.$r)(e),userCanManageModules:(0,m.pK)(e),userCanEditPosts:(0,m.rp)(e),isLinked:(0,g.BU)(e),isModuleActivated:t=>(0,b.mp)(e,t),isUnavailableInOfflineMode:t=>(0,g.t_)(e,t),isUnavailableInSiteConnectionMode:t=>(0,g.IK)(e,t)})))(v)},25691:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27538),i=n.n(r),o=n(11268),s=n.n(o),a=n(99196),c=n.n(a),u=n(65736),f=n(11973),h=n(87279),l=n(68961);const __=u.__;class d extends a.Component{constructor(){super(...arguments),this.getModule=this.getModule.bind(this),this.trackInfoClick=this.trackInfoClick.bind(this),this.trackLearnMoreClick=this.trackLearnMoreClick.bind(this),this.trackPrivacyInfoClick=this.trackPrivacyInfoClick.bind(this)}getModule(){return this.props.module||{}}trackInfoClick(){f.Z.tracks.recordJetpackClick({target:"info-icon",feature:this.getModule().module})}trackLearnMoreClick(){f.Z.tracks.recordJetpackClick({target:"learn-more",feature:this.getModule().module})}trackPrivacyInfoClick(){f.Z.tracks.recordJetpackClick({target:"privacy-info",feature:this.getModule().module})}render(){const{text:e,link:t}=this.props;let{privacyLink:n}=this.props;return!n&&t&&(n=t+"#privacy"),c().createElement("div",{className:"jp-support-info"},c().createElement(h.Z,{position:"left",onClick:this.trackInfoClick,screenReaderText:__("Learn more","jetpack")},e+" ",c().createElement("span",{className:"jp-support-info__learn-more"},c().createElement(l.Z,{href:t,onClick:this.trackLearnMoreClick,target:"_blank",rel:"noopener noreferrer"},__("Learn more","jetpack"))),c().createElement("span",{className:"jp-support-info__privacy"},c().createElement(l.Z,{href:n,onClick:this.trackPrivacyInfoClick,target:"_blank",rel:"noopener noreferrer"},__("Privacy information","jetpack")))))}}i()(d,"propTypes",{module:s().object,text:s().string,link:s().string,privacyLink:s().string}),i()(d,"defaultProps",{module:void 0,text:"",link:"",privacyLink:""})},9481:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},11973:function(e,t,n){"use strict";var r=n(9481),i=n(80816);i.Z.setMcAnalyticsEnabled((0,r.Z)("mc_analytics_enabled")),i.Z.setGoogleAnalyticsEnabled((0,r.Z)("google_analytics_enabled"),(0,r.Z)("google_analytics_key")),t.Z=i.Z},81200:function(e,t,n){"use strict";n.d(t,{Cv:function(){return W},yy:function(){return Y},sc:function(){return X}});var r=n(92819);const i="business-bundle",o="business-bundle-2y",s="business-bundle-monthly",a="ecommerce-bundle",c="ecommerce-bundle-2y",u="ecommerce-bundle-monthly",f="value_bundle",h="jetpack_premium",l="jetpack_business",d="jetpack_personal",p="jetpack_premium_monthly",g="jetpack_business_monthly",m="jetpack_personal_monthly",b="jetpack_backup_t1_yearly",v="jetpack_backup_t1_monthly",y="jetpack_backup_t2_yearly",w="jetpack_backup_t2_monthly",_="jetpack_search",E="jetpack_search_monthly",S="jetpack_security_t1_yearly",k="jetpack_security_t1_monthly",M="jetpack_security_t2_yearly",C="jetpack_security_t2_monthly",A="jetpack_complete",x="jetpack_complete_monthly",I="wpcom_search",O="wpcom_search_monthly",T="jetpack_scan",N="jetpack_scan_monthly",j="jetpack_anti_spam",z="jetpack_anti_spam_monthly",P="jetpack_videopress",R="jetpack_videopress_monthly",B="jetpack_backup_daily",L="jetpack_backup_daily_monthly",D="jetpack_backup_realtime",U="jetpack_backup_realtime_monthly",F="jetpack_security_daily",H="jetpack_security_daily_monthly",V="jetpack_security_realtime",q="jetpack_security_realtime_monthly",K=[b,v,y,w,B,L,D,U],$=[_,E,I,O],Z=[T,N],J=[j,z],G=[P,R];function W(e){return(0,r.includes)($,e)}function Y(e){return function(e){return(0,r.includes)(K,e)}(e)||W(e)||function(e){return Z.includes(e)}(e)||function(e){return J.includes(e)}(e)||function(e){return G.includes(e)}(e)}function X(e){switch(e){case"jetpack_free":case"free_plan":return"is-free-plan";case"personal-bundle":case"personal-bundle-2y":case"personal-bundle-monthly":case d:case m:return"is-personal-plan";case f:case"value_bundle-2y":case"value_bundle-monthly":case h:case p:return"is-premium-plan";case i:case o:case s:case l:case g:case a:case c:case u:return"is-business-plan";case S:case k:return"is-security-t1-plan";case M:case C:return"is-security-t2-plan";case A:case x:case"vip":return"is-complete-plan";case b:case v:return"is-backup-t1-plan";case y:case w:return"is-backup-t2-plan";case _:case E:case I:case O:return"is-search-plan";case T:case N:return"is-scan-plan";case j:case z:return"is-anti-spam-plan";case P:case R:return"is-videopress-plan";case F:case H:return"is-daily-security-plan";case V:case q:return"is-realtime-security-plan";case B:case L:return"is-daily-backup-plan";case D:case U:return"is-realtime-backup-plan";default:return""}}},63854:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),o=n(2620),s=n(65736),a=n(81546),c=n(97967),u=n(19570),f=n(35491),h=n(19261),l=n(142),d=n(11973),p=n(88872),g=n(66552);const __=s.__;t.Z=(0,o.$j)((e=>({apiRootUrl:(0,g.yB)(e),apiNonce:(0,g.VY)(e),isLoading:(0,p.GR)(e),siteAdminUrl:(0,g.wW)(e),tracksUserData:(0,g.hv)(e),currentVersion:(0,g.w1)(e)})),{setInitialState:g.KY})((function(e){const{apiRootUrl:t,apiNonce:n,setInitialState:o,siteAdminUrl:s}=e;var p;p=()=>{t&&u.ZP.setApiRoot(t),n&&u.ZP.setApiNonce(n),o&&o(),(()=>{const t=e.tracksUserData;t&&d.Z.initialize(t.userid,t.username,{blog_id:t.blogid})})(),d.Z.tracks.recordEvent("jetpack_search_admin_page_view",{current_version:e.currentVersion})},(0,r.useMemo)(p,[]);const g=s+"admin.php?page=jetpack_about";return i().createElement("div",{className:"jp-search-dashboard-page"},e.isLoading&&i().createElement(f.Z,null),!e.isLoading&&i().createElement(r.Fragment,null,i().createElement("div",{className:"jp-search-dashboard-header jp-search-dashboard-wrap"},i().createElement("div",{className:"jp-search-dashboard-row"},i().createElement("div",{className:"lg-col-span-12 md-col-span-8 sm-col-span-4"},i().createElement("div",{className:"jp-search-dashboard-header__logo-container"},i().createElement(a.Z,{className:"jp-search-dashboard-header__masthead"}))))),i().createElement("div",{className:"jp-search-dashboard-top jp-search-dashboard-wrap"},i().createElement("div",{className:"jp-search-dashboard-row"},i().createElement("div",{className:"jp-search-dashboard-top__title lg-col-span-6 md-col-span-7 sm-col-span-4"},i().createElement("h1",null,__("Help your visitors find exactly what they're looking for, fast","jetpack"))),i().createElement("div",{className:" lg-col-span-6 md-col-span-1 sm-col-span-0"})),i().createElement("div",{className:"jp-search-dashboard-row","aria-hidden":"true"},i().createElement("div",{className:"lg-col-span-1 md-col-span-1 sm-col-span-0"}),i().createElement("div",{className:"jp-search-dashboard-top__mocked-search-interface lg-col-span-10 md-col-span-6 sm-col-span-4"},i().createElement(l.Z,null)),i().createElement("div",{className:"lg-col-span-1 md-col-span-1 sm-col-span-0"}))),i().createElement("div",{className:"jp-search-dashboard-bottom"},i().createElement(h.Z,null)),i().createElement("div",{className:"jp-search-dashboard-footer jp-search-dashboard-wrap"},i().createElement("div",{className:"jp-search-dashboard-row"},i().createElement(c.Z,{a8cLogoHref:g,moduleName:__("Jetpack Search","jetpack"),className:"lg-col-span-12 md-col-span-8 sm-col-span-4"})))))}))},21971:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),o=n(65736);const __=o.__;t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{upgrade:!0};return i().createElement("a",{className:"jp-instant-search-upsell-nudge jp-search-dashboard-cut",href:e.href},i().createElement("span",null,__("Offer instant search results to your visitors as soon as they start typing. ","jetpack")),i().createElement("span",null,e.upgrade&&i().createElement("b",null,__("Upgrade to Jetpack Instant Search now","jetpack")),!e.upgrade&&i().createElement("b",null,__("Purchase Jetpack Instant Search now","jetpack"))))}},4615:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(99196),i=n.n(r),o=n(65736),s=n(22256),a=n(9233);const __=o.__;function c(){return i().createElement("div",{className:"jp-mocked-instant-search","aria-hidden":"true"},i().createElement("div",{className:"jp-mocked-instant-search__search-controls"},i().createElement("div",{className:"jp-mocked-instant-search__search-icon"},i().createElement(s.Z,{icon:"search",size:24})),i().createElement("div",{className:"jp-mocked-instant-search__search-mock-input"},i().createElement(a.Z,{style:{height:"50px",width:"80%",maxWidth:"212px"}})),i().createElement("div",{className:"jp-mocked-instant-search__close-button"},i().createElement(s.Z,{icon:"cross",size:24}))),i().createElement("div",{className:"jp-mocked-instant-search__search-results"},i().createElement("div",{className:"jp-mocked-instant-search__search-results-primary"},i().createElement("div",{className:"jp-mocked-instant-search__search-results-header"},i().createElement("div",{className:"jp-mocked-instant-search__result-statistics"},
-/* translators: %s is replaced with the number of search results */
-(0,o.sprintf)(__("Found %s results","jetpack"),"27")),i().createElement("div",{className:"jp-mocked-instant-search__result-sort-list"},i().createElement("span",{className:"jp-mocked-instant-search__result-sort-selected"},__("Relevance","jetpack")),i().createElement("span",null,"·"),i().createElement("span",null,__("Newest","jetpack")),i().createElement("span",null,"·"),i().createElement("span",null,__("Oldest","jetpack")))),i().createElement("div",{className:"jp-mocked-instant-search__search-results-content"},Array.apply(null,Array(3)).map(((e,t)=>i().createElement("div",{className:"jp-mocked-instant-search__search-result",key:t},i().createElement(a.Z,{style:{height:"2.5em",width:"50%",maxWidth:"200px",margin:"0.1em 0.1em 1em 0.1em"}}),i().createElement(a.Z,{style:{height:"1em",width:"90%",margin:"0.1em"}}),i().createElement(a.Z,{style:{height:"1em",width:"70%",margin:"0.1em"}})))))),i().createElement("div",{className:"jp-mocked-instant-search__search-results-secondary"},i().createElement("div",{className:"jp-mocked-instant-search__search-filter-header"},__("Filter options","jetpack")),i().createElement("div",{className:"jp-mocked-instant-search__search-filter-list"},Array.apply(null,Array(2)).map(((e,t)=>i().createElement("div",{className:"jp-mocked-instant-search__search-filter",key:t},i().createElement("label",null,i().createElement("input",{type:"checkbox",disabled:"disabled"})," ",i().createElement(a.Z,{style:{width:"30%"}})))))))))}},70133:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(99196),i=n.n(r),o=n(22256),s=n(9233);function a(){return i().createElement("div",{className:"jp-mocked-legacy-search","aria-hidden":"true"},i().createElement("div",{className:"jp-mocked-legacy-search__search-controls"},i().createElement("div",{className:"jp-mocked-legacy-search__search-icon"},i().createElement(o.Z,{icon:"search",size:24})),i().createElement("div",{className:"jp-mocked-legacy-search__search-input"},i().createElement(s.Z,{style:{height:"50px",width:"80%",maxWidth:"212px"}}))))}},142:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),o=n(2620),s=n(4615),a=n(70133),c=n(81200),u=n(88872);t.Z=(0,o.$j)((e=>{const t=(0,c.sc)((0,u.UL)(e).product_slug);return{hasActiveSearchPurchase:(0,u.o$)(e),isBusinessPlan:"is-business-plan"===t}}))((function(e){const{hasActiveSearchPurchase:t,isBusinessPlan:n}=e,o=n&&!t;return i().createElement(r.Fragment,null,o&&i().createElement(a.Z,null),!o&&i().createElement(s.Z,null))}))},19261:function(e,t,n){"use strict";var r=n(99196),i=n.n(r),o=n(2620),s=n(65736),a=n(69307),c=n(27219),u=n(94069),f=n(77222),h=n(27006),l=n(5e4),d=n(9913),p=n(81200),g=n(21971),m=n(11973),b=n(41147),v=n(66552),y=n(88872),w=n(17752);const __=s.__,_=__("Jetpack Search is an incredibly powerful and customizable replacement for the search capability built into WordPress that helps your visitors find the right content.","jetpack"),E=__("Instant search will allow your visitors to get search results as soon as they start typing. If deactivated, Jetpack Search will still optimize your search results but visitors will have to submit a search query before seeing any results.","jetpack");t.Z=(0,o.$j)((e=>{const t=(0,p.sc)((0,y.UL)(e).product_slug);return{hasActiveSearchPurchase:(0,y.o$)(e),inOfflineMode:(0,b.Ex)(e),isBusinessPlan:"is-business-plan"===t,isLoading:(0,y.GR)(e),failedToEnableSearch:!(0,w.qg)(e,"search")&&!(0,w.Cu)(e,"search")&&!1===(0,w.p0)(e,"search"),siteID:(0,y.WQ)(e),upgradeUrl:(0,v.Qq)(e,"jetpack-search"),siteAdminUrl:(0,v.wW)(e),isInstantSearchPromotionActive:(0,v.Hy)(e)}}))((0,l.u)((function(e){const{failedToEnableSearch:t,hasActiveSearchPurchase:n,updateOptions:o,siteAdminUrl:l,isInstantSearchPromotionActive:p}=e,b=e.getOptionValue("search"),v=e.getOptionValue("instant_search_enabled","search"),y=(0,r.useCallback)((()=>{const e={search:!b};n&&v!==!b&&(e.instant_search_enabled=!b),o(e),m.Z.tracks.recordEvent("jetpack_search_module_toggle",e)}),[n,b,o,v]),w=(0,r.useCallback)((()=>{const e={instant_search_enabled:n&&!v};e.instant_search_enabled&&!b&&(e.search=!0),o(e),m.Z.tracks.recordEvent("jetpack_search_instant_toggle",e)}),[n,v,b,o]);(0,r.useEffect)((()=>{t&&n&&(o({has_jetpack_search_product:!0}),y())}),[t,n,o,y]);const S=!!e.isSavingAnyOption("search"),k=!!e.isSavingAnyOption("instant_search_enabled"),M=S||k,C=e.isBusinessPlan&&!e.hasActiveSearchPurchase,A=e.isBusinessPlan||e.hasActiveSearchPurchase,x=M||!b||!v||!n,I=M||!b,O=encodeURIComponent(l+"admin.php?page=jetpack-search"),T=()=>i().createElement("div",{className:"jp-form-search-settings-group__toggle is-instant-search jp-search-dashboard-wrap"},i().createElement("div",{className:"jp-search-dashboard-row"},i().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),i().createElement("div",{className:"jp-form-search-settings-group__toggle-container lg-col-span-1 md-col-span-1 sm-col-span-1"},i().createElement(u.Z,{checked:b&&v&&e.hasActiveSearchPurchase,disabled:M||!e.hasActiveSearchPurchase,onChange:w,toggling:k,className:"is-search-admin","aria-label":__("Enable instant search experience (recommended)","jetpack")})),i().createElement("div",{className:"jp-form-search-settings-group__toggle_label lg-col-span-7 md-col-span-5 sm-col-span-3"},(0,a.createInterpolateElement)(__("Enable instant search experience <span>(recommended)</span>","jetpack"),{span:i().createElement("span",null)}))),i().createElement("div",{className:"jp-search-dashboard-row"},i().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),i().createElement("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3"},e.hasActiveSearchPurchase&&i().createElement(r.Fragment,null,i().createElement("p",{className:"jp-form-search-settings-group__toggle-explanation"},E)),!e.hasActiveSearchPurchase&&p&&i().createElement(g.Z,{href:e.upgradeUrl,upgrade:C})),i().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),e.hasActiveSearchPurchase&&i().createElement("div",{className:"jp-form-search-settings-group-buttons jp-search-dashboard-row"},i().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),i().createElement(d.Z,{className:"jp-form-search-settings-group-buttons__button is-customize-search lg-col-span-4 md-col-span-5 sm-col-span-3",href:!x&&(0,s.sprintf)("admin.php?page=jetpack-search-configure",O),disabled:x},i().createElement("span",null,__("Customize search results","jetpack"))),i().createElement("div",{className:"lg-col-span-0 md-col-span-1 sm-col-span-0"}),i().createElement("div",{className:"lg-col-span-0 md-col-span-2 sm-col-span-1"}),i().createElement(d.Z,{className:"jp-form-search-settings-group-buttons__button is-widgets-editor lg-col-span-3 md-col-span-5 sm-col-span-3",href:!I&&(0,s.sprintf)("customize.php?autofocus[panel]=widgets&return=%s",O),disabled:I},i().createElement("span",null,__("Edit sidebar widgets","jetpack"))),i().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})));return i().createElement(r.Fragment,null,i().createElement(c.Z,null),i().createElement(h.Z,{disableInOfflineMode:!0,hasChild:!0,module:{module:"search"},className:"jp-form-search-settings-group"},e.inOfflineMode&&i().createElement("p",null,"__( 'Unavailable in Offline Mode', 'jetpack' )"),!e.inOfflineMode&&e.isLoading&&i().createElement("p",null,"__( 'Loading…', 'jetpack' )"),!e.inOfflineMode&&!e.isLoading&&i().createElement("div",{className:"jp-form-search-settings-group-inside"},i().createElement("div",{className:"jp-form-search-settings-group__toggle is-search jp-search-dashboard-wrap"},i().createElement("div",{className:"jp-search-dashboard-row"},i().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),i().createElement("div",{className:"jp-form-search-settings-group__toggle-container lg-col-span-1 md-col-span-1 sm-col-span-1"},i().createElement(f.T,{activated:b&&A,compact:!0,disabled:M||!e.hasActiveSearchPurchase&&!e.isBusinessPlan,slug:"search",toggleModule:y,toggling:S,className:"is-search-admin","aria-label":__("Enable Jetpack Search","jetpack")})),i().createElement("div",{className:"jp-form-search-settings-group__toggle_label lg-col-span-7 md-col-span-5 sm-col-span-3"},__("Enable Jetpack Search","jetpack")),i().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),i().createElement("div",{className:"jp-search-dashboard-row"},i().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),i().createElement("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3"},i().createElement("p",{className:"jp-form-search-settings-group__toggle-explanation"},_)),i().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}))),T())))})))},9233:function(e,t,n){"use strict";var r=n(99196),i=n.n(r);t.Z=e=>i().createElement("div",{className:"jp-search-dashboard__text-row-placeholder",style:{display:"inline-block",borderRadius:"10px",maxHeight:"1.5em",width:"100%",height:"1em",backgroundColor:"#E9EFF3",...e.style}})},67592:function(e,t,n){"use strict";n.d(t,{R9:function(){return r},q7:function(){return i},Uy:function(){return o},hm:function(){return s},J1:function(){return a},U7:function(){return c},BV:function(){return u},ie:function(){return f},AA:function(){return h},IW:function(){return l},Mo:function(){return d},dD:function(){return p},lj:function(){return g},o2:function(){return m},yb:function(){return b},bG:function(){return v},sO:function(){return y},B9:function(){return w},T:function(){return _},YD:function(){return E},X0:function(){return S},kK:function(){return k},rA:function(){return M},TB:function(){return C},jE:function(){return A},kF:function(){return x},I3:function(){return I},sG:function(){return O},n2:function(){return T},Jy:function(){return N},Gu:function(){return j},xk:function(){return z},CD:function(){return P},L:function(){return R},Lo:function(){return B},Hy:function(){return L},m:function(){return D},a8:function(){return U},ar:function(){return F},TR:function(){return H},H5:function(){return V},yV:function(){return q},QG:function(){return K},c0:function(){return $},Cf:function(){return Z},x3:function(){return J},Mi:function(){return G},$I:function(){return W},as:function(){return Y},RR:function(){return X},Fm:function(){return Q},KD:function(){return ee},BG:function(){return te},BB:function(){return ne},Pi:function(){return re},yE:function(){return ie},HO:function(){return oe},YC:function(){return se},$0:function(){return ae},w_:function(){return ce},g:function(){return ue},i7:function(){return fe},ik:function(){return he},Pp:function(){return le},hz:function(){return de},QD:function(){return pe},JA:function(){return ge},dS:function(){return me},rY:function(){return be},q4:function(){return ve},jH:function(){return ye},QF:function(){return we},BX:function(){return _e},gY:function(){return Ee},FL:function(){return Se},Ns:function(){return ke},TI:function(){return Me},rQ:function(){return Ce},fH:function(){return Ae},l9:function(){return xe},Mg:function(){return Ie},nD:function(){return Oe},rw:function(){return Te},Vl:function(){return Ne},VN:function(){return je},g9:function(){return ze},Fe:function(){return Pe},lt:function(){return Re},Dz:function(){return Be},Ab:function(){return Le},Ep:function(){return De},zO:function(){return Ue},XU:function(){return Fe},y$:function(){return He},qU:function(){return Ve},s6:function(){return qe},z1:function(){return Ke},jb:function(){return $e},x1:function(){return Ze},Nk:function(){return Je},qY:function(){return Ge},zD:function(){return We},IZ:function(){return Ye},lh:function(){return Xe},fX:function(){return Qe},tU:function(){return et},Ez:function(){return tt},Qm:function(){return nt},XP:function(){return rt},K0:function(){return it},Fc:function(){return ot},b8:function(){return st},me:function(){return at},Vd:function(){return ct},tl:function(){return ut},Yo:function(){return ft},mL:function(){return ht},hF:function(){return lt},CM:function(){return dt},it:function(){return pt},Dg:function(){return gt},ml:function(){return mt},Yk:function(){return bt},fe:function(){return vt},N9:function(){return yt},vr:function(){return wt},M0:function(){return _t},$F:function(){return Et},b6:function(){return St},cz:function(){return kt},$d:function(){return Mt},s9:function(){return Ct},km:function(){return At},oQ:function(){return xt},UI:function(){return It},Uq:function(){return Ot},U$:function(){return Tt},R5:function(){return Nt},lO:function(){return jt},jt:function(){return zt}});const r="JETPACK_SET_INITIAL_STATE",i="CONNECT_URL_FETCH",o="CONNECT_URL_FETCH_FAIL",s="CONNECT_URL_FETCH_SUCCESS",a="DISCONNECT_SITE",c="DISCONNECT_SITE_FAIL",u="DISCONNECT_SITE_SUCCESS",f="CONNECT_USER",h="RESET_CONNECT_USER",l="UNLINK_USER",d="UNLINK_USER_FAIL",p="UNLINK_USER_SUCCESS",g="USER_CONNECTION_DATA_FETCH",m="USER_CONNECTION_DATA_FETCH_FAIL",b="USER_CONNECTION_DATA_FETCH_SUCCESS",v="SITE_RECONNECT",y="SITE_RECONNECT_SUCCESS",w="SITE_RECONNECT_FAIL",_="USER_TRACKING_SETTINGS_FETCH",E="USER_TRACKING_SETTINGS_FETCH_FAIL",S="USER_TRACKING_SETTINGS_FETCH_SUCCESS",k="USER_TRACKING_SETTINGS_UPDATE",M="USER_TRACKING_SETTINGS_UPDATE_FAIL",C="USER_TRACKING_SETTINGS_UPDATE_SUCCESS",A="JETPACK_MODULES_LIST_FETCH",x="JETPACK_MODULES_LIST_FETCH_FAIL",I="JETPACK_MODULES_LIST_RECEIVE",O="JETPACK_MODULE_ACTIVATE",T="JETPACK_MODULE_ACTIVATE_SUCCESS",N="JETPACK_MODULE_ACTIVATE_FAIL",j="JETPACK_MODULE_DEACTIVATE",z="JETPACK_MODULE_DEACTIVATE_FAIL",P="JETPACK_MODULE_DEACTIVATE_SUCCESS",R="JETPACK_MODULE_UPDATE_OPTIONS",B="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",L="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",D="JETPACK_CONNECTION_STATUS_FETCH",U="JETPACK_SITE_CONNECTED_PLUGINS_FETCH",F="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_RECEIVE",H="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_FAIL",V="DASHBOARD_PROTECT_COUNT_FETCH",q="DASHBOARD_PROTECT_COUNT_FETCH_FAIL",K="DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS",$="RESET_OPTIONS_SUCCESS",Z="VAULTPRESS_SITE_DATA_FETCH",J="VAULTPRESS_SITE_DATA_FETCH_FAIL",G="VAULTPRESS_SITE_DATA_FETCH_SUCCESS",W="AKISMET_DATA_FETCH",Y="AKISMET_DATA_FETCH_FAIL",X="AKISMET_DATA_FETCH_SUCCESS",Q="AKISMET_KEY_CHECK_FETCH",ee="AKISMET_KEY_CHECK_FETCH_FAIL",te="AKISMET_KEY_CHECK_FETCH_SUCCESS",ne="PLUGIN_UPDATES_FETCH",re="PLUGIN_UPDATES_FETCH_FAIL",ie="PLUGIN_UPDATES_FETCH_SUCCESS",oe="STATS_SWITCH_TAB",se="STATS_DATA_FETCH",ae="STATS_DATA_FETCH_FAIL",ce="STATS_DATA_FETCH_SUCCESS",ue="JETPACK_PRODUCTS_FETCH",fe="JETPACK_PRODUCTS_FETCH_RECEIVE",he="JETPACK_PRODUCTS_FETCH_FAIL",le="JETPACK_SITE_PRODUCTS_FETCH",de="JETPACK_SITE_PRODUCTS_FETCH_FAIL",pe="JETPACK_SITE_PRODUCTS_FETCH_RECEIVE",ge="JETPACK_SETTINGS_FETCH",me="JETPACK_SETTINGS_FETCH_RECEIVE",be="JETPACK_SETTINGS_FETCH_FAIL",ve="JETPACK_SETTING_UPDATE",ye="JETPACK_SETTING_UPDATE_SUCCESS",we="JETPACK_SETTING_UPDATE_FAIL",_e="JETPACK_SETTINGS_UPDATE",Ee="JETPACK_SETTINGS_UPDATE_FAIL",Se="JETPACK_SETTINGS_UPDATE_SUCCESS",ke="JETPACK_SETTINGS_SET_UNSAVED_FLAG",Me="JETPACK_SETTINGS_CLEAR_UNSAVED_FLAG",Ce="JETPACK_SITE_DATA_FETCH",Ae="JETPACK_SITE_DATA_FETCH_RECEIVE",xe="JETPACK_SITE_DATA_FETCH_FAIL",Ie="JETPACK_SITE_BENEFITS_FETCH",Oe="JETPACK_SITE_BENEFITS_FETCH_RECEIVE",Te="JETPACK_SITE_BENEFITS_FETCH_FAIL",Ne="JETPACK_SITE_FEATURES_FETCH",je="JETPACK_SITE_FEATURES_FETCH_RECEIVE",ze="JETPACK_SITE_FEATURES_FETCH_FAIL",Pe="JETPACK_SITE_PLANS_FETCH",Re="JETPACK_SITE_PLANS_FETCH_RECEIVE",Be="JETPACK_SITE_PLANS_FETCH_FAIL",Le="JETPACK_SITE_PURCHASES_FETCH",De="JETPACK_SITE_PURCHASES_FETCH_RECEIVE",Ue="JETPACK_SITE_PURCHASES_FETCH_FAIL",Fe="JETPACK_RECOMMENDATIONS_DATA_ADD_SELECTED_RECOMMENDATION",He="JETPACK_RECOMMENDATIONS_DATA_ADD_SKIPPED_RECOMMENDATION",Ve="JETPACK_RECOMMENDATIONS_DATA_FETCH",qe="JETPACK_RECOMMENDATIONS_DATA_FETCH_RECEIVE",Ke="JETPACK_RECOMMENDATIONS_DATA_FETCH_FAIL",$e="JETPACK_RECOMMENDATIONS_DATA_UPDATE",Ze="JETPACK_RECOMMENDATIONS_STEP_UPDATE",Je="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH",Ge="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_RECEIVE",We="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_FAIL",Ye="JETPACK_RECOMMENDATIONS_UPSELL_FETCH",Xe="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_RECEIVE",Qe="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_FAIL",et="JETPACK_ACTION_NOTICES_DISMISS",tt="JETPACK_NOTICES_DISMISS_SUCCESS",nt="JETPACK_PLUGINS_DATA_FETCH",rt="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",it="JETPACK_PLUGINS_DATA_FETCH_FAIL",ot="JETPACK_SEARCH_TERM",st="SET_PLAN_DURATION",at="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY",ct="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_SUCCESS",ut="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_FAIL",ft="DEV_CARD_DISPLAY",ht="DEV_CARD_HIDE",lt="MOCK_SWITCH_USER_PERMISSIONS",dt="MOCK_SWITCH_THREATS",pt="REWIND_STATUS_FETCH",gt="REWIND_STATUS_FETCH_RECEIVE",mt="REWIND_STATUS_FETCH_FAIL",bt="MOCK_SWITCH_REWIND_STATE",vt="SCAN_STATUS_FETCH",yt="SCAN_STATUS_FETCH_RECEIVE",wt="SCAN_STATUS_FETCH_FAIL",_t="MOCK_SWITCH_SCAN_STATE",Et="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH",St="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_FAIL",kt="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_SUCCESS",Mt="JETPACK_SITE_VERIFY_GOOGLE_REQUEST",Ct="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_SUCCESS",At="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_FAIL",xt="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL",It="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_SUCCESS",Ot="JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_FAIL",Tt="JETPACK_LICENSING_ERROR_UPDATE",Nt="JETPACK_LICENSING_USER_LICENSE_COUNTS_UPDATE",jt="JETPACK_LICENSING_ACTIVATION_NOTICE_DISMISS_UPDATE",zt="JETPACK_CONNECTION_HAS_SEEN_WC_CONNECTION_MODAL"},50046:function(e,t,n){"use strict";n.d(t,{sI:function(){return s}});var r=n(74978),i=n(92819),o=n(67592);const s=(0,r.UY)({requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.YC:return(0,i.assign)({},e,{fetchingStatsData:!0});case o.$I:return(0,i.assign)({},e,{fetchingAkismetData:!0});case o.Fm:return(0,i.assign)({},e,{checkingAkismetKey:!0});case o.Cf:return(0,i.assign)({},e,{fetchingVaultPressData:!0});case o.H5:return(0,i.assign)({},e,{fetchingProtectData:!0});case o.BB:return(0,i.assign)({},e,{fetchingPluginUpdates:!0});case o.$0:case o.w_:return(0,i.assign)({},e,{fetchingStatsData:!1});case o.as:case o.RR:return(0,i.assign)({},e,{fetchingAkismetData:!1});case o.KD:case o.BG:return(0,i.assign)({},e,{checkingAkismetKey:!1});case o.yV:case o.QG:return(0,i.assign)({},e,{fetchingProtectData:!1});case o.Pi:case o.yE:return(0,i.assign)({},e,{fetchingPluginUpdates:!1});case o.x3:case o.Mi:return(0,i.assign)({},e,{fetchingVaultPressData:!1});default:return e}},activeStatsTab:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"day",t=arguments.length>1?arguments[1]:void 0;return t.type===o.HO?t.activeStatsTab:e},protectCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===o.QG?t.protectCount:e},vaultPressData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.Mi:return t.vaultPressData;case o.CM:return(0,i.assign)({},"N/A"===e?{}:e,{data:{active:!0,features:{security:!0},security:{notice_count:t.mockCount}}});default:return e}},statsData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.w_?(0,i.assign)({},e,t.statsData):e},akismetData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===o.RR?t.akismetData:e},akismet:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{validKey:null,invalidKeyCode:"",invalidKeyMessage:""},t=arguments.length>1?arguments[1]:void 0;return t.type===o.BG?(0,i.assign)({},e,t.akismet):e},pluginUpdates:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;return t.type===o.yE?t.pluginUpdates:e}})},64769:function(e,t,n){"use strict";n(65736),n(21094),n(19570),n(66552)},41147:function(e,t,n){"use strict";n.d(t,{BU:function(){return r.BU},Ex:function(){return r.Ex},t_:function(){return r.t_},IK:function(){return r.IK}});var r=n(6861);n(64769)},6861:function(e,t,n){"use strict";n.d(t,{I6:function(){return c},BU:function(){return u},Ex:function(){return f},t_:function(){return h},IK:function(){return l}});var r=n(74978),i=n(92819),o=n(67592),s=n(93107);const a={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},c=(0,r.UY)({connectUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.R9:return(0,i.get)(t,"initialState.connectUrl",e);case o.hm:return t.connectUrl;default:return e}},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{siteConnected:window.Initial_State.connectionStatus},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.m:case o.BV:return(0,i.assign)({},e,{siteConnected:t.siteConnected});case o.dD:return(0,i.assign)({},e,{siteConnected:{...e.siteConnected,isUserConnected:!1}});case o.yb:return!0===t.userConnectionData?.currentUser?.isConnected?(0,i.assign)({},e,{siteConnected:{...e.siteConnected,hasConnectedOwner:!0}}):e;default:return e}},user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.userData,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.yb:return(0,i.assign)({},e,t.userConnectionData);case o.dD:const n=(0,i.assign)({},e.currentUser,{isConnected:!1});return(0,i.assign)({},e,{currentUser:n});case o.hF:return(0,i.merge)({},e,t.initialState);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.J1:return(0,i.assign)({},e,{disconnectingSite:!0});case o.IW:return(0,i.assign)({},e,{unlinkingUser:!0});case o.ie:return(0,i.assign)({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel});case o.AA:return(0,i.assign)({},e,{connectingUser:!1});case o.q7:return(0,i.assign)({},e,{fetchingConnectUrl:!0});case o.lj:return(0,i.assign)({},e,{fetchingUserData:!0});case o.bG:return(0,i.assign)({},e,{reconnectingSite:!0});case o.U7:case o.BV:return(0,i.assign)({},e,{disconnectingSite:!1});case o.Mo:case o.dD:return(0,i.assign)({},e,{unlinkingUser:!1});case o.Uy:case o.hm:return(0,i.assign)({},e,{fetchingConnectUrl:!1});case o.o2:case o.yb:return(0,i.assign)({},e,{fetchingUserData:!1});case o.B9:case o.sO:return(0,i.assign)({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.hasSeenWCConnectionModal||!1,t=arguments.length>1?arguments[1]:void 0;return t.type===o.jt||e}});function u(e){return!!e.jetpack.connection.user.currentUser.isConnected}function f(e){return"offline"===function(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&(e.jetpack.connection.status.siteConnected.offlineMode.isActive?"offline":e.jetpack.connection.status.siteConnected.isActive)}(e)}function h(e,t){return f(e)&&function(e,t){return(0,i.includes)((0,s.HS)(e).concat(["backups","scan"]),t)}(e,t)}function l(e,t){return!function(e){return(0,i.get)(e.jetpack.connection.status,["siteConnected","hasConnectedOwner"],!1)}(e)&&function(e,t){return(0,i.includes)((0,s.he)(e),t)}(e,t)}},71565:function(e,t,n){"use strict";n.d(t,{I6:function(){return o}});var r=n(74978),i=n(67592);const o=(0,r.UY)({display:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Yo:return!0;case i.mL:return!1;default:return e}}})},83097:function(e,t,n){"use strict";n.d(t,{I6:function(){return s}});var r=n(74978),i=n(92819),o=n(67592);const s=(0,r.UY)({disconnectSurvey:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{submitting:!1,submitted:!1,error:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.me:return(0,i.assign)({},e,{submitting:!0});case o.Vd:return(0,i.assign)({},e,{submitting:!1,submitted:!0,error:null});case o.tl:return(0,i.assign)({},e,{submitting:!1,submitted:!1,error:t.error});default:return e}}})},27572:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(67592);const i=()=>e=>{e({type:r.R9,initialState:window.Initial_State})}},66552:function(e,t,n){"use strict";n.d(t,{Hy:function(){return r.Hy},je:function(){return r.je},VY:function(){return r.VY},yB:function(){return r.yB},de:function(){return r.de},w1:function(){return r.w1},wW:function(){return r.wW},Td:function(){return r.Td},hv:function(){return r.hv},Qq:function(){return r.Qq},$r:function(){return r.$r},rp:function(){return r.rp},pK:function(){return r.pK},KY:function(){return i.K}});var r=n(67643),i=n(27572)},67643:function(e,t,n){"use strict";n.d(t,{E3:function(){return c},w1:function(){return u},Td:function(){return f},je:function(){return h},wW:function(){return d},$r:function(){return p},pK:function(){return g},rp:function(){return m},VY:function(){return v},yB:function(){return y},hv:function(){return E},de:function(){return S},Hy:function(){return k},Qq:function(){return A}});var r=n(92819),i=n(71415),o=n(67592),s=n(89238),a=(n(13553),n(41147));const c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.R9:return(0,r.assign)({},e,t.initialState);case o.hF:return(0,r.merge)({},e,{userData:t.initialState});default:return e}};function u(e){return(0,r.get)(e.jetpack.initialState,"currentVersion","")}function f(e){return(0,r.get)(e.jetpack.initialState.stats,"roles",{})}function h(e){return(0,r.get)(e.jetpack.initialState,["userData","currentUser","wpcomUser","email"])}function l(e){return(0,r.get)(e.jetpack.initialState,"rawUrl",{})}function d(e){return(0,r.get)(e.jetpack.initialState,"adminUrl",{})}function p(e){return(0,r.get)(e.jetpack.initialState,["connectionStatus","isPublic"])}function g(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_modules",!1)}function m(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function b(e){return(0,r.get)(e.jetpack.initialState.userData.currentUser,"id","")}function v(e){return(0,r.get)(e.jetpack.initialState,"WP_API_nonce")}function y(e){return(0,r.get)(e.jetpack.initialState,"WP_API_root")}function w(e){return(0,r.get)(e.jetpack.initialState,"purchaseToken")}function _(e){return(0,r.get)(e.jetpack.initialState,"calypsoEnv")}function E(e){return(0,r.get)(e.jetpack.initialState,"tracksUserData")}function S(e){return(0,r.get)(e.jetpack.initialState,"currentIp")}function k(e){return(0,r.get)(e.jetpack.initialState.siteData,"showPromotions",!0)}function M(e){return(0,r.get)(e.jetpack.initialState,"aff","")}function C(e){return(0,r.get)(e.jetpack.initialState,"partnerSubsidiaryId","")}const A=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=M(e),c=C(e),u=n||b(e),f=w(e),h=_(e);r&&"monthly"===(0,s.b)(e)&&(t+="-monthly");const d={site:l(e)};return o&&(d.aff=o),u&&(d.u=u),c&&(d.subsidiaryId=c),d.query="",(0,a.BU)(e)||(d.query+="unlinked=1&"),f&&(d.query+=`purchasetoken=${f}`),h&&(d.calypso_env=h),(0,i.Z)(t,d)}},93036:function(e,t,n){"use strict";n.d(t,{I6:function(){return s}});var r=n(74978),i=n(92819),o=n(67592);const s=(0,r.UY)({notice:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.BV?"disconnected":e},dismissed:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.dismissedNotices,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.tU:return(0,i.assign)({},e,{[t.notice]:!0});case o.Ez:return(0,i.assign)({},e,t.dismissedNotices);case o.c0:return!1;default:return e}}})},88584:function(e,t,n){"use strict";n.d(t,{I6:function(){return s}});var r=n(92819),i=n(74978),o=n(67592);const s=(0,i.UY)({error:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.licensing.error,t=arguments.length>1?arguments[1]:void 0;return t.type===o.U$?t.error:e},userCounts:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window.Initial_State.licensing.userCounts)&&void 0!==e?e:{},n=arguments.length>1?arguments[1]:void 0;return n.type===o.R5?(0,r.assign)({},t,n.counts):t},activationNoticeDismiss:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window.Initial_State.licensing.activationNoticeDismiss)&&void 0!==e?e:{last_detached_count:null,last_dismissed_time:null},n=arguments.length>1?arguments[1]:void 0;return n.type===o.lO?(0,r.assign)({},t,n.dismissData):t}})},36900:function(e,t,n){"use strict";n.d(t,{I6:function(){return s}});var r=n(74978),i=n(92819),o=n(67592);const s=(0,r.UY)({mobile:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sendingLoginEmail:!1,loginEmailSent:!1,error:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.oQ:return(0,i.assign)({},e,{sendingLoginEmail:!0});case o.UI:return(0,i.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!0,error:null});case o.Uq:return(0,i.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!1,error:t.error});default:return e}}})},7954:function(e,t,n){"use strict";n.d(t,{DK:function(){return i},Uq:function(){return o}});var r=n(92819);n(65736),n(21094),n(91172),n(19570);function i(e,t){if("custom-content-types"!==e)return!1;t||jQuery("#menu-posts-jetpack-portfolio, #menu-posts-jetpack-testimonial").toggle(),(0,r.forEach)(t,(function(e,t){"jetpack_portfolio"===t&&jQuery("#menu-posts-jetpack-portfolio, .jp-toggle-portfolio").toggle(),"jetpack_testimonial"===t&&jQuery("#menu-posts-jetpack-testimonial, .jp-toggle-testimonial").toggle()}))}function o(e){(0,r.some)(["masterbar","jetpack_testimonial","jetpack_portfolio"],(t=>t in e))&&window.location.reload()}},93107:function(e,t,n){"use strict";n.d(t,{C5:function(){return r.C5},R9:function(){return r.R9},Qy:function(){return r.Qy},HS:function(){return r.HS},he:function(){return r.he},mp:function(){return r.mp},DK:function(){return i.DK},Uq:function(){return i.Uq}});var r=n(91172),i=n(7954)},91172:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},C5:function(){return c},R9:function(){return u},HS:function(){return f},he:function(){return h},mp:function(){return l},Qy:function(){return d}});var r=n(74978),i=n(92819),o=n(67592);n(61744);const s={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}},a=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.R9:return(0,i.assign)({},t.initialState.getModules);case o.I3:return(0,i.assign)({},e,t.modules);case o.n2:return(0,i.assign)({},e,{[t.module]:(0,i.assign)({},e[t.module],{activated:!0})});case o.CD:return(0,i.assign)({},e,{[t.module]:(0,i.assign)({},e[t.module],{activated:!1})});case o.Hy:const n=(0,i.assign)({},e[t.module]);return Object.keys(t.newOptionValues).forEach((e=>{n.options[e].current_value=t.newOptionValues[e]})),(0,i.assign)({},e,{[t.module]:n});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.jE:return(0,i.assign)({},e,{fetchingModulesList:!0});case o.kF:case o.I3:return(0,i.assign)({},e,{fetchingModulesList:!1});case o.sG:return(0,i.assign)({},e,{activating:(0,i.assign)({},e.activating,{[t.module]:!0})});case o.Jy:case o.n2:return(0,i.assign)({},e,{activating:(0,i.assign)({},e.activating,{[t.module]:!1})});case o.Gu:return(0,i.assign)({},e,{deactivating:(0,i.assign)({},e.deactivating,{[t.module]:!0})});case o.xk:case o.CD:return(0,i.assign)({},e,{deactivating:(0,i.assign)({},e.deactivating,{[t.module]:!1})});case o.L:const n=(0,i.assign)({},e.updatingOption);return n[t.module]=(0,i.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((e=>{n[t.module][e]=!0})),(0,i.assign)({},e,{updatingOption:(0,i.assign)({},e.updatingOption,n)});case o.Lo:case o.Hy:const r=(0,i.assign)({},e.updatingOption);return r[t.module]=(0,i.assign)({},r[t.module]),Object.keys(t.newOptionValues).forEach((e=>{r[t.module][e]=!1})),(0,i.assign)({},e,{updatingOption:(0,i.assign)({},e.updatingOption,r)});default:return e}}});function c(e,t,n){return(0,i.get)(e.jetpack.modules.items,[t,"options",n,"current_value"])}function u(e,t,n){return(0,i.get)(e.jetpack.modules.items,[t,"options",n,"enum_labels"],!1)}function f(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].requires_connection))}function h(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].requires_user_connection))}function l(e,t){return!!(0,i.get)(e.jetpack.modules.items,[t,"activated"],!1)}function d(e,t){return(0,i.get)(e.jetpack.modules.items,[t,"override"],!1)}},89238:function(e,t,n){"use strict";n.d(t,{I:function(){return o},b:function(){return s}});var r=n(74978),i=n(67592);const o=(0,r.UY)({duration:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yearly",t=arguments.length>1?arguments[1]:void 0;return t.type===i.b8?t.duration:e}});function s(e){return e.jetpack.plans.duration}},37457:function(e,t,n){"use strict";n(19570)},13553:function(e,t,n){"use strict";n(79367),n(37457)},79367:function(e,t,n){"use strict";n.d(t,{I6:function(){return s}});var r=n(92819),i=n(74978),o=n(67592);const s=(0,i.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.i7?t.products:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.g:return(0,r.assign)({},e,{isFetchingProducts:!0});case o.i7:case o.ik:return(0,r.assign)({},e,{isFetchingProducts:!1});default:return e}}})},46023:function(e,t,n){"use strict";n.d(t,{I6:function(){return s}});var r=n(74978),i=n(92819),o=n(67592);const s=(0,r.UY)({connectUrls:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.R9?(0,i.assign)({},t.initialState.externalServicesConnectUrls):e}})},55449:function(e,t,n){"use strict";n(19570)},90218:function(e,t,n){"use strict";n.d(t,{I6:function(){return r.I6}});n(55449);var r=n(68054)},68054:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});n(65736);var r=n(74978),i=n(92819),o=(n(67643),n(67592));n(30701),n(17752),n(88872),n(41147),n(61744);const s=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return(0,i.union)(e,t)},a=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.s6:case o.jb:return(0,i.assign)({},e,t.data);case o.XU:{const n=(0,i.mergeWith)({},e,{selectedRecommendations:[t.slug],skippedRecommendations:[]},s);return n.skippedRecommendations=(0,i.difference)(e.skippedRecommendations,[t.slug]),n}case o.y$:{const n=(0,i.mergeWith)({},e,{selectedRecommendations:[],skippedRecommendations:[t.slug]},s);return n.selectedRecommendations=(0,i.difference)(e.selectedRecommendations,[t.slug]),n}default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.qU:return(0,i.assign)({},e,{isFetchingRecommendationsData:!0});case o.s6:return(0,i.assign)({},e,{isRecommendationsDataLoaded:!0,isFetchingRecommendationsData:!1});case o.z1:return(0,i.assign)({},e,{isFetchingRecommendationsData:!1});case o.Nk:return(0,i.assign)({},e,{isFetchingRecommendationsProductSuggestions:!0});case o.qY:case o.zD:return(0,i.assign)({},e,{isFetchingRecommendationsProductSuggestions:!1});case o.IZ:return(0,i.assign)({},e,{isFetchingRecommendationsUpsell:!0});case o.lh:case o.fX:return(0,i.assign)({},e,{isFetchingRecommendationsUpsell:!1});default:return e}},step:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return t.type===o.x1?t.step:e},upsell:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.lh:case o.fX:return t.upsell;default:return e}},productSuggestions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.qY:case o.zD:return t.productSuggestions;default:return e}}})},11681:function(e,t,n){"use strict";var r=n(74978),i=n(31008),o=n(67643),s=n(50046),a=n(6861),c=n(71565),u=n(89238),f=n(93036),h=n(91172),l=n(40054),d=n(79367),p=n(46023),g=n(90218),m=n(79782),b=n(5606),v=n(7053),y=n(36965),w=n(17881),_=n(76719),E=n(82765),S=n(83097),k=n(50093),M=n(36900),C=n(88584);const A=(0,r.UY)({connection:a.I6,dashboard:s.sI,devCard:c.I6,initialState:o.E3,jetpackNotices:f.I6,modules:h.I6,plans:u.I,pluginsData:l.I6,products:d.I6,publicize:p.I6,recommendations:g.I6,rewind:m.I6,scan:b.I6,search:v.I6,settings:y.I6,siteData:w.I6,siteProducts:_.I6,siteVerify:E.I6,disconnectSurvey:S.I6,trackingSettings:k.I6,mobile:M.I6,licensing:C.I6});t.Z=(0,r.UY)({globalNotices:i.x,jetpack:A})},594:function(e,t,n){"use strict";var r=n(74978),i=n(53126),o=n(11681);t.Z=(0,r.qC)((0,r.md)(i.Z),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)(r.MT)(o.Z)},35922:function(e,t,n){"use strict";n(19570)},30701:function(e,t,n){"use strict";n(79782),n(35922)},79782:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(74978),i=n(92819),o=n(67592);const s={isFetchingRewindStatus:!1},a=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.Dg:return(0,i.assign)({},e,{status:t.status});case o.Yk:return(0,i.assign)({},e,{status:t.rewindState});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.it:return(0,i.assign)({},e,{isFetchingRewindStatus:!0});case o.Dg:case o.ml:return(0,i.assign)({},e,{isFetchingRewindStatus:!1});default:return e}}})},5606:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(74978),i=n(92819),o=n(67592);const s={isFetchingScanStatus:!1},a=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.N9:return(0,i.assign)({},e,{status:t.status});case o.M0:return{status:{...e.status,...t.scanState}};default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.fe:return(0,i.assign)({},e,{isFetchingScanStatus:!0});case o.N9:case o.vr:return(0,i.assign)({},e,{isFetchingScanStatus:!1});default:return e}}})},7053:function(e,t,n){"use strict";n.d(t,{I6:function(){return o}});n(92819);var r=n(74978),i=n(67592);const o=(0,r.UY)({searchTerm:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return t.type===i.Fc?t.term:e}})},39772:function(e,t,n){"use strict";n.d(t,{a6:function(){return u},_1:function(){return f},wv:function(){return h},VP:function(){return l}});var r=n(92819),i=n(65736),o=n(21094),s=n(67592),a=n(93107),c=n(19570);const __=i.__,u=()=>({type:s.Ns}),f=()=>({type:s.TI}),h=()=>e=>(e({type:s.JA}),c.ZP.fetchSettings().then((t=>(e({type:s.dS,settings:t}),t))).catch((t=>{e({type:s.rY,error:t})}))),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=>{const u={progress:__("Updating settings…","jetpack"),success:__("Updated settings.","jetpack"),error:e=>(0,i.sprintf)(
-/* translators: placeholder is an error code or an error message. */
-__("Error updating settings. %s","jetpack"),e.message||e.code||e.name||e),...t};"object"==typeof e&&(0,r.some)(["masterbar","jetpack_testimonial","jetpack_portfolio"],(t=>t in e))&&(u.success=__("Updated settings. Refreshing page…","jetpack")),n((0,o.qq)("module-setting-update")),n((0,o.qq)("module-setting-update-success"));const f=["dismiss_dash_app_card","dismiss_empty_stats_card"];return"object"!=typeof e||(0,r.some)(f,(t=>t in e))||n((0,o.iI)("is-info",u.progress,{id:"module-setting-update"})),n({type:s.BX,updatedOptions:e}),c.ZP.updateSettings(e).then((t=>{n({type:s.FL,updatedOptions:d(t,e),success:t}),(0,a.DK)(e),(0,a.Uq)(e),n((0,o.qq)("module-setting-update")),n((0,o.qq)("module-setting-update-success")),"object"!=typeof e||(0,r.some)(f,(t=>t in e))||n((0,o.iI)("is-success",u.success,{id:"module-setting-update-success",duration:2e3}))})).catch((t=>{n({type:s.gY,success:!1,error:t,updatedOptions:e}),n((0,o.qq)("module-setting-update")),n((0,o.iI)("is-error",u.error(t),{id:"module-setting-update"}))}))}};function d(e,t){let n=t;return"regenerate"===(0,r.get)(t,"post_by_email_address")&&(n={post_by_email_address:e.post_by_email_address}),n}},17752:function(e,t,n){"use strict";n.d(t,{$8:function(){return r.$8},p0:function(){return r.p0},qg:function(){return r.qg},Cu:function(){return r.Cu},_1:function(){return i._1},wv:function(){return i.wv},a6:function(){return i.a6},VP:function(){return i.VP}});var r=n(36965),i=n(39772)},36965:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},$8:function(){return c},Cu:function(){return u},p0:function(){return f},qg:function(){return h}});var r=n(74978),i=n(92819),o=n(67592);const s={fetchingSettingsList:!1,settingsSent:{},updatedSettings:{}},a=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.R9:return(0,i.assign)({},e,t.initialState.settings);case o.dS:return(0,i.assign)({},t.settings);case o.jH:const n=Object.keys(t.updatedOption)[0];return(0,i.assign)({},e,{[n]:t.updatedOption[n]});case o.FL:return(0,i.assign)({},e,t.updatedOptions);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.JA:return(0,i.assign)({},e,{fetchingSettingsList:!0});case o.rY:case o.dS:return(0,i.assign)({},e,{fetchingSettingsList:!1});case o.q4:case o.BX:return(0,i.merge)({},e,{settingsSent:(0,i.mapValues)(t.updatedOptions,(()=>!0))});case o.QF:case o.jH:case o.gY:case o.FL:return(0,i.merge)({},e,{settingsSent:(0,i.mapValues)(t.updatedOptions,(()=>!1)),updatedSettings:(0,i.mapValues)(t.updatedOptions,(()=>Boolean(t.success)))});default:return e}},unsavedSettingsFlag:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.Ns:return!0;case o.TI:return!1;default:return e}}});function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(""===n||(0,i.get)(e.jetpack.settings.items,n,!1))return(0,i.get)(e.jetpack.settings.items,t,void 0)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"object"==typeof t?(0,i.some)((0,i.filter)(e.jetpack.settings.requests.settingsSent,((e,n)=>(0,i.includes)(t,n))),(e=>e)):e.jetpack.settings.requests.settingsSent[t]}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.jetpack.settings.requests.updatedSettings[t]}function h(e,t){return!!(0,i.get)(e.jetpack.settings.items,[t],!1)}},76719:function(e,t,n){"use strict";n.d(t,{I6:function(){return o}});var r=n(74978),i=n(67592);const o=(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.QD?t.siteProducts:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Pp:return{...e,isFetching:!0};case i.QD:case i.hz:return{...e,isFetching:!1};default:return e}}})},82765:function(e,t,n){"use strict";n.d(t,{I6:function(){return s}});var r=n(74978),i=n(92819),o=n(67592);const s=(0,r.UY)({google:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fetching:!1,verifying:!1,verified:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.$F:return(0,i.assign)({},e,{fetching:!0});case o.b6:return(0,i.assign)({},e,{fetching:!1,error:t.error});case o.cz:return(0,i.assign)({},e,{fetching:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,token:t.token,error:null});case o.$d:return(0,i.assign)({},e,{verifying:!0});case o.s9:return(0,i.assign)({},e,{verifying:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,error:null});case o.km:return(0,i.assign)({},e,{verifying:!1,verified:!1,error:t.error});default:return e}}})},74424:function(e,t,n){"use strict";n.d(t,{tO:function(){return o},ij:function(){return s},lA:function(){return a},Z_:function(){return c}});var r=n(67592),i=n(19570);const o=()=>e=>(e({type:r.rQ}),i.ZP.fetchSiteData().then((t=>(e({type:r.fH,siteData:t}),t))).catch((t=>{e({type:r.l9,error:t})}))),s=()=>e=>(e({type:r.Vl}),i.ZP.fetchSiteFeatures().then((t=>(e({type:r.VN,siteFeatures:t}),t))).catch((t=>{e({type:r.g9,error:t})}))),a=()=>e=>(e({type:r.Fe}),i.ZP.getPlans().then((t=>(e({type:r.lt,plans:t}),t))).catch((t=>{e({type:r.Dz,error:t})}))),c=()=>e=>(e({type:r.Ab}),i.ZP.fetchSitePurchases().then((t=>(e({type:r.Ep,purchases:t}),t))).catch((t=>{e({type:r.zO,error:t})})))},88872:function(e,t,n){"use strict";n.d(t,{WQ:function(){return r.WQ},UL:function(){return r.UL},o$:function(){return r.o$},_5:function(){return r._5},GR:function(){return r.GR},lA:function(){return i.lA},tO:function(){return i.tO},ij:function(){return i.ij},Z_:function(){return i.Z_}});var r=n(17881),i=n(74424)},36583:function(e,t,n){"use strict";n(19570)},61744:function(e,t,n){"use strict";n(40054),n(36583)},40054:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(92819),i=n(74978),o=n(67592);const s={isFetchingPluginsData:!1},a=(0,i.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.XP?(0,r.assign)({},t.pluginsData):e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.Qm:return(0,r.assign)({},e,{isFetchingPluginsData:!0});case o.K0:case o.XP:return(0,r.assign)({},e,{isFetchingPluginsData:!1});default:return e}}})},17881:function(e,t,n){"use strict";n.d(t,{I6:function(){return u},_5:function(){return f},GR:function(){return h},UL:function(){return l},o$:function(){return g},WQ:function(){return m}});var r=n(74978),i=n(92819),o=n(65736),s=n(81200),a=n(67592);const __=o.__,c={isFetchingSiteData:!1},u=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.fH:return(0,i.assign)({},e,t.siteData);case a.nD:return(0,i.merge)({},e,{site:{benefits:t.siteBenefits}});case a.ar:return(0,i.merge)({},e,{site:{connectedPlugins:t.connectedPlugins}});case a.VN:return(0,i.merge)({},e,{site:{features:t.siteFeatures}});case a.lt:return(0,i.merge)({},e,{sitePlans:t.plans});case a.Ep:return(0,i.merge)({},e,{sitePurchases:t.purchases});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.rQ:return(0,i.assign)({},e,{isFetchingSiteData:!0});case a.Mg:return(0,i.assign)({},e,{isFetchingSiteBenefits:!0});case a.a8:return(0,i.assign)({},e,{isFetchingConnectedPlugins:!0});case a.Vl:return(0,i.assign)({},e,{isFetchingSiteFeatures:!0});case a.Fe:return(0,i.assign)({},e,{isFetchingSitePlans:!0});case a.Ab:return(0,i.assign)({},e,{isFetchingSitePurchases:!0});case a.l9:case a.fH:return(0,i.assign)({},e,{isFetchingSiteData:!1});case a.rw:case a.nD:return(0,i.assign)({},e,{isFetchingSiteBenefits:!1});case a.TR:case a.ar:return(0,i.assign)({},e,{isFetchingConnectedPlugins:!1,isDoneFetchingConnectedPlugins:!0});case a.g9:case a.VN:return(0,i.assign)({},e,{isFetchingSiteFeatures:!1});case a.Dz:case a.lt:return(0,i.assign)({},e,{isFetchingSitePlans:!1});case a.zO:case a.Ep:return(0,i.assign)({},e,{isFetchingSitePurchases:!1});default:return e}},errors:function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(r.type===a.l9){switch(r.error.name){case"ApiError":e="reconnect",t=__("There seems to be a problem with your connection to WordPress.com. If the problem persists, try reconnecting.","jetpack");break;case"JsonParseError":e="support",t=__("Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.","jetpack");break;default:e=null,t=__("There seems to be a problem with your website.","jetpack")}return(0,i.assign)({},n,{message:r.error.hasOwnProperty("response")?r.error.response.message:t,action:e,code:r.error.hasOwnProperty("response")?r.error.response.code:"fetch_site_data_fail_other",data:r.error.hasOwnProperty("response")?r.error.response.data:{}})}return n}});function f(e){return!!(e.jetpack.siteData.requests.isFetchingSiteData||e.jetpack.siteData.requests.isFetchingSiteFeatures||e.jetpack.siteData.requests.isFetchingSitePlans||e.jetpack.siteData.requests.isFetchingSitePurchases)}function h(e){return!!e.jetpack.siteData.requests.isFetchingSitePurchases}function l(e){return(0,i.get)(e.jetpack.siteData,["data","plan"],{})}function d(e){return function(e){return(0,i.get)(e.jetpack.siteData,["data","sitePurchases"],[])}(e).filter((e=>"1"===e.active))}function p(e){return d(e).filter((e=>(0,s.yy)(e.product_slug)))}function g(e){return!!function(e){return(0,i.find)(p(e),(e=>(0,s.Cv)(e.product_slug)))}(e)||"is-complete-plan"===(0,s.sc)(l(e).product_slug)}function m(e){return(0,i.get)(e.jetpack.siteData,["data","ID"])}},50093:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(92819),i=n(74978),o=n(67592);const s={fetchingTrackingSettings:!1,updatingTrackingSettings:!1},a=(0,i.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.X0:return(0,r.assign)({},e,t.settings);case o.TB:return(0,r.assign)({},e,t.updatedSettings);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.T:return(0,r.assign)({},e,{fetchingTrackingSettings:!0});case o.YD:case o.X0:return(0,r.assign)({},e,{fetchingTrackingSettings:!1});case o.kK:return(0,r.assign)({},e,{updatingTrackingSettings:!0});case o.rA:case o.TB:return(0,r.assign)({},e,{updatingTrackingSettings:!1});default:return e}}})},90922:function(e,t,n){var r=n(55246),i=n(5806);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==i&&"env"in i&&(e=i.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,r.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=r.debug||r.log||(()=>{}),e.exports=n(31967)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},31967:function(e,t,n){var r=n(55246);e.exports=function(e){function t(e){let n,r,o,s=null;function a(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];if(!a.enabled)return;const o=a,s=Number(new Date),c=s-(n||s);o.diff=c,o.prev=n,o.curr=s,n=s,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let u=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";u++;const i=t.formatters[n];if("function"==typeof i){const t=r[u];e=i.call(o,t),r.splice(u,1),u--}return e})),t.formatArgs.call(o,r);const f=o.log||t.log;f.apply(o,r)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=i,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(r!==t.namespaces&&(r=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function i(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(32002),t.destroy=function(){r.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},49231:function(e,t,n){var r=n(55246);function i(e){try{if(!window.localStorage)return!1}catch(e){return!1}var t=window.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(i("noDeprecation"))return e;var n=!1;return function(){if(!n){if(i("throwDeprecation"))throw new Error(t);i("traceDeprecation")?r.trace(t):r.warn(t),n=!0}return e.apply(this,arguments)}}},11311:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},58370:function(e,t,n){"use strict";var r=n(98304),i=n(57372),o=n(32457),s=n(8639);function a(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,f=a(Object.prototype.toString),h=a(Number.prototype.valueOf),l=a(String.prototype.valueOf),d=a(Boolean.prototype.valueOf);if(c)var p=a(BigInt.prototype.valueOf);if(u)var g=a(Symbol.prototype.valueOf);function m(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function b(e){return"[object Map]"===f(e)}function v(e){return"[object Set]"===f(e)}function y(e){return"[object WeakMap]"===f(e)}function w(e){return"[object WeakSet]"===f(e)}function _(e){return"[object ArrayBuffer]"===f(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(_.working?_(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===f(e)}function k(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=s,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):s(e)||k(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},b.working="undefined"!=typeof Map&&b(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(b.working?b(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(y.working?y(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},_.working="undefined"!=typeof ArrayBuffer&&_(new ArrayBuffer),t.isArrayBuffer=E,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=k;var M="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function C(e){return"[object SharedArrayBuffer]"===f(e)}function A(e){return void 0!==M&&(void 0===C.working&&(C.working=C(new M)),C.working?C(e):e instanceof M)}function x(e){return m(e,h)}function I(e){return m(e,l)}function O(e){return m(e,d)}function T(e){return c&&m(e,p)}function N(e){return u&&m(e,g)}t.isSharedArrayBuffer=A,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===f(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===f(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===f(e)},t.isGeneratorObject=function(e){return"[object Generator]"===f(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===f(e)},t.isNumberObject=x,t.isStringObject=I,t.isBooleanObject=O,t.isBigIntObject=T,t.isSymbolObject=N,t.isBoxedPrimitive=function(e){return x(e)||I(e)||O(e)||T(e)||N(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||A(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},23333:function(e,t,n){var r=n(5806),i=n(55246),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},s=/%[sdj%]/g;t.format=function(e){if(!w(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(f(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(s,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n<i;a=r[++n])v(a)||!S(a)?o+=" "+a:o+=" "+f(a);return o},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?i.trace(n):i.error(n),o=!0}return e.apply(this,arguments)}};var a={},c=/^$/;if(r.env.NODE_DEBUG){var u=r.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),c=new RegExp("^"+u+"$","i")}function f(e,n){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),b(n)?r.showHidden=n:n&&t._extend(r,n),_(r.showHidden)&&(r.showHidden=!1),_(r.depth)&&(r.depth=2),_(r.colors)&&(r.colors=!1),_(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=h),d(r,e,r.depth)}function h(e,t){var n=f.styles[t];return n?"["+f.colors[n][0]+"m"+e+"["+f.colors[n][1]+"m":e}function l(e,t){return e}function d(e,n,r){if(e.customInspect&&n&&C(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return w(i)||(i=d(e,i,r)),i}var o=function(e,t){if(_(t))return e.stylize("undefined","undefined");if(w(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(y(t))return e.stylize(""+t,"number");if(b(t))return e.stylize(""+t,"boolean");if(v(t))return e.stylize("null","null")}(e,n);if(o)return o;var s=Object.keys(n),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),M(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return p(n);if(0===s.length){if(C(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(E(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(k(n))return e.stylize(Date.prototype.toString.call(n),"date");if(M(n))return p(n)}var u,f="",h=!1,l=["{","}"];(m(n)&&(h=!0,l=["[","]"]),C(n))&&(f=" [Function"+(n.name?": "+n.name:"")+"]");return E(n)&&(f=" "+RegExp.prototype.toString.call(n)),k(n)&&(f=" "+Date.prototype.toUTCString.call(n)),M(n)&&(f=" "+p(n)),0!==s.length||h&&0!=n.length?r<0?E(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=h?function(e,t,n,r,i){for(var o=[],s=0,a=t.length;s<a;++s)T(t,String(s))?o.push(g(e,t,n,r,String(s),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(g(e,t,n,r,i,!0))})),o}(e,n,r,a,s):s.map((function(t){return g(e,n,r,a,t,h)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,f,l)):l[0]+f+l[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function g(e,t,n,r,i,o){var s,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),T(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=v(n)?d(e,c.value,null):d(e,c.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),_(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function m(e){return Array.isArray(e)}function b(e){return"boolean"==typeof e}function v(e){return null===e}function y(e){return"number"==typeof e}function w(e){return"string"==typeof e}function _(e){return void 0===e}function E(e){return S(e)&&"[object RegExp]"===A(e)}function S(e){return"object"==typeof e&&null!==e}function k(e){return S(e)&&"[object Date]"===A(e)}function M(e){return S(e)&&("[object Error]"===A(e)||e instanceof Error)}function C(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function x(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(c.test(e)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);i.error("%s %d: %s",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=f,f.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},f.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(58370),t.isArray=m,t.isBoolean=b,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=w,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=_,t.isRegExp=E,t.types.isRegExp=E,t.isObject=S,t.isDate=k,t.types.isDate=k,t.isError=M,t.types.isNativeError=M,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(11311);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var e=new Date,t=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){i.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=n(59503),t._extend=function(e,t){if(!t||!S(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t;if("function"!=typeof(t=e[N]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),N&&Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=N,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,s=function(){return i.apply(o,arguments)};e.apply(this,t).then((function(e){r.nextTick(s.bind(null,null,e))}),(function(e){r.nextTick(j.bind(null,e,s))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},32457:function(e,t,n){"use strict";var r=n(49478),i=n(87331),o=n(16422),s=o("Object.prototype.toString"),a=n(77828)(),c="undefined"==typeof globalThis?window:globalThis,u=i(),f=o("String.prototype.slice"),h={},l=n(61787),d=Object.getPrototypeOf;a&&l&&d&&r(u,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var n=d(t),r=l(n,Symbol.toStringTag);if(!r){var i=d(n);r=l(i,Symbol.toStringTag)}h[e]=r.get}}}));var p=n(8639);e.exports=function(e){return!!p(e)&&(a&&Symbol.toStringTag in e?function(e){var t=!1;return r(h,(function(n,r){if(!t)try{var i=n.call(e);i===r&&(t=i)}catch(e){}})),t}(e):f(s(e),8,-1))}},92787:function(e){"use strict";if(void 0==={consumer_slug:"jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack"}},99196:function(e){"use strict";e.exports=window.React},91850:function(e){"use strict";e.exports=window.ReactDOM},92819:function(e){"use strict";e.exports=window.lodash},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n},96483:function(e){"use strict";e.exports=window.wp.url},56095:function(){},14864:function(){},69627:function(){},23833:function(){},80677:function(){},87331:function(e){"use strict";var t=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],n="undefined"==typeof globalThis?window:globalThis;e.exports=function(){for(var e=[],r=0;r<t.length;r++)"function"==typeof n[t[r]]&&(e[e.length]=t[r]);return e}},61787:function(e,t,n){"use strict";var r=n(25165)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},25303:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},40988:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},71446:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99112);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},5343:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},99112:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},4317:function(e){"use strict";e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},1877:function(e){"use strict";e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},72968:function(e){"use strict";e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},27046:function(e){"use strict";e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},80906:function(e){"use strict";e.exports={i8:"6.5.4"}},93611:function(e){"use strict";e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";var e=n(91850),t=n.n(e),r=n(99196),i=n.n(r),o=n(2620),s=n(594),a=n(63854);function c(){const e=document.getElementById("jp-search-dashboard");null!==e&&t().render(i().createElement(o.zt,{store:s.Z},i().createElement(a.Z,null)),e)}"loading"!==document.readyState?c():document.addEventListener("DOMContentLoaded",c)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/search-dashboard.js.LICENSE.txt b/plugins/jetpack/_inc/build/search-dashboard.js.LICENSE.txt
deleted file mode 100644
index ddea5f14..00000000
--- a/plugins/jetpack/_inc/build/search-dashboard.js.LICENSE.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
-object-assign
-(c) Sindre Sorhus
-@license MIT
-*/
-
-/*!
- Copyright (c) 2018 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/classnames
-*/
-
-/*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
- * @license MIT
- */
-
-/*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <https://feross.org>
- * @license MIT
- */
-
-/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
-
-/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
-
-/** @license React v16.13.1
- * react-is.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
diff --git a/plugins/jetpack/_inc/build/search-dashboard.rtl.css b/plugins/jetpack/_inc/build/search-dashboard.rtl.css
deleted file mode 100644
index 18c08d22..00000000
--- a/plugins/jetpack/_inc/build/search-dashboard.rtl.css
+++ /dev/null
@@ -1 +0,0 @@
-.dops-popover{font-size:11px;left:0;left:auto;position:absolute;top:0;z-index:1000}.dops-popover .dops-popover__inner{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);position:relative;text-align:center}.dops-popover .dops-popover__arrow{border:10px dashed #d5d5d5;height:0;line-height:0;position:absolute;width:0;z-index:1}.dops-popover.fade{transition:opacity .1s}.dops-popover.is-top-left .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow,.dops-popover.is-top .dops-popover__arrow{border-bottom:none;border-left-color:transparent;border-top-style:solid;bottom:0;left:50%;margin-left:-10px}.dops-popover.is-top-left .dops-popover__arrow:before,.dops-popover.is-top-right .dops-popover__arrow:before,.dops-popover.is-top .dops-popover__arrow:before{border:10px solid transparent;border-bottom:none;border-top-color:#fff;bottom:2px;content:" ";left:50%;margin-left:-10px;position:absolute}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-bottom .dops-popover__arrow{border-bottom-style:solid;border-left-color:transparent;border-top:none;left:50%;margin-left:-10px;top:0}.dops-popover.is-bottom-left .dops-popover__arrow:before,.dops-popover.is-bottom-right .dops-popover__arrow:before,.dops-popover.is-bottom .dops-popover__arrow:before{border:10px solid transparent;border-bottom:10px solid #fff;border-top:none;content:" ";left:50%;margin-left:-10px;position:absolute;top:2px}.dops-popover.is-left-bottom .dops-popover__arrow,.dops-popover.is-left-top .dops-popover__arrow,.dops-popover.is-left .dops-popover__arrow{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent;margin-top:-10px;right:0;top:50%}.dops-popover.is-left-bottom .dops-popover__arrow:before,.dops-popover.is-left-top .dops-popover__arrow:before,.dops-popover.is-left .dops-popover__arrow:before{border:10px solid transparent;border-left:10px solid #fff;border-right:none;content:" ";margin-top:-10px;position:absolute;right:2px;top:50%}.dops-popover.is-right-bottom .dops-popover__arrow,.dops-popover.is-right-top .dops-popover__arrow,.dops-popover.is-right .dops-popover__arrow{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent;left:0;margin-top:-10px;top:50%}.dops-popover.is-right-bottom .dops-popover__arrow:before,.dops-popover.is-right-top .dops-popover__arrow:before,.dops-popover.is-right .dops-popover__arrow:before{border:10px solid transparent;border-left:none;border-right-color:#fff;content:" ";left:2px;margin-top:-10px;position:absolute;top:50%}.dops-popover.is-bottom-left,.dops-popover.is-bottom-right,.dops-popover.is-top-left,.dops-popover.is-top-right{padding-left:0;padding-right:0}.dops-popover.is-bottom-left .dops-popover__arrow,.dops-popover.is-top-left .dops-popover__arrow{left:auto;left:5px}.dops-popover.is-bottom-right .dops-popover__arrow,.dops-popover.is-top-right .dops-popover__arrow{left:15px}.dops-popover.is-top-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner,.dops-popover.is-top .dops-popover__inner{top:-10px}.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-left .dops-popover__inner,.dops-popover.is-top-right .dops-popover__inner{left:-10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-bottom-right .dops-popover__inner,.dops-popover.is-bottom .dops-popover__inner{top:10px}.dops-popover.is-bottom-left .dops-popover__inner,.dops-popover.is-right .dops-popover__inner,.dops-popover.is-top-left .dops-popover__inner{left:10px}.dops-popover.is-dialog-visible{z-index:100300}.dops-popover__menu{display:flex;flex-direction:column;min-width:200px}.dops-popover__menu-item{background:inherit;border:none;border-radius:0;color:#414141;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;position:relative;text-align:right;transition:all .05s ease-in-out}.dops-popover__menu-item:first-child{margin-top:5px}.dops-popover__menu-item:focus,.dops-popover__menu-item:hover{background-color:#3582c4;border:0;box-shadow:none;color:#fff}.dops-popover__menu-item:focus .gridicon,.dops-popover__menu-item:hover .gridicon{color:#fff}.dops-popover__menu-item[disabled]:focus,.dops-popover__menu-item[disabled]:hover{background:transparent;cursor:default}.dops-popover__menu-item:last-child{margin-bottom:5px}.dops-popover__menu-item::-moz-focus-inner{border:0}.dops-popover__menu-item.has-icon{padding-right:42px}.dops-popover__menu-item .gridicon{color:#bbb;margin-left:8px;vertical-align:bottom}.dops-popover__hr{background:#eee;margin:8px 0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;right:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-right:12px}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{right:8px}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(-1px,1px)}.gridicon.needs-offset-x g{transform:translate(-1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-left:48px}h2.dops-card-title{font-size:rem(20px)}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;left:16px;position:absolute;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.dops-info-popover-button{background:transparent;border:none;color:#888;padding:0}.dops-info-popover-button:hover{color:#414141}.dops-info-popover-button:focus{box-shadow:none}.dops-accessible-focus .dops-info-popover-button:focus{outline:thin dotted}.dops-info-popover .gridicon{color:#c8c8c8;cursor:pointer}.dops-info-popover .gridicon:hover,.dops-info-popover.is_active .gridicon{color:#414141}.dops-popover.dops-info-popover__tooltip .dops-popover__inner{color:#6f6f6f;font-size:13px;max-width:220px;padding:16px;text-align:right}.dops-external-link .gridicons-external{color:currentColor;margin-right:.5rem;position:relative;top:.125rem}#jp-plugin-container{min-height:100vh}.jp-support-info{left:1.5625rem;position:absolute;top:1.6875rem;z-index:1}@media(max-width:480px){.jp-support-info{left:1rem;top:1.25rem}}.jp-form-fieldset .jp-support-info{top:4px}.jp-support-info .dops-info-popover{white-space:nowrap}.dops-popover .jp-support-info__privacy{border-top:1px solid hsla(0,0%,64%,.5);display:block;margin-top:.875rem;padding-top:.75rem}.dops-button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:.875rem;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top}.dops-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.dops-button:disabled,.dops-button[disabled]{background:#fff;border-color:#eee;color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}.dops-button.is-compact{line-height:2;padding:0 10px}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{margin-top:-8px;top:4px}.dops-button.is-compact .gridicons-plus-small{margin-right:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-right:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-right:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}.dops-button.is-primary{background:#3582c4;border-color:#3582c4;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{background:#2271b1;border-color:#2271b1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;color:#66c6e4!important;cursor:default;text-shadow:none!important}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{border-color:#eee;color:#f4cdcd}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{height:24px;top:6px;width:24px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{background:#fff;color:#eee;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{height:18px;top:5px;width:18px}.jp-instant-search-upsell-nudge{color:#000;cursor:pointer;font-size:1em;text-decoration:none}.jp-instant-search-upsell-nudge:hover{color:#000}.jp-search-dashboard-wrap{align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin:0 auto;width:100%}.jp-search-dashboard-row{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:calc(100% - 32px)}@media(min-width:600px){.jp-search-dashboard-row{grid-template-columns:repeat(8,1fr);margin:0 18px;width:calc(100% - 36px)}}@media(min-width:960px){.jp-search-dashboard-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px;width:calc(100% - 48px)}}.jp-search-dashboard-row .sm-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .sm-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .sm-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.jp-search-dashboard-row .md-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .md-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .md-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .md-col-span-4{grid-column-end:span 4}.jp-search-dashboard-row .md-col-span-5{grid-column-end:span 5}.jp-search-dashboard-row .md-col-span-6{grid-column-end:span 6}.jp-search-dashboard-row .md-col-span-7{grid-column-end:span 7}.jp-search-dashboard-row .md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.jp-search-dashboard-row .lg-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .lg-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .lg-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .lg-col-span-4{grid-column-end:span 4}.jp-search-dashboard-row .lg-col-span-5{grid-column-end:span 5}.jp-search-dashboard-row .lg-col-span-6{grid-column-end:span 6}.jp-search-dashboard-row .lg-col-span-7{grid-column-end:span 7}.jp-search-dashboard-row .lg-col-span-8{grid-column-end:span 8}.jp-search-dashboard-row .lg-col-span-9{grid-column-end:span 9}.jp-search-dashboard-row .lg-col-span-10{grid-column-end:span 10}.jp-search-dashboard-row .lg-col-span-11{grid-column-end:span 11}.jp-search-dashboard-row .lg-col-span-12{grid-column-end:span 12}.jp-search-dashboard-row .lg-col-span-0{display:none}}@media(max-width:960px){.jp-search-dashboard-row .md-col-span-0{display:none}}@media(max-width:600px){.jp-search-dashboard-row .sm-col-span-0{display:none}.jp-search-dashboard-row .sm-col-span-1{display:block}}.jp-form-search-settings-group{width:100%}.jp-form-search-settings-group .dops-card{box-shadow:none;padding:4em 0 0}.jp-form-search-settings-group .form-toggle__label{margin:0}.jp-form-search-settings-group__toggle.is-instant-search{margin-top:4em}.jp-form-search-settings-group__toggle .form-toggle__label-content{display:none}.jp-form-search-settings-group__toggle .jp-form-search-settings-group__toggle-container{display:flex}@media(max-width:960px){.jp-form-search-settings-group__toggle .jp-form-search-settings-group__toggle-container{justify-content:center}}.jp-form-search-settings-group__toggle_label{font-size:1.5em;font-weight:600;line-height:1.167}.jp-form-search-settings-group__toggle_label span{font-weight:400}.jp-form-search-settings-group__toggle-description{margin-top:1em}p.jp-form-search-settings-group__toggle-explanation{font-size:1em;font-weight:400;line-height:1.5;margin-bottom:0}.jp-form-search-settings-group-buttons{margin-top:1.5em}.jp-form-search-settings-group-buttons__button{align-items:center;border-color:#000;display:flex;font-size:1em;justify-content:center;min-height:2.5em;padding:.5em 1.5em;text-align:center}.jp-form-search-settings-group-buttons__button.is-customize-search{background-color:#000;color:#fff}.jp-form-search-settings-group-buttons__button:disabled,.jp-form-search-settings-group-buttons__button[disabled]{background-color:#dcdcde;border-color:#dcdcde;color:#a7aaad;cursor:not-allowed}.jp-form-search-settings-group-buttons__button.is-widgets-editor{background:transparent;color:#000}.jp-form-search-settings-group-buttons__button.is-widgets-editor:disabled,.jp-form-search-settings-group-buttons__button.is-widgets-editor[disabled]{background:transparent;color:#a7aaad}.form-toggle.is-search-admin.is-compact+.form-toggle__label .form-toggle__switch{background:#fff;border:2px solid #000;border-radius:.75em;height:1.5em;width:3em}.form-toggle.is-search-admin.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-search-admin.is-compact+.form-toggle__label .form-toggle__switch:before{background-color:#000;height:.9375em;width:.9375em}.form-toggle.is-search-admin.is-compact+.form-toggle__label .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle.is-search-admin.is-compact:checked+.form-toggle__label .form-toggle__switch{background:#069e08;border-color:#069e08}.form-toggle.is-search-admin.is-compact:checked+.form-toggle__label .form-toggle__switch:after{background-color:#fff;right:1.5em}.form-toggle.is-search-admin.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-search-admin.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:before{right:1.5em}.form-toggle.is-search-admin.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-search-admin.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:before{right:0}.jp-search-dashboard-cut{border:2px solid #069e08;border-radius:4px;display:block;margin:2em 0;padding:1em 1.5em 1em 4em;position:relative;text-decoration:none}.jp-search-dashboard-cut span{display:block}.jp-search-dashboard-cut span:last-of-type{font-weight:600}.jp-search-dashboard-cut:focus span:last-of-type,.jp-search-dashboard-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:2px}.jp-search-dashboard-cut:focus:after,.jp-search-dashboard-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-search-dashboard-cut:after{color:#069e08;content:"→";font-size:1.5em;font-weight:600;left:1.5em;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-mocked-instant-search{background:#fff;border-radius:3px;box-shadow:0 5px 25px rgba(0,0,0,.35);font-size:.75em;height:100%;margin:0 auto;overflow:hidden;-webkit-user-select:none;user-select:none;width:100%}.jp-mocked-instant-search__search-controls{align-items:center;border-bottom:1px solid #e6f1f5;display:flex;flex-flow:row nowrap;justify-content:space-between}.jp-mocked-instant-search__search-icon{align-items:center;display:flex;height:60px;justify-content:center;width:60px}@media(max-width:660px){.jp-mocked-instant-search__search-icon{height:45px;width:45px}}.jp-mocked-instant-search__search-mock-input{width:calc(100% - 120px)}.jp-mocked-instant-search__close-button{align-items:center;background-color:transparent!important;border-right:1px solid #e6f1f5;display:flex;height:60px;justify-content:center;line-height:1;width:60px}.jp-mocked-instant-search__close-button svg.gridicon{fill:#646970}@media(max-width:660px){.jp-mocked-instant-search__close-button{height:45px;width:45px}}.jp-mocked-instant-search__search-results{display:flex;height:100%;position:relative}.jp-mocked-instant-search__search-results-primary{padding:1em 4em;width:100%}@media(min-width:661px){.jp-mocked-instant-search__search-results-primary{max-width:calc(100% - 220px)}}@media(max-width:660px){.jp-mocked-instant-search__search-results-primary{padding:2em}}.jp-mocked-instant-search__search-results-header{align-items:center;display:flex;flex-flow:row wrap;justify-content:space-between}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-statistics{font-size:1em;font-weight:700}@media(max-width:480px){.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-statistics{width:100%}}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list span{font-size:1em;margin-right:.5em}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list span:first-child{margin-right:0}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list .jp-mocked-instant-search__result-sort-selected{color:#069e08}@media(max-width:480px){.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list{width:100%}}.jp-mocked-instant-search__search-result{margin-top:1em}.jp-mocked-instant-search__search-results-secondary{background:none;border-radius:0;border-right:1px solid #e6f1f5;bottom:0;box-shadow:none;display:block;flex:none;padding-right:2em;padding-top:1em;position:static;width:220px}@media(max-width:660px){.jp-mocked-instant-search__search-results-secondary{display:none}}.jp-mocked-instant-search__search-filter-header{font-weight:700}.jp-mocked-instant-search__search-filter label{cursor:default}.jp-mocked-instant-search__search-filter label input[type=checkbox]{border:1px solid #e6e6fa;border-radius:5px;cursor:default}.jp-mocked-instant-search__search-filter span{background-color:#e6e6fa;display:inline-block;line-height:1.35;margin-right:1em;width:50em}.jp-mocked-instant-search__search-filter input[type=checkbox]{height:1em;width:1em}.jp-mocked-instant-search__search-filter-list{margin-top:1em}.jp-mocked-legacy-search{border-radius:3px;margin:0 auto;-webkit-user-select:none;user-select:none;width:100%}.jp-mocked-legacy-search__search-controls{background:#fff;box-shadow:0 5px 25px rgba(0,0,0,.35);display:flex;flex-flow:row nowrap;width:100%}.jp-mocked-legacy-search__search-icon{align-items:center;display:flex;height:60px;justify-content:center;width:60px}.jp-mocked-legacy-search__search-input{align-items:center;display:flex;width:100%}*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;min-height:100%;padding:0}#screen-meta,#screen-meta-links{display:none}#jp-search-dashboard{color:#000;font-size:16px;min-height:100vh}#jp-search-dashboard .jp-masthead__logo-link{pointer-events:none}#jp-search-dashboard .jp-search-dashboard-top{background-color:#f9f9f6;overflow:hidden}#jp-search-dashboard .jp-search-dashboard-top__title{padding:2.5em 0}#jp-search-dashboard .jp-search-dashboard-top__title h1{font-size:2.25em;line-height:1.111;margin:0}#jp-search-dashboard .jp-search-dashboard-top__mocked-search-interface{align-items:center;display:flex;flex-flow:column;height:15.625em;justify-content:center}#jp-search-dashboard .jp-search-dashboard-bottom{background-color:#fff}#jp-search-dashboard .jp-search-dashboard-footer,#jp-search-dashboard .jp-search-dashboard-header{background-color:#fff;padding:2.5em 0}@media(max-width:600px){#jp-search-dashboard{font-size:14px}}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-right:5px} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/sharedaddy/admin-sharing.min.asset.php b/plugins/jetpack/_inc/build/sharedaddy/admin-sharing.min.asset.php
index 6694c015..9bf45b9f 100644
--- a/plugins/jetpack/_inc/build/sharedaddy/admin-sharing.min.asset.php
+++ b/plugins/jetpack/_inc/build/sharedaddy/admin-sharing.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'b11eff38409bc8fc2f9340b96e2f8b75'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '738ac4ae2686deb98f57');
diff --git a/plugins/jetpack/_inc/build/sharedaddy/sharing.min.asset.php b/plugins/jetpack/_inc/build/sharedaddy/sharing.min.asset.php
index 46e532c6..58229a0c 100644
--- a/plugins/jetpack/_inc/build/sharedaddy/sharing.min.asset.php
+++ b/plugins/jetpack/_inc/build/sharedaddy/sharing.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '607409d3c923e75eb112b3c8ee38e03f'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '3d775fb36b63676c8b91');
diff --git a/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js b/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js
index de786863..9f52f470 100644
--- a/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js
+++ b/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js
@@ -1 +1 @@
-!function(){var e=document.currentScript,t=!1;function n(t){var n=document.createElement("script"),r=e||document.getElementsByTagName("script")[0];n.setAttribute("async",!0),n.setAttribute("src",t),r.parentNode.insertBefore(n,r)}function r(e,t){return Element.prototype.matches?e.matches(t):Element.prototype.msMatchesSelector?e.msMatchesSelector(t):void 0}function o(e,t){if(e.closest)return e.closest(t);var n=e;do{if(r(n,t))return n;n=n.parentElement||n.parentNode}while(null!==n&&1===n.nodeType);return null}function i(e,t){for(var n=0;n<e.length;n++)t(e[n],n,e)}function u(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function s(e){e&&(e.style.display="none")}function a(e){e&&e.style.removeProperty("display")}function c(e){return!e||"none"===e.style.display}var l=".sharing-hidden .inner",d="data-sharing-more-button-id";function h(e){this.button=e,this.pane=o(e,"div").querySelector(l),this.openedBy=null,this.recentlyOpenedByHover=!1,h.instances.push(this),this.pane.setAttribute(d,h.instances.length-1),this.attachHandlers()}if(h.instances=[],h.hoverOpenDelay=200,h.recentOpenDelay=400,h.hoverCloseDelay=300,h.instantiateOrReuse=function(e){var t=o(e,"div").querySelector(l),n=t&&t.getAttribute(d),r=h.instances[n];return r||new h(e)},h.getButtonInstanceFromPane=function(e){var t=e&&e.getAttribute(d);return h.instances[t]},h.closeAll=function(){for(var e=0;e<h.instances.length;e++)h.instances[e].close()},h.prototype.open=function(){var e,t,n=[0,0];function r(e){var t=e.getBoundingClientRect();return[t.left+(window.scrollX||window.pageXOffset||0),t.top+(window.scrollY||window.pageYOffset||0)]}function o(e,t){return parseInt(getComputedStyle(e).getPropertyValue(t)||0)}for(e=r(this.button),t=this.button.offsetParent||document.documentElement;t&&(t===document.body||t===document.documentElement)&&"static"===getComputedStyle(t).getPropertyValue("position");)t=t.parentNode;t&&t!==this.button&&1===t.nodeType&&(n=[(n=r(t))[0]+o(t,"border-left-width"),n[1]+o(t,"border-top-width")]);var i=e[0]-n[0]-o(this.button,"margin-left"),u=e[1]-n[1]-o(this.button,"margin-top");this.pane.style.left=i+"px",this.pane.style.top=u+this.button.offsetHeight+3+"px",a(this.pane)},h.prototype.close=function(){s(this.pane),this.openedBy=null},h.prototype.toggle=function(){c(this.pane)?this.open():this.close()},h.prototype.resetCloseTimer=function(){clearTimeout(this.closeTimer),this.closeTimer=setTimeout(this.close.bind(this),h.hoverCloseDelay)},h.prototype.attachHandlers=function(){this.buttonClick=function(e){e.preventDefault(),e.stopPropagation(),this.openedBy="click",clearTimeout(this.openTimer),clearTimeout(this.closeTimer),f(),this.recentlyOpenedByHover?(this.recentlyOpenedByHover=!1,clearTimeout(this.hoverOpenTimer),this.open()):this.toggle()}.bind(this),this.buttonEnter=function(){this.openedBy||(this.openTimer=setTimeout(function(){f(),this.open(),this.openedBy="hover",this.recentlyOpenedByHover=!0,this.hoverOpenTimer=setTimeout(function(){this.recentlyOpenedByHover=!1}.bind(this),h.recentOpenDelay)}.bind(this),h.hoverOpenDelay)),clearTimeout(this.closeTimer)}.bind(this),this.buttonLeave=function(){"hover"===this.openedBy&&this.resetCloseTimer(),clearTimeout(this.openTimer)}.bind(this),this.paneEnter=function(){clearTimeout(this.closeTimer)}.bind(this),this.paneLeave=function(){"hover"===this.openedBy&&this.resetCloseTimer()}.bind(this),this.documentClick=function(){this.close()}.bind(this),this.button.addEventListener("click",this.buttonClick),document.addEventListener("click",this.documentClick),void 0===document.ontouchstart&&(this.button.addEventListener("mouseenter",this.buttonEnter),this.button.addEventListener("mouseleave",this.buttonLeave),this.pane.addEventListener("mouseenter",this.paneEnter),this.pane.addEventListener("mouseleave",this.paneLeave))},window.sharing_js_options&&window.sharing_js_options.counts){var p={done_urls:[],get_counts:function(){var e,t,r,o,i;if("undefined"!=typeof WPCOM_sharing_counts)for(e in WPCOM_sharing_counts)if(r=WPCOM_sharing_counts[e],void 0===p.done_urls[r]){for(o in t={pinterest:[window.location.protocol+"//api.pinterest.com/v1/urls/count.json?callback=WPCOMSharing.update_pinterest_count&url="+encodeURIComponent(e)]})if(document.querySelector("a[data-shared=sharing-"+o+"-"+r+"]")){for(;i=t[o].pop();)n(i);window.sharing_js_options.is_stats_active&&p.bump_sharing_count_stat(o)}p.done_urls[r]=!0}},update_pinterest_count:function(e){void 0!==e.count&&1*e.count>0&&p.inject_share_count("sharing-pinterest-"+WPCOM_sharing_counts[e.url],e.count)},inject_share_count:function(e,t){i(document.querySelectorAll("a[data-shared="+e+"] > span"),(function(e){u(e.querySelector(".share-count"));var n=document.createElement("span");n.className="share-count",n.textContent=p.format_count(t),e.appendChild(n)}))},format_count:function(e){return e<1e3?e:e>=1e3&&e<1e4?String(e).substring(0,1)+"K+":"10K+"},bump_sharing_count_stat:function(e){(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv&x_sharing-count-request="+e+"&r="+Math.random()}};window.WPCOMSharing=p}function m(e){return/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(e)}function f(){s(document.querySelector("#sharing_email"))}function F(){var e=document.querySelector("#sharing_email");e&&document.body.appendChild(e),g()}function g(){window.WPCOMSharing&&window.WPCOMSharing.get_counts(),i(document.querySelectorAll(".sharedaddy a"),(function(e){var t=e.getAttribute("href");t&&-1!==t.indexOf("share=")&&-1===t.indexOf("&nb=1")&&e.setAttribute("href",t+"&nb=1")})),i(document.querySelectorAll(".sharedaddy a.sharing-anchor"),(function(e){h.instantiateOrReuse(e)})),void 0!==document.ontouchstart&&document.body.classList.add("jp-sharing-input-touch"),i(document.querySelectorAll(".sharedaddy ul"),(function(e){"true"!==e.getAttribute("data-sharing-events-added")&&(e.setAttribute("data-sharing-events-added","true"),i(e.querySelectorAll("a.share-print"),(function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation();var n=e.getAttribute("href")||"",r=function(){if(-1===n.indexOf("#print")){var e=(new Date).getTime();t=e,r=n,(o=document.createElement("iframe")).setAttribute("style","position:fixed; top:100; left:100; height:1px; width:1px; border:none;"),o.setAttribute("id","printFrame-"+t),o.setAttribute("name",o.getAttribute("id")),o.setAttribute("src",r),o.setAttribute("onload",'frames["printFrame-'+t+'"].focus();frames["printFrame-'+t+'"].print();'),document.body.appendChild(o)}else window.print();var t,r,o},i=o(e,l);if(i){var u=h.getButtonInstanceFromPane(i);u&&(u.close(),r())}else r()}))})),i(e.querySelectorAll("a.share-press-this"),(function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation();var n="";if(window.getSelection?n=window.getSelection():document.getSelection?n=document.getSelection():document.selection&&(n=document.selection.createRange().text),n){var r=e.getAttribute("href");e.setAttribute("href",r+"&sel="+encodeURI(n))}window.open(e.getAttribute("href"),"t","toolbar=0,resizable=1,scrollbars=1,status=1,width=720,height=570")||(document.location.href=e.getAttribute("href"))}))})),i(e.querySelectorAll("a.share-email"),(function(e){var r=document.querySelector("#sharing_email");e.addEventListener("click",(function(o){if(o.preventDefault(),o.stopPropagation(),"object"!=typeof grecaptcha&&!t){var i=document.querySelector(".g-recaptcha");i&&"true"===i.getAttribute("data-lazy")&&(t=!0,n(decodeURI(i.getAttribute("data-url"))))}var s=e.getAttribute("href"),l=window.location.protocol+"//"+window.location.hostname+"/";if(0!==s.indexOf(l))return!0;if(c(r)){u(document.querySelector("#sharing_email .response"));var d=document.querySelector("#sharing_email form");a(d),d.querySelector("input[type=submit]").removeAttribute("disabled"),a(d.querySelector("a.sharing_cancel")),"object"==typeof grecaptcha&&"function"==typeof grecaptcha.reset&&window.___grecaptcha_cfg.count&&grecaptcha.reset();var p=e.getBoundingClientRect(),m=window.pageXOffset||document.documentElement.scrollLeft||0,F=window.pageYOffset||document.documentElement.scrollTop||0;r.style.left=m+p.left+"px",r.style.top=F+p.top+p.height+"px",a(r),h.closeAll()}else f()})),r.querySelector("a.sharing_cancel").addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),s(r.querySelector(".errors")),s(r),s(document.querySelector("#sharing_background"))}));var l=r.querySelector("input[type=submit]");l.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation();var n=o(l,"form"),u=n.querySelector("input[name=source_email]"),c=n.querySelector("input[name=target_email]");if(l.setAttribute("disabled",!0),s(n.querySelector("a.sharing_cancel")),i(n.querySelectorAll("img.loading"),(function(e){a(e)})),s(n.querySelector(".errors")),i(n.querySelectorAll(".error"),(function(e){e.classList.remove("error")})),m(u.value)||u.classList.add("error"),m(c.value)||c.classList.add("error"),!n.querySelector(".error")){for(var d=[],h=0;h<n.elements.length;h++)if(n.elements[h].name){var p=encodeURIComponent(n.elements[h].name)+"="+encodeURIComponent(n.elements[h].value);d.push(p.replace("%20","+"))}var F=d.join("&"),g=new XMLHttpRequest;return g.open("POST",e.getAttribute("href"),!0),g.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),g.setRequestHeader("x-requested-with","XMLHttpRequest"),g.onreadystatechange=function(){if(this.readyState===XMLHttpRequest.DONE&&200===this.status)if(i(n.querySelectorAll("img.loading"),(function(e){s(e)})),"1"===this.response||"2"===this.response||"3"===this.response)a(r.querySelector(".errors-"+this.response)),r.querySelector("input[type=submit]").removeAttribute("disabled"),a(r.querySelector("a.sharing_cancel")),"object"==typeof grecaptcha&&"function"==typeof grecaptcha.reset&&grecaptcha.reset();else{s(n);var e=document.createElement("div");e.innerHTML=this.response,r.appendChild(e.firstChild),a(r.querySelector("a.sharing_cancel"));var t=r.querySelector(".response a.sharing_cancel");t&&t.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),f(),s(document.querySelector("#sharing_background"))}))}},void g.send(F)}i(r.querySelectorAll("img.loading"),(function(e){s(e)})),l.removeAttribute("disabled"),a(r.querySelector("a.sharing_cancel")),i(r.querySelectorAll(".errors-1"),(function(e){a(e)}))}))})))})),i(document.querySelectorAll("li.share-email, li.share-custom a.sharing-anchor"),(function(e){e.classList.add("share-service-visible")}))}"loading"!==document.readyState?F():document.addEventListener("DOMContentLoaded",F),document.body.addEventListener("is.post-load",g)}(); \ No newline at end of file
+!function(){var e=document.currentScript;function t(t){var n=document.createElement("script"),o=e||document.getElementsByTagName("script")[0];n.setAttribute("async",!0),n.setAttribute("src",t),o.parentNode.insertBefore(n,o)}function n(e,t){return Element.prototype.matches?e.matches(t):Element.prototype.msMatchesSelector?e.msMatchesSelector(t):void 0}function o(e,t){if(e.closest)return e.closest(t);var o=e;do{if(n(o,t))return o;o=o.parentElement||o.parentNode}while(null!==o&&1===o.nodeType);return null}function i(e,t){for(var n=0;n<e.length;n++)t(e[n],n,e)}var r=".sharing-hidden .inner",s="data-sharing-more-button-id";function a(e){this.button=e,this.pane=o(e,"div").querySelector(r),this.openedBy=null,this.recentlyOpenedByHover=!1,a.instances.push(this),this.pane.setAttribute(s,a.instances.length-1),this.attachHandlers()}if(a.instances=[],a.hoverOpenDelay=200,a.recentOpenDelay=400,a.hoverCloseDelay=300,a.instantiateOrReuse=function(e){var t=o(e,"div").querySelector(r),n=t&&t.getAttribute(s),i=a.instances[n];return i||new a(e)},a.getButtonInstanceFromPane=function(e){var t=e&&e.getAttribute(s);return a.instances[t]},a.closeAll=function(){for(var e=0;e<a.instances.length;e++)a.instances[e].close()},a.prototype.open=function(){var e,t,n=[0,0];function o(e){var t=e.getBoundingClientRect();return[t.left+(window.scrollX||window.pageXOffset||0),t.top+(window.scrollY||window.pageYOffset||0)]}function i(e,t){return parseInt(getComputedStyle(e).getPropertyValue(t)||0)}for(e=o(this.button),t=this.button.offsetParent||document.documentElement;t&&(t===document.body||t===document.documentElement)&&"static"===getComputedStyle(t).getPropertyValue("position");)t=t.parentNode;t&&t!==this.button&&1===t.nodeType&&(n=[(n=o(t))[0]+i(t,"border-left-width"),n[1]+i(t,"border-top-width")]);var r,s=e[0]-n[0]-i(this.button,"margin-left"),a=e[1]-n[1]-i(this.button,"margin-top");this.pane.style.left=s+"px",this.pane.style.top=a+this.button.offsetHeight+3+"px",(r=this.pane)&&r.style.removeProperty("display")},a.prototype.close=function(){var e;(e=this.pane)&&(e.style.display="none"),this.openedBy=null},a.prototype.toggle=function(){var e;(e=this.pane)&&"none"!==e.style.display?this.close():this.open()},a.prototype.resetCloseTimer=function(){clearTimeout(this.closeTimer),this.closeTimer=setTimeout(this.close.bind(this),a.hoverCloseDelay)},a.prototype.attachHandlers=function(){this.buttonClick=function(e){e.preventDefault(),e.stopPropagation(),this.openedBy="click",clearTimeout(this.openTimer),clearTimeout(this.closeTimer),this.recentlyOpenedByHover?(this.recentlyOpenedByHover=!1,clearTimeout(this.hoverOpenTimer),this.open()):this.toggle()}.bind(this),this.buttonEnter=function(){this.openedBy||(this.openTimer=setTimeout(function(){this.open(),this.openedBy="hover",this.recentlyOpenedByHover=!0,this.hoverOpenTimer=setTimeout(function(){this.recentlyOpenedByHover=!1}.bind(this),a.recentOpenDelay)}.bind(this),a.hoverOpenDelay)),clearTimeout(this.closeTimer)}.bind(this),this.buttonLeave=function(){"hover"===this.openedBy&&this.resetCloseTimer(),clearTimeout(this.openTimer)}.bind(this),this.paneEnter=function(){clearTimeout(this.closeTimer)}.bind(this),this.paneLeave=function(){"hover"===this.openedBy&&this.resetCloseTimer()}.bind(this),this.documentClick=function(){this.close()}.bind(this),this.button.addEventListener("click",this.buttonClick),document.addEventListener("click",this.documentClick),void 0===document.ontouchstart&&(this.button.addEventListener("mouseenter",this.buttonEnter),this.button.addEventListener("mouseleave",this.buttonLeave),this.pane.addEventListener("mouseenter",this.paneEnter),this.pane.addEventListener("mouseleave",this.paneLeave))},window.sharing_js_options&&window.sharing_js_options.counts){var c={done_urls:[],get_counts:function(){var e,n,o,i,r;if("undefined"!=typeof WPCOM_sharing_counts)for(e in WPCOM_sharing_counts)if(o=WPCOM_sharing_counts[e],void 0===c.done_urls[o]){for(i in n={pinterest:[window.location.protocol+"//api.pinterest.com/v1/urls/count.json?callback=WPCOMSharing.update_pinterest_count&url="+encodeURIComponent(e)]})if(document.querySelector("a[data-shared=sharing-"+i+"-"+o+"]")){for(;r=n[i].pop();)t(r);window.sharing_js_options.is_stats_active&&c.bump_sharing_count_stat(i)}c.done_urls[o]=!0}},update_pinterest_count:function(e){void 0!==e.count&&1*e.count>0&&c.inject_share_count("sharing-pinterest-"+WPCOM_sharing_counts[e.url],e.count)},inject_share_count:function(e,t){i(document.querySelectorAll("a[data-shared="+e+"] > span"),(function(e){var n,o=e.querySelector(".share-count");(n=o)&&n.parentNode&&n.parentNode.removeChild(n);var i=document.createElement("span");i.className="share-count",i.textContent=c.format_count(t),e.appendChild(i)}))},format_count:function(e){return e<1e3?e:e>=1e3&&e<1e4?String(e).substring(0,1)+"K+":"10K+"},bump_sharing_count_stat:function(e){(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv&x_sharing-count-request="+e+"&r="+Math.random()}};window.WPCOMSharing=c}function u(e,t){e.setAttribute("jetpack-share-click-count",t)}function l(e){var t=e.getAttribute("jetpack-share-click-count");return null===t?0:parseInt(t,10)}function d(e,t){var n,o=new XMLHttpRequest;o.open("POST",e,!0),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),o.setRequestHeader("x-requested-with","XMLHttpRequest"),o.send((n=t,(encodeURIComponent("email-share-nonce")+"="+encodeURIComponent(n)).replace(/%20/g,"+")))}function h(){p()}function p(){window.WPCOMSharing&&window.WPCOMSharing.get_counts(),i(document.querySelectorAll(".sharedaddy a"),(function(e){var t=e.getAttribute("href");t&&-1!==t.indexOf("share=")&&-1===t.indexOf("&nb=1")&&e.setAttribute("href",t+"&nb=1")})),i(document.querySelectorAll(".sharedaddy a.sharing-anchor"),(function(e){a.instantiateOrReuse(e)})),void 0!==document.ontouchstart&&document.body.classList.add("jp-sharing-input-touch"),i(document.querySelectorAll(".sharedaddy ul"),(function(e){"true"!==e.getAttribute("data-sharing-events-added")&&(e.setAttribute("data-sharing-events-added","true"),i(e.querySelectorAll("a.share-print"),(function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation();var n=e.getAttribute("href")||"",i=function(){if(-1===n.indexOf("#print")){var e=(new Date).getTime();t=e,o=n,(i=document.createElement("iframe")).setAttribute("style","position:fixed; top:100; left:100; height:1px; width:1px; border:none;"),i.setAttribute("id","printFrame-"+t),i.setAttribute("name",i.getAttribute("id")),i.setAttribute("src",o),i.setAttribute("onload",'frames["printFrame-'+t+'"].focus();frames["printFrame-'+t+'"].print();'),document.body.appendChild(i)}else window.print();var t,o,i},s=o(e,r);if(s){var c=a.getButtonInstanceFromPane(s);c&&(c.close(),i())}else i()}))})),i(e.querySelectorAll("a.share-press-this"),(function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation();var n="";if(window.getSelection?n=window.getSelection():document.getSelection?n=document.getSelection():document.selection&&(n=document.selection.createRange().text),n){var o=e.getAttribute("href");e.setAttribute("href",o+"&sel="+encodeURI(n))}window.open(e.getAttribute("href"),"t","toolbar=0,resizable=1,scrollbars=1,status=1,width=720,height=570")||(document.location.href=e.getAttribute("href"))}))})),i(e.querySelectorAll("a.share-email"),(function(t){u(t,0);var n,o,r=t.getAttribute("data-email-share-nonce"),s=t.getAttribute("data-email-share-track-url");r&&s&&(n=s,o=window.location.protocol+"//"+window.location.hostname+"/",0===String(n).indexOf(o))&&t.addEventListener("click",(function(){var n;u(n=t,l(n)+1),l(t)>2&&function(e,t){var n=t.parentElement;if(n.classList.contains("sd-content")){i(n.querySelectorAll(".share-email-error"),(function(e){e.parentElement.removeChild(e)}));var o=document.createElement("div");o.className="share-email-error";var r=document.createElement("h6");r.className="share-email-error-title",r.innerText=e.getAttribute("data-email-share-error-title"),o.appendChild(r);var s=document.createElement("p");s.className="share-email-error-text",s.innerText=e.getAttribute("data-email-share-error-text"),o.appendChild(s),n.appendChild(o)}}(t,e),d(s,r)}))})))})),i(document.querySelectorAll("li.share-email, li.share-custom a.sharing-anchor"),(function(e){e.classList.add("share-service-visible")}))}"loading"!==document.readyState?h():document.addEventListener("DOMContentLoaded",h),document.body.addEventListener("is.post-load",p)}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/brightcove.min.asset.php b/plugins/jetpack/_inc/build/shortcodes/js/brightcove.min.asset.php
index e8a2f0c9..38408aa4 100644
--- a/plugins/jetpack/_inc/build/shortcodes/js/brightcove.min.asset.php
+++ b/plugins/jetpack/_inc/build/shortcodes/js/brightcove.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'a6251d8ad1bde75a52a19280170b6dd6'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '92bb18f44d3a5d374d7c');
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/gist.min.js b/plugins/jetpack/_inc/build/shortcodes/js/gist.min.js
deleted file mode 100644
index f2382024..00000000
--- a/plugins/jetpack/_inc/build/shortcodes/js/gist.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-!function(t,e){var a=!1,s=function(){t(".gist-oembed").each(function(e,s){var i="https://gist.github.com/"+t(s).data("gist"),n=Number.parseInt(t(s).data("ts"),10);t.ajax({url:i,dataType:"jsonp"}).done(function(e){if(n&&8!==n?t(s).replaceWith(t(e.div).css("tab-size",n.toString())):t(s).replaceWith(e.div),!a){var i='<link rel="stylesheet" href="'+e.stylesheet+'" type="text/css" />';t("head").append(i),a=!0}})})};t(document).ready(s),t("body").on("post-load",s)}(jQuery); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/instagram.min.js b/plugins/jetpack/_inc/build/shortcodes/js/instagram.min.js
deleted file mode 100644
index 58674b6d..00000000
--- a/plugins/jetpack/_inc/build/shortcodes/js/instagram.min.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/* global window */
-!function(){var e=function(){if(void 0!==window.instgrm&&window.instgrm.Embeds&&"function"==typeof window.instgrm.Embeds.process)window.instgrm.Embeds.process();else{var e=document.createElement("script");e.async=!0,e.defer=!0,e.src="//platform.instagram.com/en_US/embeds.js",document.getElementsByTagName("body")[0].appendChild(e)}};"undefined"!=typeof jQuery&&"undefined"!=typeof infiniteScroll&&jQuery(document.body).on("post-load",e),e()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/jmpress.min.asset.php b/plugins/jetpack/_inc/build/shortcodes/js/jmpress.min.asset.php
index 49fc2af2..06c6c61e 100644
--- a/plugins/jetpack/_inc/build/shortcodes/js/jmpress.min.asset.php
+++ b/plugins/jetpack/_inc/build/shortcodes/js/jmpress.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '4788f972d53b1d20a8b4a8e482e5e91a'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '3aabac136726876e08ec');
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/main.min.asset.php b/plugins/jetpack/_inc/build/shortcodes/js/main.min.asset.php
index b4ae7529..14a9ccab 100644
--- a/plugins/jetpack/_inc/build/shortcodes/js/main.min.asset.php
+++ b/plugins/jetpack/_inc/build/shortcodes/js/main.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '0c901f0f0fbffab3bdd5e5e6995e7d03'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'd76f137be7e6a0a35901');
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/quiz.min.asset.php b/plugins/jetpack/_inc/build/shortcodes/js/quiz.min.asset.php
index 3ed39275..8dfb4c10 100644
--- a/plugins/jetpack/_inc/build/shortcodes/js/quiz.min.asset.php
+++ b/plugins/jetpack/_inc/build/shortcodes/js/quiz.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'fc0284fce49acf40c2399a2b9f706e28'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'a29052d603dcb1eaf457');
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/recipes-printthis.min.asset.php b/plugins/jetpack/_inc/build/shortcodes/js/recipes-printthis.min.asset.php
index 59bc59cf..483ee797 100644
--- a/plugins/jetpack/_inc/build/shortcodes/js/recipes-printthis.min.asset.php
+++ b/plugins/jetpack/_inc/build/shortcodes/js/recipes-printthis.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '7753ff296d2d1b7fda6fc14f1c251333'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '7ebd6c426e9dcc8430a1');
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/recipes.min.asset.php b/plugins/jetpack/_inc/build/shortcodes/js/recipes.min.asset.php
index 9ce324d2..419877ed 100644
--- a/plugins/jetpack/_inc/build/shortcodes/js/recipes.min.asset.php
+++ b/plugins/jetpack/_inc/build/shortcodes/js/recipes.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'f2dece01db99a81c05e9aa2a1ac7e1b7'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '240efe31222831edf88b');
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.asset.php b/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.asset.php
index 4e1d58d7..4b0311ea 100644
--- a/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.asset.php
+++ b/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '57f60263f852dffc35ed7671ff760b02'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '16593ecd19f0d0787c17');
diff --git a/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.js b/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.js
index 036b53f6..d3cad065 100644
--- a/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.js
+++ b/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.js
@@ -1 +1 @@
-!function(){function e(e,t,i){this.element=e,this.images=[],this.controls={},this.transition=t||"fade",this.autostart=i}e.prototype.showLoadingImage=function(e){if(e){this.loadingImage_=document.createElement("div"),this.loadingImage_.className="slideshow-loading";var t=document.createElement("img");t.src=jetpackSlideshowSettings.spinner,this.loadingImage_.appendChild(t),this.loadingImage_.appendChild(this.makeZeroWidthSpan()),this.element.append(this.loadingImage_)}else this.loadingImage_&&(this.loadingImage_.parentNode.removeChild(this.loadingImage_),this.loadingImage_=null)},e.prototype.init=function(){this.showLoadingImage(!0);for(var e=this,t=0;t<this.images.length;t++){var i=this.images[t],s=document.createElement("img");s.src=i.src,s.title=void 0!==i.title?i.title:"",s.alt=void 0!==i.alt?i.alt:"",s.align="middle",s.setAttribute("itemprop","image"),s.nopin="nopin";var n=document.createElement("div");n.className="slideshow-slide-caption",n.setAttribute("itemprop","caption description"),n.innerHTML=i.caption;var o=document.createElement("div");o.className="slideshow-slide",o.setAttribute("itemprop","associatedMedia"),o.setAttribute("itemscope",""),o.setAttribute("itemtype","https://schema.org/ImageObject"),0===t&&(s.complete?setTimeout((function(){e.finishInit_()}),1):jQuery(s).load((function(){e.finishInit_()}))),o.appendChild(s),s.removeAttribute("width"),s.removeAttribute("height"),o.appendChild(this.makeZeroWidthSpan()),o.appendChild(n),this.element.append(o)}},e.prototype.makeZeroWidthSpan=function(){var e=document.createElement("span");return e.className="slideshow-line-height-hack",-1!==window.navigator.userAgent.indexOf("MSIE ")?e.appendChild(document.createTextNode(" ")):e.innerHTML="&nbsp;",e},e.prototype.finishInit_=function(){this.showLoadingImage(!1),this.renderControls_();var e=this;if(this.images.length>1){this.element.cycle({fx:this.transition,prev:this.controls.prev,next:this.controls.next,timeout:jetpackSlideshowSettings.speed,slideExpr:".slideshow-slide",onPrevNextEvent:function(){return e.onCyclePrevNextClick_.apply(e,arguments)}});var t=this.element;this.autostart||(t.cycle("pause"),jQuery(this.controls.stop).removeClass("running"),jQuery(this.controls.stop).addClass("paused")),jQuery(this.controls.stop).click((function(){var e=jQuery(this);return e.hasClass("paused")?(e.addClass("running"),e.removeClass("paused"),t.cycle("resume",!0)):(t.cycle("pause"),e.removeClass("running"),e.addClass("paused")),!1}))}else this.element.children(":first").show(),this.element.css("position","relative");this.initialized_=!0},e.prototype.renderControls_=function(){if(!this.controlsDiv_){var e=document.createElement("div");e.className="slideshow-controls";for(var t=["prev","stop","next"],i=0;i<t.length;i++){var s=t[i],n="label_"+s,o=document.createElement("a");o.href="#",o.className="button-"+s,o.setAttribute("aria-label",jetpackSlideshowSettings[n]),o.setAttribute("role","button"),e.appendChild(o),this.controls[s]=o}this.element.append(e),this.controlsDiv_=e}},e.prototype.onCyclePrevNextClick_=function(e,t){if(jetpackSlideshowSettings.blog_id){var i=this.images[t].id;(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?host="+escape(document.location.host)+"&rand="+Math.random()+"&blog="+jetpackSlideshowSettings.blog_id+"&subd="+jetpackSlideshowSettings.blog_subdomain+"&user_id="+jetpackSlideshowSettings.user_id+"&post="+i+"&ref="+escape(document.location)}},function(t){function i(){t(".jetpack-slideshow-noscript").remove(),t(".jetpack-slideshow").each((function(){var i=t(this);if(!i.data("processed")){var s=new e(i,i.data("trans"),i.data("autostart"));s.images=i.data("gallery"),s.init(),i.data("processed",!0)}}))}t(document).ready(i),t("body").on("post-load",i)}(jQuery)}(); \ No newline at end of file
+!function(){function e(e,t,i){this.element=e,this.images=[],this.controls={},this.transition=t||"fade",this.autostart=i}e.prototype.showLoadingImage=function(e){if(e){this.loadingImage_=document.createElement("div"),this.loadingImage_.className="jetpack-slideshow-loading";var t=document.createElement("img");t.src=jetpackSlideshowSettings.spinner,this.loadingImage_.appendChild(t),this.loadingImage_.appendChild(this.makeZeroWidthSpan()),this.element.append(this.loadingImage_)}else this.loadingImage_&&(this.loadingImage_.parentNode.removeChild(this.loadingImage_),this.loadingImage_=null)},e.prototype.init=function(){this.showLoadingImage(!0);for(var e=this,t=0;t<this.images.length;t++){var i=this.images[t],s=document.createElement("img");s.src=i.src,s.title=void 0!==i.title?i.title:"",s.alt=void 0!==i.alt?i.alt:"",s.align="middle",s.setAttribute("itemprop","image"),s.nopin="nopin";var n=document.createElement("div");n.className="jetpack-slideshow-slide-caption",n.setAttribute("itemprop","caption description"),n.innerHTML=i.caption;var a=document.createElement("div");a.className="jetpack-slideshow-slide",a.setAttribute("itemprop","associatedMedia"),a.setAttribute("itemscope",""),a.setAttribute("itemtype","https://schema.org/ImageObject"),0===t&&(s.complete?setTimeout((function(){e.finishInit_()}),1):jQuery(s).load((function(){e.finishInit_()}))),a.appendChild(s),s.removeAttribute("width"),s.removeAttribute("height"),a.appendChild(this.makeZeroWidthSpan()),a.appendChild(n),this.element.append(a)}},e.prototype.makeZeroWidthSpan=function(){var e=document.createElement("span");return e.className="jetpack-slideshow-line-height-hack",-1!==window.navigator.userAgent.indexOf("MSIE ")?e.appendChild(document.createTextNode(" ")):e.innerHTML="&nbsp;",e},e.prototype.finishInit_=function(){this.showLoadingImage(!1),this.renderControls_();var e=this;if(this.images.length>1){this.element.cycle({fx:this.transition,prev:this.controls.prev,next:this.controls.next,timeout:jetpackSlideshowSettings.speed,slideExpr:".jetpack-slideshow-slide",onPrevNextEvent:function(){return e.onCyclePrevNextClick_.apply(e,arguments)}});var t=this.element;this.autostart||(t.cycle("pause"),jQuery(this.controls.stop).removeClass("running"),jQuery(this.controls.stop).addClass("paused")),jQuery(this.controls.stop).click((function(){var e=jQuery(this);return e.hasClass("paused")?(e.addClass("running"),e.removeClass("paused"),t.cycle("resume",!0)):(t.cycle("pause"),e.removeClass("running"),e.addClass("paused")),!1}))}else this.element.children(":first").show(),this.element.css("position","relative");this.initialized_=!0},e.prototype.renderControls_=function(){if(!this.controlsDiv_){var e=document.createElement("div");e.className="jetpack-slideshow-controls";for(var t=["prev","stop","next"],i=0;i<t.length;i++){var s=t[i],n="label_"+s,a=document.createElement("a");a.href="#",a.className="button-"+s,a.setAttribute("aria-label",jetpackSlideshowSettings[n]),a.setAttribute("role","button"),e.appendChild(a),this.controls[s]=a}this.element.append(e),this.controlsDiv_=e}},e.prototype.onCyclePrevNextClick_=function(e,t){if(jetpackSlideshowSettings.blog_id){var i=this.images[t].id;(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?host="+escape(document.location.host)+"&rand="+Math.random()+"&blog="+jetpackSlideshowSettings.blog_id+"&subd="+jetpackSlideshowSettings.blog_subdomain+"&user_id="+jetpackSlideshowSettings.user_id+"&post="+i+"&ref="+escape(document.location)}},function(t){function i(){t(".jetpack-slideshow-noscript").remove(),t(".jetpack-slideshow").each((function(){var i=t(this);if(!i.data("processed")){var s=new e(i,i.data("trans"),i.data("autostart"));s.images=i.data("gallery"),s.init(),i.data("processed",!0)}}))}t(document).ready(i),t("body").on("post-load",i)}(jQuery)}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/spin.min.js b/plugins/jetpack/_inc/build/spin.min.js
deleted file mode 100644
index d0ce0979..00000000
--- a/plugins/jetpack/_inc/build/spin.min.js
+++ /dev/null
@@ -1,7 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-//fgnass.github.com/spin.js#v1.3
-/**
- * Copyright (c) 2011-2013 Felix Gnass
- * Licensed under the MIT license
- */
-!function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Spinner=e()}(this,function(){"use strict";var t,e=["webkit","Moz","ms","O"],i={};function o(t,e){var i,o=document.createElement(t||"div");for(i in e)o[i]=e[i];return o}function r(t){for(var e=1,i=arguments.length;e<i;e++)t.appendChild(arguments[e]);return t}var n,s=(n=o("style",{type:"text/css"}),r(document.getElementsByTagName("head")[0],n),n.sheet||n.styleSheet);function a(e,o,r,n){var a=["opacity",o,~~(100*e),r,n].join("-"),l=.01+r/n*100,f=Math.max(1-(1-e)/o*(100-l),e),p=t.substring(0,t.indexOf("Animation")).toLowerCase(),d=p&&"-"+p+"-"||"";return i[a]||(s.insertRule("@"+d+"keyframes "+a+"{0%{opacity:"+f+"}"+l+"%{opacity:"+e+"}"+(l+.01)+"%{opacity:1}"+(l+o)%100+"%{opacity:"+e+"}100%{opacity:"+f+"}}",s.cssRules.length),i[a]=1),a}function l(t,i){var o,r,n=t.style;if(void 0!==n[i])return i;for(i=i.charAt(0).toUpperCase()+i.slice(1),r=0;r<e.length;r++)if(void 0!==n[o=e[r]+i])return o}function f(t,e){for(var i in e)t.style[l(t,i)||i]=e[i];return t}function p(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)void 0===t[o]&&(t[o]=i[o])}return t}function d(t){for(var e={x:t.offsetLeft,y:t.offsetTop};t=t.offsetParent;)e.x+=t.offsetLeft,e.y+=t.offsetTop;return e}var c={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"auto",left:"auto",position:"relative"};function u(t){if(void 0===this)return new u(t);this.opts=p(t||{},u.defaults,c)}u.defaults={},p(u.prototype,{spin:function(e){this.stop();var i,r,n=this,s=n.opts,a=n.el=f(o(0,{className:s.className}),{position:s.position,width:0,zIndex:s.zIndex}),l=s.radius+s.length+s.width;if(e&&(e.insertBefore(a,e.firstChild||null),r=d(e),i=d(a),f(a,{left:("auto"==s.left?r.x-i.x+(e.offsetWidth>>1):parseInt(s.left,10)+l)+"px",top:("auto"==s.top?r.y-i.y+(e.offsetHeight>>1):parseInt(s.top,10)+l)+"px"})),a.setAttribute("role","progressbar"),n.lines(a,n.opts),!t){var p,c=0,u=(s.lines-1)*(1-s.direction)/2,h=s.fps,y=h/s.speed,m=(1-s.opacity)/(y*s.trail/100),v=y/s.lines;!function t(){c++;for(var e=0;e<s.lines;e++)p=Math.max(1-(c+(s.lines-e)*v)%y*m,s.opacity),n.opacity(a,e*s.direction+u,p,s);n.timeout=n.el&&setTimeout(t,~~(1e3/h))}()}return n},stop:function(){var t=this.el;return t&&(clearTimeout(this.timeout),t.parentNode&&t.parentNode.removeChild(t),this.el=void 0),this},lines:function(e,i){var n,s=0,l=(i.lines-1)*(1-i.direction)/2;function p(t,e){return f(o(),{position:"absolute",width:i.length+i.width+"px",height:i.width+"px",background:t,boxShadow:e,transformOrigin:"left",transform:"rotate("+~~(360/i.lines*s+i.rotate)+"deg) translate("+i.radius+"px,0)",borderRadius:(i.corners*i.width>>1)+"px"})}for(;s<i.lines;s++)n=f(o(),{position:"absolute",top:1+~(i.width/2)+"px",transform:i.hwaccel?"translate3d(0,0,0)":"",opacity:i.opacity,animation:t&&a(i.opacity,i.trail,l+s*i.direction,i.lines)+" "+1/i.speed+"s linear infinite"}),i.shadow&&r(n,f(p("#000","0 0 4px #000"),{top:"2px"})),r(e,r(n,p(i.color,"0 0 1px rgba(0,0,0,.1)")));return e},opacity:function(t,e,i){e<t.childNodes.length&&(t.childNodes[e].style.opacity=i)}});var h=f(o("group"),{behavior:"url(#default#VML)"});return!l(h,"transform")&&h.adj?function(){function t(t,e){return o("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',e)}s.addRule(".spin-vml","behavior:url(#default#VML)"),u.prototype.lines=function(e,i){var o=i.length+i.width,n=2*o;function s(){return f(t("group",{coordsize:n+" "+n,coordorigin:-o+" "+-o}),{width:n,height:n})}var a,l=2*-(i.width+i.length)+"px",p=f(s(),{position:"absolute",top:l,left:l});function d(e,n,a){r(p,r(f(s(),{rotation:360/i.lines*e+"deg",left:~~n}),r(f(t("roundrect",{arcsize:i.corners}),{width:o,height:i.width,left:i.radius,top:-i.width>>1,filter:a}),t("fill",{color:i.color,opacity:i.opacity}),t("stroke",{opacity:0}))))}if(i.shadow)for(a=1;a<=i.lines;a++)d(a,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(a=1;a<=i.lines;a++)d(a);return r(e,p)},u.prototype.opacity=function(t,e,i,o){var r=t.firstChild;o=o.shadow&&o.lines||0,r&&e+o<r.childNodes.length&&(r=(r=(r=r.childNodes[e+o])&&r.firstChild)&&r.firstChild)&&(r.opacity=i)}}():t=l(h,"animation"),u}); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/static.css b/plugins/jetpack/_inc/build/static.css
deleted file mode 100644
index 68dcf6c5..00000000
--- a/plugins/jetpack/_inc/build/static.css
+++ /dev/null
@@ -1 +0,0 @@
-.dops-button{background:#f3f5f6;border:1px solid #0071a1;color:#0071a1;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:13px;border-radius:3px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dops-button:hover{background:#f1f1f1;border-color:#016087;color:#016087}.dops-button:disabled,.dops-button[disabled]{color:#eee;background:#fff;border-color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#0071a1;box-shadow:0 0 0 1px #0071a1}.dops-button.is-compact{padding:0 10px;line-height:2}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{top:4px;margin-top:-8px}.dops-button.is-compact .gridicons-plus-small{margin-left:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-left:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-left:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{position:relative;top:4px;margin-top:-2px;width:18px;height:18px}.dops-button.is-primary{background:#007cba;border-color:#007cba;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{border-color:#0071a1;background:#0071a1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0071a1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{color:#66c6e4!important;background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;text-shadow:none!important;cursor:default}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{color:#f4cdcd;border-color:#eee}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{width:24px;height:24px;top:6px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{color:#eee;background:#fff;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{width:18px;height:18px;top:5px}.dops-button-group .dops-button{border-left-width:0;border-radius:0}.dops-button-group .dops-button:focus{position:relative;z-index:z-index("button-group-parent",".button-group .button:focus")}.dops-button-group .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0071a1}.dops-button-group .dops-button.is-scary:focus{box-shadow:inset 1px 0 0 #d94f4f,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-primary.is-scary:focus{box-shadow:inset 1px 0 0 #761919,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-scary:first-child:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button-group .dops-button:first-child{border-left-width:1px;border-top-left-radius:4px;border-bottom-left-radius:4px}.dops-button-group .dops-button:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.dops-section-header .dops-button-group .dops-button{margin-right:0}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-card{display:block;position:relative;margin:0 auto 10px;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px #ccd0d4,0 1px 1px 1px rgba(0,0,0,.04)}.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media (min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-right:48px}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;position:absolute;top:0;right:16px}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#007cba,20%)}#jp-plugin-container{min-height:100vh}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-notice{display:flex;position:relative;width:100%;margin-bottom:24px;box-sizing:border-box;animation:appear .3s ease-in-out;background:#414141;color:#fff;border-radius:3px;line-height:1.5}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#007cba}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{background:#747474;color:#fff;display:flex;align-items:baseline;width:47px;justify-content:center;border-radius:3px 0 0 3px;flex-shrink:0;align-self:stretch}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media (min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content{padding:13px;font-size:12px;flex-grow:1}@media (min-width:481px){.dops-notice__content{font-size:14px}}.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{text-decoration:underline;color:#fff}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-left:0}.dops-notice__text li{margin-left:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-left:.428em}.dops-notice__dismiss{flex-shrink:0;cursor:pointer;padding:12px 12px 0}.dops-notice__dismiss .gridicon{width:18px;height:18px}@media (min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{width:24px;height:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{cursor:pointer;font-size:12px;font-weight:400;text-decoration:none;white-space:nowrap;color:#bbb;padding:13px;display:flex;align-items:center}@media (min-width:481px){a.dops-notice__action{flex-shrink:1;flex-grow:0;align-items:center;border-radius:0;font-size:14px;margin:0 0 0 auto;padding:13px 16px}a.dops-notice__action .gridicon{width:24px;height:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{margin-left:8px;opacity:.7;width:18px;height:18px}.dops-notice.is-compact{display:inline-flex;flex-wrap:nowrap;flex-direction:row;width:auto;border-radius:3px;min-height:20px;margin:0;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;line-height:1.5}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{width:18px;height:18px;margin:0}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{position:relative;align-self:center;flex:none;margin:0 8px 0 0;padding:0}.dops-notice.is-compact .dops-notice__dismiss .gridicon{width:18px;height:18px}.dops-notice.is-compact a.dops-notice__action{background:transparent;display:inline-block;font-size:12px;align-self:center;margin:0 0 0 16px;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{margin-left:8px;width:14px;height:14px;vertical-align:sub;opacity:1} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/static.html b/plugins/jetpack/_inc/build/static.html
index acb541ba..887e578a 100644
--- a/plugins/jetpack/_inc/build/static.html
+++ b/plugins/jetpack/_inc/build/static.html
@@ -1 +1 @@
-<div><div id="jp-plugin-container"><div class="jp-masthead"><div class="jp-masthead__inside-container"><div class="jp-masthead__logo-container"><a class="jp-masthead__logo-link" href="#dashboard"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 118 32" class="jetpack-logo jetpack-logo__masthead" aria-labelledby="jetpack-logo-title" height="32"><title id="jetpack-logo-title">Jetpack Logo</title><path fill="#069e08" 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"></path><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"></path><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"></path><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"></path><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"></path><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"></path><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"></path><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"></path></svg></a></div></div></div><div class="jp-loading-placeholder"><span class="dashicons dashicons-wordpress-alt"></span></div><div class="jp-footer"><ul class="jp-footer__links"><li class="jp-footer__link-item"><a href="https://jetpack.com/redirect/?source=jetpack" target="_blank" rel="noopener noreferrer" class="jp-footer__link" title="Jetpack version">Jetpack</a></li><li class="jp-footer__link-item"><a href="https://jetpack.com/redirect/?source=jetpack" class="jp-footer__link" title="About Jetpack">About</a></li><li class="jp-footer__link-item"><a href="https://jetpack.com/redirect/?source=wpcom-tos" target="_blank" rel="noopener noreferrer" title="WordPress.com Terms of Service" class="jp-footer__link">Terms</a></li><li class="jp-footer__link-item"><a href="https://jetpack.com/redirect/?source=a8c-privacy" rel="noopener noreferrer" title="Automattic&#x27;s Privacy Policy" class="jp-footer__link">Privacy</a></li></ul><div class="jp-footer__rna-footer"><div class="jp-dashboard-footer"><div class="jp-dashboard-footer__footer-left"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 32 32" class="jetpack-logo jp-dashboard-footer__jetpack-symbol" aria-labelledby="jetpack-logo-title" height="16" aria-label="Jetpack logo"><title id="jetpack-logo-title">Jetpack Logo</title><path fill="#000" 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"></path></svg><span class="jp-dashboard-footer__module-name">Jetpack</span></div><div class="jp-dashboard-footer__footer-right"><a href="https://jetpack.com/redirect/?source=jetpack" aria-label="An Automattic Airline"><svg role="img" x="0" y="0" viewBox="0 0 935 38.2" enable-background="new 0 0 935 38.2" aria-labelledby="jp-automattic-byline-logo-title" height="7" class="jp-automattic-byline-logo"><title id="jp-automattic-byline-logo-title">An Automattic Airline</title><path d="M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"></path><path d="M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"></path><path d="M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"></path></svg></a></div></div></div></div><style type="text/css">.vp-deactivated{ display: none; }</style></div></div> \ No newline at end of file
+<div><div id="jp-plugin-container"><div class="jp-masthead"><div class="jp-masthead__inside-container"><div class="jp-masthead__logo-container"><a class="jp-masthead__logo-link" href="#dashboard"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 118 32" class="jetpack-logo jetpack-logo__masthead" aria-labelledby="jetpack-logo-title" height="32"><title id="jetpack-logo-title">Jetpack Logo</title><path fill="#069e08" 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"></path><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"></path><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"></path><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"></path><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"></path><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"></path><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"></path><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"></path></svg></a></div></div></div><div class="jp-loading-placeholder"><span class="dashicons dashicons-wordpress-alt"></span></div><div class="jp-footer"><ul class="jp-footer__links"><li class="jp-footer__link-item"><a href="https://jetpack.com/redirect/?source=jetpack" target="_blank" rel="noopener noreferrer" class="jp-footer__link" title="Jetpack version">Jetpack</a></li><li class="jp-footer__link-item"><a href="https://jetpack.com/redirect/?source=jetpack" class="jp-footer__link" title="About Jetpack">About</a></li><li class="jp-footer__link-item"><a href="https://jetpack.com/redirect/?source=wpcom-tos" target="_blank" rel="noopener noreferrer" title="WordPress.com Terms of Service" class="jp-footer__link">Terms</a></li><li class="jp-footer__link-item"><a href="https://jetpack.com/redirect/?source=a8c-privacy" rel="noopener noreferrer" title="Automattic&#x27;s Privacy Policy" class="jp-footer__link">Privacy</a></li></ul><div class="jp-footer__rna-footer"><div class="jp-dashboard-footer"><div class="jp-dashboard-footer__footer-left"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 32 32" class="jetpack-logo jp-dashboard-footer__jetpack-symbol" aria-labelledby="jetpack-logo-title" height="16" aria-label="Jetpack logo"><title id="jetpack-logo-title">Jetpack Logo</title><path fill="#000" 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"></path></svg><span class="jp-dashboard-footer__module-name"><a href="https://jetpack.com" aria-label="Jetpack">Jetpack</a></span></div><div class="jp-dashboard-footer__footer-right"><a href="https://jetpack.com/redirect/?source=jetpack" aria-label="An Automattic Airline"><svg role="img" x="0" y="0" viewBox="0 0 935 38.2" enable-background="new 0 0 935 38.2" aria-labelledby="jp-automattic-byline-logo-title" height="7" class="jp-automattic-byline-logo"><title id="jp-automattic-byline-logo-title">An Automattic Airline</title><path d="M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"></path><path d="M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"></path><path d="M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"></path></svg></a></div></div></div></div><style type="text/css">.vp-deactivated{ display: none; }</style></div></div> \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/static.js b/plugins/jetpack/_inc/build/static.js
deleted file mode 100644
index 17b4feb7..00000000
--- a/plugins/jetpack/_inc/build/static.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see static.js.LICENSE */
-module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=101)}([function(e,t,n){"use strict";e.exports=n(62)},function(e,t,n){(function(e){var r;(function(){var i="Expected a function",o="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",c="[object Array]",u="[object Boolean]",l="[object Date]",h="[object Error]",f="[object Function]",p="[object GeneratorFunction]",d="[object Map]",v="[object Number]",g="[object Object]",m="[object RegExp]",y="[object Set]",w="[object String]",_="[object Symbol]",E="[object WeakMap]",b="[object ArrayBuffer]",C="[object DataView]",k="[object Float32Array]",S="[object Float64Array]",x="[object Int8Array]",O="[object Int16Array]",T="[object Int32Array]",z="[object Uint8Array]",M="[object Uint16Array]",P="[object Uint32Array]",j=/\b__p \+= '';/g,A=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,D=/&(?:amp|lt|gt|quot|#39);/g,F=/[&<>"']/g,L=RegExp(D.source),I=RegExp(F.source),R=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,U=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/[\\^$.*+?()[\]{}|]/g,G=RegExp(W.source),K=/^\s+|\s+$/g,$=/^\s+/,q=/\s+$/,J=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ne=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,oe=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,se=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,le=/['\n\r\u2028\u2029\\]/g,he="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",fe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="[\\ud800-\\udfff]",de="["+fe+"]",ve="["+he+"]",ge="\\d+",me="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",we="[^\\ud800-\\udfff"+fe+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_e="\\ud83c[\\udffb-\\udfff]",Ee="[^\\ud800-\\udfff]",be="(?:\\ud83c[\\udde6-\\uddff]){2}",Ce="[\\ud800-\\udbff][\\udc00-\\udfff]",ke="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Se="(?:"+ye+"|"+we+")",xe="(?:"+ke+"|"+we+")",Oe="(?:"+ve+"|"+_e+")"+"?",Te="[\\ufe0e\\ufe0f]?"+Oe+("(?:\\u200d(?:"+[Ee,be,Ce].join("|")+")[\\ufe0e\\ufe0f]?"+Oe+")*"),ze="(?:"+[me,be,Ce].join("|")+")"+Te,Me="(?:"+[Ee+ve+"?",ve,be,Ce,pe].join("|")+")",Pe=RegExp("['’]","g"),je=RegExp(ve,"g"),Ae=RegExp(_e+"(?="+_e+")|"+Me+Te,"g"),Ne=RegExp([ke+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[de,ke,"$"].join("|")+")",xe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[de,ke+Se,"$"].join("|")+")",ke+"?"+Se+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ke+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ge,ze].join("|"),"g"),De=RegExp("[\\u200d\\ud800-\\udfff"+he+"\\ufe0e\\ufe0f]"),Fe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Le=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ie=-1,Re={};Re[k]=Re[S]=Re[x]=Re[O]=Re[T]=Re[z]=Re["[object Uint8ClampedArray]"]=Re[M]=Re[P]=!0,Re[s]=Re[c]=Re[b]=Re[u]=Re[C]=Re[l]=Re[h]=Re[f]=Re[d]=Re[v]=Re[g]=Re[m]=Re[y]=Re[w]=Re[E]=!1;var He={};He[s]=He[c]=He[b]=He[C]=He[u]=He[l]=He[k]=He[S]=He[x]=He[O]=He[T]=He[d]=He[v]=He[g]=He[m]=He[y]=He[w]=He[_]=He[z]=He["[object Uint8ClampedArray]"]=He[M]=He[P]=!0,He[h]=He[f]=He[E]=!1;var Ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ue=parseFloat,Ye=parseInt,Be="object"==typeof window&&window&&window.Object===Object&&window,We="object"==typeof self&&self&&self.Object===Object&&self,Ge=Be||We||Function("return this")(),Ke=t&&!t.nodeType&&t,$e=Ke&&"object"==typeof e&&e&&!e.nodeType&&e,qe=$e&&$e.exports===Ke,Je=qe&&Be.process,Ze=function(){try{var e=$e&&$e.require&&$e.require("util").types;return e||Je&&Je.binding&&Je.binding("util")}catch(t){}}(),Qe=Ze&&Ze.isArrayBuffer,Xe=Ze&&Ze.isDate,et=Ze&&Ze.isMap,tt=Ze&&Ze.isRegExp,nt=Ze&&Ze.isSet,rt=Ze&&Ze.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function ot(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function at(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function st(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function ut(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function lt(e,t){return!!(null==e?0:e.length)&&_t(e,t,0)>-1}function ht(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function ft(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function pt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function dt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function vt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function gt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var mt=kt("length");function yt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function wt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function _t(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):wt(e,bt,n)}function Et(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function bt(e){return e!=e}function Ct(e,t){var n=null==e?0:e.length;return n?Ot(e,t)/n:NaN}function kt(e){return function(t){return null==t?void 0:t[e]}}function St(e){return function(t){return null==e?void 0:e[t]}}function xt(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Ot(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function Tt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function zt(e){return function(t){return e(t)}}function Mt(e,t){return ft(t,(function(t){return e[t]}))}function Pt(e,t){return e.has(t)}function jt(e,t){for(var n=-1,r=e.length;++n<r&&_t(t,e[n],0)>-1;);return n}function At(e,t){for(var n=e.length;n--&&_t(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Dt=St({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Ft=St({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Lt(e){return"\\"+Ve[e]}function It(e){return De.test(e)}function Rt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ht(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var s=e[n];s!==t&&s!==o||(e[n]=o,a[i++]=n)}return a}function Ut(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Yt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Bt(e){return It(e)?function(e){var t=Ae.lastIndex=0;for(;Ae.test(e);)++t;return t}(e):mt(e)}function Wt(e){return It(e)?function(e){return e.match(Ae)||[]}(e):function(e){return e.split("")}(e)}var Gt=St({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Kt=function e(t){var n,r=(t=null==t?Ge:Kt.defaults(Ge.Object(),t,Kt.pick(Ge,Le))).Array,he=t.Date,fe=t.Error,pe=t.Function,de=t.Math,ve=t.Object,ge=t.RegExp,me=t.String,ye=t.TypeError,we=r.prototype,_e=pe.prototype,Ee=ve.prototype,be=t["__core-js_shared__"],Ce=_e.toString,ke=Ee.hasOwnProperty,Se=0,xe=(n=/[^.]+$/.exec(be&&be.keys&&be.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Oe=Ee.toString,Te=Ce.call(ve),ze=Ge._,Me=ge("^"+Ce.call(ke).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ae=qe?t.Buffer:void 0,De=t.Symbol,Ve=t.Uint8Array,Be=Ae?Ae.allocUnsafe:void 0,We=Ht(ve.getPrototypeOf,ve),Ke=ve.create,$e=Ee.propertyIsEnumerable,Je=we.splice,Ze=De?De.isConcatSpreadable:void 0,mt=De?De.iterator:void 0,St=De?De.toStringTag:void 0,$t=function(){try{var e=Xi(ve,"defineProperty");return e({},"",{}),e}catch(t){}}(),qt=t.clearTimeout!==Ge.clearTimeout&&t.clearTimeout,Jt=he&&he.now!==Ge.Date.now&&he.now,Zt=t.setTimeout!==Ge.setTimeout&&t.setTimeout,Qt=de.ceil,Xt=de.floor,en=ve.getOwnPropertySymbols,tn=Ae?Ae.isBuffer:void 0,nn=t.isFinite,rn=we.join,on=Ht(ve.keys,ve),an=de.max,sn=de.min,cn=he.now,un=t.parseInt,ln=de.random,hn=we.reverse,fn=Xi(t,"DataView"),pn=Xi(t,"Map"),dn=Xi(t,"Promise"),vn=Xi(t,"Set"),gn=Xi(t,"WeakMap"),mn=Xi(ve,"create"),yn=gn&&new gn,wn={},_n=Oo(fn),En=Oo(pn),bn=Oo(dn),Cn=Oo(vn),kn=Oo(gn),Sn=De?De.prototype:void 0,xn=Sn?Sn.valueOf:void 0,On=Sn?Sn.toString:void 0;function Tn(e){if(Ba(e)&&!Aa(e)&&!(e instanceof jn)){if(e instanceof Pn)return e;if(ke.call(e,"__wrapped__"))return To(e)}return new Pn(e)}var zn=function(){function e(){}return function(t){if(!Ya(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Mn(){}function Pn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function jn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function An(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Dn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Dn;++t<n;)this.add(e[t])}function Ln(e){var t=this.__data__=new Nn(e);this.size=t.size}function In(e,t){var n=Aa(e),r=!n&&ja(e),i=!n&&!r&&La(e),o=!n&&!r&&!i&&Qa(e),a=n||r||i||o,s=a?Tt(e.length,me):[],c=s.length;for(var u in e)!t&&!ke.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ao(u,c))||s.push(u);return s}function Rn(e){var t=e.length;return t?e[Fr(0,t-1)]:void 0}function Hn(e,t){return ko(mi(e),qn(t,0,e.length))}function Vn(e){return ko(mi(e))}function Un(e,t,n){(void 0===n||za(e[t],n))&&(void 0!==n||t in e)||Kn(e,t,n)}function Yn(e,t,n){var r=e[t];ke.call(e,t)&&za(r,n)&&(void 0!==n||t in e)||Kn(e,t,n)}function Bn(e,t){for(var n=e.length;n--;)if(za(e[n][0],t))return n;return-1}function Wn(e,t,n,r){return er(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Gn(e,t){return e&&yi(t,_s(t),e)}function Kn(e,t,n){"__proto__"==t&&$t?$t(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function $n(e,t){for(var n=-1,i=t.length,o=r(i),a=null==e;++n<i;)o[n]=a?void 0:vs(e,t[n]);return o}function qn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,r,i,o){var a,c=1&t,h=2&t,E=4&t;if(n&&(a=i?n(e,r,i,o):n(e)),void 0!==a)return a;if(!Ya(e))return e;var j=Aa(e);if(j){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&ke.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return mi(e,a)}else{var A=no(e),N=A==f||A==p;if(La(e))return hi(e,c);if(A==g||A==s||N&&!i){if(a=h||N?{}:io(e),!c)return h?function(e,t){return yi(e,to(e),t)}(e,function(e,t){return e&&yi(t,Es(t),e)}(a,e)):function(e,t){return yi(e,eo(e),t)}(e,Gn(a,e))}else{if(!He[A])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case b:return fi(e);case u:case l:return new r(+e);case C:return function(e,t){var n=t?fi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case k:case S:case x:case O:case T:case z:case"[object Uint8ClampedArray]":case M:case P:return pi(e,n);case d:return new r;case v:case w:return new r(e);case m:return function(e){var t=new e.constructor(e.source,ne.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case _:return i=e,xn?ve(xn.call(i)):{}}var i}(e,A,c)}}o||(o=new Ln);var D=o.get(e);if(D)return D;o.set(e,a),qa(e)?e.forEach((function(r){a.add(Jn(r,t,n,r,e,o))})):Wa(e)&&e.forEach((function(r,i){a.set(i,Jn(r,t,n,i,e,o))}));var F=j?void 0:(E?h?Gi:Wi:h?Es:_s)(e);return at(F||e,(function(r,i){F&&(r=e[i=r]),Yn(a,i,Jn(r,t,n,i,e,o))})),a}function Zn(e,t,n){var r=n.length;if(null==e)return!r;for(e=ve(e);r--;){var i=n[r],o=t[i],a=e[i];if(void 0===a&&!(i in e)||!o(a))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ye(i);return _o((function(){e.apply(void 0,n)}),t)}function Xn(e,t,n,r){var i=-1,o=lt,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=ft(t,zt(n))),r?(o=ht,a=!1):t.length>=200&&(o=Pt,a=!1,t=new Fn(t));e:for(;++i<s;){var l=e[i],h=null==n?l:n(l);if(l=r||0!==l?l:0,a&&h==h){for(var f=u;f--;)if(t[f]===h)continue e;c.push(l)}else o(t,h,r)||c.push(l)}return c}Tn.templateSettings={escape:R,evaluate:H,interpolate:V,variable:"",imports:{_:Tn}},Tn.prototype=Mn.prototype,Tn.prototype.constructor=Tn,Pn.prototype=zn(Mn.prototype),Pn.prototype.constructor=Pn,jn.prototype=zn(Mn.prototype),jn.prototype.constructor=jn,An.prototype.clear=function(){this.__data__=mn?mn(null):{},this.size=0},An.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},An.prototype.get=function(e){var t=this.__data__;if(mn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return ke.call(t,e)?t[e]:void 0},An.prototype.has=function(e){var t=this.__data__;return mn?void 0!==t[e]:ke.call(t,e)},An.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=mn&&void 0===t?"__lodash_hash_undefined__":t,this},Nn.prototype.clear=function(){this.__data__=[],this.size=0},Nn.prototype.delete=function(e){var t=this.__data__,n=Bn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Je.call(t,n,1),--this.size,!0)},Nn.prototype.get=function(e){var t=this.__data__,n=Bn(t,e);return n<0?void 0:t[n][1]},Nn.prototype.has=function(e){return Bn(this.__data__,e)>-1},Nn.prototype.set=function(e,t){var n=this.__data__,r=Bn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Dn.prototype.clear=function(){this.size=0,this.__data__={hash:new An,map:new(pn||Nn),string:new An}},Dn.prototype.delete=function(e){var t=Zi(this,e).delete(e);return this.size-=t?1:0,t},Dn.prototype.get=function(e){return Zi(this,e).get(e)},Dn.prototype.has=function(e){return Zi(this,e).has(e)},Dn.prototype.set=function(e,t){var n=Zi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Fn.prototype.add=Fn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Fn.prototype.has=function(e){return this.__data__.has(e)},Ln.prototype.clear=function(){this.__data__=new Nn,this.size=0},Ln.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ln.prototype.get=function(e){return this.__data__.get(e)},Ln.prototype.has=function(e){return this.__data__.has(e)},Ln.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Nn){var r=n.__data__;if(!pn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Dn(r)}return n.set(e,t),this.size=n.size,this};var er=Ei(cr),tr=Ei(ur,!0);function nr(e,t){var n=!0;return er(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function rr(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a==a&&!Za(a):n(a,s)))var s=a,c=o}return c}function ir(e,t){var n=[];return er(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function or(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=oo),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?or(s,t-1,n,r,i):pt(i,s):r||(i[i.length]=s)}return i}var ar=bi(),sr=bi(!0);function cr(e,t){return e&&ar(e,t,_s)}function ur(e,t){return e&&sr(e,t,_s)}function lr(e,t){return ut(t,(function(t){return Ha(e[t])}))}function hr(e,t){for(var n=0,r=(t=si(t,e)).length;null!=e&&n<r;)e=e[xo(t[n++])];return n&&n==r?e:void 0}function fr(e,t,n){var r=t(e);return Aa(e)?r:pt(r,n(e))}function pr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":St&&St in ve(e)?function(e){var t=ke.call(e,St),n=e[St];try{e[St]=void 0;var r=!0}catch(o){}var i=Oe.call(e);r&&(t?e[St]=n:delete e[St]);return i}(e):function(e){return Oe.call(e)}(e)}function dr(e,t){return e>t}function vr(e,t){return null!=e&&ke.call(e,t)}function gr(e,t){return null!=e&&t in ve(e)}function mr(e,t,n){for(var i=n?ht:lt,o=e[0].length,a=e.length,s=a,c=r(a),u=1/0,l=[];s--;){var h=e[s];s&&t&&(h=ft(h,zt(t))),u=sn(h.length,u),c[s]=!n&&(t||o>=120&&h.length>=120)?new Fn(s&&h):void 0}h=e[0];var f=-1,p=c[0];e:for(;++f<o&&l.length<u;){var d=h[f],v=t?t(d):d;if(d=n||0!==d?d:0,!(p?Pt(p,v):i(l,v,n))){for(s=a;--s;){var g=c[s];if(!(g?Pt(g,v):i(e[s],v,n)))continue e}p&&p.push(v),l.push(d)}}return l}function yr(e,t,n){var r=null==(e=go(e,t=si(t,e)))?e:e[xo(Ro(t))];return null==r?void 0:it(r,e,n)}function wr(e){return Ba(e)&&pr(e)==s}function _r(e,t,n,r,i){return e===t||(null==e||null==t||!Ba(e)&&!Ba(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var a=Aa(e),f=Aa(t),p=a?c:no(e),E=f?c:no(t),k=(p=p==s?g:p)==g,S=(E=E==s?g:E)==g,x=p==E;if(x&&La(e)){if(!La(t))return!1;a=!0,k=!1}if(x&&!k)return o||(o=new Ln),a||Qa(e)?Yi(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case b:return!(e.byteLength!=t.byteLength||!o(new Ve(e),new Ve(t)));case u:case l:case v:return za(+e,+t);case h:return e.name==t.name&&e.message==t.message;case m:case w:return e==t+"";case d:var s=Rt;case y:var c=1&r;if(s||(s=Ut),e.size!=t.size&&!c)return!1;var f=a.get(e);if(f)return f==t;r|=2,a.set(e,t);var p=Yi(s(e),s(t),r,i,o,a);return a.delete(e),p;case _:if(xn)return xn.call(e)==xn.call(t)}return!1}(e,t,p,n,r,i,o);if(!(1&n)){var O=k&&ke.call(e,"__wrapped__"),T=S&&ke.call(t,"__wrapped__");if(O||T){var z=O?e.value():e,M=T?t.value():t;return o||(o=new Ln),i(z,M,n,r,o)}}if(!x)return!1;return o||(o=new Ln),function(e,t,n,r,i,o){var a=1&n,s=Wi(e),c=s.length,u=Wi(t).length;if(c!=u&&!a)return!1;var l=c;for(;l--;){var h=s[l];if(!(a?h in t:ke.call(t,h)))return!1}var f=o.get(e);if(f&&o.get(t))return f==t;var p=!0;o.set(e,t),o.set(t,e);var d=a;for(;++l<c;){h=s[l];var v=e[h],g=t[h];if(r)var m=a?r(g,v,h,t,e,o):r(v,g,h,e,t,o);if(!(void 0===m?v===g||i(v,g,n,r,o):m)){p=!1;break}d||(d="constructor"==h)}if(p&&!d){var y=e.constructor,w=t.constructor;y!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w)&&(p=!1)}return o.delete(e),o.delete(t),p}(e,t,n,r,i,o)}(e,t,n,r,_r,i))}function Er(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=ve(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var c=(s=n[i])[0],u=e[c],l=s[1];if(a&&s[2]){if(void 0===u&&!(c in e))return!1}else{var h=new Ln;if(r)var f=r(u,l,c,e,t,h);if(!(void 0===f?_r(l,u,3,r,h):f))return!1}}return!0}function br(e){return!(!Ya(e)||(t=e,xe&&xe in t))&&(Ha(e)?Me:oe).test(Oo(e));var t}function Cr(e){return"function"==typeof e?e:null==e?Gs:"object"==typeof e?Aa(e)?zr(e[0],e[1]):Tr(e):tc(e)}function kr(e){if(!ho(e))return on(e);var t=[];for(var n in ve(e))ke.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Sr(e){if(!Ya(e))return function(e){var t=[];if(null!=e)for(var n in ve(e))t.push(n);return t}(e);var t=ho(e),n=[];for(var r in e)("constructor"!=r||!t&&ke.call(e,r))&&n.push(r);return n}function xr(e,t){return e<t}function Or(e,t){var n=-1,i=Da(e)?r(e.length):[];return er(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function Tr(e){var t=Qi(e);return 1==t.length&&t[0][2]?po(t[0][0],t[0][1]):function(n){return n===e||Er(n,e,t)}}function zr(e,t){return co(e)&&fo(t)?po(xo(e),t):function(n){var r=vs(n,e);return void 0===r&&r===t?gs(n,e):_r(t,r,3)}}function Mr(e,t,n,r,i){e!==t&&ar(t,(function(o,a){if(i||(i=new Ln),Ya(o))!function(e,t,n,r,i,o,a){var s=yo(e,n),c=yo(t,n),u=a.get(c);if(u)return void Un(e,n,u);var l=o?o(s,c,n+"",e,t,a):void 0,h=void 0===l;if(h){var f=Aa(c),p=!f&&La(c),d=!f&&!p&&Qa(c);l=c,f||p||d?Aa(s)?l=s:Fa(s)?l=mi(s):p?(h=!1,l=hi(c,!0)):d?(h=!1,l=pi(c,!0)):l=[]:Ka(c)||ja(c)?(l=s,ja(s)?l=as(s):Ya(s)&&!Ha(s)||(l=io(c))):h=!1}h&&(a.set(c,l),i(l,c,r,o,a),a.delete(c));Un(e,n,l)}(e,t,a,n,Mr,r,i);else{var s=r?r(yo(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),Un(e,a,s)}}),Es)}function Pr(e,t){var n=e.length;if(n)return ao(t+=t<0?n:0,n)?e[t]:void 0}function jr(e,t,n){var r=-1;return t=ft(t.length?t:[Gs],zt(Ji())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Or(e,(function(e,n,i){return{criteria:ft(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;for(;++r<a;){var c=di(i[r],o[r]);if(c){if(r>=s)return c;var u=n[r];return c*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)}))}function Ar(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=hr(e,a);n(s,a)&&Vr(o,si(a,e),s)}return o}function Nr(e,t,n,r){var i=r?Et:_t,o=-1,a=t.length,s=e;for(e===t&&(t=mi(t)),n&&(s=ft(e,zt(n)));++o<a;)for(var c=0,u=t[o],l=n?n(u):u;(c=i(s,l,c,r))>-1;)s!==e&&Je.call(s,c,1),Je.call(e,c,1);return e}function Dr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;ao(i)?Je.call(e,i,1):Xr(e,i)}}return e}function Fr(e,t){return e+Xt(ln()*(t-e+1))}function Lr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Xt(t/2))&&(e+=e)}while(t);return n}function Ir(e,t){return Eo(vo(e,t,Gs),e+"")}function Rr(e){return Rn(zs(e))}function Hr(e,t){var n=zs(e);return ko(n,qn(t,0,n.length))}function Vr(e,t,n,r){if(!Ya(e))return e;for(var i=-1,o=(t=si(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var c=xo(t[i]),u=n;if(i!=a){var l=s[c];void 0===(u=r?r(l,c,s):void 0)&&(u=Ya(l)?l:ao(t[i+1])?[]:{})}Yn(s,c,u),s=s[c]}return e}var Ur=yn?function(e,t){return yn.set(e,t),e}:Gs,Yr=$t?function(e,t){return $t(e,"toString",{configurable:!0,enumerable:!1,value:Ys(t),writable:!0})}:Gs;function Br(e){return ko(zs(e))}function Wr(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=r(o);++i<o;)a[i]=e[i+t];return a}function Gr(e,t){var n;return er(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function Kr(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!Za(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return $r(e,t,Gs,n)}function $r(e,t,n,r){t=n(t);for(var i=0,o=null==e?0:e.length,a=t!=t,s=null===t,c=Za(t),u=void 0===t;i<o;){var l=Xt((i+o)/2),h=n(e[l]),f=void 0!==h,p=null===h,d=h==h,v=Za(h);if(a)var g=r||d;else g=u?d&&(r||f):s?d&&f&&(r||!p):c?d&&f&&!p&&(r||!v):!p&&!v&&(r?h<=t:h<t);g?i=l+1:o=l}return sn(o,4294967294)}function qr(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!za(s,c)){var c=s;o[i++]=0===a?0:a}}return o}function Jr(e){return"number"==typeof e?e:Za(e)?NaN:+e}function Zr(e){if("string"==typeof e)return e;if(Aa(e))return ft(e,Zr)+"";if(Za(e))return On?On.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qr(e,t,n){var r=-1,i=lt,o=e.length,a=!0,s=[],c=s;if(n)a=!1,i=ht;else if(o>=200){var u=t?null:Li(e);if(u)return Ut(u);a=!1,i=Pt,c=new Fn}else c=t?[]:s;e:for(;++r<o;){var l=e[r],h=t?t(l):l;if(l=n||0!==l?l:0,a&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue e;t&&c.push(h),s.push(l)}else i(c,h,n)||(c!==s&&c.push(h),s.push(l))}return s}function Xr(e,t){return null==(e=go(e,t=si(t,e)))||delete e[xo(Ro(t))]}function ei(e,t,n,r){return Vr(e,t,n(hr(e,t)),r)}function ti(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Wr(e,r?0:o,r?o+1:i):Wr(e,r?o+1:0,r?i:o)}function ni(e,t){var n=e;return n instanceof jn&&(n=n.value()),dt(t,(function(e,t){return t.func.apply(t.thisArg,pt([e],t.args))}),n)}function ri(e,t,n){var i=e.length;if(i<2)return i?Qr(e[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=e[o],c=-1;++c<i;)c!=o&&(a[o]=Xn(a[o]||s,e[c],t,n));return Qr(or(a,1),t,n)}function ii(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=r<o?t[r]:void 0;n(a,e[r],s)}return a}function oi(e){return Fa(e)?e:[]}function ai(e){return"function"==typeof e?e:Gs}function si(e,t){return Aa(e)?e:co(e,t)?[e]:So(ss(e))}var ci=Ir;function ui(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Wr(e,t,n)}var li=qt||function(e){return Ge.clearTimeout(e)};function hi(e,t){if(t)return e.slice();var n=e.length,r=Be?Be(n):new e.constructor(n);return e.copy(r),r}function fi(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function pi(e,t){var n=t?fi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function di(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=Za(e),a=void 0!==t,s=null===t,c=t==t,u=Za(t);if(!s&&!u&&!o&&e>t||o&&a&&c&&!s&&!u||r&&a&&c||!n&&c||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!c)return-1}return 0}function vi(e,t,n,i){for(var o=-1,a=e.length,s=n.length,c=-1,u=t.length,l=an(a-s,0),h=r(u+l),f=!i;++c<u;)h[c]=t[c];for(;++o<s;)(f||o<a)&&(h[n[o]]=e[o]);for(;l--;)h[c++]=e[o++];return h}function gi(e,t,n,i){for(var o=-1,a=e.length,s=-1,c=n.length,u=-1,l=t.length,h=an(a-c,0),f=r(h+l),p=!i;++o<h;)f[o]=e[o];for(var d=o;++u<l;)f[d+u]=t[u];for(;++s<c;)(p||o<a)&&(f[d+n[s]]=e[o++]);return f}function mi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function yi(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],c=r?r(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),i?Kn(n,s,c):Yn(n,s,c)}return n}function wi(e,t){return function(n,r){var i=Aa(n)?ot:Wn,o=t?t():{};return i(n,e,Ji(r,2),o)}}function _i(e){return Ir((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&so(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=ve(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t}))}function Ei(e,t){return function(n,r){if(null==n)return n;if(!Da(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=ve(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function bi(e){return function(t,n,r){for(var i=-1,o=ve(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}function Ci(e){return function(t){var n=It(t=ss(t))?Wt(t):void 0,r=n?n[0]:t.charAt(0),i=n?ui(n,1).join(""):t.slice(1);return r[e]()+i}}function ki(e){return function(t){return dt(Hs(js(t).replace(Pe,"")),e,"")}}function Si(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(e.prototype),r=e.apply(n,t);return Ya(r)?r:n}}function xi(e){return function(t,n,r){var i=ve(t);if(!Da(t)){var o=Ji(n,3);t=_s(t),n=function(e){return o(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[o?t[a]:a]:void 0}}function Oi(e){return Bi((function(t){var n=t.length,r=n,o=Pn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ye(i);if(o&&!s&&"wrapper"==$i(a))var s=new Pn([],!0)}for(r=s?r:n;++r<n;){var c=$i(a=t[r]),u="wrapper"==c?Ki(a):void 0;s=u&&uo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?s[$i(u[0])].apply(s,u[3]):1==a.length&&uo(a)?s[c]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Aa(r))return s.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Ti(e,t,n,i,o,a,s,c,u,l){var h=128&t,f=1&t,p=2&t,d=24&t,v=512&t,g=p?void 0:Si(e);return function m(){for(var y=arguments.length,w=r(y),_=y;_--;)w[_]=arguments[_];if(d)var E=qi(m),b=Nt(w,E);if(i&&(w=vi(w,i,o,d)),a&&(w=gi(w,a,s,d)),y-=b,d&&y<l){var C=Vt(w,E);return Di(e,t,Ti,m.placeholder,n,w,C,c,u,l-y)}var k=f?n:this,S=p?k[e]:e;return y=w.length,c?w=mo(w,c):v&&y>1&&w.reverse(),h&&u<y&&(w.length=u),this&&this!==Ge&&this instanceof m&&(S=g||Si(S)),S.apply(k,w)}}function zi(e,t){return function(n,r){return function(e,t,n,r){return cr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Mi(e,t){return function(n,r){var i;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=Zr(n),r=Zr(r)):(n=Jr(n),r=Jr(r)),i=e(n,r)}return i}}function Pi(e){return Bi((function(t){return t=ft(t,zt(Ji())),Ir((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function ji(e,t){var n=(t=void 0===t?" ":Zr(t)).length;if(n<2)return n?Lr(t,e):t;var r=Lr(t,Qt(e/Bt(t)));return It(t)?ui(Wt(r),0,e).join(""):r.slice(0,e)}function Ai(e){return function(t,n,i){return i&&"number"!=typeof i&&so(t,n,i)&&(n=i=void 0),t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n,i){for(var o=-1,a=an(Qt((t-e)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=e,e+=n;return s}(t,n,i=void 0===i?t<n?1:-1:ns(i),e)}}function Ni(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=os(t),n=os(n)),e(t,n)}}function Di(e,t,n,r,i,o,a,s,c,u){var l=8&t;t|=l?32:64,4&(t&=~(l?64:32))||(t&=-4);var h=[e,t,i,l?o:void 0,l?a:void 0,l?void 0:o,l?void 0:a,s,c,u],f=n.apply(void 0,h);return uo(e)&&wo(f,h),f.placeholder=r,bo(f,e,t)}function Fi(e){var t=de[e];return function(e,n){if(e=os(e),(n=null==n?0:sn(rs(n),292))&&nn(e)){var r=(ss(e)+"e").split("e");return+((r=(ss(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Li=vn&&1/Ut(new vn([,-0]))[1]==1/0?function(e){return new vn(e)}:Zs;function Ii(e){return function(t){var n=no(t);return n==d?Rt(t):n==y?Yt(t):function(e,t){return ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ri(e,t,n,a,s,c,u,l){var h=2&t;if(!h&&"function"!=typeof e)throw new ye(i);var f=a?a.length:0;if(f||(t&=-97,a=s=void 0),u=void 0===u?u:an(rs(u),0),l=void 0===l?l:rs(l),f-=s?s.length:0,64&t){var p=a,d=s;a=s=void 0}var v=h?void 0:Ki(e),g=[e,t,n,a,s,p,d,c,u,l];if(v&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!s)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var c=t[3];if(c){var u=e[3];e[3]=u?vi(u,c,t[4]):c,e[4]=u?Vt(e[3],o):t[4]}(c=t[5])&&(u=e[5],e[5]=u?gi(u,c,t[6]):c,e[6]=u?Vt(e[5],o):t[6]);(c=t[7])&&(e[7]=c);128&r&&(e[8]=null==e[8]?t[8]:sn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(g,v),e=g[0],t=g[1],n=g[2],a=g[3],s=g[4],!(l=g[9]=void 0===g[9]?h?0:e.length:an(g[9]-f,0))&&24&t&&(t&=-25),t&&1!=t)m=8==t||16==t?function(e,t,n){var i=Si(e);return function o(){for(var a=arguments.length,s=r(a),c=a,u=qi(o);c--;)s[c]=arguments[c];var l=a<3&&s[0]!==u&&s[a-1]!==u?[]:Vt(s,u);if((a-=l.length)<n)return Di(e,t,Ti,o.placeholder,void 0,s,l,void 0,void 0,n-a);var h=this&&this!==Ge&&this instanceof o?i:e;return it(h,this,s)}}(e,t,l):32!=t&&33!=t||s.length?Ti.apply(void 0,g):function(e,t,n,i){var o=1&t,a=Si(e);return function t(){for(var s=-1,c=arguments.length,u=-1,l=i.length,h=r(l+c),f=this&&this!==Ge&&this instanceof t?a:e;++u<l;)h[u]=i[u];for(;c--;)h[u++]=arguments[++s];return it(f,o?n:this,h)}}(e,t,n,a);else var m=function(e,t,n){var r=1&t,i=Si(e);return function t(){var o=this&&this!==Ge&&this instanceof t?i:e;return o.apply(r?n:this,arguments)}}(e,t,n);return bo((v?Ur:wo)(m,g),e,t)}function Hi(e,t,n,r){return void 0===e||za(e,Ee[n])&&!ke.call(r,n)?t:e}function Vi(e,t,n,r,i,o){return Ya(e)&&Ya(t)&&(o.set(t,e),Mr(e,t,void 0,Vi,o),o.delete(t)),e}function Ui(e){return Ka(e)?void 0:e}function Yi(e,t,n,r,i,o){var a=1&n,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var l=-1,h=!0,f=2&n?new Fn:void 0;for(o.set(e,t),o.set(t,e);++l<s;){var p=e[l],d=t[l];if(r)var v=a?r(d,p,l,t,e,o):r(p,d,l,e,t,o);if(void 0!==v){if(v)continue;h=!1;break}if(f){if(!gt(t,(function(e,t){if(!Pt(f,t)&&(p===e||i(p,e,n,r,o)))return f.push(t)}))){h=!1;break}}else if(p!==d&&!i(p,d,n,r,o)){h=!1;break}}return o.delete(e),o.delete(t),h}function Bi(e){return Eo(vo(e,void 0,No),e+"")}function Wi(e){return fr(e,_s,eo)}function Gi(e){return fr(e,Es,to)}var Ki=yn?function(e){return yn.get(e)}:Zs;function $i(e){for(var t=e.name+"",n=wn[t],r=ke.call(wn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function qi(e){return(ke.call(Tn,"placeholder")?Tn:e).placeholder}function Ji(){var e=Tn.iteratee||Ks;return e=e===Ks?Cr:e,arguments.length?e(arguments[0],arguments[1]):e}function Zi(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Qi(e){for(var t=_s(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,fo(i)]}return t}function Xi(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return br(n)?n:void 0}var eo=en?function(e){return null==e?[]:(e=ve(e),ut(en(e),(function(t){return $e.call(e,t)})))}:ic,to=en?function(e){for(var t=[];e;)pt(t,eo(e)),e=We(e);return t}:ic,no=pr;function ro(e,t,n){for(var r=-1,i=(t=si(t,e)).length,o=!1;++r<i;){var a=xo(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ua(i)&&ao(a,i)&&(Aa(e)||ja(e))}function io(e){return"function"!=typeof e.constructor||ho(e)?{}:zn(We(e))}function oo(e){return Aa(e)||ja(e)||!!(Ze&&e&&e[Ze])}function ao(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&se.test(e))&&e>-1&&e%1==0&&e<t}function so(e,t,n){if(!Ya(n))return!1;var r=typeof t;return!!("number"==r?Da(n)&&ao(t,n.length):"string"==r&&t in n)&&za(n[t],e)}function co(e,t){if(Aa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Za(e))||(Y.test(e)||!U.test(e)||null!=t&&e in ve(t))}function uo(e){var t=$i(e),n=Tn[t];if("function"!=typeof n||!(t in jn.prototype))return!1;if(e===n)return!0;var r=Ki(n);return!!r&&e===r[0]}(fn&&no(new fn(new ArrayBuffer(1)))!=C||pn&&no(new pn)!=d||dn&&"[object Promise]"!=no(dn.resolve())||vn&&no(new vn)!=y||gn&&no(new gn)!=E)&&(no=function(e){var t=pr(e),n=t==g?e.constructor:void 0,r=n?Oo(n):"";if(r)switch(r){case _n:return C;case En:return d;case bn:return"[object Promise]";case Cn:return y;case kn:return E}return t});var lo=be?Ha:oc;function ho(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ee)}function fo(e){return e==e&&!Ya(e)}function po(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in ve(n)))}}function vo(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=an(i.length-t,0),s=r(a);++o<a;)s[o]=i[t+o];o=-1;for(var c=r(t+1);++o<t;)c[o]=i[o];return c[t]=n(s),it(e,this,c)}}function go(e,t){return t.length<2?e:hr(e,Wr(t,0,-1))}function mo(e,t){for(var n=e.length,r=sn(t.length,n),i=mi(e);r--;){var o=t[r];e[r]=ao(o,n)?i[o]:void 0}return e}function yo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var wo=Co(Ur),_o=Zt||function(e,t){return Ge.setTimeout(e,t)},Eo=Co(Yr);function bo(e,t,n){var r=t+"";return Eo(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(J,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!lt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Z);return t?t[1].split(Q):[]}(r),n)))}function Co(e){var t=0,n=0;return function(){var r=cn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ko(e,t){var n=-1,r=e.length,i=r-1;for(t=void 0===t?r:t;++n<t;){var o=Fr(n,i),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}var So=function(e){var t=Ca(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(B,(function(e,n,r,i){t.push(r?i.replace(ee,"$1"):n||e)})),t}));function xo(e){if("string"==typeof e||Za(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Oo(e){if(null!=e){try{return Ce.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function To(e){if(e instanceof jn)return e.clone();var t=new Pn(e.__wrapped__,e.__chain__);return t.__actions__=mi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zo=Ir((function(e,t){return Fa(e)?Xn(e,or(t,1,Fa,!0)):[]})),Mo=Ir((function(e,t){var n=Ro(t);return Fa(n)&&(n=void 0),Fa(e)?Xn(e,or(t,1,Fa,!0),Ji(n,2)):[]})),Po=Ir((function(e,t){var n=Ro(t);return Fa(n)&&(n=void 0),Fa(e)?Xn(e,or(t,1,Fa,!0),void 0,n):[]}));function jo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:rs(n);return i<0&&(i=an(r+i,0)),wt(e,Ji(t,3),i)}function Ao(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=rs(n),i=n<0?an(r+i,0):sn(i,r-1)),wt(e,Ji(t,3),i,!0)}function No(e){return(null==e?0:e.length)?or(e,1):[]}function Do(e){return e&&e.length?e[0]:void 0}var Fo=Ir((function(e){var t=ft(e,oi);return t.length&&t[0]===e[0]?mr(t):[]})),Lo=Ir((function(e){var t=Ro(e),n=ft(e,oi);return t===Ro(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?mr(n,Ji(t,2)):[]})),Io=Ir((function(e){var t=Ro(e),n=ft(e,oi);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?mr(n,void 0,t):[]}));function Ro(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Ho=Ir(Vo);function Vo(e,t){return e&&e.length&&t&&t.length?Nr(e,t):e}var Uo=Bi((function(e,t){var n=null==e?0:e.length,r=$n(e,t);return Dr(e,ft(t,(function(e){return ao(e,n)?+e:e})).sort(di)),r}));function Yo(e){return null==e?e:hn.call(e)}var Bo=Ir((function(e){return Qr(or(e,1,Fa,!0))})),Wo=Ir((function(e){var t=Ro(e);return Fa(t)&&(t=void 0),Qr(or(e,1,Fa,!0),Ji(t,2))})),Go=Ir((function(e){var t=Ro(e);return t="function"==typeof t?t:void 0,Qr(or(e,1,Fa,!0),void 0,t)}));function Ko(e){if(!e||!e.length)return[];var t=0;return e=ut(e,(function(e){if(Fa(e))return t=an(e.length,t),!0})),Tt(t,(function(t){return ft(e,kt(t))}))}function $o(e,t){if(!e||!e.length)return[];var n=Ko(e);return null==t?n:ft(n,(function(e){return it(t,void 0,e)}))}var qo=Ir((function(e,t){return Fa(e)?Xn(e,t):[]})),Jo=Ir((function(e){return ri(ut(e,Fa))})),Zo=Ir((function(e){var t=Ro(e);return Fa(t)&&(t=void 0),ri(ut(e,Fa),Ji(t,2))})),Qo=Ir((function(e){var t=Ro(e);return t="function"==typeof t?t:void 0,ri(ut(e,Fa),void 0,t)})),Xo=Ir(Ko);var ea=Ir((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,$o(e,n)}));function ta(e){var t=Tn(e);return t.__chain__=!0,t}function na(e,t){return t(e)}var ra=Bi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return $n(t,e)};return!(t>1||this.__actions__.length)&&r instanceof jn&&ao(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:na,args:[i],thisArg:void 0}),new Pn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)}));var ia=wi((function(e,t,n){ke.call(e,n)?++e[n]:Kn(e,n,1)}));var oa=xi(jo),aa=xi(Ao);function sa(e,t){return(Aa(e)?at:er)(e,Ji(t,3))}function ca(e,t){return(Aa(e)?st:tr)(e,Ji(t,3))}var ua=wi((function(e,t,n){ke.call(e,n)?e[n].push(t):Kn(e,n,[t])}));var la=Ir((function(e,t,n){var i=-1,o="function"==typeof t,a=Da(e)?r(e.length):[];return er(e,(function(e){a[++i]=o?it(t,e,n):yr(e,t,n)})),a})),ha=wi((function(e,t,n){Kn(e,n,t)}));function fa(e,t){return(Aa(e)?ft:Or)(e,Ji(t,3))}var pa=wi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var da=Ir((function(e,t){if(null==e)return[];var n=t.length;return n>1&&so(e,t[0],t[1])?t=[]:n>2&&so(t[0],t[1],t[2])&&(t=[t[0]]),jr(e,or(t,1),[])})),va=Jt||function(){return Ge.Date.now()};function ga(e,t,n){return t=n?void 0:t,Ri(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ma(e,t){var n;if("function"!=typeof t)throw new ye(i);return e=rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ya=Ir((function(e,t,n){var r=1;if(n.length){var i=Vt(n,qi(ya));r|=32}return Ri(e,r,t,n,i)})),wa=Ir((function(e,t,n){var r=3;if(n.length){var i=Vt(n,qi(wa));r|=32}return Ri(t,r,e,n,i)}));function _a(e,t,n){var r,o,a,s,c,u,l=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new ye(i);function d(t){var n=r,i=o;return r=o=void 0,l=t,s=e.apply(i,n)}function v(e){return l=e,c=_o(m,t),h?d(e):s}function g(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-l>=a}function m(){var e=va();if(g(e))return y(e);c=_o(m,function(e){var n=t-(e-u);return f?sn(n,a-(e-l)):n}(e))}function y(e){return c=void 0,p&&r?d(e):(r=o=void 0,s)}function w(){var e=va(),n=g(e);if(r=arguments,o=this,u=e,n){if(void 0===c)return v(u);if(f)return li(c),c=_o(m,t),d(u)}return void 0===c&&(c=_o(m,t)),s}return t=os(t)||0,Ya(n)&&(h=!!n.leading,a=(f="maxWait"in n)?an(os(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),w.cancel=function(){void 0!==c&&li(c),l=0,r=u=o=c=void 0},w.flush=function(){return void 0===c?s:y(va())},w}var Ea=Ir((function(e,t){return Qn(e,1,t)})),ba=Ir((function(e,t,n){return Qn(e,os(t)||0,n)}));function Ca(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ye(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ca.Cache||Dn),n}function ka(e){if("function"!=typeof e)throw new ye(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ca.Cache=Dn;var Sa=ci((function(e,t){var n=(t=1==t.length&&Aa(t[0])?ft(t[0],zt(Ji())):ft(or(t,1),zt(Ji()))).length;return Ir((function(r){for(var i=-1,o=sn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return it(e,this,r)}))})),xa=Ir((function(e,t){return Ri(e,32,void 0,t,Vt(t,qi(xa)))})),Oa=Ir((function(e,t){return Ri(e,64,void 0,t,Vt(t,qi(Oa)))})),Ta=Bi((function(e,t){return Ri(e,256,void 0,void 0,void 0,t)}));function za(e,t){return e===t||e!=e&&t!=t}var Ma=Ni(dr),Pa=Ni((function(e,t){return e>=t})),ja=wr(function(){return arguments}())?wr:function(e){return Ba(e)&&ke.call(e,"callee")&&!$e.call(e,"callee")},Aa=r.isArray,Na=Qe?zt(Qe):function(e){return Ba(e)&&pr(e)==b};function Da(e){return null!=e&&Ua(e.length)&&!Ha(e)}function Fa(e){return Ba(e)&&Da(e)}var La=tn||oc,Ia=Xe?zt(Xe):function(e){return Ba(e)&&pr(e)==l};function Ra(e){if(!Ba(e))return!1;var t=pr(e);return t==h||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ka(e)}function Ha(e){if(!Ya(e))return!1;var t=pr(e);return t==f||t==p||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Va(e){return"number"==typeof e&&e==rs(e)}function Ua(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ya(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ba(e){return null!=e&&"object"==typeof e}var Wa=et?zt(et):function(e){return Ba(e)&&no(e)==d};function Ga(e){return"number"==typeof e||Ba(e)&&pr(e)==v}function Ka(e){if(!Ba(e)||pr(e)!=g)return!1;var t=We(e);if(null===t)return!0;var n=ke.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ce.call(n)==Te}var $a=tt?zt(tt):function(e){return Ba(e)&&pr(e)==m};var qa=nt?zt(nt):function(e){return Ba(e)&&no(e)==y};function Ja(e){return"string"==typeof e||!Aa(e)&&Ba(e)&&pr(e)==w}function Za(e){return"symbol"==typeof e||Ba(e)&&pr(e)==_}var Qa=rt?zt(rt):function(e){return Ba(e)&&Ua(e.length)&&!!Re[pr(e)]};var Xa=Ni(xr),es=Ni((function(e,t){return e<=t}));function ts(e){if(!e)return[];if(Da(e))return Ja(e)?Wt(e):mi(e);if(mt&&e[mt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[mt]());var t=no(e);return(t==d?Rt:t==y?Ut:zs)(e)}function ns(e){return e?(e=os(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rs(e){var t=ns(e),n=t%1;return t==t?n?t-n:t:0}function is(e){return e?qn(rs(e),0,4294967295):0}function os(e){if("number"==typeof e)return e;if(Za(e))return NaN;if(Ya(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ya(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(K,"");var n=ie.test(e);return n||ae.test(e)?Ye(e.slice(2),n?2:8):re.test(e)?NaN:+e}function as(e){return yi(e,Es(e))}function ss(e){return null==e?"":Zr(e)}var cs=_i((function(e,t){if(ho(t)||Da(t))yi(t,_s(t),e);else for(var n in t)ke.call(t,n)&&Yn(e,n,t[n])})),us=_i((function(e,t){yi(t,Es(t),e)})),ls=_i((function(e,t,n,r){yi(t,Es(t),e,r)})),hs=_i((function(e,t,n,r){yi(t,_s(t),e,r)})),fs=Bi($n);var ps=Ir((function(e,t){e=ve(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&so(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=Es(o),s=-1,c=a.length;++s<c;){var u=a[s],l=e[u];(void 0===l||za(l,Ee[u])&&!ke.call(e,u))&&(e[u]=o[u])}return e})),ds=Ir((function(e){return e.push(void 0,Vi),it(Cs,void 0,e)}));function vs(e,t,n){var r=null==e?void 0:hr(e,t);return void 0===r?n:r}function gs(e,t){return null!=e&&ro(e,t,gr)}var ms=zi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Oe.call(t)),e[t]=n}),Ys(Gs)),ys=zi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Oe.call(t)),ke.call(e,t)?e[t].push(n):e[t]=[n]}),Ji),ws=Ir(yr);function _s(e){return Da(e)?In(e):kr(e)}function Es(e){return Da(e)?In(e,!0):Sr(e)}var bs=_i((function(e,t,n){Mr(e,t,n)})),Cs=_i((function(e,t,n,r){Mr(e,t,n,r)})),ks=Bi((function(e,t){var n={};if(null==e)return n;var r=!1;t=ft(t,(function(t){return t=si(t,e),r||(r=t.length>1),t})),yi(e,Gi(e),n),r&&(n=Jn(n,7,Ui));for(var i=t.length;i--;)Xr(n,t[i]);return n}));var Ss=Bi((function(e,t){return null==e?{}:function(e,t){return Ar(e,t,(function(t,n){return gs(e,n)}))}(e,t)}));function xs(e,t){if(null==e)return{};var n=ft(Gi(e),(function(e){return[e]}));return t=Ji(t),Ar(e,n,(function(e,n){return t(e,n[0])}))}var Os=Ii(_s),Ts=Ii(Es);function zs(e){return null==e?[]:Mt(e,_s(e))}var Ms=ki((function(e,t,n){return t=t.toLowerCase(),e+(n?Ps(t):t)}));function Ps(e){return Rs(ss(e).toLowerCase())}function js(e){return(e=ss(e))&&e.replace(ce,Dt).replace(je,"")}var As=ki((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ns=ki((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ds=Ci("toLowerCase");var Fs=ki((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ls=ki((function(e,t,n){return e+(n?" ":"")+Rs(t)}));var Is=ki((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Rs=Ci("toUpperCase");function Hs(e,t,n){return e=ss(e),void 0===(t=n?void 0:t)?function(e){return Fe.test(e)}(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.match(X)||[]}(e):e.match(t)||[]}var Vs=Ir((function(e,t){try{return it(e,void 0,t)}catch(n){return Ra(n)?n:new fe(n)}})),Us=Bi((function(e,t){return at(t,(function(t){t=xo(t),Kn(e,t,ya(e[t],e))})),e}));function Ys(e){return function(){return e}}var Bs=Oi(),Ws=Oi(!0);function Gs(e){return e}function Ks(e){return Cr("function"==typeof e?e:Jn(e,1))}var $s=Ir((function(e,t){return function(n){return yr(n,e,t)}})),qs=Ir((function(e,t){return function(n){return yr(e,n,t)}}));function Js(e,t,n){var r=_s(t),i=lr(t,r);null!=n||Ya(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=lr(t,_s(t)));var o=!(Ya(n)&&"chain"in n&&!n.chain),a=Ha(e);return at(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=mi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,pt([this.value()],arguments))})})),e}function Zs(){}var Qs=Pi(ft),Xs=Pi(ct),ec=Pi(gt);function tc(e){return co(e)?kt(xo(e)):function(e){return function(t){return hr(t,e)}}(e)}var nc=Ai(),rc=Ai(!0);function ic(){return[]}function oc(){return!1}var ac=Mi((function(e,t){return e+t}),0),sc=Fi("ceil"),cc=Mi((function(e,t){return e/t}),1),uc=Fi("floor");var lc,hc=Mi((function(e,t){return e*t}),1),fc=Fi("round"),pc=Mi((function(e,t){return e-t}),0);return Tn.after=function(e,t){if("function"!=typeof t)throw new ye(i);return e=rs(e),function(){if(--e<1)return t.apply(this,arguments)}},Tn.ary=ga,Tn.assign=cs,Tn.assignIn=us,Tn.assignInWith=ls,Tn.assignWith=hs,Tn.at=fs,Tn.before=ma,Tn.bind=ya,Tn.bindAll=Us,Tn.bindKey=wa,Tn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Aa(e)?e:[e]},Tn.chain=ta,Tn.chunk=function(e,t,n){t=(n?so(e,t,n):void 0===t)?1:an(rs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=r(Qt(i/t));o<i;)s[a++]=Wr(e,o,o+=t);return s},Tn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Tn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return pt(Aa(n)?mi(n):[n],or(t,1))},Tn.cond=function(e){var t=null==e?0:e.length,n=Ji();return e=t?ft(e,(function(e){if("function"!=typeof e[1])throw new ye(i);return[n(e[0]),e[1]]})):[],Ir((function(n){for(var r=-1;++r<t;){var i=e[r];if(it(i[0],this,n))return it(i[1],this,n)}}))},Tn.conforms=function(e){return function(e){var t=_s(e);return function(n){return Zn(n,e,t)}}(Jn(e,1))},Tn.constant=Ys,Tn.countBy=ia,Tn.create=function(e,t){var n=zn(e);return null==t?n:Gn(n,t)},Tn.curry=function e(t,n,r){var i=Ri(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},Tn.curryRight=function e(t,n,r){var i=Ri(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},Tn.debounce=_a,Tn.defaults=ps,Tn.defaultsDeep=ds,Tn.defer=Ea,Tn.delay=ba,Tn.difference=zo,Tn.differenceBy=Mo,Tn.differenceWith=Po,Tn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Wr(e,(t=n||void 0===t?1:rs(t))<0?0:t,r):[]},Tn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Wr(e,0,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t):[]},Tn.dropRightWhile=function(e,t){return e&&e.length?ti(e,Ji(t,3),!0,!0):[]},Tn.dropWhile=function(e,t){return e&&e.length?ti(e,Ji(t,3),!0):[]},Tn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&so(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=rs(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:rs(r))<0&&(r+=i),r=n>r?0:is(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Tn.filter=function(e,t){return(Aa(e)?ut:ir)(e,Ji(t,3))},Tn.flatMap=function(e,t){return or(fa(e,t),1)},Tn.flatMapDeep=function(e,t){return or(fa(e,t),1/0)},Tn.flatMapDepth=function(e,t,n){return n=void 0===n?1:rs(n),or(fa(e,t),n)},Tn.flatten=No,Tn.flattenDeep=function(e){return(null==e?0:e.length)?or(e,1/0):[]},Tn.flattenDepth=function(e,t){return(null==e?0:e.length)?or(e,t=void 0===t?1:rs(t)):[]},Tn.flip=function(e){return Ri(e,512)},Tn.flow=Bs,Tn.flowRight=Ws,Tn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Tn.functions=function(e){return null==e?[]:lr(e,_s(e))},Tn.functionsIn=function(e){return null==e?[]:lr(e,Es(e))},Tn.groupBy=ua,Tn.initial=function(e){return(null==e?0:e.length)?Wr(e,0,-1):[]},Tn.intersection=Fo,Tn.intersectionBy=Lo,Tn.intersectionWith=Io,Tn.invert=ms,Tn.invertBy=ys,Tn.invokeMap=la,Tn.iteratee=Ks,Tn.keyBy=ha,Tn.keys=_s,Tn.keysIn=Es,Tn.map=fa,Tn.mapKeys=function(e,t){var n={};return t=Ji(t,3),cr(e,(function(e,r,i){Kn(n,t(e,r,i),e)})),n},Tn.mapValues=function(e,t){var n={};return t=Ji(t,3),cr(e,(function(e,r,i){Kn(n,r,t(e,r,i))})),n},Tn.matches=function(e){return Tr(Jn(e,1))},Tn.matchesProperty=function(e,t){return zr(e,Jn(t,1))},Tn.memoize=Ca,Tn.merge=bs,Tn.mergeWith=Cs,Tn.method=$s,Tn.methodOf=qs,Tn.mixin=Js,Tn.negate=ka,Tn.nthArg=function(e){return e=rs(e),Ir((function(t){return Pr(t,e)}))},Tn.omit=ks,Tn.omitBy=function(e,t){return xs(e,ka(Ji(t)))},Tn.once=function(e){return ma(2,e)},Tn.orderBy=function(e,t,n,r){return null==e?[]:(Aa(t)||(t=null==t?[]:[t]),Aa(n=r?void 0:n)||(n=null==n?[]:[n]),jr(e,t,n))},Tn.over=Qs,Tn.overArgs=Sa,Tn.overEvery=Xs,Tn.overSome=ec,Tn.partial=xa,Tn.partialRight=Oa,Tn.partition=pa,Tn.pick=Ss,Tn.pickBy=xs,Tn.property=tc,Tn.propertyOf=function(e){return function(t){return null==e?void 0:hr(e,t)}},Tn.pull=Ho,Tn.pullAll=Vo,Tn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,Ji(n,2)):e},Tn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,void 0,n):e},Tn.pullAt=Uo,Tn.range=nc,Tn.rangeRight=rc,Tn.rearg=Ta,Tn.reject=function(e,t){return(Aa(e)?ut:ir)(e,ka(Ji(t,3)))},Tn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=Ji(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Dr(e,i),n},Tn.rest=function(e,t){if("function"!=typeof e)throw new ye(i);return Ir(e,t=void 0===t?t:rs(t))},Tn.reverse=Yo,Tn.sampleSize=function(e,t,n){return t=(n?so(e,t,n):void 0===t)?1:rs(t),(Aa(e)?Hn:Hr)(e,t)},Tn.set=function(e,t,n){return null==e?e:Vr(e,t,n)},Tn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Vr(e,t,n,r)},Tn.shuffle=function(e){return(Aa(e)?Vn:Br)(e)},Tn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&so(e,t,n)?(t=0,n=r):(t=null==t?0:rs(t),n=void 0===n?r:rs(n)),Wr(e,t,n)):[]},Tn.sortBy=da,Tn.sortedUniq=function(e){return e&&e.length?qr(e):[]},Tn.sortedUniqBy=function(e,t){return e&&e.length?qr(e,Ji(t,2)):[]},Tn.split=function(e,t,n){return n&&"number"!=typeof n&&so(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ss(e))&&("string"==typeof t||null!=t&&!$a(t))&&!(t=Zr(t))&&It(e)?ui(Wt(e),0,n):e.split(t,n):[]},Tn.spread=function(e,t){if("function"!=typeof e)throw new ye(i);return t=null==t?0:an(rs(t),0),Ir((function(n){var r=n[t],i=ui(n,0,t);return r&&pt(i,r),it(e,this,i)}))},Tn.tail=function(e){var t=null==e?0:e.length;return t?Wr(e,1,t):[]},Tn.take=function(e,t,n){return e&&e.length?Wr(e,0,(t=n||void 0===t?1:rs(t))<0?0:t):[]},Tn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Wr(e,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t,r):[]},Tn.takeRightWhile=function(e,t){return e&&e.length?ti(e,Ji(t,3),!1,!0):[]},Tn.takeWhile=function(e,t){return e&&e.length?ti(e,Ji(t,3)):[]},Tn.tap=function(e,t){return t(e),e},Tn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ye(i);return Ya(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),_a(e,t,{leading:r,maxWait:t,trailing:o})},Tn.thru=na,Tn.toArray=ts,Tn.toPairs=Os,Tn.toPairsIn=Ts,Tn.toPath=function(e){return Aa(e)?ft(e,xo):Za(e)?[e]:mi(So(ss(e)))},Tn.toPlainObject=as,Tn.transform=function(e,t,n){var r=Aa(e),i=r||La(e)||Qa(e);if(t=Ji(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Ya(e)&&Ha(o)?zn(We(e)):{}}return(i?at:cr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Tn.unary=function(e){return ga(e,1)},Tn.union=Bo,Tn.unionBy=Wo,Tn.unionWith=Go,Tn.uniq=function(e){return e&&e.length?Qr(e):[]},Tn.uniqBy=function(e,t){return e&&e.length?Qr(e,Ji(t,2)):[]},Tn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},Tn.unset=function(e,t){return null==e||Xr(e,t)},Tn.unzip=Ko,Tn.unzipWith=$o,Tn.update=function(e,t,n){return null==e?e:ei(e,t,ai(n))},Tn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:ei(e,t,ai(n),r)},Tn.values=zs,Tn.valuesIn=function(e){return null==e?[]:Mt(e,Es(e))},Tn.without=qo,Tn.words=Hs,Tn.wrap=function(e,t){return xa(ai(t),e)},Tn.xor=Jo,Tn.xorBy=Zo,Tn.xorWith=Qo,Tn.zip=Xo,Tn.zipObject=function(e,t){return ii(e||[],t||[],Yn)},Tn.zipObjectDeep=function(e,t){return ii(e||[],t||[],Vr)},Tn.zipWith=ea,Tn.entries=Os,Tn.entriesIn=Ts,Tn.extend=us,Tn.extendWith=ls,Js(Tn,Tn),Tn.add=ac,Tn.attempt=Vs,Tn.camelCase=Ms,Tn.capitalize=Ps,Tn.ceil=sc,Tn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=os(n))==n?n:0),void 0!==t&&(t=(t=os(t))==t?t:0),qn(os(e),t,n)},Tn.clone=function(e){return Jn(e,4)},Tn.cloneDeep=function(e){return Jn(e,5)},Tn.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},Tn.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},Tn.conformsTo=function(e,t){return null==t||Zn(e,t,_s(t))},Tn.deburr=js,Tn.defaultTo=function(e,t){return null==e||e!=e?t:e},Tn.divide=cc,Tn.endsWith=function(e,t,n){e=ss(e),t=Zr(t);var r=e.length,i=n=void 0===n?r:qn(rs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Tn.eq=za,Tn.escape=function(e){return(e=ss(e))&&I.test(e)?e.replace(F,Ft):e},Tn.escapeRegExp=function(e){return(e=ss(e))&&G.test(e)?e.replace(W,"\\$&"):e},Tn.every=function(e,t,n){var r=Aa(e)?ct:nr;return n&&so(e,t,n)&&(t=void 0),r(e,Ji(t,3))},Tn.find=oa,Tn.findIndex=jo,Tn.findKey=function(e,t){return yt(e,Ji(t,3),cr)},Tn.findLast=aa,Tn.findLastIndex=Ao,Tn.findLastKey=function(e,t){return yt(e,Ji(t,3),ur)},Tn.floor=uc,Tn.forEach=sa,Tn.forEachRight=ca,Tn.forIn=function(e,t){return null==e?e:ar(e,Ji(t,3),Es)},Tn.forInRight=function(e,t){return null==e?e:sr(e,Ji(t,3),Es)},Tn.forOwn=function(e,t){return e&&cr(e,Ji(t,3))},Tn.forOwnRight=function(e,t){return e&&ur(e,Ji(t,3))},Tn.get=vs,Tn.gt=Ma,Tn.gte=Pa,Tn.has=function(e,t){return null!=e&&ro(e,t,vr)},Tn.hasIn=gs,Tn.head=Do,Tn.identity=Gs,Tn.includes=function(e,t,n,r){e=Da(e)?e:zs(e),n=n&&!r?rs(n):0;var i=e.length;return n<0&&(n=an(i+n,0)),Ja(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&_t(e,t,n)>-1},Tn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:rs(n);return i<0&&(i=an(r+i,0)),_t(e,t,i)},Tn.inRange=function(e,t,n){return t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n){return e>=sn(t,n)&&e<an(t,n)}(e=os(e),t,n)},Tn.invoke=ws,Tn.isArguments=ja,Tn.isArray=Aa,Tn.isArrayBuffer=Na,Tn.isArrayLike=Da,Tn.isArrayLikeObject=Fa,Tn.isBoolean=function(e){return!0===e||!1===e||Ba(e)&&pr(e)==u},Tn.isBuffer=La,Tn.isDate=Ia,Tn.isElement=function(e){return Ba(e)&&1===e.nodeType&&!Ka(e)},Tn.isEmpty=function(e){if(null==e)return!0;if(Da(e)&&(Aa(e)||"string"==typeof e||"function"==typeof e.splice||La(e)||Qa(e)||ja(e)))return!e.length;var t=no(e);if(t==d||t==y)return!e.size;if(ho(e))return!kr(e).length;for(var n in e)if(ke.call(e,n))return!1;return!0},Tn.isEqual=function(e,t){return _r(e,t)},Tn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?_r(e,t,void 0,n):!!r},Tn.isError=Ra,Tn.isFinite=function(e){return"number"==typeof e&&nn(e)},Tn.isFunction=Ha,Tn.isInteger=Va,Tn.isLength=Ua,Tn.isMap=Wa,Tn.isMatch=function(e,t){return e===t||Er(e,t,Qi(t))},Tn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,Er(e,t,Qi(t),n)},Tn.isNaN=function(e){return Ga(e)&&e!=+e},Tn.isNative=function(e){if(lo(e))throw new fe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return br(e)},Tn.isNil=function(e){return null==e},Tn.isNull=function(e){return null===e},Tn.isNumber=Ga,Tn.isObject=Ya,Tn.isObjectLike=Ba,Tn.isPlainObject=Ka,Tn.isRegExp=$a,Tn.isSafeInteger=function(e){return Va(e)&&e>=-9007199254740991&&e<=9007199254740991},Tn.isSet=qa,Tn.isString=Ja,Tn.isSymbol=Za,Tn.isTypedArray=Qa,Tn.isUndefined=function(e){return void 0===e},Tn.isWeakMap=function(e){return Ba(e)&&no(e)==E},Tn.isWeakSet=function(e){return Ba(e)&&"[object WeakSet]"==pr(e)},Tn.join=function(e,t){return null==e?"":rn.call(e,t)},Tn.kebabCase=As,Tn.last=Ro,Tn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=rs(n))<0?an(r+i,0):sn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):wt(e,bt,i,!0)},Tn.lowerCase=Ns,Tn.lowerFirst=Ds,Tn.lt=Xa,Tn.lte=es,Tn.max=function(e){return e&&e.length?rr(e,Gs,dr):void 0},Tn.maxBy=function(e,t){return e&&e.length?rr(e,Ji(t,2),dr):void 0},Tn.mean=function(e){return Ct(e,Gs)},Tn.meanBy=function(e,t){return Ct(e,Ji(t,2))},Tn.min=function(e){return e&&e.length?rr(e,Gs,xr):void 0},Tn.minBy=function(e,t){return e&&e.length?rr(e,Ji(t,2),xr):void 0},Tn.stubArray=ic,Tn.stubFalse=oc,Tn.stubObject=function(){return{}},Tn.stubString=function(){return""},Tn.stubTrue=function(){return!0},Tn.multiply=hc,Tn.nth=function(e,t){return e&&e.length?Pr(e,rs(t)):void 0},Tn.noConflict=function(){return Ge._===this&&(Ge._=ze),this},Tn.noop=Zs,Tn.now=va,Tn.pad=function(e,t,n){e=ss(e);var r=(t=rs(t))?Bt(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return ji(Xt(i),n)+e+ji(Qt(i),n)},Tn.padEnd=function(e,t,n){e=ss(e);var r=(t=rs(t))?Bt(e):0;return t&&r<t?e+ji(t-r,n):e},Tn.padStart=function(e,t,n){e=ss(e);var r=(t=rs(t))?Bt(e):0;return t&&r<t?ji(t-r,n)+e:e},Tn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),un(ss(e).replace($,""),t||0)},Tn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&so(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ns(e),void 0===t?(t=e,e=0):t=ns(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=ln();return sn(e+i*(t-e+Ue("1e-"+((i+"").length-1))),t)}return Fr(e,t)},Tn.reduce=function(e,t,n){var r=Aa(e)?dt:xt,i=arguments.length<3;return r(e,Ji(t,4),n,i,er)},Tn.reduceRight=function(e,t,n){var r=Aa(e)?vt:xt,i=arguments.length<3;return r(e,Ji(t,4),n,i,tr)},Tn.repeat=function(e,t,n){return t=(n?so(e,t,n):void 0===t)?1:rs(t),Lr(ss(e),t)},Tn.replace=function(){var e=arguments,t=ss(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Tn.result=function(e,t,n){var r=-1,i=(t=si(t,e)).length;for(i||(i=1,e=void 0);++r<i;){var o=null==e?void 0:e[xo(t[r])];void 0===o&&(r=i,o=n),e=Ha(o)?o.call(e):o}return e},Tn.round=fc,Tn.runInContext=e,Tn.sample=function(e){return(Aa(e)?Rn:Rr)(e)},Tn.size=function(e){if(null==e)return 0;if(Da(e))return Ja(e)?Bt(e):e.length;var t=no(e);return t==d||t==y?e.size:kr(e).length},Tn.snakeCase=Fs,Tn.some=function(e,t,n){var r=Aa(e)?gt:Gr;return n&&so(e,t,n)&&(t=void 0),r(e,Ji(t,3))},Tn.sortedIndex=function(e,t){return Kr(e,t)},Tn.sortedIndexBy=function(e,t,n){return $r(e,t,Ji(n,2))},Tn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Kr(e,t);if(r<n&&za(e[r],t))return r}return-1},Tn.sortedLastIndex=function(e,t){return Kr(e,t,!0)},Tn.sortedLastIndexBy=function(e,t,n){return $r(e,t,Ji(n,2),!0)},Tn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Kr(e,t,!0)-1;if(za(e[n],t))return n}return-1},Tn.startCase=Ls,Tn.startsWith=function(e,t,n){return e=ss(e),n=null==n?0:qn(rs(n),0,e.length),t=Zr(t),e.slice(n,n+t.length)==t},Tn.subtract=pc,Tn.sum=function(e){return e&&e.length?Ot(e,Gs):0},Tn.sumBy=function(e,t){return e&&e.length?Ot(e,Ji(t,2)):0},Tn.template=function(e,t,n){var r=Tn.templateSettings;n&&so(e,t,n)&&(t=void 0),e=ss(e),t=ls({},t,r,Hi);var i,o,a=ls({},t.imports,r.imports,Hi),s=_s(a),c=Mt(a,s),u=0,l=t.interpolate||ue,h="__p += '",f=ge((t.escape||ue).source+"|"+l.source+"|"+(l===V?te:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),p="//# sourceURL="+(ke.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Ie+"]")+"\n";e.replace(f,(function(t,n,r,a,s,c){return r||(r=a),h+=e.slice(u,c).replace(le,Lt),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),s&&(o=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=c+t.length,t})),h+="';\n";var d=ke.call(t,"variable")&&t.variable;d||(h="with (obj) {\n"+h+"\n}\n"),h=(o?h.replace(j,""):h).replace(A,"$1").replace(N,"$1;"),h="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Vs((function(){return pe(s,p+"return "+h).apply(void 0,c)}));if(v.source=h,Ra(v))throw v;return v},Tn.times=function(e,t){if((e=rs(e))<1||e>9007199254740991)return[];var n=4294967295,r=sn(e,4294967295);e-=4294967295;for(var i=Tt(r,t=Ji(t));++n<e;)t(n);return i},Tn.toFinite=ns,Tn.toInteger=rs,Tn.toLength=is,Tn.toLower=function(e){return ss(e).toLowerCase()},Tn.toNumber=os,Tn.toSafeInteger=function(e){return e?qn(rs(e),-9007199254740991,9007199254740991):0===e?e:0},Tn.toString=ss,Tn.toUpper=function(e){return ss(e).toUpperCase()},Tn.trim=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(K,"");if(!e||!(t=Zr(t)))return e;var r=Wt(e),i=Wt(t);return ui(r,jt(r,i),At(r,i)+1).join("")},Tn.trimEnd=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(q,"");if(!e||!(t=Zr(t)))return e;var r=Wt(e);return ui(r,0,At(r,Wt(t))+1).join("")},Tn.trimStart=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace($,"");if(!e||!(t=Zr(t)))return e;var r=Wt(e);return ui(r,jt(r,Wt(t))).join("")},Tn.truncate=function(e,t){var n=30,r="...";if(Ya(t)){var i="separator"in t?t.separator:i;n="length"in t?rs(t.length):n,r="omission"in t?Zr(t.omission):r}var o=(e=ss(e)).length;if(It(e)){var a=Wt(e);o=a.length}if(n>=o)return e;var s=n-Bt(r);if(s<1)return r;var c=a?ui(a,0,s).join(""):e.slice(0,s);if(void 0===i)return c+r;if(a&&(s+=c.length-s),$a(i)){if(e.slice(s).search(i)){var u,l=c;for(i.global||(i=ge(i.source,ss(ne.exec(i))+"g")),i.lastIndex=0;u=i.exec(l);)var h=u.index;c=c.slice(0,void 0===h?s:h)}}else if(e.indexOf(Zr(i),s)!=s){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r},Tn.unescape=function(e){return(e=ss(e))&&L.test(e)?e.replace(D,Gt):e},Tn.uniqueId=function(e){var t=++Se;return ss(e)+t},Tn.upperCase=Is,Tn.upperFirst=Rs,Tn.each=sa,Tn.eachRight=ca,Tn.first=Do,Js(Tn,(lc={},cr(Tn,(function(e,t){ke.call(Tn.prototype,t)||(lc[t]=e)})),lc),{chain:!1}),Tn.VERSION="4.17.15",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Tn[e].placeholder=Tn})),at(["drop","take"],(function(e,t){jn.prototype[e]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!t?new jn(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},jn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;jn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ji(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");jn.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");jn.prototype[e]=function(){return this.__filtered__?new jn(this):this[n](1)}})),jn.prototype.compact=function(){return this.filter(Gs)},jn.prototype.find=function(e){return this.filter(e).head()},jn.prototype.findLast=function(e){return this.reverse().find(e)},jn.prototype.invokeMap=Ir((function(e,t){return"function"==typeof e?new jn(this):this.map((function(n){return yr(n,e,t)}))})),jn.prototype.reject=function(e){return this.filter(ka(Ji(e)))},jn.prototype.slice=function(e,t){e=rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new jn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},jn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},jn.prototype.toArray=function(){return this.take(4294967295)},cr(jn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Tn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(Tn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof jn,c=a[0],u=s||Aa(t),l=function(e){var t=i.apply(Tn,pt([e],a));return r&&h?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(s=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=o&&!h,d=s&&!f;if(!o&&u){t=d?t:new jn(this);var v=e.apply(t,a);return v.__actions__.push({func:na,args:[l],thisArg:void 0}),new Pn(v,h)}return p&&d?e.apply(this,a):(v=this.thru(l),p?r?v.value()[0]:v.value():v)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=we[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Tn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Aa(i)?i:[],e)}return this[n]((function(n){return t.apply(Aa(n)?n:[],e)}))}})),cr(jn.prototype,(function(e,t){var n=Tn[t];if(n){var r=n.name+"";ke.call(wn,r)||(wn[r]=[]),wn[r].push({name:t,func:n})}})),wn[Ti(void 0,2).name]=[{name:"wrapper",func:void 0}],jn.prototype.clone=function(){var e=new jn(this.__wrapped__);return e.__actions__=mi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=mi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=mi(this.__views__),e},jn.prototype.reverse=function(){if(this.__filtered__){var e=new jn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},jn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Aa(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=sn(t,e+a);break;case"takeRight":e=an(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,l=this.__iteratees__,h=l.length,f=0,p=sn(c,this.__takeCount__);if(!n||!r&&i==c&&p==c)return ni(e,this.__actions__);var d=[];e:for(;c--&&f<p;){for(var v=-1,g=e[u+=t];++v<h;){var m=l[v],y=m.iteratee,w=m.type,_=y(g);if(2==w)g=_;else if(!_){if(1==w)continue e;break e}}d[f++]=g}return d},Tn.prototype.at=ra,Tn.prototype.chain=function(){return ta(this)},Tn.prototype.commit=function(){return new Pn(this.value(),this.__chain__)},Tn.prototype.next=function(){void 0===this.__values__&&(this.__values__=ts(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Tn.prototype.plant=function(e){for(var t,n=this;n instanceof Mn;){var r=To(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Tn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof jn){var t=e;return this.__actions__.length&&(t=new jn(this)),(t=t.reverse()).__actions__.push({func:na,args:[Yo],thisArg:void 0}),new Pn(t,this.__chain__)}return this.thru(Yo)},Tn.prototype.toJSON=Tn.prototype.valueOf=Tn.prototype.value=function(){return ni(this.__wrapped__,this.__actions__)},Tn.prototype.first=Tn.prototype.head,mt&&(Tn.prototype[mt]=function(){return this}),Tn}();Ge._=Kt,void 0===(r=function(){return Kt}.call(t,n,t,e))||(e.exports=r)}).call(this)}).call(this,n(40)(e))},function(e,t,n){e.exports=n(64)()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(80),i=n(5);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t,n){var r=n(29);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){"use strict";var r=n(0),i=n(70);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=(new r.Component).updater;e.exports=i(r.Component,r.isValidElement,o)},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";t.__esModule=!0,t.createPath=t.parsePath=t.getQueryStringValueFromPath=t.stripQueryStringValueFromPath=t.addQueryStringValueToPath=void 0;var r,i=n(13);(r=i)&&r.__esModule;t.addQueryStringValueToPath=function(e,t,n){var r=o(e),i=r.pathname,s=r.search,c=r.hash;return a({pathname:i,search:s+(-1===s.indexOf("?")?"?":"&")+t+"="+n,hash:c})},t.stripQueryStringValueFromPath=function(e,t){var n=o(e),r=n.pathname,i=n.search,s=n.hash;return a({pathname:r,search:i.replace(new RegExp("([?&])"+t+"=[a-zA-Z0-9]+(&?)"),(function(e,t,n){return"?"===t?t:n})),hash:s})},t.getQueryStringValueFromPath=function(e,t){var n=o(e).search.match(new RegExp("[?&]"+t+"=([a-zA-Z0-9]+)"));return n&&n[1]};var o=t.parsePath=function(e){var t,n,r=null==(n=(t=e).match(/^(https?:)?\/\/[^\/]*/))?t:t.substring(n[0].length),i="",o="",a=r.indexOf("#");-1!==a&&(o=r.substring(a),r=r.substring(0,a));var s=r.indexOf("?");return-1!==s&&(i=r.substring(s),r=r.substring(0,s)),""===r&&(r="/"),{pathname:r,search:i,hash:o}},a=t.createPath=function(e){if(null==e||"string"==typeof e)return e;var t=e.basename,n=e.pathname,r=e.search,i=e.hash,o=(t||"")+n;return r&&"?"!==r&&(o+=r),i&&(o+=i),o}},function(e,t,n){"use strict";t.__esModule=!0,t.locationsAreEqual=t.statesAreEqual=t.createLocation=t.createQuery=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=c(n(4)),a=(c(n(13)),n(14)),s=n(16);function c(e){return e&&e.__esModule?e:{default:e}}t.createQuery=function(e){return i(Object.create(null),e)},t.createLocation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.POP,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="string"==typeof e?(0,a.parsePath)(e):e,i=r.pathname||"/",o=r.search||"",c=r.hash||"",u=r.state;return{pathname:i,search:o,hash:c,state:u,action:t,key:n}};var u=function(e){return"[object Date]"===Object.prototype.toString.call(e)},l=t.statesAreEqual=function e(t,n){if(t===n)return!0;var i=void 0===t?"undefined":r(t);if(i!==(void 0===n?"undefined":r(n)))return!1;if("function"===i&&(0,o.default)(!1),"object"===i){if(u(t)&&u(n)&&(0,o.default)(!1),!Array.isArray(t)){var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every((function(r){return e(t[r],n[r])}))}return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}))}return!1};t.locationsAreEqual=function(e,t){return e.key===t.key&&e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&l(e.state,t.state)}},function(e,t,n){"use strict";t.__esModule=!0;t.PUSH="PUSH",t.REPLACE="REPLACE",t.POP="POP"},function(e,t,n){"use strict";e.exports=n(66)},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,s,c=a(e),u=1;u<arguments.length;u++){for(var l in n=Object(arguments[u]))i.call(n,l)&&(c[l]=n[l]);if(r){s=r(n);for(var h=0;h<s.length;h++)o.call(n,s[h])&&(c[s[h]]=n[s[h]])}}return c}},function(e,t,n){"use strict";t.__esModule=!0;t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.supportsHistory=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},t.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},t.supportsPopstateOnHashchange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.routerMiddleware=t.routerActions=t.goForward=t.goBack=t.go=t.replace=t.push=t.CALL_HISTORY_METHOD=t.routerReducer=t.LOCATION_CHANGE=t.syncHistoryWithStore=void 0;var r=n(36);Object.defineProperty(t,"LOCATION_CHANGE",{enumerable:!0,get:function(){return r.LOCATION_CHANGE}}),Object.defineProperty(t,"routerReducer",{enumerable:!0,get:function(){return r.routerReducer}});var i=n(37);Object.defineProperty(t,"CALL_HISTORY_METHOD",{enumerable:!0,get:function(){return i.CALL_HISTORY_METHOD}}),Object.defineProperty(t,"push",{enumerable:!0,get:function(){return i.push}}),Object.defineProperty(t,"replace",{enumerable:!0,get:function(){return i.replace}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return i.go}}),Object.defineProperty(t,"goBack",{enumerable:!0,get:function(){return i.goBack}}),Object.defineProperty(t,"goForward",{enumerable:!0,get:function(){return i.goForward}}),Object.defineProperty(t,"routerActions",{enumerable:!0,get:function(){return i.routerActions}});var o=s(n(68)),a=s(n(69));function s(e){return e&&e.__esModule?e:{default:e}}t.syncHistoryWithStore=o.default,t.routerMiddleware=a.default},function(e,t,n){"use strict";t.__esModule=!0;var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(72),a=n(25),s=(r=a)&&r.__esModule?r:{default:r},c=n(15),u=n(14);var l=function(e){return(0,o.stringify)(e).replace(/%20/g,"+")},h=o.parse;t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.stringifyQuery,o=t.parseQueryString;"function"!=typeof r&&(r=l),"function"!=typeof o&&(o=h);var a=function(e){return e?(null==e.query&&(e.query=o(e.search.substring(1))),e):e},f=function(e,t){if(null==t)return e;var n="string"==typeof e?(0,u.parsePath)(e):e,o=r(t);return i({},n,{search:o?"?"+o:""})},p=function(){return a(n.getCurrentLocation())},d=function(e){return n.listenBefore((function(t,n){return(0,s.default)(e,a(t),n)}))},v=function(e){return n.listen((function(t){return e(a(t))}))},g=function(e){return n.push(f(e,e.query))},m=function(e){return n.replace(f(e,e.query))},y=function(e){return n.createPath(f(e,e.query))},w=function(e){return n.createHref(f(e,e.query))},_=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var o=n.createLocation.apply(n,[f(e,e.query)].concat(r));return e.query&&(o.query=(0,c.createQuery)(e.query)),a(o)};return i({},n,{getCurrentLocation:p,listenBefore:d,listen:v,push:g,replace:m,createPath:y,createHref:w,createLocation:_})}}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(25),a=(r=o)&&r.__esModule?r:{default:r},s=n(14);t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.basename,o=function(e){return e?(r&&null==e.basename&&(0===e.pathname.toLowerCase().indexOf(r.toLowerCase())?(e.pathname=e.pathname.substring(r.length),e.basename=r,""===e.pathname&&(e.pathname="/")):e.basename=""),e):e},c=function(e){if(!r)return e;var t="string"==typeof e?(0,s.parsePath)(e):e,n=t.pathname,o="/"===r.slice(-1)?r:r+"/",a="/"===n.charAt(0)?n.slice(1):n;return i({},t,{pathname:o+a})},u=function(){return o(n.getCurrentLocation())},l=function(e){return n.listenBefore((function(t,n){return(0,a.default)(e,o(t),n)}))},h=function(e){return n.listen((function(t){return e(o(t))}))},f=function(e){return n.push(c(e))},p=function(e){return n.replace(c(e))},d=function(e){return n.createPath(c(e))},v=function(e){return n.createHref(c(e))},g=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return o(n.createLocation.apply(n,[c(e)].concat(r)))};return i({},n,{getCurrentLocation:u,listenBefore:l,listen:h,push:f,replace:p,createPath:d,createHref:v,createLocation:g})}}},function(e,t,n){"use strict";e.exports=n(63)},function(e,t,n){!function(n,r){var i=Array.prototype,o=Object.prototype,a=i.slice,s=o.hasOwnProperty,c=i.forEach,u={},l={forEach:function(e,t,n){var r,i,o;if(null!==e)if(c&&e.forEach===c)e.forEach(t,n);else if(e.length===+e.length){for(r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===u)return}else for(o in e)if(s.call(e,o)&&t.call(n,e[o],o,e)===u)return},extend:function(e){return this.forEach(a.call(arguments,1),(function(t){for(var n in t)e[n]=t[n]})),e}},h=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=l.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function f(e){return h.PF.compile(e||"nplurals=2; plural=(n != 1);")}function p(e,t){this._key=e,this._i18n=t}h.context_delimiter=String.fromCharCode(4),l.extend(p.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?h.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),l.extend(h.prototype,{translate:function(e){return new p(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},dcnpgettext:function(e,t,n,r,i){var o;if(r=r||n,e=e||this._textdomain,!this.options)return(o=new h).dcnpgettext.call(o,void 0,void 0,n,r,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var a,s,c,u=t?t+h.context_delimiter+n:n,l=this.options.locale_data,p=l[e],d=(l.messages||this.defaults.locale_data.messages)[""],v=p[""].plural_forms||p[""]["Plural-Forms"]||p[""]["plural-forms"]||d.plural_forms||d["Plural-Forms"]||d["plural-forms"];if(void 0===i)c=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");c=f(v)(i)}if(!p)throw new Error("No domain named `"+e+"` could be found.");return!(a=p[u])||c>a.length?(this.options.missing_key_callback&&this.options.missing_key_callback(u,e),s=[n,r],!0===this.options.debug&&console.log(s[f(v)(i)]),s[f()(i)]):(s=a[c])||(s=[n,r])[f()(i)]}});var d,v,g=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var i,o,a,s,c,u,l,h=1,f=n.length,p="",d=[];for(o=0;o<f;o++)if("string"===(p=e(n[o])))d.push(n[o]);else if("array"===p){if((s=n[o])[2])for(i=r[h],a=0;a<s[2].length;a++){if(!i.hasOwnProperty(s[2][a]))throw g('[sprintf] property "%s" does not exist',s[2][a]);i=i[s[2][a]]}else i=s[1]?r[s[1]]:r[h++];if(/[^s]/.test(s[8])&&"number"!=e(i))throw g("[sprintf] expecting number but found %s",e(i));switch(null==i&&(i=""),s[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=s[7]?i.toExponential(s[7]):i.toExponential();break;case"f":i=s[7]?parseFloat(i).toFixed(s[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&s[7]?i.substring(0,s[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(s[8])&&s[3]&&i>=0?"+"+i:i,u=s[4]?"0"==s[4]?"0":s[4].charAt(1):" ",l=s[6]-String(i).length,c=s[6]?t(u,l):"",d.push(s[5]?i+c:c+i)}return d.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],i=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){i|=1;var o=[],a=n[2],s=[];if(null===(s=/^([a-z_][a-z_\d]*)/i.exec(a)))throw"[sprintf] huh?";for(o.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=/^\.([a-z_][a-z_\d]*)/i.exec(a)))o.push(s[1]);else{if(null===(s=/^\[(\d+)\]/.exec(a)))throw"[sprintf] huh?";o.push(s[1])}n[2]=o}else i|=2;if(3===i)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}(),m=function(e,t){return t.unshift(e),g.apply(null,t)};h.parse_plural=function(e,t){return e=e.replace(/n/g,t),h.parse_expression(e)},h.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?m(e,[].slice.call(t)):g.apply(this,[].slice.call(arguments))},h.prototype.sprintf=function(){return h.sprintf.apply(this,arguments)},(h.PF={}).parse=function(e){var t=h.PF.extractPluralExpr(e);return h.PF.parser.parse.call(h.PF.parser,t)},h.PF.compile=function(e){var t=h.PF.parse(e);return function(e){return!0===(n=h.PF.interpreter(t)(e))?1:n||0;var n}},h.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return h.PF.interpreter(e.expr)(t);case"TERNARY":return h.PF.interpreter(e.expr)(t)?h.PF.interpreter(e.truthy)(t):h.PF.interpreter(e.falsey)(t);case"OR":return h.PF.interpreter(e.left)(t)||h.PF.interpreter(e.right)(t);case"AND":return h.PF.interpreter(e.left)(t)&&h.PF.interpreter(e.right)(t);case"LT":return h.PF.interpreter(e.left)(t)<h.PF.interpreter(e.right)(t);case"GT":return h.PF.interpreter(e.left)(t)>h.PF.interpreter(e.right)(t);case"LTE":return h.PF.interpreter(e.left)(t)<=h.PF.interpreter(e.right)(t);case"GTE":return h.PF.interpreter(e.left)(t)>=h.PF.interpreter(e.right)(t);case"EQ":return h.PF.interpreter(e.left)(t)==h.PF.interpreter(e.right)(t);case"NEQ":return h.PF.interpreter(e.left)(t)!=h.PF.interpreter(e.right)(t);case"MOD":return h.PF.interpreter(e.left)(t)%h.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},h.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},h.PF.parser=(d={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,i,o,a){var s=o.length-1;switch(i){case 1:return{type:"GROUP",expr:o[s-1]};case 2:this.$={type:"TERNARY",expr:o[s-4],truthy:o[s-2],falsey:o[s]};break;case 3:this.$={type:"OR",left:o[s-2],right:o[s]};break;case 4:this.$={type:"AND",left:o[s-2],right:o[s]};break;case 5:this.$={type:"LT",left:o[s-2],right:o[s]};break;case 6:this.$={type:"LTE",left:o[s-2],right:o[s]};break;case 7:this.$={type:"GT",left:o[s-2],right:o[s]};break;case 8:this.$={type:"GTE",left:o[s-2],right:o[s]};break;case 9:this.$={type:"NEQ",left:o[s-2],right:o[s]};break;case 10:this.$={type:"EQ",left:o[s-2],right:o[s]};break;case 11:this.$={type:"MOD",left:o[s-2],right:o[s]};break;case 12:this.$={type:"GROUP",expr:o[s-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],o=this.table,a="",s=0,c=0,u=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var l=this.lexer.yylloc;function h(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}i.push(l),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var f,p,d,v,g,m,y,w,_,E,b={};;){if(d=n[n.length-1],this.defaultActions[d]?v=this.defaultActions[d]:(null==f&&(f=h()),v=o[d]&&o[d][f]),void 0===v||!v.length||!v[0]){if(!u){for(m in _=[],o[d])this.terminals_[m]&&m>2&&_.push("'"+this.terminals_[m]+"'");var C="";C=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+this.terminals_[f]+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(C,{text:this.lexer.match,token:this.terminals_[f]||f,line:this.lexer.yylineno,loc:l,expected:_})}if(3==u){if(1==f)throw new Error(C||"Parsing halted.");c=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,l=this.lexer.yylloc,f=h()}for(;!(2..toString()in o[d]);){if(0==d)throw new Error(C||"Parsing halted.");E=1,n.length=n.length-2*E,r.length=r.length-E,i.length=i.length-E,d=n[n.length-1]}p=f,f=2,v=o[d=n[n.length-1]]&&o[d][2],u=3}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+d+", token: "+f);switch(v[0]){case 1:n.push(f),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(v[1]),f=null,p?(f=p,p=null):(c=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,l=this.lexer.yylloc,u>0&&u--);break;case 2:if(y=this.productions_[v[1]][1],b.$=r[r.length-y],b._$={first_line:i[i.length-(y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(y||1)].first_column,last_column:i[i.length-1].last_column},void 0!==(g=this.performAction.call(b,a,c,s,this.yy,v[1],r,i)))return g;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),i=i.slice(0,-1*y)),n.push(this.productions_[v[1]][0]),r.push(b.$),i.push(b._$),w=o[n[n.length-2]][n[n.length-1]],n.push(w);break;case 3:return!0}}return!0}},v=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}(),d.lexer=v,d),e.exports&&(t=e.exports=h),t.Jed=h}()},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(13);(r=i)&&r.__esModule;t.default=function(e,t,n){var r=e(t,n);e.length<2&&n(r)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(74),o=n(14),a=n(25),s=(r=a)&&r.__esModule?r:{default:r},c=n(16),u=n(15);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getCurrentLocation,n=e.getUserConfirmation,r=e.pushLocation,a=e.replaceLocation,l=e.go,h=e.keyLength,f=void 0,p=void 0,d=[],v=[],g=[],m=function(){return p&&p.action===c.POP?g.indexOf(p.key):f?g.indexOf(f.key):-1},y=function(e){var t=m();(f=e).action===c.PUSH?g=[].concat(g.slice(0,t+1),[f.key]):f.action===c.REPLACE&&(g[t]=f.key),v.forEach((function(e){return e(f)}))},w=function(e){return d.push(e),function(){return d=d.filter((function(t){return t!==e}))}},_=function(e){return v.push(e),function(){return v=v.filter((function(t){return t!==e}))}},E=function(e,t){(0,i.loopAsync)(d.length,(function(t,n,r){(0,s.default)(d[t],e,(function(e){return null!=e?r(e):n()}))}),(function(e){n&&"string"==typeof e?n(e,(function(e){return t(!1!==e)})):t(!1!==e)}))},b=function(e){f&&(0,u.locationsAreEqual)(f,e)||p&&(0,u.locationsAreEqual)(p,e)||(p=e,E(e,(function(t){if(p===e)if(p=null,t){if(e.action===c.PUSH){var n=(0,o.createPath)(f);(0,o.createPath)(e)===n&&(0,u.statesAreEqual)(f.state,e.state)&&(e.action=c.REPLACE)}e.action===c.POP?y(e):e.action===c.PUSH?!1!==r(e)&&y(e):e.action===c.REPLACE&&!1!==a(e)&&y(e)}else if(f&&e.action===c.POP){var i=g.indexOf(f.key),s=g.indexOf(e.key);-1!==i&&-1!==s&&l(i-s)}})))},C=function(e){return b(z(e,c.PUSH))},k=function(e){return b(z(e,c.REPLACE))},S=function(){return l(-1)},x=function(){return l(1)},O=function(){return Math.random().toString(36).substr(2,h||6)},T=function(e){return(0,o.createPath)(e)},z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O();return(0,u.createLocation)(e,t,n)};return{getCurrentLocation:t,listenBefore:w,listen:_,transitionTo:b,push:C,replace:k,go:l,goBack:S,goForward:x,createKey:O,createPath:o.createPath,createHref:T,createLocation:z}}},function(e,t,n){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},function(e,t,n){"use strict";t.__esModule=!0,t.go=t.replaceLocation=t.pushLocation=t.startListener=t.getUserConfirmation=t.getCurrentLocation=void 0;var r=n(15),i=n(19),o=n(39),a=n(14),s=n(27),c=s.canUseDOM&&!(0,i.supportsPopstateOnHashchange)(),u=function(e){var t=e&&e.key;return(0,r.createLocation)({pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,state:t?(0,o.readState)(t):void 0},void 0,t)},l=t.getCurrentLocation=function(){var e=void 0;try{e=window.history.state||{}}catch(t){e={}}return u(e)},h=(t.getUserConfirmation=function(e,t){return t(window.confirm(e))},t.startListener=function(e){var t=function(t){(0,i.isExtraneousPopstateEvent)(t)||e(u(t.state))};(0,i.addEventListener)(window,"popstate",t);var n=function(){return e(l())};return c&&(0,i.addEventListener)(window,"hashchange",n),function(){(0,i.removeEventListener)(window,"popstate",t),c&&(0,i.removeEventListener)(window,"hashchange",n)}},function(e,t){var n=e.state,r=e.key;void 0!==n&&(0,o.saveState)(r,n),t({key:r},(0,a.createPath)(e))});t.pushLocation=function(e){return h(e,(function(e,t){return window.history.pushState(e,null,t)}))},t.replaceLocation=function(e){return h(e,(function(e,t){return window.history.replaceState(e,null,t)}))},t.go=function(e){e&&window.history.go(e)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=n(45),i=n(44);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var a=e.charCodeAt(i);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=a(i)),n+=c(i.toString(16))}return n},t.zero2=s,t.zero8=c,t.join32=function(e,t,n,i){var o=n-t;r(o%4==0);for(var a=new Array(o/4),s=0,c=t;s<a.length;s++,c+=4){var u;u="big"===i?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],a[s]=u>>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o<r?1:0)+n+i;e[t]=a>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,a,s){var c=0,u=t;return c+=(u=u+r>>>0)<t?1:0,c+=(u=u+o>>>0)<o?1:0,e+n+i+a+(c+=(u=u+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,a,s,c,u){var l=0,h=t;return l+=(h=h+r>>>0)<t?1:0,l+=(h=h+o>>>0)<o?1:0,l+=(h=h+s>>>0)<s?1:0,e+n+i+a+c+(l+=(h=h+u>>>0)<u?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,o,a,s,c,u){return t+r+o+s+u>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){var r=n(77),i=n(78),o=n(79);e.exports=function(e){return r(e)||i(e)||o()}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.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,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var i,o,a,s;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return e}function h(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,o(this.listener,this.target,e))}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=h.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):v(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)o(c,this,t);else{var u=c.length,l=v(c,u);for(n=0;n<u;++n)o(l[n],this,t)}return!0},s.prototype.addListener=function(e,t){return l(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return l(this,e,t,!0)},s.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,f(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,f(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,o,a;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=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):d.call(e,t)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";var r=n(17),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var u=Object.defineProperty,l=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(d){var i=p(n);i&&i!==d&&e(t,i,r)}var a=l(n);h&&(a=a.concat(h(n)));for(var s=c(t),v=c(n),g=0;g<a.length;++g){var m=a[g];if(!(o[m]||r&&r[m]||v&&v[m]||s&&s[m])){var y=f(n,m);try{u(t,m,y)}catch(w){}}}return t}return t}},function(e,t,n){"use strict";(function(e){var r,i=n(46);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof window?window:e;var o=Object(i.a)(r);t.a=o}).call(this,n(67)(e))},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Ct(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function d(e){if(null==e._isValid){var t=p(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function v(e){var t=f(NaN);return null!=e?h(p(t),e):p(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var g=r.momentProperties=[];function m(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)a(i=t[r=g[n]])||(e[r]=i);return e}var y=!1;function w(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function _(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function E(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=E(t)),n}function C(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&b(e[r])!==b(t[r]))&&a++;return a+o}function k(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return h((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){for(var s in i+="\n["+a+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var x,O={};function T(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),O[e]||(k(t),O[e]=!0)}function z(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=h({},e);for(n in t)l(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&o(e[n])&&(r[n]=h({},r[n]));return r}function P(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var j={};function A(e,t){var n=e.toLowerCase();j[n]=j[n+"s"]=j[t]=e}function N(e){return"string"==typeof e?j[e]||j[e.toLowerCase()]:void 0}function D(e){var t,n,r={};for(n in e)l(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}var F={};function L(e,t){F[e]=t}function I(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},U={};function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(U[e]=i),t&&(U[t[0]]=function(){return I(i.apply(this,arguments),t[1],t[2])}),n&&(U[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e,t){return e.isValid()?(t=W(t,e.localeData()),V[t]=V[t]||function(e){var t,n,r,i=e.match(R);for(t=0,n=i.length;t<n;t++)U[i[t]]?i[t]=U[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=z(i[r])?i[r].call(t,e):i[r];return o}}(t),V[t](e)):e.localeData().invalidDate()}function W(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.lastIndex=0,n-=1;return e}var G=/\d/,K=/\d\d/,$=/\d{3}/,q=/\d{4}/,J=/[+-]?\d{6}/,Z=/\d\d?/,Q=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,ie=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ce={};function ue(e,t,n){ce[e]=z(t)?t:function(e,r){return e&&n?n:t}}function le(e,t){return l(ce,e)?ce[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=b(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function de(e,t){pe(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function ve(e,t,n){null!=t&&l(fe,e)&&fe[e](t,n._a,n,e)}function ge(e){return me(e)?366:365}function me(e){return e%4==0&&e%100!=0||e%400==0}Y("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),Y(0,["YY",2],0,(function(){return this.year()%100})),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),A("year","y"),L("year",1),ue("Y",ie),ue("YY",Z,K),ue("YYYY",te,q),ue("YYYYY",ne,J),ue("YYYYYY",ne,J),pe(["YYYYY","YYYYYY"],0),pe("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):b(e)})),pe("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),pe("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var ye,we=_e("FullYear",!0);function _e(e,t){return function(n){return null!=n?(be(this,e,n),r.updateOffset(this,t),this):Ee(this,e)}}function Ee(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function be(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&me(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ce(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ce(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?me(e)?29:28:31-r%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Y("M",["MM",2],"Mo",(function(){return this.month()+1})),Y("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),Y("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),A("month","M"),L("month",8),ue("M",Z),ue("MM",Z,K),ue("MMM",(function(e,t){return t.monthsShortRegex(e)})),ue("MMMM",(function(e,t){return t.monthsRegex(e)})),pe(["M","MM"],(function(e,t){t[1]=b(e)-1})),pe(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:p(n).invalidMonth=e}));var ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Se="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),xe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Oe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ye.call(this._shortMonthsParse,a))?i:null:-1!==(i=ye.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=ye.call(this._shortMonthsParse,a))?i:-1!==(i=ye.call(this._longMonthsParse,a))?i:null:-1!==(i=ye.call(this._longMonthsParse,a))?i:-1!==(i=ye.call(this._shortMonthsParse,a))?i:null}function Te(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=b(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ce(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ze(e){return null!=e?(Te(this,e),r.updateOffset(this,!0),this):Ee(this,"Month")}var Me=se,Pe=se;function je(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=he(r[t]),i[t]=he(i[t]);for(t=0;t<24;t++)o[t]=he(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ae(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function Ne(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function De(e,t,n){var r=7+t-n;return-(7+Ne(e,0,r).getUTCDay()-t)%7+r-1}function Fe(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+De(e,r,i);return s<=0?a=ge(o=e-1)+s:s>ge(e)?(o=e+1,a=s-ge(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Le(e,t,n){var r,i,o=De(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+Ie(i=e.year()-1,t,n):a>Ie(e.year(),t,n)?(r=a-Ie(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ie(e,t,n){var r=De(e,t,n),i=De(e+1,t,n);return(ge(e)-r+i)/7}function Re(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),L("week",5),L("isoWeek",5),ue("w",Z),ue("ww",Z,K),ue("W",Z),ue("WW",Z,K),de(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=b(e)})),Y("d",0,"do","day"),Y("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),Y("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),Y("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),L("day",11),L("weekday",11),L("isoWeekday",11),ue("d",Z),ue("e",Z),ue("E",Z),ue("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ue("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ue("dddd",(function(e,t){return t.weekdaysRegex(e)})),de(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e})),de(["d","e","E"],(function(e,t,n,r){t[r]=b(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ue="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ye(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ye.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ye.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=ye.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=ye.call(this._weekdaysParse,a))?i:-1!==(i=ye.call(this._shortWeekdaysParse,a))?i:-1!==(i=ye.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ye.call(this._shortWeekdaysParse,a))?i:-1!==(i=ye.call(this._weekdaysParse,a))?i:-1!==(i=ye.call(this._minWeekdaysParse,a))?i:null:-1!==(i=ye.call(this._minWeekdaysParse,a))?i:-1!==(i=ye.call(this._weekdaysParse,a))?i:-1!==(i=ye.call(this._shortWeekdaysParse,a))?i:null}var Be=se,We=se,Ge=se;function Ke(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),c.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(e),s.sort(e),c.sort(e),u.sort(e),t=0;t<7;t++)s[t]=he(s[t]),c[t]=he(c[t]),u[t]=he(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $e(){return this.hours()%12||12}function qe(e,t){Y(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,$e),Y("k",["kk",2],0,(function(){return this.hours()||24})),Y("hmm",0,0,(function(){return""+$e.apply(this)+I(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+$e.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+I(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)})),qe("a",!0),qe("A",!1),A("hour","h"),L("hour",13),ue("a",Je),ue("A",Je),ue("H",Z),ue("h",Z),ue("k",Z),ue("HH",Z,K),ue("hh",Z,K),ue("kk",Z,K),ue("hmm",Q),ue("hmmss",X),ue("Hmm",Q),ue("Hmmss",X),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var r=b(e);t[3]=24===r?0:r})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=b(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var r=e.length-2;t[3]=b(e.substr(0,r)),t[4]=b(e.substr(r)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=b(e.substr(0,r)),t[4]=b(e.substr(r,2)),t[5]=b(e.substr(i)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var r=e.length-2;t[3]=b(e.substr(0,r)),t[4]=b(e.substr(r))})),pe("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=b(e.substr(0,r)),t[4]=b(e.substr(r,2)),t[5]=b(e.substr(i))}));var Ze,Qe=_e("Hours",!0),Xe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Se,monthsShort:xe,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Ue,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!et[t]&&void 0!==e&&e&&e.exports)try{n=Ze._abbr,!function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),it(n)}catch(r){}return et[t]}function it(e,t){var n;return e&&((n=a(t)?at(e):ot(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function ot(e,t){if(null!==t){var n,r=Xe;if(t.abbr=e,null!=et[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new P(M(r,t)),tt[e]&&tt[e].forEach((function(e){ot(e.name,e.config)})),it(e),et[e]}return delete et[e],null}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!i(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=nt(e[o]).split("-")).length,n=(n=nt(e[o+1]))?n.split("-"):null;t>0;){if(r=rt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&C(i,n,!0)>=t-1)break;t--}o++}return Ze}(e)}function st(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ce(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function ct(e,t,n){return null!=e?e:null!=t?t:n}function ut(e){var t,n,i,o,a,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,o,a,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=ct(t.GG,e._a[0],Le(kt(),1,4).year),r=ct(t.W,1),((i=ct(t.E,1))<1||i>7)&&(c=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=Le(kt(),o,a);n=ct(t.gg,e._a[0],u.year),r=ct(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(c=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o}r<1||r>Ie(n,o,a)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=Fe(n,r,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ct(e._a[0],i[0]),(e._dayOfYear>ge(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ne(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ne:Ae).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var lt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],dt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((\-?\d+)/i;function gt(e){var t,n,r,i,o,a,s=e._i,c=lt.exec(s)||ht.exec(s);if(c){for(p(e).iso=!0,t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(c[1])){i=pt[t][0],r=!1!==pt[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=dt.length;t<n;t++)if(dt[t][1].exec(c[3])){o=(c[2]||" ")+dt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!ft.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Et(e)}else e._isValid=!1}var mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function yt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _t(e){var t,n,r,i,o,a,s,c=mt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var u=(t=c[4],n=c[3],r=c[2],i=c[5],o=c[6],a=c[7],s=[yt(t),xe.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],u,e))return;e._a=u,e._tzm=function(e,t,n){if(e)return wt[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(c[8],c[9],c[10]),e._d=Ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function Et(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],p(e).empty=!0;var t,n,i,o,a,s=""+e._i,c=s.length,u=0;for(i=W(e._f,e._locale).match(R)||[],t=0;t<i.length;t++)o=i[t],(n=(s.match(le(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),U[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),ve(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-u,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),ut(e),st(e)}else _t(e);else gt(e)}function bt(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new w(st(t)):(c(t)?e._d=t:i(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Et(t),d(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==r||o<r)&&(r=o,n=t));h(e,n||t)}(e):n?Et(e):function(e){var t=e._i;a(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=vt.exec(e._i);null===t?(gt(e),!1===e._isValid&&(delete e._isValid,_t(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=u(t.slice(0),(function(e){return parseInt(e,10)})),ut(e)):o(t)?function(e){if(!e._d){var t=D(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),ut(e)}}(e):s(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),d(e)||(e._d=null),e))}function Ct(e,t,n,r,a){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||i(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new w(st(bt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function kt(e,t,n,r){return Ct(e,t,n,r,!1)}r.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var St=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),xt=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Ot(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return kt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function zt(e){var t=D(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,c=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===ye.call(Tt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Tt.length;++r)if(e[Tt[r]]){if(n)return!1;parseFloat(e[Tt[r]])!==b(e[Tt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=at(),this._bubble()}function Mt(e){return e instanceof zt}function Pt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function jt(e,t){Y(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+I(~~(e/60),2)+t+I(~~e%60,2)}))}jt("Z",":"),jt("ZZ",""),ue("Z",ae),ue("ZZ",ae),pe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Nt(ae,e)}));var At=/([\+\-]|\d\d)/gi;function Nt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(At)||["-",0,0],i=60*r[1]+b(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Dt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(_(e)||c(e)?e.valueOf():kt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):kt(e).local()}function Ft(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Lt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var It=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Rt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,r,i,o,a,c,u=e,h=null;return Mt(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(u={},t?u[t]=e:u.milliseconds=e):(h=It.exec(e))?(n="-"===h[1]?-1:1,u={y:0,d:b(h[2])*n,h:b(h[3])*n,m:b(h[4])*n,s:b(h[5])*n,ms:b(Pt(1e3*h[6]))*n}):(h=Rt.exec(e))?(n="-"===h[1]?-1:1,u={y:Vt(h[2],n),M:Vt(h[3],n),w:Vt(h[4],n),d:Vt(h[5],n),h:Vt(h[6],n),m:Vt(h[7],n),s:Vt(h[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(o=kt(u.from),a=kt(u.to),i=o.isValid()&&a.isValid()?(a=Dt(a,o),o.isBefore(a)?c=Ut(o,a):((c=Ut(a,o)).milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0},(u={}).ms=i.milliseconds,u.M=i.months),r=new zt(u),Mt(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Yt(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Bt(this,Ht(n="string"==typeof n?+n:n,r),e),this}}function Bt(e,t,n,i){var o=t._milliseconds,a=Pt(t._days),s=Pt(t._months);e.isValid()&&(i=null==i||i,s&&Te(e,Ee(e,"Month")+s*n),a&&be(e,"Date",Ee(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||s))}Ht.fn=zt.prototype,Ht.invalid=function(){return Ht(NaN)};var Wt=Yt(1,"add"),Gt=Yt(-1,"subtract");function Kt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function $t(e){var t;return void 0===e?this._locale._abbr:(null!=(t=at(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var qt=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Jt(){return this._locale}function Zt(e,t){return(e%t+t)%t}function Qt(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function Xt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){Y(0,[e,e.length],0,t)}function tn(e,t,n,r,i){var o;return null==e?Le(this,r,i).year:(t>(o=Ie(e,r,i))&&(t=o),nn.call(this,e,t,n,r,i))}function nn(e,t,n,r,i){var o=Fe(e,t,n,r,i),a=Ne(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),L("weekYear",1),L("isoWeekYear",1),ue("G",ie),ue("g",ie),ue("GG",Z,K),ue("gg",Z,K),ue("GGGG",te,q),ue("gggg",te,q),ue("GGGGG",ne,J),ue("ggggg",ne,J),de(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=b(e)})),de(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),Y("Q",0,"Qo","quarter"),A("quarter","Q"),L("quarter",7),ue("Q",G),pe("Q",(function(e,t){t[1]=3*(b(e)-1)})),Y("D",["DD",2],"Do","date"),A("date","D"),L("date",9),ue("D",Z),ue("DD",Z,K),ue("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=b(e.match(Z)[0])}));var rn=_e("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),L("dayOfYear",4),ue("DDD",ee),ue("DDDD",$),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=b(e)})),Y("m",["mm",2],0,"minute"),A("minute","m"),L("minute",14),ue("m",Z),ue("mm",Z,K),pe(["m","mm"],4);var on=_e("Minutes",!1);Y("s",["ss",2],0,"second"),A("second","s"),L("second",15),ue("s",Z),ue("ss",Z,K),pe(["s","ss"],5);var an,sn=_e("Seconds",!1);for(Y("S",0,0,(function(){return~~(this.millisecond()/100)})),Y(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Y(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Y(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Y(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Y(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Y(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),A("millisecond","ms"),L("millisecond",16),ue("S",ee,G),ue("SS",ee,K),ue("SSS",ee,$),an="SSSS";an.length<=9;an+="S")ue(an,re);function cn(e,t){t[6]=b(1e3*("0."+e))}for(an="S";an.length<=9;an+="S")pe(an,cn);var un=_e("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var ln=w.prototype;function hn(e){return e}ln.add=Wt,ln.calendar=function(e,t){var n=e||kt(),i=Dt(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&(z(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,kt(n)))},ln.clone=function(){return new w(this)},ln.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Dt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=N(t)){case"year":o=Kt(this,r)/12;break;case"month":o=Kt(this,r);break;case"quarter":o=Kt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:E(o)},ln.endOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Xt:Qt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Zt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Zt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},ln.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=B(this,e);return this.localeData().postformat(t)},ln.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||kt(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.fromNow=function(e){return this.from(kt(),e)},ln.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||kt(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.toNow=function(e){return this.to(kt(),e)},ln.get=function(e){return z(this[e=N(e)])?this[e]():this},ln.invalidAt=function(){return p(this).overflow},ln.isAfter=function(e,t){var n=_(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},ln.isBefore=function(e,t){var n=_(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},ln.isBetween=function(e,t,n,r){var i=_(e)?e:kt(e),o=_(t)?t:kt(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))},ln.isSame=function(e,t){var n,r=_(e)?e:kt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},ln.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ln.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ln.isValid=function(){return d(this)},ln.lang=qt,ln.locale=$t,ln.localeData=Jt,ln.max=xt,ln.min=St,ln.parsingFlags=function(){return h({},p(this))},ln.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:F[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=D(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(z(this[e=N(e)]))return this[e](t);return this},ln.startOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Xt:Qt;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Zt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Zt(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},ln.subtract=Gt,ln.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ln.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ln.toDate=function(){return new Date(this.valueOf())},ln.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?B(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):z(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},ln.toJSON=function(){return this.isValid()?this.toISOString():null},ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ln.unix=function(){return Math.floor(this.valueOf()/1e3)},ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ln.year=we,ln.isLeapYear=function(){return me(this.year())},ln.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ln.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ln.quarter=ln.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ln.month=ze,ln.daysInMonth=function(){return Ce(this.year(),this.month())},ln.week=ln.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ln.isoWeek=ln.isoWeeks=function(e){var t=Le(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ln.weeksInYear=function(){var e=this.localeData()._week;return Ie(this.year(),e.dow,e.doy)},ln.isoWeeksInYear=function(){return Ie(this.year(),1,4)},ln.date=rn,ln.day=ln.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},ln.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ln.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},ln.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ln.hour=ln.hours=Qe,ln.minute=ln.minutes=on,ln.second=ln.seconds=sn,ln.millisecond=ln.milliseconds=un,ln.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Nt(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ft(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Bt(this,Ht(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ft(this)},ln.utc=function(e){return this.utcOffset(0,e)},ln.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ft(this),"m")),this},ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Nt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},ln.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ln.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ln.isUtc=Lt,ln.isUTC=Lt,ln.zoneAbbr=function(){return this._isUTC?"UTC":""},ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ln.dates=S("dates accessor is deprecated. Use date instead.",rn),ln.months=S("months accessor is deprecated. Use month instead",ze),ln.years=S("years accessor is deprecated. Use year instead",we),ln.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),ln.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),(e=bt(e))._a){var t=e._isUTC?f(e._a):kt(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var fn=P.prototype;function pn(e,t,n,r){var i=at(),o=f().set(r,t);return i[n](o,e)}function dn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function vn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i,o=at(),a=e?o._week.dow:0;if(null!=n)return pn(t,(n+a)%7,r,"day");var c=[];for(i=0;i<7;i++)c[i]=pn(t,(i+a)%7,r,"day");return c}fn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return z(r)?r.call(t,n):r},fn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},fn.invalidDate=function(){return this._invalidDate},fn.ordinal=function(e){return this._ordinal.replace("%d",e)},fn.preparse=hn,fn.postformat=hn,fn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return z(i)?i(e,t,n,r):i.replace(/%d/i,e)},fn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return z(n)?n(t):n.replace(/%s/i,t)},fn.set=function(e){var t,n;for(n in e)z(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},fn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},fn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ke.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},fn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return Oe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},fn.monthsRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Pe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},fn.monthsShortRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=Me),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},fn.week=function(e){return Le(e,this._week.dow,this._week.doy).week},fn.firstDayOfYear=function(){return this._week.doy},fn.firstDayOfWeek=function(){return this._week.dow},fn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Re(n,this._week.dow):e?n[e.day()]:n},fn.weekdaysMin=function(e){return!0===e?Re(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},fn.weekdaysShort=function(e){return!0===e?Re(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},fn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ye.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},fn.weekdaysRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Be),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},fn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=We),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},fn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ge),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},fn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},fn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===b(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",at);var gn=Math.abs;function mn(e,t,n,r){var i=Ht(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function _n(e){return 146097*e/4800}function En(e){return function(){return this.as(e)}}var bn=En("ms"),Cn=En("s"),kn=En("m"),Sn=En("h"),xn=En("d"),On=En("w"),Tn=En("M"),zn=En("Q"),Mn=En("y");function Pn(e){return function(){return this.isValid()?this._data[e]:NaN}}var jn=Pn("milliseconds"),An=Pn("seconds"),Nn=Pn("minutes"),Dn=Pn("hours"),Fn=Pn("days"),Ln=Pn("months"),In=Pn("years"),Rn=Math.round,Hn={ss:44,s:45,m:45,h:22,d:26,M:11};function Vn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Un=Math.abs;function Yn(e){return(e>0)-(e<0)||+e}function Bn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Un(this._milliseconds)/1e3,r=Un(this._days),i=Un(this._months);e=E(n/60),t=E(e/60),n%=60,e%=60;var o=E(i/12),a=i%=12,s=r,c=t,u=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var f=h<0?"-":"",p=Yn(this._months)!==Yn(h)?"-":"",d=Yn(this._days)!==Yn(h)?"-":"",v=Yn(this._milliseconds)!==Yn(h)?"-":"";return f+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?d+s+"D":"")+(c||u||l?"T":"")+(c?v+c+"H":"")+(u?v+u+"M":"")+(l?v+l+"S":"")}var Wn=zt.prototype;return Wn.isValid=function(){return this._isValid},Wn.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},Wn.add=function(e,t){return mn(this,e,t,1)},Wn.subtract=function(e,t){return mn(this,e,t,-1)},Wn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_n(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Wn.asMilliseconds=bn,Wn.asSeconds=Cn,Wn.asMinutes=kn,Wn.asHours=Sn,Wn.asDays=xn,Wn.asWeeks=On,Wn.asMonths=Tn,Wn.asQuarters=zn,Wn.asYears=Mn,Wn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN},Wn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*yn(_n(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=E(o/1e3),c.seconds=e%60,t=E(e/60),c.minutes=t%60,n=E(t/60),c.hours=n%24,a+=E(n/24),i=E(wn(a)),s+=i,a-=yn(_n(i)),r=E(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},Wn.clone=function(){return Ht(this)},Wn.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},Wn.milliseconds=jn,Wn.seconds=An,Wn.minutes=Nn,Wn.hours=Dn,Wn.days=Fn,Wn.weeks=function(){return E(this.days()/7)},Wn.months=Ln,Wn.years=In,Wn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Ht(e).abs(),i=Rn(r.as("s")),o=Rn(r.as("m")),a=Rn(r.as("h")),s=Rn(r.as("d")),c=Rn(r.as("M")),u=Rn(r.as("y")),l=i<=Hn.ss&&["s",i]||i<Hn.s&&["ss",i]||o<=1&&["m"]||o<Hn.m&&["mm",o]||a<=1&&["h"]||a<Hn.h&&["hh",a]||s<=1&&["d"]||s<Hn.d&&["dd",s]||c<=1&&["M"]||c<Hn.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=n,Vn.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Wn.toISOString=Bn,Wn.toString=Bn,Wn.toJSON=Bn,Wn.locale=$t,Wn.localeData=Jt,Wn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Bn),Wn.lang=qt,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),ue("x",ie),ue("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(b(e))})),r.version="2.24.0",t=kt,r.fn=ln,r.min=function(){var e=[].slice.call(arguments,0);return Ot("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Ot("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return kt(1e3*e)},r.months=function(e,t){return dn(e,t,"months")},r.isDate=c,r.locale=it,r.invalid=v,r.duration=Ht,r.isMoment=_,r.weekdays=function(e,t,n){return vn(e,t,n,"weekdays")},r.parseZone=function(){return kt.apply(null,arguments).parseZone()},r.localeData=at,r.isDuration=Mt,r.monthsShort=function(e,t){return dn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return vn(e,t,n,"weekdaysMin")},r.defineLocale=ot,r.updateLocale=function(e,t){if(null!=t){var n,r,i=Xe;null!=(r=rt(e))&&(i=r._config),t=M(i,t),(n=new P(t)).parentLocale=et[e],et[e]=n,it(e)}else null!=et[e]&&(null!=et[e].parentLocale?et[e]=et[e].parentLocale:null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return x(et)},r.weekdaysShort=function(e,t,n){return vn(e,t,n,"weekdaysShort")},r.normalizeUnits=N,r.relativeTimeRounding=function(e){return void 0===e?Rn:"function"==typeof e&&(Rn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Hn[e]&&(void 0===t?Hn[e]:(Hn[e]=t,"s"===e&&(Hn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=ln,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(40)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.routerReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,a=t.payload;if(n===i)return r({},e,{locationBeforeTransitions:a});return e};var i=t.LOCATION_CHANGE="@@router/LOCATION_CHANGE",o={locationBeforeTransitions:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.CALL_HISTORY_METHOD="@@router/CALL_HISTORY_METHOD";function i(e){return function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return{type:r,payload:{method:e,args:n}}}}var o=t.push=i("push"),a=t.replace=i("replace"),s=t.go=i("go"),c=t.goBack=i("goBack"),u=t.goForward=i("goForward");t.routerActions={push:o,replace:a,go:s,goBack:c,goForward:u}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";t.__esModule=!0,t.readState=t.saveState=void 0;var r,i=n(13);(r=i)&&r.__esModule;var o={QuotaExceededError:!0,QUOTA_EXCEEDED_ERR:!0},a={SecurityError:!0},s=function(e){return"@@History/"+e};t.saveState=function(e,t){if(window.sessionStorage)try{null==t?window.sessionStorage.removeItem(s(e)):window.sessionStorage.setItem(s(e),JSON.stringify(t))}catch(n){if(a[n.name])return;if(o[n.name]&&0===window.sessionStorage.length)return;throw n}},t.readState=function(e){var t=void 0;try{t=window.sessionStorage.getItem(s(e))}catch(n){if(a[n.name])return}if(t)try{return JSON.parse(t)}catch(n){}}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,h=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):h=-1,u.length&&p())}function p(){if(!l){var e=s(f);l=!0;for(var t=u.length;t;){for(c=u,u=[];++h<t;)c&&c[h].run();h=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new d(e,t)),1!==u.length||l||s(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){var n=1e3,r=6e4,i=36e5,o=24*i;function a(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\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(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return a(e,t,o,"day");if(t>=i)return a(e,t,i,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,n,h){if("string"!=typeof n){if(l){var f=u(n);f&&f!==l&&e(t,f,h)}var p=a(n);s&&(p=p.concat(s(n)));for(var d=0;d<p.length;++d){var v=p[d];if(!(r[v]||i[v]||h&&h[v])){var g=c(n,v);try{o(t,v,g)}catch(m){}}}return t}return t}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=(u(n(13)),u(n(4))),o=n(15),a=n(14),s=u(n(26)),c=n(16);function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return e.filter((function(e){return e.state})).reduce((function(e,t){return e[t.key]=t.state,e}),{})};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(e)?e={entries:e}:"string"==typeof e&&(e={entries:[e]});var t=function(){var e=v[g],t=(0,a.createPath)(e),n=void 0,i=void 0;e.key&&(n=e.key,i=w(n));var s=(0,a.parsePath)(t);return(0,o.createLocation)(r({},s,{state:i}),void 0,n)},n=function(e){var t=g+e;return t>=0&&t<v.length},u=function(e){if(e&&n(e)){g+=e;var i=t();p.transitionTo(r({},i,{action:c.POP}))}},h=function(e){(g+=1)<v.length&&v.splice(g),v.push(e),y(e.key,e.state)},f=function(e){v[g]=e,y(e.key,e.state)},p=(0,s.default)(r({},e,{getCurrentLocation:t,pushLocation:h,replaceLocation:f,go:u})),d=e,v=d.entries,g=d.current;"string"==typeof v?v=[v]:Array.isArray(v)||(v=["/"]),v=v.map((function(e){return(0,o.createLocation)(e)})),null==g?g=v.length-1:g>=0&&g<v.length||(0,i.default)(!1);var m=l(v),y=function(e,t){return m[e]=t},w=function(e){return m[e]};return r({},p,{canGo:n})}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=h(n(4)),o=n(27),a=l(n(28)),s=l(n(75)),c=n(19),u=h(n(26));function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function h(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o.canUseDOM||(0,i.default)(!1);var t=e.forceRefresh||!(0,c.supportsHistory)(),n=t?s:a,l=n.getUserConfirmation,h=n.getCurrentLocation,f=n.pushLocation,p=n.replaceLocation,d=n.go,v=(0,u.default)(r({getUserConfirmation:l},e,{getCurrentLocation:h,pushLocation:f,replaceLocation:p,go:d})),g=0,m=void 0,y=function(e,t){1==++g&&(m=a.startListener(v.transitionTo));var n=t?v.listenBefore(e):v.listen(e);return function(){n(),0==--g&&m()}},w=function(e){return y(e,!0)},_=function(e){return y(e,!1)};return r({},v,{listenBefore:w,listen:_})}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=(u(n(13)),u(n(4))),o=n(27),a=n(19),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(76)),c=u(n(26));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return"/"===e.charAt(0)?e:"/"+e},h={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!"+e},decodePath:function(e){return"!"===e.charAt(0)?e.substring(1):e}},noslash:{encodePath:function(e){return"/"===e.charAt(0)?e.substring(1):e},decodePath:l},slash:{encodePath:l,decodePath:l}};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o.canUseDOM||(0,i.default)(!1);var t=e.queryKey,n=e.hashType;"string"!=typeof t&&(t="_k"),null==n&&(n="slash"),n in h||(n="slash");var u=h[n],l=s.getUserConfirmation,f=function(){return s.getCurrentLocation(u,t)},p=function(e){return s.pushLocation(e,u,t)},d=function(e){return s.replaceLocation(e,u,t)},v=(0,c.default)(r({getUserConfirmation:l},e,{getCurrentLocation:f,pushLocation:p,replaceLocation:d,go:s.go})),g=0,m=void 0,y=function(e,n){1==++g&&(m=s.startListener(v.transitionTo,u,t));var r=n?v.listenBefore(e):v.listen(e);return function(){r(),0==--g&&m()}},w=function(e){return y(e,!0)},_=function(e){return y(e,!1)},E=((0,a.supportsGoWithoutReloadUsingHash)(),function(e){v.go(e)}),b=function(e){return"#"+u.encodePath(v.createHref(e))};return r({},v,{listenBefore:w,listen:_,go:E,createHref:b})}},function(e,t,n){var r=n(6),i=n(29),o=n(81),a=n(82);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},function(e,t,n){"use strict";(function(r){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":i(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(83)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(this,n(41))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=s(n(0)),o=s(n(84)),a=s(n(86));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function u(e,t){var n,a,s,l,h,f,p,d,v=[],g={};for(f=0;f<e.length;f++)if("string"!==(h=e[f]).type){if(!t.hasOwnProperty(h.value)||void 0===t[h.value])throw new Error("Invalid interpolation, missing component node: `"+h.value+"`");if("object"!==r(t[h.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+h.value+"`","\n> "+c);if("componentClose"===h.type)throw new Error("Missing opening component token: `"+h.value+"`");if("componentOpen"===h.type){n=t[h.value],s=f;break}v.push(t[h.value])}else v.push(h.value);return n&&(l=function(e,t){var n,r,i=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===i.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+i.value+"`")}(s,e),p=u(e.slice(s+1,l),t),a=i.default.cloneElement(n,{},p),v.push(a),l<e.length-1&&(d=u(e.slice(l+1),t),v=v.concat(d))),1===v.length?v[0]:(v.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,o.default)(g))}t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,a.default)(t);try{return u(o,n)}catch(s){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+s.message+"`");return t}}},function(e,t,n){var r=n(32),i=n(44);function o(e){if(!(this instanceof o))return new o(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=o,i(o,r.EventEmitter),Object.defineProperty(o.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),o.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},o.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},o.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},o.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},o.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},o.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},o.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},o.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(30),i=n(87),o=n(88),a=r.rotl32,s=r.sum32,c=r.sum32_5,u=o.ft_1,l=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(f,l),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=a(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],f=this.h[3],p=this.h[4];for(r=0;r<n.length;r++){var d=~~(r/20),v=c(a(i,5),u(d,o,l,f),p,n[r],h[d]);p=f,f=l,l=a(o,30),o=i,i=v}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],f),this.h[4]=s(this.h[4],p)},f.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){var r=n(3);function i(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){var r=n(89),i=n(90),o=n(91);e.exports=function(e,t){return r(e)||i(e,t)||o()}},function(e,t,n){var r=n(92);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){(function(r){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(95)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(this,n(41))},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(96),o=(r=i)&&r.__esModule?r:{default:r};t.default={shouldComponentUpdate:o.default},e.exports=t.default},function(e,t,n){"use strict";var r=n(18),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,h=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.concurrent_mode"):60111,p=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,v=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116,m="function"==typeof Symbol&&Symbol.iterator;function y(e,t,n,r,i,o,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;(e=Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function w(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);y(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E={};function b(e,t,n){this.props=e,this.context=t,this.refs=E,this.updater=n||_}function C(){}function k(e,t,n){this.props=e,this.context=t,this.refs=E,this.updater=n||_}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&w("85"),this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=b.prototype;var S=k.prototype=new C;S.constructor=k,r(S,b.prototype),S.isPureReactComponent=!0;var x={current:null},O={current:null},T=Object.prototype.hasOwnProperty,z={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,n){var r=void 0,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)T.call(t,r)&&!z.hasOwnProperty(r)&&(i[r]=t[r]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===i[r]&&(i[r]=c[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:O.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var j=/\/+/g,A=[];function N(e,t,n,r){if(A.length){var i=A.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function D(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function F(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case a:c=!0}}if(c)return r(i,t,""===n?"."+L(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u<t.length;u++){var l=n+L(s=t[u],u);c+=e(s,l,r,i)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=m&&t[m]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),u=0;!(s=t.next()).done;)c+=e(s=s.value,l=n+L(s,u++),r,i);else"object"===s&&w("31","[object Object]"===(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return c}(e,"",t,n)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function I(e,t){e.func.call(e.context,t,e.count++)}function R(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?H(e,r,n,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n)),r.push(e))}function H(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(j,"$&/")+"/"),F(e,R,t=N(t,o,r,i)),D(t)}function V(){var e=x.current;return null===e&&w("321"),e}var U={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return H(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;F(e,I,t=N(null,null,t,n)),D(t)},count:function(e){return F(e,(function(){return null}),null)},toArray:function(e){var t=[];return H(e,t,null,(function(e){return e})),t},only:function(e){return P(e)||w("143"),e}},createRef:function(){return{current:null}},Component:b,PureComponent:k,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:h,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:p,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:v,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return V().useCallback(e,t)},useContext:function(e,t){return V().useContext(e,t)},useEffect:function(e,t){return V().useEffect(e,t)},useImperativeHandle:function(e,t,n){return V().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return V().useLayoutEffect(e,t)},useMemo:function(e,t){return V().useMemo(e,t)},useReducer:function(e,t,n){return V().useReducer(e,t,n)},useRef:function(e){return V().useRef(e)},useState:function(e){return V().useState(e)},Fragment:s,StrictMode:c,Suspense:d,createElement:M,cloneElement:function(e,t,n){null==e&&w("267",e);var i=void 0,a=r({},e.props),s=e.key,c=e.ref,u=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,u=O.current),void 0!==t.key&&(s=""+t.key);var l=void 0;for(i in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)T.call(t,i)&&!z.hasOwnProperty(i)&&(a[i]=void 0===t[i]&&void 0!==l?l[i]:t[i])}if(1===(i=arguments.length-2))a.children=n;else if(1<i){l=Array(i);for(var h=0;h<i;h++)l[h]=arguments[h+2];a.children=l}return{$$typeof:o,type:e.type,key:s,ref:c,props:a,_owner:u}},createFactory:function(e){var t=M.bind(null,e);return t.type=e,t},isValidElement:P,version:"16.8.6",unstable_ConcurrentMode:f,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:x,ReactCurrentOwner:O,assign:r}},Y={default:U},B=Y&&U||Y;e.exports=B.default||B},function(e,t,n){"use strict";var r=n(18),i=n(0);function o(e,t,n,r,i,o,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;(e=Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);o(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var s="function"==typeof Symbol&&Symbol.for,c=s?Symbol.for("react.portal"):60106,u=s?Symbol.for("react.fragment"):60107,l=s?Symbol.for("react.strict_mode"):60108,h=s?Symbol.for("react.profiler"):60114,f=s?Symbol.for("react.provider"):60109,p=s?Symbol.for("react.context"):60110,d=s?Symbol.for("react.concurrent_mode"):60111,v=s?Symbol.for("react.forward_ref"):60112,g=s?Symbol.for("react.suspense"):60113,m=s?Symbol.for("react.memo"):60115,y=s?Symbol.for("react.lazy"):60116;function w(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case d:return"ConcurrentMode";case u:return"Fragment";case c:return"Portal";case h:return"Profiler";case l:return"StrictMode";case g:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case p:return"Context.Consumer";case f:return"Context.Provider";case v:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case m:return w(e.type);case y:if(e=1===e._status?e._result:null)return w(e)}return null}var _=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;_.hasOwnProperty("ReactCurrentDispatcher")||(_.ReactCurrentDispatcher={current:null});var E={};function b(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var C=new Uint16Array(16),k=0;15>k;k++)C[k]=k+1;C[15]=0;var S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,x=Object.prototype.hasOwnProperty,O={},T={};function z(e){return!!x.call(T,e)||!x.call(O,e)&&(S.test(e)?T[e]=!0:(O[e]=!0,!1))}function M(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function P(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){j[e]=new P(e,0,!1,e,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];j[t]=new P(t,1,!1,e[1],null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){j[e]=new P(e,2,!1,e.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){j[e]=new P(e,2,!1,e,null)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){j[e]=new P(e,3,!1,e.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(e){j[e]=new P(e,3,!0,e,null)})),["capture","download"].forEach((function(e){j[e]=new P(e,4,!1,e,null)})),["cols","rows","size","span"].forEach((function(e){j[e]=new P(e,6,!1,e,null)})),["rowSpan","start"].forEach((function(e){j[e]=new P(e,5,!1,e.toLowerCase(),null)}));var A=/[\-:]([a-z])/g;function N(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(A,N);j[t]=new P(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(A,N);j[t]=new P(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(A,N);j[t]=new P(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){j[e]=new P(e,1,!1,e.toLowerCase(),null)}));var D=/["'&<>]/;function F(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=D.exec(e);if(t){var n,r="",i=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}i!==n&&(r+=e.substring(i,n)),i=n+1,r+=t}e=i!==n?r+e.substring(i,n):r}return e}var L=null,I=null,R=null,H=!1,V=!1,U=null,Y=0;function B(){return null===L&&a("321"),L}function W(){return 0<Y&&a("312"),{memoizedState:null,queue:null,next:null}}function G(){return null===R?null===I?(H=!1,I=R=W()):(H=!0,R=I):null===R.next?(H=!1,R=R.next=W()):(H=!0,R=R.next),R}function K(e,t,n,r){for(;V;)V=!1,Y+=1,R=null,n=e(t,r);return I=L=null,Y=0,R=U=null,n}function $(e,t){return"function"==typeof t?t(e):t}function q(e,t,n){if(L=B(),R=G(),H){var r=R.queue;if(t=r.dispatch,null!==U&&void 0!==(n=U.get(r))){U.delete(r),r=R.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return R.memoizedState=r,[r,t]}return[R.memoizedState,t]}return e=e===$?"function"==typeof t?t():t:void 0!==n?n(t):t,R.memoizedState=e,e=(e=R.queue={last:null,dispatch:null}).dispatch=J.bind(null,L,e),[R.memoizedState,e]}function J(e,t,n){if(25>Y||a("301"),e===L)if(V=!0,e={action:n,next:null},null===U&&(U=new Map),void 0===(n=U.get(t)))U.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Z(){}var Q=0,X={readContext:function(e){var t=Q;return b(e,t),e[t]},useContext:function(e){B();var t=Q;return b(e,t),e[t]},useMemo:function(e,t){if(L=B(),t=void 0===t?null:t,null!==(R=G())){var n=R.memoizedState;if(null!==n&&null!==t){e:{var r=n[1];if(null===r)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++){var o=t[i],a=r[i];if((o!==a||0===o&&1/o!=1/a)&&(o==o||a==a)){r=!1;break e}}r=!0}}if(r)return n[0]}}return e=e(),R.memoizedState=[e,t],e},useReducer:q,useRef:function(e){L=B();var t=(R=G()).memoizedState;return null===t?(e={current:e},R.memoizedState=e):t},useState:function(e){return q($,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:Z,useEffect:Z,useDebugValue:Z},ee="http://www.w3.org/1999/xhtml";function te(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var ne={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},re=r({menuitem:!0},ne),ie={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},oe=["Webkit","ms","Moz","O"];Object.keys(ie).forEach((function(e){oe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ie[t]=ie[e]}))}));var ae=/([A-Z])/g,se=/^ms-/,ce=i.Children.toArray,ue=_.ReactCurrentDispatcher,le={listing:!0,pre:!0,textarea:!0},he=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,fe={},pe={};var de=Object.prototype.hasOwnProperty,ve={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ge(e,t){void 0===e&&a("152",w(t)||"Component")}function me(e,t,n){function o(i,o){var s=function(e,t,n){var r=e.contextType;if("object"==typeof r&&null!==r)return b(r,n),r[n];if(e=e.contextTypes){for(var i in n={},e)n[i]=t[i];t=n}else t=E;return t}(o,t,n),c=[],u=!1,l={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===c)return null},enqueueReplaceState:function(e,t){u=!0,c=[t]},enqueueSetState:function(e,t){if(null===c)return null;c.push(t)}},h=void 0;if(o.prototype&&o.prototype.isReactComponent){if(h=new o(i.props,s,l),"function"==typeof o.getDerivedStateFromProps){var f=o.getDerivedStateFromProps.call(null,i.props,h.state);null!=f&&(h.state=r({},h.state,f))}}else if(L={},h=o(i.props,s,l),null==(h=K(o,i.props,h,s))||null==h.render)return void ge(e=h,o);if(h.props=i.props,h.context=s,h.updater=l,void 0===(l=h.state)&&(h.state=l=null),"function"==typeof h.UNSAFE_componentWillMount||"function"==typeof h.componentWillMount)if("function"==typeof h.componentWillMount&&"function"!=typeof o.getDerivedStateFromProps&&h.componentWillMount(),"function"==typeof h.UNSAFE_componentWillMount&&"function"!=typeof o.getDerivedStateFromProps&&h.UNSAFE_componentWillMount(),c.length){l=c;var p=u;if(c=null,u=!1,p&&1===l.length)h.state=l[0];else{f=p?l[0]:h.state;var d=!0;for(p=p?1:0;p<l.length;p++){var v=l[p];null!=(v="function"==typeof v?v.call(h,f,i.props,s):v)&&(d?(d=!1,f=r({},f,v)):r(f,v))}h.state=f}}else c=null;if(ge(e=h.render(),o),i=void 0,"function"==typeof h.getChildContext&&"object"==typeof(s=o.childContextTypes))for(var g in i=h.getChildContext())g in s||a("108",w(o)||"Unknown",g);i&&(t=r({},t,i))}for(;i.isValidElement(e);){var s=e,c=s.type;if("function"!=typeof c)break;o(s,c)}return{child:e,context:t}}var ye=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");i.isValidElement(t)?t.type!==u?t=[t]:(t=t.props.children,t=i.isValidElement(t)?[t]:ce(t)):t=ce(t),t={type:null,domNamespace:ee,children:t,childIndex:0,context:E,footer:""};var r=C[0];if(0===r){var o=C,s=2*(r=o.length);65536>=s||a("304");var c=new Uint16Array(s);for(c.set(o),(C=c)[0]=r+1,o=r;o<s-1;o++)C[o]=o+1;C[s-1]=0}else C[0]=C[r];this.threadID=r,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}return e.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;C[e]=C[0],C[0]=e}},e.prototype.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;b(n,r);var i=n[r];this.contextStack[t]=n,this.contextValueStack[t]=i,n[r]=e.props.value},e.prototype.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},e.prototype.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},e.prototype.read=function(e){if(this.exhausted)return null;var t=Q;Q=this.threadID;var n=ue.current;ue.current=X;try{for(var r=[""],i=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var o=this.threadID;C[o]=C[0],C[0]=o;break}var s=this.stack[this.stack.length-1];if(i||s.childIndex>=s.children.length){var c=s.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===f)this.popProvider(s.type);else if(s.type===g){this.suspenseDepth--;var u=r.pop();if(i){i=!1;var l=s.fallbackFrame;l||a("303"),this.stack.push(l);continue}r[this.suspenseDepth]+=u}r[this.suspenseDepth]+=c}else{var h=s.children[s.childIndex++],p="";try{p+=this.render(h,s.context,s.domNamespace)}catch(d){throw d}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=p}}return r[0]}finally{ue.current=n,Q=t}},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?F(n):this.previousWasTextNode?"\x3c!-- --\x3e"+F(n):(this.previousWasTextNode=!0,F(n));if(e=(t=me(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!i.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var o=e.$$typeof;o===c&&a("257"),a("258",o.toString())}return e=ce(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(o=e.type))return this.renderDOM(e,t,n);switch(o){case l:case d:case h:case u:return e=ce(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case g:a("294")}if("object"==typeof o&&null!==o)switch(o.$$typeof){case v:L={};var s=o.render(e.props,e.ref);return s=K(o.render,e.props,s,e.ref),s=ce(s),this.stack.push({type:null,domNamespace:n,children:s,childIndex:0,context:t,footer:""}),"";case m:return e=[i.createElement(o.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case f:return n={type:e,domNamespace:n,children:o=ce(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case p:o=e.type,s=e.props;var w=this.threadID;return b(o,w),o=ce(s.children(o[w])),this.stack.push({type:e,domNamespace:n,children:o,childIndex:0,context:t,footer:""}),"";case y:a("295")}a("130",null==o?o:typeof o,"")},e.prototype.renderDOM=function(e,t,n){var o=e.type.toLowerCase();n===ee&&te(o),fe.hasOwnProperty(o)||(he.test(o)||a("65",o),fe[o]=!0);var s=e.props;if("input"===o)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===o){var c=s.value;if(null==c){c=s.defaultValue;var u=s.children;null!=u&&(null!=c&&a("92"),Array.isArray(u)&&(1>=u.length||a("93"),u=u[0]),c=""+u),null==c&&(c="")}s=r({},s,{value:void 0,children:""+c})}else if("select"===o)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===o){u=this.currentSelectValue;var l=function(e){if(null==e)return e;var t="";return i.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(s.children);if(null!=u){var h=null!=s.value?s.value+"":l;if(c=!1,Array.isArray(u)){for(var f=0;f<u.length;f++)if(""+u[f]===h){c=!0;break}}else c=""+u===h;s=r({selected:void 0,children:void 0},s,{selected:c,children:l})}}for(_ in(c=s)&&(re[o]&&(null!=c.children||null!=c.dangerouslySetInnerHTML)&&a("137",o,""),null!=c.dangerouslySetInnerHTML&&(null!=c.children&&a("60"),"object"==typeof c.dangerouslySetInnerHTML&&"__html"in c.dangerouslySetInnerHTML||a("61")),null!=c.style&&"object"!=typeof c.style&&a("62","")),c=s,u=this.makeStaticMarkup,l=1===this.stack.length,h="<"+e.type,c)if(de.call(c,_)){var p=c[_];if(null!=p){if("style"===_){f=void 0;var d="",v="";for(f in p)if(p.hasOwnProperty(f)){var g=0===f.indexOf("--"),m=p[f];if(null!=m){var y=f;if(pe.hasOwnProperty(y))y=pe[y];else{var w=y.replace(ae,"-$1").toLowerCase().replace(se,"-ms-");y=pe[y]=w}d+=v+y+":",v=f,d+=g=null==m||"boolean"==typeof m||""===m?"":g||"number"!=typeof m||0===m||ie.hasOwnProperty(v)&&ie[v]?(""+m).trim():m+"px",v=";"}}p=d||null}f=null;e:if(g=o,m=c,-1===g.indexOf("-"))g="string"==typeof m.is;else switch(g){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":g=!1;break e;default:g=!0}g?ve.hasOwnProperty(_)||(f=z(f=_)&&null!=p?f+'="'+F(p)+'"':""):(g=_,f=p,p=j.hasOwnProperty(g)?j[g]:null,(m="style"!==g)&&(m=null!==p?0===p.type:2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])),m||M(g,f,p,!1)?f="":null!==p?(g=p.attributeName,f=3===(p=p.type)||4===p&&!0===f?g+'=""':g+'="'+F(f)+'"'):f=z(g)?g+'="'+F(f)+'"':""),f&&(h+=" "+f)}}u||l&&(h+=' data-reactroot=""');var _=h;c="",ne.hasOwnProperty(o)?_+="/>":(_+=">",c="</"+e.type+">");e:{if(null!=(u=s.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break e}}else if("string"==typeof(u=s.children)||"number"==typeof u){u=F(u);break e}u=null}return null!=u?(s=[],le[o]&&"\n"===u.charAt(0)&&(_+="\n"),_+=u):s=ce(s.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?te(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:o,children:s,childIndex:0,context:t,footer:c}),this.previousWasTextNode=!1,_},e}(),we={renderToString:function(e){e=new ye(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new ye(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){a("207")},renderToStaticNodeStream:function(){a("208")},version:"16.8.6"},_e={default:we},Ee=_e&&we||_e;e.exports=Ee.default||Ee},function(e,t,n){"use strict";var r=n(65);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,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:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,h=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116;function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case h:case f:case a:case c:case s:case d:return e;default:switch(e=e&&e.$$typeof){case l:case p:case u:return e;default:return t}}case g:case v:case o:return t}}}function y(e){return m(e)===f}t.typeOf=m,t.AsyncMode=h,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=i,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=v,t.Portal=o,t.Profiler=c,t.StrictMode=s,t.Suspense=d,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===c||e===s||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p)},t.isAsyncMode=function(e){return y(e)||m(e)===h},t.isConcurrentMode=y,t.isContextConsumer=function(e){return m(e)===l},t.isContextProvider=function(e){return m(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return m(e)===p},t.isFragment=function(e){return m(e)===a},t.isLazy=function(e){return m(e)===g},t.isMemo=function(e){return m(e)===v},t.isPortal=function(e){return m(e)===o},t.isProfiler=function(e){return m(e)===c},t.isStrictMode=function(e){return m(e)===s},t.isSuspense=function(e){return m(e)===d}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.selectLocationState,s=void 0===a?o:a,c=n.adjustUrlOnReplay,u=void 0===c||c;if(void 0===s(t.getState()))throw new Error("Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` options. Ensure you have added the `routerReducer` to your store's reducers via `combineReducers` or whatever method you use to isolate your reducers.");var l=void 0,h=void 0,f=void 0,p=void 0,d=void 0,v=function(e){return s(t.getState()).locationBeforeTransitions||(e?l:void 0)};if(l=v(),u){var g=function(){var t=v(!0);d!==t&&l!==t&&(h=!0,d=t,e.transitionTo(r({},t,{action:"PUSH"})),h=!1)};f=t.subscribe(g),g()}var m=function(e){h||(d=e,!l&&(l=e,v())||t.dispatch({type:i.LOCATION_CHANGE,payload:e}))};p=e.listen(m),e.getCurrentLocation&&m(e.getCurrentLocation());return r({},e,{listen:function(n){var r=v(!0),i=!1,o=t.subscribe((function(){var e=v(!0);e!==r&&(r=e,i||n(r))}));return e.getCurrentLocation||n(r),function(){i=!0,o()}},unsubscribe:function(){u&&f(),p()}})};var i=n(36),o=function(e){return e.routing}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return function(t){return function(n){if(n.type!==r.CALL_HISTORY_METHOD)return t(n);var i=n.payload,o=i.method,a=i.args;e[o].apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(a))}}}};var r=n(37)},function(e,t,n){"use strict";var r=n(18),i=n(71),o=n(38);e.exports=function(e,t,n){var a=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},c={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)h(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(o(!(n in u),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){var i=c.hasOwnProperty(n)?c[n]:null;return o("DEFINE_MANY_MERGED"===i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=p(e[n],r))}e[n]=r}}}(e,t)},autobind:function(){}};function l(e,t){var n=s.hasOwnProperty(t)?s[t]:null;y.hasOwnProperty(t)&&o("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&o("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function h(e,n){if(n){o("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),o(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty("mixins")&&u.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&"mixins"!==a){var c=n[a],h=r.hasOwnProperty(a);if(l(h,a),u.hasOwnProperty(a))u[a](e,c);else{var f=s.hasOwnProperty(a);if("function"==typeof c&&!f&&!h&&!1!==n.autobind)i.push(a,c),r[a]=c;else if(h){var v=s[a];o(f&&("DEFINE_MANY_MERGED"===v||"DEFINE_MANY"===v),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,a),"DEFINE_MANY_MERGED"===v?r[a]=p(r[a],c):"DEFINE_MANY"===v&&(r[a]=d(r[a],c))}else r[a]=c}}}else;}function f(e,t){for(var n in o(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(o(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function p(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return f(i,n),f(i,r),i}}function d(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function v(e,t){return t.bind(e)}var g={componentDidMount:function(){this.__isMounted=!0}},m={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},w=function(){};return r(w.prototype,e.prototype,y),function(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];e[r]=v(e,i)}}(this),this.props=e,this.context=r,this.refs=i,this.updater=a||n,this.state=null;var s=this.getInitialState?this.getInitialState():null;o("object"==typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=s};for(var r in t.prototype=new w,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(h.bind(null,t)),h(t,g),h(t,e),h(t,m),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),o(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),s)t.prototype[r]||(t.prototype[r]=null);return t}}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r=n(73),i=n(18);function o(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=i({arrayFormat:"none"},t)),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),o=t.length>0?t.join("="):void 0;o=void 0===o?null:decodeURIComponent(o),n(decodeURIComponent(i),o,r)})),Object.keys(r).sort().reduce((function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(n):e[t]=n,e}),Object.create(null))):r},t.stringify=function(e,t){var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[o(t,e),"[",r,"]"].join(""):[o(t,e),"[",o(r,e),"]=",o(n,e)].join("")};case"bracket":return function(t,n){return null===n?o(t,e):[o(t,e),"[]=",o(n,e)].join("")};default:return function(t,n){return null===n?o(t,e):[o(t,e),"=",o(n,e)].join("")}}}(t=i({encode:!0,strict:!0,arrayFormat:"none"},t));return e?Object.keys(e).sort().map((function(r){var i=e[r];if(void 0===i)return"";if(null===i)return o(r,t);if(Array.isArray(i)){var a=[];return i.slice().forEach((function(e){void 0!==e&&a.push(n(r,e,a.length))})),a.join("&")}return o(r,t)+"="+o(i,t)})).filter((function(e){return e.length>0})).join("&"):""}},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,n){"use strict";t.__esModule=!0;t.loopAsync=function(e,t,n){var r=0,i=!1,o=!1,a=!1,s=void 0,c=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i=!0,o?s=t:n.apply(void 0,t)};!function u(){if(!i&&(a=!0,!o)){for(o=!0;!i&&r<e&&a;)a=!1,t(r++,u,c);o=!1,i?n.apply(void 0,s):r>=e&&a&&(i=!0,n())}}()}},function(e,t,n){"use strict";t.__esModule=!0,t.replaceLocation=t.pushLocation=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var r=n(28);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return r.go}});var i=n(15),o=n(14);t.getCurrentLocation=function(){return(0,i.createLocation)(window.location)},t.pushLocation=function(e){return window.location.href=(0,o.createPath)(e),!1},t.replaceLocation=function(e){return window.location.replace((0,o.createPath)(e)),!1}},function(e,t,n){"use strict";t.__esModule=!0,t.replaceLocation=t.pushLocation=t.startListener=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var r=n(28);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return r.go}});var i,o=n(13),a=((i=o)&&i.__esModule,n(15)),s=n(19),c=n(39),u=n(14);var l=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},h=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},f=t.getCurrentLocation=function(e,t){var n=e.decodePath(l()),r=(0,u.getQueryStringValueFromPath)(n,t),i=void 0;r&&(n=(0,u.stripQueryStringValueFromPath)(n,t),i=(0,c.readState)(r));var o=(0,u.parsePath)(n);return o.state=i,(0,a.createLocation)(o,void 0,r)},p=void 0,d=(t.startListener=function(e,t,n){var r=function(){var r=l(),i=t.encodePath(r);if(r!==i)h(i);else{var o=f(t,n);if(p&&o.key&&p.key===o.key)return;p=o,e(o)}},i=l(),o=t.encodePath(i);return i!==o&&h(o),(0,s.addEventListener)(window,"hashchange",r),function(){return(0,s.removeEventListener)(window,"hashchange",r)}},function(e,t,n,r){var i=e.state,o=e.key,a=t.encodePath((0,u.createPath)(e));void 0!==i&&(a=(0,u.addQueryStringValueToPath)(a,n,o),(0,c.saveState)(o,i)),p=e,r(a)});t.pushLocation=function(e,t,n){return d(e,t,n,(function(e){l()!==e&&function(e){window.location.hash=e}(e)}))},t.replaceLocation=function(e,t,n){return d(e,t,n,(function(e){l()!==e&&h(e)}))}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,t,n){var r=n(29);function i(){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 o(t,n,a){return i()?e.exports=o=Reflect.construct:e.exports=o=function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&r(o,n.prototype),o},o.apply(null,arguments)}e.exports=o},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){if(a.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var o=a,s=Number(new Date),c=s-(n||s);o.diff=c,o.prev=n,o.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;u++;var i=r.formatters[n];if("function"==typeof i){var a=t[u];e=i.call(o,a),t.splice(u,1),u--}return e})),r.formatArgs.call(o,t);var l=o.log||r.log;l.apply(o,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=i,a.extend=o,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function o(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var o=r.instances[t];o.enabled=r.enabled(o.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(42),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){"use strict";var r=n(0),i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(43),a=n(38),s=n(85),c="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function l(e,t,n,r){var o,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===i)return n(r,e,""===t?"."+u(e,0):t),1;var h=0,f=""===t?".":t+":";if(Array.isArray(e))for(var p=0;p<e.length;p++)h+=l(o=e[p],f+u(o,p),n,r);else{var d=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(d){0;for(var v,g=d.call(e),m=0;!(v=g.next()).done;)h+=l(o=v.value,f+u(o,m++),n,r)}else if("object"===s){0;var y=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(e).join(", ")+"}":y,"")}}return h}var h=/\/+/g;function f(e){return(""+e).replace(h,"$&/")}var p,d,v=g,g=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},m=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function y(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function w(e,t,n){var i,a,s=e.result,c=e.keyPrefix,u=e.func,l=e.context,h=u.call(l,t,e.count++);Array.isArray(h)?_(h,s,n,o.thatReturnsArgument):null!=h&&(r.isValidElement(h)&&(i=h,a=c+(!h.key||t&&t.key===h.key?"":f(h.key)+"/")+n,h=r.cloneElement(i,{key:a},void 0!==i.props?i.props.children:void 0)),s.push(h))}function _(e,t,n,r,i){var o="";null!=n&&(o=f(n)+"/");var a=y.getPooled(t,o,r,i);!function(e,t,n){null==e||l(e,"",t,n)}(e,w,a),y.release(a)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var i=this.instancePool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)},(d=y).instancePool=[],d.getPooled=p||v,d.poolSize||(d.poolSize=10),d.release=m;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)_(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=n(43);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(30),i=n(45);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},function(e,t,n){"use strict";var r=n(30).rotr32;function i(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function a(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?a(t,n,r):2===e?o(t,n,r):void 0},t.ch32=i,t.maj32=o,t.p32=a,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(31);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return i.colors[Math.abs(t)%i.colors.length]}function i(e){var n;function r(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];if(r.enabled){var a=r,s=Number(new Date),c=s-(n||s);a.diff=c,a.prev=n,a.curr=s,n=s,t[0]=i.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;u++;var r=i.formatters[n];if("function"==typeof r){var o=t[u];e=r.call(a,o),t.splice(u,1),u--}return e})),i.formatArgs.call(a,t);var l=a.log||i.log;l.apply(a,t)}}return r.namespace=e,r.enabled=i.enabled(e),r.useColors=i.useColors(),r.color=t(e),r.destroy=o,r.extend=a,"function"==typeof i.init&&i.init(r),i.instances.push(r),r}function o(){var e=i.instances.indexOf(this);return-1!==e&&(i.instances.splice(e,1),!0)}function a(e,t){var n=i(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return i.debug=i,i.default=i,i.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},i.disable=function(){var e=[].concat(r(i.names.map(s)),r(i.skips.map(s).map((function(e){return"-"+e})))).join(",");return i.enable(""),e},i.enable=function(e){var t;i.save(e),i.names=[],i.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?i.skips.push(new RegExp("^"+e.substr(1)+"$")):i.names.push(new RegExp("^"+e+"$")));for(t=0;t<i.instances.length;t++){var o=i.instances[t];o.enabled=i.enabled(o.namespace)}},i.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=i.skips.length;t<n;t++)if(i.skips[t].test(e))return!1;for(t=0,n=i.names.length;t<n;t++)if(i.names[t].test(e))return!0;return!1},i.humanize=n(42),Object.keys(e).forEach((function(t){i[t]=e[t]})),i.instances=[],i.names=[],i.skips=[],i.formatters={},i.selectColor=t,i.enable(i.load()),i}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)};var r,i=n(97),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),o=0;o<n.length;o++)if(!i(n[o])||e[n[o]]!==t[n[o]])return!1;return!0},e.exports=t.default},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),o=n(23);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var s=n(2),c=n.n(s),u=i.a.createContext(null),l=function(e){function t(t){var n;n=e.call(this,t)||this;var r=t.store;return n.state={storeState:r.getState(),store:r},n}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this.subscribe()},n.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},n.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},n.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var n=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===n?null:{storeState:n}}))}));var n=t.getState();n!==this.state.storeState&&this.setState({storeState:n})},n.render=function(){var e=this.props.context||u;return i.a.createElement(e.Provider,{value:this.state},this.props.children)},t}(r.Component);l.propTypes={store:c.a.shape({subscribe:c.a.func.isRequired,dispatch:c.a.func.isRequired,getState:c.a.func.isRequired}),context:c.a.object,children:c.a.any};var h=l;function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var d=n(33),v=n.n(d),g=n(4),m=n.n(g),y=n(17);function w(e,t){void 0===t&&(t={});var n=t,o=n.getDisplayName,s=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,c=n.methodName,l=void 0===c?"connectAdvanced":c,h=n.renderCountProp,d=void 0===h?void 0:h,g=n.shouldHandleStateChanges,w=void 0===g||g,_=n.storeKey,E=void 0===_?"store":_,b=n.withRef,C=void 0!==b&&b,k=n.forwardRef,S=void 0!==k&&k,x=n.context,O=void 0===x?u:x,T=p(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);m()(void 0===d,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),m()(!C,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var z="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";m()("store"===E,"storeKey has been removed and does not do anything. "+z);var M=O;return function(t){var n=t.displayName||t.name||"Component",o=s(n),c=f({},T,{getDisplayName:s,methodName:l,renderCountProp:d,shouldHandleStateChanges:w,storeKey:E,displayName:o,wrappedComponentName:n,WrappedComponent:t}),u=T.pure,h=r.Component;u&&(h=r.PureComponent);var p=function(n){function r(t){var r,o,a,s,c,l,h,p,d,v,g;return r=n.call(this,t)||this,m()(S?!t.wrapperProps[E]:!t[E],"Passing redux store in props has been removed and does not do anything. "+z),r.selectDerivedProps=function(t,n,r,i){if(u&&o===n&&a===t)return s;r===c&&l===i||(c=r,l=i,h=e(r.dispatch,i)),o=n,a=t;var f=h(t,n);return s=f},r.selectChildElement=function(e,t,n){return t===p&&n===d&&g===e||(p=t,d=n,g=e,v=i.a.createElement(e,f({},t,{ref:n}))),v},r.indirectRenderWrappedComponent=r.indirectRenderWrappedComponent.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r)),r}a(r,n);var s=r.prototype;return s.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},s.renderWrappedComponent=function(e){m()(e,'Could not find "store" in the context of "'+o+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+o+" in connect options.");var n,r=e.storeState,i=e.store,a=this.props;S&&(a=this.props.wrapperProps,n=this.props.forwardedRef);var s=this.selectDerivedProps(r,a,i,c);return this.selectChildElement(t,s,n)},s.render=function(){var e=this.props.context&&this.props.context.Consumer&&Object(y.isContextConsumer)(i.a.createElement(this.props.context.Consumer,null))?this.props.context:M;return i.a.createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},r}(h);if(p.WrappedComponent=t,p.displayName=o,S){var g=i.a.forwardRef((function(e,t){return i.a.createElement(p,{wrapperProps:e,forwardedRef:t})}));return g.displayName=o,g.WrappedComponent=t,v()(g,t)}return v()(p,t)}}var _=Object.prototype.hasOwnProperty;function E(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function b(e,t){if(E(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!_.call(t,n[i])||!E(e[n[i]],t[n[i]]))return!1;return!0}var C=n(34),k=function(){return Math.random().toString(36).substring(7).split("").join(".")},S={INIT:"@@redux/INIT"+k(),REPLACE:"@@redux/REPLACE"+k(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+k()}};function x(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function O(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(O)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],s=a,c=!1;function u(){s===a&&(s=a.slice())}function l(){if(c)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function h(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(c)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return u(),s.push(e),function(){if(t){if(c)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,u();var n=s.indexOf(e);s.splice(n,1)}}}function f(e){if(!x(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,o=i(o,e)}finally{c=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,f({type:S.REPLACE})}function d(){var e,t=h;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(l())}return n(),{unsubscribe:t(n)}}})[C.a]=function(){return this},e}return f({type:S.INIT}),(r={dispatch:f,subscribe:h,getState:l,replaceReducer:p})[C.a]=d,r}function T(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function z(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:S.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:S.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+S.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(s){o=s}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],u=n[c],l=e[c],h=u(l,t);if(void 0===h){var f=T(c,t);throw new Error(f)}i[c]=h,r=r||h!==l}return r?i:e}}function M(e,t){return function(){return t(e.apply(this,arguments))}}function P(e,t){if("function"==typeof e)return M(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var i=e[r];"function"==typeof i&&(n[r]=M(i,t))}return n}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function A(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(n,!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function F(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return N({},n,{dispatch:r=D.apply(void 0,o)(n.dispatch)})}}}function L(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function I(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function R(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=I(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=I(i),i=r(t,n)),i},r}}var H=[function(e){return"function"==typeof e?R(e):void 0},function(e){return e?void 0:L((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?L((function(t){return P(e,t)})):void 0}];var V=[function(e){return"function"==typeof e?R(e):void 0},function(e){return e?void 0:L((function(){return{}}))}];function U(e,t,n){return f({},n,e,t)}var Y=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var c=e(t,n,s);return a?i&&o(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return U}}];function B(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function W(e,t,n,r,i){var o,a,s,c,u,l=i.areStatesEqual,h=i.areOwnPropsEqual,f=i.areStatePropsEqual,p=!1;function d(i,p){var d,v,g=!h(p,a),m=!l(i,o);return o=i,a=p,g&&m?(s=e(o,a),t.dependsOnOwnProps&&(c=t(r,a)),u=n(s,c,a)):g?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(c=t(r,a)),u=n(s,c,a)):m?(d=e(o,a),v=!f(d,s),s=d,v&&(u=n(s,c,a)),u):u}return function(i,l){return p?d(i,l):(s=e(o=i,a=l),c=t(r,a),u=n(s,c,a),p=!0,u)}}function G(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=p(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),c=i(e,o);return(o.pure?W:B)(a,s,c,e,o)}function K(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function $(e,t){return e===t}var q,J,Z,Q,X,ee,te,ne,re,ie,oe,ae,se=(Z=(J=void 0===q?{}:q).connectHOC,Q=void 0===Z?w:Z,X=J.mapStateToPropsFactories,ee=void 0===X?V:X,te=J.mapDispatchToPropsFactories,ne=void 0===te?H:te,re=J.mergePropsFactories,ie=void 0===re?Y:re,oe=J.selectorFactory,ae=void 0===oe?G:oe,function(e,t,n,r){void 0===r&&(r={});var i=r,o=i.pure,a=void 0===o||o,s=i.areStatesEqual,c=void 0===s?$:s,u=i.areOwnPropsEqual,l=void 0===u?b:u,h=i.areStatePropsEqual,d=void 0===h?b:h,v=i.areMergedPropsEqual,g=void 0===v?b:v,m=p(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),y=K(e,ee,"mapStateToProps"),w=K(t,ne,"mapDispatchToProps"),_=K(n,ie,"mergeProps");return Q(ae,f({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:y,initMapDispatchToProps:w,initMergeProps:_,pure:a,areStatesEqual:c,areOwnPropsEqual:l,areStatePropsEqual:d,areMergedPropsEqual:g},m))});function ce(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var ue=ce();ue.withExtraArgument=ce;var le=ue,he=n(20),fe=n(11),pe=n.n(fe);n(13);function de(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var ve=Object.create(null);function ge(e){return ve[e]||(ve[e]=function(e){for(var t="",n=[],r=[],i=void 0,o=0,a=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)|\\\(|\\\)/g;i=a.exec(e);)i.index!==o&&(r.push(e.slice(o,i.index)),t+=de(e.slice(o,i.index))),i[1]?(t+="([^/]+)",n.push(i[1])):"**"===i[0]?(t+="(.*)",n.push("splat")):"*"===i[0]?(t+="(.*?)",n.push("splat")):"("===i[0]?t+="(?:":")"===i[0]?t+=")?":"\\("===i[0]?t+="\\(":"\\)"===i[0]&&(t+="\\)"),r.push(i[0]),o=a.lastIndex;return o!==e.length&&(r.push(e.slice(o,e.length)),t+=de(e.slice(o,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}(e)),ve[e]}function me(e,t){"/"!==e.charAt(0)&&(e="/"+e);var n=ge(e),r=n.regexpSource,i=n.paramNames,o=n.tokens;"/"!==e.charAt(e.length-1)&&(r+="/?"),"*"===o[o.length-1]&&(r+="$");var a=t.match(new RegExp("^"+r,"i"));if(null==a)return null;var s=a[0],c=t.substr(s.length);if(c){if("/"!==s.charAt(s.length-1))return null;c="/"+c}return{remainingPathname:c,paramNames:i,paramValues:a.slice(1).map((function(e){return e&&decodeURIComponent(e)}))}}function ye(e){return ge(e).paramNames}function we(e,t){t=t||{};for(var n=ge(e).tokens,r=0,i="",o=0,a=[],s=void 0,c=void 0,u=0,l=n.length;u<l;++u)if("*"===(s=n[u])||"**"===s)null!=(c=Array.isArray(t.splat)?t.splat[o++]:t.splat)||r>0||m()(!1),null!=c&&(i+=encodeURI(c));else if("("===s)a[r]="",r+=1;else if(")"===s){var h=a.pop();(r-=1)?a[r-1]+=h:i+=h}else if("\\("===s)i+="(";else if("\\)"===s)i+=")";else if(":"===s.charAt(0))if(null!=(c=t[s.substring(1)])||r>0||m()(!1),null==c){if(r){a[r-1]="";for(var f=n.indexOf(s),p=n.slice(f,n.length),d=-1,v=0;v<p.length;v++)if(")"==p[v]){d=v;break}d>0||m()(!1),u=f+d-1}}else r?a[r-1]+=encodeURIComponent(c):i+=encodeURIComponent(c);else r?a[r-1]+=s:i+=s;return r<=0||m()(!1),i.replace(/\/+/g,"/")}var _e=function(e,t){var n=e&&e.routes,r=t.routes,i=void 0,o=void 0,a=void 0;if(n){var s=!1;(i=n.filter((function(n){if(s)return!0;var i=-1===r.indexOf(n)||function(e,t,n){return!!e.path&&ye(e.path).some((function(e){return t.params[e]!==n.params[e]}))}(n,e,t);return i&&(s=!0),i}))).reverse(),a=[],o=[],r.forEach((function(e){var t=-1===n.indexOf(e),r=-1!==i.indexOf(e);t||r?a.push(e):o.push(e)}))}else i=[],o=[],a=r;return{leaveRoutes:i,changeRoutes:o,enterRoutes:a}};function Ee(e,t,n){var r=0,i=!1,o=!1,a=!1,s=void 0;function c(){i=!0,o?s=[].concat(Array.prototype.slice.call(arguments)):n.apply(this,arguments)}!function u(){if(!i&&(a=!0,!o)){for(o=!0;!i&&r<e&&a;)a=!1,t.call(this,r++,u,c);o=!1,i?n.apply(this,s):r>=e&&a&&(i=!0,n())}}()}function be(e,t,n){var r=e.length,i=[];if(0===r)return n(null,i);var o=!1,a=0;e.forEach((function(e,s){t(e,s,(function(e,t){!function(e,t,s){o||(t?(o=!0,n(t)):(i[e]=s,(o=++a===r)&&n(null,i)))}(s,e,t)}))}))}var Ce=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hooks=[],this.add=function(e){return t.hooks.push(e)},this.remove=function(e){return t.hooks=t.hooks.filter((function(t){return t!==e}))},this.has=function(e){return-1!==t.hooks.indexOf(e)},this.clear=function(){return t.hooks=[]}};function ke(){var e=new Ce,t=new Ce;function n(e,t,n,r){var i=e.length<n,o=function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];if(e.apply(t,r),i){var a=r[r.length-1];a()}};return r.add(o),o}function r(e,t,n){if(e){var r=void 0;Ee(e,(function(e,n,o){t(e,i,(function(e){e||r?o(e,r):n()}))}),n)}else n();function i(e){r=e}}return{runEnterHooks:function(t,i,o){e.clear();var a=function(t){return t.reduce((function(t,r){return r.onEnter&&t.push(n(r.onEnter,r,3,e)),t}),[])}(t);return r(a.length,(function(t,n,r){a[t](i,n,(function(){e.has(a[t])&&(r.apply(void 0,arguments),e.remove(a[t]))}))}),o)},runChangeHooks:function(e,i,o,a){t.clear();var s=function(e){return e.reduce((function(e,r){return r.onChange&&e.push(n(r.onChange,r,4,t)),e}),[])}(e);return r(s.length,(function(e,n,r){s[e](i,o,n,(function(){t.has(s[e])&&(r.apply(void 0,arguments),t.remove(s[e]))}))}),a)},runLeaveHooks:function(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}}}var Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function xe(e,t){return null==t?null==e:null==e||function e(t,n){if(t==n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===(void 0===t?"undefined":Se(t))){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))if(void 0===t[r]){if(void 0!==n[r])return!1}else{if(!Object.prototype.hasOwnProperty.call(n,r))return!1;if(!e(t[r],n[r]))return!1}return!0}return String(t)===String(n)}(e,t)}function Oe(e,t,n,r,i){var o=e.pathname,a=e.query;return null!=n&&("/"!==o.charAt(0)&&(o="/"+o),!!(function(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}(o,n.pathname)||!t&&function(e,t,n){for(var r=e,i=[],o=[],a=0,s=t.length;a<s;++a){var c=t[a].path||"";if("/"===c.charAt(0)&&(r=e,i=[],o=[]),null!==r&&c){var u=me(c,r);if(u?(r=u.remainingPathname,i=[].concat(i,u.paramNames),o=[].concat(o,u.paramValues)):r=null,""===r)return i.every((function(e,t){return String(o[t])===String(n[e])}))}}return!1}(o,r,i))&&xe(a,n.query))}function Te(e){return e&&"function"==typeof e.then}var ze=function(e,t){be(e.routes,(function(t,n,r){!function(e,t,n){if(t.component||t.components)n(null,t.component||t.components);else{var r=t.getComponent||t.getComponents;if(r){var i=r.call(t,e,n);Te(i)&&i.then((function(e){return n(null,e)}),n)}else n()}}(e,t,r)}),t)},Me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Pe(e){return null==e||i.a.isValidElement(e)}function je(e){return Pe(e)||Array.isArray(e)&&e.every(Pe)}function Ae(e){var t,n,r=e.type,i=(t=r.defaultProps,n=e.props,Me({},t,n));if(i.children){var o=Ne(i.children,i);o.length&&(i.childRoutes=o),delete i.children}return i}function Ne(e,t){var n=[];return i.a.Children.forEach(e,(function(e){if(i.a.isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(Ae(e))})),n}function De(e){return je(e)?e=Ne(e):e&&!Array.isArray(e)&&(e=[e]),e}var Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Le(e,t,n,r,i){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var o=!0,a=void 0,s={location:t,params:Ie(n,r)},c=e.getChildRoutes(s,(function(e,t){t=!e&&De(t),o?a=[e,t]:i(e,t)}));return Te(c)&&c.then((function(e){return i(null,De(e))}),i),o=!1,a}function Ie(e,t){return function(e,t,n){return t.reduce((function(e,t,r){var i=n&&n[r];return Array.isArray(e[t])?e[t].push(i):e[t]=t in e?[e[t],i]:i,e}),e)}({},e,t)}function Re(e,t,n,r,i,o){var a=e.path||"";if("/"===a.charAt(0)&&(n=t.pathname,r=[],i=[]),null!==n&&a){try{var s=me(a,n);s?(n=s.remainingPathname,r=[].concat(r,s.paramNames),i=[].concat(i,s.paramValues)):n=null}catch(h){o(h)}if(""===n){var c={routes:[e],params:Ie(r,i)};return void function e(t,n,r,i,o){if(t.indexRoute)o(null,t.indexRoute);else if(t.getIndexRoute){var a={location:n,params:Ie(r,i)},s=t.getIndexRoute(a,(function(e,t){o(e,!e&&De(t)[0])}));Te(s)&&s.then((function(e){return o(null,De(e)[0])}),o)}else if(t.childRoutes||t.getChildRoutes){var c=function(t,a){if(t)o(t);else{var s=a.filter((function(e){return!e.path}));Ee(s.length,(function(t,o,a){e(s[t],n,r,i,(function(e,n){if(e||n){var r=[s[t]].concat(Array.isArray(n)?n:[n]);a(e,r)}else o()}))}),(function(e,t){o(null,t)}))}},u=Le(t,n,r,i,c);u&&c.apply(void 0,u)}else o()}(e,t,r,i,(function(e,t){if(e)o(e);else{var n;if(Array.isArray(t))(n=c.routes).push.apply(n,t);else t&&c.routes.push(t);o(null,c)}}))}}if(null!=n||e.childRoutes){var u=function(a,s){a?o(a):s?He(s,t,(function(t,n){t?o(t):n?(n.routes.unshift(e),o(null,n)):o()}),n,r,i):o()},l=Le(e,t,r,i,u);l&&u.apply(void 0,l)}else o()}function He(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=Fe({},t,{pathname:"/"+t.pathname})),r=t.pathname),Ee(e.length,(function(n,a,s){Re(e[n],t,r,i,o,(function(e,t){e||t?s(e,t):a()}))}),n)}var Ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Ue(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function Ye(e,t){var n={},r=ke(),i=r.runEnterHooks,o=r.runChangeHooks,a=r.runLeaveHooks;var s=void 0;function c(e,n){s&&s.location===e?u(s,n):He(t,e,(function(t,r){t?n(t):r?u(Ve({},r,{location:e}),n):n()}))}function u(e,t){var r=_e(n,e),s=r.leaveRoutes,c=r.changeRoutes,u=r.enterRoutes;function l(r,i){if(r||i)return h(r,i);ze(e,(function(r,i){r?t(r):t(null,null,n=Ve({},e,{components:i}))}))}function h(e,n){e?t(e):t(null,n)}a(s,n),s.filter((function(e){return-1===u.indexOf(e)})).forEach(y),o(c,n,e,(function(t,n){if(t||n)return h(t,n);i(u,e,l)}))}var l=1;function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.__id__||t&&(e.__id__=l++)}var f=Object.create(null);function p(e){return e.map((function(e){return f[h(e)]})).filter((function(e){return e}))}function d(e,r){He(t,e,(function(t,i){if(null!=i){s=Ve({},i,{location:e});for(var o=p(_e(n,s).leaveRoutes),a=void 0,c=0,u=o.length;null==a&&c<u;++c)a=o[c](e);r(a)}else r()}))}function v(){if(n.routes){for(var e=p(n.routes),t=void 0,r=0,i=e.length;"string"!=typeof t&&r<i;++r)t=e[r]();return t}}var g=void 0,m=void 0;function y(e){var t=h(e);t&&(delete f[t],Ue(f)||(g&&(g(),g=null),m&&(m(),m=null)))}return{isActive:function(t,r){return Oe(t=e.createLocation(t),r,n.location,n.routes,n.params)},match:c,listenBeforeLeavingRoute:function(t,n){var r=!Ue(f),i=h(t,!0);return f[i]=n,r&&(g=e.listenBefore(d),e.listenBeforeUnload&&(m=e.listenBeforeUnload(v))),function(){y(t)}},listen:function(t){function r(r){n.location===r?t(null,n):c(r,(function(n,r,i){n?t(n):r?e.replace(r):i&&t(null,i)}))}var i=e.listen(r);return n.location?t(null,n):r(e.getCurrentLocation()),i}}}function Be(e,t,n){if(e[t])return new Error("<"+n+'> should not have a "'+t+'" prop')}Object(s.shape)({listen:s.func.isRequired,push:s.func.isRequired,replace:s.func.isRequired,go:s.func.isRequired,goBack:s.func.isRequired,goForward:s.func.isRequired});var We=s.elementType,Ge=Object(s.oneOfType)([We,s.object]),Ke=Object(s.oneOfType)([s.object,s.element]),$e=Object(s.oneOfType)([Ke,Object(s.arrayOf)(Ke)]);var qe=function(e,t){var n={};return e.path?(ye(e.path).forEach((function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})),n):n},Je=c.a.shape({subscribe:c.a.func.isRequired,eventIndex:c.a.number.isRequired});function Ze(e){return"@@contextSubscriber/"+e}var Qe=parseFloat(i.a.version)>=16.3;function Xe(e){var t,n,r=Ze(e),i=r+"/lastRenderedEventIndex",o=r+"/handleContextUpdate",a=r+"/unsubscribe",s=((n={contextTypes:(t={},t[r]=Je,t),getInitialState:function(){var e;return this.context[r]?((e={})[i]=this.context[r].eventIndex,e):{}},componentDidMount:function(){this.context[r]&&(this[a]=this.context[r].subscribe(this[o]))},componentWillReceiveProps:function(){var e;this.context[r]&&this.setState(((e={})[i]=this.context[r].eventIndex,e))},componentWillUnmount:function(){this[a]&&(this[a](),this[a]=null)}})[o]=function(e){var t;e!==this.state[i]&&this.setState(((t={})[i]=e,t))},n);return Qe&&(s.UNSAFE_componentWillReceiveProps=s.componentWillReceiveProps,delete s.componentWillReceiveProps),s}var et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nt=pe()({displayName:"RouterContext",mixins:[function(e){var t,n,r=Ze(e),i=r+"/listeners",o=r+"/eventIndex",a=r+"/subscribe",s=((n={childContextTypes:(t={},t[r]=Je.isRequired,t),getChildContext:function(){var e;return(e={})[r]={eventIndex:this[o],subscribe:this[a]},e},componentWillMount:function(){this[i]=[],this[o]=0},componentWillReceiveProps:function(){this[o]++},componentDidUpdate:function(){var e=this;this[i].forEach((function(t){return t(e[o])}))}})[a]=function(e){var t=this;return this[i].push(e),function(){t[i]=t[i].filter((function(t){return t!==e}))}},n);return Qe&&(s.UNSAFE_componentWillMount=s.componentWillMount,s.UNSAFE_componentWillReceiveProps=s.componentWillReceiveProps,delete s.componentWillMount,delete s.componentWillReceiveProps),s}("router")],propTypes:{router:s.object.isRequired,location:s.object.isRequired,routes:s.array.isRequired,params:s.object.isRequired,components:s.array.isRequired,createElement:s.func.isRequired},getDefaultProps:function(){return{createElement:i.a.createElement}},childContextTypes:{router:s.object.isRequired},getChildContext:function(){return{router:this.props.router}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.location,r=t.routes,o=t.params,a=t.components,s=t.router,c=null;return a&&(c=a.reduceRight((function(t,i,a){if(null==i)return t;var c=r[a],u=qe(c,o),l={location:n,params:o,route:c,router:s,routeParams:u,routes:r};if(je(t))l.children=t;else if(t)for(var h in t)Object.prototype.hasOwnProperty.call(t,h)&&(l[h]=t[h]);if("object"===(void 0===i?"undefined":tt(i))&&!Object(y.isValidElementType)(i)){var f={};for(var p in i)Object.prototype.hasOwnProperty.call(i,p)&&(f[p]=e.createElement(i[p],et({key:p},l)));return f}return e.createElement(i,l)}),c)),null===c||!1===c||i.a.isValidElement(c)||m()(!1),c}}),rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function it(e,t,n){return ot(rt({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive}),n)}function ot(e,t){var n=t.location,r=t.params,i=t.routes;return e.location=n,e.params=r,e.routes=i,e}var at=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var st={history:s.object,children:$e,routes:$e,render:s.func,createElement:s.func,onError:s.func,onUpdate:s.func,matchContext:s.object},ct=parseFloat(i.a.version)>=16.3,ut=pe()({displayName:"Router",propTypes:st,getDefaultProps:function(){return{render:function(e){return i.a.createElement(nt,e)}}},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},createRouterObject:function(e){var t=this.props.matchContext;return t?t.router:it(this.props.history,this.transitionManager,e)},createTransitionManager:function(){var e=this.props.matchContext;if(e)return e.transitionManager;var t=this.props.history,n=this.props,r=n.routes,i=n.children;return t.getCurrentLocation||m()(!1),Ye(t,De(r||i))},componentWillMount:function(){var e=this;this.transitionManager=this.createTransitionManager(),this.router=this.createRouterObject(this.state),this._unlisten=this.transitionManager.listen((function(t,n){t?e.handleError(t):(ot(e.router,n),e.setState(n,e.props.onUpdate))}))},componentWillReceiveProps:function(e){},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function(){var e=this.state,t=e.location,n=e.routes,r=e.params,i=e.components,o=this.props,a=o.createElement,s=o.render,c=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["createElement","render"]);return null==t?null:(Object.keys(st).forEach((function(e){return delete c[e]})),s(at({},c,{router:this.router,location:t,routes:n,params:r,components:i,createElement:a})))}});ct&&(ut.prototype.UNSAFE_componentWillReceiveProps=ut.prototype.componentWillReceiveProps,ut.prototype.UNSAFE_componentWillMount=ut.prototype.componentWillMount,delete ut.prototype.componentWillReceiveProps,delete ut.prototype.componentWillMount);var lt=Object(s.shape)({push:s.func.isRequired,replace:s.func.isRequired,go:s.func.isRequired,goBack:s.func.isRequired,goForward:s.func.isRequired,setRouteLeaveHook:s.func.isRequired,isActive:s.func.isRequired}),ht=(Object(s.shape)({pathname:s.string.isRequired,search:s.string.isRequired,state:s.object,action:s.string.isRequired,key:s.string}),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e});function ft(e,t){return"function"==typeof e?e(t.location):e}var pt=pe()({displayName:"Link",mixins:[Xe("router")],contextTypes:{router:lt},propTypes:{to:Object(s.oneOfType)([s.string,s.object,s.func]),activeStyle:s.object,activeClassName:s.string,onlyActiveOnIndex:s.bool.isRequired,onClick:s.func,target:s.string,innerRef:Object(s.oneOfType)([s.string,s.func])},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented){var t=this.context.router;t||m()(!1),!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)&&function(e){return 0===e.button}(e)&&(this.props.target||(e.preventDefault(),t.push(ft(this.props.to,t))))}},render:function(){var e=this.props,t=e.to,n=e.activeClassName,r=e.activeStyle,o=e.onlyActiveOnIndex,a=e.innerRef,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","activeClassName","activeStyle","onlyActiveOnIndex","innerRef"]),c=this.context.router;if(c){if(!t)return i.a.createElement("a",ht({},s,{ref:a}));var u=ft(t,c);s.href=c.createHref(u),(n||null!=r&&!function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}(r))&&c.isActive(u,o)&&(n&&(s.className?s.className+=" "+n:s.className=n),r&&(s.style=ht({},s.style,r)))}return i.a.createElement("a",ht({},s,{onClick:this.handleClick,ref:a}))}}),dt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};pe()({displayName:"IndexLink",render:function(){return i.a.createElement(pt,dt({},this.props,{onlyActiveOnIndex:!0}))}}),n(47),Object.assign;var vt=pe()({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=Ae(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,i=e.params,o=void 0;if("/"===t.to.charAt(0))o=we(t.to,i);else if(t.to){var a=e.routes.indexOf(t);o=we(vt.getRoutePattern(e.routes,a-1).replace(/\/*$/,"/")+t.to,i)}else o=r.pathname;n({pathname:o,query:t.query||r.query,state:t.state||r.state})},t},getRoutePattern:function(e,t){for(var n="",r=t;r>=0;r--){var i=e[r].path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:s.string,from:s.string,to:s.string.isRequired,query:s.object,state:s.object,onEnter:Be,children:Be},render:function(){m()(!1)}}),gt=vt,mt=(pe()({displayName:"IndexRedirect",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=gt.createRouteFromReactElement(e))}},propTypes:{to:s.string.isRequired,query:s.object,state:s.object,onEnter:Be,children:Be},render:function(){m()(!1)}}),pe()({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=Ae(e))}},propTypes:{path:Be,component:We,components:Ge,getComponent:s.func,getComponents:s.func},render:function(){m()(!1)}}),pe()({displayName:"Route",statics:{createRouteFromReactElement:Ae},propTypes:{path:s.string,component:We,components:Ge,getComponent:s.func,getComponents:s.func},render:function(){m()(!1)}}),n(16),n(21)),yt=n.n(mt),wt=n(22),_t=n.n(wt);n(48);Object.assign;Object.assign;var Et=n(49),bt=n.n(Et),Ct=!("undefined"==typeof window||!window.document||!window.document.createElement);function kt(e){var t=void 0;return Ct&&(t=function(e){return function(t){return yt()(_t()(e))(t)}}(e)()),t}kt(bt.a);var St=n(50),xt=kt(n.n(St).a),Ot=n(31),Tt=n.n(Ot);function zt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"NEW_NOTICE":return[t.notice].concat(Tt()(e));case"REMOVE_NOTICE":return e.filter((function(e){return e.noticeId!==t.noticeId}))}return e}z({globalNotices:zt});var Mt=n(1);function Pt(e){return!!e.jetpack.initialState.isDevVersion}function jt(e){return Object(Mt.get)(e.jetpack.initialState,"currentVersion","")}function At(e){return Object(Mt.get)(e.jetpack.initialState,"adminUrl",{})}function Nt(e){return Object(Mt.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_options",!1)}function Dt(e){return Object(Mt.get)(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function Ft(e){return Object(Mt.get)(e.jetpack.initialState.userData.currentUser.permissions,"disconnect",!1)}function Lt(e){return Object(Mt.get)(e.jetpack.initialState.userData.currentUser,"isMaster",!1)}function It(e){return Object(Mt.get)(e.jetpack.initialState.userData.currentUser.permissions,"view_stats",!1)}var Rt=z({requests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"STATS_DATA_FETCH":return Object(Mt.assign)({},e,{fetchingStatsData:!0});case"AKISMET_DATA_FETCH":return Object(Mt.assign)({},e,{fetchingAkismetData:!0});case"AKISMET_KEY_CHECK_FETCH":return Object(Mt.assign)({},e,{checkingAkismetKey:!0});case"VAULTPRESS_SITE_DATA_FETCH":return Object(Mt.assign)({},e,{fetchingVaultPressData:!0});case"DASHBOARD_PROTECT_COUNT_FETCH":return Object(Mt.assign)({},e,{fetchingProtectData:!0});case"PLUGIN_UPDATES_FETCH":return Object(Mt.assign)({},e,{fetchingPluginUpdates:!0});case"STATS_DATA_FETCH_FAIL":case"STATS_DATA_FETCH_SUCCESS":return Object(Mt.assign)({},e,{fetchingStatsData:!1});case"AKISMET_DATA_FETCH_FAIL":case"AKISMET_DATA_FETCH_SUCCESS":return Object(Mt.assign)({},e,{fetchingAkismetData:!1});case"AKISMET_KEY_CHECK_FETCH_FAIL":case"AKISMET_KEY_CHECK_FETCH_SUCCESS":return Object(Mt.assign)({},e,{checkingAkismetKey:!1});case"DASHBOARD_PROTECT_COUNT_FETCH_FAIL":case"DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS":return Object(Mt.assign)({},e,{fetchingProtectData:!1});case"PLUGIN_UPDATES_FETCH_FAIL":case"PLUGIN_UPDATES_FETCH_SUCCESS":return Object(Mt.assign)({},e,{fetchingPluginUpdates:!1});case"VAULTPRESS_SITE_DATA_FETCH_FAIL":case"VAULTPRESS_SITE_DATA_FETCH_SUCCESS":return Object(Mt.assign)({},e,{fetchingVaultPressData:!1});default:return e}},activeStatsTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"day",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"STATS_SWITCH_TAB":return t.activeStatsTab;default:return e}},protectCount:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS":return t.protectCount;default:return e}},vaultPressData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"VAULTPRESS_SITE_DATA_FETCH_SUCCESS":return t.vaultPressData;case"MOCK_SWITCH_THREATS":return Object(Mt.assign)({},"N/A"===e?{}:e,{data:{active:!0,features:{security:!0},security:{notice_count:t.mockCount}}});default:return e}},statsData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"STATS_DATA_FETCH_SUCCESS":return Object(Mt.assign)({},e,t.statsData);default:return e}},akismetData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"AKISMET_DATA_FETCH_SUCCESS":return t.akismetData;default:return e}},akismet:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{validKey:null,invalidKeyCode:"",invalidKeyMessage:""},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"AKISMET_KEY_CHECK_FETCH_SUCCESS":return Object(Mt.assign)({},e,t.akismet);default:return e}},pluginUpdates:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"N/A",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"PLUGIN_UPDATES_FETCH_SUCCESS":return t.pluginUpdates;default:return e}}});var Ht=z({checklist:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return"SITE_CHECKLIST_RECEIVE"===t.type?t.checklist:e},isLoading:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SITE_CHECKLIST_REQUEST":return!0;case"SITE_CHECKLIST_RECEIVE":return!1}return e}}),Vt=n(3),Ut=n.n(Vt),Yt={isFetchingPluginsData:!1},Bt=z({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_PLUGINS_DATA_FETCH_RECEIVE":return Object(Mt.assign)({},t.pluginsData);default:return e}},requests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Yt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_PLUGINS_DATA_FETCH":return Object(Mt.assign)({},e,{isFetchingPluginsData:!0});case"JETPACK_PLUGINS_DATA_FETCH_FAIL":case"JETPACK_PLUGINS_DATA_FETCH_RECEIVE":return Object(Mt.assign)({},e,{isFetchingPluginsData:!1});default:return e}}});var Wt=n(7),Gt=n.n(Wt),Kt=n(8),$t=n.n(Kt),qt=n(6),Jt=n.n(qt),Zt=n(9),Qt=n.n(Zt),Xt=n(51),en=n.n(Xt);function tn(e){return function(t){function n(){var t,r;Gt()(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=$t()(this,(t=Jt()(n)).call.apply(t,[this].concat(o)))).name=e,r}return Qt()(n,t),n}(en()(Error))}var nn=tn("JsonParseError"),rn=tn("JsonParseAfterRedirectError"),on=tn("Api404Error"),an=tn("Api404AfterRedirectError"),sn=tn("FetchNetworkError");var cn=new function(e,t){var n=e,r={"X-WP-Nonce":t},i={credentials:"same-origin",headers:r},o={method:"post",credentials:"same-origin",headers:Object(Mt.assign)({},r,{"Content-type":"application/json"})},a={setApiRoot:function(e){n=e},setApiNonce:function(e){i={credentials:"same-origin",headers:r={"X-WP-Nonce":e}},o={method:"post",credentials:"same-origin",headers:Object(Mt.assign)({},r,{"Content-type":"application/json"})}},fetchSiteConnectionStatus:function(){return s("".concat(n,"jetpack/v4/connection"),i).then(ln)},fetchSiteConnectionTest:function(){return s("".concat(n,"jetpack/v4/connection/test"),i).then(un).then(ln)},fetchUserConnectionData:function(){return s("".concat(n,"jetpack/v4/connection/data"),i).then(ln)},fetchUserTrackingSettings:function(){return s("".concat(n,"jetpack/v4/tracking/settings"),i).then(un).then(ln)},updateUserTrackingSettings:function(e){return c("".concat(n,"jetpack/v4/tracking/settings"),o,{body:JSON.stringify(e)}).then(un).then(ln)},disconnectSite:function(){return c("".concat(n,"jetpack/v4/connection"),o,{body:JSON.stringify({isActive:!1})}).then(un).then(ln)},fetchConnectUrl:function(){return s("".concat(n,"jetpack/v4/connection/url"),i).then(un).then(ln)},unlinkUser:function(){return c("".concat(n,"jetpack/v4/connection/user"),o,{body:JSON.stringify({linked:!1})}).then(un).then(ln)},fetchModules:function(){return s("".concat(n,"jetpack/v4/module/all"),i).then(un).then(ln)},fetchModule:function(e){return s("".concat(n,"jetpack/v4/module/").concat(e),i).then(un).then(ln)},activateModule:function(e){return c("".concat(n,"jetpack/v4/module/").concat(e,"/active"),o,{body:JSON.stringify({active:!0})}).then(un).then(ln)},deactivateModule:function(e){return c("".concat(n,"jetpack/v4/module/").concat(e,"/active"),o,{body:JSON.stringify({active:!1})})},updateModuleOptions:function(e,t){return c("".concat(n,"jetpack/v4/module/").concat(e),o,{body:JSON.stringify(t)}).then(un).then(ln)},updateSettings:function(e){return c("".concat(n,"jetpack/v4/settings"),o,{body:JSON.stringify(e)}).then(un).then(ln)},getProtectCount:function(){return s("".concat(n,"jetpack/v4/module/protect/data"),i).then(un).then(ln)},resetOptions:function(e){return c("".concat(n,"jetpack/v4/options/").concat(e),o,{body:JSON.stringify({reset:!0})}).then(un).then(ln)},getVaultPressData:function(){return s("".concat(n,"jetpack/v4/module/vaultpress/data"),i).then(un).then(ln)},activateAkismet:function(){return c("".concat(n,"jetpack/v4/plugins/akismet/activate"),o).then(un).then(ln)},getAkismetData:function(){return s("".concat(n,"jetpack/v4/module/akismet/data"),i).then(un).then(ln)},checkAkismetKey:function(){return s("".concat(n,"jetpack/v4/module/akismet/key/check"),i).then(un).then(ln)},checkAkismetKeyTyped:function(e){return c("".concat(n,"jetpack/v4/module/akismet/key/check"),o,{body:JSON.stringify({api_key:e})}).then(un).then(ln)},fetchStatsData:function(e){return s(function(e){var t="".concat(n,"jetpack/v4/module/stats/data");-1!==t.indexOf("?")?t+="&range=".concat(encodeURIComponent(e)):t+="?range=".concat(encodeURIComponent(e));return t}(e),i).then(un).then(ln).then(u)},getPluginUpdates:function(){return s("".concat(n,"jetpack/v4/updates/plugins"),i).then(un).then(ln)},getPlans:function(){return s("".concat(n,"jetpack/v4/plans"),i).then(un).then(ln)},fetchSettings:function(){return s("".concat(n,"jetpack/v4/settings"),i).then(un).then(ln)},updateSetting:function(e){return c("".concat(n,"jetpack/v4/settings"),o,{body:JSON.stringify(e)}).then(un).then(ln)},fetchSiteData:function(){return s("".concat(n,"jetpack/v4/site"),i).then(un).then(ln).then((function(e){return JSON.parse(e.data)}))},fetchSiteFeatures:function(){return s("".concat(n,"jetpack/v4/site/features"),i).then(un).then(ln).then((function(e){return JSON.parse(e.data)}))},fetchSitePurchases:function(){return s("".concat(n,"jetpack/v4/site/purchases"),i).then(un).then(ln).then((function(e){return JSON.parse(e.data)}))},fetchSiteBenefits:function(){return s("".concat(n,"jetpack/v4/site/benefits"),i).then(un).then(ln).then((function(e){return JSON.parse(e.data)}))},fetchProducts:function(){return s("".concat(n,"jetpack/v4/products"),i).then(un).then(ln)},fetchRewindStatus:function(){return s("".concat(n,"jetpack/v4/rewind"),i).then(un).then(ln).then((function(e){return JSON.parse(e.data)}))},dismissJetpackNotice:function(e){return c("".concat(n,"jetpack/v4/notice/").concat(e),o,{body:JSON.stringify({dismissed:!0})}).then(un).then(ln)},fetchPluginsData:function(){return s("".concat(n,"jetpack/v4/plugins"),i).then(un).then(ln)},fetchVerifySiteGoogleStatus:function(e){return s(null!==e?"".concat(n,"jetpack/v4/verify-site/google/").concat(e):"".concat(n,"jetpack/v4/verify-site/google"),i).then(un).then(ln)},verifySiteGoogle:function(e){return c("".concat(n,"jetpack/v4/verify-site/google"),o,{body:JSON.stringify({keyring_id:e})}).then(un).then(ln)},sendMobileLoginEmail:function(){return c("".concat(n,"jetpack/v4/mobile/send-login-email"),o).then(un).then(ln)}};function s(e,t){return fetch(function(e){var 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("&")}(e),t)}function c(e,t,n){return fetch(e,Object(Mt.assign)({},t,n)).catch(hn)}function u(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(Mt.assign)(this,a)};function un(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((function(){throw e.redirected?new an(e.redirected):new on})):e.json().then((function(t){var n=new Error("".concat(t.message," (Status ").concat(e.status,")"));throw n.response=t,n}))}function ln(e){return e.json().catch((function(t){return function(e,t,n){throw t?new rn(n):new nn}(0,e.redirected,e.url)}))}function hn(){throw new sn}var fn={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}},pn=z({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SET_INITIAL_STATE":return Object(Mt.assign)({},t.initialState.getModules);case"JETPACK_MODULES_LIST_RECEIVE":return Object(Mt.assign)({},e,t.modules);case"JETPACK_MODULE_ACTIVATE_SUCCESS":return Object(Mt.assign)({},e,Ut()({},t.module,Object(Mt.assign)({},e[t.module],{activated:!0})));case"JETPACK_MODULE_DEACTIVATE_SUCCESS":return Object(Mt.assign)({},e,Ut()({},t.module,Object(Mt.assign)({},e[t.module],{activated:!1})));case"JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS":var n=Object(Mt.assign)({},e[t.module]);return Object.keys(t.newOptionValues).forEach((function(e){n.options[e].current_value=t.newOptionValues[e]})),Object(Mt.assign)({},e,Ut()({},t.module,n));default:return e}},requests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_MODULES_LIST_FETCH":return Object(Mt.assign)({},e,{fetchingModulesList:!0});case"JETPACK_MODULES_LIST_FETCH_FAIL":case"JETPACK_MODULES_LIST_RECEIVE":return Object(Mt.assign)({},e,{fetchingModulesList:!1});case"JETPACK_MODULE_ACTIVATE":return Object(Mt.assign)({},e,{activating:Object(Mt.assign)({},e.activating,Ut()({},t.module,!0))});case"JETPACK_MODULE_ACTIVATE_FAIL":case"JETPACK_MODULE_ACTIVATE_SUCCESS":return Object(Mt.assign)({},e,{activating:Object(Mt.assign)({},e.activating,Ut()({},t.module,!1))});case"JETPACK_MODULE_DEACTIVATE":return Object(Mt.assign)({},e,{deactivating:Object(Mt.assign)({},e.deactivating,Ut()({},t.module,!0))});case"JETPACK_MODULE_DEACTIVATE_FAIL":case"JETPACK_MODULE_DEACTIVATE_SUCCESS":return Object(Mt.assign)({},e,{deactivating:Object(Mt.assign)({},e.deactivating,Ut()({},t.module,!1))});case"JETPACK_MODULE_UPDATE_OPTIONS":var n=Object(Mt.assign)({},e.updatingOption);return n[t.module]=Object(Mt.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((function(e){n[t.module][e]=!0})),Object(Mt.assign)({},e,{updatingOption:Object(Mt.assign)({},e.updatingOption,n)});case"JETPACK_MODULE_UPDATE_OPTIONS_FAIL":case"JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS":var r=Object(Mt.assign)({},e.updatingOption);return r[t.module]=Object(Mt.assign)({},r[t.module]),Object.keys(t.newOptionValues).forEach((function(e){r[t.module][e]=!1})),Object(Mt.assign)({},e,{updatingOption:Object(Mt.assign)({},e.updatingOption,r)});default:return e}}});function dn(e){return{noticeId:e,type:"REMOVE_NOTICE"}}function vn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={noticeId:n.id||Object(Mt.uniqueId)(),duration:n.duration,showDismiss:"boolean"!=typeof n.showDismiss||n.showDismiss,isPersistent:n.isPersistent||!1,displayOnNextPage:n.displayOnNextPage||!1,status:e,text:t};return{type:"NEW_NOTICE",notice:r}}vn.bind(null,"is-success"),vn.bind(null,"is-error"),vn.bind(null,"is-info"),vn.bind(null,"is-warning");var gn=n(52),mn=n.n(gn),yn=n(53),wn=n.n(yn),_n=n(24),En=n.n(_n),bn=n(54),Cn=n.n(bn),kn=n(35),Sn=n.n(kn),xn=n(55),On=n.n(xn),Tn=n(32);function zn(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,a=void 0===r?",":r,s=void 0===n?".":n,c="";return(c=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,o):""+Math.round(i)).split("."))[0].length>3&&(c[0]=c[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(c[1]||"").length<o&&(c[1]=c[1]||"",c[1]+=new Array(o-c[1].length+1).join("0")),c.join(s)}var Mn=mn()("i18n-calypso"),Pn=[function(e){return e}],jn={};function An(){In.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function Nn(e){return Array.prototype.slice.call(e)}function Dn(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&An("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",Nn(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&An("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",Nn(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function Fn(e,t){var n="gettext";t.context&&(n="p"+n),"string"==typeof t.original&&"string"==typeof t.plural&&(n="n"+n);var r=function(e,t){switch(e){case"gettext":return[t.original];case"ngettext":return[t.original,t.plural,t.count];case"npgettext":return[t.context,t.original,t.plural,t.count];case"pgettext":return[t.context,t.original]}return[]}(n,t);return e[n].apply(e,r)}function Ln(e,t){for(var n=Pn.length-1;n>=0;n--){var r=Pn[n](Object.assign({},t));if(e.state.locale[r.original])return Fn(e.state.jed,r)}return null}function In(){if(!(this instanceof In))return new In;this.defaultLocaleSlug="en",this.state={numberFormatSettings:{},jed:void 0,locale:void 0,localeSlug:void 0,translations:Cn()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new Tn.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}In.throwErrors=!1,In.prototype.moment=Sn.a,In.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},In.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},In.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},In.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",i=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return zn(e,n,r,i)},In.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},In.prototype.setLocale=function(e){if(e&&e[""]&&e[""]["key-hash"]){var t=e[""]["key-hash"],n=function(e,t){var n=!1===t?"":String(t);if(void 0!==jn[n+e])return jn[n+e];var r=On()().update(e).digest("hex");return jn[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)Pn.push(r(!1));else{var i=t.substr(5).indexOf("-");if(i<0){var o=Number(t.substr(5));Pn.push(r(o))}else for(var a=Number(t.substr(5,i)),s=Number(t.substr(6+i)),c=a;c<=s;c++)Pn.push(r(c))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.jed=new En.a({locale_data:{messages:this.state.locale}}),Sn.a.locale(this.state.localeSlug),this.state.numberFormatSettings.decimal_point=Fn(this.state.jed,Dn(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=Fn(this.state.jed,Dn(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.state.translations.clear(),this.stateObserver.emit("change")},In.prototype.getLocale=function(){return this.state.locale},In.prototype.getLocaleSlug=function(){return this.state.localeSlug},In.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.jed.options.locale_data.messages[t]=e[t]);this.state.translations.clear(),this.stateObserver.emit("change")},In.prototype.hasTranslation=function(){return!!Ln(this,Dn(arguments))},In.prototype.translate=function(){var e,t=Dn(arguments),n=!t.components;if(n){try{e=JSON.stringify(t)}catch(s){n=!1}if(e){var r=this.state.translations.get(e);if(r)return r}}var i=Ln(this,t);if(i||(i=Fn(this.state.jed,t)),t.args){var o=Array.isArray(t.args)?t.args.slice(0):[t.args];o.unshift(i);try{i=En.a.sprintf.apply(En.a,o)}catch(c){if(!window||!window.console)return;var a=this.throwErrors?"error":"warn";"string"!=typeof c?window.console[a](c):window.console[a]("i18n sprintf error:",o)}}return t.components&&(i=wn()({mixedString:i,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(e){i=e(i,t)})),n&&this.state.translations.set(e,i),i},In.prototype.reRenderTranslations=function(){Mn("Re-rendering all translations due to external request"),this.state.translations.clear(),this.stateObserver.emit("change")},In.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},In.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var Rn,Hn,Vn=In,Un=n(56),Yn=n.n(Un),Bn=n(10),Wn=n.n(Bn),Gn=n(5),Kn=n.n(Gn),$n=n(57),qn=n.n($n),Jn=new Vn,Zn=(Jn.moment,Jn.numberFormat.bind(Jn),Jn.translate.bind(Jn));Jn.configure.bind(Jn),Jn.setLocale.bind(Jn),Jn.getLocale.bind(Jn),Jn.getLocaleSlug.bind(Jn),Jn.addTranslations.bind(Jn),Jn.reRenderTranslations.bind(Jn),Jn.registerComponentUpdateHook.bind(Jn),Jn.registerTranslateHook.bind(Jn),Jn.state,Jn.stateObserver,Jn.on.bind(Jn),Jn.off.bind(Jn),Jn.emit.bind(Jn),Hn={moment:(Rn=Jn).moment,numberFormat:Rn.numberFormat.bind(Rn),translate:Rn.translate.bind(Rn)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(Jn);var Qn={disconnectingSite:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1},Xn=z({connectUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SET_INITIAL_STATE":return Object(Mt.get)(t,"initialState.connectUrl",e);case"CONNECT_URL_FETCH_SUCCESS":return t.connectUrl;default:return e}},status:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{siteConnected:window.Initial_State.connectionStatus},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_CONNECTION_STATUS_FETCH":case"DISCONNECT_SITE_SUCCESS":return Object(Mt.assign)({},e,{siteConnected:t.siteConnected});default:return e}},user:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.userData,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"USER_CONNECTION_DATA_FETCH_SUCCESS":return Object(Mt.assign)({},e,t.userConnectionData);case"UNLINK_USER_SUCCESS":var n=Object(Mt.assign)({},e.currentUser,{isConnected:!1});return Object(Mt.assign)({},e,{currentUser:n});case"MOCK_SWITCH_USER_PERMISSIONS":return Object(Mt.merge)({},e,t.initialState);default:return e}},requests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISCONNECT_SITE":return Object(Mt.assign)({},e,{disconnectingSite:!0});case"UNLINK_USER":return Object(Mt.assign)({},e,{unlinkingUser:!0});case"CONNECT_URL_FETCH":return Object(Mt.assign)({},e,{fetchingConnectUrl:!0});case"USER_CONNECTION_DATA_FETCH":return Object(Mt.assign)({},e,{fetchingUserData:!0});case"DISCONNECT_SITE_FAIL":case"DISCONNECT_SITE_SUCCESS":return Object(Mt.assign)({},e,{disconnectingSite:!1});case"UNLINK_USER_FAIL":case"UNLINK_USER_SUCCESS":return Object(Mt.assign)({},e,{unlinkingUser:!1});case"CONNECT_URL_FETCH_FAIL":case"CONNECT_URL_FETCH_SUCCESS":return Object(Mt.assign)({},e,{fetchingConnectUrl:!1});case"USER_CONNECTION_DATA_FETCH_FAIL":case"USER_CONNECTION_DATA_FETCH_SUCCESS":return Object(Mt.assign)({},e,{fetchingUserData:!1});default:return e}}});function er(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&(e.jetpack.connection.status.siteConnected.devMode.isActive?"dev":e.jetpack.connection.status.siteConnected.isActive)}function tr(e){return!!e.jetpack.connection.user.currentUser.isConnected}function nr(e){return Object(Mt.get)(e.jetpack.connection.status,["siteConnected","isInIdentityCrisis"],!1)}function rr(e){return Object(Mt.get)(e.jetpack.connection.status,["siteConnected","sandboxDomain"],"")}var ir=z({display:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DEV_CARD_DISPLAY":return!0;case"DEV_CARD_HIDE":return!1;default:return e}}});function or(e){return!!e.jetpack.devCard.display}var ar=z({notice:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISCONNECT_SITE_SUCCESS":return"disconnected";default:return e}},dismissed:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.dismissedNotices,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_ACTION_NOTICES_DISMISS":return Object(Mt.assign)({},e,Ut()({},t.notice,!0));case"JETPACK_NOTICES_DISMISS_SUCCESS":return Object(Mt.assign)({},e,t.dismissedNotices);case"RESET_OPTIONS_SUCCESS":return!1;default:return e}}});var sr=z({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_PRODUCTS_FETCH_RECEIVE":return t.products;default:return e}},requests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_PRODUCTS_FETCH":return Object(Mt.assign)({},e,{isFetchingProducts:!0});case"JETPACK_PRODUCTS_FETCH_RECEIVE":case"JETPACK_PRODUCTS_FETCH_FAIL":return Object(Mt.assign)({},e,{isFetchingProducts:!1});default:return e}}});var cr=z({connectUrls:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SET_INITIAL_STATE":return Object(Mt.assign)({},t.initialState.externalServicesConnectUrls);default:return e}}});var ur={isFetchingRewindStatus:!1},lr=z({data:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REWIND_STATUS_FETCH_RECEIVE":return Object(Mt.assign)({},e,{status:t.status});case"MOCK_SWITCH_REWIND_STATE":return Object(Mt.assign)({},e,{status:t.rewindState});default:return e}},requests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ur,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REWIND_STATUS_FETCH":return Object(Mt.assign)({},e,{isFetchingRewindStatus:!0});case"REWIND_STATUS_FETCH_RECEIVE":case"REWIND_STATUS_FETCH_FAIL":return Object(Mt.assign)({},e,{isFetchingRewindStatus:!1});default:return e}}});function hr(e){return Object(Mt.get)(e.jetpack.rewind,["data","status"],{})}var fr=z({searchTerm:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SEARCH_TERM":return t.term;default:return e}}});var pr={fetchingSettingsList:!1,settingsSent:{}},dr=z({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SET_INITIAL_STATE":return Object(Mt.assign)({},e,t.initialState.settings);case"JETPACK_SETTINGS_FETCH_RECEIVE":return Object(Mt.assign)({},t.settings);case"JETPACK_SETTING_UPDATE_SUCCESS":var n=Object.keys(t.updatedOption)[0];return Object(Mt.assign)({},e,Ut()({},n,t.updatedOption[n]));case"JETPACK_SETTINGS_UPDATE_SUCCESS":return Object(Mt.assign)({},e,t.updatedOptions);default:return e}},requests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SETTINGS_FETCH":return Object(Mt.assign)({},e,{fetchingSettingsList:!0});case"JETPACK_SETTINGS_FETCH_FAIL":case"JETPACK_SETTINGS_FETCH_RECEIVE":return Object(Mt.assign)({},e,{fetchingSettingsList:!1});case"JETPACK_SETTING_UPDATE":case"JETPACK_SETTINGS_UPDATE":return Object(Mt.merge)({},e,{settingsSent:Object(Mt.mapValues)(t.updatedOptions,(function(){return!0}))});case"JETPACK_SETTING_UPDATE_FAIL":case"JETPACK_SETTING_UPDATE_SUCCESS":case"JETPACK_SETTINGS_UPDATE_FAIL":case"JETPACK_SETTINGS_UPDATE_SUCCESS":return Object(Mt.merge)({},e,{settingsSent:Object(Mt.mapValues)(t.updatedOptions,(function(){return!1}))});default:return e}},unsavedSettingsFlag:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SETTINGS_SET_UNSAVED_FLAG":return!0;case"JETPACK_SETTINGS_CLEAR_UNSAVED_FLAG":return!1;default:return e}}});var vr={isFetchingSiteData:!1},gr=z({data:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SITE_DATA_FETCH_RECEIVE":return Object(Mt.assign)({},e,t.siteData);case"JETPACK_SITE_BENEFITS_FETCH_RECEIVE":return Object(Mt.merge)({},e,{site:{benefits:t.siteBenefits}});case"JETPACK_SITE_FEATURES_FETCH_RECEIVE":return Object(Mt.merge)({},e,{site:{features:t.siteFeatures}});case"JETPACK_SITE_PLANS_FETCH_RECEIVE":return Object(Mt.merge)({},e,{sitePlans:t.plans});case"JETPACK_SITE_PURCHASES_FETCH_RECEIVE":return Object(Mt.merge)({},e,{sitePurchases:t.purchases});default:return e}},requests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SITE_DATA_FETCH":return Object(Mt.assign)({},e,{isFetchingSiteData:!0});case"JETPACK_SITE_BENEFITS_FETCH":return Object(Mt.assign)({},e,{isFetchingSiteBenefits:!0});case"JETPACK_SITE_FEATURES_FETCH":return Object(Mt.assign)({},e,{isFetchingSiteFeatures:!0});case"JETPACK_SITE_PLANS_FETCH":return Object(Mt.assign)({},e,{isFetchingSitePlans:!0});case"JETPACK_SITE_PURCHASES_FETCH":return Object(Mt.assign)({},e,{isFetchingSitePurchases:!0});case"JETPACK_SITE_DATA_FETCH_FAIL":case"JETPACK_SITE_DATA_FETCH_RECEIVE":return Object(Mt.assign)({},e,{isFetchingSiteData:!1});case"JETPACK_SITE_BENEFITS_FETCH_FAIL":case"JETPACK_SITE_BENEFITS_FETCH_RECEIVE":return Object(Mt.assign)({},e,{isFetchingSiteBenefits:!1});case"JETPACK_SITE_FEATURES_FETCH_FAIL":case"JETPACK_SITE_FEATURES_FETCH_RECEIVE":return Object(Mt.assign)({},e,{isFetchingSiteFeatures:!1});case"JETPACK_SITE_PLANS_FETCH_FAIL":case"JETPACK_SITE_PLANS_FETCH_RECEIVE":return Object(Mt.assign)({},e,{isFetchingSitePlans:!1});case"JETPACK_SITE_PURCHASES_FETCH_FAIL":case"JETPACK_SITE_PURCHASES_FETCH_RECEIVE":return Object(Mt.assign)({},e,{isFetchingSitePurchases:!1});default:return e}}});function mr(e){return Object(Mt.get)(e.jetpack.siteData,["data","plan"],{})}var yr=z({google:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fetching:!1,verifying:!1,verified:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH":return Object(Mt.assign)({},e,{fetching:!0});case"JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_FAIL":return Object(Mt.assign)({},e,{fetching:!1,error:t.error});case"JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_SUCCESS":return Object(Mt.assign)({},e,{fetching:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,token:t.token,error:null});case"JETPACK_SITE_VERIFY_GOOGLE_REQUEST":return Object(Mt.assign)({},e,{verifying:!0});case"JETPACK_SITE_VERIFY_GOOGLE_REQUEST_SUCCESS":return Object(Mt.assign)({},e,{verifying:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,error:null});case"JETPACK_SITE_VERIFY_GOOGLE_REQUEST_FAIL":return Object(Mt.assign)({},e,{verifying:!1,verified:!1,error:t.error});default:return e}}});var wr={fetchingTrackingSettings:!1,updatingTrackingSettings:!1},_r=z({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"USER_TRACKING_SETTINGS_FETCH_SUCCESS":return Object(Mt.assign)({},e,t.settings);case"USER_TRACKING_SETTINGS_UPDATE_SUCCESS":return Object(Mt.assign)({},e,t.updatedSettings);default:return e}},requests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"USER_TRACKING_SETTINGS_FETCH":return Object(Mt.assign)({},e,{fetchingTrackingSettings:!0});case"USER_TRACKING_SETTINGS_FETCH_FAIL":case"USER_TRACKING_SETTINGS_FETCH_SUCCESS":return Object(Mt.assign)({},e,{fetchingTrackingSettings:!1});case"USER_TRACKING_SETTINGS_UPDATE":return Object(Mt.assign)({},e,{updatingTrackingSettings:!0});case"USER_TRACKING_SETTINGS_UPDATE_FAIL":case"USER_TRACKING_SETTINGS_UPDATE_SUCCESS":return Object(Mt.assign)({},e,{updatingTrackingSettings:!1});default:return e}}});var Er=z({mobile:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sendingLoginEmail:!1,loginEmailSent:!1,error:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL":return Object(Mt.assign)({},e,{sendingLoginEmail:!0});case"JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_SUCCESS":return Object(Mt.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!0,error:null});case"JETPACK_MOBILE_LOGIN_SEND_LOGIN_EMAIL_FAIL":return Object(Mt.assign)({},e,{sendingLoginEmail:!1,loginEmailSent:!1,error:t.error});default:return e}}});var br=z({checklist:Ht,connection:Xn,dashboard:Rt,devCard:ir,initialState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"JETPACK_SET_INITIAL_STATE":return Object(Mt.assign)({},e,t.initialState);case"MOCK_SWITCH_USER_PERMISSIONS":return Object(Mt.merge)({},e,{userData:t.initialState});default:return e}},jetpackNotices:ar,modules:pn,pluginsData:Bt,products:sr,publicize:cr,rewind:lr,search:fr,settings:dr,siteData:gr,siteVerify:yr,trackingSettings:_r,mobile:Er}),Cr=z({globalNotices:zt,jetpack:br,routing:he.routerReducer}),kr=Object(he.routerMiddleware)(xt),Sr=D(F(le),F(kr),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():function(e){return e})(O)(Cr);var xr=n(58),Or=n.n(xr),Tr=n(12),zr=n.n(Tr),Mr=(n(93),function(e){function t(){return Gt()(this,t),$t()(this,Jt()(t).apply(this,arguments))}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){var e=this.props.href?"a":"button",t=this.props,n=t.primary,r=t.compact,o=t.scary,a=t.borderless,s=t.className,c=Or()(t,["primary","compact","scary","borderless","className"]),u=zr()({"dops-button":!0,"is-compact":r,"is-primary":n,"is-scary":o,"is-borderless":a});return c.className=zr()(s,u),i.a.createElement(e,c,this.props.children)}}]),t}(i.a.Component));Ut()(Mr,"displayName","Button"),Ut()(Mr,"propTypes",{disabled:c.a.bool,compact:c.a.bool,primary:c.a.bool,scary:c.a.bool,type:c.a.string,href:c.a.string,onClick:c.a.func,borderless:c.a.bool,className:c.a.string}),Ut()(Mr,"defaultProps",{disabled:!1,type:"button",onClick:Mt.noop,borderless:!1});n(94);var Pr=function(e){function t(){return Gt()(this,t),$t()(this,Jt()(t).apply(this,arguments))}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){var e=zr()("dops-button-group",this.props.className);return i.a.createElement("span",{className:e},this.props.children)}}]),t}(i.a.Component);Ut()(Pr,"displayName","ButtonGroup"),Ut()(Pr,"propTypes",{children:function(e){var t=null;return i.a.Children.forEach(e.children,(function(e){e.props&&"button"===e.props.type||(t=new Error("All children elements should be a Button."))})),t}});var jr=n(59),Ar={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var Nr,Dr,Fr=function(e){if(e in Ar)return Ar[e];throw new Error("config key `"+e+"` does not exist")},Lr=n.n(jr)()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var Ir={initialize:function(e,t,n){Ir.setUser(e,t),Ir.setSuperProps(n),Ir.identifyUser()},setUser:function(e,t){Dr={ID:e,username:t}},setSuperProps:function(e){Nr=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);Lr("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),Lr('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);Fr("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);Lr("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),Lr('Built stat "%s" in group "%s"',t,e);return n}(e,t);Fr("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){Ir.tracks.recordPageView(e),Ir.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,i,o,a){Ir.ga.recordPurchase(e,t,n,r,i,o,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(Nr&&(Lr("- Super Props: %o",Nr),t=Object(Mt.assign)(t,Nr)),Lr('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):Lr('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};Ir.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){Ir.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){Lr("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};Ir.ga.initialized||(Dr&&(e={userId:"u-"+Dr.ID}),window.ga("create",Fr("google_analytics_key"),"auto",e),Ir.ga.initialized=!0)},recordPageView:function(e,t){Ir.ga.initialize(),Lr("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),Fr("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){Ir.ga.initialize();var i="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(i+=" [Option Label: "+n+"]"),void 0!==r&&(i+=" [Option Value: "+r+"]"),Lr(i),Fr("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,i,o,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){Dr&&window._tkq.push(["identifyUser",Dr.ID,Dr.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},Rr=Ir,Hr=function(){return function(e){e({type:"JETPACK_SET_INITIAL_STATE",initialState:window.Initial_State})}},Vr=n(60),Ur=n.n(Vr),Yr=function(e){function t(){return Gt()(this,t),$t()(this,Jt()(t).apply(this,arguments))}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){return i.a.createElement("svg",Ur()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 118 32"},this.props),i.a.createElement("path",{fill:"#00BE28",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"}),i.a.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"}),i.a.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"}),i.a.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"}),i.a.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"}),i.a.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"}),i.a.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"}),i.a.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"}))}}]),t}(i.a.Component);Ut()(Yr,"propTypes",{className:c.a.string,width:c.a.number,height:c.a.number}),Ut()(Yr,"defaultProps",{className:"jetpack-logo",height:32});var Br=Yr,Wr=function(e){function t(){var e,n;Gt()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=$t()(this,(e=Jt()(t)).call.apply(e,[this].concat(i))),Ut()(Kn()(n),"trackDashClick",(function(){Rr.tracks.recordJetpackClick({target:"masthead",path:"nav_dashboard"})})),Ut()(Kn()(n),"trackSettingsClick",(function(){Rr.tracks.recordJetpackClick({target:"masthead",path:"nav_settings"})})),Ut()(Kn()(n),"trackLogoClick",(function(){Rr.tracks.recordJetpackClick({target:"masthead",path:"logo"})})),Ut()(Kn()(n),"testConnection",(function(){return n.props.testConnection()})),n}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){var e="dev"===this.props.siteConnectionStatus?i.a.createElement("code",null,"Dev Mode"):"",t=this.props.sandboxDomain?i.a.createElement("code",{id:"sandbox-domain-badge",onClick:this.testConnection,onKeyDown:this.testConnection,role:"button",tabIndex:0,title:"Sandboxing via ".concat(this.props.sandboxDomain,". Click to test connection.")},"API Sandboxed"):"",n=Object(Mt.includes)(["/","/dashboard","/my-plan","/plans"],this.props.route.path),r=""===this.props.route.path;return i.a.createElement("div",{className:"jp-masthead"},i.a.createElement("div",{className:"jp-masthead__inside-container"},i.a.createElement("div",{className:"jp-masthead__logo-container"},i.a.createElement("a",{onClick:this.trackLogoClick,className:"jp-masthead__logo-link",href:"#dashboard"},i.a.createElement(Br,{className:"jetpack-logo__masthead"})),e,t),this.props.userCanEditPosts&&i.a.createElement("div",{className:"jp-masthead__nav"},!r&&this.props.siteConnectionStatus&&i.a.createElement(Pr,null,i.a.createElement(Mr,{compact:!0,href:"#/dashboard",primary:n&&!r,onClick:this.trackDashClick},Zn("Dashboard")),i.a.createElement(Mr,{compact:!0,href:"#/settings",primary:!n&&!r,onClick:this.trackSettingsClick},Zn("Settings"))))))}}]),t}(i.a.Component);Ut()(Wr,"defaultProps",{route:{path:""}});var Gr=se((function(e){return{siteConnectionStatus:er(e),sandboxDomain:rr(e),currentVersion:jt(e),userCanEditPosts:Dt(e)}}),(function(e){return{testConnection:function(){return e((function(e){return e(vn("is-info",Zn("Testing Jetpack Connection"),{id:"test-jetpack-connection"})),cn.fetchSiteConnectionTest().then((function(t){e({type:"JETPACK_CONNECTION_TEST_FETCH",connectionTest:t}),e(dn("test-jetpack-connection")),e(vn("success"===t.code?"is-success":"is-error",t.message,{id:"test-jetpack-connection"}))})).catch((function(t){e(dn("test-jetpack-connection")),e(vn("is-error",Zn("There was an error testing Jetpack. Error: %(error)s",{args:{error:t.message}}),{id:"test-jetpack-connection"}))}))}))}}}))(Wr),Kr=function(e){function t(){return Gt()(this,t),$t()(this,Jt()(t).apply(this,arguments))}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){var e=zr()(this.props.className,"jp-loading-placeholder");return i.a.createElement("div",{className:e},i.a.createElement("span",{className:"dashicons dashicons-wordpress-alt"}))}}]),t}(i.a.Component);Ut()(Kr,"displayName","LoadingPlaceholder");var $r=se((function(e){return e}))(Kr),qr={currentUser:{isMaster:!0,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},Jr={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},Zr={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!0,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},Qr={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!1,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},Xr={currentUser:{permissions:{view_stats:!0}}},ei={currentUser:{permissions:{view_stats:!1}}},ti={currentUser:{isConnected:!0}},ni={currentUser:{isConnected:!1}};var ri=n(61),ii=n.n(ri),oi=(n(98),pe()({displayName:"Gridicon",mixins:[ii.a],getDefaultProps:function(){return{className:"",size:24}},propTypes:{icon:c.a.string.isRequired,size:c.a.number,onClick:c.a.func,className:c.a.string},needsOffset:function(e,t){return["gridicons-add-outline","gridicons-add","gridicons-align-image-center","gridicons-align-image-left","gridicons-align-image-none","gridicons-align-image-right","gridicons-attachment","gridicons-backspace","gridicons-bold","gridicons-bookmark-outline","gridicons-bookmark","gridicons-calendar","gridicons-cart","gridicons-create","gridicons-custom-post-type","gridicons-external","gridicons-folder","gridicons-heading","gridicons-help-outline","gridicons-help","gridicons-history","gridicons-info-outline","gridicons-info","gridicons-italic","gridicons-layout-blocks","gridicons-link-break","gridicons-link","gridicons-list-checkmark","gridicons-list-ordered","gridicons-list-unordered","gridicons-menus","gridicons-minus","gridicons-my-sites","gridicons-notice-outline","gridicons-notice","gridicons-plans","gridicons-plus-small","gridicons-plus","gridicons-popout","gridicons-posts","gridicons-scheduled","gridicons-share-ios","gridicons-star-outline","gridicons-star","gridicons-stats","gridicons-status","gridicons-thumbs-up","gridicons-textcolor","gridicons-time","gridicons-trophy","gridicons-user-circle"].indexOf(e)>=0&&t%18==0},needsOffsetX:function(e,t){return["gridicons-arrow-down","gridicons-arrow-up","gridicons-comment","gridicons-clear-formatting","gridicons-flag","gridicons-menu","gridicons-reader","gridicons-strikethrough"].indexOf(e)>=0&&t%18==0},needsOffsetY:function(e,t){return["gridicons-align-center","gridicons-align-justify","gridicons-align-left","gridicons-align-right","gridicons-arrow-left","gridicons-arrow-right","gridicons-house","gridicons-indent-left","gridicons-indent-right","gridicons-minus-small","gridicons-print","gridicons-sign-out","gridicons-stats-alt","gridicons-trash","gridicons-underline","gridicons-video-camera"].indexOf(e)>=0&&t%18==0},render:function(){var e,t="gridicons-"+this.props.icon,n=this.needsOffset(t,this.props.size),r=this.needsOffsetX(t,this.props.size),o=this.needsOffsetY(t,this.props.size),a=zr()("gridicon",t,this.props.className,{"needs-offset":n,"needs-offset-x":r,"needs-offset-y":o});switch(t){default:e=i.a.createElement("svg",{height:this.props.size,width:this.props.size});break;case"gridicons-add-image":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M23 4v2h-3v3h-2V6h-3V4h3V1h2v3h3zm-8.5 7c.828 0 1.5-.672 1.5-1.5S15.328 8 14.5 8 13 8.672 13 9.5s.672 1.5 1.5 1.5zm3.5 3.234l-.513-.57c-.794-.885-2.18-.885-2.976 0l-.655.73L9 9l-3 3.333V6h7V4H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2v-7h-2v3.234z"})));break;case"gridicons-add-outline":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z"})));break;case"gridicons-add":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"})));break;case"gridicons-align-center":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M4 19h16v-2H4v2zm13-6H7v2h10v-2zM4 9v2h16V9H4zm13-4H7v2h10V5z"})));break;case"gridicons-align-image-center":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm5-4h8V9H8v6z"})));break;case"gridicons-align-image-left":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm0-4h8V9H3v6zm10 0h8v-2h-8v2zm0-4h8V9h-8v2z"})));break;case"gridicons-align-image-none":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zM11 9H3v6h8V9z"})));break;case"gridicons-align-image-right":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zm0-8h-8v6h8V9zm-10 4H3v2h8v-2zm0-4H3v2h8V9z"})));break;case"gridicons-align-justify":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M4 19h16v-2H4v2zm16-6H4v2h16v-2zM4 9v2h16V9H4zm16-4H4v2h16V5z"})));break;case"gridicons-align-left":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M4 19h16v-2H4v2zm10-6H4v2h10v-2zM4 9v2h16V9H4zm10-4H4v2h10V5z"})));break;case"gridicons-align-right":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M20 17H4v2h16v-2zm-10-2h10v-2H10v2zM4 9v2h16V9H4zm6-2h10V5H10v2z"})));break;case"gridicons-arrow-down":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M11 4v12.17l-5.59-5.59L4 12l8 8 8-8-1.41-1.41L13 16.17V4h-2z"})));break;case"gridicons-arrow-left":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"})));break;case"gridicons-arrow-right":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})));break;case"gridicons-arrow-up":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M13 20V7.83l5.59 5.59L20 12l-8-8-8 8 1.41 1.41L11 7.83V20h2z"})));break;case"gridicons-aside":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M14 20l6-6V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h8zM6 6h12v6h-4c-1.105 0-2 .895-2 2v4H6V6zm10 4H8V8h8v2z"})));break;case"gridicons-attachment":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M14 1c-2.762 0-5 2.238-5 5v10c0 1.657 1.343 3 3 3s2.99-1.343 2.99-3V6H13v10c0 .553-.447 1-1 1-.553 0-1-.447-1-1V6c0-1.657 1.343-3 3-3s3 1.343 3 3v10.125C17 18.887 14.762 21 12 21s-5-2.238-5-5v-5H5v5c0 3.866 3.134 7 7 7s6.99-3.134 6.99-7V6c0-2.762-2.228-5-4.99-5z"})));break;case"gridicons-audio":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-backspace":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M19 7H8l-5 5 5 5h11c1.104 0 2-.896 2-2V9c0-1.104-.896-2-2-2zm-.647 6.646l-.707.707L16 12.707l-1.647 1.647-.707-.707L15.293 12l-1.647-1.646.707-.707L16 11.293l1.646-1.647.707.707L16.707 12l1.646 1.646z"})));break;case"gridicons-bell":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M6.14 14.97l2.828 2.827c-.362.362-.862.586-1.414.586-1.105 0-2-.895-2-2 0-.552.224-1.052.586-1.414zm8.867 5.324L14.3 21 3 9.7l.706-.707 1.102.157c.754.108 1.69-.122 2.077-.51l3.885-3.884c2.34-2.34 6.135-2.34 8.475 0s2.34 6.135 0 8.475l-3.885 3.886c-.388.388-.618 1.323-.51 2.077l.157 1.1z"})));break;case"gridicons-block":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-bold":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M7 5.01h4.547c2.126 0 3.67.302 4.632.906.96.605 1.44 1.567 1.44 2.887 0 .896-.21 1.63-.63 2.205-.42.574-.98.92-1.678 1.036v.103c.95.212 1.637.608 2.057 1.19.42.58.63 1.35.63 2.315 0 1.367-.494 2.434-1.482 3.2-.99.765-2.332 1.148-4.027 1.148H7V5.01zm3 5.936h2.027c.862 0 1.486-.133 1.872-.4.386-.267.578-.708.578-1.323 0-.574-.21-.986-.63-1.236-.42-.25-1.087-.374-1.996-.374H10v3.333zm0 2.523v3.905h2.253c.876 0 1.52-.167 1.94-.502.416-.335.625-.848.625-1.54 0-1.243-.89-1.864-2.668-1.864H10z"})));break;case"gridicons-book":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M4 3h2v18H4zM18 3H7v18h11c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 6h-6V8h6v1zm0-2h-6V6h6v1z"})));break;case"gridicons-bookmark-outline":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M17 5v12.554l-5-2.857-5 2.857V5h10m0-2H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-bookmark":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M17 3H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-briefcase":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M21 6h-4V3c0-.5-.5-1-1-1H8c-.5 0-1 .5-1 1v3H3c-.6 0-1 .4-1 1v5h20V7c0-.6-.4-1-1-1zm-6 0H9V4h6v2zM14 15h-4v-2H2v8c0 .6.4 1 1 1h18c.6 0 1-.4 1-1v-8h-8v2z"})));break;case"gridicons-calendar":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-camera":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M17 12c0 1.7-1.3 3-3 3s-3-1.3-3-3 1.3-3 3-3 3 1.3 3 3zm5-5v11c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2V4h4v1h2l1-2h6l1 2h2c1.1 0 2 .9 2 2zM7.5 9c0-.8-.7-1.5-1.5-1.5S4.5 8.2 4.5 9s.7 1.5 1.5 1.5S7.5 9.8 7.5 9zM19 12c0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5 5-2.2 5-5z"})));break;case"gridicons-cart":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-checkmark-circle":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-checkmark":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"})));break;case"gridicons-chevron-down":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"})));break;case"gridicons-chevron-left":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586"})));break;case"gridicons-chevron-right":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586"})));break;case"gridicons-chevron-up":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M4 15l8-8 8 8-1.414 1.414L12 9.828l-6.586 6.586"})));break;case"gridicons-clear-formatting":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M10.837 10.163l-4.6 4.6L10 4h4l.777 2.223-2.144 2.144-.627-2.092-1.17 3.888zm5.495.506L19.244 19H15.82l-1.05-3.5H11.5L5 22l-1.5-1.5 17-17L22 5l-5.668 5.67zm-2.31 2.31l-.032.03.032-.01v-.02z"})));break;case"gridicons-clipboard":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M16 18H8v-2h8v2zm0-6H8v2h8v-2zm2-9h-2v2h2v15H6V5h2V3H6c-1.105 0-2 .895-2 2v15c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-4 2V4c0-1.105-.895-2-2-2s-2 .895-2 2v1c-1.105 0-2 .895-2 2v1h8V7c0-1.105-.895-2-2-2z"})));break;case"gridicons-cloud-download":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-6 7l-4-5h3V8h2v3h3l-4 5z"})));break;case"gridicons-cloud-outline":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M11.5 5c2.336 0 4.304 1.825 4.48 4.154l.142 1.86 1.867-.012h.092C19.698 11.043 21 12.37 21 14c0 .748-.28 1.452-.783 2H3.28c-.156-.256-.28-.59-.28-1 0-1.074.85-1.953 1.915-1.998.06.007.118.012.178.015l2.66.124-.622-2.587C7.044 10.186 7 9.843 7 9.5 7 7.02 9.02 5 11.5 5m0-2C7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5l-.025.002C17.72 5.646 14.922 3 11.5 3z"})));break;case"gridicons-cloud-upload":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-5 4v3h-2v-3H8l4-5 4 5h-3z"})));break;case"gridicons-cloud":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5z"})));break;case"gridicons-code":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M4.83 12l4.58 4.59L8 18l-6-6 6-6 1.41 1.41L4.83 12zm9.76 4.59L16 18l6-6-6-6-1.41 1.41L19.17 12l-4.58 4.59z"})));break;case"gridicons-cog":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M20 12c0-.568-.06-1.122-.174-1.656l1.834-1.612-2-3.464-2.322.786c-.82-.736-1.787-1.308-2.86-1.657L14 2h-4l-.48 2.396c-1.07.35-2.04.92-2.858 1.657L4.34 5.268l-2 3.464 1.834 1.612C4.06 10.878 4 11.432 4 12s.06 1.122.174 1.656L2.34 15.268l2 3.464 2.322-.786c.82.736 1.787 1.308 2.86 1.657L10 22h4l.48-2.396c1.07-.35 2.038-.92 2.858-1.657l2.322.786 2-3.464-1.834-1.613c.113-.535.174-1.09.174-1.657zm-8 4c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"})));break;case"gridicons-comment":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-computer":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-create":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M21 11v8c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h8l-2 2H5v14h14v-6l2-2zM7 17h3l7.5-7.5-3-3L7 14v3zm9.94-12.94L15.5 5.5l3 3 1.44-1.44c.585-.585.585-1.535 0-2.12l-.88-.88c-.585-.585-1.535-.585-2.12 0z"})));break;case"gridicons-credit-card":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})));break;case"gridicons-crop":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M22 16h-4V8c0-1.105-.895-2-2-2H8V2H6v4H2v2h4v8c0 1.105.895 2 2 2h8v4h2v-4h4v-2zM8 16V8h8v8H8z"})));break;case"gridicons-cross-small":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})));break;case"gridicons-cross":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"})));break;case"gridicons-custom-post-type":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"})));break;case"gridicons-customize":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M2 6c0-1.505.78-3.08 2-4 0 .845.69 2 2 2 1.657 0 3 1.343 3 3 0 .386-.08.752-.212 1.09.74.594 1.476 1.19 2.19 1.81L8.9 11.98c-.62-.716-1.214-1.454-1.807-2.192C6.753 9.92 6.387 10 6 10c-2.21 0-4-1.79-4-4zm12.152 6.848l1.34-1.34c.607.304 1.283.492 2.008.492 2.485 0 4.5-2.015 4.5-4.5 0-.725-.188-1.4-.493-2.007L18 9l-2-2 3.507-3.507C18.9 3.188 18.225 3 17.5 3 15.015 3 13 5.015 13 7.5c0 .725.188 1.4.493 2.007L3 20l2 2 6.848-6.848c1.885 1.928 3.874 3.753 5.977 5.45l1.425 1.148 1.5-1.5-1.15-1.425c-1.695-2.103-3.52-4.092-5.448-5.977z"})));break;case"gridicons-dropdown":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M7 10l5 5 5-5"})));break;case"gridicons-ellipsis":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M7 12c0 1.104-.896 2-2 2s-2-.896-2-2 .896-2 2-2 2 .896 2 2zm12-2c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2zm-7 0c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2z"})));break;case"gridicons-external":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-flag":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M15 6c0-1.105-.895-2-2-2H5v17h2v-7h5c0 1.105.895 2 2 2h6V6h-5z"})));break;case"gridicons-flip-horizontal":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M20 18v-5h3v-2h-3V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v5H1v2h3v5c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2zM6 6h12v5H6V6z"})));break;case"gridicons-flip-vertical":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 4h-5V1h-2v3H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h5v3h2v-3h5c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 18V6h5v12H6z"})));break;case"gridicons-folder-multiple":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M4 8c-1.105 0-2 .895-2 2v10c0 1.1.9 2 2 2h14c1.105 0 2-.895 2-2H4V8zm16 10H8c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2h7c1.105 0 2 .895 2 2v8c0 1.105-.895 2-2 2z"})));break;case"gridicons-folder":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-globe":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18l2-2 1-1v-2h-2v-1l-1-1H9v3l2 2v1.93c-3.94-.494-7-3.858-7-7.93l1 1h2v-2h2l3-3V6h-2L9 5v-.41C9.927 4.21 10.94 4 12 4s2.073.212 3 .59V6l-1 1v2l1 1 3.13-3.13c.752.897 1.304 1.964 1.606 3.13H18l-2 2v2l1 1h2l.286.286C18.03 18.06 15.24 20 12 20z"})));break;case"gridicons-grid":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M8 8H4V4h4v4zm6-4h-4v4h4V4zm6 0h-4v4h4V4zM8 10H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4zM8 16H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4z"})));break;case"gridicons-heading":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 20h-3v-6H9v6H6V5.01h3V11h6V5.01h3V20z"})));break;case"gridicons-heart-outline":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-heart":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-help-outline":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"})));break;case"gridicons-help":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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-2h2v2zm2.003-6.41c-.23.36-.6.704-1.108 1.028-.43.28-.7.482-.808.61-.108.13-.163.283-.163.46V13H11.04v-.528c0-.4.08-.74.245-1.017.163-.276.454-.546.872-.808.332-.21.57-.397.716-.565.145-.168.217-.36.217-.577 0-.172-.077-.308-.233-.41-.156-.1-.358-.15-.608-.15-.62 0-1.342.22-2.17.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.286z"})));break;case"gridicons-history":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M2.12 13.526c.742 4.78 4.902 8.47 9.88 8.47 5.5 0 10-4.5 10-9.998S17.5 2 12 2C8.704 2 5.802 3.6 4 6V2H2.003L2 9h7V7H5.8c1.4-1.8 3.702-3 6.202-3C16.4 4 20 7.6 20 11.998s-3.6 8-8 8c-3.877 0-7.13-2.795-7.848-6.472H2.12z"}),i.a.createElement("path",{d:"M11.002 7v5.3l3.2 4.298 1.6-1.197-2.8-3.7V7"})));break;case"gridicons-house":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z"})));break;case"gridicons-image-multiple":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-image":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-indent-left":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 20h2V4h-2v16zM2 11h10.172l-2.086-2.086L11.5 7.5 16 12l-4.5 4.5-1.414-1.414L12.172 13H2v-2z"})));break;case"gridicons-indent-right":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M6 4H4v16h2V4zm16 9H11.828l2.086 2.086L12.5 16.5 8 12l4.5-4.5 1.414 1.414L11.828 11H22v2z"})));break;case"gridicons-info-outline":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-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"})));break;case"gridicons-info":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-ink":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M5 15c0 3.866 3.134 7 7 7s7-3.134 7-7c0-1.387-.41-2.677-1.105-3.765h.007L12 2l-5.903 9.235h.007C5.41 12.323 5 13.613 5 15z"})));break;case"gridicons-institution":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M2 19h20v3H2zM12 2L2 6v2h20V6M17 10h3v7h-3zM10.5 10h3v7h-3zM4 10h3v7H4z"})));break;case"gridicons-italic":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M10.536 5l-.427 2h1.5L9.262 18h-1.5l-.427 2h6.128l.426-2h-1.5l2.347-11h1.5l.427-2"})));break;case"gridicons-layout-blocks":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M21 7h-2V3c0-1.105-.895-2-2-2H7c-1.105 0-2 .895-2 2v2H3c-1.105 0-2 .895-2 2v4c0 1.105.895 2 2 2h2v8c0 1.105.895 2 2 2h10c1.105 0 2-.895 2-2v-2h2c1.105 0 2-.895 2-2V9c0-1.105-.895-2-2-2zm-4 14H7v-8h2c1.105 0 2-.895 2-2V7c0-1.105-.895-2-2-2H7V3h10v4h-2c-1.105 0-2 .895-2 2v8c0 1.105.895 2 2 2h2v2zm4-4h-6V9h6v8z"})));break;case"gridicons-layout":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M8 20H5c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2v12c0 1.105-.895 2-2 2zm8-10h4c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2h-4c-1.105 0-2 .895-2 2v3c0 1.105.895 2 2 2zm5 10v-6c0-1.105-.895-2-2-2h-5c-1.105 0-2 .895-2 2v6c0 1.105.895 2 2 2h5c1.105 0 2-.895 2-2z"})));break;case"gridicons-link-break":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M10 11l-2 2H7v-2h3zm9.64-3.64L22 5l-1.5-1.5-17 17L5 22l9-9h3v-2h-1l2-2c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1c2.21 0 4-1.79 4-4v-2c0-1.623-.97-3.013-2.36-3.64zM4.36 16.64L6 15c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.63 7 7 7H6c-2.21 0-4 1.79-4 4v2c0 1.623.97 3.013 2.36 3.64z"})));break;case"gridicons-link":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.63 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 2h1c2.21 0 4-1.79 4-4v-2c0-2.21-1.79-4-4-4zM2 11v2c0 2.21 1.79 4 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.63 7 7 7H6c-2.21 0-4 1.79-4 4z"})));break;case"gridicons-list-checkmark":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M9.5 15.5L5 20l-2.5-2.5 1.06-1.06L5 17.88l3.44-3.44L9.5 15.5zM10 5v2h11V5H10zm0 14h11v-2H10v2zm0-6h11v-2H10v2zM8.44 8.44L5 11.88l-1.44-1.44L2.5 11.5 5 14l4.5-4.5-1.06-1.06zm0-6L5 5.88 3.56 4.44 2.5 5.5 5 8l4.5-4.5-1.06-1.06z"})));break;case"gridicons-list-ordered":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M8 19h13v-2H8v2zm0-6h13v-2H8v2zm0-8v2h13V5H8zm-4.425.252c.107-.096.197-.188.27-.275-.013.228-.02.48-.02.756V8h1.176V3.717H3.96L2.487 4.915l.6.738.487-.4zm.334 7.764c.474-.426.784-.715.93-.867.145-.153.26-.298.35-.436.087-.138.152-.278.194-.42.042-.143.063-.298.063-.466 0-.225-.06-.427-.18-.608s-.29-.32-.507-.417c-.218-.1-.465-.148-.742-.148-.22 0-.42.022-.596.067s-.34.11-.49.195c-.15.085-.337.226-.558.423l.636.744c.174-.15.33-.264.467-.34.138-.078.274-.117.41-.117.13 0 .232.032.304.097.073.064.11.152.11.264 0 .09-.02.176-.055.258-.036.082-.1.18-.192.294-.092.114-.287.328-.586.64L2.42 13.238V14h3.11v-.955H3.91v-.03zm.53 4.746v-.018c.306-.086.54-.225.702-.414.162-.19.243-.42.243-.685 0-.31-.126-.55-.378-.727-.252-.176-.6-.264-1.043-.264-.307 0-.58.033-.816.1s-.47.178-.696.334l.48.773c.293-.183.576-.274.85-.274.147 0 .263.027.35.082s.13.14.13.252c0 .3-.294.45-.882.45h-.27v.87h.264c.217 0 .393.017.527.05.136.03.233.08.294.143.06.064.09.154.09.27 0 .153-.057.265-.173.337-.115.07-.3.106-.554.106-.164 0-.343-.022-.538-.07-.194-.044-.385-.115-.573-.21v.96c.228.088.44.148.637.182.196.033.41.05.64.05.56 0 .998-.114 1.314-.343.315-.228.473-.542.473-.94.002-.585-.356-.923-1.07-1.013z"})));break;case"gridicons-list-unordered":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-location":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M19 9c0-3.866-3.134-7-7-7S5 5.134 5 9c0 1.387.41 2.677 1.105 3.765h-.008C8.457 16.46 12 22 12 22l5.903-9.235h-.007C18.59 11.677 19 10.387 19 9zm-7 3c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"})));break;case"gridicons-lock":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 8h-1V7c0-2.757-2.243-5-5-5S7 4.243 7 7v1H6c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V10c0-1.105-.895-2-2-2zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v1H9V7zm4 8.723V18h-2v-2.277c-.595-.346-1-.984-1-1.723 0-1.105.895-2 2-2s2 .895 2 2c0 .738-.405 1.376-1 1.723z"})));break;case"gridicons-mail":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"gridicons-mention":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10v-2c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8v.5c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5V12c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.65 0 3.102-.81 4.013-2.043C16.648 15.6 17.527 16 18.5 16c1.93 0 3.5-1.57 3.5-3.5V12c0-5.523-4.477-10-10-10zm0 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z"})));break;case"gridicons-menu":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M21 6v2H3V6h18zM3 18h18v-2H3v2zm0-5h18v-2H3v2z"})));break;case"gridicons-menus":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M9 19h10v-2H9v2zm0-6h6v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-microphone":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 13c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2-1.105 0-2 .896-2 2v5c0 1.104.895 2 2 2zm4-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6c0 2.972 2.164 5.433 5 5.91V20h2v-3.09c2.836-.478 5-2.94 5-5.91h-2z"})));break;case"gridicons-minus-small":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M6 11h12v2H6z"})));break;case"gridicons-minus":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M3 11h18v2H3z"})));break;case"gridicons-my-sites-horizon":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M10.986 13.928l.762-2.284-1.324-3.63c-.458-.026-.892-.08-.892-.08-.458-.027-.405-.727.054-.7 0 0 1.403.107 2.24.107.888 0 2.265-.107 2.265-.107.46-.027.513.646.055.7 0 0-.46.055-.973.082l2.006 5.966c-.875-.034-1.74-.053-2.6-.06l-.428-1.177-.403 1.17c-.252.002-.508.01-.76.015zm-7.156.393c-.21-.737-.33-1.514-.33-2.32 0-1.232.264-2.402.736-3.46l2.036 5.58c.85-.06 1.69-.104 2.526-.138L6.792 8.015c.512-.027.973-.08.973-.08.458-.055.404-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.036-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .674-.244 1.463-.572 2.51.3.02.604.043.907.066l.798-2.307c.486-1.212.647-2.18.647-3.043 0-.313-.02-.603-.057-.874.662 1.21 1.04 2.6 1.04 4.077 0 .807-.128 1.58-.34 2.32.5.05 1.006.112 1.51.17.205-.798.33-1.628.33-2.49 0-5.523-4.477-10-10-10S2 6.477 2 12c0 .862.125 1.692.33 2.49.5-.057 1.003-.12 1.5-.17zm14.638 3.168C16.676 19.672 14.118 20.5 12 20.5c-1.876 0-4.55-.697-6.463-3.012-.585.048-1.174.1-1.77.16C5.572 20.272 8.578 22 12 22c3.422 0 6.43-1.73 8.232-4.35-.593-.063-1.18-.114-1.764-.162zM12 15.01c-3.715 0-7.368.266-10.958.733.18.41.35.825.506 1.247 3.427-.43 6.91-.68 10.452-.68s7.025.25 10.452.68c.156-.422.327-.836.506-1.246-3.59-.467-7.243-.734-10.958-.734z"})));break;case"gridicons-my-sites":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM3.5 12c0-1.232.264-2.402.736-3.46L8.29 19.65C5.456 18.272 3.5 15.365 3.5 12zm8.5 8.5c-.834 0-1.64-.12-2.4-.345l2.55-7.41 2.613 7.157c.017.042.038.08.06.117-.884.31-1.833.48-2.823.48zm1.172-12.485c.512-.027.973-.08.973-.08.458-.055.404-.728-.054-.702 0 0-1.376.108-2.265.108-.835 0-2.24-.107-2.24-.107-.458-.026-.51.674-.053.7 0 0 .434.055.892.082l1.324 3.63-1.86 5.578-3.096-9.208c.512-.027.973-.08.973-.08.458-.055.403-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.037-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .727-.28 1.572-.646 2.748l-.848 2.833-3.072-9.138zm3.1 11.332l2.597-7.506c.484-1.212.645-2.18.645-3.044 0-.313-.02-.603-.057-.874.664 1.21 1.042 2.6 1.042 4.078 0 3.136-1.7 5.874-4.227 7.347z"})));break;case"gridicons-not-visible":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M1 12s4.188-6 11-6c.947 0 1.84.12 2.678.322L8.36 12.64C8.133 12.14 8 11.586 8 11c0-.937.335-1.787.875-2.47C6.483 9.344 4.66 10.917 3.62 12c.68.707 1.696 1.62 2.98 2.398L5.15 15.85C2.498 14.13 1 12 1 12zm22 0s-4.188 6-11 6c-.946 0-1.836-.124-2.676-.323L5 22l-1.5-1.5 17-17L22 5l-3.147 3.147C21.5 9.87 23 12 23 12zm-2.615.006c-.678-.708-1.697-1.624-2.987-2.403L16 11c0 2.21-1.79 4-4 4l-.947.947c.31.03.624.053.947.053 3.978 0 6.943-2.478 8.385-3.994z"})));break;case"gridicons-notice-outline":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})));break;case"gridicons-notice":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-pages":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-pencil":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M13 6l5 5-9.507 9.507c-.686-.686-.69-1.794-.012-2.485l-.002-.003c-.69.676-1.8.673-2.485-.013-.677-.677-.686-1.762-.036-2.455l-.008-.008c-.694.65-1.78.64-2.456-.036L13 6zm7.586-.414l-2.172-2.172c-.78-.78-2.047-.78-2.828 0L14 5l5 5 1.586-1.586c.78-.78.78-2.047 0-2.828zM3 18v3h3c0-1.657-1.343-3-3-3z"})));break;case"gridicons-phone":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-plans":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-1 12H6l5-10v10zm2 6V10h5l-5 10z"})));break;case"gridicons-plugins":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M16 8V3c0-.552-.448-1-1-1s-1 .448-1 1v5h-4V3c0-.552-.448-1-1-1s-1 .448-1 1v5H5v4c0 2.79 1.637 5.193 4 6.317V22h6v-3.683c2.363-1.124 4-3.527 4-6.317V8h-3z"})));break;case"gridicons-plus-small":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 11h-5V6h-2v5H6v2h5v5h2v-5h5"})));break;case"gridicons-plus":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M20 13h-7v7h-2v-7H4v-2h7V4h2v7h7v2z"})));break;case"gridicons-popout":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M6 7V5c0-1.105.895-2 2-2h11c1.105 0 2 .895 2 2v14c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2v-2h2v2h11V5H8v2H6zm5.5-.5l-1.414 1.414L13.172 11H3v2h10.172l-3.086 3.086L11.5 17.5 17 12l-5.5-5.5z"})));break;case"gridicons-posts":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"})));break;case"gridicons-print":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3c0 1.105-.895 2-2 2H7c-1.105 0-2-.895-2-2v-3H2V9c0-1.105.895-2 2-2h1V5c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2v2h1c1.105 0 2 .895 2 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5.672 1.5 1.5 1.5 1.5-.672 1.5-1.5z"})));break;case"gridicons-quote":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M11.192 15.757c0-.88-.23-1.618-.69-2.217-.326-.412-.768-.683-1.327-.812-.55-.128-1.07-.137-1.54-.028-.16-.95.1-1.956.76-3.022.66-1.065 1.515-1.867 2.558-2.403L9.373 5c-.8.396-1.56.898-2.26 1.505-.71.607-1.34 1.305-1.9 2.094s-.98 1.68-1.25 2.69-.346 2.04-.217 3.1c.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003zm9.124 0c0-.88-.23-1.618-.69-2.217-.326-.42-.77-.692-1.327-.817-.56-.124-1.074-.13-1.54-.022-.16-.94.09-1.95.75-3.02.66-1.06 1.514-1.86 2.557-2.4L18.49 5c-.8.396-1.555.898-2.26 1.505-.708.607-1.34 1.305-1.894 2.094-.556.79-.97 1.68-1.24 2.69-.273 1-.345 2.04-.217 3.1.165 1.4.615 2.52 1.35 3.35.732.833 1.646 1.25 2.742 1.25.967 0 1.768-.29 2.402-.876.627-.576.942-1.365.942-2.368v.01z"})));break;case"gridicons-reader":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M3 4v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4H3zm7 11H5v-1h5v1zm2-2H5v-1h7v1zm0-2H5v-1h7v1zm7 4h-5v-5h5v5zm0-7H5V6h14v2z"})));break;case"gridicons-reader-following":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M23,13.482L15.508,21L12,17.4l1.412-1.388l2.106,2.188l6.094-6.094L23,13.482z M15.545,15.344L20,10.889V2H2v14c0,1.1,0.9,2,2,2h4.538l4.913-4.832L15.545,15.344z M8,13H4v-1h4V13z M11,11H4v-1h7V11z M11,9H4V8h7V9z M18,6H4V4h14V6z"})));break;case"gridicons-reblog":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M22.086 9.914L20 7.828V18c0 1.105-.895 2-2 2h-7v-2h7V7.828l-2.086 2.086L14.5 8.5 19 4l4.5 4.5-1.414 1.414zM6 16.172V6h7V4H6c-1.105 0-2 .895-2 2v10.172l-2.086-2.086L.5 15.5 5 20l4.5-4.5-1.414-1.414L6 16.172z"})));break;case"gridicons-redo":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 6v3.586L14.343 5.93C13.17 4.756 11.636 4.17 10.1 4.17s-3.07.585-4.242 1.757c-2.343 2.342-2.343 6.14 0 8.484l5.364 5.364 1.414-1.414L7.272 13c-1.56-1.56-1.56-4.097 0-5.657.755-.755 1.76-1.172 2.828-1.172 1.068 0 2.073.417 2.828 1.173L16.586 11H13v2h7V6h-2z"})));break;case"gridicons-refresh":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z"})));break;case"gridicons-reply":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M14 8H6.828l2.586-2.586L8 4 3 9l5 5 1.414-1.414L6.828 10H14c2.206 0 4 1.794 4 4s-1.794 4-4 4h-2v2h2c3.314 0 6-2.686 6-6s-2.686-6-6-6z"})));break;case"gridicons-rotate":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 14v6c0 1.105-.895 2-2 2H6c-1.105 0-2-.895-2-2v-6c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2zM13.914 2.914L11.828 5H14c4.418 0 8 3.582 8 8h-2c0-3.308-2.692-6-6-6h-2.172l2.086 2.086L12.5 10.5 8 6l1.414-1.414L12.5 1.5l1.414 1.414z"})));break;case"gridicons-scheduled":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M10.498 18l-3.705-3.704 1.415-1.415 2.294 2.295 5.293-5.293 1.415 1.415L10.498 18zM21 6v13c0 1.104-.896 2-2 2H5c-1.104 0-2-.896-2-2V6c0-1.104.896-2 2-2h1V2h2v2h8V2h2v2h1c1.104 0 2 .896 2 2zm-2 2H5v11h14V8z"})));break;case"gridicons-search":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-share-ios":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M17 8h2c1.105 0 2 .895 2 2v9c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2v-9c0-1.105.895-2 2-2h2v2H5v9h14v-9h-2V8zM6.5 5.5l1.414 1.414L11 3.828V14h2V3.828l3.086 3.086L17.5 5.5 12 0 6.5 5.5z"})));break;case"gridicons-share":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 16c-.788 0-1.5.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.118c-.053.223-.088.453-.088.692 0 1.657 1.343 3 3 3s3-1.343 3-3-1.343-3-3-3z"})));break;case"gridicons-sign-out":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M16 17v2c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h9c1.105 0 2 .895 2 2v2h-2V5H5v14h9v-2h2zm2.5-10.5l-1.414 1.414L20.172 11H10v2h10.172l-3.086 3.086L18.5 17.5 24 12l-5.5-5.5z"})));break;case"gridicons-spam":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M17 2H7L2 7v10l5 5h10l5-5V7l-5-5zm-4 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-speaker":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M19 8v6c1.7 0 3-1.3 3-3s-1.3-3-3-3zM11 7H4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h1v3c0 1.1.9 2 2 2h2v-5h2l4 4h2V3h-2l-4 4z"})));break;case"gridicons-special-character":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12.005 7.418c-1.237 0-2.19.376-2.86 1.128s-1.005 1.812-1.005 3.18c0 1.387.226 2.513.677 3.377.45.865 1.135 1.543 2.05 2.036V20H5v-2.666h3.12c-1.04-.636-1.842-1.502-2.405-2.6-.564-1.097-.846-2.322-.846-3.676 0-1.258.29-2.363.875-3.317.585-.952 1.417-1.685 2.497-2.198s2.334-.77 3.763-.77c2.18 0 3.915.572 5.204 1.713s1.932 2.673 1.932 4.594c0 1.353-.283 2.57-.852 3.65-.567 1.08-1.38 1.947-2.44 2.603H19V20h-5.908v-2.86c.95-.493 1.65-1.18 2.102-2.062s.677-2.006.677-3.374c0-1.36-.336-2.415-1.01-3.164-.672-.747-1.624-1.122-2.855-1.122z"})));break;case"gridicons-star-outline":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-star":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-stats-alt":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M21 21H3v-2h18v2zM8 10H4v7h4v-7zm6-7h-4v14h4V3zm6 3h-4v11h4V6z"})));break;case"gridicons-stats":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm0 16H5V5h14v14zM9 17H7v-5h2v5zm4 0h-2V7h2v10zm4 0h-2v-7h2v7z"})));break;case"gridicons-status":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM7.55 13c-.02.166-.05.33-.05.5 0 2.485 2.015 4.5 4.5 4.5s4.5-2.015 4.5-4.5c0-.17-.032-.334-.05-.5h-8.9zM10 10V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1zm6 0V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1z"})));break;case"gridicons-strikethrough":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M14.348 12H21v2h-4.613c.24.515.368 1.094.368 1.748 0 1.317-.474 2.355-1.423 3.114-.947.76-2.266 1.138-3.956 1.138-1.557 0-2.934-.293-4.132-.878v-2.874c.985.44 1.818.75 2.5.928.682.18 1.306.27 1.872.27.68 0 1.2-.13 1.562-.39.363-.26.545-.644.545-1.158 0-.285-.08-.54-.24-.763-.16-.222-.394-.437-.704-.643-.18-.12-.483-.287-.88-.49H3v-2H14.347zm-3.528-2c-.073-.077-.143-.155-.193-.235-.126-.202-.19-.44-.19-.713 0-.44.157-.795.47-1.068.313-.273.762-.41 1.348-.41.492 0 .993.064 1.502.19.51.127 1.153.35 1.93.67l1-2.405c-.753-.327-1.473-.58-2.16-.76-.69-.18-1.414-.27-2.173-.27-1.544 0-2.753.37-3.628 1.108-.874.738-1.312 1.753-1.312 3.044 0 .302.036.58.088.848h3.318z"})));break;case"gridicons-sync":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M23.5 13.5l-3.086 3.086L19 18l-4.5-4.5 1.414-1.414L18 14.172V12c0-3.308-2.692-6-6-6V4c4.418 0 8 3.582 8 8v2.172l2.086-2.086L23.5 13.5zM6 12V9.828l2.086 2.086L9.5 10.5 5 6 3.586 7.414.5 10.5l1.414 1.414L4 9.828V12c0 4.418 3.582 8 8 8v-2c-3.308 0-6-2.692-6-6z"})));break;case"gridicons-tablet":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 2H6c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h12c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-5 19h-2v-1h2v1zm5-2H6V5h12v14z"})));break;case"gridicons-tag":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-text-color":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M3 19h18v3H3v-3zM15.82 17h3.424L14 3h-4L4.756 17H8.18l1.067-3.5h5.506L15.82 17zm-1.952-6h-3.73l1.868-5.725L13.868 11z"})));break;case"gridicons-themes":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M4 6c-1.105 0-2 .895-2 2v12c0 1.1.9 2 2 2h12c1.105 0 2-.895 2-2H4V6zm16-4H8c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V4c0-1.105-.895-2-2-2zm-5 14H8V9h7v7zm5 0h-3V9h3v7zm0-9H8V4h12v3z"})));break;case"gridicons-thumbs-up":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M6.7 22H2v-9h2l2.7 9zM20 9h-6V5c0-1.657-1.343-3-3-3h-1v4L7.1 9.625c-.712.89-1.1 1.996-1.1 3.135V14l2.1 7h8.337c1.836 0 3.435-1.25 3.88-3.03l1.622-6.485C22.254 10.223 21.3 9 20 9z"})));break;case"gridicons-time":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.8 13.4L13 11.667V7h-2v5.333l3.2 4.266 1.6-1.2z"})));break;case"gridicons-trash":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M6.187 8h11.625l-.695 11.125C17.05 20.18 16.177 21 15.12 21H8.88c-1.057 0-1.93-.82-1.997-1.875L6.187 8zM19 5v2H5V5h3V4c0-1.105.895-2 2-2h4c1.105 0 2 .895 2 2v1h3zm-9 0h4V4h-4v1z"})));break;case"gridicons-trophy":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18 5.062V3H6v2.062H2V8c0 2.525 1.89 4.598 4.324 4.932.7 2.058 2.485 3.61 4.676 3.978V18c0 1.105-.895 2-2 2H8v2h8v-2h-1c-1.105 0-2-.895-2-2v-1.09c2.19-.368 3.976-1.92 4.676-3.978C20.11 12.598 22 10.525 22 8V5.062h-4zM4 8v-.938h2v3.766C4.836 10.416 4 9.304 4 8zm16 0c0 1.304-.836 2.416-2 2.83V7.06h2V8z"})));break;case"gridicons-types":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M22 17c0 2.76-2.24 5-5 5s-5-2.24-5-5 2.24-5 5-5 5 2.24 5 5zM6.5 6.5h3.8L7 1 1 11h5.5V6.5zm9.5 4.085V8H8v8h2.585c.433-2.783 2.632-4.982 5.415-5.415z"})));break;case"gridicons-underline":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M4 19v2h16v-2H4zM18 3v8c0 3.314-2.686 6-6 6s-6-2.686-6-6V3h3v8c0 1.654 1.346 3 3 3s3-1.346 3-3V3h3z"})));break;case"gridicons-undo":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M18.142 5.93C16.97 4.756 15.435 4.17 13.9 4.17s-3.072.586-4.244 1.757L6 9.585V6H4v7h7v-2H7.414l3.657-3.657c.756-.755 1.76-1.172 2.83-1.172 1.067 0 2.072.417 2.827 1.173 1.56 1.56 1.56 4.097 0 5.657l-5.364 5.364 1.414 1.414 5.364-5.364c2.345-2.343 2.345-6.142.002-8.485z"})));break;case"gridicons-user-circle":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18.5c-4.694 0-8.5-3.806-8.5-8.5S7.306 3.5 12 3.5s8.5 3.806 8.5 8.5-3.806 8.5-8.5 8.5zm0-8c-3.038 0-5.5 1.728-5.5 3.5s2.462 3.5 5.5 3.5 5.5-1.728 5.5-3.5-2.462-3.5-5.5-3.5zm0-.5c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z"})));break;case"gridicons-user":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 4c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4zm0 16s8 0 8-2c0-2.4-3.9-5-8-5s-8 2.6-8 5c0 2 8 2 8 2z"})));break;case"gridicons-video-camera":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M17 9V7c0-1.105-.895-2-2-2H4c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h11c1.105 0 2-.895 2-2v-2l5 4V5l-5 4z"})));break;case"gridicons-video":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.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"})));break;case"gridicons-visible":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M12 6C5.188 6 1 12 1 12s4.188 6 11 6 11-6 11-6-4.188-6-11-6zm0 10c-3.943 0-6.926-2.484-8.38-4 1.04-1.085 2.863-2.657 5.255-3.47C8.335 9.214 8 10.064 8 11c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.937-.335-1.787-.875-2.47 2.393.813 4.216 2.386 5.254 3.47-1.456 1.518-4.438 4-8.38 4z"})));break;case"gridicons-chat":e=i.a.createElement("svg",{className:a,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.a.createElement("g",null,i.a.createElement("path",{d:"M20,4h-8c-1.1,0-2,0.9-2,2v2h2c1.7,0,3,1.3,3,3v2h2v3.5l3.3-2.3c1.1-0.8,1.7-2,1.7-3.3V6C22,4.9,21.1,4,20,4z"}),i.a.createElement("g",null,i.a.createElement("path",{d:"M14,11v5c0,1.1-0.9,2-2,2H7v3.5l-3.3-2.3c-1.1-0.8-1.7-2-1.7-3.3V11c0-1.1,0.9-2,2-2h8C13.1,9,14,9.9,14,11z"}))))}return e}})),ai=(n(99),function(e){function t(){var e,n;Gt()(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=$t()(this,(e=Jt()(t)).call.apply(e,[this].concat(o))),Ut()(Kn()(n),"_renderWithTitle",(function(){var e="dops-card-section-orient-"+(n.props.vertical?"vertical":"horizontal");return i.a.createElement("div",{className:e},i.a.createElement("h4",{ref:"label",className:"dops-card-section-label"},n.props.title),i.a.createElement("div",{ref:"content",className:"dops-card-section-content"},n.props.children))})),n}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){return i.a.createElement("div",{className:zr()("dops-card-section",this.props.className),style:this.props.style},this.props.title?this._renderWithTitle():this.props.children)}}]),t}(i.a.Component));Ut()(ai,"propTypes",{title:c.a.any,vertical:c.a.any,style:c.a.object,className:c.a.string,device:c.a.oneOf(["desktop","tablet","phone"])}),Ut()(ai,"defaultProps",{vertical:null});var si=function(e){function t(){return Gt()(this,t),$t()(this,Jt()(t).apply(this,arguments))}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){return i.a.createElement("div",{className:"dops-card-footer"},this.props.children)}}]),t}(i.a.Component),ci=function(e){function t(){var e,n;Gt()(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=$t()(this,(e=Jt()(t)).call.apply(e,[this].concat(o))),Ut()(Kn()(n),"_renderIcon",(function(){return i.a.createElement("span",{className:"dops-card-icon",style:{color:n.props.iconColor}},n.props.icon&&i.a.createElement(oi,{icon:n.props.icon,style:{backgroundColor:n.props.iconColor}}),n.props.iconLabel)})),n}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){var e,t,n=zr()("dops-card",this.props.className,{"is-card-link":!!this.props.href,"is-compact":this.props.compact}),r=["compact","tagName","meta","iconColor"];return this.props.href?e=i.a.createElement(oi,{className:"dops-card__link-indicator",icon:this.props.target?"external":"chevron-right"}):r.push("href","target"),this.props.title&&(t=i.a.createElement("h2",{className:"dops-card-title"},this.props.title,this.props.meta&&i.a.createElement("span",{className:"dops-card-meta"},this.props.meta),(this.props.icon||this.props.iconLabel)&&this._renderIcon())),i.a.createElement(this.props.href?"a":this.props.tagName,Object(Mt.assign)(Object(Mt.omit)(this.props,r),{className:n}),e,t,this.props.children)}}]),t}(i.a.Component);Ut()(ci,"propTypes",{meta:c.a.any,icon:c.a.string,iconLabel:c.a.any,iconColor:c.a.string,style:c.a.object,className:c.a.string,href:c.a.string,onClick:c.a.func,title:c.a.string,tagName:c.a.string,target:c.a.string,compact:c.a.bool,children:c.a.node}),Ut()(ci,"defaultProps",{iconColor:"#787878",className:"",tagName:"div",onClick:function(){}}),ci.Section=ai,ci.Footer=si;var ui=ci,li=function(e){return function(t){13!==t.which&&32!==t.which||e(t)}},hi=function(e){function t(){var e,n;Gt()(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=$t()(this,(e=Jt()(t)).call.apply(e,[this].concat(o))),Ut()(Kn()(n),"onPlanChange",(function(e){n.props.switchPlanPreview(e.target.value)})),Ut()(Kn()(n),"onPermissionsChange",(function(e){n.props.switchUserPermissions(e.target.value)})),Ut()(Kn()(n),"onThreatsChange",(function(e){n.props.switchThreats(e.target.value)})),Ut()(Kn()(n),"onRewindStatusChange",(function(e){n.props.switchRewindState(e.target.value)})),Ut()(Kn()(n),"maybeShowStatsToggle",(function(){if(!n.props.isAdmin)return i.a.createElement("div",null,i.a.createElement("hr",null),i.a.createElement("ul",null,i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"view_stats"},i.a.createElement("input",{type:"radio",id:"view_stats",value:"view_stats",name:"view_stats",checked:n.props.canViewStats,onChange:n.onPermissionsChange}),"Can view stats")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"hide_stats"},i.a.createElement("input",{type:"radio",id:"hide_stats",value:"hide_stats",name:"hide_stats",checked:!n.props.canViewStats,onChange:n.onPermissionsChange}),"Can not view stats"))))})),Ut()(Kn()(n),"maybeShowIsLinkedToggle",(function(){if(!n.props.isMaster)return i.a.createElement("div",null,i.a.createElement("hr",null),i.a.createElement("ul",null,i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"is_linked"},i.a.createElement("input",{type:"radio",id:"is_linked",value:"is_linked",name:"is_linked",checked:n.props.isUserLinked,onChange:n.onPermissionsChange}),"Linked")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"is_unlinked"},i.a.createElement("input",{type:"radio",id:"is_unlinked",value:"is_unlinked",name:"is_unlinked",checked:!n.props.isUserLinked,onChange:n.onPermissionsChange}),"Unlinked"))))})),n}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){if(!this.props.canDisplayDevCard)return null;var e=zr()(this.props.className,"jp-dev-card"),t=function(e){switch(e){case"jetpack_free":case"free_plan":return"is-free-plan";case"personal-bundle":case"personal-bundle-2y":case"personal-bundle-monthly":case"jetpack_personal":case"jetpack_personal_monthly":return"is-personal-plan";case"value_bundle":case"value_bundle-2y":case"value_bundle-monthly":case"jetpack_premium":case"jetpack_premium_monthly":return"is-premium-plan";case"business-bundle":case"business-bundle-2y":case"business-bundle-monthly":case"jetpack_business":case"jetpack_business_monthly":case"vip":case"ecommerce-bundle":case"ecommerce-bundle-2y":case"ecommerce-bundle-monthly":return"is-business-plan";case"jetpack_backup_daily":case"jetpack_backup_daily_monthly":return"is-daily-backup-plan";case"jetpack_backup_realtime":case"jetpack_backup_realtime_monthly":return"is-realtime-backup-plan";default:return""}}(this.props.sitePlan.product_slug),n=Object(Mt.get)(this.props.rewindStatus,["state"],!1);return i.a.createElement(ui,{compact:!0,className:e},i.a.createElement("a",{className:"jp-dev-card__close",role:"button",tabIndex:"0",onKeyDown:li(this.props.disableDevCard),onClick:this.props.disableDevCard},"x"),i.a.createElement("div",{className:"jp-dev-card__heading"},"Dev Tools"),i.a.createElement("ul",null,i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"jetpack_free"},i.a.createElement("input",{type:"radio",id:"jetpack_free",value:"jetpack_free",name:"jetpack_free",checked:"is-free-plan"===t,onChange:this.onPlanChange}),"Free")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"jetpack_personal"},i.a.createElement("input",{type:"radio",id:"jetpack_personal",value:"jetpack_personal",name:"jetpack_personal",checked:"is-personal-plan"===t,onChange:this.onPlanChange}),"Personal")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"jetpack_premium"},i.a.createElement("input",{type:"radio",id:"jetpack_premium",value:"jetpack_premium",name:"jetpack_premium",checked:"is-premium-plan"===t,onChange:this.onPlanChange}),"Premium")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"jetpack_business"},i.a.createElement("input",{type:"radio",id:"jetpack_business",value:"jetpack_business",name:"jetpack_business",checked:"is-business-plan"===t,onChange:this.onPlanChange}),"Pro")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"jetpack_backup_daily"},i.a.createElement("input",{type:"radio",id:"jetpack_backup_daily",value:"jetpack_backup_daily",name:"jetpack_backup_daily",checked:"is-daily-backup-plan"===t,onChange:this.onPlanChange}),"Jetpack Backup Daily")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"jetpack_backup_realtime"},i.a.createElement("input",{type:"radio",id:"jetpack_backup_realtime",value:"jetpack_backup_realtime",name:"jetpack_backup_realtime",checked:"is-realtime-backup-plan"===t,onChange:this.onPlanChange}),"Jetpack Backup Reatime"))),i.a.createElement("hr",null),i.a.createElement("ul",null,i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"admin_master"},i.a.createElement("input",{type:"radio",id:"admin_master",value:"admin_master",name:"admin_master",checked:this.props.isMaster,onChange:this.onPermissionsChange}),"Admin (master)")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"admin_secondary"},i.a.createElement("input",{type:"radio",id:"admin_secondary",value:"admin_secondary",name:"admin_secondary",checked:this.props.isAdmin&&!this.props.isMaster,onChange:this.onPermissionsChange}),"Admin (secondary)")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"editor"},i.a.createElement("input",{type:"radio",id:"editor",value:"editor",name:"editor",checked:this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Editor")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"subscriber"},i.a.createElement("input",{type:"radio",id:"subscriber",value:"subscriber",name:"subscriber",checked:!this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Subscriber"))),i.a.createElement("hr",null),i.a.createElement("ul",null,i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"nothreats"},i.a.createElement("input",{type:"radio",id:"nothreats",value:0,name:"nothreats",checked:0===this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"No threats")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"threats"},i.a.createElement("input",{type:"radio",id:"threats",value:17,name:"threats",checked:0!==this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"Threats"))),i.a.createElement("hr",null),i.a.createElement("ul",null,i.a.createElement("strong",null,"Backup & Scan"),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"rewindUnavailable"},i.a.createElement("input",{type:"radio",id:"rewindUnavailable",value:"unavailable",name:"unavailable",checked:"unavailable"===n,onChange:this.onRewindStatusChange}),"Unavailable")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"rewindProvisioning"},i.a.createElement("input",{type:"radio",id:"rewindProvisioning",value:"provisioning",name:"provisioning",checked:"provisioning"===n,onChange:this.onRewindStatusChange}),"Provisioning")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"rewindAwatingCreds"},i.a.createElement("input",{type:"radio",id:"rewindAwatingCreds",value:"awaiting_credentials",name:"awaiting_credentials",checked:"awaiting_credentials"===n,onChange:this.onRewindStatusChange}),"Awaiting credentials")),i.a.createElement("li",null,i.a.createElement("label",{htmlFor:"rewindActive"},i.a.createElement("input",{type:"radio",id:"rewindActive",value:"active",name:"active",checked:"active"===n,onChange:this.onRewindStatusChange}),"Active"))),this.maybeShowStatsToggle(),this.maybeShowIsLinkedToggle())}}]),t}(i.a.Component);Ut()(hi,"displayName","DevCard");var fi=se((function(e){return{isDevVersion:Pt(e),sitePlan:mr(e),canDisplayDevCard:or(e),isUserLinked:tr(e),canViewStats:It(e),isMaster:Lt(e),isAdmin:Ft(e),canEditPosts:Dt(e),getVaultPressScanThreatCount:function(){return function(e){return Object(Mt.get)(e.jetpack.dashboard.vaultPressData,"data.security.notice_count",0)}(e)},rewindStatus:hr(e)}}),(function(e){return{switchPlanPreview:function(t){return e(function(e){return function(t){t({type:"JETPACK_SITE_DATA_FETCH_RECEIVE",siteData:{plan:{product_slug:e}}})}}(t))},switchUserPermissions:function(t){return e(function(e){var t={};return function(n){switch(e){case"admin_master":t=qr;break;case"admin_secondary":t=Jr;break;case"editor":case"contributor":case"author":t=Zr;break;case"subscriber":t=Qr;break;case"view_stats":t=Xr;break;case"hide_stats":t=ei;break;case"is_linked":t=ti;break;case"is_unlinked":t=ni}n({type:"MOCK_SWITCH_USER_PERMISSIONS",initialState:t})}}(t))},switchThreats:function(t){return e(function(e){return function(t){t({type:"MOCK_SWITCH_THREATS",mockCount:e})}}(parseInt(t)))},disableDevCard:function(){return e((function(e){e({type:"DEV_CARD_HIDE"})}))},switchRewindState:function(t){return e((n=t,function(e){e({type:"MOCK_SWITCH_REWIND_STATE",rewindState:{state:n}})}));var n}}}))(hi),pi=function e(){var t=document.getElementById("jp-navigation").offsetTop;window.scrollTo(0,window.scrollY-t/1.5),window.scrollY>t&&window.requestAnimationFrame(e)},di=function(e){function t(){var e,n;Gt()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=$t()(this,(e=Jt()(t)).call.apply(e,[this].concat(i))),Ut()(Kn()(n),"resetOnClick",(function(){window.confirm(Zn("This will reset all Jetpack options, are you sure?"))&&n.props.resetOptions()})),Ut()(Kn()(n),"trackVersionClick",(function(){Rr.tracks.recordJetpackClick({target:"footer_link",link:"version"})})),Ut()(Kn()(n),"trackTermsClick",(function(){Rr.tracks.recordJetpackClick({target:"footer_link",link:"terms"})})),Ut()(Kn()(n),"trackAboutClick",(function(){Rr.tracks.recordJetpackClick({target:"footer_link",link:"about"})})),Ut()(Kn()(n),"trackPrivacyClick",(function(){window.requestAnimationFrame(pi),Rr.tracks.recordJetpackClick({target:"footer_link",link:"privacy"})})),Ut()(Kn()(n),"trackModulesClick",(function(){Rr.tracks.recordJetpackClick({target:"footer_link",link:"modules"})})),Ut()(Kn()(n),"trackDebugClick",(function(){Rr.tracks.recordJetpackClick({target:"footer_link",link:"debug"})})),n}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){var e=this,t=zr()(this.props.className,"jp-footer"),n=this.props.currentVersion,r=this.props.siteConnectionStatus?this.props.siteAdminUrl+"admin.php?page=jetpack_about":"https://jetpack.com",o=this.props.siteConnectionStatus?this.props.siteAdminUrl+"admin.php?page=jetpack#/privacy":"https://automattic.com/privacy/";return i.a.createElement("div",{className:t},i.a.createElement("div",{className:"jp-footer__a8c-attr-container"},i.a.createElement("a",{href:r},i.a.createElement("svg",{role:"img",className:"jp-footer__a8c-attr",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"a8c-svg-title"},i.a.createElement("title",{id:"a8c-svg-title"},Zn("An Automattic Airline")),i.a.createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),i.a.createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),i.a.createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"})))),i.a.createElement("ul",{className:"jp-footer__links"},i.a.createElement("li",{className:"jp-footer__link-item"},i.a.createElement("a",{onClick:this.trackVersionClick,href:"https://jetpack.com",target:"_blank",rel:"noopener noreferrer",className:"jp-footer__link",title:Zn("Jetpack version")},n?Zn("Jetpack version %(version)s",{args:{version:n}}):"Jetpack")),i.a.createElement("li",{className:"jp-footer__link-item"},i.a.createElement("a",{onClick:this.trackAboutClick,href:r,className:"jp-footer__link",title:Zn("About Jetpack")},Zn("About",{context:"Link to learn more about Jetpack."}))),i.a.createElement("li",{className:"jp-footer__link-item"},i.a.createElement("a",{onClick:this.trackTermsClick,href:"https://wordpress.com/tos/",target:"_blank",rel:"noopener noreferrer",title:Zn("WordPress.com Terms of Service"),className:"jp-footer__link"},Zn("Terms",{context:"Shorthand for Terms of Service."}))),i.a.createElement("li",{className:"jp-footer__link-item"},i.a.createElement("a",{onClick:this.trackPrivacyClick,href:o,rel:"noopener noreferrer",title:Zn("Automattic's Privacy Policy"),className:"jp-footer__link"},Zn("Privacy",{context:"Shorthand for Privacy Policy."}))),function(){if(e.props.siteConnectionStatus&&e.props.userCanManageOptions)return i.a.createElement("li",{className:"jp-footer__link-item"},i.a.createElement("a",{onClick:e.trackModulesClick,href:e.props.siteAdminUrl+"admin.php?page=jetpack_modules",title:Zn("Access the full list of Jetpack modules available on your site."),className:"jp-footer__link"},Zn("Modules",{context:"Navigation item. Noun. Links to a list of modules for Jetpack."})))}(),function(){if(e.props.userCanManageOptions)return i.a.createElement("li",{className:"jp-footer__link-item"},i.a.createElement("a",{onClick:e.trackDebugClick,href:e.props.siteAdminUrl+"admin.php?page=jetpack-debugger",title:Zn("Test your site’s compatibility with Jetpack."),className:"jp-footer__link"},Zn("Debug",{context:"Navigation item. Noun. Links to a debugger tool for Jetpack."})))}(),e.props.isDevVersion&&e.props.userCanManageOptions?i.a.createElement("li",{className:"jp-footer__link-item"},i.a.createElement("a",{role:"button",tabIndex:"0",onKeyDown:li(e.resetOnClick),onClick:e.resetOnClick,className:"jp-footer__link"},Zn("Reset Options (dev only)",{context:"Navigation item."}))):"",e.props.isDevVersion?i.a.createElement("li",{className:"jp-footer__link-item"},i.a.createElement("a",{role:"button",tabIndex:"0",onKeyDown:li(e.props.enableDevCard),onClick:e.props.enableDevCard,className:"jp-footer__link"},Zn("Dev Tools",{context:"Navigation item."}))):"",function(){if(e.props.isDevVersion&&e.props.displayDevCard)return i.a.createElement(fi,null)}()))}}]),t}(i.a.Component);Ut()(di,"displayName","Footer");var vi=se((function(e){return{currentVersion:jt(e),displayDevCard:or(e),isDevVersion:Pt(e),isInIdentityCrisis:nr(e),siteAdminUrl:At(e),siteConnectionStatus:er(e),userCanManageOptions:Nt(e)}}),(function(e){return{resetOptions:function(){return e((t="options",function(e){return e({type:"RESET_OPTIONS"}),e(vn("is-info",Zn("Resetting Jetpack options…"),{id:"reset-options"})),cn.resetOptions(t).then((function(){e({type:"RESET_OPTIONS_SUCCESS"}),e(dn("reset-options")),e(vn("is-success",Zn("Options reset."),{id:"reset-options",duration:2e3}))})).catch((function(t){e({type:"RESET_OPTIONS_FAIL",error:t}),e(dn("reset-options")),e(vn("is-error",Zn("Options failed to reset."),{id:"reset-options"}))}))}));var t},enableDevCard:function(){return e((function(e){e({type:"DEV_CARD_DISPLAY"})}))}}}))(di),gi=function(e){function t(){return Gt()(this,t),$t()(this,Jt()(t).apply(this,arguments))}return Qt()(t,e),Wn()(t,[{key:"UNSAFE_componentWillMount",value:function(){this.props.setInitialState()}},{key:"render",value:function(){return i.a.createElement("div",{id:"jp-plugin-container"},i.a.createElement(Gr,this.props),i.a.createElement($r,this.props),i.a.createElement(vi,this.props),i.a.createElement("style",{type:"text/css"},".vp-deactivated{ display: none; }"))}}]),t}(i.a.Component),mi=se((function(e){return e}),(function(e){return P({setInitialState:Hr},e)}))(gi),yi=(n(100),function(e){function t(){var e,n;Gt()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=$t()(this,(e=Jt()(t)).call.apply(e,[this].concat(i))),Ut()(Kn()(n),"dismissTimeout",null),Ut()(Kn()(n),"getIcon",(function(){var e;switch(n.props.status){case"is-info":e="info";break;case"is-success":e="checkmark";break;case"is-error":case"is-warning":e="notice";break;default:e="info"}return e})),n}return Qt()(t,e),Wn()(t,[{key:"componentDidMount",value:function(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}},{key:"componentWillUnmount",value:function(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.icon,o=e.isCompact,a=e.onDismissClick,s=e.showDismiss,c=void 0===s?!o:s,u=e.status,l=e.text,h=e.dismissText,f=zr()("dops-notice",u,n,{"is-compact":o,"is-dismissable":c});return i.a.createElement("div",{className:f},i.a.createElement("span",{className:"dops-notice__icon-wrapper"},i.a.createElement(oi,{className:"dops-notice__icon",icon:r||this.getIcon(),size:24})),i.a.createElement("span",{className:"dops-notice__content"},i.a.createElement("span",{className:"dops-notice__text"},l||t)),l?t:null,c&&i.a.createElement("span",{role:"button",onKeyDown:li(a),tabIndex:"0",className:"dops-notice__dismiss",onClick:a},i.a.createElement(oi,{icon:"cross",size:24}),i.a.createElement("span",{className:"dops-notice__screen-reader-text screen-reader-text"},h)))}}]),t}(i.a.Component));Ut()(yi,"displayName","SimpleNotice"),Ut()(yi,"defaultProps",{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:Mt.noop}),Ut()(yi,"propTypes",{status:c.a.string,showDismiss:c.a.bool,isCompact:c.a.bool,duration:c.a.number,text:c.a.oneOfType([c.a.oneOfType([c.a.string,c.a.node]),c.a.arrayOf(c.a.oneOfType([c.a.string,c.a.node]))]),icon:c.a.string,className:c.a.string});var wi=function(e){function t(){return Gt()(this,t),$t()(this,Jt()(t).apply(this,arguments))}return Qt()(t,e),Wn()(t,[{key:"render",value:function(){return i.a.createElement(yi,{showDismiss:!1,status:"is-warning"},i.a.createElement("div",null,"#HEADER_TEXT#",i.a.createElement("br",null),"#TEXT#"))}}]),t}(i.a.Component);Ut()(wi,"displayName","StaticWarning");var _i=se((function(e){return{jetpackNotices:function(){return function(e){return e.jetpack.jetpackNotices.notice}(e)},isDismissed:function(t){return function(e,t){return Object(Mt.get)(e.jetpack.jetpackNotices.dismissed,[t],!1)}(e,t)}}}))(wi),Ei=Object(o.renderToStaticMarkup)(i.a.createElement("div",null,i.a.createElement(h,{store:Sr},i.a.createElement(mi,null)))),bi=Object(o.renderToStaticMarkup)(i.a.createElement(h,{store:Sr},i.a.createElement("noscript",null,i.a.createElement(_i,null)))),Ci=Object(o.renderToStaticMarkup)(i.a.createElement(h,{store:Sr},i.a.createElement(_i,null)));t.default=function(){return{"static.html":Ei,"static-noscript-notice.html":bi,"static-version-notice.html":Ci}}}]); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/static.js.LICENSE.txt b/plugins/jetpack/_inc/build/static.js.LICENSE.txt
index e4e20c7c..dd54aabb 100644
--- a/plugins/jetpack/_inc/build/static.js.LICENSE.txt
+++ b/plugins/jetpack/_inc/build/static.js.LICENSE.txt
@@ -38,6 +38,15 @@ object-assign
*/
/** @license React v17.0.2
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
diff --git a/plugins/jetpack/_inc/build/static.rtl.css b/plugins/jetpack/_inc/build/static.rtl.css
deleted file mode 100644
index 6a4e774a..00000000
--- a/plugins/jetpack/_inc/build/static.rtl.css
+++ /dev/null
@@ -1 +0,0 @@
-.dops-button{background:#f3f5f6;border:1px solid #0071a1;color:#0071a1;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:13px;border-radius:3px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dops-button:hover{background:#f1f1f1;border-color:#016087;color:#016087}.dops-button:disabled,.dops-button[disabled]{color:#eee;background:#fff;border-color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#0071a1;box-shadow:0 0 0 1px #0071a1}.dops-button.is-compact{padding:0 10px;line-height:2}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{top:4px;margin-top:-8px}.dops-button.is-compact .gridicons-plus-small{margin-right:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-right:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-right:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{position:relative;top:4px;margin-top:-2px;width:18px;height:18px}.dops-button.is-primary{background:#007cba;border-color:#007cba;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{border-color:#0071a1;background:#0071a1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0071a1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{color:#66c6e4!important;background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;text-shadow:none!important;cursor:default}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{color:#f4cdcd;border-color:#eee}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-right:0;padding-left:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{width:24px;height:24px;top:6px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{color:#eee;background:#fff;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{width:18px;height:18px;top:5px}.dops-button-group .dops-button{border-right-width:0;border-radius:0}.dops-button-group .dops-button:focus{position:relative;z-index:z-index("button-group-parent",".button-group .button:focus")}.dops-button-group .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0071a1}.dops-button-group .dops-button.is-scary:focus{box-shadow:inset -1px 0 0 #d94f4f,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-primary.is-scary:focus{box-shadow:inset -1px 0 0 #761919,0 0 0 2px #eba3a3}.dops-button-group .dops-button.is-scary:first-child:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button-group .dops-button:first-child{border-right-width:1px;border-top-right-radius:4px;border-bottom-right-radius:4px}.dops-button-group .dops-button:last-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.dops-section-header .dops-button-group .dops-button{margin-left:0}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(-1px,1px)}.gridicon.needs-offset-x g{transform:translate(-1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-card{display:block;position:relative;margin:0 auto 10px;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px #ccd0d4,0 1px 1px 1px rgba(0,0,0,.04)}.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media (min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-left:48px}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;position:absolute;top:0;left:16px}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#007cba,20%)}#jp-plugin-container{min-height:100vh}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-notice{display:flex;position:relative;width:100%;margin-bottom:24px;box-sizing:border-box;animation:appear .3s ease-in-out;background:#414141;color:#fff;border-radius:3px;line-height:1.5}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#007cba}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{background:#747474;color:#fff;display:flex;align-items:baseline;width:47px;justify-content:center;border-radius:0 3px 3px 0;flex-shrink:0;align-self:stretch}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media (min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content{padding:13px;font-size:12px;flex-grow:1}@media (min-width:481px){.dops-notice__content{font-size:14px}}.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{text-decoration:underline;color:#fff}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-right:0}.dops-notice__text li{margin-right:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-right:.428em}.dops-notice__dismiss{flex-shrink:0;cursor:pointer;padding:12px 12px 0}.dops-notice__dismiss .gridicon{width:18px;height:18px}@media (min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{width:24px;height:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{cursor:pointer;font-size:12px;font-weight:400;text-decoration:none;white-space:nowrap;color:#bbb;padding:13px;display:flex;align-items:center}@media (min-width:481px){a.dops-notice__action{flex-shrink:1;flex-grow:0;align-items:center;border-radius:0;font-size:14px;margin:0 auto 0 0;padding:13px 16px}a.dops-notice__action .gridicon{width:24px;height:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{margin-right:8px;opacity:.7;width:18px;height:18px}.dops-notice.is-compact{display:inline-flex;flex-wrap:nowrap;flex-direction:row;width:auto;border-radius:3px;min-height:20px;margin:0;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;line-height:1.5}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{width:18px;height:18px;margin:0}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{position:relative;align-self:center;flex:none;margin:0 0 0 8px;padding:0}.dops-notice.is-compact .dops-notice__dismiss .gridicon{width:18px;height:18px}.dops-notice.is-compact a.dops-notice__action{background:transparent;display:inline-block;font-size:12px;align-self:center;margin:0 16px 0 0;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{margin-right:8px;width:14px;height:14px;vertical-align:sub;opacity:1} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/style.min.css b/plugins/jetpack/_inc/build/style.min.css
index 37521e29..ef37ae80 100644
--- a/plugins/jetpack/_inc/build/style.min.css
+++ b/plugins/jetpack/_inc/build/style.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is compiled SASS code. */
-@media(max-width: 660px){.jp-hidden-on-mobile{display:none}}.wp-admin.toplevel_page_jetpack{background-color:#f6f6f6;line-height:1.4;height:auto}.jetpack-pagestyles #wpcontent{padding-left:0}.jetpack-pagestyles{font-size:.875rem}.jetpack-pagestyles a{text-decoration:none}.jetpack-pagestyles #dolly{float:none;position:relative;right:0;left:0;top:0;padding:.625rem;text-align:right;background:#fff;font-size:.75rem;font-style:italic;color:#a2a2a2;border-bottom:1px #eee solid}@media(max-width: 660px){.jetpack-pagestyles #dolly{display:none}}.dops-notice__text a{text-decoration:underline}.toplevel_page_jetpack ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#f6f6f6}.jp-lower{margin:0 auto;text-align:left;max-width:65rem;padding:1.5rem}.jp-lower.jp-licensing-screen{max-width:70.5rem}.jp-lower.jp-main-connect-screen,.jp-lower.jp-user-connect-screen{max-width:70.5rem;box-sizing:content-box}@media(max-width: 1250px){.jp-lower{max-width:95%}}#contextual-help-link-wrap{display:none}.is-placeholder{animation:pulse-light .8s ease-in-out infinite;background:#d5d5d5}@keyframes pulse-light{50%{background-color:#eee}}.blur{-moz-filter:blur(5px);-o-filter:blur(5px);-ms-filter:blur(5px);filter:blur(5px)}.jp-dash-item .jp-dash-item__content a{font-style:italic}.jp-dash-item .dops-section-header__actions .form-toggle__label{position:relative;top:6px;right:0}.jp-dash-item .dops-section-header__actions .form-toggle__label-content{margin:0}.jp-dash-item__content{flex-grow:1;display:flex;flex-wrap:wrap;align-items:flex-start}.jp-dash-item__card{margin:0}.jp-dash-item__count{margin-top:0;margin-bottom:6px;margin-right:8px;color:#3582c4;font-weight:500;font-size:2rem;display:inline-block;border:1px solid #c3c4c7;border-radius:4px;padding:0 4px;min-width:36px;text-align:center}@media(max-width: 660px){.jp-dash-item__count{font-size:1.4375rem}}.jp-dash-item__count+.jp-dash-item__description{max-width:61%}.jp-dash-item__count.is-alert{color:#fff;background:#d94f4f;border-color:#d94f4f}.jp-dash-item__title{max-width:calc( 100% - 18px )}.jp-dash-item__title.jp-dash-item__title_fullwidth{flex-basis:100%}.jp-dash-item__title.jp-dash-item__title_top{margin-top:0}.jp-dash-item__description{margin:0;font-size:.875rem;max-width:calc( 100% - 18px )}.jp-dash-item__description.jp-dash-item__connect{margin-top:20px}.jp-dash-item .dops-section-header{width:100%}.jp-dash-item .dops-section-header .dops-button{font-style:normal}.jp-dash-item .dops-section-header.is-working .dops-section-header__actions,.jp-dash-item .dops-section-header.is-premium-inactive .dops-section-header__actions{color:#747474}.jp-dash-item .dops-section-header__actions .dops-notice{margin-top:-0.0625rem;margin-bottom:-0.0625rem}.jp-dash-item__active-label{display:inline-block;padding:.375rem 0 0;color:#888;color:#a2a2a2;font-size:.75rem;font-weight:400;text-transform:uppercase}.jp-dash-item__is-inactive .dops-section-header__label{padding-right:.5rem}.jp-dash-item__is-inactive .dops-section-header__label-text:before{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(to right, rgba(255, 255, 255, 0), white 90%);top:0px;bottom:0px;right:0px;left:auto;width:8px;height:auto}.jp-dash-item__is-inactive .jp-dash-item__description{font-style:italic;color:#6f6f6f}.jp-dash-item__disabled{opacity:.5;position:relative}.jp-dash-item__disabled::before{content:"";width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:1}.jp-dash-item__recently-activated .jp-dash-item__description{font-style:italic;box-sizing:border-box}.jp-dash-section-header{display:flex;flex-wrap:wrap;margin:2.5rem 0 .5rem}@media(max-width: 660px){.jp-dash-section-header{margin-bottom:1.5rem}}@media(max-width: 480px){.jp-dash-section-header{display:block}}.jp-dash-section-header__label{flex:1;white-space:nowrap}.jp-dash-section-header__name{display:inline-block;margin-top:0;margin-bottom:0;font-size:1.25rem;font-weight:400;white-space:nowrap}@media(min-width: 481px){.jp-dash-section-header__name{display:inline-block}}@media(max-width: 480px){.jp-dash-section-header__name .jp-dash-section-header__label{display:inline-block}}.jp-dash-section-header__settings{display:inline-block;min-width:2.5rem;text-align:center;color:#888}.jp-dash-section-header__settings:focus{outline:0;box-shadow:none}.jp-dash-section-header__settings:focus .gridicon{color:#0087be}.jp-dash-section-header__settings .gridicon{position:relative;top:1px}.jp-dash-section-header__external-link{align-self:center;font-style:italic}@media(max-width: 660px){.jp-dash-section-header__external-link{margin-top:.25rem}}@media(max-width: 480px){.jp-dash-section-header__external-link{display:block;width:100%}}.jp-dash-section-header__children{align-self:center}@media(max-width: 480px){.jp-dash-section-header__children{width:100%}}.jp-form-settings-group.foldable-wrapper .dops-foldable-card.dops-card{padding-right:0;margin-bottom:0;box-shadow:none}.dops-foldable-card.dops-card.offlinemode-disabled .dops-foldable-card__summary,.dops-foldable-card.dops-card.offlinemode-disabled .dops-foldable-card__summary_expanded{width:100px}.dops-foldable-card.dops-card.is-expanded .dops-foldable-card__content{position:relative;padding-right:2.9375rem;padding-left:1.5rem}@media(min-width: 661px){.dops-foldable-card__main{max-width:85%}}@media(min-width: 481px){.dops-foldable-card__main{max-width:60%}}@media(max-width: 480px){.dops-foldable-card__main{flex-basis:100%}}@media(max-width: 480px){.dops-foldable-card__header{flex-wrap:wrap}}@media(max-width: 480px){.dops-foldable-card__header-text{font-size:.875rem}}.dops-foldable-card__header-text .dops-button{margin-left:.5rem}@media(max-width: 480px){.dops-foldable-card__subheader{display:none}}@media(max-width: 480px){.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{text-align:left;margin-top:.5rem}}.jp-footer{text-align:center;margin:1rem 0 2rem}@media(max-width: 1040px){.jp-footer{margin:2rem 0 1.5rem}}@media(max-width: 660px){.jp-footer{margin:1.5rem 0 1rem}}.jp-footer__rna-footer{max-width:65rem;padding:1.5rem;margin:0 auto}.jp-footer__a8c-attr-container{margin-bottom:.5rem}.jp-footer__a8c-attr{width:11.25rem}.jp-footer__a8c-attr path{fill:#888}.jp-footer__links{border-top:1px #e1e1e1 solid;border-bottom:1px #e1e1e1 solid;margin-top:0;margin-bottom:1rem}@media(max-width: 660px){.jp-footer__links{border-bottom:none}}.jp-footer__link-item{display:inline-block;margin-bottom:0}@media(min-width: 661px){.jp-footer__link-item{display:inline-block}}@media(max-width: 660px){.jp-footer__link-item{display:block;border-bottom:1px #e1e1e1 solid}}.jp-footer__link{padding:1rem .5rem;color:#888;display:inline-block;cursor:pointer}.jp-footer__link:visited{color:#888}.jp-footer__link:hover,.jp-footer__link:active{color:#272727}@media(max-width: 660px){.jp-footer__link{display:block;padding:.5rem 0;border-bottom:1px #e1e1e1 solid}.jp-footer__link:last-of-type{border-bottom:none}}.jp-dev-card.jp-dev-card{position:fixed;bottom:10px;right:10px;z-index:100;padding:8px;font-size:12px;text-align:left}.jp-dev-card.jp-dev-card ul{margin-top:6px}.jp-dev-card.jp-dev-card li{margin-top:2px;margin-bottom:0}.jp-dev-card li.jp-dev-card__deprecated-plans-list-header{margin-top:8px;margin-bottom:8px;text-align:center;font-style:italic}.jp-dev-card__heading{font-weight:600}.jp-dev-card__subheading{font-size:11px;color:#888}.jp-dev-card__close{float:right;cursor:pointer}.jp-loading-placeholder{margin-top:30vh;margin-bottom:25vh;color:#d5d5d5;font-size:12vw;text-align:center}@media(min-width: 961px){.jp-loading-placeholder{font-size:120px}}.jp-loading-placeholder .dashicons{font-size:inherit;width:auto;height:auto}@media(max-width: 480px){.dops-notice ul{font-size:.75rem}}.jp-license-activation-notice__external-link svg.gridicons-external{margin-left:.25rem}.jp-unlinked-notice .jp-connection-banner__icon{align-self:center;margin-right:1rem;line-height:0}.jp-masthead{background-color:#fff;text-align:center;box-shadow:0 1px 0 #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04)}@media(max-width: 48.875rem){.jp-masthead{padding:0 1.5rem}.jetpack-masterbar .jp-masthead{padding-left:4rem}}.jp-masthead__inside-container{display:flex;flex-wrap:wrap;margin:0 auto;width:100%;max-width:65rem;padding-bottom:.375rem}@media(max-width: 1250px){.jp-masthead__inside-container{max-width:95%}}.jp-masthead__logo-container{flex-grow:0;flex-shrink:0;padding:.6875rem 0 0}@media(max-width: 480px){.jp-masthead__logo-container{margin-right:1rem}}.jp-masthead__logo-link{display:inline-block;outline:none;vertical-align:middle}.jp-masthead__logo-link:focus{line-height:0;box-shadow:0 0 0 2px #78dcfa}.jp-masthead__logo-link+code{margin:0 10px;padding:5px 9px;border-radius:2px;background:#e6ecf1;color:#647a88}.jp-masthead__nav{display:flex;flex-wrap:nowrap;flex-grow:1;flex-shrink:0;text-align:right;margin-top:.375rem;padding:.25rem 0}.jp-masthead__nav .dops-button-group{flex-grow:1;align-self:center;font-size:0}@media(max-width: 480px){.jp-masthead__nav{text-align:left}}#sandbox-domain-badge{background:#d63638;text-transform:uppercase;letter-spacing:.2em;text-shadow:none;font-size:9px;font-weight:bold;cursor:pointer;color:#fff}.jp-module-settings__external-link{font-size:.875rem}.jp-module-settings__read-more{clear:both;margin-top:1rem}@media(min-width: 481px){.jp-module-settings__read-more{margin-top:2rem}}.jp-module-settings__read-more .dops-button.is-compact.is-borderless,.jp-module-settings__read-more .jp-module-settings__more-text{vertical-align:middle}.jp-related-posts-preview{position:relative;margin-top:.5rem;padding:1rem .5rem;width:100%;background:#f6f6f6;box-sizing:border-box;box-shadow:none}.jp-related-posts-settings__preview-label{margin-bottom:.5rem;margin-top:1.5rem;font-size:.875rem;font-weight:600}.jp-related-posts-preview__title{margin:0 0 .6875rem .5rem;font-size:.6875rem;font-weight:600}.jp-related-posts-preview__post-title{font-size:.9375rem;font-weight:400;margin:0}.jp-related-posts-preview__post-context{font-size:.9375rem;opacity:.6;margin:0}.jp-related-posts-preview__item{box-sizing:border-box;display:inline-block;width:33.33%;padding:.5rem;vertical-align:top}@media(max-width: 480px){.jp-related-posts-preview__item{width:100%}}.jp-related-posts-preview__item img{max-width:100%;margin-bottom:.5rem}.jp-support-card{margin-top:1rem;margin-bottom:0}.jp-support-card__description{font-size:.875rem;line-height:1.65}.jp-support-card__description:first-of-type{margin-top:4px}.jp-support-card__description:last-of-type{margin-bottom:0}.jp-support-card__description .dops-button{margin:0 16px 0 0}@media(max-width: 960px){.jp-support-card__description .dops-button{margin:0 16px 8px 0}}.jp-support-card__link{font-style:italic}@media(max-width: 660px){.jp-support-card__link{display:block;width:100%;padding:.625rem 0;border-top:1px rgba(213,213,213,.5) solid}.jp-support-card__link:first-letter{text-transform:capitalize}.jp-support-card__link:first-of-type{border-top:0}}.jp-support-card__happiness{margin-bottom:0;display:flex;flex-flow:row nowrap}@media(max-width: 660px){.jp-support-card__happiness .jp-support-card__description:first-of-type{margin-bottom:1rem}}.jp-support-card__social{background-color:#fbfbfb;padding:1rem}@media(max-width: 660px){.jp-support-card__social{background:#fff;margin-top:1rem;padding:0 1rem}}.jp-support-card__header{font-weight:400;font-size:1.25rem;margin:0}.jp-support-card__happiness-contact{flex-shrink:1;flex-grow:1}.jp-form-legend,.jp-form-label-wide{padding:1rem 0 .3125rem;font-size:.875rem;font-weight:600}.jp-form-label{display:block;font-size:.875rem;line-height:1.5;margin-bottom:.3125rem}.jp-form-label-wide{padding:.5rem 0;display:block}.jp-form-label input[type=radio]+span{font-weight:normal;margin-left:8px}.jp-form-button{margin-top:1rem}@media(min-width: 481px){.jp-form-button{position:absolute;right:1rem;bottom:1rem}}.jp-form-toggle-explanation{font-size:.875rem;word-break:break-word;vertical-align:baseline}.jp-form-toggle-explanation .jp-form-toggle-privacy-info{margin-left:.3125rem;padding-left:.3125rem;border-left:1px solid rgba(162,162,162,.5)}.jp-form-fieldset{clear:both;position:relative}.jp-form-fieldset .jp-form-legend+.jp-form-setting-explanation{margin-top:0;margin-bottom:.5rem}.jp-form-input-with-prefix{display:inline-flex;width:100%;margin-bottom:1.5rem}.jp-form-input-with-prefix span:first-child{min-width:3.75rem;text-align:center;background:#f6f6f6;border:1px solid #c8d7e1;color:#4f748e;padding:.5rem .875rem;white-space:nowrap}@media(max-width: 660px){.jp-form-input-with-prefix span:first-child{display:block;text-align:left}}.jp-form-input-with-prefix input[type=text]{width:100%}@media(min-width: 661px){.jp-form-input-with-prefix input[type=text]{border-left:0}}@media(max-width: 660px){.jp-form-input-with-prefix input[type=text]{border-top:0}}@media(max-width: 660px){.jp-form-input-with-prefix{display:block;box-sizing:border-box}}.jp-form-input-suffix{text-align:center;background:#f6f6f6;border:1px solid #c8d7e1;color:#4f748e;padding:.5rem .875rem;white-space:nowrap;flex:1 0 auto;display:flex}button.jp-form-input-suffix{background:initial;border-radius:0}.jp-form-has-child{margin-bottom:1.5rem}.jp-form-has-child:last-child{margin-bottom:0}.jp-form-has-child>.jp-form-fieldset,.jp-form-has-child>.jp-form-setting-explanation{margin-left:2.25rem}.jp-form-has-child>.jp-form-fieldset{margin-bottom:1rem}.jp-form-block-fade{position:absolute;top:0;left:0;z-index:1;background:rgba(255,255,255,.8);width:100%;height:100%}.jp-form-offlinemode-message.is-compact{width:100%;padding:0 1rem;position:absolute;top:-24px;z-index:1}.jp-form-textarea-wide{width:100%}.react-tagsinput{border:1px solid #e9eff3;padding:.15625rem}.react-tagsinput--focused{border-color:#3582c4}.react-tagsinput-tag{background-color:#00aadc;border-radius:2px;border:1px solid #0087be;color:#fff;display:inline-block;font-size:13px;padding:.125rem .375rem .1875rem .5rem;margin:.15625rem;transition:background-color .2s ease-out}.react-tagsinput-tag:hover{background-color:#26b7e2}.react-tagsinput-remove{cursor:pointer;font-weight:bold;transition:color .2s ease-out}.react-tagsinput-remove:hover{color:#caf3ff}.react-tagsinput-tag a::before{content:" ×"}input[type=text].react-tagsinput-input{width:9.375rem;height:1.875rem;margin:0;padding:.3125rem;font-size:13px;vertical-align:middle;border:none;box-shadow:none}input[type=text].react-tagsinput-input::-ms-clear{display:none}.jetpack-pagestyles .vp-notice,.jetpack-pagestyles .woocommerce-message,.jetpack-pagestyles .wc-connect{display:none}.jetpack-pagestyles .vp-notice-jp a{text-decoration:underline}.jetpack-pagestyles .woocommerce-message.dops-notice{display:block;padding:0}.jetpack-pagestyles .woocommerce-message.dops-notice::before{content:""}.jetpack-pagestyles .woocommerce-message.dops-notice .submit{padding:0}.jetpack-pagestyles .woocommerce-message.dops-notice .notice-dismiss::before{display:none}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>div{max-width:620px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>a{margin-right:15px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__moved_text{margin-bottom:5px}.jetpack-pagestyles .dops-notice__action.notice-dismiss{height:100%}.jp-inline-expand.dops-card{box-shadow:none;padding:0}.jp-inline-expand .jp-inline-expand-action{font-size:.875rem;cursor:pointer}.jp-inline-expand .jp-inline-expand-action .gridicon{transition:transform .15s cubic-bezier(0.175, 0.885, 0.32, 1.275),color .5s ease-in;vertical-align:text-bottom;display:inline-block;margin:0 5px}.jp-inline-expand.is-expanded .jp-inline-expand-action .gridicon{transform:rotate(180deg)}.jp-inline-expand.is-expanded .jp-inline-expand-content{padding:16px 0 0}.form-toggle.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:before,.form-toggle.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:after{left:8px}.form-toggle.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:before,.form-toggle.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:after{left:0}.dops-section-nav-tab__text .gridicon{vertical-align:middle;margin:0 0 2px 5px}.jp-settings-card__configure-link{display:flex;margin-bottom:0}.jp-form-settings-card{margin-bottom:1.5rem;font-size:.875rem}.jp-form-settings-card+.jp-at-a-glance__stats-card{margin-bottom:1.5rem}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header{color:#444}@media(min-width: 481px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header{padding-left:1.5rem}}.jp-form-settings-card .dops-foldable-card .form-toggle__switch{float:left;margin-top:.125rem}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header-text{font-size:.875rem}.jp-form-settings-card .dops-foldable-card.jp-foldable-settings-disable .dops-foldable-card__header{color:#dadada}@media(min-width: 481px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__main{max-width:85%}}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__action{right:.625rem}@media(max-width: 480px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__action{right:.0625rem}}.jp-form-settings-card .dops-foldable-card .jp-support-info{right:-1.3125rem;top:.4375rem}@media(max-width: 480px){.jp-form-settings-card .dops-foldable-card .jp-support-info{right:-1.875rem}}.jp-form-settings-card .dops-foldable-card .jp-form-legend:first-child,.jp-form-settings-card .dops-foldable-card .jp-form-label-wide:first-child{padding-top:.4375rem}@media(min-width: 481px){.jp-form-settings-card .dops-foldable-card__header{padding-top:1.75rem;padding-bottom:1.75rem}}.jp-foldable-settings-standalone .dops-foldable-card__header-text{font-size:.875rem}@media(min-width: 481px){.jp-foldable-settings-standalone .dops-foldable-card__header,.jp-foldable-settings-standalone.dops-card.is-expanded .dops-foldable-card__content{padding-left:1.5rem;padding-right:1.5rem}.jp-foldable-settings-standalone .dops-foldable-card__action{right:.625rem}.jp-foldable-settings-standalone .jp-form-settings-group .jp-support-info{right:.125rem;top:0}}@media(max-width: 480px){.jp-foldable-settings-standalone .jp-form-settings-group .jp-support-info{right:-1.9375rem;top:.375rem}}.jp-banner__no-border{border-left:none !important}.jp-banner__no-border .dops-banner__icon-circle{background:none !important;padding:0 0 0 3px}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon{width:28px;height:28px}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-info{color:#0087be}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-notice{color:#f0b849}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-checkmark-circle{color:#4ab866}.jp-banner__no-border .dops-banner__description{font-size:.875rem;line-height:1.65;color:#537994;margin-top:0}.jp-form-settings-group{position:relative;margin-bottom:0}.jp-form-settings-group p{font-size:.875rem;margin-top:0;margin-bottom:1.5rem}.jp-form-settings-group fieldset p:last-child{margin-bottom:8px}.jp-form-settings-group .form-toggle__label{margin-top:.25rem;margin-bottom:.25rem}.jp-form-settings-group .form-toggle__switch{float:left;margin-top:2px}.jp-form-settings-group .jp-form-setting-explanation{color:#747474;display:block;margin:.3125rem .875rem .3125rem 0;font-size:.875rem;font-style:italic;font-weight:400;word-break:break-word}.jp-form-settings-group .jp-form-setting-explanation+.dops-card{margin-top:1rem}.jp-form-settings-group .jp-form-setting-explanation.is-warning{color:#d94f4f}.jp-form-settings-group .jp-form-setting-explanation a{text-decoration:underline}.dops-foldable-card .jp-form-settings-group{padding-bottom:16px}.jp-form-settings-group .dops-card{padding-right:3rem}@media(max-width: 480px){.jp-form-settings-group .jp-support-info{right:1rem;top:1.25rem}}.jp-form-settings-group .jp-support-info+p{margin-top:2px}.jp-form-settings-group .jp-support-info+span{padding-top:2px;display:block}.jp-form-settings-group .form-toggle__switch{float:left;margin-top:2px}.jp-form-settings-group>.dops-card:first-child{margin-bottom:0}.dops-foldable-card .jp-form-settings-group .dops-card{padding:0;box-shadow:none}.jp-form-settings-group.foldable-wrapper>.dops-card{padding:0}.jp-apps-card{margin-top:4rem;margin-bottom:0}.jp-apps-card__content{margin-bottom:0}.jp-apps-card__content.dops-card{padding:0}.jp-apps-card__content a:not(.dops-button){font-style:italic}.jp-apps-card__dismiss{position:absolute;top:8px;right:8px}.jp-apps-card__dismiss.dops-button.is-compact{padding:8px 8px 2px 8px}.jp-apps-card__top{padding:3.75rem 0 0;background:#fff;text-align:center}.jp-apps-card__top img{max-width:26%;padding-top:10px}.jp-apps-card__description{max-width:80%;margin:0 auto;padding:.625rem 1.5rem 1.5rem;line-height:1.65;color:#000;text-align:center}.jp-apps-card__description .dops-button{margin:8px 0}.jp-apps-card__paragraph{font-size:1rem}.jp-apps-card__header{margin-top:0;margin-bottom:.3125rem;font-size:1.25rem;font-weight:500}.jp-apps-card__promo_subhead{margin-top:0;font-style:italic}.jp-apps-card__apps-badges{display:flex;flex-direction:row;justify-content:center;align-items:center}@media(max-width: 480px){.jp-apps-card__apps-badges{flex-direction:column}.jp-apps-card__apps-badges .apps-badge:first-child{margin-right:0}.jp-apps-card__apps-badges .apps-badge:last-child{margin-top:1rem}}.jp-themes-card{margin-bottom:1.25rem}.jp-dialogue-full__container{box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;background:rgba(246,246,246,.95);text-align:center;padding:2rem;height:100%}.jp-dialogue{text-align:center;max-width:37.5rem;margin:0 auto 2rem;overflow:hidden}@media(max-width: 660px){.jp-dialogue{text-align:left}}.jp-dialogue p{font-size:.875rem;color:#747474}.jp-dialogue img{max-width:100%}.jp-dialogue p+img{margin:2rem 0 1rem}.jp-dialogue .dops-card{margin-bottom:0}.jp-dialogue .jp-dialogue-card__below{text-align:left}.jp-dialogue-full__dismiss{cursor:pointer;position:absolute;right:-10px;top:-10px;fill:#a2a2a2;padding:1rem;height:1.5rem;width:1.5rem}.jp-dialogue__title{font-weight:300;text-align:center;font-size:1.5rem;margin-bottom:2rem}.jp-dialogue__note,a.jp-dialogue__note{margin:0;padding:1rem 0 0;font-size:.875rem;clear:both;font-style:italic}.jp-dialogue-full__svg-jupiter{position:absolute;right:0;top:5rem;opacity:.9}.jp-dialogue-full__svg-stars{position:absolute;left:6.25rem;top:6.25rem;opacity:.9}.jp-dialogue__cta-container{padding:.5rem 0 0}.jp-dialogue__cta-container .dops-button{margin:0 .5rem}.jp-upgrade-notice__content .jp-upgrade-notice__enable-module .jp-form-has-child{padding-left:30px}.jp-upgrade-notice__content .jp-upgrade-notice__enable-module .jp-form-has-child .jp-form-fieldset{margin-bottom:.4rem}.jp-upgrade-notice__enable-module{margin-bottom:calc(1em + 8px)}.jp-upgrade-notice__enable-module .jp-form-settings-group{margin:0px auto;max-width:400px;text-align:left}.jp-upgrade-notice__enable-module .jp-form-has-child{padding:10px;padding-right:30px}.jp-upgrade-notice__enable-module .jp-support-info{top:.9375rem;right:.9375rem}.jp-dialogue-modern-full__container{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:rgba(246,246,246,.95);padding:1rem 0 0 0;height:100%;overflow:auto}@media(min-width: 961px){.jp-dialogue-modern-full__container{padding:2rem;left:160px}}body.jp-dialogue-modern-showing{overflow:hidden}.jp-dialogue-modern{max-width:18.75rem;margin:2rem auto;overflow:hidden;position:relative;background-color:#fff;box-shadow:0 5px 24px 0 rgba(0,0,0,.13)}.jp-dialogue-modern p{font-size:1rem;color:#000;text-align:left}.jp-dialogue-modern img{text-align:center;max-width:100%}.jp-dialogue-modern li{text-align:left;list-style:disc outside none;margin:1rem;font-size:1rem;color:#000}.jp-dialogue-modern p+img{margin:2rem 0 1rem}.jp-dialogue-modern .dops-card{margin-bottom:0}.jp-dialogue-modern .jp-dialogue-modern-card__below{text-align:left}.jp-dialogue-modern figure{margin:0;margin-bottom:12px}.jp-dialogue-modern figure figcaption{text-align:center}.jp-dialogue-modern a :not(.wp-block-button__link){text-decoration:underline}.jp-dialogue-modern-full__dismiss{cursor:pointer;position:absolute;right:-16px;top:-16px;fill:#2c3338;padding:1rem;height:2rem;width:2rem}.jp-dialogue-modern.has-featured-image .jp-dialogue-modern-full__dismiss{fill:#dcdcde}h1.jp-dialogue-modern__title{font-weight:600;text-align:left;font-size:1.5rem;margin:0 0 2rem 0}.jp-dialogue-modern__content{background:#fff;padding:32px 32px}.jp-dialogue-modern__cta-container{text-align:center;line-height:200%;padding:.5rem 0 0}.jp-dialogue-modern__cta-container .dops-button{margin:0 .5rem}.jp-dialogue-modern__note,a.jp-dialogue-modern__note{margin:0;padding:1rem 0 0;font-size:.875rem;clear:both;font-style:italic}.jp-dialogue-modern-full__svg-jupiter{position:absolute;right:0;top:5rem;opacity:.9}.jp-dialogue-modern-full__svg-stars{position:absolute;left:6.25rem;top:6.25rem;opacity:.9}.jetpack-about__link-back,.jetpack-about__main,.jetpack-about__plugin{background-color:#fff;border:1px solid #dcdcde}.jetpack-about__main,.jetpack-about__colophon{font-size:14px}.jetpack-about__main p,.jetpack-about__colophon p{font-size:14px}.jetpack-about__link-back{padding:16px 16px 13px;border-bottom:none}.jetpack-about__link-back a{color:#787c82;font-size:.75rem}.jetpack-about__link-back a:hover,.jetpack-about__link-back a:active{color:#2f3032}.jetpack-about__link-back a svg{fill:#787c82;height:24px;margin-right:4px;margin-top:-3px;vertical-align:middle;width:24px}.jetpack-about__main{padding:36px}.jetpack-about__logo{width:265px}@media screen and (max-width: 400px){.jetpack-about__logo{width:100%}}.jetpack-about__content{display:flex}@media screen and (max-width: 782px){.jetpack-about__content{flex-wrap:wrap}}.jetpack-about__text{order:1}.jetpack-about__text p{font-size:1rem;line-height:1.6}.jetpack-about__text p:last-child{margin-bottom:0}.jetpack-about__images{text-align:center;margin-left:48px;order:2}@media screen and (max-width: 782px){.jetpack-about__images{margin-left:0;order:0;text-align:left;width:100%}}.jetpack-about__images .meet-the-team{margin-bottom:0;text-align:center}.jetpack-about__gravatars{display:flex;flex-wrap:wrap;width:320px}@media screen and (max-width: 450px){.jetpack-about__gravatars{max-width:320px;width:100%}}.jetpack-about__gravatars li{margin-bottom:0;width:25%}.jetpack-about__gravatars li img{max-width:80px;vertical-align:top;width:100%;height:100%}.jetpack-about__colophon{margin-bottom:3rem}.jetpack-about__colophon h3{margin-top:2.4375rem}.jetpack-about__services-more{margin-top:1.5em;text-align:center}.jetpack-about__services{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px}.jetpack-about__plugin{margin-bottom:0}.jetpack-about__plugin .plugin-card-top{padding:20px 20px 15px;position:relative}.jetpack-about__plugin .plugin-card-top .name,.jetpack-about__plugin .plugin-card-top .desc,.jetpack-about__plugin .plugin-card-top .details-link{margin-left:148px}.jetpack-about__plugin .plugin-card-top .name h3{margin-top:0}.jetpack-about__plugin .plugin-card-top .details-link{font-weight:500}.jetpack-about__plugin .plugin-card-bottom{align-items:center;background-color:#fff;display:flex;flex-wrap:wrap;justify-content:space-between}.jetpack-about__plugin .plugin-card-bottom .meta{margin-right:1em}.jetpack-about__plugin .plugin-card-bottom .num-ratings{display:inline-block}.jetpack-about__plugin .plugin-card-bottom .action-buttons{clear:none;float:none;margin:.5em 0}.jetpack-about__plugin .plugin-card-bottom .action-buttons li:last-child{margin-bottom:0}.mobile-magic-link__button{cursor:pointer}.mobile-magic-link__modal__body{margin:0;padding:1.5rem 2rem;font-size:.875rem;color:#2e4453;text-align:center}.mobile-magic-link__modal__body h2{margin:2rem 0 1.5rem;font-size:2rem;font-weight:300;color:#2e4453}.mobile-magic-link__modal__body h4{margin:1rem 1.5rem 0;font-size:1rem;font-weight:400;line-height:1.5em;color:#668eaa}.mobile-magic-link__modal-actions{margin:2rem 0}.mobile-magic-link__modal-actions .mobile-magic-link__modal-cancel{margin-right:1em}.jp-at-a-glance{margin-bottom:3rem}.jp-at-a-glance__stats-card{padding:0}.jp-at-a-glance__stats-empty{text-align:center;margin-bottom:0}.jp-at-a-glance__stats-empty p{font-size:.875rem;color:#747474}.jp-at-a-glance__stats-inactive{padding:1rem}@media(min-width: 661px){.jp-at-a-glance__stats-inactive{display:flex;flex-wrap:nowrap;flex-direction:row;align-items:center}}@media(max-width: 660px){.jp-at-a-glance__stats-inactive-icon{display:none}}@media(min-width: 661px){.jp-at-a-glance__stats-inactive-icon{flex-basis:10%}}.jp-at-a-glance__stats-inactive-text{font-size:.875rem;line-height:1.5}@media(max-width: 660px){.jp-at-a-glance__stats-inactive-text{padding:0 0 1rem}}@media(min-width: 661px){.jp-at-a-glance__stats-inactive-text{flex-basis:50%;padding:0 1rem}}.jp-at-a-glance__stats-inactive-button{text-align:left}@media(min-width: 661px){.jp-at-a-glance__stats-inactive-button{flex-basis:40%;text-align:right}}.jp-at-a-glance__stats-chart{padding:1rem;position:relative}.jp-at-a-glance__stats-chart .components-spinner{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.jp-at-a-glance__stats-bottom{margin:2rem 0 0}@media(max-width: 480px){.jp-at-a-glance__stats-bottom{box-shadow:0 0 0 1px #c3c4c7}}.jp-at-a-glance__stats-summary{text-align:center;border-bottom:1px #c3c4c7 solid}@media(min-width: 661px){.jp-at-a-glance__stats-summary{flex-wrap:nowrap;display:flex;flex-direction:row}}@media(max-width: 660px){.jp-at-a-glance__stats-summary{display:block}}.jp-at-a-glance__stats-summary-today,.jp-at-a-glance__stats-summary-bestday{flex-basis:25%;padding:1rem;box-shadow:0 0 0 1px #c3c4c7}@media(max-width: 660px){.jp-at-a-glance__stats-summary-today{margin-top:-0.0625rem}}@media(min-width: 661px){.jp-at-a-glance__stats-summary-bestday{margin:0 .0625rem}}@media(max-width: 660px){.jp-at-a-glance__stats-summary-bestday,.jp-at-a-glance__stats-summary-alltime{margin-top:.0625rem}}.jp-at-a-glance__stats-summary-alltime{flex-basis:50%;padding:1rem;box-shadow:0 0 0 1px #c3c4c7}@media(min-width: 661px){.jp-at-a-glance__stats-summary-alltime{max-width:50%;display:flex;flex-grow:1;flex-shrink:1}}.jp-at-a-glance__stats-alltime-views,.jp-at-a-glance__stats-alltime-comments{flex-basis:50%}.jp-at-a-glance__stats-cta{padding:1rem;background-color:#fbfbfb}@media(min-width: 661px){.jp-at-a-glance__stats-cta{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center}}@media(max-width: 660px){.jp-at-a-glance__stats-cta{display:block}}@media(min-width: 661px){.jp-at-a-glance__stats-cta-description{flex-basis:30%}}.jp-at-a-glance__stat-details{margin:0;font-size:.875rem}.jp-at-a-glance__stat-number{font-size:1.5rem;font-weight:400;margin:.5rem 0}.jp-at-a-glance__stats-ctas{display:flex;flex-direction:row;align-items:center;justify-content:flex-end}@media(min-width: 661px){.jp-at-a-glance__stats-ctas{text-align:right;flex-basis:70%}}@media(max-width: 660px){.jp-at-a-glance__stats-ctas{text-align:center;flex-direction:column}.jp-at-a-glance__stats-ctas .dops-button{width:100%;margin-bottom:.25rem}}.jp-at-a-glance__stats-ctas .dops-button{text-align:center;margin:.25rem;margin-right:.5rem}.jp-at-a-glance__stats-views{margin-top:0;margin-bottom:0}.jp-at-a-glance__stats-view{display:inline-block;margin-top:0;margin-bottom:0;margin-left:1rem}.jp-at-a-glance__stats-view:focus{outline:0}@media(max-width: 480px){.jp-at-a-glance__stats-view{margin-left:0;margin-right:1rem}}.jp-at-a-glance__stats-view-link,.jp-at-a-glance__stats-view-link:visited{color:#a2a2a2;text-decoration:underline}.jp-at-a-glance__stats-view-link.is-current,.jp-at-a-glance__stats-view-link:visited.is-current,.jp-at-a-glance__stats-view-link:focus.is-current,.jp-at-a-glance__stats-view-link:visited.is-current,.jp-at-a-glance__stats-view-link:visited:visited.is-current,.jp-at-a-glance__stats-view-link:visited:focus.is-current{color:#1d2327;text-decoration:none}.jp-at-a-glance__stats-view-link:focus{outline:0;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8)}.jp-at-a-glance__item-grid{display:flex}@media(max-width: 660px){.jp-at-a-glance__item-grid{display:block}}.jp-at-a-glance__left,.jp-at-a-glance__right{display:flex;min-width:0}@media(min-width: 661px){.jp-at-a-glance__left,.jp-at-a-glance__right{flex-basis:50%;margin-bottom:1rem}}@media(max-width: 660px){.jp-at-a-glance__left,.jp-at-a-glance__right{margin-bottom:.75rem}}.jp-at-a-glance__left>div,.jp-at-a-glance__left .jp-dash-item,.jp-at-a-glance__right>div,.jp-at-a-glance__right .jp-dash-item{min-width:0;flex-grow:1;display:flex;flex-direction:column}.jp-at-a-glance__left>div,.jp-at-a-glance__right>div{flex-basis:100%}.jp-at-a-glance__left .jp-dash-item .dops-card,.jp-at-a-glance__right .jp-dash-item .dops-card{flex-grow:1}.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact{flex-grow:0}.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact a.dops-notice__action,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact a.dops-notice__action{margin-left:0;padding-left:0}@media(max-width: 480px){.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact a.dops-notice__action,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact a.dops-notice__action{text-transform:none}}.jp-at-a-glance__left .jp-dash-item__card,.jp-at-a-glance__right .jp-dash-item__card{display:flex}.jp-search-config-aag{width:100%}.jp-at-a-glance__left{display:flex}@media(min-width: 661px){.jp-at-a-glance__left{margin-right:1rem}.jp-at-a-glance__left:last-child{flex-basis:calc( 50% - 0.5rem )}}.dops-chart__tooltip .tip-arrow{display:none}.jp-connection-type .jp-dash-item__card{align-items:flex-start}.jp-connection-settings__info{display:flex}.jp-connection-settings__actions{margin:1em 0 0}.jp-connection-settings__actions a{cursor:pointer}.jp-connection-settings__text{margin-left:1rem;word-break:break-word}.jp-connection-settings__info .gridicon{opacity:.6}.jp-connection-settings__info .gridicon,.jp-connection-settings__info .jp-connection-settings__site-icon{background:#c8d7e1;color:#fff;min-width:4rem}.jp-connection-settings__info .jp-connection-settings__gravatar{display:inline-block;min-width:4rem;background:#a2a2a2;border-radius:50%;margin-bottom:0}.jp-connection-settings__username{font-weight:600}.jp-connection-settings__email{color:#a2a2a2;font-size:.875rem;font-style:italic;font-weight:400}.jp-connection-settings__modal.dops-modal{max-width:635px;min-height:400px}@media(min-width: 661px){.jp-connection-settings__modal.dops-modal{min-height:auto}}.jp-connection-settings__modal-body{margin:0;padding:1.5rem 2rem;font-size:.875rem;color:#2e4453;text-align:center}.jp-connection-settings__modal-body h2{margin:2rem 0 1.5rem;font-size:2rem;font-weight:300;color:#2e4453}.jp-connection-settings__modal-body h4{margin:1rem 1.5rem 0;font-size:1rem;font-weight:400;line-height:1.5em;color:#668eaa}.jp-connection-settings__modal-body p{font-size:.875rem}.jp-connection-settings__modal-body ul{margin:1.5rem 0 2.25rem;color:#537994}.jp-connection-settings__modal-body li{position:relative;display:block;margin:0;padding:1rem .5rem 1rem 2.75rem;border-bottom:1px solid #e1e1e1;text-align:left}.jp-connection-settings__modal-body li:first-of-type{border-top:1px solid #e1e1e1}.jp-connection-settings__modal-body .gridicon{position:absolute;left:1rem;top:1rem;vertical-align:text-bottom;color:#537994}.jp-connection-settings__modal-cancel{margin-right:1em}.jp-connection-settings__modal-more a{color:#0087be;text-decoration:underline}.jp-dash-item__manage-in-wpcom{margin-top:1px;width:100%}.jp-dash-item .dops-banner.dops-banner{width:100%;margin-bottom:0}.jp-dash-item__videopress .jp-dash-item__card{flex-direction:column}.jp-dash-item__videopress-storage{margin-top:1em}.jp-landing__plans{margin-bottom:32px}.jp-landing__plans .dops-button{margin-right:10px}.jp-landing__card-header{margin-top:0;font-size:1rem;color:#6f6f6f}.jp-landing__licensing-actions{display:flex;align-items:center;justify-content:center}@media(max-width: 660px){.jp-landing__licensing-actions span{display:none}}@media(min-width: 481px){.jp-landing__licensing-actions{justify-content:space-between}}.jp-landing__licensing-actions .jp-landing__licensing-actions-item{display:flex;flex-direction:column;align-items:center;text-align:center}@media(min-width: 481px){.jp-landing__licensing-actions .jp-landing__licensing-actions-item{flex-direction:row}}@media(max-width: 660px){.jp-landing__licensing-actions .jp-landing__licensing-actions-item{justify-content:space-between;flex:1}}.jp-landing__licensing-actions .jp-landing__licensing-actions-item .dops-button{margin-right:0}.jp-landing__licensing-actions .jp-landing__licensing-actions-item.no-licenses{justify-content:space-between;flex:1}.jp-landing__licensing-actions .jp-landing__licensing-actions-item.no-licenses{justify-content:flex-end}.all-purchases__link{display:inline-block;box-sizing:border-box;padding:7px 20px 9px 0}@media(max-width: 480px){.all-purchases__link{padding:0px;margin-bottom:15px}}.jp-landing__plan-features-header-recommendations-cta-container{order:30;align-self:center;display:flex;justify-content:flex-end}.jp-landing__plan-features-header-recommendations-cta-container .dops-button{margin-right:0}.jp-landing__plan-features-card{display:flex;flex-basis:32%;flex-wrap:nowrap;flex-grow:1;box-sizing:border-box;margin:.5rem;background-color:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04)}.jp-landing__plan-features-card:last-child{max-width:100%}.is-loading .jp-landing__plan-features-card{width:49.5%}@media(min-width: 661px){.jp-landing__plan-features-card{margin-bottom:1%}}@media(max-width: 660px){.jp-landing__plan-features-card{max-width:100%;margin-bottom:.5rem}}@media(min-width: 481px){.jp-landing__plan-features-card{padding:2rem}}@media(max-width: 480px){.jp-landing__plan-features-card{padding:1rem}}.jp-landing__plan-features-list{list-style:initial;margin-left:1rem}.jp-landing__plan-features-img{width:5.625rem;margin-right:.5rem;line-height:1}@media(min-width: 961px){.jp-landing__plan-features-img{width:7.5rem;margin-right:1.125rem}}.jp-landing__plan-features-icon{display:block;margin-left:-0.5rem}@media(min-width: 481px){.jp-landing__plan-features-icon{margin-left:-1rem}}.jp-landing__plan-features-text{flex:1;font-size:.875rem}.jp-landing__plan-features-title{margin:0;font-size:1.25rem}.jp-landing__plan-features{display:flex;flex-wrap:wrap;flex-direction:row;align-items:stretch;justify-content:space-between;margin-bottom:2rem;margin-left:-0.5rem;margin-right:-0.5rem}@media(max-width: 660px){.jp-landing__plan-features{display:block}}.jp-landing__plan-features-title.is-placeholder{height:1.5rem;max-width:50%}.jp-landing__plan-features-text.is-placeholder{height:2.75rem;max-width:75%}.jp-landing__plan-features-link{width:100%}@media(min-width: 661px){.jp-landing__plan-features-link{text-align:center}}.jp-landing__plan-features-header-jetpack-license .dops-button{margin-top:16px;margin-right:0px;float:right}.jp-form-fieldset>.jp-form-search-setting-explanation{margin-left:2.25rem}.media__videopress-storage{margin-bottom:1.5rem;max-width:50%}.jp-recommendations-question__main{min-height:480px;box-shadow:0px 2px 6px rgba(0,0,0,.03),0px 1px 2px rgba(0,0,0,.03);border:1px solid #d5d5d5;background:#fff}.jp-recommendations-question__main--with-illustration{display:grid;grid-template-columns:55% 45%;background:linear-gradient(120deg, white 0%, white 55%, #c5d9ed 55%)}@media(max-width: 660px){.jp-recommendations-question__main--with-illustration{grid-template-columns:100% 0%;background:#fff}}.jp-recommendations__loading{padding-top:48px}.dops-search__input[type=search]{width:100%}.jp-settings-container .jp-no-results{display:none;font-size:.875rem;line-height:1.5}.jp-settings-container .jp-no-results:last-of-type{display:inherit}@media(max-width: 480px){.dops-search.is-expanded-to-container{height:46px}}.dops-card.jp-settings-description{margin:24px 0 8px;padding:0;background:none;box-shadow:none;border:none}.jp-form-google-label-unverified .dops-button{margin:0 15px}@media(max-width: 660px){.jp-form-google-label-unverified .dops-button{margin-top:10px;width:40%}}.jp-form-google-label-unverified .jp-form-google-separator{padding:.5rem 0}@media(max-width: 660px){.jp-form-google-label-unverified .jp-form-google-separator{margin:25px 0 0;display:inline-block}}.jp-sitemap-row{display:flex;align-items:center;margin-top:1rem}.jp-sitemap-row .dops-clipboard-button-input{flex-grow:1}.jp-form-input-with-prefix-bottom-message{top:-1.25rem;position:relative;line-height:2em;margin-top:5px}.jp-form-site-verification-verified{background-color:#fff;color:#069e08;box-sizing:border-box;margin:0;padding:7px 14px;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;width:100%;display:flex;flex-direction:row;justify-content:left;align-items:center}.jp-form-site-verification-verified .gridicon:first-child{margin-right:5px}@media(min-width: 661px){.jp-form-site-verification-verified{border-left:0}}@media(max-width: 660px){.jp-form-site-verification-verified{border-top:0}}.jp-form-site-verification-edit-button{margin-left:10px;overflow:visible}@media(max-width: 660px){.jp-form-site-verification-edit-button{margin-left:0;margin-right:5px;margin-top:5px}}.jp-form-site-verification-buttons{flex:0 1 20em;display:inline-flex}.jp-form-site-verification-verified-note{font-size:.7em}.jp-form-google-label-unverified-actions{display:flex;align-content:center}.jp-form-google-label-unverified-actions .dops-button{margin-left:10px;margin-right:10px;padding-left:7px;padding-right:7px}#jp-seo-front-page-description{min-height:96px}.jp-seo-front-page-description-card{margin-bottom:0 !important}.jp-seo-front-page-description-container{background:#f6f6f6;border-radius:4px}.jp-seo-front-page-description-count{padding:.25rem}.jp-seo-front-page-description-count-warn{background-color:#f0b849;font-weight:700;border-radius:4px}.jp-seo-front-page-description-count-max{background-color:#d94f4f;font-weight:700;border-radius:4px;color:#fff}.jp-seo-front-page-description-save-button{float:right;margin-top:.75rem}.jp-seo-social-previews .search-preview,.jp-seo-social-previews .facebook-preview,.jp-seo-social-previews .twitter-preview{margin-top:1rem;margin-bottom:1rem}.jp-seo-social-previews-container{display:flex;align-items:center;margin-top:1rem}.jp-seo-social-previews-label{font-weight:600;margin-left:.5rem}.jp-seo-custom-titles-card{margin-bottom:0 !important}.jp-seo-custom-titles-input[type=text]{margin-top:.25rem}.jp-seo-custom-titles-input-controls{display:flex;align-items:flex-end;flex-wrap:wrap;margin-top:.5rem}.jp-seo-custom-titles-input-controls .jp-form-label{margin-bottom:0;font-weight:600}.jp-seo-custom-titles-input-label{margin-right:auto}.jp-seo-custom-titles-input-button::before{content:"+";margin-right:4px}.jp-seo-custom-titles-input-button:not(:first-of-type){margin-left:.5rem}.jp-seo-custom-titles-input-preview{margin-top:.25rem;font-style:italic}.jp-seo-custom-titles-save-button{float:right;margin-top:.75rem} \ No newline at end of file
+@charset "UTF-8";@media (max-width:660px){.jp-hidden-on-mobile{display:none}}.wp-admin.toplevel_page_jetpack{background-color:#f6f6f6;height:auto;line-height:1.4}.jetpack-pagestyles #wpcontent{padding-left:0}.jetpack-pagestyles{font-size:.875rem}.jetpack-pagestyles a{text-decoration:none}.jetpack-pagestyles #dolly{background:#fff;border-bottom:1px solid #eee;color:#a2a2a2;float:none;font-size:.75rem;font-style:italic;left:0;padding:.625rem;position:relative;right:0;text-align:right;top:0}@media (max-width:660px){.jetpack-pagestyles #dolly{display:none}}.dops-notice__text a{text-decoration:underline}.toplevel_page_jetpack ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#f6f6f6}.jp-lower{margin:0 auto;max-width:65rem;padding:1.5rem;text-align:left}.jp-lower.jp-licensing-screen{max-width:70.5rem}.jp-lower.jp-main-connect-screen,.jp-lower.jp-user-connect-screen{box-sizing:content-box;max-width:70.5rem}@media (max-width:1250px){.jp-lower{max-width:95%}}#contextual-help-link-wrap{display:none}.is-placeholder{animation:pulse-light .8s ease-in-out infinite;background:#d5d5d5}@keyframes pulse-light{50%{background-color:#eee}}.blur{-moz-filter:blur(5px);-o-filter:blur(5px);-ms-filter:blur(5px);filter:blur(5px)}.jp-dash-item .jp-dash-item__content a{font-style:italic}.jp-dash-item .dops-section-header__actions .form-toggle__label{position:relative;right:0;top:6px}.jp-dash-item .dops-section-header__actions .form-toggle__label-content{margin:0}.jp-dash-item__content{align-items:flex-start;display:flex;flex-grow:1;flex-wrap:wrap}.jp-dash-item__card{margin:0}.jp-dash-item__count{border:1px solid #c3c4c7;border-radius:4px;color:#3582c4;display:inline-block;font-size:2rem;font-weight:500;margin-bottom:6px;margin-right:8px;margin-top:0;min-width:36px;padding:0 4px;text-align:center}@media (max-width:660px){.jp-dash-item__count{font-size:1.4375rem}}.jp-dash-item__count+.jp-dash-item__description{max-width:61%}.jp-dash-item__count.is-alert{background:#d94f4f;border-color:#d94f4f;color:#fff}.jp-dash-item__title{max-width:calc(100% - 18px)}.jp-dash-item__title.jp-dash-item__title_fullwidth{flex-basis:100%}.jp-dash-item__title.jp-dash-item__title_top{margin-top:0}.jp-dash-item__description{font-size:.875rem;margin:0;max-width:calc(100% - 18px)}.jp-dash-item__description.jp-dash-item__connect{margin-top:20px}.jp-dash-item .dops-section-header{width:100%}.jp-dash-item .dops-section-header .dops-button{font-style:normal}.jp-dash-item .dops-section-header.is-premium-inactive .dops-section-header__actions,.jp-dash-item .dops-section-header.is-working .dops-section-header__actions{color:#747474}.jp-dash-item .dops-section-header__actions .dops-notice{margin-bottom:-.0625rem;margin-top:-.0625rem}.jp-dash-item__active-label{color:#888;color:#a2a2a2;display:inline-block;font-size:.75rem;font-weight:400;padding:.375rem 0 0;text-transform:uppercase}.jp-dash-item__is-inactive .dops-section-header__label{padding-right:.5rem}.jp-dash-item__is-inactive .dops-section-header__label-text:before{-webkit-touch-callout:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:auto;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;width:8px}.jp-dash-item__is-inactive .jp-dash-item__description{color:#6f6f6f;font-style:italic}.jp-dash-item__disabled{opacity:.5;position:relative}.jp-dash-item__disabled:before{content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.jp-dash-item__recently-activated .jp-dash-item__description{box-sizing:border-box;font-style:italic}.jp-dash-section-header{display:flex;flex-wrap:wrap;margin:2.5rem 0 .5rem}@media (max-width:660px){.jp-dash-section-header{margin-bottom:1.5rem}}@media (max-width:480px){.jp-dash-section-header{display:block}}.jp-dash-section-header__label{flex:1;white-space:nowrap}.jp-dash-section-header__name{display:inline-block;font-size:1.25rem;font-weight:400;margin-bottom:0;margin-top:0;white-space:nowrap}@media (min-width:481px){.jp-dash-section-header__name{display:inline-block}}@media (max-width:480px){.jp-dash-section-header__name .jp-dash-section-header__label{display:inline-block}}.jp-dash-section-header__settings{color:#888;display:inline-block;min-width:2.5rem;text-align:center}.jp-dash-section-header__settings:focus{box-shadow:none;outline:0}.jp-dash-section-header__settings:focus .gridicon{color:#0087be}.jp-dash-section-header__settings .gridicon{position:relative;top:1px}.jp-dash-section-header__external-link{align-self:center;font-style:italic}@media (max-width:660px){.jp-dash-section-header__external-link{margin-top:.25rem}}@media (max-width:480px){.jp-dash-section-header__external-link{display:block;width:100%}}.jp-dash-section-header__children{align-self:center}@media (max-width:480px){.jp-dash-section-header__children{width:100%}}.jp-form-settings-group.foldable-wrapper .dops-foldable-card.dops-card{box-shadow:none;margin-bottom:0;padding-right:0}.dops-foldable-card.dops-card.offlinemode-disabled .dops-foldable-card__summary,.dops-foldable-card.dops-card.offlinemode-disabled .dops-foldable-card__summary_expanded{width:100px}.dops-foldable-card.dops-card.is-expanded .dops-foldable-card__content{padding-left:1.5rem;padding-right:2.9375rem;position:relative}@media (min-width:661px){.dops-foldable-card__main{max-width:85%}}@media (min-width:481px){.dops-foldable-card__main{max-width:60%}}@media (max-width:480px){.dops-foldable-card__main{flex-basis:100%}.dops-foldable-card__header{flex-wrap:wrap}.dops-foldable-card__header-text{font-size:.875rem}}.dops-foldable-card__header-text .dops-button{margin-left:.5rem}@media (max-width:480px){.dops-foldable-card__subheader{display:none}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{margin-top:.5rem;text-align:left}}.jp-footer{margin:1rem 0 2rem;text-align:center}@media (max-width:1040px){.jp-footer{margin:2rem 0 1.5rem}}@media (max-width:660px){.jp-footer{margin:1.5rem 0 1rem}}.jp-footer__rna-footer{margin:0 auto;max-width:65rem;padding:1.5rem}.jp-footer__a8c-attr-container{margin-bottom:.5rem}.jp-footer__a8c-attr{width:11.25rem}.jp-footer__a8c-attr path{fill:#888}.jp-footer__links{border-bottom:1px solid #e1e1e1;border-top:1px solid #e1e1e1;margin-bottom:1rem;margin-top:0}@media (max-width:660px){.jp-footer__links{border-bottom:none}}.jp-footer__link-item{display:inline-block;margin-bottom:0}@media (min-width:661px){.jp-footer__link-item{display:inline-block}}@media (max-width:660px){.jp-footer__link-item{border-bottom:1px solid #e1e1e1;display:block}}.jp-footer__link{color:#888;cursor:pointer;display:inline-block;padding:1rem .5rem}.jp-footer__link:visited{color:#888}.jp-footer__link:active,.jp-footer__link:hover{color:#272727}@media (max-width:660px){.jp-footer__link{border-bottom:1px solid #e1e1e1;display:block;padding:.5rem 0}.jp-footer__link:last-of-type{border-bottom:none}}.jp-dev-card.jp-dev-card{bottom:10px;font-size:12px;padding:8px;position:fixed;right:10px;text-align:left;z-index:100}.jp-dev-card.jp-dev-card ul{margin-top:6px}.jp-dev-card.jp-dev-card li{margin-bottom:0;margin-top:2px}.jp-dev-card li.jp-dev-card__deprecated-plans-list-header{font-style:italic;margin-bottom:8px;margin-top:8px;text-align:center}.jp-dev-card__heading{font-weight:600}.jp-dev-card__subheading{color:#888;font-size:11px}.jp-dev-card__close{cursor:pointer;float:right}.jp-loading-placeholder{color:#d5d5d5;font-size:12vw;margin-bottom:25vh;margin-top:30vh;text-align:center}@media (min-width:961px){.jp-loading-placeholder{font-size:120px}}.jp-loading-placeholder .dashicons{font-size:inherit;height:auto;width:auto}@media (max-width:480px){.dops-notice ul{font-size:.75rem}}.jp-license-activation-notice__external-link svg.gridicons-external{margin-left:.25rem}.jp-unlinked-notice .jp-connection-banner__icon{align-self:center;line-height:0;margin-right:1rem}.loading-notice{border-radius:3px;height:47px;margin-bottom:24px}.jp-masthead{background-color:#fff;box-shadow:0 1px 0 #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);text-align:center}@media (max-width:48.875rem){.jp-masthead{padding:0 1.5rem}.jetpack-masterbar .jp-masthead{padding-left:4rem}}.jp-masthead__inside-container{display:flex;flex-wrap:wrap;margin:0 auto;max-width:65rem;padding-bottom:.375rem;width:100%}@media (max-width:1250px){.jp-masthead__inside-container{max-width:95%}}.jp-masthead__logo-container{flex-grow:0;flex-shrink:0;padding:.6875rem 0 0}@media (max-width:480px){.jp-masthead__logo-container{margin-right:1rem}}.jp-masthead__logo-link{display:inline-block;outline:none;vertical-align:middle}.jp-masthead__logo-link:focus{box-shadow:0 0 0 2px #78dcfa;line-height:0}.jp-masthead__logo-link+code{background:#e6ecf1;border-radius:2px;color:#647a88;margin:0 10px;padding:5px 9px}.jp-masthead__nav{display:flex;flex-grow:1;flex-shrink:0;flex-wrap:nowrap;margin-top:.375rem;padding:.25rem 0;text-align:right}.jp-masthead__nav .dops-button-group{align-self:center;flex-grow:1;font-size:0}@media (max-width:480px){.jp-masthead__nav{text-align:left}}#sandbox-domain-badge{background:#d63638;color:#fff;cursor:pointer;font-size:9px;font-weight:700;letter-spacing:.2em;text-shadow:none;text-transform:uppercase}.jp-module-settings__external-link{font-size:.875rem}.jp-module-settings__read-more{clear:both;margin-top:1rem}@media (min-width:481px){.jp-module-settings__read-more{margin-top:2rem}}.jp-module-settings__read-more .dops-button.is-compact.is-borderless,.jp-module-settings__read-more .jp-module-settings__more-text{vertical-align:middle}.jp-related-posts-preview{background:#f6f6f6;box-shadow:none;box-sizing:border-box;margin-top:.5rem;padding:1rem .5rem;position:relative;width:100%}.jp-related-posts-settings__preview-label{font-size:.875rem;font-weight:600;margin-bottom:.5rem;margin-top:1.5rem}.jp-related-posts-preview__title{font-size:.6875rem;font-weight:600;margin:0 0 .6875rem .5rem}.jp-related-posts-preview__post-title{font-size:.9375rem;font-weight:400;margin:0}.jp-related-posts-preview__post-context{font-size:.9375rem;margin:0;opacity:.6}.jp-related-posts-preview__item{box-sizing:border-box;display:inline-block;padding:.5rem;vertical-align:top;width:33.33%}@media (max-width:480px){.jp-related-posts-preview__item{width:100%}}.jp-related-posts-preview__item img{margin-bottom:.5rem;max-width:100%}.jp-support-card{margin-bottom:0;margin-top:1rem}.jp-support-card__description{font-size:.875rem;line-height:1.65}.jp-support-card__description:first-of-type{margin-top:4px}.jp-support-card__description:last-of-type{margin-bottom:0}.jp-support-card__description .dops-button{margin:0 16px 0 0}@media (max-width:960px){.jp-support-card__description .dops-button{margin:0 16px 8px 0}}.jp-support-card__link{font-style:italic}@media (max-width:660px){.jp-support-card__link{border-top:1px solid hsla(0,0%,84%,.5);display:block;padding:.625rem 0;width:100%}.jp-support-card__link:first-letter{text-transform:capitalize}.jp-support-card__link:first-of-type{border-top:0}}.jp-support-card__happiness{display:flex;flex-flow:row nowrap;margin-bottom:0}@media (max-width:660px){.jp-support-card__happiness .jp-support-card__description:first-of-type{margin-bottom:1rem}}.jp-support-card__social{background-color:#fbfbfb;padding:1rem}@media (max-width:660px){.jp-support-card__social{background:#fff;margin-top:1rem;padding:0 1rem}}.jp-support-card__header{font-size:1.25rem;font-weight:400;margin:0}.jp-support-card__happiness-contact{flex-grow:1;flex-shrink:1}.jp-form-label-wide,.jp-form-legend{font-size:.875rem;font-weight:600;padding:1rem 0 .3125rem}.jp-form-label{display:block;font-size:.875rem;line-height:1.5;margin-bottom:.3125rem}.jp-form-label-wide{display:block;padding:.5rem 0}.jp-form-label input[type=radio]+span{font-weight:400;margin-left:8px}.jp-form-button{margin-top:1rem}@media (min-width:481px){.jp-form-button{bottom:1rem;position:absolute;right:1rem}}.jp-form-toggle-explanation{font-size:.875rem;vertical-align:baseline;word-break:break-word}.jp-form-toggle-explanation .jp-form-toggle-privacy-info{border-left:1px solid hsla(0,0%,64%,.5);margin-left:.3125rem;padding-left:.3125rem}.jp-form-fieldset{clear:both;position:relative}.jp-form-fieldset .jp-form-legend+.jp-form-setting-explanation{margin-bottom:.5rem;margin-top:0}.jp-form-input-with-prefix{display:inline-flex;margin-bottom:1.5rem;width:100%}.jp-form-input-with-prefix span:first-child{background:#f6f6f6;border:1px solid #c8d7e1;color:#4f748e;min-width:3.75rem;padding:.5rem .875rem;text-align:center;white-space:nowrap}@media (max-width:660px){.jp-form-input-with-prefix span:first-child{display:block;text-align:left}}.jp-form-input-with-prefix input[type=text]{width:100%}@media (min-width:661px){.jp-form-input-with-prefix input[type=text]{border-left:0}}@media (max-width:660px){.jp-form-input-with-prefix input[type=text]{border-top:0}.jp-form-input-with-prefix{box-sizing:border-box;display:block}}.jp-form-input-suffix{background:#f6f6f6;border:1px solid #c8d7e1;color:#4f748e;display:flex;flex:1 0 auto;padding:.5rem .875rem;text-align:center;white-space:nowrap}button.jp-form-input-suffix{background:initial;border-radius:0}.jp-form-has-child{margin-bottom:1.5rem}.jp-form-has-child:last-child{margin-bottom:0}.jp-form-has-child>.jp-form-fieldset,.jp-form-has-child>.jp-form-setting-explanation{margin-left:2.25rem}.jp-form-has-child>.jp-form-fieldset{margin-bottom:1rem}.jp-form-block-fade{background:hsla(0,0%,100%,.8);height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.jp-form-offlinemode-message.is-compact{padding:0 1rem;position:absolute;top:-24px;width:100%;z-index:1}.jp-form-textarea-wide{width:100%}.jetpack-pagestyles .vp-notice,.jetpack-pagestyles .wc-connect,.jetpack-pagestyles .woocommerce-message{display:none}.jetpack-pagestyles .vp-notice-jp a{text-decoration:underline}.jetpack-pagestyles .woocommerce-message.dops-notice{display:block;padding:0}.jetpack-pagestyles .woocommerce-message.dops-notice:before{content:""}.jetpack-pagestyles .woocommerce-message.dops-notice .submit{padding:0}.jetpack-pagestyles .woocommerce-message.dops-notice .notice-dismiss:before{display:none}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>div{max-width:620px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>a{margin-right:15px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__moved_text{margin-bottom:5px}.jetpack-pagestyles .dops-notice__action.notice-dismiss{height:100%}.form-toggle.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:before{left:8px}.form-toggle.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:before{left:0}.dops-section-nav-tab__text .gridicon{margin:0 0 2px 5px;vertical-align:middle}.jp-settings-card__configure-link{display:flex;margin-bottom:0}.jp-form-settings-card{font-size:.875rem;margin-bottom:1.5rem}.jp-form-settings-card+.jp-at-a-glance__stats-card{margin-bottom:1.5rem}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header{color:#444}@media (min-width:481px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header{padding-left:1.5rem}}.jp-form-settings-card .dops-foldable-card .form-toggle__switch{float:left;margin-top:.125rem}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header-text{font-size:.875rem}.jp-form-settings-card .dops-foldable-card.jp-foldable-settings-disable .dops-foldable-card__header{color:#dadada}@media (min-width:481px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__main{max-width:85%}}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__action{right:.625rem}@media (max-width:480px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__action{right:.0625rem}}.jp-form-settings-card .dops-foldable-card .jp-support-info{right:-1.3125rem;top:.4375rem}@media (max-width:480px){.jp-form-settings-card .dops-foldable-card .jp-support-info{right:-1.875rem}}.jp-form-settings-card .dops-foldable-card .jp-form-label-wide:first-child,.jp-form-settings-card .dops-foldable-card .jp-form-legend:first-child{padding-top:.4375rem}@media (min-width:481px){.jp-form-settings-card .dops-foldable-card__header{padding-bottom:1.75rem;padding-top:1.75rem}}.jp-foldable-settings-standalone .dops-foldable-card__header-text{font-size:.875rem}@media (min-width:481px){.jp-foldable-settings-standalone .dops-foldable-card__header,.jp-foldable-settings-standalone.dops-card.is-expanded .dops-foldable-card__content{padding-left:1.5rem;padding-right:1.5rem}.jp-foldable-settings-standalone .dops-foldable-card__action{right:.625rem}.jp-foldable-settings-standalone .jp-form-settings-group .jp-support-info{right:.125rem;top:0}}@media (max-width:480px){.jp-foldable-settings-standalone .jp-form-settings-group .jp-support-info{right:-1.9375rem;top:.375rem}}.jp-banner__no-border{border-left:none!important}.jp-banner__no-border .dops-banner__icon-circle{background:none!important;padding:0 0 0 3px}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon{height:28px;width:28px}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-info{color:#0087be}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-notice{color:#f0b849}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-checkmark-circle{color:#4ab866}.jp-banner__no-border .dops-banner__description{color:#537994;font-size:.875rem;line-height:1.65;margin-top:0}.jp-form-settings-group{margin-bottom:0;position:relative}.jp-form-settings-group p{font-size:.875rem;margin-bottom:1.5rem;margin-top:0}.jp-form-settings-group p.jp-settings-card__blocks-description{margin-bottom:0}.jp-form-settings-group fieldset p:last-child{margin-bottom:8px}.jp-form-settings-group .form-toggle__label{margin-bottom:.25rem;margin-top:.25rem}.jp-form-settings-group .jp-form-setting-explanation{color:#747474;display:block;font-size:.875rem;font-style:italic;font-weight:400;margin:.3125rem .875rem .3125rem 0;word-break:break-word}.jp-form-settings-group .jp-form-setting-explanation+.dops-card{margin-top:1rem}.jp-form-settings-group .jp-form-setting-explanation.is-warning{color:#d94f4f}.jp-form-settings-group .jp-form-setting-explanation a{text-decoration:underline}.dops-foldable-card .jp-form-settings-group{padding-bottom:16px}.jp-form-settings-group .dops-card{padding-right:3rem}@media (max-width:480px){.jp-form-settings-group .jp-support-info{right:1rem;top:1.25rem}}.jp-form-settings-group .jp-support-info+p{margin-top:2px}.jp-form-settings-group .jp-support-info+span{display:block;padding-top:2px}.jp-form-settings-group .form-toggle__switch{float:left;margin-top:2px}.jp-form-settings-group>.dops-card:first-child{margin-bottom:0}.dops-foldable-card .jp-form-settings-group .dops-card{box-shadow:none;padding:0}.jp-form-settings-group.foldable-wrapper>.dops-card{padding:0}.jp-apps-card{margin-top:4rem}.jp-apps-card,.jp-apps-card__content{margin-bottom:0}.jp-apps-card__content.dops-card{padding:0}.jp-apps-card__content a:not(.dops-button){font-style:italic}.jp-apps-card__dismiss{position:absolute;right:8px;top:8px}.jp-apps-card__dismiss.dops-button.is-compact{padding:8px 8px 2px}.jp-apps-card__top{background:#fff;padding:3.75rem 0 0;text-align:center}.jp-apps-card__top img{max-width:26%;padding-top:10px}.jp-apps-card__description{color:#000;line-height:1.65;margin:0 auto;max-width:80%;padding:.625rem 1.5rem 1.5rem;text-align:center}.jp-apps-card__description .dops-button{margin:8px 0}.jp-apps-card__paragraph{font-size:1rem}.jp-apps-card__header{font-size:1.25rem;font-weight:500;margin-bottom:.3125rem;margin-top:0}.jp-apps-card__promo_subhead{font-style:italic;margin-top:0}.jp-apps-card__apps-badges{align-items:center;display:flex;flex-direction:row;justify-content:center}@media (max-width:480px){.jp-apps-card__apps-badges{flex-direction:column}.jp-apps-card__apps-badges .apps-badge:first-child{margin-right:0}.jp-apps-card__apps-badges .apps-badge:last-child{margin-top:1rem}}.jp-themes-card{margin-bottom:1.25rem}.jp-upgrade-notice__content .jp-upgrade-notice__enable-module .jp-form-has-child{padding-left:30px}.jp-upgrade-notice__content .jp-upgrade-notice__enable-module .jp-form-has-child .jp-form-fieldset{margin-bottom:.4rem}.jp-upgrade-notice__enable-module{margin-bottom:calc(1em + 8px)}.jp-upgrade-notice__enable-module .jp-form-settings-group{margin:0 auto;max-width:400px;text-align:left}.jp-upgrade-notice__enable-module .jp-form-has-child{padding:10px 30px 10px 10px}.jp-upgrade-notice__enable-module .jp-support-info{right:.9375rem;top:.9375rem}.jp-dialogue-modern-full__container{background:hsla(0,0%,96%,.95);bottom:0;box-sizing:border-box;height:100%;left:0;overflow:auto;padding:1rem 0 0;position:fixed;right:0;top:0;z-index:1000}@media (min-width:961px){.jp-dialogue-modern-full__container{left:160px;padding:2rem}}body.jp-dialogue-modern-showing{overflow:hidden}.jp-dialogue-modern{background-color:#fff;box-shadow:0 5px 24px 0 rgba(0,0,0,.13);margin:2rem auto;max-width:18.75rem;overflow:hidden;position:relative}.jp-dialogue-modern p{color:#000;font-size:1rem;text-align:left}.jp-dialogue-modern img{max-width:100%;text-align:center}.jp-dialogue-modern li{color:#000;font-size:1rem;list-style:disc none outside;margin:1rem;text-align:left}.jp-dialogue-modern p+img{margin:2rem 0 1rem}.jp-dialogue-modern .dops-card{margin-bottom:0}.jp-dialogue-modern .jp-dialogue-modern-card__below{text-align:left}.jp-dialogue-modern figure{margin:0 0 12px}.jp-dialogue-modern figure figcaption{text-align:center}.jp-dialogue-modern a :not(.wp-block-button__link){text-decoration:underline}.jp-dialogue-modern-full__dismiss{fill:#2c3338;cursor:pointer;height:2rem;padding:1rem;position:absolute;right:-16px;top:-16px;width:2rem}.jp-dialogue-modern.has-featured-image .jp-dialogue-modern-full__dismiss{fill:#dcdcde}h1.jp-dialogue-modern__title{font-size:1.5rem;font-weight:600;margin:0 0 2rem;text-align:left}.jp-dialogue-modern__content{background:#fff;padding:32px}.jp-dialogue-modern__cta-container{line-height:200%;padding:.5rem 0 0;text-align:center}.jp-dialogue-modern__cta-container .dops-button{margin:0 .5rem}.jp-dialogue-modern__note,a.jp-dialogue-modern__note{clear:both;font-size:.875rem;font-style:italic;margin:0;padding:1rem 0 0}.jp-dialogue-modern-full__svg-jupiter{opacity:.9;position:absolute;right:0;top:5rem}.jp-dialogue-modern-full__svg-stars{left:6.25rem;opacity:.9;position:absolute;top:6.25rem}.jetpack-about__link-back,.jetpack-about__main,.jetpack-about__plugin{background-color:#fff;border:1px solid #dcdcde}.jetpack-about__colophon,.jetpack-about__colophon p,.jetpack-about__main,.jetpack-about__main p{font-size:14px}.jetpack-about__link-back{border-bottom:none;padding:16px 16px 13px}.jetpack-about__link-back a{color:#787c82;font-size:.75rem}.jetpack-about__link-back a:active,.jetpack-about__link-back a:hover{color:#2f3032}.jetpack-about__link-back a svg{fill:#787c82;height:24px;margin-right:4px;margin-top:-3px;vertical-align:middle;width:24px}.jetpack-about__main{padding:36px}.jetpack-about__logo{width:265px}@media screen and (max-width:400px){.jetpack-about__logo{width:100%}}.jetpack-about__content{display:flex}@media screen and (max-width:782px){.jetpack-about__content{flex-wrap:wrap}}.jetpack-about__text{order:1}.jetpack-about__text p{font-size:1rem;line-height:1.6}.jetpack-about__text p:last-child{margin-bottom:0}.jetpack-about__images{margin-left:48px;order:2;text-align:center}@media screen and (max-width:782px){.jetpack-about__images{margin-left:0;order:0;text-align:left;width:100%}}.jetpack-about__images .meet-the-team{margin-bottom:0;text-align:center}.jetpack-about__gravatars{display:flex;flex-wrap:wrap;width:320px}@media screen and (max-width:450px){.jetpack-about__gravatars{max-width:320px;width:100%}}.jetpack-about__gravatars li{margin-bottom:0;width:25%}.jetpack-about__gravatars li img{height:100%;max-width:80px;vertical-align:top;width:100%}.jetpack-about__colophon{margin-bottom:3rem}.jetpack-about__colophon h3{margin-top:2.4375rem}.jetpack-about__services-more{margin-top:1.5em;text-align:center}.jetpack-about__services{grid-gap:16px;display:grid;grid-template-columns:1fr 1fr}.jetpack-about__plugin{margin-bottom:0}.jetpack-about__plugin .plugin-card-top{padding:20px 20px 15px;position:relative}.jetpack-about__plugin .plugin-card-top .desc,.jetpack-about__plugin .plugin-card-top .details-link,.jetpack-about__plugin .plugin-card-top .name{margin-left:148px}.jetpack-about__plugin .plugin-card-top .name h3{margin-top:0}.jetpack-about__plugin .plugin-card-top .details-link{font-weight:500}.jetpack-about__plugin .plugin-card-bottom{align-items:center;background-color:#fff;display:flex;flex-wrap:wrap;justify-content:space-between}.jetpack-about__plugin .plugin-card-bottom .meta{margin-right:1em}.jetpack-about__plugin .plugin-card-bottom .num-ratings{display:inline-block}.jetpack-about__plugin .plugin-card-bottom .action-buttons{clear:none;float:none;margin:.5em 0}.jetpack-about__plugin .plugin-card-bottom .action-buttons li:last-child{margin-bottom:0}.mobile-magic-link__button{cursor:pointer}.mobile-magic-link__modal__body{color:#2e4453;font-size:.875rem;margin:0;padding:1.5rem 2rem;text-align:center}.mobile-magic-link__modal__body h2{color:#2e4453;font-size:2rem;font-weight:300;margin:2rem 0 1.5rem}.mobile-magic-link__modal__body h4{color:#668eaa;font-size:1rem;font-weight:400;line-height:1.5em;margin:1rem 1.5rem 0}.mobile-magic-link__modal-actions{margin:2rem 0}.mobile-magic-link__modal-actions .mobile-magic-link__modal-cancel{margin-right:1em}.jp-at-a-glance{margin-bottom:3rem}.jp-at-a-glance__pinned-bundle{margin-bottom:1rem}.jp-at-a-glance__stats-card{padding:0}.jp-at-a-glance__stats-empty{margin-bottom:0;text-align:center}.jp-at-a-glance__stats-empty p{color:#747474;font-size:.875rem}.jp-at-a-glance__stats-inactive{padding:1rem}@media (min-width:661px){.jp-at-a-glance__stats-inactive{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}}@media (max-width:660px){.jp-at-a-glance__stats-inactive-icon{display:none}}@media (min-width:661px){.jp-at-a-glance__stats-inactive-icon{flex-basis:10%}}.jp-at-a-glance__stats-inactive-text{font-size:.875rem;line-height:1.5}@media (max-width:660px){.jp-at-a-glance__stats-inactive-text{padding:0 0 1rem}}@media (min-width:661px){.jp-at-a-glance__stats-inactive-text{flex-basis:50%;padding:0 1rem}}.jp-at-a-glance__stats-inactive-button{text-align:left}@media (min-width:661px){.jp-at-a-glance__stats-inactive-button{flex-basis:40%;text-align:right}}.jp-at-a-glance__stats-chart{padding:1rem;position:relative}.jp-at-a-glance__stats-chart .components-spinner{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.jp-at-a-glance__stats-bottom{margin:2rem 0 0}@media (max-width:480px){.jp-at-a-glance__stats-bottom{box-shadow:0 0 0 1px #c3c4c7}}.jp-at-a-glance__stats-summary{border-bottom:1px solid #c3c4c7;text-align:center}@media (min-width:661px){.jp-at-a-glance__stats-summary{display:flex;flex-direction:row;flex-wrap:nowrap}}@media (max-width:660px){.jp-at-a-glance__stats-summary{display:block}}.jp-at-a-glance__stats-summary-bestday,.jp-at-a-glance__stats-summary-today{box-shadow:0 0 0 1px #c3c4c7;flex-basis:25%;padding:1rem}@media (max-width:660px){.jp-at-a-glance__stats-summary-today{margin-top:-.0625rem}}@media (min-width:661px){.jp-at-a-glance__stats-summary-bestday{margin:0 .0625rem}}@media (max-width:660px){.jp-at-a-glance__stats-summary-alltime,.jp-at-a-glance__stats-summary-bestday{margin-top:.0625rem}}.jp-at-a-glance__stats-summary-alltime{box-shadow:0 0 0 1px #c3c4c7;flex-basis:50%;padding:1rem}@media (min-width:661px){.jp-at-a-glance__stats-summary-alltime{display:flex;flex-grow:1;flex-shrink:1;max-width:50%}}.jp-at-a-glance__stats-alltime-comments,.jp-at-a-glance__stats-alltime-views{flex-basis:50%}.jp-at-a-glance__stats-cta{background-color:#fbfbfb;padding:1rem}@media (min-width:661px){.jp-at-a-glance__stats-cta{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}}@media (max-width:660px){.jp-at-a-glance__stats-cta{display:block}}@media (min-width:661px){.jp-at-a-glance__stats-cta-description{flex-basis:30%}}.jp-at-a-glance__stat-details{font-size:.875rem;margin:0}.jp-at-a-glance__stat-number{font-size:1.5rem;font-weight:400;margin:.5rem 0}.jp-at-a-glance__stats-ctas{align-items:center;display:flex;flex-direction:row;justify-content:flex-end}@media (min-width:661px){.jp-at-a-glance__stats-ctas{flex-basis:70%;text-align:right}}@media (max-width:660px){.jp-at-a-glance__stats-ctas{flex-direction:column;text-align:center}.jp-at-a-glance__stats-ctas .dops-button{margin-bottom:.25rem;width:100%}}.jp-at-a-glance__stats-ctas .jp-at-a-glance__stats-ctas-wpcom-stats{margin-right:.5rem}.jp-at-a-glance__stats-ctas .dops-button{margin:.25rem;text-align:center}.jp-at-a-glance__stats-view,.jp-at-a-glance__stats-views{margin-bottom:0;margin-top:0}.jp-at-a-glance__stats-view{display:inline-block;margin-left:1rem}.jp-at-a-glance__stats-view:focus{outline:0}@media (max-width:480px){.jp-at-a-glance__stats-view{margin-left:0;margin-right:1rem}}.jp-at-a-glance__stats-view-link,.jp-at-a-glance__stats-view-link:visited{color:#a2a2a2;text-decoration:underline}.jp-at-a-glance__stats-view-link.is-current,.jp-at-a-glance__stats-view-link:focus.is-current,.jp-at-a-glance__stats-view-link:visited.is-current,.jp-at-a-glance__stats-view-link:visited:focus.is-current,.jp-at-a-glance__stats-view-link:visited:visited.is-current{color:#1d2327;text-decoration:none}.jp-at-a-glance__stats-view-link:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8);outline:0}.jp-at-a-glance__item-grid{display:flex}@media (max-width:660px){.jp-at-a-glance__item-grid{display:block}}.jp-at-a-glance__left,.jp-at-a-glance__right{display:flex;min-width:0}@media (min-width:661px){.jp-at-a-glance__left,.jp-at-a-glance__right{flex-basis:50%;margin-bottom:1rem}}@media (max-width:660px){.jp-at-a-glance__left,.jp-at-a-glance__right{margin-bottom:.75rem}}.jp-at-a-glance__left .jp-dash-item,.jp-at-a-glance__left>div,.jp-at-a-glance__right .jp-dash-item,.jp-at-a-glance__right>div{display:flex;flex-direction:column;flex-grow:1;min-width:0}.jp-at-a-glance__left>div,.jp-at-a-glance__right>div{flex-basis:100%}.jp-at-a-glance__left .jp-dash-item .dops-card,.jp-at-a-glance__right .jp-dash-item .dops-card{flex-grow:1}.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact{flex-grow:0}.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact a.dops-notice__action,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact a.dops-notice__action{margin-left:0;padding-left:0}@media (max-width:480px){.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact a.dops-notice__action,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact a.dops-notice__action{text-transform:none}}.jp-at-a-glance__left .jp-dash-item__card,.jp-at-a-glance__right .jp-dash-item__card{display:flex}.jp-search-config-aag{width:100%}.jp-at-a-glance__left{display:flex}@media (min-width:661px){.jp-at-a-glance__left{margin-right:1rem}.jp-at-a-glance__left:last-child{flex-basis:calc(50% - 0.5rem)}}.dops-chart__tooltip .tip-arrow{display:none}.jp-connection-type .jp-dash-item__card{align-items:flex-start}.jp-connection-settings__info{display:flex}.jp-connection-settings__actions{margin:1em 0 0}.jp-connection-settings__actions a{cursor:pointer}.jp-connection-settings__text{margin-left:1rem;word-break:break-word}.jp-connection-settings__info .gridicon{opacity:.6}.jp-connection-settings__info .gridicon,.jp-connection-settings__info .jp-connection-settings__site-icon{background:#c8d7e1;color:#fff;min-width:4rem}.jp-connection-settings__info .jp-connection-settings__gravatar{background:#a2a2a2;border-radius:50%;display:inline-block;margin-bottom:0;min-width:4rem}.jp-connection-settings__username{font-weight:600}.jp-connection-settings__email{color:#a2a2a2;font-size:.875rem;font-style:italic;font-weight:400}.jp-connection-settings__modal.dops-modal{max-width:635px;min-height:400px}@media (min-width:661px){.jp-connection-settings__modal.dops-modal{min-height:auto}}.jp-connection-settings__modal-body{color:#2e4453;font-size:.875rem;margin:0;padding:1.5rem 2rem;text-align:center}.jp-connection-settings__modal-body h2{color:#2e4453;font-size:2rem;font-weight:300;margin:2rem 0 1.5rem}.jp-connection-settings__modal-body h4{color:#668eaa;font-size:1rem;font-weight:400;line-height:1.5em;margin:1rem 1.5rem 0}.jp-connection-settings__modal-body p{font-size:.875rem}.jp-connection-settings__modal-body ul{color:#537994;margin:1.5rem 0 2.25rem}.jp-connection-settings__modal-body li{border-bottom:1px solid #e1e1e1;display:block;margin:0;padding:1rem .5rem 1rem 2.75rem;position:relative;text-align:left}.jp-connection-settings__modal-body li:first-of-type{border-top:1px solid #e1e1e1}.jp-connection-settings__modal-body .gridicon{color:#537994;left:1rem;position:absolute;top:1rem;vertical-align:text-bottom}.jp-connection-settings__modal-cancel{margin-right:1em}.jp-connection-settings__modal-more a{color:#0087be;text-decoration:underline}.jp-dash-item__manage-in-wpcom{margin-top:1px;width:100%}.jp-dash-item .dops-banner.dops-banner{margin-bottom:0;width:100%}.jp-dash-item__videopress .jp-dash-item__card{flex-direction:column}.jp-dash-item__videopress-storage{margin-top:1em}.jp-landing__plans{margin-bottom:32px}.jp-landing__plans .dops-button{margin-right:10px}.jp-landing__card-header{color:#6f6f6f;font-size:1rem;margin-top:0}.jp-landing__licensing-actions{align-items:center;display:flex;justify-content:center}@media (max-width:660px){.jp-landing__licensing-actions span{display:none}}@media (min-width:481px){.jp-landing__licensing-actions{justify-content:space-between}}.jp-landing__licensing-actions .jp-landing__licensing-actions-item{align-items:center;display:flex;flex-direction:column;text-align:center}@media (min-width:481px){.jp-landing__licensing-actions .jp-landing__licensing-actions-item{flex-direction:row}}@media (max-width:660px){.jp-landing__licensing-actions .jp-landing__licensing-actions-item{flex:1;justify-content:space-between}}.jp-landing__licensing-actions .jp-landing__licensing-actions-item .dops-button{margin-right:0}.jp-landing__licensing-actions .jp-landing__licensing-actions-item.no-licenses{flex:1;justify-content:space-between;justify-content:flex-end}.all-purchases__link{box-sizing:border-box;display:inline-block;padding:7px 20px 9px 0}@media (max-width:480px){.all-purchases__link{margin-bottom:15px;padding:0}}.jp-landing__plan-features-header-recommendations-cta-container{align-self:center;display:flex;justify-content:flex-end;order:30}.jp-landing__plan-features-header-recommendations-cta-container .dops-button{margin-right:0}.jp-landing__plan-features-card{background-color:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:flex;flex-basis:32%;flex-grow:1;flex-wrap:nowrap;margin:.5rem}.jp-landing__plan-features-card:last-child{max-width:100%}.is-loading .jp-landing__plan-features-card{width:49.5%}@media (min-width:661px){.jp-landing__plan-features-card{margin-bottom:1%}}@media (max-width:660px){.jp-landing__plan-features-card{margin-bottom:.5rem;max-width:100%}}@media (min-width:481px){.jp-landing__plan-features-card{padding:2rem}}@media (max-width:480px){.jp-landing__plan-features-card{padding:1rem}}.jp-landing__plan-features-list{list-style:initial;margin-left:1rem}.jp-landing__plan-features-img{line-height:1;margin-right:.5rem;width:5.625rem}@media (min-width:961px){.jp-landing__plan-features-img{margin-right:1.125rem;width:7.5rem}}.jp-landing__plan-features-icon{display:block;margin-left:-.5rem}@media (min-width:481px){.jp-landing__plan-features-icon{margin-left:-1rem}}.jp-landing__plan-features-text{flex:1;font-size:.875rem}.jp-landing__plan-features-title{font-size:1.25rem;margin:0}.jp-landing__plan-features{align-items:stretch;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin-bottom:2rem;margin-left:-.5rem;margin-right:-.5rem}@media (max-width:660px){.jp-landing__plan-features{display:block}}.jp-landing__plan-features-title.is-placeholder{height:1.5rem;max-width:50%}.jp-landing__plan-features-text.is-placeholder{height:2.75rem;max-width:75%}.jp-landing__plan-features-link{width:100%}@media (min-width:661px){.jp-landing__plan-features-link{text-align:center}}.jp-landing__plan-features-header-jetpack-license .dops-button{float:right;margin-right:0;margin-top:16px}.jp-form-fieldset>.jp-form-search-setting-explanation{margin-left:2.25rem}.media__videopress-storage{margin-bottom:1.5rem;max-width:50%}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-recommendations-question__main{background:var(--jp-white);border:1px solid #d5d5d5;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);min-height:480px}.jp-recommendations-question__main a:not([type=button]){color:var(--jp-black);text-decoration:none}.jp-recommendations-question__main a:not([type=button]):not(.dops-external-link){box-shadow:0 1px 0 0 currentColor}.jp-recommendations-question__main a:not([type=button]):not(.dops-external-link):active,.jp-recommendations-question__main a:not([type=button]):not(.dops-external-link):hover{box-shadow:0 3px 0 0 currentColor}.jp-recommendations-question__main a:not([type=button]).dops-external-link .dops-external-link__text{box-shadow:0 1px 0 0 currentColor}.jp-recommendations-question__main a:not([type=button]).dops-external-link:active .dops-external-link__text,.jp-recommendations-question__main a:not([type=button]).dops-external-link:hover .dops-external-link__text{box-shadow:0 3px 0 0 currentColor}.jp-recommendations-question__main a:not([type=button]).dops-external-link:focus .dops-external-link__text{box-shadow:none!important}.jp-recommendations-question__main a:not([type=button]).components-external-link{margin-right:1em;position:relative}.jp-recommendations-question__main a:not([type=button]).components-external-link .components-external-link__icon{left:100%;position:absolute;top:50%;transform:translateY(-.5em)}.jp-recommendations-question__main a:not([type=button]):focus{border-radius:2px;box-shadow:none!important;outline:2px solid currentColor;outline-offset:3px}.jp-recommendations-question__main a:not([type=button]).disabled,.jp-recommendations-question__main a:not([type=button]):disabled{color:var(--jp-gray-20);pointer-events:none}.jp-recommendations-question__main--with-sidebar{display:grid;grid-template-columns:repeat(2,1fr)}@media (max-width:1040px){.jp-recommendations-question__main--with-sidebar{background:var(--jp-white);grid-template-columns:auto}}.jp-recommendations__loading{padding-top:48px}.jp-recommendations__new-badge{border:1px solid var(--jp-green-30);border-radius:3px;color:var(--jp-green-30);display:inline-block;font-size:12px;font-weight:500;padding:2px 8px;text-transform:uppercase}.jp-recommendations-question__sidebar{background:radial-gradient(circle at 60%,rgba(6,158,8,.15) 0,hsla(0,0%,100%,0) 75%),radial-gradient(circle at 30% 80%,rgba(206,217,242,.5) 5%,hsla(0,0%,100%,0) 25%),radial-gradient(circle at 50% 15%,hsla(46,77%,83%,.5) 0,hsla(0,0%,100%,0) 35%)}@media (max-width:1040px){.jp-recommendations-question__sidebar{background:none}}.waf__header{align-items:center;display:flex}.waf__header__badge{background-color:#069e08;border-radius:2px;color:#fff;font-size:11px;line-height:12px;margin-left:9px;padding:4px 5px}.waf__settings{padding-left:36px;padding-top:24px}.waf__settings__toggle-setting{display:flex;flex-wrap:wrap;margin-bottom:12px}.waf__settings__toggle-setting:last-child{margin-bottom:0}.waf__settings .form-toggle__label{margin-bottom:0;margin-top:0}.waf__settings__ips{margin-top:24px;width:100%}.waf__settings__ips:last-of-type{margin-bottom:12px}.waf__settings__share-data-popover{margin-left:8px}.waf__enhanced-protection,.waf__enhanced-protection.dops-card.is-expanded{margin-bottom:0}.waf__enhanced-protection.dops-foldable-card.is-expanded .dops-foldable-card__content{border-top:none;padding-top:0}.waf__enhanced-protection ul{list-style:disc;margin-bottom:0;margin-top:0;padding-left:32px}.waf__enhanced-protection code{white-space:nowrap}.dops-search__input[type=search]{width:100%}.jp-settings-container .jp-no-results{display:none;font-size:.875rem;line-height:1.5}.jp-settings-container .jp-no-results:last-of-type{display:inherit}@media (max-width:480px){.dops-search.is-expanded-to-container{height:46px}}.dops-card.jp-settings-description{background:none;border:none;box-shadow:none;margin:24px 0 8px;padding:0}.jp-form-google-label-unverified .dops-button{margin:0 15px}@media (max-width:660px){.jp-form-google-label-unverified .dops-button{margin-top:10px;width:40%}}.jp-form-google-label-unverified .jp-form-google-separator{padding:.5rem 0}@media (max-width:660px){.jp-form-google-label-unverified .jp-form-google-separator{display:inline-block;margin:25px 0 0}}.jp-sitemap-row{align-items:center;display:flex;margin-top:1rem}.jp-sitemap-row .dops-clipboard-button-input{flex-grow:1}.jp-form-input-with-prefix-bottom-message{line-height:2em;margin-top:5px;position:relative;top:-1.25rem}.jp-form-site-verification-verified{align-items:center;background-color:#fff;border:1px solid #c8d7e1;box-sizing:border-box;color:#069e08;display:flex;flex-direction:row;font-size:16px;justify-content:left;line-height:1.5;margin:0;padding:7px 14px;width:100%}.jp-form-site-verification-verified .gridicon:first-child{margin-right:5px}@media (min-width:661px){.jp-form-site-verification-verified{border-left:0}}@media (max-width:660px){.jp-form-site-verification-verified{border-top:0}}.jp-form-site-verification-edit-button{margin-left:10px;overflow:visible}@media (max-width:660px){.jp-form-site-verification-edit-button{margin-left:0;margin-right:5px;margin-top:5px}}.jp-form-site-verification-buttons{display:inline-flex;flex:0 1 20em}.jp-form-site-verification-verified-note{font-size:.7em}.jp-form-google-label-unverified-actions{align-content:center;display:flex}.jp-form-google-label-unverified-actions .dops-button{margin-left:10px;margin-right:10px;padding-left:7px;padding-right:7px}#jp-seo-front-page-description{min-height:96px}.jp-seo-front-page-description-card{margin-bottom:0!important}.jp-seo-front-page-description-container{background:#f6f6f6;border-radius:4px}.jp-seo-front-page-description-count{padding:.25rem}.jp-seo-front-page-description-count-warn{background-color:#f0b849;border-radius:4px;font-weight:700}.jp-seo-front-page-description-count-max{background-color:#d94f4f;border-radius:4px;color:#fff;font-weight:700}.jp-seo-front-page-description-save-button{float:right;margin-top:.75rem}.jp-seo-social-previews .facebook-preview,.jp-seo-social-previews .search-preview,.jp-seo-social-previews .twitter-preview{margin-bottom:1rem;margin-top:1rem}.jp-seo-social-previews-container{align-items:center;display:flex;margin-top:1rem}.jp-seo-social-previews-label{font-weight:600;margin-left:.5rem}.jp-seo-custom-titles-card{margin-bottom:0!important}.jp-seo-custom-titles-input[type=text]{margin-top:.25rem}.jp-seo-custom-titles-input-controls{align-items:flex-end;display:flex;flex-wrap:wrap;margin-top:.5rem}.jp-seo-custom-titles-input-controls .jp-form-label{font-weight:600;margin-bottom:0}.jp-seo-custom-titles-input-label{margin-right:auto}.jp-seo-custom-titles-input-button:before{content:"+";margin-right:4px}.jp-seo-custom-titles-input-button:not(:first-of-type){margin-left:.5rem}.jp-seo-custom-titles-input-preview{font-style:italic;margin-top:.25rem}.jp-seo-custom-titles-save-button{float:right;margin-top:.75rem} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/style.min.rtl.css b/plugins/jetpack/_inc/build/style.min.rtl.css
index 6e1603fd..e0e98874 100644
--- a/plugins/jetpack/_inc/build/style.min.rtl.css
+++ b/plugins/jetpack/_inc/build/style.min.rtl.css
@@ -1,3 +1 @@
-/* Do not modify this file directly. It is compiled SASS code. */
-@media(max-width: 660px){.jp-hidden-on-mobile{display:none}}.wp-admin.toplevel_page_jetpack{background-color:#f6f6f6;line-height:1.4;height:auto}.jetpack-pagestyles #wpcontent{padding-right:0}.jetpack-pagestyles{font-size:.875rem}.jetpack-pagestyles a{text-decoration:none}.jetpack-pagestyles #dolly{float:none;position:relative;left:0;right:0;top:0;padding:.625rem;text-align:left;background:#fff;font-size:.75rem;font-style:italic;color:#a2a2a2;border-bottom:1px #eee solid}@media(max-width: 660px){.jetpack-pagestyles #dolly{display:none}}.dops-notice__text a{text-decoration:underline}.toplevel_page_jetpack ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#f6f6f6}.jp-lower{margin:0 auto;text-align:right;max-width:65rem;padding:1.5rem}.jp-lower.jp-licensing-screen{max-width:70.5rem}.jp-lower.jp-main-connect-screen,.jp-lower.jp-user-connect-screen{max-width:70.5rem;box-sizing:content-box}@media(max-width: 1250px){.jp-lower{max-width:95%}}#contextual-help-link-wrap{display:none}.is-placeholder{animation:pulse-light .8s ease-in-out infinite;background:#d5d5d5}@keyframes pulse-light{50%{background-color:#eee}}.blur{-moz-filter:blur(5px);-o-filter:blur(5px);-ms-filter:blur(5px);filter:blur(5px)}.jp-dash-item .jp-dash-item__content a{font-style:italic}.jp-dash-item .dops-section-header__actions .form-toggle__label{position:relative;top:6px;left:0}.jp-dash-item .dops-section-header__actions .form-toggle__label-content{margin:0}.jp-dash-item__content{flex-grow:1;display:flex;flex-wrap:wrap;align-items:flex-start}.jp-dash-item__card{margin:0}.jp-dash-item__count{margin-top:0;margin-bottom:6px;margin-left:8px;color:#3582c4;font-weight:500;font-size:2rem;display:inline-block;border:1px solid #c3c4c7;border-radius:4px;padding:0 4px;min-width:36px;text-align:center}@media(max-width: 660px){.jp-dash-item__count{font-size:1.4375rem}}.jp-dash-item__count+.jp-dash-item__description{max-width:61%}.jp-dash-item__count.is-alert{color:#fff;background:#d94f4f;border-color:#d94f4f}.jp-dash-item__title{max-width:calc( 100% - 18px )}.jp-dash-item__title.jp-dash-item__title_fullwidth{flex-basis:100%}.jp-dash-item__title.jp-dash-item__title_top{margin-top:0}.jp-dash-item__description{margin:0;font-size:.875rem;max-width:calc( 100% - 18px )}.jp-dash-item__description.jp-dash-item__connect{margin-top:20px}.jp-dash-item .dops-section-header{width:100%}.jp-dash-item .dops-section-header .dops-button{font-style:normal}.jp-dash-item .dops-section-header.is-working .dops-section-header__actions,.jp-dash-item .dops-section-header.is-premium-inactive .dops-section-header__actions{color:#747474}.jp-dash-item .dops-section-header__actions .dops-notice{margin-top:-0.0625rem;margin-bottom:-0.0625rem}.jp-dash-item__active-label{display:inline-block;padding:.375rem 0 0;color:#888;color:#a2a2a2;font-size:.75rem;font-weight:400;text-transform:uppercase}.jp-dash-item__is-inactive .dops-section-header__label{padding-left:.5rem}.jp-dash-item__is-inactive .dops-section-header__label-text:before{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(to left, rgba(255, 255, 255, 0), white 90%);top:0px;bottom:0px;left:0px;right:auto;width:8px;height:auto}.jp-dash-item__is-inactive .jp-dash-item__description{font-style:italic;color:#6f6f6f}.jp-dash-item__disabled{opacity:.5;position:relative}.jp-dash-item__disabled::before{content:"";width:100%;height:100%;display:block;position:absolute;top:0;right:0;z-index:1}.jp-dash-item__recently-activated .jp-dash-item__description{font-style:italic;box-sizing:border-box}.jp-dash-section-header{display:flex;flex-wrap:wrap;margin:2.5rem 0 .5rem}@media(max-width: 660px){.jp-dash-section-header{margin-bottom:1.5rem}}@media(max-width: 480px){.jp-dash-section-header{display:block}}.jp-dash-section-header__label{flex:1;white-space:nowrap}.jp-dash-section-header__name{display:inline-block;margin-top:0;margin-bottom:0;font-size:1.25rem;font-weight:400;white-space:nowrap}@media(min-width: 481px){.jp-dash-section-header__name{display:inline-block}}@media(max-width: 480px){.jp-dash-section-header__name .jp-dash-section-header__label{display:inline-block}}.jp-dash-section-header__settings{display:inline-block;min-width:2.5rem;text-align:center;color:#888}.jp-dash-section-header__settings:focus{outline:0;box-shadow:none}.jp-dash-section-header__settings:focus .gridicon{color:#0087be}.jp-dash-section-header__settings .gridicon{position:relative;top:1px}.jp-dash-section-header__external-link{align-self:center;font-style:italic}@media(max-width: 660px){.jp-dash-section-header__external-link{margin-top:.25rem}}@media(max-width: 480px){.jp-dash-section-header__external-link{display:block;width:100%}}.jp-dash-section-header__children{align-self:center}@media(max-width: 480px){.jp-dash-section-header__children{width:100%}}.jp-form-settings-group.foldable-wrapper .dops-foldable-card.dops-card{padding-left:0;margin-bottom:0;box-shadow:none}.dops-foldable-card.dops-card.offlinemode-disabled .dops-foldable-card__summary,.dops-foldable-card.dops-card.offlinemode-disabled .dops-foldable-card__summary_expanded{width:100px}.dops-foldable-card.dops-card.is-expanded .dops-foldable-card__content{position:relative;padding-left:2.9375rem;padding-right:1.5rem}@media(min-width: 661px){.dops-foldable-card__main{max-width:85%}}@media(min-width: 481px){.dops-foldable-card__main{max-width:60%}}@media(max-width: 480px){.dops-foldable-card__main{flex-basis:100%}}@media(max-width: 480px){.dops-foldable-card__header{flex-wrap:wrap}}@media(max-width: 480px){.dops-foldable-card__header-text{font-size:.875rem}}.dops-foldable-card__header-text .dops-button{margin-right:.5rem}@media(max-width: 480px){.dops-foldable-card__subheader{display:none}}@media(max-width: 480px){.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{text-align:right;margin-top:.5rem}}.jp-footer{text-align:center;margin:1rem 0 2rem}@media(max-width: 1040px){.jp-footer{margin:2rem 0 1.5rem}}@media(max-width: 660px){.jp-footer{margin:1.5rem 0 1rem}}.jp-footer__rna-footer{max-width:65rem;padding:1.5rem;margin:0 auto}.jp-footer__a8c-attr-container{margin-bottom:.5rem}.jp-footer__a8c-attr{width:11.25rem}.jp-footer__a8c-attr path{fill:#888}.jp-footer__links{border-top:1px #e1e1e1 solid;border-bottom:1px #e1e1e1 solid;margin-top:0;margin-bottom:1rem}@media(max-width: 660px){.jp-footer__links{border-bottom:none}}.jp-footer__link-item{display:inline-block;margin-bottom:0}@media(min-width: 661px){.jp-footer__link-item{display:inline-block}}@media(max-width: 660px){.jp-footer__link-item{display:block;border-bottom:1px #e1e1e1 solid}}.jp-footer__link{padding:1rem .5rem;color:#888;display:inline-block;cursor:pointer}.jp-footer__link:visited{color:#888}.jp-footer__link:hover,.jp-footer__link:active{color:#272727}@media(max-width: 660px){.jp-footer__link{display:block;padding:.5rem 0;border-bottom:1px #e1e1e1 solid}.jp-footer__link:last-of-type{border-bottom:none}}.jp-dev-card.jp-dev-card{position:fixed;bottom:10px;left:10px;z-index:100;padding:8px;font-size:12px;text-align:right}.jp-dev-card.jp-dev-card ul{margin-top:6px}.jp-dev-card.jp-dev-card li{margin-top:2px;margin-bottom:0}.jp-dev-card li.jp-dev-card__deprecated-plans-list-header{margin-top:8px;margin-bottom:8px;text-align:center;font-style:italic}.jp-dev-card__heading{font-weight:600}.jp-dev-card__subheading{font-size:11px;color:#888}.jp-dev-card__close{float:left;cursor:pointer}.jp-loading-placeholder{margin-top:30vh;margin-bottom:25vh;color:#d5d5d5;font-size:12vw;text-align:center}@media(min-width: 961px){.jp-loading-placeholder{font-size:120px}}.jp-loading-placeholder .dashicons{font-size:inherit;width:auto;height:auto}@media(max-width: 480px){.dops-notice ul{font-size:.75rem}}.jp-license-activation-notice__external-link svg.gridicons-external{margin-right:.25rem}.jp-unlinked-notice .jp-connection-banner__icon{align-self:center;margin-left:1rem;line-height:0}.jp-masthead{background-color:#fff;text-align:center;box-shadow:0 1px 0 #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04)}@media(max-width: 48.875rem){.jp-masthead{padding:0 1.5rem}.jetpack-masterbar .jp-masthead{padding-right:4rem}}.jp-masthead__inside-container{display:flex;flex-wrap:wrap;margin:0 auto;width:100%;max-width:65rem;padding-bottom:.375rem}@media(max-width: 1250px){.jp-masthead__inside-container{max-width:95%}}.jp-masthead__logo-container{flex-grow:0;flex-shrink:0;padding:.6875rem 0 0}@media(max-width: 480px){.jp-masthead__logo-container{margin-left:1rem}}.jp-masthead__logo-link{display:inline-block;outline:none;vertical-align:middle}.jp-masthead__logo-link:focus{line-height:0;box-shadow:0 0 0 2px #78dcfa}.jp-masthead__logo-link+code{margin:0 10px;padding:5px 9px;border-radius:2px;background:#e6ecf1;color:#647a88}.jp-masthead__nav{display:flex;flex-wrap:nowrap;flex-grow:1;flex-shrink:0;text-align:left;margin-top:.375rem;padding:.25rem 0}.jp-masthead__nav .dops-button-group{flex-grow:1;align-self:center;font-size:0}@media(max-width: 480px){.jp-masthead__nav{text-align:right}}#sandbox-domain-badge{background:#d63638;text-transform:uppercase;letter-spacing:.2em;text-shadow:none;font-size:9px;font-weight:bold;cursor:pointer;color:#fff}.jp-module-settings__external-link{font-size:.875rem}.jp-module-settings__read-more{clear:both;margin-top:1rem}@media(min-width: 481px){.jp-module-settings__read-more{margin-top:2rem}}.jp-module-settings__read-more .dops-button.is-compact.is-borderless,.jp-module-settings__read-more .jp-module-settings__more-text{vertical-align:middle}.jp-related-posts-preview{position:relative;margin-top:.5rem;padding:1rem .5rem;width:100%;background:#f6f6f6;box-sizing:border-box;box-shadow:none}.jp-related-posts-settings__preview-label{margin-bottom:.5rem;margin-top:1.5rem;font-size:.875rem;font-weight:600}.jp-related-posts-preview__title{margin:0 .5rem .6875rem 0;font-size:.6875rem;font-weight:600}.jp-related-posts-preview__post-title{font-size:.9375rem;font-weight:400;margin:0}.jp-related-posts-preview__post-context{font-size:.9375rem;opacity:.6;margin:0}.jp-related-posts-preview__item{box-sizing:border-box;display:inline-block;width:33.33%;padding:.5rem;vertical-align:top}@media(max-width: 480px){.jp-related-posts-preview__item{width:100%}}.jp-related-posts-preview__item img{max-width:100%;margin-bottom:.5rem}.jp-support-card{margin-top:1rem;margin-bottom:0}.jp-support-card__description{font-size:.875rem;line-height:1.65}.jp-support-card__description:first-of-type{margin-top:4px}.jp-support-card__description:last-of-type{margin-bottom:0}.jp-support-card__description .dops-button{margin:0 0 0 16px}@media(max-width: 960px){.jp-support-card__description .dops-button{margin:0 0 8px 16px}}.jp-support-card__link{font-style:italic}@media(max-width: 660px){.jp-support-card__link{display:block;width:100%;padding:.625rem 0;border-top:1px rgba(213,213,213,.5) solid}.jp-support-card__link:first-letter{text-transform:capitalize}.jp-support-card__link:first-of-type{border-top:0}}.jp-support-card__happiness{margin-bottom:0;display:flex;flex-flow:row nowrap}@media(max-width: 660px){.jp-support-card__happiness .jp-support-card__description:first-of-type{margin-bottom:1rem}}.jp-support-card__social{background-color:#fbfbfb;padding:1rem}@media(max-width: 660px){.jp-support-card__social{background:#fff;margin-top:1rem;padding:0 1rem}}.jp-support-card__header{font-weight:400;font-size:1.25rem;margin:0}.jp-support-card__happiness-contact{flex-shrink:1;flex-grow:1}.jp-form-legend,.jp-form-label-wide{padding:1rem 0 .3125rem;font-size:.875rem;font-weight:600}.jp-form-label{display:block;font-size:.875rem;line-height:1.5;margin-bottom:.3125rem}.jp-form-label-wide{padding:.5rem 0;display:block}.jp-form-label input[type=radio]+span{font-weight:normal;margin-right:8px}.jp-form-button{margin-top:1rem}@media(min-width: 481px){.jp-form-button{position:absolute;left:1rem;bottom:1rem}}.jp-form-toggle-explanation{font-size:.875rem;word-break:break-word;vertical-align:baseline}.jp-form-toggle-explanation .jp-form-toggle-privacy-info{margin-right:.3125rem;padding-right:.3125rem;border-right:1px solid rgba(162,162,162,.5)}.jp-form-fieldset{clear:both;position:relative}.jp-form-fieldset .jp-form-legend+.jp-form-setting-explanation{margin-top:0;margin-bottom:.5rem}.jp-form-input-with-prefix{display:inline-flex;width:100%;margin-bottom:1.5rem}.jp-form-input-with-prefix span:first-child{min-width:3.75rem;text-align:center;background:#f6f6f6;border:1px solid #c8d7e1;color:#4f748e;padding:.5rem .875rem;white-space:nowrap}@media(max-width: 660px){.jp-form-input-with-prefix span:first-child{display:block;text-align:right}}.jp-form-input-with-prefix input[type=text]{width:100%}@media(min-width: 661px){.jp-form-input-with-prefix input[type=text]{border-right:0}}@media(max-width: 660px){.jp-form-input-with-prefix input[type=text]{border-top:0}}@media(max-width: 660px){.jp-form-input-with-prefix{display:block;box-sizing:border-box}}.jp-form-input-suffix{text-align:center;background:#f6f6f6;border:1px solid #c8d7e1;color:#4f748e;padding:.5rem .875rem;white-space:nowrap;flex:1 0 auto;display:flex}button.jp-form-input-suffix{background:initial;border-radius:0}.jp-form-has-child{margin-bottom:1.5rem}.jp-form-has-child:last-child{margin-bottom:0}.jp-form-has-child>.jp-form-fieldset,.jp-form-has-child>.jp-form-setting-explanation{margin-right:2.25rem}.jp-form-has-child>.jp-form-fieldset{margin-bottom:1rem}.jp-form-block-fade{position:absolute;top:0;right:0;z-index:1;background:rgba(255,255,255,.8);width:100%;height:100%}.jp-form-offlinemode-message.is-compact{width:100%;padding:0 1rem;position:absolute;top:-24px;z-index:1}.jp-form-textarea-wide{width:100%}.react-tagsinput{border:1px solid #e9eff3;padding:.15625rem}.react-tagsinput--focused{border-color:#3582c4}.react-tagsinput-tag{background-color:#00aadc;border-radius:2px;border:1px solid #0087be;color:#fff;display:inline-block;font-size:13px;padding:.125rem .5rem .1875rem .375rem;margin:.15625rem;transition:background-color .2s ease-out}.react-tagsinput-tag:hover{background-color:#26b7e2}.react-tagsinput-remove{cursor:pointer;font-weight:bold;transition:color .2s ease-out}.react-tagsinput-remove:hover{color:#caf3ff}.react-tagsinput-tag a::before{content:" ×"}input[type=text].react-tagsinput-input{width:9.375rem;height:1.875rem;margin:0;padding:.3125rem;font-size:13px;vertical-align:middle;border:none;box-shadow:none}input[type=text].react-tagsinput-input::-ms-clear{display:none}.jetpack-pagestyles .vp-notice,.jetpack-pagestyles .woocommerce-message,.jetpack-pagestyles .wc-connect{display:none}.jetpack-pagestyles .vp-notice-jp a{text-decoration:underline}.jetpack-pagestyles .woocommerce-message.dops-notice{display:block;padding:0}.jetpack-pagestyles .woocommerce-message.dops-notice::before{content:""}.jetpack-pagestyles .woocommerce-message.dops-notice .submit{padding:0}.jetpack-pagestyles .woocommerce-message.dops-notice .notice-dismiss::before{display:none}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>div{max-width:620px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>a{margin-left:15px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__moved_text{margin-bottom:5px}.jetpack-pagestyles .dops-notice__action.notice-dismiss{height:100%}.jp-inline-expand.dops-card{box-shadow:none;padding:0}.jp-inline-expand .jp-inline-expand-action{font-size:.875rem;cursor:pointer}.jp-inline-expand .jp-inline-expand-action .gridicon{transition:transform .15s cubic-bezier(0.175, 0.885, 0.32, 1.275),color .5s ease-in;vertical-align:text-bottom;display:inline-block;margin:0 5px}.jp-inline-expand.is-expanded .jp-inline-expand-action .gridicon{transform:rotate(-180deg)}.jp-inline-expand.is-expanded .jp-inline-expand-content{padding:16px 0 0}.form-toggle.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:before,.form-toggle.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:after{right:8px}.form-toggle.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:before,.form-toggle.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:after{right:0}.dops-section-nav-tab__text .gridicon{vertical-align:middle;margin:0 5px 2px 0}.jp-settings-card__configure-link{display:flex;margin-bottom:0}.jp-form-settings-card{margin-bottom:1.5rem;font-size:.875rem}.jp-form-settings-card+.jp-at-a-glance__stats-card{margin-bottom:1.5rem}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header{color:#444}@media(min-width: 481px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header{padding-right:1.5rem}}.jp-form-settings-card .dops-foldable-card .form-toggle__switch{float:right;margin-top:.125rem}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header-text{font-size:.875rem}.jp-form-settings-card .dops-foldable-card.jp-foldable-settings-disable .dops-foldable-card__header{color:#dadada}@media(min-width: 481px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__main{max-width:85%}}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__action{left:.625rem}@media(max-width: 480px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__action{left:.0625rem}}.jp-form-settings-card .dops-foldable-card .jp-support-info{left:-1.3125rem;top:.4375rem}@media(max-width: 480px){.jp-form-settings-card .dops-foldable-card .jp-support-info{left:-1.875rem}}.jp-form-settings-card .dops-foldable-card .jp-form-legend:first-child,.jp-form-settings-card .dops-foldable-card .jp-form-label-wide:first-child{padding-top:.4375rem}@media(min-width: 481px){.jp-form-settings-card .dops-foldable-card__header{padding-top:1.75rem;padding-bottom:1.75rem}}.jp-foldable-settings-standalone .dops-foldable-card__header-text{font-size:.875rem}@media(min-width: 481px){.jp-foldable-settings-standalone .dops-foldable-card__header,.jp-foldable-settings-standalone.dops-card.is-expanded .dops-foldable-card__content{padding-right:1.5rem;padding-left:1.5rem}.jp-foldable-settings-standalone .dops-foldable-card__action{left:.625rem}.jp-foldable-settings-standalone .jp-form-settings-group .jp-support-info{left:.125rem;top:0}}@media(max-width: 480px){.jp-foldable-settings-standalone .jp-form-settings-group .jp-support-info{left:-1.9375rem;top:.375rem}}.jp-banner__no-border{border-right:none !important}.jp-banner__no-border .dops-banner__icon-circle{background:none !important;padding:0 3px 0 0}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon{width:28px;height:28px}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-info{color:#0087be}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-notice{color:#f0b849}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-checkmark-circle{color:#4ab866}.jp-banner__no-border .dops-banner__description{font-size:.875rem;line-height:1.65;color:#537994;margin-top:0}.jp-form-settings-group{position:relative;margin-bottom:0}.jp-form-settings-group p{font-size:.875rem;margin-top:0;margin-bottom:1.5rem}.jp-form-settings-group fieldset p:last-child{margin-bottom:8px}.jp-form-settings-group .form-toggle__label{margin-top:.25rem;margin-bottom:.25rem}.jp-form-settings-group .form-toggle__switch{float:right;margin-top:2px}.jp-form-settings-group .jp-form-setting-explanation{color:#747474;display:block;margin:.3125rem 0 .3125rem .875rem;font-size:.875rem;font-style:italic;font-weight:400;word-break:break-word}.jp-form-settings-group .jp-form-setting-explanation+.dops-card{margin-top:1rem}.jp-form-settings-group .jp-form-setting-explanation.is-warning{color:#d94f4f}.jp-form-settings-group .jp-form-setting-explanation a{text-decoration:underline}.dops-foldable-card .jp-form-settings-group{padding-bottom:16px}.jp-form-settings-group .dops-card{padding-left:3rem}@media(max-width: 480px){.jp-form-settings-group .jp-support-info{left:1rem;top:1.25rem}}.jp-form-settings-group .jp-support-info+p{margin-top:2px}.jp-form-settings-group .jp-support-info+span{padding-top:2px;display:block}.jp-form-settings-group .form-toggle__switch{float:right;margin-top:2px}.jp-form-settings-group>.dops-card:first-child{margin-bottom:0}.dops-foldable-card .jp-form-settings-group .dops-card{padding:0;box-shadow:none}.jp-form-settings-group.foldable-wrapper>.dops-card{padding:0}.jp-apps-card{margin-top:4rem;margin-bottom:0}.jp-apps-card__content{margin-bottom:0}.jp-apps-card__content.dops-card{padding:0}.jp-apps-card__content a:not(.dops-button){font-style:italic}.jp-apps-card__dismiss{position:absolute;top:8px;left:8px}.jp-apps-card__dismiss.dops-button.is-compact{padding:8px 8px 2px 8px}.jp-apps-card__top{padding:3.75rem 0 0;background:#fff;text-align:center}.jp-apps-card__top img{max-width:26%;padding-top:10px}.jp-apps-card__description{max-width:80%;margin:0 auto;padding:.625rem 1.5rem 1.5rem;line-height:1.65;color:#000;text-align:center}.jp-apps-card__description .dops-button{margin:8px 0}.jp-apps-card__paragraph{font-size:1rem}.jp-apps-card__header{margin-top:0;margin-bottom:.3125rem;font-size:1.25rem;font-weight:500}.jp-apps-card__promo_subhead{margin-top:0;font-style:italic}.jp-apps-card__apps-badges{display:flex;flex-direction:row;justify-content:center;align-items:center}@media(max-width: 480px){.jp-apps-card__apps-badges{flex-direction:column}.jp-apps-card__apps-badges .apps-badge:first-child{margin-left:0}.jp-apps-card__apps-badges .apps-badge:last-child{margin-top:1rem}}.jp-themes-card{margin-bottom:1.25rem}.jp-dialogue-full__container{box-sizing:border-box;position:absolute;top:0;left:0;bottom:0;right:0;z-index:100;background:rgba(246,246,246,.95);text-align:center;padding:2rem;height:100%}.jp-dialogue{text-align:center;max-width:37.5rem;margin:0 auto 2rem;overflow:hidden}@media(max-width: 660px){.jp-dialogue{text-align:right}}.jp-dialogue p{font-size:.875rem;color:#747474}.jp-dialogue img{max-width:100%}.jp-dialogue p+img{margin:2rem 0 1rem}.jp-dialogue .dops-card{margin-bottom:0}.jp-dialogue .jp-dialogue-card__below{text-align:right}.jp-dialogue-full__dismiss{cursor:pointer;position:absolute;left:-10px;top:-10px;fill:#a2a2a2;padding:1rem;height:1.5rem;width:1.5rem}.jp-dialogue__title{font-weight:300;text-align:center;font-size:1.5rem;margin-bottom:2rem}.jp-dialogue__note,a.jp-dialogue__note{margin:0;padding:1rem 0 0;font-size:.875rem;clear:both;font-style:italic}.jp-dialogue-full__svg-jupiter{position:absolute;left:0;top:5rem;opacity:.9}.jp-dialogue-full__svg-stars{position:absolute;right:6.25rem;top:6.25rem;opacity:.9}.jp-dialogue__cta-container{padding:.5rem 0 0}.jp-dialogue__cta-container .dops-button{margin:0 .5rem}.jp-upgrade-notice__content .jp-upgrade-notice__enable-module .jp-form-has-child{padding-right:30px}.jp-upgrade-notice__content .jp-upgrade-notice__enable-module .jp-form-has-child .jp-form-fieldset{margin-bottom:.4rem}.jp-upgrade-notice__enable-module{margin-bottom:calc(1em + 8px)}.jp-upgrade-notice__enable-module .jp-form-settings-group{margin:0px auto;max-width:400px;text-align:right}.jp-upgrade-notice__enable-module .jp-form-has-child{padding:10px;padding-left:30px}.jp-upgrade-notice__enable-module .jp-support-info{top:.9375rem;left:.9375rem}.jp-dialogue-modern-full__container{box-sizing:border-box;position:fixed;top:0;left:0;bottom:0;right:0;z-index:1000;background:rgba(246,246,246,.95);padding:1rem 0 0 0;height:100%;overflow:auto}@media(min-width: 961px){.jp-dialogue-modern-full__container{padding:2rem;right:160px}}body.jp-dialogue-modern-showing{overflow:hidden}.jp-dialogue-modern{max-width:18.75rem;margin:2rem auto;overflow:hidden;position:relative;background-color:#fff;box-shadow:0 5px 24px 0 rgba(0,0,0,.13)}.jp-dialogue-modern p{font-size:1rem;color:#000;text-align:right}.jp-dialogue-modern img{text-align:center;max-width:100%}.jp-dialogue-modern li{text-align:right;list-style:disc outside none;margin:1rem;font-size:1rem;color:#000}.jp-dialogue-modern p+img{margin:2rem 0 1rem}.jp-dialogue-modern .dops-card{margin-bottom:0}.jp-dialogue-modern .jp-dialogue-modern-card__below{text-align:right}.jp-dialogue-modern figure{margin:0;margin-bottom:12px}.jp-dialogue-modern figure figcaption{text-align:center}.jp-dialogue-modern a :not(.wp-block-button__link){text-decoration:underline}.jp-dialogue-modern-full__dismiss{cursor:pointer;position:absolute;left:-16px;top:-16px;fill:#2c3338;padding:1rem;height:2rem;width:2rem}.jp-dialogue-modern.has-featured-image .jp-dialogue-modern-full__dismiss{fill:#dcdcde}h1.jp-dialogue-modern__title{font-weight:600;text-align:right;font-size:1.5rem;margin:0 0 2rem 0}.jp-dialogue-modern__content{background:#fff;padding:32px 32px}.jp-dialogue-modern__cta-container{text-align:center;line-height:200%;padding:.5rem 0 0}.jp-dialogue-modern__cta-container .dops-button{margin:0 .5rem}.jp-dialogue-modern__note,a.jp-dialogue-modern__note{margin:0;padding:1rem 0 0;font-size:.875rem;clear:both;font-style:italic}.jp-dialogue-modern-full__svg-jupiter{position:absolute;left:0;top:5rem;opacity:.9}.jp-dialogue-modern-full__svg-stars{position:absolute;right:6.25rem;top:6.25rem;opacity:.9}.jetpack-about__link-back,.jetpack-about__main,.jetpack-about__plugin{background-color:#fff;border:1px solid #dcdcde}.jetpack-about__main,.jetpack-about__colophon{font-size:14px}.jetpack-about__main p,.jetpack-about__colophon p{font-size:14px}.jetpack-about__link-back{padding:16px 16px 13px;border-bottom:none}.jetpack-about__link-back a{color:#787c82;font-size:.75rem}.jetpack-about__link-back a:hover,.jetpack-about__link-back a:active{color:#2f3032}.jetpack-about__link-back a svg{fill:#787c82;height:24px;margin-left:4px;margin-top:-3px;vertical-align:middle;width:24px}.jetpack-about__main{padding:36px}.jetpack-about__logo{width:265px}@media screen and (max-width: 400px){.jetpack-about__logo{width:100%}}.jetpack-about__content{display:flex}@media screen and (max-width: 782px){.jetpack-about__content{flex-wrap:wrap}}.jetpack-about__text{order:1}.jetpack-about__text p{font-size:1rem;line-height:1.6}.jetpack-about__text p:last-child{margin-bottom:0}.jetpack-about__images{text-align:center;margin-right:48px;order:2}@media screen and (max-width: 782px){.jetpack-about__images{margin-right:0;order:0;text-align:right;width:100%}}.jetpack-about__images .meet-the-team{margin-bottom:0;text-align:center}.jetpack-about__gravatars{display:flex;flex-wrap:wrap;width:320px}@media screen and (max-width: 450px){.jetpack-about__gravatars{max-width:320px;width:100%}}.jetpack-about__gravatars li{margin-bottom:0;width:25%}.jetpack-about__gravatars li img{max-width:80px;vertical-align:top;width:100%;height:100%}.jetpack-about__colophon{margin-bottom:3rem}.jetpack-about__colophon h3{margin-top:2.4375rem}.jetpack-about__services-more{margin-top:1.5em;text-align:center}.jetpack-about__services{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px}.jetpack-about__plugin{margin-bottom:0}.jetpack-about__plugin .plugin-card-top{padding:20px 20px 15px;position:relative}.jetpack-about__plugin .plugin-card-top .name,.jetpack-about__plugin .plugin-card-top .desc,.jetpack-about__plugin .plugin-card-top .details-link{margin-right:148px}.jetpack-about__plugin .plugin-card-top .name h3{margin-top:0}.jetpack-about__plugin .plugin-card-top .details-link{font-weight:500}.jetpack-about__plugin .plugin-card-bottom{align-items:center;background-color:#fff;display:flex;flex-wrap:wrap;justify-content:space-between}.jetpack-about__plugin .plugin-card-bottom .meta{margin-left:1em}.jetpack-about__plugin .plugin-card-bottom .num-ratings{display:inline-block}.jetpack-about__plugin .plugin-card-bottom .action-buttons{clear:none;float:none;margin:.5em 0}.jetpack-about__plugin .plugin-card-bottom .action-buttons li:last-child{margin-bottom:0}.mobile-magic-link__button{cursor:pointer}.mobile-magic-link__modal__body{margin:0;padding:1.5rem 2rem;font-size:.875rem;color:#2e4453;text-align:center}.mobile-magic-link__modal__body h2{margin:2rem 0 1.5rem;font-size:2rem;font-weight:300;color:#2e4453}.mobile-magic-link__modal__body h4{margin:1rem 1.5rem 0;font-size:1rem;font-weight:400;line-height:1.5em;color:#668eaa}.mobile-magic-link__modal-actions{margin:2rem 0}.mobile-magic-link__modal-actions .mobile-magic-link__modal-cancel{margin-left:1em}.jp-at-a-glance{margin-bottom:3rem}.jp-at-a-glance__stats-card{padding:0}.jp-at-a-glance__stats-empty{text-align:center;margin-bottom:0}.jp-at-a-glance__stats-empty p{font-size:.875rem;color:#747474}.jp-at-a-glance__stats-inactive{padding:1rem}@media(min-width: 661px){.jp-at-a-glance__stats-inactive{display:flex;flex-wrap:nowrap;flex-direction:row;align-items:center}}@media(max-width: 660px){.jp-at-a-glance__stats-inactive-icon{display:none}}@media(min-width: 661px){.jp-at-a-glance__stats-inactive-icon{flex-basis:10%}}.jp-at-a-glance__stats-inactive-text{font-size:.875rem;line-height:1.5}@media(max-width: 660px){.jp-at-a-glance__stats-inactive-text{padding:0 0 1rem}}@media(min-width: 661px){.jp-at-a-glance__stats-inactive-text{flex-basis:50%;padding:0 1rem}}.jp-at-a-glance__stats-inactive-button{text-align:right}@media(min-width: 661px){.jp-at-a-glance__stats-inactive-button{flex-basis:40%;text-align:left}}.jp-at-a-glance__stats-chart{padding:1rem;position:relative}.jp-at-a-glance__stats-chart .components-spinner{position:absolute;top:50%;right:50%;transform:translate(50%, -50%)}.jp-at-a-glance__stats-bottom{margin:2rem 0 0}@media(max-width: 480px){.jp-at-a-glance__stats-bottom{box-shadow:0 0 0 1px #c3c4c7}}.jp-at-a-glance__stats-summary{text-align:center;border-bottom:1px #c3c4c7 solid}@media(min-width: 661px){.jp-at-a-glance__stats-summary{flex-wrap:nowrap;display:flex;flex-direction:row}}@media(max-width: 660px){.jp-at-a-glance__stats-summary{display:block}}.jp-at-a-glance__stats-summary-today,.jp-at-a-glance__stats-summary-bestday{flex-basis:25%;padding:1rem;box-shadow:0 0 0 1px #c3c4c7}@media(max-width: 660px){.jp-at-a-glance__stats-summary-today{margin-top:-0.0625rem}}@media(min-width: 661px){.jp-at-a-glance__stats-summary-bestday{margin:0 .0625rem}}@media(max-width: 660px){.jp-at-a-glance__stats-summary-bestday,.jp-at-a-glance__stats-summary-alltime{margin-top:.0625rem}}.jp-at-a-glance__stats-summary-alltime{flex-basis:50%;padding:1rem;box-shadow:0 0 0 1px #c3c4c7}@media(min-width: 661px){.jp-at-a-glance__stats-summary-alltime{max-width:50%;display:flex;flex-grow:1;flex-shrink:1}}.jp-at-a-glance__stats-alltime-views,.jp-at-a-glance__stats-alltime-comments{flex-basis:50%}.jp-at-a-glance__stats-cta{padding:1rem;background-color:#fbfbfb}@media(min-width: 661px){.jp-at-a-glance__stats-cta{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center}}@media(max-width: 660px){.jp-at-a-glance__stats-cta{display:block}}@media(min-width: 661px){.jp-at-a-glance__stats-cta-description{flex-basis:30%}}.jp-at-a-glance__stat-details{margin:0;font-size:.875rem}.jp-at-a-glance__stat-number{font-size:1.5rem;font-weight:400;margin:.5rem 0}.jp-at-a-glance__stats-ctas{display:flex;flex-direction:row;align-items:center;justify-content:flex-end}@media(min-width: 661px){.jp-at-a-glance__stats-ctas{text-align:left;flex-basis:70%}}@media(max-width: 660px){.jp-at-a-glance__stats-ctas{text-align:center;flex-direction:column}.jp-at-a-glance__stats-ctas .dops-button{width:100%;margin-bottom:.25rem}}.jp-at-a-glance__stats-ctas .dops-button{text-align:center;margin:.25rem;margin-left:.5rem}.jp-at-a-glance__stats-views{margin-top:0;margin-bottom:0}.jp-at-a-glance__stats-view{display:inline-block;margin-top:0;margin-bottom:0;margin-right:1rem}.jp-at-a-glance__stats-view:focus{outline:0}@media(max-width: 480px){.jp-at-a-glance__stats-view{margin-right:0;margin-left:1rem}}.jp-at-a-glance__stats-view-link,.jp-at-a-glance__stats-view-link:visited{color:#a2a2a2;text-decoration:underline}.jp-at-a-glance__stats-view-link.is-current,.jp-at-a-glance__stats-view-link:visited.is-current,.jp-at-a-glance__stats-view-link:focus.is-current,.jp-at-a-glance__stats-view-link:visited.is-current,.jp-at-a-glance__stats-view-link:visited:visited.is-current,.jp-at-a-glance__stats-view-link:visited:focus.is-current{color:#1d2327;text-decoration:none}.jp-at-a-glance__stats-view-link:focus{outline:0;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8)}.jp-at-a-glance__item-grid{display:flex}@media(max-width: 660px){.jp-at-a-glance__item-grid{display:block}}.jp-at-a-glance__left,.jp-at-a-glance__right{display:flex;min-width:0}@media(min-width: 661px){.jp-at-a-glance__left,.jp-at-a-glance__right{flex-basis:50%;margin-bottom:1rem}}@media(max-width: 660px){.jp-at-a-glance__left,.jp-at-a-glance__right{margin-bottom:.75rem}}.jp-at-a-glance__left>div,.jp-at-a-glance__left .jp-dash-item,.jp-at-a-glance__right>div,.jp-at-a-glance__right .jp-dash-item{min-width:0;flex-grow:1;display:flex;flex-direction:column}.jp-at-a-glance__left>div,.jp-at-a-glance__right>div{flex-basis:100%}.jp-at-a-glance__left .jp-dash-item .dops-card,.jp-at-a-glance__right .jp-dash-item .dops-card{flex-grow:1}.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact{flex-grow:0}.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact a.dops-notice__action,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact a.dops-notice__action{margin-right:0;padding-right:0}@media(max-width: 480px){.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact a.dops-notice__action,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact a.dops-notice__action{text-transform:none}}.jp-at-a-glance__left .jp-dash-item__card,.jp-at-a-glance__right .jp-dash-item__card{display:flex}.jp-search-config-aag{width:100%}.jp-at-a-glance__left{display:flex}@media(min-width: 661px){.jp-at-a-glance__left{margin-left:1rem}.jp-at-a-glance__left:last-child{flex-basis:calc( 50% - 0.5rem )}}.dops-chart__tooltip .tip-arrow{display:none}.jp-connection-type .jp-dash-item__card{align-items:flex-start}.jp-connection-settings__info{display:flex}.jp-connection-settings__actions{margin:1em 0 0}.jp-connection-settings__actions a{cursor:pointer}.jp-connection-settings__text{margin-right:1rem;word-break:break-word}.jp-connection-settings__info .gridicon{opacity:.6}.jp-connection-settings__info .gridicon,.jp-connection-settings__info .jp-connection-settings__site-icon{background:#c8d7e1;color:#fff;min-width:4rem}.jp-connection-settings__info .jp-connection-settings__gravatar{display:inline-block;min-width:4rem;background:#a2a2a2;border-radius:50%;margin-bottom:0}.jp-connection-settings__username{font-weight:600}.jp-connection-settings__email{color:#a2a2a2;font-size:.875rem;font-style:italic;font-weight:400}.jp-connection-settings__modal.dops-modal{max-width:635px;min-height:400px}@media(min-width: 661px){.jp-connection-settings__modal.dops-modal{min-height:auto}}.jp-connection-settings__modal-body{margin:0;padding:1.5rem 2rem;font-size:.875rem;color:#2e4453;text-align:center}.jp-connection-settings__modal-body h2{margin:2rem 0 1.5rem;font-size:2rem;font-weight:300;color:#2e4453}.jp-connection-settings__modal-body h4{margin:1rem 1.5rem 0;font-size:1rem;font-weight:400;line-height:1.5em;color:#668eaa}.jp-connection-settings__modal-body p{font-size:.875rem}.jp-connection-settings__modal-body ul{margin:1.5rem 0 2.25rem;color:#537994}.jp-connection-settings__modal-body li{position:relative;display:block;margin:0;padding:1rem 2.75rem 1rem .5rem;border-bottom:1px solid #e1e1e1;text-align:right}.jp-connection-settings__modal-body li:first-of-type{border-top:1px solid #e1e1e1}.jp-connection-settings__modal-body .gridicon{position:absolute;right:1rem;top:1rem;vertical-align:text-bottom;color:#537994}.jp-connection-settings__modal-cancel{margin-left:1em}.jp-connection-settings__modal-more a{color:#0087be;text-decoration:underline}.jp-dash-item__manage-in-wpcom{margin-top:1px;width:100%}.jp-dash-item .dops-banner.dops-banner{width:100%;margin-bottom:0}.jp-dash-item__videopress .jp-dash-item__card{flex-direction:column}.jp-dash-item__videopress-storage{margin-top:1em}.jp-landing__plans{margin-bottom:32px}.jp-landing__plans .dops-button{margin-left:10px}.jp-landing__card-header{margin-top:0;font-size:1rem;color:#6f6f6f}.jp-landing__licensing-actions{display:flex;align-items:center;justify-content:center}@media(max-width: 660px){.jp-landing__licensing-actions span{display:none}}@media(min-width: 481px){.jp-landing__licensing-actions{justify-content:space-between}}.jp-landing__licensing-actions .jp-landing__licensing-actions-item{display:flex;flex-direction:column;align-items:center;text-align:center}@media(min-width: 481px){.jp-landing__licensing-actions .jp-landing__licensing-actions-item{flex-direction:row}}@media(max-width: 660px){.jp-landing__licensing-actions .jp-landing__licensing-actions-item{justify-content:space-between;flex:1}}.jp-landing__licensing-actions .jp-landing__licensing-actions-item .dops-button{margin-left:0}.jp-landing__licensing-actions .jp-landing__licensing-actions-item.no-licenses{justify-content:space-between;flex:1}.jp-landing__licensing-actions .jp-landing__licensing-actions-item.no-licenses{justify-content:flex-end}.all-purchases__link{display:inline-block;box-sizing:border-box;padding:7px 0 9px 20px}@media(max-width: 480px){.all-purchases__link{padding:0px;margin-bottom:15px}}.jp-landing__plan-features-header-recommendations-cta-container{order:30;align-self:center;display:flex;justify-content:flex-end}.jp-landing__plan-features-header-recommendations-cta-container .dops-button{margin-left:0}.jp-landing__plan-features-card{display:flex;flex-basis:32%;flex-wrap:nowrap;flex-grow:1;box-sizing:border-box;margin:.5rem;background-color:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04)}.jp-landing__plan-features-card:last-child{max-width:100%}.is-loading .jp-landing__plan-features-card{width:49.5%}@media(min-width: 661px){.jp-landing__plan-features-card{margin-bottom:1%}}@media(max-width: 660px){.jp-landing__plan-features-card{max-width:100%;margin-bottom:.5rem}}@media(min-width: 481px){.jp-landing__plan-features-card{padding:2rem}}@media(max-width: 480px){.jp-landing__plan-features-card{padding:1rem}}.jp-landing__plan-features-list{list-style:initial;margin-right:1rem}.jp-landing__plan-features-img{width:5.625rem;margin-left:.5rem;line-height:1}@media(min-width: 961px){.jp-landing__plan-features-img{width:7.5rem;margin-left:1.125rem}}.jp-landing__plan-features-icon{display:block;margin-right:-0.5rem}@media(min-width: 481px){.jp-landing__plan-features-icon{margin-right:-1rem}}.jp-landing__plan-features-text{flex:1;font-size:.875rem}.jp-landing__plan-features-title{margin:0;font-size:1.25rem}.jp-landing__plan-features{display:flex;flex-wrap:wrap;flex-direction:row;align-items:stretch;justify-content:space-between;margin-bottom:2rem;margin-right:-0.5rem;margin-left:-0.5rem}@media(max-width: 660px){.jp-landing__plan-features{display:block}}.jp-landing__plan-features-title.is-placeholder{height:1.5rem;max-width:50%}.jp-landing__plan-features-text.is-placeholder{height:2.75rem;max-width:75%}.jp-landing__plan-features-link{width:100%}@media(min-width: 661px){.jp-landing__plan-features-link{text-align:center}}.jp-landing__plan-features-header-jetpack-license .dops-button{margin-top:16px;margin-left:0px;float:left}.jp-form-fieldset>.jp-form-search-setting-explanation{margin-right:2.25rem}.media__videopress-storage{margin-bottom:1.5rem;max-width:50%}.jp-recommendations-question__main{min-height:480px;box-shadow:0px 2px 6px rgba(0,0,0,.03),0px 1px 2px rgba(0,0,0,.03);border:1px solid #d5d5d5;background:#fff}.jp-recommendations-question__main--with-illustration{display:grid;grid-template-columns:55% 45%;background:linear-gradient(-120deg, white 0%, white 55%, #c5d9ed 55%)}@media(max-width: 660px){.jp-recommendations-question__main--with-illustration{grid-template-columns:100% 0%;background:#fff}}.jp-recommendations__loading{padding-top:48px}.dops-search__input[type=search]{width:100%}.jp-settings-container .jp-no-results{display:none;font-size:.875rem;line-height:1.5}.jp-settings-container .jp-no-results:last-of-type{display:inherit}@media(max-width: 480px){.dops-search.is-expanded-to-container{height:46px}}.dops-card.jp-settings-description{margin:24px 0 8px;padding:0;background:none;box-shadow:none;border:none}.jp-form-google-label-unverified .dops-button{margin:0 15px}@media(max-width: 660px){.jp-form-google-label-unverified .dops-button{margin-top:10px;width:40%}}.jp-form-google-label-unverified .jp-form-google-separator{padding:.5rem 0}@media(max-width: 660px){.jp-form-google-label-unverified .jp-form-google-separator{margin:25px 0 0;display:inline-block}}.jp-sitemap-row{display:flex;align-items:center;margin-top:1rem}.jp-sitemap-row .dops-clipboard-button-input{flex-grow:1}.jp-form-input-with-prefix-bottom-message{top:-1.25rem;position:relative;line-height:2em;margin-top:5px}.jp-form-site-verification-verified{background-color:#fff;color:#069e08;box-sizing:border-box;margin:0;padding:7px 14px;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;width:100%;display:flex;flex-direction:row;justify-content:left;align-items:center}.jp-form-site-verification-verified .gridicon:first-child{margin-left:5px}@media(min-width: 661px){.jp-form-site-verification-verified{border-right:0}}@media(max-width: 660px){.jp-form-site-verification-verified{border-top:0}}.jp-form-site-verification-edit-button{margin-right:10px;overflow:visible}@media(max-width: 660px){.jp-form-site-verification-edit-button{margin-right:0;margin-left:5px;margin-top:5px}}.jp-form-site-verification-buttons{flex:0 1 20em;display:inline-flex}.jp-form-site-verification-verified-note{font-size:.7em}.jp-form-google-label-unverified-actions{display:flex;align-content:center}.jp-form-google-label-unverified-actions .dops-button{margin-right:10px;margin-left:10px;padding-right:7px;padding-left:7px}#jp-seo-front-page-description{min-height:96px}.jp-seo-front-page-description-card{margin-bottom:0 !important}.jp-seo-front-page-description-container{background:#f6f6f6;border-radius:4px}.jp-seo-front-page-description-count{padding:.25rem}.jp-seo-front-page-description-count-warn{background-color:#f0b849;font-weight:700;border-radius:4px}.jp-seo-front-page-description-count-max{background-color:#d94f4f;font-weight:700;border-radius:4px;color:#fff}.jp-seo-front-page-description-save-button{float:left;margin-top:.75rem}.jp-seo-social-previews .search-preview,.jp-seo-social-previews .facebook-preview,.jp-seo-social-previews .twitter-preview{margin-top:1rem;margin-bottom:1rem}.jp-seo-social-previews-container{display:flex;align-items:center;margin-top:1rem}.jp-seo-social-previews-label{font-weight:600;margin-right:.5rem}.jp-seo-custom-titles-card{margin-bottom:0 !important}.jp-seo-custom-titles-input[type=text]{margin-top:.25rem}.jp-seo-custom-titles-input-controls{display:flex;align-items:flex-end;flex-wrap:wrap;margin-top:.5rem}.jp-seo-custom-titles-input-controls .jp-form-label{margin-bottom:0;font-weight:600}.jp-seo-custom-titles-input-label{margin-left:auto}.jp-seo-custom-titles-input-button::before{content:"+";margin-left:4px}.jp-seo-custom-titles-input-button:not(:first-of-type){margin-right:.5rem}.jp-seo-custom-titles-input-preview{margin-top:.25rem;font-style:italic}.jp-seo-custom-titles-save-button{float:left;margin-top:.75rem}
-/*# sourceMappingURL=style.min.rtl.css.map */
+@charset "UTF-8";@media (max-width:660px){.jp-hidden-on-mobile{display:none}}.wp-admin.toplevel_page_jetpack{background-color:#f6f6f6;height:auto;line-height:1.4}.jetpack-pagestyles #wpcontent{padding-right:0}.jetpack-pagestyles{font-size:.875rem}.jetpack-pagestyles a{text-decoration:none}.jetpack-pagestyles #dolly{background:#fff;border-bottom:1px solid #eee;color:#a2a2a2;float:none;font-size:.75rem;font-style:italic;left:0;padding:.625rem;position:relative;right:0;text-align:left;top:0}@media (max-width:660px){.jetpack-pagestyles #dolly{display:none}}.dops-notice__text a{text-decoration:underline}.toplevel_page_jetpack ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#f6f6f6}.jp-lower{margin:0 auto;max-width:65rem;padding:1.5rem;text-align:right}.jp-lower.jp-licensing-screen{max-width:70.5rem}.jp-lower.jp-main-connect-screen,.jp-lower.jp-user-connect-screen{box-sizing:content-box;max-width:70.5rem}@media (max-width:1250px){.jp-lower{max-width:95%}}#contextual-help-link-wrap{display:none}.is-placeholder{animation:pulse-light .8s ease-in-out infinite;background:#d5d5d5}@keyframes pulse-light{50%{background-color:#eee}}.blur{-moz-filter:blur(5px);-o-filter:blur(5px);-ms-filter:blur(5px);filter:blur(5px)}.jp-dash-item .jp-dash-item__content a{font-style:italic}.jp-dash-item .dops-section-header__actions .form-toggle__label{left:0;position:relative;top:6px}.jp-dash-item .dops-section-header__actions .form-toggle__label-content{margin:0}.jp-dash-item__content{align-items:flex-start;display:flex;flex-grow:1;flex-wrap:wrap}.jp-dash-item__card{margin:0}.jp-dash-item__count{border:1px solid #c3c4c7;border-radius:4px;color:#3582c4;display:inline-block;font-size:2rem;font-weight:500;margin-bottom:6px;margin-left:8px;margin-top:0;min-width:36px;padding:0 4px;text-align:center}@media (max-width:660px){.jp-dash-item__count{font-size:1.4375rem}}.jp-dash-item__count+.jp-dash-item__description{max-width:61%}.jp-dash-item__count.is-alert{background:#d94f4f;border-color:#d94f4f;color:#fff}.jp-dash-item__title{max-width:calc(100% - 18px)}.jp-dash-item__title.jp-dash-item__title_fullwidth{flex-basis:100%}.jp-dash-item__title.jp-dash-item__title_top{margin-top:0}.jp-dash-item__description{font-size:.875rem;margin:0;max-width:calc(100% - 18px)}.jp-dash-item__description.jp-dash-item__connect{margin-top:20px}.jp-dash-item .dops-section-header{width:100%}.jp-dash-item .dops-section-header .dops-button{font-style:normal}.jp-dash-item .dops-section-header.is-premium-inactive .dops-section-header__actions,.jp-dash-item .dops-section-header.is-working .dops-section-header__actions{color:#747474}.jp-dash-item .dops-section-header__actions .dops-notice{margin-bottom:-.0625rem;margin-top:-.0625rem}.jp-dash-item__active-label{color:#888;color:#a2a2a2;display:inline-block;font-size:.75rem;font-weight:400;padding:.375rem 0 0;text-transform:uppercase}.jp-dash-item__is-inactive .dops-section-header__label{padding-left:.5rem}.jp-dash-item__is-inactive .dops-section-header__label-text:before{-webkit-touch-callout:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:0;pointer-events:none;position:absolute;right:auto;top:0;-webkit-user-select:none;user-select:none;width:8px}.jp-dash-item__is-inactive .jp-dash-item__description{color:#6f6f6f;font-style:italic}.jp-dash-item__disabled{opacity:.5;position:relative}.jp-dash-item__disabled:before{content:"";display:block;height:100%;position:absolute;right:0;top:0;width:100%;z-index:1}.jp-dash-item__recently-activated .jp-dash-item__description{box-sizing:border-box;font-style:italic}.jp-dash-section-header{display:flex;flex-wrap:wrap;margin:2.5rem 0 .5rem}@media (max-width:660px){.jp-dash-section-header{margin-bottom:1.5rem}}@media (max-width:480px){.jp-dash-section-header{display:block}}.jp-dash-section-header__label{flex:1;white-space:nowrap}.jp-dash-section-header__name{display:inline-block;font-size:1.25rem;font-weight:400;margin-bottom:0;margin-top:0;white-space:nowrap}@media (min-width:481px){.jp-dash-section-header__name{display:inline-block}}@media (max-width:480px){.jp-dash-section-header__name .jp-dash-section-header__label{display:inline-block}}.jp-dash-section-header__settings{color:#888;display:inline-block;min-width:2.5rem;text-align:center}.jp-dash-section-header__settings:focus{box-shadow:none;outline:0}.jp-dash-section-header__settings:focus .gridicon{color:#0087be}.jp-dash-section-header__settings .gridicon{position:relative;top:1px}.jp-dash-section-header__external-link{align-self:center;font-style:italic}@media (max-width:660px){.jp-dash-section-header__external-link{margin-top:.25rem}}@media (max-width:480px){.jp-dash-section-header__external-link{display:block;width:100%}}.jp-dash-section-header__children{align-self:center}@media (max-width:480px){.jp-dash-section-header__children{width:100%}}.jp-form-settings-group.foldable-wrapper .dops-foldable-card.dops-card{box-shadow:none;margin-bottom:0;padding-left:0}.dops-foldable-card.dops-card.offlinemode-disabled .dops-foldable-card__summary,.dops-foldable-card.dops-card.offlinemode-disabled .dops-foldable-card__summary_expanded{width:100px}.dops-foldable-card.dops-card.is-expanded .dops-foldable-card__content{padding-left:2.9375rem;padding-right:1.5rem;position:relative}@media (min-width:661px){.dops-foldable-card__main{max-width:85%}}@media (min-width:481px){.dops-foldable-card__main{max-width:60%}}@media (max-width:480px){.dops-foldable-card__main{flex-basis:100%}.dops-foldable-card__header{flex-wrap:wrap}.dops-foldable-card__header-text{font-size:.875rem}}.dops-foldable-card__header-text .dops-button{margin-right:.5rem}@media (max-width:480px){.dops-foldable-card__subheader{display:none}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{margin-top:.5rem;text-align:right}}.jp-footer{margin:1rem 0 2rem;text-align:center}@media (max-width:1040px){.jp-footer{margin:2rem 0 1.5rem}}@media (max-width:660px){.jp-footer{margin:1.5rem 0 1rem}}.jp-footer__rna-footer{margin:0 auto;max-width:65rem;padding:1.5rem}.jp-footer__a8c-attr-container{margin-bottom:.5rem}.jp-footer__a8c-attr{width:11.25rem}.jp-footer__a8c-attr path{fill:#888}.jp-footer__links{border-bottom:1px solid #e1e1e1;border-top:1px solid #e1e1e1;margin-bottom:1rem;margin-top:0}@media (max-width:660px){.jp-footer__links{border-bottom:none}}.jp-footer__link-item{display:inline-block;margin-bottom:0}@media (min-width:661px){.jp-footer__link-item{display:inline-block}}@media (max-width:660px){.jp-footer__link-item{border-bottom:1px solid #e1e1e1;display:block}}.jp-footer__link{color:#888;cursor:pointer;display:inline-block;padding:1rem .5rem}.jp-footer__link:visited{color:#888}.jp-footer__link:active,.jp-footer__link:hover{color:#272727}@media (max-width:660px){.jp-footer__link{border-bottom:1px solid #e1e1e1;display:block;padding:.5rem 0}.jp-footer__link:last-of-type{border-bottom:none}}.jp-dev-card.jp-dev-card{bottom:10px;font-size:12px;left:10px;padding:8px;position:fixed;text-align:right;z-index:100}.jp-dev-card.jp-dev-card ul{margin-top:6px}.jp-dev-card.jp-dev-card li{margin-bottom:0;margin-top:2px}.jp-dev-card li.jp-dev-card__deprecated-plans-list-header{font-style:italic;margin-bottom:8px;margin-top:8px;text-align:center}.jp-dev-card__heading{font-weight:600}.jp-dev-card__subheading{color:#888;font-size:11px}.jp-dev-card__close{cursor:pointer;float:left}.jp-loading-placeholder{color:#d5d5d5;font-size:12vw;margin-bottom:25vh;margin-top:30vh;text-align:center}@media (min-width:961px){.jp-loading-placeholder{font-size:120px}}.jp-loading-placeholder .dashicons{font-size:inherit;height:auto;width:auto}@media (max-width:480px){.dops-notice ul{font-size:.75rem}}.jp-license-activation-notice__external-link svg.gridicons-external{margin-right:.25rem}.jp-unlinked-notice .jp-connection-banner__icon{align-self:center;line-height:0;margin-left:1rem}.loading-notice{border-radius:3px;height:47px;margin-bottom:24px}.jp-masthead{background-color:#fff;box-shadow:0 1px 0 #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);text-align:center}@media (max-width:48.875rem){.jp-masthead{padding:0 1.5rem}.jetpack-masterbar .jp-masthead{padding-right:4rem}}.jp-masthead__inside-container{display:flex;flex-wrap:wrap;margin:0 auto;max-width:65rem;padding-bottom:.375rem;width:100%}@media (max-width:1250px){.jp-masthead__inside-container{max-width:95%}}.jp-masthead__logo-container{flex-grow:0;flex-shrink:0;padding:.6875rem 0 0}@media (max-width:480px){.jp-masthead__logo-container{margin-left:1rem}}.jp-masthead__logo-link{display:inline-block;outline:none;vertical-align:middle}.jp-masthead__logo-link:focus{box-shadow:0 0 0 2px #78dcfa;line-height:0}.jp-masthead__logo-link+code{background:#e6ecf1;border-radius:2px;color:#647a88;margin:0 10px;padding:5px 9px}.jp-masthead__nav{display:flex;flex-grow:1;flex-shrink:0;flex-wrap:nowrap;margin-top:.375rem;padding:.25rem 0;text-align:left}.jp-masthead__nav .dops-button-group{align-self:center;flex-grow:1;font-size:0}@media (max-width:480px){.jp-masthead__nav{text-align:right}}#sandbox-domain-badge{background:#d63638;color:#fff;cursor:pointer;font-size:9px;font-weight:700;letter-spacing:.2em;text-shadow:none;text-transform:uppercase}.jp-module-settings__external-link{font-size:.875rem}.jp-module-settings__read-more{clear:both;margin-top:1rem}@media (min-width:481px){.jp-module-settings__read-more{margin-top:2rem}}.jp-module-settings__read-more .dops-button.is-compact.is-borderless,.jp-module-settings__read-more .jp-module-settings__more-text{vertical-align:middle}.jp-related-posts-preview{background:#f6f6f6;box-shadow:none;box-sizing:border-box;margin-top:.5rem;padding:1rem .5rem;position:relative;width:100%}.jp-related-posts-settings__preview-label{font-size:.875rem;font-weight:600;margin-bottom:.5rem;margin-top:1.5rem}.jp-related-posts-preview__title{font-size:.6875rem;font-weight:600;margin:0 .5rem .6875rem 0}.jp-related-posts-preview__post-title{font-size:.9375rem;font-weight:400;margin:0}.jp-related-posts-preview__post-context{font-size:.9375rem;margin:0;opacity:.6}.jp-related-posts-preview__item{box-sizing:border-box;display:inline-block;padding:.5rem;vertical-align:top;width:33.33%}@media (max-width:480px){.jp-related-posts-preview__item{width:100%}}.jp-related-posts-preview__item img{margin-bottom:.5rem;max-width:100%}.jp-support-card{margin-bottom:0;margin-top:1rem}.jp-support-card__description{font-size:.875rem;line-height:1.65}.jp-support-card__description:first-of-type{margin-top:4px}.jp-support-card__description:last-of-type{margin-bottom:0}.jp-support-card__description .dops-button{margin:0 0 0 16px}@media (max-width:960px){.jp-support-card__description .dops-button{margin:0 0 8px 16px}}.jp-support-card__link{font-style:italic}@media (max-width:660px){.jp-support-card__link{border-top:1px solid hsla(0,0%,84%,.5);display:block;padding:.625rem 0;width:100%}.jp-support-card__link:first-letter{text-transform:capitalize}.jp-support-card__link:first-of-type{border-top:0}}.jp-support-card__happiness{display:flex;flex-flow:row nowrap;margin-bottom:0}@media (max-width:660px){.jp-support-card__happiness .jp-support-card__description:first-of-type{margin-bottom:1rem}}.jp-support-card__social{background-color:#fbfbfb;padding:1rem}@media (max-width:660px){.jp-support-card__social{background:#fff;margin-top:1rem;padding:0 1rem}}.jp-support-card__header{font-size:1.25rem;font-weight:400;margin:0}.jp-support-card__happiness-contact{flex-grow:1;flex-shrink:1}.jp-form-label-wide,.jp-form-legend{font-size:.875rem;font-weight:600;padding:1rem 0 .3125rem}.jp-form-label{display:block;font-size:.875rem;line-height:1.5;margin-bottom:.3125rem}.jp-form-label-wide{display:block;padding:.5rem 0}.jp-form-label input[type=radio]+span{font-weight:400;margin-right:8px}.jp-form-button{margin-top:1rem}@media (min-width:481px){.jp-form-button{bottom:1rem;left:1rem;position:absolute}}.jp-form-toggle-explanation{font-size:.875rem;vertical-align:baseline;word-break:break-word}.jp-form-toggle-explanation .jp-form-toggle-privacy-info{border-right:1px solid hsla(0,0%,64%,.5);margin-right:.3125rem;padding-right:.3125rem}.jp-form-fieldset{clear:both;position:relative}.jp-form-fieldset .jp-form-legend+.jp-form-setting-explanation{margin-bottom:.5rem;margin-top:0}.jp-form-input-with-prefix{display:inline-flex;margin-bottom:1.5rem;width:100%}.jp-form-input-with-prefix span:first-child{background:#f6f6f6;border:1px solid #c8d7e1;color:#4f748e;min-width:3.75rem;padding:.5rem .875rem;text-align:center;white-space:nowrap}@media (max-width:660px){.jp-form-input-with-prefix span:first-child{display:block;text-align:right}}.jp-form-input-with-prefix input[type=text]{width:100%}@media (min-width:661px){.jp-form-input-with-prefix input[type=text]{border-right:0}}@media (max-width:660px){.jp-form-input-with-prefix input[type=text]{border-top:0}.jp-form-input-with-prefix{box-sizing:border-box;display:block}}.jp-form-input-suffix{background:#f6f6f6;border:1px solid #c8d7e1;color:#4f748e;display:flex;flex:1 0 auto;padding:.5rem .875rem;text-align:center;white-space:nowrap}button.jp-form-input-suffix{background:initial;border-radius:0}.jp-form-has-child{margin-bottom:1.5rem}.jp-form-has-child:last-child{margin-bottom:0}.jp-form-has-child>.jp-form-fieldset,.jp-form-has-child>.jp-form-setting-explanation{margin-right:2.25rem}.jp-form-has-child>.jp-form-fieldset{margin-bottom:1rem}.jp-form-block-fade{background:hsla(0,0%,100%,.8);height:100%;position:absolute;right:0;top:0;width:100%;z-index:1}.jp-form-offlinemode-message.is-compact{padding:0 1rem;position:absolute;top:-24px;width:100%;z-index:1}.jp-form-textarea-wide{width:100%}.jetpack-pagestyles .vp-notice,.jetpack-pagestyles .wc-connect,.jetpack-pagestyles .woocommerce-message{display:none}.jetpack-pagestyles .vp-notice-jp a{text-decoration:underline}.jetpack-pagestyles .woocommerce-message.dops-notice{display:block;padding:0}.jetpack-pagestyles .woocommerce-message.dops-notice:before{content:""}.jetpack-pagestyles .woocommerce-message.dops-notice .submit{padding:0}.jetpack-pagestyles .woocommerce-message.dops-notice .notice-dismiss:before{display:none}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>div{max-width:620px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>a{margin-left:15px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__moved_text{margin-bottom:5px}.jetpack-pagestyles .dops-notice__action.notice-dismiss{height:100%}.form-toggle.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact.is-toggling+.form-toggle__label .form-toggle__switch:before{right:8px}.form-toggle.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact.is-toggling:checked+.form-toggle__label .form-toggle__switch:before{right:0}.dops-section-nav-tab__text .gridicon{margin:0 5px 2px 0;vertical-align:middle}.jp-settings-card__configure-link{display:flex;margin-bottom:0}.jp-form-settings-card{font-size:.875rem;margin-bottom:1.5rem}.jp-form-settings-card+.jp-at-a-glance__stats-card{margin-bottom:1.5rem}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header{color:#444}@media (min-width:481px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header{padding-right:1.5rem}}.jp-form-settings-card .dops-foldable-card .form-toggle__switch{float:right;margin-top:.125rem}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__header-text{font-size:.875rem}.jp-form-settings-card .dops-foldable-card.jp-foldable-settings-disable .dops-foldable-card__header{color:#dadada}@media (min-width:481px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__main{max-width:85%}}.jp-form-settings-card .dops-foldable-card .dops-foldable-card__action{left:.625rem}@media (max-width:480px){.jp-form-settings-card .dops-foldable-card .dops-foldable-card__action{left:.0625rem}}.jp-form-settings-card .dops-foldable-card .jp-support-info{left:-1.3125rem;top:.4375rem}@media (max-width:480px){.jp-form-settings-card .dops-foldable-card .jp-support-info{left:-1.875rem}}.jp-form-settings-card .dops-foldable-card .jp-form-label-wide:first-child,.jp-form-settings-card .dops-foldable-card .jp-form-legend:first-child{padding-top:.4375rem}@media (min-width:481px){.jp-form-settings-card .dops-foldable-card__header{padding-bottom:1.75rem;padding-top:1.75rem}}.jp-foldable-settings-standalone .dops-foldable-card__header-text{font-size:.875rem}@media (min-width:481px){.jp-foldable-settings-standalone .dops-foldable-card__header,.jp-foldable-settings-standalone.dops-card.is-expanded .dops-foldable-card__content{padding-left:1.5rem;padding-right:1.5rem}.jp-foldable-settings-standalone .dops-foldable-card__action{left:.625rem}.jp-foldable-settings-standalone .jp-form-settings-group .jp-support-info{left:.125rem;top:0}}@media (max-width:480px){.jp-foldable-settings-standalone .jp-form-settings-group .jp-support-info{left:-1.9375rem;top:.375rem}}.jp-banner__no-border{border-right:none!important}.jp-banner__no-border .dops-banner__icon-circle{background:none!important;padding:0 3px 0 0}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon{height:28px;width:28px}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-info{color:#0087be}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-notice{color:#f0b849}.jp-banner__no-border .dops-banner__icon-circle svg.gridicon.gridicons-checkmark-circle{color:#4ab866}.jp-banner__no-border .dops-banner__description{color:#537994;font-size:.875rem;line-height:1.65;margin-top:0}.jp-form-settings-group{margin-bottom:0;position:relative}.jp-form-settings-group p{font-size:.875rem;margin-bottom:1.5rem;margin-top:0}.jp-form-settings-group p.jp-settings-card__blocks-description{margin-bottom:0}.jp-form-settings-group fieldset p:last-child{margin-bottom:8px}.jp-form-settings-group .form-toggle__label{margin-bottom:.25rem;margin-top:.25rem}.jp-form-settings-group .jp-form-setting-explanation{color:#747474;display:block;font-size:.875rem;font-style:italic;font-weight:400;margin:.3125rem 0 .3125rem .875rem;word-break:break-word}.jp-form-settings-group .jp-form-setting-explanation+.dops-card{margin-top:1rem}.jp-form-settings-group .jp-form-setting-explanation.is-warning{color:#d94f4f}.jp-form-settings-group .jp-form-setting-explanation a{text-decoration:underline}.dops-foldable-card .jp-form-settings-group{padding-bottom:16px}.jp-form-settings-group .dops-card{padding-left:3rem}@media (max-width:480px){.jp-form-settings-group .jp-support-info{left:1rem;top:1.25rem}}.jp-form-settings-group .jp-support-info+p{margin-top:2px}.jp-form-settings-group .jp-support-info+span{display:block;padding-top:2px}.jp-form-settings-group .form-toggle__switch{float:right;margin-top:2px}.jp-form-settings-group>.dops-card:first-child{margin-bottom:0}.dops-foldable-card .jp-form-settings-group .dops-card{box-shadow:none;padding:0}.jp-form-settings-group.foldable-wrapper>.dops-card{padding:0}.jp-apps-card{margin-top:4rem}.jp-apps-card,.jp-apps-card__content{margin-bottom:0}.jp-apps-card__content.dops-card{padding:0}.jp-apps-card__content a:not(.dops-button){font-style:italic}.jp-apps-card__dismiss{left:8px;position:absolute;top:8px}.jp-apps-card__dismiss.dops-button.is-compact{padding:8px 8px 2px}.jp-apps-card__top{background:#fff;padding:3.75rem 0 0;text-align:center}.jp-apps-card__top img{max-width:26%;padding-top:10px}.jp-apps-card__description{color:#000;line-height:1.65;margin:0 auto;max-width:80%;padding:.625rem 1.5rem 1.5rem;text-align:center}.jp-apps-card__description .dops-button{margin:8px 0}.jp-apps-card__paragraph{font-size:1rem}.jp-apps-card__header{font-size:1.25rem;font-weight:500;margin-bottom:.3125rem;margin-top:0}.jp-apps-card__promo_subhead{font-style:italic;margin-top:0}.jp-apps-card__apps-badges{align-items:center;display:flex;flex-direction:row;justify-content:center}@media (max-width:480px){.jp-apps-card__apps-badges{flex-direction:column}.jp-apps-card__apps-badges .apps-badge:first-child{margin-left:0}.jp-apps-card__apps-badges .apps-badge:last-child{margin-top:1rem}}.jp-themes-card{margin-bottom:1.25rem}.jp-upgrade-notice__content .jp-upgrade-notice__enable-module .jp-form-has-child{padding-right:30px}.jp-upgrade-notice__content .jp-upgrade-notice__enable-module .jp-form-has-child .jp-form-fieldset{margin-bottom:.4rem}.jp-upgrade-notice__enable-module{margin-bottom:calc(1em + 8px)}.jp-upgrade-notice__enable-module .jp-form-settings-group{margin:0 auto;max-width:400px;text-align:right}.jp-upgrade-notice__enable-module .jp-form-has-child{padding:10px 10px 10px 30px}.jp-upgrade-notice__enable-module .jp-support-info{left:.9375rem;top:.9375rem}.jp-dialogue-modern-full__container{background:hsla(0,0%,96%,.95);bottom:0;box-sizing:border-box;height:100%;left:0;overflow:auto;padding:1rem 0 0;position:fixed;right:0;top:0;z-index:1000}@media (min-width:961px){.jp-dialogue-modern-full__container{padding:2rem;right:160px}}body.jp-dialogue-modern-showing{overflow:hidden}.jp-dialogue-modern{background-color:#fff;box-shadow:0 5px 24px 0 rgba(0,0,0,.13);margin:2rem auto;max-width:18.75rem;overflow:hidden;position:relative}.jp-dialogue-modern p{color:#000;font-size:1rem;text-align:right}.jp-dialogue-modern img{max-width:100%;text-align:center}.jp-dialogue-modern li{color:#000;font-size:1rem;list-style:disc none outside;margin:1rem;text-align:right}.jp-dialogue-modern p+img{margin:2rem 0 1rem}.jp-dialogue-modern .dops-card{margin-bottom:0}.jp-dialogue-modern .jp-dialogue-modern-card__below{text-align:right}.jp-dialogue-modern figure{margin:0 0 12px}.jp-dialogue-modern figure figcaption{text-align:center}.jp-dialogue-modern a :not(.wp-block-button__link){text-decoration:underline}.jp-dialogue-modern-full__dismiss{fill:#2c3338;cursor:pointer;height:2rem;left:-16px;padding:1rem;position:absolute;top:-16px;width:2rem}.jp-dialogue-modern.has-featured-image .jp-dialogue-modern-full__dismiss{fill:#dcdcde}h1.jp-dialogue-modern__title{font-size:1.5rem;font-weight:600;margin:0 0 2rem;text-align:right}.jp-dialogue-modern__content{background:#fff;padding:32px}.jp-dialogue-modern__cta-container{line-height:200%;padding:.5rem 0 0;text-align:center}.jp-dialogue-modern__cta-container .dops-button{margin:0 .5rem}.jp-dialogue-modern__note,a.jp-dialogue-modern__note{clear:both;font-size:.875rem;font-style:italic;margin:0;padding:1rem 0 0}.jp-dialogue-modern-full__svg-jupiter{left:0;opacity:.9;position:absolute;top:5rem}.jp-dialogue-modern-full__svg-stars{opacity:.9;position:absolute;right:6.25rem;top:6.25rem}.jetpack-about__link-back,.jetpack-about__main,.jetpack-about__plugin{background-color:#fff;border:1px solid #dcdcde}.jetpack-about__colophon,.jetpack-about__colophon p,.jetpack-about__main,.jetpack-about__main p{font-size:14px}.jetpack-about__link-back{border-bottom:none;padding:16px 16px 13px}.jetpack-about__link-back a{color:#787c82;font-size:.75rem}.jetpack-about__link-back a:active,.jetpack-about__link-back a:hover{color:#2f3032}.jetpack-about__link-back a svg{fill:#787c82;height:24px;margin-left:4px;margin-top:-3px;vertical-align:middle;width:24px}.jetpack-about__main{padding:36px}.jetpack-about__logo{width:265px}@media screen and (max-width:400px){.jetpack-about__logo{width:100%}}.jetpack-about__content{display:flex}@media screen and (max-width:782px){.jetpack-about__content{flex-wrap:wrap}}.jetpack-about__text{order:1}.jetpack-about__text p{font-size:1rem;line-height:1.6}.jetpack-about__text p:last-child{margin-bottom:0}.jetpack-about__images{margin-right:48px;order:2;text-align:center}@media screen and (max-width:782px){.jetpack-about__images{margin-right:0;order:0;text-align:right;width:100%}}.jetpack-about__images .meet-the-team{margin-bottom:0;text-align:center}.jetpack-about__gravatars{display:flex;flex-wrap:wrap;width:320px}@media screen and (max-width:450px){.jetpack-about__gravatars{max-width:320px;width:100%}}.jetpack-about__gravatars li{margin-bottom:0;width:25%}.jetpack-about__gravatars li img{height:100%;max-width:80px;vertical-align:top;width:100%}.jetpack-about__colophon{margin-bottom:3rem}.jetpack-about__colophon h3{margin-top:2.4375rem}.jetpack-about__services-more{margin-top:1.5em;text-align:center}.jetpack-about__services{grid-gap:16px;display:grid;grid-template-columns:1fr 1fr}.jetpack-about__plugin{margin-bottom:0}.jetpack-about__plugin .plugin-card-top{padding:20px 20px 15px;position:relative}.jetpack-about__plugin .plugin-card-top .desc,.jetpack-about__plugin .plugin-card-top .details-link,.jetpack-about__plugin .plugin-card-top .name{margin-right:148px}.jetpack-about__plugin .plugin-card-top .name h3{margin-top:0}.jetpack-about__plugin .plugin-card-top .details-link{font-weight:500}.jetpack-about__plugin .plugin-card-bottom{align-items:center;background-color:#fff;display:flex;flex-wrap:wrap;justify-content:space-between}.jetpack-about__plugin .plugin-card-bottom .meta{margin-left:1em}.jetpack-about__plugin .plugin-card-bottom .num-ratings{display:inline-block}.jetpack-about__plugin .plugin-card-bottom .action-buttons{clear:none;float:none;margin:.5em 0}.jetpack-about__plugin .plugin-card-bottom .action-buttons li:last-child{margin-bottom:0}.mobile-magic-link__button{cursor:pointer}.mobile-magic-link__modal__body{color:#2e4453;font-size:.875rem;margin:0;padding:1.5rem 2rem;text-align:center}.mobile-magic-link__modal__body h2{color:#2e4453;font-size:2rem;font-weight:300;margin:2rem 0 1.5rem}.mobile-magic-link__modal__body h4{color:#668eaa;font-size:1rem;font-weight:400;line-height:1.5em;margin:1rem 1.5rem 0}.mobile-magic-link__modal-actions{margin:2rem 0}.mobile-magic-link__modal-actions .mobile-magic-link__modal-cancel{margin-left:1em}.jp-at-a-glance{margin-bottom:3rem}.jp-at-a-glance__pinned-bundle{margin-bottom:1rem}.jp-at-a-glance__stats-card{padding:0}.jp-at-a-glance__stats-empty{margin-bottom:0;text-align:center}.jp-at-a-glance__stats-empty p{color:#747474;font-size:.875rem}.jp-at-a-glance__stats-inactive{padding:1rem}@media (min-width:661px){.jp-at-a-glance__stats-inactive{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}}@media (max-width:660px){.jp-at-a-glance__stats-inactive-icon{display:none}}@media (min-width:661px){.jp-at-a-glance__stats-inactive-icon{flex-basis:10%}}.jp-at-a-glance__stats-inactive-text{font-size:.875rem;line-height:1.5}@media (max-width:660px){.jp-at-a-glance__stats-inactive-text{padding:0 0 1rem}}@media (min-width:661px){.jp-at-a-glance__stats-inactive-text{flex-basis:50%;padding:0 1rem}}.jp-at-a-glance__stats-inactive-button{text-align:right}@media (min-width:661px){.jp-at-a-glance__stats-inactive-button{flex-basis:40%;text-align:left}}.jp-at-a-glance__stats-chart{padding:1rem;position:relative}.jp-at-a-glance__stats-chart .components-spinner{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.jp-at-a-glance__stats-bottom{margin:2rem 0 0}@media (max-width:480px){.jp-at-a-glance__stats-bottom{box-shadow:0 0 0 1px #c3c4c7}}.jp-at-a-glance__stats-summary{border-bottom:1px solid #c3c4c7;text-align:center}@media (min-width:661px){.jp-at-a-glance__stats-summary{display:flex;flex-direction:row;flex-wrap:nowrap}}@media (max-width:660px){.jp-at-a-glance__stats-summary{display:block}}.jp-at-a-glance__stats-summary-bestday,.jp-at-a-glance__stats-summary-today{box-shadow:0 0 0 1px #c3c4c7;flex-basis:25%;padding:1rem}@media (max-width:660px){.jp-at-a-glance__stats-summary-today{margin-top:-.0625rem}}@media (min-width:661px){.jp-at-a-glance__stats-summary-bestday{margin:0 .0625rem}}@media (max-width:660px){.jp-at-a-glance__stats-summary-alltime,.jp-at-a-glance__stats-summary-bestday{margin-top:.0625rem}}.jp-at-a-glance__stats-summary-alltime{box-shadow:0 0 0 1px #c3c4c7;flex-basis:50%;padding:1rem}@media (min-width:661px){.jp-at-a-glance__stats-summary-alltime{display:flex;flex-grow:1;flex-shrink:1;max-width:50%}}.jp-at-a-glance__stats-alltime-comments,.jp-at-a-glance__stats-alltime-views{flex-basis:50%}.jp-at-a-glance__stats-cta{background-color:#fbfbfb;padding:1rem}@media (min-width:661px){.jp-at-a-glance__stats-cta{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}}@media (max-width:660px){.jp-at-a-glance__stats-cta{display:block}}@media (min-width:661px){.jp-at-a-glance__stats-cta-description{flex-basis:30%}}.jp-at-a-glance__stat-details{font-size:.875rem;margin:0}.jp-at-a-glance__stat-number{font-size:1.5rem;font-weight:400;margin:.5rem 0}.jp-at-a-glance__stats-ctas{align-items:center;display:flex;flex-direction:row;justify-content:flex-end}@media (min-width:661px){.jp-at-a-glance__stats-ctas{flex-basis:70%;text-align:left}}@media (max-width:660px){.jp-at-a-glance__stats-ctas{flex-direction:column;text-align:center}.jp-at-a-glance__stats-ctas .dops-button{margin-bottom:.25rem;width:100%}}.jp-at-a-glance__stats-ctas .jp-at-a-glance__stats-ctas-wpcom-stats{margin-left:.5rem}.jp-at-a-glance__stats-ctas .dops-button{margin:.25rem;text-align:center}.jp-at-a-glance__stats-view,.jp-at-a-glance__stats-views{margin-bottom:0;margin-top:0}.jp-at-a-glance__stats-view{display:inline-block;margin-right:1rem}.jp-at-a-glance__stats-view:focus{outline:0}@media (max-width:480px){.jp-at-a-glance__stats-view{margin-left:1rem;margin-right:0}}.jp-at-a-glance__stats-view-link,.jp-at-a-glance__stats-view-link:visited{color:#a2a2a2;text-decoration:underline}.jp-at-a-glance__stats-view-link.is-current,.jp-at-a-glance__stats-view-link:focus.is-current,.jp-at-a-glance__stats-view-link:visited.is-current,.jp-at-a-glance__stats-view-link:visited:focus.is-current,.jp-at-a-glance__stats-view-link:visited:visited.is-current{color:#1d2327;text-decoration:none}.jp-at-a-glance__stats-view-link:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8);outline:0}.jp-at-a-glance__item-grid{display:flex}@media (max-width:660px){.jp-at-a-glance__item-grid{display:block}}.jp-at-a-glance__left,.jp-at-a-glance__right{display:flex;min-width:0}@media (min-width:661px){.jp-at-a-glance__left,.jp-at-a-glance__right{flex-basis:50%;margin-bottom:1rem}}@media (max-width:660px){.jp-at-a-glance__left,.jp-at-a-glance__right{margin-bottom:.75rem}}.jp-at-a-glance__left .jp-dash-item,.jp-at-a-glance__left>div,.jp-at-a-glance__right .jp-dash-item,.jp-at-a-glance__right>div{display:flex;flex-direction:column;flex-grow:1;min-width:0}.jp-at-a-glance__left>div,.jp-at-a-glance__right>div{flex-basis:100%}.jp-at-a-glance__left .jp-dash-item .dops-card,.jp-at-a-glance__right .jp-dash-item .dops-card{flex-grow:1}.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact{flex-grow:0}.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact a.dops-notice__action,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact a.dops-notice__action{margin-right:0;padding-right:0}@media (max-width:480px){.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact a.dops-notice__action,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact a.dops-notice__action{text-transform:none}}.jp-at-a-glance__left .jp-dash-item__card,.jp-at-a-glance__right .jp-dash-item__card{display:flex}.jp-search-config-aag{width:100%}.jp-at-a-glance__left{display:flex}@media (min-width:661px){.jp-at-a-glance__left{margin-left:1rem}.jp-at-a-glance__left:last-child{flex-basis:calc(50% - 0.5rem)}}.dops-chart__tooltip .tip-arrow{display:none}.jp-connection-type .jp-dash-item__card{align-items:flex-start}.jp-connection-settings__info{display:flex}.jp-connection-settings__actions{margin:1em 0 0}.jp-connection-settings__actions a{cursor:pointer}.jp-connection-settings__text{margin-right:1rem;word-break:break-word}.jp-connection-settings__info .gridicon{opacity:.6}.jp-connection-settings__info .gridicon,.jp-connection-settings__info .jp-connection-settings__site-icon{background:#c8d7e1;color:#fff;min-width:4rem}.jp-connection-settings__info .jp-connection-settings__gravatar{background:#a2a2a2;border-radius:50%;display:inline-block;margin-bottom:0;min-width:4rem}.jp-connection-settings__username{font-weight:600}.jp-connection-settings__email{color:#a2a2a2;font-size:.875rem;font-style:italic;font-weight:400}.jp-connection-settings__modal.dops-modal{max-width:635px;min-height:400px}@media (min-width:661px){.jp-connection-settings__modal.dops-modal{min-height:auto}}.jp-connection-settings__modal-body{color:#2e4453;font-size:.875rem;margin:0;padding:1.5rem 2rem;text-align:center}.jp-connection-settings__modal-body h2{color:#2e4453;font-size:2rem;font-weight:300;margin:2rem 0 1.5rem}.jp-connection-settings__modal-body h4{color:#668eaa;font-size:1rem;font-weight:400;line-height:1.5em;margin:1rem 1.5rem 0}.jp-connection-settings__modal-body p{font-size:.875rem}.jp-connection-settings__modal-body ul{color:#537994;margin:1.5rem 0 2.25rem}.jp-connection-settings__modal-body li{border-bottom:1px solid #e1e1e1;display:block;margin:0;padding:1rem 2.75rem 1rem .5rem;position:relative;text-align:right}.jp-connection-settings__modal-body li:first-of-type{border-top:1px solid #e1e1e1}.jp-connection-settings__modal-body .gridicon{color:#537994;position:absolute;right:1rem;top:1rem;vertical-align:text-bottom}.jp-connection-settings__modal-cancel{margin-left:1em}.jp-connection-settings__modal-more a{color:#0087be;text-decoration:underline}.jp-dash-item__manage-in-wpcom{margin-top:1px;width:100%}.jp-dash-item .dops-banner.dops-banner{margin-bottom:0;width:100%}.jp-dash-item__videopress .jp-dash-item__card{flex-direction:column}.jp-dash-item__videopress-storage{margin-top:1em}.jp-landing__plans{margin-bottom:32px}.jp-landing__plans .dops-button{margin-left:10px}.jp-landing__card-header{color:#6f6f6f;font-size:1rem;margin-top:0}.jp-landing__licensing-actions{align-items:center;display:flex;justify-content:center}@media (max-width:660px){.jp-landing__licensing-actions span{display:none}}@media (min-width:481px){.jp-landing__licensing-actions{justify-content:space-between}}.jp-landing__licensing-actions .jp-landing__licensing-actions-item{align-items:center;display:flex;flex-direction:column;text-align:center}@media (min-width:481px){.jp-landing__licensing-actions .jp-landing__licensing-actions-item{flex-direction:row}}@media (max-width:660px){.jp-landing__licensing-actions .jp-landing__licensing-actions-item{flex:1;justify-content:space-between}}.jp-landing__licensing-actions .jp-landing__licensing-actions-item .dops-button{margin-left:0}.jp-landing__licensing-actions .jp-landing__licensing-actions-item.no-licenses{flex:1;justify-content:space-between;justify-content:flex-end}.all-purchases__link{box-sizing:border-box;display:inline-block;padding:7px 0 9px 20px}@media (max-width:480px){.all-purchases__link{margin-bottom:15px;padding:0}}.jp-landing__plan-features-header-recommendations-cta-container{align-self:center;display:flex;justify-content:flex-end;order:30}.jp-landing__plan-features-header-recommendations-cta-container .dops-button{margin-left:0}.jp-landing__plan-features-card{background-color:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:flex;flex-basis:32%;flex-grow:1;flex-wrap:nowrap;margin:.5rem}.jp-landing__plan-features-card:last-child{max-width:100%}.is-loading .jp-landing__plan-features-card{width:49.5%}@media (min-width:661px){.jp-landing__plan-features-card{margin-bottom:1%}}@media (max-width:660px){.jp-landing__plan-features-card{margin-bottom:.5rem;max-width:100%}}@media (min-width:481px){.jp-landing__plan-features-card{padding:2rem}}@media (max-width:480px){.jp-landing__plan-features-card{padding:1rem}}.jp-landing__plan-features-list{list-style:initial;margin-right:1rem}.jp-landing__plan-features-img{line-height:1;margin-left:.5rem;width:5.625rem}@media (min-width:961px){.jp-landing__plan-features-img{margin-left:1.125rem;width:7.5rem}}.jp-landing__plan-features-icon{display:block;margin-right:-.5rem}@media (min-width:481px){.jp-landing__plan-features-icon{margin-right:-1rem}}.jp-landing__plan-features-text{flex:1;font-size:.875rem}.jp-landing__plan-features-title{font-size:1.25rem;margin:0}.jp-landing__plan-features{align-items:stretch;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin-bottom:2rem;margin-left:-.5rem;margin-right:-.5rem}@media (max-width:660px){.jp-landing__plan-features{display:block}}.jp-landing__plan-features-title.is-placeholder{height:1.5rem;max-width:50%}.jp-landing__plan-features-text.is-placeholder{height:2.75rem;max-width:75%}.jp-landing__plan-features-link{width:100%}@media (min-width:661px){.jp-landing__plan-features-link{text-align:center}}.jp-landing__plan-features-header-jetpack-license .dops-button{float:left;margin-left:0;margin-top:16px}.jp-form-fieldset>.jp-form-search-setting-explanation{margin-right:2.25rem}.media__videopress-storage{margin-bottom:1.5rem;max-width:50%}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-recommendations-question__main{background:var(--jp-white);border:1px solid #d5d5d5;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);min-height:480px}.jp-recommendations-question__main a:not([type=button]){color:var(--jp-black);text-decoration:none}.jp-recommendations-question__main a:not([type=button]):not(.dops-external-link){box-shadow:0 1px 0 0 currentColor}.jp-recommendations-question__main a:not([type=button]):not(.dops-external-link):active,.jp-recommendations-question__main a:not([type=button]):not(.dops-external-link):hover{box-shadow:0 3px 0 0 currentColor}.jp-recommendations-question__main a:not([type=button]).dops-external-link .dops-external-link__text{box-shadow:0 1px 0 0 currentColor}.jp-recommendations-question__main a:not([type=button]).dops-external-link:active .dops-external-link__text,.jp-recommendations-question__main a:not([type=button]).dops-external-link:hover .dops-external-link__text{box-shadow:0 3px 0 0 currentColor}.jp-recommendations-question__main a:not([type=button]).dops-external-link:focus .dops-external-link__text{box-shadow:none!important}.jp-recommendations-question__main a:not([type=button]).components-external-link{margin-left:1em;position:relative}.jp-recommendations-question__main a:not([type=button]).components-external-link .components-external-link__icon{position:absolute;right:100%;top:50%;transform:translateY(-.5em)}.jp-recommendations-question__main a:not([type=button]):focus{border-radius:2px;box-shadow:none!important;outline:2px solid currentColor;outline-offset:3px}.jp-recommendations-question__main a:not([type=button]).disabled,.jp-recommendations-question__main a:not([type=button]):disabled{color:var(--jp-gray-20);pointer-events:none}.jp-recommendations-question__main--with-sidebar{display:grid;grid-template-columns:repeat(2,1fr)}@media (max-width:1040px){.jp-recommendations-question__main--with-sidebar{background:var(--jp-white);grid-template-columns:auto}}.jp-recommendations__loading{padding-top:48px}.jp-recommendations__new-badge{border:1px solid var(--jp-green-30);border-radius:3px;color:var(--jp-green-30);display:inline-block;font-size:12px;font-weight:500;padding:2px 8px;text-transform:uppercase}.jp-recommendations-question__sidebar{background:radial-gradient(circle at 60%,rgba(6,158,8,.15) 0,hsla(0,0%,100%,0) 75%),radial-gradient(circle at 30% 80%,rgba(206,217,242,.5) 5%,hsla(0,0%,100%,0) 25%),radial-gradient(circle at 50% 15%,hsla(46,77%,83%,.5) 0,hsla(0,0%,100%,0) 35%)}@media (max-width:1040px){.jp-recommendations-question__sidebar{background:none}}.waf__header{align-items:center;display:flex}.waf__header__badge{background-color:#069e08;border-radius:2px;color:#fff;font-size:11px;line-height:12px;margin-right:9px;padding:4px 5px}.waf__settings{padding-right:36px;padding-top:24px}.waf__settings__toggle-setting{display:flex;flex-wrap:wrap;margin-bottom:12px}.waf__settings__toggle-setting:last-child{margin-bottom:0}.waf__settings .form-toggle__label{margin-bottom:0;margin-top:0}.waf__settings__ips{margin-top:24px;width:100%}.waf__settings__ips:last-of-type{margin-bottom:12px}.waf__settings__share-data-popover{margin-right:8px}.waf__enhanced-protection,.waf__enhanced-protection.dops-card.is-expanded{margin-bottom:0}.waf__enhanced-protection.dops-foldable-card.is-expanded .dops-foldable-card__content{border-top:none;padding-top:0}.waf__enhanced-protection ul{list-style:disc;margin-bottom:0;margin-top:0;padding-right:32px}.waf__enhanced-protection code{white-space:nowrap}.dops-search__input[type=search]{width:100%}.jp-settings-container .jp-no-results{display:none;font-size:.875rem;line-height:1.5}.jp-settings-container .jp-no-results:last-of-type{display:inherit}@media (max-width:480px){.dops-search.is-expanded-to-container{height:46px}}.dops-card.jp-settings-description{background:none;border:none;box-shadow:none;margin:24px 0 8px;padding:0}.jp-form-google-label-unverified .dops-button{margin:0 15px}@media (max-width:660px){.jp-form-google-label-unverified .dops-button{margin-top:10px;width:40%}}.jp-form-google-label-unverified .jp-form-google-separator{padding:.5rem 0}@media (max-width:660px){.jp-form-google-label-unverified .jp-form-google-separator{display:inline-block;margin:25px 0 0}}.jp-sitemap-row{align-items:center;display:flex;margin-top:1rem}.jp-sitemap-row .dops-clipboard-button-input{flex-grow:1}.jp-form-input-with-prefix-bottom-message{line-height:2em;margin-top:5px;position:relative;top:-1.25rem}.jp-form-site-verification-verified{align-items:center;background-color:#fff;border:1px solid #c8d7e1;box-sizing:border-box;color:#069e08;display:flex;flex-direction:row;font-size:16px;justify-content:left;line-height:1.5;margin:0;padding:7px 14px;width:100%}.jp-form-site-verification-verified .gridicon:first-child{margin-left:5px}@media (min-width:661px){.jp-form-site-verification-verified{border-right:0}}@media (max-width:660px){.jp-form-site-verification-verified{border-top:0}}.jp-form-site-verification-edit-button{margin-right:10px;overflow:visible}@media (max-width:660px){.jp-form-site-verification-edit-button{margin-left:5px;margin-right:0;margin-top:5px}}.jp-form-site-verification-buttons{display:inline-flex;flex:0 1 20em}.jp-form-site-verification-verified-note{font-size:.7em}.jp-form-google-label-unverified-actions{align-content:center;display:flex}.jp-form-google-label-unverified-actions .dops-button{margin-left:10px;margin-right:10px;padding-left:7px;padding-right:7px}#jp-seo-front-page-description{min-height:96px}.jp-seo-front-page-description-card{margin-bottom:0!important}.jp-seo-front-page-description-container{background:#f6f6f6;border-radius:4px}.jp-seo-front-page-description-count{padding:.25rem}.jp-seo-front-page-description-count-warn{background-color:#f0b849;border-radius:4px;font-weight:700}.jp-seo-front-page-description-count-max{background-color:#d94f4f;border-radius:4px;color:#fff;font-weight:700}.jp-seo-front-page-description-save-button{float:left;margin-top:.75rem}.jp-seo-social-previews .facebook-preview,.jp-seo-social-previews .search-preview,.jp-seo-social-previews .twitter-preview{margin-bottom:1rem;margin-top:1rem}.jp-seo-social-previews-container{align-items:center;display:flex;margin-top:1rem}.jp-seo-social-previews-label{font-weight:600;margin-right:.5rem}.jp-seo-custom-titles-card{margin-bottom:0!important}.jp-seo-custom-titles-input[type=text]{margin-top:.25rem}.jp-seo-custom-titles-input-controls{align-items:flex-end;display:flex;flex-wrap:wrap;margin-top:.5rem}.jp-seo-custom-titles-input-controls .jp-form-label{font-weight:600;margin-bottom:0}.jp-seo-custom-titles-input-label{margin-left:auto}.jp-seo-custom-titles-input-button:before{content:"+";margin-left:4px}.jp-seo-custom-titles-input-button:not(:first-of-type){margin-right:.5rem}.jp-seo-custom-titles-input-preview{font-style:italic;margin-top:.25rem}.jp-seo-custom-titles-save-button{float:left;margin-top:.75rem} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.asset.php b/plugins/jetpack/_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.asset.php
index a7deac9b..a4d124e7 100644
--- a/plugins/jetpack/_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.asset.php
+++ b/plugins/jetpack/_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '35a43b0e52528fd5f3bde7f18d9c3d5e'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '3adbef6e95ae26d6b479');
diff --git a/plugins/jetpack/_inc/build/twitter-timeline.min.asset.php b/plugins/jetpack/_inc/build/twitter-timeline.min.asset.php
index 058f7b78..09996a7f 100644
--- a/plugins/jetpack/_inc/build/twitter-timeline.min.asset.php
+++ b/plugins/jetpack/_inc/build/twitter-timeline.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'c19f548cdf3c6d7c8479ee915f8577fb'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'e30ca5826fc13a733171');
diff --git a/plugins/jetpack/_inc/build/videopress/js/editor-view.min.asset.php b/plugins/jetpack/_inc/build/videopress/js/editor-view.min.asset.php
index b65c17e0..10e29a3b 100644
--- a/plugins/jetpack/_inc/build/videopress/js/editor-view.min.asset.php
+++ b/plugins/jetpack/_inc/build/videopress/js/editor-view.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'e6b1b9b25494a4c8b3edff2438c54670'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'acb2294dd607d636e995');
diff --git a/plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.asset.php b/plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.asset.php
index 604b7b09..87fb448f 100644
--- a/plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.asset.php
+++ b/plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'a891ec15f74ea41ee715c7c6cfc0c9af'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '45b16179c49797228bb8');
diff --git a/plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.js b/plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.js
index 3342c70d..9f5653f3 100644
--- a/plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.js
+++ b/plugins/jetpack/_inc/build/videopress/js/gutenberg-video-upload.min.js
@@ -1 +1 @@
-window.videoPressUploadTrack=function(e,o,n,t,a){return new Promise((function(i,d){wp.media.ajax("videopress-get-upload-token",{async:!0,data:{filename:a.name}}).done((function(r){var p={},s={},c=new FormData;p.Authorization='X_UPLOAD_TOKEN token="'+r.upload_token+'" blog_id="'+r.upload_blog_id+'"',s.headers=p,s.method="POST",s.url="https://public-api.wordpress.com/rest/v1.1/videos/"+e+"/tracks",s.credentials="omit",c.append("kind",o),c.append("srclang",n),c.append("label",t),c.append("vtt",a),s.body=c,wp.apiFetch(s).then((function(e){i(e)})).catch((function(e){d(e)}))}))}))},window.videoPressDeleteTrack=function(e,o,n){return new Promise((function(t,a){wp.media.ajax("videopress-get-upload-token",{async:!0}).done((function(i){var d={},r={},p=new FormData;d.Authorization='X_UPLOAD_TOKEN token="'+i.upload_token+'" blog_id="'+i.upload_blog_id+'"',r.headers=d,r.method="POST",r.url="https://public-api.wordpress.com/rest/v1.1/videos/"+e+"/tracks/delete",r.credentials="omit",p.append("kind",o),p.append("srclang",n),r.body=p,wp.apiFetch(r).then((function(e){t(e)})).catch((function(e){a(e)}))}))}))},wp.apiFetch.use((function(e,o){var n=e.path,t=e.method,a=e.body,i=a?a.get("file"):null;if(!n||-1===n.indexOf("/wp/v2/media"))return o(e);if(!t||"post"!==t.toLowerCase())return o(e);if(!i||0!==i.type.indexOf("video/"))return o(e);wp.media.ajax("videopress-get-upload-token",{async:!1,data:{filename:i.name}}).done((function(o){var n=e.headers||{};n.Authorization='X_UPLOAD_TOKEN token="'+o.upload_token+'" blog_id="'+o.upload_blog_id+'"',e.headers=n,delete e.path,e.url=o.upload_action_url,e.credentials="omit",a.set("media[]",i),a.delete("file"),e.body=a}));var d=o(e);return new Promise((function(e,o){d.then((function(e){return e instanceof Response&&e.ok?e.json():e})).then((function(o){var n=lodash.get(o,"media[0]"),t=lodash.get(n,"ID"),a=wp.apiFetch({path:"/wp/v2/media/"+t});e(a)})).catch((function(e){"errors"in e&&"object"==typeof e.errors&&e.errors.length>0&&(e=e.errors.shift()),o(e)}))}))})); \ No newline at end of file
+window.videoPressUploadTrack=function(e,o,n,t,a){return new Promise((function(i,d){wp.media.ajax("videopress-get-upload-token",{async:!0,data:{filename:a.name}}).done((function(r){var p={},s={},c=new FormData;p.Authorization='X_UPLOAD_TOKEN token="'+r.upload_token+'" blog_id="'+r.upload_blog_id+'"',s.headers=p,s.method="POST",s.url="https://public-api.wordpress.com/rest/v1.1/videos/"+e+"/tracks",s.credentials="omit",c.append("kind",o),c.append("srclang",n),c.append("label",t),c.append("vtt",a),s.body=c,wp.apiFetch(s).then((function(e){i(e)})).catch((function(e){d(e)}))}))}))},window.videoPressDeleteTrack=function(e,o,n){return new Promise((function(t,a){wp.media.ajax("videopress-get-upload-token",{async:!0}).done((function(i){var d={},r={},p=new FormData;d.Authorization='X_UPLOAD_TOKEN token="'+i.upload_token+'" blog_id="'+i.upload_blog_id+'"',r.headers=d,r.method="POST",r.url="https://public-api.wordpress.com/rest/v1.1/videos/"+e+"/tracks/delete",r.credentials="omit",p.append("kind",o),p.append("srclang",n),r.body=p,wp.apiFetch(r).then((function(e){t(e)})).catch((function(e){a(e)}))}))}))},wp.apiFetch.use((function(e,o){var n=e.path,t=e.method,a=e.body;if(!n||-1===n.indexOf("/wp/v2/media"))return o(e);if(!t||"post"!==t.toLowerCase())return o(e);var i=a?a.get("file"):null;if(!i||0!==i.type.indexOf("video/"))return o(e);wp.media.ajax("videopress-get-upload-token",{async:!1,data:{filename:i.name}}).done((function(o){var n=e.headers||{};n.Authorization='X_UPLOAD_TOKEN token="'+o.upload_token+'" blog_id="'+o.upload_blog_id+'"',e.headers=n,delete e.path,e.url=o.upload_action_url,e.credentials="omit",a.set("media[]",i),a.delete("file"),e.body=a}));var d=o(e);return new Promise((function(e,o){d.then((function(e){return e instanceof Response&&e.ok?e.json():e})).then((function(o){var n=lodash.get(o,"media[0]"),t=lodash.get(n,"ID"),a=wp.apiFetch({path:"/wp/v2/media/"+t});e(a)})).catch((function(e){"errors"in e&&"object"==typeof e.errors&&e.errors.length>0&&(e=e.errors.shift()),o(e)}))}))})); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/videopress/js/media-video-widget-extensions.min.asset.php b/plugins/jetpack/_inc/build/videopress/js/media-video-widget-extensions.min.asset.php
index bf034db4..37f9bbb8 100644
--- a/plugins/jetpack/_inc/build/videopress/js/media-video-widget-extensions.min.asset.php
+++ b/plugins/jetpack/_inc/build/videopress/js/media-video-widget-extensions.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'b2805058a2f63ca901ea26e71c77f0bb'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'e9b65f721cc566554fd2');
diff --git a/plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.asset.php b/plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.asset.php
new file mode 100644
index 00000000..2cac0182
--- /dev/null
+++ b/plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array(), 'version' => '8d26a955e3eb542b0a2f');
diff --git a/plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.js b/plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.js
new file mode 100644
index 00000000..c84fb434
--- /dev/null
+++ b/plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.js
@@ -0,0 +1,2 @@
+/*! For license information please see test-gutenberg-video-upload.min.js.LICENSE.txt */
+!function(){var e={6877:function(e){function t(){var e=[].slice.call(arguments);function t(t,n){Object.keys(n).forEach((function(o){~e.indexOf(o)||(t[o]=n[o])}))}return function(){for(var e=[].slice.call(arguments),n=0,o={};n<e.length;n++)t(o,e[n]);return o}}function n(e,o,r){var i=t("name","message","stack","constructor","toJSON")(o||{});for(var s in this.message=e||"Unspecified AssertionError",this.showDiff=!1,i)this[s]=i[s];if(r=r||n,Error.captureStackTrace)Error.captureStackTrace(this,r);else try{throw new Error}catch(e){this.stack=e.stack}}e.exports=n,n.prototype=Object.create(Error.prototype),n.prototype.name="AssertionError",n.prototype.constructor=n,n.prototype.toJSON=function(e){var n=t("constructor","toJSON","stack")({name:this.name},this);return!1!==e&&this.stack&&(n.stack=this.stack),n}},8136:function(e,t,n){e.exports=n(7417)},7417:function(e,t,n){var o=[];t.version="4.3.3",t.AssertionError=n(6877);var r=n(1473);t.use=function(e){return~o.indexOf(e)||(e(t,r),o.push(e)),t},t.util=r;var i=n(1041);t.config=i;var s=n(9767);t.use(s);var a=n(4259);t.use(a);var c=n(2770);t.use(c);var u=n(6184);t.use(u);var p=n(2753);t.use(p)},9767:function(e,t,n){var o=n(1041);e.exports=function(e,t){var n=e.AssertionError,r=t.flag;function i(e,n,o,s){return r(this,"ssfi",o||i),r(this,"lockSsfi",s),r(this,"object",e),r(this,"message",n),t.proxify(this)}e.Assertion=i,Object.defineProperty(i,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),o.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),o.includeStack=e}}),Object.defineProperty(i,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),o.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),o.showDiff=e}}),i.addProperty=function(e,n){t.addProperty(this.prototype,e,n)},i.addMethod=function(e,n){t.addMethod(this.prototype,e,n)},i.addChainableMethod=function(e,n,o){t.addChainableMethod(this.prototype,e,n,o)},i.overwriteProperty=function(e,n){t.overwriteProperty(this.prototype,e,n)},i.overwriteMethod=function(e,n){t.overwriteMethod(this.prototype,e,n)},i.overwriteChainableMethod=function(e,n,o){t.overwriteChainableMethod(this.prototype,e,n,o)},i.prototype.assert=function(e,i,s,a,c,u){var p=t.test(this,arguments);if(!1!==u&&(u=!0),void 0===a&&void 0===c&&(u=!1),!0!==o.showDiff&&(u=!1),!p){i=t.getMessage(this,arguments);var f=t.getActual(this,arguments),d={actual:f,expected:a,showDiff:u},l=t.getOperator(this,arguments);throw l&&(d.operator=l),new n(i,d,o.includeStack?this.assert:r(this,"ssfi"))}},Object.defineProperty(i.prototype,"_obj",{get:function(){return r(this,"object")},set:function(e){r(this,"object",e)}})}},1041:function(e){e.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"]}},4259:function(e){e.exports=function(e,t){var n=e.Assertion,o=e.AssertionError,r=t.flag;function i(e,n){n&&r(this,"message",n),e=e.toLowerCase();var o=r(this,"object"),i=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";this.assert(e===t.type(o).toLowerCase(),"expected #{this} to be "+i+e,"expected #{this} not to be "+i+e)}function s(e,n){return t.isNaN(e)&&t.isNaN(n)||e===n}function a(){r(this,"contains",!0)}function c(e,i){i&&r(this,"message",i);var a=r(this,"object"),c=t.type(a).toLowerCase(),u=r(this,"message"),p=r(this,"negate"),f=r(this,"ssfi"),d=r(this,"deep"),l=d?"deep ":"";u=u?u+": ":"";var h=!1;switch(c){case"string":h=-1!==a.indexOf(e);break;case"weakset":if(d)throw new o(u+"unable to use .deep.include with WeakSet",void 0,f);h=a.has(e);break;case"map":var y=d?t.eql:s;a.forEach((function(t){h=h||y(t,e)}));break;case"set":d?a.forEach((function(n){h=h||t.eql(n,e)})):h=a.has(e);break;case"array":h=d?a.some((function(n){return t.eql(n,e)})):-1!==a.indexOf(e);break;default:if(e!==Object(e))throw new o(u+"the given combination of arguments ("+c+" and "+t.type(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+t.type(e).toLowerCase(),void 0,f);var b=Object.keys(e),w=null,g=0;if(b.forEach((function(i){var s=new n(a);if(t.transferFlags(this,s,!0),r(s,"lockSsfi",!0),p&&1!==b.length)try{s.property(i,e[i])}catch(e){if(!t.checkError.compatibleConstructor(e,o))throw e;null===w&&(w=e),g++}else s.property(i,e[i])}),this),p&&b.length>1&&g===b.length)throw w;return}this.assert(h,"expected #{this} to "+l+"include "+t.inspect(e),"expected #{this} to not "+l+"include "+t.inspect(e))}function u(){var e=r(this,"object");this.assert(null!=e,"expected #{this} to exist","expected #{this} to not exist")}function p(){var e=r(this,"object"),n=t.type(e);this.assert("Arguments"===n,"expected #{this} to be arguments but got "+n,"expected #{this} to not be arguments")}function f(e,t){t&&r(this,"message",t);var n=r(this,"object");if(r(this,"deep")){var o=r(this,"lockSsfi");r(this,"lockSsfi",!0),this.eql(e),r(this,"lockSsfi",o)}else this.assert(e===n,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}function d(e,n){n&&r(this,"message",n),this.assert(t.eql(e,r(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}function l(e,i){i&&r(this,"message",i);var s,a=r(this,"object"),c=r(this,"doLength"),u=r(this,"message"),p=u?u+": ":"",f=r(this,"ssfi"),d=t.type(a).toLowerCase(),l=t.type(e).toLowerCase(),h=!0;if(c&&"map"!==d&&"set"!==d&&new n(a,u,f,!0).to.have.property("length"),c||"date"!==d||"date"===l)if("number"===l||!c&&"number"!==d)if(c||"date"===d||"number"===d)h=!1;else{s=p+"expected "+("string"===d?"'"+a+"'":a)+" to be a number or a date"}else s=p+"the argument to above must be a number";else s=p+"the argument to above must be a date";if(h)throw new o(s,void 0,f);if(c){var y,b="length";"map"===d||"set"===d?(b="size",y=a.size):y=a.length,this.assert(y>e,"expected #{this} to have a "+b+" above #{exp} but got #{act}","expected #{this} to not have a "+b+" above #{exp}",e,y)}else this.assert(a>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}function h(e,i){i&&r(this,"message",i);var s,a=r(this,"object"),c=r(this,"doLength"),u=r(this,"message"),p=u?u+": ":"",f=r(this,"ssfi"),d=t.type(a).toLowerCase(),l=t.type(e).toLowerCase(),h=!0;if(c&&"map"!==d&&"set"!==d&&new n(a,u,f,!0).to.have.property("length"),c||"date"!==d||"date"===l)if("number"===l||!c&&"number"!==d)if(c||"date"===d||"number"===d)h=!1;else{s=p+"expected "+("string"===d?"'"+a+"'":a)+" to be a number or a date"}else s=p+"the argument to least must be a number";else s=p+"the argument to least must be a date";if(h)throw new o(s,void 0,f);if(c){var y,b="length";"map"===d||"set"===d?(b="size",y=a.size):y=a.length,this.assert(y>=e,"expected #{this} to have a "+b+" at least #{exp} but got #{act}","expected #{this} to have a "+b+" below #{exp}",e,y)}else this.assert(a>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}function y(e,i){i&&r(this,"message",i);var s,a=r(this,"object"),c=r(this,"doLength"),u=r(this,"message"),p=u?u+": ":"",f=r(this,"ssfi"),d=t.type(a).toLowerCase(),l=t.type(e).toLowerCase(),h=!0;if(c&&"map"!==d&&"set"!==d&&new n(a,u,f,!0).to.have.property("length"),c||"date"!==d||"date"===l)if("number"===l||!c&&"number"!==d)if(c||"date"===d||"number"===d)h=!1;else{s=p+"expected "+("string"===d?"'"+a+"'":a)+" to be a number or a date"}else s=p+"the argument to below must be a number";else s=p+"the argument to below must be a date";if(h)throw new o(s,void 0,f);if(c){var y,b="length";"map"===d||"set"===d?(b="size",y=a.size):y=a.length,this.assert(y<e,"expected #{this} to have a "+b+" below #{exp} but got #{act}","expected #{this} to not have a "+b+" below #{exp}",e,y)}else this.assert(a<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}function b(e,i){i&&r(this,"message",i);var s,a=r(this,"object"),c=r(this,"doLength"),u=r(this,"message"),p=u?u+": ":"",f=r(this,"ssfi"),d=t.type(a).toLowerCase(),l=t.type(e).toLowerCase(),h=!0;if(c&&"map"!==d&&"set"!==d&&new n(a,u,f,!0).to.have.property("length"),c||"date"!==d||"date"===l)if("number"===l||!c&&"number"!==d)if(c||"date"===d||"number"===d)h=!1;else{s=p+"expected "+("string"===d?"'"+a+"'":a)+" to be a number or a date"}else s=p+"the argument to most must be a number";else s=p+"the argument to most must be a date";if(h)throw new o(s,void 0,f);if(c){var y,b="length";"map"===d||"set"===d?(b="size",y=a.size):y=a.length,this.assert(y<=e,"expected #{this} to have a "+b+" at most #{exp} but got #{act}","expected #{this} to have a "+b+" above #{exp}",e,y)}else this.assert(a<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}function w(e,n){n&&r(this,"message",n);var i=r(this,"object"),s=r(this,"ssfi"),a=r(this,"message");try{var c=i instanceof e}catch(n){if(n instanceof TypeError)throw new o((a=a?a+": ":"")+"The instanceof assertion needs a constructor but "+t.type(e)+" was given.",void 0,s);throw n}var u=t.getName(e);null===u&&(u="an unnamed constructor"),this.assert(c,"expected #{this} to be an instance of "+u,"expected #{this} to not be an instance of "+u)}function g(e,n,i){i&&r(this,"message",i);var s=r(this,"nested"),a=r(this,"own"),c=r(this,"message"),u=r(this,"object"),p=r(this,"ssfi"),f=typeof e;if(c=c?c+": ":"",s){if("string"!==f)throw new o(c+"the argument to property must be a string when using nested syntax",void 0,p)}else if("string"!==f&&"number"!==f&&"symbol"!==f)throw new o(c+"the argument to property must be a string, number, or symbol",void 0,p);if(s&&a)throw new o(c+'The "nested" and "own" flags cannot be combined.',void 0,p);if(null==u)throw new o(c+"Target cannot be null or undefined.",void 0,p);var d,l=r(this,"deep"),h=r(this,"negate"),y=s?t.getPathInfo(u,e):null,b=s?y.value:u[e],w="";l&&(w+="deep "),a&&(w+="own "),s&&(w+="nested "),w+="property ",d=a?Object.prototype.hasOwnProperty.call(u,e):s?y.exists:t.hasProperty(u,e),h&&1!==arguments.length||this.assert(d,"expected #{this} to have "+w+t.inspect(e),"expected #{this} to not have "+w+t.inspect(e)),arguments.length>1&&this.assert(d&&(l?t.eql(n,b):n===b),"expected #{this} to have "+w+t.inspect(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+w+t.inspect(e)+" of #{act}",n,b),r(this,"object",b)}function m(e,t,n){r(this,"own",!0),g.apply(this,arguments)}function v(e,n,o){"string"==typeof n&&(o=n,n=null),o&&r(this,"message",o);var i=r(this,"object"),s=Object.getOwnPropertyDescriptor(Object(i),e);s&&n?this.assert(t.eql(n,s),"expected the own property descriptor for "+t.inspect(e)+" on #{this} to match "+t.inspect(n)+", got "+t.inspect(s),"expected the own property descriptor for "+t.inspect(e)+" on #{this} to not match "+t.inspect(n),n,s,!0):this.assert(s,"expected #{this} to have an own property descriptor for "+t.inspect(e),"expected #{this} to not have an own property descriptor for "+t.inspect(e)),r(this,"object",s)}function x(){r(this,"doLength",!0)}function O(e,o){o&&r(this,"message",o);var i,s=r(this,"object"),a=t.type(s).toLowerCase(),c=r(this,"message"),u=r(this,"ssfi"),p="length";switch(a){case"map":case"set":p="size",i=s.size;break;default:new n(s,c,u,!0).to.have.property("length"),i=s.length}this.assert(i==e,"expected #{this} to have a "+p+" of #{exp} but got #{act}","expected #{this} to not have a "+p+" of #{act}",e,i)}function j(e,t){t&&r(this,"message",t);var n=r(this,"object");this.assert(e.exec(n),"expected #{this} to match "+e,"expected #{this} not to match "+e)}function M(e){var n,i,s=r(this,"object"),a=t.type(s),c=t.type(e),u=r(this,"ssfi"),p=r(this,"deep"),f="",d=!0,l=r(this,"message"),h=(l=l?l+": ":"")+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if("Map"===a||"Set"===a)f=p?"deeply ":"",i=[],s.forEach((function(e,t){i.push(t)})),"Array"!==c&&(e=Array.prototype.slice.call(arguments));else{switch(i=t.getOwnEnumerableProperties(s),c){case"Array":if(arguments.length>1)throw new o(h,void 0,u);break;case"Object":if(arguments.length>1)throw new o(h,void 0,u);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map((function(e){return"symbol"==typeof e?e:String(e)}))}if(!e.length)throw new o(l+"keys required",void 0,u);var y=e.length,b=r(this,"any"),w=r(this,"all"),g=e;if(b||w||(w=!0),b&&(d=g.some((function(e){return i.some((function(n){return p?t.eql(e,n):e===n}))}))),w&&(d=g.every((function(e){return i.some((function(n){return p?t.eql(e,n):e===n}))})),r(this,"contains")||(d=d&&e.length==i.length)),y>1){var m=(e=e.map((function(e){return t.inspect(e)}))).pop();w&&(n=e.join(", ")+", and "+m),b&&(n=e.join(", ")+", or "+m)}else n=t.inspect(e[0]);n=(y>1?"keys ":"key ")+n,n=(r(this,"contains")?"contain ":"have ")+n,this.assert(d,"expected #{this} to "+f+n,"expected #{this} to not "+f+n,g.slice(0).sort(t.compareByInspect),i.sort(t.compareByInspect),!0)}function N(e,o,i){i&&r(this,"message",i);var s,a=r(this,"object"),c=r(this,"ssfi"),u=r(this,"message"),p=r(this,"negate")||!1;new n(a,u,c,!0).is.a("function"),(e instanceof RegExp||"string"==typeof e)&&(o=e,e=null);try{a()}catch(e){s=e}var f=void 0===e&&void 0===o,d=Boolean(e&&o),l=!1,h=!1;if(f||!f&&!p){var y="an error";e instanceof Error?y="#{exp}":e&&(y=t.checkError.getConstructorName(e)),this.assert(s,"expected #{this} to throw "+y,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),s instanceof Error?s.toString():"string"==typeof s?s:s&&t.checkError.getConstructorName(s))}if(e&&s){if(e instanceof Error)t.checkError.compatibleInstance(s,e)===p&&(d&&p?l=!0:this.assert(p,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!p?" but #{act} was thrown":""),e.toString(),s.toString()));t.checkError.compatibleConstructor(s,e)===p&&(d&&p?l=!0:this.assert(p,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&t.checkError.getConstructorName(e),s instanceof Error?s.toString():s&&t.checkError.getConstructorName(s)))}if(s&&null!=o){var b="including";o instanceof RegExp&&(b="matching"),t.checkError.compatibleMessage(s,o)===p&&(d&&p?h=!0:this.assert(p,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",o,t.checkError.getMessage(s)))}l&&h&&this.assert(p,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&t.checkError.getConstructorName(e),s instanceof Error?s.toString():s&&t.checkError.getConstructorName(s)),r(this,"object",s)}function S(e,n){n&&r(this,"message",n);var o=r(this,"object"),i=r(this,"itself"),s="function"!=typeof o||i?o[e]:o.prototype[e];this.assert("function"==typeof s,"expected #{this} to respond to "+t.inspect(e),"expected #{this} to not respond to "+t.inspect(e))}function P(e,n){n&&r(this,"message",n);var o=e(r(this,"object"));this.assert(o,"expected #{this} to satisfy "+t.objDisplay(e),"expected #{this} to not satisfy"+t.objDisplay(e),!r(this,"negate"),o)}function k(e,t,i){i&&r(this,"message",i);var s=r(this,"object"),a=r(this,"message"),c=r(this,"ssfi");if(new n(s,a,c,!0).is.a("number"),"number"!=typeof e||"number"!=typeof t)throw new o((a=a?a+": ":"")+"the arguments to closeTo or approximately must be numbers"+(void 0===t?", and a delta is required":""),void 0,c);this.assert(Math.abs(s-e)<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}function E(e,t,o){o&&r(this,"message",o);var i,s=r(this,"object"),a=r(this,"message"),c=r(this,"ssfi");new n(s,a,c,!0).is.a("function"),t?(new n(e,a,c,!0).to.have.property(t),i=e[t]):(new n(e,a,c,!0).is.a("function"),i=e()),s();var u=null==t?e():e[t],p=null==t?i:"."+t;r(this,"deltaMsgObj",p),r(this,"initialDeltaValue",i),r(this,"finalDeltaValue",u),r(this,"deltaBehavior","change"),r(this,"realDelta",u!==i),this.assert(i!==u,"expected "+p+" to change","expected "+p+" to not change")}function A(e,t,o){o&&r(this,"message",o);var i,s=r(this,"object"),a=r(this,"message"),c=r(this,"ssfi");new n(s,a,c,!0).is.a("function"),t?(new n(e,a,c,!0).to.have.property(t),i=e[t]):(new n(e,a,c,!0).is.a("function"),i=e()),new n(i,a,c,!0).is.a("number"),s();var u=null==t?e():e[t],p=null==t?i:"."+t;r(this,"deltaMsgObj",p),r(this,"initialDeltaValue",i),r(this,"finalDeltaValue",u),r(this,"deltaBehavior","increase"),r(this,"realDelta",u-i),this.assert(u-i>0,"expected "+p+" to increase","expected "+p+" to not increase")}function D(e,t,o){o&&r(this,"message",o);var i,s=r(this,"object"),a=r(this,"message"),c=r(this,"ssfi");new n(s,a,c,!0).is.a("function"),t?(new n(e,a,c,!0).to.have.property(t),i=e[t]):(new n(e,a,c,!0).is.a("function"),i=e()),new n(i,a,c,!0).is.a("number"),s();var u=null==t?e():e[t],p=null==t?i:"."+t;r(this,"deltaMsgObj",p),r(this,"initialDeltaValue",i),r(this,"finalDeltaValue",u),r(this,"deltaBehavior","decrease"),r(this,"realDelta",i-u),this.assert(u-i<0,"expected "+p+" to decrease","expected "+p+" to not decrease")}["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach((function(e){n.addProperty(e)})),n.addProperty("not",(function(){r(this,"negate",!0)})),n.addProperty("deep",(function(){r(this,"deep",!0)})),n.addProperty("nested",(function(){r(this,"nested",!0)})),n.addProperty("own",(function(){r(this,"own",!0)})),n.addProperty("ordered",(function(){r(this,"ordered",!0)})),n.addProperty("any",(function(){r(this,"any",!0),r(this,"all",!1)})),n.addProperty("all",(function(){r(this,"all",!0),r(this,"any",!1)})),n.addChainableMethod("an",i),n.addChainableMethod("a",i),n.addChainableMethod("include",c,a),n.addChainableMethod("contain",c,a),n.addChainableMethod("contains",c,a),n.addChainableMethod("includes",c,a),n.addProperty("ok",(function(){this.assert(r(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")})),n.addProperty("true",(function(){this.assert(!0===r(this,"object"),"expected #{this} to be true","expected #{this} to be false",!r(this,"negate"))})),n.addProperty("false",(function(){this.assert(!1===r(this,"object"),"expected #{this} to be false","expected #{this} to be true",!!r(this,"negate"))})),n.addProperty("null",(function(){this.assert(null===r(this,"object"),"expected #{this} to be null","expected #{this} not to be null")})),n.addProperty("undefined",(function(){this.assert(void 0===r(this,"object"),"expected #{this} to be undefined","expected #{this} not to be undefined")})),n.addProperty("NaN",(function(){this.assert(t.isNaN(r(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")})),n.addProperty("exist",u),n.addProperty("exists",u),n.addProperty("empty",(function(){var e,n=r(this,"object"),i=r(this,"ssfi"),s=r(this,"message");switch(s=s?s+": ":"",t.type(n).toLowerCase()){case"array":case"string":e=n.length;break;case"map":case"set":e=n.size;break;case"weakmap":case"weakset":throw new o(s+".empty was passed a weak collection",void 0,i);case"function":var a=s+".empty was passed a function "+t.getName(n);throw new o(a.trim(),void 0,i);default:if(n!==Object(n))throw new o(s+".empty was passed non-string primitive "+t.inspect(n),void 0,i);e=Object.keys(n).length}this.assert(0===e,"expected #{this} to be empty","expected #{this} not to be empty")})),n.addProperty("arguments",p),n.addProperty("Arguments",p),n.addMethod("equal",f),n.addMethod("equals",f),n.addMethod("eq",f),n.addMethod("eql",d),n.addMethod("eqls",d),n.addMethod("above",l),n.addMethod("gt",l),n.addMethod("greaterThan",l),n.addMethod("least",h),n.addMethod("gte",h),n.addMethod("greaterThanOrEqual",h),n.addMethod("below",y),n.addMethod("lt",y),n.addMethod("lessThan",y),n.addMethod("most",b),n.addMethod("lte",b),n.addMethod("lessThanOrEqual",b),n.addMethod("within",(function(e,i,s){s&&r(this,"message",s);var a,c=r(this,"object"),u=r(this,"doLength"),p=r(this,"message"),f=p?p+": ":"",d=r(this,"ssfi"),l=t.type(c).toLowerCase(),h=t.type(e).toLowerCase(),y=t.type(i).toLowerCase(),b=!0,w="date"===h&&"date"===y?e.toUTCString()+".."+i.toUTCString():e+".."+i;if(u&&"map"!==l&&"set"!==l&&new n(c,p,d,!0).to.have.property("length"),u||"date"!==l||"date"===h&&"date"===y)if("number"===h&&"number"===y||!u&&"number"!==l)if(u||"date"===l||"number"===l)b=!1;else{a=f+"expected "+("string"===l?"'"+c+"'":c)+" to be a number or a date"}else a=f+"the arguments to within must be numbers";else a=f+"the arguments to within must be dates";if(b)throw new o(a,void 0,d);if(u){var g,m="length";"map"===l||"set"===l?(m="size",g=c.size):g=c.length,this.assert(g>=e&&g<=i,"expected #{this} to have a "+m+" within "+w,"expected #{this} to not have a "+m+" within "+w)}else this.assert(c>=e&&c<=i,"expected #{this} to be within "+w,"expected #{this} to not be within "+w)})),n.addMethod("instanceof",w),n.addMethod("instanceOf",w),n.addMethod("property",g),n.addMethod("ownProperty",m),n.addMethod("haveOwnProperty",m),n.addMethod("ownPropertyDescriptor",v),n.addMethod("haveOwnPropertyDescriptor",v),n.addChainableMethod("length",O,x),n.addChainableMethod("lengthOf",O,x),n.addMethod("match",j),n.addMethod("matches",j),n.addMethod("string",(function(e,o){o&&r(this,"message",o);var i=r(this,"object"),s=r(this,"message"),a=r(this,"ssfi");new n(i,s,a,!0).is.a("string"),this.assert(~i.indexOf(e),"expected #{this} to contain "+t.inspect(e),"expected #{this} to not contain "+t.inspect(e))})),n.addMethod("keys",M),n.addMethod("key",M),n.addMethod("throw",N),n.addMethod("throws",N),n.addMethod("Throw",N),n.addMethod("respondTo",S),n.addMethod("respondsTo",S),n.addProperty("itself",(function(){r(this,"itself",!0)})),n.addMethod("satisfy",P),n.addMethod("satisfies",P),n.addMethod("closeTo",k),n.addMethod("approximately",k),n.addMethod("members",(function(e,o){o&&r(this,"message",o);var i=r(this,"object"),s=r(this,"message"),a=r(this,"ssfi");new n(i,s,a,!0).to.be.an("array"),new n(e,s,a,!0).to.be.an("array");var c,u,p,f=r(this,"contains"),d=r(this,"ordered");f?(u="expected #{this} to be "+(c=d?"an ordered superset":"a superset")+" of #{exp}",p="expected #{this} to not be "+c+" of #{exp}"):(u="expected #{this} to have the same "+(c=d?"ordered members":"members")+" as #{exp}",p="expected #{this} to not have the same "+c+" as #{exp}");var l=r(this,"deep")?t.eql:void 0;this.assert(function(e,t,n,o,r){if(!o){if(e.length!==t.length)return!1;t=t.slice()}return e.every((function(e,i){if(r)return n?n(e,t[i]):e===t[i];if(!n){var s=t.indexOf(e);return-1!==s&&(o||t.splice(s,1),!0)}return t.some((function(r,i){return!!n(e,r)&&(o||t.splice(i,1),!0)}))}))}(e,i,l,f,d),u,p,e,i,!0)})),n.addMethod("oneOf",(function(e,o){o&&r(this,"message",o);var i=r(this,"object"),s=r(this,"message"),a=r(this,"ssfi"),c=r(this,"contains"),u=r(this,"deep");new n(e,s,a,!0).to.be.an("array"),c?this.assert(e.some((function(e){return i.indexOf(e)>-1})),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,i):u?this.assert(e.some((function(e){return t.eql(i,e)})),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,i):this.assert(e.indexOf(i)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,i)})),n.addMethod("change",E),n.addMethod("changes",E),n.addMethod("increase",A),n.addMethod("increases",A),n.addMethod("decrease",D),n.addMethod("decreases",D),n.addMethod("by",(function(e,t){t&&r(this,"message",t);var n,o=r(this,"deltaMsgObj"),i=r(this,"initialDeltaValue"),s=r(this,"finalDeltaValue"),a=r(this,"deltaBehavior"),c=r(this,"realDelta");n="change"===a?Math.abs(s-i)===Math.abs(e):c===Math.abs(e),this.assert(n,"expected "+o+" to "+a+" by "+e,"expected "+o+" to not "+a+" by "+e)})),n.addProperty("extensible",(function(){var e=r(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")})),n.addProperty("sealed",(function(){var e=r(this,"object"),t=e!==Object(e)||Object.isSealed(e);this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")})),n.addProperty("frozen",(function(){var e=r(this,"object"),t=e!==Object(e)||Object.isFrozen(e);this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")})),n.addProperty("finite",(function(e){var t=r(this,"object");this.assert("number"==typeof t&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")}))}},2753:function(e){e.exports=function(e,t){var n=e.Assertion,o=t.flag,r=e.assert=function(t,o){new n(null,null,e.assert,!0).assert(t,o,"[ negation message unavailable ]")};r.fail=function(t,n,o,i){throw arguments.length<2&&(o=t,t=void 0),o=o||"assert.fail()",new e.AssertionError(o,{actual:t,expected:n,operator:i},r.fail)},r.isOk=function(e,t){new n(e,t,r.isOk,!0).is.ok},r.isNotOk=function(e,t){new n(e,t,r.isNotOk,!0).is.not.ok},r.equal=function(e,t,i){var s=new n(e,i,r.equal,!0);s.assert(t==o(s,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)},r.notEqual=function(e,t,i){var s=new n(e,i,r.notEqual,!0);s.assert(t!=o(s,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)},r.strictEqual=function(e,t,o){new n(e,o,r.strictEqual,!0).to.equal(t)},r.notStrictEqual=function(e,t,o){new n(e,o,r.notStrictEqual,!0).to.not.equal(t)},r.deepEqual=r.deepStrictEqual=function(e,t,o){new n(e,o,r.deepEqual,!0).to.eql(t)},r.notDeepEqual=function(e,t,o){new n(e,o,r.notDeepEqual,!0).to.not.eql(t)},r.isAbove=function(e,t,o){new n(e,o,r.isAbove,!0).to.be.above(t)},r.isAtLeast=function(e,t,o){new n(e,o,r.isAtLeast,!0).to.be.least(t)},r.isBelow=function(e,t,o){new n(e,o,r.isBelow,!0).to.be.below(t)},r.isAtMost=function(e,t,o){new n(e,o,r.isAtMost,!0).to.be.most(t)},r.isTrue=function(e,t){new n(e,t,r.isTrue,!0).is.true},r.isNotTrue=function(e,t){new n(e,t,r.isNotTrue,!0).to.not.equal(!0)},r.isFalse=function(e,t){new n(e,t,r.isFalse,!0).is.false},r.isNotFalse=function(e,t){new n(e,t,r.isNotFalse,!0).to.not.equal(!1)},r.isNull=function(e,t){new n(e,t,r.isNull,!0).to.equal(null)},r.isNotNull=function(e,t){new n(e,t,r.isNotNull,!0).to.not.equal(null)},r.isNaN=function(e,t){new n(e,t,r.isNaN,!0).to.be.NaN},r.isNotNaN=function(e,t){new n(e,t,r.isNotNaN,!0).not.to.be.NaN},r.exists=function(e,t){new n(e,t,r.exists,!0).to.exist},r.notExists=function(e,t){new n(e,t,r.notExists,!0).to.not.exist},r.isUndefined=function(e,t){new n(e,t,r.isUndefined,!0).to.equal(void 0)},r.isDefined=function(e,t){new n(e,t,r.isDefined,!0).to.not.equal(void 0)},r.isFunction=function(e,t){new n(e,t,r.isFunction,!0).to.be.a("function")},r.isNotFunction=function(e,t){new n(e,t,r.isNotFunction,!0).to.not.be.a("function")},r.isObject=function(e,t){new n(e,t,r.isObject,!0).to.be.a("object")},r.isNotObject=function(e,t){new n(e,t,r.isNotObject,!0).to.not.be.a("object")},r.isArray=function(e,t){new n(e,t,r.isArray,!0).to.be.an("array")},r.isNotArray=function(e,t){new n(e,t,r.isNotArray,!0).to.not.be.an("array")},r.isString=function(e,t){new n(e,t,r.isString,!0).to.be.a("string")},r.isNotString=function(e,t){new n(e,t,r.isNotString,!0).to.not.be.a("string")},r.isNumber=function(e,t){new n(e,t,r.isNumber,!0).to.be.a("number")},r.isNotNumber=function(e,t){new n(e,t,r.isNotNumber,!0).to.not.be.a("number")},r.isFinite=function(e,t){new n(e,t,r.isFinite,!0).to.be.finite},r.isBoolean=function(e,t){new n(e,t,r.isBoolean,!0).to.be.a("boolean")},r.isNotBoolean=function(e,t){new n(e,t,r.isNotBoolean,!0).to.not.be.a("boolean")},r.typeOf=function(e,t,o){new n(e,o,r.typeOf,!0).to.be.a(t)},r.notTypeOf=function(e,t,o){new n(e,o,r.notTypeOf,!0).to.not.be.a(t)},r.instanceOf=function(e,t,o){new n(e,o,r.instanceOf,!0).to.be.instanceOf(t)},r.notInstanceOf=function(e,t,o){new n(e,o,r.notInstanceOf,!0).to.not.be.instanceOf(t)},r.include=function(e,t,o){new n(e,o,r.include,!0).include(t)},r.notInclude=function(e,t,o){new n(e,o,r.notInclude,!0).not.include(t)},r.deepInclude=function(e,t,o){new n(e,o,r.deepInclude,!0).deep.include(t)},r.notDeepInclude=function(e,t,o){new n(e,o,r.notDeepInclude,!0).not.deep.include(t)},r.nestedInclude=function(e,t,o){new n(e,o,r.nestedInclude,!0).nested.include(t)},r.notNestedInclude=function(e,t,o){new n(e,o,r.notNestedInclude,!0).not.nested.include(t)},r.deepNestedInclude=function(e,t,o){new n(e,o,r.deepNestedInclude,!0).deep.nested.include(t)},r.notDeepNestedInclude=function(e,t,o){new n(e,o,r.notDeepNestedInclude,!0).not.deep.nested.include(t)},r.ownInclude=function(e,t,o){new n(e,o,r.ownInclude,!0).own.include(t)},r.notOwnInclude=function(e,t,o){new n(e,o,r.notOwnInclude,!0).not.own.include(t)},r.deepOwnInclude=function(e,t,o){new n(e,o,r.deepOwnInclude,!0).deep.own.include(t)},r.notDeepOwnInclude=function(e,t,o){new n(e,o,r.notDeepOwnInclude,!0).not.deep.own.include(t)},r.match=function(e,t,o){new n(e,o,r.match,!0).to.match(t)},r.notMatch=function(e,t,o){new n(e,o,r.notMatch,!0).to.not.match(t)},r.property=function(e,t,o){new n(e,o,r.property,!0).to.have.property(t)},r.notProperty=function(e,t,o){new n(e,o,r.notProperty,!0).to.not.have.property(t)},r.propertyVal=function(e,t,o,i){new n(e,i,r.propertyVal,!0).to.have.property(t,o)},r.notPropertyVal=function(e,t,o,i){new n(e,i,r.notPropertyVal,!0).to.not.have.property(t,o)},r.deepPropertyVal=function(e,t,o,i){new n(e,i,r.deepPropertyVal,!0).to.have.deep.property(t,o)},r.notDeepPropertyVal=function(e,t,o,i){new n(e,i,r.notDeepPropertyVal,!0).to.not.have.deep.property(t,o)},r.ownProperty=function(e,t,o){new n(e,o,r.ownProperty,!0).to.have.own.property(t)},r.notOwnProperty=function(e,t,o){new n(e,o,r.notOwnProperty,!0).to.not.have.own.property(t)},r.ownPropertyVal=function(e,t,o,i){new n(e,i,r.ownPropertyVal,!0).to.have.own.property(t,o)},r.notOwnPropertyVal=function(e,t,o,i){new n(e,i,r.notOwnPropertyVal,!0).to.not.have.own.property(t,o)},r.deepOwnPropertyVal=function(e,t,o,i){new n(e,i,r.deepOwnPropertyVal,!0).to.have.deep.own.property(t,o)},r.notDeepOwnPropertyVal=function(e,t,o,i){new n(e,i,r.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,o)},r.nestedProperty=function(e,t,o){new n(e,o,r.nestedProperty,!0).to.have.nested.property(t)},r.notNestedProperty=function(e,t,o){new n(e,o,r.notNestedProperty,!0).to.not.have.nested.property(t)},r.nestedPropertyVal=function(e,t,o,i){new n(e,i,r.nestedPropertyVal,!0).to.have.nested.property(t,o)},r.notNestedPropertyVal=function(e,t,o,i){new n(e,i,r.notNestedPropertyVal,!0).to.not.have.nested.property(t,o)},r.deepNestedPropertyVal=function(e,t,o,i){new n(e,i,r.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,o)},r.notDeepNestedPropertyVal=function(e,t,o,i){new n(e,i,r.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,o)},r.lengthOf=function(e,t,o){new n(e,o,r.lengthOf,!0).to.have.lengthOf(t)},r.hasAnyKeys=function(e,t,o){new n(e,o,r.hasAnyKeys,!0).to.have.any.keys(t)},r.hasAllKeys=function(e,t,o){new n(e,o,r.hasAllKeys,!0).to.have.all.keys(t)},r.containsAllKeys=function(e,t,o){new n(e,o,r.containsAllKeys,!0).to.contain.all.keys(t)},r.doesNotHaveAnyKeys=function(e,t,o){new n(e,o,r.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)},r.doesNotHaveAllKeys=function(e,t,o){new n(e,o,r.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)},r.hasAnyDeepKeys=function(e,t,o){new n(e,o,r.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)},r.hasAllDeepKeys=function(e,t,o){new n(e,o,r.hasAllDeepKeys,!0).to.have.all.deep.keys(t)},r.containsAllDeepKeys=function(e,t,o){new n(e,o,r.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)},r.doesNotHaveAnyDeepKeys=function(e,t,o){new n(e,o,r.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)},r.doesNotHaveAllDeepKeys=function(e,t,o){new n(e,o,r.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)},r.throws=function(e,t,i,s){("string"==typeof t||t instanceof RegExp)&&(i=t,t=null);var a=new n(e,s,r.throws,!0).to.throw(t,i);return o(a,"object")},r.doesNotThrow=function(e,t,o,i){("string"==typeof t||t instanceof RegExp)&&(o=t,t=null),new n(e,i,r.doesNotThrow,!0).to.not.throw(t,o)},r.operator=function(i,s,a,c){var u;switch(s){case"==":u=i==a;break;case"===":u=i===a;break;case">":u=i>a;break;case">=":u=i>=a;break;case"<":u=i<a;break;case"<=":u=i<=a;break;case"!=":u=i!=a;break;case"!==":u=i!==a;break;default:throw c=c?c+": ":c,new e.AssertionError(c+'Invalid operator "'+s+'"',void 0,r.operator)}var p=new n(u,c,r.operator,!0);p.assert(!0===o(p,"object"),"expected "+t.inspect(i)+" to be "+s+" "+t.inspect(a),"expected "+t.inspect(i)+" to not be "+s+" "+t.inspect(a))},r.closeTo=function(e,t,o,i){new n(e,i,r.closeTo,!0).to.be.closeTo(t,o)},r.approximately=function(e,t,o,i){new n(e,i,r.approximately,!0).to.be.approximately(t,o)},r.sameMembers=function(e,t,o){new n(e,o,r.sameMembers,!0).to.have.same.members(t)},r.notSameMembers=function(e,t,o){new n(e,o,r.notSameMembers,!0).to.not.have.same.members(t)},r.sameDeepMembers=function(e,t,o){new n(e,o,r.sameDeepMembers,!0).to.have.same.deep.members(t)},r.notSameDeepMembers=function(e,t,o){new n(e,o,r.notSameDeepMembers,!0).to.not.have.same.deep.members(t)},r.sameOrderedMembers=function(e,t,o){new n(e,o,r.sameOrderedMembers,!0).to.have.same.ordered.members(t)},r.notSameOrderedMembers=function(e,t,o){new n(e,o,r.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)},r.sameDeepOrderedMembers=function(e,t,o){new n(e,o,r.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)},r.notSameDeepOrderedMembers=function(e,t,o){new n(e,o,r.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)},r.includeMembers=function(e,t,o){new n(e,o,r.includeMembers,!0).to.include.members(t)},r.notIncludeMembers=function(e,t,o){new n(e,o,r.notIncludeMembers,!0).to.not.include.members(t)},r.includeDeepMembers=function(e,t,o){new n(e,o,r.includeDeepMembers,!0).to.include.deep.members(t)},r.notIncludeDeepMembers=function(e,t,o){new n(e,o,r.notIncludeDeepMembers,!0).to.not.include.deep.members(t)},r.includeOrderedMembers=function(e,t,o){new n(e,o,r.includeOrderedMembers,!0).to.include.ordered.members(t)},r.notIncludeOrderedMembers=function(e,t,o){new n(e,o,r.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)},r.includeDeepOrderedMembers=function(e,t,o){new n(e,o,r.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)},r.notIncludeDeepOrderedMembers=function(e,t,o){new n(e,o,r.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)},r.oneOf=function(e,t,o){new n(e,o,r.oneOf,!0).to.be.oneOf(t)},r.changes=function(e,t,o,i){3===arguments.length&&"function"==typeof t&&(i=o,o=null),new n(e,i,r.changes,!0).to.change(t,o)},r.changesBy=function(e,t,o,i,s){if(4===arguments.length&&"function"==typeof t){var a=i;i=o,s=a}else 3===arguments.length&&(i=o,o=null);new n(e,s,r.changesBy,!0).to.change(t,o).by(i)},r.doesNotChange=function(e,t,o,i){return 3===arguments.length&&"function"==typeof t&&(i=o,o=null),new n(e,i,r.doesNotChange,!0).to.not.change(t,o)},r.changesButNotBy=function(e,t,o,i,s){if(4===arguments.length&&"function"==typeof t){var a=i;i=o,s=a}else 3===arguments.length&&(i=o,o=null);new n(e,s,r.changesButNotBy,!0).to.change(t,o).but.not.by(i)},r.increases=function(e,t,o,i){return 3===arguments.length&&"function"==typeof t&&(i=o,o=null),new n(e,i,r.increases,!0).to.increase(t,o)},r.increasesBy=function(e,t,o,i,s){if(4===arguments.length&&"function"==typeof t){var a=i;i=o,s=a}else 3===arguments.length&&(i=o,o=null);new n(e,s,r.increasesBy,!0).to.increase(t,o).by(i)},r.doesNotIncrease=function(e,t,o,i){return 3===arguments.length&&"function"==typeof t&&(i=o,o=null),new n(e,i,r.doesNotIncrease,!0).to.not.increase(t,o)},r.increasesButNotBy=function(e,t,o,i,s){if(4===arguments.length&&"function"==typeof t){var a=i;i=o,s=a}else 3===arguments.length&&(i=o,o=null);new n(e,s,r.increasesButNotBy,!0).to.increase(t,o).but.not.by(i)},r.decreases=function(e,t,o,i){return 3===arguments.length&&"function"==typeof t&&(i=o,o=null),new n(e,i,r.decreases,!0).to.decrease(t,o)},r.decreasesBy=function(e,t,o,i,s){if(4===arguments.length&&"function"==typeof t){var a=i;i=o,s=a}else 3===arguments.length&&(i=o,o=null);new n(e,s,r.decreasesBy,!0).to.decrease(t,o).by(i)},r.doesNotDecrease=function(e,t,o,i){return 3===arguments.length&&"function"==typeof t&&(i=o,o=null),new n(e,i,r.doesNotDecrease,!0).to.not.decrease(t,o)},r.doesNotDecreaseBy=function(e,t,o,i,s){if(4===arguments.length&&"function"==typeof t){var a=i;i=o,s=a}else 3===arguments.length&&(i=o,o=null);return new n(e,s,r.doesNotDecreaseBy,!0).to.not.decrease(t,o).by(i)},r.decreasesButNotBy=function(e,t,o,i,s){if(4===arguments.length&&"function"==typeof t){var a=i;i=o,s=a}else 3===arguments.length&&(i=o,o=null);new n(e,s,r.decreasesButNotBy,!0).to.decrease(t,o).but.not.by(i)},r.ifError=function(e){if(e)throw e},r.isExtensible=function(e,t){new n(e,t,r.isExtensible,!0).to.be.extensible},r.isNotExtensible=function(e,t){new n(e,t,r.isNotExtensible,!0).to.not.be.extensible},r.isSealed=function(e,t){new n(e,t,r.isSealed,!0).to.be.sealed},r.isNotSealed=function(e,t){new n(e,t,r.isNotSealed,!0).to.not.be.sealed},r.isFrozen=function(e,t){new n(e,t,r.isFrozen,!0).to.be.frozen},r.isNotFrozen=function(e,t){new n(e,t,r.isNotFrozen,!0).to.not.be.frozen},r.isEmpty=function(e,t){new n(e,t,r.isEmpty,!0).to.be.empty},r.isNotEmpty=function(e,t){new n(e,t,r.isNotEmpty,!0).to.not.be.empty},function e(t,n){return r[n]=r[t],e}("isOk","ok")("isNotOk","notOk")("throws","throw")("throws","Throw")("isExtensible","extensible")("isNotExtensible","notExtensible")("isSealed","sealed")("isNotSealed","notSealed")("isFrozen","frozen")("isNotFrozen","notFrozen")("isEmpty","empty")("isNotEmpty","notEmpty")}},2770:function(e){e.exports=function(e,t){e.expect=function(t,n){return new e.Assertion(t,n)},e.expect.fail=function(t,n,o,r){throw arguments.length<2&&(o=t,t=void 0),o=o||"expect.fail()",new e.AssertionError(o,{actual:t,expected:n,operator:r},e.expect.fail)}}},6184:function(e){e.exports=function(e,t){var n=e.Assertion;function o(){Object.defineProperty(Object.prototype,"should",{set:function(e){Object.defineProperty(this,"should",{value:e,enumerable:!0,configurable:!0,writable:!0})},get:function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||"function"==typeof Symbol&&this instanceof Symbol||"function"==typeof BigInt&&this instanceof BigInt?new n(this.valueOf(),null,e):new n(this,null,e)},configurable:!0});var t={fail:function(n,o,r,i){throw arguments.length<2&&(r=n,n=void 0),r=r||"should.fail()",new e.AssertionError(r,{actual:n,expected:o,operator:i},t.fail)},equal:function(e,t,o){new n(e,o).to.equal(t)},Throw:function(e,t,o,r){new n(e,r).to.Throw(t,o)},exist:function(e,t){new n(e,t).to.exist},not:{}};return t.not.equal=function(e,t,o){new n(e,o).to.not.equal(t)},t.not.Throw=function(e,t,o,r){new n(e,r).to.not.Throw(t,o)},t.not.exist=function(e,t){new n(e,t).to.not.exist},t.throw=t.Throw,t.not.throw=t.not.Throw,t}e.should=o,e.Should=o}},9369:function(e,t,n){var o=n(7397),r=n(7417),i=n(5554),s=n(6407),a=n(1114),c="function"==typeof Object.setPrototypeOf,u=function(){},p=Object.getOwnPropertyNames(u).filter((function(e){var t=Object.getOwnPropertyDescriptor(u,e);return"object"!=typeof t||!t.configurable})),f=Function.prototype.call,d=Function.prototype.apply;e.exports=function(e,t,n,u){"function"!=typeof u&&(u=function(){});var l={method:n,chainingBehavior:u};e.__methods||(e.__methods={}),e.__methods[t]=l,Object.defineProperty(e,t,{get:function(){l.chainingBehavior.call(this);var n=function(){i(this,"lockSsfi")||i(this,"ssfi",n);var e=l.method.apply(this,arguments);if(void 0!==e)return e;var t=new r.Assertion;return a(this,t),t};if(o(n,t,!0),c){var u=Object.create(this);u.call=f,u.apply=d,Object.setPrototypeOf(n,u)}else{Object.getOwnPropertyNames(e).forEach((function(t){if(-1===p.indexOf(t)){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o)}}))}return a(this,n),s(n)},configurable:!0})}},7397:function(e){var t=Object.getOwnPropertyDescriptor((function(){}),"length");e.exports=function(e,n,o){return t.configurable?(Object.defineProperty(e,"length",{get:function(){if(o)throw Error("Invalid Chai property: "+n+'.length. Due to a compatibility issue, "length" cannot directly follow "'+n+'". Use "'+n+'.lengthOf" instead.');throw Error("Invalid Chai property: "+n+'.length. See docs for proper usage of "'+n+'".')}}),e):e}},9868:function(e,t,n){var o=n(7397),r=n(7417),i=n(5554),s=n(6407),a=n(1114);e.exports=function(e,t,n){var c=function(){i(this,"lockSsfi")||i(this,"ssfi",c);var e=n.apply(this,arguments);if(void 0!==e)return e;var t=new r.Assertion;return a(this,t),t};o(c,t,!1),e[t]=s(c,t)}},9234:function(e,t,n){var o=n(7417),r=n(5554),i=n(2822),s=n(1114);e.exports=function(e,t,n){n=void 0===n?function(){}:n,Object.defineProperty(e,t,{get:function e(){i()||r(this,"lockSsfi")||r(this,"ssfi",e);var t=n.call(this);if(void 0!==t)return t;var a=new o.Assertion;return s(this,a),a},configurable:!0})}},5305:function(e,t,n){var o=n(7174);e.exports=function(e,t){return o(e)<o(t)?-1:1}},5024:function(e,t,n){var o=n(6877),r=n(5554),i=n(3423);e.exports=function(e,t){var n=r(e,"message"),s=r(e,"ssfi");n=n?n+": ":"",e=r(e,"object"),(t=t.map((function(e){return e.toLowerCase()}))).sort();var a=t.map((function(e,n){var o=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an":"a";return(t.length>1&&n===t.length-1?"or ":"")+o+" "+e})).join(", "),c=i(e).toLowerCase();if(!t.some((function(e){return c===e})))throw new o(n+"object tested must be "+a+", but "+c+" given",void 0,s)}},5554:function(e){e.exports=function(e,t,n){var o=e.__flags||(e.__flags=Object.create(null));if(3!==arguments.length)return o[t];o[t]=n}},6766:function(e){e.exports=function(e,t){return t.length>4?t[4]:e._obj}},6845:function(e){e.exports=function(e){var t=[];for(var n in e)t.push(n);return t}},4856:function(e,t,n){var o=n(5554),r=n(6766),i=n(6554);e.exports=function(e,t){var n=o(e,"negate"),s=o(e,"object"),a=t[3],c=r(e,t),u=n?t[2]:t[1],p=o(e,"message");return"function"==typeof u&&(u=u()),u=(u=u||"").replace(/#\{this\}/g,(function(){return i(s)})).replace(/#\{act\}/g,(function(){return i(c)})).replace(/#\{exp\}/g,(function(){return i(a)})),p?p+": "+u:u}},1313:function(e,t,n){var o=n(3423),r=n(5554);e.exports=function(e,t){var n=r(e,"operator"),i=r(e,"negate"),s=t[3],a=i?t[2]:t[1];if(n)return n;if("function"==typeof a&&(a=a()),(a=a||"")&&!/\shave\s/.test(a)){var c=function(e){var t=o(e);return-1!==["Array","Object","function"].indexOf(t)}(s);return/\snot\s/.test(a)?c?"notDeepStrictEqual":"notStrictEqual":c?"deepStrictEqual":"strictEqual"}}},6685:function(e,t,n){var o=n(6144);e.exports=function(e){return Object.keys(e).concat(o(e))}},6144:function(e){e.exports=function(e){return"function"!=typeof Object.getOwnPropertySymbols?[]:Object.getOwnPropertySymbols(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))}},7774:function(e){e.exports=function(e){var t=Object.getOwnPropertyNames(e);function n(e){-1===t.indexOf(e)&&t.push(e)}for(var o=Object.getPrototypeOf(e);null!==o;)Object.getOwnPropertyNames(o).forEach(n),o=Object.getPrototypeOf(o);return t}},1473:function(e,t,n){var o=n(6579);t.test=n(3325),t.type=n(3423),t.expectTypes=n(5024),t.getMessage=n(4856),t.getActual=n(6766),t.inspect=n(7174),t.objDisplay=n(6554),t.flag=n(5554),t.transferFlags=n(1114),t.eql=n(1191),t.getPathInfo=o.getPathInfo,t.hasProperty=o.hasProperty,t.getName=n(4320),t.addProperty=n(9234),t.addMethod=n(9868),t.overwriteProperty=n(5173),t.overwriteMethod=n(6824),t.addChainableMethod=n(9369),t.overwriteChainableMethod=n(2798),t.compareByInspect=n(5305),t.getOwnEnumerablePropertySymbols=n(6144),t.getOwnEnumerableProperties=n(6685),t.checkError=n(4401),t.proxify=n(6407),t.addLengthGuard=n(7397),t.isProxyEnabled=n(2822),t.isNaN=n(403),t.getOperator=n(1313)},7174:function(e,t,n){var o=n(4320),r=n(7774),i=n(6845),s=n(1041);e.exports=function(e,t,n,o){return a({showHidden:t,seen:[],stylize:function(e){return e}},e,void 0===n?2:n)};function a(e,n,h){if(n&&"function"==typeof n.inspect&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var y=n.inspect(h,e);return"string"!=typeof y&&(y=a(e,y,h)),y}var b,w=function(e,t){switch(typeof t){case"undefined":return e.stylize("undefined","undefined");case"string":var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string");case"number":return 0===t&&1/t==-1/0?e.stylize("-0","number"):e.stylize(""+t,"number");case"boolean":return e.stylize(""+t,"boolean");case"symbol":return e.stylize(t.toString(),"symbol");case"bigint":return e.stylize(t.toString()+"n","bigint")}if(null===t)return e.stylize("null","null")}(e,n);if(w)return w;if(b=n,"object"==typeof HTMLElement?b instanceof HTMLElement:b&&"object"==typeof b&&"nodeType"in b&&1===b.nodeType&&"string"==typeof b.nodeName){if("outerHTML"in n)return n.outerHTML;try{if(document.xmlVersion)return(new XMLSerializer).serializeToString(n);var g=document.createElementNS("http://www.w3.org/1999/xhtml","_");g.appendChild(n.cloneNode(!1));var m=g.innerHTML.replace("><",">"+n.innerHTML+"<");return g.innerHTML="",m}catch(e){}}var v,x,O=i(n),j=e.showHidden?r(n):O;if(0===j.length||d(n)&&(1===j.length&&"stack"===j[0]||2===j.length&&"description"===j[0]&&"stack"===j[1])){if("function"==typeof n)return x=(v=o(n))?": "+v:"",e.stylize("[Function"+x+"]","special");if(p(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(f(n))return e.stylize(Date.prototype.toUTCString.call(n),"date");if(d(n))return c(n)}var M,N,S="",P=!1,k=!1,E=["{","}"];if("object"==typeof(M=n)&&/\w+Array]$/.test(l(M))&&(k=!0,E=["[","]"]),function(e){return Array.isArray(e)||"object"==typeof e&&"[object Array]"===l(e)}(n)&&(P=!0,E=["[","]"]),"function"==typeof n&&(S=" [Function"+(x=(v=o(n))?": "+v:"")+"]"),p(n)&&(S=" "+RegExp.prototype.toString.call(n)),f(n)&&(S=" "+Date.prototype.toUTCString.call(n)),d(n))return c(n);if(0===j.length&&(!P||0==n.length))return E[0]+S+E[1];if(h<0)return p(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");if(e.seen.push(n),P)N=function(e,t,n,o,r){for(var i=[],s=0,a=t.length;s<a;++s)Object.prototype.hasOwnProperty.call(t,String(s))?i.push(u(e,t,n,o,String(s),!0)):i.push("");return r.forEach((function(r){r.match(/^\d+$/)||i.push(u(e,t,n,o,r,!0))})),i}(e,n,h,O,j);else{if(k)return function(e){for(var t="[ ",n=0;n<e.length;++n){if(t.length>=s.truncateThreshold-7){t+="...";break}t+=e[n]+", "}-1!==(t+=" ]").indexOf(", ]")&&(t=t.replace(", ]"," ]"));return t}(n);N=j.map((function(t){return u(e,n,h,O,t,P)}))}return e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return e+t.length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(N,S,E)}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function u(e,t,n,o,r,i){var s,c,u=Object.getOwnPropertyDescriptor(t,r);if(u&&(u.get?c=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(c=e.stylize("[Setter]","special"))),o.indexOf(r)<0&&(s="["+r+"]"),c||(e.seen.indexOf(t[r])<0?(c=a(e,t[r],null===n?null:n-1)).indexOf("\n")>-1&&(c=i?c.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return" "+e})).join("\n")):c=e.stylize("[Circular]","special")),void 0===s){if(i&&r.match(/^\d+$/))return c;(s=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+c}function p(e){return"object"==typeof e&&"[object RegExp]"===l(e)}function f(e){return"object"==typeof e&&"[object Date]"===l(e)}function d(e){return"object"==typeof e&&"[object Error]"===l(e)}function l(e){return Object.prototype.toString.call(e)}},403:function(e){e.exports=Number.isNaN||function(e){return e!=e}},2822:function(e,t,n){var o=n(1041);e.exports=function(){return o.useProxy&&"undefined"!=typeof Proxy&&"undefined"!=typeof Reflect}},6554:function(e,t,n){var o=n(7174),r=n(1041);e.exports=function(e){var t=o(e),n=Object.prototype.toString.call(e);if(r.truncateThreshold&&t.length>=r.truncateThreshold){if("[object Function]"===n)return e.name&&""!==e.name?"[Function: "+e.name+"]":"[Function]";if("[object Array]"===n)return"[ Array("+e.length+") ]";if("[object Object]"===n){var i=Object.keys(e);return"{ Object ("+(i.length>2?i.splice(0,2).join(", ")+", ...":i.join(", "))+") }"}return t}return t}},2798:function(e,t,n){var o=n(7417),r=n(1114);e.exports=function(e,t,n,i){var s=e.__methods[t],a=s.chainingBehavior;s.chainingBehavior=function(){var e=i(a).call(this);if(void 0!==e)return e;var t=new o.Assertion;return r(this,t),t};var c=s.method;s.method=function(){var e=n(c).apply(this,arguments);if(void 0!==e)return e;var t=new o.Assertion;return r(this,t),t}}},6824:function(e,t,n){var o=n(7397),r=n(7417),i=n(5554),s=n(6407),a=n(1114);e.exports=function(e,t,n){var c=e[t],u=function(){throw new Error(t+" is not a function")};c&&"function"==typeof c&&(u=c);var p=function(){i(this,"lockSsfi")||i(this,"ssfi",p);var e=i(this,"lockSsfi");i(this,"lockSsfi",!0);var t=n(u).apply(this,arguments);if(i(this,"lockSsfi",e),void 0!==t)return t;var o=new r.Assertion;return a(this,o),o};o(p,t,!1),e[t]=s(p,t)}},5173:function(e,t,n){var o=n(7417),r=n(5554),i=n(2822),s=n(1114);e.exports=function(e,t,n){var a=Object.getOwnPropertyDescriptor(e,t),c=function(){};a&&"function"==typeof a.get&&(c=a.get),Object.defineProperty(e,t,{get:function e(){i()||r(this,"lockSsfi")||r(this,"ssfi",e);var t=r(this,"lockSsfi");r(this,"lockSsfi",!0);var a=n(c).call(this);if(r(this,"lockSsfi",t),void 0!==a)return a;var u=new o.Assertion;return s(this,u),u},configurable:!0})}},6407:function(e,t,n){var o=n(1041),r=n(5554),i=n(7774),s=n(2822),a=["__flags","__methods","_obj","assert"];e.exports=function(e,t){return s()?new Proxy(e,{get:function e(n,s){if("string"==typeof s&&-1===o.proxyExcludedKeys.indexOf(s)&&!Reflect.has(n,s)){if(t)throw Error("Invalid Chai property: "+t+"."+s+'. See docs for proper usage of "'+t+'".');var c=null,u=4;throw i(n).forEach((function(e){if(!Object.prototype.hasOwnProperty(e)&&-1===a.indexOf(e)){var t=function(e,t,n){if(Math.abs(e.length-t.length)>=n)return n;for(var o=[],r=0;r<=e.length;r++)o[r]=Array(t.length+1).fill(0),o[r][0]=r;for(var i=0;i<t.length;i++)o[0][i]=i;for(r=1;r<=e.length;r++){var s=e.charCodeAt(r-1);for(i=1;i<=t.length;i++)Math.abs(r-i)>=n?o[r][i]=n:o[r][i]=Math.min(o[r-1][i]+1,o[r][i-1]+1,o[r-1][i-1]+(s===t.charCodeAt(i-1)?0:1))}return o[e.length][t.length]}(s,e,u);t<u&&(c=e,u=t)}})),null!==c?Error("Invalid Chai property: "+s+'. Did you mean "'+c+'"?'):Error("Invalid Chai property: "+s)}return-1!==a.indexOf(s)||r(n,"lockSsfi")||r(n,"ssfi",e),Reflect.get(n,s)}}):e}},3325:function(e,t,n){var o=n(5554);e.exports=function(e,t){var n=o(e,"negate"),r=t[0];return n?!r:r}},1114:function(e){e.exports=function(e,t,n){var o=e.__flags||(e.__flags=Object.create(null));for(var r in t.__flags||(t.__flags=Object.create(null)),n=3!==arguments.length||n,o)(n||"object"!==r&&"ssfi"!==r&&"lockSsfi"!==r&&"message"!=r)&&(t.__flags[r]=o[r])}},4401:function(e){"use strict";var t=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\(\/]+)/;function n(e){var n="";if(void 0===e.name){var o=String(e).match(t);o&&(n=o[1])}else n=e.name;return n}e.exports={compatibleInstance:function(e,t){return t instanceof Error&&e===t},compatibleConstructor:function(e,t){return t instanceof Error?e.constructor===t.constructor||e instanceof t.constructor:(t.prototype instanceof Error||t===Error)&&(e.constructor===t||e instanceof t)},compatibleMessage:function(e,t){var n="string"==typeof e?e:e.message;return t instanceof RegExp?t.test(n):"string"==typeof t&&-1!==n.indexOf(t)},getMessage:function(e){var t="";return e&&e.message?t=e.message:"string"==typeof e&&(t=e),t},getConstructorName:function(e){var t=e;return e instanceof Error?t=n(e.constructor):"function"==typeof e&&(t=n(e).trim()||n(new e)),t}}},1191:function(e,t,n){"use strict";var o=n(3423);function r(){this._key="chai/deep-eql__"+Math.random()+Date.now()}r.prototype={get:function(e){return e[this._key]},set:function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})}};var i="function"==typeof WeakMap?WeakMap:r;function s(e,t,n){if(!n||b(e)||b(t))return null;var o=n.get(e);if(o){var r=o.get(t);if("boolean"==typeof r)return r}return null}function a(e,t,n,o){if(n&&!b(e)&&!b(t)){var r=n.get(e);r?r.set(t,o):((r=new i).set(t,o),n.set(e,r))}}function c(e,t,n){if(n&&n.comparator)return p(e,t,n);var o=u(e,t);return null!==o?o:p(e,t,n)}function u(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t||!b(e)&&!b(t)&&null}function p(e,t,n){(n=n||{}).memoize=!1!==n.memoize&&(n.memoize||new i);var r=n&&n.comparator,p=s(e,t,n.memoize);if(null!==p)return p;var b=s(t,e,n.memoize);if(null!==b)return b;if(r){var w=r(e,t);if(!1===w||!0===w)return a(e,t,n.memoize,w),w;var g=u(e,t);if(null!==g)return g}var m=o(e);if(m!==o(t))return a(e,t,n.memoize,!1),!1;a(e,t,n.memoize,!0);var v=function(e,t,n,o){switch(n){case"String":case"Number":case"Boolean":case"Date":return c(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":case"Error":return e===t;case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return d(e,t,o);case"RegExp":return function(e,t){return e.toString()===t.toString()}(e,t);case"Generator":return function(e,t,n){return d(h(e),h(t),n)}(e,t,o);case"DataView":return d(new Uint8Array(e.buffer),new Uint8Array(t.buffer),o);case"ArrayBuffer":return d(new Uint8Array(e),new Uint8Array(t),o);case"Set":case"Map":return f(e,t,o);default:return function(e,t,n){var o=y(e),r=y(t);if(o.length&&o.length===r.length)return o.sort(),r.sort(),!1!==d(o,r)&&function(e,t,n,o){var r=n.length;if(0===r)return!0;for(var i=0;i<r;i+=1)if(!1===c(e[n[i]],t[n[i]],o))return!1;return!0}(e,t,o,n);var i=l(e),s=l(t);if(i.length&&i.length===s.length)return i.sort(),s.sort(),d(i,s,n);if(0===o.length&&0===i.length&&0===r.length&&0===s.length)return!0;return!1}(e,t,o)}}(e,t,m,n);return a(e,t,n.memoize,v),v}function f(e,t,n){if(e.size!==t.size)return!1;if(0===e.size)return!0;var o=[],r=[];return e.forEach((function(e,t){o.push([e,t])})),t.forEach((function(e,t){r.push([e,t])})),d(o.sort(),r.sort(),n)}function d(e,t,n){var o=e.length;if(o!==t.length)return!1;if(0===o)return!0;for(var r=-1;++r<o;)if(!1===c(e[r],t[r],n))return!1;return!0}function l(e){if(function(e){return"undefined"!=typeof Symbol&&"object"==typeof e&&void 0!==Symbol.iterator&&"function"==typeof e[Symbol.iterator]}(e))try{return h(e[Symbol.iterator]())}catch(e){return[]}return[]}function h(e){for(var t=e.next(),n=[t.value];!1===t.done;)t=e.next(),n.push(t.value);return n}function y(e){var t=[];for(var n in e)t.push(n);return t}function b(e){return null===e||"object"!=typeof e}e.exports=c,e.exports.MemoizeMap=i},4320:function(e){"use strict";var t=Function.prototype.toString,n=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;e.exports=function(e){if("function"!=typeof e)return null;var o="";if(void 0===Function.prototype.name&&void 0===e.name){var r=t.call(e).match(n);r&&(o=r[1])}else o=e.name;return o}},6579:function(e){"use strict";function t(e,t){return null!=e&&t in Object(e)}function n(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(e){if("constructor"===e||"__proto__"===e||"prototype"===e)return{};var t=/^\[(\d+)\]$/.exec(e);return t?{i:parseFloat(t[1])}:{p:e.replace(/\\([.[\]])/g,"$1")}}))}function o(e,t,n){var o=e,r=null;n=void 0===n?t.length:n;for(var i=0;i<n;i++){var s=t[i];o&&(o=void 0===s.p?o[s.i]:o[s.p],i===n-1&&(r=o))}return r}function r(e,r){var i=n(r),s=i[i.length-1],a={parent:i.length>1?o(e,i,i.length-1):e,name:s.p||s.i,value:o(e,i)};return a.exists=t(a.parent,a.name),a}e.exports={hasProperty:t,getPathInfo:r,getPathValue:function(e,t){return r(e,t).value},setPathValue:function(e,t,o){return function(e,t,n){for(var o=e,r=n.length,i=null,s=0;s<r;s++){var a=null,c=null;if(i=n[s],s===r-1)o[a=void 0===i.p?i.i:i.p]=t;else if(void 0!==i.p&&o[i.p])o=o[i.p];else if(void 0!==i.i&&o[i.i])o=o[i.i];else{var u=n[s+1];a=void 0===i.p?i.i:i.p,c=void 0===u.p?[]:{},o[a]=c,o=o[a]}}}(e,o,n(t)),e}}},5511:function(){window.videoPressUploadTrack=function(e,t,n,o,r){return new Promise((function(i,s){wp.media.ajax("videopress-get-upload-token",{async:!0,data:{filename:r.name}}).done((function(a){var c={},u={},p=new FormData;c.Authorization='X_UPLOAD_TOKEN token="'+a.upload_token+'" blog_id="'+a.upload_blog_id+'"',u.headers=c,u.method="POST",u.url="https://public-api.wordpress.com/rest/v1.1/videos/"+e+"/tracks",u.credentials="omit",p.append("kind",t),p.append("srclang",n),p.append("label",o),p.append("vtt",r),u.body=p,wp.apiFetch(u).then((function(e){i(e)})).catch((function(e){s(e)}))}))}))},window.videoPressDeleteTrack=function(e,t,n){return new Promise((function(o,r){wp.media.ajax("videopress-get-upload-token",{async:!0}).done((function(i){var s={},a={},c=new FormData;s.Authorization='X_UPLOAD_TOKEN token="'+i.upload_token+'" blog_id="'+i.upload_blog_id+'"',a.headers=s,a.method="POST",a.url="https://public-api.wordpress.com/rest/v1.1/videos/"+e+"/tracks/delete",a.credentials="omit",c.append("kind",t),c.append("srclang",n),a.body=c,wp.apiFetch(a).then((function(e){o(e)})).catch((function(e){r(e)}))}))}))},wp.apiFetch.use((function(e,t){var n=e.path,o=e.method,r=e.body;if(!n||-1===n.indexOf("/wp/v2/media"))return t(e);if(!o||"post"!==o.toLowerCase())return t(e);var i=r?r.get("file"):null;if(!i||0!==i.type.indexOf("video/"))return t(e);wp.media.ajax("videopress-get-upload-token",{async:!1,data:{filename:i.name}}).done((function(t){var n=e.headers||{};n.Authorization='X_UPLOAD_TOKEN token="'+t.upload_token+'" blog_id="'+t.upload_blog_id+'"',e.headers=n,delete e.path,e.url=t.upload_action_url,e.credentials="omit",r.set("media[]",i),r.delete("file"),e.body=r}));var s=t(e);return new Promise((function(e,t){s.then((function(e){return e instanceof Response&&e.ok?e.json():e})).then((function(t){var n=lodash.get(t,"media[0]"),o=lodash.get(n,"ID"),r=wp.apiFetch({path:"/wp/v2/media/"+o});e(r)})).catch((function(e){"errors"in e&&"object"==typeof e.errors&&e.errors.length>0&&(e=e.errors.shift()),t(e)}))}))}))},3423:function(e){e.exports=function(){"use strict";var e="function"==typeof Promise,t="object"==typeof self?self:window,n="undefined"!=typeof Symbol,o="undefined"!=typeof Map,r="undefined"!=typeof Set,i="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,a="undefined"!=typeof DataView,c=n&&void 0!==Symbol.iterator,u=n&&void 0!==Symbol.toStringTag,p=r&&"function"==typeof Set.prototype.entries,f=o&&"function"==typeof Map.prototype.entries,d=p&&Object.getPrototypeOf((new Set).entries()),l=f&&Object.getPrototypeOf((new Map).entries()),h=c&&"function"==typeof Array.prototype[Symbol.iterator],y=h&&Object.getPrototypeOf([][Symbol.iterator]()),b=c&&"function"==typeof String.prototype[Symbol.iterator],w=b&&Object.getPrototypeOf(""[Symbol.iterator]()),g=8,m=-1;function v(n){var c=typeof n;if("object"!==c)return c;if(null===n)return"null";if(n===t)return"global";if(Array.isArray(n)&&(!1===u||!(Symbol.toStringTag in n)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&n===window.location)return"Location";if("object"==typeof window.document&&n===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&n===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&n===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&n instanceof window.HTMLElement){if("BLOCKQUOTE"===n.tagName)return"HTMLQuoteElement";if("TD"===n.tagName)return"HTMLTableDataCellElement";if("TH"===n.tagName)return"HTMLTableHeaderCellElement"}}var p=u&&n[Symbol.toStringTag];if("string"==typeof p)return p;var f=Object.getPrototypeOf(n);return f===RegExp.prototype?"RegExp":f===Date.prototype?"Date":e&&f===Promise.prototype?"Promise":r&&f===Set.prototype?"Set":o&&f===Map.prototype?"Map":s&&f===WeakSet.prototype?"WeakSet":i&&f===WeakMap.prototype?"WeakMap":a&&f===DataView.prototype?"DataView":o&&f===l?"Map Iterator":r&&f===d?"Set Iterator":h&&f===y?"Array Iterator":b&&f===w?"String Iterator":null===f?"Object":Object.prototype.toString.call(n).slice(g,m)}return v}()},1174:function(e,t,n){"use strict";n.d(t,{l_:function(){return r}});var o=n(8136);const r=o.expect;o.version,o.Assertion,o.AssertionError,o.util,o.config,o.use,o.should,o.assert,o.core}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(1174);let t=null,o=[];describe("gutenberg-video-upload",(()=>{before((()=>{t=window.wp?window.wp.apiFetch:void 0,delete window.videoPressUploadTrack,delete window.videoPressDeleteTrack,window.wp={apiFetch:{use:e=>o.push(e)}},n(5511)})),after((()=>{t&&(window.wp.apiFetch=t),o=[]})),describe("apiFetch middleware",(()=>{it("installs one middleware",(()=>{(0,e.l_)(o.length).to.equal(1),(0,e.l_)(typeof o[0]).to.equal("function")})),it("does not process the request body for irrelevant requests",(t=>{(0,e.l_)(typeof o[0]).to.equal("function");(0,o[0])({path:"/foo",body:"any body",method:"POST"},(()=>{t()}))}))}))}))}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.js.LICENSE.txt b/plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.js.LICENSE.txt
new file mode 100644
index 00000000..95aaedcf
--- /dev/null
+++ b/plugins/jetpack/_inc/build/videopress/js/test/test-gutenberg-video-upload.min.js.LICENSE.txt
@@ -0,0 +1,543 @@
+/*!
+ * ### ._obj
+ *
+ * Quick reference to stored `actual` value for plugin developers.
+ *
+ * @api private
+ */
+
+/*!
+ * ### .ifError(object)
+ *
+ * Asserts if value is not a false value, and throws if it is a true value.
+ * This is added to allow for chai to be a drop-in replacement for Node's
+ * assert class.
+ *
+ * var err = new Error('I am a custom error');
+ * assert.ifError(err); // Rethrows err!
+ *
+ * @name ifError
+ * @param {Object} object
+ * @namespace Assert
+ * @api public
+ */
+
+/*!
+ * Aliases.
+ */
+
+/*!
+ * Assertion Constructor
+ *
+ * Creates object for chaining.
+ *
+ * `Assertion` objects contain metadata in the form of flags. Three flags can
+ * be assigned during instantiation by passing arguments to this constructor:
+ *
+ * - `object`: This flag contains the target of the assertion. For example, in
+ * the assertion `expect(numKittens).to.equal(7);`, the `object` flag will
+ * contain `numKittens` so that the `equal` assertion can reference it when
+ * needed.
+ *
+ * - `message`: This flag contains an optional custom error message to be
+ * prepended to the error message that's generated by the assertion when it
+ * fails.
+ *
+ * - `ssfi`: This flag stands for "start stack function indicator". It
+ * contains a function reference that serves as the starting point for
+ * removing frames from the stack trace of the error that's created by the
+ * assertion when it fails. The goal is to provide a cleaner stack trace to
+ * end users by removing Chai's internal functions. Note that it only works
+ * in environments that support `Error.captureStackTrace`, and only when
+ * `Chai.config.includeStack` hasn't been set to `false`.
+ *
+ * - `lockSsfi`: This flag controls whether or not the given `ssfi` flag
+ * should retain its current value, even as assertions are chained off of
+ * this object. This is usually set to `true` when creating a new assertion
+ * from within another assertion. It's also temporarily set to `true` before
+ * an overwritten assertion gets called by the overwriting assertion.
+ *
+ * @param {Mixed} obj target of the assertion
+ * @param {String} msg (optional) custom error message
+ * @param {Function} ssfi (optional) starting point for removing stack frames
+ * @param {Boolean} lockSsfi (optional) whether or not the ssfi flag is locked
+ * @api private
+ */
+
+/*!
+ * Chai dependencies.
+ */
+
+/*!
+ * Module dependencies.
+ */
+
+/*!
+ * Module export.
+ */
+
+/*!
+ * Add a chainable method
+ */
+
+/*!
+ * Assert interface
+ */
+
+/*!
+ * Assertion Error
+ */
+
+/*!
+ * Chai - addChainingMethod utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - addLengthGuard utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - addMethod utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - addProperty utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - compareByInspect utility
+ * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - expectTypes utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - flag utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - getActual utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - getEnumerableProperties utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - getOwnEnumerableProperties utility
+ * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - getOwnEnumerablePropertySymbols utility
+ * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - getProperties utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - isNaN utility
+ * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - isProxyEnabled helper
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - message composition utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - overwriteChainableMethod utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - overwriteMethod utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - overwriteProperty utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - test utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai - transferFlags utility
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * Chai version
+ */
+
+/*!
+ * Check if a property exists
+ */
+
+/*!
+ * Check to see if the MemoizeMap has recorded a result of the two operands
+ *
+ * @param {Mixed} leftHandOperand
+ * @param {Mixed} rightHandOperand
+ * @param {MemoizeMap} memoizeMap
+ * @returns {Boolean|null} result
+*/
+
+/*!
+ * Checks error against a given set of criteria
+ */
+
+/*!
+ * Compare by inspect method
+ */
+
+/*!
+ * Compare two Regular Expressions for equality.
+ *
+ * @param {RegExp} leftHandOperand
+ * @param {RegExp} rightHandOperand
+ * @return {Boolean} result
+ */
+
+/*!
+ * Compare two Sets/Maps for equality. Faster than other equality functions.
+ *
+ * @param {Set} leftHandOperand
+ * @param {Set} rightHandOperand
+ * @param {Object} [options] (Optional)
+ * @return {Boolean} result
+ */
+
+/*!
+ * Configuration
+ */
+
+/*!
+ * Core Assertions
+ */
+
+/*!
+ * Deep equal utility
+ */
+
+/*!
+ * Deep path info
+ */
+
+/*!
+ * Dependencies that are used for multiple exports are required here only once
+ */
+
+/*!
+ * Determine if the given object has an @@iterator function.
+ *
+ * @param {Object} target
+ * @return {Boolean} `true` if the object has an @@iterator function.
+ */
+
+/*!
+ * Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of
+ * each key. If any value of the given key is not equal, the function will return false (early).
+ *
+ * @param {Mixed} leftHandOperand
+ * @param {Mixed} rightHandOperand
+ * @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against
+ * @param {Object} [options] (Optional)
+ * @return {Boolean} result
+ */
+
+/*!
+ * Ensure correct constructor
+ */
+
+/*!
+ * Expect interface
+ */
+
+/*!
+ * Flag transferring utility
+ */
+
+/*!
+ * Flag utility
+ */
+
+/*!
+ * Function name
+ */
+
+/*!
+ * Get own enumerable properties method
+ */
+
+/*!
+ * Get own enumerable property symbols method
+ */
+
+/*!
+ * Gets all entries from a Generator. This will consume the generator - which could have side effects.
+ *
+ * @param {Generator} target
+ * @returns {Array} an array of entries from the Generator.
+ */
+
+/*!
+ * Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array.
+ * This will consume the iterator - which could have side effects depending on the @@iterator implementation.
+ *
+ * @param {Object} target
+ * @returns {Array} an array of entries from the @@iterator function
+ */
+
+/*!
+ * Gets all own and inherited enumerable keys from a target.
+ *
+ * @param {Object} target
+ * @returns {Array} an array of own and inherited enumerable keys from the target.
+ */
+
+/*!
+ * Inherit from Error.prototype
+ */
+
+/*!
+ * Inspect util
+ */
+
+/*!
+ * Module dependencies
+ */
+
+/*!
+ * Object Display util
+ */
+
+/*!
+ * Overwrite chainable method
+ */
+
+/*!
+ * Primary Export
+ */
+
+/*!
+ * Primary Exports
+ */
+
+/*!
+ * Primary `Assertion` prototype
+ */
+
+/*!
+ * Proxify util
+ */
+
+/*!
+ * Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual`
+ * for each enumerable key in the object.
+ *
+ * @param {Mixed} leftHandOperand
+ * @param {Mixed} rightHandOperand
+ * @param {Object} [options] (Optional)
+ * @return {Boolean} result
+ */
+
+/*!
+ * Return a function that will copy properties from
+ * one object to another excluding any originally
+ * listed. Returned function will create a new `{}`.
+ *
+ * @param {String} excluded properties ...
+ * @return {Function}
+ */
+
+/*!
+ * Returns true if the argument is a primitive.
+ *
+ * This intentionally returns true for all objects that can be compared by reference,
+ * including functions and symbols.
+ *
+ * @param {Mixed} value
+ * @return {Boolean} result
+ */
+
+/*!
+ * Set the result of the equality into the MemoizeMap
+ *
+ * @param {Mixed} leftHandOperand
+ * @param {Mixed} rightHandOperand
+ * @param {MemoizeMap} memoizeMap
+ * @param {Boolean} result
+*/
+
+/*!
+ * Should interface
+ */
+
+/*!
+ * Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers.
+ *
+ * @param {Iterable} leftHandOperand
+ * @param {Iterable} rightHandOperand
+ * @param {Object} [options] (Optional)
+ * @return {Boolean} result
+ */
+
+/*!
+ * Simple equality for generator objects such as those returned by generator functions.
+ *
+ * @param {Iterable} leftHandOperand
+ * @param {Iterable} rightHandOperand
+ * @param {Object} [options] (Optional)
+ * @return {Boolean} result
+ */
+
+/*!
+ * Statically set name
+ */
+
+/*!
+ * The main logic of the `deepEqual` function.
+ *
+ * @param {Mixed} leftHandOperand
+ * @param {Mixed} rightHandOperand
+ * @param {Object} [options] (optional) Additional options
+ * @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality.
+ * @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of
+ complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular
+ references to blow the stack.
+ * @return {Boolean} equal match
+*/
+
+/*!
+ * Utility Functions
+ */
+
+/*!
+ * Utils for plugins (not exported)
+ */
+
+/*!
+ * actual utility
+ */
+
+/*!
+ * add Method
+ */
+
+/*!
+ * add Property
+ */
+
+/*!
+ * addLengthGuard util
+ */
+
+/*!
+ * assertion-error
+ * Copyright(c) 2013 Jake Luer <jake@qualiancy.com>
+ * MIT Licensed
+ */
+
+/*!
+ * chai
+ * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * chai
+ * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * chai
+ * http://chaijs.com
+ * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * deep-eql
+ * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
+ * MIT Licensed
+ */
+
+/*!
+ * expectTypes utility
+ */
+
+/*!
+ * getOperator method
+ */
+
+/*!
+ * isNaN method
+ */
+
+/*!
+ * isProxyEnabled helper
+ */
+
+/*!
+ * message utility
+ */
+
+/*!
+ * overwrite Method
+ */
+
+/*!
+ * overwrite Property
+ */
+
+/*!
+ * test utility
+ */
+
+/*!
+ * type utility
+ */
diff --git a/plugins/jetpack/_inc/build/videopress/js/videopress-add-resumable-upload-support.min.asset.php b/plugins/jetpack/_inc/build/videopress/js/videopress-add-resumable-upload-support.min.asset.php
new file mode 100644
index 00000000..e613776f
--- /dev/null
+++ b/plugins/jetpack/_inc/build/videopress/js/videopress-add-resumable-upload-support.min.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array(), 'version' => '98b9cc31521002fd3912');
diff --git a/plugins/jetpack/_inc/build/videopress/js/videopress-add-resumable-upload-support.min.js b/plugins/jetpack/_inc/build/videopress/js/videopress-add-resumable-upload-support.min.js
new file mode 100644
index 00000000..85bad65c
--- /dev/null
+++ b/plugins/jetpack/_inc/build/videopress/js/videopress-add-resumable-upload-support.min.js
@@ -0,0 +1 @@
+window.videoPressResumableEnabled=!0; \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/videopress/js/videopress-plupload.min.asset.php b/plugins/jetpack/_inc/build/videopress/js/videopress-plupload.min.asset.php
index be653ad7..350cc989 100644
--- a/plugins/jetpack/_inc/build/videopress/js/videopress-plupload.min.asset.php
+++ b/plugins/jetpack/_inc/build/videopress/js/videopress-plupload.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '2819481d4dbe22b901549582a63ca092'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'deb910e0a707689942e5');
diff --git a/plugins/jetpack/_inc/build/videopress/js/videopress-token-bridge.min.asset.php b/plugins/jetpack/_inc/build/videopress/js/videopress-token-bridge.min.asset.php
new file mode 100644
index 00000000..742fc92b
--- /dev/null
+++ b/plugins/jetpack/_inc/build/videopress/js/videopress-token-bridge.min.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array(), 'version' => 'd86ff308a0a401447935');
diff --git a/plugins/jetpack/_inc/build/videopress/js/videopress-token-bridge.min.js b/plugins/jetpack/_inc/build/videopress/js/videopress-token-bridge.min.js
new file mode 100644
index 00000000..3030bbc0
--- /dev/null
+++ b/plugins/jetpack/_inc/build/videopress/js/videopress-token-bridge.min.js
@@ -0,0 +1 @@
+window.addEventListener("message",(function(e){if(-1!==["https://videopress.com","https://video.wordpress.com"].indexOf(e.origin)&&"videopress_token_request"===e.data.event&&window.videopressAjax){var s={action:"videopress-get-playback-jwt",guid:e.data.guid,post_id:window.videopressAjax.post_id||0};fetch(window.videopressAjax.ajaxUrl,{method:"POST",credentials:"same-origin",body:new URLSearchParams(s)}).then((function(e){if(e.ok)return e.json();throw Error("Response is not ok")})).then((function(o){o.success&&o.data?e.source.postMessage({event:"videopress_token_received",guid:s.guid,jwt:o.data.jwt},"*"):e.source.postMessage({event:"videopress_token_error",guid:s.guid},"*")}))}})); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/videopress/js/videopress-uploader.min.asset.php b/plugins/jetpack/_inc/build/videopress/js/videopress-uploader.min.asset.php
index 82273342..abed8ac4 100644
--- a/plugins/jetpack/_inc/build/videopress/js/videopress-uploader.min.asset.php
+++ b/plugins/jetpack/_inc/build/videopress/js/videopress-uploader.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '8df06ad75f299a6c56a723809ae87f1e'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'e1ac3d8027af53bc4093');
diff --git a/plugins/jetpack/_inc/build/widget-visibility/editor/index.asset.php b/plugins/jetpack/_inc/build/widget-visibility/editor/index.asset.php
index 150b4640..fdabdb05 100644
--- a/plugins/jetpack/_inc/build/widget-visibility/editor/index.asset.php
+++ b/plugins/jetpack/_inc/build/widget-visibility/editor/index.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'a654aded0a2cd7b96dbfe4a3d8e6a8bf'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-url'), 'version' => 'ed51c1db187db4e86dd6');
diff --git a/plugins/jetpack/_inc/build/widget-visibility/editor/index.css b/plugins/jetpack/_inc/build/widget-visibility/editor/index.css
new file mode 100644
index 00000000..cfc2068d
--- /dev/null
+++ b/plugins/jetpack/_inc/build/widget-visibility/editor/index.css
@@ -0,0 +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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/widget-visibility/editor/index.js b/plugins/jetpack/_inc/build/widget-visibility/editor/index.js
index f25f7671..848471ab 100644
--- a/plugins/jetpack/_inc/build/widget-visibility/editor/index.js
+++ b/plugins/jetpack/_inc/build/widget-visibility/editor/index.js
@@ -1 +1 @@
-!function(){var e={2:function(e){var t=1e3,n=60*t,o=60*n,i=24*o,a=7*i,r=365.25*i;function s(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"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 s=/^(-?(?:\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(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*r;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;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 a=Math.abs(e);if(a>=i)return s(e,a,i,"day");if(a>=o)return s(e,a,o,"hour");if(a>=n)return s(e,a,n,"minute");if(a>=t)return s(e,a,t,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=i)return Math.round(e/i)+"d";if(a>=o)return Math.round(e/o)+"h";if(a>=n)return Math.round(e/n)+"m";if(a>=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))}},816:function(e,t,n){"use strict";var o=n(922),i=n.n(o),a=n(819);const r=i()("dops:analytics");let s,c;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,t,n){l.setUser(e,t),l.setSuperProps(n),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){c={ID:e,username:t}},setSuperProps:function(e){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);this.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);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,o,i,a,r){l.ga.recordPurchase(e,t,n,o,i,a,r)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(r("- Super Props: %o",s),t=(0,a.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};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.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={};l.ga.initialized||(c&&(e={userId:"u-"+c.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.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,o){l.ga.initialize();let i="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(i+=" [Option Label: "+n+"]"),void 0!==o&&(i+=" [Option Value: "+o+"]"),r(i),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,o)},recordPurchase:function(e,t,n,o,i,a,r){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:o,currency:r}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:a}),window.ga("ecommerce:send")}},identifyUser:function(){c&&window._tkq.push(["identifyUser",c.ID,c.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=l},481:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},973:function(e,t,n){"use strict";var o=n(481),i=n(816);i.Z.setMcAnalyticsEnabled((0,o.Z)("mc_analytics_enabled")),i.Z.setGoogleAnalyticsEnabled((0,o.Z)("google_analytics_enabled"),(0,o.Z)("google_analytics_key")),t.Z=i.Z},922:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(967)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},967:function(e,t,n){e.exports=function(e){function t(e){let n,i,a,r=null;function s(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];if(!s.enabled)return;const a=s,r=Number(new Date),c=r-(n||r);a.diff=c,a.prev=n,a.curr=r,n=r,o[0]=t.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");let l=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";l++;const i=t.formatters[n];if("function"==typeof i){const t=o[l];e=i.call(a,t),o.splice(l,1),l--}return e})),t.formatArgs.call(a,o);const u=a.log||t.log;u.apply(a,o)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=o,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,a=t.enabled(e)),a),set:e=>{r=e}}),"function"==typeof t.init&&t.init(s),s}function o(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),i=o.length;for(n=0;n<i;n++)o[n]&&("-"===(e=o[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,o;for(n=0,o=t.skips.length;n<o;n++)if(t.skips[n].test(e))return!1;for(n=0,o=t.names.length;n<o;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(2),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},819:function(e){"use strict";e.exports=window.lodash},175:function(e){"use strict";e.exports=window.wp.blockEditor},609:function(e){"use strict";e.exports=window.wp.components},333:function(e){"use strict";e.exports=window.wp.compose},818:function(e){"use strict";e.exports=window.wp.data},307:function(e){"use strict";e.exports=window.wp.element},736:function(e){"use strict";e.exports=window.wp.i18n}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};!function(){"use strict";var e=n(307),t=n(609),o=n(736),i=n(175),a=n(333),r=n(818),s=n(973);const __=o.__,_x=o._x,c={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&nbsp;":" "},l=/&(?:amp|lt|gt|quot|#39|nbsp);/g,u=e=>{if("string"!=typeof e)return e;return e.replace(l,(e=>c[e]))},d=e=>!new Set(["core/legacy-widget","core/widget-area"]).has(e);wp.hooks.addFilter("blocks.registerBlockType","widget/visibility",(function(e,t){return d(t)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{conditions:{type:"object",default:{}}})),e}));const p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.reduce(((e,n)=>{const[o,i]=n,a=" ".repeat(3*t);if(Array.isArray(i)){const n={label:u(a+o),value:o,disabled:!0},r=p(i,t+1);return e.concat([n]).concat(r)}const r={label:u(a+i),value:o};return e.concat([r])}),[])},g=e=>{const{rule:n,onDelete:o,setMajor:i,setMinor:a}=e,r=[{label:__("User","jetpack"),value:"loggedin"},{label:__("Role","jetpack"),value:"role"}],s="undefined"!=typeof wpcom,c=widget_conditions_data.taxonomy&&widget_conditions_data.taxonomy.length>1||"taxonomy"===n.major,l=[{label:__("Taxonomy","jetpack"),value:"taxonomy"}],u=[{label:__("-- Select --","jetpack"),value:""},{label:__("Category","jetpack"),value:"category"},{label:__("Author","jetpack"),value:"author"}].concat(s?[]:r).concat([{label:__("Tag","jetpack"),value:"tag"},{label:__("Date","jetpack"),value:"date"},{label:__("Page","jetpack"),value:"page"}]).concat(c?l:[]);let d=[];return n.major in widget_conditions_data&&(d=p(widget_conditions_data[n.major])),React.createElement("div",{className:"widget-vis__rule"},React.createElement("div",{className:"widget-vis__rule-major"},React.createElement("span",{className:"widget-vis__if"},_x("If","Widget Visibility: If {Rule Major [Page]} is {Rule Minor [Search results]}","jetpack")),React.createElement("div",{className:"widget-vis__select"},React.createElement(t.SelectControl,{label:__("Major Rule","jetpack"),hideLabelFromVision:!0,value:n.major,options:u,onChange:i}))),n.major&&React.createElement("div",{className:"widget-vis__rule-minor"},React.createElement("span",{className:"widget-vis__is"},_x("is","Widget Visibility: {Rule Major [Page]} is {Rule Minor [Search results]}","jetpack")),React.createElement("div",{className:"widget-vis__select"},React.createElement(t.SelectControl,{className:"widget-vis__select-multi-level",label:__("Minor Rule","jetpack"),hideLabelFromVision:!0,value:n.minor,options:d,onChange:a}))),React.createElement("div",{className:"widget-vis__delete-rule"},React.createElement(t.Button,{onClick:o,isSmall:!0,isSecondary:!0},_x("Remove","Delete this visibility rule","jetpack"))))},m=e=>({action:"show",rules:[],match_all:0,...e}),w=(0,a.createHigherOrderComponent)((n=>o=>{const{clientId:a,attributes:c,setAttributes:l,isSelected:u}=o,p=(0,e.useMemo)((()=>c.conditions||{}),[c]),w=(0,e.useMemo)((()=>p.rules||[]),[p]),f=(0,r.useSelect)((e=>{const{getBlockParents:t,getBlock:n}=e("core/block-editor"),o=t(a,!0),i=o?n(o[0]):void 0;return!i||i&&"core/widget-area"===i.name}),[a]),C=(0,e.useCallback)((()=>{s.Z.tracks.recordEvent("jetpack_widget_visibility_toggle_match_all_click"),l({conditions:{...m(p),match_all:"0"===p.match_all?"1":"0"}})}),[l,p]),h=(0,e.useCallback)((e=>l({conditions:{...m(p),action:e}})),[l,p]),_=(0,e.useCallback)((()=>{const e=[...w,{major:"",minor:""}];s.Z.tracks.recordEvent("jetpack_widget_visibility_add_new_rule_click"),l({conditions:{...m(p),rules:e}})}),[l,p,w]),y=(0,e.useCallback)((e=>{const t=[...w.slice(0,e),...w.slice(e+1)];s.Z.tracks.recordEvent("jetpack_widget_visibility_delete_rule_click"),l({conditions:{...m(p),rules:t}})}),[l,p,w]),b=(0,e.useCallback)(((e,t)=>{s.Z.tracks.recordEvent("jetpack_widget_visibility_set_major_rule_click");let n="";t in widget_conditions_data&&Array.isArray(widget_conditions_data[t])&&widget_conditions_data[t].length>0&&(n=widget_conditions_data[t][0][0]);const o=[...w.slice(0,e),{...w[e],major:t,minor:n},...w.slice(e+1)];l({conditions:{...m(p),rules:o}})}),[l,p,w]),v=(0,e.useCallback)(((e,t)=>{if(s.Z.tracks.recordEvent("jetpack_widget_visibility_set_minor_rule_click"),t&&t.includes("__HEADER__"))return;const n=[...w.slice(0,e),{...w[e],minor:t},...w.slice(e+1)];l({conditions:{...m(p),rules:n}})}),[l,p,w]);let k=null;return k=0===w.length?React.createElement(t.BaseControl,{id:"widget-vis__wrapper",className:"widget-vis__wrapper",label:__("Visibility","jetpack"),help:__("No visibility rules yet. Add at least one rule to use this feature.","jetpack")},React.createElement(t.Button,{isSecondary:!0,onClick:_,className:"widget-vis__add-new-rule"},__("Add new rule","jetpack"))):React.createElement(t.BaseControl,{className:"widget-vis__wrapper",id:"widget-vis__wrapper",label:__("Visibility","jetpack")},React.createElement(t.SelectControl,{className:"widget-vis__show-hide",label:__("Action","jetpack"),hideLabelFromVision:!0,value:c.action,options:[{label:__("Show this block","jetpack"),value:"show"},{label:__("Hide this block","jetpack"),value:"hide"}],onChange:h}),w.map(((e,t)=>React.createElement(g,{key:t,rule:e,i:t,onDelete:()=>y(t),setMajor:e=>b(t,e),setMinor:e=>v(t,e)}))),w.length>1&&React.createElement(t.ToggleControl,{className:"widget-vis__match-all",label:__("Match all rules","jetpack"),checked:"1"===p.match_all,onChange:C}),React.createElement(t.Button,{isSecondary:!0,onClick:_},__("Add new rule","jetpack"))),React.createElement(e.Fragment,null,React.createElement(n,o),u&&f&&d(o.name)&&React.createElement(i.InspectorAdvancedControls,null,k),u&&!f&&d(o.name)&&React.createElement(i.InspectorAdvancedControls,null,React.createElement(t.BaseControl,{id:"widget-vis__wrapper",className:"widget-vis__wrapper",label:__("Visibility","jetpack"),help:__("Please select the top level block of this widget to apply visibility rules.","jetpack")})))}),"visibilityAdvancedControls");wp.hooks.addFilter("editor.BlockEdit","widget/visibility",w)}(),window.WidgetVisibility={}.WidgetVisibility}(); \ No newline at end of file
+!function(){var e={402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},171:function(e){var t=1e3,n=60*t,o=60*n,i=24*o,r=7*i,a=365.25*i;function s(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"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 s=/^(-?(?:\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(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*r;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;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 r=Math.abs(e);if(r>=i)return s(e,r,i,"day");if(r>=o)return s(e,r,o,"hour");if(r>=n)return s(e,r,n,"minute");if(r>=t)return s(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=i)return Math.round(e/i)+"d";if(r>=o)return Math.round(e/o)+"h";if(r>=n)return Math.round(e/n)+"m";if(r>=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))}},975:function(e,t,n){"use strict";var o=n(128),i=n.n(o),r=n(819);const a=i()("dops:analytics");let s,c;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,t,n){l.setUser(e,t),l.setSuperProps(n),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){c={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=(0,r.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);l.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);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,o,i,r,a){l.ga.recordPurchase(e,t,n,o,i,r,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(a("- Super Props: %o",s),t=(0,r.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};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.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={};l.ga.initialized||(c&&(e={userId:"u-"+c.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.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,o){l.ga.initialize();let i="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(i+=" [Option Label: "+n+"]"),void 0!==o&&(i+=" [Option Value: "+o+"]"),a(i),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,o)},recordPurchase:function(e,t,n,o,i,r,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:o,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){c&&window._tkq.push(["identifyUser",c.ID,c.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=l},419:function(e,t,n){"use strict";n.d(t,{Wp:function(){return o.Wp}});var o=n(505);n(714),n(354),n(404)},404:function(e,t,n){"use strict";n(819),n(483);var o=n(736);const __=o.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},714:function(e,t,n){"use strict";n(817)},505:function(e,t,n){"use strict";function o(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===o()}n.d(t,{Wp:function(){return i}})},354:function(e,t,n){"use strict";n(402),n(333)},182:function(e,t){"use strict";const n={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};t.Z=function(e){if(e in n)return n[e];throw new Error("config key `"+e+"` does not exist")}},69:function(e,t,n){"use strict";var o=n(182),i=n(975);i.Z.setMcAnalyticsEnabled((0,o.Z)("mc_analytics_enabled")),i.Z.setGoogleAnalyticsEnabled((0,o.Z)("google_analytics_enabled"),(0,o.Z)("google_analytics_key")),t.Z=i.Z},128:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(942)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},942:function(e,t,n){e.exports=function(e){function t(e){let n,i,r,a=null;function s(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];if(!s.enabled)return;const r=s,a=Number(new Date),c=a-(n||a);r.diff=c,r.prev=n,r.curr=a,n=a,o[0]=t.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");let l=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";l++;const i=t.formatters[n];if("function"==typeof i){const t=o[l];e=i.call(r,t),o.splice(l,1),l--}return e})),t.formatArgs.call(r,o);const u=r.log||t.log;u.apply(r,o)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=o,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,r=t.enabled(e)),r),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function o(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),i=o.length;for(n=0;n<i;n++)o[n]&&("-"===(e=o[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,o;for(n=0,o=t.skips.length;n<o;n++)if(t.skips[n].test(e))return!1;for(n=0,o=t.names.length;n<o;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},819:function(e){"use strict";e.exports=window.lodash},175:function(e){"use strict";e.exports=window.wp.blockEditor},609:function(e){"use strict";e.exports=window.wp.components},333:function(e){"use strict";e.exports=window.wp.compose},818:function(e){"use strict";e.exports=window.wp.data},307:function(e){"use strict";e.exports=window.wp.element},736:function(e){"use strict";e.exports=window.wp.i18n},817:function(e){"use strict";e.exports=window.wp.plugins},483:function(e){"use strict";e.exports=window.wp.url}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};!function(){"use strict";var e=n(307),t=n(609),o=n(736),i=n(175),r=n(333),a=n(818),s=n(419),c=n(69);const __=o.__,_x=o._x,l={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&nbsp;":" "},u=/&(?:amp|lt|gt|quot|#39|nbsp);/g,d=e=>{if("string"!=typeof e)return e;return e.replace(u,(e=>l[e]))},p=e=>!new Set(["core/legacy-widget","core/widget-area"]).has(e);wp.hooks.addFilter("blocks.registerBlockType","widget/visibility",(function(e,t){return p(t)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{conditions:{type:"object",default:{}}})),e}));const g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.reduce(((e,n)=>{const[o,i]=n,r=" ".repeat(3*t);if(Array.isArray(i)){const n={label:d(r+o),value:o,disabled:!0},a=g(i,t+1);return e.concat([n]).concat(a)}const a={label:d(r+i),value:o};return e.concat([a])}),[])},m=e=>{const{rule:n,onDelete:o,setMajor:i,setMinor:r}=e,a=[{label:__("User","jetpack"),value:"loggedin"},{label:__("Role","jetpack"),value:"role"}],c=widget_conditions_data.taxonomy&&widget_conditions_data.taxonomy.length>1||"taxonomy"===n.major,l=[{label:__("Taxonomy","jetpack"),value:"taxonomy"}],u=[{label:__("-- Select --","jetpack"),value:""},{label:__("Category","jetpack"),value:"category"},{label:__("Author","jetpack"),value:"author"}].concat((0,s.Wp)()?[]:a).concat([{label:__("Tag","jetpack"),value:"tag"},{label:__("Date","jetpack"),value:"date"},{label:__("Page","jetpack"),value:"page"}]).concat(c?l:[]);let d=[];return n.major in widget_conditions_data&&(d=g(widget_conditions_data[n.major])),React.createElement("div",{className:"widget-vis__rule"},React.createElement("div",{className:"widget-vis__rule-major"},React.createElement("span",{className:"widget-vis__if"},_x("If","Widget Visibility: If {Rule Major [Page]} is {Rule Minor [Search results]}","jetpack")),React.createElement("div",{className:"widget-vis__select"},React.createElement(t.SelectControl,{label:__("Major Rule","jetpack"),hideLabelFromVision:!0,value:n.major,options:u,onChange:i}))),n.major&&React.createElement("div",{className:"widget-vis__rule-minor"},React.createElement("span",{className:"widget-vis__is"},_x("is","Widget Visibility: {Rule Major [Page]} is {Rule Minor [Search results]}","jetpack")),React.createElement("div",{className:"widget-vis__select"},React.createElement(t.SelectControl,{className:"widget-vis__select-multi-level",label:__("Minor Rule","jetpack"),hideLabelFromVision:!0,value:n.minor,options:d,onChange:r}))),React.createElement("div",{className:"widget-vis__delete-rule"},React.createElement(t.Button,{onClick:o,isSmall:!0,variant:"secondary"},_x("Remove","Delete this visibility rule","jetpack"))))},f=e=>({action:"show",rules:[],match_all:0,...e}),w=(0,r.createHigherOrderComponent)((n=>o=>{const{clientId:r,attributes:s,setAttributes:l,isSelected:u}=o,d=(0,e.useMemo)((()=>s.conditions||{}),[s]),g=(0,e.useMemo)((()=>d.rules||[]),[d]),w=(0,a.useSelect)((e=>{const{getBlockParents:t,getBlock:n}=e("core/block-editor"),o=t(r,!0),i=o?n(o[0]):void 0;return!i||i&&"core/widget-area"===i.name}),[r]),C=(0,e.useCallback)((()=>{c.Z.tracks.recordEvent("jetpack_widget_visibility_toggle_match_all_click"),l({conditions:{...f(d),match_all:"0"===d.match_all?"1":"0"}})}),[l,d]),_=(0,e.useCallback)((e=>l({conditions:{...f(d),action:e}})),[l,d]),y=(0,e.useCallback)((()=>{const e=[...g,{major:"",minor:""}];c.Z.tracks.recordEvent("jetpack_widget_visibility_add_new_rule_click"),l({conditions:{...f(d),rules:e}})}),[l,d,g]),v=(0,e.useCallback)((e=>{const t=[...g.slice(0,e),...g.slice(e+1)];c.Z.tracks.recordEvent("jetpack_widget_visibility_delete_rule_click"),l({conditions:{...f(d),rules:t}})}),[l,d,g]),h=(0,e.useCallback)(((e,t)=>{c.Z.tracks.recordEvent("jetpack_widget_visibility_set_major_rule_click");let n="";t in widget_conditions_data&&Array.isArray(widget_conditions_data[t])&&widget_conditions_data[t].length>0&&(n=widget_conditions_data[t][0][0]);const o=[...g.slice(0,e),{...g[e],major:t,minor:n},...g.slice(e+1)];l({conditions:{...f(d),rules:o}})}),[l,d,g]),b=(0,e.useCallback)(((e,t)=>{if(c.Z.tracks.recordEvent("jetpack_widget_visibility_set_minor_rule_click"),t&&t.includes("__HEADER__"))return;const n=[...g.slice(0,e),{...g[e],minor:t},...g.slice(e+1)];l({conditions:{...f(d),rules:n}})}),[l,d,g]);let k=null;return k=0===g.length?React.createElement(t.BaseControl,{id:"widget-vis__wrapper",className:"widget-vis__wrapper",label:__("Visibility","jetpack"),help:__("No visibility rules yet. Add at least one rule to use this feature.","jetpack")},React.createElement(t.Button,{variant:"secondary",onClick:y,className:"widget-vis__add-new-rule"},__("Add new rule","jetpack"))):React.createElement(t.BaseControl,{className:"widget-vis__wrapper",id:"widget-vis__wrapper",label:__("Visibility","jetpack")},React.createElement(t.SelectControl,{className:"widget-vis__show-hide",label:__("Action","jetpack"),hideLabelFromVision:!0,value:s.action,options:[{label:__("Show this block","jetpack"),value:"show"},{label:__("Hide this block","jetpack"),value:"hide"}],onChange:_}),g.map(((e,t)=>React.createElement(m,{key:t,rule:e,i:t,onDelete:()=>v(t),setMajor:e=>h(t,e),setMinor:e=>b(t,e)}))),g.length>1&&React.createElement(t.ToggleControl,{className:"widget-vis__match-all",label:__("Match all rules","jetpack"),checked:"1"===d.match_all,onChange:C}),React.createElement(t.Button,{variant:"secondary",onClick:y},__("Add new rule","jetpack"))),React.createElement(e.Fragment,null,React.createElement(n,o),u&&w&&p(o.name)&&React.createElement(i.InspectorAdvancedControls,null,k),u&&!w&&p(o.name)&&React.createElement(i.InspectorAdvancedControls,null,React.createElement(t.BaseControl,{id:"widget-vis__wrapper",className:"widget-vis__wrapper",label:__("Visibility","jetpack"),help:__("Please select the top level block of this widget to apply visibility rules.","jetpack")})))}),"visibilityAdvancedControls");wp.hooks.addFilter("editor.BlockEdit","widget/visibility",w)}(),window.WidgetVisibility={}.WidgetVisibility}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/widget-visibility/editor/index.rtl.css b/plugins/jetpack/_inc/build/widget-visibility/editor/index.rtl.css
new file mode 100644
index 00000000..cfc2068d
--- /dev/null
+++ b/plugins/jetpack/_inc/build/widget-visibility/editor/index.rtl.css
@@ -0,0 +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;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/widget-visibility/widget-conditions/widget-conditions.min.asset.php b/plugins/jetpack/_inc/build/widget-visibility/widget-conditions/widget-conditions.min.asset.php
index 743bda82..2a9c930d 100644
--- a/plugins/jetpack/_inc/build/widget-visibility/widget-conditions/widget-conditions.min.asset.php
+++ b/plugins/jetpack/_inc/build/widget-visibility/widget-conditions/widget-conditions.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'fc92f507a4d5f0be29605bd24305034c'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'b5a539f5e41515b723b8');
diff --git a/plugins/jetpack/_inc/build/widgets/contact-info/contact-info-admin.min.asset.php b/plugins/jetpack/_inc/build/widgets/contact-info/contact-info-admin.min.asset.php
index 6abbbafc..c71f9ff7 100644
--- a/plugins/jetpack/_inc/build/widgets/contact-info/contact-info-admin.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/contact-info/contact-info-admin.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'f01993d5fa42f939c5d93fd709760c26'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '67469d541dc9f4a826f7');
diff --git a/plugins/jetpack/_inc/build/widgets/customizer-utils.min.asset.php b/plugins/jetpack/_inc/build/widgets/customizer-utils.min.asset.php
index 07d0501f..5562411c 100644
--- a/plugins/jetpack/_inc/build/widgets/customizer-utils.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/customizer-utils.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'eeb8f6e1063733a9e46c1c2bdf05aed7'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '9102516cb0e7c1186464');
diff --git a/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.asset.php b/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.asset.php
index a0a65c0d..9ec19d7b 100644
--- a/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'ef332b3b0b491e3e9b0f895c042ff257'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '3d92e3172c434fda2f94');
diff --git a/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.asset.php b/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.asset.php
index 6fe522e2..d90e1be6 100644
--- a/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'c3dd83bf05544fa797b2e4a3e4cfb657'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '29c4bc9239b25da2afd8');
diff --git a/plugins/jetpack/_inc/build/widgets/gallery/js/admin.min.asset.php b/plugins/jetpack/_inc/build/widgets/gallery/js/admin.min.asset.php
index a28db002..53334cb3 100644
--- a/plugins/jetpack/_inc/build/widgets/gallery/js/admin.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/gallery/js/admin.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'cf880577f1b9f97c540df4ba1f4d5ca1'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '957faae4aeada074f8f7');
diff --git a/plugins/jetpack/_inc/build/widgets/gallery/js/gallery.min.asset.php b/plugins/jetpack/_inc/build/widgets/gallery/js/gallery.min.asset.php
index 3048aba2..c2b8dbfc 100644
--- a/plugins/jetpack/_inc/build/widgets/gallery/js/gallery.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/gallery/js/gallery.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '0e72e5f05e5146000977a841833a9480'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '36858ebf0b009e57bcc1');
diff --git a/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.asset.php b/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.asset.php
index cee4cc86..36b69a4f 100644
--- a/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '1922a0d7353557a7d66afa14ad6fad7a'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'ac196fc4b3ae1f41e90d');
diff --git a/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.js b/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.js
index 06b566a9..3caf1456 100644
--- a/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.js
+++ b/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.js
@@ -1 +1 @@
-!function(){var e={6097:function(e,t,o){(e=o.nmd(e))&&(e.exports=function(){var e,t="en",o=/[?&#]lang=([a-zA-Z\-_]+)/;"object"==typeof _wp_google_translate_widget&&"string"==typeof _wp_google_translate_widget.lang&&(t=_wp_google_translate_widget.lang),(e=window.location.href.match(o))&&(window.location.href=window.location.href.replace(o,"").replace(/#googtrans\([a-zA-Z\-_|]+\)/,"")+"#googtrans("+t+"|"+e[1]+")"),new google.translate.TranslateElement({pageLanguage:t,layout:_wp_google_translate_widget.layout,autoDisplay:!1},"google_translate_element")})}},t={};function o(a){var n=t[a];if(void 0!==n)return n.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a](r,r.exports,o),r.loaded=!0,r.exports}o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var a=o(6097);googleTranslateElementInit=a}(); \ No newline at end of file
+!function(){var e={3914:function(e,t,o){(e=o.nmd(e))&&(e.exports=function(){var e,t="en",o=/[?&#]lang=([a-zA-Z\-_]+)/;"object"==typeof _wp_google_translate_widget&&"string"==typeof _wp_google_translate_widget.lang&&(t=_wp_google_translate_widget.lang),(e=window.location.href.match(o))&&(window.location.href=window.location.href.replace(o,"").replace(/#googtrans\([a-zA-Z\-_|]+\)/,"")+"#googtrans("+t+"|"+e[1]+")"),new google.translate.TranslateElement({pageLanguage:t,layout:_wp_google_translate_widget.layout,autoDisplay:!1},"google_translate_element")})}},t={};function o(a){var n=t[a];if(void 0!==n)return n.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a](r,r.exports,o),r.loaded=!0,r.exports}o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var a=o(3914);googleTranslateElementInit=a}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/widgets/milestone/admin.min.asset.php b/plugins/jetpack/_inc/build/widgets/milestone/admin.min.asset.php
index b791a871..3f373392 100644
--- a/plugins/jetpack/_inc/build/widgets/milestone/admin.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/milestone/admin.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'fe5c588fcac367664a127cf363ffcdde'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '931c6f6e1dc37bd64a9c');
diff --git a/plugins/jetpack/_inc/build/widgets/milestone/milestone.min.asset.php b/plugins/jetpack/_inc/build/widgets/milestone/milestone.min.asset.php
index 2250ba70..ac2e77f2 100644
--- a/plugins/jetpack/_inc/build/widgets/milestone/milestone.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/milestone/milestone.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'dda4b03570cb1cbfb33509b2c4c15525'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '68f09e0cb6d668e7c0ad');
diff --git a/plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.asset.php b/plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.asset.php
deleted file mode 100644
index e8b3cc6b..00000000
--- a/plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.asset.php
+++ /dev/null
@@ -1 +0,0 @@
-<?php return array('dependencies' => array(), 'version' => 'f14a1b17fd87413ca08b93d4e86e64b5'); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.js b/plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.js
deleted file mode 100644
index 9828e41a..00000000
--- a/plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(e,t){var a=void 0!==t&&t.defaultFilterCount?t.defaultFilterCount:5;function s(a){var s=null,c=null,i=a.find(".filter-select").val();"taxonomy"===i?s=a.find(".taxonomy-select option:selected").text().trim():"date_histogram"===i&&t&&t.i18n?(c=-1!==a.find(".date-field-select").val().indexOf("modified"),s="month"===a.find(".date-interval-select").val()?c?t.i18n.monthUpdated:t.i18n.month:c?t.i18n.yearUpdated:t.i18n.year):s=a.find(".filter-select option:selected").text().trim(),e(a).find(".jetpack-search-filters-widget__title input").prop("placeholder",s)}e(document).ready((function(){i(),window.JetpackSearch=window.JetpackSearch||{},window.JetpackSearch.addFilter=c,"undefined"!=typeof analytics&&t.tracksUserData&&analytics.initialize(t.tracksUserData.userid,t.tracksUserData.username)}));var c=function(e,t){var a=_.template(e.closest(".jetpack-search-filters-widget").find(".jetpack-search-filters-widget__filter-template").html());s(e.append(a(t)))},i=function(i){i=void 0===i?e(".jetpack-search-filters-widget"):i;var n=function(t){return e(t).closest(".jetpack-search-filters-widget__filter")};i.on("change",".filter-select",(function(){var a=e(this),c=a.val(),i={is_customizer:t.tracksEventData.is_customizer};i.type=c,a.closest(".jetpack-search-filters-widget__filter").attr("class","jetpack-search-filters-widget__filter").addClass("is-"+c),s(n(this)),r("changed_filter_type",i)})),i.on("change",".jetpack-search-filters-widget__search-box-enabled",(function(){var a=e(this),s=a.is(":checked"),c=a.closest(".jetpack-search-filters-widget"),i=c.find(".jetpack-search-filters-widget__sort-controls-enabled");c.toggleClass("hide-post-types"),s?(i.removeAttr("disabled"),r("enabled_search_box",t.tracksEventData)):(i.prop("checked",!1),i.prop("disabled",!0),r("disabled_search_box",t.tracksEventData))})),i.on("change",".jetpack-search-filters-widget__sort-controls-enabled",(function(){e(this).is(":checked")?r("enabled_sort_controls",t.tracksEventData):r("disabled_sort_controls",t.tracksEventData)})),i.on("click",'.jetpack-search-filters-widget__post-types-select input[type="checkbox"]',(function(a){0===e(this).closest(".jetpack-search-filters-widget").find('.jetpack-search-filters-widget__post-types-select input[type="checkbox"]:checked').length&&(a.preventDefault(),a.stopPropagation(),r("attempted_no_post_types",t.tracksEventData))})),i.on("change",'.jetpack-search-filters-widget__post-types-select input[type="checkbox"]',(function(){var a=e(this),s={is_customizer:t.tracksEventData.is_customizer,post_type:a.val()};wp&&wp.customize&&wp.customize.state("saved").set(!1),a.is(":checked")?r("added_post_type",s):r("removed_post_type",s)})),i.on("change",".jetpack-search-filters-widget__sort-order",(function(){var a={is_customizer:t.tracksEventData.is_customizer};a.order=e(this).val(),wp&&wp.customize&&wp.customize.state("saved").set(!1),r("changed_sort_order",a)})),i.on("change",".jetpack-search-filters-widget__taxonomy-select select",(function(){var a={is_customizer:t.tracksEventData.is_customizer};a.taxonomy=e(this).val(),s(n(this)),wp&&wp.customize&&wp.customize.state("saved").set(!1),r("changed_taxonomy",a)})),i.on("change","select.date-field-select",(function(){var a={is_customizer:t.tracksEventData.is_customizer};a.field=e(this).val(),s(n(this)),wp&&wp.customize&&wp.customize.state("saved").set(!1),r("changed_date_field",a)})),i.on("change","select.date-interval-select",(function(){var a={is_customizer:t.tracksEventData.is_customizer};a.interval=e(this).val(),s(n(this)),wp&&wp.customize&&wp.customize.state("saved").set(!1),r("changed_date_interval",a)})),i.on("change","input.filter-count",(function(){var a={is_customizer:t.tracksEventData.is_customizer};a.count=e(this).val(),wp&&wp.customize&&wp.customize.state("saved").set(!1),r("changed_filter_count",a)})),i.on("click",".jetpack-search-filters-widget__add-filter",(function(s){s.preventDefault();var i=e(this).closest(".jetpack-search-filters-widget").find(".jetpack-search-filters-widget__filters");c(i,{type:"taxonomy",taxonomy:"",post_type:"",field:"",interval:"",count:a,name_placeholder:"",name:""}),wp&&wp.customize&&wp.customize.state("saved").set(!1),i.find(".jetpack-search-filters-widget__filter").find("input, textarea, select").change(),r("added_filter",t.tracksEventData)})),i.on("click",".jetpack-search-filters-widget__controls .delete",(function(a){a.preventDefault();var s=e(this).closest(".jetpack-search-filters-widget__filter"),c={is_customizer:t.tracksEventData.is_customizer};switch(c.type=s.find(".filter-select").val(),c.type){case"taxonomy":c.taxonomy=s.find(".jetpack-search-filters-widget__taxonomy-select select").val();break;case"date_histogram":c.dateField=s.find(".jetpack-search-filters-widget__date-histogram-select:first select").val(),c.dateInterval=s.find(".jetpack-search-filters-widget__date-histogram-select:nth-child( 2 ) select").val()}c.filterCount=s.find(".filter-count").val(),r("deleted_filter",c),s.find("input, textarea, select").change(),s.remove(),wp&&wp.customize&&wp.customize.state("saved").set(!1)})),e(".jetpack-search-filters-widget__filters").sortable({placeholder:"jetpack-search-filters-widget__filter-placeholder",axis:"y",revert:!0,cancel:"input,textarea,button,select,option,.jetpack-search-filters-widget__controls a",change:function(){wp&&wp.customize&&wp.customize.state("saved").set(!1)},update:function(t,a){e(a.item).find("input, textarea, select").change()}}).disableSelection()};function r(e,t){void 0!==t&&"object"==typeof t||(t={}),e&&e.length&&"undefined"!=typeof analytics&&analytics.tracks&&analytics.mc&&(e=0!==(e=e.replace(/-/g,"_")).indexOf("jetpack_widget_search_")?"jetpack_widget_search_"+e:e,analytics.tracks.recordEvent(e,t),e=(e=e.replace("jetpack_widget_search_","")).replace(/_/g,"-"),analytics.mc.bumpStat("jetpack-search-widget",e))}e(document).on("widget-updated widget-added",(function(t,a){var s=e(a).find(".id_base").val();s&&"jetpack-search-filters"===s&&(a.off("change",".filter-select"),a.off("click",".jetpack-search-filters-widget__controls .delete"),a.off("change",".jetpack-search-filters-widget__use-filters"),a.off("change",".jetpack-search-filters-widget__search-box-enabled"),a.off("change",".jetpack-search-filters-widget__sort-controls-enabled"),a.off("change",".jetpack-search-filters-widget__sort-controls-enabled"),a.off("change",".jetpack-search-filters-widget__post-type-selector"),a.off("change",".jetpack-search-filters-widget__sort-order"),a.off("change",".jetpack-search-filters-widget__taxonomy-select"),a.off("change",".jetpack-search-filters-widget__date-histogram-select:first select"),a.off("change",".jetpack-search-filters-widget__date-histogram-select:eq(1) select"),a.off("click",'.jetpack-search-filters-widget__post-types-select input[type="checkbox"]'),a.off("click",".jetpack-search-filters-widget__add-filter"),i(a))}))}(jQuery,jetpack_search_filter_admin); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/widgets/search/js/search-widget.min.asset.php b/plugins/jetpack/_inc/build/widgets/search/js/search-widget.min.asset.php
deleted file mode 100644
index 040558a2..00000000
--- a/plugins/jetpack/_inc/build/widgets/search/js/search-widget.min.asset.php
+++ /dev/null
@@ -1 +0,0 @@
-<?php return array('dependencies' => array(), 'version' => '6a928ee58fcea55ef7346d0055b1481b'); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/widgets/search/js/search-widget.min.js b/plugins/jetpack/_inc/build/widgets/search/js/search-widget.min.js
deleted file mode 100644
index 59947364..00000000
--- a/plugins/jetpack/_inc/build/widgets/search/js/search-widget.min.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(){var e=function(){var e,t,n,o=document.querySelectorAll(".jetpack-search-filters-widget__filter-list");for(e=0;e<o.length;e++)for(o[e].addEventListener("click",(function(e){var t,n,o=e.target;o.nodeName&&"a"===o.nodeName.toLowerCase()&&(t=o.previousElementSibling)&&t.type&&"checkbox"===t.type&&(t.checked=!t.checked),o.type&&"checkbox"===o.type&&(n=o.nextElementSibling)&&"a"===n.nodeName.toLowerCase()&&(window.location.href=n.getAttribute("href"))})),n=o[e].querySelectorAll('input[type="checkbox"]'),t=0;t<n.length;t++)n[t].disabled=!1,n[t].style.cursor="inherit"};"interactive"===document.readyState||"complete"===document.readyState?e():document.addEventListener("DOMContentLoaded",e)}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/widgets/simple-payments/customizer.min.asset.php b/plugins/jetpack/_inc/build/widgets/simple-payments/customizer.min.asset.php
index 9f953790..c6f7a8a0 100644
--- a/plugins/jetpack/_inc/build/widgets/simple-payments/customizer.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/simple-payments/customizer.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '2557197847d225f438d9e5eaf2352425'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '825e1519711a678b917f');
diff --git a/plugins/jetpack/_inc/build/widgets/social-icons/social-icons-admin.min.asset.php b/plugins/jetpack/_inc/build/widgets/social-icons/social-icons-admin.min.asset.php
index 694a15d0..2c3a8271 100644
--- a/plugins/jetpack/_inc/build/widgets/social-icons/social-icons-admin.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/social-icons/social-icons-admin.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '98e3c4804e167092724937865ff88538'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '7a96c0235f6f0e464eb2');
diff --git a/plugins/jetpack/_inc/build/widgets/twitter-timeline-admin.min.asset.php b/plugins/jetpack/_inc/build/widgets/twitter-timeline-admin.min.asset.php
index 70b8f09e..8dbc0a87 100644
--- a/plugins/jetpack/_inc/build/widgets/twitter-timeline-admin.min.asset.php
+++ b/plugins/jetpack/_inc/build/widgets/twitter-timeline-admin.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'd65c6038f8d4fcadc38bd1e08d776755'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '57ed0cc8712064f3895c');
diff --git a/plugins/jetpack/_inc/build/wordads/js/wordads-ccpa.min.asset.php b/plugins/jetpack/_inc/build/wordads/js/wordads-ccpa.min.asset.php
index 56066ba9..9ea24987 100644
--- a/plugins/jetpack/_inc/build/wordads/js/wordads-ccpa.min.asset.php
+++ b/plugins/jetpack/_inc/build/wordads/js/wordads-ccpa.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '599ef164ea6641a45c49db3a15eeab11'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '3c776500c926f2e16587');
diff --git a/plugins/jetpack/_inc/connect-button.js b/plugins/jetpack/_inc/connect-button.js
index 58682618..55e8c58d 100644
--- a/plugins/jetpack/_inc/connect-button.js
+++ b/plugins/jetpack/_inc/connect-button.js
@@ -3,7 +3,6 @@
jQuery( document ).ready( function ( $ ) {
var connectButton = $( '.jp-connect-button, .jp-banner__alt-connect-button' ).eq( 0 );
var tosText = $( '.jp-connect-full__tos-blurb' );
- var jetpackConnectIframe = $( '<iframe class="jp-jetpack-connect__iframe" />' );
// Sections that only show up in the first Set Up screen
var connectionHelpSections = $(
'#jetpack-connection-cards, .jp-connect-full__dismiss-paragraph, .jp-connect-full__testimonial'
@@ -41,17 +40,11 @@ jQuery( document ).ready( function ( $ ) {
jetpackConnectButton.handleConnection();
}
},
- selectAndStartAuthorizationFlow: function ( data ) {
- if ( data.allowInplaceAuthorization && 'original' !== jpConnect.forceVariation ) {
- jetpackConnectButton.handleAuthorizeInPlaceFlow( data );
+ startAuthorizationFlow: function ( data ) {
+ if ( data.alternateAuthorizeUrl ) {
+ window.location = data.alternateAuthorizeUrl;
} else {
- // Forcing original connection flow, `JETPACK_SHOULD_NOT_USE_CONNECTION_IFRAME = true`
- // or we're dealing with Safari which has issues with handling 3rd party cookies.
- if ( data.alternateAuthorizeUrl ) {
- window.location = data.alternateAuthorizeUrl;
- } else {
- window.location = data.authorizeUrl;
- }
+ window.location = data.authorizeUrl;
}
},
handleConnection: function () {
@@ -83,10 +76,9 @@ jQuery( document ).ready( function ( $ ) {
registration_nonce: jpConnect.registrationNonce,
_wpnonce: jpConnect.apiNonce,
from: connectButtonFrom,
- no_iframe: 'original' === jpConnect.forceVariation,
},
error: jetpackConnectButton.handleConnectionError,
- success: jetpackConnectButton.selectAndStartAuthorizationFlow,
+ success: jetpackConnectButton.startAuthorizationFlow,
} );
},
triggerLoadingState: function () {
@@ -100,28 +92,6 @@ jQuery( document ).ready( function ( $ ) {
$( '<div>' ).addClass( 'jp-spinner__inner' ).appendTo( spinnerOuter );
loadingText.after( spinner );
},
- handleAuthorizeInPlaceFlow: function ( data ) {
- window.addEventListener( 'message', jetpackConnectButton.receiveData );
- jetpackConnectIframe.attr(
- 'src',
- data.authorizeUrl + '&from=' + connectButtonFrom + '&iframe_source=jetpack-connect-main'
- );
- jetpackConnectIframe.on( 'load', function () {
- jetpackConnectIframe.show();
- $( '.jp-connect-full__button-container' ).hide();
- $( '#jp-connect-full__step1-header' ).hide();
- $( '#jp-connect-full__step2-header' ).show();
- } );
- jetpackConnectIframe.hide();
- $( '.jp-connect-full__button-container' ).after( jetpackConnectIframe );
-
- // At this point we are pretty sure if things work out that we will be loading the admin script
- var link = document.createElement( 'link' );
- link.rel = 'preload';
- link.as = 'script';
- link.href = jpConnect.preFetchScript;
- document.head.appendChild( link );
- },
fetchPlanType: function () {
return $.ajax( {
url: jpConnect.apiBaseUrl + '/site',
@@ -137,10 +107,7 @@ jQuery( document ).ready( function ( $ ) {
} );
},
receiveData: function ( event ) {
- if (
- event.origin !== jpConnect.jetpackApiDomain ||
- event.source !== jetpackConnectIframe.get( 0 ).contentWindow
- ) {
+ if ( event.origin !== jpConnect.jetpackApiDomain ) {
return;
}
@@ -150,7 +117,6 @@ jQuery( document ).ready( function ( $ ) {
jetpackConnectButton.handleAuthorizationComplete();
break;
case 'wpcom_nocookie':
- jetpackConnectIframe.hide();
jetpackConnectButton.handleConnectionError();
break;
}
diff --git a/plugins/jetpack/_inc/footer.php b/plugins/jetpack/_inc/footer.php
deleted file mode 100644
index 434b80f1..00000000
--- a/plugins/jetpack/_inc/footer.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-/**
- * Deprecated. No longer needed.
- *
- * @package Jetpack
- */ \ No newline at end of file
diff --git a/plugins/jetpack/_inc/header.php b/plugins/jetpack/_inc/header.php
deleted file mode 100644
index 8c2953d9..00000000
--- a/plugins/jetpack/_inc/header.php
+++ /dev/null
@@ -1,2 +0,0 @@
-<?php $current = $_GET['page']; ?>
-
diff --git a/plugins/jetpack/_inc/idc-notice.js b/plugins/jetpack/_inc/idc-notice.js
deleted file mode 100644
index 692248ac..00000000
--- a/plugins/jetpack/_inc/idc-notice.js
+++ /dev/null
@@ -1,241 +0,0 @@
-/* global idcL10n, jQuery, analytics, history, wpCookies */
-
-( function( $ ) {
- var restNonce = idcL10n.nonce,
- currentUrl = idcL10n.currentUrl,
- restRoot = idcL10n.apiRoot,
- notice = $( '.jp-idc-notice' ),
- idcButtons = $( '.jp-idc-notice .dops-button' ),
- tracksUser = idcL10n.tracksUserData,
- tracksEvent = idcL10n.tracksEventData,
- adminBarMenu = $( '#wp-admin-bar-jetpack-idc' ),
- confirmSafeModeButton = $( '#jp-idc-confirm-safe-mode-action' ),
- fixConnectionButton = $( '#jp-idc-fix-connection-action' ),
- migrateButton = $( '#jp-idc-migrate-action' ),
- reconnectButton = $( '#jp-idc-reconnect-site-action' ),
- errorNotice = $( '.jp-idc-error__notice' ),
- erroredAction = false;
-
- // Initialize Tracks and bump stats.
- if ( 'undefined' !== typeof analytics ) {
- analytics.initialize( tracksUser.userid, tracksUser.username );
- }
-
- if ( tracksEvent.isAdmin ) {
- trackAndBumpMCStats( 'notice_view' );
- } else {
- trackAndBumpMCStats( 'non_admin_notice_view', { page: tracksEvent.currentScreen } );
- }
- clearConfirmationArgsFromUrl();
-
- // If the user dismisses the notice, set a cookie for one week so we don't display it for that time.
- notice.on( 'click', '.notice-dismiss', function() {
- var secure = 'https:' === window.location.protocol;
- wpCookies.set( 'jetpack_idc_dismiss_notice', '1', 7 * 24 * 60 * 60, false, false, secure );
- trackAndBumpMCStats( 'non_admin_notice_dismiss', { page: tracksEvent.currentScreen } );
- } );
-
- notice.on( 'click', '#jp-idc-error__action', function() {
- errorNotice.hide();
- switch ( erroredAction ) {
- case 'confirm':
- confirmSafeMode();
- break;
- case 'start-fresh':
- startFreshConnection();
- break;
- case 'migrate':
- migrateStatsAndSubscribers();
- break;
- default:
- return;
- }
- } );
-
- // Confirm Safe Mode
- confirmSafeModeButton.on( 'click', confirmSafeMode );
-
- // Fix connection
- fixConnectionButton.on( 'click', fixJetpackConnection );
-
- // Start fresh connection
- reconnectButton.on( 'click', startFreshConnection );
-
- // Starts migration process.
- migrateButton.on( 'click', migrateStatsAndSubscribers );
-
- function disableDopsButtons() {
- idcButtons.prop( 'disabled', true );
- }
-
- function enableDopsButtons() {
- idcButtons.prop( 'disabled', false );
- }
-
- function clearConfirmationArgsFromUrl( allowReload ) {
- allowReload = 'undefined' === typeof allowReload ? false : allowReload;
-
- // If the jetpack_idc_clear_confirmation query arg is present, let's try to clear it.
- //
- // Otherwise, there's a weird flow where if the user dismisses the notice, then shows the notice, then clicks
- // the confirm safe mode button again, and then reloads the page, then the notice never disappears.
- if (
- window.location.search &&
- -1 !== window.location.search.indexOf( 'jetpack_idc_clear_confirmation' )
- ) {
- trackAndBumpMCStats( 'clear_confirmation_clicked' );
-
- // If push state is available, let's use that to minimize reloading the page.
- // Otherwise, we can clear the args by reloading the page.
- if ( history && history.pushState ) {
- history.pushState( {}, '', currentUrl );
- } else if ( allowReload ) {
- window.location.href = currentUrl;
- }
- }
- }
-
- function confirmSafeMode() {
- errorNotice.hide();
- trackAndBumpMCStats( 'confirm_safe_mode' );
-
- var route = restRoot + 'jetpack/v4/identity-crisis/confirm-safe-mode';
- disableDopsButtons();
- $.ajax( {
- method: 'POST',
- beforeSend: function( xhr ) {
- xhr.setRequestHeader( 'X-WP-Nonce', restNonce );
- },
- url: route,
- data: {},
- success: function() {
- notice.hide();
- adminBarMenu.removeClass( 'hide' );
-
- // We must refresh the Jetpack admin UI page in order for the React UI to render.
- if ( window.location.search && 1 === window.location.search.indexOf( 'page=jetpack' ) ) {
- window.location.reload();
- }
- },
- error: function( error ) {
- erroredAction = 'confirm';
- displayErrorNotice( error );
- enableDopsButtons();
- },
- } );
- }
-
- function migrateStatsAndSubscribers() {
- errorNotice.hide();
- trackAndBumpMCStats( 'migrate' );
-
- var route = restRoot + 'jetpack/v4/identity-crisis/migrate';
- disableDopsButtons();
- $.ajax( {
- method: 'POST',
- beforeSend: function( xhr ) {
- xhr.setRequestHeader( 'X-WP-Nonce', restNonce );
- },
- url: route,
- data: {},
- success: function() {
- notice.hide();
- if ( $( 'body' ).hasClass( 'toplevel_page_jetpack' ) ) {
- // On the main Jetpack page, sites in IDC will not see Jetpack's interface.
- // Once IDC is resolved, we need to refresh the page to regain access to the UI.
- window.location.reload( true );
- }
- },
- error: function( error ) {
- erroredAction = 'migrate';
- displayErrorNotice( error );
- enableDopsButtons();
- },
- } );
- }
-
- function fixJetpackConnection() {
- errorNotice.hide();
- trackAndBumpMCStats( 'fix_connection' );
- notice.addClass( 'jp-idc-show-second-step' );
- }
-
- /**
- * On successful request of the endpoint, we will redirect to the
- * connection auth flow after appending a specific 'from=' param for tracking.
- */
- function startFreshConnection() {
- errorNotice.hide();
- trackAndBumpMCStats( 'start_fresh' );
-
- var route = restRoot + 'jetpack/v4/identity-crisis/start-fresh';
- disableDopsButtons();
- $.ajax( {
- method: 'POST',
- beforeSend: function( xhr ) {
- xhr.setRequestHeader( 'X-WP-Nonce', restNonce );
- },
- url: route,
- data: {},
- success: function( connectUrl ) {
- // Add a from param and take them to connect.
- window.location = connectUrl + '&from=idc-notice';
- },
- error: function( error ) {
- erroredAction = 'start-fresh';
- displayErrorNotice( error );
- enableDopsButtons();
- },
- } );
- }
-
- /**
- * Displays an error message from the REST endpoints we're hitting.
- *
- * @param error {Object} Object containing the errored response from the API
- */
- function displayErrorNotice( error ) {
- var errorDescription = $( '.jp-idc-error__desc' );
- if ( error && error.responseJSON && error.responseJSON.message ) {
- errorDescription.html( error.responseJSON.message );
- } else {
- errorDescription.html( '' );
- }
- errorNotice.css( 'display', 'flex' );
- }
-
- /**
- * This function will fire both a Tracks and MC stat.
- * It will make sure to format the event name properly for the given stat home.
- *
- * Tracks: Will be prefixed by 'jetpack_idc_' and use underscores.
- * MC: Will not be prefixed, and will use dashes.
- *
- * @param eventName string
- * @param extraProps object
- */
- function trackAndBumpMCStats( eventName, extraProps ) {
- if ( 'undefined' === typeof extraProps || 'object' !== typeof extraProps ) {
- extraProps = {};
- }
-
- if (
- eventName &&
- eventName.length &&
- 'undefined' !== typeof analytics &&
- analytics.tracks &&
- analytics.mc
- ) {
- // Format for Tracks
- eventName = eventName.replace( /-/g, '_' );
- eventName =
- eventName.indexOf( 'jetpack_idc_' ) !== 0 ? 'jetpack_idc_' + eventName : eventName;
- analytics.tracks.recordEvent( eventName, extraProps );
-
- // Now format for MC stats
- eventName = eventName.replace( 'jetpack_idc_', '' );
- eventName = eventName.replace( /_/g, '-' );
- analytics.mc.bumpStat( 'jetpack-idc', eventName );
- }
- }
-} )( jQuery );
diff --git a/plugins/jetpack/_inc/jetpack-jitm.js b/plugins/jetpack/_inc/jetpack-jitm.js
deleted file mode 100644
index db4e9f0d..00000000
--- a/plugins/jetpack/_inc/jetpack-jitm.js
+++ /dev/null
@@ -1,229 +0,0 @@
-jQuery( document ).ready( function( $ ) {
- var templates = {
- default: function( envelope ) {
- var html =
- '<div class="jitm-card jitm-banner ' +
- ( envelope.CTA.message ? 'has-call-to-action' : '' ) +
- ' is-upgrade-premium ' +
- envelope.content.classes +
- '" data-stats_url="' +
- envelope.jitm_stats_url +
- '">';
- html += '<div class="jitm-banner__icon-plan">' + envelope.content.icon + '</div>';
- html += '<div class="jitm-banner__content">';
- html += '<div class="jitm-banner__info">';
- html += '<div class="jitm-banner__title">' + envelope.content.message + '</div>';
- if ( envelope.content.description && envelope.content.description !== '' ) {
- html += '<div class="jitm-banner__description">' + envelope.content.description;
- if ( envelope.content.list.length > 0 ) {
- html += '<ul class="banner__list">';
- for ( var i = 0; i < envelope.content.list.length; i++ ) {
- var text = envelope.content.list[ i ].item;
-
- if ( envelope.content.list[ i ].url ) {
- text =
- '<a href="' +
- envelope.content.list[ i ].url +
- '" target="_blank" rel="noopener noreferrer" data-module="' +
- envelope.feature_class +
- '" data-jptracks-name="nudge_item_click" data-jptracks-prop="jitm-' +
- envelope.id +
- '">' +
- text +
- '</a>';
- }
-
- html +=
- '<li>' +
- '<svg class="gridicon gridicons-checkmark" height="16" width="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g>' +
- '<path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414" /></g></svg>' +
- text +
- '</li>';
- }
- }
- html += '</div>';
- }
- html += '</div>';
- if ( envelope.activate_module ) {
- html += '<div class="jitm-banner__action" id="jitm-banner__activate">';
- html +=
- '<a href="#" data-module="' +
- envelope.activate_module +
- '" type="button" class="jitm-button is-compact is-primary jptracks" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-' +
- envelope.id +
- '-activate_module">' +
- window.jitm_config.activate_module_text +
- '</a>';
- html += '</div>';
- }
- if ( envelope.CTA.message ) {
- var ctaClasses = 'jitm-button is-compact jptracks';
- if ( envelope.CTA.primary && null === envelope.activate_module ) {
- ctaClasses += ' is-primary';
- }
-
- html += '<div class="jitm-banner__action">';
- html +=
- '<a href="' +
- envelope.url +
- '" target="' +
- ( envelope.CTA.newWindow === false ? '_self' : '_blank' ) +
- '" rel="noopener noreferrer" title="' +
- envelope.CTA.message +
- '" data-module="' +
- envelope.feature_class +
- '" type="button" class="' +
- ctaClasses +
- '" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-' +
- envelope.id +
- '">' +
- envelope.CTA.message +
- '</a>';
- html += '</div>';
- }
- html +=
- '<a href="#" data-module="' +
- envelope.feature_class +
- '" class="jitm-banner__dismiss"></a>';
- html += '</div>';
- html += '</div>';
-
- return $( html );
- },
- };
-
- var setJITMContent = function( $el, response, redirect ) {
- var template;
-
- var render = function( $my_template ) {
- return function( e ) {
- e.preventDefault();
-
- $my_template.hide();
-
- $.ajax( {
- url: window.jitm_config.api_root + 'jetpack/v4/jitm',
- method: 'POST', // using DELETE without permalinks is broken in default nginx configuration
- data: {
- id: response.id,
- feature_class: response.feature_class,
- },
- } );
- };
- };
-
- template = response.template;
-
- // if we don't have a template for this version, just use the default template
- if ( ! template || ! templates[ template ] ) {
- template = 'default';
- }
-
- response.url = response.url + '&redirect=' + redirect;
-
- var $template = templates[ template ]( response );
- $template.find( '.jitm-banner__dismiss' ).click( render( $template ) );
-
- if ( $( '#jp-admin-notices' ).length > 0 ) {
- // Add to Jetpack notices within the Jetpack settings app.
- $el.innerHTML = $template;
-
- // If we already have a message, replace it.
- if ( $( '#jp-admin-notices' ).find( '.jitm-card' ) ) {
- $( '.jitm-card' ).replaceWith( $template );
- }
-
- // No existing JITM? Add ours to the top of the Jetpack admin notices.
- $template.prependTo( $( '#jp-admin-notices' ) );
- } else {
- // Replace placeholder div on other pages.
- $el.replaceWith( $template );
- }
-
- // Handle Module activation button if it exists.
- $template.find( '#jitm-banner__activate a' ).click( function() {
- var $activate_button = $( this );
-
- // Do not allow any requests if the button is disabled.
- if ( $activate_button.attr( 'disabled' ) ) {
- return false;
- }
-
- // Make request to activate module.
- $.ajax( {
- url:
- window.jitm_config.api_root +
- 'jetpack/v4/module/' +
- $activate_button.data( 'module' ) +
- '/active',
- method: 'POST',
- beforeSend: function( xhr ) {
- xhr.setRequestHeader( 'X-WP-Nonce', $el.data( 'nonce' ) );
-
- // Change the button status to disabled as the change is in progress.
- $( '#jitm-banner__activate a' ).text( window.jitm_config.activating_module_text );
- $( '#jitm-banner__activate a' ).attr( 'disabled', true );
- },
- } ).done( function() {
- $( '#jitm-banner__activate a' ).text( window.jitm_config.activated_module_text );
- $( '#jitm-banner__activate a' ).attr( 'disabled', true );
-
- // Hide the JITM after 2 seconds.
- setTimeout( function() {
- $template.fadeOut( 'slow' );
- }, 2000 );
- } );
- } );
- };
-
- var reFetch = function() {
- $( '.jetpack-jitm-message' ).each( function() {
- var $el = $( this );
-
- var message_path = $el.data( 'message-path' );
- var query = $el.data( 'query' );
- var redirect = $el.data( 'redirect' );
- var hash = location.hash;
-
- hash = hash.replace( /#\//, '_' );
- if ( '_dashboard' !== hash ) {
- message_path = message_path.replace(
- 'toplevel_page_jetpack',
- 'toplevel_page_jetpack' + hash
- );
- }
-
- $.get( window.jitm_config.api_root + 'jetpack/v4/jitm', {
- message_path: message_path,
- query: query,
- _wpnonce: $el.data( 'nonce' ),
- } ).then( function( response ) {
- if ( 'object' === typeof response && response[ '1' ] ) {
- response = [ response[ '1' ] ];
- }
-
- // properly handle the case of an empty array or no content set
- if ( 0 === response.length || ! response[ 0 ].content ) {
- return;
- }
-
- // for now, always take the first response
- setJITMContent( $el, response[ 0 ], redirect );
- } );
- } );
- };
-
- reFetch();
-
- $( window ).bind( 'hashchange', function( e ) {
- var newURL = e.originalEvent.newURL;
-
- if ( newURL.indexOf( 'jetpack#/' ) >= 0 ) {
- var jitm_card = document.querySelector( '.jitm-card' );
- if ( jitm_card ) {
- jitm_card.remove();
- }
- reFetch();
- }
- } );
-} );
diff --git a/plugins/jetpack/_inc/jetpack-strings.php b/plugins/jetpack/_inc/jetpack-strings.php
deleted file mode 100644
index 6d7669fc..00000000
--- a/plugins/jetpack/_inc/jetpack-strings.php
+++ /dev/null
@@ -1,783 +0,0 @@
-<?php
-/* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */
-$jetpack_strings = array(
-_x( "At A Glance", "Navigation item.", "jetpack" ), // _inc/client/admin.js:74
-__( "At A Glance", "jetpack" ), // _inc/client/admin.js:77
-_x( "My Plan", "Navigation item.", "jetpack" ), // _inc/client/admin.js:80
-_x( "Plans", "Navigation item.", "jetpack" ), // _inc/client/admin.js:85
-_x( "Plans", "Navigation item.", "jetpack" ), // _inc/client/admin.js:90
-_x( "Settings", "Navigation item.", "jetpack" ), // _inc/client/admin.js:95
-_x( "Discussion", "Navigation item.", "jetpack" ), // _inc/client/admin.js:100
-_x( "Security", "Navigation item.", "jetpack" ), // _inc/client/admin.js:105
-_x( "Performance", "Navigation item.", "jetpack" ), // _inc/client/admin.js:110
-_x( "Traffic", "Navigation item.", "jetpack" ), // _inc/client/admin.js:115
-_x( "Writing", "Navigation item.", "jetpack" ), // _inc/client/admin.js:120
-_x( "Sharing", "Navigation item.", "jetpack" ), // _inc/client/admin.js:125
-__( "View your setup checklist", "jetpack" ), // _inc/client/my-plan/my-plan-header/checklist-cta.js:20
-__( "Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:50
-__( "Jetpack Free", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:64
-__( "Daily backups, spam filtering, and priority support.", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:72
-__( "Spam filtering and priority support.", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:73
-__( "Jetpack Personal", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:74
-__( "Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:81
-__( "Jetpack Premium", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:84
-__( "Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:91
-__( "Jetpack Professional", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:94
-__( "Your data is being securely backed up every day with a 30-day archive.", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:101
-__( "Jetpack Backup {{em}}Daily{{/em}}", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:102
-__( "Your data is being securely backed up as you edit.", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:113
-__( "Jetpack Backup {{em}}Real-Time{{/em}}", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:114
-__( "My Plan", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:134
-__( "My Products", "jetpack" ), // _inc/client/my-plan/my-plan-header/index.js:150
-__( "Testing Jetpack Connection", "jetpack" ), // _inc/client/state/connection/actions.js:42
-__( "There was an error testing Jetpack. Error: %(error)s", "jetpack" ), // _inc/client/state/connection/actions.js:67
-__( "Disconnecting Jetpack", "jetpack" ), // _inc/client/state/connection/actions.js:129
-__( "There was an error disconnecting Jetpack. Error: %(error)s", "jetpack" ), // _inc/client/state/connection/actions.js:155
-__( "Unlinking from WordPress.com", "jetpack" ), // _inc/client/state/connection/actions.js:173
-__( "Unlinked from WordPress.com.", "jetpack" ), // _inc/client/state/connection/actions.js:184
-__( "Error unlinking from WordPress.com. %(error)s", "jetpack" ), // _inc/client/state/connection/actions.js:199
-__( "Resetting Jetpack options…", "jetpack" ), // _inc/client/state/dev-version/actions.js:29
-__( "Options reset.", "jetpack" ), // _inc/client/state/dev-version/actions.js:39
-__( "Options failed to reset.", "jetpack" ), // _inc/client/state/dev-version/actions.js:52
-__( "Sending login email…", "jetpack" ), // _inc/client/state/mobile/actions.js:22
-__( "Login email sent", "jetpack" ), // _inc/client/state/mobile/actions.js:34
-__( "Failed to send login email", "jetpack" ), // _inc/client/state/mobile/actions.js:49
-__( "Activating %(slug)s…", "jetpack" ), // _inc/client/state/modules/actions.js:87
-__( "%(slug)s has been activated.", "jetpack" ), // _inc/client/state/modules/actions.js:107
-__( "%(slug)s failed to activate. %(error)s", "jetpack" ), // _inc/client/state/modules/actions.js:130
-__( "Deactivating %(slug)s…", "jetpack" ), // _inc/client/state/modules/actions.js:153
-__( "%(slug)s has been deactivated.", "jetpack" ), // _inc/client/state/modules/actions.js:173
-__( "%(slug)s failed to deactivate. %(error)s", "jetpack" ), // _inc/client/state/modules/actions.js:196
-__( "Updating %(slug)s settings…", "jetpack" ), // _inc/client/state/modules/actions.js:222
-__( "Updated %(slug)s settings.", "jetpack" ), // _inc/client/state/modules/actions.js:244
-__( "Error updating %(slug)s settings. %(error)s", "jetpack" ), // _inc/client/state/modules/actions.js:265
-__( "Updating %(slug)s address…", "jetpack" ), // _inc/client/state/modules/actions.js:294
-__( "Regenerated %(slug)s address .", "jetpack" ), // _inc/client/state/modules/actions.js:318
-__( "Error regenerating %(slug)s address. %(error)s", "jetpack" ), // _inc/client/state/modules/actions.js:339
-__( "Updating settings…", "jetpack" ), // _inc/client/state/settings/actions.js:91
-__( "Updated settings.", "jetpack" ), // _inc/client/state/settings/actions.js:92
-__( "Error updating settings. %(error)s", "jetpack" ), // _inc/client/state/settings/actions.js:97
-__( "Updated settings. Refreshing page…", "jetpack" ), // _inc/client/state/settings/actions.js:112
-__( "Site is verified", "jetpack" ), // _inc/client/state/site-verify/actions.js:89
-__( "Updating privacy settings…", "jetpack" ), // _inc/client/state/tracking/actions.js:46
-__( "Updated privacy settings.", "jetpack" ), // _inc/client/state/tracking/actions.js:47
-__( "Error updating privacy settings. %(error)s", "jetpack" ), // _inc/client/state/tracking/actions.js:52
-/* translators: Onboarding task list progress */
-__( "Your Jetpack setup progress", "jetpack" ), // _inc/client/my-plan/my-plan-header/checklist-progress-card/index.js:40
-/* translators: Text on link to list of onboarding tasks */
-__( "Complete Jetpack Setup", "jetpack" ), // _inc/client/my-plan/my-plan-header/checklist-progress-card/index.js:55
-__( "There are unsaved settings in this tab that will be lost if you leave it. Proceed?", "jetpack" ), // _inc/client/main.jsx:89
-__( "There are unsaved settings in this tab that will be lost if you leave it. Proceed?", "jetpack" ), // _inc/client/main.jsx:108
-__( "Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.", "jetpack" ), // _inc/client/at-a-glance/activity.jsx:51
-__( "Activity", "jetpack" ), // _inc/client/at-a-glance/activity.jsx:58
-__( "Unavailable in Dev Mode.", "jetpack" ), // _inc/client/at-a-glance/activity.jsx:66
-__( "View site activity", "jetpack" ), // _inc/client/at-a-glance/activity.jsx:75
-__( "Anti-spam", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:63
-__( "Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:68
-__( "Already have a key? {{a}}Activate Akismet{{/a}}", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:76
-__( "Upgrade", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:84
-__( "Automatically clear spam from your comments and forms so you can get back to your business.", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:85
-__( "Loading…", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:102
-__( "Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:161
-_x( "Spam comments blocked.", "Example: \"412 Spam comments blocked\"", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:179
-__( "Moderate comments", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:191
-__( "Backup", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:32
-__( "Jetpack Backups allow you to easily restore or download a backup from a specific moment.", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:35
-__( "{{a}}View backup details{{/a}}.", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:90
-__( "To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:112
-__( "Upgrade", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:134
-__( "Never worry about losing your site – automatic backups keep your content safe.", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:135
-__( "Loading…", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:152
-__( "We are configuring your site's backups.", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:175
-__( "You need to enter your server's credentials to finish the setup.", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:182
-__( "Enter credentials", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:186
-__( "We are backing up your site in real-time.", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:193
-__( "View your site's backups", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:196
-__( "Unavailable in Dev Mode.", "jetpack" ), // _inc/client/at-a-glance/backups.jsx:216
-__( "Your site is in Development Mode, so it can not be connected to WordPress.com.", "jetpack" ), // _inc/client/at-a-glance/connections.jsx:53
-__( "Your site is connected to WordPress.com.", "jetpack" ), // _inc/client/at-a-glance/connections.jsx:75
-__( "You are the Jetpack owner.", "jetpack" ), // _inc/client/at-a-glance/connections.jsx:79
-__( "The site is in Development Mode, so you can not connect to WordPress.com.", "jetpack" ), // _inc/client/at-a-glance/connections.jsx:121
-/* translators: %(username) is the WordPress user login name. */
-__( "Connected as {{span}}%(username)s{{/span}}", "jetpack" ), // _inc/client/at-a-glance/connections.jsx:137
-__( "Link your account to WordPress.com to get the most out of Jetpack.", "jetpack" ), // _inc/client/at-a-glance/connections.jsx:155
-_x( "Site connection", "Dashboard widget header", "jetpack" ), // _inc/client/at-a-glance/connections.jsx:174
-_x( "Account connection", "Dashboard widget header", "jetpack" ), // _inc/client/at-a-glance/connections.jsx:184
-__( "Security", "jetpack" ), // _inc/client/at-a-glance/index.jsx:59
-__( "Manage security settings", "jetpack" ), // _inc/client/at-a-glance/index.jsx:64
-__( "Connections", "jetpack" ), // _inc/client/at-a-glance/index.jsx:73
-__( "Performance", "jetpack" ), // _inc/client/at-a-glance/index.jsx:127
-__( "Downtime monitor", "jetpack" ), // _inc/client/at-a-glance/monitor.jsx:33
-__( "Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.", "jetpack" ), // _inc/client/at-a-glance/monitor.jsx:36
-__( "Jetpack is monitoring your site. If we think your site is down, you will receive an email.", "jetpack" ), // _inc/client/at-a-glance/monitor.jsx:46
-__( "Unavailable in Dev Mode.", "jetpack" ), // _inc/client/at-a-glance/monitor.jsx:63
-__( "{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.", "jetpack" ), // _inc/client/at-a-glance/monitor.jsx:64
-__( "Image Accelerator", "jetpack" ), // _inc/client/at-a-glance/photon.jsx:25
-__( "Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.", "jetpack" ), // _inc/client/at-a-glance/photon.jsx:28
-__( "Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.", "jetpack" ), // _inc/client/at-a-glance/photon.jsx:38
-__( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/at-a-glance/photon.jsx:55
-__( "{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.", "jetpack" ), // _inc/client/at-a-glance/photon.jsx:56
-__( "Plugin Updates", "jetpack" ), // _inc/client/at-a-glance/plugins.jsx:39
-__( "Jetpack’s Plugin Updates allows you to choose which plugins update automatically.", "jetpack" ), // _inc/client/at-a-glance/plugins.jsx:43
-__( "Loading…", "jetpack" ), // _inc/client/at-a-glance/plugins.jsx:53
-_n( "%(number)s", "%(number)s", 1, "jetpack" ), // _inc/client/at-a-glance/plugins.jsx:72
-_n( "Plugin needs updating.", "Plugins need updating.", 1, "jetpack" ), // _inc/client/at-a-glance/plugins.jsx:81
-__( "{{a}}Turn on plugin autoupdates.{{/a}}", "jetpack" ), // _inc/client/at-a-glance/plugins.jsx:85
-__( "All plugins are up-to-date. Awesome work!", "jetpack" ), // _inc/client/at-a-glance/plugins.jsx:89
-__( "Manage your plugins", "jetpack" ), // _inc/client/at-a-glance/plugins.jsx:101
-__( "Protect", "jetpack" ), // _inc/client/at-a-glance/protect.jsx:28
-__( "Protects your site from traditional and distributed brute force login attacks.", "jetpack" ), // _inc/client/at-a-glance/protect.jsx:30
-__( "Jetpack is actively blocking malicious login attempts. Data will display here soon!", "jetpack" ), // _inc/client/at-a-glance/protect.jsx:49
-__( "Total malicious attacks blocked on your site.", "jetpack" ), // _inc/client/at-a-glance/protect.jsx:61
-__( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/at-a-glance/protect.jsx:76
-__( "{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.", "jetpack" ), // _inc/client/at-a-glance/protect.jsx:77
-__( "Scan", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:32
-__( "Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:35
-__( "Loading…", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:89
-_n( "Uh oh, %(number)s threat found.", "Uh oh, %(number)s threats found.", 1, "jetpack" ), // _inc/client/at-a-glance/scan.jsx:100
-__( "{{a}}View details at VaultPress.com{{/a}}", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:106
-__( "{{a}}Contact Support{{/a}}", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:110
-__( "No threats found, you're good to go!", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:122
-__( "Loading…", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:131
-__( "For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:144
-__( "Upgrade", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:174
-__( "Find threats early so we can help fix them fast.", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:175
-__( "We are configuring your site protection.", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:205
-__( "You need to enter your server's credentials to finish the setup.", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:212
-__( "Enter credentials", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:216
-__( "We are making sure your site stays free of security threats. You will be notified if we find one.", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:224
-__( "View security scan details", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:232
-__( "Unavailable in Dev Mode.", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:256
-__( "Jetpack Search", "jetpack" ), // _inc/client/at-a-glance/search.jsx:31
-__( "Jetpack Search is a powerful replacement for the search capability built into WordPress.", "jetpack" ), // _inc/client/at-a-glance/search.jsx:34
-__( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/at-a-glance/search.jsx:80
-__( "Upgrade", "jetpack" ), // _inc/client/at-a-glance/search.jsx:91
-__( "Replace your site's basic search with customizable search that helps visitors find answers faster.", "jetpack" ), // _inc/client/at-a-glance/search.jsx:92
-__( "Jetpack Search", "jetpack" ), // _inc/client/at-a-glance/search.jsx:110
-__( "Jetpack Search is a powerful replacement for the search capability built into WordPress.", "jetpack" ), // _inc/client/at-a-glance/search.jsx:113
-__( "Jetpack Search is powering search on your site.", "jetpack" ), // _inc/client/at-a-glance/search.jsx:123
-__( "Add Search (Jetpack) Widget", "jetpack" ), // _inc/client/at-a-glance/search.jsx:131
-__( "{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.", "jetpack" ), // _inc/client/at-a-glance/search.jsx:140
-__( "Comments", "jetpack" ), // _inc/client/discussion/comments.jsx:70
-__( "Replaces the standard WordPress comment form with a new comment system that includes social media login options.", "jetpack" ), // _inc/client/discussion/comments.jsx:83
-__( "Comment form introduction", "jetpack" ), // _inc/client/discussion/comments.jsx:102
-__( "A few catchy words to motivate your visitors to comment.", "jetpack" ), // _inc/client/discussion/comments.jsx:115
-__( "Color scheme", "jetpack" ), // _inc/client/discussion/comments.jsx:118
-__( "Show Gravatar hovercards alongside comments.", "jetpack" ), // _inc/client/discussion/comments.jsx:154
-__( "Enable Markdown use for comments.", "jetpack" ), // _inc/client/discussion/comments.jsx:183
-__( "Allow readers to use markdown in comments.", "jetpack" ), // _inc/client/discussion/comments.jsx:188
-__( "Enable comment likes.", "jetpack" ), // _inc/client/discussion/comments.jsx:206
-__( "Allow readers to like individual comments.", "jetpack" ), // _inc/client/discussion/comments.jsx:211
-__( "Discussion", "jetpack" ), // _inc/client/discussion/index.jsx:62
-__( "Manage advanced comment settings and grow your audience with email subscriptions.", "jetpack" ), // _inc/client/discussion/index.jsx:63
-__( "View your Email Followers", "jetpack" ), // _inc/client/discussion/subscriptions.jsx:73
-__( "Create a Jetpack account to view your email followers", "jetpack" ), // _inc/client/discussion/subscriptions.jsx:81
-__( "Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.", "jetpack" ), // _inc/client/discussion/subscriptions.jsx:93
-__( "Enable the “subscribe to site” option on your comment form", "jetpack" ), // _inc/client/discussion/subscriptions.jsx:121
-__( "Enable the “subscribe to comments” option on your comment form", "jetpack" ), // _inc/client/discussion/subscriptions.jsx:134
-__( "A Jetpack Site securely backed up with Jetpack Backup", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:106
-__( "View Your Backups", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:116
-__( "A secure site, locked and protected by Jetpack", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:135
-__( "Site Backups", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:139
-__( "Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:141
-__( "View your security activity", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:149
-__( "Daily backup of all your site data with unlimited space and one-click restores", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:159
-__( "Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:164
-__( "Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:169
-__( "A secure site, locked and protected by Jetpack", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:184
-__( "Site Security", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:188
-__( " (powered by VaultPress).", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:189
-__( "View your security dashboard", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:196
-__( "View settings", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:207
-__( "Automated Daily Backups", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:218
-__( "We back up your website every day, so you never have to worry about your data again.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:219
-__( "Automated Real-time Backups", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:227
-__( "We back up your website with every change you make, making it easy to fix your mistakes.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:228
-__( "A fast and performant website", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:251
-__( "Optimized performance", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:256
-__( "Load pages faster by serving your images from our global network of servers.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:259
-__( "Make your site faster", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:267
-__( "A folder holding real comments", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:277
-__( "Anti-spam", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:281
-__( "Spam is automatically blocked from your comments.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:282
-__( "View your spam stats", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:289
-__( "View settings", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:300
-__( "A cloud with multiple types of content floating around it", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:313
-__( "Video Hosting", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:317
-__( "High-speed, high-definition video hosting with no third-party ads.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:319
-__( "Upload videos", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:326
-__( "Activate video hosting", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:333
-__( "Interface showing a chronological list of changes and updates in a site", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:345
-__( "Activity", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:351
-__( "View a chronological list of all the changes and updates to your site in an organized, readable way.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:353
-__( "View your site activity", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:361
-__( "A chart showing an healthy increase in earnings", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:373
-__( "Monetize your site with ads", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:378
-__( "WordAds lets you earn money by displaying promotional content. Start earning today.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:381
-__( "View your earnings", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:390
-__( "Start earning", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:397
-__( "A hand holding a loupe", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:412
-__( "Jetpack Search", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:416
-__( "Replace the default WordPress search with better results and filtering powered by Elasticsearch.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:418
-__( "Customize Search Widget", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:427
-__( "Activate Jetpack Search", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:434
-__( "Site stats showing an evolution in traffic and engagement", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:448
-__( "SEO Tools", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:452
-__( "Advanced SEO tools to help your site get found when people search for relevant content.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:454
-__( "Configure site SEO", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:463
-__( "Activate SEO tools", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:470
-__( "Site stats showing an evolution in traffic and engagement", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:484
-__( "Google Analytics", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:489
-__( "Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:492
-__( "Configure Google Analytics", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:501
-__( "Activate Google Analytics", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:508
-__( "A secure site, locked and protected by Jetpack", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:521
-__( "Try a premium theme", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:526
-__( "Access hundreds of beautifully designed premium themes at no extra cost.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:529
-__( "Browse premium themes", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:537
-__( "A secure site, locked and protected by Jetpack", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:550
-__( "Marketing Automation", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:555
-__( "Schedule unlimited tweets, Facebook posts, and other social posts in advance.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:558
-__( "Schedule posts", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:567
-__( "Activate Publicize", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:574
-__( "A secure site, locked and protected by Jetpack", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:596
-__( "Always-on security", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:600
-__( "Prevent login attacks, and get instant notifications when there’s an issue with your site.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:602
-__( "Set up your site security", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:610
-__( "A fast and performant website", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:620
-__( "Optimized performance", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:625
-__( "Load pages faster by serving your images from our global network of servers.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:628
-__( "Make your site faster", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:636
-__( "A wide variety of themes and tools to customize a site", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:646
-__( "Design the perfect website", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:651
-__( "Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:654
-__( "Explore free themes", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:662
-__( "Site stats showing an evolution in traffic and engagement", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:672
-__( "Increase traffic to your site", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:677
-__( "Reach a wider audience by automatically sharing your posts on social media.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:680
-__( "Start sharing", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:688
-__( "Interface showing a chronological list of changes and updates in a site", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:698
-__( "Site activity", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:704
-__( "View a chronological list of all the changes and updates to your site in an organized, readable way.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:706
-__( "View your site activity", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:714
-__( "Chat bubbles representing getting in touch with support", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:724
-__( "Support documentation", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:729
-__( "Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:732
-__( "Search support docs", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:740
-__( "Take your site to the next level!", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:748
-__( "Expand your audience with pro SEO tools.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:751
-__( "Customize your social posting schedule.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:752
-__( "Monetize your site by running high quality ads.", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:753
-__( "Upgrade Jetpack now", "jetpack" ), // _inc/client/my-plan/my-plan-body.jsx:760
-_n( "Please correct the issue below and try again.", "Please correct the issues listed below and try again.", 1, "jetpack" ), // _inc/client/notices/validation-error-list.jsx:21
-__( "Performance", "jetpack" ), // _inc/client/performance/index.jsx:50
-__( "Load pages faster, optimize images, and speed up your visitors’ experience.", "jetpack" ), // _inc/client/performance/index.jsx:51
-__( "Video", "jetpack" ), // _inc/client/performance/media.jsx:42
-__( "Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!", "jetpack" ), // _inc/client/performance/media.jsx:45
-__( "Enable high-speed, ad-free video player", "jetpack" ), // _inc/client/performance/media.jsx:59
-__( "Media", "jetpack" ), // _inc/client/performance/media.jsx:70
-__( "Jetpack Search supports many customizations.", "jetpack" ), // _inc/client/performance/search.jsx:32
-__( "The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.", "jetpack" ), // _inc/client/performance/search.jsx:37
-__( "Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.", "jetpack" ), // _inc/client/performance/search.jsx:42
-__( "Replace WordPress built-in search with Jetpack Search, an advanced search experience", "jetpack" ), // _inc/client/performance/search.jsx:54
-__( "Add the Jetpack Search widget to your sidebar to configure sorting and filters.", "jetpack" ), // _inc/client/performance/search.jsx:62
-__( "Add Jetpack Search Widget", "jetpack" ), // _inc/client/performance/search.jsx:75
-__( "Disabling site accelerator…", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:59
-__( "Site accelerator is no longer speeding up your site!", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:60
-__( "Error disabling site accelerator. %(error)s", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:62
-__( "Enabling Site accelerator…", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:84
-__( "Site accelerator is now speeding up your site!", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:85
-__( "Error enabling Site accelerator. %(error)s", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:87
-__( "Performance & speed", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:221
-__( "Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:230
-__( "Enable site accelerator", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:243
-__( "Speed up image load times", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:257
-__( "Speed up static file load times", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:269
-__( "Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:286
-__( "Enable Lazy Loading for images", "jetpack" ), // _inc/client/performance/speed-up-site.jsx:300
-__( "You’re currently on Jetpack %(plan)s.", "jetpack" ), // _inc/client/plans/plan-grid.jsx:98
-__( "Your Plan", "jetpack" ), // _inc/client/plans/plan-grid.jsx:106
-__( "Manage your plan", "jetpack" ), // _inc/client/plans/plan-grid.jsx:108
-__( "View all Jetpack plans", "jetpack" ), // _inc/client/plans/plan-grid.jsx:110
-__( "Monthly", "jetpack" ), // _inc/client/plans/plan-grid.jsx:119
-__( "Yearly", "jetpack" ), // _inc/client/plans/plan-grid.jsx:120
-__( "Jetpack Backup {{em}}Daily{{/em}}", "jetpack" ), // _inc/client/plans/product-selector.jsx:38
-__( "Jetpack Backup {{em}}Real-Time{{/em}}", "jetpack" ), // _inc/client/plans/product-selector.jsx:44
-__( "Always-on backups ensure you never lose your site.", "jetpack" ), // _inc/client/plans/product-selector.jsx:58
-__( "Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.", "jetpack" ), // _inc/client/plans/product-selector.jsx:59
-__( "Included in your {{planLink}}Personal Plan{{/planLink}}", "jetpack" ), // _inc/client/plans/product-selector.jsx:92
-__( "Included in your {{planLink}}Premium Plan{{/planLink}}", "jetpack" ), // _inc/client/plans/product-selector.jsx:103
-__( "Included in your {{planLink}}Professional Plan{{/planLink}}", "jetpack" ), // _inc/client/plans/product-selector.jsx:114
-__( "Solutions", "jetpack" ), // _inc/client/plans/product-selector.jsx:168
-__( "Just looking for backups? We've got you covered.", "jetpack" ), // _inc/client/plans/product-selector.jsx:170
-__( "Which backup option is best for me?", "jetpack" ), // _inc/client/plans/product-selector.jsx:181
-/* translators: Duration of product subscription timeframe. */
-__( "per year", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:40
-/* translators: Duration of product subscription timeframe. */
-__( "per month", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:46
-__( "Up to %(percent)d%% off!", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:60
-__( "Hurry, these are {{s}}Limited time introductory prices!{{/s}}", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:63
-__( "Daily Backups", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:92
-__( "Real-Time Backups", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:101
-__( "Jetpack Backup", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:115
-__( "You are saving {{savings /}} by paying yearly", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:207
-/* translators: Button to purchase product upgrade. %(name)s is the product name, {{price /}} can be a range of prices, and %(billingTimeFrame)s is the billing period for the product upgrade. */
-__( "Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:227
-__( "Always-on backups ensure you never lose your site.", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:267
-__( "Select a backup option:", "jetpack" ), // _inc/client/plans/single-product-backup.jsx:270
-__( "Explore our Jetpack plans", "jetpack" ), // _inc/client/plans-prompt/index.jsx:30
-__( "Now that you're set up, pick a plan that fits your needs.", "jetpack" ), // _inc/client/plans-prompt/index.jsx:32
-__( "Start with free", "jetpack" ), // _inc/client/plans-prompt/index.jsx:48
-_x( "privacy", "Search term.", "jetpack" ), // _inc/client/privacy/index.jsx:68
-_x( "tracks", "Search term.", "jetpack" ), // _inc/client/privacy/index.jsx:69
-_x( "data", "Search term.", "jetpack" ), // _inc/client/privacy/index.jsx:70
-_x( "gdpr", "Search term.", "jetpack" ), // _inc/client/privacy/index.jsx:71
-_x( "tos", "Search term.", "jetpack" ), // _inc/client/privacy/index.jsx:72
-_x( "terms of service", "Search term.", "jetpack" ), // _inc/client/privacy/index.jsx:73
-_x( "Privacy Settings", "Settings header", "jetpack" ), // _inc/client/privacy/index.jsx:105
-__( "We are committed to your privacy and security. ", "jetpack" ), // _inc/client/privacy/index.jsx:109
-__( "Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.", "jetpack" ), // _inc/client/privacy/index.jsx:120
-__( "This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.", "jetpack" ), // _inc/client/privacy/index.jsx:139
-__( "We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.", "jetpack" ), // _inc/client/privacy/index.jsx:156
-__( "For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.", "jetpack" ), // _inc/client/privacy/index.jsx:174
-__( "Setting up", "jetpack" ), // _inc/client/pro-status/index.jsx:78
-__( "Action needed", "jetpack" ), // _inc/client/pro-status/index.jsx:83
-__( "Connected", "jetpack" ), // _inc/client/pro-status/index.jsx:88
-_x( "Threats", "A caption for a small button to fix security issues.", "jetpack" ), // _inc/client/pro-status/index.jsx:104
-_x( "Threats found!", "Short warning message about new threats found.", "jetpack" ), // _inc/client/pro-status/index.jsx:108
-_x( "FIX", "A caption for a small button to fix security issues.", "jetpack" ), // _inc/client/pro-status/index.jsx:111
-_x( "Secure", "Short message informing user that the site is secure.", "jetpack" ), // _inc/client/pro-status/index.jsx:121
-__( "ACTIVE", "jetpack" ), // _inc/client/pro-status/index.jsx:135
-_x( "Set up", "Caption for a button to set up a feature.", "jetpack" ), // _inc/client/pro-status/index.jsx:168
-__( "Activate", "jetpack" ), // _inc/client/searchable-modules/index.jsx:61
-__( "Checking your spam protection…", "jetpack" ), // _inc/client/security/antispam.jsx:88
-__( "Fetching key…", "jetpack" ), // _inc/client/security/antispam.jsx:92
-__( "Your site needs an Antispam key.", "jetpack" ), // _inc/client/security/antispam.jsx:97
-__( "There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.", "jetpack" ), // _inc/client/security/antispam.jsx:103
-__( "Your site is not protected from spam.", "jetpack" ), // _inc/client/security/antispam.jsx:111
-__( "Your Antispam key is valid.", "jetpack" ), // _inc/client/security/antispam.jsx:113
-__( "Your site is protected from spam.", "jetpack" ), // _inc/client/security/antispam.jsx:115
-__( "Checking key…", "jetpack" ), // _inc/client/security/antispam.jsx:123
-_x( "Anti-spam", "Settings header", "jetpack" ), // _inc/client/security/antispam.jsx:133
-__( "Removes spam from comments and contact forms.", "jetpack" ), // _inc/client/security/antispam.jsx:140
-__( "Your API key", "jetpack" ), // _inc/client/security/antispam.jsx:146
-__( "If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.", "jetpack" ), // _inc/client/security/antispam.jsx:152
-_x( "Backups and security scanning", "Settings header", "jetpack" ), // _inc/client/security/backups-scan.jsx:29
-__( "Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.", "jetpack" ), // _inc/client/security/backups-scan.jsx:37
-__( "Checking site status…", "jetpack" ), // _inc/client/security/backups-scan.jsx:44
-__( "Provisioning", "jetpack" ), // _inc/client/security/backups-scan.jsx:70
-__( "Backups and Scan are being configured for your site.", "jetpack" ), // _inc/client/security/backups-scan.jsx:72
-__( "Awaiting credentials", "jetpack" ), // _inc/client/security/backups-scan.jsx:77
-__( "You need to enter your server credentials to finish configuring Backups and Scan.", "jetpack" ), // _inc/client/security/backups-scan.jsx:79
-__( "Active", "jetpack" ), // _inc/client/security/backups-scan.jsx:86
-__( "Your site is being backed up in real time and regularly scanned for security threats.", "jetpack" ), // _inc/client/security/backups-scan.jsx:88
-__( "Unavailable in Dev Mode.", "jetpack" ), // _inc/client/security/backups-scan.jsx:98
-_x( "Backups and security scanning", "Settings header", "jetpack" ), // _inc/client/security/backups-scan.jsx:120
-__( "Unavailable in Dev Mode.", "jetpack" ), // _inc/client/security/backups-scan.jsx:151
-_n( "Uh oh, %(number)s threat found.", "Uh oh, %(number)s threats found.", 1, "jetpack" ), // _inc/client/security/backups-scan.jsx:162
-__( "{{a}}View details{{/a}}", "jetpack" ), // _inc/client/security/backups-scan.jsx:171
-__( "{{a}}Contact Support{{/a}}", "jetpack" ), // _inc/client/security/backups-scan.jsx:175
-__( "Your site is backed up and threat-free.", "jetpack" ), // _inc/client/security/backups-scan.jsx:181
-__( "Your site is backed up.", "jetpack" ), // _inc/client/security/backups-scan.jsx:193
-__( "You have paid for backups but they're not yet active.", "jetpack" ), // _inc/client/security/backups-scan.jsx:199
-__( "Click \"Set Up\" to finish installation.", "jetpack" ), // _inc/client/security/backups-scan.jsx:200
-__( "You have paid for backups and security scanning but they’re not yet active.", "jetpack" ), // _inc/client/security/backups-scan.jsx:204
-__( "Click \"Set Up\" to finish installation.", "jetpack" ), // _inc/client/security/backups-scan.jsx:207
-_x( "Backups and security scanning", "Settings header", "jetpack" ), // _inc/client/security/backups-scan.jsx:243
-__( "Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.", "jetpack" ), // _inc/client/security/backups-scan.jsx:251
-__( "Configure your Security Scans", "jetpack" ), // _inc/client/security/backups-scan.jsx:268
-__( "Security", "jetpack" ), // _inc/client/security/index.jsx:115
-__( "Your site is protected by Jetpack. You’ll be notified if anything needs attention.", "jetpack" ), // _inc/client/security/index.jsx:116
-__( "Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:33
-__( "Your site is backed up.", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:40
-__( "Provisioning", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:52
-__( "Jetpack Backup is being configured for your site.", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:54
-__( "Awaiting credentials", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:59
-__( "You need to enter your server credentials to finish configuring Jetpack Backup.", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:61
-__( "Active", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:68
-__( "Your site is being backed up.", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:70
-_x( "Jetpack Backup", "Settings header", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:101
-__( "Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:108
-__( "Checking site status…", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:115
-_x( "Jetpack Backup", "Settings header", "jetpack" ), // _inc/client/security/jetpack-backup.jsx:125
-__( "Choose which plugins to auto-update", "jetpack" ), // _inc/client/security/manage-plugins.jsx:45
-_x( "Auto-update plugins", "Settings header", "jetpack" ), // _inc/client/security/manage-plugins.jsx:55
-__( "With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.", "jetpack" ), // _inc/client/security/manage-plugins.jsx:60
-_x( "Downtime monitoring", "Settings header", "jetpack" ), // _inc/client/security/monitor.jsx:31
-__( "Jetpack will continuously monitor your site, and alert you the moment downtime is detected.", "jetpack" ), // _inc/client/security/monitor.jsx:38
-__( "Get alerts if your site goes offline. We’ll let you know when it’s back up, too.", "jetpack" ), // _inc/client/security/monitor.jsx:52
-__( "Configure your notification settings", "jetpack" ), // _inc/client/security/monitor.jsx:66
-_x( "Brute force attack protection", "Settings header", "jetpack" ), // _inc/client/security/protect.jsx:96
-__( "Protects your site from traditional and distributed brute force login attacks.", "jetpack" ), // _inc/client/security/protect.jsx:109
-__( "Your current IP: %(ip)s", "jetpack" ), // _inc/client/security/protect.jsx:119
-__( "Add to whitelist", "jetpack" ), // _inc/client/security/protect.jsx:134
-__( "Whitelisted IP addresses", "jetpack" ), // _inc/client/security/protect.jsx:140
-__( "You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100", "jetpack" ), // _inc/client/security/protect.jsx:157
-_x( "WordPress.com login", "Settings header, noun.", "jetpack" ), // _inc/client/security/sso.jsx:62
-__( "Allows registered users to log in to your site with their WordPress.com accounts.", "jetpack" ), // _inc/client/security/sso.jsx:69
-__( "Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.", "jetpack" ), // _inc/client/security/sso.jsx:76
-__( "Match accounts using email addresses", "jetpack" ), // _inc/client/security/sso.jsx:104
-__( "Require accounts to use WordPress.com Two-Step Authentication", "jetpack" ), // _inc/client/security/sso.jsx:117
-__( "No search results found for %(term)s", "jetpack" ), // _inc/client/settings/index.jsx:37
-__( "Enter a search term to find settings or close search.", "jetpack" ), // _inc/client/settings/index.jsx:42
-__( "Sharing", "jetpack" ), // _inc/client/sharing/index.jsx:59
-__( "Share your content to social media, reaching new audiences and increasing engagement.", "jetpack" ), // _inc/client/sharing/index.jsx:60
-_x( "Like buttons", "Settings header", "jetpack" ), // _inc/client/sharing/likes.jsx:24
-__( "Adds like buttons to your content so that visitors can show their appreciation or enjoyment.", "jetpack" ), // _inc/client/sharing/likes.jsx:32
-__( "When visitors enjoy your content, let them show it with a Like.", "jetpack" ), // _inc/client/sharing/likes.jsx:38
-__( "Add Like buttons to your posts and pages", "jetpack" ), // _inc/client/sharing/likes.jsx:46
-__( "Connect your social media accounts", "jetpack" ), // _inc/client/sharing/publicize.jsx:48
-__( "Create a Jetpack account to use this feature", "jetpack" ), // _inc/client/sharing/publicize.jsx:58
-_x( "Publicize connections", "Settings header", "jetpack" ), // _inc/client/sharing/publicize.jsx:70
-__( "Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.", "jetpack" ), // _inc/client/sharing/publicize.jsx:79
-__( "Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.", "jetpack" ), // _inc/client/sharing/publicize.jsx:87
-__( "Automatically share your posts to social networks", "jetpack" ), // _inc/client/sharing/publicize.jsx:100
-__( "Configure your sharing buttons", "jetpack" ), // _inc/client/sharing/share-buttons.jsx:42
-__( "Configure your sharing buttons", "jetpack" ), // _inc/client/sharing/share-buttons.jsx:57
-__( "Create a Jetpack account to use this feature", "jetpack" ), // _inc/client/sharing/share-buttons.jsx:70
-_x( "Sharing buttons", "Settings header", "jetpack" ), // _inc/client/sharing/share-buttons.jsx:78
-__( "You can customize the sharing buttons and choose which services to display.", "jetpack" ), // _inc/client/sharing/share-buttons.jsx:86
-__( "Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.", "jetpack" ), // _inc/client/sharing/share-buttons.jsx:93
-__( "Add sharing buttons to your posts and pages", "jetpack" ), // _inc/client/sharing/share-buttons.jsx:103
-_x( "Ads", "Ads header", "jetpack" ), // _inc/client/traffic/ads.jsx:67
-__( "Displays high-quality ads on your site that allow you to earn income.", "jetpack" ), // _inc/client/traffic/ads.jsx:76
-__( "Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.", "jetpack" ), // _inc/client/traffic/ads.jsx:81
-__( "By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.", "jetpack" ), // _inc/client/traffic/ads.jsx:86
-__( "Enable ads and display an ad below each post", "jetpack" ), // _inc/client/traffic/ads.jsx:112
-__( "Display ads below posts on", "jetpack" ), // _inc/client/traffic/ads.jsx:116
-__( "Front page", "jetpack" ), // _inc/client/traffic/ads.jsx:126
-__( "Posts", "jetpack" ), // _inc/client/traffic/ads.jsx:137
-__( "Pages", "jetpack" ), // _inc/client/traffic/ads.jsx:148
-__( "Archives", "jetpack" ), // _inc/client/traffic/ads.jsx:159
-__( "Additional ad placements", "jetpack" ), // _inc/client/traffic/ads.jsx:163
-__( "Top of each page", "jetpack" ), // _inc/client/traffic/ads.jsx:173
-__( "Second ad below post", "jetpack" ), // _inc/client/traffic/ads.jsx:184
-__( "You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}", "jetpack" ), // _inc/client/traffic/ads.jsx:188
-__( "Custom ads.txt entries", "jetpack" ), // _inc/client/traffic/ads.jsx:205
-__( "Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.", "jetpack" ), // _inc/client/traffic/ads.jsx:208
-__( "When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.", "jetpack" ), // _inc/client/traffic/ads.jsx:227
-__( "View your earnings", "jetpack" ), // _inc/client/traffic/ads.jsx:251
-_x( "Google Analytics", "Settings header", "jetpack" ), // _inc/client/traffic/google-analytics.jsx:27
-__( "Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.", "jetpack" ), // _inc/client/traffic/google-analytics.jsx:35
-__( "Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.", "jetpack" ), // _inc/client/traffic/google-analytics.jsx:42
-__( "Configure your Google Analytics settings", "jetpack" ), // _inc/client/traffic/google-analytics.jsx:60
-__( "Traffic", "jetpack" ), // _inc/client/traffic/index.jsx:73
-__( "Maximize your site’s visibility in search engines and view traffic stats in real time.", "jetpack" ), // _inc/client/traffic/index.jsx:74
-__( "The feature helps visitors find more of your content by displaying related posts at the bottom of each post.", "jetpack" ), // _inc/client/traffic/related-posts.jsx:66
-__( "Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.", "jetpack" ), // _inc/client/traffic/related-posts.jsx:74
-__( "Show related content after posts", "jetpack" ), // _inc/client/traffic/related-posts.jsx:98
-__( "Highlight related content with a heading", "jetpack" ), // _inc/client/traffic/related-posts.jsx:112
-__( "Show a thumbnail image where available", "jetpack" ), // _inc/client/traffic/related-posts.jsx:125
-_x( "Preview", "A header for a preview area in the configuration screen.", "jetpack" ), // _inc/client/traffic/related-posts.jsx:131
-__( "Related", "jetpack" ), // _inc/client/traffic/related-posts.jsx:137
-__( "Big iPhone/iPad Update Now Available", "jetpack" ), // _inc/client/traffic/related-posts.jsx:142
-/* translators: It refers to the category where a post was found. Used in an example preview. */
-__( "In \"Mobile\"", "jetpack" ), // _inc/client/traffic/related-posts.jsx:143
-__( "The WordPress for Android App Gets a Big Facelift", "jetpack" ), // _inc/client/traffic/related-posts.jsx:150
-/* translators: It refers to the category where a post was found. Used in an example preview. */
-__( "In \"Mobile\"", "jetpack" ), // _inc/client/traffic/related-posts.jsx:151
-__( "Upgrade Focus: VideoPress For Weddings", "jetpack" ), // _inc/client/traffic/related-posts.jsx:158
-/* translators: It refers to the category where a post was found. Used in an example preview. */
-__( "In \"Upgrade\"", "jetpack" ), // _inc/client/traffic/related-posts.jsx:159
-__( "Configure related posts in the Customizer", "jetpack" ), // _inc/client/traffic/related-posts.jsx:190
-_x( "Search engine optimization", "Settings header", "jetpack" ), // _inc/client/traffic/seo.jsx:30
-__( "Allows you to optimize your site and its content for better results in search engines.", "jetpack" ), // _inc/client/traffic/seo.jsx:38
-__( "Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.", "jetpack" ), // _inc/client/traffic/seo.jsx:45
-__( "Customize your SEO settings", "jetpack" ), // _inc/client/traffic/seo.jsx:58
-_x( "WP.me Shortlinks", "Settings header", "jetpack" ), // _inc/client/traffic/shortlinks.jsx:23
-__( "Generate shortened URLs for simpler sharing.", "jetpack" ), // _inc/client/traffic/shortlinks.jsx:42
-__( "Jetpack Stats Icon", "jetpack" ), // _inc/client/traffic/site-stats.jsx:134
-__( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/traffic/site-stats.jsx:140
-__( "{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}", "jetpack" ), // _inc/client/traffic/site-stats.jsx:141
-__( "Activate Site Stats", "jetpack" ), // _inc/client/traffic/site-stats.jsx:160
-_x( "Site stats", "Settings header", "jetpack" ), // _inc/client/traffic/site-stats.jsx:172
-__( "Expand to update settings for how visits are counted and manage who can view this information.", "jetpack" ), // _inc/client/traffic/site-stats.jsx:177
-__( "Displays information on your site activity, including visitors and popular posts or pages.", "jetpack" ), // _inc/client/traffic/site-stats.jsx:189
-__( "Include a small chart in your admin bar with a 48-hour traffic snapshot", "jetpack" ), // _inc/client/traffic/site-stats.jsx:203
-__( "Hide the stats smiley face image", "jetpack" ), // _inc/client/traffic/site-stats.jsx:215
-__( "The image helps collect stats, but should work when hidden.", "jetpack" ), // _inc/client/traffic/site-stats.jsx:218
-__( "Count logged in page views from", "jetpack" ), // _inc/client/traffic/site-stats.jsx:223
-__( "Allow stats reports to be viewed by", "jetpack" ), // _inc/client/traffic/site-stats.jsx:240
-__( "Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.", "jetpack" ), // _inc/client/traffic/sitemaps.jsx:52
-__( "Generate XML sitemaps", "jetpack" ), // _inc/client/traffic/sitemaps.jsx:67
-__( "Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.", "jetpack" ), // _inc/client/traffic/sitemaps.jsx:73
-__( "Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.", "jetpack" ), // _inc/client/traffic/sitemaps.jsx:103
-__( "%(moduleName)s has been disabled by a site administrator.", "jetpack" ), // _inc/client/traffic/verification-services.jsx:69
-__( "Provides the necessary hidden tags needed to verify your WordPress site with various services.", "jetpack" ), // _inc/client/traffic/verification-services.jsx:89
-__( "Verify site ownership with third party services", "jetpack" ), // _inc/client/traffic/verification-services.jsx:103
-__( "Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.", "jetpack" ), // _inc/client/traffic/verification-services.jsx:107
-__( "Bing", "jetpack" ), // _inc/client/traffic/verification-services.jsx:157
-__( "Pinterest", "jetpack" ), // _inc/client/traffic/verification-services.jsx:168
-__( "Yandex", "jetpack" ), // _inc/client/traffic/verification-services.jsx:179
-__( "Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.", "jetpack" ), // _inc/client/writing/composing.jsx:56
-__( "Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.", "jetpack" ), // _inc/client/writing/composing.jsx:80
-__( "LaTeX is a powerful markup language for writing complex mathematical equations and formulas.", "jetpack" ), // _inc/client/writing/composing.jsx:113
-__( "Compose using shortcodes to embed media from popular sites", "jetpack" ), // _inc/client/writing/composing.jsx:149
-_x( "Composing", "Settings header", "jetpack" ), // _inc/client/writing/composing.jsx:159
-__( "This feature has been disabled by a site administrator.", "jetpack" ), // _inc/client/writing/custom-content-types.jsx:67
-__( "Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.", "jetpack" ), // _inc/client/writing/custom-content-types.jsx:78
-__( "Testimonials", "jetpack" ), // _inc/client/writing/custom-content-types.jsx:96
-__( "Testimonials shortcode: [testimonials]", "jetpack" ), // _inc/client/writing/custom-content-types.jsx:100
-__( "Add a testimonial", "jetpack" ), // _inc/client/writing/custom-content-types.jsx:109
-__( "Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.", "jetpack" ), // _inc/client/writing/custom-content-types.jsx:120
-__( "Portfolios", "jetpack" ), // _inc/client/writing/custom-content-types.jsx:138
-__( "Portfolios shortcode: [portfolio]", "jetpack" ), // _inc/client/writing/custom-content-types.jsx:142
-__( "Add a portfolio item", "jetpack" ), // _inc/client/writing/custom-content-types.jsx:151
-__( "Writing", "jetpack" ), // _inc/client/writing/index.jsx:79
-__( "Compose content the way you want to and streamline your publishing experience.", "jetpack" ), // _inc/client/writing/index.jsx:80
-__( "Writing tools available to you will be shown here when an administrator enables them.", "jetpack" ), // _inc/client/writing/index.jsx:108
-_x( "WordPress.com toolbar", "Settings header", "jetpack" ), // _inc/client/writing/masterbar.jsx:26
-__( "Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.", "jetpack" ), // _inc/client/writing/masterbar.jsx:34
-__( "The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.", "jetpack" ), // _inc/client/writing/masterbar.jsx:41
-__( "Enable the WordPress.com toolbar", "jetpack" ), // _inc/client/writing/masterbar.jsx:55
-__( "Create a Jetpack account to use this feature", "jetpack" ), // _inc/client/writing/masterbar.jsx:64
-__( "Allows you to publish new posts by sending an email to a special address.", "jetpack" ), // _inc/client/writing/post-by-email.jsx:59
-__( "Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.", "jetpack" ), // _inc/client/writing/post-by-email.jsx:64
-__( "Send your new posts to this email address:", "jetpack" ), // _inc/client/writing/post-by-email.jsx:88
-_x( "Copy", "verb", "jetpack" ), // _inc/client/writing/post-by-email.jsx:92
-__( "Copied!", "jetpack" ), // _inc/client/writing/post-by-email.jsx:93
-__( "Highlight and copy the following text to your clipboard:", "jetpack" ), // _inc/client/writing/post-by-email.jsx:94
-__( "Regenerate address", "jetpack" ), // _inc/client/writing/post-by-email.jsx:101
-__( "Create address", "jetpack" ), // _inc/client/writing/post-by-email.jsx:101
-__( "Create a Jetpack account to use this feature", "jetpack" ), // _inc/client/writing/post-by-email.jsx:111
-__( "Theme enhancements", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:151
-__( "Loads the next posts automatically when the reader approaches the bottom of the page.", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:163
-__( "Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:171
-__( "Load more posts using the default theme behavior", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:179
-__( "Load more posts in page with a button", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:183
-__( "Load more posts as the reader scrolls down", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:187
-__( "Theme support required.", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:204
-__( "Learn more about adding support for Infinite Scroll to your theme.", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:208
-__( "Learn more", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:212
-__( "Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:224
-__( "Mobile Theme", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:235
-_x( "{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}", "Link leads to a support document.", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:241
-__( "Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:262
-__( "Show excerpts instead of full posts on front page and archive pages", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:280
-__( "Show featured images", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:286
-__( "Show an ad for the WordPress mobile apps in the footer of the mobile theme", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:290
-__( "Enhance CSS customization panel", "jetpack" ), // _inc/client/writing/theme-enhancements.jsx:326
-_x( "Widgets", "Settings header", "jetpack" ), // _inc/client/writing/widgets.jsx:29
-__( "Make extra widgets available for use on your site including subscription forms and Twitter streams", "jetpack" ), // _inc/client/writing/widgets.jsx:47
-__( "Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.", "jetpack" ), // _inc/client/writing/widgets.jsx:57
-__( "Enable widget visibility controls to display widgets only on particular posts or pages", "jetpack" ), // _inc/client/writing/widgets.jsx:69
-__( "Media", "jetpack" ), // _inc/client/writing/writing-media.jsx:61
-__( "Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.", "jetpack" ), // _inc/client/writing/writing-media.jsx:73
-__( "Display images in a full-screen carousel gallery", "jetpack" ), // _inc/client/writing/writing-media.jsx:86
-__( "Show photo Exif metadata in carousel (when available)", "jetpack" ), // _inc/client/writing/writing-media.jsx:99
-__( "Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.", "jetpack" ), // _inc/client/writing/writing-media.jsx:104
-__( "Carousel color scheme", "jetpack" ), // _inc/client/writing/writing-media.jsx:111
-/* translators: Referring to a number of page views */
-__( "Views today", "jetpack" ), // _inc/client/at-a-glance/stats/dash-stats-bottom.jsx:56
-/* translators: Referring to a number of page views */
-__( "Best overall day", "jetpack" ), // _inc/client/at-a-glance/stats/dash-stats-bottom.jsx:62
-_n( "%(number)s View", "%(number)s Views", 1, "jetpack" ), // _inc/client/at-a-glance/stats/dash-stats-bottom.jsx:67
-/* translators: Referring to a number of page views */
-__( "All-time views", "jetpack" ), // _inc/client/at-a-glance/stats/dash-stats-bottom.jsx:81
-/* translators: Referring to a number of comments */
-__( "All-time comments", "jetpack" ), // _inc/client/at-a-glance/stats/dash-stats-bottom.jsx:89
-__( "{{button}}View detailed stats{{/button}}", "jetpack" ), // _inc/client/at-a-glance/stats/dash-stats-bottom.jsx:100
-__( "{{button}}View more stats on WordPress.com {{/button}}", "jetpack" ), // _inc/client/at-a-glance/stats/dash-stats-bottom.jsx:111
-__( "Connect your account to WordPress.com to view more stats", "jetpack" ), // _inc/client/at-a-glance/stats/dash-stats-bottom.jsx:130
-__( "Week of %(date)s", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:77
-__( "Views: %(numberOfViews)s", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:96
-__( "Click to view detailed stats.", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:101
-__( "Jetpack Stats People", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:150
-__( "Hello there! Your stats have been activated.", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:154
-__( "Just give us a little time to collect data so we can display it for you here.", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:156
-__( "Okay, got it!", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:159
-__( "Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:173
-__( "Jetpack Stats Icon", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:211
-__( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:217
-__( "{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:218
-__( "Activate Site Stats", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:237
-__( "Days", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:276
-__( "Weeks", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:286
-__( "Months", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:296
-__( "Site Stats", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:314
-__( "Site Stats", "jetpack" ), // _inc/client/at-a-glance/stats/index.jsx:322
-__( "Get WordPress Apps for every device", "jetpack" ), // _inc/client/components/apps-card/index.jsx:67
-__( "Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.", "jetpack" ), // _inc/client/components/apps-card/index.jsx:71
-__( "Download the free apps", "jetpack" ), // _inc/client/components/apps-card/index.jsx:81
-_x( "No activity this period", "Notice in the empty statistics chart", "jetpack" ), // _inc/client/components/chart/index.jsx:124
-__( "Unlink me from WordPress.com", "jetpack" ), // _inc/client/components/connect-button/index.jsx:77
-__( "Link to WordPress.com", "jetpack" ), // _inc/client/components/connect-button/index.jsx:94
-__( "Manage site connection", "jetpack" ), // _inc/client/components/connect-button/index.jsx:117
-__( "Set up Jetpack", "jetpack" ), // _inc/client/components/connect-button/index.jsx:132
-__( "By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.", "jetpack" ), // _inc/client/components/connect-button/index.jsx:146
-_x( "Updates needed", "Short warning message", "jetpack" ), // _inc/client/components/dash-item/index.jsx:104
-__( "Active", "jetpack" ), // _inc/client/components/dash-item/index.jsx:110
-_x( "Paid", "Short label appearing near a paid feature configuration block.", "jetpack" ), // _inc/client/components/dash-item/index.jsx:122
-__( "This will reset all Jetpack options, are you sure?", "jetpack" ), // _inc/client/components/footer/index.jsx:36
-_x( "Reset Options (dev only)", "Navigation item.", "jetpack" ), // _inc/client/components/footer/index.jsx:100
-__( "Access the full list of Jetpack modules available on your site.", "jetpack" ), // _inc/client/components/footer/index.jsx:115
-_x( "Modules", "Navigation item. Noun. Links to a list of modules for Jetpack.", "jetpack" ), // _inc/client/components/footer/index.jsx:118
-__( "Test your site’s compatibility with Jetpack.", "jetpack" ), // _inc/client/components/footer/index.jsx:134
-_x( "Debug", "Navigation item. Noun. Links to a debugger tool for Jetpack.", "jetpack" ), // _inc/client/components/footer/index.jsx:137
-_x( "Dev Tools", "Navigation item.", "jetpack" ), // _inc/client/components/footer/index.jsx:157
-__( "An Automattic Airline", "jetpack" ), // _inc/client/components/footer/index.jsx:192
-__( "Jetpack version", "jetpack" ), // _inc/client/components/footer/index.jsx:207
-__( "Jetpack version %(version)s", "jetpack" ), // _inc/client/components/footer/index.jsx:209
-__( "About Jetpack", "jetpack" ), // _inc/client/components/footer/index.jsx:217
-_x( "About", "Link to learn more about Jetpack.", "jetpack" ), // _inc/client/components/footer/index.jsx:219
-__( "WordPress.com Terms of Service", "jetpack" ), // _inc/client/components/footer/index.jsx:228
-_x( "Terms", "Shorthand for Terms of Service.", "jetpack" ), // _inc/client/components/footer/index.jsx:231
-__( "Automattic's Privacy Policy", "jetpack" ), // _inc/client/components/footer/index.jsx:239
-_x( "Privacy", "Shorthand for Privacy Policy.", "jetpack" ), // _inc/client/components/footer/index.jsx:242
-__( "Saving…", "jetpack" ), // _inc/client/components/forms/index.jsx:148
-__( "Save Settings", "jetpack" ), // _inc/client/components/forms/index.jsx:148
-__( "Stars", "jetpack" ), // _inc/client/components/jetpack-dialogue/index.jsx:52
-__( "Jupiter", "jetpack" ), // _inc/client/components/jetpack-dialogue/index.jsx:59
-__( "What would you like to see on your Jetpack Dashboard?", "jetpack" ), // _inc/client/components/jetpack-notices/feedback-dash-request.jsx:38
-__( "Let us know!", "jetpack" ), // _inc/client/components/jetpack-notices/feedback-dash-request.jsx:40
-__( "You are currently running a development version of Jetpack.", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:38
-__( "Submit Beta feedback", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:41
-__( "You are running Jetpack on a staging server.", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:63
-__( "More Info", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:70
-__( "{{li}}The jetpack_development_mode filter is active{{/li}}", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:94
-__( "{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:103
-__( "{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:112
-__( "Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:120
-__( "Learn More", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:139
-__( "Jetpack is powering your site, but to access all of its features you’ll need to create an account.", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:162
-__( "Create account", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:165
-__( "This site is not connected to WordPress.com. Please ask the site administrator to connect.", "jetpack" ), // _inc/client/components/jetpack-notices/index.jsx:214
-__( "daily backups", "jetpack" ), // _inc/client/components/jetpack-notices/plan-conflict-warning.jsx:64
-__( "real-time backups", "jetpack" ), // _inc/client/components/jetpack-notices/plan-conflict-warning.jsx:66
-__( "Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.", "jetpack" ), // _inc/client/components/jetpack-notices/plan-conflict-warning.jsx:73
-__( "Cheatin' uh?", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:40
-__( "{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:43
-__( "You need to stay logged in to your WordPress blog while you authorize Jetpack.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:61
-__( "We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:66
-__( "There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:71
-__( "Your website needs to be publicly accessible to use Jetpack: %(error_key)s", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:77
-__( "This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:87
-__( "{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:97
-__( "WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:111
-__( "Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:117
-__( "{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:157
-__( "Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:195
-__( "Your Jetpack is already connected.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:205
-__( "You're fueled up and ready to go, Jetpack is now active.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:209
-__( "You're fueled up and ready to go.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:213
-__( "Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:217
-__( "Learn More", "jetpack" ), // _inc/client/components/jetpack-notices/state-notices.jsx:223
-__( "Disconnect Jetpack", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/dialog.jsx:122
-__( "Disable Jetpack", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/dialog.jsx:122
-__( "Are you sure you want to disconnect?", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/dialog.jsx:138
-__( "Are you sure you want to disconnect and deactivate?", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/dialog.jsx:139
-__( "Cancel", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/dialog.jsx:142
-__( "Disconnect", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/dialog.jsx:144
-__( "Disable", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/dialog.jsx:144
-__( "Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/features.jsx:30
-__( "Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/features.jsx:49
-__( "Grow your traffic with automated social {{a}}publishing and sharing{{/a}}", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/features.jsx:71
-__( "Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/features.jsx:99
-__( "Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/features.jsx:102
-__( " We’ve highlighted some of the features you rely on below.", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/features.jsx:106
-__( "Jetpack has many powerful tools that can help you achieve your goals", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/features.jsx:128
-__( "Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}", "jetpack" ), // _inc/client/components/jetpack-termination-dialog/features.jsx:139
-__( "Dashboard", "jetpack" ), // _inc/client/components/masthead/index.jsx:95
-__( "Settings", "jetpack" ), // _inc/client/components/masthead/index.jsx:103
-__( "Email me a link to log in to the app", "jetpack" ), // _inc/client/components/mobile-magic-link/index.jsx:52
-__( "Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.", "jetpack" ), // _inc/client/components/mobile-magic-link/index.jsx:54
-_x( "Cancel", "A caption for a button to cancel an action.", "jetpack" ), // _inc/client/components/mobile-magic-link/index.jsx:63
-_x( "Send link", "A caption for a button to log in to the WordPress mobile app.", "jetpack" ), // _inc/client/components/mobile-magic-link/index.jsx:68
-__( "Log in to the WordPress mobile app", "jetpack" ), // _inc/client/components/mobile-magic-link/index.jsx:89
-__( "%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.", "jetpack" ), // _inc/client/components/module-overridden-banner/index.jsx:52
-__( "Updating Post by Email address…", "jetpack" ), // _inc/client/components/module-settings/connect-module-options.jsx:63
-__( "Regenerated Post by Email address.", "jetpack" ), // _inc/client/components/module-settings/connect-module-options.jsx:64
-__( "Error regenerating Post by Email address. %(error)s", "jetpack" ), // _inc/client/components/module-settings/connect-module-options.jsx:66
-__( "The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.", "jetpack" ), // _inc/client/components/module-settings/index.jsx:27
-__( "To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!", "jetpack" ), // _inc/client/components/module-settings/index.jsx:32
-__( "Subscriber", "jetpack" ), // _inc/client/components/module-settings/index.jsx:51
-__( "Big iPhone/iPad Update Now Available", "jetpack" ), // _inc/client/components/module-settings/index.jsx:73
-__( "The WordPress for Android App Gets a Big Facelift", "jetpack" ), // _inc/client/components/module-settings/index.jsx:77
-__( "Upgrade Focus: VideoPress For Weddings", "jetpack" ), // _inc/client/components/module-settings/index.jsx:81
-_x( "Related", "A heading for a block of related posts.", "jetpack" ), // _inc/client/components/module-settings/index.jsx:89
-__( "{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}", "jetpack" ), // _inc/client/components/module-settings/index.jsx:110
-__( "Highlight related content with a heading", "jetpack" ), // _inc/client/components/module-settings/index.jsx:135
-__( "Show a thumbnail image where available", "jetpack" ), // _inc/client/components/module-settings/index.jsx:140
-_x( "Preview", "Noun, a header for a preview block in a configuration screen.", "jetpack" ), // _inc/client/components/module-settings/index.jsx:144
-__( "WordPress.com Likes are:", "jetpack" ), // _inc/client/components/module-settings/index.jsx:168
-__( "{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}", "jetpack" ), // _inc/client/components/module-settings/index.jsx:181
-__( "{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}", "jetpack" ), // _inc/client/components/module-settings/index.jsx:199
-__( "By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!", "jetpack" ), // _inc/client/components/module-settings/index.jsx:224
-__( "Display an ad unit at the top of your site.", "jetpack" ), // _inc/client/components/module-settings/index.jsx:233
-__( "This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.", "jetpack" ), // _inc/client/components/module-toggle/index.jsx:78
-__( "This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.", "jetpack" ), // _inc/client/components/module-toggle/index.jsx:83
-__( "This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.", "jetpack" ), // _inc/client/components/module-toggle/index.jsx:88
-_x( "At a Glance", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:53
-_x( "My Plan", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:61
-_x( "Plans", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:70
-_x( "At a Glance", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:82
-__( "Search for a Jetpack feature.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:70
-_x( "Security", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:120
-_x( "Performance", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:129
-_x( "Writing", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:146
-_x( "Sharing", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:155
-_x( "Discussion", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:169
-_x( "Traffic", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:186
-_x( "Sharing", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:203
-_x( "Writing", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:217
-__( "Manage Subscription", "jetpack" ), // _inc/client/components/product-card/index.jsx:100
-__( "Purchased on %s.", "jetpack" ), // _inc/client/components/product-expiration/index.jsx:35
-__( "Expired on %s.", "jetpack" ), // _inc/client/components/product-expiration/index.jsx:49
-__( "Renews on %s.", "jetpack" ), // _inc/client/components/product-expiration/index.jsx:53
-_x( "Upgrade", "A caption for a button to upgrade an existing paid feature to a higher tier.", "jetpack" ), // _inc/client/components/settings-card/index.jsx:74
-__( "Host fast, high-quality, ad-free video.", "jetpack" ), // _inc/client/components/settings-card/index.jsx:86
-__( "Generate income with high-quality ads.", "jetpack" ), // _inc/client/components/settings-card/index.jsx:106
-__( "Real-time site backups and automatic threat resolution.", "jetpack" ), // _inc/client/components/settings-card/index.jsx:123
-__( "Protect against data loss, malware, and malicious attacks.", "jetpack" ), // _inc/client/components/settings-card/index.jsx:136
-__( "Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.", "jetpack" ), // _inc/client/components/settings-card/index.jsx:152
-__( "Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.", "jetpack" ), // _inc/client/components/settings-card/index.jsx:169
-__( "Add faster, more advanced searching to your site with Jetpack Professional.", "jetpack" ), // _inc/client/components/settings-card/index.jsx:187
-__( "Protect your site from spam.", "jetpack" ), // _inc/client/components/settings-card/index.jsx:209
-_x( "Saving…", "Button caption", "jetpack" ), // _inc/client/components/settings-card/index.jsx:318
-_x( "Save settings", "Button caption", "jetpack" ), // _inc/client/components/settings-card/index.jsx:319
-__( "We're here to help", "jetpack" ), // _inc/client/components/support-card/index.jsx:80
-__( "Jetpack comes with free, basic support for all users.", "jetpack" ), // _inc/client/components/support-card/index.jsx:83
-__( "Your paid plan gives you access to prioritized Jetpack support.", "jetpack" ), // _inc/client/components/support-card/index.jsx:84
-__( "Ask a question", "jetpack" ), // _inc/client/components/support-card/index.jsx:95
-__( "Search our support site", "jetpack" ), // _inc/client/components/support-card/index.jsx:105
-__( "Get a faster resolution to your support questions.", "jetpack" ), // _inc/client/components/support-card/index.jsx:112
-__( "Upgrade", "jetpack" ), // _inc/client/components/support-card/index.jsx:114
-__( "Learn more", "jetpack" ), // _inc/client/components/support-info/index.jsx:79
-__( "Learn more", "jetpack" ), // _inc/client/components/support-info/index.jsx:89
-__( "Privacy information", "jetpack" ), // _inc/client/components/support-info/index.jsx:99
-__( "The features you rely on, adapted for the new WordPress editor.", "jetpack" ), // _inc/client/components/upgrade-notice-content/index.jsx:45
-__( "A new editor? Yes! {{a}}Learn more{{/a}}.", "jetpack" ), // _inc/client/components/upgrade-notice-content/index.jsx:47
-__( "Build your Jetpack site with blocks", "jetpack" ), // _inc/client/components/upgrade-notice-content/index.jsx:60
-__( "Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.", "jetpack" ), // _inc/client/components/upgrade-notice-content/index.jsx:63
-__( "Jetpack is ready for the new WordPress editor", "jetpack" ), // _inc/client/components/upgrade-notice-content/index.jsx:72
-__( "Take me to the new editor", "jetpack" ), // _inc/client/components/upgrade-notice-content/index.jsx:77
-__( "Okay, got it!", "jetpack" ), // _inc/client/components/upgrade-notice-content/index.jsx:79
-__( "Jetpack is ready for the new WordPress editor", "jetpack" ), // _inc/client/components/upgrade-notice-content/index.jsx:93
-__( "New in Jetpack!", "jetpack" ), // _inc/client/components/upgrade-notice-content/index.jsx:96
-__( "Verifying…", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:79
-__( "Site failed to verify: %(error)s", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:101
-__( "Google", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:187
-__( "Save", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:206
-__( "Cancel", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:214
-__( "Google", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:227
-__( "Your site is verified with Google", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:230
-__( "Edit", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:237
-__( "Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:245
-__( "Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:261
-__( "Google", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:311
-__( "Verify with Google", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:319
-__( "or", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:321
-__( "Manually Verify ", "jetpack" ), // _inc/client/traffic/verification-services/google.jsx:323
-/* translators: The price range for a particular product */
-__( "{{smallerPrice/}}-{{higherPrice/}}", "jetpack" ), // _inc/client/components/plans/plan-price/index.jsx:58
-__( "ms", "jetpack" ), // _inc/blocks/components.js:2
-__( "s", "jetpack" ), // _inc/blocks/components.js:2
-__( "m", "jetpack" ), // _inc/blocks/components.js:2
-__( "h", "jetpack" ), // _inc/blocks/components.js:2
-__( "d", "jetpack" ), // _inc/blocks/components.js:2
-__( "w", "jetpack" ), // _inc/blocks/components.js:2
-__( "M", "jetpack" ), // _inc/blocks/components.js:2
-__( "Q", "jetpack" ), // _inc/blocks/components.js:2
-__( "y", "jetpack" ), // _inc/blocks/components.js:2
-);
-/* THIS IS THE END OF THE GENERATED FILE */ \ No newline at end of file
diff --git a/plugins/jetpack/_inc/jquery.jetpack-resize.js b/plugins/jetpack/_inc/jquery.jetpack-resize.js
deleted file mode 100644
index 8c044339..00000000
--- a/plugins/jetpack/_inc/jquery.jetpack-resize.js
+++ /dev/null
@@ -1,292 +0,0 @@
-/* global Jetpack, JSON */
-/**
- * Resizeable Iframes.
- *
- * Start listening to resize postMessage events for selected iframes:
- * $( selector ).Jetpack( 'resizeable' );
- * - OR -
- * Jetpack.resizeable( 'on', context );
- *
- * Resize selected iframes:
- * $( selector ).Jetpack( 'resizeable', 'resize', { width: 100, height: 200 } );
- * - OR -
- * Jetpack.resizeable( 'resize', { width: 100, height: 200 }, context );
- *
- * Stop listening to resize postMessage events for selected iframes:
- * $( selector ).Jetpack( 'resizeable', 'off' );
- * - OR -
- * Jetpack.resizeable( 'off', context );
- *
- * Stop listening to all resize postMessage events:
- * Jetpack.resizeable( 'off' );
- */
-( function( $ ) {
- var listening = false, // Are we listening for resize postMessage events
- sourceOrigins = [], // What origins are allowed to send resize postMessage events
- $sources = false, // What iframe elements are we tracking resize postMessage events from
- URLtoOrigin, // Utility to convert URLs into origins
- setupListener, // Binds global resize postMessage event handler
- destroyListener, // Unbinds global resize postMessage event handler
- methods; // Jetpack.resizeable methods
-
- // Setup the Jetpack global
- if ( 'undefined' === typeof window.Jetpack ) {
- window.Jetpack = {
- /**
- * Handles the two different calling methods:
- * $( selector ).Jetpack( 'namespace', 'method', context ) // here, context is optional and is used to filter the collection
- * - vs. -
- * Jetpack.namespace( 'method', context ) // here context defines the collection
- *
- * @internal
- *
- * Call as: Jetpack.getTarget.call( this, context )
- *
- * @param string context: jQuery selector
- * @return jQuery|undefined object on which to perform operations or undefined when context cannot be determined
- */
- getTarget: function( context ) {
- if ( this instanceof jQuery ) {
- return context ? this.filter( context ) : this;
- }
-
- return context ? $( context ) : context;
- },
- };
- }
-
- // Setup the Jetpack jQuery method
- if ( 'undefined' === typeof $.fn.Jetpack ) {
- /**
- * Dispatches calls to the correct namespace
- *
- * @param string namespace
- * @param ...
- * @return mixed|jQuery (chainable)
- */
- $.fn.Jetpack = function( namespace ) {
- if ( 'function' === typeof Jetpack[ namespace ] ) {
- // Send the call to the correct Jetpack.namespace
- return Jetpack[ namespace ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
- } else {
- $.error( 'Namespace "' + namespace + '" does not exist on jQuery.Jetpack' );
- }
- };
- }
-
- // Define Jetpack.resizeable() namespace to just always bail if no postMessage
- if ( 'function' !== typeof window.postMessage ) {
- $.extend( window.Jetpack, {
- /**
- * Defines the Jetpack.resizeable() namespace.
- * See below for non-trivial definition for browsers with postMessage.
- */
- resizeable: function() {
- $.error( 'Browser does not support window.postMessage' );
- },
- } );
-
- return;
- }
-
- /**
- * Utility to convert URLs into origins
- *
- * http://example.com:port/path?query#fragment -> http://example.com:port
- *
- * @param string URL
- * @return string origin
- */
- URLtoOrigin = function( URL ) {
- if ( ! URL.match( /^https?:\/\// ) ) {
- URL = document.location.href;
- }
- return URL.split( '/' )
- .slice( 0, 3 )
- .join( '/' );
- };
-
- /**
- * Binds global resize postMessage event handler
- */
- setupListener = function() {
- listening = true;
-
- $( window ).on( 'message.JetpackResizeableIframe', function( e ) {
- var event = e.originalEvent,
- data;
-
- // Ensure origin is allowed
- if ( -1 === $.inArray( event.origin, sourceOrigins ) ) {
- return;
- }
-
- // Some browsers send structured data, some send JSON strings
- if ( 'object' === typeof event.data ) {
- data = event.data.data;
- } else {
- try {
- data = JSON.parse( event.data );
- } catch ( err ) {
- data = false;
- }
- }
-
- if ( ! data.data ) {
- return;
- }
-
- // Un-nest
- data = data.data;
-
- // Is it a resize event?
- if ( 'undefined' === typeof data.action || 'resize' !== data.action ) {
- return;
- }
-
- // Find the correct iframe and resize it
- $sources
- .filter( function() {
- if ( 'undefined' !== typeof data.name ) {
- return this.name === data.name;
- } else {
- return event.source === this.contentWindow;
- }
- } )
- .first()
- .Jetpack( 'resizeable', 'resize', data );
- } );
- };
-
- /**
- * Unbinds global resize postMessage event handler
- */
- destroyListener = function() {
- listening = false;
- $( window ).off( 'message.JetpackResizeableIframe' );
-
- sourceOrigins = [];
- $( '.jetpack-resizeable' ).removeClass( 'jetpack-resizeable' );
- $sources = false;
- };
-
- // Methods for Jetpack.resizeable() namespace
- methods = {
- /**
- * Start listening for resize postMessage events on the given iframes
- *
- * Call statically as: Jetpack.resizeable( 'on', context )
- * Call as: $( selector ).Jetpack( 'resizeable', 'on', context ) // context optional: used to filter the collectino
- *
- * @param string context jQuery selector.
- * @return jQuery (chainable)
- */
- on: function( context ) {
- var target = Jetpack.getTarget.call( this, context );
-
- if ( ! listening ) {
- setupListener();
- }
-
- target
- .each( function() {
- sourceOrigins.push( URLtoOrigin( $( this ).attr( 'src' ) ) );
- } )
- .addClass( 'jetpack-resizeable' );
-
- $sources = $( '.jetpack-resizeable' );
-
- return target;
- },
-
- /**
- * Stop listening for resize postMessage events on the given iframes
- *
- * Call statically as: Jetpack.resizeable( 'off', context )
- * Call as: $( selector ).Jetpack( 'resizeable', 'off', context ) // context optional: used to filter the collectino
- *
- * @param string context jQuery selector
- * @return jQuery (chainable)
- */
- off: function( context ) {
- var target = Jetpack.getTarget.call( this, context );
-
- if ( 'undefined' === typeof target ) {
- destroyListener();
-
- return target;
- }
-
- target
- .each( function() {
- var origin = URLtoOrigin( $( this ).attr( 'src' ) ),
- pos = $.inArray( origin, sourceOrigins );
-
- if ( -1 !== pos ) {
- sourceOrigins.splice( pos, 1 );
- }
- } )
- .removeClass( 'jetpack-resizeable' );
-
- $sources = $( '.jetpack-resizeable' );
-
- return target;
- },
-
- /**
- * Resize the given iframes
- *
- * Call statically as: Jetpack.resizeable( 'resize', dimensions, context )
- * Call as: $( selector ).Jetpack( 'resizeable', 'resize', dimensions, context ) // context optional: used to filter the collectino
- *
- * @param object dimensions in pixels: { width: (int), height: (int) }
- * @param string context jQuery selector
- * @return jQuery (chainable)
- */
- resize: function( dimensions, context ) {
- var target = Jetpack.getTarget.call( this, context );
-
- $.each( [ 'width', 'height' ], function( i, variable ) {
- var value = 0,
- container;
- if ( 'undefined' !== typeof dimensions[ variable ] ) {
- value = parseInt( dimensions[ variable ], 10 );
- }
-
- if ( 0 !== value ) {
- target[ variable ]( value );
- container = target.parent();
- if ( container.hasClass( 'slim-likes-widget' ) ) {
- container[ variable ]( value );
- }
- }
- } );
-
- return target;
- },
- };
-
- // Define Jetpack.resizeable() namespace
- $.extend( window.Jetpack, {
- /**
- * Defines the Jetpack.resizeable() namespace.
- * See above for trivial definition for browsers with no postMessage.
- *
- * @param string method
- * @param ...
- * @return mixed|jQuery (chainable)
- */
- resizeable: function( method ) {
- if ( methods[ method ] ) {
- // Send the call to the correct Jetpack.resizeable() method
- return methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
- } else if ( ! method ) {
- // By default, send to Jetpack.resizeable( 'on' ), which isn't useful in that form but is when called as
- // jQuery( selector ).Jetpack( 'resizeable' )
- return methods.on.apply( this );
- } else {
- $.error( 'Method ' + method + ' does not exist on Jetpack.resizeable' );
- }
- },
- } );
-} )( jQuery );
diff --git a/plugins/jetpack/_inc/jquery.spin.js b/plugins/jetpack/_inc/jquery.spin.js
deleted file mode 100644
index 1e901ca6..00000000
--- a/plugins/jetpack/_inc/jquery.spin.js
+++ /dev/null
@@ -1,104 +0,0 @@
-/**
- * Copyright (c) 2011-2013 Felix Gnass
- * Licensed under the MIT license
- */
-
-/*
-
-Basic Usage:
-============
-
-$('#el').spin(); // Creates a default Spinner using the text color of #el.
-$('#el').spin({ ... }); // Creates a Spinner using the provided options.
-
-$('#el').spin(false); // Stops and removes the spinner.
-
-Using Presets:
-==============
-
-$('#el').spin('small'); // Creates a 'small' Spinner using the text color of #el.
-$('#el').spin('large', '#fff'); // Creates a 'large' white Spinner.
-
-Adding a custom preset:
-=======================
-
-$.fn.spin.presets.flower = {
- lines: 9
- length: 10
- width: 20
- radius: 0
-}
-
-$('#el').spin('flower', 'red');
-
-*/
-
-(function(factory) {
-
- if (typeof exports == 'object') {
- // CommonJS
- factory(require('jquery'), require('spin'))
- }
- else if (typeof define == 'function' && define.amd) {
- // AMD, register as anonymous module
- define(['jquery', 'spin'], factory)
- }
- else {
- // Browser globals
- if (!window.Spinner) throw new Error('Spin.js not present')
- factory(window.jQuery, window.Spinner)
- }
-
-}(function($, Spinner) {
-
- $.fn.spin = function(opts, color) {
-
- return this.each(function() {
- var $this = $(this),
- data = $this.data();
-
- if (data.spinner) {
- data.spinner.stop();
- delete data.spinner;
- }
- if (opts !== false) {
- opts = $.extend(
- { color: color || $this.css('color') },
- $.fn.spin.presets[opts] || opts
- )
- // Begin WordPress Additions
- // To use opts.right, you need to have specified a length, width, and radius.
- if ( typeof opts.right !== 'undefined' && typeof opts.length !== 'undefined'
- && typeof opts.width !== 'undefined' && typeof opts.radius !== 'undefined' ) {
- var pad = $this.css( 'padding-left' );
- pad = ( typeof pad === 'undefined' ) ? 0 : parseInt( pad, 10 );
- opts.left = $this.outerWidth() - ( 2 * ( opts.length + opts.width + opts.radius ) ) - pad - opts.right;
- delete opts.right;
- }
- // End WordPress Additions
- data.spinner = new Spinner(opts).spin(this)
- }
- })
- }
-
- $.fn.spin.presets = {
- tiny: { lines: 8, length: 2, width: 2, radius: 3 },
- small: { lines: 8, length: 4, width: 3, radius: 5 },
- large: { lines: 10, length: 8, width: 4, radius: 8 }
- }
-
-}));
-
-// Jetpack Presets Overrides:
-(function($){
- $.fn.spin.presets.wp = { trail: 60, speed: 1.3 };
- $.fn.spin.presets.small = $.extend( { lines: 8, length: 2, width: 2, radius: 3 }, $.fn.spin.presets.wp );
- $.fn.spin.presets.medium = $.extend( { lines: 8, length: 4, width: 3, radius: 5 }, $.fn.spin.presets.wp );
- $.fn.spin.presets.large = $.extend( { lines: 10, length: 6, width: 4, radius: 7 }, $.fn.spin.presets.wp );
- $.fn.spin.presets['small-left'] = $.extend( { left: 5 }, $.fn.spin.presets.small );
- $.fn.spin.presets['small-right'] = $.extend( { right: 5 }, $.fn.spin.presets.small );
- $.fn.spin.presets['medium-left'] = $.extend( { left: 5 }, $.fn.spin.presets.medium );
- $.fn.spin.presets['medium-right'] = $.extend( { right: 5 }, $.fn.spin.presets.medium );
- $.fn.spin.presets['large-left'] = $.extend( { left: 5 }, $.fn.spin.presets.large );
- $.fn.spin.presets['large-right'] = $.extend( { right: 5 }, $.fn.spin.presets.large );
-})(jQuery);
diff --git a/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-about-page.php b/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-about-page.php
index 6cd1faf6..1dcf8edd 100644
--- a/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-about-page.php
+++ b/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-about-page.php
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
-require_once 'class.jetpack-admin-page.php';
+require_once __DIR__ . '/class.jetpack-admin-page.php';
/**
* Builds the landing page and its menu.
@@ -53,10 +53,12 @@ class Jetpack_About_Page extends Jetpack_Admin_Page {
/**
* Add page action
*
- * @param string $hook Hook of current page, unused.
+ * @param string $hook Hook of current page.
*/
- public function add_page_actions( $hook ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- $this->a8c_data = $this->fetch_a8c_data();
+ public function add_page_actions( $hook ) {
+ if ( 'admin_page_jetpack_about' === $hook ) {
+ $this->a8c_data = $this->fetch_a8c_data();
+ }
}
/**
@@ -537,7 +539,7 @@ class Jetpack_About_Page extends Jetpack_Admin_Page {
true
);
if ( ! empty( $data ) && is_array( $data ) ) {
- set_transient( 'jetpack_a8c_data', $data, DAY_IN_SECONDS );
+ set_transient( 'jetpack_a8c_data', $data, WEEK_IN_SECONDS );
} else {
// Fallback if everything fails.
$data = array(
diff --git a/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-redux-state-helper.php b/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-redux-state-helper.php
index ebad61af..dff497ea 100644
--- a/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-redux-state-helper.php
+++ b/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-redux-state-helper.php
@@ -13,6 +13,8 @@ use Automattic\Jetpack\Constants;
use Automattic\Jetpack\Device_Detection\User_Agent_Info;
use Automattic\Jetpack\Identity_Crisis;
use Automattic\Jetpack\Licensing;
+use Automattic\Jetpack\Licensing\Endpoints as Licensing_Endpoints;
+use Automattic\Jetpack\My_Jetpack\Initializer as My_Jetpack_Initializer;
use Automattic\Jetpack\Partner;
use Automattic\Jetpack\Partner_Coupon as Jetpack_Partner_Coupon;
use Automattic\Jetpack\Status;
@@ -23,6 +25,18 @@ use Automattic\Jetpack\Status\Host;
*/
class Jetpack_Redux_State_Helper {
/**
+ * Generate minimal state for React to fetch its own data asynchronously after load
+ * This can improve user experience, reducing time spent on server requests before serving the page
+ * e.g. used by React Disconnect Dialog on plugins page where the full initial state is not needed
+ */
+ public static function get_minimal_state() {
+ return array(
+ 'WP_API_root' => esc_url_raw( rest_url() ),
+ 'WP_API_nonce' => wp_create_nonce( 'wp_rest' ),
+ );
+ }
+
+ /**
* Generate the initial state array to be used by the Redux store.
*/
public static function get_initial_state() {
@@ -45,6 +59,10 @@ class Jetpack_Redux_State_Helper {
$modules[ $slug ]['long_description'] = html_entity_decode( $data['long_description'] );
}
+ // "mock" a block module in order to get it searchable in the settings.
+ $modules['blocks']['module'] = 'blocks';
+ $modules['blocks']['additional_search_queries'] = esc_html_x( 'blocks, block, gutenberg', 'Search terms', 'jetpack' );
+
// Collecting roles that can view site stats.
$stats_roles = array();
$enabled_roles = function_exists( 'stats_get_option' ) ? stats_get_option( 'roles' ) : array( 'administrator' );
@@ -100,10 +118,6 @@ class Jetpack_Redux_State_Helper {
$host = new Host();
- // Get Jetpack benefits for this site.
- $jetpack_benefits_response = Jetpack_Core_API_Site_Endpoint::get_benefits();
- $jetpack_benefits = 200 === $jetpack_benefits_response->status ? json_decode( $jetpack_benefits_response->data['data'] ) : array();
-
return array(
'WP_API_root' => esc_url_raw( rest_url() ),
'WP_API_nonce' => wp_create_nonce( 'wp_rest' ),
@@ -113,7 +127,7 @@ class Jetpack_Redux_State_Helper {
'pluginBaseUrl' => plugins_url( '', JETPACK__PLUGIN_FILE ),
'connectionStatus' => $connection_status,
'connectedPlugins' => Connection_Plugin_Storage::get_all(),
- 'connectUrl' => false == $current_user_data['isConnected'] // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ 'connectUrl' => false == $current_user_data['isConnected'] // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
? Jetpack::init()->build_connect_url( true, false, false )
: '',
'dismissedNotices' => self::get_dismissed_jetpack_notices(),
@@ -145,7 +159,7 @@ class Jetpack_Redux_State_Helper {
'icon' => has_site_icon()
? apply_filters( 'jetpack_photon_url', get_site_icon_url(), array( 'w' => 64 ) )
: '',
- 'siteVisibleToSearchEngines' => '1' == get_option( 'blog_public' ), // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ 'siteVisibleToSearchEngines' => '1' == get_option( 'blog_public' ), // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
/**
* Whether promotions are visible or not.
*
@@ -160,6 +174,8 @@ class Jetpack_Redux_State_Helper {
'plan' => Jetpack_Plan::get(),
'showBackups' => Jetpack::show_backups_ui(),
'showRecommendations' => Jetpack_Recommendations::is_enabled(),
+ /** This filter is documented in my-jetpack/src/class-initializer.php */
+ 'showMyJetpack' => My_Jetpack_Initializer::should_initialize(),
'isMultisite' => is_multisite(),
'dateFormat' => get_option( 'date_format' ),
),
@@ -168,9 +184,10 @@ class Jetpack_Redux_State_Helper {
'hasUpdate' => (bool) get_theme_update_available( $current_theme ),
'support' => array(
'infinite-scroll' => current_theme_supports( 'infinite-scroll' ) || in_array( $current_theme->get_stylesheet(), $inf_scr_support_themes, true ),
+ 'widgets' => current_theme_supports( 'widgets' ),
+ 'webfonts' => WP_Theme_JSON_Resolver::theme_has_support() && function_exists( 'wp_register_webfont_provider' ) && function_exists( 'wp_register_webfonts' ),
),
),
- 'jetpackBenefits' => $jetpack_benefits,
'jetpackStateNotices' => array(
'messageCode' => Jetpack::state( 'message' ),
'errorCode' => Jetpack::state( 'error' ),
@@ -189,12 +206,14 @@ class Jetpack_Redux_State_Helper {
'licensing' => array(
'error' => Licensing::instance()->last_error(),
'showLicensingUi' => Licensing::instance()->is_licensing_input_enabled(),
- 'userCounts' => Jetpack_Core_Json_Api_Endpoints::get_user_license_counts(),
+ 'userCounts' => Licensing_Endpoints::get_user_license_counts(),
'activationNoticeDismiss' => Licensing::instance()->get_license_activation_notice_dismiss(),
),
'hasSeenWCConnectionModal' => Jetpack_Options::get_option( 'has_seen_wc_connection_modal', false ),
+ 'newRecommendations' => Jetpack_Recommendations::get_new_conditional_recommendations(),
// Check if WooCommerce plugin is active (based on https://docs.woocommerce.com/document/create-a-plugin/).
'isWooCommerceActive' => in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', Jetpack::get_active_plugins() ), true ),
+ 'useMyJetpackLicensingUI' => My_Jetpack_Initializer::is_licensing_ui_enabled(),
);
}
@@ -342,7 +361,7 @@ class Jetpack_Redux_State_Helper {
$connect_urls = array();
jetpack_require_lib( 'class.jetpack-keyring-service-helper' );
// phpcs:disable
- foreach ( Jetpack_Keyring_Service_Helper::$SERVICES as $service_name => $service_info ) {
+ foreach ( Jetpack_Keyring_Service_Helper::SERVICES as $service_name => $service_info ) {
// phpcs:enable
$connect_urls[ $service_name ] = Jetpack_Keyring_Service_Helper::connect_url( $service_name, $service_info['for'] );
}
@@ -380,7 +399,6 @@ class Jetpack_Redux_State_Helper {
public static function generate_purchase_token() {
return wp_generate_password( 12, false );
}
-
}
/**
diff --git a/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-search-dashboard-page.php b/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-search-dashboard-page.php
deleted file mode 100644
index 5eef2dfe..00000000
--- a/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-search-dashboard-page.php
+++ /dev/null
@@ -1,137 +0,0 @@
-<?php
-/**
- * A class that adds a search dashboard to wp-admin.
- *
- * @package automattic/jetpack
- */
-
-use Automattic\Jetpack\Assets;
-use Automattic\Jetpack\Status;
-
-/**
- * Requires files needed.
- */
-require_once JETPACK__PLUGIN_DIR . '_inc/lib/admin-pages/class.jetpack-admin-page.php';
-require_once JETPACK__PLUGIN_DIR . '_inc/lib/admin-pages/class-jetpack-redux-state-helper.php';
-
-/**
- * Responsible for adding a search dashboard to wp-admin.
- *
- * @package Automattic\Jetpack\Search
- */
-class Jetpack_Search_Dashboard_Page extends Jetpack_Admin_Page {
- /**
- * Show the settings page only when Jetpack is connected or in dev mode.
- *
- * @var bool If the page should be shown.
- */
- protected $dont_show_if_not_active = true;
-
- /**
- * Add page specific actions given the page hook.
- *
- * @param {object} $hook The page hook.
- */
- public function add_page_actions( $hook ) {}// phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
-
- /**
- * Create a menu item for the page and returns the hook.
- */
- public function get_page_hook() {
-
- if ( ! $this->should_add_sub_menu() ) {
- return;
- }
- return add_submenu_page(
- 'jetpack',
- __( 'Search Settings', 'jetpack' ),
- _x( 'Search', 'product name shown in menu', 'jetpack' ),
- 'manage_options',
- 'jetpack-search',
- array( $this, 'render' ),
- $this->get_link_offset()
- );
- }
-
- /**
- * Enqueue and localize page specific scripts
- */
- public function page_admin_scripts() {
- $this->load_admin_scripts();
- }
-
- /**
- * Override render funtion
- */
- public function render() {
- $this->page_render();
- }
-
- /**
- * Render Search setting elements
- */
- public function page_render() {
- ?>
- <div id="jp-search-dashboard" class="jp-search-dashboard">
- <div class="hide-if-js"><?php esc_html_e( 'Your Search dashboard requires JavaScript to function properly.', 'jetpack' ); ?></div>
- </div>
- <?php
- }
-
- /**
- * Test whether we should show Search menu.
- *
- * @return {boolean} Show search sub menu or not.
- */
- protected function should_add_sub_menu() {
- return method_exists( 'Jetpack_Plan', 'supports' ) && Jetpack_Plan::supports( 'search' );
- }
-
- /**
- * Place the Jetpack Search menu item at the bottom of the Jetpack submenu.
- *
- * @return int Menu offset.
- */
- private function get_link_offset() {
- global $submenu;
- return count( $submenu['jetpack'] );
- }
-
- /**
- * Enqueue admin styles.
- */
- public function load_admin_styles() {
- $this->load_admin_scripts();
- }
-
- /**
- * Enqueue admin scripts.
- */
- public function load_admin_scripts() {
- \Jetpack_Admin_Page::load_wrapper_styles();
-
- if ( ! ( new Status() )->is_offline_mode() && Jetpack::is_connection_ready() ) {
- // Required for Analytics.
- Automattic\Jetpack\Tracking::register_tracks_functions_scripts( true );
- }
-
- Assets::register_script(
- 'jp-search-dashboard',
- '_inc/build/search-dashboard.js',
- JETPACK__PLUGIN_FILE,
- array(
- 'in_footer' => true,
- 'textdomain' => 'jetpack',
- )
- );
- Assets::enqueue_script( 'jp-search-dashboard' );
-
- // Add objects to be passed to the initial state of the app.
- // Use wp_add_inline_script instead of wp_localize_script, see https://core.trac.wordpress.org/ticket/25280.
- wp_add_inline_script(
- 'jp-search-dashboard',
- 'var Initial_State=JSON.parse(decodeURIComponent("' . rawurlencode( wp_json_encode( \Jetpack_Redux_State_Helper::get_initial_state() ) ) . '"));',
- 'before'
- );
- }
-}
diff --git a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-admin-page.php b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-admin-page.php
index 86887667..d7b5675c 100644
--- a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-admin-page.php
+++ b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-admin-page.php
@@ -1,36 +1,55 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Main class file for Jetpack Admin pages.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Identity_Crisis;
use Automattic\Jetpack\Redirect;
use Automattic\Jetpack\Status;
-// Shared logic between Jetpack admin pages
+/**
+ * Shared logic between Jetpack admin pages.
+ */
abstract class Jetpack_Admin_Page {
- // Add page specific actions given the page hook
- abstract function add_page_actions( $hook );
+ /**
+ * Add page specific actions given the page hook.
+ *
+ * @param string $hook Hook of current page.
+ */
+ abstract public function add_page_actions( $hook );
- // Create a menu item for the page and returns the hook
- abstract function get_page_hook();
+ /**
+ * Create a menu item for the page and returns the hook.
+ *
+ * @return string|false Return value from WordPress's `add_menu_page()` or `add_submenu_page()`.
+ */
+ abstract public function get_page_hook();
- // Enqueue and localize page specific scripts
- abstract function page_admin_scripts();
+ /**
+ * Enqueue and localize page specific scripts.
+ */
+ abstract public function page_admin_scripts();
- // Render page specific HTML
- abstract function page_render();
+ /**
+ * Render page specific HTML
+ */
+ abstract public function page_render();
/**
* Should we block the page rendering because the site is in IDC?
*
* @var bool
*/
- static $block_page_rendering_for_idc;
+ public static $block_page_rendering_for_idc;
/**
* Function called after admin_styles to load any additional needed styles.
*
* @since 4.3.0
*/
- function additional_styles() {}
+ public function additional_styles() {}
/**
* The constructor.
@@ -52,7 +71,10 @@ abstract class Jetpack_Admin_Page {
);
}
- function add_actions() {
+ /**
+ * Add common page actions and attach page-specific actions.
+ */
+ public function add_actions() {
$is_offline_mode = ( new Status() )->is_offline_mode();
// If user is not an admin and site is in Offline Mode or not connected yet then don't do anything.
@@ -70,7 +92,7 @@ abstract class Jetpack_Admin_Page {
return;
}
- // Initialize menu item for the page in the admin
+ // Initialize menu item for the page in the admin.
$hook = $this->get_page_hook();
// Attach hooks common to all Jetpack admin pages based on the created hook.
@@ -116,38 +138,51 @@ abstract class Jetpack_Admin_Page {
}
- // Render the page with a common top and bottom part, and page specific content
- function render() {
+ /**
+ * Render the page with a common top and bottom part, and page specific content.
+ */
+ public function render() {
// We're in an IDC: we need a decision made before we show the UI again.
if ( self::$block_page_rendering_for_idc ) {
return;
}
- // Check if we are looking at the main dashboard
- if ( isset( $_GET['page'] ) && 'jetpack' === $_GET['page'] ) {
+ // Check if we are looking at the main dashboard.
+ if ( isset( $_GET['page'] ) && 'jetpack' === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- View logic.
$this->page_render();
return;
}
self::wrap_ui( array( $this, 'page_render' ) );
}
- function admin_help() {
+ /**
+ * Load Help tab.
+ *
+ * @todo This may no longer be used.
+ */
+ public function admin_help() {
$this->jetpack->admin_help();
}
- function admin_page_load() {
- // This is big. For the moment, just call the existing one.
+ /**
+ * Call the existing admin page events.
+ */
+ public function admin_page_load() {
$this->jetpack->admin_page_load();
}
- // Add page specific scripts and jetpack stats for all menu pages
- function admin_scripts() {
- $this->page_admin_scripts(); // Delegate to inheriting class
+ /**
+ * Add page specific scripts and jetpack stats for all menu pages.
+ */
+ public function admin_scripts() {
+ $this->page_admin_scripts(); // Delegate to inheriting class.
add_action( 'admin_footer', array( $this->jetpack, 'do_stats' ) );
}
- // Enqueue the Jetpack admin stylesheet
- function admin_styles() {
+ /**
+ * Enqueue the Jetpack admin stylesheet.
+ */
+ public function admin_styles() {
$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
wp_enqueue_style( 'jetpack-admin', plugins_url( "css/jetpack-admin{$min}.css", JETPACK__PLUGIN_FILE ), array( 'genericons' ), JETPACK__VERSION . '-20121016' );
@@ -162,7 +197,7 @@ abstract class Jetpack_Admin_Page {
*
* @return bool
*/
- function is_rest_api_enabled() {
+ public function is_rest_api_enabled() {
return /** This filter is documented in wp-includes/rest-api/class-wp-rest-server.php */
apply_filters( 'rest_enabled', true ) &&
/** This filter is documented in wp-includes/rest-api/class-wp-rest-server.php */
@@ -174,11 +209,11 @@ abstract class Jetpack_Admin_Page {
*
* @since 4.4.0
*
- * @param $page
+ * @param WP_Screen $page Current WP_Screen object.
*
* @return array
*/
- function check_plan_deactivate_modules( $page ) {
+ public function check_plan_deactivate_modules( $page ) {
if (
( new Status() )->is_offline_mode()
|| ! in_array(
@@ -189,7 +224,8 @@ abstract class Jetpack_Admin_Page {
'jetpack_page_vaultpress',
'jetpack_page_stats',
'jetpack_page_akismet-key-config',
- )
+ ),
+ true
)
) {
return false;
@@ -231,7 +267,10 @@ abstract class Jetpack_Admin_Page {
);
}
- static function load_wrapper_styles() {
+ /**
+ * Enqueue inline wrapper styles for the main container.
+ */
+ public static function load_wrapper_styles() {
$rtl = is_rtl() ? '.rtl' : '';
wp_enqueue_style( 'dops-css', plugins_url( "_inc/build/admin{$rtl}.css", JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION );
wp_enqueue_style( 'components-css', plugins_url( "_inc/build/style.min{$rtl}.css", JETPACK__PLUGIN_FILE ), array( 'wp-components' ), JETPACK__VERSION );
@@ -278,6 +317,14 @@ abstract class Jetpack_Admin_Page {
wp_add_inline_style( 'dops-css', $custom_css );
}
+ /**
+ * Build header, content, and footer for admin page.
+ *
+ * @param string $callback Callback to produce the content of the page. The callback is responsible for any needed escaping.
+ * @param array $args Options for the wrapping. Also passed to the `jetpack_admin_pages_wrap_ui_after_callback` action.
+ * - is-wide: (bool) Set the "is-wide" class on the wrapper div, which increases the max width. Default false.
+ * - show-nav: (bool) Whether to show the navigation bar at the top of the page. Default true.
+ */
public static function wrap_ui( $callback, $args = array() ) {
$defaults = array(
'is-wide' => false,
@@ -356,7 +403,7 @@ abstract class Jetpack_Admin_Page {
call_user_func( $callback );
$callback_ui = ob_get_contents();
ob_end_clean();
- echo $callback_ui;
+ echo $callback_ui;// phpcs:ignore WordPress.Security.EscapeOutput -- Callback is responsible for any needed escaping.
?>
<!-- END OF CALLBACK -->
@@ -417,6 +464,5 @@ abstract class Jetpack_Admin_Page {
</div>
</div>
<?php
- return;
}
}
diff --git a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-landing-page.php b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-landing-page.php
index 5c06c284..2c61bd5e 100644
--- a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-landing-page.php
+++ b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-landing-page.php
@@ -1,3 +1,6 @@
<?php
-// This is intentionally left empty as a stub because some sites were caching the require()
-// @see https://github.com/Automattic/jetpack/issues/5091
+/** This is intentionally left empty as a stub because some sites were caching the require()
+ *
+ * @see https://github.com/Automattic/jetpack/issues/5091
+ * @package automattic/jetpack
+ */
diff --git a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php
index 1c76ea28..d550b508 100644
--- a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php
+++ b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php
@@ -1,43 +1,64 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Connection\Initial_State as Connection_Initial_State;
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Status;
-include_once( 'class.jetpack-admin-page.php' );
+require_once __DIR__ . '/class.jetpack-admin-page.php';
require_once __DIR__ . '/class-jetpack-redux-state-helper.php';
-// Builds the landing page and its menu
+/**
+ * Builds the landing page and its menu.
+ */
class Jetpack_React_Page extends Jetpack_Admin_Page {
-
+ /**
+ * Show the landing page only when Jetpack is connected.
+ *
+ * @var bool
+ */
protected $dont_show_if_not_active = false;
+ /**
+ * Used for fallback when REST API is disabled.
+ *
+ * @var bool
+ */
protected $is_redirecting = false;
- function get_page_hook() {
- // Add the main admin Jetpack menu
+ /**
+ * Add the main admin Jetpack menu.
+ *
+ * @return string|false Return value from WordPress's `add_menu_page()`.
+ */
+ public function get_page_hook() {
return add_menu_page( 'Jetpack', 'Jetpack', 'jetpack_admin_page', 'jetpack', array( $this, 'render' ), 'div', 3 );
}
- function add_page_actions( $hook ) {
- /** This action is documented in class.jetpack.php */
+ /**
+ * Add page action.
+ *
+ * @param string $hook Hook of current page.
+ * @return void
+ */
+ public function add_page_actions( $hook ) {
+ /** This action is documented in class.jetpack-admin.php */
do_action( 'jetpack_admin_menu', $hook );
- if ( ! isset( $_GET['page'] ) || 'jetpack' !== $_GET['page'] ) {
- return; // No need to handle the fallback redirection if we are not on the Jetpack page
+ if ( ! isset( $_GET['page'] ) || 'jetpack' !== $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
+ return; // No need to handle the fallback redirection if we are not on the Jetpack page.
}
- // Adding a redirect meta tag if the REST API is disabled
+ // Adding a redirect meta tag if the REST API is disabled.
if ( ! $this->is_rest_api_enabled() ) {
$this->is_redirecting = true;
add_action( 'admin_head', array( $this, 'add_fallback_head_meta' ) );
}
- // Adding a redirect meta tag wrapped in noscript tags for all browsers in case they have JavaScript disabled
+ // Adding a redirect meta tag wrapped in noscript tags for all browsers in case they have JavaScript disabled.
add_action( 'admin_head', array( $this, 'add_noscript_head_meta' ) );
// If this is the first time the user is viewing the admin, don't show JITMs.
// This filter is added just in time because this function is called on admin_menu
- // and JITMs are initialized on admin_init
+ // and JITMs are initialized on admin_init.
if ( Jetpack::is_connection_ready() && ! Jetpack_Options::get_option( 'first_admin_view', false ) ) {
Jetpack_Options::update_option( 'first_admin_view', true );
add_filter( 'jetpack_just_in_time_msgs', '__return_false' );
@@ -51,7 +72,7 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
*
* @since 4.3.0
*/
- function jetpack_add_dashboard_sub_nav_item() {
+ public function jetpack_add_dashboard_sub_nav_item() {
if ( ( new Status() )->is_offline_mode() || Jetpack::is_connection_ready() ) {
add_submenu_page( 'jetpack', __( 'Dashboard', 'jetpack' ), __( 'Dashboard', 'jetpack' ), 'jetpack_admin_page', 'jetpack#/dashboard', '__return_null' );
remove_submenu_page( 'jetpack', 'jetpack' );
@@ -130,17 +151,27 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
* @since 4.3.0
* @since 9.7.0 If Connection does not have an owner, restrict it to admins
*/
- function jetpack_add_settings_sub_nav_item() {
+ public function jetpack_add_settings_sub_nav_item() {
if ( $this->can_access_settings() ) {
add_submenu_page( 'jetpack', __( 'Settings', 'jetpack' ), __( 'Settings', 'jetpack' ), 'jetpack_admin_page', 'jetpack#/settings', '__return_null' );
}
}
- function add_fallback_head_meta() {
+ /**
+ * Fallback redirect meta tag if the REST API is disabled.
+ *
+ * @return void
+ */
+ public function add_fallback_head_meta() {
echo '<meta http-equiv="refresh" content="0; url=?page=jetpack_modules">';
}
- function add_noscript_head_meta() {
+ /**
+ * Fallback meta tag wrapped in noscript tags for all browsers in case they have JavaScript disabled.
+ *
+ * @return void
+ */
+ public function add_noscript_head_meta() {
echo '<noscript>';
$this->add_fallback_head_meta();
echo '</noscript>';
@@ -153,33 +184,36 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
* @param array $menu_order Menu order.
* @return array
*/
- function jetpack_menu_order( $menu_order ) {
+ public function jetpack_menu_order( $menu_order ) {
_deprecated_function( __METHOD__, 'jetpack-9.2' );
return $menu_order;
}
- function page_render() {
- /** This action is already documented in views/admin/admin-page.php */
+ /**
+ * Add action to render page specific HTML.
+ *
+ * @return void
+ */
+ public function page_render() {
+ /** This action is already documented in class.jetpack-admin-page.php */
do_action( 'jetpack_notices' );
- // Try fetching by patch
- $static_html = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static.html' );
+ // Fetch static.html.
+ $static_html = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static.html' ); //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged, WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents, Not fetching a remote file.
if ( false === $static_html ) {
- // If we still have nothing, display an error
+ // If we still have nothing, display an error.
echo '<p>';
esc_html_e( 'Error fetching static.html. Try running: ', 'jetpack' );
- echo '<code>pnpm run distclean && pnpx jetpack build plugins/jetpack</code>';
+ echo '<code>pnpm run distclean && pnpm jetpack build plugins/jetpack</code>';
echo '</p>';
} else {
-
- // We got the static.html so let's display it
- echo $static_html;
+ // We got the static.html so let's display it.
+ echo $static_html; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
-
/**
* Allow robust deep links to React.
*
@@ -202,20 +236,26 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
);
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $target = sanitize_text_field( (string) $_GET['jp-react-redirect'] );
+ $target = sanitize_text_field( wp_unslash( $_GET['jp-react-redirect'] ) );
if ( isset( $allowed_paths[ $target ] ) ) {
wp_safe_redirect( $allowed_paths[ $target ] );
exit;
}
}
- function additional_styles() {
+ /**
+ * Load styles for static page.
+ */
+ public function additional_styles() {
Jetpack_Admin_Page::load_wrapper_styles();
}
- function page_admin_scripts() {
+ /**
+ * Load admin page scripts.
+ */
+ public function page_admin_scripts() {
if ( $this->is_redirecting ) {
- return; // No need for scripts on a fallback page
+ return; // No need for scripts on a fallback page.
}
$status = new Status();
@@ -223,16 +263,18 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
$site_suffix = $status->get_site_suffix();
$script_deps_path = JETPACK__PLUGIN_DIR . '_inc/build/admin.asset.php';
$script_dependencies = array( 'wp-polyfill' );
+ $version = JETPACK__VERSION;
if ( file_exists( $script_deps_path ) ) {
$asset_manifest = include $script_deps_path;
$script_dependencies = $asset_manifest['dependencies'];
+ $version = $asset_manifest['version'];
}
wp_enqueue_script(
'react-plugin',
plugins_url( '_inc/build/admin.js', JETPACK__PLUGIN_FILE ),
$script_dependencies,
- JETPACK__VERSION,
+ $version,
true
);
diff --git a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php
index 551b9f71..b1f0dab6 100644
--- a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php
+++ b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php
@@ -1,21 +1,35 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-use Automattic\Jetpack\Tracking;
use Automattic\Jetpack\Assets;
+use Automattic\Jetpack\Tracking;
-include_once( 'class.jetpack-admin-page.php' );
-include_once( JETPACK__PLUGIN_DIR . 'class.jetpack-modules-list-table.php' );
+require_once __DIR__ . '/class.jetpack-admin-page.php';
+require_once JETPACK__PLUGIN_DIR . 'class.jetpack-modules-list-table.php';
-// Builds the settings page and its menu
+/**
+ * Builds the settings page and its menu
+ */
class Jetpack_Settings_Page extends Jetpack_Admin_Page {
- // Show the settings page only when Jetpack is connected or in dev mode
+ /**
+ * Show the settings page only when Jetpack is connected or in dev mode.
+ *
+ * @var boolean
+ */
protected $dont_show_if_not_active = true;
- function add_page_actions( $hook ) {}
+ /**
+ * Add page action.
+ *
+ * @param string $hook Hook of current page.
+ * @return void
+ */
+ public function add_page_actions( $hook ) {} //phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- // Adds the Settings sub menu
- function get_page_hook() {
+ /**
+ * Adds the Settings sub menu.
+ */
+ public function get_page_hook() {
return add_submenu_page(
null,
__( 'Jetpack Settings', 'jetpack' ),
@@ -26,14 +40,16 @@ class Jetpack_Settings_Page extends Jetpack_Admin_Page {
);
}
- // Renders the module list table where you can use bulk action or row
- // actions to activate/deactivate and configure modules
- function page_render() {
- $list_table = new Jetpack_Modules_List_Table;
+ /**
+ * Renders the module list table where you can use bulk action or row
+ * actions to activate/deactivate and configure modules
+ */
+ public function page_render() {
+ $list_table = new Jetpack_Modules_List_Table();
- // We have static.html so let's continue trying to fetch the others
- $noscript_notice = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static-noscript-notice.html' );
- $rest_api_notice = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static-version-notice.html' );
+ // We have static.html so let's continue trying to fetch the others.
+ $noscript_notice = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static-noscript-notice.html' ); //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged, WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents, Not fetching a remote file.
+ $rest_api_notice = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static-version-notice.html' ); //phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged, WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents, Not fetching a remote file.
$noscript_notice = str_replace(
'#HEADER_TEXT#',
@@ -58,9 +74,9 @@ class Jetpack_Settings_Page extends Jetpack_Admin_Page {
);
if ( ! $this->is_rest_api_enabled() ) {
- echo $rest_api_notice;
+ echo $rest_api_notice; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
- echo $noscript_notice;
+ echo $noscript_notice; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
<div class="page-content configure">
@@ -92,15 +108,52 @@ class Jetpack_Settings_Page extends Jetpack_Admin_Page {
<?php $list_table->search_box( __( 'Search', 'jetpack' ), 'srch-term' ); ?>
<p><?php esc_html_e( 'View:', 'jetpack' ); ?></p>
<div class="button-group filter-active">
- <button type="button" class="button <?php if ( empty( $_GET['activated'] ) ) echo 'active'; ?>"><?php esc_html_e( 'All', 'jetpack' ); ?></button>
- <button type="button" class="button <?php if ( ! empty( $_GET['activated'] ) && 'true' == $_GET['activated'] ) echo 'active'; ?>" data-filter-by="activated" data-filter-value="true"><?php esc_html_e( 'Active', 'jetpack' ); ?></button>
- <button type="button" class="button <?php if ( ! empty( $_GET['activated'] ) && 'false' == $_GET['activated'] ) echo 'active'; ?>" data-filter-by="activated" data-filter-value="false"><?php esc_html_e( 'Inactive', 'jetpack' ); ?></button>
+ <button type="button" class="button
+ <?php // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
+ if ( empty( $_GET['activated'] ) ) {
+ echo 'active';
+ }
+ ?>
+ ">
+ <?php esc_html_e( 'All', 'jetpack' ); ?></button>
+ <button type="button" class="button
+ <?php // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
+ if ( ! empty( $_GET['activated'] ) && 'true' === $_GET['activated'] ) {
+ echo 'active';
+ }
+ ?>
+ " data-filter-by="activated" data-filter-value="true"><?php esc_html_e( 'Active', 'jetpack' ); ?></button>
+ <button type="button" class="button
+ <?php // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
+ if ( ! empty( $_GET['activated'] ) && 'false' === $_GET['activated'] ) {
+ echo 'active';
+ }
+ ?>
+ " data-filter-by="activated" data-filter-value="false"><?php esc_html_e( 'Inactive', 'jetpack' ); ?></button>
</div>
<p><?php esc_html_e( 'Sort by:', 'jetpack' ); ?></p>
<div class="button-group sort">
- <button type="button" class="button <?php if ( empty( $_GET['sort_by'] ) ) echo 'active'; ?>" data-sort-by="name"><?php esc_html_e( 'Alphabetical', 'jetpack' ); ?></button>
- <button type="button" class="button <?php if ( ! empty( $_GET['sort_by'] ) && 'introduced' == $_GET['sort_by'] ) echo 'active'; ?>" data-sort-by="introduced" data-sort-order="reverse"><?php esc_html_e( 'Newest', 'jetpack' ); ?></button>
- <button type="button" class="button <?php if ( ! empty( $_GET['sort_by'] ) && 'sort' == $_GET['sort_by'] ) echo 'active'; ?>" data-sort-by="sort"><?php esc_html_e( 'Popular', 'jetpack' ); ?></button>
+ <button type="button" class="button
+ <?php // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
+ if ( empty( $_GET['sort_by'] ) ) {
+ echo 'active';
+ }
+ ?>
+ " data-sort-by="name"><?php esc_html_e( 'Alphabetical', 'jetpack' ); ?></button>
+ <button type="button" class="button
+ <?php // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
+ if ( ! empty( $_GET['sort_by'] ) && 'introduced' === $_GET['sort_by'] ) {
+ echo 'active';
+ }
+ ?>
+ " data-sort-by="introduced" data-sort-order="reverse"><?php esc_html_e( 'Newest', 'jetpack' ); ?></button>
+ <button type="button" class="button
+ <?php // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
+ if ( ! empty( $_GET['sort_by'] ) && 'sort' === $_GET['sort_by'] ) {
+ echo 'active';
+ }
+ ?>
+ " data-sort-by="sort"><?php esc_html_e( 'Popular', 'jetpack' ); ?></button>
</div>
<p><?php esc_html_e( 'Show:', 'jetpack' ); ?></p>
<?php $list_table->views(); ?>
@@ -109,7 +162,7 @@ class Jetpack_Settings_Page extends Jetpack_Admin_Page {
</div>
<div class="manage-left" style="width: 100%;">
<form class="jetpack-modules-list-table-form" onsubmit="return false;">
- <table class="<?php echo implode( ' ', $list_table->get_table_classes() ); ?>">
+ <table class="<?php echo esc_attr( implode( ' ', $list_table->get_table_classes() ) ); ?>">
<tbody id="the-list">
<?php $list_table->display_rows_or_placeholder(); ?>
</tbody>
@@ -130,17 +183,20 @@ class Jetpack_Settings_Page extends Jetpack_Admin_Page {
*
* @since 4.3.0
*/
- function additional_styles() {
+ public function additional_styles() {
Jetpack_Admin_Page::load_wrapper_styles();
}
- // Javascript logic specific to the list table
- function page_admin_scripts() {
+ /**
+ * Javascript logic specific to the list table
+ */
+ public function page_admin_scripts() {
wp_enqueue_script(
'jetpack-admin-js',
Assets::get_file_url_for_environment( '_inc/build/jetpack-admin.min.js', '_inc/jetpack-admin.js' ),
array( 'jquery' ),
- JETPACK__VERSION
+ JETPACK__VERSION,
+ true
);
}
}
diff --git a/plugins/jetpack/_inc/lib/class-jetpack-recommendations.php b/plugins/jetpack/_inc/lib/class-jetpack-recommendations.php
index ffbbddf3..77dd3a32 100644
--- a/plugins/jetpack/_inc/lib/class-jetpack-recommendations.php
+++ b/plugins/jetpack/_inc/lib/class-jetpack-recommendations.php
@@ -7,8 +7,10 @@
use Automattic\Jetpack\Connection\Client;
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Plugins_Installer;
use Automattic\Jetpack\Status;
use Automattic\Jetpack\Status\Host;
+use Automattic\Jetpack\Tracking;
/**
* Contains utilities related to the Jetpack Recommendations.
@@ -20,6 +22,22 @@ use Automattic\Jetpack\Status\Host;
* Jetpack_Recommendations class
*/
class Jetpack_Recommendations {
+
+ const PUBLICIZE_RECOMMENDATION = 'publicize';
+ const SECURITY_PLAN_RECOMMENDATION = 'security-plan';
+ const ANTI_SPAM_RECOMMENDATION = 'anti-spam';
+ const VIDEOPRESS_RECOMMENDATION = 'videopress';
+
+ const CONDITIONAL_RECOMMENDATIONS_OPTION = 'recommendations_conditional';
+ const CONDITIONAL_RECOMMENDATIONS = array(
+ self::PUBLICIZE_RECOMMENDATION,
+ self::SECURITY_PLAN_RECOMMENDATION,
+ self::ANTI_SPAM_RECOMMENDATION,
+ self::VIDEOPRESS_RECOMMENDATION,
+ );
+
+ const VIDEOPRESS_TIMED_ACTION = 'jetpack_recommend_videopress';
+
/**
* Returns a boolean indicating if the Jetpack Recommendations are enabled.
*
@@ -98,6 +116,278 @@ class Jetpack_Recommendations {
}
/**
+ * Set up actions to monitor for things that trigger a recommendation.
+ *
+ * @return false|void
+ */
+ public static function init_conditional_recommendation_actions() {
+ // Check to make sure that recommendations are enabled.
+ if ( ! self::is_enabled() ) {
+ return false;
+ }
+
+ // Monitor for the publishing of a new post.
+ add_action( 'transition_post_status', array( get_called_class(), 'post_transition' ), 10, 3 );
+ add_action( 'jetpack_activate_module', array( get_called_class(), 'jetpack_module_activated' ), 10, 2 );
+
+ // Monitor for activating a new plugin.
+ add_action( 'activated_plugin', array( get_called_class(), 'plugin_activated' ), 10 );
+
+ // Monitor for the addition of a new comment.
+ add_action( 'comment_post', array( get_called_class(), 'comment_added' ), 10, 3 );
+
+ // Monitor for Jetpack connection success.
+ add_action( 'jetpack_authorize_ending_authorized', array( get_called_class(), 'jetpack_connected' ) );
+ add_action( self::VIDEOPRESS_TIMED_ACTION, array( get_called_class(), 'recommend_videopress' ) );
+ }
+
+ /**
+ * Check when Jetpack modules are activated if some recommendations should be skipped.
+ *
+ * @param string $module Name of the module activated.
+ * @param bool $success Whether the module activation was successful.
+ */
+ public static function jetpack_module_activated( $module, $success ) {
+ if ( 'publicize' === $module && $success ) {
+ self::disable_conditional_recommendation( self::PUBLICIZE_RECOMMENDATION );
+ } elseif ( 'videopress' === $module && $success ) {
+ // If VideoPress is enabled and a recommendation for it is scheduled, cancel that recommendation.
+ $recommendation_timestamp = wp_next_scheduled( self::VIDEOPRESS_TIMED_ACTION );
+ if ( false !== $recommendation_timestamp ) {
+ wp_unschedule_event( $recommendation_timestamp, self::VIDEOPRESS_TIMED_ACTION );
+ }
+ }
+ }
+
+ /**
+ * Hook for transition_post_status that checks for the publishing of a new post.
+ * Used to enable the publicize recommendation.
+ *
+ * @param string $new_status new status of post.
+ * @param string $old_status old status of post.
+ * @param WP_Post $post the post object being updated.
+ */
+ public static function post_transition( $new_status, $old_status, $post ) {
+ // Check for condition when post has been published.
+ if ( 'post' === $post->post_type && 'publish' === $new_status && 'publish' !== $old_status && ! Jetpack::is_module_active( 'publicize' ) ) {
+ // Set the publicize recommendation to have met criteria to be shown.
+ self::enable_conditional_recommendation( self::PUBLICIZE_RECOMMENDATION );
+ }
+ }
+
+ /**
+ * Runs when a plugin gets activated
+ *
+ * @param string $plugin Path to the plugins file relative to the plugins directory.
+ */
+ public static function plugin_activated( $plugin ) {
+ // If the plugin is in this list, don't enable the recommendation.
+ $plugin_whitelist = array(
+ 'jetpack.php',
+ 'akismet.php',
+ 'creative-mail.php',
+ 'jetpack-backup.php',
+ 'jetpack-boost.php',
+ 'crowdsignal.php',
+ 'vaultpress.php',
+ 'woocommerce.php',
+ );
+
+ $path_parts = explode( '/', $plugin );
+ $plugin_file = $path_parts ? array_pop( $path_parts ) : $plugin;
+
+ if ( ! in_array( $plugin_file, $plugin_whitelist, true ) ) {
+ $products = array_column( Jetpack_Plan::get_products(), 'product_slug' );
+ $has_anti_spam_product = count( array_intersect( array( 'jetpack_anti_spam', 'jetpack_anti_spam_monthly' ), $products ) ) > 0;
+ $has_anti_spam = is_plugin_active( 'akismet/akismet.php' ) || Jetpack_Plan::supports( 'antispam' ) || $has_anti_spam_product;
+
+ // Check the backup state.
+ $rewind_state = get_transient( 'jetpack_rewind_state' );
+ $has_backup = $rewind_state && in_array( $rewind_state->state, array( 'awaiting_credentials', 'provisioning', 'active' ), true );
+
+ // Check for a plan or product that enables scan.
+ $plan_supports_scan = Jetpack_Plan::supports( 'scan' );
+ $has_scan_product = count( array_intersect( array( 'jetpack_scan', 'jetpack_scan_monthly' ), $products ) ) > 0;
+ $has_scan = $plan_supports_scan || $has_scan_product;
+
+ if ( ! $has_scan || ! $has_backup || ! $has_anti_spam ) {
+ self::enable_conditional_recommendation( self::SECURITY_PLAN_RECOMMENDATION );
+ }
+ }
+ }
+
+ /**
+ * Runs when a new comment is added.
+ *
+ * @param integer $comment_id The ID of the comment that was added.
+ * @param bool $comment_approved Whether or not the comment is approved.
+ * @param array $commentdata Comment data.
+ */
+ public static function comment_added( $comment_id, $comment_approved, $commentdata ) {
+ if ( self::is_conditional_recommendation_enabled( self::ANTI_SPAM_RECOMMENDATION ) ) {
+ return;
+ }
+
+ if ( Plugins_Installer::is_plugin_active( 'akismet/akismet.php' ) ) {
+ return;
+ }
+
+ // The site has anti-spam features already.
+ $site_products = array_column( Jetpack_Plan::get_products(), 'product_slug' );
+ $has_anti_spam_product = count( array_intersect( array( 'jetpack_anti_spam', 'jetpack_anti_spam_monthly' ), $site_products ) ) > 0;
+
+ if ( Jetpack_Plan::supports( 'antispam' ) || $has_anti_spam_product ) {
+ return;
+ }
+
+ if ( isset( $commentdata['comment_post_ID'] ) ) {
+ $post_id = $commentdata['comment_post_ID'];
+ } else {
+ $comment = get_comment( $comment_id );
+ $post_id = $comment->comment_post_ID;
+ }
+ $comment_count = get_comments_number( $post_id );
+
+ if ( intval( $comment_count ) >= 5 ) {
+ self::enable_conditional_recommendation( self::ANTI_SPAM_RECOMMENDATION );
+ }
+ }
+
+ /**
+ * Runs after a successful connection is made.
+ */
+ public static function jetpack_connected() {
+ // Schedule a recommendation for VideoPress in 2 weeks.
+ if ( false === wp_next_scheduled( self::VIDEOPRESS_TIMED_ACTION ) ) {
+ $date = new DateTime();
+ $date->add( new DateInterval( 'P14D' ) );
+ wp_schedule_single_event( $date->getTimestamp(), self::VIDEOPRESS_TIMED_ACTION );
+ }
+ }
+
+ /**
+ * Enable a recommendation for VideoPress.
+ */
+ public static function recommend_videopress() {
+ // Check to see if the VideoPress recommendation is already enabled.
+ if ( self::is_conditional_recommendation_enabled( self::VIDEOPRESS_RECOMMENDATION ) ) {
+ return;
+ }
+
+ $site_plan = Jetpack_Plan::get();
+ $site_products = array_column( Jetpack_Plan::get_products(), 'product_slug' );
+
+ if ( self::should_recommend_videopress( $site_plan, $site_products ) ) {
+ self::enable_conditional_recommendation( self::VIDEOPRESS_RECOMMENDATION );
+ }
+ }
+
+ /**
+ * Should we provide a recommendation for videopress?
+ * This method exists to facilitate unit testing
+ *
+ * @param array $site_plan A representation of the site's plan.
+ * @param array $site_products An array of product slugs.
+ * @return boolean
+ */
+ public static function should_recommend_videopress( $site_plan, $site_products ) {
+ // Does the site have the VideoPress module enabled?
+ if ( Jetpack::is_module_active( 'videopress' ) ) {
+ return false;
+ }
+
+ // Does the site plan have upgraded videopress features?
+ // For now, this just checks to see if the site has a free plan.
+ // Jetpack_Plan::supports('videopress') returns true for all plans, since there is a free tier.
+ $is_free_plan = 'free' === $site_plan['class'];
+ if ( ! $is_free_plan ) {
+ return false;
+ }
+
+ // Does this site already have a VideoPress product?
+ $has_videopress_product = count( array_intersect( array( 'jetpack_videopress', 'jetpack_videopress_monthly' ), $site_products ) ) > 0;
+ if ( $has_videopress_product ) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Enable a recommendation.
+ *
+ * @param string $recommendation_name The name of the recommendation to enable.
+ * @return false|void
+ */
+ public static function enable_conditional_recommendation( $recommendation_name ) {
+ if ( ! in_array( $recommendation_name, self::CONDITIONAL_RECOMMENDATIONS, true ) ) {
+ return false;
+ }
+
+ $conditional_recommendations = Jetpack_Options::get_option( self::CONDITIONAL_RECOMMENDATIONS_OPTION, array() );
+ if ( ! in_array( $recommendation_name, $conditional_recommendations, true ) ) {
+ array_push( $conditional_recommendations, $recommendation_name );
+ Jetpack_Options::update_option( self::CONDITIONAL_RECOMMENDATIONS_OPTION, $conditional_recommendations );
+ $tracking = new Tracking();
+ $tracking->record_user_event( 'recommendations_conditional_recommendation_enabled', array( 'feature' => $recommendation_name ) );
+ }
+ }
+
+ /**
+ * Disable a recommendation.
+ *
+ * @param string $recommendation_name The name of the recommendation to disable.
+ * @return false|void
+ */
+ public static function disable_conditional_recommendation( $recommendation_name ) {
+ if ( ! in_array( $recommendation_name, self::CONDITIONAL_RECOMMENDATIONS, true ) ) {
+ return false;
+ }
+
+ $conditional_recommendations = Jetpack_Options::get_option( self::CONDITIONAL_RECOMMENDATIONS_OPTION, array() );
+ $recommendation_index = array_search( $recommendation_name, $conditional_recommendations, true );
+
+ if ( false !== $recommendation_index ) {
+ array_splice( $conditional_recommendations, $recommendation_index, 1 );
+ Jetpack_Options::update_option( self::CONDITIONAL_RECOMMENDATIONS_OPTION, $conditional_recommendations );
+ }
+ }
+
+ /**
+ * Check to see if a recommendation is enabled or not.
+ *
+ * @param string $recommendation_name The name of the recommendation to check for.
+ * @return bool
+ */
+ public static function is_conditional_recommendation_enabled( $recommendation_name ) {
+ $conditional_recommendations = Jetpack_Options::get_option( self::CONDITIONAL_RECOMMENDATIONS_OPTION, array() );
+ return in_array( $recommendation_name, $conditional_recommendations, true );
+ }
+
+ /**
+ * Gets data for all conditional recommendations.
+ *
+ * @return mixed
+ */
+ public static function get_conditional_recommendations() {
+ return Jetpack_Options::get_option( self::CONDITIONAL_RECOMMENDATIONS_OPTION, array() );
+ }
+
+ /**
+ * Get an array of new conditional recommendations that have not been viewed.
+ *
+ * @return array
+ */
+ public static function get_new_conditional_recommendations() {
+ $conditional_recommendations = self::get_conditional_recommendations();
+ $recommendations_data = Jetpack_Options::get_option( 'recommendations_data', array() );
+ $viewed_recommendations = isset( $recommendations_data['viewedRecommendations'] ) ? $recommendations_data['viewedRecommendations'] : array();
+
+ // array_diff returns a keyed array - reduce to unique values.
+ return array_unique( array_values( array_diff( $conditional_recommendations, $viewed_recommendations ) ) );
+ }
+
+ /**
* Initializes the Recommendations step according to the Setup Wizard state.
*/
private static function initialize_jetpack_recommendations() {
diff --git a/plugins/jetpack/_inc/lib/class.color.php b/plugins/jetpack/_inc/lib/class.color.php
index 70930659..5a919af7 100644
--- a/plugins/jetpack/_inc/lib/class.color.php
+++ b/plugins/jetpack/_inc/lib/class.color.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Color utility and conversion
*
@@ -10,20 +10,29 @@
* @author Harold Asbridge <hasbridge@gmail.com>
* @author Matt Wiebe <wiebe@automattic.com>
* @license https://www.opensource.org/licenses/MIT
+ *
+ * @package automattic/jetpack
*/
+// phpcs:disable WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
+
+/**
+ * Color utilities
+ */
class Jetpack_Color {
/**
- * @var int
+ * Color code (later array or string, depending on type)
+ *
+ * @var int|array|string
*/
protected $color = 0;
/**
* Initialize object
*
- * @param string|array $color A color of the type $type
- * @param string $type The type of color we will construct from.
- * One of hex (default), rgb, hsl, int
+ * @param string|array $color A color of the type $type.
+ * @param string $type The type of color we will construct from.
+ * One of hex (default), rgb, hsl, int.
*/
public function __construct( $color = null, $type = 'hex' ) {
if ( $color ) {
@@ -32,13 +41,13 @@ class Jetpack_Color {
$this->fromHex( $color );
break;
case 'rgb':
- if ( is_array( $color ) && count( $color ) == 3 ) {
+ if ( is_array( $color ) && count( $color ) === 3 ) {
list( $r, $g, $b ) = array_values( $color );
$this->fromRgbInt( $r, $g, $b );
}
break;
case 'hsl':
- if ( is_array( $color ) && count( $color ) == 3 ) {
+ if ( is_array( $color ) && count( $color ) === 3 ) {
list( $h, $s, $l ) = array_values( $color );
$this->fromHsl( $h, $s, $l );
}
@@ -56,55 +65,44 @@ class Jetpack_Color {
/**
* Init color from hex value
*
- * @param string $hexValue
- *
- * @return Jetpack_Color
- */
- public function fromHex($hexValue) {
- $hexValue = str_replace( '#', '', $hexValue );
- // handle short hex codes like #fff
- if ( 3 === strlen( $hexValue ) ) {
- $short = $hexValue;
- $i = 0;
- $hexValue = '';
- while ( $i < 3 ) {
- $chunk = substr($short, $i, 1 );
- $hexValue .= $chunk . $chunk;
- $i++;
- }
- }
- $intValue = hexdec( $hexValue );
-
- if ( $intValue < 0 || $intValue > 16777215 ) {
- throw new RangeException( $hexValue . " out of valid color code range" );
+ * @param string $hex_value Color hex value.
+ *
+ * @return $this
+ * @throws RangeException Invalid color code range error.
+ */
+ public function fromHex( $hex_value ) {
+ $hex_value = str_replace( '#', '', $hex_value );
+ // handle short hex codes like #fff.
+ if ( 3 === strlen( $hex_value ) ) {
+ $hex_value = $hex_value[0] . $hex_value[0] . $hex_value[1] . $hex_value[1] . $hex_value[2] . $hex_value[2];
}
-
- $this->color = $intValue;
-
- return $this;
+ return $this->fromInt( hexdec( $hex_value ) );
}
/**
* Init color from integer RGB values
*
- * @param int $red
- * @param int $green
- * @param int $blue
+ * @param int $red Red color code.
+ * @param int $green Green color code.
+ * @param int $blue Blue color code.
*
- * @return Jetpack_Color
+ * @return $this
+ * @throws RangeException Invalid color code range error.
*/
- public function fromRgbInt($red, $green, $blue)
- {
- if ( $red < 0 || $red > 255 )
- throw new RangeException( "Red value " . $red . " out of valid color code range" );
+ public function fromRgbInt( $red, $green, $blue ) {
+ if ( $red < 0 || $red > 255 ) {
+ throw new RangeException( 'Red value ' . $red . ' out of valid color code range' );
+ }
- if ( $green < 0 || $green > 255 )
- throw new RangeException( "Green value " . $green . " out of valid color code range" );
+ if ( $green < 0 || $green > 255 ) {
+ throw new RangeException( 'Green value ' . $green . ' out of valid color code range' );
+ }
- if ( $blue < 0 || $blue > 255 )
- throw new RangeException( "Blue value " . $blue . " out of valid color code range" );
+ if ( $blue < 0 || $blue > 255 ) {
+ throw new RangeException( 'Blue value ' . $blue . ' out of valid color code range' );
+ }
- $this->color = (int)(($red << 16) + ($green << 8) + $blue);
+ $this->color = (int) ( ( $red << 16 ) + ( $green << 8 ) + $blue );
return $this;
}
@@ -112,36 +110,40 @@ class Jetpack_Color {
/**
* Init color from hex RGB values
*
- * @param string $red
- * @param string $green
- * @param string $blue
+ * @param string $red Red color code.
+ * @param string $green Green color code.
+ * @param string $blue Blue color code.
*
- * @return Jetpack_Color
+ * @return $this
*/
- public function fromRgbHex($red, $green, $blue)
- {
- return $this->fromRgbInt(hexdec($red), hexdec($green), hexdec($blue));
+ public function fromRgbHex( $red, $green, $blue ) {
+ return $this->fromRgbInt( hexdec( $red ), hexdec( $green ), hexdec( $blue ) );
}
/**
* Converts an HSL color value to RGB. Conversion formula
* adapted from https://en.wikipedia.org/wiki/HSL_color_space.
- * @param int $h Hue. [0-360]
- * @param in $s Saturation [0, 100]
- * @param int $l Lightness [0, 100]
+ *
+ * @param int $h Hue. [0-360].
+ * @param int $s Saturation [0, 100].
+ * @param int $l Lightness [0, 100].
*/
public function fromHsl( $h, $s, $l ) {
- $h /= 360; $s /= 100; $l /= 100;
-
- if ( $s == 0 ) {
- $r = $g = $b = $l; // achromatic
- }
- else {
+ $h /= 360;
+ $s /= 100;
+ $l /= 100;
+
+ if ( 0 === $s ) {
+ // achromatic.
+ $r = $l;
+ $g = $l;
+ $b = $l;
+ } else {
$q = $l < 0.5 ? $l * ( 1 + $s ) : $l + $s - $l * $s;
$p = 2 * $l - $q;
- $r = $this->hue2rgb( $p, $q, $h + 1/3 );
+ $r = $this->hue2rgb( $p, $q, $h + 1 / 3 );
$g = $this->hue2rgb( $p, $q, $h );
- $b = $this->hue2rgb( $p, $q, $h - 1/3 );
+ $b = $this->hue2rgb( $p, $q, $h - 1 / 3 );
}
return $this->fromRgbInt( $r * 255, $g * 255, $b * 255 );
@@ -149,29 +151,44 @@ class Jetpack_Color {
/**
* Helper function for Jetpack_Color::fromHsl()
+ *
+ * @param float $p Minimum of R/G/B [0, 1].
+ * @param float $q Maximum of R/G/B [0, 1].
+ * @param float $t Adjusted hue [0, 1].
*/
private function hue2rgb( $p, $q, $t ) {
- if ( $t < 0 ) $t += 1;
- if ( $t > 1 ) $t -= 1;
- if ( $t < 1/6 ) return $p + ( $q - $p ) * 6 * $t;
- if ( $t < 1/2 ) return $q;
- if ( $t < 2/3 ) return $p + ( $q - $p ) * ( 2/3 - $t ) * 6;
+ if ( $t < 0 ) {
+ ++$t;
+ }
+ if ( $t > 1 ) {
+ --$t;
+ }
+ if ( $t < 1 / 6 ) {
+ return $p + ( $q - $p ) * 6 * $t;
+ }
+ if ( $t < 1 / 2 ) {
+ return $q;
+ }
+ if ( $t < 2 / 3 ) {
+ return $p + ( $q - $p ) * ( 2 / 3 - $t ) * 6;
+ }
return $p;
}
/**
* Init color from integer value
*
- * @param int $intValue
+ * @param int $int_value Color code.
*
- * @return Jetpack_Color
+ * @return $this
+ * @throws RangeException Invalid color code range error.
*/
- public function fromInt($intValue)
- {
- if ( $intValue < 0 || $intValue > 16777215 )
- throw new RangeException( $intValue . " out of valid color code range" );
+ public function fromInt( $int_value ) {
+ if ( $int_value < 0 || $int_value > 16777215 ) {
+ throw new RangeException( $int_value . ' out of valid color code range' );
+ }
- $this->color = $intValue;
+ $this->color = $int_value;
return $this;
}
@@ -181,9 +198,8 @@ class Jetpack_Color {
*
* @return string
*/
- public function toHex()
- {
- return str_pad(dechex($this->color), 6, '0', STR_PAD_LEFT);
+ public function toHex() {
+ return sprintf( '%06x', $this->color );
}
/**
@@ -191,12 +207,11 @@ class Jetpack_Color {
*
* @return array
*/
- public function toRgbInt()
- {
+ public function toRgbInt() {
return array(
- 'red' => (int)(255 & ($this->color >> 16)),
- 'green' => (int)(255 & ($this->color >> 8)),
- 'blue' => (int)(255 & ($this->color))
+ 'red' => (int) ( 255 & ( $this->color >> 16 ) ),
+ 'green' => (int) ( 255 & ( $this->color >> 8 ) ),
+ 'blue' => (int) ( 255 & ( $this->color ) ),
);
}
@@ -205,11 +220,10 @@ class Jetpack_Color {
*
* @return array
*/
- public function toRgbHex()
- {
+ public function toRgbHex() {
$r = array();
- foreach ($this->toRgbInt() as $item) {
- $r[] = dechex($item);
+ foreach ( $this->toRgbInt() as $item ) {
+ $r[] = dechex( $item );
}
return $r;
}
@@ -220,55 +234,54 @@ class Jetpack_Color {
*
* @return array
*/
- public function toHsvFloat()
- {
+ public function toHsvFloat() {
$rgb = $this->toRgbInt();
- $rgbMin = min($rgb);
- $rgbMax = max($rgb);
+ $rgb_min = min( $rgb );
+ $rgb_max = max( $rgb );
$hsv = array(
- 'hue' => 0,
- 'sat' => 0,
- 'val' => $rgbMax
+ 'hue' => 0,
+ 'sat' => 0,
+ 'val' => $rgb_max,
);
- // If v is 0, color is black
- if ($hsv['val'] == 0) {
+ // If v is 0, color is black.
+ if ( 0 === $hsv['val'] ) {
return $hsv;
}
- // Normalize RGB values to 1
- $rgb['red'] /= $hsv['val'];
+ // Normalize RGB values to 1.
+ $rgb['red'] /= $hsv['val'];
$rgb['green'] /= $hsv['val'];
- $rgb['blue'] /= $hsv['val'];
- $rgbMin = min($rgb);
- $rgbMax = max($rgb);
+ $rgb['blue'] /= $hsv['val'];
+ $rgb_min = min( $rgb );
+ $rgb_max = max( $rgb );
- // Calculate saturation
- $hsv['sat'] = $rgbMax - $rgbMin;
- if ($hsv['sat'] == 0) {
+ // Calculate saturation.
+ $hsv['sat'] = $rgb_max - $rgb_min;
+ if ( 0 === $hsv['sat'] ) {
$hsv['hue'] = 0;
return $hsv;
}
- // Normalize saturation to 1
- $rgb['red'] = ($rgb['red'] - $rgbMin) / ($rgbMax - $rgbMin);
- $rgb['green'] = ($rgb['green'] - $rgbMin) / ($rgbMax - $rgbMin);
- $rgb['blue'] = ($rgb['blue'] - $rgbMin) / ($rgbMax - $rgbMin);
- $rgbMin = min($rgb);
- $rgbMax = max($rgb);
-
- // Calculate hue
- if ($rgbMax == $rgb['red']) {
- $hsv['hue'] = 0.0 + 60 * ($rgb['green'] - $rgb['blue']);
- if ($hsv['hue'] < 0) {
+ // Normalize saturation to 1.
+ $rgb['red'] = ( $rgb['red'] - $rgb_min ) / ( $rgb_max - $rgb_min );
+ $rgb['green'] = ( $rgb['green'] - $rgb_min ) / ( $rgb_max - $rgb_min );
+ $rgb['blue'] = ( $rgb['blue'] - $rgb_min ) / ( $rgb_max - $rgb_min );
+ $rgb_min = min( $rgb );
+ $rgb_max = max( $rgb );
+
+ // Calculate hue.
+ if ( $rgb_max === $rgb['red'] ) {
+ $hsv['hue'] = 0.0 + 60 * ( $rgb['green'] - $rgb['blue'] );
+ if ( $hsv['hue'] < 0 ) {
$hsv['hue'] += 360;
}
- } else if ($rgbMax == $rgb['green']) {
- $hsv['hue'] = 120 + (60 * ($rgb['blue'] - $rgb['red']));
+ } elseif ( $rgb_max === $rgb['green'] ) {
+ $hsv['hue'] = 120 + ( 60 * ( $rgb['blue'] - $rgb['red'] ) );
} else {
- $hsv['hue'] = 240 + (60 * ($rgb['red'] - $rgb['green']));
+ $hsv['hue'] = 240 + ( 60 * ( $rgb['red'] - $rgb['green'] ) );
}
return $hsv;
@@ -278,42 +291,41 @@ class Jetpack_Color {
* Get HSV values for color
* (integer values from 0-255, fast but less accurate)
*
- * @return int
+ * @return array
*/
- public function toHsvInt()
- {
+ public function toHsvInt() {
$rgb = $this->toRgbInt();
- $rgbMin = min($rgb);
- $rgbMax = max($rgb);
+ $rgb_min = min( $rgb );
+ $rgb_max = max( $rgb );
$hsv = array(
- 'hue' => 0,
- 'sat' => 0,
- 'val' => $rgbMax
+ 'hue' => 0,
+ 'sat' => 0,
+ 'val' => $rgb_max,
);
- // If value is 0, color is black
- if ($hsv['val'] == 0) {
+ // If value is 0, color is black.
+ if ( 0 === $hsv['val'] ) {
return $hsv;
}
- // Calculate saturation
- $hsv['sat'] = round(255 * ($rgbMax - $rgbMin) / $hsv['val']);
- if ($hsv['sat'] == 0) {
+ // Calculate saturation.
+ $hsv['sat'] = round( 255 * ( $rgb_max - $rgb_min ) / $hsv['val'] );
+ if ( 0 === $hsv['sat'] ) {
$hsv['hue'] = 0;
return $hsv;
}
- // Calculate hue
- if ($rgbMax == $rgb['red']) {
- $hsv['hue'] = round(0 + 43 * ($rgb['green'] - $rgb['blue']) / ($rgbMax - $rgbMin));
- } else if ($rgbMax == $rgb['green']) {
- $hsv['hue'] = round(85 + 43 * ($rgb['blue'] - $rgb['red']) / ($rgbMax - $rgbMin));
+ // Calculate hue.
+ if ( $rgb_max === $rgb['red'] ) {
+ $hsv['hue'] = round( 0 + 43 * ( $rgb['green'] - $rgb['blue'] ) / ( $rgb_max - $rgb_min ) );
+ } elseif ( $rgb_max === $rgb['green'] ) {
+ $hsv['hue'] = round( 85 + 43 * ( $rgb['blue'] - $rgb['red'] ) / ( $rgb_max - $rgb_min ) );
} else {
- $hsv['hue'] = round(171 + 43 * ($rgb['red'] - $rgb['green']) / ($rgbMax - $rgbMin));
+ $hsv['hue'] = round( 171 + 43 * ( $rgb['red'] - $rgb['green'] ) / ( $rgb_max - $rgb_min ) );
}
- if ($hsv['hue'] < 0) {
+ if ( $hsv['hue'] < 0 ) {
$hsv['hue'] += 255;
}
@@ -326,19 +338,22 @@ class Jetpack_Color {
* Assumes r, g, and b are contained in the set [0, 255] and
* returns h in [0, 360], s in [0, 100], l in [0, 100]
*
- * @return Array The HSL representation
+ * @return Array The HSL representation
*/
public function toHsl() {
list( $r, $g, $b ) = array_values( $this->toRgbInt() );
- $r /= 255; $g /= 255; $b /= 255;
- $max = max( $r, $g, $b );
- $min = min( $r, $g, $b );
- $h = $s = $l = ( $max + $min ) / 2;
- #var_dump( array( compact('max', 'min', 'r', 'g', 'b')) );
- if ( $max == $min ) {
- $h = $s = 0; // achromatic
- }
- else {
+ $r /= 255;
+ $g /= 255;
+ $b /= 255;
+ $max = max( $r, $g, $b );
+ $min = min( $r, $g, $b );
+ $l = ( $max + $min ) / 2;
+
+ if ( $max === $min ) {
+ // achromatic.
+ $s = 0;
+ $h = 0;
+ } else {
$d = $max - $min;
$s = $l > 0.5 ? $d / ( 2 - $max - $min ) : $d / ( $max + $min );
switch ( $max ) {
@@ -360,34 +375,36 @@ class Jetpack_Color {
return compact( 'h', 's', 'l' );
}
+ /**
+ * From a color code to a string to be used in CSS declaration.
+ *
+ * @param string $type Color code type.
+ * @param int $alpha Transparency.
+ *
+ * @return string
+ */
public function toCSS( $type = 'hex', $alpha = 1 ) {
switch ( $type ) {
case 'hex':
return $this->toString();
- break;
case 'rgb':
case 'rgba':
list( $r, $g, $b ) = array_values( $this->toRgbInt() );
if ( is_numeric( $alpha ) && $alpha < 1 ) {
return "rgba( {$r}, {$g}, {$b}, $alpha )";
- }
- else {
+ } else {
return "rgb( {$r}, {$g}, {$b} )";
}
- break;
case 'hsl':
case 'hsla':
list( $h, $s, $l ) = array_values( $this->toHsl() );
if ( is_numeric( $alpha ) && $alpha < 1 ) {
return "hsla( {$h}, {$s}, {$l}, $alpha )";
- }
- else {
+ } else {
return "hsl( {$h}, {$s}, {$l} )";
}
- break;
default:
return $this->toString();
- break;
}
}
@@ -396,22 +413,20 @@ class Jetpack_Color {
*
* @return array
*/
- public function toXyz()
- {
+ public function toXyz() {
$rgb = $this->toRgbInt();
- // Normalize RGB values to 1
-
+ // Normalize RGB values to 1.
$rgb_new = array();
- foreach ($rgb as $item) {
+ foreach ( $rgb as $item ) {
$rgb_new[] = $item / 255;
}
$rgb = $rgb_new;
$rgb_new = array();
- foreach ($rgb as $item) {
- if ($item > 0.04045) {
- $item = pow((($item + 0.055) / 1.055), 2.4);
+ foreach ( $rgb as $item ) {
+ if ( $item > 0.04045 ) {
+ $item = pow( ( ( $item + 0.055 ) / 1.055 ), 2.4 );
} else {
$item = $item / 12.92;
}
@@ -419,11 +434,11 @@ class Jetpack_Color {
}
$rgb = $rgb_new;
- // Observer. = 2°, Illuminant = D65
+ // Observer. = 2°, Illuminant = D65.
$xyz = array(
- 'x' => ($rgb['red'] * 0.4124) + ($rgb['green'] * 0.3576) + ($rgb['blue'] * 0.1805),
- 'y' => ($rgb['red'] * 0.2126) + ($rgb['green'] * 0.7152) + ($rgb['blue'] * 0.0722),
- 'z' => ($rgb['red'] * 0.0193) + ($rgb['green'] * 0.1192) + ($rgb['blue'] * 0.9505)
+ 'x' => ( $rgb['red'] * 0.4124 ) + ( $rgb['green'] * 0.3576 ) + ( $rgb['blue'] * 0.1805 ),
+ 'y' => ( $rgb['red'] * 0.2126 ) + ( $rgb['green'] * 0.7152 ) + ( $rgb['blue'] * 0.0722 ),
+ 'z' => ( $rgb['red'] * 0.0193 ) + ( $rgb['green'] * 0.1192 ) + ( $rgb['blue'] * 0.9505 ),
);
return $xyz;
@@ -434,29 +449,28 @@ class Jetpack_Color {
*
* @return array
*/
- public function toLabCie()
- {
+ public function toLabCie() {
$xyz = $this->toXyz();
- //Ovserver = 2*, Iluminant=D65
+ // Ovserver = 2*, Iluminant=D65.
$xyz['x'] /= 95.047;
$xyz['y'] /= 100;
$xyz['z'] /= 108.883;
$xyz_new = array();
- foreach ($xyz as $item) {
- if ($item > 0.008856) {
- $xyz_new[] = pow($item, 1/3);
+ foreach ( $xyz as $item ) {
+ if ( $item > 0.008856 ) {
+ $xyz_new[] = pow( $item, 1 / 3 );
} else {
- $xyz_new[] = (7.787 * $item) + (16 / 116);
+ $xyz_new[] = ( 7.787 * $item ) + ( 16 / 116 );
}
}
$xyz = $xyz_new;
$lab = array(
- 'l' => (116 * $xyz['y']) - 16,
- 'a' => 500 * ($xyz['x'] - $xyz['y']),
- 'b' => 200 * ($xyz['y'] - $xyz['z'])
+ 'l' => ( 116 * $xyz['y'] ) - 16,
+ 'a' => 500 * ( $xyz['x'] - $xyz['y'] ),
+ 'b' => 200 * ( $xyz['y'] - $xyz['z'] ),
);
return $lab;
@@ -467,8 +481,7 @@ class Jetpack_Color {
*
* @return int
*/
- public function toInt()
- {
+ public function toInt() {
return $this->color;
}
@@ -477,8 +490,7 @@ class Jetpack_Color {
*
* @return string
*/
- public function __toString()
- {
+ public function __toString() {
return $this->toString();
}
@@ -487,58 +499,60 @@ class Jetpack_Color {
*
* @return string
*/
- public function toString()
- {
+ public function toString() {
$str = $this->toHex();
- return strtoupper("#{$str}");
+ return strtoupper( "#{$str}" );
}
/**
* Get the distance between this color and the given color
*
- * @param Jetpack_Color $color
+ * @param Jetpack_Color $color Color code.
*
* @return int
*/
- public function getDistanceRgbFrom(Jetpack_Color $color)
- {
+ public function getDistanceRgbFrom( Jetpack_Color $color ) {
$rgb1 = $this->toRgbInt();
$rgb2 = $color->toRgbInt();
- $rDiff = abs($rgb1['red'] - $rgb2['red']);
- $gDiff = abs($rgb1['green'] - $rgb2['green']);
- $bDiff = abs($rgb1['blue'] - $rgb2['blue']);
+ $r_diff = abs( $rgb1['red'] - $rgb2['red'] );
+ $g_diff = abs( $rgb1['green'] - $rgb2['green'] );
+ $b_diff = abs( $rgb1['blue'] - $rgb2['blue'] );
- // Sum of RGB differences
- $diff = $rDiff + $gDiff + $bDiff;
+ // Sum of RGB differences.
+ $diff = $r_diff + $g_diff + $b_diff;
return $diff;
}
/**
* Get distance from the given color using the Delta E method
*
- * @param Jetpack_Color $color
+ * @param Jetpack_Color $color Color code.
*
* @return float
*/
- public function getDistanceLabFrom(Jetpack_Color $color)
- {
+ public function getDistanceLabFrom( Jetpack_Color $color ) {
$lab1 = $this->toLabCie();
$lab2 = $color->toLabCie();
- $lDiff = abs($lab2['l'] - $lab1['l']);
- $aDiff = abs($lab2['a'] - $lab1['a']);
- $bDiff = abs($lab2['b'] - $lab1['b']);
+ $l_diff = abs( $lab2['l'] - $lab1['l'] );
+ $a_diff = abs( $lab2['a'] - $lab1['a'] );
+ $b_diff = abs( $lab2['b'] - $lab1['b'] );
- $delta = sqrt($lDiff + $aDiff + $bDiff);
+ $delta = sqrt( $l_diff + $a_diff + $b_diff );
return $delta;
}
+ /**
+ * Calculate luminosity.
+ *
+ * @return float
+ */
public function toLuminosity() {
$lum = array();
- foreach( $this->toRgbInt() as $slot => $value ) {
- $chan = $value / 255;
+ foreach ( $this->toRgbInt() as $slot => $value ) {
+ $chan = $value / 255;
$lum[ $slot ] = ( $chan <= 0.03928 ) ? $chan / 12.92 : pow( ( ( $chan + 0.055 ) / 1.055 ), 2.4 );
}
return 0.2126 * $lum['red'] + 0.7152 * $lum['green'] + 0.0722 * $lum['blue'];
@@ -548,36 +562,47 @@ class Jetpack_Color {
* Get distance between colors using luminance.
* Should be more than 5 for readable contrast
*
- * @param Jetpack_Color $color Another color
+ * @param Jetpack_Color $color Another color.
* @return float
*/
public function getDistanceLuminosityFrom( Jetpack_Color $color ) {
- $L1 = $this->toLuminosity();
- $L2 = $color->toLuminosity();
- if ( $L1 > $L2 ) {
- return ( $L1 + 0.05 ) / ( $L2 + 0.05 );
- }
- else{
- return ( $L2 + 0.05 ) / ( $L1 + 0.05 );
+ $l1 = $this->toLuminosity();
+ $l2 = $color->toLuminosity();
+ if ( $l1 > $l2 ) {
+ return ( $l1 + 0.05 ) / ( $l2 + 0.05 );
+ } else {
+ return ( $l2 + 0.05 ) / ( $l1 + 0.05 );
}
}
+ /**
+ * Get maximum contrast color.
+ *
+ * @return $this
+ */
public function getMaxContrastColor() {
- $withBlack = $this->getDistanceLuminosityFrom( new Jetpack_Color( '#000') );
- $withWhite = $this->getDistanceLuminosityFrom( new Jetpack_Color( '#fff') );
- $color = new Jetpack_Color;
- $hex = ( $withBlack >= $withWhite ) ? '#000000' : '#ffffff';
+ $with_black = $this->getDistanceLuminosityFrom( new Jetpack_Color( '#000' ) );
+ $with_white = $this->getDistanceLuminosityFrom( new Jetpack_Color( '#fff' ) );
+ $color = new Jetpack_Color();
+ $hex = ( $with_black >= $with_white ) ? '#000000' : '#ffffff';
return $color->fromHex( $hex );
}
+ /**
+ * Get grayscale contrasting color.
+ *
+ * @param bool|int $contrast Contrast.
+ *
+ * @return $this
+ */
public function getGrayscaleContrastingColor( $contrast = false ) {
if ( ! $contrast ) {
return $this->getMaxContrastColor();
}
- // don't allow less than 5
+ // don't allow less than 5.
$target_contrast = ( $contrast < 5 ) ? 5 : $contrast;
- $color = $this->getMaxContrastColor();
- $contrast = $color->getDistanceLuminosityFrom( $this );
+ $color = $this->getMaxContrastColor();
+ $contrast = $color->getDistanceLuminosityFrom( $this );
// if current max contrast is less than the target contrast, we had wishful thinking.
if ( $contrast <= $target_contrast ) {
@@ -586,7 +611,7 @@ class Jetpack_Color {
$incr = ( '#000000' === $color->toString() ) ? 1 : -1;
while ( $contrast > $target_contrast ) {
- $color = $color->incrementLightness( $incr );
+ $color = $color->incrementLightness( $incr );
$contrast = $color->getDistanceLuminosityFrom( $this );
}
@@ -595,7 +620,8 @@ class Jetpack_Color {
/**
* Gets a readable contrasting color. $this is assumed to be the text and $color the background color.
- * @param object $bg_color A Color object that will be compared against $this
+ *
+ * @param object $bg_color A Color object that will be compared against $this.
* @param integer $min_contrast The minimum contrast to achieve, if possible.
* @return object A Color object, an increased contrast $this compared against $bg_color
*/
@@ -605,17 +631,17 @@ class Jetpack_Color {
}
// you shouldn't use less than 5, but you might want to.
$target_contrast = $min_contrast;
- // working things
- $contrast = $bg_color->getDistanceLuminosityFrom( $this );
+ // working things.
+ $contrast = $bg_color->getDistanceLuminosityFrom( $this );
$max_contrast_color = $bg_color->getMaxContrastColor();
- $max_contrast = $max_contrast_color->getDistanceLuminosityFrom( $bg_color );
+ $max_contrast = $max_contrast_color->getDistanceLuminosityFrom( $bg_color );
// if current max contrast is less than the target contrast, we had wishful thinking.
- // still, go max
+ // still, go max.
if ( $max_contrast <= $target_contrast ) {
return $max_contrast_color;
}
- // or, we might already have sufficient contrast
+ // or, we might already have sufficient contrast.
if ( $contrast >= $target_contrast ) {
return $this;
}
@@ -625,7 +651,7 @@ class Jetpack_Color {
$this->incrementLightness( $incr );
$contrast = $bg_color->getDistanceLuminosityFrom( $this );
// infininite loop prevention: you never know.
- if ( $this->color === 0 || $this->color === 16777215 ) {
+ if ( 0 === $this->color || 16777215 === $this->color ) {
break;
}
}
@@ -636,18 +662,17 @@ class Jetpack_Color {
/**
* Detect if color is grayscale
*
- * @param int @threshold
+ * @param int $threshold Max difference between colors.
*
* @return bool
*/
- public function isGrayscale($threshold = 16)
- {
+ public function isGrayscale( $threshold = 16 ) {
$rgb = $this->toRgbInt();
- // Get min and max rgb values, then difference between them
- $rgbMin = min($rgb);
- $rgbMax = max($rgb);
- $diff = $rgbMax - $rgbMin;
+ // Get min and max rgb values, then difference between them.
+ $rgb_min = min( $rgb );
+ $rgb_max = max( $rgb );
+ $diff = $rgb_max - $rgb_min;
return $diff < $threshold;
}
@@ -655,38 +680,58 @@ class Jetpack_Color {
/**
* Get the closest matching color from the given array of colors
*
- * @param array $colors array of integers or Jetpack_Color objects
+ * @param array $colors array of integers or Jetpack_Color objects.
*
* @return mixed the array key of the matched color
*/
- public function getClosestMatch(array $colors)
- {
- $matchDist = 10000;
- $matchKey = null;
- foreach($colors as $key => $color) {
- if (false === ($color instanceof Jetpack_Color)) {
- $c = new Jetpack_Color($color);
+ public function getClosestMatch( array $colors ) {
+ $match_dist = 10000;
+ $match_key = null;
+ foreach ( $colors as $key => $color ) {
+ if ( false === ( $color instanceof Jetpack_Color ) ) {
+ $c = new Jetpack_Color( $color );
}
- $dist = $this->getDistanceLabFrom($c);
- if ($dist < $matchDist) {
- $matchDist = $dist;
- $matchKey = $key;
+ $dist = $this->getDistanceLabFrom( $c );
+ if ( $dist < $match_dist ) {
+ $match_dist = $dist;
+ $match_key = $key;
}
}
- return $matchKey;
+ return $match_key;
}
/* TRANSFORMS */
+ /**
+ * Transform -- Darken color.
+ *
+ * @param int $amount Amount. Default to 5.
+ *
+ * @return $this
+ */
public function darken( $amount = 5 ) {
return $this->incrementLightness( - $amount );
}
+ /**
+ * Transform -- Lighten color.
+ *
+ * @param int $amount Amount. Default to 5.
+ *
+ * @return $this
+ */
public function lighten( $amount = 5 ) {
return $this->incrementLightness( $amount );
}
+ /**
+ * Transform -- Increment lightness.
+ *
+ * @param int $amount Amount.
+ *
+ * @return $this
+ */
public function incrementLightness( $amount ) {
$hsl = $this->toHsl();
@@ -695,19 +740,44 @@ class Jetpack_Color {
$l = isset( $hsl['l'] ) ? $hsl['l'] : 0;
$l += $amount;
- if ( $l < 0 ) $l = 0;
- if ( $l > 100 ) $l = 100;
+ if ( $l < 0 ) {
+ $l = 0;
+ }
+ if ( $l > 100 ) {
+ $l = 100;
+ }
return $this->fromHsl( $h, $s, $l );
}
+ /**
+ * Transform -- Saturate color.
+ *
+ * @param int $amount Amount. Default to 15.
+ *
+ * @return $this
+ */
public function saturate( $amount = 15 ) {
return $this->incrementSaturation( $amount );
}
+ /**
+ * Transform -- Desaturate color.
+ *
+ * @param int $amount Amount. Default to 15.
+ *
+ * @return $this
+ */
public function desaturate( $amount = 15 ) {
return $this->incrementSaturation( - $amount );
}
+ /**
+ * Transform -- Increment saturation.
+ *
+ * @param int $amount Amount.
+ *
+ * @return $this
+ */
public function incrementSaturation( $amount ) {
$hsl = $this->toHsl();
@@ -716,11 +786,20 @@ class Jetpack_Color {
$l = isset( $hsl['l'] ) ? $hsl['l'] : 0;
$s += $amount;
- if ( $s < 0 ) $s = 0;
- if ( $s > 100 ) $s = 100;
+ if ( $s < 0 ) {
+ $s = 0;
+ }
+ if ( $s > 100 ) {
+ $s = 100;
+ }
return $this->fromHsl( $h, $s, $l );
}
+ /**
+ * Transform -- To grayscale.
+ *
+ * @return $this
+ */
public function toGrayscale() {
$hsl = $this->toHsl();
@@ -731,30 +810,80 @@ class Jetpack_Color {
return $this->fromHsl( $h, $s, $l );
}
+ /**
+ * Transform -- To the complementary color.
+ *
+ * The complement is the color on the opposite side of the color wheel, 180° away.
+ *
+ * @return $this
+ */
public function getComplement() {
return $this->incrementHue( 180 );
}
+ /**
+ * Transform -- To an analogous color of the complement.
+ *
+ * @param int $step Pass `1` or `-1` to choose which direction around the color wheel.
+ *
+ * @return $this
+ */
public function getSplitComplement( $step = 1 ) {
$incr = 180 + ( $step * 30 );
return $this->incrementHue( $incr );
}
+ /**
+ * Transform -- To an analogous color.
+ *
+ * Analogous colors are those adjacent on the color wheel, separated by 30°.
+ *
+ * @param int $step Pass `1` or `-1` to choose which direction around the color wheel.
+ *
+ * @return $this
+ */
public function getAnalog( $step = 1 ) {
$incr = $step * 30;
return $this->incrementHue( $incr );
}
+ /**
+ * Transform -- To a tetradic (rectangular) color.
+ *
+ * A rectangular color scheme uses a color, its complement, and the colors 60° from each.
+ * This transforms the color to its 60° "tetrad".
+ *
+ * @param int $step Pass `1` or `-1` to choose which direction around the color wheel.
+ *
+ * @return $this
+ */
public function getTetrad( $step = 1 ) {
$incr = $step * 60;
return $this->incrementHue( $incr );
}
+ /**
+ * Transform -- To a triadic color.
+ *
+ * A triadic color scheme uses three colors evenly spaced (120°) around the color wheel.
+ * This transforms the color to one of its triadic colors.
+ *
+ * @param int $step Pass `1` or `-1` to choose which direction around the color wheel.
+ *
+ * @return $this
+ */
public function getTriad( $step = 1 ) {
$incr = $step * 120;
return $this->incrementHue( $incr );
}
+ /**
+ * Transform -- Increment hue.
+ *
+ * @param int $amount Amount.
+ *
+ * @return $this
+ */
public function incrementHue( $amount ) {
$hsl = $this->toHsl();
@@ -763,8 +892,10 @@ class Jetpack_Color {
$l = isset( $hsl['l'] ) ? $hsl['l'] : 0;
$h = ( $h + $amount ) % 360;
- if ( $h < 0 ) $h = 360 - $h;
+ if ( $h < 0 ) {
+ $h += 360;
+ }
return $this->fromHsl( $h, $s, $l );
}
-} // class Jetpack_Color
+}
diff --git a/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php b/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php
index 342c85b2..35d91c3b 100644
--- a/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php
+++ b/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php
@@ -1,19 +1,18 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Register WP REST API endpoints for Jetpack.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Client;
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Connection\Rest_Authentication;
use Automattic\Jetpack\Connection\REST_Connector;
use Automattic\Jetpack\Jetpack_CRM_Data;
-use Automattic\Jetpack\Licensing;
-use Automattic\Jetpack\Search\REST_Controller as Search_REST_Controller;
+use Automattic\Jetpack\Plugins_Installer;
use Automattic\Jetpack\Status\Host;
-
-/**
- * Register WP REST API endpoints for Jetpack.
- *
- * @author Automattic
- */
+use Automattic\Jetpack\Status\Visitor;
/**
* Disable direct access.
@@ -31,25 +30,16 @@ add_action( 'rest_api_init', array( 'Jetpack_Core_Json_Api_Endpoints', 'register
// Each of these is a class that will register its own routes on 'rest_api_init'.
require_once JETPACK__PLUGIN_DIR . '_inc/lib/core-api/load-wpcom-endpoints.php';
-// Load Search endpoints when WP REST API is initialized.
-add_action( 'rest_api_init', array( new Search_REST_Controller(), 'register_rest_routes' ) );
-
/**
* Class Jetpack_Core_Json_Api_Endpoints
*
* @since 4.3.0
*/
class Jetpack_Core_Json_Api_Endpoints {
-
/**
- * @var string Generic error message when user is not allowed to perform an action.
+ * Roles that can access Stats once they're granted access.
*
- * @deprecated 8.8.0 Use `REST_Connector::get_user_permissions_error_msg()` instead.
- */
- public static $user_permissions_error_msg;
-
- /**
- * @var array Roles that can access Stats once they're granted access.
+ * @var array
*/
public static $stats_roles;
@@ -60,16 +50,14 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function register_endpoints() {
- // Load API endpoint base classes
+ // Load API endpoint base classes.
require_once JETPACK__PLUGIN_DIR . '_inc/lib/core-api/class.jetpack-core-api-xmlrpc-consumer-endpoint.php';
- // Load API endpoints
+ // Load API endpoints.
require_once JETPACK__PLUGIN_DIR . '_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php';
require_once JETPACK__PLUGIN_DIR . '_inc/lib/core-api/class.jetpack-core-api-site-endpoints.php';
require_once JETPACK__PLUGIN_DIR . '_inc/lib/core-api/class.jetpack-core-api-widgets-endpoints.php';
- self::$user_permissions_error_msg = REST_Connector::get_user_permissions_error_msg();
-
self::$stats_roles = array( 'administrator', 'editor', 'author', 'contributor', 'subscriber' );
$ixr_client = new Jetpack_IXR_Client( array( 'user_id' => get_current_user_id() ) );
@@ -110,7 +98,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Test current connection status of Jetpack
+ // Test current connection status of Jetpack.
register_rest_route(
'jetpack/v4',
'/connection/test',
@@ -152,7 +140,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Fetches a fresh connect URL
+ // Fetches a fresh connect URL.
register_rest_route(
'jetpack/v4',
'/connection/url',
@@ -188,7 +176,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Disconnect/unlink user from WordPress.com servers
+ // Disconnect/unlink user from WordPress.com servers.
register_rest_route(
'jetpack/v4',
'/connection/user',
@@ -199,7 +187,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Get current site data
+ // Get current site data.
register_rest_route(
'jetpack/v4',
'/site',
@@ -210,7 +198,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Get current site data
+ // Get current site data.
register_rest_route(
'jetpack/v4',
'/site/features',
@@ -242,7 +230,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Get current site benefits
+ // Get current site benefits.
register_rest_route(
'jetpack/v4',
'/site/benefits',
@@ -264,7 +252,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Return all modules
+ // Return all modules.
register_rest_route(
'jetpack/v4',
'/module/all',
@@ -275,7 +263,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Activate many modules
+ // Activate many modules.
register_rest_route(
'jetpack/v4',
'/module/all/active',
@@ -303,7 +291,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Return a single module and update it when needed
+ // Return a single module and update it when needed.
register_rest_route(
'jetpack/v4',
'/module/(?P<slug>[a-z\-]+)',
@@ -314,7 +302,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Activate and deactivate a module
+ // Activate and deactivate a module.
register_rest_route(
'jetpack/v4',
'/module/(?P<slug>[a-z\-]+)/active',
@@ -333,7 +321,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Update a module
+ // Update a module.
register_rest_route(
'jetpack/v4',
'/module/(?P<slug>[a-z\-]+)',
@@ -365,7 +353,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Check if the API key for a specific service is valid or not
+ // Check if the API key for a specific service is valid or not.
register_rest_route(
'jetpack/v4',
'/module/(?P<service>[a-z\-]+)/key/check',
@@ -395,7 +383,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Update any Jetpack module option or setting
+ // Update any Jetpack module option or setting.
register_rest_route(
'jetpack/v4',
'/settings',
@@ -407,7 +395,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Update a module
+ // Update a module.
register_rest_route(
'jetpack/v4',
'/settings/(?P<slug>[a-z\-]+)',
@@ -419,7 +407,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Return all module settings
+ // Return all module settings.
register_rest_route(
'jetpack/v4',
'/settings/',
@@ -430,7 +418,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Reset all Jetpack options
+ // Reset all Jetpack options.
register_rest_route(
'jetpack/v4',
'/options/(?P<options>[a-z\-]+)',
@@ -441,7 +429,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Updates: get number of plugin updates available
+ // Updates: get number of plugin updates available.
register_rest_route(
'jetpack/v4',
'/updates/plugins',
@@ -452,7 +440,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Dismiss Jetpack Notices
+ // Dismiss Jetpack Notices.
register_rest_route(
'jetpack/v4',
'/notice/(?P<notice>[a-z\-_]+)',
@@ -559,7 +547,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Site Verify: check if the site is verified, and a get verification token if not
+ // Site Verify: check if the site is verified, and a get verification token if not.
register_rest_route(
'jetpack/v4',
'/verify-site/(?P<service>[a-z\-_]+)',
@@ -580,7 +568,7 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- // Site Verify: tell a service to verify the site
+ // Site Verify: tell a service to verify the site.
register_rest_route(
'jetpack/v4',
'/verify-site/(?P<service>[a-z\-_]+)',
@@ -680,105 +668,26 @@ class Jetpack_Core_Json_Api_Endpoints {
)
);
- /*
- * Get and update the last licensing error message.
- */
register_rest_route(
'jetpack/v4',
- '/licensing/error',
+ '/recommendations/conditional',
array(
array(
'methods' => WP_REST_Server::READABLE,
- 'callback' => __CLASS__ . '::get_licensing_error',
- 'permission_callback' => __CLASS__ . '::view_admin_page_permission_check',
- ),
- array(
- 'methods' => WP_REST_Server::EDITABLE,
- 'callback' => __CLASS__ . '::update_licensing_error',
+ 'callback' => __CLASS__ . '::get_conditional_recommendations',
'permission_callback' => __CLASS__ . '::view_admin_page_permission_check',
- 'args' => array(
- 'error' => array(
- 'required' => true,
- 'type' => 'string',
- 'validate_callback' => __CLASS__ . '::validate_string',
- 'sanitize_callback' => 'sanitize_text_field',
- ),
- ),
),
)
);
- // Return all module settings.
+ // Get site discount.
register_rest_route(
'jetpack/v4',
- '/licensing/set-license',
- array(
- 'methods' => WP_REST_Server::EDITABLE,
- 'callback' => __CLASS__ . '::set_jetpack_license',
- 'permission_callback' => __CLASS__ . '::set_jetpack_license_key_permission_check',
- 'args' => array(
- 'license' => array(
- 'required' => true,
- 'type' => 'string',
- 'validate_callback' => __CLASS__ . '::validate_string',
- 'sanitize_callback' => 'sanitize_text_field',
- ),
- ),
- )
- );
-
- /**
- * Get Jetpack user license counts.
- */
- register_rest_route(
- 'jetpack/v4',
- 'licensing/user/counts',
+ '/site/discount',
array(
'methods' => WP_REST_Server::READABLE,
- 'callback' => __CLASS__ . '::get_user_license_counts',
- 'permission_callback' => __CLASS__ . '::user_licensing_permission_check',
- )
- );
-
- /**
- * Update user-licensing activation notice dismiss info.
- */
- register_rest_route(
- 'jetpack/v4',
- 'licensing/user/activation-notice-dismiss',
- array(
- 'methods' => WP_REST_Server::EDITABLE,
- 'callback' => __CLASS__ . '::update_licensing_activation_notice_dismiss',
- 'permission_callback' => __CLASS__ . '::user_licensing_permission_check',
- 'args' => array(
- 'last_detached_count' => array(
- 'required' => true,
- 'type' => 'integer',
- 'validate_callback' => __CLASS__ . '::validate_non_neg_int',
- ),
- ),
- )
- );
-
- /**
- * Attach licenses to user account
- */
- register_rest_route(
- 'jetpack/v4',
- '/licensing/attach-licenses',
- array(
- 'methods' => WP_REST_Server::EDITABLE,
- 'callback' => __CLASS__ . '::attach_jetpack_licenses',
- 'permission_callback' => __CLASS__ . '::user_licensing_permission_check',
- 'args' => array(
- 'licenses' => array(
- 'required' => true,
- 'type' => 'array',
- 'items' => array(
- 'type' => 'string',
- ),
- ),
- ),
+ 'callback' => __CLASS__ . '::get_site_discount',
+ 'permission_callback' => __CLASS__ . '::view_admin_page_permission_check',
)
);
@@ -837,6 +746,17 @@ class Jetpack_Core_Json_Api_Endpoints {
'permission_callback' => __CLASS__ . '::manage_modules_permission_check',
)
);
+
+ // Get Jetpack introduction offers
+ register_rest_route(
+ 'jetpack/v4',
+ '/intro-offers',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_intro_offers',
+ 'permission_callback' => __CLASS__ . '::view_admin_page_permission_check',
+ )
+ );
}
/**
@@ -908,7 +828,7 @@ class Jetpack_Core_Json_Api_Endpoints {
array(
'method' => 'GET',
'headers' => array(
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
),
)
);
@@ -952,7 +872,7 @@ class Jetpack_Core_Json_Api_Endpoints {
array(
'method' => 'GET',
'headers' => array(
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
),
)
);
@@ -970,6 +890,15 @@ class Jetpack_Core_Json_Api_Endpoints {
}
/**
+ * Get conditional recommendations data.
+ *
+ * @return array Conditional recommendations data.
+ */
+ public static function get_conditional_recommendations() {
+ return Jetpack_Recommendations::get_conditional_recommendations();
+ }
+
+ /**
* Validate the recommendations data
*
* @param array $value Value to check received by request.
@@ -1029,6 +958,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return Jetpack_Options::delete_option( 'purchase_token' );
}
+ /**
+ * Get list of Jetpack Plans.
+ *
+ * @param WP_REST_Request $request The request.
+ */
public static function get_plans( $request ) {
$request = Client::wpcom_json_api_request_as_user(
'/plans?_locale=' . get_user_locale(),
@@ -1036,7 +970,7 @@ class Jetpack_Core_Json_Api_Endpoints {
array(
'method' => 'GET',
'headers' => array(
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
),
)
);
@@ -1045,7 +979,7 @@ class Jetpack_Core_Json_Api_Endpoints {
if ( 200 === wp_remote_retrieve_response_code( $request ) ) {
$data = $body;
} else {
- // something went wrong so we'll just return the response without caching
+ // something went wrong so we'll just return the response without caching.
return $body;
}
@@ -1060,14 +994,14 @@ class Jetpack_Core_Json_Api_Endpoints {
*
* @return string|WP_Error A JSON object of wpcom products if the request was successful, or a WP_Error otherwise.
*/
- public static function get_products( $request ) {
+ public static function get_products( $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$wpcom_request = Client::wpcom_json_api_request_as_user(
'/products?_locale=' . get_user_locale() . '&type=jetpack',
'2',
array(
'method' => 'GET',
'headers' => array(
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
),
)
);
@@ -1086,76 +1020,11 @@ class Jetpack_Core_Json_Api_Endpoints {
}
/**
- * Gets the users licenses counts.
- *
- * @since 10.4.0
- *
- * @return string|WP_Error A JSON object of user license counts if the request was successful, or a WP_Error otherwise.
- */
- public static function get_user_license_counts() {
- $wpcom_request = Client::wpcom_json_api_request_as_user(
- '/jetpack-licensing/user/licenses/counts',
- '2',
- array(
- 'method' => 'GET',
- 'headers' => array(
- 'Content-Type' => 'application/json',
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
- ),
- )
- );
-
- $response_code = wp_remote_retrieve_response_code( $wpcom_request );
- if ( 200 === $response_code ) {
- $license_counts = json_decode( wp_remote_retrieve_body( $wpcom_request ) );
- return $license_counts;
- } else {
- return new WP_Error(
- 'failed_to_fetch_data',
- esc_html__( 'Unable to fetch the requested data.', 'jetpack' ),
- array( 'status' => $response_code )
- );
- }
- }
-
- /**
- * Update the user-licenses activation notice dismissal data.
- *
- * @since 10.4.0
- *
- * @param WP_REST_Request $request The request sent to the WP REST API.
+ * Send Survey details to WordPress.com.
*
- * @return array|WP_Error
+ * @param WP_REST_Request $request The request.
*/
- public static function update_licensing_activation_notice_dismiss( $request ) {
-
- if ( ! isset( $request['last_detached_count'] ) ) {
- return new WP_Error( 'invalid_param', esc_html__( 'Missing parameter "last_detached_count".', 'jetpack' ), array( 'status' => 404 ) );
- }
-
- $default = array(
- 'last_detached_count' => null,
- 'last_dismissed_time' => null,
- );
- $last_detached_count = ( '' === $request['last_detached_count'] )
- ? $default['last_detached_count']
- : $request['last_detached_count'];
- $last_dismissed_time = ( '' === $request['last_detached_count'] )
- ? $default['last_dismissed_time']
- // Use UTC timezone and convert to ISO8601 format(DateTime::W3C) for best compatibility with JavaScript Date in all browsers.
- : ( new DateTime( 'NOW', new DateTimeZone( 'UTC' ) ) )->format( DateTime::W3C );
-
- $notice_data = array(
- 'last_detached_count' => $last_detached_count,
- 'last_dismissed_time' => $last_dismissed_time,
- );
-
- Jetpack_Options::update_option( 'licensing_activation_notice_dismiss', $notice_data, true );
- return rest_ensure_response( $notice_data );
- }
-
public static function submit_survey( $request ) {
-
$wpcom_request = Client::wpcom_json_api_request_as_user(
'/marketing/survey',
'v2',
@@ -1163,7 +1032,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'method' => 'POST',
'headers' => array(
'Content-Type' => 'application/json',
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
),
),
$request->get_json_params()
@@ -1173,7 +1042,7 @@ class Jetpack_Core_Json_Api_Endpoints {
if ( 200 === wp_remote_retrieve_response_code( $wpcom_request ) ) {
$data = $wpcom_request_body;
} else {
- // something went wrong so we'll just return the response without caching
+ // something went wrong so we'll just return the response without caching.
return $wpcom_request_body;
}
@@ -1214,10 +1083,10 @@ class Jetpack_Core_Json_Api_Endpoints {
$csp4 = get_option( 'seed_csp4_settings_content', array() );
if (
( Jetpack::is_plugin_active( 'mojo-marketplace-wp-plugin/mojo-marketplace.php' ) && 'true' === $mm_coming_soon )
- || Jetpack::is_plugin_active( 'mojo-under-construction/mojo-contruction.php' ) && 1 == $under_construction_activation_status // WPCS: loose comparison ok.
- || ( Jetpack::is_plugin_active( 'under-construction-page/under-construction.php' ) && isset( $ucp_options['status'] ) && 1 == $ucp_options['status'] ) // WPCS: loose comparison ok.
- || ( Jetpack::is_plugin_active( 'ultimate-under-construction/ultimate-under-construction.php' ) && isset( $uuc_settings['enable'] ) && 1 == $uuc_settings['enable'] ) // WPCS: loose comparison ok.
- || ( Jetpack::is_plugin_active( 'coming-soon/coming-soon.php' ) && isset( $csp4['status'] ) && ( 1 == $csp4['status'] || 2 == $csp4['status'] ) ) // WPCS: loose comparison ok.
+ || Jetpack::is_plugin_active( 'mojo-under-construction/mojo-contruction.php' ) && 1 == $under_construction_activation_status // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ || ( Jetpack::is_plugin_active( 'under-construction-page/under-construction.php' ) && isset( $ucp_options['status'] ) && 1 == $ucp_options['status'] ) // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ || ( Jetpack::is_plugin_active( 'ultimate-under-construction/ultimate-under-construction.php' ) && isset( $uuc_settings['enable'] ) && 1 == $uuc_settings['enable'] ) // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ || ( Jetpack::is_plugin_active( 'coming-soon/coming-soon.php' ) && isset( $csp4['status'] ) && ( 1 == $csp4['status'] || 2 == $csp4['status'] ) ) // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
/**
* Allow plugins to mark a site as "under construction".
*
@@ -1254,6 +1123,11 @@ class Jetpack_Core_Json_Api_Endpoints {
}
}
+ /**
+ * Verify site with external service.
+ *
+ * @param WP_REST_Request $request The request.
+ */
public static function verify_site( $request ) {
$xml = new Jetpack_IXR_Client(
array(
@@ -1299,7 +1173,7 @@ class Jetpack_Core_Json_Api_Endpoints {
public static function dismiss_notice( $request ) {
$notice = $request['notice'];
- if ( ! isset( $request['dismissed'] ) || $request['dismissed'] !== true ) {
+ if ( ! isset( $request['dismissed'] ) || true !== $request['dismissed'] ) {
return new WP_Error( 'invalid_param', esc_html__( 'Invalid parameter "dismissed".', 'jetpack' ), array( 'status' => 404 ) );
}
@@ -1332,7 +1206,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_user_permission_jetpack_disconnect', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_user_permission_jetpack_disconnect',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
@@ -1348,7 +1226,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_user_permission_jetpack_connect', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_user_permission_jetpack_connect',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
@@ -1366,7 +1248,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_user_permission_unlink_user', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_user_permission_unlink_user',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
/**
@@ -1381,7 +1267,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_user_permission_manage_modules', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_user_permission_manage_modules',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
/**
@@ -1396,7 +1286,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_user_permission_configure_modules', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_user_permission_configure_modules',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
/**
@@ -1411,7 +1305,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_user_permission_view_admin', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_user_permission_view_admin',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
/**
@@ -1426,7 +1324,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_user_permission_manage_settings', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_user_permission_manage_settings',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
/**
@@ -1441,7 +1343,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_user_permission_activate_plugins', REST_Connector::get_user_permissions_error_msg(), array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_user_permission_activate_plugins',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
/**
@@ -1454,7 +1360,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_user_permission_edit_others_posts', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_user_permission_edit_others_posts',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
/**
@@ -1471,22 +1381,11 @@ class Jetpack_Core_Json_Api_Endpoints {
return true;
}
- return new WP_Error( 'invalid_permission_manage_purchase_token', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
- }
-
- /**
- * Verify that user can view and update user-licensing data.
- *
- * @return bool Whether the user is currently connected and they are the connection owner.
- */
- public static function user_licensing_permission_check() {
- $connection_manager = new Connection_Manager( 'jetpack' );
-
- if ( $connection_manager->is_user_connected() && $connection_manager->is_connection_owner() ) {
- return true;
- }
-
- return new WP_Error( 'invalid_permission_manage_user_licenses', REST_Connector::get_user_permissions_error_msg(), array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error(
+ 'invalid_permission_manage_purchase_token',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
}
/**
@@ -1520,16 +1419,17 @@ class Jetpack_Core_Json_Api_Endpoints {
* @return bool
*/
public static function view_jetpack_connection_test_check() {
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended -- This is verifying the trusted caller via a shared private key and timestamp.
if ( ! isset( $_GET['signature'], $_GET['timestamp'], $_GET['url'] ) ) {
return false;
}
- $signature = base64_decode( $_GET['signature'] );
+ $signature = base64_decode( wp_unslash( $_GET['signature'] ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
$signature_data = wp_json_encode(
array(
- 'rest_route' => $_GET['rest_route'],
- 'timestamp' => (int) $_GET['timestamp'],
- 'url' => wp_unslash( $_GET['url'] ),
+ 'rest_route' => isset( $_GET['rest_route'] ) ? filter_var( wp_unslash( $_GET['rest_route'] ) ) : null,
+ 'timestamp' => (int) $_GET['timestamp'],
+ 'url' => esc_url_raw( wp_unslash( $_GET['url'] ) ),
)
);
@@ -1544,11 +1444,13 @@ class Jetpack_Core_Json_Api_Endpoints {
return false;
}
- // signature timestamp must be within 5min of current time
+ // signature timestamp must be within 5min of current time.
if ( abs( time() - (int) $_GET['timestamp'] ) > 300 ) {
return false;
}
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended
+
return true;
}
@@ -1617,6 +1519,9 @@ class Jetpack_Core_Json_Api_Endpoints {
);
}
+ /**
+ * Fetch information about the Rewind status of the site.
+ */
public static function rewind_data() {
$site_id = Jetpack_Options::get_option( 'id' );
@@ -1778,7 +1683,7 @@ class Jetpack_Core_Json_Api_Endpoints {
public static function disconnect_site( $request ) {
_deprecated_function( __METHOD__, 'jetpack-10.0.0', '\Automattic\Jetpack\Connection\REST_Connector::disconnect_site' );
- if ( ! isset( $request['isActive'] ) || $request['isActive'] !== false ) {
+ if ( ! isset( $request['isActive'] ) || false !== $request['isActive'] ) {
return new WP_Error( 'invalid_param', esc_html__( 'Invalid Parameter', 'jetpack' ), array( 'status' => 404 ) );
}
@@ -1818,7 +1723,7 @@ class Jetpack_Core_Json_Api_Endpoints {
return rest_ensure_response(
array(
- 'authorizeUrl' => Jetpack::build_authorize_url( false, true ),
+ 'authorizeUrl' => Jetpack::build_authorize_url( false ),
)
);
}
@@ -1884,7 +1789,7 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function unlink_user( $request ) {
- if ( ! isset( $request['linked'] ) || $request['linked'] !== false ) {
+ if ( ! isset( $request['linked'] ) || false !== $request['linked'] ) {
return new WP_Error( 'invalid_param', esc_html__( 'Invalid Parameter', 'jetpack' ), array( 'status' => 404 ) );
}
@@ -1908,7 +1813,7 @@ class Jetpack_Core_Json_Api_Endpoints {
*
* @return WP_REST_Response|WP_Error Response, else error.
*/
- public static function get_user_tracking_settings( $request ) {
+ public static function get_user_tracking_settings( $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
if ( ! ( new Connection_Manager( 'jetpack' ) )->is_user_connected() ) {
$response = array(
'tracks_opt_out' => true, // Default to opt-out if not connected to wp.com.
@@ -1920,7 +1825,7 @@ class Jetpack_Core_Json_Api_Endpoints {
array(
'method' => 'GET',
'headers' => array(
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
),
)
);
@@ -1954,7 +1859,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'method' => 'PUT',
'headers' => array(
'Content-Type' => 'application/json',
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
),
),
wp_json_encode( $request->get_params() )
@@ -1985,7 +1890,7 @@ class Jetpack_Core_Json_Api_Endpoints {
// Allow use a store sandbox. Internal ref: PCYsg-IA-p2.
if ( isset( $_COOKIE ) && isset( $_COOKIE['store_sandbox'] ) ) {
- $secret = $_COOKIE['store_sandbox'];
+ $secret = filter_var( wp_unslash( $_COOKIE['store_sandbox'] ) );
$args['headers']['Cookie'] = "store_sandbox=$secret;";
}
@@ -2032,7 +1937,7 @@ class Jetpack_Core_Json_Api_Endpoints {
array(
'code' => 'success',
'message' => esc_html__( 'Site data correctly received.', 'jetpack' ),
- 'data' => json_encode( $site_data ),
+ 'data' => wp_json_encode( $site_data ),
)
);
}
@@ -2081,7 +1986,7 @@ class Jetpack_Core_Json_Api_Endpoints {
array(
'method' => 'GET',
'headers' => array(
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
),
),
null,
@@ -2103,7 +2008,7 @@ class Jetpack_Core_Json_Api_Endpoints {
return new WP_Error(
'activity_not_found',
esc_html__( 'No activity found', 'jetpack' ),
- array( 'status' => 204 ) // no content
+ array( 'status' => 204 ) // no content.
);
}
@@ -2116,6 +2021,62 @@ class Jetpack_Core_Json_Api_Endpoints {
}
/**
+ * Fetch the discount for this site and return it.
+ *
+ * @since 10.8
+ *
+ * @return array|WP_Error
+ */
+ public static function get_site_discount() {
+ $site_id = Jetpack_Options::get_option( 'id' );
+
+ if ( ! $site_id ) {
+ return new WP_Error(
+ 'site_id_missing',
+ esc_html__( 'Site ID is missing.', 'jetpack' ),
+ array( 'status' => 400 )
+ );
+ }
+
+ $response = Client::wpcom_json_api_request_as_user(
+ "/sites/$site_id/discount",
+ '2',
+ array(
+ 'method' => 'GET',
+ 'headers' => array(
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
+ ),
+ )
+ );
+
+ $response_code = wp_remote_retrieve_response_code( $response );
+ $data = json_decode( wp_remote_retrieve_body( $response ) );
+
+ if ( 200 !== $response_code ) {
+ return new WP_Error(
+ 'discount_fetch_failed',
+ is_object( $data ) && property_exists( $data, 'error' ) ? $data->error : esc_html__( 'Could not retrieve site discount.', 'jetpack' ),
+ array( 'status' => $response_code )
+ );
+ }
+
+ if ( ! isset( $data ) ) {
+ return new WP_Error(
+ 'discount_parse_error',
+ esc_html__( 'Could not parse discount', 'jetpack' ),
+ array( 'status' => 204 ) // no content.
+ );
+ }
+
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'data' => $data,
+ )
+ );
+ }
+
+ /**
* Reset Jetpack options
*
* @since 4.3.0
@@ -2130,18 +2091,19 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function reset_jetpack_options( $request ) {
- if ( ! isset( $request['reset'] ) || $request['reset'] !== true ) {
+ if ( ! isset( $request['reset'] ) || true !== $request['reset'] ) {
return new WP_Error( 'invalid_param', esc_html__( 'Invalid Parameter', 'jetpack' ), array( 'status' => 404 ) );
}
if ( isset( $request['options'] ) ) {
- $data = $request['options'];
+ $data = $request['options'];
+ $message = '';
switch ( $data ) {
case ( 'options' ):
$options_to_reset = Jetpack::get_jetpack_options_for_reset();
- // Reset the Jetpack options
+ // Reset the Jetpack options.
foreach ( $options_to_reset['jp_options'] as $option_to_reset ) {
Jetpack_Options::delete_option( $option_to_reset );
}
@@ -2150,32 +2112,28 @@ class Jetpack_Core_Json_Api_Endpoints {
delete_option( $option_to_reset );
}
- // Reset to default modules
+ // Reset to default modules.
$default_modules = Jetpack::get_default_modules();
Jetpack::update_active_modules( $default_modules );
+ $message = esc_html__( 'Jetpack options reset.', 'jetpack' );
- return rest_ensure_response(
- array(
- 'code' => 'success',
- 'message' => esc_html__( 'Jetpack options reset.', 'jetpack' ),
- )
- );
break;
-
case 'modules':
$default_modules = Jetpack::get_default_modules();
Jetpack::update_active_modules( $default_modules );
- return rest_ensure_response(
- array(
- 'code' => 'success',
- 'message' => esc_html__( 'Modules reset to default.', 'jetpack' ),
- )
- );
- break;
+ $message = esc_html__( 'Modules reset to default.', 'jetpack' );
+ break;
default:
return new WP_Error( 'invalid_param', esc_html__( 'Invalid Parameter', 'jetpack' ), array( 'status' => 404 ) );
}
+
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'message' => $message,
+ )
+ );
}
return new WP_Error( 'required_param', esc_html__( 'Missing parameter "type".', 'jetpack' ), array( 'status' => 404 ) );
@@ -2217,6 +2175,14 @@ class Jetpack_Core_Json_Api_Endpoints {
public static function get_updateable_data_list( $selector = '' ) {
$options = array(
+ // Blocks.
+ 'jetpack_blocks_disabled' => array(
+ 'description' => esc_html__( 'Jetpack Blocks disabled.', 'jetpack' ),
+ 'type' => 'boolean',
+ 'default' => false,
+ 'validate_callback' => __CLASS__ . '::validate_boolean',
+ 'jp_group' => 'settings',
+ ),
// Carousel
'carousel_background_color' => array(
@@ -2257,7 +2223,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'carousel',
),
- // Comments
+ // Comments.
'highlander_comment_form_prompt' => array(
'description' => esc_html__( 'Greeting Text', 'jetpack' ),
'type' => 'string',
@@ -2283,7 +2249,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'comments',
),
- // Custom Content Types
+ // Custom Content Types.
'jetpack_portfolio' => array(
'description' => esc_html__( 'Enable or disable Jetpack portfolio post type.', 'jetpack' ),
'type' => 'boolean',
@@ -2313,7 +2279,38 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'custom-content-types',
),
- // Galleries
+ // WAF.
+ 'jetpack_waf_ip_list' => array(
+ 'description' => esc_html__( 'Allow / Block list - Block or allow a specific request IP.', 'jetpack' ),
+ 'type' => 'boolean',
+ 'default' => 0,
+ 'validate_callback' => __CLASS__ . '::validate_boolean',
+ 'jp_group' => 'waf',
+ ),
+ 'jetpack_waf_ip_block_list' => array(
+ 'description' => esc_html__( 'Blocked IP addresses', 'jetpack' ),
+ 'type' => 'string',
+ 'default' => '',
+ 'validate_callback' => __CLASS__ . '::validate_string',
+ 'sanitize_callback' => 'esc_textarea',
+ 'jp_group' => 'waf',
+ ),
+ 'jetpack_waf_ip_allow_list' => array(
+ 'description' => esc_html__( 'Always allowed IP addresses', 'jetpack' ),
+ 'type' => 'string',
+ 'default' => '',
+ 'validate_callback' => __CLASS__ . '::validate_string',
+ 'sanitize_callback' => 'esc_textarea',
+ 'jp_group' => 'waf',
+ ),
+ 'jetpack_waf_share_data' => array(
+ 'description' => esc_html__( 'Share data with Jetpack.', 'jetpack' ),
+ 'type' => 'boolean',
+ 'default' => 0,
+ 'validate_callback' => __CLASS__ . '::validate_boolean',
+ 'jp_group' => 'waf',
+ ),
+ // Galleries.
'tiled_galleries' => array(
'description' => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
'type' => 'boolean',
@@ -2339,7 +2336,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'gravatar-hovercards',
),
- // Infinite Scroll
+ // Infinite Scroll.
'infinite_scroll' => array(
'description' => esc_html__( 'To infinity and beyond', 'jetpack' ),
'type' => 'boolean',
@@ -2355,7 +2352,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'infinite-scroll',
),
- // Likes
+ // Likes.
'wpl_default' => array(
'description' => esc_html__( 'WordPress.com Likes are', 'jetpack' ),
'type' => 'string',
@@ -2379,7 +2376,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'likes',
),
- // Markdown
+ // Markdown.
'wpcom_publish_comments_with_markdown' => array(
'description' => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
'type' => 'boolean',
@@ -2395,7 +2392,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'markdown',
),
- // Monitor
+ // Monitor.
'monitor_receive_notifications' => array(
'description' => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
'type' => 'boolean',
@@ -2404,7 +2401,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'monitor',
),
- // Post by Email
+ // Post by Email.
'post_by_email_address' => array(
'description' => esc_html__( 'Email Address', 'jetpack' ),
'type' => 'string',
@@ -2425,7 +2422,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'post-by-email',
),
- // Protect
+ // Protect.
'jetpack_protect_key' => array(
'description' => esc_html__( 'Protect API key', 'jetpack' ),
'type' => 'string',
@@ -2442,7 +2439,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'protect',
),
- // Sharing
+ // Sharing.
'sharing_services' => array(
'description' => esc_html__( 'Enabled Services and those hidden behind a button', 'jetpack' ),
'type' => 'object',
@@ -2525,7 +2522,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'sharedaddy',
),
- // SSO
+ // SSO.
'jetpack_sso_require_two_step' => array(
'description' => esc_html__( 'Require Two-Step Authentication', 'jetpack' ),
'type' => 'boolean',
@@ -2541,7 +2538,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'sso',
),
- // Subscriptions
+ // Subscriptions.
'stb_enabled' => array(
'description' => esc_html__( "Show a <em>'follow blog'</em> option in the comment form", 'jetpack' ),
'type' => 'boolean',
@@ -2564,7 +2561,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'subscriptions',
),
- // Related Posts
+ // Related Posts.
'show_headline' => array(
'description' => esc_html__( 'Highlight related content with a heading', 'jetpack' ),
'type' => 'boolean',
@@ -2605,7 +2602,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'search',
),
- // Verification Tools
+ // Verification Tools.
'google' => array(
'description' => esc_html__( 'Google Search Console', 'jetpack' ),
'type' => 'string',
@@ -2723,7 +2720,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'wordads',
),
- // Google Analytics
+ // Google Analytics.
'google_analytics_tracking_id' => array(
'description' => esc_html__( 'Google Analytics', 'jetpack' ),
'type' => 'string',
@@ -2732,7 +2729,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'google-analytics',
),
- // Stats
+ // Stats.
'admin_bar' => array(
'description' => esc_html__( 'Include a small chart in your admin bar with a 48-hour traffic snapshot.', 'jetpack' ),
'type' => 'boolean',
@@ -2807,7 +2804,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'settings',
),
- // Apps card on dashboard
+ // Apps card on dashboard.
'dismiss_dash_app_card' => array(
'description' => '',
'type' => 'boolean',
@@ -2816,7 +2813,7 @@ class Jetpack_Core_Json_Api_Endpoints {
'jp_group' => 'settings',
),
- // Empty stats card dismiss
+ // Empty stats card dismiss.
'dismiss_empty_stats_card' => array(
'description' => '',
'type' => 'boolean',
@@ -2878,9 +2875,18 @@ class Jetpack_Core_Json_Api_Endpoints {
'sanitize_callback' => 'Jetpack_SEO_Titles::sanitize_title_formats',
),
+ // VideoPress.
+ 'videopress_private_enabled_for_site' => array(
+ 'description' => esc_html__( 'Video Privacy: Restrict views to members of this site', 'jetpack' ),
+ 'type' => 'boolean',
+ 'default' => 0,
+ 'validate_callback' => __CLASS__ . '::validate_boolean',
+ 'jp_group' => 'videopress',
+ ),
+
);
- // Add modules to list so they can be toggled
+ // Add modules to list so they can be toggled.
$modules = Jetpack::get_available_modules();
if ( is_array( $modules ) && ! empty( $modules ) ) {
$module_args = array(
@@ -2897,13 +2903,13 @@ class Jetpack_Core_Json_Api_Endpoints {
if ( is_array( $selector ) ) {
- // Return only those options whose keys match $selector keys
+ // Return only those options whose keys match $selector keys.
return array_intersect_key( $options, $selector );
}
if ( 'any' === $selector ) {
- // Toggle module or update any module option or any general setting
+ // Toggle module or update any module option or any general setting.
return $options;
}
@@ -2966,7 +2972,14 @@ class Jetpack_Core_Json_Api_Endpoints {
public static function validate_boolean( $value, $request, $param ) {
// phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict -- Other code depends on loose comparison here.
if ( ! is_bool( $value ) && ! ( ctype_digit( (string) $value ) && in_array( $value, array( 0, 1 ) ) ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be true, false, 0 or 1.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s must be true, false, 0 or 1.', 'jetpack' ),
+ $param
+ )
+ );
}
return true;
}
@@ -2984,7 +2997,14 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function validate_posint( $value, $request, $param ) {
if ( ! is_numeric( $value ) || $value <= 0 ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be a positive integer.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s must be a positive integer.', 'jetpack' ),
+ $param
+ )
+ );
}
return true;
}
@@ -3025,14 +3045,23 @@ class Jetpack_Core_Json_Api_Endpoints {
public static function validate_list_item( $value, $request, $param ) {
$attributes = $request->get_attributes();
if ( ! isset( $attributes['args'][ $param ] ) || ! is_array( $attributes['args'][ $param ] ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s not recognized', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s not recognized', 'jetpack' ),
+ $param
+ )
+ );
}
$args = $attributes['args'][ $param ];
if ( ! empty( $args['enum'] ) ) {
-
// If it's an associative array, use the keys to check that the value is among those admitted.
- $enum = ( count( array_filter( array_keys( $args['enum'] ), 'is_string' ) ) > 0 ) ? array_keys( $args['enum'] ) : $args['enum'];
- if ( ! in_array( $value, $enum ) ) {
+ $enum = ( count( array_filter( array_keys( $args['enum'] ), 'is_string' ) ) > 0 )
+ ? array_keys( $args['enum'] )
+ : $args['enum'];
+ $enum = array_map( 'strval', $enum );
+ if ( ! in_array( $value, $enum, true ) ) {
return new WP_Error(
'invalid_param_value',
sprintf(
@@ -3060,13 +3089,27 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function validate_module_list( $value, $request, $param ) {
if ( ! is_array( $value ) ) {
- return new WP_Error( 'invalid_param_value', sprintf( esc_html__( '%s must be an array', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param_value',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s must be an array', 'jetpack' ),
+ $param
+ )
+ );
}
$modules = Jetpack::get_available_modules();
- if ( count( array_intersect( $value, $modules ) ) != count( $value ) ) {
- return new WP_Error( 'invalid_param_value', sprintf( esc_html__( '%s must be a list of valid modules', 'jetpack' ), $param ) );
+ if ( count( array_intersect( $value, $modules ) ) !== count( $value ) ) {
+ return new WP_Error(
+ 'invalid_param_value',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s must be a list of valid modules', 'jetpack' ),
+ $param
+ )
+ );
}
return true;
@@ -3085,7 +3128,14 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function validate_alphanum( $value, $request, $param ) {
if ( ! empty( $value ) && ( ! is_string( $value ) || ! preg_match( '/^[a-z0-9]+$/i', $value ) ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be an alphanumeric string.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s must be an alphanumeric string.', 'jetpack' ),
+ $param
+ )
+ );
}
return true;
}
@@ -3095,15 +3145,22 @@ class Jetpack_Core_Json_Api_Endpoints {
*
* @since 4.6.0
*
- * @param string $value Value to check.
- * @param WP_REST_Request $request
- * @param string $param Name of the parameter passed to endpoint holding $value.
+ * @param string $value Value to check.
+ * @param WP_REST_Request $request The request sent to the WP REST API.
+ * @param string $param Name of the parameter passed to endpoint holding $value.
*
* @return bool|WP_Error
*/
public static function validate_verification_service( $value, $request, $param ) {
if ( ! empty( $value ) && ! ( is_string( $value ) && ( preg_match( '/^[a-z0-9_-]+$/i', $value ) || jetpack_verification_get_code( $value ) !== false ) ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be an alphanumeric string or a verification tag.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a verification string used to verify a service like Google Webmaster Console. */
+ esc_html__( '%s must be an alphanumeric string or a verification tag.', 'jetpack' ),
+ $param
+ )
+ );
}
return true;
}
@@ -3124,7 +3181,7 @@ class Jetpack_Core_Json_Api_Endpoints {
return new WP_Error(
'invalid_param',
sprintf(
- /* Translators: first variable is the name of a parameter passed to endpoint holding the role that will be checked, the second is a list of roles allowed to see stats. The parameter is checked against this list. */
+ /* Translators: first variable is the name of a parameter passed to endpoint holding the role that will be checked, the second is a list of roles allowed to see stats. The parameter is checked against this list. */
esc_html__( '%1$s must be %2$s.', 'jetpack' ),
$param,
join( ', ', self::$stats_roles )
@@ -3148,13 +3205,20 @@ class Jetpack_Core_Json_Api_Endpoints {
public static function validate_sharing_show( $value, $request, $param ) {
$views = array( 'index', 'post', 'page', 'attachment', 'jetpack-portfolio' );
if ( ! is_array( $value ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be an array of post types.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s must be an array of post types.', 'jetpack' ),
+ $param
+ )
+ );
}
if ( ! array_intersect( $views, $value ) ) {
return new WP_Error(
'invalid_param',
sprintf(
- /* Translators: first variable is the name of a parameter passed to endpoint holding the post type where Sharing will be displayed, the second is a list of post types where Sharing can be displayed */
+ /* Translators: first variable is the name of a parameter passed to endpoint holding the post type where Sharing will be displayed, the second is a list of post types where Sharing can be displayed */
esc_html__( '%1$s must be %2$s.', 'jetpack' ),
$param,
join( ', ', $views )
@@ -3182,7 +3246,14 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function validate_services( $value, $request, $param ) {
if ( ! is_array( $value ) || ! isset( $value['visible'] ) || ! isset( $value['hidden'] ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be an array with visible and hidden items.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s must be an array with visible and hidden items.', 'jetpack' ),
+ $param
+ )
+ );
}
// Allow to clear everything.
@@ -3203,7 +3274,7 @@ class Jetpack_Core_Json_Api_Endpoints {
return new WP_Error(
'invalid_param',
sprintf(
- /* Translators: placeholder 1 is a parameter holding the services passed to endpoint, placeholder 2 is a list of all Jetpack Sharing services */
+ /* Translators: placeholder 1 is a parameter holding the services passed to endpoint, placeholder 2 is a list of all Jetpack Sharing services */
esc_html__( '%1$s visible and hidden items must be a list of %2$s.', 'jetpack' ),
$param,
join( ', ', $services )
@@ -3226,7 +3297,14 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function validate_custom_service( $value, $request, $param ) {
if ( ! is_array( $value ) || ! isset( $value['sharing_name'] ) || ! isset( $value['sharing_url'] ) || ! isset( $value['sharing_icon'] ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be an array with sharing name, url and icon.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s must be an array with sharing name, url and icon.', 'jetpack' ),
+ $param
+ )
+ );
}
// Allow to clear everything.
@@ -3241,7 +3319,14 @@ class Jetpack_Core_Json_Api_Endpoints {
if ( ( ! empty( $value['sharing_name'] ) && ! is_string( $value['sharing_name'] ) )
|| ( ! empty( $value['sharing_url'] ) && ! is_string( $value['sharing_url'] ) )
|| ( ! empty( $value['sharing_icon'] ) && ! is_string( $value['sharing_icon'] ) ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s needs sharing name, url and icon.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s needs sharing name, url and icon.', 'jetpack' ),
+ $param
+ )
+ );
}
return true;
}
@@ -3259,17 +3344,31 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function validate_custom_service_id( $value, $request, $param ) {
if ( ! empty( $value ) && ( ! is_string( $value ) || ! preg_match( '/custom\-[0-1]+/i', $value ) ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( "%s must be a string prefixed with 'custom-' and followed by a numeric ID.", 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( "%s must be a string prefixed with 'custom-' and followed by a numeric ID.", 'jetpack' ),
+ $param
+ )
+ );
}
if ( ! class_exists( 'Sharing_Service' ) && ! include_once JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) {
return new WP_Error( 'invalid_param', esc_html__( 'Failed loading required dependency Sharing_Service.', 'jetpack' ) );
}
$sharer = new Sharing_Service();
- $services = array_keys( $sharer->get_all_services() );
+ $services = $sharer->get_all_services();
- if ( ! empty( $value ) && ! in_array( $value, $services ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s is not a registered custom sharing service.', 'jetpack' ), $param ) );
+ if ( ! empty( $value ) && ! isset( $services[ $value ] ) ) {
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s is not a registered custom sharing service.', 'jetpack' ),
+ $param
+ )
+ );
}
return true;
@@ -3280,15 +3379,22 @@ class Jetpack_Core_Json_Api_Endpoints {
*
* @since 4.3.0
*
- * @param string $value Value to check.
- * @param WP_REST_Request $request
- * @param string $param Name of the parameter passed to endpoint holding $value.
+ * @param string $value Value to check.
+ * @param WP_REST_Request $request The request sent to the WP REST API.
+ * @param string $param Name of the parameter passed to endpoint holding $value.
*
* @return bool|WP_Error
*/
public static function validate_twitter_username( $value, $request, $param ) {
if ( ! empty( $value ) && ( ! is_string( $value ) || ! preg_match( '/^@?\w{1,15}$/i', $value ) ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be a Twitter username.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a twitter name. */
+ esc_html__( '%s must be a Twitter username.', 'jetpack' ),
+ $param
+ )
+ );
}
return true;
}
@@ -3306,7 +3412,14 @@ class Jetpack_Core_Json_Api_Endpoints {
*/
public static function validate_string( $value, $request, $param ) {
if ( ! is_string( $value ) ) {
- return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be a string.', 'jetpack' ), $param ) );
+ return new WP_Error(
+ 'invalid_param',
+ sprintf(
+ /* Translators: Placeholder is a parameter name. */
+ esc_html__( '%s must be a string.', 'jetpack' ),
+ $param
+ )
+ );
}
return true;
}
@@ -3399,12 +3512,12 @@ class Jetpack_Core_Json_Api_Endpoints {
$news_sitemap_url = home_url( $location . '/?jetpack-sitemap=news-sitemap.xml' );
}
- if ( is_null( $slug ) && isset( $modules['sitemaps'] ) ) {
- // Is a list of modules
+ if ( $slug === null && isset( $modules['sitemaps'] ) ) {
+ // Is a list of modules.
$modules['sitemaps']['extra']['sitemap_url'] = $sitemap_url;
$modules['sitemaps']['extra']['news_sitemap_url'] = $news_sitemap_url;
- } elseif ( 'sitemaps' == $slug ) {
- // It's a single module
+ } elseif ( 'sitemaps' === $slug ) {
+ // It's a single module.
$modules['extra']['sitemap_url'] = $sitemap_url;
$modules['extra']['news_sitemap_url'] = $news_sitemap_url;
}
@@ -3432,17 +3545,17 @@ class Jetpack_Core_Json_Api_Endpoints {
switch ( $module ) {
case 'monitor':
- // Status of user notifications
+ // Status of user notifications.
$options['monitor_receive_notifications']['current_value'] = self::cast_value( self::get_remote_value( 'monitor', 'monitor_receive_notifications' ), $options['monitor_receive_notifications'] );
break;
case 'post-by-email':
- // Email address
+ // Email address.
$options['post_by_email_address']['current_value'] = self::cast_value( self::get_remote_value( 'post-by-email', 'post_by_email_address' ), $options['post_by_email_address'] );
break;
case 'protect':
- // Protect
+ // Protect.
$options['jetpack_protect_key']['current_value'] = get_site_option( 'jetpack_protect_key', false );
if ( ! function_exists( 'jetpack_protect_format_whitelist' ) ) {
include_once JETPACK__PLUGIN_DIR . 'modules/protect/shared-functions.php';
@@ -3464,7 +3577,7 @@ class Jetpack_Core_Json_Api_Endpoints {
$wga = get_option( 'jetpack_wga' );
$code = '';
if ( is_array( $wga ) && array_key_exists( 'code', $wga ) ) {
- $code = $wga[ 'code' ];
+ $code = $wga['code'];
}
$options['google_analytics_tracking_id']['current_value'] = $code;
break;
@@ -3503,7 +3616,7 @@ class Jetpack_Core_Json_Api_Endpoints {
// At this point some options have current_value not set because they're options
// that only get written on update, so we set current_value to the default one.
foreach ( $options as $key => $value ) {
- // We don't need validate_callback in the response
+ // We don't need validate_callback in the response.
if ( isset( $options[ $key ]['validate_callback'] ) ) {
unset( $options[ $key ]['validate_callback'] );
}
@@ -3549,7 +3662,7 @@ class Jetpack_Core_Json_Api_Endpoints {
* @return bool|float|int|string
*/
public static function cast_value( $value, $definition ) {
- if ( $value === 'NULL' ) {
+ if ( 'NULL' === $value ) {
return null;
}
@@ -3561,19 +3674,19 @@ class Jetpack_Core_Json_Api_Endpoints {
} elseif ( 'false' === $value || 'off' === $value ) {
return false;
}
- return (bool) $value;
+ $value = (bool) $value;
break;
case 'integer':
- return (int) $value;
+ $value = (int) $value;
break;
case 'float':
- return (float) $value;
+ $value = (float) $value;
break;
case 'string':
- return (string) $value;
+ $value = (string) $value;
break;
}
}
@@ -3625,14 +3738,14 @@ class Jetpack_Core_Json_Api_Endpoints {
return false;
}
$value = Jetpack_Post_By_Email::init()->get_post_by_email_address();
- if ( $value === null ) {
- $value = 'NULL'; // sentinel value so it actually gets set
+ if ( null === $value ) {
+ $value = 'NULL'; // sentinel value so it actually gets set.
}
break;
}
// Normalize value to boolean.
- if ( is_wp_error( $value ) || is_null( $value ) ) {
+ if ( is_wp_error( $value ) || $value === null ) {
$value = false;
}
@@ -3653,7 +3766,7 @@ class Jetpack_Core_Json_Api_Endpoints {
$updates = wp_get_update_data();
if ( isset( $updates['counts'] ) && isset( $updates['counts']['plugins'] ) ) {
$count = $updates['counts']['plugins'];
- if ( 0 == $count ) {
+ if ( 0 === $count ) {
$response = array(
'code' => 'success',
'message' => esc_html__( 'All plugins are up-to-date. Keep up the good work!', 'jetpack' ),
@@ -3662,7 +3775,13 @@ class Jetpack_Core_Json_Api_Endpoints {
} else {
$response = array(
'code' => 'updates-available',
- 'message' => esc_html( sprintf( _n( '%s plugin need updating.', '%s plugins need updating.', $count, 'jetpack' ), $count ) ),
+ 'message' => esc_html(
+ sprintf(
+ /* Translators: placeholders are numbers. */
+ _n( '%s plugin needs updating.', '%s plugins need updating.', $count, 'jetpack' ),
+ $count
+ )
+ ),
'count' => $count,
);
}
@@ -3680,8 +3799,7 @@ class Jetpack_Core_Json_Api_Endpoints {
* @return WP_REST_Response|WP_Error List of plugins in the site. Otherwise, a WP_Error instance with the corresponding error.
*/
public static function get_plugins() {
- jetpack_require_lib( 'plugins' );
- $plugins = Jetpack_Plugins::get_plugins();
+ $plugins = Plugins_Installer::get_plugins();
if ( ! empty( $plugins ) ) {
return rest_ensure_response( $plugins );
@@ -3708,14 +3826,12 @@ class Jetpack_Core_Json_Api_Endpoints {
public static function install_plugin( $request ) {
$plugin = stripslashes( $request['slug'] );
- jetpack_require_lib( 'plugins' );
-
// Let's make sure the plugin isn't already installed.
- $plugin_id = Jetpack_Plugins::get_plugin_id_by_slug( $plugin );
+ $plugin_id = Plugins_Installer::get_plugin_id_by_slug( $plugin );
// If not installed, let's install now.
if ( ! $plugin_id ) {
- $result = Jetpack_Plugins::install_plugin( $plugin );
+ $result = Plugins_Installer::install_plugin( $plugin );
if ( is_wp_error( $result ) ) {
return new WP_Error(
@@ -3756,7 +3872,7 @@ class Jetpack_Core_Json_Api_Endpoints {
* Let's check again for the plugin's ID if we don't already have it.
*/
if ( ! $plugin_id ) {
- $plugin_id = Jetpack_Plugins::get_plugin_id_by_slug( $plugin );
+ $plugin_id = Plugins_Installer::get_plugin_id_by_slug( $plugin );
if ( ! $plugin_id ) {
return new WP_Error(
'unable_to_determine_installed_plugin',
@@ -3803,8 +3919,7 @@ class Jetpack_Core_Json_Api_Endpoints {
);
}
- jetpack_require_lib( 'plugins' );
- $plugins = Jetpack_Plugins::get_plugins();
+ $plugins = Plugins_Installer::get_plugins();
if ( empty( $plugins ) ) {
return new WP_Error( 'no_plugins_found', esc_html__( 'This site has no plugins.', 'jetpack' ), array( 'status' => 404 ) );
@@ -3817,7 +3932,7 @@ class Jetpack_Core_Json_Api_Endpoints {
$plugin = $request['plugin'] . '.php';
// Is the plugin installed?
- if ( ! in_array( $plugin, array_keys( $plugins ), true ) ) {
+ if ( ! array_key_exists( $plugin, $plugins ) ) {
return new WP_Error(
'plugin_not_found',
esc_html(
@@ -3832,7 +3947,7 @@ class Jetpack_Core_Json_Api_Endpoints {
}
// Is the plugin active already?
- $status = Jetpack_Plugins::get_plugin_status( $plugin );
+ $status = Plugins_Installer::get_plugin_status( $plugin );
if ( in_array( $status, array( 'active', 'network-active' ), true ) ) {
return new WP_Error(
'plugin_already_active',
@@ -3903,8 +4018,7 @@ class Jetpack_Core_Json_Api_Endpoints {
* @return bool|WP_Error True if module was activated. Otherwise, a WP_Error instance with the corresponding error.
*/
public static function get_plugin( $request ) {
- jetpack_require_lib( 'plugins' );
- $plugins = Jetpack_Plugins::get_plugins();
+ $plugins = Plugins_Installer::get_plugins();
if ( empty( $plugins ) ) {
return new WP_Error( 'no_plugins_found', esc_html__( 'This site has no plugins.', 'jetpack' ), array( 'status' => 404 ) );
@@ -3912,13 +4026,23 @@ class Jetpack_Core_Json_Api_Endpoints {
$plugin = stripslashes( $request['plugin'] );
- if ( ! in_array( $plugin, array_keys( $plugins ) ) ) {
- return new WP_Error( 'plugin_not_found', esc_html( sprintf( __( 'Plugin %s is not installed.', 'jetpack' ), $plugin ) ), array( 'status' => 404 ) );
+ if ( ! array_key_exists( $plugin, $plugins ) ) {
+ return new WP_Error(
+ 'plugin_not_found',
+ esc_html(
+ sprintf(
+ /* Translators: placeholder is a plugin name. */
+ __( 'Plugin %s is not installed.', 'jetpack' ),
+ $plugin
+ )
+ ),
+ array( 'status' => 404 )
+ );
}
$plugin_data = $plugins[ $plugin ];
- $plugin_data['active'] = in_array( Jetpack_Plugins::get_plugin_status( $plugin ), array( 'active', 'network-active' ), true );
+ $plugin_data['active'] = in_array( Plugins_Installer::get_plugin_status( $plugin ), array( 'active', 'network-active' ), true );
return rest_ensure_response(
array(
@@ -3936,7 +4060,7 @@ class Jetpack_Core_Json_Api_Endpoints {
* @param WP_REST_REQUEST $request The request parameters.
* @return bool|WP_Error
*/
- public static function send_mobile_magic_link( $request ) {
+ public static function send_mobile_magic_link( $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$xml = new Jetpack_IXR_Client(
array(
'user_id' => get_current_user_id(),
@@ -3955,8 +4079,6 @@ class Jetpack_Core_Json_Api_Endpoints {
);
}
- $response = $xml->getResponse();
-
return rest_ensure_response(
array(
'code' => 'success',
@@ -3965,74 +4087,6 @@ class Jetpack_Core_Json_Api_Endpoints {
}
/**
- * Get the last licensing error message, if any.
- *
- * @since 9.0.0
- *
- * @return string Licensing error message or empty string.
- */
- public static function get_licensing_error() {
- return Licensing::instance()->last_error();
- }
-
- /**
- * Update the last licensing error message.
- *
- * @since 9.0.0
- *
- * @param WP_REST_Request $request The request.
- *
- * @return bool true.
- */
- public static function update_licensing_error( $request ) {
- Licensing::instance()->log_error( $request['error'] );
-
- return true;
- }
-
- /**
- * Set a Jetpack license
- *
- * @since 9.6.0
- *
- * @param WP_REST_Request $request The request.
- *
- * @return WP_REST_Response|WP_Error A response object if the option was successfully updated, or a WP_Error if it failed.
- */
- public static function set_jetpack_license( $request ) {
- $license = trim( sanitize_text_field( $request['license'] ) );
-
- if ( Licensing::instance()->append_license( $license ) ) {
- return rest_ensure_response( array( 'code' => 'success' ) );
- }
-
- return new WP_Error(
- 'setting_license_key_failed',
- esc_html__( 'Could not set this license key. Please try again.', 'jetpack' ),
- array( 'status' => 500 )
- );
- }
-
- /**
- * Attach Jetpack licenses
- *
- * @since 10.4.0
- *
- * @param WP_REST_Request $request The request.
- *
- * @return WP_REST_Response|WP_Error A response object
- */
- public static function attach_jetpack_licenses( $request ) {
- $licenses = array_map(
- function ( $license ) {
- return trim( sanitize_text_field( $license ) );
- },
- $request['licenses']
- );
- return rest_ensure_response( Licensing::instance()->attach_licenses( $licenses ) );
- }
-
- /**
* Returns the Jetpack CRM data.
*
* @return WP_REST_Response A response object containing the Jetpack CRM data.
@@ -4074,7 +4128,7 @@ class Jetpack_Core_Json_Api_Endpoints {
return new WP_Error(
'invalid_user_permission_jetpack_crm_data',
- self::$user_permissions_error_msg,
+ REST_Connector::get_user_permissions_error_msg(),
array( 'status' => rest_authorization_required_code() )
);
}
@@ -4091,38 +4145,79 @@ class Jetpack_Core_Json_Api_Endpoints {
return new WP_Error(
'invalid_user_permission_activate_jetpack_crm_ext',
- self::$user_permissions_error_msg,
+ REST_Connector::get_user_permissions_error_msg(),
array( 'status' => rest_authorization_required_code() )
);
}
/**
- * Verify that the user can set a Jetpack license key
+ * Set hasSeenWCConnectionModal to true when the site has displayed it
*
- * @since 9.5.0
+ * @since 10.4.0
*
- * @return bool|WP_Error True if user is able to set a Jetpack license key
+ * @return bool
*/
- public static function set_jetpack_license_key_permission_check() {
- if ( Licensing::instance()->is_licensing_input_enabled() ) {
- return true;
- }
-
- return new WP_Error( 'invalid_user_permission_set_jetpack_license_key', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ public static function set_has_seen_wc_connection_modal() {
+ $updated_option = Jetpack_Options::update_option( 'has_seen_wc_connection_modal', true );
+ return rest_ensure_response( array( 'success' => $updated_option ) );
}
/**
- * Set hasSeenWCConnectionModal to true when the site has displayed it
+ * Fetch introdution offers.
*
- * @since 10.4.0
+ * @since 10.9
*
- * @return bool
+ * @return array|WP_Error
*/
- public static function set_has_seen_wc_connection_modal() {
- $updated_option = Jetpack_Options::update_option( 'has_seen_wc_connection_modal', true );
+ public static function get_intro_offers() {
+ $site_id = Jetpack_Options::get_option( 'id' );
- return rest_ensure_response( array( 'success' => $updated_option ) );
+ if ( ! $site_id ) {
+ return new WP_Error(
+ 'site_id_missing',
+ esc_html__( 'Site ID is missing.', 'jetpack' ),
+ array( 'status' => 400 )
+ );
+ }
+
+ $response = Client::wpcom_json_api_request_as_user(
+ '/introductory-offers',
+ '2',
+ array(
+ 'method' => 'GET',
+ 'headers' => array(
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
+ ),
+ )
+ );
+
+ $response_code = wp_remote_retrieve_response_code( $response );
+
+ if ( 200 !== $response_code ) {
+ return new WP_Error(
+ 'intro_offers_fetch_failed',
+ esc_html__( 'Could not retrieve intro offers.', 'jetpack' ),
+ array( 'status' => $response_code )
+ );
+ }
+
+ $data = json_decode( wp_remote_retrieve_body( $response ) );
+
+ if ( ! isset( $data ) ) {
+ return new WP_Error(
+ 'intro_offers_error',
+ esc_html__( 'Could not parse intro offers.', 'jetpack' ),
+ array( 'status' => 204 ) // no content.
+ );
+ }
+
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'data' => $data,
+ )
+ );
}
} // class end
diff --git a/plugins/jetpack/_inc/lib/class.jetpack-automatic-install-skin.php b/plugins/jetpack/_inc/lib/class.jetpack-automatic-install-skin.php
index 00afeb01..de46b144 100644
--- a/plugins/jetpack/_inc/lib/class.jetpack-automatic-install-skin.php
+++ b/plugins/jetpack/_inc/lib/class.jetpack-automatic-install-skin.php
@@ -1,112 +1,10 @@
<?php
-
-include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
-include_once ABSPATH . 'wp-admin/includes/file.php';
-
/**
- * Allows us to capture that the site doesn't have proper file system access.
- * In order to update the plugin.
+ * This file has been moved to the jetpack-plugins-installer package
+ *
+ * @deprecated 10.7
+ *
+ * @package jetpack
*/
-class Jetpack_Automatic_Install_Skin extends Automatic_Upgrader_Skin {
- /**
- * Stores the last error key;
- **/
- protected $main_error_code = 'install_error';
-
- /**
- * Stores the last error message.
- **/
- protected $main_error_message = 'An unknown error occurred during installation';
-
- /**
- * Overwrites the set_upgrader to be able to tell if we e ven have the ability to write to the files.
- *
- * @param WP_Upgrader $upgrader
- *
- */
- public function set_upgrader( &$upgrader ) {
- parent::set_upgrader( $upgrader );
-
- // Check if we even have permission to.
- $result = $upgrader->fs_connect( array( WP_CONTENT_DIR, WP_PLUGIN_DIR ) );
- if ( ! $result ) {
- // set the string here since they are not available just yet
- $upgrader->generic_strings();
- $this->feedback( 'fs_unavailable' );
- }
- }
-
- /**
- * Overwrites the error function
- */
- public function error( $error ) {
- if ( is_wp_error( $error ) ) {
- $this->feedback( $error );
- }
- }
-
- private function set_main_error_code( $code ) {
- // Don't set the process_failed as code since it is not that helpful unless we don't have one already set.
- $this->main_error_code = ( $code === 'process_failed' && $this->main_error_code ? $this->main_error_code : $code );
- }
-
- private function set_main_error_message( $message, $code ) {
- // Don't set the process_failed as message since it is not that helpful unless we don't have one already set.
- $this->main_error_message = ( $code === 'process_failed' && $this->main_error_code ? $this->main_error_code : $message );
- }
-
- public function get_main_error_code() {
- return $this->main_error_code;
- }
-
- public function get_main_error_message() {
- return $this->main_error_message;
- }
-
- /**
- * Overwrites the feedback function
- *
- * @param string|array|WP_Error $data Data.
- * @param mixed ...$args Optional text replacements.
- */
- public function feedback( $data, ...$args ) {
-
- $current_error = null;
- if ( is_wp_error( $data ) ) {
- $this->set_main_error_code( $data->get_error_code() );
- $string = $data->get_error_message();
- } elseif ( is_array( $data ) ) {
- return;
- } else {
- $string = $data;
- }
-
- if ( ! empty( $this->upgrader->strings[$string] ) ) {
- $this->set_main_error_code( $string );
-
- $current_error = $string;
- $string = $this->upgrader->strings[$string];
- }
-
- if ( strpos( $string, '%' ) !== false ) {
- if ( ! empty( $args ) ) {
- $string = vsprintf( $string, $args );
- }
- }
-
- $string = trim( $string );
- $string = wp_kses(
- $string, array(
- 'a' => array(
- 'href' => true
- ),
- 'br' => true,
- 'em' => true,
- 'strong' => true,
- )
- );
- $this->set_main_error_message( $string, $current_error );
- $this->messages[] = $string;
- }
-}
+class_alias( Automattic\Jetpack\Automatic_Install_Skin::class, 'Jetpack_Automatic_Install_Skin' );
diff --git a/plugins/jetpack/_inc/lib/class.jetpack-iframe-embed.php b/plugins/jetpack/_inc/lib/class.jetpack-iframe-embed.php
index 4445cb65..a4a5ed3c 100644
--- a/plugins/jetpack/_inc/lib/class.jetpack-iframe-embed.php
+++ b/plugins/jetpack/_inc/lib/class.jetpack-iframe-embed.php
@@ -1,20 +1,32 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
- * Tweak the preview when rendered in an iframe
+ * Tweak a preview when rendered in an iframe.
+ * This is used when rendering iFrames in the Calypso app.
+ *
+ * This file is shared between WordPress.com and Jetpack.
+ * The canonical source is Jetpack and no WordPress.com-specific code should exist in this file.
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Tweak a preview when rendered in an iframe.
+ */
class Jetpack_Iframe_Embed {
- static function init() {
+ /**
+ * Initialize class.
+ */
+ public static function init() {
if ( ! self::is_embedding_in_iframe() ) {
return;
}
- // Disable the admin bar
+ // Disable the admin bar.
if ( ! defined( 'IFRAME_REQUEST' ) ) {
define( 'IFRAME_REQUEST', true );
}
- // Prevent canonical redirects
+ // Prevent canonical redirects.
remove_filter( 'template_redirect', 'redirect_canonical' );
add_action( 'wp_head', array( 'Jetpack_Iframe_Embed', 'noindex' ), 1 );
@@ -23,36 +35,44 @@ class Jetpack_Iframe_Embed {
add_filter( 'shortcode_atts_video', array( 'Jetpack_Iframe_Embed', 'disable_autoplay' ) );
add_filter( 'shortcode_atts_audio', array( 'Jetpack_Iframe_Embed', 'disable_autoplay' ) );
+ $ver = sprintf( '%s-%s', gmdate( 'oW' ), defined( 'JETPACK__VERSION' ) ? JETPACK__VERSION : '' );
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- wp_enqueue_script( 'jetpack-iframe-embed', WPMU_PLUGIN_URL . '/jetpack-iframe-embed/jetpack-iframe-embed.js', array( 'jquery' ) );
+ wp_enqueue_script(
+ 'jetpack-iframe-embed',
+ WPMU_PLUGIN_URL . '/jetpack-iframe-embed/jetpack-iframe-embed.js',
+ array( 'jquery' ),
+ $ver,
+ false
+ );
} else {
- $ver = sprintf( '%s-%s', gmdate( 'oW' ), defined( 'JETPACK__VERSION' ) ? JETPACK__VERSION : '' );
- wp_enqueue_script( 'jetpack-iframe-embed', '//s0.wp.com/wp-content/mu-plugins/jetpack-iframe-embed/jetpack-iframe-embed.js', array( 'jquery' ), $ver );
+ wp_enqueue_script(
+ 'jetpack-iframe-embed',
+ '//s0.wp.com/wp-content/mu-plugins/jetpack-iframe-embed/jetpack-iframe-embed.js',
+ array( 'jquery' ),
+ $ver,
+ false
+ );
}
wp_localize_script( 'jetpack-iframe-embed', '_previewSite', array( 'siteURL' => get_site_url() ) );
}
- static function is_embedding_in_iframe() {
+ /**
+ * Check that we are in an iFrame.
+ *
+ * @return bool
+ */
+ private static function is_embedding_in_iframe() {
return (
- self::has_iframe_get_param() && (
- self::has_preview_get_param() ||
- self::has_preview_theme_preview_param()
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended -- No nonce needed, we're only checking for a specific screen view.
+ isset( $_GET['iframe'] ) && 'true' === $_GET['iframe']
+ && (
+ isset( $_GET['preview'] ) && 'true' === $_GET['preview']
+ || isset( $_GET['theme_preview'] ) && 'true' === $_GET['theme_preview']
)
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended
);
}
- private static function has_iframe_get_param() {
- return isset( $_GET['iframe'] ) && $_GET['iframe'] === 'true';
- }
-
- private static function has_preview_get_param() {
- return isset( $_GET['preview'] ) && $_GET['preview'] === 'true';
- }
-
- private static function has_preview_theme_preview_param() {
- return isset( $_GET['theme_preview'] ) && $_GET['theme_preview'] === 'true';
- }
-
/**
* Disable `autoplay` shortcode attribute in context of an iframe
* Added via `shortcode_atts_video` & `shortcode_atts_audio` in `init`
@@ -61,7 +81,7 @@ class Jetpack_Iframe_Embed {
*
* @return array The output array of shortcode attributes.
*/
- static function disable_autoplay( $atts ) {
+ public static function disable_autoplay( $atts ) {
return array_merge( $atts, array( 'autoplay' => false ) );
}
@@ -69,7 +89,7 @@ class Jetpack_Iframe_Embed {
* We don't want search engines to index iframe previews
* Added via `wp_head` action in `init`
*/
- static function noindex() {
+ public static function noindex() {
echo '<meta name="robots" content="noindex,nofollow" />';
}
@@ -78,7 +98,7 @@ class Jetpack_Iframe_Embed {
* (unless overridden on client-side by JS)
* Added via `wp_head` action in `init`
*/
- static function base_target_blank() {
+ public static function base_target_blank() {
echo '<base target="_blank" />';
}
}
diff --git a/plugins/jetpack/_inc/lib/class.jetpack-keyring-service-helper.php b/plugins/jetpack/_inc/lib/class.jetpack-keyring-service-helper.php
index d623a3eb..4c2a0112 100644
--- a/plugins/jetpack/_inc/lib/class.jetpack-keyring-service-helper.php
+++ b/plugins/jetpack/_inc/lib/class.jetpack-keyring-service-helper.php
@@ -1,11 +1,22 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Utilities to interact with a Keyring instance.
+ * Used for Publicize as well as the Site Verification tools.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Secrets;
+/**
+ * A series of utilities to interact with a Keyring instance.
+ */
class Jetpack_Keyring_Service_Helper {
/**
+ * Class instance
+ *
* @var Jetpack_Keyring_Service_Helper
- **/
+ */
private static $instance = null;
/**
@@ -15,36 +26,39 @@ class Jetpack_Keyring_Service_Helper {
*/
private static $is_sharing_page_registered = false;
- static function init() {
- if ( is_null( self::$instance ) ) {
- self::$instance = new Jetpack_Keyring_Service_Helper;
+ /**
+ * Initialize instance.
+ */
+ public static function init() {
+ if ( self::$instance === null ) {
+ self::$instance = new Jetpack_Keyring_Service_Helper();
}
return self::$instance;
}
- public static $SERVICES = array(
- 'facebook' => array(
- 'for' => 'publicize'
+ const SERVICES = array(
+ 'facebook' => array(
+ 'for' => 'publicize',
),
- 'twitter' => array(
- 'for' => 'publicize'
+ 'twitter' => array(
+ 'for' => 'publicize',
),
- 'linkedin' => array(
- 'for' => 'publicize'
+ 'linkedin' => array(
+ 'for' => 'publicize',
),
- 'tumblr' => array(
- 'for' => 'publicize'
+ 'tumblr' => array(
+ 'for' => 'publicize',
),
- 'path' => array(
- 'for' => 'publicize'
+ 'path' => array(
+ 'for' => 'publicize',
),
- 'google_plus' => array(
- 'for' => 'publicize'
+ 'google_plus' => array(
+ 'for' => 'publicize',
),
'google_site_verification' => array(
- 'for' => 'other'
- )
+ 'for' => 'other',
+ ),
);
/**
@@ -79,7 +93,12 @@ class Jetpack_Keyring_Service_Helper {
$_registered_pages[ $hookname ] = true; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
}
- function get_services( $filter = 'all' ) {
+ /**
+ * Return a list of services.
+ *
+ * @param string $filter Choose 'all' to get all connected services, vs. just the connected ones.
+ */
+ public function get_services( $filter = 'all' ) {
$services = array();
if ( 'all' === $filter ) {
@@ -97,14 +116,15 @@ class Jetpack_Keyring_Service_Helper {
}
/**
- * Gets a URL to the public-api actions. Works like WP's admin_url
+ * Gets a URL to the public-api actions. Works like WP's admin_url.
+ * On WordPress.com this is/calls Keyring::admin_url.
*
* @param string $service Shortname of a specific service.
+ * @param array $params Parameters to append to an API connection URL.
*
* @return URL to specific public-api process
*/
- // on WordPress.com this is/calls Keyring::admin_url
- static function api_url( $service = false, $params = array() ) {
+ private static function api_url( $service = false, $params = array() ) {
/**
* Filters the API URL used to interact with WordPress.com.
*
@@ -125,7 +145,13 @@ class Jetpack_Keyring_Service_Helper {
return $url;
}
- static function connect_url( $service_name, $for ) {
+ /**
+ * Build a connection URL (sharing settings page with unique query args to create a connection).
+ *
+ * @param string $service_name Service name.
+ * @param string $for Feature name.
+ */
+ public static function connect_url( $service_name, $for ) {
return add_query_arg(
array(
'action' => 'request',
@@ -138,7 +164,14 @@ class Jetpack_Keyring_Service_Helper {
);
}
- static function refresh_url( $service_name, $for ) {
+ /**
+ * Build a URL to refresh a connection (sharing settings page with unique query args to refresh a connection).
+ * Similar to connect_url, but with a refresh parameter.
+ *
+ * @param string $service_name Service name.
+ * @param string $for Feature name.
+ */
+ public static function refresh_url( $service_name, $for ) {
return add_query_arg(
array(
'action' => 'request',
@@ -152,7 +185,13 @@ class Jetpack_Keyring_Service_Helper {
);
}
- static function disconnect_url( $service_name, $id ) {
+ /**
+ * Build a URL to delete a connection (sharing settings page with unique query args to delete a connection).
+ *
+ * @param string $service_name Service name.
+ * @param string $id Connection ID.
+ */
+ public static function disconnect_url( $service_name, $id ) {
return add_query_arg(
array(
'action' => 'delete',
@@ -165,10 +204,13 @@ class Jetpack_Keyring_Service_Helper {
);
}
- static function admin_page_load() {
+ /**
+ * Build contents handling Keyring connection management into Sharing settings screen.
+ */
+ public static function admin_page_load() {
if ( isset( $_GET['action'] ) ) {
if ( isset( $_GET['service'] ) ) {
- $service_name = $_GET['service'];
+ $service_name = sanitize_text_field( wp_unslash( $_GET['service'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- We verify below.
}
switch ( $_GET['action'] ) {
@@ -180,7 +222,20 @@ class Jetpack_Keyring_Service_Helper {
$verification = ( new Secrets() )->generate( 'publicize' );
if ( ! $verification ) {
$url = Jetpack::admin_url( 'jetpack#/settings' );
- wp_die( sprintf( __( "Jetpack is not connected. Please connect Jetpack by visiting <a href='%s'>Settings</a>.", 'jetpack' ), $url ) );
+ wp_die(
+ sprintf(
+ wp_kses(
+ /* Translators: placeholder is a URL to a Settings page. */
+ __( "Jetpack is not connected. Please connect Jetpack by visiting <a href='%s'>Settings</a>.", 'jetpack' ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ ),
+ )
+ ),
+ esc_url( $url )
+ )
+ );
}
$stats_options = get_option( 'stats_options' );
@@ -188,23 +243,32 @@ class Jetpack_Keyring_Service_Helper {
$wpcom_blog_id = ! empty( $wpcom_blog_id ) ? $wpcom_blog_id : $stats_options['blog_id'];
$user = wp_get_current_user();
- $redirect = Jetpack_Keyring_Service_Helper::api_url( $service_name, urlencode_deep( array(
- 'action' => 'request',
- 'redirect_uri' => add_query_arg( array( 'action' => 'done' ), menu_page_url( 'sharing', false ) ),
- 'for' => 'publicize',
- // required flag that says this connection is intended for publicize
- 'siteurl' => site_url(),
- 'state' => $user->ID,
- 'blog_id' => $wpcom_blog_id,
- 'secret_1' => $verification['secret_1'],
- 'secret_2' => $verification['secret_2'],
- 'eol' => $verification['exp'],
- ) ) );
- wp_redirect( $redirect );
+ $redirect = self::api_url(
+ $service_name,
+ urlencode_deep(
+ array(
+ 'action' => 'request',
+ 'redirect_uri' => add_query_arg( array( 'action' => 'done' ), menu_page_url( 'sharing', false ) ),
+ 'for' => 'publicize',
+ // required flag that says this connection is intended for publicize.
+ 'siteurl' => site_url(),
+ 'state' => $user->ID,
+ 'blog_id' => $wpcom_blog_id,
+ 'secret_1' => $verification['secret_1'],
+ 'secret_2' => $verification['secret_2'],
+ 'eol' => $verification['exp'],
+ )
+ )
+ );
+ wp_redirect( $redirect ); // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect -- The API URL is an external URL and is filterable.
exit;
- break;
case 'completed':
+ /*
+ * We do not use a nonce here,
+ * since we're populating a local cache of
+ * the Publicize connections that were created and stored on WordPress.com.
+ */
$xml = new Jetpack_IXR_Client();
$xml->query( 'jetpack.fetchPublicizeConnections' );
@@ -216,12 +280,12 @@ class Jetpack_Keyring_Service_Helper {
break;
case 'delete':
- $id = $_GET['id'];
+ $id = isset( $_GET['id'] ) ? sanitize_text_field( wp_unslash( $_GET['id'] ) ) : null;
check_admin_referer( 'keyring-request', 'kr_nonce' );
check_admin_referer( "keyring-request-$service_name", 'nonce' );
- Jetpack_Keyring_Service_Helper::disconnect( $service_name, $id );
+ self::disconnect( $service_name, $id );
do_action( 'connection_disconnected', $service_name );
break;
@@ -231,8 +295,14 @@ class Jetpack_Keyring_Service_Helper {
/**
* Remove a Publicize connection
+ *
+ * @param string $service_name Service name.
+ * @param string $connection_id Connection ID.
+ * @param int|bool $_blog_id Blog ID.
+ * @param int|bool $_user_id User ID.
+ * @param bool $force_delete Force delete the connection.
*/
- static function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false ) {
+ public static function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$xml = new Jetpack_IXR_Client();
$xml->query( 'jetpack.deletePublicizeConnection', $connection_id );
@@ -242,5 +312,4 @@ class Jetpack_Keyring_Service_Helper {
return false;
}
}
-
}
diff --git a/plugins/jetpack/_inc/lib/class.jetpack-password-checker.php b/plugins/jetpack/_inc/lib/class.jetpack-password-checker.php
index 75b6bbfd..4887e588 100644
--- a/plugins/jetpack/_inc/lib/class.jetpack-password-checker.php
+++ b/plugins/jetpack/_inc/lib/class.jetpack-password-checker.php
@@ -101,7 +101,7 @@ class Jetpack_Password_Checker {
*/
$this->common_passwords = apply_filters( 'jetpack_password_checker_restricted_strings', array() );
- if ( is_null( $user ) ) {
+ if ( $user === null ) {
$this->user_id = get_current_user_id();
} elseif ( is_object( $user ) && isset( $user->ID ) ) {
diff --git a/plugins/jetpack/_inc/lib/class.jetpack-photon-image-sizes.php b/plugins/jetpack/_inc/lib/class.jetpack-photon-image-sizes.php
index 1bf5bf6c..f533e4c3 100644
--- a/plugins/jetpack/_inc/lib/class.jetpack-photon-image-sizes.php
+++ b/plugins/jetpack/_inc/lib/class.jetpack-photon-image-sizes.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* The Image Sizes library.
*
@@ -15,17 +15,23 @@ jetpack_require_lib( 'class.jetpack-photon-image' );
class Jetpack_Photon_ImageSizes {
/**
- * @var array $data Attachment metadata.
+ * Attachment metadata.
+ *
+ * @var array
*/
public $data;
/**
- * @var Image Image to be resized.
+ * Image to be resized.
+ *
+ * @var Image
*/
public $image;
/**
- * @var null|array $sizes Intermediate sizes.
+ * Intermediate sizes.
+ *
+ * @var null|array
*/
public static $sizes = null;
@@ -99,6 +105,8 @@ class Jetpack_Photon_ImageSizes {
}
/**
+ * Add filtered sizes.
+ *
* @return array
*/
public function filtered_sizes() {
@@ -170,7 +178,9 @@ class Jetpack_Photon_ImageSizes {
}
/**
- * @param array $size_data
+ * Resize image.
+ *
+ * @param array $size_data Resize parameters.
*
* @return array|\WP_Error Array for usage in $metadata['sizes']; WP_Error on failure.
*/
diff --git a/plugins/jetpack/_inc/lib/class.jetpack-photon-image.php b/plugins/jetpack/_inc/lib/class.jetpack-photon-image.php
index 81ef74b4..4e15f08d 100644
--- a/plugins/jetpack/_inc/lib/class.jetpack-photon-image.php
+++ b/plugins/jetpack/_inc/lib/class.jetpack-photon-image.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* The Image Class.
*
@@ -11,37 +11,51 @@
class Jetpack_Photon_Image {
/**
- * @var string $filename Attachment's Filename.
+ * Attachment's Filename.
+ *
+ * @var string
*/
public $filename;
/**
- * @var string/WP_Erorr $mime_type Attachment's mime-type, WP_Error on failure when recalculating the dimensions.
+ * Attachment's mime-type, WP_Error on failure when recalculating the dimensions.
+ *
+ * @var string|WP_Error
*/
private $mime_type;
/**
- * @var int $original_width Image original width.
+ * Image original width.
+ *
+ * @var int
*/
private $original_width;
/**
- * @var int $original_width Image original height.
+ * Image original height.
+ *
+ * @var int
*/
private $original_height;
/**
- * @var int $width Current attachment's width.
+ * Current attachment's width.
+ *
+ * @var int
*/
private $width;
/**
- * @var int $height Current attachment's height.
+ * Current attachment's height.
+ *
+ * @var int
*/
private $height;
/**
- * @var bool $is_resized Whether the attachment has been resized yet, or not.
+ * Whether the attachment has been resized yet, or not.
+ *
+ * @var bool
*/
private $is_resized = false;
@@ -53,14 +67,16 @@ class Jetpack_Photon_Image {
* width : int Image width
* height : int Image height
*
- * @param array $data Array of attachment metadata, typically value of _wp_attachment_metadata postmeta
+ * @param array $data Array of attachment metadata, typically value of _wp_attachment_metadata postmeta.
* @param string|\WP_Error $mime_type Typically value returned from get_post_mime_type function.
*/
public function __construct( $data, $mime_type ) {
- $this->filename = $data['file'];
- $this->width = $this->original_width = $data['width'];
- $this->height = $this->original_height = $data['height'];
- $this->mime_type = $mime_type;
+ $this->filename = $data['file'];
+ $this->original_width = $data['width'];
+ $this->original_height = $data['height'];
+ $this->width = $this->original_width;
+ $this->height = $this->original_height;
+ $this->mime_type = $mime_type;
}
/**
@@ -84,7 +100,9 @@ class Jetpack_Photon_Image {
$this->set_width_height( $dimensions );
- return $this->is_resized = true;
+ $this->is_resized = true;
+
+ return true;
}
/**
@@ -205,16 +223,16 @@ class Jetpack_Photon_Image {
* associative array for the sake of more readable code no relying on index
* nor `list`.
*
- * @param int $max_width
- * @param int $max_height
- * @param bool|array $crop
+ * @param int $max_width Maximum width.
+ * @param int $max_height Maximum height.
+ * @param bool|array $crop Cropping parameters.
*
* @return array|\WP_Error Array of dimensions matching the parameters to imagecopyresampled. WP_Error on failure.
*/
protected function image_resize_dimensions( $max_width, $max_height, $crop ) {
$dimensions = image_resize_dimensions( $this->original_width, $this->original_height, $max_width, $max_height, $crop );
if ( ! $dimensions ) {
- return new WP_Error( 'error_getting_dimensions', __( 'Could not calculate resized image dimensions' ), $this->filename );
+ return new WP_Error( 'error_getting_dimensions', __( 'Could not calculate resized image dimensions', 'jetpack' ), $this->filename );
}
return array_combine(
diff --git a/plugins/jetpack/_inc/lib/class.jetpack-search-performance-logger.php b/plugins/jetpack/_inc/lib/class.jetpack-search-performance-logger.php
index c3df0778..fb9dbf85 100644
--- a/plugins/jetpack/_inc/lib/class.jetpack-search-performance-logger.php
+++ b/plugins/jetpack/_inc/lib/class.jetpack-search-performance-logger.php
@@ -1,23 +1,51 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Measure the performance of Jetpack Search queries.
+ */
class Jetpack_Search_Performance_Logger {
/**
- * @var Jetpack_Search_Performance_Logger
- **/
+ * Jetpack_Search_Performance_Logger instance.
+ *
+ * @var null|Jetpack_Search_Performance_Logger
+ */
private static $instance = null;
+ /**
+ * WP_Query instance.
+ *
+ * @var null|WP_Query
+ */
private $current_query = null;
+
+ /**
+ * Time when the query was started.
+ *
+ * @var null|float
+ */
private $query_started = null;
+
+ /**
+ * Performance results.
+ *
+ * @var null|array
+ */
private $stats = null;
- static function init() {
- if ( is_null( self::$instance ) ) {
- self::$instance = new Jetpack_Search_Performance_Logger;
+ /**
+ * Initialize the class.
+ */
+ public static function init() {
+ if ( self::$instance === null ) {
+ self::$instance = new Jetpack_Search_Performance_Logger();
}
return self::$instance;
}
+ /**
+ * The constructor.
+ */
private function __construct() {
$this->stats = array();
add_action( 'pre_get_posts', array( $this, 'begin_log_query' ), 10, 1 );
@@ -26,17 +54,28 @@ class Jetpack_Search_Performance_Logger {
add_action( 'wp_footer', array( $this, 'print_stats' ) );
}
- public function begin_log_query( $query ) {
+ /**
+ * Log the time when the query was started.
+ *
+ * @param WP_Query $query The query.
+ */
+ public function begin_log_query( $query ) {
if ( $this->should_log_query( $query ) ) {
$this->query_started = microtime( true );
$this->current_query = $query;
}
}
+ /**
+ * Record the time when an SQL query was completed.
+ *
+ * @param int $found_posts The number of posts found.
+ * @param WP_Query $query The WP_Query instance (passed by reference).
+ */
public function log_mysql_query( $found_posts, $query ) {
if ( $this->current_query === $query ) {
$duration = microtime( true ) - $this->query_started;
- if ( $duration < 60 ) { // eliminate outliers, likely tracking errors
+ if ( $duration < 60 ) { // eliminate outliers, likely tracking errors.
$this->record_query_time( $duration, false );
}
$this->reset_query_state();
@@ -45,38 +84,58 @@ class Jetpack_Search_Performance_Logger {
return $found_posts;
}
+ /**
+ * Log Jetpack Search query.
+ */
public function log_jetpack_search_query() {
$duration = microtime( true ) - $this->query_started;
- if ( $duration < 60 ) { // eliminate outliers, likely tracking errors
+ if ( $duration < 60 ) { // eliminate outliers, likely tracking errors.
$this->record_query_time( $duration, true );
}
$this->reset_query_state();
}
+ /**
+ * Reset data after each log.
+ */
private function reset_query_state() {
$this->query_started = null;
$this->current_query = null;
}
+ /**
+ * Check if a query should be logged (a main query, or a jetpack search query).
+ *
+ * @param WP_Query $query The WP_Query instance.
+ */
private function should_log_query( $query ) {
return $query->is_main_query() && $query->is_search();
}
+ /**
+ * Record the time of a query.
+ *
+ * @param float $duration The duration of the query.
+ * @param bool $was_jetpack_search Was this a Jetpack Search query.
+ */
private function record_query_time( $duration, $was_jetpack_search ) {
$this->stats[] = array( $was_jetpack_search, (int) ( $duration * 1000 ) );
}
+ /**
+ * Print performance stats in the footer.
+ */
public function print_stats() {
$beacons = array();
if ( ! empty( $this->stats ) ) {
- foreach( $this->stats as $stat ) {
+ foreach ( $this->stats as $stat ) {
$search_type = $stat[0] ? 'es' : 'mysql';
- $beacons[] = "%22jetpack.search.{$search_type}.duration:{$stat[1]}|ms%22";
+ $beacons[] = "%22jetpack.search.{$search_type}.duration:{$stat[1]}|ms%22";
}
- $encoded_json = '{%22beacons%22:[' . implode(',', $beacons ) . ']}';
- $encoded_site_url = urlencode( site_url() );
- $url = "https://pixel.wp.com/boom.gif?v=0.9&u={$encoded_site_url}&json={$encoded_json}";
+ $encoded_json = '{%22beacons%22:[' . implode( ',', $beacons ) . ']}';
+ $encoded_site_url = rawurlencode( site_url() );
+ $url = "https://pixel.wp.com/boom.gif?v=0.9&u={$encoded_site_url}&json={$encoded_json}";
echo '<img src="' . esc_url( $url ) . '" width="1" height="1" style="display:none;" alt=""/>';
}
}
diff --git a/plugins/jetpack/_inc/lib/class.media.php b/plugins/jetpack/_inc/lib/class.media.php
index a9ae488c..826c1535 100644
--- a/plugins/jetpack/_inc/lib/class.media.php
+++ b/plugins/jetpack/_inc/lib/class.media.php
@@ -1,15 +1,35 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-require_once( JETPACK__PLUGIN_DIR . 'sal/class.json-api-date.php' );
+require_once JETPACK__PLUGIN_DIR . 'sal/class.json-api-date.php';
/**
* Class to handle different actions related to media.
*/
class Jetpack_Media {
- public static $WP_ORIGINAL_MEDIA = '_wp_original_post_media';
- public static $WP_REVISION_HISTORY = '_wp_revision_history';
- public static $REVISION_HISTORY_MAXIMUM_AMOUNT = 0;
- public static $WP_ATTACHMENT_IMAGE_ALT = '_wp_attachment_image_alt';
+ /**
+ * Original media meta data. Metadata key as stored by WP.
+ *
+ * @var string
+ */
+ const WP_ORIGINAL_MEDIA = '_wp_original_post_media';
+ /**
+ * Revision history. Metadata key as stored by WP.
+ *
+ * @var string
+ */
+ const WP_REVISION_HISTORY = '_wp_revision_history';
+ /**
+ * Maximum amount of revisions.
+ *
+ * @var int
+ */
+ const REVISION_HISTORY_MAXIMUM_AMOUNT = 0;
+ /**
+ * Image Alt. Metadata key as stored by WP.
+ *
+ * @var string
+ */
+ const WP_ATTACHMENT_IMAGE_ALT = '_wp_attachment_image_alt';
/**
* Generate a filename in function of the original filename of the media.
@@ -45,7 +65,7 @@ class Jetpack_Media {
// Add unique seed based on the filename.
$filename_base .= '-' . crc32( $filename_base ) . '-';
- $number_suffix = time() . rand( 100, 999 );
+ $number_suffix = time() . wp_rand( 100, 999 );
do {
$filename = $filename_base;
@@ -70,13 +90,14 @@ class Jetpack_Media {
* "http://test.files.wordpress.com/2016/10/test.png" the resulting string
* would be: "2016/10"
*
- * @param number $media_id
+ * @param int $media_id Attachment ID.
* @return string
*/
private static function get_time_string_from_guid( $media_id ) {
- $time = date( "Y/m", strtotime( current_time( 'mysql' ) ) );
+ $time = gmdate( 'Y/m', strtotime( current_time( 'mysql' ) ) );
- if ( $media = get_post( $media_id ) ) {
+ $media = get_post( $media_id );
+ if ( $media ) {
$pattern = '/\/(\d{4}\/\d{2})\//';
preg_match( $pattern, $media->guid, $matches );
if ( count( $matches ) > 1 ) {
@@ -89,20 +110,27 @@ class Jetpack_Media {
/**
* Return an array of allowed mime_type items used to upload a media file.
*
+ * @param array $default_mime_types Array of mime types.
+ *
* @return array mime_type array
*/
- static function get_allowed_mime_types( $default_mime_types ) {
- return array_unique( array_merge( $default_mime_types, array(
- 'application/msword', // .doc
- 'application/vnd.ms-powerpoint', // .ppt, .pps
- 'application/vnd.ms-excel', // .xls
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation', // .pptx
- 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', // .ppsx
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', // .xlsx
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', // .docx
- 'application/vnd.oasis.opendocument.text', // .odt
- 'application/pdf', // .pdf
- ) ) );
+ public static function get_allowed_mime_types( $default_mime_types ) {
+ return array_unique(
+ array_merge(
+ $default_mime_types,
+ array(
+ 'application/msword', // .doc
+ 'application/vnd.ms-powerpoint', // .ppt, .pps
+ 'application/vnd.ms-excel', // .xls
+ 'application/vnd.openxmlformats-officedocument.presentationml.presentation', // .pptx
+ 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', // .ppsx
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', // .xlsx
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', // .docx
+ 'application/vnd.oasis.opendocument.text', // .odt
+ 'application/pdf', // .pdf
+ )
+ )
+ );
}
/**
@@ -119,14 +147,15 @@ class Jetpack_Media {
/**
* Try to remove the temporal file from the given file array.
*
- * @param array $file_array Array with data about the temporal file
+ * @param array $file_array Array with data about the temporal file.
+ *
* @return bool `true` if the file has been removed. `false` either the file doesn't exist or it couldn't be removed.
*/
private static function remove_tmp_file( $file_array ) {
- if ( ! file_exists ( $file_array['tmp_name'] ) ) {
+ if ( ! file_exists( $file_array['tmp_name'] ) ) {
return false;
}
- return @unlink( $file_array['tmp_name'] );
+ return @unlink( $file_array['tmp_name'] ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
}
/**
@@ -135,8 +164,8 @@ class Jetpack_Media {
* The file type control is done through of `jetpack_supported_media_sideload_types` filter,
* which allows define to the users their own file types list.
*
- * @param array $file_array file to save
- * @param number $media_id
+ * @param array $file_array file to save.
+ * @param int $media_id Attachment ID.
* @return array|WP_Error an array with information about the new file saved or a WP_Error is something went wrong.
*/
public static function save_temporary_file( $file_array, $media_id ) {
@@ -146,10 +175,10 @@ class Jetpack_Media {
return new WP_Error( 'invalid_input', 'No media provided in input.' );
}
- // add additional mime_types through of the `jetpack_supported_media_sideload_types` filter
+ // add additional mime_types through of the `jetpack_supported_media_sideload_types` filter.
$mime_type_static_filter = array(
'Jetpack_Media',
- 'get_allowed_mime_types'
+ 'get_allowed_mime_types',
);
add_filter( 'jetpack_supported_media_sideload_types', $mime_type_static_filter );
@@ -157,22 +186,22 @@ class Jetpack_Media {
! self::is_file_supported_for_sideloading( $tmp_filename ) &&
! file_is_displayable_image( $tmp_filename )
) {
- @unlink( $tmp_filename );
+ @unlink( $tmp_filename ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
return new WP_Error( 'invalid_input', 'Invalid file type.', 403 );
}
remove_filter( 'jetpack_supported_media_sideload_types', $mime_type_static_filter );
- // generate a new file name
- $tmp_new_filename = self::generate_new_filename( $media_id, $file_array[ 'name' ] );
+ // generate a new file name.
+ $tmp_new_filename = self::generate_new_filename( $media_id, $file_array['name'] );
- // start to create the parameters to move the temporal file
+ // start to create the parameters to move the temporal file.
$overrides = array( 'test_form' => false );
- // get time according to the original filaname
+ // get time according to the original filaname.
$time = self::get_time_string_from_guid( $media_id );
$file_array['name'] = $tmp_new_filename;
- $file = wp_handle_sideload( $file_array, $overrides, $time );
+ $file = wp_handle_sideload( $file_array, $overrides, $time );
self::remove_tmp_file( $file_array );
@@ -186,20 +215,20 @@ class Jetpack_Media {
/**
* Return an object with an snapshot of a revision item.
*
- * @param object $media_item - media post object
+ * @param object $media_item - media post object.
* @return object a revision item
*/
public static function get_snapshot( $media_item ) {
$current_file = get_attached_file( $media_item->ID );
- $file_paths = pathinfo( $current_file );
+ $file_paths = pathinfo( $current_file );
$snapshot = array(
- 'date' => (string) WPCOM_JSON_API_Date::format_date( $media_item->post_modified_gmt, $media_item->post_modified ),
- 'URL' => (string) wp_get_attachment_url( $media_item->ID ),
- 'file' => (string) $file_paths['basename'],
- 'extension' => (string) $file_paths['extension'],
- 'mime_type' => (string) $media_item->post_mime_type,
- 'size' => (int) filesize( $current_file ),
+ 'date' => (string) WPCOM_JSON_API_Date::format_date( $media_item->post_modified_gmt, $media_item->post_modified ),
+ 'URL' => (string) wp_get_attachment_url( $media_item->ID ),
+ 'file' => (string) $file_paths['basename'],
+ 'extension' => (string) $file_paths['extension'],
+ 'mime_type' => (string) $media_item->post_mime_type,
+ 'size' => (int) filesize( $current_file ),
);
return (object) $snapshot;
@@ -208,9 +237,9 @@ class Jetpack_Media {
/**
* Add a new item into revision_history array.
*
- * @param object $media_item - media post object
- * @param file $file - file recently added
- * @param bool $has_original_media - condition is the original media has been already added
+ * @param object $media_item - media post object.
+ * @param file $file - file recently added.
+ * @param bool $has_original_media - condition is the original media has been already added.
* @return bool `true` if the item has been added. Otherwise `false`.
*/
public static function register_revision( $media_item, $file, $has_original_media ) {
@@ -218,30 +247,37 @@ class Jetpack_Media {
return false;
}
- add_post_meta( $media_item->ID, self::$WP_REVISION_HISTORY, self::get_snapshot( $media_item ) );
+ add_post_meta( $media_item->ID, self::WP_REVISION_HISTORY, self::get_snapshot( $media_item ) );
}
/**
* Return the `revision_history` of the given media.
*
- * @param number $media_id - media post ID
+ * @param number $media_id - media post ID.
* @return array `revision_history` array
*/
public static function get_revision_history( $media_id ) {
- return array_reverse( get_post_meta( $media_id, self::$WP_REVISION_HISTORY ) );
+ return array_reverse( get_post_meta( $media_id, self::WP_REVISION_HISTORY ) );
}
/**
- * Return the original media data
+ * Return the original media data.
+ *
+ * @param int $media_id Attachment ID.
*/
public static function get_original_media( $media_id ) {
- $original = get_post_meta( $media_id, self::$WP_ORIGINAL_MEDIA, true );
+ $original = get_post_meta( $media_id, self::WP_ORIGINAL_MEDIA, true );
$original = $original ? $original : array();
return $original;
}
+ /**
+ * Delete a file.
+ *
+ * @param string $pathname Path name.
+ */
public static function delete_file( $pathname ) {
if ( ! file_exists( $pathname ) || ! is_file( $pathname ) ) {
- // let's touch a fake file to try to `really` remove the media file
+ // let's touch a fake file to try to `really` remove the media file.
touch( $pathname );
}
@@ -252,27 +288,28 @@ class Jetpack_Media {
* Try to delete a file according to the dirname of
* the media attached file and the filename.
*
- * @param number $media_id - media post ID
- * @param string $filename - basename of the file ( name-of-file.ext )
- * @return bool `true` is the file has been removed, `false` if not.
+ * @param int $media_id - media post ID.
+ * @param string $filename - basename of the file ( name-of-file.ext ).
+ *
+ * @return void
*/
private static function delete_media_history_file( $media_id, $filename ) {
- $attached_path = get_attached_file( $media_id );
+ $attached_path = get_attached_file( $media_id );
$attached_parts = pathinfo( $attached_path );
- $dirname = $attached_parts['dirname'];
+ $dirname = $attached_parts['dirname'];
$pathname = $dirname . '/' . $filename;
- // remove thumbnails
+ // remove thumbnails.
$metadata = wp_generate_attachment_metadata( $media_id, $pathname );
if ( isset( $metadata ) && isset( $metadata['sizes'] ) ) {
- foreach ( $metadata['sizes'] as $size => $properties ) {
+ foreach ( $metadata['sizes'] as $properties ) {
self::delete_file( $dirname . '/' . $properties['file'] );
}
}
- // remove primary file
+ // remove primary file.
self::delete_file( $pathname );
}
@@ -285,18 +322,19 @@ class Jetpack_Media {
*
* Also, it removes the file defined in each item.
*
- * @param number $media_id - media post ID
- * @param object $criteria - criteria to remove the items
- * @param array [$revision_history] - revision history array
+ * @param int $media_id - media post ID.
+ * @param object $criteria - criteria to remove the items.
+ * @param array $revision_history - revision history array.
+ *
* @return array `revision_history` array updated.
*/
public static function remove_items_from_revision_history( $media_id, $criteria, $revision_history ) {
- if ( ! isset ( $revision_history ) ) {
+ if ( ! isset( $revision_history ) ) {
$revision_history = self::get_revision_history( $media_id );
}
$from = $criteria['from'];
- $to = $criteria['to'] ? $criteria['to'] : ( $from + 1 );
+ $to = $criteria['to'] ? $criteria['to'] : ( $from + 1 );
for ( $i = $from; $i < $to; $i++ ) {
$removed_item = array_slice( $revision_history, $from, 1 );
@@ -308,11 +346,11 @@ class Jetpack_Media {
self::delete_media_history_file( $media_id, $removed_item[0]->file );
}
- // override all history items
- delete_post_meta( $media_id, self::$WP_REVISION_HISTORY );
+ // override all history items.
+ delete_post_meta( $media_id, self::WP_REVISION_HISTORY );
$revision_history = array_reverse( $revision_history );
foreach ( $revision_history as &$item ) {
- add_post_meta( $media_id, self::$WP_REVISION_HISTORY, $item );
+ add_post_meta( $media_id, self::WP_REVISION_HISTORY, $item );
}
return $revision_history;
@@ -322,13 +360,14 @@ class Jetpack_Media {
* Limit the number of items of the `revision_history` array.
* When the stack is overflowing the oldest item is remove from there (FIFO).
*
- * @param number $media_id - media post ID
- * @param number [$limit] - maximun amount of items. 20 as default.
+ * @param int $media_id - media post ID.
+ * @param null|int $limit - maximun amount of items. 20 as default.
+ *
* @return array items removed from `revision_history`
*/
- public static function limit_revision_history( $media_id, $limit = null) {
- if ( is_null( $limit ) ) {
- $limit = self::$REVISION_HISTORY_MAXIMUM_AMOUNT;
+ public static function limit_revision_history( $media_id, $limit = null ) {
+ if ( $limit === null ) {
+ $limit = self::REVISION_HISTORY_MAXIMUM_AMOUNT;
}
$revision_history = self::get_revision_history( $media_id );
@@ -341,7 +380,10 @@ class Jetpack_Media {
self::remove_items_from_revision_history(
$media_id,
- array( 'from' => $limit, 'to' => $total ),
+ array(
+ 'from' => $limit,
+ 'to' => $total,
+ ),
$revision_history
);
@@ -351,7 +393,7 @@ class Jetpack_Media {
/**
* Remove the original file and clean the post metadata.
*
- * @param number $media_id - media post ID
+ * @param int $media_id - media post ID.
*/
public static function clean_original_media( $media_id ) {
$original_file = self::get_original_media( $media_id );
@@ -361,7 +403,7 @@ class Jetpack_Media {
}
self::delete_media_history_file( $media_id, $original_file->file );
- return delete_post_meta( $media_id, self::$WP_ORIGINAL_MEDIA );
+ return delete_post_meta( $media_id, self::WP_ORIGINAL_MEDIA );
}
/**
@@ -370,15 +412,16 @@ class Jetpack_Media {
* - clean `revision_history` meta data.
* - remove and clean the `original_media`
*
- * @param number $media_id - media post ID
+ * @param int $media_id - media post ID.
+ *
* @return array results of removing these files
*/
public static function clean_revision_history( $media_id ) {
self::clean_original_media( $media_id );
$revision_history = self::get_revision_history( $media_id );
- $total = count( $revision_history );
- $updated_history = array();
+ $total = count( $revision_history );
+ $updated_history = array();
if ( $total < 1 ) {
return $updated_history;
@@ -386,7 +429,10 @@ class Jetpack_Media {
$updated_history = self::remove_items_from_revision_history(
$media_id,
- array( 'from' => 0, 'to' => $total ),
+ array(
+ 'from' => 0,
+ 'to' => $total,
+ ),
$revision_history
);
@@ -413,8 +459,7 @@ class Jetpack_Media {
// The first time that the media is updated
// the original media is stored into the revision_history.
$snapshot = self::get_snapshot( $media_item );
- //phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- add_post_meta( $media_id, self::$WP_ORIGINAL_MEDIA, $snapshot, true );
+ add_post_meta( $media_id, self::WP_ORIGINAL_MEDIA, $snapshot, true );
}
// Save temporary file in the correct location.
@@ -433,7 +478,7 @@ class Jetpack_Media {
$was_updated = update_attached_file( $media_id, $uploaded_path );
if ( ! $was_updated ) {
- return WP_Error( 'update_error', 'Media update error' );
+ return new WP_Error( 'update_error', 'Media update error' );
}
// Check maximum amount of revision_history before updating the attachment metadata.
@@ -458,9 +503,12 @@ class Jetpack_Media {
}
}
-// hook: clean revision history when the media item is deleted
-function clean_revision_history( $media_id ) {
+/**
+ * Clean revision history when the media item is deleted.
+ *
+ * @param int $media_id Attachment ID.
+ */
+function jetpack_clean_revision_history( $media_id ) {
Jetpack_Media::clean_revision_history( $media_id );
-};
-
-add_action( 'delete_attachment', 'clean_revision_history' );
+}
+add_action( 'delete_attachment', 'jetpack_clean_revision_history' );
diff --git a/plugins/jetpack/_inc/lib/core-api/class-wpcom-rest-field-controller.php b/plugins/jetpack/_inc/lib/core-api/class-wpcom-rest-field-controller.php
index 2a2245e4..4b4839ca 100644
--- a/plugins/jetpack/_inc/lib/core-api/class-wpcom-rest-field-controller.php
+++ b/plugins/jetpack/_inc/lib/core-api/class-wpcom-rest-field-controller.php
@@ -1,38 +1,64 @@
-<?php
-
-// @todo - nicer API for array values?
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* `WP_REST_Controller` is basically a wrapper for `register_rest_route()`
* `WPCOM_REST_API_V2_Field_Controller` is a mostly-analogous wrapper for `register_rest_field()`
+ *
+ * @todo - nicer API for array values?
+ *
+ * @package automattic/jetpack
+ */
+
+/**
+ * Abstract WPCOM_REST_API_V2_Field_Controller class extended for different fields needed in the Jetpack plugin.
*/
abstract class WPCOM_REST_API_V2_Field_Controller {
/**
- * @var string|string[] $object_type The REST Object Type(s) to which the field should be added.
+ * The REST Object Type(s) to which the field should be added.
+ *
+ * @var string|string[]
*/
protected $object_type;
/**
- * @var string $field_name The name of the REST API field to add.
+ * The name of the REST API field to add.
+ *
+ * @var string
*/
protected $field_name;
+ /**
+ * Constructor
+ */
public function __construct() {
if ( ! $this->object_type ) {
- /* translators: %s: object_type */
- _doing_it_wrong( 'WPCOM_REST_API_V2_Field_Controller::$object_type', sprintf( __( "Property '%s' must be overridden.", 'jetpack' ), 'object_type' ), 'Jetpack 6.8' );
+ _doing_it_wrong(
+ 'WPCOM_REST_API_V2_Field_Controller::$object_type',
+ sprintf(
+ /* translators: %s: object_type */
+ esc_html__( "Property '%s' must be overridden.", 'jetpack' ),
+ 'object_type'
+ ),
+ 'jetpack-6.8'
+ );
return;
}
if ( ! $this->field_name ) {
- /* translators: %s: field_name */
- _doing_it_wrong( 'WPCOM_REST_API_V2_Field_Controller::$field_name', sprintf( __( "Property '%s' must be overridden.", 'jetpack' ), 'field_name' ), 'Jetpack 6.8' );
+ _doing_it_wrong(
+ 'WPCOM_REST_API_V2_Field_Controller::$field_name',
+ sprintf(
+ /* translators: %s: field_name */
+ esc_html__( "Property '%s' must be overridden.", 'jetpack' ),
+ 'field_name'
+ ),
+ 'jetpack-6.8'
+ );
return;
}
add_action( 'rest_api_init', array( $this, 'register_fields' ) );
- // do this again later to collect any CPTs that get registered later
+ // do this again later to collect any CPTs that get registered later.
add_action( 'restapi_theme_init', array( $this, 'register_fields' ), 20 );
}
@@ -41,6 +67,9 @@ abstract class WPCOM_REST_API_V2_Field_Controller {
*/
public function register_fields() {
foreach ( (array) $this->object_type as $object_type ) {
+ if ( $this->is_registered( $object_type ) ) {
+ continue;
+ }
register_rest_field(
$object_type,
$this->field_name,
@@ -54,10 +83,23 @@ abstract class WPCOM_REST_API_V2_Field_Controller {
}
/**
+ * Checks if the field is already registered for the object_type
+ *
+ * @param string $object_type The name of the object type.
+ * @return boolean Whether the field has been registered for the type.
+ */
+ public function is_registered( $object_type ) {
+ global $wp_rest_additional_fields;
+
+ return ! empty( $wp_rest_additional_fields[ $object_type ][ $this->field_name ] );
+ }
+
+ /**
* Ensures the response matches the schema and request context.
*
- * @param mixed $value
- * @param WP_REST_Request $request
+ * @param mixed $value Value passed in request.
+ * @param WP_REST_Request $request WP API request.
+ *
* @return mixed
*/
private function prepare_for_response( $value, $request ) {
@@ -77,7 +119,8 @@ abstract class WPCOM_REST_API_V2_Field_Controller {
*
* If there is no default, returns the type's falsey value.
*
- * @param array $schema
+ * @param array $schema Schema to validate against.
+ *
* @return mixed
*/
final public function get_default_value( $schema ) {
@@ -85,7 +128,7 @@ abstract class WPCOM_REST_API_V2_Field_Controller {
return $schema['default'];
}
- // If you have something more complicated, use $schema['default'];
+ // If you have something more complicated, use $schema['default'].
switch ( isset( $schema['type'] ) ? $schema['type'] : 'null' ) {
case 'string':
return '';
@@ -110,17 +153,25 @@ abstract class WPCOM_REST_API_V2_Field_Controller {
* This cannot be extended: implement `->get()` instead.
*
* @param mixed $object_data Probably an array. Whatever the endpoint returns.
- * @param string $field_name Should always match `->field_name`
- * @param WP_REST_Request $request
- * @param string $object_type Should always match `->object_type`
+ * @param string $field_name Should always match `->field_name`.
+ * @param WP_REST_Request $request WP API request.
+ * @param string $object_type Should always match `->object_type`.
+ *
* @return mixed
*/
- final public function get_for_response( $object_data, $field_name, $request, $object_type ) {
+ final public function get_for_response( $object_data, $field_name, $request, $object_type ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$permission_check = $this->get_permission_check( $object_data, $request );
if ( ! $permission_check ) {
- /* translators: %s: get_permission_check() */
- _doing_it_wrong( 'WPCOM_REST_API_V2_Field_Controller::get_permission_check', sprintf( __( "Method '%s' must return either true or WP_Error.", 'jetpack' ), 'get_permission_check' ), 'Jetpack 6.8' );
+ _doing_it_wrong(
+ 'WPCOM_REST_API_V2_Field_Controller::get_permission_check',
+ sprintf(
+ /* translators: %s: get_permission_check() */
+ esc_html__( "Method '%s' must return either true or WP_Error.", 'jetpack' ),
+ 'get_permission_check'
+ ),
+ 'jetpack-6.8'
+ );
return $this->get_default_value( $this->get_schema() );
}
@@ -138,21 +189,35 @@ abstract class WPCOM_REST_API_V2_Field_Controller {
*
* This cannot be extended: implement `->update()` instead.
*
- * @param mixed $value The new value for the field.
- * @param mixed $object_data Probably a WordPress object (e.g., WP_Post)
- * @param string $field_name Should always match `->field_name`
- * @param WP_REST_Request $request
- * @param string $object_type Should always match `->object_type`
+ * @param mixed $value The new value for the field.
+ * @param mixed $object_data Probably a WordPress object (e.g., WP_Post).
+ * @param string $field_name Should always match `->field_name`.
+ * @param WP_REST_Request $request WP API request.
+ * @param string $object_type Should always match `->object_type`.
* @return void|WP_Error
*/
- final public function update_from_request( $value, $object_data, $field_name, $request, $object_type ) {
+ final public function update_from_request( $value, $object_data, $field_name, $request, $object_type ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$permission_check = $this->update_permission_check( $value, $object_data, $request );
if ( ! $permission_check ) {
- /* translators: %s: update_permission_check() */
- _doing_it_wrong( 'WPCOM_REST_API_V2_Field_Controller::update_permission_check', sprintf( __( "Method '%s' must return either true or WP_Error.", 'jetpack' ), 'update_permission_check' ), 'Jetpack 6.8' );
- /* translators: %s: the name of an API response field */
- return new WP_Error( 'invalid_user_permission', sprintf( __( "You are not allowed to access the '%s' field.", 'jetpack' ), $this->field_name ) );
+ _doing_it_wrong(
+ 'WPCOM_REST_API_V2_Field_Controller::update_permission_check',
+ sprintf(
+ /* translators: %s: update_permission_check() */
+ esc_html__( "Method '%s' must return either true or WP_Error.", 'jetpack' ),
+ 'update_permission_check'
+ ),
+ 'jetpack-6.8'
+ );
+
+ return new WP_Error(
+ 'invalid_user_permission',
+ sprintf(
+ /* translators: %s: the name of an API response field */
+ __( "You are not allowed to access the '%s' field.", 'jetpack' ),
+ $this->field_name
+ )
+ );
}
if ( is_wp_error( $permission_check ) ) {
@@ -170,50 +235,83 @@ abstract class WPCOM_REST_API_V2_Field_Controller {
* Permission Check for the field's getter. Must be implemented in the inheriting class.
*
* @param mixed $object_data Whatever the endpoint would return for its response.
- * @param WP_REST_Request $request
+ * @param WP_REST_Request $request WP API request.
+ *
* @return true|WP_Error
*/
- public function get_permission_check( $object_data, $request ) {
- /* translators: %s: get_permission_check() */
- _doing_it_wrong( 'WPCOM_REST_API_V2_Field_Controller::get_permission_check', sprintf( __( "Method '%s' must be overridden.", 'jetpack' ), __METHOD__ ), 'Jetpack 6.8' );
+ public function get_permission_check( $object_data, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ _doing_it_wrong(
+ 'WPCOM_REST_API_V2_Field_Controller::get_permission_check',
+ sprintf(
+ /* translators: %s: method name. */
+ esc_html__( "Method '%s' must be overridden.", 'jetpack' ),
+ __METHOD__
+ ),
+ 'jetpack-6.8'
+ );
+ return null;
}
/**
* The field's "raw" getter. Must be implemented in the inheriting class.
*
* @param mixed $object_data Whatever the endpoint would return for its response.
- * @param WP_REST_Request $request
+ * @param WP_REST_Request $request WP API request.
* @return mixed
*/
- public function get( $object_data, $request ) {
- /* translators: %s: get() */
- _doing_it_wrong( 'WPCOM_REST_API_V2_Field_Controller::get', sprintf( __( "Method '%s' must be overridden.", 'jetpack' ), __METHOD__ ), 'Jetpack 6.8' );
+ public function get( $object_data, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ _doing_it_wrong(
+ 'WPCOM_REST_API_V2_Field_Controller::get',
+ sprintf(
+ /* translators: %s: method name. */
+ esc_html__( "Method '%s' must be overridden.", 'jetpack' ),
+ __METHOD__
+ ),
+ 'jetpack-6.8'
+ );
}
/**
* Permission Check for the field's setter. Must be implemented in the inheriting class.
*
* @param mixed $value The new value for the field.
- * @param mixed $object_data Probably a WordPress object (e.g., WP_Post)
- * @param WP_REST_Request $request
+ * @param mixed $object_data Probably a WordPress object (e.g., WP_Post).
+ * @param WP_REST_Request $request WP API request.
+ *
* @return true|WP_Error
*/
- public function update_permission_check( $value, $object_data, $request ) {
- /* translators: %s: update_permission_check() */
- _doing_it_wrong( 'WPCOM_REST_API_V2_Field_Controller::update_permission_check', sprintf( __( "Method '%s' must be overridden.", 'jetpack' ), __METHOD__ ), 'Jetpack 6.8' );
+ public function update_permission_check( $value, $object_data, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ _doing_it_wrong(
+ 'WPCOM_REST_API_V2_Field_Controller::update_permission_check',
+ sprintf(
+ /* translators: %s: method name. */
+ esc_html__( "Method '%s' must be overridden.", 'jetpack' ),
+ __METHOD__
+ ),
+ 'jetpack-6.8'
+ );
+ return null;
}
/**
* The field's "raw" setter. Must be implemented in the inheriting class.
*
* @param mixed $value The new value for the field.
- * @param mixed $object_data Probably a WordPress object (e.g., WP_Post)
- * @param WP_REST_Request $request
+ * @param mixed $object_data Probably a WordPress object (e.g., WP_Post).
+ * @param WP_REST_Request $request WP API request.
+ *
* @return mixed
*/
- public function update( $value, $object_data, $request ) {
- /* translators: %s: update() */
- _doing_it_wrong( 'WPCOM_REST_API_V2_Field_Controller::update', sprintf( __( "Method '%s' must be overridden.", 'jetpack' ), __METHOD__ ), 'Jetpack 6.8' );
+ public function update( $value, $object_data, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ _doing_it_wrong(
+ 'WPCOM_REST_API_V2_Field_Controller::update',
+ sprintf(
+ /* translators: %s: method name. */
+ esc_html__( "Method '%s' must be overridden.", 'jetpack' ),
+ __METHOD__
+ ),
+ 'jetpack-6.8'
+ );
}
/**
@@ -242,13 +340,23 @@ abstract class WPCOM_REST_API_V2_Field_Controller {
* @return array
*/
public function get_schema() {
- /* translators: %s: get_schema() */
- _doing_it_wrong( 'WPCOM_REST_API_V2_Field_Controller::get_schema', sprintf( __( "Method '%s' must be overridden.", 'jetpack' ), __METHOD__ ), 'Jetpack 6.8' );
+ _doing_it_wrong(
+ 'WPCOM_REST_API_V2_Field_Controller::get_schema',
+ sprintf(
+ /* translators: %s: method name. */
+ esc_html__( "Method '%s' must be overridden.", 'jetpack' ),
+ __METHOD__
+ ),
+ 'jetpack-6.8'
+ );
+ return null;
}
/**
- * @param array $schema
- * @param string $context REST API Request context
+ * Ensure that our request matches its expected context.
+ *
+ * @param array $schema Schema to validate against.
+ * @param string $context REST API Request context.
* @return bool
*/
private function is_valid_for_context( $schema, $context ) {
@@ -274,9 +382,10 @@ abstract class WPCOM_REST_API_V2_Field_Controller {
*
* This function handles that recursion.
*
- * @param mixed $value
- * @param array $schema
- * @param string $context REST API Request context
+ * @param mixed $value Value passed to API request.
+ * @param array $schema Schema to validate against.
+ * @param string $context REST API Request context.
+ *
* @return mixed Filtered $value
*/
final public function filter_response_by_context( $value, $schema, $context ) {
diff --git a/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php b/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php
index 04acfb91..5578bf33 100644
--- a/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php
+++ b/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php
@@ -1,10 +1,16 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Tools to interact with Jetpack modules via API requests.
+ *
+ * @package automattic/jetpack
+ */
+use Automattic\Jetpack\Connection\REST_Connector;
+use Automattic\Jetpack\Plugins_Installer;
use Automattic\Jetpack\Status;
/**
* This is the base class for every Core API endpoint Jetpack uses.
- *
*/
class Jetpack_Core_API_Module_Toggle_Endpoint
extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
@@ -79,10 +85,12 @@ class Jetpack_Core_API_Module_Toggle_Endpoint
}
if ( Jetpack::activate_module( $module_slug, false, false ) ) {
- return rest_ensure_response( array(
- 'code' => 'success',
- 'message' => esc_html__( 'The requested Jetpack module was activated.', 'jetpack' ),
- ) );
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'message' => esc_html__( 'The requested Jetpack module was activated.', 'jetpack' ),
+ )
+ );
}
return new WP_Error(
@@ -139,10 +147,12 @@ class Jetpack_Core_API_Module_Toggle_Endpoint
}
if ( Jetpack::deactivate_module( $module_slug ) ) {
- return rest_ensure_response( array(
- 'code' => 'success',
- 'message' => esc_html__( 'The requested Jetpack module was deactivated.', 'jetpack' ),
- ) );
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'message' => esc_html__( 'The requested Jetpack module was deactivated.', 'jetpack' ),
+ )
+ );
}
return new WP_Error(
'deactivation_failed',
@@ -163,7 +173,13 @@ class Jetpack_Core_API_Module_Toggle_Endpoint
}
}
+/**
+ * Interact with multiple modules at once (list or activate).
+ *
+ * // phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+ */
class Jetpack_Core_API_Module_List_Endpoint {
+ // phpcs:enable Generic.Files.OneObjectStructurePerFile.MultipleFound
/**
* A WordPress REST API callback method that accepts a request object and decides what to do with it.
@@ -190,7 +206,7 @@ class Jetpack_Core_API_Module_List_Endpoint {
* @return array Array of Jetpack modules.
*/
public function get_modules() {
- require_once( JETPACK__PLUGIN_DIR . 'class.jetpack-admin.php' );
+ require_once JETPACK__PLUGIN_DIR . 'class.jetpack-admin.php';
$modules = Jetpack_Admin::init()->get_modules();
foreach ( $modules as $slug => $properties ) {
@@ -237,7 +253,7 @@ class Jetpack_Core_API_Module_List_Endpoint {
}
$activated = array();
- $failed = array();
+ $failed = array();
foreach ( $request['modules'] as $module ) {
if ( Jetpack::activate_module( $module, false, false ) ) {
@@ -248,10 +264,12 @@ class Jetpack_Core_API_Module_List_Endpoint {
}
if ( empty( $failed ) ) {
- return rest_ensure_response( array(
- 'code' => 'success',
- 'message' => esc_html__( 'All modules activated.', 'jetpack' ),
- ) );
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'message' => esc_html__( 'All modules activated.', 'jetpack' ),
+ )
+ );
}
$error = '';
@@ -262,12 +280,15 @@ class Jetpack_Core_API_Module_List_Endpoint {
$activated_text = $activated_count > 1 ? sprintf(
/* Translators: first variable is a list followed by the last item, which is the second variable. Example: dog, cat and bird. */
__( '%1$s and %2$s', 'jetpack' ),
- join( ', ', $activated ), $activated_last ) : $activated_last;
+ join( ', ', $activated ),
+ $activated_last
+ ) : $activated_last;
$error = sprintf(
/* Translators: the variable is a module name. */
_n( 'The module %s was activated.', 'The modules %s were activated.', $activated_count, 'jetpack' ),
- $activated_text ) . ' ';
+ $activated_text
+ ) . ' ';
}
$failed_count = count( $failed );
@@ -276,12 +297,15 @@ class Jetpack_Core_API_Module_List_Endpoint {
$failed_text = $failed_count > 1 ? sprintf(
/* Translators: first variable is a list followed by the last item, which is the second variable. Example: dog, cat and bird. */
__( '%1$s and %2$s', 'jetpack' ),
- join( ', ', $failed ), $failed_last ) : $failed_last;
+ join( ', ', $failed ),
+ $failed_last
+ ) : $failed_last;
$error = sprintf(
/* Translators: the variable is a module name. */
_n( 'The module %s failed to be activated.', 'The modules %s failed to be activated.', $failed_count, 'jetpack' ),
- $failed_text ) . ' ';
+ $failed_text
+ ) . ' ';
}
return new WP_Error(
@@ -318,8 +342,11 @@ class Jetpack_Core_API_Module_List_Endpoint {
* @since 4.4.0 Renamed Jetpack_Core_API_Module_Endpoint from to Jetpack_Core_API_Data.
*
* @author Automattic
+ *
+ * // phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
*/
class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
+ // phpcs:enable Generic.Files.OneObjectStructurePerFile.MultipleFound
/**
* Process request by returning the module or updating it.
@@ -327,7 +354,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
*
* @since 4.3.0
*
- * @param WP_REST_Request $request
+ * @param WP_REST_Request $request WP API request.
*
* @return bool|mixed|void|WP_Error
*/
@@ -376,7 +403,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
$module['name'] = $i18n['name'];
}
if ( isset( $module['description'] ) ) {
- $module['description'] = $i18n['description'];
+ $module['description'] = $i18n['description'];
$module['short_description'] = $i18n['description'];
}
@@ -403,13 +430,13 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
$modules = Jetpack::get_available_modules();
if ( is_array( $modules ) && ! empty( $modules ) ) {
foreach ( $modules as $module ) {
- // Add all module options
+ // Add all module options.
$options = Jetpack_Core_Json_Api_Endpoints::prepare_options_for_response( $module );
foreach ( $options as $option_name => $option ) {
$response[ $option_name ] = $option['current_value'];
}
- // Add the module activation state
+ // Add the module activation state.
$response[ $module ] = Jetpack::is_module_active( $module );
}
}
@@ -424,7 +451,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
switch ( $setting ) {
case 'lang_id':
if ( ! current_user_can( 'install_languages' ) ) {
- // The user doesn't have caps to install language packs, so warn the client
+ // The user doesn't have caps to install language packs, so warn the client.
$response[ $setting ] = 'error_cap';
break;
}
@@ -511,7 +538,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
public function update_data( $request ) {
// If it's null, we're trying to update many module options from different modules.
- if ( is_null( $request['slug'] ) ) {
+ if ( $request['slug'] === null ) {
// Value admitted by Jetpack_Core_Json_Api_Endpoints::get_updateable_data_list that will make it return all module options.
// It will not be passed. It's just checked in this method to pass that method a string or array.
@@ -526,13 +553,16 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
}
- // Get parameters to update the module. We can not simply use $request->get_params() because when we registered
- // this route, we are adding the entire output of Jetpack_Core_Json_Api_Endpoints::get_updateable_data_list() to
- // the current request object's params. We are interested in body of the actual request.
- // This may be JSON:
+ /*
+ * Get parameters to update the module.
+ * We can not simply use $request->get_params() because when we registered this route,
+ * we are adding the entire output of Jetpack_Core_Json_Api_Endpoints::get_updateable_data_list()
+ * to the current request object's params. We are interested in body of the actual request.
+ * This may be JSON:
+ */
$params = $request->get_json_params();
if ( ! is_array( $params ) ) {
- // Or it may be standard POST key-value pairs:
+ // Or it may be standard POST key-value pairs.
$params = $request->get_body_params();
}
@@ -551,24 +581,25 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
// Get available module options.
- $options = Jetpack_Core_Json_Api_Endpoints::get_updateable_data_list( 'any' === $request['slug']
+ $options = Jetpack_Core_Json_Api_Endpoints::get_updateable_data_list(
+ 'any' === $request['slug']
? $params
: $request['slug']
);
- // Prepare to toggle module if needed
+ // Prepare to toggle module if needed.
$toggle_module = new Jetpack_Core_API_Module_Toggle_Endpoint( new Jetpack_IXR_Client() );
// Options that are invalid or failed to update.
- $invalid = array_keys( array_diff_key( $params, $options ) );
+ $invalid = array_keys( array_diff_key( $params, $options ) );
$not_updated = array();
- // Remove invalid options
+ // Remove invalid options.
$params = array_intersect_key( $params, $options );
// Used if response is successful. The message can be overwritten and additional data can be added here.
$response = array(
- 'code' => 'success',
+ 'code' => 'success',
'message' => esc_html__( 'The requested Jetpack data updates were successful.', 'jetpack' ),
);
@@ -595,7 +626,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
&& 'already_inactive' === $toggle_result->get_error_code()
) {
- // If the module is already inactive, we don't fail
+ // If the module is already inactive, we don't fail.
$updated = true;
} elseif ( is_wp_error( $toggle_result ) ) {
$error = $toggle_result->get_error_message();
@@ -603,7 +634,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
$updated = true;
}
} else {
- $error = Jetpack_Core_Json_Api_Endpoints::$user_permissions_error_msg;
+ $error = REST_Connector::get_user_permissions_error_msg();
}
// The module was not toggled.
@@ -639,7 +670,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
&& ! Jetpack::is_module_active( $option_attrs['jp_group'] )
) {
- // We only take note of skipped options when updating one module
+ // We only take note of skipped options when updating one module.
$not_updated[ $option ] = esc_html__( 'The requested Jetpack module is inactive.', 'jetpack' );
continue;
}
@@ -651,26 +682,26 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
switch ( $option ) {
case 'lang_id':
if ( ! current_user_can( 'install_languages' ) ) {
- // We can't affect this setting
+ // We can't affect this setting.
$updated = false;
break;
}
- if ( $value === 'en_US' || empty( $value ) ) {
+ if ( 'en_US' === $value || empty( $value ) ) {
return delete_option( 'WPLANG' );
}
if ( ! function_exists( 'request_filesystem_credentials' ) ) {
- require_once( ABSPATH . 'wp-admin/includes/file.php' );
+ require_once ABSPATH . 'wp-admin/includes/file.php';
}
if ( ! function_exists( 'wp_download_language_pack' ) ) {
require_once ABSPATH . 'wp-admin/includes/translation-install.php';
}
- // `wp_download_language_pack` only tries to download packs if they're not already available
+ // `wp_download_language_pack` only tries to download packs if they're not already available.
$language = wp_download_language_pack( $value );
- if ( $language === false ) {
+ if ( false === $language ) {
// The language pack download failed.
$updated = false;
break;
@@ -690,9 +721,9 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
// If we got an email address (create or regenerate) or 1 (delete), consider it done.
if ( is_string( $result ) && preg_match( '/[a-z0-9]+@post.wordpress.com/', $result ) ) {
- $response[$option] = $result;
- $updated = true;
- } elseif ( 1 == $result ) {
+ $response[ $option ] = $result;
+ $updated = true;
+ } elseif ( 1 == $result ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
$updated = true;
} elseif ( is_array( $result ) && isset( $result['message'] ) ) {
$error = $result['message'];
@@ -701,7 +732,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
case 'jetpack_protect_key':
$protect = Jetpack_Protect_Module::instance();
- if ( 'create' == $value ) {
+ if ( 'create' === $value ) {
$result = $protect->get_protect_key();
} else {
$result = false;
@@ -709,8 +740,8 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
// If we got one of Protect keys, consider it done.
if ( preg_match( '/[a-z0-9]{40,}/i', $result ) ) {
- $response[$option] = $result;
- $updated = true;
+ $response[ $option ] = $result;
+ $updated = true;
}
break;
@@ -728,28 +759,34 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
case 'show_headline':
case 'show_thumbnails':
- $grouped_options = $grouped_options_current = (array) Jetpack_Options::get_option( 'relatedposts' );
- $grouped_options[$option] = $value;
+ $grouped_options_current = (array) Jetpack_Options::get_option( 'relatedposts' );
+ $grouped_options = $grouped_options_current;
+ $grouped_options[ $option ] = $value;
// If option value was the same, consider it done.
- $updated = $grouped_options_current != $grouped_options ? Jetpack_Options::update_option( 'relatedposts', $grouped_options ) : true;
+ $updated = $grouped_options_current !== $grouped_options ? Jetpack_Options::update_option( 'relatedposts', $grouped_options ) : true;
break;
case 'search_auto_config':
if ( ! $value ) {
+ // Skip execution if no value is specified.
$updated = true;
- } elseif ( class_exists( 'Jetpack_Search' ) ) {
- $jps = Jetpack_Search::instance();
- if ( is_a( $jps, 'Jetpack_Instant_Search' ) ) {
- $jps->auto_config_search();
- $updated = true;
- } else {
- $updated = new WP_Error( 'instant_search_disabled', 'Instant Search Disabled', array( 'status' => 400 ) );
+ } else {
+ $plan = new Automattic\Jetpack\Search\Plan();
+ if ( ! $plan->supports_instant_search() ) {
+ $updated = new WP_Error( 'instant_search_not_supported', 'Instant Search is not supported by this site', array( 'status' => 400 ) );
$error = $updated->get_error_message();
+ } else {
+ if ( ! Automattic\Jetpack\Search\Options::is_instant_enabled() ) {
+ $updated = new WP_Error( 'instant_search_disabled', 'Instant Search is disabled', array( 'status' => 400 ) );
+ $error = $updated->get_error_message();
+ } else {
+ $blog_id = Automattic\Jetpack\Search\Helper::get_wpcom_site_id();
+ $instance = Automattic\Jetpack\Search\Instant_Search::instance( $blog_id );
+ $instance->auto_config_search();
+ $updated = true;
+ }
}
- } else {
- $updated = new WP_Error( 'search_disabled', 'Search Disabled', array( 'status' => 400 ) );
- $error = $updated->get_error_message();
}
break;
@@ -758,9 +795,10 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
case 'pinterest':
case 'yandex':
case 'facebook':
- $grouped_options = $grouped_options_current = (array) get_option( 'verification_services_codes' );
+ $grouped_options_current = (array) get_option( 'verification_services_codes' );
+ $grouped_options = $grouped_options_current;
- // Extracts the content attribute from the HTML meta tag if needed
+ // Extracts the content attribute from the HTML meta tag if needed.
if ( preg_match( '#.*<meta name="(?:[^"]+)" content="([^"]+)" />.*#i', $value, $matches ) ) {
$grouped_options[ $option ] = $matches[1];
} else {
@@ -768,56 +806,60 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
// If option value was the same, consider it done.
- $updated = $grouped_options_current != $grouped_options ? update_option( 'verification_services_codes', $grouped_options ) : true;
+ $updated = $grouped_options_current !== $grouped_options
+ ? update_option( 'verification_services_codes', $grouped_options )
+ : true;
break;
case 'sharing_services':
- if ( ! class_exists( 'Sharing_Service' ) && ! include_once( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) {
+ if ( ! class_exists( 'Sharing_Service' ) && ! include_once JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) {
break;
}
$sharer = new Sharing_Service();
// If option value was the same, consider it done.
- $updated = $value != $sharer->get_blog_services() ? $sharer->set_blog_services( $value['visible'], $value['hidden'] ) : true;
+ $updated = $value !== $sharer->get_blog_services()
+ ? $sharer->set_blog_services( $value['visible'], $value['hidden'] )
+ : true;
break;
case 'button_style':
case 'sharing_label':
case 'show':
- if ( ! class_exists( 'Sharing_Service' ) && ! include_once( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) {
+ if ( ! class_exists( 'Sharing_Service' ) && ! include_once JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) {
break;
}
- $sharer = new Sharing_Service();
- $grouped_options = $sharer->get_global_options();
+ $sharer = new Sharing_Service();
+ $grouped_options = $sharer->get_global_options();
$grouped_options[ $option ] = $value;
- $updated = $sharer->set_global_options( $grouped_options );
+ $updated = $sharer->set_global_options( $grouped_options );
break;
case 'custom':
- if ( ! class_exists( 'Sharing_Service' ) && ! include_once( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) {
+ if ( ! class_exists( 'Sharing_Service' ) && ! include_once JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) {
break;
}
- $sharer = new Sharing_Service();
+ $sharer = new Sharing_Service();
$updated = $sharer->new_service( stripslashes( $value['sharing_name'] ), stripslashes( $value['sharing_url'] ), stripslashes( $value['sharing_icon'] ) );
- // Return new custom service
- $response[$option] = $updated;
+ // Return new custom service.
+ $response[ $option ] = $updated;
break;
case 'sharing_delete_service':
- if ( ! class_exists( 'Sharing_Service' ) && ! include_once( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) {
+ if ( ! class_exists( 'Sharing_Service' ) && ! include_once JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) {
break;
}
- $sharer = new Sharing_Service();
+ $sharer = new Sharing_Service();
$updated = $sharer->delete_service( $value );
break;
case 'jetpack-twitter-cards-site-tag':
- $value = trim( ltrim( strip_tags( $value ), '@' ) );
+ $value = trim( ltrim( wp_strip_all_tags( $value ), '@' ) );
$updated = get_option( $option ) !== $value ? update_option( $option, $value ) : true;
break;
@@ -828,36 +870,41 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
case 'do_not_track':
case 'version':
case 'collapse_nudges':
- $grouped_options = $grouped_options_current = (array) get_option( 'stats_options' );
- $grouped_options[$option] = $value;
+ $grouped_options_current = (array) get_option( 'stats_options' );
+ $grouped_options = $grouped_options_current;
+ $grouped_options[ $option ] = $value;
// If option value was the same, consider it done.
- $updated = $grouped_options_current != $grouped_options ? update_option( 'stats_options', $grouped_options ) : true;
+ $updated = $grouped_options_current !== $grouped_options
+ ? update_option( 'stats_options', $grouped_options )
+ : true;
break;
case 'akismet_show_user_comments_approved':
-
- // Save Akismet option '1' or '0' like it's done in akismet/class.akismet-admin.php
- $updated = get_option( $option ) != $value ? update_option( $option, (bool) $value ? '1' : '0' ) : true;
+ // Save Akismet option '1' or '0' like it's done in akismet/class.akismet-admin.php.
+ $updated = get_option( $option ) != $value // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
+ ? update_option( $option, $value ? '1' : '0' )
+ : true;
break;
case 'wordpress_api_key':
-
if ( ! file_exists( WP_PLUGIN_DIR . '/akismet/class.akismet.php' ) ) {
- $error = esc_html__( 'Please install Akismet.', 'jetpack' );
+ $error = esc_html__( 'Please install Akismet.', 'jetpack' );
$updated = false;
break;
}
if ( ! defined( 'AKISMET_VERSION' ) ) {
- $error = esc_html__( 'Please activate Akismet.', 'jetpack' );
+ $error = esc_html__( 'Please activate Akismet.', 'jetpack' );
$updated = false;
break;
}
- // Allow to clear the API key field
+ // Allow to clear the API key field.
if ( '' === $value ) {
- $updated = get_option( $option ) != $value ? update_option( $option, $value ) : true;
+ $updated = get_option( $option ) !== $value
+ ? update_option( $option, $value )
+ : true;
break;
}
@@ -868,8 +915,10 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
if ( Akismet::verify_key( $value ) === 'valid' ) {
$akismet_user = Akismet_Admin::get_akismet_user( $value );
if ( $akismet_user ) {
- if ( in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub' ) ) ) {
- $updated = get_option( $option ) != $value ? update_option( $option, $value ) : true;
+ if ( in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub' ), true ) ) {
+ $updated = get_option( $option ) !== $value
+ ? update_option( $option, $value )
+ : true;
break;
} else {
$error = esc_html__( "Akismet user status doesn't allow to update the key", 'jetpack' );
@@ -887,27 +936,36 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
break;
case 'google_analytics_tracking_id':
- $grouped_options = $grouped_options_current = (array) get_option( 'jetpack_wga' );
- $grouped_options[ 'code' ] = $value;
+ $grouped_options_current = (array) get_option( 'jetpack_wga' );
+ $grouped_options = $grouped_options_current;
+ $grouped_options['code'] = $value;
// If option value was the same, consider it done.
- $updated = $grouped_options_current != $grouped_options ? update_option( 'jetpack_wga', $grouped_options ) : true;
+ $updated = $grouped_options_current !== $grouped_options
+ ? update_option( 'jetpack_wga', $grouped_options )
+ : true;
break;
case 'dismiss_dash_app_card':
case 'dismiss_empty_stats_card':
// If option value was the same, consider it done.
- $updated = get_option( $option ) != $value ? update_option( $option, (bool) $value ) : true;
+ $updated = get_option( $option ) != $value // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual -- ensure we support bools or strings saved by update_option.
+ ? update_option( $option, (bool) $value )
+ : true;
break;
case 'onboarding':
jetpack_require_lib( 'widgets' );
// Break apart and set Jetpack onboarding options.
- $result = $this->_process_onboarding( (array) $value );
+ $result = $this->process_onboarding( (array) $value );
if ( empty( $result ) ) {
$updated = true;
} else {
- $error = sprintf( esc_html__( 'Onboarding failed to process: %s', 'jetpack' ), $result );
+ $error = sprintf(
+ /* Translators: placeholder is a list of error codes. */
+ esc_html__( 'Onboarding failed to process: %s', 'jetpack' ),
+ $result
+ );
$updated = false;
}
break;
@@ -919,9 +977,15 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
$updated = (string) get_option( $option ) !== (string) $sub_value ? update_option( $option, $sub_value ) : true;
break;
+ case 'jetpack_blocks_disabled':
+ $updated = (bool) get_option( $option ) !== (bool) $value ? update_option( $option, (bool) $value ) : true;
+ break;
+
default:
// If option value was the same, consider it done.
- $updated = get_option( $option ) != $value ? update_option( $option, $value ) : true;
+ $updated = get_option( $option ) != $value // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual -- ensure we support scalars or strings saved by update_option.
+ ? update_option( $option, $value )
+ : true;
break;
}
@@ -935,9 +999,9 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
// The option was updated.
return rest_ensure_response( $response );
} else {
- $invalid_count = count( $invalid );
+ $invalid_count = count( $invalid );
$not_updated_count = count( $not_updated );
- $error = '';
+ $error = '';
if ( $invalid_count > 0 ) {
$error = sprintf(
/* Translators: the plural variable is a comma-separated list. Example: dog, cat, bird. */
@@ -952,7 +1016,9 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
$not_updated_messages[] = sprintf(
/* Translators: the first variable is a module option or slug, or setting. The second is the error message . */
__( '%1$s: %2$s', 'jetpack' ),
- $not_updated_option, $not_updated_message );
+ $not_updated_option,
+ $not_updated_message
+ );
}
}
if ( ! empty( $error ) ) {
@@ -961,7 +1027,6 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
if ( ! empty( $not_updated_messages ) ) {
$error .= ' ' . join( '. ', $not_updated_messages );
}
-
}
// There was an error because some options were updated but others were invalid or failed to update.
return new WP_Error( 'some_updated', esc_html( $error ), array( 'status' => 400 ) );
@@ -978,7 +1043,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
*
* @return string Result of onboarding processing and, if there is one, an error message.
*/
- private function _process_onboarding( $data ) {
+ private function process_onboarding( $data ) {
if ( isset( $data['end'] ) && $data['end'] ) {
return Jetpack::invalidate_onboarding_token()
? ''
@@ -989,69 +1054,102 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
if ( ! empty( $data['siteTitle'] ) ) {
// If option value was the same, consider it done.
- if ( ! ( update_option( 'blogname', $data['siteTitle'] ) || get_option( 'blogname' ) == $data['siteTitle'] ) ) {
+ if ( ! (
+ update_option( 'blogname', $data['siteTitle'] )
+ || get_option( 'blogname' ) === $data['siteTitle']
+ ) ) {
$error[] = 'siteTitle';
}
}
if ( isset( $data['siteDescription'] ) ) {
// If option value was the same, consider it done.
- if ( ! ( update_option( 'blogdescription', $data['siteDescription'] ) || get_option( 'blogdescription' ) == $data['siteDescription'] ) ) {
+ if ( ! (
+ update_option( 'blogdescription', $data['siteDescription'] )
+ || get_option( 'blogdescription' ) === $data['siteDescription']
+ ) ) {
$error[] = 'siteDescription';
}
}
$site_title = get_option( 'blogname' );
- $author = get_current_user_id() || 1;
+ $author = get_current_user_id() || 1;
if ( ! empty( $data['siteType'] ) ) {
- if ( ! ( update_option( 'jpo_site_type', $data['siteType'] ) || get_option( 'jpo_site_type' ) == $data['siteType'] ) ) {
+ if ( ! (
+ update_option( 'jpo_site_type', $data['siteType'] )
+ || get_option( 'jpo_site_type' ) === $data['siteType']
+ ) ) {
$error[] = 'siteType';
}
}
if ( isset( $data['homepageFormat'] ) ) {
- // If $data['homepageFormat'] is 'posts', we have nothing to do since it's WordPress' default
- // if it exists, just update
+ /*
+ * If $data['homepageFormat'] is 'posts',
+ * we have nothing to do since it's WordPress' default
+ * if it exists, just update
+ */
$homepage_format = get_option( 'jpo_homepage_format' );
if ( ! $homepage_format || $homepage_format !== $data['homepageFormat'] ) {
if ( 'page' === $data['homepageFormat'] ) {
- if ( ! ( update_option( 'show_on_front', 'page' ) || get_option( 'show_on_front' ) == 'page' ) ) {
+ if ( ! (
+ update_option( 'show_on_front', 'page' )
+ || get_option( 'show_on_front' ) === 'page'
+ ) ) {
$error[] = 'homepageFormat';
}
- $home = wp_insert_post( array(
- 'post_type' => 'page',
- /* translators: this references the home page of a site, also called front page. */
- 'post_title' => esc_html_x( 'Home Page', 'The home page of a website.', 'jetpack' ),
- 'post_content' => sprintf( esc_html__( 'Welcome to %s.', 'jetpack' ), $site_title ),
- 'post_status' => 'publish',
- 'post_author' => $author,
- ) );
- if ( 0 == $home ) {
+ $home = wp_insert_post(
+ array(
+ 'post_type' => 'page',
+ /* translators: this references the home page of a site, also called front page. */
+ 'post_title' => esc_html_x( 'Home Page', 'The home page of a website.', 'jetpack' ),
+ 'post_content' => sprintf(
+ /* Translators: placeholder is the site title. */
+ esc_html__( 'Welcome to %s.', 'jetpack' ),
+ $site_title
+ ),
+ 'post_status' => 'publish',
+ 'post_author' => $author,
+ )
+ );
+ if ( 0 === $home ) {
$error[] = 'home insert: 0';
} elseif ( is_wp_error( $home ) ) {
- $error[] = 'home creation: '. $home->get_error_message();
+ $error[] = 'home creation: ' . $home->get_error_message();
}
- if ( ! ( update_option( 'page_on_front', $home ) || get_option( 'page_on_front' ) == $home ) ) {
+ if ( ! (
+ update_option( 'page_on_front', $home )
+ || get_option( 'page_on_front' ) === $home
+ ) ) {
$error[] = 'home set';
}
- $blog = wp_insert_post( array(
- 'post_type' => 'page',
- /* translators: this references the page where blog posts are listed. */
- 'post_title' => esc_html_x( 'Blog', 'The blog of a website.', 'jetpack' ),
- 'post_content' => sprintf( esc_html__( 'These are the latest posts in %s.', 'jetpack' ), $site_title ),
- 'post_status' => 'publish',
- 'post_author' => $author,
- ) );
- if ( 0 == $blog ) {
+ $blog = wp_insert_post(
+ array(
+ 'post_type' => 'page',
+ /* translators: this references the page where blog posts are listed. */
+ 'post_title' => esc_html_x( 'Blog', 'The blog of a website.', 'jetpack' ),
+ 'post_content' => sprintf(
+ /* Translators: placeholder is the site title. */
+ esc_html__( 'These are the latest posts in %s.', 'jetpack' ),
+ $site_title
+ ),
+ 'post_status' => 'publish',
+ 'post_author' => $author,
+ )
+ );
+ if ( 0 === $blog ) {
$error[] = 'blog insert: 0';
} elseif ( is_wp_error( $blog ) ) {
- $error[] = 'blog creation: '. $blog->get_error_message();
+ $error[] = 'blog creation: ' . $blog->get_error_message();
}
- if ( ! ( update_option( 'page_for_posts', $blog ) || get_option( 'page_for_posts' ) == $blog ) ) {
+ if ( ! (
+ update_option( 'page_for_posts', $blog )
+ || get_option( 'page_for_posts' ) === $blog
+ ) ) {
$error[] = 'blog set';
}
} else {
@@ -1069,7 +1167,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
update_option( 'jpo_homepage_format', $data['homepageFormat'] );
}
- // Setup contact page and add a form and/or business info
+ // Setup contact page and add a form and/or business info.
$contact_page = '';
if ( ! empty( $data['addContactForm'] ) && ! get_option( 'jpo_contact_page' ) ) {
$contact_form_module_active = Jetpack::is_module_active( 'contact-form' );
@@ -1089,18 +1187,20 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
if ( ! empty( $contact_page ) ) {
- $form = wp_insert_post( array(
- 'post_type' => 'page',
- /* translators: this references a page with contact details and possibly a form. */
- 'post_title' => esc_html_x( 'Contact us', 'Contact page for your website.', 'jetpack' ),
- 'post_content' => esc_html__( 'Send us a message!', 'jetpack' ) . "\n" . $contact_page,
- 'post_status' => 'publish',
- 'post_author' => $author,
- ) );
- if ( 0 == $form ) {
+ $form = wp_insert_post(
+ array(
+ 'post_type' => 'page',
+ /* translators: this references a page with contact details and possibly a form. */
+ 'post_title' => esc_html_x( 'Contact us', 'Contact page for your website.', 'jetpack' ),
+ 'post_content' => esc_html__( 'Send us a message!', 'jetpack' ) . "\n" . $contact_page,
+ 'post_status' => 'publish',
+ 'post_author' => $author,
+ )
+ );
+ if ( 0 === $form ) {
$error[] = 'form insert: 0';
} elseif ( is_wp_error( $form ) ) {
- $error[] = 'form creation: '. $form->get_error_message();
+ $error[] = 'form creation: ' . $form->get_error_message();
} else {
update_option( 'jpo_contact_page', $form );
}
@@ -1114,9 +1214,8 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
if ( ! empty( $data['installWooCommerce'] ) ) {
- jetpack_require_lib( 'plugins' );
- $wc_install_result = Jetpack_Plugins::install_and_activate_plugin( 'woocommerce' );
- delete_transient( '_wc_activation_redirect' ); // Redirecting to WC setup would kill our users' flow
+ $wc_install_result = Plugins_Installer::install_and_activate_plugin( 'woocommerce' );
+ delete_transient( '_wc_activation_redirect' ); // Redirecting to WC setup would kill our users' flow.
if ( is_wp_error( $wc_install_result ) ) {
$error[] = 'woocommerce installation';
}
@@ -1148,8 +1247,8 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
* @param array $address Array of business address fields.
*
* @return WP_Error|true True if the data was saved correctly.
- */
- static function handle_business_address( $address ) {
+ */
+ private static function handle_business_address( $address ) {
$first_sidebar = Jetpack_Widgets::get_first_sidebar();
$widgets_module_active = Jetpack::is_module_active( 'widgets' );
@@ -1161,11 +1260,11 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
if ( $first_sidebar ) {
- $title = isset( $address['name'] ) ? sanitize_text_field( $address['name'] ) : '';
- $street = isset( $address['street'] ) ? sanitize_text_field( $address['street'] ) : '';
- $city = isset( $address['city'] ) ? sanitize_text_field( $address['city'] ) : '';
- $state = isset( $address['state'] ) ? sanitize_text_field( $address['state'] ) : '';
- $zip = isset( $address['zip'] ) ? sanitize_text_field( $address['zip'] ) : '';
+ $title = isset( $address['name'] ) ? sanitize_text_field( $address['name'] ) : '';
+ $street = isset( $address['street'] ) ? sanitize_text_field( $address['street'] ) : '';
+ $city = isset( $address['city'] ) ? sanitize_text_field( $address['city'] ) : '';
+ $state = isset( $address['state'] ) ? sanitize_text_field( $address['state'] ) : '';
+ $zip = isset( $address['zip'] ) ? sanitize_text_field( $address['zip'] ) : '';
$country = isset( $address['country'] ) ? sanitize_text_field( $address['country'] ) : '';
$full_address = implode( ' ', array_filter( array( $street, $city, $state, $zip, $country ) ) );
@@ -1176,12 +1275,12 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
'phone' => '',
'hours' => '',
'showmap' => false,
- 'email' => ''
+ 'email' => '',
);
$widget_updated = '';
if ( ! self::has_business_address_widget( $first_sidebar ) ) {
- $widget_updated = Jetpack_Widgets::insert_widget_in_sidebar( 'widget_contact_info', $widget_options, $first_sidebar );
+ $widget_updated = Jetpack_Widgets::insert_widget_in_sidebar( 'widget_contact_info', $widget_options, $first_sidebar );
} else {
$widget_updated = Jetpack_Widgets::update_widget_in_sidebar( 'widget_contact_info', $widget_options, $first_sidebar );
}
@@ -1190,29 +1289,29 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
$address_save = array(
- 'name' => $title,
- 'street' => $street,
- 'city' => $city,
- 'state' => $state,
- 'zip' => $zip,
- 'country' => $country
+ 'name' => $title,
+ 'street' => $street,
+ 'city' => $city,
+ 'state' => $state,
+ 'zip' => $zip,
+ 'country' => $country,
);
update_option( 'jpo_business_address', $address_save );
return true;
}
- // No sidebar to place the widget
+ // No sidebar to place the widget.
return new WP_Error( 'sidebar_not_found', 'No sidebar.', 400 );
}
/**
* Check whether "Contact Info & Map" widget is present in a given sidebar.
*
- * @param string $sidebar ID of the sidebar to which the widget will be added.
+ * @param string $sidebar ID of the sidebar to which the widget will be added.
*
* @return bool Whether the widget is present in a given sidebar.
- */
- static function has_business_address_widget( $sidebar ) {
+ */
+ private static function has_business_address_widget( $sidebar ) {
$sidebars_widgets = get_option( 'sidebars_widgets', array() );
if ( ! isset( $sidebars_widgets[ $sidebar ] ) ) {
return false;
@@ -1251,7 +1350,7 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
$options = Jetpack_Core_Json_Api_Endpoints::get_updateable_data_list( $params );
foreach ( $options as $option => $definition ) {
- if ( in_array( $options[ $option ]['jp_group'], array( 'post-by-email' ) ) ) {
+ if ( in_array( $options[ $option ]['jp_group'], array( 'post-by-email' ), true ) ) {
$module = $options[ $option ]['jp_group'];
break;
}
@@ -1266,10 +1365,23 @@ class Jetpack_Core_API_Data extends Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
}
+/**
+ * Get detailed data from a specific module.
+ *
+ * phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+ */
class Jetpack_Core_API_Module_Data_Endpoint {
+ // phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+ /**
+ * Process request and return different data based on the module we are interested in.
+ *
+ * @param WP_REST_Request $request WP API request.
+ *
+ * @return WP_REST_Response|WP_Error A REST response if the request was served successfully, otherwise an error.
+ */
public function process( $request ) {
- switch( $request['slug'] ) {
+ switch ( $request['slug'] ) {
case 'protect':
return $this->get_protect_data();
case 'stats':
@@ -1290,12 +1402,12 @@ class Jetpack_Core_API_Module_Data_Endpoint {
*
* @since 4.8.0
*
- * @param WP_REST_Request $request
+ * @param WP_REST_Request $request WP API request.
*
* @return bool
*/
public function key_check( $request ) {
- switch( $request['service'] ) {
+ switch ( $request['service'] ) {
case 'akismet':
$params = $request->get_json_params();
if ( isset( $params['api_key'] ) && ! empty( $params['api_key'] ) ) {
@@ -1353,26 +1465,32 @@ class Jetpack_Core_API_Module_Data_Endpoint {
public function check_akismet_key( $api_key = '' ) {
$akismet_status = $this->akismet_class_exists();
if ( is_wp_error( $akismet_status ) ) {
- return rest_ensure_response( array(
- 'validKey' => false,
- 'invalidKeyCode' => $akismet_status->get_error_code(),
- 'invalidKeyMessage' => $akismet_status->get_error_message(),
- ) );
+ return rest_ensure_response(
+ array(
+ 'validKey' => false,
+ 'invalidKeyCode' => $akismet_status->get_error_code(),
+ 'invalidKeyMessage' => $akismet_status->get_error_message(),
+ )
+ );
}
$key_status = Akismet::check_key_status( empty( $api_key ) ? Akismet::get_api_key() : $api_key );
if ( ! $key_status || 'invalid' === $key_status || 'failed' === $key_status ) {
- return rest_ensure_response( array(
- 'validKey' => false,
- 'invalidKeyCode' => 'invalid_key',
- 'invalidKeyMessage' => esc_html__( 'Invalid Akismet key. Please contact support.', 'jetpack' ),
- ) );
+ return rest_ensure_response(
+ array(
+ 'validKey' => false,
+ 'invalidKeyCode' => 'invalid_key',
+ 'invalidKeyMessage' => esc_html__( 'Invalid Akismet key. Please contact support.', 'jetpack' ),
+ )
+ );
}
- return rest_ensure_response( array(
- 'validKey' => isset( $key_status[1] ) && 'valid' === $key_status[1]
- ) );
+ return rest_ensure_response(
+ array(
+ 'validKey' => isset( $key_status[1] ) && 'valid' === $key_status[1],
+ )
+ );
}
/**
@@ -1402,7 +1520,8 @@ class Jetpack_Core_API_Module_Data_Endpoint {
* @return bool|WP_Error True if Akismet is active and registered. Otherwise, a WP_Error instance with the corresponding error.
*/
private function akismet_is_active_and_registered() {
- if ( is_wp_error( $akismet_exists = $this->akismet_class_exists() ) ) {
+ $akismet_exists = $this->akismet_class_exists();
+ if ( is_wp_error( $akismet_exists ) ) {
return $akismet_exists;
}
@@ -1437,37 +1556,43 @@ class Jetpack_Core_API_Module_Data_Endpoint {
// If no parameters were passed.
if (
- empty ( $range )
+ empty( $range )
|| ! in_array( $range, array( 'day', 'week', 'month' ), true )
) {
$range = 'day';
}
if ( ! function_exists( 'stats_get_from_restapi' ) ) {
- require_once( JETPACK__PLUGIN_DIR . 'modules/stats.php' );
+ require_once JETPACK__PLUGIN_DIR . 'modules/stats.php';
}
switch ( $range ) {
- // This is always called first on page load
+ // This is always called first on page load.
case 'day':
$initial_stats = stats_get_from_restapi();
- return rest_ensure_response( array(
- 'general' => $initial_stats,
-
- // Build data for 'day' as if it was stats_get_from_restapi( array(), 'visits?unit=day&quantity=30' );
- 'day' => isset( $initial_stats->visits )
- ? $initial_stats->visits
- : array(),
- ) );
+ return rest_ensure_response(
+ array(
+ 'general' => $initial_stats,
+
+ // Build data for 'day' as if it was stats_get_from_restapi( array(), 'visits?unit=day&quantity=30' ).
+ 'day' => isset( $initial_stats->visits )
+ ? $initial_stats->visits
+ : array(),
+ )
+ );
case 'week':
- return rest_ensure_response( array(
- 'week' => stats_get_from_restapi( array(), 'visits?unit=week&quantity=14' ),
- ) );
+ return rest_ensure_response(
+ array(
+ 'week' => stats_get_from_restapi( array(), 'visits?unit=week&quantity=14' ),
+ )
+ );
case 'month':
- return rest_ensure_response( array(
- 'month' => stats_get_from_restapi( array(), 'visits?unit=month&quantity=12&' ),
- ) );
+ return rest_ensure_response(
+ array(
+ 'month' => stats_get_from_restapi( array(), 'visits?unit=month&quantity=12&' ),
+ )
+ );
}
}
@@ -1491,16 +1616,20 @@ class Jetpack_Core_API_Module_Data_Endpoint {
$last_downtime = $monitor->monitor_get_last_downtime();
if ( is_wp_error( $last_downtime ) ) {
return $last_downtime;
- } else if ( false === strtotime( $last_downtime ) ) {
- return rest_ensure_response( array(
- 'code' => 'success',
- 'date' => null,
- ) );
+ } elseif ( false === strtotime( $last_downtime ) ) {
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'date' => null,
+ )
+ );
} else {
- return rest_ensure_response( array(
- 'code' => 'success',
- 'date' => human_time_diff( strtotime( $last_downtime ), strtotime( 'now' ) ),
- ) );
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'date' => human_time_diff( strtotime( $last_downtime ), strtotime( 'now' ) ),
+ )
+ );
}
}
@@ -1573,8 +1702,8 @@ class Jetpack_Core_API_Module_Data_Endpoint {
);
} else {
$copy_services = $services;
- $last = count( $copy_services ) - 1;
- $last_service = $copy_services[ $last ];
+ $last = count( $copy_services ) - 1;
+ $last_service = $copy_services[ $last ];
unset( $copy_services[ $last ] );
$message = esc_html(
sprintf(
@@ -1586,11 +1715,13 @@ class Jetpack_Core_API_Module_Data_Endpoint {
);
}
- return rest_ensure_response( array(
- 'code' => 'success',
- 'message' => $message,
- 'services' => $services,
- ) );
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'message' => $message,
+ 'services' => $services,
+ )
+ );
}
/**
@@ -1611,41 +1742,49 @@ class Jetpack_Core_API_Module_Data_Endpoint {
$vaultpress = new VaultPress();
if ( ! $vaultpress->is_registered() ) {
- return rest_ensure_response( array(
- 'code' => 'not_registered',
- 'message' => esc_html__( 'You need to register for VaultPress.', 'jetpack' )
- ) );
- }
-
- $data = json_decode( base64_decode( $vaultpress->contact_service( 'plugin_data' ) ) );
- if ( false == $data ) {
- return rest_ensure_response( array(
- 'code' => 'not_registered',
- 'message' => esc_html__( 'Could not connect to VaultPress.', 'jetpack' )
- ) );
- } else if ( is_wp_error( $data ) || ! isset( $data->backups->last_backup ) ) {
+ return rest_ensure_response(
+ array(
+ 'code' => 'not_registered',
+ 'message' => esc_html__( 'You need to register for VaultPress.', 'jetpack' ),
+ )
+ );
+ }
+
+ $data = json_decode( base64_decode( $vaultpress->contact_service( 'plugin_data' ) ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
+ if ( false === $data ) {
+ return rest_ensure_response(
+ array(
+ 'code' => 'not_registered',
+ 'message' => esc_html__( 'Could not connect to VaultPress.', 'jetpack' ),
+ )
+ );
+ } elseif ( is_wp_error( $data ) || ! isset( $data->backups->last_backup ) ) {
return $data;
- } else if ( empty( $data->backups->last_backup ) ) {
- return rest_ensure_response( array(
- 'code' => 'success',
- 'message' => esc_html__( 'VaultPress is active and will back up your site soon.', 'jetpack' ),
- 'data' => $data,
- ) );
+ } elseif ( empty( $data->backups->last_backup ) ) {
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'message' => esc_html__( 'VaultPress is active and will back up your site soon.', 'jetpack' ),
+ 'data' => $data,
+ )
+ );
} else {
- return rest_ensure_response( array(
- 'code' => 'success',
- 'message' => esc_html(
- sprintf(
- /* translators: placeholder is a unit of time (1 hour, 5 days, ...) */
- esc_html__( 'Your site was successfully backed up %s ago.', 'jetpack' ),
- human_time_diff(
- $data->backups->last_backup,
- current_time( 'timestamp' )
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'message' => esc_html(
+ sprintf(
+ /* translators: placeholder is a unit of time (1 hour, 5 days, ...) */
+ esc_html__( 'Your site was successfully backed up %s ago.', 'jetpack' ),
+ human_time_diff(
+ $data->backups->last_backup,
+ current_time( 'timestamp' ) // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested -- We cannot switch to time() or another "unix" timestamp option as long as $data->backups->last_backup uses WP timestamps.
+ )
)
- )
- ),
- 'data' => $data,
- ) );
+ ),
+ 'data' => $data,
+ )
+ );
}
}
diff --git a/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-site-endpoints.php b/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-site-endpoints.php
index 10ae6ca8..f820a6f9 100644
--- a/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-site-endpoints.php
+++ b/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-site-endpoints.php
@@ -237,17 +237,19 @@ class Jetpack_Core_API_Site_Endpoint {
}
// Number of VideoPress videos on the site.
- $videopress_attachments = wp_count_attachments( 'video/videopress' );
- if (
- isset( $videopress_attachments->{'video/videopress'} )
- && $videopress_attachments->{'video/videopress'} > 0
- ) {
- $benefits[] = array(
- 'name' => 'video-hosting',
- 'title' => esc_html__( 'Video Hosting', 'jetpack' ),
- 'description' => esc_html__( 'Ad-free, lightning-fast videos delivered by Jetpack', 'jetpack' ),
- 'value' => absint( $videopress_attachments->{'video/videopress'} ),
- );
+ if ( Jetpack::is_module_active( 'videopress' ) ) {
+ $videopress_attachments = wp_count_attachments( 'video/videopress' );
+ if (
+ isset( $videopress_attachments->{'video/videopress'} )
+ && $videopress_attachments->{'video/videopress'} > 0
+ ) {
+ $benefits[] = array(
+ 'name' => 'video-hosting',
+ 'title' => esc_html__( 'Video Hosting', 'jetpack' ),
+ 'description' => esc_html__( 'Ad-free, lightning-fast videos delivered by Jetpack', 'jetpack' ),
+ 'value' => absint( $videopress_attachments->{'video/videopress'} ),
+ );
+ }
}
// Number of active Publicize connections.
@@ -280,6 +282,14 @@ class Jetpack_Core_API_Site_Endpoint {
);
}
+ if ( Jetpack::is_module_active( 'search' ) && ! class_exists( 'Automattic\\Jetpack\\Search_Plugin\\Jetpack_Search_Plugin' ) ) {
+ $benefits[] = array(
+ 'name' => 'search',
+ 'title' => esc_html__( 'Search', 'jetpack' ),
+ 'description' => esc_html__( 'Help your visitors find exactly what they are looking for, fast', 'jetpack' ),
+ );
+ }
+
// Finally, return the whole list of benefits.
return rest_ensure_response(
array(
diff --git a/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-widgets-endpoints.php b/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-widgets-endpoints.php
index ffd62bb3..a9ac3409 100644
--- a/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-widgets-endpoints.php
+++ b/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-widgets-endpoints.php
@@ -1,11 +1,19 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
- * Widget information getter endpoint.
+ * Interact with a specific widget via the REST API.
+ * Currently only supports the Milestone widget.
*
+ * @package automattic/jetpack
+ */
+
+/**
+ * Widget information getter endpoint.
*/
class Jetpack_Core_API_Widget_Endpoint {
/**
+ * Get information about a widget that is supported by this endpoint.
+ *
* @since 5.5.0
*
* @param WP_REST_Request $request {
@@ -18,9 +26,9 @@ class Jetpack_Core_API_Widget_Endpoint {
*/
public function process( $request ) {
$widget_base = _get_widget_id_base( $request['id'] );
- $widget_id = (int) substr( $request['id'], strlen( $widget_base ) + 1 );
+ $widget_id = (int) substr( $request['id'], strlen( $widget_base ) + 1 );
- switch( $widget_base ) {
+ switch ( $widget_base ) {
case 'milestone_widget':
$instances = get_option( 'widget_milestone_widget', array() );
@@ -30,7 +38,7 @@ class Jetpack_Core_API_Widget_Endpoint {
&& isset( $instances[ $widget_id ] )
) {
$instance = $instances[ $widget_id ];
- $widget = new Milestone_Widget();
+ $widget = new Milestone_Widget();
return $widget->get_widget_data( $instance );
}
}
diff --git a/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-xmlrpc-consumer-endpoint.php b/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-xmlrpc-consumer-endpoint.php
index abfc8627..cf72f709 100644
--- a/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-xmlrpc-consumer-endpoint.php
+++ b/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-xmlrpc-consumer-endpoint.php
@@ -1,7 +1,12 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* This is the base class for every Core API endpoint that needs an XMLRPC client.
*
+ * @package automattic/jetpack
+ */
+
+/**
+ * Base class for every Core API endpoint that needs an XMLRPC client.
*/
abstract class Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
@@ -14,10 +19,11 @@ abstract class Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
protected $xmlrpc;
/**
+ * Constructor.
*
* @since 4.3.0
*
- * @param Jetpack_IXR_Client $xmlrpc
+ * @param Jetpack_IXR_Client $xmlrpc Jetpack_IXR_Client instance.
*/
public function __construct( $xmlrpc = null ) {
$this->xmlrpc = $xmlrpc;
@@ -36,4 +42,4 @@ abstract class Jetpack_Core_API_XMLRPC_Consumer_Endpoint {
}
return false;
}
-} \ No newline at end of file
+}
diff --git a/plugins/jetpack/_inc/lib/core-api/load-wpcom-endpoints.php b/plugins/jetpack/_inc/lib/core-api/load-wpcom-endpoints.php
index 778600ef..2c9089a8 100644
--- a/plugins/jetpack/_inc/lib/core-api/load-wpcom-endpoints.php
+++ b/plugins/jetpack/_inc/lib/core-api/load-wpcom-endpoints.php
@@ -1,11 +1,12 @@
<?php
-
-/*
+/**
* Loader for WP REST API endpoints that are synced with WP.com.
*
* On WP.com see:
* - wp-content/mu-plugins/rest-api.php
* - wp-content/rest-api-plugins/jetpack-endpoints/
+ *
+ * @package automattic/jetpack
*/
/**
@@ -15,8 +16,13 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
+/**
+ * Loop through endpoint files and load them.
+ *
+ * @param string $file_pattern Path pattern to the endpoints (pattern must be supported by glob()).
+ */
function wpcom_rest_api_v2_load_plugin_files( $file_pattern ) {
- $plugins = glob( dirname( __FILE__ ) . '/' . $file_pattern );
+ $plugins = glob( __DIR__ . '/' . $file_pattern );
if ( ! is_array( $plugins ) ) {
return;
@@ -27,20 +33,25 @@ function wpcom_rest_api_v2_load_plugin_files( $file_pattern ) {
}
}
-// API v2 plugins: define a class, then call this function.
+/**
+ * API v2 plugins: define a class, then call this function.
+ *
+ * @param string $class_name The name of the class to load.
+ */
function wpcom_rest_api_v2_load_plugin( $class_name ) {
global $wpcom_rest_api_v2_plugins;
if ( ! isset( $wpcom_rest_api_v2_plugins ) ) {
- $_GLOBALS['wpcom_rest_api_v2_plugins'] = $wpcom_rest_api_v2_plugins = array();
+ $wpcom_rest_api_v2_plugins = array();
+ $_GLOBALS['wpcom_rest_api_v2_plugins'] = array(); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase,VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
}
if ( ! isset( $wpcom_rest_api_v2_plugins[ $class_name ] ) ) {
- $wpcom_rest_api_v2_plugins[ $class_name ] = new $class_name;
+ $wpcom_rest_api_v2_plugins[ $class_name ] = new $class_name();
}
}
-require dirname( __FILE__ ) . '/class-wpcom-rest-field-controller.php';
+require __DIR__ . '/class-wpcom-rest-field-controller.php';
/**
* Load the REST API v2 plugin files during the plugins_loaded action.
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/business-hours.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/business-hours.php
index 34798f8e..18d4491f 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/business-hours.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/business-hours.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Build localized strings for use with the Business Hours Block.
+ *
+ * @package automattic/jetpack
+ */
/**
* Business Hours: Localized week
@@ -6,22 +11,32 @@
* @since 7.1
*/
class WPCOM_REST_API_V2_Endpoint_Business_Hours extends WP_REST_Controller {
- function __construct() {
+ /**
+ * Constructor.
+ */
+ public function __construct() {
$this->namespace = 'wpcom/v2';
$this->rest_base = 'business-hours';
// This endpoint *does not* need to connect directly to Jetpack sites.
add_action( 'rest_api_init', array( $this, 'register_routes' ) );
}
+ /**
+ * Register endpoint route.
+ */
public function register_routes() {
- // GET /sites/<blog_id>/business-hours/localized-week - Return the localized
- register_rest_route( $this->namespace, '/' . $this->rest_base . '/localized-week', array(
+ // GET /sites/<blog_id>/business-hours/localized-week - Return the localized.
+ register_rest_route(
+ $this->namespace,
+ '/' . $this->rest_base . '/localized-week',
array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( $this, 'get_localized_week' ),
- 'permission_callback' => '__return_true',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => array( $this, 'get_localized_week' ),
+ 'permission_callback' => '__return_true',
+ ),
)
- ) );
+ );
}
/**
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php
index b8b33d55..1fb0b79a 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php
@@ -82,7 +82,7 @@ class WPCOM_REST_API_V2_Endpoint_External_Media extends WP_REST_Controller {
*
* @var string
*/
- private static $services_regex = '(?P<service>google_photos|pexels)';
+ private static $services_regex = '(?P<service>google_photos|openverse|pexels)';
/**
* Temporary filename.
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-mailchimp.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-mailchimp.php
index 1c25bb2d..fb10ffab 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-mailchimp.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-mailchimp.php
@@ -1,4 +1,10 @@
<?php
+/**
+ * API endpoints to interact with WordPress.com
+ * to get info from the Mailchimp API for use with the Mailchimp block.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Client;
use Automattic\Jetpack\Redirect;
@@ -11,6 +17,9 @@ use Automattic\Jetpack\Redirect;
* @since 7.1
*/
class WPCOM_REST_API_V2_Endpoint_Mailchimp extends WP_REST_Controller {
+ /**
+ * Constructor.
+ */
public function __construct() {
$this->namespace = 'wpcom/v2';
$this->rest_base = 'mailchimp';
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-videopress.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-videopress.php
index a7046c12..b4b83ee8 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-videopress.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-videopress.php
@@ -31,7 +31,7 @@ class WPCOM_REST_API_V2_Endpoint_VideoPress extends WP_REST_Controller {
$this->rest_base . '/meta',
array(
'args' => array(
- 'id' => array(
+ 'id' => array(
'description' => __( 'The post id for the attachment.', 'jetpack' ),
'type' => 'int',
'required' => true,
@@ -39,36 +39,44 @@ class WPCOM_REST_API_V2_Endpoint_VideoPress extends WP_REST_Controller {
return is_numeric( $param );
},
),
- 'title' => array(
+ 'title' => array(
'description' => __( 'The title of the video.', 'jetpack' ),
'type' => 'string',
'required' => false,
'sanitize_callback' => 'sanitize_text_field',
),
- 'description' => array(
+ 'description' => array(
'description' => __( 'The description of the video.', 'jetpack' ),
'type' => 'string',
'required' => false,
'sanitize_callback' => 'sanitize_text_field',
),
- 'rating' => array(
+ 'rating' => array(
'description' => __( 'The video content rating. One of G, PG-13 or R-17', 'jetpack' ),
'type' => 'string',
'required' => false,
'sanitize_callback' => 'sanitize_text_field',
),
- 'display_embed' => array(
+ 'display_embed' => array(
'description' => __( 'Display the share menu in the player.', 'jetpack' ),
'type' => 'boolean',
'required' => false,
'sanitize_callback' => 'rest_sanitize_boolean',
),
- 'allow_download' => array(
+ 'allow_download' => array(
'description' => __( 'Display download option and allow viewers to download this video', 'jetpack' ),
'type' => 'boolean',
'required' => false,
'sanitize_callback' => 'rest_sanitize_boolean',
),
+ 'privacy_setting' => array(
+ 'description' => __( 'How to determine if the video should be public or private', 'jetpack' ),
+ 'type' => 'int',
+ 'required' => false,
+ 'validate_callback' => function ( $param ) {
+ return is_numeric( $param );
+ },
+ ),
),
'methods' => WP_REST_Server::EDITABLE,
'callback' => array( $this, 'videopress_block_update_meta' ),
@@ -163,6 +171,14 @@ class WPCOM_REST_API_V2_Endpoint_VideoPress extends WP_REST_Controller {
}
}
+ if ( isset( $json_params['privacy_setting'] ) ) {
+ $privacy_setting = $json_params['privacy_setting'];
+ if ( ! isset( $meta['videopress']['privacy_setting'] ) || $meta['videopress']['privacy_setting'] !== $privacy_setting ) {
+ $meta['videopress']['privacy_setting'] = $privacy_setting;
+ $should_update_meta = true;
+ }
+ }
+
if ( $should_update_meta ) {
wp_update_attachment_metadata( $post_id, $meta );
}
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/gutenberg-available-extensions.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/gutenberg-available-extensions.php
index a10a4056..3f005a8c 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/gutenberg-available-extensions.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/gutenberg-available-extensions.php
@@ -1,6 +1,12 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Interact with the list of available block editor extensions (blocks, plugins)
+ * made available by the Jetpack plugin.
+ *
+ * @package automattic/jetpack
+ */
-/*
+/**
* Gutenberg: List Available Gutenberg Extensions (Blocks and Plugins)
*
* [
@@ -14,23 +20,33 @@
* @since 6.9
*/
class WPCOM_REST_API_V2_Endpoint_Gutenberg_Available_Extensions extends WP_REST_Controller {
- function __construct() {
- $this->namespace = 'wpcom/v2';
- $this->rest_base = 'gutenberg';
+ /**
+ * Constructor.
+ */
+ public function __construct() {
+ $this->namespace = 'wpcom/v2';
+ $this->rest_base = 'gutenberg';
$this->wpcom_is_site_specific_endpoint = true;
add_action( 'rest_api_init', array( $this, 'register_routes' ) );
}
+ /**
+ * Register the endpoint route.
+ */
public function register_routes() {
- register_rest_route( $this->namespace, $this->rest_base . '/available-extensions', array(
+ register_rest_route(
+ $this->namespace,
+ $this->rest_base . '/available-extensions',
array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( 'Jetpack_Gutenberg', 'get_availability' ),
- 'permission_callback' => array( $this, 'get_items_permission_check' ),
- ),
- 'schema' => array( $this, 'get_item_schema' ),
- ) );
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => array( 'Jetpack_Gutenberg', 'get_availability' ),
+ 'permission_callback' => array( $this, 'get_items_permission_check' ),
+ ),
+ 'schema' => array( $this, 'get_item_schema' ),
+ )
+ );
}
/**
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/hello.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/hello.php
index ff3349b8..6b78e7ce 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/hello.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/hello.php
@@ -1,23 +1,45 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Example of a WP.com endpoint.
+ *
+ * @package automattic/jetpack
+ */
+/**
+ * Example endpoint.
+ */
class WPCOM_REST_API_V2_Endpoint_Hello {
+ /**
+ * Constructor.
+ */
public function __construct() {
add_action( 'rest_api_init', array( $this, 'register_routes' ) );
}
+ /**
+ * Register endpoint route.
+ */
public function register_routes() {
- register_rest_route( 'wpcom/v2', '/hello', array(
+ register_rest_route(
+ 'wpcom/v2',
+ '/hello',
array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( $this, 'get_data' ),
- 'permission_callback' => '__return_true',
- ),
- ) );
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => array( $this, 'get_data' ),
+ 'permission_callback' => '__return_true',
+ ),
+ )
+ );
}
- public function get_data( $request ) {
+ /**
+ * Get data in response to the endpoint request.
+ *
+ * @param WP_REST_Request $request API request.
+ */
+ public function get_data( $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return array( 'hello' => 'world' );
}
}
-
wpcom_rest_api_v2_load_plugin( 'WPCOM_REST_API_V2_Endpoint_Hello' );
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/memberships.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/memberships.php
index f56178cc..e26a16e0 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/memberships.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/memberships.php
@@ -38,20 +38,24 @@ class WPCOM_REST_API_V2_Endpoint_Memberships extends WP_REST_Controller {
'callback' => array( $this, 'get_status' ),
'permission_callback' => array( $this, 'get_status_permission_check' ),
'args' => array(
- 'type' => array(
+ 'type' => array(
'type' => 'string',
'required' => false,
'validate_callback' => function ( $param ) {
return in_array( $param, array( 'donation', 'all' ), true );
},
),
- 'source' => array(
+ 'source' => array(
'type' => 'string',
'required' => false,
'validate_callback' => function ( $param ) {
return in_array( $param, array( 'calypso', 'earn', 'gutenberg', 'gutenberg-wpcom' ), true );
},
),
+ 'is_editable' => array(
+ 'type' => 'boolean',
+ 'required' => false,
+ ),
),
),
)
@@ -65,22 +69,29 @@ class WPCOM_REST_API_V2_Endpoint_Memberships extends WP_REST_Controller {
'callback' => array( $this, 'create_product' ),
'permission_callback' => array( $this, 'get_status_permission_check' ),
'args' => array(
- 'title' => array(
+ 'title' => array(
'type' => 'string',
'required' => true,
),
- 'price' => array(
+ 'price' => array(
'type' => 'float',
'required' => true,
),
- 'currency' => array(
+ 'currency' => array(
'type' => 'string',
'required' => true,
),
- 'interval' => array(
+ 'interval' => array(
'type' => 'string',
'required' => true,
),
+ 'is_editable' => array(
+ 'type' => 'boolean',
+ 'required' => false,
+ ),
+ 'buyer_can_change_amount' => array(
+ 'type' => 'boolean',
+ ),
),
),
)
@@ -110,27 +121,39 @@ class WPCOM_REST_API_V2_Endpoint_Memberships extends WP_REST_Controller {
/**
* Do create a product based on data, or pass request to wpcom.
*
- * @param object $request - request passed from WP.
+ * @param WP_REST_Request $request - request passed from WP.
*
* @return array|WP_Error
*/
- public function create_product( $request ) {
+ public function create_product( WP_REST_Request $request ) {
+ $is_editable = isset( $request['is_editable'] ) ? (bool) $request['is_editable'] : null;
+ $type = isset( $request['type'] ) ? $request['type'] : null;
+ $buyer_can_change_amount = isset( $request['buyer_can_change_amount'] ) && (bool) $request['buyer_can_change_amount'];
+
+ $payload = array(
+ 'title' => $request['title'],
+ 'price' => $request['price'],
+ 'currency' => $request['currency'],
+ 'buyer_can_change_amount' => $buyer_can_change_amount,
+ 'interval' => $request['interval'],
+ 'type' => $type,
+ );
+
+ // If we pass directly the value "null", it will break the argument validation.
+ if ( null !== $is_editable ) {
+ $payload['is_editable'] = $is_editable;
+ }
+
if ( ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) {
jetpack_require_lib( 'memberships' );
$connected_destination_account_id = Jetpack_Memberships::get_connected_account_id();
if ( ! $connected_destination_account_id ) {
return new WP_Error( 'no-destination-account', __( 'Please set up a Stripe account for this site first', 'jetpack' ) );
}
- $product = Memberships_Product::create(
- get_current_blog_id(),
- array(
- 'title' => $request['title'],
- 'price' => $request['price'],
- 'currency' => $request['currency'],
- 'interval' => $request['interval'],
- 'connected_destination_account_id' => $connected_destination_account_id,
- )
- );
+
+ $payload['connected_destination_account_id'] = $connected_destination_account_id;
+
+ $product = Memberships_Product::create( get_current_blog_id(), $payload );
if ( is_wp_error( $product ) ) {
return new WP_Error( $product->get_error_code(), __( 'Creating product has failed.', 'jetpack' ) );
}
@@ -143,12 +166,7 @@ class WPCOM_REST_API_V2_Endpoint_Memberships extends WP_REST_Controller {
array(
'method' => 'POST',
),
- array(
- 'title' => $request['title'],
- 'price' => $request['price'],
- 'currency' => $request['currency'],
- 'interval' => $request['interval'],
- )
+ $payload
);
if ( is_wp_error( $response ) ) {
if ( $response->get_error_code() === 'missing_token' ) {
@@ -175,19 +193,33 @@ class WPCOM_REST_API_V2_Endpoint_Memberships extends WP_REST_Controller {
* @return array|WP_Error
*/
public function create_products( $request ) {
+ $is_editable = isset( $request['is_editable'] ) ? (bool) $request['is_editable'] : null;
+
if ( ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) {
jetpack_require_lib( 'memberships' );
$connected_destination_account_id = Jetpack_Memberships::get_connected_account_id();
if ( ! $connected_destination_account_id ) {
return new WP_Error( 'no-destination-account', __( 'Please set up a Stripe account for this site first', 'jetpack' ) );
}
- $result = Memberships_Product::generate_default_products( get_current_blog_id(), $request['type'], $request['currency'], $connected_destination_account_id );
+
+ $result = Memberships_Product::generate_default_products( get_current_blog_id(), $request['type'], $request['currency'], $connected_destination_account_id, $is_editable );
+
if ( is_wp_error( $result ) ) {
$status = 'invalid_param' === $result->get_error_code() ? 400 : 500;
return new WP_Error( $result->get_error_code(), $result->get_error_message(), array( 'status' => $status ) );
}
return $result;
} else {
+ $payload = array(
+ 'type' => $request['type'],
+ 'currency' => $request['currency'],
+ );
+
+ // If we pass directly is_editable as null, it would break API argument validation.
+ if ( null !== $is_editable ) {
+ $payload['is_editable'] = $is_editable;
+ }
+
$blog_id = Jetpack_Options::get_option( 'id' );
$response = Client::wpcom_json_api_request_as_user(
"/sites/$blog_id/{$this->rest_base}/products",
@@ -195,10 +227,7 @@ class WPCOM_REST_API_V2_Endpoint_Memberships extends WP_REST_Controller {
array(
'method' => 'POST',
),
- array(
- 'type' => $request['type'],
- 'currency' => $request['currency'],
- )
+ $payload
);
if ( is_wp_error( $response ) ) {
if ( $response->get_error_code() === 'missing_token' ) {
@@ -227,19 +256,29 @@ class WPCOM_REST_API_V2_Endpoint_Memberships extends WP_REST_Controller {
public function get_status( \WP_REST_Request $request ) {
$product_type = $request['type'];
$source = $request['source'];
+ $is_editable = ! isset( $request['is_editable'] ) ? null : (bool) $request['is_editable'];
+
if ( ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) {
jetpack_require_lib( 'memberships' );
$blog_id = get_current_blog_id();
- return (array) get_memberships_settings_for_site( $blog_id, $product_type );
+ return (array) get_memberships_settings_for_site( $blog_id, $product_type, $is_editable );
} else {
+ $payload = array(
+ 'type' => $request['type'],
+ 'source' => $source,
+ );
+
+ // If we pass directly is_editable as null, it would break API argument validation.
+ // This also needs to be converted to int because boolean false is ignored by add_query_arg.
+ if ( null !== $is_editable ) {
+ $payload['is_editable'] = (int) $is_editable;
+ }
+
$blog_id = Jetpack_Options::get_option( 'id' );
$path = "/sites/$blog_id/{$this->rest_base}/status";
if ( $product_type ) {
$path = add_query_arg(
- array(
- 'type' => $product_type,
- 'source' => $source,
- ),
+ $payload,
$path
);
}
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connection-test-results.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connection-test-results.php
index 6e04a289..affa601c 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connection-test-results.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connection-test-results.php
@@ -1,6 +1,11 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Fetch information about Publicize connections on a site, including tests and connection status.
+ *
+ * @package automattic/jetpack
+ */
-require_once dirname( __FILE__ ) . '/publicize-connections.php';
+require_once __DIR__ . '/publicize-connections.php';
/**
* Publicize: List Connection Test Result Data
@@ -10,6 +15,9 @@ require_once dirname( __FILE__ ) . '/publicize-connections.php';
* @since 6.8
*/
class WPCOM_REST_API_V2_Endpoint_List_Publicize_Connection_Test_Results extends WPCOM_REST_API_V2_Endpoint_List_Publicize_Connections {
+ /**
+ * Constructor.
+ */
public function __construct() {
$this->namespace = 'wpcom/v2';
$this->rest_base = 'publicize/connection-test-results';
@@ -74,11 +82,14 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Connection_Test_Results extends
}
/**
- * @param WP_REST_Request
+ * Get list of Publicize Connections.
+ *
+ * @param WP_REST_Request $request Full details about the request.
+ *
* @see Publicize::get_publicize_conns_test_results()
* @return WP_REST_Response suitable for 1-page collection
*/
- public function get_items( $request ) {
+ public function get_items( $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
global $publicize;
$items = $this->get_connections();
@@ -117,5 +128,4 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Connection_Test_Results extends
return $response;
}
}
-
wpcom_rest_api_v2_load_plugin( 'WPCOM_REST_API_V2_Endpoint_List_Publicize_Connection_Test_Results' );
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connections.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connections.php
index 78cb3178..ac6dccf4 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connections.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connections.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Fetch information about Publicize connections on a site.
+ *
+ * @package automattic/jetpack
+ */
/**
* Publicize: List Connections
@@ -24,6 +29,9 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Connections extends WP_REST_Cont
*/
public $wpcom_is_wpcom_only_endpoint = true;
+ /**
+ * Constructor.
+ */
public function __construct() {
$this->namespace = 'wpcom/v2';
$this->rest_base = 'publicize/connections';
@@ -86,6 +94,8 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Connections extends WP_REST_Cont
}
/**
+ * Schema for the endpoint.
+ *
* @return array
*/
public function get_item_schema() {
@@ -122,7 +132,7 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Connections extends WP_REST_Cont
'display_name' => $publicize->get_display_name( $service_name, $connection ),
'profile_display_name' => ! empty( $connection_meta['profile_display_name'] ) ? $connection_meta['profile_display_name'] : '',
'profile_picture' => ! empty( $connection_meta['profile_picture'] ) ? $connection_meta['profile_picture'] : '',
- // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison -- We expect an integer, but do loose comparison below in case some other type is stored.
+ // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- We expect an integer, but do loose comparison below in case some other type is stored.
'global' => 0 == $connection_data['user_id'],
);
}
@@ -132,7 +142,10 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Connections extends WP_REST_Cont
}
/**
- * @param WP_REST_Request $request
+ * Get list of connected Publicize connections.
+ *
+ * @param WP_REST_Request $request Full details about the request.
+ *
* @return WP_REST_Response suitable for 1-page collection
*/
public function get_items( $request ) {
@@ -152,8 +165,9 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Connections extends WP_REST_Cont
/**
* Filters out data based on ?_fields= request parameter
*
- * @param array $connection
- * @param WP_REST_Request $request
+ * @param array $connection Array of info about a specific Publicize connection.
+ * @param WP_REST_Request $request Full details about the request.
+ *
* @return array filtered $connection
*/
public function prepare_item_for_response( $connection, $request ) {
@@ -200,5 +214,4 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Connections extends WP_REST_Cont
);
}
}
-
wpcom_rest_api_v2_load_plugin( 'WPCOM_REST_API_V2_Endpoint_List_Publicize_Connections' );
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-services.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-services.php
index da93dd6e..6fdd1231 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-services.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-services.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Endpoint used to fetch information to connect to a Publicize service.
+ *
+ * @package automattic/jetpack
+ */
/**
* Publicize: List Publicize Services
@@ -23,6 +28,9 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Services extends WP_REST_Control
*/
public $wpcom_is_wpcom_only_endpoint = true;
+ /**
+ * Constructor.
+ */
public function __construct() {
$this->namespace = 'wpcom/v2';
$this->rest_base = 'publicize/services';
@@ -49,6 +57,8 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Services extends WP_REST_Control
}
/**
+ * Schema for the publicize services endpoint.
+ *
* @return array
*/
public function get_item_schema() {
@@ -81,7 +91,8 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Services extends WP_REST_Control
*
* @see Publicize::get_available_service_data()
*
- * @param WP_REST_Request $request
+ * @param WP_REST_Request $request Full details about the request.
+ *
* @return WP_REST_Response suitable for 1-page collection
*/
public function get_items( $request ) {
@@ -113,8 +124,9 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Services extends WP_REST_Control
/**
* Filters out data based on ?_fields= request parameter
*
- * @param array $service
- * @param WP_REST_Request $request
+ * @param array $service UI service connection data for a specific Publicize service.
+ * @param WP_REST_Request $request Full details about the request.
+ *
* @return array filtered $service
*/
public function prepare_item_for_response( $service, $request ) {
@@ -161,5 +173,4 @@ class WPCOM_REST_API_V2_Endpoint_List_Publicize_Services extends WP_REST_Control
);
}
}
-
wpcom_rest_api_v2_load_plugin( 'WPCOM_REST_API_V2_Endpoint_List_Publicize_Services' );
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/service-api-keys.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/service-api-keys.php
index 8f279ea9..fde032ca 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/service-api-keys.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/service-api-keys.php
@@ -1,4 +1,10 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Get and save API keys for a site.
+ *
+ * @package automattic/jetpack
+ */
+
/**
* Service API Keys: Exposes 3rd party api keys that are used on a site.
*
@@ -17,13 +23,19 @@
*/
class WPCOM_REST_API_V2_Endpoint_Service_API_Keys extends WP_REST_Controller {
- function __construct() {
+ /**
+ * Constructor.
+ */
+ public function __construct() {
$this->namespace = 'wpcom/v2';
$this->rest_base = 'service-api-keys';
add_action( 'rest_api_init', array( $this, 'register_routes' ) );
}
+ /**
+ * Register endpoint routes.
+ */
public function register_routes() {
register_rest_route(
'wpcom/v2',
@@ -54,6 +66,9 @@ class WPCOM_REST_API_V2_Endpoint_Service_API_Keys extends WP_REST_Controller {
);
}
+ /**
+ * Permission check.
+ */
public static function edit_others_posts_check() {
if ( current_user_can( 'edit_others_posts' ) ) {
return true;
@@ -133,7 +148,7 @@ class WPCOM_REST_API_V2_Endpoint_Service_API_Keys extends WP_REST_Controller {
$option = self::key_for_api_service( $service );
$service_api_key = Jetpack_Options::get_option( $option, '' );
$service_api_key_source = 'site';
- };
+ }
$message = esc_html__( 'API key retrieved successfully.', 'jetpack' );
@@ -160,10 +175,10 @@ class WPCOM_REST_API_V2_Endpoint_Service_API_Keys extends WP_REST_Controller {
if ( ! $service ) {
return self::service_api_invalid_service_response();
}
- $json_params = $request->get_json_params();
- $params = ! empty( $json_params ) ? $json_params : $request->get_body_params();
- $service_api_key = trim( $params['service_api_key'] );
- $option = self::key_for_api_service( $service );
+ $json_params = $request->get_json_params();
+ $params = ! empty( $json_params ) ? $json_params : $request->get_body_params();
+ $service_api_key = trim( $params['service_api_key'] );
+ $option = self::key_for_api_service( $service );
$validation = self::validate_service_api_key( $service_api_key, $service, $params );
if ( ! $validation['status'] ) {
@@ -211,7 +226,7 @@ class WPCOM_REST_API_V2_Endpoint_Service_API_Keys extends WP_REST_Controller {
default:
$service_api_key = Jetpack_Options::get_option( $option, '' );
$service_api_key_source = 'site';
- };
+ }
return array(
'code' => 'success',
@@ -298,9 +313,9 @@ class WPCOM_REST_API_V2_Endpoint_Service_API_Keys extends WP_REST_Controller {
$mapbox_geocode_response = wp_safe_remote_get( esc_url_raw( $mapbox_geocode_url ) );
$mapbox_geocode_body = wp_remote_retrieve_body( $mapbox_geocode_response );
$mapbox_geocode_json = json_decode( $mapbox_geocode_body );
- if ( isset( $mapbox_geocode_json->message ) && ! isset( $mapbox_geocode_json->query ) ) {
+ if ( isset( $mapbox_geocode_json->message ) || ! isset( $mapbox_geocode_json->query ) ) {
$status = false;
- $msg = $mapbox_geocode_json->message;
+ $msg = isset( $mapbox_geocode_json->message ) ? $mapbox_geocode_json->message : 'Unknown error';
}
return array(
'status' => $status,
@@ -317,5 +332,4 @@ class WPCOM_REST_API_V2_Endpoint_Service_API_Keys extends WP_REST_Controller {
return $service . '_api_key';
}
}
-
wpcom_rest_api_v2_load_plugin( 'WPCOM_REST_API_V2_Endpoint_Service_API_Keys' );
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/sites-posts-featured-media-url.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/sites-posts-featured-media-url.php
index 4c34161c..26be9838 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/sites-posts-featured-media-url.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/sites-posts-featured-media-url.php
@@ -1,18 +1,29 @@
-<?php
-
-/*
- * Plugin Name: WPCOM Add Featured Media URL
- *
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * WPCOM Add Featured Media URL
* Adds `jetpack_featured_media_url` to post responses
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Add featured media url to API post responses.
+ */
class WPCOM_REST_API_V2_Sites_Posts_Add_Featured_Media_URL {
- function __construct() {
+ /**
+ * Constructor.
+ */
+ public function __construct() {
add_action( 'rest_api_init', array( $this, 'add_featured_media_url' ) );
}
- function add_featured_media_url() {
- register_rest_field( 'post', 'jetpack_featured_media_url',
+ /**
+ * Add featured media url to post responses.
+ */
+ public function add_featured_media_url() {
+ register_rest_field(
+ 'post',
+ 'jetpack_featured_media_url',
array(
'get_callback' => array( $this, 'get_featured_media_url' ),
'update_callback' => null,
@@ -21,9 +32,16 @@ class WPCOM_REST_API_V2_Sites_Posts_Add_Featured_Media_URL {
);
}
- function get_featured_media_url( $object, $field_name, $request ) {
+ /**
+ * Get featured media url.
+ *
+ * @param mixed $object What the endpoint returns.
+ * @param string $field_name Should always match `->field_name`.
+ * @param WP_REST_Request $request WP API request.
+ */
+ public function get_featured_media_url( $object, $field_name, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$featured_media_url = '';
- $image_attributes = wp_get_attachment_image_src(
+ $image_attributes = wp_get_attachment_image_src(
get_post_thumbnail_id( $object['id'] ),
'full'
);
@@ -33,5 +51,4 @@ class WPCOM_REST_API_V2_Sites_Posts_Add_Featured_Media_URL {
return $featured_media_url;
}
}
-
wpcom_rest_api_v2_load_plugin( 'WPCOM_REST_API_V2_Sites_Posts_Add_Featured_Media_URL' );
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/subscribers.php b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/subscribers.php
index 47c95b26..acc5a050 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/subscribers.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/subscribers.php
@@ -1,5 +1,9 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Get subscriber count from Jetpack's Subscriptions module.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Constants;
/**
@@ -8,7 +12,10 @@ use Automattic\Jetpack\Constants;
* @since 6.9
*/
class WPCOM_REST_API_V2_Endpoint_Subscribers extends WP_REST_Controller {
- function __construct() {
+ /**
+ * Constructor.
+ */
+ public function __construct() {
$this->namespace = 'wpcom/v2';
$this->rest_base = 'subscribers';
// This endpoint *does not* need to connect directly to Jetpack sites.
@@ -16,17 +23,27 @@ class WPCOM_REST_API_V2_Endpoint_Subscribers extends WP_REST_Controller {
add_action( 'rest_api_init', array( $this, 'register_routes' ) );
}
+ /**
+ * Register API routes.
+ */
public function register_routes() {
// GET /sites/<blog_id>/subscribers/count - Return number of subscribers for this site.
- register_rest_route( $this->namespace, '/' . $this->rest_base . '/count', array(
+ register_rest_route(
+ $this->namespace,
+ '/' . $this->rest_base . '/count',
array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( $this, 'get_subscriber_count' ),
- 'permission_callback' => array( $this, 'readable_permission_check' ),
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => array( $this, 'get_subscriber_count' ),
+ 'permission_callback' => array( $this, 'readable_permission_check' ),
+ ),
)
- ) );
+ );
}
+ /**
+ * Permission check. Only authors can access this endpoint.
+ */
public function readable_permission_check() {
if ( ! current_user_can_for_blog( get_current_blog_id(), 'edit_posts' ) ) {
return new WP_Error( 'authorization_required', 'Only users with the permission to edit posts can see the subscriber count.', array( 'status' => 401 ) );
@@ -38,20 +55,20 @@ class WPCOM_REST_API_V2_Endpoint_Subscribers extends WP_REST_Controller {
/**
* Retrieves subscriber count
*
- * @param WP_REST_Request $request incoming API request info
+ * @param WP_REST_Request $request incoming API request info.
* @return array data object containing subscriber count
*/
- public function get_subscriber_count( $request ) {
- // Get the most up to date subscriber count when request is not a test
+ public function get_subscriber_count( $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ // Get the most up to date subscriber count when request is not a test.
if ( ! Constants::is_defined( 'TESTING_IN_JETPACK' ) ) {
delete_transient( 'wpcom_subscribers_total' );
}
- $subscriber_info = Jetpack_Subscriptions_Widget::fetch_subscriber_count();
+ $subscriber_info = Jetpack_Subscriptions_Widget::fetch_subscriber_count();
$subscriber_count = $subscriber_info['value'];
return array(
- 'count' => $subscriber_count
+ 'count' => $subscriber_count,
);
}
}
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-fields/attachment-fields-videopress.php b/plugins/jetpack/_inc/lib/core-api/wpcom-fields/attachment-fields-videopress.php
index 84890c3c..636a1ebe 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-fields/attachment-fields-videopress.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-fields/attachment-fields-videopress.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Extend the REST API functionality for VideoPress users.
*
@@ -62,7 +62,7 @@ class WPCOM_REST_API_V2_Attachment_VideoPress_Field extends WPCOM_REST_API_V2_Fi
*
* @return string
*/
- public function get( $attachment, $request ) {
+ public function get( $attachment, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
$blog_id = get_current_blog_id();
} else {
@@ -131,7 +131,7 @@ class WPCOM_REST_API_V2_Attachment_VideoPress_Field extends WPCOM_REST_API_V2_Fi
*
* @return null
*/
- public function update( $value, $object, $request ) {
+ public function update( $value, $object, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return null;
}
@@ -144,7 +144,7 @@ class WPCOM_REST_API_V2_Attachment_VideoPress_Field extends WPCOM_REST_API_V2_Fi
*
* @return true
*/
- public function get_permission_check( $object, $request ) {
+ public function get_permission_check( $object, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return true;
}
@@ -158,7 +158,7 @@ class WPCOM_REST_API_V2_Attachment_VideoPress_Field extends WPCOM_REST_API_V2_Fi
*
* @return true
*/
- public function update_permission_check( $value, $object, $request ) {
+ public function update_permission_check( $value, $object, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return true;
}
}
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-fields/class-wpcom-rest-api-v2-attachment-videopress-data.php b/plugins/jetpack/_inc/lib/core-api/wpcom-fields/class-wpcom-rest-api-v2-attachment-videopress-data.php
index 9e508ff5..41ad8ab3 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-fields/class-wpcom-rest-api-v2-attachment-videopress-data.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-fields/class-wpcom-rest-api-v2-attachment-videopress-data.php
@@ -93,8 +93,11 @@ class WPCOM_REST_API_V2_Attachment_VideoPress_Data extends WPCOM_REST_API_V2_Fie
public function get_videopress_data( $attachment_id, $blog_id ) {
$info = video_get_info_by_blogpostid( $blog_id, $attachment_id );
return array(
- 'guid' => $info->guid,
- 'rating' => $info->rating,
+ 'guid' => $info->guid,
+ 'rating' => $info->rating,
+ 'allow_download' =>
+ isset( $info->allow_download ) && $info->allow_download ? 1 : 0,
+ 'privacy_setting' => ! isset( $info->privacy_setting ) ? VIDEOPRESS_PRIVACY::SITE_DEFAULT : intval( $info->privacy_setting ),
);
}
diff --git a/plugins/jetpack/_inc/lib/core-api/wpcom-fields/post-fields-publicize-connections.php b/plugins/jetpack/_inc/lib/core-api/wpcom-fields/post-fields-publicize-connections.php
index 8e4b282d..e9935fc0 100644
--- a/plugins/jetpack/_inc/lib/core-api/wpcom-fields/post-fields-publicize-connections.php
+++ b/plugins/jetpack/_inc/lib/core-api/wpcom-fields/post-fields-publicize-connections.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Handle Publicize connection information for each post.
+ *
+ * @package automattic/jetpack
+ */
/**
* Add per-post Publicize Connection data.
@@ -25,11 +30,32 @@
* @since 6.8.0
*/
class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_V2_Field_Controller {
+ /**
+ * Array of post types that can handle Publicize.
+ *
+ * @var array
+ */
protected $object_type = array( 'post' );
- protected $field_name = 'jetpack_publicize_connections';
- private $_meta_saved = array();
+ /**
+ * Field name
+ *
+ * @var string
+ */
+ protected $field_name = 'jetpack_publicize_connections';
+
+ /**
+ * Array of post IDs that have been updated.
+ *
+ * @var array
+ */
+ private $meta_saved = array();
+ /**
+ * Used to memoize the updates for a given post.
+ *
+ * @var array
+ */
public $memoized_updates = array();
/**
@@ -39,6 +65,9 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
public function register_fields() {
$this->object_type = get_post_types_by_support( 'publicize' );
foreach ( $this->object_type as $post_type ) {
+ if ( $this->is_registered( $post_type ) ) {
+ continue;
+ }
// Adds meta support for those post types that don't already have it.
// Only runs during REST API requests, so it doesn't impact UI.
if ( ! post_type_supports( $post_type, 'custom-fields' ) ) {
@@ -66,6 +95,9 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
);
}
+ /**
+ * Schema for the endpoint.
+ */
private function post_connection_schema() {
return array(
'$schema' => 'http://json-schema.org/draft-04/schema#',
@@ -118,10 +150,13 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
}
/**
- * @param int $post_id
+ * Permission check, based on module availability and user capabilities.
+ *
+ * @param int $post_id Post ID.
+ *
* @return true|WP_Error
*/
- function permission_check( $post_id ) {
+ public function permission_check( $post_id ) {
global $publicize;
if ( ! $publicize ) {
@@ -146,21 +181,26 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
/**
* Getter permission check
*
- * @param array $post_array Response data from Post Endpoint
+ * @param mixed $post_array Response from the post endpoint.
+ * @param WP_REST_Request $request API request.
+ *
* @return true|WP_Error
*/
- function get_permission_check( $post_array, $request ) {
+ public function get_permission_check( $post_array, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return $this->permission_check( isset( $post_array['id'] ) ? $post_array['id'] : 0 );
}
/**
- * Setter permission check
+ * Setter permission check.
+ *
+ * @param mixed $value The new value for the field.
+ * @param WP_Post $post The post object.
+ * @param WP_REST_Request $request API request.
*
- * @param WP_Post $post
* @return true|WP_Error
*/
- public function update_permission_check( $value, $post, $request ) {
+ public function update_permission_check( $value, $post, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return $this->permission_check( isset( $post->ID ) ? $post->ID : 0 );
}
@@ -169,12 +209,12 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
*
* @see Publicize::get_filtered_connection_data()
*
- * @param array $post_array Response from Post Endpoint
- * @param WP_REST_Request
+ * @param array $post_array Response from Post Endpoint.
+ * @param WP_REST_Request $request API request.
*
* @return array List of connections
*/
- public function get( $post_array, $request ) {
+ public function get( $post_array, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
global $publicize;
if ( ! $publicize ) {
@@ -207,8 +247,9 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
* Prior to updating the post, first calculate which Services to
* Publicize to and which to skip.
*
- * @param object $post Post data to insert/update.
- * @param WP_REST_Request $request
+ * @param object $post Post data to insert/update.
+ * @param WP_REST_Request $request API request.
+ *
* @return Filtered $post
*/
public function rest_pre_insert( $post, $request ) {
@@ -220,7 +261,7 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
if ( is_wp_error( $permission_check ) ) {
return $permission_check;
}
- // memoize
+ // memoize.
$this->get_meta_to_update( $request['jetpack_publicize_connections'], isset( $post->ID ) ? $post->ID : 0 );
if ( isset( $post->ID ) ) {
@@ -236,9 +277,9 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
* After creating a new post, update our cached data to reflect
* the new post ID.
*
- * @param WP_Post $post
- * @param WP_REST_Request $request
- * @param bool $is_new
+ * @param WP_Post $post Post data to update.
+ * @param WP_REST_Request $request API request.
+ * @param bool $is_new Is this a new post.
*/
public function rest_insert( $post, $request, $is_new ) {
if ( ! $is_new ) {
@@ -260,6 +301,13 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
unset( $this->memoized_updates[0] );
}
+ /**
+ * Get list of meta data to update per post ID.
+ *
+ * @param array $requested_connections Publicize conenctions to update.
+ * Items are either `{ id: (string) }` or `{ service_name: (string) }`.
+ * @param int $post_id Post ID.
+ */
protected function get_meta_to_update( $requested_connections, $post_id = 0 ) {
global $publicize;
@@ -267,15 +315,15 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
return array();
}
- if ( isset( $this->memoized_updates[$post_id] ) ) {
- return $this->memoized_updates[$post_id];
+ if ( isset( $this->memoized_updates[ $post_id ] ) ) {
+ return $this->memoized_updates[ $post_id ];
}
$available_connections = $publicize->get_filtered_connection_data( $post_id );
$changed_connections = array();
- // Build lookup mappings
+ // Build lookup mappings.
$available_connections_by_unique_id = array();
$available_connections_by_service_name = array();
foreach ( $available_connections as $available_connection ) {
@@ -287,7 +335,8 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
$available_connections_by_service_name[ $available_connection['service_name'] ][] = $available_connection;
}
- // Handle { service_name: $service_name, enabled: (bool) }
+ // Handle { service_name: $service_name, enabled: (bool) }.
+ // If the service is not available, it will be skipped.
foreach ( $requested_connections as $requested_connection ) {
if ( ! isset( $requested_connection['service_name'] ) ) {
continue;
@@ -303,7 +352,7 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
}
// Handle { id: $id, enabled: (bool) }
- // These override the service_name settings
+ // These override the service_name settings.
foreach ( $requested_connections as $requested_connection ) {
if ( ! isset( $requested_connection['id'] ) ) {
continue;
@@ -316,7 +365,7 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
$changed_connections[ $requested_connection['id'] ] = $requested_connection['enabled'];
}
- // Set all changed connections to their new value
+ // Set all changed connections to their new value.
foreach ( $changed_connections as $unique_id => $enabled ) {
$connection = $available_connections_by_unique_id[ $unique_id ];
@@ -328,16 +377,16 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
}
$meta_to_update = array();
- // For all connections, ensure correct post_meta
+ // For all connections, ensure correct post_meta.
foreach ( $available_connections_by_unique_id as $unique_id => $available_connection ) {
if ( $available_connection['enabled'] ) {
- $meta_to_update[$publicize->POST_SKIP . $unique_id] = null;
+ $meta_to_update[ $publicize->POST_SKIP . $unique_id ] = null; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
} else {
- $meta_to_update[$publicize->POST_SKIP . $unique_id] = 1;
+ $meta_to_update[ $publicize->POST_SKIP . $unique_id ] = 1; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
}
}
- $this->memoized_updates[$post_id] = $meta_to_update;
+ $this->memoized_updates[ $post_id ] = $meta_to_update;
return $meta_to_update;
}
@@ -345,23 +394,23 @@ class WPCOM_REST_API_V2_Post_Publicize_Connections_Field extends WPCOM_REST_API_
/**
* Update the connections slated to be shared to.
*
- * @param array $requested_connections
- * Items are either `{ id: (string) }` or `{ service_name: (string) }`
- * @param WP_Post $post
- * @param WP_REST_Request
+ * @param array $requested_connections Publicize conenctions to update.
+ * Items are either `{ id: (string) }` or `{ service_name: (string) }`.
+ * @param WP_Post $post Post data.
+ * @param WP_REST_Request $request API request.
*/
- public function update( $requested_connections, $post, $request ) {
- if ( isset( $this->_meta_saved[ $post->ID ] ) ) { // Make sure we only save it once - per request.
+ public function update( $requested_connections, $post, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ if ( isset( $this->meta_saved[ $post->ID ] ) ) { // Make sure we only save it once - per request.
return;
}
foreach ( $this->get_meta_to_update( $requested_connections, $post->ID ) as $meta_key => $meta_value ) {
- if ( is_null( $meta_value ) ) {
+ if ( $meta_value === null ) {
delete_post_meta( $post->ID, $meta_key );
} else {
update_post_meta( $post->ID, $meta_key, $meta_value );
}
}
- $this->_meta_saved[ $post->ID ] = true;
+ $this->meta_saved[ $post->ID ] = true;
}
}
diff --git a/plugins/jetpack/_inc/lib/debugger.php b/plugins/jetpack/_inc/lib/debugger.php
index a0e13e76..60eba5cb 100644
--- a/plugins/jetpack/_inc/lib/debugger.php
+++ b/plugins/jetpack/_inc/lib/debugger.php
@@ -6,15 +6,15 @@
*/
/* Jetpack Connection Testing Framework */
-require_once 'debugger/class-jetpack-cxn-test-base.php';
+require_once __DIR__ . '/debugger/class-jetpack-cxn-test-base.php';
/* Jetpack Connection Tests */
-require_once 'debugger/class-jetpack-cxn-tests.php';
+require_once __DIR__ . '/debugger/class-jetpack-cxn-tests.php';
/* Jetpack Debug Data */
-require_once 'debugger/class-jetpack-debug-data.php';
+require_once __DIR__ . '/debugger/class-jetpack-debug-data.php';
/* The "In-Plugin Debugger" admin page. */
-require_once 'debugger/class-jetpack-debugger.php';
+require_once __DIR__ . '/debugger/class-jetpack-debugger.php';
/* General Debugging Functions */
-require_once 'debugger/debug-functions.php';
+require_once __DIR__ . '/debugger/debug-functions.php';
add_filter( 'debug_information', array( 'Jetpack_Debug_Data', 'core_debug_data' ) );
add_filter( 'site_status_tests', 'jetpack_debugger_site_status_tests' );
diff --git a/plugins/jetpack/_inc/lib/debugger/0-load.php b/plugins/jetpack/_inc/lib/debugger/0-load.php
deleted file mode 100644
index ad069244..00000000
--- a/plugins/jetpack/_inc/lib/debugger/0-load.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-/**
- * Loading the various functions used for Jetpack Debugging.
- *
- * @package Jetpack.
- */
-
-/* Jetpack Connection Testing Framework */
-require_once 'class-jetpack-cxn-test-base.php';
-/* Jetpack Connection Tests */
-require_once 'class-jetpack-cxn-tests.php';
-/* Jetpack Debug Data */
-require_once 'class-jetpack-debug-data.php';
-/* The "In-Plugin Debugger" admin page. */
-require_once 'class-jetpack-debugger.php';
-/* General Debugging Functions */
-require_once 'debug-functions.php';
-
-add_filter( 'debug_information', array( 'Jetpack_Debug_Data', 'core_debug_data' ) );
-add_filter( 'site_status_tests', 'jetpack_debugger_site_status_tests' );
-add_action( 'wp_ajax_health-check-jetpack-local_testing_suite', 'jetpack_debugger_ajax_local_testing_suite' );
diff --git a/plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php b/plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php
index b67fc472..370d1d1e 100644
--- a/plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php
+++ b/plugins/jetpack/_inc/lib/debugger/class-jetpack-debug-data.php
@@ -265,7 +265,7 @@ class Jetpack_Debug_Data {
if ( isset( $_SERVER[ $header ] ) ) {
$debug_info[ $header ] = array(
'label' => 'Server Variable ' . $header,
- 'value' => ( $_SERVER[ $header ] ) ? $_SERVER[ $header ] : 'false',
+ 'value' => empty( $_SERVER[ $header ] ) ? 'false' : filter_var( wp_unslash( $_SERVER[ $header ] ) ),
'private' => true, // This isn't really 'private' information, but we don't want folks to easily paste these into public forums.
);
}
diff --git a/plugins/jetpack/_inc/lib/debugger/class-jetpack-debugger.php b/plugins/jetpack/_inc/lib/debugger/class-jetpack-debugger.php
index 6534c4d3..f8c83a90 100644
--- a/plugins/jetpack/_inc/lib/debugger/class-jetpack-debugger.php
+++ b/plugins/jetpack/_inc/lib/debugger/class-jetpack-debugger.php
@@ -20,11 +20,11 @@ class Jetpack_Debugger {
* Used in class.jetpack-admin.php.
*/
public static function disconnect_and_redirect() {
- if ( ! ( isset( $_GET['nonce'] ) && wp_verify_nonce( $_GET['nonce'], 'jp_disconnect' ) ) ) {
+ if ( ! ( isset( $_GET['nonce'] ) && wp_verify_nonce( $_GET['nonce'], 'jp_disconnect' ) ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
return;
}
- if ( isset( $_GET['disconnect'] ) && $_GET['disconnect'] ) {
+ if ( ! empty( $_GET['disconnect'] ) ) {
if ( Jetpack::is_connection_ready() ) {
Jetpack::disconnect();
wp_safe_redirect( Jetpack::admin_url() );
diff --git a/plugins/jetpack/_inc/lib/functions.wp-notify.php b/plugins/jetpack/_inc/lib/functions.wp-notify.php
index 4963b0f1..344818a7 100644
--- a/plugins/jetpack/_inc/lib/functions.wp-notify.php
+++ b/plugins/jetpack/_inc/lib/functions.wp-notify.php
@@ -13,7 +13,8 @@
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Redirect;
-// phpcs:disable WordPress.WP.I18n.MissingArgDomain --reason: WP Core string.
+// phpcs:disable WordPress.WP.I18n.MissingArgDomain --reason: Code copied from Core, so using Core strings.
+// phpcs:disable WordPress.Utils.I18nTextDomainFixer.MissingArgDomain --reason: Code copied from Core, so using Core strings.
/**
* Short circuits the {@see `wp_notify_postauthor`} function via the `comment_notification_recipients` filter.
@@ -50,12 +51,12 @@ function jetpack_notify_postauthor( $emails, $comment_id ) {
$notify_author = apply_filters( 'comment_notification_notify_author', false, $comment->comment_ID );
// The comment was left by the author.
- if ( $author && ! $notify_author && $comment->user_id == $post->post_author ) {
+ if ( $author && ! $notify_author && $comment->user_id === $post->post_author ) {
unset( $emails[ $author->user_email ] );
}
// The author moderated a comment on their own post.
- if ( $author && ! $notify_author && get_current_user_id() == $post->post_author ) {
+ if ( $author && ! $notify_author && get_current_user_id() === $post->post_author ) {
unset( $emails[ $author->user_email ] );
}
@@ -84,7 +85,10 @@ function jetpack_notify_postauthor( $emails, $comment_id ) {
$comment_content = wp_specialchars_decode( $comment->comment_content );
// Original function modified.
- $moderate_on_wpcom = ! in_array( false, array_map( 'jetpack_notify_is_user_connected_by_email', $emails ) );
+ $moderate_on_wpcom = ! in_array( // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
+ false,
+ array_map( 'jetpack_notify_is_user_connected_by_email', $emails )
+ );
switch ( $comment->comment_type ) {
case 'trackback':
@@ -179,16 +183,16 @@ function jetpack_notify_postauthor( $emails, $comment_id ) {
) . "\r\n";
}
- $wp_email = 'wordpress@' . preg_replace( '#^www\.#', '', strtolower( $_SERVER['SERVER_NAME'] ) );
+ $wp_email = 'wordpress@' . preg_replace( '#^www\.#', '', strtolower( isset( $_SERVER['SERVER_NAME'] ) ? filter_var( wp_unslash( $_SERVER['SERVER_NAME'] ) ) : '' ) );
- if ( '' == $comment->comment_author ) {
+ if ( '' === $comment->comment_author ) {
$from = "From: \"$blogname\" <$wp_email>";
- if ( '' != $comment->comment_author_email ) {
+ if ( '' !== $comment->comment_author_email ) {
$reply_to = "Reply-To: $comment->comment_author_email";
}
} else {
$from = "From: \"$comment->comment_author\" <$wp_email>";
- if ( '' != $comment->comment_author_email ) {
+ if ( '' !== $comment->comment_author_email ) {
$reply_to = "Reply-To: \"$comment->comment_author_email\" <$comment->comment_author_email>";
}
}
@@ -324,7 +328,10 @@ function jetpack_notify_moderator( $notify_moderator, $comment_id ) {
$emails = apply_filters( 'comment_moderation_recipients', $emails, $comment_id );
// Original function modified.
- $moderate_on_wpcom = ! in_array( false, array_map( 'jetpack_notify_is_user_connected_by_email', $emails ) );
+ $moderate_on_wpcom = ! in_array( // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
+ false,
+ array_map( 'jetpack_notify_is_user_connected_by_email', $emails )
+ );
$base_wpcom_edit_comment_url = Redirect::get_url(
'calypso-edit-comment',
diff --git a/plugins/jetpack/_inc/lib/icalendar-reader.php b/plugins/jetpack/_inc/lib/icalendar-reader.php
index 998f4c13..c9f30991 100644
--- a/plugins/jetpack/_inc/lib/icalendar-reader.php
+++ b/plugins/jetpack/_inc/lib/icalendar-reader.php
@@ -1,15 +1,46 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
- * Gets and renders iCal feeds for the Upcoming Events widget and shortcode
+ * Get and render iCal feeds.
+ * Used by the Upcoming Events widget and the [upcomingevents] shortcode.
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Calendar utilities class.
+ *
+ * phpcs:disable PEAR.NamingConventions.ValidClassName.StartWithCapital
+ */
class iCalendarReader {
-
+ // phpcs:enable PEAR.NamingConventions.ValidClassName.StartWithCapital
+ // phpcs:disable WordPress.DateTime.RestrictedFunctions.date_date -- we manually handle timezones all over the file.
+ // @todo Verify that we're manually handling timezones *correctly*. We probably need more `DateTime` with `$this->timezone` and maybe `wp_date()` and less `strtotime()` and `date()` and `date_i18n()`.
+ /**
+ * Count To Do events in calendar.
+ *
+ * @var int
+ */
public $todo_count = 0;
+
+ /**
+ * How many events can be found in calendar.
+ *
+ * @var int
+ */
public $event_count = 0;
+
+ /**
+ * Details about our calendar.
+ *
+ * @var array
+ */
public $cal = array();
- public $_lastKeyWord = '';
+
+ /**
+ * Timezone parsed from the iCalendar feed, if any.
+ *
+ * @var null|DateTimeZone
+ */
public $timezone = null;
/**
@@ -22,24 +53,28 @@ class iCalendarReader {
/**
* Return an array of events
*
- * @param string $url (default: '')
+ * @param string $url (default: '') URL of the iCal feed.
+ * @param int $count Count the number of events.
+ *
* @return array | false on failure
*/
public function get_events( $url = '', $count = 5 ) {
- $count = (int) $count;
+ $count = (int) $count;
$transient_id = 'icalendar_vcal_' . md5( $url ) . '_' . $count;
$vcal = get_transient( $transient_id );
-
+ $vcal = false;
if ( ! empty( $vcal ) ) {
- if ( isset( $vcal['TIMEZONE'] ) )
+ if ( isset( $vcal['TIMEZONE'] ) ) {
$this->timezone = $this->timezone_from_string( $vcal['TIMEZONE'] );
+ }
if ( isset( $vcal['VEVENT'] ) ) {
$vevent = $vcal['VEVENT'];
- if ( $count > 0 )
+ if ( $count > 0 ) {
$vevent = array_slice( $vevent, 0, $count );
+ }
$this->cal['VEVENT'] = $vevent;
@@ -47,8 +82,9 @@ class iCalendarReader {
}
}
- if ( ! $this->parse( $url ) )
+ if ( ! $this->parse( $url ) ) {
return false;
+ }
$vcal = array();
@@ -61,13 +97,13 @@ class iCalendarReader {
if ( ! empty( $this->cal['VEVENT'] ) ) {
$vevent = $this->cal['VEVENT'];
- // check for recurring events
- // $vevent = $this->add_recurring_events( $vevent );
+ // check for recurring events.
+ // $vevent = $this->add_recurring_events( $vevent );.
- // remove before caching - no sense in hanging onto the past
+ // remove before caching - no sense in hanging onto the past.
$vevent = $this->filter_past_and_recurring_events( $vevent );
- // order by soonest start date
+ // order by soonest start date.
$vevent = $this->sort_by_recent( $vevent );
$vcal['VEVENT'] = $vevent;
@@ -75,16 +111,25 @@ class iCalendarReader {
set_transient( $transient_id, $vcal, HOUR_IN_SECONDS );
- if ( !isset( $vcal['VEVENT'] ) )
+ if ( ! isset( $vcal['VEVENT'] ) ) {
return false;
+ }
- if ( $count > 0 )
+ if ( $count > 0 ) {
return array_slice( $vcal['VEVENT'], 0, $count );
+ }
return $vcal['VEVENT'];
}
- function apply_timezone_offset( $events ) {
+ /**
+ * Adjust event's time based on site's timezone.
+ *
+ * @param array $events Array of events.
+ *
+ * @return array
+ */
+ public function apply_timezone_offset( $events ) {
if ( ! $events ) {
return $events;
}
@@ -95,7 +140,7 @@ class iCalendarReader {
$offsetted_events = array();
foreach ( $events as $event ) {
- // Don't handle all-day events
+ // Don't handle all-day events.
if ( 8 < strlen( $event['DTSTART'] ) ) {
$start_time = preg_replace( '/Z$/', '', $event['DTSTART'] );
$start_time = new DateTime( $start_time, $this->timezone );
@@ -106,7 +151,7 @@ class iCalendarReader {
$end_time->setTimeZone( $timezone );
$event['DTSTART'] = $start_time->format( 'YmdHis\Z' );
- $event['DTEND'] = $end_time->format( 'YmdHis\Z' );
+ $event['DTEND'] = $end_time->format( 'YmdHis\Z' );
}
$offsetted_events[] = $event;
@@ -115,10 +160,16 @@ class iCalendarReader {
return $offsetted_events;
}
+ /**
+ * Reorganize events into an array of events with standardized data.
+ *
+ * @param array $events Array of events.
+ *
+ * @return array
+ */
protected function filter_past_and_recurring_events( $events ) {
- $upcoming = array();
+ $upcoming = array();
$set_recurring_events = array();
- $recurrences = array();
/**
* This filter allows any time to be passed in for testing or changing timezones, etc...
*
@@ -139,31 +190,31 @@ class iCalendarReader {
$duration = 0;
}
- if ( isset( $event['RRULE'] ) && $this->timezone->getName() && 8 != strlen( $event['DTSTART'] ) ) {
+ if ( isset( $event['RRULE'] ) && $this->timezone->getName() && 8 !== strlen( $event['DTSTART'] ) ) {
try {
- $adjusted_time = new DateTime( $event['DTSTART'], new DateTimeZone('UTC') );
+ $adjusted_time = new DateTime( $event['DTSTART'], new DateTimeZone( 'UTC' ) );
$adjusted_time->setTimeZone( new DateTimeZone( $this->timezone->getName() ) );
- $event['DTSTART'] = $adjusted_time->format('Ymd\THis');
- $date_from_ics = strtotime( $event['DTSTART'] );
+ $event['DTSTART'] = $adjusted_time->format( 'Ymd\THis' );
+ $date_from_ics = strtotime( $event['DTSTART'] );
$event['DTEND'] = date( 'Ymd\THis', strtotime( $event['DTSTART'] ) + $duration );
- } catch ( Exception $e ) {
- // Invalid argument to DateTime
+ } catch ( Exception $e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch
+ // Invalid argument to DateTime.
}
if ( isset( $event['EXDATE'] ) ) {
$exdates = array();
foreach ( (array) $event['EXDATE'] as $exdate ) {
try {
- $adjusted_time = new DateTime( $exdate, new DateTimeZone('UTC') );
+ $adjusted_time = new DateTime( $exdate, new DateTimeZone( 'UTC' ) );
$adjusted_time->setTimeZone( new DateTimeZone( $this->timezone->getName() ) );
- if ( 8 == strlen( $event['DTSTART'] ) ) {
+ if ( 8 === strlen( $event['DTSTART'] ) ) {
$exdates[] = $adjusted_time->format( 'Ymd' );
} else {
$exdates[] = $adjusted_time->format( 'Ymd\THis' );
}
- } catch ( Exception $e ) {
- // Invalid argument to DateTime
+ } catch ( Exception $e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch
+ // Invalid argument to DateTime.
}
}
$event['EXDATE'] = $exdates;
@@ -176,76 +227,95 @@ class iCalendarReader {
continue;
}
- // Process events with RRULE before other events
- $rrule = isset( $event['RRULE'] ) ? $event['RRULE'] : false ;
- $uid = $event['UID'];
+ // Process events with RRULE before other events.
+ $rrule = isset( $event['RRULE'] ) ? $event['RRULE'] : false;
+ $uid = $event['UID'];
- if ( $rrule && ! in_array( $uid, $set_recurring_events ) ) {
+ if ( $rrule && ! in_array( $uid, $set_recurring_events, true ) ) {
- // Break down the RRULE into digestible chunks
+ // Break down the RRULE into digestible chunks.
$rrule_array = array();
- foreach ( explode( ";", $event['RRULE'] ) as $rline ) {
- list( $rkey, $rvalue ) = explode( "=", $rline, 2 );
- $rrule_array[$rkey] = $rvalue;
+ foreach ( explode( ';', $event['RRULE'] ) as $rline ) {
+ list( $rkey, $rvalue ) = explode( '=', $rline, 2 );
+ $rrule_array[ $rkey ] = $rvalue;
}
- $interval = ( isset( $rrule_array['INTERVAL'] ) ) ? $rrule_array['INTERVAL'] : 1;
+ $interval = ( isset( $rrule_array['INTERVAL'] ) ) ? $rrule_array['INTERVAL'] : 1;
$rrule_count = ( isset( $rrule_array['COUNT'] ) ) ? $rrule_array['COUNT'] : 0;
- $until = ( isset( $rrule_array['UNTIL'] ) ) ? strtotime( $rrule_array['UNTIL'] ) : strtotime( '+1 year', $current );
+ $until = ( isset( $rrule_array['UNTIL'] ) ) ? strtotime( $rrule_array['UNTIL'] ) : strtotime( '+1 year', $current );
- // Used to bound event checks
+ // Used to bound event checks.
$echo_limit = 10;
- $noop = false;
+ $noop = false;
- // Set bydays for the event
+ // Set bydays for the event.
$weekdays = array( 'SU', 'MO', 'TU', 'WE', 'TH', 'FR', 'SA' );
- $bydays = $weekdays;
+ $bydays = $weekdays;
- // Calculate a recent start date for incrementing depending on the frequency and interval
+ // Calculate a recent start date for incrementing depending on the frequency and interval.
switch ( $rrule_array['FREQ'] ) {
case 'DAILY':
- $frequency = 'day';
+ $frequency = 'day';
$echo_limit = 10;
if ( $date_from_ics >= $current ) {
$recurring_event_date_start = date( 'Ymd\THis', strtotime( $event['DTSTART'] ) );
} else {
- // Interval and count
+ // Interval and count.
$catchup = floor( ( $current - strtotime( $event['DTSTART'] ) ) / ( $interval * DAY_IN_SECONDS ) );
if ( $rrule_count && $catchup > 0 ) {
if ( $catchup < $rrule_count ) {
- $rrule_count = $rrule_count - $catchup;
- $recurring_event_date_start = date( 'Ymd', strtotime( '+ ' . ( $interval * $catchup ) . ' days', strtotime( $event['DTSTART'] ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) );
+ $rrule_count = $rrule_count - $catchup;
+ $recurring_event_date_start = date(
+ 'Ymd',
+ strtotime(
+ '+ ' . ( $interval * $catchup ) . ' days',
+ strtotime( $event['DTSTART'] )
+ )
+ ) . date(
+ '\THis',
+ strtotime( $event['DTSTART'] )
+ );
} else {
$noop = true;
}
} else {
- $recurring_event_date_start = date( 'Ymd', strtotime( '+ ' . ( $interval * $catchup ) . ' days', strtotime( $event['DTSTART'] ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) );
+ $recurring_event_date_start = date(
+ 'Ymd',
+ strtotime(
+ '+ ' . ( $interval * $catchup ) . ' days',
+ strtotime( $event['DTSTART'] )
+ )
+ ) . date(
+ '\THis',
+ strtotime( $event['DTSTART'] )
+ );
}
}
break;
case 'WEEKLY':
- $frequency = 'week';
+ $frequency = 'week';
$echo_limit = 4;
- // BYDAY exception to current date
+ // BYDAY exception to current date.
$day = false;
if ( ! isset( $rrule_array['BYDAY'] ) ) {
- $day = $rrule_array['BYDAY'] = strtoupper( substr( date( 'D', strtotime( $event['DTSTART'] ) ), 0, 2 ) );
+ $rrule_array['BYDAY'] = strtoupper( substr( date( 'D', strtotime( $event['DTSTART'] ) ), 0, 2 ) );
+ $day = $rrule_array['BYDAY'];
}
$bydays = explode( ',', $rrule_array['BYDAY'] );
if ( $date_from_ics >= $current ) {
$recurring_event_date_start = date( 'Ymd\THis', strtotime( $event['DTSTART'] ) );
} else {
- // Interval and count
+ // Interval and count.
$catchup = floor( ( $current - strtotime( $event['DTSTART'] ) ) / ( $interval * WEEK_IN_SECONDS ) );
if ( $rrule_count && $catchup > 0 ) {
if ( ( $catchup * count( $bydays ) ) < $rrule_count ) {
- $rrule_count = $rrule_count - ( $catchup * count( $bydays ) ); // Estimate current event count
+ $rrule_count = $rrule_count - ( $catchup * count( $bydays ) ); // Estimate current event count.
$recurring_event_date_start = date( 'Ymd', strtotime( '+ ' . ( $interval * $catchup ) . ' weeks', strtotime( $event['DTSTART'] ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) );
} else {
$noop = true;
@@ -255,34 +325,48 @@ class iCalendarReader {
}
}
- // Set to Sunday start
+ // Set to Sunday start.
if ( ! $noop && 'SU' !== strtoupper( substr( date( 'D', strtotime( $recurring_event_date_start ) ), 0, 2 ) ) ) {
- $recurring_event_date_start = date( 'Ymd', strtotime( "last Sunday", strtotime( $recurring_event_date_start ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) );
+ $recurring_event_date_start = date( 'Ymd', strtotime( 'last Sunday', strtotime( $recurring_event_date_start ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) );
}
break;
case 'MONTHLY':
- $frequency = 'month';
+ $frequency = 'month';
$echo_limit = 1;
if ( $date_from_ics >= $current ) {
$recurring_event_date_start = date( 'Ymd\THis', strtotime( $event['DTSTART'] ) );
} else {
- // Describe the date in the month
+ // Describe the date in the month.
if ( isset( $rrule_array['BYDAY'] ) ) {
- $day_number = substr( $rrule_array['BYDAY'], 0, 1 );
- $week_day = substr( $rrule_array['BYDAY'], 1 );
- $day_cardinals = array( 1 => 'first', 2 => 'second', 3 => 'third', 4 => 'fourth', 5 => 'fifth' );
- $weekdays = array( 'SU' => 'Sunday', 'MO' => 'Monday', 'TU' => 'Tuesday', 'WE' => 'Wednesday', 'TH' => 'Thursday', 'FR' => 'Friday', 'SA' => 'Saturday' );
+ $day_number = substr( $rrule_array['BYDAY'], 0, 1 );
+ $week_day = substr( $rrule_array['BYDAY'], 1 );
+ $day_cardinals = array(
+ 1 => 'first',
+ 2 => 'second',
+ 3 => 'third',
+ 4 => 'fourth',
+ 5 => 'fifth',
+ );
+ $weekdays = array(
+ 'SU' => 'Sunday',
+ 'MO' => 'Monday',
+ 'TU' => 'Tuesday',
+ 'WE' => 'Wednesday',
+ 'TH' => 'Thursday',
+ 'FR' => 'Friday',
+ 'SA' => 'Saturday',
+ );
$event_date_desc = "{$day_cardinals[$day_number]} {$weekdays[$week_day]} of ";
} else {
$event_date_desc = date( 'd ', strtotime( $event['DTSTART'] ) );
}
- // Interval only
+ // Interval only.
if ( $interval > 1 ) {
$catchup = 0;
- $maybe = strtotime( $event['DTSTART'] );
+ $maybe = strtotime( $event['DTSTART'] );
while ( $maybe < $current ) {
$maybe = strtotime( '+ ' . ( $interval * $catchup ) . ' months', strtotime( $event['DTSTART'] ) );
$catchup++;
@@ -292,7 +376,7 @@ class iCalendarReader {
$recurring_event_date_start = date( 'Ymd', strtotime( $event_date_desc . date( 'F Y', $current ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) );
}
- // Add one interval if necessary
+ // Add one interval if necessary.
if ( strtotime( $recurring_event_date_start ) < $current ) {
if ( $interval > 1 ) {
$recurring_event_date_start = date( 'Ymd', strtotime( $event_date_desc . date( 'F Y', strtotime( '+ ' . ( $interval * $catchup ) . ' months', strtotime( $event['DTSTART'] ) ) ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) );
@@ -301,8 +385,8 @@ class iCalendarReader {
$adjustment = new DateTime( date( 'Y-m-d', $current ) );
$adjustment->modify( 'first day of next month' );
$recurring_event_date_start = date( 'Ymd', strtotime( $event_date_desc . $adjustment->format( 'F Y' ) ) ) . date( '\THis', strtotime( $event['DTSTART'] ) );
- } catch ( Exception $e ) {
- // Invalid argument to DateTime
+ } catch ( Exception $e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch
+ // Invalid argument to DateTime.
}
}
}
@@ -310,20 +394,20 @@ class iCalendarReader {
break;
case 'YEARLY':
- $frequency = 'year';
+ $frequency = 'year';
$echo_limit = 1;
if ( $date_from_ics >= $current ) {
- $recurring_event_date_start = date( "Ymd\THis", strtotime( $event['DTSTART'] ) );
+ $recurring_event_date_start = date( 'Ymd\THis', strtotime( $event['DTSTART'] ) );
} else {
- $recurring_event_date_start = date( 'Y', $current ) . date( "md\THis", strtotime( $event['DTSTART'] ) );
+ $recurring_event_date_start = date( 'Y', $current ) . date( 'md\THis', strtotime( $event['DTSTART'] ) );
if ( strtotime( $recurring_event_date_start ) < $current ) {
try {
$next = new DateTime( date( 'Y-m-d', $current ) );
$next->modify( 'first day of next year' );
- $recurring_event_date_start = $next->format( 'Y' ) . date ( 'md\THis', strtotime( $event['DTSTART'] ) );
- } catch ( Exception $e ) {
- // Invalid argument to DateTime
+ $recurring_event_date_start = $next->format( 'Y' ) . date( 'md\THis', strtotime( $event['DTSTART'] ) );
+ } catch ( Exception $e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch
+ // Invalid argument to DateTime.
}
}
}
@@ -333,94 +417,107 @@ class iCalendarReader {
$frequency = false;
}
- if ( $frequency !== false && ! $noop ) {
+ if ( false !== $frequency && ! $noop ) {
$count_counter = 1;
- // If no COUNT limit, go to 10
+ // If no COUNT limit, go to 10.
if ( empty( $rrule_count ) ) {
$rrule_count = 10;
}
- // Set up EXDATE handling for the event
+ // Set up EXDATE handling for the event.
$exdates = ( isset( $event['EXDATE'] ) ) ? $event['EXDATE'] : array();
for ( $i = 1; $i <= $echo_limit; $i++ ) {
- // Weeks need a daily loop and must check for inclusion in BYDAYS
- if ( 'week' == $frequency ) {
+ // Weeks need a daily loop and must check for inclusion in BYDAYS.
+ if ( 'week' === $frequency ) {
$byday_event_date_start = strtotime( $recurring_event_date_start );
foreach ( $weekdays as $day ) {
$event_start_timestamp = $byday_event_date_start;
- $start_time = date( 'His', $event_start_timestamp );
- $event_end_timestamp = $event_start_timestamp + $duration;
- $end_time = date( 'His', $event_end_timestamp );
- if ( 8 == strlen( $event['DTSTART'] ) ) {
+ $start_time = date( 'His', $event_start_timestamp );
+ $event_end_timestamp = $event_start_timestamp + $duration;
+ $end_time = date( 'His', $event_end_timestamp );
+ if ( 8 === strlen( $event['DTSTART'] ) ) {
$exdate_compare = date( 'Ymd', $event_start_timestamp );
} else {
$exdate_compare = date( 'Ymd\THis', $event_start_timestamp );
}
- if ( in_array( $day, $bydays ) && $event_end_timestamp > $current && $event_start_timestamp < $until && $count_counter <= $rrule_count && $event_start_timestamp >= $date_from_ics && ! in_array( $exdate_compare, $exdates ) ) {
- if ( 8 == strlen( $event['DTSTART'] ) ) {
+ if (
+ in_array( $day, $bydays, true )
+ && $event_end_timestamp > $current
+ && $event_start_timestamp < $until
+ && $count_counter <= $rrule_count
+ && $event_start_timestamp >= $date_from_ics
+ && ! in_array( $exdate_compare, $exdates, true )
+ ) {
+ if ( 8 === strlen( $event['DTSTART'] ) ) {
$event['DTSTART'] = date( 'Ymd', $event_start_timestamp );
- $event['DTEND'] = date( 'Ymd', $event_end_timestamp );
+ $event['DTEND'] = date( 'Ymd', $event_end_timestamp );
} else {
$event['DTSTART'] = date( 'Ymd\THis', $event_start_timestamp );
- $event['DTEND'] = date( 'Ymd\THis', $event_end_timestamp );
+ $event['DTEND'] = date( 'Ymd\THis', $event_end_timestamp );
}
- if ( $this->timezone->getName() && 8 != strlen( $event['DTSTART'] ) ) {
+ if ( $this->timezone->getName() && 8 !== strlen( $event['DTSTART'] ) ) {
try {
$adjusted_time = new DateTime( $event['DTSTART'], new DateTimeZone( $this->timezone->getName() ) );
$adjusted_time->setTimeZone( new DateTimeZone( 'UTC' ) );
- $event['DTSTART'] = $adjusted_time->format('Ymd\THis');
+ $event['DTSTART'] = $adjusted_time->format( 'Ymd\THis' );
$event['DTEND'] = date( 'Ymd\THis', strtotime( $event['DTSTART'] ) + $duration );
- } catch ( Exception $e ) {
- // Invalid argument to DateTime
+ } catch ( Exception $e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch
+ // Invalid argument to DateTime.
}
}
$upcoming[] = $event;
$count_counter++;
}
- // Move forward one day
+ // Move forward one day.
$byday_event_date_start = strtotime( date( 'Ymd\T', strtotime( '+ 1 day', $event_start_timestamp ) ) . $start_time );
}
- // Restore first event timestamp
+ // Restore first event timestamp.
$event_start_timestamp = strtotime( $recurring_event_date_start );
} else {
$event_start_timestamp = strtotime( $recurring_event_date_start );
- $start_time = date( 'His', $event_start_timestamp );
- $event_end_timestamp = $event_start_timestamp + $duration;
- $end_time = date( 'His', $event_end_timestamp );
- if ( 8 == strlen( $event['DTSTART'] ) ) {
+ $start_time = date( 'His', $event_start_timestamp );
+ $event_end_timestamp = $event_start_timestamp + $duration;
+ $end_time = date( 'His', $event_end_timestamp );
+ if ( 8 === strlen( $event['DTSTART'] ) ) {
$exdate_compare = date( 'Ymd', $event_start_timestamp );
} else {
$exdate_compare = date( 'Ymd\THis', $event_start_timestamp );
}
- if ( $event_end_timestamp > $current && $event_start_timestamp < $until && $count_counter <= $rrule_count && $event_start_timestamp >= $date_from_ics && ! in_array( $exdate_compare, $exdates ) ) {
- if ( 8 == strlen( $event['DTSTART'] ) ) {
+ if (
+ $event_end_timestamp > $current
+ && $event_start_timestamp < $until
+ && $count_counter <= $rrule_count
+ && $event_start_timestamp >= $date_from_ics
+ && ! in_array( $exdate_compare, $exdates, true )
+ ) {
+ if ( 8 === strlen( $event['DTSTART'] ) ) {
$event['DTSTART'] = date( 'Ymd', $event_start_timestamp );
- $event['DTEND'] = date( 'Ymd', $event_end_timestamp );
+ $event['DTEND'] = date( 'Ymd', $event_end_timestamp );
} else {
$event['DTSTART'] = date( 'Ymd\T', $event_start_timestamp ) . $start_time;
- $event['DTEND'] = date( 'Ymd\T', $event_end_timestamp ) . $end_time;
+ $event['DTEND'] = date( 'Ymd\T', $event_end_timestamp ) . $end_time;
}
- if ( $this->timezone->getName() && 8 != strlen( $event['DTSTART'] ) ) {
+ if ( $this->timezone->getName() && 8 !== strlen( $event['DTSTART'] ) ) {
try {
$adjusted_time = new DateTime( $event['DTSTART'], new DateTimeZone( $this->timezone->getName() ) );
$adjusted_time->setTimeZone( new DateTimeZone( 'UTC' ) );
- $event['DTSTART'] = $adjusted_time->format('Ymd\THis');
+ $event['DTSTART'] = $adjusted_time->format( 'Ymd\THis' );
$event['DTEND'] = date( 'Ymd\THis', strtotime( $event['DTSTART'] ) + $duration );
- } catch ( Exception $e ) {
- // Invalid argument to DateTime
+ } catch ( Exception $e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch
+ // Invalid argument to DateTime.
}
}
$upcoming[] = $event;
@@ -428,25 +525,24 @@ class iCalendarReader {
}
}
- // Set up next interval and reset $event['DTSTART'] and $event['DTEND'], keeping timestamps intact
+ // Set up next interval and reset $event['DTSTART'] and $event['DTEND'], keeping timestamps intact.
$next_start_timestamp = strtotime( "+ {$interval} {$frequency}s", $event_start_timestamp );
- if ( 8 == strlen( $event['DTSTART'] ) ) {
+ if ( 8 === strlen( $event['DTSTART'] ) ) {
$event['DTSTART'] = date( 'Ymd', $next_start_timestamp );
- $event['DTEND'] = date( 'Ymd', strtotime( $event['DTSTART'] ) + $duration );
+ $event['DTEND'] = date( 'Ymd', strtotime( $event['DTSTART'] ) + $duration );
} else {
$event['DTSTART'] = date( 'Ymd\THis', $next_start_timestamp );
- $event['DTEND'] = date( 'Ymd\THis', strtotime( $event['DTSTART'] ) + $duration );
+ $event['DTEND'] = date( 'Ymd\THis', strtotime( $event['DTSTART'] ) + $duration );
}
- // Move recurring event date forward
+ // Move recurring event date forward.
$recurring_event_date_start = $event['DTSTART'];
}
$set_recurring_events[] = $uid;
}
-
} else {
- // Process normal events
+ // Process normal events.
if ( strtotime( isset( $event['DTEND'] ) ? $event['DTEND'] : $event['DTSTART'] ) >= $current ) {
$upcoming[] = $event;
}
@@ -458,42 +554,53 @@ class iCalendarReader {
/**
* Parse events from an iCalendar feed
*
- * @param string $url (default: '')
+ * @param string $url (default: '').
* @return array | false on failure
*/
public function parse( $url = '' ) {
- $cache_group = 'icalendar_reader_parse';
+ $cache_group = 'icalendar_reader_parse';
$disable_get_key = 'disable:' . md5( $url );
- // Check to see if previous attempts have failed
- if ( false !== wp_cache_get( $disable_get_key, $cache_group ) )
+ // Check to see if previous attempts have failed.
+ if ( false !== wp_cache_get( $disable_get_key, $cache_group ) ) {
return false;
+ }
- // rewrite webcal: URI schem to HTTP
- $url = preg_replace('/^webcal/', 'http', $url );
- // try to fetch
- $r = wp_remote_get( $url, array( 'timeout' => 3, 'sslverify' => false ) );
+ // rewrite webcal: URI schem to HTTP.
+ $url = preg_replace( '/^webcal/', 'http', $url );
+ // try to fetch.
+ $r = wp_remote_get(
+ $url,
+ array(
+ 'timeout' => 3,
+ 'sslverify' => false,
+ )
+ );
if ( 200 !== wp_remote_retrieve_response_code( $r ) ) {
- // We were unable to fetch any content, so don't try again for another 60 seconds
+ // We were unable to fetch any content, so don't try again for another 60 seconds.
wp_cache_set( $disable_get_key, 1, $cache_group, 60 );
return false;
}
$body = wp_remote_retrieve_body( $r );
- if ( empty( $body ) )
+ if ( empty( $body ) ) {
return false;
+ }
- $body = str_replace( "\r\n", "\n", $body );
+ $body = str_replace( "\r\n", "\n", $body );
$lines = preg_split( "/\n(?=[A-Z])/", $body );
- if ( empty( $lines ) )
+ if ( empty( $lines ) ) {
return false;
+ }
- if ( false === stristr( $lines[0], 'BEGIN:VCALENDAR' ) )
+ if ( false === stristr( $lines[0], 'BEGIN:VCALENDAR' ) ) {
return false;
+ }
+ $type = '';
foreach ( $lines as $line ) {
- $add = $this->key_value_from_string( $line );
+ $add = $this->key_value_from_string( $line );
if ( ! $add ) {
$this->add_component( $type, false, $line );
continue;
@@ -529,12 +636,17 @@ class iCalendarReader {
}
break;
case 'TZID':
- if ( 'VTIMEZONE' == $type && ! $this->timezone )
+ if (
+ 'VTIMEZONE' === $type
+ && ! $this->timezone
+ ) {
$this->timezone = $this->timezone_from_string( $value );
+ }
break;
case 'X-WR-TIMEZONE':
- if ( ! $this->timezone )
+ if ( ! $this->timezone ) {
$this->timezone = $this->timezone_from_string( $value );
+ }
break;
default:
$this->add_component( $type, $keyword, $value );
@@ -542,7 +654,7 @@ class iCalendarReader {
}
}
- // Filter for RECURRENCE-IDs
+ // Filter for RECURRENCE-IDs.
$recurrences = array();
if ( array_key_exists( 'VEVENT', $this->cal ) ) {
foreach ( $this->cal['VEVENT'] as $event ) {
@@ -551,8 +663,12 @@ class iCalendarReader {
}
}
foreach ( $recurrences as $recurrence ) {
- for ( $i = 0; $i < count( $this->cal['VEVENT'] ); $i++ ) {
- if ( $this->cal['VEVENT'][ $i ]['UID'] == $recurrence['UID'] && ! isset( $this->cal['VEVENT'][ $i ]['RECURRENCE-ID'] ) ) {
+ $count_vevent = count( $this->cal['VEVENT'] );
+ for ( $i = 0; $i < $count_vevent; $i++ ) {
+ if (
+ $this->cal['VEVENT'][ $i ]['UID'] === $recurrence['UID']
+ && ! isset( $this->cal['VEVENT'][ $i ]['RECURRENCE-ID'] )
+ ) {
$this->cal['VEVENT'][ $i ]['EXDATE'][] = $recurrence['RECURRENCE-ID'];
break;
}
@@ -566,14 +682,15 @@ class iCalendarReader {
/**
* Parse key:value from a string
*
- * @param string $text (default: '')
+ * @param string $text (default: '').
* @return array
*/
public function key_value_from_string( $text = '' ) {
preg_match( '/([^:]+)(;[^:]+)?[:]([\w\W]*)/', $text, $matches );
- if ( 0 == count( $matches ) )
+ if ( 0 === count( $matches ) ) {
return false;
+ }
return array( $matches[1], $matches[3] );
}
@@ -581,7 +698,7 @@ class iCalendarReader {
/**
* Convert a timezone name into a timezone object.
*
- * @param string $text Timezone name. Example: America/Chicago
+ * @param string $text Timezone name. Example: America/Chicago.
* @return object|null A DateTimeZone object if the conversion was successful.
*/
private function timezone_from_string( $text ) {
@@ -602,21 +719,21 @@ class iCalendarReader {
/**
* Add a component to the calendar array
*
- * @param string $component (default: '')
- * @param string $keyword (default: '')
- * @param string $value (default: '')
+ * @param string $component (default: '').
+ * @param bool|string $keyword (default: '').
+ * @param string $value (default: '').
* @return void
*/
public function add_component( $component = '', $keyword = '', $value = '' ) {
- if ( false == $keyword ) {
+ if ( ! $keyword ) {
$keyword = $this->last_keyword;
switch ( $component ) {
- case 'VEVENT':
- $value = $this->cal[ $component ][ $this->event_count - 1 ][ $keyword ] . $value;
- break;
- case 'VTODO' :
- $value = $this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ] . $value;
- break;
+ case 'VEVENT':
+ $value = $this->cal[ $component ][ $this->event_count - 1 ][ $keyword ] . $value;
+ break;
+ case 'VTODO':
+ $value = $this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ] . $value;
+ break;
}
}
@@ -632,58 +749,58 @@ class iCalendarReader {
* EXDATE;TZID=Pacific Standard Time:20120615T140000,20120629T140000,20120706T140000
*/
- // Always store EXDATE as an array
+ // Always store EXDATE as an array.
if ( stristr( $keyword, 'EXDATE' ) ) {
$value = explode( ',', $value );
}
- // Adjust DTSTART, DTEND, and EXDATE according to their TZID if set
+ // Adjust DTSTART, DTEND, and EXDATE according to their TZID if set.
if ( strpos( $keyword, ';' ) && ( stristr( $keyword, 'DTSTART' ) || stristr( $keyword, 'DTEND' ) || stristr( $keyword, 'EXDATE' ) || stristr( $keyword, 'RECURRENCE-ID' ) ) ) {
$keyword = explode( ';', $keyword );
$tzid = false;
- if ( 2 == count( $keyword ) ) {
+ if ( 2 === count( $keyword ) ) {
$tparam = $keyword[1];
- if ( strpos( $tparam, "TZID" ) !== false ) {
+ if ( strpos( $tparam, 'TZID' ) !== false ) {
$tzid = $this->timezone_from_string( str_replace( 'TZID=', '', $tparam ) );
}
}
- // Normalize all times to default UTC
+ // Normalize all times to default UTC.
if ( $tzid ) {
$adjusted_times = array();
foreach ( (array) $value as $v ) {
try {
$adjusted_time = new DateTime( $v, $tzid );
$adjusted_time->setTimeZone( new DateTimeZone( 'UTC' ) );
- $adjusted_times[] = $adjusted_time->format('Ymd\THis');
+ $adjusted_times[] = $adjusted_time->format( 'Ymd\THis' );
} catch ( Exception $e ) {
- // Invalid argument to DateTime
+ // Invalid argument to DateTime.
return;
}
}
$value = $adjusted_times;
}
- // Format for adding to event
+ // Format for adding to event.
$keyword = $keyword[0];
- if ( 'EXDATE' != $keyword ) {
+ if ( 'EXDATE' !== $keyword ) {
$value = implode( (array) $value );
}
}
foreach ( (array) $value as $v ) {
- switch ($component) {
+ switch ( $component ) {
case 'VTODO':
- if ( 'EXDATE' == $keyword ) {
+ if ( 'EXDATE' === $keyword ) {
$this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ][] = $v;
} else {
$this->cal[ $component ][ $this->todo_count - 1 ][ $keyword ] = $v;
}
break;
case 'VEVENT':
- if ( 'EXDATE' == $keyword ) {
+ if ( 'EXDATE' === $keyword ) {
$this->cal[ $component ][ $this->event_count - 1 ][ $keyword ][] = $v;
} else {
$this->cal[ $component ][ $this->event_count - 1 ][ $keyword ] = $v;
@@ -700,19 +817,19 @@ class iCalendarReader {
/**
* Escape strings with wp_kses, allow links
*
- * @param string $string (default: '')
+ * @param string $string (default: '') The string to escape.
* @return string
*/
public function escape( $string = '' ) {
- // Unfold content lines per RFC 5545
+ // Unfold content lines per RFC 5545.
$string = str_replace( "\n\t", '', $string );
$string = str_replace( "\n ", '', $string );
$allowed_html = array(
'a' => array(
'href' => array(),
- 'title' => array()
- )
+ 'title' => array(),
+ ),
);
$allowed_tags = '';
@@ -729,43 +846,62 @@ class iCalendarReader {
/**
* Render the events
*
- * @param string $url (default: '')
- * @param string $context (default: 'widget') or 'shortcode'
+ * @param string $url (default: '') URL of the iCal feed.
+ * @param array $args Event options.
+ *
* @return mixed bool|string false on failure, rendered HTML string on success.
*/
public function render( $url = '', $args = array() ) {
- $args = wp_parse_args( $args, array(
- 'context' => 'widget',
- 'number' => 5
- ) );
+ $args = wp_parse_args(
+ $args,
+ array(
+ 'context' => 'widget',
+ 'number' => 5,
+ )
+ );
$events = $this->get_events( $url, $args['number'] );
$events = $this->apply_timezone_offset( $events );
- if ( empty( $events ) )
+ if ( empty( $events ) ) {
return false;
+ }
ob_start();
- if ( 'widget' == $args['context'] ) : ?>
+ if ( 'widget' === $args['context'] ) : ?>
<ul class="upcoming-events">
<?php foreach ( $events as $event ) : ?>
<li>
- <strong class="event-summary"><?php echo $this->escape( stripslashes( $event['SUMMARY'] ) ); ?></strong>
- <span class="event-when"><?php echo $this->formatted_date( $event ); ?></span>
+ <strong class="event-summary">
+ <?php
+ echo $this->escape( stripslashes( $event['SUMMARY'] ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- this method is built to escape.
+ ?>
+ </strong>
+ <span class="event-when"><?php echo esc_html( $this->formatted_date( $event ) ); ?></span>
<?php if ( ! empty( $event['LOCATION'] ) ) : ?>
- <span class="event-location"><?php echo $this->escape( stripslashes( $event['LOCATION'] ) ); ?></span>
+ <span class="event-location">
+ <?php
+ echo $this->escape( stripslashes( $event['LOCATION'] ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- this method is built to escape.
+ ?>
+ </span>
<?php endif; ?>
<?php if ( ! empty( $event['DESCRIPTION'] ) ) : ?>
- <span class="event-description"><?php echo wp_trim_words( $this->escape( stripcslashes( $event['DESCRIPTION'] ) ) ); ?></span>
+ <span class="event-description">
+ <?php
+ echo wp_trim_words( $this->escape( stripcslashes( $event['DESCRIPTION'] ) ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- this method is built to escape.
+ ?>
+ </span>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
- <?php endif;
+ <?php
+ endif;
- if ( 'shortcode' == $args['context'] ) : ?>
+ if ( 'shortcode' === $args['context'] ) :
+ ?>
<table class="upcoming-events">
<thead>
<tr>
@@ -778,68 +914,102 @@ class iCalendarReader {
<tbody>
<?php foreach ( $events as $event ) : ?>
<tr>
- <td><?php echo empty( $event['LOCATION'] ) ? '&nbsp;' : $this->escape( stripslashes( $event['LOCATION'] ) ); ?></td>
- <td><?php echo $this->formatted_date( $event ); ?></td>
- <td><?php echo empty( $event['SUMMARY'] ) ? '&nbsp;' : $this->escape( stripslashes( $event['SUMMARY'] ) ); ?></td>
- <td><?php echo empty( $event['DESCRIPTION'] ) ? '&nbsp;' : wp_trim_words( $this->escape( stripcslashes( $event['DESCRIPTION'] ) ) ); ?></td>
+ <td>
+ <?php
+ echo empty( $event['LOCATION'] )
+ ? '&nbsp;'
+ : $this->escape( stripslashes( $event['LOCATION'] ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- this method is built to escape.
+ ?>
+ </td>
+ <td><?php echo esc_html( $this->formatted_date( $event ) ); ?></td>
+ <td>
+ <?php
+ echo empty( $event['SUMMARY'] )
+ ? '&nbsp;'
+ : $this->escape( stripslashes( $event['SUMMARY'] ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- this method is built to escape.
+ ?>
+ </td>
+ <td>
+ <?php
+ echo empty( $event['DESCRIPTION'] )
+ ? '&nbsp;'
+ : wp_trim_words( $this->escape( stripcslashes( $event['DESCRIPTION'] ) ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- this method is built to escape.
+ ?>
+ </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
- <?php endif;
+ <?php
+ endif;
$rendered = ob_get_clean();
- if ( empty( $rendered ) )
+ if ( empty( $rendered ) ) {
return false;
+ }
return $rendered;
}
+ /**
+ * Return a localized string with information about the event's date and time,
+ * or starting date and end date.
+ *
+ * @param array $event Info about the event.
+ *
+ * @return string
+ */
public function formatted_date( $event ) {
-
$date_format = get_option( 'date_format' );
$time_format = get_option( 'time_format' );
- $start = strtotime( $event['DTSTART'] );
- $end = isset( $event['DTEND'] ) ? strtotime( $event['DTEND'] ) : false;
+ $start = strtotime( $event['DTSTART'] );
+ $end = isset( $event['DTEND'] ) ? strtotime( $event['DTEND'] ) : false;
- $all_day = ( 8 == strlen( $event['DTSTART'] ) );
+ $all_day = ( 8 === strlen( $event['DTSTART'] ) );
- if ( !$all_day && $this->timezone ) {
+ if ( ! $all_day && $this->timezone ) {
try {
- $start_time = new DateTime( $event['DTSTART'] );
+ $start_time = new DateTime( $event['DTSTART'] );
$timezone_offset = $this->timezone->getOffset( $start_time );
- $start += $timezone_offset;
+ $start += $timezone_offset;
if ( $end ) {
$end += $timezone_offset;
}
} catch ( Exception $e ) {
- // Invalid argument to DateTime
+ // Invalid argument to DateTime.
+ return '';
}
}
$single_day = $end ? ( $end - $start ) <= DAY_IN_SECONDS : true;
/* translators: Date and time */
- $date_with_time = __( '%1$s at %2$s' , 'jetpack' );
+ $date_with_time = __( '%1$s at %2$s', 'jetpack' );
/* translators: Two dates with a separator */
- $two_dates = __( '%1$s &ndash; %2$s' , 'jetpack' );
+ $two_dates = __( '%1$s &ndash; %2$s', 'jetpack' );
- // we'll always have the start date. Maybe with time
- if ( $all_day )
+ // we'll always have the start date. Maybe with time.
+ if ( $all_day ) {
$date = date_i18n( $date_format, $start );
- else
- $date = sprintf( $date_with_time, date_i18n( $date_format, $start ), date_i18n( $time_format, $start ) );
+ } else {
+ $date = sprintf(
+ $date_with_time,
+ date_i18n( $date_format, $start ),
+ date_i18n( $time_format, $start )
+ );
+ }
- // single day, timed
- if ( $single_day && ! $all_day && false !== $end )
+ // single day, timed.
+ if ( $single_day && ! $all_day && false !== $end ) {
$date = sprintf( $two_dates, $date, date_i18n( $time_format, $end ) );
+ }
- // multi-day
+ // multi-day.
if ( ! $single_day ) {
if ( $all_day ) {
- // DTEND for multi-day events represents "until", not "including", so subtract one minute
+ // DTEND for multi-day events represents "until", not "including", so subtract one minute.
$end_date = date_i18n( $date_format, $end - 60 );
} else {
$end_date = sprintf( $date_with_time, date_i18n( $date_format, $end ), date_i18n( $time_format, $end ) );
@@ -852,35 +1022,48 @@ class iCalendarReader {
return $date;
}
+ /**
+ * Sort list of events by event date.
+ *
+ * @param array $list List of events.
+ *
+ * @return array
+ */
protected function sort_by_recent( $list ) {
- $dates = $sorted_list = array();
+ $dates = array();
+ $sorted_list = array();
foreach ( $list as $key => $row ) {
$date = $row['DTSTART'];
- // pad some time onto an all day date
- if ( 8 === strlen( $date ) )
+ // pad some time onto an all day date.
+ if ( 8 === strlen( $date ) ) {
$date .= 'T000000Z';
- $dates[$key] = $date;
+ }
+ $dates[ $key ] = $date;
}
asort( $dates );
- foreach( $dates as $key => $value ) {
- $sorted_list[$key] = $list[$key];
+ foreach ( $dates as $key => $value ) {
+ $sorted_list[ $key ] = $list[ $key ];
}
- unset($list);
+ unset( $list );
return $sorted_list;
}
+ // phpcs:enable WordPress.DateTime.RestrictedFunctions.date_date
}
-
/**
* Wrapper function for iCalendarReader->get_events()
*
- * @param string $url (default: '')
+ * @param string $url (default: '').
+ * @param int $count Number of events to fetch.
* @return array
*/
function icalendar_get_events( $url = '', $count = 5 ) {
- // Find your calendar's address https://support.google.com/calendar/bin/answer.py?hl=en&answer=37103
+ /*
+ * Find your calendar's address
+ * https://support.google.com/calendar/bin/answer.py?hl=en&answer=37103
+ */
$ical = new iCalendarReader();
return $ical->get_events( $url, $count );
}
@@ -888,8 +1071,9 @@ function icalendar_get_events( $url = '', $count = 5 ) {
/**
* Wrapper function for iCalendarReader->render()
*
- * @param string $url (default: '')
- * @param string $context (default: 'widget') or 'shortcode'
+ * @param string $url (default: '').
+ * @param array $args Options when rendering events.
+ *
* @return mixed bool|string false on failure, rendered HTML string on success.
*/
function icalendar_render_events( $url = '', $args = array() ) {
diff --git a/plugins/jetpack/_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-builder.php b/plugins/jetpack/_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-builder.php
deleted file mode 100644
index 62b0ddda..00000000
--- a/plugins/jetpack/_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-builder.php
+++ /dev/null
@@ -1,400 +0,0 @@
-<?php
-
-/**
- * Provides an interface for easily building a complex search query that
- * combines multiple ranking signals.
- *
- *
- * $bldr = new Jetpack_WPES_Query_Builder();
- * $bldr->add_filter( ... );
- * $bldr->add_filter( ... );
- * $bldr->add_query( ... );
- * $es_query = $bldr->build_query();
- *
- *
- * All ES queries take a standard form with main query (with some filters),
- * wrapped in a function_score
- *
- * Most functions are chainable, e.g. $bldr->add_filter( ... )->add_query( ... )->build_query();
- *
- * Bucketed queries use an aggregation to diversify results. eg a bunch
- * of separate filters where to get different sets of results.
- *
- */
-
-class Jetpack_WPES_Query_Builder {
-
- protected $es_filters = array();
-
- // Custom boosting with function_score
- protected $functions = array();
- protected $weighting_functions = array();
- protected $decays = array();
- protected $scripts = array();
- protected $functions_max_boost = 2.0;
- protected $functions_score_mode = 'multiply';
- protected $functions_boost_mode = 'multiply';
- protected $query_bool_boost = null;
-
- // General aggregations for buckets and metrics
- protected $aggs_query = false;
- protected $aggs = array();
-
- // The set of top level text queries to combine
- protected $must_queries = array();
- protected $should_queries = array();
- protected $dis_max_queries = array();
-
- protected $diverse_buckets_query = false;
- protected $bucket_filters = array();
- protected $bucket_sub_aggs = array();
-
- public function get_langs() {
- if ( isset( $this->langs ) ) {
- return $this->langs;
- }
- return false;
- }
-
- ////////////////////////////////////
- // Methods for building a query
-
- public function add_filter( $filter ) {
- $this->es_filters[] = $filter;
-
- return $this;
- }
-
- public function add_query( $query, $type = 'must' ) {
- switch ( $type ) {
- case 'dis_max':
- $this->dis_max_queries[] = $query;
- break;
-
- case 'should':
- $this->should_queries[] = $query;
- break;
-
- case 'must':
- default:
- $this->must_queries[] = $query;
- break;
- }
-
- return $this;
- }
-
- /**
- * Add any weighting function to the query
- *
- * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html
- *
- * @param $function array A function structure to apply to the query
- *
- * @return void
- */
- public function add_weighting_function( $function ) {
- $this->weighting_functions[] = $function;
-
- return $this;
- }
-
- /**
- * Add a scoring function to the query
- *
- * NOTE: For decays (linear, exp, or gauss), use Jetpack_WPES_Query_Builder::add_decay() instead
- *
- * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html
- *
- * @param $function string name of the function
- * @param $params array functions parameters
- *
- * @return void
- */
- public function add_function( $function, $params ) {
- $this->functions[ $function ][] = $params;
-
- return $this;
- }
-
- /**
- * Add a decay function to score results
- *
- * This method should be used instead of Jetpack_WPES_Query_Builder::add_function() for decays, as the internal ES structure
- * is slightly different for them.
- *
- * @see https://www.elastic.co/guide/en/elasticsearch/guide/current/decay-functions.html
- *
- * @param $function string name of the decay function - linear, exp, or gauss
- * @param $params array The decay functions parameters, passed to ES directly
- *
- * @return void
- */
- public function add_decay( $function, $params ) {
- $this->decays[ $function ][] = $params;
-
- return $this;
- }
-
- /**
- * Add a scoring mode to the query
- *
- * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html
- *
- * @param $mode string name of how to score
- *
- * @return void
- */
- public function add_score_mode_to_functions( $mode='multiply' ) {
- $this->functions_score_mode = $mode;
-
- return $this;
- }
-
- public function add_boost_mode_to_functions( $mode='multiply' ) {
- $this->functions_boost_mode = $mode;
-
- return $this;
- }
-
- public function add_max_boost_to_functions( $boost ) {
- $this->functions_max_boost = $boost;
-
- return $this;
- }
-
- public function add_boost_to_query_bool( $boost ) {
- $this->query_bool_boost = $boost;
-
- return $this;
- }
-
- public function add_aggs( $aggs_name, $aggs ) {
- $this->aggs_query = true;
- $this->aggs[$aggs_name] = $aggs;
-
- return $this;
- }
-
- public function set_all_aggs( $aggs ) {
- $this->aggs_query = true;
- $this->aggs = $aggs;
-
- return $this;
- }
-
- public function add_aggs_sub_aggs( $aggs_name, $sub_aggs ) {
- if ( ! array_key_exists( 'aggs', $this->aggs[$aggs_name] ) ) {
- $this->aggs[$aggs_name]['aggs'] = array();
- }
- $this->aggs[$aggs_name]['aggs'] = $sub_aggs;
-
- return $this;
- }
-
- public function add_bucketed_query( $name, $query ) {
- $this->_add_bucket_filter( $name, $query );
-
- $this->add_query( $query, 'dis_max' );
-
- return $this;
- }
-
- public function add_bucketed_terms( $name, $field, $terms, $boost = 1 ) {
- if ( ! is_array( $terms ) ) {
- $terms = array( $terms );
- }
-
- $this->_add_bucket_filter( $name, array(
- 'terms' => array(
- $field => $terms,
- ),
- ));
-
- $this->add_query( array(
- 'constant_score' => array(
- 'filter' => array(
- 'terms' => array(
- $field => $terms,
- ),
- ),
- 'boost' => $boost,
- ),
- ), 'dis_max' );
-
- return $this;
- }
-
- public function add_bucket_sub_aggs( $agg ) {
- $this->bucket_sub_aggs = array_merge( $this->bucket_sub_aggs, $agg );
-
- return $this;
- }
-
- protected function _add_bucket_filter( $name, $filter ) {
- $this->diverse_buckets_query = true;
- $this->bucket_filters[ $name ] = $filter;
- }
-
- ////////////////////////////////////
- // Building Final Query
-
- /**
- * Combine all the queries, functions, decays, scripts, and max_boost into an ES query
- *
- * @return array Array representation of the built ES query
- */
- public function build_query() {
- $query = array();
-
- //dis_max queries just become a single must query
- if ( ! empty( $this->dis_max_queries ) ) {
- $this->must_queries[] = array(
- 'dis_max' => array(
- 'queries' => $this->dis_max_queries,
- ),
- );
- }
-
- if ( empty( $this->must_queries ) ) {
- $this->must_queries = array(
- array(
- 'match_all' => array(),
- ),
- );
- }
-
- if ( empty( $this->should_queries ) ) {
- $query = array(
- 'bool' => array(
- 'must' => $this->must_queries,
- ),
- );
- } else {
- $query = array(
- 'bool' => array(
- 'must' => $this->must_queries,
- 'should' => $this->should_queries,
- ),
- );
- }
-
- if ( ! is_null( $this->query_bool_boost ) && isset( $query['bool'] ) ) {
- $query['bool']['boost'] = $this->query_bool_boost;
- }
-
- // If there are any function score adjustments, then combine those
- if ( $this->functions || $this->decays || $this->scripts || $this->weighting_functions ) {
- $weighting_functions = array();
-
- if ( $this->functions ) {
- foreach ( $this->functions as $function_type => $configs ) {
- foreach ( $configs as $config ) {
- foreach ( $config as $field => $params ) {
- $func_arr = $params;
-
- $func_arr['field'] = $field;
-
- $weighting_functions[] = array(
- $function_type => $func_arr,
- );
- }
- }
- }
- }
-
- if ( $this->decays ) {
- foreach ( $this->decays as $decay_type => $configs ) {
- foreach ( $configs as $config ) {
- foreach ( $config as $field => $params ) {
- $weighting_functions[] = array(
- $decay_type => array(
- $field => $params,
- ),
- );
- }
- }
- }
- }
-
- if ( $this->scripts ) {
- foreach ( $this->scripts as $script ) {
- $weighting_functions[] = array(
- 'script_score' => array(
- 'script' => $script,
- ),
- );
- }
- }
-
- $query = array(
- 'function_score' => array(
- 'query' => $query,
- 'functions' => $weighting_functions,
- 'max_boost' => $this->functions_max_boost,
- 'score_mode' => $this->functions_score_mode,
- 'boost_mode' => $this->functions_boost_mode,
- ),
- );
- } // End if().
-
- return $query;
- }
-
- /**
- * Assemble the 'filter' portion of an ES query, from all registered filters
- *
- * @return array|null Combined ES filters, or null if none have been defined
- */
- public function build_filter() {
- if ( empty( $this->es_filters ) ) {
- $filter = null;
- } elseif ( 1 == count( $this->es_filters ) ) {
- $filter = $this->es_filters[0];
- } else {
- $filter = array(
- 'and' => $this->es_filters,
- );
- }
-
- return $filter;
- }
-
- /**
- * Assemble the 'aggregation' portion of an ES query, from all general aggregations.
- *
- * @return array An aggregation query as an array of topics, filters, and bucket names
- */
- public function build_aggregation() {
- if ( empty( $this->bucket_sub_aggs ) && empty( $this->aggs_query ) ) {
- return array();
- }
-
- if ( ! $this->diverse_buckets_query && empty( $this->aggs_query ) ) {
- return $this->bucket_sub_aggs;
- }
-
- $aggregations = array(
- 'topics' => array(
- 'filters' => array(
- 'filters' => array(),
- ),
- ),
- );
-
- if ( ! empty( $this->bucket_sub_aggs ) ) {
- $aggregations['topics']['aggs'] = $this->bucket_sub_aggs;
- }
-
- foreach ( $this->bucket_filters as $bucket_name => $filter ) {
- $aggregations['topics']['filters']['filters'][ $bucket_name ] = $filter;
- }
-
- if ( ! empty( $this->aggs_query ) ) {
- $aggregations = $this->aggs;
- }
-
- return $aggregations;
- }
-
-}
diff --git a/plugins/jetpack/_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-parser.php b/plugins/jetpack/_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-parser.php
deleted file mode 100644
index 42a82ede..00000000
--- a/plugins/jetpack/_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-parser.php
+++ /dev/null
@@ -1,691 +0,0 @@
-<?php
-
-/**
- * Parse a pure text query into WordPress Elasticsearch query. This builds on
- * the Jetpack_WPES_Query_Builder() to provide search query parsing.
- *
- * The key part of this parser is taking a user's query string typed into a box
- * and converting it into an ES search query.
- *
- * This varies by application, but roughly it means extracting some parts of the query
- * (authors, tags, and phrases) that are treated as a filter. Then taking the
- * remaining words and building the correct query (possibly with prefix searching
- * if we are doing search as you type)
- *
- * This class only supports ES 2.x+
- *
- * This parser builds queries of the form:
- * bool:
- * must:
- * AND match of a single field (ideally an edgengram field)
- * filter:
- * filter clauses from context (eg @gibrown, #news, etc)
- * should:
- * boosting of results by various fields
- *
- * Features supported:
- * - search as you type
- * - phrases
- * - supports querying across multiple languages at once
- *
- * Example usage (from Search on Reader Manage):
- *
- * require_lib( 'jetpack-wpes-query-builder/jetpack-wpes-search-query-parser' );
- * $parser = new Jetpack_WPES_Search_Query_Parser( $args['q'], array( $lang ) );
- *
- * //author
- * $parser->author_field_filter( array(
- * 'prefixes' => array( '@' ),
- * 'wpcom_id_field' => 'author_id',
- * 'must_query_fields' => array( 'author.engram', 'author_login.engram' ),
- * 'boost_query_fields' => array( 'author^2', 'author_login^2', 'title.default.engram' ),
- * ) );
- *
- * //remainder of query
- * $match_content_fields = $parser->merge_ml_fields(
- * array(
- * 'all_content' => 0.1,
- * ),
- * array(
- * 'all_content.default.engram^0.1',
- * )
- * );
- * $boost_content_fields = $parser->merge_ml_fields(
- * array(
- * 'title' => 2,
- * 'description' => 1,
- * 'tags' => 1,
- * ),
- * array(
- * 'author_login^2',
- * 'author^2',
- * )
- * );
- *
- * $parser->phrase_filter( array(
- * 'must_query_fields' => $match_content_fields,
- * 'boost_query_fields' => $boost_content_fields,
- * ) );
- * $parser->remaining_query( array(
- * 'must_query_fields' => $match_content_fields,
- * 'boost_query_fields' => $boost_content_fields,
- * ) );
- *
- * //Boost on phrases
- * $parser->remaining_query( array(
- * 'boost_query_fields' => $boost_content_fields,
- * 'boost_query_type' => 'phrase',
- * ) );
- *
- * //boosting
- * $parser->add_max_boost_to_functions( 20 );
- * $parser->add_function( 'field_value_factor', array(
- * 'follower_count' => array(
- * 'modifier' => 'sqrt',
- * 'factor' => 1,
- * 'missing' => 0,
- * ) ) );
- *
- * //Filtering
- * $parser->add_filter( array(
- * 'exists' => array( 'field' => 'langs.' . $lang )
- * ) );
- *
- * //run the query
- * $es_query_args = array(
- * 'name' => 'feeds',
- * 'blog_id' => false,
- * 'security_strategy' => 'a8c',
- * 'type' => 'feed,blog',
- * 'fields' => array( 'blog_id', 'feed_id' ),
- * 'query' => $parser->build_query(),
- * 'filter' => $parser->build_filter(),
- * 'size' => $size,
- * 'from' => $from
- * );
- * $es_results = es_api_search_index( $es_query_args, 'api-feed-find' );
- *
- */
-
-jetpack_require_lib( 'jetpack-wpes-query-builder' );
-
-class Jetpack_WPES_Search_Query_Parser extends Jetpack_WPES_Query_Builder {
-
- protected $orig_query = '';
- protected $current_query = '';
- protected $langs;
- protected $avail_langs = array( 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'eu', 'fa', 'fi', 'fr', 'he', 'hi', 'hu', 'hy', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh' );
-
- public function __construct( $user_query, $langs ) {
- $this->orig_query = $user_query;
- $this->current_query = $this->orig_query;
- $this->langs = $this->norm_langs( $langs );
- }
-
- protected $extracted_phrases = array();
-
- public function get_current_query() {
- return $this->current_query;
- }
-
- public function set_current_query( $q ) {
- $this->current_query = $q;
- }
-
- ///////////////////////////////////////////////////////
- // Methods for Building arrays of multilingual fields
-
- /*
- * Normalize language codes
- */
- public function norm_langs( $langs ) {
- $lst = array();
- foreach( $langs as $l ) {
- $l = strtok( $l, '-_' );
- if ( in_array( $l, $this->avail_langs ) ) {
- $lst[$l] = true;
- } else {
- $lst['default'] = true;
- }
- }
- return array_keys( $lst );
- }
-
- /*
- * Take a list of field prefixes and expand them for multi-lingual
- * with the provided boostings.
- */
- public function merge_ml_fields( $fields2boosts, $additional_fields ) {
- $flds = array();
- foreach( $fields2boosts as $f => $b ) {
- foreach( $this->langs as $l ) {
- $flds[] = $f . '.' . $l . '^' . $b;
- }
- }
- foreach( $additional_fields as $f ) {
- $flds[] = $f;
- }
- return $flds;
- }
-
- ////////////////////////////////////
- // Extract Fields for Filtering on
-
- /*
- * Extract any @mentions from the user query
- * use them as a filter if we can find a wp.com id
- * otherwise use them as a
- *
- * args:
- * wpcom_id_field: wp.com id field
- * must_query_fields: array of fields to search for matching results (optional)
- * boost_query_fields: array of fields to search in for boosting results (optional)
- * prefixes: array of prefixes that the user can use to indicate an author
- *
- * returns true/false of whether any were found
- *
- * See also: https://github.com/twitter/twitter-text/blob/master/java/src/com/twitter/Regex.java
- */
- public function author_field_filter( $args ) {
- $defaults = array(
- 'wpcom_id_field' => 'author_id',
- 'must_query_fields' => null,
- 'boost_query_fields' => null,
- 'prefixes' => array( '@' ),
- );
- $args = wp_parse_args( $args, $defaults );
-
- $names = array();
- foreach( $args['prefixes'] as $p ) {
- $found = $this->get_fields( $p );
- if ( $found ) {
- foreach( $found as $f ) {
- $names[] = $f;
- }
- }
- }
-
- if ( empty( $names ) ) {
- return false;
- }
-
- foreach( $args['prefixes'] as $p ) {
- $this->remove_fields( $p );
- }
-
- $user_ids = array();
- $query_names = array();
-
- //loop through the matches and separate into filters and queries
- foreach( $names as $n ) {
- //check for exact match on login
- $userdata = get_user_by( 'login', strtolower( $n ) );
- $filtering = false;
- if ( $userdata ) {
- $user_ids[ $userdata->ID ] = true;
- $filtering = true;
- }
-
- $is_phrase = false;
- if ( preg_match( '/"/', $n ) ) {
- $is_phrase = true;
- $n = preg_replace( '/"/', '', $n );
- }
-
- if ( !empty( $args['must_query_fields'] ) && !$filtering ) {
- if ( $is_phrase ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['must_query_fields'],
- 'query' => $n,
- 'type' => 'phrase',
- ) ) );
- } else {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['must_query_fields'],
- 'query' => $n,
- ) ) );
- }
- }
-
- if ( !empty( $args['boost_query_fields'] ) ) {
- if ( $is_phrase ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['boost_query_fields'],
- 'query' => $n,
- 'type' => 'phrase',
- ) ), 'should' );
- } else {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['boost_query_fields'],
- 'query' => $n,
- ) ), 'should' );
- }
- }
- }
-
- if ( ! empty( $user_ids ) ) {
- $user_ids = array_keys( $user_ids );
- $this->add_filter( array( 'terms' => array( $args['wpcom_id_field'] => $user_ids ) ) );
- }
-
- return true;
- }
-
- /*
- * Extract any prefix followed by text use them as a must clause,
- * and optionally as a boost to the should query
- * This can be used for hashtags. eg #News, or #"current events",
- * but also works for any arbitrary field. eg from:Greg
- *
- * args:
- * must_query_fields: array of fields that must match the tag (optional)
- * boost_query_fields: array of fields to boost search on (optional)
- * prefixes: array of prefixes that the user can use to indicate a tag
- *
- * returns true/false of whether any were found
- *
- */
- public function text_field_filter( $args ) {
- $defaults = array(
- 'must_query_fields' => array( 'tag.name' ),
- 'boost_query_fields' => array( 'tag.name' ),
- 'prefixes' => array( '#' ),
- );
- $args = wp_parse_args( $args, $defaults );
-
- $tags = array();
- foreach( $args['prefixes'] as $p ) {
- $found = $this->get_fields( $p );
- if ( $found ) {
- foreach( $found as $f ) {
- $tags[] = $f;
- }
- }
- }
-
- if ( empty( $tags ) ) {
- return false;
- }
-
- foreach( $args['prefixes'] as $p ) {
- $this->remove_fields( $p );
- }
-
- foreach( $tags as $t ) {
- $is_phrase = false;
- if ( preg_match( '/"/', $t ) ) {
- $is_phrase = true;
- $t = preg_replace( '/"/', '', $t );
- }
-
- if ( ! empty( $args['must_query_fields'] ) ) {
- if ( $is_phrase ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['must_query_fields'],
- 'query' => $t,
- 'type' => 'phrase',
- ) ) );
- } else {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['must_query_fields'],
- 'query' => $t,
- ) ) );
- }
- }
-
- if ( ! empty( $args['boost_query_fields'] ) ) {
- if ( $is_phrase ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['boost_query_fields'],
- 'query' => $t,
- 'type' => 'phrase',
- ) ), 'should' );
- } else {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['boost_query_fields'],
- 'query' => $t,
- ) ), 'should' );
- }
- }
- }
-
- return true;
- }
-
- /*
- * Extract anything surrounded by quotes or if there is an opening quote
- * that is not complete, and add them to the query as a phrase query.
- * Quotes can be either '' or ""
- *
- * args:
- * must_query_fields: array of fields that must match the phrases
- * boost_query_fields: array of fields to boost the phrases on (optional)
- *
- * returns true/false of whether any were found
- *
- */
- public function phrase_filter( $args ) {
- $defaults = array(
- 'must_query_fields' => array( 'all_content' ),
- 'boost_query_fields' => array( 'title' ),
- );
- $args = wp_parse_args( $args, $defaults );
-
- $phrases = array();
- if ( preg_match_all( '/"([^"]+)"/', $this->current_query, $matches ) ) {
- foreach ( $matches[1] as $match ) {
- $phrases[] = $match;
- }
- $this->current_query = preg_replace( '/"([^"]+)"/', '', $this->current_query );
- }
-
- if ( preg_match_all( "/'([^']+)'/", $this->current_query, $matches ) ) {
- foreach ( $matches[1] as $match ) {
- $phrases[] = $match;
- }
- $this->current_query = preg_replace( "/'([^']+)'/", '', $this->current_query );
- }
-
- //look for a final, uncompleted phrase
- $phrase_prefix = false;
- if ( preg_match_all( '/"([^"]+)$/', $this->current_query, $matches ) ) {
- $phrase_prefix = $matches[1][0];
- $this->current_query = preg_replace( '/"([^"]+)$/', '', $this->current_query );
- }
- if ( preg_match_all( "/(?:'\B|\B')([^']+)$/", $this->current_query, $matches ) ) {
- $phrase_prefix = $matches[1][0];
- $this->current_query = preg_replace( "/(?:'\B|\B')([^']+)$/", '', $this->current_query );
- }
-
- if ( $phrase_prefix ) {
- $phrases[] = $phrase_prefix;
- }
- if ( empty( $phrases ) ) {
- return false;
- }
-
- foreach ( $phrases as $p ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['must_query_fields'],
- 'query' => $p,
- 'type' => 'phrase',
- ) ) );
-
- if ( ! empty( $args['boost_query_fields'] ) ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['boost_query_fields'],
- 'query' => $p,
- 'operator' => 'and',
- ) ), 'should' );
- }
- }
-
- return true;
- }
-
- /*
- * Query fields based on the remaining parts of the query
- * This could be the final AND part of the query terms to match, or it
- * could be boosting certain elements of the query
- *
- * args:
- * must_query_fields: array of fields that must match the remaining terms (optional)
- * boost_query_fields: array of fields to boost the remaining terms on (optional)
- *
- */
- public function remaining_query( $args ) {
- $defaults = array(
- 'must_query_fields' => null,
- 'boost_query_fields' => null,
- 'boost_operator' => 'and',
- 'boost_query_type' => 'best_fields',
- );
- $args = wp_parse_args( $args, $defaults );
-
- if ( empty( $this->current_query ) || ctype_space( $this->current_query ) ) {
- return;
- }
-
- if ( ! empty( $args['must_query_fields'] ) ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['must_query_fields'],
- 'query' => $this->current_query,
- 'operator' => 'and',
- ) ) );
- }
-
- if ( ! empty( $args['boost_query_fields'] ) ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['boost_query_fields'],
- 'query' => $this->current_query,
- 'operator' => $args['boost_operator'],
- 'type' => $args['boost_query_type'],
- ) ), 'should' );
- }
-
- }
-
- /*
- * Query fields using a prefix query (alphabetical expansions on the index).
- * This is not recommended. Slower performance and worse relevancy.
- *
- * (UNTESTED! Copied from old prefix expansion code)
- *
- * args:
- * must_query_fields: array of fields that must match the remaining terms (optional)
- * boost_query_fields: array of fields to boost the remaining terms on (optional)
- *
- */
- public function remaining_prefix_query( $args ) {
- $defaults = array(
- 'must_query_fields' => array( 'all_content' ),
- 'boost_query_fields' => array( 'title' ),
- 'boost_operator' => 'and',
- 'boost_query_type' => 'best_fields',
- );
- $args = wp_parse_args( $args, $defaults );
-
- if ( empty( $this->current_query ) || ctype_space( $this->current_query ) ) {
- return;
- }
-
- //////////////////////////////////
- // Example cases to think about:
- // "elasticse"
- // "elasticsearch"
- // "elasticsearch "
- // "elasticsearch lucen"
- // "elasticsearch lucene"
- // "the future" - note the stopword which will match nothing!
- // "F1" - an exact match that also has tons of expansions
- // "こんにちは" ja "hello"
- // "こんにちは友人" ja "hello friend" - we just rely on the prefix phrase and ES to split words
- // - this could still be better I bet. Maybe we need to analyze with ES first?
- //
-
- /////////////////////////////
- //extract pieces of query
- // eg: "PREFIXREMAINDER PREFIXWORD"
- // "elasticsearch lucen"
-
- $prefix_word = false;
- $prefix_remainder = false;
- if ( preg_match_all( '/([^ ]+)$/', $this->current_query, $matches ) ) {
- $prefix_word = $matches[1][0];
- }
-
- $prefix_remainder = preg_replace( '/([^ ]+)$/', '', $this->current_query );
- if ( ctype_space( $prefix_remainder ) ) {
- $prefix_remainder = false;
- }
-
- if ( ! $prefix_word ) {
- //Space at the end of the query, so skip using a prefix query
- if ( ! empty( $args['must_query_fields'] ) ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['must_query_fields'],
- 'query' => $this->current_query,
- 'operator' => 'and',
- ) ) );
- }
-
- if ( ! empty( $args['boost_query_fields'] ) ) {
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['boost_query_fields'],
- 'query' => $this->current_query,
- 'operator' => $args['boost_operator'],
- 'type' => $args['boost_query_type'],
- ) ), 'should' );
- }
- } else {
-
- //must match the prefix word and the prefix remainder
- if ( ! empty( $args['must_query_fields'] ) ) {
- //need to do an OR across a few fields to handle all cases
- $must_q = array( 'bool' => array( 'should' => array( ), 'minimum_should_match' => 1 ) );
-
- //treat all words as an exact search (boosts complete word like "news"
- //from prefixes of "newspaper")
- $must_q['bool']['should'][] = array( 'multi_match' => array(
- 'fields' => $this->all_fields,
- 'query' => $full_text,
- 'operator' => 'and',
- 'type' => 'cross_fields',
- ) );
-
- //always optimistically try and match the full text as a phrase
- //prefix "the futu" should try to match "the future"
- //otherwise the first stopword kinda breaks
- //This also works as the prefix match for a single word "elasticsea"
- $must_q['bool']['should'][] = array( 'multi_match' => array(
- 'fields' => $this->phrase_fields,
- 'query' => $full_text,
- 'operator' => 'and',
- 'type' => 'phrase_prefix',
- 'max_expansions' => 100,
- ) );
-
- if ( $prefix_remainder ) {
- //Multiple words found, so treat each word on its own and not just as
- //a part of a phrase
- //"elasticsearch lucen" => "elasticsearch" exact AND "lucen" prefix
- $q['bool']['should'][] = array( 'bool' => array(
- 'must' => array(
- array( 'multi_match' => array(
- 'fields' => $this->phrase_fields,
- 'query' => $prefix_word,
- 'operator' => 'and',
- 'type' => 'phrase_prefix',
- 'max_expansions' => 100,
- ) ),
- array( 'multi_match' => array(
- 'fields' => $this->all_fields,
- 'query' => $prefix_remainder,
- 'operator' => 'and',
- 'type' => 'cross_fields',
- ) ),
- )
- ) );
- }
-
- $this->add_query( $must_q );
- }
-
- //Now add any boosting of the query
- if ( ! empty( $args['boost_query_fields'] ) ) {
- //treat all words as an exact search (boosts complete word like "news"
- //from prefixes of "newspaper")
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['boost_query_fields'],
- 'query' => $this->current_query,
- 'operator' => $args['boost_query_operator'],
- 'type' => $args['boost_query_type'],
- ) ), 'should' );
-
- //optimistically boost the full phrase prefix match
- $this->add_query( array(
- 'multi_match' => array(
- 'fields' => $args['boost_query_fields'],
- 'query' => $this->current_query,
- 'operator' => 'and',
- 'type' => 'phrase_prefix',
- 'max_expansions' => 100,
- ) ) );
- }
- }
- }
-
- /*
- * Boost results based on the lang probability overlaps
- *
- * args:
- * langs2prob: list of languages to search in with associated boosts
- */
- public function boost_lang_probs( $langs2prob ) {
- foreach( $langs2prob as $l => $p ) {
- $this->add_function( 'field_value_factor', array(
- 'modifier' => 'none',
- 'factor' => $p,
- 'missing' => 0.01, //1% chance doc did not have right lang detected
- ) );
- }
- }
-
- ////////////////////////////////////
- // Helper Methods
-
- //Get the text after some prefix. eg @gibrown, or @"Greg Brown"
- protected function get_fields( $field_prefix ) {
- $regex = '/' . $field_prefix . '(("[^"]+")|([^\\p{Z}]+))/';
- if ( preg_match_all( $regex, $this->current_query, $match ) ) {
- return $match[1];
- }
- return false;
- }
-
- //Remove the prefix and text from the query
- protected function remove_fields( $field_name ) {
- $regex = '/' . $field_name . '(("[^"]+")|([^\\p{Z}]+))/';
- $this->current_query = preg_replace( $regex, '', $this->current_query );
- }
-
- //Best effort string truncation that splits on word breaks
- protected function truncate_string( $string, $limit, $break=" " ) {
- if ( mb_strwidth( $string ) <= $limit ) {
- return $string;
- }
-
- // walk backwards from $limit to find first break
- $breakpoint = $limit;
- $broken = false;
- while ( $breakpoint > 0 ) {
- if ( $break === mb_strimwidth( $string, $breakpoint, 1 ) ) {
- $string = mb_strimwidth( $string, 0, $breakpoint );
- $broken = true;
- break;
- }
- $breakpoint--;
- }
- // if we weren't able to find a break, need to chop mid-word
- if ( !$broken ) {
- $string = mb_strimwidth( $string, 0, $limit );
- }
- return $string;
- }
-
-}
diff --git a/plugins/jetpack/_inc/lib/markdown/0-load.php b/plugins/jetpack/_inc/lib/markdown/0-load.php
deleted file mode 100644
index bf5993e3..00000000
--- a/plugins/jetpack/_inc/lib/markdown/0-load.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-if ( ! class_exists( 'MarkdownExtra_Parser' ) )
- jetpack_require_lib( 'markdown/extra' );
-
-jetpack_require_lib( 'markdown/gfm' );
diff --git a/plugins/jetpack/_inc/lib/plans.php b/plugins/jetpack/_inc/lib/plans.php
index 6dc43fca..f1867dab 100644
--- a/plugins/jetpack/_inc/lib/plans.php
+++ b/plugins/jetpack/_inc/lib/plans.php
@@ -36,7 +36,7 @@ class Jetpack_Plans {
array(
'method' => 'GET',
'headers' => array(
- 'X-Forwarded-For' => Jetpack::current_user_ip( true ),
+ 'X-Forwarded-For' => ( new Automattic\Jetpack\Status\Visitor() )->get_ip( true ),
),
),
null,
diff --git a/plugins/jetpack/_inc/lib/plugins.php b/plugins/jetpack/_inc/lib/plugins.php
index 0bffc529..cc8e8bb5 100644
--- a/plugins/jetpack/_inc/lib/plugins.php
+++ b/plugins/jetpack/_inc/lib/plugins.php
@@ -1,205 +1,10 @@
-<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+<?php
/**
- * Plugins Library
+ * This file has been moved to the jetpack-plugins-installer package
*
- * Helper functions for installing and activating plugins.
+ * @deprecated 10.7
*
- * Used by the REST API
- *
- * @autounit api plugins
- */
-
-require_once 'class.jetpack-automatic-install-skin.php';
-
-use Automattic\Jetpack\A8c_Mc_Stats;
-
-/**
- * Plugins management tools.
+ * @package jetpack
*/
-class Jetpack_Plugins {
-
- /**
- * Install and activate a plugin.
- *
- * @since 5.8.0
- *
- * @param string $slug Plugin slug.
- *
- * @return bool|WP_Error True if installation succeeded, error object otherwise.
- */
- public static function install_and_activate_plugin( $slug ) {
- $plugin_id = self::get_plugin_id_by_slug( $slug );
-
- if ( ! $plugin_id ) {
- $installed = self::install_plugin( $slug );
- if ( is_wp_error( $installed ) ) {
- return $installed;
- }
- $plugin_id = self::get_plugin_id_by_slug( $slug );
- } elseif ( is_plugin_active( $plugin_id ) ) {
- return true; // Already installed and active.
- }
-
- if ( ! current_user_can( 'activate_plugins' ) ) {
- return new WP_Error( 'not_allowed', __( 'You are not allowed to activate plugins on this site.', 'jetpack' ) );
- }
- $activated = activate_plugin( $plugin_id );
- if ( is_wp_error( $activated ) ) {
- return $activated;
- }
-
- return true;
- }
-
- /**
- * Install a plugin.
- *
- * @since 5.8.0
- *
- * @param string $slug Plugin slug.
- *
- * @return bool|WP_Error True if installation succeeded, error object otherwise.
- */
- public static function install_plugin( $slug ) {
- if ( is_multisite() && ! current_user_can( 'manage_network' ) ) {
- return new WP_Error( 'not_allowed', __( 'You are not allowed to install plugins on this site.', 'jetpack' ) );
- }
-
- $skin = new Jetpack_Automatic_Install_Skin();
- $upgrader = new Plugin_Upgrader( $skin );
- $zip_url = self::generate_wordpress_org_plugin_download_link( $slug );
- $mc_stats = new A8c_Mc_Stats();
-
- $result = $upgrader->install( $zip_url );
-
- if ( is_wp_error( $result ) ) {
- $mc_stats->add( 'install-plugin', "fail-$slug" );
- return $result;
- }
-
- $plugin = self::get_plugin_id_by_slug( $slug );
- $error_code = 'install_error';
- if ( ! $plugin ) {
- $error = __( 'There was an error installing your plugin', 'jetpack' );
- }
-
- if ( ! $result ) {
- $error_code = $upgrader->skin->get_main_error_code();
- $message = $upgrader->skin->get_main_error_message();
- $error = $message ? $message : __( 'An unknown error occurred during installation', 'jetpack' );
- }
-
- if ( ! empty( $error ) ) {
- if ( 'download_failed' === $error_code ) {
- // For backwards compatibility: versions prior to 3.9 would return no_package instead of download_failed.
- $error_code = 'no_package';
- }
-
- $mc_stats->add( 'install-plugin', "fail-$slug" );
- return new WP_Error( $error_code, $error, 400 );
- }
-
- $mc_stats->add( 'install-plugin', "success-$slug" );
- return (array) $upgrader->skin->get_upgrade_messages();
- }
-
- /**
- * Get WordPress.org zip download link from a plugin slug
- *
- * @param string $plugin_slug Plugin slug.
- */
- protected static function generate_wordpress_org_plugin_download_link( $plugin_slug ) {
- return "https://downloads.wordpress.org/plugin/$plugin_slug.latest-stable.zip";
- }
-
- /**
- * Get the plugin ID (composed of the plugin slug and the name of the main plugin file) from a plugin slug.
- *
- * @param string $slug Plugin slug.
- */
- public static function get_plugin_id_by_slug( $slug ) {
- // Check if get_plugins() function exists. This is required on the front end of the
- // site, since it is in a file that is normally only loaded in the admin.
- if ( ! function_exists( 'get_plugins' ) ) {
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
- }
-
- /** This filter is documented in wp-admin/includes/class-wp-plugins-list-table.php */
- $plugins = apply_filters( 'all_plugins', get_plugins() );
- if ( ! is_array( $plugins ) ) {
- return false;
- }
-
- foreach ( $plugins as $plugin_file => $plugin_data ) {
- if ( self::get_slug_from_file_path( $plugin_file ) === $slug ) {
- return $plugin_file;
- }
- }
-
- return false;
- }
-
- /**
- * Get the plugin slug from the plugin ID (composed of the plugin slug and the name of the main plugin file)
- *
- * @param string $plugin_file Plugin file (ID -- e.g. hello-dolly/hello.php).
- */
- protected static function get_slug_from_file_path( $plugin_file ) {
- // Similar to get_plugin_slug() method.
- $slug = dirname( $plugin_file );
- if ( '.' === $slug ) {
- $slug = preg_replace( '/(.+)\.php$/', '$1', $plugin_file );
- }
-
- return $slug;
- }
-
- /**
- * Get the activation status for a plugin.
- *
- * @since 8.9.0
- *
- * @param string $plugin_file The plugin file to check.
- * @return string Either 'network-active', 'active' or 'inactive'.
- */
- public static function get_plugin_status( $plugin_file ) {
- if ( is_plugin_active_for_network( $plugin_file ) ) {
- return 'network-active';
- }
-
- if ( is_plugin_active( $plugin_file ) ) {
- return 'active';
- }
-
- return 'inactive';
- }
-
- /**
- * Returns a list of all plugins in the site.
- *
- * @since 8.9.0
- * @uses get_plugins()
- *
- * @return array
- */
- public static function get_plugins() {
- if ( ! function_exists( 'get_plugins' ) ) {
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
- }
- /** This filter is documented in wp-admin/includes/class-wp-plugins-list-table.php */
- $plugins = apply_filters( 'all_plugins', get_plugins() );
-
- if ( is_array( $plugins ) && ! empty( $plugins ) ) {
- foreach ( $plugins as $plugin_slug => $plugin_data ) {
- $plugins[ $plugin_slug ]['active'] = in_array(
- self::get_plugin_status( $plugin_slug ),
- array( 'active', 'network-active' ),
- true
- );
- }
- return $plugins;
- }
- return array();
- }
-}
+class_alias( Automattic\Jetpack\Plugins_Installer::class, 'Jetpack_Plugins' );
diff --git a/plugins/jetpack/_inc/lib/tonesque.php b/plugins/jetpack/_inc/lib/tonesque.php
index 0e148e5c..fcf970fd 100644
--- a/plugins/jetpack/_inc/lib/tonesque.php
+++ b/plugins/jetpack/_inc/lib/tonesque.php
@@ -1,22 +1,45 @@
-<?php
-/*
-Plugin Name: Tonesque
-Plugin URI: https://automattic.com/
-Description: Grab an average color representation from an image.
-Version: 1.0
-Author: Automattic, Matias Ventura
-Author URI: https://automattic.com/
-License: GNU General Public License v2 or later
-License URI: https://www.gnu.org/licenses/gpl-2.0.html
-*/
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Tonesque
+ * Grab an average color representation from an image.
+ * Author: Automattic, Matias Ventura
+ * Author URI: https://automattic.com/
+ * License: GNU General Public License v2 or later
+ * License URI: https://www.gnu.org/licenses/gpl-2.0.html
+ *
+ * @package automattic/jetpack
+ */
+
+/**
+ * Color representation class.
+ */
class Tonesque {
+ /**
+ * Image URL.
+ *
+ * @var string
+ */
private $image_url = '';
- private $image_obj = NULL;
+ /**
+ * Image identifier representing the image.
+ *
+ * @var null|object
+ */
+ private $image_obj = null;
+ /**
+ * Color code.
+ *
+ * @var string
+ */
private $color = '';
- function __construct( $image_url ) {
+ /**
+ * Constructor.
+ *
+ * @param string $image_url Image URL.
+ */
+ public function __construct( $image_url ) {
if ( ! class_exists( 'Jetpack_Color' ) ) {
jetpack_require_lib( 'class.color' );
}
@@ -37,23 +60,29 @@ class Tonesque {
$this->image_obj = self::imagecreatefromurl( $this->image_url );
}
+ /**
+ * Get an image object from a URL.
+ *
+ * @param string $image_url Image URL.
+ *
+ * @return object Image object.
+ */
public static function imagecreatefromurl( $image_url ) {
$data = null;
- // If it's a URL:
+ // If it's a URL.
if ( preg_match( '#^https?://#i', $image_url ) ) {
- // If it's a url pointing to a local media library url:
+ // If it's a url pointing to a local media library url.
$content_url = content_url();
$_image_url = set_url_scheme( $image_url );
if ( wp_startswith( $_image_url, $content_url ) ) {
$_image_path = str_replace( $content_url, WP_CONTENT_DIR, $_image_url );
if ( file_exists( $_image_path ) ) {
$filetype = wp_check_filetype( $_image_path );
- $ext = $filetype['ext'];
- $type = $filetype['type'];
+ $type = $filetype['type'];
if ( wp_startswith( $type, 'image/' ) ) {
- $data = file_get_contents( $_image_path );
+ $data = file_get_contents( $_image_path ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
}
}
}
@@ -67,14 +96,13 @@ class Tonesque {
}
}
- // If it's a local path in our WordPress install:
+ // If it's a local path in our WordPress install.
if ( file_exists( $image_url ) ) {
$filetype = wp_check_filetype( $image_url );
- $ext = $filetype['ext'];
- $type = $filetype['type'];
+ $type = $filetype['type'];
if ( wp_startswith( $type, 'image/' ) ) {
- $data = file_get_contents( $image_url );
+ $data = file_get_contents( $image_url ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
}
}
@@ -83,44 +111,45 @@ class Tonesque {
}
/**
- *
* Construct object from image.
*
- * @param optional $type (hex, rgb, hsv)
- * @return color as a string formatted as $type
+ * @param string $type Type (hex, rgb, hsv) (optional).
*
- */
- function color( $type = 'hex' ) {
- // Bail if there is no image to work with
- if ( ! $this->image_obj )
+ * @return color as a string formatted as $type
+ */
+ public function color( $type = 'hex' ) {
+ // Bail if there is no image to work with.
+ if ( ! $this->image_obj ) {
return false;
+ }
- // Finds dominant color
+ // Finds dominant color.
$color = self::grab_color();
- // Passes value to Color class
+ // Passes value to Color class.
$color = self::get_color( $color, $type );
return $color;
}
/**
- *
* Grabs the color index for each of five sample points of the image
*
- * @param $image
- * @param $type can be 'index' or 'hex'
- * @return array() with color indices
+ * @param string $type can be 'index' or 'hex'.
*
- */
- function grab_points( $type = 'index' ) {
+ * @return array with color indices
+ */
+ public function grab_points( $type = 'index' ) {
$img = $this->image_obj;
- if ( ! $img )
+ if ( ! $img ) {
return false;
+ }
$height = imagesy( $img );
$width = imagesx( $img );
- // Sample five points in the image
- // Based on rule of thirds and center
+ /*
+ * Sample five points in the image
+ * based on rule of thirds and center.
+ */
$topy = round( $height / 3 );
$bottomy = round( ( $height / 3 ) * 2 );
$leftx = round( $width / 3 );
@@ -128,7 +157,7 @@ class Tonesque {
$centery = round( $height / 2 );
$centerx = round( $width / 2 );
- // Cast those colors into an array
+ // Cast those colors into an array.
$points = array(
imagecolorat( $img, $leftx, $topy ),
imagecolorat( $img, $rightx, $topy ),
@@ -137,14 +166,17 @@ class Tonesque {
imagecolorat( $img, $centerx, $centery ),
);
- if ( 'hex' == $type ) {
+ if ( 'hex' === $type ) {
foreach ( $points as $i => $p ) {
- $c = imagecolorsforindex( $img, $p );
- $points[ $i ] = self::get_color( array(
- 'r' => $c['red'],
- 'g' => $c['green'],
- 'b' => $c['blue'],
- ), 'hex' );
+ $c = imagecolorsforindex( $img, $p );
+ $points[ $i ] = self::get_color(
+ array(
+ 'r' => $c['red'],
+ 'g' => $c['green'],
+ 'b' => $c['blue'],
+ ),
+ 'hex'
+ );
}
}
@@ -152,34 +184,37 @@ class Tonesque {
}
/**
- *
* Finds the average color of the image based on five sample points
*
- * @param $image
- * @return array() with rgb color
- *
- */
- function grab_color() {
+ * @return array with rgb color
+ */
+ public function grab_color() {
$img = $this->image_obj;
- if ( ! $img )
+ if ( ! $img ) {
return false;
+ }
$rgb = self::grab_points();
- // Process the color points
- // Find the average representation
+ $r = array();
+ $g = array();
+ $b = array();
+
+ /*
+ * Process the color points
+ * Find the average representation
+ */
foreach ( $rgb as $color ) {
$index = imagecolorsforindex( $img, $color );
- $r[] = $index['red'];
- $g[] = $index['green'];
- $b[] = $index['blue'];
-
- $red = round( array_sum( $r ) / 5 );
- $green = round( array_sum( $g ) / 5 );
- $blue = round( array_sum( $b ) / 5 );
+ $r[] = $index['red'];
+ $g[] = $index['green'];
+ $b[] = $index['blue'];
}
+ $red = round( array_sum( $r ) / 5 );
+ $green = round( array_sum( $g ) / 5 );
+ $blue = round( array_sum( $b ) / 5 );
- // The average color of the image as rgb array
+ // The average color of the image as rgb array.
$color = array(
'r' => $red,
'g' => $green,
@@ -190,29 +225,31 @@ class Tonesque {
}
/**
- *
* Get a Color object using /lib class.color
* Convert to appropriate type
*
- * @return string
+ * @param string $color Color code.
+ * @param string $type Color type (rgb, hex, hsv).
*
+ * @return string
*/
- function get_color( $color, $type ) {
- $c = new Jetpack_Color( $color, 'rgb' );
+ public function get_color( $color, $type ) {
+ $c = new Jetpack_Color( $color, 'rgb' );
$this->color = $c;
switch ( $type ) {
- case 'rgb' :
+ case 'rgb':
$color = implode( ',', $c->toRgbInt() );
break;
- case 'hex' :
+ case 'hex':
$color = $c->toHex();
break;
- case 'hsv' :
+ case 'hsv':
$color = implode( ',', $c->toHsvInt() );
break;
default:
- return $color = $c->toHex();
+ $color = $c->toHex();
+ return $color;
}
return $color;
@@ -224,14 +261,14 @@ class Tonesque {
* Gives either black or white for using with opacity
*
* @return string
- *
- */
- function contrast() {
- if ( ! $this->color )
+ */
+ public function contrast() {
+ if ( ! $this->color ) {
return false;
+ }
$c = $this->color->getMaxContrastColor();
return implode( ',', $c->toRgbInt() );
}
-};
+}
diff --git a/plugins/jetpack/_inc/lib/tracks/tracks-ajax.js b/plugins/jetpack/_inc/lib/tracks/tracks-ajax.js
deleted file mode 100644
index 98a9aaac..00000000
--- a/plugins/jetpack/_inc/lib/tracks/tracks-ajax.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/* global jpTracksAJAX, jQuery */
-( function( $, jpTracksAJAX ) {
- window.jpTracksAJAX = window.jpTracksAJAX || {};
- var debugSet = localStorage.getItem( 'debug' ) === 'dops:analytics';
-
- window.jpTracksAJAX.record_ajax_event = function( eventName, eventType, eventProp ) {
- var data = {
- tracksNonce: jpTracksAJAX.jpTracksAJAX_nonce,
- action: 'jetpack_tracks',
- tracksEventType: eventType,
- tracksEventName: eventName,
- tracksEventProp: eventProp || false,
- };
-
- return $.ajax( {
- type: 'POST',
- url: jpTracksAJAX.ajaxurl,
- data: data,
- success: function( response ) {
- if ( debugSet ) {
- // eslint-disable-next-line
- console.log( 'AJAX tracks event recorded: ', data, response );
- }
- },
- } );
- };
-
- $( document ).ready( function() {
- $( 'body' ).on( 'click', '.jptracks a, a.jptracks', function( event ) {
- var $this = $( event.target );
- // We know that the jptracks element is either this, or its ancestor
- var $jptracks = $this.closest( '.jptracks' );
- // We need an event name at least
- var eventName = $jptracks.attr( 'data-jptracks-name' );
- if ( undefined === eventName ) {
- return;
- }
-
- var eventProp = $jptracks.attr( 'data-jptracks-prop' ) || false;
-
- var url = $this.attr( 'href' );
- var target = $this.get( 0 ).target;
- if ( url && target && '_self' !== target ) {
- var newTabWindow = window.open( '', target );
- newTabWindow.opener = null;
- }
-
- event.preventDefault();
-
- window.jpTracksAJAX.record_ajax_event( eventName, 'click', eventProp ).always( function() {
- // Continue on to whatever url they were trying to get to.
- if ( url && ! $this.hasClass( 'thickbox' ) ) {
- if ( newTabWindow ) {
- newTabWindow.location = url;
- return;
- }
- window.location = url;
- }
- } );
- } );
- } );
-} )( jQuery, jpTracksAJAX );
diff --git a/plugins/jetpack/_inc/lib/tracks/tracks-callables.js b/plugins/jetpack/_inc/lib/tracks/tracks-callables.js
deleted file mode 100644
index 4e033d2c..00000000
--- a/plugins/jetpack/_inc/lib/tracks/tracks-callables.js
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * This was abstracted from wp-calypso's analytics lib: https://github.com/Automattic/wp-calypso/blob/master/client/lib/analytics/README.md
- * Some stuff was removed like GA tracking and other things not necessary for Jetpack tracking.
- *
- * This library should only be used and loaded if the Jetpack site is connected.
- */
-
-// Load tracking scripts
-window._tkq = window._tkq || [];
-
-var _user;
-var debug = console.error; // eslint-disable-line no-console
-
-function buildQuerystring( group, name ) {
- var uriComponent = '';
-
- if ( 'object' === typeof group ) {
- for ( var key in group ) {
- uriComponent += '&x_' + encodeURIComponent( key ) + '=' + encodeURIComponent( group[ key ] );
- }
- } else {
- uriComponent = '&x_' + encodeURIComponent( group ) + '=' + encodeURIComponent( name );
- }
-
- return uriComponent;
-}
-
-var analytics = {
- initialize: function( userId, username ) {
- analytics.setUser( userId, username );
- analytics.identifyUser();
- },
-
- mc: {
- bumpStat: function( group, name ) {
- var uriComponent = buildQuerystring( group, name ); // prints debug info
- new Image().src =
- document.location.protocol +
- '//pixel.wp.com/g.gif?v=wpcom-no-pv' +
- uriComponent +
- '&t=' +
- Math.random();
- },
- },
-
- tracks: {
- recordEvent: function( eventName, eventProperties ) {
- eventProperties = eventProperties || {};
-
- if ( eventName.indexOf( 'jetpack_' ) !== 0 ) {
- debug( '- Event name must be prefixed by "jetpack_"' );
- return;
- }
-
- window._tkq.push( [ 'recordEvent', eventName, eventProperties ] );
- },
-
- recordPageView: function( urlPath ) {
- analytics.tracks.recordEvent( 'jetpack_page_view', {
- path: urlPath,
- } );
- },
- },
-
- setUser: function( userId, username ) {
- _user = { ID: userId, username: username };
- },
-
- identifyUser: function() {
- // Don't identify the user if we don't have one
- if ( _user ) {
- window._tkq.push( [ 'identifyUser', _user.ID, _user.username ] );
- }
- },
-
- clearedIdentity: function() {
- window._tkq.push( [ 'clearIdentity' ] );
- },
-};
diff --git a/plugins/jetpack/_inc/lib/widgets.php b/plugins/jetpack/_inc/lib/widgets.php
index 6215a98a..d2cd5eda 100644
--- a/plugins/jetpack/_inc/lib/widgets.php
+++ b/plugins/jetpack/_inc/lib/widgets.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Widgets and Sidebars Library
*
@@ -7,9 +7,14 @@
*
* Used by the REST API
*
+ * @package automattic/jetpack
+ *
* @autounit api widgets
*/
+/**
+ * Widgets and Sidebars Library
+ */
class Jetpack_Widgets {
/**
@@ -31,18 +36,17 @@ class Jetpack_Widgets {
* The output looks like:
*
* array(
- * 'id' => 'text-3',
- * 'sidebar' => 'sidebar-1',
- * 'position' => '0',
- * 'settings' => array(
- * 'title' => 'hello world'
- * )
+ * 'id' => 'text-3',
+ * 'sidebar' => 'sidebar-1',
+ * 'position' => '0',
+ * 'settings' => array(
+ * 'title' => 'hello world'
+ * )
* )
*
- *
- * @param string|integer $position The position of the widget in its sidebar.
- * @param string $widget_id The widget's id (eg: 'text-3').
- * @param string $sidebar The widget's sidebar id (eg: 'sidebar-1').
+ * @param string|integer $position The position of the widget in its sidebar.
+ * @param string $widget_id The widget's id (eg: 'text-3').
+ * @param string $sidebar The widget's sidebar id (eg: 'sidebar-1').
* @param array (Optional) $settings The settings for the widget.
*
* @return array A normalized array representing this widget.
@@ -50,8 +54,8 @@ class Jetpack_Widgets {
public static function format_widget( $position, $widget_id, $sidebar, $settings = null ) {
if ( ! $settings ) {
$all_settings = get_option( self::get_widget_option_name( $widget_id ) );
- $instance = self::get_widget_instance_key( $widget_id );
- $settings = $all_settings[$instance];
+ $instance = self::get_widget_instance_key( $widget_id );
+ $settings = $all_settings[ $instance ];
}
$widget = array();
@@ -67,7 +71,7 @@ class Jetpack_Widgets {
/**
* Return a widget's id_base from its id.
*
- * @param string $widget_id The id of a widget. (eg: 'text-3')
+ * @param string $widget_id The id of a widget. (eg: 'text-3').
*
* @return string The id_base of a widget (eg: 'text').
*/
@@ -80,7 +84,7 @@ class Jetpack_Widgets {
* Determine a widget's option name (the WP option where the widget's settings
* are stored - generally `widget_` + the widget's id_base).
*
- * @param string $widget_id The id of a widget. (eg: 'text-3')
+ * @param string $widget_id The id of a widget. (eg: 'text-3').
*
* @return string The option name of the widget's settings. (eg: 'widget_text')
*/
@@ -98,7 +102,7 @@ class Jetpack_Widgets {
*/
public static function get_widget_instance_key( $widget_id ) {
// Grab all numbers from the end of the id.
- preg_match('/(\d+)$/', $widget_id, $matches );
+ preg_match( '/(\d+)$/', $widget_id, $matches );
return (int) $matches[0];
}
@@ -126,7 +130,7 @@ class Jetpack_Widgets {
* @return array An array of all widgets (see format_widget).
*/
public static function get_all_widgets() {
- $all_widgets = array();
+ $all_widgets = array();
$sidebars_widgets = self::get_all_sidebars();
foreach ( $sidebars_widgets as $sidebar => $widgets ) {
@@ -148,8 +152,8 @@ class Jetpack_Widgets {
*/
public static function get_active_widgets() {
$active_widgets = array();
- $all_widgets = self::get_all_widgets();
- foreach( $all_widgets as $widget ) {
+ $all_widgets = self::get_all_widgets();
+ foreach ( $all_widgets as $widget ) {
if ( 'wp_inactive_widgets' === $widget['sidebar'] ) {
continue;
}
@@ -164,7 +168,7 @@ class Jetpack_Widgets {
* @return array An array of all widget IDs.
*/
public static function get_all_widget_ids() {
- $all_widgets = array();
+ $all_widgets = array();
$sidebars_widgets = self::get_all_sidebars();
foreach ( array_values( $sidebars_widgets ) as $widgets ) {
if ( ! is_array( $widgets ) ) {
@@ -205,7 +209,6 @@ class Jetpack_Widgets {
public static function get_widgets_in_sidebar( $sidebar ) {
$sidebars = self::get_all_sidebars();
-
if ( ! $sidebars || ! is_array( $sidebars ) ) {
return null;
}
@@ -305,8 +308,11 @@ class Jetpack_Widgets {
public static function move_widget_to_sidebar( $widget, $sidebar, $position ) {
$sidebars_widgets = self::get_sidebars_widgets();
- // If a position is passed and the sidebar isn't empty,
- // splice the widget into the sidebar, update the sidebar option, and return the result
+ /*
+ * If a position is passed and the sidebar isn't empty,
+ * splice the widget into the sidebar,
+ * update the sidebar option, and return the result.
+ */
if ( isset( $widget['sidebar'] ) && isset( $widget['position'] ) ) {
array_splice( $sidebars_widgets[ $widget['sidebar'] ], $widget['position'], 1 );
}
@@ -316,9 +322,9 @@ class Jetpack_Widgets {
$sidebars_widgets[ $sidebar ] = array();
}
- // If no position is passed, set one from items in sidebar
+ // If no position is passed, set one from items in sidebar.
if ( ! isset( $position ) ) {
- $position = 0;
+ $position = 0;
$last_position = self::get_last_position_in_sidebar( $sidebar );
if ( isset( $last_position ) && is_numeric( $last_position ) ) {
$position = $last_position + 1;
@@ -329,10 +335,16 @@ class Jetpack_Widgets {
if ( empty( $sidebars_widgets[ $sidebar ] ) ) {
$sidebars_widgets[ $sidebar ][] = $widget['id'];
} else {
- array_splice( $sidebars_widgets[ $sidebar ], (int)$position, 0, $widget['id'] );
+ array_splice( $sidebars_widgets[ $sidebar ], (int) $position, 0, $widget['id'] );
}
- set_theme_mod( 'sidebars_widgets', array( 'time' => time(), 'data' => $sidebars_widgets ) );
+ set_theme_mod(
+ 'sidebars_widgets',
+ array(
+ 'time' => time(),
+ 'data' => $sidebars_widgets,
+ )
+ );
return update_option( 'sidebars_widgets', $sidebars_widgets );
}
@@ -365,21 +377,22 @@ class Jetpack_Widgets {
* any existing widget with the same `$widget_id`.
*
* @param string $widget_id The id of a widget.
- * @param array $settings An associative array of settings to merge with any existing settings on this widget.
+ * @param array $settings An associative array of settings to merge with any existing settings on this widget.
*
* @return boolean|WP_Error True if update was successful.
*/
public static function set_widget_settings( $widget_id, $settings ) {
$widget_option_name = self::get_widget_option_name( $widget_id );
- $widget_settings = get_option( $widget_option_name );
- $instance_key = self::get_widget_instance_key( $widget_id );
- $old_settings = $widget_settings[ $instance_key ];
+ $widget_settings = get_option( $widget_option_name );
+ $instance_key = self::get_widget_instance_key( $widget_id );
+ $old_settings = $widget_settings[ $instance_key ];
+ $settings = self::sanitize_widget_settings( $widget_id, $settings, $old_settings );
- if ( ! $settings = self::sanitize_widget_settings( $widget_id, $settings, $old_settings ) ) {
+ if ( ! $settings ) {
return new WP_Error( 'invalid_data', 'Update failed.', 500 );
}
if ( is_array( $old_settings ) ) {
- // array_filter prevents empty arguments from replacing existing ones
+ // array_filter prevents empty arguments from replacing existing ones.
$settings = wp_parse_args( array_filter( $settings ), $old_settings );
}
@@ -392,13 +405,15 @@ class Jetpack_Widgets {
* Sanitize an associative array for saving.
*
* @param string $widget_id The id of a widget.
- * @param array $settings A widget settings array.
- * @param array $old_settings The existing widget settings array.
+ * @param array $settings A widget settings array.
+ * @param array $old_settings The existing widget settings array.
*
* @return array|false The settings array sanitized by `WP_Widget::update` or false if sanitization failed.
*/
private static function sanitize_widget_settings( $widget_id, $settings, $old_settings ) {
- if ( ! $widget = self::get_registered_widget_object( self::get_widget_id_base( $widget_id ) ) ) {
+ $widget = self::get_registered_widget_object( self::get_widget_id_base( $widget_id ) );
+
+ if ( ! $widget ) {
return false;
}
$new_settings = $widget->update( $settings, $old_settings );
@@ -416,7 +431,7 @@ class Jetpack_Widgets {
*/
public static function remove_widget_settings( $widget ) {
$widget_option_name = self::get_widget_option_name( $widget['id'] );
- $widget_settings = get_option( $widget_option_name );
+ $widget_settings = get_option( $widget_option_name );
unset( $widget_settings[ self::get_widget_instance_key( $widget['id'] ) ] );
update_option( $widget_option_name, $widget_settings );
}
@@ -425,9 +440,9 @@ class Jetpack_Widgets {
* Update a widget's settings, sidebar, and position. Returns the (updated)
* formatted widget if successful or a WP_Error if it fails.
*
- * @param string $widget_id The id of a widget to update.
- * @param string $sidebar (Optional) A sidebar to which this widget will be moved.
- * @param string|integer (Optional) A new position to which this widget will be moved within its new or existing sidebar.
+ * @param string $widget_id The id of a widget to update.
+ * @param string $sidebar (Optional) A sidebar to which this widget will be moved.
+ * @param string|integer $position (Optional) A new position to which this widget will be moved within its new or existing sidebar.
* @param array|object|string $settings Settings to merge with the existing settings of the widget (will be passed through `decode_settings`).
*
* @return array|WP_Error The newly added widget as an associative array with all the above properties.
@@ -470,7 +485,7 @@ class Jetpack_Widgets {
* Deletes a widget entirely including all its settings. Returns a WP_Error if
* the widget could not be found. Otherwise returns an empty array.
*
- * @param string $widget_id The id of a widget to delete. (eg: 'text-2')
+ * @param string $widget_id The id of a widget to delete. (eg: 'text-2').
*
* @return array|WP_Error An empty array if successful.
*/
@@ -493,14 +508,14 @@ class Jetpack_Widgets {
* @return array Decoded associative array of settings.
*/
public static function decode_settings( $settings ) {
- // Treat as string in case JSON was passed
+ // Treat as string in case JSON was passed.
if ( is_object( $settings ) && property_exists( $settings, 'scalar' ) ) {
$settings = $settings->scalar;
}
if ( is_object( $settings ) ) {
$settings = (array) $settings;
}
- // Attempt to decode JSON string
+ // Attempt to decode JSON string.
if ( is_string( $settings ) ) {
$settings = (array) json_decode( $settings );
}
@@ -510,9 +525,9 @@ class Jetpack_Widgets {
/**
* Activate a new widget.
*
- * @param string $id_base The id_base of the new widget (eg: 'text')
- * @param string $sidebar The id of the sidebar where this widget will go. Dependent on theme. (eg: 'sidebar-1')
- * @param string|integer $position (Optional) The position of the widget in the sidebar. Defaults to the last position.
+ * @param string $id_base The id_base of the new widget (eg: 'text').
+ * @param string $sidebar The id of the sidebar where this widget will go. Dependent on theme. (eg: 'sidebar-1').
+ * @param string|integer $position (Optional) The position of the widget in the sidebar. Defaults to the last position.
* @param array|object|string $settings (Optional) An associative array of settings for this widget (will be passed through `decode_settings`). Varies by widget.
*
* @return array|WP_Error The newly added widget as an associative array with all the above properties except 'id_base' replaced with the generated 'id'.
@@ -541,7 +556,7 @@ class Jetpack_Widgets {
}
$widget_counter = 1 + self::get_last_widget_instance_key_with_id_base( $id_base );
- $widget_id = $id_base . '-' . $widget_counter;
+ $widget_id = $id_base . '-' . $widget_counter;
if ( 0 >= $widget_counter ) {
return new WP_Error( 'invalid_data', 'Error creating widget ID' . $widget_id, 500 );
}
@@ -585,7 +600,7 @@ class Jetpack_Widgets {
$added_widgets = array();
- foreach( $widgets as $widget ) {
+ foreach ( $widgets as $widget ) {
$added_widgets[] = self::activate_widget( $widget['id_base'], $widget['sidebar'], $widget['position'], $widget['settings'] );
}
@@ -597,7 +612,7 @@ class Jetpack_Widgets {
* `$id_base`. So if you pass in `text`, and there is a widget with the id
* `text-2`, this function will return `2`.
*
- * @param string $id_base The id_base of a type of widget. (eg: 'rss')
+ * @param string $id_base The id_base of a type of widget. (eg: 'rss').
*
* @return integer The last instance key of that type of widget.
*/
@@ -605,11 +620,11 @@ class Jetpack_Widgets {
$similar_widgets = self::get_widgets_with_id_base( $id_base );
if ( ! empty( $similar_widgets ) ) {
- // If the last widget with the same name is `text-3`, we want `text-4`
+ // If the last widget with the same name is `text-3`, we want `text-4`.
usort( $similar_widgets, __CLASS__ . '::sort_widgets' );
$last_widget = array_pop( $similar_widgets );
- $last_val = (int) self::get_widget_instance_key( $last_widget['id'] );
+ $last_val = (int) self::get_widget_instance_key( $last_widget['id'] );
return $last_val;
}
@@ -622,8 +637,8 @@ class Jetpack_Widgets {
*
* @since 5.4
*
- * @param array $a
- * @param array $b
+ * @param array $a A normalized array representing a widget.
+ * @param array $b A normalized array representing a widget.
*
* @return int
*/
@@ -685,36 +700,36 @@ class Jetpack_Widgets {
* Insert a new widget in a given sidebar.
*
* @param string $widget_id ID of the widget.
- * @param array $widget_options Content of the widget.
- * @param string $sidebar ID of the sidebar to which the widget will be added.
- *
- * @return WP_Error|true True when data has been saved correctly, error otherwise.
- */
- static function insert_widget_in_sidebar( $widget_id, $widget_options, $sidebar ) {
- // Retrieve sidebars, widgets and their instances
+ * @param array $widget_options Content of the widget.
+ * @param string $sidebar ID of the sidebar to which the widget will be added.
+ *
+ * @return WP_Error|true True when data has been saved correctly, error otherwise.
+ */
+ public static function insert_widget_in_sidebar( $widget_id, $widget_options, $sidebar ) {
+ // Retrieve sidebars, widgets and their instances.
$sidebars_widgets = get_option( 'sidebars_widgets', array() );
$widget_instances = get_option( 'widget_' . $widget_id, array() );
- // Retrieve the key of the next widget instance
+ // Retrieve the key of the next widget instance.
$numeric_keys = array_filter( array_keys( $widget_instances ), 'is_int' );
- $next_key = $numeric_keys ? max( $numeric_keys ) + 1 : 2;
+ $next_key = $numeric_keys ? max( $numeric_keys ) + 1 : 2;
- // Add this widget to the sidebar
+ // Add this widget to the sidebar.
if ( ! isset( $sidebars_widgets[ $sidebar ] ) ) {
$sidebars_widgets[ $sidebar ] = array();
}
$sidebars_widgets[ $sidebar ][] = $widget_id . '-' . $next_key;
- // Add the new widget instance
+ // Add the new widget instance.
$widget_instances[ $next_key ] = $widget_options;
- // Store updated sidebars, widgets and their instances
+ // Store updated sidebars, widgets and their instances.
if (
! ( update_option( 'sidebars_widgets', $sidebars_widgets ) )
|| ( ! ( update_option( 'widget_' . $widget_id, $widget_instances ) ) )
) {
return new WP_Error( 'widget_update_failed', 'Failed to update widget or sidebar.', 400 );
- };
+ }
return true;
}
@@ -723,17 +738,17 @@ class Jetpack_Widgets {
* Update the content of an existing widget in a given sidebar.
*
* @param string $widget_id ID of the widget.
- * @param array $widget_options New content for the update.
- * @param string $sidebar ID of the sidebar to which the widget will be added.
- *
- * @return WP_Error|true True when data has been updated correctly, error otherwise.
- */
- static function update_widget_in_sidebar( $widget_id, $widget_options, $sidebar ) {
- // Retrieve sidebars, widgets and their instances
+ * @param array $widget_options New content for the update.
+ * @param string $sidebar ID of the sidebar to which the widget will be added.
+ *
+ * @return WP_Error|true True when data has been updated correctly, error otherwise.
+ */
+ public static function update_widget_in_sidebar( $widget_id, $widget_options, $sidebar ) {
+ // Retrieve sidebars, widgets and their instances.
$sidebars_widgets = get_option( 'sidebars_widgets', array() );
$widget_instances = get_option( 'widget_' . $widget_id, array() );
- // Retrieve index of first widget instance in that sidebar
+ // Retrieve index of first widget instance in that sidebar.
$widget_key = false;
foreach ( $sidebars_widgets[ $sidebar ] as $widget ) {
if ( strpos( $widget, $widget_id ) !== false ) {
@@ -742,23 +757,23 @@ class Jetpack_Widgets {
}
}
- // There is no widget instance
+ // There is no widget instance.
if ( ! $widget_key ) {
return new WP_Error( 'invalid_data', 'No such widget.', 400 );
}
- // Update the widget instance and option if the data has changed
+ // Update the widget instance and option if the data has changed.
if ( $widget_instances[ $widget_key ]['title'] !== $widget_options['title']
|| $widget_instances[ $widget_key ]['address'] !== $widget_options['address']
) {
$widget_instances[ $widget_key ] = array_merge( $widget_instances[ $widget_key ], $widget_options );
- // Store updated widget instances and return Error when not successful
+ // Store updated widget instances and return Error when not successful.
if ( ! ( update_option( 'widget_' . $widget_id, $widget_instances ) ) ) {
return new WP_Error( 'widget_update_failed', 'Failed to update widget.', 400 );
- };
- };
+ }
+ }
return true;
}
@@ -766,10 +781,10 @@ class Jetpack_Widgets {
* Retrieve the first active sidebar.
*
* @return string|WP_Error First active sidebar, error if none exists.
- */
- static function get_first_sidebar() {
+ */
+ public static function get_first_sidebar() {
$active_sidebars = get_option( 'sidebars_widgets', array() );
- unset( $active_sidebars[ 'wp_inactive_widgets' ], $active_sidebars[ 'array_version' ] );
+ unset( $active_sidebars['wp_inactive_widgets'], $active_sidebars['array_version'] );
if ( empty( $active_sidebars ) ) {
return false;
diff --git a/plugins/jetpack/_inc/postmessage.js b/plugins/jetpack/_inc/postmessage.js
deleted file mode 100644
index 51f8567b..00000000
--- a/plugins/jetpack/_inc/postmessage.js
+++ /dev/null
@@ -1,438 +0,0 @@
-/**
- The MIT License
-
- Copyright (c) 2010 Daniel Park (http://metaweb.com, http://postmessage.freebaseapps.com)
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
- **/
-var NO_JQUERY = {};
-(function(window, $, undefined) {
-
- if (!("console" in window)) {
- var c = window.console = {};
- c.log = c.warn = c.error = c.debug = function(){};
- }
-
- if ($ === NO_JQUERY) {
- // jQuery is optional
- $ = {
- fn: {},
- extend: function() {
- var a = arguments[0];
- for (var i=1,len=arguments.length; i<len; i++) {
- var b = arguments[i];
- for (var prop in b) {
- a[prop] = b[prop];
- }
- }
- return a;
- }
- };
- }
-
- $.fn.pm = function() {
- console.log("usage: \nto send: $.pm(options)\nto receive: $.pm.bind(type, fn, [origin])");
- return this;
- };
-
- // send postmessage
- $.pm = window.pm = function(options) {
- pm.send(options);
- };
-
- // bind postmessage handler
- $.pm.bind = window.pm.bind = function(type, fn, origin, hash, async_reply) {
- pm.bind(type, fn, origin, hash, async_reply === true);
- };
-
- // unbind postmessage handler
- $.pm.unbind = window.pm.unbind = function(type, fn) {
- pm.unbind(type, fn);
- };
-
- // default postmessage origin on bind
- $.pm.origin = window.pm.origin = null;
-
- // default postmessage polling if using location hash to pass postmessages
- $.pm.poll = window.pm.poll = 200;
-
- var pm = {
-
- send: function(options) {
- var o = $.extend({}, pm.defaults, options),
- target = o.target;
- if (!o.target) {
- console.warn("postmessage target window required");
- return;
- }
- if (!o.type) {
- console.warn("postmessage type required");
- return;
- }
- var msg = {data:o.data, type:o.type};
- if (o.success) {
- msg.callback = pm._callback(o.success);
- }
- if (o.error) {
- msg.errback = pm._callback(o.error);
- }
- if (("postMessage" in target) && !o.hash) {
- pm._bind();
- target.postMessage(JSON.stringify(msg), o.origin || '*');
- }
- else {
- pm.hash._bind();
- pm.hash.send(o, msg);
- }
- },
-
- bind: function(type, fn, origin, hash, async_reply) {
- pm._replyBind ( type, fn, origin, hash, async_reply );
- },
-
- _replyBind: function(type, fn, origin, hash, isCallback) {
- if (("postMessage" in window) && !hash) {
- pm._bind();
- }
- else {
- pm.hash._bind();
- }
- var l = pm.data("listeners.postmessage");
- if (!l) {
- l = {};
- pm.data("listeners.postmessage", l);
- }
- var fns = l[type];
- if (!fns) {
- fns = [];
- l[type] = fns;
- }
- fns.push({fn:fn, callback: isCallback, origin:origin || $.pm.origin});
- },
-
- unbind: function(type, fn) {
- var l = pm.data("listeners.postmessage");
- if (l) {
- if (type) {
- if (fn) {
- // remove specific listener
- var fns = l[type];
- if (fns) {
- var m = [];
- for (var i=0,len=fns.length; i<len; i++) {
- var o = fns[i];
- if (o.fn !== fn) {
- m.push(o);
- }
- }
- l[type] = m;
- }
- }
- else {
- // remove all listeners by type
- delete l[type];
- }
- }
- else {
- // unbind all listeners of all type
- for (var i in l) {
- delete l[i];
- }
- }
- }
- },
-
- data: function(k, v) {
- if (v === undefined) {
- return pm._data[k];
- }
- pm._data[k] = v;
- return v;
- },
-
- _data: {},
-
- _CHARS: '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split(''),
-
- _random: function() {
- var r = [];
- for (var i=0; i<32; i++) {
- r[i] = pm._CHARS[0 | Math.random() * 32];
- };
- return r.join("");
- },
-
- _callback: function(fn) {
- var cbs = pm.data("callbacks.postmessage");
- if (!cbs) {
- cbs = {};
- pm.data("callbacks.postmessage", cbs);
- }
- var r = pm._random();
- cbs[r] = fn;
- return r;
- },
-
- _bind: function() {
- // are we already listening to message events on this w?
- if (!pm.data("listening.postmessage")) {
- if (window.addEventListener) {
- window.addEventListener("message", pm._dispatch, false);
- }
- else if (window.attachEvent) {
- window.attachEvent("onmessage", pm._dispatch);
- }
- pm.data("listening.postmessage", 1);
- }
- },
-
- _dispatch: function(e) {
- //console.log("$.pm.dispatch", e, this);
- try {
- var msg = JSON.parse(e.data);
- }
- catch (ex) {
- //console.warn("postmessage data invalid json: ", ex); //message wasn't meant for pm
- return;
- }
- if (!msg.type) {
- //console.warn("postmessage message type required"); //message wasn't meant for pm
- return;
- }
- var cbs = pm.data("callbacks.postmessage") || {},
- cb = cbs[msg.type];
- if (cb) {
- cb(msg.data);
- }
- else {
- var l = pm.data("listeners.postmessage") || {};
- var fns = l[msg.type] || [];
- for (var i=0,len=fns.length; i<len; i++) {
- var o = fns[i];
- if (o.origin && o.origin !== '*' && e.origin !== o.origin) {
- console.warn("postmessage message origin mismatch", e.origin, o.origin);
- if (msg.errback) {
- // notify post message errback
- var error = {
- message: "postmessage origin mismatch",
- origin: [e.origin, o.origin]
- };
- pm.send({target:e.source, data:error, type:msg.errback});
- }
- continue;
- }
-
- function sendReply ( data ) {
- if (msg.callback) {
- pm.send({target:e.source, data:data, type:msg.callback});
- }
- }
-
- try {
- if ( o.callback ) {
- o.fn(msg.data, sendReply, e);
- } else {
- sendReply ( o.fn(msg.data, e) );
- }
- }
- catch (ex) {
- if (msg.errback) {
- // notify post message errback
- pm.send({target:e.source, data:ex, type:msg.errback});
- } else {
- throw ex;
- }
- }
- };
- }
- }
- };
-
- // location hash polling
- pm.hash = {
-
- send: function(options, msg) {
- //console.log("hash.send", target_window, options, msg);
- var target_window = options.target,
- target_url = options.url;
- if (!target_url) {
- console.warn("postmessage target window url is required");
- return;
- }
- target_url = pm.hash._url(target_url);
- var source_window,
- source_url = pm.hash._url(window.location.href);
- if (window == target_window.parent) {
- source_window = "parent";
- }
- else {
- try {
- for (var i=0,len=parent.frames.length; i<len; i++) {
- var f = parent.frames[i];
- if (f == window) {
- source_window = i;
- break;
- }
- };
- }
- catch(ex) {
- // Opera: security error trying to access parent.frames x-origin
- // juse use window.name
- source_window = window.name;
- }
- }
- if (source_window == null) {
- console.warn("postmessage windows must be direct parent/child windows and the child must be available through the parent window.frames list");
- return;
- }
- var hashmessage = {
- "x-requested-with": "postmessage",
- source: {
- name: source_window,
- url: source_url
- },
- postmessage: msg
- };
- var hash_id = "#x-postmessage-id=" + pm._random();
- target_window.location = target_url + hash_id + encodeURIComponent(JSON.stringify(hashmessage));
- },
-
- _regex: /^\#x\-postmessage\-id\=(\w{32})/,
-
- _regex_len: "#x-postmessage-id=".length + 32,
-
- _bind: function() {
- // are we already listening to message events on this w?
- if (!pm.data("polling.postmessage")) {
- setInterval(function() {
- var hash = "" + window.location.hash,
- m = pm.hash._regex.exec(hash);
- if (m) {
- var id = m[1];
- if (pm.hash._last !== id) {
- pm.hash._last = id;
- pm.hash._dispatch(hash.substring(pm.hash._regex_len));
- }
- }
- }, $.pm.poll || 200);
- pm.data("polling.postmessage", 1);
- }
- },
-
- _dispatch: function(hash) {
- if (!hash) {
- return;
- }
- try {
- hash = JSON.parse(decodeURIComponent(hash));
- if (!(hash['x-requested-with'] === 'postmessage' &&
- hash.source && hash.source.name != null && hash.source.url && hash.postmessage)) {
- // ignore since hash could've come from somewhere else
- return;
- }
- }
- catch (ex) {
- // ignore since hash could've come from somewhere else
- return;
- }
- var msg = hash.postmessage,
- cbs = pm.data("callbacks.postmessage") || {},
- cb = cbs[msg.type];
- if (cb) {
- cb(msg.data);
- }
- else {
- var source_window;
- if (hash.source.name === "parent") {
- source_window = window.parent;
- }
- else {
- source_window = window.frames[hash.source.name];
- }
- var l = pm.data("listeners.postmessage") || {};
- var fns = l[msg.type] || [];
- for (var i=0,len=fns.length; i<len; i++) {
- var o = fns[i];
- if (o.origin) {
- var origin = /https?\:\/\/[^\/]*/.exec(hash.source.url)[0];
- if (o.origin !== '*' && origin !== o.origin) {
- console.warn("postmessage message origin mismatch", origin, o.origin);
- if (msg.errback) {
- // notify post message errback
- var error = {
- message: "postmessage origin mismatch",
- origin: [origin, o.origin]
- };
- pm.send({target:source_window, data:error, type:msg.errback, hash:true, url:hash.source.url});
- }
- continue;
- }
- }
-
- function sendReply ( data ) {
- if (msg.callback) {
- pm.send({target:source_window, data:data, type:msg.callback, hash:true, url:hash.source.url});
- }
- }
-
- try {
- if ( o.callback ) {
- o.fn(msg.data, sendReply);
- } else {
- sendReply ( o.fn(msg.data) );
- }
- }
- catch (ex) {
- if (msg.errback) {
- // notify post message errback
- pm.send({target:source_window, data:ex, type:msg.errback, hash:true, url:hash.source.url});
- } else {
- throw ex;
- }
- }
- };
- }
- },
-
- _url: function(url) {
- // url minus hash part
- return (""+url).replace(/#.*$/, "");
- }
-
- };
-
- $.extend(pm, {
- defaults: {
- target: null, /* target window (required) */
- url: null, /* target window url (required if no window.postMessage or hash == true) */
- type: null, /* message type (required) */
- data: null, /* message data (required) */
- success: null, /* success callback (optional) */
- error: null, /* error callback (optional) */
- origin: "*", /* postmessage origin (optional) */
- hash: false /* use location hash for message passing (optional) */
- }
- });
-
- })(this, typeof jQuery === "undefined" ? NO_JQUERY : jQuery);
-
-/**
- * http://www.JSON.org/json2.js
- **/
-if (! ("JSON" in window && window.JSON)){JSON={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":value})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}}());
diff --git a/plugins/jetpack/_inc/spin.js b/plugins/jetpack/_inc/spin.js
deleted file mode 100644
index c66c607a..00000000
--- a/plugins/jetpack/_inc/spin.js
+++ /dev/null
@@ -1,349 +0,0 @@
-//fgnass.github.com/spin.js#v1.3
-
-/**
- * Copyright (c) 2011-2013 Felix Gnass
- * Licensed under the MIT license
- */
-(function(root, factory) {
-
- /* CommonJS */
- if (typeof exports == 'object') module.exports = factory()
-
- /* AMD module */
- else if (typeof define == 'function' && define.amd) define(factory)
-
- /* Browser global */
- else root.Spinner = factory()
-}
-(this, function() {
- "use strict";
-
- var prefixes = ['webkit', 'Moz', 'ms', 'O'] /* Vendor prefixes */
- , animations = {} /* Animation rules keyed by their name */
- , useCssAnimations /* Whether to use CSS animations or setTimeout */
-
- /**
- * Utility function to create elements. If no tag name is given,
- * a DIV is created. Optionally properties can be passed.
- */
- function createEl(tag, prop) {
- var el = document.createElement(tag || 'div')
- , n
-
- for(n in prop) el[n] = prop[n]
- return el
- }
-
- /**
- * Appends children and returns the parent.
- */
- function ins(parent /* child1, child2, ...*/) {
- for (var i=1, n=arguments.length; i<n; i++)
- parent.appendChild(arguments[i])
-
- return parent
- }
-
- /**
- * Insert a new stylesheet to hold the @keyframe or VML rules.
- */
- var sheet = (function() {
- var el = createEl('style', {type : 'text/css'})
- ins(document.getElementsByTagName('head')[0], el)
- return el.sheet || el.styleSheet
- }())
-
- /**
- * Creates an opacity keyframe animation rule and returns its name.
- * Since most mobile Webkits have timing issues with animation-delay,
- * we create separate rules for each line/segment.
- */
- function addAnimation(alpha, trail, i, lines) {
- var name = ['opacity', trail, ~~(alpha*100), i, lines].join('-')
- , start = 0.01 + i/lines * 100
- , z = Math.max(1 - (1-alpha) / trail * (100-start), alpha)
- , prefix = useCssAnimations.substring(0, useCssAnimations.indexOf('Animation')).toLowerCase()
- , pre = prefix && '-' + prefix + '-' || ''
-
- if (!animations[name]) {
- sheet.insertRule(
- '@' + pre + 'keyframes ' + name + '{' +
- '0%{opacity:' + z + '}' +
- start + '%{opacity:' + alpha + '}' +
- (start+0.01) + '%{opacity:1}' +
- (start+trail) % 100 + '%{opacity:' + alpha + '}' +
- '100%{opacity:' + z + '}' +
- '}', sheet.cssRules.length)
-
- animations[name] = 1
- }
-
- return name
- }
-
- /**
- * Tries various vendor prefixes and returns the first supported property.
- */
- function vendor(el, prop) {
- var s = el.style
- , pp
- , i
-
- if(s[prop] !== undefined) return prop
- prop = prop.charAt(0).toUpperCase() + prop.slice(1)
- for(i=0; i<prefixes.length; i++) {
- pp = prefixes[i]+prop
- if(s[pp] !== undefined) return pp
- }
- }
-
- /**
- * Sets multiple style properties at once.
- */
- function css(el, prop) {
- for (var n in prop)
- el.style[vendor(el, n)||n] = prop[n]
-
- return el
- }
-
- /**
- * Fills in default values.
- */
- function merge(obj) {
- for (var i=1; i < arguments.length; i++) {
- var def = arguments[i]
- for (var n in def)
- if (obj[n] === undefined) obj[n] = def[n]
- }
- return obj
- }
-
- /**
- * Returns the absolute page-offset of the given element.
- */
- function pos(el) {
- var o = { x:el.offsetLeft, y:el.offsetTop }
- while((el = el.offsetParent))
- o.x+=el.offsetLeft, o.y+=el.offsetTop
-
- return o
- }
-
- // Built-in defaults
-
- var defaults = {
- lines: 12, // The number of lines to draw
- length: 7, // The length of each line
- width: 5, // The line thickness
- radius: 10, // The radius of the inner circle
- rotate: 0, // Rotation offset
- corners: 1, // Roundness (0..1)
- color: '#000', // #rgb or #rrggbb
- direction: 1, // 1: clockwise, -1: counterclockwise
- speed: 1, // Rounds per second
- trail: 100, // Afterglow percentage
- opacity: 1/4, // Opacity of the lines
- fps: 20, // Frames per second when using setTimeout()
- zIndex: 2e9, // Use a high z-index by default
- className: 'spinner', // CSS class to assign to the element
- top: 'auto', // center vertically
- left: 'auto', // center horizontally
- position: 'relative' // element position
- }
-
- /** The constructor */
- function Spinner(o) {
- if (typeof this == 'undefined') return new Spinner(o)
- this.opts = merge(o || {}, Spinner.defaults, defaults)
- }
-
- // Global defaults that override the built-ins:
- Spinner.defaults = {}
-
- merge(Spinner.prototype, {
-
- /**
- * Adds the spinner to the given target element. If this instance is already
- * spinning, it is automatically removed from its previous target b calling
- * stop() internally.
- */
- spin: function(target) {
- this.stop()
-
- var self = this
- , o = self.opts
- , el = self.el = css(createEl(0, {className: o.className}), {position: o.position, width: 0, zIndex: o.zIndex})
- , mid = o.radius+o.length+o.width
- , ep // element position
- , tp // target position
-
- if (target) {
- target.insertBefore(el, target.firstChild||null)
- tp = pos(target)
- ep = pos(el)
- css(el, {
- left: (o.left == 'auto' ? tp.x-ep.x + (target.offsetWidth >> 1) : parseInt(o.left, 10) + mid) + 'px',
- top: (o.top == 'auto' ? tp.y-ep.y + (target.offsetHeight >> 1) : parseInt(o.top, 10) + mid) + 'px'
- })
- }
-
- el.setAttribute('role', 'progressbar')
- self.lines(el, self.opts)
-
- if (!useCssAnimations) {
- // No CSS animation support, use setTimeout() instead
- var i = 0
- , start = (o.lines - 1) * (1 - o.direction) / 2
- , alpha
- , fps = o.fps
- , f = fps/o.speed
- , ostep = (1-o.opacity) / (f*o.trail / 100)
- , astep = f/o.lines
-
- ;(function anim() {
- i++;
- for (var j = 0; j < o.lines; j++) {
- alpha = Math.max(1 - (i + (o.lines - j) * astep) % f * ostep, o.opacity)
-
- self.opacity(el, j * o.direction + start, alpha, o)
- }
- self.timeout = self.el && setTimeout(anim, ~~(1000/fps))
- })()
- }
- return self
- },
-
- /**
- * Stops and removes the Spinner.
- */
- stop: function() {
- var el = this.el
- if (el) {
- clearTimeout(this.timeout)
- if (el.parentNode) el.parentNode.removeChild(el)
- this.el = undefined
- }
- return this
- },
-
- /**
- * Internal method that draws the individual lines. Will be overwritten
- * in VML fallback mode below.
- */
- lines: function(el, o) {
- var i = 0
- , start = (o.lines - 1) * (1 - o.direction) / 2
- , seg
-
- function fill(color, shadow) {
- return css(createEl(), {
- position: 'absolute',
- width: (o.length+o.width) + 'px',
- height: o.width + 'px',
- background: color,
- boxShadow: shadow,
- transformOrigin: 'left',
- transform: 'rotate(' + ~~(360/o.lines*i+o.rotate) + 'deg) translate(' + o.radius+'px' +',0)',
- borderRadius: (o.corners * o.width>>1) + 'px'
- })
- }
-
- for (; i < o.lines; i++) {
- seg = css(createEl(), {
- position: 'absolute',
- top: 1+~(o.width/2) + 'px',
- transform: o.hwaccel ? 'translate3d(0,0,0)' : '',
- opacity: o.opacity,
- animation: useCssAnimations && addAnimation(o.opacity, o.trail, start + i * o.direction, o.lines) + ' ' + 1/o.speed + 's linear infinite'
- })
-
- if (o.shadow) ins(seg, css(fill('#000', '0 0 4px ' + '#000'), {top: 2+'px'}))
-
- ins(el, ins(seg, fill(o.color, '0 0 1px rgba(0,0,0,.1)')))
- }
- return el
- },
-
- /**
- * Internal method that adjusts the opacity of a single line.
- * Will be overwritten in VML fallback mode below.
- */
- opacity: function(el, i, val) {
- if (i < el.childNodes.length) el.childNodes[i].style.opacity = val
- }
-
- })
-
-
- function initVML() {
-
- /* Utility function to create a VML tag */
- function vml(tag, attr) {
- return createEl('<' + tag + ' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">', attr)
- }
-
- // No CSS transforms but VML support, add a CSS rule for VML elements:
- sheet.addRule('.spin-vml', 'behavior:url(#default#VML)')
-
- Spinner.prototype.lines = function(el, o) {
- var r = o.length+o.width
- , s = 2*r
-
- function grp() {
- return css(
- vml('group', {
- coordsize: s + ' ' + s,
- coordorigin: -r + ' ' + -r
- }),
- { width: s, height: s }
- )
- }
-
- var margin = -(o.width+o.length)*2 + 'px'
- , g = css(grp(), {position: 'absolute', top: margin, left: margin})
- , i
-
- function seg(i, dx, filter) {
- ins(g,
- ins(css(grp(), {rotation: 360 / o.lines * i + 'deg', left: ~~dx}),
- ins(css(vml('roundrect', {arcsize: o.corners}), {
- width: r,
- height: o.width,
- left: o.radius,
- top: -o.width>>1,
- filter: filter
- }),
- vml('fill', {color: o.color, opacity: o.opacity}),
- vml('stroke', {opacity: 0}) // transparent stroke to fix color bleeding upon opacity change
- )
- )
- )
- }
-
- if (o.shadow)
- for (i = 1; i <= o.lines; i++)
- seg(i, -2, 'progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)')
-
- for (i = 1; i <= o.lines; i++) seg(i)
- return ins(el, g)
- }
-
- Spinner.prototype.opacity = function(el, i, val, o) {
- var c = el.firstChild
- o = o.shadow && o.lines || 0
- if (c && i+o < c.childNodes.length) {
- c = c.childNodes[i+o]; c = c && c.firstChild; c = c && c.firstChild
- if (c) c.opacity = val
- }
- }
- }
-
- var probe = css(createEl('group'), {behavior: 'url(#default#VML)'})
-
- if (!vendor(probe, 'transform') && probe.adj) initVML()
- else useCssAnimations = vendor(probe, 'animation')
-
- return Spinner
-
-}));
diff --git a/plugins/jetpack/bin/build-asset-cdn-json.php b/plugins/jetpack/bin/build-asset-cdn-json.php
deleted file mode 100644
index cc173480..00000000
--- a/plugins/jetpack/bin/build-asset-cdn-json.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-
-// The repo root path.
-$path = dirname( dirname( __FILE__ ) ) . '/';
-
-// Build an iterator over all files in the repo that match the regex in the RegexIterator.
-$directory = new RecursiveDirectoryIterator( $path );
-$iterator = new RecursiveIteratorIterator( $directory );
-$regex = new RegexIterator( $iterator, '/^.+\.(css|js)$/i', RecursiveRegexIterator::GET_MATCH );
-
-$ignore_paths = array(
- '_inc/client/',
- 'bin/',
- 'docker/',
- 'docs/',
- 'extensions/',
- 'logs/',
- 'node_modules/',
- 'tests/',
- 'tools/',
- 'vendor/',
- 'packages/',
-);
-
-$manifest = array();
-foreach ( $regex as $path_to_file => $value ) {
- $path_from_repo_root = str_replace( $path, '', $path_to_file );
-
- // Ignore top-level files.
- if ( false === strpos( $path_from_repo_root, '/' ) ) {
- continue;
- }
-
- // Ignore explicit ignore list.
- foreach ( $ignore_paths as $ignore_path ) {
- if ( 0 === strpos( $path_from_repo_root, $ignore_path ) ) {
- continue 2;
- }
- }
-
- $manifest[] = $path_from_repo_root;
-}
-
-$export = var_export( $manifest, true );
-
-file_put_contents( $path . 'modules/photon-cdn/jetpack-manifest.php', "<?php
-// This file is autogenerated by bin/build-asset-cdn-json.php
-
-\$assets = $export;\r\n" );
diff --git a/plugins/jetpack/bin/partner-cancel.sh b/plugins/jetpack/bin/partner-cancel.sh
deleted file mode 100755
index 1be859b1..00000000
--- a/plugins/jetpack/bin/partner-cancel.sh
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/env sh
-
-# cancel a the plan provided for the current site using the given partner keys
-
-usage () {
- echo "Usage: partner-cancel.sh --partner_id=partner_id --partner_secret=partner_secret [--url=http://example.com] [--allow-root] [--partner-tracking-id]"
-}
-
-GLOBAL_ARGS=""
-
-for i in "$@"; do
- case $i in
- -c=* | --partner_id=* ) CLIENT_ID="${i#*=}"
- shift
- ;;
- -s=* | --partner_secret=* ) CLIENT_SECRET="${i#*=}"
- shift
- ;;
- -u=* | --url=* ) SITE_URL="${i#*=}"
- shift
- ;;
- --partner-tracking-id=* ) PARTNER_TRACKING_ID="${i#*=}"
- shift
- ;;
- --allow-root ) GLOBAL_ARGS="--allow-root"
- shift
- ;;
- -h | --help ) usage
- exit
- ;;
- * ) usage
- exit 1
- esac
-done
-
-if [ "$CLIENT_ID" = "" ] || [ "$CLIENT_SECRET" = "" ]; then
- usage
- exit 1
-fi
-
-# default API host that can be overridden
-if [ -z "$JETPACK_START_API_HOST" ]; then
- JETPACK_START_API_HOST='public-api.wordpress.com'
-fi
-
-# fetch an access token using our client ID/secret
-ACCESS_TOKEN_JSON=$(curl https://$JETPACK_START_API_HOST/oauth2/token --silent --header "Host: public-api.wordpress.com" -d "grant_type=client_credentials&client_id=$CLIENT_ID&client_secret=$CLIENT_SECRET&scope=jetpack-partner")
-
-# set URL arg for multisite compatibility
-if [ ! -z "$SITE_URL" ]; then
- GLOBAL_ARGS=" --url=$SITE_URL"
-fi
-
-ADDITIONAL_ARGS=""
-if [ ! -z "$PARTNER_TRACKING_ID" ]; then
- ADDITIONAL_ARGS="$ADDITIONAL_ARGS --partner-tracking-id=$PARTNER_TRACKING_ID"
-fi
-
-# Remove leading whitespace
-GLOBAL_ARGS=$(echo "$GLOBAL_ARGS" | xargs echo)
-
-# Intentionally not quoting $GLOBAL_ARGS below so that words in the string are split
-
-# silently ensure Jetpack is active
-wp $GLOBAL_ARGS plugin activate jetpack >/dev/null 2>&1
-
-# cancel the partner plan
-wp $GLOBAL_ARGS jetpack partner_cancel "$ACCESS_TOKEN_JSON" $ADDITIONAL_ARGS
diff --git a/plugins/jetpack/bin/partner-provision.sh b/plugins/jetpack/bin/partner-provision.sh
deleted file mode 100755
index bbfcff6f..00000000
--- a/plugins/jetpack/bin/partner-provision.sh
+++ /dev/null
@@ -1,253 +0,0 @@
-#!/usr/bin/env sh
-
-# accepts: partner client ID and secret key, and some site info
-# executes wp-cli command to provision Jetpack site for given partner
-
-usage () {
- echo 'Usage: partner-provision.sh \
- --partner_id=partner_id \
- --partner_secret=partner_secret \
- --user=wp_user_id \
- [--wp-cli-path=/usr/local/bin/wp]
- [--plan=plan_name] \
- [--onboarding=1] \
- [--wpcom_user_id=1234] \
- [--wpcom_user_email=wpcom_user_email] \
- [--url=http://example.com] \
- [--force_connect=1] \
- [--force_register=1] \
- [--allow-root] \
- [--partner-tracking-id=1] \
- [--ssh-host=example.com] \
- [--ssh-user=user_name] \
- [--ssh-pass=user_pass] \
- [--ssh-private-key=/path/to/private_key] \
- [--ssh-port=22] '
-}
-
-# Note: this script should always be designed to keep wp-cli OPTIONAL
-# so that it can be run outside of the WordPress installation.
-WP_CLI_COMMAND="wp"
-WP_CLI_ARGS=""
-
-# Default API host that can be overridden.
-if [ -z "$JETPACK_START_API_HOST" ]; then
- JETPACK_START_API_HOST='public-api.wordpress.com'
-fi
-
-PROVISION_REQUEST_ARGS=""
-PROVISION_REQUEST_URL="https://$JETPACK_START_API_HOST/rest/v1.3/jpphp/provision"
-
-for i in "$@"; do
- case $i in
- -c=* | --partner_id=* )
- CLIENT_ID="${i#*=}"
- shift
- ;;
- -s=* | --partner_secret=* )
- CLIENT_SECRET="${i#*=}"
- shift
- ;;
- -i=* | --user_id=* | --user=* )
- WP_USER="${i#*=}"
- WP_CLI_ARGS="$WP_CLI_ARGS --user=${i#*=}"
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form local_user=${i#*=}"
- shift
- ;;
- -w=* | --wpcom_user_id=* )
- WPCOM_USER_ID=${i#*=}
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form wpcom_user_id=${i#*=}"
- shift
- ;;
- -e=* | --wpcom_user_email=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form wpcom_user_email=${i#*=}"
- shift
- ;;
- -p=* | --plan=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form plan=${i#*=}"
- shift
- ;;
- -o=* | --onboarding=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form onboarding=${i#*=}"
- shift
- ;;
- -u=* | --url=* )
- WP_CLI_ARGS="$WP_CLI_ARGS --url=${i#*=}"
- SITEURL="${i#*=}"
- shift
- ;;
- --force_register=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form force_register=${i#*=}"
- shift
- ;;
- --force_connect=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form force_connect=${i#*=}"
- shift
- ;;
- --partner-tracking-id=* )
- PROVISION_REQUEST_URL="$PROVISION_REQUEST_URL?partner-tracking-id=${i#*=}"
- shift
- ;;
- --ssh-host=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form ssh_host=${i#*=}"
- shift
- ;;
- --ssh-user=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form ssh_user=${i#*=}"
- shift
- ;;
- --ssh-pass=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form ssh_pass=${i#*=}"
- shift
- ;;
- --ssh-private-key=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form ssh_private_key=<${i#*=}"
- shift
- ;;
- --ssh-port=* )
- PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form ssh_port=${i#*=}"
- shift
- ;;
- --allow-root )
- WP_CLI_ARGS="$WP_CLI_ARGS --allow-root"
- shift
- ;;
- --wp-cli-path=* )
- WP_CLI_COMMAND="${i#*=}"
- shift
- ;;
- -h | --help )
- usage
- exit
- ;;
- * )
- echo $(usage) >&2
- exit 1
- esac
-done
-
-WP_CLI_CHECK=$($WP_CLI_COMMAND --skip-plugins --skip-themes option get home 2>/dev/null)
-if [ -z "$WP_CLI_CHECK" ]; then
- WP_CLI_EXISTS=0
-else
- WP_CLI_EXISTS=1
-fi
-
-if [ "$WP_CLI_EXISTS" -eq "1" ]; then
- WP_CLI_ARGS="$WP_CLI_ARGS --skip-themes --skip-plugins=$($WP_CLI_COMMAND plugin list --field=name | grep -v ^jetpack$ | tr '\n' ',')"
-fi
-
-if [ "$CLIENT_ID" = "" ] || [ "$CLIENT_SECRET" = "" ] || [ "$WP_USER" = "" ]; then
- echo $(usage) >&2
- exit 1
-fi
-
-jetpack_shell_is_errored() {
- if [ -z "$1" ]; then
- exit 1
- fi
-
- JSON_ERROR=$( jetpack_echo_key_from_json "$1" error | xargs echo )
-
- if [ -z "$JSON_ERROR" ]; then
- return 1
- else
- return 0
- fi
-}
-
-jetpack_is_wp_cli_error() {
- if [ -z "$1" ]; then
- exit 1
- fi
-
- if [ ! -z $( echo "$1" | grep Error:) ] || [ -z "$1" ]; then
- return 0
- fi
-
- return 1
-}
-
-jetpack_echo_key_from_json() {
- if [ -z "$1" ]; then
- exit 1
- fi
-
- echo $1 | sed -n "s/.*\"$2\":\"\([^\"]*\)\".*/\1/p"
-}
-
-# Fetch an access token using our client ID/secret.
-ACCESS_TOKEN_JSON=$(
- curl \
- --silent \
- --request POST \
- --url https://$JETPACK_START_API_HOST/oauth2/token \
- --header 'cache-control: no-cache' \
- --header 'content-type: multipart/form-data;' \
- --header "Host: public-api.wordpress.com" \
- --form client_id="$CLIENT_ID" \
- --form client_secret="$CLIENT_SECRET" \
- --form grant_type=client_credentials \
- --form scope=jetpack-partner
-)
-
-if jetpack_shell_is_errored "$ACCESS_TOKEN_JSON"; then
- echo "$ACCESS_TOKEN_JSON" >&2
- exit 1
-fi
-
-ACCESS_TOKEN=$( jetpack_echo_key_from_json "$ACCESS_TOKEN_JSON" access_token | xargs echo )
-
-# If we don't have an access token, we can't go further.
-if [ -z "$ACCESS_TOKEN" ] || [ "$ACCESS_TOKEN" = "" ]; then
- echo "$ACCESS_TOKEN_JSON" >&2
- exit 1
-fi
-
-# Silently ensure Jetpack is active
-# Intentionally not quoting $WP_CLI_ARGS so that words in the string are split
-if [ "$WP_CLI_EXISTS" -eq "1" ]; then
- $WP_CLI_COMMAND $WP_CLI_ARGS plugin activate jetpack >/dev/null 2>&1
-fi
-
-if [ -z "$SITEURL" ] && [ "$WP_CLI_EXISTS" -eq "1" ]; then
- SITEURL=$( $WP_CLI_COMMAND $WP_CLI_ARGS option get siteurl | xargs echo )
-fi
-
-PROVISION_REQUEST_ARGS="$PROVISION_REQUEST_ARGS --form siteurl=$SITEURL"
-
-PROVISION_REQUEST=$(
- curl \
- --silent \
- --request POST \
- --url "$PROVISION_REQUEST_URL" \
- --header "authorization: Bearer $ACCESS_TOKEN" \
- --header "Host: public-api.wordpress.com" \
- --header 'cache-control: no-cache' \
- --header 'content-type: multipart/form-data;' \
- $PROVISION_REQUEST_ARGS
-)
-
-if [ -z "$PROVISION_REQUEST" ]; then
- echo "{\"success\":false,\"error_code\":\"unknown_error\",\"error_message\":\"Empty response from server\"}" >&2
-fi
-
-if jetpack_shell_is_errored "$PROVISION_REQUEST"; then
- echo "$PROVISION_REQUEST" >&2
- exit 1
-fi
-
-# Get the access token for the Jetpack connection.
-ACCESS_TOKEN=$( jetpack_echo_key_from_json "$PROVISION_REQUEST" access_token | xargs echo )
-
-# If we have an access token, set it and activate default modules!
-if [ ! -z "$ACCESS_TOKEN" ] && [ "$ACCESS_TOKEN" != "" ] && [ ! -z "$WPCOM_USER_ID" ] && [ "$WP_CLI_EXISTS" -eq "1" ]; then
- AUTHORIZE_RESULT=$( $WP_CLI_COMMAND $WP_CLI_ARGS jetpack authorize_user --token="$ACCESS_TOKEN" )
- if jetpack_is_wp_cli_error "$AUTHORIZE_RESULT"; then
- echo "{\"success\":false,\"error_code\":\"authorization_failure\",\"error_message\":\"$AUTHORIZE_RESULT\"}" >&2
- exit 1
- fi
-fi
-
-echo "$PROVISION_REQUEST"
-exit 0
diff --git a/plugins/jetpack/changelog.txt b/plugins/jetpack/changelog.txt
deleted file mode 100644
index 7245f199..00000000
--- a/plugins/jetpack/changelog.txt
+++ /dev/null
@@ -1,4865 +0,0 @@
-== Changelog ==
-
-**This is a list detailing changes for all the past Jetpack releases. For more information about the current release, see [the readme](https://github.com/Automattic/jetpack/blob/master/readme.txt).**
-
-= 8.1.1 =
-
-* Release date: January 23, 2020
-* Release post: https://wp.me/p1moTy-lJT
-
-**Bug fixes**
-
-* Dashboard: ensure that connection issues with WordPress.com are displayed in the Jetpack dashboard.
-* Block Editor: ensure that the Jetpack block sidebar icon is properly displayed, even with the latest version of the Gutenberg plugin.
-* WordPress.com Block Editor: fix compatibility issues with Chrome's upcoming cross-site cookie changes.
-
-= 8.1 =
-
-* Release date: January 14, 2020
-* Release post: https://wp.me/p1moTy-lJT
-
-**Enhancements**
-
-* Dashboard: preload connection flow script to improve performance.
-* Dashboard: improvements to backup interface.
-* Mobile Theme: allow one to temporary disable Jetpack's Mobile Theme for testing.
-* Mobile Theme: disable settings when feature is inactive.
-* Site Accelerator: disable a helper library by default and allow themes to enable it when required.
-* Subscriptions: add a wp-admin setting to alert the admin when someone follows the blog.
-* WordPress.com REST API: add flag to determine site eligibility for Full Site Editing.
-* WordPress.com synchronization: improve the reliability of the synchronization events triggered to keep your site up to date with WordPress.com.
-* WordPress.com Toolbar: update the link directing to the WordPress.com Reader.
-* WordPress.com Toolbar: add "My Home" link to the toolbar.
-
-**Improved compatibility**
-
-* General: improvements to Coding Standards for plugin compatibility files.
-* Notifications: avoid conflicts with Twenty Twenty's instrinsic video resizes.
-* PHP 7.4: fix PHP warnings that may appear on sites running PHP 7.4.
-* Sharing: avoid errors when using the Thrive Architect plugin.
-* Tiled Galleries: fix layout when using a gallery inside a Classic block with the Twenty Twenty theme.
-* Twenty Twenty: improve the display of the Authors and Flickr widget.
-* Twenty Twenty: add Content Options to the Customizer.
-* Twenty Twenty: ensure that Infinite Scroll does not suppress the display of footer widgets.
-* Videos: automatically convert old Flash Jetpack Video embeds so they can use the new player.
-* WooCommerce Services: avoid issues when installing plugin from notification message.
-
-**Bug fixes**
-
-* CLI: prevent a PHP notice when running some Jetpack CLI commands.
-* Map Block: fix layout issue when selecting a marker in a map and then scrolling down.
-* Map Block: avoid errors when adding more than 2 points on a map.
-* REST API: correctly validate on/off values for booleans.
-* Star Rating Block: translate block title.
-* Widget Visibility: ensure that the visibility options always appear on old Widgets Options screen.
-* WordAds: ensure that the ads.txt file created by the feature returns a correct HTTP response code.
-* WordPress.com Block Editor: exclude WordPress.com features from Jetpack sites.
-
-= 8.0 =
-
-* Release date: December 3, 2019
-* Release post: https://wp.me/p1moTy-lGH
-
-**Major enhancements**
-
-* Block Editor: new Pinterest block allowing you to easily embed boards, profiles, and pins.
-* Block Editor: new Ratings block allowing you to add star ratings any post or page.
-* Mailchimp block: you can now create forms for a subset (group) of your Mailchimp list, and add a field to track which form the signups are coming from.
-
-**Enhancements**
-
-* Blocks: start using the @wordpress/block-editor package introduced in WordPress 5.2.
-* Contact Form: make the Form block reusable on a single post / page.
-* Dashboard: add support for Jetpack Backup display.
-* Image CDN: expand number of images using the new subdomain determination function.
-* Recurring Payments block: improve display of buttons inside the block in the editor.
-* Shortcodes: add new customization options and improve Schema.org markup of the Recipe shortcode.
-* Shortcodes: add AMP views for 5 shortcodes: `vimeo`, `instagram`, `dailymotion`, `tweet`, and `soundcloud`.
-* Support Tools: improve the reliability of the tools on slower sites.
-
-**Improved compatibility**
-
-* AMP: improve display of the Map block on AMP views.
-* General: As WordPress 5.3 is now available, Jetpack now requires WordPress 5.2.
-* Shortcodes: ensure Vimeo videos can be displayed properly when using the AMP plugin.
-
-**Bug fixes**
-
-* Connection: fix communication between Jetpack sites and WordPress.com for some sites hosted on non-standard ports.
-* Connection management: fix issue that prevented the Connection transfer banner from appearing in some situations.
-* Feature Hints: disable when plugins cannot be installed on site.
-* Image CDN: avoid blurry images when using Jetpack's Image CDN alongside other image-focussed blocks.
-* SEO Tools: do not display any HTML tags in title meta tags.
-* Sharing: improve accessibility of the sharing buttons by updating the buttons' color.
-* Sync: avoid conflicts when two processes are synchronized to WordPress.com at the same time.
-* WordPress.com Block Editor: ensure that the Justify button works well on any paragraph using that button.
-
-= 7.9.1 =
-
-* Release date: November 19, 2019
-* Release post: https://wp.me/p1moTy-lHA
-
-**Bug fixes**
-
-* Security: fix vulnerability in the way Jetpack processes embed codes.
-* Verification Tools: avoid PHP warnings when using plugins to modify the WordPress admin menu.
-* Widgets: ensure opening hours can be displayed properly in the Contact Info Widget.
-
-**Improved compatibility**
-
-* Twenty Twenty: ensure that Related Posts and Jetpack Blocks are displayed nicely in the new default theme.
-
-= 7.9 =
-
-* Release date: November 5, 2019
-* Release post: https://wp.me/p1moTy-lzt
-
-**Major enhancements**
-
-* Block Editor: allow authors to upload videos to our Jetpack Videos service from the Video Block.
-* Block Editor: add new post-submission settings to the Form block.
-* Twenty Twenty: Ensure full compatibility with the upcoming default theme.
-
-**Enhancements**
-
-* Admin Page: update icons for security settings.
-* Backup: support for Jetpack Backup functionality with simpler configuration.
-* Block Editor: provide block previews for Jetpack blocks.
-* Block Editor: add image size option to the Slideshow block.
-* Block Editor: improve the display of opening hours when using the Business Hours block.
-* CLI: no longer return exit code 1 if trying to disconnect a site that's already disconnected.
-* Connection flow: update connect buttons on main dashboard page and plugins page to use the new connection flow.
-* Connection flow: add plan billing period toggle.
-* Contact Form: synchronize form data with WordPress.com when submitting a form via the Form block.
-* Dashboard: update styles for visual parity with the WordPress.com dashboard.
-* Dashboard: improve performance of the Jetpack dashboard when the plugin is not connected to WordPress.com yet.
-* Dashboard: add new plans' information to Plans pages.
-* Dashboard: update design to better integrate with the updated design of the WordPress dashboard in WordPress 5.3.
-* Dashboard: improve experience for site owners looking to disconnect their site from WordPress.com.
-* Debug: provide additional information in Tools > Site Health when a site's connection to WordPress.com is broken.
-* Performance: modernize various parts of the code to use PHP 5.6+ functionality.
-* Progressive Web Apps: sunset feature. If you wish to continue to use that feature on your site, we recommend installing another plugin that offers the functionality you need.
-* Related Posts: remove nofollow attribute from links.
-* Related Posts: add Posts to the REST API response for all post types that support them.
-* Search: add new filter allowing one to adjuct Jetpack Search's ES query languages.
-* Search: continued work on upcoming Instant Search features.
-* Shortcodes: add support for tab sizing to Gist shortcodes and embeds.
-* Social Networks: update Facebook logo to match new color.
-* Sync: improve reliability of the information synchronized back to your site when connecting to WordPress.com.
-* Tiled Galleries: ensure that color profile information is retained for all images in Tiled Galleries.
-* Widgets: add aria-current attribute to links when on same page.
-* WordAds: improve speed & resource use of Ads' loading scripts.
-
-**Improved compatibility**
-
-* AMP: ensure that one can use the Slideshow and the MailChimp blocks when using the AMP plugin.
-* AMP: support the new Dev mode for Notifications and Stats features.
-* Admin Page: improve compatibility with themes and plugins that insert CSS in the dashboard.
-* Blocks: ensure that all blocks display well in the editor when using WordPress 5.3.
-* Carousel: ensure that the feature works with the new gallery markup introduced in WordPress 5.3.
-* Dashboard Notices: ensure that all notices redirect to the right page, including on WooCommerce dashboard pages.
-* General: use new functionality available in WordPress 5.3.
-* PHP: resolve deprecation warnings in anticipation of PHP 7.4.
-* Related Posts: avoid conflicts with other plugins adding elements below the post content, especially when the AMP plugin is active on the site.
-* SSO: ensure that the Secure Sign In Form is displayed properly when using WordPress 5.3.
-* Widgets: update deprecated option in the Facebook Page Plugin widget.
-* WordPress.com REST API: ensure compatibility with WordPress 5.3.
-
-**Bug fixes**
-
-* Admin Page: remove Jetpack dashboard link for registered users (non admins) when the site is not connected to WordPress.com.
-* Admin Page: translate empty Stats chart's message.
-* Admin Page: change default settings tab depending on your role.
-* Admin Page: do not display Composing header for editors.
-* Block Editor: ensure that the Ad block is compatible with dark themes.
-* Contact Form: revise the email validation function to include length limit.
-* Debug: reduce instances when an inconclusive response would result in an error.
-* Geo-Location: fix spacing for RSS geo-location namespaces.
-* Image CDN: remove wp-dom-ready dependency to improve performance on the frontend.
-* Search: add hooks for when Search falls back to using the local database.
-* Site Logo: ensure that the right stylesheet is loaded depending on your site's language.
-* Site Verification Tools: ensure that you can connect your site to Google Search Console even when Publicize is disabled.
-* Sync: prevent a PHP Notice in some cases where a post isn't actually a post.
-* Widgets: ensure that the Google Maps API key in the Contact Info widget can be set to only work on your domain.
-* Widgets: fix timeout issues that may sometimes occur in the GoodReads widget when user has added lots of books to their account.
-* WordPress.com REST API: better site preview support for sites using WordPress in a subdirectory.
-
-= 7.8 =
-
-* Release date: October 1, 2019
-* Release post: https://wp.me/p1moTy-lvE
-
-**Enhancements**
-
-* Connection flow: remove some of the text from the connection prompt.
-* Dashboard: remove custom About menu page ordering.
-* Dashboard: review and remove unnecessary queries.
-* General: remove files that were deprecated in Jetpack 7.5.
-* General: remove outdated pre-PHP 5.6 era code.
-* Image CDN: check for local file upload before processing post images.
-* Markdown Block: display in the block picker even if the classic Markdown feature is disabled.
-* Recurring Payments: add an alignment option to the button.
-* Recurring Payments: improve the display of connection notifications.
-* Tiled Galleries: the block is now available even if you've disable the "Image Accelerator" feature.
-* WordPress.com REST API: improve detection of the Full Site Editing feature.
-
-**Improved compatibility**
-
-* AMP / Sharing: include Open Graph metadata to AMP Story posts.
-* General: avoid conflicts when using Jetpack alongside other plugins or services that rely on an Autoloader.
-
-**Bug fixes**
-
-* Activity Log: avoid displaying events from the Action Scheduler.
-* Ads Block: avoid PHP errors when loading posts via the WordPress.com interface.
-* Blocks: ensure that all blocks are properly translated when a translation is available.
-* Dashboard: do not display Plans page to non-connected admins.
-* Post Images: look for representative images in inner blocks as well.
-* Shortcodes: add title attribute to Archive.org and Archive.org Book embeds.
-* Sync: avoid issues when using deprecated Sync functions.
-* WordPress.com dashboard styles: fix layout on Plugins > Add New Page, on mobile devices.
-
-= 7.7.2 =
-
-* Release date: September 23, 2019
-
-**Bug fixes**
-
-* General: fix connection issues when attempting to install and connect Jetpack from a mobile app.
-
-= 7.7.1 =
-
-* Release date: September 6, 2019
-
-**Bug fixes**
-
-* Connection Flow: avoid any errors linked to browser cookie policies during connection request.
-* General: additional check to avoid warnings on plugin update.
-* SSO: avoid Fatal errors happening during some log in attempts.
-* Sync: check if IXR client exists to prevent errors when updating the plugin.
-
-= 7.7 =
-
-* Release date: September 3, 2019
-* Release post: https://wp.me/p1moTy-log
-
-**Major Enhancements**
-
-* This release brings in multiple improvements to the WordPress.com connection process, to fix issues site owners may experience when first connecting their site to WordPress.com.
-
-**Enhancements**
-
-* Anti-spam: improve the flow to configure Akismet from Jetpack's Dashboard.
-* Blocks: add new utility to get all CSS classes for a given block.
-* Bruteforce Login Protection: improve Network Activation detection on Multisite networks.
-* Dashboard: update all illustrations to use new color scheme.
-* General: log XML-RPC communication errors between the site and WordPress.com.
-* General: use HTTPS URLs when linking to external sites when possible.
-* General: warn admins when about to delete another admin user that happens to be the main Jetpack admin on the site.
-* Sharing / Publicize: add Open Graph Meta Tags to archive pages.
-* Sitemaps: reduce sitemap cache duration when using Jetpack's Development mode.
-* Social menus: replace the outdated Medium icon with updated logo.
-* Stats: improve method used to enqueue JavaScript when the feature is active.
-* Videos: Add video settings to Jetpack's enhanced video block.
-* Widgets: improve the creation process and display of maps inside the Contact Info Widget.
-* Widgets: add more RSS feed patterns to the Social Icons Widget.
-* Widgets: add new `jetpack_widget_authors_params` filter to the Authors widget, to allow site owners to customize the list of authors.
-* WordPress.com API: add option to manage Full Site Editing.
-* WordPress.com Interface: allow language to be changed even if `WPLANG` constant is defined.
-* WooCommerce Analytics: use core WordPress function to enqueue script asynchronously.
-
-**Improved compatibility**
-
-* Ads: make sure the Ad block generates ads that are compatible with the AMP plugin.
-* Image CDN: update the size of images used in AMP Stories when using the AMP plugin.
-* Responsive Videos: improve compatibility and avoid validation errors when using the AMP plugin.
-* WordPress.com API: avoid errors when used in combination with the Polylang plugin.
-* WordPress.com API: improve compatibility with plugins that alter the behavior of search queries.
-
-**Bug fixes**
-
-* Bruteforce Login Protection: fix the display of the admin notice displayed on Multisite networks.
-* Contact Form: update the feedback post type capability to a valid value.
-* Dashboard: improve the layout of the Connection modal on mobile devices.
-* General: do not redirect during automatic upgrades.
-* Image CDN: support the `medium_large` image sizes.
-* Related Posts: ensure Related Posts can be displayed when using the AMP plugin and Jetpack's Sharing feature.
-* Search: authenticated search requests will now display non-public content.
-* Sitemaps: improve the display of descriptions in video sitemaps, when they include HTML content.
-* Stats: load RTL stylesheet for dashboard widget, to fix layout issues on RTL language sites.
-* WordPress.com API: fix API responses which contain malformed (non-UTF-8) data.
-* WordPress.com Toolbar: limit access to Stats and Plan menu items.
-
-= 7.6 =
-
-* Release date: August 6, 2019
-* Release post: https://wp.me/p1moTy-ljs
-
-**Enhancements**
-
-* Backups: add ability to send SSH credentials.
-* Blocks: allow the insertion and preview of any Jetpack block in the editor, even when the block is only available via a Paid plan.
-* Carousel: use a pointer cursor when hovering over galleries that utilise the Carousel feature.
-* Dashboard: improve the display of the feature cards in the main Jetpack dashboard.
-* General: hide edit post link on your site when viewing it via the WordPress mobile app.
-* oEmbeds: add support for Song.link service.
-* Stats: improve performance of the Stats tracking pixel by eliminating blocking JavaScript.
-* Stats: improve Cache performance by switching from the WordPress Options API to the WordPress Transient API.
-* Support links: use the Beta support form when on a development version.
-* Sync: add a term taxonomy blacklist option, and start blacklisting taxonomies that do not need to be synchronized with WordPress.com.
-* Sync: improve reliability of the synchronization of taxonomies.
-* Videos: ensure any deprecations added in the core video block are not overwritten.
-* Widgets: allow the customization of avatar image options in the Top Posts Widget, via a filter.
-* Widgets: add option to open Flickr gallery images in a new tab.
-* WordPress.com Activity Log: avoid display issues with WooCommerce Product Reviews.
-
-**Improved compatibility**
-
-* AMP: ensure CSS compatibility with the Sharing buttons.
-* AMP: ensure full compatibility with Jetpack's Image CDN.
-* Dashboard: fix layout issues when viewing the dashboard on WordPress.com Business sites.
-* Compatibility suite for shared libraries: fix PHP notice when running suite.
-* Contact Form: ensure the Date picker field does not cause any AMP validation errors.
-
-**Bug fixes**
-
-* Admin Page: fix the behaviour of the Jetpack Videos button in the "My Plan" tab.
-* Admin Page: fix a typo in the Magic Links modal.
-* Connection process: bring back the ability to connect to WordPress.com via XML-RPC or REST API.
-* Custom CSS: fix Media Width label layout issue in Firefox.
-* Dashboard Notices: fix layout issues on sites using an RTL language.
-* Sync: fix home and Site URL synchronization issues on sites with custom Cron implementations.
-* WordPress.com Activity Log: add Action Scheduler to the list of blacklisted post types
-
-= 7.5.3 =
-
-* Release date: July 17, 2019
-* Release post: https://wp.me/p1moTy-k9A
-
-**Bug fixes**
-
-* General: Fixes plugin activation/deactivation hooks that were accidentally disabled.
-* General: Fixes fatal errors that were possible when using pre-7.5 Jetpack internal API.
-
-= 7.5.2 =
-
-* Release date: July 4, 2019
-* Release post: https://wp.me/p1moTy-k9A
-
-**Bug fixes**
-
-* General: Fixes an error when a site's connection to WordPress.com is set to "Safe Mode".
-
-= 7.5.1 =
-
-* Release date: July 2, 2019
-* Release post: https://wp.me/p1moTy-k9A
-
-**Bug fixes**
-
-* General: Fixes an error when trying to delete the Jetpack plugin.
-* General: Fixes supported PHP version declaration.
-
-= 7.5 =
-
-* Release date: July 2, 2019
-* Release post: https://wp.me/p1moTy-k9A
-
-**Enhancements**
-
-* Admin Page: add an option to send a magic link that will help you log in to the mobile apps in one click.
-* Admin Page: improve style and wording of many different sections of the dashboard to clarify the role of each feature.
-* Admin Page: remove feature that would offer you to activate a list of recommended features upon connecting your site to WordPress.com.
-* Backups: include updates to term relationships when backing up Post object changes.
-* Backups: synchronize ABSPATH value to help setting up SSH credentials when using Jetpack Backups.
-* Faceboook Embeds: support new video URL format.
-* Lazy Load: allow adding event handlers to images.
-* Recurring Payments Block: improve the display of the block in the editor.
-* WordAds: update link to daily earnings stats on WordPress.com.
-* WordAds: provide additional details for custom ads.txt entries in the Jetpack dashboard.
-* WordPress.com Toolbar: add colors to Recovery Mode button.
-
-**Improved compatibility**
-
-* Admin Page: improve display of the Jetpack Dashboard in IE11.
-* Sharing: avoid displaying extra list items below the sharing buttons when using the AMP plugin.
-* Staging enviroments: add staging enviroment detection for DreamPress sites.
-
-**Bug fixes**
-
-* Admin Page: fix display of backup details in the Jetpack dashboard.
-* Admin Page: do not disable Widget Visibility and Widgets toggles in Development mode.
-* Sitemaps: ensure links to sitemaps appear in robots.txt
-* Slideshow Block: fix CSS class name.
-* Videos: ensure that Video Poster images are always displayed properly.
-
-= 7.4.1 =
-
-* Release date: June 17, 2019
-* Release post: https://wp.me/p1moTy-kvz
-
-**Bug fix**
-
-* Contact Form Block: avoid errors when trying to edit a form block, when using the Gutenberg plugin.
-
-= 7.4 =
-
-* Release date: June 4, 2019
-* Release post: https://wp.me/p1moTy-jgZ
-
-**Enhancements**
-
-* About Page: remove submenu and add link to page in the footer of Jetpack's dashboard.
-* Admin Page: remove Themes card on Plans tab.
-* Admin Page: consolidate the look of the different discussion settings.
-* Admin Page: add Security Checklist information.
-* Business Hours Block: improve the display of Business Hours.
-* Business Hours Block: Simplify hours format.
-* Comment Form: use HTTP 4xx status codes for comment errors.
-* Contact Form Block: improve styles for better display on mobile devices.
-* General: introduce a new Jetpack Logo package, to make it easier to share and re-use.
-* Multisite: Use modern `wp_initialize_site` hook when automatically connecting new sites.
-* Recurring Payments Block: automatically add button to the post content once you create it.
-* Recurring Payments Block: improve the display of the renewal frequency in button list.
-* Recurring Payments Block: require a paid plan to use the button.
-* Recurring Payments Block: improve the look of the payment modal on mobile devices.
-* Search: add new option for cross-site search permissions.
-* Sharing: update default sharing settings to include buttons.
-* Sitemaps: rename the `jetpack_sitemap_generate` and `jetpack_news_sitemap_generate` filters to the more accurate `jetpack_sitemap_include_in_robotstxt` and `jetpack_news_sitemap_include_in_robotstxt`.
-* Slideshow Block: depending on viewport, display prev/next arrows.
-* Slideshow Block: remove outline when focussing on the block.
-* Sync: offer posts, comments, and comment meta checksums when providing sync status.
-* Tiled Galleries: add `srcset` in the editor for an improved editing experience.
-* WordPress.com Block Editor: allow managing reusable blocks in the WordPress.com interface.
-* WordPress.com Toolbar: display hamburger icon in toolbar when in the block editor.
-* WordPress.com Toolbar: display a link to exit recovery mode when it is active on the site.
-
-**Improved compatibility**
-
-* Display Posts Widget: remove overly opinionated CSS.
-* General: Jetpack now requires PHP 5.3.2, and will display a notice if your site uses an older version of PHP.
-* General: display a notice and log an error if your version of WordPress is not supported by Jetpack.
-* General: Update `Jetpack::get_content_width()` to ensure that only numeric values are used.
-* GIF Block: improve compatibility with the AMP plugin.
-* Shortcodes: bring more of our shortcodes to meet current WordPress Coding Standards to help us maintain these features in the future.
-* Site Health: improve Jetpack errors' messaging in WordPress' new Site Health tools.
-
-**Bug fixes**
-
-* Admin Page: make sure the Jetpack Dashboard is displayed properly in IE11.
-* Admin Page: do not show Plugin Autoupdates card on admin searches.
-* Carousel: avoid scrolling back to the top of the page when you close the Carousel view.
-* Connect Flow: sanitize from parameter when building connection URL.
-* Mobile Themes: fix "View Full Site" and "View Mobile Site" links when WordPress lives in a subdirectory.
-* Recurring Payments Block: avoid invalid subscription amounts.
-* Recurring Payments Block: allow line breaks in the payment button.
-* Related Posts: do not add markup to attachment pages by default.
-* SEO Tools: support taxonomy archive pages in page titles.
-* Sharing: make sure the Whatsapp button works well in all browsers, including Firefox on desktop.
-* Shortcodes: update embed type detection for Medium Collections.
-* Social Icons SVG: switch to the presentation role for better accessibility.
-* Subscriptions: display checkboxes above the comment submit button.
-* Sync: add new WP Cli commands to help in monitoring and updating sync settings.
-* Tracks: limit the length of the strings saved for feature searches.
-* Unit Tests: add support for testing using VVV 3.0.
-* Verification Tools: make sure the feature can be disabled by override.
-* WooCommerce Analytics: remove duplicate self-executing anonymous function.
-* WordPress.com Interface: make sure navigation menu items match the one available in the WordPress.com interface.
-* WordPress.com Toolbar: restore the previous layout.
-* WordPress.com Toolbar: ensure you are properly logged out of your WordPress.com account when you sign out of your site using the toolbar.
-* WP Cli: ensure that WP Cli commands added by Jetpack include translator comments when necessary, to help with translations.
-
-= 7.3.1 =
-* Release date: May 14, 2019
-* Release post: https://wp.me/p1moTy-jgO
-
-**Bug fixes**
-
-* Admin Experience: Correct underline location under a dollar sign.
-* Deprecated Hooks: Do not offer a replacement for jetpack_json_manage_api_enabled since there isn't an equal replacement.
-* Debugger: Clarify labels in the Site Health Info section.
-* Likes and Sharing: Remove duplicate control in the block editor for Likes/Sharing. We added a native block editor plugin, but left the old fallback.
-* WordPress.com Editor: Redirect to a login page when logging out from the block editor on WordPress.com.
-* WordPress.com Toolbar: Add menu icon for smaller screen widths to restore wp-admin navigation menu.
-
-= 7.3 =
-
-* Release date: May 07, 2019
-* Release post: https://wp.me/p1moTy-ipR
-
-**Major Enhancements**
-* We streamlined the default features of Jetpack to make the "out of the box" experience better.
-* WordPress 5.2 will add a new Site Health section to your dashboard. Jetpack already integrates with it, letting you know that your Jetpack features are working!
-
-**Enhancements**
-
-* Admin Experience: Improve our "just in time messages" and "Recommended Features" for new sites setting up Jetpack for the first time.
-* Admin Experience: Add an "About Jetpack" page to let folks know more about Automattic, the company behind WordPress.com and Jetpack.
-* Admin Experience: Add a link to the full list of Jetpack features in the footer of Jetpack dashboard pages.
-* Backups: Add SSH CLI command for hosting integration support.
-* Block Editor: Compose posts with the Block Editor posts via WordPress.com for their Jetpack sites!
-* Block Editor: Transform core images to Tiled Galleries or Slideshow blocks and back!
-* Block Editor: Provide an option to disable particular extensions.
-* Contact Form: Add a "grunion_after_message_sent" hook for after a form submission is e-mailed. Thanks Tim Nolte for contributing to Jetpack!
-* Contact Form: Do not prefill for administrators on their own sites.
-* Grammar and Spelling: Remove from Jetpack. We've chekced the spelling alot over the years, but now time to retire.
-* Membership Block: Add a new block behind the JETPACK_BETA_BLOCKS constant. Stay tuned!
-* Photon: Remove jQuery dependency for photon.js. Same Image CDN awesomeness with less overhead.
-* Portfolios: Remove the "Portfolio Items" description that would display on some themes.
-* Sharing: Add a "sharing_ajax_action" to to allow other plugins and scripts to render sharing buttons. Thanks Darren Cooney!
-* Social Icons: Add Stack Overflow support. Welcome to the Jetpack contributor ranks Muhammad Osama Arshad!
-* Sync: Report details on what is queued up to sync on the status endpoint.
-* Sync: Improve importer detection so we can better handle cases of imported content.
-* Sync: Add an option to disable sync for an entire network.
-* Sync: Adds new WP-CLI Jetpack Sync commands: settings, enable, disable, reset.
-* Testimonials: Sort by menu order to give site owners more flexibility for display. Thanks Felipe Elia!
-* Tiled Galleries: Add improved layout for when images are in the process of uploading.
-* Tiled Galleries: Add responsive imaging (srcset) support to the Tiled Gallery block.
-* WordAds: Add location id (e.g. under the post) to the ad calls.
-* WordPress.com API: Add behind the scene improvements to support the WordPress.com site management experience.
-* WordPress.com API: Add the public property to the Post Types endpoint response.
-* WordPress.com Menu Bar: Redesign to direct navigation items to WordPress.com instead of duplicating experiences.
-
-**Improved compatibility**
-
-* Blocks: Use the Editor's "BlockIcon" for native placeholder icons instead of custom CSS.
-* Blocks: Drop i18n wrapper, use @wordpress/i18n directly. This means it will be easier and faster to provide translated bits of text.
-* Blocks: Move block development to the Jetpack repo. You shouldn't see any changes, but this helps us make Jetpack Blocks better faster.
-* Block Editor: Improve the experience of using the Block Editor via the WordPress.com dashboard.
-* Browser Compatibility: Remove legacy code for Internet Explorer 10.
-* Coding Standards: Update our code to match the latest WordPress coding standards in various places.
-* Likes and Sharing: Add Likes and Sharing settings as a Block Editor extension.
-* Related Posts: Improve the internationalization of the "in X category" text.
-* Simple Payments: Easily convert old shortcode-style Simple Payment buttons to a block.
-
-**Bug fixes**
-
-* Admin Dashboard: Improve headings when searching for Jetpack features.
-* Admin Dashboard: Remove legacy views no longer used in Jetpack.
-* Blocks: Fix some design oddities in Form and Contact Info blocks.
-* Carousel: Allow any title to be displayed. We used to try to be smart about default file names, but that caused some problems.
-* Development Mode: Display fewer sections of the Admin Dashboard. Some simply don't apply in Development Mode.
-* Google Plus: Remove from Social Icons and Sharing since the service has retired.
-* Internationalization: Translate various sections missed, such as "just in time messages" and block search keywords.
-* Manage: Remove Manage as an independent module. These features have been fully integrated for a few versions now.
-* Multisite: Restore ability to connect subsites via the Network Admin.
-* Open Graph Tags: Prevent a PHP notice on some author pages.
-* Sharing: Improve accessibility of sharing buttons by increasing contrast ratio. Props https://titan.as
-* Sharing: Fix the alignment of the official buttons for LinkedIn and Pinterest.
-* Shortcodes: Retire the Google Video, Jetpack Subscribe, and Digg shortcodes.
-* Slideshow: Fix a JavaScript error that occurs when block is first added.
-* Slideshow: Add slideshow images to Open Graph tags when using the Slideshow block.
-* Social Icons: Remove Google+, uses the generic Google now.
-* Subscriptions: Correct conflicts that were possible with the checkboxes after a comment submission form.
-* Theme Tools: Ensure Featured Content tag is retained on a post after saving. Thanks Anis Ladram, you're a Jetpack contributor now!
-* Uninstalling Jetpack: Prevent notice about JETPACK__PLUGIN_DIR already being defined when programmatically uninstalling Jetpack. (But why would you uninstall?)
-* Widgets: Remove the Cookies & Consents Banner (not just hide it) after consenting. Thanks Tony Tettinger!
-
-
-= 7.2.1 =
-* Release date: April 04, 2019
-* Release post: https://wp.me/p1moTy-h7o
-
-* Feature Hints: display suggestions only for features available under the site's current plan.
-* Feature Hints: improve visual display to make more distinct from search results.
-* Feature Hints: disable hints once administrators have dismissed three hints.
-* Slideshow Block: resolve an issue that broke navigating between images.
-
-= 7.2 =
-
-* Release date: April 02, 2019
-* Release post: https://wp.me/p1moTy-foe
-
-**Major Enhancements**
-
-* Adds a Repeat Visitor block that controls block visibility based on how often a visitor has viewed the page.
-* New option to disable Ads blocks for visitors on mobile devices.
-
-
-**Enhancements**
-
-* Admin Dashboard: improve text and design to make your administration experience all the better.
-* Jumpstart: streamline what features are suggested to be activated when setting up Jetpack for the first time.
-* Password Checker: adds a password checker class that will help Jetpack let you know if you're using a weak password. More about this coming in a future release!
-* Plans: refactor how Jetpack Plans are coded within Jetpack to improve performance and help prevent any future bugs.
-* Post Images: provide the image itself when requesting an attachment's post image.
-* REST API: Enable Likes and Sharing meta field for all post types.
-* Related Posts: improve HTML markup for related posts, with emphasis on accessibility.
-* Search: add an easy way to see the raw Jetpack Search query results in the search page's source code.
-* Shortcodes: allow links in Quiz shortcode explanations.
-* Widgets: improve the text for the Blog Stats widget when stats data can not be retrieved from WordPress.com.
-
-**Improved compatibility**
-
-* General: require WordPress 5.0! To celebrate, we cleaned out some compatibility code that supported older versions. We know how to party.
-* General: update various parts of Jetpack to fully align with WordPress coding standards to make developing Jetpack easier!
-* Connection: notify site owners when a plugin or theme is double-encoding URL redirects.
-* Shortcodes: update the Ustream shortcode to use the HTML5 player for a better experience on all browsers.
-* Shortcodes: add AMP support for Crowdsignal polls and shortcodes.
-* Sitemaps: add thumbnails to video sitemaps to improve compatibility with Google Search Console. Props Adam Heckler!
-* Sync: improve performance when using the VIP Legacy Redirect plugin.
-* Twenty Nineteen Compatibility: prevent sharing buttons overlapping with the Like button. Props Torres!
-* VideoPress: update right-to-left language CSS to remove extra styles only used on browsers no longer supported.
-* Widgets: improve rendering of Contact Info widget map when using the AMP plugin.
-
-**Bug fixes**
-
-* Admin Dashboard: fix an error that you'd see in the console when changing your Carousel settings.
-* Blocks: fix an issue where sometimes we would attempt to register a particular block twice. I'm looking at you, Related Posts.
-* Blocks: display all Business Hours details, even if they're the default set.
-* Blocks: fix an error that occurred when loading some translations in the Block Editor.
-* Blocks: resolve a conflict between the Ads block and infinite scroll that would cause new posts to sometimes not load.
-* General: ensure the proper Jetpack plan is reflected throughout Jetpack and the administrative dashboard.
-* Plugin Search: display Akismet and VaultPress plugin cards when WordPress.org suggests them.
-* Publicize: remove unused assets, like images and JavaScript that aren't needed anymore.
-* Related Posts: restore use of the jetpack_relatedposts_filter_options filter.
-* Security: Improvements to the Likes feature and the Slideshow block.
-* Sharing: update WhatsApp to be more consistent with the other sharing buttons.
-* Shortcodes: remove Lytro service, which closed in March.
-* Stats: properly handle an error from the REST API that sometimes caused issues with the Stats Dashboard.
-* Widgets: display all characters in an address from Contact Info correctly when sometimes we encoded those that we'd expect in an URL.
-* Widgets: improve the performance of the Contact Info widget by eliminating unused JavaScript.
-
-= 7.1.1 =
-
-* Release date: March 06, 2019
-* Release post: https://wp.me/p1moTy-foJ
-
-**Bug fixes**
-
-* General: avoid conflicting with other plugins when suggesting Jetpack features on the Plugins screen.
-* Publicize: avoid errors when the feature is not active on a site.
-* Widgets: improve performance of the Top Posts and the Blog Stats widgets on high-traffic sites.
-* Subscriptions: fix an issue that prevented displaying subscribers count in the subscription forms.
-* Tiled Galleries / Slideshows: ensure they can be displayed properly in Internet Explorer 11.
-
-= 7.1 =
-
-* Release date: March 05, 2019
-* Release post: https://wp.me/p1moTy-e9x
-
-**Major Enhancements**
-
-* Block Editor: this release introduces 6 new blocks:
- - the Ads block allows you to insert different ads from [our WordAds program](https://jetpack.com/support/ads/) within your posts and pages.
- - the Mailchimp block allows your readers to easily subscribe to your Mailchimp newsletter.
- - the Video block supports VideoPress videos if you've purchased our Premium or Professional plan.
- - the Slideshow block allows you to insert beautiful slideshows in your posts and pages.
- - The Business Hours blocks is useful for companies who want to display their business's Opening Hours on their site.
- - The Contact Info block is useful for any business who may want to display useful information on a post or page.
-
-**Enhancements**
-
-* Admin Page: move Carousel settings from Performance to Writing section.
-* Ads: include search results pages under the `Archive` toggle.
-* Block Editor: improve block registration structure for better management of block availability.
-* General: remove IE8 support fallbacks.
-* General: add feature suggestions to the plugin search screen.
-* Image CDN: add new mode that disables the creation of resized images, thus saving disk space.
-* Instagram: update embed to support Instagram TV URLs.
-* Post Images detection: add support for alt text.
-* Plans: clarify upgrade prompts in the Jetpack dashboard's Plans page.
-* Publicize: remove the Google+ interface as the Social Network is now deprecated.
-* Related Posts: update block to allow for up to 6 related posts.
-* Social Menus & Icons: add Discord Support.
-* Support: add additional tests to check when Jetpack isn't working as expected and ensures all current debugging platforms use the same testing list.
-* Simple Payments: add generic currency fallback symbol.
-* Sync: further performance improvements in PHP 7+ environments.
-* Woocommerce Analytics: include product type with analytics data.
-
-**Improved compatibility**
-
-* General: replace all .dev TLD references by .test as the .dev TLD will soon become available for registration.
-* PHP 7.3: introduce automated testing for PHP 7.3.
-* Site Accelerator: ensure compatibility with the AMP plugin.
-* Twenty Nineteen: fix Top Posts and Pages Widget image list margins.
-* WordPress 5.1 Compatibility: update usage of `wp_schedule_single_event` to match changes in WordPress.
-
-**Bug fixes**
-
-* Copy Post: ensure the feature can be used when using non-standard post formats.
-* Infinite Scroll: fix vertical spacing for new posts loaded with Infinite Scroll.
-* Internationalization: fix minor problem affecting translations in the block editor.
-* Mobile Theme: fix PHP notices when trying to display gallery images.
-* Mobile Theme: fix redirection issues when clicking on the "Desktop version" links.
-* Photon: add paypalobjects.com to the list of banned domains, as this domain already relies on a CDN.
-* Publicize / Subscriptions: do not show message at the top of the editor when creating a private post.
-* Spelling / Grammar: fix error when spellchecking the contents of a Classic block in the block editor.
-* Top Posts: allow fetching posts from a long timeframe when using the `jetpack_top_posts_days` filter.
-* Related Posts: avoid display a dulplicated set of related posts when using the Related Posts block.
-* REST API: fix a bug causing Likes settings on a post to sometimes be flipped.
-* Security: fix an XSS vulnerability in the "My Community" widget.
-* Security: avoid bypassing Protect's Math Fallback challenge.
-* Site Stats: do not show the Jetpack logo in the Stats dashboard widget title in the Screen Options tab.
-* Theme Tools: support alternative Pinterest domain extensions in the Social Menus tool.
-* Widgets: support alternative Pinterest domain extensions in the Social Icons Widget.
-* Widgets: update the Cookies & Consents Banner to be fully accessible on mobile devices.
-
-= 7.0.1 =
-
-* Release date: February 14, 2019
-* Release post: https://wp.me/p1moTy-eFX
-
-**Improved compatibility**
-
-* Publicize: update LinkedIn connections to use newer API, anticipating changes with LinkedIn's API v1 on March 1st.
-* Publicize: display a message inviting site owners to reconnect their site to their LinkedIn profile.
-* Publicize: remove section in Settings > Sharing in the dashboard.
-
-**Bug fixes**
-
-* Tiled Galleries: avoid errors when converting a tiled gallery into a block.
-* Security: ensure json_encode()d data safely output to the page.
-* Shortlinks: do not show Jetpack Sidebar in the block editor if Shortlinks are not available.
-* Sync: avoid errors in WordPress' code editor, for sites using PHP 7 with `fastcgi_finish_request` enabled.
-
-= 7.0 =
-
-* Release date: February 05, 2019
-* Release post: https://wp.me/p1moTy-dqO
-
-**Major Enhancements**
-
-* Block Editor: introduce a new Gif block to help you quickly search and add Gif images to your posts.
-* Copy Post: this new feature allows you to quickly create a new draft based on a post that's already published.
-
-**Enhancements**
-
-* Block Editor: update the way we check for available blocks and extensions.
-* Connection flow: display a notice upon connection when the site is suspended.
-* Contact Form: add more options to customize the look of the submit button.
-* Likes / Publicize: in the Jetpack Dashboard, add explanation to clarify the role of the features.
-* REST API: add likes and sharing settings to the REST API Post response.
-* Sharing: deprecate the Google+ sharing Button.
-* Sharing: deprecate the Google+ embed shortcode.
-* Shortcodes: rely on WordPress Core to handle SlideShare slideshow embeds.
-* Shortcodes: cache the output of the Twitter shortcode.
-* Subscriptions: remove obsolete polyfill JavaScript from the Subscriptions form.
-* Subscriptions: allow more customization of the subscription form's submit button.
-* Sync: improvements to the synchronization of plugin and theme updates.
-* Sync: improve performance for sites using PHP 7, with `fastcgi_finish_request` enabled.
-* Sync: synchronize plugin and theme fatal errors reported by WordPress 5.1.
-* Widgets: deprecate the Google+ widgets.
-* WordPress.com: allow the display of plugin action links in the WordPress.com plugins' interface.
-
-**Improved compatibility**
-
-* Lazy Images: fix a compatibility issue with themes that overwrite classes on html.
-* Contact Form: ensure contact form submissions with long words do not break the site layout, regardless of the theme.
-* Publicize: remove the option to connect your site to a Google+ account, in anticipation of the service's shutdown.
-
-**Bug fixes**
-
-* Admin Page: avoid PHP notices when looking at non-Jetpack admin pages.
-* Carousel: fix display issue when viewing images with long captions.
-* Carousel: avoid errors when fetching comments in the Carousel modal.
-* CSS: fix the behavior of the CSS concatenation filter.
-* Multisite: fix the display of the main connection banner.
-* Protect: ensure the Math fallback is displayed when necessary.
-* Publicize: avoid Fatal Errors on sites using Development Mode.
-* Responsive videos: do not apply for videos that benefit from WordPress' own Responsive Embeds solution.
-* Shortcodes: only load Mailchimp CSS when needed.
-* Subscriptions: display subscription options below the comment form, even when you are logged in to your WordPress account.
-* WordPress.com REST API: add new endpoint to allow the creation of a WooCommerce connection via the API.
-
-= 6.9 =
-
-* Release date: January 10, 2019
-* Release post: https://wp.me/p1moTy-cEZ
-
-**Major Enhancements**
-
-* Block Editor: this release introduces new blocks: a Subcription form block, a Tiled Gallery block, and a Related Posts block.
-
-**Enhancements**
-
-* Admin Page: several changes to improve navigation and connection flows for new and existing Jetpack site owners.
-* Admin Page: make the Jetpack dashboard wider on large screens for a better experience.
-* Affiliate tools: offer options for affiliate partners to manage affiliation links on their site.
-* Carousel: add support for the new Tiled Gallery block.
-* Contact Form: use the comment blacklist to filter contact form submissions.
-* Dashboard notices: automatically dismiss notices once a feature has been activated.
-* Dashboard notices: fix styling to work better with the Hello Dolly plugin.
-* Internationalization: add new locales, ensure existing ones are up to date.
-* REST API: new endpoint to expose Gutenberg block and plugin availabilty.
-* Search: add hook to get_filters() to allow the use of custom filters.
-* Shortcodes: add new Mailchimp shortcode to insert Mailchimp subscription forms anywhere in your posts and pages.
-* SSO: offer message introducing the feature to new users.
-* Stats: improve the design of the Stats dashboard widget.
-* Widgets: add filter to set DoNotTrack in Twitter Timeline widget.
-* WordPress.com REST API: add new option to set sites to private.
-
-**Improved compatibility**
-
-* AMP: ensure that all Jetpack features are compatible with the latest version of the AMP plugin. Solves issues previously encountered with sharing buttons and stats.
-* Images: ensure that images inserted with new block editor can be used in Open Graph Meta tags, Related Posts, and Publicized posts.
-* PHP 7.3: avoid PHP warnings so the plugin can be fully compatible with the latest version of PHP.
-* Sharing: do not add Jetpack's Twitter Meta Tags when the WP To Twitter plugin is active.
-* Twenty Nineteen: additional style adjustments to make sure all Jetpack widgets look good with the theme.
-* WooCommerce: do not include product reviews in comment counts in the WordPress.com REST API.
-
-**Bug fixes**
-
-* Admin Page: update feature limits mentioned when disconnecting Jetpack from WordPress.com
-* Block Editor: fix loading of translations in the editor when Jetpack's Site Accelerator feature is active.
-* Carousel: ensure that Carousel works well with the Gallery block in the new block editor.
-* Carousel: do not open modal when clicking on a link in a caption
-* Publicize: improve synchronization of sharing settings with WordPress.com.
-* Publicize: only display Gutenberg Publicize UI to users with the correct permissions.
-* Responsive videos: don't load if theme supports core responsive embeds.
-* Search: fix fatal error when the Search Widget is enabled while the site is in Development Mode.
-* Sharing: update Tumblr official sharing button.
-* Shortcodes: update YouTube shortcode to support more video link formats.
-* Shortlinks: add the option to view shortlinks in the block editor.
-* Simple Payments: only register block when all needed data is available.
-* Widgets: only load Social Icons widget scripts and styles when necessary.
-* WooCommerce Analytics: avoid Fatal Errors in some specific site setups.
-* WooCommerce Analytics: improve performance by avoiding unnecessary calls to the feature when it is not needed.
-
-= 6.8.1 =
-
-* Release date: December 6, 2018
-* Release post: https://wp.me/p1moTy-d3t
-
-**Bug fixes**
-
-* Contact Form: security changes to improve the display of success messages after submitting a form.
-* Publicize: avoid Fatal errors when trying to create or edit posts from a Custom Post Type that supports Publicize.
-* Sync: improve synchronization of WooCommerce events.
-* WordPress.com REST API: handle WooCommerce Product reviews for a better display in apps that use the API.
-
-= 6.8 =
-
-* Release date: November 27, 2018
-* Release post: https://wp.me/p1moTy-cee
-
-**Major Enhancements**
-
-* This release introduces the first wave of Jetpack blocks built for the new block editor, available in WordPress 5.0.
-
-**Enhancements**
-
-* General: improve ability to create and troubleshoot Jetpack connections.
-* REST API: new endpoint for testing the Jetpack connection.
-
-**Improved compatibility**
-
-* Akismet: improve caching of all queries for Akismet status.
-* Spellcheck / Grammar: we've made sure the Jetpack feature did not create any error when using the block editor.
-* Twenty Nineteen: ensure compatibility with Jetpack's widgets.
-
-**Bug fixes**
-
-* Asset CDN: do not try to serve assets from non-public versions.
-* Carousel: handle galleries created via the Gallery block in the new block editor.
-* Photon: make sure our image CDN is fully compatible with the block editor.
-
-= 6.7 =
-
-* Release date: November 6, 2018
-* Release post: https://wp.me/p1moTy-aEq
-
-**Major Enhancements**
-
-* Site acceleration: new toggle to serve both your images and static files (like CSS and JavaScript) from our CDN.
-* Activity: update Jetpack dashboard to include links to our Activity page, where you can view a record of every change and update on your site.
-
-**Enhancements**
-
-* Admin page: add site Activity card.
-* Blocks: provide a mechanism so editor blocks can be translated.
-* Blocks: enqueue Jetpack blocks in the block editor when blocks are available.
-* Debug tools: add information about missing XML extension in self-help tools.
-* REST API: introduce endpoint for retrieving related posts of a particular post.
-* Search: add an advanced `excess_boost` param which can be adjusted with filters to fine tune query scoring.
-* Sharing / Publicize: change the icons used in the Jetpack dashboard to clarify where the configuration links lead.
-* Secure Sign On: update wording on admin pages to avoid confusion.
-* Shortcodes: update the Polldaddy shortcode to use the new brand, Crowdsignal.
-* Sitemaps: coding standards changes.
-* Site Verification Tools: improve display of the tool's description on mobile devices.
-* Unit Tests: improve process for faster tests.
-
-**Improved compatibility**
-
-* Themes: ensure compatibility between Jetpack features and the new WordPress default theme, Twenty Nineteen.
-* AMP: add support for GitHub's Gist shortcodes.
-* PHP 7.3: update Infinite Scroll to avoid PHP warnings when using the latest version of PHP.
-* Protect: fix output of Protect's Math challenge on login forms created by third-party plugins.
-* Plugins: add a WordPress.com themed plugins page for users managing their plugins via the WordPress.com interface.
-* Site Verification Tools: do not enable Google's Auto-verification option when a site using a maintenance / coming soon plugin.
-
-**Bug fixes**
-
-* Blocks: update the VR block to be fully compatible with the latest version of WordPress and Gutenberg.
-* Comment Likes: only prefetch domains used by the feature.
-* CSS Concatenation: make sure all concatenated CSS is up to date.
-* Featured Content: no longer hides the "featured" tag from the WordPress.com Editor or the mobile apps.
-* Geolocation: avoid a PHP notice when setting location for a post in the WordPress.com post editor.
-* Likes: ensure that the Likes column is accessible.
-* REST API: Ensure only strings as escaped as URLs.
-* Search: avoid PHP warning with Search widget.
-* Sharing: improve accessibility of email sharing button.
-* Simple Payments / Widget Visibility: avoid potential Fatal errors on some specific server configurations when updating Jetpack.
-* Sitemaps: remove double encoding of site name in news sitemap.
-* Sitemaps: ensure homepage is only included once.
-* Sitemaps: provide richer "not found" message to site admins.
-* Sitemaps: ensure sitemap is refreshed faster after upgrading Jetpack.
-* Sitemaps: avoid protocol mismatches between the sitemaps and the site.
-* Site Verification Tools: make sure we validate meta tags when saving.
-
-= 6.6.1 =
-
-* Release date: October 10, 2018
-* Release post: https://wp.me/p1moTy-aEt
-
-**Bug fixes**
-
-* Sitemaps: improve initial sitemap creation process.
-* Widgets: fix missing CSS for the Social Icons Widgets.
-
-= 6.6 =
-
-* Release date: October 9, 2018
-* Release post: https://wp.me/p1moTy-aa1
-
-**Major Enhancements**
-
-* Verification Tools: enable one-click site verification and sitemap.xml registration with Google.
-
-**Enhancements**
-
-* Admin Interface: update all Jetpack settings screens to use a similar design.
-* API: add flags to determine if Jetpack Search is enabled and supported.
-* CDN: First Beta version of the Photon CDN -- Speed up sites and increase max concurrent connections through Photon by cloud-hosting Jetpack and WordPress Core scripts, styles, and assets.
-* Contact Form: add filters to allow customizing the class attributes of inputs and buttons.
-* General: add more constants to error log for the Jetpack test suite.
-* Gutenberg: add infrastructure necessary to add new blocks via Jetpack.
-* Lazy Images: load the placeholder via the `srcset` attribute instead of the `src` attribute.
-* Masterbar: add link to Activity Log.
-* Publicize: the Path Social Network is closing in October. The option has consequently been removed from the Publicize interface.
-* Search: improve the feature activation process.
-* Search: update the admin interface to give more information about what the feature does and how it can be used.
-* Simple Payments: update all mentions of the product for a more consistent naming convention and less confusion for both site owners and translators.
-* Sync: log action when an attachment is added to a post for the first time.
-* Sync: add URL details to synchronization requests.
-* Sync: detect if a post is saved via Gutenberg when synchronizing post events.
-
-**Improved compatibility**
-
-* Shortcodes: update Mailchimp shortcode to match the new format offered by Mailchimp.
-
-**Bug fixes**
-
-* CSS Concatenation: add Authors and Social Icons widgets to concatenated styles.
-* Featured Content: avoid registering duplicate Post Types.
-* Geo Location: only enqueue Dashicons when necessary.
-* Google Analytics: do not output tracking code when the "Enhanced eCommerce" option is active, but the WooCommerce plugin is not.
-* Infinite Scroll: add a Privacy Link to the site's footer if a Privacy Policy was set up via WordPress's privacy options.
-* Infinite Scroll: fix video playback of VideoPress videos loaded via Infinite Scroll.
-* Protect: fix layout of legend that prompts the user to solve the math fallback so it works better in all languages.
-* Responsive Videos: avoid PHP notice.
-* Sharing: do not record stats if the stats module is disabled.
-* Sharing: allow saving sharing button options on media edit page as well.
-* Shortcodes: ensure we build minified and RTL stylesheets for slideshows.
-* Simple Payments: Stop contributors from creating inaccessible buttons with a "pending" post status.
-* Sitemaps: no longer add images attached to non-published posts to the image sitemap.
-* Slideshows: ensure arrows point in the right direction for RTL Languages.
-* Sync: avoid PHP notices when synchronizing user information.
-* VideoPress: avoid duplicate rel attributes in links.
-* VideoPress: do not block access to the Video settings for our customers using a 2-year plan.
-
-= 6.5 =
-
-* Release date: September 4, 2018
-* Release post: https://wp.me/p1moTy-a7U
-
-**Major Enhancements**
-
-* WordAds: Added ability to include custom ads.txt entries in the ads module.
-
-**Enhancements**
-
-* Admin Page: Added ability to disable backups UI by filter when VaultPress is not activated.
-* Comments: Moved the Subscription checkboxes on a comment form from after the submit button to before the submit button.
-* General: Removed the outdated "Site Verification Services" card in Tools.
-* General: Removed jetpack_enable_site_verification filter. We recommend filtering access to verification tools using jetpack_get_available_modules instead.
-* General: Simplified the logic of Jetpack's signed HTTP requests code.
-* Lazy Images: Updated lazy images to use a default base64 encoded transparent to reduce a network request.
-
-**Improved compatibility**
-
-* Geo Location: Fixed a compatibility issue with other plugins that added meta attributes to site feeds with the `rss2_ns`, `atom_ns` or `rdf_ns` filters.
-
-**Bug fixes**
-
-* AMP: Fix PHP notice when rendering AMP images with unknown width and height.
-* Contact Forms: We fixed an issue where personal data eraser requests didn't erase all requested feedback.
-* General: Improves compatibility with the upcoming PHP 7.3.
-* General: Updated input validation for meta tags given in site verification.
-* Lazy Images: Deprecated jetpack_lazy_images_skip_image_with_atttributes filter in favor of jetpack_lazy_images_skip_image_with_attributes to address typo.
-* Sharing: Fixed duplicate rel tags on Sharing links.
-* Search: Fixed an issue where a CSS and JavaScript file could be enqueued unnecessarily if the Search module was activated and if the site was using the Query Monitor plugin.
-* Shortcodes: Updated Wufoo Shortcode to always load over https and use async form embed.
-* Widgets: Fixed excessive logging issue with Twitter Timeline widget.
-* Widgets: Removed cutoff date check for Twitter Timeline widget as it is no longer necessary.
-* Widgets: Added decimal precision validator to Simple Payments Widget price field on the Customizer for supporting Japanese Yen.
-
-= 6.4.2 =
-
-* Release date: August 10, 2018
-* Release post: https://wp.me/p1moTy-9pL
-
-**Bug fixes**
-
-Comments: We fixed an error that broke functionality of Social Login for comments.
-
-= 6.4.1 =
-
-* Release date: August 8, 2018
-* Release post: https://wp.me/p1moTy-9pc
-
-**Bug fixes**
-
-Comments: We fixed an error that broke functionality of nested comments.
-
-= 6.4 =
-
-* Release date: August 7, 2018
-* Release post: https://wp.me/p1moTy-9md
-
-**Enhancements**
-
-* Connection: Updated connect splash screen with new content.
-* Sharing: Sharing section in wp-admin will now redirect to Calypso instead.
-* Docs: Added documentation for retrieving provision status of a site.
-* Shortcodes: Added oEmbed support for flat.io.
-* Widgets: Added `jetpack_top_posts_widget_layout` filter that allows you to create a custom display layout for the Top posts widget.
-* Privacy tools: Identify the data export/erasure callbacks for Feedback posts using associative keys, to better match the convention in Core.
-* Privacy tools: Added the `grunion_contact_form_delete_feedback_post` filter hook to allow specific Feedback posts to be bypassed during data erasure requests, similar to the `wp_anonymize_comment` filter in Core.
-* Contact Fork: Disabled random table optimizations on core tables.
-
-**Improved compatibility**
-
-* AMP: Improved AMP compatibility for Comments iframe.
-* General: The SEO Framework is no longer a conflicting Open Graph plugin and is now better compatible with Jetpack.
-
-**Bug fixes**
-
-* Shortcodes: Removed extra black bars from YouTube embeds as controls are inside the container now.
-* Simple Payments: Fixed the custom post type bug that affected Simple Payments widget for 2 year subscriptions.
-* Simple Payments: Fixed site failure which happens on Multisite installation with Simple Payments widget.
-* Simple Payments: Fixed syntax and misc compatibility issues with Simple Payments widget on PHP 5.2.
-* Simple Payments: Added warning for admin users if Simple Payments is not enabled but there are products published on pages/posts as a widget.
-* Lazy Images: Fixed an issue with images not loading while updating quantity in WooCommerce shopping cart.
-* Lazy Images: Fixed centered images that do not crop properly when no JavaScript is enabled.
-* General: Fixed auto scrolling to top when following the Quick Tour buttons.
-* General: Removed ability to set custom name for Site Identity section.
-* General: Added advanced control capabilities to image extraction from posts.
-
-= 6.3.3 =
-
-* Release date: July 30, 2018
-* Release post: https://wp.me/p1moTy-9n0
-
-**Facebook API Maintenance**
-
-On the 1st of August, 2018 Facebook sunsets its API allowing to post updates to your Profile Page. Only the API allowing to post to Facebook Pages will remain. This required several changes to Jetpack that we are presenting in this release:
-
-* Publicize: making sure we are handling existing connections gracefully.
-* Publicize: using logo font instead of images to make the UI up to date and mobile ready.
-* Publicize: removing the ability to select Facebook Profile connections in the UI.
-
-**Bug fixes**
-
-* General: properly handle Jetpack connection owner transition process.
-
-= 6.3.2 =
-
-* Release date: July 4, 2018
-* Release post: https://wp.me/p1moTy-96E
-
-**Bug fixes**
-
-* Simple Payment: Fix compatibility issues with PHP versions 5.3 and below
-
-= 6.3 =
-
-* Release date: July 3, 2018
-* Release post: https://wp.me/p1moTy-8ag
-
-**Major Enhancements**
-
-* Simple Payment: Added Simple Payment Products as Widgets, with the option to manage them via the Customizer.
-
-**Enhancements**
-
-* Connection: Added a new connect splash screen content.
-* Jetpack Dashboard: We removed the labels reading 'PAID' in order to introduce a better way to remark paid features.
-* General: Added support to display geo-location data added to posts and pages with Calypso.
-
-**Improved compatibility**
-
-* Protect: We solved an issue related to interaction with bbPress when trying to log in via a bbPress login widget. You would get redirected a few times to log in again after solving the math puzzle.
-
-**Bug fixes**
-
-* Comments: Implemented Core WordPress' Comment Cookie Consent Checkbox in Jetpack Comments.
-* General: We solved an issue that arised when using the Front End Editor feature plugin. A fatal error wass thrown due to us assuming the `enter_title_here` filter would only run within wp-admin.
-* General: Fixed a compatibility problem between WordPress TinyMCE and Jetpack Markdown when visiting the WordPress Dashboard.
-* Lazy Images: Fixed behavior for when JavaScript is disabled.
-* Markdown: We fixed the naming of the class used for code blocks that specify a language.
-* Simple Payments: Fixed an error when the user had published Simple Payment Products but their Professional Subscription had expired.
-* Sitemap: We fixed the format of the date shown for videos on the video sitemap.
-* Stats: We fixed the width of the Stats page for wide screens.
-
-= 6.2.1 =
-
-* Release date: June 8, 2018
-* Release post: https://wp.me/p1moTy-8am
-
-
-**Bug fixes**
-
-* AMP: We fixed the rendering of the stats pixel for legacy, non-paired, non-canonical AMP pages.
-* Shortcodes: Fixed a fatal coming form the VR shortcode when using the Gutenberg editor in the frontend.
-
-= 6.2 =
-
-* Release date: June 5, 2018
-* Release post: https://wp.me/p1moTy-88v
-
-**Major Enhancements**
-
-* Shortcodes: Added Gutenberg block for the [vr] shortcode.
-
-**Enhancements**
-
-* AMP: Allow Jetpack features to work on AMP pages, and prevent Jetpack features from rendering to the front end at all.
-* Content Options: We now exclude Custom Post Types like Portfolio and Testimonial when we toggle content/excerpt via the Blog Display option in the customizer.
-* Cookies & Consent Widget: Added a "top" option for the cookie widget position. The existing bottom of the screen position is the default.
-* Tiled Galleries: use Photon if active when a Tiled Gallery links to media file.
-
-**Improved compatibility**
-
-* Widgets: Deprecated the use of Widget IDs in the Twitter Timeline Widget given that Twitter deprecates Widget IDs on July, 27th 2018.
-
-**Bug fixes**
-
-* Contact Form: Fixed an issue with undefined variables and a warning being logged when submitting the Contact Form.
-* Contact Form: Fixed scrolling/height for very large contact forms.
-* Widgets: Fixed Cookies & Consent Widget's bottom margin for themes that set a specific margin for forms.
-* Related Posts: Made it not try to fetch related posts for an unpublished post.
-* Sharing: Fixed an issue that resulted in wrong URLs for sharing on WhatsApp.
-* Sharing: Fixed the way we check if Akismet is active and has a valid key by caching the result of the verification.
-* Shortcodes: Fixed the Facebook shortcode in wp-admin.
-* Widget Visibility: Fixed styling for MS Edge.
-* Widgets: Removed .widget class from Cookies and Consent widget styles since .widget is not used in every theme.
-
-= 6.1.1 =
-
-* Release date: May 22, 2018
-* Release post: https://wp.me/p1moTy-85t
-
-**Enhancements**
-
-* Ads: Added new setting for Banner consent expiration. Added new filter jetpack_disable_eu_cookie_law_widget, which can be used to disable the banner.
-* Ads: Added a new personalized-ads-consent cookie for ads-enabled sites.
-* Ads: Added requirement and notice, and button-click opt-in for ads module users.
-* Ads: When a user site has a Privacy Policy page set (introduced in 4.9.6), we now default to using that privacy policy as a custom policy URL.
-* GDPR: A new warning is displayed while configuring an instance of the EU Cookie Law widget: "Caution: The default policy URL only covers cookies set by Jetpack. If you're running other plugins, custom cookies, or third-party tracking technologies, you should create and link to your own cookie statement."
-* GDPR: Added Feedback data (i.e., Contact Form Submissions) to the Personal Data exported and/or erased by the latest version of WordPress core.
-
-**Bug fixes**
-
-* Ads: We updated Ads behavior to not show unless the visitor is on the main query within the loop.
-* General: We fixed a bug that resulted in an alert box showing for sites set to languages deriving from main ones.
-* Lazy Images: Fixed a bug where images would disappear when scrolling.
-* Sharing: make sure JS files can be loaded on development sites.
-* Sharing: Added check for validating Akismet key before allowing sharing by email.
-* WooCommerce Analytics: Fixed PHP warning when attemping to get a list of plugins.
-
-= 6.1 =
-
-* Release date: May 1, 2018
-* Release post: https://wp.me/p1moTy-7Sj
-
-**Major Enhancements**
-
-* WordAds: Introduced shortcode for inline Ad placement.
-* WordAds: Added support for the ads.txt file.
-
-**Enhancements**
-
-* Dashboard: We improved the styles of status numbers so it doesn't look like floating.
-* JSON API: Added support for Google My Business integration available on WordPress.com.
-* Masterbar: We removed the Next Steps link from the Account sidebar.
-* Publicize: Let the user know that we are going to send emails to subscribers and publicize to the different accounts.
-* Settings: Added "Privacy Information" links to each Jetpack module/feature card.
-* Shortcodes: Mixcloud shortcode now uses oEmbed.
-* Stats: Added a new filter jetpack_honor_dnt_header_for_stats, which if enabled would not track stats for visitors with DNT enabled.
-* Sync: Removed requirement for gzencode.
-* Widgets: always load script via HTTPS for Gravatar Hovercards.
-
-**Improved compatibility**
-
-* Social Icons Widget: Improved support on screen reader text for themes that do not provide support out of the box.
-* Sharing: Removed the sharing and like display functionality from Cart, Checkout, and Account WooCommerce pages.
-
-**Bug fixes**
-
-* Admin Page: We fixed the internationalization of the plans page.
-* Ads: We fixed a problem that impeded Premium Plan customers to activate Google Analytics.
-* Auto Updates: We fixed a warning being thrown due to a bad concatenation of strings.
-* General: Fixed a warning that was being logged due to attempting to use in_array() over a variable that didn't always contain an array.
-* General: Fixed Warning: count(): Parameter must be an array or an object that implements Countable showing on PHP 7.x.
-* JSON API: Fixed internationalization on embed endpoint.
-* Theme Tools: Show featured images in WooCommerce pages when Display on blog and archives is turned off for Themes that support this feature.
-* Publicize: Avoid adding Publicize post meta when a post transitions to publish and it is not a publicize-able post type.
-* Settings: Fixed the icon representing the minimum plan needed for SEO and Google Analytics features.
-* Slideshow: Fixed an invalid argument supplied for foreach() warning.
-* SSO: We fixed the name of a filter which contained a typo before. The filter is now named: `jetpack_sso_auth_cookie_expiration`.
-* SSO: Fixed some cases where we were not handling secure cookies for sites running over https.
-* Sync: Fixed Warning: Invalid argument supplied for foreach().
-* Sync: Fixed Warning: Warning: json_encode(): recursion detected.
-* WooCommerce Analytics: fixed broken Remove From Cart link.
-
-= 6.0 =
-
-* Release date: April 3, 2018
-* Release post: https://wp.me/p1moTy-7xM
-
-**Major Enhancements**
-* Admin Page: Introduced a new Privacy admin page linked at the bottom of the Jetpack dashboard.
-* Admin Page: Introduced a Privacy toggle that allows the user to disable event tracking.
-* Widgets: Added new Social Icons widget and deprecated old Social Media Icons widget.
-
-**Enhancements**
-
-* Activity Log: Started syncing comment untrashed and comment unspammed events.
-* Admin Page: Added inline module settings for plan welcome page.
-* Admin Page: Removed Javascript patterns previously used in the Admin Page that should improve performance lightly (bind pattern).
-* Admin Page: Made Jetpack Monitor setting management easier by adding a simple toggle.
-* Admin Page: Moved the button for closing the Jumpstart modal closer to the dialog so it's more visible.
-* Admin Page: Updated the "install and activate" link in the Backups card to be a functional link matching the "Set up" button.
-* Admin Page: Updated notices style to be more accessible.
-* Admin Page: We now show a link to see all plans on small screens.
-* Admin Page: Settings in Jetpack dashboard now feature contextual help and a link to learn more about it.
-* Ads: Added site id to head meta.
-* Comments: Improved accessibility of comments form by adding title attributes.
-* Connect: Removed account creation links from below the Set Up Jetpack buttons.
-* General: Show correct available status in Jetpack modules list if module is not supported by current plan.
-* General: Removed holiday snow module.
-* General: Return error in wp-cli if activating a module that is not supported by the current plan.
-* Google Translate Widget: Made sure the widget is responsive by default.
-* JITM: We now allow specifying that a jitm can be opened in a new window, or the same window.
-* JITM: We now don't use all caps for buttons text.
-* Likes: Removed Likes from Jumpstart.
-* Likes/Sharing: Moved metabox in post editor to the right side for a better fit.
-* Masterbar: Made the Sign Out link in the Master always log you out from WordPress.com.
-* Publicize: Made styling of Publicize more consistent with wp-admin.
-* Protect: Started blocking XML RPC requests when they get marked as blocked by Protect.
-* Search: Made the Search widget available whether or not Extra Sidebar Widgets is enabled.
-* SEO Tools: Removed SEO Tools from Jumpstart
-* Shortcodes: We now load Twitters widget.js over https.
-* Subscriptions: We've made it a better experience if you try to subscribe to a site you are already subscribed to.
-* Sync: Stopped syncing personal data coming from WooCommerce orders.
-* VideoPress: Default to grid view when linking to upload videos
-* Warm Welcome: Added Search to the features listed on the Warm Welcome dialog for Professional Plan.
-* Widgets: Added rel=noopener attribute to links in the Display WordPress Posts widget if set to open in a new window.
-
-
-**Improved compatibility**
-
-* bbPress: Markdown support added for bbPress CPTs.
-* PHP 7.1: Fixed an error coming from one of our json-api endpoints.
-
-**Bug fixes**
-
-* Admin Page: Fixed Dashboard connection card from showing text that overflows the card.
-* Admin Page: Fixed directory separator character used when displaying the site URL on the disconnect dialog.
-* Admin Page: Fixed an issue by which clicking the back button on a page visited after the Admin Page would result in the Admin Page being rendered with cached data.
-* Admin Page: Don't show a Set Up button when searching for modules that are inactive in Jetpack Settings page. The Set Up button is meant for paid features coming from plugins.
-* Admin Page: Make it clear when tracking begins in the connetion dialog.
-* Admin Page: Hide the date range tabs when the initial dialog is shown.
-* Admin Page: Fixed the positioning of popovers in the Jetpack Settings page.
-* Admin Page: Fixed a bug with the Ads settings toggle.
-* Admin Page: Fixed a display issue for the custom user capability "jetpack_connect".
-* Admin Page: Made sure translations are properly applied to several phrases.
-* Connection Banner: Updated style to better fit wide screens.
-* Connection Banner: Added illustration SVGs.
-* Contact Form: Fixed width style of input for Website address.
-* Google Analytics: fix PHP notice on search pages.
-* Infinite Scroll: Fixed issues where the first was being duplicated on scroll.
-* Likes: Made manually enabled likes remain being likeable if Likes are enabled for all posts
-* Masterbar: Fixed a javascript error that would pop up with the Grammarly extension enabled on Chrome macOS.
-* Search: Added default values for the Search widget so it can be added from the Customizer.
-* Settings: Fixed overflow/overlap when there are many ignored phrases in spelling options.
-* Settings: Updated SEO/analytics links to avoid unnecessary redirects.
-* Stats: Fixed column spacing styling issues in WP Dashboard box for Jetpack stats.
-* VaultPress: Remove menu item that links nowhere when Rewind is enabled.
-* Widgets: Fixed issue with custom URL choice and selective refresh in the EU Cookie Law widget.
-* WooCommerce Analytics: Fixed PHP warning coming from str_replace usage.
-* WooCommerce Analytics: Started tracking all possible ways to add a product to a cart.
-
-== 5.9 ==
-
-* Release date: March 6, 2018
-* Release post: https://wp.me/p1moTy-7mW
-
-**Major Enhancements**
-
-* WooCommerce Analytics: Added a new module for WooCommerce analytics that will use Jetpack's analytics functionality to help you track activity on your WooCommerce store.
-* Custom Content Types: Added support for excerpts on Testimonial and Portfolio.
-
-**Enhancements**
-
-* Activity Log: Improved the way we show failed login attempts in Jetpack's Activity Log.
-* Admin Page: We now hide settings for Lazy Images and Photon in the Admin page when the modules are not enabled due to being filtered out by jetpack_get_available_modules.
-* Admin Page: Now we only show the dismissal button in Apps card of the Jetpack Dashboard for admin users.
-* Build: Added a pre-commit hook for linting the Jetpack Admin Page source code. This aids in finding common syntax and style problems before having to wait for automated tests to run.
-* JSON API: We removed an obsolete endpoint for updating invites.
-* Onboarding: Added the ability to configure the country for a business address the using the Onboarding functionality of Jetpack.
-* Onboarding: Added the ability to enable the stats module when using the Onboarding functionality.
-* Onboarding: We now delete the onboarding token when the site gets connected.
-* Jetpack Start: Updated scripts for partners allowing to pass a tracking ID when provisioning or cancelling a plan which will help in debugging.
-* Jetpack Start: Improved the documentation for partners so they're now able to get them right on the Jetpack's Github repository under the docs/partners directory.
-* Plans: Correctly forward the client IP address for currency localization.
-* Plans: Updated the copy-text on Jetpack's Admin page for plans to be more concise on the features of each plan.
-* REST API: Added a plans endpoint to Jetpack's REST API to better handle the features of each Jetpack plan internally.
-* Search Implicitly activate Jetpack Search when attempting to add the Jetpack Search widget.
-* Search: Updated the Jetpack Search settings card to be more helpful in setting up the widget.
-* Search: We made the "Add Jetpack Search Widget" link in the Search module settings card open the widgets section of the customizer.
-* Search: Move any active search widgets to the inactive list if you disable the search module.
-* Search: Only log mysql and ES query times that are less than 60 seconds. There are some outliers that mess up our stats.
-* Sync: Improved the way widget titles are synchronized to WordPress.com servers when widgets are saved or updated.
-* Twitter Cards: Added new jetpack_twitter_image_default filter to allow themes and plugins to customize twitter:image when no suitable image is found automatically.
-* We updated the way we handle Jetpack's green color in out stylesheets for better compatibility with Jetpack's new logo.
-
-**Improved compatibility**
-
-* Admin Page: Jetpack's Admin Page javascript code is now fully compatible with React 16.
-* JSON API: Updated the modules endpoint Jetpack's JSON API to reply with a new property `override` that indicates if a module was either enabled or disabled by a filter.
-* Lazy Images: Updated the library used as IntersectionObserver for Lazy Images. We now use the W3C IntersectionObserver polyfill.
-* Lazy Images: Jetpack now allows the lazy images module to skip images with the skip-lazy css class or any given class of your choice by using the jetpack_lazy_images_blacklisted_classes filter.
-* Masterbar: Updated the sign out button behavior of the Masterbar to not sign you out of WordPress.com when you sign out of your site for regular Jetpack sites.
-* REST API: Updated the modules endpoint in Jetpack's REST API to be aware of modules that have been filtered through option_jetpack_active_modules allowing for better compatibility with custom Jetpack installation where the administrator decides to filter out specific Jetpack modules.
-* Sync: Added the jetpack_sync_action_before_enqueue action that's done when anything gets enqueued before being synchronized to WordPress.com servers.
-
-**Bug fixes**
-
-* Admin Page: Removed all linting warnings for the JS code of the Admin page. These were only shown in development builds.
-* Connect: Fixed an issue that sometimes resulted in a notice being shown about another user already having connected a Jetpack site when attempting to connect your site to WordPress.com
-* General: Added suppress_filters param to get_posts / get_children function calls.
-* Markdown: Updated WordAds code to not use create_function which is getting deprecated in PHP 7.2.
-* Sync: Fixed a problem in Jetpack Sync code when trying to get property of non-object in the post syncing file.
-* Sync: Stopped synchronizing the sitemap post types to WordPress.com servers as it was an issue given the size of these.
-* Tracks events: Track events are logged now only if the user has accepted ToS and not just if Jetpack is connected.
-* Widget Visibility: Added a decodeEntities function in widget-conditions.js to handle entity decoding for the minor conditions dropdown.
-* WordAds: Updated WordAds code to not use create_function which is getting deprecated in PHP 7.2.
-
-= 5.8 =
-
-* Release date: February 6, 2018
-* Release post: https://wp.me/p1moTy-731
-
-**Major Enhancements**
-
-* [Lazy Images](https://jetpack.com/support/lazy-images/): after a Beta
-period, you can now enable this new feature from Jetpack > Settings in your
-dashboard.
-* [Elasticsearch-powered
-search](https://jetpack.com/features/design/elasticsearch-powered-search/):
-also out of Beta! We've improved the way data is indexed behind the scenes,
-and made changes to the Search widget and its filters. (Elasticsearch is a
-trademark of Elasticsearch BV, registered in the U.S. and in other countries.)
-
-**Enhancements**
-
-* Comment moderation tools: moderation emails now point to WordPress.com when
-using the `edit_links_calypso_redirect` option.
-* Custom CSS: add CSS Grid Layout support.
-* Dashboard: update list of features available in Paid plans.
-* Dashboard: improve the display of notices inside the Jetpack dashboard.
-* Dashboard: update content displayed in the Jetpack dashboard when not
-connected to WordPress.com.
-* Development mode: improve the display of the development notice.
-* General: add a new filter, `jetpack_active_modules`, allowing site owners to
-filter the list of active modules.
-* Notices: add rel tags to notice links to avoid issues when links open in a
-new window.
-* Onboarding: add functionality for saving Business Address in the Contact
-Info widget.
-* Onboarding: save site type during site setup process.
-* Onboarding: enable loading of specific modules when using the Onboarding
-process.
-* Post Images: allow passing size when searching for images in HTML.
-* REST API: update the plugin installation process to use a new library.
-* REST API: allow changing the number of posts displayed in the RSS feed, and
-whether feeds display full text or a summary.
-* REST API: simplify our invites endpoint.
-* Sharing: make sure the Whatsapp button works on mobile and on desktop.
-* Sharing: add new filter, `wp_sharing_email_send_post_subject`, to allow
-modifying the email sharing subject line.
-* Shortcodes: update the GettyImages shortcode to use the new format required
-by GettyImages.
-* Site Settings: add support for site language and timezone settings.
-* Sync: improve synchronization of user actions, theme and plugin edits /
-updates, post status, updates on Multisite networks, Protect events, and
-WooCommerce's meta data.
-* WordAds: enable the Ads in the header by default.
-* WordAds: add filters so site owners can control the display of the ads via
-code as well.
-
-**Improved compatibility**
-
-* Lazy Images: fix issues with the Gazette theme.
-* Open Graph: add Open Graph Metabox to the list of conflicting plugins.
-* Masterbar: fix incompatibility with BeaverBuilder plugin.
-* PHP 7.2: fix issues when running Jetpack with PHP 7.2.
-
-**Bug fixes**
-
-* Carousel: fix PHP Notice with images using custom meta.
-* Dashboard: make sure all links to WordPress.com point to the right site's
-settings on WordPress.com.
-* Dashboard: update links to the plugin interface on WordPress.com to load the
-full plugin management page.
-* General: fix images shown in the dashboard when Jetpack is installed in a
-directory different than `jetpack`.
-* Lazy Images: make sure Lazy Load can be triggered even when images are added
-to the content very late.
-* Stats: make sure the Stats script is XHTML compliant.
-* Widgets: Mailchimp - avoid conflicts with jQuery UI.
-
-= 5.7.1 =
-
-* Release date: January 16, 2018
-* Release post: https://wp.me/p1moTy-7aS
-
-**Bug Fixes**
-
-* Protect: Fixed the math problem fallback for logging into Multisite installations.
-* Settings: Made sure that the Security tab is no longer constantly updating the displayed information.
-
-= 5.7 =
-
-* Release date: January 2, 2018
-* Release post: https://wp.me/p1moTy-6FR
-
-**Enhancements**
-
-* Added ability to create revisions of Portfolio Projects.
-* Users hosting their sites with our Pressable partner who have Rewind access can now jump from the new Activity card in the Jetpack dashboard to the Activity Log in WordPress.com and restore or download backups for the site.
-* Comments: Edit links for comments in the frontend can redirect to calypso if the Jetpack option `edit_links_calypso_redirect` is enabled.
-* Protect: Updated the styling of the Protect page for recovering access to your site when you're locked out of it.
-* Search: Improved the UI for customizing the Search widget.
-
-**Improved compatibility**
-
-* Comments: Updated our filtering behavior for Jetpack comments so other plugins appending html to the comments section are able to do it instead of being filtered out by Jetpack.
-* Widgets: We updated Goodreads URLs to support https schema.
-* Masterbar: We now hide the Masterbar settings card in Jetpack’s Admin Page for sites that are set to always show the Masterbar.
-* Lazy Images: Added a callback for processing image attributes array when attempting to lazy load images are loaded via `wp_get_attachment_image`.
-* Search: Added hooks to the search filters widget so that other plugins/themes can hook in and change its output.
-
-**Bug fixes**
-
-* REST API: Added a check for avoiding a fatal error when attempting to include Akismet class files in case the Akismet plugin files are present but the permissions on the files there are set to be not readable
-* Markdown: Fixed bug where code inside shortcodes wasn't correctly restored from the hash.
-* Search: Fixed the link that acts as a month and year filter removal toggle.
-
-= 5.6.1 =
-
-* Release date: December 14, 2017
-* Release post: https://wp.me/p1moTy-6Jk
-
-**Security Improvements**
-
-* Contact Forms: Hardened security in Contact Form processing.
-
-**Enhancements**
-
-* Sharing: Bumped the character limit to 280 when sharing a post to Twitter.
-
-**Bug fixes**
-
-* Widget Visibility: Fixed a bug that disabled "saving" the widget when removing a Widget Visibility rule.
-
-= 5.6 =
-
-* Release date: December 5, 2017
-* Release post: https://wp.me/p1moTy-6zt
-
-**Major Enhancements**
-* Google Analytics: Add support for universal analytics for WooCommerce.
-* Performance: minify all JavaScript files used in the plugin.
-* Performance: add new Lazy Images module.
-* Protect: add new mechanism allowing you to send yourself an email with a
-link to the form when you are locked out of your site.
-
-**Enhancements**
-* Custom CSS: add new set of font properties that can be used in the CSS
-editor.
-* Photon: do not remove `width` and `height` attributes from image tags when
-known.
-* Sitemaps: add CLI commands to purge and built the sitemaps.
-* Sitemaps: only display the reporter log success messages if
-`JETPACK_DEV_DEBUG` is defined.
-* WordPress.com API: add new endpoints to allow for better comment management
-in third party interfaces like WordPress.com.
-* WordPress.com Toolbar: prevent dns prefetching for logged out users.
-
-**Improved compatibility**
-* Stats: remove function deprecated in PHP 7.2.
-
-**Bug fixes**
-* Comment Likes: make sure Like text is properly translated.
-* General: only load stats code when necessary.
-* Related Posts: allow site owners to exclude multiple blog posts from the
-list of Related Posts.
-* Sharing: remove inline JavaScript used in the email sharing form.
-* Search: Maintain ordering of the search filters in the widget.
-* Sync: avoid PHP notices during the synchronization process.
-
-= 5.5.1 =
-
-* Release date: November 21, 2017
-* Release post: https://wp.me/p1moTy-6Bd
-
-**Bug fixes**
-* In Jetpack 5.5 we made some changes that created errors if you were using other plugins that added custom links to the Plugins menu. This is now fixed.
-* We have fixed a problem that did not allow to upload plugins using API requests.
-* Open Graph links in post headers are no longer invalid in some special cases.
-* We fixed warnings happening when syncing users with WordPress.com.
-* We updated the way the Google+ button is loaded to match changes made by Google, to ensure the button is always displayed properly.
-* We fixed conflicts between Jetpack's Responsive Videos and the updates made to Video players in WordPress 4.9.
-* We updated Publicize's message length to match Twitter's new 280 character limit.
-
-= 5.5 =
-
-* Release date: November 7, 2017
-* Release post: https://wp.me/p1moTy-6rk
-
-**Major Enhancements**
-
-* Jetpack is now fully compatible with WordPress's [new Gallery Widget](https://make.wordpress.org/core/2017/09/25/introducing-the-gallery-widget/). Your old Gallery widgets powered by Jetpack will switch to the new Widget when you update to WordPress 4.9.
-
-**Enhancements**
-* We have improved the performance when loading the Jetpack Settings in the dashboard by optimizing the number of calls made when loading the page.
-* We have updated the plugin to do a better job of cleaning up after itself whenever you decide to remove Jetpack from your site.
-* We made some changes to reduce the number of connection issues that may happen on a site when switching from HTTP to HTTPs.
-* We made some performance improvements to the Jetpack dashboard interface, to make sure your options and settings are loaded faster there.
-* Error messages are also better in the Jetpack Dashboard; whenever you can't update settings, Jetpack will provide you with more information about why.
-* We improved the Jetpack update process to make sure updating Jetpack does not stress your database during it, even on high-traffic sites.
-* The next version of WordPress, 4.9, will be released very soon and will include [a lot of changes to its code editors](https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/). Jetpack's Custom CSS will be fully compatible with the new editors and their syntax highlighting feature.
-* We also made changes to make sure Jetpack was fully compatible with the [role and capability changes](https://make.wordpress.org/core/2017/10/15/improvements-for-roles-and-capabilities-in-4-9/) in WordPress 4.9.
-* We have made some performance improvements to the Carousel feature.
-* Contact Form: do not process shortcodes in widgets when WordPress itself does, starting in 4.9.
-* Contact Form: we have improved the "website" field to display better error messages when you don't supply a URL. We have also improved the look of the date picker for the date field.
-* Contact Form: avoid duplicate slashes when loading editor style.
-* Masterbar: update the "Plugins" menu item to match the updated design on WordPress.com.
-* Open Graph: do not display images smaller than Facebook's required size.
-* Sharing: use Google's minified libraries to improve performance when loading Google buttons.
-* Sharing: update Open Graph Image tags appearing on the home page to offer better alternatives based on your site settings in Appearance > Customize.
-* We improved the way sitemaps are built so they do not consume too much memory when they are generated.
-* WP.me Shorlinks: those links will now always use HTTPS.
-* Spellchecker: we improved the admin interface to make it more clear when adding ignored phrases and saving them.
-* Subscriptions: we added a filter so third party developers can track comment subscription activations.
-* Sync: synchronize plugin action links to add that information to WordPress.com.
-* Sync: improvements to better track theme and widget changes.
-* VideoPress: we removed Jetpack version locking for directly embedded VideoPress videos to ensure all users receive the newest version of the player.
-* We added a new filter (`jetpack_google_translate_widget_layout`) to the Google Translate Widget to allow you to change its layout.
-* WordPress.com REST API: improve comment management for all roles, including post authors.
-* WordPress.com REST API: allow site owners to manage comments on attachment pages from WordPress.com.
-* WordPress.com REST API: improve the response from the API when WordPress' autoupdates are disabled.
-
-**Improved compatibility**
-* You can now use Jetpack's contact form and Yoast SEO's Focus keywords on the same page without any issues in the editor.
-* Top Posts Widget: avoid Fatal Errors when the widget is used on a site using WPML, and when a popular post cannot be found by WPML.
-* Sync: add more Custom Post Types from third-party plugins to the list of things we do not synchronize with WordPress.com, to improve sync performance.
-* Sharing: since [Press This is now a plugin and not part of WordPress itself](https://make.wordpress.org/core/2017/11/02/press-this-in-4-9/), we removed the Press This sharing button if you are not using the plugin.
-
-**Bug fixes**
-* We now avoid displaying notices to user roles that cannot benefit or act based on the info in the notices.
-* Gravatar Hovercards: avoid PHP Notices when the user info is an object.
-* Infinite Scroll: avoid PHP notices when a site customizes galleries thanks to the `post_gallery` filter.
-* Mailchimp: make sure subscription forms can still be embedded in posts and pages.
-* Mailchimp: do not require the use of the shortcodes feature to use the Mailchimp widget.
-* Mailchimp: fix issue where Mailchimp form code could not be added to the Mailchimp widget.
-* Masterbar: avoid JavaScript errors by always loading jQuery.
-* Post By Email: do not display any content in the email address field if no email address has ever been set before.
-* Publicize: avoid errors when DOMDocument is not available.
-* Publicize: we now hide the feature activation toggle if you are not allowed to manage Jetpack features.
-* Search: make sure module cannot be activated when the site does not use a Plan.
-* SEO Tools: do not output any custom meta tags if another SEO plugin is already active.
-* Sharing: make sure Twitter Cards can be displayed even when a post does not include a title.
-* Sharing: fix alignment of sharing buttons in the admin preview when using custom sharing buttons.
-* Sitemaps: wait a minute before to generate sitemaps when the feature is activated, to avoid performance issues.
-* Sync: avoid synchronization issues on Multisite networks using custom domains.
-* Top Posts Widget: display the default title when it is set to empty.
-* Milestone Widget: make sure the widget is displayed properly and can easily be translated into other languages.
-* Verification Tools: avoid notices when saving changes on a Multisite network admin page.
-* VideoPress: avoid missing file warning in the editor when using an RTL language.
-* Upcoming events Widget: avoid PHP notices on sites using a custom timezone setting.
-* WordPress.com REST API: avoid errors when installing plugins via the WordPress.com API.
-
-= 5.4 =
-
-* Release date: October 3, 2017
-* Release post: http://wp.me/p1moTy-67V
-
-**Major Enhancements**
-* Multiple improvements to the connection process, to allow more people to use the Jetpack plugin, even on very specific server configurations.
-* Add a new Welcome screen to guide site owners after they have purchased a Jetpack plan.
-
-**Enhancements**
-* Add Schema.org markup to the Contact Info Widget.
-* Add a new "Date" field to the Contact Form.
-* Do not show any update notices when in [development mode](http://jetpack.com/support/development-mode).
-* Improve our documentation to help contributors set up a unit testing environment.
-* Avoid conflicts between Jetpack's Infinite Scroll and other Infinite Scroll plugins.
-* Improvements to the WordPress.com REST API to avoid issues when interacting with your site's categories and tags on WordPress.com.
-* Allow third party plugin and theme authors to add new menu items to the WordPress.com toolbar.
-* Improve the Content Options panel displayed in the Customizer with certain themes.
-* Add architecture for the Jetpack Search feature, available for Jetpack Professional users.
-* Simple Payments: improve the display of the payment items when used on your site.
-* Ensure a proper display of the Recipe shortcode on sites using an RTL language.
-* Improve the display of the Facebook posts, images, and all other Facebook embeds in your posts.
-* Synchronize the author information for all published posts.
-* Record how Jetpack was discovered and activated to better understand how site owners first discover Jetpack.
-* Improve the display and options offered with the Milestone Widget.
-
-**Bug fixes**
-* We fixed layout issues appearing in the admin interface for IE11 users.
-* Comment Form: avoid whitespace sometimes appearing below the form with some themes.
-* Contact Form: avoid errors in the post editor on sites using RTL languages.
-* Toolbar: always display the Toolbar when it's active, regardless of other admin bar settings.
-* Widget Visibility: make sure rules are correctly migrated from the old Jetpack image widget to the new WordPress Image Widget.
-* Avoid errors showing that Jetpack is out of date on WordPress.com, when running a Multisite network.
-* WP CLI: avoid warnings when using the `wp jetpack protect whitelist list` command to list the whitelisted IP addresses in the Protect feature.
-* Avoid displaying raw HTML in the Stats Configuration screen.
-* Comment edits are reflected properly in wordpress.com.
-
-= 5.3 =
-
-* Release date: September 5, 2017
-* Release post: http://wp.me/p1moTy-5Xv
-
-**Major Enhancements**
-* Full PHP 7.1 compatibility.
-* It's now possible to preview your site within WordPress.com.
-
-**Enhancements**
-* The Ads feature now gives you more options and control over the ads displayed on your site.
-* Increased performance in the admin by cutting back on unnecessary requests.
-* Loading comment avatars from Facebook and Twitter through a more secure https.
-* Admin UI is much friendlier on initial activation when there are no stats to display.
-* You're now able to stop VideoPress from looping a video during autoplay through the shortcode.
-* Made some optimizations to the Jetpack connection process which means connecting your site more is more reliable.
-* The EU Cookie Law widget got some styling improvements and looks better in any theme.
-* There's a new Jetpack CLI command to allow testing of the Jetpack connection.
-* Added the Likes and Monitor features to our recommended features list, making it easier to activate for new sites.
-* Improvements made that makes sure we have the most up-to-date version of your site when managing from WordPress.com.
-* Added a link to view your Comments in the WordPress.com toolbar.
-* Lots of minor design improvements to the Jetpack admin area.
-* We've found a few places where we were able to optimize the loading of css files.
-* Removed the Omnisearch feature.
-
-**Bug fixes**
-* Fixed compatibility issues with plugins using TinyMCE.
-* Contact Form submission emails have been fixed for sites hosted on SiteGround.
-* Updating WordPress.com themes will no longer have any problems.
-* The Sitemaps feature will no longer error with posts/images with special characters in the title.
-* There are no more conflicts with the ACF plugin when adding a new custom field.
-* Fixed a bug that would cause some plugins to throw warnings with the Shortcode feature.
-* We're no longer loading a font on the front-end for the Likes feature, which will also have some performance benefits.
-* The Jetpack admin UI had some bugs that were causing some features to not display the correct active status, which are squashed now.
-* Cleaned up our markup to avoid XHTML validation errors.
-* Brought back a filter for the Widget Visibility feature that was accidentally removed.
-* Managing your comments and comment authors more reliable from WordPress.com.
-
-
-= 5.2.1 =
-
-* Release date: August 2, 2017
-* Release post: https://jetpack.com/?p=22686
-
-**Bug fixes**
-* Solves an issue that caused widgets to lose their content when saved in WP Admin or Customizer.
-
-= 5.2 =
-
-* Release date: August 1, 2017
-* Release post: https://jetpack.com/?p=22509
-
-**Major Enhancements**
-* Contact Forms now sports a fancy new interface that allows you to visually compose your form in the editor.
-* We have a new and slick way to showcase and explain the features we recommend to activate to new users.
-
-**Enhancements**
-* Reduced 500kb from plugin zip file, which means faster updates.
-* Refactored and reduced code for Comment Likes so it's faster and lighter.
-
-**Bug fixes**
-* An inconsistency experienced in WordPress.com dashboard when Related Posts settings were set in the local site's WP Admin is now fixed.
-* Fixed a 404 when loading Open Sans font from a stylesheet plus now it's only enqueued if it will be used.
-* Solve PHP warnings when Image widget wasn't migrated.
-
-= 5.1 =
-
-* Release date: July 5th, 2017
-* Release post: https://jetpack.com/?p=20888
-
-**Major Enhancements**
-* You and your readers can now show appreciation to particularly clever comments with the new Comment Likes feature.
-
-**Enhancements**
-* Quickly visit your current site's front-end directly from the Masterbar's new "View Site" item.
-* Site data fetch from /me/sites REST API endpoint now includes `blog_public` in the list of returned options.
-* The Flickr widget now automatically displays images in a grid if there's enough room.
-* E-mail sharing is now disabled by default unless it's explicitly enabled by a filter or Akismet is active.
-
-**Compatibility Improvements**
-
-* Updated instructions in Flickr widget to reflect recent changes to the Flickr UI.
-
-**Bug fixes**
-
-* EU Cookie Law Banner cookie no longer cached.
-* WP Admin menu can now be accessed in mobile when Masterbar is displayed.
-* We now sync the `order_id` for `order_items` in older WooCommerce versions.
-* UI now handles VaultPress connection or registration problems gracefully.
-* Photon now works correctly with images uploaded before WordPress 2.7.
-
-= 5.0 =
-
-* Release date: June 6th, 2017
-* Release post: http://wp.me/p1moTy-5hK
-
-**Enhancements**
-
-* Several changes to the Jetpack dashboard and notices: alignment tweaks, code refactor, text simplification, and more.
-* Changes to the communication layer between your site and WordPress.com, to improve performance and allow you to do more to manage your site from WordPress.com.
-* Social menu gets icons for Etsy, Meetup, 500px, and Goodreads.
-* Jetpack data sync now better supports WordPress updates, themes changes, widgets, and multisite networks.
-* Video is updated to be fully compatible with the upcoming Media Widget.
-* Force secure WordPress.com API requests for request body, remove deprecated stats methods, and add new endpoints for post listing and user invitations.
-* Jetpack's Command Line tools can now output information about the primary Jetpack site owner. Try `wp jetpack status`!
-* Custom CSS now supports the `animation-fill-mode`, `fill`, and `stroke` properties.
-* Remove the "Menus" item from the WordPress.com toolbar for parity with the toolbar on WordPress.com.
-* Improve the display of the Omnisearch results page on sites using an RTL language.
-* Trim any white space when adding new email address in the Contact Info Widget.
-* Improve the look of your recipes in search engine result pages, when you use the Recipe shortcode.
-
-**Compatibility Improvements**
-
-* Improve the connection process for end users and hosts.
-* Improve compatibility of Jetpack data sync with WooCommerce and Pet Manager plugins.
-* Make sure Jetpack's SEO Tools don't conflict with other SEO plugins that may already be active on the site, like Yoast SEO or All In One SEO Pack.
-
-**Bug Fixes**
-
-* Add a "Set Up" button when a Personal plan is purchased, but VaultPress isn't active yet.
-* When the Ads feature is active, do not display Ads in RSS feeds.
-* Comments do not use Photon for Facebook and Twitter avatars and now avoid non-secure warnings when submitting comments on a HTTP site in Safari.
-* Contact form emails are now sent in a way that ensures they are correctly rendered as HTML.
-* Properly print the full list of modules when using the sync command in Jetpack's Command Line Interface (CLI).
-* Avoid errors when reordering a lot of Restaurant menu items at once.
-* Add a mechanism to detect broken connection states and resolve them.
-* Autosaves can now be restored as Markdown.
-* Photon no longer conflicts with Facebook's CDN, local images, and plugins that customize reponsive images.
-* Avoid potential PHP notice in Publicize.
-* Fix bad jQuery selector in Presentations shortcode.
-* Avoid fatal errors for Social Links on sites running PHP 7.1.
-* Properly escape button attribute in spellchecker.
-* Avoid PHP notices for stats on some sites when user roles are not attributed properly.
-* No longer attempt to sync options that do not exist and avoid fatal errors when de/activating plugins.
-* Avoid errors when Social Menu functions have already been defined in the theme or in another plugin.
-* VideoPress media items now always return their unique ID, and do not trigger any PHP notice.
-* Fix style of the EU Cookie Law Widget on themes with specific positioning.
-* Use correct time constant to define an hour in Upcoming Events Widget.
-* Avoid HTML encoding issues in sitemaps.
-
-= 4.9 =
-
-* Release date: May 2nd, 2017
-* Release post: http://wp.me/p1moTy-4Rl
-
-**Major Enhancements**
-
-* New "EU Cookie Law Banner", Flickr, and "Internet Defense League" widgets.
-
-**Slightly Less Exciting Enhancements**
-
-* Success notices are automatically dismissed after a short period.
-* Removed unused code from "My Jetpack" interface and deprecated an XML-RPC method.
-* Contact Form now adds display names to email addresses in the `To` header.
-* Added an updated multiple unit tests increasing code coverage.
-* Development mode now also shows module list.
-* Updated the list of locales available in Jetpack.
-* Plugin auto-updates only triggered from WordPress.com and now trigger WordPress' maintenance mode.
-
-**Performance Improvements**
-
-* Record comment content modifications and moderation events to make sure comments are always up to date on WordPress.com.
-* Sync post deletions, changes to sidebar, user events (addition, removal, and update) and theme installation.
-* We now distinguish between a new and an updated attachment.
-* Sync plugin and theme names when a related event is triggered including theme updates.
-
-**Compatibility Improvements**
-
-* Protect avoid conflicts with other plugins hooking into the log in form.
-* Contact Form not auto-activated when Ninja Forms is active.
-* WordPess.com REST API now allows `HTTP PUT` requests.
-
-**Bug Fixes**
-
-* Fixed wording in Post By Email button when no email address has been generated.
-* Fixed a notice in the subscription widget in PHP 7.1
-* Properly display VaultPress notices in the Jetpack dashboard.
-* VideoPress now included in search results for "video" and fixed positioning of search icon on mobile screens.
-* Protect supports IPv6 addresses properly.
-* Dashboard avoids API requests being cached on some hosts and avoids errors when Spellchecker is inactive.
-* Contact Form message content type is now set properly to restore compatibility with email plugins.
-* Ads not displayed in the portfolio projects custom content type.
-* Display all sites available in a network, even on large multisite installations.
-* Featured Image is always used in tweets posted via Publicize.
-* Avoid fatal errors when the exclusion parameter in Related Posts is not a string.
-* Allow the removal of all custom title settings in the SEO feature.
-* Make sure images are not distorted when Tiled Galleries uses Photon.
-* Avoid PHP warnings and errors in the Stats dashboard on Multisite.
-* Avoid errors when the Jetpack plugin is deleted.
-
-= 4.8.2 =
-
-* Release date: April 7th, 2017
-* Release post: http://wp.me/p1moTy-4P0
-
-**Bug Fixes**
-
-* Fixed a bug that prevented activating/deactivating of some features in PHP versions below 5.4.
-* Removed an unused function that was also incompatible with PHP versions below 5.4.
-* Fixed a bug that was causing a blank Jetpack admin area.
-
-= 4.8.1 =
-
-* Release date: April 5th, 2017
-* Release post: http://wp.me/p1moTy-4N5
-
-**Bug Fixes**
-
-* An incompatibility with PHP versions lower than 5.4 was introduced in the last release, causing a fatal error and we've immediately fixed this.
-* Sitemaps: Some plugins were relying on a function that was removed in the last release, which has been fixed.
-* General: Clicking on the info icon in the settings area will no longer jump to the top of the page.
-* General: The Anti-spam card will always display the correct status in the Jetpack dashboard.
-
-= 4.8 =
-
-* Release date: April 4th, 2017
-* Release post: http://wp.me/p1moTy-4gA
-
-**Major Enhancements**
-
-* Easier to navigate Jetpack's feature settings in your dashboard and WordPress.com.
-* New WordPress.com Toolbar provides quick access to site management, stats, and other services.
-* New MailChimp Subscribe Popup widget.
-* Sitemaps are faster and now support sites with a very large amount of posts.
-* Contact Form now has a plain-text alternative and better avoids spam filters.
-* Debug form includes extra information to better prioritize your support requests.
-* Photon can now be used within the dashboard, and supports bbPress topics and replies.
-
-**Slightly Less Exciting Enhancements**
-
-* Improved previously confusing wording in Stats dashboard, and Featured Content options.
-* You can now embed Apple Keynotes straight from icloud.com in your posts and pages.
-* Changed Infinite Scroll button text on taxonomy page and added a new filter to short-circuit the `is_last_batch()` method.
-* Open Graph now uses transients to save image IDs.
-* You can now use full URLs in the Social Media Icons widget.
-* Milestone widget now allows custom links to open in a new window.
-* VideoPress videos can be used as headers in themes that support it, like Twenty Seventeen.
-* Extracted the timezone offset method from the Upcoming Events widget so it can be used by other features.
-
-**Performance Improvements**
-
-* Database load is reduced during updates on large sites with multiple servers by retaining hashes for current and current-1 versions.
-* Disk storage is reduced on large multisite networks by storing the `jetpack_file_data` option in the `wp_sitemeta` table.
-* Jetpack plan data now uses the WordPress.com REST API.
-* Slovakian language files now rely on WordPress.org's language packs.
-
-**Accessibility Improvements**
-
-* Improved post details clipping for better screen reader support.
-* Updated custom language packs for multiple languages.
-
-**Security Improvements**
-
-* We now avoid path disclosure via cookies in PHP error messages.
-
-**Compatibility Improvements**
-
-* Removed deprecated functions `get_theme` and `get_current_theme`.
-* Publicize now works with third-party plugins like WP Recipe Maker.
-* Open Graph Meta Tags are now enabled when you use the "Head, Footer and Post Injections" plugin.
-* Better support for WooCommerce data sync and backup.
-* We now also sync the `sync_via_cron` setting, the user's chosen language, and WP Super Cache's globals and constants.
-* We no longer sync post types from the WordPress Automatic Plugin and RSS AutoPilot to avoid synchronization issues.
-* Sync settings can now be edited from the WordPress.com REST API to better troubleshoot sync issues.
-
-**Bug Fixes**
-
-* Gravatar is always displayed in Settings.
-* Submenu items always use relative links.
-* Contact Form avoids PHP notices when using the form in a Text widget.
-* Content Options now correctly displays single characters word count on sites with multibyte languages.
-* Administrator area translations fixed for several languages.
-* Added proper support for Formal/Informal translation versions for languages that support them.
-* Site Icons are always used as fallback Open Graph Image tags.
-* Protect removes port number when server returns a port alongside a stored IP address.
-* Filters ensure that more than 1,024 posts can be excluded from Related Posts.
-* When the email is already subscribed we now show the correct notification in the subscription form.
-* When using the Email sharing button, we now avoid syntax errors due to unexpected characters in the from name.
-* Remove deprecated `jetpack_publicize_post` action.
-* VideoPress now avoids PHP Notices when fetching video information.
-* Instagram base URL now uses `www` in the Social Media Icons widget.
-* All values entered in Facebook Page Plugin widget settings are now escaped.
-* Widget Visibility now avoids memory issues on sites with a lot of registered users.
-
-= 4.7.1 =
-
-* Release date: March 14th, 2017
-* Release post: http://wp.me/p1moTy-48Y
-
-**Bug Fixes**
-
-* Carousel: avoid javascript errors that may cause issues with Slideshows or Tiled Galleries.
-* Markdown: always enable Markdown for posts whenever the module is active.
-* Sharing: make sure that sharing buttons open in a small pop-up instead of a separate window.
-* SSO: Avoid token or nonce errors when trying to log in to your site via the Secure Sign On option.
-* VideoPress: add in the ability to get video thumbnails from the WordPress.com REST API.
-* Widgets: improve rendering of the Image Widget via Photon.
-* Widget Visibility: avoid empty widget visibility rules after updating to Jetpack 4.7.
-* Widget Visibility: restore the option to make widgets appear on archive pages of different Custom Post Types.
-* Widget Visibility: migrate widget visibility settings to the new major Page rule for Custom Post Types.
-* Widget Visibility: add missing CSS for widget visibility settings on sites using an RTL language.
-
-= 4.7 =
-
-* Release date: March 7th, 2017
-* Release post: http://wp.me/p1moTy-46L
-
-**Enhancements**
-
-* Quickly jump to post specific stats on WordPress.com with a new link.
-* We've added more information to our debug tools to improve your support experience.
-* New HTML5 versions of our house ads are out.
-* Display custom copyright EXIF information in the Carousel with this new filter.
-* We've highlighted the ability to export Contact Form feedback as it was being overlooked.
-* If you have images on WordPress.com we're going to skip using Photon when the images include resize parameters.
-* It is now possible to use the Sharing filter to customize the emails sent from the Email Sharing button.
-* We've updated the library powering the Print link in the Recipe shortcode.
-* Customize the speed and display of your slideshows with new Slideshow shortcode filters.
-* The Twitch.tv shortcode now uses Twitch's new embedded player.
-* Social Menus now come with the option to use SVG icons.
-* Customize the content of the Display Posts Widget with a new filter.
-* We've added a new email field to the Contact Info Widget.
-* The Image and the Text widgets now use Photon if it is enabled.
-* The WordPress.com REST API got several updates including using `register_rest_route()` consistently for registering, new date and time format settings, a filter for theme info results, new links and endpoints, and more.
-* We cleaned up the Google+ Shortcode JS library and added a way to filter the SlideShare shortcode.
-
-**Performance Improvements**
-
-* Experience better performance with single page load caching of the media summary.
-* We made some improvements to avoid slow queries on sites with thousands of images.
-* The Top Posts widget now utilizes an endpoint from the WP.com REST API improving performance.
-* Improve development mode performance by only calling `site_url()` once.
-* We rewrote the way major/minor rules lists are generated to save bandwidth, and memory for sites using Widget Visibility.
-* We've removed sync options that weren't needed to save memory during the sync process.
-
-**Accessibility**
-
-* We've improved the highlight of the stats range for a better visual experience and to make it consistent with other areas of the dashboard.
-* Added a missing label to one of the fields in the Email sharing dialog.
-* We've enabled keyboard focus styling in the new admin interface.
-* Increased padding to sharing buttons on mobile to avoid usability issues.
-* We've replaced Widget Visibility text labels with icons to improve usability on smaller devices.
-
-**Slightly Less Exciting Enhancements:**
-
-* We've added a filter to allow you to remove the Comment Form title.
-* The Development Mode notice got an update to include all possible options to activate Development mode.
-* Jetpack registration function got an update and cleanup.
-* A notice displayed to WooCommerce store owners now detects when WooCommerce Services is installed, but not active.
-* We've removed the Holiday Snow settings until you need them.
-* Improved Infinite Scroll settings to reduce confusion.
-* The HTML classes `infinite-scroll` and `neverending` are now applied using JS instead of PHP.
-* We've updated the support link appearing when you're locked out of your site.
-* New Unit Tests were added to make sure Publicize doesn't break when making changes to the Publicize process.
-* We've added a sync filter to allow customizing timeout.
-* The Top Posts widget now supports non-square image sizes.
-* Added the Video GUID to the media API endpoint.
-
-**Improved Compatibility**
-
-* Fixed some W3C validation errors in Comments.
-* Infinite Scroll now works beautifully with the Twenty Seventeen Theme.
-* Translate new terms easier with an improvement to the translator comments.
-* We switched to use Core functions to retrieve the list of sites in a multisite network for more accurate results.
-* We added Product visibility to post meta whitelist, for better control of products displayed in Related Posts.
-* We no longer sync specific post meta data added by Postman or WP RSS Multi Importer to avoid performance issues during the sync process.
-* We're now avoiding conflicts with plugins adding the core Video upload library to the post editor.
-* Removed deprecated compatibility code for older versions of WordPress.
-* We had some Shortcode conflicts with WordPress Post embeds, but that's been fixed.
-
-**Bug Fixes**
-
-* The Carousel `jp_carousel_load_for_images_linked_to_file` filter wasn't working well with Photon, this has been fixed.
-* Carousel is now working well when loaded from infinite scroll.
-* We removed double slashes from file paths in the Contact Form to avoid errors in specific server environments.
-* Fixed a problem where CSS was being stripped when migrating from Jetpack's Custom CSS to Core's CSS editor.
-* Our Debug Tool is now reporting the correct URL when WordPress lives in a subdirectory.
-* Found and fixed a PHP error when uninstalling Jetpack.
-* Infinite Scroll is no longer buggy when displaying the last page, and is more compatible with certain themes that were returning posts when there were none left to show.
-* We're now skipping Photon for .ashx files.
-* The Twitter character counter in Publicize got a fix to display info correctly.
-* Related Posts are now displaying correctly for everyone, and we brought back the `jetpack_sharing_headline_html` filter.
-* We've improved Sharing to render custom sharing services correctly, include Open Graph Meta Tags, and avoid JavaScript errors when jQuery is enqueued in the footer.
-* Synchronization scheduling issues have been resolved.
-* We're now trimming spaces in URLs for Image and Display Posts Widgets.
-* Widget Visibility wasn't playing nice on taxonomy pages, this is no longer the case.
-* The WordPress.com REST API received a couple of fixes to remove PHP errors when editing via the WordPress.com interface, authentication errors when using third-party apps, and permission errors when trying to preview edited posts in the WordPress.com editor.
-
-= 4.6 =
-
-* Release date: February 7, 2017
-* Release post: http://wp.me/p1moTy-40g
-
-**New Features and Improvements**
-
-* Enable Google Analytics without touching a line of code with this new Jetpack feature.
-
-**Performance Improvements**
-
-* We've updated all outbound links to use HTTPS to improve performance and security.
-* Photon now leverages a new WordPress core function to improve performance a bit.
-
-**Enhancements**
-
-* Keep an eye out for a note from WooCommerce on how your e-commerce store may benefit from our new USPS and CanadaPost shipping functionality.
-* We've added an error message if Publicize isn't functioning as it should be.
-* The Twitter Widget timeline now displays the tweet limit count as 20, prior to this it appeared to have no limit.
-
-**Slightly Less Exciting Enhancements:**
-
-* In an effort to help us better understand features that are being used, Twitter's timeline widget and Twitter's shortcodes now pass Jetpack's partner ID.
-* We've added new API endpoints allowing us to enable translation auto-updates and pull post rows and metadata for backups.
-* We're now retrieving all feature settings in the readable `/settings` endpoint.
-
-**Improved Compatibility**
-
-* We've eliminated some notices and warnings when using Jetpack on a server running PHP 7.1 or on servers where `print_r()` is disabled.
-* Photon now avoids PHP notices when your site is using plugins that do srcset CDN replacement.
-* When the sharing options appear to be incorrect due to site configuration issues we force it to retrieve the right options avoiding potential fatal errors.
-* We've added some shortcode CSS and widget class names prefixes to avoid conflicts with other plugins.
-
-**Bug Fixes**
-
-* Some sites were using illegal multibyte characters and failing to sync posts, this has been fixed.
-* IE11 was giving our admin layout a bit of a problem but we rectified that.
-* There were some PHP notices popping up when a site has no posts so we got rid of them.
-* The new Jetpack Ads feature will auto disable itself if your Jetpack plan doesn't support the feature.
-* We fixed a few PHP notices and warnings related to the Custom CSS feature.
-* The connection banner's "dismiss" icon was giving us a little trouble, but we got it fixed right up.
-* The Likes feature was showing a PHP notice when there was no $post object, this has been fixed.
-* We've brought back the Twitter Widget "noscrollbar" option.
-* We're now forcing only Photon URLs to HTTPS as your custom CDN URLs may use a different protocol.
-* If a Publicize connection is not shared with all users on the site, do not trigger Publicize for the other users.
-* Publicize was having trouble working with scheduled posts, this should be fixed now.
-* SSO may not have been displaying the login form when using JSON API authorization. Sorry about that, we've fixed it.
-* We've eliminated some PHP notices that were showing with some Shortcodes.
-* There was a Top Posts Widget image size issue when using list layouts, but is no longer causing issues.
-* We fixed some notices and warnings when updating data from the WordPress.com central interface.
-
-= 4.5 =
-
-* Release date: January 17, 2017
-* Release post: http://wp.me/p1moTy-3Kc
-
-This release introduces a brand-new module, Jetpack Ads, a brand-new VideoPress feature, and a lot of new shortcodes and widgets.
-
-**Exciting New Features and Improvements:**
-
-* Generate revenue from your site with an all-new WordAds feature, which when enabled displays high-quality ads for your visitors.
-* Today we are proud to release a fully redesigned VideoPress interface for easy uploading, management, and add-free playback of your fantastic videos now fully integrated with your Jetpack Premium or Professional plans.
-* Spice up your sidebar with new widgets that display blog stats, author info, "Follow my blog" buttons, and even an event countdown.
-* Embed your amazing 360° photos with the VR shortcode
-* Link your visitors to your Tumblr or Twitch pages using the new icons in the Social Media Icons Widget.
-
-**Enhancements**
-
-* Use the beautiful Jetpack carousel feature to display single images.
-* Turn on and update Related Posts right from the Customizer.
-* Customize the output of the Related Posts headline using a new filter.
-
-**Performance and Security Improvements:**
-
-* Your Custom CSS will now be served in a separate stylesheet when it is more than 2,000 characters.
-* Your Stats queries are now always being made over HTTPS.
-* Holiday Snow files now load in the footer, but rest assured the snow still falls from above.
-* We have improved Jetpack's synchronization process to support more plugins and use less resources.
-* The jQuery Cycle script used by slideshow galleries is now minified, resulting in faster loading times.
-
-**Slightly Less Exciting Enhancements:**
-
-* The JSON API now allows updating translations and alternative theme installation methods.
-* Public Custom Post Types are now automatically available via the WordPress.com REST API.
-* We've added a token-based authentication mechanism to the REST API in order for the site to be able to receive authenticated requests from WordPress.com.
-* Use `sync` commands in Jetpack's WP CLI.
-* You can now set the value for options directly in the Contact Form shortcode.
-* Updated some verbiage around IP Whitelisting on the Protect settings screen.
-* Custom sharing buttons got some new variables.
-* RIP blip.tv — we've removed your shortcode.
-* Improved Image and Display Posts Widget settings to provide more explanation and better error messages.
-* We've added a few new Content Options to the Customizer for supported themes.
-* Improved the Facebook Widget to avoid confusion when editing width and height settings.
-* Added and improved a few shortcodes.
-
-**Improved Compatibility:**
-
-* If your server is misconfigured and we can't get an IP address we're going to deactivate Protect and send you a notice so you're in the loop.
-* The WPML compatibility file wasn't loading at the right time, but we've fixed that.
-* We've improved compatibility with tools like Cavalcade to avoid stuck Cron jobs.
-* Some selected WooCommerce data (order items and order item meta) are now syncing to WordPress.com.
-
-**Bug Fixes**
-
-* You'll notice numerous design improvements to the Jetpack UI.
-* Accessibility is important to us so we've made some improvements there.
-* Missing attachments in the Carousel were causing an infinite loop, but we've corrected that.
-* Eliminated a PHP Notice when running the CLI `wp jetpack` command.
-* PHP warnings in the Restaurant Menu Post type have seen their last day with us.
-* Fixed a bug that displayed the wrong connected user for up to 24 hours after they disconnected.
-* Removed a deprecated function to prevent notices when using Infinite Scroll in the Customizer.
-* Long titles in Jetpack widgets weren't looking so great, so we cleaned them up.
-* Before now you weren't able to create a child category from WordPress.com. Now you can!
-* Rogue colons were showing up in the related posts area on sites with the Twenty Fourteen and Twenty Sixteen themes.
-* Fixed a ReCaptcha error on the Email sharing button.
-* Confirmed Instagram embeds actually load when using Infinite Scroll.
-* Site Icons now display on the WordPress.com site management interface.
-* Set a default time limit of 30 seconds when sending sync requests via Cron.
-* Synchronized supported shortcodes on a site.
-* Fixed an issue where empty categories weren't showing with the Widget Visibility feature dropdown.
-* Fixed various little bugs when working with multiple widgets in the Customizer and in the Widgets admin screen.
-* Added a Translate Widget default title in case you haven't defined one.
-* The Top Posts Widget now avoids layout issues when using the Grid layout while displaying a post without an image.
-
-= 4.4.2 =
-
-* Release date: December 6, 2016
-* Release post: http://wp.me/p1moTy-3JR
-
-This release improves Jetpack compatibility with WordPress 4.7.
-
-**Compatibility changes**
-
-* Custom CSS: Made the Custom CSS feature of Jetpack compatible with the CSS Customizer editor in WordPress 4.7.
-* Sync: improved compatibility with the wp-missed-schedule plugin.
-
-**Bug fixes**
-
-* Featured Content: made sure there is no infinite loop when removing the featured tag from the tag list.
-* Admin: made sure help tabs are not being hidden.
-* Admin: made At a Glance page work nicely when there is no backup data yet.
-* Sync: now making sure that needed classes are loaded, preventing errors.
-* Sync: cleared out unneeded scheduled jobs.
-
-= 4.4.1 =
-
-* Release date: November 22, 2016
-* Release post: http://wp.me/p1moTy-3JR
-
-**Bug Fixes**
-
-* Fixed an issue where some users with slower servers would get an error on
-the Jetpack dashboard when `WP_DEBUG` was enabled.
-* Fixed an issue where users on a Jetpack Professional plan who were paying
-monthly (as opposed to annually) wouldn’t be able to enable SEO Tools.
-
-= 4.4 =
-
-* Release date: November 21, 2016
-* Release post: http://wp.me/p5U9nj-2Ow
-
-**Enhancements**
-
-* Additional unit tests have been added to improve Jetpack's development process and stability.
-* Custom post types have been added to the WP REST API output.
-* Many of the screenshots throughout the plugin have been replaced by SVGs in order to make Jetpack smaller.
-* New endpoints have been added to allow the installation of plugin and theme zip files via the API.
-* Twelve new filters to make Jetpack more extensible! See: http://wp.me/p5U9nj-2Ow.
-* New widget: "Google Translate" to allow users to translate your site into their own language.
-* New widget: "My Community" where you can see who recently interacted with your site.
-* One of the biggest issues facing Jetpack users for years now has been difficulties in moving sites from one domain name to another. This update makes strides towards improving that process.
-* Photon now uses HTTPS by default. Secure all the things!
-* There are now helpful hints throughout the admin interface to make Jetpack easier to use.
-* We now allow you to embed pins, boards and profiles from Pinterest.
-* We've added a new feature: SEO Tools, available to Jetpack Professional subscribers. You can read more about our plans here: https://jetpack.com/features/
-* We've made numerous improvements to the data sync process.
-
-**Bug Fixes:**
-
-* Fixed link to Akismet settings.
-* Improved compatibility between Infinite Scroll and WPML.
-* Move email notification settings back with the other email settings in the Discussion Settings.
-* Various minor performance/compatibility fixes.
-
-= 4.3.2 =
-
-* Release date: October 13, 2016
-
-**Enhancements**
-
-* Unsaved changes were getting lost when users were navigating away from settings so we put in a confirmation message to prevent this from happening.
-* We've stopped counting carousel views in stats by default, you can use the `jetpack_enable_carousel_stats` filter to enable counting them again.
-* Stats are now responding faster.
-* There were several improvements and repairs made to sync including additional endpoints, performance enhancements, whitelisted data, better decision making around when to sync information, and more.
-* Markdown now has a CSS class on footnotes.
-
-**Improved Compatibility:**
-
-* We've improved compatibility with Kinsta by automatically turning on Staging Mode for Jetpack when in a staging environment.
-
-**Bug Fixes:**
-
-* Several fixes have been made to sync to repair issues with Publicize, Notifications, and Subscriptions.
-* We removed PHP warnings by checking to make sure json language files like jetpack-en_US.json are readable before we load them.
-* We found an unused option in Gravatar Hovercard settings and removed it.
-* The correct support link is now being used to make it easier for you to connect with the Jetpack team if you need us.
-* The permissions check for plugin information retrieval was fixed as well.
-* Some plugins were adding content on outbound http requests causing an infinite loop we fixed this right up.
-* We removed some warnings that were occurring when translations didn't exist by adding a fallback.
-* We've added Moroccan Arabic translations, and switched to language packs for Croatian, Spanish (Chile) and Greek.
-* Sync was running into issues so we've limited dequeue time to 1/3 of PHP's max execution time, which has unclogged the problem.
-* We're now sending full and incremental queues separately so that a failure in one doesn't block the other.
-* There was a JavaScript enqueuing error with our Sharing feature that has been repaired.
-* The Top Posts widget now includes the ability to list attachment (media) pages.
-* We weren't building CPT links correctly resulting in bad navigation, which is now fixed.
-* We removed the form legend for default Tiled Gallery settings as it doesn't relate.
-* With shortcodes we now return early from processing them if no string is passed, as they are required.
-
-= 4.3.1 =
-
-* Release date: September 8, 2016
-
-**Support Enhancements**
-
-* We're now syncing data about hosts so that we can provide better support
-when needed.
-* Minor update to inline docs to match version numbers.
-
-**Bug Fixes:**
-
-* Admin Page: fix error when Admin Page resources could not be fetched with
-`wp_remote_get` due to unique host configurations.
-* Admin Page: fix error when Post By Email could not be enabled when the
-browser's dev console was enabled.
-* Admin Page: make sure all translated strings are encoded properly.
-* Admin Page: only use POST requests for updating the state of Jetpack, to
-avoid issues on servers not allowing PUT requests.
-* Admin Page: search icon no longer overlaps the global notices.
-* Admin Page: make sure that non-admins can also modify Spellchecking
-settings.
-* Admin Page: check that a json language file like jetpack-en_US.json is
-readable before loading its contents and thus avoid a PHP warning.
-* General: Improve random number generation for compatibility with more hosts.
-* General: Add deprecated PHP file (class.jetpack-landing-page.php) back as an
-empty file, to avoid generating fatal errors on sites with aggressive caching.
-* General: Ensure concatenated CSS is generated for RTL languages.
-* Security: Ensure that all options are included on the security tab.
-* Stats: fix display for sites with pretty permalinks disabled.
-* Subscriptions: ensure that no email is sent when updating a published post.
-* Sync: To improve performance, add snapTW to the list of post meta data that
-won't be synchronized for each post.
-* Sync: do not schedule a full sync after each import.
-* Verification Tools: in the Settings card, use appropriate link for each
-service.
-
-
-= 4.3 =
-
-* Release date: September 6th, 2016
-
-**Exciting Performance and UI Improvements:**
-
-* We have launched the all new React powered interface, a year in the making,
-designed to give you better control of your favorite Jetpack features.
-
-= 4.2.2 =
-
-* Release date: August 19th, 2016
-
-**Bug Fixes:**
-
-* We fixed the code which displays the Facebook share count to accomodate
-Facebook's new data structure.
-* We fixed an issue which caused PHP notices to get logged for users of the
-Twenty Fourteen theme.
-* We fixed an issue with the Minileven mobile theme which was preventing it
-from loading.
-* Improved Sync performance.
-* Increase security by sanitizing a URL used in the SSO process.
-
-= 4.2.1 =
-
-* Release date: August 17th, 2016
-
-**Bug Fixes:**
-
-* We fixed a conflict between Jetpack and W3 Total Cache.
-* We fixed some issues with Publicize and Custom Post Types.
-* Very large Multisite networks with lots of users can now be synchronized
-with WordPress.com.
-* We improved the synchronization process between your site and WordPress.com.
-
-= 4.2 =
-
-* Release date: August 10th, 2016
-
-**Performance Enhancements:**
-
-* We’ve improved Jetpack’s performance by making calls to the database more
-efficient; essentially, Jetpack is doing less on each page load, making things
-faster. #4281, #4316
-* We’ve ensured that every feature uses information that is up to date by
-completely refactoring the way information was synchronized between your site
-and WordPress.com.
-* We've improved the way Jetpack queries for information about features, which
-results in less overall queries.
-
-**Exciting Feature and UI Improvements:**
-
-* We now track your visitor views of Carousel images in stats.
-* You can now customize advanced typographic settings like ligatures in the
-Custom CSS editor with new support for the `font-feature-settings` property.
-* We’ve improved the experience when you don’t actually have enough posts to
-Infinitely Scroll.
-* Our Contact Info Widget allows you to enter a Google Maps API Key which is
-now required by Google if you want to display a map.
-
-**Security:**
-
-* We’re continuing our efforts to harden Jetpack security, by implementing the
-`hash_equals()` function to avoid timing attacks when comparing strings. We
-also improved security on CSVs exported from your contact form.
-
-**Slightly Less Exciting Feature Improvements:**
-
-* The Cartodb shortcode has been changed to match the new product name, Carto.
-* The YouTube shortcode now uses the content width defined by the theme when
-available, even if an embed size was defined in an old version of WordPress.
-* Breadcrumbs now support hierarchical post types and taxonomies.
-* We’ve added the Portfolio Post Type to the WordPress.com REST API whitelist.
-* There are a few new parameters for the Dailymotion shortcode.
-
-**Improved Compatibility:**
-
-* We now work well with WP Stagecoach staging sites, so you should not see any
-future impact on production sites.
-* We had some PHP notices popping up in the WooCommerce plugin wizard screen,
-these are gone.
-
-**Bug Fixes:**
-
-* We stopped loading compatibility stylesheets on the default theme's singular
-views for Infinite Scroll.
-* Debug tests forwarded through the contact form in the Jetpack Debug menu are
-now successfully sent to the support team.
-* We’ve removed the PHP notices you might have seen when moderating comments.
-* There are no longer PHP notices cropping up when publishing via Cron.
-* We’ve fixed the official Sharing buttons so they now line up just right.
-* The PHP warnings of Sitemaps stylesheets have been eliminated.
-* We’ve done away with the warnings that appeared when Tonesque processes a
-file which claims to be one filetype, but is actually another.
-* We’ve exterminated PHP notices that appeared when using Random Redirect, as
-well as when the author wasn't set.
-
-= 4.1.1 =
-
-* Release date: July 7th, 2016
-
-**Bug Fixes:**
-
-* SSO: Use high-resolution Gravatar images on the log-in form on Retina
-devices.
-* Publicize: improve reliability of Publicize when publishing new posts.
-
-= 4.1 =
-
-* Release date: July 6th, 2016
-* Release Post: http://wp.me/p1moTy-3jd
-
-**Performance Enhancements:**
-
-* Carousel no longer loads full-size images in the previous and next previews,
-increasing the speed and performance of slideshows.
-* We’ve improved Jetpack’s performance by making calls to the database more
-efficient; essentially, Jetpack is doing less on each page load, making things
-faster.
-* We’ve improved Photon dev mode, eliminating unnecessary attempts to sync
-images.
-
-**Exciting Feature and UI Improvements:**
-
-* A new look: SSO, redesigned and refactored, provides a new and improved
-experience.
-* Tracking made simple: quickly view the number of unread feedback submissions
-in your sidebar.
-* Getting support just got easier! Access improved self-help tools in the
-Jetpack Debug menu.
-* Greater control over Infinite Scroll: pause and resume Infinite Scroll with
-two new JavaScript methods.
-* Improved Sharing: we’ve swapped image icons for icon fonts and added
-Telegram and WhatsApp buttons.
-* Untappd shortcode: now you can sip and share your favorite craft brews.
-Cheers!
-* Recipes, revamped: we’ve added new recipe shortcodes and options to create
-more detailed recipes.
-* Improved Gallery Widgets now use Photon to resize and serve images.
-
-**Security:**
-
-* We’re continuing our efforts to harden Jetpack security by implementing the
-`hash_equals()` function in an effort to avoid timing attacks when comparing
-strings.
-* We’ve made it easier to use SSL connections on ports `80` and `443`,
-improving our ability to communicate with an increased number of secure
-websites.
-* You will now receive a warning for any failed attempts when connecting your
-website via SSL.
-
-**Slightly Less Exciting Feature Improvements:**
-
-* Updated the Infinite Scroll settings verbiage, which was a bit confusing.
-* Removed Jetpack Audio Shortcode, which is no longer in use.
-* Redesigned Jetpack banner notices to match core notification styles.
-* Added an icon on a connected Jetpack user’s profile page, next to their
-name.
-* Added the ability to edit Portfolio custom-post-type options in the
-Customizer.
-* Added a new filter called `jetpack_publicize_capability` which allows you to
-override user role restrictions for Publicize.
-* Improved the connection process between Jetpack and WordPress.com making it
-easier to start using Manage.
-* Updated the Top Posts Widget so you can use and display posts that are older
-than 10 days.
-* Updated the Twitter Timeline Widget to support updates made by Twitter.
-* Improved the VideoPress Shortcode modal.
-* Updated VideoPress, which now defaults to HTML5 videos when the `freedom`
-shortcode parameter is in use.
-* Improved how Jetpack syncs by removing mock options.
-* Updated the naming convention for feedback posts.
-* Updated several JSON API endpoints to match WordPress.com endpoints, added
-support for custom taxonomies, and enabled trash as a valid status for the
-post update endpoint.
-
-**Improved Compatibility:**
-
-* A community member found and fixed a compatibility issue with our Open Graph
-Meta Tags and Bitly’s older plugin -- we now check to make sure we don’t
-create conflicts.
-* We’ve fixed a rare scenario where an error would occur when other plugins or
-sites were using the `JETPACK__GLOTPRESS_LOCALES_PATH` constant.
-
-**Bug Fixes:**
-
-* Comment avatars are now retrieved in a manner more consistent with the login
-avatar, improving consistency and eliminating the possibility of a future bug.
-* We eliminated PHP notices that were appearing when Custom Content Types were
-defined without labels or sections.
-* PHP memory limits were reached in rare cases when a website had thousands of
-revisions of their Custom CSS. The issue is fixed -- happy editing!
-* jQuery deprecated the `size()` function -- as a result, we’ve stopped using
-it as well.
-* A PHP notice popped up when plugins were updated from the WordPress.com
-plugin management interface -- these notices will no longer appear.
-* We fixed a bug where Photon wasn’t providing the original size for images
-that were being used outside of the post content.
-* We eliminated the PHP notices that displayed when posts with slideshows were
-added to a sitemap.
-* We fixed an error that was showing up in Sitemaps when a website permalink
-structure used `index.php`.
-* We eliminated JavaScript errors that displayed when tiled galleries were
-viewed.
-* We fixed an issue where image dimensions weren’t properly saved when added
-to a new widget.
-* Since Google Maps API keys are now required to use maps, we’ve updated the
-Contact Info Widget to allow site owners to set up their keys.
-* We fixed a bug where multiple `display` properties weren’t able to be saved
-in Custom CSS.
-
-= 4.0.4 =
-Release date: June 20th, 2016
-Release Post: http://wp.me/p1moTy-3eT
-
-Security:
-
-* Post By Email: Added an additional layer of security to prevent unauthorized
-changes to Post By Email settings.
-* Likes: Fixed an XSS vulnerability in the Likes module.
-* REST API/Contact Form: We've eliminated unauthenticated access to Feedback
-posts.
-
-Feature Improvements:
-
-* Customizing Protect: We've increased Protect’s response time and added a new
-filter, `jetpack_protect_connect_timeout`, reducing the likelihood of seeing
-the fall back form.
-* Connection Process: Your site url and icon are displayed on the Jetpack
-connection screens to help improve communication.
-* Jetpack for Multisite: It’s now easier to manage your Jetpack connections on
-the network admin screen.
-* Photon Responsive Image Improvements: We’re now auto-generating new scrset
-options, improving how images served from Photon are handled.
-* Developing on Kinsta: A new constant has been added to improve developing
-with Jetpack on a staging environment hosted with Kinsta.
-
-Jetpack UI Improvements:
-
-* Better Access to Our Support Team: We wanted to make it easier for you to
-get help so we added a contact form in the admin that links directly to our
-Jetpack Support Team.
-
-Improved Compatibility:
-
-* We’ve stopped adding Open Graph Meta tags if you’re using the SEO Framework
-plugin.
-* Having both GlotPress and Jetpack active at the same time was causing
-errors, we’ve eliminated them.
-
-Bug Fixes:
-
-* Fixed the handling of special characters like ampersands in Carousel Titles
-and Descriptions.
-* When visitors tried to view a Carousel image with a hash in the URL, a
-JavaScript error would occur; we’ve fixed that.
-* Jetpack Comment form fields now use the default language you’ve set for
-WordPress, previously the verbiage was always in English.
-* Custom CSS wasn’t handling slashes and quotes properly; we’ve squashed that
-bug.
-* There were some rare cases where PHP notices were popping up when a Contact
-Form was submitted. These instances have been identified and eliminated.
-* We’ve replaced a bit of code with a Jetpack native function to fix a bug
-that was breaking things during an API request for available updates.
-* We accidentally removed the ability for Open Graph to select images from
-slideshows, it’s up and running again.
-* There was an issue where Open Graph meta tags weren’t being set when your
-homepage is a “Static Front Page”, it’s working again.
-* In rare cases when developers were customizing Photon they were seeing a PHP
-notice when arguments were passed as a string rather than an array. This has
-been fixed.
-* We’ve fixed an issue where Protect’s backup math form wasn’t showing on
-custom front end login forms.
-* When setting up WooCommerce you might have seen a Related Posts notice which
-didn’t belong. We’ve eliminated them.
-* If you’ve been using our sharing tool with unofficial sharing buttons you
-might have noticed your sharing numbers were missing. They’re now back.
-* In unique situations where special characters were used in sitemap
-stylesheets an error would occur; that has been remedied.
-* We’ve fixed a problem with mismatching HTML tags in our Spelling and Grammar
-feature.
-* We’ve ensured that the `jetpack_disable_twitter_cards` filter actually
-removes Twitter cards.
-* We’ve fixed some JavaScript errors that would crop up if you were editing a
-custom-post-type post that didn’t support the core media editor — say that 10
-times fast.
-* We had some JavaScript errors when you were using the customizer to modify
-widgets. They are no longer with us.
-
-= 4.0.3 =
-Release date: May 26th, 2016
-Release Post: http://wp.me/p1moTy-3hm
-
-* Important security update. Please upgrade immediately.
-
-= 4.0.2 =
-Release date: April 21st, 2016
-
-Bug Fix:
-
-* Addresses an issue where Jetpack 4.0 caused a fatal error on sites with
-specific configurations.
-
-= 4.0 =
-Release date: April 20th, 2016
-Release Post: http://wp.me/p1moTy-3dL
-
-Performance Enhancements:
-
-* Protect: the routine that verifies your site is protected from brute-force
-attacks got some love and is more efficient.
-* Contact Forms: cleaning the database of spam form submission records is more
-efficient.
-
-Feature Improvements:
-
-* VideoPress: edit your VideoPress shortcode in the editor with a fancy new
-modal options window.
-* Custom Content Types are now classier: a new CSS class on Testimonial
-featured images — has-testimonial-thumbnail — allows you to customize Jetpack
-custom post types as you see fit.
-* Sharing: social icons are now placed under the "add to cart” singular
-product views in WooCommerce, making it easier for customers to share your
-products on social media.
-* Theme Tools: search engines will now have an easier time knowing what page
-they are on, and how that page relates to the other pages in your site
-hierarchy with improved schema.org microdata for breadcrumbs.
-* Widget Visibility: now you can select widgets and when to show or hide them
-right from custom post type single and archive views.
-
-Jetpack UI Improvements:
-
-* What’s in it for me? We’ve done a better job explaining the benefits of
-Jetpack and connecting it to WordPress.com.
-* Shortcodes: handy links to shortcode documentation convey the types of media
-you can quickly and safely embed.
-* Widgets: As of WordPress 4.5, Jetpack widgets now refresh in the customizer
-without making you refresh the entire page. Live previews, yes indeed.
-
-Bug Fixes:
-
-* Comments: we fixed a mistake where a comment subscription checkbox appeared
-on custom post types — despite the fact you couldn’t actually subscribe to
-those types of comments. Our bad.
-* Contact Forms: we fixed a bug where the telephone field (which can only be
-added manually) rendered incorrectly — breaking some forms in the process.
-* General: we blocked direct access to the Jetpack_IXR_Client class which
-caused fatal PHP errors in some server setups.
-* Shortcodes: we removed the frameborder attribute in the YouTube embed code.
-It was deprecated in HTML 5.
-* Unminified responsive-videos.min.js in order to address a false positive
-virus alert in ClamAV. Expect it to be re-minified in 4.0.3 once we resolve
-the issue with ClamAV.
-
-= 3.9.6 =
-Release date: March 31st, 2016
-Release Post: http://wp.me/p1moTy-3bz
-
-Bug fix: Shortcodes: fixed incorrect Vimeo embed logic.
-
-= 3.9.5 =
-Release date: March 31st, 2016
-Release Post: http://wp.me/p1moTy-3bz
-
-This release features several WordPress 4.5 compatibility changes that make
-several Jetpack features work properly in the Customizer view. Big thanks to
-@westonruter for contributing the code!
-
-Other enhancements and bug fixes:
-
-* Contact Form: no longer calling the datepicker method if it's not available.
-* SSO: settings checkboxes now honor filters and constants that restrict
-certain sign-in modes.
-* Shortcodes: fixed a problem with Gist fetching.
-* Shortcodes: fixed invalid HTML5 markup in YouTube embed code.
-* Shortcodes: made the Vimeo links work properly in case of multiple mixed
-uses in one post.
-
-= 3.9.4 =
-Release date: March 10th, 2016
-Release post: http://wp.me/p1moTy-396
-
-Bug fix: Shortcodes: Addresses an issue with embedded Vimeo content
-
-= 3.9.3 =
-Release date: March 9th, 2016
-Release post: http://wp.me/p1moTy-396
-
-Featured:
-
-* Site Logo now supports Custom Logo - a theme tool to be introduced in
-WordPress 4.5.
-
-Enhancements:
-
-* Carousel: Made the full size image URL use a Photon URL if enabled.
-* Comments: Removed an unnecessary redirect by always connecting via HTTPS.
-* General: Added new actions that fire before automatic updates.
-* Infinite Scroll: Introduced a later filter for settings.
-* Infinite Scroll: Removed code that is now redundant due to WordPress Core.
-* Markdown: Removed deprecated markup from the output.
-* Publicize: Improved handling of featured images in posts.
-* Shortcodes: Added houzz.com support.
-* Sitemaps: Added a language attribute to the news sitemap.
-* Sitemaps: Improved the image retrieval mechanism for posts.
-* Widgets: Added new filters in the Top Posts Widget code.
-* Widgets: Cleaned up the CSS for the Subscription widget.
-
-Bug Fixes:
-
-* Comments: No longer reloading the page on clicking the reply button.
-* Contact Forms: Fixed a fatal error on missing metadata.
-* Contact Forms: Fixed message formatting for plaintext email clients.
-* Shortcodes: Fixed dimensions of Vimeo embeds in certain cases.
-* Shortcodes: Fixed warnings and allowed shorter style Vimeo embeds.
-* Shortcodes: Removed alignment markup from feeds for YouTube embeds.
-* Sitemaps: Made URLs display properly according to the permalink structure.
-* Stats: Fixed non-XHTML-valid markup.
-* Widgets: No longer showing errors when adding new instances of the Display
-Post Widget.
-
-= 3.9.2 =
-Release date: February 25th, 2016
-Release post: http://wp.me/p1moTy-2Ei
-
-Maintenance and Security Release
-
-Featured:
-
-* Beautiful Math: fix XSS vulnerability when parsing LaTeX markup within HTML
-elements.
-* Contact Form: do not save private site credentials in post meta. Thanks to
-@visualdatasolutions.
-
-Enhancements:
-
-* Contact Info: Added two hooks for adding arbitrary information to the
-widget.
-* Development: Added new possibilities for REST API debugging.
-* Embeds: Added Codepen embeds support.
-* Embeds: Added Sketchfab embeds support.
-* I18n: Added support for translation packages for the Finnish language.
-* Markdown: Added a filter to enable skipping processing of developer supplied
-patterns.
-* Related Posts: Added a filter to change heading markup.
-* Staging: Added a constant to force staging mode.
-* Staging: Added a notice to make staging mode more obvious.
-* Top Posts Widget: Added a new `[jetpack_top_posts_widget]` shortcode.
-
-Bug Fixes:
-
-* Custom Post Types: Nova: Fixed a JavaScript bug on adding multiple items.
-* Embeds: Allowing embeds from Instagram with a www in an URL.
-* General: Fixed untranslated module names on the Settings screen.
-* General: Improved module descriptions and fixed misleading or broken links
-in descriptions.
-* General: No more notices on module deprecation on older installations.
-* General: Only showing one prompt to enable Photon when uploading several new
-images.
-* Multisite: Fixed a problem with site lists for older WordPress
-installations.
-* OpenGraph: Fixed a bug to properly fallback to a WordPress Site Icon image.
-* Photon: Improve performance for images over a secure connection.
-* Photon: No longer including links from data attributes.
-* Publicize: Fixed problems for en_AU and en_CA locales with Facebook.
-* Related Posts: Fixed a notice on certain requests.
-* Site Logo: It's no longer possible to choose a non-image.
-* Widget Visibility: No longer confusing page IDs and titles in certain cases.
-
-= 3.9.1 =
-Release date: January 21st, 2016
-
-Bug Fixes:
-
-* General: Addresses a namespacing issue which was causing conflicts on some
-hosting providers.
-* Sitemaps: Added MSM-Sitemap to the list of plugins which, if installed, will
-prevent Jetpack Sitemaps from being used
-
-= 3.9 =
-Release date: January 20th, 2016
-Release Post: http://wp.me/p1moTy-29R
-
-Featured:
-
-* New sharing button: let users share your content using Skype.
-* New "Social Menu" theme tool that uses Genericons to display Social Links.
-* Sitemap support for better search engine indexing.
-
-Enhancements:
-
-* Contact Form: Added a new filter that allows you to change the "Required"
-text.
-* General: Hidden archived sites in multisite site list.
-* General: Removed several function calls that would be deprecated in
-WordPress 4.5.
-* Infinite Scroll: Added a new filter to check if Infinite Scroll has been
-triggered.
-* Likes: Added a conditional to ensure WordPress 4.5 compatibility.
-* Photon: Improved compatibility with responsive images feature added in
-WordPress 4.4.
-* Photon: Now enabled by default on sites using HTTPS.
-* REST API: Extended the ability to manage users from WordPress.com.
-* REST API: Increased the performance of the plugin update endpoint.
-* Responsive Videos: Centering videos when they are wrapped in a centered
-paragraph.
-* Sharing: Added a new filter to customize the default OpenGraph description.
-* Shortcodes: Added Wistia oEmbed support.
-* Shortcodes: Bandcamp: Added support for new attributes for tracks approved
-by artists.
-* Shortcodes: Improved Medium path format recognition.
-* Slideshow: Improved compatibility with older IE versions.
-* Staging: Improved staging environment detection.
-* Widgets: Added "width" option to the Facebook Page widget.
-* Widgets: Added size parameters to tags in Top Posts to avoid warnings.
-* Widgets: Introduced major performance and stability improvements to the
-Display Posts Widget.
-* Widgets: Refactored to remove deprecated code patterns.
-
-Bug Fixes:
-
-* AtD: Fixed replacing emojis with images in the text editor in Chrome.
-* AtD: Made pre tags be excluded from spell-checking.
-* CPT: Not registering Nova if it is already registered.
-* Carousel: Fixed a bug where full size images were not always served by
-Photon.
-* Carousel: Reverted a change that broke direct link to carousel image.
-* Contact Form: Fixed a CSV export bug with multiple choice questions.
-* Contact Form: Fixed notices when creating feedback entries without a contact
-form.
-* General: Fixed a scrolling bug on modal window closing.
-* Infinite Scroll: Disabled in the Customizer when previewing a non-active
-theme.
-* Publicize: Fixed notices appearing with bbPress or BuddyPress installed.
-* Publicize: Showing options only to users that can change them.
-* Related Posts: Fixed incorrect URLs generated for posts.
-* Responsive Videos: Fixed warnings in debug mode.
-* Shortcodes: Bandcamp: Fixed a problem with large track IDs.
-* Shortcodes: Fixed a problem with dynamic Gist embeds.
-* Stats: Fixed dashboard widget resize problem.
-* Widgets: Added a fallback to English US when a locale isn't supported by
-Facebook.
-* Widgets: Fixed layout for Twenty Sixteen.
-
-= 3.8.2 =
-Release date: December 17th, 2015
-Release post: http://wp.me/p1moTy-26v
-
-Jetpack 3.8.2 is here to squash a few annoying bugs.
-
-Bug Fixes:
-
-* Photon: Fixed a bug where some custom thumbnail image sizes weren't being
-sized properly.
-* Shortcodes: Fixed an incompatibility with how WordPress renders the YouTube
-shortcode.
-* Shortcodes: Tightened up security in the Wufoo shortcode.
-* Image Widget: Now shows the caption.
-* Fixed typos in inline docs.
-* Very minor fixes to: Carousel, Publicize, Google+, and Infinite Scroll.
-
-= 3.8.1 =
-Release date: December 1st, 2015
-Release post: http://wp.me/p1moTy-23V
-
-Jetpack 3.8.1 is here and is fully compatible with WordPress 4.4.
-
-Featured:
-
-* Photon + Responsive Images FTW.
-* Fully compatible with Twenty Sixteen.
-* More accessibility enhancements.
-* Dropped some weight by optimizing Jetpack's plugin images.
-
-Enhancements:
-
-* Comments: filter to allow disabling comments per post type.
-
-Bug Fixes:
-
-* Carousel: Stop page from scrolling to top when Carousel is closed.
-* Carousel: Browser compatibility fixes with older version of IE.
-* Markdown: Fixed a bug that would strip markdown when saving in "Quick Edit"
-mode.
-* Single Sign On: Fixed login always redirecting to the admin dashboard.
-* Subscriptions: Filter to allow per-post emails fixed for use in themes.
-
-= 3.8.0 =
-Release date: November 4th, 2015
-Release post: http://wp.me/p1moTy-1VN
-
-We're happy to introduce Jetpack 3.8, which has significant contributions from
-the Jetpack community. Read more about it here: http://wp.me/p1moTy-1VN
-
-Feature enhancements:
-
-* New Google+ Badge Widget. Display your profile, page, or community Google+
-badge.
-* New twitch.tv shortcode embeds. Display a Twitch.tv stream in your posts.
-* Accessibility enhancements.
-* A handful of new filters to allow further customization of Jetpack.
-
-Other enhancements:
-
-* Carousel: Added support to retrieve image dimensions from an image url.
-* Carousel: Simpler algorithm to detect shutter speeds.
-* Contact Form: New "Checkbox with Multiple Items" field available in the
-Contact Form.
-* Contact Form: Allow pre-filling form fields with URL parameters.
-* Contact Form: Better styling of the emailed form responses.
-* Performance: Replaced some custom-built functions with core's native
-functions.
-* Related Posts: New filter to add post classes to post's container class.
-* Sharing: New filter to choose if sharing meta box should be shown.
-* Sharing: New filter to allow sharing button markup to be editable.
-* Sharing: New filter to allow you to specify a custom Facebook app ID.
-* Social Media Icons Widget: Added option for YouTube username as well as
-Channel ID.
-* Social Media Icons Widget: Added Google+ icon.
-* Social Media Icons Widget: New filter to allow you to add your own social
-media icons and links.
-* Subscriptions: Better errors to your visitors if their subscription sign-up
-fails.
-* Subscriptions: Removed "widget" class from Subs shortcode form.
-
-
-Bug fixes:
-
-* Carousel: Fixed browser back/forward button behavior.
-* Contact Form: Allow the email field to be set to empty when building form in
-post editor.
-* Facebook Likebox Widget: Fixed an issue where some languages were not
-translating.
-* Facebook Likebox Widget: Return a language when none found.
-* General: Fixed some minor styling issues in the Jetpack admin areas.
-* General: Add missing parameter to the_title filter call.
-* General: Prevent scrolling of body when the Jetpack admin modals are opened.
-* General: Update doc to reflect that Open Graph filter
-jetpack_enable_opengraph has been deprecated in favor of
-jetpack_enable_open_graph.
-* Infinite Scroll: Fixed an error that sometimes occurred that would stop
-posts from loading.
-* JSON API: Fixed some undefined notices when publishing a post with the API.
-* Open Graph: Fixed bug where facebook description content was sometimes being
-polluted by a filter.
-* Sharing: Use full SSL Pinterest url instead of protocol relative.
-* Sharing: Fixed plus signs appearing in tweets shared from iOS.
-* Shortcodes: Prefer HTTPS for video embeds to avoid mixed content warnings.
-* Subscriptions Widget: Fix HTML Validation error.
-* Theme Tools: Check oEmbeds for the presence of a video before adding the
-responsive videos filter.
-* Tiled Galleries: Add image alt attribute if there is a title set. This was
-breaking some screen reader functionality.
-
-= 3.7.2 =
-Release date: September 29th, 2015
-Release Post: http://wp.me/p1moTy-1LB
-
-* Bug Fix: REST API: Fixed an error when saving drafts and publishing posts
-
-= 3.7.1 =
-Release date: September 28th, 2015
-Release Post: http://wp.me/p1moTy-1LB
-
-* Enhancement: General: Added inline documentation for various filters and
-functions
-* Enhancement: General: Added custom capabilities for module management on
-multi-site installs
-* Enhancement: General: Cleaned up old changelog entries from readme
-* Enhancement: General: Cleaned up unused i18n textdomains
-* Enhancement: General: Updated the new settings page to look better in
-various translations
-* Enhancement: REST API: Added new endpoints to manage users
-* Enhancement: Sharing: Updated the Google logo
-* Bug Fix: Carousel: Page scroll no longer disappears after closing the
-carousel
-* Bug Fix: Contact Form: Fields are sent and displayed in the correct order
-* Bug Fix: Contact Form: No longer showing a notice on AJAX actions in
-feedback lists
-* Bug Fix: Contact Form: Made using more than two notification emails possible
-* Bug Fix: Contact Form: Mitigate a potential stored XSS vulnerability. Thanks
-to Marc-Alexandre Montpas (Sucuri)
-* Bug Fix: General: Mitigate a potential information disclosure. Thanks to
-Jaime Delgado Horna
-* Bug Fix: General: Fixed a locale error in the notifications popout
-* Bug Fix: General: Fixed a possible fatal error in the client area
-* Bug Fix: General: Fixed compatibility issues with certain use cases
-* Bug Fix: General: Disabled connection warnings for multisites with domain
-mapping
-* Bug Fix: General: Updated translations for correct link display in admin
-notices
-* Bug Fix: REST API: Fixed a fatal error in one of the endpoints
-* Bug Fix: Sharing: Fixed OpenGraph tags for Instagram embeds
-* Bug Fix: Sharing: Fixed compatibility issues with bbPress
-* Bug Fix: Widget Visibility: Fixed a fatal error in case of a missing tag
-
-= 3.7.0 =
-Release date: September 9th, 2015
-Release Post: http://wp.me/p1moTy-1JB
-
-Feature Enhancements:
-
-* New admin page interface to easily configure Jetpack
-* Added staging site support for testing a connected Jetpack site
-
-Additional changes:
-
-* Enhancement: CLI: Added a possibility to change all options with
-confirmation for some of them
-* Enhancement: Gallery: Added filters to allow new gallery types to be
-declared
-* Enhancement: General: Added inline documentation for actions, filters, etc.
-* Enhancement: General: Changed class variable declarations keyword from var
-to public
-* Enhancement: General: Made the Settings page module toggle buttons more
-accessible
-* Enhancement: General: The admin bar now loads new notifications popout
-* Enhancement: General: Renamed some modules to avoid redundant prefixes
-* Enhancement: General: Switched to the WordPress Core's spinner image
-* Enhancement: General: Updated the bot list
-* Enhancement: Manage: Added the ability to activate a network-wide plugin on
-a single site from WordPress.com
-* Enhancement: Photon: Added a way to check image URLs against custom domains
-* Enhancement: Photon: Added prompts on the media upload page telling the user
-about Photon
-* Enhancement: Publicize: Added width and height values to OpenGraph tags for
-default images
-* Enhancement: Related Posts: Added a filter to allow disabling nofollow
-* Enhancement: REST API: Added new API endpoints to extend API functionality
-* Enhancement: REST API: Added new fields to existing API endpoints
-* Enhancement: Sharing: Added a possibility to opt-out of sharing for a single
-post
-* Enhancement: Sharing: Added bbPress support
-* Enhancement: Sharing: Added more configuration to the Likes modal
-* Enhancement: Sharing: Made the reddit button open a new tab
-* Enhancement: Sharing: Removed unused files
-* Enhancement: Shortcodes: Added auto embed option inside comments
-* Enhancement: Shortcodes: Added autohide parameter to the YouTube shortcode
-* Enhancement: Subscriptions: added an action that triggers at the end of the
-subscription process
-* Enhancement: VideoPress: Videos are now embedded using a new player
-* Enhancement: Widget Visibility: Added parent page logic
-* Enhancement: Widget Visibility: Added support for split terms
-* Enhancement: Widgets: Added actions to the Social Media widget
-* Enhancement: Widgets: Switched the Display Posts widget to the new API
-version
-* Bug Fix: General: Fixed scrolling to top after modal window closing
-* Bug Fix: Infinite Scroll: Added a check for cases when output buffering is
-disabled
-* Bug Fix: Infinite Scroll: Added translation to the copyright message
-* Bug Fix: Manage: Fixed automatic update synchronization on WordPress
-multisite network admin
-* Bug Fix: Manage: Redirects back to WordPress.com are allowed from the
-customizer view
-* Bug Fix: Media: Fixed duplicate images bug in the Media Extractor
-* Bug Fix: Publicize: Made it possible to remove previously set message
-* Bug Fix: Sharing: Added a thumbnail image to OpenGraph tags on pages with
-DailyMotion embeds
-* Bug Fix: Sharing: Fixed Twitter Cards tags escaping
-* Bug Fix: Sharing: Made OpenGraph tags for title and description use proper
-punctuation
-* Bug Fix: Sharing: Made sure Likes can be disabled on the front page
-* Bug Fix: Shortcodes: Fixed Facebook embeds by placing the scipt in the
-footer
-* Bug Fix: Shortcodes: Fixed PollDaddy shortcode issues over SSL connections
-* Bug Fix: Shortcodes: Made responsive video wrappers only wrap video embeds
-* Bug Fix: Shortcodes: Made SoundCloud accept percents for dimensions
-* Bug Fix: Social Links: Fixed a possible conflict with another class
-* Bug Fix: Stats: Made sure the Stats URL is always escaped properly
-
-= 3.6.1 =
-Release Date: July 24, 2015
-
-* Enhancement: Fully compatible with upcoming WordPress 4.3
-* Enhancement: Site Icon: Start to deprecate Site Icon in favor of Core's
-version (if available)
-* Bug Fix: Subscriptions: You can now use more than one Subscription form on a
-single page
-* Bug Fix: Quieted PHP notices and warnings with the JSON API, Display Posts
-Widget and Gallery Widget (slideshow mode)
-* Bug Fix: Correct permissions check for connection panel
-* Hardening: Increase permissions checks
-
-= 3.6 =
-Release Date: July 6th, 2015
-Release Post: http://wp.me/p1moTy-1ua
-
-Feature Enhancements:
-
-* CLI: Add a number of Jetpack CLI improvements: see
-http://jetpack.com/support/jetpack-cli
-* New Jetpack admin page for connection management
-* New Social Media Icons widget
-* FB Like Box: A visual refresh of the Facebook likebox widget
-* Protect: When your IP is blocked, use a math captcha as a fallback instead
-of a complete block
-
-Additional changes:
-
-* Enhancement: Custom CSS: Add more Flexbox support and other enhancements
-* Enhancement: Extra Sidebar Widgets: Top Posts Widget: Choose what Post Types
-to display
-* Enhancement: General: Save on some requests! print CSS inline when there
-isn't much of it
-* Enhancement: Likes: Likes can now be shown on all post types
-* Enhancement: Minileven: Add Featured Image to Gallery Post Format and Pages
-* Enhancement: Mobile Theme: Add div wrapping View Mobile Site link to allow
-for easier CSS customizations
-* Enhancement: Omnisearch: Link to edit post in titles
-* Enhancement: Protect: Learn Trusted Headers locally and cache blocks
-properly
-* Enhancement: REST API: Add locale support
-* Enhancement: Sharing: Retire StumbleUpon
-* Enhancement: Sharing: Upgrade to reCAPTCHA 2.0 for Email Sharing
-* Enhancement: Shortcode Embeds: Add Mesh oembed support
-* Enhancement: Shortcode Embeds: New Wufoo Shortcode from WordPress.com
-* Enhancement: Shortcode Embeds: Mixcloud: handle accented characters in URLs
-* Enhancement: Site Logo: Adding itemprops to support logo schema.
-* Enhancement: Slideshow Gallery: New parameters *size* and *autostart*
-* Enhancement: Slideshow Gallery: Use more reliable CSS for resizing instead
-of js
-* Enhancement: Stats: No longer track stats for preview pages
-* Enhancement: Tiled Gallery: Improve the shapes and distributions of shapes
-in the Tiled Gallery, based on observations for its usage.
-* Enhancement: Protect: Whitelist for multisite globally and locally
-* Enhancement: Sharing: LinkedIn always uses https for share counts. (saved
-extra http request)
-* Bug Fix: Carousel: Jetpack Carousel now supports HTML5 gallery
-* Bug Fix: Extra Sidebar Widgets: Choose Images button works in accessibility
-mode
-* Bug Fix: General: Fix: Cannot remove hooks from filter
-'jetpack_get_available_modules'
-* Bug Fix: Infinite Scroll: Check that search terms exist before matching
-against post title. fixes #2075
-* Bug Fix: Likes: Never double show on search results
-* Bug Fix: Notifications: Notifications didn't load on wp-admin/network pages
-* Bug Fix: Sharing: Fix Facebook share button not showing for Australian &
-Canadian locale
-* Bug Fix: Shortcode Embed: Slideshare Shortcode now fixed
-* Bug Fix: SSO: Hide login no matter what when using the filter to do so
-* Bug Fix: Subs Widget: Don't hide email input if submit failed
-* Bug Fix: Tiled Gallery: Show columns setting for Thumbnail Grid when Tiled
-Mosaic galleries are the default
-* Bug Fix: Twitter Cards: Remove deprecated card types
-
-= 3.5.3 =
-Release Date: May 6th, 2015
-
-* Security Hardening: Remove Genericons example.html file.
-
-= 3.5.2 =
-Release Date: May 5th, 2015
-
-* Bug Fix: Sharing: Changes Facebook share count endpoint
-
-
-= 3.5.1 =
-Release Date: May 5th, 2015
-
-* Enhancement: Sharing: Changes Facebook share count method per Facebook API
-change
-* Enhancement: General: Remove .po files to reduce plugin size
-* Bug Fix: General: Remove identity crisis notification
-* Bug Fix: Subscriptions: Correct required input validation
-* Security hardening
-
-= 3.5 =
-Release Date: April 23rd, 2015
-Release Post: http://wp.me/p1moTy-1jF
-
-Jetpack 3.5 introduces the ability to manage your site's menus directly from
-WordPress.com and several bug fixes and enhancements. This upgrade is
-recommended for all users.
-
-* Enhancement: General: Change security reporting to use a transient instead
-of option to reduce backup load
-* Enhancement: General: Improve module search
-* Enhancement: JSON API: Allow users to manage menus through WordPress.com
-* Enhancement: Sharing: Reduce spam through email sharing
-* Bug Fix: Custom CSS: Improve recall of CSS revisions
-* Bug Fix: Extra Sidebar Widgets: Change class name for Contact Info widget
-* Bug Fix: Extra Sidebar Widgets: Fix errors when adding widgets via the
-customizer
-* Bug Fix: Extra Sidebar Widgets: Fix PHP notices in RSS widget
-* Bug Fix: General: Fix redirect loop on activation
-* Bug Fix: General: Styling fixes
-* Bug Fix: Protect: Add IP translation fallback when inet_pton is not
-available
-* Bug Fix: Protect: Always allow login from local IDs
-* Bug Fix: Protect: Sanitize displayed IP after block
-* Bug Fix: Publicize: Prevent generating Facebook profile links for app-scoped
-user IDs
-* Bug Fix: Subscriptions: Improve error handling
-* Bug Fix: Theme Tools: Include breadcrumb code
-* Misc: Extra Sidebar Widgets: Remove Readmill Widget
-
-= 3.4.3 =
-Release Date: April 20th, 2015
-Release Post: http://wp.me/p1moTy-1jb
-
-* Security hardening.
-
-= 3.4.2 =
-Release Date: April 19th, 2015
-Release Post: http://wp.me/p1moTy-1j6
-
-* Bug Fix: Contact info widget namespacing
-* Bug Fix: Javascript errors on wp-admin due to stats display code
-* Bug Fix: Potential fatal error from improperly called function
-* Bug Fix: Potential fatal error when protect servers are unreachable for
-WordPress Multisite
-
-= 3.4.1 =
-Release Date: March 19th, 2015
-
-* Bug Fix: General: Modules not displaying properly in non-English installs
-* Bug Fix: Manage: Some installs showing a transient fatal error
-* Bug Fix: Protect: Protect module not auto-activating for users who upgrade
-* Bug Fix: Omnisearch: Some installs not properly reporting WP version number,
-causing Omnisearch error
-* Bug Fix: Stats: Top posts/pages widget not loading
-* Bug Fix: Contact Info Widget: Fix conflict with Avada theme
-
-= 3.4 =
-Release Date: March 18th, 2015
-Release Post: http://wp.me/p1moTy-1fU
-
-* Enhancement: Config Settings: provide a notification for users that update
-features settings
-* Enhancement: Config Settings: provide a notification for users that update
-features settings
-* Enhancement: Contact Form: Use the predefined $title variable in the anchor
-tag in grunion contact form button
-* Enhancement: Contact Form: Use the predefined $title variable in the anchor
-tag in the button on admin
-* Enhancement: Custom Content Type: Add all Custom Post Types to Omnisearch
-* Enhancement: Custom Content Type: Add option to add Testimonial Custom
-Content Type in admin
-* Enhancement: Custom Content Type: bring consistency between the portfolio
-and testimonial shared codebase
-* Enhancement: Custom Content Type: code cleanup
-* Enhancement: Custom Content Type: register namespaced 'jetpack_portfolio'
-shortcode/use a prefix for shortcode for Portfolio
-* Enhancement: Custom Content Type: set shortcode image size to 'large' and
-add jetpack_portfolio_thumbnail_size filter to allow themes to set their own
-size for Portfolio
-* Enhancement: Custom Content Type: testimonial shortcode enhancement
-* Enhancement: Extra Sidebar Widgets: Add subscription widget wildcard
-* Enhancement: Extra Sidebar Widgets: Likes and Sharing Shortcodes
-* Enhancement: Extra Sidebar Widgets: Minor fixes to Facebook widget plugin
-for SSL
-* Enhancement: Fix/update jetpack version
-* Enhancement: General: Add DNS Prefetching
-* Enhancement: General: Add Jetpack admin dashboard widget
-* Enhancement: GlotPress: Update GP_Locales and GP_Locale classes
-* Enhancement: Improved control over Nova Theme Menu output markup
-* Enhancement: Infinite Scroll: Adds a `button` wrapper for the infinity
-handle.
-* Enhancement: Infinite Scroll: Check for response.html before using indexOf
-* Enhancement: Integrate BruteProtect for protection against Brute Force
-attacks
-* Enhancement: JSON API Manage: Added Mock Jetpack Option to Sync options that
-don't have to live in the Database
-* Enhancement: JSON API: Add/empty trash days option to sync
-* Enhancement: Jump Start: Add "Jump Start" interface for new users
-* Enhancement: Manage: Add "modified_before" and "modified_after" parameters
-to /sites/%s/posts/ via JSON API
-* Enhancement: Mobile Theme: Add filter for choosing mobile theme menu
-* Enhancement: Notifications: Changes to load the new notifications client.
-* Enhancement: Protect: Add a filter so that user can add thier own bots
-* Enhancement: Protect: Add security reporting
-* Enhancement: Protect: Add/whitelist endpoints via JSON API for Jetpack
-Protect
-* Enhancement: Publicize: update connection confirmation message
-* Enhancement: Sharing: Add custom service name as a class
-* Enhancement: Sharing: display name of custom service in link title
-* Enhancement: Sharing: Remove default post types for showing share links
-* Enhancement: Sharing: use Jetpack version number when enqueing sharing.js
-* Enhancement: Shortcodes Team Partnerships: Backport fixes from SoundCloud
-2.3.1 through 3.0.2
-* Enhancement: Shortlinks: use HTTPS when possible
-* Enhancement: Stats: Make loading of stats async
-* Enhancement: Subscriptions: Added settings field for comment sub text
-* Enhancement: Subscriptions: Hide Form After Submit
-* Enhancement: Subscriptions: remove label from widget title
-* Enhancement: Subscriptions: Update subscriptions.php
-* Bug Fix: Contact form: Increase CSS specificity for Contact Forms in widgets
-* Bug Fix: Custom Content Type: Testimonial Custom Content Type: use core
-`WP_Customize_Image_Control` instead of custom...
-* Bug Fix: Extra Sidebar Widgets: add missing & to if statement for widget
-visibility
-* Bug Fix: Extra Sidebar Widgets: Don't require height/width values in the
-Twitter Timeline widget
-* Bug Fix: Extra Sidebar Widgets: Upload images from the customizer/Extra
-Sidebar Widgets Tiled Galleries for Gallery Widget
-* Bug Fix: General: Fix bug that was preventing modules from displaying
-properly
-* Bug Fix: Manage: When calling /sites/%s/posts/ include all attachments not
-just the first five via JSON API
-* Bug Fix: Mobile Theme: Minileven; Start after DOM ready
-* Bug Fix: Sharing: Open sharing in same window
-* Bug Fix: Stats language
-* Bug Fix: Subscritpions: fix invalid field when no email address
-
-
-= 3.3.2 =
-Release Date: February 19th, 2015
-
-* Enhancement: Updated translation files.
-* Enhancement: Heartbeat: Correctly stat new datasets.
-* Bug Fix: Widget Visibility: Correct some caching of visibility results that
-may get evaluated too soon.
-* Bug Fix: Contact Form: Hardening.
-* Bug Fix: Photon: Make sure our gallery filter can parse array inputs as well
-as the default html.
-
-= 3.3.1 =
-Release Date: February 11th, 2015
-
-* Bug Fix: JSON API: Minor versioning data.
-* Bug Fix: Markdown: Re-run KSES after processing to account for syntax
-changes.
-* Bug Fix: Media Extractor: Don't call a gallery a gallery if it hasn't got
-any pictures!
-* Bug Fix: Module Management: Handle a core api change for folks running
-trunk.
-* Bug Fix: Related Posts: CSS -- better clear rows.
-* Bug Fix: Sharing: Including sharing account on Pinterest unofficial buttons
-as well.
-* Bug Fix: Sharing: Properly version external assets by Jetpack release
-version.
-* Bug Fix: Shortcodes: Soundcloud: Backport API compatibility fixes.
-* Bug Fix: Shortcodes: Flickr: Tidy up our regex url pattern matching.
-* Bug Fix: Subscriptions: Don't add 'Email Address' as the value -- we have
-placeholders!
-* Bug Fix: Widgets: Gallery Widget: Allow folks to upload images from the
-widget area in the customizer.
-
-= 3.3 =
-Release Date: December 15th, 2014
-Release Post: http://wp.me/p1moTy-1aF
-
-* Enhancement: Adds responsive video support to BuddyPress.
-* Enhancement: Custom Content Types: Added 'order' and 'orderby' options to
-portfolio shortcode.
-* Enhancement: Display notice when Jetpack Development Mode is on.
-* Enhancement: General: Update compatibility with Twenty Fifteen.
-* Enhancement: Image URL can now be overwritten with the
-`jetpack_images_fit_image_url_override` filter after dimensions are set by
-Photon.
-* Enhancement: JSON API: Add Endpoint for trigger Plugin Autoupdates.
-* Enhancement: JSON API: General Improvements. Documentation on
-http://developer.wordpress.com/
-* Enhancement: Likes: Updated the code to accept arbitrary CPTs.
-* Enhancement: Related Posts: Allow filter by `post_format`.
-* Enhancement: Sharing: add new `jetpack_sharing_counts` filter for option to
-turn off sharing counts.
-* Enhancement: Sharing: Use the Site Logo Theme Tool and the Site Icon as
-fallbacks for image tags.
-* Enhancement: Shortcodes: Made the code more readable by using output buffers
-instead of string concatenation.
-* Enhancement: Site Logo: Add alias functions to provide backward
-compatibility for themes expecting the old function calls.
-* Enhancement: Slideshow: Add title and alt text to images.
-* Enhancement: Subscription Form: Do not display the logged in user's email
-address by default.
-* Enhancement: Top Posts Widget: Refactor to allow conditional loading of the
-css.
-* Enhancement: Top Posts: Add `jetpack_top_posts_widget_count` filter to
-control number of displayed posts.
-* Bug Fix: Change subscribe_text from `p` to `div` so that it can contain
-block-level elements.
-* Bug Fix: Fonts: Change path to look for the svg in the right directory.
-* Bug Fix: Increase CSS specificity for Contact Forms in widgets.
-* Bug Fix: JSON API: Plugins Update: Make sure the plugin doesn't get
-deactivated.
-* Bug Fix: Likes: Fixes issues where likes don't load, load master iframe
-after scripts are loaded.
-* Bug Fix: Notes Module: Avoid a PHP Notice in cli scripts when the request
-doesn't contain a User-Agent header.
-* Bug Fix: Nova Menu CPT: fix notice when we have no taxonomies.
-* Bug Fix: Nova Menus: Use current instance to maintain object context.
-* Bug Fix: Related Posts: Add filter for `_enabled_for_request()`.
-* Bug Fix: Sharing: Prevent duplicate @ in shared Tweets.
-* Bug Fix: Site Logo: `get_site_logo()` now properly returns the site logo ID
-when provided in the `$show` argument.
-* Bug Fix: Site Logo: Correct evaluation of the Display Header Text in
-Customizer preview.
-
-= 3.2.1 =
-Release Date: November 14th, 2014
-
-* Enhancement: Updated translation files.
-* Enhancement: JSON API: More object vars passed back to some queries.
-Documentation on http://developer.wordpress.com/
-* Bug Fix: JSON API: Pass back correct author in `me/posts` data.
-* Bug Fix: JSON API: Don't check if a post is freshly pressed on remote
-Jetpack sites where the function doesn't exist.
-* Bug Fix: Site Logo: Add backward-compatible template tags to match the
-standalone release.
-* Bug Fix: Don't use __DIR__ -- it's 5.3+ only, and WordPress supports back to
-5.2.
-* Bug Fix: Retool how we remove the source styles when using the concatenated
-version.
-* Bug Fix: Shortcodes: TED: Correct default language code from `eng` to `en`.
-* Bug Fix: Gallery Widget: Add a default background color.
-* Bug Fix: Subscription Notifications: Remove the label.
-* Bug Fix: Sharing: enqueue Genericons on static front page as well if
-selected.
-
-= 3.2 =
-Release Date: October 29, 2014
-Release Post: http://wp.me/p1moTy-181
-
-* Enhancement: Speed Improvements (woohoo!).
-* Enhancement: Add site icons: an avatar for your blog.
-* Enhancement: Improvements to API endpoints.
-* Enhancement: Add oEmbed sources (Twitter, SoundCloud, Instagram,
-DailyMotion, Vine).
-* Enhancement: Add indicators to make it easier to see which modules are
-active.
-* Enhancement: Improve debug tool.
-* Enhancement: Add new 'Site Logos' code to theme tools, for themes that opt
-in to support it.
-* Enhancement: Improved caching for related posts.
-* Enhancement: Added "Remember Me" functionality to Single Sign On.
-* Enhancement: Improved accessibility.
-* Enhancement: Added additional filters to Widget Visibility.
-* Bug Fix: Fixed PHP Notice errors for Likes, Widget Visibility.
-* Bug Fix: Improvements to the testimonials CPT.
-* Bug Fix: Improved RTL on VideoPress admin.
-* Bug Fix: Removed Google+ Authorship module (discontinued by Google).
-* Bug Fix: Fixed use of deprecated function in mobile theme.
-* Bug Fix: Various fixes to Tiled Galleries.
-* Bug Fix: Various fixes to Contact Form.
-* Bug Fix: Various fixes to oEmbed.
-* Bug Fix: Various fixes to Single Sign On.
-* Bug Fix: Fixed styles in ShareDaddy.
-* Bug Fix: Better match protocols (http/https) to the site.
-
-
-= 3.1.1 =
-Release Date: August 7, 2014
-
-* Enhancement: Update translation files for strings that had been
-submitted/approved since release.
-* Bug Fix: Social Links: Add a function check to better degrade if Publicize
-isn't around.
-* Bug Fix: Open Graph: Add WordPress SEO back to the blacklist, until they
-update how they opt us out.
-* Bug Fix: Asset Minification: Add another caveat ( empty $plugin ) to short
-out on.
-* Bug Fix: Deprecated Hooks: Fixing our expectations where something that
-should be an array occasionally wasn't.
-* Bug Fix: Custom CSS: Add extra whitelist rule for -o-keyframe rules.
-
-= 3.1 =
-Release Date: July 31, 2014
-Release Post: http://wp.me/p1moTy-129
-
-* Enhancement: New Custom Content Types module.
-* Enhancement: New Jetpack Logo.
-* Enhancement: New optional JSON API endpoints for viewing updates and
-managing plugins and themes.
-* Enhancement: New Custom Post Type: Portfolio!
-* Enhancement: Rearranged buttons on the modules modals for easier management.
-* Enhancement: Jetpack Settings have improved keyboard accessibility.
-* Enhancement: Improved RTL support for After the Deadline, Carousel, Contact
-Form, Comics CPT, Custom CSS, Omnisearch, Publicize, Related Posts, Slideshow
-short code, Tiled Gallery, Widget-Visibility and Widgets Gallery.
-* Enhancement: Contact Form: Add an "Empty Spam" option.
-* Enhancement: i18n: Change the priority of where plugin_textdomain is hooked
-so that the plugins can better translate Jetpack.
-* Enhancement: Monitor: Displays how often the site is checked for downtime.
-* Enhancement: Shortcode: Added Mixcloud shortcode and oEmbed support.
-* Enhancement: Social Links: Improved handling of customizer hooks in
-non-admin context.
-* Enhancement: Stats: The smiley image is gone by default.
-* Enhancement: Stats: Added link to the configure page for stats so that the
-stats settings page is easier to find.
-* Enhancement: Theme Tools: Added the responsive videos to theme tools so that
-themes can support responsive videos more easily.
-* Update: Updated Genericons to version 3.1, new icons for website, ellipsis,
-foursquare, x-post, sitemap, hierarchy and paintbrush.
-* Bug Fix: Contact Form: Prefix function to avoid conflicts with other
-plugins.
-* Bug Fix: Custom CSS: Admin UI has a responsive layout.
-* Bug Fix: Custom CSS: Custom $content_width value doesn't overwrite theme's
-$content_width.
-* Bug Fix: Contact Form: Feedback link takes you to the form page.
-* Bug Fix: Carousel: Confirms an avatar is returned by get_avatar before
-displaying.
-* Bug Fix: Featured Content: Don't remove setting validation.
-* Bug Fix: Infinite Scroll: Google Universal Analytics support added.
-* Bug Fix: Multisite: Add message when updating multisite settings.
-* Bug Fix: Photon: Photon will no longer upscale images larger than the
-original size.
-* Bug Fix: Photon: Check that the image exists before rewriting the image URL
-to utilize Photon.
-* Bug Fix: Sharing: Pinterest adds attribute to display share count.
-* Bug Fix: Sharing: Respect an empty sharing title.
-* Bug Fix: Sharing: Share buttons now appear in the bbPress forms.
-* Bug Fix: Sharing: Support for multiple meta html tag og:image values.
-* Bug Fix: Single Sign On: Logout allows override of forcing Single Sign On.
-* Bug Fix: Single Sign On: Remove the lost password link on auto-forward
-logout.
-* Bug Fix: Social Links: Do not use anonymous function for compatibility with
-PHP 5.2.
-* Bug Fix: Tiled Galleries: Update jQuery mouseover caption effect to reduce
-flickering.
-* Bug Fix: Widgets Visibility: Works better in the customizer admin view.
-
-= 3.0.2 =
-Release Date: June 17, 2014
-
-* Enhancement: General: Make module categories filter more visible when
-active.
-* Enhancement: General: Updated translation files with more strings added
-since the last release.
-* Enhancement: General: Allow deep-linking to the Contact Support form.
-* Bug Fix: General: RTL Jetpack Admin UI looks better.
-* Bug Fix: General: Fixed PHP warning when bulk deactivating modules.
-* Bug Fix: General: Removed an unnecessary description.
-* Bug Fix: General: Resolved an SSL error on Jetpack Admin UI.
-* Bug Fix: General: Fix error comparing signatures when the WordPress
-installation is using site_url filters (applied mostly to WPEngine sites).
-* Bug Fix: General: Resolved PHP strict error on the mobile menu.
-* Bug Fix: General: Fix timing of conditional checks, so that calling
-developer mode via a plugin works again.
-* Bug Fix: General: Main page categories tab now properly translates module
-names.
-* Bug Fix: Related Posts: Fix a typo, the "more info" link now works.
-* Bug Fix: Likes: Improve button styling.
-* Bug Fix: Likes: Remove unused UI for Reblog settings on social settings
-page.
-* Bug Fix: Contact Form: Updated to no longer use a deprecated Akismet
-function.
-* Bug Fix: Contact Form: Sends email to the administrator that is not marked
-as spam again.
-* Bug Fix: Open Graph: Resolved PHP warning on open graph gallery pages when
-the gallery is empty.
-
-= 3.0.1 =
-Release Date: May 22, 2014
-
-* Bug Fix: AtD: A wpcom-only function got synced by mistake and caused a few
-errors. Fixed.
-* Bug Fix: Post By Email: Add static keyword to a function.
-* Bug Fix: ShareDaddy: In the admin-side configuration of sharing links, we
-used a Path icon instead of Pinterest. Oops!
-* Bug Fix: ShareDaddy: We inadvertently appended `via @jetpack` to some
-twitter shares. This is no longer the case.
-* Bug Fix: Related Posts: Tidying up and relocation of the `resync` button
-formerly on the more info modal.
-* Bug Fix: Infinite Scroll: Work better with core's MediaElement.js
-* Bug Fix: Heartbeat: Undeclared variable fixed.
-
-= 3.0 =
-Release Date: May 20, 2014
-Release Post: http://wp.me/p1moTy-Wi
-
-* New User Interface for managing modules and settings
-* New Module: Verfication Tools
-* Enhancement: New look for the Sharing module
-* Enhancement: Multiple improvements on which Twitter handle a Twitter card
-will display
-* Enhancement: Add option to hide Google+ Authorship banner while still
-receiving the benefits
-* Enhancement: Many Infinite Scroll enhancements to improve performance
-* Enhancement: Infinite Scroll will use your CPT's display name instead of
-"Older Posts"
-* Enhancement: JSON API added /media/new endpoint
-* Enhancement: Added filter to assign new default image for Open Graph tags
-* Enhancement: New [jetpack-related-posts] shortcode to add Related Posts to
-page instead of default placement
-* Enhancement: Added SSO option to turn off login form completely, to use
-WordPress.com login exclusively
-* Enhancement: The [googlemaps] shortcode allows for Google Maps Engine
-* Enhancement: YouTube shortcode allows HD playback
-* Enhancement: Smoother, Faster Tiled Galleries!
-* Enhancement: New languages! Use Jetpack in Irish, Fulah, and Tigrinya
-* Bug Fix: Use your browser's Back and Forward buttons when naviagating a
-Carousel
-* Bug Fix: Various Related Posts fixes and improvements for added flexibility
-* Bug Fix: WordPress 3.9: Restores ability to edit Contact Forms
-* Bug Fix: WordPress 3.9: Restores Gallery Widget compatability
-* Bug Fix: Ensure Markdown is kept when Bulk Editing posts
-* Bug Fix: Improved Jetpack's Multisite Network Admin page for networks with a
-large number of sites
-* Bug Fix: Ensure Sharing settings persist when Bulk Editing a post
-* Bug Fix: Various other shortcode improvements
-
-= 2.9.3 =
-Release Date: April 10, 2014
-Release Post: http://wp.me/p1moTy-U2
-
-* Important security update. CVE-2014-0173
-
-= 2.9.2 =
-Release Date: March 17, 2014
-
-* Bug Fix: Publicize: When publishing from a mobile app or third-party client,
-Publicize now works again.
-
-= 2.9.1 =
-Release Date: March 6, 2014
-
-* Bug Fix: After the Deadline: Fix a Javascript glitch that could prevent
-publishing of posts.
-* Bug Fix: SSO: Disable the implementation of an option that had been removed
-before release. This would have only been an issue if a site administrator
-had enabled the module during an early beta of 2.9.
-
-= 2.9 =
-Release Date: February 26, 2014
-Release Post: http://wp.me/p1moTy-RN
-
-* Added Multisite network functionality
-* New Module: Related Posts
-* Enhancement: Single Sign On
-* Enhancement: Mixcloud shortcode and oEmbed
-* Enhancement: Gist shortcode and oEmbed
-* Enhancement: Modify Facebook Like Box widget to support new Facebook
-parameters
-* Enhancement: Rolled the Push Notifications module into the Notes module
-* Enhancement: Update kses with Markdown
-* Enhancement: Adding keyboard accessibility to sharing buttons config page
-* Enhancement: Pull WordPress testing bits from the new official git mirror at
-WordPress.org
-* Bug Fix: Widget Visibility
-* Bug Fix: Revisions box in Custom CSS
-* Bug Fix: Fix several bugs in the WordPress Posts Widget so that it correctly
-updates
-* Bug Fix: Limit Login Attempts no longer generates false positives from
-xmlrpc.
-* Bug Fix: Clear max_posts transient on theme switch.
-* Bug Fix: Lower priority of sync to allow all CPTs to be registered.
-* Bug Fix: Contact form fields emailed in correct order.
-
-* Other bugfixes and enhancements at
-https://github.com/Automattic/jetpack/commits/2.9
-
-= 2.8 =
-Release Date: January 31, 2014
-Release Post: http://wp.me/p1moTy-Pd
-
-* New Module: Markdown
-* Module Update: Jetpack Monitor
-* Enhancement: Infinite Scroll: Keep track of $current_day between requests so
-the_date() works well.
-* Enhancement: Embeds: New filter to turn off embeds in comments.
-* Enhancement: Contact Form: Add placeholder support.
-* Enhancement: Widget: Gravatar Profile: Added filters to allow users to
-customize headings and fixed output of personal links.
-* Enhancement: Facebook OG Tags: Add `published_time`, `modified_time`, and
-`author` if the post type supports it.
-* Enhancement: Sharing: Display buttons on CPT archive pages.
-* Enhancement: Sharing: Add `get_share_title` function and filter.
-* Enhancement: Sharing: Add filter `sharing_display_link`.
-* Enhancement: Twitter Timeline: Flesh out tweet limit option.
-* Enhancement: Social Links: Add Google+ to the list of supported services.
-* Enhancement: Stats: Improve dashboard styles in 3.8.
-* Enhancement: Stats: No longer use Quantcast.
-* Enhancement: Top Posts: Add `jetpack_top_posts_days` filter.
-* Enhancement: AtD: Add TinyMCE 4 compatibility for its pending arrival in
-WordPress 3.9
-* Enhancement: Genericons: Update to v3.0.3
-* Enhancement: Tiled Galleries: Add alt attributes to images.
-* Enhancement: Shortcode: YouTube: Accept protocol-relative URLs.
-* Enhancement: Shortcode: Slideshow: Add white background option.
-* Enhancement: Shortcode: YouTube: Add support for the two closed-caption
-arguments.
-* Enhancement: Shortcode: Vimeo: Update the regex to support the new embed
-code.
-* Enhancement: Shortcode: Google Maps: Update the regex to handle new format
-for embeds.
-* Enhancement: Likes: Avoid a PHP Notice when $_POST['post_type'] is not set
-in meta_box_save.
-* Enhancement: Smush images to save on file size.
-* Enhancement: Publicize: Enable opt-in publicizing of custom post types.
-* Bug Fix: Random Redirect: Further namespace to avoid conflicts.
-* Bug Fix: Twitter Timeline: Resolve undefined index notice.
-* Bug Fix: Featured Content: Add extra class_exists() check to be extra
-careful.
-* Bug Fix: Facebook OG Tags: Change OG type of Home and Front Page to
-'website'
-* Bug Fix: Widget Visibility: Add support for old-style single use widgets.
-* Bug Fix: Google Authorship: Support apostrophe in author names.
-* Bug Fix: Media Extractor: Assorted graceful failure caveats.
-* Bug Fix: Carousel: 'Link to None' bug fixed.
-* Bug Fix: Embeds: Bandcamp: Switch escaping function for album and track IDs
-to handle (int)s greater than PHP_INT_MAX
-* Bug Fix: Some plugins trying to catch brute-force attacks mistakenly flagged
-the Jetpack connection as one.
-
-= 2.7 =
-Release Date: December 11, 2013
-Release Post: http://wp.me/p1moTy-Mk
-
-* Enhancement: Google+ Publicize
-* Enhancement: Add Cloudup as an oEmbed provider
-* Enhancement: Subscriptions: Add subscribe_field_id filter to allow updated
-ids when using multiple widgets
-* Enhancement: Infinite Scroll: TwentyFourteen Support
-* Bug Fix: Contact Form: Fix warning when form is called outside the loop
-* Bug Fix: Featured Content: Moving Settings to Customizer, provide option to
-set default tag as fallback, specify all supported post-types rather than just
-additional ones. Description Updates
-* Bug Fix: Featured Content: Compat with 'additional_post_types' theme support
-argument. Comment updates
-* Bug Fix: Featured Content: Make sure $term is an object before we treat it
-as one
-* Bug Fix: GlotPress: Merge with latest GlotPress
-* Bug Fix: Infinite Scroll: prevent Undefined index notice that can cause IS
-to fail when user has WP_DEBUG set to true
-* Bug Fix: Infinite Scroll: Improved compatibility with Carousel, Tiled
-Galleries, VideoPress, and the `[audio]` and `[video]` shortcodes
-* Bug Fix: Likes: Stop manually including version.php and trust the global.
-Some whitespace fixes, and if it's an attachment, follow the post_status of
-the parent post
-* Bug Fix: Mobile Theme: Display password field for Gallery format protected
-posts
-* Bug Fix: Sharing: Add new translation width for share button, and Google
-Plus icons
-* Bug Fix: Shortcodes: Support Ineternational Google domains for maps
-* Bug Fix: Shortcodes: Facebook Embeds: Register alternate permalink.php URL
-for posts
-* Bug Fix: Subscriptions: Moved inline styles from widget email input to
-separate css file
-* Bug Fix: Theme Tools: Fix glitch where random-redirect.php also showed as a
-plugin being deleted if you were deleting Jetpack
-* Bug Fix: Misc: Internationalization & RTL updates
-* Bug Fix: Misc: Prevent collisions with 'Facebook Featured Image & OG Meta
-Tags' plugin
-
-= 2.6.1 =
-Release Date: December 3, 2013
-
-* Bug Fix: minor styling fix in pre- and post-MP6/3.8 UI changes.
-* Bug Fix: Stats: spinner gif url fix when the user is viewing it over https.
-* Bug Fix: Stats: Switch to esc_html from htmlspecialchars in error message --
-better to be native
-* Bug Fix: Media Extractor: some hosts don't compile unicode for
-preg_match_all, so we temporarily removed the block that depended on it.
-* Bug Fix: Media Extractor: Add in some error handling for malformed URLs.
-* Bug Fix: Twitter Cards: treat single-image galleries as a photo-type.
-* Bug Fix: Update conflicting plugins for OG tags and Twitter Cards.
-* Bug Fix: Correct max supported version number -- had been 3.6, update to
-3.7.1
-
-= 2.6 =
-Release Date: November 28, 2013
-Release Post: http://wp.me/p1moTy-KE
-
-* Enhancement: WPCC / now called [SSO](http://jetpack.com/support/sso/):
-refactored.
-* Enhancement: Monitor: new module which will notify you if your site goes
-down(http://jetpack.com/support/monitor/).
-* Enhancement: Custom CSS: replace Ace editor with Codemirror.
-* Enhancement: Widgets: new “Display Posts” widget.
-* Enhancement: WP-CLI: add commands to disconnect a site and manage modules.
-* Enhancement: Contact Form: new filters, `grunion_contact_form_field_html`
-and `grunion_should_send_email`.
-* Enhancement: Custom Post Types: new restaurant post type.
-* Enhancement: Genericons: update to version 3.0.2.
-* Enhancement: Infinite Scroll: many improvements and fixes.
-* Enhancement: Likes: performance improvements.
-* Enhancement: MP6: Jetpack icons are now compatible with WordPress 3.8.
-* Enhancement: Open Graph: better descriptions, fallback images, and media
-extraction from video posts.
-* Enhancement: Publicize: new background token tests for connected publicize
-services and display problems on settings sharing and add new post.
-* Enhancement: Shortcodes: updated Bandcamp shortcode to support the
-`tracklist` and `minimal` attributes, as well as more `artwork` attribute
-values.
-* Enhancement: Shortlinks: add Custom Post Type support.
-* Enhancement: Subscriptions: add more ways to customize the subscriptions
-widget.
-* Enhancement: Twitter Cards: better media management and card type detection,
-and better handling of conflicts with other Twitter Cards plugins.
-* Enhancement: better handling of conflicts with other plugins.
-* Bug Fix: After the Deadline: add a typeof check for `tinyMCEPreInit.mceInit`
-to prevent js errors.
-* Bug Fix: Carousel: speed improvements and several bugfixes.
-* Bug Fix: Contact Form: remove nonce creating issues with caching plugins.
-* Bug Fix: Custom Post Types: Testimonials: return if featured image is empty
-so it can be removed after it’s been set.
-* Bug Fix: Featured Content: add additional post type support through the
-`additional_post_types` argument.
-* Bug Fix: Google Authorship: support apostrophes in Google+ profiles.
-* Bug Fix: Google Authorship: use a regexp Instead of using
-`mb_convert_encoding`, which doesn’t enjoy universal support.
-* Bug Fix: Heartbeat: ensure that it never triggers more than once per week.
-* Bug Fix: JSON API: add new `?meta=` parameter that allows you to expand the
-data found in the `meta->links` responses.
-* Bug Fix: JSON API: add new `is_private` response to the sites endpoint and
-`global_ID` response to the reader and post endpoints.
-* Bug Fix: Mobile Theme: allow small images to display inline.
-* Bug Fix: Mobile Theme: fix fatal errors for missing `minileven_header`
-function.
-* Bug Fix: Photon: fix errors when an image is not uploaded properly.
-* Bug Fix: Shortcodes: improvements to Archives, Google+, Presentations, Vine
-and Youtube.
-* Bug Fix: Tiled Galleries: improve display of panoramic images and fix errors
-when an image is not uploaded properly.
-
-= 2.5 =
-Release Date: September 19, 2013
-Release Post: http://wp.me/p1moTy-xS
-
-* Enhancement: Connect your Google+ profile and WordPress site to prove
-authorship of posts.
-* Enhancement: Improved sharing buttons display.
-* Enhancement: Comment on your posts using Google+ to signin.
-* Enhancement: Embed Google+ posts into your posts.
-* Enhancement: Added event logging capabilities for debugging
-* Enhancement: LaTeX is now available in dev mode
-* Enhancement: Introduced gallery widget
-* Enhancement: Added new module: VideoPress
-* Enhancement: Updated identity crisis checker
-* Enhancement: Tiled Gallery widget added
-* Enhancement: Google +1 button changed to Google+ Share button, to avoid
-confusion
-* Enhancement: Added check to ensure Google+ authorship accounts have
-disconnected properly
-* Enhancement: Updated identity crisis checker
-* Enhancement: Tiled Gallery widget added
-* Enhancement: Google +1 button changed to Google+ Share button, to avoid
-confusion
-* Enhancement: Added the ability to embed Facebook posts
-* Bug Fix: Redirect issue with G+ authorship when WordPress is not in the root
-directory
-* Enhancement: Better security if carousel to prevent self-XSS
-* Enhancement: Better handling of cookies for subsites on multisite installs
-* Bug Fix: Check for post in G+ authorship before accessing it
-
-= 2.4.2 =
-Release Date: September 5, 2013
-
-* Enhancement: Converted to module headers to detect Auto-Activating modules.
-* Enhancement: WPCC: Added 'Close' link to deactivate WPCC in the admin nag.
-* Enhancement: JSON API: Add User Nicename to the user data.
-* Bug Fix: Contact Form: Stopped using a short tag.
-* Bug Fix: Changed CSS selector to catch MP6 stylings.
-* Bug Fix: Dropped __FILE__ references in class.jetpack.php in favor of
-JETPACK__PLUGIN_DIR constant, now code that deactivates the plugin from the
-connect nag works again.
-* Bug Fix: Random Redirect: Add random-redirect to the plugins overriden list,
-in case someone is using Matt's Random Redirect plugin.
-* Bug Fix: Tiled Gallery: Revert r757178 relating to tiled gallery defaults.
-* Bug Fix: Return false, not zero, if $GLOBALS['content_width'] isn't defined.
-* Bug Fix: WPCC: Don't call wp_login_url() in the constructor -- if someone is
-running a custom login page, that can break things if their plugin runs
-get_permalink as a filter before init.
-* Bug Fix: Tiled Gallery: Add fallback if post_parent == 0 due to
-infinite_scroll_load_other_plugins_scripts.
-* Bug Fix: Custom CSS: Set the ACE gutter z-index to 1.
-* Bug Fix: Custom Post Types: Switch from wp_redirect() to wp_safe_redirect().
-* Bug Fix: Likes: Set overflow:hidden; on the likes adminbar item.
-* Bug Fix: Mobile Theme: Migrate where/when the custom header stuff is
-included.
-* Bug Fix: Slideshow Shortcode: Add a height of 410px.
-
-= 2.4.1 =
-Release Date: September 4, 2013
-
-* Enhancement: Don't auto-activate WPCC.
-
-= 2.4 =
-Release Date: August 30, 2013
-Release Post: http://wp.me/p1moTy-wv
-
-* Enhancement: WordPress.com Connect (WPCC): New Module.
-* Enhancement: Widget Visibility: New Module.
-* Enhancement: Shortcode: Addition of new Twitter Timeline shortcode.
-* Enhancement: Shortcode: Addition of new Presentation shortcode.
-* Enhancement: Shortcode: Addition of new Vine shortcode.
-* Enhancement: Custom Post Types: CPTs are available.
-* Enhancement: Subscriptions: Add 'jetpack_is_post_mailable' filter.
-* Enhancement: OpenGraph: Add Twitter Cards meta tags as well.
-* Enhancement: Custom CSS: Update lessc and scssc preprocessors to 0.4.0 and
-0.0.7 respectively.
-* Enhancement: Omnisearch: Add Media results.
-* Enhancement: Likes: Use a protocol-agnostic iframe, instead of forced HTTPS.
-* Enhancement: Top Posts: Increase post limit.
-* Enhancement: Publicize: Updated JS and UI.
-* Enhancement: Photon: New filter to let site admins/owners enable photon for
-HTTPS urls.
-* Enhancement: New jetpack_get_available_modules filter.
-* Enhancement: Subscriptions: Antispam measures.
-* Bug Fix: Add inline style to keep plugins/themes from inadvertently hiding
-the Connect box.
-* Bug Fix: Custom CSS: Respect the new wp_revisions_to_keep filter.
-* Bug Fix: Photon: Only hook jetpack_photon_url into the filter if the user
-has Photon active.
-* Bug Fix: Heartbeat: Used wrong object, occasinally fatal-erroring out for
-the cron.
-* Bug Fix: Add an empty debug.php file to the /modules/ folder, to solve some
-update issues where it never got deleted.
-
-= 2.3.5 =
-Release Date: August 12, 2013
-Release Post: http://wp.me/p1moTy-vf
-
-* Enhancement: Added Path support to Publicize.
-
-= 2.3.4 =
-Release Date: August 6, 2013
-Release Post: http://wp.me/p1moTy-uL
-
-* Bug Fix: Correct when output occurs with CSV export for feedback.
-* Bug Fix: Tidy up the Heartbeat API.
-* Enhancement: User Agent: Improve detecting of bots.
-* Enhancement: Genericons: Make sure we're pulling the freshest version from
-genericons.com on each release.
-* Enhancement: JSON API: Open up replies/new endpoints so that users can
-comment on blogs that are not in their access token.
-* Enhancement: Photon: Apply to `get_post_gallery()` function as well.
-* Enhancement: Tiled Galleries: Add a default bottom margin to be more robust
-out of the box.
-* Translations: Adding in fresher translation files.
-* Deprecation: Removing the retinization code for 3.4, as it was included in
-WordPress trunk from 3.5 onwards.
-
-= 2.3.3 =
-Release Date: July 26, 2013
-Release Post: http://wp.me/p1moTy-uv
-
-* Bug Fix: We were inadvertently overwriting cron schedules with our Jetpack
-heartbeat. This should now be fixed.
-* Enhancement: New Facebook Sharing icons.
-* Enhancement: Minor update to the Minileven stylesheet.
-
-= 2.3.2 =
-Release Date: July 25, 2013
-Release Post: http://wp.me/p1moTy-uv
-
-* Bug Fix: Fixed an issue where Facebook Pages were not available when
-connecting a Publicize account.
-* Bug Fix: For some web hosts, fixed an issue where 'Jetpack ID' error would
-occur consistently on connecting to WordPress.com.
-* Enhancement: Adding some new stats and heartbeat checking to Jetpack.
-
-= 2.3.1 =
-Release Date: July 2, 2013
-Release Post: http://wp.me/p1moTy-t9
-
-* Enhancement: Social Links: Retooling the class for better consistency and
-performance behind the scenes.
-* Enhancement: Omnisearch: Make it easier to search Custom Post Types. No
-longer need to extend the class, if all you want is a basic display. Just
-call `new Jetpack_Omnisearch_Posts( 'cpt' );`
-* Enhancement: Sharing Buttons: LinkedIn: Use the official button's sharing
-link on the Jetpack implementation for a more consistent sharing experience
-and produce better results on LinkedIn's end.
-* Enhancement: Debug / Connection: Better logic in determining whether the
-server can use SSL to connect to WPCOM servers.
-* Enhancement: Sharing: Twitter: Calculate the size of the Tweet based on the
-short URL rather than the full URL size.
-* Enhancement: Debug: More readable and understandable messages.
-* Enhancement: Likes: Including some MP6 styles.
-* Enhancement: Comments: Add new core classes to comment form. See
-http://core.trac.wordpress.org/changeset/24525
-* Bug Fix: Omnisearch: Don't load everything initially, run the providers off
-admin_init, and then issue an action for folks to hook into.
-* Bug Fix: Omnisearch: Modify some child class functions to match the parent's
-parameters and avoid strict notices in newer versions of PHP.
-* Bug Fix: Omnisearch: Hide the search form in the module description if the
-current user can't use it.
-* Bug Fix: Comment Form: Use edit_pages, not edit_page (fixes glitch in
-previous beta, never publicly released).
-* Bug Fix: Twitter Timeline Widget: Additional testing of values and casting
-to default if they are nonconforming.
-* Bug Fix: Sharing: Pinterest: Make the button wider if there's a count to
-avoid overlapping with others.
-* Bug Fix: Post By Email: Change configuration_redirect to static.
-* Bug Fix: Likes: Don't call configuration_redirect as a static, do it as a
-method.
-* Bug Fix: Add some further security measures to module activation.
-
-= 2.3 =
-Release Date: June 19, 2013
-Release Post: http://wp.me/p1moTy-rX
-
-* Enhancement: Omnisearch: Search once, get results from everything!
-Omnisearch is a single search box that lets you search many different things
-* Enhancement: Debugger: this module helps you debug connection issues right
-from your dashboard, and contact the Jetpack support team if needed
-* Enhancement: Social Links: this module is a canonical source, based on
-Publicize, that themes can use to let users specify where social icons should
-link to
-* Enhancement: It’s now easier to find out if a module is active or note,
-thanks to the new Jetpack::is_module_active()
-* Enhancement: Contact Form: You are now able to customize the submit button
-text thanks to the submit_button_text parameter
-* Enhancement: Comments: We've added a filter to let users customize the
-Comment Reply label, and users can now also customize the prompt on the
-comment form again.
-* Enhancement: Mobile Theme: Add genericons.css and registering it so it’s
-easily accessible to other modules that may want it
-* Enhancement: Tiled Galleries: You can now customize the captions, thanks to
-the jetpack_slideshow_slide_caption filter
-* Enhancement: Widgets: Twitter Timeline: Add the noscrollbar option
-* Enhancement: Widgets: Facebook Like Box Widget: add a show_border attribute
-* Enhancement: Widgets: FB Like Box: let Jetpack users override the iframe
-background color set in an inline style attribute by using the
-jetpack_fb_likebox_bg filter
-* Bug Fix: Carousel: Fix a bug where double-clicking a gallery thumbnail broke
-the carousel functionality
-* Bug Fix: Comments: Change “must-log-in” to class from ID
-* Bug Fix: Contact Form: Make the Add Contact Form link a button, ala Add
-Media in core
-* Bug Fix: Contact Form: Fix encoding of field labels
-* Bug Fix: Contact Form: Remove references to missing images
-* Bug Fix: Fix 2 XSS vulnerabilities
-* Bug Fix: JSON API: Minor fixes for bbPress compatibility
-* Bug Fix: JSON API: Fix metadata bugs
-* Bug Fix: JSON API: Add a new hook that is fired when a post is posted using
-the API
-* Bug Fix: JSON API: Prefork/REST: update path normalizer to accept versions
-other than 1
-* Bug Fix: JSON API: Remove extra parenthesis in CSS
-* Bug Fix: Custom CSS: Move content width filters higher up so that they’re
-active for all users, not just logged-in admins.
-* Bug Fix: Custom CSS: All CSS properties that accept images as values need to
-be allowed to be declared multiple times so that cross-browser gradients work
-* Bug Fix: Infinite Scroll: Allow themes to define a custom function to render
-the IS footer
-* Bug Fix: Infinite Scroll: Fix up Twenty Thirteen styles for RTL and small
-viewports.
-* Bug Fix: Likes: Fix ‘Call to undefined function’
-* Bug Fix: Likes: Add scrolling no to iframe to make sure that like button in
-admin bar does not show scrollbars
-* Bug Fix: Likes: Remove setInterval( JetpackLikesWidgetQueueHandler, 250 )
-call that was causing heavy CPU load
-* Bug Fix: Mobile Theme: Remove unused variable & function call
-* Bug Fix: Publicize: Fix LinkedIn profile URL generation
-* Bug Fix: Publicize: Better refresh handling for services such as LinkedIn
-and Facebook
-* Bug Fix: Shortcodes: Audio shortcode: Treat src as element 0. Fixes audio
-shortcodes created by wp_embed_register_handler when an audio url is on a line
-by itself
-* Bug Fix: Bandcamp: Updates to the Bandcamp shortcode
-* Bug Fix: Stats: Fix missing function get_editable_roles on non-admin page
-loads
-* Bug Fix: Widgets: Twitter Timeline: Fix HTML links in admin; set default
-values for width/height; change some of the sanitization functions
-* Bug Fix: Widgets: Top Posts Widget: Exclude attachments
-* Bug Fix: Widgets: Top Posts Widget: fix data validation for number of posts
-* Bug Fix: Fix PHP warnings non-static method called dynamically
-* Bug Fix: Fixed an issue in image extraction from HTML content
-* Bug Fix: Open Graph: Change default minimum size for og:image too 200×200
-* Note: The old Twitter widget was removed in favour of Twitter Timeline
-widget
-* Note: Add is_module_active() to make it easier to detect what is and what
-isn’t
-* Note: Compressing images via lossless methods
-* Note: Tidying up jetpack’s CSS
-* Note: Set the max DB version for our retina overrides that were meant to
-stop for WordPress 3.5
-* Note: Updating spin.js to the current version, and shifting to the canonical
-jquery.spin.js library
-* Note: Adding Jetpack_Options class, and abstracting out options functions to
-it
-
-= 2.2.5 =
-Release Date: May 1, 2013
-Release Post: http://wp.me/p1moTy-p8
-
-* Enhancement: Stats: Counting of registered users' views can now be enabled
-for specific roles
-* Bug Fix: Security tightening for metadata support in the REST API
-* Bug Fix: Update the method for checking Twitter Timeline widget_id and
-update coding standards
-* Bug Fix: Custom CSS: Allow the content width setting to be larger than the
-theme's content width
-* Bug Fix: Custom CSS: Fix possible missing argument warning.
-
-= 2.2.4 =
-Release Date: April 26, 2013
-Release Post: http://wp.me/p1moTy-oU
-
-* Bug Fix: JSON API compat file include was not assigning a variable
-correctly, thus throwing errors. This has been resolved.
-
-= 2.2.3 =
-Release Date: April 26, 2013
-Release Post: http://wp.me/p1moTy-oR
-
-* Enhancement: Comments - Add the reply-title H3 to the comment form so that
-themes or user CSS can style it
-* Enhancement: Custom CSS - Support for the CSS @viewport
-* Enhancement: JSON API - Support for i_like, is_following, and is_reblogged
-* Enhancement: JSON API: Custom Post Type Support
-* Enhancement: JSON API: Meta Data Support
-* Enhancement: JSON API: Bundled Support for bbPress
-* Enhancement: JSON API: Additions of following, reblog, and like status for
-post endpoints.
-* Enhancement: Shortcodes - Add Bandcamp shortcode
-* Enhancement: Tiled Galleries - Add code to get blog_id
-* Bug Fix: Carousel - Support relative image paths incase a plugin is
-filtering attachment URLs to be relative instead of absolute
-* Bug Fix: Carousel - Add likes widget to images / Respect comment settings
-for name/email
-* Bug Fix: Carousel - Make name and email optional if the setting in the admin
-area says they are
-* Bug Fix: Contact Form - Bug fixes, including a fix for WP-CLI
-* Bug Fix: Contact Form - Remove deprecated .live calls, delegate lazily to
-jQuery(document) since it's all in an iframe modal
-* Bug Fix: Contact Form - RTL styles
-* Bug Fix: Contact Form - Better handle MP6 icons
-* Bug Fix: Custom CSS - array_shift() took a variable by reference, so avoid
-passing it the result of a function
-* Bug Fix: Custom CSS - Allow case-insensitive CSS properties (<a
-href="https://wordpress.org/support/topic/two-issues-with-jetpack-css-module?replies=9">ref</a>)
-* Bug Fix: Infinite Scroll - Maintain main query's `post__not_in` values when
-querying posts for IS
-* Bug Fix: Infinite Scroll - Ensure that IS's `pre_get_posts` method isn't
-applied in the admin. Also fixes an incorrect use of `add_filter()` where
-`add_action()` was meant. Fixes #1696-plugins
-* Bug Fix: Infinite Scroll - CSS update - IS footer was too large in Firefox
-* Bug Fix: Infinite Scroll - Add bundled support for Twenty Thirteen default
-theme
-* Bug Fix: Infinite Scroll - Include posts table's prefix when modifying the
-SQL WordPress generates to retrieve posts for Infinite Scroll
-* Bug Fix: JSON API - Use wp_set_comment_status to change the comment status,
-to make sure actions are run where needed
-* Bug Fix: Likes - Update style and logic for matching id's
-* Bug Fix: Mobile Theme - Ensure that
-<code>minileven_actual_current_theme()</code> is child-theme compatible +
-other updates
-* Bug Fix: Mobile Theme - Update method for finding currently active theme.
-* Bug Fix: Notifications - Remove the postmessage.js enqueue since this
-feature solely supports native postMessage
-* Bug Fix: Notifications - Clean up script enqueues and use core versions of
-underscore and backbone on wpcom as fallbacks
-* Bug Fix: Notifications - Enqueue v2 scripts and style
-* Bug Fix: Notifications - Prefix module-specific scripts and style to prevent
-collision
-* Bug Fix: Notifications - Include lang and dir attributes on
-#wpnt-notes-panel so the notifications iframe can use these to display
-correctly
-* Bug Fix: Open Graph: Use the profile OG type instead of author. Add tags for
-first/last names
-* Bug Fix: Publicize - Remove the Yahoo! service because they stopped
-supporting that API entirely
-* Bug Fix: Publicize - fix fatal errors caused by using a method on a
-non-object. Props @ipstenu
-* Bug Fix: Sharing - Adding 2x graphics for Pocket sharing service
-* Bug Fix: Sharing - Bug fixes, and a new filter
-* Bug Fix: Shortcodes - Audio: make sure that the Jetpack audion shortcode
-does not override the 3.6 core audio shortcode. Also, we need to filter the
-old Jetpack-style shortcode to properly set the params for the Core audio
-shortcode.
-* Bug Fix: Shortcodes - Audio: Re-enable the flash player
-* Bug Fix: Shortcodes - Slideshow: RTL styling update
-* Bug Fix: Tiled Galleries - Fix IE8 display bug where it doesn't honor inline
-CSS for width on images
-* Bug Fix: Tiled Galleries - Remove depreacted hover call, use mouseenter
-mouseleave instead
-* Enhancement: Twitter Timeline Widget: New JavaScript based widget. Old one
-will discontinue May 7th.
-
-= 2.2.2 =
-Release Date: April 5, 2013
-
-* Enhancement: Mobile Theme: Add controls for custom CSS.
-* Enhancement: Sharing: Add Pocket to the available services.
-* Bug Fix: Custom CSS: Update the method for generating content width setting.
-* Bug Fix: JSON API: Security updates.
-* Bug Fix: Likes: Add settings for email notifications and misc style updates.
-* Bug Fix: Notifications: Add the post types to sync after init.
-* Bug Fix: Publicize: RTL styling.
-* Bug Fix: Shortcodes: security fixes and function prefixing.
-* Bug Fix: Widgets: Update wording on the Top Posts widget for clarity.
-* Bug Fix: Jetpack Post Images security fixes.
-
-= 2.2.1 =
-Release Date: March 28, 2013
-Release Post: http://wp.me/p1moTy-ob
-
-* Enhancement: Development Mode: Define the `JETPACK_DEV_DEBUG` constant to
-`true` to enable an offline mode for localhost development. Only modules that
-don't require a WordPress.com connection can be enabled in this mode.
-* Enhancement: Likes: Added the number of likes to the wp-admin/edit.php
-screens.
-* Enhancement: Mobile Theme - design refresh
-* Enhancement: Shortcodes - Add a filter to the shortcode loading section so
-that a plugin can override what Jetpack loads for shortcodes
-* Enhancement: Widgets - Filter Jetpack's widgets so that a plugin can control
-which widgets get loaded
-* Bug Fix: Comments - Add in a wrapper div with id='commentform'
-* Bug Fix: Contact Form - Added date field with datepicker
-* Bug Fix: Contact Form - Allowed non-text widgets to use contact forms by
-running their output through the widget_text filter
-* Bug Fix: Custom CSS - Allowing color values to be defined multiple times
-* Bug Fix: Custom CSS - Dynamically loading the correct CSS/LESS/SCSS mode for
-the CSS editor if the user changes the preprocessor
-* Bug Fix: Custom CSS - Using the unminified worker CSS
-* Bug Fix: Custom CSS - Added rule: reminder about using .custom-background on
-body selector
-* Bug Fix: Custom CSS - Modified rule: Removed portion of overqualification
-rule that deems 'a.foo' overqualified if there are no other 'a' rules
-* Bug Fix: Custom CSS - Ensuring that the editor and the textarea behind it
-are using the same font so that the cursor appears in the correct location
-* Bug Fix: Custom CSS - Fix a bug that caused some sites to always ignore the
-base theme's CSS when in preview mode
-* Bug Fix: Custom CSS - Run stripslashes() before passing CSS to save()
-* Bug Fix: Custom CSS - Moving inline CSS and JavaScript into external files
-* Bug Fix: Infinite Scroll - Use the `is_main_query()` function and query
-method
-* Bug Fix: Infinite Scroll - Remove unused styles and an unnecessary margin
-setting
-* Bug Fix: Infinite Scroll - Allow the query used with IS to be filtered, so
-IS can be applied to a new query within a page template
-* Bug Fix: JSON API - Catch the 'User cannot view password protected post'
-error from can_view_post and bypass it for likes actions if the user has the
-password entered
-* Bug Fix: Likes - Bump cache buster, Don't show likes for password protected
-posts
-* Bug Fix: Notifications - Remove a redundant span closing tag
-* Bug Fix: Photon - If an image is already served from Photon but the anchor
-tag that surrounds it hasn't had its `href` value rewritten to use Photon, do
-so. Accounts for WP galleries whose individual items are linked to the
-original image files
-* Bug Fix: Publicize - Allows GLOBAL_CAP to be filtered, Adds an AYS to
-connection deletion, UI improvement for MP6 (and in general)
-* Bug Fix: Sharedaddy - Fire the sharing redirect earlier for increased plugin
-compatibility
-* Bug Fix: Stats - Move the display:none CSS output to wp_head so it gets
-written inside the HEAD tag if the option to hide the stats smilie is active
-* Bug Fix: Tiled Galleries - A more descriptive name for the default gallery
-type
-* Bug Fix: Tiled Galleries - Hide the Columns setting for gallery types that
-don't support it
-* Bug Fix: Run the admin_menu action late so that plugins hooking into it get
-a chance to run
-* Bug Fix: Prophylactic strict equality check
-
-= 2.2 =
-Release Date: February 26, 2013
-Release Post: http://wp.me/p1moTy-ns
-
-* Enhancement: Likes: Allow your readers to show their appreciation of your
-posts.
-* Enhancement: Shortcodes: SoundCloud: Update to version 2.3 of the SoundCloud
-plugin (HTML5 default player, various fixes).
-* Enhancement: Shortcodes: Subscriptions: Add a shortcode to enable placement
-of a subscription signup form in a post or page.
-* Enhancement: Sharedaddy: Allow selecting multiple images from a post using
-the Pinterest share button.
-* Enhancement: Contact Form: Allow feedbacks to be marked spam in bulk.
-* Enhancement: Widgets: Readmill Widget: Give your visitors a link to send
-your book to their Readmill library.
-* Note: Notifications: Discontinue support for Internet Explorer 7 and below.
-* Bug Fix: JSON API: Fix authorization problems that some users were
-experiencing.
-* Bug Fix: JSON API: Sticky posts were not being sorted correctly in /posts
-requests.
-* Bug Fix: Stats: sync stats_options so server has roles array needed for
-view_stats cap check.
-* Bug Fix: Infinite Scroll: Display improvements.
-* Bug Fix: Infinite Scroll: WordPress compatibility fixes.
-* Bug Fix: Photon: Only rewrite iamge urls if the URL is compatible with
-Photon.
-* Bug Fix: Photon: Account for registered image sizes with one or more
-dimesions set to zero.
-* Bug Fix: Subscriptions: Make HTML markup more valid.
-* Bug Fix: Subscriptions: Fixed notices displayed in debug mode.
-* Bug Fix: Custom CSS: CSS warnings and errors should now work in environments
-where JavaScript is concatenated or otherwise modified before being served.
-* Bug Fix: Hovercards: WordPress compatibility fixes.
-* Bug Fix: Improved image handling for the Sharing and Publicize modules.
-* Bug Fix: Carousel: Display and Scrollbar fixes.
-* Bug Fix: Tiled Galleries: Restrict images in tiled galleries from being set
-larger than their containers.
-* Bug Fix: Widgets: Gravatar Profile: CSS fixes.
-* Bug Fix: Publicize: Strip HTML comments from the data we send to the third
-party services.
-* Bug Fix: Notifications: Dropped support for IE7 and below in the
-notifications menu.
-* Bug Fix: Custom CSS Editor: Allow custom themes to save CSS more easily.
-* Bug Fix: Infinite Scroll: Waits until the DOM is ready before loading the
-scrolling code.
-* Bug Fix: Mobile Theme: If the user has disabled the custom header text
-color, show the default black header text color.
-* Bug Fix: Mobile Theme: Fix for the "View Full Site" link.
-* Bug Fix: Mobile Theme: Use a filter to modify the output of wp_title().
-* Bug Fix: Publicize: Twitter: Re-enable character count turning red when more
-than 140 characters are typed.
-
-= 2.1.2 =
-Release Date: February 5, 2013
-
-* Enhancement: Infinite Scroll: Introduce filters for Infinite Scroll.
-* Enhancement: Shortcodes: TED shortcode.
-* Bug Fix: Carousel: Make sure to use large image sizes.
-* Bug Fix: Carousel: Clicking the back button in your browser after exiting a
-carousel gallery brings you back to the gallery.
-* Bug Fix: Carousel: Fix a scrollbar issue.
-* Bug Fix: Comments: Move the get_avatar() function out of the base class.
-* Bug Fix: Contact Form: Prevent the form from displaying i18n characters.
-* Bug Fix: Contact Form: Remove the !important CSS rule.
-* Bug Fix: Infinite Scroll: Main query arguments are not respected when using
-default permalink.
-* Bug Fix: JSON API: Trap 'wp_die' for new comments and image uploads.
-* Bug Fix: JSON API: Use a better array key for the user_ID.
-* Bug Fix: JSON API: Make the class instantiable only once, but multi-use.
-* Bug Fix: JSON API: Fix lookup of pages by page slug.
-* Bug Fix: JSON API: Updates for post likes.
-* Bug Fix: Mobile Theme: Remove Android download link for BB10 and Playbook.
-* Bug Fix: Open Graph: Stop using Loop functions to get post data for meta
-tags.
-* Bug Fix: Photon: Suppress and check for warnings when pasing_url and using
-it.
-* Bug Fix: Photon: Ensure full image size can be used.
-* Bug Fix: Photon: Resolve Photon / YouTube embed conflict.
-* Bug Fix: Photon: Fix dimension parsing from URLs.
-* Bug Fix: Photon: Make sure that width/height atts are greater than zero.
-* Bug Fix: Sharedaddy: Layout fixes for share buttons.
-* Bug Fix: Sharedaddy: Always send Facebook a language locale.
-* Bug Fix: Sharedaddy: Don't look up share counts for empty URLs.
-* Bug Fix: Shortcodes: Ensure that images don't overflow their containers in
-the slideshow shortcode.
-* Bug Fix: Shortcodes: only enqueue jquery if archive supports Infinite Scroll
-in the Audio Shortcode.
-* Bug Fix: Tiled Galleries: Use a more specific class for gallery item size to
-avoid conflicts.
-* Bug Fix: Tiled Galleries: Fixing scrolling issue when tapping on a Tiled
-Gallery on Android.
-* Bug Fix: Widgets: Gravatar profile widget typo.
-* Bug Fix: Widgets: Add (Jetpack) to widget titles.
-* Bug Fix: Widgets: Twitter wasn't wrapping links in the t.co shortener.
-* Bug Fix: Widgets: Facebook Likebox updates to handling the language locale.
-* Bug Fix: Widgets: Top Posts: Fixed a WP_DEBUG notice.
-* Bug Fix: Widgets: Gravatar Profile Widget: transient names must be less than
-45 characters long.
-* Bug Fix: typo in delete_post_action function.
-* Bug Fix: Load rendered LaTeX image on same protocol as its page.
-
-
-= 2.1.1 =
-Release Date: January 5, 2013
-Release Post: http://wp.me/p1moTy-ng
-
-* Bug Fix: Fix for an error appearing for blogs updating from Jetpack 1.9.2 or
-earlier to 2.1.
-
-= 2.1 =
-Release Date: January 4, 2013
-Release Post: http://wp.me/p1moTy-m3
-
-* Enhancement: Tiled Galleries: Show off your photos with cool mosaic
-galleries.
-* Enhancement: Slideshow gallery type: Display any gallery as a slideshow.
-* Enhancement: Custom CSS: Allow zoom property.
-* Enhancement: Stats: Show WordPress.com subscribers in stats.
-* Bug Fix: Fix errors shown after connecting Jetpack to WordPress.com.
-* Bug Fix: Photon: Fix bug causing errors to be shown in some posts.
-* Bug Fix: Photon: Convert all images in posts when Photon is active.
-* Bug Fix: Infinite Scroll: Improved compatibility with the other modules.
-* Bug Fix: Custom CSS: Updated editor to fix missing file errors.
-* Bug Fix: Publicize: Don't show the Facebook profile option if this is a
-Page-only account.
-* Bug Fix: Photon: A fix for photos appearing shrunken if they didn't load
-quickly enough.
-* Bug Fix: Sharing: A compatibility fix for posts that only have partial
-featured image data.
-* Bug Fix: Publicize/Sharing: For sites without a static homepage, don't set
-the OpenGraph url value to the first post permalink.
-* Bug Fix: Mobile Theme: Better compatibility with the customizer on mobile
-devices.
-* Bug Fix: Sharing: Don't show sharing options on front page if that option is
-turned off.
-* Bug Fix: Contact Form: Fix PHP warning shown when adding a Contact Form in
-WordPress 3.5.
-* Bug Fix: Photon: Handle images with relative paths.
-* Bug Fix: Contact Form: Fix compatibility with the Shortcode Embeds module.
-
-
-= 2.0.4 =
-Release Date: December 14, 2012
-Release Post: http://wp.me/p1moTy-lT
-
-* Bug Fix: Open Graph: Correct a bug that prevents Jetpack from being
-activated if the SharePress plugin isn't installed.
-
-= 2.0.3 =
-Release Date: December 14, 2012
-Release Post: http://wp.me/p1moTy-lJ
-
-* Enhancement: Infinite Scroll: support
-[VideoPress](https://wordpress.org/plugins/video/) plugin.
-* Enhancement: Photon: Apply to all images retrieved from the Media Library.
-* Enhancement: Photon: Retina image support.
-* Enhancement: Custom CSS: Refined editor interface.
-* Enhancement: Custom CSS: Support [Sass](http://sass-lang.com/) and
-[LESS](http://lesscss.org/) with built-in preprocessors.
-* Enhancement: Open Graph: Better checks for other plugins that may be loading
-Open Graph tags to prevent Jetpack from doubling meta tag output.
-* Bug Fix: Infinite Scroll: Respect relative image dimensions.
-* Bug Fix: Photon: Detect custom-cropped images and use those with Photon,
-rather than trying to use the original.
-* Bug Fix: Custom CSS: Fix for bug preventing @import from working with
-url()-style URLs.
-
-= 2.0.2 =
-Release Date: November 21, 2012
-Release Post: http://wp.me/p1moTy-lu
-
-* Bug Fix: Remove an erroneous PHP short open tag with the full tag to correct
-fatal errors under certain PHP configurations.
-
-= 2.0.1 =
-Release Date: November 21, 2012
-Release Post: http://wp.me/p1moTy-lc
-
-* Enhancement: Photon: Support for the [Lazy
-Load](https://wordpress.org/plugins/lazy-load/) plugin.
-* Bug Fix: Photon: Fix warped images with un- or under-specified dimensions.
-* Bug Fix: Photon: Fix warped images with pre-photonized URLs; don't try to
-photonize them twice.
-* Bug Fix: Infinite Scroll: Check a child theme's parent theme for infinite
-scroll support.
-* Bug Fix: Infinite Scroll: Correct a bug with archives that resulted in posts
-appearing on archives that they didn't belong on.
-* Bug Fix: Publicize: Send the correct shortlink to Twitter (et al.) if your
-site uses a shortener other than wp.me.
-* Bug Fix: Sharing: Improved theme compatibility for the Google+ button.
-* Bug Fix: Notifications: Use locally-installed Javascript libraries if
-available.
-
-= 2.0 =
-Release Date: November 8, 2012
-Release Post: http://wp.me/p1moTy-jg
-
-* Enhancement: Publicize: Connect your site to popular social networks and
-automatically share new posts with your friends.
-* Enhancement: Post By Email: Publish posts to your blog directly from your
-personal email account.
-* Enhancement: Photon: Images served through the global WordPress.com cloud.
-* Enhancement: Infinite Scroll: Better/faster browsing by pulling the next set
-of posts into view automatically when the reader approaches the bottom of the
-page.
-* Enhancement: Open Graph: Provides more detailed information about your posts
-to social networks.
-* Enhancement: JSON API: New parameters for creating and viewing posts.
-* Enhancement: Improved compatibility for the upcoming WordPress 3.5.
-* Bug Fix: Sharing: When you set your sharing buttons to use icon, text, or
-icon + text mode, the Google+ button will display accordingly.
-* Bug Fix: Gravatar Profile Widget: Allow basic HTML to be displayed.
-* Bug Fix: Twitter Widget: Error handling fixes.
-* Bug Fix: Sharing: Improved theme compatibility
-* Bug Fix: JSON API: Fixed error when creating some posts in some versions of
-PHP.
-
-= 1.9.2 =
-Release Date: October 29, 2012
-
-* Bug Fix: Only sync options on upgrade once.
-
-= 1.9.1 =
-Release Date: October 29, 2012
-Release Post: http://wp.me/p1moTy-iC
-
-* Enhancement: Notifications feature is enabled for logged-out users when the
-module is active & the toolbar is shown by another plugin.
-* Bug Fix: Use proper CDN addresses to avoid SSL cert issues.
-* Bug Fix: Prioritize syncing comments over deleting comments on
-WordPress.com. Fixes comment notifications marked as spam appearing to be
-trashed.
-
-= 1.9 =
-Release Date: October 26, 2012
-Release Post: http://wp.me/p1moTy-hC
-
-* Enhancement: Notifications: Display Notifications in the toolbar and support
-reply/moderation of comment notifications.
-* Enhancement: Mobile Push Notifications: Added support for mobile push
-notifications of new comments for users that linked their accounts to
-WordPress.com accounts.
-* Enhancement: JSON API: Allows applications to send API requests via
-WordPress.com (see [the docs](http://developer.wordpress.com/docs/api/) )
-* Enhancement: Sync: Modules (that require the data) sync full Post/Comment to
-ensure consistent data on WP.com (eg Stats)
-* Enhancement: Sync: Improve syncing of site options to WP.com
-* Enhancement: Sync: Sync attachment parents to WP.com
-* Enhancement: Sync: Add signing of WP.com user ids for Jetpack Comments
-* Enhancement: Sync: Mark and obfuscate private posts.
-* Enhancement: Privacy: Default disable enhanced-distribution and json-api
-modules if site appears to be private.
-* Enhancement: Custom CSS: allow applying Custom CSS to mobile theme.
-* Enhancement: Sharing: On HTTPS pageloads, load as much of the sharing embeds
-as possible from HTTPS URLs.
-* Enhancement: Contact Form: Overhaul of the contact form code to fix
-incompatibilites with other plugins.
-* Bug Fix: Only allow users with manage_options permission to enable/disable
-modules
-* Bug Fix: Custom CSS: allow '/' in media query units; e.g.
-(-o-min-device-pixel-ratio: 3/2)
-* Bug Fix: Custom CSS: leave comments alone in CSS when editing but minify on
-the front end
-* Bug Fix: Sharing: Keep "more" pane open so Google+ Button isn't obscured
-* Bug Fix: Carousel: Make sure the original size is used, even when it is
-exceedingly large.
-* Bug Fix: Exclude iPad from Twitter on iPhone mobile browsing
-* Bug Fix: Sync: On .org user role changes synchronize the change to .com
-* Bug Fix: Contact Form: Fix a bug where some web hosts would reject mail from
-the contact form due to email address spoofing.
-
-= 1.8.3 =
-Release Date: October 23, 2012
-
-* Bug Fix: Subscriptions: Fix a bug where subscriptions were not being sent
-from the blog.
-* Bug Fix: Twitter: Fix a bug where the Twitter username was being saved as
-blank.
-* Bug Fix: Fix a bug where Contact Form notification emails were not being
-sent.
-
-= 1.8.2 =
-Release Date: October 4, 2012
-Release Post: http://wp.me/p1moTy-gI
-
-* Bug Fix: Subscriptions: Fix a bug where subscriptions were not sent for
-posts and comments written by some authors.
-* Bug Fix: Widgets: Fix CSS that was uglifying some themes (like P2).
-* Bug Fix: Widgets: Improve Top Posts and Pages styling.
-* Bug Fix: Custom CSS: Make the default "Welcome" message translatable.
-* Bug Fix: Fix Lithuanian translation.
-
-= 1.8.1 =
-Release Date: September 28, 2012
-Release Post: http://wp.me/p1moTy-gx
-
-* Bug Fix: Stats: Fixed a bug preventing some users from viewing stats.
-* Bug Fix: Mobile Theme: Fixed some disabled toolbar buttons.
-* Bug Fix: Top Posts widget: Fixed a bug preventing the usage of the Top Posts
-widget.
-* Bug Fix: Mobile Theme: Fixed a bug that broke some sites when the
-Subscriptions module was not enabled and the Mobile Theme module was enabled.
-* Bug Fix: Mobile Theme: Made mobile app promos in the Mobile Theme footer
-opt-in.
-* Bug Fix: Twitter Widget: A fix to prevent malware warnings.
-* Bug Fix: Mobile Theme: Fixed a bug that caused errors for some users with
-custom header images.
-
-= 1.8 =
-Release Date: September 27, 2012
-Release Post: http://wp.me/p1moTy-fV
-
-* Enhancement: Mobile Theme: Automatically serve a slimmed down version of
-your site to users on mobile devices.
-* Enhancement: Multiuser: Allow multiple users to link their accounts to
-WordPress.com accounts.
-* Enhancement: Custom CSS: Added support for object-fit, object-position,
-transition, and filter properties.
-* Enhancement: Twitter Widget: Added Follow button
-* Enhancement: Widgets: Added Top Posts and Pages widget
-* Enhancement: Mobile Push Notifications: Added support for mobile push
-notifications on new comments.
-* Enhancement: VideoPress: Shortcodes now support the HD option, for default
-HD playback.
-* Bug Fix: Twitter Widget: Fixed tweet permalinks in the Twitter widget
-* Bug Fix: Custom CSS: @import rules and external images are no longer
-stripped out of custom CSS
-* Bug Fix: Custom CSS: Fixed warnings and notices displayed in debug mode
-* Bug Fix: Sharing: Fixed double-encoding of image URLs
-* Bug Fix: Sharing: Fix Google +1 button HTML validation issues (again :))
-* Bug Fix: Gravatar Profile Widget: Reduce size of header margins
-
-= 1.7 =
-Release Date: August 23, 2012
-Release Post: http://wp.me/p1moTy-eq
-
-* Enhancement: CSS Editor: Customize your site's design without modifying your
-theme.
-* Enhancement: Comments: Submit the comment within the iframe. No more full
-page load to jetpack.wordpress.com.
-* Enhancement: Sharing: Share counts for Twitter, Facebook, LinkedIn
-* Enhancement: Sharing: Improve styling
-* Enhancement: Sharing: Add support for ReCaptcha
-* Enhancement: Sharing: Better extensability through filters
-* Enhancement: Widgets: Twitter: Attempt to reduce errors by storing a long
-lasting copy of the data. Thanks, kareldonk :)
-* Regression Fix: Sharing: Properly store and display the sharing label
-option's default value.
-* Bug Fix: Contact Form: remove worse-than-useless nonce.
-* Bug Fix: Subscriptions: remove worse-than-useless nonce.
-* Bug Fix: Sharing: Don't show sharing buttons twice on attachment pages.
-* Bug Fix: Sharing: Increase width of Spanish Like button for Facebook.
-* Bug Fix: Sharing: Use the correct URL to the throbber.
-* Bug Fix: Stats: Fix notice about undefined variable $alt
-* Bug Fix: Subscriptions: Make Subscriptions module obey the settings of the
-Settngs -> Discussion checkboxes for Follow Blog/Comments
-* Bug Fix: Shortcodes: VideoPress: Compatibility with the latest version of
-VideoPress
-* Bug Fix: Shortcodes: Audio: Include JS File for HTML5 audio player
-* Bug Fix: Hovercards: Improve cache handling.
-* Bug Fix: Widgets: Gravatar Profle: Correctly display service icons in edge
-cases.
-* Bug Fix: Widgets: Gravatar Profle: Prevent ugly "flash" of too-large image
-when page first loads on some sites
-* Bug Fix: Carousel: CSS Compatibility with more themes.
-
-= 1.6.1 =
-Release Date: August 4, 2012
-
-* Bug Fix: Prevent Fatal error under certain conditions in sharing module
-* Bug Fix: Add cachebuster to sharing.css
-* Bug Fix: Disable via for Twitter until more robust code is in place
-
-= 1.6 =
-Release Date: August 2, 2012
-Release Post: http://wp.me/p1moTy-e0
-
-* Enhancement: Carousel: Better image resolution selection based on available
-width/height.
-* Enhancement: Carousel: Load image caption, metadata, comments, et alii when
-a slide is clicked to switch to instead of waiting.
-* Enhancement: Carousel: Added a "Comment" button and handling to scroll to
-and focus on comment textarea.
-* Enhancement: Widgets: Facebook Likebox now supports a height parameter and a
-better width parameter.
-* Enhancement: Widgets: Better feedback when widgets are not set up properly.
-* Enhancement: Shortcodes: Google Maps shortcode now supports percentages in
-the width.
-* Enhancement: Shortcodes: Update Polldaddy shortcode for more efficient
-Javascript libraries.
-* Enhancement: Shortcodes: Youtube shortcode now has playlist support.
-* Enhancement: Add Gravatar Profile widget.
-* Enhancement: Update Sharedaddy to latest version, including Pinterest
-support.
-* Enhancement: Retinize Jetpack and much of WordPress.
-* Bug Fix: Shortcodes: Fix Audio shortcode color parameter and rename encoding
-function.
-* Bug Fix: Shortcodes: Don't output HTML 5 version of the Audio shortcode
-because of a bug with Google Reader.
-* Bug Fix: Jetpack Comments: Don't overlead the addComments object if it
-doesn't exist. Fixes spacing issue with comment form.
-* Bug Fix: Contact Form: If send_to_editor() exists, use it. Fixes an IE9 text
-area issue.
-
-= 1.5 =
-Release Date: July 31, 2012
-Release Post: http://wp.me/p1moTy-d7
-
-* Enhancement: Add Gallery Carousel feature
-* Note: the Carousel module bundles http://fgnass.github.com/spin.js/ (MIT
-license)
-
-= 1.4.2 =
-Release Date: June 20, 2012
-
-* Bug Fix: Jetpack Comments: Add alternative Javascript event listener for
-Internet 8 users.
-* Enhancement: Remove more PHP 4 backwards-compatible code (WordPress
-andJetpack only support PHP 5).
-* Enhancement: Remove more WordPress 3.1 and under backwards-compatible code.
-
-= 1.4.1 =
-Release Date: June 15, 2012
-
-* Bug Fix: Jetpack Comments / Subscriptions: Add checkboxes and logic control
-for the Subscription checkboxes.
-
-= 1.4 =
-Release Date: June 14, 2012
-Release Post: http://wp.me/p1moTy-cz
-
-* Enhancement: Add Jetpack Comments feature.
-* Bug Fix: Sharing: Make the sharing_label translatable.
-* Bug Fix: Sharing: Fixed the file type on the LinkedIn graphic.
-* Bug Fix: Sharing: Fixes for the Faceboox Like button language locales.
-* Bug Fix: Sharing: Updates for the "more" button when used with touch screen
-devices.
-* Bug Fix: Sharing: Properly scope the More button so that multiple More
-buttons on a page behave properly.
-* Bug Fix: Shortcodes: Update the YouTube and Audio shortcodes to better
-handle spaces in the URLs.
-* Bug Fix: Shortcodes: Make the YouTube shortcode respect embed settings in
-Settings -> Media when appropriate.
-* Bug Fix: Shortcodes: Removed the Slide.com shortcode; Slide.com no longer
-exists.
-* Bug Fix: Shortcodes: Match both http and https links in the [googlemaps]
-shortcode.
-* Bug Fix: After the Deadline: Code clean up and removal of inconsistencies.
-
-= 1.3.4 =
-Release Date: May 24, 2012
-
-* Bug Fix: Revert changes to the top level menu that are causing problems.
-
-= 1.3.3 =
-Release Date: May 22, 2012
-
-* Bug Fix: Fix notices caused by last update
-
-= 1.3.2 =
-Release Date: May 22, 2012
-
-* Bug Fix: Fix Jetpack menu so that Akismet and VaultPress submenus show up.
-
-= 1.3.1 =
-Release Date: May 22, 2012
-
-* Enhancement: Add a new widget, the Facebook Likebox
-* Bug Fix: Sharing: Sharing buttons can now be used on custom post types.
-* Bug Fix: Contact Forms: Make Contact Forms widget shortcode less aggressive
-about the shortcodes it converts.
-* Bug Fix: Ensure contact forms are parsed correctly in text widgets.
-* Bug Fix: Connection notices now only appear on the Dashboard and plugin
-page.
-* Bug Fix: Connection notices are now dismissable if Jetpack is not network
-activated.
-* Bug Fix: Subscriptions: Fix an issue that was causing errors with new
-BuddyPress forum posts.
-
-= 1.3 =
-Release Date: April 25, 2012
-Release Post: http://wp.me/p1moTy-bq
-
-* Enhancement: Add Contact Forms feature. Formerly Grunion Contact Forms.
-* Bug Fix: Tweak YouTube autoembedder to catch more YouTube URLs.
-* Bug Fix: Correctly load the Sharing CSS files.
-
-= 1.2.4 =
-Release Date: April 6, 2012
-
-* Bug Fix: Fix rare bug with static front pages
-
-= 1.2.3 =
-Release Date: April 5, 2012
-Release Post: http://wp.me/p1moTy-b4
-
-* Enhancement: Twitter Widget: Expand t.co URLs
-* Bug Fix: Various PHP Notices.
-* Bug Fix: WordPress Deprecated `add_contextual_help()` notices
-* Bug Fix: Don't display unimportant DB errors when processing Jetpack nonces
-* Bug Fix: Correctly sync data during certain MultiSite cases.
-* Bug Fix: Stats: Allow sparkline img to load even when there is a DB upgrade.
-* Bug Fix: Stats: Replace "loading title" with post title regardless of type
-and status.
-* Bug Fix: Stats: Avoid edge case infinite redirect for `show_on_front=page`
-sites where the `home_url()` conatins uppercase letters.
-* Bug Fix: Subscriptions: Don't send subscriptions if the feature is turned
-off in Jetpack.
-* Bug Fix: Subscriptions: Fix pagination of subscribers.
-* Bug Fix: Subscriptions: Sync data about categories/tags as well to improve
-subscription emails.
-* Bug Fix: Subscriptions: Better styling for the subscription success message.
-* Bug Fix: Shortcodes: Support for multiple Google Maps in one post. Support
-for all Google Maps URLs.
-* Bug Fix: Shortcodes: Improved support for youtu.be URLs
-* Bug Fix: Shortcodes: Improved Vimeo embeds.
-* Bug Fix: Sharing: Switch to the 20px version of Google's +1 button for
-consistency.
-* Bug Fix: Sharing: Fix Google +1 button HTML validation issues.
-* Bug Fix: Sharing: Disable sharing buttons during preview.
-* Bug Fix: Spelling and Grammar: Properly handle proofreading settings.
-* Bug Fix: Spelling and Grammar: Don't prevent post save when proofreading
-service is unavailable.
-
-= 1.2.2 =
-Release Date: December 6, 2011
-Release Post: http://wp.me/p1moTy-ax
-
-* Bug Fix: Ensure expected modules get reactivated correctly during upgrade.
-* Bug Fix: Don't send subscription request during spam comment submission.
-* Bug Fix: Increased theme compatibility for subscriptions.
-* Bug Fix: Remove reference to unused background image.
-
-= 1.2.1 =
-Release Date: November 18, 2011
-Release Post: http://wp.me/p1moTy-9H
-
-* Bug Fix: Ensure Site Stats menu item is accessible.
-* Bug Fix: Fixed errors displayed during some upgrades.
-* Bug Fix: Fix inaccurate new modules "bubble" in menu for some upgrades.
-* Bug Fix: Fix VaultPress detection.
-* Bug Fix: Fix link to http://jetpack.com/faq/
-
-= 1.2 =
-Release Date: November 17, 2011
-Release Post: http://wp.me/p1moTy-8x
-
-* Enhancement: Add Subscriptions: Subscribe to site's posts and posts'
-comments.
-* Enhancement: Add Google Maps shortcode.
-* Enhancement: Add Image Widget.
-* Enhancement: Add RSS Links Widget.
-* Enhancement: Stats: More responsive stats dashboard.
-* Enhancement: Shortcodes: Google Maps, VideoPress
-* Enhancement: Sharing: Google+, LinkedIn
-* Enhancement: Enhanced Distribution: Added Jetpack blogs to
-https://en.wordpress.com/firehose/
-* Bug Fix: Spelling and Grammar: WordPress 3.3 compatibility.
-* Bug Fix: Translatable module names/descriptinos.
-* Bug Fix: Correctly detect host's ability to make outgoing HTTPS requests.
-
-= 1.1.3 =
-Release Date: July 19, 2011
-Release Post: http://wp.me/p1moTy-90
-
-* Bug Fix: Increase compatibility with WordPress 3.2's new
-`wp_remote_request()` API.
-* Bug Fix: Increase compatibility with Admin Bar.
-* Bug Fix: Stats: Improved performance when creating new posts.
-* Bug Fix: Twitter Widget: Fix PHP Notice.
-* Bug Fix: Sharedaddy: Fix PHP Warning.
-* Enhancement: AtD: Add spellcheck button to Distraction Free Writing screen.
-* Translations: Added: Bosnian, Danish, German, Finnish, Galician, Croatian,
-Indonesian, Macedonian, Norwegian (Bokmål), Russian, Slovak, Serbian, Swedish
-* Translations: Updated: Spanish, French, Italian, Japanese, Brazilian
-Portuguese, Portuguese
-
-= 1.1.2 =
-Release Date: July 6, 2011
-Release Post: http://wp.me/p1moTy-8B
-
-* Bug Fix: Note, store, and keep fresh the time difference between the Jetpack
-site's host and the Jetpack servers at WordPress.com. Should fix all
-"timestamp is too old" errors.
-* Bug Fix: Improve experience on hosts capable of making outgoing HTTPS
-requests but incapable of verifying SSL certificates. Fixes some
-"register_http_request_failed", "error setting certificate verify locations",
-and "error:14090086:lib(20):func(144):reason(134)" errors.
-* Bug Fix: Better fallback when WordPress.com is experiencing problems.
-* Bug Fix: It's Jetpack, not JetPack :)
-* Bug Fix: Remove PHP Warnings/Notices.
-* Bug Fix: AtD: JS based XSS bug. Props markjaquith.
-* Bug Fix: AtD: Prevent stored configuration options from becoming corrupted.
-* Bug Fix: Stats: Prevent missing old stats for some blogs.
-* Bug Fix: Twitter Widget: Fix formatting of dates/times in PHP4.
-* Bug Fix: Twitter Widget: Cache the response from Twitter to prevent "Twitter
-did not respond. Please wait a few minutes and refresh this page." errors.
-* Enhancement: Slightly improved RTL experience. Jetpack 1.2 should include a
-much better fix.
-* Enhancement: Sharedaddy: Improve localization for Facebook Like button.
-* Enhancement: Gravatar Hovercards: Improved experience for Windows browsers.
-
-= 1.1.1 =
-Release Date: March 19, 2011
-Release Post: http://wp.me/p1moTy-8i
-
-* Bug Fix: Improve experience on hosts capable of making outgoing HTTPS
-requests but incapable of verifying SSL certificates. Fixes most "Your Jetpack
-has a glitch. Connecting this site with WordPress.com is not possible. This
-usually means your site is not publicly accessible (localhost)." errors.
-* Bug Fix: Sharedaddy: Fatal error under PHP4. Disable on PHP4 hosts.
-* Bug Fix: Stats: Fatal error under PHP4. Rewrite to be PHP4 compatible.
-* Bug Fix: Stats: Fatal error on some sites modifying/removing core WordPress
-user roles. Add sanity check.
-* Bug Fix: Stats: Replace debug output with error message in dashboard widget.
-* Bug Fix: Stats: Rework hook priorities so that stats views are always
-counted even if a plugin (such as Paginated Comments) bails early on
-template_redirect.
-* Bug Fix: Identify the module that connot be activated to fatal error during
-single module activation.
-* Bug Fix: `glob()` is not always available. Use `opendir()`, `readdir()`,
-`closedir()`.
-* Bug Fix: Send permalink options to Stats Server for improved per post
-permalink calculation.
-* Bug Fix: Do not hide Screen Options and Help links during Jetpack call to
-connect.
-* Bug Fix: Improve readablitiy of text.
-* Bug Fix: AtD: Correctly store/display options.
-* Enhancement: Output more informative error messages.
-* Enhancement: Improve CSS styling.
-* Enhancement: Stats: Query all post types and statuses when getting posts for
-stats reports.
-* Enhancement: Improve performance of LaTeX URLs be using cookieless CDN.
-
-= 1.1 =
-Release Date: March 9, 2011
-Release post: http://wp.me/p1moTy-7R
-
-* Initial release
diff --git a/plugins/jetpack/functions.gallery.php b/plugins/jetpack/class-jetpack-gallery-settings.php
index 62036c3a..57ffa23b 100644
--- a/plugins/jetpack/functions.gallery.php
+++ b/plugins/jetpack/class-jetpack-gallery-settings.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * Adding extra functions for the gallery.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
@@ -6,11 +11,17 @@ use Automattic\Jetpack\Assets;
* Renders extra controls in the Gallery Settings section of the new media UI.
*/
class Jetpack_Gallery_Settings {
- function __construct() {
+ /**
+ * The constructor.
+ */
+ public function __construct() {
add_action( 'admin_init', array( $this, 'admin_init' ) );
}
- function admin_init() {
+ /**
+ * Initialize the admin resources.
+ */
+ public function admin_init() {
/**
* Filter the available gallery types.
*
@@ -19,7 +30,6 @@ class Jetpack_Gallery_Settings {
* @since 2.5.1
*
* @param array $value Array of the default thumbnail grid gallery type. Default array contains one key, ‘default’.
- *
*/
$this->gallery_types = apply_filters( 'jetpack_gallery_types', array( 'default' => __( 'Thumbnail Grid', 'jetpack' ) ) );
@@ -36,16 +46,15 @@ class Jetpack_Gallery_Settings {
* Updates the schema of the core gallery widget so we can save the
* fields that we add to Gallery Widgets, like `type` and `conditions`
*
- * @param $schema The current schema for the core gallery widget
- *
+ * @param array $schema The current schema for the core gallery widget.
* @return array the updated schema
*/
public function core_media_widget_compat( $schema ) {
$schema['type'] = array(
- 'type' => 'string',
- 'enum' => array_keys( $this->gallery_types ),
+ 'type' => 'string',
+ 'enum' => array_keys( $this->gallery_types ),
'description' => __( 'Type of gallery.', 'jetpack' ),
- 'default' => 'default',
+ 'default' => 'default',
);
return $schema;
}
@@ -53,7 +62,7 @@ class Jetpack_Gallery_Settings {
/**
* Registers/enqueues the gallery settings admin js.
*/
- function wp_enqueue_media() {
+ public function wp_enqueue_media() {
if ( ! wp_script_is( 'jetpack-gallery-settings', 'registered' ) ) {
/**
* This only happens if we're not in Jetpack, but on WPCOM instead.
@@ -63,7 +72,8 @@ class Jetpack_Gallery_Settings {
'jetpack-gallery-settings',
Assets::get_file_url_for_environment( '_inc/build/gallery-settings.min.js', '_inc/gallery-settings.js' ),
array( 'media-views' ),
- '20121225'
+ '20121225',
+ false
);
}
@@ -73,7 +83,7 @@ class Jetpack_Gallery_Settings {
/**
* Outputs a view template which can be used with wp.media.template
*/
- function print_media_templates() {
+ public function print_media_templates() {
/**
* Filter the default gallery type.
*
@@ -82,14 +92,13 @@ class Jetpack_Gallery_Settings {
* @since 2.5.1
*
* @param string $value A string of the gallery type. Default is ‘default’.
- *
*/
$default_gallery_type = apply_filters( 'jetpack_default_gallery_type', 'default' );
?>
<script type="text/html" id="tmpl-jetpack-gallery-settings">
<label class="setting">
- <span><?php _e( 'Type', 'jetpack' ); ?></span>
+ <span><?php esc_html_e( 'Type', 'jetpack' ); ?></span>
<select class="type" name="type" data-setting="type">
<?php foreach ( $this->gallery_types as $value => $caption ) : ?>
<option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, $default_gallery_type ); ?>><?php echo esc_html( $caption ); ?></option>
@@ -100,4 +109,4 @@ class Jetpack_Gallery_Settings {
<?php
}
}
-new Jetpack_Gallery_Settings;
+new Jetpack_Gallery_Settings();
diff --git a/plugins/jetpack/class-jetpack-recommendations-banner.php b/plugins/jetpack/class-jetpack-recommendations-banner.php
index c880ffc3..1a5864f3 100644
--- a/plugins/jetpack/class-jetpack-recommendations-banner.php
+++ b/plugins/jetpack/class-jetpack-recommendations-banner.php
@@ -25,7 +25,7 @@ class Jetpack_Recommendations_Banner {
* Factory method
*/
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new Jetpack_Recommendations_Banner();
}
@@ -233,26 +233,27 @@ class Jetpack_Recommendations_Banner {
<?php esc_html_e( 'Continue', 'jetpack' ); ?>
</a>
<div class="jp-recommendations-banner__continue-description">
- <?php esc_html_e( 'The following Jetpack recommendations are available to you later in the Jetpack dashboard.', 'jetpack' ); ?>
+ <?php esc_html_e( 'All Jetpack’s great features await you and we’ll recommend some of our favorites', 'jetpack' ); ?>
</div>
</div>
</div>
<div class="jp-recommendations-banner__illustration-container">
- <div id="jp-recommendations-banner__notice-dismiss" class="jp-recommendations-banner__notice-dismiss">
- <svg class="jp-recommendations-banner__svg-dismiss" width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <mask id="jp-dismiss-mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="2" y="2" width="21" height="20">
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12.5232 2C7.02034 2 2.57227 6.47 2.57227 12C2.57227 17.53 7.02034 22 12.5232 22C18.0261 22 22.4742 17.53 22.4742 12C22.4742 6.47 18.0261 2 12.5232 2ZM15.1005 8L12.5232 10.59L9.94591 8L8.54283 9.41L11.1201 12L8.54283 14.59L9.94591 16L12.5232 13.41L15.1005 16L16.5036 14.59L13.9263 12L16.5036 9.41L15.1005 8ZM4.56245 12C4.56245 16.41 8.13484 20 12.5232 20C16.9116 20 20.484 16.41 20.484 12C20.484 7.59 16.9116 4 12.5232 4C8.13484 4 4.56245 7.59 4.56245 12Z" />
- </mask><g mask="url(#jp-dismiss-mask0)"><rect x="0.582031" width="23.8823" height="24" /></g></svg>
+ <button id="jp-recommendations-banner__notice-dismiss" class="jp-recommendations-banner__notice-dismiss">
+ <svg class="jp-recommendations-banner__svg-dismiss" width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
+ <path fill-rule="evenodd" d="M12.5232 2C7.02034 2 2.57227 6.47 2.57227 12C2.57227 17.53 7.02034 22 12.5232 22C18.0261 22 22.4742 17.53 22.4742 12C22.4742 6.47 18.0261 2 12.5232 2ZM15.1005 8L12.5232 10.59L9.94591 8L8.54283 9.41L11.1201 12L8.54283 14.59L9.94591 16L12.5232 13.41L15.1005 16L16.5036 14.59L13.9263 12L16.5036 9.41L15.1005 8ZM4.56245 12C4.56245 16.41 8.13484 20 12.5232 20C16.9116 20 20.484 16.41 20.484 12C20.484 7.59 16.9116 4 12.5232 4C8.13484 4 4.56245 7.59 4.56245 12Z" />
+ </svg>
<span><?php esc_attr_e( 'Dismiss', 'jetpack' ); ?></span>
- </div>
- <img
- src="<?php echo esc_url( plugins_url( 'images/recommendations/background.svg', JETPACK__PLUGIN_FILE ), 'jetpack' ); ?>"
- class="jp-recommendations-banner__illustration-background"
- />
- <img
- src="<?php echo esc_url( plugins_url( 'images/recommendations/site-type-illustration.jpg', JETPACK__PLUGIN_FILE ), 'jetpack' ); ?>"
+ </button>
+ <picture>
+ <source
+ type="image/webp"
+ srcset="<?php echo esc_url( $this->img_path( 1, 'webp' ) ); ?> 1x, <?php echo esc_url( $this->img_path( 2, 'webp' ) ); ?> 2x">
+ <img
class="jp-recommendations-banner__illustration-foreground"
- />
+ srcset="<?php echo esc_url( $this->img_path( 2 ) ); ?> 2x"
+ src="<?php echo esc_url( $this->img_path() ); ?>"
+ alt="">
+ </picture>
</div>
</div>
<?php
@@ -274,4 +275,18 @@ class Jetpack_Recommendations_Banner {
</label>
<?php
}
+
+ /**
+ * Returns the path of the banner image for the specified version.
+ *
+ * @param string $res Requested resolution.
+ * @param string $format Requested format.
+ * @return string Path
+ */
+ private function img_path( $res = 1, $format = 'png' ) {
+ $suffix = 2 === $res ? '-2x' : '';
+ $ext = in_array( $format, array( 'webp', 'png' ), true ) ? $format : 'png';
+
+ return plugins_url( "images/recommendations/assistant-site-type$suffix.$ext", JETPACK__PLUGIN_FILE );
+ }
}
diff --git a/plugins/jetpack/class-jetpack-stats-dashboard-widget.php b/plugins/jetpack/class-jetpack-stats-dashboard-widget.php
index 29167a3b..28e7b16b 100644
--- a/plugins/jetpack/class-jetpack-stats-dashboard-widget.php
+++ b/plugins/jetpack/class-jetpack-stats-dashboard-widget.php
@@ -6,6 +6,7 @@
*/
use Automattic\Jetpack\Assets\Logo as Jetpack_Logo;
+use Automattic\Jetpack\Redirect;
use Automattic\Jetpack\Status;
/**
@@ -41,17 +42,8 @@ class Jetpack_Stats_Dashboard_Widget {
}
if ( has_action( 'jetpack_dashboard_widget' ) ) {
- $jetpack_logo = new Jetpack_Logo();
$widget_title = sprintf(
- // translators: Placeholder is a Jetpack logo.
- __( 'Stats by %s', 'jetpack' ),
- $jetpack_logo->get_jp_emblem( true )
- );
-
- // Wrap title in span so Logo can be properly styled.
- $widget_title = sprintf(
- '<span>%s</span>',
- $widget_title
+ __( 'Stats by Jetpack', 'jetpack' )
);
wp_add_dashboard_widget(
@@ -83,69 +75,94 @@ class Jetpack_Stats_Dashboard_Widget {
public static function dashboard_widget_footer() {
?>
<footer>
+ <div class="blocked-container">
+ <div class="protect">
+ <h3><?php esc_html_e( 'Brute force attack protection', 'jetpack' ); ?></h3>
+ <?php if ( Jetpack::is_module_active( 'protect' ) ) : ?>
+ <p class="blocked-count">
+ <?php echo esc_html( number_format_i18n( get_site_option( 'jetpack_protect_blocked_attempts', 0 ) ) ); ?>
+ </p>
+ <p><?php echo esc_html_x( 'Blocked malicious login attempts', '{#} Blocked malicious login attempts -- number is on a prior line, text is a caption.', 'jetpack' ); ?></p>
+ <?php elseif ( current_user_can( 'jetpack_activate_modules' ) && ! ( new Status() )->is_offline_mode() ) : ?>
+ <a href="
+ <?php
+ echo esc_url(
+ wp_nonce_url(
+ Jetpack::admin_url(
+ array(
+ 'action' => 'activate',
+ 'module' => 'protect',
+ )
+ ),
+ 'jetpack_activate-protect'
+ )
+ );
+ ?>
+ " class="button button-jetpack" title="<?php esc_attr_e( 'Protect helps to keep you secure from brute-force login attacks.', 'jetpack' ); ?>">
+ <?php esc_html_e( 'Activate brute force attack protection', 'jetpack' ); ?>
+ </a>
+ <?php else : ?>
+ <?php esc_html_e( 'Brute force attack protection is inactive.', 'jetpack' ); ?>
+ <?php endif; ?>
+ </div>
- <div class="protect">
- <h3><?php esc_html_e( 'Brute force attack protection', 'jetpack' ); ?></h3>
- <?php if ( Jetpack::is_module_active( 'protect' ) ) : ?>
- <p class="blocked-count">
- <?php echo esc_html( number_format_i18n( get_site_option( 'jetpack_protect_blocked_attempts', 0 ) ) ); ?>
- </p>
- <p><?php echo esc_html_x( 'Blocked malicious login attempts', '{#} Blocked malicious login attempts -- number is on a prior line, text is a caption.', 'jetpack' ); ?></p>
- <?php elseif ( current_user_can( 'jetpack_activate_modules' ) && ! ( new Status() )->is_offline_mode() ) : ?>
- <a href="
- <?php
- echo esc_url(
- wp_nonce_url(
- Jetpack::admin_url(
- array(
- 'action' => 'activate',
- 'module' => 'protect',
- )
- ),
- 'jetpack_activate-protect'
- )
- );
- ?>
- " class="button button-jetpack" title="<?php esc_attr_e( 'Protect helps to keep you secure from brute-force login attacks.', 'jetpack' ); ?>">
- <?php esc_html_e( 'Activate brute force attack protection', 'jetpack' ); ?>
- </a>
- <?php else : ?>
- <?php esc_html_e( 'Brute force attack protection is inactive.', 'jetpack' ); ?>
- <?php endif; ?>
+ <div class="akismet">
+ <h3><?php esc_html_e( 'Anti-spam', 'jetpack' ); ?></h3>
+ <?php if ( is_plugin_active( 'akismet/akismet.php' ) ) : ?>
+ <p class="blocked-count">
+ <?php echo esc_html( number_format_i18n( get_option( 'akismet_spam_count', 0 ) ) ); ?>
+ </p>
+ <p><?php echo esc_html_x( 'Blocked spam comments.', '{#} Spam comments blocked by Akismet -- number is on a prior line, text is a caption.', 'jetpack' ); ?></p>
+ <?php elseif ( current_user_can( 'activate_plugins' ) && ! is_wp_error( validate_plugin( 'akismet/akismet.php' ) ) ) : ?>
+ <a href="
+ <?php
+ echo esc_url(
+ wp_nonce_url(
+ add_query_arg(
+ array(
+ 'action' => 'activate',
+ 'plugin' => 'akismet/akismet.php',
+ ),
+ admin_url( 'plugins.php' )
+ ),
+ 'activate-plugin_akismet/akismet.php'
+ )
+ );
+ ?>
+ " class="button button-jetpack">
+ <?php esc_html_e( 'Activate Anti-spam', 'jetpack' ); ?>
+ </a>
+ <?php else : ?>
+ <p><a href="<?php echo esc_url( 'https://akismet.com/?utm_source=jetpack&utm_medium=link&utm_campaign=Jetpack%20Dashboard%20Widget%20Footer%20Link' ); ?>"><?php esc_html_e( 'Anti-spam can help to keep your blog safe from spam!', 'jetpack' ); ?></a></p>
+ <?php endif; ?>
+ </div>
</div>
-
- <div class="akismet">
- <h3><?php esc_html_e( 'Anti-spam', 'jetpack' ); ?></h3>
- <?php if ( is_plugin_active( 'akismet/akismet.php' ) ) : ?>
- <p class="blocked-count">
- <?php echo esc_html( number_format_i18n( get_option( 'akismet_spam_count', 0 ) ) ); ?>
- </p>
- <p><?php echo esc_html_x( 'Blocked spam comments.', '{#} Spam comments blocked by Akismet -- number is on a prior line, text is a caption.', 'jetpack' ); ?></p>
- <?php elseif ( current_user_can( 'activate_plugins' ) && ! is_wp_error( validate_plugin( 'akismet/akismet.php' ) ) ) : ?>
- <a href="
+ <div class="footer-links">
+ <?php
+ $jetpack_logo = new Jetpack_Logo();
+ echo $jetpack_logo->get_jp_emblem( true );// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ ?>
+ <span>
<?php
- echo esc_url(
- wp_nonce_url(
- add_query_arg(
- array(
- 'action' => 'activate',
- 'plugin' => 'akismet/akismet.php',
- ),
- admin_url( 'plugins.php' )
- ),
- 'activate-plugin_akismet/akismet.php'
- )
- );
+ if ( current_user_can( 'jetpack_manage_modules' ) ) :
+ $i18n_headers = jetpack_get_module_i18n( 'stats' );
+ ?>
+ <a href="<?php echo esc_url( admin_url( 'admin.php?page=jetpack#/settings?term=' . rawurlencode( $i18n_headers['name'] ) ) ); ?>"
+ >
+ <?php
+ esc_html_e( 'Configure stats', 'jetpack' );
+ ?>
+ </a>
+ |
+ <?php
+ endif;
?>
- " class="button button-jetpack">
- <?php esc_html_e( 'Activate Anti-spam', 'jetpack' ); ?>
- </a>
- <?php else : ?>
- <p><a href="<?php echo esc_url( 'https://akismet.com/?utm_source=jetpack&utm_medium=link&utm_campaign=Jetpack%20Dashboard%20Widget%20Footer%20Link' ); ?>"><?php esc_html_e( 'Anti-spam can help to keep your blog safe from spam!', 'jetpack' ); ?></a></p>
- <?php endif; ?>
- </div>
+ <a href="<?php echo esc_url( Redirect::get_url( 'jetpack-support-wordpress-com-stats' ) ); ?>" target="_blank"><?php esc_html_e( 'Learn more', 'jetpack' ); ?></a>
+ </span>
+ </div>
</footer>
+
<?php
}
}
diff --git a/plugins/jetpack/class-jetpack-xmlrpc-methods.php b/plugins/jetpack/class-jetpack-xmlrpc-methods.php
index 7f20cee9..3b6c07ff 100644
--- a/plugins/jetpack/class-jetpack-xmlrpc-methods.php
+++ b/plugins/jetpack/class-jetpack-xmlrpc-methods.php
@@ -97,7 +97,7 @@ class Jetpack_XMLRPC_Methods {
* @param string $data Optional data about the event.
*/
do_action( 'jetpack_event_log', 'disconnect' );
- Jetpack::disconnect();
+ ( new Connection_Manager( 'jetpack' ) )->disconnect_site();
return true;
}
@@ -113,7 +113,7 @@ class Jetpack_XMLRPC_Methods {
$method = (string) $json_api_args[0];
$url = (string) $json_api_args[1];
- $post_body = is_null( $json_api_args[2] ) ? null : (string) $json_api_args[2];
+ $post_body = $json_api_args[2] === null ? null : (string) $json_api_args[2];
$user_details = (array) $json_api_args[4];
$locale = (string) $json_api_args[5];
diff --git a/plugins/jetpack/class.frame-nonce-preview.php b/plugins/jetpack/class.frame-nonce-preview.php
index 55de1e1e..dee3ee1a 100644
--- a/plugins/jetpack/class.frame-nonce-preview.php
+++ b/plugins/jetpack/class.frame-nonce-preview.php
@@ -1,10 +1,23 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Allows viewing posts on the frontend when the user is not logged in.
+ *
+ * @package automattic/jetpack
+ */
+
+// phpcs:disable WordPress.Security.NonceVerification.Recommended -- This is _implementing_ cross-site nonce handling, no need for WordPress's nonces.
/**
* Allows viewing posts on the frontend when the user is not logged in.
*/
class Jetpack_Frame_Nonce_Preview {
- static $instance = null;
+ /**
+ * Static instance.
+ *
+ * @todo This should be private.
+ * @var self
+ */
+ public static $instance = null;
/**
* Returns the single instance of the Jetpack_Frame_Nonce_Preview object
@@ -14,19 +27,24 @@ class Jetpack_Frame_Nonce_Preview {
* @return Jetpack_Frame_Nonce_Preview
**/
public static function get_instance() {
- if ( ! is_null( self::$instance ) ) {
- return self::$instance;
+ if ( null === self::$instance ) {
+ self::$instance = new Jetpack_Frame_Nonce_Preview();
}
- return self::$instance = new Jetpack_Frame_Nonce_Preview();
+ return self::$instance;
}
- function __construct() {
+ /**
+ * Constructor.
+ *
+ * @todo This should be private.
+ */
+ public function __construct() {
if ( isset( $_GET['frame-nonce'] ) && ! is_admin() ) {
add_filter( 'pre_get_posts', array( $this, 'maybe_display_post' ) );
}
- // autosave previews are validated differently
+ // autosave previews are validated differently.
if ( isset( $_GET['frame-nonce'] ) && isset( $_GET['preview_id'] ) && isset( $_GET['preview_nonce'] ) ) {
remove_action( 'init', '_show_post_preview' );
add_action( 'init', array( $this, 'handle_autosave_nonce_validation' ) );
@@ -60,8 +78,7 @@ class Jetpack_Frame_Nonce_Preview {
*
* @since 4.3.0
*
- * @param WP_Query $query
- *
+ * @param WP_Query $query Query.
* @return WP_Query
*/
public function maybe_display_post( $query ) {
@@ -81,8 +98,7 @@ class Jetpack_Frame_Nonce_Preview {
*
* @since 4.3.0
*
- * @param array $posts
- *
+ * @param array $posts Posts.
* @return array
*/
public function set_post_to_publish( $posts ) {
@@ -108,7 +124,7 @@ class Jetpack_Frame_Nonce_Preview {
*/
public function handle_autosave_nonce_validation() {
if ( ! $this->is_frame_nonce_valid() ) {
- wp_die( __( 'Sorry, you are not allowed to preview drafts.', 'jetpack' ) );
+ wp_die( esc_html__( 'Sorry, you are not allowed to preview drafts.', 'jetpack' ) );
}
add_filter( 'the_preview', '_set_preview' );
}
diff --git a/plugins/jetpack/class.jetpack-admin.php b/plugins/jetpack/class.jetpack-admin.php
index 40cabfdb..bf2c0c72 100644
--- a/plugins/jetpack/class.jetpack-admin.php
+++ b/plugins/jetpack/class.jetpack-admin.php
@@ -1,33 +1,56 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Build the Jetpack admin menu as a whole.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets\Logo as Jetpack_Logo;
use Automattic\Jetpack\Partner_Coupon as Jetpack_Partner_Coupon;
use Automattic\Jetpack\Status;
+use Automattic\Jetpack\Status\Host;
-// Build the Jetpack admin menu as a whole
+/**
+ * Build the Jetpack admin menu as a whole.
+ */
class Jetpack_Admin {
/**
+ * Static instance.
+ *
* @var Jetpack_Admin
- **/
+ */
private static $instance = null;
- static function init() {
- if ( isset( $_GET['page'] ) && $_GET['page'] === 'jetpack' ) {
+ /**
+ * Initialize and fetch the static instance.
+ *
+ * @return self
+ */
+ public static function init() {
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( isset( $_GET['page'] ) && 'jetpack' === $_GET['page'] ) {
add_filter( 'nocache_headers', array( 'Jetpack_Admin', 'add_no_store_header' ), 100 );
}
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new Jetpack_Admin();
}
return self::$instance;
}
- static function add_no_store_header( $headers ) {
+ /**
+ * Filter callback to add `no-store` to the `Cache-Control` header.
+ *
+ * @param array $headers Headers array.
+ * @return array Modified headers array.
+ */
+ public static function add_no_store_header( $headers ) {
$headers['Cache-Control'] .= ', no-store';
return $headers;
}
+ /** Constructor. */
private function __construct() {
jetpack_require_lib( 'admin-pages/class.jetpack-react-page' );
$this->jetpack_react = new Jetpack_React_Page();
@@ -38,23 +61,19 @@ class Jetpack_Admin {
jetpack_require_lib( 'admin-pages/class-jetpack-about-page' );
$this->jetpack_about = new Jetpack_About_Page();
- jetpack_require_lib( 'admin-pages/class-jetpack-search-dashboard-page' );
- $this->jetpack_search = new Jetpack_Search_Dashboard_Page();
-
add_action( 'admin_init', array( $this->jetpack_react, 'react_redirects' ), 0 );
add_action( 'admin_menu', array( $this->jetpack_react, 'add_actions' ), 998 );
- add_action( 'admin_menu', array( $this->jetpack_search, 'add_actions' ), 999 );
add_action( 'jetpack_admin_menu', array( $this->jetpack_react, 'jetpack_add_dashboard_sub_nav_item' ) );
add_action( 'jetpack_admin_menu', array( $this->jetpack_react, 'jetpack_add_settings_sub_nav_item' ) );
add_action( 'jetpack_admin_menu', array( $this, 'admin_menu_debugger' ) );
add_action( 'jetpack_admin_menu', array( $this->fallback_page, 'add_actions' ) );
add_action( 'jetpack_admin_menu', array( $this->jetpack_about, 'add_actions' ) );
- // Add redirect to current page for activation/deactivation of modules
+ // Add redirect to current page for activation/deactivation of modules.
add_action( 'jetpack_pre_activate_module', array( $this, 'fix_redirect' ), 10, 2 );
- add_action( 'jetpack_pre_deactivate_module', array( $this, 'fix_redirect' ) );
+ add_action( 'jetpack_pre_deactivate_module', array( $this, 'fix_redirect' ), 10, 2 );
- // Add module bulk actions handler
+ // Add module bulk actions handler.
add_action( 'jetpack_unrecognized_action', array( $this, 'handle_unrecognized_action' ) );
if ( class_exists( 'Akismet_Admin' ) ) {
@@ -82,6 +101,9 @@ class Jetpack_Admin {
}
}
+ // Ensure an Additional CSS menu item is added to the Appearance menu whenever Jetpack is connected.
+ add_action( 'admin_menu', array( $this, 'additional_css_menu' ) );
+
add_filter( 'jetpack_display_jitms_on_screen', array( $this, 'should_display_jitms_on_screen' ), 10, 2 );
// Register Jetpack partner coupon hooks.
@@ -93,15 +115,116 @@ class Jetpack_Admin {
* Jetpack Anti-Spam. Without this, we would have to change the logo from Akismet codebase and we want to avoid that.
*/
public function akismet_logo_replacement_styles() {
- $logo = new Jetpack_Logo();
+ $logo = new Jetpack_Logo();
+ // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
$logo_base64 = base64_encode( $logo->get_jp_emblem_larger() );
$logo_base64_url = "data:image/svg+xml;base64,{$logo_base64}";
$style = ".akismet-masthead__logo-container { background: url({$logo_base64_url}) no-repeat .25rem; height: 1.8125rem; } .akismet-masthead__logo { display: none; }";
wp_add_inline_style( 'admin-bar', $style );
}
- static function sort_requires_connection_last( $module1, $module2 ) {
- if ( $module1['requires_connection'] == $module2['requires_connection'] ) {
+ /**
+ * Handle our Additional CSS menu item and legacy page declaration.
+ *
+ * @since 11.0 . Prior to that, this function was located in custom-css-4.7.php.
+ */
+ public static function additional_css_menu() {
+
+ // If the site is a WoA site and the custom-css feature is not available, return.
+ // See https://github.com/Automattic/jetpack/pull/19965 for more on how this menu item is dealt with on WoA sites.
+ if ( ( new Host() )->is_woa_site() && ! ( in_array( 'custom-css', Jetpack::get_available_modules(), true ) ) ) {
+ return;
+ } elseif ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'custom-css' ) ) { // If the Custom CSS module is enabled, add the Additional CSS menu item and link to the Customizer.
+ // Add in our legacy page to support old bookmarks and such.
+ add_submenu_page( null, __( 'CSS', 'jetpack' ), __( 'Additional CSS', 'jetpack' ), 'edit_theme_options', 'editcss', array( __CLASS__, 'customizer_redirect' ) );
+
+ // Add in our new page slug that will redirect to the customizer.
+ $hook = add_theme_page( __( 'CSS', 'jetpack' ), __( 'Additional CSS', 'jetpack' ), 'edit_theme_options', 'editcss-customizer-redirect', array( __CLASS__, 'customizer_redirect' ) );
+ add_action( "load-{$hook}", array( __CLASS__, 'customizer_redirect' ) );
+ } else { // Link to the Jetpack Settings > Writing page, highlighting the Custom CSS setting.
+ add_submenu_page( null, __( 'CSS', 'jetpack' ), __( 'Additional CSS', 'jetpack' ), 'edit_theme_options', 'editcss', array( __CLASS__, 'theme_enhancements_redirect' ) );
+
+ $hook = add_theme_page( __( 'CSS', 'jetpack' ), __( 'Additional CSS', 'jetpack' ), 'edit_theme_options', 'editcss-theme-enhancements-redirect', array( __CLASS__, 'theme_enhancements_redirect' ) );
+ add_action( "load-{$hook}", array( __CLASS__, 'theme_enhancements_redirect' ) );
+ }
+
+ }
+
+ /**
+ * Handle the redirect for the customizer. This is necessary because
+ * we can't directly add customizer links to the admin menu.
+ *
+ * @since 11.0 . Prior to that, this function was located in custom-css-4.7.php.
+ *
+ * There is a core patch in trac that would make this unnecessary.
+ *
+ * @link https://core.trac.wordpress.org/ticket/39050
+ */
+ public static function customizer_redirect() {
+ wp_safe_redirect(
+ self::customizer_link(
+ array(
+ 'return_url' => wp_get_referer(),
+ )
+ )
+ );
+ exit;
+ }
+
+ /**
+ * Handle the Additional CSS redirect to the Jetpack settings Theme Enhancements section.
+ *
+ * @since 11.0
+ */
+ public static function theme_enhancements_redirect() {
+ wp_safe_redirect(
+ 'admin.php?page=jetpack#/writing?term=Custom%20CSS'
+ );
+ exit;
+ }
+
+ /**
+ * Build the URL to deep link to the Customizer.
+ *
+ * You can modify the return url via $args.
+ *
+ * @since 11.0 in this file. This method is also located in custom-css-4.7.php to cover legacy scenarios.
+ *
+ * @param array $args Array of parameters.
+ * @return string
+ */
+ public static function customizer_link( $args = array() ) {
+ if ( isset( $_SERVER['REQUEST_URI'] ) ) {
+ $args = wp_parse_args(
+ $args,
+ array(
+ 'return_url' => rawurlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
+ )
+ );
+ }
+
+ return add_query_arg(
+ array(
+ array(
+ 'autofocus' => array(
+ 'section' => 'custom_css',
+ ),
+ ),
+ 'return' => $args['return_url'],
+ ),
+ admin_url( 'customize.php' )
+ );
+ }
+
+ /**
+ * Sort callback to put modules with `requires_connection` last.
+ *
+ * @param array $module1 Module data.
+ * @param array $module2 Module data.
+ * @return int Indicating the relative ordering of module1 and module2.
+ */
+ public static function sort_requires_connection_last( $module1, $module2 ) {
+ if ( (bool) $module1['requires_connection'] === (bool) $module2['requires_connection'] ) {
return 0;
} elseif ( $module1['requires_connection'] ) {
return 1;
@@ -112,9 +235,11 @@ class Jetpack_Admin {
return 0;
}
- // Produce JS understandable objects of modules containing information for
- // presentation like description, name, configuration url, etc.
- function get_modules() {
+ /**
+ * Produce JS understandable objects of modules containing information for
+ * presentation like description, name, configuration url, etc.
+ */
+ public function get_modules() {
include_once JETPACK__PLUGIN_DIR . 'modules/module-info.php';
$available_modules = Jetpack::get_available_modules();
$active_modules = Jetpack::get_active_modules();
@@ -122,7 +247,8 @@ class Jetpack_Admin {
$jetpack_active = Jetpack::is_connection_ready() || ( new Status() )->is_offline_mode();
$overrides = Jetpack_Modules_Overrides::instance();
foreach ( $available_modules as $module ) {
- if ( $module_array = Jetpack::get_module( $module ) ) {
+ $module_array = Jetpack::get_module( $module );
+ if ( $module_array ) {
/**
* Filters each module's short description.
*
@@ -132,7 +258,7 @@ class Jetpack_Admin {
* @param string $module Module slug.
*/
$short_desc = apply_filters( 'jetpack_short_module_description', $module_array['description'], $module );
- // Fix: correct multibyte strings truncate with checking for mbstring extension
+ // Fix: correct multibyte strings truncate with checking for mbstring extension.
$short_desc_trunc = ( function_exists( 'mb_strlen' ) )
? ( ( mb_strlen( $short_desc ) > 143 )
? mb_substr( $short_desc, 0, 140 ) . '...'
@@ -200,7 +326,7 @@ class Jetpack_Admin {
*
* @param string The search terms (comma separated).
*/
- echo apply_filters( 'jetpack_search_terms_' . $module, $module_array['additional_search_queries'] );
+ echo apply_filters( 'jetpack_search_terms_' . $module, $module_array['additional_search_queries'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
$module_array['search_terms'] = ob_get_clean();
$module_array['configurable'] = false;
@@ -232,7 +358,12 @@ class Jetpack_Admin {
return $modules;
}
- static function is_module_available( $module ) {
+ /**
+ * Check if a module is available.
+ *
+ * @param array $module Module data.
+ */
+ public static function is_module_available( $module ) {
if ( ! is_array( $module ) || empty( $module ) ) {
return false;
}
@@ -355,16 +486,20 @@ class Jetpack_Admin {
return '';
}
- function handle_unrecognized_action( $action ) {
+ /**
+ * Handle an unrecognized action.
+ *
+ * @param string $action Action.
+ */
+ public function handle_unrecognized_action( $action ) {
switch ( $action ) {
case 'bulk-activate':
+ check_admin_referer( 'bulk-jetpack_page_jetpack_modules' );
if ( ! current_user_can( 'jetpack_activate_modules' ) ) {
break;
}
- $modules = (array) $_GET['modules'];
- $modules = array_map( 'sanitize_key', $modules );
- check_admin_referer( 'bulk-jetpack_page_jetpack_modules' );
+ $modules = isset( $_GET['modules'] ) ? array_map( 'sanitize_key', wp_unslash( (array) $_GET['modules'] ) ) : array();
foreach ( $modules as $module ) {
Jetpack::log( 'activate', $module );
Jetpack::activate_module( $module, false );
@@ -373,13 +508,12 @@ class Jetpack_Admin {
wp_safe_redirect( wp_get_referer() );
exit;
case 'bulk-deactivate':
+ check_admin_referer( 'bulk-jetpack_page_jetpack_modules' );
if ( ! current_user_can( 'jetpack_deactivate_modules' ) ) {
break;
}
- $modules = (array) $_GET['modules'];
- $modules = array_map( 'sanitize_key', $modules );
- check_admin_referer( 'bulk-jetpack_page_jetpack_modules' );
+ $modules = isset( $_GET['modules'] ) ? array_map( 'sanitize_key', wp_unslash( (array) $_GET['modules'] ) ) : array();
foreach ( $modules as $module ) {
Jetpack::log( 'deactivate', $module );
Jetpack::deactivate_module( $module );
@@ -393,7 +527,16 @@ class Jetpack_Admin {
}
}
- function fix_redirect( $module, $redirect = true ) {
+ /**
+ * Fix redirect.
+ *
+ * Apparently we redirect to the referrer instead of whatever WordPress
+ * wants to redirect to when activating and deactivating modules.
+ *
+ * @param string $module Module slug.
+ * @param bool $redirect Should we exit after the module has been activated. Default to true.
+ */
+ public function fix_redirect( $module, $redirect = true ) {
if ( ! $redirect ) {
return;
}
@@ -402,7 +545,10 @@ class Jetpack_Admin {
}
}
- function admin_menu_debugger() {
+ /**
+ * Add debugger admin menu.
+ */
+ public function admin_menu_debugger() {
jetpack_require_lib( 'debugger' );
Jetpack_Debugger::disconnect_and_redirect();
$debugger_hook = add_submenu_page(
@@ -416,7 +562,10 @@ class Jetpack_Admin {
add_action( "admin_head-$debugger_hook", array( 'Jetpack_Debugger', 'jetpack_debug_admin_head' ) );
}
- function wrap_debugger_page() {
+ /**
+ * Wrap debugger page.
+ */
+ public function wrap_debugger_page() {
nocache_headers();
if ( ! current_user_can( 'manage_options' ) ) {
die( '-1' );
@@ -424,7 +573,10 @@ class Jetpack_Admin {
Jetpack_Admin_Page::wrap_ui( array( $this, 'debugger_page' ) );
}
- function debugger_page() {
+ /**
+ * Display debugger page.
+ */
+ public function debugger_page() {
jetpack_require_lib( 'debugger' );
Jetpack_Debugger::jetpack_debug_display_handler();
}
diff --git a/plugins/jetpack/class.jetpack-affiliate.php b/plugins/jetpack/class.jetpack-affiliate.php
index 2e95d158..9f40ab5d 100644
--- a/plugins/jetpack/class.jetpack-affiliate.php
+++ b/plugins/jetpack/class.jetpack-affiliate.php
@@ -2,4 +2,6 @@
/**
* Deprecated since 8.1.0.
* Functionality moved to the automattic/jetpack-partner package.
+ *
+ * @package automattic/jetpack
*/
diff --git a/plugins/jetpack/class.jetpack-autoupdate.php b/plugins/jetpack/class.jetpack-autoupdate.php
index c94b9225..ad952d9e 100644
--- a/plugins/jetpack/class.jetpack-autoupdate.php
+++ b/plugins/jetpack/class.jetpack-autoupdate.php
@@ -1,4 +1,10 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Handles items that have been selected for automatic updates.
+ * Hooks into WP_Automatic_Updater
+ *
+ * @package automattic/jetpack
+ */
/**
* Handles items that have been selected for automatic updates.
@@ -6,30 +12,61 @@
*/
class Jetpack_Autoupdate {
+ /**
+ * Results.
+ *
+ * @var array
+ */
private $results = array();
+ /**
+ * Expected updates.
+ *
+ * @var array
+ */
private $expected = array();
+ /**
+ * Successful updates.
+ *
+ * @var array
+ */
private $success = array(
'plugin' => array(),
'theme' => array(),
);
+ /**
+ * Failed updates.
+ *
+ * @var array
+ */
private $failed = array(
'plugin' => array(),
'theme' => array(),
);
+ /**
+ * Static instance.
+ *
+ * @var self
+ */
private static $instance = null;
- static function init() {
- if ( is_null( self::$instance ) ) {
+ /**
+ * Initialize and fetch the static instance.
+ *
+ * @return self
+ */
+ public static function init() {
+ if ( self::$instance === null ) {
self::$instance = new Jetpack_Autoupdate();
}
return self::$instance;
}
+ /** Constructor. */
private function __construct() {
if (
/** This filter is documented in class.jetpack-json-api-endpoint.php */
@@ -42,44 +79,39 @@ class Jetpack_Autoupdate {
}
}
+ /**
+ * Filter function for `auto_update_translation`.
+ *
+ * @param bool|null $update Whether to update.
+ * @param object $item The update offer.
+ * @return bool|null Whether to update.
+ */
public function autoupdate_translation( $update, $item ) {
- // Autoupdate all translations
+ // Autoupdate all translations.
if ( Jetpack_Options::get_option( 'autoupdate_translations', false ) ) {
return true;
}
- // Themes
+ // Themes.
$autoupdate_themes_translations = Jetpack_Options::get_option( 'autoupdate_themes_translations', array() );
$autoupdate_theme_list = Jetpack_Options::get_option( 'autoupdate_themes', array() );
- /*
- $item = {
- "type":"theme",
- "slug":"twentyfourteen",
- "language":"en_CA",
- "version":"1.8",
- "updated":"2015-07-18 11:27:20",
- "package":"https:\/\/downloads.wordpress.org\/translation\/theme\/twentyfourteen\/1.8\/en_CA.zip",
- "autoupdate":true
- }
- */
- if ( ( in_array( $item->slug, $autoupdate_themes_translations )
- || in_array( $item->slug, $autoupdate_theme_list ) )
- && 'theme' === $item->type
+ if ( ( in_array( $item->slug, $autoupdate_themes_translations, true ) || in_array( $item->slug, $autoupdate_theme_list, true ) )
+ && 'theme' === $item->type
) {
$this->expect( $item->type . ':' . $item->slug, 'translation' );
return true;
}
- // Plugins
+ // Plugins.
$autoupdate_plugin_translations = Jetpack_Options::get_option( 'autoupdate_plugins_translations', array() );
$autoupdate_plugin_list = (array) get_site_option( 'auto_update_plugins', array() );
$plugin_files = array_unique( array_merge( $autoupdate_plugin_list, $autoupdate_plugin_translations ) );
$plugin_slugs = array_map( array( __CLASS__, 'get_plugin_slug' ), $plugin_files );
- if ( in_array( $item->slug, $plugin_slugs )
- && 'plugin' === $item->type
+ if ( in_array( $item->slug, $plugin_slugs, true )
+ && 'plugin' === $item->type
) {
$this->expect( $item->type . ':' . $item->slug, 'translation' );
return true;
@@ -88,9 +120,16 @@ class Jetpack_Autoupdate {
return $update;
}
+ /**
+ * Filter function for `auto_update_theme`.
+ *
+ * @param bool|null $update Whether to update.
+ * @param object $item The update offer.
+ * @return bool|null Whether to update.
+ */
public function autoupdate_theme( $update, $item ) {
$autoupdate_theme_list = Jetpack_Options::get_option( 'autoupdate_themes', array() );
- if ( in_array( $item->theme, $autoupdate_theme_list ) ) {
+ if ( in_array( $item->theme, $autoupdate_theme_list, true ) ) {
$this->expect( $item->theme, 'theme' );
return true;
}
@@ -98,7 +137,13 @@ class Jetpack_Autoupdate {
return $update;
}
- public function autoupdate_core( $update, $item ) {
+ /**
+ * Filter function for `auto_update_core`.
+ *
+ * @param bool|null $update Whether to update.
+ * @return bool|null Whether to update.
+ */
+ public function autoupdate_core( $update ) {
$autoupdate_core = Jetpack_Options::get_option( 'autoupdate_core', false );
if ( $autoupdate_core ) {
return $autoupdate_core;
@@ -110,8 +155,8 @@ class Jetpack_Autoupdate {
/**
* Stores the an item identifier to the expected array.
*
- * @param string $item Example: 'jetpack/jetpack.php' for type 'plugin' or 'twentyfifteen' for type 'theme'
- * @param string $type 'plugin' or 'theme'
+ * @param string $item Example: 'jetpack/jetpack.php' for type 'plugin' or 'twentyfifteen' for type 'theme'.
+ * @param string $type 'plugin' or 'theme'.
*/
private function expect( $item, $type ) {
if ( ! isset( $this->expected[ $type ] ) ) {
@@ -123,7 +168,7 @@ class Jetpack_Autoupdate {
/**
* On completion of an automatic update, let's store the results.
*
- * @param $results - Sent by WP_Automatic_Updater after it completes an autoupdate action. Results may be empty.
+ * @param mixed $results - Sent by WP_Automatic_Updater after it completes an autoupdate action. Results may be empty.
*/
public function automatic_updates_complete( $results ) {
if ( empty( $this->expected ) ) {
@@ -143,6 +188,11 @@ class Jetpack_Autoupdate {
Jetpack::log( 'autoupdates', $this->get_log() );
}
+ /**
+ * Get log data.
+ *
+ * @return array Data.
+ */
public function get_log() {
return array(
'results' => $this->results,
@@ -154,7 +204,7 @@ class Jetpack_Autoupdate {
/**
* Iterates through expected items ( plugins or themes ) and compares them to actual results.
*
- * @param $items 'plugin' or 'theme'
+ * @param string $items 'plugin' or 'theme'.
*/
private function log_items( $items ) {
if ( ! isset( $this->expected[ $items ] ) ) {
@@ -165,7 +215,7 @@ class Jetpack_Autoupdate {
if ( is_array( $this->expected[ $items ] ) ) {
foreach ( $this->expected[ $items ] as $item ) {
- if ( in_array( $item, $item_results ) ) {
+ if ( in_array( $item, $item_results, true ) ) {
$this->success[ $items ][] = $item;
} else {
$this->failed[ $items ][] = $item;
@@ -174,10 +224,13 @@ class Jetpack_Autoupdate {
}
}
+ /**
+ * Bump stats.
+ */
public function bump_stats() {
$instance = Jetpack::init();
$log = array();
- // Bump numbers
+ // Bump numbers.
if ( ! empty( $this->success['theme'] ) ) {
$instance->stat( 'autoupdates/theme-success', count( $this->success['theme'] ) );
@@ -191,7 +244,7 @@ class Jetpack_Autoupdate {
$instance->do_stats( 'server_side' );
- // Send a more detailed log to logstash
+ // Send a more detailed log to logstash.
if ( ! empty( $log ) ) {
$xml = new Jetpack_IXR_Client(
array(
@@ -204,10 +257,9 @@ class Jetpack_Autoupdate {
}
/**
- * Parses the autoupdate results generated by WP_Automatic_Updater and returns a simple array of successful items
- *
- * @param string $type 'plugin' or 'theme'
+ * Parses the autoupdate results generated by WP_Automatic_Updater and returns a simple array of successful items.
*
+ * @param string $type 'plugin' or 'theme'.
* @return array
*/
private function get_successful_updates( $type ) {
@@ -233,9 +285,14 @@ class Jetpack_Autoupdate {
return $successful_updates;
}
- static function get_possible_failures() {
+ /**
+ * Get possible failure codes.
+ *
+ * @return string[] Failure codes.
+ */
+ public static function get_possible_failures() {
$result = array();
- // Lets check some reasons why it might not be working as expected
+ // Lets check some reasons why it might not be working as expected.
include_once ABSPATH . '/wp-admin/includes/admin.php';
include_once ABSPATH . '/wp-admin/includes/class-wp-upgrader.php';
$upgrader = new WP_Automatic_Updater();
@@ -278,7 +335,13 @@ class Jetpack_Autoupdate {
return $result;
}
- static function get_plugin_slug( $plugin_file ) {
+ /**
+ * Get the plugin slug.
+ *
+ * @param string $plugin_file Plugin file.
+ * @return string Slug.
+ */
+ public static function get_plugin_slug( $plugin_file ) {
$update_plugins = get_site_transient( 'update_plugins' );
if ( isset( $update_plugins->no_update ) ) {
if ( isset( $update_plugins->no_update[ $plugin_file ] ) ) {
@@ -291,7 +354,7 @@ class Jetpack_Autoupdate {
}
}
- // Try to infer from the plugin file if not cached
+ // Try to infer from the plugin file if not cached.
if ( empty( $slug ) ) {
$slug = dirname( $plugin_file );
if ( '.' === $slug ) {
diff --git a/plugins/jetpack/class.jetpack-bbpress-json-api-compat.php b/plugins/jetpack/class.jetpack-bbpress-json-api-compat.php
deleted file mode 100644
index ae99d250..00000000
--- a/plugins/jetpack/class.jetpack-bbpress-json-api-compat.php
+++ /dev/null
@@ -1,102 +0,0 @@
-<?php
-/**
- * bbPress & Jetpack REST API Compatibility
- * Enables bbPress to work with the Jetpack REST API
- */
-class bbPress_Jetpack_REST_API {
-
- private static $instance;
-
- public static function instance() {
- if ( isset( self::$instance ) ) {
- return self::$instance;
- }
-
- self::$instance = new self();
- }
-
- private function __construct() {
- add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_bbpress_post_types' ) );
- add_filter( 'bbp_map_meta_caps', array( $this, 'adjust_meta_caps' ), 10, 4 );
- add_filter( 'rest_api_allowed_public_metadata', array( $this, 'allow_bbpress_public_metadata' ) );
- }
-
- function allow_bbpress_post_types( $allowed_post_types ) {
- $allowed_post_types[] = 'forum';
- $allowed_post_types[] = 'topic';
- $allowed_post_types[] = 'reply';
- return $allowed_post_types;
- }
-
- function allow_bbpress_public_metadata( $allowed_meta_keys ) {
- $allowed_meta_keys[] = '_bbp_forum_id';
- $allowed_meta_keys[] = '_bbp_topic_id';
- $allowed_meta_keys[] = '_bbp_status';
- $allowed_meta_keys[] = '_bbp_forum_type';
- $allowed_meta_keys[] = '_bbp_forum_subforum_count';
- $allowed_meta_keys[] = '_bbp_reply_count';
- $allowed_meta_keys[] = '_bbp_total_reply_count';
- $allowed_meta_keys[] = '_bbp_topic_count';
- $allowed_meta_keys[] = '_bbp_total_topic_count';
- $allowed_meta_keys[] = '_bbp_topic_count_hidden';
- $allowed_meta_keys[] = '_bbp_last_topic_id';
- $allowed_meta_keys[] = '_bbp_last_reply_id';
- $allowed_meta_keys[] = '_bbp_last_active_time';
- $allowed_meta_keys[] = '_bbp_last_active_id';
- $allowed_meta_keys[] = '_bbp_sticky_topics';
- $allowed_meta_keys[] = '_bbp_voice_count';
- $allowed_meta_keys[] = '_bbp_reply_count_hidden';
- $allowed_meta_keys[] = '_bbp_anonymous_reply_count';
-
- return $allowed_meta_keys;
- }
-
- function adjust_meta_caps( $caps, $cap, $user_id, $args ) {
-
- // only run for REST API requests
- if ( ! defined( 'REST_API_REQUEST' ) || ! REST_API_REQUEST ) {
- return $caps;
- }
-
- // only modify caps for meta caps and for bbPress meta keys
- if ( ! in_array( $cap, array( 'edit_post_meta', 'delete_post_meta', 'add_post_meta' ) ) || empty( $args[1] ) || false === strpos( $args[1], '_bbp_' ) ) {
- return $caps;
- }
-
- // $args[0] could be a post ID or a post_type string
- if ( is_int( $args[0] ) ) {
- $_post = get_post( $args[0] );
- if ( ! empty( $_post ) ) {
- $post_type = get_post_type_object( $_post->post_type );
- }
- } elseif ( is_string( $args[0] ) ) {
- $post_type = get_post_type_object( $args[0] );
- }
-
- // no post type found, bail
- if ( empty( $post_type ) ) {
- return $caps;
- }
-
- // reset the needed caps
- $caps = array();
-
- // Add 'do_not_allow' cap if user is spam or deleted
- if ( bbp_is_user_inactive( $user_id ) ) {
- $caps[] = 'do_not_allow';
-
- // Moderators can always edit meta
- } elseif ( user_can( $user_id, 'moderate' ) ) {
- $caps[] = 'moderate';
-
- // Unknown so map to edit_posts
- } else {
- $caps[] = $post_type->cap->edit_posts;
- }
-
- return $caps;
- }
-
-}
-
-bbPress_Jetpack_REST_API::instance();
diff --git a/plugins/jetpack/class.jetpack-cli.php b/plugins/jetpack/class.jetpack-cli.php
index 0d19310c..d83cc2af 100644
--- a/plugins/jetpack/class.jetpack-cli.php
+++ b/plugins/jetpack/class.jetpack-cli.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * WP-CLI command class.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Client;
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
@@ -11,16 +16,42 @@ use Automattic\Jetpack\Sync\Modules;
use Automattic\Jetpack\Sync\Queue;
use Automattic\Jetpack\Sync\Settings;
+if ( ! class_exists( 'WP_CLI_Command' ) ) {
+ return;
+}
+
WP_CLI::add_command( 'jetpack', 'Jetpack_CLI' );
/**
* Control your local Jetpack installation.
*/
class Jetpack_CLI extends WP_CLI_Command {
- // Aesthetics.
- public $green_open = "\033[32m";
- public $red_open = "\033[31m";
+ /**
+ * Console escape code for green.
+ *
+ * @var string
+ */
+ public $green_open = "\033[32m";
+
+ /**
+ * Console escape code for red.
+ *
+ * @var string
+ */
+ public $red_open = "\033[31m";
+
+ /**
+ * Console escape code for yellow.
+ *
+ * @var string
+ */
public $yellow_open = "\033[33m";
+
+ /**
+ * Console escape code to reset coloring.
+ *
+ * @var string
+ */
public $color_close = "\033[0m";
/**
@@ -36,8 +67,10 @@ class Jetpack_CLI extends WP_CLI_Command {
*
* wp jetpack status
* wp jetpack status full
+ *
+ * @param array $args Positional args.
*/
- public function status( $args, $assoc_args ) {
+ public function status( $args ) {
jetpack_require_lib( 'debugger' );
/* translators: %s is the site URL */
@@ -80,39 +113,39 @@ class Jetpack_CLI extends WP_CLI_Command {
*
* Loop through heartbeat data and organize by priority.
*/
- $all_data = ( isset( $args[0] ) && 'full' == $args[0] ) ? 'full' : false;
+ $all_data = ( isset( $args[0] ) && 'full' === $args[0] ) ? 'full' : false;
if ( $all_data ) {
- // Heartbeat data
+ // Heartbeat data.
WP_CLI::line( "\n" . __( 'Additional data: ', 'jetpack' ) );
// Get the filtered heartbeat data.
- // Filtered so we can color/list by severity
+ // Filtered so we can color/list by severity.
$stats = Jetpack::jetpack_check_heartbeat_data();
- // Display red flags first
+ // Display red flags first.
foreach ( $stats['bad'] as $stat => $value ) {
- printf( "$this->red_open%-'.16s %s $this->color_close\n", $stat, $value );
+ WP_CLI::line( sprintf( "$this->red_open%-'.16s %s $this->color_close", $stat, $value ) );
}
- // Display caution warnings next
+ // Display caution warnings next.
foreach ( $stats['caution'] as $stat => $value ) {
- printf( "$this->yellow_open%-'.16s %s $this->color_close\n", $stat, $value );
+ WP_CLI::line( sprintf( "$this->yellow_open%-'.16s %s $this->color_close", $stat, $value ) );
}
// The rest of the results are good!
foreach ( $stats['good'] as $stat => $value ) {
- // Modules should get special spacing for aestetics
+ // Modules should get special spacing for aestetics.
if ( strpos( $stat, 'odule-' ) ) {
- printf( "%-'.30s %s\n", $stat, $value );
- usleep( 4000 ); // For dramatic effect lolz
+ WP_CLI::line( sprintf( "%-'.30s %s", $stat, $value ) );
+ usleep( 4000 ); // For dramatic effect lolz.
continue;
}
- printf( "%-'.16s %s\n", $stat, $value );
- usleep( 4000 ); // For dramatic effect lolz
+ WP_CLI::line( sprintf( "%-'.16s %s", $stat, $value ) );
+ usleep( 4000 ); // For dramatic effect lolz.
}
} else {
- // Just the basics
+ // Just the basics.
WP_CLI::line( "\n" . _x( "View full status with 'wp jetpack status full'", '"wp jetpack status full" is a command - do not translate', 'jetpack' ) );
}
}
@@ -128,7 +161,7 @@ class Jetpack_CLI extends WP_CLI_Command {
*
* @subcommand test-connection
*/
- public function test_connection( $args, $assoc_args ) {
+ public function test_connection() {
/* translators: %s is the site URL */
WP_CLI::line( sprintf( __( 'Testing connection for %s', 'jetpack' ), esc_url( get_site_url() ) ) );
@@ -184,6 +217,9 @@ class Jetpack_CLI extends WP_CLI_Command {
* wp jetpack disconnect user email@domain.com
*
* @synopsis <blog|user> [<user_identifier>] [--force]
+ *
+ * @param array $args Positional args.
+ * @param array $assoc_args Named args.
*/
public function disconnect( $args, $assoc_args ) {
if ( ! Jetpack::is_connection_ready() ) {
@@ -192,12 +228,12 @@ class Jetpack_CLI extends WP_CLI_Command {
}
$action = isset( $args[0] ) ? $args[0] : 'prompt';
- if ( ! in_array( $action, array( 'blog', 'user', 'prompt' ) ) ) {
+ if ( ! in_array( $action, array( 'blog', 'user', 'prompt' ), true ) ) {
/* translators: %s is a command like "prompt" */
WP_CLI::error( sprintf( __( '%s is not a valid command.', 'jetpack' ), $action ) );
}
- if ( in_array( $action, array( 'user' ) ) ) {
+ if ( in_array( $action, array( 'user' ), true ) ) {
if ( isset( $args[1] ) ) {
$user_id = $args[1];
if ( ctype_digit( $user_id ) ) {
@@ -210,7 +246,8 @@ class Jetpack_CLI extends WP_CLI_Command {
$field = 'login';
$user_id = sanitize_user( $user_id, true );
}
- if ( ! $user = get_user_by( $field, $user_id ) ) {
+ $user = get_user_by( $field, $user_id );
+ if ( ! $user ) {
WP_CLI::error( __( 'Please specify a valid user.', 'jetpack' ) );
}
} else {
@@ -223,7 +260,7 @@ class Jetpack_CLI extends WP_CLI_Command {
switch ( $action ) {
case 'blog':
Jetpack::log( 'disconnect' );
- Jetpack::disconnect();
+ ( new Connection_Manager( 'jetpack' ) )->disconnect_site();
WP_CLI::success(
sprintf(
/* translators: %s is the site URL */
@@ -279,6 +316,9 @@ class Jetpack_CLI extends WP_CLI_Command {
* wp jetpack reset sync-checksum --dry-run --offset=0
*
* @synopsis <modules|options|sync-checksum> [--dry-run] [--offset=<offset>]
+ *
+ * @param array $args Positional args.
+ * @param array $assoc_args Named args.
*/
public function reset( $args, $assoc_args ) {
$action = isset( $args[0] ) ? $args[0] : 'prompt';
@@ -303,7 +343,7 @@ class Jetpack_CLI extends WP_CLI_Command {
switch ( $action ) {
case 'options':
$options_to_reset = Jetpack_Options::get_options_for_reset();
- // Reset the Jetpack options
+ // Reset the Jetpack options.
WP_CLI::line(
sprintf(
/* translators: %s is the site URL */
@@ -311,7 +351,7 @@ class Jetpack_CLI extends WP_CLI_Command {
esc_url( get_site_url() )
)
);
- sleep( 1 ); // Take a breath
+ sleep( 1 ); // Take a breath.
foreach ( $options_to_reset['jp_options'] as $option_to_reset ) {
if ( ! $is_dry_run ) {
Jetpack_Options::delete_option( $option_to_reset );
@@ -322,9 +362,9 @@ class Jetpack_CLI extends WP_CLI_Command {
WP_CLI::success( sprintf( __( '%s option reset', 'jetpack' ), $option_to_reset ) );
}
- // Reset the WP options
+ // Reset the WP options.
WP_CLI::line( __( "Resetting the jetpack options stored in wp_options...\n", 'jetpack' ) );
- usleep( 500000 ); // Take a breath
+ usleep( 500000 ); // Take a breath.
foreach ( $options_to_reset['wp_options'] as $option_to_reset ) {
if ( ! $is_dry_run ) {
delete_option( $option_to_reset );
@@ -334,9 +374,9 @@ class Jetpack_CLI extends WP_CLI_Command {
WP_CLI::success( sprintf( __( '%s option reset', 'jetpack' ), $option_to_reset ) );
}
- // Reset to default modules
+ // Reset to default modules.
WP_CLI::line( __( "Resetting default modules...\n", 'jetpack' ) );
- usleep( 500000 ); // Take a breath
+ usleep( 500000 ); // Take a breath.
$default_modules = Jetpack::get_default_modules();
if ( ! $is_dry_run ) {
Jetpack::update_active_modules( $default_modules );
@@ -497,6 +537,9 @@ class Jetpack_CLI extends WP_CLI_Command {
* wp jetpack module toggle stats
* wp jetpack module activate all
* wp jetpack module deactivate all
+ *
+ * @param array $args Positional args.
+ * @param array $assoc_args Named args.
*/
public function module( $args, $assoc_args ) {
$action = isset( $args[0] ) ? $args[0] : 'list';
@@ -588,14 +631,16 @@ class Jetpack_CLI extends WP_CLI_Command {
* wp jetpack protect allow clear
*
* @synopsis <allow> [<ip|ip_low-ip_high|list|clear>]
+ *
+ * @param array $args Positional args.
*/
- public function protect( $args, $assoc_args ) {
+ public function protect( $args ) {
$action = isset( $args[0] ) ? $args[0] : 'prompt';
if ( ! in_array( $action, array( 'whitelist', 'allow' ), true ) ) { // Still allow "whitelist" for legacy support.
/* translators: %s is a command like "prompt" */
WP_CLI::error( sprintf( __( '%s is not a valid command.', 'jetpack' ), $action ) );
}
- // Check if module is active
+ // Check if module is active.
if ( ! Jetpack::is_module_active( __FUNCTION__ ) ) {
/* translators: %s is a module name */
WP_CLI::error( sprintf( _x( '%1$s is not active. You can activate it with "wp jetpack module activate %2$s"', '"wp jetpack module activate" is a command - do not translate', 'jetpack' ), __FUNCTION__, __FUNCTION__ ) );
@@ -615,10 +660,10 @@ class Jetpack_CLI extends WP_CLI_Command {
// Build array of IPs that are already on the allowed list.
// Re-build manually instead of using jetpack_protect_format_whitelist() so we can easily get
- // low & high range params for jetpack_protect_ip_address_is_in_range();
+ // low & high range params for jetpack_protect_ip_address_is_in_range().
foreach ( $current_allow as $allowed ) {
- // IP ranges
+ // IP ranges.
if ( $allowed->range ) {
// Is it already on the allowed list?
@@ -629,7 +674,7 @@ class Jetpack_CLI extends WP_CLI_Command {
}
$allow[] = $allowed->range_low . ' - ' . $allowed->range_high;
- } else { // Individual IPs
+ } else { // Individual IPs.
// Check if the IP is already on the allow list (single IP only).
if ( $new_ip === $allowed->ip_address ) {
@@ -646,7 +691,7 @@ class Jetpack_CLI extends WP_CLI_Command {
* List the allowed IPs.
* Done here because it's easier to read the $allow array after it's been rebuilt.
*/
- if ( isset( $args[1] ) && 'list' == $args[1] ) {
+ if ( isset( $args[1] ) && 'list' === $args[1] ) {
if ( ! empty( $allow ) ) {
WP_CLI::success( __( 'Here are your always allowed IPs:', 'jetpack' ) );
foreach ( $allow as $ip ) {
@@ -661,7 +706,7 @@ class Jetpack_CLI extends WP_CLI_Command {
/*
* Clear the always allow list.
*/
- if ( isset( $args[1] ) && 'clear' == $args[1] ) {
+ if ( isset( $args[1] ) && 'clear' === $args[1] ) {
if ( ! empty( $allow ) ) {
$allow = array();
jetpack_protect_save_whitelist( $allow ); // @todo Need to update function name in the Protect module.
@@ -715,40 +760,43 @@ class Jetpack_CLI extends WP_CLI_Command {
* wp jetpack options update <option_name> [<option_value>]
*
* @synopsis <list|get|delete|update> [<option_name>] [<option_value>]
+ *
+ * @param array $args Positional args.
*/
- public function options( $args, $assoc_args ) {
+ public function options( $args ) {
$action = isset( $args[0] ) ? $args[0] : 'list';
$safe_to_modify = Jetpack_Options::get_options_for_reset();
// Is the option flagged as unsafe?
- $flagged = ! in_array( $args[1], $safe_to_modify );
+ $flagged = ! in_array( $args[1], $safe_to_modify, true );
- if ( ! in_array( $action, array( 'list', 'get', 'delete', 'update' ) ) ) {
+ if ( ! in_array( $action, array( 'list', 'get', 'delete', 'update' ), true ) ) {
/* translators: %s is a command like "prompt" */
WP_CLI::error( sprintf( __( '%s is not a valid command.', 'jetpack' ), $action ) );
}
if ( isset( $args[0] ) ) {
- if ( 'get' == $args[0] && isset( $args[1] ) ) {
+ if ( 'get' === $args[0] && isset( $args[1] ) ) {
$action = 'get';
- } elseif ( 'delete' == $args[0] && isset( $args[1] ) ) {
+ } elseif ( 'delete' === $args[0] && isset( $args[1] ) ) {
$action = 'delete';
- } elseif ( 'update' == $args[0] && isset( $args[1] ) ) {
+ } elseif ( 'update' === $args[0] && isset( $args[1] ) ) {
$action = 'update';
} else {
$action = 'list';
}
}
- // Bail if the option isn't found
+ // Bail if the option isn't found.
$option = isset( $args[1] ) ? Jetpack_Options::get_option( $args[1] ) : false;
if ( isset( $args[1] ) && ! $option && 'update' !== $args[0] ) {
WP_CLI::error( __( 'Option not found or is empty. Use "list" to list option names', 'jetpack' ) );
}
- // Let's print_r the option if it's an array
- // Used in the 'get' and 'list' actions
- $option = is_array( $option ) ? print_r( $option ) : $option;
+ // Let's print_r the option if it's an array.
+ // Used in the 'get' and 'list' actions.
+ // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r
+ $option = is_array( $option ) ? print_r( $option, true ) : $option;
switch ( $action ) {
case 'get':
@@ -780,12 +828,12 @@ class Jetpack_CLI extends WP_CLI_Command {
$options_private = Jetpack_Options::get_option_names( 'private' );
$options = array_merge( $options_compact, $options_non_compact, $options_private );
- // Table headers
+ // Table headers.
WP_CLI::line( "\t" . str_pad( __( 'Option', 'jetpack' ), 30 ) . __( 'Value', 'jetpack' ) );
- // List out the options and their values
- // Tell them if the value is empty or not
- // Tell them if it's an array
+ // List out the options and their values.
+ // Tell them if the value is empty or not.
+ // Tell them if it's an array.
foreach ( $options as $option ) {
$value = Jetpack_Options::get_option( $option );
if ( ! $value ) {
@@ -806,7 +854,7 @@ class Jetpack_CLI extends WP_CLI_Command {
_x( "Above are your options. You may 'get', 'delete', and 'update' them.", "'get', 'delete', and 'update' are commands - do not translate.", 'jetpack' ) . "\n" .
str_pad( 'wp jetpack options get', 26 ) . $option_text . "\n" .
str_pad( 'wp jetpack options delete', 26 ) . $option_text . "\n" .
- str_pad( 'wp jetpack options update', 26 ) . "$option_text $value_text" . "\n" .
+ str_pad( 'wp jetpack options update', 26 ) . "$option_text $value_text\n" .
_x( "Type 'wp jetpack options' for more info.", "'wp jetpack options' is a command - do not translate.", 'jetpack' ) . "\n"
);
break;
@@ -836,6 +884,9 @@ class Jetpack_CLI extends WP_CLI_Command {
* wp jetpack sync reset --queue=full or regular
*
* @synopsis <status|start> [--<field>=<value>]
+ *
+ * @param array $args Positional args.
+ * @param array $assoc_args Named args.
*/
public function sync( $args, $assoc_args ) {
@@ -848,7 +899,7 @@ class Jetpack_CLI extends WP_CLI_Command {
foreach ( $status as $key => $item ) {
$collection[] = array(
'option' => $key,
- 'value' => is_scalar( $item ) ? $item : json_encode( $item ),
+ 'value' => is_scalar( $item ) ? $item : wp_json_encode( $item ),
);
}
WP_CLI::log( __( 'Sync Status:', 'jetpack' ) );
@@ -856,14 +907,15 @@ class Jetpack_CLI extends WP_CLI_Command {
break;
case 'settings':
WP_CLI::log( __( 'Sync Settings:', 'jetpack' ) );
+ $settings = array();
foreach ( Settings::get_settings() as $setting => $item ) {
$settings[] = array(
'setting' => $setting,
- 'value' => is_scalar( $item ) ? $item : json_encode( $item ),
+ 'value' => is_scalar( $item ) ? $item : wp_json_encode( $item ),
);
}
WP_CLI\Utils\format_items( 'table', $settings, array( 'setting', 'value' ) );
-
+ break;
case 'disable':
// Don't set it via the Settings since that also resets the queues.
update_option( 'jetpack_sync_settings_disable', 1 );
@@ -934,10 +986,10 @@ class Jetpack_CLI extends WP_CLI_Command {
return;
}
}
- // Get the original settings so that we can restore them later
+ // Get the original settings so that we can restore them later.
$original_settings = Settings::get_settings();
- // Initialize sync settigns so we can sync as quickly as possible
+ // Initialize sync settigns so we can sync as quickly as possible.
$sync_settings = wp_parse_args(
array_intersect_key( $assoc_args, Settings::$valid_settings ),
array(
@@ -950,12 +1002,12 @@ class Jetpack_CLI extends WP_CLI_Command {
);
Settings::update_settings( $sync_settings );
- // Convert comma-delimited string of modules to an array
+ // Convert comma-delimited string of modules to an array.
if ( ! empty( $assoc_args['modules'] ) ) {
$modules = array_map( 'trim', explode( ',', $assoc_args['modules'] ) );
// Convert the array so that the keys are the module name and the value is true to indicate
- // that we want to sync the module
+ // that we want to sync the module.
$modules = array_map( '__return_true', array_flip( $modules ) );
}
@@ -978,7 +1030,7 @@ class Jetpack_CLI extends WP_CLI_Command {
$modules = null;
}
- // Kick off a full sync
+ // Kick off a full sync.
if ( Actions::do_full_sync( $modules ) ) {
if ( $modules ) {
/* translators: %s is a comma separated list of Jetpack modules */
@@ -999,18 +1051,18 @@ class Jetpack_CLI extends WP_CLI_Command {
}
}
- // Keep sending to WPCOM until there's nothing to send
+ // Keep sending to WPCOM until there's nothing to send.
$i = 1;
do {
$result = Actions::$sender->do_full_sync();
if ( is_wp_error( $result ) ) {
- $queue_empty_error = ( 'empty_queue_full_sync' == $result->get_error_code() );
- if ( ! $queue_empty_error || ( $queue_empty_error && ( 1 == $i ) ) ) {
+ $queue_empty_error = ( 'empty_queue_full_sync' === $result->get_error_code() );
+ if ( ! $queue_empty_error || ( $queue_empty_error && ( 1 === $i ) ) ) {
/* translators: %s is an error code */
WP_CLI::error( sprintf( __( 'Sync errored with code: %s', 'jetpack' ), $result->get_error_code() ) );
}
} else {
- if ( 1 == $i ) {
+ if ( 1 === $i ) {
WP_CLI::log( __( 'Sent data to WordPress.com', 'jetpack' ) );
} else {
WP_CLI::log( __( 'Sent more data to WordPress.com', 'jetpack' ) );
@@ -1044,8 +1096,10 @@ class Jetpack_CLI extends WP_CLI_Command {
* wp jetpack sync_queue full_sync peek
*
* @synopsis <incremental|full_sync> <peek>
+ *
+ * @param array $args Positional args.
*/
- public function sync_queue( $args, $assoc_args ) {
+ public function sync_queue( $args ) {
if ( ! Actions::sync_allowed() ) {
WP_CLI::error( __( 'Jetpack sync is not currently allowed for this site.', 'jetpack' ) );
}
@@ -1055,10 +1109,11 @@ class Jetpack_CLI extends WP_CLI_Command {
// We map the queue name that way we can support more friendly queue names in the commands, but still use
// the queue name that the code expects.
- $queue_name_map = $allowed_queues = array(
+ $allowed_queues = array(
'incremental' => 'sync',
'full' => 'full_sync',
);
+ $queue_name_map = $allowed_queues;
$mapped_queue_name = isset( $queue_name_map[ $queue_name ] ) ? $queue_name_map[ $queue_name ] : $queue_name;
switch ( $action ) {
@@ -1074,7 +1129,7 @@ class Jetpack_CLI extends WP_CLI_Command {
foreach ( $items as $item ) {
$collection[] = array(
'action' => $item[0],
- 'args' => json_encode( $item[1] ),
+ 'args' => wp_json_encode( $item[1] ),
'current_user_id' => $item[2],
'microtime' => $item[3],
'importing' => (string) $item[4],
@@ -1106,12 +1161,16 @@ class Jetpack_CLI extends WP_CLI_Command {
* [--partner_tracking_id=<partner_tracking_id>]
* : This is an optional ID that a host can pass to help identify a site in logs on WordPress.com
*
- * * @synopsis <token_json> [--partner_tracking_id=<partner_tracking_id>]
+ * @synopsis <token_json> [--partner_tracking_id=<partner_tracking_id>]
+ *
+ * @param array $args Positional args.
+ * @param array $named_args Named args.
*/
public function partner_cancel( $args, $named_args ) {
list( $token_json ) = $args;
- if ( ! $token_json || ! ( $token = json_decode( $token_json ) ) ) {
+ $token = $token_json ? json_decode( $token_json ) : null;
+ if ( ! $token ) {
/* translators: %s is the invalid JSON string */
$this->partner_provision_error( new WP_Error( 'missing_access_token', sprintf( __( 'Invalid token JSON: %s', 'jetpack' ), $token_json ) ) );
}
@@ -1199,11 +1258,15 @@ class Jetpack_CLI extends WP_CLI_Command {
* { success: true }
*
* @synopsis <token_json> [--wpcom_user_id=<user_id>] [--plan=<plan_name>] [--onboarding=<onboarding>] [--force_register=<register>] [--force_connect=<force_connect>] [--home_url=<home_url>] [--site_url=<site_url>] [--wpcom_user_email=<wpcom_user_email>] [--partner_tracking_id=<partner_tracking_id>]
+ *
+ * @param array $args Positional args.
+ * @param array $named_args Named args.
*/
public function partner_provision( $args, $named_args ) {
list( $token_json ) = $args;
- if ( ! $token_json || ! ( $token = json_decode( $token_json ) ) ) {
+ $token = $token_json ? json_decode( $token_json ) : null;
+ if ( ! $token ) {
/* translators: %s is the invalid JSON string */
$this->partner_provision_error( new WP_Error( 'missing_access_token', sprintf( __( 'Invalid token JSON: %s', 'jetpack' ), $token_json ) ) );
}
@@ -1224,8 +1287,8 @@ class Jetpack_CLI extends WP_CLI_Command {
$body_json = Jetpack_Provision::partner_provision( $token->access_token, $named_args );
if ( is_wp_error( $body_json ) ) {
- error_log(
- json_encode(
+ WP_CLI::error(
+ wp_json_encode(
array(
'success' => false,
'error_code' => $body_json->get_error_code(),
@@ -1236,7 +1299,7 @@ class Jetpack_CLI extends WP_CLI_Command {
exit( 1 );
}
- WP_CLI::log( json_encode( $body_json ) );
+ WP_CLI::log( wp_json_encode( $body_json ) );
}
/**
@@ -1253,6 +1316,9 @@ class Jetpack_CLI extends WP_CLI_Command {
*
* @subcommand sitemap
* @synopsis <rebuild> [--purge]
+ *
+ * @param array $args Positional args.
+ * @param array $assoc_args Named args.
*/
public function sitemap( $args, $assoc_args ) {
if ( ! Jetpack::is_connection_ready() ) {
@@ -1282,6 +1348,9 @@ class Jetpack_CLI extends WP_CLI_Command {
* wp jetpack authorize_user --token=123456789abcdef
*
* @synopsis --token=<value>
+ *
+ * @param array $args Positional args.
+ * @param array $named_args Named args.
*/
public function authorize_user( $args, $named_args ) {
if ( ! is_user_logged_in() ) {
@@ -1349,6 +1418,9 @@ class Jetpack_CLI extends WP_CLI_Command {
* ## EXAMPLES
*
* wp jetpack call_api --resource='/sites/%d'
+ *
+ * @param array $args Positional args.
+ * @param array $named_args Named args.
*/
public function call_api( $args, $named_args ) {
if ( ! Jetpack::is_connection_ready() ) {
@@ -1448,6 +1520,9 @@ class Jetpack_CLI extends WP_CLI_Command {
*
* wp jetpack upload_ssh_creds --host=example.com --ssh-user=example --pass=password
* wp jetpack updload_ssh_creds --host=example.com --ssh-user=example --kpri=key
+ *
+ * @param array $args Positional args.
+ * @param array $named_args Named args.
*/
public function upload_ssh_creds( $args, $named_args ) {
if ( ! Jetpack::is_connection_ready() ) {
@@ -1537,6 +1612,9 @@ class Jetpack_CLI extends WP_CLI_Command {
* ## EXAMPLES
*
* wp jetpack get_stats
+ *
+ * @param array $args Positional args.
+ * @param array $named_args Named args.
*/
public function get_stats( $args, $named_args ) {
$selected_args = array_intersect_key(
@@ -1628,6 +1706,9 @@ class Jetpack_CLI extends WP_CLI_Command {
*
* # Disconnect all connections for a given service.
* $ wp jetpack publicize disconnect twitter
+ *
+ * @param array $args Positional args.
+ * @param array $named_args Named args.
*/
public function publicize( $args, $named_args ) {
if ( ! Jetpack::connection()->has_connected_owner() ) {
@@ -1806,14 +1887,24 @@ class Jetpack_CLI extends WP_CLI_Command {
}
}
+ /**
+ * Get the API host.
+ *
+ * @return string URL.
+ */
private function get_api_host() {
$env_api_host = getenv( 'JETPACK_START_API_HOST', true );
return $env_api_host ? 'https://' . $env_api_host : JETPACK__WPCOM_JSON_API_BASE;
}
+ /**
+ * Log and exit on a partner provision error.
+ *
+ * @param WP_Error $error Error.
+ */
private function partner_provision_error( $error ) {
WP_CLI::log(
- json_encode(
+ wp_json_encode(
array(
'success' => false,
'error_code' => $error->get_error_code(),
@@ -1912,7 +2003,7 @@ class Jetpack_CLI extends WP_CLI_Command {
$wp_filesystem->mkdir( $path );
- $hasKeywords = isset( $assoc_args['keywords'] );
+ $has_keywords = isset( $assoc_args['keywords'] );
$files = array(
"$path/$slug.php" => $this->render_block_file(
@@ -1933,16 +2024,16 @@ class Jetpack_CLI extends WP_CLI_Command {
'description' => isset( $assoc_args['description'] )
? $assoc_args['description']
: $title,
- 'keywords' => $hasKeywords
+ 'keywords' => $has_keywords
? array_map(
- function( $keyword ) {
- // Construction necessary for Mustache lists
+ function ( $keyword ) {
+ // Construction necessary for Mustache lists.
return array( 'keyword' => trim( $keyword ) );
},
explode( ',', $assoc_args['keywords'], 3 )
)
: '',
- 'hasKeywords' => $hasKeywords,
+ 'hasKeywords' => $has_keywords,
)
),
"$path/editor.js" => $this->render_block_file( 'block-editor-js' ),
@@ -2044,9 +2135,8 @@ class Jetpack_CLI extends WP_CLI_Command {
/**
* Built the file replacing the placeholders in the template with the data supplied.
*
- * @param string $template
- * @param array $data
- *
+ * @param string $template Template.
+ * @param array $data Data.
* @return string mixed
*/
private static function render_block_file( $template, $data = array() ) {
@@ -2054,19 +2144,19 @@ class Jetpack_CLI extends WP_CLI_Command {
}
}
-/*
+/**
* Standard "ask for permission to continue" function.
* If action cancelled, ask if they need help.
*
* Written outside of the class so it's not listed as an executable command w/ 'wp jetpack'
*
- * @param $flagged bool false = normal option | true = flagged by get_jetpack_options_for_reset()
- * @param $error_msg string (optional)
+ * @param bool $flagged false = normal option | true = flagged by get_jetpack_options_for_reset().
+ * @param string $error_msg Error message.
*/
function jetpack_cli_are_you_sure( $flagged = false, $error_msg = false ) {
$cli = new Jetpack_CLI();
- // Default cancellation message
+ // Default cancellation message.
if ( ! $error_msg ) {
$error_msg =
__( 'Action cancelled. Have a question?', 'jetpack' )
@@ -2085,7 +2175,7 @@ function jetpack_cli_are_you_sure( $flagged = false, $error_msg = false ) {
WP_CLI::line( $prompt_message );
$handle = fopen( 'php://stdin', 'r' );
$line = fgets( $handle );
- if ( 'yes' != trim( $line ) ) {
+ if ( 'yes' !== trim( $line ) ) {
WP_CLI::error( $error_msg );
}
}
diff --git a/plugins/jetpack/class.jetpack-client-server.php b/plugins/jetpack/class.jetpack-client-server.php
index 352c0050..c98c0c9b 100644
--- a/plugins/jetpack/class.jetpack-client-server.php
+++ b/plugins/jetpack/class.jetpack-client-server.php
@@ -1,4 +1,10 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Client = Plugin
+ * Client Server = API Methods the Plugin must respond to
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Webhooks;
@@ -57,6 +63,13 @@ class Jetpack_Client_Server {
( new Webhooks() )->handle_authorize();
}
+ /**
+ * Deactivate a plugin.
+ *
+ * @param string $probable_file Expected plugin file.
+ * @param string $probable_title Expected plugin title.
+ * @return int 1 if a plugin was deactivated, 0 if not.
+ */
public static function deactivate_plugin( $probable_file, $probable_title ) {
include_once ABSPATH . 'wp-admin/includes/plugin.php';
if ( is_plugin_active( $probable_file ) ) {
@@ -67,7 +80,7 @@ class Jetpack_Client_Server {
$active_plugins = Jetpack::get_active_plugins();
foreach ( $active_plugins as $plugin ) {
$data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin );
- if ( $data['Name'] == $probable_title ) {
+ if ( $data['Name'] === $probable_title ) {
deactivate_plugins( $plugin );
return 1;
}
@@ -78,6 +91,8 @@ class Jetpack_Client_Server {
}
/**
+ * Get the Jetpack instance.
+ *
* @deprecated since Jetpack 9.5.0
* @see Jetpack::init()
*/
diff --git a/plugins/jetpack/class.jetpack-connection-banner.php b/plugins/jetpack/class.jetpack-connection-banner.php
index 73317eca..e8e898cc 100644
--- a/plugins/jetpack/class.jetpack-connection-banner.php
+++ b/plugins/jetpack/class.jetpack-connection-banner.php
@@ -1,20 +1,33 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack connection banner.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Assets\Logo;
-use Automattic\Jetpack\Constants;
-use Automattic\Jetpack\Device_Detection\User_Agent_Info;
use Automattic\Jetpack\Licensing;
use Automattic\Jetpack\Redirect;
+/**
+ * Jetpack connection banner.
+ */
class Jetpack_Connection_Banner {
/**
+ * Static instance.
+ *
* @var Jetpack_Connection_Banner
- **/
+ */
private static $instance = null;
- static function init() {
- if ( is_null( self::$instance ) ) {
+ /**
+ * Initialize and fetch the static instance.
+ *
+ * @return self
+ */
+ public static function init() {
+ if ( self::$instance === null ) {
self::$instance = new Jetpack_Connection_Banner();
}
@@ -100,11 +113,10 @@ class Jetpack_Connection_Banner {
* The param $slide_num was removed since we removed all slides but the first one.
* @since 4.4.0
*
- * @param string $jp_version_banner_added A short version of when the banner was added. Ex. 44
- *
+ * @param string $jp_version_banner_added A short version of when the banner was added. Ex. 44.
* @return string
*/
- function build_connect_url_for_slide( $jp_version_banner_added ) {
+ public function build_connect_url_for_slide( $jp_version_banner_added ) {
global $current_screen;
$url = Jetpack::init()->build_connect_url(
true,
@@ -124,9 +136,9 @@ class Jetpack_Connection_Banner {
* @since 7.2 B test was removed.
* @since 9.7 Moved the connection condition checking to this method to fulfill Licensing requirements.
*
- * @param $current_screen
+ * @param \WP_Screen $current_screen Current WordPress screen.
*/
- function maybe_initialize_hooks( $current_screen ) {
+ public function maybe_initialize_hooks( $current_screen ) {
if ( ! self::can_be_displayed( $current_screen ) ) {
return;
}
@@ -144,7 +156,7 @@ class Jetpack_Connection_Banner {
add_action( 'network_admin_notices', array( $this, 'network_connect_notice' ) );
}
- // Only fires immediately after plugin activation
+ // Only fires immediately after plugin activation.
if ( get_transient( 'activated_jetpack' ) ) {
if (
! \Jetpack_Options::get_option( 'has_seen_wc_connection_modal', false )
@@ -186,13 +198,11 @@ class Jetpack_Connection_Banner {
}
/**
- * Enqueues JavaScript and CSS for new connect-in-place flow.
+ * Enqueues JavaScript and CSS for the connection button.
*
* @since 7.7
*/
public static function enqueue_connect_button_scripts() {
- global $is_safari;
-
wp_enqueue_script(
'jetpack-connect-button',
Assets::get_file_url_for_environment(
@@ -209,18 +219,12 @@ class Jetpack_Connection_Banner {
Assets::get_file_url_for_environment(
'css/jetpack-connect.min.css',
'css/jetpack-connect.css'
- )
+ ),
+ array(),
+ JETPACK__VERSION
);
- $jetpackApiUrl = wp_parse_url( Jetpack::connection()->api_url( '' ) );
-
- // Due to the limitation in how 3rd party cookies are handled in Safari and Opera,
- // we're falling back to the original flow.
- if ( $is_safari || User_Agent_Info::is_opera_desktop() || Constants::is_true( 'JETPACK_SHOULD_NOT_USE_CONNECTION_IFRAME' ) ) {
- $force_variation = 'original';
- } else {
- $force_variation = 'in_place';
- }
+ $jetpack_api_url = wp_parse_url( Jetpack::connection()->api_url( '' ) );
$tracking = new Automattic\Jetpack\Tracking();
$identity = $tracking->tracks_get_identity( get_current_user_id() );
@@ -234,8 +238,7 @@ class Jetpack_Connection_Banner {
'apiNonce' => wp_create_nonce( 'wp_rest' ),
'apiSiteDataNonce' => wp_create_nonce( 'wp_rest' ),
'buttonTextRegistering' => __( 'Loading...', 'jetpack' ),
- 'jetpackApiDomain' => $jetpackApiUrl['scheme'] . '://' . $jetpackApiUrl['host'],
- 'forceVariation' => $force_variation,
+ 'jetpackApiDomain' => $jetpack_api_url['scheme'] . '://' . $jetpack_api_url['host'],
'connectInPlaceUrl' => Jetpack::admin_url( 'page=jetpack#/setup' ),
'dashboardUrl' => Jetpack::admin_url( 'page=jetpack#/dashboard' ),
'plansPromptUrl' => Redirect::get_url( 'jetpack-connect-plans' ),
@@ -283,16 +286,15 @@ class Jetpack_Connection_Banner {
<div class="jp-wpcom-connect__content-icon jp-connect-illo">
<?php
$logo = new Logo();
- echo $logo->render();
+ echo $logo->render(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Returns SVG.
?>
<img
- src="<?php echo plugins_url( 'images/jetpack-powering-up.svg', JETPACK__PLUGIN_FILE ); ?>"
+ src="<?php echo esc_url( plugins_url( 'images/jetpack-powering-up.svg', JETPACK__PLUGIN_FILE ) ); ?>"
class="jp-wpcom-connect__hide-phone-and-smaller"
alt="
<?php
esc_attr_e(
- 'Jetpack premium services offer even more powerful performance, security, ' .
- 'and revenue tools to help you keep your site safe, fast, and help generate income.',
+ 'Jetpack premium services offer even more powerful performance, security, and revenue tools to help you keep your site safe, fast, and help generate income.',
'jetpack'
);
?>
@@ -308,9 +310,7 @@ class Jetpack_Connection_Banner {
<p>
<?php
esc_html_e(
- 'Jetpack protects you against brute force attacks and unauthorized logins. Basic protection ' .
- 'is always free, while premium plans add unlimited backups of your whole site, spam protection, ' .
- 'malware scanning, and automated fixes.',
+ 'Jetpack protects you against brute force attacks and unauthorized logins. Basic protection is always free, while premium plans add unlimited backups of your whole site, spam protection, malware scanning, and automated fixes.',
'jetpack'
);
?>
@@ -319,9 +319,7 @@ class Jetpack_Connection_Banner {
<p>
<?php
esc_html_e(
- 'Activate site accelerator tools and watch your page load times decrease—we’ll ' .
- 'optimize your images and serve them from our own powerful global network of servers, ' .
- 'and speed up your mobile site to reduce bandwidth usage.',
+ 'Activate site accelerator tools and watch your page load times decrease—we’ll optimize your images and serve them from our own powerful global network of servers, and speed up your mobile site to reduce bandwidth usage.',
'jetpack'
);
?>
@@ -358,7 +356,7 @@ class Jetpack_Connection_Banner {
<div class="jp-wpcom-connect__slide jp-wpcom-connect__slide-one jp__slide-is-active">
<div class="jp-wpcom-connect__content-icon jp-connect-illo">
- <?php echo ( new Logo() )->render(); ?>
+ <?php echo ( new Logo() )->render(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Returns SVG. ?>
<img
src="<?php echo esc_url( plugins_url( 'images/jetpack-powering-up.svg', JETPACK__PLUGIN_FILE ) ); ?>"
class="jp-wpcom-connect__hide-phone-and-smaller"
@@ -430,7 +428,7 @@ class Jetpack_Connection_Banner {
<?php if ( 'plugins' === $current_screen->base ) : ?>
<?php
$logo = new Logo();
- echo $logo->render();
+ echo $logo->render(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Returns SVG.
?>
<?php
@@ -461,7 +459,7 @@ class Jetpack_Connection_Banner {
<p class="jp-connect-full__button-container">
<a href="<?php echo esc_url( Jetpack::init()->build_connect_url( true, false, $bottom_connect_url_from ) ); ?>"
- class="dops-button is-primary jp-connect-button">
+ class="dops-button is-primary jp-connect-button">
<?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?>
</a>
</p>
@@ -470,7 +468,7 @@ class Jetpack_Connection_Banner {
<div class="jp-connect-full__slide">
<div class="jp-connect-full__slide-card illustration">
<img
- src="<?php echo plugins_url( 'images/jetpack-connection-security.svg', JETPACK__PLUGIN_FILE ); ?>"
+ src="<?php echo esc_url( plugins_url( 'images/jetpack-connection-security.svg', JETPACK__PLUGIN_FILE ) ); ?>"
alt="<?php esc_attr_e( 'Security & Backups', 'jetpack' ); ?>"
/>
</div>
@@ -486,7 +484,7 @@ class Jetpack_Connection_Banner {
<div class="jp-connect-full__slide">
<div class="jp-connect-full__slide-card illustration">
<img
- src="<?php echo plugins_url( 'images/jetpack-connection-performance.svg', JETPACK__PLUGIN_FILE ); ?>"
+ src="<?php echo esc_url( plugins_url( 'images/jetpack-connection-performance.svg', JETPACK__PLUGIN_FILE ) ); ?>"
alt="<?php esc_attr_e( 'Built-in Performance', 'jetpack' ); ?>"
/>
</div>
@@ -534,7 +532,7 @@ class Jetpack_Connection_Banner {
/**
* Renders the legacy network connection banner.
*/
- function network_connect_notice() {
+ public function network_connect_notice() {
?>
<div id="message" class="updated jetpack-message">
<div class="squeezer">
diff --git a/plugins/jetpack/class.jetpack-debugger.php b/plugins/jetpack/class.jetpack-debugger.php
deleted file mode 100644
index 88c13090..00000000
--- a/plugins/jetpack/class.jetpack-debugger.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-/**
- * Deprecated. No longer needed.
- *
- * @package Jetpack
- */
diff --git a/plugins/jetpack/class.jetpack-error.php b/plugins/jetpack/class.jetpack-error.php
deleted file mode 100644
index 9b7725ad..00000000
--- a/plugins/jetpack/class.jetpack-error.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class Jetpack_Error extends WP_Error {}
diff --git a/plugins/jetpack/class.jetpack-gutenberg.php b/plugins/jetpack/class.jetpack-gutenberg.php
index 90d25a64..6245fcc3 100644
--- a/plugins/jetpack/class.jetpack-gutenberg.php
+++ b/plugins/jetpack/class.jetpack-gutenberg.php
@@ -60,6 +60,14 @@ class Jetpack_Gutenberg {
private static $cached_availability = null;
/**
+ * Site-specific features available.
+ * Their calculation can be expensive and slow, so we're caching it for the request.
+ *
+ * @var array Site-specific features
+ */
+ private static $site_specific_features = array();
+
+ /**
* Check to see if a minimum version of Gutenberg is available. Because a Gutenberg version is not available in
* php if the Gutenberg plugin is not installed, if we know which minimum WP release has the required version we can
* optionally fall back to that.
@@ -338,7 +346,7 @@ class Jetpack_Gutenberg {
*/
public static function get_available_extensions( $allowed_extensions = null ) {
$exclusions = get_option( 'jetpack_excluded_extensions', array() );
- $allowed_extensions = is_null( $allowed_extensions ) ? self::get_jetpack_gutenberg_extensions_allowed_list() : $allowed_extensions;
+ $allowed_extensions = $allowed_extensions === null ? self::get_jetpack_gutenberg_extensions_allowed_list() : $allowed_extensions;
return array_diff( $allowed_extensions, $exclusions );
}
@@ -455,6 +463,10 @@ class Jetpack_Gutenberg {
return false;
}
+ if ( get_option( 'jetpack_blocks_disabled', false ) ) {
+ return false;
+ }
+
/**
* Filter to disable Gutenberg blocks
*
@@ -678,6 +690,7 @@ class Jetpack_Gutenberg {
/** This filter is documented in class.jetpack-gutenberg.php */
'enable_upgrade_nudge' => apply_filters( 'jetpack_block_editor_enable_upgrade_nudge', false ),
'is_private_site' => '-1' === get_option( 'blog_public' ),
+ 'is_coming_soon' => ( function_exists( 'site_is_coming_soon' ) && site_is_coming_soon() ) || (bool) get_option( 'wpcom_public_coming_soon' ),
'is_offline_mode' => $status->is_offline_mode(),
/**
* Enable the RePublicize UI in the block editor context.
@@ -695,11 +708,68 @@ class Jetpack_Gutenberg {
'tracksUserData' => $user_data,
'wpcomBlogId' => $blog_id,
'allowedMimeTypes' => wp_get_mime_types(),
+ 'siteLocale' => str_replace( '_', '-', get_locale() ),
)
);
}
/**
+ * Add the Gutenberg editor stylesheet to iframed editors, such as the site editor,
+ * which don't have access to stylesheets added with `wp_enqueue_style`.
+ *
+ * This workaround is currently used by WordPress.com Simple and Atomic sites.
+ *
+ * @since 10.7
+ *
+ * @return void
+ */
+ public static function add_iframed_editor_style() {
+ if ( ! self::should_load() ) {
+ return;
+ }
+
+ global $pagenow;
+ if ( ! isset( $pagenow ) ) {
+ return;
+ }
+
+ $allowed_pages = array( 'admin.php', 'themes.php' );
+ $is_site_editor_page = in_array( $pagenow, $allowed_pages, true ) &&
+ isset( $_GET['page'] ) && 'gutenberg-edit-site' === $_GET['page']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+
+ // WP 5.9 puts the site editor in `site-editor.php` when Gutenberg is not active.
+ if ( 'site-editor.php' !== $pagenow && ! $is_site_editor_page ) {
+ return;
+ }
+
+ $blocks_dir = self::get_blocks_directory();
+ $blocks_variation = self::blocks_variation();
+
+ if ( 'production' !== $blocks_variation ) {
+ $blocks_env = '-' . esc_attr( $blocks_variation );
+ } else {
+ $blocks_env = '';
+ }
+
+ $path = "{$blocks_dir}editor{$blocks_env}.css";
+ $dir = dirname( JETPACK__PLUGIN_FILE );
+
+ if ( file_exists( "$dir/$path" ) ) {
+ if ( is_rtl() ) {
+ $rtlcsspath = substr( $path, 0, -4 ) . '.rtl.css';
+ if ( file_exists( "$dir/$rtlcsspath" ) ) {
+ $path = $rtlcsspath;
+ }
+ }
+
+ $url = Assets::normalize_path( plugins_url( $path, JETPACK__PLUGIN_FILE ) );
+ $url = add_query_arg( 'minify', 'false', $url );
+
+ add_editor_style( $url );
+ }
+ }
+
+ /**
* Some blocks do not depend on a specific module,
* and can consequently be loaded outside of the usual modules.
* We will look for such modules in the extensions/ directory.
@@ -747,8 +817,7 @@ class Jetpack_Gutenberg {
include_once $extension_file_path;
}
}
- };
-
+ }
}
}
@@ -1004,28 +1073,59 @@ class Jetpack_Gutenberg {
}
/**
+ * Retrieve site-specific features for Simple sites.
+ *
+ * We're caching the data for the lifetime of the request, because it can be slow to calculate,
+ * and it can be called multiple times per single request.
+ *
+ * We intentionally don't use object caching or any other type of persistent caching,
+ * in order to avoid complex cache invalidation on subscription addition or removal.
+ *
+ * @since 10.7
+ *
+ * @return array
+ */
+ private static function get_site_specific_features() {
+ $current_blog_id = get_current_blog_id();
+
+ if ( isset( self::$site_specific_features[ $current_blog_id ] ) ) {
+ return self::$site_specific_features[ $current_blog_id ];
+ }
+
+ if ( ! class_exists( 'Store_Product_List' ) ) {
+ require WP_CONTENT_DIR . '/admin-plugins/wpcom-billing/store-product-list.php';
+ }
+
+ $site_specific_features = Store_Product_List::get_site_specific_features_data( $current_blog_id );
+ self::$site_specific_features[ $current_blog_id ] = $site_specific_features;
+
+ return $site_specific_features;
+ }
+
+ /**
* Set the availability of the block as the editor
* is loaded.
*
* @param string $slug Slug of the block.
*/
public static function set_availability_for_plan( $slug ) {
- $is_available = true;
+ $slug = self::remove_extension_prefix( $slug );
+
+ if ( Jetpack_Plan::supports( $slug ) ) {
+ self::set_extension_available( $slug );
+ return;
+ }
+
+ // Check what's the minimum plan where the feature is available.
$plan = '';
- $slug = self::remove_extension_prefix( $slug );
$features_data = array();
$is_simple_site = defined( 'IS_WPCOM' ) && IS_WPCOM;
$is_atomic_site = ( new Host() )->is_woa_site();
- // Check feature availability for Simple and Atomic sites.
if ( $is_simple_site || $is_atomic_site ) {
-
// Simple sites.
if ( $is_simple_site ) {
- if ( ! class_exists( 'Store_Product_List' ) ) {
- require WP_CONTENT_DIR . '/admin-plugins/wpcom-billing/store-product-list.php';
- }
- $features_data = Store_Product_List::get_site_specific_features_data();
+ $features_data = self::get_site_specific_features();
} else {
// Atomic sites.
$option = get_option( 'jetpack_active_plan' );
@@ -1034,28 +1134,22 @@ class Jetpack_Gutenberg {
}
}
- $is_available = isset( $features_data['active'] ) && in_array( $slug, $features_data['active'], true );
if ( ! empty( $features_data['available'][ $slug ] ) ) {
$plan = $features_data['available'][ $slug ][0];
}
} else {
// Jetpack sites.
- $is_available = Jetpack_Plan::supports( $slug );
- $plan = Jetpack_Plan::get_minimum_plan_for_feature( $slug );
+ $plan = Jetpack_Plan::get_minimum_plan_for_feature( $slug );
}
- if ( $is_available ) {
- self::set_extension_available( $slug );
- } else {
- self::set_extension_unavailable(
- $slug,
- 'missing_plan',
- array(
- 'required_feature' => $slug,
- 'required_plan' => $plan,
- )
- );
- }
+ self::set_extension_unavailable(
+ $slug,
+ 'missing_plan',
+ array(
+ 'required_feature' => $slug,
+ 'required_plan' => $plan,
+ )
+ );
}
/**
@@ -1093,13 +1187,20 @@ class Jetpack_Gutenberg {
}
}
-/*
- * Enable upgrade nudge for Atomic sites.
- * This feature is false as default,
- * so let's enable it through this filter.
- *
- * More doc: https://github.com/Automattic/jetpack/tree/master/projects/plugins/jetpack/extensions#upgrades-for-blocks
- */
if ( ( new Host() )->is_woa_site() ) {
+ /**
+ * Enable upgrade nudge for Atomic sites.
+ * This feature is false as default,
+ * so let's enable it through this filter.
+ *
+ * More doc: https://github.com/Automattic/jetpack/tree/master/projects/plugins/jetpack/extensions#upgrades-for-blocks
+ */
add_filter( 'jetpack_block_editor_enable_upgrade_nudge', '__return_true' );
+
+ /**
+ * Load block editor styles inline for iframed editors.
+ *
+ * @see paYJgx-1Kl-p2
+ */
+ add_action( 'admin_init', array( 'Jetpack_Gutenberg', 'add_iframed_editor_style' ) );
}
diff --git a/plugins/jetpack/class.jetpack-heartbeat.php b/plugins/jetpack/class.jetpack-heartbeat.php
index 5af7f50a..2f337310 100644
--- a/plugins/jetpack/class.jetpack-heartbeat.php
+++ b/plugins/jetpack/class.jetpack-heartbeat.php
@@ -1,8 +1,16 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack Heartbeat.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Manager;
use Automattic\Jetpack\Heartbeat;
+/**
+ * Jetpack Heartbeat.
+ */
class Jetpack_Heartbeat {
/**
@@ -41,7 +49,6 @@ class Jetpack_Heartbeat {
* Constructor for singleton
*
* @since 2.3.3
- * @return Jetpack_Heartbeat
*/
private function __construct() {
add_filter( 'jetpack_heartbeat_stats_array', array( $this, 'add_stats_to_heartbeat' ) );
@@ -103,7 +110,7 @@ class Jetpack_Heartbeat {
}
if ( ! empty( $_SERVER['SERVER_ADDR'] ) || ! empty( $_SERVER['LOCAL_ADDR'] ) ) {
- $ip = ! empty( $_SERVER['SERVER_ADDR'] ) ? $_SERVER['SERVER_ADDR'] : $_SERVER['LOCAL_ADDR'];
+ $ip = ! empty( $_SERVER['SERVER_ADDR'] ) ? wp_unslash( $_SERVER['SERVER_ADDR'] ) : wp_unslash( $_SERVER['LOCAL_ADDR'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized just below.
$ip_arr = array_map( 'intval', explode( '.', $ip ) );
if ( 4 === count( $ip_arr ) ) {
$return[ "{$prefix}ip-2-octets" ] = implode( '.', array_slice( $ip_arr, 0, 2 ) );
diff --git a/plugins/jetpack/class.jetpack-ixr-client.php b/plugins/jetpack/class.jetpack-ixr-client.php
deleted file mode 100644
index 12e07d1e..00000000
--- a/plugins/jetpack/class.jetpack-ixr-client.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-/**
- * Deprecated since 7.7.
- *
- * @deprecated
- * @package jetpack
- */
-
-// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
-_deprecated_file( basename( __FILE__ ), 'jetpack-7.7' );
diff --git a/plugins/jetpack/class.jetpack-modules-list-table.php b/plugins/jetpack/class.jetpack-modules-list-table.php
index 004a2dff..bfc4d040 100644
--- a/plugins/jetpack/class.jetpack-modules-list-table.php
+++ b/plugins/jetpack/class.jetpack-modules-list-table.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack modules list table.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
@@ -6,9 +11,13 @@ if ( ! class_exists( 'WP_List_Table' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
}
+/**
+ * Jetpack modules list table.
+ */
class Jetpack_Modules_List_Table extends WP_List_Table {
- function __construct() {
+ /** Constructor. */
+ public function __construct() {
parent::__construct();
Jetpack::init();
@@ -28,7 +37,8 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
$this->items = $this->all_items;
$this->items = $this->filter_displayed_table_items( $this->items );
$this->_column_headers = array( $this->get_columns(), array(), array(), 'name' );
- $modal_info = isset( $_GET['info'] ) ? $_GET['info'] : false;
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Nonce: This is a view, not a model or controller. InputNotSanitized: Sanitized below via `$this->module_info_check()`.
+ $modal_info = isset( $_GET['info'] ) ? wp_unslash( $_GET['info'] ) : false;
wp_register_script(
'models.jetpack-modules',
@@ -37,7 +47,8 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
'_inc/jetpack-modules.models.js'
),
array( 'backbone', 'underscore' ),
- JETPACK__VERSION
+ JETPACK__VERSION,
+ false // @todo Can this be put in the footer?
);
wp_register_script(
'views.jetpack-modules',
@@ -46,7 +57,8 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
'_inc/jetpack-modules.views.js'
),
array( 'backbone', 'underscore', 'wp-util' ),
- JETPACK__VERSION
+ JETPACK__VERSION,
+ false // @todo Can this be put in the footer?
);
wp_register_script(
'jetpack-modules-list-table',
@@ -90,7 +102,10 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
add_action( 'admin_footer', apply_filters( 'jetpack_modules_list_table_js_template_callback', array( $this, 'js_templates' ) ), 9 );
}
- function js_templates() {
+ /**
+ * Output row template.
+ */
+ public function js_templates() {
?>
<script type="text/html" id="tmpl-Jetpack_Modules_List_Table_Template">
<# var i = 0;
@@ -108,9 +123,9 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
<span class='configure'>{{{ item.configurable }}}</span>
<# } #>
<# if ( item.activated && 'vaultpress' !== item.module && item.available ) { #>
- <span class='delete'><a href="<?php echo admin_url( 'admin.php' ); ?>?page=jetpack&#038;action=deactivate&#038;module={{{ item.module }}}&#038;_wpnonce={{{ item.deactivate_nonce }}}"><?php _e( 'Deactivate', 'jetpack' ); ?></a></span>
+ <span class='delete'><a href="<?php echo esc_url( admin_url( 'admin.php' ) ); ?>?page=jetpack&#038;action=deactivate&#038;module={{{ item.module }}}&#038;_wpnonce={{{ item.deactivate_nonce }}}"><?php esc_html_e( 'Deactivate', 'jetpack' ); ?></a></span>
<# } else if ( item.available ) { #>
- <span class='activate'><a href="<?php echo admin_url( 'admin.php' ); ?>?page=jetpack&#038;action=activate&#038;module={{{ item.module }}}&#038;_wpnonce={{{ item.activate_nonce }}}"><?php _e( 'Activate', 'jetpack' ); ?></a></span>
+ <span class='activate'><a href="<?php echo esc_url( admin_url( 'admin.php' ) ); ?>?page=jetpack&#038;action=activate&#038;module={{{ item.module }}}&#038;_wpnonce={{{ item.activate_nonce }}}"><?php esc_html_e( 'Activate', 'jetpack' ); ?></a></span>
<# } #>
<# if ( ! item.available ) { #>
<span class='unavailable_reason'>{{{ item.unavailable_reason }}}</span>
@@ -132,7 +147,12 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
<?php
}
- function get_views() {
+ /**
+ * Get views data.
+ *
+ * @return array Maps identifier to display HTML.
+ */
+ public function get_views() {
/** This filter is already documented in class.jetpack-modules-list-table.php */
$modules = apply_filters( 'jetpack_modules_list_table_items', Jetpack_Admin::init()->get_modules() );
$array_of_module_tags = wp_list_pluck( $modules, 'module_tags' );
@@ -140,10 +160,11 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
$module_tags_unique = array_count_values( $module_tags );
ksort( $module_tags_unique );
- $format = '<a href="%3$s"%4$s data-title="%1$s">%1$s <span class="count">(%2$s)</span></a>';
- $title = __( 'All', 'jetpack' );
- $count = count( $modules );
- $url = esc_url( remove_query_arg( 'module_tag' ) );
+ $format = '<a href="%3$s"%4$s data-title="%1$s">%1$s <span class="count">(%2$s)</span></a>';
+ $title = __( 'All', 'jetpack' );
+ $count = count( $modules );
+ $url = esc_url( remove_query_arg( 'module_tag' ) );
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is a view, not a model or controller.
$current = empty( $_GET['module_tag'] ) ? ' class="current all"' : ' class="all"';
$views = array(
'all' => sprintf( $format, $title, $count, $url, $current ),
@@ -151,9 +172,10 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
foreach ( $module_tags_unique as $title => $count ) {
$key = sanitize_title( $title );
$display_title = esc_html( wptexturize( $title ) );
- $url = esc_url( add_query_arg( 'module_tag', urlencode( $title ) ) );
+ $url = esc_url( add_query_arg( 'module_tag', rawurlencode( $title ) ) );
$current = '';
- if ( ! empty( $_GET['module_tag'] ) && $title == $_GET['module_tag'] ) {
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is a view, not a model or controller.
+ if ( ! empty( $_GET['module_tag'] ) && $title === $_GET['module_tag'] ) {
$current = ' class="current"';
}
$views[ $key ] = sprintf( $format, $display_title, $count, $url, $current );
@@ -161,26 +183,43 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
return $views;
}
- function views() {
+ /**
+ * Output views HTML.
+ */
+ public function views() {
$views = $this->get_views();
echo "<ul class='subsubsub'>\n";
foreach ( $views as $class => $view ) {
$views[ $class ] = "\t<li class='$class'>$view</li>";
}
- echo implode( "\n", $views ) . "\n";
+ echo implode( "\n", $views ) . "\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Is HTML. Escaping happens in get_views().
echo '</ul>';
}
- function filter_displayed_table_items( $modules ) {
+ /**
+ * Filter a modules array for displayed items.
+ *
+ * @param array $modules Modules.
+ * @return array Displayed modules.
+ */
+ public function filter_displayed_table_items( $modules ) {
return array_filter( $modules, array( $this, 'is_module_displayed' ) );
}
- static function is_module_displayed( $module ) {
+ /**
+ * Determine if a module is displayed.
+ *
+ * @param array $module Module data.
+ * @return bool
+ */
+ public static function is_module_displayed( $module ) {
// Handle module tag based filtering.
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is a view, not a model or controller.
if ( ! empty( $_REQUEST['module_tag'] ) ) {
- $module_tag = sanitize_text_field( $_REQUEST['module_tag'] );
- if ( ! in_array( $module_tag, $module['module_tags'] ) ) {
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is a view, not a model or controller.
+ $module_tag = sanitize_text_field( wp_unslash( $_REQUEST['module_tag'] ) );
+ if ( ! in_array( $module_tag, $module['module_tags'], true ) ) {
return false;
}
}
@@ -189,8 +228,15 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
return true;
}
- static function sort_requires_connection_last( $module1, $module2 ) {
- if ( $module1['requires_connection'] == $module2['requires_connection'] ) {
+ /**
+ * Sort callback to put modules with `requires_connection` last.
+ *
+ * @param array $module1 Module data.
+ * @param array $module2 Module data.
+ * @return int Indicating the relative ordering of module1 and module2.
+ */
+ public static function sort_requires_connection_last( $module1, $module2 ) {
+ if ( (bool) $module1['requires_connection'] === (bool) $module2['requires_connection'] ) {
return 0;
}
if ( $module1['requires_connection'] ) {
@@ -203,7 +249,12 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
return 0;
}
- function get_columns() {
+ /**
+ * Get table columns.
+ *
+ * @return string[] Column name to header HTML.
+ */
+ public function get_columns() {
$columns = array(
'cb' => '<input type="checkbox" />',
'name' => __( 'Name', 'jetpack' ),
@@ -211,7 +262,12 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
return $columns;
}
- function get_bulk_actions() {
+ /**
+ * Get bulk actions for the table.
+ *
+ * @return string[] Actions, code => text.
+ */
+ public function get_bulk_actions() {
$actions = array(
'bulk-activate' => __( 'Activate', 'jetpack' ),
'bulk-deactivate' => __( 'Deactivate', 'jetpack' ),
@@ -219,9 +275,14 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
return $actions;
}
- function single_row( $item ) {
+ /**
+ * Print a single row of the table.
+ *
+ * @param object|array $item Item.
+ */
+ public function single_row( $item ) {
static $i = 0;
- $row_class = ( ++$i % 2 ) ? ' alternate' : '';
+ $row_class = ( ( ++$i ) % 2 ) ? ' alternate' : '';
if ( ! empty( $item['activated'] ) ) {
$row_class .= ' active';
@@ -236,11 +297,22 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
echo '</tr>';
}
- function get_table_classes() {
+ /**
+ * Table classes.
+ *
+ * @return string[] HTML.
+ */
+ public function get_table_classes() {
return array( 'table', 'table-bordered', 'wp-list-table', 'widefat', 'fixed', 'jetpack-modules' );
}
- function column_cb( $item ) {
+ /**
+ * Column checkbox.
+ *
+ * @param object|array $item Item.
+ * @return string HTML.
+ */
+ public function column_cb( $item ) {
if ( ! Jetpack_Admin::is_module_available( $item ) ) {
return '';
}
@@ -248,13 +320,19 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
return sprintf( '<input type="checkbox" name="modules[]" value="%s" />', $item['module'] );
}
- function column_icon( $item ) {
- $badge_text = $free_text = '';
+ /**
+ * Column icon.
+ *
+ * @return string HTML.
+ */
+ public function column_icon() {
+ $badge_text = '';
+ $free_text = '';
ob_start();
?>
<a href="#TB_inline?width=600&height=550&inlineId=more-info-module-settings-modal" class="thickbox">
<div class="module-image">
- <p><span class="module-image-badge"><?php echo $badge_text; ?></span><span class="module-image-free" style="display: none"><?php echo $free_text; ?></span></p>
+ <p><span class="module-image-badge"><?php echo esc_html( $badge_text ); ?></span><span class="module-image-free" style="display: none"><?php echo esc_html( $free_text ); ?></span></p>
</div>
</a>
<?php
@@ -262,7 +340,13 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
}
- function column_name( $item ) {
+ /**
+ * Column name.
+ *
+ * @param object|array $item Item.
+ * @return string HTML.
+ */
+ public function column_name( $item ) {
$actions = array(
'info' => sprintf( '<a href="%s" target="blank">%s</a>', esc_url( $item['learn_more_button'] ), esc_html__( 'Feature Info', 'jetpack' ) ),
);
@@ -300,8 +384,15 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
return $this->row_actions( $actions ) . wptexturize( $item['name'] );
}
- function column_description( $item ) {
+ /**
+ * Column description.
+ *
+ * @param object|array $item Item.
+ * @return string HTML.
+ */
+ public function column_description( $item ) {
ob_start();
+ // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
/** This action is documented in class.jetpack-admin.php */
echo apply_filters( 'jetpack_short_module_description', $item['description'], $item['module'] );
/** This action is documented in class.jetpack-admin.php */
@@ -310,31 +401,52 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
/** This action is documented in class.jetpack-admin.php */
do_action( 'jetpack_module_more_info_' . $item['module'] );
echo '</div>';
+ // phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped
return ob_get_clean();
}
- function column_module_tags( $item ) {
+ /**
+ * Return module tags HTML.
+ *
+ * @param object|array $item Item.
+ * @return string HTML.
+ */
+ public function column_module_tags( $item ) {
$module_tags = array();
foreach ( $item['module_tags'] as $module_tag ) {
- $module_tags[] = sprintf( '<a href="%3$s" data-title="%2$s">%1$s</a>', esc_html( $module_tag ), esc_attr( $module_tag ), esc_url( add_query_arg( 'module_tag', urlencode( $module_tag ) ) ) );
+ $module_tags[] = sprintf( '<a href="%3$s" data-title="%2$s">%1$s</a>', esc_html( $module_tag ), esc_attr( $module_tag ), esc_url( add_query_arg( 'module_tag', rawurlencode( $module_tag ) ) ) );
}
return implode( ', ', $module_tags );
}
- function column_default( $item, $column_name ) {
+ /**
+ * Column default value.
+ *
+ * @param object|array $item Item.
+ * @param string $column_name Column name.
+ * @return string
+ */
+ public function column_default( $item, $column_name ) {
switch ( $column_name ) {
case 'icon':
case 'name':
case 'description':
- break;
+ return '';
default:
+ // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r
return print_r( $item, true );
}
}
- // Check if the info parameter provided in the URL corresponds to an actual module
- function module_info_check( $info, $modules ) {
- if ( false == $info ) {
+ /**
+ * Check if the info parameter provided in the URL corresponds to an actual module.
+ *
+ * @param string|false $info Info parameter.
+ * @param array $modules Modules array.
+ * @return string|false
+ */
+ public function module_info_check( $info, $modules ) {
+ if ( ! $info ) {
return false;
} elseif ( array_key_exists( $info, $modules ) ) {
return $info;
@@ -347,11 +459,10 @@ class Jetpack_Modules_List_Table extends WP_List_Table {
*
* @see https://github.com/WordPress/WordPress/commit/d28f6344de97616de8ece543ed290c4ba2383622
*
- * @param string $which
- *
+ * @param string $which Which nav table to display.
* @return mixed
*/
- function unprotected_display_tablenav( $which = 'top' ) {
+ public function unprotected_display_tablenav( $which = 'top' ) {
return $this->display_tablenav( $which );
}
diff --git a/plugins/jetpack/class.jetpack-network-sites-list-table.php b/plugins/jetpack/class.jetpack-network-sites-list-table.php
index 7b533083..2843ed08 100644
--- a/plugins/jetpack/class.jetpack-network-sites-list-table.php
+++ b/plugins/jetpack/class.jetpack-network-sites-list-table.php
@@ -1,14 +1,26 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack network sites list table.
+ *
+ * @package automattic/jetpack
+ */
if ( ! class_exists( 'WP_List_Table' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
}
+/**
+ * Jetpack network sites list table.
+ */
class Jetpack_Network_Sites_List_Table extends WP_List_Table {
-
+ /**
+ * Get columns.
+ *
+ * @return array name => header HTML.
+ */
public function get_columns() {
- // site name, status, username connected under
+ // site name, status, username connected under.
$columns = array(
'cb' => '<input type="checkbox" />',
'blogname' => __( 'Site Name', 'jetpack' ),
@@ -19,10 +31,14 @@ class Jetpack_Network_Sites_List_Table extends WP_List_Table {
return $columns;
}
+ /**
+ * Prepare items.
+ */
public function prepare_items() {
- $jpms = Jetpack_Network::init();
+ // Make sure Jetpack_Network is initialized.
+ Jetpack_Network::init();
- // Deal with bulk actions if any were requested by the user
+ // Deal with bulk actions if any were requested by the user.
$this->process_bulk_action();
$sites = get_sites(
@@ -34,7 +50,7 @@ class Jetpack_Network_Sites_List_Table extends WP_List_Table {
)
);
- // Setup pagination
+ // Setup pagination.
$per_page = 25;
$current_page = $this->get_pagenum();
$total_items = count( $sites );
@@ -53,8 +69,14 @@ class Jetpack_Network_Sites_List_Table extends WP_List_Table {
$this->items = $sites;
}
+ /**
+ * Column blogname.
+ *
+ * @param object|array $item Item.
+ * @return string HTML.
+ */
public function column_blogname( $item ) {
- // http://jpms/wp-admin/network/site-info.php?id=1
+ // <http://jpms/wp-admin/network/site-info.php?id=1>.
switch_to_blog( $item->blog_id );
$jp_url = admin_url( 'admin.php?page=jetpack' );
restore_current_blog();
@@ -69,14 +91,26 @@ class Jetpack_Network_Sites_List_Table extends WP_List_Table {
return sprintf( '%1$s %2$s', '<strong>' . get_blog_option( $item->blog_id, 'blogname' ) . '</strong>', $this->row_actions( $actions ) );
}
+ /**
+ * Column blog path.
+ *
+ * @param object|array $item Item.
+ * @return string HTML.
+ */
public function column_blog_path( $item ) {
return '<a href="' .
- get_site_url( $item->blog_id, '', 'admin' ) .
- '">' .
- str_replace( array( 'http://', 'https://' ), '', get_site_url( $item->blog_id, '', 'admin' ) ) .
- '</a>';
+ get_site_url( $item->blog_id, '', 'admin' ) .
+ '">' .
+ str_replace( array( 'http://', 'https://' ), '', get_site_url( $item->blog_id, '', 'admin' ) ) .
+ '</a>';
}
+ /**
+ * Column connected.
+ *
+ * @param object|array $item Item.
+ * @return string HTML.
+ */
public function column_connected( $item ) {
$jpms = Jetpack_Network::init();
$jp = Jetpack::init();
@@ -94,7 +128,7 @@ class Jetpack_Network_Sites_List_Table extends WP_List_Table {
}
if ( $jp->is_connection_ready() ) {
- // Build url for disconnecting
+ // Build url for disconnecting.
$url = $jpms->get_url(
array(
'name' => 'subsitedisconnect',
@@ -103,20 +137,25 @@ class Jetpack_Network_Sites_List_Table extends WP_List_Table {
)
);
restore_current_blog();
- return '<a href="' . esc_url( $url ) . '">' . esc_html__( 'Disconnect', 'jetpack' ) . '</a>';
+ return '<a href="' . wp_nonce_url( $url, 'jetpack-subsite-disconnect' ) . '">' . esc_html__( 'Disconnect', 'jetpack' ) . '</a>';
}
restore_current_blog();
- // Build URL for connecting
+ // Build URL for connecting.
$url = $jpms->get_url(
array(
'name' => 'subsiteregister',
'site_id' => $item->blog_id,
)
);
- return '<a href="' . esc_url( $url ) . '">' . esc_html__( 'Connect', 'jetpack' ) . '</a>';
+ return '<a href="' . wp_nonce_url( $url, 'jetpack-subsite-register' ) . '">' . esc_html__( 'Connect', 'jetpack' ) . '</a>';
}
+ /**
+ * Get bulk actions.
+ *
+ * @return array Code => HTML.
+ */
public function get_bulk_actions() {
$actions = array(
'connect' => esc_html__( 'Connect', 'jetpack' ),
@@ -126,30 +165,44 @@ class Jetpack_Network_Sites_List_Table extends WP_List_Table {
return $actions;
}
- function column_cb( $item ) {
+ /**
+ * Column checkbox.
+ *
+ * @param object|array $item Item.
+ * @return string HTML.
+ */
+ public function column_cb( $item ) {
return sprintf(
'<input type="checkbox" name="bulk[]" value="%s" />',
$item->blog_id
);
}
+ /**
+ * Process bulk actions.
+ */
public function process_bulk_action() {
- if ( ! isset( $_POST['bulk'] ) || empty( $_POST['bulk'] ) ) {
- return; // Thou shall not pass! There is nothing to do
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Check if we have anything to do before checking the nonce.
+ if ( empty( $_POST['bulk'] ) ) {
+ return; // Thou shall not pass! There is nothing to do.
}
+ check_admin_referer( 'bulk-toplevel_page_jetpack-network' );
+
$jpms = Jetpack_Network::init();
$action = $this->current_action();
switch ( $action ) {
case 'connect':
- foreach ( $_POST['bulk'] as $k => $site ) {
+ $bulk = wp_unslash( $_POST['bulk'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
+ foreach ( $bulk as $site ) {
$jpms->do_subsiteregister( $site );
}
break;
case 'disconnect':
- foreach ( $_POST['bulk'] as $k => $site ) {
+ $bulk = wp_unslash( $_POST['bulk'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
+ foreach ( $bulk as $site ) {
$jpms->do_subsitedisconnect( $site );
}
break;
diff --git a/plugins/jetpack/class.jetpack-network.php b/plugins/jetpack/class.jetpack-network.php
index 026ee1c7..9aecd6fd 100644
--- a/plugins/jetpack/class.jetpack-network.php
+++ b/plugins/jetpack/class.jetpack-network.php
@@ -73,7 +73,7 @@ class Jetpack_Network {
add_action( 'network_admin_edit_jetpack-network-settings', array( $this, 'save_network_settings_page' ), 10, 0 );
add_filter( 'admin_body_class', array( $this, 'body_class' ) );
- if ( isset( $_GET['page'] ) && 'jetpack' == $_GET['page'] ) {
+ if ( isset( $_GET['page'] ) && 'jetpack' === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
add_action( 'admin_init', array( $this, 'jetpack_sites_list' ) );
}
}
@@ -240,7 +240,7 @@ class Jetpack_Network {
if ( is_string( $args ) ) {
$name = $args;
- } else if ( is_array( $args ) ) {
+ } elseif ( is_array( $args ) ) {
$name = $args['name'];
} else {
return $url;
@@ -322,14 +322,10 @@ class Jetpack_Network {
if ( isset( $_GET['action'] ) ) {
switch ( $_GET['action'] ) {
case 'subsiteregister':
- /**
- * Add actual referrer checking.
- *
- * @todo check_admin_referer( 'jetpack-subsite-register' );
- */
+ check_admin_referer( 'jetpack-subsite-register' );
Jetpack::log( 'subsiteregister' );
- // If !$_GET['site_id'] stop registration and error.
+ // If no site_id, stop registration and error.
if ( ! isset( $_GET['site_id'] ) || empty( $_GET['site_id'] ) ) {
/**
* Log error to state cookie for display later.
@@ -354,6 +350,7 @@ class Jetpack_Network {
exit;
case 'subsitedisconnect':
+ check_admin_referer( 'jetpack-subsite-disconnect' );
Jetpack::log( 'subsitedisconnect' );
if ( ! isset( $_GET['site_id'] ) || empty( $_GET['site_id'] ) ) {
@@ -396,10 +393,10 @@ class Jetpack_Network {
* Shows the Jetpack plugin notices.
*/
public function show_jetpack_notice() {
- if ( isset( $_GET['action'] ) && 'connected' == $_GET['action'] ) {
+ if ( isset( $_GET['action'] ) && 'connected' === $_GET['action'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
$notice = __( 'Site successfully connected.', 'jetpack' );
$classname = 'updated';
- } elseif ( isset( $_GET['action'] ) && 'connection_failed' == $_GET['action'] ) {
+ } elseif ( isset( $_GET['action'] ) && 'connection_failed' === $_GET['action'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This is view logic.
$notice = __( 'Site connection failed!', 'jetpack' );
$classname = 'error';
}
@@ -422,7 +419,8 @@ class Jetpack_Network {
if ( ! current_user_can( 'jetpack_disconnect' ) ) {
return;
}
- $site_id = ( is_null( $site_id ) ) ? $_GET['site_id'] : $site_id;
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Caller (i.e. `$this->jetpack_sites_list()`) should check.
+ $site_id = ( $site_id === null ) ? ( isset( $_GET['site_id'] ) ? (int) $_GET['site_id'] : null ) : $site_id;
switch_to_blog( $site_id );
Jetpack::disconnect();
restore_current_blog();
@@ -447,7 +445,8 @@ class Jetpack_Network {
}
// Figure out what site we are working on.
- $site_id = ( is_null( $site_id ) ) ? $_GET['site_id'] : $site_id;
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Caller (i.e. `$this->jetpack_sites_list()`) should check.
+ $site_id = ( $site_id === null ) ? ( isset( $_GET['site_id'] ) ? (int) $_GET['site_id'] : null ) : $site_id;
/*
* Here we need to switch to the subsite
@@ -563,19 +562,13 @@ class Jetpack_Network {
* connections will feed off this one
*/
if ( ! $main_active ) {
- $url = $this->get_url(
- array(
- 'name' => 'subsiteregister',
- 'site_id' => 1,
- )
- );
$data = array( 'url' => $jp->build_connect_url() );
Jetpack::init()->load_view( 'admin/must-connect-main-blog.php', $data );
return;
}
- require_once 'class.jetpack-network-sites-list-table.php';
+ require_once __DIR__ . '/class.jetpack-network-sites-list-table.php';
$network_sites_table = new Jetpack_Network_Sites_List_Table();
echo '<div class="wrap"><h2>' . esc_html__( 'Sites', 'jetpack' ) . '</h2>';
@@ -607,7 +600,7 @@ class Jetpack_Network {
*/
public function save_network_settings_page() {
- if ( ! wp_verify_nonce( $_POST['_wpnonce'], 'jetpack-network-settings' ) ) {
+ if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'jetpack-network-settings' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
// No nonce, push back to settings page.
wp_safe_redirect(
add_query_arg(
@@ -619,7 +612,8 @@ class Jetpack_Network {
}
// Try to save the Protect whitelist before anything else, since that action can result in errors.
- $whitelist = str_replace( ' ', '', $_POST['global-whitelist'] );
+ $whitelist = isset( $_POST['global-whitelist'] ) ? filter_var( wp_unslash( $_POST['global-whitelist'] ) ) : '';
+ $whitelist = str_replace( ' ', '', $whitelist );
$whitelist = explode( PHP_EOL, $whitelist );
$result = jetpack_protect_save_whitelist( $whitelist, true );
if ( is_wp_error( $result ) ) {
diff --git a/plugins/jetpack/class.jetpack-plan.php b/plugins/jetpack/class.jetpack-plan.php
index 333653b3..85ebffa0 100644
--- a/plugins/jetpack/class.jetpack-plan.php
+++ b/plugins/jetpack/class.jetpack-plan.php
@@ -63,6 +63,7 @@ class Jetpack_Plan {
),
'supports' => array(
'akismet',
+ 'payments',
'recurring-payments',
'premium-content/container',
'videopress',
@@ -90,6 +91,10 @@ class Jetpack_Plan {
'jetpack_security_daily_monthly',
'jetpack_security_realtime',
'jetpack_security_realtime_monthly',
+ 'jetpack_security_t1_yearly',
+ 'jetpack_security_t1_monthly',
+ 'jetpack_security_t2_yearly',
+ 'jetpack_security_t2_monthly',
),
'supports' => array(),
),
@@ -103,6 +108,7 @@ class Jetpack_Plan {
'ecommerce-bundle',
'ecommerce-bundle-monthly',
'ecommerce-bundle-2y',
+ 'pro-plan',
),
'supports' => array(),
),
@@ -318,6 +324,16 @@ class Jetpack_Plan {
* @return bool True if plan supports feature, false if not
*/
public static function supports( $feature ) {
+ // Hijack the feature eligibility check on WordPress.com sites since they are gated differently.
+ $should_wpcom_gate_feature = (
+ function_exists( 'wpcom_site_has_feature' ) &&
+ function_exists( 'wpcom_feature_exists' ) &&
+ wpcom_feature_exists( $feature )
+ );
+ if ( $should_wpcom_gate_feature ) {
+ return wpcom_site_has_feature( $feature );
+ }
+
// Search product bypasses plan feature check.
if ( 'search' === $feature && (bool) get_option( 'has_jetpack_search_product' ) ) {
return true;
@@ -330,18 +346,6 @@ class Jetpack_Plan {
$plan = self::get();
- // Manually mapping WordPress.com features to Jetpack module slugs.
- foreach ( $plan['features']['active'] as $wpcom_feature ) {
- switch ( $wpcom_feature ) {
- case 'wordads-jetpack':
- // WordAds are supported for this site.
- if ( 'wordads' === $feature ) {
- return true;
- }
- break;
- }
- }
-
if (
in_array( $feature, $plan['supports'], true )
|| in_array( $feature, $plan['features']['active'], true )
diff --git a/plugins/jetpack/class.jetpack-post-images.php b/plugins/jetpack/class.jetpack-post-images.php
index ddfd77d9..7b9ecc3d 100644
--- a/plugins/jetpack/class.jetpack-post-images.php
+++ b/plugins/jetpack/class.jetpack-post-images.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Useful for finding an image to display alongside/in representation of a specific post.
+ *
+ * @package automattic/jetpack
+ */
/**
* Useful for finding an image to display alongside/in representation of a specific post.
@@ -13,8 +18,13 @@
class Jetpack_PostImages {
/**
* If a slideshow is embedded within a post, then parse out the images involved and return them
+ *
+ * @param int $post_id Post ID.
+ * @param int $width Image width.
+ * @param int $height Image height.
+ * @return array Images.
*/
- static function from_slideshow( $post_id, $width = 200, $height = 200 ) {
+ public static function from_slideshow( $post_id, $width = 200, $height = 200 ) {
$images = array();
$post = get_post( $post_id );
@@ -28,25 +38,26 @@ class Jetpack_PostImages {
}
if ( false === has_shortcode( $post->post_content, 'slideshow' ) ) {
- return $images; // no slideshow - bail
+ return $images; // no slideshow - bail.
}
$permalink = get_permalink( $post->ID );
- // Mechanic: Somebody set us up the bomb
+ // Mechanic: Somebody set us up the bomb.
$old_post = $GLOBALS['post'];
- $GLOBALS['post'] = $post;
+ $GLOBALS['post'] = $post; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
$old_shortcodes = $GLOBALS['shortcode_tags'];
- $GLOBALS['shortcode_tags'] = array( 'slideshow' => $old_shortcodes['slideshow'] );
+ $GLOBALS['shortcode_tags'] = array( 'slideshow' => $old_shortcodes['slideshow'] ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
- // Find all the slideshows
+ // Find all the slideshows.
preg_match_all( '/' . get_shortcode_regex() . '/sx', $post->post_content, $slideshow_matches, PREG_SET_ORDER );
- ob_start(); // The slideshow shortcode handler calls wp_print_scripts and wp_print_styles... not too happy about that
+ ob_start(); // The slideshow shortcode handler calls wp_print_scripts and wp_print_styles... not too happy about that.
foreach ( $slideshow_matches as $slideshow_match ) {
$slideshow = do_shortcode_tag( $slideshow_match );
- if ( false === $pos = stripos( $slideshow, 'jetpack-slideshow' ) ) { // must be something wrong - or we changed the output format in which case none of the following will work
+ $pos = stripos( $slideshow, 'jetpack-slideshow' );
+ if ( false === $pos ) { // must be something wrong - or we changed the output format in which case none of the following will work.
continue;
}
$start = strpos( $slideshow, '[', $pos );
@@ -55,13 +66,14 @@ class Jetpack_PostImages {
// If the JSON didn't decode don't try and act on it.
if ( is_array( $post_images ) ) {
foreach ( $post_images as $post_image ) {
- if ( ! $post_image_id = absint( $post_image->id ) ) {
+ $post_image_id = absint( $post_image->id );
+ if ( ! $post_image_id ) {
continue;
}
$meta = wp_get_attachment_metadata( $post_image_id );
- // Must be larger than 200x200 (or user-specified)
+ // Must be larger than 200x200 (or user-specified).
if ( ! isset( $meta['width'] ) || $meta['width'] < $width ) {
continue;
}
@@ -84,17 +96,20 @@ class Jetpack_PostImages {
}
ob_end_clean();
- // Operator: Main screen turn on
- $GLOBALS['shortcode_tags'] = $old_shortcodes;
- $GLOBALS['post'] = $old_post;
+ // Operator: Main screen turn on.
+ $GLOBALS['shortcode_tags'] = $old_shortcodes; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
+ $GLOBALS['post'] = $old_post; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
return $images;
}
/**
* If a gallery is detected, then get all the images from it.
+ *
+ * @param int $post_id Post ID.
+ * @return array Images.
*/
- static function from_gallery( $post_id ) {
+ public static function from_gallery( $post_id ) {
$images = array();
$post = get_post( $post_id );
@@ -116,6 +131,7 @@ class Jetpack_PostImages {
* See core ticket:
* https://core.trac.wordpress.org/ticket/39304
*/
+ // phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
if ( isset( $GLOBALS['post'] ) ) {
$juggle_post = $GLOBALS['post'];
$GLOBALS['post'] = $post;
@@ -126,6 +142,7 @@ class Jetpack_PostImages {
$galleries = get_post_galleries( $post->ID, false );
unset( $GLOBALS['post'] );
}
+ // phpcs:enable WordPress.WP.GlobalVariablesOverride.Prohibited
foreach ( $galleries as $gallery ) {
if ( isset( $gallery['type'] ) && 'slideshow' === $gallery['type'] && ! empty( $gallery['ids'] ) ) {
@@ -134,9 +151,9 @@ class Jetpack_PostImages {
foreach ( $image_ids as $image_id ) {
$image = wp_get_attachment_image_src( $image_id, $image_size );
if ( ! empty( $image[0] ) ) {
- list( $raw_src ) = explode( '?', $image[0] ); // pull off any Query string (?w=250)
- $raw_src = wp_specialchars_decode( $raw_src ); // rawify it
- $raw_src = esc_url_raw( $raw_src ); // clean it
+ list( $raw_src ) = explode( '?', $image[0] ); // pull off any Query string (?w=250).
+ $raw_src = wp_specialchars_decode( $raw_src ); // rawify it.
+ $raw_src = esc_url_raw( $raw_src ); // clean it.
$images[] = array(
'type' => 'image',
'from' => 'gallery',
@@ -147,9 +164,9 @@ class Jetpack_PostImages {
}
} elseif ( ! empty( $gallery['src'] ) ) {
foreach ( $gallery['src'] as $src ) {
- list( $raw_src ) = explode( '?', $src ); // pull off any Query string (?w=250)
- $raw_src = wp_specialchars_decode( $raw_src ); // rawify it
- $raw_src = esc_url_raw( $raw_src ); // clean it
+ list( $raw_src ) = explode( '?', $src ); // pull off any Query string (?w=250).
+ $raw_src = wp_specialchars_decode( $raw_src ); // rawify it.
+ $raw_src = esc_url_raw( $raw_src ); // clean it.
$images[] = array(
'type' => 'image',
'from' => 'gallery',
@@ -166,8 +183,13 @@ class Jetpack_PostImages {
/**
* Get attachment images for a specified post and return them. Also make sure
* their dimensions are at or above a required minimum.
+ *
+ * @param int $post_id The post ID to check.
+ * @param int $width Image width.
+ * @param int $height Image height.
+ * @return array Containing details of the image, or empty array if none.
*/
- static function from_attachment( $post_id, $width = 200, $height = 200 ) {
+ public static function from_attachment( $post_id, $width = 200, $height = 200 ) {
$images = array();
$post = get_post( $post_id );
@@ -178,10 +200,10 @@ class Jetpack_PostImages {
$post_images = get_posts(
array(
- 'post_parent' => $post_id, // Must be children of post
- 'numberposts' => 5, // No more than 5
- 'post_type' => 'attachment', // Must be attachments
- 'post_mime_type' => 'image', // Must be images
+ 'post_parent' => $post_id, // Must be children of post.
+ 'numberposts' => 5, // No more than 5.
+ 'post_type' => 'attachment', // Must be attachments.
+ 'post_mime_type' => 'image', // Must be images.
'suppress_filters' => false,
)
);
@@ -209,7 +231,7 @@ class Jetpack_PostImages {
foreach ( $html_images as $html_image ) {
$src = wp_parse_url( $html_image['src'] );
- // strip off any query strings from src
+ // strip off any query strings from src.
if ( ! empty( $src['scheme'] ) && ! empty( $src['host'] ) ) {
$inserted_images[] = $src['scheme'] . '://' . $src['host'] . $src['path'];
} elseif ( ! empty( $src['host'] ) ) {
@@ -219,7 +241,7 @@ class Jetpack_PostImages {
}
}
foreach ( $images as $i => $image ) {
- if ( ! in_array( $image['src'], $inserted_images ) ) {
+ if ( ! in_array( $image['src'], $inserted_images, true ) ) {
unset( $images[ $i ] );
}
}
@@ -231,10 +253,12 @@ class Jetpack_PostImages {
* Check if a Featured Image is set for this post, and return it in a similar
* format to the other images?_from_*() methods.
*
- * @param int $post_id The post ID to check
+ * @param int $post_id The post ID to check.
+ * @param int $width Image width.
+ * @param int $height Image height.
* @return array containing details of the Featured Image, or empty array if none.
*/
- static function from_thumbnail( $post_id, $width = 200, $height = 200 ) {
+ public static function from_thumbnail( $post_id, $width = 200, $height = 200 ) {
$images = array();
$post = get_post( $post_id );
@@ -251,7 +275,7 @@ class Jetpack_PostImages {
if ( $thumb ) {
$meta = wp_get_attachment_metadata( $thumb );
- // Must be larger than requested minimums
+ // Must be larger than requested minimums.
if ( ! isset( $meta['width'] ) || $meta['width'] < $width ) {
return $images;
}
@@ -281,7 +305,7 @@ class Jetpack_PostImages {
$url = $img_src[0];
$images = array(
- array( // Other methods below all return an array of arrays
+ array( // Other methods below all return an array of arrays.
'type' => 'image',
'from' => 'thumbnail',
'src' => $url,
@@ -306,7 +330,7 @@ class Jetpack_PostImages {
}
$images = array(
- array( // Other methods below all return an array of arrays
+ array( // Other methods below all return an array of arrays.
'type' => 'image',
'from' => 'thumbnail',
'src' => $meta_thumbnail['URL'],
@@ -387,7 +411,7 @@ class Jetpack_PostImages {
*
* @return array containing images
*/
- static function from_html( $html_or_id, $width = 200, $height = 200 ) {
+ public static function from_html( $html_or_id, $width = 200, $height = 200 ) {
$images = array();
$html_info = self::get_post_html( $html_or_id );
@@ -407,7 +431,7 @@ class Jetpack_PostImages {
// The @ is not enough to suppress errors when dealing with libxml,
// we have to tell it directly how we want to handle errors.
libxml_use_internal_errors( true );
- @$dom_doc->loadHTML( $html_info['html'] );
+ @$dom_doc->loadHTML( $html_info['html'] ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
libxml_use_internal_errors( false );
$image_tags = $dom_doc->getElementsByTagName( 'img' );
@@ -470,11 +494,13 @@ class Jetpack_PostImages {
}
/**
- * @param int $post_id The post ID to check
- * @param int $size
+ * Data from blavatar.
+ *
+ * @param int $post_id The post ID to check.
+ * @param int $size Size.
* @return array containing details of the image, or empty array if none.
*/
- static function from_blavatar( $post_id, $size = 96 ) {
+ public static function from_blavatar( $post_id, $size = 96 ) {
$permalink = get_permalink( $post_id );
@@ -514,7 +540,7 @@ class Jetpack_PostImages {
* @param string $default The default image to use.
* @return array containing details of the image, or empty array if none.
*/
- static function from_gravatar( $post_id, $size = 96, $default = false ) {
+ public static function from_gravatar( $post_id, $size = 96, $default = false ) {
$post = get_post( $post_id );
$permalink = get_permalink( $post_id );
@@ -550,11 +576,11 @@ class Jetpack_PostImages {
* Run through the different methods that we have available to try to find a single good
* display image for this post.
*
- * @param int $post_id
- * @param array $args Other arguments (currently width and height required for images where possible to determine)
+ * @param int $post_id Post ID.
+ * @param array $args Other arguments (currently width and height required for images where possible to determine).
* @return array containing details of the best image to be used
*/
- static function get_image( $post_id, $args = array() ) {
+ public static function get_image( $post_id, $args = array() ) {
$image = '';
/**
@@ -569,7 +595,7 @@ class Jetpack_PostImages {
if ( is_array( $media ) ) {
foreach ( $media as $item ) {
- if ( 'image' == $item['type'] ) {
+ if ( 'image' === $item['type'] ) {
$image = $item;
break;
}
@@ -592,11 +618,11 @@ class Jetpack_PostImages {
* Get an array containing a collection of possible images for this post, stopping once we hit a method
* that returns something useful.
*
- * @param int $post_id
- * @param array $args Optional args, see defaults list for details
+ * @param int $post_id Post ID.
+ * @param array $args Optional args, see defaults list for details.
* @return array containing images that would be good for representing this post
*/
- static function get_images( $post_id, $args = array() ) {
+ public static function get_images( $post_id, $args = array() ) {
// Figure out which image to attach to this post.
$media = false;
@@ -616,21 +642,21 @@ class Jetpack_PostImages {
}
$defaults = array(
- 'width' => 200, // Required minimum width (if possible to determine)
- 'height' => 200, // Required minimum height (if possible to determine)
+ 'width' => 200, // Required minimum width (if possible to determine).
+ 'height' => 200, // Required minimum height (if possible to determine).
- 'fallback_to_avatars' => false, // Optionally include Blavatar and Gravatar (in that order) in the image stack
- 'avatar_size' => 96, // Used for both Grav and Blav
- 'gravatar_default' => false, // Default image to use if we end up with no Gravatar
+ 'fallback_to_avatars' => false, // Optionally include Blavatar and Gravatar (in that order) in the image stack.
+ 'avatar_size' => 96, // Used for both Grav and Blav.
+ 'gravatar_default' => false, // Default image to use if we end up with no Gravatar.
- 'from_thumbnail' => true, // Use these flags to specify which methods to use to find an image
+ 'from_thumbnail' => true, // Use these flags to specify which methods to use to find an image.
'from_slideshow' => true,
'from_gallery' => true,
'from_attachment' => true,
'from_blocks' => true,
'from_html' => true,
- 'html_content' => '', // HTML string to pass to from_html()
+ 'html_content' => '', // HTML string to pass to from_html().
);
$args = wp_parse_args( $args, $defaults );
@@ -649,16 +675,16 @@ class Jetpack_PostImages {
}
if ( ! $media && $args['from_blocks'] ) {
if ( empty( $args['html_content'] ) ) {
- $media = self::from_blocks( $post_id, $args['width'], $args['height'] ); // Use the post_id, which will load the content
+ $media = self::from_blocks( $post_id, $args['width'], $args['height'] ); // Use the post_id, which will load the content.
} else {
- $media = self::from_blocks( $args['html_content'], $args['width'], $args['height'] ); // If html_content is provided, use that
+ $media = self::from_blocks( $args['html_content'], $args['width'], $args['height'] ); // If html_content is provided, use that.
}
}
if ( ! $media && $args['from_html'] ) {
if ( empty( $args['html_content'] ) ) {
- $media = self::from_html( $post_id, $args['width'], $args['height'] ); // Use the post_id, which will load the content
+ $media = self::from_html( $post_id, $args['width'], $args['height'] ); // Use the post_id, which will load the content.
} else {
- $media = self::from_html( $args['html_content'], $args['width'], $args['height'] ); // If html_content is provided, use that
+ $media = self::from_html( $args['html_content'], $args['width'], $args['height'] ); // If html_content is provided, use that.
}
}
@@ -686,11 +712,12 @@ class Jetpack_PostImages {
* Takes an image URL and pixel dimensions then returns a URL for the
* resized and cropped image.
*
- * @param string $src
- * @param int $dimension
- * @return string Transformed image URL
+ * @param string $src Image URL.
+ * @param int $width Image width.
+ * @param int $height Image height.
+ * @return string Transformed image URL
*/
- static function fit_image_url( $src, $width, $height ) {
+ public static function fit_image_url( $src, $width, $height ) {
$width = (int) $width;
$height = (int) $height;
@@ -698,7 +725,7 @@ class Jetpack_PostImages {
return $src;
}
- // See if we should bypass WordPress.com SaaS resizing
+ // See if we should bypass WordPress.com SaaS resizing.
if ( has_filter( 'jetpack_images_fit_image_url_override' ) ) {
/**
* Filters the image URL used after dimensions are set by Photon.
@@ -712,9 +739,9 @@ class Jetpack_PostImages {
return apply_filters( 'jetpack_images_fit_image_url_override', $src, $width, $height );
}
- // If WPCOM hosted image use native transformations
+ // If WPCOM hosted image use native transformations.
$img_host = wp_parse_url( $src, PHP_URL_HOST );
- if ( '.files.wordpress.com' == substr( $img_host, -20 ) ) {
+ if ( '.files.wordpress.com' === substr( $img_host, -20 ) ) {
return add_query_arg(
array(
'w' => $width,
@@ -725,7 +752,7 @@ class Jetpack_PostImages {
);
}
- // Use Photon magic
+ // Use Photon magic.
if ( function_exists( 'jetpack_photon_url' ) ) {
return jetpack_photon_url( $src, array( 'resize' => "$width,$height" ) );
}
@@ -746,7 +773,7 @@ class Jetpack_PostImages {
* @type string $post_url Post URL.
* }
*/
- static function get_post_html( $html_or_id ) {
+ public static function get_post_html( $html_or_id ) {
if ( is_numeric( $html_or_id ) ) {
$post = get_post( $html_or_id );
diff --git a/plugins/jetpack/class.jetpack-twitter-cards.php b/plugins/jetpack/class.jetpack-twitter-cards.php
index d8b286f3..5f3e1f6d 100644
--- a/plugins/jetpack/class.jetpack-twitter-cards.php
+++ b/plugins/jetpack/class.jetpack-twitter-cards.php
@@ -330,8 +330,8 @@ class Jetpack_Twitter_Cards {
* Validate the settings submission.
*/
public static function settings_validate() {
- if ( wp_verify_nonce( $_POST['jetpack_twitter_cards_nonce'], 'jetpack-twitter-cards-settings' ) ) {
- update_option( 'jetpack-twitter-cards-site-tag', trim( ltrim( wp_strip_all_tags( $_POST['jetpack-twitter-cards-site-tag'] ), '@' ) ) );
+ if ( isset( $_POST['jetpack_twitter_cards_nonce'] ) && wp_verify_nonce( $_POST['jetpack_twitter_cards_nonce'], 'jetpack-twitter-cards-settings' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
+ update_option( 'jetpack-twitter-cards-site-tag', isset( $_POST['jetpack-twitter-cards-site-tag'] ) ? trim( ltrim( wp_strip_all_tags( filter_var( wp_unslash( $_POST['jetpack-twitter-cards-site-tag'] ) ) ), '@' ) ) : '' );
}
}
@@ -339,7 +339,7 @@ class Jetpack_Twitter_Cards {
* Initiates the class.
*/
public static function init() {
- add_filter( 'jetpack_open_graph_tags', array( __CLASS__, 'twitter_cards_tags' ) );
+ add_filter( 'jetpack_open_graph_tags', array( __CLASS__, 'twitter_cards_tags' ), 11 ); // $priority=11: this should hook into jetpack_open_graph_tags after 'class.jetpack-seo.php' has done so.
add_filter( 'jetpack_open_graph_output', array( __CLASS__, 'twitter_cards_output' ) );
add_filter( 'jetpack_twitter_cards_site_tag', array( __CLASS__, 'site_tag' ), -99 );
add_filter( 'jetpack_twitter_cards_site_tag', array( __CLASS__, 'prioritize_creator_over_default_site' ), 99, 2 );
diff --git a/plugins/jetpack/class.jetpack-xmlrpc-server.php b/plugins/jetpack/class.jetpack-xmlrpc-server.php
deleted file mode 100644
index d97fd6ff..00000000
--- a/plugins/jetpack/class.jetpack-xmlrpc-server.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-/**
- * Deprecated since 7.7
- */
-_deprecated_file( basename( __FILE__ ), 'jetpack-7.7' );
diff --git a/plugins/jetpack/class.jetpack.php b/plugins/jetpack/class.jetpack.php
index acd8c33e..f995fc45 100644
--- a/plugins/jetpack/class.jetpack.php
+++ b/plugins/jetpack/class.jetpack.php
@@ -17,17 +17,22 @@ use Automattic\Jetpack\Connection\Rest_Authentication as Connection_Rest_Authent
use Automattic\Jetpack\Connection\Secrets;
use Automattic\Jetpack\Connection\Tokens;
use Automattic\Jetpack\Connection\Utils as Connection_Utils;
-use Automattic\Jetpack\Connection\Webhooks as Connection_Webhooks;
use Automattic\Jetpack\Constants;
+use Automattic\Jetpack\CookieState;
use Automattic\Jetpack\Device_Detection\User_Agent_Info;
+use Automattic\Jetpack\Errors;
+use Automattic\Jetpack\Files;
use Automattic\Jetpack\Identity_Crisis;
use Automattic\Jetpack\Licensing;
+use Automattic\Jetpack\Modules;
use Automattic\Jetpack\My_Jetpack\Initializer as My_Jetpack_Initializer;
use Automattic\Jetpack\Partner;
+use Automattic\Jetpack\Paths;
use Automattic\Jetpack\Plugin\Tracking as Plugin_Tracking;
use Automattic\Jetpack\Redirect;
use Automattic\Jetpack\Status;
use Automattic\Jetpack\Status\Host;
+use Automattic\Jetpack\Status\Visitor;
use Automattic\Jetpack\Sync\Actions as Sync_Actions;
use Automattic\Jetpack\Sync\Health;
use Automattic\Jetpack\Sync\Sender;
@@ -72,7 +77,7 @@ class Jetpack {
/**
* The handles of styles that are concatenated into jetpack.css.
*
- * When making changes to that list, you must also update concat_list in tools/builder/frontend-css.js.
+ * When making changes to that list, you must also update concat_list in tools/webpack.config.css.js.
*
* @var array The handles of styles that are concatenated into jetpack.css.
*/
@@ -114,7 +119,7 @@ class Jetpack {
*
* @var array
*/
- static $min_assets = array();
+ public static $min_assets = array();
/**
* Plugins to deactivate.
@@ -436,7 +441,7 @@ class Jetpack {
* @since 2.3.3
* @var Jetpack
*/
- static $instance = false;
+ public static $instance = false;
/**
* Singleton
@@ -456,10 +461,10 @@ class Jetpack {
/**
* Must never be called statically
*/
- function plugin_upgrade() {
+ public function plugin_upgrade() {
if ( self::is_connection_ready() ) {
list( $version ) = explode( ':', Jetpack_Options::get_option( 'version' ) );
- if ( JETPACK__VERSION != $version ) {
+ if ( JETPACK__VERSION !== $version ) {
// Prevent multiple upgrades at once - only a single process should trigger
// an upgrade to avoid stampedes.
if ( false !== get_transient( self::$plugin_upgrade_lock_key ) ) {
@@ -548,7 +553,7 @@ class Jetpack {
/**
* Runs upgrade routines that need to have modules loaded.
*/
- static function upgrade_on_load() {
+ public static function upgrade_on_load() {
// Not attempting any upgrades if jetpack_modules_loaded did not fire.
// This can happen in case Jetpack has been just upgraded and is
@@ -587,58 +592,8 @@ class Jetpack {
*
* @return $success bool true for success, false for failure.
*/
- static function update_active_modules( $modules ) {
- $current_modules = Jetpack_Options::get_option( 'active_modules', array() );
- $active_modules = self::get_active_modules();
- $new_active_modules = array_diff( $modules, $current_modules );
- $new_inactive_modules = array_diff( $active_modules, $modules );
- $new_current_modules = array_diff( array_merge( $current_modules, $new_active_modules ), $new_inactive_modules );
- $reindexed_modules = array_values( $new_current_modules );
- $success = Jetpack_Options::update_option( 'active_modules', array_unique( $reindexed_modules ) );
-
- foreach ( $new_active_modules as $module ) {
- /**
- * Fires when a specific module is activated.
- *
- * @since 1.9.0
- *
- * @param string $module Module slug.
- * @param boolean $success whether the module was activated. @since 4.2
- */
- do_action( 'jetpack_activate_module', $module, $success );
- /**
- * Fires when a module is activated.
- * The dynamic part of the filter, $module, is the module slug.
- *
- * @since 1.9.0
- *
- * @param string $module Module slug.
- */
- do_action( "jetpack_activate_module_$module", $module );
- }
-
- foreach ( $new_inactive_modules as $module ) {
- /**
- * Fired after a module has been deactivated.
- *
- * @since 4.2.0
- *
- * @param string $module Module slug.
- * @param boolean $success whether the module was deactivated.
- */
- do_action( 'jetpack_deactivate_module', $module, $success );
- /**
- * Fires when a module is deactivated.
- * The dynamic part of the filter, $module, is the module slug.
- *
- * @since 1.9.0
- *
- * @param string $module Module slug.
- */
- do_action( "jetpack_deactivate_module_$module", $module );
- }
-
- return $success;
+ public static function update_active_modules( $modules ) {
+ return ( new Modules() )->update_active( $modules );
}
/**
@@ -646,7 +601,7 @@ class Jetpack {
*
* @return void
*/
- static function delete_active_modules() {
+ public static function delete_active_modules() {
self::update_active_modules( array() );
}
@@ -853,6 +808,9 @@ class Jetpack {
// Register product descriptions for partner coupon usage.
add_filter( 'jetpack_partner_coupon_products', array( $this, 'get_partner_coupon_product_descriptions' ) );
+
+ // Actions for conditional recommendations.
+ add_action( 'plugins_loaded', array( 'Jetpack_Recommendations', 'init_conditional_recommendation_actions' ) );
}
/**
@@ -864,14 +822,20 @@ class Jetpack {
foreach (
array(
- 'sync',
'jitm',
+ 'sync',
+ 'waf',
)
as $feature
) {
$config->ensure( $feature );
}
+ $modules = new Automattic\Jetpack\Modules();
+ if ( $modules->is_active( 'publicize' ) ) {
+ $config->ensure( 'publicize' );
+ }
+
$config->ensure(
'connection',
array(
@@ -889,6 +853,12 @@ class Jetpack {
)
);
+ $config->ensure( 'search' );
+
+ if ( defined( 'ENABLE_WORDADS_SHARED_UI' ) && ENABLE_WORDADS_SHARED_UI ) {
+ $config->ensure( 'wordads' );
+ }
+
if ( ! $this->connection_manager ) {
$this->connection_manager = new Connection_Manager( 'jetpack' );
}
@@ -960,7 +930,7 @@ class Jetpack {
*/
do_action( 'jetpack_loaded', $this );
- add_filter( 'map_meta_cap', array( $this, 'jetpack_custom_caps' ), 1, 4 );
+ add_filter( 'map_meta_cap', array( $this, 'jetpack_custom_caps' ), 1, 2 );
}
/**
@@ -978,7 +948,7 @@ class Jetpack {
*
* @return array
*/
- function allow_wpcom_domain( $domains ) {
+ public function allow_wpcom_domain( $domains ) {
if ( empty( $domains ) ) {
$domains = array();
}
@@ -994,7 +964,7 @@ class Jetpack {
*
* @return string
*/
- function point_edit_post_links_to_calypso( $default_url, $post_id ) {
+ public function point_edit_post_links_to_calypso( $default_url, $post_id ) {
$post = get_post( $post_id );
if ( empty( $post ) ) {
@@ -1031,7 +1001,7 @@ class Jetpack {
*
* @return string
*/
- function point_edit_comment_links_to_calypso( $url ) {
+ public function point_edit_comment_links_to_calypso( $url ) {
// Take the `query` key value from the URL, and parse its parts to the $query_args. `amp;c` matches the comment ID.
wp_parse_str( wp_parse_url( $url, PHP_URL_QUERY ), $query_args );
@@ -1057,7 +1027,6 @@ class Jetpack {
$jetpack_callables = array(
'single_user_site' => array( 'Jetpack', 'is_single_user_site' ),
'updates' => array( 'Jetpack', 'get_updates' ),
- 'active_modules' => array( 'Jetpack', 'get_active_modules' ),
'available_jetpack_blocks' => array( 'Jetpack_Gutenberg', 'get_availability' ), // Includes both Gutenberg blocks *and* plugins.
);
$callables = array_merge( $callables, $jetpack_callables );
@@ -1108,12 +1077,17 @@ class Jetpack {
*
* @deprecated since 9.8.
*/
- function jetpack_track_last_sync_callback( $params ) {
+ public function jetpack_track_last_sync_callback( $params ) {
_deprecated_function( __METHOD__, 'jetpack-9.8', '\Automattic\Jetpack\JITMS\JITM->jetpack_track_last_sync_callback' );
return Automattic\Jetpack\JITMS\JITM::get_instance()->jetpack_track_last_sync_callback( $params );
}
- function jetpack_connection_banner_callback() {
+ /**
+ * Jetpack Connection banner callback function.
+ *
+ * @return void
+ */
+ public function jetpack_connection_banner_callback() {
check_ajax_referer( 'jp-connection-banner-nonce', 'nonce' );
// Disable the banner dismiss functionality if the pre-connection prompt helpers filter is set.
@@ -1131,7 +1105,7 @@ class Jetpack {
/**
* If there are any stats that need to be pushed, but haven't been, push them now.
*/
- function push_stats() {
+ public function push_stats() {
if ( ! empty( $this->stats ) ) {
$this->do_stats( 'server_side' );
}
@@ -1142,10 +1116,8 @@ class Jetpack {
*
* @param string[] $caps Array of the user's capabilities.
* @param string $cap Capability name.
- * @param int $user_id The user ID.
- * @param array $args Adds the context to the cap. Typically the object ID.
*/
- public function jetpack_custom_caps( $caps, $cap, $user_id, $args ) {
+ public function jetpack_custom_caps( $caps, $cap ) {
switch ( $cap ) {
case 'jetpack_manage_modules':
case 'jetpack_activate_modules':
@@ -1194,7 +1166,8 @@ class Jetpack {
'jetpack-gallery-settings',
Assets::get_file_url_for_environment( '_inc/build/gallery-settings.min.js', '_inc/gallery-settings.js' ),
array( 'media-views' ),
- '20121225'
+ '20121225',
+ true
);
}
@@ -1213,7 +1186,7 @@ class Jetpack {
'jetpack-facebook-embed',
Assets::get_file_url_for_environment( '_inc/build/facebook-embed.min.js', '_inc/facebook-embed.js' ),
array(),
- null,
+ JETPACK__VERSION,
true
);
@@ -1257,7 +1230,7 @@ class Jetpack {
* @param string $lang Language code.
* @return string|bool
*/
- function guess_locale_from_lang( $lang ) {
+ public function guess_locale_from_lang( $lang ) {
if ( 'en' === $lang || 'en_US' === $lang || ! $lang ) {
return 'en_US';
}
@@ -1302,7 +1275,7 @@ class Jetpack {
*
* @return string|bool
*/
- function get_locale() {
+ public function get_locale() {
$locale = $this->guess_locale_from_lang( get_locale() );
if ( ! $locale ) {
@@ -1333,7 +1306,7 @@ class Jetpack {
* @return string
*/
public static function network_allow_new_registrations() {
- return ( in_array( get_site_option( 'registration' ), array( 'none', 'user', 'blog', 'all' ) ) ? get_site_option( 'registration' ) : 'none' );
+ return ( in_array( get_site_option( 'registration' ), array( 'none', 'user', 'blog', 'all' ), true ) ? get_site_option( 'registration' ) : 'none' );
}
/**
* Does the network allow admins to add new users.
@@ -1393,10 +1366,10 @@ class Jetpack {
* @param string $role The new role.
* @param array $old_roles An array of the user's previous roles.
*/
- function maybe_clear_other_linked_admins_transient( $user_id, $role, $old_roles = null ) {
- if ( 'administrator' == $role
- || ( is_array( $old_roles ) && in_array( 'administrator', $old_roles ) )
- || is_null( $old_roles )
+ public function maybe_clear_other_linked_admins_transient( $user_id, $role, $old_roles = null ) {
+ if ( 'administrator' === $role
+ || ( is_array( $old_roles ) && in_array( 'administrator', $old_roles, true ) )
+ || $old_roles === null
) {
delete_transient( 'jetpack_other_linked_admins' );
}
@@ -1410,7 +1383,7 @@ class Jetpack {
*
* @return mixed False if no other users are linked, Int if there are.
*/
- static function get_other_linked_admins() {
+ public static function get_other_linked_admins() {
$other_linked_users = get_transient( 'jetpack_other_linked_admins' );
if ( false === $other_linked_users ) {
@@ -1493,7 +1466,8 @@ class Jetpack {
public static function is_single_user_site() {
global $wpdb;
- if ( false === ( $some_users = get_transient( 'jetpack_is_single_user' ) ) ) {
+ $some_users = get_transient( 'jetpack_is_single_user' );
+ if ( false === $some_users ) {
$some_users = $wpdb->get_var( "SELECT COUNT(*) FROM (SELECT user_id FROM $wpdb->usermeta WHERE meta_key = '{$wpdb->prefix}capabilities' LIMIT 2) AS someusers" );
set_transient( 'jetpack_is_single_user', (int) $some_users, 12 * HOUR_IN_SECONDS );
}
@@ -1513,7 +1487,7 @@ class Jetpack {
require_once ABSPATH . 'wp-admin/includes/template.php';
$filesystem_method = get_filesystem_method();
- if ( $filesystem_method === 'direct' ) {
+ if ( 'direct' === $filesystem_method ) {
return 1;
}
@@ -1647,6 +1621,7 @@ class Jetpack {
* A site is considered as being onboarded if it currently has an onboarding token.
*
* @since 5.8
+ * @deprecated Use \Automattic\Jetpack\Status()->is_onboarding()
*
* @access public
* @static
@@ -1654,7 +1629,12 @@ class Jetpack {
* @return bool True if the site is currently onboarding, false otherwise
*/
public static function is_onboarding() {
- return Jetpack_Options::get_option( 'onboarding' ) !== false;
+ _deprecated_function( __METHOD__, 'jetpack-10.9', 'Automattic\\Jetpack\\Status\\is_onboarding' );
+
+ if ( ! method_exists( 'Automattic\Jetpack\Status', 'is_onboarding' ) ) {
+ return Jetpack_Options::get_option( 'onboarding' ) !== false;
+ }
+ return ( new Status() )->is_onboarding();
}
/**
@@ -1698,7 +1678,7 @@ class Jetpack {
$notice .= ' ' . self::development_mode_trigger_text();
- echo '<div class="updated" style="border-color: #f0821e;"><p>' . $notice . '</p></div>';
+ echo '<div class="updated" style="border-color: #f0821e;"><p>' . $notice . '</p></div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- All provided text.
}
// Throw up a notice if using a development version and as for feedback.
@@ -1706,14 +1686,14 @@ class Jetpack {
/* translators: %s is a URL */
$notice = sprintf( __( 'You are currently running a development version of Jetpack. <a href="%s" target="_blank">Submit your feedback</a>', 'jetpack' ), Redirect::get_url( 'jetpack-contact-support-beta-group' ) );
- echo '<div class="updated" style="border-color: #f0821e;"><p>' . $notice . '</p></div>';
+ echo '<div class="updated" style="border-color: #f0821e;"><p>' . $notice . '</p></div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- All provided text.
}
// Throw up a notice if using staging mode.
if ( ( new Status() )->is_staging_site() ) {
/* translators: %s is a URL */
$notice = sprintf( __( 'You are running Jetpack on a <a href="%s" target="_blank">staging server</a>.', 'jetpack' ), Redirect::get_url( 'jetpack-support-staging-sites' ) );
- echo '<div class="updated" style="border-color: #f0821e;"><p>' . $notice . '</p></div>';
+ echo '<div class="updated" style="border-color: #f0821e;"><p>' . $notice . '</p></div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- All provided text.
}
}
@@ -1794,38 +1774,32 @@ class Jetpack {
*
* @param bool $check_all_headers Check all headers? Default is `false`.
*
+ * @deprecated Jetpack 10.6
+ *
* @return string Current user IP address.
*/
public static function current_user_ip( $check_all_headers = false ) {
- if ( $check_all_headers ) {
- foreach ( array(
- 'HTTP_CF_CONNECTING_IP',
- 'HTTP_CLIENT_IP',
- 'HTTP_X_FORWARDED_FOR',
- 'HTTP_X_FORWARDED',
- 'HTTP_X_CLUSTER_CLIENT_IP',
- 'HTTP_FORWARDED_FOR',
- 'HTTP_FORWARDED',
- 'HTTP_VIA',
- ) as $key ) {
- if ( ! empty( $_SERVER[ $key ] ) ) {
- return $_SERVER[ $key ];
- }
- }
- }
+ _deprecated_function( __METHOD__, 'jetpack-10.6', 'Automattic\\Jetpack\\Status\\Visitor::get_ip' );
- return ! empty( $_SERVER['REMOTE_ADDR'] ) ? $_SERVER['REMOTE_ADDR'] : '';
+ return ( new Visitor() )->get_ip( $check_all_headers );
}
/**
* Loads the currently active modules.
*/
public static function load_modules() {
- $is_offline_mode = ( new Status() )->is_offline_mode();
+ $status = new Status();
+
+ if ( method_exists( $status, 'is_onboarding' ) ) {
+ $is_onboarding = $status->is_onboarding();
+ } else {
+ $is_onboarding = self::is_onboarding();
+ }
+
if (
! self::is_connection_ready()
- && ! $is_offline_mode
- && ! self::is_onboarding()
+ && ! $status->is_offline_mode()
+ && ! $is_onboarding
&& (
! is_multisite()
|| ! get_site_option( 'jetpack_protect_active' )
@@ -1836,7 +1810,8 @@ class Jetpack {
$version = Jetpack_Options::get_option( 'version' );
if ( ! $version ) {
- $version = $old_version = JETPACK__VERSION . ':' . time();
+ $version = JETPACK__VERSION . ':' . time();
+ $old_version = $version;
/** This action is documented in class.jetpack.php */
do_action( 'updating_jetpack_version', $version, false );
Jetpack_Options::update_options( compact( 'version', 'old_version' ) );
@@ -1874,13 +1849,13 @@ class Jetpack {
foreach ( $modules as $index => $module ) {
// If we're in offline/site-connection mode, disable modules requiring a connection/user connection.
- if ( $is_offline_mode || $is_site_connection ) {
+ if ( $status->is_offline_mode() || $is_site_connection ) {
// Prime the pump if we need to.
if ( empty( $modules_data[ $module ] ) ) {
$modules_data[ $module ] = self::get_module( $module );
}
// If the module requires a connection, but we're in local mode, don't include it.
- if ( $is_offline_mode && $modules_data[ $module ]['requires_connection'] ) {
+ if ( $status->is_offline_mode() && $modules_data[ $module ]['requires_connection'] ) {
continue;
}
@@ -1893,7 +1868,7 @@ class Jetpack {
continue;
}
- if ( ! include_once self::get_module_path( $module ) ) {
+ if ( ! include_once self::get_module_path( $module ) ) { // phpcs:ignore WordPressVIPMinimum.Files.IncludingFile.NotAbsolutePath
unset( $modules[ $index ] );
self::update_active_modules( array_values( $modules ) );
continue;
@@ -1981,7 +1956,7 @@ class Jetpack {
$plugins = array();
foreach ( $all_plugins as $path => $plugin_data ) {
$plugins[ $path ] = array(
- 'is_active' => in_array( $path, $active_plugins ),
+ 'is_active' => in_array( $path, $active_plugins, true ),
'file' => $path,
'name' => $plugin_data['Name'],
'version' => $plugin_data['Version'],
@@ -2011,7 +1986,7 @@ class Jetpack {
}
$themes[ $slug ] = array(
- 'is_active_theme' => $slug == wp_get_theme()->get_template(),
+ 'is_active_theme' => wp_get_theme()->get_template() === $slug,
'slug' => $slug,
'theme_root' => $theme_data->get_theme_root_uri(),
'parent' => $theme_data->parent(),
@@ -2031,7 +2006,7 @@ class Jetpack {
* @param string $plugin Plugin to check in 'folder/file.php` format.
*/
public static function is_plugin_active( $plugin = 'jetpack/jetpack.php' ) {
- return in_array( $plugin, self::get_active_plugins() );
+ return in_array( $plugin, self::get_active_plugins(), true );
}
/**
@@ -2043,7 +2018,8 @@ class Jetpack {
* @return void
*/
public function check_open_graph() {
- if ( in_array( 'publicize', self::get_active_modules() ) || in_array( 'sharedaddy', self::get_active_modules() ) ) {
+ if ( in_array( 'publicize', self::get_active_modules(), true ) || in_array( 'sharedaddy', self::get_active_modules(), true ) ) {
+ include_once JETPACK__PLUGIN_DIR . 'enhanced-open-graph.php';
add_filter( 'jetpack_enable_open_graph', '__return_true', 0 );
}
@@ -2051,7 +2027,7 @@ class Jetpack {
if ( ! empty( $active_plugins ) ) {
foreach ( $this->open_graph_conflicting_plugins as $plugin ) {
- if ( in_array( $plugin, $active_plugins ) ) {
+ if ( in_array( $plugin, $active_plugins, true ) ) {
add_filter( 'jetpack_enable_open_graph', '__return_false', 99 );
break;
}
@@ -2084,7 +2060,7 @@ class Jetpack {
if ( ! empty( $active_plugins ) ) {
foreach ( $this->twitter_cards_conflicting_plugins as $plugin ) {
- if ( in_array( $plugin, $active_plugins ) ) {
+ if ( in_array( $plugin, $active_plugins, true ) ) {
add_filter( 'jetpack_disable_twitter_cards', '__return_true', 99 );
break;
}
@@ -2136,33 +2112,7 @@ class Jetpack {
* @return array Array of absolute paths to the PHP files.
*/
public static function glob_php( $absolute_path ) {
- if ( function_exists( 'glob' ) ) {
- return glob( "$absolute_path/*.php" );
- }
-
- $absolute_path = untrailingslashit( $absolute_path );
- $files = array();
- if ( ! $dir = @opendir( $absolute_path ) ) {
- return $files;
- }
-
- while ( false !== $file = readdir( $dir ) ) {
- if ( '.' == substr( $file, 0, 1 ) || '.php' != substr( $file, -4 ) ) {
- continue;
- }
-
- $file = "$absolute_path/$file";
-
- if ( ! is_file( $file ) ) {
- continue;
- }
-
- $files[] = $file;
- }
-
- closedir( $dir );
-
- return $files;
+ return ( new Files() )->glob_php( $absolute_path );
}
/**
@@ -2179,7 +2129,9 @@ class Jetpack {
$jetpack_old_version = Jetpack_Options::get_option( 'version' );
if ( ! $jetpack_old_version ) {
- $jetpack_old_version = $version = $old_version = '1.1:' . time();
+ $old_version = '1.1:' . time();
+ $version = $old_version;
+ $jetpack_old_version = $version;
/** This action is documented in class.jetpack.php */
do_action( 'updating_jetpack_version', $version, false );
Jetpack_Options::update_options( compact( 'version', 'old_version' ) );
@@ -2244,79 +2196,7 @@ class Jetpack {
* @return array $modules Array of module slugs
*/
public static function get_available_modules( $min_version = false, $max_version = false, $requires_connection = null, $requires_user_connection = null ) {
- static $modules = null;
-
- if ( ! isset( $modules ) ) {
- $available_modules_option = Jetpack_Options::get_option( 'available_modules', array() );
- // Use the cache if we're on the front-end and it's available...
- if ( ! is_admin() && ! empty( $available_modules_option[ JETPACK__VERSION ] ) ) {
- $modules = $available_modules_option[ JETPACK__VERSION ];
- } else {
- $files = self::glob_php( JETPACK__PLUGIN_DIR . 'modules' );
-
- $modules = array();
-
- foreach ( $files as $file ) {
- $slug = self::get_module_slug( $file );
- $headers = self::get_module( $slug );
-
- if ( ! $headers ) {
- continue;
- }
-
- $modules[ $slug ] = $headers['introduced'];
- }
-
- Jetpack_Options::update_option(
- 'available_modules',
- array(
- JETPACK__VERSION => $modules,
- )
- );
- }
- }
-
- /**
- * Filters the array of modules available to be activated.
- *
- * @since 2.4.0
- *
- * @param array $modules Array of available modules.
- * @param string $min_version Minimum version number required to use modules.
- * @param string $max_version Maximum version number required to use modules.
- * @param bool|null $requires_connection Value of the Requires Connection filter.
- * @param bool|null $requires_user_connection Value of the Requires User Connection filter.
- */
- $mods = apply_filters( 'jetpack_get_available_modules', $modules, $min_version, $max_version, $requires_connection, $requires_user_connection );
-
- if ( ! $min_version && ! $max_version && is_null( $requires_connection ) && is_null( $requires_user_connection ) ) {
- return array_keys( $mods );
- }
-
- $r = array();
- foreach ( $mods as $slug => $introduced ) {
- if ( $min_version && version_compare( $min_version, $introduced, '>=' ) ) {
- continue;
- }
-
- if ( $max_version && version_compare( $max_version, $introduced, '<' ) ) {
- continue;
- }
-
- $mod_details = self::get_module( $slug );
-
- if ( null !== $requires_connection && (bool) $requires_connection !== $mod_details['requires_connection'] ) {
- continue;
- }
-
- if ( null !== $requires_user_connection && (bool) $requires_user_connection !== $mod_details['requires_user_connection'] ) {
- continue;
- }
-
- $r[] = $slug;
- }
-
- return $r;
+ return ( new Modules() )->get_available( $min_version, $max_version, $requires_connection, $requires_user_connection );
}
/**
@@ -2380,7 +2260,7 @@ class Jetpack {
* @param array $modules Array of Jetpack modules.
* @return array
*/
- function handle_deprecated_modules( $modules ) {
+ public function handle_deprecated_modules( $modules ) {
$deprecated_modules = array(
'debug' => null, // Closed out and moved to the debugger library.
'wpcc' => 'sso', // Closed out in 2.6 -- SSO provides the same functionality.
@@ -2419,7 +2299,7 @@ class Jetpack {
* @param array $modules Array of Jetpack modules.
* @return array
*/
- function filter_default_modules( $modules ) {
+ public function filter_default_modules( $modules ) {
$active_plugins = self::get_active_plugins();
@@ -2430,9 +2310,9 @@ class Jetpack {
// If there are potential conflicts for it...
if ( ! empty( $this->conflicting_plugins[ $module ] ) ) {
// For each potential conflict...
- foreach ( $this->conflicting_plugins[ $module ] as $title => $plugin ) {
+ foreach ( $this->conflicting_plugins[ $module ] as $plugin ) {
// If that conflicting plugin is active...
- if ( in_array( $plugin, $active_plugins ) ) {
+ if ( in_array( $plugin, $active_plugins, true ) ) {
// Remove that item from being auto-activated.
unset( $modules[ $key ] );
}
@@ -2452,7 +2332,7 @@ class Jetpack {
* @return string Module slug.
*/
public static function get_module_slug( $file ) {
- return str_replace( '.php', '', basename( $file ) );
+ return ( new Modules() )->get_slug( $file );
}
/**
@@ -2461,15 +2341,7 @@ class Jetpack {
* @param string $slug Module slug.
*/
public static function get_module_path( $slug ) {
- /**
- * Filters the path of a modules.
- *
- * @since 7.4.0
- *
- * @param array $return The absolute path to a module's root php file
- * @param string $slug The module slug
- */
- return apply_filters( 'jetpack_get_module_path', JETPACK__PLUGIN_DIR . "modules/$slug.php", $slug );
+ return ( new Modules() )->get_path( $slug );
}
/**
@@ -2480,97 +2352,7 @@ class Jetpack {
* @param string $module The module slug.
*/
public static function get_module( $module ) {
- static $modules_details;
-
- if ( jetpack_has_no_module_info( $module ) ) {
- return false;
- }
-
- $file = self::get_module_path( self::get_module_slug( $module ) );
-
- if ( isset( $modules_details[ $module ] ) ) {
- $mod = $modules_details[ $module ];
- } else {
- $mod = jetpack_get_module_info( $module );
-
- if ( null === $mod ) {
- // Try to get the module info from the file as a fallback.
- $mod = self::get_file_data( $file, jetpack_get_all_module_header_names() );
-
- if ( empty( $mod['name'] ) ) {
- // No info for this module.
- return false;
- }
- }
-
- $mod['sort'] = empty( $mod['sort'] ) ? 10 : (int) $mod['sort'];
- $mod['recommendation_order'] = empty( $mod['recommendation_order'] ) ? 20 : (int) $mod['recommendation_order'];
- $mod['deactivate'] = empty( $mod['deactivate'] );
- $mod['free'] = empty( $mod['free'] );
- $mod['requires_connection'] = ( ! empty( $mod['requires_connection'] ) && 'No' === $mod['requires_connection'] ) ? false : true;
- $mod['requires_user_connection'] = ( empty( $mod['requires_user_connection'] ) || 'No' === $mod['requires_user_connection'] ) ? false : true;
-
- if ( empty( $mod['auto_activate'] ) || ! in_array( strtolower( $mod['auto_activate'] ), array( 'yes', 'no', 'public' ), true ) ) {
- $mod['auto_activate'] = 'No';
- } else {
- $mod['auto_activate'] = (string) $mod['auto_activate'];
- }
-
- if ( $mod['module_tags'] ) {
- $mod['module_tags'] = explode( ',', $mod['module_tags'] );
- $mod['module_tags'] = array_map( 'trim', $mod['module_tags'] );
- $mod['module_tags'] = array_map( array( __CLASS__, 'translate_module_tag' ), $mod['module_tags'] );
- } else {
- $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) );
- }
-
- if ( $mod['plan_classes'] ) {
- $mod['plan_classes'] = explode( ',', $mod['plan_classes'] );
- $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) );
- } else {
- $mod['plan_classes'] = array( 'free' );
- }
-
- if ( $mod['feature'] ) {
- $mod['feature'] = explode( ',', $mod['feature'] );
- $mod['feature'] = array_map( 'trim', $mod['feature'] );
- } else {
- $mod['feature'] = array( self::translate_module_tag( 'Other' ) );
- }
-
- $modules_details[ $module ] = $mod;
-
- }
-
- /**
- * Filters the feature array on a module.
- *
- * This filter allows you to control where each module is filtered: Recommended,
- * and the default "Other" listing.
- *
- * @since 3.5.0
- *
- * @param array $mod['feature'] The areas to feature this module:
- * 'Recommended' shows on the main Jetpack admin screen.
- * 'Other' should be the default if no other value is in the array.
- * @param string $module The slug of the module, e.g. sharedaddy.
- * @param array $mod All the currently assembled module data.
- */
- $mod['feature'] = apply_filters( 'jetpack_module_feature', $mod['feature'], $module, $mod );
-
- /**
- * Filter the returned data about a module.
- *
- * This filter allows overriding any info about Jetpack modules. It is dangerous,
- * so please be careful.
- *
- * @since 3.6.0
- *
- * @param array $mod The details of the requested module.
- * @param string $module The slug of the module, e.g. sharedaddy
- * @param string $file The path to the module source file.
- */
- return apply_filters( 'jetpack_get_module', $mod, $module, $file );
+ return ( new Modules() )->get( $module );
}
/**
@@ -2580,37 +2362,7 @@ class Jetpack {
* @param array $headers List of headers, in the format array( 'HeaderKey' => 'Header Name' ).
*/
public static function get_file_data( $file, $headers ) {
- // Get just the filename from $file (i.e. exclude full path) so that a consistent hash is generated.
- $file_name = basename( $file );
-
- $cache_key = 'jetpack_file_data_' . JETPACK__VERSION;
-
- $file_data_option = get_transient( $cache_key );
-
- if ( ! is_array( $file_data_option ) ) {
- delete_transient( $cache_key );
- $file_data_option = false;
- }
-
- if ( false === $file_data_option ) {
- $file_data_option = array();
- }
-
- $key = md5( $file_name . serialize( $headers ) );
- $refresh_cache = is_admin() && isset( $_GET['page'] ) && 'jetpack' === substr( $_GET['page'], 0, 7 );
-
- // If we don't need to refresh the cache, and already have the value, short-circuit!
- if ( ! $refresh_cache && isset( $file_data_option[ $key ] ) ) {
- return $file_data_option[ $key ];
- }
-
- $data = get_file_data( $file, $headers );
-
- $file_data_option[ $key ] = $data;
-
- set_transient( $cache_key, $file_data_option, 29 * DAY_IN_SECONDS );
-
- return $data;
+ return ( new Modules() )->get_file_data( $file, $headers );
}
/**
@@ -2651,36 +2403,7 @@ class Jetpack {
* Get a list of activated modules as an array of module slugs.
*/
public static function get_active_modules() {
- $active = Jetpack_Options::get_option( 'active_modules' );
-
- if ( ! is_array( $active ) ) {
- $active = array();
- }
-
- if ( class_exists( 'VaultPress' ) || function_exists( 'vaultpress_contact_service' ) ) {
- $active[] = 'vaultpress';
- } else {
- $active = array_diff( $active, array( 'vaultpress' ) );
- }
-
- // If protect is active on the main site of a multisite, it should be active on all sites.
- if ( ! in_array( 'protect', $active ) && is_multisite() && get_site_option( 'jetpack_protect_active' ) ) {
- $active[] = 'protect';
- }
-
- /**
- * Allow filtering of the active modules.
- *
- * Gives theme and plugin developers the power to alter the modules that
- * are activated on the fly.
- *
- * @since 5.8.0
- *
- * @param array $active Array of active module slugs.
- */
- $active = apply_filters( 'jetpack_active_modules', $active );
-
- return array_unique( $active );
+ return ( new Modules() )->get_active();
}
/**
@@ -2692,7 +2415,7 @@ class Jetpack {
* @static
*/
public static function is_module_active( $module ) {
- return in_array( $module, self::get_active_modules() );
+ return ( new Modules() )->is_active( $module );
}
/**
@@ -2703,7 +2426,7 @@ class Jetpack {
* @return bool
*/
public static function is_module( $module ) {
- return ! empty( $module ) && ! validate_file( $module, self::get_available_modules() );
+ return ( new Modules() )->is_module( $module );
}
/**
@@ -2714,17 +2437,7 @@ class Jetpack {
* @static
*/
public static function catch_errors( $catch ) {
- static $display_errors, $error_reporting;
-
- if ( $catch ) {
- $display_errors = @ini_set( 'display_errors', 1 );
- $error_reporting = @error_reporting( E_ALL );
- add_action( 'shutdown', array( 'Jetpack', 'catch_errors_on_shutdown' ), 0 );
- } else {
- @ini_set( 'display_errors', $display_errors );
- @error_reporting( $error_reporting );
- remove_action( 'shutdown', array( 'Jetpack', 'catch_errors_on_shutdown' ), 0 );
- }
+ return ( new Errors() )->catch_errors( $catch );
}
/**
@@ -2776,7 +2489,7 @@ class Jetpack {
) {
$jetpack = self::init();
- if ( is_null( $redirect ) ) {
+ if ( $redirect === null ) {
if (
( defined( 'REST_REQUEST' ) && REST_REQUEST )
||
@@ -2796,7 +2509,7 @@ class Jetpack {
}
}
- if ( is_null( $send_state_messages ) ) {
+ if ( $send_state_messages === null ) {
$send_state_messages = current_user_can( 'jetpack_activate_modules' );
}
@@ -2866,11 +2579,12 @@ class Jetpack {
continue;
}
- if ( $send_state_messages && in_array( $module, $active ) ) {
+ if ( $send_state_messages && in_array( $module, $active, true ) ) {
$module_info = self::get_module( $module );
if ( ! $module_info['deactivate'] ) {
- $state = in_array( $module, $other_modules ) ? 'reactivated_modules' : 'activated_modules';
- if ( $active_state = self::state( $state ) ) {
+ $state = in_array( $module, $other_modules, true ) ? 'reactivated_modules' : 'activated_modules';
+ $active_state = self::state( $state );
+ if ( $active_state ) {
$active_state = explode( ',', $active_state );
} else {
$active_state = array();
@@ -2903,8 +2617,9 @@ class Jetpack {
if ( $send_state_messages ) {
- $state = in_array( $module, $other_modules ) ? 'reactivated_modules' : 'activated_modules';
- if ( $active_state = self::state( $state ) ) {
+ $state = in_array( $module, $other_modules, true ) ? 'reactivated_modules' : 'activated_modules';
+ $active_state = self::state( $state );
+ if ( $active_state ) {
$active_state = explode( ',', $active_state );
} else {
$active_state = array();
@@ -2948,97 +2663,7 @@ class Jetpack {
* @return bool|void
*/
public static function activate_module( $module, $exit = true, $redirect = true ) {
- /**
- * Fires before a module is activated.
- *
- * @since 2.6.0
- *
- * @param string $module Module slug.
- * @param bool $exit Should we exit after the module has been activated. Default to true.
- * @param bool $redirect Should the user be redirected after module activation? Default to true.
- */
- do_action( 'jetpack_pre_activate_module', $module, $exit, $redirect );
-
- $jetpack = self::init();
-
- if ( ! strlen( $module ) ) {
- return false;
- }
-
- if ( ! self::is_module( $module ) ) {
- return false;
- }
-
- // If it's already active, then don't do it again.
- $active = self::get_active_modules();
- foreach ( $active as $act ) {
- if ( $act == $module ) {
- return true;
- }
- }
-
- $module_data = self::get_module( $module );
-
- $is_offline_mode = ( new Status() )->is_offline_mode();
- if ( ! self::is_connection_ready() ) {
- if ( ! $is_offline_mode && ! self::is_onboarding() ) {
- return false;
- }
-
- // If we're not connected but in offline mode, make sure the module doesn't require a connection.
- if ( $is_offline_mode && $module_data['requires_connection'] ) {
- return false;
- }
- }
-
- // Check and see if the old plugin is active.
- if ( isset( $jetpack->plugins_to_deactivate[ $module ] ) ) {
- // Deactivate the old plugin.
- if ( Jetpack_Client_Server::deactivate_plugin( $jetpack->plugins_to_deactivate[ $module ][0], $jetpack->plugins_to_deactivate[ $module ][1] ) ) {
- // If we deactivated the old plugin, remembere that with ::state() and redirect back to this page to activate the module
- // We can't activate the module on this page load since the newly deactivated old plugin is still loaded on this page load.
- self::state( 'deactivated_plugins', $module );
- wp_safe_redirect( add_query_arg( 'jetpack_restate', 1 ) );
- exit;
- }
- }
-
- // Protect won't work with mis-configured IPs.
- if ( 'protect' === $module ) {
- include_once JETPACK__PLUGIN_DIR . 'modules/protect/shared-functions.php';
- if ( ! jetpack_protect_get_ip() ) {
- self::state( 'message', 'protect_misconfigured_ip' );
- return false;
- }
- }
-
- if ( ! Jetpack_Plan::supports( $module ) ) {
- return false;
- }
-
- // Check the file for fatal errors, a la wp-admin/plugins.php::activate.
- self::state( 'module', $module );
- self::state( 'error', 'module_activation_failed' ); // we'll override this later if the plugin can be included without fatal error.
-
- self::catch_errors( true );
- ob_start();
- require self::get_module_path( $module );
- /** This action is documented in class.jetpack.php */
- do_action( 'jetpack_activate_module', $module );
- $active[] = $module;
- self::update_active_modules( $active );
-
- self::state( 'error', false ); // the override.
- ob_end_clean();
- self::catch_errors( false );
-
- if ( $redirect ) {
- wp_safe_redirect( self::admin_url( 'page=jetpack' ) );
- }
- if ( $exit ) {
- exit;
- }
- return true;
+ return ( new Modules() )->activate( $module, $exit, $redirect );
}
/**
@@ -3049,21 +2674,7 @@ class Jetpack {
* @return bool
*/
public static function deactivate_module( $module ) {
- /**
- * Fires when a module is deactivated.
- *
- * @since 1.9.0
- *
- * @param string $module Module slug.
- */
- do_action( 'jetpack_pre_deactivate_module', $module );
-
- $jetpack = self::init();
-
- $active = self::get_active_modules();
- $new = array_filter( array_diff( $active, (array) $module ) );
-
- return self::update_active_modules( $new );
+ return ( new Modules() )->deactivate( $module );
}
/**
@@ -3159,7 +2770,7 @@ p {
Jetpack_Options::update_option( 'activated', 1 );
if ( version_compare( $GLOBALS['wp_version'], JETPACK__MINIMUM_WP_VERSION, '<' ) ) {
- /* translator: Jetpack version number. */
+ /* translators: Jetpack version number. */
self::bail_on_activation( sprintf( __( 'Jetpack requires WordPress version %s or later.', 'jetpack' ), JETPACK__MINIMUM_WP_VERSION ) );
}
@@ -3285,7 +2896,8 @@ p {
}
if ( ! Jetpack_Options::get_option( 'version' ) ) {
- $version = $old_version = JETPACK__VERSION . ':' . time();
+ $old_version = JETPACK__VERSION . ':' . time();
+ $version = $old_version;
/** This action is documented in class.jetpack.php */
do_action( 'updating_jetpack_version', $version, false );
Jetpack_Options::update_options( compact( 'version', 'old_version' ) );
@@ -3357,6 +2969,10 @@ p {
* Disconnects from the Jetpack servers.
* Forgets all connection details and tells the Jetpack servers to do the same.
*
+ * Will not disconnect if there are other plugins using the connection.
+ *
+ * @since 11.0 Do not disconnect if other plugins are using the connection.
+ *
* @static
*/
public static function disconnect() {
@@ -3365,7 +2981,7 @@ p {
// If the site is in an IDC because sync is not allowed,
// let's make sure to not disconnect the production site.
- $connection->disconnect_site( ! Identity_Crisis::validate_sync_error_idc_option() );
+ $connection->remove_connection( ! Identity_Crisis::validate_sync_error_idc_option() );
}
/**
@@ -3462,14 +3078,14 @@ p {
'code' => $code,
);
// Don't bother storing it unless we've got some.
- if ( ! is_null( $data ) ) {
+ if ( $data !== null ) {
$log_entry['data'] = $data;
}
$log[] = $log_entry;
// Try add_option first, to make sure it's not autoloaded.
// @todo: Add an add_option method to Jetpack_Options.
- if ( ! add_option( 'jetpack_log', $log, null, 'no' ) ) {
+ if ( ! add_option( 'jetpack_log', $log, '', 'no' ) ) {
Jetpack_Options::update_option( 'log', $log );
}
@@ -3568,7 +3184,7 @@ p {
}
if ( $encode ) {
- return json_encode( $data );
+ return wp_json_encode( $data );
}
return $data;
@@ -3582,6 +3198,7 @@ p {
* @return array stats values.
*/
public static function get_additional_stat_data( $prefix = '' ) {
+ $return = array();
$return[ "{$prefix}themes" ] = self::get_parsed_theme_data();
$return[ "{$prefix}plugins-extra" ] = self::get_parsed_plugin_data();
$return[ "{$prefix}users" ] = (int) self::get_site_user_count();
@@ -3606,7 +3223,8 @@ p {
return -1; // Not a real value but should tell us that we are dealing with a large network.
}
}
- if ( false === ( $user_count = get_transient( 'jetpack_site_user_count' ) ) ) {
+ $user_count = get_transient( 'jetpack_site_user_count' );
+ if ( false === ( $user_count ) ) {
// It wasn't there, so regenerate the data and save the transient.
$user_count = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->usermeta WHERE meta_key = '{$wpdb->prefix}capabilities'" );
set_transient( 'jetpack_site_user_count', $user_count, DAY_IN_SECONDS );
@@ -3623,7 +3241,7 @@ p {
*
* @return void
*/
- function admin_init() {
+ public function admin_init() {
// If the plugin is not connected, display a connect message.
if (
// the plugin was auto-activated and needs its candy.
@@ -3686,7 +3304,7 @@ p {
*
* @return string
*/
- function admin_body_class( $admin_body_class = '' ) {
+ public function admin_body_class( $admin_body_class = '' ) {
$classes = explode( ' ', trim( $admin_body_class ) );
$classes[] = self::is_connection_ready() ? 'jetpack-connected' : 'jetpack-disconnected';
@@ -3702,7 +3320,7 @@ p {
*
* @return string
*/
- static function add_jetpack_pagestyles( $admin_body_class = '' ) {
+ public static function add_jetpack_pagestyles( $admin_body_class = '' ) {
return $admin_body_class . ' jetpack-pagestyles ';
}
@@ -3712,21 +3330,21 @@ p {
*
* @param string $plugin The activated plugin.
*/
- function throw_error_on_activate_plugin( $plugin ) {
+ public function throw_error_on_activate_plugin( $plugin ) {
$active_modules = self::get_active_modules();
// The Shortlinks module and the Stats plugin conflict, but won't cause errors on activation because of some function_exists() checks.
- if ( function_exists( 'stats_get_api_key' ) && in_array( 'shortlinks', $active_modules ) ) {
+ if ( function_exists( 'stats_get_api_key' ) && in_array( 'shortlinks', $active_modules, true ) ) {
$throw = false;
// Try and make sure it really was the stats plugin.
if ( ! class_exists( 'ReflectionFunction' ) ) {
- if ( 'stats.php' == basename( $plugin ) ) {
+ if ( 'stats.php' === basename( $plugin ) ) {
$throw = true;
}
} else {
$reflection = new ReflectionFunction( 'stats_get_api_key' );
- if ( basename( $plugin ) == basename( $reflection->getFileName() ) ) {
+ if ( basename( $plugin ) === basename( $reflection->getFileName() ) ) {
$throw = true;
}
}
@@ -3751,7 +3369,7 @@ p {
*
* @return void
*/
- function intercept_plugin_error_scrape_init() {
+ public function intercept_plugin_error_scrape_init() {
add_action( 'check_admin_referer', array( $this, 'intercept_plugin_error_scrape' ), 10, 2 );
}
@@ -3763,13 +3381,13 @@ p {
*
* @return void
*/
- function intercept_plugin_error_scrape( $action, $result ) {
+ public function intercept_plugin_error_scrape( $action, $result ) {
if ( ! $result ) {
return;
}
foreach ( $this->plugins_to_deactivate as $deactivate_me ) {
- if ( "plugin-activation-error_{$deactivate_me[0]}" == $action ) {
+ if ( "plugin-activation-error_{$deactivate_me[0]}" === $action ) {
/* translators: Plugin name to deactivate. */
self::bail_on_activation( sprintf( __( 'Jetpack contains the most recent version of the old &#8220;%1$s&#8221; plugin.', 'jetpack' ), $deactivate_me[1] ), false );
}
@@ -3817,8 +3435,6 @@ p {
* @access public
*/
public function remote_request_handlers() {
- $action = current_filter();
-
switch ( current_filter() ) {
case 'wp_ajax_nopriv_jetpack_upload_file':
$response = $this->upload_handler();
@@ -3846,7 +3462,7 @@ p {
}
status_header( $status_code );
- die( json_encode( (object) compact( 'error', 'error_description' ) ) );
+ die( wp_json_encode( (object) compact( 'error', 'error_description' ) ) );
}
status_header( 200 );
@@ -3854,7 +3470,7 @@ p {
exit;
}
- die( json_encode( (object) $response ) );
+ die( wp_json_encode( (object) $response ) );
}
/**
@@ -3866,7 +3482,7 @@ p {
* @param boolean $update_media_item - update media attachment.
* @return array - An array describing the uploadind files process.
*/
- function upload_handler( $update_media_item = false ) {
+ public function upload_handler( $update_media_item = false ) {
if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) ) {
return new WP_Error( 405, get_status_header_desc( 405 ), 405 );
}
@@ -3899,6 +3515,23 @@ p {
return new WP_Error( 'unknown_token', 'Unknown Jetpack token', 403 );
}
+ /**
+ * Optionally block uploads processed through Jetpack's upload_handler().
+ * The filter may return false or WP_Error to block this particular upload.
+ *
+ * @since 10.8
+ *
+ * @param bool|WP_Error $allowed If false or WP_Error, block the upload. If true, allow the upload.
+ * @param mixed $_FILES The $_FILES attempting to be uploaded.
+ */
+ $can_upload = apply_filters( 'jetpack_upload_handler_can_upload', true, $_FILES );
+ if ( ! $can_upload || is_wp_error( $can_upload ) ) {
+ if ( is_wp_error( $can_upload ) ) {
+ return $can_upload;
+ }
+ return new WP_Error( 'handler_cannot_upload', __( 'The upload handler cannot upload files', 'jetpack' ), 400 );
+ }
+
$uploaded_files = array();
$global_post = isset( $GLOBALS['post'] ) ? $GLOBALS['post'] : null;
unset( $GLOBALS['post'] );
@@ -3926,12 +3559,13 @@ p {
}
if ( $update_media_item ) {
- if ( ! isset( $post_id ) || $post_id === 0 ) {
+ if ( ! isset( $post_id ) || 0 === $post_id ) {
return new WP_Error( 'invalid_input', 'Media ID must be defined.', 400 );
}
$media_array = $_FILES['media'];
+ $file_array = array();
$file_array['name'] = $media_array['name'][0];
$file_array['type'] = $media_array['type'][0];
$file_array['tmp_name'] = $media_array['tmp_name'][0];
@@ -3985,7 +3619,7 @@ p {
);
}
}
- if ( ! is_null( $global_post ) ) {
+ if ( $global_post !== null ) {
$GLOBALS['post'] = $global_post;
}
@@ -3998,7 +3632,7 @@ p {
* @since Jetpack (1.2.3)
* @return void
*/
- function admin_help() {
+ public function admin_help() {
$current_screen = get_current_screen();
// Overview.
@@ -4047,50 +3681,16 @@ p {
*
* @return void
*/
- function admin_menu_css() {
+ public function admin_menu_css() {
wp_enqueue_style( 'jetpack-icons' );
}
/**
- * Returns true.
- *
- * @todo This is seemingly unused.
- *
- * @return bool
- */
- function admin_menu_order() {
- return true;
- }
-
- /**
- * Sorts the order of wp-admin menu items.
- *
- * @param array $menu_order Existing menu order.
- *
- * @return array
- */
- function jetpack_menu_order( $menu_order ) {
- $jp_menu_order = array();
-
- foreach ( $menu_order as $index => $item ) {
- if ( $item != 'jetpack' ) {
- $jp_menu_order[] = $item;
- }
-
- if ( $index == 0 ) {
- $jp_menu_order[] = 'jetpack';
- }
- }
-
- return $jp_menu_order;
- }
-
- /**
* Registers/enqueues Jetpack banner styles.
*
* @return void
*/
- function admin_banner_styles() {
+ public function admin_banner_styles() {
$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
if ( ! wp_style_is( 'jetpack-dops-style' ) ) {
@@ -4119,21 +3719,18 @@ p {
*
* @return array
*/
- function plugin_action_links( $actions ) {
-
- $jetpack_home = array( 'jetpack-home' => sprintf( '<a href="%s">%s</a>', self::admin_url( 'page=jetpack' ), __( 'My Jetpack', 'jetpack' ) ) );
+ public function plugin_action_links( $actions ) {
$support_link = ( new Host() )->is_woa_site() ? 'https://wordpress.com/help/contact/' : self::admin_url( 'page=jetpack-debugger' );
if ( current_user_can( 'jetpack_manage_modules' ) && ( self::is_connection_ready() || ( new Status() )->is_offline_mode() ) ) {
return array_merge(
- $jetpack_home,
array( 'settings' => sprintf( '<a href="%s">%s</a>', self::admin_url( 'page=jetpack#/settings' ), __( 'Settings', 'jetpack' ) ) ),
array( 'support' => sprintf( '<a href="%s">%s</a>', $support_link, __( 'Support', 'jetpack' ) ) ),
$actions
);
}
- return array_merge( $jetpack_home, $actions );
+ return $actions;
}
/**
@@ -4170,7 +3767,7 @@ p {
// Add objects to be passed to the initial state of the app.
// Use wp_add_inline_script instead of wp_localize_script, see https://core.trac.wordpress.org/ticket/25280.
- wp_add_inline_script( 'jetpack-plugins-page-js', 'var Initial_State=JSON.parse(decodeURIComponent("' . rawurlencode( wp_json_encode( Jetpack_Redux_State_Helper::get_initial_state() ) ) . '"));', 'before' );
+ wp_add_inline_script( 'jetpack-plugins-page-js', 'var Initial_State=JSON.parse(decodeURIComponent("' . rawurlencode( wp_json_encode( Jetpack_Redux_State_Helper::get_minimal_state() ) ) . '"));', 'before' );
add_action( 'admin_footer', array( $this, 'jetpack_plugin_portal_containers' ) );
}
@@ -4210,7 +3807,7 @@ p {
public function login_init() {
// phpcs:ignore WordPress.Security.NonceVerification
if ( ! empty( $_GET[ self::$jetpack_redirect_login ] ) ) {
- add_filter( 'allowed_redirect_hosts', array( &$this, 'allow_wpcom_environments' ) );
+ add_filter( 'allowed_redirect_hosts', array( $this, 'allow_wpcom_environments' ) );
wp_safe_redirect(
add_query_arg(
array(
@@ -4242,16 +3839,16 @@ p {
* 4 - redirect to https://wordpress.com/start/jetpack-connect
* 5 - user logs in with WP.com account
* 6 - remote request to this site's xmlrpc.php with action remoteAuthorize, Jetpack_XMLRPC_Server->remote_authorize
- * - Manager::authorize()
- * - Manager::get_token()
- * - GET https://jetpack.wordpress.com/jetpack.token/1/ with
+ * - Manager::authorize()
+ * - Manager::get_token()
+ * - GET https://jetpack.wordpress.com/jetpack.token/1/ with
* client_id, client_secret, grant_type, code, redirect_uri:action=authorize, state, scope, user_email, user_login
- * - which responds with access_token, token_type, scope
- * - Manager::authorize() stores jetpack_options: user_token => access_token.$user_id
- * - Jetpack::activate_default_modules()
- * - Deactivates deprecated plugins
- * - Activates all default modules
- * - Responds with either error, or 'connected' for new connection, or 'linked' for additional linked users
+ * - which responds with access_token, token_type, scope
+ * - Manager::authorize() stores jetpack_options: user_token => access_token.$user_id
+ * - Jetpack::activate_default_modules()
+ * - Deactivates deprecated plugins
+ * - Activates all default modules
+ * - Responds with either error, or 'connected' for new connection, or 'linked' for additional linked users
* 7 - For a new connection, user selects a Jetpack plan on wordpress.com
* 8 - User is redirected back to wp-admin/index.php?page=jetpack with state:message=authorized
* Done!
@@ -4260,7 +3857,7 @@ p {
/**
* Handles the page load events for the Jetpack admin page
*/
- function admin_page_load() {
+ public function admin_page_load() {
$error = false;
// Make sure we have the right body class to hook stylings for subpages off of.
@@ -4278,9 +3875,9 @@ p {
if ( ! self::connection()->is_user_connected() ) {
$redirect = ! empty( $_GET['redirect_after_auth'] ) ? $_GET['redirect_after_auth'] : false;
- add_filter( 'allowed_redirect_hosts', array( &$this, 'allow_wpcom_environments' ) );
+ add_filter( 'allowed_redirect_hosts', array( $this, 'allow_wpcom_environments' ) );
$connect_url = $this->build_connect_url( true, $redirect, $from );
- remove_filter( 'allowed_redirect_hosts', array( &$this, 'allow_wpcom_environments' ) );
+ remove_filter( 'allowed_redirect_hosts', array( $this, 'allow_wpcom_environments' ) );
if ( isset( $_GET['notes_iframe'] ) ) {
$connect_url .= '&notes_iframe';
@@ -4303,55 +3900,12 @@ p {
if ( isset( $_GET['action'] ) ) {
switch ( $_GET['action'] ) {
+ /**
+ * Cases authorize and authorize_redirect are now handled by Connection package Webhooks
+ */
case 'authorize_redirect':
- self::log( 'authorize_redirect' );
-
- add_filter(
- 'allowed_redirect_hosts',
- function ( $domains ) {
- $domains[] = 'jetpack.com';
- $domains[] = 'jetpack.wordpress.com';
- $domains[] = 'wordpress.com';
- $domains[] = wp_parse_url( static::get_calypso_host(), PHP_URL_HOST ); // May differ from `wordpress.com`.
- return array_unique( $domains );
- }
- );
-
- // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $dest_url = empty( $_GET['dest_url'] ) ? null : $_GET['dest_url'];
-
- if ( ! $dest_url || ( 0 === stripos( $dest_url, 'https://jetpack.com/' ) && 0 === stripos( $dest_url, 'https://wordpress.com/' ) ) ) {
- // The destination URL is missing or invalid, nothing to do here.
- exit;
- }
-
- if ( static::connection()->is_connected() && static::connection()->is_user_connected() ) {
- // The user is either already connected, or finished the connection process.
- wp_safe_redirect( $dest_url );
- exit;
- } elseif ( ! empty( $_GET['done'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- // The user decided not to proceed with setting up the connection.
- wp_safe_redirect( self::admin_url( 'page=jetpack' ) );
- exit;
- }
-
- $redirect_args = array(
- 'page' => 'jetpack',
- 'action' => 'authorize_redirect',
- 'dest_url' => rawurlencode( $dest_url ),
- 'done' => '1',
- );
-
- if ( ! empty( $_GET['from'] ) && 'jetpack_site_only_checkout' === $_GET['from'] ) {
- $redirect_args['from'] = 'jetpack_site_only_checkout';
- }
-
- wp_safe_redirect( static::build_authorize_url( self::admin_url( $redirect_args ) ) );
- exit;
case 'authorize':
- _doing_it_wrong( __METHOD__, 'The `page=jetpack&action=authorize` webhook is deprecated. Use `handler=jetpack-connection-webhooks&action=authorize` instead', 'Jetpack 9.5.0' );
- ( new Connection_Webhooks( $this->connection_manager ) )->handle_authorize();
- exit;
+ break;
case 'register':
if ( ! current_user_can( 'jetpack_connect' ) ) {
$error = 'cheatin';
@@ -4488,7 +4042,9 @@ p {
self::create_onboarding_token();
$url = $this->build_connect_url( true );
- if ( false !== ( $token = Jetpack_Options::get_option( 'onboarding' ) ) ) {
+ $token = Jetpack_Options::get_option( 'onboarding' );
+
+ if ( false !== ( $token ) ) {
$url = add_query_arg( 'onboarding', $token, $url );
}
@@ -4513,7 +4069,8 @@ p {
}
}
- if ( ! $error = $error ? $error : self::state( 'error' ) ) {
+ $error = $error ? $error : self::state( 'error' );
+ if ( ! $error ) {
self::activate_new_modules( true );
}
@@ -4588,7 +4145,7 @@ p {
*
* @return void
*/
- function admin_notices() {
+ public function admin_notices() {
if ( $this->error ) {
?>
@@ -4609,7 +4166,10 @@ p {
);
?>
</h2>
- <?php if ( $desc = self::state( 'error_description' ) ) : ?>
+ <?php
+ $desc = self::state( 'error_description' );
+ if ( $desc ) :
+ ?>
<p><?php echo esc_html( stripslashes( $desc ) ); ?></p>
<?php endif; ?>
</div>
@@ -4639,7 +4199,8 @@ p {
}
if ( $this->privacy_checks ) :
- $module_names = $module_slugs = array();
+ $module_names = array();
+ $module_slugs = array();
$privacy_checks = explode( ',', $this->privacy_checks );
$privacy_checks = array_filter( $privacy_checks, array( 'Jetpack', 'is_module' ) );
@@ -4693,7 +4254,7 @@ p {
array(
'page' => 'jetpack',
'action' => 'deactivate',
- 'module' => urlencode( $module_slugs ),
+ 'module' => rawurlencode( $module_slugs ),
)
),
"jetpack_deactivate-$module_slugs"
@@ -4728,7 +4289,7 @@ endif;
* @param WP_Error $xmlrpc_error The error produced during
* signature validation.
*/
- function track_xmlrpc_error( $xmlrpc_error ) {
+ public function track_xmlrpc_error( $xmlrpc_error ) {
$code = is_wp_error( $xmlrpc_error )
? $xmlrpc_error->get_error_code()
: 'should-not-happen';
@@ -4750,7 +4311,7 @@ endif;
* @return void
*/
private function initialize_stats() {
- if ( is_null( $this->a8c_mc_stats_instance ) ) {
+ if ( $this->a8c_mc_stats_instance === null ) {
$this->a8c_mc_stats_instance = new Automattic\Jetpack\A8c_Mc_Stats();
}
}
@@ -4761,7 +4322,7 @@ endif;
* @param string $group Stats group.
* @param string $detail Stats detail.
*/
- function stat( $group, $detail ) {
+ public function stat( $group, $detail ) {
$this->initialize_stats();
$this->a8c_mc_stats_instance->add( $group, $detail );
@@ -4774,7 +4335,7 @@ endif;
*
* @param string $method Used to check if method is "server-side".
*/
- function do_stats( $method = '' ) {
+ public function do_stats( $method = '' ) {
$this->initialize_stats();
if ( 'server_side' === $method ) {
$this->a8c_mc_stats_instance->do_server_side_stats();
@@ -4793,7 +4354,7 @@ endif;
*
* @return bool If it worked.
*/
- static function do_server_side_stat( $args ) {
+ public static function do_server_side_stat( $args ) {
$url = self::build_stats_url( $args );
$a8c_mc_stats_instance = new Automattic\Jetpack\A8c_Mc_Stats();
return $a8c_mc_stats_instance->do_server_side_stat( $url );
@@ -4806,7 +4367,7 @@ endif;
*
* @return string The URL to be pinged.
*/
- static function build_stats_url( $args ) {
+ public static function build_stats_url( $args ) {
$a8c_mc_stats_instance = new Automattic\Jetpack\A8c_Mc_Stats();
return $a8c_mc_stats_instance->build_stats_url( $args );
@@ -4826,7 +4387,7 @@ endif;
*
* @return string Connect URL
*/
- function build_connect_url( $raw = false, $redirect = false, $from = false, $register = false ) {
+ public function build_connect_url( $raw = false, $redirect = false, $from = false, $register = false ) {
$site_id = Jetpack_Options::get_option( 'id' );
$blog_token = ( new Tokens() )->get_access_token();
@@ -4836,7 +4397,7 @@ endif;
if ( ! empty( $redirect ) ) {
$url = add_query_arg(
'redirect',
- urlencode( wp_validate_redirect( esc_url_raw( $redirect ) ) ),
+ rawurlencode( wp_validate_redirect( esc_url_raw( $redirect ) ) ),
$url
);
}
@@ -4893,31 +4454,23 @@ endif;
* Create the Jetpack authorization URL.
*
* @param bool|string $redirect URL to redirect to.
- * @param bool $iframe Whether to use the iframe version.
+ * @param null $deprecated Deprecated since Jetpack 10.9.
*
* @todo Update default value for redirect since the called function expects a string.
*
* @return mixed|void
*/
- public static function build_authorize_url( $redirect = false, $iframe = false ) {
+ public static function build_authorize_url( $redirect = false, $deprecated = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
add_filter( 'jetpack_connect_request_body', array( __CLASS__, 'filter_connect_request_body' ) );
add_filter( 'jetpack_connect_redirect_url', array( __CLASS__, 'filter_connect_redirect_url' ) );
- if ( $iframe ) {
- add_filter( 'jetpack_use_iframe_authorization_flow', '__return_true' );
- }
-
$c8n = self::connection();
$url = $c8n->get_authorization_url( wp_get_current_user(), $redirect );
remove_filter( 'jetpack_connect_request_body', array( __CLASS__, 'filter_connect_request_body' ) );
remove_filter( 'jetpack_connect_redirect_url', array( __CLASS__, 'filter_connect_redirect_url' ) );
- if ( $iframe ) {
- remove_filter( 'jetpack_use_iframe_authorization_flow', '__return_true' );
- }
-
/**
* Filter the URL used when authorizing a user to a WordPress.com account.
*
@@ -5151,11 +4704,11 @@ endif;
list( $activation_source_name, $activation_source_keyword ) = get_option( 'jetpack_activation_source' );
if ( $activation_source_name ) {
- $args['_as'] = urlencode( $activation_source_name );
+ $args['_as'] = rawurlencode( $activation_source_name );
}
if ( $activation_source_keyword ) {
- $args['_ak'] = urlencode( $activation_source_keyword );
+ $args['_ak'] = rawurlencode( $activation_source_keyword );
}
}
@@ -5166,7 +4719,7 @@ endif;
*
* @return string|null
*/
- function build_reconnect_url( $raw = false ) {
+ public function build_reconnect_url( $raw = false ) {
$url = wp_nonce_url( self::admin_url( 'action=reconnect' ), 'jetpack-reconnect' );
return $raw ? $url : esc_url( $url );
}
@@ -5179,9 +4732,7 @@ endif;
* @return string Jetpack admin URL.
*/
public static function admin_url( $args = null ) {
- $args = wp_parse_args( $args, array( 'page' => 'jetpack' ) );
- $url = add_query_arg( $args, admin_url( 'admin.php' ) );
- return $url;
+ return ( new Paths() )->admin_url( $args );
}
/**
@@ -5203,7 +4754,7 @@ endif;
*
* @return void
*/
- function dismiss_jetpack_notice() {
+ public function dismiss_jetpack_notice() {
if ( ! isset( $_GET['jetpack-notice'] ) ) {
return;
}
@@ -5229,7 +4780,7 @@ endif;
* @return int 0 if the same sort or (+/-) to indicate which is greater.
*/
public static function sort_modules( $a, $b ) {
- if ( $a['sort'] == $b['sort'] ) {
+ if ( $a['sort'] === $b['sort'] ) {
return 0;
}
@@ -5243,7 +4794,7 @@ endif;
*
* @return void
*/
- function ajax_recheck_ssl() {
+ public function ajax_recheck_ssl() {
check_ajax_referer( 'recheck-ssl', 'ajax-nonce' );
$result = self::permit_ssl( true );
wp_send_json(
@@ -5317,7 +4868,8 @@ endif;
* @return string Secret token
*/
public static function create_onboarding_token() {
- if ( false === ( $token = Jetpack_Options::get_option( 'onboarding' ) ) ) {
+ $token = Jetpack_Options::get_option( 'onboarding' );
+ if ( false === ( $token ) ) {
$token = wp_generate_password( 32, false );
Jetpack_Options::update_option( 'onboarding', $token );
}
@@ -5354,7 +4906,7 @@ endif;
);
// Only allow valid actions.
- if ( ! in_array( $action, $valid_actions ) ) {
+ if ( ! in_array( $action, $valid_actions, true ) ) {
return false;
}
@@ -5371,7 +4923,11 @@ endif;
*/
public static function permit_ssl( $force_recheck = false ) {
// Do some fancy tests to see if ssl is being supported.
- if ( $force_recheck || false === ( $ssl = get_transient( 'jetpack_https_test' ) ) ) {
+ if ( ! $force_recheck ) {
+ $ssl = get_transient( 'jetpack_https_test' );
+ }
+
+ if ( $force_recheck || false === $ssl ) {
$message = '';
if ( 'https' !== substr( JETPACK__API_BASE, 0, 5 ) ) {
$ssl = 0;
@@ -5438,7 +4994,7 @@ endif;
jQuery( document ).ready( function( $ ) {
$( '#jetpack-recheck-ssl-button' ).click( function( e ) {
var $this = $( this );
- $this.html( <?php echo json_encode( __( 'Checking', 'jetpack' ) ); ?> );
+ $this.html( <?php echo wp_json_encode( __( 'Checking', 'jetpack' ) ); ?> );
$( '#jetpack-recheck-ssl-output' ).html( '' );
e.preventDefault();
var data = { action: 'jetpack-recheck-ssl', 'ajax-nonce': '<?php echo $ajax_nonce; ?>' };
@@ -5544,7 +5100,7 @@ endif;
/**
* Filters the token request body to include tracking properties.
*
- * @param array $properties
+ * @param array $properties Token request properties.
*
* @return array amended properties.
*/
@@ -5606,60 +5162,7 @@ endif;
* @param bool $restate Reset the cookie (private).
*/
public static function state( $key = null, $value = null, $restate = false ) {
- static $state = array();
- static $path, $domain;
- if ( ! isset( $path ) ) {
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
- $admin_url = self::admin_url();
- $bits = wp_parse_url( $admin_url );
-
- if ( is_array( $bits ) ) {
- $path = ( isset( $bits['path'] ) ) ? dirname( $bits['path'] ) : null;
- $domain = ( isset( $bits['host'] ) ) ? $bits['host'] : null;
- } else {
- $path = $domain = null;
- }
- }
-
- // Extract state from cookies and delete cookies.
- if ( isset( $_COOKIE['jetpackState'] ) && is_array( $_COOKIE['jetpackState'] ) ) {
- $yum = wp_unslash( $_COOKIE['jetpackState'] );
- unset( $_COOKIE['jetpackState'] );
- foreach ( $yum as $k => $v ) {
- if ( strlen( $v ) ) {
- $state[ $k ] = $v;
- }
- setcookie( "jetpackState[$k]", false, 0, $path, $domain );
- }
- }
-
- if ( $restate ) {
- foreach ( $state as $k => $v ) {
- setcookie( "jetpackState[$k]", $v, 0, $path, $domain );
- }
- return;
- }
-
- // Get a state variable.
- if ( isset( $key ) && ! isset( $value ) ) {
- if ( array_key_exists( $key, $state ) ) {
- return $state[ $key ];
- }
- return null;
- }
-
- // Set a state variable.
- if ( isset( $key ) && isset( $value ) ) {
- if ( is_array( $value ) && isset( $value[0] ) ) {
- $value = $value[0];
- }
- $state[ $key ] = $value;
- if ( ! headers_sent() ) {
- if ( self::should_set_cookie( $key ) ) {
- setcookie( "jetpackState[$key]", $value, 0, $path, $domain );
- }
- }
- }
+ return ( new CookieState() )->state( $key, $value, $restate );
}
/**
@@ -5680,14 +5183,7 @@ endif;
* @return boolean Whether the value should be added to the cookie.
*/
public static function should_set_cookie( $key ) {
- global $current_screen;
- $page = isset( $current_screen->base ) ? $current_screen->base : null;
-
- if ( 'toplevel_page_jetpack' === $page && 'display_update_modal' === $key ) {
- return false;
- }
-
- return true;
+ return ( new CookieState() )->should_set_cookie( $key );
}
/**
@@ -5700,7 +5196,7 @@ endif;
public static function check_privacy( $file ) {
static $is_site_publicly_accessible = null;
- if ( is_null( $is_site_publicly_accessible ) ) {
+ if ( $is_site_publicly_accessible === null ) {
$is_site_publicly_accessible = false;
$rpc = new Jetpack_IXR_Client();
@@ -5749,14 +5245,14 @@ endif;
/**
* Handles the login action for Authorizing the JSON API
*/
- function login_form_json_api_authorization() {
+ public function login_form_json_api_authorization() {
$this->verify_json_api_authorization_request();
- add_action( 'wp_login', array( &$this, 'store_json_api_authorization_token' ), 10, 2 );
+ add_action( 'wp_login', array( $this, 'store_json_api_authorization_token' ), 10, 2 );
- add_action( 'login_message', array( &$this, 'login_message_json_api_authorization' ) );
- add_action( 'login_form', array( &$this, 'preserve_action_in_login_form_for_json_api_authorization' ) );
- add_filter( 'site_url', array( &$this, 'post_login_form_to_signed_url' ), 10, 3 );
+ add_action( 'login_message', array( $this, 'login_message_json_api_authorization' ) );
+ add_action( 'login_form', array( $this, 'preserve_action_in_login_form_for_json_api_authorization' ) );
+ add_filter( 'site_url', array( $this, 'post_login_form_to_signed_url' ), 10, 3 );
}
/**
@@ -5766,7 +5262,7 @@ endif;
* @param string $path Path.
* @param string $scheme URL Scheme.
*/
- function post_login_form_to_signed_url( $url, $path, $scheme ) {
+ public function post_login_form_to_signed_url( $url, $path, $scheme ) {
if ( 'wp-login.php' !== $path || ( 'login_post' !== $scheme && 'login' !== $scheme ) ) {
return $url;
}
@@ -5784,7 +5280,7 @@ endif;
/**
* Make sure the POSTed request is handled by the same action.
*/
- function preserve_action_in_login_form_for_json_api_authorization() {
+ public function preserve_action_in_login_form_for_json_api_authorization() {
echo "<input type='hidden' name='action' value='jetpack_json_api_authorization' />\n";
echo "<input type='hidden' name='jetpack_json_api_original_query' value='" . esc_url( set_url_scheme( $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ) ) . "' />\n";
}
@@ -5795,9 +5291,9 @@ endif;
* @param string $user_login Unused.
* @param WP_User $user User logged in.
*/
- function store_json_api_authorization_token( $user_login, $user ) {
- add_filter( 'login_redirect', array( &$this, 'add_token_to_login_redirect_json_api_authorization' ), 10, 3 );
- add_filter( 'allowed_redirect_hosts', array( &$this, 'allow_wpcom_public_api_domain' ) );
+ public function store_json_api_authorization_token( $user_login, $user ) {
+ add_filter( 'login_redirect', array( $this, 'add_token_to_login_redirect_json_api_authorization' ), 10, 3 );
+ add_filter( 'allowed_redirect_hosts', array( $this, 'allow_wpcom_public_api_domain' ) );
$token = wp_generate_password( 32, false );
update_user_meta( $user->ID, 'jetpack_json_api_' . $this->json_api_authorization_request['client_id'], $token );
}
@@ -5809,7 +5305,7 @@ endif;
*
* @param array $domains Allowed WP.com Environments.
*/
- function allow_wpcom_public_api_domain( $domains ) {
+ public function allow_wpcom_public_api_domain( $domains ) {
$domains[] = 'public-api.wordpress.com';
return $domains;
}
@@ -5821,7 +5317,7 @@ endif;
*
* @return bool If redirect has been encoded.
*/
- static function is_redirect_encoded( $redirect_url ) {
+ public static function is_redirect_encoded( $redirect_url ) {
return preg_match( '/https?%3A%2F%2F/i', $redirect_url ) > 0;
}
@@ -5832,7 +5328,7 @@ endif;
*
* @param array $domains Allowed WP.com Environments.
*/
- function allow_wpcom_environments( $domains ) {
+ public function allow_wpcom_environments( $domains ) {
$domains[] = 'wordpress.com';
$domains[] = 'wpcalypso.wordpress.com';
$domains[] = 'horizon.wordpress.com';
@@ -5849,7 +5345,7 @@ endif;
*
* @return string
*/
- function add_token_to_login_redirect_json_api_authorization( $redirect_to, $original_redirect_to, $user ) {
+ public function add_token_to_login_redirect_json_api_authorization( $redirect_to, $original_redirect_to, $user ) {
return add_query_arg(
urlencode_deep(
array(
@@ -5870,8 +5366,8 @@ endif;
*
* @param null|array $environment Value to override $_REQUEST.
*/
- function verify_json_api_authorization_request( $environment = null ) {
- $environment = is_null( $environment )
+ public function verify_json_api_authorization_request( $environment = null ) {
+ $environment = $environment === null
? $_REQUEST
: $environment;
@@ -5958,7 +5454,7 @@ endif;
}
}
- $data = json_decode( base64_decode( stripslashes( $environment['data'] ) ) );
+ $data = json_decode( base64_decode( stripslashes( $environment['data'] ) ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
$data_filters = array(
'state' => 'opaque',
'client_id' => 'int',
@@ -5995,11 +5491,9 @@ endif;
/**
* HTML for the JSON API authorization notice.
*
- * @param string $message Authorization message. Unused.
- *
* @return string
*/
- function login_message_json_api_authorization( $message ) {
+ public function login_message_json_api_authorization() {
return '<p class="message">' . sprintf(
/* translators: Name/image of the client requesting authorization */
esc_html__( '%s wants to access your site’s data. Log in to authorize that access.', 'jetpack' ),
@@ -6156,7 +5650,7 @@ endif;
$file_name_parts_r = array_reverse( explode( '.', $file_name ) );
$extension = array_shift( $file_name_parts_r );
- if ( in_array( strtolower( $extension ), array( 'css', 'js' ) ) ) {
+ if ( in_array( strtolower( $extension ), array( 'css', 'js' ), true ) ) {
// Already pointing at the minified version.
if ( 'min' === $file_name_parts_r[0] ) {
return $url;
@@ -6227,11 +5721,13 @@ endif;
if ( preg_match( '# href=\'([^\']+)\' #i', $tag, $matches ) ) {
$href = $matches[1];
// Strip off query string.
- if ( $pos = strpos( $href, '?' ) ) {
+ $pos = strpos( $href, '?' );
+ if ( $pos ) {
$href = substr( $href, 0, $pos );
}
// Strip off fragment.
- if ( $pos = strpos( $href, '#' ) ) {
+ $pos = strpos( $href, '#' );
+ if ( $pos ) {
$href = substr( $href, 0, $pos );
}
} else {
@@ -6239,7 +5735,7 @@ endif;
}
$plugins_dir = plugin_dir_url( JETPACK__PLUGIN_FILE );
- if ( $plugins_dir !== substr( $href, 0, strlen( $plugins_dir ) ) ) {
+ if ( substr( $href, 0, strlen( $plugins_dir ) ) !== $plugins_dir ) {
return $tag;
}
@@ -6277,7 +5773,7 @@ endif;
* @param array $data - Any data to pass along to the template.
* @return boolean - If template file was found.
**/
- public function load_view( $template, $data = array() ) {
+ public function load_view( $template, $data = array() ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- This is used via the required files.
$views_dir = JETPACK__PLUGIN_DIR . 'views/';
if ( file_exists( $views_dir . $template ) ) {
@@ -6285,7 +5781,9 @@ endif;
return true;
}
- error_log( "Jetpack: Unable to find view file $views_dir$template" );
+ if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
+ trigger_error( sprintf( 'Jetpack: Unable to find view file: %s', esc_html( $views_dir . $template ) ), E_USER_WARNING ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
+ }
return false;
}
@@ -6488,6 +5986,18 @@ endif;
'replacement' => null,
'version' => 'jetpack-9.1.0',
),
+ 'sharing_email_can_send' => array(
+ 'replacement' => null,
+ 'version' => 'jetpack-11.0.0',
+ ),
+ 'sharing_email_check' => array(
+ 'replacement' => null,
+ 'version' => 'jetpack-11.0.0',
+ ),
+ 'sharing_services_email' => array(
+ 'replacement' => null,
+ 'version' => 'jetpack-11.0.0',
+ ),
);
foreach ( $filter_deprecated_list as $tag => $args ) {
@@ -6541,6 +6051,14 @@ endif;
'replacement' => null,
'version' => 'jetpack-8.3.0',
),
+ 'sharing_email_dialog' => array(
+ 'replacement' => null,
+ 'version' => 'jetpack-11.0.0',
+ ),
+ 'sharing_email_send_post' => array(
+ 'replacement' => null,
+ 'version' => 'jetpack-11.0.0',
+ ),
);
foreach ( $action_deprecated_list as $tag => $args ) {
@@ -6578,7 +6096,8 @@ endif;
);
if ( preg_match_all( $pattern, $css, $matches, PREG_SET_ORDER ) ) {
- $find = $replace = array();
+ $replace = array();
+ $find = array();
foreach ( $matches as $match ) {
$url = trim( $match['path'], "'\" \t" );
@@ -6704,8 +6223,8 @@ endif;
*
* @return string
*/
- function concat_remove_style_loader_tag( $tag, $handle ) {
- if ( in_array( $handle, $this->concatenated_style_handles ) ) {
+ public function concat_remove_style_loader_tag( $tag, $handle ) {
+ if ( in_array( $handle, $this->concatenated_style_handles, true ) ) {
$tag = '';
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
$tag = '<!-- `' . esc_html( $handle ) . "` is included in the concatenated jetpack.css -->\r\n";
@@ -6738,7 +6257,7 @@ endif;
foreach ( $raw_data as $stat => $value ) {
// Check jetpack version.
- if ( 'version' == $stat ) {
+ if ( 'version' === $stat ) {
if ( version_compare( $value, JETPACK__VERSION, '<' ) ) {
$caution[ $stat ] = $value . ' - min supported is ' . JETPACK__VERSION;
continue;
@@ -6746,7 +6265,7 @@ endif;
}
// Check WP version.
- if ( 'wp-version' == $stat ) {
+ if ( 'wp-version' === $stat ) {
if ( version_compare( $value, JETPACK__MINIMUM_WP_VERSION, '<' ) ) {
$caution[ $stat ] = $value . ' - min supported is ' . JETPACK__MINIMUM_WP_VERSION;
continue;
@@ -6754,7 +6273,7 @@ endif;
}
// Check PHP version.
- if ( 'php-version' == $stat ) {
+ if ( 'php-version' === $stat ) {
if ( version_compare( PHP_VERSION, JETPACK__MINIMUM_PHP_VERSION, '<' ) ) {
$caution[ $stat ] = $value . ' - min supported is ' . JETPACK__MINIMUM_PHP_VERSION;
continue;
@@ -6762,8 +6281,8 @@ endif;
}
// Check ID crisis.
- if ( 'identitycrisis' == $stat ) {
- if ( 'yes' == $value ) {
+ if ( 'identitycrisis' === $stat ) {
+ if ( 'yes' === $value ) {
$bad[ $stat ] = $value;
continue;
}
@@ -6817,7 +6336,7 @@ endif;
* @param array $sorted Value for the user's option.
* @return mixed
*/
- function get_user_option_meta_box_order_dashboard( $sorted ) {
+ public function get_user_option_meta_box_order_dashboard( $sorted ) {
if ( ! is_array( $sorted ) ) {
return $sorted;
}
@@ -6829,7 +6348,7 @@ endif;
}
$ids_array = explode( ',', $ids );
- $key = array_search( 'dashboard_stats', $ids_array );
+ $key = array_search( 'dashboard_stats', $ids_array, true );
if ( false !== $key ) {
// If we've found that exact value in the option (and not `google_dashboard_stats` for example).
@@ -6850,7 +6369,7 @@ endif;
*
* @return array
*/
- function jetpack_icon_user_connected( $columns ) {
+ public function jetpack_icon_user_connected( $columns ) {
$columns['user_jetpack'] = '';
return $columns;
}
@@ -6864,7 +6383,7 @@ endif;
*
* @return string
*/
- function jetpack_show_user_connected_icon( $val, $col, $user_id ) {
+ public function jetpack_show_user_connected_icon( $val, $col, $user_id ) {
if ( 'user_jetpack' === $col && self::connection()->is_user_connected( $user_id ) ) {
$jetpack_logo = new Jetpack_Logo();
$emblem_html = sprintf(
@@ -6881,9 +6400,9 @@ endif;
/**
* Style the Jetpack user column
*/
- function jetpack_user_col_style() {
+ public function jetpack_user_col_style() {
global $current_screen;
- if ( ! empty( $current_screen->base ) && 'users' == $current_screen->base ) {
+ if ( ! empty( $current_screen->base ) && 'users' === $current_screen->base ) {
?>
<style>
.fixed .column-user_jetpack {
@@ -6915,7 +6434,7 @@ endif;
public static function is_akismet_active() {
static $status = null;
- if ( ! is_null( $status ) ) {
+ if ( $status !== null ) {
return $status;
}
@@ -7001,8 +6520,8 @@ endif;
* @return string Calypso environment
*/
public static function get_calypso_env() {
- if ( isset( $_GET['calypso_env'] ) ) {
- return sanitize_key( $_GET['calypso_env'] );
+ if ( isset( $_GET['calypso_env'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce is not required; only used for changing environments.
+ return sanitize_key( $_GET['calypso_env'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce is not required; only used for changing environments.
}
if ( getenv( 'CALYPSO_ENV' ) ) {
@@ -7056,7 +6575,7 @@ endif;
: array();
if ( Jetpack_Options::get_option( 'active_modules_initialized' ) ) {
- $active_modules = Jetpack_Options::get_option( 'active_modules' );
+ $active_modules = self::get_active_modules();
self::delete_active_modules();
self::activate_default_modules( 999, 1, array_merge( $active_modules, $other_modules ), $redirect_on_activation_error, $send_state_messages );
@@ -7171,6 +6690,7 @@ endif;
_x( 'Automated daily scanning', 'Scan Product Feature', 'jetpack' ),
_x( 'One-click fixes for most issues', 'Scan Product Feature', 'jetpack' ),
_x( 'Instant email notifications', 'Scan Product Feature', 'jetpack' ),
+ _x( 'Access to latest Firewall rules', 'Scan Product Feature', 'jetpack' ),
),
);
@@ -7256,7 +6776,7 @@ endif;
/**
* Register product descriptions for partner coupon usage.
*
- * @since $$next_version$$
+ * @since 10.4.0
*
* @param array $products An array of registered products.
*
diff --git a/plugins/jetpack/class.json-api-endpoints.php b/plugins/jetpack/class.json-api-endpoints.php
index 22aeb295..4ee2d303 100644
--- a/plugins/jetpack/class.json-api-endpoints.php
+++ b/plugins/jetpack/class.json-api-endpoints.php
@@ -1,53 +1,109 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack API endpoint base class.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Client;
-require_once dirname( __FILE__ ) . '/json-api-config.php';
-require_once dirname( __FILE__ ) . '/sal/class.json-api-links.php';
-require_once dirname( __FILE__ ) . '/sal/class.json-api-metadata.php';
-require_once dirname( __FILE__ ) . '/sal/class.json-api-date.php';
+require_once __DIR__ . '/json-api-config.php';
+require_once __DIR__ . '/sal/class.json-api-links.php';
+require_once __DIR__ . '/sal/class.json-api-metadata.php';
+require_once __DIR__ . '/sal/class.json-api-date.php';
-// Endpoint
+/**
+ * Endpoint.
+ */
abstract class WPCOM_JSON_API_Endpoint {
- // The API Object
+ /**
+ * The API Object
+ *
+ * @var WPCOM_JSON_API
+ */
public $api;
- // The link-generating utility class
+ /**
+ * The link-generating utility class
+ *
+ * @var WPCOM_JSON_API_Links
+ */
public $links;
+ /**
+ * Whether to pass wpcom user details.
+ *
+ * @var bool
+ */
public $pass_wpcom_user_details = false;
- // One liner.
+ /**
+ * One liner.
+ *
+ * @var string
+ */
public $description;
- // Object Grouping For Documentation (Users, Posts, Comments)
+ /**
+ * Object Grouping For Documentation (Users, Posts, Comments)
+ *
+ * @var string
+ */
public $group;
- // Stats extra value to bump
+ /**
+ * Stats extra value to bump
+ *
+ * @var mixed
+ */
public $stat;
- // HTTP Method
+ /**
+ * HTTP Method
+ *
+ * @var string
+ */
public $method = 'GET';
- // Minimum version of the api for which to serve this endpoint
+ /**
+ * Minimum version of the api for which to serve this endpoint
+ *
+ * @var string
+ */
public $min_version = '0';
- // Maximum version of the api for which to serve this endpoint
+ /**
+ * Maximum version of the api for which to serve this endpoint
+ *
+ * @var string
+ */
public $max_version = WPCOM_JSON_API__CURRENT_VERSION;
- // Path at which to serve this endpoint: sprintf() format.
+ /**
+ * Path at which to serve this endpoint: sprintf() format.
+ *
+ * @var string
+ */
public $path = '';
- // Identifiers to fill sprintf() formatted $path
+ /**
+ * Identifiers to fill sprintf() formatted $path
+ *
+ * @var array
+ */
public $path_labels = array();
- // Accepted query parameters
+ /**
+ * Accepted query parameters
+ *
+ * @var array
+ */
public $query = array(
- // Parameter name
+ // Parameter name.
'context' => array(
- // Default value => description
+ // Default value => description.
'display' => 'Formats the output as HTML for display. Shortcodes are parsed, paragraph tags are added, etc..',
- // Other possible values => description
+ // Other possible values => description.
'edit' => 'Formats the output for editing. Shortcodes are left unparsed, significant whitespace is kept, etc..',
),
'http_envelope' => array(
@@ -60,75 +116,119 @@ abstract class WPCOM_JSON_API_Endpoint {
),
'meta' => "(string) Optional. Loads data from the endpoints found in the 'meta' part of the response. Comma-separated list. Example: meta=site,likes",
'fields' => '(string) Optional. Returns specified fields only. Comma-separated list. Example: fields=ID,title',
- // Parameter name => description (default value is empty)
+ // Parameter name => description (default value is empty).
'callback' => '(string) An optional JSONP callback function.',
);
- // Response format
+ /**
+ * Response format
+ *
+ * @var array
+ */
public $response_format = array();
- // Request format
+ /**
+ * Request format
+ *
+ * @var array
+ */
public $request_format = array();
- // Is this endpoint still in testing phase? If so, not available to the public.
+ /**
+ * Is this endpoint still in testing phase? If so, not available to the public.
+ *
+ * @var bool
+ */
public $in_testing = false;
- // Is this endpoint still allowed if the site in question is flagged?
+ /**
+ * Is this endpoint still allowed if the site in question is flagged?
+ *
+ * @var bool
+ */
public $allowed_if_flagged = false;
- // Is this endpoint allowed if the site is red flagged?
+ /**
+ * Is this endpoint allowed if the site is red flagged?
+ *
+ * @var bool
+ */
public $allowed_if_red_flagged = false;
- // Is this endpoint allowed if the site is deleted?
+ /**
+ * Is this endpoint allowed if the site is deleted?
+ *
+ * @var bool
+ */
public $allowed_if_deleted = false;
/**
- * @var string Version of the API
+ * Version of the API
+ *
+ * @var string
*/
public $version = '';
/**
- * @var string Example request to make
+ * Example request to make
+ *
+ * @var string
*/
public $example_request = '';
/**
- * @var string Example request data (for POST methods)
+ * Example request data (for POST methods)
+ *
+ * @var string
*/
public $example_request_data = '';
/**
- * @var string Example response from $example_request
+ * Example response from $example_request
+ *
+ * @var string
*/
public $example_response = '';
/**
- * @var bool Set to true if the endpoint implements its own filtering instead of the standard `fields` query method
+ * Set to true if the endpoint implements its own filtering instead of the standard `fields` query method
+ *
+ * @var bool
*/
public $custom_fields_filtering = false;
/**
- * @var bool Set to true if the endpoint accepts all cross origin requests. You probably should not set this flag.
+ * Set to true if the endpoint accepts all cross origin requests. You probably should not set this flag.
+ *
+ * @var bool
*/
public $allow_cross_origin_request = false;
/**
- * @var bool Set to true if the endpoint can recieve unauthorized POST requests.
+ * Set to true if the endpoint can recieve unauthorized POST requests.
+ *
+ * @var bool
*/
public $allow_unauthorized_request = false;
/**
- * @var bool Set to true if the endpoint should accept site based (not user based) authentication.
+ * Set to true if the endpoint should accept site based (not user based) authentication.
+ *
+ * @var bool
*/
public $allow_jetpack_site_auth = false;
/**
- * @var bool Set to true if the endpoint should accept auth from an upload token.
+ * Set to true if the endpoint should accept auth from an upload token.
+ *
+ * @var bool
*/
public $allow_upload_token_auth = false;
/**
- * @var bool Set to true if the endpoint should require auth from a Rewind auth token.
+ * Set to true if the endpoint should require auth from a Rewind auth token.
+ *
+ * @var bool
*/
public $require_rewind_auth = false;
@@ -139,7 +239,12 @@ abstract class WPCOM_JSON_API_Endpoint {
*/
public $allow_fallback_to_jetpack_blog_token = false;
- function __construct( $args ) {
+ /**
+ * Constructor.
+ *
+ * @param string|array|object $args Args.
+ */
+ public function __construct( $args ) {
$defaults = array(
'in_testing' => false,
'allowed_if_flagged' => false,
@@ -195,7 +300,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$this->deprecated = $args['deprecated'];
$this->new_version = $args['new_version'];
- // Ensure max version is not less than min version
+ // Ensure max version is not less than min version.
if ( version_compare( $this->min_version, $this->max_version, '>' ) ) {
$this->max_version = $this->min_version;
}
@@ -232,12 +337,12 @@ abstract class WPCOM_JSON_API_Endpoint {
$this->query = array_filter( array_merge( $this->query, $args['query_parameters'] ) );
}
- $this->api = WPCOM_JSON_API::init(); // Auto-add to WPCOM_JSON_API
+ $this->api = WPCOM_JSON_API::init(); // Auto-add to WPCOM_JSON_API.
$this->links = WPCOM_JSON_API_Links::getInstance();
/** Example Request/Response */
- // Examples for endpoint documentation request
+ // Examples for endpoint documentation request.
$this->example_request = $args['example_request'];
$this->example_request_data = $args['example_request_data'];
$this->example_response = $args['example_response'];
@@ -245,8 +350,14 @@ abstract class WPCOM_JSON_API_Endpoint {
$this->api->add( $this );
}
- // Get all query args. Prefill with defaults
- function query_args( $return_default_values = true, $cast_and_filter = true ) {
+ /**
+ * Get all query args. Prefill with defaults.
+ *
+ * @param bool $return_default_values Whether to include default values in the response.
+ * @param bool $cast_and_filter Whether to cast and filter input according to the documentation.
+ * @return array
+ */
+ public function query_args( $return_default_values = true, $cast_and_filter = true ) {
$args = array_intersect_key( $this->api->query, $this->query );
if ( ! $cast_and_filter ) {
@@ -256,8 +367,14 @@ abstract class WPCOM_JSON_API_Endpoint {
return $this->cast_and_filter( $args, $this->query, $return_default_values );
}
- // Get POST body data
- function input( $return_default_values = true, $cast_and_filter = true ) {
+ /**
+ * Get POST body data.
+ *
+ * @param bool $return_default_values Whether to include default values in the response.
+ * @param bool $cast_and_filter Whether to cast and filter input according to the documentation.
+ * @return mixed
+ */
+ public function input( $return_default_values = true, $cast_and_filter = true ) {
$input = trim( (string) $this->api->post_body );
$content_type = (string) $this->api->content_type;
if ( $content_type ) {
@@ -278,20 +395,21 @@ abstract class WPCOM_JSON_API_Endpoint {
return null;
}
} else {
- if ( is_null( $return ) && json_encode( null ) !== $input ) {
+ if ( $return === null && wp_json_encode( null ) !== $input ) {
return null;
}
}
break;
case 'multipart/form-data':
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing
$return = array_merge( stripslashes_deep( $_POST ), $_FILES );
break;
case 'application/x-www-form-urlencoded':
- // attempt JSON first, since probably a curl command
+ // attempt JSON first, since probably a curl command.
$return = json_decode( $input, true );
- if ( is_null( $return ) ) {
+ if ( $return === null ) {
wp_parse_str( $input, $return );
}
@@ -315,7 +433,12 @@ abstract class WPCOM_JSON_API_Endpoint {
return $return;
}
-
+ /**
+ * Fetch a body via secure request.
+ *
+ * @param string $secure_key Key for the request.
+ * @return mixed|null API response, or null if the request failed.
+ */
protected function get_secure_body( $secure_key ) {
$response = Client::wpcom_json_api_request_as_blog(
sprintf( '/sites/%d/secure-request', Jetpack_Options::get_option( 'id' ) ),
@@ -329,7 +452,16 @@ abstract class WPCOM_JSON_API_Endpoint {
return json_decode( $response['body'], true );
}
- function cast_and_filter( $data, $documentation, $return_default_values = false, $for_output = false ) {
+ /**
+ * Cast and filter data.
+ *
+ * @param mixed $data Data to cast and filter.
+ * @param array $documentation Documentation for keys in `$data` to keep and cast.
+ * @param bool $return_default_values Set default values from `$documentation` to process.
+ * @param bool $for_output See `$this->cast_and_filter_item()`.
+ * @return mixed Filtered data.
+ */
+ public function cast_and_filter( $data, $documentation, $return_default_values = false, $for_output = false ) {
$return_as_object = false;
if ( is_object( $data ) ) {
// @todo this should probably be a deep copy if $data can ever have nested objects
@@ -346,21 +478,21 @@ abstract class WPCOM_JSON_API_Endpoint {
foreach ( $documentation as $key => $description ) {
if ( is_array( $description ) ) {
- // String or boolean array keys only
+ // String or boolean array keys only.
$whitelist = array_keys( $description );
if ( $whitelist === $boolean_arg || $whitelist === $naeloob_arg ) {
- // Truthiness
+ // Truthiness.
if ( isset( $data[ $key ] ) ) {
$return[ $key ] = (bool) WPCOM_JSON_API::is_truthy( $data[ $key ] );
} elseif ( $return_default_values ) {
$return[ $key ] = $whitelist === $naeloob_arg; // Default to true for naeloob_arg and false for boolean_arg.
}
} elseif ( isset( $data[ $key ] ) && isset( $description[ $data[ $key ] ] ) ) {
- // String Key
+ // String Key.
$return[ $key ] = (string) $data[ $key ];
} elseif ( $return_default_values ) {
- // Default value
+ // Default value.
$return[ $key ] = (string) current( $whitelist );
}
@@ -370,7 +502,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$types = $this->parse_types( $description );
$type = array_shift( $types );
- // Explicit default - string and int only for now. Always set these reguardless of $return_default_values
+ // Explicit default - string and int only for now. Always set these reguardless of $return_default_values.
if ( isset( $type['default'] ) ) {
if ( ! isset( $data[ $key ] ) ) {
$data[ $key ] = $type['default'];
@@ -402,8 +534,15 @@ abstract class WPCOM_JSON_API_Endpoint {
* object:category means a hash of categories
*
* Handles object typing - object>post means an object of type post
+ *
+ * @param array $return Array to assign the value into.
+ * @param string|array $type Type to cast.
+ * @param string|int $key Key in `$return` to assign the value to.
+ * @param mixed $value Value to cast.
+ * @param array $types Fallback types.
+ * @param bool $for_output Appears to affect formatting of 'date' types.
*/
- function cast_and_filter_item( &$return, $type, $key, $value, $types = array(), $for_output = false ) {
+ public function cast_and_filter_item( &$return, $type, $key, $value, $types = array(), $for_output = false ) {
if ( is_string( $type ) ) {
$type = compact( 'type' );
}
@@ -423,7 +562,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$return[ $key ] = (string) esc_url_raw( $value );
break;
case 'string':
- // Fallback string -> array, or for string -> object
+ // Fallback string -> array, or for string -> object.
if ( is_array( $value ) || is_object( $value ) ) {
if ( ! empty( $types[0] ) ) {
$next_type = array_shift( $types );
@@ -431,7 +570,7 @@ abstract class WPCOM_JSON_API_Endpoint {
}
}
- // Fallback string -> false
+ // Fallback string -> false.
if ( ! is_string( $value ) ) {
if ( ! empty( $types[0] ) && 'false' === $types[0]['type'] ) {
$next_type = array_shift( $types );
@@ -451,7 +590,7 @@ abstract class WPCOM_JSON_API_Endpoint {
if ( is_array( $value ) ) {
if ( isset( $value['name'] ) && is_array( $value['name'] ) ) {
// It's a $_FILES array
- // Reformat into array of $_FILES items
+ // Reformat into array of $_FILES items.
$files = array();
foreach ( $value['name'] as $k => $v ) {
@@ -464,12 +603,10 @@ abstract class WPCOM_JSON_API_Endpoint {
$return[ $key ] = $files;
break;
}
- } else {
- // no break - treat as 'array'
}
- // nobreak
+ // no break - treat as 'array'.
case 'array':
- // Fallback array -> string
+ // Fallback array -> string.
if ( is_string( $value ) ) {
if ( ! empty( $types[0] ) ) {
$next_type = array_shift( $types );
@@ -510,8 +647,8 @@ abstract class WPCOM_JSON_API_Endpoint {
$return[ $key ] = (bool) WPCOM_JSON_API::is_truthy( $value );
break;
case 'object':
- // Fallback object -> false
- if ( is_scalar( $value ) || is_null( $value ) ) {
+ // Fallback object -> false.
+ if ( is_scalar( $value ) || $value === null ) {
if ( ! empty( $types[0] ) && 'false' === $types[0]['type'] ) {
return $this->cast_and_filter_item( $return, 'false', $key, $value, $types, $for_output );
}
@@ -768,10 +905,10 @@ abstract class WPCOM_JSON_API_Endpoint {
break;
case 'visibility':
- // This is needed to fix a bug in WPAndroid where `public: "PUBLIC"` is sent in place of `public: 1`
+ // This is needed to fix a bug in WPAndroid where `public: "PUBLIC"` is sent in place of `public: 1`.
if ( 'public' === strtolower( $value ) ) {
$return[ $key ] = 1;
- } else if ( 'private' === strtolower( $value ) ) {
+ } elseif ( 'private' === strtolower( $value ) ) {
$return[ $key ] = -1;
} else {
$return[ $key ] = (int) $value;
@@ -793,12 +930,19 @@ abstract class WPCOM_JSON_API_Endpoint {
$for_output
);
} else {
+ // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error, WordPress.Security.EscapeOutput.OutputNotEscaped
trigger_error( "Unknown API casting type {$type['type']}", E_USER_WARNING );
}
}
}
- function parse_types( $text ) {
+ /**
+ * Parse types from text.
+ *
+ * @param string $text Text.
+ * @return array Types.
+ */
+ public function parse_types( $text ) {
if ( ! preg_match( '#^\(([^)]+)\)#', ltrim( $text ), $matches ) ) {
return 'none';
}
@@ -828,16 +972,20 @@ abstract class WPCOM_JSON_API_Endpoint {
/**
* Checks if the endpoint is publicly displayable
+ *
+ * @return bool
*/
- function is_publicly_documentable() {
+ public function is_publicly_documentable() {
return '__do_not_document' !== $this->group && true !== $this->in_testing;
}
/**
* Auto generates documentation based on description, method, path, path_labels, and query parameters.
* Echoes HTML.
+ *
+ * @param bool $show_description Whether to show the description.
*/
- function document( $show_description = true ) {
+ public function document( $show_description = true ) {
global $wpdb;
$original_post = isset( $GLOBALS['post'] ) ? $GLOBALS['post'] : 'unset';
unset( $GLOBALS['post'] );
@@ -915,11 +1063,11 @@ abstract class WPCOM_JSON_API_Endpoint {
$param_label = strtolower( str_replace( ' ', '-', $label ) );
?>
-<section class="<?php echo $param_label; ?>">
+<section class="<?php echo esc_attr( $param_label ); ?>">
<h2 id="apidoc-<?php echo esc_attr( $doc_section_key ); ?>"><?php echo wp_kses_post( $label ); ?></h2>
-<table class="api-doc api-doc-<?php echo $param_label; ?>-parameters api-doc-<?php echo strtolower( str_replace( ' ', '-', $doc['group'] ) ); ?>">
+<table class="api-doc api-doc-<?php echo esc_attr( $param_label ); ?>-parameters api-doc-<?php echo esc_attr( strtolower( str_replace( ' ', '-', $doc['group'] ) ) ); ?>">
<thead>
<tr>
@@ -952,11 +1100,19 @@ abstract class WPCOM_JSON_API_Endpoint {
<?php
if ( 'unset' !== $original_post ) {
- $GLOBALS['post'] = $original_post;
+ $GLOBALS['post'] = $original_post; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
}
}
- function add_http_build_query_to_php_content_example( $matches ) {
+ /**
+ * `preg_replace_callback` callback to add http_build_query to php content example.
+ *
+ * @todo Is this used anywhere?
+ *
+ * @param array $matches Matches.
+ * @return string
+ */
+ public function add_http_build_query_to_php_content_example( $matches ) {
$trimmed_match = ltrim( $matches[0] );
$pad = substr( $matches[0], 0, -1 * strlen( $trimmed_match ) );
$pad = ltrim( $pad, ' ' );
@@ -967,8 +1123,10 @@ abstract class WPCOM_JSON_API_Endpoint {
/**
* Recursively generates the <dl>'s to document item descriptions.
* Echoes HTML.
+ *
+ * @param string|array $item Post data to output, or an array of key => data mappings.
*/
- function generate_doc_description( $item ) {
+ public function generate_doc_description( $item ) {
if ( is_array( $item ) ) :
?>
@@ -992,7 +1150,7 @@ abstract class WPCOM_JSON_API_Endpoint {
* Auto generates documentation based on description, method, path, path_labels, and query parameters.
* Echoes HTML.
*/
- function generate_documentation() {
+ public function generate_documentation() {
$format = str_replace( '%d', '%s', $this->path );
$path_labeled = $format;
if ( ! empty( $this->path_labels ) ) {
@@ -1033,7 +1191,7 @@ abstract class WPCOM_JSON_API_Endpoint {
}
if ( 'response_format' !== $_property ) {
- // hack - don't show "(default)" in response format
+ // hack - don't show "(default)" in response format.
reset( $description );
$description_key = key( $description );
$description[ $description_key ] = "(default) {$description[$description_key]}";
@@ -1043,7 +1201,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$type = array();
$default = '';
- if ( 'none' == $types ) {
+ if ( 'none' === $types ) {
$types = array();
$types[]['type'] = 'none';
}
@@ -1057,10 +1215,9 @@ abstract class WPCOM_JSON_API_Endpoint {
}
}
}
- $type = '(' . join( '|', $type ) . ')';
- $noop = ''; // skip an index in list below
- list( $noop, $description ) = explode( ')', $description, 2 );
- $description = trim( $description );
+ $type = '(' . join( '|', $type ) . ')';
+ list( , $description ) = explode( ')', $description, 2 );
+ $description = trim( $description );
if ( $default ) {
$description .= " Default: $default.";
}
@@ -1079,7 +1236,13 @@ abstract class WPCOM_JSON_API_Endpoint {
return $doc;
}
- function user_can_view_post( $post_id ) {
+ /**
+ * Can the user view the post?
+ *
+ * @param int $post_id Post ID.
+ * @return bool|WP_Error
+ */
+ public function user_can_view_post( $post_id ) {
$post = get_post( $post_id );
if ( ! $post || is_wp_error( $post ) ) {
return false;
@@ -1102,12 +1265,12 @@ abstract class WPCOM_JSON_API_Endpoint {
if ( ! current_user_can( 'read_post', $post->ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot view post', 403 );
}
- } elseif ( in_array( $post->post_status, array( 'inherit', 'trash' ) ) ) {
+ } elseif ( in_array( $post->post_status, array( 'inherit', 'trash' ), true ) ) {
if ( ! current_user_can( 'edit_post', $post->ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot view post', 403 );
}
- } elseif ( 'auto-draft' === $post->post_status ) {
- // allow auto-drafts
+ } elseif ( 'auto-draft' === $post->post_status ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedElseif
+ // allow auto-drafts.
} else {
return new WP_Error( 'unauthorized', 'User cannot view post', 403 );
}
@@ -1117,7 +1280,7 @@ abstract class WPCOM_JSON_API_Endpoint {
}
if (
- -1 == get_option( 'blog_public' ) &&
+ -1 === (int) get_option( 'blog_public' ) &&
/**
* Filter access to a specific post.
*
@@ -1161,12 +1324,12 @@ abstract class WPCOM_JSON_API_Endpoint {
/**
* Returns author object.
*
- * @param object $author user ID, user row, WP_User object, comment row, post row
- * @param bool $show_email_and_ip output the author's email address and IP address?
+ * @param object $author user ID, user row, WP_User object, comment row, post row.
+ * @param bool $show_email_and_ip output the author's email address and IP address?.
*
* @return object
*/
- function get_author( $author, $show_email_and_ip = false ) {
+ public function get_author( $author, $show_email_and_ip = false ) {
$ip_address = isset( $author->comment_author_IP ) ? $author->comment_author_IP : '';
if ( isset( $author->comment_author_email ) ) {
@@ -1176,15 +1339,15 @@ abstract class WPCOM_JSON_API_Endpoint {
$name = $author->comment_author;
$first_name = '';
$last_name = '';
- $URL = $author->comment_author_url;
- $avatar_URL = $this->api->get_avatar_url( $author );
- $profile_URL = 'https://en.gravatar.com/' . md5( strtolower( trim( $email ) ) );
+ $url = $author->comment_author_url;
+ $avatar_url = $this->api->get_avatar_url( $author );
+ $profile_url = 'https://en.gravatar.com/' . md5( strtolower( trim( $email ) ) );
$nice = '';
$site_id = -1;
// Comment author URLs and Emails are sent through wp_kses() on save, which replaces "&" with "&amp;"
- // "&" is the only email/URL character altered by wp_kses()
- foreach ( array( 'email', 'URL' ) as $field ) {
+ // "&" is the only email/URL character altered by wp_kses().
+ foreach ( array( 'email', 'url' ) as $field ) {
$$field = str_replace( '&amp;', '&', $$field );
}
} else {
@@ -1194,7 +1357,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$author = $author->ID;
} elseif ( isset( $author->post_author ) ) {
// then $author is a Post Object.
- if ( 0 == $author->post_author ) {
+ if ( ! $author->post_author ) {
return null;
}
/**
@@ -1216,7 +1379,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$name = get_post_meta( $post_id, '_jetpack_author', true );
$first_name = '';
$last_name = '';
- $URL = '';
+ $url = '';
$nice = '';
} else {
$author = $author->post_author;
@@ -1226,7 +1389,7 @@ abstract class WPCOM_JSON_API_Endpoint {
if ( ! isset( $id ) ) {
$user = get_user_by( 'id', $author );
if ( ! $user || is_wp_error( $user ) ) {
- trigger_error( 'Unknown user', E_USER_WARNING );
+ trigger_error( 'Unknown user', E_USER_WARNING ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
return null;
}
@@ -1236,7 +1399,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$name = $user->display_name;
$first_name = $user->first_name;
$last_name = $user->last_name;
- $URL = $user->user_url;
+ $url = $user->user_url;
$nice = $user->user_nicename;
}
if ( defined( 'IS_WPCOM' ) && IS_WPCOM && ! $is_jetpack ) {
@@ -1244,17 +1407,17 @@ abstract class WPCOM_JSON_API_Endpoint {
$site_id = $active_blog->blog_id;
if ( $site_id > -1 ) {
$site_visible = (
- -1 != $active_blog->public ||
+ -1 !== (int) $active_blog->public ||
is_private_blog_user( $site_id, get_current_user_id() )
);
}
- $profile_URL = "https://en.gravatar.com/{$login}";
+ $profile_url = "https://en.gravatar.com/{$login}";
} else {
- $profile_URL = 'https://en.gravatar.com/' . md5( strtolower( trim( $email ) ) );
+ $profile_url = 'https://en.gravatar.com/' . md5( strtolower( trim( $email ) ) );
$site_id = -1;
}
- $avatar_URL = $this->api->get_avatar_url( $email );
+ $avatar_url = $this->api->get_avatar_url( $email );
}
if ( $show_email_and_ip ) {
@@ -1268,15 +1431,15 @@ abstract class WPCOM_JSON_API_Endpoint {
$author = array(
'ID' => (int) $id,
'login' => (string) $login,
- 'email' => $email, // (string|bool)
+ 'email' => $email, // string|bool.
'name' => (string) $name,
'first_name' => (string) $first_name,
'last_name' => (string) $last_name,
'nice_name' => (string) $nice,
- 'URL' => (string) esc_url_raw( $URL ),
- 'avatar_URL' => (string) esc_url_raw( $avatar_URL ),
- 'profile_URL' => (string) esc_url_raw( $profile_URL ),
- 'ip_address' => $ip_address, // (string|bool)
+ 'URL' => (string) esc_url_raw( $url ),
+ 'avatar_URL' => (string) esc_url_raw( $avatar_url ),
+ 'profile_URL' => (string) esc_url_raw( $profile_url ),
+ 'ip_address' => $ip_address, // string|bool.
);
if ( $site_id > -1 ) {
@@ -1287,7 +1450,13 @@ abstract class WPCOM_JSON_API_Endpoint {
return (object) $author;
}
- function get_media_item( $media_id ) {
+ /**
+ * Get a media item.
+ *
+ * @param int $media_id Media post ID.
+ * @return object|WP_Error Media item data, or WP_Error.
+ */
+ public function get_media_item( $media_id ) {
$media_item = get_post( $media_id );
if ( ! $media_item || is_wp_error( $media_item ) ) {
@@ -1322,7 +1491,15 @@ abstract class WPCOM_JSON_API_Endpoint {
return (object) $response;
}
- function get_media_item_v1_1( $media_id, $media_item = null, $file = null ) {
+ /**
+ * Get a v1.1 media item.
+ *
+ * @param int $media_id Media post ID.
+ * @param WP_Post|null $media_item Media item.
+ * @param string|null $file File path.
+ * @return object|WP_Error Media item data, or WP_Error.
+ */
+ public function get_media_item_v1_1( $media_id, $media_item = null, $file = null ) {
if ( ! $media_item ) {
$media_item = get_post( $media_id );
@@ -1345,7 +1522,10 @@ abstract class WPCOM_JSON_API_Endpoint {
? $attachment_metadata['filesize']
: 0;
} else {
- $filesize = filesize( $attachment_file );
+ // For VideoPress videos, $attachment_file is the video URL.
+ $filesize = file_exists( $attachment_file )
+ ? filesize( $attachment_file )
+ : 0;
}
$response = array(
@@ -1408,7 +1588,7 @@ abstract class WPCOM_JSON_API_Endpoint {
}
}
- if ( in_array( $ext, array( 'mp3', 'm4a', 'wav', 'ogg' ) ) ) {
+ if ( in_array( $ext, array( 'mp3', 'm4a', 'wav', 'ogg' ), true ) ) {
$metadata = wp_get_attachment_metadata( $media_item->ID );
$response['length'] = $metadata['length'];
$response['exif'] = $metadata;
@@ -1417,9 +1597,8 @@ abstract class WPCOM_JSON_API_Endpoint {
$is_video = false;
if (
- in_array( $ext, array( 'ogv', 'mp4', 'mov', 'wmv', 'avi', 'mpg', '3gp', '3g2', 'm4v' ) )
- ||
- $response['mime_type'] === 'video/videopress'
+ in_array( $ext, array( 'ogv', 'mp4', 'mov', 'wmv', 'avi', 'mpg', '3gp', '3g2', 'm4v' ), true )
+ || 'video/videopress' === $response['mime_type']
) {
$is_video = true;
}
@@ -1436,7 +1615,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$response['length'] = $metadata['length'];
}
- // add VideoPress info
+ // add VideoPress info.
if ( function_exists( 'video_get_info_by_blogpostid' ) ) {
$info = video_get_info_by_blogpostid( $this->api->get_blog_id_for_output(), $media_item->ID );
@@ -1465,7 +1644,19 @@ abstract class WPCOM_JSON_API_Endpoint {
$response['allow_download'] = (string) (int) $metadata['videopress']['allow_download'];
}
- // Thumbnails
+ if ( isset( $info->thumbnail_generating ) ) {
+ $response['thumbnail_generating'] = (bool) intval( $info->thumbnail_generating );
+ } elseif ( isset( $metadata['videopress']['thumbnail_generating'] ) ) {
+ $response['thumbnail_generating'] = (bool) intval( $metadata['videopress']['thumbnail_generating'] );
+ }
+
+ if ( isset( $info->privacy_setting ) ) {
+ $response['privacy_setting'] = (int) $info->privacy_setting;
+ } elseif ( isset( $metadata['videopress']['privacy_setting'] ) ) {
+ $response['privacy_setting'] = (int) $metadata['videopress']['privacy_setting'];
+ }
+
+ // Thumbnails.
if ( function_exists( 'video_format_done' ) && function_exists( 'video_image_url_by_guid' ) ) {
$response['thumbnails'] = array(
'fmt_hd' => '',
@@ -1503,7 +1694,7 @@ abstract class WPCOM_JSON_API_Endpoint {
),
);
- // add VideoPress link to the meta
+ // add VideoPress link to the meta.
if ( isset( $response['videopress_guid'] ) ) {
if ( function_exists( 'video_get_info_by_blogpostid' ) ) {
$response['meta']->links->videopress = (string) $this->links->get_link( '/videos/%s', $response['videopress_guid'], '' );
@@ -1517,10 +1708,18 @@ abstract class WPCOM_JSON_API_Endpoint {
return (object) $response;
}
- function get_taxonomy( $taxonomy_id, $taxonomy_type, $context ) {
+ /**
+ * Get a formatted taxonomy.
+ *
+ * @param int $taxonomy_id Taxonomy ID.
+ * @param string $taxonomy_type Name of taxonomy.
+ * @param string $context Context, 'edit' or 'display'.
+ * @return object|WP_Error
+ */
+ public function get_taxonomy( $taxonomy_id, $taxonomy_type, $context ) {
$taxonomy = get_term_by( 'slug', $taxonomy_id, $taxonomy_type );
- // keep updating this function
+ // keep updating this function.
if ( ! $taxonomy || is_wp_error( $taxonomy ) ) {
return new WP_Error( 'unknown_taxonomy', 'Unknown taxonomy', 404 );
}
@@ -1528,8 +1727,16 @@ abstract class WPCOM_JSON_API_Endpoint {
return $this->format_taxonomy( $taxonomy, $taxonomy_type, $context );
}
- function format_taxonomy( $taxonomy, $taxonomy_type, $context ) {
- // Permissions
+ /**
+ * Format a taxonomy.
+ *
+ * @param WP_Term $taxonomy Taxonomy.
+ * @param string $taxonomy_type Name of taxonomy.
+ * @param string $context Context, 'edit' or 'display'.
+ * @return object|WP_Error
+ */
+ public function format_taxonomy( $taxonomy, $taxonomy_type, $context ) {
+ // Permissions.
switch ( $context ) {
case 'edit':
$tax = get_taxonomy( $taxonomy_type );
@@ -1538,7 +1745,7 @@ abstract class WPCOM_JSON_API_Endpoint {
}
break;
case 'display':
- if ( -1 == get_option( 'blog_public' ) && ! current_user_can( 'read' ) ) {
+ if ( -1 === (int) get_option( 'blog_public' ) && ! current_user_can( 'read' ) ) {
return new WP_Error( 'unauthorized', 'User cannot view taxonomy', 403 );
}
break;
@@ -1572,12 +1779,11 @@ abstract class WPCOM_JSON_API_Endpoint {
/**
* Returns ISO 8601 formatted datetime: 2011-12-08T01:15:36-08:00
*
- * @param $date_gmt (string) GMT datetime string.
- * @param $date (string) Optional. Used to calculate the offset from GMT.
- *
+ * @param string $date_gmt GMT datetime string.
+ * @param string $date Optional. Used to calculate the offset from GMT.
* @return string
*/
- function format_date( $date_gmt, $date = null ) {
+ public function format_date( $date_gmt, $date = null ) {
return WPCOM_JSON_API_Date::format_date( $date_gmt, $date );
}
@@ -1624,23 +1830,33 @@ abstract class WPCOM_JSON_API_Endpoint {
);
}
- // Load the functions.php file for the current theme to get its post formats, CPTs, etc.
- function load_theme_functions() {
+ /**
+ * Load the functions.php file for the current theme to get its post formats, CPTs, etc.
+ */
+ public function load_theme_functions() {
if ( false === defined( 'STYLESHEETPATH' ) ) {
wp_templating_constants();
}
- // bail if we've done this already (can happen when calling /batch endpoint)
+ // bail if we've done this already (can happen when calling /batch endpoint).
if ( defined( 'REST_API_THEME_FUNCTIONS_LOADED' ) ) {
return;
}
// VIP context loading is handled elsewhere, so bail to prevent
- // duplicate loading. See `switch_to_blog_and_validate_user()`
+ // duplicate loading. See `switch_to_blog_and_validate_user()`.
if ( defined( 'WPCOM_IS_VIP_ENV' ) && WPCOM_IS_VIP_ENV ) {
return;
}
+ $do_check_theme =
+ defined( 'REST_API_TEST_REQUEST' ) && REST_API_TEST_REQUEST ||
+ defined( 'IS_WPCOM' ) && IS_WPCOM;
+
+ if ( $do_check_theme && ! wpcom_should_load_theme_files_on_rest_api() ) {
+ return;
+ }
+
define( 'REST_API_THEME_FUNCTIONS_LOADED', true );
// the theme info we care about is found either within functions.php or one of the jetpack files.
@@ -1664,13 +1880,13 @@ abstract class WPCOM_JSON_API_Endpoint {
}
}
- // add inc/wpcom.php and/or includes/wpcom.php
+ // add inc/wpcom.php and/or includes/wpcom.php.
wpcom_load_theme_compat_file();
- // Enable including additional directories or files in actions to be copied
+ // Enable including additional directories or files in actions to be copied.
$copy_dirs = apply_filters( 'restapi_theme_action_copy_dirs', $copy_dirs );
- // since the stuff we care about (CPTS, post formats, are usually on setup or init hooks, we want to load those)
+ // since the stuff we care about (CPTS, post formats, are usually on setup or init hooks, we want to load those).
$this->copy_hooks( 'after_setup_theme', 'restapi_theme_after_setup_theme', $copy_dirs );
/**
@@ -1703,11 +1919,18 @@ abstract class WPCOM_JSON_API_Endpoint {
do_action( 'restapi_theme_init' );
}
- function copy_hooks( $from_hook, $to_hook, $base_paths ) {
+ /**
+ * Copy hook functions.
+ *
+ * @param string $from_hook Hook to copy from.
+ * @param string $to_hook Hook to copy to.
+ * @param array $base_paths Only copy hooks defined in the specified paths.
+ */
+ public function copy_hooks( $from_hook, $to_hook, $base_paths ) {
global $wp_filter;
foreach ( $wp_filter as $hook => $actions ) {
- if ( $from_hook != $hook ) {
+ if ( $from_hook !== $hook ) {
continue;
}
if ( ! has_action( $hook ) ) {
@@ -1715,17 +1938,17 @@ abstract class WPCOM_JSON_API_Endpoint {
}
foreach ( $actions as $priority => $callbacks ) {
- foreach ( $callbacks as $callback_key => $callback_data ) {
+ foreach ( $callbacks as $callback_data ) {
$callback = $callback_data['function'];
- // use reflection api to determine filename where function is defined
+ // use reflection api to determine filename where function is defined.
$reflection = $this->get_reflection( $callback );
if ( false !== $reflection ) {
$file_name = $reflection->getFileName();
foreach ( $base_paths as $base_path ) {
- // only copy hooks with functions which are part of the specified files
+ // only copy hooks with functions which are part of the specified files.
if ( 0 === strpos( $file_name, $base_path ) ) {
add_action(
$to_hook,
@@ -1741,7 +1964,13 @@ abstract class WPCOM_JSON_API_Endpoint {
}
}
- function get_reflection( $callback ) {
+ /**
+ * Get a ReflectionMethod or ReflectionFunction for the callback.
+ *
+ * @param callable $callback Callback.
+ * @return ReflectionMethod|ReflectionFunction|false
+ */
+ public function get_reflection( $callback ) {
if ( is_array( $callback ) ) {
list( $class, $method ) = $callback;
return new ReflectionMethod( $class, $method );
@@ -1752,11 +1981,11 @@ abstract class WPCOM_JSON_API_Endpoint {
return new ReflectionMethod( $class, $method );
}
- if ( method_exists( $callback, "__invoke" ) ) {
- return new ReflectionMethod( $callback, "__invoke" );
+ if ( method_exists( $callback, '__invoke' ) ) {
+ return new ReflectionMethod( $callback, '__invoke' );
}
- if ( is_string( $callback ) && strpos( $callback, '::' ) == false && function_exists( $callback ) ) {
+ if ( is_string( $callback ) && strpos( $callback, '::' ) === false && function_exists( $callback ) ) {
return new ReflectionFunction( $callback );
}
@@ -1764,13 +1993,13 @@ abstract class WPCOM_JSON_API_Endpoint {
}
/**
- * Check whether a user can view or edit a post type
+ * Check whether a user can view or edit a post type.
*
- * @param string $post_type post type to check
- * @param string $context 'display' or 'edit'
+ * @param string $post_type post type to check.
+ * @param string $context 'display' or 'edit'.
* @return bool
*/
- function current_user_can_access_post_type( $post_type, $context = 'display' ) {
+ public function current_user_can_access_post_type( $post_type, $context = 'display' ) {
$post_type_object = get_post_type_object( $post_type );
if ( ! $post_type_object ) {
return false;
@@ -1786,23 +2015,30 @@ abstract class WPCOM_JSON_API_Endpoint {
}
}
- function is_post_type_allowed( $post_type ) {
- // if the post type is empty, that's fine, WordPress will default to post
+ /**
+ * Is the post type allowed?
+ *
+ * @param string $post_type Post type.
+ * @return bool
+ */
+ public function is_post_type_allowed( $post_type ) {
+ // if the post type is empty, that's fine, WordPress will default to post.
if ( empty( $post_type ) ) {
return true;
}
- // allow special 'any' type
- if ( 'any' == $post_type ) {
+ // allow special 'any' type.
+ if ( 'any' === $post_type ) {
return true;
}
- // check for allowed types
- if ( in_array( $post_type, $this->_get_whitelisted_post_types() ) ) {
+ // check for allowed types.
+ if ( in_array( $post_type, $this->_get_whitelisted_post_types(), true ) ) {
return true;
}
- if ( $post_type_object = get_post_type_object( $post_type ) ) {
+ $post_type_object = get_post_type_object( $post_type );
+ if ( $post_type_object ) {
if ( ! empty( $post_type_object->show_in_rest ) ) {
return $post_type_object->show_in_rest;
}
@@ -1819,7 +2055,7 @@ abstract class WPCOM_JSON_API_Endpoint {
*
* @return array Whitelisted post types.
*/
- protected function _get_whitelisted_post_types() {
+ protected function _get_whitelisted_post_types() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore -- Legacy.
$allowed_types = array( 'post', 'page', 'revision' );
/**
@@ -1836,30 +2072,105 @@ abstract class WPCOM_JSON_API_Endpoint {
return array_unique( $allowed_types );
}
- function handle_media_creation_v1_1( $media_files, $media_urls, $media_attrs = array(), $force_parent_id = false ) {
+ /**
+ * Mobile apps are allowed free video uploads, but limited to 5 minutes in length.
+ *
+ * @param array $media_item the media item to evaluate.
+ *
+ * @return bool true if the media item is a video that was uploaded via the mobile
+ * app that is longer than 5 minutes.
+ */
+ public function media_item_is_free_video_mobile_upload_and_too_long( $media_item ) {
+ if ( ! $media_item ) {
+ return false;
+ }
+
+ // Verify file is a video.
+ $is_video = preg_match( '@^video/@', $media_item['type'] );
+ if ( ! $is_video ) {
+ return false;
+ }
+
+ // Check if the request is from a mobile app, where we allow free video uploads at limited length.
+ if ( ! in_array( $this->api->token_details['client_id'], VIDEOPRESS_ALLOWED_REST_API_CLIENT_IDS, true ) ) {
+ return false;
+ }
+
+ // We're only worried about free sites.
+ require_once WP_CONTENT_DIR . '/admin-plugins/wpcom-billing.php';
+ $current_plan = WPCOM_Store_API::get_current_plan( get_current_blog_id() );
+ if ( ! $current_plan['is_free'] ) {
+ return false;
+ }
+
+ // Check if video is longer than 5 minutes.
+ $video_meta = wp_read_video_metadata( $media_item['tmp_name'] );
+ if (
+ false !== $video_meta &&
+ isset( $video_meta['length'] ) &&
+ 5 * MINUTE_IN_SECONDS < $video_meta['length']
+ ) {
+ videopress_log(
+ 'videopress_app_upload_length_block',
+ 'Mobile app upload on free site blocked because length was longer than 5 minutes.',
+ null,
+ null,
+ null,
+ null,
+ array(
+ 'blog_id' => get_current_blog_id(),
+ 'user_id' => get_current_user_id(),
+ )
+ );
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Handle a v1.1 media creation.
+ *
+ * Only one of $media_files and $media_urls should be non-empty.
+ *
+ * @param array $media_files File upload data.
+ * @param array $media_urls URLs to fetch.
+ * @param array $media_attrs Attributes corresponding to each entry in `$media_files`/`$media_urls`.
+ * @param int|false $force_parent_id Force the parent ID, overriding `$media_attrs[]['parent_id']`.
+ * @return array Two items:
+ * - media_ids: IDs created, by index in `$media_files`/`$media_urls`.
+ * - errors: Errors encountered, by index in `$media_files`/`$media_urls`.
+ */
+ public function handle_media_creation_v1_1( $media_files, $media_urls, $media_attrs = array(), $force_parent_id = false ) {
add_filter( 'upload_mimes', array( $this, 'allow_video_uploads' ) );
- $media_ids = $errors = array();
+ $media_ids = array();
+ $errors = array();
$user_can_upload_files = current_user_can( 'upload_files' ) || $this->api->is_authorized_with_upload_token();
- $media_attrs = array_values( $media_attrs ); // reset the keys
+ $media_attrs = array_values( $media_attrs ); // reset the keys.
$i = 0;
if ( ! empty( $media_files ) ) {
$this->api->trap_wp_die( 'upload_error' );
foreach ( $media_files as $media_item ) {
$_FILES['.api.media.item.'] = $media_item;
+
if ( ! $user_can_upload_files ) {
$media_id = new WP_Error( 'unauthorized', 'User cannot upload media.', 403 );
} else {
- if ( $force_parent_id ) {
- $parent_id = absint( $force_parent_id );
- } elseif ( ! empty( $media_attrs[ $i ] ) && ! empty( $media_attrs[ $i ]['parent_id'] ) ) {
- $parent_id = absint( $media_attrs[ $i ]['parent_id'] );
+ if ( $this->media_item_is_free_video_mobile_upload_and_too_long( $media_item ) ) {
+ $media_id = new WP_Error( 'upload_video_length', 'Video uploads longer than 5 minutes require a paid plan.', 400 );
} else {
- $parent_id = 0;
+ if ( $force_parent_id ) {
+ $parent_id = absint( $force_parent_id );
+ } elseif ( ! empty( $media_attrs[ $i ] ) && ! empty( $media_attrs[ $i ]['parent_id'] ) ) {
+ $parent_id = absint( $media_attrs[ $i ]['parent_id'] );
+ } else {
+ $parent_id = 0;
+ }
+ $media_id = media_handle_upload( '.api.media.item.', $parent_id );
}
- $media_id = media_handle_upload( '.api.media.item.', $parent_id );
}
if ( is_wp_error( $media_id ) ) {
$errors[ $i ]['file'] = $media_item['name'];
@@ -1912,7 +2223,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$attrs = $media_attrs[ $index ];
$insert = array();
- // Attributes: Title, Caption, Description
+ // Attributes: Title, Caption, Description.
if ( isset( $attrs['title'] ) ) {
$insert['post_title'] = $attrs['title'];
@@ -1931,14 +2242,14 @@ abstract class WPCOM_JSON_API_Endpoint {
wp_update_post( (object) $insert );
}
- // Attributes: Alt
+ // Attributes: Alt.
if ( isset( $attrs['alt'] ) ) {
$alt = wp_strip_all_tags( $attrs['alt'], true );
update_post_meta( $media_id, '_wp_attachment_image_alt', $alt );
}
- // Attributes: Artist, Album
+ // Attributes: Artist, Album.
$id3_meta = array();
@@ -1949,7 +2260,7 @@ abstract class WPCOM_JSON_API_Endpoint {
}
if ( ! empty( $id3_meta ) ) {
- // Before updating metadata, ensure that the item is audio
+ // Before updating metadata, ensure that the item is audio.
$item = $this->get_media_item_v1_1( $media_id );
if ( 0 === strpos( $item->mime_type, 'audio/' ) ) {
wp_update_attachment_metadata( $media_id, $id3_meta );
@@ -1965,12 +2276,20 @@ abstract class WPCOM_JSON_API_Endpoint {
}
- function handle_media_sideload( $url, $parent_post_id = 0, $type = 'any' ) {
+ /**
+ * Handle a media sideload.
+ *
+ * @param string $url URL.
+ * @param int $parent_post_id Parent post ID.
+ * @param string $type Type.
+ * @return int|WP_Error|false Media post ID, or error, or false if nothing was sideloaded.
+ */
+ public function handle_media_sideload( $url, $parent_post_id = 0, $type = 'any' ) {
if ( ! function_exists( 'download_url' ) || ! function_exists( 'media_handle_sideload' ) ) {
return false;
}
- // if we didn't get a URL, let's bail
+ // if we didn't get a URL, let's bail.
$parsed = wp_parse_url( $url );
if ( empty( $parsed ) ) {
return false;
@@ -1984,11 +2303,11 @@ abstract class WPCOM_JSON_API_Endpoint {
// First check to see if we get a mime-type match by file, otherwise, check to
// see if WordPress supports this file as an image. If neither, then it is not supported.
if ( ! $this->is_file_supported_for_sideloading( $tmp ) || 'image' === $type && ! file_is_displayable_image( $tmp ) ) {
- @unlink( $tmp );
+ @unlink( $tmp ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
return new WP_Error( 'invalid_input', 'Invalid file type.', 403 );
}
- // emulate a $_FILES entry
+ // emulate a $_FILES entry.
$file_array = array(
'name' => basename( wp_parse_url( $url, PHP_URL_PATH ) ),
'tmp_name' => $tmp,
@@ -1996,7 +2315,7 @@ abstract class WPCOM_JSON_API_Endpoint {
$id = media_handle_sideload( $file_array, $parent_post_id );
if ( file_exists( $tmp ) ) {
- @unlink( $tmp );
+ @unlink( $tmp ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
}
if ( is_wp_error( $id ) ) {
@@ -2021,23 +2340,29 @@ abstract class WPCOM_JSON_API_Endpoint {
return jetpack_is_file_supported_for_sideloading( $file );
}
- function allow_video_uploads( $mimes ) {
- // if we are on Jetpack, bail - Videos are already allowed
+ /**
+ * Filter for `upload_mimes`.
+ *
+ * @param array $mimes Allowed mime types.
+ * @return array Allowed mime types.
+ */
+ public function allow_video_uploads( $mimes ) {
+ // if we are on Jetpack, bail - Videos are already allowed.
if ( ! defined( 'IS_WPCOM' ) || ! IS_WPCOM ) {
return $mimes;
}
- // extra check that this filter is only ever applied during REST API requests
+ // extra check that this filter is only ever applied during REST API requests.
if ( ! defined( 'REST_API_REQUEST' ) || ! REST_API_REQUEST ) {
return $mimes;
}
// bail early if they already have the upgrade..
- if ( get_option( 'video_upgrade' ) == '1' ) {
+ if ( wpcom_site_has_videopress() ) {
return $mimes;
}
- // lets whitelist to only specific clients right now
+ // lets whitelist to only specific clients right now.
$clients_allowed_video_uploads = array();
/**
* Filter the list of whitelisted video clients.
@@ -2049,7 +2374,7 @@ abstract class WPCOM_JSON_API_Endpoint {
* @param array $clients_allowed_video_uploads Array of whitelisted Video clients.
*/
$clients_allowed_video_uploads = apply_filters( 'rest_api_clients_allowed_video_uploads', $clients_allowed_video_uploads );
- if ( ! in_array( $this->api->token_details['client_id'], $clients_allowed_video_uploads ) ) {
+ if ( ! in_array( $this->api->token_details['client_id'], $clients_allowed_video_uploads ) ) { // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict -- Check what types are expected here.
return $mimes;
}
@@ -2071,7 +2396,7 @@ abstract class WPCOM_JSON_API_Endpoint {
if ( ! empty( $video_exts ) ) {
foreach ( $video_exts as $ext ) {
foreach ( $mime_list as $ext_pattern => $mime ) {
- if ( $ext != '' && strpos( $ext_pattern, $ext ) !== false ) {
+ if ( '' !== $ext && strpos( $ext_pattern, $ext ) !== false ) {
$video_mimes[ $ext_pattern ] = $mime;
}
}
@@ -2083,7 +2408,12 @@ abstract class WPCOM_JSON_API_Endpoint {
return $mimes;
}
- function is_current_site_multi_user() {
+ /**
+ * Is the current site multi-user?
+ *
+ * @return bool
+ */
+ public function is_current_site_multi_user() {
$users = wp_cache_get( 'site_user_count', 'WPCOM_JSON_API_Endpoint' );
if ( false === $users ) {
$user_query = new WP_User_Query(
@@ -2098,12 +2428,24 @@ abstract class WPCOM_JSON_API_Endpoint {
return $users > 1;
}
- function allows_cross_origin_requests() {
- return 'GET' == $this->method || $this->allow_cross_origin_request;
+ /**
+ * Whether cross-origin requests are allowed.
+ *
+ * @return bool
+ */
+ public function allows_cross_origin_requests() {
+ return 'GET' === $this->method || $this->allow_cross_origin_request;
}
- function allows_unauthorized_requests( $origin, $complete_access_origins ) {
- return 'GET' == $this->method || ( $this->allow_unauthorized_request && in_array( $origin, $complete_access_origins ) );
+ /**
+ * Whether unauthorized requests are allowed.
+ *
+ * @param string $origin Origin.
+ * @param string[] $complete_access_origins Access origins.
+ * @return bool
+ */
+ public function allows_unauthorized_requests( $origin, $complete_access_origins ) {
+ return 'GET' === $this->method || ( $this->allow_unauthorized_request && in_array( $origin, $complete_access_origins, true ) );
}
/**
@@ -2119,7 +2461,12 @@ abstract class WPCOM_JSON_API_Endpoint {
$this->api->is_jetpack_authorized_for_site();
}
- function get_platform() {
+ /**
+ * Get platform.
+ *
+ * @return WPORG_Platform
+ */
+ public function get_platform() {
return wpcom_get_sal_platform( $this->api->token_details );
}
@@ -2129,10 +2476,10 @@ abstract class WPCOM_JSON_API_Endpoint {
*
* Override this method if you want to do something different.
*
- * @param int $blog_id
+ * @param int $blog_id Blog ID.
* @return bool
*/
- function force_wpcom_request( $blog_id ) {
+ public function force_wpcom_request( $blog_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return false;
}
@@ -2143,7 +2490,7 @@ abstract class WPCOM_JSON_API_Endpoint {
* @return array
*/
public function get_amp_cache_origins( $siteurl ) {
- $host = parse_url( $siteurl, PHP_URL_HOST );
+ $host = wp_parse_url( $siteurl, PHP_URL_HOST );
/*
* From AMP docs:
@@ -2182,7 +2529,6 @@ abstract class WPCOM_JSON_API_Endpoint {
*/
abstract public function callback( $path = '' );
-
}
-require_once dirname( __FILE__ ) . '/json-endpoints.php';
+require_once __DIR__ . '/json-endpoints.php';
diff --git a/plugins/jetpack/class.json-api.php b/plugins/jetpack/class.json-api.php
index 7611b725..741b9466 100644
--- a/plugins/jetpack/class.json-api.php
+++ b/plugins/jetpack/class.json-api.php
@@ -1,43 +1,170 @@
-<?php
-
-defined( 'WPCOM_JSON_API__DEBUG' ) or define( 'WPCOM_JSON_API__DEBUG', false );
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack JSON API.
+ *
+ * @package automattic/jetpack
+ */
+
+if ( ! defined( 'WPCOM_JSON_API__DEBUG' ) ) {
+ define( 'WPCOM_JSON_API__DEBUG', false );
+}
-require_once dirname( __FILE__ ) . '/sal/class.json-api-platform.php';
+require_once __DIR__ . '/sal/class.json-api-platform.php';
+/**
+ * Jetpack JSON API.
+ */
class WPCOM_JSON_API {
- static $self = null;
+ /**
+ * Static instance.
+ *
+ * @todo This should be private.
+ * @var self|null
+ */
+ public static $self = null;
+ /**
+ * Registered endpoints.
+ *
+ * @var WPCOM_JSON_API_Endpoint[]
+ */
public $endpoints = array();
+ /**
+ * Token details.
+ *
+ * @var array
+ */
public $token_details = array();
- public $method = '';
- public $url = '';
- public $path = '';
- public $version = null;
- public $query = array();
- public $post_body = null;
- public $files = null;
+ /**
+ * Request HTTP method.
+ *
+ * @var string
+ */
+ public $method = '';
+
+ /**
+ * Request URL.
+ *
+ * @var string
+ */
+ public $url = '';
+
+ /**
+ * Path part of the request URL.
+ *
+ * @var string
+ */
+ public $path = '';
+
+ /**
+ * Version extracted from the request URL.
+ *
+ * @var string|null
+ */
+ public $version = null;
+
+ /**
+ * Parsed query data.
+ *
+ * @var array
+ */
+ public $query = array();
+
+ /**
+ * Post body, if the request is a POST.
+ *
+ * @var string|null
+ */
+ public $post_body = null;
+
+ /**
+ * Copy of `$_FILES` if the request is a POST.
+ *
+ * @var null|array
+ */
+ public $files = null;
+
+ /**
+ * Content type of the request.
+ *
+ * @var string|null
+ */
public $content_type = null;
- public $accept = '';
- public $_server_https;
- public $exit = true;
+ /**
+ * Value of `$_SERVER['HTTP_ACCEPT']`, if any
+ *
+ * @var string
+ */
+ public $accept = '';
+
+ /**
+ * Value of `$_SERVER['HTTPS']`, or "--UNset--" if unset.
+ *
+ * @var string
+ */
+ public $_server_https; // phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
+
+ /**
+ * Whether to exit after serving a response.
+ *
+ * @var bool
+ */
+ public $exit = true;
+
+ /**
+ * Public API scheme.
+ *
+ * @var string
+ */
public $public_api_scheme = 'https';
+ /**
+ * Output status code.
+ *
+ * @var int
+ */
public $output_status_code = 200;
+ /**
+ * Trapped error.
+ *
+ * @var null|array
+ */
public $trapped_error = null;
- public $did_output = false;
+ /**
+ * Whether output has been done.
+ *
+ * @var bool
+ */
+ public $did_output = false;
+
+ /**
+ * Extra HTTP headers.
+ *
+ * @var string
+ */
public $extra_headers = array();
+ /**
+ * AMP source origin.
+ *
+ * @var string
+ */
public $amp_source_origin = null;
/**
+ * Initialize.
+ *
+ * @param string|null $method As for `$this->setup_inputs()`.
+ * @param string|null $url As for `$this->setup_inputs()`.
+ * @param string|null $post_body As for `$this->setup_inputs()`.
* @return WPCOM_JSON_API instance
*/
- static function init( $method = null, $url = null, $post_body = null ) {
+ public static function init( $method = null, $url = null, $post_body = null ) {
if ( ! self::$self ) {
$class = function_exists( 'get_called_class' ) ? get_called_class() : __CLASS__; // phpcs:ignore PHPCompatibility.PHP.NewFunctions.get_called_classFound
self::$self = new $class( $method, $url, $post_body );
@@ -45,7 +172,14 @@ class WPCOM_JSON_API {
return self::$self;
}
- function add( WPCOM_JSON_API_Endpoint $endpoint ) {
+ /**
+ * Add an endpoint.
+ *
+ * @param WPCOM_JSON_API_Endpoint $endpoint Endpoint to add.
+ */
+ public function add( WPCOM_JSON_API_Endpoint $endpoint ) {
+ // @todo Determine if anything depends on this being serialized rather than e.g. JSON.
+ // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize -- Legacy, possibly depended on elsewhere.
$path_versions = serialize(
array(
$endpoint->path,
@@ -59,7 +193,13 @@ class WPCOM_JSON_API {
$this->endpoints[ $path_versions ][ $endpoint->method ] = $endpoint;
}
- static function is_truthy( $value ) {
+ /**
+ * Determine if a string is truthy.
+ *
+ * @param string $value "1", "t", and "true" (case insensitive) are falsey, everything else isn't.
+ * @return bool
+ */
+ public static function is_truthy( $value ) {
switch ( strtolower( (string) $value ) ) {
case '1':
case 't':
@@ -70,7 +210,13 @@ class WPCOM_JSON_API {
return false;
}
- static function is_falsy( $value ) {
+ /**
+ * Determine if a string is falsey.
+ *
+ * @param string $value "0", "f", and "false" (case insensitive) are falsey, everything else isn't.
+ * @return bool
+ */
+ public static function is_falsy( $value ) {
switch ( strtolower( (string) $value ) ) {
case '0':
case 'f':
@@ -81,18 +227,34 @@ class WPCOM_JSON_API {
return false;
}
- function __construct( ...$args ) {
- call_user_func_array( array( $this, 'setup_inputs' ), $args );
+ /**
+ * Constructor.
+ *
+ * @todo This should be private.
+ * @param string|null $method As for `$this->setup_inputs()`.
+ * @param string|null $url As for `$this->setup_inputs()`.
+ * @param string|null $post_body As for `$this->setup_inputs()`.
+ */
+ public function __construct( $method = null, $url = null, $post_body = null ) {
+ $this->setup_inputs( $method, $url, $post_body );
}
- function setup_inputs( $method = null, $url = null, $post_body = null ) {
- if ( is_null( $method ) ) {
- $this->method = strtoupper( $_SERVER['REQUEST_METHOD'] );
+ /**
+ * Setup inputs.
+ *
+ * @param string|null $method Request HTTP method. Fetched from `$_SERVER` if null.
+ * @param string|null $url URL requested. Determined from `$_SERVER` if null.
+ * @param string|null $post_body POST body. Read from `php://input` if null and method is POST.
+ */
+ public function setup_inputs( $method = null, $url = null, $post_body = null ) {
+ if ( $method === null ) {
+ $this->method = isset( $_SERVER['REQUEST_METHOD'] ) ? strtoupper( filter_var( wp_unslash( $_SERVER['REQUEST_METHOD'] ) ) ) : '';
} else {
$this->method = strtoupper( $method );
}
- if ( is_null( $url ) ) {
- $this->url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
+ if ( $url === null ) {
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sniff misses the esc_url_raw.
+ $this->url = esc_url_raw( set_url_scheme( 'http://' . ( isset( $_SERVER['HTTP_HOST'] ) ? wp_unslash( $_SERVER['HTTP_HOST'] ) : '' ) . ( isset( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : '' ) ) );
} else {
$this->url = $url;
}
@@ -106,18 +268,18 @@ class WPCOM_JSON_API {
wp_parse_str( $parsed['query'], $this->query );
}
- if ( isset( $_SERVER['HTTP_ACCEPT'] ) && $_SERVER['HTTP_ACCEPT'] ) {
- $this->accept = $_SERVER['HTTP_ACCEPT'];
+ if ( ! empty( $_SERVER['HTTP_ACCEPT'] ) ) {
+ $this->accept = filter_var( wp_unslash( $_SERVER['HTTP_ACCEPT'] ) );
}
if ( 'POST' === $this->method ) {
- if ( is_null( $post_body ) ) {
+ if ( $post_body === null ) {
$this->post_body = file_get_contents( 'php://input' );
- if ( isset( $_SERVER['HTTP_CONTENT_TYPE'] ) && $_SERVER['HTTP_CONTENT_TYPE'] ) {
- $this->content_type = $_SERVER['HTTP_CONTENT_TYPE'];
- } elseif ( isset( $_SERVER['CONTENT_TYPE'] ) && $_SERVER['CONTENT_TYPE'] ) {
- $this->content_type = $_SERVER['CONTENT_TYPE'];
+ if ( ! empty( $_SERVER['HTTP_CONTENT_TYPE'] ) ) {
+ $this->content_type = filter_var( wp_unslash( $_SERVER['HTTP_CONTENT_TYPE'] ) );
+ } elseif ( ! empty( $_SERVER['CONTENT_TYPE'] ) ) {
+ $this->content_type = filter_var( wp_unslash( $_SERVER['CONTENT_TYPE'] ) );
} elseif ( '{' === $this->post_body[0] ) {
$this->content_type = 'application/json';
} else {
@@ -125,24 +287,31 @@ class WPCOM_JSON_API {
}
if ( 0 === strpos( strtolower( $this->content_type ), 'multipart/' ) ) {
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing
$this->post_body = http_build_query( stripslashes_deep( $_POST ) );
$this->files = $_FILES;
$this->content_type = 'multipart/form-data';
}
} else {
$this->post_body = $post_body;
- $this->content_type = '{' === isset( $this->post_body[0] ) && $this->post_body[0] ? 'application/json' : 'application/x-www-form-urlencoded';
+ $this->content_type = isset( $this->post_body[0] ) && '{' === $this->post_body[0] ? 'application/json' : 'application/x-www-form-urlencoded';
}
} else {
$this->post_body = null;
$this->content_type = null;
}
- $this->_server_https = array_key_exists( 'HTTPS', $_SERVER ) ? $_SERVER['HTTPS'] : '--UNset--';
+ $this->_server_https = array_key_exists( 'HTTPS', $_SERVER ) ? filter_var( wp_unslash( $_SERVER['HTTPS'] ) ) : '--UNset--';
}
- function initialize() {
+ /**
+ * Initialize.
+ *
+ * @return null|WP_Error (although this implementation always returns null)
+ */
+ public function initialize() {
$this->token_details['blog_id'] = Jetpack_Options::get_option( 'id' );
+ return null;
}
/**
@@ -179,14 +348,20 @@ class WPCOM_JSON_API {
return true;
}
- function serve( $exit = true ) {
- ini_set( 'display_errors', false );
+ /**
+ * Serve.
+ *
+ * @param bool $exit Whether to exit.
+ * @return string|null Content type (assuming it didn't exit), or null in certain error cases.
+ */
+ public function serve( $exit = true ) {
+ ini_set( 'display_errors', false ); // phpcs:ignore WordPress.PHP.IniSet.display_errors_Blacklisted
$this->exit = (bool) $exit;
// This was causing problems with Jetpack, but is necessary for wpcom
// @see https://github.com/Automattic/jetpack/pull/2603
- // @see r124548-wpcom
+ // @see r124548-wpcom .
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
add_filter( 'home_url', array( $this, 'ensure_http_scheme_of_home_url' ), 10, 3 );
}
@@ -196,7 +371,7 @@ class WPCOM_JSON_API {
add_filter( 'comment_edit_pre', array( $this, 'comment_edit_pre' ) );
$initialization = $this->initialize();
- if ( 'OPTIONS' == $this->method ) {
+ if ( 'OPTIONS' === $this->method ) {
/**
* Fires before the page output.
* Can be used to specify custom header options.
@@ -214,7 +389,7 @@ class WPCOM_JSON_API {
return;
}
- // Normalize path and extract API version
+ // Normalize path and extract API version.
$this->path = untrailingslashit( $this->path );
preg_match( '#^/rest/v(\d+(\.\d+)*)#', $this->path, $matches );
$this->path = substr( $this->path, strlen( $matches[0] ) );
@@ -229,15 +404,15 @@ class WPCOM_JSON_API {
if ( $is_help ) {
$origin = get_http_origin();
- if ( ! empty( $origin ) && 'GET' == $this->method ) {
+ if ( ! empty( $origin ) && 'GET' === $this->method ) {
header( 'Access-Control-Allow-Origin: ' . esc_url_raw( $origin ) );
}
$this->path = substr( rtrim( $this->path, '/' ), 0, -5 );
- // Show help for all matching endpoints regardless of method
+ // Show help for all matching endpoints regardless of method.
$methods = $allowed_methods;
$find_all_matching_endpoints = true;
- // How deep to truncate each endpoint's path to see if it matches this help request
+ // How deep to truncate each endpoint's path to see if it matches this help request.
$depth = substr_count( $this->path, '/' ) + 1;
if ( false !== stripos( $this->accept, 'javascript' ) || false !== stripos( $this->accept, 'json' ) ) {
$help_content_type = 'json';
@@ -245,27 +420,29 @@ class WPCOM_JSON_API {
$help_content_type = 'html';
}
} else {
- if ( in_array( $this->method, $allowed_methods ) ) {
- // Only serve requested method
+ if ( in_array( $this->method, $allowed_methods, true ) ) {
+ // Only serve requested method.
$methods = array( $this->method );
$find_all_matching_endpoints = false;
} else {
- // We don't allow this requested method - find matching endpoints and send 405
+ // We don't allow this requested method - find matching endpoints and send 405.
$methods = $allowed_methods;
$find_all_matching_endpoints = true;
$four_oh_five = true;
}
}
- // Find which endpoint to serve
+ // Find which endpoint to serve.
$found = false;
foreach ( $this->endpoints as $endpoint_path_versions => $endpoints_by_method ) {
+ // @todo Determine if anything depends on this being serialized rather than e.g. JSON.
+ // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize -- Legacy, possibly depended on elsewhere.
$endpoint_path_versions = unserialize( $endpoint_path_versions );
$endpoint_path = $endpoint_path_versions[0];
$endpoint_min_version = $endpoint_path_versions[1];
$endpoint_max_version = $endpoint_path_versions[2];
- // Make sure max_version is not less than min_version
+ // Make sure max_version is not less than min_version.
if ( version_compare( $endpoint_max_version, $endpoint_min_version, '<' ) ) {
$endpoint_max_version = $endpoint_min_version;
}
@@ -275,14 +452,14 @@ class WPCOM_JSON_API {
continue;
}
- // Normalize
+ // Normalize.
$endpoint_path = untrailingslashit( $endpoint_path );
if ( $is_help ) {
- // Truncate path at help depth
+ // Truncate path at help depth.
$endpoint_path = join( '/', array_slice( explode( '/', $endpoint_path ), 0, $depth ) );
}
- // Generate regular expression from sprintf()
+ // Generate regular expression from sprintf().
$endpoint_path_regex = str_replace( array( '%s', '%d' ), array( '([^/?&]+)', '(\d+)' ), $endpoint_path );
if ( ! preg_match( "#^$endpoint_path_regex\$#", $this->path, $path_pieces ) ) {
@@ -300,7 +477,7 @@ class WPCOM_JSON_API {
if ( $find_all_matching_endpoints ) {
$matching_endpoints[] = array( $endpoints_by_method[ $method ], $path_pieces );
} else {
- // The method parameters are now in $path_pieces
+ // The method parameters are now in $path_pieces.
$endpoint = $endpoints_by_method[ $method ];
break 2;
}
@@ -377,12 +554,26 @@ class WPCOM_JSON_API {
return $this->output( $output_status_code, $response, 'application/json', $this->extra_headers );
}
- function process_request( WPCOM_JSON_API_Endpoint $endpoint, $path_pieces ) {
+ /**
+ * Process a request.
+ *
+ * @param WPCOM_JSON_API_Endpoint $endpoint Endpoint.
+ * @param array $path_pieces Path pieces.
+ * @return array|WP_Error Return value from the endpoint's callback.
+ */
+ public function process_request( WPCOM_JSON_API_Endpoint $endpoint, $path_pieces ) {
$this->endpoint = $endpoint;
return call_user_func_array( array( $endpoint, 'callback' ), $path_pieces );
}
- function output_early( $status_code, $response = null, $content_type = 'application/json' ) {
+ /**
+ * Output a response or error without exiting.
+ *
+ * @param int $status_code HTTP status code.
+ * @param mixed $response Response data.
+ * @param string $content_type Content type of the response.
+ */
+ public function output_early( $status_code, $response = null, $content_type = 'application/json' ) {
$exit = $this->exit;
$this->exit = false;
if ( is_wp_error( $response ) ) {
@@ -396,12 +587,28 @@ class WPCOM_JSON_API {
}
}
- function set_output_status_code( $code = 200 ) {
+ /**
+ * Set output status code.
+ *
+ * @param int $code HTTP status code.
+ */
+ public function set_output_status_code( $code = 200 ) {
$this->output_status_code = $code;
}
- function output( $status_code, $response = null, $content_type = 'application/json', $extra = array() ) {
- // In case output() was called before the callback returned
+ /**
+ * Output a response.
+ *
+ * @param int $status_code HTTP status code.
+ * @param mixed $response Response data.
+ * @param string $content_type Content type of the response.
+ * @param array $extra Additional HTTP headers.
+ * @return string Content type (assuming it didn't exit).
+ */
+ public function output( $status_code, $response = null, $content_type = 'application/json', $extra = array() ) {
+ $status_code = (int) $status_code;
+
+ // In case output() was called before the callback returned.
if ( $this->did_output ) {
if ( $this->exit ) {
exit;
@@ -411,7 +618,7 @@ class WPCOM_JSON_API {
$this->did_output = true;
// 400s and 404s are allowed for all origins
- if ( 404 == $status_code || 400 == $status_code ) {
+ if ( 404 === $status_code || 400 === $status_code ) {
header( 'Access-Control-Allow-Origin: *' );
}
@@ -421,8 +628,7 @@ class WPCOM_JSON_API {
header( 'Access-Control-Allow-Credentials: true' );
}
-
- if ( is_null( $response ) ) {
+ if ( $response === null ) {
$response = new stdClass();
}
@@ -433,7 +639,7 @@ class WPCOM_JSON_API {
foreach ( $extra as $key => $value ) {
header( "$key: $value" );
}
- echo $response;
+ echo $response; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
if ( $this->exit ) {
exit;
}
@@ -478,11 +684,11 @@ class WPCOM_JSON_API {
if ( $callback ) {
// Mitigate Rosetta Flash [1] by setting the Content-Type-Options: nosniff header
// and by prepending the JSONP response with a JS comment.
- // [1] https://blog.miki.it/2014/7/8/abusing-jsonp-with-rosetta-flash/index.html
- echo "/**/$callback(";
+ // [1] <https://blog.miki.it/2014/7/8/abusing-jsonp-with-rosetta-flash/index.html>.
+ echo "/**/$callback("; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- This is JSONP output, not HTML.
}
- echo $this->json_encode( $response );
+ echo $this->json_encode( $response ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- This is JSON or JSONP output, not HTML.
if ( $callback ) {
echo ');';
}
@@ -494,6 +700,12 @@ class WPCOM_JSON_API {
return $content_type;
}
+ /**
+ * Serialize an error.
+ *
+ * @param WP_Error $error Error.
+ * @return array with 'status_code' and 'errors' data.
+ */
public static function serializable_error( $error ) {
$status_code = $error->get_error_data();
@@ -510,7 +722,8 @@ class WPCOM_JSON_API {
'message' => $error->get_error_message(),
);
- if ( $additional_data = $error->get_error_data( 'additional_data' ) ) {
+ $additional_data = $error->get_error_data( 'additional_data' );
+ if ( $additional_data ) {
$response['data'] = $additional_data;
}
@@ -520,13 +733,25 @@ class WPCOM_JSON_API {
);
}
- function output_error( $error ) {
+ /**
+ * Output an error.
+ *
+ * @param WP_Error $error Error.
+ * @return string Content type (assuming it didn't exit).
+ */
+ public function output_error( $error ) {
$error_response = $this->serializable_error( $error );
return $this->output( $error_response['status_code'], $error_response['errors'] );
}
- function filter_fields( $response ) {
+ /**
+ * Filter fields in a response.
+ *
+ * @param array|object $response Response.
+ * @return array|object Filtered response.
+ */
+ public function filter_fields( $response ) {
if ( empty( $this->query['fields'] ) || ( is_array( $response ) && ! empty( $response['error'] ) ) || ! empty( $this->endpoint->custom_fields_filtering ) ) {
return $response;
}
@@ -566,6 +791,7 @@ class WPCOM_JSON_API {
foreach ( $response[ $key_to_filter ] as $key => $values ) {
if ( is_object( $values ) ) {
if ( is_object( $response[ $key_to_filter ] ) ) {
+ // phpcs:ignore Squiz.PHP.DisallowMultipleAssignments.Found -- False positive.
$response[ $key_to_filter ]->$key = (object) array_intersect_key( ( (array) $values ), array_flip( $fields ) );
} elseif ( is_array( $response[ $key_to_filter ] ) ) {
$response[ $key_to_filter ][ $key ] = (object) array_intersect_key( ( (array) $values ), array_flip( $fields ) );
@@ -590,7 +816,17 @@ class WPCOM_JSON_API {
return $response;
}
- function ensure_http_scheme_of_home_url( $url, $path, $original_scheme ) {
+ /**
+ * Filter for `home_url`.
+ *
+ * If `$original_scheme` is null, turns an https URL to http.
+ *
+ * @param string $url The complete home URL including scheme and path.
+ * @param string $path Path relative to the home URL. Blank string if no path is specified.
+ * @param string|null $original_scheme Scheme to give the home URL context. Accepts 'http', 'https', 'relative', 'rest', or null.
+ * @return string URL.
+ */
+ public function ensure_http_scheme_of_home_url( $url, $path, $original_scheme ) {
if ( $original_scheme ) {
return $url;
}
@@ -598,29 +834,64 @@ class WPCOM_JSON_API {
return preg_replace( '#^https:#', 'http:', $url );
}
- function comment_edit_pre( $comment_content ) {
+ /**
+ * Decode HTML special characters in comment content.
+ *
+ * @param string $comment_content Comment content.
+ * @return string
+ */
+ public function comment_edit_pre( $comment_content ) {
return htmlspecialchars_decode( $comment_content, ENT_QUOTES );
}
- function json_encode( $data ) {
+ /**
+ * JSON encode.
+ *
+ * @param mixed $data Data.
+ * @return string|false
+ */
+ public function json_encode( $data ) {
return wp_json_encode( $data );
}
- function ends_with( $haystack, $needle ) {
- return $needle === substr( $haystack, -strlen( $needle ) );
+ /**
+ * Test if a string ends with a string.
+ *
+ * @param string $haystack String to check.
+ * @param string $needle Suffix to check.
+ * @return bool
+ */
+ public function ends_with( $haystack, $needle ) {
+ return substr( $haystack, -strlen( $needle ) ) === $needle;
}
- // Returns the site's blog_id in the WP.com ecosystem
- function get_blog_id_for_output() {
+ /**
+ * Returns the site's blog_id in the WP.com ecosystem
+ *
+ * @return int
+ */
+ public function get_blog_id_for_output() {
return $this->token_details['blog_id'];
}
- // Returns the site's local blog_id
- function get_blog_id( $blog_id ) {
+ /**
+ * Returns the site's local blog_id.
+ *
+ * @param int $blog_id Blog ID.
+ * @return int
+ */
+ public function get_blog_id( $blog_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return $GLOBALS['blog_id'];
}
- function switch_to_blog_and_validate_user( $blog_id = 0, $verify_token_for_blog = true ) {
+ /**
+ * Switch to blog and validate user.
+ *
+ * @param int $blog_id Blog ID.
+ * @param bool $verify_token_for_blog Whether to verify the token.
+ * @return int Blog ID.
+ */
+ public function switch_to_blog_and_validate_user( $blog_id = 0, $verify_token_for_blog = true ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
if ( $this->is_restricted_blog( $blog_id ) ) {
return new WP_Error( 'unauthorized', 'User cannot access this restricted blog', 403 );
}
@@ -639,8 +910,13 @@ class WPCOM_JSON_API {
return $blog_id;
}
- // Returns true if the specified blog ID is a restricted blog
- function is_restricted_blog( $blog_id ) {
+ /**
+ * Returns true if the specified blog ID is a restricted blog
+ *
+ * @param int $blog_id Blog ID.
+ * @return bool
+ */
+ public function is_restricted_blog( $blog_id ) {
/**
* Filters all REST API access and return a 403 unauthorized response for all Restricted blog IDs.
*
@@ -651,30 +927,71 @@ class WPCOM_JSON_API {
* @param array $array Array of Blog IDs.
*/
$restricted_blog_ids = apply_filters( 'wpcom_json_api_restricted_blog_ids', array() );
- return true === in_array( $blog_id, $restricted_blog_ids );
+ return true === in_array( $blog_id, $restricted_blog_ids ); // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict -- I don't trust filters to return the right types.
}
- function post_like_count( $blog_id, $post_id ) {
+ /**
+ * Post like count.
+ *
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ * @return int
+ */
+ public function post_like_count( $blog_id, $post_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return 0;
}
- function is_liked( $blog_id, $post_id ) {
+ /**
+ * Is liked?
+ *
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ * @return bool
+ */
+ public function is_liked( $blog_id, $post_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return false;
}
- function is_reblogged( $blog_id, $post_id ) {
+ /**
+ * Is reblogged?
+ *
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ * @return bool
+ */
+ public function is_reblogged( $blog_id, $post_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return false;
}
- function is_following( $blog_id ) {
+ /**
+ * Is following?
+ *
+ * @param int $blog_id Blog ID.
+ * @return bool
+ */
+ public function is_following( $blog_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return false;
}
- function add_global_ID( $blog_id, $post_id ) {
+ /**
+ * Add global ID.
+ *
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ * @return string
+ */
+ public function add_global_ID( $blog_id, $post_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable, WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
return '';
}
- function get_avatar_url( $email, $avatar_size = null ) {
+ /**
+ * Get avatar URL.
+ *
+ * @param string $email Email.
+ * @param array $avatar_size Args for `get_avatar_url()`.
+ * @return string|false
+ */
+ public function get_avatar_url( $email, $avatar_size = null ) {
if ( function_exists( 'wpcom_get_avatar_url' ) ) {
return null === $avatar_size
? wpcom_get_avatar_url( $email )
@@ -689,7 +1006,7 @@ class WPCOM_JSON_API {
/**
* Counts the number of comments on a site, excluding certain comment types.
*
- * @param $post_id int Post ID.
+ * @param int $post_id Post ID.
* @return array Array of counts, matching the output of https://developer.wordpress.org/reference/functions/get_comment_count/.
*/
public function wp_count_comments( $post_id ) {
@@ -726,6 +1043,7 @@ class WPCOM_JSON_API {
implode( "','", $exclude )
);
+ // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- `$where` is built with escaping just above.
$count = $wpdb->get_results(
"SELECT comment_approved, COUNT(*) AS num_comments
FROM $wpdb->comments
@@ -733,6 +1051,7 @@ class WPCOM_JSON_API {
GROUP BY comment_approved
"
);
+ // phpcs:enable WordPress.DB.PreparedSQL.InterpolatedNotPrepared
$approved = array(
'0' => 'moderated',
@@ -742,7 +1061,7 @@ class WPCOM_JSON_API {
'post-trashed' => 'post-trashed',
);
- // https://developer.wordpress.org/reference/functions/get_comment_count/#source
+ // <https://developer.wordpress.org/reference/functions/get_comment_count/#source>
foreach ( $count as $row ) {
if ( ! in_array( $row->comment_approved, array( 'post-trashed', 'trash', 'spam' ), true ) ) {
$counts['all'] += $row->num_comments;
@@ -767,13 +1086,13 @@ class WPCOM_JSON_API {
}
/**
- * traps `wp_die()` calls and outputs a JSON response instead.
+ * Traps `wp_die()` calls and outputs a JSON response instead.
* The result is always output, never returned.
*
* @param string|null $error_code Call with string to start the trapping. Call with null to stop.
* @param int $http_status HTTP status code, 400 by default.
*/
- function trap_wp_die( $error_code = null, $http_status = 400 ) {
+ public function trap_wp_die( $error_code = null, $http_status = 400 ) {
// Determine the filter name; based on the conditionals inside the wp_die function.
if ( wp_is_json_request() ) {
$die_handler = 'wp_die_json_handler';
@@ -785,9 +1104,9 @@ class WPCOM_JSON_API {
$die_handler = 'wp_die_handler';
}
- if ( is_null( $error_code ) ) {
+ if ( $error_code === null ) {
$this->trapped_error = null;
- // Stop trapping
+ // Stop trapping.
remove_filter( $die_handler, array( $this, 'wp_die_handler_callback' ) );
return;
}
@@ -808,15 +1127,27 @@ class WPCOM_JSON_API {
'code' => $error_code,
'message' => '',
);
- // Start trapping
+ // Start trapping.
add_filter( $die_handler, array( $this, 'wp_die_handler_callback' ) );
}
- function wp_die_handler_callback() {
+ /**
+ * Filter function for `wp_die_handler` and similar filters.
+ *
+ * @return callable
+ */
+ public function wp_die_handler_callback() {
return array( $this, 'wp_die_handler' );
}
- function wp_die_handler( $message, $title = '', $args = array() ) {
+ /**
+ * Handler for `wp_die` calls.
+ *
+ * @param string|WP_Error $message As for `wp_die()`.
+ * @param string|int $title As for `wp_die()`.
+ * @param string|array|int $args As for `wp_die()`.
+ */
+ public function wp_die_handler( $message, $title = '', $args = array() ) {
// Allow wp_die calls to override HTTP status code...
$args = wp_parse_args(
$args,
@@ -826,7 +1157,7 @@ class WPCOM_JSON_API {
);
// ... unless it's 500
- if ( (int) $args['response'] !== 500 ) {
+ if ( 500 !== (int) $args['response'] ) {
$this->trapped_error['status'] = $args['response'];
}
@@ -847,12 +1178,15 @@ class WPCOM_JSON_API {
}
// We still want to exit so that code execution stops where it should.
- // Attach the JSON output to the WordPress shutdown handler
+ // Attach the JSON output to the WordPress shutdown handler.
add_action( 'shutdown', array( $this, 'output_trapped_error' ), 0 );
exit;
}
- function output_trapped_error() {
+ /**
+ * Output the trapped error.
+ */
+ public function output_trapped_error() {
$this->exit = false; // We're already exiting once. Don't do it twice.
$this->output(
$this->trapped_error['status'],
@@ -863,7 +1197,10 @@ class WPCOM_JSON_API {
);
}
- function finish_request() {
+ /**
+ * Finish the request.
+ */
+ public function finish_request() {
if ( function_exists( 'fastcgi_finish_request' ) ) {
return fastcgi_finish_request();
}
diff --git a/plugins/jetpack/class.photon.php b/plugins/jetpack/class.photon.php
index 1d74c748..ebdd4945 100644
--- a/plugins/jetpack/class.photon.php
+++ b/plugins/jetpack/class.photon.php
@@ -896,7 +896,7 @@ class Jetpack_Photon {
* @return array An array of Photon image urls and widths.
*/
public function filter_srcset_array( $sources = array(), $size_array = array(), $image_src = array(), $image_meta = array(), $attachment_id = 0 ) {
- if ( ! is_array( $sources ) ) {
+ if ( ! is_array( $sources ) || array() === $sources ) {
return $sources;
}
$upload_dir = wp_get_upload_dir();
@@ -1092,7 +1092,7 @@ class Jetpack_Photon {
}
// Bail if no host is found.
- if ( is_null( $url_info['host'] ) ) {
+ if ( $url_info['host'] === null ) {
return false;
}
@@ -1102,7 +1102,7 @@ class Jetpack_Photon {
}
// Bail if no path is found.
- if ( is_null( $url_info['path'] ) ) {
+ if ( $url_info['path'] === null ) {
return false;
}
diff --git a/plugins/jetpack/composer.json b/plugins/jetpack/composer.json
index 9cff56df..643f53af 100644
--- a/plugins/jetpack/composer.json
+++ b/plugins/jetpack/composer.json
@@ -12,69 +12,62 @@
"ext-json": "*",
"ext-openssl": "*",
"automattic/jetpack-a8c-mc-stats": "^1.4",
- "automattic/jetpack-abtest": "^1.9",
- "automattic/jetpack-assets": "^1.16",
- "automattic/jetpack-autoloader": "^2.10",
- "automattic/jetpack-backup": "^1.2",
+ "automattic/jetpack-abtest": "^1.10",
+ "automattic/jetpack-assets": "^1.17",
+ "automattic/jetpack-autoloader": "^2.11",
+ "automattic/jetpack-backup": "^1.3",
"automattic/jetpack-blocks": "^1.4",
- "automattic/jetpack-compat": "^1.6",
- "automattic/jetpack-composer-plugin": "^1.0",
- "automattic/jetpack-config": "^1.6",
- "automattic/jetpack-connection": "^1.34",
- "automattic/jetpack-connection-ui": "^2.3",
+ "automattic/jetpack-compat": "^1.7",
+ "automattic/jetpack-composer-plugin": "^1.1",
+ "automattic/jetpack-config": "^1.9",
+ "automattic/jetpack-connection": "^1.40",
+ "automattic/jetpack-connection-ui": "^2.4",
"automattic/jetpack-constants": "^1.6",
"automattic/jetpack-device-detection": "^1.4",
"automattic/jetpack-error": "^1.3",
- "automattic/jetpack-heartbeat": "^1.4",
- "automattic/jetpack-identity-crisis": "^0.6",
+ "automattic/jetpack-google-fonts-provider": "^0.3.0",
+ "automattic/jetpack-identity-crisis": "^0.8.12",
"automattic/jetpack-jitm": "^2.2",
"automattic/jetpack-lazy-images": "^2.1",
- "automattic/jetpack-licensing": "^1.6",
+ "automattic/jetpack-licensing": "^1.7",
"automattic/jetpack-logo": "^1.5",
- "automattic/jetpack-my-jetpack": "^0.3",
- "automattic/jetpack-options": "^1.14",
- "automattic/jetpack-partner": "^1.6",
+ "automattic/jetpack-my-jetpack": "^1.6",
+ "automattic/jetpack-partner": "^1.7",
+ "automattic/jetpack-plugins-installer": "^0.1.2",
+ "automattic/jetpack-publicize": "^0.5.0",
"automattic/jetpack-redirect": "^1.7",
"automattic/jetpack-roles": "^1.4",
- "automattic/jetpack-search": "^0.4",
- "automattic/jetpack-status": "^1.9",
- "automattic/jetpack-sync": "^1.28",
- "automattic/jetpack-terms-of-service": "^1.9",
- "automattic/jetpack-tracking": "^1.14",
+ "automattic/jetpack-search": "^0.14.2",
+ "automattic/jetpack-status": "^1.13",
+ "automattic/jetpack-sync": "^1.35",
+ "automattic/jetpack-waf": "^0.6.0",
+ "automattic/jetpack-wordads": "^0.2.4",
"nojimage/twitter-text-php": "3.1.2"
},
"require-dev": {
- "antecedent/patchwork": "2.1.17",
- "automattic/jetpack-changelogger": "^3.0",
+ "antecedent/patchwork": "2.1.21",
+ "automattic/jetpack-changelogger": "^3.1",
"johnkary/phpunit-speedtrap": "^4.0.0 || ^2.0.0 || ^1.1.0",
"yoast/phpunit-polyfills": "1.0.3"
},
"scripts": {
"build-production": [
- "Composer\\Config::disableProcessTimeout",
"pnpm run build-production-concurrently"
],
"build-development": [
- "Composer\\Config::disableProcessTimeout",
"pnpm run build-concurrently"
],
"phpunit": [
"tests/action-phpunit.sh"
],
"test-coverage": [
- "Composer\\Config::disableProcessTimeout",
- "@composer install",
"@php tools/build-module-headings-translations.php",
"tests/action-test-coverage.sh"
],
"test-js": [
- "Composer\\Config::disableProcessTimeout",
- "pnpm install",
- "pnpx concurrently 'pnpm:test-adminpage' 'pnpm:test-extensions' 'pnpm:test-search'"
+ "pnpm concurrently 'pnpm:test-adminpage' 'pnpm:test-extensions'"
],
"test-php": [
- "Composer\\Config::disableProcessTimeout",
- "@composer install",
"@php tools/build-module-headings-translations.php",
"tests/action-test-php.sh"
],
@@ -96,7 +89,11 @@
"platform": {
"ext-intl": "0.0.0"
},
- "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5"
+ "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0",
+ "allow-plugins": {
+ "automattic/jetpack-autoloader": true,
+ "automattic/jetpack-composer-plugin": true
+ }
},
"extra": {
"mirror-repo": "Automattic/jetpack-production",
diff --git a/plugins/jetpack/css/cleanslate-rtl.css b/plugins/jetpack/css/cleanslate-rtl.css
index 42143ba2..d761d44f 100644
--- a/plugins/jetpack/css/cleanslate-rtl.css
+++ b/plugins/jetpack/css/cleanslate-rtl.css
@@ -1,7 +1,4 @@
/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
-/*!
* CleanSlate
* github.com/premasagar/cleanslate
*
@@ -479,4 +476,3 @@
.cleanslate pre {
white-space: pre !important;
}
-/*# sourceMappingURL=cleanslate-rtl.css.map */
diff --git a/plugins/jetpack/css/cleanslate-rtl.min.css b/plugins/jetpack/css/cleanslate-rtl.min.css
index 207b630a..ace3da92 100644
--- a/plugins/jetpack/css/cleanslate-rtl.min.css
+++ b/plugins/jetpack/css/cleanslate-rtl.min.css
@@ -1,7 +1,5 @@
/*!
-* Do not modify this file directly. It is compiled SASS code.
-*//*!
* CleanSlate
* github.com/premasagar/cleanslate
*
-*/.cleanslate,.cleanslate a,.cleanslate abbr,.cleanslate acronym,.cleanslate address,.cleanslate applet,.cleanslate area,.cleanslate article,.cleanslate aside,.cleanslate audio,.cleanslate b,.cleanslate big,.cleanslate blockquote,.cleanslate button,.cleanslate canvas,.cleanslate caption,.cleanslate cite,.cleanslate code,.cleanslate col,.cleanslate colgroup,.cleanslate datalist,.cleanslate dd,.cleanslate del,.cleanslate dfn,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate em,.cleanslate fieldset,.cleanslate figcaption,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hr,.cleanslate i,.cleanslate iframe,.cleanslate img,.cleanslate input,.cleanslate ins,.cleanslate kbd,.cleanslate label,.cleanslate legend,.cleanslate li,.cleanslate main,.cleanslate map,.cleanslate mark,.cleanslate menu,.cleanslate meta,.cleanslate nav,.cleanslate object,.cleanslate ol,.cleanslate optgroup,.cleanslate option,.cleanslate output,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate q,.cleanslate samp,.cleanslate section,.cleanslate select,.cleanslate small,.cleanslate span,.cleanslate strike,.cleanslate strong,.cleanslate sub,.cleanslate summary,.cleanslate sup,.cleanslate svg,.cleanslate table,.cleanslate tbody,.cleanslate td,.cleanslate textarea,.cleanslate tfoot,.cleanslate th,.cleanslate thead,.cleanslate time,.cleanslate tr,.cleanslate tt,.cleanslate ul,.cleanslate var,.cleanslate video{background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:100% 0!important;background-repeat:repeat!important;border-color:#000!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;color:inherit!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline!important;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;right:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:invert none medium!important;overflow:visible!important;padding:0!important;position:static!important;quotes:"" ""!important;left:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal!important;z-index:auto!important;background-origin:padding-box!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;background-size:auto!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;box-sizing:content-box!important;column-count:auto!important;column-gap:normal!important;column-rule:medium none #000!important;column-span:1!important;column-width:auto!important;font-feature-settings:normal!important;overflow-x:visible!important;overflow-y:visible!important;-webkit-hyphens:manual!important;hyphens:manual!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;-ms-perspective-origin:50% 50%!important;-o-perspective-origin:50% 50%!important;perspective-origin:50% 50%!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;text-shadow:none!important;transition:all 0s ease 0s!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;word-break:normal!important}.cleanslate,.cleanslate address,.cleanslate article,.cleanslate audio,.cleanslate blockquote,.cleanslate caption,.cleanslate colgroup,.cleanslate dd,.cleanslate dialog,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate fieldset,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hgroup,.cleanslate hr,.cleanslate main,.cleanslate menu,.cleanslate nav,.cleanslate ol,.cleanslate option,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate section,.cleanslate summary,.cleanslate ul,.cleanslate video{display:block!important}.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6{font-weight:700!important}.cleanslate h1:before,.cleanslate h2:before{display:none!important}.cleanslate h1{font-size:2em!important;padding:.67em 0!important}.cleanslate h2{font-size:1.5em!important;padding:.83em 0!important}.cleanslate h3{font-size:1.17em!important;padding:.83em 0!important}.cleanslate h4{font-size:1em!important}.cleanslate h5{font-size:.83em!important}.cleanslate p{margin:1em 0!important}.cleanslate table{display:table!important}.cleanslate thead{display:table-header-group!important}.cleanslate tbody{display:table-row-group!important}.cleanslate tfoot{display:table-footer-group!important}.cleanslate tr{display:table-row!important}.cleanslate td,.cleanslate th{display:table-cell!important;padding:2px!important}.cleanslate ol,.cleanslate ul{margin:1em 0!important}.cleanslate ol li,.cleanslate ol ol li,.cleanslate ol ol ol li,.cleanslate ol ol ul li,.cleanslate ol ul ul li,.cleanslate ul li,.cleanslate ul ol ol li,.cleanslate ul ul li,.cleanslate ul ul ol li,.cleanslate ul ul ul li{list-style-position:inside!important;margin-top:.08em!important}.cleanslate ol ol,.cleanslate ol ol ol,.cleanslate ol ol ul,.cleanslate ol ul,.cleanslate ol ul ul,.cleanslate ul ol,.cleanslate ul ol ol,.cleanslate ul ul,.cleanslate ul ul ol,.cleanslate ul ul ul{padding-right:40px!important;margin:0!important}.cleanslate nav ol,.cleanslate nav ul{list-style-type:none!important}.cleanslate menu,.cleanslate ul{list-style-type:disc!important}.cleanslate ol{list-style-type:decimal!important}.cleanslate menu menu,.cleanslate menu ul,.cleanslate ol menu,.cleanslate ol ul,.cleanslate ul menu,.cleanslate ul ul{list-style-type:circle!important}.cleanslate menu menu menu,.cleanslate menu menu ul,.cleanslate menu ol menu,.cleanslate menu ol ul,.cleanslate menu ul menu,.cleanslate menu ul ul,.cleanslate ol menu menu,.cleanslate ol menu ul,.cleanslate ol ol menu,.cleanslate ol ol ul,.cleanslate ol ul menu,.cleanslate ol ul ul,.cleanslate ul menu menu,.cleanslate ul menu ul,.cleanslate ul ol menu,.cleanslate ul ol ul,.cleanslate ul ul menu,.cleanslate ul ul ul{list-style-type:square!important}.cleanslate li{display:list-item!important;min-height:auto!important;min-width:auto!important;padding-right:20px!important}.cleanslate strong{font-weight:700!important}.cleanslate em{font-style:italic!important}.cleanslate code,.cleanslate kbd,.cleanslate pre,.cleanslate samp{font-family:monospace!important}.cleanslate a{color:#00f!important;text-decoration:underline!important}.cleanslate a:visited{color:#529!important}.cleanslate a,.cleanslate a *,.cleanslate button,.cleanslate input[type=button],.cleanslate input[type=checkbox],.cleanslate input[type=radio],.cleanslate input[type=submit],.cleanslate select{cursor:pointer!important}.cleanslate button,.cleanslate input[type=submit]{text-align:center!important;padding:2px 6px 3px!important;border-radius:4px!important;text-decoration:none!important;font-family:inherit!important;font-size:small!important;background:#fff!important;-webkit-appearance:push-button!important;color:buttontext!important;border:1px #a6a6a6 solid!important;background:#d3d3d3!important;background:#fff;background:linear-gradient(to bottom,#fff 0,#ddd 100%,#d1d1d1 100%,#ddd 100%)!important;-o-box-shadow:-1px 1px 0 #eee!important;box-shadow:-1px 1px 0 #eee!important;outline:initial!important}.cleanslate button:active,.cleanslate input[type=button]:active,.cleanslate input[type=submit]:active{background:#3b679e!important;background:linear-gradient(to bottom,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8 100%)!important;border-color:#5259b0!important}.cleanslate button{padding:1px 6px 2px 6px!important;margin-left:5px!important}.cleanslate input[type=hidden]{display:none!important}.cleanslate textarea{-webkit-appearance:textarea!important;background:#fff!important;padding:2px!important;margin-right:4px!important;word-wrap:break-word!important;white-space:pre-wrap!important;font-size:11px!important;font-family:inherit!important;line-height:13px!important;resize:both!important}.cleanslate input,.cleanslate select,.cleanslate textarea{border:1px solid #ccc!important}.cleanslate select{font-size:11px!important;font-family:inherit!important;display:inline-block}.cleanslate input:focus,.cleanslate textarea:focus{outline:auto 5px -webkit-focus-ring-color!important;outline:initial!important}.cleanslate input[type=text]{background:#fff!important;padding:1px!important;font-family:initial!important;font-size:small!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{border:1px #2b2b2b solid!important;border-radius:4px!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{outline:initial!important}.cleanslate input[type=radio]{margin:2px 2px 3px 2px!important}.cleanslate abbr[title],.cleanslate acronym[title],.cleanslate dfn[title]{cursor:help!important;border-bottom-width:1px!important;border-bottom-style:dotted!important}.cleanslate ins{background-color:#ff9!important;color:#000!important}.cleanslate del{text-decoration:line-through!important}.cleanslate blockquote,.cleanslate q{quotes:none!important}.cleanslate blockquote:after,.cleanslate blockquote:before,.cleanslate li:after,.cleanslate li:before,.cleanslate q:after,.cleanslate q:before{content:""!important}.cleanslate input,.cleanslate select{vertical-align:middle!important}.cleanslate table{border-collapse:collapse!important;border-spacing:0!important}.cleanslate hr{display:block!important;height:1px!important;border:0!important;border-top:1px solid #ccc!important;margin:1em 0!important}.cleanslate [dir=rtl]{direction:ltr!important}.cleanslate mark{background-color:#ff9!important;color:#000!important;font-style:italic!important;font-weight:700!important}.cleanslate menu{padding-right:40px!important;padding-top:8px!important}.cleanslate [hidden],.cleanslate template{display:none!important}.cleanslate abbr[title]{border-bottom:1px dotted!important}.cleanslate sub,.cleanslate sup{font-size:75%!important;line-height:0!important;position:relative!important;vertical-align:baseline!important}.cleanslate sup{top:-.5em!important}.cleanslate sub{bottom:-.25em!important}.cleanslate img{border:0!important}.cleanslate figure{margin:0!important}.cleanslate textarea{overflow:auto!important;vertical-align:top!important}.cleanslate{font-size:medium!important;line-height:1!important;direction:rtl!important;text-align:right!important;text-align:start!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;color:#000!important;font-style:normal!important;font-weight:400!important;text-decoration:none!important;list-style-type:disc!important}.cleanslate pre{white-space:pre!important} \ No newline at end of file
+*/.cleanslate,.cleanslate a,.cleanslate abbr,.cleanslate acronym,.cleanslate address,.cleanslate applet,.cleanslate area,.cleanslate article,.cleanslate aside,.cleanslate audio,.cleanslate b,.cleanslate big,.cleanslate blockquote,.cleanslate button,.cleanslate canvas,.cleanslate caption,.cleanslate cite,.cleanslate code,.cleanslate col,.cleanslate colgroup,.cleanslate datalist,.cleanslate dd,.cleanslate del,.cleanslate dfn,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate em,.cleanslate fieldset,.cleanslate figcaption,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hr,.cleanslate i,.cleanslate iframe,.cleanslate img,.cleanslate input,.cleanslate ins,.cleanslate kbd,.cleanslate label,.cleanslate legend,.cleanslate li,.cleanslate main,.cleanslate map,.cleanslate mark,.cleanslate menu,.cleanslate meta,.cleanslate nav,.cleanslate object,.cleanslate ol,.cleanslate optgroup,.cleanslate option,.cleanslate output,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate q,.cleanslate samp,.cleanslate section,.cleanslate select,.cleanslate small,.cleanslate span,.cleanslate strike,.cleanslate strong,.cleanslate sub,.cleanslate summary,.cleanslate sup,.cleanslate svg,.cleanslate table,.cleanslate tbody,.cleanslate td,.cleanslate textarea,.cleanslate tfoot,.cleanslate th,.cleanslate thead,.cleanslate time,.cleanslate tr,.cleanslate tt,.cleanslate ul,.cleanslate var,.cleanslate video{clip:auto!important;font-feature-settings:normal!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;background-attachment:scroll!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;background-color:transparent!important;background-image:none!important;background-origin:padding-box!important;background-position:100% 0!important;background-repeat:repeat!important;background-size:auto!important;border:none!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;bottom:auto!important;box-shadow:none!important;box-sizing:content-box!important;clear:none!important;color:inherit!important;column-gap:normal!important;column-rule:medium none #000!important;column-span:1!important;columns:auto!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline!important;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;-webkit-hyphens:manual!important;hyphens:manual!important;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-image:none!important;list-style-position:outside!important;list-style-type:inherit!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:medium none invert!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;padding:0!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;-ms-perspective-origin:50% 50%!important;-o-perspective-origin:50% 50%!important;perspective-origin:50% 50%!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-shadow:none!important;text-transform:none!important;top:auto!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;transition:all 0s ease 0s!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-break:normal!important;word-spacing:normal!important;z-index:auto!important}.cleanslate,.cleanslate address,.cleanslate article,.cleanslate audio,.cleanslate blockquote,.cleanslate caption,.cleanslate colgroup,.cleanslate dd,.cleanslate dialog,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate fieldset,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hgroup,.cleanslate hr,.cleanslate main,.cleanslate menu,.cleanslate nav,.cleanslate ol,.cleanslate option,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate section,.cleanslate summary,.cleanslate ul,.cleanslate video{display:block!important}.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6{font-weight:700!important}.cleanslate h1:before,.cleanslate h2:before{display:none!important}.cleanslate h1{font-size:2em!important;padding:.67em 0!important}.cleanslate h2{font-size:1.5em!important;padding:.83em 0!important}.cleanslate h3{font-size:1.17em!important;padding:.83em 0!important}.cleanslate h4{font-size:1em!important}.cleanslate h5{font-size:.83em!important}.cleanslate p{margin:1em 0!important}.cleanslate table{display:table!important}.cleanslate thead{display:table-header-group!important}.cleanslate tbody{display:table-row-group!important}.cleanslate tfoot{display:table-footer-group!important}.cleanslate tr{display:table-row!important}.cleanslate td,.cleanslate th{display:table-cell!important;padding:2px!important}.cleanslate ol,.cleanslate ul{margin:1em 0!important}.cleanslate ol li,.cleanslate ol ol li,.cleanslate ol ol ol li,.cleanslate ol ol ul li,.cleanslate ol ul ul li,.cleanslate ul li,.cleanslate ul ol ol li,.cleanslate ul ul li,.cleanslate ul ul ol li,.cleanslate ul ul ul li{list-style-position:inside!important;margin-top:.08em!important}.cleanslate ol ol,.cleanslate ol ol ol,.cleanslate ol ol ul,.cleanslate ol ul,.cleanslate ol ul ul,.cleanslate ul ol,.cleanslate ul ol ol,.cleanslate ul ul,.cleanslate ul ul ol,.cleanslate ul ul ul{margin:0!important;padding-right:40px!important}.cleanslate nav ol,.cleanslate nav ul{list-style-type:none!important}.cleanslate menu,.cleanslate ul{list-style-type:disc!important}.cleanslate ol{list-style-type:decimal!important}.cleanslate menu menu,.cleanslate menu ul,.cleanslate ol menu,.cleanslate ol ul,.cleanslate ul menu,.cleanslate ul ul{list-style-type:circle!important}.cleanslate menu menu menu,.cleanslate menu menu ul,.cleanslate menu ol menu,.cleanslate menu ol ul,.cleanslate menu ul menu,.cleanslate menu ul ul,.cleanslate ol menu menu,.cleanslate ol menu ul,.cleanslate ol ol menu,.cleanslate ol ol ul,.cleanslate ol ul menu,.cleanslate ol ul ul,.cleanslate ul menu menu,.cleanslate ul menu ul,.cleanslate ul ol menu,.cleanslate ul ol ul,.cleanslate ul ul menu,.cleanslate ul ul ul{list-style-type:square!important}.cleanslate li{display:list-item!important;min-height:auto!important;min-width:auto!important;padding-right:20px!important}.cleanslate strong{font-weight:700!important}.cleanslate em{font-style:italic!important}.cleanslate code,.cleanslate kbd,.cleanslate pre,.cleanslate samp{font-family:monospace!important}.cleanslate a{color:blue!important;text-decoration:underline!important}.cleanslate a:visited{color:#529!important}.cleanslate a,.cleanslate a *,.cleanslate button,.cleanslate input[type=button],.cleanslate input[type=checkbox],.cleanslate input[type=radio],.cleanslate input[type=submit],.cleanslate select{cursor:pointer!important}.cleanslate button,.cleanslate input[type=submit]{-webkit-appearance:push-button!important;background:#fff!important;background:#d3d3d3!important;background:#fff;background:linear-gradient(180deg,#fff,#ddd 100%,#d1d1d1 0,#ddd 0)!important;border:1px solid #a6a6a6!important;border-radius:4px!important;-o-box-shadow:-1px 1px 0 #eee!important;box-shadow:-1px 1px 0 #eee!important;color:buttontext!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#dddddd",GradientType=0)!important;font-family:inherit!important;font-size:small!important;outline:initial!important;padding:2px 6px 3px!important;text-align:center!important;text-decoration:none!important}.cleanslate button:active,.cleanslate input[type=button]:active,.cleanslate input[type=submit]:active{background:#3b679e!important;background:linear-gradient(180deg,#3b679e,#2b88d9 50%,#207cca 51%,#7db9e8)!important;border-color:#5259b0!important}.cleanslate button{margin-left:5px!important;padding:1px 6px 2px!important}.cleanslate input[type=hidden]{display:none!important}.cleanslate textarea{word-wrap:break-word!important;-webkit-appearance:textarea!important;background:#fff!important;font-family:inherit!important;font-size:11px!important;line-height:13px!important;margin-right:4px!important;padding:2px!important;resize:both!important;white-space:pre-wrap!important}.cleanslate input,.cleanslate select,.cleanslate textarea{border:1px solid #ccc!important}.cleanslate select{display:inline-block;font-family:inherit!important;font-size:11px!important}.cleanslate input:focus,.cleanslate textarea:focus{outline:5px auto -webkit-focus-ring-color!important;outline:initial!important}.cleanslate input[type=text]{background:#fff!important;font-family:initial!important;font-size:small!important;padding:1px!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{border:1px solid #2b2b2b!important;border-radius:4px!important;outline:initial!important}.cleanslate input[type=radio]{margin:2px 2px 3px!important}.cleanslate abbr[title],.cleanslate acronym[title],.cleanslate dfn[title]{border-bottom-style:dotted!important;border-bottom-width:1px!important;cursor:help!important}.cleanslate ins{background-color:#ff9!important;color:#000!important}.cleanslate del{text-decoration:line-through!important}.cleanslate blockquote,.cleanslate q{quotes:none!important}.cleanslate blockquote:after,.cleanslate blockquote:before,.cleanslate li:after,.cleanslate li:before,.cleanslate q:after,.cleanslate q:before{content:""!important}.cleanslate input,.cleanslate select{vertical-align:middle!important}.cleanslate table{border-collapse:collapse!important;border-spacing:0!important}.cleanslate hr{border:0!important;border-top:1px solid #ccc!important;display:block!important;height:1px!important;margin:1em 0!important}.cleanslate [dir=rtl]{direction:ltr!important}.cleanslate mark{background-color:#ff9!important;color:#000!important;font-style:italic!important;font-weight:700!important}.cleanslate menu{padding-right:40px!important;padding-top:8px!important}.cleanslate [hidden],.cleanslate template{display:none!important}.cleanslate abbr[title]{border-bottom:1px dotted!important}.cleanslate sub,.cleanslate sup{font-size:75%!important;line-height:0!important;position:relative!important;vertical-align:baseline!important}.cleanslate sup{top:-.5em!important}.cleanslate sub{bottom:-.25em!important}.cleanslate img{border:0!important}.cleanslate figure{margin:0!important}.cleanslate textarea{overflow:auto!important;vertical-align:top!important}.cleanslate{color:#000!important;direction:rtl!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important;font-size:medium!important;font-style:normal!important;font-weight:400!important;line-height:1!important;list-style-type:disc!important;text-align:right!important;text-align:start!important;text-decoration:none!important}.cleanslate pre{white-space:pre!important} \ No newline at end of file
diff --git a/plugins/jetpack/css/cleanslate.css b/plugins/jetpack/css/cleanslate.css
index aa7c2657..e5fb8968 100644
--- a/plugins/jetpack/css/cleanslate.css
+++ b/plugins/jetpack/css/cleanslate.css
@@ -1,7 +1,4 @@
/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
-/*!
* CleanSlate
* github.com/premasagar/cleanslate
*
@@ -479,4 +476,3 @@
.cleanslate pre {
white-space: pre !important;
}
-/*# sourceMappingURL=cleanslate.css.map */
diff --git a/plugins/jetpack/css/cleanslate.min.css b/plugins/jetpack/css/cleanslate.min.css
index a5abcab9..b6b65f14 100644
--- a/plugins/jetpack/css/cleanslate.min.css
+++ b/plugins/jetpack/css/cleanslate.min.css
@@ -1,7 +1,5 @@
/*!
-* Do not modify this file directly. It is compiled SASS code.
-*//*!
* CleanSlate
* github.com/premasagar/cleanslate
*
-*/.cleanslate,.cleanslate a,.cleanslate abbr,.cleanslate acronym,.cleanslate address,.cleanslate applet,.cleanslate area,.cleanslate article,.cleanslate aside,.cleanslate audio,.cleanslate b,.cleanslate big,.cleanslate blockquote,.cleanslate button,.cleanslate canvas,.cleanslate caption,.cleanslate cite,.cleanslate code,.cleanslate col,.cleanslate colgroup,.cleanslate datalist,.cleanslate dd,.cleanslate del,.cleanslate dfn,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate em,.cleanslate fieldset,.cleanslate figcaption,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hr,.cleanslate i,.cleanslate iframe,.cleanslate img,.cleanslate input,.cleanslate ins,.cleanslate kbd,.cleanslate label,.cleanslate legend,.cleanslate li,.cleanslate main,.cleanslate map,.cleanslate mark,.cleanslate menu,.cleanslate meta,.cleanslate nav,.cleanslate object,.cleanslate ol,.cleanslate optgroup,.cleanslate option,.cleanslate output,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate q,.cleanslate samp,.cleanslate section,.cleanslate select,.cleanslate small,.cleanslate span,.cleanslate strike,.cleanslate strong,.cleanslate sub,.cleanslate summary,.cleanslate sup,.cleanslate svg,.cleanslate table,.cleanslate tbody,.cleanslate td,.cleanslate textarea,.cleanslate tfoot,.cleanslate th,.cleanslate thead,.cleanslate time,.cleanslate tr,.cleanslate tt,.cleanslate ul,.cleanslate var,.cleanslate video{background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;border-color:#000!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;color:inherit!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline!important;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:invert none medium!important;overflow:visible!important;padding:0!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal!important;z-index:auto!important;background-origin:padding-box!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;background-size:auto!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;box-sizing:content-box!important;column-count:auto!important;column-gap:normal!important;column-rule:medium none #000!important;column-span:1!important;column-width:auto!important;font-feature-settings:normal!important;overflow-x:visible!important;overflow-y:visible!important;-webkit-hyphens:manual!important;hyphens:manual!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;-ms-perspective-origin:50% 50%!important;-o-perspective-origin:50% 50%!important;perspective-origin:50% 50%!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;text-shadow:none!important;transition:all 0s ease 0s!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;word-break:normal!important}.cleanslate,.cleanslate address,.cleanslate article,.cleanslate audio,.cleanslate blockquote,.cleanslate caption,.cleanslate colgroup,.cleanslate dd,.cleanslate dialog,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate fieldset,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hgroup,.cleanslate hr,.cleanslate main,.cleanslate menu,.cleanslate nav,.cleanslate ol,.cleanslate option,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate section,.cleanslate summary,.cleanslate ul,.cleanslate video{display:block!important}.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6{font-weight:700!important}.cleanslate h1:before,.cleanslate h2:before{display:none!important}.cleanslate h1{font-size:2em!important;padding:.67em 0!important}.cleanslate h2{font-size:1.5em!important;padding:.83em 0!important}.cleanslate h3{font-size:1.17em!important;padding:.83em 0!important}.cleanslate h4{font-size:1em!important}.cleanslate h5{font-size:.83em!important}.cleanslate p{margin:1em 0!important}.cleanslate table{display:table!important}.cleanslate thead{display:table-header-group!important}.cleanslate tbody{display:table-row-group!important}.cleanslate tfoot{display:table-footer-group!important}.cleanslate tr{display:table-row!important}.cleanslate td,.cleanslate th{display:table-cell!important;padding:2px!important}.cleanslate ol,.cleanslate ul{margin:1em 0!important}.cleanslate ol li,.cleanslate ol ol li,.cleanslate ol ol ol li,.cleanslate ol ol ul li,.cleanslate ol ul ul li,.cleanslate ul li,.cleanslate ul ol ol li,.cleanslate ul ul li,.cleanslate ul ul ol li,.cleanslate ul ul ul li{list-style-position:inside!important;margin-top:.08em!important}.cleanslate ol ol,.cleanslate ol ol ol,.cleanslate ol ol ul,.cleanslate ol ul,.cleanslate ol ul ul,.cleanslate ul ol,.cleanslate ul ol ol,.cleanslate ul ul,.cleanslate ul ul ol,.cleanslate ul ul ul{padding-left:40px!important;margin:0!important}.cleanslate nav ol,.cleanslate nav ul{list-style-type:none!important}.cleanslate menu,.cleanslate ul{list-style-type:disc!important}.cleanslate ol{list-style-type:decimal!important}.cleanslate menu menu,.cleanslate menu ul,.cleanslate ol menu,.cleanslate ol ul,.cleanslate ul menu,.cleanslate ul ul{list-style-type:circle!important}.cleanslate menu menu menu,.cleanslate menu menu ul,.cleanslate menu ol menu,.cleanslate menu ol ul,.cleanslate menu ul menu,.cleanslate menu ul ul,.cleanslate ol menu menu,.cleanslate ol menu ul,.cleanslate ol ol menu,.cleanslate ol ol ul,.cleanslate ol ul menu,.cleanslate ol ul ul,.cleanslate ul menu menu,.cleanslate ul menu ul,.cleanslate ul ol menu,.cleanslate ul ol ul,.cleanslate ul ul menu,.cleanslate ul ul ul{list-style-type:square!important}.cleanslate li{display:list-item!important;min-height:auto!important;min-width:auto!important;padding-left:20px!important}.cleanslate strong{font-weight:700!important}.cleanslate em{font-style:italic!important}.cleanslate code,.cleanslate kbd,.cleanslate pre,.cleanslate samp{font-family:monospace!important}.cleanslate a{color:#00f!important;text-decoration:underline!important}.cleanslate a:visited{color:#529!important}.cleanslate a,.cleanslate a *,.cleanslate button,.cleanslate input[type=button],.cleanslate input[type=checkbox],.cleanslate input[type=radio],.cleanslate input[type=submit],.cleanslate select{cursor:pointer!important}.cleanslate button,.cleanslate input[type=submit]{text-align:center!important;padding:2px 6px 3px!important;border-radius:4px!important;text-decoration:none!important;font-family:inherit!important;font-size:small!important;background:#fff!important;-webkit-appearance:push-button!important;color:buttontext!important;border:1px #a6a6a6 solid!important;background:#d3d3d3!important;background:#fff;background:linear-gradient(to bottom,#fff 0,#ddd 100%,#d1d1d1 100%,#ddd 100%)!important;-o-box-shadow:1px 1px 0 #eee!important;box-shadow:1px 1px 0 #eee!important;outline:initial!important}.cleanslate button:active,.cleanslate input[type=button]:active,.cleanslate input[type=submit]:active{background:#3b679e!important;background:linear-gradient(to bottom,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8 100%)!important;border-color:#5259b0!important}.cleanslate button{padding:1px 6px 2px 6px!important;margin-right:5px!important}.cleanslate input[type=hidden]{display:none!important}.cleanslate textarea{-webkit-appearance:textarea!important;background:#fff!important;padding:2px!important;margin-left:4px!important;word-wrap:break-word!important;white-space:pre-wrap!important;font-size:11px!important;font-family:inherit!important;line-height:13px!important;resize:both!important}.cleanslate input,.cleanslate select,.cleanslate textarea{border:1px solid #ccc!important}.cleanslate select{font-size:11px!important;font-family:inherit!important;display:inline-block}.cleanslate input:focus,.cleanslate textarea:focus{outline:auto 5px -webkit-focus-ring-color!important;outline:initial!important}.cleanslate input[type=text]{background:#fff!important;padding:1px!important;font-family:initial!important;font-size:small!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{border:1px #2b2b2b solid!important;border-radius:4px!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{outline:initial!important}.cleanslate input[type=radio]{margin:2px 2px 3px 2px!important}.cleanslate abbr[title],.cleanslate acronym[title],.cleanslate dfn[title]{cursor:help!important;border-bottom-width:1px!important;border-bottom-style:dotted!important}.cleanslate ins{background-color:#ff9!important;color:#000!important}.cleanslate del{text-decoration:line-through!important}.cleanslate blockquote,.cleanslate q{quotes:none!important}.cleanslate blockquote:after,.cleanslate blockquote:before,.cleanslate li:after,.cleanslate li:before,.cleanslate q:after,.cleanslate q:before{content:""!important}.cleanslate input,.cleanslate select{vertical-align:middle!important}.cleanslate table{border-collapse:collapse!important;border-spacing:0!important}.cleanslate hr{display:block!important;height:1px!important;border:0!important;border-top:1px solid #ccc!important;margin:1em 0!important}.cleanslate [dir=rtl]{direction:rtl!important}.cleanslate mark{background-color:#ff9!important;color:#000!important;font-style:italic!important;font-weight:700!important}.cleanslate menu{padding-left:40px!important;padding-top:8px!important}.cleanslate [hidden],.cleanslate template{display:none!important}.cleanslate abbr[title]{border-bottom:1px dotted!important}.cleanslate sub,.cleanslate sup{font-size:75%!important;line-height:0!important;position:relative!important;vertical-align:baseline!important}.cleanslate sup{top:-.5em!important}.cleanslate sub{bottom:-.25em!important}.cleanslate img{border:0!important}.cleanslate figure{margin:0!important}.cleanslate textarea{overflow:auto!important;vertical-align:top!important}.cleanslate{font-size:medium!important;line-height:1!important;direction:ltr!important;text-align:left!important;text-align:start!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;color:#000!important;font-style:normal!important;font-weight:400!important;text-decoration:none!important;list-style-type:disc!important}.cleanslate pre{white-space:pre!important} \ No newline at end of file
+*/.cleanslate,.cleanslate a,.cleanslate abbr,.cleanslate acronym,.cleanslate address,.cleanslate applet,.cleanslate area,.cleanslate article,.cleanslate aside,.cleanslate audio,.cleanslate b,.cleanslate big,.cleanslate blockquote,.cleanslate button,.cleanslate canvas,.cleanslate caption,.cleanslate cite,.cleanslate code,.cleanslate col,.cleanslate colgroup,.cleanslate datalist,.cleanslate dd,.cleanslate del,.cleanslate dfn,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate em,.cleanslate fieldset,.cleanslate figcaption,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hr,.cleanslate i,.cleanslate iframe,.cleanslate img,.cleanslate input,.cleanslate ins,.cleanslate kbd,.cleanslate label,.cleanslate legend,.cleanslate li,.cleanslate main,.cleanslate map,.cleanslate mark,.cleanslate menu,.cleanslate meta,.cleanslate nav,.cleanslate object,.cleanslate ol,.cleanslate optgroup,.cleanslate option,.cleanslate output,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate q,.cleanslate samp,.cleanslate section,.cleanslate select,.cleanslate small,.cleanslate span,.cleanslate strike,.cleanslate strong,.cleanslate sub,.cleanslate summary,.cleanslate sup,.cleanslate svg,.cleanslate table,.cleanslate tbody,.cleanslate td,.cleanslate textarea,.cleanslate tfoot,.cleanslate th,.cleanslate thead,.cleanslate time,.cleanslate tr,.cleanslate tt,.cleanslate ul,.cleanslate var,.cleanslate video{clip:auto!important;font-feature-settings:normal!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;background-attachment:scroll!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;background-color:transparent!important;background-image:none!important;background-origin:padding-box!important;background-position:0 0!important;background-repeat:repeat!important;background-size:auto!important;border:none!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;bottom:auto!important;box-shadow:none!important;box-sizing:content-box!important;clear:none!important;color:inherit!important;column-gap:normal!important;column-rule:medium none #000!important;column-span:1!important;columns:auto!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline!important;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;-webkit-hyphens:manual!important;hyphens:manual!important;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-image:none!important;list-style-position:outside!important;list-style-type:inherit!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:medium none invert!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;padding:0!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;-ms-perspective-origin:50% 50%!important;-o-perspective-origin:50% 50%!important;perspective-origin:50% 50%!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-shadow:none!important;text-transform:none!important;top:auto!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;transition:all 0s ease 0s!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-break:normal!important;word-spacing:normal!important;z-index:auto!important}.cleanslate,.cleanslate address,.cleanslate article,.cleanslate audio,.cleanslate blockquote,.cleanslate caption,.cleanslate colgroup,.cleanslate dd,.cleanslate dialog,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate fieldset,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hgroup,.cleanslate hr,.cleanslate main,.cleanslate menu,.cleanslate nav,.cleanslate ol,.cleanslate option,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate section,.cleanslate summary,.cleanslate ul,.cleanslate video{display:block!important}.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6{font-weight:700!important}.cleanslate h1:before,.cleanslate h2:before{display:none!important}.cleanslate h1{font-size:2em!important;padding:.67em 0!important}.cleanslate h2{font-size:1.5em!important;padding:.83em 0!important}.cleanslate h3{font-size:1.17em!important;padding:.83em 0!important}.cleanslate h4{font-size:1em!important}.cleanslate h5{font-size:.83em!important}.cleanslate p{margin:1em 0!important}.cleanslate table{display:table!important}.cleanslate thead{display:table-header-group!important}.cleanslate tbody{display:table-row-group!important}.cleanslate tfoot{display:table-footer-group!important}.cleanslate tr{display:table-row!important}.cleanslate td,.cleanslate th{display:table-cell!important;padding:2px!important}.cleanslate ol,.cleanslate ul{margin:1em 0!important}.cleanslate ol li,.cleanslate ol ol li,.cleanslate ol ol ol li,.cleanslate ol ol ul li,.cleanslate ol ul ul li,.cleanslate ul li,.cleanslate ul ol ol li,.cleanslate ul ul li,.cleanslate ul ul ol li,.cleanslate ul ul ul li{list-style-position:inside!important;margin-top:.08em!important}.cleanslate ol ol,.cleanslate ol ol ol,.cleanslate ol ol ul,.cleanslate ol ul,.cleanslate ol ul ul,.cleanslate ul ol,.cleanslate ul ol ol,.cleanslate ul ul,.cleanslate ul ul ol,.cleanslate ul ul ul{margin:0!important;padding-left:40px!important}.cleanslate nav ol,.cleanslate nav ul{list-style-type:none!important}.cleanslate menu,.cleanslate ul{list-style-type:disc!important}.cleanslate ol{list-style-type:decimal!important}.cleanslate menu menu,.cleanslate menu ul,.cleanslate ol menu,.cleanslate ol ul,.cleanslate ul menu,.cleanslate ul ul{list-style-type:circle!important}.cleanslate menu menu menu,.cleanslate menu menu ul,.cleanslate menu ol menu,.cleanslate menu ol ul,.cleanslate menu ul menu,.cleanslate menu ul ul,.cleanslate ol menu menu,.cleanslate ol menu ul,.cleanslate ol ol menu,.cleanslate ol ol ul,.cleanslate ol ul menu,.cleanslate ol ul ul,.cleanslate ul menu menu,.cleanslate ul menu ul,.cleanslate ul ol menu,.cleanslate ul ol ul,.cleanslate ul ul menu,.cleanslate ul ul ul{list-style-type:square!important}.cleanslate li{display:list-item!important;min-height:auto!important;min-width:auto!important;padding-left:20px!important}.cleanslate strong{font-weight:700!important}.cleanslate em{font-style:italic!important}.cleanslate code,.cleanslate kbd,.cleanslate pre,.cleanslate samp{font-family:monospace!important}.cleanslate a{color:blue!important;text-decoration:underline!important}.cleanslate a:visited{color:#529!important}.cleanslate a,.cleanslate a *,.cleanslate button,.cleanslate input[type=button],.cleanslate input[type=checkbox],.cleanslate input[type=radio],.cleanslate input[type=submit],.cleanslate select{cursor:pointer!important}.cleanslate button,.cleanslate input[type=submit]{-webkit-appearance:push-button!important;background:#fff!important;background:#d3d3d3!important;background:#fff;background:linear-gradient(180deg,#fff 0,#ddd 100%,#d1d1d1 0,#ddd 0)!important;border:1px solid #a6a6a6!important;border-radius:4px!important;-o-box-shadow:1px 1px 0 #eee!important;box-shadow:1px 1px 0 #eee!important;color:buttontext!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#dddddd",GradientType=0)!important;font-family:inherit!important;font-size:small!important;outline:initial!important;padding:2px 6px 3px!important;text-align:center!important;text-decoration:none!important}.cleanslate button:active,.cleanslate input[type=button]:active,.cleanslate input[type=submit]:active{background:#3b679e!important;background:linear-gradient(180deg,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8)!important;border-color:#5259b0!important}.cleanslate button{margin-right:5px!important;padding:1px 6px 2px!important}.cleanslate input[type=hidden]{display:none!important}.cleanslate textarea{word-wrap:break-word!important;-webkit-appearance:textarea!important;background:#fff!important;font-family:inherit!important;font-size:11px!important;line-height:13px!important;margin-left:4px!important;padding:2px!important;resize:both!important;white-space:pre-wrap!important}.cleanslate input,.cleanslate select,.cleanslate textarea{border:1px solid #ccc!important}.cleanslate select{display:inline-block;font-family:inherit!important;font-size:11px!important}.cleanslate input:focus,.cleanslate textarea:focus{outline:5px auto -webkit-focus-ring-color!important;outline:initial!important}.cleanslate input[type=text]{background:#fff!important;font-family:initial!important;font-size:small!important;padding:1px!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{border:1px solid #2b2b2b!important;border-radius:4px!important;outline:initial!important}.cleanslate input[type=radio]{margin:2px 2px 3px!important}.cleanslate abbr[title],.cleanslate acronym[title],.cleanslate dfn[title]{border-bottom-style:dotted!important;border-bottom-width:1px!important;cursor:help!important}.cleanslate ins{background-color:#ff9!important;color:#000!important}.cleanslate del{text-decoration:line-through!important}.cleanslate blockquote,.cleanslate q{quotes:none!important}.cleanslate blockquote:after,.cleanslate blockquote:before,.cleanslate li:after,.cleanslate li:before,.cleanslate q:after,.cleanslate q:before{content:""!important}.cleanslate input,.cleanslate select{vertical-align:middle!important}.cleanslate table{border-collapse:collapse!important;border-spacing:0!important}.cleanslate hr{border:0!important;border-top:1px solid #ccc!important;display:block!important;height:1px!important;margin:1em 0!important}.cleanslate [dir=rtl]{direction:rtl!important}.cleanslate mark{background-color:#ff9!important;color:#000!important;font-style:italic!important;font-weight:700!important}.cleanslate menu{padding-left:40px!important;padding-top:8px!important}.cleanslate [hidden],.cleanslate template{display:none!important}.cleanslate abbr[title]{border-bottom:1px dotted!important}.cleanslate sub,.cleanslate sup{font-size:75%!important;line-height:0!important;position:relative!important;vertical-align:baseline!important}.cleanslate sup{top:-.5em!important}.cleanslate sub{bottom:-.25em!important}.cleanslate img{border:0!important}.cleanslate figure{margin:0!important}.cleanslate textarea{overflow:auto!important;vertical-align:top!important}.cleanslate{color:#000!important;direction:ltr!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important;font-size:medium!important;font-style:normal!important;font-weight:400!important;line-height:1!important;list-style-type:disc!important;text-align:left!important;text-align:start!important;text-decoration:none!important}.cleanslate pre{white-space:pre!important} \ No newline at end of file
diff --git a/plugins/jetpack/css/dashboard-widget-rtl.css b/plugins/jetpack/css/dashboard-widget-rtl.css
index c9c829b1..d8db23bb 100644
--- a/plugins/jetpack/css/dashboard-widget-rtl.css
+++ b/plugins/jetpack/css/dashboard-widget-rtl.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@charset "UTF-8";
/*
The MIT License (MIT)
@@ -200,11 +197,14 @@ https://github.com/thoughtbot/bourbon
text-shadow: none !important;
}
#jetpack_summary_widget footer {
- background: #f6f7f7;
- padding: 0.75em 0.75em 0 0.75em;
overflow: hidden;
border-top: 1px solid #ccc;
}
+#jetpack_summary_widget footer .blocked-container {
+ background: #f6f7f7;
+ display: flex;
+ padding: 0.75em 0.75em 0 0.75em;
+}
#jetpack_summary_widget footer .protect,
#jetpack_summary_widget footer .akismet {
float: right;
@@ -222,10 +222,18 @@ https://github.com/thoughtbot/bourbon
padding: 0;
}
#jetpack_summary_widget footer p.blocked-count {
- font-size: 1.5em;
- font-weight: normal;
- margin: 0;
- padding: 0;
+ margin-top: 0;
+ margin-bottom: 6px;
+ margin-left: 8px;
+ color: #3582c4;
+ font-weight: 500;
+ font-size: 2rem;
+ display: inline-block;
+ border: 1px solid #c3c4c7;
+ border-radius: 4px;
+ padding: 0 4px;
+ min-width: 36px;
+ text-align: center;
}
#jetpack_summary_widget footer p {
margin: 0;
@@ -236,9 +244,19 @@ https://github.com/thoughtbot/bourbon
padding: 0;
text-align: center;
}
+#jetpack_summary_widget footer .footer-links {
+ padding: 0.75em 0.75em 0.5em 0.75em;
+ border-top: 1px solid #f0f0f1;
+}
+#jetpack_summary_widget footer .footer-links svg {
+ height: 20px;
+}
+#jetpack_summary_widget footer .footer-links span {
+ float: left;
+}
/* Hide the widget title's SVG in the Screen Options tab */
-.metabox-prefs label[for=jetpack_summary_widget-hide] span {
- display: none;
+.metabox-prefs label[for=jetpack_summary_widget-hide] span svg {
+ height: 1.2rem;
+ vertical-align: text-bottom;
}
-/*# sourceMappingURL=dashboard-widget-rtl.css.map */
diff --git a/plugins/jetpack/css/dashboard-widget-rtl.min.css b/plugins/jetpack/css/dashboard-widget-rtl.min.css
index 22069e44..abc346cf 100644
--- a/plugins/jetpack/css/dashboard-widget-rtl.min.css
+++ b/plugins/jetpack/css/dashboard-widget-rtl.min.css
@@ -1,3 +1 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/#jetpack_summary_widget *{box-sizing:border-box}#jetpack_summary_widget h2.hndle span{display:flex;align-items:center}#jetpack_summary_widget h2.hndle span span{padding:0 .4em}#jetpack_summary_widget h2.hndle svg{height:20px;margin:.15em .5em 0 0}#jetpack_summary_widget .js-toggle-stats_dashboard_widget_control .toggle-indicator:before{content:"\f111";display:inline-block;font:normal 20px/1 dashicons}#jetpack_summary_widget .inside{margin:0;padding:0}#jetpack_summary_widget .inside .stats-view-all{text-align:center;margin:1em 0}#jetpack_summary_widget .inside #stats_dashboard_widget_control{display:none;padding:0 10px;overflow:hidden}#jetpack_summary_widget .inside #stats_dashboard_widget_control .button-primary{float:left}#jetpack_summary_widget .inside #dashboard_stats{box-sizing:border-box;width:100%;padding:0 10px}#jetpack_summary_widget .inside #dashboard_stats .inside{margin:10px 0 0 0!important}#jetpack_summary_widget .inside #dashboard_stats #stats-graph{margin:0}#jetpack_summary_widget .inside #dashboard_stats #stat-chart{background:0 0!important}#jetpack_summary_widget .inside #dashboard_stats #stats-info{border-top:1px solid #dcdcde;margin:7px -10px 0 -10px;padding:10px;background:#fcfcfc;box-shadow:inset 0 1px 0 #fff;overflow:hidden;border-radius:0 0 2px 2px}#jetpack_summary_widget .inside #dashboard_stats #stats-info div#active{border-top:1px solid #dcdcde;margin:0 -10px;padding:10px 10px 0 10px;box-shadow:inset 0 1px 0 #fff;overflow:hidden}#jetpack_summary_widget .inside #dashboard_stats #stats-info h3{font-size:1em;margin:0 0 .5em 0!important}#jetpack_summary_widget .inside #dashboard_stats #stats-info p{margin:0 0 .25em;color:#999}#jetpack_summary_widget .inside #dashboard_stats #stats-info p.widget-loading{margin:1em 0 0;color:#333}#jetpack_summary_widget .inside #dashboard_stats #stats-info p a{display:block}#jetpack_summary_widget .inside #dashboard_stats #stats-info p a.button{display:inline}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts{float:right;width:50%;padding-left:3%}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts .stats-section-inner p{white-space:nowrap;overflow:hidden}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts .stats-section-inner p a{overflow:hidden;text-overflow:ellipsis}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-search{float:right;width:50%}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-search p{color:#999}#jetpack_summary_widget .stats,#jetpack_summary_widget .widgets,#jetpack_summary_widget .wpcom-connect{padding:.75em}#jetpack_summary_widget .wpcom-connect{background:#f6f7f7;text-align:center}#jetpack_summary_widget .wpcom-connect .jp-emblem{padding:5px 0 0 0}#jetpack_summary_widget .wpcom-connect svg{width:40px;height:40px}#jetpack_summary_widget .wpcom-connect svg path{fill:#069e08}#jetpack_summary_widget .wpcom-connect .jp-emblem,#jetpack_summary_widget .wpcom-connect h3,#jetpack_summary_widget .wpcom-connect p{width:100%}#jetpack_summary_widget .wpcom-connect h3{font-size:1.25em;font-weight:400}#jetpack_summary_widget .wpcom-connect p{color:#50575e;margin-top:0;padding:0 15px}#jetpack_summary_widget .wpcom-connect .actions{text-align:center;padding:15px 0 10px 0}#jetpack_summary_widget .wpcom-connect .actions small{display:block}#jetpack_summary_widget .wpcom-connect .actions small a{color:#999}#jetpack_summary_widget .button-jetpack{background:#069e08;border-color:#046d06;color:#fff;box-shadow:inset 0 1px 0 #09e80c,0 1px 0 rgba(0,0,0,.15)}#jetpack_summary_widget .button-jetpack:focus,#jetpack_summary_widget .button-jetpack:hover{background:#058507;border-color:#035404;color:#fff;box-shadow:inset 0 1px 0 #08cf0a}#jetpack_summary_widget .button-jetpack:focus{box-shadow:inset 0 1px 0 #08cf0a,0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8)}#jetpack_summary_widget .button-jetpack:active{background:#046d06;border-color:#035404;color:#fff;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8)}#jetpack_summary_widget .button-jetpack.button-primary-disabled,#jetpack_summary_widget .button-jetpack.disabled,#jetpack_summary_widget .button-jetpack:disabled,#jetpack_summary_widget .button-jetpack[disabled]{color:#c7d1c7!important;background:#057706!important;border-color:#035404!important;text-shadow:none!important}#jetpack_summary_widget footer{background:#f6f7f7;padding:.75em .75em 0 .75em;overflow:hidden;border-top:1px solid #ccc}#jetpack_summary_widget footer .akismet,#jetpack_summary_widget footer .protect{float:right;text-align:right;margin-bottom:.75em}#jetpack_summary_widget footer .protect{padding-left:3%;min-width:50%}#jetpack_summary_widget footer h3{font-size:1em;font-weight:400;margin:0 0 .25em 0;padding:0}#jetpack_summary_widget footer p.blocked-count{font-size:1.5em;font-weight:400;margin:0;padding:0}#jetpack_summary_widget footer p{margin:0;padding:0}#jetpack_summary_widget footer section{margin:0;padding:0;text-align:center}.metabox-prefs label[for=jetpack_summary_widget-hide] span{display:none} \ No newline at end of file
+#jetpack_summary_widget *{box-sizing:border-box}#jetpack_summary_widget h2.hndle span{align-items:center;display:flex}#jetpack_summary_widget h2.hndle span span{padding:0 .4em}#jetpack_summary_widget h2.hndle svg{height:20px;margin:.15em .5em 0 0}#jetpack_summary_widget .js-toggle-stats_dashboard_widget_control .toggle-indicator:before{content:"\f111";display:inline-block;font:normal 20px/1 dashicons}#jetpack_summary_widget .inside{margin:0;padding:0}#jetpack_summary_widget .inside .stats-view-all{margin:1em 0;text-align:center}#jetpack_summary_widget .inside #stats_dashboard_widget_control{display:none;overflow:hidden;padding:0 10px}#jetpack_summary_widget .inside #stats_dashboard_widget_control .button-primary{float:left}#jetpack_summary_widget .inside #dashboard_stats{box-sizing:border-box;padding:0 10px;width:100%}#jetpack_summary_widget .inside #dashboard_stats .inside{margin:10px 0 0!important}#jetpack_summary_widget .inside #dashboard_stats #stats-graph{margin:0}#jetpack_summary_widget .inside #dashboard_stats #stat-chart{background:none!important}#jetpack_summary_widget .inside #dashboard_stats #stats-info{background:#fcfcfc;border-radius:0 0 2px 2px;border-top:1px solid #dcdcde;box-shadow:inset 0 1px 0 #fff;margin:7px -10px 0;overflow:hidden;padding:10px}#jetpack_summary_widget .inside #dashboard_stats #stats-info div#active{border-top:1px solid #dcdcde;box-shadow:inset 0 1px 0 #fff;margin:0 -10px;overflow:hidden;padding:10px 10px 0}#jetpack_summary_widget .inside #dashboard_stats #stats-info h3{font-size:1em;margin:0 0 .5em!important}#jetpack_summary_widget .inside #dashboard_stats #stats-info p{color:#999;margin:0 0 .25em}#jetpack_summary_widget .inside #dashboard_stats #stats-info p.widget-loading{color:#333;margin:1em 0 0}#jetpack_summary_widget .inside #dashboard_stats #stats-info p a{display:block}#jetpack_summary_widget .inside #dashboard_stats #stats-info p a.button{display:inline}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts{float:right;padding-left:3%;width:50%}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts .stats-section-inner p{overflow:hidden;white-space:nowrap}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts .stats-section-inner p a{overflow:hidden;text-overflow:ellipsis}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-search{float:right;width:50%}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-search p{color:#999}#jetpack_summary_widget .stats,#jetpack_summary_widget .widgets,#jetpack_summary_widget .wpcom-connect{padding:.75em}#jetpack_summary_widget .wpcom-connect{background:#f6f7f7;text-align:center}#jetpack_summary_widget .wpcom-connect .jp-emblem{padding:5px 0 0}#jetpack_summary_widget .wpcom-connect svg{height:40px;width:40px}#jetpack_summary_widget .wpcom-connect svg path{fill:#069e08}#jetpack_summary_widget .wpcom-connect .jp-emblem,#jetpack_summary_widget .wpcom-connect h3,#jetpack_summary_widget .wpcom-connect p{width:100%}#jetpack_summary_widget .wpcom-connect h3{font-size:1.25em;font-weight:400}#jetpack_summary_widget .wpcom-connect p{color:#50575e;margin-top:0;padding:0 15px}#jetpack_summary_widget .wpcom-connect .actions{padding:15px 0 10px;text-align:center}#jetpack_summary_widget .wpcom-connect .actions small{display:block}#jetpack_summary_widget .wpcom-connect .actions small a{color:#999}#jetpack_summary_widget .button-jetpack{background:#069e08;border-color:#046d06;box-shadow:inset 0 1px 0 #09e80c,0 1px 0 rgba(0,0,0,.15);color:#fff}#jetpack_summary_widget .button-jetpack:focus,#jetpack_summary_widget .button-jetpack:hover{background:#058507;border-color:#035404;box-shadow:inset 0 1px 0 #08cf0a;color:#fff}#jetpack_summary_widget .button-jetpack:focus{box-shadow:inset 0 1px 0 #08cf0a,0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8)}#jetpack_summary_widget .button-jetpack:active{background:#046d06;border-color:#035404;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8);color:#fff}#jetpack_summary_widget .button-jetpack.button-primary-disabled,#jetpack_summary_widget .button-jetpack.disabled,#jetpack_summary_widget .button-jetpack:disabled,#jetpack_summary_widget .button-jetpack[disabled]{background:#057706!important;border-color:#035404!important;color:#c7d1c7!important;text-shadow:none!important}#jetpack_summary_widget footer{border-top:1px solid #ccc;overflow:hidden}#jetpack_summary_widget footer .blocked-container{background:#f6f7f7;display:flex;padding:.75em .75em 0}#jetpack_summary_widget footer .akismet,#jetpack_summary_widget footer .protect{float:right;margin-bottom:.75em;text-align:right}#jetpack_summary_widget footer .protect{min-width:50%;padding-left:3%}#jetpack_summary_widget footer h3{font-size:1em;font-weight:400;margin:0 0 .25em;padding:0}#jetpack_summary_widget footer p.blocked-count{border:1px solid #c3c4c7;border-radius:4px;color:#3582c4;display:inline-block;font-size:2rem;font-weight:500;margin-bottom:6px;margin-left:8px;margin-top:0;min-width:36px;padding:0 4px;text-align:center}#jetpack_summary_widget footer p{margin:0;padding:0}#jetpack_summary_widget footer section{margin:0;padding:0;text-align:center}#jetpack_summary_widget footer .footer-links{border-top:1px solid #f0f0f1;padding:.75em .75em .5em}#jetpack_summary_widget footer .footer-links svg{height:20px}#jetpack_summary_widget footer .footer-links span{float:left}.metabox-prefs label[for=jetpack_summary_widget-hide] span svg{height:1.2rem;vertical-align:text-bottom} \ No newline at end of file
diff --git a/plugins/jetpack/css/dashboard-widget.css b/plugins/jetpack/css/dashboard-widget.css
index b5776501..6d41d085 100644
--- a/plugins/jetpack/css/dashboard-widget.css
+++ b/plugins/jetpack/css/dashboard-widget.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@charset "UTF-8";
/*
The MIT License (MIT)
@@ -200,11 +197,14 @@ https://github.com/thoughtbot/bourbon
text-shadow: none !important;
}
#jetpack_summary_widget footer {
- background: #f6f7f7;
- padding: 0.75em 0.75em 0 0.75em;
overflow: hidden;
border-top: 1px solid #ccc;
}
+#jetpack_summary_widget footer .blocked-container {
+ background: #f6f7f7;
+ display: flex;
+ padding: 0.75em 0.75em 0 0.75em;
+}
#jetpack_summary_widget footer .protect,
#jetpack_summary_widget footer .akismet {
float: left;
@@ -222,10 +222,18 @@ https://github.com/thoughtbot/bourbon
padding: 0;
}
#jetpack_summary_widget footer p.blocked-count {
- font-size: 1.5em;
- font-weight: normal;
- margin: 0;
- padding: 0;
+ margin-top: 0;
+ margin-bottom: 6px;
+ margin-right: 8px;
+ color: #3582c4;
+ font-weight: 500;
+ font-size: 2rem;
+ display: inline-block;
+ border: 1px solid #c3c4c7;
+ border-radius: 4px;
+ padding: 0 4px;
+ min-width: 36px;
+ text-align: center;
}
#jetpack_summary_widget footer p {
margin: 0;
@@ -236,9 +244,19 @@ https://github.com/thoughtbot/bourbon
padding: 0;
text-align: center;
}
+#jetpack_summary_widget footer .footer-links {
+ padding: 0.75em 0.75em 0.5em 0.75em;
+ border-top: 1px solid #f0f0f1;
+}
+#jetpack_summary_widget footer .footer-links svg {
+ height: 20px;
+}
+#jetpack_summary_widget footer .footer-links span {
+ float: right;
+}
/* Hide the widget title's SVG in the Screen Options tab */
-.metabox-prefs label[for=jetpack_summary_widget-hide] span {
- display: none;
+.metabox-prefs label[for=jetpack_summary_widget-hide] span svg {
+ height: 1.2rem;
+ vertical-align: text-bottom;
}
-/*# sourceMappingURL=dashboard-widget.css.map */
diff --git a/plugins/jetpack/css/dashboard-widget.min.css b/plugins/jetpack/css/dashboard-widget.min.css
index 144c71df..1301d4fc 100644
--- a/plugins/jetpack/css/dashboard-widget.min.css
+++ b/plugins/jetpack/css/dashboard-widget.min.css
@@ -1,3 +1 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/#jetpack_summary_widget *{box-sizing:border-box}#jetpack_summary_widget h2.hndle span{display:flex;align-items:center}#jetpack_summary_widget h2.hndle span span{padding:0 .4em}#jetpack_summary_widget h2.hndle svg{height:20px;margin:.15em 0 0 .5em}#jetpack_summary_widget .js-toggle-stats_dashboard_widget_control .toggle-indicator:before{content:"\f111";display:inline-block;font:normal 20px/1 dashicons}#jetpack_summary_widget .inside{margin:0;padding:0}#jetpack_summary_widget .inside .stats-view-all{text-align:center;margin:1em 0}#jetpack_summary_widget .inside #stats_dashboard_widget_control{display:none;padding:0 10px;overflow:hidden}#jetpack_summary_widget .inside #stats_dashboard_widget_control .button-primary{float:right}#jetpack_summary_widget .inside #dashboard_stats{box-sizing:border-box;width:100%;padding:0 10px}#jetpack_summary_widget .inside #dashboard_stats .inside{margin:10px 0 0 0!important}#jetpack_summary_widget .inside #dashboard_stats #stats-graph{margin:0}#jetpack_summary_widget .inside #dashboard_stats #stat-chart{background:0 0!important}#jetpack_summary_widget .inside #dashboard_stats #stats-info{border-top:1px solid #dcdcde;margin:7px -10px 0 -10px;padding:10px;background:#fcfcfc;box-shadow:inset 0 1px 0 #fff;overflow:hidden;border-radius:0 0 2px 2px}#jetpack_summary_widget .inside #dashboard_stats #stats-info div#active{border-top:1px solid #dcdcde;margin:0 -10px;padding:10px 10px 0 10px;box-shadow:inset 0 1px 0 #fff;overflow:hidden}#jetpack_summary_widget .inside #dashboard_stats #stats-info h3{font-size:1em;margin:0 0 .5em 0!important}#jetpack_summary_widget .inside #dashboard_stats #stats-info p{margin:0 0 .25em;color:#999}#jetpack_summary_widget .inside #dashboard_stats #stats-info p.widget-loading{margin:1em 0 0;color:#333}#jetpack_summary_widget .inside #dashboard_stats #stats-info p a{display:block}#jetpack_summary_widget .inside #dashboard_stats #stats-info p a.button{display:inline}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts{float:left;width:50%;padding-right:3%}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts .stats-section-inner p{white-space:nowrap;overflow:hidden}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts .stats-section-inner p a{overflow:hidden;text-overflow:ellipsis}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-search{float:left;width:50%}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-search p{color:#999}#jetpack_summary_widget .stats,#jetpack_summary_widget .widgets,#jetpack_summary_widget .wpcom-connect{padding:.75em}#jetpack_summary_widget .wpcom-connect{background:#f6f7f7;text-align:center}#jetpack_summary_widget .wpcom-connect .jp-emblem{padding:5px 0 0 0}#jetpack_summary_widget .wpcom-connect svg{width:40px;height:40px}#jetpack_summary_widget .wpcom-connect svg path{fill:#069e08}#jetpack_summary_widget .wpcom-connect .jp-emblem,#jetpack_summary_widget .wpcom-connect h3,#jetpack_summary_widget .wpcom-connect p{width:100%}#jetpack_summary_widget .wpcom-connect h3{font-size:1.25em;font-weight:400}#jetpack_summary_widget .wpcom-connect p{color:#50575e;margin-top:0;padding:0 15px}#jetpack_summary_widget .wpcom-connect .actions{text-align:center;padding:15px 0 10px 0}#jetpack_summary_widget .wpcom-connect .actions small{display:block}#jetpack_summary_widget .wpcom-connect .actions small a{color:#999}#jetpack_summary_widget .button-jetpack{background:#069e08;border-color:#046d06;color:#fff;box-shadow:inset 0 1px 0 #09e80c,0 1px 0 rgba(0,0,0,.15)}#jetpack_summary_widget .button-jetpack:focus,#jetpack_summary_widget .button-jetpack:hover{background:#058507;border-color:#035404;color:#fff;box-shadow:inset 0 1px 0 #08cf0a}#jetpack_summary_widget .button-jetpack:focus{box-shadow:inset 0 1px 0 #08cf0a,0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8)}#jetpack_summary_widget .button-jetpack:active{background:#046d06;border-color:#035404;color:#fff;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8)}#jetpack_summary_widget .button-jetpack.button-primary-disabled,#jetpack_summary_widget .button-jetpack.disabled,#jetpack_summary_widget .button-jetpack:disabled,#jetpack_summary_widget .button-jetpack[disabled]{color:#c7d1c7!important;background:#057706!important;border-color:#035404!important;text-shadow:none!important}#jetpack_summary_widget footer{background:#f6f7f7;padding:.75em .75em 0 .75em;overflow:hidden;border-top:1px solid #ccc}#jetpack_summary_widget footer .akismet,#jetpack_summary_widget footer .protect{float:left;text-align:left;margin-bottom:.75em}#jetpack_summary_widget footer .protect{padding-right:3%;min-width:50%}#jetpack_summary_widget footer h3{font-size:1em;font-weight:400;margin:0 0 .25em 0;padding:0}#jetpack_summary_widget footer p.blocked-count{font-size:1.5em;font-weight:400;margin:0;padding:0}#jetpack_summary_widget footer p{margin:0;padding:0}#jetpack_summary_widget footer section{margin:0;padding:0;text-align:center}.metabox-prefs label[for=jetpack_summary_widget-hide] span{display:none} \ No newline at end of file
+#jetpack_summary_widget *{box-sizing:border-box}#jetpack_summary_widget h2.hndle span{align-items:center;display:flex}#jetpack_summary_widget h2.hndle span span{padding:0 .4em}#jetpack_summary_widget h2.hndle svg{height:20px;margin:.15em 0 0 .5em}#jetpack_summary_widget .js-toggle-stats_dashboard_widget_control .toggle-indicator:before{content:"\f111";display:inline-block;font:normal 20px/1 dashicons}#jetpack_summary_widget .inside{margin:0;padding:0}#jetpack_summary_widget .inside .stats-view-all{margin:1em 0;text-align:center}#jetpack_summary_widget .inside #stats_dashboard_widget_control{display:none;overflow:hidden;padding:0 10px}#jetpack_summary_widget .inside #stats_dashboard_widget_control .button-primary{float:right}#jetpack_summary_widget .inside #dashboard_stats{box-sizing:border-box;padding:0 10px;width:100%}#jetpack_summary_widget .inside #dashboard_stats .inside{margin:10px 0 0!important}#jetpack_summary_widget .inside #dashboard_stats #stats-graph{margin:0}#jetpack_summary_widget .inside #dashboard_stats #stat-chart{background:none!important}#jetpack_summary_widget .inside #dashboard_stats #stats-info{background:#fcfcfc;border-radius:0 0 2px 2px;border-top:1px solid #dcdcde;box-shadow:inset 0 1px 0 #fff;margin:7px -10px 0;overflow:hidden;padding:10px}#jetpack_summary_widget .inside #dashboard_stats #stats-info div#active{border-top:1px solid #dcdcde;box-shadow:inset 0 1px 0 #fff;margin:0 -10px;overflow:hidden;padding:10px 10px 0}#jetpack_summary_widget .inside #dashboard_stats #stats-info h3{font-size:1em;margin:0 0 .5em!important}#jetpack_summary_widget .inside #dashboard_stats #stats-info p{color:#999;margin:0 0 .25em}#jetpack_summary_widget .inside #dashboard_stats #stats-info p.widget-loading{color:#333;margin:1em 0 0}#jetpack_summary_widget .inside #dashboard_stats #stats-info p a{display:block}#jetpack_summary_widget .inside #dashboard_stats #stats-info p a.button{display:inline}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts{float:left;padding-right:3%;width:50%}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts .stats-section-inner p{overflow:hidden;white-space:nowrap}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-posts .stats-section-inner p a{overflow:hidden;text-overflow:ellipsis}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-search{float:left;width:50%}#jetpack_summary_widget .inside #dashboard_stats #stats-info #top-search p{color:#999}#jetpack_summary_widget .stats,#jetpack_summary_widget .widgets,#jetpack_summary_widget .wpcom-connect{padding:.75em}#jetpack_summary_widget .wpcom-connect{background:#f6f7f7;text-align:center}#jetpack_summary_widget .wpcom-connect .jp-emblem{padding:5px 0 0}#jetpack_summary_widget .wpcom-connect svg{height:40px;width:40px}#jetpack_summary_widget .wpcom-connect svg path{fill:#069e08}#jetpack_summary_widget .wpcom-connect .jp-emblem,#jetpack_summary_widget .wpcom-connect h3,#jetpack_summary_widget .wpcom-connect p{width:100%}#jetpack_summary_widget .wpcom-connect h3{font-size:1.25em;font-weight:400}#jetpack_summary_widget .wpcom-connect p{color:#50575e;margin-top:0;padding:0 15px}#jetpack_summary_widget .wpcom-connect .actions{padding:15px 0 10px;text-align:center}#jetpack_summary_widget .wpcom-connect .actions small{display:block}#jetpack_summary_widget .wpcom-connect .actions small a{color:#999}#jetpack_summary_widget .button-jetpack{background:#069e08;border-color:#046d06;box-shadow:inset 0 1px 0 #09e80c,0 1px 0 rgba(0,0,0,.15);color:#fff}#jetpack_summary_widget .button-jetpack:focus,#jetpack_summary_widget .button-jetpack:hover{background:#058507;border-color:#035404;box-shadow:inset 0 1px 0 #08cf0a;color:#fff}#jetpack_summary_widget .button-jetpack:focus{box-shadow:inset 0 1px 0 #08cf0a,0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8)}#jetpack_summary_widget .button-jetpack:active{background:#046d06;border-color:#035404;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #4f94d4,0 0 2px 1px rgba(30,140,190,.8);color:#fff}#jetpack_summary_widget .button-jetpack.button-primary-disabled,#jetpack_summary_widget .button-jetpack.disabled,#jetpack_summary_widget .button-jetpack:disabled,#jetpack_summary_widget .button-jetpack[disabled]{background:#057706!important;border-color:#035404!important;color:#c7d1c7!important;text-shadow:none!important}#jetpack_summary_widget footer{border-top:1px solid #ccc;overflow:hidden}#jetpack_summary_widget footer .blocked-container{background:#f6f7f7;display:flex;padding:.75em .75em 0}#jetpack_summary_widget footer .akismet,#jetpack_summary_widget footer .protect{float:left;margin-bottom:.75em;text-align:left}#jetpack_summary_widget footer .protect{min-width:50%;padding-right:3%}#jetpack_summary_widget footer h3{font-size:1em;font-weight:400;margin:0 0 .25em;padding:0}#jetpack_summary_widget footer p.blocked-count{border:1px solid #c3c4c7;border-radius:4px;color:#3582c4;display:inline-block;font-size:2rem;font-weight:500;margin-bottom:6px;margin-right:8px;margin-top:0;min-width:36px;padding:0 4px;text-align:center}#jetpack_summary_widget footer p{margin:0;padding:0}#jetpack_summary_widget footer section{margin:0;padding:0;text-align:center}#jetpack_summary_widget footer .footer-links{border-top:1px solid #f0f0f1;padding:.75em .75em .5em}#jetpack_summary_widget footer .footer-links svg{height:20px}#jetpack_summary_widget footer .footer-links span{float:right}.metabox-prefs label[for=jetpack_summary_widget-hide] span svg{height:1.2rem;vertical-align:text-bottom} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-admin-rtl.css b/plugins/jetpack/css/jetpack-admin-rtl.css
index c9bf7b29..7d73d412 100644
--- a/plugins/jetpack/css/jetpack-admin-rtl.css
+++ b/plugins/jetpack/css/jetpack-admin-rtl.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
.j-row {
width: 100%;
margin: 0 auto;
@@ -188,7 +185,7 @@
width: 30px;
height: 30px;
vertical-align: middle;
- background: url("../images/connect-plug.svg") center center no-repeat;
+ background: url(../images/connect-plug.svg) center center no-repeat;
background-size: 100%;
}
.download-jetpack:after {
@@ -257,8 +254,8 @@
@font-face {
font-family: "automatticons";
- src: url("../_inc/fonts/automatticons/automatticons.eot");
- src: url("../_inc/fonts/automatticons/automatticons.eot?#iefix") format("embedded-opentype"), url("../_inc/fonts/automatticons/automatticons.woff") format("woff"), url("../_inc/fonts/automatticons/automatticons.ttf") format("truetype"), url("../_inc/fonts/automatticons/automatticons.svg#automatticonsregular") format("svg");
+ src: url(../_inc/fonts/automatticons/automatticons.eot);
+ src: url(../_inc/fonts/automatticons/automatticons.eot?#iefix) format("embedded-opentype"), url(../_inc/fonts/automatticons/automatticons.woff) format("woff"), url(../_inc/fonts/automatticons/automatticons.ttf) format("truetype"), url(../_inc/fonts/automatticons/automatticons.svg#automatticonsregular) format("svg");
font-weight: normal;
font-style: normal;
}
@@ -1367,4 +1364,3 @@
padding: 0 0.5em;
}
}
-/*# sourceMappingURL=jetpack-admin-rtl.css.map */
diff --git a/plugins/jetpack/css/jetpack-admin-rtl.min.css b/plugins/jetpack/css/jetpack-admin-rtl.min.css
index 2b128463..b154a059 100644
--- a/plugins/jetpack/css/jetpack-admin-rtl.min.css
+++ b/plugins/jetpack/css/jetpack-admin-rtl.min.css
@@ -1,3 +1 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.j-row{width:100%;margin:0 auto}.j-row:after,.j-row:before{content:" ";display:table}.j-row:after{clear:both}.j-col{padding:.85em;width:100%;float:right;position:relative}@media only screen{.j-sm-5{width:41.66667%}.j-sm-7{width:58.33333%}.j-sm-12{width:100%}}@media (min-width:530px){.j-md-4{width:33.33333%}.j-md-6{width:50%}.j-md-8{width:66.66667%}.j-md-12{width:100%}}@media (min-width:782px){.j-lrg-4{width:33.33333%}.j-lrg-5{width:41.66667%}.j-lrg-6{width:50%}.j-lrg-7{width:58.33333%}.j-lrg-8{width:66.66667%}.j-lrg-12{width:100%}}@keyframes jetpack-candy{0%{transform:scale(1)}20%{transform:scale(1.15)}60%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes jetpack-loading-fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes jetpack-rotate{to{transform:rotate(-1turn)}}.button,.download-jetpack{transition:all .1s ease-in-out}.jp-button,.jp-button--settings{display:inline-block;position:relative;padding:.7692307692em 1.4615384615em;color:#efefef;font-weight:700;font-size:.9285714286em;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.2);background:#6f7476;border-radius:3px}.jp-button--settings:visited,.jp-button:visited{color:#efefef}.jp-button--settings:focus,.jp-button--settings:hover,.jp-button:focus,.jp-button:hover{color:#fff;background:#57972d}.jp-button--settings:active,.jp-button:active{background:#57972d;opacity:.8}.jp-button--settings{background:#93b45f;color:#e8eedf}.jp-button--settings:visited{color:#e8eedf}.jp-button--settings:focus,.jp-button--settings:hover{background:#9fbd72;color:#fff}.jp-button--settings.current{background:#3c6621;color:#fff;box-shadow:inset 0 2px 0 #365a1f,inset 0 1px 3px #3c6621}.download-jetpack{display:inline-block;position:relative;padding:.6428571429em 1.0869565217em .5357142857em;color:#fff;font-weight:400;font-size:20px;line-height:1;background:#518d2a;z-index:3;border-radius:6px;box-shadow:0 6px 0 #3e6c20,0 6px 3px rgba(0,0,0,.4)}.download-jetpack:visited{color:#fff}.download-jetpack:focus,.download-jetpack:hover{color:#fff;background:#57972d;box-shadow:0 6px 0 #3e6c20,0 6px 3px rgba(0,0,0,.4)}.download-jetpack:active{top:6px;box-shadow:0 0 0 #3e6c20,0 0 0 rgba(0,0,0,.4)}.download-jetpack:active:after{top:-6px}.download-jetpack:before{content:"";display:inline-block;position:relative;top:-2px;margin-left:13px;width:30px;height:30px;vertical-align:middle;background:url(../images/connect-plug.svg) center center no-repeat;background-size:100%}.download-jetpack:after{content:"";position:absolute;top:0;right:0;width:100%;height:100%}@media (max-width:1147px){.download-jetpack{font-size:1.2857142857em}.download-jetpack:before{top:-1px;width:23px;height:23px}}@media (max-width:900px){.download-jetpack:active{top:0}}@media (max-width:530px){.download-jetpack{font-size:1.2142857143em;font-weight:600}.download-jetpack:before{width:19px;height:19px;margin-left:9px}}.jp-spinner{display:flex;align-items:center}.jp-spinner__inner,.jp-spinner__outer{margin:auto;box-sizing:border-box;border:.1em solid transparent;border-radius:50%;border-top-color:#00aadc;animation:3s linear infinite;animation-name:jetpack-rotate}.jp-spinner__outer{width:20px;height:20px;font-size:20px}.jp-spinner__inner{width:100%;height:100%;border-left-color:#00aadc;opacity:.4}@font-face{font-family:automatticons;src:url(../_inc/fonts/automatticons/automatticons.eot);src:url(../_inc/fonts/automatticons/automatticons.eot?#iefix) format("embedded-opentype"),url(../_inc/fonts/automatticons/automatticons.woff) format("woff"),url(../_inc/fonts/automatticons/automatticons.ttf) format("truetype"),url(../_inc/fonts/automatticons/automatticons.svg#automatticonsregular) format("svg");font-weight:400;font-style:normal}.nav-horizontal:after{content:".";display:block;height:0;clear:both;visibility:hidden}.nav-horizontal a{display:inline-block}.nav-horizontal li{position:relative;float:right}.nav-horizontal ul{margin:0;padding:0}@media (max-width:782px){.configure .frame.top.fixed{padding-right:0}}.page-content,.wrap.inner{max-width:950px;margin:0 auto}.page-content li,.wrap.inner li{line-height:23px}@media (max-width:530px){.page-content{margin-top:0}}@media (max-width:1147px){.wrap.inner{background:#f6f7f7;padding:15px}}@media (max-width:530px){.wrap.inner{margin-top:1.7142857143em}}.page-content.about{position:relative;z-index:10}@media (max-width:1147px){.page-content.about{background:#f6f7f7;padding:15px}}@media (max-width:1147px){.page-content.configure{background:#f6f7f7}}.footer nav{max-width:550px;margin:0 auto}.header{right:0;left:0;background:#81a844}.header-nav li{line-height:60px}.header-nav a{padding:0 .7142857143em;line-height:24px}.header-nav .jetpack-logo a{display:inline-block;position:relative;width:214px;margin-left:6px;background:url(../images/jetpack-logo.png) center center no-repeat;background:url(../images/jetpack-logo.svg) center center no-repeat,none;background-size:183px auto;color:#fff;line-height:60px;font-weight:400}.header-nav .jetpack-logo a span{text-indent:-9999px;visibility:hidden}.header-nav .jetpack-logo a:before{content:"";position:absolute;top:0;right:0;width:100%;height:100%;background-size:183px 32px}.header-nav .jetpack-modules+.jetpack-modules{margin-right:15px}.main-nav{float:right}.main-nav li{margin:0}@media (max-width:900px){.main-nav{font-size:13px}}.jetpack-pagestyles #screen-meta{margin:0}.jetpack-pagestyles #screen-meta-links .screen-meta-toggle{z-index:2}.jetpack-pagestyles #contextual-help-link-wrap,.jetpack-pagestyles #screen-options-link-wrap{border:none}.jetpack-pagestyles .update-nag{display:none}.loading{bottom:50%;position:absolute;top:50%;width:100%}.loading span{color:#999}.modal{background:#fff;position:fixed;top:52px;bottom:20px;left:20px;right:20px;margin-right:160px;display:none;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:500}.modal .close{position:absolute;top:0;left:0;font:300 1.7142857143em genericons!important;color:#777;content:"\f405";display:inline-block;padding:.2857142857em .7142857143em .4285714286em;z-index:5}.modal .close:hover{background:#f0f0f1;opacity:.8}.modal .close:active{background:#f0f0f1;opacity:.4}.modal .content-container{position:absolute;top:0;left:0;bottom:0;right:0;overflow:auto;padding:2.1428571429em}.modal .content{margin:0 auto;max-width:900px;text-align:right}.modal h2{text-align:right;margin-top:0;color:#5d6d74;font-weight:300;line-height:32px;text-shadow:0 1px 1px #fff}@media (max-width:530px){.modal h2{font-size:26px}}.modal h5{clear:right}.modal p{font-size:1.2307692308em}.modal footer{position:absolute;right:0;bottom:0;width:100%;padding:12px 20px;border-top:1px solid #dcdcde;background:#fff;text-align:left}.modal footer ul{margin:0}.modal footer li{display:inline-block;margin:0}.modal .button-primary:active,.modal .button-secondary{vertical-align:baseline}@media (max-width:900px){.modal{bottom:5%;margin-right:36px;font-size:80%}.modal .content{top:38px}}@media (max-width:782px){.modal{top:66px;margin-right:0}}@media (max-width:600px){.modal{top:10px;left:10px;bottom:10px;right:10px}}.jp-info-img{float:left;margin:0 30px 8px 0}.jp-info-img img{border:1px solid #dcdcde;max-width:100%;height:auto}.jp-info-img img:first-child{margin-top:0}@media (max-width:782px){.jp-info-img{float:none;margin:0 0 15px}}.content-container.modal-footer{bottom:53px}.shade{background:#000;bottom:0;cursor:pointer;display:none;right:0;opacity:.2;position:fixed;left:0;top:0;z-index:11}.footer{margin-top:1.4285714286em;position:relative;padding:10em 0 4.2857142857em;text-align:center}.footer:after,.footer:before{content:"";position:absolute;right:0;pointer-events:none}.footer:before{top:0;margin-top:-1px;width:100%;height:195px}.footer:after{display:none}.footer .download-jetpack{margin-bottom:33px}@media (min-width:1147px){.footer{padding-bottom:35px}}@media (max-width:1147px){.footer{padding-top:165px;padding-bottom:0}.footer:before{background-size:160% auto}.footer ul{float:none;overflow:hidden}}@media (max-width:900px){.footer{padding-top:146px}}@media (max-width:782px){.footer{margin-top:0}}@media (max-width:530px){.footer{margin-top:0;padding-top:135px}}@media (max-width:320px){.footer{padding-top:76px}}.footer nav{max-width:100%}.footer nav a,.footer nav a:visited{padding:4px 6px;color:#999}.footer nav a:focus,.footer nav a:hover,.footer nav a:visited:focus,.footer nav a:visited:hover{color:#81a844}@media (max-width:1147px){.footer nav a:focus,.footer nav a:hover,.footer nav a:visited:focus,.footer nav a:visited:hover{color:#81a844}}@media (max-width:530px){.footer nav li{display:block;float:none;margin:0;text-align:right}.footer nav a{display:block;padding:0 16px;line-height:44px}}.primary{padding:25px 15px 10px 15px;border-bottom:1px solid #f0f0f1}.secondary-footer{margin:0 auto}.secondary-footer li{margin-left:5px}@media (min-width:782px){.secondary-footer{padding:8px 15px 10px;margin-bottom:30px;border-bottom:1px solid #f0f0f1}}@media (min-width:1147px){.secondary-footer{margin-bottom:0}}@media (max-width:782px){.secondary-footer{padding:8px 15px 8px;border-bottom:none}}@media (max-width:530px){.secondary-footer{margin:0;padding:0;border:none;font-weight:400}.secondary-footer a{border-top:1px solid #f0f0f1}}.footer .a8c-attribution{margin:0;padding:0 6px;color:#bbb;font-size:.7857142857em;font-family:"Gill Sans","Gill Sans MT",Helvetica,Arial,sans-serif;text-transform:uppercase}.footer .a8c-attribution a{display:inline-block;position:relative;padding:4px 16px;left:9999px;outline:0}.footer .a8c-attribution a:after{content:"A";position:absolute;top:2px;left:-9999px;height:100%;color:#999;font-size:1.5454545455em;font-family:automatticons;text-align:center}.footer .a8c-attribution a:hover:after{animation:jetpack-candy .4s ease-in-out}@media (min-width:782px){.secondary{padding:0 15px 10px 15px;border-bottom:1px solid #f0f0f1}}@media (min-width:1147px){.secondary{padding:0 15px 10px 15px;border-bottom:none}}.jetpack-message{background:#8eb74e;border:1px solid #73963d;margin:33px auto 0;max-width:90%;position:relative;z-index:2}.jetpack-message.is-opt-in{margin:50px 0 0;max-width:100%;padding:10px 15px;background:#fff;border:0;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);font-size:13px;text-align:center}.subhead .jetpack-message.is-opt-in{margin:0;padding-bottom:0;background:0 0;box-shadow:none}.subhead .jetpack-message.is-opt-in .jp-button,.subhead .jetpack-message.is-opt-in .jp-button--settings{display:inline-block}.jetpack-message.is-opt-in p{color:#3c4549}.jetpack-message.is-opt-in .jp-button,.jetpack-message.is-opt-in .jp-button--settings{margin-top:15px;display:none}.jetpack-message .squeezer h2{font-size:1em}.jetpack-message h2{color:#fff;margin:0}.jetpack-message p{color:#fff;margin:0;opacity:.7}.jetpack-message .squeezer{padding:23px 80px 23px 23px;position:relative;text-align:right}.jetpack-message .squeezer:before{color:#fff;content:"\f418";font-family:Genericons;font-size:33px;height:33px;right:25px;opacity:.6;position:absolute;top:23px;top:calc(50% - 22px)}@media (max-width:530px){.jetpack-message .squeezer{padding:23px}.jetpack-message .squeezer:before{display:none}}.jetpack-message .squeezer a{color:#fff;border-bottom:1px solid #d5e4bd}.jetpack-message .squeezer a:hover{border-bottom:1px solid #f1f6e9}.jetpack-message.error .squeezer:before,.jetpack-message.jetpack-err .squeezer:before{content:"\f414"}.configure-module .jetpack-message{max-width:100%}@media (max-width:530px){.wrap.inner.jp-support .jp-support-column-left{width:100%}.wrap.inner.jp-support .jp-support-column-left .widget-text{margin-left:0;width:100%}.wrap.inner.jp-support .jp-support-column-right{width:100%}}@media screen and (max-width:515px){.jp-frame .header-nav{padding-bottom:10px}.jp-frame .header-nav li{line-height:30px}.jp-frame .header-nav .jetpack-logo{width:100%;text-align:center}.jp-frame .header-nav .jetpack-modules{margin:0;width:50%;text-align:left;padding:0 5px}.jp-frame .header-nav .jetpack-modules+.jetpack-modules{text-align:right}.jp-frame .header-nav .jetpack-modules:nth-child(4){text-align:center;margin:0 auto;width:100%}.jp-frame .header-nav .jetpack-modules:nth-child(4) a{padding:0 10px}}#ie-legacy-notice .dops-notice__content{display:inline-block;margin-right:10px}.page-content.configure{margin-top:0}.configure .frame.top{border:none;box-shadow:none;padding-top:1.4285714286em;position:relative;top:auto}.configure .frame.top.fixed{background:#f6f7f7;border-bottom:1px solid #e9e9e9;padding-right:160px;margin-top:-6px;position:fixed;left:0;top:32px;width:100%;z-index:4;box-shadow:0 2px 2px -2px #f0f0f1}@media (max-width:782px){.configure .frame.top.fixed{border:none;box-shadow:none;padding-top:1.4285714286em;position:relative;top:auto}}@media (max-width:600px){.configure .frame.top.fixed{top:0}}.jp-frame-top-fixed .configure{padding-top:94px}.filter-search{display:none;float:left;margin-top:10px}@media (max-width:782px){.filter-search{display:block}}@media (max-width:530px){.filter-search{display:none}}.table-bordered.jetpack-modules{border:none;margin-bottom:0}.table-bordered.jetpack-modules tr.jetpack-module th{border-right:0;padding:14px 4px 0}.table-bordered.jetpack-modules tr.jetpack-module th input{display:block}.table-bordered.jetpack-modules tr.jetpack-module:hover .genericon{display:inline-block}.table-bordered.jetpack-modules tr.jetpack-module.active td,.table-bordered.jetpack-modules tr.jetpack-module.active th{background:#f7fcfe}.table-bordered.jetpack-modules tr.jetpack-module.active th{border-right:4px solid #2ea2cc;padding-right:0}.table-bordered.jetpack-modules tr.jetpack-module.active td:first-child{border-right:4px solid #2ea2cc}.table-bordered.jetpack-modules tr.jetpack-module.unavailable input{display:none}.table-bordered.jetpack-modules tr.jetpack-module.deprecated span{color:#888}.table-bordered.jetpack-modules tr.jetpack-module.deprecated .dep-msg{margin-left:10px;color:#555}.table-bordered.jetpack-modules tr.jetpack-module td,.table-bordered.jetpack-modules tr.jetpack-module th{background:#fff;margin:0;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.table-bordered.jetpack-modules tr.jetpack-module td{padding:10px 14px 8px 10px;line-height:25px}.table-bordered.jetpack-modules tr.jetpack-module td:first-child{border-right:4px solid #fff}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{float:left;padding:0 0 1px;visibility:visible;position:static}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions span{margin-right:5px}@media (max-width:530px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:none}}@media (max-width:782px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:block;padding-right:10px;visibility:visible}}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions span.unavailable_reason{color:#000}.table-bordered.jetpack-modules.with-transparency tr.jetpack-module:hover td .row-actions span a{opacity:1}.table-bordered.jetpack-modules.with-transparency tr.jetpack-module.unavailable{opacity:.3}.table-bordered.jetpack-modules>thead>tr>th{border:0;vertical-align:middle}.table-bordered.jetpack-modules>thead>tr>th:last-child{padding-left:0}@media (max-width:782px){.table-bordered.jetpack-modules>thead>tr>th:last-child{padding-right:0}}.table-bordered.jetpack-modules td{background:#fff}.table-bordered.jetpack-modules #doaction{margin-top:0}@media (max-width:782px){.table-bordered.jetpack-modules #doaction{padding:10px 7px}}.table-bordered.jetpack-modules .checkall{margin-top:1px}.table-bordered.jetpack-modules .filter-search{margin-top:8px}.table-bordered.jetpack-modules .genericon{color:#999;display:none;margin:7px 3px 0}@media (max-width:900px){.table-bordered.jetpack-modules .genericon{display:inline-block}}.table-bordered.jetpack-modules .med{width:70px}.table-bordered.jetpack-modules .sm{width:30px}@media (max-width:782px){.table-bordered.jetpack-modules .check-column{width:50px}}.fixed-top .check-column{padding:8px 10px 0 10px;width:2.2em}.wrap{margin:0;padding:0 1.5em 1em;overflow:hidden}.wrap h2{font-size:24px;font-weight:400}.wrap .manage-left{float:right;margin:0;padding:0;width:63%}.wrap .manage-left table{width:100%}.wrap .manage-left th{font-weight:400}@media (max-width:782px){.wrap .manage-left{width:100%}}.wrap .manage-right{margin:0;padding:0;float:left;width:35%;z-index:1}.wrap .manage-right p{font-size:12px;font-weight:700;color:#bbb;padding-top:2px;text-transform:uppercase;letter-spacing:1px;clear:right}.wrap .manage-right .bumper{margin-right:33px}.wrap .manage-right.show{display:block;overflow-y:auto;overflow-x:hidden;position:absolute;z-index:100000}.wrap .manage-right .search-bar{margin-bottom:18px;max-width:300px}.wrap .manage-right p.search-box{float:none;height:auto;margin-bottom:0;position:relative}.wrap .manage-right p.search-box input[type=search]{padding:0 8px;width:90%;line-height:initial}@media (max-width:782px){.wrap .manage-right p.search-box input[type=search]{float:right;padding:9px 8px}}.wrap .manage-right p.search-box input[type=submit]{display:none}.wrap .manage-right .button-group .button{outline:0}.wrap .manage-right .subsubsub{margin:0;padding:0}.wrap .manage-right .subsubsub a{padding:0;line-height:inherit}.wrap .manage-right .subsubsub .current{padding:1px 5px;border-radius:2px;margin-right:-5px;background:#0d72b2;color:#fff}.wrap .manage-right .subsubsub .current .count{color:#bcd7e7;font-weight:200}.wrap .manage-right .subsubsub li{display:block;text-align:right}@media (max-width:782px){.wrap .manage-right{background:#fff;bottom:0;display:none;min-width:300px;position:fixed;left:0;top:0;z-index:13;box-shadow:0 1px 20px 5px rgba(0,0,0,.1)}.wrap .manage-right .bumper{margin:13px}.wrap .manage-right .navbar-form{margin:0;padding:0}}@media (max-width:782px){.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):not(.check-column){padding:11px 10px;display:block}.manage-right.show .subsubsub li{padding:5px}}@media (max-width:650px){.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions{float:none;padding-right:18px}}@media (max-width:430px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:none}.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions{display:block}}.configure-module p{font-size:14px}.configure-module p.error,.configure-module p.success{color:#fff;padding:10px}.configure-module p.success{background-color:#81a844}.configure-module p.error{background-color:#d94f4f}.protect-status p{font-size:16px}.protect-status strong{display:inline-block;margin-top:10px;background:#fff;padding:10px;border:1px #dcdcde solid;font-size:16px;color:#000;max-width:100%}.protect-status.attn{color:#d94f4f}.protect-status.working{color:#81a844}.protect-whitelist textarea{width:100%;min-height:150px}.configure-module input[disabled]{opacity:.5}.configure-module input.button-primary{font-weight:700}@media only screen and (min-width:1100px){.protect-whitelist{width:65%;float:right}}@media only screen and (max-width:400px){.protect-status strong{font-size:12px;overflow:auto}}.manage__icon{width:155px;height:155px;margin:20px auto}.manage-page .manage__description{max-width:600px;text-align:center;font-size:22px;color:#999;margin:20px auto}.manage-page .manage__button{font-size:16px;padding:0 20px;height:40px;line-height:40px}.manage__title .genericon{font-size:38px;color:#81a944}.manage__link{font-size:16px;padding:0 20px;height:40px;line-height:40px;font-weight:400}.manage__link .genericon{font-size:28px;vertical-align:middle;margin-top:-6px}.jp-content .hide{display:none}.jp-content .landing{margin:0 auto;z-index:2;position:relative}.jp-content h1{font-weight:400;line-height:1.75em;position:relative;z-index:3;width:100%;text-align:center}.jp-content h1.success{color:#81a844}.jp-content .footer{padding-top:0;margin-top:0;background-image:none}.jp-content .footer:before{height:inherit}.jp-content .more-info:before{content:none}.landing .wpcom-connect{min-height:400px}.wpcom-connect .j-col{padding:0}@media (max-width:1147px){.jp-content .landing{padding:0 2em}.jp-content .footer{padding-top:1.5em}}@media (max-width:530px){.jp-content .landing{padding:0 .5em}} \ No newline at end of file
+.j-row{margin:0 auto;width:100%}.j-row:after,.j-row:before{content:" ";display:table}.j-row:after{clear:both}.j-col{float:right;padding:.85em;position:relative;width:100%}@media only screen{.j-sm-5{width:41.66667%}.j-sm-7{width:58.33333%}.j-sm-12{width:100%}}@media (min-width:530px){.j-md-4{width:33.33333%}.j-md-6{width:50%}.j-md-8{width:66.66667%}.j-md-12{width:100%}}@media (min-width:782px){.j-lrg-4{width:33.33333%}.j-lrg-5{width:41.66667%}.j-lrg-6{width:50%}.j-lrg-7{width:58.33333%}.j-lrg-8{width:66.66667%}.j-lrg-12{width:100%}}@keyframes jetpack-candy{0%{transform:scale(1)}20%{transform:scale(1.15)}60%{transform:scale(.95)}to{transform:scale(1)}}@keyframes jetpack-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes jetpack-rotate{to{transform:rotate(-1turn)}}.button,.download-jetpack{transition:all .1s ease-in-out}.jp-button,.jp-button--settings{background:#6f7476;border-radius:3px;color:#efefef;display:inline-block;font-size:.9285714286em;font-weight:700;line-height:1;padding:.7692307692em 1.4615384615em;position:relative;text-shadow:0 1px 1px rgba(0,0,0,.2)}.jp-button--settings:visited,.jp-button:visited{color:#efefef}.jp-button--settings:focus,.jp-button--settings:hover,.jp-button:focus,.jp-button:hover{background:#57972d;color:#fff}.jp-button--settings:active,.jp-button:active{background:#57972d;opacity:.8}.jp-button--settings{background:#93b45f;color:#e8eedf}.jp-button--settings:visited{color:#e8eedf}.jp-button--settings:focus,.jp-button--settings:hover{background:#9fbd72;color:#fff}.jp-button--settings.current{background:#3c6621;box-shadow:inset 0 2px 0 #365a1f,inset 0 1px 3px #3c6621;color:#fff}.download-jetpack{background:#518d2a;border-radius:6px;box-shadow:0 6px 0 #3e6c20,0 6px 3px rgba(0,0,0,.4);color:#fff;display:inline-block;font-size:20px;font-weight:400;line-height:1;padding:.6428571429em 1.0869565217em .5357142857em;position:relative;z-index:3}.download-jetpack:visited{color:#fff}.download-jetpack:focus,.download-jetpack:hover{background:#57972d;box-shadow:0 6px 0 #3e6c20,0 6px 3px rgba(0,0,0,.4);color:#fff}.download-jetpack:active{box-shadow:0 0 0 #3e6c20,0 0 0 rgba(0,0,0,.4);top:6px}.download-jetpack:active:after{top:-6px}.download-jetpack:before{background:url(../images/connect-plug.svg) 50% no-repeat;background-size:100%;content:"";display:inline-block;height:30px;margin-left:13px;position:relative;top:-2px;vertical-align:middle;width:30px}.download-jetpack:after{content:"";height:100%;position:absolute;right:0;top:0;width:100%}@media (max-width:1147px){.download-jetpack{font-size:1.2857142857em}.download-jetpack:before{height:23px;top:-1px;width:23px}}@media (max-width:900px){.download-jetpack:active{top:0}}@media (max-width:530px){.download-jetpack{font-size:1.2142857143em;font-weight:600}.download-jetpack:before{height:19px;margin-left:9px;width:19px}}.jp-spinner{align-items:center;display:flex}.jp-spinner__inner,.jp-spinner__outer{animation:3s linear infinite;animation-name:jetpack-rotate;border:.1em solid transparent;border-radius:50%;border-top-color:#00aadc;box-sizing:border-box;margin:auto}.jp-spinner__outer{font-size:20px;height:20px;width:20px}.jp-spinner__inner{border-left-color:#00aadc;height:100%;opacity:.4;width:100%}@font-face{font-family:automatticons;font-style:normal;font-weight:400;src:url(../_inc/fonts/automatticons/automatticons.eot);src:url(../_inc/fonts/automatticons/automatticons.eot?#iefix) format("embedded-opentype"),url(../_inc/fonts/automatticons/automatticons.woff) format("woff"),url(../_inc/fonts/automatticons/automatticons.ttf) format("truetype"),url(../_inc/fonts/automatticons/automatticons.svg#automatticonsregular) format("svg")}.nav-horizontal:after{clear:both;content:".";display:block;height:0;visibility:hidden}.nav-horizontal a{display:inline-block}.nav-horizontal li{float:right;position:relative}.nav-horizontal ul{margin:0;padding:0}@media (max-width:782px){.configure .frame.top.fixed{padding-right:0}}.page-content,.wrap.inner{margin:0 auto;max-width:950px}.page-content li,.wrap.inner li{line-height:23px}@media (max-width:530px){.page-content{margin-top:0}}@media (max-width:1147px){.wrap.inner{background:#f6f7f7;padding:15px}}@media (max-width:530px){.wrap.inner{margin-top:1.7142857143em}}.page-content.about{position:relative;z-index:10}@media (max-width:1147px){.page-content.about{background:#f6f7f7;padding:15px}.page-content.configure{background:#f6f7f7}}.footer nav{margin:0 auto;max-width:550px}.header{background:#81a844;left:0;right:0}.header-nav li{line-height:60px}.header-nav a{line-height:24px;padding:0 .7142857143em}.header-nav .jetpack-logo a{background:url(../images/jetpack-logo.png) 50% no-repeat;background:url(../images/jetpack-logo.svg) 50% no-repeat,none;background-size:183px auto;color:#fff;display:inline-block;font-weight:400;line-height:60px;margin-left:6px;position:relative;width:214px}.header-nav .jetpack-logo a span{text-indent:-9999px;visibility:hidden}.header-nav .jetpack-logo a:before{background-size:183px 32px;content:"";height:100%;position:absolute;right:0;top:0;width:100%}.header-nav .jetpack-modules+.jetpack-modules{margin-right:15px}.main-nav{float:right}.main-nav li{margin:0}@media (max-width:900px){.main-nav{font-size:13px}}.jetpack-pagestyles #screen-meta{margin:0}.jetpack-pagestyles #screen-meta-links .screen-meta-toggle{z-index:2}.jetpack-pagestyles #contextual-help-link-wrap,.jetpack-pagestyles #screen-options-link-wrap{border:none}.jetpack-pagestyles .update-nag{display:none}.loading{bottom:50%;position:absolute;top:50%;width:100%}.loading span{color:#999}.modal{background:#fff;bottom:20px;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);display:none;left:20px;margin-right:160px;position:fixed;right:20px;top:52px;z-index:500}.modal .close{color:#777;content:"\f405";display:inline-block;font:300 1.7142857143em genericons!important;left:0;padding:.2857142857em .7142857143em .4285714286em;position:absolute;top:0;z-index:5}.modal .close:hover{background:#f0f0f1;opacity:.8}.modal .close:active{background:#f0f0f1;opacity:.4}.modal .content-container{bottom:0;left:0;overflow:auto;padding:2.1428571429em;position:absolute;right:0;top:0}.modal .content{margin:0 auto;max-width:900px;text-align:right}.modal h2{color:#5d6d74;font-weight:300;line-height:32px;margin-top:0;text-align:right;text-shadow:0 1px 1px #fff}@media (max-width:530px){.modal h2{font-size:26px}}.modal h5{clear:right}.modal p{font-size:1.2307692308em}.modal footer{background:#fff;border-top:1px solid #dcdcde;bottom:0;padding:12px 20px;position:absolute;right:0;text-align:left;width:100%}.modal footer ul{margin:0}.modal footer li{display:inline-block;margin:0}.modal .button-primary:active,.modal .button-secondary{vertical-align:baseline}@media (max-width:900px){.modal{bottom:5%;font-size:80%;margin-right:36px}.modal .content{top:38px}}@media (max-width:782px){.modal{margin-right:0;top:66px}}@media (max-width:600px){.modal{bottom:10px;left:10px;right:10px;top:10px}}.jp-info-img{float:left;margin:0 30px 8px 0}.jp-info-img img{border:1px solid #dcdcde;height:auto;max-width:100%}.jp-info-img img:first-child{margin-top:0}@media (max-width:782px){.jp-info-img{float:none;margin:0 0 15px}}.content-container.modal-footer{bottom:53px}.shade{background:#000;bottom:0;cursor:pointer;display:none;left:0;opacity:.2;position:fixed;right:0;top:0;z-index:11}.footer{margin-top:1.4285714286em;padding:10em 0 4.2857142857em;position:relative;text-align:center}.footer:after,.footer:before{content:"";pointer-events:none;position:absolute;right:0}.footer:before{height:195px;margin-top:-1px;top:0;width:100%}.footer:after{display:none}.footer .download-jetpack{margin-bottom:33px}@media (min-width:1147px){.footer{padding-bottom:35px}}@media (max-width:1147px){.footer{padding-bottom:0;padding-top:165px}.footer:before{background-size:160% auto}.footer ul{float:none;overflow:hidden}}@media (max-width:900px){.footer{padding-top:146px}}@media (max-width:782px){.footer{margin-top:0}}@media (max-width:530px){.footer{margin-top:0;padding-top:135px}}@media (max-width:320px){.footer{padding-top:76px}}.footer nav{max-width:100%}.footer nav a,.footer nav a:visited{color:#999;padding:4px 6px}.footer nav a:focus,.footer nav a:hover,.footer nav a:visited:focus,.footer nav a:visited:hover{color:#81a844}@media (max-width:1147px){.footer nav a:focus,.footer nav a:hover,.footer nav a:visited:focus,.footer nav a:visited:hover{color:#81a844}}@media (max-width:530px){.footer nav li{display:block;float:none;margin:0;text-align:right}.footer nav a{display:block;line-height:44px;padding:0 16px}}.primary{border-bottom:1px solid #f0f0f1;padding:25px 15px 10px}.secondary-footer{margin:0 auto}.secondary-footer li{margin-left:5px}@media (min-width:782px){.secondary-footer{border-bottom:1px solid #f0f0f1;margin-bottom:30px;padding:8px 15px 10px}}@media (min-width:1147px){.secondary-footer{margin-bottom:0}}@media (max-width:782px){.secondary-footer{border-bottom:none;padding:8px 15px}}@media (max-width:530px){.secondary-footer{border:none;font-weight:400;margin:0;padding:0}.secondary-footer a{border-top:1px solid #f0f0f1}}.footer .a8c-attribution{color:#bbb;font-family:Gill Sans,Gill Sans MT,Helvetica,Arial,sans-serif;font-size:.7857142857em;margin:0;padding:0 6px;text-transform:uppercase}.footer .a8c-attribution a{display:inline-block;left:9999px;outline:0;padding:4px 16px;position:relative}.footer .a8c-attribution a:after{color:#999;content:"A";font-family:automatticons;font-size:1.5454545455em;height:100%;left:-9999px;position:absolute;text-align:center;top:2px}.footer .a8c-attribution a:hover:after{animation:jetpack-candy .4s ease-in-out}@media (min-width:782px){.secondary{border-bottom:1px solid #f0f0f1;padding:0 15px 10px}}@media (min-width:1147px){.secondary{border-bottom:none;padding:0 15px 10px}}.jetpack-message{background:#8eb74e;border:1px solid #73963d;margin:33px auto 0;max-width:90%;position:relative;z-index:2}.jetpack-message.is-opt-in{background:#fff;border:0;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);font-size:13px;margin:50px 0 0;max-width:100%;padding:10px 15px;text-align:center}.subhead .jetpack-message.is-opt-in{background:transparent;box-shadow:none;margin:0;padding-bottom:0}.subhead .jetpack-message.is-opt-in .jp-button,.subhead .jetpack-message.is-opt-in .jp-button--settings{display:inline-block}.jetpack-message.is-opt-in p{color:#3c4549}.jetpack-message.is-opt-in .jp-button,.jetpack-message.is-opt-in .jp-button--settings{display:none;margin-top:15px}.jetpack-message .squeezer h2{font-size:1em}.jetpack-message h2,.jetpack-message p{color:#fff;margin:0}.jetpack-message p{opacity:.7}.jetpack-message .squeezer{padding:23px 80px 23px 23px;position:relative;text-align:right}.jetpack-message .squeezer:before{color:#fff;content:"\f418";font-family:Genericons;font-size:33px;height:33px;opacity:.6;position:absolute;right:25px;top:23px;top:calc(50% - 22px)}@media (max-width:530px){.jetpack-message .squeezer{padding:23px}.jetpack-message .squeezer:before{display:none}}.jetpack-message .squeezer a{border-bottom:1px solid #d5e4bd;color:#fff}.jetpack-message .squeezer a:hover{border-bottom:1px solid #f1f6e9}.jetpack-message.error .squeezer:before,.jetpack-message.jetpack-err .squeezer:before{content:"\f414"}.configure-module .jetpack-message{max-width:100%}@media (max-width:530px){.wrap.inner.jp-support .jp-support-column-left{width:100%}.wrap.inner.jp-support .jp-support-column-left .widget-text{margin-left:0;width:100%}.wrap.inner.jp-support .jp-support-column-right{width:100%}}@media screen and (max-width:515px){.jp-frame .header-nav{padding-bottom:10px}.jp-frame .header-nav li{line-height:30px}.jp-frame .header-nav .jetpack-logo{text-align:center;width:100%}.jp-frame .header-nav .jetpack-modules{margin:0;padding:0 5px;text-align:left;width:50%}.jp-frame .header-nav .jetpack-modules+.jetpack-modules{text-align:right}.jp-frame .header-nav .jetpack-modules:nth-child(4){margin:0 auto;text-align:center;width:100%}.jp-frame .header-nav .jetpack-modules:nth-child(4) a{padding:0 10px}}#ie-legacy-notice .dops-notice__content{display:inline-block;margin-right:10px}.page-content.configure{margin-top:0}.configure .frame.top{border:none;box-shadow:none;padding-top:1.4285714286em;position:relative;top:auto}.configure .frame.top.fixed{background:#f6f7f7;border-bottom:1px solid #e9e9e9;box-shadow:0 2px 2px -2px #f0f0f1;left:0;margin-top:-6px;padding-right:160px;position:fixed;top:32px;width:100%;z-index:4}@media (max-width:782px){.configure .frame.top.fixed{border:none;box-shadow:none;padding-top:1.4285714286em;position:relative;top:auto}}@media (max-width:600px){.configure .frame.top.fixed{top:0}}.jp-frame-top-fixed .configure{padding-top:94px}.filter-search{display:none;float:left;margin-top:10px}@media (max-width:782px){.filter-search{display:block}}@media (max-width:530px){.filter-search{display:none}}.table-bordered.jetpack-modules{border:none;margin-bottom:0}.table-bordered.jetpack-modules tr.jetpack-module th{border-right:0;padding:14px 4px 0}.table-bordered.jetpack-modules tr.jetpack-module th input{display:block}.table-bordered.jetpack-modules tr.jetpack-module:hover .genericon{display:inline-block}.table-bordered.jetpack-modules tr.jetpack-module.active td,.table-bordered.jetpack-modules tr.jetpack-module.active th{background:#f7fcfe}.table-bordered.jetpack-modules tr.jetpack-module.active th{border-right:4px solid #2ea2cc;padding-right:0}.table-bordered.jetpack-modules tr.jetpack-module.active td:first-child{border-right:4px solid #2ea2cc}.table-bordered.jetpack-modules tr.jetpack-module.unavailable input{display:none}.table-bordered.jetpack-modules tr.jetpack-module.deprecated span{color:#888}.table-bordered.jetpack-modules tr.jetpack-module.deprecated .dep-msg{color:#555;margin-left:10px}.table-bordered.jetpack-modules tr.jetpack-module td,.table-bordered.jetpack-modules tr.jetpack-module th{background:#fff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);margin:0}.table-bordered.jetpack-modules tr.jetpack-module td{line-height:25px;padding:10px 14px 8px 10px}.table-bordered.jetpack-modules tr.jetpack-module td:first-child{border-right:4px solid #fff}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{float:left;padding:0 0 1px;position:static;visibility:visible}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions span{margin-right:5px}@media (max-width:530px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:none}}@media (max-width:782px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:block;padding-right:10px;visibility:visible}}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions span.unavailable_reason{color:#000}.table-bordered.jetpack-modules.with-transparency tr.jetpack-module:hover td .row-actions span a{opacity:1}.table-bordered.jetpack-modules.with-transparency tr.jetpack-module.unavailable{opacity:.3}.table-bordered.jetpack-modules>thead>tr>th{border:0;vertical-align:middle}.table-bordered.jetpack-modules>thead>tr>th:last-child{padding-left:0}@media (max-width:782px){.table-bordered.jetpack-modules>thead>tr>th:last-child{padding-right:0}}.table-bordered.jetpack-modules td{background:#fff}.table-bordered.jetpack-modules #doaction{margin-top:0}@media (max-width:782px){.table-bordered.jetpack-modules #doaction{padding:10px 7px}}.table-bordered.jetpack-modules .checkall{margin-top:1px}.table-bordered.jetpack-modules .filter-search{margin-top:8px}.table-bordered.jetpack-modules .genericon{color:#999;display:none;margin:7px 3px 0}@media (max-width:900px){.table-bordered.jetpack-modules .genericon{display:inline-block}}.table-bordered.jetpack-modules .med{width:70px}.table-bordered.jetpack-modules .sm{width:30px}@media (max-width:782px){.table-bordered.jetpack-modules .check-column{width:50px}}.fixed-top .check-column{padding:8px 10px 0;width:2.2em}.wrap{margin:0;overflow:hidden;padding:0 1.5em 1em}.wrap h2{font-size:24px;font-weight:400}.wrap .manage-left{float:right;margin:0;padding:0;width:63%}.wrap .manage-left table{width:100%}.wrap .manage-left th{font-weight:400}@media (max-width:782px){.wrap .manage-left{width:100%}}.wrap .manage-right{float:left;margin:0;padding:0;width:35%;z-index:1}.wrap .manage-right p{clear:right;color:#bbb;font-size:12px;font-weight:700;letter-spacing:1px;padding-top:2px;text-transform:uppercase}.wrap .manage-right .bumper{margin-right:33px}.wrap .manage-right.show{display:block;overflow-x:hidden;overflow-y:auto;position:absolute;z-index:100000}.wrap .manage-right .search-bar{margin-bottom:18px;max-width:300px}.wrap .manage-right p.search-box{float:none;height:auto;margin-bottom:0;position:relative}.wrap .manage-right p.search-box input[type=search]{line-height:normal;padding:0 8px;width:90%}@media (max-width:782px){.wrap .manage-right p.search-box input[type=search]{float:right;padding:9px 8px}}.wrap .manage-right p.search-box input[type=submit]{display:none}.wrap .manage-right .button-group .button{outline:none}.wrap .manage-right .subsubsub{margin:0;padding:0}.wrap .manage-right .subsubsub a{line-height:inherit;padding:0}.wrap .manage-right .subsubsub .current{background:#0d72b2;border-radius:2px;color:#fff;margin-right:-5px;padding:1px 5px}.wrap .manage-right .subsubsub .current .count{color:#bcd7e7;font-weight:200}.wrap .manage-right .subsubsub li{display:block;text-align:right}@media (max-width:782px){.wrap .manage-right{background:#fff;bottom:0;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);display:none;left:0;min-width:300px;position:fixed;top:0;z-index:13}.wrap .manage-right .bumper{margin:13px}.wrap .manage-right .navbar-form{margin:0;padding:0}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):not(.check-column){display:block;padding:11px 10px}.manage-right.show .subsubsub li{padding:5px}}@media (max-width:650px){.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions{float:none;padding-right:18px}}@media (max-width:430px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:none}.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions{display:block}}.configure-module p{font-size:14px}.configure-module p.error,.configure-module p.success{color:#fff;padding:10px}.configure-module p.success{background-color:#81a844}.configure-module p.error{background-color:#d94f4f}.protect-status p{font-size:16px}.protect-status strong{background:#fff;border:1px solid #dcdcde;color:#000;display:inline-block;font-size:16px;margin-top:10px;max-width:100%;padding:10px}.protect-status.attn{color:#d94f4f}.protect-status.working{color:#81a844}.protect-whitelist textarea{min-height:150px;width:100%}.configure-module input[disabled]{opacity:.5}.configure-module input.button-primary{font-weight:700}@media only screen and (min-width:1100px){.protect-whitelist{float:right;width:65%}}@media only screen and (max-width:400px){.protect-status strong{font-size:12px;overflow:auto}}.manage__icon{height:155px;margin:20px auto;width:155px}.manage-page .manage__description{color:#999;font-size:22px;margin:20px auto;max-width:600px;text-align:center}.manage-page .manage__button{font-size:16px;height:40px;line-height:40px;padding:0 20px}.manage__title .genericon{color:#81a944;font-size:38px}.manage__link{font-size:16px;font-weight:400;height:40px;line-height:40px;padding:0 20px}.manage__link .genericon{font-size:28px;margin-top:-6px;vertical-align:middle}.jp-content .hide{display:none}.jp-content .landing{margin:0 auto;position:relative;z-index:2}.jp-content h1{font-weight:400;line-height:1.75em;position:relative;text-align:center;width:100%;z-index:3}.jp-content h1.success{color:#81a844}.jp-content .footer{background-image:none;margin-top:0;padding-top:0}.jp-content .footer:before{height:inherit}.jp-content .more-info:before{content:none}.landing .wpcom-connect{min-height:400px}.wpcom-connect .j-col{padding:0}@media (max-width:1147px){.jp-content .landing{padding:0 2em}.jp-content .footer{padding-top:1.5em}}@media (max-width:530px){.jp-content .landing{padding:0 .5em}} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-admin.css b/plugins/jetpack/css/jetpack-admin.css
index 1182fcd5..c8a1de17 100644
--- a/plugins/jetpack/css/jetpack-admin.css
+++ b/plugins/jetpack/css/jetpack-admin.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
.j-row {
width: 100%;
margin: 0 auto;
@@ -188,7 +185,7 @@
width: 30px;
height: 30px;
vertical-align: middle;
- background: url("../images/connect-plug.svg") center center no-repeat;
+ background: url(../images/connect-plug.svg) center center no-repeat;
background-size: 100%;
}
.download-jetpack:after {
@@ -257,8 +254,8 @@
@font-face {
font-family: "automatticons";
- src: url("../_inc/fonts/automatticons/automatticons.eot");
- src: url("../_inc/fonts/automatticons/automatticons.eot?#iefix") format("embedded-opentype"), url("../_inc/fonts/automatticons/automatticons.woff") format("woff"), url("../_inc/fonts/automatticons/automatticons.ttf") format("truetype"), url("../_inc/fonts/automatticons/automatticons.svg#automatticonsregular") format("svg");
+ src: url(../_inc/fonts/automatticons/automatticons.eot);
+ src: url(../_inc/fonts/automatticons/automatticons.eot?#iefix) format("embedded-opentype"), url(../_inc/fonts/automatticons/automatticons.woff) format("woff"), url(../_inc/fonts/automatticons/automatticons.ttf) format("truetype"), url(../_inc/fonts/automatticons/automatticons.svg#automatticonsregular) format("svg");
font-weight: normal;
font-style: normal;
}
@@ -1367,4 +1364,3 @@
padding: 0 0.5em;
}
}
-/*# sourceMappingURL=jetpack-admin.css.map */
diff --git a/plugins/jetpack/css/jetpack-admin.min.css b/plugins/jetpack/css/jetpack-admin.min.css
index da0d8cfe..f3263e27 100644
--- a/plugins/jetpack/css/jetpack-admin.min.css
+++ b/plugins/jetpack/css/jetpack-admin.min.css
@@ -1,3 +1 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.j-row{width:100%;margin:0 auto}.j-row:after,.j-row:before{content:" ";display:table}.j-row:after{clear:both}.j-col{padding:.85em;width:100%;float:left;position:relative}@media only screen{.j-sm-5{width:41.66667%}.j-sm-7{width:58.33333%}.j-sm-12{width:100%}}@media (min-width:530px){.j-md-4{width:33.33333%}.j-md-6{width:50%}.j-md-8{width:66.66667%}.j-md-12{width:100%}}@media (min-width:782px){.j-lrg-4{width:33.33333%}.j-lrg-5{width:41.66667%}.j-lrg-6{width:50%}.j-lrg-7{width:58.33333%}.j-lrg-8{width:66.66667%}.j-lrg-12{width:100%}}@keyframes jetpack-candy{0%{transform:scale(1)}20%{transform:scale(1.15)}60%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes jetpack-loading-fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes jetpack-rotate{to{transform:rotate(1turn)}}.button,.download-jetpack{transition:all .1s ease-in-out}.jp-button,.jp-button--settings{display:inline-block;position:relative;padding:.7692307692em 1.4615384615em;color:#efefef;font-weight:700;font-size:.9285714286em;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.2);background:#6f7476;border-radius:3px}.jp-button--settings:visited,.jp-button:visited{color:#efefef}.jp-button--settings:focus,.jp-button--settings:hover,.jp-button:focus,.jp-button:hover{color:#fff;background:#57972d}.jp-button--settings:active,.jp-button:active{background:#57972d;opacity:.8}.jp-button--settings{background:#93b45f;color:#e8eedf}.jp-button--settings:visited{color:#e8eedf}.jp-button--settings:focus,.jp-button--settings:hover{background:#9fbd72;color:#fff}.jp-button--settings.current{background:#3c6621;color:#fff;box-shadow:inset 0 2px 0 #365a1f,inset 0 1px 3px #3c6621}.download-jetpack{display:inline-block;position:relative;padding:.6428571429em 1.0869565217em .5357142857em;color:#fff;font-weight:400;font-size:20px;line-height:1;background:#518d2a;z-index:3;border-radius:6px;box-shadow:0 6px 0 #3e6c20,0 6px 3px rgba(0,0,0,.4)}.download-jetpack:visited{color:#fff}.download-jetpack:focus,.download-jetpack:hover{color:#fff;background:#57972d;box-shadow:0 6px 0 #3e6c20,0 6px 3px rgba(0,0,0,.4)}.download-jetpack:active{top:6px;box-shadow:0 0 0 #3e6c20,0 0 0 rgba(0,0,0,.4)}.download-jetpack:active:after{top:-6px}.download-jetpack:before{content:"";display:inline-block;position:relative;top:-2px;margin-right:13px;width:30px;height:30px;vertical-align:middle;background:url(../images/connect-plug.svg) center center no-repeat;background-size:100%}.download-jetpack:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%}@media (max-width:1147px){.download-jetpack{font-size:1.2857142857em}.download-jetpack:before{top:-1px;width:23px;height:23px}}@media (max-width:900px){.download-jetpack:active{top:0}}@media (max-width:530px){.download-jetpack{font-size:1.2142857143em;font-weight:600}.download-jetpack:before{width:19px;height:19px;margin-right:9px}}.jp-spinner{display:flex;align-items:center}.jp-spinner__inner,.jp-spinner__outer{margin:auto;box-sizing:border-box;border:.1em solid transparent;border-radius:50%;border-top-color:#00aadc;animation:3s linear infinite;animation-name:jetpack-rotate}.jp-spinner__outer{width:20px;height:20px;font-size:20px}.jp-spinner__inner{width:100%;height:100%;border-right-color:#00aadc;opacity:.4}@font-face{font-family:automatticons;src:url(../_inc/fonts/automatticons/automatticons.eot);src:url(../_inc/fonts/automatticons/automatticons.eot?#iefix) format("embedded-opentype"),url(../_inc/fonts/automatticons/automatticons.woff) format("woff"),url(../_inc/fonts/automatticons/automatticons.ttf) format("truetype"),url(../_inc/fonts/automatticons/automatticons.svg#automatticonsregular) format("svg");font-weight:400;font-style:normal}.nav-horizontal:after{content:".";display:block;height:0;clear:both;visibility:hidden}.nav-horizontal a{display:inline-block}.nav-horizontal li{position:relative;float:left}.nav-horizontal ul{margin:0;padding:0}@media (max-width:782px){.configure .frame.top.fixed{padding-left:0}}.page-content,.wrap.inner{max-width:950px;margin:0 auto}.page-content li,.wrap.inner li{line-height:23px}@media (max-width:530px){.page-content{margin-top:0}}@media (max-width:1147px){.wrap.inner{background:#f6f7f7;padding:15px}}@media (max-width:530px){.wrap.inner{margin-top:1.7142857143em}}.page-content.about{position:relative;z-index:10}@media (max-width:1147px){.page-content.about{background:#f6f7f7;padding:15px}}@media (max-width:1147px){.page-content.configure{background:#f6f7f7}}.footer nav{max-width:550px;margin:0 auto}.header{left:0;right:0;background:#81a844}.header-nav li{line-height:60px}.header-nav a{padding:0 .7142857143em;line-height:24px}.header-nav .jetpack-logo a{display:inline-block;position:relative;width:214px;margin-right:6px;background:url(../images/jetpack-logo.png) center center no-repeat;background:url(../images/jetpack-logo.svg) center center no-repeat,none;background-size:183px auto;color:#fff;line-height:60px;font-weight:400}.header-nav .jetpack-logo a span{text-indent:-9999px;visibility:hidden}.header-nav .jetpack-logo a:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-size:183px 32px}.header-nav .jetpack-modules+.jetpack-modules{margin-left:15px}.main-nav{float:left}.main-nav li{margin:0}@media (max-width:900px){.main-nav{font-size:13px}}.jetpack-pagestyles #screen-meta{margin:0}.jetpack-pagestyles #screen-meta-links .screen-meta-toggle{z-index:2}.jetpack-pagestyles #contextual-help-link-wrap,.jetpack-pagestyles #screen-options-link-wrap{border:none}.jetpack-pagestyles .update-nag{display:none}.loading{bottom:50%;position:absolute;top:50%;width:100%}.loading span{color:#999}.modal{background:#fff;position:fixed;top:52px;bottom:20px;right:20px;left:20px;margin-left:160px;display:none;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:500}.modal .close{position:absolute;top:0;right:0;font:300 1.7142857143em genericons!important;color:#777;content:"\f405";display:inline-block;padding:.2857142857em .7142857143em .4285714286em;z-index:5}.modal .close:hover{background:#f0f0f1;opacity:.8}.modal .close:active{background:#f0f0f1;opacity:.4}.modal .content-container{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;padding:2.1428571429em}.modal .content{margin:0 auto;max-width:900px;text-align:left}.modal h2{text-align:left;margin-top:0;color:#5d6d74;font-weight:300;line-height:32px;text-shadow:0 1px 1px #fff}@media (max-width:530px){.modal h2{font-size:26px}}.modal h5{clear:left}.modal p{font-size:1.2307692308em}.modal footer{position:absolute;left:0;bottom:0;width:100%;padding:12px 20px;border-top:1px solid #dcdcde;background:#fff;text-align:right}.modal footer ul{margin:0}.modal footer li{display:inline-block;margin:0}.modal .button-primary:active,.modal .button-secondary{vertical-align:baseline}@media (max-width:900px){.modal{bottom:5%;margin-left:36px;font-size:80%}.modal .content{top:38px}}@media (max-width:782px){.modal{top:66px;margin-left:0}}@media (max-width:600px){.modal{top:10px;right:10px;bottom:10px;left:10px}}.jp-info-img{float:right;margin:0 0 8px 30px}.jp-info-img img{border:1px solid #dcdcde;max-width:100%;height:auto}.jp-info-img img:first-child{margin-top:0}@media (max-width:782px){.jp-info-img{float:none;margin:0 0 15px}}.content-container.modal-footer{bottom:53px}.shade{background:#000;bottom:0;cursor:pointer;display:none;left:0;opacity:.2;position:fixed;right:0;top:0;z-index:11}.footer{margin-top:1.4285714286em;position:relative;padding:10em 0 4.2857142857em;text-align:center}.footer:after,.footer:before{content:"";position:absolute;left:0;pointer-events:none}.footer:before{top:0;margin-top:-1px;width:100%;height:195px}.footer:after{display:none}.footer .download-jetpack{margin-bottom:33px}@media (min-width:1147px){.footer{padding-bottom:35px}}@media (max-width:1147px){.footer{padding-top:165px;padding-bottom:0}.footer:before{background-size:160% auto}.footer ul{float:none;overflow:hidden}}@media (max-width:900px){.footer{padding-top:146px}}@media (max-width:782px){.footer{margin-top:0}}@media (max-width:530px){.footer{margin-top:0;padding-top:135px}}@media (max-width:320px){.footer{padding-top:76px}}.footer nav{max-width:100%}.footer nav a,.footer nav a:visited{padding:4px 6px;color:#999}.footer nav a:focus,.footer nav a:hover,.footer nav a:visited:focus,.footer nav a:visited:hover{color:#81a844}@media (max-width:1147px){.footer nav a:focus,.footer nav a:hover,.footer nav a:visited:focus,.footer nav a:visited:hover{color:#81a844}}@media (max-width:530px){.footer nav li{display:block;float:none;margin:0;text-align:left}.footer nav a{display:block;padding:0 16px;line-height:44px}}.primary{padding:25px 15px 10px 15px;border-bottom:1px solid #f0f0f1}.secondary-footer{margin:0 auto}.secondary-footer li{margin-right:5px}@media (min-width:782px){.secondary-footer{padding:8px 15px 10px;margin-bottom:30px;border-bottom:1px solid #f0f0f1}}@media (min-width:1147px){.secondary-footer{margin-bottom:0}}@media (max-width:782px){.secondary-footer{padding:8px 15px 8px;border-bottom:none}}@media (max-width:530px){.secondary-footer{margin:0;padding:0;border:none;font-weight:400}.secondary-footer a{border-top:1px solid #f0f0f1}}.footer .a8c-attribution{margin:0;padding:0 6px;color:#bbb;font-size:.7857142857em;font-family:"Gill Sans","Gill Sans MT",Helvetica,Arial,sans-serif;text-transform:uppercase}.footer .a8c-attribution a{display:inline-block;position:relative;padding:4px 16px;right:9999px;outline:0}.footer .a8c-attribution a:after{content:"A";position:absolute;top:2px;right:-9999px;height:100%;color:#999;font-size:1.5454545455em;font-family:automatticons;text-align:center}.footer .a8c-attribution a:hover:after{animation:jetpack-candy .4s ease-in-out}@media (min-width:782px){.secondary{padding:0 15px 10px 15px;border-bottom:1px solid #f0f0f1}}@media (min-width:1147px){.secondary{padding:0 15px 10px 15px;border-bottom:none}}.jetpack-message{background:#8eb74e;border:1px solid #73963d;margin:33px auto 0;max-width:90%;position:relative;z-index:2}.jetpack-message.is-opt-in{margin:50px 0 0;max-width:100%;padding:10px 15px;background:#fff;border:0;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);font-size:13px;text-align:center}.subhead .jetpack-message.is-opt-in{margin:0;padding-bottom:0;background:0 0;box-shadow:none}.subhead .jetpack-message.is-opt-in .jp-button,.subhead .jetpack-message.is-opt-in .jp-button--settings{display:inline-block}.jetpack-message.is-opt-in p{color:#3c4549}.jetpack-message.is-opt-in .jp-button,.jetpack-message.is-opt-in .jp-button--settings{margin-top:15px;display:none}.jetpack-message .squeezer h2{font-size:1em}.jetpack-message h2{color:#fff;margin:0}.jetpack-message p{color:#fff;margin:0;opacity:.7}.jetpack-message .squeezer{padding:23px 23px 23px 80px;position:relative;text-align:left}.jetpack-message .squeezer:before{color:#fff;content:"\f418";font-family:Genericons;font-size:33px;height:33px;left:25px;opacity:.6;position:absolute;top:23px;top:calc(50% - 22px)}@media (max-width:530px){.jetpack-message .squeezer{padding:23px}.jetpack-message .squeezer:before{display:none}}.jetpack-message .squeezer a{color:#fff;border-bottom:1px solid #d5e4bd}.jetpack-message .squeezer a:hover{border-bottom:1px solid #f1f6e9}.jetpack-message.error .squeezer:before,.jetpack-message.jetpack-err .squeezer:before{content:"\f414"}.configure-module .jetpack-message{max-width:100%}@media (max-width:530px){.wrap.inner.jp-support .jp-support-column-left{width:100%}.wrap.inner.jp-support .jp-support-column-left .widget-text{margin-right:0;width:100%}.wrap.inner.jp-support .jp-support-column-right{width:100%}}@media screen and (max-width:515px){.jp-frame .header-nav{padding-bottom:10px}.jp-frame .header-nav li{line-height:30px}.jp-frame .header-nav .jetpack-logo{width:100%;text-align:center}.jp-frame .header-nav .jetpack-modules{margin:0;width:50%;text-align:right;padding:0 5px}.jp-frame .header-nav .jetpack-modules+.jetpack-modules{text-align:left}.jp-frame .header-nav .jetpack-modules:nth-child(4){text-align:center;margin:0 auto;width:100%}.jp-frame .header-nav .jetpack-modules:nth-child(4) a{padding:0 10px}}#ie-legacy-notice .dops-notice__content{display:inline-block;margin-left:10px}.page-content.configure{margin-top:0}.configure .frame.top{border:none;box-shadow:none;padding-top:1.4285714286em;position:relative;top:auto}.configure .frame.top.fixed{background:#f6f7f7;border-bottom:1px solid #e9e9e9;padding-left:160px;margin-top:-6px;position:fixed;right:0;top:32px;width:100%;z-index:4;box-shadow:0 2px 2px -2px #f0f0f1}@media (max-width:782px){.configure .frame.top.fixed{border:none;box-shadow:none;padding-top:1.4285714286em;position:relative;top:auto}}@media (max-width:600px){.configure .frame.top.fixed{top:0}}.jp-frame-top-fixed .configure{padding-top:94px}.filter-search{display:none;float:right;margin-top:10px}@media (max-width:782px){.filter-search{display:block}}@media (max-width:530px){.filter-search{display:none}}.table-bordered.jetpack-modules{border:none;margin-bottom:0}.table-bordered.jetpack-modules tr.jetpack-module th{border-left:0;padding:14px 4px 0}.table-bordered.jetpack-modules tr.jetpack-module th input{display:block}.table-bordered.jetpack-modules tr.jetpack-module:hover .genericon{display:inline-block}.table-bordered.jetpack-modules tr.jetpack-module.active td,.table-bordered.jetpack-modules tr.jetpack-module.active th{background:#f7fcfe}.table-bordered.jetpack-modules tr.jetpack-module.active th{border-left:4px solid #2ea2cc;padding-left:0}.table-bordered.jetpack-modules tr.jetpack-module.active td:first-child{border-left:4px solid #2ea2cc}.table-bordered.jetpack-modules tr.jetpack-module.unavailable input{display:none}.table-bordered.jetpack-modules tr.jetpack-module.deprecated span{color:#888}.table-bordered.jetpack-modules tr.jetpack-module.deprecated .dep-msg{margin-right:10px;color:#555}.table-bordered.jetpack-modules tr.jetpack-module td,.table-bordered.jetpack-modules tr.jetpack-module th{background:#fff;margin:0;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.table-bordered.jetpack-modules tr.jetpack-module td{padding:10px 10px 8px 14px;line-height:25px}.table-bordered.jetpack-modules tr.jetpack-module td:first-child{border-left:4px solid #fff}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{float:right;padding:0 0 1px;visibility:visible;position:static}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions span{margin-left:5px}@media (max-width:530px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:none}}@media (max-width:782px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:block;padding-left:10px;visibility:visible}}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions span.unavailable_reason{color:#000}.table-bordered.jetpack-modules.with-transparency tr.jetpack-module:hover td .row-actions span a{opacity:1}.table-bordered.jetpack-modules.with-transparency tr.jetpack-module.unavailable{opacity:.3}.table-bordered.jetpack-modules>thead>tr>th{border:0;vertical-align:middle}.table-bordered.jetpack-modules>thead>tr>th:last-child{padding-right:0}@media (max-width:782px){.table-bordered.jetpack-modules>thead>tr>th:last-child{padding-left:0}}.table-bordered.jetpack-modules td{background:#fff}.table-bordered.jetpack-modules #doaction{margin-top:0}@media (max-width:782px){.table-bordered.jetpack-modules #doaction{padding:10px 7px}}.table-bordered.jetpack-modules .checkall{margin-top:1px}.table-bordered.jetpack-modules .filter-search{margin-top:8px}.table-bordered.jetpack-modules .genericon{color:#999;display:none;margin:7px 3px 0}@media (max-width:900px){.table-bordered.jetpack-modules .genericon{display:inline-block}}.table-bordered.jetpack-modules .med{width:70px}.table-bordered.jetpack-modules .sm{width:30px}@media (max-width:782px){.table-bordered.jetpack-modules .check-column{width:50px}}.fixed-top .check-column{padding:8px 10px 0 10px;width:2.2em}.wrap{margin:0;padding:0 1.5em 1em;overflow:hidden}.wrap h2{font-size:24px;font-weight:400}.wrap .manage-left{float:left;margin:0;padding:0;width:63%}.wrap .manage-left table{width:100%}.wrap .manage-left th{font-weight:400}@media (max-width:782px){.wrap .manage-left{width:100%}}.wrap .manage-right{margin:0;padding:0;float:right;width:35%;z-index:1}.wrap .manage-right p{font-size:12px;font-weight:700;color:#bbb;padding-top:2px;text-transform:uppercase;letter-spacing:1px;clear:left}.wrap .manage-right .bumper{margin-left:33px}.wrap .manage-right.show{display:block;overflow-y:auto;overflow-x:hidden;position:absolute;z-index:100000}.wrap .manage-right .search-bar{margin-bottom:18px;max-width:300px}.wrap .manage-right p.search-box{float:none;height:auto;margin-bottom:0;position:relative}.wrap .manage-right p.search-box input[type=search]{padding:0 8px;width:90%;line-height:initial}@media (max-width:782px){.wrap .manage-right p.search-box input[type=search]{float:left;padding:9px 8px}}.wrap .manage-right p.search-box input[type=submit]{display:none}.wrap .manage-right .button-group .button{outline:0}.wrap .manage-right .subsubsub{margin:0;padding:0}.wrap .manage-right .subsubsub a{padding:0;line-height:inherit}.wrap .manage-right .subsubsub .current{padding:1px 5px;border-radius:2px;margin-left:-5px;background:#0d72b2;color:#fff}.wrap .manage-right .subsubsub .current .count{color:#bcd7e7;font-weight:200}.wrap .manage-right .subsubsub li{display:block;text-align:left}@media (max-width:782px){.wrap .manage-right{background:#fff;bottom:0;display:none;min-width:300px;position:fixed;right:0;top:0;z-index:13;box-shadow:0 1px 20px 5px rgba(0,0,0,.1)}.wrap .manage-right .bumper{margin:13px}.wrap .manage-right .navbar-form{margin:0;padding:0}}@media (max-width:782px){.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):not(.check-column){padding:11px 10px;display:block}.manage-right.show .subsubsub li{padding:5px}}@media (max-width:650px){.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions{float:none;padding-left:18px}}@media (max-width:430px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:none}.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions{display:block}}.configure-module p{font-size:14px}.configure-module p.error,.configure-module p.success{color:#fff;padding:10px}.configure-module p.success{background-color:#81a844}.configure-module p.error{background-color:#d94f4f}.protect-status p{font-size:16px}.protect-status strong{display:inline-block;margin-top:10px;background:#fff;padding:10px;border:1px #dcdcde solid;font-size:16px;color:#000;max-width:100%}.protect-status.attn{color:#d94f4f}.protect-status.working{color:#81a844}.protect-whitelist textarea{width:100%;min-height:150px}.configure-module input[disabled]{opacity:.5}.configure-module input.button-primary{font-weight:700}@media only screen and (min-width:1100px){.protect-whitelist{width:65%;float:left}}@media only screen and (max-width:400px){.protect-status strong{font-size:12px;overflow:auto}}.manage__icon{width:155px;height:155px;margin:20px auto}.manage-page .manage__description{max-width:600px;text-align:center;font-size:22px;color:#999;margin:20px auto}.manage-page .manage__button{font-size:16px;padding:0 20px;height:40px;line-height:40px}.manage__title .genericon{font-size:38px;color:#81a944}.manage__link{font-size:16px;padding:0 20px;height:40px;line-height:40px;font-weight:400}.manage__link .genericon{font-size:28px;vertical-align:middle;margin-top:-6px}.jp-content .hide{display:none}.jp-content .landing{margin:0 auto;z-index:2;position:relative}.jp-content h1{font-weight:400;line-height:1.75em;position:relative;z-index:3;width:100%;text-align:center}.jp-content h1.success{color:#81a844}.jp-content .footer{padding-top:0;margin-top:0;background-image:none}.jp-content .footer:before{height:inherit}.jp-content .more-info:before{content:none}.landing .wpcom-connect{min-height:400px}.wpcom-connect .j-col{padding:0}@media (max-width:1147px){.jp-content .landing{padding:0 2em}.jp-content .footer{padding-top:1.5em}}@media (max-width:530px){.jp-content .landing{padding:0 .5em}} \ No newline at end of file
+.j-row{margin:0 auto;width:100%}.j-row:after,.j-row:before{content:" ";display:table}.j-row:after{clear:both}.j-col{float:left;padding:.85em;position:relative;width:100%}@media only screen{.j-sm-5{width:41.66667%}.j-sm-7{width:58.33333%}.j-sm-12{width:100%}}@media (min-width:530px){.j-md-4{width:33.33333%}.j-md-6{width:50%}.j-md-8{width:66.66667%}.j-md-12{width:100%}}@media (min-width:782px){.j-lrg-4{width:33.33333%}.j-lrg-5{width:41.66667%}.j-lrg-6{width:50%}.j-lrg-7{width:58.33333%}.j-lrg-8{width:66.66667%}.j-lrg-12{width:100%}}@keyframes jetpack-candy{0%{transform:scale(1)}20%{transform:scale(1.15)}60%{transform:scale(.95)}to{transform:scale(1)}}@keyframes jetpack-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes jetpack-rotate{to{transform:rotate(1turn)}}.button,.download-jetpack{transition:all .1s ease-in-out}.jp-button,.jp-button--settings{background:#6f7476;border-radius:3px;color:#efefef;display:inline-block;font-size:.9285714286em;font-weight:700;line-height:1;padding:.7692307692em 1.4615384615em;position:relative;text-shadow:0 1px 1px rgba(0,0,0,.2)}.jp-button--settings:visited,.jp-button:visited{color:#efefef}.jp-button--settings:focus,.jp-button--settings:hover,.jp-button:focus,.jp-button:hover{background:#57972d;color:#fff}.jp-button--settings:active,.jp-button:active{background:#57972d;opacity:.8}.jp-button--settings{background:#93b45f;color:#e8eedf}.jp-button--settings:visited{color:#e8eedf}.jp-button--settings:focus,.jp-button--settings:hover{background:#9fbd72;color:#fff}.jp-button--settings.current{background:#3c6621;box-shadow:inset 0 2px 0 #365a1f,inset 0 1px 3px #3c6621;color:#fff}.download-jetpack{background:#518d2a;border-radius:6px;box-shadow:0 6px 0 #3e6c20,0 6px 3px rgba(0,0,0,.4);color:#fff;display:inline-block;font-size:20px;font-weight:400;line-height:1;padding:.6428571429em 1.0869565217em .5357142857em;position:relative;z-index:3}.download-jetpack:visited{color:#fff}.download-jetpack:focus,.download-jetpack:hover{background:#57972d;box-shadow:0 6px 0 #3e6c20,0 6px 3px rgba(0,0,0,.4);color:#fff}.download-jetpack:active{box-shadow:0 0 0 #3e6c20,0 0 0 rgba(0,0,0,.4);top:6px}.download-jetpack:active:after{top:-6px}.download-jetpack:before{background:url(../images/connect-plug.svg) 50% no-repeat;background-size:100%;content:"";display:inline-block;height:30px;margin-right:13px;position:relative;top:-2px;vertical-align:middle;width:30px}.download-jetpack:after{content:"";height:100%;left:0;position:absolute;top:0;width:100%}@media (max-width:1147px){.download-jetpack{font-size:1.2857142857em}.download-jetpack:before{height:23px;top:-1px;width:23px}}@media (max-width:900px){.download-jetpack:active{top:0}}@media (max-width:530px){.download-jetpack{font-size:1.2142857143em;font-weight:600}.download-jetpack:before{height:19px;margin-right:9px;width:19px}}.jp-spinner{align-items:center;display:flex}.jp-spinner__inner,.jp-spinner__outer{animation:3s linear infinite;animation-name:jetpack-rotate;border:.1em solid transparent;border-radius:50%;border-top-color:#00aadc;box-sizing:border-box;margin:auto}.jp-spinner__outer{font-size:20px;height:20px;width:20px}.jp-spinner__inner{border-right-color:#00aadc;height:100%;opacity:.4;width:100%}@font-face{font-family:automatticons;font-style:normal;font-weight:400;src:url(../_inc/fonts/automatticons/automatticons.eot);src:url(../_inc/fonts/automatticons/automatticons.eot?#iefix) format("embedded-opentype"),url(../_inc/fonts/automatticons/automatticons.woff) format("woff"),url(../_inc/fonts/automatticons/automatticons.ttf) format("truetype"),url(../_inc/fonts/automatticons/automatticons.svg#automatticonsregular) format("svg")}.nav-horizontal:after{clear:both;content:".";display:block;height:0;visibility:hidden}.nav-horizontal a{display:inline-block}.nav-horizontal li{float:left;position:relative}.nav-horizontal ul{margin:0;padding:0}@media (max-width:782px){.configure .frame.top.fixed{padding-left:0}}.page-content,.wrap.inner{margin:0 auto;max-width:950px}.page-content li,.wrap.inner li{line-height:23px}@media (max-width:530px){.page-content{margin-top:0}}@media (max-width:1147px){.wrap.inner{background:#f6f7f7;padding:15px}}@media (max-width:530px){.wrap.inner{margin-top:1.7142857143em}}.page-content.about{position:relative;z-index:10}@media (max-width:1147px){.page-content.about{background:#f6f7f7;padding:15px}.page-content.configure{background:#f6f7f7}}.footer nav{margin:0 auto;max-width:550px}.header{background:#81a844;left:0;right:0}.header-nav li{line-height:60px}.header-nav a{line-height:24px;padding:0 .7142857143em}.header-nav .jetpack-logo a{background:url(../images/jetpack-logo.png) 50% no-repeat;background:url(../images/jetpack-logo.svg) 50% no-repeat,none;background-size:183px auto;color:#fff;display:inline-block;font-weight:400;line-height:60px;margin-right:6px;position:relative;width:214px}.header-nav .jetpack-logo a span{text-indent:-9999px;visibility:hidden}.header-nav .jetpack-logo a:before{background-size:183px 32px;content:"";height:100%;left:0;position:absolute;top:0;width:100%}.header-nav .jetpack-modules+.jetpack-modules{margin-left:15px}.main-nav{float:left}.main-nav li{margin:0}@media (max-width:900px){.main-nav{font-size:13px}}.jetpack-pagestyles #screen-meta{margin:0}.jetpack-pagestyles #screen-meta-links .screen-meta-toggle{z-index:2}.jetpack-pagestyles #contextual-help-link-wrap,.jetpack-pagestyles #screen-options-link-wrap{border:none}.jetpack-pagestyles .update-nag{display:none}.loading{bottom:50%;position:absolute;top:50%;width:100%}.loading span{color:#999}.modal{background:#fff;bottom:20px;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);display:none;left:20px;margin-left:160px;position:fixed;right:20px;top:52px;z-index:500}.modal .close{color:#777;content:"\f405";display:inline-block;font:300 1.7142857143em genericons!important;padding:.2857142857em .7142857143em .4285714286em;position:absolute;right:0;top:0;z-index:5}.modal .close:hover{background:#f0f0f1;opacity:.8}.modal .close:active{background:#f0f0f1;opacity:.4}.modal .content-container{bottom:0;left:0;overflow:auto;padding:2.1428571429em;position:absolute;right:0;top:0}.modal .content{margin:0 auto;max-width:900px;text-align:left}.modal h2{color:#5d6d74;font-weight:300;line-height:32px;margin-top:0;text-align:left;text-shadow:0 1px 1px #fff}@media (max-width:530px){.modal h2{font-size:26px}}.modal h5{clear:left}.modal p{font-size:1.2307692308em}.modal footer{background:#fff;border-top:1px solid #dcdcde;bottom:0;left:0;padding:12px 20px;position:absolute;text-align:right;width:100%}.modal footer ul{margin:0}.modal footer li{display:inline-block;margin:0}.modal .button-primary:active,.modal .button-secondary{vertical-align:baseline}@media (max-width:900px){.modal{bottom:5%;font-size:80%;margin-left:36px}.modal .content{top:38px}}@media (max-width:782px){.modal{margin-left:0;top:66px}}@media (max-width:600px){.modal{bottom:10px;left:10px;right:10px;top:10px}}.jp-info-img{float:right;margin:0 0 8px 30px}.jp-info-img img{border:1px solid #dcdcde;height:auto;max-width:100%}.jp-info-img img:first-child{margin-top:0}@media (max-width:782px){.jp-info-img{float:none;margin:0 0 15px}}.content-container.modal-footer{bottom:53px}.shade{background:#000;bottom:0;cursor:pointer;display:none;left:0;opacity:.2;position:fixed;right:0;top:0;z-index:11}.footer{margin-top:1.4285714286em;padding:10em 0 4.2857142857em;position:relative;text-align:center}.footer:after,.footer:before{content:"";left:0;pointer-events:none;position:absolute}.footer:before{height:195px;margin-top:-1px;top:0;width:100%}.footer:after{display:none}.footer .download-jetpack{margin-bottom:33px}@media (min-width:1147px){.footer{padding-bottom:35px}}@media (max-width:1147px){.footer{padding-bottom:0;padding-top:165px}.footer:before{background-size:160% auto}.footer ul{float:none;overflow:hidden}}@media (max-width:900px){.footer{padding-top:146px}}@media (max-width:782px){.footer{margin-top:0}}@media (max-width:530px){.footer{margin-top:0;padding-top:135px}}@media (max-width:320px){.footer{padding-top:76px}}.footer nav{max-width:100%}.footer nav a,.footer nav a:visited{color:#999;padding:4px 6px}.footer nav a:focus,.footer nav a:hover,.footer nav a:visited:focus,.footer nav a:visited:hover{color:#81a844}@media (max-width:1147px){.footer nav a:focus,.footer nav a:hover,.footer nav a:visited:focus,.footer nav a:visited:hover{color:#81a844}}@media (max-width:530px){.footer nav li{display:block;float:none;margin:0;text-align:left}.footer nav a{display:block;line-height:44px;padding:0 16px}}.primary{border-bottom:1px solid #f0f0f1;padding:25px 15px 10px}.secondary-footer{margin:0 auto}.secondary-footer li{margin-right:5px}@media (min-width:782px){.secondary-footer{border-bottom:1px solid #f0f0f1;margin-bottom:30px;padding:8px 15px 10px}}@media (min-width:1147px){.secondary-footer{margin-bottom:0}}@media (max-width:782px){.secondary-footer{border-bottom:none;padding:8px 15px}}@media (max-width:530px){.secondary-footer{border:none;font-weight:400;margin:0;padding:0}.secondary-footer a{border-top:1px solid #f0f0f1}}.footer .a8c-attribution{color:#bbb;font-family:Gill Sans,Gill Sans MT,Helvetica,Arial,sans-serif;font-size:.7857142857em;margin:0;padding:0 6px;text-transform:uppercase}.footer .a8c-attribution a{display:inline-block;outline:0;padding:4px 16px;position:relative;right:9999px}.footer .a8c-attribution a:after{color:#999;content:"A";font-family:automatticons;font-size:1.5454545455em;height:100%;position:absolute;right:-9999px;text-align:center;top:2px}.footer .a8c-attribution a:hover:after{animation:jetpack-candy .4s ease-in-out}@media (min-width:782px){.secondary{border-bottom:1px solid #f0f0f1;padding:0 15px 10px}}@media (min-width:1147px){.secondary{border-bottom:none;padding:0 15px 10px}}.jetpack-message{background:#8eb74e;border:1px solid #73963d;margin:33px auto 0;max-width:90%;position:relative;z-index:2}.jetpack-message.is-opt-in{background:#fff;border:0;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);font-size:13px;margin:50px 0 0;max-width:100%;padding:10px 15px;text-align:center}.subhead .jetpack-message.is-opt-in{background:transparent;box-shadow:none;margin:0;padding-bottom:0}.subhead .jetpack-message.is-opt-in .jp-button,.subhead .jetpack-message.is-opt-in .jp-button--settings{display:inline-block}.jetpack-message.is-opt-in p{color:#3c4549}.jetpack-message.is-opt-in .jp-button,.jetpack-message.is-opt-in .jp-button--settings{display:none;margin-top:15px}.jetpack-message .squeezer h2{font-size:1em}.jetpack-message h2,.jetpack-message p{color:#fff;margin:0}.jetpack-message p{opacity:.7}.jetpack-message .squeezer{padding:23px 23px 23px 80px;position:relative;text-align:left}.jetpack-message .squeezer:before{color:#fff;content:"\f418";font-family:Genericons;font-size:33px;height:33px;left:25px;opacity:.6;position:absolute;top:23px;top:calc(50% - 22px)}@media (max-width:530px){.jetpack-message .squeezer{padding:23px}.jetpack-message .squeezer:before{display:none}}.jetpack-message .squeezer a{border-bottom:1px solid #d5e4bd;color:#fff}.jetpack-message .squeezer a:hover{border-bottom:1px solid #f1f6e9}.jetpack-message.error .squeezer:before,.jetpack-message.jetpack-err .squeezer:before{content:"\f414"}.configure-module .jetpack-message{max-width:100%}@media (max-width:530px){.wrap.inner.jp-support .jp-support-column-left{width:100%}.wrap.inner.jp-support .jp-support-column-left .widget-text{margin-right:0;width:100%}.wrap.inner.jp-support .jp-support-column-right{width:100%}}@media screen and (max-width:515px){.jp-frame .header-nav{padding-bottom:10px}.jp-frame .header-nav li{line-height:30px}.jp-frame .header-nav .jetpack-logo{text-align:center;width:100%}.jp-frame .header-nav .jetpack-modules{margin:0;padding:0 5px;text-align:right;width:50%}.jp-frame .header-nav .jetpack-modules+.jetpack-modules{text-align:left}.jp-frame .header-nav .jetpack-modules:nth-child(4){margin:0 auto;text-align:center;width:100%}.jp-frame .header-nav .jetpack-modules:nth-child(4) a{padding:0 10px}}#ie-legacy-notice .dops-notice__content{display:inline-block;margin-left:10px}.page-content.configure{margin-top:0}.configure .frame.top{border:none;box-shadow:none;padding-top:1.4285714286em;position:relative;top:auto}.configure .frame.top.fixed{background:#f6f7f7;border-bottom:1px solid #e9e9e9;box-shadow:0 2px 2px -2px #f0f0f1;margin-top:-6px;padding-left:160px;position:fixed;right:0;top:32px;width:100%;z-index:4}@media (max-width:782px){.configure .frame.top.fixed{border:none;box-shadow:none;padding-top:1.4285714286em;position:relative;top:auto}}@media (max-width:600px){.configure .frame.top.fixed{top:0}}.jp-frame-top-fixed .configure{padding-top:94px}.filter-search{display:none;float:right;margin-top:10px}@media (max-width:782px){.filter-search{display:block}}@media (max-width:530px){.filter-search{display:none}}.table-bordered.jetpack-modules{border:none;margin-bottom:0}.table-bordered.jetpack-modules tr.jetpack-module th{border-left:0;padding:14px 4px 0}.table-bordered.jetpack-modules tr.jetpack-module th input{display:block}.table-bordered.jetpack-modules tr.jetpack-module:hover .genericon{display:inline-block}.table-bordered.jetpack-modules tr.jetpack-module.active td,.table-bordered.jetpack-modules tr.jetpack-module.active th{background:#f7fcfe}.table-bordered.jetpack-modules tr.jetpack-module.active th{border-left:4px solid #2ea2cc;padding-left:0}.table-bordered.jetpack-modules tr.jetpack-module.active td:first-child{border-left:4px solid #2ea2cc}.table-bordered.jetpack-modules tr.jetpack-module.unavailable input{display:none}.table-bordered.jetpack-modules tr.jetpack-module.deprecated span{color:#888}.table-bordered.jetpack-modules tr.jetpack-module.deprecated .dep-msg{color:#555;margin-right:10px}.table-bordered.jetpack-modules tr.jetpack-module td,.table-bordered.jetpack-modules tr.jetpack-module th{background:#fff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);margin:0}.table-bordered.jetpack-modules tr.jetpack-module td{line-height:25px;padding:10px 10px 8px 14px}.table-bordered.jetpack-modules tr.jetpack-module td:first-child{border-left:4px solid #fff}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{float:right;padding:0 0 1px;position:static;visibility:visible}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions span{margin-left:5px}@media (max-width:530px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:none}}@media (max-width:782px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:block;padding-left:10px;visibility:visible}}.table-bordered.jetpack-modules tr.jetpack-module td .row-actions span.unavailable_reason{color:#000}.table-bordered.jetpack-modules.with-transparency tr.jetpack-module:hover td .row-actions span a{opacity:1}.table-bordered.jetpack-modules.with-transparency tr.jetpack-module.unavailable{opacity:.3}.table-bordered.jetpack-modules>thead>tr>th{border:0;vertical-align:middle}.table-bordered.jetpack-modules>thead>tr>th:last-child{padding-right:0}@media (max-width:782px){.table-bordered.jetpack-modules>thead>tr>th:last-child{padding-left:0}}.table-bordered.jetpack-modules td{background:#fff}.table-bordered.jetpack-modules #doaction{margin-top:0}@media (max-width:782px){.table-bordered.jetpack-modules #doaction{padding:10px 7px}}.table-bordered.jetpack-modules .checkall{margin-top:1px}.table-bordered.jetpack-modules .filter-search{margin-top:8px}.table-bordered.jetpack-modules .genericon{color:#999;display:none;margin:7px 3px 0}@media (max-width:900px){.table-bordered.jetpack-modules .genericon{display:inline-block}}.table-bordered.jetpack-modules .med{width:70px}.table-bordered.jetpack-modules .sm{width:30px}@media (max-width:782px){.table-bordered.jetpack-modules .check-column{width:50px}}.fixed-top .check-column{padding:8px 10px 0;width:2.2em}.wrap{margin:0;overflow:hidden;padding:0 1.5em 1em}.wrap h2{font-size:24px;font-weight:400}.wrap .manage-left{float:left;margin:0;padding:0;width:63%}.wrap .manage-left table{width:100%}.wrap .manage-left th{font-weight:400}@media (max-width:782px){.wrap .manage-left{width:100%}}.wrap .manage-right{float:right;margin:0;padding:0;width:35%;z-index:1}.wrap .manage-right p{clear:left;color:#bbb;font-size:12px;font-weight:700;letter-spacing:1px;padding-top:2px;text-transform:uppercase}.wrap .manage-right .bumper{margin-left:33px}.wrap .manage-right.show{display:block;overflow-x:hidden;overflow-y:auto;position:absolute;z-index:100000}.wrap .manage-right .search-bar{margin-bottom:18px;max-width:300px}.wrap .manage-right p.search-box{float:none;height:auto;margin-bottom:0;position:relative}.wrap .manage-right p.search-box input[type=search]{line-height:normal;padding:0 8px;width:90%}@media (max-width:782px){.wrap .manage-right p.search-box input[type=search]{float:left;padding:9px 8px}}.wrap .manage-right p.search-box input[type=submit]{display:none}.wrap .manage-right .button-group .button{outline:none}.wrap .manage-right .subsubsub{margin:0;padding:0}.wrap .manage-right .subsubsub a{line-height:inherit;padding:0}.wrap .manage-right .subsubsub .current{background:#0d72b2;border-radius:2px;color:#fff;margin-left:-5px;padding:1px 5px}.wrap .manage-right .subsubsub .current .count{color:#bcd7e7;font-weight:200}.wrap .manage-right .subsubsub li{display:block;text-align:left}@media (max-width:782px){.wrap .manage-right{background:#fff;bottom:0;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);display:none;min-width:300px;position:fixed;right:0;top:0;z-index:13}.wrap .manage-right .bumper{margin:13px}.wrap .manage-right .navbar-form{margin:0;padding:0}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):not(.check-column){display:block;padding:11px 10px}.manage-right.show .subsubsub li{padding:5px}}@media (max-width:650px){.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions{float:none;padding-left:18px}}@media (max-width:430px){.table-bordered.jetpack-modules tr.jetpack-module td .row-actions{display:none}.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions{display:block}}.configure-module p{font-size:14px}.configure-module p.error,.configure-module p.success{color:#fff;padding:10px}.configure-module p.success{background-color:#81a844}.configure-module p.error{background-color:#d94f4f}.protect-status p{font-size:16px}.protect-status strong{background:#fff;border:1px solid #dcdcde;color:#000;display:inline-block;font-size:16px;margin-top:10px;max-width:100%;padding:10px}.protect-status.attn{color:#d94f4f}.protect-status.working{color:#81a844}.protect-whitelist textarea{min-height:150px;width:100%}.configure-module input[disabled]{opacity:.5}.configure-module input.button-primary{font-weight:700}@media only screen and (min-width:1100px){.protect-whitelist{float:left;width:65%}}@media only screen and (max-width:400px){.protect-status strong{font-size:12px;overflow:auto}}.manage__icon{height:155px;margin:20px auto;width:155px}.manage-page .manage__description{color:#999;font-size:22px;margin:20px auto;max-width:600px;text-align:center}.manage-page .manage__button{font-size:16px;height:40px;line-height:40px;padding:0 20px}.manage__title .genericon{color:#81a944;font-size:38px}.manage__link{font-size:16px;font-weight:400;height:40px;line-height:40px;padding:0 20px}.manage__link .genericon{font-size:28px;margin-top:-6px;vertical-align:middle}.jp-content .hide{display:none}.jp-content .landing{margin:0 auto;position:relative;z-index:2}.jp-content h1{font-weight:400;line-height:1.75em;position:relative;text-align:center;width:100%;z-index:3}.jp-content h1.success{color:#81a844}.jp-content .footer{background-image:none;margin-top:0;padding-top:0}.jp-content .footer:before{height:inherit}.jp-content .more-info:before{content:none}.landing .wpcom-connect{min-height:400px}.wpcom-connect .j-col{padding:0}@media (max-width:1147px){.jp-content .landing{padding:0 2em}.jp-content .footer{padding-top:1.5em}}@media (max-width:530px){.jp-content .landing{padding:0 .5em}} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-banners-rtl.css b/plugins/jetpack/css/jetpack-banners-rtl.css
index a965349d..e936a962 100644
--- a/plugins/jetpack/css/jetpack-banners-rtl.css
+++ b/plugins/jetpack/css/jetpack-banners-rtl.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@charset "UTF-8";
/*
The MIT License (MIT)
@@ -471,4 +468,3 @@ https://github.com/thoughtbot/bourbon
top: -0.1875rem;
fill: #eec74f;
}
-/*# sourceMappingURL=jetpack-banners-rtl.css.map */
diff --git a/plugins/jetpack/css/jetpack-banners-rtl.min.css b/plugins/jetpack/css/jetpack-banners-rtl.min.css
index 0de24445..3912c70f 100644
--- a/plugins/jetpack/css/jetpack-banners-rtl.min.css
+++ b/plugins/jetpack/css/jetpack-banners-rtl.min.css
@@ -1,3 +1 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.updated.jp-banner{position:relative;padding:0}.updated .jp-banner__header{font-size:1.25rem;font-weight:400;margin-top:0}.updated .jp-banner__button-container{padding:2rem 0 0;flex-direction:row-reverse;align-items:center;justify-content:flex-end}@media (min-width:600px){.updated .jp-banner__button-container{display:flex}}.updated .jp-banner__tos-blurb{display:block;padding:.375rem 0;line-height:1.5;font-size:.75rem;color:#414141}@media (min-width:600px){.updated .jp-banner__tos-blurb{margin-right:1.125rem}}.updated .jp-banner__tos-blurb a{color:inherit}.jp-banner .notice-dismiss{text-decoration:none}.jp-banner__description{font-size:.875rem}.jp-banner__description-container{padding:1rem}.jetpack-disconnected .jp-connect-full__container{box-sizing:border-box;position:absolute;top:0;left:0;bottom:1.25rem;right:0;z-index:999;background:#f1f1f1;text-align:center}@media (max-width:530px){.jetpack-disconnected .jp-connect-full__container{top:42px}}@media (min-width:782px){.jetpack-disconnected .jp-connect-full__container{right:-20px}}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card{padding:4rem 4rem 6rem;background:#fff;margin:1em}@media (max-width:530px){.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card{padding:2rem 2rem}}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.jetpack-logo{width:160px}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.support-characters{margin-top:1.5rem;width:50%}.jetpack-disconnected .jp-connect-full__container h4{line-height:1.25;font-size:1.5rem;font-weight:400;margin:1em 0}.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{position:relative;bottom:0;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);display:none}.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container .jp-connect-full__container-card{margin:0}@media (min-width:782px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{right:0}}@media (max-width:782px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{top:32px}}@media (max-width:530px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{top:0}}.jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container{display:block}@media (max-width:530px){.jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container .jp-connect-full__step-header h2{margin:0}}.jp-connect-full__svg-dismiss{position:absolute;left:0;top:0;fill:#a2a2a2;padding:1rem;height:1.5rem;width:1.5rem}.jp-connect-full__step-header{max-width:700px;margin:0 auto 40px auto;line-height:1.5}@media (max-width:530px){.jp-connect-full__step-header{margin-bottom:1.5rem}}.jp-connect-full__step-header h2{margin:1.5rem 10% 0;font-size:2rem;font-weight:700;line-height:1.2;color:#000}@media (max-width:530px){.jp-connect-full__step-header h2{margin-top:1rem;font-size:1.5rem}}.jp-connect-full__step-header h3{color:#747474;font-size:1rem;font-weight:400;margin:.625rem 0 1.5rem}.jp-connect-full__step-header.bottom{margin-top:5rem}#jp-connect-full__step2-header{display:none}.jp-connect-full__tos-blurb{font-size:.75rem;margin:0 auto 1rem}.jp-connect-full__dismiss{cursor:pointer}.jp-connect-full__dismiss-paragraph{font-size:.75rem}.jp-connect-full__dismiss-paragraph a,.jp-connect-full__tos-blurb a{cursor:pointer;color:inherit;text-decoration:underline}.jp-connect-full__row{display:flex;justify-content:space-around;justify-content:space-evenly;text-align:right;align-items:baseline;margin:0 auto;max-width:1000px}.jp-connect-full__slide{max-width:38%;margin:3rem 0}@media (max-width:782px){.jp-connect-full__slide{margin:1.875rem 0}}.jp-connect-full__slide h3{font-size:1.25rem}.jp-connect-full__slide img{max-width:100%}.jp-connect-full__slide ul{list-style:disc;margin-right:16px}@media (min-width:600px){.jp-connect-full__slide .illustration{margin-bottom:2rem}}.jp-connect-full__step-support{max-width:700px;margin:0 auto;line-height:1.25}.jp-connect-full__step-support h2{margin:1rem 0 0;font-size:1.5rem;font-weight:400;color:#000}.jp-connect-full__step-support h3{color:#747474;font-size:1rem;font-weight:400;margin:.625rem 0 1.5rem}.jp-connect-full__button-container-loading{font-size:.875rem;animation:jetpack-loading-fade 1.6s ease-in-out infinite}.jp-connect-full__button-container .jp-spinner{width:100%}@media screen and (max-width:480px){.jp-connect-full__row{display:block}.jp-connect-full__slide{margin:2em 0;max-width:100%}}.updated.jp-wpcom-connect__container{border-right:none;padding:0;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04)}@media screen and (max-width:782px){.updated.jp-wpcom-connect__container{padding:0!important}}.updated.jp-wpcom-connect__container .dops-button{padding:7px 14px 9px}.updated .notice-dismiss{z-index:1;text-decoration:none}.jp-wpcom-connect__container-top-text+.jp-wpcom-connect__inner-container .notice-dismiss::before{color:#fff}.jp-wpcom-connect__container-top-text{padding:15px 15px 25px 35px;background-color:#069e08;color:#fff;display:flex;align-items:baseline}.jp-wpcom-connect__container-top-text svg{width:24px;height:24px;margin-left:10px;position:relative;top:7px}@media (max-width:530px){.jp-wpcom-connect__container-top-text svg{flex:1}}.jp-wpcom-connect__container-top-text svg path{fill:#fff}.jp-wpcom-connect__container-top-text span{display:inline-block}@media (max-width:530px){.jp-wpcom-connect__container-top-text span{flex:9}}.jp-wpcom-connect__container{display:block;position:relative;box-sizing:border-box;background-color:#069e08}.jp-wpcom-connect__inner-container>a:first-child{z-index:1}.jp-wpcom-connect__inner-container{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:left;background:#fff}.jp-wpcom-connect__content-container{width:1250px;position:relative;padding:2rem;z-index:0}.jp-wpcom-connect__content-container p{color:#6f6f6f;font-size:.875rem}.jp-wpcom-connect__content-container h2{margin-top:0;line-height:1.6;display:block;margin-bottom:1.5rem}@media (max-width:530px){.jp-wpcom-connect__hide-phone-and-smaller{display:none!important}}.jp-wpcom-connect__content-icon{margin:0 1.5rem;display:flex;flex-direction:column}.jp-connect-illo img{display:block;margin:0 auto}.jp-connect-illo .jetpack-logo{margin-bottom:2.25rem}@media (max-width:530px){.jp-connect-illo .jetpack-logo{margin-right:0}}@media (max-width:782px){.jp-connect-illo{width:100%;margin:.5rem 0;display:block}}@media (min-width:900px){.jp-wpcom-connect__slide-text{padding-right:2.8125rem}}.jp-wpcom-connect__slide{display:none}.jp-wpcom-connect__slide.jp__slide-is-active{display:flex;align-items:flex-start}@media (max-width:782px){.jp-wpcom-connect__slide.jp__slide-is-active{display:block}}.jp-wpcom-connect__slide ul{list-style:disc;padding:0 .9375rem 0 0}.jp-wpcom-connect__slide ul li{color:#6f6f6f;font-size:.75rem}.jp-banner__button-container .dops-button{margin:.3125rem 0}.jp-banner__button-container .dops-button.is-primary{background:#069e08;border-color:#00a523;padding-right:1.5rem;padding-left:1.5rem;flex-shrink:0}.jp-banner__button-container .dops-button.is-primary:focus,.jp-banner__button-container .dops-button.is-primary:hover{background:#00a523;border-color:#008b1d}.jp-banner__button-container .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #008b1d}.jp-wpcom-connect__quest{position:relative;padding-right:2.8125rem;font-size:1.25rem}.jp-wpcom-connect__quest-marker.gridicon{position:absolute;right:0;top:-.1875rem;fill:#eec74f} \ No newline at end of file
+.updated.jp-banner{padding:0;position:relative}.updated .jp-banner__header{font-size:1.25rem;font-weight:400;margin-top:0}.updated .jp-banner__button-container{align-items:center;flex-direction:row-reverse;justify-content:flex-end;padding:2rem 0 0}@media (min-width:600px){.updated .jp-banner__button-container{display:flex}}.updated .jp-banner__tos-blurb{color:#414141;display:block;font-size:.75rem;line-height:1.5;padding:.375rem 0}@media (min-width:600px){.updated .jp-banner__tos-blurb{margin-right:1.125rem}}.updated .jp-banner__tos-blurb a{color:inherit}.jp-banner .notice-dismiss{text-decoration:none}.jp-banner__description{font-size:.875rem}.jp-banner__description-container{padding:1rem}.jetpack-disconnected .jp-connect-full__container{background:#f1f1f1;bottom:1.25rem;box-sizing:border-box;left:0;position:absolute;right:0;text-align:center;top:0;z-index:999}@media (max-width:530px){.jetpack-disconnected .jp-connect-full__container{top:42px}}@media (min-width:782px){.jetpack-disconnected .jp-connect-full__container{right:-20px}}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card{background:#fff;margin:1em;padding:4rem 4rem 6rem}@media (max-width:530px){.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card{padding:2rem}}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.jetpack-logo{width:160px}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.support-characters{margin-top:1.5rem;width:50%}.jetpack-disconnected .jp-connect-full__container h4{font-size:1.5rem;font-weight:400;line-height:1.25;margin:1em 0}.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{bottom:0;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);display:none;position:relative}.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container .jp-connect-full__container-card{margin:0}@media (min-width:782px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{right:0}}@media (max-width:782px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{top:32px}}@media (max-width:530px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{top:0}}.jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container{display:block}@media (max-width:530px){.jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container .jp-connect-full__step-header h2{margin:0}}.jp-connect-full__svg-dismiss{fill:#a2a2a2;height:1.5rem;left:0;padding:1rem;position:absolute;top:0;width:1.5rem}.jp-connect-full__step-header{line-height:1.5;margin:0 auto 40px;max-width:700px}@media (max-width:530px){.jp-connect-full__step-header{margin-bottom:1.5rem}}.jp-connect-full__step-header h2{color:#000;font-size:2rem;font-weight:700;line-height:1.2;margin:1.5rem 10% 0}@media (max-width:530px){.jp-connect-full__step-header h2{font-size:1.5rem;margin-top:1rem}}.jp-connect-full__step-header h3{color:#747474;font-size:1rem;font-weight:400;margin:.625rem 0 1.5rem}.jp-connect-full__step-header.bottom{margin-top:5rem}#jp-connect-full__step2-header{display:none}.jp-connect-full__tos-blurb{font-size:.75rem;margin:0 auto 1rem}.jp-connect-full__dismiss{cursor:pointer}.jp-connect-full__dismiss-paragraph{font-size:.75rem}.jp-connect-full__dismiss-paragraph a,.jp-connect-full__tos-blurb a{color:inherit;cursor:pointer;text-decoration:underline}.jp-connect-full__row{align-items:baseline;display:flex;justify-content:space-around;justify-content:space-evenly;margin:0 auto;max-width:1000px;text-align:right}.jp-connect-full__slide{margin:3rem 0;max-width:38%}@media (max-width:782px){.jp-connect-full__slide{margin:1.875rem 0}}.jp-connect-full__slide h3{font-size:1.25rem}.jp-connect-full__slide img{max-width:100%}.jp-connect-full__slide ul{list-style:disc;margin-right:16px}@media (min-width:600px){.jp-connect-full__slide .illustration{margin-bottom:2rem}}.jp-connect-full__step-support{line-height:1.25;margin:0 auto;max-width:700px}.jp-connect-full__step-support h2{color:#000;font-size:1.5rem;font-weight:400;margin:1rem 0 0}.jp-connect-full__step-support h3{color:#747474;font-size:1rem;font-weight:400;margin:.625rem 0 1.5rem}.jp-connect-full__button-container-loading{animation:jetpack-loading-fade 1.6s ease-in-out infinite;font-size:.875rem}.jp-connect-full__button-container .jp-spinner{width:100%}@media screen and (max-width:480px){.jp-connect-full__row{display:block}.jp-connect-full__slide{margin:2em 0;max-width:100%}}.updated.jp-wpcom-connect__container{border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:0}@media screen and (max-width:782px){.updated.jp-wpcom-connect__container{padding:0!important}}.updated.jp-wpcom-connect__container .dops-button{padding:7px 14px 9px}.updated .notice-dismiss{text-decoration:none;z-index:1}.jp-wpcom-connect__container-top-text+.jp-wpcom-connect__inner-container .notice-dismiss:before{color:#fff}.jp-wpcom-connect__container-top-text{align-items:baseline;background-color:#069e08;color:#fff;display:flex;padding:15px 15px 25px 35px}.jp-wpcom-connect__container-top-text svg{height:24px;margin-left:10px;position:relative;top:7px;width:24px}@media (max-width:530px){.jp-wpcom-connect__container-top-text svg{flex:1}}.jp-wpcom-connect__container-top-text svg path{fill:#fff}.jp-wpcom-connect__container-top-text span{display:inline-block}@media (max-width:530px){.jp-wpcom-connect__container-top-text span{flex:9}}.jp-wpcom-connect__container{background-color:#069e08;box-sizing:border-box;display:block;position:relative}.jp-wpcom-connect__inner-container>a:first-child{z-index:1}.jp-wpcom-connect__inner-container{background:#fff;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:left}.jp-wpcom-connect__content-container{padding:2rem;position:relative;width:1250px;z-index:0}.jp-wpcom-connect__content-container p{color:#6f6f6f;font-size:.875rem}.jp-wpcom-connect__content-container h2{display:block;line-height:1.6;margin-bottom:1.5rem;margin-top:0}@media (max-width:530px){.jp-wpcom-connect__hide-phone-and-smaller{display:none!important}}.jp-wpcom-connect__content-icon{display:flex;flex-direction:column;margin:0 1.5rem}.jp-connect-illo img{display:block;margin:0 auto}.jp-connect-illo .jetpack-logo{margin-bottom:2.25rem}@media (max-width:530px){.jp-connect-illo .jetpack-logo{margin-right:0}}@media (max-width:782px){.jp-connect-illo{display:block;margin:.5rem 0;width:100%}}@media (min-width:900px){.jp-wpcom-connect__slide-text{padding-right:2.8125rem}}.jp-wpcom-connect__slide{display:none}.jp-wpcom-connect__slide.jp__slide-is-active{align-items:flex-start;display:flex}@media (max-width:782px){.jp-wpcom-connect__slide.jp__slide-is-active{display:block}}.jp-wpcom-connect__slide ul{list-style:disc;padding:0 .9375rem 0 0}.jp-wpcom-connect__slide ul li{color:#6f6f6f;font-size:.75rem}.jp-banner__button-container .dops-button{margin:.3125rem 0}.jp-banner__button-container .dops-button.is-primary{background:#069e08;border-color:#00a523;flex-shrink:0;padding-left:1.5rem;padding-right:1.5rem}.jp-banner__button-container .dops-button.is-primary:focus,.jp-banner__button-container .dops-button.is-primary:hover{background:#00a523;border-color:#008b1d}.jp-banner__button-container .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #008b1d}.jp-wpcom-connect__quest{font-size:1.25rem;padding-right:2.8125rem;position:relative}.jp-wpcom-connect__quest-marker.gridicon{fill:#eec74f;position:absolute;right:0;top:-.1875rem} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-banners.css b/plugins/jetpack/css/jetpack-banners.css
index 3dd658c7..45087adf 100644
--- a/plugins/jetpack/css/jetpack-banners.css
+++ b/plugins/jetpack/css/jetpack-banners.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@charset "UTF-8";
/*
The MIT License (MIT)
@@ -471,4 +468,3 @@ https://github.com/thoughtbot/bourbon
top: -0.1875rem;
fill: #eec74f;
}
-/*# sourceMappingURL=jetpack-banners.css.map */
diff --git a/plugins/jetpack/css/jetpack-banners.min.css b/plugins/jetpack/css/jetpack-banners.min.css
index 12228c3d..089d6766 100644
--- a/plugins/jetpack/css/jetpack-banners.min.css
+++ b/plugins/jetpack/css/jetpack-banners.min.css
@@ -1,3 +1 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.updated.jp-banner{position:relative;padding:0}.updated .jp-banner__header{font-size:1.25rem;font-weight:400;margin-top:0}.updated .jp-banner__button-container{padding:2rem 0 0;flex-direction:row-reverse;align-items:center;justify-content:flex-end}@media (min-width:600px){.updated .jp-banner__button-container{display:flex}}.updated .jp-banner__tos-blurb{display:block;padding:.375rem 0;line-height:1.5;font-size:.75rem;color:#414141}@media (min-width:600px){.updated .jp-banner__tos-blurb{margin-left:1.125rem}}.updated .jp-banner__tos-blurb a{color:inherit}.jp-banner .notice-dismiss{text-decoration:none}.jp-banner__description{font-size:.875rem}.jp-banner__description-container{padding:1rem}.jetpack-disconnected .jp-connect-full__container{box-sizing:border-box;position:absolute;top:0;right:0;bottom:1.25rem;left:0;z-index:999;background:#f1f1f1;text-align:center}@media (max-width:530px){.jetpack-disconnected .jp-connect-full__container{top:42px}}@media (min-width:782px){.jetpack-disconnected .jp-connect-full__container{left:-20px}}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card{padding:4rem 4rem 6rem;background:#fff;margin:1em}@media (max-width:530px){.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card{padding:2rem 2rem}}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.jetpack-logo{width:160px}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.support-characters{margin-top:1.5rem;width:50%}.jetpack-disconnected .jp-connect-full__container h4{line-height:1.25;font-size:1.5rem;font-weight:400;margin:1em 0}.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{position:relative;bottom:0;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);display:none}.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container .jp-connect-full__container-card{margin:0}@media (min-width:782px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{left:0}}@media (max-width:782px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{top:32px}}@media (max-width:530px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{top:0}}.jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container{display:block}@media (max-width:530px){.jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container .jp-connect-full__step-header h2{margin:0}}.jp-connect-full__svg-dismiss{position:absolute;right:0;top:0;fill:#a2a2a2;padding:1rem;height:1.5rem;width:1.5rem}.jp-connect-full__step-header{max-width:700px;margin:0 auto 40px auto;line-height:1.5}@media (max-width:530px){.jp-connect-full__step-header{margin-bottom:1.5rem}}.jp-connect-full__step-header h2{margin:1.5rem 10% 0;font-size:2rem;font-weight:700;line-height:1.2;color:#000}@media (max-width:530px){.jp-connect-full__step-header h2{margin-top:1rem;font-size:1.5rem}}.jp-connect-full__step-header h3{color:#747474;font-size:1rem;font-weight:400;margin:.625rem 0 1.5rem}.jp-connect-full__step-header.bottom{margin-top:5rem}#jp-connect-full__step2-header{display:none}.jp-connect-full__tos-blurb{font-size:.75rem;margin:0 auto 1rem}.jp-connect-full__dismiss{cursor:pointer}.jp-connect-full__dismiss-paragraph{font-size:.75rem}.jp-connect-full__dismiss-paragraph a,.jp-connect-full__tos-blurb a{cursor:pointer;color:inherit;text-decoration:underline}.jp-connect-full__row{display:flex;justify-content:space-around;justify-content:space-evenly;text-align:left;align-items:baseline;margin:0 auto;max-width:1000px}.jp-connect-full__slide{max-width:38%;margin:3rem 0}@media (max-width:782px){.jp-connect-full__slide{margin:1.875rem 0}}.jp-connect-full__slide h3{font-size:1.25rem}.jp-connect-full__slide img{max-width:100%}.jp-connect-full__slide ul{list-style:disc;margin-left:16px}@media (min-width:600px){.jp-connect-full__slide .illustration{margin-bottom:2rem}}.jp-connect-full__step-support{max-width:700px;margin:0 auto;line-height:1.25}.jp-connect-full__step-support h2{margin:1rem 0 0;font-size:1.5rem;font-weight:400;color:#000}.jp-connect-full__step-support h3{color:#747474;font-size:1rem;font-weight:400;margin:.625rem 0 1.5rem}.jp-connect-full__button-container-loading{font-size:.875rem;animation:jetpack-loading-fade 1.6s ease-in-out infinite}.jp-connect-full__button-container .jp-spinner{width:100%}@media screen and (max-width:480px){.jp-connect-full__row{display:block}.jp-connect-full__slide{margin:2em 0;max-width:100%}}.updated.jp-wpcom-connect__container{border-left:none;padding:0;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04)}@media screen and (max-width:782px){.updated.jp-wpcom-connect__container{padding:0!important}}.updated.jp-wpcom-connect__container .dops-button{padding:7px 14px 9px}.updated .notice-dismiss{z-index:1;text-decoration:none}.jp-wpcom-connect__container-top-text+.jp-wpcom-connect__inner-container .notice-dismiss::before{color:#fff}.jp-wpcom-connect__container-top-text{padding:15px 35px 25px 15px;background-color:#069e08;color:#fff;display:flex;align-items:baseline}.jp-wpcom-connect__container-top-text svg{width:24px;height:24px;margin-right:10px;position:relative;top:7px}@media (max-width:530px){.jp-wpcom-connect__container-top-text svg{flex:1}}.jp-wpcom-connect__container-top-text svg path{fill:#fff}.jp-wpcom-connect__container-top-text span{display:inline-block}@media (max-width:530px){.jp-wpcom-connect__container-top-text span{flex:9}}.jp-wpcom-connect__container{display:block;position:relative;box-sizing:border-box;background-color:#069e08}.jp-wpcom-connect__inner-container>a:first-child{z-index:1}.jp-wpcom-connect__inner-container{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:left;background:#fff}.jp-wpcom-connect__content-container{width:1250px;position:relative;padding:2rem;z-index:0}.jp-wpcom-connect__content-container p{color:#6f6f6f;font-size:.875rem}.jp-wpcom-connect__content-container h2{margin-top:0;line-height:1.6;display:block;margin-bottom:1.5rem}@media (max-width:530px){.jp-wpcom-connect__hide-phone-and-smaller{display:none!important}}.jp-wpcom-connect__content-icon{margin:0 1.5rem;display:flex;flex-direction:column}.jp-connect-illo img{display:block;margin:0 auto}.jp-connect-illo .jetpack-logo{margin-bottom:2.25rem}@media (max-width:530px){.jp-connect-illo .jetpack-logo{margin-left:0}}@media (max-width:782px){.jp-connect-illo{width:100%;margin:.5rem 0;display:block}}@media (min-width:900px){.jp-wpcom-connect__slide-text{padding-left:2.8125rem}}.jp-wpcom-connect__slide{display:none}.jp-wpcom-connect__slide.jp__slide-is-active{display:flex;align-items:flex-start}@media (max-width:782px){.jp-wpcom-connect__slide.jp__slide-is-active{display:block}}.jp-wpcom-connect__slide ul{list-style:disc;padding:0 0 0 .9375rem}.jp-wpcom-connect__slide ul li{color:#6f6f6f;font-size:.75rem}.jp-banner__button-container .dops-button{margin:.3125rem 0}.jp-banner__button-container .dops-button.is-primary{background:#069e08;border-color:#00a523;padding-left:1.5rem;padding-right:1.5rem;flex-shrink:0}.jp-banner__button-container .dops-button.is-primary:focus,.jp-banner__button-container .dops-button.is-primary:hover{background:#00a523;border-color:#008b1d}.jp-banner__button-container .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #008b1d}.jp-wpcom-connect__quest{position:relative;padding-left:2.8125rem;font-size:1.25rem}.jp-wpcom-connect__quest-marker.gridicon{position:absolute;left:0;top:-.1875rem;fill:#eec74f} \ No newline at end of file
+.updated.jp-banner{padding:0;position:relative}.updated .jp-banner__header{font-size:1.25rem;font-weight:400;margin-top:0}.updated .jp-banner__button-container{align-items:center;flex-direction:row-reverse;justify-content:flex-end;padding:2rem 0 0}@media (min-width:600px){.updated .jp-banner__button-container{display:flex}}.updated .jp-banner__tos-blurb{color:#414141;display:block;font-size:.75rem;line-height:1.5;padding:.375rem 0}@media (min-width:600px){.updated .jp-banner__tos-blurb{margin-left:1.125rem}}.updated .jp-banner__tos-blurb a{color:inherit}.jp-banner .notice-dismiss{text-decoration:none}.jp-banner__description{font-size:.875rem}.jp-banner__description-container{padding:1rem}.jetpack-disconnected .jp-connect-full__container{background:#f1f1f1;bottom:1.25rem;box-sizing:border-box;left:0;position:absolute;right:0;text-align:center;top:0;z-index:999}@media (max-width:530px){.jetpack-disconnected .jp-connect-full__container{top:42px}}@media (min-width:782px){.jetpack-disconnected .jp-connect-full__container{left:-20px}}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card{background:#fff;margin:1em;padding:4rem 4rem 6rem}@media (max-width:530px){.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card{padding:2rem}}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.jetpack-logo{width:160px}.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.support-characters{margin-top:1.5rem;width:50%}.jetpack-disconnected .jp-connect-full__container h4{font-size:1.5rem;font-weight:400;line-height:1.25;margin:1em 0}.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{bottom:0;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);display:none;position:relative}.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container .jp-connect-full__container-card{margin:0}@media (min-width:782px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{left:0}}@media (max-width:782px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{top:32px}}@media (max-width:530px){.jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container{top:0}}.jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container{display:block}@media (max-width:530px){.jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container .jp-connect-full__step-header h2{margin:0}}.jp-connect-full__svg-dismiss{fill:#a2a2a2;height:1.5rem;padding:1rem;position:absolute;right:0;top:0;width:1.5rem}.jp-connect-full__step-header{line-height:1.5;margin:0 auto 40px;max-width:700px}@media (max-width:530px){.jp-connect-full__step-header{margin-bottom:1.5rem}}.jp-connect-full__step-header h2{color:#000;font-size:2rem;font-weight:700;line-height:1.2;margin:1.5rem 10% 0}@media (max-width:530px){.jp-connect-full__step-header h2{font-size:1.5rem;margin-top:1rem}}.jp-connect-full__step-header h3{color:#747474;font-size:1rem;font-weight:400;margin:.625rem 0 1.5rem}.jp-connect-full__step-header.bottom{margin-top:5rem}#jp-connect-full__step2-header{display:none}.jp-connect-full__tos-blurb{font-size:.75rem;margin:0 auto 1rem}.jp-connect-full__dismiss{cursor:pointer}.jp-connect-full__dismiss-paragraph{font-size:.75rem}.jp-connect-full__dismiss-paragraph a,.jp-connect-full__tos-blurb a{color:inherit;cursor:pointer;text-decoration:underline}.jp-connect-full__row{align-items:baseline;display:flex;justify-content:space-around;justify-content:space-evenly;margin:0 auto;max-width:1000px;text-align:left}.jp-connect-full__slide{margin:3rem 0;max-width:38%}@media (max-width:782px){.jp-connect-full__slide{margin:1.875rem 0}}.jp-connect-full__slide h3{font-size:1.25rem}.jp-connect-full__slide img{max-width:100%}.jp-connect-full__slide ul{list-style:disc;margin-left:16px}@media (min-width:600px){.jp-connect-full__slide .illustration{margin-bottom:2rem}}.jp-connect-full__step-support{line-height:1.25;margin:0 auto;max-width:700px}.jp-connect-full__step-support h2{color:#000;font-size:1.5rem;font-weight:400;margin:1rem 0 0}.jp-connect-full__step-support h3{color:#747474;font-size:1rem;font-weight:400;margin:.625rem 0 1.5rem}.jp-connect-full__button-container-loading{animation:jetpack-loading-fade 1.6s ease-in-out infinite;font-size:.875rem}.jp-connect-full__button-container .jp-spinner{width:100%}@media screen and (max-width:480px){.jp-connect-full__row{display:block}.jp-connect-full__slide{margin:2em 0;max-width:100%}}.updated.jp-wpcom-connect__container{border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:0}@media screen and (max-width:782px){.updated.jp-wpcom-connect__container{padding:0!important}}.updated.jp-wpcom-connect__container .dops-button{padding:7px 14px 9px}.updated .notice-dismiss{text-decoration:none;z-index:1}.jp-wpcom-connect__container-top-text+.jp-wpcom-connect__inner-container .notice-dismiss:before{color:#fff}.jp-wpcom-connect__container-top-text{align-items:baseline;background-color:#069e08;color:#fff;display:flex;padding:15px 35px 25px 15px}.jp-wpcom-connect__container-top-text svg{height:24px;margin-right:10px;position:relative;top:7px;width:24px}@media (max-width:530px){.jp-wpcom-connect__container-top-text svg{flex:1}}.jp-wpcom-connect__container-top-text svg path{fill:#fff}.jp-wpcom-connect__container-top-text span{display:inline-block}@media (max-width:530px){.jp-wpcom-connect__container-top-text span{flex:9}}.jp-wpcom-connect__container{background-color:#069e08;box-sizing:border-box;display:block;position:relative}.jp-wpcom-connect__inner-container>a:first-child{z-index:1}.jp-wpcom-connect__inner-container{background:#fff;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:left}.jp-wpcom-connect__content-container{padding:2rem;position:relative;width:1250px;z-index:0}.jp-wpcom-connect__content-container p{color:#6f6f6f;font-size:.875rem}.jp-wpcom-connect__content-container h2{display:block;line-height:1.6;margin-bottom:1.5rem;margin-top:0}@media (max-width:530px){.jp-wpcom-connect__hide-phone-and-smaller{display:none!important}}.jp-wpcom-connect__content-icon{display:flex;flex-direction:column;margin:0 1.5rem}.jp-connect-illo img{display:block;margin:0 auto}.jp-connect-illo .jetpack-logo{margin-bottom:2.25rem}@media (max-width:530px){.jp-connect-illo .jetpack-logo{margin-left:0}}@media (max-width:782px){.jp-connect-illo{display:block;margin:.5rem 0;width:100%}}@media (min-width:900px){.jp-wpcom-connect__slide-text{padding-left:2.8125rem}}.jp-wpcom-connect__slide{display:none}.jp-wpcom-connect__slide.jp__slide-is-active{align-items:flex-start;display:flex}@media (max-width:782px){.jp-wpcom-connect__slide.jp__slide-is-active{display:block}}.jp-wpcom-connect__slide ul{list-style:disc;padding:0 0 0 .9375rem}.jp-wpcom-connect__slide ul li{color:#6f6f6f;font-size:.75rem}.jp-banner__button-container .dops-button{margin:.3125rem 0}.jp-banner__button-container .dops-button.is-primary{background:#069e08;border-color:#00a523;flex-shrink:0;padding-left:1.5rem;padding-right:1.5rem}.jp-banner__button-container .dops-button.is-primary:focus,.jp-banner__button-container .dops-button.is-primary:hover{background:#00a523;border-color:#008b1d}.jp-banner__button-container .dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #008b1d}.jp-wpcom-connect__quest{font-size:1.25rem;padding-left:2.8125rem;position:relative}.jp-wpcom-connect__quest-marker.gridicon{fill:#eec74f;left:0;position:absolute;top:-.1875rem} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-connect-rtl.css b/plugins/jetpack/css/jetpack-connect-rtl.css
index c5639550..ed55a2a7 100644
--- a/plugins/jetpack/css/jetpack-connect-rtl.css
+++ b/plugins/jetpack/css/jetpack-connect-rtl.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@charset "UTF-8";
/*
The MIT License (MIT)
@@ -22,20 +19,7 @@ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
https://github.com/thoughtbot/bourbon
*/
-.jp-jetpack-connect__iframe {
- height: 340px;
- width: 380px;
- max-width: 100%;
- margin: 1rem auto 0;
- background: #FFFFFF;
-}
-.jp-jetpack-connect__site_connection .jp-jetpack-connect__iframe {
- width: 600px;
- height: 600px;
-}
-
.jp-connect-full__button-container-loading {
margin-top: 84px;
display: block;
}
-/*# sourceMappingURL=jetpack-connect-rtl.css.map */
diff --git a/plugins/jetpack/css/jetpack-connect-rtl.min.css b/plugins/jetpack/css/jetpack-connect-rtl.min.css
index e8aea43d..9a9a8f6e 100644
--- a/plugins/jetpack/css/jetpack-connect-rtl.min.css
+++ b/plugins/jetpack/css/jetpack-connect-rtl.min.css
@@ -1,3 +1 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.jp-jetpack-connect__iframe{height:340px;width:380px;max-width:100%;margin:1rem auto 0;background:#fff}.jp-jetpack-connect__site_connection .jp-jetpack-connect__iframe{width:600px;height:600px}.jp-connect-full__button-container-loading{margin-top:84px;display:block} \ No newline at end of file
+.jp-connect-full__button-container-loading{display:block;margin-top:84px} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-connect.css b/plugins/jetpack/css/jetpack-connect.css
index b14e5f79..ed55a2a7 100644
--- a/plugins/jetpack/css/jetpack-connect.css
+++ b/plugins/jetpack/css/jetpack-connect.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@charset "UTF-8";
/*
The MIT License (MIT)
@@ -22,20 +19,7 @@ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
https://github.com/thoughtbot/bourbon
*/
-.jp-jetpack-connect__iframe {
- height: 340px;
- width: 380px;
- max-width: 100%;
- margin: 1rem auto 0;
- background: #FFFFFF;
-}
-.jp-jetpack-connect__site_connection .jp-jetpack-connect__iframe {
- width: 600px;
- height: 600px;
-}
-
.jp-connect-full__button-container-loading {
margin-top: 84px;
display: block;
}
-/*# sourceMappingURL=jetpack-connect.css.map */
diff --git a/plugins/jetpack/css/jetpack-connect.min.css b/plugins/jetpack/css/jetpack-connect.min.css
index e8aea43d..9a9a8f6e 100644
--- a/plugins/jetpack/css/jetpack-connect.min.css
+++ b/plugins/jetpack/css/jetpack-connect.min.css
@@ -1,3 +1 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.jp-jetpack-connect__iframe{height:340px;width:380px;max-width:100%;margin:1rem auto 0;background:#fff}.jp-jetpack-connect__site_connection .jp-jetpack-connect__iframe{width:600px;height:600px}.jp-connect-full__button-container-loading{margin-top:84px;display:block} \ No newline at end of file
+.jp-connect-full__button-container-loading{display:block;margin-top:84px} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-deactivate-dialog-rtl.css b/plugins/jetpack/css/jetpack-deactivate-dialog-rtl.css
index cd799724..3b672d8c 100644
--- a/plugins/jetpack/css/jetpack-deactivate-dialog-rtl.css
+++ b/plugins/jetpack/css/jetpack-deactivate-dialog-rtl.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@charset "UTF-8";
/*
The MIT License (MIT)
@@ -179,4 +176,3 @@ https://github.com/thoughtbot/bourbon
#jetpack_deactivation_dialog {
display: none;
}
-/*# sourceMappingURL=jetpack-deactivate-dialog-rtl.css.map */
diff --git a/plugins/jetpack/css/jetpack-deactivate-dialog-rtl.min.css b/plugins/jetpack/css/jetpack-deactivate-dialog-rtl.min.css
index 32e64776..8d81dff1 100644
--- a/plugins/jetpack/css/jetpack-deactivate-dialog-rtl.min.css
+++ b/plugins/jetpack/css/jetpack-deactivate-dialog-rtl.min.css
@@ -1,3 +1 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/#TB_window.jetpack-disconnect-modal{max-width:635px;max-height:600px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal{max-height:360px}}#TB_window.jetpack-disconnect-modal #TB_title{font-size:28px;line-height:24px;font-weight:600;height:24px;padding:24px;color:#1d2327}#TB_window.jetpack-disconnect-modal #TB_ajaxWindowTitle{padding-right:0;margin-top:-2px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent{width:auto!important;padding:0;max-height:435px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal #TB_ajaxContent{max-height:203px}}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content{padding:24px;padding-bottom:80px;margin-top:0}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content{padding-bottom:24px}}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content p{font-size:16px;line-height:24px;margin-top:0}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul{font-size:16px;line-height:24px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li{margin-bottom:10px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li span{vertical-align:middle}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li span.dashicons{color:#eb0001}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton{right:auto;left:22px;color:#50575e;top:22px}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:after{content:"\f335";font:normal 32px/29px dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:focus,#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:hover{color:#a2a2a2;outline:0;box-shadow:none}#TB_window.jetpack-disconnect-modal .tb-close-icon{display:none}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row-container{position:absolute;bottom:0;width:100%;border-top:1px solid #c3c4c7;background-color:#fff}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row{position:relative;margin:24px;text-align:right;display:flex;flex-direction:column;justify-content:space-between}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row{flex-direction:row}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row p{font-size:13px;line-height:1.5;margin-top:auto;margin-bottom:0;margin-top:0;padding-top:0}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row p{padding-top:5px}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button{background:#f6f7f7;border-color:#2271b1;border-style:solid;border-width:1px;color:#2271b1;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:13px;border-radius:3px;padding:7px 14px 9px;-webkit-appearance:none;appearance:none;width:100%;margin-bottom:18px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button{margin-bottom:0;margin-right:18px;width:auto}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate{background:#d94f4f;border-color:#a02222;color:#fff;margin-bottom:0}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate:disabled,#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate[disabled]{background:#eba3a3;border-color:#e48484}#jetpack_deactivation_dialog{display:none} \ No newline at end of file
+#TB_window.jetpack-disconnect-modal{max-height:600px;max-width:635px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal{max-height:360px}}#TB_window.jetpack-disconnect-modal #TB_title{color:#1d2327;font-size:28px;font-weight:600;height:24px;line-height:24px;padding:24px}#TB_window.jetpack-disconnect-modal #TB_ajaxWindowTitle{margin-top:-2px;padding-right:0}#TB_window.jetpack-disconnect-modal #TB_ajaxContent{max-height:435px;padding:0;width:auto!important}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal #TB_ajaxContent{max-height:203px}}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content{margin-top:0;padding:24px 24px 80px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content{padding-bottom:24px}}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content p{font-size:16px;line-height:24px;margin-top:0}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul{font-size:16px;line-height:24px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li{margin-bottom:10px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li span{vertical-align:middle}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li span.dashicons{color:#eb0001}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton{color:#50575e;left:22px;right:auto;top:22px}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f335";font:normal 32px/29px dashicons}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:focus,#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:hover{box-shadow:none;color:#a2a2a2;outline:none}#TB_window.jetpack-disconnect-modal .tb-close-icon{display:none}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row-container{background-color:#fff;border-top:1px solid #c3c4c7;bottom:0;position:absolute;width:100%}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row{display:flex;flex-direction:column;justify-content:space-between;margin:24px;position:relative;text-align:right}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row{flex-direction:row}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row p{font-size:13px;line-height:1.5;margin-bottom:0;margin-top:0;padding-top:0}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row p{padding-top:5px}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:14px;font-size:13px;margin:0 0 18px;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top;width:100%}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button{margin-bottom:0;margin-right:18px;width:auto}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate{background:#d94f4f;border-color:#a02222;color:#fff;margin-bottom:0}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate:disabled,#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate[disabled]{background:#eba3a3;border-color:#e48484}#jetpack_deactivation_dialog{display:none} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-deactivate-dialog.css b/plugins/jetpack/css/jetpack-deactivate-dialog.css
index a5be42cc..d1f62013 100644
--- a/plugins/jetpack/css/jetpack-deactivate-dialog.css
+++ b/plugins/jetpack/css/jetpack-deactivate-dialog.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@charset "UTF-8";
/*
The MIT License (MIT)
@@ -179,4 +176,3 @@ https://github.com/thoughtbot/bourbon
#jetpack_deactivation_dialog {
display: none;
}
-/*# sourceMappingURL=jetpack-deactivate-dialog.css.map */
diff --git a/plugins/jetpack/css/jetpack-deactivate-dialog.min.css b/plugins/jetpack/css/jetpack-deactivate-dialog.min.css
index 50a12857..1c7bd5d0 100644
--- a/plugins/jetpack/css/jetpack-deactivate-dialog.min.css
+++ b/plugins/jetpack/css/jetpack-deactivate-dialog.min.css
@@ -1,3 +1 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/#TB_window.jetpack-disconnect-modal{max-width:635px;max-height:600px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal{max-height:360px}}#TB_window.jetpack-disconnect-modal #TB_title{font-size:28px;line-height:24px;font-weight:600;height:24px;padding:24px;color:#1d2327}#TB_window.jetpack-disconnect-modal #TB_ajaxWindowTitle{padding-left:0;margin-top:-2px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent{width:auto!important;padding:0;max-height:435px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal #TB_ajaxContent{max-height:203px}}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content{padding:24px;padding-bottom:80px;margin-top:0}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content{padding-bottom:24px}}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content p{font-size:16px;line-height:24px;margin-top:0}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul{font-size:16px;line-height:24px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li{margin-bottom:10px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li span{vertical-align:middle}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li span.dashicons{color:#eb0001}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton{left:auto;right:22px;color:#50575e;top:22px}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:after{content:"\f335";font:normal 32px/29px dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:focus,#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:hover{color:#a2a2a2;outline:0;box-shadow:none}#TB_window.jetpack-disconnect-modal .tb-close-icon{display:none}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row-container{position:absolute;bottom:0;width:100%;border-top:1px solid #c3c4c7;background-color:#fff}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row{position:relative;margin:24px;text-align:left;display:flex;flex-direction:column;justify-content:space-between}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row{flex-direction:row}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row p{font-size:13px;line-height:1.5;margin-top:auto;margin-bottom:0;margin-top:0;padding-top:0}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row p{padding-top:5px}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button{background:#f6f7f7;border-color:#2271b1;border-style:solid;border-width:1px;color:#2271b1;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:13px;border-radius:3px;padding:7px 14px 9px;-webkit-appearance:none;appearance:none;width:100%;margin-bottom:18px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button{margin-bottom:0;margin-left:18px;width:auto}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate{background:#d94f4f;border-color:#a02222;color:#fff;margin-bottom:0}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate:disabled,#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate[disabled]{background:#eba3a3;border-color:#e48484}#jetpack_deactivation_dialog{display:none} \ No newline at end of file
+#TB_window.jetpack-disconnect-modal{max-height:600px;max-width:635px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal{max-height:360px}}#TB_window.jetpack-disconnect-modal #TB_title{color:#1d2327;font-size:28px;font-weight:600;height:24px;line-height:24px;padding:24px}#TB_window.jetpack-disconnect-modal #TB_ajaxWindowTitle{margin-top:-2px;padding-left:0}#TB_window.jetpack-disconnect-modal #TB_ajaxContent{max-height:435px;padding:0;width:auto!important}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal #TB_ajaxContent{max-height:203px}}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content{margin-top:0;padding:24px 24px 80px}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content{padding-bottom:24px}}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content p{font-size:16px;line-height:24px;margin-top:0}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul{font-size:16px;line-height:24px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li{margin-bottom:10px}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li span{vertical-align:middle}#TB_window.jetpack-disconnect-modal #TB_ajaxContent .jetpack_deactivation_dialog_content ul li span.dashicons{color:#eb0001}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton{color:#50575e;left:auto;right:22px;top:22px}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f335";font:normal 32px/29px dashicons}#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:focus,#TB_window.jetpack-disconnect-modal #TB_closeWindowButton:hover{box-shadow:none;color:#a2a2a2;outline:none}#TB_window.jetpack-disconnect-modal .tb-close-icon{display:none}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row-container{background-color:#fff;border-top:1px solid #c3c4c7;bottom:0;position:absolute;width:100%}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row{display:flex;flex-direction:column;justify-content:space-between;margin:24px;position:relative;text-align:left}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row{flex-direction:row}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row p{font-size:13px;line-height:1.5;margin-bottom:0;margin-top:0;padding-top:0}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row p{padding-top:5px}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:14px;font-size:13px;margin:0 0 18px;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top;width:100%}@media screen and (min-width:661px){#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button{margin-bottom:0;margin-left:18px;width:auto}}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate{background:#d94f4f;border-color:#a02222;color:#fff;margin-bottom:0}#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate:disabled,#TB_window.jetpack-disconnect-modal .jetpack_deactivation_dialog_content__buttons-row .jetpack_deactivation_dialog_content__buttons button#jetpack_deactivation_dialog_content__button-deactivate[disabled]{background:#eba3a3;border-color:#e48484}#jetpack_deactivation_dialog{display:none} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-icons-rtl.css b/plugins/jetpack/css/jetpack-icons-rtl.css
index eb9c35c5..de7c194d 100644
--- a/plugins/jetpack/css/jetpack-icons-rtl.css
+++ b/plugins/jetpack/css/jetpack-icons-rtl.css
@@ -1,17 +1,14 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@font-face {
font-family: "jetpack";
- src: url("../_inc/fonts/jetpack/jetpack.eot");
- src: url("../_inc/fonts/jetpack/jetpack.eot?#iefix") format("embedded-opentype"), url("../_inc/fonts/jetpack/jetpack.woff") format("woff"), url("../_inc/fonts/jetpack/jetpack.ttf") format("truetype"), url("../_inc/fonts/jetpack/jetpack.svg#jetpack") format("svg");
+ src: url(../_inc/fonts/jetpack/jetpack.eot);
+ src: url(../_inc/fonts/jetpack/jetpack.eot?#iefix) format("embedded-opentype"), url(../_inc/fonts/jetpack/jetpack.woff) format("woff"), url(../_inc/fonts/jetpack/jetpack.ttf) format("truetype"), url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg");
font-weight: normal;
font-style: normal;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
@font-face {
font-family: "jetpack";
- src: url("../_inc/fonts/jetpack/jetpack.svg#jetpack") format("svg");
+ src: url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg");
}
}
li.toplevel_page_jetpack .wp-menu-image:before {
@@ -28,4 +25,3 @@ li.toplevel_page_jetpack .wp-menu-image:before {
background: none !important;
background-repeat: no-repeat;
}
-/*# sourceMappingURL=jetpack-icons-rtl.css.map */
diff --git a/plugins/jetpack/css/jetpack-icons-rtl.min.css b/plugins/jetpack/css/jetpack-icons-rtl.min.css
index 8a2e8a7d..d32ad705 100644
--- a/plugins/jetpack/css/jetpack-icons-rtl.min.css
+++ b/plugins/jetpack/css/jetpack-icons-rtl.min.css
@@ -1,3 +1 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/@font-face{font-family:jetpack;src:url(../_inc/fonts/jetpack/jetpack.eot);src:url(../_inc/fonts/jetpack/jetpack.eot?#iefix) format("embedded-opentype"),url(../_inc/fonts/jetpack/jetpack.woff) format("woff"),url(../_inc/fonts/jetpack/jetpack.ttf) format("truetype"),url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg");font-weight:400;font-style:normal}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:jetpack;src:url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg")}}li.toplevel_page_jetpack .wp-menu-image:before{font-family:jetpack!important;content:"\f100"}#menu-posts-feedback .wp-menu-image:before{font-family:dashicons!important;content:"\f175"}#adminmenu #menu-posts-feedback div.wp-menu-image{background:0 0!important;background-repeat:no-repeat} \ No newline at end of file
+@font-face{font-family:jetpack;font-style:normal;font-weight:400;src:url(../_inc/fonts/jetpack/jetpack.eot);src:url(../_inc/fonts/jetpack/jetpack.eot?#iefix) format("embedded-opentype"),url(../_inc/fonts/jetpack/jetpack.woff) format("woff"),url(../_inc/fonts/jetpack/jetpack.ttf) format("truetype"),url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg")}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:jetpack;src:url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg")}}li.toplevel_page_jetpack .wp-menu-image:before{content:"\f100";font-family:jetpack!important}#menu-posts-feedback .wp-menu-image:before{content:"\f175";font-family:dashicons!important}#adminmenu #menu-posts-feedback div.wp-menu-image{background:none!important;background-repeat:no-repeat} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-icons.css b/plugins/jetpack/css/jetpack-icons.css
index 6eeb2d04..de7c194d 100644
--- a/plugins/jetpack/css/jetpack-icons.css
+++ b/plugins/jetpack/css/jetpack-icons.css
@@ -1,17 +1,14 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
@font-face {
font-family: "jetpack";
- src: url("../_inc/fonts/jetpack/jetpack.eot");
- src: url("../_inc/fonts/jetpack/jetpack.eot?#iefix") format("embedded-opentype"), url("../_inc/fonts/jetpack/jetpack.woff") format("woff"), url("../_inc/fonts/jetpack/jetpack.ttf") format("truetype"), url("../_inc/fonts/jetpack/jetpack.svg#jetpack") format("svg");
+ src: url(../_inc/fonts/jetpack/jetpack.eot);
+ src: url(../_inc/fonts/jetpack/jetpack.eot?#iefix) format("embedded-opentype"), url(../_inc/fonts/jetpack/jetpack.woff) format("woff"), url(../_inc/fonts/jetpack/jetpack.ttf) format("truetype"), url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg");
font-weight: normal;
font-style: normal;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
@font-face {
font-family: "jetpack";
- src: url("../_inc/fonts/jetpack/jetpack.svg#jetpack") format("svg");
+ src: url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg");
}
}
li.toplevel_page_jetpack .wp-menu-image:before {
@@ -28,4 +25,3 @@ li.toplevel_page_jetpack .wp-menu-image:before {
background: none !important;
background-repeat: no-repeat;
}
-/*# sourceMappingURL=jetpack-icons.css.map */
diff --git a/plugins/jetpack/css/jetpack-icons.min.css b/plugins/jetpack/css/jetpack-icons.min.css
index 8a2e8a7d..d32ad705 100644
--- a/plugins/jetpack/css/jetpack-icons.min.css
+++ b/plugins/jetpack/css/jetpack-icons.min.css
@@ -1,3 +1 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/@font-face{font-family:jetpack;src:url(../_inc/fonts/jetpack/jetpack.eot);src:url(../_inc/fonts/jetpack/jetpack.eot?#iefix) format("embedded-opentype"),url(../_inc/fonts/jetpack/jetpack.woff) format("woff"),url(../_inc/fonts/jetpack/jetpack.ttf) format("truetype"),url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg");font-weight:400;font-style:normal}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:jetpack;src:url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg")}}li.toplevel_page_jetpack .wp-menu-image:before{font-family:jetpack!important;content:"\f100"}#menu-posts-feedback .wp-menu-image:before{font-family:dashicons!important;content:"\f175"}#adminmenu #menu-posts-feedback div.wp-menu-image{background:0 0!important;background-repeat:no-repeat} \ No newline at end of file
+@font-face{font-family:jetpack;font-style:normal;font-weight:400;src:url(../_inc/fonts/jetpack/jetpack.eot);src:url(../_inc/fonts/jetpack/jetpack.eot?#iefix) format("embedded-opentype"),url(../_inc/fonts/jetpack/jetpack.woff) format("woff"),url(../_inc/fonts/jetpack/jetpack.ttf) format("truetype"),url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg")}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:jetpack;src:url(../_inc/fonts/jetpack/jetpack.svg#jetpack) format("svg")}}li.toplevel_page_jetpack .wp-menu-image:before{content:"\f100";font-family:jetpack!important}#menu-posts-feedback .wp-menu-image:before{content:"\f175";font-family:dashicons!important}#adminmenu #menu-posts-feedback div.wp-menu-image{background:none!important;background-repeat:no-repeat} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-idc-admin-bar-rtl.css b/plugins/jetpack/css/jetpack-idc-admin-bar-rtl.css
deleted file mode 100644
index cdfbe282..00000000
--- a/plugins/jetpack/css/jetpack-idc-admin-bar-rtl.css
+++ /dev/null
@@ -1,33 +0,0 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
-#wp-admin-bar-jetpack-idc.hide {
- display: none;
-}
-
-#wp-admin-bar-jetpack-idc .jp-idc-admin-bar {
- background: #fff;
- border-radius: 2px;
- color: #23282d;
- padding: 4px 8px;
- font-size: 12px;
-}
-
-#wpadminbar #wp-admin-bar-jetpack-idc .dashicons {
- color: #23282d;
- font-family: 'dashicons';
-}
-
-#wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before {
- font-size: 16px;
-}
-
-#wpadminbar #wp-admin-bar-jetpack-idc:hover .ab-item {
- background: inherit;
-}
-
-#wpadminbar #wp-admin-bar-jetpack-idc:hover .jp-idc-admin-bar {
- background: #eee;
-}
-
-/*# sourceMappingURL=jetpack-idc-admin-bar-rtl.css.map */
diff --git a/plugins/jetpack/css/jetpack-idc-admin-bar-rtl.min.css b/plugins/jetpack/css/jetpack-idc-admin-bar-rtl.min.css
deleted file mode 100644
index 5ae0b72c..00000000
--- a/plugins/jetpack/css/jetpack-idc-admin-bar-rtl.min.css
+++ /dev/null
@@ -1,3 +0,0 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/#wp-admin-bar-jetpack-idc.hide{display:none}#wp-admin-bar-jetpack-idc .jp-idc-admin-bar{background:#fff;border-radius:2px;color:#23282d;padding:4px 8px;font-size:12px}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons{color:#23282d;font-family:dashicons}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before{font-size:16px}#wpadminbar #wp-admin-bar-jetpack-idc:hover .ab-item{background:inherit}#wpadminbar #wp-admin-bar-jetpack-idc:hover .jp-idc-admin-bar{background:#eee} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-idc-admin-bar.css b/plugins/jetpack/css/jetpack-idc-admin-bar.css
deleted file mode 100644
index b77caf14..00000000
--- a/plugins/jetpack/css/jetpack-idc-admin-bar.css
+++ /dev/null
@@ -1,33 +0,0 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
-#wp-admin-bar-jetpack-idc.hide {
- display: none;
-}
-
-#wp-admin-bar-jetpack-idc .jp-idc-admin-bar {
- background: #fff;
- border-radius: 2px;
- color: #23282d;
- padding: 4px 8px;
- font-size: 12px;
-}
-
-#wpadminbar #wp-admin-bar-jetpack-idc .dashicons {
- color: #23282d;
- font-family: 'dashicons';
-}
-
-#wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before {
- font-size: 16px;
-}
-
-#wpadminbar #wp-admin-bar-jetpack-idc:hover .ab-item {
- background: inherit;
-}
-
-#wpadminbar #wp-admin-bar-jetpack-idc:hover .jp-idc-admin-bar {
- background: #eee;
-}
-
-/*# sourceMappingURL=jetpack-idc-admin-bar.css.map */
diff --git a/plugins/jetpack/css/jetpack-idc-admin-bar.min.css b/plugins/jetpack/css/jetpack-idc-admin-bar.min.css
deleted file mode 100644
index 5ae0b72c..00000000
--- a/plugins/jetpack/css/jetpack-idc-admin-bar.min.css
+++ /dev/null
@@ -1,3 +0,0 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/#wp-admin-bar-jetpack-idc.hide{display:none}#wp-admin-bar-jetpack-idc .jp-idc-admin-bar{background:#fff;border-radius:2px;color:#23282d;padding:4px 8px;font-size:12px}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons{color:#23282d;font-family:dashicons}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before{font-size:16px}#wpadminbar #wp-admin-bar-jetpack-idc:hover .ab-item{background:inherit}#wpadminbar #wp-admin-bar-jetpack-idc:hover .jp-idc-admin-bar{background:#eee} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-idc-rtl.css b/plugins/jetpack/css/jetpack-idc-rtl.css
deleted file mode 100644
index 285bf244..00000000
--- a/plugins/jetpack/css/jetpack-idc-rtl.css
+++ /dev/null
@@ -1,217 +0,0 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
-@charset "UTF-8";
-/*
-The MIT License (MIT)
-
-Copyright © 2011–2015 thoughtbot, inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
-documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
-persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial
-portions of the Software.
-
-THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-https://github.com/thoughtbot/bourbon
-*/
-.jp-idc-notice,
-.jp-idc-notice * {
- box-sizing: border-box;
-}
-
-.jp-idc-notice {
- margin-right: 0;
- margin-left: 10px;
- margin-top: 10px;
- overflow: hidden;
- padding-bottom: 16px;
- padding-top: 0;
-}
-
-.jp-idc-notice.is-non-admin {
- padding-bottom: 0;
-}
-
-@media all and (min-width: 783px) {
- .jp-idc-notice {
- margin-left: 20px;
- margin-top: 20px;
- }
- .jp-idc-notice.has-help-tabs {
- margin-top: 48px;
- }
-}
-
-.jp-idc-notice p {
- margin: 0;
- padding: 0;
-}
-
-.jp-idc-notice h3, .jp-idc-notice p {
- color: #414141;
-}
-
-.jp-idc-notice a:not(.dops-notice__action) {
- color: #0087be;
- text-decoration: none;
-}
-
-.jp-idc-notice a:not(.dops-notice__action):visited {
- color: #0087be;
-}
-
-.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {
- color: #3396c8;
-}
-
-.jp-idc-notice .dops-button {
- align-self: flex-start;
- margin-top: auto;
-}
-
-.jp-idc-notice > div {
- padding: 0 8px;
-}
-
-.jp-idc-notice__first-step {
- display: inline-block;
-}
-
-.jp-idc-notice__second-step {
- display: none;
-}
-
-.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {
- display: none;
-}
-
-.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {
- display: inline-block;
-}
-
-.jp-idc-notice .jp-idc-notice__header {
- padding-top: 8px;
- padding-bottom: 8px;
-}
-
-.jp-idc-notice__header__emblem {
- fill: #00BE28;
- width: 25px;
- height: 25px;
- margin: 0 auto 0 1em;
- float: right;
-}
-
-.jp-idc-notice__header__text {
- font-size: 14px;
- font-weight: 600;
- line-height: 25px;
- margin: 0;
-}
-
-.jp-idc-notice__content-header {
- margin: 16px 0;
-}
-
-.jp-idc-notice__content-header__lead {
- font-size: 16px;
- font-weight: 600;
- line-height: 21px;
- margin: 0;
-}
-
-.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {
- font-size: 14px;
- font-weight: 400;
- margin: 8px 0 0;
-}
-
-@media only screen and (min-width: 960px) {
- .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {
- margin: 4px 0 0;
- }
-}
-
-.jp-idc-notice__action {
- border: 1px solid #eeeeee;
- border-radius: 4px;
- display: flex;
- padding: 16px;
- flex-direction: column;
- margin-top: auto;
-}
-
-.jp-idc-notice__action:last-child {
- margin: 16px 0 0;
-}
-
-@media only screen and (min-width: 960px) {
- .jp-idc-notice__actions {
- display: flex;
- }
- .jp-idc-notice__action {
- flex: 1;
- margin: 0 0 0 8px;
- }
- .jp-idc-notice__action:last-child {
- margin: 0 8px 0 0;
- }
- .jp-idc-notice__action:first-child {
- padding-left: 24px;
- }
- .jp-idc-notice__action:last-child {
- padding-right: 24px;
- }
-}
-
-.jp-idc-notice .jp-idc-notice__action__explanation {
- margin: 0 0 16px 0;
-}
-
-.jp-idc-notice__separator {
- background-color: #eeeeee;
- margin: 0 -10px 0 -10px;
- height: 1px;
-}
-
-.jp-idc-notice.is-dismissible .jp-idc-notice__separator {
- margin-left: -46px;
-}
-
-@media only screen and (min-width: 782px) {
- .jp-idc-notice__separator {
- margin: 0 -12px 0 -12px;
- }
- .jp-idc-notice.is-dismissible .jp-idc-notice__separator {
- margin-left: -38px;
- }
-}
-
-.jp-idc-notice .jp-idc-notice__unsure-prompt {
- margin: 16px 0 0;
-}
-
-.jp-idc-notice .jp-idc-error__notice {
- display: none;
-}
-
-.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {
- height: auto;
- width: auto;
-}
-
-@media only screen and (min-width: 683px) {
- .jp-idc-notice .jp-idc-error__notice .dops-notice__text {
- line-height: 24px;
- }
-}
-
-/*# sourceMappingURL=jetpack-idc-rtl.css.map */
diff --git a/plugins/jetpack/css/jetpack-idc-rtl.min.css b/plugins/jetpack/css/jetpack-idc-rtl.min.css
deleted file mode 100644
index 437eccd7..00000000
--- a/plugins/jetpack/css/jetpack-idc-rtl.min.css
+++ /dev/null
@@ -1,3 +0,0 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.jp-idc-notice,.jp-idc-notice *{box-sizing:border-box}.jp-idc-notice{margin-right:0;margin-left:10px;margin-top:10px;overflow:hidden;padding-bottom:16px;padding-top:0}.jp-idc-notice.is-non-admin{padding-bottom:0}@media all and (min-width:783px){.jp-idc-notice{margin-left:20px;margin-top:20px}.jp-idc-notice.has-help-tabs{margin-top:48px}}.jp-idc-notice p{margin:0;padding:0}.jp-idc-notice h3,.jp-idc-notice p{color:#414141}.jp-idc-notice a:not(.dops-notice__action){color:#0087be;text-decoration:none}.jp-idc-notice a:not(.dops-notice__action):visited{color:#0087be}.jp-idc-notice a:not(.dops-notice__action):active,.jp-idc-notice a:not(.dops-notice__action):focus,.jp-idc-notice a:not(.dops-notice__action):hover{color:#3396c8}.jp-idc-notice .dops-button{align-self:flex-start;margin-top:auto}.jp-idc-notice>div{padding:0 8px}.jp-idc-notice__first-step{display:inline-block}.jp-idc-notice__second-step{display:none}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step{display:none}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step{display:inline-block}.jp-idc-notice .jp-idc-notice__header{padding-top:8px;padding-bottom:8px}.jp-idc-notice__header__emblem{fill:#00be28;width:25px;height:25px;margin:0 auto 0 1em;float:right}.jp-idc-notice__header__text{font-size:14px;font-weight:600;line-height:25px;margin:0}.jp-idc-notice__content-header{margin:16px 0}.jp-idc-notice__content-header__lead{font-size:16px;font-weight:600;line-height:21px;margin:0}.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{font-size:14px;font-weight:400;margin:8px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{margin:4px 0 0}}.jp-idc-notice__action{border:1px solid #eee;border-radius:4px;display:flex;padding:16px;flex-direction:column;margin-top:auto}.jp-idc-notice__action:last-child{margin:16px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__actions{display:flex}.jp-idc-notice__action{flex:1;margin:0 0 0 8px}.jp-idc-notice__action:last-child{margin:0 8px 0 0}.jp-idc-notice__action:first-child{padding-left:24px}.jp-idc-notice__action:last-child{padding-right:24px}}.jp-idc-notice .jp-idc-notice__action__explanation{margin:0 0 16px 0}.jp-idc-notice__separator{background-color:#eee;margin:0 -10px 0 -10px;height:1px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-left:-46px}@media only screen and (min-width:782px){.jp-idc-notice__separator{margin:0 -12px 0 -12px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-left:-38px}}.jp-idc-notice .jp-idc-notice__unsure-prompt{margin:16px 0 0}.jp-idc-notice .jp-idc-error__notice{display:none}.jp-idc-notice .jp-idc-error__notice .dops-notice__icon{height:auto;width:auto}@media only screen and (min-width:683px){.jp-idc-notice .jp-idc-error__notice .dops-notice__text{line-height:24px}} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-idc.css b/plugins/jetpack/css/jetpack-idc.css
deleted file mode 100644
index cd81494b..00000000
--- a/plugins/jetpack/css/jetpack-idc.css
+++ /dev/null
@@ -1,217 +0,0 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
-@charset "UTF-8";
-/*
-The MIT License (MIT)
-
-Copyright © 2011–2015 thoughtbot, inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
-documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
-persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial
-portions of the Software.
-
-THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-https://github.com/thoughtbot/bourbon
-*/
-.jp-idc-notice,
-.jp-idc-notice * {
- box-sizing: border-box;
-}
-
-.jp-idc-notice {
- margin-left: 0;
- margin-right: 10px;
- margin-top: 10px;
- overflow: hidden;
- padding-bottom: 16px;
- padding-top: 0;
-}
-
-.jp-idc-notice.is-non-admin {
- padding-bottom: 0;
-}
-
-@media all and (min-width: 783px) {
- .jp-idc-notice {
- margin-right: 20px;
- margin-top: 20px;
- }
- .jp-idc-notice.has-help-tabs {
- margin-top: 48px;
- }
-}
-
-.jp-idc-notice p {
- margin: 0;
- padding: 0;
-}
-
-.jp-idc-notice h3, .jp-idc-notice p {
- color: #414141;
-}
-
-.jp-idc-notice a:not(.dops-notice__action) {
- color: #0087be;
- text-decoration: none;
-}
-
-.jp-idc-notice a:not(.dops-notice__action):visited {
- color: #0087be;
-}
-
-.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {
- color: #3396c8;
-}
-
-.jp-idc-notice .dops-button {
- align-self: flex-start;
- margin-top: auto;
-}
-
-.jp-idc-notice > div {
- padding: 0 8px;
-}
-
-.jp-idc-notice__first-step {
- display: inline-block;
-}
-
-.jp-idc-notice__second-step {
- display: none;
-}
-
-.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {
- display: none;
-}
-
-.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {
- display: inline-block;
-}
-
-.jp-idc-notice .jp-idc-notice__header {
- padding-top: 8px;
- padding-bottom: 8px;
-}
-
-.jp-idc-notice__header__emblem {
- fill: #00BE28;
- width: 25px;
- height: 25px;
- margin: 0 1em 0 auto;
- float: left;
-}
-
-.jp-idc-notice__header__text {
- font-size: 14px;
- font-weight: 600;
- line-height: 25px;
- margin: 0;
-}
-
-.jp-idc-notice__content-header {
- margin: 16px 0;
-}
-
-.jp-idc-notice__content-header__lead {
- font-size: 16px;
- font-weight: 600;
- line-height: 21px;
- margin: 0;
-}
-
-.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {
- font-size: 14px;
- font-weight: 400;
- margin: 8px 0 0;
-}
-
-@media only screen and (min-width: 960px) {
- .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {
- margin: 4px 0 0;
- }
-}
-
-.jp-idc-notice__action {
- border: 1px solid #eeeeee;
- border-radius: 4px;
- display: flex;
- padding: 16px;
- flex-direction: column;
- margin-top: auto;
-}
-
-.jp-idc-notice__action:last-child {
- margin: 16px 0 0;
-}
-
-@media only screen and (min-width: 960px) {
- .jp-idc-notice__actions {
- display: flex;
- }
- .jp-idc-notice__action {
- flex: 1;
- margin: 0 8px 0 0;
- }
- .jp-idc-notice__action:last-child {
- margin: 0 0 0 8px;
- }
- .jp-idc-notice__action:first-child {
- padding-right: 24px;
- }
- .jp-idc-notice__action:last-child {
- padding-left: 24px;
- }
-}
-
-.jp-idc-notice .jp-idc-notice__action__explanation {
- margin: 0 0 16px 0;
-}
-
-.jp-idc-notice__separator {
- background-color: #eeeeee;
- margin: 0 -10px 0 -10px;
- height: 1px;
-}
-
-.jp-idc-notice.is-dismissible .jp-idc-notice__separator {
- margin-right: -46px;
-}
-
-@media only screen and (min-width: 782px) {
- .jp-idc-notice__separator {
- margin: 0 -12px 0 -12px;
- }
- .jp-idc-notice.is-dismissible .jp-idc-notice__separator {
- margin-right: -38px;
- }
-}
-
-.jp-idc-notice .jp-idc-notice__unsure-prompt {
- margin: 16px 0 0;
-}
-
-.jp-idc-notice .jp-idc-error__notice {
- display: none;
-}
-
-.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {
- height: auto;
- width: auto;
-}
-
-@media only screen and (min-width: 683px) {
- .jp-idc-notice .jp-idc-error__notice .dops-notice__text {
- line-height: 24px;
- }
-}
-
-/*# sourceMappingURL=jetpack-idc.css.map */
diff --git a/plugins/jetpack/css/jetpack-idc.min.css b/plugins/jetpack/css/jetpack-idc.min.css
deleted file mode 100644
index 08a8c27a..00000000
--- a/plugins/jetpack/css/jetpack-idc.min.css
+++ /dev/null
@@ -1,3 +0,0 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.jp-idc-notice,.jp-idc-notice *{box-sizing:border-box}.jp-idc-notice{margin-left:0;margin-right:10px;margin-top:10px;overflow:hidden;padding-bottom:16px;padding-top:0}.jp-idc-notice.is-non-admin{padding-bottom:0}@media all and (min-width:783px){.jp-idc-notice{margin-right:20px;margin-top:20px}.jp-idc-notice.has-help-tabs{margin-top:48px}}.jp-idc-notice p{margin:0;padding:0}.jp-idc-notice h3,.jp-idc-notice p{color:#414141}.jp-idc-notice a:not(.dops-notice__action){color:#0087be;text-decoration:none}.jp-idc-notice a:not(.dops-notice__action):visited{color:#0087be}.jp-idc-notice a:not(.dops-notice__action):active,.jp-idc-notice a:not(.dops-notice__action):focus,.jp-idc-notice a:not(.dops-notice__action):hover{color:#3396c8}.jp-idc-notice .dops-button{align-self:flex-start;margin-top:auto}.jp-idc-notice>div{padding:0 8px}.jp-idc-notice__first-step{display:inline-block}.jp-idc-notice__second-step{display:none}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step{display:none}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step{display:inline-block}.jp-idc-notice .jp-idc-notice__header{padding-top:8px;padding-bottom:8px}.jp-idc-notice__header__emblem{fill:#00be28;width:25px;height:25px;margin:0 1em 0 auto;float:left}.jp-idc-notice__header__text{font-size:14px;font-weight:600;line-height:25px;margin:0}.jp-idc-notice__content-header{margin:16px 0}.jp-idc-notice__content-header__lead{font-size:16px;font-weight:600;line-height:21px;margin:0}.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{font-size:14px;font-weight:400;margin:8px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{margin:4px 0 0}}.jp-idc-notice__action{border:1px solid #eee;border-radius:4px;display:flex;padding:16px;flex-direction:column;margin-top:auto}.jp-idc-notice__action:last-child{margin:16px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__actions{display:flex}.jp-idc-notice__action{flex:1;margin:0 8px 0 0}.jp-idc-notice__action:last-child{margin:0 0 0 8px}.jp-idc-notice__action:first-child{padding-right:24px}.jp-idc-notice__action:last-child{padding-left:24px}}.jp-idc-notice .jp-idc-notice__action__explanation{margin:0 0 16px 0}.jp-idc-notice__separator{background-color:#eee;margin:0 -10px 0 -10px;height:1px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-right:-46px}@media only screen and (min-width:782px){.jp-idc-notice__separator{margin:0 -12px 0 -12px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-right:-38px}}.jp-idc-notice .jp-idc-notice__unsure-prompt{margin:16px 0 0}.jp-idc-notice .jp-idc-error__notice{display:none}.jp-idc-notice .jp-idc-error__notice .dops-notice__icon{height:auto;width:auto}@media only screen and (min-width:683px){.jp-idc-notice .jp-idc-error__notice .dops-notice__text{line-height:24px}} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-recommendations-banner-rtl.css b/plugins/jetpack/css/jetpack-recommendations-banner-rtl.css
index 360a9f66..c2cd977c 100644
--- a/plugins/jetpack/css/jetpack-recommendations-banner-rtl.css
+++ b/plugins/jetpack/css/jetpack-recommendations-banner-rtl.css
@@ -1,16 +1,247 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
+@charset "UTF-8";
+:root {
+ --font-title-large: 36px;
+ --font-title-small: 24px;
+ --font-body: 16px;
+ --font-label: 12px;
+ --jp-black: #000000;
+ --jp-black-80: #2c3338;
+ --jp-white: #ffffff;
+ --jp-white-off: #f9f9f6;
+ --jp-gray: #dcdcde;
+ --jp-gray-0: #F6F7F7;
+ --jp-gray-5: #dcdcde;
+ --jp-gray-10: #c3c4c7;
+ --jp-gray-20: #A7AAAD;
+ --jp-gray-30: #8c8f94;
+ --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-100: #101517;
+ --jp-gray-off: #e2e2df;
+ --jp-yellow-10: #f2cf75;
+ --jp-red-0: #F7EBEC;
+ --jp-red-50: #D63638;
+ --jp-red-60: #B32D2E;
+ --jp-red-80: #8A2424;
+ --jp-red: #d63639;
+ --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 );
+ --jp-border-radius: 4px;
+ --jp-menu-border-height: 1px;
+ --jp-underline-thickness: 2px;
+}
+
+/********* Mixins *********/
+/********* Generic styles *********/
+* {
+ box-sizing: border-box;
+}
+
+body {
+ min-height: 100%;
+ margin: 0;
+ padding: 0;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
+}
+
+.jp-wrap {
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ max-width: 1128px;
+ margin: 0 auto;
+}
+
+.jp-row {
+ display: grid;
+ grid-gap: 24px;
+ grid-template-columns: repeat(4, 1fr);
+ width: 100%;
+ margin: 0 16px;
+}
+@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);
+ max-width: 1128px;
+ margin: 0 24px;
+ }
+}
+
+.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 {
+ position: relative;
+ display: block;
+ margin: 32px 0;
+ padding: 16px 24px 16px 64px;
+ border: 2px solid var(--jp-green-primary);
+ border-radius: var(--jp-border-radius);
+ text-decoration: none;
+}
+.jp-cut span {
+ display: block;
+}
+.jp-cut span:last-of-type {
+ font-weight: 600;
+}
+.jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type {
+ text-decoration: underline;
+ text-decoration-thickness: var(--jp-underline-thickness);
+}
+.jp-cut:hover:after, .jp-cut:focus:after {
+ transform: translateY(-50%) translateX(-8px);
+}
+.jp-cut:after {
+ content: "→";
+ position: absolute;
+ top: 50%;
+ left: 24px;
+ font-size: 24px;
+ font-weight: 600;
+ color: var(--jp-green-primary);
+ transform: translateY(-50%);
+ transition: transform 0.15s ease-out;
+}
+
.jp-recommendations-banner-main {
position: relative;
display: grid;
grid-template-columns: 55% 45%;
- max-width: 1600px;
min-height: 480px;
- background: linear-gradient(-120deg, white 0%, white 55%, #c5d9ed 55%);
+ margin: 3rem 0 1.25rem 1.25rem;
+ background: #fff;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.03);
border: 1px solid #d5d5d5;
- margin: 3rem 0 1.25rem 1.25rem;
}
@media (max-width: 1152px) {
.jp-recommendations-banner-main {
@@ -25,14 +256,14 @@
}
@media (max-width: 480px) {
.jp-recommendations-banner-main .notice-dismiss {
- padding: 16px;
+ padding: 1rem;
}
}
.jp-recommendations-banner__content {
display: flex;
flex-direction: column;
- padding-left: 48px;
+ padding-left: 3rem;
}
@media (min-width: 1688px) {
.jp-recommendations-banner__content {
@@ -41,38 +272,40 @@
}
@media (max-width: 660px) {
.jp-recommendations-banner__content {
- padding-left: 32px;
+ padding-left: 2rem;
}
}
@media (max-width: 480px) {
.jp-recommendations-banner__content {
- padding-left: 16px;
+ padding-left: 1rem;
}
}
.jp-recommendations-banner__logo {
- margin: 32px 32px 0 32px;
+ margin: 2.5rem 2rem 0 2.5rem;
}
@media (max-width: 480px) {
.jp-recommendations-banner__logo {
- margin: 16px 16px 32px 16px;
+ margin: 1rem 1rem 2rem 1rem;
}
}
.jp-recommendations-banner__question {
+ margin: 2rem 2rem 0 2rem;
+ color: var(--jp-gray-80);
font-size: 1.5rem;
line-height: 1.4;
- margin: 32px 32px 0 32px;
}
@media (max-width: 480px) {
.jp-recommendations-banner__question {
- margin: 0 16px 32px 16px;
+ margin: 0 1rem 2rem 1rem;
}
}
.jp-recommendations-banner__description {
- font-size: 16px;
- margin: 32px 32px 24px 0;
+ margin: 1.5rem 2rem 2rem 0;
+ color: var(--jp-gray-100);
+ font-size: 1rem;
}
@media (min-width: 1152px) {
.jp-recommendations-banner__description {
@@ -81,29 +314,29 @@
}
@media (max-width: 660px) {
.jp-recommendations-banner__description {
- margin: 32px 32px 24px 32px;
+ margin: 2rem 2rem 1.5rem 2rem;
}
}
@media (max-width: 480px) {
.jp-recommendations-banner__description {
- margin: 0 16px 16px 16px;
+ margin: 0 1rem 1rem 1rem;
}
}
.jp-recommendations-banner__answer {
max-width: 600px;
text-align: center;
- margin: 0 32px 32px 0;
+ margin: 0 2rem 2rem 0;
}
@media (max-width: 480px) {
.jp-recommendations-banner__answer {
- margin: 0 16px 16px 0;
+ margin: 0 1rem 1rem 0;
}
}
.jp-recommendations-banner__checkboxes {
display: grid;
- gap: 16px;
+ gap: 1rem;
grid-template-rows: auto auto;
grid-template-columns: auto auto;
}
@@ -118,62 +351,82 @@
display: flex;
align-items: center;
box-sizing: border-box;
- border: 1px solid #d5d5d5;
- border-radius: 4px;
+ border: 1px solid #c3c4c7;
+ border-radius: 2px;
cursor: pointer;
- background: white;
+ background: #fff;
}
.jp-recommendations-answer__checkbox-label.checked {
- background: #f8fbff;
- border: 1px solid #3582c4;
+ background: #f6f7f7;
+}
+.jp-recommendations-answer__checkbox-label input[type=checkbox] {
+ width: 20px;
+ height: 20px;
+ border: 1px solid #000;
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
+ border-radius: 2px;
+}
+.jp-recommendations-answer__checkbox-label.checked input[type=checkbox]::before {
+ width: 18px;
+ height: 18px;
+ margin: 0;
+ background-color: #000;
+ content: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M14.7791%204.00004L7.36198%2013.9753L3.06108%2010.7773%22%20stroke%3D%22white%22%2F%3E%3C%2Fsvg%3E");
}
.jp-recommendations-answer__checkbox-label input {
- margin: 16px 16px 16px 8px;
+ margin: 1rem 1rem 1rem 0.5rem;
}
.jp-recommendations-answer__title {
- margin-left: 8px;
- padding: 15px 0;
+ margin-left: 0.5rem;
+ padding: 1rem 0;
text-align: right;
}
.jp-recommendations-banner__form {
- margin-bottom: 16px;
+ margin-bottom: 2rem;
}
.jp-recommendations-banner__continue-button {
- background: #2271b1;
- border-color: #2271b1;
- color: white;
+ background: #000;
+ border-color: #000;
+ color: #fff;
border-style: solid;
border-width: 1px;
+ border-radius: 4px;
cursor: pointer;
display: inline-block;
- margin: 0 0 8px 0;
+ margin: 0;
outline: 0;
overflow: hidden;
font-size: 0.875rem;
+ font-weight: 600;
text-overflow: ellipsis;
vertical-align: top;
box-sizing: border-box;
- border-radius: 3px;
- padding: 7px 14px 9px;
+ padding: 0.625rem 1.5rem;
+ transition: all 150ms ease-in-out;
}
@media (max-width: 480px) {
.jp-recommendations-banner__continue-button {
width: 100%;
}
}
-.jp-recommendations-banner__continue-button:hover {
- background: #0a4b78;
- border-color: #0a4b78;
- color: white;
+.jp-recommendations-banner__continue-button:hover, .jp-recommendations-banner__continue-button:active {
+ background: var(--jp-gray-80);
+ border-color: var(--jp-gray-80);
+ color: var(--jp-white);
+}
+.jp-recommendations-banner__continue-button:focus {
+ box-shadow: none;
+ outline: solid 1px var(--jp-black);
+ outline-offset: 1px;
}
.jp-recommendations-banner__continue-description {
color: #646970;
- margin: 24px auto 0 auto;
- max-width: 300px;
+ margin: 0.875rem auto 0 auto;
+ max-width: 360px;
}
@media (max-width: 480px) {
.jp-recommendations-banner__continue-description {
@@ -182,12 +435,13 @@
}
.jp-recommendations-banner__illustration-container {
+ background: radial-gradient(circle at 60%, rgba(6, 158, 8, 0.15) 0%, rgba(255, 255, 255, 0) 75%), radial-gradient(circle at 30% 80%, rgba(206, 217, 242, 0.5) 5%, rgba(255, 255, 255, 0) 25%), radial-gradient(circle at 50% 15%, rgba(245, 230, 179, 0.5) 0%, rgba(255, 255, 255, 0) 35%);
width: 100%;
position: relative;
}
.jp-recommendations-banner__illustration-container img {
position: absolute;
- bottom: 0;
+ top: 15px;
left: 0;
}
@media (min-width: 1152px) {
@@ -206,36 +460,42 @@
}
}
-.jp-recommendations-banner__illustration-background {
- width: 100%;
- max-height: 480px;
-}
-
.jp-recommendations-banner__illustration-foreground {
- width: 75%;
- margin: 10%;
+ width: 100%;
+ max-width: 495px;
}
.jp-recommendations-banner__notice-dismiss {
- background: 100% 0;
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 1;
+ display: flex;
+ align-items: center;
+ margin: 1.5rem 1rem 1rem;
+ padding: 1rem;
+ background: none;
border: none;
- color: #3c434a;
+ color: #646970;
+ font-size: 1rem;
+ line-height: 1;
cursor: pointer;
- display: flex;
- font-size: 16px;
- line-height: 1.5;
- margin: 0;
- padding: 32px 0 32px 32px;
- float: left;
+}
+@media (max-width: 480px) {
+ .jp-recommendations-banner__notice-dismiss {
+ margin-top: 0;
+ }
}
.jp-recommendations-banner__notice-dismiss:hover, .jp-recommendations-banner__notice-dismiss:active {
color: #101517;
}
.jp-recommendations-banner__notice-dismiss:hover .jp-recommendations-banner__svg-dismiss, .jp-recommendations-banner__notice-dismiss:active .jp-recommendations-banner__svg-dismiss {
- fill: #101517;
+ fill: currentColor;
+}
+.jp-recommendations-banner__notice-dismiss:focus {
+ outline-color: #101517;
}
.jp-recommendations-banner__notice-dismiss .jp-recommendations-banner__svg-dismiss {
- fill: #3c434a;
- margin-left: 4px;
+ margin-inline-end: 0.25rem;
+ fill: currentColor;
}
-/*# sourceMappingURL=jetpack-recommendations-banner-rtl.css.map */
diff --git a/plugins/jetpack/css/jetpack-recommendations-banner-rtl.min.css b/plugins/jetpack/css/jetpack-recommendations-banner-rtl.min.css
index 115a8a42..0d6e3d9b 100644
--- a/plugins/jetpack/css/jetpack-recommendations-banner-rtl.min.css
+++ b/plugins/jetpack/css/jetpack-recommendations-banner-rtl.min.css
@@ -1,3 +1 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.jp-recommendations-banner-main{position:relative;display:grid;grid-template-columns:55% 45%;max-width:1600px;min-height:480px;background:linear-gradient(-120deg,#fff 0,#fff 55%,#c5d9ed 55%);box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);border:1px solid #d5d5d5;margin:3rem 0 1.25rem 1.25rem}@media (max-width:1152px){.jp-recommendations-banner-main{margin:4rem 0 1.25rem 1.25rem;grid-template-columns:100% 0}}@media (min-width:1688px){.jp-recommendations-banner-main{grid-template-columns:65% 35%}}@media (max-width:480px){.jp-recommendations-banner-main .notice-dismiss{padding:16px}}.jp-recommendations-banner__content{display:flex;flex-direction:column;padding-left:48px}@media (min-width:1688px){.jp-recommendations-banner__content{max-width:600px}}@media (max-width:660px){.jp-recommendations-banner__content{padding-left:32px}}@media (max-width:480px){.jp-recommendations-banner__content{padding-left:16px}}.jp-recommendations-banner__logo{margin:32px 32px 0 32px}@media (max-width:480px){.jp-recommendations-banner__logo{margin:16px 16px 32px 16px}}.jp-recommendations-banner__question{font-size:1.5rem;line-height:1.4;margin:32px 32px 0 32px}@media (max-width:480px){.jp-recommendations-banner__question{margin:0 16px 32px 16px}}.jp-recommendations-banner__description{font-size:16px;margin:32px 32px 24px 0}@media (min-width:1152px){.jp-recommendations-banner__description{max-width:600px}}@media (max-width:660px){.jp-recommendations-banner__description{margin:32px 32px 24px 32px}}@media (max-width:480px){.jp-recommendations-banner__description{margin:0 16px 16px 16px}}.jp-recommendations-banner__answer{max-width:600px;text-align:center;margin:0 32px 32px 0}@media (max-width:480px){.jp-recommendations-banner__answer{margin:0 16px 16px 0}}.jp-recommendations-banner__checkboxes{display:grid;gap:16px;grid-template-rows:auto auto;grid-template-columns:auto auto}@media (max-width:480px){.jp-recommendations-banner__checkboxes{grid-template-rows:auto auto auto auto;grid-template-columns:auto}}.jp-recommendations-answer__checkbox-label{display:flex;align-items:center;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;cursor:pointer;background:#fff}.jp-recommendations-answer__checkbox-label.checked{background:#f8fbff;border:1px solid #3582c4}.jp-recommendations-answer__checkbox-label input{margin:16px 16px 16px 8px}.jp-recommendations-answer__title{margin-left:8px;padding:15px 0;text-align:right}.jp-recommendations-banner__form{margin-bottom:16px}.jp-recommendations-banner__continue-button{background:#2271b1;border-color:#2271b1;color:#fff;border-style:solid;border-width:1px;cursor:pointer;display:inline-block;margin:0 0 8px 0;outline:0;overflow:hidden;font-size:.875rem;text-overflow:ellipsis;vertical-align:top;box-sizing:border-box;border-radius:3px;padding:7px 14px 9px}@media (max-width:480px){.jp-recommendations-banner__continue-button{width:100%}}.jp-recommendations-banner__continue-button:hover{background:#0a4b78;border-color:#0a4b78;color:#fff}.jp-recommendations-banner__continue-description{color:#646970;margin:24px auto 0 auto;max-width:300px}@media (max-width:480px){.jp-recommendations-banner__continue-description{display:none}}.jp-recommendations-banner__illustration-container{width:100%;position:relative}.jp-recommendations-banner__illustration-container img{position:absolute;bottom:0;left:0}@media (min-width:1152px){.jp-recommendations-banner__illustration-container{overflow:hidden}}@media (max-width:1688px){.jp-recommendations-banner__illustration-container img{bottom:-24px}}@media (max-width:1600px){.jp-recommendations-banner__illustration-container img{bottom:0}}.jp-recommendations-banner__illustration-background{width:100%;max-height:480px}.jp-recommendations-banner__illustration-foreground{width:75%;margin:10%}.jp-recommendations-banner__notice-dismiss{background:100% 0;border:none;color:#3c434a;cursor:pointer;display:flex;font-size:16px;line-height:1.5;margin:0;padding:32px 0 32px 32px;float:left}.jp-recommendations-banner__notice-dismiss:active,.jp-recommendations-banner__notice-dismiss:hover{color:#101517}.jp-recommendations-banner__notice-dismiss:active .jp-recommendations-banner__svg-dismiss,.jp-recommendations-banner__notice-dismiss:hover .jp-recommendations-banner__svg-dismiss{fill:#101517}.jp-recommendations-banner__notice-dismiss .jp-recommendations-banner__svg-dismiss{fill:#3c434a;margin-left:4px} \ No newline at end of file
+@charset "UTF-8";:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-recommendations-banner-main{background:#fff;border:1px solid #d5d5d5;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);display:grid;grid-template-columns:55% 45%;margin:3rem 0 1.25rem 1.25rem;min-height:480px;position:relative}@media (max-width:1152px){.jp-recommendations-banner-main{grid-template-columns:100% 0;margin:4rem 0 1.25rem 1.25rem}}@media (min-width:1688px){.jp-recommendations-banner-main{grid-template-columns:65% 35%}}@media (max-width:480px){.jp-recommendations-banner-main .notice-dismiss{padding:1rem}}.jp-recommendations-banner__content{display:flex;flex-direction:column;padding-left:3rem}@media (min-width:1688px){.jp-recommendations-banner__content{max-width:600px}}@media (max-width:660px){.jp-recommendations-banner__content{padding-left:2rem}}@media (max-width:480px){.jp-recommendations-banner__content{padding-left:1rem}}.jp-recommendations-banner__logo{margin:2.5rem 2rem 0 2.5rem}@media (max-width:480px){.jp-recommendations-banner__logo{margin:1rem 1rem 2rem}}.jp-recommendations-banner__question{color:var(--jp-gray-80);font-size:1.5rem;line-height:1.4;margin:2rem 2rem 0}@media (max-width:480px){.jp-recommendations-banner__question{margin:0 1rem 2rem}}.jp-recommendations-banner__description{color:var(--jp-gray-100);font-size:1rem;margin:1.5rem 2rem 2rem 0}@media (min-width:1152px){.jp-recommendations-banner__description{max-width:600px}}@media (max-width:660px){.jp-recommendations-banner__description{margin:2rem 2rem 1.5rem}}@media (max-width:480px){.jp-recommendations-banner__description{margin:0 1rem 1rem}}.jp-recommendations-banner__answer{margin:0 2rem 2rem 0;max-width:600px;text-align:center}@media (max-width:480px){.jp-recommendations-banner__answer{margin:0 1rem 1rem 0}}.jp-recommendations-banner__checkboxes{display:grid;gap:1rem;grid-template-columns:auto auto;grid-template-rows:auto auto}@media (max-width:480px){.jp-recommendations-banner__checkboxes{grid-template-columns:auto;grid-template-rows:auto auto auto auto}}.jp-recommendations-answer__checkbox-label{align-items:center;background:#fff;border:1px solid #c3c4c7;border-radius:2px;box-sizing:border-box;cursor:pointer;display:flex}.jp-recommendations-answer__checkbox-label.checked{background:#f6f7f7}.jp-recommendations-answer__checkbox-label input[type=checkbox]{border:1px solid #000;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.03);height:20px;width:20px}.jp-recommendations-answer__checkbox-label.checked input[type=checkbox]:before{background-color:#000;content:url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M14.7791%204.00004L7.36198%2013.9753L3.06108%2010.7773%22%20stroke%3D%22white%22%2F%3E%3C%2Fsvg%3E");height:18px;margin:0;width:18px}.jp-recommendations-answer__checkbox-label input{margin:1rem 1rem 1rem .5rem}.jp-recommendations-answer__title{margin-left:.5rem;padding:1rem 0;text-align:right}.jp-recommendations-banner__form{margin-bottom:2rem}.jp-recommendations-banner__continue-button{background:#000;border:1px solid #000;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:.875rem;font-weight:600;margin:0;outline:0;overflow:hidden;padding:.625rem 1.5rem;text-overflow:ellipsis;transition:all .15s ease-in-out;vertical-align:top}@media (max-width:480px){.jp-recommendations-banner__continue-button{width:100%}}.jp-recommendations-banner__continue-button:active,.jp-recommendations-banner__continue-button:hover{background:var(--jp-gray-80);border-color:var(--jp-gray-80);color:var(--jp-white)}.jp-recommendations-banner__continue-button:focus{box-shadow:none;outline:solid 1px var(--jp-black);outline-offset:1px}.jp-recommendations-banner__continue-description{color:#646970;margin:.875rem auto 0;max-width:360px}@media (max-width:480px){.jp-recommendations-banner__continue-description{display:none}}.jp-recommendations-banner__illustration-container{background:radial-gradient(circle at 60%,rgba(6,158,8,.15) 0,hsla(0,0%,100%,0) 75%),radial-gradient(circle at 30% 80%,rgba(206,217,242,.5) 5%,hsla(0,0%,100%,0) 25%),radial-gradient(circle at 50% 15%,hsla(46,77%,83%,.5) 0,hsla(0,0%,100%,0) 35%);position:relative;width:100%}.jp-recommendations-banner__illustration-container img{left:0;position:absolute;top:15px}@media (min-width:1152px){.jp-recommendations-banner__illustration-container{overflow:hidden}}@media (max-width:1688px){.jp-recommendations-banner__illustration-container img{bottom:-24px}}@media (max-width:1600px){.jp-recommendations-banner__illustration-container img{bottom:0}}.jp-recommendations-banner__illustration-foreground{max-width:495px;width:100%}.jp-recommendations-banner__notice-dismiss{align-items:center;background:none;border:none;color:#646970;cursor:pointer;display:flex;font-size:1rem;left:0;line-height:1;margin:1.5rem 1rem 1rem;padding:1rem;position:absolute;top:0;z-index:1}@media (max-width:480px){.jp-recommendations-banner__notice-dismiss{margin-top:0}}.jp-recommendations-banner__notice-dismiss:active,.jp-recommendations-banner__notice-dismiss:hover{color:#101517}.jp-recommendations-banner__notice-dismiss:active .jp-recommendations-banner__svg-dismiss,.jp-recommendations-banner__notice-dismiss:hover .jp-recommendations-banner__svg-dismiss{fill:currentColor}.jp-recommendations-banner__notice-dismiss:focus{outline-color:#101517}.jp-recommendations-banner__notice-dismiss .jp-recommendations-banner__svg-dismiss{fill:currentColor;margin-inline-end:.25rem} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-recommendations-banner.css b/plugins/jetpack/css/jetpack-recommendations-banner.css
index 6a6fed18..e84da905 100644
--- a/plugins/jetpack/css/jetpack-recommendations-banner.css
+++ b/plugins/jetpack/css/jetpack-recommendations-banner.css
@@ -1,16 +1,247 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
+@charset "UTF-8";
+:root {
+ --font-title-large: 36px;
+ --font-title-small: 24px;
+ --font-body: 16px;
+ --font-label: 12px;
+ --jp-black: #000000;
+ --jp-black-80: #2c3338;
+ --jp-white: #ffffff;
+ --jp-white-off: #f9f9f6;
+ --jp-gray: #dcdcde;
+ --jp-gray-0: #F6F7F7;
+ --jp-gray-5: #dcdcde;
+ --jp-gray-10: #c3c4c7;
+ --jp-gray-20: #A7AAAD;
+ --jp-gray-30: #8c8f94;
+ --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-100: #101517;
+ --jp-gray-off: #e2e2df;
+ --jp-yellow-10: #f2cf75;
+ --jp-red-0: #F7EBEC;
+ --jp-red-50: #D63638;
+ --jp-red-60: #B32D2E;
+ --jp-red-80: #8A2424;
+ --jp-red: #d63639;
+ --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 );
+ --jp-border-radius: 4px;
+ --jp-menu-border-height: 1px;
+ --jp-underline-thickness: 2px;
+}
+
+/********* Mixins *********/
+/********* Generic styles *********/
+* {
+ box-sizing: border-box;
+}
+
+body {
+ min-height: 100%;
+ margin: 0;
+ padding: 0;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
+}
+
+.jp-wrap {
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ max-width: 1128px;
+ margin: 0 auto;
+}
+
+.jp-row {
+ display: grid;
+ grid-gap: 24px;
+ grid-template-columns: repeat(4, 1fr);
+ width: 100%;
+ margin: 0 16px;
+}
+@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);
+ max-width: 1128px;
+ margin: 0 24px;
+ }
+}
+
+.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 {
+ position: relative;
+ display: block;
+ margin: 32px 0;
+ padding: 16px 64px 16px 24px;
+ border: 2px solid var(--jp-green-primary);
+ border-radius: var(--jp-border-radius);
+ text-decoration: none;
+}
+.jp-cut span {
+ display: block;
+}
+.jp-cut span:last-of-type {
+ font-weight: 600;
+}
+.jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type {
+ text-decoration: underline;
+ text-decoration-thickness: var(--jp-underline-thickness);
+}
+.jp-cut:hover:after, .jp-cut:focus:after {
+ transform: translateY(-50%) translateX(8px);
+}
+.jp-cut:after {
+ content: "→";
+ position: absolute;
+ top: 50%;
+ right: 24px;
+ font-size: 24px;
+ font-weight: 600;
+ color: var(--jp-green-primary);
+ transform: translateY(-50%);
+ transition: transform 0.15s ease-out;
+}
+
.jp-recommendations-banner-main {
position: relative;
display: grid;
grid-template-columns: 55% 45%;
- max-width: 1600px;
min-height: 480px;
- background: linear-gradient(120deg, white 0%, white 55%, #c5d9ed 55%);
+ margin: 3rem 1.25rem 1.25rem 0;
+ background: #fff;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.03);
border: 1px solid #d5d5d5;
- margin: 3rem 1.25rem 1.25rem 0;
}
@media (max-width: 1152px) {
.jp-recommendations-banner-main {
@@ -25,14 +256,14 @@
}
@media (max-width: 480px) {
.jp-recommendations-banner-main .notice-dismiss {
- padding: 16px;
+ padding: 1rem;
}
}
.jp-recommendations-banner__content {
display: flex;
flex-direction: column;
- padding-right: 48px;
+ padding-right: 3rem;
}
@media (min-width: 1688px) {
.jp-recommendations-banner__content {
@@ -41,38 +272,40 @@
}
@media (max-width: 660px) {
.jp-recommendations-banner__content {
- padding-right: 32px;
+ padding-right: 2rem;
}
}
@media (max-width: 480px) {
.jp-recommendations-banner__content {
- padding-right: 16px;
+ padding-right: 1rem;
}
}
.jp-recommendations-banner__logo {
- margin: 32px 32px 0 32px;
+ margin: 2.5rem 2.5rem 0 2rem;
}
@media (max-width: 480px) {
.jp-recommendations-banner__logo {
- margin: 16px 16px 32px 16px;
+ margin: 1rem 1rem 2rem 1rem;
}
}
.jp-recommendations-banner__question {
+ margin: 2rem 2rem 0 2rem;
+ color: var(--jp-gray-80);
font-size: 1.5rem;
line-height: 1.4;
- margin: 32px 32px 0 32px;
}
@media (max-width: 480px) {
.jp-recommendations-banner__question {
- margin: 0 16px 32px 16px;
+ margin: 0 1rem 2rem 1rem;
}
}
.jp-recommendations-banner__description {
- font-size: 16px;
- margin: 32px 0 24px 32px;
+ margin: 1.5rem 0 2rem 2rem;
+ color: var(--jp-gray-100);
+ font-size: 1rem;
}
@media (min-width: 1152px) {
.jp-recommendations-banner__description {
@@ -81,29 +314,29 @@
}
@media (max-width: 660px) {
.jp-recommendations-banner__description {
- margin: 32px 32px 24px 32px;
+ margin: 2rem 2rem 1.5rem 2rem;
}
}
@media (max-width: 480px) {
.jp-recommendations-banner__description {
- margin: 0 16px 16px 16px;
+ margin: 0 1rem 1rem 1rem;
}
}
.jp-recommendations-banner__answer {
max-width: 600px;
text-align: center;
- margin: 0 0 32px 32px;
+ margin: 0 0 2rem 2rem;
}
@media (max-width: 480px) {
.jp-recommendations-banner__answer {
- margin: 0 0 16px 16px;
+ margin: 0 0 1rem 1rem;
}
}
.jp-recommendations-banner__checkboxes {
display: grid;
- gap: 16px;
+ gap: 1rem;
grid-template-rows: auto auto;
grid-template-columns: auto auto;
}
@@ -118,62 +351,82 @@
display: flex;
align-items: center;
box-sizing: border-box;
- border: 1px solid #d5d5d5;
- border-radius: 4px;
+ border: 1px solid #c3c4c7;
+ border-radius: 2px;
cursor: pointer;
- background: white;
+ background: #fff;
}
.jp-recommendations-answer__checkbox-label.checked {
- background: #f8fbff;
- border: 1px solid #3582c4;
+ background: #f6f7f7;
+}
+.jp-recommendations-answer__checkbox-label input[type=checkbox] {
+ width: 20px;
+ height: 20px;
+ border: 1px solid #000;
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
+ border-radius: 2px;
+}
+.jp-recommendations-answer__checkbox-label.checked input[type=checkbox]::before {
+ width: 18px;
+ height: 18px;
+ margin: 0;
+ background-color: #000;
+ content: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M14.7791%204.00004L7.36198%2013.9753L3.06108%2010.7773%22%20stroke%3D%22white%22%2F%3E%3C%2Fsvg%3E");
}
.jp-recommendations-answer__checkbox-label input {
- margin: 16px 8px 16px 16px;
+ margin: 1rem 0.5rem 1rem 1rem;
}
.jp-recommendations-answer__title {
- margin-right: 8px;
- padding: 15px 0;
+ margin-right: 0.5rem;
+ padding: 1rem 0;
text-align: left;
}
.jp-recommendations-banner__form {
- margin-bottom: 16px;
+ margin-bottom: 2rem;
}
.jp-recommendations-banner__continue-button {
- background: #2271b1;
- border-color: #2271b1;
- color: white;
+ background: #000;
+ border-color: #000;
+ color: #fff;
border-style: solid;
border-width: 1px;
+ border-radius: 4px;
cursor: pointer;
display: inline-block;
- margin: 0 0 8px 0;
+ margin: 0;
outline: 0;
overflow: hidden;
font-size: 0.875rem;
+ font-weight: 600;
text-overflow: ellipsis;
vertical-align: top;
box-sizing: border-box;
- border-radius: 3px;
- padding: 7px 14px 9px;
+ padding: 0.625rem 1.5rem;
+ transition: all 150ms ease-in-out;
}
@media (max-width: 480px) {
.jp-recommendations-banner__continue-button {
width: 100%;
}
}
-.jp-recommendations-banner__continue-button:hover {
- background: #0a4b78;
- border-color: #0a4b78;
- color: white;
+.jp-recommendations-banner__continue-button:hover, .jp-recommendations-banner__continue-button:active {
+ background: var(--jp-gray-80);
+ border-color: var(--jp-gray-80);
+ color: var(--jp-white);
+}
+.jp-recommendations-banner__continue-button:focus {
+ box-shadow: none;
+ outline: solid 1px var(--jp-black);
+ outline-offset: 1px;
}
.jp-recommendations-banner__continue-description {
color: #646970;
- margin: 24px auto 0 auto;
- max-width: 300px;
+ margin: 0.875rem auto 0 auto;
+ max-width: 360px;
}
@media (max-width: 480px) {
.jp-recommendations-banner__continue-description {
@@ -182,12 +435,13 @@
}
.jp-recommendations-banner__illustration-container {
+ background: radial-gradient(circle at 60%, rgba(6, 158, 8, 0.15) 0%, rgba(255, 255, 255, 0) 75%), radial-gradient(circle at 30% 80%, rgba(206, 217, 242, 0.5) 5%, rgba(255, 255, 255, 0) 25%), radial-gradient(circle at 50% 15%, rgba(245, 230, 179, 0.5) 0%, rgba(255, 255, 255, 0) 35%);
width: 100%;
position: relative;
}
.jp-recommendations-banner__illustration-container img {
position: absolute;
- bottom: 0;
+ top: 15px;
right: 0;
}
@media (min-width: 1152px) {
@@ -206,36 +460,42 @@
}
}
-.jp-recommendations-banner__illustration-background {
- width: 100%;
- max-height: 480px;
-}
-
.jp-recommendations-banner__illustration-foreground {
- width: 75%;
- margin: 10%;
+ width: 100%;
+ max-width: 495px;
}
.jp-recommendations-banner__notice-dismiss {
- background: 0 0;
+ position: absolute;
+ top: 0;
+ right: 0;
+ z-index: 1;
+ display: flex;
+ align-items: center;
+ margin: 1.5rem 1rem 1rem;
+ padding: 1rem;
+ background: none;
border: none;
- color: #3c434a;
+ color: #646970;
+ font-size: 1rem;
+ line-height: 1;
cursor: pointer;
- display: flex;
- font-size: 16px;
- line-height: 1.5;
- margin: 0;
- padding: 32px 32px 32px 0;
- float: right;
+}
+@media (max-width: 480px) {
+ .jp-recommendations-banner__notice-dismiss {
+ margin-top: 0;
+ }
}
.jp-recommendations-banner__notice-dismiss:hover, .jp-recommendations-banner__notice-dismiss:active {
color: #101517;
}
.jp-recommendations-banner__notice-dismiss:hover .jp-recommendations-banner__svg-dismiss, .jp-recommendations-banner__notice-dismiss:active .jp-recommendations-banner__svg-dismiss {
- fill: #101517;
+ fill: currentColor;
+}
+.jp-recommendations-banner__notice-dismiss:focus {
+ outline-color: #101517;
}
.jp-recommendations-banner__notice-dismiss .jp-recommendations-banner__svg-dismiss {
- fill: #3c434a;
- margin-right: 4px;
+ margin-inline-end: 0.25rem;
+ fill: currentColor;
}
-/*# sourceMappingURL=jetpack-recommendations-banner.css.map */
diff --git a/plugins/jetpack/css/jetpack-recommendations-banner.min.css b/plugins/jetpack/css/jetpack-recommendations-banner.min.css
index 5aadf673..a19c5d6c 100644
--- a/plugins/jetpack/css/jetpack-recommendations-banner.min.css
+++ b/plugins/jetpack/css/jetpack-recommendations-banner.min.css
@@ -1,3 +1 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.jp-recommendations-banner-main{position:relative;display:grid;grid-template-columns:55% 45%;max-width:1600px;min-height:480px;background:linear-gradient(120deg,#fff 0,#fff 55%,#c5d9ed 55%);box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);border:1px solid #d5d5d5;margin:3rem 1.25rem 1.25rem 0}@media (max-width:1152px){.jp-recommendations-banner-main{margin:4rem 1.25rem 1.25rem 0;grid-template-columns:100% 0}}@media (min-width:1688px){.jp-recommendations-banner-main{grid-template-columns:65% 35%}}@media (max-width:480px){.jp-recommendations-banner-main .notice-dismiss{padding:16px}}.jp-recommendations-banner__content{display:flex;flex-direction:column;padding-right:48px}@media (min-width:1688px){.jp-recommendations-banner__content{max-width:600px}}@media (max-width:660px){.jp-recommendations-banner__content{padding-right:32px}}@media (max-width:480px){.jp-recommendations-banner__content{padding-right:16px}}.jp-recommendations-banner__logo{margin:32px 32px 0 32px}@media (max-width:480px){.jp-recommendations-banner__logo{margin:16px 16px 32px 16px}}.jp-recommendations-banner__question{font-size:1.5rem;line-height:1.4;margin:32px 32px 0 32px}@media (max-width:480px){.jp-recommendations-banner__question{margin:0 16px 32px 16px}}.jp-recommendations-banner__description{font-size:16px;margin:32px 0 24px 32px}@media (min-width:1152px){.jp-recommendations-banner__description{max-width:600px}}@media (max-width:660px){.jp-recommendations-banner__description{margin:32px 32px 24px 32px}}@media (max-width:480px){.jp-recommendations-banner__description{margin:0 16px 16px 16px}}.jp-recommendations-banner__answer{max-width:600px;text-align:center;margin:0 0 32px 32px}@media (max-width:480px){.jp-recommendations-banner__answer{margin:0 0 16px 16px}}.jp-recommendations-banner__checkboxes{display:grid;gap:16px;grid-template-rows:auto auto;grid-template-columns:auto auto}@media (max-width:480px){.jp-recommendations-banner__checkboxes{grid-template-rows:auto auto auto auto;grid-template-columns:auto}}.jp-recommendations-answer__checkbox-label{display:flex;align-items:center;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;cursor:pointer;background:#fff}.jp-recommendations-answer__checkbox-label.checked{background:#f8fbff;border:1px solid #3582c4}.jp-recommendations-answer__checkbox-label input{margin:16px 8px 16px 16px}.jp-recommendations-answer__title{margin-right:8px;padding:15px 0;text-align:left}.jp-recommendations-banner__form{margin-bottom:16px}.jp-recommendations-banner__continue-button{background:#2271b1;border-color:#2271b1;color:#fff;border-style:solid;border-width:1px;cursor:pointer;display:inline-block;margin:0 0 8px 0;outline:0;overflow:hidden;font-size:.875rem;text-overflow:ellipsis;vertical-align:top;box-sizing:border-box;border-radius:3px;padding:7px 14px 9px}@media (max-width:480px){.jp-recommendations-banner__continue-button{width:100%}}.jp-recommendations-banner__continue-button:hover{background:#0a4b78;border-color:#0a4b78;color:#fff}.jp-recommendations-banner__continue-description{color:#646970;margin:24px auto 0 auto;max-width:300px}@media (max-width:480px){.jp-recommendations-banner__continue-description{display:none}}.jp-recommendations-banner__illustration-container{width:100%;position:relative}.jp-recommendations-banner__illustration-container img{position:absolute;bottom:0;right:0}@media (min-width:1152px){.jp-recommendations-banner__illustration-container{overflow:hidden}}@media (max-width:1688px){.jp-recommendations-banner__illustration-container img{bottom:-24px}}@media (max-width:1600px){.jp-recommendations-banner__illustration-container img{bottom:0}}.jp-recommendations-banner__illustration-background{width:100%;max-height:480px}.jp-recommendations-banner__illustration-foreground{width:75%;margin:10%}.jp-recommendations-banner__notice-dismiss{background:0 0;border:none;color:#3c434a;cursor:pointer;display:flex;font-size:16px;line-height:1.5;margin:0;padding:32px 32px 32px 0;float:right}.jp-recommendations-banner__notice-dismiss:active,.jp-recommendations-banner__notice-dismiss:hover{color:#101517}.jp-recommendations-banner__notice-dismiss:active .jp-recommendations-banner__svg-dismiss,.jp-recommendations-banner__notice-dismiss:hover .jp-recommendations-banner__svg-dismiss{fill:#101517}.jp-recommendations-banner__notice-dismiss .jp-recommendations-banner__svg-dismiss{fill:#3c434a;margin-right:4px} \ No newline at end of file
+@charset "UTF-8";:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-recommendations-banner-main{background:#fff;border:1px solid #d5d5d5;box-shadow:0 2px 6px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);display:grid;grid-template-columns:55% 45%;margin:3rem 1.25rem 1.25rem 0;min-height:480px;position:relative}@media (max-width:1152px){.jp-recommendations-banner-main{grid-template-columns:100% 0;margin:4rem 1.25rem 1.25rem 0}}@media (min-width:1688px){.jp-recommendations-banner-main{grid-template-columns:65% 35%}}@media (max-width:480px){.jp-recommendations-banner-main .notice-dismiss{padding:1rem}}.jp-recommendations-banner__content{display:flex;flex-direction:column;padding-right:3rem}@media (min-width:1688px){.jp-recommendations-banner__content{max-width:600px}}@media (max-width:660px){.jp-recommendations-banner__content{padding-right:2rem}}@media (max-width:480px){.jp-recommendations-banner__content{padding-right:1rem}}.jp-recommendations-banner__logo{margin:2.5rem 2.5rem 0 2rem}@media (max-width:480px){.jp-recommendations-banner__logo{margin:1rem 1rem 2rem}}.jp-recommendations-banner__question{color:var(--jp-gray-80);font-size:1.5rem;line-height:1.4;margin:2rem 2rem 0}@media (max-width:480px){.jp-recommendations-banner__question{margin:0 1rem 2rem}}.jp-recommendations-banner__description{color:var(--jp-gray-100);font-size:1rem;margin:1.5rem 0 2rem 2rem}@media (min-width:1152px){.jp-recommendations-banner__description{max-width:600px}}@media (max-width:660px){.jp-recommendations-banner__description{margin:2rem 2rem 1.5rem}}@media (max-width:480px){.jp-recommendations-banner__description{margin:0 1rem 1rem}}.jp-recommendations-banner__answer{margin:0 0 2rem 2rem;max-width:600px;text-align:center}@media (max-width:480px){.jp-recommendations-banner__answer{margin:0 0 1rem 1rem}}.jp-recommendations-banner__checkboxes{display:grid;gap:1rem;grid-template-columns:auto auto;grid-template-rows:auto auto}@media (max-width:480px){.jp-recommendations-banner__checkboxes{grid-template-columns:auto;grid-template-rows:auto auto auto auto}}.jp-recommendations-answer__checkbox-label{align-items:center;background:#fff;border:1px solid #c3c4c7;border-radius:2px;box-sizing:border-box;cursor:pointer;display:flex}.jp-recommendations-answer__checkbox-label.checked{background:#f6f7f7}.jp-recommendations-answer__checkbox-label input[type=checkbox]{border:1px solid #000;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.03);height:20px;width:20px}.jp-recommendations-answer__checkbox-label.checked input[type=checkbox]:before{background-color:#000;content:url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M14.7791%204.00004L7.36198%2013.9753L3.06108%2010.7773%22%20stroke%3D%22white%22%2F%3E%3C%2Fsvg%3E");height:18px;margin:0;width:18px}.jp-recommendations-answer__checkbox-label input{margin:1rem .5rem 1rem 1rem}.jp-recommendations-answer__title{margin-right:.5rem;padding:1rem 0;text-align:left}.jp-recommendations-banner__form{margin-bottom:2rem}.jp-recommendations-banner__continue-button{background:#000;border:1px solid #000;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:.875rem;font-weight:600;margin:0;outline:0;overflow:hidden;padding:.625rem 1.5rem;text-overflow:ellipsis;transition:all .15s ease-in-out;vertical-align:top}@media (max-width:480px){.jp-recommendations-banner__continue-button{width:100%}}.jp-recommendations-banner__continue-button:active,.jp-recommendations-banner__continue-button:hover{background:var(--jp-gray-80);border-color:var(--jp-gray-80);color:var(--jp-white)}.jp-recommendations-banner__continue-button:focus{box-shadow:none;outline:solid 1px var(--jp-black);outline-offset:1px}.jp-recommendations-banner__continue-description{color:#646970;margin:.875rem auto 0;max-width:360px}@media (max-width:480px){.jp-recommendations-banner__continue-description{display:none}}.jp-recommendations-banner__illustration-container{background:radial-gradient(circle at 60%,rgba(6,158,8,.15) 0,hsla(0,0%,100%,0) 75%),radial-gradient(circle at 30% 80%,rgba(206,217,242,.5) 5%,hsla(0,0%,100%,0) 25%),radial-gradient(circle at 50% 15%,hsla(46,77%,83%,.5) 0,hsla(0,0%,100%,0) 35%);position:relative;width:100%}.jp-recommendations-banner__illustration-container img{position:absolute;right:0;top:15px}@media (min-width:1152px){.jp-recommendations-banner__illustration-container{overflow:hidden}}@media (max-width:1688px){.jp-recommendations-banner__illustration-container img{bottom:-24px}}@media (max-width:1600px){.jp-recommendations-banner__illustration-container img{bottom:0}}.jp-recommendations-banner__illustration-foreground{max-width:495px;width:100%}.jp-recommendations-banner__notice-dismiss{align-items:center;background:none;border:none;color:#646970;cursor:pointer;display:flex;font-size:1rem;line-height:1;margin:1.5rem 1rem 1rem;padding:1rem;position:absolute;right:0;top:0;z-index:1}@media (max-width:480px){.jp-recommendations-banner__notice-dismiss{margin-top:0}}.jp-recommendations-banner__notice-dismiss:active,.jp-recommendations-banner__notice-dismiss:hover{color:#101517}.jp-recommendations-banner__notice-dismiss:active .jp-recommendations-banner__svg-dismiss,.jp-recommendations-banner__notice-dismiss:hover .jp-recommendations-banner__svg-dismiss{fill:currentColor}.jp-recommendations-banner__notice-dismiss:focus{outline-color:#101517}.jp-recommendations-banner__notice-dismiss .jp-recommendations-banner__svg-dismiss{fill:currentColor;margin-inline-end:.25rem} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack-rtl.css b/plugins/jetpack/css/jetpack-rtl.css
index 9f60c922..ac47256f 100644
--- a/plugins/jetpack/css/jetpack-rtl.css
+++ b/plugins/jetpack/css/jetpack-rtl.css
@@ -1,33 +1 @@
-/*!
-* Do not modify this file directly. It is concatenated from individual module CSS files.
-*/
-@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format( 'woff' );font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.jp-carousel-overlay .swiper-container{margin-right:auto;margin-left:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.jp-carousel-overlay .swiper-container-vertical>.swiper-wrapper{flex-direction:column}.jp-carousel-overlay .swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.jp-carousel-overlay .swiper-container-android .swiper-slide,.jp-carousel-overlay .swiper-wrapper{transform:translate3d(0,0,0)}.jp-carousel-overlay .swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.jp-carousel-overlay .swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.jp-carousel-overlay .swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.jp-carousel-overlay .swiper-container-pointer-events{touch-action:pan-y}.jp-carousel-overlay .swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.jp-carousel-overlay .swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.jp-carousel-overlay .swiper-slide-invisible-blank{visibility:hidden}.jp-carousel-overlay .swiper-container-autoheight,.jp-carousel-overlay .swiper-container-autoheight .swiper-slide{height:auto}.jp-carousel-overlay .swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.jp-carousel-overlay .swiper-container-3d{perspective:1200px}.jp-carousel-overlay .swiper-container-3d .swiper-cube-shadow,.jp-carousel-overlay .swiper-container-3d .swiper-slide,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top,.jp-carousel-overlay .swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top{position:absolute;right:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.jp-carousel-overlay .swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.jp-carousel-overlay .swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.jp-carousel-overlay .swiper-button-next.swiper-button-disabled,.jp-carousel-overlay .swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial;line-height:1}.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next{right:10px;left:auto}.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after{content:'prev'}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{left:10px;right:auto}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:'next'}.jp-carousel-overlay .swiper-button-next.swiper-button-white,.jp-carousel-overlay .swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.jp-carousel-overlay .swiper-button-next.swiper-button-black,.jp-carousel-overlay .swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.jp-carousel-overlay .swiper-button-lock{display:none}.jp-carousel-overlay .swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.jp-carousel-overlay .swiper-pagination.swiper-pagination-hidden{opacity:0}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets,.jp-carousel-overlay .swiper-pagination-custom,.jp-carousel-overlay .swiper-pagination-fraction{bottom:10px;right:0;width:100%}.jp-carousel-overlay .swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:50%;background:#000;opacity:.2}.jp-carousel-overlay button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.jp-carousel-overlay .swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.jp-carousel-overlay .swiper-pagination-bullet-active{opacity:1;background:var(--swiper-pagination-color,var(--swiper-theme-color))}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets{left:10px;top:50%;transform:translate3d(0,-50%,0)}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{right:50%;transform:translateX(50%);white-space:nowrap}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.jp-carousel-overlay .swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.jp-carousel-overlay .swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.jp-carousel-overlay .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;right:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:right top}.jp-carousel-overlay .swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:left top}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-progressbar,.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;right:0;top:0}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;right:0;top:0}.jp-carousel-overlay .swiper-pagination-white{--swiper-pagination-color:#ffffff}.jp-carousel-overlay .swiper-pagination-black{--swiper-pagination-color:#000000}.jp-carousel-overlay .swiper-pagination-lock{display:none}.jp-carousel-overlay .swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.jp-carousel-overlay .swiper-zoom-container>canvas,.jp-carousel-overlay .swiper-zoom-container>img,.jp-carousel-overlay .swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.jp-carousel-overlay .swiper-slide-zoomed{cursor:move}.jp-carousel-overlay .swiper-container .swiper-notification{position:absolute;right:0;top:0;pointer-events:none;opacity:0;z-index:-1000}
-:root{--jp-carousel-primary-color:#fff;--jp-carousel-primary-subtle-color:#999;--jp-carousel-bg-color:#000;--jp-carousel-bg-faded-color:#222;--jp-carousel-border-color:#3a3a3a}:root .jp-carousel-light{--jp-carousel-primary-color:#000;--jp-carousel-primary-subtle-color:#646970;--jp-carousel-bg-color:#fff;--jp-carousel-bg-faded-color:#fbfbfb;--jp-carousel-border-color:#dcdcde}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{background-image:none}[data-carousel-extra]:not(.jp-carousel-wrap) img,[data-carousel-extra]:not(.jp-carousel-wrap) img+figcaption{cursor:pointer}.jp-carousel-wrap *{line-height:inherit}.jp-carousel-wrap.swiper-container{height:auto;width:100vw}.jp-carousel-overlay .swiper-zoom-container{background-size:200%;background-repeat:no-repeat;background-position:center}.jp-carousel-overlay .swiper-slide.swiper-slide-next .swiper-zoom-container img,.jp-carousel-overlay .swiper-slide.swiper-slide-prev .swiper-zoom-container img{transition:none!important}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{opacity:.5;transition:.5s opacity ease-out;height:initial;width:initial;padding:20px 40px;background-image:none}.jp-carousel-overlay .swiper-button-next:hover,.jp-carousel-overlay .swiper-button-prev:hover{opacity:1}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:none}.jp-carousel-overlay .swiper-button-next svg,.jp-carousel-overlay .swiper-button-prev svg{height:30px;width:28px;background:var(--jp-carousel-bg-color);border-radius:4px}.jp-carousel-overlay{font-family:'Helvetica Neue',sans-serif!important;z-index:2147483647;overflow-x:hidden;overflow-y:auto;direction:rtl;position:fixed;top:0;left:0;bottom:0;right:0;background:var(--jp-carousel-bg-color)}.jp-carousel-overlay *{box-sizing:border-box}.jp-carousel-overlay h1:before,.jp-carousel-overlay h2:before,.jp-carousel-overlay h3:before{content:none;display:none}.jp-carousel-overlay .swiper-container .swiper-button-prev{right:0;left:auto}.jp-carousel-overlay .swiper-container .swiper-button-next{left:0;right:auto}.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-prev{transform:scaleX(-1)}.jp-carousel-container{display:grid;grid-template-rows:1fr 64px;height:100%}.jp-carousel-hide-controls .jp-carousel-container{grid-template-rows:1fr}.jp-carousel-hide-controls .swiper-wrapper{margin-top:-32px}.jp-carousel-hide-controls .jp-swiper-button-next,.jp-carousel-hide-controls .jp-swiper-button-prev{margin-top:-54px}.jp-carousel-msg{font-family:'Open Sans',sans-serif;font-style:normal;display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:center;margin:25px 2px 0 20px;background-color:var(--jp-carousel-primary-color);border-right:4px solid #ffba00;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.jp-carousel-info{display:flex;flex-direction:column;text-align:right!important;-webkit-font-smoothing:subpixel-antialiased!important;z-index:100;background-color:var(--jp-carousel-bg-color);transition:opacity .2s ease-out;opacity:1}.jp-carousel-hide-controls .jp-carousel-info{visibility:hidden;height:0;overflow:hidden}.jp-carousel-info-footer{position:relative;background-color:var(--jp-carousel-bg-color);height:64px;display:flex;align-items:center;justify-content:space-between;width:100vw}.jp-carousel-info-extra{display:none;background-color:var(--jp-carousel-bg-color);padding:35px;width:100vw;border-top:1px solid var(--jp-carousel-bg-faded-color)}.jp-carousel-title-and-caption{margin-bottom:15px}.jp-carousel-info-extra.jp-carousel-show{display:block}.jp-carousel-info ::selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-info ::-moz-selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-photo-info{right:0!important;width:100%!important}.jp-carousel-comments-wrapper{padding:0;width:100%!important;display:none}.jp-carousel-comments-wrapper.jp-carousel-show{display:block}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:none}.jp-carousel-transitions .jp-carousel-photo-info{transition:.4s ease-out}.jp-carousel-buttons{margin:-18px -20px 15px;padding:8px 10px;border-bottom:1px solid #222;background:#222;text-align:center}div.jp-carousel-buttons a{border:none!important;color:var(--jp-carousel-primary-subtle-color);font:normal 11px/1.2em 'Helvetica Neue',sans-serif!important;letter-spacing:0!important;padding:5px 0 5px 2px;text-decoration:none!important;text-shadow:none!important;vertical-align:middle;-webkit-font-smoothing:subpixel-antialiased}div.jp-carousel-buttons a:hover{color:var(--jp-carousel-primary-color);border:none!important}.jp-carousel-transitions div.jp-carousel-buttons a:hover{transition:none!important}.jp-carousel-slide,.jp-carousel-slide img{transform:translate3d(0,0,0)}.jp-carousel-close-hint{cursor:default;letter-spacing:0!important;position:fixed;top:20px;left:30px;padding:10px;text-align:left;width:45px;height:45px;z-index:15;color:var(--jp-carousel-primary-color);cursor:pointer;transition:opacity .2s ease-out}.jp-carousel-transitions .jp-carousel-close-hint{transition:color .2s linear}.jp-carousel-close-hint svg{padding:3px 2px;background:var(--jp-carousel-bg-color);border-radius:4px}.jp-carousel-close-hint:hover{color:var(--jp-carousel-primary-color)}.jp-carousel-close-hint:hover span{border-color:var(--jp-carousel-primary-color)}.jp-carousel-pagination-container{flex:1;margin:0 35px 0 15px}.jp-carousel-pagination,.jp-swiper-pagination{color:var(--jp-carousel-primary-color);font-size:15px;font-weight:400;white-space:nowrap;display:none;position:static!important}.jp-carousel-pagination-container .swiper-pagination{text-align:right;line-height:8px}.jp-carousel-pagination{padding-right:5px}.jp-swiper-pagination .swiper-pagination-bullet{background:var(--jp-carousel-primary-subtle-color);margin:0 9px}.jp-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background:var(--jp-carousel-primary-color)}.jp-swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active){background:var(--jp-carousel-primary-color);opacity:.5}.jp-carousel-info-footer .jp-carousel-photo-title-container{flex-basis:50vw;flex:4;justify-content:center;overflow:hidden;margin:0}.jp-carousel-photo-caption,.jp-carousel-photo-title{background:100% 0!important;border:none!important;display:inline-block;font:normal 20px/1.3em 'Helvetica Neue',sans-serif;line-height:normal;letter-spacing:0!important;margin:0 0 10px 0;padding:0;overflow:hidden;text-shadow:none!important;text-transform:none!important;color:var(--jp-carousel-primary-color)}.jp-carousel-info-footer .jp-carousel-photo-caption{text-align:center;font-size:15px;white-space:nowrap;color:var(--jp-carousel-primary-subtle-color);cursor:pointer;margin:0;text-overflow:ellipsis}.jp-carousel-info-footer .jp-carousel-photo-caption p{margin:0}.jp-carousel-photo-title{font-size:32px;margin-bottom:2px}.jp-carousel-photo-description{color:var(--jp-carousel-primary-subtle-color);font-size:16px;margin:25px 0;width:100%}.jp-carousel-photo-description{overflow:hidden;overflow-wrap:break-word}.jp-carousel-photo-description p{color:var(--jp-carousel-primary-subtle-color);line-height:1.4;margin-bottom:0}.jp-carousel-comments p a,.jp-carousel-info h2 a,.jp-carousel-photo-description p a{color:var(--jp-carousel-primary-color)!important;border:none!important;text-decoration:underline!important;font-weight:400!important;font-style:normal!important}.jp-carousel-photo-description p b,.jp-carousel-photo-description p strong{font-weight:700;color:var(--jp-carousel-primary-subtle-color)}.jp-carousel-photo-description p em,.jp-carousel-photo-description p i{font-style:italic;color:var(--jp-carousel-primary-subtle-color)}.jp-carousel-comments p a:hover,.jp-carousel-info h2 a:hover,.jp-carousel-photo-description p a:hover{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-photo-description p:empty{display:none}.jp-carousel-comments-wrapper h1:after,.jp-carousel-comments-wrapper h1:before,.jp-carousel-photo-info h1:after,.jp-carousel-photo-info h1:before{content:none!important}.jp-carousel-caption{font-size:14px;font-weight:400;margin:0}.jp-carousel-image-meta{color:var(--jp-carousel-primary-color);font-size:13px;font:12px/1.4 'Helvetica Neue',sans-serif!important;width:100%;display:none}.jp-carousel-image-meta.jp-carousel-show{display:block}.jp-carousel-image-meta h5,.jp-carousel-image-meta li{font-family:'Helvetica Neue',sans-serif!important;position:inherit!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;background:100% 0!important;border:none!important;font-weight:400!important;line-height:1.3em!important}.jp-carousel-image-meta ul{margin:0!important;padding:0!important;list-style:none!important}.jp-carousel-image-meta li{width:48%!important;display:inline-block!important;vertical-align:top!important;margin:0 0 15px 2%!important;color:var(--jp-carousel-primary-color)!important;font-size:13px!important}.jp-carousel-image-meta h5{color:var(--jp-carousel-primary-subtle-color)!important;text-transform:uppercase!important;font-size:10px!important;margin:0 0 2px!important;letter-spacing:.1em!important}a.jp-carousel-image-download{display:inline-block;clear:both;color:var(--jp-carousel-primary-subtle-color);line-height:1;font-weight:400;font-size:14px;text-decoration:none}a.jp-carousel-image-download svg{display:inline-block;vertical-align:middle;margin:0 3px;padding-bottom:2px}a.jp-carousel-image-download span.photo-size{font-size:11px;border-radius:1em;margin-right:2px;display:inline-block}a.jp-carousel-image-download span.photo-size-times{padding:0 2px 0 1px}.jp-carousel-comments{font:15px/1.7 'Helvetica Neue',sans-serif!important;font-weight:400;background:none transparent;width:100%;bottom:10px;margin-top:20px}.jp-carousel-comments p a:active,.jp-carousel-comments p a:focus,.jp-carousel-comments p a:hover{color:var(--jp-carousel-primary-color)!important}.jp-carousel-comment{background:none transparent;color:var(--jp-carousel-primary-subtle-color);overflow:auto;width:100%;display:flex}.jp-carousel-comment+.jp-carousel-comment{margin-top:20px}.jp-carousel-comment:last-of-type{margin-bottom:20px}.jp-carousel-comment p{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-comment .comment-author{font-size:15px;font-weight:500;padding:0;width:auto;display:inline;float:none;border:none;margin:0}.jp-carousel-comment .comment-author a{color:var(--jp-carousel-primary-color)}.jp-carousel-comment .comment-gravatar{float:none;margin-left:10px}.jp-carousel-comment .comment-content{border:none;padding:0}.jp-carousel-comment .avatar{margin:0;border-radius:4px;border:none!important;padding:0!important;background-color:transparent!important;min-width:64px;min-height:64px;width:64px;height:64px}.jp-carousel-comment .comment-date{color:var(--jp-carousel-primary-subtle-color);font-size:11px;border-bottom:1px solid var(--jp-carousel-bg-faded-color);margin-bottom:6px}#jp-carousel-comment-form{margin:0 0 10px!important;width:100%}#jp-carousel-comment-form.jp-carousel-is-disabled{opacity:.5;pointer-events:none}textarea#jp-carousel-comment-form-comment-field{background:var(--jp-carousel-bg-faded-color);border:1px solid var(--jp-carousel-border-color);color:var(--jp-carousel-primary-subtle-color);font:16px/1.4 'Helvetica Neue',sans-serif!important;width:100%;padding:10px 10px 5px;margin:0;float:none;height:147px;box-shadow:inset -2px 2px 2px rgba(0,0,0,.1);border-radius:3px;overflow:hidden;box-sizing:border-box}textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder{color:#555}textarea#jp-carousel-comment-form-comment-field:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder{color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-loading-overlay{display:none;position:fixed;top:0;bottom:0;right:0;left:0}#jp-carousel-loading-wrapper{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw}#jp-carousel-library-loading,#jp-carousel-library-loading:after{border-radius:50%;width:40px;height:40px}#jp-carousel-library-loading{float:right;margin:22px 10px 0 0;font-size:10px;position:relative;text-indent:-9999em;border-top:8px solid rgba(255,255,255,.2);border-left:8px solid rgba(255,255,255,.2);border-bottom:8px solid rgba(255,255,255,.2);border-right:8px solid var(--jp-carousel-primary-color);transform:translateZ(0);animation:load8 1.1s infinite linear}#jp-carousel-comment-form-spinner,#jp-carousel-comment-form-spinner:after{border-radius:50%;width:20px;height:20px}#jp-carousel-comment-form-spinner{display:none;float:right;margin:22px 10px 0 0;font-size:10px;position:absolute;text-indent:-9999em;border-top:4px solid rgba(255,255,255,.2);border-left:4px solid rgba(255,255,255,.2);border-bottom:4px solid rgba(255,255,255,.2);border-right:4px solid var(--jp-carousel-primary-color);transform:translateZ(0);animation:load8 1.1s infinite linear;margin:0 auto;top:calc(50% - 15px);right:0;bottom:0;left:0}@keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(-360deg)}}.jp-carousel-info-content-wrapper{max-width:800px;margin:auto}#jp-carousel-comment-form-submit-and-info-wrapper{display:none;overflow:hidden;width:100%}#jp-carousel-comment-form-commenting-as input{background:var(--jp-carousel-bg-color);border:1px solid var(--jp-carousel-border-color);color:var(--jp-carousel-primary-subtle-color);font:16px/1.4 'Helvetica Neue',sans-serif!important;padding:10px;float:right;box-shadow:inset -2px 2px 2px rgba(0,0,0,.2);border-radius:2px;width:285px}#jp-carousel-comment-form-commenting-as input:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-comment-form-commenting-as p{font:400 13px/1.7 'Helvetica Neue',sans-serif!important;margin:22px 0 0;float:right}#jp-carousel-comment-form-commenting-as fieldset{float:right;border:none;margin:20px 0 0 0;padding:0;clear:both}#jp-carousel-comment-form-commenting-as label{font:400 13px/1.7 'Helvetica Neue',sans-serif!important;margin:0 0 3px 20px;float:right;width:100px}#jp-carousel-comment-form-button-submit{margin-top:20px;margin-right:auto;display:block;border:solid 1px var(--jp-carousel-primary-color);background:var(--jp-carousel-bg-color);border-radius:3px;padding:8px 16px;font-size:14px;color:var(--jp-carousel-primary-color)}#jp-carousel-comment-form-button-submit:active,#jp-carousel-comment-form-button-submit:focus{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-bg-color)}#jp-carousel-comment-form-container{margin-bottom:15px;width:100%;margin-top:20px;color:var(--jp-carousel-primary-subtle-color);position:relative;overflow:hidden}#jp-carousel-comment-post-results{display:none;overflow:auto;width:100%}#jp-carousel-comment-post-results span{display:block;text-align:center;margin-top:20px;width:100%;overflow:auto;padding:1em 0;box-sizing:border-box;border-radius:2px;font:13px/1.4 'Helvetica Neue',sans-serif!important;border:1px solid var(--jp-carousel-border-color);box-shadow:inset 0 0 5px 0 rgba(0,0,0,.2)}.jp-carousel-comment-post-error{color:#df4926}#jp-carousel-comments-closed{display:none;color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-comments-loading{font:400 15px/1.7 'Helvetica Neue',sans-serif!important;display:none;color:var(--jp-carousel-primary-subtle-color);text-align:right;margin-bottom:20px;width:100%;bottom:10px;margin-top:20px}.jp-carousel-photo-icons-container{flex:1;display:block;text-align:left;margin:0 30px 0 20px;white-space:nowrap}.jp-carousel-icon-btn{padding:16px;text-decoration:none;border:none;background:100% 0;display:inline-block;height:64px}.jp-carousel-icon{border:none;pointer-events:none;display:inline-block;line-height:0;font-weight:400;font-style:normal;border-radius:4px;width:31px;padding:4px 3px 3px}.jp-carousel-icon svg{display:inline-block}.jp-carousel-overlay rect{fill:var(--jp-carousel-primary-color)}.jp-carousel-selected .jp-carousel-icon{background:var(--jp-carousel-primary-color)}.jp-carousel-selected rect{fill:var(--jp-carousel-bg-color)}.jp-carousel-icon-comments.jp-carousel-show{display:inline-block}.jp-carousel-icon .jp-carousel-has-comments-indicator{display:none;font-size:12px;vertical-align:top;margin-right:-16px;line-height:1;padding:2px 4px;border-radius:4px;background:var(--jp-carousel-primary-color);color:var(--jp-carousel-bg-color);font-weight:400;font-family:'Helvetica Neue',sans-serif!important;position:relative}.jp-carousel-selected .jp-carousel-icon .jp-carousel-has-comments-indicator{background:var(--jp-carousel-bg-color);color:var(--jp-carousel-primary-color)}.jp-carousel-has-comments-indicator.jp-carousel-show{display:inline-block}@media only screen and (max-width:760px){.jp-carousel-overlay .swiper-container .swiper-button-next,.jp-carousel-overlay .swiper-container .swiper-button-prev{display:none!important}.jp-carousel-buttons{display:none!important}.jp-carousel-image-meta{float:none!important;width:100%!important;box-sizing:border-box;margin-right:0}.jp-carousel-close-hint{font-size:26px!important;position:fixed!important;top:10px;left:10px}.admin-bar .jp-carousel-close-hint{top:40px}.jp-carousel-slide img{opacity:1}.jp-carousel-wrap{background-color:var(--jp-carousel-bg-color)}.jp-carousel-fadeaway{display:none}.jp-carousel-info>.jp-carousel-photo-info{display:none}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:block}.jp-carousel-caption{overflow:visible!important}.jp-carousel-info-footer .jp-carousel-photo-title-container{display:none}.jp-carousel-photo-icons-container{margin:0 0 0 10px;white-space:nowrap}.jp-carousel-icon-btn{padding-right:20px}.jp-carousel-pagination{padding-right:5px}.jp-carousel-pagination-container{margin-right:25px}.jp-carousel-comment .avatar{min-width:48px}#jp-carousel-comment-form-commenting-as fieldset,#jp-carousel-comment-form-commenting-as input{width:100%;float:none}}
-.contact-form .clear-form{clear:both}.contact-form input::placeholder{transition:opacity .3s ease-out}.contact-form input:hover::placeholder{opacity:.5}.contact-form input:focus::placeholder{opacity:.3}.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{box-sizing:border-box;margin-bottom:1.5em;width:100%;padding:14px 7px}.contact-form select{margin-bottom:1.5em;padding:14px 7px;min-width:150px}.contact-form textarea{box-sizing:border-box;float:none;height:200px;margin-bottom:1.5em;width:100%;padding:7px;font:inherit}.contact-form input[type=checkbox],.contact-form input[type=radio]{float:none;margin:0 5px 0 .75rem}.contact-form input[type=checkbox]{top:0;margin-right:0}.contact-form label{margin-bottom:.25em;float:none;font-weight:700;display:block}.contact-form label.consent-implicit input{display:none}.contact-form label.checkbox,.contact-form label.checkbox-multiple,.contact-form label.radio{margin-bottom:.25em;float:none;font-weight:400;display:inline-flex;align-items:center}.contact-form .grunion-field-checkbox-multiple-wrap,.contact-form .grunion-field-checkbox-wrap,.contact-form .grunion-field-consent-wrap,.contact-form .grunion-field-radio-wrap{margin-bottom:1em}.contact-form label span{font-size:85%;margin-right:.25em;font-weight:400}.contact-form-submission{margin-bottom:4em;padding:1.5em 1em}.contact-form-submission p{margin:0 auto;word-wrap:break-word}.form-errors .form-error-message{color:red}.textwidget .contact-form input[type=email],.textwidget .contact-form input[type=tel],.textwidget .contact-form input[type=text],.textwidget .contact-form input[type=url],.textwidget .contact-form textarea,.wp-block-column .contact-form input[type=email],.wp-block-column .contact-form input[type=tel],.wp-block-column .contact-form input[type=text],.wp-block-column .contact-form input[type=url],.wp-block-column .contact-form textarea{width:100%}#jetpack-check-feedback-spam{margin:1px 0 0 8px}.jetpack-check-feedback-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form{display:flex;flex-wrap:wrap;justify-content:flex-start;flex-direction:row}.wp-block-jetpack-button,.wp-block-jetpack-contact-form .grunion-field-wrap{flex:0 0 100%}.wp-block-jetpack-button button{padding:20px 30px;border:inherit;font:inherit}.wp-block-jetpack-button.alignright button{float:left}.wp-block-jetpack-contact-form .grunion-field-wrap{border-left:15px solid transparent}.wp-block-jetpack-contact-form .grunion-field-width-25-wrap{flex:0 0 25%}.wp-block-jetpack-contact-form .grunion-field-width-50-wrap{flex:0 0 50%}.wp-block-jetpack-contact-form .grunion-field-width-75-wrap{flex:0 0 75%}.grunion-field-checkbox-wrap,.grunion-field-consent-wrap{align-self:center}@media only screen and (min-width:600px){.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{width:50%}.wp-block-jetpack-contact-form input[type=email],.wp-block-jetpack-contact-form input[type=tel],.wp-block-jetpack-contact-form input[type=text],.wp-block-jetpack-contact-form input[type=url]{width:100%}}.jetpack-empty-spam-container{display:inline-block}.jetpack-empty-spam{display:inline-block}.jetpack-empty-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form .wp-block-spacer{width:100%}
-.infinite-loader{color:#000;display:block;height:28px;text-align:center}#infinite-handle span{background:#333;border-radius:1px;color:#f0f0f1;cursor:pointer;font-size:13px;padding:6px 16px}@keyframes spinner-inner{0%{opacity:1}100%{opacity:0}}.infinite-loader .spinner-inner div{right:47px;top:24px;position:absolute;animation:spinner-inner linear 1s infinite;background:#000;outline:1px solid #fff;width:6px;height:12px;border-radius:3px/6px;transform-origin:3px 26px}.infinite-loader .spinner-inner div:nth-child(1){transform:rotate(0);animation-delay:-.9166666666666666s;background:#000}.infinite-loader .spinner-inner div:nth-child(2){transform:rotate(-30deg);animation-delay:-.8333333333333334s;background:#000}.infinite-loader .spinner-inner div:nth-child(3){transform:rotate(-60deg);animation-delay:-.75s;background:#000}.infinite-loader .spinner-inner div:nth-child(4){transform:rotate(-90deg);animation-delay:-.6666666666666666s;background:#000}.infinite-loader .spinner-inner div:nth-child(5){transform:rotate(-120deg);animation-delay:-.5833333333333334s;background:#000}.infinite-loader .spinner-inner div:nth-child(6){transform:rotate(-150deg);animation-delay:-.5s;background:#000}.infinite-loader .spinner-inner div:nth-child(7){transform:rotate(-180deg);animation-delay:-.4166666666666667s;background:#000}.infinite-loader .spinner-inner div:nth-child(8){transform:rotate(-210deg);animation-delay:-.3333333333333333s;background:#000}.infinite-loader .spinner-inner div:nth-child(9){transform:rotate(-240deg);animation-delay:-.25s;background:#000}.infinite-loader .spinner-inner div:nth-child(10){transform:rotate(-270deg);animation-delay:-.16666666666666666s;background:#000}.infinite-loader .spinner-inner div:nth-child(11){transform:rotate(-300deg);animation-delay:-83.33333333333333ms;background:#000}.infinite-loader .spinner-inner div:nth-child(12){transform:rotate(-330deg);animation-delay:0s;background:#000}.infinite-loader .spinner{width:28px;height:28px;display:inline-block;overflow:hidden;background:100% 0}.infinite-loader .spinner-inner{width:100%;height:100%;position:relative;transform:translateZ(0) scale(.28);-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-origin:100% 0}.infinite-loader .spinner-inner div{box-sizing:content-box}#infinite-handle span button,#infinite-handle span button:focus,#infinite-handle span button:hover{display:inline;position:static;padding:0;margin:0;border:none;line-height:inherit;background:100% 0;color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;font-family:inherit}#infinite-handle span button::-moz-focus-inner{margin:0;padding:0;border:none}@media (max-width:800px){#infinite-handle span:before{display:none}#infinite-handle span{display:block}}#infinite-footer{position:fixed;bottom:-50px;right:0;width:100%}#infinite-footer a{text-decoration:none}#infinite-footer .blog-credits a:hover,#infinite-footer .blog-info a:hover{color:#444;text-decoration:underline}#infinite-footer .container{background:rgba(255,255,255,.8);border-color:#ccc;border-color:rgba(0,0,0,.1);border-style:solid;border-width:1px 0 0;box-sizing:border-box;margin:0 auto;overflow:hidden;padding:1px 20px;width:780px}#infinite-footer .blog-credits,#infinite-footer .blog-info{box-sizing:border-box;line-height:25px}#infinite-footer .blog-info{float:right;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;width:40%}#infinite-footer .blog-credits{font-weight:400;float:left;width:60%}#infinite-footer .blog-info a{color:#111;font-size:14px;font-weight:700}#infinite-footer .blog-credits{color:#888;font-size:12px;text-align:left}#infinite-footer .blog-credits a{color:#646970}.infinity-end.neverending #infinite-footer{display:none}@media (max-width:640px){#infinite-footer .container{box-sizing:border-box;width:100%}#infinite-footer .blog-info{width:30%}#infinite-footer .blog-credits{width:70%}#infinite-footer .blog-credits,#infinite-footer .blog-info a{font-size:10px}}@media (max-width:640px){#infinite-footer{position:static}}#infinite-aria{position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0}.infinite-wrap:focus{outline:0!important}
-#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{margin:0 0 1em 0;display:inline-block;line-height:1.2;font-size:9pt;font-weight:700}div.sharedaddy h3.sd-title:before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid #dcdcde;margin-bottom:1em}#wpadminbar li#wp-admin-bar-admin-bar-likes-widget{width:61px;overflow:hidden}#wpadminbar iframe.admin-bar-likes-widget{width:61px;height:28px;min-height:28px;border-width:0;position:absolute;top:0}div.jetpack-likes-widget-wrapper{width:100%;min-height:50px;position:relative}div.jetpack-likes-widget-wrapper .sd-link-color{font-size:12px}div.jetpack-comment-likes-widget-wrapper{width:100%;position:relative;min-height:31px}div.jetpack-comment-likes-widget-wrapper iframe{margin-bottom:0}#likes-other-gravatars{display:none;position:absolute;padding:10px 10px 12px 10px;background-color:#2e4453;border-width:0;box-shadow:0 0 10px #2e4453;box-shadow:0 0 10px rgba(46,68,83,.6);min-width:130px;z-index:1000}#likes-other-gravatars *{line-height:normal}#likes-other-gravatars .likes-text{color:#fff;font-size:12px;padding-bottom:8px}#likes-other-gravatars li,#likes-other-gravatars ul{margin:0;padding:0;text-indent:0;list-style-type:none}#likes-other-gravatars li::before{content:""}#likes-other-gravatars ul.wpl-avatars{overflow:auto;display:block;max-height:190px}#likes-other-gravatars ul.wpl-avatars li{width:32px;height:32px;float:right;margin:0 0 5px 5px}#likes-other-gravatars ul.wpl-avatars li a{margin:0 0 0 2px;border-bottom:none!important;display:block}#likes-other-gravatars ul.wpl-avatars li a img{background:100% 0;border:none;margin:0!important;padding:0!important;position:static}div.sd-box{border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.13)}.comment-likes-widget,.entry-content .post-likes-widget,.post-likes-widget{margin:0;border-width:0;display:block}.comment-likes-widget-placeholder,.post-likes-widget-placeholder{margin:0;border-width:0;position:relative}.comment-likes-widget-placeholder{height:18px;position:absolute;display:flex;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.comment-likes-widget-placeholder::before{color:#2ea2cc;width:16px;height:16px;content:'';display:inline-block;position:relative;top:3px;padding-left:5px;background-repeat:no-repeat;background-size:16px 16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='0' fill='none' width='24' height='24'/%3E%3Cg%3E%3Cpath fill='%232EA2CC' 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'/%3E%3C/g%3E%3C/svg%3E")}.post-likes-widget-placeholder .button{display:none}.comment-likes-widget-placeholder .loading,.post-likes-widget-placeholder .loading{color:#999;font-size:12px}.comment-likes-widget-placeholder .loading{padding-right:5px;margin-top:4px;align-self:center;color:#4e4e4e}div.sharedaddy.sd-like-enabled .sd-like h3{display:none}div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget{width:100%;float:none;position:absolute;top:0}.comment-likes-widget{width:100%}.cs-rating,.pd-rating{display:block!important}.sd-gplus .sd-title{display:none}@media print{.jetpack-likes-widget-wrapper{display:none}}
-.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column;padding-right:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 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-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row;display:block}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em}.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-img-link img{width:100%}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin-top:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:0}.jp-relatedposts-i2[data-layout=list].jp-related-posts-i2__post-img-link{margin-top:1rem}@media only screen and (max-width:640px){.jp-related-posts-i2__row{margin-top:0;display:block}.jp-related-posts-i2__row[data-post-count] .jp-related-posts-i2__post{max-width:none;margin:0;margin-top:1rem}.jp-related-posts-i2__post-img-link{margin-top:1rem}.jp-related-posts-i2__post-img-link img{width:350px}}#jp-relatedposts{display:none;padding-top:1em;margin:1em 0;position:relative;clear:both}.jp-relatedposts:after{content:'';display:block;clear:both}#jp-relatedposts h3.jp-relatedposts-headline{margin:0 0 1em 0;display:inline-block;float:right;font-size:9pt;font-weight:700;font-family:inherit}#jp-relatedposts h3.jp-relatedposts-headline em:before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.2);margin-bottom:1em}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}#jp-relatedposts .jp-relatedposts-items{clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:-20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{float:right;width:33%;margin:0 0 1em;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{padding-left:20px;-moz-opacity:.8;opacity:.8}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4){clear:both}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover{-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time,#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:14px;line-height:20px;margin:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs{position:relative}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay{position:absolute;top:0;bottom:0;right:0;left:0;display:block;border-bottom:0}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time{margin-bottom:0}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{text-transform:none;margin:0;font-family:inherit;display:block;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{font-size:inherit;font-weight:400;text-decoration:none;-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span{display:block;max-width:90%;overflow:hidden;text-overflow:ellipsis}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span{height:auto;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{opacity:.6}.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{display:none}#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt{display:none}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt{overflow:hidden}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span{margin-bottom:1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post{clear:both;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img{float:right;overflow:hidden;max-width:33%;margin-left:3%}#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{display:inline-block;max-width:63%}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:50%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n){clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:20px}}@media only screen and (max-width:320px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:100%;clear:both;margin:0 0 1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{float:none;max-width:100%;margin-left:0}}@media print{.jp-relatedposts{display:none!important}}
-#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{margin:0 0 1em 0;display:inline-block;line-height:1.2;font-size:9pt;font-weight:700}div.sharedaddy h3.sd-title:before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid #dcdcde;margin-bottom:1em}body.highlander-light h3.sd-title:before{border-top:1px solid rgba(0,0,0,.2)}body.highlander-dark h3.sd-title:before{border-top:1px solid rgba(255,255,255,.4)}.sd-sharing{margin-bottom:1em}.sd-content ul{padding:0!important;margin:0!important;list-style:none!important}.sd-content ul li{display:inline-block}.sd-content ul li.share-deprecated{opacity:.5}.sd-content ul li.share-deprecated a span{text-decoration:line-through}.sd-block.sd-gplus{margin:0 0 .5em 0}.sd-gplus .sd-content{font-size:12px}#sharing_email .sharing_send,.sd-content ul li .option a.share-ustom,.sd-content ul li a.sd-button,.sd-content ul li.advanced a.share-more,.sd-content ul li.preview-item div.option.option-smart-off a,.sd-social-icon .sd-content ul li a.sd-button,.sd-social-icon-text .sd-content ul li a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button,.sd-social-text .sd-content ul li a.sd-button{text-decoration:none!important;display:inline-block;font-size:12px;font-family:"Open Sans",sans-serif;font-weight:400;border-radius:3px;color:#656565!important;background:#f8f8f8;border:1px solid #ccc;box-shadow:0 1px 0 rgba(0,0,0,.08);text-shadow:none;line-height:23px;padding:1px 5px 0 8px}.sd-content ul li .option a.share-ustom span,.sd-content ul li a.sd-button>span,.sd-content ul li.advanced a.share-more span,.sd-content ul li.preview-item div.option.option-smart-off a span,.sd-social-icon-text .sd-content ul li a.sd-button>span,.sd-social-official .sd-content>ul>li .digg_button>a span,.sd-social-official .sd-content>ul>li>a.sd-button span,.sd-social-text .sd-content ul li a.sd-button span{line-height:23px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button{line-height:17px;box-shadow:none;vertical-align:top}.sd-social-official .sd-content ul li a.sd-button>span{line-height:17px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a:before,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button:before,.sd-social-official .sd-content>ul>li .digg_button>a:before,.sd-social-official .sd-content>ul>li>a.sd-button:before{margin-bottom:-1px}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon .sd-content ul li a.sd-button:hover,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:hover,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li .digg_button>a:hover,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-official .sd-content>ul>li>a.sd-button:hover,.sd-social-text .sd-content ul li a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:hover{color:#555;background:#f6f7f7;border:1px solid #999}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:active{box-shadow:inset 0 1px 0 rgba(0,0,0,.16)}.sd-content ul li a.sd-button:before{display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:normal 18px/1 social-logos;vertical-align:top;text-align:center}.sd-social-icon-text ul li a.sd-button:before{position:relative;top:2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-content ul li a.sd-button:before{position:relative;top:2px}}.sd-social-official ul li a.sd-button:before{position:relative;top:-2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-official ul li a.sd-button:before{top:0}}.sd-content ul li{margin:0 0 5px 5px;padding:0}.jp-sharing-input-touch .sd-content ul li{padding-right:10px}.sd-content ul li.preview-item a.sd-button span,.sd-social-icon-text .sd-content ul li a span,.sd-social-official .sd-content ul li a.sd-button span{margin-right:3px}.sd-content ul li.preview-item.no-icon a.sd-button span{margin-right:0}.sd-content ul li.no-icon a:before,.sd-social-text .sd-content ul li a:before{display:none}body .sd-content ul li.share-custom.no-icon a span,body .sd-social-text .sd-content ul li.share-custom a span{background-image:none;background-position:-500px -500px!important;background-repeat:no-repeat!important;padding-right:0;height:0;line-height:inherit}.sd-social-icon .sd-content ul li a.share-more{position:relative;top:-4px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-icon .sd-content ul li a.share-more{top:2px}}@-moz-document url-prefix(){.sd-social-icon .sd-content ul li a.share-more{top:2px}}.sd-social-icon .sd-content ul li a.share-more span{margin-right:3px}.sd-content ul li.share-print div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-print a:before,.sd-social-icon-text .sd-content li.share-print a:before,.sd-social-official .sd-content li.share-print a:before,.sd-social-text .sd-content ul li.share-print a:before{content:'\f469'}.sd-content ul li.share-email div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-email a:before,.sd-social-icon-text .sd-content li.share-email a:before,.sd-social-official .sd-content li.share-email a:before,.sd-social-text .sd-content ul li.share-email a:before{content:'\f410'}.sd-content ul li.share-linkedin div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-linkedin a:before,.sd-social-icon-text .sd-content li.share-linkedin a:before,.sd-social-text .sd-content ul li.share-linkedin a:before{content:'\f207'}.sd-content ul li.share-twitter div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-twitter a:before,.sd-social-icon-text .sd-content li.share-twitter a:before,.sd-social-text .sd-content ul li.share-twitter a:before{content:'\f202'}.sd-content ul li.share-reddit div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-reddit a:before,.sd-social-icon-text .sd-content li.share-reddit a:before,.sd-social-text .sd-content ul li.share-reddit a:before{content:'\f222'}.sd-content ul li.share-tumblr div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-tumblr a:before,.sd-social-icon-text .sd-content li.share-tumblr a:before,.sd-social-text .sd-content ul li.share-tumblr a:before{content:'\f607'}.sd-content ul li.share-pocket div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pocket a:before,.sd-social-icon-text .sd-content li.share-pocket a:before,.sd-social-text .sd-content ul li.share-pocket a:before{content:'\f224'}.sd-content ul li.share-pinterest div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pinterest a:before,.sd-social-icon-text .sd-content li.share-pinterest a:before,.sd-social-text .sd-content ul li.share-pinterest a:before{content:'\f210'}.sd-content ul li.share-facebook div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-facebook a:before,.sd-social-icon-text .sd-content li.share-facebook a:before,.sd-social-text .sd-content ul li.share-facebook a:before{content:'\f203'}.sd-content ul li.share-press-this div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-press-this a:before,.sd-social-icon-text .sd-content li.share-press-this a:before,.sd-social-official .sd-content li.share-press-this a:before,.sd-social-text .sd-content ul li.share-press-this a:before{content:'\f205'}.sd-social-official .sd-content li.share-press-this a:before{color:#2ba1cb}.sd-content ul li.share-telegram div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-telegram a:before,.sd-social-icon-text .sd-content li.share-telegram a:before,.sd-social-official .sd-content li.share-telegram a:before,.sd-social-text .sd-content ul li.share-telegram a:before{content:'\f606'}.sd-social-official .sd-content li.share-telegram a:before{color:#08c}.sd-content ul li.share-skype div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-skype a:before,.sd-social-icon-text .sd-content li.share-skype a:before,.sd-social-text .sd-content ul li.share-skype a:before{content:'\f220'}.sd-content ul li.advanced a.share-more:before,.sd-social-icon .sd-content ul a.share-more:before,.sd-social-icon-text .sd-content a.share-more:before,.sd-social-official .sd-content a.share-more:before,.sd-social-text .sd-content ul a.share-more:before{content:'\f415'}.sd-social-official .sd-content a.share-more:before{color:#2ba1cb}.sd-content ul li.share-jetpack-whatsapp div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-jetpack-whatsapp a:before,.sd-social-icon-text .sd-content li.share-jetpack-whatsapp a:before,.sd-social-official .sd-content li.share-jetpack-whatsapp a:before,.sd-social-text .sd-content ul li.share-jetpack-whatsapp a:before{content:'\f608'}.sd-social-official .sd-content li.share-jetpack-whatsapp a:before{color:#43d854}.sd-social-icon .sd-content ul li[class*=share-].share-jetpack-whatsapp a.sd-button{background:#43d854;color:#fff!important}.sd-content ul li.share-deprecated div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-deprecated a:before,.sd-social-icon-text .sd-content li.share-deprecated a:before,.sd-social-official .sd-content li.share-deprecated a:before{width:1em;height:1em;content:"\1F6AB"}.sd-social .sd-button .share-count{background:#2ea2cc;color:#fff;border-radius:10px;display:inline-block;text-align:center;font-size:10px;padding:1px 3px;line-height:1}.sd-social-official .sd-content ul,.sd-social-official .sd-content ul li{line-height:25px!important}.sd-social-official .sd-content>ul>li>a.sd-button span{line-height:1}.sd-social-official .sd-content ul:after{content:".";display:block;height:0;clear:both;visibility:hidden}.sd-social-official .sd-content li.share-press-this a{margin:0 0 5px 0}.sd-social-official .sd-content ul>li{display:block;float:right;margin:0 0 5px 10px!important;height:25px}.sd-social-official .fb-share-button>span{vertical-align:top!important}.sd-social-official .sd-content .pocket_button iframe{width:98px}.reddit_button iframe{margin-top:1px}.linkedin_button>span,.pinterest_button,.pocket_button iframe,.twitter_button{margin:0!important}.linkedin_button>span,.pinterest_button a{display:block!important}.sd-social-official .sd-content .share-skype{width:55px}body .sd-social-official li a.share-more,body .sd-social-official li.share-custom a,body .sd-social-official li.share-digg a,body .sd-social-official li.share-email a,body .sd-social-official li.share-press-this a,body .sd-social-official li.share-print{position:relative;top:0}body .sd-social-icon .sd-content li.share-custom>a{padding:2px 3px 0 3px;position:relative;top:4px}body .sd-content ul li.share-custom a.share-icon span,body .sd-social-icon .sd-content li.share-custom a span,body .sd-social-icon-text .sd-content li.share-custom a span,body .sd-social-official .sd-content li.share-custom a span,body .sd-social-text .sd-content li.share-custom a span{background-size:16px 16px;background-repeat:no-repeat;margin-right:0;padding:0 19px 0 0;display:inline-block;height:21px;line-height:16px}body .sd-social-icon .sd-content li.share-custom a span{width:0}body .sd-social-icon .sd-content li.share-custom a span{padding-right:16px!important}.sharing-hidden .inner{position:absolute;z-index:2;border:1px solid #ccc;padding:10px;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.2);border-radius:2px;margin-top:5px;max-width:400px}.sharing-hidden .inner ul{margin:0!important}.sd-social-official .sd-content .sharing-hidden ul>li.share-end{clear:both;margin:0!important;height:0!important}.sharing-hidden .inner:after,.sharing-hidden .inner:before{position:absolute;z-index:1;top:-8px;right:20px;width:0;height:0;border-right:6px solid transparent;border-left:6px solid transparent;border-bottom:8px solid #ccc;content:"";display:block}.sharing-hidden .inner:after{z-index:2;top:-7px;border-right:6px solid transparent;border-left:6px solid transparent;border-bottom:8px solid #fff}.sharing-hidden ul{margin:0}.sd-social-icon .sd-content ul li[class*=share-] a,.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a{border-radius:50%;-webkit-border-radius:50%;border:0;box-shadow:none;padding:7px;position:relative;top:-2px;line-height:1;width:auto;height:auto;margin-bottom:0}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button>span,.sd-social-icon .sd-content ul li[class*=share-] div.option a span{line-height:1}.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a:hover{border:none;opacity:.6}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button:before{top:0}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button.share-custom{padding:8px 8px 6px 8px;top:5px}.sd-social-icon .sd-content ul li a.sd-button.share-more{margin-right:10px}.sd-social-icon .sd-content ul li:first-child a.sd-button.share-more{margin-right:0}.sd-social-icon .sd-button span.share-count{position:absolute;bottom:0;left:0;border-radius:0;background:#555;font-size:9px}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button{background:#e9e9e9;margin-top:2px;text-indent:0}.sd-social-icon .sd-content ul li[class*=share-].share-tumblr a.sd-button{background:#2c4762;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-facebook a.sd-button{background:#1877f2;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-twitter a.sd-button{background:#00acee;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pinterest a.sd-button{background:#ca1f27;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-digg a.sd-button{color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-press-this a.sd-button{background:#4f94d4;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-telegram a.sd-button{background:#08c;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-linkedin a.sd-button{background:#0077b5;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pocket a.sd-button{background:#ee4056;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-reddit a.sd-button{background:#cee3f8;color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-skype a.sd-button{background:#00aff0;color:#fff!important}.sharing-screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.sharing-screen-reader-text:active,.sharing-screen-reader-text:focus,.sharing-screen-reader-text:hover{background-color:#f0f0f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#sharing_email{width:342px;position:absolute;z-index:1001;border:1px solid #ccc;padding:15px;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.2);text-align:right}div.sharedaddy.sharedaddy-dark #sharing_email{border-color:#fff}#sharing_email .errors{color:#fff;background-color:#771a09;font-size:12px;padding:5px 8px;line-height:1;margin:10px 0 0 0}#sharing_email label{font-size:12px;color:#333;font-weight:700;display:block;padding:0 0 4px 0;text-align:right;text-shadow:none}#sharing_email form{margin:0}#sharing_email input[type=email],#sharing_email input[type=text]{width:100%;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;border:1px solid #ccc;margin-bottom:1em;background:#fff;font-size:12px;color:#333;max-width:none;padding:1px 3px}#jetpack-source_f_name{display:none!important;position:absolute!important;right:-9000px}#sharing_email .sharing_cancel{padding:0 1em 0 0;font-size:12px;text-shadow:none}#sharing_email .recaptcha{width:312px;height:123px;margin:0 0 1em 0}.sd-content .share-customize-link{margin-top:0;line-height:11px}.sd-content .share-customize-link a{font-size:11px;font-family:"Open Sans",sans-serif}@media print{.sharedaddy.sd-sharing-enabled{display:none}}
-.slideshow-window{background-color:#222;border:20px solid #222;border-radius:10px;height:0;margin-bottom:20px;overflow:hidden;padding-top:30px!important;padding-bottom:56.25%!important;position:relative;z-index:1}.slideshow-window.slideshow-white{background-color:#fff;border-color:#fff}.slideshow-window,.slideshow-window *{box-sizing:content-box}.slideshow-loading{height:100%;text-align:center;margin:auto}body div.slideshow-window * img{background-color:transparent!important;background-image:none!important;border-width:0!important;display:block;margin:0 auto;max-width:100%;max-height:100%;padding:0!important;position:relative;transform:translateY(-50%);top:50%}.slideshow-loading img{vertical-align:middle}.slideshow-slide{display:none;height:100%!important;right:0;margin:auto;position:absolute;text-align:center;top:0;width:100%!important}.slideshow-slide img{vertical-align:middle}.slideshow-line-height-hack{overflow:hidden;width:0;font-size:0}.slideshow-slide-caption{font-size:13px;font-family:"Helvetica Neue",sans-serif;color:#f6f7f7;text-shadow:#222 -1px 1px 2px;line-height:25px;height:25px;position:absolute;bottom:5px;right:0;z-index:100;width:100%;text-align:center}.slideshow-controls{z-index:1000;position:absolute;bottom:30px;margin:auto;text-align:center;width:100%;opacity:.5;direction:rtl;transition:.3s opacity ease-out}.slideshow-window:hover .slideshow-controls{opacity:1}body div div.slideshow-controls a,body div div.slideshow-controls a:hover{border:2px solid rgba(255,255,255,.1)!important;background-color:#000!important;background-color:rgba(0,0,0,.6)!important;background-image:url(../modules/shortcodes/img/slideshow-controls.png)!important;background-repeat:no-repeat;background-size:142px 16px!important;background-position:-34px 8px!important;color:#222!important;margin:0 5px!important;padding:0!important;display:inline-block!important;zoom:1;height:32px!important;width:32px!important;line-height:32px!important;text-align:center!important;border-radius:10em!important;transition:.3s border-color ease-out}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body div div.slideshow-controls a,body div div.slideshow-controls a:hover{background-image:url(../modules/shortcodes/img/slideshow-controls-2x.png)!important}}body div div.slideshow-controls a:hover{border-color:#fff!important}body div div.slideshow-controls a:first-child{background-position:-76px 8px!important}body div div.slideshow-controls a:last-child{background-position:-117px 8px!important}body div div.slideshow-controls a:nth-child(2){background-position:-34px 8px!important}body div div.slideshow-controls a.running{background-position:-34px 8px!important}body div div.slideshow-controls a.paused{background-position:9px 8px!important}.slideshow-controls a img{border:50px dotted #f0f}
-body.presentation-wrapper-fullscreen-parent,html.presentation-wrapper-fullscreen-parent{overflow:hidden!important}.presentation-wrapper-fullscreen-parent #wpadminbar{display:none}.presentation-wrapper-fullscreen,.presentation-wrapper-fullscreen-parent{min-width:100%!important;min-height:100%!important;position:absolute!important;top:0!important;left:0!important;bottom:0!important;right:0!important;margin:0!important;padding:0!important;z-index:10000!important}.presentation-wrapper-fullscreen{background-color:grey;border:none!important}.presentation-wrapper-fullscreen .nav-arrow-left,.presentation-wrapper-fullscreen .nav-arrow-right{z-index:20001}.presentation-wrapper-fullscreen .nav-fullscreen-button{z-index:20002}.presentation-wrapper{margin:20px auto;border:1px solid #dcdcde;overflow:hidden;line-height:normal}.presentation{position:relative;margin:0;overflow:hidden;outline:0}.presentation,.presentation .step{background-repeat:no-repeat;background-position:center;background-size:100% 100%}.presentation .step.fade:not(.active){opacity:0}.presentation .slide-content{padding:30px}.presentation .nav-arrow-left,.presentation .nav-arrow-right,.presentation .nav-fullscreen-button{position:absolute;width:34px;background-repeat:no-repeat;z-index:2;opacity:0;transition:opacity .25s}.presentation .nav-arrow-left,.presentation .nav-arrow-right{height:100%;background-image:url(../modules/shortcodes/images/slide-nav.png);background-size:450% 61px}.presentation .nav-arrow-left{right:0;background-position:4px 50%}.presentation .nav-arrow-right{left:0;background-position:-120px 50%}.presentation .nav-fullscreen-button{width:32px;height:32px;margin:4px;bottom:0;left:0;z-index:3;background-image:url(../modules/shortcodes/images/expand.png);background-size:100% 100%}.presentation:hover .nav-arrow-left,.presentation:hover .nav-arrow-right{opacity:1}.presentation:hover .nav-fullscreen-button{opacity:.8}.presentation-wrapper-fullscreen .nav-fullscreen-button{background-image:url(../modules/shortcodes/images/collapse.png)}.presentation .autoplay-overlay{height:15%;width:80%;margin:30% 10%;position:relative;z-index:100;display:table;border-radius:50px;background-color:#dcdcde;background-color:rgba(0,0,0,.75);transition:opacity .5s}.presentation .autoplay-overlay .overlay-msg{position:relative;display:table-cell;text-align:center;vertical-align:middle;color:#fff}.presentation .will-fade{opacity:0}.presentation .do-fade{opacity:1;transition:opacity .5s}
-div.jetpack-quiz{border:1px solid #deede3;background-color:#f3f3f3;padding:1em;line-height:1.3em;margin-bottom:2em;border-radius:.2em}div.jetpack-quiz div.jetpack-quiz-question{margin-bottom:.5em;font-weight:700}div.jetpack-quiz div.jetpack-quiz-answer{cursor:pointer;margin-bottom:.5em;padding:1em 1em 1em 0;border-bottom:1px dotted #999}div.jetpack-quiz div.jetpack-quiz-answer.last{padding-bottom:0;margin-bottom:0;border-bottom:0}div.jetpack-quiz div.jetpack-quiz-answer.correct{color:green}div.jetpack-quiz div.jetpack-quiz-answer.wrong{color:red}div.jetpack-quiz div.jetpack-quiz-answer div.jetpack-quiz-explanation{display:none}div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation,div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation{display:block;color:#000;font-size:90%;margin-top:1em}div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation tt,div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation tt{font-size:85%}div.jetpack-quiz pre{font:15px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace;background:100% 0;margin:0;padding:0}.jetpack-quiz-options{margin-top:12px;text-align:left}.jetpack-quiz-count{color:#646970;float:right;font-size:12px}.jetpack-quiz-option-button{cursor:pointer;margin-right:12px}.jetpack-quiz-option-button:hover svg{background:#3c434a}.jetpack-quiz-option-button svg{background:#000;border-radius:50%;display:inline-block;fill:#fff;height:24px;width:24px}.jetpack-quiz-wrapper .jetpack-quiz:first-of-type .jetpack-quiz-option-button:first-of-type,.jetpack-quiz-wrapper .jetpack-quiz:last-of-type .jetpack-quiz-option-button:last-of-type{display:none}
-#subscribe-email input{width:95%}.comment-subscription-form{margin-bottom:1em}.comment-subscription-form .subscribe-label{display:inline!important}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
-.jetpack-video-wrapper{margin-bottom:1.6em}.jetpack-video-wrapper>.wp-video,.jetpack-video-wrapper>embed,.jetpack-video-wrapper>iframe,.jetpack-video-wrapper>object{margin-bottom:0}
-.jetpack-social-navigation ul{display:block;margin:0 0 1.5em;padding:0}.jetpack-social-navigation li{display:inline-block;margin:0;line-height:1}.jetpack-social-navigation a{border:0;height:1em;text-decoration:none;width:1em}.jetpack-social-navigation-svg .icon{color:inherit;fill:currentColor;height:1em;vertical-align:middle;width:1em}.jetpack-social-navigation-genericons a:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:Genericons;font-size:1em;font-style:normal;font-weight:400;height:1em;line-height:1;speak:none;text-decoration:inherit;vertical-align:top;width:1em}.jetpack-social-navigation-genericons a:before{content:"\f415"}.jetpack-social-navigation-genericons a[href*="codepen.io"]:before{content:"\f216"}.jetpack-social-navigation-genericons a[href*="digg.com"]:before{content:"\f221"}.jetpack-social-navigation-genericons a[href*="dribbble.com"]:before{content:"\f201"}.jetpack-social-navigation-genericons a[href*="dropbox.com"]:before{content:"\f225"}.jetpack-social-navigation-genericons a[href*="mailto:"]:before{content:"\f410"}.jetpack-social-navigation-genericons a[href*="facebook.com"]:before{content:"\f203"}.jetpack-social-navigation-genericons a[href*="flickr.com"]:before{content:"\f211"}.jetpack-social-navigation-genericons a[href*="foursquare.com"]:before{content:"\f226"}.jetpack-social-navigation-genericons a[href*="github.com"]:before{content:"\f200"}.jetpack-social-navigation-genericons a[href*="plus.google.com"]:before{content:"\f206"}.jetpack-social-navigation-genericons a[href*="instagram.com"]:before{content:"\f215"}.jetpack-social-navigation-genericons a[href*="linkedin.com"]:before{content:"\f208"}.jetpack-social-navigation-genericons a[href*="path.com"]:before{content:"\f219"}.jetpack-social-navigation-genericons a[href*="pinterest."]:before{content:"\f210"}.jetpack-social-navigation-genericons a[href*="getpocket.com"]:before{content:"\f224"}.jetpack-social-navigation-genericons a[href*="polldaddy.com"]:before{content:"\f217"}.jetpack-social-navigation-genericons a[href*="reddit.com"]:before{content:"\f222"}.jetpack-social-navigation-genericons a[href$="/feed/"]:before{content:"\f413"}.jetpack-social-navigation-genericons a[href*="skype:"]:before{content:"\f220"}.jetpack-social-navigation-genericons a[href*="spotify.com"]:before{content:"\f515"}.jetpack-social-navigation-genericons a[href*="stumbleupon.com"]:before{content:"\f223"}.jetpack-social-navigation-genericons a[href*="tumblr.com"]:before{content:"\f214"}.jetpack-social-navigation-genericons a[href*="twitch.tv"]:before{content:"\f516"}.jetpack-social-navigation-genericons a[href*="twitter.com"]:before{content:"\f202"}.jetpack-social-navigation-genericons a[href*="vimeo.com"]:before{content:"\f212"}.jetpack-social-navigation-genericons a[href*="vine.co"]:before{content:"\f517"}.jetpack-social-navigation-genericons a[href*="wordpress.com"]:before,.jetpack-social-navigation-genericons a[href*="wordpress.org"]:before{content:"\f205"}.jetpack-social-navigation-genericons a[href*="youtube.com"]:before{content:"\f213"}
-.tiled-gallery{clear:both;margin:0 0 20px;overflow:hidden}.tiled-gallery img{margin:2px!important}.tiled-gallery .gallery-group{float:right;position:relative}.tiled-gallery .tiled-gallery-item{float:right;margin:0;position:relative;width:inherit}.tiled-gallery .gallery-row{overflow:hidden}.tiled-gallery .tiled-gallery-item a{background:100% 0;border:none;color:inherit;margin:0;padding:0;text-decoration:none;width:auto}.tiled-gallery .tiled-gallery-item img,.tiled-gallery .tiled-gallery-item img:hover{background:100% 0;border:none;box-shadow:none;max-width:100%;padding:0;vertical-align:middle}.tiled-gallery-caption{background:#f0f0f1;background:rgba(255,255,255,.8);color:#333;font-size:13px;font-weight:400;overflow:hidden;padding:10px 0;position:absolute;bottom:0;text-indent:10px;text-overflow:ellipsis;width:100%;white-space:nowrap}.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption{font-size:11px}.widget-gallery .tiled-gallery-unresized{visibility:hidden;height:0;overflow:hidden}.tiled-gallery .tiled-gallery-item img.grayscale{position:absolute;right:0;top:0}.tiled-gallery .tiled-gallery-item img.grayscale:hover{opacity:0}.tiled-gallery.type-circle .tiled-gallery-item img{border-radius:50%!important;-o-object-fit:cover;object-fit:cover}.tiled-gallery.type-circle .tiled-gallery-caption{display:none}.tiled-gallery.type-square .tiled-gallery-item img{-o-object-fit:cover;object-fit:cover}
-.jetpack-display-remote-posts{margin:5px 0 20px 0}.jetpack-display-remote-posts h4{margin:5px 0;padding:0}.jetpack-display-remote-posts p{margin:0;padding:0}.jetpack-display-remote-posts img{max-width:100%}
-.widget-grofile h4{margin:1em 0 .5em}.widget-grofile ul.grofile-urls{margin-right:0;overflow:hidden}.widget-grofile ul.grofile-accounts li{list-style:none;display:inline}.widget-grofile ul.grofile-accounts li::before{content:""!important}.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite.png);background-repeat:no-repeat;width:16px;height:16px;float:right;margin-left:8px;margin-bottom:8px}.rtl .widget-grofile .grofile-accounts-logo{margin-right:8px;margin-left:0}.grofile-thumbnail{width:500px;max-width:100%}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite-2x.png);background-size:16px 784px}}
-div[class^=gr_custom_container]{border:1px solid gray;border-radius:10px;padding:10px 5px 10px 5px;background-color:#fff;color:#000}div[class^=gr_custom_container] a{color:#000}h2[class^=gr_custom_header]{display:none}div[class^=gr_custom_each_container]{width:100%;clear:both;margin-bottom:10px;overflow:auto;padding-bottom:4px;border-bottom:1px solid #a7aaad}div[class^=gr_custom_book_container]{float:left;overflow:hidden;height:60px;margin-right:4px;width:39px}div[class^=gr_custom_author]{font-size:10px}div[class^=gr_custom_tags]{font-size:10px;color:gray}div[class^=gr_custom_rating]{display:none}
-.widget_wpcom_social_media_icons_widget ul{list-style-type:none;margin-right:0}.widget_wpcom_social_media_icons_widget ul li{border:0 none;display:inline;margin-left:.5em}.widget_wpcom_social_media_icons_widget li a{border:0 none;text-decoration:none}.widget_wpcom_social_media_icons_widget .genericon{font-family:Genericons}.widget_wpcom_social_media_icons_widget .screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.widget_wpcom_social_media_icons_widget .screen-reader-text:active,.widget_wpcom_social_media_icons_widget .screen-reader-text:focus,.widget_wpcom_social_media_icons_widget .screen-reader-text:hover{background-color:#f0f0f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
-.widgets-grid-layout{width:100%}.widgets-grid-layout:after,.widgets-grid-layout:before{content:" ";display:table}.widgets-grid-layout:after{clear:both}.widget-grid-view-image{float:right;max-width:50%}.widget-grid-view-image a{display:block;margin:0 0 4px 2px}.widget-grid-view-image:nth-child(even){float:left}.widget-grid-view-image:nth-child(even) a{margin:0 2px 4px 0}.widgets-grid-layout .widget-grid-view-image img{max-width:100%;height:auto}.widgets-multi-column-grid ul{overflow:hidden;padding:0;margin:0;list-style-type:none}.widgets-multi-column-grid ul li{background:100% 0;clear:none;float:right;margin:0 0 -3px -5px;padding:0 0 6px 8px;border:none;list-style-type:none!important}.widgets-multi-column-grid ul li a{background:100% 0;margin:0;padding:0;border:0}.widgets-multi-column-grid .avatar{vertical-align:middle}.widgets-list-layout{padding:0;margin:0;list-style-type:none}.widgets-list-layout li:after,.widgets-list-layout li:before{content:"";display:table}.widgets-list-layout li:after{clear:both}.widgets-list-layout li{zoom:1;margin-bottom:1em;list-style-type:none!important}.widgets-list-layout .widgets-list-layout-blavatar{float:right;width:21.276596%;max-width:40px;height:auto}.widgets-list-layout-links{float:left;width:73.404255%}.widgets-list-layout span{opacity:.5}.widgets-list-layout span:hover{opacity:.8}
-.jetpack-image-container:after{clear:both}.jetpack-image-container:after,.jetpack-image-container:before{display:table;content:""}
-.widgets-multi-column-grid ul{overflow:hidden;padding:0;margin:0;list-style-type:none}.widgets-multi-column-grid ul li{background:100% 0;clear:none;float:right;margin:0 0 -3px -5px;padding:0 0 6px 8px;border:none;list-style-type:none!important}.widgets-multi-column-grid ul li a{background:100% 0;margin:0;padding:0;border:0}.widgets-multi-column-grid .avatar{vertical-align:middle}.widget_jetpack_my_community .avatar-240,.widget_jetpack_my_community .avatar-48{max-width:48px;max-height:48px}
-.widget.widget_authors li>ul,.widget_authors>ul{margin-right:inherit;padding-right:0}.widget_authors ul li li{padding-right:0}.widget_authors>ul>li{margin-bottom:1em;list-style:none}.widget_authors>ul>li+li{border-top:0}.widget.widget_authors img{margin-left:5px;margin-bottom:5px;vertical-align:middle;box-shadow:none}
-.wpcnt{text-align:center;line-height:2}.wpa{position:relative;overflow:hidden;display:inline-block;max-width:100%}.wpa-about{position:absolute;top:5px;right:0;left:0;display:block;margin-top:0;color:#888;font:10px/1 "Open Sans",Arial,sans-serif!important;text-align:right!important;text-decoration:none!important;opacity:.85;border-bottom:none!important;box-shadow:none!important}.wpa .u>div{display:block;margin-top:5px;margin-bottom:1em}div.wpa>div{margin-top:20px}.wpa .u .adsbygoogle{display:block;margin-top:17px;margin-bottom:1em;background-color:transparent}
-.widget_eu_cookie_law_widget{animation:fadeIn .8s;border:none;bottom:1em;right:1em;margin:0;padding:0;position:fixed;left:1em;width:auto;z-index:50001}@keyframes fadeIn{from{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.widget_eu_cookie_law_widget.widget.top{bottom:auto;top:1em}.admin-bar .widget_eu_cookie_law_widget.widget.top{top:3em}amp-consent.widget_eu_cookie_law_widget.widget.top{top:1em;margin:0}.admin-bar amp-consent.widget_eu_cookie_law_widget.widget.top{top:0;margin-top:3em}#eu-cookie-law{background-color:#fff;border:1px solid #dedede;color:#2e4467;font-size:12px;line-height:1.5;overflow:hidden;padding:6px 15px 6px 6px;position:relative}#eu-cookie-law a,#eu-cookie-law a:active,#eu-cookie-law a:visited{color:inherit;cursor:inherit;text-decoration:underline}#eu-cookie-law a:hover{cursor:pointer;text-decoration:none}#eu-cookie-law.negative{background-color:#000;border:none;color:#fff}#eu-cookie-law.hide{opacity:0;visibility:hidden;transition:opacity .4s,visibility .4s}#eu-cookie-law form{margin-bottom:0;position:static}#eu-cookie-law input,#eu-cookie-law input:focus,#eu-cookie-law input:hover{background:#f3f3f3;border:1px solid #dedede;border-radius:4px;-moz-border-radius:3px;-webkit-border-radius:3px;color:#2e4453;cursor:pointer;display:inline;float:left;font-family:inherit;font-size:14px;font-weight:inherit;line-height:inherit;margin:0 5% 0 0;padding:8px 12px;position:static;text-transform:none}#eu-cookie-law.negative input,#eu-cookie-law.negative input:focus,#eu-cookie-law.negative input:hover{background:#282828;border-color:#535353;color:#fff}@media (max-width:600px){#eu-cookie-law{padding-bottom:55px}#eu-cookie-law input.accept{bottom:8px;position:absolute;left:8px}}.widget_eu_cookie_law_widget .customize-partial-edit-shortcut>button{right:0}
-.flickr-images{text-align:center}.flickr-size-thumbnail .flickr-images{align-content:space-between;align-items:center;display:flex;flex-flow:row wrap;justify-content:center}.flickr-images img{max-width:100%;margin:5px}
-.wpcom-instagram-images{display:grid;grid-gap:.5rem;grid-auto-columns:1fr}.wpcom-instagram-images:after,.wpcom-instagram-images:before{content:none}.wpcom-instagram-images a{display:block;margin:4px 2px}.wpcom-instagram-columns-2 a,.wpcom-instagram-columns-3 a{display:inline-block;vertical-align:top}.wpcom-instagram-columns-2 a{width:calc(50% - 8px)}.wpcom-instagram-columns-3 a{width:calc(33.3333% - 8px)}.wpcom-instagram-images .sq-bg-image{background-position:center;background-repeat:no-repeat;background-size:cover;height:0;overflow:hidden;padding-bottom:100%}.wpcom-instagram-columns-2{grid-template-columns:repeat(2,1fr)}.wpcom-instagram-columns-3{grid-template-columns:repeat(3,1fr)}@supports (display:grid){.wpcom-instagram-images a{display:block;margin:0}.wpcom-instagram-columns-2 a,.wpcom-instagram-columns-3 a{width:auto}}
-.jetpack-search-filters-widget__sub-heading{font-size:inherit;font-weight:700;margin:0 0 .5em;padding:0}.jetpack-search-form+.jetpack-search-filters-widget__sub-heading{margin-top:1.5em;margin-bottom:.5em!important}.jetpack-search-filters-widget__clear{margin-top:.5em;margin-bottom:.5em}.jetpack-search-sort-wrapper{margin-top:1em;margin-bottom:1.5em}.jetpack-search-sort-wrapper label{display:inherit}.widget_search .jetpack-search-filters-widget__filter-list input[type=checkbox]{width:auto;height:auto}ul.jetpack-search-filters-widget__filter-list li{border:none;padding:0;list-style:none}ul.jetpack-search-filters-widget__filter-list li a{text-decoration:none}ul.jetpack-search-filters-widget__filter-list li a:hover{box-shadow:none}ul.jetpack-search-filters-widget__filter-list li label{font-weight:inherit;display:inherit}.jetpack-search-filters-widget__filter-list{list-style:none}ul.jetpack-search-filters-widget__filter-list{margin-bottom:1.5em}body.search .jetpack-search-form input[name="s"]::placeholder{color:transparent}body.search .jetpack-search-form input[name="s"].show-placeholder::placeholder{color:inherit}
-@media screen and (min-width:400px){.widget.jetpack-simple-payments .jetpack-simple-payments-product{flex-direction:column}.widget.jetpack-simple-payments .jetpack-simple-payments-details{padding-right:0}}
-.jetpack_widget_social_icons li,.jetpack_widget_social_icons ul{list-style:none}.jetpack_widget_social_icons ul{display:block;margin:0 0 1.5em;padding:0}.jetpack_widget_social_icons ul li{border:0;display:inline-block;line-height:1;margin:0;padding:0}.jetpack_widget_social_icons ul li:after,.jetpack_widget_social_icons ul li:before{display:none}.jetpack_widget_social_icons a{border:0;box-shadow:none;display:block;height:24px;text-decoration:none;width:24px}.jetpack_widget_social_icons svg{color:inherit;fill:currentColor;height:inherit;vertical-align:middle;width:inherit}.jetpack_widget_social_icons ul.size-small a{height:24px;width:24px}.jetpack_widget_social_icons ul.size-medium a{height:32px;width:32px}.jetpack_widget_social_icons ul.size-large a{height:48px;width:48px}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
-.milestone-widget{margin-bottom:1em}.milestone-content{line-height:2;margin-top:5px;max-width:100%;padding:0;text-align:center}.milestone-header{background-color:var(--milestone-text-color,#111);color:var(--milestone-bg-color,#fff);line-height:1.3;margin:0;padding:.8em}.milestone-header .date,.milestone-header .event{display:block}.milestone-header .event{font-size:120%}.milestone-countdown .difference{display:block;font-size:500%;font-weight:700;line-height:1.2}.milestone-countdown,.milestone-message{background-color:var(--milestone-bg-color,#fff);border:1px solid var(--milestone-border-color,#767676);border-top:0;color:var(--milestone-text-color,#111);padding-bottom:1em}.milestone-message{padding-top:1em} \ No newline at end of file
+@charset "UTF-8";@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff")}:root{--swiper-theme-color:#007aff}.jp-carousel-overlay .swiper-container{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;z-index:1}.jp-carousel-overlay .swiper-container-vertical>.swiper-wrapper{flex-direction:column}.jp-carousel-overlay .swiper-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.jp-carousel-overlay .swiper-container-android .swiper-slide,.jp-carousel-overlay .swiper-wrapper{transform:translateZ(0)}.jp-carousel-overlay .swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.jp-carousel-overlay .swiper-container-multirow-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.jp-carousel-overlay .swiper-container-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.jp-carousel-overlay .swiper-container-pointer-events{touch-action:pan-y}.jp-carousel-overlay .swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.jp-carousel-overlay .swiper-slide{flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}.jp-carousel-overlay .swiper-slide-invisible-blank{visibility:hidden}.jp-carousel-overlay .swiper-container-autoheight,.jp-carousel-overlay .swiper-container-autoheight .swiper-slide{height:auto}.jp-carousel-overlay .swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.jp-carousel-overlay .swiper-container-3d{perspective:1200px}.jp-carousel-overlay .swiper-container-3d .swiper-cube-shadow,.jp-carousel-overlay .swiper-container-3d .swiper-slide,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top,.jp-carousel-overlay .swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top{height:100%;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:10}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.jp-carousel-overlay .swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.jp-carousel-overlay .swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{align-items:center;color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;display:flex;height:var(--swiper-navigation-size);justify-content:center;margin-top:calc(0px - var( --swiper-navigation-size )/2);position:absolute;top:50%;width:calc(var( --swiper-navigation-size )/44*27);z-index:10}.jp-carousel-overlay .swiper-button-next.swiper-button-disabled,.jp-carousel-overlay .swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);font-variant:normal;letter-spacing:0;line-height:1;text-transform:none!important;text-transform:none}.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next{left:auto;right:10px}.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after{content:"prev"}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{left:10px;right:auto}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:"next"}.jp-carousel-overlay .swiper-button-next.swiper-button-white,.jp-carousel-overlay .swiper-button-prev.swiper-button-white{--swiper-navigation-color:#fff}.jp-carousel-overlay .swiper-button-next.swiper-button-black,.jp-carousel-overlay .swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000}.jp-carousel-overlay .swiper-button-lock{display:none}.jp-carousel-overlay .swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.jp-carousel-overlay .swiper-pagination.swiper-pagination-hidden{opacity:0}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets,.jp-carousel-overlay .swiper-pagination-custom,.jp-carousel-overlay .swiper-pagination-fraction{bottom:10px;right:0;width:100%}.jp-carousel-overlay .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullet{background:#000;border-radius:50%;display:inline-block;height:8px;opacity:.2;width:8px}.jp-carousel-overlay button.swiper-pagination-bullet{-webkit-appearance:none;appearance:none;border:none;box-shadow:none;margin:0;padding:0}.jp-carousel-overlay .swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.jp-carousel-overlay .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:1}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets{left:10px;top:50%;transform:translate3d(0,-50%,0)}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:6px 0}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{right:50%;transform:translateX(50%);white-space:nowrap}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.jp-carousel-overlay .swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.jp-carousel-overlay .swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.jp-carousel-overlay .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));height:100%;position:absolute;right:0;top:0;transform:scale(0);transform-origin:right top;width:100%}.jp-carousel-overlay .swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:left top}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-progressbar,.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:4px;right:0;top:0;width:100%}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-progressbar{height:100%;right:0;top:0;width:4px}.jp-carousel-overlay .swiper-pagination-white{--swiper-pagination-color:#fff}.jp-carousel-overlay .swiper-pagination-black{--swiper-pagination-color:#000}.jp-carousel-overlay .swiper-pagination-lock{display:none}.jp-carousel-overlay .swiper-zoom-container{align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}.jp-carousel-overlay .swiper-zoom-container>canvas,.jp-carousel-overlay .swiper-zoom-container>img,.jp-carousel-overlay .swiper-zoom-container>svg{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.jp-carousel-overlay .swiper-slide-zoomed{cursor:move}.jp-carousel-overlay .swiper-container .swiper-notification{opacity:0;pointer-events:none;position:absolute;right:0;top:0;z-index:-1000}:root{--jp-carousel-primary-color:#fff;--jp-carousel-primary-subtle-color:#999;--jp-carousel-bg-color:#000;--jp-carousel-bg-faded-color:#222;--jp-carousel-border-color:#3a3a3a}:root .jp-carousel-light{--jp-carousel-primary-color:#000;--jp-carousel-primary-subtle-color:#646970;--jp-carousel-bg-color:#fff;--jp-carousel-bg-faded-color:#fbfbfb;--jp-carousel-border-color:#dcdcde}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{background-image:none}[data-carousel-extra]:not(.jp-carousel-wrap) img,[data-carousel-extra]:not(.jp-carousel-wrap) img+figcaption{cursor:pointer}.jp-carousel-wrap *{line-height:inherit}.jp-carousel-wrap.swiper-container{height:auto;width:100vw}.jp-carousel-overlay .swiper-zoom-container{background-position:50%;background-repeat:no-repeat;background-size:200%}.jp-carousel-overlay .swiper-slide.swiper-slide-next .swiper-zoom-container img,.jp-carousel-overlay .swiper-slide.swiper-slide-prev .swiper-zoom-container img{transition:none!important}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{background-image:none;height:auto;opacity:.5;padding:20px 40px;transition:opacity .5s ease-out;width:auto}.jp-carousel-overlay .swiper-button-next:hover,.jp-carousel-overlay .swiper-button-prev:hover{opacity:1}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:none}.jp-carousel-overlay .swiper-button-next svg,.jp-carousel-overlay .swiper-button-prev svg{background:var(--jp-carousel-bg-color);border-radius:4px;height:30px;width:28px}.jp-carousel-overlay{background:var(--jp-carousel-bg-color);bottom:0;direction:rtl;font-family:Helvetica Neue,sans-serif!important;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;z-index:2147483647}.jp-carousel-overlay *{box-sizing:border-box}.jp-carousel-overlay h1:before,.jp-carousel-overlay h2:before,.jp-carousel-overlay h3:before{content:none;display:none}.jp-carousel-overlay .swiper-container .swiper-button-prev{left:auto;right:0}.jp-carousel-overlay .swiper-container .swiper-button-next{left:0;right:auto}.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-prev{transform:scaleX(-1)}.jp-carousel-container{display:grid;grid-template-rows:1fr 64px;height:100%}.jp-carousel-hide-controls .jp-carousel-container{grid-template-rows:1fr}.jp-carousel-hide-controls .swiper-wrapper{margin-top:-32px}.jp-carousel-hide-controls .jp-swiper-button-next,.jp-carousel-hide-controls .jp-swiper-button-prev{margin-top:-54px}.jp-carousel-msg{background-color:var(--jp-carousel-primary-color);border-right:4px solid #ffba00;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);display:inline-block;font-family:Open Sans,sans-serif;font-size:14px;font-style:normal;line-height:19px;margin:25px 2px 0 20px;padding:11px 15px;text-align:center}.jp-carousel-info{-webkit-font-smoothing:subpixel-antialiased!important;background-color:var(--jp-carousel-bg-color);display:flex;flex-direction:column;opacity:1;text-align:right!important;transition:opacity .2s ease-out;z-index:100}.jp-carousel-hide-controls .jp-carousel-info{height:0;overflow:hidden;visibility:hidden}.jp-carousel-info-footer{align-items:center;display:flex;height:64px;justify-content:space-between;position:relative}.jp-carousel-info-extra,.jp-carousel-info-footer{background-color:var(--jp-carousel-bg-color);width:100vw}.jp-carousel-info-extra{border-top:1px solid var(--jp-carousel-bg-faded-color);display:none;padding:35px}.jp-carousel-title-and-caption{margin-bottom:15px}.jp-carousel-info-extra.jp-carousel-show{display:block}.jp-carousel-info ::selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-info ::-moz-selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-photo-info{right:0!important;width:100%!important}.jp-carousel-comments-wrapper{display:none;padding:0;width:100%!important}.jp-carousel-comments-wrapper.jp-carousel-show{display:block}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:none}.jp-carousel-transitions .jp-carousel-photo-info{transition:.4s ease-out}.jp-carousel-buttons{background:#222;border-bottom:1px solid #222;margin:-18px -20px 15px;padding:8px 10px;text-align:center}div.jp-carousel-buttons a{-webkit-font-smoothing:subpixel-antialiased;border:none!important;color:var(--jp-carousel-primary-subtle-color);font:normal 11px/1.2em Helvetica Neue,sans-serif!important;letter-spacing:0!important;padding:5px 0 5px 2px;text-decoration:none!important;text-shadow:none!important;vertical-align:middle}div.jp-carousel-buttons a:hover{border:none!important;color:var(--jp-carousel-primary-color)}.jp-carousel-transitions div.jp-carousel-buttons a:hover{transition:none!important}.jp-carousel-slide,.jp-carousel-slide img{transform:translateZ(0)}.jp-carousel-close-hint{color:var(--jp-carousel-primary-color);cursor:default;cursor:pointer;height:45px;left:30px;letter-spacing:0!important;padding:10px;position:fixed;text-align:left;top:20px;transition:opacity .2s ease-out;width:45px;z-index:15}.jp-carousel-transitions .jp-carousel-close-hint{transition:color .2s linear}.jp-carousel-close-hint svg{background:var(--jp-carousel-bg-color);border-radius:4px;padding:3px 2px}.jp-carousel-close-hint:hover{color:var(--jp-carousel-primary-color)}.jp-carousel-close-hint:hover span{border-color:var(--jp-carousel-primary-color)}.jp-carousel-pagination-container{flex:1;margin:0 35px 0 15px}.jp-carousel-pagination,.jp-swiper-pagination{color:var(--jp-carousel-primary-color);display:none;font-size:15px;font-weight:400;position:static!important;white-space:nowrap}.jp-carousel-pagination-container .swiper-pagination{line-height:8px;text-align:right}.jp-carousel-pagination{padding-right:5px}.jp-swiper-pagination .swiper-pagination-bullet{background:var(--jp-carousel-primary-subtle-color);margin:0 9px}.jp-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background:var(--jp-carousel-primary-color)}.jp-swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active){background:var(--jp-carousel-primary-color);opacity:.5}.jp-carousel-info-footer .jp-carousel-photo-title-container{flex-basis:50vw;flex:4;justify-content:center;margin:0;overflow:hidden}.jp-carousel-photo-caption,.jp-carousel-photo-title{background:none!important;border:none!important;color:var(--jp-carousel-primary-color);display:inline-block;font:normal 20px/1.3em Helvetica Neue,sans-serif;letter-spacing:0!important;line-height:normal;margin:0 0 10px;overflow:hidden;padding:0;text-shadow:none!important;text-transform:none!important}.jp-carousel-info-footer .jp-carousel-photo-caption{color:var(--jp-carousel-primary-subtle-color);cursor:pointer;font-size:15px;margin:0;text-align:center;text-overflow:ellipsis;white-space:nowrap}.jp-carousel-info-footer .jp-carousel-photo-caption p{margin:0}.jp-carousel-photo-title{font-size:32px;margin-bottom:2px}.jp-carousel-photo-description{color:var(--jp-carousel-primary-subtle-color);font-size:16px;margin:25px 0;overflow:hidden;overflow-wrap:break-word;width:100%}.jp-carousel-photo-description p{color:var(--jp-carousel-primary-subtle-color);line-height:1.4;margin-bottom:0}.jp-carousel-comments p a,.jp-carousel-info h2 a,.jp-carousel-photo-description p a{border:none!important;color:var(--jp-carousel-primary-color)!important;font-style:normal!important;font-weight:400!important;text-decoration:underline!important}.jp-carousel-photo-description p b,.jp-carousel-photo-description p strong{color:var(--jp-carousel-primary-subtle-color);font-weight:700}.jp-carousel-photo-description p em,.jp-carousel-photo-description p i{color:var(--jp-carousel-primary-subtle-color);font-style:italic}.jp-carousel-comments p a:hover,.jp-carousel-info h2 a:hover,.jp-carousel-photo-description p a:hover{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-photo-description p:empty{display:none}.jp-carousel-comments-wrapper h1:after,.jp-carousel-comments-wrapper h1:before,.jp-carousel-photo-info h1:after,.jp-carousel-photo-info h1:before{content:none!important}.jp-carousel-caption{font-size:14px;font-weight:400;margin:0}.jp-carousel-image-meta{color:var(--jp-carousel-primary-color);display:none;font-size:13px;font:12px/1.4 Helvetica Neue,sans-serif!important;width:100%}.jp-carousel-image-meta.jp-carousel-show{display:block}.jp-carousel-image-meta h5,.jp-carousel-image-meta li{background:none!important;border:none!important;bottom:auto!important;font-family:Helvetica Neue,sans-serif!important;font-weight:400!important;left:auto!important;line-height:1.3em!important;position:inherit!important;right:auto!important;top:auto!important}.jp-carousel-image-meta ul{list-style:none!important;margin:0!important;padding:0!important}.jp-carousel-image-meta li{color:var(--jp-carousel-primary-color)!important;display:inline-block!important;font-size:13px!important;margin:0 0 15px 2%!important;vertical-align:top!important;width:48%!important}.jp-carousel-image-meta h5{color:var(--jp-carousel-primary-subtle-color)!important;font-size:10px!important;letter-spacing:.1em!important;margin:0 0 2px!important;text-transform:uppercase!important}a.jp-carousel-image-download{clear:both;color:var(--jp-carousel-primary-subtle-color);display:inline-block;font-size:14px;font-weight:400;line-height:1;text-decoration:none}a.jp-carousel-image-download svg{display:inline-block;margin:0 3px;padding-bottom:2px;vertical-align:middle}a.jp-carousel-image-download span.photo-size{border-radius:1em;display:inline-block;font-size:11px;margin-right:2px}a.jp-carousel-image-download span.photo-size-times{padding:0 2px 0 1px}.jp-carousel-comments{background:none transparent;bottom:10px;font:15px/1.7 Helvetica Neue,sans-serif!important;font-weight:400;margin-top:20px;width:100%}.jp-carousel-comments p a:active,.jp-carousel-comments p a:focus,.jp-carousel-comments p a:hover{color:var(--jp-carousel-primary-color)!important}.jp-carousel-comment{background:none transparent;color:var(--jp-carousel-primary-subtle-color);display:flex;overflow:auto;width:100%}.jp-carousel-comment+.jp-carousel-comment{margin-top:20px}.jp-carousel-comment:last-of-type{margin-bottom:20px}.jp-carousel-comment p{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-comment .comment-author{border:none;display:inline;float:none;font-size:15px;font-weight:500;margin:0;padding:0;width:auto}.jp-carousel-comment .comment-author a{color:var(--jp-carousel-primary-color)}.jp-carousel-comment .comment-gravatar{float:none;margin-left:10px}.jp-carousel-comment .comment-content{border:none;padding:0}.jp-carousel-comment .avatar{background-color:transparent!important;border:none!important;border-radius:4px;height:64px;margin:0;min-height:64px;min-width:64px;padding:0!important;width:64px}.jp-carousel-comment .comment-date{border-bottom:1px solid var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color);font-size:11px;margin-bottom:6px}#jp-carousel-comment-form{margin:0 0 10px!important;width:100%}#jp-carousel-comment-form.jp-carousel-is-disabled{opacity:.5;pointer-events:none}textarea#jp-carousel-comment-form-comment-field{background:var(--jp-carousel-bg-faded-color);border:1px solid var(--jp-carousel-border-color);border-radius:3px;box-shadow:inset -2px 2px 2px rgba(0,0,0,.1);box-sizing:border-box;color:var(--jp-carousel-primary-subtle-color);float:none;font:16px/1.4 Helvetica Neue,sans-serif!important;height:147px;margin:0;overflow:hidden;padding:10px 10px 5px;width:100%}textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder{color:#555}textarea#jp-carousel-comment-form-comment-field:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder{color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-loading-overlay{bottom:0;display:none;left:0;position:fixed;right:0;top:0}#jp-carousel-loading-wrapper{align-items:center;display:flex;height:100vh;justify-content:center;width:100vw}#jp-carousel-library-loading,#jp-carousel-library-loading:after{border-radius:50%;height:40px;width:40px}#jp-carousel-library-loading{animation:load8 1.1s linear infinite;border:8px solid hsla(0,0%,100%,.2);border-right:8px solid var(--jp-carousel-primary-color);float:right;font-size:10px;margin:22px 10px 0 0;position:relative;text-indent:-9999em;transform:translateZ(0)}#jp-carousel-comment-form-spinner,#jp-carousel-comment-form-spinner:after{border-radius:50%;height:20px;width:20px}#jp-carousel-comment-form-spinner{animation:load8 1.1s linear infinite;border:4px solid hsla(0,0%,100%,.2);border-right:4px solid var(--jp-carousel-primary-color);bottom:0;display:none;float:right;font-size:10px;left:0;margin:0 auto;position:absolute;right:0;text-indent:-9999em;top:calc(50% - 15px);transform:translateZ(0)}@keyframes load8{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.jp-carousel-info-content-wrapper{margin:auto;max-width:800px}#jp-carousel-comment-form-submit-and-info-wrapper{display:none;overflow:hidden;width:100%}#jp-carousel-comment-form-commenting-as input{background:var(--jp-carousel-bg-color);border:1px solid var(--jp-carousel-border-color);border-radius:2px;box-shadow:inset -2px 2px 2px rgba(0,0,0,.2);color:var(--jp-carousel-primary-subtle-color);float:right;font:16px/1.4 Helvetica Neue,sans-serif!important;padding:10px;width:285px}#jp-carousel-comment-form-commenting-as input:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-comment-form-commenting-as p{float:right;font:400 13px/1.7 Helvetica Neue,sans-serif!important;margin:22px 0 0}#jp-carousel-comment-form-commenting-as fieldset{border:none;clear:both;float:right;margin:20px 0 0;padding:0}#jp-carousel-comment-form-commenting-as label{float:right;font:400 13px/1.7 Helvetica Neue,sans-serif!important;margin:0 0 3px 20px;width:100px}#jp-carousel-comment-form-button-submit{background:var(--jp-carousel-bg-color);border:1px solid var(--jp-carousel-primary-color);border-radius:3px;color:var(--jp-carousel-primary-color);display:block;font-size:14px;margin-right:auto;margin-top:20px;padding:8px 16px}#jp-carousel-comment-form-button-submit:active,#jp-carousel-comment-form-button-submit:focus{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-bg-color)}#jp-carousel-comment-form-container{color:var(--jp-carousel-primary-subtle-color);margin-bottom:15px;margin-top:20px;overflow:hidden;position:relative;width:100%}#jp-carousel-comment-post-results{display:none;overflow:auto;width:100%}#jp-carousel-comment-post-results span{border:1px solid var(--jp-carousel-border-color);border-radius:2px;box-shadow:inset 0 0 5px 0 rgba(0,0,0,.2);box-sizing:border-box;display:block;font:13px/1.4 Helvetica Neue,sans-serif!important;margin-top:20px;overflow:auto;padding:1em 0;text-align:center;width:100%}.jp-carousel-comment-post-error{color:#df4926}#jp-carousel-comments-closed,#jp-carousel-comments-loading{color:var(--jp-carousel-primary-subtle-color);display:none}#jp-carousel-comments-loading{bottom:10px;font:400 15px/1.7 Helvetica Neue,sans-serif!important;margin-bottom:20px;margin-top:20px;text-align:right;width:100%}.jp-carousel-photo-icons-container{display:block;flex:1;margin:0 30px 0 20px;text-align:left;white-space:nowrap}.jp-carousel-icon-btn{background:none;border:none;display:inline-block;height:64px;padding:16px;text-decoration:none}.jp-carousel-icon{border:none;border-radius:4px;font-style:normal;font-weight:400;line-height:0;padding:4px 3px 3px;pointer-events:none;width:31px}.jp-carousel-icon,.jp-carousel-icon svg{display:inline-block}.jp-carousel-overlay rect{fill:var(--jp-carousel-primary-color)}.jp-carousel-selected .jp-carousel-icon{background:var(--jp-carousel-primary-color)}.jp-carousel-selected rect{fill:var(--jp-carousel-bg-color)}.jp-carousel-icon-comments.jp-carousel-show{display:inline-block}.jp-carousel-icon .jp-carousel-has-comments-indicator{background:var(--jp-carousel-primary-color);border-radius:4px;color:var(--jp-carousel-bg-color);display:none;font-family:Helvetica Neue,sans-serif!important;font-size:12px;font-weight:400;line-height:1;margin-right:-16px;padding:2px 4px;position:relative;vertical-align:top}.jp-carousel-selected .jp-carousel-icon .jp-carousel-has-comments-indicator{background:var(--jp-carousel-bg-color);color:var(--jp-carousel-primary-color)}.jp-carousel-has-comments-indicator.jp-carousel-show{display:inline-block}@media only screen and (max-width:760px){.jp-carousel-buttons,.jp-carousel-overlay .swiper-container .swiper-button-next,.jp-carousel-overlay .swiper-container .swiper-button-prev{display:none!important}.jp-carousel-image-meta{box-sizing:border-box;float:none!important;margin-right:0;width:100%!important}.jp-carousel-close-hint{font-size:26px!important;left:10px;position:fixed!important;top:10px}.admin-bar .jp-carousel-close-hint{top:40px}.jp-carousel-slide img{opacity:1}.jp-carousel-wrap{background-color:var(--jp-carousel-bg-color)}.jp-carousel-fadeaway,.jp-carousel-info>.jp-carousel-photo-info{display:none}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:block}.jp-carousel-caption{overflow:visible!important}.jp-carousel-info-footer .jp-carousel-photo-title-container{display:none}.jp-carousel-photo-icons-container{margin:0 0 0 10px;white-space:nowrap}.jp-carousel-icon-btn{padding-right:20px}.jp-carousel-pagination{padding-right:5px}.jp-carousel-pagination-container{margin-right:25px}.jp-carousel-comment .avatar{min-width:48px}#jp-carousel-comment-form-commenting-as fieldset,#jp-carousel-comment-form-commenting-as input{float:none;width:100%}}.contact-form .clear-form{clear:both}.contact-form input{font:inherit}.contact-form input::placeholder{transition:opacity .3s ease-out}.contact-form input:hover::placeholder{opacity:.5}.contact-form input:focus::placeholder{opacity:.3}.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{box-sizing:border-box;margin-bottom:1.5em;padding:14px 7px;width:100%}.contact-form select{margin-bottom:1.5em;min-width:150px;padding:14px 7px}.contact-form textarea{box-sizing:border-box;float:none;font:inherit;height:200px;margin-bottom:1.5em;padding:7px;width:100%}.contact-form input[type=checkbox],.contact-form input[type=radio]{float:none;margin:0 5px 0 .75rem}.contact-form input[type=checkbox]{margin-right:0;top:0}.contact-form label{display:block;float:none;font-weight:700;margin-bottom:.25em}.contact-form label.consent-implicit input{display:none}.contact-form label.checkbox,.contact-form label.checkbox-multiple,.contact-form label.radio{align-items:center;display:inline-flex;float:none;font-weight:400;margin-bottom:.25em}.contact-form .grunion-field-checkbox-multiple-wrap,.contact-form .grunion-field-checkbox-wrap,.contact-form .grunion-field-consent-wrap,.contact-form .grunion-field-radio-wrap{margin-bottom:1em}.contact-form label span{font-size:85%;font-weight:400;margin-right:.25em}.contact-form-submission{margin-bottom:4em;padding:1.5em 1em}.contact-form-submission p{word-wrap:break-word;margin:0 auto}.form-errors .form-error-message{color:red}.textwidget .contact-form input[type=email],.textwidget .contact-form input[type=tel],.textwidget .contact-form input[type=text],.textwidget .contact-form input[type=url],.textwidget .contact-form textarea,.wp-block-column .contact-form input[type=email],.wp-block-column .contact-form input[type=tel],.wp-block-column .contact-form input[type=text],.wp-block-column .contact-form input[type=url],.wp-block-column .contact-form textarea{width:100%}#jetpack-check-feedback-spam{margin:1px 0 0 8px}.jetpack-check-feedback-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-button,.wp-block-jetpack-contact-form .grunion-field-wrap{flex:0 0 100%}.wp-block-jetpack-button.alignright button{float:left}.wp-block-jetpack-contact-form .grunion-field-wrap{border-left:15px solid transparent}.wp-block-jetpack-contact-form .grunion-field-width-25-wrap{flex:0 0 25%}.wp-block-jetpack-contact-form .grunion-field-width-50-wrap{flex:0 0 50%}.wp-block-jetpack-contact-form .grunion-field-width-75-wrap{flex:0 0 75%}.grunion-field-checkbox-wrap,.grunion-field-consent-wrap{align-self:center}@media only screen and (min-width:600px){.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{width:50%}.wp-block-jetpack-contact-form input[type=email],.wp-block-jetpack-contact-form input[type=tel],.wp-block-jetpack-contact-form input[type=text],.wp-block-jetpack-contact-form input[type=url]{width:100%}}.jetpack-empty-spam,.jetpack-empty-spam-container{display:inline-block}.jetpack-empty-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form .wp-block-spacer{width:100%}.infinite-loader{color:#000;display:block;height:28px;text-align:center}#infinite-handle span{background:#333;border-radius:1px;color:#f0f0f1;cursor:pointer;font-size:13px;padding:6px 16px}@keyframes spinner-inner{0%{opacity:1}to{opacity:0}}.infinite-loader .spinner-inner div{animation:spinner-inner 1s linear infinite;background:#000;border-radius:3px/6px;height:12px;outline:1px solid #fff;position:absolute;right:47px;top:24px;transform-origin:3px 26px;width:6px}.infinite-loader .spinner-inner div:first-child{animation-delay:-.9166666667s;background:#000;transform:rotate(0deg)}.infinite-loader .spinner-inner div:nth-child(2){animation-delay:-.8333333333s;background:#000;transform:rotate(-30deg)}.infinite-loader .spinner-inner div:nth-child(3){animation-delay:-.75s;background:#000;transform:rotate(-60deg)}.infinite-loader .spinner-inner div:nth-child(4){animation-delay:-.6666666667s;background:#000;transform:rotate(-90deg)}.infinite-loader .spinner-inner div:nth-child(5){animation-delay:-.5833333333s;background:#000;transform:rotate(-120deg)}.infinite-loader .spinner-inner div:nth-child(6){animation-delay:-.5s;background:#000;transform:rotate(-150deg)}.infinite-loader .spinner-inner div:nth-child(7){animation-delay:-.4166666667s;background:#000;transform:rotate(-180deg)}.infinite-loader .spinner-inner div:nth-child(8){animation-delay:-.3333333333s;background:#000;transform:rotate(-210deg)}.infinite-loader .spinner-inner div:nth-child(9){animation-delay:-.25s;background:#000;transform:rotate(-240deg)}.infinite-loader .spinner-inner div:nth-child(10){animation-delay:-.1666666667s;background:#000;transform:rotate(-270deg)}.infinite-loader .spinner-inner div:nth-child(11){animation-delay:-.0833333333s;background:#000;transform:rotate(-300deg)}.infinite-loader .spinner-inner div:nth-child(12){animation-delay:0s;background:#000;transform:rotate(-330deg)}.infinite-loader .spinner{background:none;display:inline-block;height:28px;overflow:hidden;width:28px}.infinite-loader .spinner-inner{-webkit-backface-visibility:hidden;backface-visibility:hidden;height:100%;position:relative;transform:translateZ(0) scale(.28);transform-origin:100% 0;width:100%}.infinite-loader .spinner-inner div{box-sizing:content-box}#infinite-handle span button,#infinite-handle span button:focus,#infinite-handle span button:hover{background:transparent;border:none;color:inherit;cursor:inherit;display:inline;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;position:static}#infinite-handle span button::-moz-focus-inner{border:none;margin:0;padding:0}@media (max-width:800px){#infinite-handle span:before{display:none}#infinite-handle span{display:block}}#infinite-footer{bottom:-50px;position:fixed;right:0;width:100%}#infinite-footer a{text-decoration:none}#infinite-footer .blog-credits a:hover,#infinite-footer .blog-info a:hover{color:#444;text-decoration:underline}#infinite-footer .container{background:hsla(0,0%,100%,.8);border:solid rgba(0,0,0,.1);border-width:1px 0 0;box-sizing:border-box;margin:0 auto;overflow:hidden;padding:1px 20px;width:780px}#infinite-footer .blog-credits,#infinite-footer .blog-info{box-sizing:border-box;line-height:25px}#infinite-footer .blog-info{float:right;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;width:40%}#infinite-footer .blog-credits{float:left;font-weight:400;width:60%}#infinite-footer .blog-info a{color:#111;font-size:14px;font-weight:700}#infinite-footer .blog-credits{color:#888;font-size:12px;text-align:left}#infinite-footer .blog-credits a{color:#646970}.infinity-end.neverending #infinite-footer{display:none}@media (max-width:640px){#infinite-footer .container{box-sizing:border-box;width:100%}#infinite-footer .blog-info{width:30%}#infinite-footer .blog-credits{width:70%}#infinite-footer .blog-credits,#infinite-footer .blog-info a{font-size:10px}#infinite-footer{position:static}}#infinite-aria{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.infinite-wrap:focus{outline:0!important}#wpadminbar li#wp-admin-bar-admin-bar-likes-widget{overflow:hidden;width:61px}#wpadminbar iframe.admin-bar-likes-widget{border-width:0;height:28px;min-height:28px;position:absolute;top:0;width:61px}div.jetpack-likes-widget-wrapper{min-height:50px;position:relative;width:100%}div.jetpack-likes-widget-wrapper .sd-link-color{font-size:12px}div.jetpack-comment-likes-widget-wrapper{min-height:31px;position:relative;width:100%}div.jetpack-comment-likes-widget-wrapper iframe{margin-bottom:0}#likes-other-gravatars{background-color:#2e4453;border-width:0;box-shadow:0 0 10px #2e4453;box-shadow:0 0 10px rgba(46,68,83,.6);display:none;min-width:130px;padding:10px 10px 12px;position:absolute;z-index:1000}#likes-other-gravatars *{line-height:normal}#likes-other-gravatars .likes-text{color:#fff;font-size:12px;padding-bottom:8px}#likes-other-gravatars li,#likes-other-gravatars ul{list-style-type:none;margin:0;padding:0;text-indent:0}#likes-other-gravatars li:before{content:""}#likes-other-gravatars ul.wpl-avatars{display:block;max-height:190px;overflow:auto}#likes-other-gravatars ul.wpl-avatars li{float:right;height:32px;margin:0 0 5px 5px;width:32px}#likes-other-gravatars ul.wpl-avatars li a{border-bottom:none!important;display:block;margin:0 0 0 2px}#likes-other-gravatars ul.wpl-avatars li a img{background:none;border:none;margin:0!important;padding:0!important;position:static}div.sd-box{border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.13)}.comment-likes-widget,.entry-content .post-likes-widget,.post-likes-widget{border-width:0;display:block;margin:0}.comment-likes-widget-placeholder,.post-likes-widget-placeholder{border-width:0;margin:0;position:relative}.comment-likes-widget-placeholder{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;height:18px;position:absolute}.comment-likes-widget-placeholder: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-left:5px;position:relative;top:3px;width:16px}.post-likes-widget-placeholder .button{display:none}.comment-likes-widget-placeholder .loading,.post-likes-widget-placeholder .loading{color:#999;font-size:12px}.comment-likes-widget-placeholder .loading{align-self:center;color:#4e4e4e;margin-top:4px;padding-right:5px}div.sharedaddy.sd-like-enabled .sd-like h3{display:none}div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget{float:none;position:absolute;top:0;width:100%}.comment-likes-widget{width:100%}.cs-rating,.pd-rating{display:block!important}.sd-gplus .sd-title{display:none}@media print{.jetpack-likes-widget-wrapper{display:none}}.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__post{display:flex;flex-basis:0;flex-direction:column;flex-grow:1;margin:0 10px;padding-right:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 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-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{display:block;flex-direction:row}.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;width:100%}.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-img-link img{width:100%}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{display:block;margin-top:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{margin:0;max-width:none}.jp-relatedposts-i2[data-layout=list].jp-related-posts-i2__post-img-link{margin-top:1rem}@media only screen and (max-width:640px){.jp-related-posts-i2__row{display:block;margin-top:0}.jp-related-posts-i2__row[data-post-count] .jp-related-posts-i2__post{margin:1rem 0 0;max-width:none}.jp-related-posts-i2__post-img-link{margin-top:1rem}.jp-related-posts-i2__post-img-link img{width:350px}}#jp-relatedposts{clear:both;display:none;margin:1em 0;padding-top:1em;position:relative}.jp-relatedposts:after{clear:both;content:"";display:block}#jp-relatedposts h3.jp-relatedposts-headline{display:inline-block;float:right;font-family:inherit;font-size:9pt;font-weight:700;margin:0 0 1em}#jp-relatedposts h3.jp-relatedposts-headline em:before{border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.2);content:"";display:block;margin-bottom:1em;min-width:30px;width:100%}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}#jp-relatedposts .jp-relatedposts-items{clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:-20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;float:right;margin:0 0 1em;width:33%}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{filter:alpha(opacity=80);-moz-opacity:.8;opacity:.8;padding-left:20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4){clear:both}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover{filter:alpha(opacity=100);-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time,#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:14px;line-height:20px;margin:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs{position:relative}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay{border-bottom:0;bottom:0;display:block;left:0;position:absolute;right:0;top:0}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time{margin-bottom:0}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{display:block;font-family:inherit;margin:0;max-width:100%;text-transform:none}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{filter:alpha(opacity=100);font-size:inherit;font-weight:400;-moz-opacity:1;opacity:1;text-decoration:none}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span{display:block;max-width:90%;overflow:hidden;text-overflow:ellipsis}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span{height:auto;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{opacity:.6}#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt,.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{display:none}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt{overflow:hidden}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span{margin-bottom:1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post{clear:both;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img{float:right;margin-left:3%;max-width:33%;overflow:hidden}#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{display:inline-block;max-width:63%}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:50%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n){clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:20px}}@media only screen and (max-width:320px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{clear:both;margin:0 0 1em;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{float:none;margin-left:0;max-width:100%}}@media print{.jp-relatedposts{display:none!important}}#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{display:inline-block;font-size:9pt;font-weight:700;line-height:1.2;margin:0 0 1em}div.sharedaddy h3.sd-title:before{border-top:1px solid #dcdcde;content:"";display:block;margin-bottom:1em;min-width:30px;width:100%}body.highlander-light h3.sd-title:before{border-top:1px solid rgba(0,0,0,.2)}body.highlander-dark h3.sd-title:before{border-top:1px solid hsla(0,0%,100%,.4)}.sd-sharing{margin-bottom:1em}.sd-content ul{list-style:none!important;margin:0!important;padding:0!important}.sd-content ul li{display:inline-block}.sd-content ul li.share-deprecated{opacity:.5}.sd-content ul li.share-deprecated a span{text-decoration:line-through}.sd-block.sd-gplus{margin:0 0 .5em}.sd-gplus .sd-content{font-size:12px}.sd-content .share-email-error .share-email-error-title{margin:.5em 0}.sd-content .share-email-error .share-email-error-text{font-family:Open Sans,sans-serif;font-size:12px;margin:.5em 0}#sharing_email .sharing_send,.sd-content ul li .option a.share-ustom,.sd-content ul li a.sd-button,.sd-content ul li.advanced a.share-more,.sd-content ul li.preview-item div.option.option-smart-off a,.sd-social-icon .sd-content ul li a.sd-button,.sd-social-icon-text .sd-content ul li a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button,.sd-social-text .sd-content ul li a.sd-button{background:#f8f8f8;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.08);color:#656565!important;display:inline-block;font-family:Open Sans,sans-serif;font-size:12px;font-weight:400;line-height:23px;padding:1px 5px 0 8px;text-decoration:none!important;text-shadow:none}.sd-content ul li .option a.share-ustom span,.sd-content ul li a.sd-button>span,.sd-content ul li.advanced a.share-more span,.sd-content ul li.preview-item div.option.option-smart-off a span,.sd-social-icon-text .sd-content ul li a.sd-button>span,.sd-social-official .sd-content>ul>li .digg_button>a span,.sd-social-official .sd-content>ul>li>a.sd-button span,.sd-social-text .sd-content ul li a.sd-button span{line-height:23px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button{box-shadow:none;line-height:17px;vertical-align:top}.sd-social-official .sd-content ul li a.sd-button>span{line-height:17px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a:before,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button:before,.sd-social-official .sd-content>ul>li .digg_button>a:before,.sd-social-official .sd-content>ul>li>a.sd-button:before{margin-bottom:-1px}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon .sd-content ul li a.sd-button:hover,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:hover,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li .digg_button>a:hover,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-official .sd-content>ul>li>a.sd-button:hover,.sd-social-text .sd-content ul li a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:hover{background:#f6f7f7;border:1px solid #999;color:#555}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:active{box-shadow:inset 0 1px 0 rgba(0,0,0,.16)}.sd-content ul li a.sd-button:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 18px/1 social-logos;text-align:center;vertical-align:top}.sd-social-icon-text ul li a.sd-button:before{position:relative;top:2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-content ul li a.sd-button:before{position:relative;top:2px}}.sd-social-official ul li a.sd-button:before{position:relative;top:-2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-official ul li a.sd-button:before{top:0}}.sd-content ul li{margin:0 0 5px 5px;padding:0}.jp-sharing-input-touch .sd-content ul li{padding-right:10px}.sd-content ul li.preview-item a.sd-button span,.sd-social-icon-text .sd-content ul li a span,.sd-social-official .sd-content ul li a.sd-button span{margin-right:3px}.sd-content ul li.preview-item.no-icon a.sd-button span{margin-right:0}.sd-content ul li.no-icon a:before,.sd-social-text .sd-content ul li a:before{display:none}body .sd-content ul li.share-custom.no-icon a span,body .sd-social-text .sd-content ul li.share-custom a span{background-image:none;background-position:-500px -500px!important;background-repeat:no-repeat!important;height:0;line-height:inherit;padding-right:0}.sd-social-icon .sd-content ul li a.share-more{position:relative;top:-4px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-icon .sd-content ul li a.share-more{top:2px}}@-moz-document url-prefix(){.sd-social-icon .sd-content ul li a.share-more{top:2px}}.sd-social-icon .sd-content ul li a.share-more span{margin-right:3px}.sd-content ul li.share-print div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-print a:before,.sd-social-icon-text .sd-content li.share-print a:before,.sd-social-official .sd-content li.share-print a:before,.sd-social-text .sd-content ul li.share-print a:before{content:"\f469"}.sd-content ul li.share-email div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-email a:before,.sd-social-icon-text .sd-content li.share-email a:before,.sd-social-official .sd-content li.share-email a:before,.sd-social-text .sd-content ul li.share-email a:before{content:"\f410"}.sd-content ul li.share-linkedin div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-linkedin a:before,.sd-social-icon-text .sd-content li.share-linkedin a:before,.sd-social-text .sd-content ul li.share-linkedin a:before{content:"\f207"}.sd-content ul li.share-twitter div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-twitter a:before,.sd-social-icon-text .sd-content li.share-twitter a:before,.sd-social-text .sd-content ul li.share-twitter a:before{content:"\f202"}.sd-content ul li.share-reddit div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-reddit a:before,.sd-social-icon-text .sd-content li.share-reddit a:before,.sd-social-text .sd-content ul li.share-reddit a:before{content:"\f222"}.sd-content ul li.share-tumblr div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-tumblr a:before,.sd-social-icon-text .sd-content li.share-tumblr a:before,.sd-social-text .sd-content ul li.share-tumblr a:before{content:"\f607"}.sd-content ul li.share-pocket div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pocket a:before,.sd-social-icon-text .sd-content li.share-pocket a:before,.sd-social-text .sd-content ul li.share-pocket a:before{content:"\f224"}.sd-content ul li.share-pinterest div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pinterest a:before,.sd-social-icon-text .sd-content li.share-pinterest a:before,.sd-social-text .sd-content ul li.share-pinterest a:before{content:"\f210"}.sd-content ul li.share-facebook div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-facebook a:before,.sd-social-icon-text .sd-content li.share-facebook a:before,.sd-social-text .sd-content ul li.share-facebook a:before{content:"\f203"}.sd-content ul li.share-press-this div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-press-this a:before,.sd-social-icon-text .sd-content li.share-press-this a:before,.sd-social-official .sd-content li.share-press-this a:before,.sd-social-text .sd-content ul li.share-press-this a:before{content:"\f205"}.sd-social-official .sd-content li.share-press-this a:before{color:#2ba1cb}.sd-content ul li.share-telegram div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-telegram a:before,.sd-social-icon-text .sd-content li.share-telegram a:before,.sd-social-official .sd-content li.share-telegram a:before,.sd-social-text .sd-content ul li.share-telegram a:before{content:"\f606"}.sd-social-official .sd-content li.share-telegram a:before{color:#08c}.sd-content ul li.share-skype div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-skype a:before,.sd-social-icon-text .sd-content li.share-skype a:before,.sd-social-text .sd-content ul li.share-skype a:before{content:"\f220"}.sd-content ul li.advanced a.share-more:before,.sd-social-icon .sd-content ul a.share-more:before,.sd-social-icon-text .sd-content a.share-more:before,.sd-social-official .sd-content a.share-more:before,.sd-social-text .sd-content ul a.share-more:before{content:"\f415"}.sd-social-official .sd-content a.share-more:before{color:#2ba1cb}.sd-content ul li.share-jetpack-whatsapp div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-jetpack-whatsapp a:before,.sd-social-icon-text .sd-content li.share-jetpack-whatsapp a:before,.sd-social-official .sd-content li.share-jetpack-whatsapp a:before,.sd-social-text .sd-content ul li.share-jetpack-whatsapp a:before{content:"\f608"}.sd-social-official .sd-content li.share-jetpack-whatsapp a:before{color:#43d854}.sd-social-icon .sd-content ul li[class*=share-].share-jetpack-whatsapp a.sd-button{background:#43d854;color:#fff!important}.sd-content ul li.share-deprecated div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-deprecated a:before,.sd-social-icon-text .sd-content li.share-deprecated a:before,.sd-social-official .sd-content li.share-deprecated a:before{content:"🚫";height:1em;width:1em}.sd-social .sd-button .share-count{background:#2ea2cc;border-radius:10px;color:#fff;display:inline-block;font-size:10px;line-height:1;padding:1px 3px;text-align:center}.sd-social-official .sd-content ul,.sd-social-official .sd-content ul li{line-height:25px!important}.sd-social-official .sd-content>ul>li>a.sd-button span{line-height:1}.sd-social-official .sd-content ul:after{clear:both;content:".";display:block;height:0;visibility:hidden}.sd-social-official .sd-content li.share-press-this a{margin:0 0 5px}.sd-social-official .sd-content ul>li{display:block;float:right;height:25px;margin:0 0 5px 10px!important}.sd-social-official .fb-share-button>span{vertical-align:top!important}.sd-social-official .sd-content .pocket_button iframe{width:98px}.reddit_button iframe{margin-top:1px}.linkedin_button>span,.pinterest_button,.pocket_button iframe,.twitter_button{margin:0!important}.linkedin_button>span,.pinterest_button a{display:block!important}.sd-social-official .sd-content .share-skype{width:55px}body .sd-social-official li a.share-more,body .sd-social-official li.share-custom a,body .sd-social-official li.share-digg a,body .sd-social-official li.share-email a,body .sd-social-official li.share-press-this a,body .sd-social-official li.share-print{position:relative;top:0}body .sd-social-icon .sd-content li.share-custom>a{padding:2px 3px 0;position:relative;top:4px}body .sd-content ul li.share-custom a.share-icon span,body .sd-social-icon .sd-content li.share-custom a span,body .sd-social-icon-text .sd-content li.share-custom a span,body .sd-social-official .sd-content li.share-custom a span,body .sd-social-text .sd-content li.share-custom a span{background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:21px;line-height:16px;margin-right:0;padding:0 19px 0 0}body .sd-social-icon .sd-content li.share-custom a span{padding-right:16px!important;width:0}.sharing-hidden .inner{background:#fff;border:1px solid #ccc;border-radius:2px;box-shadow:0 5px 20px rgba(0,0,0,.2);margin-top:5px;max-width:400px;padding:10px;position:absolute;z-index:2}.sharing-hidden .inner ul{margin:0!important}.sd-social-official .sd-content .sharing-hidden ul>li.share-end{clear:both;height:0!important;margin:0!important}.sharing-hidden .inner:after,.sharing-hidden .inner:before{border-bottom:8px solid #ccc;border-left:6px solid transparent;border-right:6px solid transparent;content:"";display:block;height:0;position:absolute;right:20px;top:-8px;width:0;z-index:1}.sharing-hidden .inner:after{border-bottom:8px solid #fff;border-left:6px solid transparent;border-right:6px solid transparent;top:-7px;z-index:2}.sharing-hidden ul{margin:0}.sd-social-icon .sd-content ul li[class*=share-] a,.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a{border:0;border-radius:50%;-webkit-border-radius:50%;box-shadow:none;height:auto;line-height:1;margin-bottom:0;padding:7px;position:relative;top:-2px;width:auto}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button>span,.sd-social-icon .sd-content ul li[class*=share-] div.option a span{line-height:1}.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a:hover{border:none;opacity:.6}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button:before{top:0}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button.share-custom{padding:8px 8px 6px;top:5px}.sd-social-icon .sd-content ul li a.sd-button.share-more{margin-right:10px}.sd-social-icon .sd-content ul li:first-child a.sd-button.share-more{margin-right:0}.sd-social-icon .sd-button span.share-count{background:#555;border-radius:0;bottom:0;font-size:9px;left:0;position:absolute}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button{background:#e9e9e9;margin-top:2px;text-indent:0}.sd-social-icon .sd-content ul li[class*=share-].share-tumblr a.sd-button{background:#2c4762;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-facebook a.sd-button{background:#1877f2;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-twitter a.sd-button{background:#00acee;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pinterest a.sd-button{background:#ca1f27;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-digg a.sd-button{color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-press-this a.sd-button{background:#4f94d4;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-telegram a.sd-button{background:#08c;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-linkedin a.sd-button{background:#0077b5;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pocket a.sd-button{background:#ee4056;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-reddit a.sd-button{background:#cee3f8;color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-skype a.sd-button{background:#00aff0;color:#fff!important}.sharing-screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}.sharing-screen-reader-text:active,.sharing-screen-reader-text:focus,.sharing-screen-reader-text:hover{clip:auto!important;background-color:#f0f0f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;line-height:normal;padding:15px 23px 14px;right:5px;text-decoration:none;top:5px;width:auto;z-index:100000}#jetpack-source_f_name{display:none!important;position:absolute!important;right:-9000px}.sd-content .share-customize-link{line-height:11px;margin-top:0}.sd-content .share-customize-link a{font-family:Open Sans,sans-serif;font-size:11px}@media print{.sharedaddy.sd-sharing-enabled{display:none}}.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:content-box}.jetpack-slideshow-loading{height:100%;margin:auto;text-align:center}body div.jetpack-slideshow-window * img{background-color:transparent!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{zoom:1;background-color:#000!important;background-color:rgba(0,0,0,.6)!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 hsla(0,0%,100%,.1)!important;border-radius:10em!important;color:#222!important;display:inline-block!important;*display:inline;height:32px!important;line-height:32px!important;margin:0 5px!important;padding:0!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}body.presentation-wrapper-fullscreen-parent,html.presentation-wrapper-fullscreen-parent{overflow:hidden!important}.presentation-wrapper-fullscreen-parent #wpadminbar{display:none}.presentation-wrapper-fullscreen,.presentation-wrapper-fullscreen-parent{bottom:0!important;left:0!important;margin:0!important;min-height:100%!important;min-width:100%!important;padding:0!important;position:absolute!important;right:0!important;top:0!important;z-index:10000!important}.presentation-wrapper-fullscreen{background-color:grey;border:none!important}.presentation-wrapper-fullscreen .nav-arrow-left,.presentation-wrapper-fullscreen .nav-arrow-right{z-index:20001}.presentation-wrapper-fullscreen .nav-fullscreen-button{z-index:20002}.presentation-wrapper{border:1px solid #dcdcde;line-height:normal;margin:20px auto;overflow:hidden}.presentation{margin:0;outline:none;overflow:hidden;position:relative}.presentation,.presentation .step{background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.presentation .step.fade:not(.active){opacity:0}.presentation .slide-content{padding:30px}.presentation .nav-arrow-left,.presentation .nav-arrow-right,.presentation .nav-fullscreen-button{background-repeat:no-repeat;opacity:0;position:absolute;transition:opacity .25s;width:34px;z-index:2}.presentation .nav-arrow-left,.presentation .nav-arrow-right{background-image:url(../modules/shortcodes/images/slide-nav.png);background-size:450% 61px;height:100%}.presentation .nav-arrow-left{background-position:4px 50%;right:0}.presentation .nav-arrow-right{background-position:-120px 50%;left:0}.presentation .nav-fullscreen-button{background-image:url(../modules/shortcodes/images/expand.png);background-size:100% 100%;bottom:0;height:32px;left:0;margin:4px;width:32px;z-index:3}.presentation:hover .nav-arrow-left,.presentation:hover .nav-arrow-right{opacity:1}.presentation:hover .nav-fullscreen-button{opacity:.8}.presentation-wrapper-fullscreen .nav-fullscreen-button{background-image:url(../modules/shortcodes/images/collapse.png)}.presentation .autoplay-overlay{background-color:#dcdcde;background-color:rgba(0,0,0,.75);border-radius:50px;display:table;height:15%;margin:30% 10%;position:relative;transition:opacity .5s;width:80%;z-index:100}.presentation .autoplay-overlay .overlay-msg{color:#fff;display:table-cell;position:relative;text-align:center;vertical-align:middle}.presentation .will-fade{opacity:0}.presentation .do-fade{opacity:1;transition:opacity .5s}div.jetpack-quiz{background-color:#f3f3f3;border:1px solid #deede3;border-radius:.2em;line-height:1.3em;margin-bottom:2em;padding:1em}div.jetpack-quiz div.jetpack-quiz-question{font-weight:700;margin-bottom:.5em}div.jetpack-quiz div.jetpack-quiz-answer{border-bottom:1px dotted #999;cursor:pointer;margin-bottom:.5em;padding:1em 1em 1em 0}div.jetpack-quiz div.jetpack-quiz-answer.last{border-bottom:0;margin-bottom:0;padding-bottom:0}div.jetpack-quiz div.jetpack-quiz-answer.correct{color:green}div.jetpack-quiz div.jetpack-quiz-answer.wrong{color:red}div.jetpack-quiz div.jetpack-quiz-answer div.jetpack-quiz-explanation{display:none}div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation,div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation{color:#000;display:block;font-size:90%;margin-top:1em}div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation tt,div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation tt{font-size:85%}div.jetpack-quiz pre{background:transparent;font:15px Monaco,Consolas,Andale Mono,DejaVu Sans Mono,monospace;margin:0;padding:0}.jetpack-quiz-options{margin-top:12px;text-align:left}.jetpack-quiz-count{color:#646970;float:right;font-size:12px}.jetpack-quiz-option-button{cursor:pointer;margin-right:12px}.jetpack-quiz-option-button:hover svg{background:#3c434a}.jetpack-quiz-option-button svg{fill:#fff;background:#000;border-radius:50%;display:inline-block;height:24px;width:24px}.jetpack-quiz-wrapper .jetpack-quiz:first-of-type .jetpack-quiz-option-button:first-of-type,.jetpack-quiz-wrapper .jetpack-quiz:last-of-type .jetpack-quiz-option-button:last-of-type{display:none}#subscribe-email input{width:95%}.comment-subscription-form{margin-bottom:1em}.comment-subscription-form .subscribe-label{display:inline!important}.jetpack-video-wrapper{margin-bottom:1.6em}.jetpack-video-wrapper>.wp-video,.jetpack-video-wrapper>embed,.jetpack-video-wrapper>iframe,.jetpack-video-wrapper>object{margin-bottom:0}.jetpack-social-navigation ul{display:block;margin:0 0 1.5em;padding:0}.jetpack-social-navigation li{display:inline-block;line-height:1;margin:0}.jetpack-social-navigation a{border:0;height:1em;text-decoration:none;width:1em}.jetpack-social-navigation-svg .icon{fill:currentColor;color:inherit;height:1em;vertical-align:middle;width:1em}.jetpack-social-navigation-genericons a:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;content:"\f415";display:inline-block;font-family:Genericons;font-size:1em;font-style:normal;font-weight:400;height:1em;line-height:1;text-decoration:inherit;vertical-align:top;width:1em}.jetpack-social-navigation-genericons a[href*="codepen.io"]:before{content:"\f216"}.jetpack-social-navigation-genericons a[href*="digg.com"]:before{content:"\f221"}.jetpack-social-navigation-genericons a[href*="dribbble.com"]:before{content:"\f201"}.jetpack-social-navigation-genericons a[href*="dropbox.com"]:before{content:"\f225"}.jetpack-social-navigation-genericons a[href*="mailto:"]:before{content:"\f410"}.jetpack-social-navigation-genericons a[href*="facebook.com"]:before{content:"\f203"}.jetpack-social-navigation-genericons a[href*="flickr.com"]:before{content:"\f211"}.jetpack-social-navigation-genericons a[href*="foursquare.com"]:before{content:"\f226"}.jetpack-social-navigation-genericons a[href*="github.com"]:before{content:"\f200"}.jetpack-social-navigation-genericons a[href*="plus.google.com"]:before{content:"\f206"}.jetpack-social-navigation-genericons a[href*="instagram.com"]:before{content:"\f215"}.jetpack-social-navigation-genericons a[href*="linkedin.com"]:before{content:"\f208"}.jetpack-social-navigation-genericons a[href*="path.com"]:before{content:"\f219"}.jetpack-social-navigation-genericons a[href*="pinterest."]:before{content:"\f210"}.jetpack-social-navigation-genericons a[href*="getpocket.com"]:before{content:"\f224"}.jetpack-social-navigation-genericons a[href*="polldaddy.com"]:before{content:"\f217"}.jetpack-social-navigation-genericons a[href*="reddit.com"]:before{content:"\f222"}.jetpack-social-navigation-genericons a[href$="/feed/"]:before{content:"\f413"}.jetpack-social-navigation-genericons a[href*="skype:"]:before{content:"\f220"}.jetpack-social-navigation-genericons a[href*="spotify.com"]:before{content:"\f515"}.jetpack-social-navigation-genericons a[href*="stumbleupon.com"]:before{content:"\f223"}.jetpack-social-navigation-genericons a[href*="tumblr.com"]:before{content:"\f214"}.jetpack-social-navigation-genericons a[href*="twitch.tv"]:before{content:"\f516"}.jetpack-social-navigation-genericons a[href*="twitter.com"]:before{content:"\f202"}.jetpack-social-navigation-genericons a[href*="vimeo.com"]:before{content:"\f212"}.jetpack-social-navigation-genericons a[href*="vine.co"]:before{content:"\f517"}.jetpack-social-navigation-genericons a[href*="wordpress.com"]:before,.jetpack-social-navigation-genericons a[href*="wordpress.org"]:before{content:"\f205"}.jetpack-social-navigation-genericons a[href*="youtube.com"]:before{content:"\f213"}.tiled-gallery{clear:both;margin:0 0 20px;overflow:hidden}.tiled-gallery img{margin:2px!important}.tiled-gallery .gallery-group{float:right;position:relative}.tiled-gallery .tiled-gallery-item{float:right;margin:0;position:relative;width:inherit}.tiled-gallery .gallery-row{overflow:hidden}.tiled-gallery .tiled-gallery-item a{background:transparent;border:none;color:inherit;margin:0;padding:0;text-decoration:none;width:auto}.tiled-gallery .tiled-gallery-item img,.tiled-gallery .tiled-gallery-item img:hover{background:none;border:none;box-shadow:none;max-width:100%;padding:0;vertical-align:middle}.tiled-gallery-caption{background:#f0f0f1;background:hsla(0,0%,100%,.8);bottom:0;color:#333;font-size:13px;font-weight:400;overflow:hidden;padding:10px 0;position:absolute;text-indent:10px;text-overflow:ellipsis;white-space:nowrap;width:100%}.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption{font-size:11px}.widget-gallery .tiled-gallery-unresized{height:0;overflow:hidden;visibility:hidden}.tiled-gallery .tiled-gallery-item img.grayscale{position:absolute;right:0;top:0}.tiled-gallery .tiled-gallery-item img.grayscale:hover{opacity:0}.tiled-gallery.type-circle .tiled-gallery-item img{border-radius:50%!important;-o-object-fit:cover;object-fit:cover}.tiled-gallery.type-circle .tiled-gallery-caption{display:none}.tiled-gallery.type-square .tiled-gallery-item img{-o-object-fit:cover;object-fit:cover}.jetpack-display-remote-posts{margin:5px 0 20px}.jetpack-display-remote-posts h4{margin:5px 0;padding:0}.jetpack-display-remote-posts p{margin:0;padding:0}.jetpack-display-remote-posts img{max-width:100%}.widget-grofile h4{margin:1em 0 .5em}.widget-grofile ul.grofile-urls{margin-right:0;overflow:hidden}.widget-grofile ul.grofile-accounts li{display:inline;list-style:none}.widget-grofile ul.grofile-accounts li:before{content:""!important}.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite.png);background-repeat:no-repeat;float:right;height:16px;margin-bottom:8px;margin-left:8px;width:16px}.rtl .widget-grofile .grofile-accounts-logo{margin-left:0;margin-right:8px}.grofile-thumbnail{max-width:100%;width:500px}@media only screen and (-o-min-device-pixel-ratio:3/2),only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite-2x.png);background-size:16px 784px}}div[class^=gr_custom_container]{background-color:#fff;border:1px solid gray;border-radius:10px;color:#000;padding:10px 5px}div[class^=gr_custom_container] a{color:#000}h2[class^=gr_custom_header]{display:none}div[class^=gr_custom_each_container]{border-bottom:1px solid #a7aaad;clear:both;margin-bottom:10px;overflow:auto;padding-bottom:4px;width:100%}div[class^=gr_custom_book_container]{float:left;height:60px;margin-right:4px;overflow:hidden;width:39px}div[class^=gr_custom_author]{font-size:10px}div[class^=gr_custom_tags]{color:gray;font-size:10px}div[class^=gr_custom_rating]{display:none}.widget_wpcom_social_media_icons_widget ul{list-style-type:none;margin-right:0}.widget_wpcom_social_media_icons_widget ul li{border:0;display:inline;margin-left:.5em}.widget_wpcom_social_media_icons_widget li a{border:0;text-decoration:none}.widget_wpcom_social_media_icons_widget .genericon{font-family:Genericons}.widget_wpcom_social_media_icons_widget .screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}.widget_wpcom_social_media_icons_widget .screen-reader-text:active,.widget_wpcom_social_media_icons_widget .screen-reader-text:focus,.widget_wpcom_social_media_icons_widget .screen-reader-text:hover{clip:auto!important;background-color:#f0f0f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;line-height:normal;padding:15px 23px 14px;right:5px;text-decoration:none;top:5px;width:auto;z-index:100000}.widgets-grid-layout{width:100%}.widgets-grid-layout:after,.widgets-grid-layout:before{content:" ";display:table}.widgets-grid-layout:after{clear:both}.widget-grid-view-image{float:right;max-width:50%}.widget-grid-view-image a{display:block;margin:0 0 4px 2px}.widget-grid-view-image:nth-child(2n){float:left}.widget-grid-view-image:nth-child(2n) a{margin:0 2px 4px 0}.widgets-grid-layout .widget-grid-view-image img{height:auto;max-width:100%}.widgets-list-layout{list-style-type:none;margin:0;padding:0}.widgets-list-layout li:after,.widgets-list-layout li:before{content:"";display:table}.widgets-list-layout li:after{clear:both}.widgets-list-layout li{zoom:1;list-style-type:none!important;margin-bottom:1em}.widgets-list-layout .widgets-list-layout-blavatar{float:right;height:auto;max-width:40px;width:21.276596%}.widgets-list-layout-links{float:left;width:73.404255%}.widgets-list-layout span{opacity:.5}.widgets-list-layout span:hover{opacity:.8}.jetpack-image-container:after{clear:both}.jetpack-image-container:after,.jetpack-image-container:before{content:"";display:table}.widgets-multi-column-grid ul{list-style-type:none;margin:0;overflow:hidden;padding:0}.widgets-multi-column-grid ul li{background:none;border:none;clear:none;float:right;list-style-type:none!important;margin:0 0 -3px -5px;padding:0 0 6px 8px}.widgets-multi-column-grid ul li a{background:none;border:0;margin:0;padding:0}.widgets-multi-column-grid .avatar{vertical-align:middle}.widget_jetpack_my_community .avatar-240,.widget_jetpack_my_community .avatar-48{max-height:48px;max-width:48px}.widget.widget_authors li>ul,.widget_authors>ul{margin-right:inherit;padding-right:0}.widget_authors ul li li{padding-right:0}.widget_authors>ul>li{list-style:none;margin-bottom:1em}.widget_authors>ul>li+li{border-top:0}.widget.widget_authors img{box-shadow:none;margin-bottom:5px;margin-left:5px;vertical-align:middle}.wpcnt{line-height:2;text-align:center}.wpa{display:inline-block;max-width:100%;overflow:hidden;position:relative}.wpa-about{border-bottom:none!important;box-shadow:none!important;color:#888;display:block;font:10px/1 Open Sans,Arial,sans-serif!important;left:0;margin-top:0;opacity:.85;position:absolute;right:0;text-align:right!important;text-decoration:none!important;top:5px}.wpa .u>div{display:block;margin-bottom:1em;margin-top:5px}div.wpa>div{margin-top:20px}.wpa .u .adsbygoogle{background-color:transparent;display:block;margin-bottom:1em;margin-top:17px}.widget_eu_cookie_law_widget{animation:fadeIn .8s;border:none;bottom:1em;left:1em;margin:0;padding:0;position:fixed;right:1em;width:auto;z-index:50001}@keyframes fadeIn{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.widget_eu_cookie_law_widget.widget.top{bottom:auto;top:1em}.admin-bar .widget_eu_cookie_law_widget.widget.top{top:3em}amp-consent.widget_eu_cookie_law_widget.widget.top{margin:0;top:1em}.admin-bar amp-consent.widget_eu_cookie_law_widget.widget.top{margin-top:3em;top:0}#eu-cookie-law{background-color:#fff;border:1px solid #dedede;color:#2e4467;font-size:12px;line-height:1.5;overflow:hidden;padding:6px 15px 6px 6px;position:relative}#eu-cookie-law a,#eu-cookie-law a:active,#eu-cookie-law a:visited{color:inherit;cursor:inherit;text-decoration:underline}#eu-cookie-law a:hover{cursor:pointer;text-decoration:none}#eu-cookie-law.negative{background-color:#000;border:none;color:#fff}#eu-cookie-law.hide{opacity:0;transition:opacity .4s,visibility .4s;visibility:hidden}#eu-cookie-law form{margin-bottom:0;position:static}#eu-cookie-law input,#eu-cookie-law input:focus,#eu-cookie-law input:hover{background:#f3f3f3;border:1px solid #dedede;border-radius:4px;-moz-border-radius:3px;-webkit-border-radius:3px;color:#2e4453;cursor:pointer;display:inline;float:left;font-family:inherit;font-size:14px;font-weight:inherit;line-height:inherit;margin:0 5% 0 0;padding:8px 12px;position:static;text-transform:none}#eu-cookie-law.negative input,#eu-cookie-law.negative input:focus,#eu-cookie-law.negative input:hover{background:#282828;border-color:#535353;color:#fff}@media (max-width:600px){#eu-cookie-law{padding-bottom:55px}#eu-cookie-law input.accept{bottom:8px;left:8px;position:absolute}}.widget_eu_cookie_law_widget .customize-partial-edit-shortcut>button{right:0}.flickr-images{text-align:center}.flickr-size-thumbnail .flickr-images{align-content:space-between;align-items:center;display:flex;flex-flow:row wrap;justify-content:center}.flickr-images img{margin:5px;max-width:100%}.wpcom-instagram-images{grid-gap:.5rem;display:grid;grid-auto-columns:1fr}.wpcom-instagram-images:after,.wpcom-instagram-images:before{content:none}.wpcom-instagram-images a{display:block;margin:4px 2px}.wpcom-instagram-columns-2 a,.wpcom-instagram-columns-3 a{display:inline-block;vertical-align:top}.wpcom-instagram-columns-2 a{width:calc(50% - 8px)}.wpcom-instagram-columns-3 a{width:calc(33.3333% - 8px)}.wpcom-instagram-images .sq-bg-image{background-position:50%;background-repeat:no-repeat;background-size:cover;height:0;overflow:hidden;padding-bottom:100%}.wpcom-instagram-columns-2{grid-template-columns:repeat(2,1fr)}.wpcom-instagram-columns-3{grid-template-columns:repeat(3,1fr)}@supports (display:grid){.wpcom-instagram-images a{display:block;margin:0}.wpcom-instagram-columns-2 a,.wpcom-instagram-columns-3 a{width:auto}}.jetpack-search-filters-widget__sub-heading{font-size:inherit;font-weight:700;margin:0 0 .5em;padding:0}.jetpack-search-form+.jetpack-search-filters-widget__sub-heading{margin-bottom:.5em!important;margin-top:1.5em}.jetpack-search-filters-widget__clear{margin-bottom:.5em;margin-top:.5em}.jetpack-search-sort-wrapper{margin-bottom:1.5em;margin-top:1em}.jetpack-search-sort-wrapper label{display:inherit}.widget_search .jetpack-search-filters-widget__filter-list input[type=checkbox]{height:auto;width:auto}ul.jetpack-search-filters-widget__filter-list li{border:none;list-style:none;padding:0}ul.jetpack-search-filters-widget__filter-list li a{text-decoration:none}ul.jetpack-search-filters-widget__filter-list li a:hover{box-shadow:none}ul.jetpack-search-filters-widget__filter-list li label{display:inherit;font-weight:inherit}.jetpack-search-filters-widget__filter-list{list-style:none}ul.jetpack-search-filters-widget__filter-list{margin-bottom:1.5em}body.search .jetpack-search-form input[name=s]::placeholder{color:transparent}body.search .jetpack-search-form input[name=s].show-placeholder::placeholder{color:inherit}@media screen and (min-width:400px){.widget.jetpack-simple-payments .jetpack-simple-payments-product{flex-direction:column}.widget.jetpack-simple-payments .jetpack-simple-payments-details{padding-right:0}}.jetpack_widget_social_icons li,.jetpack_widget_social_icons ul{list-style:none}.jetpack_widget_social_icons ul{display:block;margin:0 0 1.5em;padding:0}.jetpack_widget_social_icons ul li{border:0;display:inline-block;line-height:1;margin:0;padding:0}.jetpack_widget_social_icons ul li:after,.jetpack_widget_social_icons ul li:before{display:none}.jetpack_widget_social_icons a{border:0;box-shadow:none;display:block;height:24px;text-decoration:none;width:24px}.jetpack_widget_social_icons svg{fill:currentColor;color:inherit;height:inherit;vertical-align:middle;width:inherit}.jetpack_widget_social_icons ul.size-small a{height:24px;width:24px}.jetpack_widget_social_icons ul.size-medium a{height:32px;width:32px}.jetpack_widget_social_icons ul.size-large a{height:48px;width:48px}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px}.milestone-widget{margin-bottom:1em}.milestone-content{line-height:2;margin-top:5px;max-width:100%;padding:0;text-align:center}.milestone-header{background-color:var(--milestone-text-color,#111);color:var(--milestone-bg-color,#fff);line-height:1.3;margin:0;padding:.8em}.milestone-header .date,.milestone-header .event{display:block}.milestone-header .event{font-size:120%}.milestone-countdown .difference{display:block;font-size:500%;font-weight:700;line-height:1.2}.milestone-countdown,.milestone-message{background-color:var(--milestone-bg-color,#fff);border:1px solid var(--milestone-border-color,#767676);border-top:0;color:var(--milestone-text-color,#111);padding-bottom:1em}.milestone-message{padding-top:1em} \ No newline at end of file
diff --git a/plugins/jetpack/css/jetpack.css b/plugins/jetpack/css/jetpack.css
index a9536b61..a7251d53 100644
--- a/plugins/jetpack/css/jetpack.css
+++ b/plugins/jetpack/css/jetpack.css
@@ -1,33 +1 @@
-/*!
-* Do not modify this file directly. It is concatenated from individual module CSS files.
-*/
-@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format( 'woff' );font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.jp-carousel-overlay .swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.jp-carousel-overlay .swiper-container-vertical>.swiper-wrapper{flex-direction:column}.jp-carousel-overlay .swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.jp-carousel-overlay .swiper-container-android .swiper-slide,.jp-carousel-overlay .swiper-wrapper{transform:translate3d(0,0,0)}.jp-carousel-overlay .swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.jp-carousel-overlay .swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.jp-carousel-overlay .swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.jp-carousel-overlay .swiper-container-pointer-events{touch-action:pan-y}.jp-carousel-overlay .swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.jp-carousel-overlay .swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.jp-carousel-overlay .swiper-slide-invisible-blank{visibility:hidden}.jp-carousel-overlay .swiper-container-autoheight,.jp-carousel-overlay .swiper-container-autoheight .swiper-slide{height:auto}.jp-carousel-overlay .swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.jp-carousel-overlay .swiper-container-3d{perspective:1200px}.jp-carousel-overlay .swiper-container-3d .swiper-cube-shadow,.jp-carousel-overlay .swiper-container-3d .swiper-slide,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top,.jp-carousel-overlay .swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.jp-carousel-overlay .swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.jp-carousel-overlay .swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.jp-carousel-overlay .swiper-button-next.swiper-button-disabled,.jp-carousel-overlay .swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial;line-height:1}.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next{left:10px;right:auto}.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after{content:'prev'}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:'next'}.jp-carousel-overlay .swiper-button-next.swiper-button-white,.jp-carousel-overlay .swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.jp-carousel-overlay .swiper-button-next.swiper-button-black,.jp-carousel-overlay .swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.jp-carousel-overlay .swiper-button-lock{display:none}.jp-carousel-overlay .swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.jp-carousel-overlay .swiper-pagination.swiper-pagination-hidden{opacity:0}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets,.jp-carousel-overlay .swiper-pagination-custom,.jp-carousel-overlay .swiper-pagination-fraction{bottom:10px;left:0;width:100%}.jp-carousel-overlay .swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:50%;background:#000;opacity:.2}.jp-carousel-overlay button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.jp-carousel-overlay .swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.jp-carousel-overlay .swiper-pagination-bullet-active{opacity:1;background:var(--swiper-pagination-color,var(--swiper-theme-color))}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.jp-carousel-overlay .swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.jp-carousel-overlay .swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.jp-carousel-overlay .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.jp-carousel-overlay .swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-progressbar,.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.jp-carousel-overlay .swiper-pagination-white{--swiper-pagination-color:#ffffff}.jp-carousel-overlay .swiper-pagination-black{--swiper-pagination-color:#000000}.jp-carousel-overlay .swiper-pagination-lock{display:none}.jp-carousel-overlay .swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.jp-carousel-overlay .swiper-zoom-container>canvas,.jp-carousel-overlay .swiper-zoom-container>img,.jp-carousel-overlay .swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.jp-carousel-overlay .swiper-slide-zoomed{cursor:move}.jp-carousel-overlay .swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}
-:root{--jp-carousel-primary-color:#fff;--jp-carousel-primary-subtle-color:#999;--jp-carousel-bg-color:#000;--jp-carousel-bg-faded-color:#222;--jp-carousel-border-color:#3a3a3a}:root .jp-carousel-light{--jp-carousel-primary-color:#000;--jp-carousel-primary-subtle-color:#646970;--jp-carousel-bg-color:#fff;--jp-carousel-bg-faded-color:#fbfbfb;--jp-carousel-border-color:#dcdcde}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{background-image:none}[data-carousel-extra]:not(.jp-carousel-wrap) img,[data-carousel-extra]:not(.jp-carousel-wrap) img+figcaption{cursor:pointer}.jp-carousel-wrap *{line-height:inherit}.jp-carousel-wrap.swiper-container{height:auto;width:100vw}.jp-carousel-overlay .swiper-zoom-container{background-size:200%;background-repeat:no-repeat;background-position:center}.jp-carousel-overlay .swiper-slide.swiper-slide-next .swiper-zoom-container img,.jp-carousel-overlay .swiper-slide.swiper-slide-prev .swiper-zoom-container img{transition:none!important}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{opacity:.5;transition:.5s opacity ease-out;height:initial;width:initial;padding:20px 40px;background-image:none}.jp-carousel-overlay .swiper-button-next:hover,.jp-carousel-overlay .swiper-button-prev:hover{opacity:1}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:none}.jp-carousel-overlay .swiper-button-next svg,.jp-carousel-overlay .swiper-button-prev svg{height:30px;width:28px;background:var(--jp-carousel-bg-color);border-radius:4px}.jp-carousel-overlay{font-family:'Helvetica Neue',sans-serif!important;z-index:2147483647;overflow-x:hidden;overflow-y:auto;direction:ltr;position:fixed;top:0;right:0;bottom:0;left:0;background:var(--jp-carousel-bg-color)}.jp-carousel-overlay *{box-sizing:border-box}.jp-carousel-overlay h1:before,.jp-carousel-overlay h2:before,.jp-carousel-overlay h3:before{content:none;display:none}.jp-carousel-overlay .swiper-container .swiper-button-prev{left:0;right:auto}.jp-carousel-overlay .swiper-container .swiper-button-next{right:0;left:auto}.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-prev{transform:scaleX(-1)}.jp-carousel-container{display:grid;grid-template-rows:1fr 64px;height:100%}.jp-carousel-hide-controls .jp-carousel-container{grid-template-rows:1fr}.jp-carousel-hide-controls .swiper-wrapper{margin-top:-32px}.jp-carousel-hide-controls .jp-swiper-button-next,.jp-carousel-hide-controls .jp-swiper-button-prev{margin-top:-54px}.jp-carousel-msg{font-family:'Open Sans',sans-serif;font-style:normal;display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:center;margin:25px 20px 0 2px;background-color:var(--jp-carousel-primary-color);border-left:4px solid #ffba00;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.jp-carousel-info{display:flex;flex-direction:column;text-align:left!important;-webkit-font-smoothing:subpixel-antialiased!important;z-index:100;background-color:var(--jp-carousel-bg-color);transition:opacity .2s ease-out;opacity:1}.jp-carousel-hide-controls .jp-carousel-info{visibility:hidden;height:0;overflow:hidden}.jp-carousel-info-footer{position:relative;background-color:var(--jp-carousel-bg-color);height:64px;display:flex;align-items:center;justify-content:space-between;width:100vw}.jp-carousel-info-extra{display:none;background-color:var(--jp-carousel-bg-color);padding:35px;width:100vw;border-top:1px solid var(--jp-carousel-bg-faded-color)}.jp-carousel-title-and-caption{margin-bottom:15px}.jp-carousel-info-extra.jp-carousel-show{display:block}.jp-carousel-info ::selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-info ::-moz-selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-photo-info{left:0!important;width:100%!important}.jp-carousel-comments-wrapper{padding:0;width:100%!important;display:none}.jp-carousel-comments-wrapper.jp-carousel-show{display:block}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:none}.jp-carousel-transitions .jp-carousel-photo-info{transition:.4s ease-out}.jp-carousel-buttons{margin:-18px -20px 15px;padding:8px 10px;border-bottom:1px solid #222;background:#222;text-align:center}div.jp-carousel-buttons a{border:none!important;color:var(--jp-carousel-primary-subtle-color);font:normal 11px/1.2em 'Helvetica Neue',sans-serif!important;letter-spacing:0!important;padding:5px 2px 5px 0;text-decoration:none!important;text-shadow:none!important;vertical-align:middle;-webkit-font-smoothing:subpixel-antialiased}div.jp-carousel-buttons a:hover{color:var(--jp-carousel-primary-color);border:none!important}.jp-carousel-transitions div.jp-carousel-buttons a:hover{transition:none!important}.jp-carousel-slide,.jp-carousel-slide img{transform:translate3d(0,0,0)}.jp-carousel-close-hint{cursor:default;letter-spacing:0!important;position:fixed;top:20px;right:30px;padding:10px;text-align:right;width:45px;height:45px;z-index:15;color:var(--jp-carousel-primary-color);cursor:pointer;transition:opacity .2s ease-out}.jp-carousel-transitions .jp-carousel-close-hint{transition:color .2s linear}.jp-carousel-close-hint svg{padding:3px 2px;background:var(--jp-carousel-bg-color);border-radius:4px}.jp-carousel-close-hint:hover{color:var(--jp-carousel-primary-color)}.jp-carousel-close-hint:hover span{border-color:var(--jp-carousel-primary-color)}.jp-carousel-pagination-container{flex:1;margin:0 15px 0 35px}.jp-carousel-pagination,.jp-swiper-pagination{color:var(--jp-carousel-primary-color);font-size:15px;font-weight:400;white-space:nowrap;display:none;position:static!important}.jp-carousel-pagination-container .swiper-pagination{text-align:left;line-height:8px}.jp-carousel-pagination{padding-left:5px}.jp-swiper-pagination .swiper-pagination-bullet{background:var(--jp-carousel-primary-subtle-color);margin:0 9px}.jp-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background:var(--jp-carousel-primary-color)}.jp-swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active){background:var(--jp-carousel-primary-color);opacity:.5}.jp-carousel-info-footer .jp-carousel-photo-title-container{flex-basis:50vw;flex:4;justify-content:center;overflow:hidden;margin:0}.jp-carousel-photo-caption,.jp-carousel-photo-title{background:0 0!important;border:none!important;display:inline-block;font:normal 20px/1.3em 'Helvetica Neue',sans-serif;line-height:normal;letter-spacing:0!important;margin:0 0 10px 0;padding:0;overflow:hidden;text-shadow:none!important;text-transform:none!important;color:var(--jp-carousel-primary-color)}.jp-carousel-info-footer .jp-carousel-photo-caption{text-align:center;font-size:15px;white-space:nowrap;color:var(--jp-carousel-primary-subtle-color);cursor:pointer;margin:0;text-overflow:ellipsis}.jp-carousel-info-footer .jp-carousel-photo-caption p{margin:0}.jp-carousel-photo-title{font-size:32px;margin-bottom:2px}.jp-carousel-photo-description{color:var(--jp-carousel-primary-subtle-color);font-size:16px;margin:25px 0;width:100%}.jp-carousel-photo-description{overflow:hidden;overflow-wrap:break-word}.jp-carousel-photo-description p{color:var(--jp-carousel-primary-subtle-color);line-height:1.4;margin-bottom:0}.jp-carousel-comments p a,.jp-carousel-info h2 a,.jp-carousel-photo-description p a{color:var(--jp-carousel-primary-color)!important;border:none!important;text-decoration:underline!important;font-weight:400!important;font-style:normal!important}.jp-carousel-photo-description p b,.jp-carousel-photo-description p strong{font-weight:700;color:var(--jp-carousel-primary-subtle-color)}.jp-carousel-photo-description p em,.jp-carousel-photo-description p i{font-style:italic;color:var(--jp-carousel-primary-subtle-color)}.jp-carousel-comments p a:hover,.jp-carousel-info h2 a:hover,.jp-carousel-photo-description p a:hover{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-photo-description p:empty{display:none}.jp-carousel-comments-wrapper h1:after,.jp-carousel-comments-wrapper h1:before,.jp-carousel-photo-info h1:after,.jp-carousel-photo-info h1:before{content:none!important}.jp-carousel-caption{font-size:14px;font-weight:400;margin:0}.jp-carousel-image-meta{color:var(--jp-carousel-primary-color);font-size:13px;font:12px/1.4 'Helvetica Neue',sans-serif!important;width:100%;display:none}.jp-carousel-image-meta.jp-carousel-show{display:block}.jp-carousel-image-meta h5,.jp-carousel-image-meta li{font-family:'Helvetica Neue',sans-serif!important;position:inherit!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;background:0 0!important;border:none!important;font-weight:400!important;line-height:1.3em!important}.jp-carousel-image-meta ul{margin:0!important;padding:0!important;list-style:none!important}.jp-carousel-image-meta li{width:48%!important;display:inline-block!important;vertical-align:top!important;margin:0 2% 15px 0!important;color:var(--jp-carousel-primary-color)!important;font-size:13px!important}.jp-carousel-image-meta h5{color:var(--jp-carousel-primary-subtle-color)!important;text-transform:uppercase!important;font-size:10px!important;margin:0 0 2px!important;letter-spacing:.1em!important}a.jp-carousel-image-download{display:inline-block;clear:both;color:var(--jp-carousel-primary-subtle-color);line-height:1;font-weight:400;font-size:14px;text-decoration:none}a.jp-carousel-image-download svg{display:inline-block;vertical-align:middle;margin:0 3px;padding-bottom:2px}a.jp-carousel-image-download span.photo-size{font-size:11px;border-radius:1em;margin-left:2px;display:inline-block}a.jp-carousel-image-download span.photo-size-times{padding:0 1px 0 2px}.jp-carousel-comments{font:15px/1.7 'Helvetica Neue',sans-serif!important;font-weight:400;background:none transparent;width:100%;bottom:10px;margin-top:20px}.jp-carousel-comments p a:active,.jp-carousel-comments p a:focus,.jp-carousel-comments p a:hover{color:var(--jp-carousel-primary-color)!important}.jp-carousel-comment{background:none transparent;color:var(--jp-carousel-primary-subtle-color);overflow:auto;width:100%;display:flex}.jp-carousel-comment+.jp-carousel-comment{margin-top:20px}.jp-carousel-comment:last-of-type{margin-bottom:20px}.jp-carousel-comment p{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-comment .comment-author{font-size:15px;font-weight:500;padding:0;width:auto;display:inline;float:none;border:none;margin:0}.jp-carousel-comment .comment-author a{color:var(--jp-carousel-primary-color)}.jp-carousel-comment .comment-gravatar{float:none;margin-right:10px}.jp-carousel-comment .comment-content{border:none;padding:0}.jp-carousel-comment .avatar{margin:0;border-radius:4px;border:none!important;padding:0!important;background-color:transparent!important;min-width:64px;min-height:64px;width:64px;height:64px}.jp-carousel-comment .comment-date{color:var(--jp-carousel-primary-subtle-color);font-size:11px;border-bottom:1px solid var(--jp-carousel-bg-faded-color);margin-bottom:6px}#jp-carousel-comment-form{margin:0 0 10px!important;width:100%}#jp-carousel-comment-form.jp-carousel-is-disabled{opacity:.5;pointer-events:none}textarea#jp-carousel-comment-form-comment-field{background:var(--jp-carousel-bg-faded-color);border:1px solid var(--jp-carousel-border-color);color:var(--jp-carousel-primary-subtle-color);font:16px/1.4 'Helvetica Neue',sans-serif!important;width:100%;padding:10px 10px 5px;margin:0;float:none;height:147px;box-shadow:inset 2px 2px 2px rgba(0,0,0,.1);border-radius:3px;overflow:hidden;box-sizing:border-box}textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder{color:#555}textarea#jp-carousel-comment-form-comment-field:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder{color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-loading-overlay{display:none;position:fixed;top:0;bottom:0;left:0;right:0}#jp-carousel-loading-wrapper{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw}#jp-carousel-library-loading,#jp-carousel-library-loading:after{border-radius:50%;width:40px;height:40px}#jp-carousel-library-loading{float:left;margin:22px 0 0 10px;font-size:10px;position:relative;text-indent:-9999em;border-top:8px solid rgba(255,255,255,.2);border-right:8px solid rgba(255,255,255,.2);border-bottom:8px solid rgba(255,255,255,.2);border-left:8px solid var(--jp-carousel-primary-color);transform:translateZ(0);animation:load8 1.1s infinite linear}#jp-carousel-comment-form-spinner,#jp-carousel-comment-form-spinner:after{border-radius:50%;width:20px;height:20px}#jp-carousel-comment-form-spinner{display:none;float:left;margin:22px 0 0 10px;font-size:10px;position:absolute;text-indent:-9999em;border-top:4px solid rgba(255,255,255,.2);border-right:4px solid rgba(255,255,255,.2);border-bottom:4px solid rgba(255,255,255,.2);border-left:4px solid var(--jp-carousel-primary-color);transform:translateZ(0);animation:load8 1.1s infinite linear;margin:0 auto;top:calc(50% - 15px);left:0;bottom:0;right:0}@keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.jp-carousel-info-content-wrapper{max-width:800px;margin:auto}#jp-carousel-comment-form-submit-and-info-wrapper{display:none;overflow:hidden;width:100%}#jp-carousel-comment-form-commenting-as input{background:var(--jp-carousel-bg-color);border:1px solid var(--jp-carousel-border-color);color:var(--jp-carousel-primary-subtle-color);font:16px/1.4 'Helvetica Neue',sans-serif!important;padding:10px;float:left;box-shadow:inset 2px 2px 2px rgba(0,0,0,.2);border-radius:2px;width:285px}#jp-carousel-comment-form-commenting-as input:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-comment-form-commenting-as p{font:400 13px/1.7 'Helvetica Neue',sans-serif!important;margin:22px 0 0;float:left}#jp-carousel-comment-form-commenting-as fieldset{float:left;border:none;margin:20px 0 0 0;padding:0;clear:both}#jp-carousel-comment-form-commenting-as label{font:400 13px/1.7 'Helvetica Neue',sans-serif!important;margin:0 20px 3px 0;float:left;width:100px}#jp-carousel-comment-form-button-submit{margin-top:20px;margin-left:auto;display:block;border:solid 1px var(--jp-carousel-primary-color);background:var(--jp-carousel-bg-color);border-radius:3px;padding:8px 16px;font-size:14px;color:var(--jp-carousel-primary-color)}#jp-carousel-comment-form-button-submit:active,#jp-carousel-comment-form-button-submit:focus{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-bg-color)}#jp-carousel-comment-form-container{margin-bottom:15px;width:100%;margin-top:20px;color:var(--jp-carousel-primary-subtle-color);position:relative;overflow:hidden}#jp-carousel-comment-post-results{display:none;overflow:auto;width:100%}#jp-carousel-comment-post-results span{display:block;text-align:center;margin-top:20px;width:100%;overflow:auto;padding:1em 0;box-sizing:border-box;border-radius:2px;font:13px/1.4 'Helvetica Neue',sans-serif!important;border:1px solid var(--jp-carousel-border-color);box-shadow:inset 0 0 5px 0 rgba(0,0,0,.2)}.jp-carousel-comment-post-error{color:#df4926}#jp-carousel-comments-closed{display:none;color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-comments-loading{font:400 15px/1.7 'Helvetica Neue',sans-serif!important;display:none;color:var(--jp-carousel-primary-subtle-color);text-align:left;margin-bottom:20px;width:100%;bottom:10px;margin-top:20px}.jp-carousel-photo-icons-container{flex:1;display:block;text-align:right;margin:0 20px 0 30px;white-space:nowrap}.jp-carousel-icon-btn{padding:16px;text-decoration:none;border:none;background:0 0;display:inline-block;height:64px}.jp-carousel-icon{border:none;pointer-events:none;display:inline-block;line-height:0;font-weight:400;font-style:normal;border-radius:4px;width:31px;padding:4px 3px 3px}.jp-carousel-icon svg{display:inline-block}.jp-carousel-overlay rect{fill:var(--jp-carousel-primary-color)}.jp-carousel-selected .jp-carousel-icon{background:var(--jp-carousel-primary-color)}.jp-carousel-selected rect{fill:var(--jp-carousel-bg-color)}.jp-carousel-icon-comments.jp-carousel-show{display:inline-block}.jp-carousel-icon .jp-carousel-has-comments-indicator{display:none;font-size:12px;vertical-align:top;margin-left:-16px;line-height:1;padding:2px 4px;border-radius:4px;background:var(--jp-carousel-primary-color);color:var(--jp-carousel-bg-color);font-weight:400;font-family:'Helvetica Neue',sans-serif!important;position:relative}.jp-carousel-selected .jp-carousel-icon .jp-carousel-has-comments-indicator{background:var(--jp-carousel-bg-color);color:var(--jp-carousel-primary-color)}.jp-carousel-has-comments-indicator.jp-carousel-show{display:inline-block}@media only screen and (max-width:760px){.jp-carousel-overlay .swiper-container .swiper-button-next,.jp-carousel-overlay .swiper-container .swiper-button-prev{display:none!important}.jp-carousel-buttons{display:none!important}.jp-carousel-image-meta{float:none!important;width:100%!important;box-sizing:border-box;margin-left:0}.jp-carousel-close-hint{font-size:26px!important;position:fixed!important;top:10px;right:10px}.admin-bar .jp-carousel-close-hint{top:40px}.jp-carousel-slide img{opacity:1}.jp-carousel-wrap{background-color:var(--jp-carousel-bg-color)}.jp-carousel-fadeaway{display:none}.jp-carousel-info>.jp-carousel-photo-info{display:none}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:block}.jp-carousel-caption{overflow:visible!important}.jp-carousel-info-footer .jp-carousel-photo-title-container{display:none}.jp-carousel-photo-icons-container{margin:0 10px 0 0;white-space:nowrap}.jp-carousel-icon-btn{padding-left:20px}.jp-carousel-pagination{padding-left:5px}.jp-carousel-pagination-container{margin-left:25px}.jp-carousel-comment .avatar{min-width:48px}#jp-carousel-comment-form-commenting-as fieldset,#jp-carousel-comment-form-commenting-as input{width:100%;float:none}}
-.contact-form .clear-form{clear:both}.contact-form input::placeholder{transition:opacity .3s ease-out}.contact-form input:hover::placeholder{opacity:.5}.contact-form input:focus::placeholder{opacity:.3}.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{box-sizing:border-box;margin-bottom:1.5em;width:100%;padding:14px 7px}.contact-form select{margin-bottom:1.5em;padding:14px 7px;min-width:150px}.contact-form textarea{box-sizing:border-box;float:none;height:200px;margin-bottom:1.5em;width:100%;padding:7px;font:inherit}.contact-form input[type=checkbox],.contact-form input[type=radio]{float:none;margin:0 .75rem 0 5px}.contact-form input[type=checkbox]{top:0;margin-left:0}.contact-form label{margin-bottom:.25em;float:none;font-weight:700;display:block}.contact-form label.consent-implicit input{display:none}.contact-form label.checkbox,.contact-form label.checkbox-multiple,.contact-form label.radio{margin-bottom:.25em;float:none;font-weight:400;display:inline-flex;align-items:center}.contact-form .grunion-field-checkbox-multiple-wrap,.contact-form .grunion-field-checkbox-wrap,.contact-form .grunion-field-consent-wrap,.contact-form .grunion-field-radio-wrap{margin-bottom:1em}.contact-form label span{font-size:85%;margin-left:.25em;font-weight:400}.contact-form-submission{margin-bottom:4em;padding:1.5em 1em}.contact-form-submission p{margin:0 auto;word-wrap:break-word}.form-errors .form-error-message{color:red}.textwidget .contact-form input[type=email],.textwidget .contact-form input[type=tel],.textwidget .contact-form input[type=text],.textwidget .contact-form input[type=url],.textwidget .contact-form textarea,.wp-block-column .contact-form input[type=email],.wp-block-column .contact-form input[type=tel],.wp-block-column .contact-form input[type=text],.wp-block-column .contact-form input[type=url],.wp-block-column .contact-form textarea{width:100%}#jetpack-check-feedback-spam{margin:1px 8px 0 0}.jetpack-check-feedback-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form{display:flex;flex-wrap:wrap;justify-content:flex-start;flex-direction:row}.wp-block-jetpack-button,.wp-block-jetpack-contact-form .grunion-field-wrap{flex:0 0 100%}.wp-block-jetpack-button button{padding:20px 30px;border:inherit;font:inherit}.wp-block-jetpack-button.alignright button{float:right}.wp-block-jetpack-contact-form .grunion-field-wrap{border-right:15px solid transparent}.wp-block-jetpack-contact-form .grunion-field-width-25-wrap{flex:0 0 25%}.wp-block-jetpack-contact-form .grunion-field-width-50-wrap{flex:0 0 50%}.wp-block-jetpack-contact-form .grunion-field-width-75-wrap{flex:0 0 75%}.grunion-field-checkbox-wrap,.grunion-field-consent-wrap{align-self:center}@media only screen and (min-width:600px){.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{width:50%}.wp-block-jetpack-contact-form input[type=email],.wp-block-jetpack-contact-form input[type=tel],.wp-block-jetpack-contact-form input[type=text],.wp-block-jetpack-contact-form input[type=url]{width:100%}}.jetpack-empty-spam-container{display:inline-block}.jetpack-empty-spam{display:inline-block}.jetpack-empty-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form .wp-block-spacer{width:100%}
-.infinite-loader{color:#000;display:block;height:28px;text-align:center}#infinite-handle span{background:#333;border-radius:1px;color:#f0f0f1;cursor:pointer;font-size:13px;padding:6px 16px}@keyframes spinner-inner{0%{opacity:1}100%{opacity:0}}.infinite-loader .spinner-inner div{left:47px;top:24px;position:absolute;animation:spinner-inner linear 1s infinite;background:#000;outline:1px solid #fff;width:6px;height:12px;border-radius:3px/6px;transform-origin:3px 26px}.infinite-loader .spinner-inner div:nth-child(1){transform:rotate(0);animation-delay:-.9166666666666666s;background:#000}.infinite-loader .spinner-inner div:nth-child(2){transform:rotate(30deg);animation-delay:-.8333333333333334s;background:#000}.infinite-loader .spinner-inner div:nth-child(3){transform:rotate(60deg);animation-delay:-.75s;background:#000}.infinite-loader .spinner-inner div:nth-child(4){transform:rotate(90deg);animation-delay:-.6666666666666666s;background:#000}.infinite-loader .spinner-inner div:nth-child(5){transform:rotate(120deg);animation-delay:-.5833333333333334s;background:#000}.infinite-loader .spinner-inner div:nth-child(6){transform:rotate(150deg);animation-delay:-.5s;background:#000}.infinite-loader .spinner-inner div:nth-child(7){transform:rotate(180deg);animation-delay:-.4166666666666667s;background:#000}.infinite-loader .spinner-inner div:nth-child(8){transform:rotate(210deg);animation-delay:-.3333333333333333s;background:#000}.infinite-loader .spinner-inner div:nth-child(9){transform:rotate(240deg);animation-delay:-.25s;background:#000}.infinite-loader .spinner-inner div:nth-child(10){transform:rotate(270deg);animation-delay:-.16666666666666666s;background:#000}.infinite-loader .spinner-inner div:nth-child(11){transform:rotate(300deg);animation-delay:-83.33333333333333ms;background:#000}.infinite-loader .spinner-inner div:nth-child(12){transform:rotate(330deg);animation-delay:0s;background:#000}.infinite-loader .spinner{width:28px;height:28px;display:inline-block;overflow:hidden;background:0 0}.infinite-loader .spinner-inner{width:100%;height:100%;position:relative;transform:translateZ(0) scale(.28);-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-origin:0 0}.infinite-loader .spinner-inner div{box-sizing:content-box}#infinite-handle span button,#infinite-handle span button:focus,#infinite-handle span button:hover{display:inline;position:static;padding:0;margin:0;border:none;line-height:inherit;background:0 0;color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;font-family:inherit}#infinite-handle span button::-moz-focus-inner{margin:0;padding:0;border:none}@media (max-width:800px){#infinite-handle span:before{display:none}#infinite-handle span{display:block}}#infinite-footer{position:fixed;bottom:-50px;left:0;width:100%}#infinite-footer a{text-decoration:none}#infinite-footer .blog-credits a:hover,#infinite-footer .blog-info a:hover{color:#444;text-decoration:underline}#infinite-footer .container{background:rgba(255,255,255,.8);border-color:#ccc;border-color:rgba(0,0,0,.1);border-style:solid;border-width:1px 0 0;box-sizing:border-box;margin:0 auto;overflow:hidden;padding:1px 20px;width:780px}#infinite-footer .blog-credits,#infinite-footer .blog-info{box-sizing:border-box;line-height:25px}#infinite-footer .blog-info{float:left;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:40%}#infinite-footer .blog-credits{font-weight:400;float:right;width:60%}#infinite-footer .blog-info a{color:#111;font-size:14px;font-weight:700}#infinite-footer .blog-credits{color:#888;font-size:12px;text-align:right}#infinite-footer .blog-credits a{color:#646970}.infinity-end.neverending #infinite-footer{display:none}@media (max-width:640px){#infinite-footer .container{box-sizing:border-box;width:100%}#infinite-footer .blog-info{width:30%}#infinite-footer .blog-credits{width:70%}#infinite-footer .blog-credits,#infinite-footer .blog-info a{font-size:10px}}@media (max-width:640px){#infinite-footer{position:static}}#infinite-aria{position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0}.infinite-wrap:focus{outline:0!important}
-#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{margin:0 0 1em 0;display:inline-block;line-height:1.2;font-size:9pt;font-weight:700}div.sharedaddy h3.sd-title:before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid #dcdcde;margin-bottom:1em}#wpadminbar li#wp-admin-bar-admin-bar-likes-widget{width:61px;overflow:hidden}#wpadminbar iframe.admin-bar-likes-widget{width:61px;height:28px;min-height:28px;border-width:0;position:absolute;top:0}div.jetpack-likes-widget-wrapper{width:100%;min-height:50px;position:relative}div.jetpack-likes-widget-wrapper .sd-link-color{font-size:12px}div.jetpack-comment-likes-widget-wrapper{width:100%;position:relative;min-height:31px}div.jetpack-comment-likes-widget-wrapper iframe{margin-bottom:0}#likes-other-gravatars{display:none;position:absolute;padding:10px 10px 12px 10px;background-color:#2e4453;border-width:0;box-shadow:0 0 10px #2e4453;box-shadow:0 0 10px rgba(46,68,83,.6);min-width:130px;z-index:1000}#likes-other-gravatars *{line-height:normal}#likes-other-gravatars .likes-text{color:#fff;font-size:12px;padding-bottom:8px}#likes-other-gravatars li,#likes-other-gravatars ul{margin:0;padding:0;text-indent:0;list-style-type:none}#likes-other-gravatars li::before{content:""}#likes-other-gravatars ul.wpl-avatars{overflow:auto;display:block;max-height:190px}#likes-other-gravatars ul.wpl-avatars li{width:32px;height:32px;float:left;margin:0 5px 5px 0}#likes-other-gravatars ul.wpl-avatars li a{margin:0 2px 0 0;border-bottom:none!important;display:block}#likes-other-gravatars ul.wpl-avatars li a img{background:0 0;border:none;margin:0!important;padding:0!important;position:static}div.sd-box{border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.13)}.comment-likes-widget,.entry-content .post-likes-widget,.post-likes-widget{margin:0;border-width:0;display:block}.comment-likes-widget-placeholder,.post-likes-widget-placeholder{margin:0;border-width:0;position:relative}.comment-likes-widget-placeholder{height:18px;position:absolute;display:flex;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.comment-likes-widget-placeholder::before{color:#2ea2cc;width:16px;height:16px;content:'';display:inline-block;position:relative;top:3px;padding-right:5px;background-repeat:no-repeat;background-size:16px 16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='0' fill='none' width='24' height='24'/%3E%3Cg%3E%3Cpath fill='%232EA2CC' 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'/%3E%3C/g%3E%3C/svg%3E")}.post-likes-widget-placeholder .button{display:none}.comment-likes-widget-placeholder .loading,.post-likes-widget-placeholder .loading{color:#999;font-size:12px}.comment-likes-widget-placeholder .loading{padding-left:5px;margin-top:4px;align-self:center;color:#4e4e4e}div.sharedaddy.sd-like-enabled .sd-like h3{display:none}div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget{width:100%;float:none;position:absolute;top:0}.comment-likes-widget{width:100%}.cs-rating,.pd-rating{display:block!important}.sd-gplus .sd-title{display:none}@media print{.jetpack-likes-widget-wrapper{display:none}}
-.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column;padding-left:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 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-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row;display:block}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em}.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-img-link img{width:100%}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin-top:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:0}.jp-relatedposts-i2[data-layout=list].jp-related-posts-i2__post-img-link{margin-top:1rem}@media only screen and (max-width:640px){.jp-related-posts-i2__row{margin-top:0;display:block}.jp-related-posts-i2__row[data-post-count] .jp-related-posts-i2__post{max-width:none;margin:0;margin-top:1rem}.jp-related-posts-i2__post-img-link{margin-top:1rem}.jp-related-posts-i2__post-img-link img{width:350px}}#jp-relatedposts{display:none;padding-top:1em;margin:1em 0;position:relative;clear:both}.jp-relatedposts:after{content:'';display:block;clear:both}#jp-relatedposts h3.jp-relatedposts-headline{margin:0 0 1em 0;display:inline-block;float:left;font-size:9pt;font-weight:700;font-family:inherit}#jp-relatedposts h3.jp-relatedposts-headline em:before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.2);margin-bottom:1em}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}#jp-relatedposts .jp-relatedposts-items{clear:left}#jp-relatedposts .jp-relatedposts-items-visual{margin-right:-20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{float:left;width:33%;margin:0 0 1em;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{padding-right:20px;-moz-opacity:.8;opacity:.8}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4){clear:both}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover{-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time,#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:14px;line-height:20px;margin:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs{position:relative}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay{position:absolute;top:0;bottom:0;left:0;right:0;display:block;border-bottom:0}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time{margin-bottom:0}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{text-transform:none;margin:0;font-family:inherit;display:block;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{font-size:inherit;font-weight:400;text-decoration:none;-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span{display:block;max-width:90%;overflow:hidden;text-overflow:ellipsis}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span{height:auto;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{opacity:.6}.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{display:none}#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt{display:none}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt{overflow:hidden}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span{margin-bottom:1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post{clear:both;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img{float:left;overflow:hidden;max-width:33%;margin-right:3%}#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{display:inline-block;max-width:63%}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:50%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n){clear:left}#jp-relatedposts .jp-relatedposts-items-visual{margin-right:20px}}@media only screen and (max-width:320px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:100%;clear:both;margin:0 0 1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{float:none;max-width:100%;margin-right:0}}@media print{.jp-relatedposts{display:none!important}}
-#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{margin:0 0 1em 0;display:inline-block;line-height:1.2;font-size:9pt;font-weight:700}div.sharedaddy h3.sd-title:before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid #dcdcde;margin-bottom:1em}body.highlander-light h3.sd-title:before{border-top:1px solid rgba(0,0,0,.2)}body.highlander-dark h3.sd-title:before{border-top:1px solid rgba(255,255,255,.4)}.sd-sharing{margin-bottom:1em}.sd-content ul{padding:0!important;margin:0!important;list-style:none!important}.sd-content ul li{display:inline-block}.sd-content ul li.share-deprecated{opacity:.5}.sd-content ul li.share-deprecated a span{text-decoration:line-through}.sd-block.sd-gplus{margin:0 0 .5em 0}.sd-gplus .sd-content{font-size:12px}#sharing_email .sharing_send,.sd-content ul li .option a.share-ustom,.sd-content ul li a.sd-button,.sd-content ul li.advanced a.share-more,.sd-content ul li.preview-item div.option.option-smart-off a,.sd-social-icon .sd-content ul li a.sd-button,.sd-social-icon-text .sd-content ul li a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button,.sd-social-text .sd-content ul li a.sd-button{text-decoration:none!important;display:inline-block;font-size:12px;font-family:"Open Sans",sans-serif;font-weight:400;border-radius:3px;color:#656565!important;background:#f8f8f8;border:1px solid #ccc;box-shadow:0 1px 0 rgba(0,0,0,.08);text-shadow:none;line-height:23px;padding:1px 8px 0 5px}.sd-content ul li .option a.share-ustom span,.sd-content ul li a.sd-button>span,.sd-content ul li.advanced a.share-more span,.sd-content ul li.preview-item div.option.option-smart-off a span,.sd-social-icon-text .sd-content ul li a.sd-button>span,.sd-social-official .sd-content>ul>li .digg_button>a span,.sd-social-official .sd-content>ul>li>a.sd-button span,.sd-social-text .sd-content ul li a.sd-button span{line-height:23px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button{line-height:17px;box-shadow:none;vertical-align:top}.sd-social-official .sd-content ul li a.sd-button>span{line-height:17px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a:before,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button:before,.sd-social-official .sd-content>ul>li .digg_button>a:before,.sd-social-official .sd-content>ul>li>a.sd-button:before{margin-bottom:-1px}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon .sd-content ul li a.sd-button:hover,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:hover,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li .digg_button>a:hover,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-official .sd-content>ul>li>a.sd-button:hover,.sd-social-text .sd-content ul li a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:hover{color:#555;background:#f6f7f7;border:1px solid #999}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:active{box-shadow:inset 0 1px 0 rgba(0,0,0,.16)}.sd-content ul li a.sd-button:before{display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:normal 18px/1 social-logos;vertical-align:top;text-align:center}.sd-social-icon-text ul li a.sd-button:before{position:relative;top:2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-content ul li a.sd-button:before{position:relative;top:2px}}.sd-social-official ul li a.sd-button:before{position:relative;top:-2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-official ul li a.sd-button:before{top:0}}.sd-content ul li{margin:0 5px 5px 0;padding:0}.jp-sharing-input-touch .sd-content ul li{padding-left:10px}.sd-content ul li.preview-item a.sd-button span,.sd-social-icon-text .sd-content ul li a span,.sd-social-official .sd-content ul li a.sd-button span{margin-left:3px}.sd-content ul li.preview-item.no-icon a.sd-button span{margin-left:0}.sd-content ul li.no-icon a:before,.sd-social-text .sd-content ul li a:before{display:none}body .sd-content ul li.share-custom.no-icon a span,body .sd-social-text .sd-content ul li.share-custom a span{background-image:none;background-position:-500px -500px!important;background-repeat:no-repeat!important;padding-left:0;height:0;line-height:inherit}.sd-social-icon .sd-content ul li a.share-more{position:relative;top:-4px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-icon .sd-content ul li a.share-more{top:2px}}@-moz-document url-prefix(){.sd-social-icon .sd-content ul li a.share-more{top:2px}}.sd-social-icon .sd-content ul li a.share-more span{margin-left:3px}.sd-content ul li.share-print div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-print a:before,.sd-social-icon-text .sd-content li.share-print a:before,.sd-social-official .sd-content li.share-print a:before,.sd-social-text .sd-content ul li.share-print a:before{content:'\f469'}.sd-content ul li.share-email div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-email a:before,.sd-social-icon-text .sd-content li.share-email a:before,.sd-social-official .sd-content li.share-email a:before,.sd-social-text .sd-content ul li.share-email a:before{content:'\f410'}.sd-content ul li.share-linkedin div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-linkedin a:before,.sd-social-icon-text .sd-content li.share-linkedin a:before,.sd-social-text .sd-content ul li.share-linkedin a:before{content:'\f207'}.sd-content ul li.share-twitter div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-twitter a:before,.sd-social-icon-text .sd-content li.share-twitter a:before,.sd-social-text .sd-content ul li.share-twitter a:before{content:'\f202'}.sd-content ul li.share-reddit div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-reddit a:before,.sd-social-icon-text .sd-content li.share-reddit a:before,.sd-social-text .sd-content ul li.share-reddit a:before{content:'\f222'}.sd-content ul li.share-tumblr div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-tumblr a:before,.sd-social-icon-text .sd-content li.share-tumblr a:before,.sd-social-text .sd-content ul li.share-tumblr a:before{content:'\f607'}.sd-content ul li.share-pocket div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pocket a:before,.sd-social-icon-text .sd-content li.share-pocket a:before,.sd-social-text .sd-content ul li.share-pocket a:before{content:'\f224'}.sd-content ul li.share-pinterest div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pinterest a:before,.sd-social-icon-text .sd-content li.share-pinterest a:before,.sd-social-text .sd-content ul li.share-pinterest a:before{content:'\f210'}.sd-content ul li.share-facebook div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-facebook a:before,.sd-social-icon-text .sd-content li.share-facebook a:before,.sd-social-text .sd-content ul li.share-facebook a:before{content:'\f203'}.sd-content ul li.share-press-this div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-press-this a:before,.sd-social-icon-text .sd-content li.share-press-this a:before,.sd-social-official .sd-content li.share-press-this a:before,.sd-social-text .sd-content ul li.share-press-this a:before{content:'\f205'}.sd-social-official .sd-content li.share-press-this a:before{color:#2ba1cb}.sd-content ul li.share-telegram div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-telegram a:before,.sd-social-icon-text .sd-content li.share-telegram a:before,.sd-social-official .sd-content li.share-telegram a:before,.sd-social-text .sd-content ul li.share-telegram a:before{content:'\f606'}.sd-social-official .sd-content li.share-telegram a:before{color:#08c}.sd-content ul li.share-skype div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-skype a:before,.sd-social-icon-text .sd-content li.share-skype a:before,.sd-social-text .sd-content ul li.share-skype a:before{content:'\f220'}.sd-content ul li.advanced a.share-more:before,.sd-social-icon .sd-content ul a.share-more:before,.sd-social-icon-text .sd-content a.share-more:before,.sd-social-official .sd-content a.share-more:before,.sd-social-text .sd-content ul a.share-more:before{content:'\f415'}.sd-social-official .sd-content a.share-more:before{color:#2ba1cb}.sd-content ul li.share-jetpack-whatsapp div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-jetpack-whatsapp a:before,.sd-social-icon-text .sd-content li.share-jetpack-whatsapp a:before,.sd-social-official .sd-content li.share-jetpack-whatsapp a:before,.sd-social-text .sd-content ul li.share-jetpack-whatsapp a:before{content:'\f608'}.sd-social-official .sd-content li.share-jetpack-whatsapp a:before{color:#43d854}.sd-social-icon .sd-content ul li[class*=share-].share-jetpack-whatsapp a.sd-button{background:#43d854;color:#fff!important}.sd-content ul li.share-deprecated div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-deprecated a:before,.sd-social-icon-text .sd-content li.share-deprecated a:before,.sd-social-official .sd-content li.share-deprecated a:before{width:1em;height:1em;content:"\1F6AB"}.sd-social .sd-button .share-count{background:#2ea2cc;color:#fff;border-radius:10px;display:inline-block;text-align:center;font-size:10px;padding:1px 3px;line-height:1}.sd-social-official .sd-content ul,.sd-social-official .sd-content ul li{line-height:25px!important}.sd-social-official .sd-content>ul>li>a.sd-button span{line-height:1}.sd-social-official .sd-content ul:after{content:".";display:block;height:0;clear:both;visibility:hidden}.sd-social-official .sd-content li.share-press-this a{margin:0 0 5px 0}.sd-social-official .sd-content ul>li{display:block;float:left;margin:0 10px 5px 0!important;height:25px}.sd-social-official .fb-share-button>span{vertical-align:top!important}.sd-social-official .sd-content .pocket_button iframe{width:98px}.reddit_button iframe{margin-top:1px}.linkedin_button>span,.pinterest_button,.pocket_button iframe,.twitter_button{margin:0!important}.linkedin_button>span,.pinterest_button a{display:block!important}.sd-social-official .sd-content .share-skype{width:55px}body .sd-social-official li a.share-more,body .sd-social-official li.share-custom a,body .sd-social-official li.share-digg a,body .sd-social-official li.share-email a,body .sd-social-official li.share-press-this a,body .sd-social-official li.share-print{position:relative;top:0}body .sd-social-icon .sd-content li.share-custom>a{padding:2px 3px 0 3px;position:relative;top:4px}body .sd-content ul li.share-custom a.share-icon span,body .sd-social-icon .sd-content li.share-custom a span,body .sd-social-icon-text .sd-content li.share-custom a span,body .sd-social-official .sd-content li.share-custom a span,body .sd-social-text .sd-content li.share-custom a span{background-size:16px 16px;background-repeat:no-repeat;margin-left:0;padding:0 0 0 19px;display:inline-block;height:21px;line-height:16px}body .sd-social-icon .sd-content li.share-custom a span{width:0}body .sd-social-icon .sd-content li.share-custom a span{padding-left:16px!important}.sharing-hidden .inner{position:absolute;z-index:2;border:1px solid #ccc;padding:10px;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.2);border-radius:2px;margin-top:5px;max-width:400px}.sharing-hidden .inner ul{margin:0!important}.sd-social-official .sd-content .sharing-hidden ul>li.share-end{clear:both;margin:0!important;height:0!important}.sharing-hidden .inner:after,.sharing-hidden .inner:before{position:absolute;z-index:1;top:-8px;left:20px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:8px solid #ccc;content:"";display:block}.sharing-hidden .inner:after{z-index:2;top:-7px;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:8px solid #fff}.sharing-hidden ul{margin:0}.sd-social-icon .sd-content ul li[class*=share-] a,.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a{border-radius:50%;-webkit-border-radius:50%;border:0;box-shadow:none;padding:7px;position:relative;top:-2px;line-height:1;width:auto;height:auto;margin-bottom:0}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button>span,.sd-social-icon .sd-content ul li[class*=share-] div.option a span{line-height:1}.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a:hover{border:none;opacity:.6}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button:before{top:0}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button.share-custom{padding:8px 8px 6px 8px;top:5px}.sd-social-icon .sd-content ul li a.sd-button.share-more{margin-left:10px}.sd-social-icon .sd-content ul li:first-child a.sd-button.share-more{margin-left:0}.sd-social-icon .sd-button span.share-count{position:absolute;bottom:0;right:0;border-radius:0;background:#555;font-size:9px}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button{background:#e9e9e9;margin-top:2px;text-indent:0}.sd-social-icon .sd-content ul li[class*=share-].share-tumblr a.sd-button{background:#2c4762;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-facebook a.sd-button{background:#1877f2;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-twitter a.sd-button{background:#00acee;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pinterest a.sd-button{background:#ca1f27;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-digg a.sd-button{color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-press-this a.sd-button{background:#4f94d4;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-telegram a.sd-button{background:#08c;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-linkedin a.sd-button{background:#0077b5;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pocket a.sd-button{background:#ee4056;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-reddit a.sd-button{background:#cee3f8;color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-skype a.sd-button{background:#00aff0;color:#fff!important}.sharing-screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.sharing-screen-reader-text:active,.sharing-screen-reader-text:focus,.sharing-screen-reader-text:hover{background-color:#f0f0f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#sharing_email{width:342px;position:absolute;z-index:1001;border:1px solid #ccc;padding:15px;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.2);text-align:left}div.sharedaddy.sharedaddy-dark #sharing_email{border-color:#fff}#sharing_email .errors{color:#fff;background-color:#771a09;font-size:12px;padding:5px 8px;line-height:1;margin:10px 0 0 0}#sharing_email label{font-size:12px;color:#333;font-weight:700;display:block;padding:0 0 4px 0;text-align:left;text-shadow:none}#sharing_email form{margin:0}#sharing_email input[type=email],#sharing_email input[type=text]{width:100%;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;border:1px solid #ccc;margin-bottom:1em;background:#fff;font-size:12px;color:#333;max-width:none;padding:1px 3px}#jetpack-source_f_name{display:none!important;position:absolute!important;left:-9000px}#sharing_email .sharing_cancel{padding:0 0 0 1em;font-size:12px;text-shadow:none}#sharing_email .recaptcha{width:312px;height:123px;margin:0 0 1em 0}.sd-content .share-customize-link{margin-top:0;line-height:11px}.sd-content .share-customize-link a{font-size:11px;font-family:"Open Sans",sans-serif}@media print{.sharedaddy.sd-sharing-enabled{display:none}}
-.slideshow-window{background-color:#222;border:20px solid #222;border-radius:10px;height:0;margin-bottom:20px;overflow:hidden;padding-top:30px!important;padding-bottom:56.25%!important;position:relative;z-index:1}.slideshow-window.slideshow-white{background-color:#fff;border-color:#fff}.slideshow-window,.slideshow-window *{box-sizing:content-box}.slideshow-loading{height:100%;text-align:center;margin:auto}body div.slideshow-window * img{background-color:transparent!important;background-image:none!important;border-width:0!important;display:block;margin:0 auto;max-width:100%;max-height:100%;padding:0!important;position:relative;transform:translateY(-50%);top:50%}.slideshow-loading img{vertical-align:middle}.slideshow-slide{display:none;height:100%!important;left:0;margin:auto;position:absolute;text-align:center;top:0;width:100%!important}.slideshow-slide img{vertical-align:middle}.slideshow-line-height-hack{overflow:hidden;width:0;font-size:0}.slideshow-slide-caption{font-size:13px;font-family:"Helvetica Neue",sans-serif;color:#f6f7f7;text-shadow:#222 1px 1px 2px;line-height:25px;height:25px;position:absolute;bottom:5px;left:0;z-index:100;width:100%;text-align:center}.slideshow-controls{z-index:1000;position:absolute;bottom:30px;margin:auto;text-align:center;width:100%;opacity:.5;direction:ltr;transition:.3s opacity ease-out}.slideshow-window:hover .slideshow-controls{opacity:1}body div div.slideshow-controls a,body div div.slideshow-controls a:hover{border:2px solid rgba(255,255,255,.1)!important;background-color:#000!important;background-color:rgba(0,0,0,.6)!important;background-image:url(../modules/shortcodes/img/slideshow-controls.png)!important;background-repeat:no-repeat;background-size:142px 16px!important;background-position:-34px 8px!important;color:#222!important;margin:0 5px!important;padding:0!important;display:inline-block!important;zoom:1;height:32px!important;width:32px!important;line-height:32px!important;text-align:center!important;border-radius:10em!important;transition:.3s border-color ease-out}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body div div.slideshow-controls a,body div div.slideshow-controls a:hover{background-image:url(../modules/shortcodes/img/slideshow-controls-2x.png)!important}}body div div.slideshow-controls a:hover{border-color:#fff!important}body div div.slideshow-controls a:first-child{background-position:-76px 8px!important}body div div.slideshow-controls a:last-child{background-position:-117px 8px!important}body div div.slideshow-controls a:nth-child(2){background-position:-34px 8px!important}body div div.slideshow-controls a.running{background-position:-34px 8px!important}body div div.slideshow-controls a.paused{background-position:9px 8px!important}.slideshow-controls a img{border:50px dotted #f0f}
-body.presentation-wrapper-fullscreen-parent,html.presentation-wrapper-fullscreen-parent{overflow:hidden!important}.presentation-wrapper-fullscreen-parent #wpadminbar{display:none}.presentation-wrapper-fullscreen,.presentation-wrapper-fullscreen-parent{min-width:100%!important;min-height:100%!important;position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;margin:0!important;padding:0!important;z-index:10000!important}.presentation-wrapper-fullscreen{background-color:grey;border:none!important}.presentation-wrapper-fullscreen .nav-arrow-left,.presentation-wrapper-fullscreen .nav-arrow-right{z-index:20001}.presentation-wrapper-fullscreen .nav-fullscreen-button{z-index:20002}.presentation-wrapper{margin:20px auto;border:1px solid #dcdcde;overflow:hidden;line-height:normal}.presentation{position:relative;margin:0;overflow:hidden;outline:0}.presentation,.presentation .step{background-repeat:no-repeat;background-position:center;background-size:100% 100%}.presentation .step.fade:not(.active){opacity:0}.presentation .slide-content{padding:30px}.presentation .nav-arrow-left,.presentation .nav-arrow-right,.presentation .nav-fullscreen-button{position:absolute;width:34px;background-repeat:no-repeat;z-index:2;opacity:0;transition:opacity .25s}.presentation .nav-arrow-left,.presentation .nav-arrow-right{height:100%;background-image:url(../modules/shortcodes/images/slide-nav.png);background-size:450% 61px}.presentation .nav-arrow-left{left:0;background-position:4px 50%}.presentation .nav-arrow-right{right:0;background-position:-120px 50%}.presentation .nav-fullscreen-button{width:32px;height:32px;margin:4px;bottom:0;right:0;z-index:3;background-image:url(../modules/shortcodes/images/expand.png);background-size:100% 100%}.presentation:hover .nav-arrow-left,.presentation:hover .nav-arrow-right{opacity:1}.presentation:hover .nav-fullscreen-button{opacity:.8}.presentation-wrapper-fullscreen .nav-fullscreen-button{background-image:url(../modules/shortcodes/images/collapse.png)}.presentation .autoplay-overlay{height:15%;width:80%;margin:30% 10%;position:relative;z-index:100;display:table;border-radius:50px;background-color:#dcdcde;background-color:rgba(0,0,0,.75);transition:opacity .5s}.presentation .autoplay-overlay .overlay-msg{position:relative;display:table-cell;text-align:center;vertical-align:middle;color:#fff}.presentation .will-fade{opacity:0}.presentation .do-fade{opacity:1;transition:opacity .5s}
-div.jetpack-quiz{border:1px solid #deede3;background-color:#f3f3f3;padding:1em;line-height:1.3em;margin-bottom:2em;border-radius:.2em}div.jetpack-quiz div.jetpack-quiz-question{margin-bottom:.5em;font-weight:700}div.jetpack-quiz div.jetpack-quiz-answer{cursor:pointer;margin-bottom:.5em;padding:1em 0 1em 1em;border-bottom:1px dotted #999}div.jetpack-quiz div.jetpack-quiz-answer.last{padding-bottom:0;margin-bottom:0;border-bottom:0}div.jetpack-quiz div.jetpack-quiz-answer.correct{color:green}div.jetpack-quiz div.jetpack-quiz-answer.wrong{color:red}div.jetpack-quiz div.jetpack-quiz-answer div.jetpack-quiz-explanation{display:none}div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation,div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation{display:block;color:#000;font-size:90%;margin-top:1em}div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation tt,div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation tt{font-size:85%}div.jetpack-quiz pre{font:15px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace;background:0 0;margin:0;padding:0}.jetpack-quiz-options{margin-top:12px;text-align:right}.jetpack-quiz-count{color:#646970;float:left;font-size:12px}.jetpack-quiz-option-button{cursor:pointer;margin-left:12px}.jetpack-quiz-option-button:hover svg{background:#3c434a}.jetpack-quiz-option-button svg{background:#000;border-radius:50%;display:inline-block;fill:#fff;height:24px;width:24px}.jetpack-quiz-wrapper .jetpack-quiz:first-of-type .jetpack-quiz-option-button:first-of-type,.jetpack-quiz-wrapper .jetpack-quiz:last-of-type .jetpack-quiz-option-button:last-of-type{display:none}
-#subscribe-email input{width:95%}.comment-subscription-form{margin-bottom:1em}.comment-subscription-form .subscribe-label{display:inline!important}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
-.jetpack-video-wrapper{margin-bottom:1.6em}.jetpack-video-wrapper>.wp-video,.jetpack-video-wrapper>embed,.jetpack-video-wrapper>iframe,.jetpack-video-wrapper>object{margin-bottom:0}
-.jetpack-social-navigation ul{display:block;margin:0 0 1.5em;padding:0}.jetpack-social-navigation li{display:inline-block;margin:0;line-height:1}.jetpack-social-navigation a{border:0;height:1em;text-decoration:none;width:1em}.jetpack-social-navigation-svg .icon{color:inherit;fill:currentColor;height:1em;vertical-align:middle;width:1em}.jetpack-social-navigation-genericons a:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:Genericons;font-size:1em;font-style:normal;font-weight:400;height:1em;line-height:1;speak:none;text-decoration:inherit;vertical-align:top;width:1em}.jetpack-social-navigation-genericons a:before{content:"\f415"}.jetpack-social-navigation-genericons a[href*="codepen.io"]:before{content:"\f216"}.jetpack-social-navigation-genericons a[href*="digg.com"]:before{content:"\f221"}.jetpack-social-navigation-genericons a[href*="dribbble.com"]:before{content:"\f201"}.jetpack-social-navigation-genericons a[href*="dropbox.com"]:before{content:"\f225"}.jetpack-social-navigation-genericons a[href*="mailto:"]:before{content:"\f410"}.jetpack-social-navigation-genericons a[href*="facebook.com"]:before{content:"\f203"}.jetpack-social-navigation-genericons a[href*="flickr.com"]:before{content:"\f211"}.jetpack-social-navigation-genericons a[href*="foursquare.com"]:before{content:"\f226"}.jetpack-social-navigation-genericons a[href*="github.com"]:before{content:"\f200"}.jetpack-social-navigation-genericons a[href*="plus.google.com"]:before{content:"\f206"}.jetpack-social-navigation-genericons a[href*="instagram.com"]:before{content:"\f215"}.jetpack-social-navigation-genericons a[href*="linkedin.com"]:before{content:"\f208"}.jetpack-social-navigation-genericons a[href*="path.com"]:before{content:"\f219"}.jetpack-social-navigation-genericons a[href*="pinterest."]:before{content:"\f210"}.jetpack-social-navigation-genericons a[href*="getpocket.com"]:before{content:"\f224"}.jetpack-social-navigation-genericons a[href*="polldaddy.com"]:before{content:"\f217"}.jetpack-social-navigation-genericons a[href*="reddit.com"]:before{content:"\f222"}.jetpack-social-navigation-genericons a[href$="/feed/"]:before{content:"\f413"}.jetpack-social-navigation-genericons a[href*="skype:"]:before{content:"\f220"}.jetpack-social-navigation-genericons a[href*="spotify.com"]:before{content:"\f515"}.jetpack-social-navigation-genericons a[href*="stumbleupon.com"]:before{content:"\f223"}.jetpack-social-navigation-genericons a[href*="tumblr.com"]:before{content:"\f214"}.jetpack-social-navigation-genericons a[href*="twitch.tv"]:before{content:"\f516"}.jetpack-social-navigation-genericons a[href*="twitter.com"]:before{content:"\f202"}.jetpack-social-navigation-genericons a[href*="vimeo.com"]:before{content:"\f212"}.jetpack-social-navigation-genericons a[href*="vine.co"]:before{content:"\f517"}.jetpack-social-navigation-genericons a[href*="wordpress.com"]:before,.jetpack-social-navigation-genericons a[href*="wordpress.org"]:before{content:"\f205"}.jetpack-social-navigation-genericons a[href*="youtube.com"]:before{content:"\f213"}
-.tiled-gallery{clear:both;margin:0 0 20px;overflow:hidden}.tiled-gallery img{margin:2px!important}.tiled-gallery .gallery-group{float:left;position:relative}.tiled-gallery .tiled-gallery-item{float:left;margin:0;position:relative;width:inherit}.tiled-gallery .gallery-row{overflow:hidden}.tiled-gallery .tiled-gallery-item a{background:0 0;border:none;color:inherit;margin:0;padding:0;text-decoration:none;width:auto}.tiled-gallery .tiled-gallery-item img,.tiled-gallery .tiled-gallery-item img:hover{background:0 0;border:none;box-shadow:none;max-width:100%;padding:0;vertical-align:middle}.tiled-gallery-caption{background:#f0f0f1;background:rgba(255,255,255,.8);color:#333;font-size:13px;font-weight:400;overflow:hidden;padding:10px 0;position:absolute;bottom:0;text-indent:10px;text-overflow:ellipsis;width:100%;white-space:nowrap}.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption{font-size:11px}.widget-gallery .tiled-gallery-unresized{visibility:hidden;height:0;overflow:hidden}.tiled-gallery .tiled-gallery-item img.grayscale{position:absolute;left:0;top:0}.tiled-gallery .tiled-gallery-item img.grayscale:hover{opacity:0}.tiled-gallery.type-circle .tiled-gallery-item img{border-radius:50%!important;-o-object-fit:cover;object-fit:cover}.tiled-gallery.type-circle .tiled-gallery-caption{display:none}.tiled-gallery.type-square .tiled-gallery-item img{-o-object-fit:cover;object-fit:cover}
-.jetpack-display-remote-posts{margin:5px 0 20px 0}.jetpack-display-remote-posts h4{margin:5px 0;padding:0}.jetpack-display-remote-posts p{margin:0;padding:0}.jetpack-display-remote-posts img{max-width:100%}
-.widget-grofile h4{margin:1em 0 .5em}.widget-grofile ul.grofile-urls{margin-left:0;overflow:hidden}.widget-grofile ul.grofile-accounts li{list-style:none;display:inline}.widget-grofile ul.grofile-accounts li::before{content:""!important}.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite.png);background-repeat:no-repeat;width:16px;height:16px;float:left;margin-right:8px;margin-bottom:8px}.rtl .widget-grofile .grofile-accounts-logo{margin-left:8px;margin-right:0}.grofile-thumbnail{width:500px;max-width:100%}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite-2x.png);background-size:16px 784px}}
-div[class^=gr_custom_container]{border:1px solid gray;border-radius:10px;padding:10px 5px 10px 5px;background-color:#fff;color:#000}div[class^=gr_custom_container] a{color:#000}h2[class^=gr_custom_header]{display:none}div[class^=gr_custom_each_container]{width:100%;clear:both;margin-bottom:10px;overflow:auto;padding-bottom:4px;border-bottom:1px solid #a7aaad}div[class^=gr_custom_book_container]{float:right;overflow:hidden;height:60px;margin-left:4px;width:39px}div[class^=gr_custom_author]{font-size:10px}div[class^=gr_custom_tags]{font-size:10px;color:gray}div[class^=gr_custom_rating]{display:none}
-.widget_wpcom_social_media_icons_widget ul{list-style-type:none;margin-left:0}.widget_wpcom_social_media_icons_widget ul li{border:0 none;display:inline;margin-right:.5em}.widget_wpcom_social_media_icons_widget li a{border:0 none;text-decoration:none}.widget_wpcom_social_media_icons_widget .genericon{font-family:Genericons}.widget_wpcom_social_media_icons_widget .screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.widget_wpcom_social_media_icons_widget .screen-reader-text:active,.widget_wpcom_social_media_icons_widget .screen-reader-text:focus,.widget_wpcom_social_media_icons_widget .screen-reader-text:hover{background-color:#f0f0f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
-.widgets-grid-layout{width:100%}.widgets-grid-layout:after,.widgets-grid-layout:before{content:" ";display:table}.widgets-grid-layout:after{clear:both}.widget-grid-view-image{float:left;max-width:50%}.widget-grid-view-image a{display:block;margin:0 2px 4px 0}.widget-grid-view-image:nth-child(even){float:right}.widget-grid-view-image:nth-child(even) a{margin:0 0 4px 2px}.widgets-grid-layout .widget-grid-view-image img{max-width:100%;height:auto}.widgets-multi-column-grid ul{overflow:hidden;padding:0;margin:0;list-style-type:none}.widgets-multi-column-grid ul li{background:0 0;clear:none;float:left;margin:0 -5px -3px 0;padding:0 8px 6px 0;border:none;list-style-type:none!important}.widgets-multi-column-grid ul li a{background:0 0;margin:0;padding:0;border:0}.widgets-multi-column-grid .avatar{vertical-align:middle}.widgets-list-layout{padding:0;margin:0;list-style-type:none}.widgets-list-layout li:after,.widgets-list-layout li:before{content:"";display:table}.widgets-list-layout li:after{clear:both}.widgets-list-layout li{zoom:1;margin-bottom:1em;list-style-type:none!important}.widgets-list-layout .widgets-list-layout-blavatar{float:left;width:21.276596%;max-width:40px;height:auto}.widgets-list-layout-links{float:right;width:73.404255%}.widgets-list-layout span{opacity:.5}.widgets-list-layout span:hover{opacity:.8}
-.jetpack-image-container:after{clear:both}.jetpack-image-container:after,.jetpack-image-container:before{display:table;content:""}
-.widgets-multi-column-grid ul{overflow:hidden;padding:0;margin:0;list-style-type:none}.widgets-multi-column-grid ul li{background:0 0;clear:none;float:left;margin:0 -5px -3px 0;padding:0 8px 6px 0;border:none;list-style-type:none!important}.widgets-multi-column-grid ul li a{background:0 0;margin:0;padding:0;border:0}.widgets-multi-column-grid .avatar{vertical-align:middle}.widget_jetpack_my_community .avatar-240,.widget_jetpack_my_community .avatar-48{max-width:48px;max-height:48px}
-.widget.widget_authors li>ul,.widget_authors>ul{margin-left:inherit;padding-left:0}.widget_authors ul li li{padding-left:0}.widget_authors>ul>li{margin-bottom:1em;list-style:none}.widget_authors>ul>li+li{border-top:0}.widget.widget_authors img{margin-right:5px;margin-bottom:5px;vertical-align:middle;box-shadow:none}
-.wpcnt{text-align:center;line-height:2}.wpa{position:relative;overflow:hidden;display:inline-block;max-width:100%}.wpa-about{position:absolute;top:5px;left:0;right:0;display:block;margin-top:0;color:#888;font:10px/1 "Open Sans",Arial,sans-serif!important;text-align:left!important;text-decoration:none!important;opacity:.85;border-bottom:none!important;box-shadow:none!important}.wpa .u>div{display:block;margin-top:5px;margin-bottom:1em}div.wpa>div{margin-top:20px}.wpa .u .adsbygoogle{display:block;margin-top:17px;margin-bottom:1em;background-color:transparent}
-.widget_eu_cookie_law_widget{animation:fadeIn .8s;border:none;bottom:1em;left:1em;margin:0;padding:0;position:fixed;right:1em;width:auto;z-index:50001}@keyframes fadeIn{from{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.widget_eu_cookie_law_widget.widget.top{bottom:auto;top:1em}.admin-bar .widget_eu_cookie_law_widget.widget.top{top:3em}amp-consent.widget_eu_cookie_law_widget.widget.top{top:1em;margin:0}.admin-bar amp-consent.widget_eu_cookie_law_widget.widget.top{top:0;margin-top:3em}#eu-cookie-law{background-color:#fff;border:1px solid #dedede;color:#2e4467;font-size:12px;line-height:1.5;overflow:hidden;padding:6px 6px 6px 15px;position:relative}#eu-cookie-law a,#eu-cookie-law a:active,#eu-cookie-law a:visited{color:inherit;cursor:inherit;text-decoration:underline}#eu-cookie-law a:hover{cursor:pointer;text-decoration:none}#eu-cookie-law.negative{background-color:#000;border:none;color:#fff}#eu-cookie-law.hide{opacity:0;visibility:hidden;transition:opacity .4s,visibility .4s}#eu-cookie-law form{margin-bottom:0;position:static}#eu-cookie-law input,#eu-cookie-law input:focus,#eu-cookie-law input:hover{background:#f3f3f3;border:1px solid #dedede;border-radius:4px;-moz-border-radius:3px;-webkit-border-radius:3px;color:#2e4453;cursor:pointer;display:inline;float:right;font-family:inherit;font-size:14px;font-weight:inherit;line-height:inherit;margin:0 0 0 5%;padding:8px 12px;position:static;text-transform:none}#eu-cookie-law.negative input,#eu-cookie-law.negative input:focus,#eu-cookie-law.negative input:hover{background:#282828;border-color:#535353;color:#fff}@media (max-width:600px){#eu-cookie-law{padding-bottom:55px}#eu-cookie-law input.accept{bottom:8px;position:absolute;right:8px}}.widget_eu_cookie_law_widget .customize-partial-edit-shortcut>button{left:0}
-.flickr-images{text-align:center}.flickr-size-thumbnail .flickr-images{align-content:space-between;align-items:center;display:flex;flex-flow:row wrap;justify-content:center}.flickr-images img{max-width:100%;margin:5px}
-.wpcom-instagram-images{display:grid;grid-gap:.5rem;grid-auto-columns:1fr}.wpcom-instagram-images:after,.wpcom-instagram-images:before{content:none}.wpcom-instagram-images a{display:block;margin:4px 2px}.wpcom-instagram-columns-2 a,.wpcom-instagram-columns-3 a{display:inline-block;vertical-align:top}.wpcom-instagram-columns-2 a{width:calc(50% - 8px)}.wpcom-instagram-columns-3 a{width:calc(33.3333% - 8px)}.wpcom-instagram-images .sq-bg-image{background-position:center;background-repeat:no-repeat;background-size:cover;height:0;overflow:hidden;padding-bottom:100%}.wpcom-instagram-columns-2{grid-template-columns:repeat(2,1fr)}.wpcom-instagram-columns-3{grid-template-columns:repeat(3,1fr)}@supports (display:grid){.wpcom-instagram-images a{display:block;margin:0}.wpcom-instagram-columns-2 a,.wpcom-instagram-columns-3 a{width:auto}}
-.jetpack-search-filters-widget__sub-heading{font-size:inherit;font-weight:700;margin:0 0 .5em;padding:0}.jetpack-search-form+.jetpack-search-filters-widget__sub-heading{margin-top:1.5em;margin-bottom:.5em!important}.jetpack-search-filters-widget__clear{margin-top:.5em;margin-bottom:.5em}.jetpack-search-sort-wrapper{margin-top:1em;margin-bottom:1.5em}.jetpack-search-sort-wrapper label{display:inherit}.widget_search .jetpack-search-filters-widget__filter-list input[type=checkbox]{width:auto;height:auto}ul.jetpack-search-filters-widget__filter-list li{border:none;padding:0;list-style:none}ul.jetpack-search-filters-widget__filter-list li a{text-decoration:none}ul.jetpack-search-filters-widget__filter-list li a:hover{box-shadow:none}ul.jetpack-search-filters-widget__filter-list li label{font-weight:inherit;display:inherit}.jetpack-search-filters-widget__filter-list{list-style:none}ul.jetpack-search-filters-widget__filter-list{margin-bottom:1.5em}body.search .jetpack-search-form input[name="s"]::placeholder{color:transparent}body.search .jetpack-search-form input[name="s"].show-placeholder::placeholder{color:inherit}
-@media screen and (min-width:400px){.widget.jetpack-simple-payments .jetpack-simple-payments-product{flex-direction:column}.widget.jetpack-simple-payments .jetpack-simple-payments-details{padding-left:0}}
-.jetpack_widget_social_icons li,.jetpack_widget_social_icons ul{list-style:none}.jetpack_widget_social_icons ul{display:block;margin:0 0 1.5em;padding:0}.jetpack_widget_social_icons ul li{border:0;display:inline-block;line-height:1;margin:0;padding:0}.jetpack_widget_social_icons ul li:after,.jetpack_widget_social_icons ul li:before{display:none}.jetpack_widget_social_icons a{border:0;box-shadow:none;display:block;height:24px;text-decoration:none;width:24px}.jetpack_widget_social_icons svg{color:inherit;fill:currentColor;height:inherit;vertical-align:middle;width:inherit}.jetpack_widget_social_icons ul.size-small a{height:24px;width:24px}.jetpack_widget_social_icons ul.size-medium a{height:32px;width:32px}.jetpack_widget_social_icons ul.size-large a{height:48px;width:48px}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
-.milestone-widget{margin-bottom:1em}.milestone-content{line-height:2;margin-top:5px;max-width:100%;padding:0;text-align:center}.milestone-header{background-color:var(--milestone-text-color,#111);color:var(--milestone-bg-color,#fff);line-height:1.3;margin:0;padding:.8em}.milestone-header .date,.milestone-header .event{display:block}.milestone-header .event{font-size:120%}.milestone-countdown .difference{display:block;font-size:500%;font-weight:700;line-height:1.2}.milestone-countdown,.milestone-message{background-color:var(--milestone-bg-color,#fff);border:1px solid var(--milestone-border-color,#767676);border-top:0;color:var(--milestone-text-color,#111);padding-bottom:1em}.milestone-message{padding-top:1em} \ No newline at end of file
+@charset "UTF-8";@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff")}:root{--swiper-theme-color:#007aff}.jp-carousel-overlay .swiper-container{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;z-index:1}.jp-carousel-overlay .swiper-container-vertical>.swiper-wrapper{flex-direction:column}.jp-carousel-overlay .swiper-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.jp-carousel-overlay .swiper-container-android .swiper-slide,.jp-carousel-overlay .swiper-wrapper{transform:translateZ(0)}.jp-carousel-overlay .swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.jp-carousel-overlay .swiper-container-multirow-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.jp-carousel-overlay .swiper-container-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.jp-carousel-overlay .swiper-container-pointer-events{touch-action:pan-y}.jp-carousel-overlay .swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.jp-carousel-overlay .swiper-slide{flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}.jp-carousel-overlay .swiper-slide-invisible-blank{visibility:hidden}.jp-carousel-overlay .swiper-container-autoheight,.jp-carousel-overlay .swiper-container-autoheight .swiper-slide{height:auto}.jp-carousel-overlay .swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.jp-carousel-overlay .swiper-container-3d{perspective:1200px}.jp-carousel-overlay .swiper-container-3d .swiper-cube-shadow,.jp-carousel-overlay .swiper-container-3d .swiper-slide,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top,.jp-carousel-overlay .swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right,.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.jp-carousel-overlay .swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.jp-carousel-overlay .swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.jp-carousel-overlay .swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{align-items:center;color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;display:flex;height:var(--swiper-navigation-size);justify-content:center;margin-top:calc(0px - var( --swiper-navigation-size )/2);position:absolute;top:50%;width:calc(var( --swiper-navigation-size )/44*27);z-index:10}.jp-carousel-overlay .swiper-button-next.swiper-button-disabled,.jp-carousel-overlay .swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);font-variant:normal;letter-spacing:0;line-height:1;text-transform:none!important;text-transform:none}.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next{left:10px;right:auto}.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after{content:"prev"}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{left:auto;right:10px}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:"next"}.jp-carousel-overlay .swiper-button-next.swiper-button-white,.jp-carousel-overlay .swiper-button-prev.swiper-button-white{--swiper-navigation-color:#fff}.jp-carousel-overlay .swiper-button-next.swiper-button-black,.jp-carousel-overlay .swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000}.jp-carousel-overlay .swiper-button-lock{display:none}.jp-carousel-overlay .swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.jp-carousel-overlay .swiper-pagination.swiper-pagination-hidden{opacity:0}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets,.jp-carousel-overlay .swiper-pagination-custom,.jp-carousel-overlay .swiper-pagination-fraction{bottom:10px;left:0;width:100%}.jp-carousel-overlay .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.jp-carousel-overlay .swiper-pagination-bullet{background:#000;border-radius:50%;display:inline-block;height:8px;opacity:.2;width:8px}.jp-carousel-overlay button.swiper-pagination-bullet{-webkit-appearance:none;appearance:none;border:none;box-shadow:none;margin:0;padding:0}.jp-carousel-overlay .swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.jp-carousel-overlay .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:1}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:6px 0}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.jp-carousel-overlay .swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.jp-carousel-overlay .swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.jp-carousel-overlay .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));height:100%;left:0;position:absolute;top:0;transform:scale(0);transform-origin:left top;width:100%}.jp-carousel-overlay .swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-progressbar,.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:4px;left:0;top:0;width:100%}.jp-carousel-overlay .swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.jp-carousel-overlay .swiper-container-vertical>.swiper-pagination-progressbar{height:100%;left:0;top:0;width:4px}.jp-carousel-overlay .swiper-pagination-white{--swiper-pagination-color:#fff}.jp-carousel-overlay .swiper-pagination-black{--swiper-pagination-color:#000}.jp-carousel-overlay .swiper-pagination-lock{display:none}.jp-carousel-overlay .swiper-zoom-container{align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}.jp-carousel-overlay .swiper-zoom-container>canvas,.jp-carousel-overlay .swiper-zoom-container>img,.jp-carousel-overlay .swiper-zoom-container>svg{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.jp-carousel-overlay .swiper-slide-zoomed{cursor:move}.jp-carousel-overlay .swiper-container .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}:root{--jp-carousel-primary-color:#fff;--jp-carousel-primary-subtle-color:#999;--jp-carousel-bg-color:#000;--jp-carousel-bg-faded-color:#222;--jp-carousel-border-color:#3a3a3a}:root .jp-carousel-light{--jp-carousel-primary-color:#000;--jp-carousel-primary-subtle-color:#646970;--jp-carousel-bg-color:#fff;--jp-carousel-bg-faded-color:#fbfbfb;--jp-carousel-border-color:#dcdcde}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{background-image:none}[data-carousel-extra]:not(.jp-carousel-wrap) img,[data-carousel-extra]:not(.jp-carousel-wrap) img+figcaption{cursor:pointer}.jp-carousel-wrap *{line-height:inherit}.jp-carousel-wrap.swiper-container{height:auto;width:100vw}.jp-carousel-overlay .swiper-zoom-container{background-position:50%;background-repeat:no-repeat;background-size:200%}.jp-carousel-overlay .swiper-slide.swiper-slide-next .swiper-zoom-container img,.jp-carousel-overlay .swiper-slide.swiper-slide-prev .swiper-zoom-container img{transition:none!important}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{background-image:none;height:auto;opacity:.5;padding:20px 40px;transition:opacity .5s ease-out;width:auto}.jp-carousel-overlay .swiper-button-next:hover,.jp-carousel-overlay .swiper-button-prev:hover{opacity:1}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:none}.jp-carousel-overlay .swiper-button-next svg,.jp-carousel-overlay .swiper-button-prev svg{background:var(--jp-carousel-bg-color);border-radius:4px;height:30px;width:28px}.jp-carousel-overlay{background:var(--jp-carousel-bg-color);bottom:0;direction:ltr;font-family:Helvetica Neue,sans-serif!important;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;z-index:2147483647}.jp-carousel-overlay *{box-sizing:border-box}.jp-carousel-overlay h1:before,.jp-carousel-overlay h2:before,.jp-carousel-overlay h3:before{content:none;display:none}.jp-carousel-overlay .swiper-container .swiper-button-prev{left:0;right:auto}.jp-carousel-overlay .swiper-container .swiper-button-next{left:auto;right:0}.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-prev{transform:scaleX(-1)}.jp-carousel-container{display:grid;grid-template-rows:1fr 64px;height:100%}.jp-carousel-hide-controls .jp-carousel-container{grid-template-rows:1fr}.jp-carousel-hide-controls .swiper-wrapper{margin-top:-32px}.jp-carousel-hide-controls .jp-swiper-button-next,.jp-carousel-hide-controls .jp-swiper-button-prev{margin-top:-54px}.jp-carousel-msg{background-color:var(--jp-carousel-primary-color);border-left:4px solid #ffba00;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);display:inline-block;font-family:Open Sans,sans-serif;font-size:14px;font-style:normal;line-height:19px;margin:25px 20px 0 2px;padding:11px 15px;text-align:center}.jp-carousel-info{-webkit-font-smoothing:subpixel-antialiased!important;background-color:var(--jp-carousel-bg-color);display:flex;flex-direction:column;opacity:1;text-align:left!important;transition:opacity .2s ease-out;z-index:100}.jp-carousel-hide-controls .jp-carousel-info{height:0;overflow:hidden;visibility:hidden}.jp-carousel-info-footer{align-items:center;display:flex;height:64px;justify-content:space-between;position:relative}.jp-carousel-info-extra,.jp-carousel-info-footer{background-color:var(--jp-carousel-bg-color);width:100vw}.jp-carousel-info-extra{border-top:1px solid var(--jp-carousel-bg-faded-color);display:none;padding:35px}.jp-carousel-title-and-caption{margin-bottom:15px}.jp-carousel-info-extra.jp-carousel-show{display:block}.jp-carousel-info ::selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-info ::-moz-selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-photo-info{left:0!important;width:100%!important}.jp-carousel-comments-wrapper{display:none;padding:0;width:100%!important}.jp-carousel-comments-wrapper.jp-carousel-show{display:block}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:none}.jp-carousel-transitions .jp-carousel-photo-info{transition:.4s ease-out}.jp-carousel-buttons{background:#222;border-bottom:1px solid #222;margin:-18px -20px 15px;padding:8px 10px;text-align:center}div.jp-carousel-buttons a{-webkit-font-smoothing:subpixel-antialiased;border:none!important;color:var(--jp-carousel-primary-subtle-color);font:normal 11px/1.2em Helvetica Neue,sans-serif!important;letter-spacing:0!important;padding:5px 2px 5px 0;text-decoration:none!important;text-shadow:none!important;vertical-align:middle}div.jp-carousel-buttons a:hover{border:none!important;color:var(--jp-carousel-primary-color)}.jp-carousel-transitions div.jp-carousel-buttons a:hover{transition:none!important}.jp-carousel-slide,.jp-carousel-slide img{transform:translateZ(0)}.jp-carousel-close-hint{color:var(--jp-carousel-primary-color);cursor:default;cursor:pointer;height:45px;letter-spacing:0!important;padding:10px;position:fixed;right:30px;text-align:right;top:20px;transition:opacity .2s ease-out;width:45px;z-index:15}.jp-carousel-transitions .jp-carousel-close-hint{transition:color .2s linear}.jp-carousel-close-hint svg{background:var(--jp-carousel-bg-color);border-radius:4px;padding:3px 2px}.jp-carousel-close-hint:hover{color:var(--jp-carousel-primary-color)}.jp-carousel-close-hint:hover span{border-color:var(--jp-carousel-primary-color)}.jp-carousel-pagination-container{flex:1;margin:0 15px 0 35px}.jp-carousel-pagination,.jp-swiper-pagination{color:var(--jp-carousel-primary-color);display:none;font-size:15px;font-weight:400;position:static!important;white-space:nowrap}.jp-carousel-pagination-container .swiper-pagination{line-height:8px;text-align:left}.jp-carousel-pagination{padding-left:5px}.jp-swiper-pagination .swiper-pagination-bullet{background:var(--jp-carousel-primary-subtle-color);margin:0 9px}.jp-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background:var(--jp-carousel-primary-color)}.jp-swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active){background:var(--jp-carousel-primary-color);opacity:.5}.jp-carousel-info-footer .jp-carousel-photo-title-container{flex-basis:50vw;flex:4;justify-content:center;margin:0;overflow:hidden}.jp-carousel-photo-caption,.jp-carousel-photo-title{background:none!important;border:none!important;color:var(--jp-carousel-primary-color);display:inline-block;font:normal 20px/1.3em Helvetica Neue,sans-serif;letter-spacing:0!important;line-height:normal;margin:0 0 10px;overflow:hidden;padding:0;text-shadow:none!important;text-transform:none!important}.jp-carousel-info-footer .jp-carousel-photo-caption{color:var(--jp-carousel-primary-subtle-color);cursor:pointer;font-size:15px;margin:0;text-align:center;text-overflow:ellipsis;white-space:nowrap}.jp-carousel-info-footer .jp-carousel-photo-caption p{margin:0}.jp-carousel-photo-title{font-size:32px;margin-bottom:2px}.jp-carousel-photo-description{color:var(--jp-carousel-primary-subtle-color);font-size:16px;margin:25px 0;overflow:hidden;overflow-wrap:break-word;width:100%}.jp-carousel-photo-description p{color:var(--jp-carousel-primary-subtle-color);line-height:1.4;margin-bottom:0}.jp-carousel-comments p a,.jp-carousel-info h2 a,.jp-carousel-photo-description p a{border:none!important;color:var(--jp-carousel-primary-color)!important;font-style:normal!important;font-weight:400!important;text-decoration:underline!important}.jp-carousel-photo-description p b,.jp-carousel-photo-description p strong{color:var(--jp-carousel-primary-subtle-color);font-weight:700}.jp-carousel-photo-description p em,.jp-carousel-photo-description p i{color:var(--jp-carousel-primary-subtle-color);font-style:italic}.jp-carousel-comments p a:hover,.jp-carousel-info h2 a:hover,.jp-carousel-photo-description p a:hover{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-photo-description p:empty{display:none}.jp-carousel-comments-wrapper h1:after,.jp-carousel-comments-wrapper h1:before,.jp-carousel-photo-info h1:after,.jp-carousel-photo-info h1:before{content:none!important}.jp-carousel-caption{font-size:14px;font-weight:400;margin:0}.jp-carousel-image-meta{color:var(--jp-carousel-primary-color);display:none;font-size:13px;font:12px/1.4 Helvetica Neue,sans-serif!important;width:100%}.jp-carousel-image-meta.jp-carousel-show{display:block}.jp-carousel-image-meta h5,.jp-carousel-image-meta li{background:none!important;border:none!important;bottom:auto!important;font-family:Helvetica Neue,sans-serif!important;font-weight:400!important;left:auto!important;line-height:1.3em!important;position:inherit!important;right:auto!important;top:auto!important}.jp-carousel-image-meta ul{list-style:none!important;margin:0!important;padding:0!important}.jp-carousel-image-meta li{color:var(--jp-carousel-primary-color)!important;display:inline-block!important;font-size:13px!important;margin:0 2% 15px 0!important;vertical-align:top!important;width:48%!important}.jp-carousel-image-meta h5{color:var(--jp-carousel-primary-subtle-color)!important;font-size:10px!important;letter-spacing:.1em!important;margin:0 0 2px!important;text-transform:uppercase!important}a.jp-carousel-image-download{clear:both;color:var(--jp-carousel-primary-subtle-color);display:inline-block;font-size:14px;font-weight:400;line-height:1;text-decoration:none}a.jp-carousel-image-download svg{display:inline-block;margin:0 3px;padding-bottom:2px;vertical-align:middle}a.jp-carousel-image-download span.photo-size{border-radius:1em;display:inline-block;font-size:11px;margin-left:2px}a.jp-carousel-image-download span.photo-size-times{padding:0 1px 0 2px}.jp-carousel-comments{background:none transparent;bottom:10px;font:15px/1.7 Helvetica Neue,sans-serif!important;font-weight:400;margin-top:20px;width:100%}.jp-carousel-comments p a:active,.jp-carousel-comments p a:focus,.jp-carousel-comments p a:hover{color:var(--jp-carousel-primary-color)!important}.jp-carousel-comment{background:none transparent;color:var(--jp-carousel-primary-subtle-color);display:flex;overflow:auto;width:100%}.jp-carousel-comment+.jp-carousel-comment{margin-top:20px}.jp-carousel-comment:last-of-type{margin-bottom:20px}.jp-carousel-comment p{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-comment .comment-author{border:none;display:inline;float:none;font-size:15px;font-weight:500;margin:0;padding:0;width:auto}.jp-carousel-comment .comment-author a{color:var(--jp-carousel-primary-color)}.jp-carousel-comment .comment-gravatar{float:none;margin-right:10px}.jp-carousel-comment .comment-content{border:none;padding:0}.jp-carousel-comment .avatar{background-color:transparent!important;border:none!important;border-radius:4px;height:64px;margin:0;min-height:64px;min-width:64px;padding:0!important;width:64px}.jp-carousel-comment .comment-date{border-bottom:1px solid var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color);font-size:11px;margin-bottom:6px}#jp-carousel-comment-form{margin:0 0 10px!important;width:100%}#jp-carousel-comment-form.jp-carousel-is-disabled{opacity:.5;pointer-events:none}textarea#jp-carousel-comment-form-comment-field{background:var(--jp-carousel-bg-faded-color);border:1px solid var(--jp-carousel-border-color);border-radius:3px;box-shadow:inset 2px 2px 2px rgba(0,0,0,.1);box-sizing:border-box;color:var(--jp-carousel-primary-subtle-color);float:none;font:16px/1.4 Helvetica Neue,sans-serif!important;height:147px;margin:0;overflow:hidden;padding:10px 10px 5px;width:100%}textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder{color:#555}textarea#jp-carousel-comment-form-comment-field:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder{color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-loading-overlay{bottom:0;display:none;left:0;position:fixed;right:0;top:0}#jp-carousel-loading-wrapper{align-items:center;display:flex;height:100vh;justify-content:center;width:100vw}#jp-carousel-library-loading,#jp-carousel-library-loading:after{border-radius:50%;height:40px;width:40px}#jp-carousel-library-loading{animation:load8 1.1s linear infinite;border:8px solid hsla(0,0%,100%,.2);border-left:8px solid var(--jp-carousel-primary-color);float:left;font-size:10px;margin:22px 0 0 10px;position:relative;text-indent:-9999em;transform:translateZ(0)}#jp-carousel-comment-form-spinner,#jp-carousel-comment-form-spinner:after{border-radius:50%;height:20px;width:20px}#jp-carousel-comment-form-spinner{animation:load8 1.1s linear infinite;border:4px solid hsla(0,0%,100%,.2);border-left:4px solid var(--jp-carousel-primary-color);bottom:0;display:none;float:left;font-size:10px;left:0;margin:0 auto;position:absolute;right:0;text-indent:-9999em;top:calc(50% - 15px);transform:translateZ(0)}@keyframes load8{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.jp-carousel-info-content-wrapper{margin:auto;max-width:800px}#jp-carousel-comment-form-submit-and-info-wrapper{display:none;overflow:hidden;width:100%}#jp-carousel-comment-form-commenting-as input{background:var(--jp-carousel-bg-color);border:1px solid var(--jp-carousel-border-color);border-radius:2px;box-shadow:inset 2px 2px 2px rgba(0,0,0,.2);color:var(--jp-carousel-primary-subtle-color);float:left;font:16px/1.4 Helvetica Neue,sans-serif!important;padding:10px;width:285px}#jp-carousel-comment-form-commenting-as input:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-comment-form-commenting-as p{float:left;font:400 13px/1.7 Helvetica Neue,sans-serif!important;margin:22px 0 0}#jp-carousel-comment-form-commenting-as fieldset{border:none;clear:both;float:left;margin:20px 0 0;padding:0}#jp-carousel-comment-form-commenting-as label{float:left;font:400 13px/1.7 Helvetica Neue,sans-serif!important;margin:0 20px 3px 0;width:100px}#jp-carousel-comment-form-button-submit{background:var(--jp-carousel-bg-color);border:1px solid var(--jp-carousel-primary-color);border-radius:3px;color:var(--jp-carousel-primary-color);display:block;font-size:14px;margin-left:auto;margin-top:20px;padding:8px 16px}#jp-carousel-comment-form-button-submit:active,#jp-carousel-comment-form-button-submit:focus{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-bg-color)}#jp-carousel-comment-form-container{color:var(--jp-carousel-primary-subtle-color);margin-bottom:15px;margin-top:20px;overflow:hidden;position:relative;width:100%}#jp-carousel-comment-post-results{display:none;overflow:auto;width:100%}#jp-carousel-comment-post-results span{border:1px solid var(--jp-carousel-border-color);border-radius:2px;box-shadow:inset 0 0 5px 0 rgba(0,0,0,.2);box-sizing:border-box;display:block;font:13px/1.4 Helvetica Neue,sans-serif!important;margin-top:20px;overflow:auto;padding:1em 0;text-align:center;width:100%}.jp-carousel-comment-post-error{color:#df4926}#jp-carousel-comments-closed,#jp-carousel-comments-loading{color:var(--jp-carousel-primary-subtle-color);display:none}#jp-carousel-comments-loading{bottom:10px;font:400 15px/1.7 Helvetica Neue,sans-serif!important;margin-bottom:20px;margin-top:20px;text-align:left;width:100%}.jp-carousel-photo-icons-container{display:block;flex:1;margin:0 20px 0 30px;text-align:right;white-space:nowrap}.jp-carousel-icon-btn{background:none;border:none;display:inline-block;height:64px;padding:16px;text-decoration:none}.jp-carousel-icon{border:none;border-radius:4px;font-style:normal;font-weight:400;line-height:0;padding:4px 3px 3px;pointer-events:none;width:31px}.jp-carousel-icon,.jp-carousel-icon svg{display:inline-block}.jp-carousel-overlay rect{fill:var(--jp-carousel-primary-color)}.jp-carousel-selected .jp-carousel-icon{background:var(--jp-carousel-primary-color)}.jp-carousel-selected rect{fill:var(--jp-carousel-bg-color)}.jp-carousel-icon-comments.jp-carousel-show{display:inline-block}.jp-carousel-icon .jp-carousel-has-comments-indicator{background:var(--jp-carousel-primary-color);border-radius:4px;color:var(--jp-carousel-bg-color);display:none;font-family:Helvetica Neue,sans-serif!important;font-size:12px;font-weight:400;line-height:1;margin-left:-16px;padding:2px 4px;position:relative;vertical-align:top}.jp-carousel-selected .jp-carousel-icon .jp-carousel-has-comments-indicator{background:var(--jp-carousel-bg-color);color:var(--jp-carousel-primary-color)}.jp-carousel-has-comments-indicator.jp-carousel-show{display:inline-block}@media only screen and (max-width:760px){.jp-carousel-buttons,.jp-carousel-overlay .swiper-container .swiper-button-next,.jp-carousel-overlay .swiper-container .swiper-button-prev{display:none!important}.jp-carousel-image-meta{box-sizing:border-box;float:none!important;margin-left:0;width:100%!important}.jp-carousel-close-hint{font-size:26px!important;position:fixed!important;right:10px;top:10px}.admin-bar .jp-carousel-close-hint{top:40px}.jp-carousel-slide img{opacity:1}.jp-carousel-wrap{background-color:var(--jp-carousel-bg-color)}.jp-carousel-fadeaway,.jp-carousel-info>.jp-carousel-photo-info{display:none}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:block}.jp-carousel-caption{overflow:visible!important}.jp-carousel-info-footer .jp-carousel-photo-title-container{display:none}.jp-carousel-photo-icons-container{margin:0 10px 0 0;white-space:nowrap}.jp-carousel-icon-btn{padding-left:20px}.jp-carousel-pagination{padding-left:5px}.jp-carousel-pagination-container{margin-left:25px}.jp-carousel-comment .avatar{min-width:48px}#jp-carousel-comment-form-commenting-as fieldset,#jp-carousel-comment-form-commenting-as input{float:none;width:100%}}.contact-form .clear-form{clear:both}.contact-form input{font:inherit}.contact-form input::placeholder{transition:opacity .3s ease-out}.contact-form input:hover::placeholder{opacity:.5}.contact-form input:focus::placeholder{opacity:.3}.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{box-sizing:border-box;margin-bottom:1.5em;padding:14px 7px;width:100%}.contact-form select{margin-bottom:1.5em;min-width:150px;padding:14px 7px}.contact-form textarea{box-sizing:border-box;float:none;font:inherit;height:200px;margin-bottom:1.5em;padding:7px;width:100%}.contact-form input[type=checkbox],.contact-form input[type=radio]{float:none;margin:0 .75rem 0 5px}.contact-form input[type=checkbox]{margin-left:0;top:0}.contact-form label{display:block;float:none;font-weight:700;margin-bottom:.25em}.contact-form label.consent-implicit input{display:none}.contact-form label.checkbox,.contact-form label.checkbox-multiple,.contact-form label.radio{align-items:center;display:inline-flex;float:none;font-weight:400;margin-bottom:.25em}.contact-form .grunion-field-checkbox-multiple-wrap,.contact-form .grunion-field-checkbox-wrap,.contact-form .grunion-field-consent-wrap,.contact-form .grunion-field-radio-wrap{margin-bottom:1em}.contact-form label span{font-size:85%;font-weight:400;margin-left:.25em}.contact-form-submission{margin-bottom:4em;padding:1.5em 1em}.contact-form-submission p{word-wrap:break-word;margin:0 auto}.form-errors .form-error-message{color:red}.textwidget .contact-form input[type=email],.textwidget .contact-form input[type=tel],.textwidget .contact-form input[type=text],.textwidget .contact-form input[type=url],.textwidget .contact-form textarea,.wp-block-column .contact-form input[type=email],.wp-block-column .contact-form input[type=tel],.wp-block-column .contact-form input[type=text],.wp-block-column .contact-form input[type=url],.wp-block-column .contact-form textarea{width:100%}#jetpack-check-feedback-spam{margin:1px 8px 0 0}.jetpack-check-feedback-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-button,.wp-block-jetpack-contact-form .grunion-field-wrap{flex:0 0 100%}.wp-block-jetpack-button.alignright button{float:right}.wp-block-jetpack-contact-form .grunion-field-wrap{border-right:15px solid transparent}.wp-block-jetpack-contact-form .grunion-field-width-25-wrap{flex:0 0 25%}.wp-block-jetpack-contact-form .grunion-field-width-50-wrap{flex:0 0 50%}.wp-block-jetpack-contact-form .grunion-field-width-75-wrap{flex:0 0 75%}.grunion-field-checkbox-wrap,.grunion-field-consent-wrap{align-self:center}@media only screen and (min-width:600px){.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{width:50%}.wp-block-jetpack-contact-form input[type=email],.wp-block-jetpack-contact-form input[type=tel],.wp-block-jetpack-contact-form input[type=text],.wp-block-jetpack-contact-form input[type=url]{width:100%}}.jetpack-empty-spam,.jetpack-empty-spam-container{display:inline-block}.jetpack-empty-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form .wp-block-spacer{width:100%}.infinite-loader{color:#000;display:block;height:28px;text-align:center}#infinite-handle span{background:#333;border-radius:1px;color:#f0f0f1;cursor:pointer;font-size:13px;padding:6px 16px}@keyframes spinner-inner{0%{opacity:1}to{opacity:0}}.infinite-loader .spinner-inner div{animation:spinner-inner 1s linear infinite;background:#000;border-radius:3px/6px;height:12px;left:47px;outline:1px solid #fff;position:absolute;top:24px;transform-origin:3px 26px;width:6px}.infinite-loader .spinner-inner div:first-child{animation-delay:-.9166666667s;background:#000;transform:rotate(0deg)}.infinite-loader .spinner-inner div:nth-child(2){animation-delay:-.8333333333s;background:#000;transform:rotate(30deg)}.infinite-loader .spinner-inner div:nth-child(3){animation-delay:-.75s;background:#000;transform:rotate(60deg)}.infinite-loader .spinner-inner div:nth-child(4){animation-delay:-.6666666667s;background:#000;transform:rotate(90deg)}.infinite-loader .spinner-inner div:nth-child(5){animation-delay:-.5833333333s;background:#000;transform:rotate(120deg)}.infinite-loader .spinner-inner div:nth-child(6){animation-delay:-.5s;background:#000;transform:rotate(150deg)}.infinite-loader .spinner-inner div:nth-child(7){animation-delay:-.4166666667s;background:#000;transform:rotate(180deg)}.infinite-loader .spinner-inner div:nth-child(8){animation-delay:-.3333333333s;background:#000;transform:rotate(210deg)}.infinite-loader .spinner-inner div:nth-child(9){animation-delay:-.25s;background:#000;transform:rotate(240deg)}.infinite-loader .spinner-inner div:nth-child(10){animation-delay:-.1666666667s;background:#000;transform:rotate(270deg)}.infinite-loader .spinner-inner div:nth-child(11){animation-delay:-.0833333333s;background:#000;transform:rotate(300deg)}.infinite-loader .spinner-inner div:nth-child(12){animation-delay:0s;background:#000;transform:rotate(330deg)}.infinite-loader .spinner{background:none;display:inline-block;height:28px;overflow:hidden;width:28px}.infinite-loader .spinner-inner{-webkit-backface-visibility:hidden;backface-visibility:hidden;height:100%;position:relative;transform:translateZ(0) scale(.28);transform-origin:0 0;width:100%}.infinite-loader .spinner-inner div{box-sizing:content-box}#infinite-handle span button,#infinite-handle span button:focus,#infinite-handle span button:hover{background:transparent;border:none;color:inherit;cursor:inherit;display:inline;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;position:static}#infinite-handle span button::-moz-focus-inner{border:none;margin:0;padding:0}@media (max-width:800px){#infinite-handle span:before{display:none}#infinite-handle span{display:block}}#infinite-footer{bottom:-50px;left:0;position:fixed;width:100%}#infinite-footer a{text-decoration:none}#infinite-footer .blog-credits a:hover,#infinite-footer .blog-info a:hover{color:#444;text-decoration:underline}#infinite-footer .container{background:hsla(0,0%,100%,.8);border:solid rgba(0,0,0,.1);border-width:1px 0 0;box-sizing:border-box;margin:0 auto;overflow:hidden;padding:1px 20px;width:780px}#infinite-footer .blog-credits,#infinite-footer .blog-info{box-sizing:border-box;line-height:25px}#infinite-footer .blog-info{float:left;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:40%}#infinite-footer .blog-credits{float:right;font-weight:400;width:60%}#infinite-footer .blog-info a{color:#111;font-size:14px;font-weight:700}#infinite-footer .blog-credits{color:#888;font-size:12px;text-align:right}#infinite-footer .blog-credits a{color:#646970}.infinity-end.neverending #infinite-footer{display:none}@media (max-width:640px){#infinite-footer .container{box-sizing:border-box;width:100%}#infinite-footer .blog-info{width:30%}#infinite-footer .blog-credits{width:70%}#infinite-footer .blog-credits,#infinite-footer .blog-info a{font-size:10px}#infinite-footer{position:static}}#infinite-aria{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.infinite-wrap:focus{outline:0!important}#wpadminbar li#wp-admin-bar-admin-bar-likes-widget{overflow:hidden;width:61px}#wpadminbar iframe.admin-bar-likes-widget{border-width:0;height:28px;min-height:28px;position:absolute;top:0;width:61px}div.jetpack-likes-widget-wrapper{min-height:50px;position:relative;width:100%}div.jetpack-likes-widget-wrapper .sd-link-color{font-size:12px}div.jetpack-comment-likes-widget-wrapper{min-height:31px;position:relative;width:100%}div.jetpack-comment-likes-widget-wrapper iframe{margin-bottom:0}#likes-other-gravatars{background-color:#2e4453;border-width:0;box-shadow:0 0 10px #2e4453;box-shadow:0 0 10px rgba(46,68,83,.6);display:none;min-width:130px;padding:10px 10px 12px;position:absolute;z-index:1000}#likes-other-gravatars *{line-height:normal}#likes-other-gravatars .likes-text{color:#fff;font-size:12px;padding-bottom:8px}#likes-other-gravatars li,#likes-other-gravatars ul{list-style-type:none;margin:0;padding:0;text-indent:0}#likes-other-gravatars li:before{content:""}#likes-other-gravatars ul.wpl-avatars{display:block;max-height:190px;overflow:auto}#likes-other-gravatars ul.wpl-avatars li{float:left;height:32px;margin:0 5px 5px 0;width:32px}#likes-other-gravatars ul.wpl-avatars li a{border-bottom:none!important;display:block;margin:0 2px 0 0}#likes-other-gravatars ul.wpl-avatars li a img{background:none;border:none;margin:0!important;padding:0!important;position:static}div.sd-box{border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.13)}.comment-likes-widget,.entry-content .post-likes-widget,.post-likes-widget{border-width:0;display:block;margin:0}.comment-likes-widget-placeholder,.post-likes-widget-placeholder{border-width:0;margin:0;position:relative}.comment-likes-widget-placeholder{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;height:18px;position:absolute}.comment-likes-widget-placeholder: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}.post-likes-widget-placeholder .button{display:none}.comment-likes-widget-placeholder .loading,.post-likes-widget-placeholder .loading{color:#999;font-size:12px}.comment-likes-widget-placeholder .loading{align-self:center;color:#4e4e4e;margin-top:4px;padding-left:5px}div.sharedaddy.sd-like-enabled .sd-like h3{display:none}div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget{float:none;position:absolute;top:0;width:100%}.comment-likes-widget{width:100%}.cs-rating,.pd-rating{display:block!important}.sd-gplus .sd-title{display:none}@media print{.jetpack-likes-widget-wrapper{display:none}}.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__post{display:flex;flex-basis:0;flex-direction:column;flex-grow:1;margin:0 10px;padding-left:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 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-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{display:block;flex-direction:row}.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;width:100%}.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-img-link img{width:100%}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{display:block;margin-top:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{margin:0;max-width:none}.jp-relatedposts-i2[data-layout=list].jp-related-posts-i2__post-img-link{margin-top:1rem}@media only screen and (max-width:640px){.jp-related-posts-i2__row{display:block;margin-top:0}.jp-related-posts-i2__row[data-post-count] .jp-related-posts-i2__post{margin:1rem 0 0;max-width:none}.jp-related-posts-i2__post-img-link{margin-top:1rem}.jp-related-posts-i2__post-img-link img{width:350px}}#jp-relatedposts{clear:both;display:none;margin:1em 0;padding-top:1em;position:relative}.jp-relatedposts:after{clear:both;content:"";display:block}#jp-relatedposts h3.jp-relatedposts-headline{display:inline-block;float:left;font-family:inherit;font-size:9pt;font-weight:700;margin:0 0 1em}#jp-relatedposts h3.jp-relatedposts-headline em:before{border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.2);content:"";display:block;margin-bottom:1em;min-width:30px;width:100%}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}#jp-relatedposts .jp-relatedposts-items{clear:left}#jp-relatedposts .jp-relatedposts-items-visual{margin-right:-20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;float:left;margin:0 0 1em;width:33%}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{filter:alpha(opacity=80);-moz-opacity:.8;opacity:.8;padding-right:20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4){clear:both}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover{filter:alpha(opacity=100);-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time,#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:14px;line-height:20px;margin:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs{position:relative}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay{border-bottom:0;bottom:0;display:block;left:0;position:absolute;right:0;top:0}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time{margin-bottom:0}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{display:block;font-family:inherit;margin:0;max-width:100%;text-transform:none}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{filter:alpha(opacity=100);font-size:inherit;font-weight:400;-moz-opacity:1;opacity:1;text-decoration:none}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span{display:block;max-width:90%;overflow:hidden;text-overflow:ellipsis}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span{height:auto;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{opacity:.6}#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt,.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{display:none}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt{overflow:hidden}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span{margin-bottom:1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post{clear:both;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img{float:left;margin-right:3%;max-width:33%;overflow:hidden}#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{display:inline-block;max-width:63%}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:50%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n){clear:left}#jp-relatedposts .jp-relatedposts-items-visual{margin-right:20px}}@media only screen and (max-width:320px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{clear:both;margin:0 0 1em;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{float:none;margin-right:0;max-width:100%}}@media print{.jp-relatedposts{display:none!important}}#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{display:inline-block;font-size:9pt;font-weight:700;line-height:1.2;margin:0 0 1em}div.sharedaddy h3.sd-title:before{border-top:1px solid #dcdcde;content:"";display:block;margin-bottom:1em;min-width:30px;width:100%}body.highlander-light h3.sd-title:before{border-top:1px solid rgba(0,0,0,.2)}body.highlander-dark h3.sd-title:before{border-top:1px solid hsla(0,0%,100%,.4)}.sd-sharing{margin-bottom:1em}.sd-content ul{list-style:none!important;margin:0!important;padding:0!important}.sd-content ul li{display:inline-block}.sd-content ul li.share-deprecated{opacity:.5}.sd-content ul li.share-deprecated a span{text-decoration:line-through}.sd-block.sd-gplus{margin:0 0 .5em}.sd-gplus .sd-content{font-size:12px}.sd-content .share-email-error .share-email-error-title{margin:.5em 0}.sd-content .share-email-error .share-email-error-text{font-family:Open Sans,sans-serif;font-size:12px;margin:.5em 0}#sharing_email .sharing_send,.sd-content ul li .option a.share-ustom,.sd-content ul li a.sd-button,.sd-content ul li.advanced a.share-more,.sd-content ul li.preview-item div.option.option-smart-off a,.sd-social-icon .sd-content ul li a.sd-button,.sd-social-icon-text .sd-content ul li a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button,.sd-social-text .sd-content ul li a.sd-button{background:#f8f8f8;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.08);color:#656565!important;display:inline-block;font-family:Open Sans,sans-serif;font-size:12px;font-weight:400;line-height:23px;padding:1px 8px 0 5px;text-decoration:none!important;text-shadow:none}.sd-content ul li .option a.share-ustom span,.sd-content ul li a.sd-button>span,.sd-content ul li.advanced a.share-more span,.sd-content ul li.preview-item div.option.option-smart-off a span,.sd-social-icon-text .sd-content ul li a.sd-button>span,.sd-social-official .sd-content>ul>li .digg_button>a span,.sd-social-official .sd-content>ul>li>a.sd-button span,.sd-social-text .sd-content ul li a.sd-button span{line-height:23px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button{box-shadow:none;line-height:17px;vertical-align:top}.sd-social-official .sd-content ul li a.sd-button>span{line-height:17px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a:before,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button:before,.sd-social-official .sd-content>ul>li .digg_button>a:before,.sd-social-official .sd-content>ul>li>a.sd-button:before{margin-bottom:-1px}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon .sd-content ul li a.sd-button:hover,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:hover,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li .digg_button>a:hover,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-official .sd-content>ul>li>a.sd-button:hover,.sd-social-text .sd-content ul li a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:hover{background:#f6f7f7;border:1px solid #999;color:#555}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:active{box-shadow:inset 0 1px 0 rgba(0,0,0,.16)}.sd-content ul li a.sd-button:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 18px/1 social-logos;text-align:center;vertical-align:top}.sd-social-icon-text ul li a.sd-button:before{position:relative;top:2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-content ul li a.sd-button:before{position:relative;top:2px}}.sd-social-official ul li a.sd-button:before{position:relative;top:-2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-official ul li a.sd-button:before{top:0}}.sd-content ul li{margin:0 5px 5px 0;padding:0}.jp-sharing-input-touch .sd-content ul li{padding-left:10px}.sd-content ul li.preview-item a.sd-button span,.sd-social-icon-text .sd-content ul li a span,.sd-social-official .sd-content ul li a.sd-button span{margin-left:3px}.sd-content ul li.preview-item.no-icon a.sd-button span{margin-left:0}.sd-content ul li.no-icon a:before,.sd-social-text .sd-content ul li a:before{display:none}body .sd-content ul li.share-custom.no-icon a span,body .sd-social-text .sd-content ul li.share-custom a span{background-image:none;background-position:-500px -500px!important;background-repeat:no-repeat!important;height:0;line-height:inherit;padding-left:0}.sd-social-icon .sd-content ul li a.share-more{position:relative;top:-4px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-icon .sd-content ul li a.share-more{top:2px}}@-moz-document url-prefix(){.sd-social-icon .sd-content ul li a.share-more{top:2px}}.sd-social-icon .sd-content ul li a.share-more span{margin-left:3px}.sd-content ul li.share-print div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-print a:before,.sd-social-icon-text .sd-content li.share-print a:before,.sd-social-official .sd-content li.share-print a:before,.sd-social-text .sd-content ul li.share-print a:before{content:"\f469"}.sd-content ul li.share-email div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-email a:before,.sd-social-icon-text .sd-content li.share-email a:before,.sd-social-official .sd-content li.share-email a:before,.sd-social-text .sd-content ul li.share-email a:before{content:"\f410"}.sd-content ul li.share-linkedin div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-linkedin a:before,.sd-social-icon-text .sd-content li.share-linkedin a:before,.sd-social-text .sd-content ul li.share-linkedin a:before{content:"\f207"}.sd-content ul li.share-twitter div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-twitter a:before,.sd-social-icon-text .sd-content li.share-twitter a:before,.sd-social-text .sd-content ul li.share-twitter a:before{content:"\f202"}.sd-content ul li.share-reddit div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-reddit a:before,.sd-social-icon-text .sd-content li.share-reddit a:before,.sd-social-text .sd-content ul li.share-reddit a:before{content:"\f222"}.sd-content ul li.share-tumblr div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-tumblr a:before,.sd-social-icon-text .sd-content li.share-tumblr a:before,.sd-social-text .sd-content ul li.share-tumblr a:before{content:"\f607"}.sd-content ul li.share-pocket div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pocket a:before,.sd-social-icon-text .sd-content li.share-pocket a:before,.sd-social-text .sd-content ul li.share-pocket a:before{content:"\f224"}.sd-content ul li.share-pinterest div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pinterest a:before,.sd-social-icon-text .sd-content li.share-pinterest a:before,.sd-social-text .sd-content ul li.share-pinterest a:before{content:"\f210"}.sd-content ul li.share-facebook div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-facebook a:before,.sd-social-icon-text .sd-content li.share-facebook a:before,.sd-social-text .sd-content ul li.share-facebook a:before{content:"\f203"}.sd-content ul li.share-press-this div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-press-this a:before,.sd-social-icon-text .sd-content li.share-press-this a:before,.sd-social-official .sd-content li.share-press-this a:before,.sd-social-text .sd-content ul li.share-press-this a:before{content:"\f205"}.sd-social-official .sd-content li.share-press-this a:before{color:#2ba1cb}.sd-content ul li.share-telegram div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-telegram a:before,.sd-social-icon-text .sd-content li.share-telegram a:before,.sd-social-official .sd-content li.share-telegram a:before,.sd-social-text .sd-content ul li.share-telegram a:before{content:"\f606"}.sd-social-official .sd-content li.share-telegram a:before{color:#08c}.sd-content ul li.share-skype div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-skype a:before,.sd-social-icon-text .sd-content li.share-skype a:before,.sd-social-text .sd-content ul li.share-skype a:before{content:"\f220"}.sd-content ul li.advanced a.share-more:before,.sd-social-icon .sd-content ul a.share-more:before,.sd-social-icon-text .sd-content a.share-more:before,.sd-social-official .sd-content a.share-more:before,.sd-social-text .sd-content ul a.share-more:before{content:"\f415"}.sd-social-official .sd-content a.share-more:before{color:#2ba1cb}.sd-content ul li.share-jetpack-whatsapp div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-jetpack-whatsapp a:before,.sd-social-icon-text .sd-content li.share-jetpack-whatsapp a:before,.sd-social-official .sd-content li.share-jetpack-whatsapp a:before,.sd-social-text .sd-content ul li.share-jetpack-whatsapp a:before{content:"\f608"}.sd-social-official .sd-content li.share-jetpack-whatsapp a:before{color:#43d854}.sd-social-icon .sd-content ul li[class*=share-].share-jetpack-whatsapp a.sd-button{background:#43d854;color:#fff!important}.sd-content ul li.share-deprecated div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-deprecated a:before,.sd-social-icon-text .sd-content li.share-deprecated a:before,.sd-social-official .sd-content li.share-deprecated a:before{content:"🚫";height:1em;width:1em}.sd-social .sd-button .share-count{background:#2ea2cc;border-radius:10px;color:#fff;display:inline-block;font-size:10px;line-height:1;padding:1px 3px;text-align:center}.sd-social-official .sd-content ul,.sd-social-official .sd-content ul li{line-height:25px!important}.sd-social-official .sd-content>ul>li>a.sd-button span{line-height:1}.sd-social-official .sd-content ul:after{clear:both;content:".";display:block;height:0;visibility:hidden}.sd-social-official .sd-content li.share-press-this a{margin:0 0 5px}.sd-social-official .sd-content ul>li{display:block;float:left;height:25px;margin:0 10px 5px 0!important}.sd-social-official .fb-share-button>span{vertical-align:top!important}.sd-social-official .sd-content .pocket_button iframe{width:98px}.reddit_button iframe{margin-top:1px}.linkedin_button>span,.pinterest_button,.pocket_button iframe,.twitter_button{margin:0!important}.linkedin_button>span,.pinterest_button a{display:block!important}.sd-social-official .sd-content .share-skype{width:55px}body .sd-social-official li a.share-more,body .sd-social-official li.share-custom a,body .sd-social-official li.share-digg a,body .sd-social-official li.share-email a,body .sd-social-official li.share-press-this a,body .sd-social-official li.share-print{position:relative;top:0}body .sd-social-icon .sd-content li.share-custom>a{padding:2px 3px 0;position:relative;top:4px}body .sd-content ul li.share-custom a.share-icon span,body .sd-social-icon .sd-content li.share-custom a span,body .sd-social-icon-text .sd-content li.share-custom a span,body .sd-social-official .sd-content li.share-custom a span,body .sd-social-text .sd-content li.share-custom a span{background-repeat:no-repeat;background-size:16px 16px;display:inline-block;height:21px;line-height:16px;margin-left:0;padding:0 0 0 19px}body .sd-social-icon .sd-content li.share-custom a span{padding-left:16px!important;width:0}.sharing-hidden .inner{background:#fff;border:1px solid #ccc;border-radius:2px;box-shadow:0 5px 20px rgba(0,0,0,.2);margin-top:5px;max-width:400px;padding:10px;position:absolute;z-index:2}.sharing-hidden .inner ul{margin:0!important}.sd-social-official .sd-content .sharing-hidden ul>li.share-end{clear:both;height:0!important;margin:0!important}.sharing-hidden .inner:after,.sharing-hidden .inner:before{border-bottom:8px solid #ccc;border-left:6px solid transparent;border-right:6px solid transparent;content:"";display:block;height:0;left:20px;position:absolute;top:-8px;width:0;z-index:1}.sharing-hidden .inner:after{border-bottom:8px solid #fff;border-left:6px solid transparent;border-right:6px solid transparent;top:-7px;z-index:2}.sharing-hidden ul{margin:0}.sd-social-icon .sd-content ul li[class*=share-] a,.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a{border:0;border-radius:50%;-webkit-border-radius:50%;box-shadow:none;height:auto;line-height:1;margin-bottom:0;padding:7px;position:relative;top:-2px;width:auto}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button>span,.sd-social-icon .sd-content ul li[class*=share-] div.option a span{line-height:1}.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a:hover{border:none;opacity:.6}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button:before{top:0}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button.share-custom{padding:8px 8px 6px;top:5px}.sd-social-icon .sd-content ul li a.sd-button.share-more{margin-left:10px}.sd-social-icon .sd-content ul li:first-child a.sd-button.share-more{margin-left:0}.sd-social-icon .sd-button span.share-count{background:#555;border-radius:0;bottom:0;font-size:9px;position:absolute;right:0}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button{background:#e9e9e9;margin-top:2px;text-indent:0}.sd-social-icon .sd-content ul li[class*=share-].share-tumblr a.sd-button{background:#2c4762;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-facebook a.sd-button{background:#1877f2;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-twitter a.sd-button{background:#00acee;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pinterest a.sd-button{background:#ca1f27;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-digg a.sd-button{color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-press-this a.sd-button{background:#4f94d4;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-telegram a.sd-button{background:#08c;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-linkedin a.sd-button{background:#0077b5;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pocket a.sd-button{background:#ee4056;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-reddit a.sd-button{background:#cee3f8;color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-skype a.sd-button{background:#00aff0;color:#fff!important}.sharing-screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}.sharing-screen-reader-text:active,.sharing-screen-reader-text:focus,.sharing-screen-reader-text:hover{clip:auto!important;background-color:#f0f0f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#jetpack-source_f_name{display:none!important;left:-9000px;position:absolute!important}.sd-content .share-customize-link{line-height:11px;margin-top:0}.sd-content .share-customize-link a{font-family:Open Sans,sans-serif;font-size:11px}@media print{.sharedaddy.sd-sharing-enabled{display:none}}.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:content-box}.jetpack-slideshow-loading{height:100%;margin:auto;text-align:center}body div.jetpack-slideshow-window * img{background-color:transparent!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{zoom:1;background-color:#000!important;background-color:rgba(0,0,0,.6)!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 hsla(0,0%,100%,.1)!important;border-radius:10em!important;color:#222!important;display:inline-block!important;*display:inline;height:32px!important;line-height:32px!important;margin:0 5px!important;padding:0!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}body.presentation-wrapper-fullscreen-parent,html.presentation-wrapper-fullscreen-parent{overflow:hidden!important}.presentation-wrapper-fullscreen-parent #wpadminbar{display:none}.presentation-wrapper-fullscreen,.presentation-wrapper-fullscreen-parent{bottom:0!important;left:0!important;margin:0!important;min-height:100%!important;min-width:100%!important;padding:0!important;position:absolute!important;right:0!important;top:0!important;z-index:10000!important}.presentation-wrapper-fullscreen{background-color:grey;border:none!important}.presentation-wrapper-fullscreen .nav-arrow-left,.presentation-wrapper-fullscreen .nav-arrow-right{z-index:20001}.presentation-wrapper-fullscreen .nav-fullscreen-button{z-index:20002}.presentation-wrapper{border:1px solid #dcdcde;line-height:normal;margin:20px auto;overflow:hidden}.presentation{margin:0;outline:none;overflow:hidden;position:relative}.presentation,.presentation .step{background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.presentation .step.fade:not(.active){opacity:0}.presentation .slide-content{padding:30px}.presentation .nav-arrow-left,.presentation .nav-arrow-right,.presentation .nav-fullscreen-button{background-repeat:no-repeat;opacity:0;position:absolute;transition:opacity .25s;width:34px;z-index:2}.presentation .nav-arrow-left,.presentation .nav-arrow-right{background-image:url(../modules/shortcodes/images/slide-nav.png);background-size:450% 61px;height:100%}.presentation .nav-arrow-left{background-position:4px 50%;left:0}.presentation .nav-arrow-right{background-position:-120px 50%;right:0}.presentation .nav-fullscreen-button{background-image:url(../modules/shortcodes/images/expand.png);background-size:100% 100%;bottom:0;height:32px;margin:4px;right:0;width:32px;z-index:3}.presentation:hover .nav-arrow-left,.presentation:hover .nav-arrow-right{opacity:1}.presentation:hover .nav-fullscreen-button{opacity:.8}.presentation-wrapper-fullscreen .nav-fullscreen-button{background-image:url(../modules/shortcodes/images/collapse.png)}.presentation .autoplay-overlay{background-color:#dcdcde;background-color:rgba(0,0,0,.75);border-radius:50px;display:table;height:15%;margin:30% 10%;position:relative;transition:opacity .5s;width:80%;z-index:100}.presentation .autoplay-overlay .overlay-msg{color:#fff;display:table-cell;position:relative;text-align:center;vertical-align:middle}.presentation .will-fade{opacity:0}.presentation .do-fade{opacity:1;transition:opacity .5s}div.jetpack-quiz{background-color:#f3f3f3;border:1px solid #deede3;border-radius:.2em;line-height:1.3em;margin-bottom:2em;padding:1em}div.jetpack-quiz div.jetpack-quiz-question{font-weight:700;margin-bottom:.5em}div.jetpack-quiz div.jetpack-quiz-answer{border-bottom:1px dotted #999;cursor:pointer;margin-bottom:.5em;padding:1em 0 1em 1em}div.jetpack-quiz div.jetpack-quiz-answer.last{border-bottom:0;margin-bottom:0;padding-bottom:0}div.jetpack-quiz div.jetpack-quiz-answer.correct{color:green}div.jetpack-quiz div.jetpack-quiz-answer.wrong{color:red}div.jetpack-quiz div.jetpack-quiz-answer div.jetpack-quiz-explanation{display:none}div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation,div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation{color:#000;display:block;font-size:90%;margin-top:1em}div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation tt,div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation tt{font-size:85%}div.jetpack-quiz pre{background:transparent;font:15px Monaco,Consolas,Andale Mono,DejaVu Sans Mono,monospace;margin:0;padding:0}.jetpack-quiz-options{margin-top:12px;text-align:right}.jetpack-quiz-count{color:#646970;float:left;font-size:12px}.jetpack-quiz-option-button{cursor:pointer;margin-left:12px}.jetpack-quiz-option-button:hover svg{background:#3c434a}.jetpack-quiz-option-button svg{fill:#fff;background:#000;border-radius:50%;display:inline-block;height:24px;width:24px}.jetpack-quiz-wrapper .jetpack-quiz:first-of-type .jetpack-quiz-option-button:first-of-type,.jetpack-quiz-wrapper .jetpack-quiz:last-of-type .jetpack-quiz-option-button:last-of-type{display:none}#subscribe-email input{width:95%}.comment-subscription-form{margin-bottom:1em}.comment-subscription-form .subscribe-label{display:inline!important}.jetpack-video-wrapper{margin-bottom:1.6em}.jetpack-video-wrapper>.wp-video,.jetpack-video-wrapper>embed,.jetpack-video-wrapper>iframe,.jetpack-video-wrapper>object{margin-bottom:0}.jetpack-social-navigation ul{display:block;margin:0 0 1.5em;padding:0}.jetpack-social-navigation li{display:inline-block;line-height:1;margin:0}.jetpack-social-navigation a{border:0;height:1em;text-decoration:none;width:1em}.jetpack-social-navigation-svg .icon{fill:currentColor;color:inherit;height:1em;vertical-align:middle;width:1em}.jetpack-social-navigation-genericons a:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;content:"\f415";display:inline-block;font-family:Genericons;font-size:1em;font-style:normal;font-weight:400;height:1em;line-height:1;text-decoration:inherit;vertical-align:top;width:1em}.jetpack-social-navigation-genericons a[href*="codepen.io"]:before{content:"\f216"}.jetpack-social-navigation-genericons a[href*="digg.com"]:before{content:"\f221"}.jetpack-social-navigation-genericons a[href*="dribbble.com"]:before{content:"\f201"}.jetpack-social-navigation-genericons a[href*="dropbox.com"]:before{content:"\f225"}.jetpack-social-navigation-genericons a[href*="mailto:"]:before{content:"\f410"}.jetpack-social-navigation-genericons a[href*="facebook.com"]:before{content:"\f203"}.jetpack-social-navigation-genericons a[href*="flickr.com"]:before{content:"\f211"}.jetpack-social-navigation-genericons a[href*="foursquare.com"]:before{content:"\f226"}.jetpack-social-navigation-genericons a[href*="github.com"]:before{content:"\f200"}.jetpack-social-navigation-genericons a[href*="plus.google.com"]:before{content:"\f206"}.jetpack-social-navigation-genericons a[href*="instagram.com"]:before{content:"\f215"}.jetpack-social-navigation-genericons a[href*="linkedin.com"]:before{content:"\f208"}.jetpack-social-navigation-genericons a[href*="path.com"]:before{content:"\f219"}.jetpack-social-navigation-genericons a[href*="pinterest."]:before{content:"\f210"}.jetpack-social-navigation-genericons a[href*="getpocket.com"]:before{content:"\f224"}.jetpack-social-navigation-genericons a[href*="polldaddy.com"]:before{content:"\f217"}.jetpack-social-navigation-genericons a[href*="reddit.com"]:before{content:"\f222"}.jetpack-social-navigation-genericons a[href$="/feed/"]:before{content:"\f413"}.jetpack-social-navigation-genericons a[href*="skype:"]:before{content:"\f220"}.jetpack-social-navigation-genericons a[href*="spotify.com"]:before{content:"\f515"}.jetpack-social-navigation-genericons a[href*="stumbleupon.com"]:before{content:"\f223"}.jetpack-social-navigation-genericons a[href*="tumblr.com"]:before{content:"\f214"}.jetpack-social-navigation-genericons a[href*="twitch.tv"]:before{content:"\f516"}.jetpack-social-navigation-genericons a[href*="twitter.com"]:before{content:"\f202"}.jetpack-social-navigation-genericons a[href*="vimeo.com"]:before{content:"\f212"}.jetpack-social-navigation-genericons a[href*="vine.co"]:before{content:"\f517"}.jetpack-social-navigation-genericons a[href*="wordpress.com"]:before,.jetpack-social-navigation-genericons a[href*="wordpress.org"]:before{content:"\f205"}.jetpack-social-navigation-genericons a[href*="youtube.com"]:before{content:"\f213"}.tiled-gallery{clear:both;margin:0 0 20px;overflow:hidden}.tiled-gallery img{margin:2px!important}.tiled-gallery .gallery-group{float:left;position:relative}.tiled-gallery .tiled-gallery-item{float:left;margin:0;position:relative;width:inherit}.tiled-gallery .gallery-row{overflow:hidden}.tiled-gallery .tiled-gallery-item a{background:transparent;border:none;color:inherit;margin:0;padding:0;text-decoration:none;width:auto}.tiled-gallery .tiled-gallery-item img,.tiled-gallery .tiled-gallery-item img:hover{background:none;border:none;box-shadow:none;max-width:100%;padding:0;vertical-align:middle}.tiled-gallery-caption{background:#f0f0f1;background:hsla(0,0%,100%,.8);bottom:0;color:#333;font-size:13px;font-weight:400;overflow:hidden;padding:10px 0;position:absolute;text-indent:10px;text-overflow:ellipsis;white-space:nowrap;width:100%}.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption{font-size:11px}.widget-gallery .tiled-gallery-unresized{height:0;overflow:hidden;visibility:hidden}.tiled-gallery .tiled-gallery-item img.grayscale{left:0;position:absolute;top:0}.tiled-gallery .tiled-gallery-item img.grayscale:hover{opacity:0}.tiled-gallery.type-circle .tiled-gallery-item img{border-radius:50%!important;-o-object-fit:cover;object-fit:cover}.tiled-gallery.type-circle .tiled-gallery-caption{display:none}.tiled-gallery.type-square .tiled-gallery-item img{-o-object-fit:cover;object-fit:cover}.jetpack-display-remote-posts{margin:5px 0 20px}.jetpack-display-remote-posts h4{margin:5px 0;padding:0}.jetpack-display-remote-posts p{margin:0;padding:0}.jetpack-display-remote-posts img{max-width:100%}.widget-grofile h4{margin:1em 0 .5em}.widget-grofile ul.grofile-urls{margin-left:0;overflow:hidden}.widget-grofile ul.grofile-accounts li{display:inline;list-style:none}.widget-grofile ul.grofile-accounts li:before{content:""!important}.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite.png);background-repeat:no-repeat;float:left;height:16px;margin-bottom:8px;margin-right:8px;width:16px}.rtl .widget-grofile .grofile-accounts-logo{margin-left:8px;margin-right:0}.grofile-thumbnail{max-width:100%;width:500px}@media only screen and (-o-min-device-pixel-ratio:3/2),only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite-2x.png);background-size:16px 784px}}div[class^=gr_custom_container]{background-color:#fff;border:1px solid gray;border-radius:10px;color:#000;padding:10px 5px}div[class^=gr_custom_container] a{color:#000}h2[class^=gr_custom_header]{display:none}div[class^=gr_custom_each_container]{border-bottom:1px solid #a7aaad;clear:both;margin-bottom:10px;overflow:auto;padding-bottom:4px;width:100%}div[class^=gr_custom_book_container]{float:right;height:60px;margin-left:4px;overflow:hidden;width:39px}div[class^=gr_custom_author]{font-size:10px}div[class^=gr_custom_tags]{color:gray;font-size:10px}div[class^=gr_custom_rating]{display:none}.widget_wpcom_social_media_icons_widget ul{list-style-type:none;margin-left:0}.widget_wpcom_social_media_icons_widget ul li{border:0;display:inline;margin-right:.5em}.widget_wpcom_social_media_icons_widget li a{border:0;text-decoration:none}.widget_wpcom_social_media_icons_widget .genericon{font-family:Genericons}.widget_wpcom_social_media_icons_widget .screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}.widget_wpcom_social_media_icons_widget .screen-reader-text:active,.widget_wpcom_social_media_icons_widget .screen-reader-text:focus,.widget_wpcom_social_media_icons_widget .screen-reader-text:hover{clip:auto!important;background-color:#f0f0f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}.widgets-grid-layout{width:100%}.widgets-grid-layout:after,.widgets-grid-layout:before{content:" ";display:table}.widgets-grid-layout:after{clear:both}.widget-grid-view-image{float:left;max-width:50%}.widget-grid-view-image a{display:block;margin:0 2px 4px 0}.widget-grid-view-image:nth-child(2n){float:right}.widget-grid-view-image:nth-child(2n) a{margin:0 0 4px 2px}.widgets-grid-layout .widget-grid-view-image img{height:auto;max-width:100%}.widgets-list-layout{list-style-type:none;margin:0;padding:0}.widgets-list-layout li:after,.widgets-list-layout li:before{content:"";display:table}.widgets-list-layout li:after{clear:both}.widgets-list-layout li{zoom:1;list-style-type:none!important;margin-bottom:1em}.widgets-list-layout .widgets-list-layout-blavatar{float:left;height:auto;max-width:40px;width:21.276596%}.widgets-list-layout-links{float:right;width:73.404255%}.widgets-list-layout span{opacity:.5}.widgets-list-layout span:hover{opacity:.8}.jetpack-image-container:after{clear:both}.jetpack-image-container:after,.jetpack-image-container:before{content:"";display:table}.widgets-multi-column-grid ul{list-style-type:none;margin:0;overflow:hidden;padding:0}.widgets-multi-column-grid ul li{background:none;border:none;clear:none;float:left;list-style-type:none!important;margin:0 -5px -3px 0;padding:0 8px 6px 0}.widgets-multi-column-grid ul li a{background:none;border:0;margin:0;padding:0}.widgets-multi-column-grid .avatar{vertical-align:middle}.widget_jetpack_my_community .avatar-240,.widget_jetpack_my_community .avatar-48{max-height:48px;max-width:48px}.widget.widget_authors li>ul,.widget_authors>ul{margin-left:inherit;padding-left:0}.widget_authors ul li li{padding-left:0}.widget_authors>ul>li{list-style:none;margin-bottom:1em}.widget_authors>ul>li+li{border-top:0}.widget.widget_authors img{box-shadow:none;margin-bottom:5px;margin-right:5px;vertical-align:middle}.wpcnt{line-height:2;text-align:center}.wpa{display:inline-block;max-width:100%;overflow:hidden;position:relative}.wpa-about{border-bottom:none!important;box-shadow:none!important;color:#888;display:block;font:10px/1 Open Sans,Arial,sans-serif!important;left:0;margin-top:0;opacity:.85;position:absolute;right:0;text-align:left!important;text-decoration:none!important;top:5px}.wpa .u>div{display:block;margin-bottom:1em;margin-top:5px}div.wpa>div{margin-top:20px}.wpa .u .adsbygoogle{background-color:transparent;display:block;margin-bottom:1em;margin-top:17px}.widget_eu_cookie_law_widget{animation:fadeIn .8s;border:none;bottom:1em;left:1em;margin:0;padding:0;position:fixed;right:1em;width:auto;z-index:50001}@keyframes fadeIn{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.widget_eu_cookie_law_widget.widget.top{bottom:auto;top:1em}.admin-bar .widget_eu_cookie_law_widget.widget.top{top:3em}amp-consent.widget_eu_cookie_law_widget.widget.top{margin:0;top:1em}.admin-bar amp-consent.widget_eu_cookie_law_widget.widget.top{margin-top:3em;top:0}#eu-cookie-law{background-color:#fff;border:1px solid #dedede;color:#2e4467;font-size:12px;line-height:1.5;overflow:hidden;padding:6px 6px 6px 15px;position:relative}#eu-cookie-law a,#eu-cookie-law a:active,#eu-cookie-law a:visited{color:inherit;cursor:inherit;text-decoration:underline}#eu-cookie-law a:hover{cursor:pointer;text-decoration:none}#eu-cookie-law.negative{background-color:#000;border:none;color:#fff}#eu-cookie-law.hide{opacity:0;transition:opacity .4s,visibility .4s;visibility:hidden}#eu-cookie-law form{margin-bottom:0;position:static}#eu-cookie-law input,#eu-cookie-law input:focus,#eu-cookie-law input:hover{background:#f3f3f3;border:1px solid #dedede;border-radius:4px;-moz-border-radius:3px;-webkit-border-radius:3px;color:#2e4453;cursor:pointer;display:inline;float:right;font-family:inherit;font-size:14px;font-weight:inherit;line-height:inherit;margin:0 0 0 5%;padding:8px 12px;position:static;text-transform:none}#eu-cookie-law.negative input,#eu-cookie-law.negative input:focus,#eu-cookie-law.negative input:hover{background:#282828;border-color:#535353;color:#fff}@media (max-width:600px){#eu-cookie-law{padding-bottom:55px}#eu-cookie-law input.accept{bottom:8px;position:absolute;right:8px}}.widget_eu_cookie_law_widget .customize-partial-edit-shortcut>button{left:0}.flickr-images{text-align:center}.flickr-size-thumbnail .flickr-images{align-content:space-between;align-items:center;display:flex;flex-flow:row wrap;justify-content:center}.flickr-images img{margin:5px;max-width:100%}.wpcom-instagram-images{grid-gap:.5rem;display:grid;grid-auto-columns:1fr}.wpcom-instagram-images:after,.wpcom-instagram-images:before{content:none}.wpcom-instagram-images a{display:block;margin:4px 2px}.wpcom-instagram-columns-2 a,.wpcom-instagram-columns-3 a{display:inline-block;vertical-align:top}.wpcom-instagram-columns-2 a{width:calc(50% - 8px)}.wpcom-instagram-columns-3 a{width:calc(33.3333% - 8px)}.wpcom-instagram-images .sq-bg-image{background-position:50%;background-repeat:no-repeat;background-size:cover;height:0;overflow:hidden;padding-bottom:100%}.wpcom-instagram-columns-2{grid-template-columns:repeat(2,1fr)}.wpcom-instagram-columns-3{grid-template-columns:repeat(3,1fr)}@supports (display:grid){.wpcom-instagram-images a{display:block;margin:0}.wpcom-instagram-columns-2 a,.wpcom-instagram-columns-3 a{width:auto}}.jetpack-search-filters-widget__sub-heading{font-size:inherit;font-weight:700;margin:0 0 .5em;padding:0}.jetpack-search-form+.jetpack-search-filters-widget__sub-heading{margin-bottom:.5em!important;margin-top:1.5em}.jetpack-search-filters-widget__clear{margin-bottom:.5em;margin-top:.5em}.jetpack-search-sort-wrapper{margin-bottom:1.5em;margin-top:1em}.jetpack-search-sort-wrapper label{display:inherit}.widget_search .jetpack-search-filters-widget__filter-list input[type=checkbox]{height:auto;width:auto}ul.jetpack-search-filters-widget__filter-list li{border:none;list-style:none;padding:0}ul.jetpack-search-filters-widget__filter-list li a{text-decoration:none}ul.jetpack-search-filters-widget__filter-list li a:hover{box-shadow:none}ul.jetpack-search-filters-widget__filter-list li label{display:inherit;font-weight:inherit}.jetpack-search-filters-widget__filter-list{list-style:none}ul.jetpack-search-filters-widget__filter-list{margin-bottom:1.5em}body.search .jetpack-search-form input[name=s]::placeholder{color:transparent}body.search .jetpack-search-form input[name=s].show-placeholder::placeholder{color:inherit}@media screen and (min-width:400px){.widget.jetpack-simple-payments .jetpack-simple-payments-product{flex-direction:column}.widget.jetpack-simple-payments .jetpack-simple-payments-details{padding-left:0}}.jetpack_widget_social_icons li,.jetpack_widget_social_icons ul{list-style:none}.jetpack_widget_social_icons ul{display:block;margin:0 0 1.5em;padding:0}.jetpack_widget_social_icons ul li{border:0;display:inline-block;line-height:1;margin:0;padding:0}.jetpack_widget_social_icons ul li:after,.jetpack_widget_social_icons ul li:before{display:none}.jetpack_widget_social_icons a{border:0;box-shadow:none;display:block;height:24px;text-decoration:none;width:24px}.jetpack_widget_social_icons svg{fill:currentColor;color:inherit;height:inherit;vertical-align:middle;width:inherit}.jetpack_widget_social_icons ul.size-small a{height:24px;width:24px}.jetpack_widget_social_icons ul.size-medium a{height:32px;width:32px}.jetpack_widget_social_icons ul.size-large a{height:48px;width:48px}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px}.milestone-widget{margin-bottom:1em}.milestone-content{line-height:2;margin-top:5px;max-width:100%;padding:0;text-align:center}.milestone-header{background-color:var(--milestone-text-color,#111);color:var(--milestone-bg-color,#fff);line-height:1.3;margin:0;padding:.8em}.milestone-header .date,.milestone-header .event{display:block}.milestone-header .event{font-size:120%}.milestone-countdown .difference{display:block;font-size:500%;font-weight:700;line-height:1.2}.milestone-countdown,.milestone-message{background-color:var(--milestone-bg-color,#fff);border:1px solid var(--milestone-border-color,#767676);border-top:0;color:var(--milestone-text-color,#111);padding-bottom:1em}.milestone-message{padding-top:1em} \ No newline at end of file
diff --git a/plugins/jetpack/css/wordads-ccpa-rtl.css b/plugins/jetpack/css/wordads-ccpa-rtl.css
index 824de5b6..af6357dd 100644
--- a/plugins/jetpack/css/wordads-ccpa-rtl.css
+++ b/plugins/jetpack/css/wordads-ccpa-rtl.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
/* Include Cleanslate */
/*!
* CleanSlate
@@ -878,4 +875,3 @@
color: #0085ba !important;
text-decoration: none !important;
}
-/*# sourceMappingURL=wordads-ccpa-rtl.css.map */
diff --git a/plugins/jetpack/css/wordads-ccpa-rtl.min.css b/plugins/jetpack/css/wordads-ccpa-rtl.min.css
index 7b96dadd..9b21fcc6 100644
--- a/plugins/jetpack/css/wordads-ccpa-rtl.min.css
+++ b/plugins/jetpack/css/wordads-ccpa-rtl.min.css
@@ -1,7 +1,5 @@
/*!
-* Do not modify this file directly. It is compiled SASS code.
-*//*!
* CleanSlate
* github.com/premasagar/cleanslate
*
-*/.cleanslate,.cleanslate a,.cleanslate abbr,.cleanslate acronym,.cleanslate address,.cleanslate applet,.cleanslate area,.cleanslate article,.cleanslate aside,.cleanslate audio,.cleanslate b,.cleanslate big,.cleanslate blockquote,.cleanslate button,.cleanslate canvas,.cleanslate caption,.cleanslate cite,.cleanslate code,.cleanslate col,.cleanslate colgroup,.cleanslate datalist,.cleanslate dd,.cleanslate del,.cleanslate dfn,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate em,.cleanslate fieldset,.cleanslate figcaption,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hr,.cleanslate i,.cleanslate iframe,.cleanslate img,.cleanslate input,.cleanslate ins,.cleanslate kbd,.cleanslate label,.cleanslate legend,.cleanslate li,.cleanslate main,.cleanslate map,.cleanslate mark,.cleanslate menu,.cleanslate meta,.cleanslate nav,.cleanslate object,.cleanslate ol,.cleanslate optgroup,.cleanslate option,.cleanslate output,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate q,.cleanslate samp,.cleanslate section,.cleanslate select,.cleanslate small,.cleanslate span,.cleanslate strike,.cleanslate strong,.cleanslate sub,.cleanslate summary,.cleanslate sup,.cleanslate svg,.cleanslate table,.cleanslate tbody,.cleanslate td,.cleanslate textarea,.cleanslate tfoot,.cleanslate th,.cleanslate thead,.cleanslate time,.cleanslate tr,.cleanslate tt,.cleanslate ul,.cleanslate var,.cleanslate video{background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:100% 0!important;background-repeat:repeat!important;border-color:#000!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;color:inherit!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline!important;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;right:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:invert none medium!important;overflow:visible!important;padding:0!important;position:static!important;quotes:"" ""!important;left:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal!important;z-index:auto!important;background-origin:padding-box!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;background-size:auto!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;box-sizing:content-box!important;column-count:auto!important;column-gap:normal!important;column-rule:medium none #000!important;column-span:1!important;column-width:auto!important;font-feature-settings:normal!important;overflow-x:visible!important;overflow-y:visible!important;-webkit-hyphens:manual!important;hyphens:manual!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;-ms-perspective-origin:50% 50%!important;-o-perspective-origin:50% 50%!important;perspective-origin:50% 50%!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;text-shadow:none!important;transition:all 0s ease 0s!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;word-break:normal!important}.cleanslate,.cleanslate address,.cleanslate article,.cleanslate audio,.cleanslate blockquote,.cleanslate caption,.cleanslate colgroup,.cleanslate dd,.cleanslate dialog,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate fieldset,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hgroup,.cleanslate hr,.cleanslate main,.cleanslate menu,.cleanslate nav,.cleanslate ol,.cleanslate option,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate section,.cleanslate summary,.cleanslate ul,.cleanslate video{display:block!important}.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6{font-weight:700!important}.cleanslate h1:before,.cleanslate h2:before{display:none!important}.cleanslate h1{font-size:2em!important;padding:.67em 0!important}.cleanslate h2{font-size:1.5em!important;padding:.83em 0!important}.cleanslate h3{font-size:1.17em!important;padding:.83em 0!important}.cleanslate h4{font-size:1em!important}.cleanslate h5{font-size:.83em!important}.cleanslate p{margin:1em 0!important}.cleanslate table{display:table!important}.cleanslate thead{display:table-header-group!important}.cleanslate tbody{display:table-row-group!important}.cleanslate tfoot{display:table-footer-group!important}.cleanslate tr{display:table-row!important}.cleanslate td,.cleanslate th{display:table-cell!important;padding:2px!important}.cleanslate ol,.cleanslate ul{margin:1em 0!important}.cleanslate ol li,.cleanslate ol ol li,.cleanslate ol ol ol li,.cleanslate ol ol ul li,.cleanslate ol ul ul li,.cleanslate ul li,.cleanslate ul ol ol li,.cleanslate ul ul li,.cleanslate ul ul ol li,.cleanslate ul ul ul li{list-style-position:inside!important;margin-top:.08em!important}.cleanslate ol ol,.cleanslate ol ol ol,.cleanslate ol ol ul,.cleanslate ol ul,.cleanslate ol ul ul,.cleanslate ul ol,.cleanslate ul ol ol,.cleanslate ul ul,.cleanslate ul ul ol,.cleanslate ul ul ul{padding-right:40px!important;margin:0!important}.cleanslate nav ol,.cleanslate nav ul{list-style-type:none!important}.cleanslate menu,.cleanslate ul{list-style-type:disc!important}.cleanslate ol{list-style-type:decimal!important}.cleanslate menu menu,.cleanslate menu ul,.cleanslate ol menu,.cleanslate ol ul,.cleanslate ul menu,.cleanslate ul ul{list-style-type:circle!important}.cleanslate menu menu menu,.cleanslate menu menu ul,.cleanslate menu ol menu,.cleanslate menu ol ul,.cleanslate menu ul menu,.cleanslate menu ul ul,.cleanslate ol menu menu,.cleanslate ol menu ul,.cleanslate ol ol menu,.cleanslate ol ol ul,.cleanslate ol ul menu,.cleanslate ol ul ul,.cleanslate ul menu menu,.cleanslate ul menu ul,.cleanslate ul ol menu,.cleanslate ul ol ul,.cleanslate ul ul menu,.cleanslate ul ul ul{list-style-type:square!important}.cleanslate li{display:list-item!important;min-height:auto!important;min-width:auto!important;padding-right:20px!important}.cleanslate strong{font-weight:700!important}.cleanslate em{font-style:italic!important}.cleanslate code,.cleanslate kbd,.cleanslate pre,.cleanslate samp{font-family:monospace!important}.cleanslate a{color:#00f!important;text-decoration:underline!important}.cleanslate a:visited{color:#529!important}.cleanslate a,.cleanslate a *,.cleanslate button,.cleanslate input[type=button],.cleanslate input[type=checkbox],.cleanslate input[type=radio],.cleanslate input[type=submit],.cleanslate select{cursor:pointer!important}.cleanslate button,.cleanslate input[type=submit]{text-align:center!important;padding:2px 6px 3px!important;border-radius:4px!important;text-decoration:none!important;font-family:inherit!important;font-size:small!important;background:#fff!important;-webkit-appearance:push-button!important;color:buttontext!important;border:1px #a6a6a6 solid!important;background:#d3d3d3!important;background:#fff;background:linear-gradient(to bottom,#fff 0,#ddd 100%,#d1d1d1 100%,#ddd 100%)!important;-o-box-shadow:-1px 1px 0 #eee!important;box-shadow:-1px 1px 0 #eee!important;outline:initial!important}.cleanslate button:active,.cleanslate input[type=button]:active,.cleanslate input[type=submit]:active{background:#3b679e!important;background:linear-gradient(to bottom,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8 100%)!important;border-color:#5259b0!important}.cleanslate button{padding:1px 6px 2px 6px!important;margin-left:5px!important}.cleanslate input[type=hidden]{display:none!important}.cleanslate textarea{-webkit-appearance:textarea!important;background:#fff!important;padding:2px!important;margin-right:4px!important;word-wrap:break-word!important;white-space:pre-wrap!important;font-size:11px!important;font-family:inherit!important;line-height:13px!important;resize:both!important}.cleanslate input,.cleanslate select,.cleanslate textarea{border:1px solid #ccc!important}.cleanslate select{font-size:11px!important;font-family:inherit!important;display:inline-block}.cleanslate input:focus,.cleanslate textarea:focus{outline:auto 5px -webkit-focus-ring-color!important;outline:initial!important}.cleanslate input[type=text]{background:#fff!important;padding:1px!important;font-family:initial!important;font-size:small!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{border:1px #2b2b2b solid!important;border-radius:4px!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{outline:initial!important}.cleanslate input[type=radio]{margin:2px 2px 3px 2px!important}.cleanslate abbr[title],.cleanslate acronym[title],.cleanslate dfn[title]{cursor:help!important;border-bottom-width:1px!important;border-bottom-style:dotted!important}.cleanslate ins{background-color:#ff9!important;color:#000!important}.cleanslate del{text-decoration:line-through!important}.cleanslate blockquote,.cleanslate q{quotes:none!important}.cleanslate blockquote:after,.cleanslate blockquote:before,.cleanslate li:after,.cleanslate li:before,.cleanslate q:after,.cleanslate q:before{content:""!important}.cleanslate input,.cleanslate select{vertical-align:middle!important}.cleanslate table{border-collapse:collapse!important;border-spacing:0!important}.cleanslate hr{display:block!important;height:1px!important;border:0!important;border-top:1px solid #ccc!important;margin:1em 0!important}.cleanslate [dir=rtl]{direction:ltr!important}.cleanslate mark{background-color:#ff9!important;color:#000!important;font-style:italic!important;font-weight:700!important}.cleanslate menu{padding-right:40px!important;padding-top:8px!important}.cleanslate [hidden],.cleanslate template{display:none!important}.cleanslate abbr[title]{border-bottom:1px dotted!important}.cleanslate sub,.cleanslate sup{font-size:75%!important;line-height:0!important;position:relative!important;vertical-align:baseline!important}.cleanslate sup{top:-.5em!important}.cleanslate sub{bottom:-.25em!important}.cleanslate img{border:0!important}.cleanslate figure{margin:0!important}.cleanslate textarea{overflow:auto!important;vertical-align:top!important}.cleanslate{font-size:medium!important;line-height:1!important;direction:rtl!important;text-align:right!important;text-align:start!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;color:#000!important;font-style:normal!important;font-weight:400!important;text-decoration:none!important;list-style-type:disc!important}.cleanslate pre{white-space:pre!important}@media (max-width:599px){body.admin-bar .cleanslate .components-modal__frame{top:46px!important}}.cleanslate .ccpa__loading-overlay,.cleanslate .components-modal__screen-overlay{position:fixed!important;top:0!important;left:0!important;bottom:0!important;right:0!important;background-color:rgba(0,0,0,.7)!important;z-index:2147483647!important;animation:edit-post__fade-in-animation .2s ease-out 0s!important;animation-fill-mode:forwards!important}.cleanslate .components-modal__frame{position:absolute!important;top:0!important;left:0!important;bottom:0!important;right:0!important;box-sizing:border-box!important;margin:0!important;border:1px solid #e2e4e7!important;background:#fff!important;box-shadow:0 3px 30px rgba(25,30,35,.2)!important;overflow:auto!important}.cleanslate .ccpa__loading-message{position:absolute!important;top:50%!important;left:0!important;bottom:0!important;right:0!important;box-sizing:border-box!important;margin:0!important;text-align:center!important;color:#fff!important}@media (min-width:600px){.cleanslate .components-modal__frame{top:50%!important;left:auto!important;bottom:auto!important;right:50%!important;min-width:360px!important;max-width:580px!important;max-height:calc(100% - 56px - 56px)!important;transform:translate(50%,-50%)!important;animation:components-modal__appear-animation .1s ease-out!important;animation-fill-mode:forwards!important}}@keyframes components-modal__appear-animation{from{margin-top:32px!important}to{margin-top:0!important}}.cleanslate .components-modal__header{box-sizing:border-box!important;border-bottom:1px solid #e2e4e7!important;padding:0 16px!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important;background:#fff!important;align-items:center!important;height:56px!important;position:sticky!important;top:0!important;z-index:10!important;margin:0 -16px 16px!important}.cleanslate .components-modal__header .components-modal__header-heading{font-size:16px!important;font-weight:600!important}.cleanslate .components-modal__header h1{line-height:1!important;margin:0!important}.cleanslate .components-modal__header-heading-container{align-items:center!important;flex-grow:1!important;display:flex!important;flex-direction:row!important;justify-content:left!important}.cleanslate .components-modal__content{box-sizing:border-box!important;height:100%!important;padding:0 16px!important}.cleanslate .components-modal__footer{box-sizing:border-box!important;border-top:1px solid #e2e4e7!important;padding:0 16px!important;background:#fff!important;height:110px!important;position:sticky!important;bottom:0!important;z-index:10!important;margin:0 -16px!important}.cleanslate .components-modal__footer-bottom{display:flex!important;flex-direction:row-reverse!important;justify-content:space-between!important;align-items:center!important}.cleanslate .components-button{display:inline-flex!important;text-decoration:none!important;font-size:13px!important;margin:0!important;border:0!important;cursor:pointer!important;-webkit-appearance:none!important;background:0 0!important}.cleanslate .components-icon-button{display:flex!important;align-items:center!important;padding:8px!important;margin:0!important;border:none!important;background:0 0!important;color:#50575e!important;position:relative!important;overflow:hidden!important;border-radius:4px!important;box-shadow:none!important;outline:0!important}.cleanslate .components-icon-button:active{background:0 0!important}.cleanslate .components-icon-button .dashicon{display:inline-block!important;flex:0 0 auto!important}.cleanslate .components-icon-button svg{fill:currentColor!important;outline:0!important;cursor:pointer!important}.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff!important;color:#1d2327!important;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)!important}.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:0!important;background-color:#fff!important;color:#1d2327!important;box-shadow:inset 0 0 0 1px #c3c4c7,inset 0 0 0 2px #fff!important}.cleanslate .components-icon-button:disabled:focus,.cleanslate .components-icon-button[aria-disabled=true]:focus{box-shadow:none!important}.cleanslate .components-form-toggle{position:relative!important;display:inline-block!important}.cleanslate .components-form-toggle.disabled{opacity:.5!important}.cleanslate .components-form-toggle .components-form-toggle__off,.cleanslate .components-form-toggle .components-form-toggle__on{position:absolute!important;top:6px!important;box-sizing:border-box!important;width:2px!important;height:6px!important;overflow:hidden!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__on{display:block!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__off{display:none!important}.cleanslate .components-form-toggle .components-form-toggle__off{color:#787c82!important;fill:currentColor!important;left:6px!important;width:6px!important}.cleanslate .components-form-toggle .components-form-toggle__on{right:8px!important;display:none!important}.cleanslate .components-form-toggle .components-form-toggle__track{content:""!important;display:inline-block!important;box-sizing:border-box!important;vertical-align:top!important;background-color:#fff!important;border:2px solid #787c82!important;width:36px!important;height:18px!important;border-radius:9px!important;transition:.2s background ease!important}@media (prefers-reduced-motion:reduce){.cleanslate .components-form-toggle .components-form-toggle__track{transition-duration:0s!important}}.cleanslate .components-form-toggle .components-form-toggle__thumb{display:block!important;position:absolute!important;box-sizing:border-box!important;top:4px!important;right:4px!important;width:10px!important;height:10px!important;border-radius:50%!important;transition:.1s transform ease!important;background-color:#787c82!important;border:5px solid #787c82!important}@media (prefers-reduced-motion:reduce){.cleanslate .components-form-toggle .components-form-toggle__thumb{transition-duration:0s!important}}.cleanslate .components-form-toggle:hover .components-form-toggle__track{border:2px solid #50575e!important}.cleanslate .components-form-toggle:hover .components-form-toggle__thumb{background-color:#50575e!important;border:5px solid #787c82!important}.cleanslate .components-form-toggle:hover .components-form-toggle__off{color:#50575e!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2!important;border:2px solid #11a0d2!important;border:9px solid transparent!important}.cleanslate .components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #787c82!important;outline:2px solid transparent!important;outline-offset:2px!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff!important;border-width:0!important;transform:translateX(-18px)!important}.cleanslate .components-form-toggle.is-checked::before{background-color:#11a0d2!important;border:2px solid #11a0d2!important}.cleanslate .components-disabled .components-form-toggle{opacity:.3!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute!important;top:0!important;right:0!important;width:100%!important;height:100%!important;opacity:0!important;margin:0!important;padding:0!important;z-index:1!important;border:none!important}.cleanslate .components-form-toggle.disabled input.components-form-toggle__input[type=checkbox]{cursor:default!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:0 0!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]::before{content:""!important}.cleanslate .components-form-toggle .components-form-toggle__on{outline:1px solid transparent!important;outline-offset:-1px!important;border:1px solid #000!important;filter:invert(100%) contrast(500%)!important}.cleanslate .components-button{display:inline-flex!important;text-decoration:none!important;font-size:13px!important;margin:0!important;border:0!important;cursor:pointer!important;-webkit-appearance:none!important;background:0 0!important}.cleanslate .components-button.is-button{padding:0 10px 1px!important;line-height:26px!important;height:28px!important;border-radius:3px!important;white-space:nowrap!important;border-width:1px!important;border-style:solid!important}.cleanslate .components-button.is-primary{background:#0085ba!important;border-color:#006a95 #00648c #00648c!important;box-shadow:inset 0 -1px 0 #00648c!important;color:#fff!important;text-decoration:none!important;text-shadow:0 -1px 1px #005d82,-1px 0 1px #005d82,0 1px 1px #005d82,1px 0 1px #005d82!important}.cleanslate .components-button.is-primary:focus:enabled,.cleanslate .components-button.is-primary:hover{background:#007eb1!important;border-color:#00435d!important;color:#fff!important}.cleanslate .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d!important}.cleanslate .components-button.is-primary:active:enabled{background:#006a95!important;border-color:#00435d!important;box-shadow:inset 0 1px 0 #00435d!important;vertical-align:top!important}.cleanslate .components-button.is-primary:disabled,.cleanslate .components-button.is-primary:disabled:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true],.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled{color:#66b6d6!important;background:#0085ba!important;border-color:#007cad!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important}.cleanslate .components-button.is-primary:disabled.is-button,.cleanslate .components-button.is-primary:disabled.is-button:hover,.cleanslate .components-button.is-primary:disabled:active:enabled,.cleanslate .components-button.is-primary:disabled:active:enabled.is-button,.cleanslate .components-button.is-primary:disabled:active:enabled.is-button:hover,.cleanslate .components-button.is-primary:disabled:active:enabled:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true].is-button,.cleanslate .components-button.is-primary[aria-disabled=true].is-button:hover,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled{box-shadow:none!important;text-shadow:none!important}.cleanslate .components-button.is-primary:disabled:active:enabled:focus:enabled,.cleanslate .components-button.is-primary:disabled:focus:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:focus:enabled{color:#66b6d6!important;border-color:#007cad!important;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba!important}.cleanslate .ccpa-settings{font-size:13px!important;line-height:20px!important;color:#1a1a1a!important;border-bottom:1px solid #e2e4e7!important}.cleanslate .ccpa-setting{margin:0 -16px 10px -16px!important;padding:16px!important;border-bottom:1px solid #e2e4e7!important}.cleanslate .ccpa-setting__header{font-weight:700!important}.cleanslate .ccpa-setting__text{padding-left:50px!important}.cleanslate .ccpa-setting__toggle{float:left!important}.cleanslate .ccpa-setting__toggle-text{float:left!important;margin-left:8px!important;margin-top:-2px!important;display:none!important}.cleanslate .ccpa-setting__toggle-text-off{display:inline-block!important}.cleanslate .is-checked>.ccpa-setting__toggle-text-off{display:none!important}.cleanslate .is-checked>.ccpa-setting__toggle-text-on{display:inline-block!important}.cleanslate .ccpa-privacy,.cleanslate .ccpa-privacy:visited{color:#0085ba!important;text-decoration:none!important} \ No newline at end of file
+*/.cleanslate,.cleanslate a,.cleanslate abbr,.cleanslate acronym,.cleanslate address,.cleanslate applet,.cleanslate area,.cleanslate article,.cleanslate aside,.cleanslate audio,.cleanslate b,.cleanslate big,.cleanslate blockquote,.cleanslate button,.cleanslate canvas,.cleanslate caption,.cleanslate cite,.cleanslate code,.cleanslate col,.cleanslate colgroup,.cleanslate datalist,.cleanslate dd,.cleanslate del,.cleanslate dfn,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate em,.cleanslate fieldset,.cleanslate figcaption,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hr,.cleanslate i,.cleanslate iframe,.cleanslate img,.cleanslate input,.cleanslate ins,.cleanslate kbd,.cleanslate label,.cleanslate legend,.cleanslate li,.cleanslate main,.cleanslate map,.cleanslate mark,.cleanslate menu,.cleanslate meta,.cleanslate nav,.cleanslate object,.cleanslate ol,.cleanslate optgroup,.cleanslate option,.cleanslate output,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate q,.cleanslate samp,.cleanslate section,.cleanslate select,.cleanslate small,.cleanslate span,.cleanslate strike,.cleanslate strong,.cleanslate sub,.cleanslate summary,.cleanslate sup,.cleanslate svg,.cleanslate table,.cleanslate tbody,.cleanslate td,.cleanslate textarea,.cleanslate tfoot,.cleanslate th,.cleanslate thead,.cleanslate time,.cleanslate tr,.cleanslate tt,.cleanslate ul,.cleanslate var,.cleanslate video{clip:auto!important;font-feature-settings:normal!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;background-attachment:scroll!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;background-color:transparent!important;background-image:none!important;background-origin:padding-box!important;background-position:100% 0!important;background-repeat:repeat!important;background-size:auto!important;border:none!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;bottom:auto!important;box-shadow:none!important;box-sizing:content-box!important;clear:none!important;color:inherit!important;column-gap:normal!important;column-rule:medium none #000!important;column-span:1!important;columns:auto!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline!important;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;-webkit-hyphens:manual!important;hyphens:manual!important;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-image:none!important;list-style-position:outside!important;list-style-type:inherit!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:medium none invert!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;padding:0!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;-ms-perspective-origin:50% 50%!important;-o-perspective-origin:50% 50%!important;perspective-origin:50% 50%!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-shadow:none!important;text-transform:none!important;top:auto!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;transition:all 0s ease 0s!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-break:normal!important;word-spacing:normal!important;z-index:auto!important}.cleanslate,.cleanslate address,.cleanslate article,.cleanslate audio,.cleanslate blockquote,.cleanslate caption,.cleanslate colgroup,.cleanslate dd,.cleanslate dialog,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate fieldset,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hgroup,.cleanslate hr,.cleanslate main,.cleanslate menu,.cleanslate nav,.cleanslate ol,.cleanslate option,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate section,.cleanslate summary,.cleanslate ul,.cleanslate video{display:block!important}.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6{font-weight:700!important}.cleanslate h1:before,.cleanslate h2:before{display:none!important}.cleanslate h1{font-size:2em!important;padding:.67em 0!important}.cleanslate h2{font-size:1.5em!important;padding:.83em 0!important}.cleanslate h3{font-size:1.17em!important;padding:.83em 0!important}.cleanslate h4{font-size:1em!important}.cleanslate h5{font-size:.83em!important}.cleanslate p{margin:1em 0!important}.cleanslate table{display:table!important}.cleanslate thead{display:table-header-group!important}.cleanslate tbody{display:table-row-group!important}.cleanslate tfoot{display:table-footer-group!important}.cleanslate tr{display:table-row!important}.cleanslate td,.cleanslate th{display:table-cell!important;padding:2px!important}.cleanslate ol,.cleanslate ul{margin:1em 0!important}.cleanslate ol li,.cleanslate ol ol li,.cleanslate ol ol ol li,.cleanslate ol ol ul li,.cleanslate ol ul ul li,.cleanslate ul li,.cleanslate ul ol ol li,.cleanslate ul ul li,.cleanslate ul ul ol li,.cleanslate ul ul ul li{list-style-position:inside!important;margin-top:.08em!important}.cleanslate ol ol,.cleanslate ol ol ol,.cleanslate ol ol ul,.cleanslate ol ul,.cleanslate ol ul ul,.cleanslate ul ol,.cleanslate ul ol ol,.cleanslate ul ul,.cleanslate ul ul ol,.cleanslate ul ul ul{margin:0!important;padding-right:40px!important}.cleanslate nav ol,.cleanslate nav ul{list-style-type:none!important}.cleanslate menu,.cleanslate ul{list-style-type:disc!important}.cleanslate ol{list-style-type:decimal!important}.cleanslate menu menu,.cleanslate menu ul,.cleanslate ol menu,.cleanslate ol ul,.cleanslate ul menu,.cleanslate ul ul{list-style-type:circle!important}.cleanslate menu menu menu,.cleanslate menu menu ul,.cleanslate menu ol menu,.cleanslate menu ol ul,.cleanslate menu ul menu,.cleanslate menu ul ul,.cleanslate ol menu menu,.cleanslate ol menu ul,.cleanslate ol ol menu,.cleanslate ol ol ul,.cleanslate ol ul menu,.cleanslate ol ul ul,.cleanslate ul menu menu,.cleanslate ul menu ul,.cleanslate ul ol menu,.cleanslate ul ol ul,.cleanslate ul ul menu,.cleanslate ul ul ul{list-style-type:square!important}.cleanslate li{display:list-item!important;min-height:auto!important;min-width:auto!important;padding-right:20px!important}.cleanslate strong{font-weight:700!important}.cleanslate em{font-style:italic!important}.cleanslate code,.cleanslate kbd,.cleanslate pre,.cleanslate samp{font-family:monospace!important}.cleanslate a{color:blue!important;text-decoration:underline!important}.cleanslate a:visited{color:#529!important}.cleanslate a,.cleanslate a *,.cleanslate button,.cleanslate input[type=button],.cleanslate input[type=checkbox],.cleanslate input[type=radio],.cleanslate input[type=submit],.cleanslate select{cursor:pointer!important}.cleanslate button,.cleanslate input[type=submit]{-webkit-appearance:push-button!important;background:#fff!important;background:#d3d3d3!important;background:#fff;background:linear-gradient(180deg,#fff,#ddd 100%,#d1d1d1 0,#ddd 0)!important;border:1px solid #a6a6a6!important;border-radius:4px!important;-o-box-shadow:-1px 1px 0 #eee!important;box-shadow:-1px 1px 0 #eee!important;color:buttontext!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#dddddd",GradientType=0)!important;font-family:inherit!important;font-size:small!important;outline:initial!important;padding:2px 6px 3px!important;text-align:center!important;text-decoration:none!important}.cleanslate button:active,.cleanslate input[type=button]:active,.cleanslate input[type=submit]:active{background:#3b679e!important;background:linear-gradient(180deg,#3b679e,#2b88d9 50%,#207cca 51%,#7db9e8)!important;border-color:#5259b0!important}.cleanslate button{margin-left:5px!important;padding:1px 6px 2px!important}.cleanslate input[type=hidden]{display:none!important}.cleanslate textarea{word-wrap:break-word!important;-webkit-appearance:textarea!important;background:#fff!important;font-family:inherit!important;font-size:11px!important;line-height:13px!important;margin-right:4px!important;padding:2px!important;resize:both!important;white-space:pre-wrap!important}.cleanslate input,.cleanslate select,.cleanslate textarea{border:1px solid #ccc!important}.cleanslate select{display:inline-block;font-family:inherit!important;font-size:11px!important}.cleanslate input:focus,.cleanslate textarea:focus{outline:5px auto -webkit-focus-ring-color!important;outline:initial!important}.cleanslate input[type=text]{background:#fff!important;font-family:initial!important;font-size:small!important;padding:1px!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{border:1px solid #2b2b2b!important;border-radius:4px!important;outline:initial!important}.cleanslate input[type=radio]{margin:2px 2px 3px!important}.cleanslate abbr[title],.cleanslate acronym[title],.cleanslate dfn[title]{border-bottom-style:dotted!important;border-bottom-width:1px!important;cursor:help!important}.cleanslate ins{background-color:#ff9!important;color:#000!important}.cleanslate del{text-decoration:line-through!important}.cleanslate blockquote,.cleanslate q{quotes:none!important}.cleanslate blockquote:after,.cleanslate blockquote:before,.cleanslate li:after,.cleanslate li:before,.cleanslate q:after,.cleanslate q:before{content:""!important}.cleanslate input,.cleanslate select{vertical-align:middle!important}.cleanslate table{border-collapse:collapse!important;border-spacing:0!important}.cleanslate hr{border:0!important;border-top:1px solid #ccc!important;display:block!important;height:1px!important;margin:1em 0!important}.cleanslate [dir=rtl]{direction:ltr!important}.cleanslate mark{background-color:#ff9!important;color:#000!important;font-style:italic!important;font-weight:700!important}.cleanslate menu{padding-right:40px!important;padding-top:8px!important}.cleanslate [hidden],.cleanslate template{display:none!important}.cleanslate abbr[title]{border-bottom:1px dotted!important}.cleanslate sub,.cleanslate sup{font-size:75%!important;line-height:0!important;position:relative!important;vertical-align:baseline!important}.cleanslate sup{top:-.5em!important}.cleanslate sub{bottom:-.25em!important}.cleanslate img{border:0!important}.cleanslate figure{margin:0!important}.cleanslate textarea{overflow:auto!important;vertical-align:top!important}.cleanslate{color:#000!important;direction:rtl!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important;font-size:medium!important;font-style:normal!important;font-weight:400!important;line-height:1!important;list-style-type:disc!important;text-align:right!important;text-align:start!important;text-decoration:none!important}.cleanslate pre{white-space:pre!important}@media (max-width:599px){body.admin-bar .cleanslate .components-modal__frame{top:46px!important}}.cleanslate .ccpa__loading-overlay,.cleanslate .components-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s!important;animation-fill-mode:forwards!important;background-color:rgba(0,0,0,.7)!important;bottom:0!important;left:0!important;position:fixed!important;right:0!important;top:0!important;z-index:2147483647!important}.cleanslate .components-modal__frame{background:#fff!important;border:1px solid #e2e4e7!important;box-shadow:0 3px 30px rgba(25,30,35,.2)!important;overflow:auto!important;top:0!important}.cleanslate .ccpa__loading-message,.cleanslate .components-modal__frame{bottom:0!important;box-sizing:border-box!important;left:0!important;margin:0!important;position:absolute!important;right:0!important}.cleanslate .ccpa__loading-message{color:#fff!important;text-align:center!important;top:50%!important}@media (min-width:600px){.cleanslate .components-modal__frame{animation:components-modal__appear-animation .1s ease-out!important;animation-fill-mode:forwards!important;bottom:auto!important;left:auto!important;max-height:calc(100% - 112px)!important;max-width:580px!important;min-width:360px!important;right:50%!important;top:50%!important;transform:translate(50%,-50%)!important}}@keyframes components-modal__appear-animation{0%{margin-top:32px!important}to{margin-top:0!important}}.cleanslate .components-modal__header{align-items:center!important;background:#fff!important;border-bottom:1px solid #e2e4e7!important;box-sizing:border-box!important;display:flex!important;flex-direction:row!important;height:56px!important;justify-content:space-between!important;margin:0 -16px 16px!important;padding:0 16px!important;position:sticky!important;top:0!important;z-index:10!important}.cleanslate .components-modal__header .components-modal__header-heading{font-size:16px!important;font-weight:600!important}.cleanslate .components-modal__header h1{line-height:1!important;margin:0!important}.cleanslate .components-modal__header-heading-container{align-items:center!important;display:flex!important;flex-direction:row!important;flex-grow:1!important;justify-content:left!important}.cleanslate .components-modal__content{box-sizing:border-box!important;height:100%!important;padding:0 16px!important}.cleanslate .components-modal__footer{background:#fff!important;border-top:1px solid #e2e4e7!important;bottom:0!important;box-sizing:border-box!important;height:110px!important;margin:0 -16px!important;padding:0 16px!important;position:sticky!important;z-index:10!important}.cleanslate .components-modal__footer-bottom{align-items:center!important;display:flex!important;flex-direction:row-reverse!important;justify-content:space-between!important}.cleanslate .components-icon-button{align-items:center!important;background:none!important;border:none!important;border-radius:4px!important;box-shadow:none!important;color:#50575e!important;display:flex!important;margin:0!important;outline:none!important;overflow:hidden!important;padding:8px!important;position:relative!important}.cleanslate .components-icon-button:active{background:none!important}.cleanslate .components-icon-button .dashicon{display:inline-block!important;flex:0 0 auto!important}.cleanslate .components-icon-button svg{fill:currentColor!important;cursor:pointer!important;outline:none!important}.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff!important;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)!important;color:#1d2327!important}.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{background-color:#fff!important;box-shadow:inset 0 0 0 1px #c3c4c7,inset 0 0 0 2px #fff!important;color:#1d2327!important;outline:none!important}.cleanslate .components-icon-button:disabled:focus,.cleanslate .components-icon-button[aria-disabled=true]:focus{box-shadow:none!important}.cleanslate .components-form-toggle{display:inline-block!important;position:relative!important}.cleanslate .components-form-toggle.disabled{opacity:.5!important}.cleanslate .components-form-toggle .components-form-toggle__off,.cleanslate .components-form-toggle .components-form-toggle__on{box-sizing:border-box!important;height:6px!important;overflow:hidden!important;position:absolute!important;top:6px!important;width:2px!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__on{display:block!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__off{display:none!important}.cleanslate .components-form-toggle .components-form-toggle__off{fill:currentColor!important;color:#787c82!important;left:6px!important;width:6px!important}.cleanslate .components-form-toggle .components-form-toggle__on{display:none!important;right:8px!important}.cleanslate .components-form-toggle .components-form-toggle__track{background-color:#fff!important;border:2px solid #787c82!important;border-radius:9px!important;box-sizing:border-box!important;content:""!important;display:inline-block!important;height:18px!important;transition:background .2s ease!important;vertical-align:top!important;width:36px!important}@media (prefers-reduced-motion:reduce){.cleanslate .components-form-toggle .components-form-toggle__track{transition-duration:0s!important}}.cleanslate .components-form-toggle .components-form-toggle__thumb{background-color:#787c82!important;border:5px solid #787c82!important;border-radius:50%!important;box-sizing:border-box!important;display:block!important;height:10px!important;position:absolute!important;right:4px!important;top:4px!important;transition:transform .1s ease!important;width:10px!important}@media (prefers-reduced-motion:reduce){.cleanslate .components-form-toggle .components-form-toggle__thumb{transition-duration:0s!important}}.cleanslate .components-form-toggle:hover .components-form-toggle__track{border:2px solid #50575e!important}.cleanslate .components-form-toggle:hover .components-form-toggle__thumb{background-color:#50575e!important;border:5px solid #787c82!important}.cleanslate .components-form-toggle:hover .components-form-toggle__off{color:#50575e!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2!important;border:9px solid transparent!important}.cleanslate .components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #787c82!important;outline:2px solid transparent!important;outline-offset:2px!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff!important;border-width:0!important;transform:translateX(-18px)!important}.cleanslate .components-form-toggle.is-checked:before{background-color:#11a0d2!important;border:2px solid #11a0d2!important}.cleanslate .components-disabled .components-form-toggle{opacity:.3!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]{border:none!important;height:100%!important;margin:0!important;opacity:0!important;padding:0!important;position:absolute!important;right:0!important;top:0!important;width:100%!important;z-index:1!important}.cleanslate .components-form-toggle.disabled input.components-form-toggle__input[type=checkbox]{cursor:default!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""!important}.cleanslate .components-form-toggle .components-form-toggle__on{border:1px solid #000!important;filter:invert(100%) contrast(500%)!important;outline:1px solid transparent!important;outline-offset:-1px!important}.cleanslate .components-button{-webkit-appearance:none!important;background:none!important;border:0!important;cursor:pointer!important;display:inline-flex!important;font-size:13px!important;margin:0!important;text-decoration:none!important}.cleanslate .components-button.is-button{border-radius:3px!important;border-style:solid!important;border-width:1px!important;height:28px!important;line-height:26px!important;padding:0 10px 1px!important;white-space:nowrap!important}.cleanslate .components-button.is-primary{background:#0085ba!important;border-color:#006a95 #00648c #00648c!important;box-shadow:inset 0 -1px 0 #00648c!important;color:#fff!important;text-decoration:none!important;text-shadow:0 -1px 1px #005d82,-1px 0 1px #005d82,0 1px 1px #005d82,1px 0 1px #005d82!important}.cleanslate .components-button.is-primary:focus:enabled,.cleanslate .components-button.is-primary:hover{background:#007eb1!important;border-color:#00435d!important;color:#fff!important}.cleanslate .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d!important}.cleanslate .components-button.is-primary:active:enabled{background:#006a95!important;border-color:#00435d!important;box-shadow:inset 0 1px 0 #00435d!important;vertical-align:top!important}.cleanslate .components-button.is-primary:disabled,.cleanslate .components-button.is-primary:disabled:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true],.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled{background:#0085ba!important;border-color:#007cad!important;box-shadow:none!important;color:#66b6d6!important;opacity:1!important;text-shadow:none!important}.cleanslate .components-button.is-primary:disabled.is-button,.cleanslate .components-button.is-primary:disabled.is-button:hover,.cleanslate .components-button.is-primary:disabled:active:enabled,.cleanslate .components-button.is-primary:disabled:active:enabled.is-button,.cleanslate .components-button.is-primary:disabled:active:enabled.is-button:hover,.cleanslate .components-button.is-primary:disabled:active:enabled:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true].is-button,.cleanslate .components-button.is-primary[aria-disabled=true].is-button:hover,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled{box-shadow:none!important;text-shadow:none!important}.cleanslate .components-button.is-primary:disabled:active:enabled:focus:enabled,.cleanslate .components-button.is-primary:disabled:focus:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:focus:enabled{border-color:#007cad!important;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba!important;color:#66b6d6!important}.cleanslate .ccpa-settings{border-bottom:1px solid #e2e4e7!important;color:#1a1a1a!important;font-size:13px!important;line-height:20px!important}.cleanslate .ccpa-setting{border-bottom:1px solid #e2e4e7!important;margin:0 -16px 10px!important;padding:16px!important}.cleanslate .ccpa-setting__header{font-weight:700!important}.cleanslate .ccpa-setting__text{padding-left:50px!important}.cleanslate .ccpa-setting__toggle{float:left!important}.cleanslate .ccpa-setting__toggle-text{display:none!important;float:left!important;margin-left:8px!important;margin-top:-2px!important}.cleanslate .ccpa-setting__toggle-text-off{display:inline-block!important}.cleanslate .is-checked>.ccpa-setting__toggle-text-off{display:none!important}.cleanslate .is-checked>.ccpa-setting__toggle-text-on{display:inline-block!important}.cleanslate .ccpa-privacy,.cleanslate .ccpa-privacy:visited{color:#0085ba!important;text-decoration:none!important} \ No newline at end of file
diff --git a/plugins/jetpack/css/wordads-ccpa.css b/plugins/jetpack/css/wordads-ccpa.css
index 3d072174..975523c8 100644
--- a/plugins/jetpack/css/wordads-ccpa.css
+++ b/plugins/jetpack/css/wordads-ccpa.css
@@ -1,6 +1,3 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
/* Include Cleanslate */
/*!
* CleanSlate
@@ -878,4 +875,3 @@
color: #0085ba !important;
text-decoration: none !important;
}
-/*# sourceMappingURL=wordads-ccpa.css.map */
diff --git a/plugins/jetpack/css/wordads-ccpa.min.css b/plugins/jetpack/css/wordads-ccpa.min.css
index 3bd677ee..35557c11 100644
--- a/plugins/jetpack/css/wordads-ccpa.min.css
+++ b/plugins/jetpack/css/wordads-ccpa.min.css
@@ -1,7 +1,5 @@
/*!
-* Do not modify this file directly. It is compiled SASS code.
-*//*!
* CleanSlate
* github.com/premasagar/cleanslate
*
-*/.cleanslate,.cleanslate a,.cleanslate abbr,.cleanslate acronym,.cleanslate address,.cleanslate applet,.cleanslate area,.cleanslate article,.cleanslate aside,.cleanslate audio,.cleanslate b,.cleanslate big,.cleanslate blockquote,.cleanslate button,.cleanslate canvas,.cleanslate caption,.cleanslate cite,.cleanslate code,.cleanslate col,.cleanslate colgroup,.cleanslate datalist,.cleanslate dd,.cleanslate del,.cleanslate dfn,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate em,.cleanslate fieldset,.cleanslate figcaption,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hr,.cleanslate i,.cleanslate iframe,.cleanslate img,.cleanslate input,.cleanslate ins,.cleanslate kbd,.cleanslate label,.cleanslate legend,.cleanslate li,.cleanslate main,.cleanslate map,.cleanslate mark,.cleanslate menu,.cleanslate meta,.cleanslate nav,.cleanslate object,.cleanslate ol,.cleanslate optgroup,.cleanslate option,.cleanslate output,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate q,.cleanslate samp,.cleanslate section,.cleanslate select,.cleanslate small,.cleanslate span,.cleanslate strike,.cleanslate strong,.cleanslate sub,.cleanslate summary,.cleanslate sup,.cleanslate svg,.cleanslate table,.cleanslate tbody,.cleanslate td,.cleanslate textarea,.cleanslate tfoot,.cleanslate th,.cleanslate thead,.cleanslate time,.cleanslate tr,.cleanslate tt,.cleanslate ul,.cleanslate var,.cleanslate video{background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;border-color:#000!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;color:inherit!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline!important;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:invert none medium!important;overflow:visible!important;padding:0!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal!important;z-index:auto!important;background-origin:padding-box!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;background-size:auto!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;box-sizing:content-box!important;column-count:auto!important;column-gap:normal!important;column-rule:medium none #000!important;column-span:1!important;column-width:auto!important;font-feature-settings:normal!important;overflow-x:visible!important;overflow-y:visible!important;-webkit-hyphens:manual!important;hyphens:manual!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;-ms-perspective-origin:50% 50%!important;-o-perspective-origin:50% 50%!important;perspective-origin:50% 50%!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;text-shadow:none!important;transition:all 0s ease 0s!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;word-break:normal!important}.cleanslate,.cleanslate address,.cleanslate article,.cleanslate audio,.cleanslate blockquote,.cleanslate caption,.cleanslate colgroup,.cleanslate dd,.cleanslate dialog,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate fieldset,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hgroup,.cleanslate hr,.cleanslate main,.cleanslate menu,.cleanslate nav,.cleanslate ol,.cleanslate option,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate section,.cleanslate summary,.cleanslate ul,.cleanslate video{display:block!important}.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6{font-weight:700!important}.cleanslate h1:before,.cleanslate h2:before{display:none!important}.cleanslate h1{font-size:2em!important;padding:.67em 0!important}.cleanslate h2{font-size:1.5em!important;padding:.83em 0!important}.cleanslate h3{font-size:1.17em!important;padding:.83em 0!important}.cleanslate h4{font-size:1em!important}.cleanslate h5{font-size:.83em!important}.cleanslate p{margin:1em 0!important}.cleanslate table{display:table!important}.cleanslate thead{display:table-header-group!important}.cleanslate tbody{display:table-row-group!important}.cleanslate tfoot{display:table-footer-group!important}.cleanslate tr{display:table-row!important}.cleanslate td,.cleanslate th{display:table-cell!important;padding:2px!important}.cleanslate ol,.cleanslate ul{margin:1em 0!important}.cleanslate ol li,.cleanslate ol ol li,.cleanslate ol ol ol li,.cleanslate ol ol ul li,.cleanslate ol ul ul li,.cleanslate ul li,.cleanslate ul ol ol li,.cleanslate ul ul li,.cleanslate ul ul ol li,.cleanslate ul ul ul li{list-style-position:inside!important;margin-top:.08em!important}.cleanslate ol ol,.cleanslate ol ol ol,.cleanslate ol ol ul,.cleanslate ol ul,.cleanslate ol ul ul,.cleanslate ul ol,.cleanslate ul ol ol,.cleanslate ul ul,.cleanslate ul ul ol,.cleanslate ul ul ul{padding-left:40px!important;margin:0!important}.cleanslate nav ol,.cleanslate nav ul{list-style-type:none!important}.cleanslate menu,.cleanslate ul{list-style-type:disc!important}.cleanslate ol{list-style-type:decimal!important}.cleanslate menu menu,.cleanslate menu ul,.cleanslate ol menu,.cleanslate ol ul,.cleanslate ul menu,.cleanslate ul ul{list-style-type:circle!important}.cleanslate menu menu menu,.cleanslate menu menu ul,.cleanslate menu ol menu,.cleanslate menu ol ul,.cleanslate menu ul menu,.cleanslate menu ul ul,.cleanslate ol menu menu,.cleanslate ol menu ul,.cleanslate ol ol menu,.cleanslate ol ol ul,.cleanslate ol ul menu,.cleanslate ol ul ul,.cleanslate ul menu menu,.cleanslate ul menu ul,.cleanslate ul ol menu,.cleanslate ul ol ul,.cleanslate ul ul menu,.cleanslate ul ul ul{list-style-type:square!important}.cleanslate li{display:list-item!important;min-height:auto!important;min-width:auto!important;padding-left:20px!important}.cleanslate strong{font-weight:700!important}.cleanslate em{font-style:italic!important}.cleanslate code,.cleanslate kbd,.cleanslate pre,.cleanslate samp{font-family:monospace!important}.cleanslate a{color:#00f!important;text-decoration:underline!important}.cleanslate a:visited{color:#529!important}.cleanslate a,.cleanslate a *,.cleanslate button,.cleanslate input[type=button],.cleanslate input[type=checkbox],.cleanslate input[type=radio],.cleanslate input[type=submit],.cleanslate select{cursor:pointer!important}.cleanslate button,.cleanslate input[type=submit]{text-align:center!important;padding:2px 6px 3px!important;border-radius:4px!important;text-decoration:none!important;font-family:inherit!important;font-size:small!important;background:#fff!important;-webkit-appearance:push-button!important;color:buttontext!important;border:1px #a6a6a6 solid!important;background:#d3d3d3!important;background:#fff;background:linear-gradient(to bottom,#fff 0,#ddd 100%,#d1d1d1 100%,#ddd 100%)!important;-o-box-shadow:1px 1px 0 #eee!important;box-shadow:1px 1px 0 #eee!important;outline:initial!important}.cleanslate button:active,.cleanslate input[type=button]:active,.cleanslate input[type=submit]:active{background:#3b679e!important;background:linear-gradient(to bottom,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8 100%)!important;border-color:#5259b0!important}.cleanslate button{padding:1px 6px 2px 6px!important;margin-right:5px!important}.cleanslate input[type=hidden]{display:none!important}.cleanslate textarea{-webkit-appearance:textarea!important;background:#fff!important;padding:2px!important;margin-left:4px!important;word-wrap:break-word!important;white-space:pre-wrap!important;font-size:11px!important;font-family:inherit!important;line-height:13px!important;resize:both!important}.cleanslate input,.cleanslate select,.cleanslate textarea{border:1px solid #ccc!important}.cleanslate select{font-size:11px!important;font-family:inherit!important;display:inline-block}.cleanslate input:focus,.cleanslate textarea:focus{outline:auto 5px -webkit-focus-ring-color!important;outline:initial!important}.cleanslate input[type=text]{background:#fff!important;padding:1px!important;font-family:initial!important;font-size:small!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{border:1px #2b2b2b solid!important;border-radius:4px!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{outline:initial!important}.cleanslate input[type=radio]{margin:2px 2px 3px 2px!important}.cleanslate abbr[title],.cleanslate acronym[title],.cleanslate dfn[title]{cursor:help!important;border-bottom-width:1px!important;border-bottom-style:dotted!important}.cleanslate ins{background-color:#ff9!important;color:#000!important}.cleanslate del{text-decoration:line-through!important}.cleanslate blockquote,.cleanslate q{quotes:none!important}.cleanslate blockquote:after,.cleanslate blockquote:before,.cleanslate li:after,.cleanslate li:before,.cleanslate q:after,.cleanslate q:before{content:""!important}.cleanslate input,.cleanslate select{vertical-align:middle!important}.cleanslate table{border-collapse:collapse!important;border-spacing:0!important}.cleanslate hr{display:block!important;height:1px!important;border:0!important;border-top:1px solid #ccc!important;margin:1em 0!important}.cleanslate [dir=rtl]{direction:rtl!important}.cleanslate mark{background-color:#ff9!important;color:#000!important;font-style:italic!important;font-weight:700!important}.cleanslate menu{padding-left:40px!important;padding-top:8px!important}.cleanslate [hidden],.cleanslate template{display:none!important}.cleanslate abbr[title]{border-bottom:1px dotted!important}.cleanslate sub,.cleanslate sup{font-size:75%!important;line-height:0!important;position:relative!important;vertical-align:baseline!important}.cleanslate sup{top:-.5em!important}.cleanslate sub{bottom:-.25em!important}.cleanslate img{border:0!important}.cleanslate figure{margin:0!important}.cleanslate textarea{overflow:auto!important;vertical-align:top!important}.cleanslate{font-size:medium!important;line-height:1!important;direction:ltr!important;text-align:left!important;text-align:start!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;color:#000!important;font-style:normal!important;font-weight:400!important;text-decoration:none!important;list-style-type:disc!important}.cleanslate pre{white-space:pre!important}@media (max-width:599px){body.admin-bar .cleanslate .components-modal__frame{top:46px!important}}.cleanslate .ccpa__loading-overlay,.cleanslate .components-modal__screen-overlay{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;background-color:rgba(0,0,0,.7)!important;z-index:2147483647!important;animation:edit-post__fade-in-animation .2s ease-out 0s!important;animation-fill-mode:forwards!important}.cleanslate .components-modal__frame{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;box-sizing:border-box!important;margin:0!important;border:1px solid #e2e4e7!important;background:#fff!important;box-shadow:0 3px 30px rgba(25,30,35,.2)!important;overflow:auto!important}.cleanslate .ccpa__loading-message{position:absolute!important;top:50%!important;right:0!important;bottom:0!important;left:0!important;box-sizing:border-box!important;margin:0!important;text-align:center!important;color:#fff!important}@media (min-width:600px){.cleanslate .components-modal__frame{top:50%!important;right:auto!important;bottom:auto!important;left:50%!important;min-width:360px!important;max-width:580px!important;max-height:calc(100% - 56px - 56px)!important;transform:translate(-50%,-50%)!important;animation:components-modal__appear-animation .1s ease-out!important;animation-fill-mode:forwards!important}}@keyframes components-modal__appear-animation{from{margin-top:32px!important}to{margin-top:0!important}}.cleanslate .components-modal__header{box-sizing:border-box!important;border-bottom:1px solid #e2e4e7!important;padding:0 16px!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important;background:#fff!important;align-items:center!important;height:56px!important;position:sticky!important;top:0!important;z-index:10!important;margin:0 -16px 16px!important}.cleanslate .components-modal__header .components-modal__header-heading{font-size:16px!important;font-weight:600!important}.cleanslate .components-modal__header h1{line-height:1!important;margin:0!important}.cleanslate .components-modal__header-heading-container{align-items:center!important;flex-grow:1!important;display:flex!important;flex-direction:row!important;justify-content:left!important}.cleanslate .components-modal__content{box-sizing:border-box!important;height:100%!important;padding:0 16px!important}.cleanslate .components-modal__footer{box-sizing:border-box!important;border-top:1px solid #e2e4e7!important;padding:0 16px!important;background:#fff!important;height:110px!important;position:sticky!important;bottom:0!important;z-index:10!important;margin:0 -16px!important}.cleanslate .components-modal__footer-bottom{display:flex!important;flex-direction:row-reverse!important;justify-content:space-between!important;align-items:center!important}.cleanslate .components-button{display:inline-flex!important;text-decoration:none!important;font-size:13px!important;margin:0!important;border:0!important;cursor:pointer!important;-webkit-appearance:none!important;background:0 0!important}.cleanslate .components-icon-button{display:flex!important;align-items:center!important;padding:8px!important;margin:0!important;border:none!important;background:0 0!important;color:#50575e!important;position:relative!important;overflow:hidden!important;border-radius:4px!important;box-shadow:none!important;outline:0!important}.cleanslate .components-icon-button:active{background:0 0!important}.cleanslate .components-icon-button .dashicon{display:inline-block!important;flex:0 0 auto!important}.cleanslate .components-icon-button svg{fill:currentColor!important;outline:0!important;cursor:pointer!important}.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff!important;color:#1d2327!important;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)!important}.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:0!important;background-color:#fff!important;color:#1d2327!important;box-shadow:inset 0 0 0 1px #c3c4c7,inset 0 0 0 2px #fff!important}.cleanslate .components-icon-button:disabled:focus,.cleanslate .components-icon-button[aria-disabled=true]:focus{box-shadow:none!important}.cleanslate .components-form-toggle{position:relative!important;display:inline-block!important}.cleanslate .components-form-toggle.disabled{opacity:.5!important}.cleanslate .components-form-toggle .components-form-toggle__off,.cleanslate .components-form-toggle .components-form-toggle__on{position:absolute!important;top:6px!important;box-sizing:border-box!important;width:2px!important;height:6px!important;overflow:hidden!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__on{display:block!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__off{display:none!important}.cleanslate .components-form-toggle .components-form-toggle__off{color:#787c82!important;fill:currentColor!important;right:6px!important;width:6px!important}.cleanslate .components-form-toggle .components-form-toggle__on{left:8px!important;display:none!important}.cleanslate .components-form-toggle .components-form-toggle__track{content:""!important;display:inline-block!important;box-sizing:border-box!important;vertical-align:top!important;background-color:#fff!important;border:2px solid #787c82!important;width:36px!important;height:18px!important;border-radius:9px!important;transition:.2s background ease!important}@media (prefers-reduced-motion:reduce){.cleanslate .components-form-toggle .components-form-toggle__track{transition-duration:0s!important}}.cleanslate .components-form-toggle .components-form-toggle__thumb{display:block!important;position:absolute!important;box-sizing:border-box!important;top:4px!important;left:4px!important;width:10px!important;height:10px!important;border-radius:50%!important;transition:.1s transform ease!important;background-color:#787c82!important;border:5px solid #787c82!important}@media (prefers-reduced-motion:reduce){.cleanslate .components-form-toggle .components-form-toggle__thumb{transition-duration:0s!important}}.cleanslate .components-form-toggle:hover .components-form-toggle__track{border:2px solid #50575e!important}.cleanslate .components-form-toggle:hover .components-form-toggle__thumb{background-color:#50575e!important;border:5px solid #787c82!important}.cleanslate .components-form-toggle:hover .components-form-toggle__off{color:#50575e!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2!important;border:2px solid #11a0d2!important;border:9px solid transparent!important}.cleanslate .components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #787c82!important;outline:2px solid transparent!important;outline-offset:2px!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff!important;border-width:0!important;transform:translateX(18px)!important}.cleanslate .components-form-toggle.is-checked::before{background-color:#11a0d2!important;border:2px solid #11a0d2!important}.cleanslate .components-disabled .components-form-toggle{opacity:.3!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;opacity:0!important;margin:0!important;padding:0!important;z-index:1!important;border:none!important}.cleanslate .components-form-toggle.disabled input.components-form-toggle__input[type=checkbox]{cursor:default!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:0 0!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]::before{content:""!important}.cleanslate .components-form-toggle .components-form-toggle__on{outline:1px solid transparent!important;outline-offset:-1px!important;border:1px solid #000!important;filter:invert(100%) contrast(500%)!important}.cleanslate .components-button{display:inline-flex!important;text-decoration:none!important;font-size:13px!important;margin:0!important;border:0!important;cursor:pointer!important;-webkit-appearance:none!important;background:0 0!important}.cleanslate .components-button.is-button{padding:0 10px 1px!important;line-height:26px!important;height:28px!important;border-radius:3px!important;white-space:nowrap!important;border-width:1px!important;border-style:solid!important}.cleanslate .components-button.is-primary{background:#0085ba!important;border-color:#006a95 #00648c #00648c!important;box-shadow:inset 0 -1px 0 #00648c!important;color:#fff!important;text-decoration:none!important;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82!important}.cleanslate .components-button.is-primary:focus:enabled,.cleanslate .components-button.is-primary:hover{background:#007eb1!important;border-color:#00435d!important;color:#fff!important}.cleanslate .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d!important}.cleanslate .components-button.is-primary:active:enabled{background:#006a95!important;border-color:#00435d!important;box-shadow:inset 0 1px 0 #00435d!important;vertical-align:top!important}.cleanslate .components-button.is-primary:disabled,.cleanslate .components-button.is-primary:disabled:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true],.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled{color:#66b6d6!important;background:#0085ba!important;border-color:#007cad!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important}.cleanslate .components-button.is-primary:disabled.is-button,.cleanslate .components-button.is-primary:disabled.is-button:hover,.cleanslate .components-button.is-primary:disabled:active:enabled,.cleanslate .components-button.is-primary:disabled:active:enabled.is-button,.cleanslate .components-button.is-primary:disabled:active:enabled.is-button:hover,.cleanslate .components-button.is-primary:disabled:active:enabled:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true].is-button,.cleanslate .components-button.is-primary[aria-disabled=true].is-button:hover,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled{box-shadow:none!important;text-shadow:none!important}.cleanslate .components-button.is-primary:disabled:active:enabled:focus:enabled,.cleanslate .components-button.is-primary:disabled:focus:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:focus:enabled{color:#66b6d6!important;border-color:#007cad!important;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba!important}.cleanslate .ccpa-settings{font-size:13px!important;line-height:20px!important;color:#1a1a1a!important;border-bottom:1px solid #e2e4e7!important}.cleanslate .ccpa-setting{margin:0 -16px 10px -16px!important;padding:16px!important;border-bottom:1px solid #e2e4e7!important}.cleanslate .ccpa-setting__header{font-weight:700!important}.cleanslate .ccpa-setting__text{padding-right:50px!important}.cleanslate .ccpa-setting__toggle{float:right!important}.cleanslate .ccpa-setting__toggle-text{float:right!important;margin-right:8px!important;margin-top:-2px!important;display:none!important}.cleanslate .ccpa-setting__toggle-text-off{display:inline-block!important}.cleanslate .is-checked>.ccpa-setting__toggle-text-off{display:none!important}.cleanslate .is-checked>.ccpa-setting__toggle-text-on{display:inline-block!important}.cleanslate .ccpa-privacy,.cleanslate .ccpa-privacy:visited{color:#0085ba!important;text-decoration:none!important} \ No newline at end of file
+*/.cleanslate,.cleanslate a,.cleanslate abbr,.cleanslate acronym,.cleanslate address,.cleanslate applet,.cleanslate area,.cleanslate article,.cleanslate aside,.cleanslate audio,.cleanslate b,.cleanslate big,.cleanslate blockquote,.cleanslate button,.cleanslate canvas,.cleanslate caption,.cleanslate cite,.cleanslate code,.cleanslate col,.cleanslate colgroup,.cleanslate datalist,.cleanslate dd,.cleanslate del,.cleanslate dfn,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate em,.cleanslate fieldset,.cleanslate figcaption,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hr,.cleanslate i,.cleanslate iframe,.cleanslate img,.cleanslate input,.cleanslate ins,.cleanslate kbd,.cleanslate label,.cleanslate legend,.cleanslate li,.cleanslate main,.cleanslate map,.cleanslate mark,.cleanslate menu,.cleanslate meta,.cleanslate nav,.cleanslate object,.cleanslate ol,.cleanslate optgroup,.cleanslate option,.cleanslate output,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate q,.cleanslate samp,.cleanslate section,.cleanslate select,.cleanslate small,.cleanslate span,.cleanslate strike,.cleanslate strong,.cleanslate sub,.cleanslate summary,.cleanslate sup,.cleanslate svg,.cleanslate table,.cleanslate tbody,.cleanslate td,.cleanslate textarea,.cleanslate tfoot,.cleanslate th,.cleanslate thead,.cleanslate time,.cleanslate tr,.cleanslate tt,.cleanslate ul,.cleanslate var,.cleanslate video{clip:auto!important;font-feature-settings:normal!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;background-attachment:scroll!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;background-color:transparent!important;background-image:none!important;background-origin:padding-box!important;background-position:0 0!important;background-repeat:repeat!important;background-size:auto!important;border:none!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;bottom:auto!important;box-shadow:none!important;box-sizing:content-box!important;clear:none!important;color:inherit!important;column-gap:normal!important;column-rule:medium none #000!important;column-span:1!important;columns:auto!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline!important;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;-webkit-hyphens:manual!important;hyphens:manual!important;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-image:none!important;list-style-position:outside!important;list-style-type:inherit!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:medium none invert!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;padding:0!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;-ms-perspective-origin:50% 50%!important;-o-perspective-origin:50% 50%!important;perspective-origin:50% 50%!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-shadow:none!important;text-transform:none!important;top:auto!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;transition:all 0s ease 0s!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-break:normal!important;word-spacing:normal!important;z-index:auto!important}.cleanslate,.cleanslate address,.cleanslate article,.cleanslate audio,.cleanslate blockquote,.cleanslate caption,.cleanslate colgroup,.cleanslate dd,.cleanslate dialog,.cleanslate div,.cleanslate dl,.cleanslate dt,.cleanslate fieldset,.cleanslate figure,.cleanslate footer,.cleanslate form,.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6,.cleanslate header,.cleanslate hgroup,.cleanslate hr,.cleanslate main,.cleanslate menu,.cleanslate nav,.cleanslate ol,.cleanslate option,.cleanslate p,.cleanslate pre,.cleanslate progress,.cleanslate section,.cleanslate summary,.cleanslate ul,.cleanslate video{display:block!important}.cleanslate h1,.cleanslate h2,.cleanslate h3,.cleanslate h4,.cleanslate h5,.cleanslate h6{font-weight:700!important}.cleanslate h1:before,.cleanslate h2:before{display:none!important}.cleanslate h1{font-size:2em!important;padding:.67em 0!important}.cleanslate h2{font-size:1.5em!important;padding:.83em 0!important}.cleanslate h3{font-size:1.17em!important;padding:.83em 0!important}.cleanslate h4{font-size:1em!important}.cleanslate h5{font-size:.83em!important}.cleanslate p{margin:1em 0!important}.cleanslate table{display:table!important}.cleanslate thead{display:table-header-group!important}.cleanslate tbody{display:table-row-group!important}.cleanslate tfoot{display:table-footer-group!important}.cleanslate tr{display:table-row!important}.cleanslate td,.cleanslate th{display:table-cell!important;padding:2px!important}.cleanslate ol,.cleanslate ul{margin:1em 0!important}.cleanslate ol li,.cleanslate ol ol li,.cleanslate ol ol ol li,.cleanslate ol ol ul li,.cleanslate ol ul ul li,.cleanslate ul li,.cleanslate ul ol ol li,.cleanslate ul ul li,.cleanslate ul ul ol li,.cleanslate ul ul ul li{list-style-position:inside!important;margin-top:.08em!important}.cleanslate ol ol,.cleanslate ol ol ol,.cleanslate ol ol ul,.cleanslate ol ul,.cleanslate ol ul ul,.cleanslate ul ol,.cleanslate ul ol ol,.cleanslate ul ul,.cleanslate ul ul ol,.cleanslate ul ul ul{margin:0!important;padding-left:40px!important}.cleanslate nav ol,.cleanslate nav ul{list-style-type:none!important}.cleanslate menu,.cleanslate ul{list-style-type:disc!important}.cleanslate ol{list-style-type:decimal!important}.cleanslate menu menu,.cleanslate menu ul,.cleanslate ol menu,.cleanslate ol ul,.cleanslate ul menu,.cleanslate ul ul{list-style-type:circle!important}.cleanslate menu menu menu,.cleanslate menu menu ul,.cleanslate menu ol menu,.cleanslate menu ol ul,.cleanslate menu ul menu,.cleanslate menu ul ul,.cleanslate ol menu menu,.cleanslate ol menu ul,.cleanslate ol ol menu,.cleanslate ol ol ul,.cleanslate ol ul menu,.cleanslate ol ul ul,.cleanslate ul menu menu,.cleanslate ul menu ul,.cleanslate ul ol menu,.cleanslate ul ol ul,.cleanslate ul ul menu,.cleanslate ul ul ul{list-style-type:square!important}.cleanslate li{display:list-item!important;min-height:auto!important;min-width:auto!important;padding-left:20px!important}.cleanslate strong{font-weight:700!important}.cleanslate em{font-style:italic!important}.cleanslate code,.cleanslate kbd,.cleanslate pre,.cleanslate samp{font-family:monospace!important}.cleanslate a{color:blue!important;text-decoration:underline!important}.cleanslate a:visited{color:#529!important}.cleanslate a,.cleanslate a *,.cleanslate button,.cleanslate input[type=button],.cleanslate input[type=checkbox],.cleanslate input[type=radio],.cleanslate input[type=submit],.cleanslate select{cursor:pointer!important}.cleanslate button,.cleanslate input[type=submit]{-webkit-appearance:push-button!important;background:#fff!important;background:#d3d3d3!important;background:#fff;background:linear-gradient(180deg,#fff 0,#ddd 100%,#d1d1d1 0,#ddd 0)!important;border:1px solid #a6a6a6!important;border-radius:4px!important;-o-box-shadow:1px 1px 0 #eee!important;box-shadow:1px 1px 0 #eee!important;color:buttontext!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#dddddd",GradientType=0)!important;font-family:inherit!important;font-size:small!important;outline:initial!important;padding:2px 6px 3px!important;text-align:center!important;text-decoration:none!important}.cleanslate button:active,.cleanslate input[type=button]:active,.cleanslate input[type=submit]:active{background:#3b679e!important;background:linear-gradient(180deg,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8)!important;border-color:#5259b0!important}.cleanslate button{margin-right:5px!important;padding:1px 6px 2px!important}.cleanslate input[type=hidden]{display:none!important}.cleanslate textarea{word-wrap:break-word!important;-webkit-appearance:textarea!important;background:#fff!important;font-family:inherit!important;font-size:11px!important;line-height:13px!important;margin-left:4px!important;padding:2px!important;resize:both!important;white-space:pre-wrap!important}.cleanslate input,.cleanslate select,.cleanslate textarea{border:1px solid #ccc!important}.cleanslate select{display:inline-block;font-family:inherit!important;font-size:11px!important}.cleanslate input:focus,.cleanslate textarea:focus{outline:5px auto -webkit-focus-ring-color!important;outline:initial!important}.cleanslate input[type=text]{background:#fff!important;font-family:initial!important;font-size:small!important;padding:1px!important}.cleanslate input[type=checkbox],.cleanslate input[type=radio]{border:1px solid #2b2b2b!important;border-radius:4px!important;outline:initial!important}.cleanslate input[type=radio]{margin:2px 2px 3px!important}.cleanslate abbr[title],.cleanslate acronym[title],.cleanslate dfn[title]{border-bottom-style:dotted!important;border-bottom-width:1px!important;cursor:help!important}.cleanslate ins{background-color:#ff9!important;color:#000!important}.cleanslate del{text-decoration:line-through!important}.cleanslate blockquote,.cleanslate q{quotes:none!important}.cleanslate blockquote:after,.cleanslate blockquote:before,.cleanslate li:after,.cleanslate li:before,.cleanslate q:after,.cleanslate q:before{content:""!important}.cleanslate input,.cleanslate select{vertical-align:middle!important}.cleanslate table{border-collapse:collapse!important;border-spacing:0!important}.cleanslate hr{border:0!important;border-top:1px solid #ccc!important;display:block!important;height:1px!important;margin:1em 0!important}.cleanslate [dir=rtl]{direction:rtl!important}.cleanslate mark{background-color:#ff9!important;color:#000!important;font-style:italic!important;font-weight:700!important}.cleanslate menu{padding-left:40px!important;padding-top:8px!important}.cleanslate [hidden],.cleanslate template{display:none!important}.cleanslate abbr[title]{border-bottom:1px dotted!important}.cleanslate sub,.cleanslate sup{font-size:75%!important;line-height:0!important;position:relative!important;vertical-align:baseline!important}.cleanslate sup{top:-.5em!important}.cleanslate sub{bottom:-.25em!important}.cleanslate img{border:0!important}.cleanslate figure{margin:0!important}.cleanslate textarea{overflow:auto!important;vertical-align:top!important}.cleanslate{color:#000!important;direction:ltr!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important;font-size:medium!important;font-style:normal!important;font-weight:400!important;line-height:1!important;list-style-type:disc!important;text-align:left!important;text-align:start!important;text-decoration:none!important}.cleanslate pre{white-space:pre!important}@media (max-width:599px){body.admin-bar .cleanslate .components-modal__frame{top:46px!important}}.cleanslate .ccpa__loading-overlay,.cleanslate .components-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s!important;animation-fill-mode:forwards!important;background-color:rgba(0,0,0,.7)!important;bottom:0!important;left:0!important;position:fixed!important;right:0!important;top:0!important;z-index:2147483647!important}.cleanslate .components-modal__frame{background:#fff!important;border:1px solid #e2e4e7!important;box-shadow:0 3px 30px rgba(25,30,35,.2)!important;overflow:auto!important;top:0!important}.cleanslate .ccpa__loading-message,.cleanslate .components-modal__frame{bottom:0!important;box-sizing:border-box!important;left:0!important;margin:0!important;position:absolute!important;right:0!important}.cleanslate .ccpa__loading-message{color:#fff!important;text-align:center!important;top:50%!important}@media (min-width:600px){.cleanslate .components-modal__frame{animation:components-modal__appear-animation .1s ease-out!important;animation-fill-mode:forwards!important;bottom:auto!important;left:50%!important;max-height:calc(100% - 112px)!important;max-width:580px!important;min-width:360px!important;right:auto!important;top:50%!important;transform:translate(-50%,-50%)!important}}@keyframes components-modal__appear-animation{0%{margin-top:32px!important}to{margin-top:0!important}}.cleanslate .components-modal__header{align-items:center!important;background:#fff!important;border-bottom:1px solid #e2e4e7!important;box-sizing:border-box!important;display:flex!important;flex-direction:row!important;height:56px!important;justify-content:space-between!important;margin:0 -16px 16px!important;padding:0 16px!important;position:sticky!important;top:0!important;z-index:10!important}.cleanslate .components-modal__header .components-modal__header-heading{font-size:16px!important;font-weight:600!important}.cleanslate .components-modal__header h1{line-height:1!important;margin:0!important}.cleanslate .components-modal__header-heading-container{align-items:center!important;display:flex!important;flex-direction:row!important;flex-grow:1!important;justify-content:left!important}.cleanslate .components-modal__content{box-sizing:border-box!important;height:100%!important;padding:0 16px!important}.cleanslate .components-modal__footer{background:#fff!important;border-top:1px solid #e2e4e7!important;bottom:0!important;box-sizing:border-box!important;height:110px!important;margin:0 -16px!important;padding:0 16px!important;position:sticky!important;z-index:10!important}.cleanslate .components-modal__footer-bottom{align-items:center!important;display:flex!important;flex-direction:row-reverse!important;justify-content:space-between!important}.cleanslate .components-icon-button{align-items:center!important;background:none!important;border:none!important;border-radius:4px!important;box-shadow:none!important;color:#50575e!important;display:flex!important;margin:0!important;outline:none!important;overflow:hidden!important;padding:8px!important;position:relative!important}.cleanslate .components-icon-button:active{background:none!important}.cleanslate .components-icon-button .dashicon{display:inline-block!important;flex:0 0 auto!important}.cleanslate .components-icon-button svg{fill:currentColor!important;cursor:pointer!important;outline:none!important}.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff!important;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)!important;color:#1d2327!important}.cleanslate .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{background-color:#fff!important;box-shadow:inset 0 0 0 1px #c3c4c7,inset 0 0 0 2px #fff!important;color:#1d2327!important;outline:none!important}.cleanslate .components-icon-button:disabled:focus,.cleanslate .components-icon-button[aria-disabled=true]:focus{box-shadow:none!important}.cleanslate .components-form-toggle{display:inline-block!important;position:relative!important}.cleanslate .components-form-toggle.disabled{opacity:.5!important}.cleanslate .components-form-toggle .components-form-toggle__off,.cleanslate .components-form-toggle .components-form-toggle__on{box-sizing:border-box!important;height:6px!important;overflow:hidden!important;position:absolute!important;top:6px!important;width:2px!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__on{display:block!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__off{display:none!important}.cleanslate .components-form-toggle .components-form-toggle__off{fill:currentColor!important;color:#787c82!important;right:6px!important;width:6px!important}.cleanslate .components-form-toggle .components-form-toggle__on{display:none!important;left:8px!important}.cleanslate .components-form-toggle .components-form-toggle__track{background-color:#fff!important;border:2px solid #787c82!important;border-radius:9px!important;box-sizing:border-box!important;content:""!important;display:inline-block!important;height:18px!important;transition:background .2s ease!important;vertical-align:top!important;width:36px!important}@media (prefers-reduced-motion:reduce){.cleanslate .components-form-toggle .components-form-toggle__track{transition-duration:0s!important}}.cleanslate .components-form-toggle .components-form-toggle__thumb{background-color:#787c82!important;border:5px solid #787c82!important;border-radius:50%!important;box-sizing:border-box!important;display:block!important;height:10px!important;left:4px!important;position:absolute!important;top:4px!important;transition:transform .1s ease!important;width:10px!important}@media (prefers-reduced-motion:reduce){.cleanslate .components-form-toggle .components-form-toggle__thumb{transition-duration:0s!important}}.cleanslate .components-form-toggle:hover .components-form-toggle__track{border:2px solid #50575e!important}.cleanslate .components-form-toggle:hover .components-form-toggle__thumb{background-color:#50575e!important;border:5px solid #787c82!important}.cleanslate .components-form-toggle:hover .components-form-toggle__off{color:#50575e!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2!important;border:9px solid transparent!important}.cleanslate .components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #787c82!important;outline:2px solid transparent!important;outline-offset:2px!important}.cleanslate .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff!important;border-width:0!important;transform:translateX(18px)!important}.cleanslate .components-form-toggle.is-checked:before{background-color:#11a0d2!important;border:2px solid #11a0d2!important}.cleanslate .components-disabled .components-form-toggle{opacity:.3!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]{border:none!important;height:100%!important;left:0!important;margin:0!important;opacity:0!important;padding:0!important;position:absolute!important;top:0!important;width:100%!important;z-index:1!important}.cleanslate .components-form-toggle.disabled input.components-form-toggle__input[type=checkbox]{cursor:default!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none!important}.cleanslate .components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""!important}.cleanslate .components-form-toggle .components-form-toggle__on{border:1px solid #000!important;filter:invert(100%) contrast(500%)!important;outline:1px solid transparent!important;outline-offset:-1px!important}.cleanslate .components-button{-webkit-appearance:none!important;background:none!important;border:0!important;cursor:pointer!important;display:inline-flex!important;font-size:13px!important;margin:0!important;text-decoration:none!important}.cleanslate .components-button.is-button{border-radius:3px!important;border-style:solid!important;border-width:1px!important;height:28px!important;line-height:26px!important;padding:0 10px 1px!important;white-space:nowrap!important}.cleanslate .components-button.is-primary{background:#0085ba!important;border-color:#006a95 #00648c #00648c!important;box-shadow:inset 0 -1px 0 #00648c!important;color:#fff!important;text-decoration:none!important;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82!important}.cleanslate .components-button.is-primary:focus:enabled,.cleanslate .components-button.is-primary:hover{background:#007eb1!important;border-color:#00435d!important;color:#fff!important}.cleanslate .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d!important}.cleanslate .components-button.is-primary:active:enabled{background:#006a95!important;border-color:#00435d!important;box-shadow:inset 0 1px 0 #00435d!important;vertical-align:top!important}.cleanslate .components-button.is-primary:disabled,.cleanslate .components-button.is-primary:disabled:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true],.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled{background:#0085ba!important;border-color:#007cad!important;box-shadow:none!important;color:#66b6d6!important;opacity:1!important;text-shadow:none!important}.cleanslate .components-button.is-primary:disabled.is-button,.cleanslate .components-button.is-primary:disabled.is-button:hover,.cleanslate .components-button.is-primary:disabled:active:enabled,.cleanslate .components-button.is-primary:disabled:active:enabled.is-button,.cleanslate .components-button.is-primary:disabled:active:enabled.is-button:hover,.cleanslate .components-button.is-primary:disabled:active:enabled:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true].is-button,.cleanslate .components-button.is-primary[aria-disabled=true].is-button:hover,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled{box-shadow:none!important;text-shadow:none!important}.cleanslate .components-button.is-primary:disabled:active:enabled:focus:enabled,.cleanslate .components-button.is-primary:disabled:focus:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.cleanslate .components-button.is-primary[aria-disabled=true]:focus:enabled{border-color:#007cad!important;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba!important;color:#66b6d6!important}.cleanslate .ccpa-settings{border-bottom:1px solid #e2e4e7!important;color:#1a1a1a!important;font-size:13px!important;line-height:20px!important}.cleanslate .ccpa-setting{border-bottom:1px solid #e2e4e7!important;margin:0 -16px 10px!important;padding:16px!important}.cleanslate .ccpa-setting__header{font-weight:700!important}.cleanslate .ccpa-setting__text{padding-right:50px!important}.cleanslate .ccpa-setting__toggle{float:right!important}.cleanslate .ccpa-setting__toggle-text{display:none!important;float:right!important;margin-right:8px!important;margin-top:-2px!important}.cleanslate .ccpa-setting__toggle-text-off{display:inline-block!important}.cleanslate .is-checked>.ccpa-setting__toggle-text-off{display:none!important}.cleanslate .is-checked>.ccpa-setting__toggle-text-on{display:inline-block!important}.cleanslate .ccpa-privacy,.cleanslate .ccpa-privacy:visited{color:#0085ba!important;text-decoration:none!important} \ No newline at end of file
diff --git a/plugins/jetpack/modules/publicize/enhanced-open-graph.php b/plugins/jetpack/enhanced-open-graph.php
index e50082ff..ea260e93 100644
--- a/plugins/jetpack/modules/publicize/enhanced-open-graph.php
+++ b/plugins/jetpack/enhanced-open-graph.php
@@ -1,6 +1,12 @@
<?php
+/**
+ * Enhanced Open Graph for Jetpack.
+ *
+ * @package automattic/jetpack
+ */
+
if ( ! class_exists( 'Jetpack_Media_Summary' ) ) {
- if ( defined('IS_WPCOM') && IS_WPCOM ) {
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
include WP_CONTENT_DIR . '/lib/class.wpcom-media-summary.php';
} else {
jetpack_require_lib( 'class.media-summary' );
@@ -9,10 +15,13 @@ if ( ! class_exists( 'Jetpack_Media_Summary' ) ) {
/**
* Better OG Image Tags for Image Post Formats
+ *
+ * @param array $tags Array of Open Graph tags.
*/
function enhanced_og_image( $tags ) {
- if ( !is_singular() || post_password_required() )
+ if ( ! is_singular() || post_password_required() ) {
return $tags;
+ }
global $post;
@@ -22,15 +31,17 @@ function enhanced_og_image( $tags ) {
}
// Always favor featured images.
- if ( enhanced_og_has_featured_image( $post->ID ) )
+ if ( enhanced_og_has_featured_image( $post->ID ) ) {
return $tags;
+ }
$summary = Jetpack_Media_Summary::get( $post->ID );
- if ( 'image' != $summary['type'] )
+ if ( 'image' !== $summary['type'] ) {
return $tags;
+ }
- $tags['og:image'] = $summary['image'];
+ $tags['og:image'] = $summary['image'];
$tags['og:image:secure_url'] = $summary['secure']['image'];
return $tags;
@@ -39,10 +50,13 @@ add_filter( 'jetpack_open_graph_tags', 'enhanced_og_image' );
/**
* Better OG Image Tags for Gallery Post Formats
+ *
+ * @param array $tags Array of Open Graph tags.
*/
function enhanced_og_gallery( $tags ) {
- if ( !is_singular() || post_password_required() )
+ if ( ! is_singular() || post_password_required() ) {
return $tags;
+ }
global $post;
@@ -52,24 +66,29 @@ function enhanced_og_gallery( $tags ) {
}
// Always favor featured images.
- if ( enhanced_og_has_featured_image( $post->ID ) )
+ if ( enhanced_og_has_featured_image( $post->ID ) ) {
return $tags;
+ }
$summary = Jetpack_Media_Summary::get( $post->ID );
- if ( 'gallery' != $summary['type'] )
+ if ( 'gallery' !== $summary['type'] ) {
return $tags;
+ }
- if( !isset( $summary['images'] ) || !is_array( $summary['images'] ) || empty( $summary['images'] ) )
+ if ( ! isset( $summary['images'] ) || ! is_array( $summary['images'] ) || empty( $summary['images'] ) ) {
return $tags;
+ }
+
+ $images = array();
+ $secures = array();
- $images = $secures = array();
foreach ( $summary['images'] as $i => $image ) {
- $images[] = $image['url'];
- $secures[] = $summary['secure']['images'][$i]['url'];
+ $images[] = $image['url'];
+ $secures[] = $summary['secure']['images'][ $i ]['url'];
}
- $tags['og:image'] = $images;
+ $tags['og:image'] = $images;
$tags['og:image:secure_url'] = $secures;
return $tags;
@@ -78,10 +97,13 @@ add_filter( 'jetpack_open_graph_tags', 'enhanced_og_gallery' );
/**
* Allows VideoPress, YouTube, and Vimeo videos to play inline on Facebook
+ *
+ * @param array $tags Array of Open Graph tags.
*/
function enhanced_og_video( $tags ) {
- if ( !is_singular() || post_password_required() )
+ if ( ! is_singular() || post_password_required() ) {
return $tags;
+ }
global $post;
@@ -91,12 +113,13 @@ function enhanced_og_video( $tags ) {
}
// Always favor featured images.
- if ( enhanced_og_has_featured_image( $post->ID ) )
+ if ( enhanced_og_has_featured_image( $post->ID ) ) {
return $tags;
+ }
$summary = Jetpack_Media_Summary::get( $post->ID );
- if ( 'video' != $summary['type'] ) {
+ if ( 'video' !== $summary['type'] ) {
if ( $summary['count']['video'] > 0 && $summary['count']['image'] < 1 ) {
$tags['og:image'] = $summary['image'];
$tags['og:image:secure_url'] = $summary['secure']['image'];
@@ -115,13 +138,13 @@ function enhanced_og_video( $tags ) {
if ( preg_match( '/((youtube|vimeo)\.com|youtu.be)/', $video_url ) ) {
if ( strstr( $video_url, 'youtube' ) ) {
- $id = jetpack_get_youtube_id( $video_url );
- $video_url = 'http://www.youtube.com/embed/' . $id;
+ $id = jetpack_get_youtube_id( $video_url );
+ $video_url = 'http://www.youtube.com/embed/' . $id;
$secure_video_url = 'https://www.youtube.com/embed/' . $id;
- } else if ( strstr( $video_url, 'vimeo' ) ) {
+ } elseif ( strstr( $video_url, 'vimeo' ) ) {
preg_match( '|vimeo\.com/(\d+)/?$|i', $video_url, $match );
- $id = (int) $match[1];
- $video_url = 'http://vimeo.com/moogaloop.swf?clip_id=' . $id;
+ $id = (int) $match[1];
+ $video_url = 'http://vimeo.com/moogaloop.swf?clip_id=' . $id;
$secure_video_url = 'https://vimeo.com/moogaloop.swf?clip_id=' . $id;
}
}
@@ -129,16 +152,21 @@ function enhanced_og_video( $tags ) {
$tags['og:video'] = $video_url;
$tags['og:video:secure_url'] = $secure_video_url;
- if ( empty( $post->post_title ) )
+ if ( empty( $post->post_title ) ) {
+ /* translators: %s is the name of the site */
$tags['og:title'] = sprintf( __( 'Video on %s', 'jetpack' ), get_option( 'blogname' ) );
+ }
return $tags;
}
add_filter( 'jetpack_open_graph_tags', 'enhanced_og_video' );
+/**
+ * Check if a post has a suitable featured image.
+ *
+ * @param int $post_id The post ID to check.
+ * @return bool True if the post has a suitable featured image, false otherwise.
+ */
function enhanced_og_has_featured_image( $post_id ) {
- $featured = Jetpack_PostImages::from_thumbnail( $post_id, 200, 200 );
- if ( !empty( $featured ) && count( $featured ) > 0 )
- return true;
- return false;
+ return ! empty( Jetpack_PostImages::from_thumbnail( $post_id ) );
}
diff --git a/plugins/jetpack/extensions/blocks/anchor-fm/anchor-fm.php b/plugins/jetpack/extensions/blocks/anchor-fm/anchor-fm.php
index f3e0bafe..7eddfa6c 100644
--- a/plugins/jetpack/extensions/blocks/anchor-fm/anchor-fm.php
+++ b/plugins/jetpack/extensions/blocks/anchor-fm/anchor-fm.php
@@ -62,7 +62,7 @@ function register_extension() {
function process_anchor_params() {
if (
! function_exists( 'get_current_screen' )
- || is_null( \get_current_screen() )
+ || \get_current_screen() === null
) {
return;
}
@@ -80,7 +80,7 @@ function process_anchor_params() {
// phpcs:disable WordPress.Security.NonceVerification.Recommended
$podcast_id = isset( $_GET['anchor_podcast'] ) ? sanitize_text_field( wp_unslash( $_GET['anchor_podcast'] ) ) : null;
$episode_id = isset( $_GET['anchor_episode'] ) ? sanitize_text_field( wp_unslash( $_GET['anchor_episode'] ) ) : null;
- $spotify_url = isset( $_GET['spotify_url'] ) ? wp_unslash( $_GET['spotify_url'] ) : null;
+ $spotify_url = isset( $_GET['spotify_url'] ) ? esc_url_raw( wp_unslash( $_GET['spotify_url'] ) ) : null;
// phpcs:enable WordPress.Security.NonceVerification.Recommended
$data = array(
diff --git a/plugins/jetpack/extensions/blocks/business-hours/business-hours.php b/plugins/jetpack/extensions/blocks/business-hours/business-hours.php
index 4de0593a..260cbef2 100644
--- a/plugins/jetpack/extensions/blocks/business-hours/business-hours.php
+++ b/plugins/jetpack/extensions/blocks/business-hours/business-hours.php
@@ -23,7 +23,23 @@ const BLOCK_NAME = 'jetpack/' . FEATURE_NAME;
function register_block() {
Blocks::jetpack_register_block(
BLOCK_NAME,
- array( 'render_callback' => __NAMESPACE__ . '\render' )
+ array(
+ 'render_callback' => __NAMESPACE__ . '\render',
+ 'supports' => array(
+ 'color' => array(
+ 'gradients' => true,
+ ),
+ 'spacing' => array(
+ 'margin' => true,
+ 'padding' => true,
+ ),
+ 'typography' => array(
+ 'fontSize' => true,
+ 'lineHeight' => true,
+ ),
+ 'align' => array( 'wide', 'full' ),
+ ),
+ )
);
}
add_action( 'init', __NAMESPACE__ . '\register_block' );
@@ -105,11 +121,15 @@ function render( $attributes ) {
$attributes['days'] = get_default_days();
}
+ $wrapper_attributes = \WP_Block_Supports::get_instance()->apply_block_supports();
+
$start_of_week = (int) get_option( 'start_of_week', 0 );
$time_format = get_option( 'time_format' );
$content = sprintf(
- '<dl class="jetpack-business-hours %s">',
- ! empty( $attributes['className'] ) ? esc_attr( $attributes['className'] ) : ''
+ '<dl class="jetpack-business-hours%s%s"%s>',
+ ! empty( $attributes['className'] ) ? ' ' . esc_attr( $attributes['className'] ) : '',
+ ! empty( $wrapper_attributes['class'] ) ? ' ' . esc_attr( $wrapper_attributes['class'] ) : '',
+ ! empty( $wrapper_attributes['style'] ) ? ' style="' . esc_attr( $wrapper_attributes['style'] ) . '"' : ''
);
$days = array( 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' );
diff --git a/plugins/jetpack/extensions/blocks/button/button.php b/plugins/jetpack/extensions/blocks/button/button.php
index 451a2938..8aaa892f 100644
--- a/plugins/jetpack/extensions/blocks/button/button.php
+++ b/plugins/jetpack/extensions/blocks/button/button.php
@@ -129,7 +129,7 @@ function get_button_classes( $attributes ) {
$classes[] = sprintf( 'has-%s-gradient-background', $attributes['gradient'] );
}
- // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
if ( $has_border_radius && 0 == $attributes['borderRadius'] ) {
$classes[] = 'no-border-radius';
}
@@ -172,7 +172,7 @@ function get_button_styles( $attributes ) {
$styles[] = sprintf( 'background-color: %s;', $attributes['customBackgroundColor'] );
}
- // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
if ( $has_border_radius && 0 != $attributes['borderRadius'] ) {
$styles[] = sprintf( 'border-radius: %spx;', $attributes['borderRadius'] );
}
diff --git a/plugins/jetpack/extensions/blocks/calendly/calendly.php b/plugins/jetpack/extensions/blocks/calendly/calendly.php
index 42653ff5..75c63a5c 100644
--- a/plugins/jetpack/extensions/blocks/calendly/calendly.php
+++ b/plugins/jetpack/extensions/blocks/calendly/calendly.php
@@ -186,7 +186,9 @@ function enqueue_calendly_js() {
jQuery( 'body' ).on( 'ready_o2', function() { initCalendlyWidget() } );
// Else initialize widget without waiting.
} else {
- initCalendlyWidget();
+ document.addEventListener('DOMContentLoaded', function() {
+ initCalendlyWidget();
+ });
}
};
diff --git a/plugins/jetpack/extensions/blocks/donations/donations.php b/plugins/jetpack/extensions/blocks/donations/donations.php
index e93a1fe4..f4f2c08e 100644
--- a/plugins/jetpack/extensions/blocks/donations/donations.php
+++ b/plugins/jetpack/extensions/blocks/donations/donations.php
@@ -99,10 +99,16 @@ function render_block( $attr, $content ) {
return $content;
}
+ require_once JETPACK__PLUGIN_DIR . 'modules/memberships/class-jetpack-memberships.php';
+
+ // If stripe isn't connected don't show anything to potential donors - they can't actually make a donation.
+ if ( ! \Jetpack_Memberships::get_connected_account_id() ) {
+ return '';
+ }
+
Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME, array( 'thickbox' ) );
add_thickbox();
- require_once JETPACK__PLUGIN_DIR . 'modules/memberships/class-jetpack-memberships.php';
jetpack_require_lib( 'class-jetpack-currencies' );
$donations = array(
@@ -211,16 +217,17 @@ function render_block( $attr, $content ) {
'
<div class="%1$s">
<div class="donations__container">
- %2$s
- <div class="donations__content">
- <div class="donations__tab">
- %3$s
- <p>%4$s</p>
- %5$s
- %6$s
- <hr class="donations__separator">
- %7$s
- %8$s
+ %2$s
+ <div class="donations__content">
+ <div class="donations__tab">
+ %3$s
+ <p>%4$s</p>
+ %5$s
+ %6$s
+ <hr class="donations__separator">
+ %7$s
+ %8$s
+ </div>
</div>
</div>
</div>
diff --git a/plugins/jetpack/extensions/blocks/instagram-gallery/instagram-gallery.php b/plugins/jetpack/extensions/blocks/instagram-gallery/instagram-gallery.php
index 586c71e1..59a56654 100644
--- a/plugins/jetpack/extensions/blocks/instagram-gallery/instagram-gallery.php
+++ b/plugins/jetpack/extensions/blocks/instagram-gallery/instagram-gallery.php
@@ -116,6 +116,7 @@ function render_block( $attributes, $content ) { // phpcs:ignore VariableAnalysi
<img
alt="<?php echo esc_attr( $image->title ? $image->title : $image->link ); ?>"
src="<?php echo esc_url( $image->url ); ?>"
+ loading="lazy"
/>
</a>
<?php endforeach; ?>
diff --git a/plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php b/plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php
index 1640e136..a4405a4e 100644
--- a/plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php
+++ b/plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php
@@ -31,6 +31,16 @@ function register_block() {
BLOCK_NAME,
array(
'render_callback' => __NAMESPACE__ . '\load_assets',
+ 'supports' => array(
+ 'align' => array( 'wide', 'full' ),
+ 'color' => array(
+ 'gradients' => true,
+ ),
+ 'spacing' => array(
+ 'padding' => true,
+ 'margin' => true,
+ ),
+ ),
)
);
}
@@ -56,14 +66,15 @@ function load_assets( $attr, $content ) {
? get_current_blog_id()
: Jetpack_Options::get_option( 'id' );
Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME );
- $classes = Blocks::classes( FEATURE_NAME, $attr );
- $amp_form_action = sprintf( 'https://public-api.wordpress.com/rest/v1.1/sites/%s/email_follow/amp/subscribe/', $blog_id );
- $is_amp_request = Blocks::is_amp_request();
+ $wrapper_attributes = \WP_Block_Supports::get_instance()->apply_block_supports();
+ $classes = ! empty( $wrapper_attributes['class'] ) ? $wrapper_attributes['class'] : '';
+ $amp_form_action = sprintf( 'https://public-api.wordpress.com/rest/v1.1/sites/%s/email_follow/amp/subscribe/', $blog_id );
+ $is_amp_request = Blocks::is_amp_request();
ob_start();
?>
- <div class="<?php echo esc_attr( $classes ); ?>" data-blog-id="<?php echo esc_attr( $blog_id ); ?>">
+ <div class="<?php echo esc_attr( $classes ); ?>"<?php echo ! empty( $wrapper_attributes['style'] ) ? ' style="' . esc_attr( $wrapper_attributes['style'] ) . '"' : ''; ?> data-blog-id="<?php echo esc_attr( $blog_id ); ?>">
<form
aria-describedby="wp-block-jetpack-mailchimp_consent-text"
<?php if ( $is_amp_request ) : ?>
diff --git a/plugins/jetpack/extensions/blocks/opentable/opentable.php b/plugins/jetpack/extensions/blocks/opentable/opentable.php
index e92f9308..b537d717 100644
--- a/plugins/jetpack/extensions/blocks/opentable/opentable.php
+++ b/plugins/jetpack/extensions/blocks/opentable/opentable.php
@@ -32,17 +32,6 @@ function register_block() {
add_action( 'init', __NAMESPACE__ . '\register_block' );
/**
- * Adds an inline script which updates the block editor settings to
- * add the site locale. This feels sligktly better than calling back
- * to the API before registering the block. It also seemed better than
- * creating a global
- */
-function add_language_setting() {
- wp_add_inline_script( 'jetpack-blocks-editor', sprintf( "wp.data.dispatch( 'core/block-editor' ).updateSettings( { siteLocale: '%s' } )", str_replace( '_', '-', get_locale() ) ), 'before' );
-}
-add_action( 'enqueue_block_assets', __NAMESPACE__ . '\add_language_setting' );
-
-/**
* OpenTable block registration/dependency declaration.
*
* @param array $attributes Array containing the OpenTable block attributes.
diff --git a/plugins/jetpack/extensions/blocks/payments-intro/payments-intro.php b/plugins/jetpack/extensions/blocks/payments-intro/payments-intro.php
new file mode 100644
index 00000000..d12ac35c
--- /dev/null
+++ b/plugins/jetpack/extensions/blocks/payments-intro/payments-intro.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Payments Intro Block.
+ *
+ * Acts as a menu for select payments blocks
+ *
+ * @since 10.x
+ *
+ * @package automattic/jetpack
+ */
+
+namespace Automattic\Jetpack\Extensions\PaymentsIntro;
+
+use Automattic\Jetpack\Blocks;
+
+const FEATURE_NAME = 'payments-intro';
+const BLOCK_NAME = 'jetpack/' . FEATURE_NAME;
+
+/**
+ * Registers the block for use in Gutenberg
+ * This is done via an action so that we can disable
+ * registration if we need to.
+ */
+function register_block() {
+ Blocks::jetpack_register_block( BLOCK_NAME );
+}
+add_action( 'init', __NAMESPACE__ . '\register_block' );
diff --git a/plugins/jetpack/extensions/blocks/podcast-player/podcast-player.php b/plugins/jetpack/extensions/blocks/podcast-player/podcast-player.php
index 9b3af865..92df64dd 100644
--- a/plugins/jetpack/extensions/blocks/podcast-player/podcast-player.php
+++ b/plugins/jetpack/extensions/blocks/podcast-player/podcast-player.php
@@ -50,6 +50,13 @@ function register_block() {
),
),
'render_callback' => __NAMESPACE__ . '\render_block',
+ 'supports' => array(
+ 'align' => array( 'wide', 'full' ),
+ 'spacing' => array(
+ 'padding' => true,
+ 'margin' => true,
+ ),
+ ),
// Since Gutenberg #31873.
'style' => 'wp-mediaelement',
@@ -159,13 +166,13 @@ function render_player( $player_data, $attributes ) {
$player_classes_name = trim( "{$secondary_colors['class']} {$background_colors['class']}" );
$player_inline_style = trim( "{$secondary_colors['style']} ${background_colors['style']}" );
$player_inline_style .= get_css_vars( $attributes );
-
- $block_classname = Blocks::classes( FEATURE_NAME, $attributes, array( 'is-default' ) );
- $is_amp = Blocks::is_amp_request();
+ $wrapper_attributes = \WP_Block_Supports::get_instance()->apply_block_supports();
+ $block_classname = Blocks::classes( FEATURE_NAME, $attributes, array( 'is-default' ) );
+ $is_amp = Blocks::is_amp_request();
ob_start();
?>
- <div class="<?php echo esc_attr( $block_classname ); ?>" id="<?php echo esc_attr( $instance_id ); ?>">
+ <div class="<?php echo esc_attr( $block_classname ); ?>"<?php echo ! empty( $wrapper_attributes['style'] ) ? ' style="' . esc_attr( $wrapper_attributes['style'] ) . '"' : ''; ?> id="<?php echo esc_attr( $instance_id ); ?>">
<section
class="jetpack-podcast-player <?php echo esc_attr( $player_classes_name ); ?>"
style="<?php echo esc_attr( $player_inline_style ); ?>"
diff --git a/plugins/jetpack/extensions/blocks/podcast-player/templates/playlist-track.php b/plugins/jetpack/extensions/blocks/podcast-player/templates/playlist-track.php
index 0789816e..f4938718 100644
--- a/plugins/jetpack/extensions/blocks/podcast-player/templates/playlist-track.php
+++ b/plugins/jetpack/extensions/blocks/podcast-player/templates/playlist-track.php
@@ -5,6 +5,8 @@
* @package automattic/jetpack
*/
+// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- This file expects $template_props set outside the file.
+
namespace Automattic\Jetpack\Extensions\Podcast_Player;
/**
diff --git a/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php b/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php
index 763aa83a..1b897d6a 100644
--- a/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php
+++ b/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php
@@ -5,6 +5,8 @@
* @package automattic/jetpack
*/
+//phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- This file expects $template_props set outside the file.
+
namespace Automattic\Jetpack\Extensions\Podcast_Player;
/**
@@ -43,7 +45,11 @@ $track_link = empty( $template_props['track']['link'] ) ? $template_props['track
<?php endif; // phpcs:enable ?>
</span>
- <?php if ( ! empty( $template_props['title'] ) ) : ?>
+ <?php
+ // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- This file expects $template_props set outside the file.
+
+ if ( ! empty( $template_props['title'] ) ) :
+ ?>
<span class="jetpack-podcast-player--visually-hidden"> - </span>
<?php
diff --git a/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header.php b/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header.php
index b6167df2..dd64d63f 100644
--- a/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header.php
+++ b/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header.php
@@ -5,6 +5,8 @@
* @package automattic/jetpack
*/
+// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- This file expects $template_props set outside the file.
+
namespace Automattic\Jetpack\Extensions\Podcast_Player;
/**
diff --git a/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-title.php b/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-title.php
index ce5b59ca..8f2d194d 100644
--- a/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-title.php
+++ b/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-title.php
@@ -5,6 +5,8 @@
* @package automattic/jetpack
*/
+// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- This file expects $template_props set outside the file.
+
namespace Automattic\Jetpack\Extensions\Podcast_Player;
/**
diff --git a/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php b/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php
index f2d1f1d8..8f5b9b31 100644
--- a/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php
+++ b/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php
@@ -81,7 +81,7 @@ class JWT {
* @uses urlsafe_b64_decode
*/
public static function decode( $jwt, $key, array $allowed_algs = array() ) {
- $timestamp = is_null( static::$timestamp ) ? time() : static::$timestamp;
+ $timestamp = static::$timestamp === null ? time() : static::$timestamp;
if ( empty( $key ) ) {
throw new InvalidArgumentException( 'Key may not be empty' );
diff --git a/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-token-subscription-service.php b/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-token-subscription-service.php
index 05791022..5ab97af7 100644
--- a/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-token-subscription-service.php
+++ b/plugins/jetpack/extensions/blocks/premium-content/_inc/subscription-service/class-token-subscription-service.php
@@ -174,7 +174,7 @@ abstract class Token_Subscription_Service implements Subscription_Service {
*/
private function set_token_cookie( $token ) {
if ( ! empty( $token ) ) {
- setcookie( self::JWT_AUTH_TOKEN_COOKIE_NAME, $token, 0, '/' );
+ setcookie( self::JWT_AUTH_TOKEN_COOKIE_NAME, $token, 0, '/', COOKIE_DOMAIN, is_ssl(), true ); // httponly -- used by visitor_can_view_content() within the PHP context.
}
}
@@ -234,6 +234,8 @@ abstract class Token_Subscription_Service implements Subscription_Service {
* @return string URL of the JWT endpoint.
*/
private function get_rest_api_token_url( $site_id, $redirect_url ) {
+ // The redirect url might have a part URL encoded but not the whole URL.
+ $redirect_url = rawurldecode( $redirect_url );
return sprintf( '%smemberships/jwt?site_id=%d&redirect_url=%s', self::REST_URL_ORIGIN, $site_id, rawurlencode( $redirect_url ) );
}
diff --git a/plugins/jetpack/extensions/blocks/premium-content/login-button/login-button.php b/plugins/jetpack/extensions/blocks/premium-content/login-button/login-button.php
index 3238d8a9..535dd3d5 100644
--- a/plugins/jetpack/extensions/blocks/premium-content/login-button/login-button.php
+++ b/plugins/jetpack/extensions/blocks/premium-content/login-button/login-button.php
@@ -8,6 +8,7 @@
namespace Automattic\Jetpack\Extensions\Premium_Content;
use Automattic\Jetpack\Blocks;
+use Automattic\Jetpack\Extensions\Premium_Content\Subscription_Service\Token_Subscription_Service;
use Automattic\Jetpack\Status\Host;
use Jetpack_Gutenberg;
@@ -46,7 +47,11 @@ function render_login_button_block( $attributes, $content ) {
return '';
}
- if ( is_user_logged_in() ) {
+ $has_auth_cookie = isset( $_COOKIE[ Token_Subscription_Service::JWT_AUTH_TOKEN_COOKIE_NAME ] );
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $has_token_parameter = isset( $_GET['token'] );
+
+ if ( is_user_logged_in() || $has_auth_cookie || $has_token_parameter ) {
// The viewer is logged it, so they shouldn't see the login button.
return '';
}
diff --git a/plugins/jetpack/extensions/blocks/premium-content/premium-content.php b/plugins/jetpack/extensions/blocks/premium-content/premium-content.php
index 41915978..be10198d 100644
--- a/plugins/jetpack/extensions/blocks/premium-content/premium-content.php
+++ b/plugins/jetpack/extensions/blocks/premium-content/premium-content.php
@@ -75,7 +75,7 @@ function render_block( $attributes, $content ) {
}
// We don't use FEATURE_NAME here because styles are not in /container folder.
- Jetpack_Gutenberg::load_styles_as_required( 'premium-content' );
+ Jetpack_Gutenberg::load_assets_as_required( 'premium-content' );
return $content;
}
diff --git a/plugins/jetpack/extensions/blocks/revue/revue.php b/plugins/jetpack/extensions/blocks/revue/revue.php
index d0313af0..b726edd9 100644
--- a/plugins/jetpack/extensions/blocks/revue/revue.php
+++ b/plugins/jetpack/extensions/blocks/revue/revue.php
@@ -226,7 +226,7 @@ function get_deprecated_v1_revue_button( $attributes ) {
}
if ( $has_border_radius ) {
- // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
if ( 0 == $attributes['borderRadius'] ) {
$classes[] = 'no-border-radius';
} else {
diff --git a/plugins/jetpack/extensions/blocks/simple-payments/simple-payments.php b/plugins/jetpack/extensions/blocks/simple-payments/simple-payments.php
index b30d3045..3bdabbd2 100644
--- a/plugins/jetpack/extensions/blocks/simple-payments/simple-payments.php
+++ b/plugins/jetpack/extensions/blocks/simple-payments/simple-payments.php
@@ -50,7 +50,12 @@ function render_block( $attr, $content ) {
return $content;
}
- $simple_payments = Jetpack_Simple_Payments::getInstance();
+ $simple_payments = Jetpack_Simple_Payments::get_instance();
+
+ if ( ! $simple_payments->is_valid( $attr ) ) {
+ return '';
+ }
+
$simple_payments->enqueue_frontend_assets();
// For AMP requests, make sure the purchase link redirects to the non-AMP post URL.
diff --git a/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php b/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
index 9fa2ab3c..868203f1 100644
--- a/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
+++ b/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
@@ -26,7 +26,16 @@ function register_block() {
) {
Blocks::jetpack_register_block(
BLOCK_NAME,
- array( 'render_callback' => __NAMESPACE__ . '\render_block' )
+ array(
+ 'render_callback' => __NAMESPACE__ . '\render_block',
+ 'supports' => array(
+ 'spacing' => array(
+ 'margin' => true,
+ 'padding' => true,
+ ),
+ 'align' => array( 'wide', 'full' ),
+ ),
+ )
);
}
}
diff --git a/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery.php b/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery.php
index bd7cb88b..183ed0b0 100644
--- a/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery.php
+++ b/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery.php
@@ -61,8 +61,8 @@ class Tiled_Gallery {
$is_squareish_layout = self::is_squareish_layout( $attr );
- // Jetpack_Plan does not exist on WordPress.com.
- if ( class_exists( 'Jetpack_Plan' ) ) {
+ // Jetpack_Plan::get does not exist on WordPress.com.
+ if ( method_exists( 'Jetpack_Plan', 'get' ) ) {
$jetpack_plan = Jetpack_Plan::get();
wp_localize_script( 'jetpack-gallery-settings', 'jetpack_plan', array( 'data' => $jetpack_plan['product_slug'] ) );
}
diff --git a/plugins/jetpack/extensions/plugins/payments/payments.php b/plugins/jetpack/extensions/plugins/payments/payments.php
new file mode 100644
index 00000000..42838964
--- /dev/null
+++ b/plugins/jetpack/extensions/plugins/payments/payments.php
@@ -0,0 +1,35 @@
+<?php
+/**
+ * Payments plugin.
+ *
+ * @since 10.8
+ *
+ * @package automattic/jetpack
+ */
+
+namespace Automattic\Jetpack\Extensions\Payments;
+
+use Jetpack_Gutenberg;
+
+const FEATURE_NAME = 'payments';
+
+// Populate the available extensions with our feature.
+add_filter(
+ 'jetpack_set_available_extensions',
+ function ( $extensions ) {
+ return array_merge(
+ $extensions,
+ array(
+ FEATURE_NAME,
+ )
+ );
+ }
+);
+
+// Set the feature availability, depending on the site plan.
+add_action(
+ 'jetpack_register_gutenberg_extensions',
+ function () {
+ Jetpack_Gutenberg::set_availability_for_plan( FEATURE_NAME );
+ }
+);
diff --git a/plugins/jetpack/extensions/plugins/post-publish-qr-post-panel/post-publish-qr-post-panel.php b/plugins/jetpack/extensions/plugins/post-publish-qr-post-panel/post-publish-qr-post-panel.php
new file mode 100644
index 00000000..40e28e3e
--- /dev/null
+++ b/plugins/jetpack/extensions/plugins/post-publish-qr-post-panel/post-publish-qr-post-panel.php
@@ -0,0 +1,30 @@
+<?php
+/**
+ * Block Editor - QR Post feature.
+ *
+ * @package automattic/jetpack
+ */
+
+// Feature name.
+const FEATURE_NAME = 'post-publish-qr-post-panel';
+
+// Populate the available extensions with post-publish-qr-post-panel.
+add_filter(
+ 'jetpack_set_available_extensions',
+ function ( $extensions ) {
+ return array_merge(
+ $extensions,
+ array(
+ FEATURE_NAME,
+ )
+ );
+ }
+);
+
+// Set the post-publish-qr-post-panel availability, depending on the site plan.
+add_action(
+ 'jetpack_register_gutenberg_extensions',
+ function () {
+ \Jetpack_Gutenberg::set_extension_available( FEATURE_NAME );
+ }
+);
diff --git a/plugins/jetpack/functions.compat.php b/plugins/jetpack/functions.compat.php
index 2629ff00..40715d25 100644
--- a/plugins/jetpack/functions.compat.php
+++ b/plugins/jetpack/functions.compat.php
@@ -1,22 +1,28 @@
<?php
+/**
+ * Compatibility functions for YouTube URLs and WP.com helper functions.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
/**
-* Required for class.media-extractor.php to match expected function naming convention.
-*
-* @param $url Can be just the $url or the whole $atts array
-* @return bool|mixed The Youtube video ID via jetpack_get_youtube_id
-*/
-
+ * Required for class.media-extractor.php to match expected function naming convention.
+ *
+ * @param $url Can be just the $url or the whole $atts array.
+ * @return bool|mixed The Youtube video ID via jetpack_get_youtube_id
+ */
function jetpack_shortcode_get_youtube_id( $url ) {
return jetpack_get_youtube_id( $url );
}
/**
-* @param string $url Can be just the $url or the whole $atts array
-* @return bool|mixed The Youtube video ID
-*/
+ * Extract video ID from a YouTube url.
+ *
+ * @param string $url YouTube URL.
+ * @return bool|mixed The Youtube video ID
+ */
function jetpack_get_youtube_id( $url ) {
// Do we have an $atts array? Get first att
if ( is_array( $url ) ) {
@@ -27,71 +33,98 @@ function jetpack_get_youtube_id( $url ) {
$url = wp_parse_url( $url );
$id = false;
- if ( ! isset( $url['query'] ) )
+ if ( ! isset( $url['query'] ) ) {
return false;
+ }
parse_str( $url['query'], $qargs );
- if ( ! isset( $qargs['v'] ) && ! isset( $qargs['list'] ) )
+ if ( ! isset( $qargs['v'] ) && ! isset( $qargs['list'] ) ) {
return false;
+ }
- if ( isset( $qargs['list'] ) )
+ if ( isset( $qargs['list'] ) ) {
$id = preg_replace( '|[^_a-z0-9-]|i', '', $qargs['list'] );
+ }
- if ( empty( $id ) )
+ if ( empty( $id ) ) {
$id = preg_replace( '|[^_a-z0-9-]|i', '', $qargs['v'] );
+ }
return $id;
}
-if ( !function_exists( 'youtube_sanitize_url' ) ) :
-/**
-* Normalizes a YouTube URL to include a v= parameter and a query string free of encoded ampersands.
-*
-* @param string $url
-* @return string The normalized URL
-*/
-function youtube_sanitize_url( $url ) {
- $url = trim( $url, ' "' );
- $url = trim( $url );
- $url = str_replace( array( 'youtu.be/', '/v/', '#!v=', '&amp;', '&#038;', 'playlist' ), array( 'youtu.be/?v=', '/?v=', '?v=', '&', '&', 'videoseries' ), $url );
-
- // Replace any extra question marks with ampersands - the result of a URL like "https://www.youtube.com/v/9FhMMmqzbD8?fs=1&hl=en_US" being passed in.
- $query_string_start = strpos( $url, "?" );
-
- if ( false !== $query_string_start ) {
- $url = substr( $url, 0, $query_string_start + 1 ) . str_replace( "?", "&", substr( $url, $query_string_start + 1 ) );
+if ( ! function_exists( 'youtube_sanitize_url' ) ) :
+ /**
+ * Normalizes a YouTube URL to include a v= parameter and a query string free of encoded ampersands.
+ *
+ * @param string $url YouTube URL.
+ * @return string The normalized URL
+ */
+ function youtube_sanitize_url( $url ) {
+ $url = trim( $url, ' "' );
+ $url = trim( $url );
+ $url = str_replace( array( 'youtu.be/', '/v/', '#!v=', '&amp;', '&#038;', 'playlist' ), array( 'youtu.be/?v=', '/?v=', '?v=', '&', '&', 'videoseries' ), $url );
+
+ // Replace any extra question marks with ampersands - the result of a URL like "https://www.youtube.com/v/9FhMMmqzbD8?fs=1&hl=en_US" being passed in.
+ $query_string_start = strpos( $url, '?' );
+
+ if ( false !== $query_string_start ) {
+ $url = substr( $url, 0, $query_string_start + 1 ) . str_replace( '?', '&', substr( $url, $query_string_start + 1 ) );
+ }
+
+ return $url;
}
-
- return $url;
-}
endif;
/**
- * Merge in three string helper functions from WPCOM.
+ * Merge in three string helper functions from WPCOM to make working with strings easier.
*
* @see WPCOM/wp-content/mu-plugins/string-helpers.php
*/
if ( ! function_exists( 'wp_startswith' ) ) :
+ /**
+ * Check whether a string starts with a specific substring.
+ *
+ * @param var $haystack String we are filtering.
+ * @param string $needle The substring we are looking for.
+ * @return bool
+ */
function wp_startswith( $haystack, $needle ) {
return 0 === strpos( $haystack, $needle );
}
endif;
-
if ( ! function_exists( 'wp_endswith' ) ) :
+ /**
+ * Check whether a string ends with a specific substring.
+ *
+ * @param var $haystack String we are filtering.
+ * @param string $needle The substring we are looking for.
+ * @return bool
+ */
function wp_endswith( $haystack, $needle ) {
- return $needle === substr( $haystack, -strlen( $needle ));
+ return $needle === substr( $haystack, -strlen( $needle ) );
}
endif;
if ( ! function_exists( 'wp_in' ) ) :
+ /**
+ * Checks whether a string contains a specific substring.
+ *
+ * @param string $needle The substring we are looking for.
+ * @param var $haystack String we are filtering.
+ * @return bool
+ */
function wp_in( $needle, $haystack ) {
return false !== strpos( $haystack, $needle );
}
endif;
/**
+ * Deprecated connection function.
+ *
+ * @param string $text Deprecated.
* @deprecated 7.5 Use Connection_Manager instead.
*/
function jetpack_sha1_base64( $text ) {
diff --git a/plugins/jetpack/functions.global.php b/plugins/jetpack/functions.global.php
index fd403dda..d5d586d4 100644
--- a/plugins/jetpack/functions.global.php
+++ b/plugins/jetpack/functions.global.php
@@ -148,12 +148,12 @@ function jetpack_get_future_removed_version( $version ) {
* As a fallback, check for presence of wpcomsh plugin to determine if a current site has undergone AT.
*
* @since 4.8.1
- * @deprecated $$next_version$$
+ * @deprecated 10.3.0
*
* @return bool
*/
function jetpack_is_atomic_site() {
- jetpack_deprecated_function( __FUNCTION__, 'Automattic/Jetpack/Status/Host::is_woa_site', '$$next_version$$' );
+ jetpack_deprecated_function( __FUNCTION__, 'Automattic/Jetpack/Status/Host::is_woa_site', 'jetpack-10.3.0' );
return ( new Host() )->is_woa_site();
}
@@ -466,7 +466,6 @@ function jetpack_is_frontend() {
if (
is_admin() ||
wp_doing_ajax() ||
- wp_doing_cron() ||
wp_is_json_request() ||
wp_is_jsonp_request() ||
wp_is_xml_request() ||
diff --git a/plugins/jetpack/functions.photon.php b/plugins/jetpack/functions.photon.php
index 5cbc2e5b..c7ac839f 100644
--- a/plugins/jetpack/functions.photon.php
+++ b/plugins/jetpack/functions.photon.php
@@ -1,7 +1,4 @@
<?php
-
-use Automattic\Jetpack\Status;
-
/**
* Generic functions using the Photon service.
*
@@ -10,6 +7,8 @@ use Automattic\Jetpack\Status;
* @package automattic/jetpack
*/
+use Automattic\Jetpack\Status;
+
/**
* Generates a Photon URL.
*
@@ -327,7 +326,6 @@ function jetpack_photon_banned_domains( $skip, $image_url ) {
return $skip;
}
-
/**
* Jetpack Photon - Support Text Widgets.
*
diff --git a/plugins/jetpack/images/close.svg b/plugins/jetpack/images/close.svg
new file mode 100644
index 00000000..053baf6e
--- /dev/null
+++ b/plugins/jetpack/images/close.svg
@@ -0,0 +1,3 @@
+<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M4.99954 6.06069L8.71184 9.77299L9.7725 8.71233L6.0602 5.00003L9.77251 1.28772L8.71185 0.227059L4.99954 3.93937L1.28722 0.227051L0.226562 1.28771L3.93888 5.00003L0.226571 8.71234L1.28723 9.773L4.99954 6.06069Z" fill="#1E1E1E"/>
+</svg>
diff --git a/plugins/jetpack/images/cloud-checkmark.svg b/plugins/jetpack/images/cloud-checkmark.svg
new file mode 100644
index 00000000..63ea1a66
--- /dev/null
+++ b/plugins/jetpack/images/cloud-checkmark.svg
@@ -0,0 +1,4 @@
+<svg width="154" height="105" viewBox="0 0 154 105" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M124.162 39.5318C119.799 16.9515 100.357 0 77 0C58.4558 0 42.35 10.7338 34.3292 26.4418C15.015 28.5362 0 45.2259 0 65.45C0 87.1139 17.2608 104.72 38.5 104.72H121.917C139.627 104.72 154 90.0592 154 71.995C154 54.7162 140.846 40.7099 124.162 39.5318Z" fill="#069E08"/>
+ <path d="M71.3548 76.9998L49.2793 55.8347L54.8541 50.5432L71.4103 66.4175L99.2006 40.0398L104.719 45.3312L71.3548 76.9998Z" fill="white"/>
+</svg>
diff --git a/plugins/jetpack/images/ionos-logo.jpg b/plugins/jetpack/images/ionos-logo.jpg
new file mode 100644
index 00000000..4d51457c
--- /dev/null
+++ b/plugins/jetpack/images/ionos-logo.jpg
Binary files differ
diff --git a/plugins/jetpack/images/jetpack-aside-background.jpg b/plugins/jetpack/images/jetpack-aside-background.jpg
new file mode 100644
index 00000000..51cb6d71
--- /dev/null
+++ b/plugins/jetpack/images/jetpack-aside-background.jpg
Binary files differ
diff --git a/plugins/jetpack/images/jetpack-banner-gradient.png b/plugins/jetpack/images/jetpack-banner-gradient.png
new file mode 100644
index 00000000..7f30bc09
--- /dev/null
+++ b/plugins/jetpack/images/jetpack-banner-gradient.png
Binary files differ
diff --git a/plugins/jetpack/images/lock.svg b/plugins/jetpack/images/lock.svg
new file mode 100644
index 00000000..996bcb22
--- /dev/null
+++ b/plugins/jetpack/images/lock.svg
@@ -0,0 +1,3 @@
+<svg width="16" height="19" viewBox="0 0 16 19" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M4 3C4 1.34315 5.34315 0 7 0H9C10.6569 0 12 1.34315 12 3V7H14C15.2624 7 16 7.9804 16 9V17C16 18.0196 15.2624 19 14 19H2C0.73763 19 0 18.0196 0 17V9C0 7.9804 0.73763 7 2 7H4V3ZM5.5 7H10.5V3C10.5 2.17157 9.8284 1.5 9 1.5H7C6.1716 1.5 5.5 2.17157 5.5 3V7Z" fill="black"/>
+</svg>
diff --git a/plugins/jetpack/images/plans/jetpack-complete.svg b/plugins/jetpack/images/plans/jetpack-complete.svg
index f3e22ec7..baa6f928 100644
--- a/plugins/jetpack/images/plans/jetpack-complete.svg
+++ b/plugins/jetpack/images/plans/jetpack-complete.svg
@@ -1,3 +1,6 @@
-<svg width="55" height="55" viewBox="0 0 55 55" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M27.5 0C12.333 0 0 12.333 0 27.5C0 42.667 12.333 55 27.5 55C42.667 55 55 42.667 55 27.5C55 12.333 42.667 0 27.5 0ZM26.083 32.0658H12.3855L26.083 5.40553V32.0658ZM28.8645 49.542V22.8817H42.562L28.8645 49.542Z" fill="#069E08"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path d="M32 64C49.6731 64 64 49.6731 64 32C64 14.3269 49.6731 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z" fill="#069E08"/>
+<path d="M33.5877 26.6259V57.6488L49.5877 26.6259H33.5877Z" fill="white"/>
+<path d="M30.3512 37.3129V6.3511L14.4123 37.3129H30.3512Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/plans/jetpack-security.svg b/plugins/jetpack/images/plans/jetpack-security.svg
index d223e413..6a59902d 100644
--- a/plugins/jetpack/images/plans/jetpack-security.svg
+++ b/plugins/jetpack/images/plans/jetpack-security.svg
@@ -1,4 +1,4 @@
-<svg width="55" height="55" viewBox="0 0 55 55" xmlns="http://www.w3.org/2000/svg">
- <circle cx="27.5" cy="27.5" r="27.5" fill="#984A9C"/>
- <path fill-rule="evenodd" clip-rule="evenodd" d="M34.5106 20.7454H33.2601V19.5077C33.2601 16.0951 30.455 13.3188 27.0071 13.3188C23.5592 13.3188 20.7542 16.0951 20.7542 19.5077V20.7454H19.5036C18.1217 20.7454 17.0024 21.8532 17.0024 23.2209V35.5986C17.0024 36.9663 18.1217 38.0741 19.5036 38.0741H34.5106C35.8925 38.0741 37.0118 36.9663 37.0118 35.5986V23.2209C37.0118 21.8532 35.8925 20.7454 34.5106 20.7454ZM23.2554 19.5077C23.2554 17.4604 24.9386 15.7944 27.0071 15.7944C29.0756 15.7944 30.7589 17.4604 30.7589 19.5077V20.7454H23.2554V19.5077ZM28.2577 33.123V30.3047C29.0018 29.8751 29.5083 29.0855 29.5083 28.172C29.5083 26.8043 28.389 25.6965 27.0071 25.6965C25.6252 25.6965 24.5059 26.8043 24.5059 28.172C24.5059 29.0867 25.0124 29.8764 25.7565 30.3047V33.123H28.2577Z" fill="#fff"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M32 18.4167C28.5482 18.4167 25.75 21.2149 25.75 24.6667V28.6667H23.6667C22.7462 28.6667 22 29.4129 22 30.3333V40.6667C22 41.5871 22.7462 42.3333 23.6667 42.3333H40.3333C41.2538 42.3333 42 41.5871 42 40.6667V30.3333C42 29.4129 41.2538 28.6667 40.3333 28.6667H38.25V24.6667C38.25 21.2149 35.4518 18.4167 32 18.4167ZM35.75 28.6667V24.6667C35.75 22.5956 34.0711 20.9167 32 20.9167C29.9289 20.9167 28.25 22.5956 28.25 24.6667V28.6667H35.75Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/plans/plan-business.svg b/plugins/jetpack/images/plans/plan-business.svg
deleted file mode 100644
index 6657859e..00000000
--- a/plugins/jetpack/images/plans/plan-business.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="200" height="200"><path d="M100 200C155.228 200 200 155.228 200 100C200 44.7715 155.228 0 100 0C44.7715 0 0 44.7715 0 100C0 155.228 44.7715 200 100 200Z" fill="white"/></mask><g mask="url(#mask0)"><path d="M100 200C155.228 200 200 155.228 200 100C200 44.7715 155.228 0 100 0C44.7715 0 0 44.7715 0 100C0 155.228 44.7715 200 100 200Z" fill="#C475BD"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 150C7.40741 150 35.1852 150 83.3333 150C22.2222 153.627 14.8148 168.417 61.1111 194.369C20.3704 194.369 0 179.579 0 150Z" fill="#7C3982"/><mask id="mask1" mask-type="alpha" maskUnits="userSpaceOnUse" x="-37" y="-37" width="274" height="274"><path d="M236.603 63.5979L63.5981 -36.6025L-36.6026 136.402L136.402 236.603L236.603 63.5979Z" fill="white"/></mask><g mask="url(#mask1)"><mask id="mask2" mask-type="alpha" maskUnits="userSpaceOnUse" x="71" y="-11" width="109" height="156"><path d="M96.2446 69.1323C103.704 47.0547 121.908 6.57178 125.993 -0.495623L131.552 -10.1134L179.612 17.7326L174.053 27.3503C169.968 34.4177 143.979 70.3898 128.576 87.8653C132.127 96.3728 130.552 105.984 124.02 113.91C114.189 125.838 86.3516 140.23 77.3762 144.659L72.5702 141.874C71.9337 131.877 70.0241 101.883 75.96 86.064C79.5695 76.4447 87.108 70.2886 96.2446 69.1323ZM99.0252 106.587C101.644 106.97 104.351 105.761 105.757 103.329C107.599 100.142 106.51 96.062 103.325 94.2165C100.14 92.3711 96.0647 93.4586 94.2225 96.6457C92.8166 99.078 93.1178 102.03 94.7552 104.112L79.8021 133.25C79.6067 133.631 79.7313 134.098 80.0905 134.331C80.4766 134.581 80.9922 134.471 81.2421 134.084L99.0252 106.587Z" fill="white"/></mask><g mask="url(#mask2)"><path d="M96.2448 69.1325C103.705 47.0549 121.909 6.57185 125.994 -0.495586L131.553 -10.1134L179.612 17.732L174.053 27.3498C169.968 34.4172 143.979 70.3895 128.576 87.8652C132.127 96.3726 130.551 105.984 124.019 113.91C114.189 125.838 86.3512 140.231 77.3758 144.659L72.5699 141.875C71.9335 131.877 70.0242 101.883 75.9601 86.0644C79.5698 76.4451 87.1082 70.2889 96.2448 69.1325ZM99.025 106.587C101.644 106.971 104.351 105.761 105.757 103.329C107.599 100.142 106.51 96.0621 103.325 94.2166C100.14 92.3712 96.0647 93.4588 94.2225 96.6459C92.8165 99.0782 93.1177 102.03 94.755 104.113L79.8018 133.25C79.6064 133.631 79.731 134.098 80.0902 134.331C80.4763 134.581 80.9919 134.471 81.2418 134.084L99.025 106.587Z" fill="white"/><path d="M184.423 20.5224L126.746 -12.8918L90.5769 49.5735L148.254 82.9878L184.423 20.5224Z" fill="#7C3982"/></g></g></g></svg> \ No newline at end of file
diff --git a/plugins/jetpack/images/plans/plan-free.svg b/plugins/jetpack/images/plans/plan-free.svg
deleted file mode 100644
index 30aca906..00000000
--- a/plugins/jetpack/images/plans/plan-free.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="200" height="200"><path d="M100 200C155.228 200 200 155.228 200 100C200 44.7715 155.228 0 100 0C44.7715 0 0 44.7715 0 100C0 155.228 44.7715 200 100 200Z" fill="white"/></mask><g mask="url(#mask0)"><path d="M100 200C155.228 200 200 155.228 200 100C200 44.7715 155.228 0 100 0C44.7715 0 0 44.7715 0 100C0 155.228 44.7715 200 100 200Z" fill="#5198D9"/><mask id="mask1" mask-type="alpha" maskUnits="userSpaceOnUse" x="-12" y="147" width="92" height="9"><path d="M-11.1111 147.222H69.4445L78.2035 151.602C79.2326 152.116 79.6497 153.368 79.1352 154.397C78.782 155.103 78.0598 155.549 77.2701 155.548L-11.1111 155.477V147.222Z" fill="white"/></mask><g mask="url(#mask1)"><path d="M-11.1111 147.222H69.4445L78.2035 151.602C79.2326 152.116 79.6497 153.368 79.1352 154.397C78.782 155.103 78.0598 155.549 77.2701 155.548L-11.1111 155.477V147.222Z" fill="#135E96"/><path d="M100 147.222H-11.1111V150H100V147.222Z" fill="#C6DEF6"/></g><mask id="mask2" mask-type="alpha" maskUnits="userSpaceOnUse" x="-37" y="-37" width="274" height="274"><path d="M236.667 63.4617L63.4615 -36.5383L-36.5385 136.667L136.667 236.667L236.667 63.4617Z" fill="white"/></mask><g mask="url(#mask2)"><mask id="mask3" mask-type="alpha" maskUnits="userSpaceOnUse" x="70" y="-4" width="105" height="152"><path d="M78.767 146.775C95.5224 135.71 105.373 129.205 108.319 127.26C113.502 123.838 116.098 122.129 118.875 117.318C121.653 112.506 140.089 80.5744 174.183 21.5219L130.882 -3.47815C96.7878 55.5744 78.3519 87.5063 75.5741 92.3176C72.7964 97.1288 72.7702 100.321 72.398 106.521C72.1866 110.044 71.441 121.798 70.1613 141.784L70.1613 141.784C69.9652 144.846 72.2885 147.488 75.3505 147.684C76.5579 147.761 77.7574 147.442 78.767 146.775Z" fill="white"/></mask><g mask="url(#mask3)"><path d="M78.767 146.775C95.5224 135.71 105.373 129.205 108.319 127.26C113.502 123.838 116.098 122.129 118.875 117.318C121.653 112.506 140.089 80.5744 174.183 21.5219L130.882 -3.47815C96.7878 55.5744 78.3519 87.5063 75.5741 92.3176C72.7964 97.1288 72.7702 100.321 72.398 106.521C72.1866 110.044 71.441 121.798 70.1613 141.784C69.9652 144.846 72.2885 147.488 75.3505 147.684C76.5579 147.761 77.7574 147.442 78.767 146.775Z" fill="#135E96"/><path d="M189.226 23.2193L121.868 -15.6696L60.7571 90.178L128.115 129.067L189.226 23.2193Z" fill="#135E96"/><path d="M186.448 28.0306L119.09 -10.8583L66.3127 80.5555L133.67 119.444L186.448 28.0306Z" fill="#C6DEF6"/><path d="M122.221 61.5144C112.599 55.9588 126.901 31.187 144.543 0.629394C156.305 -19.7423 166.953 -38.1855 176.487 -54.7L195.732 -43.5889C186.198 -27.0744 175.55 -8.63122 163.788 11.7405C146.146 42.2981 131.844 67.0699 122.221 61.5144ZM84.6406 65.4773L137.564 96.0329L132.009 105.655L79.0851 75.0998L84.6406 65.4773Z" fill="#2271B1"/></g></g></g></svg> \ No newline at end of file
diff --git a/plugins/jetpack/images/plans/plan-personal.svg b/plugins/jetpack/images/plans/plan-personal.svg
deleted file mode 100644
index f30ac0da..00000000
--- a/plugins/jetpack/images/plans/plan-personal.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="200" height="200"><path d="M100 200C155.228 200 200 155.228 200 100C200 44.7715 155.228 0 100 0C44.7715 0 0 44.7715 0 100C0 155.228 44.7715 200 100 200Z" fill="white"/></mask><g mask="url(#mask0)"><path d="M100 200C155.228 200 200 155.228 200 100C200 44.7715 155.228 0 100 0C44.7715 0 0 44.7715 0 100C0 155.228 44.7715 200 100 200Z" fill="#DBAE17"/><path d="M72.2222 150H-2.77776C-4.31189 150 -5.55554 151.244 -5.55554 152.778C-5.55554 154.312 -4.31189 155.556 -2.77776 155.556H72.2222C73.7564 155.556 75 154.312 75 152.778C75 151.244 73.7564 150 72.2222 150Z" fill="#705B00"/><mask id="mask1" mask-type="alpha" maskUnits="userSpaceOnUse" x="-37" y="-37" width="274" height="274"><path d="M236.603 63.4181L63.3773 -36.6028L-36.6025 136.581L136.623 236.602L236.603 63.4181Z" fill="white"/></mask><g mask="url(#mask1)"><mask id="mask2" mask-type="alpha" maskUnits="userSpaceOnUse" x="73" y="-13" width="112" height="157"><path d="M99.6962 125.485C88.2952 136.799 79.2473 143.556 75 143.301C72.6556 139.75 73.9829 128.536 78.0811 113.005L74.1424 110.731C81.5521 80.6898 95.9501 40.3448 115.575 6.35304L126.686 -12.8918L184.422 20.4428L173.311 39.6877C153.686 73.6794 125.946 106.321 103.635 127.759L99.6962 125.485Z" fill="white"/></mask><g mask="url(#mask2)"><path d="M99.6968 125.484C88.2957 136.799 79.2478 143.556 75.0006 143.301C72.6561 139.75 73.9835 128.536 78.0818 113.005L74.1432 110.731C81.553 80.6897 95.9512 40.3448 115.576 6.35304L126.687 -12.8918L184.423 20.4424L173.312 39.6873C153.687 73.679 125.947 106.321 103.635 127.758L99.6968 125.484Z" fill="#705B00"/><path d="M206.047 116.322L32.8412 16.3209L2.28644 69.2435L175.492 169.245L206.047 116.322Z" fill="white"/></g></g></g></svg> \ No newline at end of file
diff --git a/plugins/jetpack/images/plans/plan-premium.svg b/plugins/jetpack/images/plans/plan-premium.svg
deleted file mode 100644
index 87f7f67e..00000000
--- a/plugins/jetpack/images/plans/plan-premium.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="200" height="200"><path d="M100 200C155.228 200 200 155.228 200 100C200 44.7715 155.228 0 100 0C44.7715 0 0 44.7715 0 100C0 155.228 44.7715 200 100 200Z" fill="white"/></mask><g mask="url(#mask0)"><path d="M100 200C155.228 200 200 155.228 200 100C200 44.7715 155.228 0 100 0C44.7715 0 0 44.7715 0 100C0 155.228 44.7715 200 100 200Z" fill="#00BA37"/><path fill-rule="evenodd" clip-rule="evenodd" d="M-11.1111 150H77.7778L69.4445 155.556H-11.1111V150Z" fill="#007017"/><mask id="mask1" mask-type="alpha" maskUnits="userSpaceOnUse" x="-37" y="-37" width="274" height="274"><path d="M236.603 63.6243L63.5835 -36.6025L-36.6025 136.376L136.417 236.603L236.603 63.6243Z" fill="white"/></mask><g mask="url(#mask1)"><mask id="mask2" mask-type="alpha" maskUnits="userSpaceOnUse" x="64" y="-6" width="113" height="151"><path d="M92.9278 134.414L88.816 141.528C88.1519 142.677 87.8481 143.05 87.446 143.411C87.044 143.773 86.5981 144.03 86.0834 144.196C85.5687 144.362 85.0937 144.437 83.7672 144.434L68.7071 144.4C66.4075 144.395 64.5464 142.525 64.5503 140.223C64.5516 139.492 64.7445 138.775 65.1097 138.143L73.7044 123.274L68.8985 120.489C83.7225 94.8415 94.8794 68.139 102.369 40.3814L128.774 -5.30286L176.833 22.5467L150.428 68.2309C130.122 88.562 112.558 111.551 97.7337 137.199L92.9278 134.414Z" fill="white"/></mask><g mask="url(#mask2)"><path d="M92.9274 134.414L88.8155 141.528C88.1514 142.677 87.8476 143.05 87.4456 143.412C87.0436 143.773 86.5976 144.03 86.0829 144.196C85.5683 144.362 85.0932 144.437 83.7668 144.434L68.7068 144.4C66.4072 144.395 64.5462 142.525 64.5501 140.223C64.5513 139.493 64.7443 138.776 65.1095 138.144L73.7042 123.274L68.8984 120.489C83.7226 94.8418 94.8797 68.1393 102.37 40.3816L128.775 -5.30286L176.833 22.546L150.428 68.2305C130.122 88.5618 112.557 111.551 97.7332 137.199L92.9274 134.414Z" fill="#007017"/><path d="M155.901 81.0497L88.6087 42.0654L49.6545 109.328L116.947 148.312L155.901 81.0497Z" fill="white"/></g></g></g></svg> \ No newline at end of file
diff --git a/plugins/jetpack/images/products/product-jetpack-anti-spam.svg b/plugins/jetpack/images/products/product-jetpack-anti-spam.svg
index c7112ea6..9d4794fb 100644
--- a/plugins/jetpack/images/products/product-jetpack-anti-spam.svg
+++ b/plugins/jetpack/images/products/product-jetpack-anti-spam.svg
@@ -1,4 +1,4 @@
-<svg width="55" height="55" viewBox="0 0 55 55" fill="none" xmlns="http://www.w3.org/2000/svg">
- <circle cx="27.5" cy="27.5" r="27.5" fill="#3895BA"/>
- <path fill-rule="evenodd" clip-rule="evenodd" d="M23 19.5C23 16.7386 25.2386 14.5 28 14.5C30.7614 14.5 33 16.7386 33 19.5H23ZM40.5 29.5H35.5V30.75C35.4975 31.1691 35.4599 31.5872 35.3875 32H36.75C38.1307 32 39.25 33.1193 39.25 34.5V37H36.75V34.5H34.4875C33.3697 36.4313 31.45 37.7645 29.25 38.1375V24.5H26.75V38.1375C24.55 37.7645 22.6303 36.4313 21.5125 34.5H19.25V37H16.75V34.5C16.75 33.1193 17.8693 32 19.25 32H20.6125C20.5401 31.5872 20.5025 31.1691 20.5 30.75V29.5H15.5V27H20.5V24.5H19.25C17.8693 24.5 16.75 23.3807 16.75 22V19.5H19.25V22H36.75V19.5H39.25V22C39.25 23.3807 38.1307 24.5 36.75 24.5H35.5V27H40.5V29.5Z" fill="#fff"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M26.0912 47.3448L39.4246 18.1782L37.9088 17.4852L35.8062 22.0847C34.6652 21.4979 33.3713 21.1667 32 21.1667C30.2309 21.1667 28.5905 21.7179 27.2413 22.6581L23.9832 19.4L22.2155 21.1678L25.4259 24.3782C24.4841 25.5855 23.8675 27.0588 23.7078 28.6667H20.3333V31.1667H23.6667V33.6667H20.3333V36.1667H23.8334C24.2515 38.2265 25.4294 40.0104 27.0617 41.2132L24.5754 46.6519L26.0912 47.3448ZM28.1337 38.8681C26.9272 37.7994 26.1667 36.2385 26.1667 34.5V29.5C26.1667 26.2783 28.7783 23.6667 32 23.6667C33.0005 23.6667 33.9421 23.9185 34.765 24.3623L28.1337 38.8681ZM37.5926 27.8359L38.9408 24.8865C39.6756 25.9897 40.1543 27.2781 40.2922 28.6667H43.6667V31.1667H40.3333V33.6667H43.6667V36.1667H40.1666C39.3945 39.9704 36.0316 42.8333 32 42.8333C31.5846 42.8333 31.1764 42.8029 30.7773 42.7443L31.88 40.3321C31.9199 40.3329 31.9599 40.3333 32 40.3333C35.2217 40.3333 37.8333 37.7217 37.8333 34.5V29.5C37.8333 28.9218 37.7492 28.3633 37.5926 27.8359Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/products/product-jetpack-backup.svg b/plugins/jetpack/images/products/product-jetpack-backup.svg
index a1da128d..81a56ace 100644
--- a/plugins/jetpack/images/products/product-jetpack-backup.svg
+++ b/plugins/jetpack/images/products/product-jetpack-backup.svg
@@ -1,4 +1,4 @@
-<svg width="55" height="55" viewBox="0 0 55 55" fill="none" xmlns="http://www.w3.org/2000/svg">
- <circle cx="27.5" cy="27.5" r="27.5" fill="#3895BA"/>
- <path fill-rule="evenodd" clip-rule="evenodd" d="M35.4688 24.5037C35.4788 24.5025 35.4875 24.5 35.5 24.5C38.95 24.5 41.75 27.3 41.75 30.75C41.75 32.8038 40.745 34.6125 39.2162 35.75H15.975C14.925 34.8337 14.25 33.5025 14.25 32C14.25 29.2375 16.4875 27 19.25 27C19.2978 27 19.3434 27.0067 19.3892 27.0134C19.42 27.018 19.4508 27.0225 19.4825 27.025C19.3375 26.4125 19.25 25.78 19.25 25.125C19.25 20.6375 22.8875 17 27.375 17C31.6525 17 35.15 20.3075 35.4688 24.5037ZM29.25 33.25V29.5H33L28 23.25L23 29.5H26.75V33.25H29.25Z" fill="#fff"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M38.3652 30.9543L38.3887 28.8262L38.3888 28.7778C38.3888 26.3089 36.1357 23.9446 32.8888 23.9446C30.1768 23.9446 28.1039 25.6343 27.5469 27.6236L27.0137 29.5283L25.0375 29.4475C24.9883 29.4455 24.9388 29.4445 24.8889 29.4445C22.9051 29.4445 21.1667 31.125 21.1667 33.3612C21.1667 35.595 22.9014 37.2743 24.8826 37.2778L24.9184 37.2777H24.9259H39.9698H39.984L39.9993 37.2778C41.4922 37.2778 42.8327 36.0077 42.8327 34.2778C42.8327 32.734 41.752 31.5405 40.4622 31.3173L38.3652 30.9543ZM25.1395 26.9496C25.0564 26.9462 24.9728 26.9445 24.8889 26.9445C21.4524 26.9445 18.6667 29.8173 18.6667 33.3612C18.6667 36.905 21.4524 39.7778 24.8889 39.7778L24.9259 39.7777H39.9698L39.9993 39.7778C42.9448 39.7778 45.3327 37.3153 45.3327 34.2778C45.3327 31.5527 43.4108 29.2903 40.8885 28.8538L40.8888 28.7778C40.8888 24.7278 37.3072 21.4446 32.8888 21.4446C29.1592 21.4446 26.0257 23.7841 25.1395 26.9496C25.1395 26.9496 25.1395 26.9496 25.1395 26.9496Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/products/product-jetpack-boost.svg b/plugins/jetpack/images/products/product-jetpack-boost.svg
index 8a225891..f1847f3d 100644
--- a/plugins/jetpack/images/products/product-jetpack-boost.svg
+++ b/plugins/jetpack/images/products/product-jetpack-boost.svg
@@ -1,3 +1,4 @@
-<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16ZM15.445 11.0045L19.9864 16L15.445 20.9955L16.555 22.0045L21.555 16.5045L22.0136 16L21.555 15.4955L16.555 9.9955L15.445 11.0045ZM9.44504 11.0045L13.9864 16L9.44505 20.9955L10.555 22.0045L15.555 16.5045L16.0136 16L15.555 15.4955L10.555 9.9955L9.44504 11.0045Z" fill="#3895BA"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M18.9918 39.0908C19.4561 39.6017 20.2467 39.6393 20.7575 39.1748L29.0992 31.5915L35.807 37.4608L43.6667 29.6012V34.9167H46.1667V27.8333V26.5873V26.5793V25.3333H44.9215H44.9118H43.6667H36.5833V27.8333H41.8988L35.693 34.0392L29.0675 28.2418L19.0758 37.325C18.565 37.7895 18.5274 38.58 18.9918 39.0908Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/products/product-jetpack-crm.svg b/plugins/jetpack/images/products/product-jetpack-crm.svg
index bbb800c3..960d6cf2 100644
--- a/plugins/jetpack/images/products/product-jetpack-crm.svg
+++ b/plugins/jetpack/images/products/product-jetpack-crm.svg
@@ -1,3 +1,4 @@
-<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32ZM17.25 19V21H15.75V19C15.75 18.3096 15.1904 17.75 14.5 17.75H10.5C9.80964 17.75 9.25 18.3096 9.25 19V21H7.75V19C7.75 17.4812 8.98122 16.25 10.5 16.25H14.5C16.0188 16.25 17.25 17.4812 17.25 19ZM24.25 19V21H22.75V19C22.75 18.3096 22.1904 17.75 21.5 17.75H19V16.25H21.5C23.0188 16.25 24.25 17.4812 24.25 19ZM19.5 13.5C20.0523 13.5 20.5 13.0523 20.5 12.5C20.5 11.9477 20.0523 11.5 19.5 11.5C18.9477 11.5 18.5 11.9477 18.5 12.5C18.5 13.0523 18.9477 13.5 19.5 13.5ZM19.5 15C20.8807 15 22 13.8807 22 12.5C22 11.1193 20.8807 10 19.5 10C18.1193 10 17 11.1193 17 12.5C17 13.8807 18.1193 15 19.5 15ZM13.5 12.5C13.5 13.0523 13.0523 13.5 12.5 13.5C11.9477 13.5 11.5 13.0523 11.5 12.5C11.5 11.9477 11.9477 11.5 12.5 11.5C13.0523 11.5 13.5 11.9477 13.5 12.5ZM15 12.5C15 13.8807 13.8807 15 12.5 15C11.1193 15 10 13.8807 10 12.5C10 11.1193 11.1193 10 12.5 10C13.8807 10 15 11.1193 15 12.5Z" fill="#3895BA"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M37.8333 27.8333C38.7538 27.8333 39.5 27.0871 39.5 26.1667C39.5 25.2462 38.7538 24.5 37.8333 24.5C36.9129 24.5 36.1667 25.2462 36.1667 26.1667C36.1667 27.0871 36.9129 27.8333 37.8333 27.8333ZM37.8333 30.3333C40.1345 30.3333 42 28.4679 42 26.1667C42 23.8655 40.1345 22 37.8333 22C35.5321 22 33.6667 23.8655 33.6667 26.1667C33.6667 28.4679 35.5321 30.3333 37.8333 30.3333ZM34.0833 40.3333V37C34.0833 34.4687 32.0313 32.4167 29.5 32.4167H22.8333C20.302 32.4167 18.25 34.4687 18.25 37V40.3333H20.75V37C20.75 35.8494 21.6827 34.9167 22.8333 34.9167H29.5C30.6506 34.9167 31.5833 35.8494 31.5833 37V40.3333H34.0833ZM45.75 37V40.3333H43.25V37C43.25 35.8494 42.3173 34.9167 41.1667 34.9167H37V32.4167H41.1667C43.698 32.4167 45.75 34.4687 45.75 37ZM27.8333 26.1667C27.8333 27.0871 27.0871 27.8333 26.1667 27.8333C25.2462 27.8333 24.5 27.0871 24.5 26.1667C24.5 25.2462 25.2462 24.5 26.1667 24.5C27.0871 24.5 27.8333 25.2462 27.8333 26.1667ZM30.3333 26.1667C30.3333 28.4679 28.4679 30.3333 26.1667 30.3333C23.8655 30.3333 22 28.4679 22 26.1667C22 23.8655 23.8655 22 26.1667 22C28.4679 22 30.3333 23.8655 30.3333 26.1667Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/products/product-jetpack-scan.svg b/plugins/jetpack/images/products/product-jetpack-scan.svg
index bcc578e2..548179dc 100644
--- a/plugins/jetpack/images/products/product-jetpack-scan.svg
+++ b/plugins/jetpack/images/products/product-jetpack-scan.svg
@@ -1,4 +1,4 @@
-<svg width="55" height="55" viewBox="0 0 55 55" fill="none" xmlns="http://www.w3.org/2000/svg">
- <circle cx="27.5" cy="27.5" r="27.5" fill="#3895BA"/>
- <path fill-rule="evenodd" clip-rule="evenodd" d="M17.5 18.8333L28 14.1667L38.5 18.8333V25.8333C38.5 32.3083 34.02 38.3633 28 39.8333C21.98 38.3633 17.5 32.3083 17.5 25.8333V18.8333ZM36.1667 26.9883H28V16.7217L19.8333 20.35V27H28V37.4183C32.34 36.0767 35.5483 31.795 36.1667 26.9883Z" fill="#fff"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M32 18.2936L43.25 23.4072V31.0303C43.25 37.5286 39.0764 43.6813 33.1912 45.6223C32.4178 45.8773 31.5822 45.8773 30.8088 45.6223C24.9236 43.6813 20.75 37.5286 20.75 31.0303V23.4072L32 18.2936ZM23.25 25.017V31.0303C23.25 36.5518 26.8252 41.676 31.5919 43.2481C31.8567 43.3354 32.1433 43.3354 32.4081 43.2481C37.1748 41.676 40.75 36.5518 40.75 31.0303V25.017L32 21.0397L23.25 25.017Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/products/product-jetpack-search.svg b/plugins/jetpack/images/products/product-jetpack-search.svg
index 121e586b..f63bd3a3 100644
--- a/plugins/jetpack/images/products/product-jetpack-search.svg
+++ b/plugins/jetpack/images/products/product-jetpack-search.svg
@@ -1,4 +1,4 @@
-<svg width="55" height="55" viewBox="0 0 55 55" fill="none" xmlns="http://www.w3.org/2000/svg">
- <circle cx="27.5" cy="27.5" r="27.5" fill="#3895BA"/>
- <path fill-rule="evenodd" clip-rule="evenodd" d="M32.487 30.1537L38.5 36.1667L36.1667 38.5L30.1537 32.487C28.8657 33.3363 27.3245 33.8333 25.6667 33.8333C21.1563 33.8333 17.5 30.177 17.5 25.6667C17.5 21.1563 21.1563 17.5 25.6667 17.5C30.177 17.5 33.8333 21.1563 33.8333 25.6667C33.8333 27.3245 33.3363 28.8657 32.487 30.1537ZM25.6667 19.8333C22.4502 19.8333 19.8333 22.4502 19.8333 25.6667C19.8333 28.8832 22.4502 31.5 25.6667 31.5C28.8832 31.5 31.5 28.8832 31.5 25.6667C31.5 22.4502 28.8832 19.8333 25.6667 19.8333Z" fill="#fff"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M39.1667 31.1667C39.1667 34.8486 36.1819 37.8333 32.5 37.8333C28.8181 37.8333 25.8333 34.8486 25.8333 31.1667C25.8333 27.4848 28.8181 24.5 32.5 24.5C36.1819 24.5 39.1667 27.4848 39.1667 31.1667ZM41.6667 31.1667C41.6667 36.2293 37.5626 40.3333 32.5 40.3333C30.1717 40.3333 28.0462 39.4653 26.4294 38.0352L20.8231 42.9407L19.1769 41.0593L24.7986 36.1402C23.8716 34.7077 23.3333 33 23.3333 31.1667C23.3333 26.1041 27.4374 22 32.5 22C37.5626 22 41.6667 26.1041 41.6667 31.1667Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/products/product-jetpack-security-bundle.svg b/plugins/jetpack/images/products/product-jetpack-security-bundle.svg
index 13d0ad5f..6a59902d 100644
--- a/plugins/jetpack/images/products/product-jetpack-security-bundle.svg
+++ b/plugins/jetpack/images/products/product-jetpack-security-bundle.svg
@@ -1,3 +1,4 @@
-<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32ZM11.5 14C10.6716 14 10 14.6716 10 15.5V22.5C10 23.3284 10.6716 24 11.5 24H20.5C21.3284 24 22 23.3284 22 22.5V15.5C22 14.6716 21.3284 14 20.5 14H20.25V12.5C20.25 10.1528 18.3472 8.25 16 8.25C13.6528 8.25 11.75 10.1528 11.75 12.5V14H11.5ZM13.25 14H18.75V12.5C18.75 10.9812 17.5188 9.75 16 9.75C14.4812 9.75 13.25 10.9812 13.25 12.5V14ZM16 18C15.4477 18 15 18.4477 15 19C15 19.5523 15.4477 20 16 20C16.5523 20 17 19.5523 17 19C17 18.4477 16.5523 18 16 18Z" fill="#3895BA"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M32 18.4167C28.5482 18.4167 25.75 21.2149 25.75 24.6667V28.6667H23.6667C22.7462 28.6667 22 29.4129 22 30.3333V40.6667C22 41.5871 22.7462 42.3333 23.6667 42.3333H40.3333C41.2538 42.3333 42 41.5871 42 40.6667V30.3333C42 29.4129 41.2538 28.6667 40.3333 28.6667H38.25V24.6667C38.25 21.2149 35.4518 18.4167 32 18.4167ZM35.75 28.6667V24.6667C35.75 22.5956 34.0711 20.9167 32 20.9167C29.9289 20.9167 28.25 22.5956 28.25 24.6667V28.6667H35.75Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/products/product-jetpack-social.svg b/plugins/jetpack/images/products/product-jetpack-social.svg
new file mode 100644
index 00000000..d52d8057
--- /dev/null
+++ b/plugins/jetpack/images/products/product-jetpack-social.svg
@@ -0,0 +1,4 @@
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M39.5 18.6302V22V38.6667V42.0365L36.275 41.0592L26.1667 37.9961V45.3333H23.6667V37.2385L19.125 35.8623C17.3681 35.3299 16.1667 33.7104 16.1667 31.8747V28.792C16.1667 26.9563 17.3681 25.3368 19.125 24.8044L36.275 19.6074L39.5 18.6302ZM34.5 37.9091L26.1667 35.3838L26.1667 25.2828L34.5 22.7576L37 22V24.6123V36.0544V38.6667L34.5 37.9091ZM19.85 27.197L23.6667 26.0404L23.6667 34.6263L19.85 33.4697C19.1472 33.2567 18.6667 32.609 18.6667 31.8747V28.792C18.6667 28.0577 19.1472 27.4099 19.85 27.197ZM42.8333 31.5833H49.5V29.0833H42.8333V31.5833ZM49.5 38.6667L42.8333 37V34.5L49.5 36.1667V38.6667ZM42.8333 26.1667L49.5 24.5V22L42.8333 23.6667V26.1667Z" fill="white"/>
+</svg>
diff --git a/plugins/jetpack/images/products/product-jetpack-videopress.svg b/plugins/jetpack/images/products/product-jetpack-videopress.svg
index ca29be5e..4eb3a4f5 100644
--- a/plugins/jetpack/images/products/product-jetpack-videopress.svg
+++ b/plugins/jetpack/images/products/product-jetpack-videopress.svg
@@ -1,4 +1,4 @@
-<svg width="55" height="55" viewBox="0 0 55 55" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M27.5 55C42.6878 55 55 42.6878 55 27.5C55 12.3122 42.6878 0 27.5 0C12.3122 0 0 12.3122 0 27.5C0 42.6878 12.3122 55 27.5 55Z" fill="#3895BA"/>
- <path d="M36.375 15.75H19.625C18 15.75 16.75 17 16.75 18.625V35.375C16.75 37 18 38.25 19.625 38.25H36.375C38 38.25 39.25 37 39.25 35.375V18.625C39.25 17 38 15.75 36.375 15.75ZM37.375 35.375C37.375 35.875 36.875 36.375 36.375 36.375H19.625C19.125 36.375 18.625 35.875 18.625 35.375V18.625C18.625 18.125 19.125 17.625 19.625 17.625H36.375C36.875 17.625 37.375 18.125 37.375 18.625V35.375ZM25.5 30.75L31.75 27L25.5 23.25V30.75Z" fill="white"/>
+<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="32" cy="32" r="32" fill="#069E08"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M20.8095 19.5H43.1905C43.9137 19.5 44.5 20.0863 44.5 20.8095V43.1905C44.5 43.9137 43.9137 44.5 43.1905 44.5H20.8095C20.0863 44.5 19.5 43.9137 19.5 43.1905V20.8095C19.5 20.0863 20.0863 19.5 20.8095 19.5ZM17 20.8095C17 18.7056 18.7056 17 20.8095 17H43.1905C45.2944 17 47 18.7056 47 20.8095V43.1905C47 45.2944 45.2944 47 43.1905 47H20.8095C18.7056 47 17 45.2944 17 43.1905V20.8095ZM37 32L28.6667 27V37L37 32Z" fill="white"/>
</svg>
diff --git a/plugins/jetpack/images/recommendations/assistant-creative-mail-2x.png b/plugins/jetpack/images/recommendations/assistant-creative-mail-2x.png
new file mode 100644
index 00000000..9961fb01
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-creative-mail-2x.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-creative-mail-2x.webp b/plugins/jetpack/images/recommendations/assistant-creative-mail-2x.webp
new file mode 100644
index 00000000..479d0993
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-creative-mail-2x.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-creative-mail.png b/plugins/jetpack/images/recommendations/assistant-creative-mail.png
new file mode 100644
index 00000000..a5d51801
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-creative-mail.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-creative-mail.webp b/plugins/jetpack/images/recommendations/assistant-creative-mail.webp
new file mode 100644
index 00000000..45e17533
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-creative-mail.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-downtime-monitoring-2x.png b/plugins/jetpack/images/recommendations/assistant-downtime-monitoring-2x.png
new file mode 100644
index 00000000..1f975037
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-downtime-monitoring-2x.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-downtime-monitoring-2x.webp b/plugins/jetpack/images/recommendations/assistant-downtime-monitoring-2x.webp
new file mode 100644
index 00000000..06e9192e
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-downtime-monitoring-2x.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-downtime-monitoring.png b/plugins/jetpack/images/recommendations/assistant-downtime-monitoring.png
new file mode 100644
index 00000000..8e6639a7
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-downtime-monitoring.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-downtime-monitoring.webp b/plugins/jetpack/images/recommendations/assistant-downtime-monitoring.webp
new file mode 100644
index 00000000..683118ce
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-downtime-monitoring.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-product-purchased-2x.png b/plugins/jetpack/images/recommendations/assistant-product-purchased-2x.png
new file mode 100644
index 00000000..b19037bd
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-product-purchased-2x.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-product-purchased-2x.webp b/plugins/jetpack/images/recommendations/assistant-product-purchased-2x.webp
new file mode 100644
index 00000000..92ab2fac
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-product-purchased-2x.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-product-purchased.png b/plugins/jetpack/images/recommendations/assistant-product-purchased.png
new file mode 100644
index 00000000..30fbdd1c
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-product-purchased.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-product-purchased.webp b/plugins/jetpack/images/recommendations/assistant-product-purchased.webp
new file mode 100644
index 00000000..9e5168f6
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-product-purchased.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-related-post-2x.png b/plugins/jetpack/images/recommendations/assistant-related-post-2x.png
new file mode 100644
index 00000000..980c6a3f
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-related-post-2x.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-related-post-2x.webp b/plugins/jetpack/images/recommendations/assistant-related-post-2x.webp
new file mode 100644
index 00000000..67727b4b
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-related-post-2x.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-related-post.png b/plugins/jetpack/images/recommendations/assistant-related-post.png
new file mode 100644
index 00000000..131b4135
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-related-post.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-related-post.webp b/plugins/jetpack/images/recommendations/assistant-related-post.webp
new file mode 100644
index 00000000..480e7ea1
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-related-post.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-site-accelerator-2x.png b/plugins/jetpack/images/recommendations/assistant-site-accelerator-2x.png
new file mode 100644
index 00000000..8dc95411
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-site-accelerator-2x.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-site-accelerator-2x.webp b/plugins/jetpack/images/recommendations/assistant-site-accelerator-2x.webp
new file mode 100644
index 00000000..42ef24f8
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-site-accelerator-2x.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-site-accelerator.png b/plugins/jetpack/images/recommendations/assistant-site-accelerator.png
new file mode 100644
index 00000000..ca812c50
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-site-accelerator.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-site-accelerator.webp b/plugins/jetpack/images/recommendations/assistant-site-accelerator.webp
new file mode 100644
index 00000000..10e226fc
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-site-accelerator.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-site-type-2x.png b/plugins/jetpack/images/recommendations/assistant-site-type-2x.png
new file mode 100644
index 00000000..32551b1b
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-site-type-2x.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-site-type-2x.webp b/plugins/jetpack/images/recommendations/assistant-site-type-2x.webp
new file mode 100644
index 00000000..495dad43
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-site-type-2x.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-site-type.png b/plugins/jetpack/images/recommendations/assistant-site-type.png
new file mode 100644
index 00000000..99e31381
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-site-type.png
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/assistant-site-type.webp b/plugins/jetpack/images/recommendations/assistant-site-type.webp
new file mode 100644
index 00000000..748cacb6
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/assistant-site-type.webp
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/background-alt.svg b/plugins/jetpack/images/recommendations/background-alt.svg
deleted file mode 100644
index 8f63d14e..00000000
--- a/plugins/jetpack/images/recommendations/background-alt.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="none" height="428" viewBox="0 0 541 428" width="541" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><filter id="a" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse" height="428" width="541" x="0" y="0"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="-20" dy="-5"/><feGaussianBlur stdDeviation="7.5"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/><feBlend in2="BackgroundImageFix" mode="normal" result="effect1_dropShadow"/><feBlend in="SourceGraphic" in2="effect1_dropShadow" mode="normal" result="shape"/></filter><g filter="url(#a)"><path d="m35 32c0-6.6274 5.3726-12 12-12h494v398h-506z" fill="#fff"/></g><path d="m21 32c0-6.6274 5.3726-12 12-12h508v406h-520z" fill="#fff"/><path clip-rule="evenodd" d="m51 45c0 2.7614-2.2386 5-5 5s-5-2.2386-5-5 2.2386-5 5-5 5 2.2386 5 5zm18 0c0 2.7614-2.2386 5-5 5s-5-2.2386-5-5 2.2386-5 5-5 5 2.2386 5 5zm13 5c2.7614 0 5-2.2386 5-5s-2.2386-5-5-5-5 2.2386-5 5 2.2386 5 5 5z" fill="#f0f0f1" fill-rule="evenodd"/></svg>
diff --git a/plugins/jetpack/images/recommendations/background.svg b/plugins/jetpack/images/recommendations/background.svg
deleted file mode 100644
index e08a031a..00000000
--- a/plugins/jetpack/images/recommendations/background.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="none" height="402" viewBox="0 0 501 362" width="501" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><filter id="a" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse" height="402" width="501" x="0" y="0"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="-20" dy="-5"/><feGaussianBlur stdDeviation="7.5"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/><feBlend in2="BackgroundImageFix" mode="normal" result="effect1_dropShadow"/><feBlend in="SourceGraphic" in2="effect1_dropShadow" mode="normal" result="shape"/></filter><g filter="url(#a)"><path d="m35 32c0-6.6274 5.3726-12 12-12h454v372h-466z" fill="#fff"/></g><path d="m20 32c0-6.6274 5.3726-12 12-12h469v372h-481z" fill="#fff"/><path clip-rule="evenodd" d="m51 45c0 2.7614-2.2386 5-5 5s-5-2.2386-5-5 2.2386-5 5-5 5 2.2386 5 5zm18 0c0 2.7614-2.2386 5-5 5s-5-2.2386-5-5 2.2386-5 5-5 5 2.2386 5 5zm13 5c2.7614 0 5-2.2386 5-5s-2.2386-5-5-5-5 2.2386-5 5 2.2386 5 5 5z" fill="#f0f0f1" fill-rule="evenodd"/></svg>
diff --git a/plugins/jetpack/images/recommendations/bug-icon.svg b/plugins/jetpack/images/recommendations/bug-icon.svg
new file mode 100644
index 00000000..4a004a6e
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/bug-icon.svg
@@ -0,0 +1,3 @@
+<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M18.1304 51L39.2732 4.1139L36.8696 3L33.5355 10.3937C31.7263 9.45042 29.6745 8.91798 27.5 8.91798C24.6947 8.91798 22.0935 9.80417 19.9541 11.3155L14.7877 6.07803L11.9845 8.91975L17.0754 14.0807C15.5819 16.0213 14.6041 18.3898 14.351 20.9744H9V24.9932H14.2857V29.012H9V33.0308H14.55C15.2131 36.342 17.0808 39.2097 19.6693 41.1432L15.7268 49.8861L18.1304 51ZM21.3692 37.3735C19.456 35.6555 18.25 33.1464 18.25 30.3516V22.314C18.25 17.1351 22.3914 12.9368 27.5 12.9368C29.0864 12.9368 30.5796 13.3417 31.8845 14.055L21.3692 37.3735ZM36.3682 19.639L38.5062 14.8977C39.6713 16.6712 40.4304 18.7422 40.649 20.9744H46V24.9932H40.7143V29.012H46V33.0308H40.45C39.2256 39.1454 33.893 43.7477 27.5 43.7477C26.8413 43.7477 26.1939 43.6988 25.5611 43.6045L27.3097 39.7269C27.373 39.7282 27.4364 39.7288 27.5 39.7288C32.6086 39.7288 36.75 35.5305 36.75 30.3516V22.314C36.75 21.3845 36.6166 20.4867 36.3682 19.639Z" fill="white"/>
+</svg>
diff --git a/plugins/jetpack/images/recommendations/cloud-icon.svg b/plugins/jetpack/images/recommendations/cloud-icon.svg
new file mode 100644
index 00000000..8fd82cd3
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/cloud-icon.svg
@@ -0,0 +1,8 @@
+<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <mask id="mask0_1894_50698" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="9" y="13" width="38" height="26">
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M40.4433 23.5954C40.4436 23.5601 40.4438 23.5247 40.4438 23.489C40.4438 17.819 35.4295 13.2224 29.2438 13.2224C24.0223 13.2224 19.6354 16.4978 18.3948 20.9294C18.2784 20.9247 18.1614 20.9223 18.0439 20.9223C13.2329 20.9223 9.33276 24.9443 9.33276 29.9056C9.33276 34.867 13.2329 38.889 18.0439 38.889L18.0957 38.8887H39.1572C39.171 38.889 39.1847 38.889 39.1985 38.889C43.3222 38.889 46.6652 35.4415 46.6652 31.189C46.6652 27.3737 43.9746 24.2065 40.4433 23.5954Z" fill="white"/>
+ </mask>
+ <g mask="url(#mask0_1894_50698)">
+ <path d="M40.4433 23.5954L36.9436 23.5566L36.9107 26.5361L39.8465 27.0443L40.4433 23.5954ZM18.3948 20.9294L18.2519 24.4265L21.0187 24.5397L21.7652 21.873L18.3948 20.9294ZM18.0439 38.889V42.389H18.0544L18.0439 38.889ZM18.0957 38.8887V35.3887H18.0852L18.0957 38.8887ZM39.1572 38.8887L39.177 35.3887H39.1572V38.8887ZM43.9431 23.6341C43.9436 23.586 43.9438 23.5375 43.9438 23.489H36.9438C36.9438 23.5116 36.9438 23.5342 36.9436 23.5566L43.9431 23.6341ZM43.9438 23.489C43.9438 15.6055 37.0696 9.72241 29.2438 9.72241V16.7224C33.7894 16.7224 36.9438 20.0324 36.9438 23.489H43.9438ZM29.2438 9.72241C22.5977 9.72241 16.726 13.9076 15.0243 19.9859L21.7652 21.873C22.5448 19.088 25.447 16.7224 29.2438 16.7224V9.72241ZM18.5376 17.4324C18.3736 17.4257 18.209 17.4223 18.0439 17.4223V24.4223C18.1137 24.4223 18.1831 24.4237 18.2519 24.4265L18.5376 17.4324ZM18.0439 17.4223C11.1991 17.4223 5.83276 23.1136 5.83276 29.9056H12.8328C12.8328 26.775 15.2666 24.4223 18.0439 24.4223V17.4223ZM5.83276 29.9056C5.83276 36.6977 11.1991 42.389 18.0439 42.389V35.389C15.2666 35.389 12.8328 33.0363 12.8328 29.9056H5.83276ZM18.0544 42.389L18.1062 42.3887L18.0852 35.3887L18.0334 35.389L18.0544 42.389ZM18.0957 42.3887H39.1572V35.3887H18.0957V42.3887ZM39.1985 35.389C39.191 35.389 39.184 35.3887 39.177 35.3887L39.1374 42.3887C39.1579 42.389 39.1784 42.389 39.1985 42.389V35.389ZM43.1652 31.189C43.1652 33.6107 41.2885 35.389 39.1985 35.389V42.389C45.3559 42.389 50.1652 37.2722 50.1652 31.189H43.1652ZM39.8465 27.0443C41.6522 27.3567 43.1652 29.0276 43.1652 31.189H50.1652C50.1652 25.7199 46.297 21.0564 41.0402 20.1467L39.8465 27.0443Z" fill="white"/>
+ </g>
+</svg>
diff --git a/plugins/jetpack/images/recommendations/creative-mail-illustration.svg b/plugins/jetpack/images/recommendations/creative-mail-illustration.svg
deleted file mode 100644
index 3e901c78..00000000
--- a/plugins/jetpack/images/recommendations/creative-mail-illustration.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="none" height="215" viewBox="0 0 327 215" width="327" xmlns="http://www.w3.org/2000/svg"><rect fill="#dcdcde" height="10" rx="5" width="76"/><g fill="#fff" stroke="#dcdcde" stroke-linejoin="round" stroke-width="4"><rect height="28" rx="3" width="322" x="2" y="40"/><rect height="28" rx="3" width="322" x="3" y="84"/><rect height="28" rx="3" width="322" x="2" y="128"/></g><rect fill="#64ca43" height="32" rx="2" width="80" y="183"/></svg> \ No newline at end of file
diff --git a/plugins/jetpack/images/recommendations/monitor-illustration.svg b/plugins/jetpack/images/recommendations/monitor-illustration.svg
deleted file mode 100644
index 12f6b6a4..00000000
--- a/plugins/jetpack/images/recommendations/monitor-illustration.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="none" height="171" viewBox="0 0 280 171" width="280" xmlns="http://www.w3.org/2000/svg"><g fill="#dcdcde"><rect height="10" rx="5" width="280" y="108"/><rect height="10" rx="5" width="280" y="126"/><rect height="10" rx="5" width="280" y="143"/><rect height="10" rx="5" width="120" x="80" y="161"/></g><path d="m140.5.583496c-15.418 0-27.917 12.498304-27.917 27.916704 0 15.4183 12.499 27.9166 27.917 27.9166s27.917-12.4983 27.917-27.9166c0-15.4184-12.499-27.916704-27.917-27.916704zm2.792 41.875004h-5.584v-5.5833h5.584zm0-11.1667h-5.584l-1.395-16.75h8.375z" fill="#787c82"/></svg> \ No newline at end of file
diff --git a/plugins/jetpack/images/recommendations/related-posts-illustration.jpg b/plugins/jetpack/images/recommendations/related-posts-illustration.jpg
deleted file mode 100644
index f67cbee9..00000000
--- a/plugins/jetpack/images/recommendations/related-posts-illustration.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/site-accelerator-illustration.svg b/plugins/jetpack/images/recommendations/site-accelerator-illustration.svg
deleted file mode 100644
index 1aa6ddb6..00000000
--- a/plugins/jetpack/images/recommendations/site-accelerator-illustration.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg fill="none" height="160" viewBox="0 0 233 160" width="233" xmlns="http://www.w3.org/2000/svg"><g fill="#dcdcde"><rect height="80" rx="5" width="69" y="80"/><rect height="120" rx="5" width="69" x="82" y="40"/><rect height="160" rx="5" width="69" x="164"/></g></svg> \ No newline at end of file
diff --git a/plugins/jetpack/images/recommendations/site-type-illustration.jpg b/plugins/jetpack/images/recommendations/site-type-illustration.jpg
deleted file mode 100644
index 5f116c5c..00000000
--- a/plugins/jetpack/images/recommendations/site-type-illustration.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/images/recommendations/video-icon.svg b/plugins/jetpack/images/recommendations/video-icon.svg
new file mode 100644
index 00000000..2e283eca
--- /dev/null
+++ b/plugins/jetpack/images/recommendations/video-icon.svg
@@ -0,0 +1,4 @@
+<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <rect x="6.66614" y="13.6667" width="28.6667" height="28.6667" rx="6" stroke="white" stroke-width="4"/>
+ <path d="M41.6661 24.4657L49.3328 19.8657V36.1343L41.6661 31.5343L41.6661 24.4657Z" stroke="white" stroke-width="4"/>
+</svg>
diff --git a/plugins/jetpack/images/recommendations/woocommerce-illustration.jpg b/plugins/jetpack/images/recommendations/woocommerce-illustration.jpg
deleted file mode 100644
index fc7b4c77..00000000
--- a/plugins/jetpack/images/recommendations/woocommerce-illustration.jpg
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/jest.config.js b/plugins/jetpack/jest.config.js
index 10b2da35..5414274b 100644
--- a/plugins/jetpack/jest.config.js
+++ b/plugins/jetpack/jest.config.js
@@ -6,12 +6,11 @@ const path = require( 'path' );
module.exports = {
testEnvironment: 'jsdom',
testMatch: [ '<rootDir>/**/test/*.[jt]s?(x)', '!**/.eslintrc.*' ],
- roots: [ '<rootDir>/extensions/', '<rootDir>/modules/search/instant-search' ],
+ roots: [ '<rootDir>/extensions/' ],
transform: {
'\\.[jt]sx?$': path.join( __dirname, 'tests', 'jest-extensions-babel-transform' ),
- '\\.(gif|jpg|jpeg|png|svg|scss|sass|css)$': path.join(
- __dirname,
- 'tests/jest-extensions-asset-stub'
+ '\\.(gif|jpg|jpeg|png|svg|scss|sass|css|ttf|woff|woff2)$': require.resolve(
+ 'jetpack-js-tools/jest/jest-extensions-asset-stub.js'
),
},
coverageDirectory: 'coverage/extensions',
@@ -22,8 +21,7 @@ module.exports = {
],
snapshotSerializers: [ 'enzyme-to-json/serializer' ],
testPathIgnorePatterns: [ 'node_modules', 'extensions/shared/test/block-fixtures.js' ],
- moduleNameMapper: {
- 'tiny-lru/lib/tiny-lru.esm$':
- '<rootDir>/modules/search/instant-search/lib/test-helpers/tiny-lru.mock.js',
- },
+ // Work around some packages that only provide module versions in jest's jsdom environment.
+ // https://github.com/microsoft/accessibility-insights-web/pull/5421#issuecomment-1109168149
+ resolver: require.resolve( 'jetpack-js-tools/jest/jest-resolver.js' ),
};
diff --git a/plugins/jetpack/jetpack.php b/plugins/jetpack/jetpack.php
index 995c0dd5..6e64cd3c 100644
--- a/plugins/jetpack/jetpack.php
+++ b/plugins/jetpack/jetpack.php
@@ -4,11 +4,11 @@
* Plugin URI: https://jetpack.com
* Description: Security, performance, and marketing tools made by WordPress experts. Jetpack keeps your site protected so you can focus on more important things.
* Author: Automattic
- * Version: 10.5
+ * Version: 11.0
* Author URI: https://jetpack.com
* License: GPL2+
* Text Domain: jetpack
- * Requires at least: 5.8
+ * Requires at least: 5.9
* Requires PHP: 5.6
*
* @package automattic/jetpack
@@ -30,9 +30,9 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-define( 'JETPACK__MINIMUM_WP_VERSION', '5.8' );
+define( 'JETPACK__MINIMUM_WP_VERSION', '5.9' );
define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' );
-define( 'JETPACK__VERSION', '10.5' );
+define( 'JETPACK__VERSION', '11.0' );
/**
* Constant used to fetch the connection owner token
@@ -58,7 +58,7 @@ defined( 'JETPACK_CLIENT__AUTH_LOCATION' ) || define( 'JETPACK_CLIENT__AUTH_LOCA
*/
defined( 'JETPACK_CLIENT__HTTPS' ) || define( 'JETPACK_CLIENT__HTTPS', 'AUTO' );
-defined( 'JETPACK__GLOTPRESS_LOCALES_PATH' ) || define( 'JETPACK__GLOTPRESS_LOCALES_PATH', JETPACK__PLUGIN_DIR . 'locales.php' );
+defined( 'JETPACK__GLOTPRESS_LOCALES_PATH' ) || define( 'JETPACK__GLOTPRESS_LOCALES_PATH', JETPACK__PLUGIN_DIR . 'jetpack_vendor/automattic/jetpack-compat/lib/locales.php' );
defined( 'JETPACK__API_BASE' ) || define( 'JETPACK__API_BASE', 'https://jetpack.wordpress.com/jetpack.' );
defined( 'JETPACK_PROTECT__API_HOST' ) || define( 'JETPACK_PROTECT__API_HOST', 'https://api.bruteprotect.com/' );
defined( 'JETPACK__WPCOM_JSON_API_BASE' ) || define( 'JETPACK__WPCOM_JSON_API_BASE', 'https://public-api.wordpress.com' );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md
index 15ab7fa5..a1251200 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.4.13] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.4.12] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
## [1.4.11] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -83,6 +91,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Creates the MC Stats package
+[1.4.13]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.12...v1.4.13
+[1.4.12]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.11...v1.4.12
[1.4.11]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.10...v1.4.11
[1.4.10]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.9...v1.4.10
[1.4.9]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.8...v1.4.9
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-abtest/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-abtest/CHANGELOG.md
index cdd96d24..b2b15668 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-abtest/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-abtest/CHANGELOG.md
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.10.0] - 2022-05-04
+### Changed
+- Updated package dependencies. [#24095]
+
+## [1.9.23] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.9.22] - 2022-04-19
+### Changed
+- Updated package dependencies.
+
+## [1.9.21] - 2022-03-02
+### Changed
+- Updated package dependencies.
+
+## [1.9.20] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
+## [1.9.19] - 2022-01-18
+### Changed
+- Updated package dependencies.
+
## [1.9.18] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -204,6 +228,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Packages: Introduce a simple A/B test package
+[1.10.0]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.23...v1.10.0
+[1.9.23]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.22...v1.9.23
+[1.9.22]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.21...v1.9.22
+[1.9.21]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.20...v1.9.21
+[1.9.20]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.19...v1.9.20
+[1.9.19]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.18...v1.9.19
[1.9.18]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.17...v1.9.18
[1.9.17]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.16...v1.9.17
[1.9.16]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.15...v1.9.16
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/.phpcs.dir.xml b/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/.phpcs.dir.xml
new file mode 100644
index 00000000..8ebbc7cd
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/.phpcs.dir.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<ruleset>
+
+ <rule ref="WordPress.WP.I18n">
+ <properties>
+ <property name="text_domain" type="array">
+ <element value="jetpack-admin-ui" />
+ </property>
+ </properties>
+ </rule>
+ <rule ref="Jetpack.Functions.I18n">
+ <properties>
+ <property name="text_domain" value="jetpack-admin-ui" />
+ </properties>
+ </rule>
+
+ <rule ref="WordPress.Utils.I18nTextDomainFixer">
+ <properties>
+ <property name="old_text_domain" type="array" />
+ <property name="new_text_domain" value="jetpack-admin-ui" />
+ </properties>
+ </rule>
+
+</ruleset>
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/CHANGELOG.md
index 6215e5c5..f527e27b 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/CHANGELOG.md
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [0.2.7] - 2022-04-26
+### Changed
+- Update package.json metadata.
+
+## [0.2.6] - 2022-04-05
+### Changed
+- Updated package dependencies.
+
+## [0.2.5] - 2022-03-08
+### Fixed
+- Do not handle Akismet submenu if Jetpack plugin is present
+
+## [0.2.4] - 2022-02-09
+### Added
+- Support for akismet menu with stand-alone plugins
+
+### Fixed
+- Fixes menu order working around a bug in add_submenu_page
+
+## [0.2.3] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
+## [0.2.2] - 2022-01-18
+### Changed
+- General: update required node version to v16.13.2
+
## [0.2.1] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -29,6 +56,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixing menu visibility issues.
+[0.2.7]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.6...0.2.7
+[0.2.6]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.5...0.2.6
+[0.2.5]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.4...0.2.5
+[0.2.4]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.3...0.2.4
+[0.2.3]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.2...0.2.3
+[0.2.2]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.1...0.2.2
[0.2.1]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/Automattic/jetpack-admin-ui/compare/0.1.1...0.2.0
[0.1.1]: https://github.com/Automattic/jetpack-admin-ui/compare/0.1.0...0.1.1
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php
index 140b40f6..fd54f4ab 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php
@@ -13,7 +13,7 @@ namespace Automattic\Jetpack\Admin_UI;
*/
class Admin_Menu {
- const PACKAGE_VERSION = '0.2.1';
+ const PACKAGE_VERSION = '0.2.7';
/**
* Whether this class has been initialized
@@ -37,11 +37,35 @@ class Admin_Menu {
public static function init() {
if ( ! self::$initialized ) {
self::$initialized = true;
+ self::handle_akismet_menu();
add_action( 'admin_menu', array( __CLASS__, 'admin_menu_hook_callback' ), 1000 ); // Jetpack uses 998.
}
}
/**
+ * Handles the Akismet menu item when used alongside other stand-alone plugins
+ *
+ * When Jetpack plugin is present, Akismet menu item is moved under the Jetpack top level menu, but if Akismet is active alongside other stand-alone plugins,
+ * we use this method to move the menu item.
+ */
+ private static function handle_akismet_menu() {
+ if ( ! class_exists( 'Jetpack' ) && class_exists( 'Akismet_Admin' ) ) {
+ // Prevent Akismet from adding a menu item.
+ add_action(
+ 'admin_menu',
+ function () {
+ remove_action( 'admin_menu', array( 'Akismet_Admin', 'admin_menu' ), 5 );
+ },
+ 4
+ );
+
+ // Add an Anti-spam menu item for Jetpack.
+ self::add_menu( __( 'Anti-Spam', 'jetpack-admin-ui' ), __( 'Anti-Spam', 'jetpack-admin-ui' ), 'manage_options', 'akismet-key-config', array( 'Akismet_Admin', 'display_page' ) );
+
+ }
+ }
+
+ /**
* Enqueue styles for the top level menu
*
* @return void
@@ -80,6 +104,22 @@ class Admin_Menu {
$can_see_toplevel_menu = false;
}
+ /**
+ * The add_sub_menu function has a bug and will not keep the right order of menu items.
+ *
+ * @see https://core.trac.wordpress.org/ticket/52035
+ * Let's order the items before registering them.
+ * Since this all happens after the Jetpack plugin menu items were added, all items will be added after Jetpack plugin items - unless position is very low number (smaller than the number of menu items present in Jetpack plugin).
+ */
+ usort(
+ self::$menu_items,
+ function ( $a, $b ) {
+ $position_a = empty( $a['position'] ) ? 0 : $a['position'];
+ $position_b = empty( $b['position'] ) ? 0 : $b['position'];
+ return $position_a - $position_b;
+ }
+ );
+
foreach ( self::$menu_items as $menu_item ) {
if ( ! current_user_can( $menu_item['capability'] ) ) {
continue;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md
index 422b57f5..5cd6b19c 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md
@@ -5,6 +5,74 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.17.14] - 2022-05-18
+### Changed
+- Updated package dependencies [#24372]
+
+## [1.17.13] - 2022-05-10
+### Changed
+- Updated package dependencies. [#24302]
+
+## [1.17.12] - 2022-05-04
+### Added
+- Add missing JavaScript dependencies, and fix a test. [#24096]
+
+## [1.17.11] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.17.10] - 2022-04-19
+### Fixed
+- Assets: Defer the enqueued script instead of its translations
+
+## [1.17.9] - 2022-04-05
+### Changed
+- Updated package dependencies.
+
+## [1.17.8] - 2022-03-29
+### Changed
+- Updated package dependencies.
+
+## [1.17.7] - 2022-03-23
+### Changed
+- Updated package dependencies.
+
+## [1.17.6] - 2022-03-02
+### Changed
+- Updated package dependencies.
+
+## [1.17.5] - 2022-02-16
+### Changed
+- Updated package dependencies.
+
+## [1.17.4] - 2022-02-09
+### Changed
+- Updated package dependencies.
+
+## [1.17.3] - 2022-02-02
+### Fixed
+- Fixed minor coding standard violation.
+
+## [1.17.2] - 2022-02-01
+### Changed
+- Build: remove unneeded files from production build.
+
+## [1.17.1] - 2022-01-27
+### Changed
+- Updated package dependencies.
+
+## [1.17.0] - 2022-01-25
+### Added
+- Accept package path prefixes from jetpack-composer-plugin and use them when lazy-loading JS translations.
+- Generate the `wp-jp-i18n-loader` module needed by the new i18n-loader-webpack-plugin.
+
+### Deprecated
+- Deprecated the `wp-jp-i18n-state` module.
+
+## [1.16.2] - 2022-01-18
+### Fixed
+- Handle the case where `WP_LANG_DIR` is in `WP_CONTENT_DIR`, but `WP_CONTENT_DIR` is not in `ABSPATH`.
+
## [1.16.1] - 2022-01-05
### Fixed
- Don't issue a "doing it wrong" warning for registering aliases during plugin activation.
@@ -166,6 +234,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Statically access asset tools
+[1.17.14]: https://github.com/Automattic/jetpack-assets/compare/v1.17.13...v1.17.14
+[1.17.13]: https://github.com/Automattic/jetpack-assets/compare/v1.17.12...v1.17.13
+[1.17.12]: https://github.com/Automattic/jetpack-assets/compare/v1.17.11...v1.17.12
+[1.17.11]: https://github.com/Automattic/jetpack-assets/compare/v1.17.10...v1.17.11
+[1.17.10]: https://github.com/Automattic/jetpack-assets/compare/v1.17.9...v1.17.10
+[1.17.9]: https://github.com/Automattic/jetpack-assets/compare/v1.17.8...v1.17.9
+[1.17.8]: https://github.com/Automattic/jetpack-assets/compare/v1.17.7...v1.17.8
+[1.17.7]: https://github.com/Automattic/jetpack-assets/compare/v1.17.6...v1.17.7
+[1.17.6]: https://github.com/Automattic/jetpack-assets/compare/v1.17.5...v1.17.6
+[1.17.5]: https://github.com/Automattic/jetpack-assets/compare/v1.17.4...v1.17.5
+[1.17.4]: https://github.com/Automattic/jetpack-assets/compare/v1.17.3...v1.17.4
+[1.17.3]: https://github.com/Automattic/jetpack-assets/compare/v1.17.2...v1.17.3
+[1.17.2]: https://github.com/Automattic/jetpack-assets/compare/v1.17.1...v1.17.2
+[1.17.1]: https://github.com/Automattic/jetpack-assets/compare/v1.17.0...v1.17.1
+[1.17.0]: https://github.com/Automattic/jetpack-assets/compare/v1.16.2...v1.17.0
+[1.16.2]: https://github.com/Automattic/jetpack-assets/compare/v1.16.1...v1.16.2
[1.16.1]: https://github.com/Automattic/jetpack-assets/compare/v1.16.0...v1.16.1
[1.16.0]: https://github.com/Automattic/jetpack-assets/compare/v1.15.0...v1.16.0
[1.15.0]: https://github.com/Automattic/jetpack-assets/compare/v1.14.0...v1.15.0
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.asset.php
new file mode 100644
index 00000000..d7ded791
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array('wp-i18n'), 'version' => 'a138d7ec784aee87c81071575eb6b11a'); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.js
new file mode 100644
index 00000000..49f5cd3f
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.js
@@ -0,0 +1 @@
+!function(){var e={356:function(e){e.exports=function(e){function n(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};return n.m=e,n.c=r,n.i=function(e){return e},n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=1)}([function(e,n,r){"use strict";function t(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,n){for(var r=0;r<n.length;r++){var t=n[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}return function(n,r,t){return r&&e(n.prototype,r),t&&e(n,t),n}}(),a=function(){function e(){t(this,e)}return o(e,null,[{key:"hash",value:function(n){return e.hex(e.md51(n))}},{key:"md5cycle",value:function(n,r){var t=n[0],o=n[1],a=n[2],i=n[3];t=e.ff(t,o,a,i,r[0],7,-680876936),i=e.ff(i,t,o,a,r[1],12,-389564586),a=e.ff(a,i,t,o,r[2],17,606105819),o=e.ff(o,a,i,t,r[3],22,-1044525330),t=e.ff(t,o,a,i,r[4],7,-176418897),i=e.ff(i,t,o,a,r[5],12,1200080426),a=e.ff(a,i,t,o,r[6],17,-1473231341),o=e.ff(o,a,i,t,r[7],22,-45705983),t=e.ff(t,o,a,i,r[8],7,1770035416),i=e.ff(i,t,o,a,r[9],12,-1958414417),a=e.ff(a,i,t,o,r[10],17,-42063),o=e.ff(o,a,i,t,r[11],22,-1990404162),t=e.ff(t,o,a,i,r[12],7,1804603682),i=e.ff(i,t,o,a,r[13],12,-40341101),a=e.ff(a,i,t,o,r[14],17,-1502002290),o=e.ff(o,a,i,t,r[15],22,1236535329),t=e.gg(t,o,a,i,r[1],5,-165796510),i=e.gg(i,t,o,a,r[6],9,-1069501632),a=e.gg(a,i,t,o,r[11],14,643717713),o=e.gg(o,a,i,t,r[0],20,-373897302),t=e.gg(t,o,a,i,r[5],5,-701558691),i=e.gg(i,t,o,a,r[10],9,38016083),a=e.gg(a,i,t,o,r[15],14,-660478335),o=e.gg(o,a,i,t,r[4],20,-405537848),t=e.gg(t,o,a,i,r[9],5,568446438),i=e.gg(i,t,o,a,r[14],9,-1019803690),a=e.gg(a,i,t,o,r[3],14,-187363961),o=e.gg(o,a,i,t,r[8],20,1163531501),t=e.gg(t,o,a,i,r[13],5,-1444681467),i=e.gg(i,t,o,a,r[2],9,-51403784),a=e.gg(a,i,t,o,r[7],14,1735328473),o=e.gg(o,a,i,t,r[12],20,-1926607734),t=e.hh(t,o,a,i,r[5],4,-378558),i=e.hh(i,t,o,a,r[8],11,-2022574463),a=e.hh(a,i,t,o,r[11],16,1839030562),o=e.hh(o,a,i,t,r[14],23,-35309556),t=e.hh(t,o,a,i,r[1],4,-1530992060),i=e.hh(i,t,o,a,r[4],11,1272893353),a=e.hh(a,i,t,o,r[7],16,-155497632),o=e.hh(o,a,i,t,r[10],23,-1094730640),t=e.hh(t,o,a,i,r[13],4,681279174),i=e.hh(i,t,o,a,r[0],11,-358537222),a=e.hh(a,i,t,o,r[3],16,-722521979),o=e.hh(o,a,i,t,r[6],23,76029189),t=e.hh(t,o,a,i,r[9],4,-640364487),i=e.hh(i,t,o,a,r[12],11,-421815835),a=e.hh(a,i,t,o,r[15],16,530742520),o=e.hh(o,a,i,t,r[2],23,-995338651),t=e.ii(t,o,a,i,r[0],6,-198630844),i=e.ii(i,t,o,a,r[7],10,1126891415),a=e.ii(a,i,t,o,r[14],15,-1416354905),o=e.ii(o,a,i,t,r[5],21,-57434055),t=e.ii(t,o,a,i,r[12],6,1700485571),i=e.ii(i,t,o,a,r[3],10,-1894986606),a=e.ii(a,i,t,o,r[10],15,-1051523),o=e.ii(o,a,i,t,r[1],21,-2054922799),t=e.ii(t,o,a,i,r[8],6,1873313359),i=e.ii(i,t,o,a,r[15],10,-30611744),a=e.ii(a,i,t,o,r[6],15,-1560198380),o=e.ii(o,a,i,t,r[13],21,1309151649),t=e.ii(t,o,a,i,r[4],6,-145523070),i=e.ii(i,t,o,a,r[11],10,-1120210379),a=e.ii(a,i,t,o,r[2],15,718787259),o=e.ii(o,a,i,t,r[9],21,-343485551),n[0]=t+n[0]&4294967295,n[1]=o+n[1]&4294967295,n[2]=a+n[2]&4294967295,n[3]=i+n[3]&4294967295}},{key:"cmn",value:function(e,n,r,t,o,a){return((n=(n+e&4294967295)+(t+a&4294967295)&4294967295)<<o|n>>>32-o)+r&4294967295}},{key:"ff",value:function(n,r,t,o,a,i,f){return e.cmn(r&t|~r&o,n,r,a,i,f)}},{key:"gg",value:function(n,r,t,o,a,i,f){return e.cmn(r&o|t&~o,n,r,a,i,f)}},{key:"hh",value:function(n,r,t,o,a,i,f){return e.cmn(r^t^o,n,r,a,i,f)}},{key:"ii",value:function(n,r,t,o,a,i,f){return e.cmn(t^(r|~o),n,r,a,i,f)}},{key:"md51",value:function(n){for(var r=n.length,t=[1732584193,-271733879,-1732584194,271733878],o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],a=0,i=64;i<=r;i+=64)e.md5cycle(t,e.md5blk(n.substring(i-64,i)));for(n=n.substring(i-64),i=0,a=n.length;i<a;i++)o[i>>2]|=n.charCodeAt(i)<<(i%4<<3);if(o[i>>2]|=128<<(i%4<<3),i>55)for(e.md5cycle(t,o),i=0;i<16;i++)o[i]=0;return o[14]=8*r,e.md5cycle(t,o),t}},{key:"md5blk",value:function(e){for(var n=[],r=0;r<64;r+=4)n[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return n}},{key:"rhex",value:function(n){var r="";return r+=e.hexArray[n>>4&15]+e.hexArray[n>>0&15],r+=e.hexArray[n>>12&15]+e.hexArray[n>>8&15],(r+=e.hexArray[n>>20&15]+e.hexArray[n>>16&15])+(e.hexArray[n>>28&15]+e.hexArray[n>>24&15])}},{key:"hex",value:function(n){for(var r=n.length,t=0;t<r;t++)n[t]=e.rhex(n[t]);return n.join("")}}]),e}();a.hexArray=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n.default=a},function(e,n,r){e.exports=r(0)}])},618:function(e,n,r){const{default:t}=r(356),o=r(736),a={plugin:"plugins/",theme:"themes/",core:""},i=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);e.exports={state:{baseUrl:null,locale:null,domainMap:{},domainPaths:{}},async downloadI18n(e,n,r){const f=this.state;if(!f||"string"!=typeof f.baseUrl)throw new Error("wp.jpI18nLoader.state is not set");if("en_US"===f.locale)return;if("undefined"==typeof fetch)throw new Error("Fetch API is not available.");const u=i(f.domainPaths,n)?f.domainPaths[n]:"";let c,h;const l=e.indexOf("?");l>=0?(c=t.hash(u+e.substring(0,l)),h=e.substring(l)):(c=t.hash(u+e),h="");const s=i(f.domainMap,n)?f.domainMap[n]:a[r]+n,g=await fetch(`${f.baseUrl}${s}-${f.locale}-${c}.json${h}`);if(!g.ok)throw new Error(`HTTP request failed: ${g.status} ${g.statusText}`);const d=await g.json(),p=i(d.locale_data,n)?d.locale_data[n]:d.locale_data.messages;p[""].domain=n,o.setLocaleData(p,n)}}},736:function(e){"use strict";e.exports=window.wp.i18n}},n={};var r=function r(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}};return e[t].call(a.exports,a,a.exports,r),a.exports}(618);(window.wp=window.wp||{}).jpI18nLoader=r}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/package.json b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/package.json
new file mode 100644
index 00000000..4e641fa5
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/package.json
@@ -0,0 +1,22 @@
+{
+ "private": true,
+ "browserslist": "extends @wordpress/browserslist-config",
+ "scripts": {
+ "build": "pnpm run clean && pnpm run build-js",
+ "build-js": "webpack",
+ "build-production": "pnpm run clean && pnpm run build-production-js && pnpm run validate",
+ "build-production-js": "NODE_ENV=production BABEL_ENV=production pnpm run build-js",
+ "clean": "rm -rf build",
+ "test": "jest tests",
+ "test-coverage": "jest tests --coverage --collectCoverageFrom='src/**/*.js' --coverageDirectory=\"$COVERAGE_DIR/js\" --coverageReporters=clover",
+ "validate": "pnpm exec validate-es build/"
+ },
+ "devDependencies": {
+ "@automattic/jetpack-webpack-config": "^1.3",
+ "@wordpress/browserslist-config": "4.1.2",
+ "md5-es": "1.8.2",
+ "jest": "28.1.0",
+ "webpack": "5.72.1",
+ "webpack-cli": "4.9.1"
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php
index dd130a7b..c4d7ee1f 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php
@@ -32,7 +32,7 @@ class Assets {
/**
* The registered textdomain mappings.
*
- * @var array `array( mapped_domain => array( string target_domain, string target_type, string semver ) )`.
+ * @var array `array( mapped_domain => array( string target_domain, string target_type, string semver, string path_prefix ) )`.
*/
private static $domain_map = array();
@@ -92,7 +92,8 @@ class Assets {
}
if ( in_array( $handle, $this->defer_script_handles, true ) ) {
- return preg_replace( '/^<script /i', '<script defer ', $tag );
+ // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript
+ return preg_replace( '/<script( [^>]*)? src=/i', '<script defer$1 src=', $tag );
}
return $tag;
@@ -358,7 +359,7 @@ class Assets {
}
if ( $options['asset_path'] && file_exists( "$dir/{$options['asset_path']}" ) ) {
- $asset = require "$dir/{$options['asset_path']}";
+ $asset = require "$dir/{$options['asset_path']}"; // phpcs:ignore WordPressVIPMinimum.Files.IncludingFile.NotAbsolutePath
$options['dependencies'] = array_merge( $asset['dependencies'], $options['dependencies'] );
$options['css_dependencies'] = array_merge(
array_filter(
@@ -430,7 +431,7 @@ class Assets {
/**
* 'wp_default_scripts' action handler.
*
- * This registers the `wp-jp-i18n-state` script for use by Webpack bundles built with
+ * This registers the `wp-jp-i18n-loader` script for use by Webpack bundles built with
* `@automattic/i18n-loader-webpack-plugin`.
*
* @since 1.14.0
@@ -438,20 +439,27 @@ class Assets {
*/
public static function wp_default_scripts_hook( $wp_scripts ) {
$data = array(
- 'baseUrl' => false,
- 'locale' => determine_locale(),
- 'domainMap' => array(),
+ 'baseUrl' => false,
+ 'locale' => determine_locale(),
+ 'domainMap' => array(),
+ 'domainPaths' => array(),
);
- $lang_dir = Jetpack_Constants::get_constant( 'WP_LANG_DIR' );
- $abspath = Jetpack_Constants::get_constant( 'ABSPATH' );
+ $lang_dir = Jetpack_Constants::get_constant( 'WP_LANG_DIR' );
+ $content_dir = Jetpack_Constants::get_constant( 'WP_CONTENT_DIR' );
+ $abspath = Jetpack_Constants::get_constant( 'ABSPATH' );
- if ( strpos( $lang_dir, $abspath ) === 0 ) {
+ if ( strpos( $lang_dir, $content_dir ) === 0 ) {
+ $data['baseUrl'] = content_url( substr( trailingslashit( $lang_dir ), strlen( trailingslashit( $content_dir ) ) ) );
+ } elseif ( strpos( $lang_dir, $abspath ) === 0 ) {
$data['baseUrl'] = site_url( substr( trailingslashit( $lang_dir ), strlen( untrailingslashit( $abspath ) ) ) );
}
- foreach ( self::$domain_map as $from => list( $to, $type ) ) {
+ foreach ( self::$domain_map as $from => list( $to, $type, , $path ) ) {
$data['domainMap'][ $from ] = ( 'core' === $type ? '' : "{$type}/" ) . $to;
+ if ( '' !== $path ) {
+ $data['domainPaths'][ $from ] = trailingslashit( $path );
+ }
}
/**
@@ -465,25 +473,44 @@ class Assets {
* - `locale`: (string) The locale for the page.
* - `domainMap`: (string[]) A mapping from Composer package textdomains to the corresponding
* `plugins/textdomain` or `themes/textdomain` (or core `textdomain`, but that's unlikely).
+ * - `domainPaths`: (string[]) A mapping from Composer package textdomains to the corresponding package
+ * paths.
*/
$data = apply_filters( 'jetpack_i18n_state', $data );
+ // Can't use self::register_script(), this action is called too early.
+ if ( file_exists( __DIR__ . '/../build/i18n-loader.asset.php' ) ) {
+ $path = '../build/i18n-loader.js';
+ $asset = require __DIR__ . '/../build/i18n-loader.asset.php';
+ } else {
+ $path = 'js/i18n-loader.js';
+ $asset = array(
+ 'dependencies' => array( 'wp-i18n' ),
+ 'version' => filemtime( __DIR__ . "/$path" ),
+ );
+ }
+ $url = self::normalize_path( plugins_url( $path, __FILE__ ) );
+ $url = add_query_arg( 'minify', 'true', $url );
+ $wp_scripts->add( 'wp-jp-i18n-loader', $url, $asset['dependencies'], $asset['version'] );
if ( ! is_array( $data ) ||
! isset( $data['baseUrl'] ) || ! ( is_string( $data['baseUrl'] ) || false === $data['baseUrl'] ) ||
! isset( $data['locale'] ) || ! is_string( $data['locale'] ) ||
- ! isset( $data['domainMap'] ) || ! is_array( $data['domainMap'] )
+ ! isset( $data['domainMap'] ) || ! is_array( $data['domainMap'] ) ||
+ ! isset( $data['domainPaths'] ) || ! is_array( $data['domainPaths'] )
) {
- $js = 'console.warn( "I18n state deleted by jetpack_i18n_state hook" );';
+ $wp_scripts->add_inline_script( 'wp-jp-i18n-loader', 'console.warn( "I18n state deleted by jetpack_i18n_state hook" );' );
} elseif ( ! $data['baseUrl'] ) {
- $js = 'console.warn( "Failed to determine languages base URL. Is WP_LANG_DIR in the WordPress root?" );';
+ $wp_scripts->add_inline_script( 'wp-jp-i18n-loader', 'console.warn( "Failed to determine languages base URL. Is WP_LANG_DIR in the WordPress root?" );' );
} else {
- $data['domainMap'] = (object) $data['domainMap']; // Ensure it becomes a json object.
- $js = 'wp.jpI18nState = ' . wp_json_encode( $data, JSON_UNESCAPED_SLASHES ) . ';';
+ $data['domainMap'] = (object) $data['domainMap']; // Ensure it becomes a json object.
+ $data['domainPaths'] = (object) $data['domainPaths']; // Ensure it becomes a json object.
+ $wp_scripts->add_inline_script( 'wp-jp-i18n-loader', 'wp.jpI18nLoader.state = ' . wp_json_encode( $data, JSON_UNESCAPED_SLASHES ) . ';' );
}
- // Depend on wp-i18n to ensure global `wp` exists and because anything needing this will need that too.
- $wp_scripts->add( 'wp-jp-i18n-state', null, array( 'wp-i18n' ) );
- $wp_scripts->add_inline_script( 'wp-jp-i18n-state', $js, 'before' );
+ // Deprecated state module: Depend on wp-i18n to ensure global `wp` exists and because anything needing this will need that too.
+ $wp_scripts->add( 'wp-jp-i18n-state', null, array( 'wp-deprecated', 'wp-jp-i18n-loader' ) );
+ $wp_scripts->add_inline_script( 'wp-jp-i18n-state', 'wp.deprecated( "wp-jp-i18n-state", { alternative: "wp-jp-i18n-loader" } );' );
+ $wp_scripts->add_inline_script( 'wp-jp-i18n-state', 'wp.jpI18nState = wp.jpI18nLoader.state;' );
}
// endregion .
@@ -507,9 +534,10 @@ class Assets {
* @param string $to Domain to alias it to.
* @param string $totype What is the target of the alias: 'plugins', 'themes', or 'core'.
* @param string $ver Version of the `$from` domain.
+ * @param string $path Path to prepend when lazy-loading from JavaScript.
* @throws InvalidArgumentException If arguments are invalid.
*/
- public static function alias_textdomain( $from, $to, $totype, $ver ) {
+ public static function alias_textdomain( $from, $to, $totype, $ver, $path = '' ) {
if ( ! in_array( $totype, array( 'plugins', 'themes', 'core' ), true ) ) {
throw new InvalidArgumentException( 'Type must be "plugins", "themes", or "core"' );
}
@@ -533,9 +561,9 @@ class Assets {
if ( empty( self::$domain_map[ $from ] ) ) {
self::init_domain_map_hooks( $from, array() === self::$domain_map );
- self::$domain_map[ $from ] = array( $to, $totype, $ver );
+ self::$domain_map[ $from ] = array( $to, $totype, $ver, $path );
} elseif ( Semver::compare( $ver, self::$domain_map[ $from ][2] ) > 0 ) {
- self::$domain_map[ $from ] = array( $to, $totype, $ver );
+ self::$domain_map[ $from ] = array( $to, $totype, $ver, $path );
}
}
@@ -546,15 +574,21 @@ class Assets {
* with the following properties:
* - 'domain': String, `$to`
* - 'type': String, `$totype`
- * - 'packages': Array, mapping `$from` to `$ver`.
+ * - 'packages': Array, mapping `$from` to `array( 'path' => $path, 'ver' => $ver )` (or to the string `$ver` for back compat).
*
* @since 1.15.0
* @param string $file Mapping file.
*/
public static function alias_textdomains_from_file( $file ) {
$data = require $file;
- foreach ( $data['packages'] as $from => $ver ) {
- self::alias_textdomain( $from, $data['domain'], $data['type'], $ver );
+ foreach ( $data['packages'] as $from => $fromdata ) {
+ if ( ! is_array( $fromdata ) ) {
+ $fromdata = array(
+ 'path' => '',
+ 'ver' => $fromdata,
+ );
+ }
+ self::alias_textdomain( $from, $data['domain'], $data['type'], $fromdata['ver'], $fromdata['path'] );
}
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/js/i18n-loader.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/js/i18n-loader.js
new file mode 100644
index 00000000..6887aa85
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/js/i18n-loader.js
@@ -0,0 +1,76 @@
+const { default: md5 } = require( 'md5-es' );
+const i18n = require( '@wordpress/i18n' );
+
+const locationMap = {
+ plugin: 'plugins/',
+ theme: 'themes/',
+ core: '',
+};
+
+const hasOwn = ( obj, prop ) => Object.prototype.hasOwnProperty.call( obj, prop );
+
+module.exports = {
+ state: {
+ baseUrl: null,
+ locale: null,
+ domainMap: {},
+ domainPaths: {},
+ },
+
+ /**
+ * Download and register translations for a bundle.
+ *
+ * @param {string} path - Bundle path being fetched. May have a query part.
+ * @param {string} domain - Text domain to register into.
+ * @param {string} location - Location for the translation: 'plugin', 'theme', or 'core'.
+ * @returns {Promise} Resolved when the translations are registered, or rejected with an `Error`.
+ */
+ async downloadI18n( path, domain, location ) {
+ const state = this.state;
+ if ( ! state || typeof state.baseUrl !== 'string' ) {
+ throw new Error( 'wp.jpI18nLoader.state is not set' );
+ }
+
+ // "en_US" is the default, no translations are needed.
+ if ( state.locale === 'en_US' ) {
+ return;
+ }
+
+ // Check that fetch is available.
+ if ( typeof fetch === 'undefined' ) {
+ throw new Error( 'Fetch API is not available.' );
+ }
+
+ // Extract any query part and hash the script name like WordPress does.
+ const pathPrefix = hasOwn( state.domainPaths, domain ) ? state.domainPaths[ domain ] : '';
+ let hash, query;
+ const i = path.indexOf( '?' );
+ if ( i >= 0 ) {
+ hash = md5.hash( pathPrefix + path.substring( 0, i ) );
+ query = path.substring( i );
+ } else {
+ hash = md5.hash( pathPrefix + path );
+ query = '';
+ }
+
+ // Download.
+ const locationAndDomain = hasOwn( state.domainMap, domain )
+ ? state.domainMap[ domain ]
+ : locationMap[ location ] + domain;
+ const res = await fetch(
+ // prettier-ignore
+ `${ state.baseUrl }${ locationAndDomain }-${ state.locale }-${ hash }.json${ query }`
+ );
+ if ( ! res.ok ) {
+ throw new Error( `HTTP request failed: ${ res.status } ${ res.statusText }` );
+ }
+ const data = await res.json();
+
+ // Extract the messages from the file and register them.
+ const localeData = hasOwn( data.locale_data, domain )
+ ? data.locale_data[ domain ]
+ : data.locale_data.messages;
+ localeData[ '' ].domain = domain;
+ i18n.setLocaleData( localeData, domain );
+ },
+};
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/.babelrc b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/.babelrc
new file mode 100644
index 00000000..9e9ed77c
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/.babelrc
@@ -0,0 +1,12 @@
+{
+ "presets": [
+ [
+ "@babel/preset-env",
+ {
+ "targets": {
+ "node": "current"
+ }
+ }
+ ]
+ ]
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/CHANGELOG.md
index 571fa485..ba6b9b09 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/CHANGELOG.md
@@ -5,6 +5,67 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.3.7] - 2022-05-31
+### Changed
+- Updated package dependencies. [#24432] [#24573] [#24475] [#24505] [#24515]
+
+## [1.3.6] - 2022-05-24
+### Changed
+- Updated package dependencies. [#24396] [#24449] [#24453] [#24468]
+
+## [1.3.5] - 2022-05-20
+### Changed
+- Improve the build process to ensure availability of built assets. [#24442]
+
+## [1.3.4] - 2022-05-19
+### Changed
+- Updated package dependencies. [#24419]
+
+## [1.3.3] - 2022-05-18
+### Changed
+- Changed method used to disconnect upon deactivation [#24300]
+- Updated package dependencies. [#23795] [#24372] [#24153] [#24334] [#24347] [#24344]
+
+### Fixed
+- Fix new PHPCS sniffs. [#24366]
+
+## [1.3.2] - 2022-05-10
+### Changed
+- Updated package dependencies. [#24167]
+
+## [1.3.1] - 2022-05-04
+### Changed
+- Remove use of `pnpx` in preparation for pnpm 7.0. [#24210]
+- Updated package dependencies. [#24095] [#24198]
+
+## [1.3.0] - 2022-04-26
+### Changed
+- Backup plugin UI now lives in the Backup package
+
+## [1.2.6] - 2022-04-19
+### Changed
+- Updated package dependencies.
+
+## [1.2.5] - 2022-03-02
+### Changed
+- Updated package dependencies.
+
+## [1.2.4] - 2022-02-22
+### Changed
+- Updated package dependencies.
+
+## [1.2.3] - 2022-01-25
+### Changed
+- Dependency Update - Sync from 1.29 to 1.29
+
+## [1.2.2] - 2022-01-18
+### Changed
+- Updated package dependencies.
+
+## [1.2.1] - 2022-01-13
+### Changed
+- Updated package dependencies.
+
## [1.2.0] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -94,6 +155,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add API endpoints and Jetpack Backup package for managing Help…
+[1.3.7]: https://github.com/Automattic/jetpack-backup/compare/v1.3.6...v1.3.7
+[1.3.6]: https://github.com/Automattic/jetpack-backup/compare/v1.3.5...v1.3.6
+[1.3.5]: https://github.com/Automattic/jetpack-backup/compare/v1.3.4...v1.3.5
+[1.3.4]: https://github.com/Automattic/jetpack-backup/compare/v1.3.3...v1.3.4
+[1.3.3]: https://github.com/Automattic/jetpack-backup/compare/v1.3.2...v1.3.3
+[1.3.2]: https://github.com/Automattic/jetpack-backup/compare/v1.3.1...v1.3.2
+[1.3.1]: https://github.com/Automattic/jetpack-backup/compare/v1.3.0...v1.3.1
+[1.3.0]: https://github.com/Automattic/jetpack-backup/compare/v1.2.6...v1.3.0
+[1.2.6]: https://github.com/Automattic/jetpack-backup/compare/v1.2.5...v1.2.6
+[1.2.5]: https://github.com/Automattic/jetpack-backup/compare/v1.2.4...v1.2.5
+[1.2.4]: https://github.com/Automattic/jetpack-backup/compare/v1.2.3...v1.2.4
+[1.2.3]: https://github.com/Automattic/jetpack-backup/compare/v1.2.2...v1.2.3
+[1.2.2]: https://github.com/Automattic/jetpack-backup/compare/v1.2.1...v1.2.2
+[1.2.1]: https://github.com/Automattic/jetpack-backup/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/Automattic/jetpack-backup/compare/v1.1.11...v1.2.0
[1.1.11]: https://github.com/Automattic/jetpack-backup/compare/v1.1.10...v1.1.11
[1.1.10]: https://github.com/Automattic/jetpack-backup/compare/v1.1.9...v1.1.10
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/actions.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/actions.php
index b9ae6aa5..4790b4e3 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/actions.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/actions.php
@@ -19,7 +19,7 @@ if ( function_exists( 'add_filter' ) ) {
'function' => $cb,
);
};
- $add_action = $add_filter;
+ $add_action = $add_filter;
}
// Clean up expired Helper Scripts from a scheduled event.
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/babel.config.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/babel.config.js
new file mode 100644
index 00000000..ab2f5bee
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/babel.config.js
@@ -0,0 +1,10 @@
+const config = {
+ presets: [
+ [
+ '@automattic/jetpack-webpack-config/babel/preset',
+ { pluginReplaceTextdomain: { textdomain: 'jetpack-backup-pkg' } },
+ ],
+ ],
+};
+
+module.exports = config;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-1-8d65f9365c217c43eb01.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-1-8d65f9365c217c43eb01.svg
new file mode 100644
index 00000000..08c42d96
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-1-8d65f9365c217c43eb01.svg
@@ -0,0 +1,33 @@
+<svg
+ class="backup__animation-el-1"
+ width="176"
+ height="212"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+>
+ <g filter="url(#filter1_d)">
+ <rect x="40" y="40" width="96" height="132" rx="3" fill="#98C6D9"></rect>
+ </g>
+ <defs>
+ <filter
+ id="filter1_d"
+ x="0"
+ y="0"
+ width="176"
+ height="212"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB"
+ >
+ <feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
+ <feColorMatrix
+ in="SourceAlpha"
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
+ ></feColorMatrix>
+ <feOffset></feOffset>
+ <feGaussianBlur stdDeviation="20"></feGaussianBlur>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"></feColorMatrix>
+ <feBlend in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend>
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow" result="shape"></feBlend>
+ </filter>
+ </defs>
+</svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-2-4d8da04fb34b29957030.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-2-4d8da04fb34b29957030.svg
new file mode 100644
index 00000000..414816b6
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-2-4d8da04fb34b29957030.svg
@@ -0,0 +1,33 @@
+<svg
+ class="backup__animation-el-2"
+ width="248"
+ height="200"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+>
+ <g filter="url(#filter2_d)">
+ <rect x="40" y="40" width="168" height="120" rx="3" fill="#F2D76B"></rect>
+ </g>
+ <defs>
+ <filter
+ id="filter2_d"
+ x="0"
+ y="0"
+ width="248"
+ height="200"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB"
+ >
+ <feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
+ <feColorMatrix
+ in="SourceAlpha"
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
+ ></feColorMatrix>
+ <feOffset></feOffset>
+ <feGaussianBlur stdDeviation="20"></feGaussianBlur>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"></feColorMatrix>
+ <feBlend in2="BackgroundImageFix" result="effect2_dropShadow"></feBlend>
+ <feBlend in="SourceGraphic" in2="effect2_dropShadow" result="shape"></feBlend>
+ </filter>
+ </defs>
+</svg>
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-3-1c6df0c7bc8546e712d8.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-3-1c6df0c7bc8546e712d8.svg
new file mode 100644
index 00000000..eb3ff3a2
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/backup-animation-3-1c6df0c7bc8546e712d8.svg
@@ -0,0 +1,42 @@
+<svg
+ class="backup__animation-el-3"
+ width="536"
+ height="196"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+>
+ <g filter="url(#filter3_d)">
+ <rect x="40" y="40" width="456" height="116" rx="8" fill="#fff"></rect>
+ </g>
+ <path
+ d="M475.35 62.04A7.49 7.49 0 00468 56c-2.89 0-5.4 1.64-6.65 4.04A5.994 5.994 0 00456 66c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z"
+ fill="#E9EFF5"
+ ></path>
+ <circle cx="100" cy="98" r="36" fill="#F7A8C3"></circle>
+ <path
+ d="M160 84a6 6 0 016-6h174a6 6 0 110 12H166a6 6 0 01-6-6zM160 112a6 6 0 016-6h276a6 6 0 110 12H166a6 6 0 01-6-6z"
+ fill="#E9EFF5"
+ ></path>
+ <defs>
+ <filter
+ id="filter3_d"
+ x="0"
+ y="0"
+ width="536"
+ height="196"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB"
+ >
+ <feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
+ <feColorMatrix
+ in="SourceAlpha"
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
+ ></feColorMatrix>
+ <feOffset></feOffset>
+ <feGaussianBlur stdDeviation="20"></feGaussianBlur>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"></feColorMatrix>
+ <feBlend in2="BackgroundImageFix" result="effect3_dropShadow"></feBlend>
+ <feBlend in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>
+ </filter>
+ </defs>
+</svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/cloud-35473ae2758e9f3e353d.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/cloud-35473ae2758e9f3e353d.svg
new file mode 100644
index 00000000..ca7a6171
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/cloud-35473ae2758e9f3e353d.svg
@@ -0,0 +1 @@
+<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" maskUnits="userSpaceOnUse" x="0" y="5" width="32" height="22"><path fill-rule="evenodd" clip-rule="evenodd" d="M16 5.333c4.853 0 8.893 3.453 9.8 8.053 3.467.24 6.2 3.094 6.2 6.614a6.67 6.67 0 01-6.667 6.666H8c-4.413 0-8-3.586-8-8 0-4.12 3.12-7.52 7.133-7.946A9.994 9.994 0 0116 5.333zM8.667 18l4.666 4.666 8.787-8.786L20.24 12l-6.907 6.906-2.786-2.786L8.667 18z" fill="#fff"></path></mask><g mask="url(#a)"><path fill="#069E08" d="M0 0h32v32H0z"></path></g></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/cloud-alert-cf8336f3384ee5b98a9e.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/cloud-alert-cf8336f3384ee5b98a9e.svg
new file mode 100644
index 00000000..9440bdd0
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/cloud-alert-cf8336f3384ee5b98a9e.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="32" height="32" viewBox="0 0 24 24"><path fill="#d63639" d="M19 20H6C2.7 20 0 17.3 0 14C0 10.9 2.3 8.4 5.3 8C6.6 5.6 9.1 4 12 4C15.6 4 18.7 6.6 19.4 10C22 10.2 24 12.3 24 15C24 17.7 21.7 20 19 20M11 15V17H13V15H11M11 13H13V7H11V13Z" /></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/plugins-d0898bae4e79a6e05b9e.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/plugins-d0898bae4e79a6e05b9e.svg
new file mode 100644
index 00000000..22419452
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/plugins-d0898bae4e79a6e05b9e.svg
@@ -0,0 +1 @@
+<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="4.75" y="7.75" width="14.5" height="10.5" rx="1.25" stroke="#069E08" stroke-width="1.5"></rect><path fill="#069E08" d="M6 5h5v3H6zM13 5h5v3h-5z"></path></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/posts-7a4c9e22d20abaac65d6.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/posts-7a4c9e22d20abaac65d6.svg
new file mode 100644
index 00000000..9299c527
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/posts-7a4c9e22d20abaac65d6.svg
@@ -0,0 +1 @@
+<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 7L8 13.5c-.167-1.167 1-5.167 1.5-6 .365-.608 1-1.5 2.5-2.5s5-2 5-2c0 1-1 2.5-2.5 4z" fill="#069E08"></path><path d="M7 16l1-2.5m0 0L14.5 7C16 5.5 17 4 17 3c0 0-3.5 1-5 2S9.865 6.892 9.5 7.5c-.5.833-1.667 4.833-1.5 6z" stroke="#069E08" stroke-width="1.5" stroke-linecap="round"></path><path d="M17.743 3.1a.75.75 0 10-1.486-.2l1.486.2zm-1.486-.2c-.089.662-.131 1.443-.17 2.235-.04.804-.075 1.63-.146 2.423-.072.795-.176 1.525-.344 2.134-.17.62-.386 1.036-.627 1.278l1.06 1.06c.509-.508.814-1.216 1.013-1.94.203-.735.317-1.568.392-2.398.074-.831.111-1.694.15-2.483.04-.802.08-1.52.158-2.11l-1.486-.198zm-1.287 8.07c-.276.275-.767.574-1.435.866-.653.287-1.415.541-2.175.754-.758.213-1.502.38-2.114.493-.63.117-1.071.167-1.246.167v1.5c.325 0 .885-.075 1.52-.192a26.28 26.28 0 002.245-.523 18.402 18.402 0 002.372-.825c.722-.316 1.419-.705 1.893-1.18l-1.06-1.06z" fill="#069E08"></path><path stroke="#069E08" stroke-width="1.5" d="M6 19.25h8"></path></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/themes-700cf8bdf1049fdbc94a.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/themes-700cf8bdf1049fdbc94a.svg
new file mode 100644
index 00000000..8e3afcae
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/themes-700cf8bdf1049fdbc94a.svg
@@ -0,0 +1 @@
+<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.44 13.905a5.345 5.345 0 01-10.69 0c0-.652.307-1.557.866-2.619.547-1.039 1.284-2.137 2.034-3.15a47.06 47.06 0 012.445-3.014 48.194 48.194 0 012.445 3.015c.75 1.012 1.488 2.11 2.034 3.15.56 1.061.866 1.966.866 2.618z" stroke="#069E08" stroke-width="1.5"></path></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/uploads-7a7b15dfda25508a8d68.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/uploads-7a7b15dfda25508a8d68.svg
new file mode 100644
index 00000000..57132bfd
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/uploads-7a7b15dfda25508a8d68.svg
@@ -0,0 +1 @@
+<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.293 13.758a7.503 7.503 0 01-14.168 1.243l3.67-2.177 3.456 1.217a.75.75 0 00.686-.098l2.887-2.073.08.04c.296.145.703.349 1.15.58.78.406 1.64.877 2.239 1.268zm.206-1.635a37.63 37.63 0 00-1.754-.964 63.44 63.44 0 00-1.538-.771l-.099-.048-.026-.012-.01-.005a.75.75 0 00-.76.068l-2.932 2.105-3.417-1.203a.75.75 0 00-.631.062l-3.675 2.18A7.5 7.5 0 1119.5 12.123zM21 12a9 9 0 11-18 0 9 9 0 0118 0z" fill="#069E08"></path></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.asset.php
new file mode 100644
index 00000000..408132e7
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '7640d552762ac3fc6d87');
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.css
new file mode 100644
index 00000000..80431c90
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.css
@@ -0,0 +1 @@
+.stat-block{display:flex;flex:1;flex-direction:column}.stat-block .icon{flex:2}.stat-block .icon img{height:24px;margin-top:24px;width:24px}.stat-block .label{flex:1;font-weight:700}.stat-block .value{flex:1}.stat-block .large-text{font-size:2em;font-weight:700}.backup__card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 0 40px rgba(0,0,0,.08);padding:24px}.backup__card-details-items{font-weight:500;margin:16px 0 -8px}.backup__card-details-amount{font-size:var(--font-title-large);font-weight:600;margin-bottom:-12px}.backup__progress{margin-bottom:48px;margin-right:64px}.backup__progress-info{display:flex;font-weight:500}.backup__progress-info .backup__progress-info-percentage{margin-left:auto}.backup__progress-bar,.backup__progress-bar-actual{border-radius:8px;height:12px}.backup__progress-bar{background:var(--jp-gray-off);position:relative;width:100%}.backup__progress-bar-actual{background:var(--jp-green-primary);left:0;position:absolute;top:0;width:0}.backup__latest{align-items:center;display:flex;margin-bottom:8px}.backup__latest img,.backup__latest svg{min-height:32px;min-width:32px}.backup__latest h2{margin:0 0 0 12px;vertical-align:-1px}.backup__latest+h1{white-space:nowrap}.backup__animation{position:relative}@media only screen and (max-width:960px){.backup__animation{display:none}}.backup__animation-el-1,.backup__animation-el-2,.backup__animation-el-3{animation:animation-el-3 4s ease-in-out .8s infinite normal forwards;opacity:0;position:absolute;z-index:4}.backup__animation-el-1{animation-delay:.6s;animation-name:animation-el-1;bottom:150px;right:264px}.backup__animation-el-2{animation-delay:.7s;animation-name:animation-el-2;bottom:108px;right:44px}.backup__animation-el-3{animation-name:animation-el-3;bottom:-32px}@keyframes animation-el-1{0%{opacity:0;transform:translateY(32px)}20%{opacity:1;transform:translateY(0)}50%{opacity:1;transform:translateY(0)}60%{opacity:0;transform:translateY(-96px)}to{opacity:0;transform:translateY(-96px)}}@keyframes animation-el-2{0%{opacity:0;transform:translateY(64px)}20%{opacity:1;transform:translateY(0)}50%{opacity:1;transform:translateY(0)}60%{opacity:0;transform:translateY(-96px)}to{opacity:0;transform:translateY(-96px)}}@keyframes animation-el-3{0%{opacity:0;transform:translateY(44px)}20%{opacity:1;transform:translateY(0)}50%{opacity:1;transform:translateY(0)}60%{opacity:0;transform:translateY(-84px)}to{opacity:0;transform:translateY(-84px)}}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:70%}.jp-connection__connect-screen-required-plan{background:linear-gradient(90deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{left:62%;position:absolute;top:14%}}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__with-subscription{margin-top:38px}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button{display:inline}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);font:inherit;height:auto;line-height:20px;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-right-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red)!important;line-height:25px!important;padding-left:25px}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-left:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px rgba(0,0,0,.08);max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-right:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;left:0;position:absolute;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-footer,.jp-header{padding:20px 0}@media(min-width:960px){.jp-footer,.jp-header{padding:40px 0}}.jp-content{font-size:var(--font-body);line-height:1.5;position:relative}.jp-content h1,.jp-content h2,.jp-content h3,.jp-content h4,.jp-content h5,.jp-content h6{line-height:1.2;margin-top:0}.jp-content h1{font-size:var(--font-title-large);font-weight:600}.jp-content h2{font-size:var(--font-title-small);font-weight:500}.jp-content .jp-section h2,.jp-content .jp-section h3{margin-bottom:16px}.jp-content .jp-section p{margin-top:16px}.jp-content li,.jp-content p{font-size:16px;line-height:1.5}.jp-content .jp-connection-status-card h3,.jp-content .jpb-my-plan-container h3{font-size:var(--font-title-small);font-weight:500;margin-top:48px}.jp-content a{color:var(--jp-black);transition:color,background-color .15s ease-out}.jp-content a:hover{text-decoration-thickness:var(--jp-underline-thickness)}.jp-content a:focus{outline-color:var(--jp-black)}.jp-content .button{background:var(--jp-black);border:0;border-color:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white);display:inline-block;font-weight:500;padding:8px 24px;text-decoration:none}.jp-content .button.is-full-width{text-align:center;width:100%}.jp-content .button:active,.jp-content .button:hover{background:var(--jp-black-80);color:var(--jp-white)}.jp-content .button:focus{box-shadow:0 0 0 1px var(--jp-white) inset,0 0 0 2px var(--jp-black)}.jp-content .button.disabled,.jp-content .button:disabled{background:var(--jp-gray);pointer-events:none}.jp-content ul.jp-product-promote li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-left:30px}.jp-hero{background:var(--jp-white-off);margin-bottom:64px;padding:64px 0}.jp-hero.is-backup-performing{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='624' height='400' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M624 88.387C575.321 34.082 504.674 0 426 0 323.405 0 234.3 58.22 189.925 143.42 83.07 154.78 0 245.305 0 355c0 38.16 10.072 73.999 27.698 105H624V88.387z' fill='%23fff'/%3E%3C/svg%3E");background-position:100% 100%;background-repeat:no-repeat}.jp-hero.is-backup-error,.jp-hero.is-backup-healthy{display:none}.jp-hero p+.button{margin-top:18px}.jp-dashboard-footer{padding:40px 0}.jp-connection-status-card--status{margin:30px 0}@keyframes appear{0%{opacity:0}to{opacity:1}}.jp-masthead{background-color:#fff;padding:40px 0;text-align:center}@media(max-width:rem(782px)){.jp-masthead{padding:0 rem(24px)}.jetpack-masterbar .jp-masthead{padding-left:rem(64px)}}.jp-masthead__inside-container{display:flex;flex-wrap:wrap;margin:0 auto;max-width:rem(1040px);padding-bottom:rem(6px);width:100%}@media(max-width:1250px){.jp-masthead__inside-container{max-width:95%}}.jp-masthead__logo-container{flex-grow:0;flex-shrink:0;padding:rem(11px) 0 0}@media(max-width:480px){.jp-masthead__logo-container{margin-right:rem(16px)}}.jp-masthead__logo-link{display:inline-block;outline:none;vertical-align:middle}.jp-masthead__logo-link:focus{box-shadow:0 0 0 2px #78dcfa;line-height:0}.jp-masthead__logo-link+code{background:#e6ecf1;border-radius:2px;color:#647a88;margin:0 10px;padding:5px 9px}.jp-masthead__nav{display:flex;flex-grow:1;flex-shrink:0;flex-wrap:nowrap;margin-top:rem(6px);padding:rem(4px) 0;text-align:right}.jp-masthead__nav .dops-button-group{align-self:center;flex-grow:1;font-size:0}@media(max-width:480px){.jp-masthead__nav{text-align:left}}#sandbox-domain-badge{background:#d63638;color:#fff;cursor:pointer;font-size:9px;font-weight:700;letter-spacing:.2em;text-shadow:none;text-transform:uppercase}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1128px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;max-width:var(--max-container-width);width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.vMa4i_Dza2t5Zi_Bw9Nf{background:var(--jp-white-off)}.cAbGtJDGgLubucBnz7vM{background-color:var(--jp-white)}.sexr0jUxC1jVixdKiDnC{margin-left:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-left:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-left:5px} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.js
new file mode 100644
index 00000000..486f5698
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.js
@@ -0,0 +1,6 @@
+/*! For license information please see index.js.LICENSE.txt */
+!function(){var e={9487:function(e,t,n){"use strict";n.d(t,{X:function(){return c}});const i={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 c(e){return i[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:function(e,t,n){"use strict";n.d(t,{LR:function(){return o}});var i=n(9487),c=n(2003);function o(e,t,n={}){const o=(0,i.X)(t);if(!o||isNaN(e))return null;const{decimal:r,grouping:a,precision:s,symbol:l}={...o,...n},p=e<0?"-":"",u=Math.abs(e),g=Math.floor(u);return{sign:p,symbol:l,integer:(0,c.Z)(u,s,r,a).split(r)[0],fraction:s>0?(0,c.Z)(u-g,s,r,a).slice(1):""}}},2003:function(e,t,n){"use strict";function i(e,t=0,n=".",i=","){const c=(e+"").replace(/[^0-9+\-Ee.]/g,""),o=isFinite(+c)?+c:0,r=isFinite(+t)?Math.abs(t):0,a=(r?function(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(o,r):""+Math.round(o)).split(".");return a[0].length>3&&(a[0]=a[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(a[1]||"").length<r&&(a[1]=a[1]||"",a[1]+=new Array(r-a[1].length+1).join("0")),a.join(n)}n.d(t,{Z:function(){return i}})},8294:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},2402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5235:function(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function c(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var r=c.apply(null,n);r&&e.push(r)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var a in n)i.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(c.default=c,e.exports=c):void 0===(n=function(){return c}.apply(t,[]))||(e.exports=n)}()},9710:function(){},1494:function(e,t){"use strict";t.Z={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},511:function(e,t){"use strict";t.Z={section:"cAbGtJDGgLubucBnz7vM"}},281:function(e,t){"use strict";t.Z={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},9054:function(){},3080:function(e,t){"use strict";t.Z={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smCols:"4",mdCols:"8",lgCols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},8730:function(e,t){"use strict";t.Z={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},9478:function(){},9610:function(){},2917:function(){},469:function(e,t,n){"use strict";var i=n(758);function c(){}function o(){}o.resetWarningCache=c,e.exports=function(){function e(e,t,n,c,o,r){if(r!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:c};return n.PropTypes=n,n}},5162:function(e,t,n){e.exports=n(469)()},758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4743:function(e,t,n){"use strict";var i=n(2819),c=n(6483),o=n(1132);function r(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const a=r("JsonParseError"),s=r("JsonParseAfterRedirectError"),l=r("Api404Error"),p=r("Api404AfterRedirectError"),u=r("FetchNetworkError");const g=new function(e,t){let n=e,r={"X-WP-Nonce":t},a={credentials:"same-origin",headers:r},s={method:"post",credentials:"same-origin",headers:(0,i.assign)({},r,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",i=n.length?n.split("&"):[];return i.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+i.join("&")};const p={setApiRoot(e){n=e},setApiNonce(e){r={"X-WP-Nonce":e},a={credentials:"same-origin",headers:r},s={method:"post",credentials:"same-origin",headers:(0,i.assign)({},r,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const i={registration_nonce:e,no_iframe:!0};return(0,o.jetpackConfigHas)("consumer_slug")&&(i.plugin_slug=(0,o.jetpackConfigGet)("consumer_slug")),null!==t&&(i.redirect_uri=t),g(`${n}jetpack/v4/connection/register`,s,{body:JSON.stringify(i)}).then(m).then(d)},fetchAuthorizationUrl:e=>u((0,c.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(m).then(d),fetchSiteConnectionData:()=>u(`${n}jetpack/v4/connection/data`,a).then(d),fetchSiteConnectionStatus:()=>u(`${n}jetpack/v4/connection`,a).then(d),fetchSiteConnectionTest:()=>u(`${n}jetpack/v4/connection/test`,a).then(m).then(d),fetchUserConnectionData:()=>u(`${n}jetpack/v4/connection/data`,a).then(d),fetchUserTrackingSettings:()=>u(`${n}jetpack/v4/tracking/settings`,a).then(m).then(d),updateUserTrackingSettings:e=>g(`${n}jetpack/v4/tracking/settings`,s,{body:JSON.stringify(e)}).then(m).then(d),disconnectSite:()=>g(`${n}jetpack/v4/connection`,s,{body:JSON.stringify({isActive:!1})}).then(m).then(d),fetchConnectUrl:()=>u(`${n}jetpack/v4/connection/url`,a).then(m).then(d),unlinkUser:()=>g(`${n}jetpack/v4/connection/user`,s,{body:JSON.stringify({linked:!1})}).then(m).then(d),reconnect:()=>g(`${n}jetpack/v4/connection/reconnect`,s).then(m).then(d),fetchConnectedPlugins:()=>u(`${n}jetpack/v4/connection/plugins`,a).then(m).then(d),setHasSeenWCConnectionModal:()=>g(`${n}jetpack/v4/seen-wc-connection-modal`,s).then(m).then(d),fetchModules:()=>u(`${n}jetpack/v4/module/all`,a).then(m).then(d),fetchModule:e=>u(`${n}jetpack/v4/module/${e}`,a).then(m).then(d),activateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!0})}).then(m).then(d),deactivateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>g(`${n}jetpack/v4/module/${e}`,s,{body:JSON.stringify(t)}).then(m).then(d),updateSettings:e=>g(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(m).then(d),getProtectCount:()=>u(`${n}jetpack/v4/module/protect/data`,a).then(m).then(d),resetOptions:e=>g(`${n}jetpack/v4/options/${e}`,s,{body:JSON.stringify({reset:!0})}).then(m).then(d),activateVaultPress:()=>g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(d),getVaultPressData:()=>u(`${n}jetpack/v4/module/vaultpress/data`,a).then(m).then(d),installPlugin:(e,t)=>{const i={slug:e,status:"active"};return t&&(i.source=t),g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify(i)}).then(m).then(d)},activateAkismet:()=>g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(d),getAkismetData:()=>u(`${n}jetpack/v4/module/akismet/data`,a).then(m).then(d),checkAkismetKey:()=>u(`${n}jetpack/v4/module/akismet/key/check`,a).then(m).then(d),checkAkismetKeyTyped:e=>g(`${n}jetpack/v4/module/akismet/key/check`,s,{body:JSON.stringify({api_key:e})}).then(m).then(d),fetchStatsData:e=>u(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),a).then(m).then(d).then(h),getPluginUpdates:()=>u(`${n}jetpack/v4/updates/plugins`,a).then(m).then(d),getPlans:()=>u(`${n}jetpack/v4/plans`,a).then(m).then(d),fetchSettings:()=>u(`${n}jetpack/v4/settings`,a).then(m).then(d),updateSetting:e=>g(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(m).then(d),fetchSiteData:()=>u(`${n}jetpack/v4/site`,a).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${n}jetpack/v4/site/features`,a).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${n}jetpack/v4/site/products`,a).then(m).then(d),fetchSitePurchases:()=>u(`${n}jetpack/v4/site/purchases`,a).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${n}jetpack/v4/site/benefits`,a).then(m).then(d).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${n}jetpack/v4/site/discount`,a).then(m).then(d).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${n}jetpack/v4/setup/questionnaire`,a).then(m).then(d),fetchRecommendationsData:()=>u(`${n}jetpack/v4/recommendations/data`,a).then(m).then(d),fetchRecommendationsProductSuggestions:()=>u(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(m).then(d),fetchRecommendationsUpsell:()=>u(`${n}jetpack/v4/recommendations/upsell`,a).then(m).then(d),fetchRecommendationsConditional:()=>u(`${n}jetpack/v4/recommendations/conditional`,a).then(m).then(d),saveRecommendationsData:e=>g(`${n}jetpack/v4/recommendations/data`,s,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>u(`${n}jetpack/v4/products`,a).then(m).then(d),fetchRewindStatus:()=>u(`${n}jetpack/v4/rewind`,a).then(m).then(d).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${n}jetpack/v4/scan`,a).then(m).then(d).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${n}jetpack/v4/notice/${e}`,s,{body:JSON.stringify({dismissed:!0})}).then(m).then(d),fetchPluginsData:()=>u(`${n}jetpack/v4/plugins`,a).then(m).then(d),fetchIntroOffers:()=>u(`${n}jetpack/v4/intro-offers`,a).then(m).then(d),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,a).then(m).then(d),verifySiteGoogle:e=>g(`${n}jetpack/v4/verify-site/google`,s,{body:JSON.stringify({keyring_id:e})}).then(m).then(d),sendMobileLoginEmail:()=>g(`${n}jetpack/v4/mobile/send-login-email`,s).then(m).then(d),submitSurvey:e=>g(`${n}jetpack/v4/marketing/survey`,s,{body:JSON.stringify(e)}).then(m).then(d),saveSetupQuestionnaire:e=>g(`${n}jetpack/v4/setup/questionnaire`,s,{body:JSON.stringify(e)}).then(m).then(d),updateLicensingError:e=>g(`${n}jetpack/v4/licensing/error`,s,{body:JSON.stringify(e)}).then(m).then(d),updateLicenseKey:e=>g(`${n}jetpack/v4/licensing/set-license`,s,{body:JSON.stringify({license:e})}).then(m).then(d),getUserLicensesCounts:()=>u(`${n}jetpack/v4/licensing/user/counts`,a).then(m).then(d),getUserLicenses:()=>u(`${n}jetpack/v4/licensing/user/licenses`,a).then(m).then(d),updateLicensingActivationNoticeDismiss:e=>g(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,s,{body:JSON.stringify({last_detached_count:e})}).then(m).then(d),updateRecommendationsStep:e=>g(`${n}jetpack/v4/recommendations/step`,s,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>g(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,s).then(m),startIDCFresh:e=>g(`${n}jetpack/v4/identity-crisis/start-fresh`,s,{body:JSON.stringify({redirect_uri:e})}).then(m).then(d),migrateIDC:()=>g(`${n}jetpack/v4/identity-crisis/migrate`,s).then(m),attachLicenses:e=>g(`${n}jetpack/v4/licensing/attach-licenses`,s,{body:JSON.stringify({licenses:e})}).then(m).then(d),fetchSearchPlanInfo:()=>u(`${n}jetpack/v4/search/plan`,a).then(m).then(d),fetchSearchSettings:()=>u(`${n}jetpack/v4/search/settings`,a).then(m).then(d),updateSearchSettings:e=>g(`${n}jetpack/v4/search/settings`,s,{body:JSON.stringify(e)}).then(m).then(d),fetchSearchStats:()=>u(`${n}jetpack/v4/search/stats`,a).then(m).then(d),fetchWafSettings:()=>u(`${n}jetpack/v4/waf`,a).then(m).then(d),fetchWordAdsSettings:()=>u(`${n}jetpack/v4/wordads/settings`,a).then(m).then(d),updateWordAdsSettings:e=>g(`${n}jetpack/v4/wordads/settings`,s,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${n}jetpack/v4/search/pricing`,a).then(m).then(d)};function u(e,t){return fetch(l(e),t)}function g(e,t,n){return fetch(e,(0,i.assign)({},t,n)).catch(f)}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:{}}(0,i.assign)(this,p)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new p(e.redirected):new l})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function d(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new s(n):new a}function f(){throw new u}t.ZP=g},7121:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(5736),r=n(5609),a=n(5162),s=n.n(a);n(9710);const __=o.__,l=e=>{const{label:t,onClick:n,isLoading:i,displayError:o,errorMessage:a}=e;return c().createElement("div",{className:"jp-action-button"},c().createElement(r.Button,{className:"jp-action-button--button",label:t,onClick:n,variant:"primary",disabled:i},i?c().createElement(r.Spinner,null):t),o&&c().createElement("p",{className:"jp-action-button__error"},a))};l.propTypes={label:s().string.isRequired,onClick:s().func,isLoading:s().bool,displayError:s().bool,errorMessage:s().string},l.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack-backup-pkg")},t.Z=l},1163:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(5736),r=n(5162),a=n.n(r),s=n(5235),l=n.n(s),p=n(1494),u=n(2392),g=n(1202),m=n(8218),d=n(2939);const __=o.__,h=e=>{const{children:t,moduleName:n,moduleNameHref:i,a8cLogoHref:o,showHeader:r,showFooter:a,showBackground:s,header:h}=e,f=l()(p.Z["admin-page"],{[p.Z.background]:s});return c().createElement("div",{className:f},r&&c().createElement(m.Z,{horizontalSpacing:5},c().createElement(d.Z,null,h||c().createElement(g.Z,null))),c().createElement(m.Z,{fluid:!0,horizontalSpacing:0},c().createElement(d.Z,null,t)),a&&c().createElement(m.Z,{horizontalSpacing:5},c().createElement(d.Z,null,c().createElement(u.Z,{moduleName:n,a8cLogoHref:o,moduleNameHref:i}))))};h.defaultProps={moduleName:__("Jetpack","jetpack-backup-pkg"),showHeader:!0,header:null,showFooter:!0,showBackground:!0},h.propTypes={a8cLogoHref:a().string,moduleName:a().string,showHeader:a().bool,header:a().node,showFooter:a().bool,moduleNameHref:a().string,showBackground:a().bool},t.Z=h},8038:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(511);t.Z=e=>{const{children:t}=e;return c().createElement("div",{className:o.Z.section},t)}},3244:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(281);t.Z=e=>{const{children:t}=e;return c().createElement("div",{className:o.Z["section-hero"]},t)}},207:function(e,t,n){"use strict";var i=n(2402),c=n.n(i),o=n(9196),r=n.n(o),a=n(5235),s=n.n(a),l=n(5736),p=n(5162),u=n.n(p);const __=l.__,g=e=>{const{title:t,height:n,className:i,...o}=e;return r().createElement("svg",c()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:s()("jp-automattic-byline-logo",i)},o),r().createElement("title",{id:"jp-automattic-byline-logo-title"},t),r().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),r().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),r().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))};g.defaultProps={title:__("An Automattic Airline","jetpack-backup-pkg"),height:7,className:""},g.propTypes={title:u().string,height:u().number,className:u().string},t.Z=g},2392:function(e,t,n){"use strict";var i=n(2402),c=n.n(i),o=n(9196),r=n.n(o),a=n(5736),s=n(5235),l=n.n(s),p=n(5162),u=n.n(p),g=n(207),m=(n(9054),n(1202));const __=a.__,d=e=>{const{a8cLogoHref:t,moduleName:n,className:i,moduleNameHref:o,...a}=e;return r().createElement("div",c()({className:l()("jp-dashboard-footer",i)},a),r().createElement("div",{className:"jp-dashboard-footer__footer-left"},r().createElement(m.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack-backup-pkg")}),r().createElement("span",{className:"jp-dashboard-footer__module-name"},o?r().createElement("a",{href:o,"aria-label":n},n):n)),r().createElement("div",{className:"jp-dashboard-footer__footer-right"},r().createElement("a",{href:t,"aria-label":__("An Automattic Airline","jetpack-backup-pkg")},r().createElement(g.Z,null))))};d.defaultProps={a8cLogoHref:"https://automattic.com",moduleName:__("Jetpack","jetpack-backup-pkg"),className:"",moduleNameHref:"https://jetpack.com"},d.propTypes={a8cLogoHref:u().string,moduleName:u().string,className:u().string,moduleNameHref:u().string},t.Z=d},1202:function(e,t,n){"use strict";var i=n(2402),c=n.n(i),o=n(8294),r=n.n(o),a=n(5162),s=n.n(a),l=n(9196),p=n.n(l),u=n(5235),g=n.n(u),m=n(5736);const __=m.__;class d extends p().Component{render(){const{logoColor:e,showText:t,className:n,...i}=this.props,o=t?"0 0 118 32":"0 0 32 32";return p().createElement("svg",c()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:o,className:g()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},i),p().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-backup-pkg")),p().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&&p().createElement(l.Fragment,null,p().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"}),p().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"}),p().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"}),p().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"}),p().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"}),p().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"}),p().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"})))}}r()(d,"propTypes",{className:s().string,width:s().number,height:s().number,showText:s().bool,logoColor:s().string}),r()(d,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=d},2939:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(5235),r=n.n(o),a=n(5162),s=n.n(a),l=n(3080);const p=Number(l.Z.smCols),u=Number(l.Z.mdCols),g=Number(l.Z.lgCols),m=e=>{var t,n,i,o,a,s;const{children:m,className:d}=e,h=Math.min(p,(null==e?void 0:e.sm)??p),f=Math.min(p,(null==e||null===(t=e.sm)||void 0===t?void 0:t.start)??0),b=Math.min(p,(null==e||null===(n=e.sm)||void 0===n?void 0:n.end)??0),k=Math.min(u,(null==e?void 0:e.md)??u),y=Math.min(u,(null==e||null===(i=e.md)||void 0===i?void 0:i.start)??0),v=Math.min(u,(null==e||null===(o=e.md)||void 0===o?void 0:o.end)??0),E=Math.min(g,(null==e?void 0:e.lg)??g),_=Math.min(g,(null==e||null===(a=e.lg)||void 0===a?void 0:a.start)??0),N=Math.min(g,(null==e||null===(s=e.lg)||void 0===s?void 0:s.end)??0),S=r()(d,{[l.Z[`col-sm-${h}`]]:!(f&&b),[l.Z[`col-sm-${f}-start`]]:f>0,[l.Z[`col-sm-${b}-end`]]:b>0,[l.Z[`col-md-${k}`]]:!(y&&v),[l.Z[`col-md-${y}-start`]]:y>0,[l.Z[`col-md-${v}-end`]]:v>0,[l.Z[`col-lg-${E}`]]:!(_&&N),[l.Z[`col-lg-${_}-start`]]:_>0,[l.Z[`col-lg-${N}-end`]]:N>0});return c().createElement("div",{className:S},m)};m.proptypes={className:s().string,sm:s().oneOfType([s().number,s().shape({start:s().number,end:s().number})]),md:s().oneOfType([s().number,s().shape({start:s().number,end:s().number})]),lg:s().oneOfType([s().number,s().shape({start:s().number,end:s().number})]),children:s().node},t.Z=m},8218:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(5235),r=n.n(o),a=n(5162),s=n.n(a),l=n(8730);const p=e=>{const{children:t,fluid:n,className:i}=e,o=`calc( var(--horizontal-spacing) * ${e.horizontalSpacing} )`,a={paddingTop:o,paddingBottom:o,rowGap:`calc( var(--horizontal-spacing) * ${e.horizontalGap} )`},s=r()(i,l.Z.container,{[l.Z.fluid]:n});return c().createElement("div",{className:s,style:a},t)};p.propTypes={fluid:s().bool,className:s().string,horizontalSpacing:s().number,horizontalGap:s().number,children:s().node},p.defaultProps={fluid:!1,horizontalGap:1,horizontalSpacing:1},t.Z=p},667:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(5162),r=n.n(o),a=n(5609),s=n(8899),l=n(5736);n(9478);const __=l.__,p=e=>-1===e.fraction.indexOf("00"),u=e=>{const t=(0,s.LR)(e.priceBefore,e.currencyCode),n=(0,s.LR)(e.priceAfter,e.currencyCode);return c().createElement("div",{className:"jp-components__pricing-card"},e.icon&&c().createElement("div",{className:"jp-components__pricing-card__icon"},c().createElement("img",{src:e.icon,alt:(0,l.sprintf)(
+/* translators: placeholder is a product name */
+__("Icon for the product %s","jetpack-backup-pkg"),e.title)})),c().createElement("h1",{className:"jp-components__pricing-card__title"},e.title),c().createElement("div",{className:"jp-components__pricing-card__pricing"},e.priceBefore!==e.priceAfter&&c().createElement("div",{className:"jp-components__pricing-card__price-before"},c().createElement("span",{className:"jp-components__pricing-card__currency"},t.symbol),c().createElement("span",{className:"jp-components__pricing-card__price"},t.integer),p(t)&&c().createElement("span",{className:"jp-components__pricing-card__price-decimal"}," ",t.fraction),c().createElement("div",{className:"jp-components__pricing-card__price-strikethrough"})),c().createElement("div",{className:"jp-components__pricing-card__price-after"},c().createElement("span",{className:"jp-components__pricing-card__currency"},n.symbol),c().createElement("span",{className:"jp-components__pricing-card__price"},n.integer),p(n)&&c().createElement("span",{className:"jp-components__pricing-card__price-decimal"},n.fraction)),c().createElement("span",{className:"jp-components__pricing-card__price-details"},e.priceDetails)),e.children&&c().createElement("div",{className:"jp-components__pricing-card__extra-content-wrapper"},e.children),e.ctaText&&c().createElement("div",{className:"jp-components__pricing-card__cta"},c().createElement(a.Button,{className:"jp-components__pricing-card__button",label:e.ctaText,onClick:e.onCtaClick},e.ctaText)),e.infoText&&c().createElement("div",{className:"jp-components__pricing-card__info"},e.infoText))};u.propTypes={title:r().string.isRequired,icon:r().string,priceBefore:r().number.isRequired,priceAfter:r().number.isRequired,priceDetails:r().string,currencyCode:r().string,ctaText:r().string,onCtaClick:r().func,infoText:r().oneOfType([r().string,r().object])},u.defaultProps={currencyCode:"USD",priceDetails:__("/month, paid yearly","jetpack-backup-pkg")},t.Z=u},9922:function(e,t,n){"use strict";function i(e,t,n,i){const c=new URL("https://wordpress.com/checkout/"),o=new URL(`${c}${t}/${e}`);return o.searchParams.set("redirect_to",n),i||o.searchParams.set("unlinked",1),o.searchParams.set("site",t),o.toString()}n.d(t,{Z:function(){return i}})},6324:function(e,t,n){"use strict";function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let i;var c;"undefined"!=typeof window&&(i=null===(c=window.Initial_State)||void 0===c?void 0:c.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),i&&(n.calypso_env=i);const o=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+o}n.d(t,{Z:function(){return i}})},1132:function(e,t,n){let i={};try{i=n(4608)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),i={missingConfig:!0}}const c=e=>i.hasOwnProperty(e);e.exports={jetpackConfigHas:c,jetpackConfigGet:e=>{if(!c(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 i[e]}}},2458:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(5162),r=n.n(o);const a=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const i=t.map(((e,t)=>c().createElement(c().Fragment,{key:t},c().createElement("img",{src:n+e,alt:""}))));return c().createElement("div",{className:"jp-connection__connect-screen__image-slider"},i)};a.propTypes={images:r().arrayOf(r().string).isRequired,assetBaseUrl:r().string},a.defaultProps={assetBaseUrl:""},t.Z=a},8524:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(5162),r=n.n(o),a=n(1202),s=n(2458);n(9610);const l=e=>{const{title:t,children:n,className:i,assetBaseUrl:o,images:r}=e,l=null==r?void 0:r.length;return c().createElement("div",{className:"jp-connection__connect-screen-layout"+(l?" jp-connection__connect-screen-layout__two-columns":"")+(i?" "+i:"")},c().createElement("div",{className:"jp-connection__connect-screen-layout__left"},c().createElement(a.Z,null),c().createElement("h2",null,t),n),l?c().createElement("div",{className:"jp-connection__connect-screen-layout__right"},c().createElement(s.Z,{images:r,assetBaseUrl:o})):null)};l.propTypes={title:r().string,className:r().string,images:r().arrayOf(r().string),assetBaseUrl:r().string},t.Z=l},7710:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(5162),r=n.n(o),a=n(5736),s=n(4082),l=n(1294),p=n(8258);const __=a.__,u=e=>{const{title:t,autoTrigger:n,buttonLabel:i,apiRoot:o,apiNonce:r,registrationNonce:a,from:u,redirectUri:g,children:m,priceBefore:d,priceAfter:h,pricingIcon:f,pricingTitle:b,pricingCurrencyCode:k,wpcomProductSlug:y,siteProductAvailabilityHandler:v}=e,{handleRegisterSite:E,isRegistered:_,isUserConnected:N,siteIsRegistering:S,userIsConnecting:R,registrationError:j}=(0,l.Z)({registrationNonce:a,redirectUri:g,apiRoot:o,apiNonce:r,autoTrigger:n,from:u}),C=y||"",{run:w,hasCheckoutStarted:Z}=(0,p.Z)({productSlug:C,redirectUrl:g,siteProductAvailabilityHandler:v,from:u}),T=!_||!N,P=Boolean(j),I=S||R||Z,A=C?w:E;return c().createElement(s.Z,{title:t,buttonLabel:i,priceBefore:d,priceAfter:h,pricingIcon:f,pricingTitle:b,pricingCurrencyCode:k,handleButtonClick:A,showConnectButton:T,displayButtonError:P,buttonIsLoading:I},m)};u.propTypes={title:r().string,buttonLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,registrationNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,autoTrigger:r().bool,pricingTitle:r().string.isRequired,icon:r().string,priceBefore:r().number.isRequired,priceAfter:r().number.isRequired,pricingCurrencyCode:r().string,wpcomProductSlug:r().string,checkSiteHasWpcomProduct:r().func},u.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack-backup-pkg"),buttonLabel:__("Set up Jetpack","jetpack-backup-pkg"),pricingCurrencyCode:"USD",autoTrigger:!1},t.Z=u},4082:function(e,t,n){"use strict";var i=n(9196),c=n.n(i),o=n(5162),r=n.n(o),a=n(5736),s=n(6324),l=n(7121),p=n(667),u=n(9307),g=n(8524);n(2917);const __=a.__,m=e=>{const{title:t,buttonLabel:n,children:i,priceBefore:o,priceAfter:r,pricingIcon:a,pricingTitle:m,pricingCurrencyCode:d,isLoading:h,handleButtonClick:f,showConnectButton:b,displayButtonError:k,buttonIsLoading:y}=e,v=(0,u.createInterpolateElement)(__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack-backup-pkg"),{tosLink:c().createElement("a",{href:(0,s.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:c().createElement("a",{href:(0,s.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),E=(0,u.createInterpolateElement)(__("Already have a subscription? <connectButton/>","jetpack-backup-pkg"),{connectButton:c().createElement(l.Z,{label:__("Log in to get started","jetpack-backup-pkg"),onClick:f,isLoading:y})});return c().createElement(g.Z,{title:t,className:"jp-connection__connect-screen-required-plan"+(h?" jp-connection__connect-screen-required-plan__loading":"")},c().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},i,c().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},c().createElement(p.Z,{title:m,icon:a,priceBefore:o,currencyCode:d,priceAfter:r,infoText:b?v:""},b&&c().createElement(l.Z,{label:n,onClick:f,displayError:k,isLoading:y}))),b&&c().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},E)))};m.propTypes={pricingTitle:r().string.isRequired,priceBefore:r().number.isRequired,priceAfter:r().number.isRequired,pricingCurrencyCode:r().string,title:r().string,buttonLabel:r().string,pricingIcon:r().string,isLoading:r().bool,handleButtonClick:r().func,showConnectButton:r().bool,displayButtonError:r().bool,buttonIsLoading:r().bool},m.defaultProps={pricingCurrencyCode:"USD",showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{}},t.Z=m},1294:function(e,t,n){"use strict";var i,c=n(9196),o=n(9818),r=n(4743),a=n(428);const s=null!==(i=window)&&void 0!==i&&i.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};t.Z=function(){let{registrationNonce:e=s.registrationNonce,apiRoot:t=s.apiRoot,apiNonce:n=s.apiNonce,redirectUri:i,autoTrigger:l,from:p,skipUserConnection:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:g,connectUser:m,refreshConnectedPlugins:d}=(0,o.useDispatch)(a.t),h=(0,o.useSelect)((e=>e(a.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:b,userConnectionData:k,connectedPlugins:y,isRegistered:v,isUserConnected:E,hasConnectedOwner:_}=(0,o.useSelect)((e=>({siteIsRegistering:e(a.t).getSiteIsRegistering(),userIsConnecting:e(a.t).getUserIsConnecting(),userConnectionData:e(a.t).getUserConnectionData(),connectedPlugins:e(a.t).getConnectedPlugins(),...e(a.t).getConnectionStatus()}))),N=()=>{u?i&&(window.location=i):m({from:p,redirectUri:i})},S=t=>{t&&t.preventDefault(),v?N():g({registrationNonce:e,redirectUri:i}).then((()=>{N()}))};return(0,c.useEffect)((()=>{r.ZP.setApiRoot(t),r.ZP.setApiNonce(n)}),[t,n]),(0,c.useEffect)((()=>{!l||f||b||S()}),[]),{handleRegisterSite:S,handleConnectUser:N,refreshConnectedPlugins:d,isRegistered:v,isUserConnected:E,siteIsRegistering:f,userIsConnecting:b,registrationError:h,userConnectionData:k,hasConnectedOwner:_,connectedPlugins:y}}},8258:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i,c=n(9196),o=n(9818),r=n(4743),a=n(9922),s=n(428),l=n(1294);const{registrationNonce:p,apiRoot:u,apiNonce:g,siteSuffix:m}=null!==(i=window)&&void 0!==i&&i.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function d(){let{productSlug:e,redirectUrl:t,siteSuffix:n=m,siteProductAvailabilityHandler:i=null,from:d}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[h,f]=(0,c.useState)(!1),{registerSite:b}=(0,o.useDispatch)(s.t),{isUserConnected:k,isRegistered:y,handleConnectUser:v}=(0,l.Z)({redirectUri:t,from:d}),E=(0,a.Z)(e,n,t,k),_=()=>Promise.resolve(i&&i()).then((e=>{if(e)return v();window.location.href=E})),N=e=>{if(e&&e.preventDefault(),f(!0),y)return _();b({registrationNonce:p,redirectUri:t}).then(_)};return(0,c.useEffect)((()=>{r.ZP.setApiRoot(u),r.ZP.setApiNonce(g)}),[]),{run:N,isRegistered:y,hasCheckoutStarted:h}}},7523:function(e,t,n){"use strict";n.d(t,{LI:function(){return o},N4:function(){return a},T1:function(){return l},TS:function(){return p},ZP:function(){return v},i6:function(){return c},qV:function(){return s},r7:function(){return r},wQ:function(){return g}});var i=n(4743);const c="SET_CONNECTION_STATUS",o="SET_CONNECTION_STATUS_IS_FETCHING",r="SET_SITE_IS_REGISTERING",a="SET_USER_IS_CONNECTING",s="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",u="CONNECT_USER",g="SET_CONNECTED_PLUGINS",m=e=>({type:c,connectionStatus:e}),d=e=>({type:r,isRegistering:e}),h=e=>({type:a,isConnecting:e}),f=e=>({type:s,registrationError:e}),b=()=>({type:l}),k=e=>({type:p,authorizationUrl:e}),y=e=>({type:g,connectedPlugins:e});const v={setConnectionStatus:m,setConnectionStatusIsFetching:e=>({type:o,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:d,setUserIsConnecting:h,setRegistrationError:f,clearRegistrationError:b,setAuthorizationUrl:k,registerSite:function*(e){let{registrationNonce:t,redirectUri:n}=e;yield b(),yield d(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield m({isRegistered:!0}),yield k(e.authorizeUrl),yield d(!1),Promise.resolve(e)}catch(e){return yield f(e),yield d(!1),Promise.reject(e)}},connectUser:function*(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield h(!0),yield{type:u,from:e,redirectFunc:t,redirectUri:n}},setConnectedPlugins:y,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>i.ZP.fetchConnectedPlugins().then((n=>{t(y(n)),e(n)}))))}}},1432:function(e,t,n){"use strict";var i=n(4743),c=n(9818),o=n(428);const r=(0,c.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((c,r)=>{t(o.t).getAuthorizationUrl(i).then((t=>{const i=n||(e=>window.location.assign(e)),o=new URL(t);e&&o.searchParams.set("from",encodeURIComponent(e));const r=o.toString();i(r),c(r)})).catch((e=>{r(e)}))}))}}));t.Z={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return i.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return i.ZP.registerSite(t,n)},CONNECT_USER:r}},1479:function(e,t,n){"use strict";var i=n(9818),c=n(7523);const o=(0,i.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.i6?{...e,...t.connectionStatus}:e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===c.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case c.T1:return!1;case c.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===c.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===c.wQ?t.connectedPlugins:e}});t.Z=o},7728:function(e,t,n){"use strict";var i=n(9818),c=n(7523),o=n(428);const r={getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,c=new Array(n>1?n-1:0),r=1;r<n;r++)c[r-1]=arguments[r];const a=(0,i.select)(o.t).hasFinishedResolution("getAuthorizationUrl",c);return t&&!a&&(0,i.dispatch)(o.t).finishResolution("getAuthorizationUrl",c),t},*fulfill(e){const t=yield c.ZP.fetchAuthorizationUrl(e);yield c.ZP.setAuthorizationUrl(t.authorizeUrl)}}};t.Z={...r}},2725:function(e,t){"use strict";const n={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||[]};t.Z=n},3535:function(e,t,n){"use strict";var i=n(8294),c=n.n(i),o=n(9818);class r{static mayBeInit(e,t){null===r.store&&(r.store=(0,o.createReduxStore)(e,t),(0,o.register)(r.store))}}c()(r,"store",null),t.Z=r},428:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var i=n(1479),c=n(7523),o=n(2725),r=n(7728),a=n(1432),s=n(3535);const l="jetpack-connection",p=window.JP_CONNECTION_INITIAL_STATE;p||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."),s.Z.mayBeInit(l,{__experimentalUseThunks:!0,reducer:i.Z,actions:c.ZP,selectors:o.Z,resolvers:r.Z,controls:a.Z,initialState:p||{}})},3133:function(e,t,n){"use strict";var i=n(9307),c=n(5736),o=n(6989),r=n.n(o),a=n(9818),s=n(6324),l=n(8218),p=n(2939),u=n(667),g=n(3244),m=n(8038),d=n(1163),h=n(1925),f=n(2329),b=n(5993);const __=c.__;t.Z=()=>{const[e,t]=(0,f.Z)(),[n,c]=(0,i.useState)([]),[o,k]=(0,i.useState)(null),[y,v]=(0,i.useState)(!1),[E,_]=(0,i.useState)(!1),[N,S]=(0,i.useState)(!0),[R,j]=(0,i.useState)(0),[C,w]=(0,i.useState)(0),Z=(0,a.useSelect)((e=>e(b.t).getCalypsoSlug()),[]);(0,i.useEffect)((()=>{0<Object.keys(e).length&&v(!0)}),[e]),(0,i.useEffect)((()=>{r()({path:"/jetpack/v4/backup-capabilities"}).then((e=>{c(e.capabilities),_(!0)}),(()=>{_(!0),k("Failed to fetch site capabilities")})),r()({path:"/jetpack/v4/backup-promoted-product-info"}).then((e=>{j(e.cost/12),e.introductory_offer?w(e.introductory_offer.cost_per_interval/12):w(e.cost/12)}))}),[]);const T=()=>n.includes("backup"),P=()=>{window.location.href=(0,s.Z)("backup-plugin-upgrade-10gb",{site:Z})},I=()=>y&&e.isUserConnected&&e.isRegistered?(N||S(!0),E?T()?React.createElement(l.Z,{horizontalSpacing:5,fluid:!0},React.createElement(p.Z,null,React.createElement(h.Z,null))):o?React.createElement(l.Z,{horizontalSpacing:3},React.createElement(p.Z,{lg:12,md:8,sm:4},o)):(()=>{const e=__("14 day money back guarantee.","jetpack-backup-pkg"),t=__("Special introductory pricing, all renewals are at full price. 14 day money back guarantee.","jetpack-backup-pkg");return React.createElement(l.Z,{horizontalSpacing:3,horizontalGap:3},React.createElement(p.Z,{lg:6,md:6,sm:4},React.createElement("h1",null,__("Secure your site with a Backup subscription.","jetpack-backup-pkg")),React.createElement("p",null," ",__("Get peace of mind knowing that all your work will be saved, and get back online quickly with one-click restores.","jetpack-backup-pkg")),React.createElement("ul",{className:"jp-product-promote"},React.createElement("li",null,__("Automated real-time backups","jetpack-backup-pkg")),React.createElement("li",null,__("Easy one-click restores","jetpack-backup-pkg")),React.createElement("li",null,__("Complete list of all site changes","jetpack-backup-pkg")),React.createElement("li",null,__("Global server infrastructure","jetpack-backup-pkg")),React.createElement("li",null,__("Best-in-class support","jetpack-backup-pkg")))),React.createElement(p.Z,{lg:1,md:1,sm:0}),React.createElement(p.Z,{lg:5,md:6,sm:4},React.createElement(u.Z,{ctaText:__("Get Jetpack Backup","jetpack-backup-pkg"),icon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.092 15.164.019-1.703v-.039c0-1.975-1.803-3.866-4.4-3.866-2.17 0-3.828 1.351-4.274 2.943l-.426 1.524-1.581-.065a2.92 2.92 0 0 0-.12-.002c-1.586 0-2.977 1.344-2.977 3.133 0 1.787 1.388 3.13 2.973 3.133H22.399c1.194 0 2.267-1.016 2.267-2.4 0-1.235-.865-2.19-1.897-2.368l-1.677-.29Zm-10.58-3.204a4.944 4.944 0 0 0-.201-.004c-2.75 0-4.978 2.298-4.978 5.133s2.229 5.133 4.978 5.133h12.088c2.357 0 4.267-1.97 4.267-4.4 0-2.18-1.538-3.99-3.556-4.339v-.06c0-3.24-2.865-5.867-6.4-5.867-2.983 0-5.49 1.871-6.199 4.404Z' fill='%23000'/%3E%3C/svg%3E",infoText:C===R?e:t,onCtaClick:P,priceAfter:C,priceBefore:R,title:__("Jetpack Backup","jetpack-backup-pkg")})))})():React.createElement("div",null)):(N&&S(!1),React.createElement(l.Z,{horizontalSpacing:3,horizontalGap:3},React.createElement(p.Z,{lg:12,md:8,sm:4},t())));return React.createElement(d.Z,{withHeader:N,withFooter:N,moduleName:__("Jetpack Backup","jetpack-backup-pkg"),a8cLogoHref:"https://www.jetpack.com"},React.createElement("div",{id:"jetpack-backup-admin-container",className:"jp-content"},React.createElement("div",{className:"content"},React.createElement(g.Z,null,I()),React.createElement(m.Z,null,y&&e.isUserConnected&&e.isRegistered&&React.createElement(l.Z,{horizontalSpacing:3,horizontalGap:3},React.createElement(p.Z,{lg:6,md:4},React.createElement("h2",null,__("Your cloud backups","jetpack-backup-pkg")),React.createElement("p",null,__("All the backups are safely stored in the cloud and available for you at any time on Jetpack.com, with full details about status and content.","jetpack-backup-pkg")),T()&&React.createElement(React.Fragment,null,React.createElement("p",null,React.createElement("a",{href:(0,s.Z)("jetpack-backup",{site:Z}),target:"_blank",rel:"noreferrer"},__("See all your backups","jetpack-backup-pkg"))))),React.createElement(p.Z,{lg:1,md:1,sm:0}),React.createElement(p.Z,{lg:5,md:3,sm:4},React.createElement("h2",null,__("Your site's heartbeat","jetpack-backup-pkg")),React.createElement("p",null,__("The activity log lets you see everything that’s going on with your site outlined in an organized, readable way.","jetpack-backup-pkg")),T()&&React.createElement("p",null,React.createElement("a",{href:(0,s.Z)("backup-plugin-activity-log",{site:Z}),target:"_blank",rel:"noreferrer"},__("See your site's activity","jetpack-backup-pkg")))))))))}},1925:function(e,t,n){"use strict";var i=n(9771),c=n(5736),o=n(6989),r=n.n(o),a=n(9307),s=n(9818),l=n(6324),p=n(5993),u=n(7355),g=n(8287),m=n(50),d=n(4256),h=n(567),f=n(7410),b=n(4535),k=n(4444),y=n(6476),v=n(8406);const __=c.__;t.Z=()=>{const[e,t]=(0,a.useState)(0),[n,o]=(0,a.useState)(0),[E,_]=(0,a.useState)(""),[N,S]=(0,a.useState)({posts:0,uploads:0,plugins:0,themes:0}),R=(0,s.useSelect)((e=>e(p.t).getCalypsoSlug()),[]),j=(0,s.useSelect)((e=>e(p.t).getSiteTitle()),""),C=0,w=1,Z=2,T=3,P=4,I=5,[A,U]=(0,a.useState)(C);(0,a.useEffect)((()=>{r()({path:"/jetpack/v4/backups"}).then((e=>{let c=null;if(0===e.length)U(Z);else if(1===e.length&&"error-will-retry"===e[0].status)U(T);else{if(e.forEach((e=>{null===c&&"finished"===e.status&&e.stats&&(c=e,U(I))})),null===c&&"started"===e[0].status&&(c=e[0],t(c.percent),U(w)),!c)return void U(P);if("finished"===c.status){const e=c.stats.prefix+"posts";S({plugins:c.stats.plugins.count,themes:c.stats.themes.count,uploads:c.stats.uploads.count,posts:c.stats.tables[e].post_published}),_((0,i.date)("c",c.last_updated+"+00:00"))}}0!==e.length&&"started"!==c.status||setTimeout((()=>{o(n+1)}),1e3)}),(()=>{U(P)}))}),[n]);const $=function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return React.createElement("div",{className:"jp-row"},React.createElement("div",{className:"lg-col-span-5 md-col-span-8 sm-col-span-4"},t&&React.createElement("div",{className:"backup__progress"},React.createElement("div",{className:"backup__progress-info"},React.createElement("p",null,(0,c.sprintf)(
+/* translators: placeholder is the Site Title */
+__("Backing up %s","jetpack-backup-pkg"),j)),React.createElement("p",{className:"backup__progress-info-percentage"},e,"%")),React.createElement("div",{className:"backup__progress-bar"},React.createElement("div",{className:"backup__progress-bar-actual",style:{width:e+"%"}}))),React.createElement("h1",null,__("Your first cloud backup will be ready soon","jetpack-backup-pkg")),React.createElement("p",null,__("The first backup usually takes a few minutes, so it will become available soon.","jetpack-backup-pkg")),React.createElement("p",null,(0,a.createInterpolateElement)(__("In the meanwhile, you can start getting familiar with your <a>backup management on Jetpack.com</a>.","jetpack-backup-pkg"),{a:React.createElement("a",{href:(0,l.Z)("jetpack-backup",{site:R}),target:"_blank",rel:"noreferrer"})}))),React.createElement("div",{className:"lg-col-span-1 md-col-span-4 sm-col-span-0"}),React.createElement("div",{className:"backup__animation lg-col-span-6 md-col-span-2 sm-col-span-2"},React.createElement("img",{className:"backup__animation-el-1",src:k,alt:""}),React.createElement("img",{className:"backup__animation-el-2",src:y,alt:""}),React.createElement("img",{className:"backup__animation-el-3",src:v,alt:""})))};return React.createElement("div",{className:"jp-wrap jp-content"},C===A&&React.createElement("div",{className:"jp-row"}),Z===A&&$(),T===A&&$(!1),w===A&&$(),I===A&&React.createElement("div",{className:"jp-row"},React.createElement("div",{className:"lg-col-span-3 md-col-span-4 sm-col-span-4"},React.createElement("div",{className:"backup__latest"},React.createElement("img",{src:m,alt:""}),React.createElement("h2",null,__("Latest Backup","jetpack-backup-pkg"))),React.createElement("h1",null,(e=>{const t=__("Today","jetpack-backup-pkg"),n=(0,i.getDate)();let c=t;return(0,i.dateI18n)("zY",n)!==(0,i.dateI18n)("zY",e)&&(c=(0,i.dateI18n)("M j",e)),c+", "+(0,i.dateI18n)("g:i A",e)})(E)),React.createElement("a",{className:"button is-full-width",href:(0,l.Z)("jetpack-backup",{site:R}),target:"_blank",rel:"noreferrer"},__("See all your backups","jetpack-backup-pkg"))),React.createElement("div",{className:"lg-col-span-1 md-col-span-4 sm-col-span-0"}),React.createElement("div",{className:"lg-col-span-2 md-col-span-2 sm-col-span-2"},React.createElement(u.Z,{icon:g,label:__("Posts","jetpack-backup-pkg"),value:N.posts})),React.createElement("div",{className:"lg-col-span-2 md-col-span-2 sm-col-span-2"},React.createElement(u.Z,{icon:h,label:__("Uploads","jetpack-backup-pkg"),value:N.uploads})),React.createElement("div",{className:"lg-col-span-2 md-col-span-2 sm-col-span-2"},React.createElement(u.Z,{icon:f,label:__("Plugins","jetpack-backup-pkg"),value:N.plugins})),React.createElement("div",{className:"lg-col-span-2 md-col-span-2 sm-col-span-2"},React.createElement(u.Z,{icon:b,label:__("Themes","jetpack-backup-pkg"),value:N.themes}))),P===A&&React.createElement("div",{className:"jp-row"},React.createElement("div",{className:"lg-col-span-5 md-col-span-4 sm-col-span-4"},React.createElement("img",{src:d,alt:""}),React.createElement("h1",null,__("We're having trouble backing up your site","jetpack-backup-pkg")),React.createElement("p",null,(0,a.createInterpolateElement)(__(" <a>Get in touch with us</a> to get your site backups going again.","jetpack-backup-pkg"),{a:React.createElement("a",{href:(0,l.Z)("jetpack-contact-support",{site:R}),target:"_blank",rel:"noreferrer"})}))),React.createElement("div",{className:"lg-col-span-1 md-col-span-4 sm-col-span-0"}),React.createElement("div",{className:"lg-col-span-6 md-col-span-2 sm-col-span-2"})))}},7355:function(e,t){"use strict";t.Z=e=>React.createElement("div",{className:"backup__card"},React.createElement("img",{src:e.icon,alt:""}),React.createElement("div",{className:"backup__card-details"},React.createElement("div",{className:"backup__card-details-items"},e.label),React.createElement("div",{className:"backup__card-details-amount"},e.value)))},2329:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(9196),c=n.n(i),o=n(9307),r=n(6989),a=n.n(r),s=n(9818),l=n(428),p=n(7710),u=n(5736),g=n(5993);const __=u.__;function m(){const e=(0,s.useSelect)((e=>e(g.t).getAPINonce()),[]),t=(0,s.useSelect)((e=>e(g.t).getAPIRoot()),[]),n=(0,s.useSelect)((e=>e(g.t).getRegistrationNonce()),[]),i=(0,s.useSelect)((e=>e(l.t).getConnectionStatus()),[]),[r,u]=(0,o.useState)(0),[m,d]=(0,o.useState)(0);(0,o.useEffect)((()=>{a()({path:"/jetpack/v4/backup-promoted-product-info"}).then((e=>{u(e.cost/12),e.introductory_offer?d(e.introductory_offer.cost_per_interval/12):d(e.cost/12)}))}),[]);return[i,()=>c().createElement(p.Z,{buttonLabel:__("Get Jetpack Backup","jetpack-backup-pkg"),priceAfter:m,priceBefore:r,pricingIcon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.092 15.164.019-1.703v-.039c0-1.975-1.803-3.866-4.4-3.866-2.17 0-3.828 1.351-4.274 2.943l-.426 1.524-1.581-.065a2.92 2.92 0 0 0-.12-.002c-1.586 0-2.977 1.344-2.977 3.133 0 1.787 1.388 3.13 2.973 3.133H22.399c1.194 0 2.267-1.016 2.267-2.4 0-1.235-.865-2.19-1.897-2.368l-1.677-.29Zm-10.58-3.204a4.944 4.944 0 0 0-.201-.004c-2.75 0-4.978 2.298-4.978 5.133s2.229 5.133 4.978 5.133h12.088c2.357 0 4.267-1.97 4.267-4.4 0-2.18-1.538-3.99-3.556-4.339v-.06c0-3.24-2.865-5.867-6.4-5.867-2.983 0-5.49 1.871-6.199 4.404Z' fill='%23000'/%3E%3C/svg%3E",pricingTitle:__("Jetpack Backup","jetpack-backup-pkg"),title:__("The best real‑time WordPress backups","jetpack-backup-pkg"),apiRoot:t,apiNonce:e,registrationNonce:n,from:"jetpack-backup",redirectUri:"admin.php?page=jetpack-backup"},c().createElement("h3",null,__("Save every change and get back online quickly with one‑click restores.","jetpack-backup-pkg")),c().createElement("ul",null,c().createElement("li",null,__("Automated real-time backups","jetpack-backup-pkg")),c().createElement("li",null,__("Easy one-click restores","jetpack-backup-pkg")),c().createElement("li",null,__("Complete list of all site changes","jetpack-backup-pkg")),c().createElement("li",null,__("Global server infrastructure","jetpack-backup-pkg")),c().createElement("li",null,__("Best-in-class support","jetpack-backup-pkg"))))]}},2228:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},6143:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},4845:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},2083:function(e,t,n){"use strict";var i=n(9818),c=n(2228),o=n(8242),r=n(6143),a=n(4845),s=n(2388);const l=(0,i.combineReducers)({connectedPlugins:a.Z,API:c.Z,jetpackStatus:o.Z,assets:r.Z,siteData:s.Z});t.Z=l},8242:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},2388:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},675:function(e,t){"use strict";t.Z={getAPIRoot:e=>e.API.WP_API_root||null,getAPINonce:e=>e.API.WP_API_nonce||null,getRegistrationNonce:e=>e.API.registrationNonce||null}},2175:function(e,t){"use strict";t.Z={getConnectedPlugins:e=>e.connectedPlugins||[]}},9325:function(e,t,n){"use strict";var i=n(675),c=n(4677),o=n(2175),r=n(7513);const a={...i.Z,...c.Z,...o.Z,...r.Z};t.Z=a},4677:function(e,t){"use strict";t.Z={getCalypsoSlug:e=>e.jetpackStatus.calypsoSlug||{}}},7513:function(e,t){"use strict";t.Z={getSiteData:e=>e.siteData||[],getSiteTitle:e=>{var t;return(null===(t=e.siteData)||void 0===t?void 0:t.title)||""}}},5993:function(e,t,n){"use strict";n.d(t,{i:function(){return r},t:function(){return o}});var i=n(2083),c=n(9325);const o="jetpack-backup-plugin",r={reducer:i.Z,selectors:c.Z,initialState:window.JPBACKUP_INITIAL_STATE||{}}},4444:function(e,t,n){"use strict";e.exports=n.p+"images/backup-animation-1-8d65f9365c217c43eb01.svg"},6476:function(e,t,n){"use strict";e.exports=n.p+"images/backup-animation-2-4d8da04fb34b29957030.svg"},8406:function(e,t,n){"use strict";e.exports=n.p+"images/backup-animation-3-1c6df0c7bc8546e712d8.svg"},4256:function(e,t,n){"use strict";e.exports=n.p+"images/cloud-alert-cf8336f3384ee5b98a9e.svg"},50:function(e,t,n){"use strict";e.exports=n.p+"images/cloud-35473ae2758e9f3e353d.svg"},7410:function(e,t,n){"use strict";e.exports=n.p+"images/plugins-d0898bae4e79a6e05b9e.svg"},8287:function(e,t,n){"use strict";e.exports=n.p+"images/posts-7a4c9e22d20abaac65d6.svg"},4535:function(e,t,n){"use strict";e.exports=n.p+"images/themes-700cf8bdf1049fdbc94a.svg"},567:function(e,t,n){"use strict";e.exports=n.p+"images/uploads-7a7b15dfda25508a8d68.svg"},4608:function(e){"use strict";if(void 0==={consumer_slug:"jetpack-backup"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-backup"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-backup"}},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},6989:function(e){"use strict";e.exports=window.wp.apiFetch},5609:function(e){"use strict";e.exports=window.wp.components},9818:function(e){"use strict";e.exports=window.wp.data},9771:function(e){"use strict";e.exports=window.wp.date},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},6483:function(e){"use strict";e.exports=window.wp.url}},t={};function n(i){var c=t[i];if(void 0!==c)return c.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");i.length&&(e=i[i.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),function(){"use strict";var e=n(9196),t=n.n(e),i=n(1850),c=n.n(i),o=n(9818),r=n(3133),a=n(5993);const s=(0,o.createReduxStore)(a.t,a.i);(0,o.register)(s),function(){const e=document.getElementById("jetpack-backup-root");null!==e&&c().render(t().createElement(r.Z,null),e)}()}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.js.LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.js.LICENSE.txt
new file mode 100644
index 00000000..2d8ad0cf
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.js.LICENSE.txt
@@ -0,0 +1,13 @@
+/*
+ * Exposes number format capability
+ *
+ * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
+ * @license See CREDITS.md
+ * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
+ */
+
+/*!
+ Copyright (c) 2018 Jed Watson.
+ Licensed under the MIT License (MIT), see
+ http://jedwatson.github.io/classnames
+*/
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.rtl.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.rtl.css
new file mode 100644
index 00000000..80f1d1b4
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/index.rtl.css
@@ -0,0 +1 @@
+.stat-block{display:flex;flex:1;flex-direction:column}.stat-block .icon{flex:2}.stat-block .icon img{height:24px;margin-top:24px;width:24px}.stat-block .label{flex:1;font-weight:700}.stat-block .value{flex:1}.stat-block .large-text{font-size:2em;font-weight:700}.backup__card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 0 40px rgba(0,0,0,.08);padding:24px}.backup__card-details-items{font-weight:500;margin:16px 0 -8px}.backup__card-details-amount{font-size:var(--font-title-large);font-weight:600;margin-bottom:-12px}.backup__progress{margin-bottom:48px;margin-left:64px}.backup__progress-info{display:flex;font-weight:500}.backup__progress-info .backup__progress-info-percentage{margin-right:auto}.backup__progress-bar,.backup__progress-bar-actual{border-radius:8px;height:12px}.backup__progress-bar{background:var(--jp-gray-off);position:relative;width:100%}.backup__progress-bar-actual{background:var(--jp-green-primary);position:absolute;right:0;top:0;width:0}.backup__latest{align-items:center;display:flex;margin-bottom:8px}.backup__latest img,.backup__latest svg{min-height:32px;min-width:32px}.backup__latest h2{margin:0 12px 0 0;vertical-align:-1px}.backup__latest+h1{white-space:nowrap}.backup__animation{position:relative}@media only screen and (max-width:960px){.backup__animation{display:none}}.backup__animation-el-1,.backup__animation-el-2,.backup__animation-el-3{animation:animation-el-3 4s ease-in-out .8s infinite normal forwards;opacity:0;position:absolute;z-index:4}.backup__animation-el-1{animation-delay:.6s;animation-name:animation-el-1;bottom:150px;left:264px}.backup__animation-el-2{animation-delay:.7s;animation-name:animation-el-2;bottom:108px;left:44px}.backup__animation-el-3{animation-name:animation-el-3;bottom:-32px}@keyframes animation-el-1{0%{opacity:0;transform:translateY(32px)}20%{opacity:1;transform:translateY(0)}50%{opacity:1;transform:translateY(0)}60%{opacity:0;transform:translateY(-96px)}to{opacity:0;transform:translateY(-96px)}}@keyframes animation-el-2{0%{opacity:0;transform:translateY(64px)}20%{opacity:1;transform:translateY(0)}50%{opacity:1;transform:translateY(0)}60%{opacity:0;transform:translateY(-96px)}to{opacity:0;transform:translateY(-96px)}}@keyframes animation-el-3{0%{opacity:0;transform:translateY(44px)}20%{opacity:1;transform:translateY(0)}50%{opacity:1;transform:translateY(0)}60%{opacity:0;transform:translateY(-84px)}to{opacity:0;transform:translateY(-84px)}}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:70%}.jp-connection__connect-screen-required-plan{background:linear-gradient(270deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{position:absolute;right:62%;top:14%}}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__with-subscription{margin-top:38px}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button{display:inline}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);font:inherit;height:auto;line-height:20px;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-left-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red)!important;line-height:25px!important;padding-right:25px}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-right:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px rgba(0,0,0,.08);max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-left:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;position:absolute;right:0;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-footer,.jp-header{padding:20px 0}@media(min-width:960px){.jp-footer,.jp-header{padding:40px 0}}.jp-content{font-size:var(--font-body);line-height:1.5;position:relative}.jp-content h1,.jp-content h2,.jp-content h3,.jp-content h4,.jp-content h5,.jp-content h6{line-height:1.2;margin-top:0}.jp-content h1{font-size:var(--font-title-large);font-weight:600}.jp-content h2{font-size:var(--font-title-small);font-weight:500}.jp-content .jp-section h2,.jp-content .jp-section h3{margin-bottom:16px}.jp-content .jp-section p{margin-top:16px}.jp-content li,.jp-content p{font-size:16px;line-height:1.5}.jp-content .jp-connection-status-card h3,.jp-content .jpb-my-plan-container h3{font-size:var(--font-title-small);font-weight:500;margin-top:48px}.jp-content a{color:var(--jp-black);transition:color,background-color .15s ease-out}.jp-content a:hover{text-decoration-thickness:var(--jp-underline-thickness)}.jp-content a:focus{outline-color:var(--jp-black)}.jp-content .button{background:var(--jp-black);border:0;border-color:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white);display:inline-block;font-weight:500;padding:8px 24px;text-decoration:none}.jp-content .button.is-full-width{text-align:center;width:100%}.jp-content .button:active,.jp-content .button:hover{background:var(--jp-black-80);color:var(--jp-white)}.jp-content .button:focus{box-shadow:0 0 0 1px var(--jp-white) inset,0 0 0 2px var(--jp-black)}.jp-content .button.disabled,.jp-content .button:disabled{background:var(--jp-gray);pointer-events:none}.jp-content ul.jp-product-promote li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-right:30px}.jp-hero{background:var(--jp-white-off);margin-bottom:64px;padding:64px 0}.jp-hero.is-backup-performing{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='624' height='400' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M624 88.387C575.321 34.082 504.674 0 426 0 323.405 0 234.3 58.22 189.925 143.42 83.07 154.78 0 245.305 0 355c0 38.16 10.072 73.999 27.698 105H624V88.387z' fill='%23fff'/%3E%3C/svg%3E");background-position:0 100%;background-repeat:no-repeat}.jp-hero.is-backup-error,.jp-hero.is-backup-healthy{display:none}.jp-hero p+.button{margin-top:18px}.jp-dashboard-footer{padding:40px 0}.jp-connection-status-card--status{margin:30px 0}@keyframes appear{0%{opacity:0}to{opacity:1}}.jp-masthead{background-color:#fff;padding:40px 0;text-align:center}@media(max-width:rem(782px)){.jp-masthead{padding:0 rem(24px)}.jetpack-masterbar .jp-masthead{padding-right:rem(64px)}}.jp-masthead__inside-container{display:flex;flex-wrap:wrap;margin:0 auto;max-width:rem(1040px);padding-bottom:rem(6px);width:100%}@media(max-width:1250px){.jp-masthead__inside-container{max-width:95%}}.jp-masthead__logo-container{flex-grow:0;flex-shrink:0;padding:rem(11px) 0 0}@media(max-width:480px){.jp-masthead__logo-container{margin-left:rem(16px)}}.jp-masthead__logo-link{display:inline-block;outline:none;vertical-align:middle}.jp-masthead__logo-link:focus{box-shadow:0 0 0 2px #78dcfa;line-height:0}.jp-masthead__logo-link+code{background:#e6ecf1;border-radius:2px;color:#647a88;margin:0 10px;padding:5px 9px}.jp-masthead__nav{display:flex;flex-grow:1;flex-shrink:0;flex-wrap:nowrap;margin-top:rem(6px);padding:rem(4px) 0;text-align:left}.jp-masthead__nav .dops-button-group{align-self:center;flex-grow:1;font-size:0}@media(max-width:480px){.jp-masthead__nav{text-align:right}}#sandbox-domain-badge{background:#d63638;color:#fff;cursor:pointer;font-size:9px;font-weight:700;letter-spacing:.2em;text-shadow:none;text-transform:uppercase}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1128px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;max-width:var(--max-container-width);width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.vMa4i_Dza2t5Zi_Bw9Nf{background:var(--jp-white-off)}.cAbGtJDGgLubucBnz7vM{background-color:var(--jp-white)}.sexr0jUxC1jVixdKiDnC{margin-right:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-right:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-right:5px} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/package.json b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/package.json
new file mode 100644
index 00000000..ac51fc8b
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/package.json
@@ -0,0 +1,53 @@
+{
+ "private": true,
+ "description": "Easily restore or download a backup of your site from a specific moment in time.",
+ "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/backup/#readme",
+ "bugs": {
+ "url": "https://github.com/Automattic/jetpack/labels/[Package] Backup"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/Automattic/jetpack.git",
+ "directory": "projects/packages/backup"
+ },
+ "license": "GPL-2.0-or-later",
+ "author": "Automattic",
+ "scripts": {
+ "build": "pnpm run clean && pnpm run build-client",
+ "build-client": "webpack",
+ "build-concurrently": "pnpm run clean && concurrently 'pnpm:build-client' 'pnpm:build-php'",
+ "build-production-concurrently": "pnpm run clean && concurrently 'NODE_ENV=production BABEL_ENV=production pnpm run build-client' && pnpm run validate",
+ "clean": "rm -rf build/",
+ "validate": "pnpm exec validate-es build/",
+ "watch": "pnpm run build && webpack watch"
+ },
+ "browserslist": [
+ "extends @wordpress/browserslist-config"
+ ],
+ "dependencies": {
+ "@automattic/jetpack-api": "^0.13",
+ "@automattic/jetpack-components": "^0.15",
+ "@automattic/jetpack-connection": "^0.18",
+ "@wordpress/api-fetch": "6.6.0",
+ "@wordpress/data": "6.9.0",
+ "@wordpress/element": "4.7.0",
+ "@wordpress/date": "4.9.0",
+ "@wordpress/i18n": "4.9.0",
+ "react": "17.0.2",
+ "react-dom": "17.0.2"
+ },
+ "devDependencies": {
+ "@automattic/jetpack-base-styles": "^0.3",
+ "@automattic/jetpack-webpack-config": "^1.3",
+ "@babel/core": "7.17.10",
+ "@babel/preset-env": "7.17.10",
+ "@babel/register": "7.17.7",
+ "@babel/runtime": "7.17.9",
+ "@wordpress/browserslist-config": "4.1.2",
+ "concurrently": "6.0.2",
+ "sass": "1.43.3",
+ "sass-loader": "12.4.0",
+ "webpack": "5.72.1",
+ "webpack-cli": "4.9.1"
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-initial-state.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-initial-state.php
new file mode 100644
index 00000000..e5bf0a84
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-initial-state.php
@@ -0,0 +1,54 @@
+<?php
+/**
+ * The React initial state.
+ *
+ * @package automattic/jetpack-backup-plugin
+ */
+
+namespace Automattic\Jetpack\Backup;
+
+use Automattic\Jetpack\Connection\Plugin_Storage as Connection_Plugin_Storage;
+use Automattic\Jetpack\Status;
+
+/**
+ * The React initial state.
+ */
+class Initial_State {
+ /**
+ * Get the initial state data.
+ *
+ * @return array
+ */
+ private function get_data() {
+ return array(
+ 'API' => array(
+ 'WP_API_root' => esc_url_raw( rest_url() ),
+ 'WP_API_nonce' => wp_create_nonce( 'wp_rest' ),
+ 'registrationNonce' => wp_create_nonce( 'jetpack-registration-nonce' ),
+ ),
+ 'jetpackStatus' => array(
+ 'calypsoSlug' => ( new Status() )->get_site_suffix(),
+ ),
+ 'connectedPlugins' => Connection_Plugin_Storage::get_all(),
+ 'siteData' => array(
+ 'id' => \Jetpack_Options::get_option( 'id' ),
+ 'title' => get_bloginfo( 'name' ) ? get_bloginfo( 'name' ) : get_site_url(),
+ ),
+ 'assets' => array(
+ 'buildUrl' => plugins_url( '../build/', __FILE__ ),
+ ),
+ );
+ }
+
+ /**
+ * Render the initial state into a JavaScript variable.
+ *
+ * @return string
+ */
+ public function render() {
+ add_action( 'jetpack_use_iframe_authorization_flow', '__return_true' );
+
+ return 'var JPBACKUP_INITIAL_STATE=JSON.parse(decodeURIComponent("' . rawurlencode( wp_json_encode( $this->get_data() ) ) . '"));';
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup-upgrades.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup-upgrades.php
new file mode 100644
index 00000000..46e09d82
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup-upgrades.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Handle Backup plugin upgrades
+ *
+ * @package automattic/jetpack-backup-plugin
+ */
+
+namespace Automattic\Jetpack\Backup;
+
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+
+/**
+ * The Upgrades class.
+ */
+class Jetpack_Backup_Upgrades {
+
+ /**
+ * Run all methods only once and store an option to make sure it never runs again
+ */
+ public static function upgrade() {
+
+ $upgrades = get_class_methods( __CLASS__ );
+
+ foreach ( $upgrades as $upgrade ) {
+ $option_name = '_upgrade_' . $upgrade;
+ if ( 'upgrade' === $upgrade || get_option( $option_name ) ) {
+ continue;
+ }
+
+ update_option( $option_name, 1 );
+
+ call_user_func( array( __CLASS__, $upgrade ) );
+
+ }
+
+ }
+
+ /**
+ * The plugin is not checking if it was disabled and reactivating it when we reconnect, therefore we need to clear this information from DB so other plugins know we are still using the connection
+ */
+ public static function clear_disabled_plugin() {
+ $manager = new Connection_Manager( 'jetpack-backup' );
+ $manager->enable_plugin();
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup.php
new file mode 100644
index 00000000..aed428ae
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup.php
@@ -0,0 +1,378 @@
+<?php
+/**
+ * Primary class file for the Jetpack Backup plugin.
+ *
+ * @package automattic/jetpack-backup-plugin
+ */
+
+if ( ! defined( 'ABSPATH' ) ) {
+ exit;
+}
+
+use Automattic\Jetpack\Admin_UI\Admin_Menu;
+use Automattic\Jetpack\Assets;
+use Automattic\Jetpack\Backup\Initial_State as Backup_Initial_State;
+use Automattic\Jetpack\Backup\Jetpack_Backup_Upgrades;
+use Automattic\Jetpack\Connection\Initial_State as Connection_Initial_State;
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Connection\Rest_Authentication as Connection_Rest_Authentication;
+use Automattic\Jetpack\My_Jetpack\Initializer as My_Jetpack_Initializer;
+use Automattic\Jetpack\Status;
+
+/**
+ * Class Jetpack_Backup
+ */
+class Jetpack_Backup {
+
+ /**
+ * Slug.
+ *
+ * @var string
+ */
+ const JETPACK_BACKUP_SLUG = 'jetpack-backup';
+
+ /**
+ * Backup name.
+ *
+ * @var string
+ */
+ const JETPACK_BACKUP_NAME = 'Jetpack Backup';
+
+ /**
+ * Backup URL.
+ *
+ * @var string
+ */
+ const JETPACK_BACKUP_URI = 'https://jetpack.com/jetpack-backup';
+
+ /**
+ * Promoted product.
+ *
+ * @var string
+ */
+ const JETPACK_BACKUP_PROMOTED_PRODUCT = 'jetpack_backup_t1_yearly';
+
+ /**
+ * Jetpack Backup DB version.
+ *
+ * @var string
+ */
+ const JETPACK_BACKUP_DB_VERSION = '2';
+
+ /**
+ * Constructor.
+ */
+ public static function initialize() {
+ if ( did_action( 'jetpack_backup_initialized' ) ) {
+ return;
+ }
+
+ // Set up the REST authentication hooks.
+ Connection_Rest_Authentication::init();
+
+ add_action( 'rest_api_init', array( __CLASS__, 'register_rest_routes' ) );
+
+ $page_suffix = Admin_Menu::add_menu(
+ __( 'Jetpack Backup', 'jetpack-backup-pkg' ),
+ _x( 'Backup', 'The Jetpack Backup product name, without the Jetpack prefix', 'jetpack-backup-pkg' ),
+ 'manage_options',
+ 'jetpack-backup',
+ array( __CLASS__, 'plugin_settings_page' ),
+ 99
+ );
+ add_action( 'load-' . $page_suffix, array( __CLASS__, 'admin_init' ) );
+
+ // Init Jetpack packages and ConnectionUI.
+ add_action(
+ 'plugins_loaded',
+ function () {
+ $config = new Automattic\Jetpack\Config();
+ // Connection package.
+ $config->ensure(
+ 'connection',
+ array(
+ 'slug' => self::JETPACK_BACKUP_SLUG,
+ 'name' => self::JETPACK_BACKUP_NAME,
+ 'url_info' => self::JETPACK_BACKUP_URI,
+ )
+ );
+ // Sync package.
+ $config->ensure( 'sync' );
+
+ // Identity crisis package.
+ $config->ensure( 'identity_crisis' );
+ },
+ 1
+ );
+
+ add_action( 'plugins_loaded', array( __CLASS__, 'maybe_upgrade_db' ), 20 );
+
+ My_Jetpack_Initializer::init();
+
+ /**
+ * Runs right after the Jetpack Backup package is initialized.
+ *
+ * @since 1.3.0
+ */
+ do_action( 'jetpack_backup_initialized' );
+ }
+
+ /**
+ * Initialize the admin resources.
+ */
+ public static function admin_init() {
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_admin_scripts' ) );
+ }
+
+ /**
+ * Checks current version against version in code and run upgrades if we are running a new version
+ */
+ public static function maybe_upgrade_db() {
+ $current_db_version = get_option( 'jetpack_backup_db_version' );
+ if ( version_compare( $current_db_version, self::JETPACK_BACKUP_DB_VERSION, '<' ) ) {
+ update_option( 'jetpack_backup_db_version', self::JETPACK_BACKUP_DB_VERSION );
+ Jetpack_Backup_Upgrades::upgrade();
+ }
+ }
+
+ /**
+ * Enqueue plugin admin scripts and styles.
+ */
+ public static function enqueue_admin_scripts() {
+ $status = new Status();
+ $manager = new Connection_Manager( 'jetpack-backup' );
+
+ Assets::register_script(
+ 'jetpack-backup',
+ '../build/index.js',
+ __FILE__,
+ array(
+ 'in_footer' => true,
+ 'textdomain' => 'jetpack-backup-pkg',
+ )
+ );
+ Assets::enqueue_script( 'jetpack-backup' );
+ // Initial JS state including JP Connection data.
+ wp_add_inline_script( 'jetpack-backup', self::get_initial_state(), 'before' );
+ wp_add_inline_script( 'jetpack-backup', Connection_Initial_State::render(), 'before' );
+
+ // Load script for analytics.
+ if ( ! $status->is_offline_mode() && $manager->is_connected() ) {
+ wp_enqueue_script( 'jp-tracks', '//stats.wp.com/w.js', array(), gmdate( 'YW' ), true );
+ }
+ }
+
+ /**
+ * Main plugin settings page.
+ */
+ public static function plugin_settings_page() {
+ ?>
+ <div id="jetpack-backup-root"></div>
+ <?php
+ }
+
+ /**
+ * Return the rendered initial state JavaScript code.
+ *
+ * @return string
+ */
+ private static function get_initial_state() {
+ return ( new Backup_Initial_State() )->render();
+ }
+
+ /**
+ * Register REST API
+ */
+ public static function register_rest_routes() {
+
+ // Get information on most recent 10 backups.
+ register_rest_route(
+ 'jetpack/v4',
+ '/backups',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_recent_backups',
+ 'permission_callback' => __CLASS__ . '::backups_permissions_callback',
+ )
+ );
+
+ // Get site backup/scan/anti-spam capabilities.
+ register_rest_route(
+ 'jetpack/v4',
+ '/backup-capabilities',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_backup_capabilities',
+ 'permission_callback' => __CLASS__ . '::backups_permissions_callback',
+ )
+ );
+
+ // Get information on site products.
+ // Backup plugin version of /site/purchases from JP plugin.
+ // Revert once this route and MyPlan component are extracted to a common package.
+ register_rest_route(
+ 'jetpack/v4',
+ '/site/current-purchases',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_site_current_purchases',
+ 'permission_callback' => __CLASS__ . '::backups_permissions_callback',
+ )
+ );
+
+ // Get currently promoted product from the product's endpoint.
+ register_rest_route(
+ 'jetpack/v4',
+ '/backup-promoted-product-info',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_backup_promoted_product_info',
+ 'permission_callback' => __CLASS__ . '::backups_permissions_callback',
+ )
+ );
+ }
+ /**
+ * The backup calls should only occur from a signed in admin user
+ *
+ * @access public
+ * @static
+ *
+ * @return true|WP_Error
+ */
+ public static function backups_permissions_callback() {
+ return current_user_can( 'manage_options' );
+ }
+
+ /**
+ * Get information about recent backups
+ *
+ * @access public
+ * @static
+ *
+ * @return array An array of recent backups
+ */
+ public static function get_recent_backups() {
+ $blog_id = \Jetpack_Options::get_option( 'id' );
+
+ $response = Automattic\Jetpack\Connection\Client::wpcom_json_api_request_as_blog(
+ '/sites/' . $blog_id . '/rewind/backups',
+ 'v2',
+ array(),
+ null,
+ 'wpcom'
+ );
+
+ if ( 200 !== $response['response']['code'] ) {
+ return null;
+ }
+
+ return rest_ensure_response(
+ json_decode( $response['body'], true )
+ );
+ }
+
+ /**
+ * Get an array of backup/scan/anti-spam site capabilities
+ *
+ * @access public
+ * @static
+ *
+ * @return array An array of capabilities
+ */
+ public static function get_backup_capabilities() {
+ $blog_id = \Jetpack_Options::get_option( 'id' );
+
+ $response = Automattic\Jetpack\Connection\Client::wpcom_json_api_request_as_user(
+ '/sites/' . $blog_id . '/rewind/capabilities',
+ 'v2',
+ array(),
+ null,
+ 'wpcom'
+ );
+
+ if ( is_wp_error( $response ) ) {
+ return null;
+ }
+
+ if ( 200 !== $response['response']['code'] ) {
+ return null;
+ }
+
+ return rest_ensure_response(
+ json_decode( $response['body'], true )
+ );
+ }
+
+ /**
+ * Gets information about the currently promoted backup product.
+ *
+ * @return string|WP_Error A JSON object of the current backup product being promoted if the request was successful, or a WP_Error otherwise.
+ */
+ public static function get_backup_promoted_product_info() {
+ $request_url = 'https://public-api.wordpress.com/rest/v1.1/products?locale=' . get_user_locale() . '&type=jetpack';
+ $wpcom_request = wp_remote_get( esc_url_raw( $request_url ) );
+ $response_code = wp_remote_retrieve_response_code( $wpcom_request );
+ if ( 200 === $response_code ) {
+ $products = json_decode( wp_remote_retrieve_body( $wpcom_request ) );
+ return $products->{self::JETPACK_BACKUP_PROMOTED_PRODUCT};
+ } else {
+ // Something went wrong so we'll just return the response without caching.
+ return new WP_Error(
+ 'failed_to_fetch_data',
+ esc_html__( 'Unable to fetch the requested data.', 'jetpack-backup-pkg' ),
+ array(
+ 'status' => $response_code,
+ 'request' => $wpcom_request,
+ )
+ );
+ }
+ }
+
+ /**
+ * Removes plugin from the connection manager
+ * If it's the last plugin using the connection, the site will be disconnected.
+ *
+ * @access public
+ * @static
+ */
+ public static function plugin_deactivation() {
+ $manager = new Connection_Manager( 'jetpack-backup' );
+ $manager->remove_connection();
+ }
+
+ /**
+ * Returns the result of `/sites/%d/purchases` endpoint call.
+ *
+ * @return array of site purchases.
+ */
+ public static function get_site_current_purchases() {
+
+ $request = sprintf( '/sites/%d/purchases', \Jetpack_Options::get_option( 'id' ) );
+ $response = Automattic\Jetpack\Connection\Client::wpcom_json_api_request_as_blog( $request, '1.1' );
+
+ // Bail if there was an error or malformed response.
+ if ( is_wp_error( $response ) || ! is_array( $response ) || ! isset( $response['body'] ) ) {
+ return self::get_failed_fetch_error();
+ }
+
+ if ( 200 !== (int) wp_remote_retrieve_response_code( $response ) ) {
+ return self::get_failed_fetch_error();
+ }
+
+ // Decode the results.
+ $results = json_decode( $response['body'], true );
+
+ // Bail if there were no results or purchase details returned.
+ if ( ! is_array( $results ) ) {
+ return self::get_failed_fetch_error();
+ }
+
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ 'message' => esc_html__( 'Site purchases correctly received.', 'jetpack-backup-pkg' ),
+ 'data' => wp_remote_retrieve_body( $response ),
+ )
+ );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php
index b38415bf..1a0246ac 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php
@@ -12,7 +12,7 @@ namespace Automattic\Jetpack\Backup;
*/
class Package_Version {
- const PACKAGE_VERSION = '1.2.0';
+ const PACKAGE_VERSION = '1.3.7';
const PACKAGE_SLUG = 'backup';
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/Admin.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/Admin.js
new file mode 100644
index 00000000..9f90d5d7
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/Admin.js
@@ -0,0 +1,247 @@
+/**
+ * External dependencies
+ */
+import { useState, useEffect } from '@wordpress/element';
+import { __ } from '@wordpress/i18n';
+import apiFetch from '@wordpress/api-fetch';
+import { useSelect } from '@wordpress/data';
+import {
+ AdminPage,
+ AdminSection,
+ AdminSectionHero,
+ Container,
+ Col,
+ getRedirectUrl,
+ PricingCard,
+} from '@automattic/jetpack-components';
+
+/**
+ * Internal dependencies
+ */
+import Backups from './Backups';
+import useConnection from '../hooks/useConnection';
+import './admin-style.scss';
+import './masthead/masthead-style.scss';
+import { STORE_ID } from '../store';
+
+/* eslint react/react-in-jsx-scope: 0 */
+const Admin = () => {
+ const [ connectionStatus, renderConnectScreen ] = useConnection();
+ const [ capabilities, setCapabilities ] = useState( [] );
+ const [ capabilitiesError, setCapabilitiesError ] = useState( null );
+ const [ connectionLoaded, setConnectionLoaded ] = useState( false );
+ const [ capabilitiesLoaded, setCapabilitiesLoaded ] = useState( false );
+ const [ showHeaderFooter, setShowHeaderFooter ] = useState( true );
+ const [ price, setPrice ] = useState( 0 );
+ const [ priceAfter, setPriceAfter ] = useState( 0 );
+
+ const domain = useSelect( select => select( STORE_ID ).getCalypsoSlug(), [] );
+
+ useEffect( () => {
+ if ( 0 < Object.keys( connectionStatus ).length ) {
+ setConnectionLoaded( true );
+ }
+ }, [ connectionStatus ] );
+
+ useEffect( () => {
+ apiFetch( { path: '/jetpack/v4/backup-capabilities' } ).then(
+ res => {
+ setCapabilities( res.capabilities );
+ setCapabilitiesLoaded( true );
+ },
+ () => {
+ setCapabilitiesLoaded( true );
+ setCapabilitiesError( 'Failed to fetch site capabilities' );
+ }
+ );
+ apiFetch( { path: '/jetpack/v4/backup-promoted-product-info' } ).then( res => {
+ setPrice( res.cost / 12 );
+ if ( res.introductory_offer ) {
+ setPriceAfter( res.introductory_offer.cost_per_interval / 12 );
+ } else {
+ setPriceAfter( res.cost / 12 );
+ }
+ } );
+ }, [] );
+
+ const isFullyConnected = () => {
+ return connectionLoaded && connectionStatus.isUserConnected && connectionStatus.isRegistered;
+ };
+
+ const hasBackupPlan = () => {
+ return capabilities.includes( 'backup' );
+ };
+
+ const sendToCart = () => {
+ window.location.href = getRedirectUrl( 'backup-plugin-upgrade-10gb', { site: domain } );
+ };
+
+ const renderNoBackupCapabilities = () => {
+ const basicInfoText = __( '14 day money back guarantee.', 'jetpack-backup-pkg' );
+ const introductoryInfoText = __(
+ 'Special introductory pricing, all renewals are at full price. 14 day money back guarantee.',
+ 'jetpack-backup-pkg'
+ );
+ return (
+ <Container horizontalSpacing={ 3 } horizontalGap={ 3 }>
+ <Col lg={ 6 } md={ 6 } sm={ 4 }>
+ <h1>{ __( 'Secure your site with a Backup subscription.', 'jetpack-backup-pkg' ) }</h1>
+ <p>
+ { ' ' }
+ { __(
+ 'Get peace of mind knowing that all your work will be saved, and get back online quickly with one-click restores.',
+ 'jetpack-backup-pkg'
+ ) }
+ </p>
+ <ul className="jp-product-promote">
+ <li>{ __( 'Automated real-time backups', 'jetpack-backup-pkg' ) }</li>
+ <li>{ __( 'Easy one-click restores', 'jetpack-backup-pkg' ) }</li>
+ <li>{ __( 'Complete list of all site changes', 'jetpack-backup-pkg' ) }</li>
+ <li>{ __( 'Global server infrastructure', 'jetpack-backup-pkg' ) }</li>
+ <li>{ __( 'Best-in-class support', 'jetpack-backup-pkg' ) }</li>
+ </ul>
+ </Col>
+ <Col lg={ 1 } md={ 1 } sm={ 0 } />
+ <Col lg={ 5 } md={ 6 } sm={ 4 }>
+ <PricingCard
+ ctaText={ __( 'Get Jetpack Backup', 'jetpack-backup-pkg' ) }
+ icon="data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.092 15.164.019-1.703v-.039c0-1.975-1.803-3.866-4.4-3.866-2.17 0-3.828 1.351-4.274 2.943l-.426 1.524-1.581-.065a2.92 2.92 0 0 0-.12-.002c-1.586 0-2.977 1.344-2.977 3.133 0 1.787 1.388 3.13 2.973 3.133H22.399c1.194 0 2.267-1.016 2.267-2.4 0-1.235-.865-2.19-1.897-2.368l-1.677-.29Zm-10.58-3.204a4.944 4.944 0 0 0-.201-.004c-2.75 0-4.978 2.298-4.978 5.133s2.229 5.133 4.978 5.133h12.088c2.357 0 4.267-1.97 4.267-4.4 0-2.18-1.538-3.99-3.556-4.339v-.06c0-3.24-2.865-5.867-6.4-5.867-2.983 0-5.49 1.871-6.199 4.404Z' fill='%23000'/%3E%3C/svg%3E"
+ infoText={ priceAfter === price ? basicInfoText : introductoryInfoText }
+ // eslint-disable-next-line react/jsx-no-bind
+ onCtaClick={ sendToCart }
+ priceAfter={ priceAfter }
+ priceBefore={ price }
+ title={ __( 'Jetpack Backup', 'jetpack-backup-pkg' ) }
+ />
+ </Col>
+ </Container>
+ );
+ };
+
+ const renderLoadedState = () => {
+ if (
+ ! connectionLoaded ||
+ ! connectionStatus.isUserConnected ||
+ ! connectionStatus.isRegistered
+ ) {
+ if ( showHeaderFooter ) {
+ setShowHeaderFooter( false );
+ }
+
+ return (
+ <Container horizontalSpacing={ 3 } horizontalGap={ 3 }>
+ <Col lg={ 12 } md={ 8 } sm={ 4 }>
+ { renderConnectScreen() }
+ </Col>
+ </Container>
+ );
+ }
+
+ // Show header and footer on all screens except ConnectScreen
+ if ( ! showHeaderFooter ) {
+ setShowHeaderFooter( true );
+ }
+
+ if ( ! capabilitiesLoaded ) {
+ return <div></div>;
+ }
+
+ if ( hasBackupPlan() ) {
+ return (
+ <Container horizontalSpacing={ 5 } fluid>
+ <Col>
+ <Backups />
+ </Col>
+ </Container>
+ );
+ }
+
+ // Render an error state, this shouldn't occurr since we've passed userConnected checks
+ if ( capabilitiesError ) {
+ return (
+ <Container horizontalSpacing={ 3 }>
+ <Col lg={ 12 } md={ 8 } sm={ 4 }>
+ { capabilitiesError }
+ </Col>
+ </Container>
+ );
+ }
+
+ return renderNoBackupCapabilities();
+ };
+
+ // Renders additional segments under the jp-hero area condition on having a backup plan
+ const renderBackupSegments = () => {
+ return (
+ <Container horizontalSpacing={ 3 } horizontalGap={ 3 }>
+ <Col lg={ 6 } md={ 4 }>
+ <h2>{ __( 'Your cloud backups', 'jetpack-backup-pkg' ) }</h2>
+ <p>
+ { __(
+ 'All the backups are safely stored in the cloud and available for you at any time on Jetpack.com, with full details about status and content.',
+ 'jetpack-backup-pkg'
+ ) }
+ </p>
+ { hasBackupPlan() && (
+ <>
+ <p>
+ <a
+ href={ getRedirectUrl( 'jetpack-backup', { site: domain } ) }
+ target="_blank"
+ rel="noreferrer"
+ >
+ { __( 'See all your backups', 'jetpack-backup-pkg' ) }
+ </a>
+ </p>
+ </>
+ ) }
+ </Col>
+ <Col lg={ 1 } md={ 1 } sm={ 0 } />
+ <Col lg={ 5 } md={ 3 } sm={ 4 }>
+ <h2>{ __( "Your site's heartbeat", 'jetpack-backup-pkg' ) }</h2>
+ <p>
+ { __(
+ 'The activity log lets you see everything that’s going on with your site outlined in an organized, readable way.',
+ 'jetpack-backup-pkg'
+ ) }
+ </p>
+ { hasBackupPlan() && (
+ <p>
+ <a
+ href={ getRedirectUrl( 'backup-plugin-activity-log', { site: domain } ) }
+ target="_blank"
+ rel="noreferrer"
+ >
+ { __( "See your site's activity", 'jetpack-backup-pkg' ) }
+ </a>
+ </p>
+ ) }
+ </Col>
+ </Container>
+ );
+ };
+
+ const renderContent = () => {
+ return (
+ <div className="content">
+ <AdminSectionHero>{ renderLoadedState() }</AdminSectionHero>
+ <AdminSection>{ isFullyConnected() && renderBackupSegments() }</AdminSection>
+ </div>
+ );
+ };
+
+ return (
+ <AdminPage
+ withHeader={ showHeaderFooter }
+ withFooter={ showHeaderFooter }
+ moduleName={ __( 'Jetpack Backup', 'jetpack-backup-pkg' ) }
+ a8cLogoHref="https://www.jetpack.com"
+ >
+ <div id="jetpack-backup-admin-container" className="jp-content">
+ { renderContent() }
+ </div>
+ </AdminPage>
+ );
+};
+
+export default Admin;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/Backups.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/Backups.js
new file mode 100644
index 00000000..ed02e77f
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/Backups.js
@@ -0,0 +1,287 @@
+/**
+ * External dependencies
+ */
+import { getDate, date, dateI18n } from '@wordpress/date';
+import { __, sprintf } from '@wordpress/i18n';
+import apiFetch from '@wordpress/api-fetch';
+import { createInterpolateElement, useState, useEffect } from '@wordpress/element';
+import { useSelect } from '@wordpress/data';
+import { getRedirectUrl } from '@automattic/jetpack-components';
+
+/**
+ * Internal dependencies
+ */
+import { STORE_ID } from '../store';
+import StatBlock from './StatBlock';
+import './backups-style.scss';
+import PostsIcon from './icons/posts.svg';
+import CloudIcon from './icons/cloud.svg';
+import CloudAlertIcon from './icons/cloud-alert.svg';
+import UploadsIcon from './icons/uploads.svg';
+import PluginsIcon from './icons/plugins.svg';
+import ThemesIcon from './icons/themes.svg';
+import BackupAnim1 from './icons/backup-animation-1.svg';
+import BackupAnim2 from './icons/backup-animation-2.svg';
+import BackupAnim3 from './icons/backup-animation-3.svg';
+
+/* eslint react/react-in-jsx-scope: 0 */
+const Backups = () => {
+ // State information
+ const [ progress, setProgress ] = useState( 0 );
+ const [ trackProgress, setTrackProgress ] = useState( 0 );
+ const [ latestTime, setLatestTime ] = useState( '' );
+ const [ stats, setStats ] = useState( {
+ posts: 0,
+ uploads: 0,
+ plugins: 0,
+ themes: 0,
+ } );
+ const domain = useSelect( select => select( STORE_ID ).getCalypsoSlug(), [] );
+ const siteTitle = useSelect( select => select( STORE_ID ).getSiteTitle(), '' );
+
+ const BACKUP_STATE = {
+ LOADING: 0,
+ IN_PROGRESS: 1,
+ NO_BACKUPS: 2,
+ NO_BACKUPS_RETRY: 3,
+ NO_GOOD_BACKUPS: 4,
+ COMPLETE: 5,
+ };
+ const [ backupState, setBackupState ] = useState( BACKUP_STATE.LOADING );
+
+ const progressInterval = 1 * 1000; // How often to poll for backup progress updates.
+
+ // Loads data on startup and whenever trackProgress updates.
+ useEffect( () => {
+ apiFetch( { path: '/jetpack/v4/backups' } ).then(
+ res => {
+ // If we have no backups don't load up stats.
+ let latestBackup = null;
+ if ( res.length === 0 ) {
+ setBackupState( BACKUP_STATE.NO_BACKUPS );
+ } else if ( res.length === 1 && 'error-will-retry' === res[ 0 ].status ) {
+ setBackupState( BACKUP_STATE.NO_BACKUPS_RETRY );
+ } else {
+ // Check for the first completed backups.
+ res.forEach( backup => {
+ if ( null !== latestBackup ) {
+ return;
+ }
+
+ if ( 'finished' === backup.status && backup.stats ) {
+ latestBackup = backup;
+ setBackupState( BACKUP_STATE.COMPLETE );
+ }
+ } );
+
+ // Only the first backup can be in progress.
+ if ( null === latestBackup && 'started' === res[ 0 ].status ) {
+ latestBackup = res[ 0 ];
+ setProgress( latestBackup.percent );
+ setBackupState( BACKUP_STATE.IN_PROGRESS );
+ }
+
+ // No complete or in progress backups.
+ if ( ! latestBackup ) {
+ setBackupState( BACKUP_STATE.NO_GOOD_BACKUPS );
+ return;
+ }
+
+ // Setup data for COMPLETE state.
+ if ( 'finished' === latestBackup.status ) {
+ const postsTable = latestBackup.stats.prefix + 'posts';
+ setStats( {
+ plugins: latestBackup.stats.plugins.count,
+ themes: latestBackup.stats.themes.count,
+ uploads: latestBackup.stats.uploads.count,
+ posts: latestBackup.stats.tables[ postsTable ].post_published,
+ } );
+ setLatestTime( date( 'c', latestBackup.last_updated + '+00:00' ) );
+ }
+ }
+
+ // Repeat query for NO_BACKUPS (before first) and IN_PROGRESS
+ if ( res.length === 0 || 'started' === latestBackup.status ) {
+ // Grab progress and update every progressInterval until complete.
+ setTimeout( () => {
+ setTrackProgress( trackProgress + 1 );
+ }, progressInterval );
+ }
+ },
+ () => {
+ setBackupState( BACKUP_STATE.NO_GOOD_BACKUPS );
+ }
+ );
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [ trackProgress ] );
+
+ const renderInProgressBackup = ( showProgressBar = true ) => {
+ return (
+ <div className="jp-row">
+ <div className="lg-col-span-5 md-col-span-8 sm-col-span-4">
+ { showProgressBar && (
+ <div className="backup__progress">
+ <div className="backup__progress-info">
+ <p>
+ { sprintf(
+ /* translators: placeholder is the Site Title */
+ __( 'Backing up %s', 'jetpack-backup-pkg' ),
+ siteTitle
+ ) }
+ </p>
+ <p className="backup__progress-info-percentage">{ progress }%</p>
+ </div>
+ <div className="backup__progress-bar">
+ <div
+ className="backup__progress-bar-actual"
+ style={ { width: progress + '%' } }
+ ></div>
+ </div>
+ </div>
+ ) }
+ <h1>{ __( 'Your first cloud backup will be ready soon', 'jetpack-backup-pkg' ) }</h1>
+ <p>
+ { __(
+ 'The first backup usually takes a few minutes, so it will become available soon.',
+ 'jetpack-backup-pkg'
+ ) }
+ </p>
+ <p>
+ { createInterpolateElement(
+ __(
+ 'In the meanwhile, you can start getting familiar with your <a>backup management on Jetpack.com</a>.',
+ 'jetpack-backup-pkg'
+ ),
+ {
+ a: (
+ <a
+ href={ getRedirectUrl( 'jetpack-backup', { site: domain } ) }
+ target="_blank"
+ rel="noreferrer"
+ />
+ ),
+ }
+ ) }
+ </p>
+ </div>
+ <div className="lg-col-span-1 md-col-span-4 sm-col-span-0"></div>
+ <div className="backup__animation lg-col-span-6 md-col-span-2 sm-col-span-2">
+ <img className="backup__animation-el-1" src={ BackupAnim1 } alt="" />
+ <img className="backup__animation-el-2" src={ BackupAnim2 } alt="" />
+ <img className="backup__animation-el-3" src={ BackupAnim3 } alt="" />
+ </div>
+ </div>
+ );
+ };
+
+ const formatDateString = dateString => {
+ const todayString = __( 'Today', 'jetpack-backup-pkg' );
+ const todayDate = getDate();
+ let backupDate = todayString;
+ if ( dateI18n( 'zY', todayDate ) !== dateI18n( 'zY', dateString ) ) {
+ backupDate = dateI18n( 'M j', dateString );
+ }
+ const backupTime = dateI18n( 'g:i A', dateString );
+
+ return backupDate + ', ' + backupTime;
+ };
+
+ const renderCompleteBackup = () => {
+ return (
+ <div className="jp-row">
+ <div className="lg-col-span-3 md-col-span-4 sm-col-span-4">
+ <div className="backup__latest">
+ <img src={ CloudIcon } alt="" />
+ <h2>{ __( 'Latest Backup', 'jetpack-backup-pkg' ) }</h2>
+ </div>
+ <h1>{ formatDateString( latestTime ) }</h1>
+ <a
+ className="button is-full-width"
+ href={ getRedirectUrl( 'jetpack-backup', { site: domain } ) }
+ target="_blank"
+ rel="noreferrer"
+ >
+ { __( 'See all your backups', 'jetpack-backup-pkg' ) }
+ </a>
+ </div>
+ <div className="lg-col-span-1 md-col-span-4 sm-col-span-0"></div>
+ <div className="lg-col-span-2 md-col-span-2 sm-col-span-2">
+ <StatBlock
+ icon={ PostsIcon }
+ label={ __( 'Posts', 'jetpack-backup-pkg' ) }
+ value={ stats.posts }
+ />
+ </div>
+ <div className="lg-col-span-2 md-col-span-2 sm-col-span-2">
+ <StatBlock
+ icon={ UploadsIcon }
+ label={ __( 'Uploads', 'jetpack-backup-pkg' ) }
+ value={ stats.uploads }
+ />
+ </div>
+ <div className="lg-col-span-2 md-col-span-2 sm-col-span-2">
+ <StatBlock
+ icon={ PluginsIcon }
+ label={ __( 'Plugins', 'jetpack-backup-pkg' ) }
+ value={ stats.plugins }
+ />
+ </div>
+ <div className="lg-col-span-2 md-col-span-2 sm-col-span-2">
+ <StatBlock
+ icon={ ThemesIcon }
+ label={ __( 'Themes', 'jetpack-backup-pkg' ) }
+ value={ stats.themes }
+ />
+ </div>
+ </div>
+ );
+ };
+
+ const renderNoGoodBackups = () => {
+ return (
+ <div className="jp-row">
+ <div className="lg-col-span-5 md-col-span-4 sm-col-span-4">
+ <img src={ CloudAlertIcon } alt="" />
+ <h1>{ __( "We're having trouble backing up your site", 'jetpack-backup-pkg' ) }</h1>
+ <p>
+ { createInterpolateElement(
+ __(
+ ' <a>Get in touch with us</a> to get your site backups going again.',
+ 'jetpack-backup-pkg'
+ ),
+ {
+ a: (
+ <a
+ //TODO: we may want to add a specific redirect for Backup plugin related issues
+ href={ getRedirectUrl( 'jetpack-contact-support', { site: domain } ) }
+ target="_blank"
+ rel="noreferrer"
+ />
+ ),
+ }
+ ) }
+ </p>
+ </div>
+ <div className="lg-col-span-1 md-col-span-4 sm-col-span-0"></div>
+ <div className="lg-col-span-6 md-col-span-2 sm-col-span-2"></div>
+ </div>
+ );
+ };
+
+ const renderLoading = () => {
+ return <div className="jp-row"></div>;
+ };
+
+ return (
+ <div className="jp-wrap jp-content">
+ { BACKUP_STATE.LOADING === backupState && renderLoading() }
+ { BACKUP_STATE.NO_BACKUPS === backupState && renderInProgressBackup() }
+ { BACKUP_STATE.NO_BACKUPS_RETRY === backupState && renderInProgressBackup( false ) }
+ { BACKUP_STATE.IN_PROGRESS === backupState && renderInProgressBackup() }
+ { BACKUP_STATE.COMPLETE === backupState && renderCompleteBackup() }
+ { BACKUP_STATE.NO_GOOD_BACKUPS === backupState && renderNoGoodBackups() }
+ </div>
+ );
+};
+
+export default Backups;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/StatBlock.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/StatBlock.js
new file mode 100644
index 00000000..c19b3ae8
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/StatBlock.js
@@ -0,0 +1,19 @@
+/**
+ * Internal dependencies
+ */
+import './stat-block-style.scss';
+
+/* eslint react/react-in-jsx-scope: 0 */
+const StatBlock = props => {
+ return (
+ <div className="backup__card">
+ <img src={ props.icon } alt="" />
+ <div className="backup__card-details">
+ <div className="backup__card-details-items">{ props.label }</div>
+ <div className="backup__card-details-amount">{ props.value }</div>
+ </div>
+ </div>
+ );
+};
+
+export default StatBlock;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/admin-style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/admin-style.scss
new file mode 100644
index 00000000..4141bcf9
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/admin-style.scss
@@ -0,0 +1,136 @@
+@import '@automattic/jetpack-base-styles/style';
+
+.jp-header,
+.jp-footer {
+ padding: 20px 0;
+
+ @include for-tablet-up {
+ padding: 40px 0;
+ }
+}
+
+.jp-content {
+ position: relative;
+ font-size: var( --font-body );
+ line-height: 1.5;
+
+ h1, h2, h3, h4, h5, h6 {
+ margin-top: 0;
+ line-height: 1.2;
+ }
+
+ h1 {
+ font-size: var( --font-title-large );
+ font-weight: 600;
+ }
+
+ h2 {
+ font-size: var( --font-title-small );
+ font-weight: 500;
+ }
+
+ .jp-section {
+ h2, h3 {
+ margin-bottom: 16px;
+ }
+
+ p {
+ margin-top: 16px;
+ }
+ }
+
+ p, li {
+ font-size: 16px;
+ line-height: 1.5;
+ }
+
+ .jp-connection-status-card h3, .jpb-my-plan-container h3 {
+ margin-top: 48px;
+ font-size: var( --font-title-small );
+ font-weight: 500;
+ }
+
+ a {
+ color: var( --jp-black );
+ transition: color, background-color 0.15s ease-out;
+
+ &:hover {
+ text-decoration-thickness: var( --jp-underline-thickness );
+ }
+
+ &:focus {
+ outline-color: var( --jp-black );
+ }
+ }
+
+ .button {
+ display: inline-block;
+ padding: 8px 24px;
+ font-weight: 500;
+ color: var( --jp-white );
+ background: var( --jp-black );
+ text-decoration: none;
+ border-radius: var( --jp-border-radius );
+ border: 0;
+ border-color: var( --jp-black );
+
+ &.is-full-width {
+ width: 100%;
+ text-align: center;
+ }
+
+ &:hover,
+ &:active {
+ background: var( --jp-black-80 );
+ color: var( --jp-white );
+ }
+
+ &:focus {
+ box-shadow: 0 0 0 1px var( --jp-white ) inset, 0 0 0 2px var( --jp-black );
+ }
+
+ &:disabled,
+ &.disabled {
+ background: var( --jp-gray );
+ pointer-events: none;
+ }
+ }
+
+ ul.jp-product-promote li {
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;
+ background-size: 24px;
+ padding-left: 30px;
+ margin-bottom: 9px;
+ color: var(--jp-black);
+ }
+}
+
+.jp-hero {
+ margin-bottom: 64px;
+ padding: 64px 0;
+ background: var( --jp-white-off );
+
+ &.is-backup-performing {
+ background-image: url("data:image/svg+xml,%3Csvg width='624' height='400' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M624 88.387C575.321 34.082 504.674 0 426 0 323.405 0 234.3 58.22 189.925 143.42 83.07 154.78 0 245.305 0 355c0 38.16 10.072 73.999 27.698 105H624V88.387z' fill='%23fff'/%3E%3C/svg%3E");
+ background-position: 100% 100%;
+ background-repeat: no-repeat;
+ }
+
+ &.is-backup-healthy,
+ &.is-backup-error {
+ display: none;
+ }
+
+ p + .button {
+ margin-top: 18px;
+ }
+}
+
+.jp-dashboard-footer {
+ padding: 40px 0;
+}
+
+.jp-connection-status-card--status {
+ margin: 30px 0;
+}
+
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/backups-style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/backups-style.scss
new file mode 100644
index 00000000..5d0850a1
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/backups-style.scss
@@ -0,0 +1,180 @@
+@import '@automattic/jetpack-base-styles/style';
+@import 'masthead/calypso-mixins';
+
+.backup__card {
+ padding: 24px;
+ background: var( --jp-white );
+ box-shadow: 0px 0px 40px rgba( 0, 0, 0, 0.08 );
+ border-radius: var( --jp-border-radius );
+}
+
+.backup__card-details-items {
+ margin: 16px 0 -8px;
+ font-weight: 500;
+}
+
+.backup__card-details-amount {
+ margin-bottom: -12px;
+ font-size: var( --font-title-large );
+ font-weight: 600;
+}
+
+.backup__progress {
+ margin-right: 64px;
+ margin-bottom: 48px;
+}
+
+.backup__progress-info {
+ display: flex;
+ font-weight: 500;
+
+ .backup__progress-info-percentage {
+ margin-left: auto;
+ }
+}
+
+.backup__progress-bar,
+.backup__progress-bar-actual {
+ height: 12px;
+ border-radius: 8px;
+}
+
+.backup__progress-bar {
+ position: relative;
+ width: 100%;
+ background: var( --jp-gray-off );
+}
+
+.backup__progress-bar-actual {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 0%;
+ background: var( --jp-green-primary );
+}
+.backup__latest {
+ display: flex;
+ align-items: center;
+ margin-bottom: 8px;
+
+ svg,
+ img {
+ min-width: 32px;
+ min-height: 32px;
+ }
+
+ h2 {
+ margin: 0;
+ margin-left: 12px;
+ vertical-align: -1px;
+ }
+
+ + h1 {
+ white-space: nowrap;
+ }
+}
+
+.backup__animation {
+ position: relative;
+
+ @include responsive( full-width ) {
+ display: none;
+ }
+}
+
+.backup__animation-el-1,
+.backup__animation-el-2,
+.backup__animation-el-3 {
+ opacity: 0;
+ position: absolute;
+ z-index: 4;
+ animation: animation-el-3 4s ease-in-out 0.8s infinite normal forwards;
+}
+
+.backup__animation-el-1 {
+ bottom: 150px;
+ right: 264px;
+ animation-name: animation-el-1;
+ animation-delay: 0.6s;
+}
+
+.backup__animation-el-2 {
+ bottom: 108px;
+ right: 44px;
+ animation-name: animation-el-2;
+ animation-delay: 0.7s;
+}
+
+.backup__animation-el-3 {
+ bottom: -32px;
+ animation-name: animation-el-3;
+}
+
+@keyframes animation-el-1 {
+ 0% {
+ opacity: 0;
+ transform: translateY( 32px );
+ }
+ 20% {
+ opacity: 1;
+ transform: translateY( 0 );
+ }
+ 50% {
+ opacity: 1;
+ transform: translateY( 0 );
+ }
+ 60% {
+ opacity: 0;
+ transform: translateY( -96px );
+ }
+ 100% {
+ opacity: 0;
+ transform: translateY( -96px );
+ }
+}
+
+@keyframes animation-el-2 {
+ 0% {
+ opacity: 0;
+ transform: translateY( 64px );
+ }
+ 20% {
+ opacity: 1;
+ transform: translateY( 0 );
+ }
+ 50% {
+ opacity: 1;
+ transform: translateY( 0 );
+ }
+ 60% {
+ opacity: 0;
+ transform: translateY( -96px );
+ }
+ 100% {
+ opacity: 0;
+ transform: translateY( -96px );
+ }
+}
+
+@keyframes animation-el-3 {
+ 0% {
+ opacity: 0;
+ transform: translateY( 44px );
+ }
+ 20% {
+ opacity: 1;
+ transform: translateY( 0 );
+ }
+ 50% {
+ opacity: 1;
+ transform: translateY( 0 );
+ }
+ 60% {
+ opacity: 0;
+ transform: translateY( -84px );
+ }
+ 100% {
+ opacity: 0;
+ transform: translateY( -84px );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-1.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-1.svg
new file mode 100644
index 00000000..08c42d96
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-1.svg
@@ -0,0 +1,33 @@
+<svg
+ class="backup__animation-el-1"
+ width="176"
+ height="212"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+>
+ <g filter="url(#filter1_d)">
+ <rect x="40" y="40" width="96" height="132" rx="3" fill="#98C6D9"></rect>
+ </g>
+ <defs>
+ <filter
+ id="filter1_d"
+ x="0"
+ y="0"
+ width="176"
+ height="212"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB"
+ >
+ <feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
+ <feColorMatrix
+ in="SourceAlpha"
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
+ ></feColorMatrix>
+ <feOffset></feOffset>
+ <feGaussianBlur stdDeviation="20"></feGaussianBlur>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"></feColorMatrix>
+ <feBlend in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend>
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow" result="shape"></feBlend>
+ </filter>
+ </defs>
+</svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-2.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-2.svg
new file mode 100644
index 00000000..414816b6
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-2.svg
@@ -0,0 +1,33 @@
+<svg
+ class="backup__animation-el-2"
+ width="248"
+ height="200"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+>
+ <g filter="url(#filter2_d)">
+ <rect x="40" y="40" width="168" height="120" rx="3" fill="#F2D76B"></rect>
+ </g>
+ <defs>
+ <filter
+ id="filter2_d"
+ x="0"
+ y="0"
+ width="248"
+ height="200"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB"
+ >
+ <feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
+ <feColorMatrix
+ in="SourceAlpha"
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
+ ></feColorMatrix>
+ <feOffset></feOffset>
+ <feGaussianBlur stdDeviation="20"></feGaussianBlur>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"></feColorMatrix>
+ <feBlend in2="BackgroundImageFix" result="effect2_dropShadow"></feBlend>
+ <feBlend in="SourceGraphic" in2="effect2_dropShadow" result="shape"></feBlend>
+ </filter>
+ </defs>
+</svg>
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-3.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-3.svg
new file mode 100644
index 00000000..eb3ff3a2
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/backup-animation-3.svg
@@ -0,0 +1,42 @@
+<svg
+ class="backup__animation-el-3"
+ width="536"
+ height="196"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+>
+ <g filter="url(#filter3_d)">
+ <rect x="40" y="40" width="456" height="116" rx="8" fill="#fff"></rect>
+ </g>
+ <path
+ d="M475.35 62.04A7.49 7.49 0 00468 56c-2.89 0-5.4 1.64-6.65 4.04A5.994 5.994 0 00456 66c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z"
+ fill="#E9EFF5"
+ ></path>
+ <circle cx="100" cy="98" r="36" fill="#F7A8C3"></circle>
+ <path
+ d="M160 84a6 6 0 016-6h174a6 6 0 110 12H166a6 6 0 01-6-6zM160 112a6 6 0 016-6h276a6 6 0 110 12H166a6 6 0 01-6-6z"
+ fill="#E9EFF5"
+ ></path>
+ <defs>
+ <filter
+ id="filter3_d"
+ x="0"
+ y="0"
+ width="536"
+ height="196"
+ filterUnits="userSpaceOnUse"
+ color-interpolation-filters="sRGB"
+ >
+ <feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
+ <feColorMatrix
+ in="SourceAlpha"
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
+ ></feColorMatrix>
+ <feOffset></feOffset>
+ <feGaussianBlur stdDeviation="20"></feGaussianBlur>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"></feColorMatrix>
+ <feBlend in2="BackgroundImageFix" result="effect3_dropShadow"></feBlend>
+ <feBlend in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>
+ </filter>
+ </defs>
+</svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/cloud-alert.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/cloud-alert.svg
new file mode 100644
index 00000000..9440bdd0
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/cloud-alert.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="32" height="32" viewBox="0 0 24 24"><path fill="#d63639" d="M19 20H6C2.7 20 0 17.3 0 14C0 10.9 2.3 8.4 5.3 8C6.6 5.6 9.1 4 12 4C15.6 4 18.7 6.6 19.4 10C22 10.2 24 12.3 24 15C24 17.7 21.7 20 19 20M11 15V17H13V15H11M11 13H13V7H11V13Z" /></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/cloud.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/cloud.svg
new file mode 100644
index 00000000..ca7a6171
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/cloud.svg
@@ -0,0 +1 @@
+<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" maskUnits="userSpaceOnUse" x="0" y="5" width="32" height="22"><path fill-rule="evenodd" clip-rule="evenodd" d="M16 5.333c4.853 0 8.893 3.453 9.8 8.053 3.467.24 6.2 3.094 6.2 6.614a6.67 6.67 0 01-6.667 6.666H8c-4.413 0-8-3.586-8-8 0-4.12 3.12-7.52 7.133-7.946A9.994 9.994 0 0116 5.333zM8.667 18l4.666 4.666 8.787-8.786L20.24 12l-6.907 6.906-2.786-2.786L8.667 18z" fill="#fff"></path></mask><g mask="url(#a)"><path fill="#069E08" d="M0 0h32v32H0z"></path></g></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/jetpack.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/jetpack.svg
new file mode 100644
index 00000000..baf8e47a
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/jetpack.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 480 480" xmlns="http://www.w3.org/2000/svg" width="2500" height="2500"><path d="M252.1 447.56S387.8 188.22 387.35 187.9c.44.32-145.7-.23-146.15-.54.45.3-1.2-161.78-1.2-161.78s-24.73.55-25.16.24c.43.3-130.88 262.4-131.32 262.1.44.3 131.75-.25 131.32-.56.43.3 9.23 156.9 8.8 156.6.43.3 28.45 3.6 28.45 3.6z" fill="#fff"/><path d="M240 0C107.63 0 0 107.63 0 240s107.63 240 240 240 240-107.63 240-240S372.37 0 240 0zm-12.37 279.85H108.1L227.62 47.18v232.67zm24.28 152.52V199.7h119.55L251.9 432.36z" fill="#069e08"/></svg>
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/plugins.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/plugins.svg
new file mode 100644
index 00000000..22419452
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/plugins.svg
@@ -0,0 +1 @@
+<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="4.75" y="7.75" width="14.5" height="10.5" rx="1.25" stroke="#069E08" stroke-width="1.5"></rect><path fill="#069E08" d="M6 5h5v3H6zM13 5h5v3h-5z"></path></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/posts.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/posts.svg
new file mode 100644
index 00000000..9299c527
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/posts.svg
@@ -0,0 +1 @@
+<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 7L8 13.5c-.167-1.167 1-5.167 1.5-6 .365-.608 1-1.5 2.5-2.5s5-2 5-2c0 1-1 2.5-2.5 4z" fill="#069E08"></path><path d="M7 16l1-2.5m0 0L14.5 7C16 5.5 17 4 17 3c0 0-3.5 1-5 2S9.865 6.892 9.5 7.5c-.5.833-1.667 4.833-1.5 6z" stroke="#069E08" stroke-width="1.5" stroke-linecap="round"></path><path d="M17.743 3.1a.75.75 0 10-1.486-.2l1.486.2zm-1.486-.2c-.089.662-.131 1.443-.17 2.235-.04.804-.075 1.63-.146 2.423-.072.795-.176 1.525-.344 2.134-.17.62-.386 1.036-.627 1.278l1.06 1.06c.509-.508.814-1.216 1.013-1.94.203-.735.317-1.568.392-2.398.074-.831.111-1.694.15-2.483.04-.802.08-1.52.158-2.11l-1.486-.198zm-1.287 8.07c-.276.275-.767.574-1.435.866-.653.287-1.415.541-2.175.754-.758.213-1.502.38-2.114.493-.63.117-1.071.167-1.246.167v1.5c.325 0 .885-.075 1.52-.192a26.28 26.28 0 002.245-.523 18.402 18.402 0 002.372-.825c.722-.316 1.419-.705 1.893-1.18l-1.06-1.06z" fill="#069E08"></path><path stroke="#069E08" stroke-width="1.5" d="M6 19.25h8"></path></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/themes.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/themes.svg
new file mode 100644
index 00000000..8e3afcae
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/themes.svg
@@ -0,0 +1 @@
+<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.44 13.905a5.345 5.345 0 01-10.69 0c0-.652.307-1.557.866-2.619.547-1.039 1.284-2.137 2.034-3.15a47.06 47.06 0 012.445-3.014 48.194 48.194 0 012.445 3.015c.75 1.012 1.488 2.11 2.034 3.15.56 1.061.866 1.966.866 2.618z" stroke="#069E08" stroke-width="1.5"></path></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/uploads.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/uploads.svg
new file mode 100644
index 00000000..57132bfd
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/icons/uploads.svg
@@ -0,0 +1 @@
+<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.293 13.758a7.503 7.503 0 01-14.168 1.243l3.67-2.177 3.456 1.217a.75.75 0 00.686-.098l2.887-2.073.08.04c.296.145.703.349 1.15.58.78.406 1.64.877 2.239 1.268zm.206-1.635a37.63 37.63 0 00-1.754-.964 63.44 63.44 0 00-1.538-.771l-.099-.048-.026-.012-.01-.005a.75.75 0 00-.76.068l-2.932 2.105-3.417-1.203a.75.75 0 00-.631.062l-3.675 2.18A7.5 7.5 0 1119.5 12.123zM21 12a9 9 0 11-18 0 9 9 0 0118 0z" fill="#069E08"></path></svg> \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/calypso-colors.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/calypso-colors.scss
new file mode 100644
index 00000000..7237b4d4
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/calypso-colors.scss
@@ -0,0 +1,60 @@
+// Blues
+$blue-wordpress: #0087be;
+$blue-light: #78dcfa;
+$blue-medium: #3582c4;
+$blue-dark: #005082;
+$blue-medium-dark: #2271b1;
+$blue-grey-light: #f6f7f7;
+$blue-grey-dark: #0a4b78;
+$light-gray-700: #c3c4c7;
+
+
+// Grays
+$gray-original: #87a6bc;
+$gray: desaturate( $gray-original, 100% ); // Intermediary transform to match dotcom's colors
+
+// $gray color functions:
+//
+// lighten( $gray, 10% )
+// lighten( $gray, 20% )
+// lighten( $gray, 30% )
+// darken( $gray, 10% )
+// darken( $gray, 20% )
+// darken( $gray, 30% )
+//
+// See wordpress.com/design-handbook/colors/ for more info.
+
+$gray-light: lighten( $gray, 33% ); //#f6f6f6
+$gray-dark: darken( $gray, 38% ); //#404040
+
+// $gray-text: ideal for standard, non placeholder text
+// $gray-text-min: minimum contrast needed for WCAG 2.0 AA on white background
+$gray-text: $gray-dark;
+$gray-text-min: darken( $gray, 18% ); //#537994
+
+// Shades of gray
+$gray-lighten-10: lighten( $gray, 10% ); // #a8bece
+$gray-lighten-20: lighten( $gray, 20% ); // #c8d7e1
+$gray-lighten-30: lighten( $gray, 30% ); // #e9eff3
+$gray-darken-10: darken( $gray, 10% ); // #668eaa
+$gray-darken-20: darken( $gray, 20% ); // #4f748e
+$gray-darken-30: darken( $gray, 30% ); // #3d596d
+
+// Oranges
+$orange-jazzy: #f0821e;
+$orange-fire: #d63638;
+
+// Alerts
+$alert-yellow: #f0b849;
+$alert-red: #d94f4f;
+$alert-green: #4ab866;
+$alert-purple: #855DA6;
+
+// Link hovers
+$link-highlight: tint($blue-medium, 20%);
+
+// Essentials
+$white: rgba(255,255,255,1);
+$transparent: rgba(255,255,255,0);
+
+$border-ultra-light-gray: #e8f0f5; \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/calypso-mixins.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/calypso-mixins.scss
new file mode 100644
index 00000000..7db8b157
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/calypso-mixins.scss
@@ -0,0 +1,351 @@
+@use "sass:math";
+
+$full-width: 960px;
+$one-col: 660px;
+$mobile: 480px;
+
+$sidebar-width: 269px;
+
+@mixin responsive($width) {
+ @if $width == full-width {
+ @media only screen and (max-width: $full-width) { @content; }
+ }
+ @else if $width == one-col {
+ @media only screen and (max-width: $one-col) { @content; }
+ }
+ @else if $width == mobile {
+ @media only screen and (max-width: $mobile) { @content; }
+ }
+}
+
+@mixin mobile-first-responsive($width) {
+ @if $width == full-width {
+ @media only screen and (min-width: $one-col) { @content; }
+ }
+ @else if $width == full-width-really {
+ @media only screen and (min-width: $full-width) { @content; }
+ }
+ @else if $width == one-col {
+ @media only screen and (min-width: $mobile) { @content; }
+ }
+}
+
+// ==========================================================================
+// Breakpoint Mixin
+// See https://wpcalypso.wordpress.com/devdocs/docs/coding-guidelines/css.md#media-queries
+// ==========================================================================
+
+$breakpoints: 480px, 660px, 960px, 1040px; // Think very carefully before adding a new breakpoint
+
+@mixin breakpoint( $size ){
+ @if type-of($size) == string {
+ $approved-value: 0;
+ @each $breakpoint in $breakpoints {
+ $and-larger: ">" + $breakpoint;
+ $and-smaller: "<" + $breakpoint;
+
+ @if $size == $and-smaller {
+ $approved-value: 1;
+ @media ( max-width: $breakpoint ) {
+ @content;
+ }
+ }
+ @else {
+ @if $size == $and-larger {
+ $approved-value: 2;
+ @media ( min-width: $breakpoint + 1 ) {
+ @content;
+ }
+ }
+ @else {
+ @each $breakpoint-end in $breakpoints {
+ $range: $breakpoint + "-" + $breakpoint-end;
+ @if $size == $range {
+ $approved-value: 3;
+ @media ( min-width: $breakpoint + 1 ) and ( max-width: $breakpoint-end ) {
+ @content;
+ }
+ }
+ }
+ }
+ }
+ }
+ @if $approved-value == 0 {
+ $sizes: "";
+ @each $breakpoint in $breakpoints {
+ $sizes: $sizes + " " + $breakpoint;
+ }
+ // TODO - change this to use @error, when it is supported by node-sass
+ @warn "ERROR in breakpoint( #{ $size } ): You can only use these sizes[ #{$sizes} ] using the following syntax [ <#{ nth( $breakpoints, 1 ) } >#{ nth( $breakpoints, 1 ) } #{ nth( $breakpoints, 1 ) }-#{ nth( $breakpoints, 2 ) } ]";
+ }
+ }
+ @else {
+ $sizes: "";
+ @each $breakpoint in $breakpoints {
+ $sizes: $sizes + " " + $breakpoint;
+ }
+ // TODO - change this to use @error, when it is supported by node-sass
+ @warn "ERROR in breakpoint( #{ $size } ): Please wrap the breakpoint $size in parenthesis. You can use these sizes[ #{$sizes} ] using the following syntax [ <#{ nth( $breakpoints, 1 ) } >#{ nth( $breakpoints, 1 ) } #{ nth( $breakpoints, 1 ) }-#{ nth( $breakpoints, 2 ) } ]";
+ }
+}
+
+
+@mixin calc($property, $expression) {
+ #{$property}: -moz-calc(#{$expression});
+ #{$property}: -o-calc(#{$expression});
+ #{$property}: -webkit-calc(#{$expression});
+ #{$property}: calc(#{$expression});
+}
+
+@mixin clear-fix {
+ &:after {
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+ }
+}
+
+@mixin noticon($char, $size: null) {
+ // This isn't very clean, but... we'll see ;)
+ @if $size != 0 {
+ font-size: $size;
+ }
+ content: $char;
+
+ // Copied verbatim
+ vertical-align: top;
+ text-align: center;
+ display: inline-block;
+ font-family: "Noticons";
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ line-height: 1;
+ text-decoration: inherit;
+ text-transform: none;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
+ speak: none;
+}
+
+@mixin border-box {
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+// Turn a list into a dropdown menu
+@mixin dropdown-menu {
+ display: none;
+ background: $white;
+ float: none;
+ line-height: 46px;
+ min-width: 220px;
+ overflow: visible;
+ padding: 0;
+ position: absolute;
+ width: auto;
+ z-index: 1;
+ box-sizing: border-box;
+ box-shadow: 0 0 2px rgba(0,0,0,0.15), 0 3px 8px rgba(0,0,0,0.1);
+
+ &:after {
+ border: 6px solid transparent;
+ border-bottom-color: $white;
+ content: ' ';
+ height: 0;
+ position: absolute;
+ top: -12px;
+ left: 73px;
+ width: 0;
+ }
+
+ li {
+ display: block;
+ float: none;
+
+ a,
+ a.selected {
+ border-bottom: 1px solid rgba(0,0,0,0.1);
+ color: $blue-wordpress;
+ display: block;
+ float: none;
+ height: auto;
+ margin: 0;
+ padding: 0 14px;
+ text-align: left;
+
+ &:hover {
+ border-bottom: 1px solid rgba(0,0,0,0.1);
+ background: none; // Remove inherited background color
+ color: $link-highlight;
+ box-shadow: none; // Remove inherited box shadow
+ }
+ }
+
+ a.selected {
+ color: $gray-dark;
+ }
+
+ &:last-child a {
+ border-bottom: none; // Last child in the dropdown doesn't need a bottom border
+ }
+ }
+}
+
+// Can't use the @extend in a media query, use this instead
+@mixin clear-text {
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+// courtesy: http://codeboxers.com/sass-mixin-for-transitions/
+@mixin transition($transition-property, $transition-time, $method) {
+ -webkit-transition: $transition-property $transition-time $method;
+ -moz-transition: $transition-property $transition-time $method;
+ -ms-transition: $transition-property $transition-time $method;
+ -o-transition: $transition-property $transition-time $method;
+ transition: $transition-property $transition-time $method;
+}
+
+@mixin box-shadow($shadows...) {
+ -webkit-box-shadow: $shadows;
+ -moz-box-shadow: $shadows;
+ -ms-box-shadow: $shadows;
+ -o-box-shadow: $shadows;
+ box-shadow: $shadows;
+}
+
+@mixin site-icon($size, $icon-size) {
+ position: relative;
+ display: inline-block;
+ width: $size;
+ height: $size;
+ overflow: hidden;
+ background: lighten( $gray, 20% );
+
+ &::before {
+ content: '\f475';
+ display: inline-block;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ font: normal math.div($icon-size, 1) 'Noticons';
+ color: $white;
+ position: absolute;
+ top: 0;
+ left: 0;
+ height: $size;
+ width: $size;
+ line-height: $size;
+ text-align: center;
+ z-index: 0;
+ }
+
+ img {
+ background: $white;
+ position: relative;
+ }
+}
+
+@mixin debug(){
+ box-shadow: 0px 0px 10px $alert-red inset;
+}
+
+@mixin stats-fade-text($toColor) {
+ background-image: linear-gradient(to right, $transparent 0%, $toColor 90%);
+ position: absolute;
+ z-index: 1;
+ left: -48px;
+ top: 0;
+ bottom: 0;
+ content: "";
+ display: block;
+ width: 48px;
+}
+
+@mixin hide-content-accessibly {
+ clip: rect( 1px, 1px, 1px, 1px );
+ height: 1px;
+ overflow: hidden;
+ position: absolute;
+ width: 1px;
+}
+
+// Creates a fading overlay to signify that the content is longer
+// than the space allows.
+@mixin long-content-fade( $direction: right, $size: 20%, $color: #fff, $edge: 0px, $z-index: false) {
+ content: '';
+ display: block;
+ position: absolute;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ pointer-events: none;
+
+ @if $z-index {
+ z-index: $z-index;
+ }
+
+ @if $direction == 'bottom' {
+ background: linear-gradient( to top, rgba( $color, 0 ), $color 90% );
+ left: $edge;
+ right: $edge;
+ top: $edge;
+ bottom: calc(100% - $size);
+ width: auto;
+ }
+
+ @if $direction == 'top' {
+ background: linear-gradient( to bottom, rgba( $color, 0 ), $color 90% );
+ top: calc(100% - $size);
+ left: $edge;
+ right: $edge;
+ bottom: $edge;
+ width: auto;
+ }
+
+ @if $direction == 'left'{
+ background: linear-gradient( to left, rgba( $color, 0 ), $color 90% );
+ top: $edge;
+ left: $edge;
+ bottom: $edge;
+ right: auto;
+ width: $size;
+ height: auto;
+ }
+
+ @if $direction == 'right' {
+ background: linear-gradient( to right, rgba( $color, 0 ), $color 90% );
+ top: $edge;
+ bottom: $edge;
+ right: $edge;
+ left: auto;
+ width: $size;
+ height: auto;
+ }
+}
+
+@mixin placeholder( $lighten-percentage: 30% ) {
+ animation: loading-fade 1.6s ease-in-out infinite;
+ background-color: lighten( $gray, $lighten-percentage );
+ color: transparent;
+
+ &:after {
+ content: '\00a0';
+ }
+}
+
+// Simple animation to make elements appear
+@keyframes appear {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/masthead-style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/masthead-style.scss
new file mode 100644
index 00000000..2dc28d05
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/masthead/masthead-style.scss
@@ -0,0 +1,89 @@
+@import './calypso-mixins';
+@import './calypso-colors';
+
+.jp-masthead {
+ padding: 40px 0;
+ background-color: $white;
+ text-align: center;
+ @media (max-width: rem( 782px ) ) {
+ padding: 0 rem( 24px );
+
+ .jetpack-masterbar & {
+ padding-left: rem( 64px );
+ }
+ }
+}
+
+.jp-masthead__inside-container {
+ display: flex;
+ flex-wrap: wrap;
+ margin: 0 auto;
+ width: 100%;
+ max-width: rem( 1040px );
+ padding-bottom: rem( 6px );
+
+ @media (max-width: 1250px) {
+ max-width: 95%;
+ }
+}
+
+.jp-masthead__logo-container {
+ flex-grow: 0;
+ flex-shrink: 0;
+ padding: rem( 11px ) 0 0;
+
+ @include breakpoint( "<480px" ) {
+ margin-right: rem( 16px );
+ }
+}
+
+.jp-masthead__logo-link {
+ display: inline-block;
+ outline: none;
+ vertical-align: middle;
+
+ &:focus {
+ line-height: 0; // fixes rectangle gap
+ box-shadow: 0 0 0 2px $blue-light;
+ }
+
+ & + code {
+ margin: 0 10px;
+ padding: 5px 9px;
+ border-radius: 2px;
+ background: #e6ecf1;
+ color: #647a88;
+ }
+}
+
+.jp-masthead__nav {
+ display: flex;
+ flex-wrap: nowrap;
+ flex-grow: 1;
+ flex-shrink: 0;
+ text-align: right;
+ margin-top: rem( 6px );
+ padding: rem( 4px ) 0;
+
+ .dops-button-group {
+ flex-grow: 1;
+ align-self: center;
+ /* This fixes an unwanted space between the buttons in the network settings caused by a line break. */
+ /* Fixed here to keep PHP code readable. It's safe: .dops-button and .dops-button.is-compact specify a font size. */
+ font-size: 0;
+ }
+ @include breakpoint( "<480px" ) {
+ text-align: left;
+ }
+}
+
+#sandbox-domain-badge {
+ background: #d63638;
+ text-transform: uppercase;
+ letter-spacing: 0.2em;
+ text-shadow: none;
+ font-size: 9px;
+ font-weight: bold;
+ cursor: pointer;
+ color: #ffffff;
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/stat-block-style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/stat-block-style.scss
new file mode 100644
index 00000000..469e292b
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/stat-block-style.scss
@@ -0,0 +1,46 @@
+.stat-block {
+ display: flex;
+ flex-direction: column;
+ flex: 1;
+
+ .icon {
+ img {
+ margin-top: 24px;
+ height: 24px;
+ width: 24px;
+ }
+ flex: 2;
+ }
+
+ .label {
+ flex: 1;
+ font-weight: bold;
+ }
+
+ .value {
+ flex: 1;
+ }
+
+ .large-text {
+ font-size: 2em;
+ font-weight: bold;
+ }
+}
+
+.backup__card {
+ padding: 24px;
+ background:var( --jp-white );
+ box-shadow: 0px 0px 40px rgba( 0, 0, 0, 0.08 );
+ border-radius: var( --jp-border-radius );
+}
+
+.backup__card-details-items {
+ margin: 16px 0 -8px;
+ font-weight: 500;
+}
+
+.backup__card-details-amount {
+ margin-bottom: -12px;
+ font-size: var( --font-title-large );
+ font-weight: 600;
+} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/assets/connect-right.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/assets/connect-right.png
new file mode 100644
index 00000000..66f8710a
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/assets/connect-right.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/useConnection.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/useConnection.js
new file mode 100644
index 00000000..dd7b34a1
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/useConnection.js
@@ -0,0 +1,76 @@
+/**
+ * External dependencies
+ */
+import React from 'react';
+import { useState, useEffect } from '@wordpress/element';
+import apiFetch from '@wordpress/api-fetch';
+import { useSelect } from '@wordpress/data';
+import { ConnectScreenRequiredPlan, CONNECTION_STORE_ID } from '@automattic/jetpack-connection';
+import { __ } from '@wordpress/i18n';
+
+/**
+ * Internal dependencies
+ */
+import { STORE_ID } from '../store';
+
+/**
+ * Expose the `connectionStatus` state object and `renderConnectScreen()` to show a component used for connection.
+ *
+ * @returns {Array} connectionStatus, renderConnectScreen
+ */
+export default function useConnection() {
+ const APINonce = useSelect( select => select( STORE_ID ).getAPINonce(), [] );
+ const APIRoot = useSelect( select => select( STORE_ID ).getAPIRoot(), [] );
+ const registrationNonce = useSelect( select => select( STORE_ID ).getRegistrationNonce(), [] );
+ const connectionStatus = useSelect(
+ select => select( CONNECTION_STORE_ID ).getConnectionStatus(),
+ []
+ );
+ const [ price, setPrice ] = useState( 0 );
+ const [ priceAfter, setPriceAfter ] = useState( 0 );
+
+ useEffect( () => {
+ apiFetch( { path: '/jetpack/v4/backup-promoted-product-info' } ).then( res => {
+ setPrice( res.cost / 12 );
+ if ( res.introductory_offer ) {
+ setPriceAfter( res.introductory_offer.cost_per_interval / 12 );
+ } else {
+ setPriceAfter( res.cost / 12 );
+ }
+ } );
+ }, [] );
+
+ const renderConnectScreen = () => {
+ return (
+ <ConnectScreenRequiredPlan
+ buttonLabel={ __( 'Get Jetpack Backup', 'jetpack-backup-pkg' ) }
+ priceAfter={ priceAfter }
+ priceBefore={ price }
+ pricingIcon="data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.092 15.164.019-1.703v-.039c0-1.975-1.803-3.866-4.4-3.866-2.17 0-3.828 1.351-4.274 2.943l-.426 1.524-1.581-.065a2.92 2.92 0 0 0-.12-.002c-1.586 0-2.977 1.344-2.977 3.133 0 1.787 1.388 3.13 2.973 3.133H22.399c1.194 0 2.267-1.016 2.267-2.4 0-1.235-.865-2.19-1.897-2.368l-1.677-.29Zm-10.58-3.204a4.944 4.944 0 0 0-.201-.004c-2.75 0-4.978 2.298-4.978 5.133s2.229 5.133 4.978 5.133h12.088c2.357 0 4.267-1.97 4.267-4.4 0-2.18-1.538-3.99-3.556-4.339v-.06c0-3.24-2.865-5.867-6.4-5.867-2.983 0-5.49 1.871-6.199 4.404Z' fill='%23000'/%3E%3C/svg%3E"
+ pricingTitle={ __( 'Jetpack Backup', 'jetpack-backup-pkg' ) }
+ title={ __( 'The best real‑time WordPress backups', 'jetpack-backup-pkg' ) }
+ apiRoot={ APIRoot }
+ apiNonce={ APINonce }
+ registrationNonce={ registrationNonce }
+ from="jetpack-backup"
+ redirectUri="admin.php?page=jetpack-backup"
+ >
+ <h3>
+ { __(
+ 'Save every change and get back online quickly with one‑click restores.',
+ 'jetpack-backup-pkg'
+ ) }
+ </h3>
+ <ul>
+ <li>{ __( 'Automated real-time backups', 'jetpack-backup-pkg' ) }</li>
+ <li>{ __( 'Easy one-click restores', 'jetpack-backup-pkg' ) }</li>
+ <li>{ __( 'Complete list of all site changes', 'jetpack-backup-pkg' ) }</li>
+ <li>{ __( 'Global server infrastructure', 'jetpack-backup-pkg' ) }</li>
+ <li>{ __( 'Best-in-class support', 'jetpack-backup-pkg' ) }</li>
+ </ul>
+ </ConnectScreenRequiredPlan>
+ );
+ };
+
+ return [ connectionStatus, renderConnectScreen ];
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/index.js
new file mode 100644
index 00000000..3f682358
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/index.js
@@ -0,0 +1,30 @@
+/**
+ * External dependencies
+ */
+import React from 'react';
+import ReactDOM from 'react-dom';
+import { createReduxStore, register } from '@wordpress/data';
+
+/**
+ * Internal dependencies
+ */
+import Admin from './components/Admin';
+import { STORE_ID, storeConfig } from './store';
+
+const store = createReduxStore( STORE_ID, storeConfig );
+register( store );
+
+/**
+ * Initial render function.
+ */
+function render() {
+ const container = document.getElementById( 'jetpack-backup-root' );
+
+ if ( null === container ) {
+ return;
+ }
+
+ ReactDOM.render( <Admin />, container );
+}
+
+render();
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/api.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/api.js
new file mode 100644
index 00000000..4ae3dab2
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/api.js
@@ -0,0 +1,5 @@
+const API = ( state = {} ) => {
+ return state;
+};
+
+export default API;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/assets.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/assets.js
new file mode 100644
index 00000000..45b16088
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/assets.js
@@ -0,0 +1,5 @@
+const assets = ( state = {} ) => {
+ return state;
+};
+
+export default assets;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/connected-plugins.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/connected-plugins.js
new file mode 100644
index 00000000..42689a3a
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/connected-plugins.js
@@ -0,0 +1,5 @@
+const connectedPlugins = ( state = {} ) => {
+ return state;
+};
+
+export default connectedPlugins;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/index.js
new file mode 100644
index 00000000..61e2f2b2
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/index.js
@@ -0,0 +1,23 @@
+/**
+ * External dependencies
+ */
+import { combineReducers } from '@wordpress/data';
+
+/**
+ * Internal dependencies
+ */
+import API from './api';
+import jetpackStatus from './jetpack-status';
+import assets from './assets';
+import connectedPlugins from './connected-plugins';
+import siteData from './site-data';
+
+const reducer = combineReducers( {
+ connectedPlugins,
+ API,
+ jetpackStatus,
+ assets,
+ siteData,
+} );
+
+export default reducer;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/jetpack-status.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/jetpack-status.js
new file mode 100644
index 00000000..201bfa0d
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/jetpack-status.js
@@ -0,0 +1,5 @@
+const jetpackStatus = ( state = {} ) => {
+ return state;
+};
+
+export default jetpackStatus;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/site-data.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/site-data.js
index 8e1a578d..8e1a578d 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/site-data.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/reducers/site-data.js
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/api.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/api.js
new file mode 100644
index 00000000..3dcd244c
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/api.js
@@ -0,0 +1,7 @@
+const APISelectors = {
+ getAPIRoot: state => state.API.WP_API_root || null,
+ getAPINonce: state => state.API.WP_API_nonce || null,
+ getRegistrationNonce: state => state.API.registrationNonce || null,
+};
+
+export default APISelectors;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/connected-plugins.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/connected-plugins.js
new file mode 100644
index 00000000..9103e174
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/connected-plugins.js
@@ -0,0 +1,5 @@
+const connectedPluginsSelectors = {
+ getConnectedPlugins: state => state.connectedPlugins || [],
+};
+
+export default connectedPluginsSelectors;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/index.js
new file mode 100644
index 00000000..78d0074f
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/index.js
@@ -0,0 +1,16 @@
+/**
+ * Internal dependencies
+ */
+import APISelectors from './api';
+import jetpackStatusSelectors from './jetpack-status';
+import connectedPluginsSelectors from './connected-plugins';
+import siteDataSelectors from './site-data';
+
+const selectors = {
+ ...APISelectors,
+ ...jetpackStatusSelectors,
+ ...connectedPluginsSelectors,
+ ...siteDataSelectors,
+};
+
+export default selectors;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/jetpack-status.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/jetpack-status.js
new file mode 100644
index 00000000..65e75b19
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/jetpack-status.js
@@ -0,0 +1,5 @@
+const jetpackStatusSelectors = {
+ getCalypsoSlug: state => state.jetpackStatus.calypsoSlug || {},
+};
+
+export default jetpackStatusSelectors;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/site-data.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/site-data.js
new file mode 100644
index 00000000..bae01921
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/selectors/site-data.js
@@ -0,0 +1,6 @@
+const siteDataSelectors = {
+ getSiteData: state => state.siteData || [],
+ getSiteTitle: state => state.siteData?.title || '',
+};
+
+export default siteDataSelectors;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/store.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/store.js
new file mode 100644
index 00000000..dc67b390
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/store.js
@@ -0,0 +1,12 @@
+/**
+ * Internal dependencies
+ */
+import reducer from './reducers';
+import selectors from './selectors';
+
+export const STORE_ID = 'jetpack-backup-plugin';
+export const storeConfig = {
+ reducer,
+ selectors,
+ initialState: window.JPBACKUP_INITIAL_STATE || {},
+};
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/webpack.config.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/webpack.config.js
new file mode 100644
index 00000000..c4ba408f
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/webpack.config.js
@@ -0,0 +1,60 @@
+/**
+ * External dependencies
+ */
+const jetpackWebpackConfig = require( '@automattic/jetpack-webpack-config/webpack' );
+const path = require( 'path' );
+
+module.exports = [
+ {
+ entry: {
+ index: './src/js/index.js',
+ },
+ mode: jetpackWebpackConfig.mode,
+ devtool: jetpackWebpackConfig.isDevelopment ? 'source-map' : false,
+ output: {
+ ...jetpackWebpackConfig.output,
+ path: path.resolve( './build' ),
+ },
+ optimization: {
+ ...jetpackWebpackConfig.optimization,
+ },
+ resolve: {
+ ...jetpackWebpackConfig.resolve,
+ },
+ node: false,
+ plugins: [
+ ...jetpackWebpackConfig.StandardPlugins( {
+ DependencyExtractionPlugin: { injectPolyfill: true },
+ } ),
+ ],
+ module: {
+ strictExportPresence: true,
+ rules: [
+ // Transpile JavaScript
+ jetpackWebpackConfig.TranspileRule( {
+ exclude: /node_modules\//,
+ } ),
+
+ // Transpile @automattic/jetpack-* in node_modules too.
+ jetpackWebpackConfig.TranspileRule( {
+ includeNodeModules: [ '@automattic/jetpack-' ],
+ } ),
+
+ // Handle CSS.
+ jetpackWebpackConfig.CssRule( {
+ extensions: [ 'css', 'sass', 'scss' ],
+ extraLoaders: [ 'sass-loader' ],
+ } ),
+
+ // Handle images.
+ jetpackWebpackConfig.FileRule(),
+ ],
+ },
+ externals: {
+ ...jetpackWebpackConfig.externals,
+ jetpackConfig: JSON.stringify( {
+ consumer_slug: 'jetpack-backup',
+ } ),
+ },
+ },
+];
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-blocks/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-blocks/CHANGELOG.md
index 83a23092..978d4e5d 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-blocks/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-blocks/CHANGELOG.md
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.4.12] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.4.11] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
+## [1.4.10] - 2022-01-18
+### Changed
+- Updated package dependencies.
+
## [1.4.9] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -92,6 +104,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Blocks: introduce new package for block management
+[1.4.12]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.11...v1.4.12
+[1.4.11]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.10...v1.4.11
+[1.4.10]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.9...v1.4.10
[1.4.9]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.8...v1.4.9
[1.4.8]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.7...v1.4.8
[1.4.7]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.6...v1.4.7
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/.phpcs.dir.xml b/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/.phpcs.dir.xml
new file mode 100644
index 00000000..fcc30188
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/.phpcs.dir.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<ruleset>
+
+ <rule ref="WordPress.WP.I18n">
+ <properties>
+ <property name="text_domain" type="array">
+ <element value="jetpack-compat" />
+ </property>
+ </properties>
+ </rule>
+ <rule ref="Jetpack.Functions.I18n">
+ <properties>
+ <property name="text_domain" value="jetpack-compat" />
+ </properties>
+ </rule>
+
+ <rule ref="WordPress.Utils.I18nTextDomainFixer">
+ <properties>
+ <property name="old_text_domain" type="array" />
+ <property name="new_text_domain" value="jetpack-compat" />
+ </properties>
+ </rule>
+
+</ruleset>
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/CHANGELOG.md
index 76993fe5..8a0f801b 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/CHANGELOG.md
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.7.2] - 2022-05-18
+### Fixed
+- Fix new PHPCS sniffs. [#24366]
+
+## [1.7.1] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.7.0] - 2022-03-23
+### Added
+- Migrated GlotPress locale classes into compat pkg
+
## [1.6.8] - 2021-12-14
### Changed
- Updated package dependencies.
@@ -97,6 +109,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Jetpack 7.5: Back compatibility package
+[1.7.2]: https://github.com/Automattic/jetpack-compat/compare/v1.7.1...v1.7.2
+[1.7.1]: https://github.com/Automattic/jetpack-compat/compare/v1.7.0...v1.7.1
+[1.7.0]: https://github.com/Automattic/jetpack-compat/compare/v1.6.8...v1.7.0
[1.6.8]: https://github.com/Automattic/jetpack-compat/compare/v1.6.7...v1.6.8
[1.6.7]: https://github.com/Automattic/jetpack-compat/compare/v1.6.6...v1.6.7
[1.6.6]: https://github.com/Automattic/jetpack-compat/compare/v1.6.5...v1.6.6
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/functions.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/functions.php
index 42f73915..95da9151 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/functions.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/functions.php
@@ -19,7 +19,7 @@ if ( function_exists( 'add_filter' ) ) {
'function' => $cb,
);
};
- $add_action = $add_filter;
+ $add_action = $add_filter;
}
/**
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/lib/locales.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/lib/locales.php
new file mode 100644
index 00000000..769b4b2f
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-compat/lib/locales.php
@@ -0,0 +1,2398 @@
+<?php // phpcs:disable
+// This file is copied over from GlotPress/GlotPress-WP project and does not nessitate linting.
+
+if ( ! class_exists( 'GP_Locale' ) ) :
+
+ class GP_Locale {
+ public $english_name;
+ public $native_name;
+ public $text_direction = 'ltr';
+ public $lang_code_iso_639_1 = null;
+ public $lang_code_iso_639_2 = null;
+ public $lang_code_iso_639_3 = null;
+ public $country_code;
+ public $wp_locale;
+ public $slug;
+ public $nplurals = 2;
+ public $plural_expression = 'n != 1';
+ public $google_code = null;
+ public $preferred_sans_serif_font_family = null;
+ public $facebook_locale = null;
+ // TODO: days, months, decimals, quotes
+
+ private $_index_for_number;
+
+ public function __construct( $args = array() ) {
+ foreach ( $args as $key => $value ) {
+ $this->$key = $value;
+ }
+ }
+
+ public static function __set_state( $state ) {
+ return new GP_Locale( $state );
+ }
+
+ /**
+ * Make deprecated properties checkable for backwards compatibility.
+ *
+ * @param string $name Property to check if set.
+ * @return bool Whether the property is set.
+ */
+ public function __isset( $name ) {
+ if ( 'rtl' == $name ) {
+ return isset( $this->text_direction );
+ }
+ }
+
+ /**
+ * Make deprecated properties readable for backwards compatibility.
+ *
+ * @param string $name Property to get.
+ * @return mixed Property.
+ */
+ public function __get( $name ) {
+ if ( 'rtl' == $name ) {
+ return ( 'rtl' === $this->text_direction );
+ }
+ }
+
+ public function combined_name() {
+ /* translators: combined name for locales: 1: name in English, 2: native name */
+ return sprintf( _x( '%1$s/%2$s', 'locales', 'jetpack-compat' ), $this->english_name, $this->native_name );
+ }
+
+ public function numbers_for_index( $index, $how_many = 3, $test_up_to = 1000 ) {
+ $numbers = array();
+
+ for ( $number = 0; $number < $test_up_to; ++$number ) {
+ if ( $this->index_for_number( $number ) == $index ) {
+ $numbers[] = $number;
+
+ if ( count( $numbers ) >= $how_many ) {
+ break;
+ }
+ }
+ }
+
+ return $numbers;
+ }
+
+ public function index_for_number( $number ) {
+ if ( ! isset( $this->_index_for_number ) ) {
+ $gettext = new Gettext_Translations();
+ $expression = $gettext->parenthesize_plural_exression( $this->plural_expression );
+ $this->_index_for_number = $gettext->make_plural_form_function( $this->nplurals, $expression );
+ }
+
+ $f = $this->_index_for_number;
+
+ return $f( $number );
+ }
+
+ }
+
+endif;
+
+if ( ! class_exists( 'GP_Locales' ) ) :
+
+ class GP_Locales {
+
+ public $locales = array();
+
+ public function __construct() {
+ $aa = new GP_Locale();
+ $aa->english_name = 'Afar';
+ $aa->native_name = 'Afaraf';
+ $aa->lang_code_iso_639_1 = 'aa';
+ $aa->lang_code_iso_639_2 = 'aar';
+ $aa->slug = 'aa';
+
+ $ae = new GP_Locale();
+ $ae->english_name = 'Avestan';
+ $ae->native_name = 'Avesta';
+ $ae->lang_code_iso_639_1 = 'ae';
+ $ae->lang_code_iso_639_2 = 'ave';
+ $ae->slug = 'ae';
+
+ $af = new GP_Locale();
+ $af->english_name = 'Afrikaans';
+ $af->native_name = 'Afrikaans';
+ $af->lang_code_iso_639_1 = 'af';
+ $af->lang_code_iso_639_2 = 'afr';
+ $af->country_code = 'za';
+ $af->wp_locale = 'af';
+ $af->slug = 'af';
+ $af->google_code = 'af';
+ $af->facebook_locale = 'af_ZA';
+
+ $ak = new GP_Locale();
+ $ak->english_name = 'Akan';
+ $ak->native_name = 'Akan';
+ $ak->lang_code_iso_639_1 = 'ak';
+ $ak->lang_code_iso_639_2 = 'aka';
+ $ak->wp_locale = 'ak';
+ $ak->slug = 'ak';
+ $ak->facebook_locale = 'ak_GH';
+
+ $am = new GP_Locale();
+ $am->english_name = 'Amharic';
+ $am->native_name = 'አማርኛ';
+ $am->lang_code_iso_639_1 = 'am';
+ $am->lang_code_iso_639_2 = 'amh';
+ $am->country_code = 'et';
+ $am->wp_locale = 'am';
+ $am->slug = 'am';
+ $am->facebook_locale = 'am_ET';
+
+ $an = new GP_Locale();
+ $an->english_name = 'Aragonese';
+ $an->native_name = 'Aragonés';
+ $an->lang_code_iso_639_1 = 'an';
+ $an->lang_code_iso_639_2 = 'arg';
+ $an->country_code = 'es';
+ $an->slug = 'an';
+
+ $ar = new GP_Locale();
+ $ar->english_name = 'Arabic';
+ $ar->native_name = 'العربية';
+ $ar->lang_code_iso_639_1 = 'ar';
+ $ar->lang_code_iso_639_2 = 'ara';
+ $ar->wp_locale = 'ar';
+ $ar->slug = 'ar';
+ $ar->nplurals = 6;
+ $ar->plural_expression = 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5';
+ $ar->text_direction = 'rtl';
+ $ar->preferred_sans_serif_font_family = 'Tahoma';
+ $ar->google_code = 'ar';
+ $ar->facebook_locale = 'ar_AR';
+
+ $arq = new GP_Locale();
+ $arq->english_name = 'Algerian Arabic';
+ $arq->native_name = 'الدارجة الجزايرية';
+ $arq->lang_code_iso_639_1 = 'ar';
+ $arq->lang_code_iso_639_3 = 'arq';
+ $arq->country_code = 'dz';
+ $arq->wp_locale = 'arq';
+ $arq->slug = 'arq';
+ $arq->nplurals = 6;
+ $arq->plural_expression = 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5';
+ $arq->text_direction = 'rtl';
+
+ $ary = new GP_Locale();
+ $ary->english_name = 'Moroccan Arabic';
+ $ary->native_name = 'العربية المغربية';
+ $ary->lang_code_iso_639_1 = 'ar';
+ $ary->lang_code_iso_639_3 = 'ary';
+ $ary->country_code = 'ma';
+ $ary->wp_locale = 'ary';
+ $ary->slug = 'ary';
+ $ary->nplurals = 6;
+ $ary->plural_expression = 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5';
+ $ary->text_direction = 'rtl';
+
+ $as = new GP_Locale();
+ $as->english_name = 'Assamese';
+ $as->native_name = 'অসমীয়া';
+ $as->lang_code_iso_639_1 = 'as';
+ $as->lang_code_iso_639_2 = 'asm';
+ $as->lang_code_iso_639_3 = 'asm';
+ $as->country_code = 'in';
+ $as->wp_locale = 'as';
+ $as->slug = 'as';
+ $as->facebook_locale = 'as_IN';
+
+ $ast = new GP_Locale();
+ $ast->english_name = 'Asturian';
+ $ast->native_name = 'Asturianu';
+ $ast->lang_code_iso_639_2 = 'ast';
+ $ast->lang_code_iso_639_3 = 'ast';
+ $ast->country_code = 'es';
+ $ast->wp_locale = 'ast';
+ $ast->slug = 'ast';
+
+ $av = new GP_Locale();
+ $av->english_name = 'Avaric';
+ $av->native_name = 'авар мацӀ';
+ $av->lang_code_iso_639_1 = 'av';
+ $av->lang_code_iso_639_2 = 'ava';
+ $av->slug = 'av';
+
+ $ay = new GP_Locale();
+ $ay->english_name = 'Aymara';
+ $ay->native_name = 'aymar aru';
+ $ay->lang_code_iso_639_1 = 'ay';
+ $ay->lang_code_iso_639_2 = 'aym';
+ $ay->slug = 'ay';
+ $ay->nplurals = 1;
+ $ay->plural_expression = '0';
+ $ay->facebook_locale = 'ay_BO';
+
+ $az = new GP_Locale();
+ $az->english_name = 'Azerbaijani';
+ $az->native_name = 'Azərbaycan dili';
+ $az->lang_code_iso_639_1 = 'az';
+ $az->lang_code_iso_639_2 = 'aze';
+ $az->country_code = 'az';
+ $az->wp_locale = 'az';
+ $az->slug = 'az';
+ $az->google_code = 'az';
+ $az->facebook_locale = 'az_AZ';
+
+ $azb = new GP_Locale();
+ $azb->english_name = 'South Azerbaijani';
+ $azb->native_name = 'گؤنئی آذربایجان';
+ $azb->lang_code_iso_639_1 = 'az';
+ $azb->lang_code_iso_639_3 = 'azb';
+ $azb->country_code = 'ir';
+ $azb->wp_locale = 'azb';
+ $azb->slug = 'azb';
+ $azb->text_direction = 'rtl';
+
+ $az_tr = new GP_Locale();
+ $az_tr->english_name = 'Azerbaijani (Turkey)';
+ $az_tr->native_name = 'Azərbaycan Türkcəsi';
+ $az_tr->lang_code_iso_639_1 = 'az';
+ $az_tr->lang_code_iso_639_2 = 'aze';
+ $az_tr->country_code = 'tr';
+ $az_tr->wp_locale = 'az_TR';
+ $az_tr->slug = 'az-tr';
+
+ $ba = new GP_Locale();
+ $ba->english_name = 'Bashkir';
+ $ba->native_name = 'башҡорт теле';
+ $ba->lang_code_iso_639_1 = 'ba';
+ $ba->lang_code_iso_639_2 = 'bak';
+ $ba->wp_locale = 'ba';
+ $ba->slug = 'ba';
+
+ $bal = new GP_Locale();
+ $bal->english_name = 'Catalan (Balear)';
+ $bal->native_name = 'Català (Balear)';
+ $bal->lang_code_iso_639_2 = 'bal';
+ $bal->country_code = 'es';
+ $bal->wp_locale = 'bal';
+ $bal->slug = 'bal';
+
+ $bcc = new GP_Locale();
+ $bcc->english_name = 'Balochi Southern';
+ $bcc->native_name = 'بلوچی مکرانی';
+ $bcc->lang_code_iso_639_3 = 'bcc';
+ $bcc->country_code = 'pk';
+ $bcc->wp_locale = 'bcc';
+ $bcc->slug = 'bcc';
+ $bcc->nplurals = 1;
+ $bcc->plural_expression = '0';
+ $bcc->text_direction = 'rtl';
+
+ $be = new GP_Locale();
+ $be->english_name = 'Belarusian';
+ $be->native_name = 'Беларуская мова';
+ $be->lang_code_iso_639_1 = 'be';
+ $be->lang_code_iso_639_2 = 'bel';
+ $be->country_code = 'by';
+ $be->wp_locale = 'bel';
+ $be->slug = 'bel';
+ $be->nplurals = 3;
+ $be->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+ $be->google_code = 'be';
+ $be->facebook_locale = 'be_BY';
+
+ $bg = new GP_Locale();
+ $bg->english_name = 'Bulgarian';
+ $bg->native_name = 'Български';
+ $bg->lang_code_iso_639_1 = 'bg';
+ $bg->lang_code_iso_639_2 = 'bul';
+ $bg->country_code = 'bg';
+ $bg->wp_locale = 'bg_BG';
+ $bg->slug = 'bg';
+ $bg->google_code = 'bg';
+ $bg->facebook_locale = 'bg_BG';
+
+ $bh = new GP_Locale();
+ $bh->english_name = 'Bihari';
+ $bh->native_name = 'भोजपुरी';
+ $bh->lang_code_iso_639_1 = 'bh';
+ $bh->lang_code_iso_639_2 = 'bih';
+ $bh->slug = 'bh';
+
+ $bi = new GP_Locale();
+ $bi->english_name = 'Bislama';
+ $bi->native_name = 'Bislama';
+ $bi->lang_code_iso_639_1 = 'bi';
+ $bi->lang_code_iso_639_2 = 'bis';
+ $bi->country_code = 'vu';
+ $bi->slug = 'bi';
+
+ $bm = new GP_Locale();
+ $bm->english_name = 'Bambara';
+ $bm->native_name = 'Bamanankan';
+ $bm->lang_code_iso_639_1 = 'bm';
+ $bm->lang_code_iso_639_2 = 'bam';
+ $bm->slug = 'bm';
+
+ $bn_bd = new GP_Locale();
+ $bn_bd->english_name = 'Bengali';
+ $bn_bd->native_name = 'বাংলা';
+ $bn_bd->lang_code_iso_639_1 = 'bn';
+ $bn_bd->country_code = 'bn';
+ $bn_bd->wp_locale = 'bn_BD';
+ $bn_bd->slug = 'bn';
+ $bn_bd->google_code = 'bn';
+ $bn_bd->facebook_locale = 'bn_IN';
+
+ $bo = new GP_Locale();
+ $bo->english_name = 'Tibetan';
+ $bo->native_name = 'བོད་ཡིག';
+ $bo->lang_code_iso_639_1 = 'bo';
+ $bo->lang_code_iso_639_2 = 'tib';
+ $bo->wp_locale = 'bo';
+ $bo->slug = 'bo';
+ $bo->nplurals = 1;
+ $bo->plural_expression = '0';
+
+ $br = new GP_Locale();
+ $br->english_name = 'Breton';
+ $br->native_name = 'Brezhoneg';
+ $br->lang_code_iso_639_1 = 'br';
+ $br->lang_code_iso_639_2 = 'bre';
+ $br->lang_code_iso_639_3 = 'bre';
+ $br->country_code = 'fr';
+ $br->wp_locale = 'bre';
+ $br->slug = 'br';
+ $br->nplurals = 2;
+ $br->plural_expression = '(n > 1)';
+ $br->facebook_locale = 'br_FR';
+
+ $bs = new GP_Locale();
+ $bs->english_name = 'Bosnian';
+ $bs->native_name = 'Bosanski';
+ $bs->lang_code_iso_639_1 = 'bs';
+ $bs->lang_code_iso_639_2 = 'bos';
+ $bs->country_code = 'ba';
+ $bs->wp_locale = 'bs_BA';
+ $bs->slug = 'bs';
+ $bs->nplurals = 3;
+ $bs->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+ $bs->google_code = 'bs';
+ $bs->facebook_locale = 'bs_BA';
+
+ $ca = new GP_Locale();
+ $ca->english_name = 'Catalan';
+ $ca->native_name = 'Català';
+ $ca->lang_code_iso_639_1 = 'ca';
+ $ca->lang_code_iso_639_2 = 'cat';
+ $ca->wp_locale = 'ca';
+ $ca->slug = 'ca';
+ $ca->google_code = 'ca';
+ $ca->facebook_locale = 'ca_ES';
+
+ $ce = new GP_Locale();
+ $ce->english_name = 'Chechen';
+ $ce->native_name = 'Нохчийн мотт';
+ $ce->lang_code_iso_639_1 = 'ce';
+ $ce->lang_code_iso_639_2 = 'che';
+ $ce->slug = 'ce';
+
+ $ceb = new GP_Locale();
+ $ceb->english_name = 'Cebuano';
+ $ceb->native_name = 'Cebuano';
+ $ceb->lang_code_iso_639_2 = 'ceb';
+ $ceb->lang_code_iso_639_3 = 'ceb';
+ $ceb->country_code = 'ph';
+ $ceb->wp_locale = 'ceb';
+ $ceb->slug = 'ceb';
+ $ceb->facebook_locale = 'cx_PH';
+
+ $ch = new GP_Locale();
+ $ch->english_name = 'Chamorro';
+ $ch->native_name = 'Chamoru';
+ $ch->lang_code_iso_639_1 = 'ch';
+ $ch->lang_code_iso_639_2 = 'cha';
+ $ch->slug = 'ch';
+
+ $ckb = new GP_Locale();
+ $ckb->english_name = 'Kurdish (Sorani)';
+ $ckb->native_name = 'كوردی‎';
+ $ckb->lang_code_iso_639_1 = 'ku';
+ $ckb->lang_code_iso_639_3 = 'ckb';
+ $ckb->country_code = 'iq';
+ $ckb->wp_locale = 'ckb';
+ $ckb->slug = 'ckb';
+ $ckb->text_direction = 'rtl';
+ $ckb->facebook_locale = 'cb_IQ';
+
+ $co = new GP_Locale();
+ $co->english_name = 'Corsican';
+ $co->native_name = 'Corsu';
+ $co->lang_code_iso_639_1 = 'co';
+ $co->lang_code_iso_639_2 = 'cos';
+ $co->country_code = 'it';
+ $co->wp_locale = 'co';
+ $co->slug = 'co';
+
+ $cr = new GP_Locale();
+ $cr->english_name = 'Cree';
+ $cr->native_name = 'ᓀᐦᐃᔭᐍᐏᐣ';
+ $cr->lang_code_iso_639_1 = 'cr';
+ $cr->lang_code_iso_639_2 = 'cre';
+ $cr->country_code = 'ca';
+ $cr->slug = 'cr';
+
+ $cs = new GP_Locale();
+ $cs->english_name = 'Czech';
+ $cs->native_name = 'Čeština';
+ $cs->lang_code_iso_639_1 = 'cs';
+ $cs->lang_code_iso_639_2 = 'ces';
+ $cs->country_code = 'cz';
+ $cs->wp_locale = 'cs_CZ';
+ $cs->slug = 'cs';
+ $cs->nplurals = 3;
+ $cs->plural_expression = '(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2';
+ $cs->google_code = 'cs';
+ $cs->facebook_locale = 'cs_CZ';
+
+ $csb = new GP_Locale();
+ $csb->english_name = 'Kashubian';
+ $csb->native_name = 'Kaszëbsczi';
+ $csb->lang_code_iso_639_2 = 'csb';
+ $csb->slug = 'csb';
+ $csb->nplurals = 3;
+ $csb->plural_expression = 'n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2';
+
+ $cu = new GP_Locale();
+ $cu->english_name = 'Church Slavic';
+ $cu->native_name = 'ѩзыкъ словѣньскъ';
+ $cu->lang_code_iso_639_1 = 'cu';
+ $cu->lang_code_iso_639_2 = 'chu';
+ $cu->slug = 'cu';
+
+ $cv = new GP_Locale();
+ $cv->english_name = 'Chuvash';
+ $cv->native_name = 'чӑваш чӗлхи';
+ $cv->lang_code_iso_639_1 = 'cv';
+ $cv->lang_code_iso_639_2 = 'chv';
+ $cv->country_code = 'ru';
+ $cv->slug = 'cv';
+
+ $cy = new GP_Locale();
+ $cy->english_name = 'Welsh';
+ $cy->native_name = 'Cymraeg';
+ $cy->lang_code_iso_639_1 = 'cy';
+ $cy->lang_code_iso_639_2 = 'cym';
+ $cy->country_code = 'gb';
+ $cy->wp_locale = 'cy';
+ $cy->slug = 'cy';
+ $cy->nplurals = 4;
+ $cy->plural_expression = '(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3';
+ $cy->google_code = 'cy';
+ $cy->facebook_locale = 'cy_GB';
+
+ $da = new GP_Locale();
+ $da->english_name = 'Danish';
+ $da->native_name = 'Dansk';
+ $da->lang_code_iso_639_1 = 'da';
+ $da->lang_code_iso_639_2 = 'dan';
+ $da->country_code = 'dk';
+ $da->wp_locale = 'da_DK';
+ $da->slug = 'da';
+ $da->google_code = 'da';
+ $da->facebook_locale = 'da_DK';
+
+ $de = new GP_Locale();
+ $de->english_name = 'German';
+ $de->native_name = 'Deutsch';
+ $de->lang_code_iso_639_1 = 'de';
+ $de->country_code = 'de';
+ $de->wp_locale = 'de_DE';
+ $de->slug = 'de';
+ $de->google_code = 'de';
+ $de->facebook_locale = 'de_DE';
+
+ $de_ch = new GP_Locale();
+ $de_ch->english_name = 'German (Switzerland)';
+ $de_ch->native_name = 'Deutsch (Schweiz)';
+ $de_ch->lang_code_iso_639_1 = 'de';
+ $de_ch->country_code = 'ch';
+ $de_ch->wp_locale = 'de_CH';
+ $de_ch->slug = 'de-ch';
+ $de_ch->google_code = 'de';
+
+ $dv = new GP_Locale();
+ $dv->english_name = 'Dhivehi';
+ $dv->native_name = 'ދިވެހި';
+ $dv->lang_code_iso_639_1 = 'dv';
+ $dv->lang_code_iso_639_2 = 'div';
+ $dv->country_code = 'mv';
+ $dv->wp_locale = 'dv';
+ $dv->slug = 'dv';
+ $dv->text_direction = 'rtl';
+
+ $dzo = new GP_Locale();
+ $dzo->english_name = 'Dzongkha';
+ $dzo->native_name = 'རྫོང་ཁ';
+ $dzo->lang_code_iso_639_1 = 'dz';
+ $dzo->lang_code_iso_639_2 = 'dzo';
+ $dzo->country_code = 'bt';
+ $dzo->wp_locale = 'dzo';
+ $dzo->slug = 'dzo';
+ $dzo->nplurals = 1;
+ $dzo->plural_expression = '0';
+
+ $ewe = new GP_Locale();
+ $ewe->english_name = 'Ewe';
+ $ewe->native_name = 'Eʋegbe';
+ $ewe->lang_code_iso_639_1 = 'ee';
+ $ewe->lang_code_iso_639_2 = 'ewe';
+ $ewe->lang_code_iso_639_3 = 'ewe';
+ $ewe->country_code = 'gh';
+ $ewe->wp_locale = 'ewe';
+ $ewe->slug = 'ee';
+
+ $el_po = new GP_Locale();
+ $el_po->english_name = 'Greek (Polytonic)';
+ $el_po->native_name = 'Greek (Polytonic)'; // TODO
+ $el_po->country_code = 'gr';
+ $el_po->slug = 'el-po';
+
+ $el = new GP_Locale();
+ $el->english_name = 'Greek';
+ $el->native_name = 'Ελληνικά';
+ $el->lang_code_iso_639_1 = 'el';
+ $el->lang_code_iso_639_2 = 'ell';
+ $el->country_code = 'gr';
+ $el->wp_locale = 'el';
+ $el->slug = 'el';
+ $el->google_code = 'el';
+ $el->facebook_locale = 'el_GR';
+
+ $emoji = new GP_Locale();
+ $emoji->english_name = 'Emoji';
+ $emoji->native_name = "\xf0\x9f\x8c\x8f\xf0\x9f\x8c\x8d\xf0\x9f\x8c\x8e (Emoji)";
+ $emoji->lang_code_iso_639_2 = 'art';
+ $emoji->wp_locale = 'art_xemoji';
+ $emoji->slug = 'art-xemoji';
+ $emoji->nplurals = 1;
+ $emoji->plural_expression = '0';
+
+ $en = new GP_Locale();
+ $en->english_name = 'English';
+ $en->native_name = 'English';
+ $en->lang_code_iso_639_1 = 'en';
+ $en->country_code = 'us';
+ $en->wp_locale = 'en_US';
+ $en->slug = 'en';
+ $en->google_code = 'en';
+ $en->facebook_locale = 'en_US';
+
+ $en_au = new GP_Locale();
+ $en_au->english_name = 'English (Australia)';
+ $en_au->native_name = 'English (Australia)';
+ $en_au->lang_code_iso_639_1 = 'en';
+ $en_au->lang_code_iso_639_2 = 'eng';
+ $en_au->lang_code_iso_639_3 = 'eng';
+ $en_au->country_code = 'au';
+ $en_au->wp_locale = 'en_AU';
+ $en_au->slug = 'en-au';
+ $en_au->google_code = 'en';
+
+ $en_ca = new GP_Locale();
+ $en_ca->english_name = 'English (Canada)';
+ $en_ca->native_name = 'English (Canada)';
+ $en_ca->lang_code_iso_639_1 = 'en';
+ $en_ca->lang_code_iso_639_2 = 'eng';
+ $en_ca->lang_code_iso_639_3 = 'eng';
+ $en_ca->country_code = 'ca';
+ $en_ca->wp_locale = 'en_CA';
+ $en_ca->slug = 'en-ca';
+ $en_ca->google_code = 'en';
+
+ $en_gb = new GP_Locale();
+ $en_gb->english_name = 'English (UK)';
+ $en_gb->native_name = 'English (UK)';
+ $en_gb->lang_code_iso_639_1 = 'en';
+ $en_gb->lang_code_iso_639_2 = 'eng';
+ $en_gb->lang_code_iso_639_3 = 'eng';
+ $en_gb->country_code = 'gb';
+ $en_gb->wp_locale = 'en_GB';
+ $en_gb->slug = 'en-gb';
+ $en_gb->google_code = 'en';
+ $en_gb->facebook_locale = 'en_GB';
+
+ $en_nz = new GP_Locale();
+ $en_nz->english_name = 'English (New Zealand)';
+ $en_nz->native_name = 'English (New Zealand)';
+ $en_nz->lang_code_iso_639_1 = 'en';
+ $en_nz->lang_code_iso_639_2 = 'eng';
+ $en_nz->lang_code_iso_639_3 = 'eng';
+ $en_nz->country_code = 'nz';
+ $en_nz->wp_locale = 'en_NZ';
+ $en_nz->slug = 'en-nz';
+ $en_nz->google_code = 'en';
+
+ $en_za = new GP_Locale();
+ $en_za->english_name = 'English (South Africa)';
+ $en_za->native_name = 'English (South Africa)';
+ $en_za->lang_code_iso_639_1 = 'en';
+ $en_za->lang_code_iso_639_2 = 'eng';
+ $en_za->lang_code_iso_639_3 = 'eng';
+ $en_za->country_code = 'za';
+ $en_za->wp_locale = 'en_ZA';
+ $en_za->slug = 'en-za';
+ $en_za->google_code = 'en';
+
+ $eo = new GP_Locale();
+ $eo->english_name = 'Esperanto';
+ $eo->native_name = 'Esperanto';
+ $eo->lang_code_iso_639_1 = 'eo';
+ $eo->lang_code_iso_639_2 = 'epo';
+ $eo->wp_locale = 'eo';
+ $eo->slug = 'eo';
+ $eo->google_code = 'eo';
+ $eo->facebook_locale = 'eo_EO';
+
+ $es = new GP_Locale();
+ $es->english_name = 'Spanish (Spain)';
+ $es->native_name = 'Español';
+ $es->lang_code_iso_639_1 = 'es';
+ $es->lang_code_iso_639_2 = 'spa';
+ $es->lang_code_iso_639_3 = 'spa';
+ $es->country_code = 'es';
+ $es->wp_locale = 'es_ES';
+ $es->slug = 'es';
+ $es->google_code = 'es';
+ $es->facebook_locale = 'es_ES';
+
+ $es_ar = new GP_Locale();
+ $es_ar->english_name = 'Spanish (Argentina)';
+ $es_ar->native_name = 'Español de Argentina';
+ $es_ar->lang_code_iso_639_1 = 'es';
+ $es_ar->lang_code_iso_639_2 = 'spa';
+ $es_ar->lang_code_iso_639_3 = 'spa';
+ $es_ar->country_code = 'ar';
+ $es_ar->wp_locale = 'es_AR';
+ $es_ar->slug = 'es-ar';
+ $es_ar->google_code = 'es';
+ $es_ar->facebook_locale = 'es_LA';
+
+ $es_cl = new GP_Locale();
+ $es_cl->english_name = 'Spanish (Chile)';
+ $es_cl->native_name = 'Español de Chile';
+ $es_cl->lang_code_iso_639_1 = 'es';
+ $es_cl->lang_code_iso_639_2 = 'spa';
+ $es_cl->lang_code_iso_639_3 = 'spa';
+ $es_cl->country_code = 'cl';
+ $es_cl->wp_locale = 'es_CL';
+ $es_cl->slug = 'es-cl';
+ $es_cl->google_code = 'es';
+ $es_cl->facebook_locale = 'es_CL';
+
+ $es_co = new GP_Locale();
+ $es_co->english_name = 'Spanish (Colombia)';
+ $es_co->native_name = 'Español de Colombia';
+ $es_co->lang_code_iso_639_1 = 'es';
+ $es_co->lang_code_iso_639_2 = 'spa';
+ $es_co->lang_code_iso_639_3 = 'spa';
+ $es_co->country_code = 'co';
+ $es_co->wp_locale = 'es_CO';
+ $es_co->slug = 'es-co';
+ $es_co->google_code = 'es';
+ $es_co->facebook_locale = 'es_CO';
+
+ $es_cr = new GP_Locale();
+ $es_cr->english_name = 'Spanish (Costa Rica)';
+ $es_cr->native_name = 'Español de Costa Rica';
+ $es_cr->lang_code_iso_639_1 = 'es';
+ $es_cr->lang_code_iso_639_2 = 'spa';
+ $es_cr->lang_code_iso_639_3 = 'spa';
+ $es_cr->country_code = 'cr';
+ $es_cr->wp_locale = 'es_CR';
+ $es_cr->slug = 'es-cr';
+
+ $es_gt = new GP_Locale();
+ $es_gt->english_name = 'Spanish (Guatemala)';
+ $es_gt->native_name = 'Español de Guatemala';
+ $es_gt->lang_code_iso_639_1 = 'es';
+ $es_gt->lang_code_iso_639_2 = 'spa';
+ $es_gt->lang_code_iso_639_3 = 'spa';
+ $es_gt->country_code = 'gt';
+ $es_gt->wp_locale = 'es_GT';
+ $es_gt->slug = 'es-gt';
+ $es_gt->google_code = 'es';
+ $es_gt->facebook_locale = 'es_LA';
+
+ $es_mx = new GP_Locale();
+ $es_mx->english_name = 'Spanish (Mexico)';
+ $es_mx->native_name = 'Español de México';
+ $es_mx->lang_code_iso_639_1 = 'es';
+ $es_mx->lang_code_iso_639_2 = 'spa';
+ $es_mx->lang_code_iso_639_3 = 'spa';
+ $es_mx->country_code = 'mx';
+ $es_mx->wp_locale = 'es_MX';
+ $es_mx->slug = 'es-mx';
+ $es_mx->google_code = 'es';
+ $es_mx->facebook_locale = 'es_MX';
+
+ $es_pe = new GP_Locale();
+ $es_pe->english_name = 'Spanish (Peru)';
+ $es_pe->native_name = 'Español de Perú';
+ $es_pe->lang_code_iso_639_1 = 'es';
+ $es_pe->lang_code_iso_639_2 = 'spa';
+ $es_pe->lang_code_iso_639_3 = 'spa';
+ $es_pe->country_code = 'pe';
+ $es_pe->wp_locale = 'es_PE';
+ $es_pe->slug = 'es-pe';
+ $es_pe->google_code = 'es';
+ $es_pe->facebook_locale = 'es_LA';
+
+ $es_pr = new GP_Locale();
+ $es_pr->english_name = 'Spanish (Puerto Rico)';
+ $es_pr->native_name = 'Español de Puerto Rico';
+ $es_pr->lang_code_iso_639_1 = 'es';
+ $es_pr->lang_code_iso_639_2 = 'spa';
+ $es_pr->lang_code_iso_639_3 = 'spa';
+ $es_pr->country_code = 'pr';
+ $es_pr->wp_locale = 'es_PR';
+ $es_pr->slug = 'es-pr';
+ $es_pr->google_code = 'es';
+ $es_pr->facebook_locale = 'es_LA';
+
+ $es_us = new GP_Locale();
+ $es_us->english_name = 'Spanish (US)';
+ $es_us->native_name = 'Español de los Estados Unidos';
+ $es_us->lang_code_iso_639_1 = 'es';
+ $es_us->lang_code_iso_639_2 = 'spa';
+ $es_us->lang_code_iso_639_3 = 'spa';
+ $es_us->country_code = 'us';
+ $es_us->slug = 'es-us';
+
+ $es_ve = new GP_Locale();
+ $es_ve->english_name = 'Spanish (Venezuela)';
+ $es_ve->native_name = 'Español de Venezuela';
+ $es_ve->lang_code_iso_639_1 = 'es';
+ $es_ve->lang_code_iso_639_2 = 'spa';
+ $es_ve->lang_code_iso_639_3 = 'spa';
+ $es_ve->country_code = 've';
+ $es_ve->wp_locale = 'es_VE';
+ $es_ve->slug = 'es-ve';
+ $es_ve->google_code = 'es';
+ $es_ve->facebook_locale = 'es_VE';
+
+ $et = new GP_Locale();
+ $et->english_name = 'Estonian';
+ $et->native_name = 'Eesti';
+ $et->lang_code_iso_639_1 = 'et';
+ $et->lang_code_iso_639_2 = 'est';
+ $et->country_code = 'ee';
+ $et->wp_locale = 'et';
+ $et->slug = 'et';
+ $et->google_code = 'et';
+ $et->facebook_locale = 'et_EE';
+
+ $eu = new GP_Locale();
+ $eu->english_name = 'Basque';
+ $eu->native_name = 'Euskara';
+ $eu->lang_code_iso_639_1 = 'eu';
+ $eu->lang_code_iso_639_2 = 'eus';
+ $eu->country_code = 'es';
+ $eu->wp_locale = 'eu';
+ $eu->slug = 'eu';
+ $eu->google_code = 'eu';
+ $eu->facebook_locale = 'eu_ES';
+
+ $fa = new GP_Locale();
+ $fa->english_name = 'Persian';
+ $fa->native_name = 'فارسی';
+ $fa->lang_code_iso_639_1 = 'fa';
+ $fa->lang_code_iso_639_2 = 'fas';
+ $fa->wp_locale = 'fa_IR';
+ $fa->slug = 'fa';
+ $fa->nplurals = 1;
+ $fa->plural_expression = '0';
+ $fa->text_direction = 'rtl';
+ $fa->google_code = 'fa';
+ $fa->facebook_locale = 'fa_IR';
+
+ $fa_af = new GP_Locale();
+ $fa_af->english_name = 'Persian (Afghanistan)';
+ $fa_af->native_name = '(فارسی (افغانستان';
+ $fa_af->lang_code_iso_639_1 = 'fa';
+ $fa_af->lang_code_iso_639_2 = 'fas';
+ $fa_af->wp_locale = 'fa_AF';
+ $fa_af->slug = 'fa-af';
+ $fa_af->nplurals = 1;
+ $fa_af->plural_expression = '0';
+ $fa_af->text_direction = 'rtl';
+ $fa_af->google_code = 'fa';
+
+ $ff_sn = new GP_Locale();
+ $ff_sn->english_name = 'Fulah';
+ $ff_sn->native_name = 'Pulaar';
+ $ff_sn->lang_code_iso_639_1 = 'ff';
+ $ff_sn->lang_code_iso_639_2 = 'fuc';
+ $ff_sn->country_code = 'sn';
+ $ff_sn->wp_locale = 'fuc';
+ $ff_sn->slug = 'fuc';
+ $ff_sn->plural_expression = 'n!=1';
+
+ $fi = new GP_Locale();
+ $fi->english_name = 'Finnish';
+ $fi->native_name = 'Suomi';
+ $fi->lang_code_iso_639_1 = 'fi';
+ $fi->lang_code_iso_639_2 = 'fin';
+ $fi->country_code = 'fi';
+ $fi->wp_locale = 'fi';
+ $fi->slug = 'fi';
+ $fi->google_code = 'fi';
+ $fi->facebook_locale = 'fi_FI';
+
+ $fj = new GP_Locale();
+ $fj->english_name = 'Fijian';
+ $fj->native_name = 'Vosa Vakaviti';
+ $fj->lang_code_iso_639_1 = 'fj';
+ $fj->lang_code_iso_639_2 = 'fij';
+ $fj->country_code = 'fj';
+ $fj->slug = 'fj';
+
+ $fo = new GP_Locale();
+ $fo->english_name = 'Faroese';
+ $fo->native_name = 'Føroyskt';
+ $fo->lang_code_iso_639_1 = 'fo';
+ $fo->lang_code_iso_639_2 = 'fao';
+ $fo->country_code = 'fo';
+ $fo->wp_locale = 'fo';
+ $fo->slug = 'fo';
+ $fo->facebook_locale = 'fo_FO';
+
+ $fr = new GP_Locale();
+ $fr->english_name = 'French (France)';
+ $fr->native_name = 'Français';
+ $fr->lang_code_iso_639_1 = 'fr';
+ $fr->country_code = 'fr';
+ $fr->wp_locale = 'fr_FR';
+ $fr->slug = 'fr';
+ $fr->nplurals = 2;
+ $fr->plural_expression = 'n > 1';
+ $fr->google_code = 'fr';
+ $fr->facebook_locale = 'fr_FR';
+
+ $fr_be = new GP_Locale();
+ $fr_be->english_name = 'French (Belgium)';
+ $fr_be->native_name = 'Français de Belgique';
+ $fr_be->lang_code_iso_639_1 = 'fr';
+ $fr_be->lang_code_iso_639_2 = 'fra';
+ $fr_be->country_code = 'be';
+ $fr_be->wp_locale = 'fr_BE';
+ $fr_be->slug = 'fr-be';
+
+ $fr_ca = new GP_Locale();
+ $fr_ca->english_name = 'French (Canada)';
+ $fr_ca->native_name = 'Français du Canada';
+ $fr_ca->lang_code_iso_639_1 = 'fr';
+ $fr_ca->lang_code_iso_639_2 = 'fra';
+ $fr_ca->country_code = 'ca';
+ $fr_ca->wp_locale = 'fr_CA';
+ $fr_ca->slug = 'fr-ca';
+ $fr_ca->facebook_locale = 'fr_CA';
+
+ $fr_ch = new GP_Locale();
+ $fr_ch->english_name = 'French (Switzerland)';
+ $fr_ch->native_name = 'Français de Suisse';
+ $fr_ch->lang_code_iso_639_1 = 'fr';
+ $fr_ch->lang_code_iso_639_2 = 'fra';
+ $fr_ch->country_code = 'ch';
+ $fr_ch->slug = 'fr-ch';
+
+ $frp = new GP_Locale();
+ $frp->english_name = 'Arpitan';
+ $frp->native_name = 'Arpitan';
+ $frp->lang_code_iso_639_3 = 'frp';
+ $frp->country_code = 'fr';
+ $frp->wp_locale = 'frp';
+ $frp->slug = 'frp';
+ $frp->nplurals = 2;
+ $frp->plural_expression = 'n > 1';
+
+ $fur = new GP_Locale();
+ $fur->english_name = 'Friulian';
+ $fur->native_name = 'Friulian';
+ $fur->lang_code_iso_639_2 = 'fur';
+ $fur->lang_code_iso_639_3 = 'fur';
+ $fur->country_code = 'it';
+ $fur->wp_locale = 'fur';
+ $fur->slug = 'fur';
+
+ $fy = new GP_Locale();
+ $fy->english_name = 'Frisian';
+ $fy->native_name = 'Frysk';
+ $fy->lang_code_iso_639_1 = 'fy';
+ $fy->lang_code_iso_639_2 = 'fry';
+ $fy->country_code = 'nl';
+ $fy->wp_locale = 'fy';
+ $fy->slug = 'fy';
+ $fy->facebook_locale = 'fy_NL';
+
+ $ga = new GP_Locale();
+ $ga->english_name = 'Irish';
+ $ga->native_name = 'Gaelige';
+ $ga->lang_code_iso_639_1 = 'ga';
+ $ga->lang_code_iso_639_2 = 'gle';
+ $ga->country_code = 'ie';
+ $ga->slug = 'ga';
+ $ga->wp_locale = 'ga';
+ $ga->nplurals = 5;
+ $ga->plural_expression = 'n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4';
+ $ga->google_code = 'ga';
+ $ga->facebook_locale = 'ga_IE';
+
+ $gd = new GP_Locale();
+ $gd->english_name = 'Scottish Gaelic';
+ $gd->native_name = 'Gàidhlig';
+ $gd->lang_code_iso_639_1 = 'gd';
+ $gd->lang_code_iso_639_2 = 'gla';
+ $gd->lang_code_iso_639_3 = 'gla';
+ $gd->country_code = 'gb';
+ $gd->wp_locale = 'gd';
+ $gd->slug = 'gd';
+ $gd->nplurals = 4;
+ $gd->plural_expression = '(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3';
+ $gd->google_code = 'gd';
+
+ $gl = new GP_Locale();
+ $gl->english_name = 'Galician';
+ $gl->native_name = 'Galego';
+ $gl->lang_code_iso_639_1 = 'gl';
+ $gl->lang_code_iso_639_2 = 'glg';
+ $gl->country_code = 'es';
+ $gl->wp_locale = 'gl_ES';
+ $gl->slug = 'gl';
+ $gl->google_code = 'gl';
+ $gl->facebook_locale = 'gl_ES';
+
+ $gn = new GP_Locale();
+ $gn->english_name = 'Guaraní';
+ $gn->native_name = 'Avañe\'ẽ';
+ $gn->lang_code_iso_639_1 = 'gn';
+ $gn->lang_code_iso_639_2 = 'grn';
+ $gn->wp_locale = 'gn';
+ $gn->slug = 'gn';
+
+ $gsw = new GP_Locale();
+ $gsw->english_name = 'Swiss German';
+ $gsw->native_name = 'Schwyzerdütsch';
+ $gsw->lang_code_iso_639_2 = 'gsw';
+ $gsw->lang_code_iso_639_3 = 'gsw';
+ $gsw->country_code = 'ch';
+ $gsw->wp_locale = 'gsw';
+ $gsw->slug = 'gsw';
+
+ $gu = new GP_Locale();
+ $gu->english_name = 'Gujarati';
+ $gu->native_name = 'ગુજરાતી';
+ $gu->lang_code_iso_639_1 = 'gu';
+ $gu->lang_code_iso_639_2 = 'guj';
+ $gu->wp_locale = 'gu';
+ $gu->slug = 'gu';
+ $gu->google_code = 'gu';
+ $gu->facebook_locale = 'gu_IN';
+
+ $ha = new GP_Locale();
+ $ha->english_name = 'Hausa (Arabic)';
+ $ha->native_name = 'هَوُسَ';
+ $ha->lang_code_iso_639_1 = 'ha';
+ $ha->lang_code_iso_639_2 = 'hau';
+ $ha->slug = 'ha';
+ $ha->text_direction = 'rtl';
+ $ha->google_code = 'ha';
+
+ $hat = new GP_Locale();
+ $hat->english_name = 'Haitian Creole';
+ $hat->native_name = 'Kreyol ayisyen';
+ $hat->lang_code_iso_639_1 = 'ht';
+ $hat->lang_code_iso_639_2 = 'hat';
+ $hat->lang_code_iso_639_3 = 'hat';
+ $hat->country_code = 'ht';
+ $hat->wp_locale = 'hat';
+ $hat->slug = 'hat';
+
+ $hau = new GP_Locale();
+ $hau->english_name = 'Hausa';
+ $hau->native_name = 'Harshen Hausa';
+ $hau->lang_code_iso_639_1 = 'ha';
+ $hau->lang_code_iso_639_2 = 'hau';
+ $hau->lang_code_iso_639_3 = 'hau';
+ $hau->country_code = 'ng';
+ $hau->wp_locale = 'hau';
+ $hau->slug = 'hau';
+ $hau->google_code = 'ha';
+ $hau->facebook_locale = 'ha_NG';
+
+ $haw = new GP_Locale();
+ $haw->english_name = 'Hawaiian';
+ $haw->native_name = 'Ōlelo Hawaiʻi';
+ $haw->lang_code_iso_639_2 = 'haw';
+ $haw->country_code = 'us';
+ $haw->wp_locale = 'haw_US';
+ $haw->slug = 'haw';
+
+ $haz = new GP_Locale();
+ $haz->english_name = 'Hazaragi';
+ $haz->native_name = 'هزاره گی';
+ $haz->lang_code_iso_639_3 = 'haz';
+ $haz->country_code = 'af';
+ $haz->wp_locale = 'haz';
+ $haz->slug = 'haz';
+ $haz->text_direction = 'rtl';
+
+ $he = new GP_Locale();
+ $he->english_name = 'Hebrew';
+ $he->native_name = 'עִבְרִית';
+ $he->lang_code_iso_639_1 = 'he';
+ $he->country_code = 'il';
+ $he->wp_locale = 'he_IL';
+ $he->slug = 'he';
+ $he->text_direction = 'rtl';
+ $he->google_code = 'iw';
+ $he->facebook_locale = 'he_IL';
+
+ $hi = new GP_Locale();
+ $hi->english_name = 'Hindi';
+ $hi->native_name = 'हिन्दी';
+ $hi->lang_code_iso_639_1 = 'hi';
+ $hi->lang_code_iso_639_2 = 'hin';
+ $hi->country_code = 'in';
+ $hi->wp_locale = 'hi_IN';
+ $hi->slug = 'hi';
+ $hi->google_code = 'hi';
+ $hi->facebook_locale = 'hi_IN';
+
+ $hr = new GP_Locale();
+ $hr->english_name = 'Croatian';
+ $hr->native_name = 'Hrvatski';
+ $hr->lang_code_iso_639_1 = 'hr';
+ $hr->lang_code_iso_639_2 = 'hrv';
+ $hr->country_code = 'hr';
+ $hr->wp_locale = 'hr';
+ $hr->slug = 'hr';
+ $hr->nplurals = 3;
+ $hr->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+ $hr->google_code = 'hr';
+ $hr->facebook_locale = 'hr_HR';
+
+ $hu = new GP_Locale();
+ $hu->english_name = 'Hungarian';
+ $hu->native_name = 'Magyar';
+ $hu->lang_code_iso_639_1 = 'hu';
+ $hu->lang_code_iso_639_2 = 'hun';
+ $hu->country_code = 'hu';
+ $hu->wp_locale = 'hu_HU';
+ $hu->slug = 'hu';
+ $hu->google_code = 'hu';
+ $hu->facebook_locale = 'hu_HU';
+
+ $hy = new GP_Locale();
+ $hy->english_name = 'Armenian';
+ $hy->native_name = 'Հայերեն';
+ $hy->lang_code_iso_639_1 = 'hy';
+ $hy->lang_code_iso_639_2 = 'hye';
+ $hy->country_code = 'am';
+ $hy->wp_locale = 'hy';
+ $hy->slug = 'hy';
+ $hy->google_code = 'hy';
+ $hy->facebook_locale = 'hy_AM';
+
+ $ia = new GP_Locale();
+ $ia->english_name = 'Interlingua';
+ $ia->native_name = 'Interlingua';
+ $ia->lang_code_iso_639_1 = 'ia';
+ $ia->lang_code_iso_639_2 = 'ina';
+ $ia->slug = 'ia';
+
+ $id = new GP_Locale();
+ $id->english_name = 'Indonesian';
+ $id->native_name = 'Bahasa Indonesia';
+ $id->lang_code_iso_639_1 = 'id';
+ $id->lang_code_iso_639_2 = 'ind';
+ $id->country_code = 'id';
+ $id->wp_locale = 'id_ID';
+ $id->slug = 'id';
+ $id->nplurals = 2;
+ $id->plural_expression = 'n > 1';
+ $id->google_code = 'id';
+ $id->facebook_locale = 'id_ID';
+
+ $ido = new GP_Locale();
+ $ido->english_name = 'Ido';
+ $ido->native_name = 'Ido';
+ $ido->lang_code_iso_639_1 = 'io';
+ $ido->lang_code_iso_639_2 = 'ido';
+ $ido->lang_code_iso_639_3 = 'ido';
+ $ido->wp_locale = 'ido';
+ $ido->slug = 'ido';
+
+ $ike = new GP_Locale();
+ $ike->english_name = 'Inuktitut';
+ $ike->native_name = 'ᐃᓄᒃᑎᑐᑦ';
+ $ike->lang_code_iso_639_1 = 'iu';
+ $ike->lang_code_iso_639_2 = 'iku';
+ $ike->country_code = 'ca';
+ $ike->slug = 'ike';
+
+ $ilo = new GP_Locale();
+ $ilo->english_name = 'Iloko';
+ $ilo->native_name = 'Pagsasao nga Iloko';
+ $ilo->lang_code_iso_639_2 = 'ilo';
+ $ilo->country_code = 'ph';
+ $ilo->slug = 'ilo';
+
+ $is = new GP_Locale();
+ $is->english_name = 'Icelandic';
+ $is->native_name = 'Íslenska';
+ $is->lang_code_iso_639_1 = 'is';
+ $is->lang_code_iso_639_2 = 'isl';
+ $is->country_code = 'is';
+ $is->slug = 'is';
+ $is->wp_locale = 'is_IS';
+ $is->nplurals = 2;
+ $is->plural_expression = '(n % 100 != 1 && n % 100 != 21 && n % 100 != 31 && n % 100 != 41 && n % 100 != 51 && n % 100 != 61 && n % 100 != 71 && n % 100 != 81 && n % 100 != 91)';
+ $is->google_code = 'is';
+ $is->facebook_locale = 'is_IS';
+
+ $it = new GP_Locale();
+ $it->english_name = 'Italian';
+ $it->native_name = 'Italiano';
+ $it->lang_code_iso_639_1 = 'it';
+ $it->lang_code_iso_639_2 = 'ita';
+ $it->country_code = 'it';
+ $it->wp_locale = 'it_IT';
+ $it->slug = 'it';
+ $it->google_code = 'it';
+ $it->facebook_locale = 'it_IT';
+
+ $ja = new GP_Locale();
+ $ja->english_name = 'Japanese';
+ $ja->native_name = '日本語';
+ $ja->lang_code_iso_639_1 = 'ja';
+ $ja->country_code = 'jp';
+ $ja->wp_locale = 'ja';
+ $ja->slug = 'ja';
+ $ja->google_code = 'ja';
+ $ja->facebook_locale = 'ja_JP';
+ $ja->nplurals = 1;
+ $ja->plural_expression = '0';
+
+ $jv = new GP_Locale();
+ $jv->english_name = 'Javanese';
+ $jv->native_name = 'Basa Jawa';
+ $jv->lang_code_iso_639_1 = 'jv';
+ $jv->lang_code_iso_639_2 = 'jav';
+ $jv->country_code = 'id';
+ $jv->wp_locale = 'jv_ID';
+ $jv->slug = 'jv';
+ $jv->google_code = 'jw';
+ $jv->facebook_locale = 'jv_ID';
+
+ $ka = new GP_Locale();
+ $ka->english_name = 'Georgian';
+ $ka->native_name = 'ქართული';
+ $ka->lang_code_iso_639_1 = 'ka';
+ $ka->lang_code_iso_639_2 = 'kat';
+ $ka->country_code = 'ge';
+ $ka->wp_locale = 'ka_GE';
+ $ka->slug = 'ka';
+ $ka->nplurals = 1;
+ $ka->plural_expression = '0';
+ $ka->google_code = 'ka';
+ $ka->facebook_locale = 'ka_GE';
+
+ $kab = new GP_Locale();
+ $kab->english_name = 'Kabyle';
+ $kab->native_name = 'Taqbaylit';
+ $kab->lang_code_iso_639_2 = 'kab';
+ $kab->lang_code_iso_639_3 = 'kab';
+ $kab->country_code = 'dz';
+ $kab->wp_locale = 'kab';
+ $kab->slug = 'kab';
+ $kab->nplurals = 2;
+ $kab->plural_expression = '(n > 1)';
+
+ $kal = new GP_Locale();
+ $kal->english_name = 'Greenlandic';
+ $kal->native_name = 'Kalaallisut';
+ $kal->lang_code_iso_639_1 = 'kl';
+ $kal->lang_code_iso_639_2 = 'kal';
+ $kal->lang_code_iso_639_3 = 'kal';
+ $kal->country_code = 'gl';
+ $kal->wp_locale = 'kal';
+ $kal->slug = 'kal';
+
+ $kin = new GP_Locale();
+ $kin->english_name = 'Kinyarwanda';
+ $kin->native_name = 'Ikinyarwanda';
+ $kin->lang_code_iso_639_1 = 'rw';
+ $kin->lang_code_iso_639_2 = 'kin';
+ $kin->lang_code_iso_639_3 = 'kin';
+ $kin->wp_locale = 'kin';
+ $kin->country_code = 'rw';
+ $kin->slug = 'kin';
+ $kin->facebook_locale = 'rw_RW';
+
+ $kk = new GP_Locale();
+ $kk->english_name = 'Kazakh';
+ $kk->native_name = 'Қазақ тілі';
+ $kk->lang_code_iso_639_1 = 'kk';
+ $kk->lang_code_iso_639_2 = 'kaz';
+ $kk->country_code = 'kz';
+ $kk->wp_locale = 'kk';
+ $kk->slug = 'kk';
+ $kk->google_code = 'kk';
+ $kk->facebook_locale = 'kk_KZ';
+
+ $km = new GP_Locale();
+ $km->english_name = 'Khmer';
+ $km->native_name = 'ភាសាខ្មែរ';
+ $km->lang_code_iso_639_1 = 'km';
+ $km->lang_code_iso_639_2 = 'khm';
+ $km->country_code = 'kh';
+ $km->wp_locale = 'km';
+ $km->slug = 'km';
+ $km->nplurals = 1;
+ $km->plural_expression = '0';
+ $km->google_code = 'km';
+ $km->facebook_locale = 'km_KH';
+
+ $kmr = new GP_Locale();
+ $kmr->english_name = 'Kurdish (Kurmanji)';
+ $kmr->native_name = 'Kurdî';
+ $kmr->lang_code_iso_639_1 = 'ku';
+ $kmr->lang_code_iso_639_3 = 'kmr';
+ $kmr->country_code = 'tr';
+ $kmr->slug = 'kmr';
+ $kmr->facebook_locale = 'ku_TR';
+
+ $kn = new GP_Locale();
+ $kn->english_name = 'Kannada';
+ $kn->native_name = 'ಕನ್ನಡ';
+ $kn->lang_code_iso_639_1 = 'kn';
+ $kn->lang_code_iso_639_2 = 'kan';
+ $kn->country_code = 'in';
+ $kn->wp_locale = 'kn';
+ $kn->slug = 'kn';
+ $kn->google_code = 'kn';
+ $kn->facebook_locale = 'kn_IN';
+
+ $ko = new GP_Locale();
+ $ko->english_name = 'Korean';
+ $ko->native_name = '한국어';
+ $ko->lang_code_iso_639_1 = 'ko';
+ $ko->lang_code_iso_639_2 = 'kor';
+ $ko->country_code = 'kr';
+ $ko->wp_locale = 'ko_KR';
+ $ko->slug = 'ko';
+ $ko->nplurals = 1;
+ $ko->plural_expression = '0';
+ $ko->google_code = 'ko';
+ $ko->facebook_locale = 'ko_KR';
+
+ $ks = new GP_Locale();
+ $ks->english_name = 'Kashmiri';
+ $ks->native_name = 'कश्मीरी';
+ $ks->lang_code_iso_639_1 = 'ks';
+ $ks->lang_code_iso_639_2 = 'kas';
+ $ks->slug = 'ks';
+
+ $kir = new GP_Locale();
+ $kir->english_name = 'Kyrgyz';
+ $kir->native_name = 'Кыргызча';
+ $kir->lang_code_iso_639_1 = 'ky';
+ $kir->lang_code_iso_639_2 = 'kir';
+ $kir->lang_code_iso_639_3 = 'kir';
+ $kir->country_code = 'kg';
+ $kir->wp_locale = 'kir';
+ $kir->slug = 'kir';
+ $kir->nplurals = 1;
+ $kir->plural_expression = '0';
+ $kir->google_code = 'ky';
+
+ $la = new GP_Locale();
+ $la->english_name = 'Latin';
+ $la->native_name = 'Latine';
+ $la->lang_code_iso_639_1 = 'la';
+ $la->lang_code_iso_639_2 = 'lat';
+ $la->slug = 'la';
+ $la->google_code = 'la';
+ $la->facebook_locale = 'la_VA';
+
+ $lb = new GP_Locale();
+ $lb->english_name = 'Luxembourgish';
+ $lb->native_name = 'Lëtzebuergesch';
+ $lb->lang_code_iso_639_1 = 'lb';
+ $lb->country_code = 'lu';
+ $lb->wp_locale = 'lb_LU';
+ $lb->slug = 'lb';
+
+ $li = new GP_Locale();
+ $li->english_name = 'Limburgish';
+ $li->native_name = 'Limburgs';
+ $li->lang_code_iso_639_1 = 'li';
+ $li->lang_code_iso_639_2 = 'lim';
+ $li->lang_code_iso_639_3 = 'lim';
+ $li->country_code = 'nl';
+ $li->wp_locale = 'li';
+ $li->slug = 'li';
+ $li->facebook_locale = 'li_NL';
+
+ $lin = new GP_Locale();
+ $lin->english_name = 'Lingala';
+ $lin->native_name = 'Ngala';
+ $lin->lang_code_iso_639_1 = 'ln';
+ $lin->lang_code_iso_639_2 = 'lin';
+ $lin->country_code = 'cd';
+ $lin->wp_locale = 'lin';
+ $lin->slug = 'lin';
+ $lin->nplurals = 2;
+ $lin->plural_expression = 'n>1';
+ $lin->facebook_locale = 'ln_CD';
+
+ $lmo = new GP_Locale();
+ $lmo->english_name = 'Lombard';
+ $lmo->native_name = 'Lombardo';
+ $lmo->lang_code_iso_639_3 = 'lmo';
+ $lmo->country_code = 'it';
+ $lmo->wp_locale = 'lmo';
+ $lmo->slug = 'lmo';
+
+ $lo = new GP_Locale();
+ $lo->english_name = 'Lao';
+ $lo->native_name = 'ພາສາລາວ';
+ $lo->lang_code_iso_639_1 = 'lo';
+ $lo->lang_code_iso_639_2 = 'lao';
+ $lo->country_code = 'LA';
+ $lo->wp_locale = 'lo';
+ $lo->slug = 'lo';
+ $lo->nplurals = 1;
+ $lo->plural_expression = '0';
+ $lo->google_code = 'lo';
+ $lo->facebook_locale = 'lo_LA';
+
+ $lt = new GP_Locale();
+ $lt->english_name = 'Lithuanian';
+ $lt->native_name = 'Lietuvių kalba';
+ $lt->lang_code_iso_639_1 = 'lt';
+ $lt->lang_code_iso_639_2 = 'lit';
+ $lt->country_code = 'lt';
+ $lt->wp_locale = 'lt_LT';
+ $lt->slug = 'lt';
+ $lt->nplurals = 3;
+ $lt->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)';
+ $lt->google_code = 'lt';
+ $lt->facebook_locale = 'lt_LT';
+
+ $lug = new GP_Locale();
+ $lug->english_name = 'Luganda';
+ $lug->native_name = 'Oluganda';
+ $lug->lang_code_iso_639_1 = 'lg';
+ $lug->lang_code_iso_639_2 = 'lug';
+ $lug->lang_code_iso_639_3 = 'lug';
+ $lug->country_code = 'ug';
+ $lug->wp_locale = 'lug';
+ $lug->slug = 'lug';
+
+ $lv = new GP_Locale();
+ $lv->english_name = 'Latvian';
+ $lv->native_name = 'Latviešu valoda';
+ $lv->lang_code_iso_639_1 = 'lv';
+ $lv->lang_code_iso_639_2 = 'lav';
+ $lv->country_code = 'lv';
+ $lv->wp_locale = 'lv';
+ $lv->slug = 'lv';
+ $lv->nplurals = 3;
+ $lv->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)';
+ $lv->google_code = 'lv';
+ $lv->facebook_locale = 'lv_LV';
+
+ $me = new GP_Locale();
+ $me->english_name = 'Montenegrin';
+ $me->native_name = 'Crnogorski jezik';
+ $me->lang_code_iso_639_1 = 'me';
+ $me->country_code = 'me';
+ $me->wp_locale = 'me_ME';
+ $me->slug = 'me';
+ $me->nplurals = 3;
+ $me->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+
+ $mfe = new GP_Locale();
+ $mfe->english_name = 'Mauritian Creole';
+ $mfe->native_name = 'Kreol Morisien';
+ $mfe->lang_code_iso_639_3 = 'mfe';
+ $mfe->country_code = 'mu';
+ $mfe->wp_locale = 'mfe';
+ $mfe->slug = 'mfe';
+ $mfe->nplurals = 1;
+ $mfe->plural_expression = '0';
+
+ $mg = new GP_Locale();
+ $mg->english_name = 'Malagasy';
+ $mg->native_name = 'Malagasy';
+ $mg->lang_code_iso_639_1 = 'mg';
+ $mg->lang_code_iso_639_2 = 'mlg';
+ $mg->country_code = 'mg';
+ $mg->wp_locale = 'mg_MG';
+ $mg->slug = 'mg';
+ $mg->google_code = 'mg';
+ $mg->facebook_locale = 'mg_MG';
+
+ $mhr = new GP_Locale();
+ $mhr->english_name = 'Mari (Meadow)';
+ $mhr->native_name = 'Олык марий';
+ $mhr->lang_code_iso_639_3 = 'mhr';
+ $mhr->country_code = 'ru';
+ $mhr->slug = 'mhr';
+
+ $mk = new GP_Locale();
+ $mk->english_name = 'Macedonian';
+ $mk->native_name = 'Македонски јазик';
+ $mk->lang_code_iso_639_1 = 'mk';
+ $mk->lang_code_iso_639_2 = 'mkd';
+ $mk->country_code = 'mk';
+ $mk->wp_locale = 'mk_MK';
+ $mk->slug = 'mk';
+ $mk->nplurals = 2;
+ $mk->plural_expression = 'n==1 || n%10==1 ? 0 : 1';
+ $mk->google_code = 'mk';
+ $mk->facebook_locale = 'mk_MK';
+
+ $ml = new GP_Locale();
+ $ml->english_name = 'Malayalam';
+ $ml->native_name = 'മലയാളം';
+ $ml->lang_code_iso_639_1 = 'ml';
+ $ml->lang_code_iso_639_2 = 'mal';
+ $ml->country_code = 'in';
+ $ml->wp_locale = 'ml_IN';
+ $ml->slug = 'ml';
+ $ml->google_code = 'ml';
+ $ml->facebook_locale = 'ml_IN';
+
+ $mlt = new GP_Locale();
+ $mlt->english_name = 'Maltese';
+ $mlt->native_name = 'Malti';
+ $mlt->lang_code_iso_639_1 = 'mt';
+ $mlt->lang_code_iso_639_2 = 'mlt';
+ $mlt->lang_code_iso_639_3 = 'mlt';
+ $mlt->country_code = 'mt';
+ $mlt->wp_locale = 'mlt';
+ $mlt->slug = 'mlt';
+ $mlt->nplurals = 4;
+ $mlt->plural_expression = '(n==1 ? 0 : n==0 || ( n%100>1 && n%100<11) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)';
+ $mlt->google_code = 'mt';
+ $mlt->facebook_locale = 'mt_MT';
+
+ $mn = new GP_Locale();
+ $mn->english_name = 'Mongolian';
+ $mn->native_name = 'Монгол';
+ $mn->lang_code_iso_639_1 = 'mn';
+ $mn->lang_code_iso_639_2 = 'mon';
+ $mn->country_code = 'mn';
+ $mn->wp_locale = 'mn';
+ $mn->slug = 'mn';
+ $mn->google_code = 'mn';
+ $mn->facebook_locale = 'mn_MN';
+
+ $mr = new GP_Locale();
+ $mr->english_name = 'Marathi';
+ $mr->native_name = 'मराठी';
+ $mr->lang_code_iso_639_1 = 'mr';
+ $mr->lang_code_iso_639_2 = 'mar';
+ $mr->wp_locale = 'mr';
+ $mr->slug = 'mr';
+ $mr->google_code = 'mr';
+ $mr->facebook_locale = 'mr_IN';
+
+ $mri = new GP_Locale();
+ $mri->english_name = 'Maori';
+ $mri->native_name = 'Te Reo Māori';
+ $mri->lang_code_iso_639_1 = 'mi';
+ $mri->lang_code_iso_639_3 = 'mri';
+ $mri->country_code = 'nz';
+ $mri->slug = 'mri';
+ $mri->wp_locale = 'mri';
+ $mri->nplurals = 2;
+ $mri->plural_expression = '(n > 1)';
+ $mri->google_code = 'mi';
+
+ $mrj = new GP_Locale();
+ $mrj->english_name = 'Mari (Hill)';
+ $mrj->native_name = 'Кырык мары';
+ $mrj->lang_code_iso_639_3 = 'mrj';
+ $mrj->country_code = 'ru';
+ $mrj->slug = 'mrj';
+
+ $ms = new GP_Locale();
+ $ms->english_name = 'Malay';
+ $ms->native_name = 'Bahasa Melayu';
+ $ms->lang_code_iso_639_1 = 'ms';
+ $ms->lang_code_iso_639_2 = 'msa';
+ $ms->wp_locale = 'ms_MY';
+ $ms->slug = 'ms';
+ $ms->nplurals = 1;
+ $ms->plural_expression = '0';
+ $ms->google_code = 'ms';
+ $ms->facebook_locale = 'ms_MY';
+
+ $mwl = new GP_Locale();
+ $mwl->english_name = 'Mirandese';
+ $mwl->native_name = 'Mirandés';
+ $mwl->lang_code_iso_639_2 = 'mwl';
+ $mwl->slug = 'mwl';
+
+ $my = new GP_Locale();
+ $my->english_name = 'Myanmar (Burmese)';
+ $my->native_name = 'ဗမာစာ';
+ $my->lang_code_iso_639_1 = 'my';
+ $my->lang_code_iso_639_2 = 'mya';
+ $my->country_code = 'mm';
+ $my->wp_locale = 'my_MM';
+ $my->slug = 'mya';
+ $my->google_code = 'my';
+
+ $ne = new GP_Locale();
+ $ne->english_name = 'Nepali';
+ $ne->native_name = 'नेपाली';
+ $ne->lang_code_iso_639_1 = 'ne';
+ $ne->lang_code_iso_639_2 = 'nep';
+ $ne->country_code = 'np';
+ $ne->wp_locale = 'ne_NP';
+ $ne->slug = 'ne';
+ $ne->google_code = 'ne';
+ $ne->facebook_locale = 'ne_NP';
+
+ $nb = new GP_Locale();
+ $nb->english_name = 'Norwegian (Bokmål)';
+ $nb->native_name = 'Norsk bokmål';
+ $nb->lang_code_iso_639_1 = 'nb';
+ $nb->lang_code_iso_639_2 = 'nob';
+ $nb->country_code = 'no';
+ $nb->wp_locale = 'nb_NO';
+ $nb->slug = 'nb';
+ $nb->google_code = 'no';
+ $nb->facebook_locale = 'nb_NO';
+
+ $nl = new GP_Locale();
+ $nl->english_name = 'Dutch';
+ $nl->native_name = 'Nederlands';
+ $nl->lang_code_iso_639_1 = 'nl';
+ $nl->lang_code_iso_639_2 = 'nld';
+ $nl->country_code = 'nl';
+ $nl->wp_locale = 'nl_NL';
+ $nl->slug = 'nl';
+ $nl->google_code = 'nl';
+ $nl->facebook_locale = 'nl_NL';
+
+ $nl_be = new GP_Locale();
+ $nl_be->english_name = 'Dutch (Belgium)';
+ $nl_be->native_name = 'Nederlands (België)';
+ $nl_be->lang_code_iso_639_1 = 'nl';
+ $nl_be->lang_code_iso_639_2 = 'nld';
+ $nl_be->country_code = 'be';
+ $nl_be->wp_locale = 'nl_BE';
+ $nl_be->slug = 'nl-be';
+ $nl_be->google_code = 'nl';
+
+ $nn = new GP_Locale();
+ $nn->english_name = 'Norwegian (Nynorsk)';
+ $nn->native_name = 'Norsk nynorsk';
+ $nn->lang_code_iso_639_1 = 'nn';
+ $nn->lang_code_iso_639_2 = 'nno';
+ $nn->country_code = 'no';
+ $nn->wp_locale = 'nn_NO';
+ $nn->slug = 'nn';
+ $nn->google_code = 'no';
+ $nn->facebook_locale = 'nn_NO';
+
+ $no = new GP_Locale();
+ $no->english_name = 'Norwegian';
+ $no->native_name = 'Norsk';
+ $no->lang_code_iso_639_1 = 'no';
+ $no->lang_code_iso_639_2 = 'nor';
+ $no->country_code = 'no';
+ $no->slug = 'no';
+ $no->google_code = 'no';
+
+ $oci = new GP_Locale();
+ $oci->english_name = 'Occitan';
+ $oci->native_name = 'Occitan';
+ $oci->lang_code_iso_639_1 = 'oc';
+ $oci->lang_code_iso_639_2 = 'oci';
+ $oci->country_code = 'fr';
+ $oci->wp_locale = 'oci';
+ $oci->slug = 'oci';
+ $oci->nplurals = 2;
+ $oci->plural_expression = '(n > 1)';
+
+ $orm = new GP_Locale();
+ $orm->english_name = 'Oromo';
+ $orm->native_name = 'Afaan Oromo';
+ $orm->lang_code_iso_639_1 = 'om';
+ $orm->lang_code_iso_639_2 = 'orm';
+ $orm->lang_code_iso_639_3 = 'orm';
+ $orm->slug = 'orm';
+ $orm->plural_expression = '(n > 1)';
+
+ $ory = new GP_Locale();
+ $ory->english_name = 'Oriya';
+ $ory->native_name = 'ଓଡ଼ିଆ';
+ $ory->lang_code_iso_639_1 = 'or';
+ $ory->lang_code_iso_639_2 = 'ory';
+ $ory->country_code = 'in';
+ $ory->wp_locale = 'ory';
+ $ory->slug = 'ory';
+ $ory->facebook_locale = 'or_IN';
+
+ $os = new GP_Locale();
+ $os->english_name = 'Ossetic';
+ $os->native_name = 'Ирон';
+ $os->lang_code_iso_639_1 = 'os';
+ $os->lang_code_iso_639_2 = 'oss';
+ $os->wp_locale = 'os';
+ $os->slug = 'os';
+
+ $pa = new GP_Locale();
+ $pa->english_name = 'Punjabi';
+ $pa->native_name = 'ਪੰਜਾਬੀ';
+ $pa->lang_code_iso_639_1 = 'pa';
+ $pa->lang_code_iso_639_2 = 'pan';
+ $pa->country_code = 'in';
+ $pa->wp_locale = 'pa_IN';
+ $pa->slug = 'pa';
+ $pa->google_code = 'pa';
+ $pa->facebook_locale = 'pa_IN';
+
+ $pap = new GP_Locale();
+ $pap->english_name = 'Papiamento';
+ $pap->native_name = 'Papiamentu';
+ $pap->lang_code_iso_639_2 = 'pap';
+ $pap->lang_code_iso_639_3 = 'pap';
+ $pap->country_code = 'cw';
+ $pap->wp_locale = 'pap';
+ $pap->slug = 'pap';
+
+ $pirate = new GP_Locale();
+ $pirate->english_name = 'English (Pirate)';
+ $pirate->native_name = 'English (Pirate)';
+ $pirate->lang_code_iso_639_2 = 'art';
+ $pirate->wp_locale = 'art_xpirate';
+ $pirate->slug = 'pirate';
+ $pirate->google_code = 'xx-pirate';
+ $pirate->facebook_locale = 'en_PI';
+
+ $pl = new GP_Locale();
+ $pl->english_name = 'Polish';
+ $pl->native_name = 'Polski';
+ $pl->lang_code_iso_639_1 = 'pl';
+ $pl->lang_code_iso_639_2 = 'pol';
+ $pl->country_code = 'pl';
+ $pl->wp_locale = 'pl_PL';
+ $pl->slug = 'pl';
+ $pl->nplurals = 3;
+ $pl->plural_expression = '(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+ $pl->google_code = 'pl';
+ $pl->facebook_locale = 'pl_PL';
+
+ $pt_br = new GP_Locale();
+ $pt_br->english_name = 'Portuguese (Brazil)';
+ $pt_br->native_name = 'Português do Brasil';
+ $pt_br->lang_code_iso_639_1 = 'pt';
+ $pt_br->lang_code_iso_639_2 = 'por';
+ $pt_br->country_code = 'br';
+ $pt_br->wp_locale = 'pt_BR';
+ $pt_br->slug = 'pt-br';
+ $pt_br->nplurals = 2;
+ $pt_br->plural_expression = '(n > 1)';
+ $pt_br->google_code = 'pt-BR';
+ $pt_br->facebook_locale = 'pt_BR';
+
+ $pt = new GP_Locale();
+ $pt->english_name = 'Portuguese (Portugal)';
+ $pt->native_name = 'Português';
+ $pt->lang_code_iso_639_1 = 'pt';
+ $pt->country_code = 'pt';
+ $pt->wp_locale = 'pt_PT';
+ $pt->slug = 'pt';
+ $pt->google_code = 'pt-PT';
+ $pt->facebook_locale = 'pt_PT';
+
+ $ps = new GP_Locale();
+ $ps->english_name = 'Pashto';
+ $ps->native_name = 'پښتو';
+ $ps->lang_code_iso_639_1 = 'ps';
+ $ps->lang_code_iso_639_2 = 'pus';
+ $ps->country_code = 'af';
+ $ps->wp_locale = 'ps';
+ $ps->slug = 'ps';
+ $ps->text_direction = 'rtl';
+ $ps->facebook_locale = 'ps_AF';
+
+ $rhg = new GP_Locale();
+ $rhg->english_name = 'Rohingya';
+ $rhg->native_name = 'Ruáinga';
+ $rhg->lang_code_iso_639_3 = 'rhg';
+ $rhg->country_code = 'mm';
+ $rhg->wp_locale = 'rhg';
+ $rhg->slug = 'rhg';
+ $rhg->nplurals = 1;
+ $rhg->plural_expression = '0';
+
+ $ro = new GP_Locale();
+ $ro->english_name = 'Romanian';
+ $ro->native_name = 'Română';
+ $ro->lang_code_iso_639_1 = 'ro';
+ $ro->lang_code_iso_639_2 = 'ron';
+ $ro->country_code = 'ro';
+ $ro->wp_locale = 'ro_RO';
+ $ro->slug = 'ro';
+ $ro->nplurals = 3;
+ $ro->plural_expression = '(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2)';
+ $ro->google_code = 'ro';
+ $ro->facebook_locale = 'ro_RO';
+
+ $roh = new GP_Locale();
+ $roh->english_name = 'Romansh';
+ $roh->native_name = 'Rumantsch';
+ $roh->lang_code_iso_639_2 = 'rm';
+ $roh->lang_code_iso_639_3 = 'roh';
+ $roh->country_code = 'ch';
+ $roh->wp_locale = 'roh';
+ $roh->slug = 'roh';
+
+ $ru = new GP_Locale();
+ $ru->english_name = 'Russian';
+ $ru->native_name = 'Русский';
+ $ru->lang_code_iso_639_1 = 'ru';
+ $ru->lang_code_iso_639_2 = 'rus';
+ $ru->country_code = 'ru';
+ $ru->wp_locale = 'ru_RU';
+ $ru->slug = 'ru';
+ $ru->nplurals = 3;
+ $ru->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+ $ru->google_code = 'ru';
+ $ru->facebook_locale = 'ru_RU';
+
+ $rue = new GP_Locale();
+ $rue->english_name = 'Rusyn';
+ $rue->native_name = 'Русиньскый';
+ $rue->lang_code_iso_639_3 = 'rue';
+ $rue->wp_locale = 'rue';
+ $rue->slug = 'rue';
+ $rue->nplurals = 3;
+ $rue->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+
+ $rup = new GP_Locale();
+ $rup->english_name = 'Aromanian';
+ $rup->native_name = 'Armãneashce';
+ $rup->lang_code_iso_639_2 = 'rup';
+ $rup->lang_code_iso_639_3 = 'rup';
+ $rup->country_code = 'mk';
+ $rup->wp_locale = 'rup_MK';
+ $rup->slug = 'rup';
+
+ $sah = new GP_Locale();
+ $sah->english_name = 'Sakha';
+ $sah->native_name = 'Сахалыы';
+ $sah->lang_code_iso_639_2 = 'sah';
+ $sah->lang_code_iso_639_3 = 'sah';
+ $sah->country_code = 'ru';
+ $sah->wp_locale = 'sah';
+ $sah->slug = 'sah';
+
+ $sa_in = new GP_Locale();
+ $sa_in->english_name = 'Sanskrit';
+ $sa_in->native_name = 'भारतम्';
+ $sa_in->lang_code_iso_639_1 = 'sa';
+ $sa_in->lang_code_iso_639_2 = 'san';
+ $sa_in->lang_code_iso_639_3 = 'san';
+ $sa_in->country_code = 'in';
+ $sa_in->wp_locale = 'sa_IN';
+ $sa_in->slug = 'sa-in';
+ $sa_in->facebook_locale = 'sa_IN';
+
+ $scn = new GP_Locale();
+ $scn->english_name = 'Sicilian';
+ $scn->native_name = 'Sicilianu';
+ $scn->lang_code_iso_639_3 = 'scn';
+ $scn->country_code = 'it';
+ $scn->wp_locale = 'scn';
+ $scn->slug = 'scn';
+
+ $si = new GP_Locale();
+ $si->english_name = 'Sinhala';
+ $si->native_name = 'සිංහල';
+ $si->lang_code_iso_639_1 = 'si';
+ $si->lang_code_iso_639_2 = 'sin';
+ $si->country_code = 'lk';
+ $si->wp_locale = 'si_LK';
+ $si->slug = 'si';
+ $si->google_code = 'si';
+ $si->facebook_locale = 'si_LK';
+
+ $sk = new GP_Locale();
+ $sk->english_name = 'Slovak';
+ $sk->native_name = 'Slovenčina';
+ $sk->lang_code_iso_639_1 = 'sk';
+ $sk->lang_code_iso_639_2 = 'slk';
+ $sk->country_code = 'sk';
+ $sk->slug = 'sk';
+ $sk->wp_locale = 'sk_SK';
+ $sk->nplurals = 3;
+ $sk->plural_expression = '(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2';
+ $sk->google_code = 'sk';
+ $sk->facebook_locale = 'sk_SK';
+
+ $skr = new GP_Locale();
+ $skr->english_name = 'Saraiki';
+ $skr->native_name = 'سرائیکی';
+ $skr->lang_code_iso_639_3 = 'skr';
+ $skr->country_code = 'pk';
+ $skr->wp_locale = 'skr';
+ $skr->slug = 'skr';
+ $skr->nplurals = 2;
+ $skr->plural_expression = '(n > 1)';
+ $skr->text_direction = 'rtl';
+
+ $sl = new GP_Locale();
+ $sl->english_name = 'Slovenian';
+ $sl->native_name = 'Slovenščina';
+ $sl->lang_code_iso_639_1 = 'sl';
+ $sl->lang_code_iso_639_2 = 'slv';
+ $sl->country_code = 'si';
+ $sl->wp_locale = 'sl_SI';
+ $sl->slug = 'sl';
+ $sl->nplurals = 4;
+ $sl->plural_expression = '(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)';
+ $sl->google_code = 'sl';
+ $sl->facebook_locale = 'sl_SI';
+
+ $sna = new GP_Locale();
+ $sna->english_name = 'Shona';
+ $sna->native_name = 'ChiShona';
+ $sna->lang_code_iso_639_1 = 'sn';
+ $sna->lang_code_iso_639_3 = 'sna';
+ $sna->country_code = 'zw';
+ $sna->wp_locale = 'sna';
+ $sna->slug = 'sna';
+
+ $snd = new GP_Locale();
+ $snd->english_name = 'Sindhi';
+ $snd->native_name = 'سنڌي';
+ $snd->lang_code_iso_639_1 = 'sd';
+ $snd->lang_code_iso_639_2 = 'sd';
+ $snd->lang_code_iso_639_3 = 'snd';
+ $snd->country_code = 'pk';
+ $snd->wp_locale = 'snd';
+ $snd->slug = 'snd';
+ $snd->text_direction = 'rtl';
+
+ $so = new GP_Locale();
+ $so->english_name = 'Somali';
+ $so->native_name = 'Afsoomaali';
+ $so->lang_code_iso_639_1 = 'so';
+ $so->lang_code_iso_639_2 = 'som';
+ $so->lang_code_iso_639_3 = 'som';
+ $so->country_code = 'so';
+ $so->wp_locale = 'so_SO';
+ $so->slug = 'so';
+ $so->google_code = 'so';
+ $so->facebook_locale = 'so_SO';
+
+ $sq = new GP_Locale();
+ $sq->english_name = 'Albanian';
+ $sq->native_name = 'Shqip';
+ $sq->lang_code_iso_639_1 = 'sq';
+ $sq->lang_code_iso_639_2 = 'sqi';
+ $sq->wp_locale = 'sq';
+ $sq->country_code = 'al';
+ $sq->slug = 'sq';
+ $sq->google_code = 'sq';
+ $sq->facebook_locale = 'sq_AL';
+
+ $sq_xk = new GP_Locale();
+ $sq_xk->english_name = 'Shqip (Kosovo)';
+ $sq_xk->native_name = 'Për Kosovën Shqip';
+ $sq_xk->lang_code_iso_639_1 = 'sq';
+ $sq_xk->country_code = 'xk'; // Temporary country code until Kosovo is assigned an ISO code.
+ $sq_xk->wp_locale = 'sq_XK';
+ $sq_xk->slug = 'sq-xk';
+
+ $sr = new GP_Locale();
+ $sr->english_name = 'Serbian';
+ $sr->native_name = 'Српски језик';
+ $sr->lang_code_iso_639_1 = 'sr';
+ $sr->lang_code_iso_639_2 = 'srp';
+ $sr->country_code = 'rs';
+ $sr->wp_locale = 'sr_RS';
+ $sr->slug = 'sr';
+ $sr->nplurals = 3;
+ $sr->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+ $sr->google_code = 'sr';
+ $sr->facebook_locale = 'sr_RS';
+
+ $srd = new GP_Locale();
+ $srd->english_name = 'Sardinian';
+ $srd->native_name = 'Sardu';
+ $srd->lang_code_iso_639_1 = 'sc';
+ $srd->lang_code_iso_639_2 = 'srd';
+ $srd->country_code = 'it';
+ $srd->wp_locale = 'srd';
+ $srd->slug = 'srd';
+ $srd->facebook_locale = 'sc_IT';
+
+ $ssw = new GP_Locale();
+ $ssw->english_name = 'Swati';
+ $ssw->native_name = 'SiSwati';
+ $ssw->lang_code_iso_639_1 = 'ss';
+ $ssw->lang_code_iso_639_2 = 'ssw';
+ $ssw->lang_code_iso_639_3 = 'ssw';
+ $ssw->country_code = 'sz';
+ $ssw->wp_locale = 'ssw';
+ $ssw->slug = 'ssw';
+
+ $su = new GP_Locale();
+ $su->english_name = 'Sundanese';
+ $su->native_name = 'Basa Sunda';
+ $su->lang_code_iso_639_1 = 'su';
+ $su->lang_code_iso_639_2 = 'sun';
+ $su->country_code = 'id';
+ $su->wp_locale = 'su_ID';
+ $su->slug = 'su';
+ $su->nplurals = 1;
+ $su->plural_expression = '0';
+ $su->google_code = 'su';
+
+ $sv = new GP_Locale();
+ $sv->english_name = 'Swedish';
+ $sv->native_name = 'Svenska';
+ $sv->lang_code_iso_639_1 = 'sv';
+ $sv->lang_code_iso_639_2 = 'swe';
+ $sv->country_code = 'se';
+ $sv->wp_locale = 'sv_SE';
+ $sv->slug = 'sv';
+ $sv->google_code = 'sv';
+ $sv->facebook_locale = 'sv_SE';
+
+ $sw = new GP_Locale();
+ $sw->english_name = 'Swahili';
+ $sw->native_name = 'Kiswahili';
+ $sw->lang_code_iso_639_1 = 'sw';
+ $sw->lang_code_iso_639_2 = 'swa';
+ $sw->wp_locale = 'sw';
+ $sw->slug = 'sw';
+ $sw->google_code = 'sw';
+ $sw->facebook_locale = 'sw_KE';
+
+ $syr = new GP_Locale();
+ $syr->english_name = 'Syriac';
+ $syr->native_name = 'Syriac';
+ $syr->lang_code_iso_639_3 = 'syr';
+ $syr->country_code = 'iq';
+ $syr->wp_locale = 'syr';
+ $syr->slug = 'syr';
+
+ $szl = new GP_Locale();
+ $szl->english_name = 'Silesian';
+ $szl->native_name = 'Ślōnskŏ gŏdka';
+ $szl->lang_code_iso_639_3 = 'szl';
+ $szl->country_code = 'pl';
+ $szl->wp_locale = 'szl';
+ $szl->slug = 'szl';
+ $szl->nplurals = 3;
+ $szl->plural_expression = '(n==1 ? 0 : n%10>=2 && n%10<=4 && n%100==20 ? 1 : 2)';
+ $szl->facebook_locale = 'sz_PL';
+
+ $ta = new GP_Locale();
+ $ta->english_name = 'Tamil';
+ $ta->native_name = 'தமிழ்';
+ $ta->lang_code_iso_639_1 = 'ta';
+ $ta->lang_code_iso_639_2 = 'tam';
+ $ta->country_code = 'in';
+ $ta->wp_locale = 'ta_IN';
+ $ta->slug = 'ta';
+ $ta->google_code = 'ta';
+ $ta->facebook_locale = 'ta_IN';
+
+ $ta_lk = new GP_Locale();
+ $ta_lk->english_name = 'Tamil (Sri Lanka)';
+ $ta_lk->native_name = 'தமிழ்';
+ $ta_lk->lang_code_iso_639_1 = 'ta';
+ $ta_lk->lang_code_iso_639_2 = 'tam';
+ $ta_lk->country_code = 'lk';
+ $ta_lk->wp_locale = 'ta_LK';
+ $ta_lk->slug = 'ta-lk';
+ $ta_lk->google_code = 'ta';
+
+ $tah = new GP_Locale();
+ $tah->english_name = 'Tahitian';
+ $tah->native_name = 'Reo Tahiti';
+ $tah->lang_code_iso_639_1 = 'ty';
+ $tah->lang_code_iso_639_2 = 'tah';
+ $tah->lang_code_iso_639_3 = 'tah';
+ $tah->country_code = 'fr';
+ $tah->wp_locale = 'tah';
+ $tah->slug = 'tah';
+ $tah->nplurals = 2;
+ $tah->plural_expression = '(n > 1)';
+
+ $te = new GP_Locale();
+ $te->english_name = 'Telugu';
+ $te->native_name = 'తెలుగు';
+ $te->lang_code_iso_639_1 = 'te';
+ $te->lang_code_iso_639_2 = 'tel';
+ $te->wp_locale = 'te';
+ $te->slug = 'te';
+ $te->google_code = 'te';
+ $te->facebook_locale = 'te_IN';
+
+ $tg = new GP_Locale();
+ $tg->english_name = 'Tajik';
+ $tg->native_name = 'Тоҷикӣ';
+ $tg->lang_code_iso_639_1 = 'tg';
+ $tg->lang_code_iso_639_2 = 'tgk';
+ $tah->country_code = 'tj';
+ $tg->wp_locale = 'tg';
+ $tg->slug = 'tg';
+ $tg->google_code = 'tg';
+ $tg->facebook_locale = 'tg_TJ';
+
+ $th = new GP_Locale();
+ $th->english_name = 'Thai';
+ $th->native_name = 'ไทย';
+ $th->lang_code_iso_639_1 = 'th';
+ $th->lang_code_iso_639_2 = 'tha';
+ $th->wp_locale = 'th';
+ $th->slug = 'th';
+ $th->nplurals = 1;
+ $th->plural_expression = '0';
+ $th->google_code = 'th';
+ $th->facebook_locale = 'th_TH';
+
+ $tir = new GP_Locale();
+ $tir->english_name = 'Tigrinya';
+ $tir->native_name = 'ትግርኛ';
+ $tir->lang_code_iso_639_1 = 'ti';
+ $tir->lang_code_iso_639_2 = 'tir';
+ $tir->country_code = 'er';
+ $tir->wp_locale = 'tir';
+ $tir->slug = 'tir';
+ $tir->nplurals = 1;
+ $tir->plural_expression = '0';
+
+ $tlh = new GP_Locale();
+ $tlh->english_name = 'Klingon';
+ $tlh->native_name = 'TlhIngan';
+ $tlh->lang_code_iso_639_2 = 'tlh';
+ $tlh->slug = 'tlh';
+ $tlh->nplurals = 1;
+ $tlh->plural_expression = '0';
+ $tlh->facebook_locale = 'tl_ST';
+
+ $tl = new GP_Locale();
+ $tl->english_name = 'Tagalog';
+ $tl->native_name = 'Tagalog';
+ $tl->lang_code_iso_639_1 = 'tl';
+ $tl->lang_code_iso_639_2 = 'tgl';
+ $tl->country_code = 'ph';
+ $tl->wp_locale = 'tl';
+ $tl->slug = 'tl';
+ $tl->google_code = 'tl';
+ $tl->facebook_locale = 'tl_PH';
+
+ $tr = new GP_Locale();
+ $tr->english_name = 'Turkish';
+ $tr->native_name = 'Türkçe';
+ $tr->lang_code_iso_639_1 = 'tr';
+ $tr->lang_code_iso_639_2 = 'tur';
+ $tr->country_code = 'tr';
+ $tr->wp_locale = 'tr_TR';
+ $tr->slug = 'tr';
+ $tr->nplurals = 2;
+ $tr->plural_expression = '(n > 1)';
+ $tr->google_code = 'tr';
+ $tr->facebook_locale = 'tr_TR';
+
+ $tt_ru = new GP_Locale();
+ $tt_ru->english_name = 'Tatar';
+ $tt_ru->native_name = 'Татар теле';
+ $tt_ru->lang_code_iso_639_1 = 'tt';
+ $tt_ru->lang_code_iso_639_2 = 'tat';
+ $tt_ru->country_code = 'ru';
+ $tt_ru->wp_locale = 'tt_RU';
+ $tt_ru->slug = 'tt';
+ $tt_ru->nplurals = 1;
+ $tt_ru->plural_expression = '0';
+ $tt_ru->facebook_locale = 'tt_RU';
+
+ $tuk = new GP_Locale();
+ $tuk->english_name = 'Turkmen';
+ $tuk->native_name = 'Türkmençe';
+ $tuk->lang_code_iso_639_1 = 'tk';
+ $tuk->lang_code_iso_639_2 = 'tuk';
+ $tuk->country_code = 'tm';
+ $tuk->wp_locale = 'tuk';
+ $tuk->slug = 'tuk';
+ $tuk->nplurals = 2;
+ $tuk->plural_expression = '(n > 1)';
+ $tuk->facebook_locale = 'tk_TM';
+
+ $twd = new GP_Locale();
+ $twd->english_name = 'Tweants';
+ $twd->native_name = 'Twents';
+ $twd->lang_code_iso_639_3 = 'twd';
+ $twd->country_code = 'nl';
+ $twd->wp_locale = 'twd';
+ $twd->slug = 'twd';
+
+ $tzm = new GP_Locale();
+ $tzm->english_name = 'Tamazight (Central Atlas)';
+ $tzm->native_name = 'ⵜⴰⵎⴰⵣⵉⵖⵜ';
+ $tzm->lang_code_iso_639_2 = 'tzm';
+ $tzm->country_code = 'ma';
+ $tzm->wp_locale = 'tzm';
+ $tzm->slug = 'tzm';
+ $tzm->nplurals = 2;
+ $tzm->plural_expression = '(n > 1)';
+
+ $udm = new GP_Locale();
+ $udm->english_name = 'Udmurt';
+ $udm->native_name = 'Удмурт кыл';
+ $udm->lang_code_iso_639_2 = 'udm';
+ $udm->slug = 'udm';
+
+ $ug = new GP_Locale();
+ $ug->english_name = 'Uighur';
+ $ug->native_name = 'ئۇيغۇرچە';
+ $ug->lang_code_iso_639_1 = 'ug';
+ $ug->lang_code_iso_639_2 = 'uig';
+ $ug->country_code = 'cn';
+ $ug->wp_locale = 'ug_CN';
+ $ug->slug = 'ug';
+ $ug->text_direction = 'rtl';
+
+ $uk = new GP_Locale();
+ $uk->english_name = 'Ukrainian';
+ $uk->native_name = 'Українська';
+ $uk->lang_code_iso_639_1 = 'uk';
+ $uk->lang_code_iso_639_2 = 'ukr';
+ $uk->country_code = 'ua';
+ $uk->wp_locale = 'uk';
+ $uk->slug = 'uk';
+ $uk->nplurals = 3;
+ $uk->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+ $uk->google_code = 'uk';
+ $uk->facebook_locale = 'uk_UA';
+
+ $ur = new GP_Locale();
+ $ur->english_name = 'Urdu';
+ $ur->native_name = 'اردو';
+ $ur->lang_code_iso_639_1 = 'ur';
+ $ur->lang_code_iso_639_2 = 'urd';
+ $ur->country_code = 'pk';
+ $ur->wp_locale = 'ur';
+ $ur->slug = 'ur';
+ $ur->text_direction = 'rtl';
+ $ur->google_code = 'ur';
+ $ur->facebook_locale = 'ur_PK';
+
+ $uz = new GP_Locale();
+ $uz->english_name = 'Uzbek';
+ $uz->native_name = 'O‘zbekcha';
+ $uz->lang_code_iso_639_1 = 'uz';
+ $uz->lang_code_iso_639_2 = 'uzb';
+ $uz->country_code = 'uz';
+ $uz->wp_locale = 'uz_UZ';
+ $uz->slug = 'uz';
+ $uz->nplurals = 1;
+ $uz->plural_expression = '0';
+ $uz->google_code = 'uz';
+ $uz->facebook_locale = 'uz_UZ';
+
+ $vec = new GP_Locale();
+ $vec->english_name = 'Venetian';
+ $vec->native_name = 'Vèneta';
+ $vec->lang_code_iso_639_2 = 'roa';
+ $vec->lang_code_iso_639_3 = 'vec';
+ $vec->country_code = 'it';
+ $vec->slug = 'vec';
+
+ $vi = new GP_Locale();
+ $vi->english_name = 'Vietnamese';
+ $vi->native_name = 'Tiếng Việt';
+ $vi->lang_code_iso_639_1 = 'vi';
+ $vi->lang_code_iso_639_2 = 'vie';
+ $vi->country_code = 'vn';
+ $vi->wp_locale = 'vi';
+ $vi->slug = 'vi';
+ $vi->nplurals = 1;
+ $vi->plural_expression = '0';
+ $vi->google_code = 'vi';
+ $vi->facebook_locale = 'vi_VN';
+
+ $wa = new GP_Locale();
+ $wa->english_name = 'Walloon';
+ $wa->native_name = 'Walon';
+ $wa->lang_code_iso_639_1 = 'wa';
+ $wa->lang_code_iso_639_2 = 'wln';
+ $wa->country_code = 'be';
+ $wa->wp_locale = 'wa';
+ $wa->slug = 'wa';
+
+ $xho = new GP_Locale();
+ $xho->english_name = 'Xhosa';
+ $xho->native_name = 'isiXhosa';
+ $xho->lang_code_iso_639_1 = 'xh';
+ $xho->lang_code_iso_639_2 = 'xho';
+ $xho->lang_code_iso_639_3 = 'xho';
+ $xho->country_code = 'za';
+ $xho->wp_locale = 'xho';
+ $xho->slug = 'xho';
+ $xho->google_code = 'xh';
+ $xho->facebook_locale = 'xh_ZA';
+
+ $xmf = new GP_Locale();
+ $xmf->english_name = 'Mingrelian';
+ $xmf->native_name = 'მარგალური ნინა';
+ $xmf->lang_code_iso_639_3 = 'xmf';
+ $xmf->country_code = 'ge';
+ $xmf->wp_locale = 'xmf';
+ $xmf->slug = 'xmf';
+
+ $yi = new GP_Locale();
+ $yi->english_name = 'Yiddish';
+ $yi->native_name = 'ייִדיש';
+ $yi->lang_code_iso_639_1 = 'yi';
+ $yi->lang_code_iso_639_2 = 'yid';
+ $yi->slug = 'yi';
+ $yi->text_direction = 'rtl';
+ $yi->google_code = 'yi';
+
+ $yor = new GP_Locale();
+ $yor->english_name = 'Yoruba';
+ $yor->native_name = 'Yorùbá';
+ $yor->lang_code_iso_639_1 = 'yo';
+ $yor->lang_code_iso_639_2 = 'yor';
+ $yor->lang_code_iso_639_3 = 'yor';
+ $yor->country_code = 'ng';
+ $yor->wp_locale = 'yor';
+ $yor->slug = 'yor';
+ $yor->google_code = 'yo';
+ $yor->facebook_locale = 'yo_NG';
+
+ $zh_cn = new GP_Locale();
+ $zh_cn->english_name = 'Chinese (China)';
+ $zh_cn->native_name = '简体中文';
+ $zh_cn->lang_code_iso_639_1 = 'zh';
+ $zh_cn->lang_code_iso_639_2 = 'zho';
+ $zh_cn->country_code = 'cn';
+ $zh_cn->wp_locale = 'zh_CN';
+ $zh_cn->slug = 'zh-cn';
+ $zh_cn->nplurals = 1;
+ $zh_cn->plural_expression = '0';
+ $zh_cn->google_code = 'zh-CN';
+ $zh_cn->facebook_locale = 'zh_CN';
+
+ $zh_hk = new GP_Locale();
+ $zh_hk->english_name = 'Chinese (Hong Kong)';
+ $zh_hk->native_name = '香港中文版 ';
+ $zh_hk->lang_code_iso_639_1 = 'zh';
+ $zh_hk->lang_code_iso_639_2 = 'zho';
+ $zh_hk->country_code = 'hk';
+ $zh_hk->wp_locale = 'zh_HK';
+ $zh_hk->slug = 'zh-hk';
+ $zh_hk->nplurals = 1;
+ $zh_hk->plural_expression = '0';
+ $zh_hk->facebook_locale = 'zh_HK';
+
+ $zh_sg = new GP_Locale();
+ $zh_sg->english_name = 'Chinese (Singapore)';
+ $zh_sg->native_name = '中文';
+ $zh_sg->lang_code_iso_639_1 = 'zh';
+ $zh_sg->lang_code_iso_639_2 = 'zho';
+ $zh_sg->country_code = 'sg';
+ $zh_sg->wp_locale = 'zh_SG';
+ $zh_sg->slug = 'zh-sg';
+ $zh_sg->nplurals = 1;
+ $zh_sg->plural_expression = '0';
+
+ $zh_tw = new GP_Locale();
+ $zh_tw->english_name = 'Chinese (Taiwan)';
+ $zh_tw->native_name = '繁體中文';
+ $zh_tw->lang_code_iso_639_1 = 'zh';
+ $zh_tw->lang_code_iso_639_2 = 'zho';
+ $zh_tw->country_code = 'tw';
+ $zh_tw->slug = 'zh-tw';
+ $zh_tw->wp_locale = 'zh_TW';
+ $zh_tw->nplurals = 1;
+ $zh_tw->plural_expression = '0';
+ $zh_tw->google_code = 'zh-TW';
+ $zh_tw->facebook_locale = 'zh_TW';
+
+ $zh = new GP_Locale();
+ $zh->english_name = 'Chinese';
+ $zh->native_name = '中文';
+ $zh->lang_code_iso_639_1 = 'zh';
+ $zh->lang_code_iso_639_2 = 'zho';
+ $zh->slug = 'zh';
+ $zh->nplurals = 1;
+ $zh->plural_expression = '0';
+
+ $zul = new GP_Locale();
+ $zul->english_name = 'Zulu';
+ $zul->native_name = 'isiZulu';
+ $zul->lang_code_iso_639_1 = 'zu';
+ $zul->lang_code_iso_639_2 = 'zul';
+ $zul->lang_code_iso_639_3 = 'zul';
+ $zul->country_code = 'za';
+ $zul->wp_locale = 'zul';
+ $zul->slug = 'zul';
+ $zul->google_code = 'zu';
+
+ foreach ( get_defined_vars() as $locale ) {
+ $this->locales[ $locale->slug ] = $locale;
+ }
+ }
+
+ public static function &instance() {
+ if ( ! isset( $GLOBALS['gp_locales'] ) ) {
+ $GLOBALS['gp_locales'] = new GP_Locales();
+ }
+
+ return $GLOBALS['gp_locales'];
+ }
+
+ public static function locales() {
+ $instance = self::instance();
+ return $instance->locales;
+ }
+
+ public static function exists( $slug ) {
+ $instance = self::instance();
+ return isset( $instance->locales[ $slug ] );
+ }
+
+ public static function by_slug( $slug ) {
+ $instance = self::instance();
+ return isset( $instance->locales[ $slug ] ) ? $instance->locales[ $slug ] : null;
+ }
+
+ public static function by_field( $field_name, $field_value ) {
+ $instance = self::instance();
+ $result = false;
+
+ foreach ( $instance->locales() as $locale ) {
+ if ( isset( $locale->$field_name ) && $locale->$field_name == $field_value ) {
+ $result = $locale;
+ break;
+ }
+ }
+
+ return $result;
+ }
+ }
+
+endif;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/CHANGELOG.md
index 2774b4b4..ef8093b9 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/CHANGELOG.md
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.9.0] - 2022-05-18
+### Added
+- Configuration for waf package [#24153]
+
+## [1.8.0] - 2022-04-26
+### Added
+- Added the publicize package to be configured via the config package.
+
+### Changed
+- Updated package dependencies.
+
+## [1.7.2] - 2022-04-19
+### Added
+- Enable WordAds from Config class
+
+## [1.7.1] - 2022-04-06
+### Removed
+- Removed tracking dependency.
+
+## [1.7.0] - 2022-03-23
+### Added
+- Search: added search initialization
+
+## [1.6.1] - 2022-02-09
+### Added
+- Allow sync package consumers to provide custom data settings.
+
## [1.6.0] - 2022-01-04
### Added
- Accept options for the IDC package.
@@ -93,6 +120,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Trying to add deterministic initialization.
+[1.9.0]: https://github.com/Automattic/jetpack-config/compare/v1.8.0...v1.9.0
+[1.8.0]: https://github.com/Automattic/jetpack-config/compare/v1.7.2...v1.8.0
+[1.7.2]: https://github.com/Automattic/jetpack-config/compare/v1.7.1...v1.7.2
+[1.7.1]: https://github.com/Automattic/jetpack-config/compare/v1.7.0...v1.7.1
+[1.7.0]: https://github.com/Automattic/jetpack-config/compare/v1.6.1...v1.7.0
+[1.6.1]: https://github.com/Automattic/jetpack-config/compare/v1.6.0...v1.6.1
[1.6.0]: https://github.com/Automattic/jetpack-config/compare/v1.5.4...v1.6.0
[1.5.4]: https://github.com/Automattic/jetpack-config/compare/v1.5.3...v1.5.4
[1.5.3]: https://github.com/Automattic/jetpack-config/compare/v1.5.2...v1.5.3
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php
index 8d275d68..05025245 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php
@@ -17,7 +17,11 @@ use Automattic\Jetpack\Connection\Plugin;
use Automattic\Jetpack\JITM as JITM;
use Automattic\Jetpack\JITMS\JITM as JITMS_JITM;
use Automattic\Jetpack\Post_List\Post_List as Post_List;
+use Automattic\Jetpack\Publicize\Publicize_Setup as Publicize_Setup;
+use Automattic\Jetpack\Search\Initializer as Jetpack_Search_Main;
use Automattic\Jetpack\Sync\Main as Sync_Main;
+use Automattic\Jetpack\Waf\Waf_Initializer as Jetpack_Waf_Main;
+use Automattic\Jetpack\WordAds\Initializer as Jetpack_WordAds_Main;
/**
* The configuration class.
@@ -39,6 +43,10 @@ class Config {
'sync' => false,
'post_list' => false,
'identity_crisis' => false,
+ 'search' => false,
+ 'publicize' => false,
+ 'wordads' => false,
+ 'waf' => false,
);
/**
@@ -57,7 +65,6 @@ class Config {
* being constructed on priority 1.
*/
add_action( 'plugins_loaded', array( $this, 'on_plugins_loaded' ), 2 );
-
}
/**
@@ -106,6 +113,26 @@ class Config {
$this->ensure_class( 'Automattic\Jetpack\Identity_Crisis' )
&& $this->ensure_feature( 'identity_crisis' );
}
+
+ if ( $this->config['search'] ) {
+ $this->ensure_class( 'Automattic\Jetpack\Search\Initializer' )
+ && $this->ensure_feature( 'search' );
+ }
+
+ if ( $this->config['publicize'] ) {
+ $this->ensure_class( 'Automattic\Jetpack\Publicize\Publicize_UI' ) && $this->ensure_class( 'Automattic\Jetpack\Publicize\Publicize' )
+ && $this->ensure_feature( 'publicize' );
+ }
+
+ if ( $this->config['wordads'] ) {
+ $this->ensure_class( 'Automattic\Jetpack\WordAds\Initializer' )
+ && $this->ensure_feature( 'wordads' );
+ }
+
+ if ( $this->config['waf'] ) {
+ $this->ensure_class( 'Automattic\Jetpack\Waf\Waf_Initializer' )
+ && $this->ensure_feature( 'waf' );
+ }
}
/**
@@ -220,6 +247,38 @@ class Config {
}
/**
+ * Enables the search feature.
+ */
+ protected function enable_search() {
+ Jetpack_Search_Main::init();
+ }
+
+ /**
+ * Enables the Publicize feature.
+ */
+ protected function enable_publicize() {
+ Publicize_Setup::configure();
+
+ return true;
+ }
+
+ /**
+ * Enables WordAds.
+ */
+ protected function enable_wordads() {
+ Jetpack_WordAds_Main::init();
+ }
+
+ /**
+ * Enables Waf.
+ */
+ protected function enable_waf() {
+ Jetpack_Waf_Main::init();
+
+ return true;
+ }
+
+ /**
* Setup the Connection options.
*/
protected function ensure_options_connection() {
@@ -264,6 +323,18 @@ class Config {
}
/**
+ * Setup the Sync options.
+ */
+ protected function ensure_options_sync() {
+ $options = $this->get_feature_options( 'sync' );
+ if ( method_exists( 'Automattic\Jetpack\Sync\Main', 'set_sync_data_options' ) ) {
+ Sync_Main::set_sync_data_options( $options );
+ }
+
+ return true;
+ }
+
+ /**
* Temporary save initialization options for a feature.
*
* @param string $feature The feature slug.
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/CHANGELOG.md
index b6b82ab7..e0f4b1b0 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/CHANGELOG.md
@@ -5,6 +5,91 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [2.4.5] - 2022-05-31
+### Changed
+- Updated package dependencies. [#24573]
+
+## [2.4.4] - 2022-05-18
+### Changed
+- Updated package dependencies [#24372]
+
+## [2.4.3] - 2022-05-10
+### Changed
+- Updated package dependencies. [#24189]
+
+## [2.4.2] - 2022-05-04
+### Changed
+- Remove use of `pnpx` in preparation for pnpm 7.0. [#24210]
+- Updated package dependencies. [#24095] [#24198]
+
+## [2.4.1] - 2022-04-26
+### Changed
+- Updated package dependencies.
+- Update package.json metadata.
+
+## [2.4.0] - 2022-04-19
+### Deprecated
+- Deprecated in-place connection.
+
+## [2.3.14] - 2022-04-12
+### Changed
+- Updated package dependencies.
+
+## [2.3.13] - 2022-04-06
+### Changed
+- Updated package dependencies
+
+## [2.3.12] - 2022-03-29
+### Changed
+- Updated package dependencies.
+
+## [2.3.11] - 2022-03-23
+### Changed
+- Updated package dependencies
+
+## [2.3.10] - 2022-03-15
+### Changed
+- Updated package dependencies.
+
+## [2.3.9] - 2022-03-08
+### Changed
+- Updated package dependencies.
+
+## [2.3.8] - 2022-03-02
+### Changed
+- Updated package dependencies
+
+## [2.3.7] - 2022-02-22
+### Changed
+- Updated package dependencies.
+
+## [2.3.6] - 2022-02-16
+### Changed
+- Updated package dependencies.
+
+## [2.3.5] - 2022-02-09
+### Changed
+- Updated package dependencies
+
+## [2.3.4] - 2022-02-02
+### Changed
+- Updated package dependencies.
+
+## [2.3.3] - 2022-01-25
+### Added
+- connection initial state
+
+### Changed
+- Updated package dependencies.
+
+## [2.3.2] - 2022-01-18
+### Changed
+- General: update required node version to v16.13.2
+
+## [2.3.1] - 2022-01-11
+### Changed
+- Updated package dependencies.
+
## [2.3.0] - 2022-01-04
### Changed
- Drop isRegistered and isUserConnected params from ConnectionStatusCard component
@@ -162,6 +247,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Connection UI: Building the Framework
+[2.4.5]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.4.4...v2.4.5
+[2.4.4]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.4.3...v2.4.4
+[2.4.3]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.4.2...v2.4.3
+[2.4.2]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.4.1...v2.4.2
+[2.4.1]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.4.0...v2.4.1
+[2.4.0]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.14...v2.4.0
+[2.3.14]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.13...v2.3.14
+[2.3.13]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.12...v2.3.13
+[2.3.12]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.11...v2.3.12
+[2.3.11]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.10...v2.3.11
+[2.3.10]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.9...v2.3.10
+[2.3.9]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.8...v2.3.9
+[2.3.8]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.7...v2.3.8
+[2.3.7]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.6...v2.3.7
+[2.3.6]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.5...v2.3.6
+[2.3.5]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.4...v2.3.5
+[2.3.4]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.3...v2.3.4
+[2.3.3]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.2...v2.3.3
+[2.3.2]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.1...v2.3.2
+[2.3.1]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.3.0...v2.3.1
[2.3.0]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.2.0...v2.3.0
[2.2.0]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.1.4...v2.2.0
[2.1.4]: https://github.com/Automattic/jetpack-connection-ui/compare/v2.1.3...v2.1.4
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.asset.php
index 6486fa68..409a9b45 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.asset.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'cf7c4416c6aebd1c4977dbe9905998f7'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '08ed8865db19f8e4fc4f');
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.css
index 60f69f98..968b4990 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.css
@@ -1 +1 @@
-#jetpack-connection-ui-container .jetpack-cui__header h1{font-size:4.6em;line-height:1.2em;text-align:left}#jetpack-connection-ui-container{margin:40px}#jetpack-connection-ui-container p{font-size:1.23em;line-height:1.5em}.jp-connection-status-card h3{color:var(--jp-black);font-size:36px;font-weight:400;line-height:40px;margin:0}.jp-connection-status-card a,.jp-connection-status-card a:active,.jp-connection-status-card a:hover{color:var(--jp-black)}.jp-connection-status-card p{color:var(--jp-black);margin:16px 0}.jp-connection-status-card a,.jp-connection-status-card li,.jp-connection-status-card p{font-size:16px;line-height:24px}.jp-connection-status-card--status{align-items:center;display:flex;margin:24px 0 24px -6px}.jp-connection-status-card--cloud{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PG1hc2sgaWQ9ImEiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjciIHk9IjkiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyMSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zMC4zMzMgMTcuNjk3di0uMDhjMC00LjI1My0zLjc2LTcuNy04LjQtNy43LTMuOTE2IDAtNy4yMDYgMi40NTctOC4xMzYgNS43OGE2LjM4NiA2LjM4NiAwIDAgMC0uMjY0LS4wMDVDOS45MjUgMTUuNjkyIDcgMTguNzA4IDcgMjIuNDI5czIuOTI1IDYuNzM4IDYuNTMzIDYuNzM4SDI5LjRjMy4wOTMgMCA1LjYtMi41ODYgNS42LTUuNzc1IDAtMi44NjEtMi4wMTgtNS4yMzctNC42NjYtNS42OTVaIiBmaWxsPSIjZmZmIi8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGQ9Im0zMC4zMzMgMTcuNjk3LTIuNjI1LS4wMy0uMDI1IDIuMjM1IDIuMjAyLjM4MS40NDgtMi41ODZabS0xNi41MzctMi0uMTA3IDIuNjIzIDIuMDc1LjA4NS41Ni0yLTIuNTI4LS43MDhabS0uMjYzIDEzLjQ3djIuNjI1aC4wMDhsLS4wMDgtMi42MjVabS4wNCAwdi0yLjYyNWgtLjAwOWwuMDA4IDIuNjI1Wm0xNS43OTUgMCAuMDE1LTIuNjI1aC0uMDE1djIuNjI1Wm0zLjU5LTExLjQ0MXYtLjExaC01LjI1di4wNTJsNS4yNS4wNThabTAtLjExYzAtNS45MTItNS4xNTUtMTAuMzI0LTExLjAyNS0xMC4zMjR2NS4yNWMzLjQxIDAgNS43NzUgMi40ODIgNS43NzUgNS4wNzVoNS4yNVpNMjEuOTMzIDcuMjkzYy00Ljk4NCAwLTkuMzg4IDMuMTM5LTEwLjY2NCA3LjY5OGw1LjA1NSAxLjQxNWMuNTg1LTIuMDg5IDIuNzYyLTMuODYzIDUuNjEtMy44NjN2LTUuMjVabS04LjAzIDUuNzgyYTkuMTExIDkuMTExIDAgMCAwLS4zNy0uMDA3djUuMjVjLjA1MyAwIC4xMDUuMDAxLjE1Ni4wMDNsLjIxNS01LjI0NlptLS4zNy0uMDA3Yy01LjEzMyAwLTkuMTU4IDQuMjY4LTkuMTU4IDkuMzYyaDUuMjVjMC0yLjM0OCAxLjgyNS00LjExMiAzLjkwOC00LjExMnYtNS4yNVptLTkuMTU4IDkuMzYyYzAgNS4wOTUgNC4wMjUgOS4zNjMgOS4xNTggOS4zNjN2LTUuMjVjLTIuMDgzIDAtMy45MDgtMS43NjUtMy45MDgtNC4xMTNoLTUuMjVabTkuMTY2IDkuMzYzaC4wNGwtLjAxNy01LjI1aC0uMDM5bC4wMTYgNS4yNVptLjAzMSAwaDE1Ljc5NnYtNS4yNUgxMy41NzJ2NS4yNVptMTUuODI3LTUuMjVoLS4wMTZsLS4wMyA1LjI1aC4wNDZ2LTUuMjVabTIuOTc1LTMuMTVjMCAxLjgxNi0xLjQwNyAzLjE1LTIuOTc1IDMuMTV2NS4yNWM0LjYxOCAwIDguMjI1LTMuODM4IDguMjI1LTguNGgtNS4yNVptLTIuNDg5LTMuMTA5YzEuMzU1LjIzNSAyLjQ5IDEuNDg4IDIuNDkgMy4xMDloNS4yNWMwLTQuMTAyLTIuOTAyLTcuNi02Ljg0NC04LjI4MmwtLjg5NiA1LjE3M1oiIGZpbGw9IiMxRTFFMUUiLz48L2c+PC9zdmc+);height:42px;margin-right:4px;width:42px}.jp-connection-status-card--jetpack-logo{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDMyYzguODM3IDAgMTYtNy4xNjMgMTYtMTZTMjQuODM3IDAgMTYgMCAwIDcuMTYzIDAgMTZzNy4xNjMgMTYgMTYgMTZaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTE2Ljc5NCAxMy4zMTN2MTUuNTExbDgtMTUuNTEyaC04Wk0xNS4xNzUgMTguNjU3VjMuMTc2bC03Ljk2OSAxNS40OGg3Ljk3WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);height:32px;margin-left:11px;width:32px}.jp-connection-status-card--btn-connect-user{background:var(--jp-black)!important;border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection-status-card--avatar{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.498 27.123C6.038 24.165 10.916 21.5 16 21.5c5.084 0 9.963 2.665 11.502 5.623a15.952 15.952 0 0 1-11.257 4.875L16 32l-.245-.002a15.952 15.952 0 0 1-11.257-4.875zM16 8a6 6 0 1 1 0 12 6 6 0 0 1 0-12z' fill='%23A2AAB2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;border:0;border-radius:20px;height:32px;margin-left:-10px;width:32px}.jp-connection-status-card--line{border-top:2px solid var(--jp-black);height:0;width:67px}.jp-connection-status-card--line.jp-connection-status-card--site-only{border-top-style:dashed}.jp-connection-status-card--list{list-style-type:none;margin:16px 0}.jp-connection-status-card--list li{color:var(--jp-black);margin:0 0 8px -3px;padding-left:25px}.jp-connection-status-card--list-item-success{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE4LjkzNSA2LTguOSAxMS45Ny01LjE2Mi0zLjgzNyIgc3Ryb2tlPSIjMUUxRTFFIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==) no-repeat 0 0}.jp-connection-status-card--list-item-error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red)!important}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,transparent,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;left:0;position:absolute;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-right:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:left}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-left:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:left;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-right:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:right}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-right:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:1rem;margin-right:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;left:24px;position:absolute;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:left;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-right:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%) rotate(45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-right:40px}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:70%}.jp-connection__connect-screen-required-plan{background:linear-gradient(90deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{left:62%;position:absolute;top:14%}}.jp-connection__connect-screen-required-plan__pricing-card .components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__with-subscription{margin-top:38px}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button{display:inline}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);font:inherit;height:auto;line-height:20px;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-right-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red)!important;line-height:25px!important;padding-left:25px}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.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 transparent;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%}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-left:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-20:#a7aaad;--jp-gray-40:#787c82;--jp-gray-50:#646970;--jp-gray-60:#50575e;--jp-gray-80:#8a2424;--jp-gray-off:#e2e2df;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px rgba(0,0,0,.08);max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-right:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;left:0;position:absolute;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px} \ No newline at end of file
+#jetpack-connection-ui-container .jetpack-cui__header h1{font-size:4.6em;line-height:1.2em;text-align:left}#jetpack-connection-ui-container{margin:40px}#jetpack-connection-ui-container p{font-size:1.23em;line-height:1.5em}.jp-connection-status-card h3{color:var(--jp-black);font-size:var(--font-title-large);font-weight:700;line-height:1.1;margin:0}.jp-connection-status-card a,.jp-connection-status-card a:active,.jp-connection-status-card a:hover{color:var(--jp-black)}.jp-connection-status-card p{color:var(--jp-black);margin:16px 0}.jp-connection-status-card a,.jp-connection-status-card li,.jp-connection-status-card p{font-size:var(--font-body);line-height:24px}.jp-connection-status-card--status{align-items:center;display:flex;margin:24px 0 24px -6px}.jp-connection-status-card--cloud{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PG1hc2sgaWQ9ImEiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjciIHk9IjkiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyMSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zMC4zMzMgMTcuNjk3di0uMDhjMC00LjI1My0zLjc2LTcuNy04LjQtNy43LTMuOTE2IDAtNy4yMDYgMi40NTctOC4xMzYgNS43OGE2LjM4NiA2LjM4NiAwIDAgMC0uMjY0LS4wMDVDOS45MjUgMTUuNjkyIDcgMTguNzA4IDcgMjIuNDI5czIuOTI1IDYuNzM4IDYuNTMzIDYuNzM4SDI5LjRjMy4wOTMgMCA1LjYtMi41ODYgNS42LTUuNzc1IDAtMi44NjEtMi4wMTgtNS4yMzctNC42NjYtNS42OTVaIiBmaWxsPSIjZmZmIi8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGQ9Im0zMC4zMzMgMTcuNjk3LTIuNjI1LS4wMy0uMDI1IDIuMjM1IDIuMjAyLjM4MS40NDgtMi41ODZabS0xNi41MzctMi0uMTA3IDIuNjIzIDIuMDc1LjA4NS41Ni0yLTIuNTI4LS43MDhabS0uMjYzIDEzLjQ3djIuNjI1aC4wMDhsLS4wMDgtMi42MjVabS4wNCAwdi0yLjYyNWgtLjAwOWwuMDA4IDIuNjI1Wm0xNS43OTUgMCAuMDE1LTIuNjI1aC0uMDE1djIuNjI1Wm0zLjU5LTExLjQ0MXYtLjExaC01LjI1di4wNTJsNS4yNS4wNThabTAtLjExYzAtNS45MTItNS4xNTUtMTAuMzI0LTExLjAyNS0xMC4zMjR2NS4yNWMzLjQxIDAgNS43NzUgMi40ODIgNS43NzUgNS4wNzVoNS4yNVpNMjEuOTMzIDcuMjkzYy00Ljk4NCAwLTkuMzg4IDMuMTM5LTEwLjY2NCA3LjY5OGw1LjA1NSAxLjQxNWMuNTg1LTIuMDg5IDIuNzYyLTMuODYzIDUuNjEtMy44NjN2LTUuMjVabS04LjAzIDUuNzgyYTkuMTExIDkuMTExIDAgMCAwLS4zNy0uMDA3djUuMjVjLjA1MyAwIC4xMDUuMDAxLjE1Ni4wMDNsLjIxNS01LjI0NlptLS4zNy0uMDA3Yy01LjEzMyAwLTkuMTU4IDQuMjY4LTkuMTU4IDkuMzYyaDUuMjVjMC0yLjM0OCAxLjgyNS00LjExMiAzLjkwOC00LjExMnYtNS4yNVptLTkuMTU4IDkuMzYyYzAgNS4wOTUgNC4wMjUgOS4zNjMgOS4xNTggOS4zNjN2LTUuMjVjLTIuMDgzIDAtMy45MDgtMS43NjUtMy45MDgtNC4xMTNoLTUuMjVabTkuMTY2IDkuMzYzaC4wNGwtLjAxNy01LjI1aC0uMDM5bC4wMTYgNS4yNVptLjAzMSAwaDE1Ljc5NnYtNS4yNUgxMy41NzJ2NS4yNVptMTUuODI3LTUuMjVoLS4wMTZsLS4wMyA1LjI1aC4wNDZ2LTUuMjVabTIuOTc1LTMuMTVjMCAxLjgxNi0xLjQwNyAzLjE1LTIuOTc1IDMuMTV2NS4yNWM0LjYxOCAwIDguMjI1LTMuODM4IDguMjI1LTguNGgtNS4yNVptLTIuNDg5LTMuMTA5YzEuMzU1LjIzNSAyLjQ5IDEuNDg4IDIuNDkgMy4xMDloNS4yNWMwLTQuMTAyLTIuOTAyLTcuNi02Ljg0NC04LjI4MmwtLjg5NiA1LjE3M1oiIGZpbGw9IiMxRTFFMUUiLz48L2c+PC9zdmc+);height:42px;margin-right:4px;width:42px}.jp-connection-status-card--jetpack-logo{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDMyYzguODM3IDAgMTYtNy4xNjMgMTYtMTZTMjQuODM3IDAgMTYgMCAwIDcuMTYzIDAgMTZzNy4xNjMgMTYgMTYgMTZaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTE2Ljc5NCAxMy4zMTN2MTUuNTExbDgtMTUuNTEyaC04Wk0xNS4xNzUgMTguNjU3VjMuMTc2bC03Ljk2OSAxNS40OGg3Ljk3WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);height:32px;margin-left:11px;width:32px}.jp-connection-status-card--btn-connect-user{font-size:var(--font-body);font-weight:400;line-height:24px}.jp-connection-status-card--avatar{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.498 27.123C6.038 24.165 10.916 21.5 16 21.5c5.084 0 9.963 2.665 11.502 5.623a15.952 15.952 0 0 1-11.257 4.875L16 32l-.245-.002a15.952 15.952 0 0 1-11.257-4.875zM16 8a6 6 0 1 1 0 12 6 6 0 0 1 0-12z' fill='%23A2AAB2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;border:0;border-radius:20px;height:32px;margin-left:-10px;width:32px}.jp-connection-status-card--line{border-top:2px solid var(--jp-black);height:0;width:67px}.jp-connection-status-card--line.jp-connection-status-card--site-only{border-top-style:dashed}.jp-connection-status-card--list{list-style-type:none;margin:16px 0}.jp-connection-status-card--list li{color:var(--jp-black);margin:0 0 8px -3px;padding-left:25px}.jp-connection-status-card--list-item-success{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE4LjkzNSA2LTguOSAxMS45Ny01LjE2Mi0zLjgzNyIgc3Ryb2tlPSIjMUUxRTFFIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==) no-repeat 0 0}.jp-connection-status-card--list-item-error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red-60)!important}.jp-connection-status-card--list-item-info{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjMDAwIi8+PC9zdmc+) no-repeat 0 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-size:var(--font-title-medium);font-weight:500;line-height:32px}.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-size:var(--font-body-extra-small);font-weight:400;line-height:20px}.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)}.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.5px;border-radius:var(--jp-border-radius);font-weight:600;justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF{font-size:var(--font-body);height:auto;line-height:24px;padding:var(--spacing-base) calc(var(--spacing-base)*3)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF.paGLQwtPEaJmtArCcmyK{padding:var(--spacing-base) calc(var(--spacing-base)*2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14{font-size:var(--font-body-extra-small);height:auto;line-height:20px;padding:calc(var(--spacing-base)/2) var(--spacing-base)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14.paGLQwtPEaJmtArCcmyK>svg:first-child{margin-right:calc(var(--spacing-base)/2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14>.components-spinner{height:20px}.zI5tJ_qhWE6Oe6Lk75GY.lZAo6_oGfclXOO9CC6Rd{font-weight:400}.zI5tJ_qhWE6Oe6Lk75GY.is-primary:disabled,.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:disabled{background:var(--jp-gray);color:var(--jp-gray-20)}.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 1px 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 1px 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)}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,transparent,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;left:0;position:absolute;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-right:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:left}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-left:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:left;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-right:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:right}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-right:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:1rem;margin-right:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;left:24px;position:absolute;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:left;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-right:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%) rotate(45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-right:40px}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:70%}.jp-connection__connect-screen-required-plan{background:linear-gradient(90deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{left:62%;position:absolute;top:14%}}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__with-subscription{margin-top:38px}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button{display:inline}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);font:inherit;height:auto;line-height:20px;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-right-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red)!important;line-height:25px!important;padding-left:25px}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-left:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px rgba(0,0,0,.08);max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-right:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;left:0;position:absolute;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js
index c8a04c5d..5dfeba6d 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js
@@ -1,4 +1,4 @@
/*! For license information please see index.js.LICENSE.txt */
-!function(){var e={4728:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var i={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 o(e){return i[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},6078:function(e,t,n){"use strict";n.d(t,{LR:function(){return c}});var i=n(2141),o=n(3807),r=n(4728);function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=(0,r.X)(t);if(!c||isNaN(e))return null;var s=(0,i.Z)({},c,n),a=s.decimal,u=s.grouping,l=s.precision,p=s.symbol,d=e<0?"-":"",g=Math.abs(e),m=Math.floor(g),f=(0,o.Y4)(m,{decimals:0,thousandsSep:u,decPoint:a}),h=l>0?(0,o.Y4)(g-m,{decimals:l,thousandsSep:u,decPoint:a}).slice(1):"";return{sign:d,symbol:p,integer:f,fraction:h}}},8772:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(9196),o=n(5592);function r(e,t){let n,o,c=[];for(let i=0;i<e.length;i++){const r=e[i];if("string"!==r.type){if(void 0===t[r.value])throw new Error(`Invalid interpolation, missing component node: \`${r.value}\``);if("object"!=typeof t[r.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${r.value}\``);if("componentClose"===r.type)throw new Error(`Missing opening component token: \`${r.value}\``);if("componentOpen"===r.type){n=t[r.value],o=i;break}c.push(t[r.value])}else c.push(r.value)}if(n){const s=function(e,t){const n=t[e];let i=0;for(let o=e+1;o<t.length;o++){const e=t[o];if(e.value===n.value){if("componentOpen"===e.type){i++;continue}if("componentClose"===e.type){if(0===i)return o;i--}}}throw new Error("Missing closing component token `"+n.value+"`")}(o,e),a=r(e.slice(o+1,s),t),u=(0,i.cloneElement)(n,{},a);if(c.push(u),s<e.length-1){const n=r(e.slice(s+1),t);c=c.concat(n)}}return c=c.filter(Boolean),0===c.length?null:1===c.length?c[0]:(0,i.createElement)(i.Fragment,null,...c)}function c(e){const{mixedString:t,components:n,throwErrors:i}=e;if(!n)return t;if("object"!=typeof n){if(i)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const c=(0,o.Z)(t);try{return r(c,n)}catch(e){if(i)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}},5592:function(e,t,n){"use strict";function i(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function o(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(i)}n.d(t,{Z:function(){return o}})},7538:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},9183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},8172:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(1354),o=n(4803);function r(e){var t=(0,i.Z)(e);return function(e){return(0,o.Z)(t,e)}}},4803:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function o(e,t){var n,o,r,c,s,a,u=[];for(n=0;n<e.length;n++){if(s=e[n],c=i[s]){for(o=c.length,r=Array(o);o--;)r[o]=u.pop();try{a=c.apply(null,r)}catch(e){return e}}else a=t.hasOwnProperty(s)?t[s]:+s;u.push(a)}return u[0]}},7478:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(8172);function o(e){var t=(0,i.Z)(e);return function(e){return+t({n:e})}}},1354:function(e,t,n){"use strict";var i,o,r,c;function s(e){for(var t,n,s,a,u=[],l=[];t=e.match(c);){for(n=t[0],(s=e.substr(0,t.index).trim())&&u.push(s);a=l.pop();){if(r[n]){if(r[n][0]===a){n=r[n][1]||n;break}}else if(o.indexOf(a)>=0||i[a]<i[n]){l.push(a);break}u.push(a)}r[n]||l.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&u.push(e),u.concat(l.reverse())}n.d(t,{Z:function(){return s}}),i={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],r={")":["("],":":["?","?:"]},c=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},702:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function o(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(i,(function(){var e,i,o,r,c;return e=arguments[3],i=arguments[5],"%"===(r=arguments[9])?"%":("*"===(o=arguments[7])&&(o=t[n-1],n++),void 0!==i?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(i)&&(c=t[0][i]):(void 0===e&&(e=n),n++,c=t[e-1]),"f"===r?c=parseFloat(c)||0:"d"===r&&(c=parseInt(c)||0),void 0!==o&&("f"===r?c=c.toFixed(o):"s"===r&&(c=c.substr(0,o))),null!=c?c:"")}))}},9105:function(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var c=o.apply(null,n);c&&e.push(c)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var s in n)i.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},5771:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(o=i))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1244)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1244:function(e,t,n){e.exports=function(e){function t(e){let n,o,r,c=null;function s(...e){if(!s.enabled)return;const i=s,o=Number(new Date),r=o-(n||o);i.diff=r,i.prev=n,i.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let c=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";c++;const r=t.formatters[o];if("function"==typeof r){const t=e[c];n=r.call(i,t),e.splice(c,1),c--}return n})),t.formatArgs.call(i,e);(i.log||t.log).apply(i,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=i,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==c?c:(o!==t.namespaces&&(o=t.namespaces,r=t.enabled(e)),r),set:e=>{c=e}}),"function"==typeof t.init&&t.init(s),s}function i(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const i=("string"==typeof e?e:"").split(/[\s,]+/),o=i.length;for(n=0;n<o;n++)i[n]&&("-"===(e=i[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,i;for(n=0,i=t.skips.length;n<i;n++)if(t.skips[n].test(e))return!1;for(n=0,i=t.names.length;n<i;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(2002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},2571:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,i=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 o=Number.isNaN||function(e){return e!=e};function r(){r.init.call(this)}e.exports=r,e.exports.once=function(e,t){return new Promise((function(n,i){function o(n){e.removeListener(t,r),i(n)}function r(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}f(e,t,r,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,n)}(e,o,{once:!0})}))},r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var c=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return void 0===e._maxListeners?r.defaultMaxListeners:e._maxListeners}function u(e,t,n,i){var o,r,c,u;if(s(n),void 0===(r=e._events)?(r=e._events=Object.create(null),e._eventsCount=0):(void 0!==r.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),r=e._events),c=r[t]),void 0===c)c=r[t]=n,++e._eventsCount;else if("function"==typeof c?c=r[t]=i?[n,c]:[c,n]:i?c.unshift(n):c.push(n),(o=a(e))>0&&c.length>o&&!c.warned){c.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+c.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=c.length,u=l,console&&console.warn&&console.warn(u)}return e}function l(){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 p(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=l.bind(i);return o.listener=n,i.wrapFn=o,o}function d(e,t,n){var i=e._events;if(void 0===i)return[];var o=i[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):m(o,o.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}function f(e,t,n,i){if("function"==typeof e.on)i.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(r){i.once&&e.removeEventListener(t,o),n(r)}))}}Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),r.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},r.prototype.getMaxListeners=function(){return a(this)},r.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var o="error"===e,r=this._events;if(void 0!==r)o=o&&void 0===r.error;else if(!o)return!1;if(o){var c;if(t.length>0&&(c=t[0]),c instanceof Error)throw c;var s=new Error("Unhandled error."+(c?" ("+c.message+")":""));throw s.context=c,s}var a=r[e];if(void 0===a)return!1;if("function"==typeof a)i(a,this,t);else{var u=a.length,l=m(a,u);for(n=0;n<u;++n)i(l[n],this,t)}return!0},r.prototype.addListener=function(e,t){return u(this,e,t,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(e,t){return u(this,e,t,!0)},r.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},r.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},r.prototype.removeListener=function(e,t){var n,i,o,r,c;if(s(t),void 0===(i=this._events))return this;if(void 0===(n=i[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,r=n.length-1;r>=0;r--)if(n[r]===t||n[r].listener===t){c=n[r].listener,o=r;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(i[e]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",e,c||t)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(e){var t,n,i;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,r=Object.keys(n);for(i=0;i<r.length;++i)"removeListener"!==(o=r[i])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this},r.prototype.listeners=function(e){return d(this,e,!0)},r.prototype.rawListeners=function(e){return d(this,e,!1)},r.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},r.prototype.listenerCount=g,r.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},5949:function(e,t,n){"use strict";var i=n(3566),o=n(8282);function r(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=r,r.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-n,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},r.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},r.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,i=new Array(n+this.padLength);i[0]=128;for(var o=1;o<n;o++)i[o]=0;if(e<<=3,"big"===this.endian){for(var r=8;r<this.padLength;r++)i[o++]=0;i[o++]=0,i[o++]=0,i[o++]=0,i[o++]=0,i[o++]=e>>>24&255,i[o++]=e>>>16&255,i[o++]=e>>>8&255,i[o++]=255&e}else for(i[o++]=255&e,i[o++]=e>>>8&255,i[o++]=e>>>16&255,i[o++]=e>>>24&255,i[o++]=0,i[o++]=0,i[o++]=0,i[o++]=0,r=8;r<this.padLength;r++)i[o++]=0;return i}},9016:function(e,t,n){"use strict";var i=n(3566),o=n(5949),r=n(7574),c=i.rotl32,s=i.sum32,a=i.sum32_5,u=r.ft_1,l=o.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(d,l),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,i=0;i<16;i++)n[i]=e[t+i];for(;i<n.length;i++)n[i]=c(n[i-3]^n[i-8]^n[i-14]^n[i-16],1);var o=this.h[0],r=this.h[1],l=this.h[2],d=this.h[3],g=this.h[4];for(i=0;i<n.length;i++){var m=~~(i/20),f=a(c(o,5),u(m,r,l,d),g,n[i],p[m]);g=d,d=l,l=c(r,30),r=o,o=f}this.h[0]=s(this.h[0],o),this.h[1]=s(this.h[1],r),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],g)},d.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},7574:function(e,t,n){"use strict";var i=n(3566).rotr32;function o(e,t,n){return e&t^~e&n}function r(e,t,n){return e&t^e&n^t&n}function c(e,t,n){return e^t^n}t.ft_1=function(e,t,n,i){return 0===e?o(t,n,i):1===e||3===e?c(t,n,i):2===e?r(t,n,i):void 0},t.ch32=o,t.maj32=r,t.p32=c,t.s0_256=function(e){return i(e,2)^i(e,13)^i(e,22)},t.s1_256=function(e){return i(e,6)^i(e,11)^i(e,25)},t.g0_256=function(e){return i(e,7)^i(e,18)^e>>>3},t.g1_256=function(e){return i(e,17)^i(e,19)^e>>>10}},3566:function(e,t,n){"use strict";var i=n(8282),o=n(9503);function r(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function c(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function a(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)n.push(parseInt(e[o]+e[o+1],16))}else for(var i=0,o=0;o<e.length;o++){var c=e.charCodeAt(o);c<128?n[i++]=c:c<2048?(n[i++]=c>>6|192,n[i++]=63&c|128):r(e,o)?(c=65536+((1023&c)<<10)+(1023&e.charCodeAt(++o)),n[i++]=c>>18|240,n[i++]=c>>12&63|128,n[i++]=c>>6&63|128,n[i++]=63&c|128):(n[i++]=c>>12|224,n[i++]=c>>6&63|128,n[i++]=63&c|128)}else for(o=0;o<e.length;o++)n[o]=0|e[o];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=c,t.toHex32=function(e,t){for(var n="",i=0;i<e.length;i++){var o=e[i];"little"===t&&(o=c(o)),n+=a(o.toString(16))}return n},t.zero2=s,t.zero8=a,t.join32=function(e,t,n,o){var r=n-t;i(r%4==0);for(var c=new Array(r/4),s=0,a=t;s<c.length;s++,a+=4){var u;u="big"===o?e[a]<<24|e[a+1]<<16|e[a+2]<<8|e[a+3]:e[a+3]<<24|e[a+2]<<16|e[a+1]<<8|e[a],c[s]=u>>>0}return c},t.split32=function(e,t){for(var n=new Array(4*e.length),i=0,o=0;i<e.length;i++,o+=4){var r=e[i];"big"===t?(n[o]=r>>>24,n[o+1]=r>>>16&255,n[o+2]=r>>>8&255,n[o+3]=255&r):(n[o+3]=r>>>24,n[o+2]=r>>>16&255,n[o+1]=r>>>8&255,n[o]=255&r)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,i){return e+t+n+i>>>0},t.sum32_5=function(e,t,n,i,o){return e+t+n+i+o>>>0},t.sum64=function(e,t,n,i){var o=e[t],r=i+e[t+1]>>>0,c=(r<i?1:0)+n+o;e[t]=c>>>0,e[t+1]=r},t.sum64_hi=function(e,t,n,i){return(t+i>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,i){return t+i>>>0},t.sum64_4_hi=function(e,t,n,i,o,r,c,s){var a=0,u=t;return a+=(u=u+i>>>0)<t?1:0,a+=(u=u+r>>>0)<r?1:0,e+n+o+c+(a+=(u=u+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,i,o,r,c,s){return t+i+r+s>>>0},t.sum64_5_hi=function(e,t,n,i,o,r,c,s,a,u){var l=0,p=t;return l+=(p=p+i>>>0)<t?1:0,l+=(p=p+r>>>0)<r?1:0,l+=(p=p+s>>>0)<s?1:0,e+n+o+c+a+(l+=(p=p+u>>>0)<u?1:0)>>>0},t.sum64_5_lo=function(e,t,n,i,o,r,c,s,a,u){return t+i+r+s+u>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},8617:function(e,t,n){"use strict";var i=n(9128),o=n(8086),r=n(5771),c=n.n(r),s=n(8772),a=n(8090),u=n(5565),l=n.n(u),p=n(9016),d=n.n(p),g=n(2571),m=n(702),f=n(2846),h=c()("i18n-calypso"),y="number_format_decimals",v="number_format_thousands_sep",b="messages",_=[function(e){return e}],k={};function w(){N.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function j(e){return Array.prototype.slice.call(e)}function C(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&w("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",j(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&w("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",j(e));for(var n={},i=0;i<e.length;i++)"object"==typeof e[i]&&(n=e[i]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function E(e,t){return e.dcnpgettext(b,t.context,t.original,t.plural,t.count)}function S(e,t){for(var n=_.length-1;n>=0;n--){var i=_[n](Object.assign({},t)),o=i.context?i.context+""+i.original:i.original;if(e.state.locale[o])return E(e.state.tannin,i)}return null}function N(){if(!(this instanceof N))return new N;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:l()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new g.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}N.throwErrors=!1,N.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},N.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},N.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},N.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,i=t.decPoint||this.state.numberFormatSettings.decimal_point||".",o=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,f.Z)(e,n,i,o)},N.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},N.prototype.setLocale=function(e){var t,n,i;if(e&&e[""]&&e[""]["key-hash"]){var r=e[""]["key-hash"],c=function(e,t){var n=!1===t?"":String(t);if(void 0!==k[n+e])return k[n+e];var i=d()().update(e).digest("hex");return k[n+e]=t?i.substr(0,t):i},s=function(e){return function(t){return t.context?(t.original=c(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=c(t.original,e),t}};if("sha1"===r.substr(0,4))if(4===r.length)_.push(s(!1));else{var u=r.substr(5).indexOf("-");if(u<0){var l=Number(r.substr(5));_.push(s(l))}else for(var p=Number(r.substr(5,u)),g=Number(r.substr(6+u)),m=p;m<=g;m++)_.push(s(m))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(i=n.momentjs_locale)||void 0===i?void 0:i.textDirection),this.state.tannin=new a.Z((0,o.Z)({},b,this.state.locale)),this.state.numberFormatSettings.decimal_point=E(this.state.tannin,C([y])),this.state.numberFormatSettings.thousands_sep=E(this.state.tannin,C([v])),this.state.numberFormatSettings.decimal_point===y&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===v&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},N.prototype.getLocale=function(){return this.state.locale},N.prototype.getLocaleSlug=function(){return this.state.localeSlug},N.prototype.isRtl=function(){return"rtl"===this.state.textDirection},N.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},N.prototype.hasTranslation=function(){return!!S(this,C(arguments))},N.prototype.translate=function(){var e=C(arguments),t=S(this,e);if(t||(t=E(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=m.Z.apply(void 0,(0,i.Z)(n))}catch(e){if(!window||!window.console)return;var o=this.throwErrors?"error":"warn";"string"!=typeof e?window.console[o](e):window.console[o]("i18n sprintf error:",n)}}return e.components&&(t=(0,s.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},N.prototype.reRenderTranslations=function(){h("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},N.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},N.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)},t.Z=N},3807:function(e,t,n){"use strict";n.d(t,{Y4:function(){return a}});var i=n(8617),o=n(2928),r=n(975),c=n(4531),s=new i.Z,a=s.numberFormat.bind(s),u=(s.translate.bind(s),s.configure.bind(s),s.setLocale.bind(s),s.getLocale.bind(s),s.getLocaleSlug.bind(s),s.addTranslations.bind(s),s.reRenderTranslations.bind(s),s.registerComponentUpdateHook.bind(s),s.registerTranslateHook.bind(s),s.state,s.stateObserver,s.on.bind(s),s.off.bind(s),s.emit.bind(s),(0,o.Z)(s),(0,r.Z)(s),(0,c.Z)(s));u.useRtl,u.withRtl},2928:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(9591),o=n(1687),r=n(3772),c=n(5200),s=n(2104),a=n(9057),u=n(8086),l=n(9196),p=n.n(l);function d(e){var t={numberFormat:e.numberFormat.bind(e),translate:e.translate.bind(e)};return function(n){var l,d,g=n.displayName||n.name||"";return d=l=function(l){(0,s.Z)(g,l);var d=(0,a.Z)(g);function g(){var e;(0,o.Z)(this,g);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e=d.call.apply(d,[this].concat(n)),(0,u.Z)((0,c.Z)(e),"boundForceUpdate",e.forceUpdate.bind((0,c.Z)(e))),e}return(0,r.Z)(g,[{key:"componentDidMount",value:function(){e.on("change",this.boundForceUpdate)}},{key:"componentWillUnmount",value:function(){e.off("change",this.boundForceUpdate)}},{key:"render",value:function(){var o=(0,i.Z)({locale:e.getLocaleSlug()},this.props,{},t);return p().createElement(n,o)}}]),g}(p().Component),(0,u.Z)(l,"displayName","Localized("+g+")"),d}}},2846:function(e,t,n){"use strict";function i(e,t,n,i){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+e)?+e:0,r=isFinite(+t)?Math.abs(t):0,c=void 0===i?",":i,s=void 0===n?".":n,a="";return a=(r?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(o,r):""+Math.round(o)).split("."),a[0].length>3&&(a[0]=a[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(a[1]||"").length<r&&(a[1]=a[1]||"",a[1]+=new Array(r-a[1].length+1).join("0")),a.join(s)}n.d(t,{Z:function(){return i}})},4531:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(5672),o=n(9196),r=n.n(o),c=n(36),s=n(4333);function a(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return(0,c.useSubscription)(t)}var a=(0,s.createHigherOrderComponent)((function(e){return(0,o.forwardRef)((function(t,o){var c=n();return r().createElement(e,(0,i.Z)({},t,{isRtl:c,ref:o}))}))}),"WithRTL");return{useRtl:n,withRtl:a}}},975:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(572),o=n(9196),r=n.n(o);function c(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}return function(){var n=r().useState(t),o=(0,i.Z)(n,2),c=o[0],s=o[1];return r().useEffect((function(){var n=function(){return s(t)};return e.on("change",n),function(){return e.off("change",n)}}),[]),c}}},9503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},5565:function(e,t,n){var i=n(2571),o=n(9503);function r(e){if(!(this instanceof r))return new r(e);"number"==typeof e&&(e={max:e}),e||(e={}),i.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=r,o(r,i.EventEmitter),Object.defineProperty(r.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),r.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},r.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},r.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},r.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},r.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},r.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},r.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},r.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},4125:function(){},8776:function(){},7394:function(){},6212:function(){},4959:function(){},2961:function(){},404:function(){},1294:function(){},1545:function(){},843:function(){},8282:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},2002:function(e){var t=1e3,n=60*t,i=60*n,o=24*i,r=7*o,c=365.25*o;function s(e,t,n,i){var o=t>=1.5*n;return Math.round(e/n)+" "+i+(o?"s":"")}e.exports=function(e,a){a=a||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*c;case"weeks":case"week":case"w":return a*r;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===u&&isFinite(e))return a.long?function(e){var r=Math.abs(e);if(r>=o)return s(e,r,o,"day");if(r>=i)return s(e,r,i,"hour");if(r>=n)return s(e,r,n,"minute");if(r>=t)return s(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=o)return Math.round(e/o)+"d";if(r>=i)return Math.round(e/i)+"h";if(r>=n)return Math.round(e/n)+"m";if(r>=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))}},1625:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var c,s,a=o(e),u=1;u<arguments.length;u++){for(var l in c=Object(arguments[u]))n.call(c,l)&&(a[l]=c[l]);if(t){s=t(c);for(var p=0;p<s.length;p++)i.call(c,s[p])&&(a[s[p]]=c[s[p]])}}return a}},9587:function(e,t,n){"use strict";var i=n(5843);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,c){if(c!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return n.PropTypes=n,n}},1268:function(e,t,n){e.exports=n(9587)()},5843:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8090:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(7478),o={contextDelimiter:"",onMissingKey:null};function r(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},o)this.options[n]=void 0!==t&&n in t?t[n]:o[n]}r.prototype.getPluralForm=function(e,t){var n,o,r,c=this.pluralForms[e];return c||("function"!=typeof(r=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=function(e){var t,n,i;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(i=t[n].trim()).indexOf("plural="))return i.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),r=(0,i.Z)(o)),c=this.pluralForms[e]=r),c(t)},r.prototype.dcnpgettext=function(e,t,n,i,o){var r,c,s;return r=void 0===o?0:this.getPluralForm(e,o),c=n,t&&(c=t+this.options.contextDelimiter+n),(s=this.data[e][c])&&s[r]?s[r]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===r?n:i)}},816:function(e,t,n){"use strict";var i=n(5771),o=n.n(i),r=n(2819);const c=o()("dops:analytics");let s,a;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const u={initialize:function(e,t,n){u.setUser(e,t),u.setSuperProps(n),u.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){a={ID:e,username:t}},setSuperProps:function(e){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]);c("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);this.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]);c("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Built stat "%s" in group "%s"',t,e);return n}(e,t);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){u.tracks.recordPageView(e),u.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,i,o,r,c){u.ga.recordPurchase(e,t,n,i,o,r,c)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(c("- Super Props: %o",s),t=(0,r.assign)(t,s)),c('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):c('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};u.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){u.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){c("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};u.ga.initialized||(a&&(e={userId:"u-"+a.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),u.ga.initialized=!0)},recordPageView:function(e,t){u.ga.initialize(),c("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,i){u.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==i&&(o+=" [Option Value: "+i+"]"),c(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,i)},recordPurchase:function(e,t,n,i,o,r,c){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:i,currency:c}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){a&&window._tkq.push(["identifyUser",a.ID,a.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=u},9570:function(e,t,n){"use strict";var i=n(2819),o=n(6483),r=n(6251);function c(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const s=c("JsonParseError"),a=c("JsonParseAfterRedirectError"),u=c("Api404Error"),l=c("Api404AfterRedirectError"),p=c("FetchNetworkError");const d=new function(e,t){let n=e,c={"X-WP-Nonce":t},s={credentials:"same-origin",headers:c},a={method:"post",credentials:"same-origin",headers:(0,i.assign)({},c,{"Content-type":"application/json"})},u=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",i=n.length?n.split("&"):[];return i.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+i.join("&")};const l={setApiRoot(e){n=e},setApiNonce(e){c={"X-WP-Nonce":e},s={credentials:"same-origin",headers:c},a={method:"post",credentials:"same-origin",headers:(0,i.assign)({},c,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t)=>{const i={registration_nonce:e,no_iframe:!0};return(0,r.jetpackConfigHas)("consumer_slug")&&(i.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(i.redirect_uri=t),d(`${n}jetpack/v4/connection/register`,a,{body:JSON.stringify(i)}).then(g).then(m)},fetchAuthorizationUrl:e=>p((0,o.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),s).then(g).then(m),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,s).then(m),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,s).then(m),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,s).then(g).then(m),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,s).then(m),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,s).then(g).then(m),updateUserTrackingSettings:e=>d(`${n}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),disconnectSite:()=>d(`${n}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(g).then(m),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,s).then(g).then(m),unlinkUser:()=>d(`${n}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(g).then(m),reconnect:()=>d(`${n}jetpack/v4/connection/reconnect`,a).then(g).then(m),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,s).then(g).then(m),setHasSeenWCConnectionModal:()=>d(`${n}jetpack/v4/seen-wc-connection-modal`,a).then(g).then(m),fetchModules:()=>p(`${n}jetpack/v4/module/all`,s).then(g).then(m),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,s).then(g).then(m),activateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(g).then(m),deactivateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>d(`${n}jetpack/v4/module/${e}`,a,{body:JSON.stringify(t)}).then(g).then(m),updateSettings:e=>d(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,s).then(g).then(m),resetOptions:e=>d(`${n}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(g).then(m),activateVaultPress:()=>d(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(g).then(m),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,s).then(g).then(m),installPlugin:(e,t)=>{const i={slug:e,status:"active"};return t&&(i.source=t),d(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify(i)}).then(g).then(m)},activateAkismet:()=>d(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(g).then(m),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,s).then(g).then(m),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,s).then(g).then(m),checkAkismetKeyTyped:e=>d(`${n}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(g).then(m),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),s).then(g).then(m).then(f),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,s).then(g).then(m),getPlans:()=>p(`${n}jetpack/v4/plans`,s).then(g).then(m),fetchSettings:()=>p(`${n}jetpack/v4/settings`,s).then(g).then(m),updateSetting:e=>d(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),fetchSiteData:()=>p(`${n}jetpack/v4/site`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,s).then(g).then(m),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,s).then(g).then(m),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,s).then(g).then(m),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,s).then(g).then(m),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,s).then(g).then(m),saveRecommendationsData:e=>d(`${n}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(g),fetchProducts:()=>p(`${n}jetpack/v4/products`,s).then(g).then(m),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,s).then(g).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>d(`${n}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(g).then(m),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,s).then(g).then(m),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,s).then(g).then(m),verifySiteGoogle:e=>d(`${n}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(g).then(m),sendMobileLoginEmail:()=>d(`${n}jetpack/v4/mobile/send-login-email`,a).then(g).then(m),submitSurvey:e=>d(`${n}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(g).then(m),saveSetupQuestionnaire:e=>d(`${n}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(g).then(m),updateLicensingError:e=>d(`${n}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(g).then(m),updateLicenseKey:e=>d(`${n}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(g).then(m),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,s).then(g).then(m),updateLicensingActivationNoticeDismiss:e=>d(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(g).then(m),updateRecommendationsStep:e=>d(`${n}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(g),confirmIDCSafeMode:()=>d(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(g),startIDCFresh:e=>d(`${n}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(g).then(m),migrateIDC:()=>d(`${n}jetpack/v4/identity-crisis/migrate`,a).then(g),attachLicenses:e=>d(`${n}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(g).then(m),fetchSearchPlanInfo:()=>p(`${n}jetpack/v4/search/plan`,s).then(g).then(m),fetchSearchSettings:()=>p(`${n}jetpack/v4/search/settings`,s).then(g).then(m),updateSearchSettings:e=>d(`${n}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(g).then(m)};function p(e,t){return fetch(u(e),t)}function d(e,t,n){return fetch(e,(0,i.assign)({},t,n)).catch(h)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,i.assign)(this,l)};function g(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new u})):e.json().catch((e=>f(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=>f(t,e.redirected,e.url)))}function f(e,t,n){throw t?new a(n):new s}function h(){throw new p}t.ZP=d},1583:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(5736),c=n(5609),s=n(1268),a=n.n(s),u=(n(4125),n(7262));const __=r.__,l=e=>{const{label:t,onClick:n,isLoading:i,displayError:r,errorMessage:s}=e;return o().createElement("div",{className:"jp-action-button"},o().createElement(c.Button,{className:"jp-action-button--button",label:t,onClick:n,isPrimary:!0,disabled:i},i?o().createElement(u.Z,null):t),r&&o().createElement("p",{className:"jp-action-button__error"},s))};l.propTypes={label:a().string.isRequired,onClick:a().func,isLoading:a().bool,displayError:a().bool,errorMessage:a().string},l.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack-connection-ui")},t.Z=l},9697:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r);n(8776);const s=e=>{const{format:t,icon:n,imageUrl:i}=e;return o().createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},o().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:i?`url( ${i} )`:""}}),o().createElement("div",{className:"jp-components__decorative-card__content"},o().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(n)return o().createElement("div",{className:"jp-components__decorative-card__icon-container"},o().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n}))})())};s.propTypes={format:c().oneOf(["horizontal","vertical"]),icon:c().oneOf(["unlink"]),imageUrl:c().string},s.defaultProps={format:"horizontal"},t.Z=s},1546:function(e,t,n){"use strict";var i=n(9183),o=n.n(i),r=n(7538),c=n.n(r),s=n(1268),a=n.n(s),u=n(9196),l=n.n(u),p=n(9105),d=n.n(p),g=n(5736);const __=g.__;class m extends l().Component{render(){const{logoColor:e,showText:t,className:n,...i}=this.props,r=t?"0 0 118 32":"0 0 32 32";return l().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:r,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},i),l().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-connection-ui")),l().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&&l().createElement(u.Fragment,null,l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"})))}}c()(m,"propTypes",{className:a().string,width:a().number,height:a().number,showText:a().bool,logoColor:a().string}),c()(m,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=m},2678:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(5609),a=n(6078),u=n(5736);n(7394);const __=u.__,l=e=>-1===e.fraction.indexOf("00"),p=e=>{const t=(0,a.LR)(e.priceBefore,e.currencyCode),n=(0,a.LR)(e.priceAfter,e.currencyCode);return o().createElement("div",{className:"jp-components__pricing-card"},e.icon&&o().createElement("div",{className:"jp-components__pricing-card__icon"},o().createElement("img",{src:e.icon,alt:(0,u.sprintf)(
+!function(){var e={9487:function(e,n,t){"use strict";t.d(n,{X:function(){return o}});const i={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 o(e){return i[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:function(e,n,t){"use strict";t.d(n,{LR:function(){return c}});var i=t(9487),o=t(2003);function c(e,n,t={}){const c=(0,i.X)(n);if(!c||isNaN(e))return null;const{decimal:r,grouping:s,precision:a,symbol:l}={...c,...t},u=e<0?"-":"",p=Math.abs(e),d=Math.floor(p);return{sign:u,symbol:l,integer:(0,o.Z)(p,a,r,s).split(r)[0],fraction:a>0?(0,o.Z)(p-d,a,r,s).slice(1):""}}},2003:function(e,n,t){"use strict";function i(e,n=0,t=".",i=","){const o=(e+"").replace(/[^0-9+\-Ee.]/g,""),c=isFinite(+o)?+o:0,r=isFinite(+n)?Math.abs(n):0,s=(r?function(e,n){const t=Math.pow(10,n);return""+(Math.round(e*t)/t).toFixed(n)}(c,r):""+Math.round(c)).split(".");return s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(s[1]||"").length<r&&(s[1]=s[1]||"",s[1]+=new Array(r-s[1].length+1).join("0")),s.join(t)}t.d(n,{Z:function(){return i}})},8294:function(e){e.exports=function(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e},e.exports.__esModule=!0,e.exports.default=e.exports},2402:function(e){function n(){return e.exports=n=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},1074:function(e,n,t){"use strict";var i=t(9307);n.Z=function(e){let{icon:n,size:t=24,...o}=e;return(0,i.cloneElement)(n,{width:t,height:t,...o})}},5381:function(e,n,t){"use strict";var i=t(9307),o=t(444);const c=(0,i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));n.Z=c},5235:function(e,n){var t;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e=[],n=0;n<arguments.length;n++){var t=arguments[n];if(t){var c=typeof t;if("string"===c||"number"===c)e.push(t);else if(Array.isArray(t)){if(t.length){var r=o.apply(null,t);r&&e.push(r)}}else if("object"===c)if(t.toString===Object.prototype.toString)for(var s in t)i.call(t,s)&&t[s]&&e.push(s);else e.push(t.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(t=function(){return o}.apply(n,[]))||(e.exports=t)}()},951:function(e,n,t){n.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const t="color: "+this.color;n.splice(1,0,t,"color: inherit");let i=0,o=0;n[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(o=i))})),n.splice(o,0,t)},n.save=function(e){try{e?n.storage.setItem("debug",e):n.storage.removeItem("debug")}catch(e){}},n.load=function(){let e;try{e=n.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},n.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage=function(){try{return localStorage}catch(e){}}(),n.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.log=console.debug||console.log||(()=>{}),e.exports=t(1741)(n);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:function(e,n,t){e.exports=function(e){function n(e){let t,o,c,r=null;function s(...e){if(!s.enabled)return;const i=s,o=Number(new Date),c=o-(t||o);i.diff=c,i.prev=t,i.curr=o,t=o,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,o)=>{if("%%"===t)return"%";r++;const c=n.formatters[o];if("function"==typeof c){const n=e[r];t=c.call(i,n),e.splice(r,1),r--}return t})),n.formatArgs.call(i,e);(i.log||n.log).apply(i,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=i,s.destroy=n.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(o!==n.namespaces&&(o=n.namespaces,c=n.enabled(e)),c),set:e=>{r=e}}),"function"==typeof n.init&&n.init(s),s}function i(e,t){const i=n(this.namespace+(void 0===t?":":t)+e);return i.log=this.log,i}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){const e=[...n.names.map(o),...n.skips.map(o).map((e=>"-"+e))].join(",");return n.enable(""),e},n.enable=function(e){let t;n.save(e),n.namespaces=e,n.names=[],n.skips=[];const i=("string"==typeof e?e:"").split(/[\s,]+/),o=i.length;for(t=0;t<o;t++)i[t]&&("-"===(e=i[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")))},n.enabled=function(e){if("*"===e[e.length-1])return!0;let t,i;for(t=0,i=n.skips.length;t<i;t++)if(n.skips[t].test(e))return!1;for(t=0,i=n.names.length;t<i;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=t(3171),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((t=>{n[t]=e[t]})),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return n.colors[Math.abs(t)%n.colors.length]},n.enable(n.load()),n}},9710:function(){},3466:function(e,n){"use strict";n.Z={button:"zI5tJ_qhWE6Oe6Lk75GY",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",small:"Na39I683LAaSA99REg14",regular:"lZAo6_oGfclXOO9CC6Rd",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},2404:function(){},9478:function(){},3280:function(e,n){"use strict";n.Z={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz",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"}},9610:function(){},2917:function(){},2427:function(){},4220:function(){},287:function(){},9823:function(){},3171:function(e){var n=1e3,t=60*n,i=60*t,o=24*i,c=7*o,r=365.25*o;function s(e,n,t,i){var o=n>=1.5*t;return Math.round(e/t)+" "+i+(o?"s":"")}e.exports=function(e,a){a=a||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\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(!s)return;var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*r;case"weeks":case"week":case"w":return a*c;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*t;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===l&&isFinite(e))return a.long?function(e){var c=Math.abs(e);if(c>=o)return s(e,c,o,"day");if(c>=i)return s(e,c,i,"hour");if(c>=t)return s(e,c,t,"minute");if(c>=n)return s(e,c,n,"second");return e+" ms"}(e):function(e){var c=Math.abs(e);if(c>=o)return Math.round(e/o)+"d";if(c>=i)return Math.round(e/i)+"h";if(c>=t)return Math.round(e/t)+"m";if(c>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},469:function(e,n,t){"use strict";var i=t(758);function o(){}function c(){}c.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,c,r){if(r!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:c,resetWarningCache:o};return t.PropTypes=t,t}},5162:function(e,n,t){e.exports=t(469)()},758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6975:function(e,n,t){"use strict";var i=t(951),o=t.n(i),c=t(2819);const r=o()("dops:analytics");let s,a;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,n,t){l.setUser(e,n),l.setSuperProps(t),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=n},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,n){a={ID:e,username:n}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=(0,c.assign)(s,e)},mc:{bumpStat:function(e,n){const t=function(e,n){let t="";if("object"==typeof e){for(const n in e)t+="&x_"+encodeURIComponent(n)+"="+encodeURIComponent(e[n]);r("Bumping stats %o",e)}else t="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(n),r('Bumping stat "%s" in group "%s"',n,e);return t}(e,n);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+t+"&t="+Math.random())},bumpStatWithPageView:function(e,n){const t=function(e,n){let t="";if("object"==typeof e){for(const n in e)t+="&"+encodeURIComponent(n)+"="+encodeURIComponent(e[n]);r("Built stats %o",e)}else t="&"+encodeURIComponent(e)+"="+encodeURIComponent(n),r('Built stat "%s" in group "%s"',n,e);return t}(e,n);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+t+"&t="+Math.random())}},pageView:{record:function(e,n){l.tracks.recordPageView(e),l.ga.recordPageView(e,n)}},purchase:{record:function(e,n,t,i,o,c,r){l.ga.recordPurchase(e,n,t,i,o,c,r)}},tracks:{recordEvent:function(e,n){n=n||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(r("- Super Props: %o",s),n=(0,c.assign)(n,s)),r('Record event "%s" called with props %s',e,JSON.stringify(n)),window._tkq.push(["recordEvent",e,n])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const n="object"==typeof e?e:{target:e};l.tracks.recordEvent("jetpack_wpa_click",n)},recordPageView:function(e){l.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={};l.ga.initialized||(a&&(e={userId:"u-"+a.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,n){l.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+n+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:n}))},recordEvent:function(e,n,t,i){l.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+n+"]";void 0!==t&&(o+=" [Option Label: "+t+"]"),void 0!==i&&(o+=" [Option Value: "+i+"]"),r(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,n,t,i)},recordPurchase:function(e,n,t,i,o,c,r){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:i,currency:r}),window.ga("ecommerce:addItem",{id:e,name:n,sku:t,price:o,quantity:c}),window.ga("ecommerce:send")}},identifyUser:function(){a&&window._tkq.push(["identifyUser",a.ID,a.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};n.Z=l},4743:function(e,n,t){"use strict";var i=t(2819),o=t(6483),c=t(1132);function r(e){class n extends Error{constructor(){super(...arguments),this.name=e}}return n}const s=r("JsonParseError"),a=r("JsonParseAfterRedirectError"),l=r("Api404Error"),u=r("Api404AfterRedirectError"),p=r("FetchNetworkError");const d=new function(e,n){let t=e,r={"X-WP-Nonce":n},s={credentials:"same-origin",headers:r},a={method:"post",credentials:"same-origin",headers:(0,i.assign)({},r,{"Content-type":"application/json"})},l=function(e){const n=e.split("?"),t=n.length>1?n[1]:"",i=t.length?t.split("&"):[];return i.push("_cacheBuster="+(new Date).getTime()),n[0]+"?"+i.join("&")};const u={setApiRoot(e){t=e},setApiNonce(e){r={"X-WP-Nonce":e},s={credentials:"same-origin",headers:r},a={method:"post",credentials:"same-origin",headers:(0,i.assign)({},r,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,n)=>{const i={registration_nonce:e,no_iframe:!0};return(0,c.jetpackConfigHas)("consumer_slug")&&(i.plugin_slug=(0,c.jetpackConfigGet)("consumer_slug")),null!==n&&(i.redirect_uri=n),d(`${t}jetpack/v4/connection/register`,a,{body:JSON.stringify(i)}).then(g).then(m)},fetchAuthorizationUrl:e=>p((0,o.addQueryArgs)(`${t}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),s).then(g).then(m),fetchSiteConnectionData:()=>p(`${t}jetpack/v4/connection/data`,s).then(m),fetchSiteConnectionStatus:()=>p(`${t}jetpack/v4/connection`,s).then(m),fetchSiteConnectionTest:()=>p(`${t}jetpack/v4/connection/test`,s).then(g).then(m),fetchUserConnectionData:()=>p(`${t}jetpack/v4/connection/data`,s).then(m),fetchUserTrackingSettings:()=>p(`${t}jetpack/v4/tracking/settings`,s).then(g).then(m),updateUserTrackingSettings:e=>d(`${t}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),disconnectSite:()=>d(`${t}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(g).then(m),fetchConnectUrl:()=>p(`${t}jetpack/v4/connection/url`,s).then(g).then(m),unlinkUser:()=>d(`${t}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(g).then(m),reconnect:()=>d(`${t}jetpack/v4/connection/reconnect`,a).then(g).then(m),fetchConnectedPlugins:()=>p(`${t}jetpack/v4/connection/plugins`,s).then(g).then(m),setHasSeenWCConnectionModal:()=>d(`${t}jetpack/v4/seen-wc-connection-modal`,a).then(g).then(m),fetchModules:()=>p(`${t}jetpack/v4/module/all`,s).then(g).then(m),fetchModule:e=>p(`${t}jetpack/v4/module/${e}`,s).then(g).then(m),activateModule:e=>d(`${t}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(g).then(m),deactivateModule:e=>d(`${t}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,n)=>d(`${t}jetpack/v4/module/${e}`,a,{body:JSON.stringify(n)}).then(g).then(m),updateSettings:e=>d(`${t}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),getProtectCount:()=>p(`${t}jetpack/v4/module/protect/data`,s).then(g).then(m),resetOptions:e=>d(`${t}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(g).then(m),activateVaultPress:()=>d(`${t}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(g).then(m),getVaultPressData:()=>p(`${t}jetpack/v4/module/vaultpress/data`,s).then(g).then(m),installPlugin:(e,n)=>{const i={slug:e,status:"active"};return n&&(i.source=n),d(`${t}jetpack/v4/plugins`,a,{body:JSON.stringify(i)}).then(g).then(m)},activateAkismet:()=>d(`${t}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(g).then(m),getAkismetData:()=>p(`${t}jetpack/v4/module/akismet/data`,s).then(g).then(m),checkAkismetKey:()=>p(`${t}jetpack/v4/module/akismet/key/check`,s).then(g).then(m),checkAkismetKeyTyped:e=>d(`${t}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(g).then(m),fetchStatsData:e=>p(function(e){let n=`${t}jetpack/v4/module/stats/data`;-1!==n.indexOf("?")?n+=`&range=${encodeURIComponent(e)}`:n+=`?range=${encodeURIComponent(e)}`;return n}(e),s).then(g).then(m).then(f),getPluginUpdates:()=>p(`${t}jetpack/v4/updates/plugins`,s).then(g).then(m),getPlans:()=>p(`${t}jetpack/v4/plans`,s).then(g).then(m),fetchSettings:()=>p(`${t}jetpack/v4/settings`,s).then(g).then(m),updateSetting:e=>d(`${t}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),fetchSiteData:()=>p(`${t}jetpack/v4/site`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${t}jetpack/v4/site/features`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${t}jetpack/v4/site/products`,s).then(g).then(m),fetchSitePurchases:()=>p(`${t}jetpack/v4/site/purchases`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${t}jetpack/v4/site/benefits`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>p(`${t}jetpack/v4/site/discount`,s).then(g).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>p(`${t}jetpack/v4/setup/questionnaire`,s).then(g).then(m),fetchRecommendationsData:()=>p(`${t}jetpack/v4/recommendations/data`,s).then(g).then(m),fetchRecommendationsProductSuggestions:()=>p(`${t}jetpack/v4/recommendations/product-suggestions`,s).then(g).then(m),fetchRecommendationsUpsell:()=>p(`${t}jetpack/v4/recommendations/upsell`,s).then(g).then(m),fetchRecommendationsConditional:()=>p(`${t}jetpack/v4/recommendations/conditional`,s).then(g).then(m),saveRecommendationsData:e=>d(`${t}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(g),fetchProducts:()=>p(`${t}jetpack/v4/products`,s).then(g).then(m),fetchRewindStatus:()=>p(`${t}jetpack/v4/rewind`,s).then(g).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${t}jetpack/v4/scan`,s).then(g).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>d(`${t}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(g).then(m),fetchPluginsData:()=>p(`${t}jetpack/v4/plugins`,s).then(g).then(m),fetchIntroOffers:()=>p(`${t}jetpack/v4/intro-offers`,s).then(g).then(m),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${t}jetpack/v4/verify-site/google/${e}`:`${t}jetpack/v4/verify-site/google`,s).then(g).then(m),verifySiteGoogle:e=>d(`${t}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(g).then(m),sendMobileLoginEmail:()=>d(`${t}jetpack/v4/mobile/send-login-email`,a).then(g).then(m),submitSurvey:e=>d(`${t}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(g).then(m),saveSetupQuestionnaire:e=>d(`${t}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(g).then(m),updateLicensingError:e=>d(`${t}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(g).then(m),updateLicenseKey:e=>d(`${t}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(g).then(m),getUserLicensesCounts:()=>p(`${t}jetpack/v4/licensing/user/counts`,s).then(g).then(m),getUserLicenses:()=>p(`${t}jetpack/v4/licensing/user/licenses`,s).then(g).then(m),updateLicensingActivationNoticeDismiss:e=>d(`${t}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(g).then(m),updateRecommendationsStep:e=>d(`${t}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(g),confirmIDCSafeMode:()=>d(`${t}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(g),startIDCFresh:e=>d(`${t}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(g).then(m),migrateIDC:()=>d(`${t}jetpack/v4/identity-crisis/migrate`,a).then(g),attachLicenses:e=>d(`${t}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(g).then(m),fetchSearchPlanInfo:()=>p(`${t}jetpack/v4/search/plan`,s).then(g).then(m),fetchSearchSettings:()=>p(`${t}jetpack/v4/search/settings`,s).then(g).then(m),updateSearchSettings:e=>d(`${t}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(g).then(m),fetchSearchStats:()=>p(`${t}jetpack/v4/search/stats`,s).then(g).then(m),fetchWafSettings:()=>p(`${t}jetpack/v4/waf`,s).then(g).then(m),fetchWordAdsSettings:()=>p(`${t}jetpack/v4/wordads/settings`,s).then(g).then(m),updateWordAdsSettings:e=>d(`${t}jetpack/v4/wordads/settings`,a,{body:JSON.stringify(e)}),fetchSearchPricing:()=>p(`${t}jetpack/v4/search/pricing`,s).then(g).then(m)};function p(e,n){return fetch(l(e),n)}function d(e,n,t){return fetch(e,(0,i.assign)({},n,t)).catch(h)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,i.assign)(this,u)};function g(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new l})):e.json().catch((e=>f(e))).then((n=>{const t=new Error(`${n.message} (Status ${e.status})`);throw t.response=n,t.name="ApiError",t}))}function m(e){return e.json().catch((n=>f(n,e.redirected,e.url)))}function f(e,n,t){throw n?new a(t):new s}function h(){throw new p}n.ZP=d},7121:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5736),r=t(5609),s=t(5162),a=t.n(s);t(9710);const __=c.__,l=e=>{const{label:n,onClick:t,isLoading:i,displayError:c,errorMessage:s}=e;return o().createElement("div",{className:"jp-action-button"},o().createElement(r.Button,{className:"jp-action-button--button",label:n,onClick:t,variant:"primary",disabled:i},i?o().createElement(r.Spinner,null):n),c&&o().createElement("p",{className:"jp-action-button__error"},s))};l.propTypes={label:a().string.isRequired,onClick:a().func,isLoading:a().bool,displayError:a().bool,errorMessage:a().string},l.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack-connection-ui")},n.Z=l},526:function(e,n,t){"use strict";var i=t(2402),o=t.n(i),c=t(5609),r=t(1074),s=t(5381),a=t(5235),l=t.n(a),u=t(3466);n.Z=e=>{let{children:n,variant:t="primary",size:i="normal",weight:a="bold",icon:p,iconSize:d,disabled:g,isDestructive:m,isLoading:f,isExternalLink:h,className:y,text:b,..._}=e;const k=l()(u.Z.button,y,{[u.Z.normal]:"normal"===i,[u.Z.small]:"small"===i,[u.Z.icon]:Boolean(p),[u.Z.loading]:f,[u.Z.regular]:"regular"===a}),v="normal"===i?20:16,C=h&&React.createElement(r.Z,{size:v,icon:s.Z,className:u.Z["external-icon"]}),E=h?"_blank":void 0;return React.createElement(c.Button,o()({target:E,variant:t,className:k,icon:h?void 0:p,iconSize:d,disabled:g,isDestructive:m,text:b},_),f&&React.createElement(c.Spinner,null),React.createElement("span",null,n),C)}},1133:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c);t(2404);const s=e=>{const{format:n,icon:t,imageUrl:i}=e;return o().createElement("div",{className:"jp-components__decorative-card "+(n?"jp-components__decorative-card--"+n:"")},o().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:i?`url( ${i} )`:""}}),o().createElement("div",{className:"jp-components__decorative-card__content"},o().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(t)return o().createElement("div",{className:"jp-components__decorative-card__icon-container"},o().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+t}))})())};s.propTypes={format:r().oneOf(["horizontal","vertical"]),icon:r().oneOf(["unlink"]),imageUrl:r().string},s.defaultProps={format:"horizontal"},n.Z=s},1202:function(e,n,t){"use strict";var i=t(2402),o=t.n(i),c=t(8294),r=t.n(c),s=t(5162),a=t.n(s),l=t(9196),u=t.n(l),p=t(5235),d=t.n(p),g=t(5736);const __=g.__;class m extends u().Component{render(){const{logoColor:e,showText:n,className:t,...i}=this.props,c=n?"0 0 118 32":"0 0 32 32";return u().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:c,className:d()("jetpack-logo",t),"aria-labelledby":"jetpack-logo-title"},i),u().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-connection-ui")),u().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"}),n&&u().createElement(l.Fragment,null,u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"})))}}r()(m,"propTypes",{className:a().string,width:a().number,height:a().number,showText:a().bool,logoColor:a().string}),r()(m,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),n.Z=m},667:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(5609),a=t(8899),l=t(5736);t(9478);const __=l.__,u=e=>-1===e.fraction.indexOf("00"),p=e=>{const n=(0,a.LR)(e.priceBefore,e.currencyCode),t=(0,a.LR)(e.priceAfter,e.currencyCode);return o().createElement("div",{className:"jp-components__pricing-card"},e.icon&&o().createElement("div",{className:"jp-components__pricing-card__icon"},o().createElement("img",{src:e.icon,alt:(0,l.sprintf)(
/* translators: placeholder is a product name */
-__("Icon for the product %s","jetpack-connection-ui"),e.title)})),o().createElement("h1",{className:"jp-components__pricing-card__title"},e.title),o().createElement("div",{className:"jp-components__pricing-card__pricing"},e.priceBefore!==e.priceAfter&&o().createElement("div",{className:"jp-components__pricing-card__price-before"},o().createElement("span",{className:"jp-components__pricing-card__currency"},t.symbol),o().createElement("span",{className:"jp-components__pricing-card__price"},t.integer),l(t)&&o().createElement("span",{className:"jp-components__pricing-card__price-decimal"}," ",t.fraction),o().createElement("div",{className:"jp-components__pricing-card__price-strikethrough"})),o().createElement("div",{className:"jp-components__pricing-card__price-after"},o().createElement("span",{className:"jp-components__pricing-card__currency"},n.symbol),o().createElement("span",{className:"jp-components__pricing-card__price"},n.integer),l(n)&&o().createElement("span",{className:"jp-components__pricing-card__price-decimal"},n.fraction)),o().createElement("span",{className:"jp-components__pricing-card__price-details"},e.priceDetails)),e.children&&o().createElement("div",{className:"jp-components__pricing-card__extra-content-wrapper"},e.children),e.ctaText&&o().createElement("div",{className:"jp-components__pricing-card__cta"},o().createElement(s.Button,{className:"jp-components__pricing-card__button",label:e.ctaText,onClick:e.onCtaClick},e.ctaText)),e.infoText&&o().createElement("div",{className:"jp-components__pricing-card__info"},e.infoText))};p.propTypes={title:c().string.isRequired,icon:c().string,priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,priceDetails:c().string,currencyCode:c().string,ctaText:c().string,onCtaClick:c().func,infoText:c().oneOfType([c().string,c().object])},p.defaultProps={currencyCode:"USD",priceDetails:__("/month, paid yearly","jetpack-connection-ui")},t.Z=p},7262:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r);n(6212);const s=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},i={borderTopColor:e.color,borderRightColor:e.color};return o().createElement("div",{className:t},o().createElement("div",{className:"jp-components-spinner__outer",style:n},o().createElement("div",{className:"jp-components-spinner__inner",style:i})))};s.propTypes={color:c().string,className:c().string,size:c().number},s.defaultProps={color:"#FFFFFF",className:"",size:20},t.Z=s},1415:function(e,t,n){"use strict";function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let i;if("undefined"!=typeof window&&(i=window.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);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),i&&(n.calypso_env=i);const o=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+o}n.d(t,{Z:function(){return i}})},6251:function(e,t,n){let i={};try{i=n(Object(function(){var e=new Error("Cannot find module 'jetpackConfig'");throw e.code="MODULE_NOT_FOUND",e}()))}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),i={missingConfig:!0}}const o=e=>i.hasOwnProperty(e);e.exports={jetpackConfigHas:o,jetpackConfigGet:e=>{if(!o(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 i[e]}}},4254:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r);const s=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const i=t.map(((e,t)=>o().createElement(o().Fragment,{key:t},o().createElement("img",{src:n+e,alt:""}))));return o().createElement("div",{className:"jp-connection__connect-screen__image-slider"},i)};s.propTypes={images:c().arrayOf(c().string).isRequired,assetBaseUrl:c().string},s.defaultProps={assetBaseUrl:""},t.Z=s},7865:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(1546),a=n(4254);n(4959);const u=e=>{const{title:t,children:n,className:i,assetBaseUrl:r,images:c}=e,u=c?.length;return o().createElement("div",{className:"jp-connection__connect-screen-layout"+(u?" jp-connection__connect-screen-layout__two-columns":"")+(i?" "+i:"")},o().createElement("div",{className:"jp-connection__connect-screen-layout__left"},o().createElement(s.Z,null),o().createElement("h2",null,t),n),u?o().createElement("div",{className:"jp-connection__connect-screen-layout__right"},o().createElement(a.Z,{images:c,assetBaseUrl:r})):null)};u.propTypes={title:c().string,className:c().string,images:c().arrayOf(c().string),assetBaseUrl:c().string},t.Z=u},1213:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(9818),a=n(5736),u=n(5731),l=n(2199),p=n(1631);const __=a.__,d=e=>{const{title:t,autoTrigger:n,buttonLabel:i,apiRoot:r,apiNonce:c,registrationNonce:a,from:d,redirectUri:g,children:m,priceBefore:f,priceAfter:h,pricingIcon:y,pricingTitle:v,pricingCurrencyCode:b}=e,{handleRegisterSite:_,isRegistered:k,isUserConnected:w,siteIsRegistering:j,userIsConnecting:C,registrationError:E}=(0,p.Z)({registrationNonce:a,redirectUri:g,apiRoot:r,apiNonce:c,autoTrigger:n,from:d}),S=!k||!w,N=(0,s.useSelect)((e=>e(l.t).getConnectionStatusIsFetching())),O=Boolean(E),P=j||C;return o().createElement(u.Z,{title:t,buttonLabel:i,priceBefore:f,priceAfter:h,pricingIcon:y,pricingTitle:v,pricingCurrencyCode:b,isLoading:N,handleButtonClick:_,showConnectButton:S,displayButtonError:O,buttonIsLoading:P},m)};d.propTypes={title:c().string,buttonLabel:c().string,apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,registrationNonce:c().string.isRequired,from:c().string,redirectUri:c().string.isRequired,autoTrigger:c().bool,pricingTitle:c().string.isRequired,icon:c().string,priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,pricingCurrencyCode:c().string},d.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack-connection-ui"),buttonLabel:__("Set up Jetpack","jetpack-connection-ui"),pricingCurrencyCode:"USD",autoTrigger:!1},t.Z=d},5731:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(5736),a=n(1415),u=n(1583),l=n(2678),p=n(9307),d=n(7865);n(2961);const __=s.__,g=e=>{const{title:t,buttonLabel:n,children:i,priceBefore:r,priceAfter:c,pricingIcon:s,pricingTitle:g,pricingCurrencyCode:m,isLoading:f,handleButtonClick:h,showConnectButton:y,displayButtonError:v,buttonIsLoading:b}=e,_=(0,p.createInterpolateElement)(__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack-connection-ui"),{tosLink:o().createElement("a",{href:(0,a.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:o().createElement("a",{href:(0,a.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),k=(0,p.createInterpolateElement)(__("Already have a subscription? <connectButton/> to get started.","jetpack-connection-ui"),{connectButton:o().createElement(u.Z,{label:__("Log in","jetpack-connection-ui"),onClick:h,isLoading:b})});return o().createElement(d.Z,{title:t,className:"jp-connection__connect-screen-required-plan"+(f?" jp-connection__connect-screen-required-plan__loading":"")},o().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},i,o().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},o().createElement(l.Z,{title:g,icon:s,priceBefore:r,currencyCode:m,priceAfter:c,infoText:y?_:""},y&&o().createElement(u.Z,{label:n,onClick:h,displayError:v,isLoading:b}))),y&&o().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},k)))};g.propTypes={pricingTitle:c().string.isRequired,priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,pricingCurrencyCode:c().string,title:c().string,buttonLabel:c().string,pricingIcon:c().string,isLoading:c().bool,handleButtonClick:c().func,showConnectButton:c().bool,displayButtonError:c().bool,buttonIsLoading:c().bool},g.defaultProps={pricingCurrencyCode:"USD",showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{}},t.Z=g},9565:function(e,t,n){"use strict";var i=n(9196),o=n(1268),r=n.n(o),c=n(9570);const s=e=>{const{redirectFunc:t,connectUrl:n,redirectUri:o,from:r}=e,[s,a]=(0,i.useState)(null);return n&&n!==s&&a(n),(0,i.useEffect)((()=>{s||c.ZP.fetchAuthorizationUrl(o).then((e=>a(e.authorizeUrl))).catch((e=>{throw e}))}),[]),s?(t(s+(r?(s.includes("?")?"&":"?")+"from="+encodeURIComponent(r):"")),null):null};s.propTypes={connectUrl:r().string,redirectUri:r().string.isRequired,from:r().string,redirectFunc:r().func},s.defaultProps={redirectFunc:e=>window.location.assign(e),redirectUri:null},t.Z=s},3593:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(5736),a=n(2332);const __=s.__,u=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,r=(0,i.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&r.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-connection-ui"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},r.map((e=>o().createElement(a.Z,{title:e.name}))))):null};u.PropTypes={connectedPlugins:c().object,disconnectingPlugin:c().string},t.Z=u},7132:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(5736),c=n(5609),s=n(1268),a=n.n(s),u=n(9570),l=n(9818),p=n(9565),d=n(5628),g=n(2199),m=n(1631);n(404);const __=r.__,f=e=>{const{apiRoot:t,apiNonce:n,redirectUri:r,title:s,connectionInfoText:a,onDisconnected:f,connectedPlugins:h,connectedSiteId:y,context:v}=e,{isRegistered:b,isUserConnected:_}=(0,m.Z)({apiRoot:t,apiNonce:n}),[k,w]=(0,i.useState)(!1),[j,C]=(0,i.useState)({}),[E,S]=(0,i.useState)(!1),N=(0,l.useSelect)((e=>e(g.t).getUserIsConnecting()),[]),{setConnectionStatus:O,setUserIsConnecting:P}=(0,l.useDispatch)(g.t),Z=(0,i.useRef)();(0,i.useEffect)((()=>{u.ZP.setApiRoot(t),u.ZP.setApiNonce(n)}),[t,n]),(0,i.useEffect)((()=>{w(!0),u.ZP.fetchSiteConnectionData().then((e=>{w(!1),C(e.currentUser?.wpcomUser);const t=e.currentUser?.wpcomUser?.avatar;t&&(Z.current.style.backgroundImage=`url('${t}')`)})).catch((e=>{throw w(!1),e}))}),[w,C]);const R=(0,i.useCallback)((e=>{e&&e.preventDefault(),S(!0)}),[S]),x=(0,i.useCallback)((e=>{e&&e.preventDefault(),S(!1)}),[S]),F=(0,i.useCallback)((e=>{e&&e.preventDefault(),O({isActive:!1,isRegistered:!1,isUserConnected:!1}),f&&"[object Function]"==={}.toString.call(f)&&f()}),[f,O]);return b?o().createElement("div",{className:"jp-connection-status-card"},o().createElement("h3",null,s),o().createElement("p",null,a),o().createElement("div",{className:"jp-connection-status-card--status"},o().createElement("div",{className:"jp-connection-status-card--cloud"}),o().createElement("div",{className:"jp-connection-status-card--line"+(_?"":" jp-connection-status-card--site-only")}),o().createElement("div",{className:"jp-connection-status-card--jetpack-logo"}),o().createElement("div",{className:"jp-connection-status-card--avatar",ref:Z})),o().createElement("ul",{className:"jp-connection-status-card--list"},o().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Site connected.","jetpack-connection-ui")," ",o().createElement(c.Button,{variant:"link",onClick:R,className:"jp-connection__disconnect-dialog__link"},__("Disconnect","jetpack-connection-ui")),o().createElement(d.Z,{apiRoot:t,apiNonce:n,onDisconnected:F,connectedPlugins:h,connectedSiteId:y,connectedUser:j,isOpen:E,onClose:x,context:v})),_&&!k&&o().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Logged in as","jetpack-connection-ui")," ",j?.display_name),!_&&!k&&o().createElement("li",{className:"jp-connection-status-card--list-item-error"},__("Your WordPress.com account is not connected.","jetpack-connection-ui"))),!_&&!k&&o().createElement(c.Button,{isPrimary:!0,disabled:N,onClick:P,className:"jp-connection-status-card--btn-connect-user"},__("Connect your WordPress.com account","jetpack-connection-ui")),N&&o().createElement(p.Z,{redirectUri:r})):null};f.propTypes={apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,redirectUri:a().string.isRequired,connectedPlugins:a().object,connectedSiteId:a().number,title:a().string,connectionInfoText:a().string,onDisconnected:a().func,context:a().string},f.defaultProps={title:__("Connection","jetpack-connection-ui"),connectionInfoText:__("Leverages the Jetpack Cloud for more features on your side.","jetpack-connection-ui")},t.Z=f},2332:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r);n(1294);const s=e=>{const{title:t,value:n,description:i}=e;return o().createElement("div",{className:"jp-connection__disconnect-card card"},o().createElement("div",{className:"jp-connection__disconnect-card__card-content"},o().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||i)&&o().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},o().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),o().createElement("div",{className:"jp-connection__disconnect-card__card-description"},i))))};s.propTypes={title:c().string,value:c().string|c().number,description:c().number},t.Z=s},5628:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(5736),a=n(5609),u=n(9570),l=n(816),p=n(6251),d=(n(1545),n(163)),g=n(1496),m=n(4130),f=n(5700);const __=s.__,h=e=>{const[t,n]=(0,i.useState)(!1),[r,c]=(0,i.useState)(!1),[s,h]=(0,i.useState)(!1),[y,v]=(0,i.useState)(!1),[b,_]=(0,i.useState)(!1),[k,w]=(0,i.useState)(!1),{apiRoot:j,apiNonce:C,connectedPlugins:E,title:S,pluginScreenDisconnectCallback:N,onDisconnected:O,onError:P,disconnectStepComponent:Z,context:R,connectedUser:x,connectedSiteId:F,isOpen:T,onClose:I}=e;let A="";(0,p.jetpackConfigHas)("consumer_slug")&&(A=(0,p.jetpackConfigGet)("consumer_slug"));const L=(0,i.useMemo)((()=>({context:R,plugin:A})),[R,A]);(0,i.useEffect)((()=>{u.ZP.setApiRoot(j),u.ZP.setApiNonce(C)}),[j,C]),(0,i.useEffect)((()=>{x&&x.ID&&x.login&&l.Z.initialize(x.ID,x.login)}),[x,x.ID,x.login]),(0,i.useEffect)((()=>{T&&l.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",L)}),[T,L]),(0,i.useEffect)((()=>{T&&(r?!r||y||b?y&&!b?l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},L)):b&&l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},L)):l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},L)):l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},L)))}),[T,r,y,b,L]);const U=(0,i.useCallback)((()=>{u.ZP.disconnectSite().then((()=>{n(!1),c(!0)})).catch((e=>{n(!1),h(e),P&&P(e)}))}),[n,c,h,P]),D=(0,i.useCallback)(((e,t)=>{w(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);l.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),_(!0),w(!1)})).catch((e=>{l.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),_(!0),w(!1)}))}),[w,_]),$=(0,i.useCallback)((e=>{e&&e.preventDefault(),h(!1),n(!0),"plugins"!==R?U():N&&N(e)}),[h,n,N,R,U]),B=(0,i.useCallback)((()=>x.ID&&F),[x,F]),M=(0,i.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!B())return void _(!0);const i={site_id:F,user_id:x.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},o=Object.assign({},L,{disconnect_reason:e});D(i,o)}),[D,_,B,F,x,L]),z=(0,i.useCallback)((e=>{e&&e.preventDefault(),O&&O(),I()}),[O,I]),J=(0,i.useCallback)((e=>{e&&e.preventDefault(),v(!0)}),[v]);return o().createElement(o().Fragment,null,T&&o().createElement(a.Modal,{title:"",contentLabel:S,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:I,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(r?" jp-connection__disconnect-dialog__success":"")},r?!r||y||b?y&&!b?o().createElement(m.Z,{isSubmittingFeedback:k,onFeedBackProvided:M,onExit:z}):b?o().createElement(f.Z,{onExit:z}):void 0:o().createElement(g.Z,{canProvideFeedback:B(),onProvideFeedback:J,onExit:z}):o().createElement(d.Z,{title:S,connectedPlugins:E,disconnectStepComponent:Z,isDisconnecting:t,closeModal:I,onDisconnect:$,disconnectError:s,context:R,disconnectingPlugin:A})))};h.propTypes={apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,title:c().string,onDisconnected:c().func,onError:c().func,context:c().string,connectedPlugins:c().object,pluginScreenDisconnectCallback:c().func,disconnectStepComponent:c().element,connectedUser:c().object,connectedSiteId:c().number,isOpen:c().bool,onClose:c().func},h.defaultProps={title:__("Are you sure you want to disconnect?","jetpack-connection-ui"),context:"jetpack-dashboard",connectedUser:{}},t.Z=h},1496:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(9307),a=n(5736),u=n(5609),l=n(9697),p=n(2042);const __=a.__,d=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:i}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(l.Z,{icon:"unlink",imageUrl:p}),o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},o().createElement("h1",null,(0,s.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack-connection-ui"),{br:o().createElement("br",null)})),n&&o().createElement(o().Fragment,null,o().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-connection-ui")),o().createElement("p",null,o().createElement(u.Button,{isPrimary:!0,onClick:i,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-connection-ui"))),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack-connection-ui"))),!n&&o().createElement(o().Fragment,null,o().createElement("p",null,o().createElement(u.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection-ui"))))))};d.PropTypes={onExit:c().func,onProvideFeedback:c().func,canProvideFeedback:c().bool},t.Z=d},163:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(9307),c=n(5736),s=n(1415),a=n(5609),u=n(1268),l=n.n(u),p=n(3593);const __=c.__,d=e=>{const{title:t,isDisconnecting:n,onDisconnect:i,disconnectError:c,disconnectStepComponent:u,connectedPlugins:l,disconnectingPlugin:d,closeModal:g,context:m}=e;return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),o().createElement(p.Z,{connectedPlugins:l,disconnectingPlugin:d}),u,(()=>{if(!l&&!u)return o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-connection-ui"),o().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-connection-ui")))})()),o().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},o().createElement("div",{className:"jp-row"},o().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},o().createElement("p",null,(0,r.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack-connection-ui"),{strong:o().createElement("strong",null),jpConnectionInfoLink:o().createElement("a",{href:(0,s.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link"}),jpSupportLink:o().createElement("a",{href:(0,s.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link"})}))),o().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},o().createElement(a.Button,{isPrimary:!0,disabled:n,onClick:g,className:"jp-connection__disconnect-dialog__btn-dismiss"},__("Stay connected","jetpack-connection-ui")),(()=>{let e=__("Disconnect","jetpack-connection-ui");return n?e=__("Disconnecting…","jetpack-connection-ui"):"plugins"===m&&(e=__("Disconnect and Deactivate","jetpack-connection-ui")),o().createElement(a.Button,{isPrimary:!0,disabled:n,onClick:i,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),c&&o().createElement("p",{className:"jp-connection__disconnect-dialog__error"},c)))};d.propTypes={title:l().string,isDisconnecting:l().bool,onDisconnect:l().func,disconnectError:l().bool,disconnectStepComponent:l().elementType,connectedPlugins:l().array,disconnectingPlugin:l().string,closeModal:l().func,context:l().string},t.Z=d},4130:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(5736),a=(n(843),n(1194));const __=s.__,u=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:i}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-connection-ui")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-connection-ui")),o().createElement(a.Z,{onSubmit:n,isSubmittingFeedback:i}),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack-connection-ui")))};u.PropTypes={onExit:c().func,onFeedBackProvided:c().func,isSubmittingFeedback:c().bool},t.Z=u},5700:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(9697),a=n(5736),u=n(5609),l=n(9307),p=n(724);const __=a.__,d=e=>{const{onExit:t}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(s.Z,{format:"vertical",imageUrl:p}),o().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},o().createElement("h1",null,__("Thank you!","jetpack-connection-ui")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,l.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack-connection-ui"),{br:o().createElement("br",null)})),o().createElement(u.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection-ui"))))};d.PropTypes={onExit:c().func,assetBaseUrl:c().string},t.Z=d},1194:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(1268),c=n.n(r),s=n(5609),a=n(5736),u=n(7215);const __=a.__,l=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[r,c]=(0,i.useState)(),[a,l]=(0,i.useState)(),p=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-connection-ui")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-connection-ui")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-connection-ui")},{id:"buggy",answerText:__("It's buggy.","jetpack-connection-ui")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-connection-ui")}],d="another-reason",g=(0,i.useCallback)((()=>{t(r,r===d?a:"")}),[t,d,a,r]),m=(0,i.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),l(t)}),[l]),f=e=>e===r?"jp-connect__disconnect-survey-card--selected":"",h=(0,i.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":c(e)}}),[c]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},p.map((e=>o().createElement(u.Z,{id:e.id,onClick:c,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+f(e.id)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),o().createElement(u.Z,{id:d,onClick:c,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+f(d)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-connection-ui")," ",o().createElement("input",{placeholder:__("share your experience","jetpack-connection-ui"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:a,onChange:m,maxLength:1e3})))),o().createElement("p",null,o().createElement(s.Button,{disabled:!r||n,isPrimary:!0,onClick:g,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack-connection-ui"):__("Submit Feedback","jetpack-connection-ui",0))))};l.PropTypes={onSubmit:c().func,isSubmittingFeedback:c().bool},t.Z=l},7215:function(e,t,n){"use strict";var i=n(9196),o=n.n(i);n(843);t.Z=e=>{const{id:t,onClick:n,onKeyDown:r,children:c,className:s}=e,a=(0,i.useCallback)((()=>{n(t)}),[t,n]),u=(0,i.useCallback)((e=>{r(t,e)}),[t,r]);return o().createElement("div",{tabIndex:"0",role:"button",onClick:a,onKeyDown:u,className:"card jp-connect__disconnect-survey-card "+s},c)}},1631:function(e,t,n){"use strict";var i=n(9196),o=n(9818),r=n(9570),c=n(2199);t.Z=e=>{let{registrationNonce:t,redirectUri:n,apiRoot:s,apiNonce:a,autoTrigger:u,from:l}=e;const{registerSite:p,connectUser:d}=(0,o.useDispatch)(c.t),g=(0,o.useSelect)((e=>e(c.t).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:f,isRegistered:h,isUserConnected:y}=(0,o.useSelect)((e=>({siteIsRegistering:e(c.t).getSiteIsRegistering(),userIsConnecting:e(c.t).getUserIsConnecting(),...e(c.t).getConnectionStatus()}))),v=()=>d({from:l}),b=e=>{e&&e.preventDefault(),h?v():p({registrationNonce:t,redirectUri:n}).then((()=>{v()}))};return(0,i.useEffect)((()=>{r.ZP.setApiRoot(s),r.ZP.setApiNonce(a)}),[s,a]),(0,i.useEffect)((()=>{!u||m||f||b()}),[]),{handleRegisterSite:b,handleConnectUser:v,isRegistered:h,isUserConnected:y,siteIsRegistering:m,userIsConnecting:f,registrationError:g}}},6973:function(e,t,n){"use strict";n.d(t,{i6:function(){return i},LI:function(){return o},r7:function(){return r},N4:function(){return c},qV:function(){return s},T1:function(){return a},TS:function(){return u},ZP:function(){return y}});const i="SET_CONNECTION_STATUS",o="SET_CONNECTION_STATUS_IS_FETCHING",r="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",s="SET_REGISTRATION_ERROR",a="CLEAR_REGISTRATION_ERROR",u="SET_AUTHORIZATION_URL",l="CONNECT_USER",p=e=>({type:i,connectionStatus:e}),d=e=>({type:r,isRegistering:e}),g=e=>({type:c,isConnecting:e}),m=e=>({type:s,registrationError:e}),f=()=>({type:a}),h=e=>({type:u,authorizationUrl:e});const y={setConnectionStatus:p,setConnectionStatusIsFetching:e=>({type:o,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:d,setUserIsConnecting:g,setRegistrationError:m,clearRegistrationError:f,setAuthorizationUrl:h,registerSite:function*(e){let{registrationNonce:t,redirectUri:n}=e;yield f(),yield d(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield p({isRegistered:!0}),yield h(e.authorizeUrl),yield d(!1),Promise.resolve(e)}catch(e){return yield m(e),yield d(!1),Promise.reject(e)}},connectUser:function*(){let{from:e,redirectFunc:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield g(!0),yield{type:l,from:e,redirectFunc:t}}}},4213:function(e,t,n){"use strict";var i=n(9570),o=n(9818),r=n(2199);const c=(0,o.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((i,o)=>{t(r.t).getAuthorizationUrl().then((t=>{const o=n||(e=>window.location.assign(e)),r=new URL(t);e&&r.searchParams.set("from",encodeURIComponent(e));const c=r.toString();o(c),i(c)})).catch((e=>{o(e)}))}))}}));t.Z={FETCH_CONNECTION_STATUS:()=>new Promise(((e,t)=>{i.ZP.fetchSiteConnectionStatus().then((t=>e(t))).catch((e=>t(e)))})),FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return i.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return i.ZP.registerSite(t,n)},CONNECT_USER:c}},1147:function(e,t,n){"use strict";var i=n(9818),o=n(6973);const r=(0,i.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.i6?{...e,...t.connectionStatus}:e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case o.T1:return!1;case o.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===o.TS?t.authorizationUrl:e});t.Z=r},8310:function(e,t,n){"use strict";var i=n(9818),o=n(6973),r=n(2199);const c={*getConnectionStatus(){yield o.ZP.setConnectionStatusIsFetching(!0);const e=yield o.ZP.fetchConnectionStatus();return yield o.ZP.setConnectionStatusIsFetching(!1),o.ZP.setConnectionStatus(e)},getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,o=new Array(n>1?n-1:0),c=1;c<n;c++)o[c-1]=arguments[c];const s=(0,i.select)(r.t).hasFinishedResolution("getAuthorizationUrl",o);return t&&!s&&(0,i.dispatch)(r.t).finishResolution("getAuthorizationUrl",o),t},*fulfill(e){const t=yield o.ZP.fetchAuthorizationUrl(e);yield o.ZP.setAuthorizationUrl(t.authorizeUrl)}}};t.Z={...c}},387:function(e,t){"use strict";const n={getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:e=>e.connectionStatusIsFetching||!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1};t.Z=n},5333:function(e,t,n){"use strict";var i=n(7538),o=n.n(i),r=n(9818);class c{static mayBeInit(e,t){null===c.store&&(c.store=(0,r.createReduxStore)(e,t),(0,r.register)(c.store),c.resolveResolvers(e,t.initialState))}static resolveResolvers(e,t){t.connectionStatus&&t.connectionStatus.hasOwnProperty("isRegistered")&&(0,r.dispatch)(e).finishResolution("getConnectionStatus",[])}}o()(c,"store",null),t.Z=c},2199:function(e,t,n){"use strict";n.d(t,{t:function(){return u}});var i=n(1147),o=n(6973),r=n(387),c=n(5333),s=n(8310),a=n(4213);const u="jetpack-connection";c.Z.mayBeInit(u,{reducer:i.Z,actions:o.ZP,selectors:r.Z,resolvers:s.Z,controls:a.Z,initialState:window.JP_CONNECTION_INITIAL_STATE||{}})},8509:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(9818),c=n(5736),s=n(9570),a=n(7132),u=n(1213),l=n(2199),p=n(682),d=n(8547);const __=c.__;t.Z=(0,r.withSelect)((e=>({connectionStatus:e(l.t).getConnectionStatus()})))((e=>{const t=(0,r.useSelect)((e=>e(p.t).getAPINonce()),[]),n=(0,r.useSelect)((e=>e(p.t).getAPIRoot()),[]),c=(0,r.useSelect)((e=>e(p.t).getRegistrationNonce()),[]),{hasIDC:l,canManageConnection:g,isSafeModeConfirmed:m}=(0,r.useSelect)((e=>e(p.t).getIDCData()),[]),{connectionStatus:f}=e;return(0,i.useEffect)((()=>{s.ZP.setApiRoot(n),s.ZP.setApiNonce(t)}),[n,t]),o().createElement(o().Fragment,null,(!l||m)&&o().createElement(d.Z,null),(!l||m)&&g&&f.isRegistered&&o().createElement(a.Z,{apiRoot:n,apiNonce:t,redirectUri:"tools.php?page=wpcom-connection-manager"}),(!l||m)&&g&&!f.isRegistered&&o().createElement(u.Z,{connectionStatus:f,apiRoot:n,apiNonce:t,registrationNonce:c,from:"connection-ui",redirectUri:"tools.php?page=wpcom-connection-manager",pricingIcon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.092 15.164.019-1.703v-.039c0-1.975-1.803-3.866-4.4-3.866-2.17 0-3.828 1.351-4.274 2.943l-.426 1.524-1.581-.065a2.92 2.92 0 0 0-.12-.002c-1.586 0-2.977 1.344-2.977 3.133 0 1.787 1.388 3.13 2.973 3.133H22.399c1.194 0 2.267-1.016 2.267-2.4 0-1.235-.865-2.19-1.897-2.368l-1.677-.29Zm-10.58-3.204a4.944 4.944 0 0 0-.201-.004c-2.75 0-4.978 2.298-4.978 5.133s2.229 5.133 4.978 5.133h12.088c2.357 0 4.267-1.97 4.267-4.4 0-2.18-1.538-3.99-3.556-4.339v-.06c0-3.24-2.865-5.867-6.4-5.867-2.983 0-5.49 1.871-6.199 4.404Z' fill='%23000'/%3E%3C/svg%3E",priceBefore:9,priceAfter:4.5,pricingTitle:__("Jetpack Backup","jetpack-connection-ui"),buttonLabel:__("Get Jetpack Backup","jetpack-connection-ui")},o().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack-connection-ui")),o().createElement("ul",null,o().createElement("li",null,__("Measure your impact with beautiful stats","jetpack-connection-ui")),o().createElement("li",null,__("Speed up your site with optimized images","jetpack-connection-ui")),o().createElement("li",null,__("Protect your site against bot attacks","jetpack-connection-ui")),o().createElement("li",null,__("Get notifications if your site goes offline","jetpack-connection-ui")),o().createElement("li",null,__("Enhance your site with dozens of other features","jetpack-connection-ui")))),(!l||m)&&!g&&o().createElement("p",null,"You need to be an admin to access this page."))}))},8547:function(e,t,n){"use strict";var i=n(9196),o=n.n(i),r=n(5736);const __=r.__;t.Z=()=>o().createElement("div",{className:"jetpack-cui__header"},o().createElement("h1",null,__("Connection Manager","jetpack-connection-ui")))},5472:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},3379:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},2310:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},4665:function(e,t,n){"use strict";var i=n(9818),o=n(5472),r=n(3379),c=n(2310);const s=(0,i.combineReducers)({API:o.Z,assets:r.Z,IDC:c.Z});t.Z=s},6931:function(e,t){"use strict";t.Z={getAPIRoot:e=>e.API.WP_API_root||null,getAPINonce:e=>e.API.WP_API_nonce||null,getRegistrationNonce:e=>e.API.registrationNonce||null}},4447:function(e,t){"use strict";t.Z={getAssetBuildUrl:e=>e.assets.buildUrl||null}},9546:function(e,t){"use strict";t.Z={getIDCData:e=>e.IDC||{}}},246:function(e,t,n){"use strict";var i=n(6931),o=n(4447),r=n(9546);const c={...i.Z,...o.Z,...r.Z};t.Z=c},682:function(e,t,n){"use strict";n.d(t,{t:function(){return r},i:function(){return c}});var i=n(4665),o=n(246);const r="jetpack-connection-ui",c={reducer:i.Z,selectors:o.Z,initialState:window.CUI_INITIAL_STATE||{}}},1043:function(e,t,n){"use strict";var i=n(1625),o=n(9196);t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,r=o.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=r[0];var c=r[1];return r=e.value,e.getCurrentValue===t&&e.subscribe===n||(r=t(),c({getCurrentValue:t,subscribe:n,value:r})),o.useDebugValue(r),o.useEffect((function(){function e(){if(!o){var e=t();c((function(o){return o.getCurrentValue!==t||o.subscribe!==n||o.value===e?o:i({},o,{value:e})}))}}var o=!1,r=n(e);return e(),function(){o=!0,r()}}),[t,n]),r}},36:function(e,t,n){"use strict";e.exports=n(1043)},2042:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:function(e,t,n){"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},5609:function(e){"use strict";e.exports=window.wp.components},4333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},6483:function(e){"use strict";e.exports=window.wp.url},8134:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}n.d(t,{Z:function(){return i}})},4316:function(e,t,n){"use strict";function i(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return i}})},7024:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(8134);function o(e){if(Array.isArray(e))return(0,i.Z)(e)}},5200:function(e,t,n){"use strict";function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return i}})},1687:function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return i}})},3772:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}n.d(t,{Z:function(){return o}})},9057:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(2406),o=n(8189),r=n(4621);function c(e){var t=(0,o.Z)();return function(){var n,o=(0,i.Z)(e);if(t){var c=(0,i.Z)(this).constructor;n=Reflect.construct(o,arguments,c)}else n=o.apply(this,arguments);return(0,r.Z)(this,n)}}},8086:function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return i}})},5672:function(e,t,n){"use strict";function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i.apply(this,arguments)}n.d(t,{Z:function(){return i}})},2406:function(e,t,n){"use strict";function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}n.d(t,{Z:function(){return i}})},2104:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(3051);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,i.Z)(e,t)}},8189:function(e,t,n){"use strict";function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return i}})},613:function(e,t,n){"use strict";function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return i}})},120:function(e,t,n){"use strict";function i(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r=[],_n=!0,c=!1;try{for(n=n.call(e);!(_n=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(e){c=!0,o=e}finally{try{_n||null==n.return||n.return()}finally{if(c)throw o}}return r}}n.d(t,{Z:function(){return i}})},1722:function(e,t,n){"use strict";function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return i}})},6083:function(e,t,n){"use strict";function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return i}})},2141:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(8086);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach((function(t){(0,i.Z)(e,t,n[t])}))}return e}},9591:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(8086);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},4621:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(9504),o=n(5200);function r(e,t){if(t&&("object"===(0,i.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},3051:function(e,t,n){"use strict";function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}n.d(t,{Z:function(){return i}})},572:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(4316),o=n(120),r=n(3611),c=n(1722);function s(e,t){return(0,i.Z)(e)||(0,o.Z)(e,t)||(0,r.Z)(e,t)||(0,c.Z)()}},9128:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(7024),o=n(613),r=n(3611),c=n(6083);function s(e){return(0,i.Z)(e)||(0,o.Z)(e)||(0,r.Z)(e)||(0,c.Z)()}},9504:function(e,t,n){"use strict";function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}n.d(t,{Z:function(){return i}})},3611:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(8134);function o(e,t){if(e){if("string"==typeof e)return(0,i.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,i.Z)(e,t):void 0}}}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");i.length&&(e=i[i.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),function(){"use strict";var e=n(1850),t=n.n(e),i=n(9196),o=n.n(i),r=n(9818),c=n(8509),s=n(682);const a=(0,r.createReduxStore)(s.t,s.i);(0,r.register)(a),function(){const e=document.getElementById("jetpack-connection-ui-container");null!==e&&t().render(o().createElement(c.Z,null),e)}()}()}(); \ No newline at end of file
+__("Icon for the product %s","jetpack-connection-ui"),e.title)})),o().createElement("h1",{className:"jp-components__pricing-card__title"},e.title),o().createElement("div",{className:"jp-components__pricing-card__pricing"},e.priceBefore!==e.priceAfter&&o().createElement("div",{className:"jp-components__pricing-card__price-before"},o().createElement("span",{className:"jp-components__pricing-card__currency"},n.symbol),o().createElement("span",{className:"jp-components__pricing-card__price"},n.integer),u(n)&&o().createElement("span",{className:"jp-components__pricing-card__price-decimal"}," ",n.fraction),o().createElement("div",{className:"jp-components__pricing-card__price-strikethrough"})),o().createElement("div",{className:"jp-components__pricing-card__price-after"},o().createElement("span",{className:"jp-components__pricing-card__currency"},t.symbol),o().createElement("span",{className:"jp-components__pricing-card__price"},t.integer),u(t)&&o().createElement("span",{className:"jp-components__pricing-card__price-decimal"},t.fraction)),o().createElement("span",{className:"jp-components__pricing-card__price-details"},e.priceDetails)),e.children&&o().createElement("div",{className:"jp-components__pricing-card__extra-content-wrapper"},e.children),e.ctaText&&o().createElement("div",{className:"jp-components__pricing-card__cta"},o().createElement(s.Button,{className:"jp-components__pricing-card__button",label:e.ctaText,onClick:e.onCtaClick},e.ctaText)),e.infoText&&o().createElement("div",{className:"jp-components__pricing-card__info"},e.infoText))};p.propTypes={title:r().string.isRequired,icon:r().string,priceBefore:r().number.isRequired,priceAfter:r().number.isRequired,priceDetails:r().string,currencyCode:r().string,ctaText:r().string,onCtaClick:r().func,infoText:r().oneOfType([r().string,r().object])},p.defaultProps={currencyCode:"USD",priceDetails:__("/month, paid yearly","jetpack-connection-ui")},n.Z=p},6017:function(e,n,t){"use strict";t.d(n,{h:function(){return i},s:function(){return o}});const i={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p",label:"p"},o=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:function(e,n,t){"use strict";t.d(n,{H3:function(){return d}});var i=t(2402),o=t.n(i),c=t(9196),r=t.n(c),s=t(5235),a=t.n(s),l=t(3280),u=t(6017);const p=e=>{let{variant:n="body",children:t,component:i,className:s,...p}=e;const d=i||u.h[n]||"span",g=(0,c.useMemo)((()=>u.s.reduce(((e,n)=>(void 0!==p[n]&&(e+=l.Z[`${n}-${p[n]}`]+" ",delete p[n]),e)),"")),[p]);return r().createElement(d,o()({className:a()(l.Z.reset,l.Z[n],s,g)},p),t)};n.ZP=p;const d=e=>{let{children:n,weight:t="bold",...i}=e;const c="headline-small"+("bold"===t?"":`-${t}`);return r().createElement(p,o()({variant:c,mb:3},i),n)}},9922:function(e,n,t){"use strict";function i(e,n,t,i){const o=new URL("https://wordpress.com/checkout/"),c=new URL(`${o}${n}/${e}`);return c.searchParams.set("redirect_to",t),i||c.searchParams.set("unlinked",1),c.searchParams.set("site",n),c.toString()}t.d(n,{Z:function(){return i}})},6324:function(e,n,t){"use strict";function i(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const t={};let i;var o;"undefined"!=typeof window&&(i=null===(o=window.Initial_State)||void 0===o?void 0:o.calypsoEnv);if(0===e.search("https://")){const n=new URL(e);e=`https://${n.host}${n.pathname}`,t.url=encodeURIComponent(e)}else t.source=encodeURIComponent(e);Object.keys(n).map((e=>{t[e]=encodeURIComponent(n[e])})),!Object.keys(t).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(t.site=jetpack_redirects.currentSiteRawUrl),i&&(t.calypso_env=i);const c=Object.keys(t).map((e=>e+"="+t[e])).join("&");return"https://jetpack.com/redirect/?"+c}t.d(n,{Z:function(){return i}})},1132:function(e,n,t){let i={};try{i=t(Object(function(){var e=new Error("Cannot find module 'jetpackConfig'");throw e.code="MODULE_NOT_FOUND",e}()))}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),i={missingConfig:!0}}const o=e=>i.hasOwnProperty(e);e.exports={jetpackConfigHas:o,jetpackConfigGet:e=>{if(!o(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 i[e]}}},2458:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c);const s=e=>{const{images:n,assetBaseUrl:t}=e;if(!n.length)return null;const i=n.map(((e,n)=>o().createElement(o().Fragment,{key:n},o().createElement("img",{src:t+e,alt:""}))));return o().createElement("div",{className:"jp-connection__connect-screen__image-slider"},i)};s.propTypes={images:r().arrayOf(r().string).isRequired,assetBaseUrl:r().string},s.defaultProps={assetBaseUrl:""},n.Z=s},8524:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(1202),a=t(2458);t(9610);const l=e=>{const{title:n,children:t,className:i,assetBaseUrl:c,images:r}=e,l=null==r?void 0:r.length;return o().createElement("div",{className:"jp-connection__connect-screen-layout"+(l?" jp-connection__connect-screen-layout__two-columns":"")+(i?" "+i:"")},o().createElement("div",{className:"jp-connection__connect-screen-layout__left"},o().createElement(s.Z,null),o().createElement("h2",null,n),t),l?o().createElement("div",{className:"jp-connection__connect-screen-layout__right"},o().createElement(a.Z,{images:r,assetBaseUrl:c})):null)};l.propTypes={title:r().string,className:r().string,images:r().arrayOf(r().string),assetBaseUrl:r().string},n.Z=l},7710:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(5736),a=t(4082),l=t(1294),u=t(8258);const __=s.__,p=e=>{const{title:n,autoTrigger:t,buttonLabel:i,apiRoot:c,apiNonce:r,registrationNonce:s,from:p,redirectUri:d,children:g,priceBefore:m,priceAfter:f,pricingIcon:h,pricingTitle:y,pricingCurrencyCode:b,wpcomProductSlug:_,siteProductAvailabilityHandler:k}=e,{handleRegisterSite:v,isRegistered:C,isUserConnected:E,siteIsRegistering:j,userIsConnecting:w,registrationError:S}=(0,l.Z)({registrationNonce:s,redirectUri:d,apiRoot:c,apiNonce:r,autoTrigger:t,from:p}),N=_||"",{run:P,hasCheckoutStarted:R}=(0,u.Z)({productSlug:N,redirectUrl:d,siteProductAvailabilityHandler:k,from:p}),T=!C||!E,I=Boolean(S),U=j||w||R,Z=N?P:v;return o().createElement(a.Z,{title:n,buttonLabel:i,priceBefore:m,priceAfter:f,pricingIcon:h,pricingTitle:y,pricingCurrencyCode:b,handleButtonClick:Z,showConnectButton:T,displayButtonError:I,buttonIsLoading:U},g)};p.propTypes={title:r().string,buttonLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,registrationNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,autoTrigger:r().bool,pricingTitle:r().string.isRequired,icon:r().string,priceBefore:r().number.isRequired,priceAfter:r().number.isRequired,pricingCurrencyCode:r().string,wpcomProductSlug:r().string,checkSiteHasWpcomProduct:r().func},p.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack-connection-ui"),buttonLabel:__("Set up Jetpack","jetpack-connection-ui"),pricingCurrencyCode:"USD",autoTrigger:!1},n.Z=p},4082:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(5736),a=t(6324),l=t(7121),u=t(667),p=t(9307),d=t(8524);t(2917);const __=s.__,g=e=>{const{title:n,buttonLabel:t,children:i,priceBefore:c,priceAfter:r,pricingIcon:s,pricingTitle:g,pricingCurrencyCode:m,isLoading:f,handleButtonClick:h,showConnectButton:y,displayButtonError:b,buttonIsLoading:_}=e,k=(0,p.createInterpolateElement)(__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack-connection-ui"),{tosLink:o().createElement("a",{href:(0,a.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:o().createElement("a",{href:(0,a.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),v=(0,p.createInterpolateElement)(__("Already have a subscription? <connectButton/>","jetpack-connection-ui"),{connectButton:o().createElement(l.Z,{label:__("Log in to get started","jetpack-connection-ui"),onClick:h,isLoading:_})});return o().createElement(d.Z,{title:n,className:"jp-connection__connect-screen-required-plan"+(f?" jp-connection__connect-screen-required-plan__loading":"")},o().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},i,o().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},o().createElement(u.Z,{title:g,icon:s,priceBefore:c,currencyCode:m,priceAfter:r,infoText:y?k:""},y&&o().createElement(l.Z,{label:t,onClick:h,displayError:b,isLoading:_}))),y&&o().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},v)))};g.propTypes={pricingTitle:r().string.isRequired,priceBefore:r().number.isRequired,priceAfter:r().number.isRequired,pricingCurrencyCode:r().string,title:r().string,buttonLabel:r().string,pricingIcon:r().string,isLoading:r().bool,handleButtonClick:r().func,showConnectButton:r().bool,displayButtonError:r().bool,buttonIsLoading:r().bool},g.defaultProps={pricingCurrencyCode:"USD",showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{}},n.Z=g},9625:function(e,n,t){"use strict";var i=t(9196),o=t(5162),c=t.n(o),r=t(4743);const s=e=>{const{redirectFunc:n,connectUrl:t,redirectUri:o,from:c}=e,[s,a]=(0,i.useState)(null);return t&&t!==s&&a(t),(0,i.useEffect)((()=>{s||r.ZP.fetchAuthorizationUrl(o).then((e=>a(e.authorizeUrl))).catch((e=>{throw e}))}),[]),s?(n(s+(c?(s.includes("?")?"&":"?")+"from="+encodeURIComponent(c):"")),null):null};s.propTypes={connectUrl:c().string,redirectUri:c().string.isRequired,from:c().string,redirectFunc:c().func},s.defaultProps={redirectFunc:e=>window.location.assign(e),redirectUri:null},n.Z=s},7879:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(5736),a=t(4322);const __=s.__,l=e=>{const{connectedPlugins:n,disconnectingPlugin:t}=e,c=(0,i.useMemo)((()=>{if(n){return Object.keys(n).map((e=>Object.assign({slug:e},n[e]))).filter((e=>t!==e.slug))}return[]}),[n,t]);return n&&c.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-connection-ui"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},c.map((e=>o().createElement(a.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:r().array,disconnectingPlugin:r().string},n.Z=l},9159:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5736),r=t(5162),s=t.n(r),a=t(4743),l=t(5106),u=t(526),p=t(9818),d=t(9625),g=t(6168),m=t(428),f=t(1294);t(2427);const __=c.__,h=e=>{var n,t,c,r;const{apiRoot:s,apiNonce:h,redirectUri:y,title:b,connectionInfoText:_,onDisconnected:k,connectedPlugins:v,connectedSiteId:C,context:E,onConnectUser:j,requiresUserConnection:w}=e,{isRegistered:S,isUserConnected:N,userConnectionData:P,hasConnectedOwner:R}=(0,f.Z)({apiRoot:s,apiNonce:h}),T=w&&!R,I=(0,i.useRef)(),U=null===(n=P.currentUser)||void 0===n||null===(t=n.wpcomUser)||void 0===t?void 0:t.avatar;(0,i.useEffect)((()=>{U&&(I.current.style.backgroundImage=`url('${U}')`)}),[U]);const[Z,O]=(0,i.useState)(!1),D=(0,p.useSelect)((e=>e(m.t).getUserIsConnecting()),[]),{setConnectionStatus:x,setUserIsConnecting:F}=(0,p.useDispatch)(m.t),A=j||F;(0,i.useEffect)((()=>{a.ZP.setApiRoot(s),a.ZP.setApiNonce(h)}),[s,h]);const L=(0,i.useCallback)((e=>{e&&e.preventDefault(),O(!0)}),[O]),B=(0,i.useCallback)((e=>{e&&e.preventDefault(),O(!1)}),[O]),$=(0,i.useCallback)((e=>{e&&e.preventDefault(),x({isActive:!1,isRegistered:!1,isUserConnected:!1}),k&&"[object Function]"==={}.toString.call(k)&&k()}),[k,x]);return S?o().createElement("div",{className:"jp-connection-status-card"},o().createElement(l.H3,null,b),o().createElement(l.ZP,{variant:"body"},_),o().createElement("div",{className:"jp-connection-status-card--status"},o().createElement("div",{className:"jp-connection-status-card--cloud"}),o().createElement("div",{className:"jp-connection-status-card--line"+(N?"":" jp-connection-status-card--site-only")}),o().createElement("div",{className:"jp-connection-status-card--jetpack-logo"}),o().createElement("div",{className:"jp-connection-status-card--avatar",ref:I})),o().createElement("ul",{className:"jp-connection-status-card--list"},o().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Site connected.","jetpack-connection-ui")," ",o().createElement(u.Z,{variant:"link",weight:"regular",onClick:L,className:"jp-connection__disconnect-dialog__link"},__("Disconnect","jetpack-connection-ui")),o().createElement(g.Z,{apiRoot:s,apiNonce:h,onDisconnected:$,connectedPlugins:v,connectedSiteId:C,connectedUser:P,isOpen:Z,onClose:B,context:E})),N&&o().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Logged in as","jetpack-connection-ui")," ",null===(c=P.currentUser)||void 0===c||null===(r=c.wpcomUser)||void 0===r?void 0:r.display_name),(!N||!R)&&o().createElement("li",{className:"jp-connection-status-card--list-item-"+(T?"error":"info")},T&&__("Requires user connection.","jetpack-connection-ui")," ",o().createElement(u.Z,{variant:"link",disabled:D,onClick:A,className:"jp-connection-status-card--btn-connect-user"},__("Connect your user account","jetpack-connection-ui")))),D&&o().createElement(d.Z,{redirectUri:y})):null};h.propTypes={apiRoot:s().string.isRequired,apiNonce:s().string.isRequired,redirectUri:s().string,connectedPlugins:s().array,connectedSiteId:s().number,title:s().string,connectionInfoText:s().string,onDisconnected:s().func,context:s().string,onConnectUser:s().func,requiresUserConnection:s().bool},h.defaultProps={title:__("Connection","jetpack-connection-ui"),connectionInfoText:__("Leverages the cloud for more powerful Jetpack features.","jetpack-connection-ui"),redirectUri:null,onConnectUser:null,requiresUserConnection:!0},n.Z=h},4322:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c);t(4220);const s=e=>{const{title:n,value:t,description:i}=e;return o().createElement("div",{className:"jp-connection__disconnect-card card"},o().createElement("div",{className:"jp-connection__disconnect-card__card-content"},o().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},n),(t||i)&&o().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},o().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},t),o().createElement("div",{className:"jp-connection__disconnect-card__card-description"},i))))};s.propTypes={title:r().string,value:r().oneOfType([r().string,r().number]),description:r().number},n.Z=s},6168:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(5736),a=t(5609),l=t(4743),u=t(6975),p=t(1132),d=(t(287),t(9015)),g=t(5995),m=t(1702),f=t(1166);const __=s.__,h=e=>{const[n,t]=(0,i.useState)(!1),[c,r]=(0,i.useState)(!1),[s,h]=(0,i.useState)(!1),[y,b]=(0,i.useState)(!1),[_,k]=(0,i.useState)(!1),[v,C]=(0,i.useState)(!1),{apiRoot:E,apiNonce:j,connectedPlugins:w,title:S,pluginScreenDisconnectCallback:N,onDisconnected:P,onError:R,disconnectStepComponent:T,context:I,connectedUser:U,connectedSiteId:Z,isOpen:O,onClose:D}=e;let x="";(0,p.jetpackConfigHas)("consumer_slug")&&(x=(0,p.jetpackConfigGet)("consumer_slug"));const F=(0,i.useMemo)((()=>({context:I,plugin:x})),[I,x]);(0,i.useEffect)((()=>{l.ZP.setApiRoot(E),l.ZP.setApiNonce(j)}),[E,j]),(0,i.useEffect)((()=>{U&&U.ID&&U.login&&u.Z.initialize(U.ID,U.login)}),[U,U.ID,U.login]),(0,i.useEffect)((()=>{O&&u.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",F)}),[O,F]),(0,i.useEffect)((()=>{O&&(c?!c||y||_?y&&!_?u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},F)):_&&u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},F)):u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},F)):u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},F)))}),[O,c,y,_,F]);const A=(0,i.useCallback)((()=>{l.ZP.disconnectSite().then((()=>{t(!1),r(!0)})).catch((e=>{t(!1),h(e),R&&R(e)}))}),[t,r,h,R]),L=(0,i.useCallback)(((e,n)=>{C(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);u.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",n),k(!0),C(!1)})).catch((e=>{u.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},n)),k(!0),C(!1)}))}),[C,k]),B=(0,i.useCallback)((e=>{e&&e.preventDefault(),h(!1),t(!0),"plugins"!==I?A():N&&N(e)}),[h,t,N,I,A]),$=(0,i.useCallback)((e=>u.Z.tracks.recordEvent(e,F)),[F]),M=(0,i.useCallback)((()=>U.ID&&Z),[U,Z]),J=(0,i.useCallback)(((e,n,t)=>{if(t&&t.preventDefault(),!M())return void k(!0);const i={site_id:Z,user_id:U.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:n||null}}},o=Object.assign({},F,{disconnect_reason:e});L(i,o)}),[L,k,M,Z,U,F]),z=(0,i.useCallback)((e=>{e&&e.preventDefault(),P&&P(),D()}),[P,D]),q=(0,i.useCallback)((e=>{e&&e.preventDefault(),b(!0)}),[b]);return o().createElement(o().Fragment,null,O&&o().createElement(a.Modal,{title:"",contentLabel:S,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:D,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(c?" jp-connection__disconnect-dialog__success":"")},c?!c||y||_?y&&!_?o().createElement(m.Z,{isSubmittingFeedback:v,onFeedBackProvided:J,onExit:z}):_?o().createElement(f.Z,{onExit:z}):void 0:o().createElement(g.Z,{canProvideFeedback:M(),onProvideFeedback:q,onExit:z}):o().createElement(d.Z,{title:S,connectedPlugins:w,disconnectStepComponent:T,isDisconnecting:n,closeModal:D,onDisconnect:B,disconnectError:s,context:I,disconnectingPlugin:x,trackModalClick:$})))};h.propTypes={apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,title:r().string,onDisconnected:r().func,onError:r().func,context:r().string,connectedPlugins:r().oneOfType([r().array,r().object]),pluginScreenDisconnectCallback:r().func,disconnectStepComponent:r().element,connectedUser:r().object,connectedSiteId:r().number,isOpen:r().bool,onClose:r().func},h.defaultProps={title:__("Are you sure you want to disconnect?","jetpack-connection-ui"),context:"jetpack-dashboard",connectedUser:{}},n.Z=h},5995:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(9307),a=t(5736),l=t(5609),u=t(1133),p=t(2042);const __=a.__,d=e=>{const{onExit:n,canProvideFeedback:t,onProvideFeedback:i}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(u.Z,{icon:"unlink",imageUrl:p}),o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},o().createElement("h1",null,(0,s.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack-connection-ui"),{br:o().createElement("br",null)})),t&&o().createElement(o().Fragment,null,o().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-connection-ui")),o().createElement("p",null,o().createElement(l.Button,{variant:"primary",onClick:i,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-connection-ui"))),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:n},__("No thank you","jetpack-connection-ui"))),!t&&o().createElement(o().Fragment,null,o().createElement("p",null,o().createElement(l.Button,{variant:"primary",onClick:n,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection-ui"))))))};d.propTypes={onExit:r().func,onProvideFeedback:r().func,canProvideFeedback:r().bool},n.Z=d},9015:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(9307),r=t(5736),s=t(6324),a=t(5609),l=t(5162),u=t.n(l),p=t(7879);const __=r.__,d=e=>{const{title:n,isDisconnecting:t,onDisconnect:r,disconnectError:l,disconnectStepComponent:u,connectedPlugins:d,disconnectingPlugin:g,closeModal:m,context:f,trackModalClick:h}=e,y=(0,i.useCallback)((()=>h("jetpack_disconnect_dialog_click_learn_about")),[h]),b=(0,i.useCallback)((()=>h("jetpack_disconnect_dialog_click_support")),[h]),_=(0,i.useCallback)((()=>{h("jetpack_disconnect_dialog_click_stay_connected"),m()}),[h,m]),k=(0,i.useCallback)((e=>{h("jetpack_disconnect_dialog_click_disconnect"),r(e)}),[h,r]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},n),o().createElement(p.Z,{connectedPlugins:d,disconnectingPlugin:g}),u,(()=>{if(!(d&&Object.keys(d).filter((e=>e!==g)).length)&&!u)return o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-connection-ui"),o().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-connection-ui")))})()),o().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},o().createElement("div",{className:"jp-row"},o().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},o().createElement("p",null,(0,c.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack-connection-ui"),{strong:o().createElement("strong",null),jpConnectionInfoLink:o().createElement("a",{href:(0,s.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:y}),jpSupportLink:o().createElement("a",{href:(0,s.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:b})}))),o().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},o().createElement(a.Button,{variant:"primary",disabled:t,onClick:_,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===f?__("Cancel","jetpack-connection-ui"):__("Stay connected","jetpack-connection-ui",0)),(()=>{let e=__("Disconnect","jetpack-connection-ui");return t?e=__("Disconnecting…","jetpack-connection-ui"):"plugins"===f&&(e=__("Deactivate","jetpack-connection-ui")),o().createElement(a.Button,{variant:"primary",disabled:t,onClick:k,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),l&&o().createElement("p",{className:"jp-connection__disconnect-dialog__error"},l)))};d.propTypes={title:u().string,isDisconnecting:u().bool,onDisconnect:u().func,disconnectError:u().bool,disconnectStepComponent:u().elementType,connectedPlugins:u().array,disconnectingPlugin:u().string,closeModal:u().func,context:u().string,trackModalClick:u().func},n.Z=d},1702:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(5736),a=(t(9823),t(6336));const __=s.__,l=e=>{const{onExit:n,onFeedBackProvided:t,isSubmittingFeedback:i}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-connection-ui")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-connection-ui")),o().createElement(a.Z,{onSubmit:t,isSubmittingFeedback:i}),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:n},__("Skip for now","jetpack-connection-ui")))};l.PropTypes={onExit:r().func,onFeedBackProvided:r().func,isSubmittingFeedback:r().bool},n.Z=l},1166:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(1133),a=t(5736),l=t(5609),u=t(9307),p=t(724);const __=a.__,d=e=>{const{onExit:n}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(s.Z,{format:"vertical",imageUrl:p}),o().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},o().createElement("h1",null,__("Thank you!","jetpack-connection-ui")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,u.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack-connection-ui"),{br:o().createElement("br",null)})),o().createElement(l.Button,{variant:"primary",onClick:n,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection-ui"))))};d.PropTypes={onExit:r().func,assetBaseUrl:r().string},n.Z=d},6336:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5162),r=t.n(c),s=t(5609),a=t(5736),l=t(4372);const __=a.__,u=e=>{const{onSubmit:n,isSubmittingFeedback:t}=e,[c,r]=(0,i.useState)(),[a,u]=(0,i.useState)(),p=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-connection-ui")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-connection-ui")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-connection-ui")},{id:"buggy",answerText:__("It's buggy.","jetpack-connection-ui")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-connection-ui")}],d="another-reason",g=(0,i.useCallback)((()=>{n(c,c===d?a:"")}),[n,d,a,c]),m=(0,i.useCallback)((e=>{const n=e.target.value;e.stopPropagation(),u(n)}),[u]),f=e=>e===c?"jp-connect__disconnect-survey-card--selected":"",h=(0,i.useCallback)(((e,n)=>{switch(n.key){case"Enter":case"Space":case"Spacebar":case" ":r(e)}}),[r]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},p.map((e=>o().createElement(l.Z,{id:e.id,onClick:r,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+f(e.id)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),o().createElement(l.Z,{id:d,onClick:r,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+f(d)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-connection-ui")," ",o().createElement("input",{placeholder:__("share your experience","jetpack-connection-ui"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:a,onChange:m,maxLength:1e3})))),o().createElement("p",null,o().createElement(s.Button,{disabled:!c||t,variant:"primary",onClick:g,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},t?__("Submitting…","jetpack-connection-ui"):__("Submit Feedback","jetpack-connection-ui",0))))};u.PropTypes={onSubmit:r().func,isSubmittingFeedback:r().bool},n.Z=u},4372:function(e,n,t){"use strict";var i=t(9196),o=t.n(i);t(9823);n.Z=e=>{const{id:n,onClick:t,onKeyDown:c,children:r,className:s}=e,a=(0,i.useCallback)((()=>{t(n)}),[n,t]),l=(0,i.useCallback)((e=>{c(n,e)}),[n,c]);return o().createElement("div",{tabIndex:"0",role:"button",onClick:a,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+s},r)}},1294:function(e,n,t){"use strict";var i,o=t(9196),c=t(9818),r=t(4743),s=t(428);const a=null!==(i=window)&&void 0!==i&&i.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};n.Z=function(){let{registrationNonce:e=a.registrationNonce,apiRoot:n=a.apiRoot,apiNonce:t=a.apiNonce,redirectUri:i,autoTrigger:l,from:u,skipUserConnection:p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:d,connectUser:g,refreshConnectedPlugins:m}=(0,c.useDispatch)(s.t),f=(0,c.useSelect)((e=>e(s.t).getRegistrationError())),{siteIsRegistering:h,userIsConnecting:y,userConnectionData:b,connectedPlugins:_,isRegistered:k,isUserConnected:v,hasConnectedOwner:C}=(0,c.useSelect)((e=>({siteIsRegistering:e(s.t).getSiteIsRegistering(),userIsConnecting:e(s.t).getUserIsConnecting(),userConnectionData:e(s.t).getUserConnectionData(),connectedPlugins:e(s.t).getConnectedPlugins(),...e(s.t).getConnectionStatus()}))),E=()=>{p?i&&(window.location=i):g({from:u,redirectUri:i})},j=n=>{n&&n.preventDefault(),k?E():d({registrationNonce:e,redirectUri:i}).then((()=>{E()}))};return(0,o.useEffect)((()=>{r.ZP.setApiRoot(n),r.ZP.setApiNonce(t)}),[n,t]),(0,o.useEffect)((()=>{!l||h||y||j()}),[]),{handleRegisterSite:j,handleConnectUser:E,refreshConnectedPlugins:m,isRegistered:k,isUserConnected:v,siteIsRegistering:h,userIsConnecting:y,registrationError:f,userConnectionData:b,hasConnectedOwner:C,connectedPlugins:_}}},8258:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var i,o=t(9196),c=t(9818),r=t(4743),s=t(9922),a=t(428),l=t(1294);const{registrationNonce:u,apiRoot:p,apiNonce:d,siteSuffix:g}=null!==(i=window)&&void 0!==i&&i.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function m(){let{productSlug:e,redirectUrl:n,siteSuffix:t=g,siteProductAvailabilityHandler:i=null,from:m}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[f,h]=(0,o.useState)(!1),{registerSite:y}=(0,c.useDispatch)(a.t),{isUserConnected:b,isRegistered:_,handleConnectUser:k}=(0,l.Z)({redirectUri:n,from:m}),v=(0,s.Z)(e,t,n,b),C=()=>Promise.resolve(i&&i()).then((e=>{if(e)return k();window.location.href=v})),E=e=>{if(e&&e.preventDefault(),h(!0),_)return C();y({registrationNonce:u,redirectUri:n}).then(C)};return(0,o.useEffect)((()=>{r.ZP.setApiRoot(p),r.ZP.setApiNonce(d)}),[]),{run:E,isRegistered:_,hasCheckoutStarted:f}}},7523:function(e,n,t){"use strict";t.d(n,{LI:function(){return c},N4:function(){return s},T1:function(){return l},TS:function(){return u},ZP:function(){return k},i6:function(){return o},qV:function(){return a},r7:function(){return r},wQ:function(){return d}});var i=t(4743);const o="SET_CONNECTION_STATUS",c="SET_CONNECTION_STATUS_IS_FETCHING",r="SET_SITE_IS_REGISTERING",s="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",u="SET_AUTHORIZATION_URL",p="CONNECT_USER",d="SET_CONNECTED_PLUGINS",g=e=>({type:o,connectionStatus:e}),m=e=>({type:r,isRegistering:e}),f=e=>({type:s,isConnecting:e}),h=e=>({type:a,registrationError:e}),y=()=>({type:l}),b=e=>({type:u,authorizationUrl:e}),_=e=>({type:d,connectedPlugins:e});const k={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:c,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:m,setUserIsConnecting:f,setRegistrationError:h,clearRegistrationError:y,setAuthorizationUrl:b,registerSite:function*(e){let{registrationNonce:n,redirectUri:t}=e;yield y(),yield m(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:n,redirectUri:t};return yield g({isRegistered:!0}),yield b(e.authorizeUrl),yield m(!1),Promise.resolve(e)}catch(e){return yield h(e),yield m(!1),Promise.reject(e)}},connectUser:function*(){let{from:e,redirectFunc:n,redirectUri:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield f(!0),yield{type:p,from:e,redirectFunc:n,redirectUri:t}},setConnectedPlugins:_,refreshConnectedPlugins:()=>async e=>{let{dispatch:n}=e;return await new Promise((e=>i.ZP.fetchConnectedPlugins().then((t=>{n(_(t)),e(t)}))))}}},1432:function(e,n,t){"use strict";var i=t(4743),o=t(9818),c=t(428);const r=(0,o.createRegistryControl)((e=>{let{resolveSelect:n}=e;return function(){let{from:e,redirectFunc:t,redirectUri:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((o,r)=>{n(c.t).getAuthorizationUrl(i).then((n=>{const i=t||(e=>window.location.assign(e)),c=new URL(n);e&&c.searchParams.set("from",encodeURIComponent(e));const r=c.toString();i(r),o(r)})).catch((e=>{r(e)}))}))}}));n.Z={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:n}=e;return i.ZP.fetchAuthorizationUrl(n)},REGISTER_SITE:e=>{let{registrationNonce:n,redirectUri:t}=e;return i.ZP.registerSite(n,t)},CONNECT_USER:r}},1479:function(e,n,t){"use strict";var i=t(9818),o=t(7523);const c=(0,i.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return n.type===o.i6?{...e,...n.connectionStatus}:e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;return n.type===o.LI?n.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;return n.type===o.r7?n.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;return n.type===o.N4?n.isConnecting:e},registrationError:(e,n)=>{switch(n.type){case o.T1:return!1;case o.qV:return n.registrationError;default:return e}},authorizationUrl:(e,n)=>n.type===o.TS?n.authorizationUrl:e,userConnectionData:(e,n)=>(n.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return n.type===o.wQ?n.connectedPlugins:e}});n.Z=c},7728:function(e,n,t){"use strict";var i=t(9818),o=t(7523),c=t(428);const r={getAuthorizationUrl:{isFulfilled:function(e){const n=Boolean(e.authorizationUrl);for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];const s=(0,i.select)(c.t).hasFinishedResolution("getAuthorizationUrl",o);return n&&!s&&(0,i.dispatch)(c.t).finishResolution("getAuthorizationUrl",o),n},*fulfill(e){const n=yield o.ZP.fetchAuthorizationUrl(e);yield o.ZP.setAuthorizationUrl(n.authorizeUrl)}}};n.Z={...r}},2725:function(e,n){"use strict";const t={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||[]};n.Z=t},3535:function(e,n,t){"use strict";var i=t(8294),o=t.n(i),c=t(9818);class r{static mayBeInit(e,n){null===r.store&&(r.store=(0,c.createReduxStore)(e,n),(0,c.register)(r.store))}}o()(r,"store",null),n.Z=r},428:function(e,n,t){"use strict";t.d(n,{t:function(){return l}});var i=t(1479),o=t(7523),c=t(2725),r=t(7728),s=t(1432),a=t(3535);const l="jetpack-connection",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."),a.Z.mayBeInit(l,{__experimentalUseThunks:!0,reducer:i.Z,actions:o.ZP,selectors:c.Z,resolvers:r.Z,controls:s.Z,initialState:u||{}})},934:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(9818),r=t(5736),s=t(4743),a=t(9159),l=t(7710),u=t(428),p=t(7281),d=t(245);const __=r.__;n.Z=(0,c.withSelect)((e=>({connectionStatus:e(u.t).getConnectionStatus()})))((e=>{const n=(0,c.useSelect)((e=>e(p.t).getAPINonce()),[]),t=(0,c.useSelect)((e=>e(p.t).getAPIRoot()),[]),r=(0,c.useSelect)((e=>e(p.t).getRegistrationNonce()),[]),{hasIDC:u,canManageConnection:g,isSafeModeConfirmed:m}=(0,c.useSelect)((e=>e(p.t).getIDCData()),[]),{connectionStatus:f}=e;return(0,i.useEffect)((()=>{s.ZP.setApiRoot(t),s.ZP.setApiNonce(n)}),[t,n]),o().createElement(o().Fragment,null,(!u||m)&&o().createElement(d.Z,null),(!u||m)&&g&&f.isRegistered&&o().createElement(a.Z,{apiRoot:t,apiNonce:n,redirectUri:"tools.php?page=wpcom-connection-manager"}),(!u||m)&&g&&!f.isRegistered&&o().createElement(l.Z,{connectionStatus:f,apiRoot:t,apiNonce:n,registrationNonce:r,from:"connection-ui",redirectUri:"tools.php?page=wpcom-connection-manager",pricingIcon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.092 15.164.019-1.703v-.039c0-1.975-1.803-3.866-4.4-3.866-2.17 0-3.828 1.351-4.274 2.943l-.426 1.524-1.581-.065a2.92 2.92 0 0 0-.12-.002c-1.586 0-2.977 1.344-2.977 3.133 0 1.787 1.388 3.13 2.973 3.133H22.399c1.194 0 2.267-1.016 2.267-2.4 0-1.235-.865-2.19-1.897-2.368l-1.677-.29Zm-10.58-3.204a4.944 4.944 0 0 0-.201-.004c-2.75 0-4.978 2.298-4.978 5.133s2.229 5.133 4.978 5.133h12.088c2.357 0 4.267-1.97 4.267-4.4 0-2.18-1.538-3.99-3.556-4.339v-.06c0-3.24-2.865-5.867-6.4-5.867-2.983 0-5.49 1.871-6.199 4.404Z' fill='%23000'/%3E%3C/svg%3E",priceBefore:9,priceAfter:4.5,pricingTitle:__("Jetpack Backup","jetpack-connection-ui"),buttonLabel:__("Get Jetpack Backup","jetpack-connection-ui")},o().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack-connection-ui")),o().createElement("ul",null,o().createElement("li",null,__("Measure your impact with beautiful stats","jetpack-connection-ui")),o().createElement("li",null,__("Speed up your site with optimized images","jetpack-connection-ui")),o().createElement("li",null,__("Protect your site against bot attacks","jetpack-connection-ui")),o().createElement("li",null,__("Get notifications if your site goes offline","jetpack-connection-ui")),o().createElement("li",null,__("Enhance your site with dozens of other features","jetpack-connection-ui")))),(!u||m)&&!g&&o().createElement("p",null,"You need to be an admin to access this page."))}))},245:function(e,n,t){"use strict";var i=t(9196),o=t.n(i),c=t(5736);const __=c.__;n.Z=()=>o().createElement("div",{className:"jetpack-cui__header"},o().createElement("h1",null,__("Connection Manager","jetpack-connection-ui")))},8209:function(e,n){"use strict";n.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},8610:function(e,n){"use strict";n.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},8365:function(e,n){"use strict";n.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},5327:function(e,n,t){"use strict";var i=t(9818),o=t(8209),c=t(8610),r=t(8365);const s=(0,i.combineReducers)({API:o.Z,assets:c.Z,IDC:r.Z});n.Z=s},8907:function(e,n){"use strict";n.Z={getAPIRoot:e=>e.API.WP_API_root||null,getAPINonce:e=>e.API.WP_API_nonce||null,getRegistrationNonce:e=>e.API.registrationNonce||null}},4770:function(e,n){"use strict";n.Z={getAssetBuildUrl:e=>e.assets.buildUrl||null}},1483:function(e,n){"use strict";n.Z={getIDCData:e=>e.IDC||{}}},75:function(e,n,t){"use strict";var i=t(8907),o=t(4770),c=t(1483);const r={...i.Z,...o.Z,...c.Z};n.Z=r},7281:function(e,n,t){"use strict";t.d(n,{i:function(){return r},t:function(){return c}});var i=t(5327),o=t(75);const c="jetpack-connection-ui",r={reducer:i.Z,selectors:o.Z,initialState:window.CUI_INITIAL_STATE||{}}},2042:function(e,n,t){"use strict";e.exports=t.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:function(e,n,t){"use strict";e.exports=t.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},5609:function(e){"use strict";e.exports=window.wp.components},9818:function(e){"use strict";e.exports=window.wp.data},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},444:function(e){"use strict";e.exports=window.wp.primitives},6483:function(e){"use strict";e.exports=window.wp.url}},n={};function t(i){var o=n[i];if(void 0!==o)return o.exports;var c=n[i]={exports:{}};return e[i](c,c.exports,t),c.exports}t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},t.d=function(e,n){for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){var e;t.g.importScripts&&(e=t.g.location+"");var n=t.g.document;if(!e&&n&&(n.currentScript&&(e=n.currentScript.src),!e)){var i=n.getElementsByTagName("script");i.length&&(e=i[i.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e}(),function(){"use strict";var e=t(1850),n=t.n(e),i=t(9196),o=t.n(i),c=t(9818),r=t(934),s=t(7281);const a=(0,c.createReduxStore)(s.t,s.i);(0,c.register)(a),function(){const e=document.getElementById("jetpack-connection-ui-container");null!==e&&n().render(o().createElement(r.Z,null),e)}()}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js.LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js.LICENSE.txt
index 00db07be..2d8ad0cf 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js.LICENSE.txt
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.js.LICENSE.txt
@@ -6,23 +6,8 @@
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
*/
-/*
-object-assign
-(c) Sindre Sorhus
-@license MIT
-*/
-
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
-
-/** @license React vundefined
- * use-subscription.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.rtl.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.rtl.css
index 5924baa9..3f4d00dc 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.rtl.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/build/index.rtl.css
@@ -1 +1 @@
-#jetpack-connection-ui-container .jetpack-cui__header h1{font-size:4.6em;line-height:1.2em;text-align:right}#jetpack-connection-ui-container{margin:40px}#jetpack-connection-ui-container p{font-size:1.23em;line-height:1.5em}.jp-connection-status-card h3{color:var(--jp-black);font-size:36px;font-weight:400;line-height:40px;margin:0}.jp-connection-status-card a,.jp-connection-status-card a:active,.jp-connection-status-card a:hover{color:var(--jp-black)}.jp-connection-status-card p{color:var(--jp-black);margin:16px 0}.jp-connection-status-card a,.jp-connection-status-card li,.jp-connection-status-card p{font-size:16px;line-height:24px}.jp-connection-status-card--status{align-items:center;display:flex;margin:24px -6px 24px 0}.jp-connection-status-card--cloud{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PG1hc2sgaWQ9ImEiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjciIHk9IjkiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyMSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zMC4zMzMgMTcuNjk3di0uMDhjMC00LjI1My0zLjc2LTcuNy04LjQtNy43LTMuOTE2IDAtNy4yMDYgMi40NTctOC4xMzYgNS43OGE2LjM4NiA2LjM4NiAwIDAgMC0uMjY0LS4wMDVDOS45MjUgMTUuNjkyIDcgMTguNzA4IDcgMjIuNDI5czIuOTI1IDYuNzM4IDYuNTMzIDYuNzM4SDI5LjRjMy4wOTMgMCA1LjYtMi41ODYgNS42LTUuNzc1IDAtMi44NjEtMi4wMTgtNS4yMzctNC42NjYtNS42OTVaIiBmaWxsPSIjZmZmIi8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGQ9Im0zMC4zMzMgMTcuNjk3LTIuNjI1LS4wMy0uMDI1IDIuMjM1IDIuMjAyLjM4MS40NDgtMi41ODZabS0xNi41MzctMi0uMTA3IDIuNjIzIDIuMDc1LjA4NS41Ni0yLTIuNTI4LS43MDhabS0uMjYzIDEzLjQ3djIuNjI1aC4wMDhsLS4wMDgtMi42MjVabS4wNCAwdi0yLjYyNWgtLjAwOWwuMDA4IDIuNjI1Wm0xNS43OTUgMCAuMDE1LTIuNjI1aC0uMDE1djIuNjI1Wm0zLjU5LTExLjQ0MXYtLjExaC01LjI1di4wNTJsNS4yNS4wNThabTAtLjExYzAtNS45MTItNS4xNTUtMTAuMzI0LTExLjAyNS0xMC4zMjR2NS4yNWMzLjQxIDAgNS43NzUgMi40ODIgNS43NzUgNS4wNzVoNS4yNVpNMjEuOTMzIDcuMjkzYy00Ljk4NCAwLTkuMzg4IDMuMTM5LTEwLjY2NCA3LjY5OGw1LjA1NSAxLjQxNWMuNTg1LTIuMDg5IDIuNzYyLTMuODYzIDUuNjEtMy44NjN2LTUuMjVabS04LjAzIDUuNzgyYTkuMTExIDkuMTExIDAgMCAwLS4zNy0uMDA3djUuMjVjLjA1MyAwIC4xMDUuMDAxLjE1Ni4wMDNsLjIxNS01LjI0NlptLS4zNy0uMDA3Yy01LjEzMyAwLTkuMTU4IDQuMjY4LTkuMTU4IDkuMzYyaDUuMjVjMC0yLjM0OCAxLjgyNS00LjExMiAzLjkwOC00LjExMnYtNS4yNVptLTkuMTU4IDkuMzYyYzAgNS4wOTUgNC4wMjUgOS4zNjMgOS4xNTggOS4zNjN2LTUuMjVjLTIuMDgzIDAtMy45MDgtMS43NjUtMy45MDgtNC4xMTNoLTUuMjVabTkuMTY2IDkuMzYzaC4wNGwtLjAxNy01LjI1aC0uMDM5bC4wMTYgNS4yNVptLjAzMSAwaDE1Ljc5NnYtNS4yNUgxMy41NzJ2NS4yNVptMTUuODI3LTUuMjVoLS4wMTZsLS4wMyA1LjI1aC4wNDZ2LTUuMjVabTIuOTc1LTMuMTVjMCAxLjgxNi0xLjQwNyAzLjE1LTIuOTc1IDMuMTV2NS4yNWM0LjYxOCAwIDguMjI1LTMuODM4IDguMjI1LTguNGgtNS4yNVptLTIuNDg5LTMuMTA5YzEuMzU1LjIzNSAyLjQ5IDEuNDg4IDIuNDkgMy4xMDloNS4yNWMwLTQuMTAyLTIuOTAyLTcuNi02Ljg0NC04LjI4MmwtLjg5NiA1LjE3M1oiIGZpbGw9IiMxRTFFMUUiLz48L2c+PC9zdmc+);height:42px;margin-left:4px;width:42px}.jp-connection-status-card--jetpack-logo{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDMyYzguODM3IDAgMTYtNy4xNjMgMTYtMTZTMjQuODM3IDAgMTYgMCAwIDcuMTYzIDAgMTZzNy4xNjMgMTYgMTYgMTZaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTE2Ljc5NCAxMy4zMTN2MTUuNTExbDgtMTUuNTEyaC04Wk0xNS4xNzUgMTguNjU3VjMuMTc2bC03Ljk2OSAxNS40OGg3Ljk3WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);height:32px;margin-right:11px;width:32px}.jp-connection-status-card--btn-connect-user{background:var(--jp-black)!important;border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection-status-card--avatar{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.498 27.123C6.038 24.165 10.916 21.5 16 21.5c5.084 0 9.963 2.665 11.502 5.623a15.952 15.952 0 0 1-11.257 4.875L16 32l-.245-.002a15.952 15.952 0 0 1-11.257-4.875zM16 8a6 6 0 1 1 0 12 6 6 0 0 1 0-12z' fill='%23A2AAB2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;border:0;border-radius:20px;height:32px;margin-right:-10px;width:32px}.jp-connection-status-card--line{border-top:2px solid var(--jp-black);height:0;width:67px}.jp-connection-status-card--line.jp-connection-status-card--site-only{border-top-style:dashed}.jp-connection-status-card--list{list-style-type:none;margin:16px 0}.jp-connection-status-card--list li{color:var(--jp-black);margin:0 -3px 8px 0;padding-right:25px}.jp-connection-status-card--list-item-success{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE4LjkzNSA2LTguOSAxMS45Ny01LjE2Mi0zLjgzNyIgc3Ryb2tlPSIjMUUxRTFFIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==) no-repeat 100% 0}.jp-connection-status-card--list-item-error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red)!important}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,transparent,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;position:absolute;right:0;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-left:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:right}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-right:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:right;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-left:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:left}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-left:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:0;margin-right:1rem}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;position:absolute;right:24px;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:right;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-left:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;left:1.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-left:40px}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:70%}.jp-connection__connect-screen-required-plan{background:linear-gradient(270deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{position:absolute;right:62%;top:14%}}.jp-connection__connect-screen-required-plan__pricing-card .components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__with-subscription{margin-top:38px}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button{display:inline}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);font:inherit;height:auto;line-height:20px;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-left-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red)!important;line-height:25px!important;padding-right:25px}@keyframes rotate-spinner{to{transform:rotate(-1turn)}}.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 transparent;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-left-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-right:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-20:#a7aaad;--jp-gray-40:#787c82;--jp-gray-50:#646970;--jp-gray-60:#50575e;--jp-gray-80:#8a2424;--jp-gray-off:#e2e2df;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px rgba(0,0,0,.08);max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-left:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;position:absolute;right:0;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px} \ No newline at end of file
+#jetpack-connection-ui-container .jetpack-cui__header h1{font-size:4.6em;line-height:1.2em;text-align:right}#jetpack-connection-ui-container{margin:40px}#jetpack-connection-ui-container p{font-size:1.23em;line-height:1.5em}.jp-connection-status-card h3{color:var(--jp-black);font-size:var(--font-title-large);font-weight:700;line-height:1.1;margin:0}.jp-connection-status-card a,.jp-connection-status-card a:active,.jp-connection-status-card a:hover{color:var(--jp-black)}.jp-connection-status-card p{color:var(--jp-black);margin:16px 0}.jp-connection-status-card a,.jp-connection-status-card li,.jp-connection-status-card p{font-size:var(--font-body);line-height:24px}.jp-connection-status-card--status{align-items:center;display:flex;margin:24px -6px 24px 0}.jp-connection-status-card--cloud{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PG1hc2sgaWQ9ImEiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjciIHk9IjkiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyMSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zMC4zMzMgMTcuNjk3di0uMDhjMC00LjI1My0zLjc2LTcuNy04LjQtNy43LTMuOTE2IDAtNy4yMDYgMi40NTctOC4xMzYgNS43OGE2LjM4NiA2LjM4NiAwIDAgMC0uMjY0LS4wMDVDOS45MjUgMTUuNjkyIDcgMTguNzA4IDcgMjIuNDI5czIuOTI1IDYuNzM4IDYuNTMzIDYuNzM4SDI5LjRjMy4wOTMgMCA1LjYtMi41ODYgNS42LTUuNzc1IDAtMi44NjEtMi4wMTgtNS4yMzctNC42NjYtNS42OTVaIiBmaWxsPSIjZmZmIi8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGQ9Im0zMC4zMzMgMTcuNjk3LTIuNjI1LS4wMy0uMDI1IDIuMjM1IDIuMjAyLjM4MS40NDgtMi41ODZabS0xNi41MzctMi0uMTA3IDIuNjIzIDIuMDc1LjA4NS41Ni0yLTIuNTI4LS43MDhabS0uMjYzIDEzLjQ3djIuNjI1aC4wMDhsLS4wMDgtMi42MjVabS4wNCAwdi0yLjYyNWgtLjAwOWwuMDA4IDIuNjI1Wm0xNS43OTUgMCAuMDE1LTIuNjI1aC0uMDE1djIuNjI1Wm0zLjU5LTExLjQ0MXYtLjExaC01LjI1di4wNTJsNS4yNS4wNThabTAtLjExYzAtNS45MTItNS4xNTUtMTAuMzI0LTExLjAyNS0xMC4zMjR2NS4yNWMzLjQxIDAgNS43NzUgMi40ODIgNS43NzUgNS4wNzVoNS4yNVpNMjEuOTMzIDcuMjkzYy00Ljk4NCAwLTkuMzg4IDMuMTM5LTEwLjY2NCA3LjY5OGw1LjA1NSAxLjQxNWMuNTg1LTIuMDg5IDIuNzYyLTMuODYzIDUuNjEtMy44NjN2LTUuMjVabS04LjAzIDUuNzgyYTkuMTExIDkuMTExIDAgMCAwLS4zNy0uMDA3djUuMjVjLjA1MyAwIC4xMDUuMDAxLjE1Ni4wMDNsLjIxNS01LjI0NlptLS4zNy0uMDA3Yy01LjEzMyAwLTkuMTU4IDQuMjY4LTkuMTU4IDkuMzYyaDUuMjVjMC0yLjM0OCAxLjgyNS00LjExMiAzLjkwOC00LjExMnYtNS4yNVptLTkuMTU4IDkuMzYyYzAgNS4wOTUgNC4wMjUgOS4zNjMgOS4xNTggOS4zNjN2LTUuMjVjLTIuMDgzIDAtMy45MDgtMS43NjUtMy45MDgtNC4xMTNoLTUuMjVabTkuMTY2IDkuMzYzaC4wNGwtLjAxNy01LjI1aC0uMDM5bC4wMTYgNS4yNVptLjAzMSAwaDE1Ljc5NnYtNS4yNUgxMy41NzJ2NS4yNVptMTUuODI3LTUuMjVoLS4wMTZsLS4wMyA1LjI1aC4wNDZ2LTUuMjVabTIuOTc1LTMuMTVjMCAxLjgxNi0xLjQwNyAzLjE1LTIuOTc1IDMuMTV2NS4yNWM0LjYxOCAwIDguMjI1LTMuODM4IDguMjI1LTguNGgtNS4yNVptLTIuNDg5LTMuMTA5YzEuMzU1LjIzNSAyLjQ5IDEuNDg4IDIuNDkgMy4xMDloNS4yNWMwLTQuMTAyLTIuOTAyLTcuNi02Ljg0NC04LjI4MmwtLjg5NiA1LjE3M1oiIGZpbGw9IiMxRTFFMUUiLz48L2c+PC9zdmc+);height:42px;margin-left:4px;width:42px}.jp-connection-status-card--jetpack-logo{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDMyYzguODM3IDAgMTYtNy4xNjMgMTYtMTZTMjQuODM3IDAgMTYgMCAwIDcuMTYzIDAgMTZzNy4xNjMgMTYgMTYgMTZaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTE2Ljc5NCAxMy4zMTN2MTUuNTExbDgtMTUuNTEyaC04Wk0xNS4xNzUgMTguNjU3VjMuMTc2bC03Ljk2OSAxNS40OGg3Ljk3WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);height:32px;margin-right:11px;width:32px}.jp-connection-status-card--btn-connect-user{font-size:var(--font-body);font-weight:400;line-height:24px}.jp-connection-status-card--avatar{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.498 27.123C6.038 24.165 10.916 21.5 16 21.5c5.084 0 9.963 2.665 11.502 5.623a15.952 15.952 0 0 1-11.257 4.875L16 32l-.245-.002a15.952 15.952 0 0 1-11.257-4.875zM16 8a6 6 0 1 1 0 12 6 6 0 0 1 0-12z' fill='%23A2AAB2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;border:0;border-radius:20px;height:32px;margin-right:-10px;width:32px}.jp-connection-status-card--line{border-top:2px solid var(--jp-black);height:0;width:67px}.jp-connection-status-card--line.jp-connection-status-card--site-only{border-top-style:dashed}.jp-connection-status-card--list{list-style-type:none;margin:16px 0}.jp-connection-status-card--list li{color:var(--jp-black);margin:0 -3px 8px 0;padding-right:25px}.jp-connection-status-card--list-item-success{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE4LjkzNSA2LTguOSAxMS45Ny01LjE2Mi0zLjgzNyIgc3Ryb2tlPSIjMUUxRTFFIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==) no-repeat 100% 0}.jp-connection-status-card--list-item-error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red-60)!important}.jp-connection-status-card--list-item-info{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjMDAwIi8+PC9zdmc+) no-repeat 100% 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-size:var(--font-title-medium);font-weight:500;line-height:32px}.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-size:var(--font-body-extra-small);font-weight:400;line-height:20px}.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-left:calc(var( --spacing-base )*0)}.ODX5Vr1TARoLFkDDFooD{margin-bottom:calc(var( --spacing-base )*0)}.cphJ8dCpfimnky7P2FHg{margin-right: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-left:calc(var( --spacing-base )*1)}.hfqOWgq6_MEGdFE82eOY{margin-bottom:calc(var( --spacing-base )*1)}.I8MxZQYTbuu595yfesWA{margin-right: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-left:calc(var( --spacing-base )*2)}.Db8lbak1_wunpPk8NwKU{margin-bottom:calc(var( --spacing-base )*2)}.ftsYE5J9hLzquQ0tA5dY{margin-right: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-left:calc(var( --spacing-base )*3)}.yrVTnq_WBMbejg89c2ZQ{margin-bottom:calc(var( --spacing-base )*3)}.UKtHPJnI2cXBWtPDm5hM{margin-right: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-left:calc(var( --spacing-base )*4)}.pkDbXXXL32237M0hokEh{margin-bottom:calc(var( --spacing-base )*4)}.XXv4kDTGvEnQeuGKOPU3{margin-right: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-left:calc(var( --spacing-base )*5)}.Lvk3dqcyHbZ07QCRlrUQ{margin-bottom:calc(var( --spacing-base )*5)}.r3yQECDQ9qX0XZzXlVAg{margin-right: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-left:calc(var( --spacing-base )*6)}.t30usboNSyqfQWIwHvT3{margin-bottom:calc(var( --spacing-base )*6)}.Nm_TyFkYCMhOoghoToKJ{margin-right: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-left:calc(var( --spacing-base )*7)}.im8407m2fw5vOg7O2zsw{margin-bottom:calc(var( --spacing-base )*7)}.G0fbeBgvz2sh3uTP9gNl{margin-right: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-left:calc(var( --spacing-base )*8)}.GpL6idrXmSOM6jB8Ohsf{margin-bottom:calc(var( --spacing-base )*8)}.HbtWJoQwpgGycz8dGzeT{margin-right: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-left:calc(var( --spacing-base )*0)}.tg_UIUI11VBzrTAn2AzJ{padding-bottom:calc(var( --spacing-base )*0)}.uczvl8kaz84oPQJ2DB2R{padding-right: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-left:calc(var( --spacing-base )*1)}.WZQy2SZuZso59bUsXXyl{padding-bottom:calc(var( --spacing-base )*1)}.o331apInxNunbYB3SfPE{padding-right: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-left:calc(var( --spacing-base )*2)}.eHpLc_idmuEqeqCTvqkN{padding-bottom:calc(var( --spacing-base )*2)}.vU39i2B4P1fUTMB2l6Vo{padding-right: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-left:calc(var( --spacing-base )*3)}.Ts0dIlc3aTSL7V4cIHis{padding-bottom:calc(var( --spacing-base )*3)}.CzlqQXXhX6MvorArFZ8B{padding-right: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-left:calc(var( --spacing-base )*4)}.oGwXC3ohCic9XnAj6x69{padding-bottom:calc(var( --spacing-base )*4)}.U6gnT9y42ViPNOcNzBwb{padding-right: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-left:calc(var( --spacing-base )*5)}.vVWpZpLlWrkTt0hMk8XU{padding-bottom:calc(var( --spacing-base )*5)}.RxfaJj5a1Nt6IavEo5Zl{padding-right: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-left:calc(var( --spacing-base )*6)}.n8yA3jHlMRyLd5UIfoND{padding-bottom:calc(var( --spacing-base )*6)}.tXHmxYnHzbwtfxEaG51n{padding-right: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-left:calc(var( --spacing-base )*7)}.KVEXoJqf1s92j0JMdNmN{padding-bottom:calc(var( --spacing-base )*7)}.ZMXGNrNaKW3k_3TLz0Fq{padding-right: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-left:calc(var( --spacing-base )*8)}.Y8F9ga1TDCMbM1lj4gUz{padding-bottom:calc(var( --spacing-base )*8)}.AJuyNGrI63BOWql719H8{padding-right:calc(var( --spacing-base )*8)}.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.5px;border-radius:var(--jp-border-radius);font-weight:600;justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF{font-size:var(--font-body);height:auto;line-height:24px;padding:var(--spacing-base) calc(var(--spacing-base)*3)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF.paGLQwtPEaJmtArCcmyK{padding:var(--spacing-base) calc(var(--spacing-base)*2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14{font-size:var(--font-body-extra-small);height:auto;line-height:20px;padding:calc(var(--spacing-base)/2) var(--spacing-base)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14.paGLQwtPEaJmtArCcmyK>svg:first-child{margin-left:calc(var(--spacing-base)/2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14>.components-spinner{height:20px}.zI5tJ_qhWE6Oe6Lk75GY.lZAo6_oGfclXOO9CC6Rd{font-weight:400}.zI5tJ_qhWE6Oe6Lk75GY.is-primary:disabled,.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:disabled{background:var(--jp-gray);color:var(--jp-gray-20)}.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 1px 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 1px 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-right:calc(var(--spacing-base)/2)}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,transparent,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;position:absolute;right:0;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-left:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:right}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-right:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:right;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-left:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:left}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-left:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:0;margin-right:1rem}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;position:absolute;right:24px;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:right;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-left:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;left:1.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-left:40px}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:70%}.jp-connection__connect-screen-required-plan{background:linear-gradient(270deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{position:absolute;right:62%;top:14%}}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__with-subscription{margin-top:38px}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button{display:inline}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);font:inherit;height:auto;line-height:20px;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-left-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red)!important;line-height:25px!important;padding-right:25px}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-right:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px rgba(0,0,0,.08);max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-left:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;position:absolute;right:0;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-admin.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-admin.php
index 1a76c464..abae02b2 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-admin.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-admin.php
@@ -8,6 +8,7 @@
namespace Automattic\Jetpack\ConnectionUI;
use Automattic\Jetpack\Assets;
+use Automattic\Jetpack\Connection\Initial_State as Connection_Initial_State;
/**
* The Connection UI Admin Area
@@ -73,6 +74,7 @@ class Admin {
);
Assets::enqueue_script( 'jetpack_connection_ui' );
wp_add_inline_script( 'jetpack_connection_ui', $this->get_initial_state(), 'before' );
+ wp_add_inline_script( 'jetpack_connection_ui', Connection_Initial_State::render(), 'before' );
}
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-initial-state.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-initial-state.php
index 803b655f..48da9ae3 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-initial-state.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection-ui/src/class-initial-state.php
@@ -45,8 +45,6 @@ class Initial_State {
* @return string
*/
public function render() {
- add_action( 'jetpack_use_iframe_authorization_flow', '__return_true' );
-
return 'var CUI_INITIAL_STATE=JSON.parse(decodeURIComponent("' . rawurlencode( wp_json_encode( $this->get_data() ) ) . '"));';
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/CHANGELOG.md
index ffc65326..883d1103 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/CHANGELOG.md
@@ -5,6 +5,123 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.40.4] - 2022-05-24
+### Added
+- Allow plugins to filter the list of available modules. Only activate and consider active modules that are available [#24454]
+
+## [1.40.3] - 2022-05-19
+### Added
+- PHPCS updates. [#24418]
+
+## [1.40.2] - 2022-05-18
+### Changed
+- Updated package dependencies [#24372]
+
+### Fixed
+- Fix new PHPCS sniffs. [#24366]
+
+## [1.40.1] - 2022-05-10
+### Added
+- Bundle and transpile JavaScript with Webpack. [#24216]
+
+### Changed
+- Deprecate soft disconnect [#24105]
+
+## [1.40.0] - 2022-05-04
+### Added
+- Connection: Expose wpVersion and siteSuffix in the global initial state var [#24137]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+## [1.39.2] - 2022-05-19
+### Added
+- PHPCS updates.
+
+## [1.39.1] - 2022-04-27
+### Fixed
+- Reverts soft disconnect deprecation
+
+## [1.39.0] - 2022-04-26
+### Changed
+- Make remove_connection a proxy method to ensure all trackings are triggered
+- Updated package dependencies.
+
+### Deprecated
+- Removed Heartbeat by hoisting it into Connection.
+
+### Removed
+- Deprecated Soft disconnect
+
+## [1.38.0] - 2022-04-19
+### Added
+- Added list of connected list to the connection initial state
+- Add token lock functionality.
+
+### Changed
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+
+### Deprecated
+- Deprecated in-place connection.
+
+## [1.37.6] - 2022-04-12
+### Changed
+- Updated package dependencies.
+
+## [1.37.5] - 2022-04-06
+### Removed
+- Removed tracking dependency.
+
+## [1.37.4] - 2022-04-05
+### Changed
+- Updated package dependencies.
+
+## [1.37.3] - 2022-03-29
+### Changed
+- Microperformance: Use === null instead of is_null
+
+### Fixed
+- Fix regression added to Jetpack webhooks handling
+
+## [1.37.2] - 2022-03-23
+### Changed
+- Jetpack now relies on Connection Webooks for authorize and authorize_redirect actions
+
+### Removed
+- Removed a reference to the terms-of-service package.
+
+## [1.37.1] - 2022-03-15
+### Added
+- Handle the Authorization Redirect from the Connection package
+
+## [1.37.0] - 2022-03-02
+### Added
+- Moved the ToS package to Connection.
+
+## [1.36.4] - 2022-02-22
+### Changed
+- Updated package dependencies.
+
+## [1.36.3] - 2022-02-16
+### Added
+- Add the 'jetpack_site_before_disconnected' action hook.
+
+## [1.36.2] - 2022-02-09
+### Fixed
+- Fixed some new PHPCS warnings.
+
+## [1.36.1] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
+## [1.36.0] - 2022-01-18
+### Added
+- Debugging: Add a filter to add XDEBUG_PROFILE to requests made to the sandbox.
+
+## [1.35.0] - 2022-01-13
+### Changed
+- Added user data to initial state
+
## [1.34.0] - 2022-01-04
### Added
- Jetpack Connection: Added fallback for keeping `jetpack_connection_active_plugins` consistent on WPCOM when Sync is not present.
@@ -491,6 +608,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Separate the connection library into its own package.
+[1.40.4]: https://github.com/Automattic/jetpack-connection/compare/v1.40.3...v1.40.4
+[1.40.3]: https://github.com/Automattic/jetpack-connection/compare/v1.40.2...v1.40.3
+[1.40.2]: https://github.com/Automattic/jetpack-connection/compare/v1.40.1...v1.40.2
+[1.40.1]: https://github.com/Automattic/jetpack-connection/compare/v1.40.0...v1.40.1
+[1.40.0]: https://github.com/Automattic/jetpack-connection/compare/v1.39.1...v1.40.0
+[1.39.2]: https://github.com/Automattic/jetpack-connection/compare/v1.39.1...v1.39.2
+[1.39.1]: https://github.com/Automattic/jetpack-connection/compare/v1.39.0...v1.39.1
+[1.39.0]: https://github.com/Automattic/jetpack-connection/compare/v1.38.0...v1.39.0
+[1.38.0]: https://github.com/Automattic/jetpack-connection/compare/v1.37.6...v1.38.0
+[1.37.6]: https://github.com/Automattic/jetpack-connection/compare/v1.37.5...v1.37.6
+[1.37.5]: https://github.com/Automattic/jetpack-connection/compare/v1.37.4...v1.37.5
+[1.37.4]: https://github.com/Automattic/jetpack-connection/compare/v1.37.3...v1.37.4
+[1.37.3]: https://github.com/Automattic/jetpack-connection/compare/v1.37.2...v1.37.3
+[1.37.2]: https://github.com/Automattic/jetpack-connection/compare/v1.37.1...v1.37.2
+[1.37.1]: https://github.com/Automattic/jetpack-connection/compare/v1.37.0...v1.37.1
+[1.37.0]: https://github.com/Automattic/jetpack-connection/compare/v1.36.4...v1.37.0
+[1.36.4]: https://github.com/Automattic/jetpack-connection/compare/v1.36.3...v1.36.4
+[1.36.3]: https://github.com/Automattic/jetpack-connection/compare/v1.36.2...v1.36.3
+[1.36.2]: https://github.com/Automattic/jetpack-connection/compare/v1.36.1...v1.36.2
+[1.36.1]: https://github.com/Automattic/jetpack-connection/compare/v1.36.0...v1.36.1
+[1.36.0]: https://github.com/Automattic/jetpack-connection/compare/v1.35.0...v1.36.0
+[1.35.0]: https://github.com/Automattic/jetpack-connection/compare/v1.34.0...v1.35.0
[1.34.0]: https://github.com/Automattic/jetpack-connection/compare/v1.33.0...v1.34.0
[1.33.0]: https://github.com/Automattic/jetpack-connection/compare/v1.32.0...v1.33.0
[1.32.0]: https://github.com/Automattic/jetpack-connection/compare/v1.31.0...v1.32.0
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/TRACKING.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/TRACKING.md
new file mode 100644
index 00000000..06754b3e
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/TRACKING.md
@@ -0,0 +1,122 @@
+# Jetpack Tracking package
+
+A package containing functionality to track events to the a8c Tracks system
+
+## Usage
+
+There are several ways to track events using this package.
+
+* Ajax: Probably the easiest one. You can simply add a class to a link and it will be tracked or you can make your own ajax call
+* PHP: Track an event on the backend
+* Tracking pixel: An alternative way to track events by dynamically adding a pixel to the DOM
+
+### Tracking via Ajax
+
+This is useful to track simple click events without the need of any additional js. Just add the appropriate class to your links and it will be tracked.
+
+#### 1. enqueue script
+
+Note: Not needed if you are using the Jetpack plugin in the admin context as the script is already loaded by Jetpack.
+
+See `Automattic\Jetpack\Tracking::enqueue_tracks_scripts()`
+
+```PHP
+add_action( 'admin_enqueue_scripts', array( new Tracking( 'plugin-slug' ), 'enqueue_tracks_scripts' ) );
+```
+
+#### 2. Add the class and the event attributes.
+
+Add the `jptracks` class to any `a` element or to its parent element.
+
+The event needs a name. This can be informed with the `data-jptracks-name` attritbute.
+
+```HTML
+<a class="jptracks" data-jptracks-name="my-awesome-event">Click me</a>
+```
+
+And that's it. Your event will be tracked. Every time this element is clicked an ajax call will be triggered to the Tracking package and it will send it to wpcom.
+
+**Note:** Event name will be automatically prefixed with `jetpack_`.
+
+#### 3. Additional parameters
+
+You can also inform additional parameters to your event using the `data-jptracks-prop` attribute. Anything in this attr will be stored in the `clicked` attribute in the event.
+
+#### 4. Making your own ajax calls
+
+In your JS you can set up your own ajax calls. Example:
+
+```JS
+window.jpTracksAJAX.record_ajax_event( 'my_event_name', 'click', { prop1: value1, prop2: value2 } );
+```
+
+**Note:** Event name will be automatically prefixed with `jetpack_`.
+
+##### Waiting for the ajax call to complete before doing anything else
+
+If you need to do a subsequent action but wants to wait for this event to be tracked, you can do the following:
+
+```JS
+window.jpTracksAJAX
+ .record_ajax_event( 'my_event_name', 'click', { prop1: value1, prop2: value2 } )
+ .always( function() {
+ // do something
+ } );
+```
+
+### Tracking in PHP
+
+Use `Automattic\Jetpack\Tracking::record_user_event()` to track events on the backend.
+
+```PHP
+$connection_manager = new Automattic\Jetpack\Connection\Manager( 'plugin-slug' );
+$tracking = new Tracking( 'plugin-slug', $connection_manager );
+$tracking->record_user_event(
+ $event_name,
+ array(
+ 'property_key' => 'value',
+ )
+);
+```
+
+### Tracking pixel
+
+This approach to track events uses `//stats.wp.com/w.js` and dynamically adds a tracking pixel to the DOM to do the tracking.
+
+#### 1. Enqueue the scripts
+
+```PHP
+Tracking::register_tracks_functions_scripts( true );
+```
+
+#### 2. Inform the user data
+
+```PHP
+wp_localize_script(
+ 'my_script',
+ 'varname',
+ array(
+ 'tracksUserData' => Jetpack_Tracks_Client::get_connected_user_tracks_identity(),
+ )
+);
+```
+
+#### 3. Track!
+
+In your JS:
+
+```JS
+var tracksUser = varname.tracksUserData;
+
+analytics.initialize( tracksUser.userid, tracksUser.username );
+
+analytics.tracks.recordEvent( 'jetpack_my_event_name', { prop1: value1, prop2: value2 } );
+```
+
+## Debugging
+
+You can watch your events being tracked in the browser console. In order to activate that, run the following command in the console:
+
+```JS
+localStorage.setItem( 'debug', 'dops:analytics*' );
+```
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.asset.php
new file mode 100644
index 00000000..3b9ce528
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array(), 'version' => 'd77ffaebc89bc263c90b4947ca52ec64'); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.js
new file mode 100644
index 00000000..7b630222
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.js
@@ -0,0 +1 @@
+!function(t,a){window.jpTracksAJAX=window.jpTracksAJAX||{};const c="dops:analytics"===localStorage.getItem("debug");window.jpTracksAJAX.record_ajax_event=function(n,e,r){const o={tracksNonce:a.jpTracksAJAX_nonce,action:"jetpack_tracks",tracksEventType:e,tracksEventName:n,tracksEventProp:r||!1};return t.ajax({type:"POST",url:a.ajaxurl,data:o,success:function(t){c&&console.log("AJAX tracks event recorded: ",o,t)}})},t(document).ready((function(){t("body").on("click",".jptracks a, a.jptracks",(function(a){const c=t(a.target),n=c.closest(".jptracks"),e=n.attr("data-jptracks-name");if(void 0===e)return;const r=n.attr("data-jptracks-prop")||!1,o=c.attr("href"),s=c.get(0).target;let i=null;o&&s&&"_self"!==s&&(i=window.open("",s),i.opener=null),a.preventDefault(),window.jpTracksAJAX.record_ajax_event(e,"click",r).always((function(){if(o&&!c.hasClass("thickbox")){if(i)return void(i.location=o);window.location=o}}))}))}))}(jQuery,jpTracksAJAX); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.asset.php
new file mode 100644
index 00000000..5f359c31
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array(), 'version' => '6a523a75718ae929383b31ce65ae3d2a'); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.js
new file mode 100644
index 00000000..fe1068ce
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.js
@@ -0,0 +1 @@
+!function(){var e={775:function(e){let n;window._tkq=window._tkq||[];const t=console.error;const o={initialize:function(e,n){o.setUser(e,n),o.identifyUser()},mc:{bumpStat:function(e,n){const t=function(e,n){let t="";if("object"==typeof e)for(const n in e)t+="&x_"+encodeURIComponent(n)+"="+encodeURIComponent(e[n]);else t="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(n);return t}(e,n);(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+t+"&t="+Math.random()}},tracks:{recordEvent:function(e,n){n=n||{},0===e.indexOf("jetpack_")?window._tkq.push(["recordEvent",e,n]):t('- Event name must be prefixed by "jetpack_"')},recordPageView:function(e){o.tracks.recordEvent("jetpack_page_view",{path:e})}},setUser:function(e,t){n={ID:e,username:t}},identifyUser:function(){n&&window._tkq.push(["identifyUser",n.ID,n.username])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};e.exports=o}},n={};var t=function t(o){var r=n[o];if(void 0!==r)return r.exports;var i=n[o]={exports:{}};return e[o](i,i.exports,t),i.exports}(775);window.analytics=t}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
index 5349506c..b1b8a362 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
@@ -120,11 +120,11 @@ class Jetpack_IXR_Client extends IXR_Client {
* @return WP_Error Error object.
*/
public function get_jetpack_error( $fault_code = null, $fault_string = null ) {
- if ( is_null( $fault_code ) ) {
+ if ( $fault_code === null ) {
$fault_code = $this->error->code;
}
- if ( is_null( $fault_string ) ) {
+ if ( $fault_string === null ) {
$fault_string = $this->error->message;
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-options/legacy/class-jetpack-options.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php
index 164ff111..54b1f3ca 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-options/legacy/class-jetpack-options.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php
@@ -2,7 +2,7 @@
/**
* Legacy Jetpack_Options class.
*
- * @package automattic/jetpack-options
+ * @package automattic/jetpack-connection
*/
use Automattic\Jetpack\Constants;
@@ -82,6 +82,7 @@ class Jetpack_Options {
'user_token', // (string) The User Token of this site. (deprecated)
'user_tokens', // (array) User Tokens for each user of this site who has connected to jetpack.wordpress.com.
'purchase_token', // (string) Token for logged out user purchases.
+ 'token_lock', // (string) Token lock in format `expiration_date|||site_url`.
);
case 'network':
@@ -120,6 +121,7 @@ class Jetpack_Options {
'recommendations_banner_enabled', // (bool) Whether the recommendations are enabled or not.
'recommendations_data', // (array) The user choice and other data for the recommendations.
'recommendations_step', // (string) The current step of the recommendations.
+ 'recommendations_conditional', // (array) An array of action-based recommendations.
'licensing_activation_notice_dismiss', // (array) The `last_detached_count` and the `last_dismissed_time` for the user-license activation notice.
'has_seen_wc_connection_modal', // (bool) Whether the site has displayed the WooCommerce Connection modal
'partner_coupon', // (string) A Jetpack partner issued coupon to promote a sale together with Jetpack.
@@ -147,14 +149,14 @@ class Jetpack_Options {
return empty( $result );
}
- if ( is_null( $group ) || 'non_compact' === $group ) {
+ if ( $group === null || 'non_compact' === $group ) {
if ( in_array( $name, self::get_option_names( $group ), true ) ) {
return true;
}
}
foreach ( array_keys( self::$grouped_options ) as $_group ) {
- if ( is_null( $group ) || $group === $_group ) {
+ if ( $group === null || $group === $_group ) {
if ( in_array( $name, self::get_option_names( $_group ), true ) ) {
return true;
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php
index 125aa20a..444ed380 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php
@@ -76,11 +76,12 @@ class Jetpack_Signature {
$port = $this->get_current_request_port();
- $this->current_request_url = "{$scheme}://{$_SERVER['HTTP_HOST']}:{$port}" . stripslashes( $_SERVER['REQUEST_URI'] );
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidatedNotSanitized -- Sniff misses the esc_url_raw wrapper.
+ $this->current_request_url = esc_url_raw( wp_unslash( "{$scheme}://{$_SERVER['HTTP_HOST']}:{$port}" . ( isset( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : '' ) ) );
if ( array_key_exists( 'body', $override ) && ! empty( $override['body'] ) ) {
$body = $override['body'];
- } elseif ( 'POST' === strtoupper( $_SERVER['REQUEST_METHOD'] ) ) {
+ } elseif ( isset( $_SERVER['REQUEST_METHOD'] ) && 'POST' === strtoupper( $_SERVER['REQUEST_METHOD'] ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is validating.
$body = isset( $GLOBALS['HTTP_RAW_POST_DATA'] ) ? $GLOBALS['HTTP_RAW_POST_DATA'] : null;
// Convert the $_POST to the body, if the body was empty. This is how arrays are hashed
@@ -91,7 +92,7 @@ class Jetpack_Signature {
$body = $_POST; // phpcs:ignore WordPress.Security.NonceVerification.Missing
}
}
- } elseif ( 'PUT' === strtoupper( $_SERVER['REQUEST_METHOD'] ) ) {
+ } elseif ( isset( $_SERVER['REQUEST_METHOD'] ) && 'PUT' === strtoupper( $_SERVER['REQUEST_METHOD'] ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is validating.
// This is a little strange-looking, but there doesn't seem to be another way to get the PUT body.
$raw_put_data = file_get_contents( 'php://input' );
parse_str( $raw_put_data, $body );
@@ -116,11 +117,11 @@ class Jetpack_Signature {
$a[ $parameter ] = $override[ $parameter ];
} else {
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $a[ $parameter ] = isset( $_GET[ $parameter ] ) ? stripslashes( $_GET[ $parameter ] ) : '';
+ $a[ $parameter ] = isset( $_GET[ $parameter ] ) ? filter_var( wp_unslash( $_GET[ $parameter ] ) ) : '';
}
}
- $method = isset( $override['method'] ) ? $override['method'] : $_SERVER['REQUEST_METHOD'];
+ $method = isset( $override['method'] ) ? $override['method'] : ( isset( $_SERVER['REQUEST_METHOD'] ) ? filter_var( wp_unslash( $_SERVER['REQUEST_METHOD'] ) ) : null );
return $this->sign_request( $a['token'], $a['timestamp'], $a['nonce'], $a['body-hash'], $method, $this->current_request_url, $body, true );
}
@@ -169,7 +170,7 @@ class Jetpack_Signature {
}
$required_parameters = array( 'token', 'timestamp', 'nonce', 'method', 'url' );
- if ( ! is_null( $body ) ) {
+ if ( $body !== null ) {
$required_parameters[] = 'body_hash';
if ( ! is_string( $body ) ) {
return new WP_Error( 'invalid_body', 'Body is malformed.', compact( 'signature_details' ) );
@@ -346,9 +347,9 @@ class Jetpack_Signature {
* @return string The port to be used in the signature
*/
public function get_current_request_port() {
- $host_port = isset( $_SERVER['HTTP_X_FORWARDED_PORT'] ) ? $this->sanitize_host_post( $_SERVER['HTTP_X_FORWARDED_PORT'] ) : '';
+ $host_port = isset( $_SERVER['HTTP_X_FORWARDED_PORT'] ) ? $this->sanitize_host_post( $_SERVER['HTTP_X_FORWARDED_PORT'] ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is validating.
if ( '' === $host_port && isset( $_SERVER['SERVER_PORT'] ) ) {
- $host_port = $this->sanitize_host_post( $_SERVER['SERVER_PORT'] );
+ $host_port = $this->sanitize_host_post( $_SERVER['SERVER_PORT'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is validating.
}
/**
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-client.php
index 07829b6c..a17ad84f 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-client.php
@@ -184,8 +184,8 @@ class Jetpack_Tracks_Client {
if ( ! isset( $anon_id ) ) {
// Did the browser send us a cookie?
- if ( isset( $_COOKIE['tk_ai'] ) && preg_match( '#^[A-Za-z0-9+/=]{24}$#', $_COOKIE['tk_ai'] ) ) {
- $anon_id = $_COOKIE['tk_ai'];
+ if ( isset( $_COOKIE['tk_ai'] ) && preg_match( '#^[A-Za-z0-9+/=]{24}$#', $_COOKIE['tk_ai'] ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is validating.
+ $anon_id = $_COOKIE['tk_ai']; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is validating.
} else {
$binary = '';
@@ -202,7 +202,7 @@ class Jetpack_Tracks_Client {
&& ! ( defined( 'REST_REQUEST' ) && REST_REQUEST )
&& ! ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST )
) {
- setcookie( 'tk_ai', $anon_id );
+ setcookie( 'tk_ai', $anon_id, 0, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), false ); // phpcs:ignore Jetpack.Functions.SetCookie -- This is a random value and should be fine.
}
}
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-event.php
index be77a397..be77a397 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-event.php
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php
index 37acf8a4..7e236de3 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php
@@ -636,7 +636,7 @@ class Jetpack_XMLRPC_Server {
do_action( 'jetpack_xmlrpc_server_event', $event_name, 'fail', $error, $user );
}
- if ( ! is_null( $error ) ) {
+ if ( $error !== null ) {
$this->error = $error;
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-client.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-client.php
index fea9e9c7..a99817d7 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-client.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-client.php
@@ -135,7 +135,7 @@ class Client {
}
// Kind of annoying. Maybe refactor Jetpack_Signature to handle body-hashing.
- if ( is_null( $body ) ) {
+ if ( $body === null ) {
$body_hash = '';
} else {
@@ -310,7 +310,7 @@ class Client {
$code = wp_remote_retrieve_response_code( $response );
// Only trust the Date header on some responses.
- if ( 200 != $code && 304 != $code && 400 != $code && 401 != $code ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ if ( 200 != $code && 304 != $code && 400 != $code && 401 != $code ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
return;
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-error-handler.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-error-handler.php
index 9da55442..53b06818 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-error-handler.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-error-handler.php
@@ -188,7 +188,7 @@ class Error_Handler {
* @return Error_Handler $instance
*/
public static function get_instance() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new self();
}
return self::$instance;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-heartbeat.php
index 0cca49bb..9f1b0dbd 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-heartbeat.php
@@ -2,7 +2,7 @@
/**
* Jetpack Heartbeat package.
*
- * @package automattic/jetpack-heartbeat
+ * @package automattic/jetpack-connection
*/
namespace Automattic\Jetpack;
@@ -227,7 +227,7 @@ class Heartbeat {
if ( isset( $args[0] ) && ! in_array( $args[0], $allowed_args, true ) ) {
/* translators: %s is a command like "prompt" */
- WP_CLI::error( sprintf( __( '%s is not a valid command.', 'jetpack-heartbeat' ), $args[0] ) );
+ WP_CLI::error( sprintf( __( '%s is not a valid command.', 'jetpack-connection' ), $args[0] ) );
}
$stats = self::generate_stats_array();
@@ -247,7 +247,7 @@ class Heartbeat {
if ( $last_heartbeat ) {
$last_date = gmdate( 'Y-m-d H:i:s', $last_heartbeat );
/* translators: %s is the full datetime of the last heart beat e.g. 2020-01-01 12:21:23 */
- WP_CLI::line( sprintf( __( 'Last heartbeat sent at: %s', 'jetpack-heartbeat' ), $last_date ) );
+ WP_CLI::line( sprintf( __( 'Last heartbeat sent at: %s', 'jetpack-connection' ), $last_date ) );
}
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-initial-state.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-initial-state.php
index 0ee6d7ab..8f4e1336 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-initial-state.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-initial-state.php
@@ -7,6 +7,8 @@
namespace Automattic\Jetpack\Connection;
+use Automattic\Jetpack\Status;
+
/**
* The React initial state.
*/
@@ -25,11 +27,17 @@ class Initial_State {
* @return array
*/
private static function get_data() {
+ global $wp_version;
+
return array(
- 'WP_API_root' => esc_url_raw( rest_url() ),
- 'WP_API_nonce' => wp_create_nonce( 'wp_rest' ),
- 'registrationNonce' => wp_create_nonce( 'jetpack-registration-nonce' ),
- 'connectionStatus' => REST_Connector::connection_status( false ),
+ 'apiRoot' => esc_url_raw( rest_url() ),
+ 'apiNonce' => wp_create_nonce( 'wp_rest' ),
+ 'registrationNonce' => wp_create_nonce( 'jetpack-registration-nonce' ),
+ 'connectionStatus' => REST_Connector::connection_status( false ),
+ 'userConnectionData' => REST_Connector::get_user_connection_data( false ),
+ 'connectedPlugins' => REST_Connector::get_connection_plugins( false ),
+ 'wpVersion' => $wp_version,
+ 'siteSuffix' => ( new Status() )->get_site_suffix(),
);
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php
index 0c95bde8..3f0c25bb 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php
@@ -315,7 +315,7 @@ class Manager {
* @return false|array
*/
public function verify_xml_rpc_signature() {
- if ( is_null( $this->xmlrpc_verification ) ) {
+ if ( $this->xmlrpc_verification === null ) {
$this->xmlrpc_verification = $this->internal_verify_xml_rpc_signature();
if ( is_wp_error( $this->xmlrpc_verification ) ) {
@@ -347,7 +347,7 @@ class Manager {
* @todo Refactor to use proper nonce verification.
*/
private function internal_verify_xml_rpc_signature() {
- // phpcs:disable WordPress.Security.NonceVerification.Recommended
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
// It's not for us.
if ( ! isset( $_GET['token'] ) || empty( $_GET['signature'] ) ) {
return false;
@@ -358,14 +358,14 @@ class Manager {
'timestamp' => isset( $_GET['timestamp'] ) ? wp_unslash( $_GET['timestamp'] ) : '',
'nonce' => isset( $_GET['nonce'] ) ? wp_unslash( $_GET['nonce'] ) : '',
'body_hash' => isset( $_GET['body-hash'] ) ? wp_unslash( $_GET['body-hash'] ) : '',
- 'method' => wp_unslash( $_SERVER['REQUEST_METHOD'] ),
- 'url' => wp_unslash( $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ), // Temp - will get real signature URL later.
+ 'method' => isset( $_SERVER['REQUEST_METHOD'] ) ? wp_unslash( $_SERVER['REQUEST_METHOD'] ) : null,
+ 'url' => wp_unslash( ( isset( $_SERVER['HTTP_HOST'] ) ? $_SERVER['HTTP_HOST'] : null ) . ( isset( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : null ) ), // Temp - will get real signature URL later.
'signature' => isset( $_GET['signature'] ) ? wp_unslash( $_GET['signature'] ) : '',
);
// phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
@list( $token_key, $version, $user_id ) = explode( ':', wp_unslash( $_GET['token'] ) );
- // phpcs:enable WordPress.Security.NonceVerification.Recommended
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
$jetpack_api_version = Constants::get_constant( 'JETPACK__API_VERSION' );
@@ -433,7 +433,7 @@ class Manager {
ksort( $post_data );
$body = http_build_query( stripslashes_deep( $post_data ) );
- } elseif ( is_null( $this->raw_post_data ) ) {
+ } elseif ( $this->raw_post_data === null ) {
$body = file_get_contents( 'php://input' );
} else {
$body = null;
@@ -441,7 +441,7 @@ class Manager {
// phpcs:enable
$signature = $jetpack_signature->sign_current_request(
- array( 'body' => is_null( $body ) ? $this->raw_post_data : $body )
+ array( 'body' => $body === null ? $this->raw_post_data : $body )
);
$signature_details['url'] = $jetpack_signature->current_request_url;
@@ -458,7 +458,7 @@ class Manager {
// phpcs:disable WordPress.Security.NonceVerification.Recommended
$timestamp = (int) $_GET['timestamp'];
- $nonce = stripslashes( (string) $_GET['nonce'] );
+ $nonce = wp_unslash( (string) $_GET['nonce'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- WP Core doesn't sanitize nonces either.
// phpcs:enable WordPress.Security.NonceVerification.Recommended
// Use up the nonce regardless of whether the signature matches.
@@ -476,7 +476,7 @@ class Manager {
$signature_details['expected'] = $signature;
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
- if ( ! hash_equals( $signature, $_GET['signature'] ) ) {
+ if ( ! hash_equals( $signature, wp_unslash( $_GET['signature'] ) ) ) {
return new \WP_Error(
'signature_mismatch',
'Signature mismatch',
@@ -976,21 +976,6 @@ class Manager {
$api_version = '/' . Constants::get_constant( 'JETPACK__API_VERSION' ) . '/';
/**
- * Filters whether the connection manager should use the iframe authorization
- * flow instead of the regular redirect-based flow.
- *
- * @since 1.9.0
- *
- * @param Boolean $is_iframe_flow_used should the iframe flow be used, defaults to false.
- */
- $iframe_flow = apply_filters( 'jetpack_use_iframe_authorization_flow', false );
-
- // Do not modify anything that is not related to authorize requests.
- if ( 'authorize' === $relative_url && $iframe_flow ) {
- $relative_url = 'authorize_iframe';
- }
-
- /**
* Filters the API URL that Jetpack uses for server communication.
*
* @since 1.7.0
@@ -1159,19 +1144,12 @@ class Manager {
$this->get_tokens()->update_blog_token( (string) $registration_details->jetpack_secret );
- $allow_inplace_authorization = isset( $registration_details->allow_inplace_authorization ) ? $registration_details->allow_inplace_authorization : false;
$alternate_authorization_url = isset( $registration_details->alternate_authorization_url ) ? $registration_details->alternate_authorization_url : '';
- if ( ! $allow_inplace_authorization ) {
- // Forces register_site REST endpoint to return the Calypso authorization URL.
- add_filter( 'jetpack_use_iframe_authorization_flow', '__return_false', 20 );
- }
-
add_filter(
'jetpack_register_site_rest_response',
- function ( $response ) use ( $allow_inplace_authorization, $alternate_authorization_url ) {
- $response['allowInplaceAuthorization'] = $allow_inplace_authorization;
- $response['alternateAuthorizeUrl'] = $alternate_authorization_url;
+ function ( $response ) use ( $alternate_authorization_url ) {
+ $response['alternateAuthorizeUrl'] = $alternate_authorization_url;
return $response;
}
);
@@ -1658,16 +1636,15 @@ class Manager {
* This function will automatically perform "soft" or "hard" disconnect depending on whether other plugins are using the connection.
* This is a proxy method to simplify the Connection package API.
*
- * @see Manager::disable_plugin()
- * @see Manager::disconnect_site_wpcom()
- * @see Manager::delete_all_connection_tokens()
+ * @see Manager::disconnect_site()
*
+ * @param boolean $disconnect_wpcom Should disconnect_site_wpcom be called.
+ * @param bool $ignore_connected_plugins Delete the tokens even if there are other connected plugins.
* @return bool
*/
- public function remove_connection() {
- $this->disable_plugin();
- $this->disconnect_site_wpcom();
- $this->delete_all_connection_tokens();
+ public function remove_connection( $disconnect_wpcom = true, $ignore_connected_plugins = false ) {
+
+ $this->disconnect_site( $disconnect_wpcom, $ignore_connected_plugins );
return true;
}
@@ -1998,22 +1975,34 @@ class Manager {
* Forgets all connection details and tells the Jetpack servers to do the same.
*
* @param boolean $disconnect_wpcom Should disconnect_site_wpcom be called.
+ * @param bool $ignore_connected_plugins Delete the tokens even if there are other connected plugins.
*/
- public function disconnect_site( $disconnect_wpcom = true ) {
+ public function disconnect_site( $disconnect_wpcom = true, $ignore_connected_plugins = true ) {
+ if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
+ return false;
+ }
+
wp_clear_scheduled_hook( 'jetpack_clean_nonces' );
( new Nonce_Handler() )->clean_all();
+ /**
+ * Fires when a site is disconnected.
+ *
+ * @since 1.36.3
+ */
+ do_action( 'jetpack_site_before_disconnected' );
+
// If the site is in an IDC because sync is not allowed,
// let's make sure to not disconnect the production site.
if ( $disconnect_wpcom ) {
$tracking = new Tracking();
$tracking->record_user_event( 'disconnect_site', array() );
- $this->disconnect_site_wpcom( true );
+ $this->disconnect_site_wpcom( $ignore_connected_plugins );
}
- $this->delete_all_connection_tokens( true );
+ $this->delete_all_connection_tokens( $ignore_connected_plugins );
// Remove tracked package versions, since they depend on the Jetpack Connection.
delete_option( Package_Version_Tracker::PACKAGE_VERSION_OPTION );
@@ -2339,14 +2328,11 @@ class Manager {
* Force plugin disconnect. After its called, the plugin will not be allowed to use the connection.
* Note: this method does not remove any access tokens.
*
+ * @deprecated since 1.39.0
* @return bool
*/
public function disable_plugin() {
- if ( ! $this->plugin ) {
- return false;
- }
-
- return $this->plugin->disable();
+ return null;
}
/**
@@ -2354,14 +2340,11 @@ class Manager {
* After its called, the plugin will be allowed to use the connection again.
* Note: this method does not initialize access tokens.
*
+ * @deprecated since 1.39.0.
* @return bool
*/
public function enable_plugin() {
- if ( ! $this->plugin ) {
- return false;
- }
-
- return $this->plugin->enable();
+ return null;
}
/**
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-nonce-handler.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-nonce-handler.php
index d5790b1f..a3bfaed2 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-nonce-handler.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-nonce-handler.php
@@ -96,7 +96,7 @@ class Nonce_Handler {
$this->db->prepare( "SELECT 1 FROM `{$this->db->options}` WHERE option_name = %s", "jetpack_nonce_{$timestamp}_{$nonce}" )
);
- if ( is_null( $old_nonce ) ) {
+ if ( $old_nonce === null ) {
$return = (bool) $this->db->query(
$this->db->prepare(
"INSERT INTO `{$this->db->options}` (`option_name`, `option_value`, `autoload`) VALUES (%s, %s, %s)",
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php
index 2514b606..7d77c808 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php
@@ -38,7 +38,7 @@ class Package_Version_Tracker {
/**
* Obtains the package versions.
*
- * @since $$next_version$$
+ * @since 1.30.2
*
* @param array An associative array of Jetpack package slugs and their corresponding versions as key/value pairs.
*/
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php
index 4064bf62..b79ea6d9 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php
@@ -12,7 +12,7 @@ namespace Automattic\Jetpack\Connection;
*/
class Package_Version {
- const PACKAGE_VERSION = '1.34.0';
+ const PACKAGE_VERSION = '1.40.4';
const PACKAGE_SLUG = 'connection';
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin-storage.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin-storage.php
index 8bf1884f..a7c510d9 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin-storage.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin-storage.php
@@ -16,6 +16,12 @@ class Plugin_Storage {
const ACTIVE_PLUGINS_OPTION_NAME = 'jetpack_connection_active_plugins';
+ /**
+ * Options where disabled plugins were stored
+ *
+ * @deprecated since 1.39.0.
+ * @var string
+ */
const PLUGINS_DISABLED_OPTION_NAME = 'jetpack_connection_disabled_plugins';
/**
@@ -93,18 +99,20 @@ class Plugin_Storage {
* Even if you don't use Jetpack Config, it may be introduced later by other plugins,
* so please make sure not to run the method too early in the code.
*
- * @param bool $connected_only Exclude plugins that were explicitly disconnected.
+ * @since 1.39.0 deprecated the $connected_only argument.
+ *
+ * @param null $deprecated null plugins that were explicitly disconnected. Deprecated, there's no such a thing as disconnecting only specific plugins anymore.
*
* @return array|WP_Error
*/
- public static function get_all( $connected_only = false ) {
+ public static function get_all( $deprecated = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$maybe_error = self::ensure_configured();
if ( $maybe_error instanceof WP_Error ) {
return $maybe_error;
}
- return $connected_only ? array_diff_key( self::$plugins, array_flip( self::get_all_disabled_plugins() ) ) : self::$plugins;
+ return self::$plugins;
}
/**
@@ -164,6 +172,7 @@ class Plugin_Storage {
}
// If a plugin was activated or deactivated.
+ // self::$plugins is populated in Config::ensure_options_connection().
$number_of_plugins_differ = count( self::$plugins ) !== count( (array) get_option( self::ACTIVE_PLUGINS_OPTION_NAME, array() ) );
if ( $number_of_plugins_differ || true === self::$refresh_connected_plugins ) {
@@ -191,47 +200,38 @@ class Plugin_Storage {
/**
* Add the plugin to the set of disconnected ones.
*
+ * @deprecated since 1.39.0.
+ *
* @param string $slug Plugin slug.
*
* @return bool
*/
- public static function disable_plugin( $slug ) {
- $disconnects = self::get_all_disabled_plugins();
-
- if ( ! in_array( $slug, $disconnects, true ) ) {
- $disconnects[] = $slug;
- update_option( self::PLUGINS_DISABLED_OPTION_NAME, $disconnects );
- }
-
+ public static function disable_plugin( $slug ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return true;
}
/**
* Remove the plugin from the set of disconnected ones.
*
+ * @deprecated since 1.39.0.
+ *
* @param string $slug Plugin slug.
*
* @return bool
*/
- public static function enable_plugin( $slug ) {
- $disconnects = self::get_all_disabled_plugins();
-
- $slug_index = array_search( $slug, $disconnects, true );
- if ( false !== $slug_index ) {
- unset( $disconnects[ $slug_index ] );
- update_option( self::PLUGINS_DISABLED_OPTION_NAME, $disconnects );
- }
-
+ public static function enable_plugin( $slug ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return true;
}
/**
* Get all plugins that were disconnected by user.
*
+ * @deprecated since 1.39.0.
+ *
* @return array
*/
- public static function get_all_disabled_plugins() {
- return (array) get_option( self::PLUGINS_DISABLED_OPTION_NAME, array() );
+ public static function get_all_disabled_plugins() { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ return array();
}
/**
@@ -239,7 +239,7 @@ class Plugin_Storage {
* This is a fallback to ensure this option is always up to date on WPCOM in case
* Sync is not present or disabled.
*
- * @since $$next_version$$
+ * @since 1.34.0
*/
private static function update_active_plugins_wpcom_no_sync_fallback() {
$connection = new Manager();
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin.php
index 92914350..143fe001 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-plugin.php
@@ -91,28 +91,32 @@ class Plugin {
/**
* Add the plugin to the set of disconnected ones.
*
+ * @deprecated since 1.39.0.
+ *
* @return bool
*/
public function disable() {
- return Plugin_Storage::disable_plugin( $this->slug );
+ return true;
}
/**
* Remove the plugin from the set of disconnected ones.
*
+ * @deprecated since 1.39.0.
+ *
* @return bool
*/
public function enable() {
- return Plugin_Storage::enable_plugin( $this->slug );
+ return true;
}
/**
* Whether this plugin is allowed to use the connection.
*
+ * @deprecated since $next-version$$
* @return bool
*/
public function is_enabled() {
- return ! in_array( $this->slug, Plugin_Storage::get_all_disabled_plugins(), true );
+ return true;
}
-
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php
index c327d7df..a348d0c6 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php
@@ -145,7 +145,7 @@ class REST_Connector {
'/connection/plugins',
array(
'methods' => WP_REST_Server::READABLE,
- 'callback' => array( $this, 'get_connection_plugins' ),
+ 'callback' => array( __CLASS__, 'get_connection_plugins' ),
'permission_callback' => __CLASS__ . '::connection_plugins_permission_check',
)
);
@@ -179,10 +179,6 @@ class REST_Connector {
'type' => 'string',
'required' => true,
),
- 'no_iframe' => array(
- 'description' => __( 'Disable In-Place connection flow and go straight to Calypso', 'jetpack-connection' ),
- 'type' => 'boolean',
- ),
'redirect_uri' => array(
'description' => __( 'URI of the admin page where the user should be redirected after connection flow', 'jetpack-connection' ),
'type' => 'string',
@@ -204,10 +200,6 @@ class REST_Connector {
'callback' => array( $this, 'connection_authorize_url' ),
'permission_callback' => __CLASS__ . '::user_connection_data_permission_check',
'args' => array(
- 'no_iframe' => array(
- 'description' => __( 'Disable In-Place connection flow and go straight to Calypso', 'jetpack-connection' ),
- 'type' => 'boolean',
- ),
'redirect_uri' => array(
'description' => __( 'URI of the admin page where the user should be redirected after connection flow', 'jetpack-connection' ),
'type' => 'string',
@@ -323,7 +315,7 @@ class REST_Connector {
'filter' => ( apply_filters( 'jetpack_development_mode', false ) || apply_filters( 'jetpack_offline_mode', false ) ), // jetpack_development_mode is deprecated.
'wpLocalConstant' => defined( 'WP_LOCAL_DEV' ) && WP_LOCAL_DEV,
),
- 'isPublic' => '1' == get_option( 'blog_public' ), // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ 'isPublic' => '1' == get_option( 'blog_public' ), // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
);
/**
@@ -347,12 +339,15 @@ class REST_Connector {
/**
* Get plugins connected to the Jetpack.
*
+ * @param bool $rest_response Should we return a rest response or a simple array. Default to rest response.
+ *
* @since 1.13.1
+ * @since 1.38.0 Added $rest_response param.
*
* @return WP_REST_Response|WP_Error Response or error object, depending on the request result.
*/
- public function get_connection_plugins() {
- $plugins = $this->connection->get_connected_plugins();
+ public static function get_connection_plugins( $rest_response = true ) {
+ $plugins = ( new Manager() )->get_connected_plugins();
if ( is_wp_error( $plugins ) ) {
return $plugins;
@@ -365,7 +360,12 @@ class REST_Connector {
}
);
- return rest_ensure_response( array_values( $plugins ) );
+ if ( $rest_response ) {
+ return rest_ensure_response( array_values( $plugins ) );
+ }
+
+ return array_values( $plugins );
+
}
/**
@@ -425,11 +425,13 @@ class REST_Connector {
* Information about the master/primary user.
* Information about the current user.
*
+ * @param bool $rest_response Should we return a rest response or a simple array. Default to rest response.
+ *
* @since 1.30.1
*
- * @return \WP_REST_Response
+ * @return \WP_REST_Response|array
*/
- public static function get_user_connection_data() {
+ public static function get_user_connection_data( $rest_response = true ) {
$connection = new Manager();
$current_user = wp_get_current_user();
@@ -484,7 +486,13 @@ class REST_Connector {
'currentUser' => $current_user_connection_data,
'connectionOwner' => $owner_display_name,
);
- return rest_ensure_response( $response );
+
+ if ( $rest_response ) {
+ return rest_ensure_response( $response );
+ }
+
+ return $response;
+
}
/**
@@ -523,13 +531,13 @@ class REST_Connector {
return false;
}
- $signature = base64_decode( $_GET['signature'] ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
+ $signature = base64_decode( filter_var( wp_unslash( $_GET['signature'] ) ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
$signature_data = wp_json_encode(
array(
- 'rest_route' => $_GET['rest_route'],
+ 'rest_route' => filter_var( wp_unslash( $_GET['rest_route'] ) ),
'timestamp' => (int) $_GET['timestamp'],
- 'url' => wp_unslash( $_GET['url'] ),
+ 'url' => filter_var( wp_unslash( $_GET['url'] ) ),
)
);
@@ -668,17 +676,9 @@ class REST_Connector {
$redirect_uri = $request->get_param( 'redirect_uri' ) ? admin_url( $request->get_param( 'redirect_uri' ) ) : null;
if ( class_exists( 'Jetpack' ) ) {
- $authorize_url = \Jetpack::build_authorize_url( $redirect_uri, ! $request->get_param( 'no_iframe' ) );
+ $authorize_url = \Jetpack::build_authorize_url( $redirect_uri );
} else {
- if ( ! $request->get_param( 'no_iframe' ) ) {
- add_filter( 'jetpack_use_iframe_authorization_flow', '__return_true' );
- }
-
$authorize_url = $this->connection->get_authorization_url( null, $redirect_uri );
-
- if ( ! $request->get_param( 'no_iframe' ) ) {
- remove_filter( 'jetpack_use_iframe_authorization_flow', '__return_true' );
- }
}
/**
@@ -711,18 +711,9 @@ class REST_Connector {
* @return \WP_REST_Response|WP_Error
*/
public function connection_authorize_url( $request ) {
- $redirect_uri = $request->get_param( 'redirect_uri' ) ? admin_url( $request->get_param( 'redirect_uri' ) ) : null;
-
- if ( ! $request->get_param( 'no_iframe' ) ) {
- add_filter( 'jetpack_use_iframe_authorization_flow', '__return_true' );
- }
-
+ $redirect_uri = $request->get_param( 'redirect_uri' ) ? admin_url( $request->get_param( 'redirect_uri' ) ) : null;
$authorize_url = $this->connection->get_authorization_url( null, $redirect_uri );
- if ( ! $request->get_param( 'no_iframe' ) ) {
- remove_filter( 'jetpack_use_iframe_authorization_flow', '__return_true' );
- }
-
return rest_ensure_response(
array(
'authorizeUrl' => $authorize_url,
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php
index 619194ad..2d45a0b6 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php
@@ -26,14 +26,14 @@ class Server_Sandbox {
return;
}
- add_action( 'requests-requests.before_request', array( $this, 'server_sandbox' ), 10, 2 );
+ add_action( 'requests-requests.before_request', array( $this, 'server_sandbox' ), 10, 4 );
add_action( 'admin_bar_menu', array( $this, 'admin_bar_add_sandbox_item' ), 999 );
/**
* Fires when the server sandbox is initialized. This action is used to ensure that
* the server sandbox action hooks are set up only once.
*
- * @since $$next_version$$
+ * @since 1.30.7
*/
do_action( 'jetpack_server_sandbox_init' );
}
@@ -44,16 +44,20 @@ class Server_Sandbox {
* @param string $sandbox Sandbox domain.
* @param string $url URL of request about to be made.
* @param array $headers Headers of request about to be made.
+ * @param string $data The body of request about to be made.
+ * @param string $method The method of request about to be made.
*
- * @return array [ 'url' => new URL, 'host' => new Host ]
+ * @return array [ 'url' => new URL, 'host' => new Host, 'new_signature => New signature if url was changed ]
*/
- public function server_sandbox_request_parameters( $sandbox, $url, $headers ) {
- $host = '';
+ public function server_sandbox_request_parameters( $sandbox, $url, $headers, $data = null, $method = 'GET' ) {
+ $host = '';
+ $new_signature = '';
if ( ! is_string( $sandbox ) || ! is_string( $url ) ) {
return array(
- 'url' => $url,
- 'host' => $host,
+ 'url' => $url,
+ 'host' => $host,
+ 'new_signature' => $new_signature,
);
}
@@ -64,16 +68,118 @@ class Server_Sandbox {
case 'jetpack.wordpress.com':
case 'jetpack.com':
case 'dashboard.wordpress.com':
- $host = isset( $headers['Host'] ) ? $headers['Host'] : $url_host;
- $url = preg_replace(
+ $host = isset( $headers['Host'] ) ? $headers['Host'] : $url_host;
+ $original_url = $url;
+ $url = preg_replace(
'@^(https?://)' . preg_quote( $url_host, '@' ) . '(?=[/?#].*|$)@',
'${1}' . $sandbox,
$url,
1
);
+
+ /**
+ * Whether to add the X Debug query parameter to the request made to the Sandbox
+ *
+ * @since 1.36.0
+ *
+ * @param bool $add_parameter Whether to add the parameter to the request or not. Default is to false.
+ * @param string $url The URL of the request being made.
+ * @param string $host The host of the request being made.
+ */
+ if ( apply_filters( 'jetpack_sandbox_add_profile_parameter', false, $url, $host ) ) {
+ $url = add_query_arg( 'XDEBUG_PROFILE', 1, $url );
+
+ // URL has been modified since the signature was created. We'll need a new one.
+ $original_url = add_query_arg( 'XDEBUG_PROFILE', 1, $original_url );
+ $new_signature = $this->get_new_signature( $original_url, $headers, $data, $method );
+
+ }
+ }
+
+ return compact( 'url', 'host', 'new_signature' );
+ }
+
+ /**
+ * Gets a new signature for the request
+ *
+ * @param string $url The new URL to be signed.
+ * @param array $headers The headers of the request about to be made.
+ * @param string $data The body of request about to be made.
+ * @param string $method The method of the request about to be made.
+ * @return string|null
+ */
+ private function get_new_signature( $url, $headers, $data, $method ) {
+
+ if ( ! empty( $headers['Authorization'] ) ) {
+ $a_headers = $this->extract_authorization_headers( $headers );
+ if ( ! empty( $a_headers ) ) {
+ $token_details = explode( ':', $a_headers['token'] );
+
+ if ( count( $token_details ) === 3 ) {
+ $user_id = $token_details[2];
+ $token = ( new Tokens() )->get_access_token( $user_id );
+ $time_diff = (int) \Jetpack_Options::get_option( 'time_diff' );
+ $jetpack_signature = new \Jetpack_Signature( $token->secret, $time_diff );
+
+ $signature = $jetpack_signature->sign_request(
+ $a_headers['token'],
+ $a_headers['timestamp'],
+ $a_headers['nonce'],
+ $a_headers['body-hash'],
+ $method,
+ $url,
+ $data,
+ false
+ );
+
+ if ( $signature && ! is_wp_error( $signature ) ) {
+ return $signature;
+ } elseif ( is_wp_error( $signature ) ) {
+ $this->log_new_signature_error( $signature->get_error_message() );
+ }
+ } else {
+ $this->log_new_signature_error( 'Malformed token on Authorization Header' );
+ }
+ } else {
+ $this->log_new_signature_error( 'Error extracting Authorization Header' );
+ }
+ } else {
+ $this->log_new_signature_error( 'Empty Authorization Header' );
}
- return compact( 'url', 'host' );
+ }
+
+ /**
+ * Logs error if the attempt to create a new signature fails
+ *
+ * @param string $message The error message.
+ * @return void
+ */
+ private function log_new_signature_error( $message ) {
+ if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
+ error_log( sprintf( "SANDBOXING: Error re-signing the request. '%s'", $message ) ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
+ }
+ }
+
+ /**
+ * Extract the values in the Authorization header into an array
+ *
+ * @param array $headers The headers of the request about to be made.
+ * @return array|null
+ */
+ public function extract_authorization_headers( $headers ) {
+ if ( ! empty( $headers['Authorization'] ) && is_string( $headers['Authorization'] ) ) {
+ $header = str_replace( 'X_JETPACK ', '', $headers['Authorization'] );
+ $vars = explode( ' ', $header );
+ $result = array();
+ foreach ( $vars as $var ) {
+ $elements = explode( '"', $var );
+ if ( count( $elements ) === 3 ) {
+ $result[ substr( $elements[0], 0, -1 ) ] = $elements[1];
+ }
+ }
+ return $result;
+ }
}
/**
@@ -82,24 +188,30 @@ class Server_Sandbox {
*
* Attached to the `requests-requests.before_request` filter.
*
- * @param string $url URL of request about to be made.
- * @param array $headers Headers of request about to be made.
+ * @param string $url URL of request about to be made.
+ * @param array $headers Headers of request about to be made.
+ * @param array|string $data Data of request about to be made.
+ * @param string $type Type of request about to be made.
* @return void
*/
- public function server_sandbox( &$url, &$headers ) {
+ public function server_sandbox( &$url, &$headers, &$data = null, &$type = null ) {
if ( ! Constants::get_constant( 'JETPACK__SANDBOX_DOMAIN' ) ) {
return;
}
$original_url = $url;
- $request_parameters = $this->server_sandbox_request_parameters( Constants::get_constant( 'JETPACK__SANDBOX_DOMAIN' ), $url, $headers );
+ $request_parameters = $this->server_sandbox_request_parameters( Constants::get_constant( 'JETPACK__SANDBOX_DOMAIN' ), $url, $headers, $data, $type );
$url = $request_parameters['url'];
if ( $request_parameters['host'] ) {
$headers['Host'] = $request_parameters['host'];
+ if ( $request_parameters['new_signature'] ) {
+ $headers['Authorization'] = preg_replace( '/signature=\"[^\"]+\"/', 'signature="' . $request_parameters['new_signature'] . '"', $headers['Authorization'] );
+ }
+
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
error_log( sprintf( "SANDBOXING via '%s': '%s'", Constants::get_constant( 'JETPACK__SANDBOX_DOMAIN' ), $original_url ) ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-terms-of-service.php
index 54bdbf1e..c94d4fb5 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-terms-of-service.php
@@ -2,7 +2,7 @@
/**
* A Terms of Service class for Jetpack.
*
- * @package automattic/jetpack-terms-of-service
+ * @package automattic/jetpack-connection
*/
namespace Automattic\Jetpack;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-tokens.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-tokens.php
index 38fb58d4..4a752def 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-tokens.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-tokens.php
@@ -9,6 +9,9 @@ namespace Automattic\Jetpack\Connection;
use Automattic\Jetpack\Constants;
use Automattic\Jetpack\Roles;
+use DateInterval;
+use DateTime;
+use Exception;
use Jetpack_Options;
use WP_Error;
@@ -20,6 +23,11 @@ class Tokens {
const MAGIC_NORMAL_TOKEN_KEY = ';normal;';
/**
+ * Datetime format.
+ */
+ const DATE_FORMAT_ATOM = 'Y-m-d\TH:i:sP';
+
+ /**
* Deletes all connection tokens and transients from the local Jetpack site.
*/
public function delete_all() {
@@ -30,6 +38,8 @@ class Tokens {
'user_tokens',
)
);
+
+ $this->remove_lock();
}
/**
@@ -58,7 +68,7 @@ class Tokens {
// Cannot validate non-existent tokens.
if ( false === $user_token || false === $blog_token ) {
return false;
- };
+ }
$method = 'POST';
$body = array(
@@ -357,6 +367,11 @@ class Tokens {
* @return object|false
*/
public function get_access_token( $user_id = false, $token_key = false, $suppress_errors = true ) {
+ if ( $this->is_locked() ) {
+ $this->delete_all();
+ return false;
+ }
+
$possible_special_tokens = array();
$possible_normal_tokens = array();
$user_tokens = $this->get_user_tokens();
@@ -592,4 +607,85 @@ class Tokens {
public function update_user_tokens( $tokens ) {
return Jetpack_Options::update_option( 'user_tokens', $tokens );
}
+
+ /**
+ * Lock the tokens to the current site URL.
+ *
+ * @param int $timespan How long the tokens should be locked, in seconds.
+ *
+ * @return bool
+ */
+ public function set_lock( $timespan = HOUR_IN_SECONDS ) {
+ try {
+ $expires = ( new DateTime() )->add( DateInterval::createFromDateString( (int) $timespan . ' seconds' ) );
+ } catch ( Exception $e ) {
+ return false;
+ }
+
+ if ( false === $expires ) {
+ return false;
+ }
+
+ // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
+ return Jetpack_Options::update_option( 'token_lock', $expires->format( static::DATE_FORMAT_ATOM ) . '|||' . base64_encode( Urls::site_url() ) );
+ }
+
+ /**
+ * Remove the site lock from tokens.
+ *
+ * @return bool
+ */
+ public function remove_lock() {
+ Jetpack_Options::delete_option( 'token_lock' );
+
+ return true;
+ }
+
+ /**
+ * Check if the domain is locked, remove the lock if needed.
+ * Possible scenarios:
+ * - lock expired, site URL matches the lock URL: remove the lock, return false.
+ * - lock not expired, site URL matches the lock URL: return false.
+ * - site URL does not match the lock URL (expiration date is ignored): return true, do not remove the lock.
+ *
+ * @return bool
+ */
+ public function is_locked() {
+ $the_lock = Jetpack_Options::get_option( 'token_lock' );
+ if ( ! $the_lock ) {
+ // Not locked.
+ return false;
+ }
+
+ $the_lock = explode( '|||', $the_lock, 2 );
+ if ( count( $the_lock ) !== 2 ) {
+ // Something's wrong with the lock.
+ $this->remove_lock();
+ return false;
+ }
+
+ // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
+ $locked_site_url = base64_decode( $the_lock[1] );
+ $expires = $the_lock[0];
+
+ $expiration_date = DateTime::createFromFormat( static::DATE_FORMAT_ATOM, $expires );
+ if ( false === $expiration_date || ! $locked_site_url ) {
+ // Something's wrong with the lock.
+ $this->remove_lock();
+ return false;
+ }
+
+ if ( Urls::site_url() === $locked_site_url ) {
+ if ( new DateTime() > $expiration_date ) {
+ // Site lock expired.
+ // Site URL matches, removing the lock.
+ $this->remove_lock();
+ }
+
+ return false;
+ }
+
+ // Site URL doesn't match.
+ return true;
+ }
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/src/class-tracking.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php
index cc9d1de2..ef1f07eb 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/src/class-tracking.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php
@@ -2,7 +2,7 @@
/**
* Nosara Tracks for Jetpack
*
- * @package automattic/jetpack-tracking
+ * @package automattic/jetpack-connection
*/
namespace Automattic\Jetpack;
@@ -15,6 +15,7 @@ class Tracking {
* The assets version.
*
* @since 1.13.1
+ * @deprecated since 1.40.1
*
* @var string Assets version.
*/
@@ -43,7 +44,7 @@ class Tracking {
public function __construct( $product_name = 'jetpack', $connection = null ) {
$this->product_name = $product_name;
$this->connection = $connection;
- if ( is_null( $this->connection ) ) {
+ if ( $this->connection === null ) {
// TODO We should always pass a Connection.
$this->connection = new Connection\Manager();
}
@@ -71,17 +72,17 @@ class Tracking {
// Check for nonce.
if (
empty( $_REQUEST['tracksNonce'] )
- || ! wp_verify_nonce( $_REQUEST['tracksNonce'], 'jp-tracks-ajax-nonce' )
+ || ! wp_verify_nonce( $_REQUEST['tracksNonce'], 'jp-tracks-ajax-nonce' ) // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- WP core doesn't pre-sanitize nonces either.
) {
wp_send_json_error(
- __( 'You aren’t authorized to do that.', 'jetpack-tracking' ),
+ __( 'You aren’t authorized to do that.', 'jetpack-connection' ),
403
);
}
if ( ! isset( $_REQUEST['tracksEventName'] ) || ! isset( $_REQUEST['tracksEventType'] ) ) {
wp_send_json_error(
- __( 'No valid event name or type.', 'jetpack-tracking' ),
+ __( 'No valid event name or type.', 'jetpack-connection' ),
403
);
}
@@ -89,13 +90,13 @@ class Tracking {
$tracks_data = array();
if ( 'click' === $_REQUEST['tracksEventType'] && isset( $_REQUEST['tracksEventProp'] ) ) {
if ( is_array( $_REQUEST['tracksEventProp'] ) ) {
- $tracks_data = $_REQUEST['tracksEventProp'];
+ $tracks_data = array_map( 'filter_var', wp_unslash( $_REQUEST['tracksEventProp'] ) );
} else {
- $tracks_data = array( 'clicked' => $_REQUEST['tracksEventProp'] );
+ $tracks_data = array( 'clicked' => filter_var( wp_unslash( $_REQUEST['tracksEventProp'] ) ) );
}
}
- $this->record_user_event( $_REQUEST['tracksEventName'], $tracks_data, null, false );
+ $this->record_user_event( filter_var( wp_unslash( $_REQUEST['tracksEventName'] ) ), $tracks_data, null, false );
wp_send_json_success();
}
@@ -116,38 +117,33 @@ class Tracking {
true
);
- if ( $enqueue ) {
- // Enqueue jp-tracks-functions script.
- wp_enqueue_script(
- 'jp-tracks-functions',
- Assets::get_file_url_for_environment( 'js/tracks-callables.js', 'js/tracks-callables.js', __FILE__ ),
- array( 'jp-tracks' ),
- self::ASSETS_VERSION,
- true
- );
- } else {
- // Register jp-tracks-functions script.
- wp_register_script(
- 'jp-tracks-functions',
- Assets::get_file_url_for_environment( 'js/tracks-callables.js', 'js/tracks-callables.js', __FILE__ ),
- array( 'jp-tracks' ),
- self::ASSETS_VERSION,
- true
- );
- }
-
+ Assets::register_script(
+ 'jp-tracks-functions',
+ '../dist/tracks-callables.js',
+ __FILE__,
+ array(
+ 'dependencies' => array( 'jp-tracks' ),
+ 'enqueue' => $enqueue,
+ 'in_footer' => true,
+ 'nonmin_path' => 'js/tracks-callables.js',
+ )
+ );
}
/**
* Enqueue script necessary for tracking.
*/
public function enqueue_tracks_scripts() {
- wp_enqueue_script(
+ Assets::register_script(
'jptracks',
- Assets::get_file_url_for_environment( 'js/tracks-ajax.js', 'js/tracks-ajax.js', __FILE__ ),
- array(),
- self::ASSETS_VERSION,
- true
+ '../dist/tracks-ajax.js',
+ __FILE__,
+ array(
+ 'dependencies' => array( 'jquery' ),
+ 'enqueue' => true,
+ 'in_footer' => true,
+ 'nonmin_path' => 'js/tracks-ajax.js',
+ )
);
wp_localize_script(
@@ -175,9 +171,9 @@ class Tracking {
}
$site_url = get_option( 'siteurl' );
- $data['_via_ua'] = isset( $_SERVER['HTTP_USER_AGENT'] ) ? $_SERVER['HTTP_USER_AGENT'] : '';
- $data['_via_ip'] = isset( $_SERVER['REMOTE_ADDR'] ) ? $_SERVER['REMOTE_ADDR'] : '';
- $data['_lg'] = isset( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : '';
+ $data['_via_ua'] = isset( $_SERVER['HTTP_USER_AGENT'] ) ? filter_var( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ) : '';
+ $data['_via_ip'] = isset( $_SERVER['REMOTE_ADDR'] ) ? filter_var( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ) : '';
+ $data['_lg'] = isset( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) ? filter_var( wp_unslash( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) ) : '';
$data['blog_url'] = $site_url;
$data['blog_id'] = \Jetpack_Options::get_option( 'id' );
@@ -313,7 +309,7 @@ class Tracking {
}
if ( ! isset( $_COOKIE['tk_ai'] ) && ! headers_sent() ) {
- setcookie( 'tk_ai', $anon_id );
+ setcookie( 'tk_ai', $anon_id, 0, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), false ); // phpcs:ignore Jetpack.Functions.SetCookie -- This is a random string and should be fine.
}
return array(
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php
index f8bd065b..468ea59f 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php
@@ -41,7 +41,7 @@ class Utils {
* @return mixed | null
*/
public static function jetpack_api_constant_filter( $constant_value, $constant_name ) {
- if ( ! is_null( $constant_value ) ) {
+ if ( $constant_value !== null ) {
// If the constant value was already set elsewhere, use that value.
return $constant_value;
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php
index 72225d19..88f5f05c 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php
@@ -41,15 +41,35 @@ class Webhooks {
$webhooks = new static( $connection );
add_action( 'init', array( $webhooks, 'controller' ) );
+ add_action( 'load-toplevel_page_jetpack', array( $webhooks, 'fallback_jetpack_controller' ) );
+ }
+
+ /**
+ * Jetpack plugin used to trigger this webhooks in Jetpack::admin_page_load()
+ *
+ * The Jetpack toplevel menu is still accessible for stand-alone plugins, and while there's no content for that page, there are still
+ * actions from Calypso and WPCOM that reach that route regardless of the site having the Jetpack plugin or not. That's why we are still handling it here.
+ */
+ public function fallback_jetpack_controller() {
+ $this->controller( true );
}
/**
* The "controller" decides which handler we need to run.
+ *
+ * @param bool $force Do not check if it's a webhook request and just run the controller.
*/
- public function controller() {
- // The nonce is verified in specific handlers.
+ public function controller( $force = false ) {
+ if ( ! $force ) {
+ // The nonce is verified in specific handlers.
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( empty( $_GET['handler'] ) || 'jetpack-connection-webhooks' !== $_GET['handler'] ) {
+ return;
+ }
+ }
+
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
- if ( empty( $_GET['handler'] ) || empty( $_GET['action'] ) || 'jetpack-connection-webhooks' !== $_GET['handler'] ) {
+ if ( empty( $_GET['action'] ) ) {
return;
}
@@ -58,10 +78,15 @@ class Webhooks {
switch ( $_GET['action'] ) {
case 'authorize':
$this->handle_authorize();
+ $this->do_exit();
break;
+ case 'authorize_redirect':
+ $this->handle_authorize_redirect();
+ $this->do_exit();
+ break;
+ // Class Jetpack::admin_page_load() still handles other cases.
}
- $this->do_exit();
}
/**
@@ -119,6 +144,14 @@ class Webhooks {
}
/**
+ * The authorhize_redirect webhook handler
+ */
+ public function handle_authorize_redirect() {
+ $authorize_redirect_handler = new Webhooks\Authorize_Redirect( $this->connection );
+ $authorize_redirect_handler->handle();
+ }
+
+ /**
* The `exit` is wrapped into a method so we could mock it.
*/
protected function do_exit() {
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/src/js/tracks-ajax.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/js/tracks-ajax.js
index cea7cc04..1b6b878e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/src/js/tracks-ajax.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/js/tracks-ajax.js
@@ -1,10 +1,10 @@
/* global jpTracksAJAX */
( function ( $, jpTracksAJAX ) {
window.jpTracksAJAX = window.jpTracksAJAX || {};
- var debugSet = localStorage.getItem( 'debug' ) === 'dops:analytics';
+ const debugSet = localStorage.getItem( 'debug' ) === 'dops:analytics';
window.jpTracksAJAX.record_ajax_event = function ( eventName, eventType, eventProp ) {
- var data = {
+ const data = {
tracksNonce: jpTracksAJAX.jpTracksAJAX_nonce,
action: 'jetpack_tracks',
tracksEventType: eventType,
@@ -27,21 +27,22 @@
$( document ).ready( function () {
$( 'body' ).on( 'click', '.jptracks a, a.jptracks', function ( event ) {
- var $this = $( event.target );
+ const $this = $( event.target );
// We know that the jptracks element is either this, or its ancestor
- var $jptracks = $this.closest( '.jptracks' );
+ const $jptracks = $this.closest( '.jptracks' );
// We need an event name at least
- var eventName = $jptracks.attr( 'data-jptracks-name' );
+ const eventName = $jptracks.attr( 'data-jptracks-name' );
if ( undefined === eventName ) {
return;
}
- var eventProp = $jptracks.attr( 'data-jptracks-prop' ) || false;
+ const eventProp = $jptracks.attr( 'data-jptracks-prop' ) || false;
- var url = $this.attr( 'href' );
- var target = $this.get( 0 ).target;
+ const url = $this.attr( 'href' );
+ const target = $this.get( 0 ).target;
+ let newTabWindow = null;
if ( url && target && '_self' !== target ) {
- var newTabWindow = window.open( '', target );
+ newTabWindow = window.open( '', target );
newTabWindow.opener = null;
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/src/js/tracks-callables.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/js/tracks-callables.js
index c7fb85d6..b295c823 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/src/js/tracks-callables.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/js/tracks-callables.js
@@ -8,14 +8,21 @@
// Load tracking scripts
window._tkq = window._tkq || [];
-var _user;
-var debug = console.error; // eslint-disable-line no-console
+let _user;
+const debug = console.error; // eslint-disable-line no-console
+/**
+ * Build a query string.
+ *
+ * @param {string|object} group - Stat group, or object mapping groups to names.
+ * @param {string} [name] - Stat name, when `group` is a string.
+ * @returns {string} Query string fragment.
+ */
function buildQuerystring( group, name ) {
- var uriComponent = '';
+ let uriComponent = '';
if ( 'object' === typeof group ) {
- for ( var key in group ) {
+ for ( const key in group ) {
uriComponent += '&x_' + encodeURIComponent( key ) + '=' + encodeURIComponent( group[ key ] );
}
} else {
@@ -25,7 +32,7 @@ function buildQuerystring( group, name ) {
return uriComponent;
}
-var analytics = {
+const analytics = {
initialize: function ( userId, username ) {
analytics.setUser( userId, username );
analytics.identifyUser();
@@ -33,7 +40,7 @@ var analytics = {
mc: {
bumpStat: function ( group, name ) {
- var uriComponent = buildQuerystring( group, name ); // prints debug info
+ const uriComponent = buildQuerystring( group, name ); // prints debug info
new Image().src =
document.location.protocol +
'//pixel.wp.com/g.gif?v=wpcom-no-pv' +
@@ -77,3 +84,11 @@ var analytics = {
window._tkq.push( [ 'clearIdentity' ] );
},
};
+
+if ( typeof module !== 'undefined' ) {
+ // Bundled by Webpack.
+ module.exports = analytics;
+} else {
+ // Direct load.
+ window.analytics = analytics;
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/webhooks/class-authorize-redirect.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/webhooks/class-authorize-redirect.php
new file mode 100644
index 00000000..664d7db8
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/webhooks/class-authorize-redirect.php
@@ -0,0 +1,197 @@
+<?php
+/**
+ * Authorize_Redirect Webhook handler class.
+ *
+ * @package automattic/jetpack-connection
+ */
+
+namespace Automattic\Jetpack\Connection\Webhooks;
+
+use Automattic\Jetpack\Admin_UI\Admin_Menu;
+use Automattic\Jetpack\Constants;
+use Automattic\Jetpack\Tracking;
+use GP_Locales;
+use Jetpack_Network;
+
+/**
+ * Authorize_Redirect Webhook handler class.
+ */
+class Authorize_Redirect {
+
+ /**
+ * Constructs the object
+ *
+ * @param Automattic\Jetpack\Connection\Manager $connection The Connection Manager object.
+ */
+ public function __construct( $connection ) {
+ $this->connection = $connection;
+ }
+
+ /**
+ * Handle the webhook
+ *
+ * This method implements what's in Jetpack::admin_page_load when the Jetpack plugin is not present
+ */
+ public function handle() {
+
+ add_filter(
+ 'allowed_redirect_hosts',
+ function ( $domains ) {
+ $domains[] = 'jetpack.com';
+ $domains[] = 'jetpack.wordpress.com';
+ $domains[] = 'wordpress.com';
+ // Calypso envs.
+ $domains[] = 'http://calypso.localhost:3000/';
+ $domains[] = 'https://wpcalypso.wordpress.com/';
+ $domains[] = 'https://horizon.wordpress.com/';
+ return array_unique( $domains );
+ }
+ );
+
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $dest_url = empty( $_GET['dest_url'] ) ? null : esc_url_raw( wp_unslash( $_GET['dest_url'] ) );
+
+ if ( ! $dest_url || ( 0 === stripos( $dest_url, 'https://jetpack.com/' ) && 0 === stripos( $dest_url, 'https://wordpress.com/' ) ) ) {
+ // The destination URL is missing or invalid, nothing to do here.
+ exit;
+ }
+
+ if ( $this->connection->is_connected() && $this->connection->is_user_connected() ) {
+ // The user is either already connected, or finished the connection process.
+ wp_safe_redirect( $dest_url );
+ exit;
+ } elseif ( ! empty( $_GET['done'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ // The user decided not to proceed with setting up the connection.
+
+ wp_safe_redirect( Admin_Menu::get_top_level_menu_item_url() );
+ exit;
+ }
+
+ $redirect_args = array(
+ 'page' => 'jetpack',
+ 'action' => 'authorize_redirect',
+ 'dest_url' => rawurlencode( $dest_url ),
+ 'done' => '1',
+ );
+
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( ! empty( $_GET['from'] ) && 'jetpack_site_only_checkout' === $_GET['from'] ) {
+ $redirect_args['from'] = 'jetpack_site_only_checkout';
+ }
+
+ wp_safe_redirect( $this->build_authorize_url( add_query_arg( $redirect_args, admin_url( 'admin.php' ) ) ) );
+ exit;
+ }
+
+ /**
+ * Create the Jetpack authorization URL. Copied from Jetpack class.
+ *
+ * @param bool|string $redirect URL to redirect to.
+ *
+ * @todo Update default value for redirect since the called function expects a string.
+ *
+ * @return mixed|void
+ */
+ public function build_authorize_url( $redirect = false ) {
+
+ add_filter( 'jetpack_connect_request_body', array( __CLASS__, 'filter_connect_request_body' ) );
+ add_filter( 'jetpack_connect_redirect_url', array( __CLASS__, 'filter_connect_redirect_url' ) );
+
+ $url = $this->connection->get_authorization_url( wp_get_current_user(), $redirect );
+
+ remove_filter( 'jetpack_connect_request_body', array( __CLASS__, 'filter_connect_request_body' ) );
+ remove_filter( 'jetpack_connect_redirect_url', array( __CLASS__, 'filter_connect_redirect_url' ) );
+
+ /**
+ * This filter is documented in plugins/jetpack/class-jetpack.php
+ */
+ return apply_filters( 'jetpack_build_authorize_url', $url );
+ }
+
+ /**
+ * Filters the redirection URL that is used for connect requests. The redirect
+ * URL should return the user back to the Jetpack console.
+ * Copied from Jetpack class.
+ *
+ * @param String $redirect the default redirect URL used by the package.
+ * @return String the modified URL.
+ */
+ public static function filter_connect_redirect_url( $redirect ) {
+ $jetpack_admin_page = esc_url_raw( admin_url( 'admin.php?page=jetpack' ) );
+ $redirect = $redirect
+ ? wp_validate_redirect( esc_url_raw( $redirect ), $jetpack_admin_page )
+ : $jetpack_admin_page;
+
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( isset( $_REQUEST['is_multisite'] ) ) {
+ $redirect = Jetpack_Network::init()->get_url( 'network_admin_page' );
+ }
+
+ return $redirect;
+ }
+
+ /**
+ * Filters the connection URL parameter array.
+ * Copied from Jetpack class.
+ *
+ * @param array $args default URL parameters used by the package.
+ * @return array the modified URL arguments array.
+ */
+ public static function filter_connect_request_body( $args ) {
+ if (
+ Constants::is_defined( 'JETPACK__GLOTPRESS_LOCALES_PATH' )
+ && include_once Constants::get_constant( 'JETPACK__GLOTPRESS_LOCALES_PATH' )
+ ) {
+ $gp_locale = GP_Locales::by_field( 'wp_locale', get_locale() );
+ $args['locale'] = isset( $gp_locale ) && isset( $gp_locale->slug )
+ ? $gp_locale->slug
+ : '';
+ }
+
+ $tracking = new Tracking();
+ $tracks_identity = $tracking->tracks_get_identity( $args['state'] );
+
+ $args = array_merge(
+ $args,
+ array(
+ '_ui' => $tracks_identity['_ui'],
+ '_ut' => $tracks_identity['_ut'],
+ )
+ );
+
+ $calypso_env = self::get_calypso_env();
+
+ if ( ! empty( $calypso_env ) ) {
+ $args['calypso_env'] = $calypso_env;
+ }
+
+ return $args;
+ }
+
+ /**
+ * Return Calypso environment value; used for developing Jetpack and pairing
+ * it with different Calypso enrionments, such as localhost.
+ * Copied from Jetpack class.
+ *
+ * @since 1.37.1
+ *
+ * @return string Calypso environment
+ */
+ public static function get_calypso_env() {
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( isset( $_GET['calypso_env'] ) ) {
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ return sanitize_key( $_GET['calypso_env'] );
+ }
+
+ if ( getenv( 'CALYPSO_ENV' ) ) {
+ return sanitize_key( getenv( 'CALYPSO_ENV' ) );
+ }
+
+ if ( defined( 'CALYPSO_ENV' ) && CALYPSO_ENV ) {
+ return sanitize_key( CALYPSO_ENV );
+ }
+
+ return '';
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-constants/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-constants/CHANGELOG.md
index c4b42f45..1a8c016a 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-constants/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-constants/CHANGELOG.md
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.6.16] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.6.15] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
## [1.6.14] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -118,6 +126,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Packages: Finish the constants package
+[1.6.16]: https://github.com/Automattic/jetpack-constants/compare/v1.6.15...v1.6.16
+[1.6.15]: https://github.com/Automattic/jetpack-constants/compare/v1.6.14...v1.6.15
[1.6.14]: https://github.com/Automattic/jetpack-constants/compare/v1.6.13...v1.6.14
[1.6.13]: https://github.com/Automattic/jetpack-constants/compare/v1.6.12...v1.6.13
[1.6.12]: https://github.com/Automattic/jetpack-constants/compare/v1.6.11...v1.6.12
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/CHANGELOG.md
index 7330dced..093fcb30 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/CHANGELOG.md
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.4.16] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.4.15] - 2022-04-19
+### Changed
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+
+## [1.4.14] - 2022-03-29
+### Changed
+- Microperformance: Use === null instead of is_null
+
+## [1.4.13] - 2022-02-09
+### Fixed
+- Fixed some new PHPCS warnings.
+
+## [1.4.12] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
## [1.4.11] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -96,6 +116,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Moving jetpack_is_mobile into a package
+[1.4.16]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.15...v1.4.16
+[1.4.15]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.14...v1.4.15
+[1.4.14]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.13...v1.4.14
+[1.4.13]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.12...v1.4.13
+[1.4.12]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.11...v1.4.12
[1.4.11]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.10...v1.4.11
[1.4.10]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.9...v1.4.10
[1.4.9]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.8...v1.4.9
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php
index 6760c4ef..21b6c3ab 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php
@@ -7,7 +7,10 @@
namespace Automattic\Jetpack;
+require_once __DIR__ . '/functions.php';
+
use Automattic\Jetpack\Device_Detection\User_Agent_Info;
+use function Automattic\Jetpack\Device_Detection\wp_unslash;
/**
* Class Device_Detection
@@ -145,12 +148,17 @@ class Device_Detection {
$kind = 'any';
}
- if ( empty( $_SERVER['HTTP_USER_AGENT'] ) || strpos( strtolower( $_SERVER['HTTP_USER_AGENT'] ), 'ipad' ) ) {
+ if ( empty( $_SERVER['HTTP_USER_AGENT'] ) ) {
+ return false;
+ }
+
+ $agent = strtolower( filter_var( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ) );
+ if ( strpos( $agent, 'ipad' ) ) {
return false;
}
// Remove Samsung Galaxy tablets (SCH-I800) from being mobile devices.
- if ( strpos( strtolower( $_SERVER['HTTP_USER_AGENT'] ), 'sch-i800' ) ) {
+ if ( strpos( $agent, 'sch-i800' ) ) {
return false;
}
@@ -174,7 +182,6 @@ class Device_Detection {
if ( ! $kinds['smart'] ) {
// if smart, we are not dumb so no need to check.
$dumb_agents = $ua_info->dumb_agents;
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
foreach ( $dumb_agents as $dumb_agent ) {
if ( false !== strpos( $agent, $dumb_agent ) ) {
@@ -189,7 +196,7 @@ class Device_Detection {
if ( isset( $_SERVER['HTTP_X_WAP_PROFILE'] ) ) {
$kinds['dumb'] = true;
$matched_agent = 'http_x_wap_profile';
- } elseif ( isset( $_SERVER['HTTP_ACCEPT'] ) && ( preg_match( '/wap\.|\.wap/i', $_SERVER['HTTP_ACCEPT'] ) || false !== strpos( strtolower( $_SERVER['HTTP_ACCEPT'] ), 'application/vnd.wap.xhtml+xml' ) ) ) {
+ } elseif ( isset( $_SERVER['HTTP_ACCEPT'] ) && ( preg_match( '/wap\.|\.wap/i', $_SERVER['HTTP_ACCEPT'] ) || false !== strpos( strtolower( $_SERVER['HTTP_ACCEPT'] ), 'application/vnd.wap.xhtml+xml' ) ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is doing the validating.
$kinds['dumb'] = true;
$matched_agent = 'vnd.wap.xhtml+xml';
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php
index e8d2f20a..7d18ac3c 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php
@@ -13,6 +13,8 @@
namespace Automattic\Jetpack\Device_Detection;
+require_once __DIR__ . '/functions.php';
+
/**
* A class providing device properties detection.
*/
@@ -136,7 +138,7 @@ class User_Agent_Info {
$this->useragent = $ua;
} else {
if ( ! empty( $_SERVER['HTTP_USER_AGENT'] ) ) {
- $this->useragent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $this->useragent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This class is all about validating.
}
}
}
@@ -433,7 +435,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( ( strpos( $ua, 'iphone' ) !== false ) || ( strpos( $ua, 'ipod' ) !== false ) ) {
if ( self::is_opera_mini() || self::is_opera_mobile() || self::is_firefox_mobile() ) {
return false;
@@ -461,7 +463,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$is_iphone = ( strpos( $ua, 'iphone' ) !== false ) || ( strpos( $ua, 'ipod' ) !== false );
$is_safari = ( false !== strpos( $ua, 'safari' ) );
@@ -489,7 +491,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $ua, 'crios/' ) !== false ) {
return true;
@@ -509,7 +511,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $ua, 'ipad' ) !== false ) {
return false;
@@ -533,7 +535,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $ua, 'twitter for ipad' ) !== false ) {
return true;
@@ -555,7 +557,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( false === strpos( $ua, 'iphone' ) ) {
return false;
@@ -583,7 +585,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( false === strpos( $ua, 'ipad' ) ) {
return false;
@@ -604,7 +606,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( false !== strpos( $ua, 'wp-iphone' ) ) {
return true;
} else {
@@ -628,7 +630,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$is_ipad = ( false !== strpos( $ua, 'ipad' ) );
$is_safari = ( false !== strpos( $ua, 'safari' ) );
@@ -655,7 +657,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $ua, 'fennec' ) !== false ) {
return true;
@@ -677,7 +679,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( false !== strpos( $ua, 'firefox' ) && false === strpos( $ua, 'mobile' ) && false === strpos( $ua, 'tablet' ) ) {
return true;
@@ -697,7 +699,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $ua, 'mozilla' ) !== false && strpos( $ua, 'mobile' ) !== false && strpos( $ua, 'gecko' ) !== false && strpos( $ua, 'firefox' ) !== false ) {
return true;
@@ -718,7 +720,7 @@ class User_Agent_Info {
return false;
}
- if ( false === strpos( $_SERVER['HTTP_USER_AGENT'], 'OPR/' ) ) {
+ if ( false === strpos( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ), 'OPR/' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
return false;
}
@@ -742,7 +744,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $ua, 'opera' ) !== false && strpos( $ua, 'mobi' ) !== false ) {
return true;
@@ -769,7 +771,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $ua, 'opera' ) !== false && strpos( $ua, 'mini' ) !== false ) {
return true;
@@ -786,7 +788,7 @@ class User_Agent_Info {
if ( empty( $_SERVER['HTTP_USER_AGENT'] ) ) {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( self::is_opera_mini() ) {
if ( strpos( $ua, 'android' ) !== false || strpos( $ua, 'iphone' ) !== false || strpos( $ua, 'ipod' ) !== false
@@ -809,7 +811,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( false === strpos( $ua, 'windows phone os 7' ) ) {
return false;
@@ -831,7 +833,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $ua, 'windows phone 8' ) === false ) {
return false;
} else {
@@ -850,7 +852,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( false === strpos( $ua, 'webos' ) ) {
return false;
@@ -874,7 +876,7 @@ class User_Agent_Info {
return false;
}
- $http_user_agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $http_user_agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( false !== strpos( $http_user_agent, 'hp-tablet' ) || false !== strpos( $http_user_agent, 'hpwos' ) || false !== strpos( $http_user_agent, 'touchpad' ) ) {
if ( self::is_opera_mini() || self::is_opera_mobile() || self::is_firefox_mobile() ) {
return false;
@@ -901,7 +903,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( self::is_opera_mini() || self::is_opera_mobile() || self::is_firefox_mobile() ) {
return false;
}
@@ -932,7 +934,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_webkit = strpos( $agent, 'webkit' );
if ( false !== $pos_webkit ) {
@@ -966,7 +968,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $agent, 'series40' ) !== false ) {
if ( strpos( $agent, 'nokia' ) !== false || strpos( $agent, 'ovibrowser' ) !== false || strpos( $agent, 'nokiabrowser' ) !== false ) {
@@ -988,7 +990,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $agent, 'j2me/midp' ) !== false ) {
return true;
@@ -1007,7 +1009,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_maemo = strpos( $agent, 'maemo' );
if ( false === $pos_maemo ) {
@@ -1035,7 +1037,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( false === strpos( $ua, 'meego' ) ) {
return false;
@@ -1057,7 +1059,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_webkit = strpos( $agent, 'webkit' );
@@ -1078,7 +1080,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_android = strpos( $agent, 'android' );
if ( false !== $pos_android ) {
if ( self::is_opera_mini() || self::is_opera_mobile() || self::is_firefox_mobile() ) {
@@ -1102,7 +1104,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_android = strpos( $agent, 'android' );
$pos_mobile = strpos( $agent, 'mobile' );
@@ -1132,7 +1134,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_silk = strpos( $agent, 'silk/' );
$pos_silk_acc = strpos( $agent, 'silk-accelerated=' );
if ( false !== $pos_silk && false !== $pos_silk_acc ) {
@@ -1153,7 +1155,7 @@ class User_Agent_Info {
if ( empty( $_SERVER['HTTP_USER_AGENT'] ) ) {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_kindle_touch = strpos( $agent, 'kindle/3.0+' );
if ( false !== $pos_kindle_touch && false === self::is_kindle_fire() ) {
return true;
@@ -1170,7 +1172,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos = strpos( $agent, 'msauthhost' );
if ( false !== $pos ) {
return true;
@@ -1187,7 +1189,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos = strpos( $agent, 'wp-windows8' );
if ( false !== $pos ) {
return true;
@@ -1204,7 +1206,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos = strpos( $agent, 'WordPressDesktop' );
if ( false !== $pos ) {
return true;
@@ -1224,7 +1226,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_playbook = stripos( $agent, 'PlayBook' );
$pos_rim_tablet = stripos( $agent, 'RIM Tablet' );
@@ -1244,7 +1246,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_blackberry = strpos( $agent, 'blackberry' );
if ( false !== $pos_blackberry ) {
@@ -1265,7 +1267,7 @@ class User_Agent_Info {
if ( empty( $_SERVER['HTTP_USER_AGENT'] ) ) {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
return ( strpos( $agent, 'bb10' ) !== false ) && ( strpos( $agent, 'mobile' ) !== false );
}
@@ -1295,7 +1297,7 @@ class User_Agent_Info {
return 'blackberry-10';
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
$pos_blackberry = stripos( $agent, 'blackberry' );
if ( false === $pos_blackberry ) {
@@ -1380,7 +1382,7 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( self::is_blackberry_10() ) {
return 'blackberry-10';
@@ -1435,9 +1437,9 @@ class User_Agent_Info {
return false;
}
- $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $agent = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
- if ( isset( $_SERVER['X_USER_AGENT'] ) && preg_match( '|wp-webos|', $_SERVER['X_USER_AGENT'] ) ) {
+ if ( isset( $_SERVER['X_USER_AGENT'] ) && preg_match( '|wp-webos|', $_SERVER['X_USER_AGENT'] ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is validating.
return true; // Wp4webos 1.1 or higher.
}
@@ -1445,7 +1447,7 @@ class User_Agent_Info {
// the mobile reader on iOS has an incorrect UA when loading the reader
// currently it is the default one provided by the iOS framework which
// causes problems with 2-step-auth
- // User-Agent WordPress/3.1.4 CFNetwork/609 Darwin/13.0.0.
+ // User-Agent WordPress/3.1.4 CFNetwork/609 Darwin/13.0.0.
$app_agents[] = 'wordpress/3.1';
foreach ( $app_agents as $app_agent ) {
@@ -1467,7 +1469,7 @@ class User_Agent_Info {
return false;
}
- $ua = strtolower( $_SERVER['HTTP_USER_AGENT'] );
+ $ua = strtolower( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
if ( strpos( $ua, 'nintendo 3ds' ) !== false ) {
return true;
}
@@ -1486,8 +1488,8 @@ class User_Agent_Info {
return false;
}
- if ( is_null( $is_bot ) ) {
- $is_bot = self::is_bot_user_agent( $_SERVER['HTTP_USER_AGENT'] );
+ if ( $is_bot === null ) {
+ $is_bot = self::is_bot_user_agent( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This is validating.
}
return $is_bot;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/functions.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/functions.php
new file mode 100644
index 00000000..fbee1788
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/functions.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Utility functions for device detection.
+ *
+ * @package automattic/jetpack-device-detection
+ */
+
+namespace Automattic\Jetpack\Device_Detection;
+
+/**
+ * A wrapper for WordPress's `wp_unslash()`.
+ *
+ * Even though PHP itself dropped the option to add slashes to superglobals a decade ago,
+ * WordPress still does it through some misguided extreme backwards compatibility. 🙄
+ *
+ * If WordPress's function exists, assume it needs to be called. If not, assume it doesn't.
+ *
+ * @param string|array $value String or array of data to unslash.
+ * @return string|array Possibly unslashed $value.
+ */
+function wp_unslash( $value ) {
+ if ( function_exists( '\\wp_unslash' ) ) {
+ return \wp_unslash( $value );
+ } else {
+ return $value;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-error/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-error/CHANGELOG.md
index ea0c6df4..53a42326 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-error/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-error/CHANGELOG.md
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.3.14] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.3.13] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
## [1.3.12] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -92,6 +100,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Packages: Introduce a jetpack-error package
+[1.3.14]: https://github.com/Automattic/jetpack-error/compare/v1.3.13...v1.3.14
+[1.3.13]: https://github.com/Automattic/jetpack-error/compare/v1.3.12...v1.3.13
[1.3.12]: https://github.com/Automattic/jetpack-error/compare/v1.3.11...v1.3.12
[1.3.11]: https://github.com/Automattic/jetpack-error/compare/v1.3.10...v1.3.11
[1.3.10]: https://github.com/Automattic/jetpack-error/compare/v1.3.9...v1.3.10
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/CHANGELOG.md
new file mode 100644
index 00000000..651b55c5
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/CHANGELOG.md
@@ -0,0 +1,38 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [0.3.0] - 2022-04-26
+### Added
+- Add functions for enqueueing fonts used in block and global style settings
+
+### Changed
+- Updated package dependencies.
+- Update package.json metadata.
+
+## [0.2.2] - 2022-04-06
+### Added
+- Set composer package type to "jetpack-library" so i18n will work.
+
+## [0.2.1] - 2022-03-29
+### Added
+- Set composer package type to "jetpack-library" so i18n will work.
+
+## [0.2.0] - 2022-03-15
+### Changed
+- Updated package dependencies
+
+### Deprecated
+- Google Fonts: update the method used to preconnect Fonts source domain.
+
+## 0.1.0 - 2022-03-08
+### Added
+- Adds a provider for Google Fonts using the new Webfonts API in Gutenberg
+
+[0.3.0]: https://github.com/Automattic/jetpack-google-fonts-provider/compare/v0.2.2...v0.3.0
+[0.2.2]: https://github.com/Automattic/jetpack-google-fonts-provider/compare/v0.2.1...v0.2.2
+[0.2.1]: https://github.com/Automattic/jetpack-google-fonts-provider/compare/v0.2.0...v0.2.1
+[0.2.0]: https://github.com/Automattic/jetpack-google-fonts-provider/compare/v0.1.0...v0.2.0
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/LICENSE.txt
index e82774c1..e82774c1 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/LICENSE.txt
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/LICENSE.txt
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/SECURITY.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/SECURITY.md
index b4b46c0e..b4b46c0e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/SECURITY.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/SECURITY.md
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-google-fonts-provider.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-google-fonts-provider.php
new file mode 100644
index 00000000..c2006a54
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-google-fonts-provider.php
@@ -0,0 +1,359 @@
+<?php
+/**
+ * WordPress webfonts provider for Google Fonts
+ *
+ * @package automattic/jetpack-google-fonts-provider
+ * @since 0.1.0
+ */
+
+namespace Automattic\Jetpack\Fonts;
+
+if ( ! class_exists( '\WP_Webfonts_Provider' ) ) {
+ return;
+}
+
+/**
+ * Google Font Provider
+ */
+class Google_Fonts_Provider extends \WP_Webfonts_Provider {
+ /**
+ * Font provider ID.
+ *
+ * @var string
+ */
+ protected $id = 'jetpack-google-fonts';
+
+ /**
+ * The provider's root URL for retrieving font CSS.
+ *
+ * @var string
+ */
+ protected $root_url = 'https://fonts.googleapis.com/css2';
+
+ /**
+ * Prints out a preconnect link for improving performance when downloading
+ * Google Font files.
+ *
+ * Hook this function into `wp_head` to enable the preconnect link.
+ *
+ * @deprecated 0.2.0 Use Automattic\Jetpack\Fonts\Utils::font_source_resource_hint() instead.
+ *
+ * @return void
+ */
+ public static function preconnect_font_source() {
+ _deprecated_function( __METHOD__, '0.2.0', 'Automattic\\Jetpack\\Fonts\\Utils::font_source_resource_hint' );
+
+ $fonts_url = \set_url_scheme( 'https://fonts.gstatic.com' ); ?>
+<link rel="preconnect" href="<?php echo esc_url( $fonts_url ); ?>" crossorigin>
+ <?php
+ }
+
+ /**
+ * Gets cached CSS from a remote URL.
+ *
+ * @param string $id An ID used to cache the styles.
+ * @param string $url The URL to fetch.
+
+ * @return string The styles.
+ */
+ protected function get_cached_remote_styles( $id, $url ) {
+ $css = \get_site_transient( $id );
+
+ // Get remote response and cache the CSS if it hasn't been cached already.
+ if ( false === $css ) {
+ $css = $this->get_remote_styles( $url );
+
+ /*
+ * Early return if the request failed.
+ * Cache an empty string for 60 seconds to avoid bottlenecks.
+ */
+ if ( empty( $css ) ) {
+ \set_site_transient( $id, '', MINUTE_IN_SECONDS );
+ return '';
+ }
+
+ // Cache the CSS for a month.
+ \set_site_transient( $id, $css, MONTH_IN_SECONDS );
+ }
+
+ return $css;
+ }
+
+ /**
+ * Gets styles from the remote font service via the given URL.
+ *
+ * @param string $url The URL to fetch.
+
+ * @return string The styles on success. Empty string on failure.
+ */
+ protected function get_remote_styles( $url ) {
+ // Use a modern user-agent, to get woff2 files.
+ $args = array( 'user-agent' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0' );
+
+ // Get the remote URL contents.
+ $response = \wp_safe_remote_get( $url, $args );
+
+ // Early return if the request failed.
+ if ( \is_wp_error( $response ) || 200 !== \wp_remote_retrieve_response_code( $response ) ) {
+ return '';
+ }
+
+ // Get the response body.
+ return \wp_remote_retrieve_body( $response );
+ }
+
+ /**
+ * Gets the `@font-face` CSS styles for Google Fonts.
+ *
+ * This method does the following processing tasks:
+ * 1. Orchestrates an optimized Google Fonts API URL for each font-family.
+ * 2. Caches each URL, if not already cached.
+ * 3. Does a remote request to the Google Fonts API service to fetch the styles.
+ * 4. Generates the `@font-face` for all its webfonts.
+ *
+ * @return string The `@font-face` CSS.
+ */
+ public function get_css() {
+ $css = '';
+ $urls = $this->build_collection_api_urls();
+
+ foreach ( $urls as $url ) {
+ $css .= $this->get_cached_remote_styles( 'jetpack_google_fonts_' . md5( $url ), $url );
+ }
+
+ return $css;
+ }
+
+ /**
+ * Builds the Google Fonts URL for a collection of webfonts.
+ *
+ * For example, if given the following webfonts:
+ * ```
+ * array(
+ * array(
+ * 'font-family' => 'Source Serif Pro',
+ * 'font-style' => 'normal',
+ * 'font-weight' => '200 400',
+ * ),
+ * array(
+ * 'font-family' => 'Source Serif Pro',
+ * 'font-style' => 'italic',
+ * 'font-weight' => '400 600',
+ * ),
+ * )
+ * ```
+ * then the returned collection would be:
+ * ```
+ * array(
+ * 'https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,200;0,300;0,400;1,400;1,500;1,600&display=fallback'
+ * )
+ * ```
+ *
+ * @return array Collection of font-family urls.
+ */
+ private function build_collection_api_urls() {
+ $font_families_urls = array();
+
+ /*
+ * Iterate over each font-family group to build the Google Fonts API URL
+ * for that specific family. Each is added to the collection of URLs to be
+ * returned to the `get_css()` method for making the remote request.
+ */
+ foreach ( $this->organize_webfonts() as $font_display => $font_families ) {
+ $url_parts = array();
+ foreach ( $font_families as $font_family => $webfonts ) {
+ list( $normal_weights, $italic_weights ) = $this->collect_font_weights( $webfonts );
+
+ // Build the font-style with its font-weights.
+ $url_part = rawurlencode( $font_family );
+ if ( empty( $italic_weights ) && ! empty( $normal_weights ) ) {
+ $url_part .= ':wght@' . implode( ';', $normal_weights );
+ } elseif ( ! empty( $italic_weights ) && empty( $normal_weights ) ) {
+ $url_part .= ':ital,wght@1,' . implode( ';', $normal_weights );
+ } elseif ( ! empty( $italic_weights ) && ! empty( $normal_weights ) ) {
+ $url_part .= ':ital,wght@0,' . implode( ';0,', $normal_weights ) . ';1,' . implode( ';1,', $italic_weights );
+ }
+
+ // Add it to the collection.
+ $url_parts[] = $url_part;
+ }
+
+ // Build the URL for this font-family and add it to the collection.
+ $font_families_urls[] = $this->root_url . '?family=' . implode( '&family=', $url_parts ) . '&display=' . $font_display;
+ }
+
+ return $font_families_urls;
+ }
+
+ /**
+ * Organizes the webfonts by font-display and then font-family.
+ *
+ * To optimizing building the URL for the Google Fonts API request,
+ * this method organizes the webfonts first by font-display and then
+ * by font-family.
+ *
+ * For example, if given the following webfonts:
+ * ```
+ * array(
+ * array(
+ * 'font-family' => 'Source Serif Pro',
+ * 'font-style' => 'normal',
+ * 'font-weight' => '200 400',
+ * ),
+ * array(
+ * 'font-family' => 'Source Serif Pro',
+ * 'font-style' => 'italic',
+ * 'font-weight' => '400 600',
+ * ),
+ * )
+ * ```
+ * then the returned collection would be:
+ * ```
+ * array(
+ * 'fallback' => array(
+ * 'Source Serif Pro' => array(
+ * array(
+ * 'font-family' => 'Source Serif Pro',
+ * 'font-style' => 'normal',
+ * 'font-weight' => '200 400',
+ * ),
+ * array(
+ * 'font-family' => 'Source Serif Pro',
+ * 'font-style' => 'italic',
+ * 'font-weight' => '400 600',
+ * ),
+ * ),
+ * ),
+ * )
+ *
+ * @return array[][] Webfonts organized by font-display and then font-family.
+ */
+ private function organize_webfonts() {
+ $font_display_groups = array();
+
+ /*
+ * Group by font-display.
+ * Each font-display will need to be a separate request.
+ */
+ foreach ( $this->webfonts as $webfont ) {
+ if ( ! isset( $font_display_groups[ $webfont['font-display'] ] ) ) {
+ $font_display_groups[ $webfont['font-display'] ] = array();
+ }
+ $font_display_groups[ $webfont['font-display'] ][] = $webfont;
+ }
+
+ /*
+ * Iterate over each font-display group and group by font-family.
+ * Multiple font-families can be combined in the same request,
+ * but their params need to be grouped.
+ */
+ foreach ( $font_display_groups as $font_display => $font_display_group ) {
+ $font_families = array();
+
+ foreach ( $font_display_group as $webfont ) {
+ if ( ! isset( $font_families[ $webfont['font-family'] ] ) ) {
+ $font_families[ $webfont['font-family'] ] = array();
+ }
+ $font_families[ $webfont['font-family'] ][] = $webfont;
+ }
+
+ $font_display_groups[ $font_display ] = $font_families;
+ }
+
+ return $font_display_groups;
+ }
+
+ /**
+ * Collects all font-weights grouped by 'normal' and 'italic' font-style.
+ *
+ * For example, if given the following webfonts:
+ * ```
+ * array(
+ * array(
+ * 'font-family' => 'Source Serif Pro',
+ * 'font-style' => 'normal',
+ * 'font-weight' => '200 400',
+ * ),
+ * array(
+ * 'font-family' => 'Source Serif Pro',
+ * 'font-style' => 'italic',
+ * 'font-weight' => '400 600',
+ * ),
+ * )
+ * ```
+ * Then the returned collection would be:
+ * ```
+ * array(
+ * array( 200, 300, 400 ),
+ * array( 400, 500, 600 ),
+ * )
+ * ```
+ *
+ * @param array $webfonts Webfonts to process.
+ * @return array[] {
+ * The font-weights grouped by font-style.
+ *
+ * @type array $normal_weights Individual font-weight values for 'normal' font-style.
+ * @type array $italic_weights Individual font-weight values for 'italic' font-style.
+ * }
+ */
+ private function collect_font_weights( array $webfonts ) {
+ $normal_weights = array();
+ $italic_weights = array();
+
+ foreach ( $webfonts as $webfont ) {
+ $font_weights = $this->get_font_weights( $webfont['font-weight'] );
+ // Skip this webfont if it does not have a font-weight defined.
+ if ( empty( $font_weights ) ) {
+ continue;
+ }
+
+ // Add the individual font-weights to the end of font-style array.
+ if ( 'italic' === $webfont['font-style'] ) {
+ array_push( $italic_weights, ...$font_weights );
+ } else {
+ array_push( $normal_weights, ...$font_weights );
+ }
+ }
+
+ // Remove duplicates.
+ $normal_weights = array_unique( $normal_weights );
+ $italic_weights = array_unique( $italic_weights );
+
+ return array( $normal_weights, $italic_weights );
+ }
+
+ /**
+ * Converts the given string of font-weight into an array of individual weight values.
+ *
+ * When given a single font-weight, the value is wrapped into an array.
+ *
+ * A range of font-weights is specified as '400 600' with the lightest value first,
+ * a space, and then the heaviest value last.
+ *
+ * When given a range of font-weight values, the range is converted into individual
+ * font-weight values. For example, a range of '400 600' is converted into
+ * `array( 400, 500, 600 )`.
+ *
+ * @param string $font_weights The font-weights string.
+ * @return array The font-weights array.
+ */
+ private function get_font_weights( $font_weights ) {
+ $font_weights = trim( $font_weights );
+
+ // A single font-weight.
+ if ( false === strpos( $font_weights, ' ' ) ) {
+ return array( $font_weights );
+ }
+
+ // Process a range of font-weight values that are delimited by ' '.
+ $font_weights = explode( ' ', $font_weights );
+
+ // If there are 2 values, treat them as a range.
+ if ( 2 === count( $font_weights ) ) {
+ $font_weights = range( (int) $font_weights[0], (int) $font_weights[1], 100 );
+ }
+
+ return $font_weights;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-utils.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-utils.php
new file mode 100644
index 00000000..3ea69559
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-utils.php
@@ -0,0 +1,57 @@
+<?php
+/**
+ * Google Fonts package Utils class file.
+ *
+ * @package automattic/jetpack-google-fonts-provider
+ */
+
+namespace Automattic\Jetpack\Fonts;
+
+/**
+ * Provides utility methods for the Google Fonts Provider package.
+ */
+class Utils {
+ /**
+ * Adds a preconnect link for improving performance when downloading Google Font files.
+ * Only do so if the site supports the Webfonts API.
+ *
+ * @param array $urls Array of resources and their attributes, or URLs to print for resource hints.
+ * @param string $relation_type The relation type the URLs are printed for, e.g. 'preconnect' or 'prerender'.
+ */
+ public static function font_source_resource_hint( $urls, $relation_type ) {
+ if (
+ 'preconnect' === $relation_type
+ && class_exists( 'WP_Webfonts_Provider' )
+ ) {
+ $urls[] = array(
+ 'href' => 'https://fonts.gstatic.com',
+ 'crossorigin',
+ );
+ }
+
+ return $urls;
+ }
+
+ /**
+ * Check if a font family is registered (verifying that it can be enqueued).
+ *
+ * This function will not be needed if/when WP_Webfonts provides this functionality.
+ *
+ * @link https://github.com/WordPress/gutenberg/pull/39988
+ * @link https://github.com/WordPress/gutenberg/blob/e94fffae0684aa5a6dc370ce3eba262cb77071d9/lib/experimental/class-wp-webfonts.php#L217
+ *
+ * @param string $font_family_name Name of font family.
+ * @return boolean|void Whether the font family is registered, or void if WP_Webfonts is not available.
+ */
+ public static function is_font_family_registered( $font_family_name ) {
+ if ( ! function_exists( 'wp_webfonts' ) || ! method_exists( 'WP_Webfonts', 'get_font_slug' ) ) {
+ return;
+ }
+
+ $wp_webfonts = wp_webfonts();
+
+ $slug = \WP_Webfonts::get_font_slug( $font_family_name );
+
+ return isset( $wp_webfonts->get_registered_webfonts()[ $slug ] );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-blocks.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-blocks.php
new file mode 100644
index 00000000..f715bfdf
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-blocks.php
@@ -0,0 +1,37 @@
+<?php
+/**
+ * Google Fonts package Blocks fonts introspector class file.
+ *
+ * @package automattic/jetpack-google-fonts-provider
+ */
+
+namespace Automattic\Jetpack\Fonts\Introspectors;
+
+use Automattic\Jetpack\Fonts\Utils;
+
+/**
+ * Blocks fonts introspector.
+ */
+class Blocks {
+ /**
+ * Enqueue fonts used for block typography settings.
+ *
+ * @filter pre_render_block
+ *
+ * @param string|null $content The pre-rendered content. Default null.
+ * @param array $parsed_block The block being rendered.
+ */
+ public static function enqueue_block_fonts( $content, $parsed_block ) {
+ if ( ! is_admin() && isset( $parsed_block['attrs']['fontFamily'] ) ) {
+
+ $block_font_family = $parsed_block['attrs']['fontFamily'];
+ $font_is_registered = Utils::is_font_family_registered( $block_font_family );
+
+ if ( $font_is_registered ) {
+ wp_enqueue_webfont( $block_font_family );
+ }
+ }
+
+ return $content;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-global-styles.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-global-styles.php
new file mode 100644
index 00000000..292c42ee
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-global-styles.php
@@ -0,0 +1,115 @@
+<?php
+/**
+ * Google Fonts package Global Styles fonts introspector class file.
+ *
+ * @package automattic/jetpack-google-fonts-provider
+ */
+
+namespace Automattic\Jetpack\Fonts\Introspectors;
+
+use Automattic\Jetpack\Fonts\Utils;
+
+/**
+ * Global Styles fonts introspector.
+ */
+class Global_Styles {
+ /**
+ * Enqueue fonts used in global styles settings.
+ *
+ * @return void
+ */
+ public static function enqueue_global_styles_fonts() {
+ if ( is_admin() || ! function_exists( 'wp_enqueue_webfont' ) ) {
+ return;
+ }
+
+ $global_styles_fonts = self::collect_fonts_from_global_styles();
+
+ foreach ( $global_styles_fonts as $font ) {
+ $font_is_registered = Utils::is_font_family_registered( $font );
+
+ if ( $font_is_registered ) {
+ wp_enqueue_webfont( $font );
+ }
+ }
+ }
+
+ /**
+ * Collect fonts set in Global Styles settings.
+ *
+ * @return array Font faces from Global Styles settings.
+ */
+ public static function collect_fonts_from_global_styles() {
+ if ( ! function_exists( 'gutenberg_get_global_styles' ) ) {
+ return array();
+ }
+
+ $global_styles = gutenberg_get_global_styles();
+
+ $found_webfonts = array();
+
+ // Look for fonts in block presets...
+ if ( isset( $global_styles['blocks'] ) ) {
+ foreach ( $global_styles['blocks'] as $setting ) {
+ $font_slug = self::extract_font_slug_from_setting( $setting );
+
+ if ( $font_slug ) {
+ $found_webfonts[] = $font_slug;
+ }
+ }
+ }
+
+ // Look for fonts in HTML element presets...
+ if ( isset( $global_styles['elements'] ) ) {
+ foreach ( $global_styles['elements'] as $setting ) {
+ $font_slug = self::extract_font_slug_from_setting( $setting );
+
+ if ( $font_slug ) {
+ $found_webfonts[] = $font_slug;
+ }
+ }
+ }
+
+ // Check if a global typography setting was defined.
+ $font_slug = self::extract_font_slug_from_setting( $global_styles );
+
+ if ( $font_slug ) {
+ $found_webfonts[] = $font_slug;
+ }
+
+ return $found_webfonts;
+ }
+
+ /**
+ * Extract the font family slug from a settings array.
+ *
+ * @param array $setting The settings object.
+ *
+ * @return string|null
+ */
+ protected static function extract_font_slug_from_setting( $setting ) {
+ if ( ! isset( $setting['typography']['fontFamily'] ) ) {
+ return null;
+ }
+
+ $font_family = $setting['typography']['fontFamily'];
+
+ // Full string: var(--wp--preset--font-family--slug).
+ // We do not care about the origin of the font, only its slug.
+ preg_match( '/font-family--(?P<slug>.+)\)$/', $font_family, $matches );
+
+ if ( isset( $matches['slug'] ) ) {
+ return $matches['slug'];
+ }
+
+ // Full string: var:preset|font-family|slug
+ // We do not care about the origin of the font, only its slug.
+ preg_match( '/font-family\|(?P<slug>.+)$/', $font_family, $matches );
+
+ if ( isset( $matches['slug'] ) ) {
+ return $matches['slug'];
+ }
+
+ return $font_family;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/CHANGELOG.md
deleted file mode 100644
index ea1f7642..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-heartbeat/CHANGELOG.md
+++ /dev/null
@@ -1,123 +0,0 @@
-# Changelog
-
-All notable changes to this project will be documented in this file.
-
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
-and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-## [1.4.0] - 2022-01-04
-### Changed
-- Updated package textdomain from `jetpack` to `jetpack-heartbeat`.
-
-## [1.3.15] - 2021-12-14
-### Changed
-- Updated package dependencies.
-
-## [1.3.14] - 2021-11-30
-### Changed
-- Updated package dependencies.
-
-## [1.3.13] - 2021-10-19
-### Changed
-- Updated package dependencies.
-
-## [1.3.12] - 2021-10-13
-### Changed
-- Updated package dependencies.
-
-## [1.3.11] - 2021-09-28
-### Changed
-- Updated package dependencies.
-
-## [1.3.10] - 2021-09-03
-
-- Clean up doc blocks.
-
-## [1.3.9] - 2021-08-30
-### Changed
-- Updated versions in annotations
-
-## [1.3.8] - 2021-06-15
-### Changed
-- Updated package dependencies.
-
-## [1.3.7] - 2021-05-25
-### Fixed
-- Fixed new PHPCS errors.
-
-## [1.3.6] - 2021-04-27
-### Changed
-- Updated package dependencies.
-
-## [1.3.5] - 2021-04-08
-### Changed
-- Packaging and build changes, no change to the package itself.
-
-## [1.3.4] - 2021-03-30
-### Added
-- Composer alias for dev-master, to improve dependencies
-
-### Changed
-- Update package dependencies.
-
-## [1.3.3] - 2021-02-23
-
-- CI: Make tests more generic
-
-## [1.3.2] - 2021-01-28
-
-- Update dependencies to latest stable
-
-## [1.3.1] - 2021-01-26
-
-- Add mirror-repo information to all current composer packages
-- Monorepo: Reorganize all projects
-
-## [1.3.0] - 2021-01-05
-
-- Pin dependencies
-- Packages: Update for PHP 8 testing
-
-## [1.2.2] - 2020-11-24
-
-- Version packages for release
-
-## [1.2.1] - 2020-11-24
-
-- Updated PHPCS: Packages and Debugger
-
-## [1.2.0] - 2020-10-27
-
-- Make XMLRPC methods available for blog token
-
-## [1.1.0] - 2020-09-29
-
-- Update dependencies to latest stable
-
-## 1.0.0 - 2020-08-26
-
-- Connection: use heartbeat to send connected plugins info
-- Use new heartbeat package
-- Creates the Jetpack Heartbeat package
-
-[1.4.0]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.15...v1.4.0
-[1.3.15]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.14...v1.3.15
-[1.3.14]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.13...v1.3.14
-[1.3.13]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.12...v1.3.13
-[1.3.12]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.11...v1.3.12
-[1.3.11]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.10...v1.3.11
-[1.3.10]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.9...v1.3.10
-[1.3.9]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.8...v1.3.9
-[1.3.8]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.7...v1.3.8
-[1.3.7]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.6...v1.3.7
-[1.3.6]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.5...v1.3.6
-[1.3.5]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.4...v1.3.5
-[1.3.4]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.3...v1.3.4
-[1.3.3]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.2...v1.3.3
-[1.3.2]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.1...v1.3.2
-[1.3.1]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.0...v1.3.1
-[1.3.0]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.2.2...v1.3.0
-[1.2.2]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.2.1...v1.2.2
-[1.2.1]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.2.0...v1.2.1
-[1.2.0]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.1.0...v1.2.0
-[1.1.0]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.0.0...v1.1.0
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/CHANGELOG.md
index 3039161a..9593fd18 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/CHANGELOG.md
@@ -5,6 +5,107 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [0.8.12] - 2022-05-30
+### Changed
+- Updated package dependencies
+
+## [0.8.11] - 2022-05-18
+### Changed
+- Updated package dependencies [#24372]
+
+## [0.8.10] - 2022-05-10
+### Changed
+- Updated package dependencies. [#24302]
+
+## [0.8.9] - 2022-05-04
+### Added
+- Add missing JavaScript dependencies. [#24096]
+
+### Changed
+- Updated package dependencies. [#24095] [#24198]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+## [0.8.8] - 2022-04-26
+### Changed
+- Updated package dependencies.
+- Update package.json metadata.
+
+## [0.8.7] - 2022-04-19
+### Changed
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+
+## [0.8.6] - 2022-04-12
+### Changed
+- Updated package dependencies.
+
+## [0.8.5] - 2022-04-06
+### Changed
+- Updated package dependencies
+
+### Removed
+- Removed tracking dependency.
+
+## [0.8.4] - 2022-03-29
+### Changed
+- Microperformance: Use === null instead of is_null
+- Updated package dependencies.
+
+## [0.8.3] - 2022-03-23
+### Changed
+- Updated package dependencies
+
+## [0.8.2] - 2022-03-15
+### Changed
+- Updated package dependencies.
+
+## [0.8.1] - 2022-03-08
+### Changed
+- Updated package dependencies.
+
+## [0.8.0] - 2022-03-02
+### Added
+- IDC: add detection for possibly dynamic HTTP_HOST being used in WP_SITEURL or WP_HOME.
+
+### Changed
+- Bring back the IDC screen in Staging mode.
+- Updated package dependencies.
+
+## [0.7.4] - 2022-02-22
+### Added
+- Add blog ID to event tracking.
+
+## [0.7.3] - 2022-02-16
+### Changed
+- Updated package dependencies.
+
+## [0.7.2] - 2022-02-09
+### Changed
+- Updated package dependencies
+
+## [0.7.1] - 2022-02-02
+### Changed
+- Updated package dependencies.
+
+## [0.7.0] - 2022-01-27
+### Changed
+- IDC "Safe Mode" admin bar button redesign.
+
+## [0.6.4] - 2022-01-25
+### Changed
+- Add class notice to the IDC container div.
+- Add missing JS peer dependency.
+- Updated package dependencies.
+
+## [0.6.3] - 2022-01-18
+### Changed
+- General: update required node version to v16.13.2
+
+## [0.6.2] - 2022-01-11
+### Changed
+- Updated package dependencies.
+
## [0.6.1] - 2022-01-11
### Fixed
- Do not add IDC query args to authenticated request when in offline or staging mode.
@@ -123,6 +224,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated package dependencies.
- Use Connection/Urls for home_url and site_url functions migrated from Sync.
+[0.8.12]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.11...v0.8.12
+[0.8.11]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.10...v0.8.11
+[0.8.10]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.9...v0.8.10
+[0.8.9]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.8...v0.8.9
+[0.8.8]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.7...v0.8.8
+[0.8.7]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.6...v0.8.7
+[0.8.6]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.5...v0.8.6
+[0.8.5]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.4...v0.8.5
+[0.8.4]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.3...v0.8.4
+[0.8.3]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.2...v0.8.3
+[0.8.2]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.1...v0.8.2
+[0.8.1]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.0...v0.8.1
+[0.8.0]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.7.4...v0.8.0
+[0.7.4]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.7.3...v0.7.4
+[0.7.3]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.7.2...v0.7.3
+[0.7.2]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.7.1...v0.7.2
+[0.7.1]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.7.0...v0.7.1
+[0.7.0]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.6.4...v0.7.0
+[0.6.4]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.6.3...v0.6.4
+[0.6.3]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.6.2...v0.6.3
+[0.6.2]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.6.1...v0.6.2
[0.6.1]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.4.4...v0.5.0
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php
index 4ed4784a..ca5a05c6 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '472c28cf4d566875562ae0cb3c2e44b1'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '4a6e6592e7a0125664c9');
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.css
index ea21ba25..606cfb74 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.css
@@ -1 +1 @@
-#wp-admin-bar-jetpack-idc.hide{display:none}#wp-admin-bar-jetpack-idc .jp-idc-admin-bar{background:#fff;border-radius:2px;color:#1d2327;font-size:12px;padding:4px 8px}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons{color:#1d2327;font-family:dashicons}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before{font-size:16px}#wpadminbar #wp-admin-bar-jetpack-idc:hover .ab-item{background:inherit}#wpadminbar #wp-admin-bar-jetpack-idc:hover .jp-idc-admin-bar{background:#f0f0f1}#jp-identity-crisis-container .jp-idc__idc-screen{margin-bottom:40px;margin-top:40px}.jp-idc__idc-screen{background:#fff;border-left:4px solid #e68b28;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.04);box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0 auto;max-width:1128px;padding:10px}.jp-idc__idc-screen.jp-idc__idc-screen__success{border-color:#069e08}@media(min-width:600px){.jp-idc__idc-screen{padding:48px}}.jp-idc__idc-screen .jp-idc__idc-screen__header{align-items:center;display:flex}.jp-idc__idc-screen .jp-idc__idc-screen__header .jp-idc__idc-screen__logo-image{max-height:100px;max-width:100px}.jp-idc__idc-screen .jp-idc__idc-screen__header .jp-idc__idc-screen__logo-label{font-size:14px;line-height:22px;margin:-7px 0 0 8px}.jp-idc__idc-screen h2{font-size:24px;font-weight:600;line-height:28px;margin:32px 0 0}.jp-idc__idc-screen h3{font-size:20px;font-weight:600;line-height:28px;margin:24px 0 0}.jp-idc__idc-screen p{color:#2c3338;font-size:16px;line-height:24px;margin:16px 0 0;max-width:710px}.jp-idc__idc-screen a{color:#2c3338}.jp-idc__idc-screen .jp-idc__idc-screen__cards{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap}@media only screen and (min-width:1403px){.jp-idc__idc-screen .jp-idc__idc-screen__cards{align-items:normal;flex-direction:row}}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__cards-separator{align-self:center;color:#23282d;font-size:20px;font-weight:600;line-height:28px;margin:0 24px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base{border:1px solid #c3c4c7;border-radius:4px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;margin:24px 0;max-width:100%;padding:10px;width:480px}@media(min-width:600px){.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base{padding:24px}}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base h4{font-size:20px;font-weight:400;line-height:28px;margin:0 0 8px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base p{margin:0 0 24px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-sitename{background:#f9f9f6;border-radius:33px;box-sizing:border-box;color:#2c3338;font-size:16px;font-weight:700;line-height:24px;overflow-wrap:anywhere;padding:16px;text-align:center;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-separator{display:block;margin:12px auto}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-button{padding:8px 24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-action-button{background:#000;border-radius:4px;color:#fff;font-size:16px;font-weight:600;height:auto;justify-content:center;line-height:24px;margin-top:24px;min-height:40px;padding:8px}.jp-idc__idc-screen .jp-idc__idc-screen__card-action-button-migrated{margin-top:64px;width:141px}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap;margin-top:24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-hostname{border:1px solid #c3c4c7;border-radius:4px;color:#2c3338;flex-grow:1;font-size:16px;font-weight:700;line-height:24px;padding:24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{display:none}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator{display:block}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator,.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{margin:28px}@media only screen and (min-width:1400px){.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated{flex-direction:row;width:auto}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator{display:none}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{display:block}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-hostname{width:auto}}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.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 transparent;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%}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-20:#a7aaad;--jp-gray-40:#787c82;--jp-gray-50:#646970;--jp-gray-60:#50575e;--jp-gray-80:#8a2424;--jp-gray-off:#e2e2df;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-idc__idc-screen .jp-idc__error-message{align-items:center;color:var(--jp-red);display:flex;flex-direction:row;justify-content:center;margin:15px 0}.jp-idc__idc-screen .jp-idc__error-message .error-gridicon{fill:var(--jp-red);margin-right:8px}.jp-idc__idc-screen .jp-idc__error-message a,.jp-idc__idc-screen .jp-idc__error-message span{color:var(--jp-red);font-size:var(--font-body)}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__error-message{margin-top:5px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base{padding-bottom:75px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base.jp-idc__idc-screen__card-action-error{padding-bottom:5px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base .jp-idc__error-message{height:40px}.jp-idc__idc-screen .jp-idc__safe-mode{text-align:center}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__safe-mode__staying-safe{display:flex;justify-content:center;padding:6px}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__safe-mode__staying-safe .jp-components-spinner{margin:0 10px}.jp-idc__idc-screen .jp-idc__safe-mode,.jp-idc__idc-screen .jp-idc__safe-mode button{color:#2c3338;font-size:16px;line-height:24px}.jp-idc__idc-screen .jp-idc__safe-mode button{padding:0;text-decoration:underline} \ No newline at end of file
+#wpadminbar #wp-admin-bar-jetpack-idc{margin-right:5px}#wpadminbar #wp-admin-bar-jetpack-idc .jp-idc-admin-bar{border-radius:2px;color:#efeff0;font-size:14px;font-weight:500;line-height:20px;padding:6px 8px}#wpadminbar #wp-admin-bar-jetpack-idc.hide{display:none}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons{font-family:dashicons;margin-top:-6px}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before{font-size:18px}#wpadminbar #wp-admin-bar-jetpack-idc .ab-item{background:#e68b28;padding:0}#jp-identity-crisis-container .jp-idc__idc-screen{margin-bottom:40px;margin-top:40px}#jp-identity-crisis-container.notice{background:none;border:none}.jp-idc__idc-screen{background:#fff;border-left:4px solid #e68b28;border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.04);box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0 auto;max-width:1128px;padding:10px}.jp-idc__idc-screen.jp-idc__idc-screen__success{border-color:#069e08}@media(min-width:600px){.jp-idc__idc-screen{padding:48px}}.jp-idc__idc-screen .jp-idc__idc-screen__header{align-items:center;display:flex}.jp-idc__idc-screen .jp-idc__idc-screen__header .jp-idc__idc-screen__logo-image{max-height:100px;max-width:100px}.jp-idc__idc-screen .jp-idc__idc-screen__header .jp-idc__idc-screen__logo-label{font-size:14px;line-height:22px;margin:-7px 0 0 8px}.jp-idc__idc-screen h2{font-size:24px;font-weight:600;line-height:28px;margin:32px 0 0}.jp-idc__idc-screen h3{font-size:20px;font-weight:600;line-height:28px;margin:24px 0 0}.jp-idc__idc-screen p{color:#2c3338;font-size:16px;line-height:24px;margin:16px 0 0;max-width:710px}.jp-idc__idc-screen a{color:#2c3338}.jp-idc__idc-screen .jp-idc__idc-screen__cards{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap}@media only screen and (min-width:1403px){.jp-idc__idc-screen .jp-idc__idc-screen__cards{align-items:normal;flex-direction:row}}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__cards-separator{align-self:center;color:#23282d;font-size:20px;font-weight:600;line-height:28px;margin:0 24px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base{border:1px solid #c3c4c7;border-radius:4px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;margin:24px 0;max-width:100%;padding:10px;width:480px}@media(min-width:600px){.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base{padding:24px}}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base h4{font-size:20px;font-weight:400;line-height:28px;margin:0 0 8px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base p{margin:0 0 24px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-sitename{background:#f9f9f6;border-radius:33px;box-sizing:border-box;color:#2c3338;font-size:16px;font-weight:700;line-height:24px;overflow-wrap:anywhere;padding:16px;text-align:center;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-separator{display:block;margin:12px auto}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-button{padding:8px 24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-action-button{background:#000;border-radius:4px;color:#fff;font-size:16px;font-weight:600;height:auto;justify-content:center;line-height:24px;margin-top:24px;min-height:40px;padding:8px}.jp-idc__idc-screen .jp-idc__idc-screen__card-action-button-migrated{margin-top:64px;width:141px}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap;margin-top:24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-hostname{border:1px solid #c3c4c7;border-radius:4px;color:#2c3338;flex-grow:1;font-size:16px;font-weight:700;line-height:24px;padding:24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{display:none}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator{display:block}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator,.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{margin:28px}@media only screen and (min-width:1400px){.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated{flex-direction:row;width:auto}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator{display:none}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{display:block}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-hostname{width:auto}}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.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 transparent;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%}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-idc__idc-screen .jp-idc__error-message{align-items:center;color:var(--jp-red);display:flex;flex-direction:row;justify-content:center;margin:15px 0}.jp-idc__idc-screen .jp-idc__error-message .error-gridicon{fill:var(--jp-red);margin-right:8px}.jp-idc__idc-screen .jp-idc__error-message a,.jp-idc__idc-screen .jp-idc__error-message span{color:var(--jp-red);font-size:var(--font-body)}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__error-message{margin-top:5px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base{padding-bottom:75px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base.jp-idc__idc-screen__card-action-error{padding-bottom:5px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base .jp-idc__error-message{height:40px}.jp-idc__idc-screen .jp-idc__safe-mode{text-align:center}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__safe-mode__staying-safe{display:flex;justify-content:center;padding:6px}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__safe-mode__staying-safe .jp-components-spinner{margin:0 10px}.jp-idc__idc-screen .jp-idc__safe-mode,.jp-idc__idc-screen .jp-idc__safe-mode button{color:#2c3338;font-size:16px;line-height:24px}.jp-idc__idc-screen .jp-idc__safe-mode button{padding:0;text-decoration:underline} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js
index 7e9ca216..df6f7481 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js
@@ -1,8 +1,8 @@
/*! For license information please see index.js.LICENSE.txt */
-!function(){var e={7538:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},9183:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},9105:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=s.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var a in n)r.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(n=function(){return s}.apply(t,[]))||(e.exports=n)}()},5771:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1244)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1244:function(e,t,n){e.exports=function(e){function t(e){let n,s,i,o=null;function a(...e){if(!a.enabled)return;const r=a,s=Number(new Date),i=s-(n||s);r.diff=i,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if("%%"===n)return"%";o++;const i=t.formatters[s];if("function"==typeof i){const t=e[o];n=i.call(r,t),e.splice(o,1),o--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(s!==t.namespaces&&(s=t.namespaces,i=t.enabled(e)),i),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.length;for(n=0;n<s;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(2002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},6212:function(){},4943:function(){},8911:function(){},2780:function(){},2002:function(e){var t=1e3,n=60*t,r=60*n,s=24*r,i=7*s,o=365.25*s;function a(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"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 a=/^(-?(?:\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(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*s;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 i=Math.abs(e);if(i>=s)return a(e,i,s,"day");if(i>=r)return a(e,i,r,"hour");if(i>=n)return a(e,i,n,"minute");if(i>=t)return a(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=s)return Math.round(e/s)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=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))}},9587:function(e,t,n){"use strict";var r=n(5843);function s(){}function i(){}i.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,i,o){if(o!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:s};return n.PropTypes=n,n}},1268:function(e,t,n){e.exports=n(9587)()},5843:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},816:function(e,t,n){"use strict";var r=n(5771),s=n.n(r),i=n(2819);const o=s()("dops:analytics");let a,c;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,t,n){l.setUser(e,t),l.setSuperProps(n),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){c={ID:e,username:t}},setSuperProps:function(e){a=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]);o("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);this.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]);o("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return n}(e,t);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,s,i,o){l.ga.recordPurchase(e,t,n,r,s,i,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(o("- Super Props: %o",a),t=(0,i.assign)(t,a)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};l.ga.initialized||(c&&(e={userId:"u-"+c.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.ga.initialize(),o("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){l.ga.initialize();let s="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(s+=" [Option Label: "+n+"]"),void 0!==r&&(s+=" [Option Value: "+r+"]"),o(s),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,s,i,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:s,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){c&&window._tkq.push(["identifyUser",c.ID,c.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=l},9570:function(e,t,n){"use strict";var r=n(2819),s=n(6483),i=n(6251);function o(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const a=o("JsonParseError"),c=o("JsonParseAfterRedirectError"),l=o("Api404Error"),u=o("Api404AfterRedirectError"),d=o("FetchNetworkError");const p=new function(e,t){let n=e,o={"X-WP-Nonce":t},a={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:(0,r.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},setApiNonce(e){o={"X-WP-Nonce":e},a={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:(0,r.assign)({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,i.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,i.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),p(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(r)}).then(h).then(m)},fetchAuthorizationUrl:e=>d((0,s.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(h).then(m),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,a).then(m),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,a).then(m),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,a).then(h).then(m),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,a).then(m),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,a).then(h).then(m),updateUserTrackingSettings:e=>p(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(h).then(m),disconnectSite:()=>p(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(h).then(m),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,a).then(h).then(m),unlinkUser:()=>p(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(h).then(m),reconnect:()=>p(`${n}jetpack/v4/connection/reconnect`,c).then(h).then(m),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,a).then(h).then(m),setHasSeenWCConnectionModal:()=>p(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(h).then(m),fetchModules:()=>d(`${n}jetpack/v4/module/all`,a).then(h).then(m),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,a).then(h).then(m),activateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(h).then(m),deactivateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>p(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(h).then(m),updateSettings:e=>p(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(h).then(m),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,a).then(h).then(m),resetOptions:e=>p(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(h).then(m),activateVaultPress:()=>p(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(h).then(m),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,a).then(h).then(m),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),p(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(r)}).then(h).then(m)},activateAkismet:()=>p(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(h).then(m),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,a).then(h).then(m),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,a).then(h).then(m),checkAkismetKeyTyped:e=>p(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(h).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),a).then(h).then(m).then(g),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,a).then(h).then(m),getPlans:()=>d(`${n}jetpack/v4/plans`,a).then(h).then(m),fetchSettings:()=>d(`${n}jetpack/v4/settings`,a).then(h).then(m),updateSetting:e=>p(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(h).then(m),fetchSiteData:()=>d(`${n}jetpack/v4/site`,a).then(h).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,a).then(h).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,a).then(h).then(m),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,a).then(h).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,a).then(h).then(m).then((e=>JSON.parse(e.data))),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,a).then(h).then(m),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,a).then(h).then(m),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(h).then(m),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,a).then(h).then(m),saveRecommendationsData:e=>p(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(h),fetchProducts:()=>d(`${n}jetpack/v4/products`,a).then(h).then(m),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,a).then(h).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,a).then(h).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>p(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(h).then(m),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,a).then(h).then(m),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,a).then(h).then(m),verifySiteGoogle:e=>p(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(h).then(m),sendMobileLoginEmail:()=>p(`${n}jetpack/v4/mobile/send-login-email`,c).then(h).then(m),submitSurvey:e=>p(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(h).then(m),saveSetupQuestionnaire:e=>p(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(h).then(m),updateLicensingError:e=>p(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(h).then(m),updateLicenseKey:e=>p(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(h).then(m),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,a).then(h).then(m),updateLicensingActivationNoticeDismiss:e=>p(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(h).then(m),updateRecommendationsStep:e=>p(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(h),confirmIDCSafeMode:()=>p(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(h),startIDCFresh:e=>p(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(h).then(m),migrateIDC:()=>p(`${n}jetpack/v4/identity-crisis/migrate`,c).then(h),attachLicenses:e=>p(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(h).then(m),fetchSearchPlanInfo:()=>d(`${n}jetpack/v4/search/plan`,a).then(h).then(m),fetchSearchSettings:()=>d(`${n}jetpack/v4/search/settings`,a).then(h).then(m),updateSearchSettings:e=>p(`${n}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(h).then(m)};function d(e,t){return fetch(l(e),t)}function p(e,t,n){return fetch(e,(0,r.assign)({},t,n)).catch(f)}function g(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,r.assign)(this,u)};function h(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new l})):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 c(n):new a}function f(){throw new d}t.ZP=p},1546:function(e,t,n){"use strict";var r=n(9183),s=n.n(r),i=n(7538),o=n.n(i),a=n(1268),c=n.n(a),l=n(9196),u=n.n(l),d=n(9105),p=n.n(d),h=n(5736);const __=h.__;class m extends u().Component{render(){const{logoColor:e,showText:t,className:n,...r}=this.props,i=t?"0 0 118 32":"0 0 32 32";return u().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:p()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},r),u().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-idc")),u().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&&u().createElement(l.Fragment,null,u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"})))}}o()(m,"propTypes",{className:c().string,width:c().number,height:c().number,showText:c().bool,logoColor:c().string}),o()(m,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=m},7262:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(1268),o=n.n(i);n(6212);const a=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},r={borderTopColor:e.color,borderRightColor:e.color};return s().createElement("div",{className:t},s().createElement("div",{className:"jp-components-spinner__outer",style:n},s().createElement("div",{className:"jp-components-spinner__inner",style:r})))};a.propTypes={color:o().string,className:o().string,size:o().number},a.defaultProps={color:"#FFFFFF",className:"",size:20},t.Z=a},1415:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;if("undefined"!=typeof window&&(r=window.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);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const s=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+s}n.d(t,{Z:function(){return r}})},6251:function(e,t,n){let r={};try{r=n(8510)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const s=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(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]}}},7226:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(1268),o=n.n(i),a=n(5609),c=n(9818),l=n(9307),u=n(5736),d=n(1415),p=n(7262),h=n(7619),m=n(2690),g=n(2665),f=n(8086);const __=u.__,C=e=>{const{isStartingFresh:t,startFreshCallback:n,customContent:r,hasError:i}=e,o=(0,m.Z)(e.wpcomHomeUrl),g=(0,m.Z)(e.currentUrl),C=(0,c.useSelect)((e=>e(h.t).getIsActionInProgress()),[]),y=__("Create a fresh connection","jetpack-idc");return s().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(i?" jp-idc__idc-screen__card-action-error":"")},s().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},s().createElement("h4",null,r.startFreshCardTitle||__("Treat each site as independent sites","jetpack-idc")),s().createElement("p",null,r.startFreshCardBodyText||(0,l.createInterpolateElement)((0,u.sprintf)(
+!function(){var e={8294:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},2402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5235:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=s.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var o in n)r.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(n=function(){return s}.apply(t,[]))||(e.exports=n)}()},951:function(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1741)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:function(e,t,n){e.exports=function(e){function t(e){let n,s,i,a=null;function o(...e){if(!o.enabled)return;const r=o,s=Number(new Date),i=s-(n||s);r.diff=i,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if("%%"===n)return"%";a++;const i=t.formatters[s];if("function"==typeof i){const t=e[a];n=i.call(r,t),e.splice(a,1),a--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=r,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(s!==t.namespaces&&(s=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.length;for(n=0;n<s;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(3171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},1683:function(){},6611:function(){},7724:function(){},310:function(){},3171:function(e){var t=1e3,n=60*t,r=60*n,s=24*r,i=7*s,a=365.25*s;function o(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"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 o=/^(-?(?:\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(!o)return;var c=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*s;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 i=Math.abs(e);if(i>=s)return o(e,i,s,"day");if(i>=r)return o(e,i,r,"hour");if(i>=n)return o(e,i,n,"minute");if(i>=t)return o(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=s)return Math.round(e/s)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=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))}},469:function(e,t,n){"use strict";var r=n(758);function s(){}function i(){}i.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,i,a){if(a!==r){var o=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 o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:s};return n.PropTypes=n,n}},5162:function(e,t,n){e.exports=n(469)()},758:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6975:function(e,t,n){"use strict";var r=n(951),s=n.n(r),i=n(2819);const a=s()("dops:analytics");let o,c;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,t,n){l.setUser(e,t),l.setSuperProps(n),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){c={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=(0,i.assign)(o,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);l.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);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,s,i,a){l.ga.recordPurchase(e,t,n,r,s,i,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(a("- Super Props: %o",o),t=(0,i.assign)(t,o)),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};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.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={};l.ga.initialized||(c&&(e={userId:"u-"+c.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.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){l.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,s,i,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:s,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){c&&window._tkq.push(["identifyUser",c.ID,c.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=l},4743:function(e,t,n){"use strict";var r=n(2819),s=n(6483),i=n(1132);function a(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const o=a("JsonParseError"),c=a("JsonParseAfterRedirectError"),l=a("Api404Error"),u=a("Api404AfterRedirectError"),d=a("FetchNetworkError");const p=new function(e,t){let n=e,a={"X-WP-Nonce":t},o={credentials:"same-origin",headers:a},c={method:"post",credentials:"same-origin",headers:(0,r.assign)({},a,{"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},setApiNonce(e){a={"X-WP-Nonce":e},o={credentials:"same-origin",headers:a},c={method:"post",credentials:"same-origin",headers:(0,r.assign)({},a,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,i.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,i.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),p(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(r)}).then(m).then(h)},fetchAuthorizationUrl:e=>d((0,s.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(m).then(h),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,o).then(h),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,o).then(h),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,o).then(m).then(h),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,o).then(h),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,o).then(m).then(h),updateUserTrackingSettings:e=>p(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(m).then(h),disconnectSite:()=>p(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(m).then(h),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,o).then(m).then(h),unlinkUser:()=>p(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(m).then(h),reconnect:()=>p(`${n}jetpack/v4/connection/reconnect`,c).then(m).then(h),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,o).then(m).then(h),setHasSeenWCConnectionModal:()=>p(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(m).then(h),fetchModules:()=>d(`${n}jetpack/v4/module/all`,o).then(m).then(h),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,o).then(m).then(h),activateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(m).then(h),deactivateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>p(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(m).then(h),updateSettings:e=>p(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(m).then(h),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,o).then(m).then(h),resetOptions:e=>p(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(m).then(h),activateVaultPress:()=>p(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(h),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,o).then(m).then(h),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),p(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(r)}).then(m).then(h)},activateAkismet:()=>p(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(h),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,o).then(m).then(h),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,o).then(m).then(h),checkAkismetKeyTyped:e=>p(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(m).then(h),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),o).then(m).then(h).then(g),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,o).then(m).then(h),getPlans:()=>d(`${n}jetpack/v4/plans`,o).then(m).then(h),fetchSettings:()=>d(`${n}jetpack/v4/settings`,o).then(m).then(h),updateSetting:e=>p(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(m).then(h),fetchSiteData:()=>d(`${n}jetpack/v4/site`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,o).then(m).then(h),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${n}jetpack/v4/site/discount`,o).then(m).then(h).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,o).then(m).then(h),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,o).then(m).then(h),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,o).then(m).then(h),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,o).then(m).then(h),fetchRecommendationsConditional:()=>d(`${n}jetpack/v4/recommendations/conditional`,o).then(m).then(h),saveRecommendationsData:e=>p(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>d(`${n}jetpack/v4/products`,o).then(m).then(h),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,o).then(m).then(h).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,o).then(m).then(h).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>p(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(m).then(h),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,o).then(m).then(h),fetchIntroOffers:()=>d(`${n}jetpack/v4/intro-offers`,o).then(m).then(h),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,o).then(m).then(h),verifySiteGoogle:e=>p(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(m).then(h),sendMobileLoginEmail:()=>p(`${n}jetpack/v4/mobile/send-login-email`,c).then(m).then(h),submitSurvey:e=>p(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(m).then(h),saveSetupQuestionnaire:e=>p(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(m).then(h),updateLicensingError:e=>p(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(m).then(h),updateLicenseKey:e=>p(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(m).then(h),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,o).then(m).then(h),getUserLicenses:()=>d(`${n}jetpack/v4/licensing/user/licenses`,o).then(m).then(h),updateLicensingActivationNoticeDismiss:e=>p(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(m).then(h),updateRecommendationsStep:e=>p(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>p(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(m),startIDCFresh:e=>p(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(m).then(h),migrateIDC:()=>p(`${n}jetpack/v4/identity-crisis/migrate`,c).then(m),attachLicenses:e=>p(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(m).then(h),fetchSearchPlanInfo:()=>d(`${n}jetpack/v4/search/plan`,o).then(m).then(h),fetchSearchSettings:()=>d(`${n}jetpack/v4/search/settings`,o).then(m).then(h),updateSearchSettings:e=>p(`${n}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(m).then(h),fetchSearchStats:()=>d(`${n}jetpack/v4/search/stats`,o).then(m).then(h),fetchWafSettings:()=>d(`${n}jetpack/v4/waf`,o).then(m).then(h),fetchWordAdsSettings:()=>d(`${n}jetpack/v4/wordads/settings`,o).then(m).then(h),updateWordAdsSettings:e=>p(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${n}jetpack/v4/search/pricing`,o).then(m).then(h)};function d(e,t){return fetch(l(e),t)}function p(e,t,n){return fetch(e,(0,r.assign)({},t,n)).catch(f)}function g(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,r.assign)(this,u)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new l})):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 h(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new c(n):new o}function f(){throw new d}t.ZP=p},1202:function(e,t,n){"use strict";var r=n(2402),s=n.n(r),i=n(8294),a=n.n(i),o=n(5162),c=n.n(o),l=n(9196),u=n.n(l),d=n(5235),p=n.n(d),m=n(5736);const __=m.__;class h extends u().Component{render(){const{logoColor:e,showText:t,className:n,...r}=this.props,i=t?"0 0 118 32":"0 0 32 32";return u().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:p()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},r),u().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-idc")),u().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&&u().createElement(l.Fragment,null,u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"})))}}a()(h,"propTypes",{className:c().string,width:c().number,height:c().number,showText:c().bool,logoColor:c().string}),a()(h,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),t.Z=h},5033:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5162),a=n.n(i);n(1683);const o=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},r={borderTopColor:e.color,borderRightColor:e.color};return s().createElement("div",{className:t},s().createElement("div",{className:"jp-components-spinner__outer",style:n},s().createElement("div",{className:"jp-components-spinner__inner",style:r})))};o.propTypes={color:a().string,className:a().string,size:a().number},o.defaultProps={color:"#FFFFFF",className:"",size:20},t.Z=o},6324:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;var s;"undefined"!=typeof window&&(r=null===(s=window.Initial_State)||void 0===s?void 0:s.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const i=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+i}n.d(t,{Z:function(){return r}})},1132:function(e,t,n){let r={};try{r=n(8510)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const s=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(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]}}},9477:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5162),a=n.n(i),o=n(5609),c=n(9818),l=n(9307),u=n(5736),d=n(6324),p=n(5033),m=n(2678),h=n(2115),g=n(7144),f=n(6637);const __=u.__,y=e=>{const{isStartingFresh:t,startFreshCallback:n,customContent:r,hasError:i}=e,a=(0,h.Z)(e.wpcomHomeUrl),g=(0,h.Z)(e.currentUrl),y=(0,c.useSelect)((e=>e(m.t).getIsActionInProgress()),[]),k=r.startFreshButtonLabel||__("Create a fresh connection","jetpack-idc");return s().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(i?" jp-idc__idc-screen__card-action-error":"")},s().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},s().createElement("h4",null,r.startFreshCardTitle?(0,l.createInterpolateElement)(r.startFreshCardTitle,{em:s().createElement("em",null)}):__("Treat each site as independent sites","jetpack-idc")),s().createElement("p",null,(0,l.createInterpolateElement)(r.startFreshCardBodyText||(0,u.sprintf)(
/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */
-__("<hostname>%1$s</hostname> settings, stats, and subscribers will start fresh. <hostname>%2$s</hostname> will keep its data as is.","jetpack-idc"),g,o),{hostname:s().createElement("strong",null)}))),s().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},s().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},o),s().createElement(a.Dashicon,{icon:"minus",className:"jp-idc__idc-screen__card-action-separator"}),s().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},g),s().createElement(a.Button,{className:"jp-idc__idc-screen__card-action-button",label:y,onClick:n,disabled:C},t?s().createElement(p.Z,null):y),i&&s().createElement(f.Z,null,(0,l.createInterpolateElement)(__("Could not create the connection. Retry or find out more <a>here</a>.","jetpack-idc"),{a:s().createElement("a",{href:(0,d.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})}))))};C.propTypes={wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,isStartingFresh:o().bool.isRequired,startFreshCallback:o().func.isRequired,customContent:o().shape(g.Z),hasError:o().bool.isRequired},C.defaultProps={isStartingFresh:!1,startFreshCallback:()=>{},customContent:{},hasError:!1},t.Z=C},3023:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(1268),o=n.n(i),a=n(5609),c=n(9818),l=n(9307),u=n(5736),d=n(1415),p=n(7262),h=n(7619),m=n(2690),g=n(2665),f=n(8086);const __=u.__,C=e=>{const t=(0,m.Z)(e.wpcomHomeUrl),n=(0,m.Z)(e.currentUrl),r=(0,c.useSelect)((e=>e(h.t).getIsActionInProgress()),[]),{isMigrating:i,migrateCallback:o,customContent:g,hasError:C}=e,y=__("Move your settings","jetpack-idc");return s().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(C?" jp-idc__idc-screen__card-action-error":"")},s().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},s().createElement("h4",null,g.migrateCardTitle||__("Move Jetpack data","jetpack-idc")),s().createElement("p",null,g.migrateCardBodyText||(0,l.createInterpolateElement)((0,u.sprintf)(
+__("<hostname>%1$s</hostname> settings, stats, and subscribers will start fresh. <hostname>%2$s</hostname> will keep its data as is.","jetpack-idc"),g,a),{hostname:s().createElement("strong",null),em:s().createElement("em",null),strong:s().createElement("strong",null)}))),s().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},s().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},a),s().createElement(o.Dashicon,{icon:"minus",className:"jp-idc__idc-screen__card-action-separator"}),s().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},g),s().createElement(o.Button,{className:"jp-idc__idc-screen__card-action-button",label:k,onClick:n,disabled:y},t?s().createElement(p.Z,null):k),i&&(C=r.supportURL,s().createElement(f.Z,null,(0,l.createInterpolateElement)(__("Could not create the connection. Retry or find out more <a>here</a>.","jetpack-idc"),{a:s().createElement("a",{href:C||(0,d.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})))));var C};y.propTypes={wpcomHomeUrl:a().string.isRequired,currentUrl:a().string.isRequired,isStartingFresh:a().bool.isRequired,startFreshCallback:a().func.isRequired,customContent:a().shape(g.Z),hasError:a().bool.isRequired},y.defaultProps={isStartingFresh:!1,startFreshCallback:()=>{},customContent:{},hasError:!1},t.Z=y},6596:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5162),a=n.n(i),o=n(5609),c=n(9818),l=n(9307),u=n(5736),d=n(6324),p=n(5033),m=n(2678),h=n(2115),g=n(7144),f=n(6637);const __=u.__,y=e=>{const t=(0,h.Z)(e.wpcomHomeUrl),n=(0,h.Z)(e.currentUrl),r=(0,c.useSelect)((e=>e(m.t).getIsActionInProgress()),[]),{isMigrating:i,migrateCallback:a,customContent:g,hasError:y}=e,k=g.migrateButtonLabel||__("Move your settings","jetpack-idc");return s().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(y?" jp-idc__idc-screen__card-action-error":"")},s().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},s().createElement("h4",null,g.migrateCardTitle?(0,l.createInterpolateElement)(g.migrateCardTitle,{em:s().createElement("em",null)}):__("Move Jetpack data","jetpack-idc")),s().createElement("p",null,(0,l.createInterpolateElement)(g.migrateCardBodyText||(0,u.sprintf)(
/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */
-__("Move all your settings, stats and subscribers to your other URL, <hostname>%1$s</hostname>. <hostname>%2$s</hostname> will be disconnected from Jetpack.","jetpack-idc"),n,t),{hostname:s().createElement("strong",null)}))),s().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},s().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},t),s().createElement(a.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-action-separator"}),s().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},n),s().createElement(a.Button,{className:"jp-idc__idc-screen__card-action-button",label:y,onClick:o,disabled:r},i?s().createElement(p.Z,null):y),C&&s().createElement(f.Z,null,(0,l.createInterpolateElement)(__("Could not move your settings. Retry or find out more <a>here</a>.","jetpack-idc"),{a:s().createElement("a",{href:(0,d.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})}))))};C.propTypes={wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,isMigrating:o().bool.isRequired,migrateCallback:o().func.isRequired,customContent:o().shape(g.Z),hasError:o().bool.isRequired},C.defaultProps={isMigrating:!1,migrateCallback:()=>{},customContent:{},hasError:!1},t.Z=C},7090:function(e,t,n){"use strict";var r=n(9196),s=n.n(r);t.Z=()=>s().createElement("svg",{className:"error-gridicon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:24},s().createElement("rect",{x:"0",fill:"none",width:"24",height:"24"}),s().createElement("g",null,s().createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))},8086:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(7090);n(4943);t.Z=e=>{const{children:t}=e;return s().createElement("div",{className:"jp-idc__error-message"},s().createElement(i.Z,null),s().createElement("span",null,t))}},5643:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(1268),o=n.n(i),a=n(816),c=n(9570),l=n(9818),u=n(7436),d=n(5853),p=n(463),h=n(8970),m=n(1517),g=n(2665),f=n(7619);const C=e=>{const{logo:t,customContent:n,wpcomHomeUrl:i,currentUrl:o,apiNonce:g,apiRoot:C,redirectUri:y,tracksUserData:k,tracksEventData:_,isAdmin:v}=e,[w,b]=(0,r.useState)(!1),E=(0,l.useSelect)((e=>e(f.t).getErrorType()),[]),{isMigrating:j,migrateCallback:S}=(0,p.Z)((0,r.useCallback)((()=>{b(!0)}),[b])),{isStartingFresh:F,startFreshCallback:I}=(0,m.Z)(y),{isFinishingMigration:R,finishMigrationCallback:P}=(0,h.Z)();return(0,r.useEffect)((()=>{c.ZP.setApiRoot(C),c.ZP.setApiNonce(g),k&&k.hasOwnProperty("userid")&&k.hasOwnProperty("username")&&a.Z.initialize(k.userid,k.username),_&&(_.hasOwnProperty("isAdmin")&&_.isAdmin?(0,d.Z)("notice_view"):(0,d.Z)("non_admin_notice_view",{page:!!_.hasOwnProperty("currentScreen")&&_.currentScreen}))}),[C,g,k,_]),s().createElement(u.Z,{logo:t,customContent:n,wpcomHomeUrl:i,currentUrl:o,redirectUri:y,isMigrating:j,migrateCallback:S,isMigrated:w,finishMigrationCallback:P,isFinishingMigration:R,isStartingFresh:F,startFreshCallback:I,isAdmin:v,hasStaySafeError:"safe-mode"===E,hasFreshError:"start-fresh"===E,hasMigrateError:"migrate"===E})};C.propTypes={logo:o().object,customContent:o().shape(g.Z),wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,redirectUri:o().string.isRequired,apiRoot:o().string.isRequired,apiNonce:o().string.isRequired,tracksUserData:o().object,tracksEventData:o().object,isAdmin:o().bool.isRequired},C.defaultProps={customContent:{}},t.Z=C},2027:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(1268),o=n.n(i),a=n(9307),c=n(5736),l=n(1415),u=n(3023),d=n(7226),p=n(1693),h=n(2665);const __=c.__,m=e=>{const{wpcomHomeUrl:t,currentUrl:n,isMigrating:r,migrateCallback:i,isStartingFresh:o,startFreshCallback:c,customContent:h,hasMigrateError:m,hasFreshError:g,hasStaySafeError:f}=e;return s().createElement(s().Fragment,null,s().createElement("h2",null,h.mainTitle||__("Safe Mode has been activated","jetpack-idc")),s().createElement("p",null,h.mainBodyText||(0,a.createInterpolateElement)(__("Your site is in Safe Mode because you have 2 Jetpack-powered sites that appear to be duplicates. 2 sites that are telling Jetpack they’re the same site. <safeModeLink>Learn more about safe mode.</safeModeLink>","jetpack-idc"),{safeModeLink:s().createElement("a",{href:(0,l.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})),s().createElement("h3",null,__("Please select an option","jetpack-idc")),s().createElement("div",{className:"jp-idc__idc-screen__cards"+(m||g?" jp-idc__idc-screen__cards-error":"")},s().createElement(u.Z,{wpcomHomeUrl:t,currentUrl:n,isMigrating:r,migrateCallback:i,customContent:h,hasError:m}),s().createElement("div",{className:"jp-idc__idc-screen__cards-separator"},"or"),s().createElement(d.Z,{wpcomHomeUrl:t,currentUrl:n,isStartingFresh:o,startFreshCallback:c,customContent:h,hasError:g})),s().createElement(p.Z,{hasError:f}))};m.propTypes={wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,isMigrating:o().bool.isRequired,migrateCallback:o().func,isStartingFresh:o().bool.isRequired,startFreshCallback:o().func,customContent:o().shape(h.Z),hasMigrateError:o().bool.isRequired,hasFreshError:o().bool.isRequired,hasStaySafeError:o().bool.isRequired},m.defaultProps={isMigrating:!1,isStartingFresh:!1,customContent:{},hasMigrateError:!1,hasFreshError:!1,hasStaySafeError:!1},t.Z=m},4642:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(1268),o=n.n(i),a=n(5609),c=n(9307),l=n(5736),u=n(7262),d=n(2690),p=n(2665);const __=l.__,h=e=>{const{finishCallback:t,isFinishing:n,customContent:r}=e,i=(0,d.Z)(e.wpcomHomeUrl),o=(0,d.Z)(e.currentUrl),p=__("Got it, thanks","jetpack-idc");return s().createElement(s().Fragment,null,s().createElement("h2",null,r.migratedTitle||__("Your Jetpack settings have migrated successfully","jetpack-idc")),s().createElement("p",null,r.migratedBodyText||(0,c.createInterpolateElement)((0,l.sprintf)(
+__("Move all your settings, stats and subscribers to your other URL, <hostname>%1$s</hostname>. <hostname>%2$s</hostname> will be disconnected from Jetpack.","jetpack-idc"),n,t),{hostname:s().createElement("strong",null),em:s().createElement("em",null),strong:s().createElement("strong",null)}))),s().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},s().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},t),s().createElement(o.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-action-separator"}),s().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},n),s().createElement(o.Button,{className:"jp-idc__idc-screen__card-action-button",label:k,onClick:a,disabled:r},i?s().createElement(p.Z,null):k),y&&(C=g.supportURL,s().createElement(f.Z,null,(0,l.createInterpolateElement)(__("Could not move your settings. Retry or find out more <a>here</a>.","jetpack-idc"),{a:s().createElement("a",{href:C||(0,d.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})))));var C};y.propTypes={wpcomHomeUrl:a().string.isRequired,currentUrl:a().string.isRequired,isMigrating:a().bool.isRequired,migrateCallback:a().func.isRequired,customContent:a().shape(g.Z),hasError:a().bool.isRequired},y.defaultProps={isMigrating:!1,migrateCallback:()=>{},customContent:{},hasError:!1},t.Z=y},5489:function(e,t,n){"use strict";var r=n(9196),s=n.n(r);t.Z=()=>s().createElement("svg",{className:"error-gridicon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:24},s().createElement("rect",{x:"0",fill:"none",width:"24",height:"24"}),s().createElement("g",null,s().createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))},6637:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5489);n(6611);t.Z=e=>{const{children:t}=e;return s().createElement("div",{className:"jp-idc__error-message"},s().createElement(i.Z,null),s().createElement("span",null,t))}},7381:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5162),a=n.n(i),o=n(4743),c=n(9818),l=n(567),u=n(6521),d=n(970),p=n(1272),m=n(3105),h=n(7144),g=n(2678);const f=e=>{const{logo:t,customContent:n,wpcomHomeUrl:i,currentUrl:a,apiNonce:h,apiRoot:f,redirectUri:y,tracksUserData:k,tracksEventData:C,isAdmin:v,possibleDynamicSiteUrlDetected:_}=e,[b,w]=(0,r.useState)(!1),E=(0,c.useSelect)((e=>e(g.t).getErrorType()),[]),{isMigrating:j,migrateCallback:S}=(0,d.Z)((0,r.useCallback)((()=>{w(!0)}),[w])),{isStartingFresh:F,startFreshCallback:I}=(0,m.Z)(y),{isFinishingMigration:U,finishMigrationCallback:R}=(0,p.Z)();return(0,r.useEffect)((()=>{o.ZP.setApiRoot(f),o.ZP.setApiNonce(h),(0,u.M)(C,k),C&&(C.hasOwnProperty("isAdmin")&&C.isAdmin?(0,u.Z)("notice_view"):(0,u.Z)("non_admin_notice_view",{page:!!C.hasOwnProperty("currentScreen")&&C.currentScreen}))}),[f,h,k,C]),s().createElement(l.Z,{logo:t,customContent:n,wpcomHomeUrl:i,currentUrl:a,redirectUri:y,isMigrating:j,migrateCallback:S,isMigrated:b,finishMigrationCallback:R,isFinishingMigration:U,isStartingFresh:F,startFreshCallback:I,isAdmin:v,hasStaySafeError:"safe-mode"===E,hasFreshError:"start-fresh"===E,hasMigrateError:"migrate"===E,possibleDynamicSiteUrlDetected:_})};f.propTypes={logo:a().object,customContent:a().shape(h.Z),wpcomHomeUrl:a().string.isRequired,currentUrl:a().string.isRequired,redirectUri:a().string.isRequired,apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,tracksUserData:a().object,tracksEventData:a().object,isAdmin:a().bool.isRequired,possibleDynamicSiteUrlDetected:a().bool},f.defaultProps={customContent:{}},t.Z=f},5533:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5162),a=n.n(i),o=n(9307),c=n(5736),l=n(6324),u=n(6596),d=n(9477),p=n(2533),m=n(7144);const __=c.__,h=e=>{const{wpcomHomeUrl:t,currentUrl:n,isMigrating:r,migrateCallback:i,isStartingFresh:a,startFreshCallback:c,customContent:m,hasMigrateError:h,hasFreshError:g,hasStaySafeError:f,possibleDynamicSiteUrlDetected:y}=e;return s().createElement(s().Fragment,null,s().createElement("h2",null,m.mainTitle?(0,o.createInterpolateElement)(m.mainTitle,{em:s().createElement("em",null)}):__("Safe Mode has been activated","jetpack-idc")),s().createElement("p",null,(0,o.createInterpolateElement)(m.mainBodyText||__("Your site is in Safe Mode because you have 2 Jetpack-powered sites that appear to be duplicates. 2 sites that are telling Jetpack they’re the same site. <safeModeLink>Learn more about safe mode.</safeModeLink>","jetpack-idc"),{safeModeLink:s().createElement("a",{href:m.supportURL||(0,l.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"}),em:s().createElement("em",null),strong:s().createElement("strong",null)})),y&&s().createElement("p",null,(0,o.createInterpolateElement)(m.dynamicSiteUrlText||__("<strong>Notice:</strong> It appears that your 'wp-config.php' file might be using dynamic site URL values. Dynamic site URLs could cause Jetpack to enter Safe Mode. <dynamicSiteUrlSupportLink>Learn how to set a static site URL.</dynamicSiteUrlSupportLink>","jetpack-idc"),{dynamicSiteUrlSupportLink:s().createElement("a",{href:m.dynamicSiteUrlSupportLink||(0,l.Z)("jetpack-idcscreen-dynamic-site-urls"),rel:"noopener noreferrer",target:"_blank"}),em:s().createElement("em",null),strong:s().createElement("strong",null)})),s().createElement("h3",null,__("Please select an option","jetpack-idc")),s().createElement("div",{className:"jp-idc__idc-screen__cards"+(h||g?" jp-idc__idc-screen__cards-error":"")},s().createElement(u.Z,{wpcomHomeUrl:t,currentUrl:n,isMigrating:r,migrateCallback:i,customContent:m,hasError:h}),s().createElement("div",{className:"jp-idc__idc-screen__cards-separator"},"or"),s().createElement(d.Z,{wpcomHomeUrl:t,currentUrl:n,isStartingFresh:a,startFreshCallback:c,customContent:m,hasError:g})),s().createElement(p.Z,{hasError:f,customContent:m}))};h.propTypes={wpcomHomeUrl:a().string.isRequired,currentUrl:a().string.isRequired,isMigrating:a().bool.isRequired,migrateCallback:a().func,isStartingFresh:a().bool.isRequired,startFreshCallback:a().func,customContent:a().shape(m.Z),hasMigrateError:a().bool.isRequired,hasFreshError:a().bool.isRequired,hasStaySafeError:a().bool.isRequired,possibleDynamicSiteUrlDetected:a().bool},h.defaultProps={isMigrating:!1,isStartingFresh:!1,customContent:{},hasMigrateError:!1,hasFreshError:!1,hasStaySafeError:!1,possibleDynamicSiteUrlDetected:!1},t.Z=h},1052:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5162),a=n.n(i),o=n(5609),c=n(9307),l=n(5736),u=n(5033),d=n(2115),p=n(7144);const __=l.__,m=e=>{const{finishCallback:t,isFinishing:n,customContent:r}=e,i=(0,d.Z)(e.wpcomHomeUrl),a=(0,d.Z)(e.currentUrl),p=__("Got it, thanks","jetpack-idc");return s().createElement(s().Fragment,null,s().createElement("h2",null,r.migratedTitle?(0,c.createInterpolateElement)(r.migratedTitle,{em:s().createElement("em",null)}):__("Your Jetpack settings have migrated successfully","jetpack-idc")),s().createElement("p",null,(0,c.createInterpolateElement)(r.migratedBodyText||(0,l.sprintf)(
/* translators: %1$s: The current site domain name. */
-__("Safe Mode has been switched off for <hostname>%1$s</hostname> website and Jetpack is fully functional.","jetpack-idc"),o),{hostname:s().createElement("strong",null)})),s().createElement("div",{className:"jp-idc__idc-screen__card-migrated"},s().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},i),s().createElement(a.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-migrated-separator"}),s().createElement(a.Dashicon,{icon:"arrow-right-alt",className:"jp-idc__idc-screen__card-migrated-separator-wide"}),s().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},o)),s().createElement(a.Button,{className:"jp-idc__idc-screen__card-action-button jp-idc__idc-screen__card-action-button-migrated",onClick:t,label:p},n?s().createElement(u.Z,null):p))};h.propTypes={wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,finishCallback:o().func,isFinishing:o().bool.isRequired,customContent:o().shape(p.Z)},h.defaultProps={finishCallback:()=>{},isFinishing:!1,customContent:{}},t.Z=h},4523:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(1268),o=n.n(i),a=n(9307),c=n(5736),l=n(1415),u=n(2665);const __=c.__,d=e=>{const{customContent:t}=e;return s().createElement(s().Fragment,null,s().createElement("h2",null,t.nonAdminTitle||__("Safe Mode has been activated","jetpack-idc")),s().createElement("p",null,t.nonAdminBodyText||(0,a.createInterpolateElement)(__("This site is in Safe Mode because there are 2 Jetpack-powered sites that appear to be duplicates. 2 sites that are telling Jetpack they’re the same site. <safeModeLink>Learn more about safe mode.</safeModeLink>","jetpack-idc"),{safeModeLink:s().createElement("a",{href:(0,l.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})),t.nonAdminBodyText?"":s().createElement("p",null,__("An administrator of this site can take Jetpack out of Safe Mode.","jetpack-idc")))};d.propTypes={customContent:o().shape(u.Z)},d.defaultProps={customContent:{}},t.Z=d},7436:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(1268),o=n.n(i),a=n(5736),c=n(1546),l=n(2027),u=n(4523),d=n(4642),p=n(2665);n(8911);const __=a.__,h=e=>{const{logo:t,customContent:n,wpcomHomeUrl:r,currentUrl:i,redirectUri:o,isMigrating:a,migrateCallback:c,isMigrated:p,finishMigrationCallback:h,isFinishingMigration:m,isStartingFresh:g,startFreshCallback:f,isAdmin:C,hasMigrateError:y,hasFreshError:k,hasStaySafeError:_}=e,v=C?"":s().createElement(u.Z,{customContent:n});let w="";return C&&(w=p?s().createElement(d.Z,{wpcomHomeUrl:r,currentUrl:i,finishCallback:h,isFinishing:m,customContent:n}):s().createElement(l.Z,{wpcomHomeUrl:r,currentUrl:i,redirectUri:o,customContent:n,isMigrating:a,migrateCallback:c,isStartingFresh:g,startFreshCallback:f,hasMigrateError:y,hasFreshError:k,hasStaySafeError:_})),s().createElement("div",{className:"jp-idc__idc-screen"+(p?" jp-idc__idc-screen__success":"")},s().createElement("div",{className:"jp-idc__idc-screen__header"},s().createElement("div",{className:"jp-idc__idc-screen__logo"},((e,t)=>"string"==typeof e||e instanceof String?s().createElement("img",{src:e,alt:t,className:"jp-idc__idc-screen__logo-image"}):e)(t,n.logoAlt||"")),s().createElement("div",{className:"jp-idc__idc-screen__logo-label"},n.headerText||__("Safe Mode","jetpack-idc"))),v,w)};h.propTypes={logo:o().object.isRequired,customContent:o().shape(p.Z),wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,redirectUri:o().string.isRequired,isMigrating:o().bool.isRequired,migrateCallback:o().func,isMigrated:o().bool.isRequired,finishMigrationCallback:o().func,isFinishingMigration:o().bool.isRequired,isStartingFresh:o().bool.isRequired,startFreshCallback:o().func,isAdmin:o().bool.isRequired,hasMigrateError:o().bool.isRequired,hasFreshError:o().bool.isRequired,hasStaySafeError:o().bool.isRequired},h.defaultProps={logo:s().createElement(c.Z,{height:24}),isMigrated:!1,isFinishingMigration:!1,isMigrating:!1,isStartingFresh:!1,customContent:{},hasMigrateError:!1,hasFreshError:!1,hasStaySafeError:!1},t.Z=h},1693:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(1268),o=n.n(i),a=n(4333),c=n(9818),l=n(9307),u=n(5609),d=n(5736),p=n(6483),h=n(9570),m=n(7262),g=n(1415),f=n(7619),C=n(5853),y=n(8086);n(2780);const __=d.__,k=e=>{const{isActionInProgress:t,setIsActionInProgress:n,setErrorType:i,clearErrorType:o,hasError:a}=e,[c,d]=(0,r.useState)(!1),f=(0,r.useCallback)((()=>{t||(d(!0),n(!0),o(),(0,C.Z)("confirm_safe_mode"),h.ZP.confirmIDCSafeMode().then((()=>{window.location.href=(0,p.removeQueryArgs)(window.location.href,"jetpack_idc_clear_confirmation","_wpnonce")})).catch((e=>{throw n(!1),d(!1),i("safe-mode"),e})))}),[t,n,i,o]);return s().createElement("div",{className:"jp-idc__safe-mode"},c?s().createElement("div",{className:"jp-idc__safe-mode__staying-safe"},s().createElement(m.Z,{color:"black"}),s().createElement("span",null,__("Finishing setting up Safe mode…","jetpack-idc"))):(k=f,_=t,(0,l.createInterpolateElement)(__("Or decide later and stay in <button>Safe mode</button>","jetpack-idc"),{button:s().createElement(u.Button,{label:__("Safe mode","jetpack-idc"),variant:"link",onClick:k,disabled:_})})),a&&s().createElement(y.Z,null,(0,l.createInterpolateElement)(__("Could not stay in safe mode. Retry or find out more <a>here</a>.","jetpack-idc"),{a:s().createElement("a",{href:(0,g.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})));var k,_};k.propTypes={isActionInProgress:o().bool,setIsActionInProgress:o().func.isRequired,setErrorType:o().func.isRequired,clearErrorType:o().func.isRequired,hasError:o().bool.isRequired},k.defaultProps={hasError:!1},t.Z=(0,a.compose)([(0,c.withSelect)((e=>({isActionInProgress:e(f.t).getIsActionInProgress()}))),(0,c.withDispatch)((e=>({setIsActionInProgress:e(f.t).setIsActionInProgress,setErrorType:e(f.t).setErrorType,clearErrorType:e(f.t).clearErrorType})))])(k)},8970:function(e,t,n){"use strict";var r=n(9196);t.Z=()=>{const[e,t]=(0,r.useState)(!1),n=(0,r.useCallback)((()=>{e||(t(!0),window.location.reload())}),[e,t]);return{isFinishingMigration:e,finishMigrationCallback:n}}},463:function(e,t,n){"use strict";var r=n(9196),s=n(9818),i=n(9570),o=n(5853),a=n(7619);t.Z=e=>{const[t,n]=(0,r.useState)(!1),c=(0,s.useSelect)((e=>e(a.t).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:u,clearErrorType:d}=(0,s.useDispatch)(a.t);return{isMigrating:t,migrateCallback:(0,r.useCallback)((()=>{c||((0,o.Z)("migrate"),l(!0),n(!0),d(),i.ZP.migrateIDC().then((()=>{n(!1),e&&"[object Function]"==={}.toString.call(e)&&e()})).catch((e=>{throw l(!1),n(!1),u("migrate"),e})))}),[n,e,c,l,u,d])}}},1517:function(e,t,n){"use strict";var r=n(9196),s=n(9818),i=n(9570),o=n(5853),a=n(7619);t.Z=e=>{const[t,n]=(0,r.useState)(!1),c=(0,s.useSelect)((e=>e(a.t).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:u,clearErrorType:d}=(0,s.useDispatch)(a.t);return{isStartingFresh:t,startFreshCallback:(0,r.useCallback)((()=>{c||((0,o.Z)("start_fresh"),l(!0),n(!0),d(),i.ZP.startIDCFresh(e).then((e=>{window.location.href=e+"&from=idc-notice"})).catch((e=>{throw l(!1),n(!1),u("start-fresh"),e})))}),[n,c,l,e,u,d])}}},8401:function(e,t,n){"use strict";n.d(t,{hG:function(){return r},vC:function(){return s},jk:function(){return i},ZP:function(){return o}});const r="SET_IS_ACTION_IN_PROGRESS",s="SET_ERROR_TYPE",i="CLEAR_ERROR_TYPE",o={setIsActionInProgress:e=>({type:r,isInProgress:e}),setErrorType:e=>({type:s,errorType:e}),clearErrorType:()=>({type:i})}},2944:function(e,t,n){"use strict";var r=n(9818),s=n(8401);const i=(0,r.combineReducers)({isActionInProgress:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===s.hG?t.isInProgress:e},errorType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.vC:return t.errorType;case s.jk:return null}return e}});t.Z=i},3642:function(e,t){"use strict";t.Z={getIsActionInProgress:e=>e.isActionInProgress||!1,getErrorType:e=>e.errorType||null}},9520:function(e,t,n){"use strict";var r=n(7538),s=n.n(r),i=n(9818);class o{static mayBeInit(e,t){null===o.store&&(o.store=(0,i.createReduxStore)(e,t),(0,i.register)(o.store))}}s()(o,"store",null),t.Z=o},7619:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(2944),s=n(8401),i=n(3642),o=n(9520);const a="jetpack-idc";o.Z.mayBeInit(a,{reducer:r.Z,actions:s.ZP,selectors:i.Z})},2665:function(e,t,n){"use strict";var r=n(1268),s=n.n(r);t.Z={headerText:s().string,logoAlt:s().string,mainTitle:s().string,mainBodyText:s().string,migratedTitle:s().string,migratedBodyText:s().string,migrateCardTitle:s().string,migrateCardBodyText:s().string,startFreshCardTitle:s().string,startFreshCardBodyText:s().string,nonAdminTitle:s().string,nonAdminBodyText:s().string}},2690:function(e,t){"use strict";t.Z=e=>/^https?:\/\//.test(e)?new URL(e).hostname:e.replace(/\/$/,"")},5853:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(816);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};void 0!==t&&"object"==typeof t||(t={}),e&&e.length&&void 0!==r.Z&&r.Z.tracks&&r.Z.mc&&(e=0!==(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,r.Z.tracks.recordEvent(e,t),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),r.Z.mc.bumpStat("jetpack-idc",e))}},8510:function(e){"use strict";if(void 0==={consumer_slug:"identity_crisis"}){var t=new Error('Cannot find module \'{"consumer_slug":"identity_crisis"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"identity_crisis"}},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},5609:function(e){"use strict";e.exports=window.wp.components},4333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},6483:function(e){"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(1850),t=n.n(e),r=n(9196),s=n.n(r),i=n(5643);!function(){const e=document.getElementById("jp-identity-crisis-container");if(null===e||!window.hasOwnProperty("JP_IDENTITY_CRISIS__INITIAL_STATE"))return;const{WP_API_root:n,WP_API_nonce:r,wpcomHomeUrl:o,currentUrl:a,redirectUri:c,tracksUserData:l,tracksEventData:u,isSafeModeConfirmed:d,consumerData:p,isAdmin:h}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;d||t().render(s().createElement(i.Z,{wpcomHomeUrl:o,currentUrl:a,apiRoot:n,apiNonce:r,redirectUri:c,tracksUserData:l,tracksEventData:u,customContent:p.hasOwnProperty("customContent")?p.customContent:{},isAdmin:h,logo:p.hasOwnProperty("logo")?p.logo:void 0}),e)}()}()}(); \ No newline at end of file
+__("Safe Mode has been switched off for <hostname>%1$s</hostname> website and Jetpack is fully functional.","jetpack-idc"),a),{hostname:s().createElement("strong",null),em:s().createElement("em",null),strong:s().createElement("strong",null)})),s().createElement("div",{className:"jp-idc__idc-screen__card-migrated"},s().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},i),s().createElement(o.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-migrated-separator"}),s().createElement(o.Dashicon,{icon:"arrow-right-alt",className:"jp-idc__idc-screen__card-migrated-separator-wide"}),s().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},a)),s().createElement(o.Button,{className:"jp-idc__idc-screen__card-action-button jp-idc__idc-screen__card-action-button-migrated",onClick:t,label:p},n?s().createElement(u.Z,null):p))};m.propTypes={wpcomHomeUrl:a().string.isRequired,currentUrl:a().string.isRequired,finishCallback:a().func,isFinishing:a().bool.isRequired,customContent:a().shape(p.Z)},m.defaultProps={finishCallback:()=>{},isFinishing:!1,customContent:{}},t.Z=m},1064:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5162),a=n.n(i),o=n(9307),c=n(5736),l=n(6324),u=n(7144);const __=c.__,d=e=>{const{customContent:t}=e;return s().createElement(s().Fragment,null,s().createElement("h2",null,t.nonAdminTitle?(0,o.createInterpolateElement)(t.nonAdminTitle,{em:s().createElement("em",null)}):__("Safe Mode has been activated","jetpack-idc")),s().createElement("p",null,(0,o.createInterpolateElement)(t.nonAdminBodyText||__("This site is in Safe Mode because there are 2 Jetpack-powered sites that appear to be duplicates. 2 sites that are telling Jetpack they’re the same site. <safeModeLink>Learn more about safe mode.</safeModeLink>","jetpack-idc"),{safeModeLink:s().createElement("a",{href:t.supportURL||(0,l.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"}),em:s().createElement("em",null),strong:s().createElement("strong",null)})),t.nonAdminBodyText?"":s().createElement("p",null,__("An administrator of this site can take Jetpack out of Safe Mode.","jetpack-idc")))};d.propTypes={customContent:a().shape(u.Z)},d.defaultProps={customContent:{}},t.Z=d},567:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5162),a=n.n(i),o=n(9307),c=n(5736),l=n(1202),u=n(5533),d=n(1064),p=n(1052),m=n(7144);n(7724);const __=c.__,h=e=>{const{logo:t,customContent:n,wpcomHomeUrl:r,currentUrl:i,redirectUri:a,isMigrating:c,migrateCallback:l,isMigrated:m,finishMigrationCallback:h,isFinishingMigration:g,isStartingFresh:f,startFreshCallback:y,isAdmin:k,hasMigrateError:C,hasFreshError:v,hasStaySafeError:_,possibleDynamicSiteUrlDetected:b}=e,w=k?"":s().createElement(d.Z,{customContent:n});let E="";return k&&(E=m?s().createElement(p.Z,{wpcomHomeUrl:r,currentUrl:i,finishCallback:h,isFinishing:g,customContent:n}):s().createElement(u.Z,{wpcomHomeUrl:r,currentUrl:i,redirectUri:a,customContent:n,isMigrating:c,migrateCallback:l,isStartingFresh:f,startFreshCallback:y,hasMigrateError:C,hasFreshError:v,hasStaySafeError:_,possibleDynamicSiteUrlDetected:b})),s().createElement("div",{className:"jp-idc__idc-screen"+(m?" jp-idc__idc-screen__success":"")},s().createElement("div",{className:"jp-idc__idc-screen__header"},s().createElement("div",{className:"jp-idc__idc-screen__logo"},((e,t)=>"string"==typeof e||e instanceof String?s().createElement("img",{src:e,alt:t,className:"jp-idc__idc-screen__logo-image"}):e)(t,n.logoAlt||"")),s().createElement("div",{className:"jp-idc__idc-screen__logo-label"},n.headerText?(0,o.createInterpolateElement)(n.headerText,{em:s().createElement("em",null),strong:s().createElement("strong",null)}):__("Safe Mode","jetpack-idc"))),w,E)};h.propTypes={logo:a().object.isRequired,customContent:a().shape(m.Z),wpcomHomeUrl:a().string.isRequired,currentUrl:a().string.isRequired,redirectUri:a().string.isRequired,isMigrating:a().bool.isRequired,migrateCallback:a().func,isMigrated:a().bool.isRequired,finishMigrationCallback:a().func,isFinishingMigration:a().bool.isRequired,isStartingFresh:a().bool.isRequired,startFreshCallback:a().func,isAdmin:a().bool.isRequired,hasMigrateError:a().bool.isRequired,hasFreshError:a().bool.isRequired,hasStaySafeError:a().bool.isRequired,possibleDynamicSiteUrlDetected:a().bool},h.defaultProps={logo:s().createElement(l.Z,{height:24}),isMigrated:!1,isFinishingMigration:!1,isMigrating:!1,isStartingFresh:!1,customContent:{},hasMigrateError:!1,hasFreshError:!1,hasStaySafeError:!1,possibleDynamicSiteUrlDetected:!1},t.Z=h},2533:function(e,t,n){"use strict";var r=n(9196),s=n.n(r),i=n(5162),a=n.n(i),o=n(4333),c=n(9818),l=n(9307),u=n(5609),d=n(5736),p=n(6483),m=n(4743),h=n(5033),g=n(6324),f=n(2678),y=n(6521),k=n(6637),C=(n(310),n(7144));const __=d.__,v=e=>{const{isActionInProgress:t,setIsActionInProgress:n,setErrorType:i,clearErrorType:a,hasError:o,customContent:c}=e,[d,f]=(0,r.useState)(!1),C=(0,r.useCallback)((()=>{t||(f(!0),n(!0),a(),(0,y.Z)("confirm_safe_mode"),m.ZP.confirmIDCSafeMode().then((()=>{window.location.href=(0,p.removeQueryArgs)(window.location.href,"jetpack_idc_clear_confirmation","_wpnonce")})).catch((e=>{throw n(!1),f(!1),i("safe-mode"),e})))}),[t,n,i,a]);return s().createElement("div",{className:"jp-idc__safe-mode"},d?s().createElement("div",{className:"jp-idc__safe-mode__staying-safe"},s().createElement(h.Z,{color:"black"}),s().createElement("span",null,__("Finishing setting up Safe mode…","jetpack-idc"))):(_=C,b=t,(0,l.createInterpolateElement)(__("Or decide later and stay in <button>Safe mode</button>","jetpack-idc"),{button:s().createElement(u.Button,{label:__("Safe mode","jetpack-idc"),variant:"link",onClick:_,disabled:b})})),o&&(v=c.supportURL,s().createElement(k.Z,null,(0,l.createInterpolateElement)(__("Could not stay in safe mode. Retry or find out more <a>here</a>.","jetpack-idc"),{a:s().createElement("a",{href:v||(0,g.Z)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})}))));var v,_,b};v.propTypes={isActionInProgress:a().bool,setIsActionInProgress:a().func.isRequired,setErrorType:a().func.isRequired,clearErrorType:a().func.isRequired,hasError:a().bool.isRequired,customContent:a().shape(C.Z)},v.defaultProps={hasError:!1},t.Z=(0,o.compose)([(0,c.withSelect)((e=>({isActionInProgress:e(f.t).getIsActionInProgress()}))),(0,c.withDispatch)((e=>({setIsActionInProgress:e(f.t).setIsActionInProgress,setErrorType:e(f.t).setErrorType,clearErrorType:e(f.t).clearErrorType})))])(v)},1272:function(e,t,n){"use strict";var r=n(9196);t.Z=()=>{const[e,t]=(0,r.useState)(!1),n=(0,r.useCallback)((()=>{e||(t(!0),window.location.reload())}),[e,t]);return{isFinishingMigration:e,finishMigrationCallback:n}}},970:function(e,t,n){"use strict";var r=n(9196),s=n(9818),i=n(4743),a=n(6521),o=n(2678);t.Z=e=>{const[t,n]=(0,r.useState)(!1),c=(0,s.useSelect)((e=>e(o.t).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:u,clearErrorType:d}=(0,s.useDispatch)(o.t);return{isMigrating:t,migrateCallback:(0,r.useCallback)((()=>{c||((0,a.Z)("migrate"),l(!0),n(!0),d(),i.ZP.migrateIDC().then((()=>{n(!1),e&&"[object Function]"==={}.toString.call(e)&&e()})).catch((e=>{throw l(!1),n(!1),u("migrate"),e})))}),[n,e,c,l,u,d])}}},3105:function(e,t,n){"use strict";var r=n(9196),s=n(9818),i=n(4743),a=n(6521),o=n(2678);t.Z=e=>{const[t,n]=(0,r.useState)(!1),c=(0,s.useSelect)((e=>e(o.t).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:u,clearErrorType:d}=(0,s.useDispatch)(o.t);return{isStartingFresh:t,startFreshCallback:(0,r.useCallback)((()=>{c||((0,a.Z)("start_fresh"),l(!0),n(!0),d(),i.ZP.startIDCFresh(e).then((e=>{window.location.href=e+"&from=idc-notice"})).catch((e=>{throw l(!1),n(!1),u("start-fresh"),e})))}),[n,c,l,e,u,d])}}},136:function(e,t,n){"use strict";n.d(t,{ZP:function(){return a},hG:function(){return r},jk:function(){return i},vC:function(){return s}});const r="SET_IS_ACTION_IN_PROGRESS",s="SET_ERROR_TYPE",i="CLEAR_ERROR_TYPE",a={setIsActionInProgress:e=>({type:r,isInProgress:e}),setErrorType:e=>({type:s,errorType:e}),clearErrorType:()=>({type:i})}},7773:function(e,t,n){"use strict";var r=n(9818),s=n(136);const i=(0,r.combineReducers)({isActionInProgress:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===s.hG?t.isInProgress:e},errorType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.vC:return t.errorType;case s.jk:return null}return e}});t.Z=i},9416:function(e,t){"use strict";t.Z={getIsActionInProgress:e=>e.isActionInProgress||!1,getErrorType:e=>e.errorType||null}},5943:function(e,t,n){"use strict";var r=n(8294),s=n.n(r),i=n(9818);class a{static mayBeInit(e,t){null===a.store&&(a.store=(0,i.createReduxStore)(e,t),(0,i.register)(a.store))}}s()(a,"store",null),t.Z=a},2678:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(7773),s=n(136),i=n(9416),a=n(5943);const o="jetpack-idc";a.Z.mayBeInit(o,{reducer:r.Z,actions:s.ZP,selectors:i.Z})},7144:function(e,t,n){"use strict";var r=n(5162),s=n.n(r);t.Z={headerText:s().string,logoAlt:s().string,mainTitle:s().string,mainBodyText:s().string,migratedTitle:s().string,migratedBodyText:s().string,migrateCardTitle:s().string,migrateButtonLabel:s().string,migrateCardBodyText:s().string,startFreshCardTitle:s().string,startFreshCardBodyText:s().string,startFreshButtonLabel:s().string,nonAdminTitle:s().string,nonAdminBodyText:s().string,supportURL:s().string}},2115:function(e,t){"use strict";t.Z=e=>/^https?:\/\//.test(e)?new URL(e).hostname:e.replace(/\/$/,"")},6521:function(e,t,n){"use strict";n.d(t,{M:function(){return s},Z:function(){return i}});var r=n(6975);function s(e,t){t&&t.hasOwnProperty("userid")&&t.hasOwnProperty("username")&&r.Z.initialize(t.userid,t.username),e&&(e.hasOwnProperty("blogID")&&r.Z.assignSuperProps({blog_id:e.blogID}),e.hasOwnProperty("platform")&&r.Z.assignSuperProps({platform:e.platform})),r.Z.setMcAnalyticsEnabled(!0)}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};void 0!==t&&"object"==typeof t||(t={}),e&&e.length&&void 0!==r.Z&&r.Z.tracks&&r.Z.mc&&(e=0!==(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,r.Z.tracks.recordEvent(e,t),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),r.Z.mc.bumpStat("jetpack-idc",e))}},8510:function(e){"use strict";if(void 0==={consumer_slug:"identity_crisis"}){var t=new Error('Cannot find module \'{"consumer_slug":"identity_crisis"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"identity_crisis"}},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},5609:function(e){"use strict";e.exports=window.wp.components},4333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},6483:function(e){"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(1850),t=n.n(e),r=n(9196),s=n.n(r),i=n(7381);!function(){const e=document.getElementById("jp-identity-crisis-container");if(null===e||!window.hasOwnProperty("JP_IDENTITY_CRISIS__INITIAL_STATE"))return;const{WP_API_root:n,WP_API_nonce:r,wpcomHomeUrl:a,currentUrl:o,redirectUri:c,tracksUserData:l,tracksEventData:u,isSafeModeConfirmed:d,consumerData:p,isAdmin:m,possibleDynamicSiteUrlDetected:h}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;d||t().render(s().createElement(i.Z,{wpcomHomeUrl:a,currentUrl:o,apiRoot:n,apiNonce:r,redirectUri:c,tracksUserData:l||{},tracksEventData:u,customContent:p.hasOwnProperty("customContent")?p.customContent:{},isAdmin:m,logo:p.hasOwnProperty("logo")?p.logo:void 0,possibleDynamicSiteUrlDetected:h}),e)}()}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.rtl.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.rtl.css
index 5c2ffd77..4522f440 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.rtl.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.rtl.css
@@ -1 +1 @@
-#wp-admin-bar-jetpack-idc.hide{display:none}#wp-admin-bar-jetpack-idc .jp-idc-admin-bar{background:#fff;border-radius:2px;color:#1d2327;font-size:12px;padding:4px 8px}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons{color:#1d2327;font-family:dashicons}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before{font-size:16px}#wpadminbar #wp-admin-bar-jetpack-idc:hover .ab-item{background:inherit}#wpadminbar #wp-admin-bar-jetpack-idc:hover .jp-idc-admin-bar{background:#f0f0f1}#jp-identity-crisis-container .jp-idc__idc-screen{margin-bottom:40px;margin-top:40px}.jp-idc__idc-screen{background:#fff;border-radius:4px;border-right:4px solid #e68b28;box-shadow:0 0 40px rgba(0,0,0,.04);box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0 auto;max-width:1128px;padding:10px}.jp-idc__idc-screen.jp-idc__idc-screen__success{border-color:#069e08}@media(min-width:600px){.jp-idc__idc-screen{padding:48px}}.jp-idc__idc-screen .jp-idc__idc-screen__header{align-items:center;display:flex}.jp-idc__idc-screen .jp-idc__idc-screen__header .jp-idc__idc-screen__logo-image{max-height:100px;max-width:100px}.jp-idc__idc-screen .jp-idc__idc-screen__header .jp-idc__idc-screen__logo-label{font-size:14px;line-height:22px;margin:-7px 8px 0 0}.jp-idc__idc-screen h2{font-size:24px;font-weight:600;line-height:28px;margin:32px 0 0}.jp-idc__idc-screen h3{font-size:20px;font-weight:600;line-height:28px;margin:24px 0 0}.jp-idc__idc-screen p{color:#2c3338;font-size:16px;line-height:24px;margin:16px 0 0;max-width:710px}.jp-idc__idc-screen a{color:#2c3338}.jp-idc__idc-screen .jp-idc__idc-screen__cards{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap}@media only screen and (min-width:1403px){.jp-idc__idc-screen .jp-idc__idc-screen__cards{align-items:normal;flex-direction:row}}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__cards-separator{align-self:center;color:#23282d;font-size:20px;font-weight:600;line-height:28px;margin:0 24px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base{border:1px solid #c3c4c7;border-radius:4px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;margin:24px 0;max-width:100%;padding:10px;width:480px}@media(min-width:600px){.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base{padding:24px}}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base h4{font-size:20px;font-weight:400;line-height:28px;margin:0 0 8px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base p{margin:0 0 24px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-sitename{background:#f9f9f6;border-radius:33px;box-sizing:border-box;color:#2c3338;font-size:16px;font-weight:700;line-height:24px;overflow-wrap:anywhere;padding:16px;text-align:center;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-separator{display:block;margin:12px auto}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-button{padding:8px 24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-action-button{background:#000;border-radius:4px;color:#fff;font-size:16px;font-weight:600;height:auto;justify-content:center;line-height:24px;margin-top:24px;min-height:40px;padding:8px}.jp-idc__idc-screen .jp-idc__idc-screen__card-action-button-migrated{margin-top:64px;width:141px}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap;margin-top:24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-hostname{border:1px solid #c3c4c7;border-radius:4px;color:#2c3338;flex-grow:1;font-size:16px;font-weight:700;line-height:24px;padding:24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{display:none}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator{display:block}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator,.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{margin:28px}@media only screen and (min-width:1400px){.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated{flex-direction:row;width:auto}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator{display:none}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{display:block}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-hostname{width:auto}}@keyframes rotate-spinner{to{transform:rotate(-1turn)}}.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 transparent;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-left-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-20:#a7aaad;--jp-gray-40:#787c82;--jp-gray-50:#646970;--jp-gray-60:#50575e;--jp-gray-80:#8a2424;--jp-gray-off:#e2e2df;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-idc__idc-screen .jp-idc__error-message{align-items:center;color:var(--jp-red);display:flex;flex-direction:row;justify-content:center;margin:15px 0}.jp-idc__idc-screen .jp-idc__error-message .error-gridicon{fill:var(--jp-red);margin-left:8px}.jp-idc__idc-screen .jp-idc__error-message a,.jp-idc__idc-screen .jp-idc__error-message span{color:var(--jp-red);font-size:var(--font-body)}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__error-message{margin-top:5px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base{padding-bottom:75px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base.jp-idc__idc-screen__card-action-error{padding-bottom:5px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base .jp-idc__error-message{height:40px}.jp-idc__idc-screen .jp-idc__safe-mode{text-align:center}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__safe-mode__staying-safe{display:flex;justify-content:center;padding:6px}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__safe-mode__staying-safe .jp-components-spinner{margin:0 10px}.jp-idc__idc-screen .jp-idc__safe-mode,.jp-idc__idc-screen .jp-idc__safe-mode button{color:#2c3338;font-size:16px;line-height:24px}.jp-idc__idc-screen .jp-idc__safe-mode button{padding:0;text-decoration:underline} \ No newline at end of file
+#wpadminbar #wp-admin-bar-jetpack-idc{margin-left:5px}#wpadminbar #wp-admin-bar-jetpack-idc .jp-idc-admin-bar{border-radius:2px;color:#efeff0;font-size:14px;font-weight:500;line-height:20px;padding:6px 8px}#wpadminbar #wp-admin-bar-jetpack-idc.hide{display:none}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons{font-family:dashicons;margin-top:-6px}#wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before{font-size:18px}#wpadminbar #wp-admin-bar-jetpack-idc .ab-item{background:#e68b28;padding:0}#jp-identity-crisis-container .jp-idc__idc-screen{margin-bottom:40px;margin-top:40px}#jp-identity-crisis-container.notice{background:none;border:none}.jp-idc__idc-screen{background:#fff;border-radius:4px;border-right:4px solid #e68b28;box-shadow:0 0 40px rgba(0,0,0,.04);box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0 auto;max-width:1128px;padding:10px}.jp-idc__idc-screen.jp-idc__idc-screen__success{border-color:#069e08}@media(min-width:600px){.jp-idc__idc-screen{padding:48px}}.jp-idc__idc-screen .jp-idc__idc-screen__header{align-items:center;display:flex}.jp-idc__idc-screen .jp-idc__idc-screen__header .jp-idc__idc-screen__logo-image{max-height:100px;max-width:100px}.jp-idc__idc-screen .jp-idc__idc-screen__header .jp-idc__idc-screen__logo-label{font-size:14px;line-height:22px;margin:-7px 8px 0 0}.jp-idc__idc-screen h2{font-size:24px;font-weight:600;line-height:28px;margin:32px 0 0}.jp-idc__idc-screen h3{font-size:20px;font-weight:600;line-height:28px;margin:24px 0 0}.jp-idc__idc-screen p{color:#2c3338;font-size:16px;line-height:24px;margin:16px 0 0;max-width:710px}.jp-idc__idc-screen a{color:#2c3338}.jp-idc__idc-screen .jp-idc__idc-screen__cards{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap}@media only screen and (min-width:1403px){.jp-idc__idc-screen .jp-idc__idc-screen__cards{align-items:normal;flex-direction:row}}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__cards-separator{align-self:center;color:#23282d;font-size:20px;font-weight:600;line-height:28px;margin:0 24px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base{border:1px solid #c3c4c7;border-radius:4px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;margin:24px 0;max-width:100%;padding:10px;width:480px}@media(min-width:600px){.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base{padding:24px}}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base h4{font-size:20px;font-weight:400;line-height:28px;margin:0 0 8px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base p{margin:0 0 24px}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-sitename{background:#f9f9f6;border-radius:33px;box-sizing:border-box;color:#2c3338;font-size:16px;font-weight:700;line-height:24px;overflow-wrap:anywhere;padding:16px;text-align:center;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-separator{display:block;margin:12px auto}.jp-idc__idc-screen .jp-idc__idc-screen__cards .jp-idc__idc-screen__card-action-base .jp-idc__idc-screen__card-action-button{padding:8px 24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-action-button{background:#000;border-radius:4px;color:#fff;font-size:16px;font-weight:600;height:auto;justify-content:center;line-height:24px;margin-top:24px;min-height:40px;padding:8px}.jp-idc__idc-screen .jp-idc__idc-screen__card-action-button-migrated{margin-top:64px;width:141px}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap;margin-top:24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-hostname{border:1px solid #c3c4c7;border-radius:4px;color:#2c3338;flex-grow:1;font-size:16px;font-weight:700;line-height:24px;padding:24px;width:100%}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{display:none}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator{display:block}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator,.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{margin:28px}@media only screen and (min-width:1400px){.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated{flex-direction:row;width:auto}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator{display:none}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-separator-wide{display:block}.jp-idc__idc-screen .jp-idc__idc-screen__card-migrated .jp-idc__idc-screen__card-migrated-hostname{width:auto}}@keyframes rotate-spinner{to{transform:rotate(-1turn)}}.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 transparent;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-left-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-idc__idc-screen .jp-idc__error-message{align-items:center;color:var(--jp-red);display:flex;flex-direction:row;justify-content:center;margin:15px 0}.jp-idc__idc-screen .jp-idc__error-message .error-gridicon{fill:var(--jp-red);margin-left:8px}.jp-idc__idc-screen .jp-idc__error-message a,.jp-idc__idc-screen .jp-idc__error-message span{color:var(--jp-red);font-size:var(--font-body)}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__error-message{margin-top:5px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base{padding-bottom:75px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base.jp-idc__idc-screen__card-action-error{padding-bottom:5px}.jp-idc__idc-screen .jp-idc__idc-screen__cards.jp-idc__idc-screen__cards-error .jp-idc__idc-screen__card-action-base .jp-idc__error-message{height:40px}.jp-idc__idc-screen .jp-idc__safe-mode{text-align:center}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__safe-mode__staying-safe{display:flex;justify-content:center;padding:6px}.jp-idc__idc-screen .jp-idc__safe-mode .jp-idc__safe-mode__staying-safe .jp-components-spinner{margin:0 10px}.jp-idc__idc-screen .jp-idc__safe-mode,.jp-idc__idc-screen .jp-idc__safe-mode button{color:#2c3338;font-size:16px;line-height:24px}.jp-idc__idc-screen .jp-idc__safe-mode button{padding:0;text-decoration:underline} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin-bar.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin-bar.scss
index cd2008cf..262b0819 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin-bar.scss
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin-bar.scss
@@ -1,28 +1,30 @@
-#wp-admin-bar-jetpack-idc.hide {
- display: none;
-}
+#wpadminbar #wp-admin-bar-jetpack-idc {
+ margin-right: 5px;
-#wp-admin-bar-jetpack-idc .jp-idc-admin-bar {
- background: #fff;
- border-radius: 2px;
- color: #1d2327;
- padding: 4px 8px;
- font-size: 12px;
-}
+ .jp-idc-admin-bar {
+ border-radius: 2px;
+ font-weight: 500;
+ font-size: 14px;
+ line-height: 20px;
+ color: #EFEFF0;
+ padding: 6px 8px;
+ }
-#wpadminbar #wp-admin-bar-jetpack-idc .dashicons {
- color: #1d2327;
- font-family: 'dashicons';
-}
+ &.hide {
+ display: none;
+ }
-#wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before {
- font-size: 16px;
-}
+ .dashicons {
+ font-family: 'dashicons';
+ margin-top: -6px;
-#wpadminbar #wp-admin-bar-jetpack-idc:hover .ab-item {
- background: inherit;
-}
+ &:before {
+ font-size: 18px;
+ }
+ }
-#wpadminbar #wp-admin-bar-jetpack-idc:hover .jp-idc-admin-bar {
- background: #f0f0f1;
+ .ab-item {
+ padding: 0;
+ background: #E68B28;
+ }
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin.jsx
index 296b1898..75f66477 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin.jsx
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin.jsx
@@ -32,6 +32,7 @@ function render() {
isSafeModeConfirmed,
consumerData,
isAdmin,
+ possibleDynamicSiteUrlDetected,
} = window.JP_IDENTITY_CRISIS__INITIAL_STATE;
if ( ! isSafeModeConfirmed ) {
@@ -42,13 +43,14 @@ function render() {
apiRoot={ WP_API_root }
apiNonce={ WP_API_nonce }
redirectUri={ redirectUri }
- tracksUserData={ tracksUserData }
+ tracksUserData={ tracksUserData || {} }
tracksEventData={ tracksEventData }
customContent={
consumerData.hasOwnProperty( 'customContent' ) ? consumerData.customContent : {}
}
isAdmin={ isAdmin }
logo={ consumerData.hasOwnProperty( 'logo' ) ? consumerData.logo : undefined }
+ possibleDynamicSiteUrlDetected={ possibleDynamicSiteUrlDetected }
/>,
container
);
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/style.scss
index 0b9ccb86..14f09db9 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/style.scss
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/style.scss
@@ -2,3 +2,8 @@
margin-top: 40px;
margin-bottom: 40px;
}
+
+#jp-identity-crisis-container.notice {
+ background: none;
+ border: none;
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php
index cae3ed16..878b8e81 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php
@@ -28,7 +28,7 @@ class Identity_Crisis {
/**
* Package Version
*/
- const PACKAGE_VERSION = '0.6.1';
+ const PACKAGE_VERSION = '0.8.12';
/**
* Instance of the object.
@@ -65,7 +65,7 @@ class Identity_Crisis {
* @return object
*/
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new Identity_Crisis();
}
@@ -169,7 +169,7 @@ class Identity_Crisis {
if ( current_user_can( 'jetpack_disconnect' ) ) {
if (
isset( $_GET['jetpack_idc_clear_confirmation'], $_GET['_wpnonce'] ) &&
- wp_verify_nonce( $_GET['_wpnonce'], 'jetpack_idc_clear_confirmation' )
+ wp_verify_nonce( $_GET['_wpnonce'], 'jetpack_idc_clear_confirmation' ) // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- WordPress core doesn't unslash or verify nonces either.
) {
Jetpack_Options::delete_option( 'safe_mode_confirmed' );
self::$is_safe_mode_confirmed = false;
@@ -193,7 +193,6 @@ class Identity_Crisis {
$status = new Status();
if ( ! is_string( $url )
|| $status->is_offline_mode()
- || $status->is_staging_site()
|| self::validate_sync_error_idc_option() ) {
return $url;
}
@@ -247,10 +246,15 @@ class Identity_Crisis {
$href = wp_nonce_url( $href, 'jetpack_idc_clear_confirmation' );
+ $consumer_data = UI::get_consumer_data();
+ $label = isset( $consumer_data['customContent']['adminBarSafeModeLabel'] )
+ ? esc_html( $consumer_data['customContent']['adminBarSafeModeLabel'] )
+ : esc_html__( 'Jetpack Safe Mode', 'jetpack-idc' );
+
$title = sprintf(
'<span class="jp-idc-admin-bar">%s %s</span>',
- '<span class="dashicons dashicons-warning"></span>',
- esc_html__( 'Jetpack Safe Mode', 'jetpack-idc' )
+ '<span class="dashicons dashicons-info-outline"></span>',
+ $label
);
$menu = array(
@@ -375,6 +379,8 @@ class Identity_Crisis {
'migrate_for_idc',
)
);
+
+ delete_transient( 'jetpack_idc_possible_dynamic_site_url_detected' );
}
/**
@@ -1216,4 +1222,68 @@ class Identity_Crisis {
'current_url' => $data['home'],
);
}
+
+ /**
+ * Try to detect $_SERVER['HTTP_HOST'] being used within WP_SITEURL or WP_HOME definitions inside of wp-config.
+ *
+ * If `HTTP_HOST` usage is found, it's possbile (though not certain) that site URLs are dynamic.
+ *
+ * When a site URL is dynamic, it can lead to a Jetpack IDC. If potentially dynamic usage is detected,
+ * helpful support info will be shown on the IDC UI about setting a static site/home URL.
+ *
+ * @return bool True if potentially dynamic site urls were detected in wp-config, false otherwise.
+ */
+ public static function detect_possible_dynamic_site_url() {
+ $transient_key = 'jetpack_idc_possible_dynamic_site_url_detected';
+ $transient_val = get_transient( $transient_key );
+
+ if ( false !== $transient_val ) {
+ return (bool) $transient_val;
+ }
+
+ $path = self::locate_wp_config();
+ $wp_config = $path ? file_get_contents( $path ) : false; // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
+ if ( $wp_config ) {
+ $matched = preg_match(
+ '/define ?\( ?[\'"](?:WP_SITEURL|WP_HOME).+(?:HTTP_HOST).+\);/',
+ $wp_config
+ );
+
+ if ( $matched ) {
+ set_transient( $transient_key, 1, HOUR_IN_SECONDS );
+ return true;
+ }
+ }
+
+ set_transient( $transient_key, 0, HOUR_IN_SECONDS );
+ return false;
+ }
+
+ /**
+ * Gets path to WordPress configuration.
+ * Source: https://github.com/wp-cli/wp-cli/blob/master/php/utils.php
+ *
+ * @return string
+ */
+ public static function locate_wp_config() {
+ static $path;
+
+ if ( null === $path ) {
+ $path = false;
+
+ if ( getenv( 'WP_CONFIG_PATH' ) && file_exists( getenv( 'WP_CONFIG_PATH' ) ) ) {
+ $path = getenv( 'WP_CONFIG_PATH' );
+ } elseif ( file_exists( ABSPATH . 'wp-config.php' ) ) {
+ $path = ABSPATH . 'wp-config.php';
+ } elseif ( file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) {
+ $path = dirname( ABSPATH ) . '/wp-config.php';
+ }
+
+ if ( $path ) {
+ $path = realpath( $path );
+ }
+ }
+
+ return $path;
+ }
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php
index a3c2694a..0b0a31e4 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php
@@ -9,7 +9,9 @@ namespace Automattic\Jetpack\IdentityCrisis;
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Identity_Crisis;
+use Automattic\Jetpack\Status\Host;
use Automattic\Jetpack\Tracking as Tracking;
+use Jetpack_Options;
use Jetpack_Tracks_Client;
/**
@@ -18,6 +20,13 @@ use Jetpack_Tracks_Client;
class UI {
/**
+ * Temporary storage for consumer data.
+ *
+ * @var array
+ */
+ private static $consumers;
+
+ /**
* Initialization.
*/
public static function init() {
@@ -69,7 +78,7 @@ class UI {
*/
public static function render_container() {
?>
- <div id="jp-identity-crisis-container"></div>
+ <div id="jp-identity-crisis-container" class="notice"></div>
<?php
}
@@ -88,24 +97,28 @@ class UI {
* @return array
*/
private static function get_initial_state_data() {
- $idc_urls = Identity_Crisis::get_mismatched_urls();
- $current_screen = get_current_screen();
- $is_admin = current_user_can( 'jetpack_disconnect' );
+ $idc_urls = Identity_Crisis::get_mismatched_urls();
+ $current_screen = get_current_screen();
+ $is_admin = current_user_can( 'jetpack_disconnect' );
+ $possible_dynamic_site_url_detected = (bool) Identity_Crisis::detect_possible_dynamic_site_url();
return array(
- 'WP_API_root' => esc_url_raw( rest_url() ),
- 'WP_API_nonce' => wp_create_nonce( 'wp_rest' ),
- 'wpcomHomeUrl' => ( is_array( $idc_urls ) && array_key_exists( 'wpcom_url', $idc_urls ) ) ? $idc_urls['wpcom_url'] : null,
- 'currentUrl' => ( is_array( $idc_urls ) && array_key_exists( 'current_url', $idc_urls ) ) ? $idc_urls['current_url'] : null,
- 'redirectUri' => str_replace( '/wp-admin/', '/', $_SERVER['REQUEST_URI'] ),
- 'tracksUserData' => Jetpack_Tracks_Client::get_connected_user_tracks_identity(),
- 'tracksEventData' => array(
+ 'WP_API_root' => esc_url_raw( rest_url() ),
+ 'WP_API_nonce' => wp_create_nonce( 'wp_rest' ),
+ 'wpcomHomeUrl' => ( is_array( $idc_urls ) && array_key_exists( 'wpcom_url', $idc_urls ) ) ? $idc_urls['wpcom_url'] : null,
+ 'currentUrl' => ( is_array( $idc_urls ) && array_key_exists( 'current_url', $idc_urls ) ) ? $idc_urls['current_url'] : null,
+ 'redirectUri' => isset( $_SERVER['REQUEST_URI'] ) ? str_replace( '/wp-admin/', '/', filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) : '',
+ 'tracksUserData' => Jetpack_Tracks_Client::get_connected_user_tracks_identity(),
+ 'tracksEventData' => array(
'isAdmin' => $is_admin,
'currentScreen' => $current_screen ? $current_screen->id : false,
+ 'blogID' => Jetpack_Options::get_option( 'id' ),
+ 'platform' => static::get_platform(),
),
- 'isSafeModeConfirmed' => Identity_Crisis::$is_safe_mode_confirmed,
- 'consumerData' => static::get_consumer_data(),
- 'isAdmin' => $is_admin,
+ 'isSafeModeConfirmed' => Identity_Crisis::$is_safe_mode_confirmed,
+ 'consumerData' => static::get_consumer_data(),
+ 'isAdmin' => $is_admin,
+ 'possibleDynamicSiteUrlDetected' => $possible_dynamic_site_url_detected,
);
}
@@ -114,7 +127,11 @@ class UI {
*
* @return array
*/
- private static function get_consumer_data() {
+ public static function get_consumer_data() {
+ if ( null !== static::$consumers ) {
+ return static::$consumers;
+ }
+
$consumers = apply_filters( 'jetpack_idc_consumers', array() );
if ( ! $consumers ) {
@@ -139,13 +156,38 @@ class UI {
continue;
}
- if ( 0 === strpos( $_SERVER['REQUEST_URI'], $consumer['admin_page'] ) && strlen( $consumer['admin_page'] ) > $consumer_url_length ) {
+ if ( isset( $_SERVER['REQUEST_URI'] ) && 0 === strpos( filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ), $consumer['admin_page'] ) && strlen( $consumer['admin_page'] ) > $consumer_url_length ) {
$consumer_chosen = $consumer;
$consumer_url_length = strlen( $consumer['admin_page'] );
}
}
- return $consumer_chosen ? $consumer_chosen : array_shift( $consumers );
+ static::$consumers = $consumer_chosen ? $consumer_chosen : array_shift( $consumers );
+
+ return static::$consumers;
+ }
+
+ /**
+ * Get the site platform.
+ *
+ * @return string
+ */
+ private static function get_platform() {
+ $host = new Host();
+
+ if ( $host->is_woa_site() ) {
+ return 'woa';
+ }
+
+ if ( $host->is_vip_site() ) {
+ return 'vip';
+ }
+
+ if ( $host->is_newspack_site() ) {
+ return 'newspack';
+ }
+
+ return 'self-hosted';
}
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/CHANGELOG.md
index f734a12f..eef2050f 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/CHANGELOG.md
@@ -5,6 +5,83 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [2.2.17] - 2022-05-18
+### Changed
+- Updated package dependencies [#24372]
+
+## [2.2.16] - 2022-05-10
+### Changed
+- Updated package dependencies. [#24302]
+
+## [2.2.15] - 2022-05-04
+### Changed
+- Remove use of `pnpx` in preparation for pnpm 7.0. [#24210]
+- Updated package dependencies. [#24095]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+## [2.2.14] - 2022-04-26
+### Changed
+- Updated package dependencies.
+- Update package.json metadata.
+
+## [2.2.13] - 2022-04-19
+### Changed
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+
+## [2.2.12] - 2022-04-12
+### Changed
+- Updated package dependencies.
+
+## [2.2.11] - 2022-04-06
+### Changed
+- Updated package dependencies
+
+### Removed
+- Removed tracking dependency.
+
+## [2.2.10] - 2022-03-29
+### Changed
+- Updated package dependencies.
+
+## [2.2.9] - 2022-03-23
+### Changed
+- Updated package dependencies.
+
+## [2.2.8] - 2022-03-02
+### Changed
+- Updated package dependencies
+
+## [2.2.7] - 2022-02-22
+### Changed
+- Updated package dependencies.
+
+## [2.2.6] - 2022-02-16
+### Changed
+- Updated package dependencies.
+
+## [2.2.5] - 2022-02-09
+### Changed
+- Updated package dependencies.
+
+## [2.2.4] - 2022-02-02
+### Changed
+- Build: remove unneeded files from production build.
+- Update use of old jQuery interfaces
+
+## [2.2.3] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
+## [2.2.2] - 2022-01-18
+### Changed
+- General: update required node version to v16.13.2
+
+## [2.2.1] - 2022-01-11
+### Changed
+- Updated package dependencies.
+
## [2.2.0] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -361,6 +438,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update Jetpack to use new JITM package
+[2.2.17]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.16...v2.2.17
+[2.2.16]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.15...v2.2.16
+[2.2.15]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.14...v2.2.15
+[2.2.14]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.13...v2.2.14
+[2.2.13]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.12...v2.2.13
+[2.2.12]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.11...v2.2.12
+[2.2.11]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.10...v2.2.11
+[2.2.10]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.9...v2.2.10
+[2.2.9]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.8...v2.2.9
+[2.2.8]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.7...v2.2.8
+[2.2.7]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.6...v2.2.7
+[2.2.6]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.5...v2.2.6
+[2.2.5]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.4...v2.2.5
+[2.2.4]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.3...v2.2.4
+[2.2.3]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.2...v2.2.3
+[2.2.2]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.1...v2.2.2
+[2.2.1]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.0...v2.2.1
[2.2.0]: https://github.com/Automattic/jetpack-jitm/compare/v2.1.1...v2.2.0
[2.1.1]: https://github.com/Automattic/jetpack-jitm/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/Automattic/jetpack-jitm/compare/v2.0.8...v2.1.0
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php
index 72b05048..5620bc84 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'dd5a50b1bccd783c463742176b0af4b9'); \ No newline at end of file
+<?php return array('dependencies' => array('wp-polyfill'), 'version' => '364e5936cbf9aa7a5e2ca24dae6433e6'); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.js
index 718bf770..98f26c3f 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/index.js
@@ -1 +1 @@
-!function(){"use strict";jQuery(document).ready((function(t){var a={default:function(a){var e='<div class="jitm-card jitm-banner '+(a.CTA.message?"has-call-to-action":"")+" is-upgrade-premium "+a.content.classes+'" data-stats_url="'+a.jitm_stats_url+'">';if(e+='<div class="jitm-banner__content">',e+='<div class="jitm-banner__icon-plan">'+a.content.icon+"</div>",e+='<div class="jitm-banner__info">',e+='<div class="jitm-banner__title">'+a.content.message+"</div>",a.content.description&&""!==a.content.description){if(e+='<div class="jitm-banner__description">'+a.content.description,a.content.list.length>0){e+='<ul class="banner__list">';for(var i=0;i<a.content.list.length;i++){var n=a.content.list[i].item;a.content.list[i].url&&(n='<a href="'+a.content.list[i].url+'" target="_blank" rel="noopener noreferrer" data-module="'+a.feature_class+'" data-jptracks-name="nudge_item_click" data-jptracks-prop="jitm-'+a.id+'">'+n+"</a>"),e+='<li><svg class="gridicon gridicons-checkmark" height="16" width="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414" /></g></svg>'+n+"</li>"}}e+="</div>"}if(e+="</div>",e+="</div>",e+='<div class="jitm-banner__buttons_container">',a.activate_module&&(e+='<div class="jitm-banner__action" id="jitm-banner__activate">',e+='<a href="#" data-module="'+a.activate_module+'" type="button" class="jitm-button is-compact is-primary jptracks" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+a.id+'-activate_module">'+window.jitm_config.activate_module_text+"</a>",e+="</div>"),a.CTA.message){var c="jitm-button is-compact jptracks";a.CTA.primary&&null===a.activate_module&&(c+=" is-primary");var o=a.CTA.ajax_action;e+='<div class="jitm-banner__action">',e+='<a href="'+(a.CTA.hasOwnProperty("link")&&a.CTA.link.length?a.CTA.link:a.url)+'" target="'+(!1===a.CTA.newWindow||o?"_self":"_blank")+'" rel="noopener noreferrer" title="'+a.CTA.message+'" data-module="'+a.feature_class+'" type="button" class="'+c+'" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+a.id+'" '+(o?'data-ajax-action="'+o+'"':"")+">"+a.CTA.message+"</a>",e+="</div>"}return e+="</div>",a.is_dismissible&&(e+='<a href="#" data-module="'+a.feature_class+'" class="jitm-banner__dismiss"></a>'),t(e+="</div>")}},e=function(){t(".jetpack-jitm-message").each((function(){var e=t(this),i=e.data("message-path"),n=e.data("query"),c=e.data("redirect"),o=location.hash;"_dashboard"!==(o=o.replace(/#\//,"_"))&&(i=i.replace("toplevel_page_jetpack","toplevel_page_jetpack"+o));var r=!!t(".jetpack-logo__masthead").length;t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:i,query:n,full_jp_logo_exists:r,_wpnonce:e.data("nonce")}).then((function(i){"object"==typeof i&&i[1]&&(i=[i[1]]),0!==i.length&&i[0].content&&function(e,i,n){var c;(c=i.template)&&a[c]||(c="default"),i.url=i.url+"&redirect="+n;var o,r=a[c](i);r.find(".jitm-banner__dismiss").click((o=r,function(a){a.preventDefault(),o.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.jitm_config.nonce)},data:{id:i.id,feature_class:i.feature_class}})})),t("#jp-admin-notices").length>0?(e.innerHTML=r,t("#jp-admin-notices").find(".jitm-card")&&t(".jitm-card").replaceWith(r),r.prependTo(t("#jp-admin-notices"))):e.replaceWith(r),r.find("#jitm-banner__activate a").click((function(){var a=t(this);if(a.attr("disabled"))return!1;t.ajax({url:window.jitm_config.api_root+"jetpack/v4/module/"+a.data("module")+"/active",method:"POST",beforeSend:function(a){a.setRequestHeader("X-WP-Nonce",e.data("nonce")),t("#jitm-banner__activate a").text(window.jitm_config.activating_module_text),t("#jitm-banner__activate a").attr("disabled",!0)}}).done((function(){t("#jitm-banner__activate a").text(window.jitm_config.activated_module_text),t("#jitm-banner__activate a").attr("disabled",!0),setTimeout((function(){r.fadeOut("slow")}),2e3)}))})),r.find(".jitm-button[data-ajax-action]").click((function(a){a.preventDefault();var i=t(this);return i.attr("disabled",!0),t.post(window.ajaxurl,{action:i.data("ajax-action"),_nonce:e.data("ajax-nonce")}).done((function(){r.fadeOut("slow")})).fail((function(){i.attr("disabled",!1)})),!1}))}(e,i[0],c)}))}))};e(),t(window).bind("hashchange",(function(t){if(t.originalEvent.newURL.indexOf("jetpack#/")>=0){var a=document.querySelector(".jitm-card");a&&a.remove(),e()}}))}))}(); \ No newline at end of file
+!function(){"use strict";jQuery(document).ready((function(t){var a={default:function(a){var e='<div class="jitm-card jitm-banner '+(a.CTA.message?"has-call-to-action":"")+" is-upgrade-premium "+a.content.classes+'" data-stats_url="'+a.jitm_stats_url+'">';if(e+='<div class="jitm-banner__content">',e+='<div class="jitm-banner__icon-plan">'+a.content.icon+"</div>",e+='<div class="jitm-banner__info">',e+='<div class="jitm-banner__title">'+a.content.message+"</div>",a.content.description&&""!==a.content.description){if(e+='<div class="jitm-banner__description">'+a.content.description,a.content.list.length>0){e+='<ul class="banner__list">';for(var i=0;i<a.content.list.length;i++){var n=a.content.list[i].item;a.content.list[i].url&&(n='<a href="'+a.content.list[i].url+'" target="_blank" rel="noopener noreferrer" data-module="'+a.feature_class+'" data-jptracks-name="nudge_item_click" data-jptracks-prop="jitm-'+a.id+'">'+n+"</a>"),e+='<li><svg class="gridicon gridicons-checkmark" height="16" width="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414" /></g></svg>'+n+"</li>"}}e+="</div>"}if(e+="</div>",e+="</div>",e+='<div class="jitm-banner__buttons_container">',a.activate_module&&(e+='<div class="jitm-banner__action" id="jitm-banner__activate">',e+='<a href="#" data-module="'+a.activate_module+'" type="button" class="jitm-button is-compact is-primary jptracks" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+a.id+'-activate_module">'+window.jitm_config.activate_module_text+"</a>",e+="</div>"),a.CTA.message){var c="jitm-button is-compact jptracks";a.CTA.primary&&null===a.activate_module&&(c+=" is-primary");var o=a.CTA.ajax_action;e+='<div class="jitm-banner__action">',e+='<a href="'+(a.CTA.hasOwnProperty("link")&&a.CTA.link.length?a.CTA.link:a.url)+'" target="'+(!1===a.CTA.newWindow||o?"_self":"_blank")+'" rel="noopener noreferrer" title="'+a.CTA.message+'" data-module="'+a.feature_class+'" type="button" class="'+c+'" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+a.id+'" '+(o?'data-ajax-action="'+o+'"':"")+">"+a.CTA.message+"</a>",e+="</div>"}return e+="</div>",a.is_dismissible&&(e+='<a href="#" data-module="'+a.feature_class+'" class="jitm-banner__dismiss"></a>'),t(e+="</div>")}},e=function(){t(".jetpack-jitm-message").each((function(){var e=t(this),i=e.data("message-path"),n=e.data("query"),c=e.data("redirect"),o=location.hash;"_dashboard"!==(o=o.replace(/#\//,"_"))&&(i=i.replace("toplevel_page_jetpack","toplevel_page_jetpack"+o));var r=!!t(".jetpack-logo__masthead").length;t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:i,query:n,full_jp_logo_exists:r,_wpnonce:e.data("nonce")}).then((function(i){"object"==typeof i&&i[1]&&(i=[i[1]]),0!==i.length&&i[0].content&&function(e,i,n){var c;(c=i.template)&&a[c]||(c="default"),i.url=i.url+"&redirect="+n;var o,r=a[c](i);r.find(".jitm-banner__dismiss").on("click",(o=r,function(a){a.preventDefault(),o.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.jitm_config.nonce)},data:{id:i.id,feature_class:i.feature_class}})})),t("#jp-admin-notices").length>0?(e.innerHTML=r,t("#jp-admin-notices").find(".jitm-card")&&t(".jitm-card").replaceWith(r),r.prependTo(t("#jp-admin-notices"))):e.replaceWith(r),r.find("#jitm-banner__activate a").on("click",(function(){var a=t(this);if(a.attr("disabled"))return!1;t.ajax({url:window.jitm_config.api_root+"jetpack/v4/module/"+a.data("module")+"/active",method:"POST",beforeSend:function(a){a.setRequestHeader("X-WP-Nonce",e.data("nonce")),t("#jitm-banner__activate a").text(window.jitm_config.activating_module_text),t("#jitm-banner__activate a").attr("disabled",!0)}}).done((function(){t("#jitm-banner__activate a").text(window.jitm_config.activated_module_text),t("#jitm-banner__activate a").attr("disabled",!0),setTimeout((function(){r.fadeOut("slow")}),2e3)}))})),r.find(".jitm-button[data-ajax-action]").on("click",(function(a){a.preventDefault();var i=t(this);return i.attr("disabled",!0),t.post(window.ajaxurl,{action:i.data("ajax-action"),_nonce:e.data("ajax-nonce")}).done((function(){r.fadeOut("slow")})).fail((function(){i.attr("disabled",!1)})),!1}))}(e,i[0],c)}))}))};e(),t(window).on("hashchange",(function(t){if(t.originalEvent.newURL.indexOf("jetpack#/")>=0){var a=document.querySelector(".jitm-card");a&&a.remove(),e()}}))}))}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php
index 12577b09..9f66d436 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php
@@ -20,7 +20,7 @@ use Automattic\Jetpack\Status;
*/
class JITM {
- const PACKAGE_VERSION = '2.2.0';
+ const PACKAGE_VERSION = '2.2.17';
/**
* The configuration method that is called from the jetpack-config package.
@@ -198,7 +198,7 @@ class JITM {
$message_path = $this->get_message_path();
$query_string = _http_build_query( $_GET, '', ',' ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $current_screen = wp_unslash( $_SERVER['REQUEST_URI'] );
+ $current_screen = isset( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- Escaped below
?>
<div class="jetpack-jitm-message"
data-nonce="<?php echo esc_attr( wp_create_nonce( 'wp_rest' ) ); ?>"
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/js/jetpack-jitm.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/js/jetpack-jitm.js
index 785a38a7..61c5837a 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/js/jetpack-jitm.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/js/jetpack-jitm.js
@@ -73,7 +73,9 @@ jQuery( document ).ready( function ( $ ) {
html += '<div class="jitm-banner__action">';
html +=
'<a href="' +
- ( envelope.CTA.hasOwnProperty( 'link' ) && envelope.CTA.link.length ? envelope.CTA.link : envelope.url ) +
+ ( envelope.CTA.hasOwnProperty( 'link' ) && envelope.CTA.link.length
+ ? envelope.CTA.link
+ : envelope.url ) +
'" target="' +
( envelope.CTA.newWindow === false || ajaxAction ? '_self' : '_blank' ) +
'" rel="noopener noreferrer" title="' +
@@ -139,7 +141,7 @@ jQuery( document ).ready( function ( $ ) {
response.url = response.url + '&redirect=' + redirect;
var $template = templates[ template ]( response );
- $template.find( '.jitm-banner__dismiss' ).click( render( $template ) );
+ $template.find( '.jitm-banner__dismiss' ).on( 'click', render( $template ) );
if ( $( '#jp-admin-notices' ).length > 0 ) {
// Add to Jetpack notices within the Jetpack settings app.
@@ -158,7 +160,7 @@ jQuery( document ).ready( function ( $ ) {
}
// Handle Module activation button if it exists.
- $template.find( '#jitm-banner__activate a' ).click( function () {
+ $template.find( '#jitm-banner__activate a' ).on( 'click', function () {
var $activate_button = $( this );
// Do not allow any requests if the button is disabled.
@@ -193,7 +195,7 @@ jQuery( document ).ready( function ( $ ) {
} );
// Handle CTA ajax actions.
- $template.find( '.jitm-button[data-ajax-action]' ).click( function ( e ) {
+ $template.find( '.jitm-button[data-ajax-action]' ).on( 'click', function ( e ) {
e.preventDefault();
var button = $( this );
button.attr( 'disabled', true );
@@ -253,7 +255,7 @@ jQuery( document ).ready( function ( $ ) {
reFetch();
- $( window ).bind( 'hashchange', function ( e ) {
+ $( window ).on( 'hashchange', function ( e ) {
var newURL = e.originalEvent.newURL;
if ( newURL.indexOf( 'jetpack#/' ) >= 0 ) {
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/CHANGELOG.md
index fbeb8c83..f61c00d0 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/CHANGELOG.md
@@ -5,6 +5,71 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [2.1.15] - 2022-05-24
+### Fixed
+- Do not lazy-load images when in RSS feeds. [#24471]
+
+## [2.1.14] - 2022-05-18
+### Changed
+- Setup lazy-images filters to run on 'the_post' hook not 'wp_head' to fix a variety of issues. [#24277]
+- Updated package dependencies [#24372]
+
+## [2.1.13] - 2022-05-10
+### Changed
+- Updated package dependencies. [#24302]
+
+## [2.1.12] - 2022-05-04
+### Added
+- Add missing JavaScript dependencies. [#24096]
+
+### Changed
+- Update JS sources to modern syntax. [#24213]
+
+## [2.1.11] - 2022-04-26
+### Changed
+- Updated package dependencies.
+- Update package.json metadata.
+
+## [2.1.10] - 2022-04-06
+### Changed
+- Microperformance: Use === null instead of is_null
+
+## [2.1.9] - 2022-03-29
+### Changed
+- Microperformance: Use === null instead of is_null
+
+## [2.1.8] - 2022-03-23
+### Changed
+- Updated package dependencies.
+
+## [2.1.7] - 2022-03-02
+### Changed
+- Updated package dependencies.
+
+## [2.1.6] - 2022-02-16
+### Changed
+- Updated package dependencies.
+
+## [2.1.5] - 2022-02-09
+### Changed
+- Updated package dependencies.
+
+## [2.1.4] - 2022-02-02
+### Changed
+- Updated package dependencies.
+
+## [2.1.3] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
+## [2.1.2] - 2022-01-18
+### Changed
+- General: update required node version to v16.13.2
+
+## [2.1.1] - 2022-01-11
+### Changed
+- Updated package dependencies.
+
## [2.1.0] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -160,6 +225,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Lazy Images: Move into a package
+[2.1.15]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.14...v2.1.15
+[2.1.14]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.13...v2.1.14
+[2.1.13]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.12...v2.1.13
+[2.1.12]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.11...v2.1.12
+[2.1.11]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.10...v2.1.11
+[2.1.10]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.9...v2.1.10
+[2.1.9]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.8...v2.1.9
+[2.1.8]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.7...v2.1.8
+[2.1.7]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.6...v2.1.7
+[2.1.6]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.5...v2.1.6
+[2.1.5]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.4...v2.1.5
+[2.1.4]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.3...v2.1.4
+[2.1.3]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.2...v2.1.3
+[2.1.2]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.1...v2.1.2
+[2.1.1]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.10...v2.1.0
[2.0.10]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.9...v2.0.10
[2.0.9]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.8...v2.0.9
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/intersection-observer.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/intersection-observer.asset.php
index d56f1d1f..e3fc4a44 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/intersection-observer.asset.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/intersection-observer.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '6ae6d91d4b64fe31e32c2797e7c3dd42'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'f5a9d453c5a79e347f9ee90353c1abdf'); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.asset.php
index 13eb125f..e6bfccc1 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.asset.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '22d8bb42bcd6edc9c8ef53eb9b087d17'); \ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '25eafb3f2ad93939cdfaaa7782cb8b85'); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.js
index d606a494..b553eb23 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/dist/lazy-images.js
@@ -1 +1 @@
-!function(){var e=function(){var e,t,n,a={rootMargin:"200px 0px",threshold:.01},i=[];d();var r=document.querySelector("body");function d(){e=[].slice.call(document.querySelectorAll("img.jetpack-lazy-image:not(.jetpack-lazy-image--handled)")),n&&n.disconnect(),"IntersectionObserver"in window?(n=new IntersectionObserver(l,a),e.forEach((function(e){e.getAttribute("data-lazy-loaded")||n.observe(e)})),window.addEventListener("beforeprint",c),window.matchMedia&&window.matchMedia("print").addListener((function(e){e.matches&&c()}))):o()}function o(){for(n&&n.disconnect();e.length>0;)s(e[0])}function l(t){for(var a=0;a<t.length;a++){var i=t[a];i.intersectionRatio>0&&(n.unobserve(i.target),s(i.target))}0===e.length&&n.disconnect()}function c(){if(!t&&(e.length>0||i.length>0)){(t=document.createElement("div")).id="loadingWarning",t.style.fontWeight="bold",t.innerText=jetpackLazyImagesL10n.loading_warning;var n=document.createElement("style");n.innerHTML="#loadingWarning { display: none; }\n@media print {\n#loadingWarning { display: block; }\nbody > #loadingWarning ~ * { display: none !important; }\n}",t.appendChild(n),r.insertBefore(t,r.firstChild)}e.length>0&&o(),t&&alert(jetpackLazyImagesL10n.loading_warning)}function s(t){var n;if(t instanceof HTMLImageElement){var a=t.getAttribute("data-lazy-srcset"),r=t.getAttribute("data-lazy-sizes");t.removeAttribute("data-lazy-srcset"),t.removeAttribute("data-lazy-sizes"),t.removeAttribute("data-lazy-src"),t.classList.add("jetpack-lazy-image--handled"),t.setAttribute("data-lazy-loaded",1),r&&t.setAttribute("sizes",r),a?t.setAttribute("srcset",a):t.removeAttribute("srcset"),t.setAttribute("loading","eager"),i.push(t);var d=e.indexOf(t);d>=0&&e.splice(d,1),t.complete?g.call(t,null):(t.addEventListener("load",g,{once:!0}),t.addEventListener("error",g,{once:!0}));try{n=new Event("jetpack-lazy-loaded-image",{bubbles:!0,cancelable:!0})}catch(e){(n=document.createEvent("Event")).initEvent("jetpack-lazy-loaded-image",!0,!0)}t.dispatchEvent(n)}}function g(){var n=i.indexOf(this);n>=0&&i.splice(n,1),t&&0===e.length&&0===i.length&&(t.parentNode.removeChild(t),t=null)}r&&(r.addEventListener("is.post-load",d),r.addEventListener("jetpack-lazy-images-load",d))};"interactive"===document.readyState||"complete"===document.readyState?e():document.addEventListener("DOMContentLoaded",e)}(); \ No newline at end of file
+!function(){const e=function(){const e={rootMargin:"200px 0px",threshold:.01},t=[];let n,a,i;d();const o=document.querySelector("body");function d(){n=Array.from(document.querySelectorAll("img.jetpack-lazy-image:not(.jetpack-lazy-image--handled)")),i&&i.disconnect(),"IntersectionObserver"in window?(i=new IntersectionObserver(c,e),n.forEach((function(e){e.getAttribute("data-lazy-loaded")||i.observe(e)})),window.addEventListener("beforeprint",l),window.matchMedia&&window.matchMedia("print").addListener((function(e){e.matches&&l()}))):r()}function r(){for(i&&i.disconnect();n.length>0;)s(n[0])}function c(e){for(let t=0;t<e.length;t++){const n=e[t];n.intersectionRatio>0&&(i.unobserve(n.target),s(n.target))}0===n.length&&i.disconnect()}function l(){if(!a&&(n.length>0||t.length>0)){a=document.createElement("div"),a.id="loadingWarning",a.style.fontWeight="bold",a.innerText=jetpackLazyImagesL10n.loading_warning;const e=document.createElement("style");e.innerHTML="#loadingWarning { display: none; }\n@media print {\n#loadingWarning { display: block; }\nbody > #loadingWarning ~ * { display: none !important; }\n}",a.appendChild(e),o.insertBefore(a,o.firstChild)}n.length>0&&r(),a&&alert(jetpackLazyImagesL10n.loading_warning)}function s(e){let a;if(!(e instanceof HTMLImageElement))return;const i=e.getAttribute("data-lazy-srcset"),o=e.getAttribute("data-lazy-sizes");e.removeAttribute("data-lazy-srcset"),e.removeAttribute("data-lazy-sizes"),e.removeAttribute("data-lazy-src"),e.classList.add("jetpack-lazy-image--handled"),e.setAttribute("data-lazy-loaded",1),o&&e.setAttribute("sizes",o),i?e.setAttribute("srcset",i):e.removeAttribute("srcset"),e.setAttribute("loading","eager"),t.push(e);const d=n.indexOf(e);d>=0&&n.splice(d,1),e.complete?g.call(e,null):(e.addEventListener("load",g,{once:!0}),e.addEventListener("error",g,{once:!0}));try{a=new Event("jetpack-lazy-loaded-image",{bubbles:!0,cancelable:!0})}catch(e){a=document.createEvent("Event"),a.initEvent("jetpack-lazy-loaded-image",!0,!0)}e.dispatchEvent(a)}function g(){const e=t.indexOf(this);e>=0&&t.splice(e,1),a&&0===n.length&&0===t.length&&(a.parentNode.removeChild(a),a=null)}o&&(o.addEventListener("is.post-load",d),o.addEventListener("jetpack-lazy-images-load",d))};"interactive"===document.readyState||"complete"===document.readyState?e():document.addEventListener("DOMContentLoaded",e)}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/js/lazy-images.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/js/lazy-images.js
index 92b4f217..4dded3fb 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/js/lazy-images.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/js/lazy-images.js
@@ -1,17 +1,17 @@
/* global jetpackLazyImagesL10n */
-var jetpackLazyImagesModule = function () {
- var config = {
+const jetpackLazyImagesModule = function () {
+ const config = {
// If the image gets within 200px in the Y axis, start the download.
rootMargin: '200px 0px',
threshold: 0.01,
};
- var loadingImages = [];
- var lazyImages, loadingWarning, observer;
+ const loadingImages = [];
+ let lazyImages, loadingWarning, observer;
lazy_load_init();
- var bodyEl = document.querySelector( 'body' );
+ const bodyEl = document.querySelector( 'body' );
if ( bodyEl ) {
// Lazy load images that are brought in from Infinite Scroll
bodyEl.addEventListener( 'is.post-load', lazy_load_init );
@@ -24,8 +24,7 @@ var jetpackLazyImagesModule = function () {
* Initialize the module.
*/
function lazy_load_init() {
- // @todo: Use Array.from once es6 is allowed.
- lazyImages = [].slice.call(
+ lazyImages = Array.from(
document.querySelectorAll( 'img.jetpack-lazy-image:not(.jetpack-lazy-image--handled)' )
);
@@ -81,8 +80,8 @@ var jetpackLazyImagesModule = function () {
*/
function onIntersection( entries ) {
// Loop through the entries
- for ( var i = 0; i < entries.length; i++ ) {
- var entry = entries[ i ];
+ for ( let i = 0; i < entries.length; i++ ) {
+ const entry = entries[ i ];
// Are we in viewport?
if ( entry.intersectionRatio > 0 ) {
@@ -111,7 +110,7 @@ var jetpackLazyImagesModule = function () {
loadingWarning.style.fontWeight = 'bold';
loadingWarning.innerText = jetpackLazyImagesL10n.loading_warning;
- var s = document.createElement( 'style' );
+ const s = document.createElement( 'style' );
s.innerHTML =
'#loadingWarning { display: none; }\n@media print {\n#loadingWarning { display: block; }\nbody > #loadingWarning ~ * { display: none !important; }\n}';
loadingWarning.appendChild( s );
@@ -136,14 +135,14 @@ var jetpackLazyImagesModule = function () {
* @param {Element} image - The image object.
*/
function applyImage( image ) {
- var lazyLoadedImageEvent;
+ let lazyLoadedImageEvent;
if ( ! ( image instanceof HTMLImageElement ) ) {
return;
}
- var srcset = image.getAttribute( 'data-lazy-srcset' );
- var sizes = image.getAttribute( 'data-lazy-sizes' );
+ const srcset = image.getAttribute( 'data-lazy-srcset' );
+ const sizes = image.getAttribute( 'data-lazy-sizes' );
// Remove lazy attributes.
image.removeAttribute( 'data-lazy-srcset' );
@@ -169,7 +168,7 @@ var jetpackLazyImagesModule = function () {
image.setAttribute( 'loading', 'eager' );
loadingImages.push( image );
- var idx = lazyImages.indexOf( image );
+ const idx = lazyImages.indexOf( image );
if ( idx >= 0 ) {
lazyImages.splice( idx, 1 );
}
@@ -199,7 +198,7 @@ var jetpackLazyImagesModule = function () {
* An image from applyImage() finished loading.
*/
function loadedImage() {
- var idx = loadingImages.indexOf( this );
+ const idx = loadingImages.indexOf( this );
if ( idx >= 0 ) {
loadingImages.splice( idx, 1 );
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php
index 8be08ed5..0cbbcb6f 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php
@@ -51,7 +51,7 @@ class Jetpack_Lazy_Images {
* @return object The class instance.
*/
public static function instance() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new Jetpack_Lazy_Images();
}
@@ -114,7 +114,7 @@ class Jetpack_Lazy_Images {
return;
}
- add_action( 'wp_head', array( $this, 'setup_filters' ), 9999 ); // We don't really want to modify anything in <head> since it's mostly all metadata.
+ add_action( 'the_post', array( $this, 'setup_filters' ), 9999 );
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_assets' ) );
// Do not lazy load avatar in admin bar.
@@ -133,6 +133,11 @@ class Jetpack_Lazy_Images {
* @return void
*/
public function setup_filters() {
+ // Do not lazy-load images in RSS feeds.
+ if ( is_feed() ) {
+ return;
+ }
+
add_filter( 'the_content', array( $this, 'add_image_placeholders' ), PHP_INT_MAX ); // Run this later, so other content filters have run, including image_add_wh on WP.com.
add_filter( 'post_thumbnail_html', array( $this, 'add_image_placeholders' ), PHP_INT_MAX );
add_filter( 'get_avatar', array( $this, 'add_image_placeholders' ), PHP_INT_MAX );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/CHANGELOG.md
index 259c8b2c..31d40981 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/CHANGELOG.md
@@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.7.2] - 2022-05-04
+### Changed
+- Updated package dependencies. [#24095]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+## [1.7.1] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.7.0] - 2022-04-19
+### Changed
+- Moved licensing endpoints from the Jetpack plugin to the Licensing package
+
+## [1.6.4] - 2022-04-12
+### Changed
+- Updated package dependencies.
+
+## [1.6.3] - 2022-03-02
+### Changed
+- Updated package dependencies.
+
+## [1.6.2] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
+## [1.6.1] - 2022-01-18
+### Changed
+- Updated package dependencies.
+
## [1.6.0] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -151,6 +182,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Licensing: Add support for Jetpack licenses
+[1.7.2]: https://github.com/Automattic/jetpack-licensing/compare/v1.7.1...v1.7.2
+[1.7.1]: https://github.com/Automattic/jetpack-licensing/compare/v1.7.0...v1.7.1
+[1.7.0]: https://github.com/Automattic/jetpack-licensing/compare/v1.6.4...v1.7.0
+[1.6.4]: https://github.com/Automattic/jetpack-licensing/compare/v1.6.3...v1.6.4
+[1.6.3]: https://github.com/Automattic/jetpack-licensing/compare/v1.6.2...v1.6.3
+[1.6.2]: https://github.com/Automattic/jetpack-licensing/compare/v1.6.1...v1.6.2
+[1.6.1]: https://github.com/Automattic/jetpack-licensing/compare/v1.6.0...v1.6.1
[1.6.0]: https://github.com/Automattic/jetpack-licensing/compare/v1.5.4...v1.6.0
[1.5.4]: https://github.com/Automattic/jetpack-licensing/compare/v1.5.3...v1.5.4
[1.5.3]: https://github.com/Automattic/jetpack-licensing/compare/v1.5.2...v1.5.3
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php
new file mode 100644
index 00000000..06a4ea21
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php
@@ -0,0 +1,448 @@
+<?php
+/**
+ * A Licensing Endpoints class for Jetpack.
+ *
+ * @package automattic/jetpack-licensing
+ */
+
+namespace Automattic\Jetpack\Licensing;
+
+use Automattic\Jetpack\Connection\Client;
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Licensing;
+use Automattic\Jetpack\Status\Visitor;
+use Jetpack_Options;
+use WP_Error;
+
+/**
+ * Class Endpoints.
+ * Helper class that is responsible for registering and responding to licensing endpoint requests.
+ *
+ * @since 1.7.0
+ */
+class Endpoints {
+ /**
+ * This property stores the localized "Insufficient Permissions" error message.
+ *
+ * @var string Generic error message when user is not allowed to perform an action.
+ */
+ private static $user_permissions_error_msg;
+
+ /**
+ * Constructor.
+ */
+ public function __construct() {
+ self::$user_permissions_error_msg = esc_html__(
+ 'You do not have the correct user permissions to perform this action.
+ Please contact your site admin if you think this is a mistake.',
+ 'jetpack-licensing'
+ );
+ }
+
+ /**
+ * Declare the endpoints for the licensing package.
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 10.9.0
+ */
+ public function register_endpoints() {
+ /*
+ * Get and update the last licensing error message.
+ */
+ register_rest_route(
+ 'jetpack/v4',
+ '/licensing/error',
+ array(
+ array(
+ 'methods' => \WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_licensing_error',
+ 'permission_callback' => __CLASS__ . '::can_manage_options_check',
+ ),
+ array(
+ 'methods' => \WP_REST_Server::EDITABLE,
+ 'callback' => __CLASS__ . '::update_licensing_error',
+ 'permission_callback' => __CLASS__ . '::can_manage_options_check',
+ 'args' => array(
+ 'error' => array(
+ 'required' => true,
+ 'type' => 'string',
+ 'validate_callback' => __CLASS__ . '::validate_string',
+ 'sanitize_callback' => 'sanitize_text_field',
+ ),
+ ),
+ ),
+ )
+ );
+
+ /**
+ * Sets a license. This is still used as part of the first pass at licensing done for partners.
+ *
+ * See https://github.com/Automattic/jetpack/pull/23687 for more details.
+ */
+ register_rest_route(
+ 'jetpack/v4',
+ '/licensing/set-license',
+ array(
+ 'methods' => \WP_REST_Server::EDITABLE,
+ 'callback' => __CLASS__ . '::set_jetpack_license',
+ 'permission_callback' => __CLASS__ . '::set_jetpack_license_key_permission_check',
+ 'args' => array(
+ 'license' => array(
+ 'required' => true,
+ 'type' => 'string',
+ 'validate_callback' => __CLASS__ . '::validate_string',
+ 'sanitize_callback' => 'sanitize_text_field',
+ ),
+ ),
+ )
+ );
+
+ /**
+ * Get Jetpack user licenses.
+ */
+ register_rest_route(
+ 'jetpack/v4',
+ 'licensing/user/licenses',
+ array(
+ 'methods' => \WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_user_licenses',
+ 'permission_callback' => __CLASS__ . '::user_licensing_permission_check',
+ )
+ );
+
+ /**
+ * Get Jetpack user license counts.
+ */
+ register_rest_route(
+ 'jetpack/v4',
+ 'licensing/user/counts',
+ array(
+ 'methods' => \WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_user_license_counts',
+ 'permission_callback' => __CLASS__ . '::user_licensing_permission_check',
+ )
+ );
+
+ /**
+ * Update user-licensing activation notice dismiss info.
+ */
+ register_rest_route(
+ 'jetpack/v4',
+ 'licensing/user/activation-notice-dismiss',
+ array(
+ 'methods' => \WP_REST_Server::EDITABLE,
+ 'callback' => __CLASS__ . '::update_licensing_activation_notice_dismiss',
+ 'permission_callback' => __CLASS__ . '::user_licensing_permission_check',
+ 'args' => array(
+ 'last_detached_count' => array(
+ 'required' => true,
+ 'type' => 'integer',
+ 'validate_callback' => __CLASS__ . '::validate_non_neg_int',
+ ),
+ ),
+ )
+ );
+
+ /**
+ * Attach licenses to user account
+ */
+ register_rest_route(
+ 'jetpack/v4',
+ '/licensing/attach-licenses',
+ array(
+ 'methods' => \WP_REST_Server::EDITABLE,
+ 'callback' => __CLASS__ . '::attach_jetpack_licenses',
+ 'permission_callback' => __CLASS__ . '::user_licensing_permission_check',
+ 'args' => array(
+ 'licenses' => array(
+ 'required' => true,
+ 'type' => 'array',
+ 'items' => array(
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ );
+ }
+
+ /**
+ * Verify that the user can set a Jetpack license key
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 9.5.0
+ *
+ * @return bool|WP_Error True if user is able to set a Jetpack license key
+ */
+ public static function set_jetpack_license_key_permission_check() {
+ if ( Licensing::instance()->is_licensing_input_enabled() ) {
+ return true;
+ }
+
+ return new WP_Error( 'invalid_user_permission_set_jetpack_license_key', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+
+ }
+
+ /**
+ * Verify that user can view and update user-licensing data.
+ *
+ * @since 1.7.0
+ *
+ * @return bool Whether the user is currently connected and they are the connection owner.
+ */
+ public static function user_licensing_permission_check() {
+ $connection_manager = new Connection_Manager( 'jetpack' );
+
+ if ( $connection_manager->is_user_connected() && $connection_manager->is_connection_owner() ) {
+ return true;
+ }
+
+ return new WP_Error( 'invalid_permission_manage_user_licenses', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ }
+
+ /**
+ * Verify that user can manage_options
+ *
+ * @since 1.7.0
+ *
+ * @return bool Whether user has the capability 'manage_options'.
+ */
+ public static function can_manage_options_check() {
+ if ( current_user_can( 'manage_options' ) ) {
+ return true;
+ }
+
+ return new WP_Error( 'invalid_user_permission_view_admin', self::$user_permissions_error_msg, array( 'status' => rest_authorization_required_code() ) );
+ }
+
+ /**
+ * Validates that the parameter is a string.
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 4.3.0
+ *
+ * @param string $value Value to check.
+ * @param WP_REST_Request $request The request sent to the WP REST API.
+ * @param string $param Name of the parameter passed to endpoint holding $value.
+ *
+ * @return bool|WP_Error
+ */
+ public static function validate_string( $value, $request, $param ) {
+ if ( ! is_string( $value ) ) {
+ /* translators: %s: The literal parameter name. Should not be translated. */
+ return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be a string.', 'jetpack-licensing' ), $param ) );
+ }
+ return true;
+ }
+
+ /**
+ * Validates that the parameter is a non-negative integer (includes 0).
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 10.4.0
+ *
+ * @param int $value Value to check.
+ * @param WP_REST_Request $request The request sent to the WP REST API.
+ * @param string $param Name of the parameter passed to endpoint holding $value.
+ *
+ * @return bool|WP_Error
+ */
+ public static function validate_non_neg_int( $value, $request, $param ) {
+ if ( ! is_numeric( $value ) || $value < 0 ) {
+ return new WP_Error(
+ 'invalid_param',
+ /* translators: %s: The literal parameter name. Should not be translated. */
+ sprintf( esc_html__( '%s must be a non-negative integer.', 'jetpack-licensing' ), $param )
+ );
+ }
+ return true;
+ }
+
+ /**
+ * Update the last licensing error message.
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 9.0.0
+ *
+ * @param WP_REST_Request $request The request.
+ *
+ * @return bool true.
+ */
+ public static function update_licensing_error( $request ) {
+ Licensing::instance()->log_error( $request['error'] );
+
+ return true;
+ }
+
+ /**
+ * Get the last licensing error message, if any.
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 9.0.0
+ *
+ * @return string Licensing error message or empty string.
+ */
+ public static function get_licensing_error() {
+ return Licensing::instance()->last_error();
+ }
+
+ /**
+ * Set a Jetpack license
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 9.6.0
+ *
+ * @param WP_REST_Request $request The request.
+ *
+ * @return WP_REST_Response|WP_Error A response object if the option was successfully updated, or a WP_Error if it failed.
+ */
+ public static function set_jetpack_license( $request ) {
+ $license = trim( sanitize_text_field( $request['license'] ) );
+
+ if ( Licensing::instance()->append_license( $license ) ) {
+ return rest_ensure_response( array( 'code' => 'success' ) );
+ }
+
+ return new WP_Error(
+ 'setting_license_key_failed',
+ esc_html__( 'Could not set this license key. Please try again.', 'jetpack-licensing' ),
+ array( 'status' => 500 )
+ );
+ }
+
+ /**
+ * Gets the users licenses.
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 10.4.0
+ *
+ * @return string|WP_Error A JSON object of user licenses if the request was successful, or a WP_Error otherwise.
+ */
+ public static function get_user_licenses() {
+ $wpcom_request = Client::wpcom_json_api_request_as_user(
+ '/jetpack-licensing/user/licenses',
+ '2',
+ array(
+ 'method' => 'GET',
+ 'headers' => array(
+ 'Content-Type' => 'application/json',
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
+ ),
+ )
+ );
+
+ $response_code = wp_remote_retrieve_response_code( $wpcom_request );
+ if ( 200 === $response_code ) {
+ $licenses = json_decode( wp_remote_retrieve_body( $wpcom_request ) );
+ return $licenses;
+ } else {
+ return new WP_Error(
+ 'failed_to_fetch_data',
+ esc_html__( 'Unable to fetch the requested data.', 'jetpack-licensing' ),
+ array( 'status' => $response_code )
+ );
+ }
+ }
+
+ /**
+ * Gets the users licenses counts.
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 10.4.0
+ *
+ * @return string|WP_Error A JSON object of user license counts if the request was successful, or a WP_Error otherwise.
+ */
+ public static function get_user_license_counts() {
+ $wpcom_request = Client::wpcom_json_api_request_as_user(
+ '/jetpack-licensing/user/licenses/counts',
+ '2',
+ array(
+ 'method' => 'GET',
+ 'headers' => array(
+ 'Content-Type' => 'application/json',
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
+ ),
+ )
+ );
+
+ $response_code = wp_remote_retrieve_response_code( $wpcom_request );
+ if ( 200 === $response_code ) {
+ $license_counts = json_decode( wp_remote_retrieve_body( $wpcom_request ) );
+ return $license_counts;
+ } else {
+ return new WP_Error(
+ 'failed_to_fetch_data',
+ esc_html__( 'Unable to fetch the requested data.', 'jetpack-licensing' ),
+ array( 'status' => $response_code )
+ );
+ }
+ }
+
+ /**
+ * Update the user-licenses activation notice dismissal data.
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 10.4.0
+ *
+ * @param WP_REST_Request $request The request sent to the WP REST API.
+ *
+ * @return array|WP_Error
+ */
+ public static function update_licensing_activation_notice_dismiss( $request ) {
+
+ if ( ! isset( $request['last_detached_count'] ) ) {
+ return new WP_Error( 'invalid_param', esc_html__( 'Missing parameter "last_detached_count".', 'jetpack-licensing' ), array( 'status' => 404 ) );
+ }
+
+ $default = array(
+ 'last_detached_count' => null,
+ 'last_dismissed_time' => null,
+ );
+ $last_detached_count = ( '' === $request['last_detached_count'] )
+ ? $default['last_detached_count']
+ : $request['last_detached_count'];
+ $last_dismissed_time = ( '' === $request['last_detached_count'] )
+ ? $default['last_dismissed_time']
+ // Use UTC timezone and convert to ISO8601 format(DateTime::W3C) for best compatibility with JavaScript Date in all browsers.
+ : ( new \DateTime( 'NOW', new \DateTimeZone( 'UTC' ) ) )->format( \DateTime::W3C );
+
+ $notice_data = array(
+ 'last_detached_count' => $last_detached_count,
+ 'last_dismissed_time' => $last_dismissed_time,
+ );
+
+ Jetpack_Options::update_option( 'licensing_activation_notice_dismiss', $notice_data, true );
+ return rest_ensure_response( $notice_data );
+ }
+
+ /**
+ * Attach Jetpack licenses
+ *
+ * @since 1.7.0
+ *
+ * @since-jetpack 10.4.0
+ *
+ * @param WP_REST_Request $request The request.
+ *
+ * @return WP_REST_Response|WP_Error A response object
+ */
+ public static function attach_jetpack_licenses( $request ) {
+ $licenses = array_map(
+ function ( $license ) {
+ return trim( sanitize_text_field( $license ) );
+ },
+ $request['licenses']
+ );
+ return rest_ensure_response( Licensing::instance()->attach_licenses( $licenses ) );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php
index 056004f5..e333bc76 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php
@@ -8,6 +8,7 @@
namespace Automattic\Jetpack;
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Licensing\Endpoints;
use Jetpack_IXR_ClientMulticall;
use Jetpack_Options;
use WP_Error;
@@ -62,6 +63,19 @@ class Licensing {
add_action( 'add_option_' . self::LICENSES_OPTION_NAME, array( $this, 'attach_stored_licenses' ) );
add_action( 'update_option_' . self::LICENSES_OPTION_NAME, array( $this, 'attach_stored_licenses' ) );
add_action( 'jetpack_authorize_ending_authorized', array( $this, 'attach_stored_licenses_on_connection' ) );
+ add_action( 'rest_api_init', array( $this, 'initialize_endpoints' ) );
+ }
+
+ /**
+ * Initialize endpoints required for Licensing package.
+ *
+ * @since 1.7.0
+ *
+ * @return void
+ */
+ public function initialize_endpoints() {
+ $endpoints = new Endpoints();
+ $endpoints->register_endpoints();
}
/**
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-logo/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-logo/CHANGELOG.md
index c922a297..36898b3d 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-logo/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-logo/CHANGELOG.md
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.5.15] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.5.14] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
## [1.5.13] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -110,6 +118,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Packages: Add a basic Jetpack Logo package
+[1.5.15]: https://github.com/Automattic/jetpack-logo/compare/v1.5.14...v1.5.15
+[1.5.14]: https://github.com/Automattic/jetpack-logo/compare/v1.5.13...v1.5.14
[1.5.13]: https://github.com/Automattic/jetpack-logo/compare/v1.5.12...v1.5.13
[1.5.12]: https://github.com/Automattic/jetpack-logo/compare/v1.5.11...v1.5.12
[1.5.11]: https://github.com/Automattic/jetpack-logo/compare/v1.5.10...v1.5.11
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md
index 117d759f..5ac1507e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md
@@ -5,6 +5,455 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.6.0] - 2022-05-30
+### Added
+- Added Social to My Jetpack.
+
+### Changed
+- Make My Jetpack use the new Modules class
+- Replace deprecated external-link variation by using isExternalLink prop
+- Updated package dependencies
+
+## [1.5.0] - 2022-05-24
+### Changed
+- Default licensing UI in My Jetpack to be enabled [#24396]
+- Updated package dependencies. [#24449]
+
+## [1.4.1] - 2022-05-19
+### Changed
+- Updated package dependencies. [#24395]
+
+## [1.4.0] - 2022-05-18
+### Added
+- Added a filter to allow stand-alone plugins to add product specific activation routines [#24334]
+- My Jetpack: Add Protect class [#24347]
+- My Jetpack: compute Search plugin price based on price tier [#24337]
+
+### Changed
+- Add tiered pricing copy and update titles for Jetpack Search [#24357]
+- Hide Activate a license link if there is no user connection since user connection is required [#24251]
+- My Jetpack Hybrid products: Install Jetpack if stand-alone plugin installation fails [#24335]
+- Updated Jetpack Scan feature list. [#23863] [#23795] [#24361] [#24372]
+
+## [1.3.0] - 2022-05-10
+### Changed
+- Adds from arg to connection screen in My Jetpack so that we can begin tracking connections originating from My Jetpack [#24283]
+- Updated package dependencies. [#24189]
+- Updated references to old licensing activation UI to licensing activation UI in My Jetpack [#24189]
+
+## [1.2.1] - 2022-05-04
+### Added
+- Add missing JavaScript dependencies. [#24096]
+
+### Changed
+- My Jetpack: remove duplicated site suffix stored on rawUrl. Use siteSuffix instead. [#24094]
+- Updated package dependencies. [#24095] [#24198]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+## [1.2.0] - 2022-04-26
+### Added
+- Added activation screen component to My Jetpack licensing page
+
+### Changed
+- Updated package dependencies.
+- Update package.json metadata.
+
+## [1.1.0] - 2022-04-19
+### Added
+- Adds a skeleton for the licensing UI along with a feature flag
+- Better error handling for when the WPCOM server is unreachable
+- Introduced ConnectedProductOffer component
+
+### Changed
+- Turn Search into a Hybrid Product
+- Updated package dependencies
+- use connected plugin list from the connection store and ask for an update after activating a product
+
+## [1.0.2] - 2022-04-12
+### Changed
+- Updated package dependencies.
+
+### Fixed
+- Fixed bug in checkout URLs for sites installed in subdirs.
+
+## [1.0.1] - 2022-04-06
+### Removed
+- Removed tracking dependency.
+
+## [1.0.0] - 2022-04-05
+### Added
+- My Jetpack: improve Product and Interstitial components.
+
+### Changed
+- Bump My Jetpack package to major version 1.0.0.
+- My Jetpack: align price boxes in the interstitial product page.
+- Updated package dependencies.
+
+## [0.6.13] - 2022-03-31
+### Added
+- Added tracking events to Plans section external links
+
+### Changed
+- My Jetpack: tweak plans section typography and descriptive text
+
+## [0.6.12] - 2022-03-29
+### Added
+- Add missing JS peer dependencies.
+
+### Changed
+- Microperformance: Use === null instead of is_null
+- My Jetpack: Moved in product icon components
+- My Jetpack: Tweak plan sections styles/sizes
+- My Jetpack: Update ProductDetailCard to use components and theme variables
+- My Jetpack: Use components to render headers elements
+- Use different URLs for manage and purchase links in plans section
+
+### Fixed
+- My Jetpack: Connect Screen logos quality
+
+## [0.6.11] - 2022-03-23
+### Added
+- My Jetpack: add error styles to the whole Product card component
+- My Jetpack: Make whole Product card clickable
+
+### Changed
+- Changed opacity of product icons to 40%
+- Changed title
+- Improved should_initialize method
+- My Jetpack: remove dropdown from CTA button in Product cards
+- My Jetpack: Use Text and CSS vars on ProductCard
+- Updated Boost product icon for clarity
+- Updated package dependencies.
+- Updated package dependencies.
+- Updated styles for each product card status
+- Update organization and copy of the Plans section
+
+### Removed
+- My Jetpack: Remove client code that allows to deactivate a product
+
+### Fixed
+- Fix Plans section top margin for plan list
+- My Jetpack: jetpack_my_jetpack_should_initialize filter now respected when set to true.
+
+## [0.6.10] - 2022-03-15
+### Changed
+- Make Backup go through the purchase flow after activation
+- My Jetpack: Use ThemeProvider instead base-styles
+- Updated package dependencies
+
+### Removed
+- Removed Beta badge from menu item
+
+## [0.6.9] - 2022-03-09
+### Changed
+- Updated package dependencies.
+
+## [0.6.8] - 2022-03-08
+### Added
+- Added connected plugins slugs to My Jetpack tracking events
+- Add link to jetpack.com in the footer
+- My Jetpack: Add jetpack features link on connection screen
+- My Jetpack: tidy Product card component
+- My Jetpack: update Spinner in checkout button
+
+### Changed
+- Components: update attributes used within the Button component to match recent deprecations and changes.
+- My Jetpack: Add Connected Product Card stories
+- My Jetpack: Add connection screen footer
+- My Jetpack: clean/tidy Product data
+- My Jetpack: Remove Layout component
+- Only consider Backup product active when the plan is purchased
+
+### Fixed
+- Fixed Backup flow when Jetpack plugin is active
+- My Jetpack: align CTA buttons of My Jetpack overview
+- My Jetpack: Fix button height in the Interstitial pages
+
+## [0.6.7] - 2022-03-02
+### Added
+- Add My Jetpack action link to all Jetpack plugins
+- My Jetpack: Handle cosmetic tweaks
+- My Jetpack: Pass requiresUserConnection to ConnectionStatusCard
+
+### Changed
+- Refactor and simplify Products class
+- Updated package dependencies.
+
+### Fixed
+- Disable browser cache for My Jetpack
+- My Jetpack: fix products card section story
+- My Jetpack: fix stories for the Interstitial pages
+
+## [0.6.6] - 2022-02-28
+### Fixed
+- Re-doing 0.6.5 to fixup bad release.
+
+## [0.6.5] - 2022-02-28
+### Changed
+- Tweak product card box model.
+
+### Fixed
+- Use namespace in My Jetpack REST Products class to prevent fatal
+
+## [0.6.4] - 2022-02-25
+### Added
+- Activate Jetpack plugin from Extras product card
+- Added list of connected plugins to Disconnect dialog in My Jetpack
+- Add Extras interstitial page
+- My Jetpack: Handle cosmetic tweaks
+- My Jetpack: Remove global notices when in my jetpack page
+- My Jetpack: set height of Jetpack logo in the footer
+- My Jetpack: tweak height of Jetpack Logo
+- My Jetpack: update Product logos
+
+### Changed
+- Disable My Jetpack on MS
+- My Jetpack: compress extras product image
+- Updated package dependencies.
+- Update My Jetpack dashboard headline
+
+### Removed
+- Remove unnecessary line from My Jetpack Initial state
+
+### Fixed
+- Fix beta badge for RTL languages
+- Handle plugin activating from Hybrid class
+- Memoized RecordEvent from usAnalytics hook
+- My Jetpack: Fix post activation url redirect
+- My Jetpack: Move product list that requires user connection to selector
+- Products::get_products_names should not load all product information
+- Update automattic logo href in the footer
+
+## [0.6.3] - 2022-02-22
+### Changed
+- Updated inline documentation
+
+### Fixed
+- Use Jetpack namespace to fix fatal error
+
+## [0.6.2] - 2022-02-22
+### Added
+- Add Beta badge
+- Add Extras class
+- Apply coupon discount to Product price when it exists
+- Filesystem write access to the initial state
+- Improve Product detail layout
+- Implement close link on layout nav
+- Prevent calling activation hook when activating backup
+
+### Changed
+- Bump package versions.
+- Improve My Jetpack link styles
+- Improve redirect process after installing Product
+- Fix interstitial CTA buttons layout
+- Move from isPressed to CSS vars
+- Redirect connect user to connection interstitial
+- Point the link of the Manage button of CRM to its dashboard
+- Redirect to post_activation_url after product activation from iterstitial screen
+- Remove conditional loading depending on constant
+- Send My Jetpack version with fired events
+- Update the layout of interstitial page when it has an upgradable bundle
+
+### Fixed
+- Check if product is active before checking if requires plan
+- Fix check for plugin installation for hybrid products
+- Fix click on security and add click on My Jetpack interstitial
+- Fix clicks on VideoPress and CRM cards
+- Fix Product prices
+- Make Scan and Search interstitials install the plugin
+- Purchases: ensure we retrieve translated version of active purchases
+- Return needs purchase status for products module
+
+## [0.6.1] - 2022-02-16
+### Added
+- Add Anti-Spam Product detail card
+- Add CRM interstitial page
+- Added wpcom plan slug to product info
+- add manage and post activation urls
+- Add Scan product: interstitial, route, data, etc...
+- Add Security Product Bundle
+- Add VideoPress data
+- Add VideoPress interstitial cmp. Story.
+- Add `#/add-videopress` route
+- Change the discount value for all Products to 50
+- checks and activation for Security Bundle
+- consume prices dynamically
+- Do not show Porduct price when plan has required plan
+- Finish Backup, Anti-Spam and Scan interstitial pages
+- Fire Tracks Event when user clicks on Product Interstitial Back link
+- Install proudcts from interstitial pages
+- Make click on Fix connection show connection route
+- package version to main class
+- Pull product discount from wpcom
+- Refactoring -> add icons component -> tweak icons for interstitial pages
+- Register `#/add-anti-spam` route. Connect with interstitial page
+- Restore Security bundle card in the UI
+- Set default values for product data in the client (custom hook)
+- set product status as error if active and requiring a missing user connection
+- Set properly the checkout link for Products
+- Set unlink=1 in the checkout URL when the user is not connected
+- Tidy Product stories
+- Update Backup product data. Tweak Icon.
+- Update mock data for Search product. useMyJetpackNavigate() hook
+
+### Changed
+- Adapt Scan actiavtion behavior as it is not a module
+- Add global notices for activate/deactivate failures
+- Add manage redirect
+- Apply correct style for CTA buttons on Interstitial
+- Avoid usage of 100vh on layout
+- Fix setting height of the Product title in the detail component
+- Implement is fulfilled handler for product resolver
+- Improve global notice layout
+- Reduce size of boost and search interstitial images
+- Update structure with Layout component
+- Only pass a productUrl if the product is not free on interstitial pages
+- Only show the deactivate action when it makes sense
+- Pass slug prop to event firing on product card button actions instead of name
+- Remove unnecessary payload from request to activate or deactivate a product
+- Replace renderActionButton function for ActionButton component
+- Updated package dependencies.
+- Use useMyJetpackNavigate when it's worth it
+
+### Fixed
+- Fixed connection check labels and error message
+- Fix upgradability for anti-spam and backup products
+- Remove duplicted Icon in Product Card story
+- Use key when looping through product detail icons
+
+## [0.6.0] - 2022-02-09
+### Added
+- Add Boost interstitial cmp.
+- Add has_required_plan to product info and implement method in Search
+- Add Product princign harcoded data
+- Add search product data
+- Add title and features to products data
+- anti spam product class
+- Connect Boost card with the interstitial page via /add-boost root
+- Fire Tracks event when clicking CTA button on product Interstitial page
+- Fire Tracks event when clicking Manage button on product card
+- Fire Tracks event when clickn Add link on My Jetpack product card
+- Fire Tracks event when showing the Interstitial page
+- Implement Free price for Boost product
+- Implement Search product interstitial
+- Introduce basic Layout component. Add GoBackLink component
+- Introduce ProductDetailCard component
+- My Jetpack: Add Connection screen
+- Pass slug prop to ProductCard'
+- Plan verification for Backup and Scan
+- Restore getProduct() resolver
+- Set the checkout URL for the Product detail component
+- useCallback for functions that are bound to onEvents
+
+### Changed
+- My Jetpack: Implement handler of connection notices
+- My Jetpack: Update notice style and implements redirect for connection route
+- Support multiple possible folder for each plugin
+- Updated package dependencies
+
+### Removed
+- dependency from search package
+
+### Fixed
+- Fix My Jetpack's reducer for SET_PRODUCT_STATUS
+- Fix the redirect URL value
+- Show discounted price in Product Detail card
+- typo
+
+## [0.5.0] - 2022-02-02
+### Added
+- Added plugin installation functionality
+- Adds Tracks events for activating and deactivating products from the product cards
+- Fixes stories for ProductCard component
+- Handle when site is not connected
+- Initial approach to handle global notice
+- Module Products
+- My Jetpack: Add route handling
+- My Jetpack: connect all product cards with data provider
+- My Jetpack: connect Backup product class with Product class. Add long description and features fields.
+- My Jetpack: handle redirect when no connection #22549
+- My Jetpack: reorganize stores by project/name
+- Remove getProduct() resolver
+- Support to Hybrid products
+- Tweak dimms of the Product card status
+- Update data handling - Implement request status in Product Card
+- User connection requirement to product info
+- uses the Plugin Installer package to safely checks plugins statuses
+
+### Changed
+- Added filter for disabling the initialization of the My Jetpack package
+- Build: remove unneeded files from production build.
+- Do not initialize My Jetpack id site is not connected
+- My Jetpack: Refactor styles to use layout components and theme provider
+- My Jetpack: Update gap between product cards section
+- Pick API root and nonce values from a new window var myJetpackRest
+- Updated package dependencies.
+- Update plugin absent status consistently
+
+### Fixed
+- added unit test mock for new global variable myJetpackRest
+- Fix tests
+- Fix unsafe optional chaining.
+- my-jetpack: fix tracking event when activating product
+- Resolved minor code standard violation after implementing a stricter rule.
+
+## [0.4.0] - 2022-01-25
+### Added
+- add API endpoints to manipulate products
+- Added css module for My Jetpack Plans Section
+- Added useAnalytics hook
+- Added Visitor class for status regarding the site visitor.
+- Add first data approach
+- Add Products and REST_Products basic classes
+- Adds very basic product cards section component to my jetpack
+- My Jetpack: Add Product Card component
+- My Jetpack: check user connectivity before to hit wpcom side
+- My Jetpack: Implement data handling for enable/disable products
+- Removed endpoint plans superseded by purchases
+
+### Changed
+- Add Connections Section wrapping the Connection Status Card to My Jetpack
+- Build: do not ship raw files in production bundle.
+
+### Removed
+- Remove unused usePlans() custom react hook
+
+### Fixed
+- Fixed svg attribute strokeWidth for Boost Card
+
+## [0.3.3] - 2022-01-18
+### Added
+- Added redux store specific to my-jetpack
+- Implement plans list properly in the PlansSection
+- My Jetpack: Add scripts for JS tests
+- My Jetpack: Include wordpress components as dep
+- Reduxify purchases data
+
+### Changed
+- General: update required node version to v16.13.2
+- Properly style the Plans Section according to proposed design
+- Updated package dependencies.
+
+## [0.3.2] - 2022-01-13
+### Added
+- My Jetpack: add story to `<PlanSection />` component
+- My Jetpack: first PlanSection implementation
+
+### Fixed
+- Rename method enqueue_scritps to enqueue_scripts
+
+## [0.3.1] - 2022-01-11
+### Added
+- Add devvelopment testing instructions to doc.
+
+### Changed
+- Updated package dependencies.
+
+### Removed
+- Remove use of deprecated `~` in sass-loader imports.
+
## [0.3.0] - 2022-01-04
### Changed
- Drop isRegistered and isUserConnected params from ConnectionStatusCard component
@@ -44,6 +493,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Created package
+[1.6.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.5.0...1.6.0
+[1.5.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.4.1...1.5.0
+[1.4.1]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.4.0...1.4.1
+[1.4.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.3.0...1.4.0
+[1.3.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.2.1...1.3.0
+[1.2.1]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.2.0...1.2.1
+[1.2.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.1.0...1.2.0
+[1.1.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.0.2...1.1.0
+[1.0.2]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.0.1...1.0.2
+[1.0.1]: https://github.com/Automattic/jetpack-my-jetpack/compare/1.0.0...1.0.1
+[1.0.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.13...1.0.0
+[0.6.13]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.12...0.6.13
+[0.6.12]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.11...0.6.12
+[0.6.11]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.10...0.6.11
+[0.6.10]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.9...0.6.10
+[0.6.9]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.8...0.6.9
+[0.6.8]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.7...0.6.8
+[0.6.7]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.6...0.6.7
+[0.6.6]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.5...0.6.6
+[0.6.5]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.4...0.6.5
+[0.6.4]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.3...0.6.4
+[0.6.3]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.2...0.6.3
+[0.6.2]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.1...0.6.2
+[0.6.1]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.6.0...0.6.1
+[0.6.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.5.0...0.6.0
+[0.5.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.4.0...0.5.0
+[0.4.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.3.3...0.4.0
+[0.3.3]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.3.2...0.3.3
+[0.3.2]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.3.1...0.3.2
+[0.3.1]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.3.0...0.3.1
[0.3.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.2.0...0.3.0
[0.2.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.1.3...0.2.0
[0.1.3]: https://github.com/Automattic/jetpack-my-jetpack/compare/0.1.2...0.1.3
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/admin.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/admin.jsx
deleted file mode 100644
index feb7a69c..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/admin.jsx
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * External dependencies
- */
-import ReactDOM from 'react-dom';
-import React from 'react';
-
-/**
- * Internal dependencies
- */
-import MyJetpackScreen from './components/my-jetpack-screen';
-
-/**
- * The initial renderer function.
- */
-function render() {
- const container = document.getElementById( 'my-jetpack-container' );
-
- if ( null === container ) {
- return;
- }
-
- ReactDOM.render( <MyJetpackScreen />, container );
-}
-
-render();
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/components/my-jetpack-screen/index.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/components/my-jetpack-screen/index.jsx
deleted file mode 100644
index 8bfe39f5..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/components/my-jetpack-screen/index.jsx
+++ /dev/null
@@ -1,63 +0,0 @@
-/* global myJetpackInitialState */
-
-/**
- * External dependencies
- */
-import React, { useCallback } from 'react';
-import { __ } from '@wordpress/i18n';
-import {
- AdminSection,
- AdminSectionHero,
- AdminPage,
- Row,
- Col,
-} from '@automattic/jetpack-components';
-import { ConnectionStatusCard } from '@automattic/jetpack-connection';
-
-import './style.scss';
-
-/**
- * The My Jetpack App Main Screen.
- *
- * @returns {object} The MyJetpackScreen component.
- */
-export default function MyJetpackScreen() {
- const redirectAfterDisconnect = useCallback( () => {
- window.location = myJetpackInitialState.topJetpackMenuItemUrl;
- }, [] );
-
- return (
- <div className="jp-my-jetpack-screen">
- <AdminPage>
- <AdminSectionHero>
- <Row>
- <Col lg={ 12 } md={ 8 } sm={ 4 }>
- <h1>
- { __(
- 'Manage your Jetpack plan and products all in one place',
- 'jetpack-my-jetpack'
- ) }
- </h1>
- </Col>
- </Row>
- </AdminSectionHero>
-
- <AdminSection>
- <Row>
- <Col lg={ 6 } sm={ 4 }>
- <h1>{ __( 'My Plan', 'jetpack-my-jetpack' ) }</h1>
- </Col>
- <Col lg={ 6 } sm={ 4 }>
- <ConnectionStatusCard
- apiRoot={ myJetpackInitialState.apiRoot }
- apiNonce={ myJetpackInitialState.apiNonce }
- redirectUri={ myJetpackInitialState.redirectUri }
- onDisconnected={ redirectAfterDisconnect }
- />
- </Col>
- </Row>
- </AdminSection>
- </AdminPage>
- </div>
- );
-}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/components/my-jetpack-screen/style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/components/my-jetpack-screen/style.scss
deleted file mode 100644
index 358c0418..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/_inc/components/my-jetpack-screen/style.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import '~@automattic/jetpack-base-styles/style';
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/apple-92dacafad84e79708a74.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/apple-92dacafad84e79708a74.svg
new file mode 100644
index 00000000..478fcfd9
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/apple-92dacafad84e79708a74.svg
@@ -0,0 +1,3 @@
+<svg width="14" height="17" viewBox="0 0 14 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M9.3584 2.68018C9.85059 2.08545 10.1992 1.26514 10.1992 0.444824C10.1992 0.332031 10.189 0.219238 10.1685 0.126953C9.36865 0.157715 8.39453 0.660156 7.82031 1.33691C7.35889 1.85986 6.93848 2.68018 6.93848 3.51074C6.93848 3.63379 6.95898 3.75684 6.96924 3.79785C7.02051 3.80811 7.10254 3.81836 7.18457 3.81836C7.9126 3.81836 8.8252 3.33643 9.3584 2.68018ZM9.92236 3.99268C8.7124 3.99268 7.72803 4.73096 7.10254 4.73096C6.43604 4.73096 5.5542 4.03369 4.49805 4.03369C2.49854 4.03369 0.478516 5.69482 0.478516 8.80176C0.478516 10.75 1.22705 12.7905 2.1499 14.1133C2.94971 15.231 3.64697 16.1538 4.6416 16.1538C5.63623 16.1538 6.06689 15.4873 7.29736 15.4873C8.54834 15.4873 8.83545 16.1333 9.92236 16.1333C11.0093 16.1333 11.7373 15.1387 12.4141 14.1543C13.1831 13.0264 13.501 11.9395 13.5112 11.8779C13.4497 11.8574 11.3682 11.0166 11.3682 8.6377C11.3682 6.57666 13.0088 5.66406 13.1011 5.59229C12.0244 4.03369 10.3838 3.99268 9.92236 3.99268Z" fill="black"/>
+</svg>
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/boost-a54137485af36fdffe9c.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/boost-a54137485af36fdffe9c.png
new file mode 100644
index 00000000..dd818e46
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/boost-a54137485af36fdffe9c.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/connect-f27775ac15cf885713c2.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/connect-f27775ac15cf885713c2.png
new file mode 100644
index 00000000..66f8710a
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/connect-f27775ac15cf885713c2.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/crm-7e7684ae2c40327d8fed.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/crm-7e7684ae2c40327d8fed.png
new file mode 100644
index 00000000..cfec3eed
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/crm-7e7684ae2c40327d8fed.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/extras-26daf36507504c96d066.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/extras-26daf36507504c96d066.png
new file mode 100644
index 00000000..d4d49627
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/extras-26daf36507504c96d066.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/google-dec2a429bf1d8e83f9ad.svg b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/google-dec2a429bf1d8e83f9ad.svg
new file mode 100644
index 00000000..5794583d
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/google-dec2a429bf1d8e83f9ad.svg
@@ -0,0 +1 @@
+<svg class="social-icons social-icons__google social-icons--enabled" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M19.6 10.227c0-.709-.064-1.39-.182-2.045H10v3.868h5.382a4.6 4.6 0 0 1-1.996 3.018v2.51h3.232c1.891-1.742 2.982-4.305 2.982-7.35z" fill="#4285F4"></path><path d="M10 20c2.7 0 4.964-.895 6.618-2.423l-3.232-2.509c-.895.6-2.04.955-3.386.955-2.605 0-4.81-1.76-5.595-4.123H1.064v2.59A9.996 9.996 0 0 0 10 20z" fill="#34A853"></path><path d="M4.405 11.9c-.2-.6-.314-1.24-.314-1.9 0-.66.114-1.3.314-1.9V5.51H1.064A9.996 9.996 0 0 0 0 10c0 1.614.386 3.14 1.064 4.49l3.34-2.59z" fill="#FBBC05"></path><path d="M10 3.977c1.468 0 2.786.505 3.823 1.496l2.868-2.868C14.959.99 12.695 0 10 0 6.09 0 2.71 2.24 1.064 5.51l3.34 2.59C5.192 5.736 7.396 3.977 10 3.977z" fill="#EA4335"></path></g></svg>
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png
new file mode 100644
index 00000000..ea421dc0
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png
new file mode 100644
index 00000000..a2562d9b
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/search-f9756bd9c926d905fe70.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/search-f9756bd9c926d905fe70.png
new file mode 100644
index 00000000..0f77309b
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/search-f9756bd9c926d905fe70.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/videopress-9591093a9a238cc48a35.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/videopress-9591093a9a238cc48a35.png
new file mode 100644
index 00000000..9a8f1dfb
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/videopress-9591093a9a238cc48a35.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/wordpress-e099b30cc40508916516.png b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/wordpress-e099b30cc40508916516.png
new file mode 100644
index 00000000..8dea0761
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/wordpress-e099b30cc40508916516.png
Binary files differ
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php
index aefe6276..cf0bd12e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '29d086a288ded38b2a57d1829d39cc12'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '979a27e30e0c8a625807');
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.css
index 319c91ee..2c7a5ce7 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.css
@@ -1 +1 @@
-.O5NYbFTsxmrm4P2SIdOC{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.rkV4U_hzC04NwXFQcTHl{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.rkV4U_hzC04NwXFQcTHl{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.rkV4U_hzC04NwXFQcTHl{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.G81E6mesnld_OhhOvz_F{grid-column-end:span 1}.SfCZpjwiu2F0KDjGIXEA{grid-column-end:span 2}.qPxwbSu_GTDTz_8jFHJD{grid-column-end:span 3}.xYAWQ0wk6FPfZOZQgFiw{grid-column-end:span 4}@media(min-width:600px){.zwZjA7ofpMucaB_UzG48{grid-column-end:span 1}.YfwKGGBEqiINFYy6ZpKM{grid-column-end:span 2}.pcHQbVFRxA_OvNRQ2OwP{grid-column-end:span 3}.U_LJMBlRZ8ItXZuvCXGg{grid-column-end:span 4}.st_7w_Ja1Gp2AgGaTysO{grid-column-end:span 5}.gQsaHmJo6Gp7Yq9IB9Sg{grid-column-end:span 6}.P0a4FWsiJJmR6bySI8QC{grid-column-end:span 7}.UxSHj7jyDp6sGKHILNRc{grid-column-end:span 8}}@media(min-width:960px){.TExt5ebNqUrEn2NzeDDh{grid-column-end:span 1}.cdwvRRac4c2djSpHfOpF{grid-column-end:span 2}.hvRpxlyFY9BQIDdEGTjg{grid-column-end:span 3}.Ev9JGJi3yKkBq6cW3Xge{grid-column-end:span 4}.mhL__tIHFH_tViX5718D{grid-column-end:span 5}.X1lGIxHHxsFl_39u4Px6{grid-column-end:span 6}.pc5UnY_DzsSDkyih78Ti{grid-column-end:span 7}.QCjBtfnG3u20FwoDd59Z{grid-column-end:span 8}.MX1aL3BeJpoSE0aXghp0{grid-column-end:span 9}.h_JAcO8a8ClV2LmTWsMz{grid-column-end:span 10}.gKlDMi0N7LOd9q8uJHi5{grid-column-end:span 11}.KZWhYB7r6TG75uJu2LsQ{grid-column-end:span 12}}@media(max-width:960px){.G6NxfG2gGwvEYb0aGdPJ{display:none}}@media(max-width:600px){.aceZPGfrg7IoR0Vu7ZJg{display:none}}.MZSHJVi991kNJhn_Xnip{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);display:block;margin:32px 0;padding:16px 64px 16px 24px;position:relative;text-decoration:none}.MZSHJVi991kNJhn_Xnip span{display:block}.MZSHJVi991kNJhn_Xnip span:last-of-type{font-weight:600}.MZSHJVi991kNJhn_Xnip:focus span:last-of-type,.MZSHJVi991kNJhn_Xnip:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.MZSHJVi991kNJhn_Xnip:focus:after,.MZSHJVi991kNJhn_Xnip:hover:after{transform:translateY(-50%) translateX(8px)}.MZSHJVi991kNJhn_Xnip:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.EZ590eIMC5y_t1_gWRua{margin-left:-20px}.BYzOly4G7Gry9wdRH0AY{background-color:#fff;padding:40px 0}.iwMEh2CwJ_r23Y9sVcJ1,.O8YnwnZegI89S2Q3k5Qn{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.EC1Yirv2kOgRU77F2XRd{grid-column-end:span 1}.FHZqFvZXEDJ9mpOm7CeY{grid-column-end:span 2}.VOmONLKUkcSrIRYmX6YZ{grid-column-end:span 3}.eECO55N5YGkBB3tKa0If{grid-column-end:span 4}@media(min-width:600px){.u3ZB3zRkuglILO6FSIrx{grid-column-end:span 1}.iZnPl6piWO_GqHn16XKi{grid-column-end:span 2}.WWctfqi1wHZDWrue8GIt{grid-column-end:span 3}.p678NN_M0K78Kpprfndu{grid-column-end:span 4}._6D2TXtGKmepmwrxSf5DW{grid-column-end:span 5}.cWORs5VDjuStXsiVPtiO{grid-column-end:span 6}.yJsc8qt82L9miwDoe2Y2{grid-column-end:span 7}.hD6bXWfNn5elhKCaBFTD{grid-column-end:span 8}}@media(min-width:960px){.k9j6XIJdXbQ5YNyU8sNH{grid-column-end:span 1}.TnVGX0JHm_muRRcmYYwV{grid-column-end:span 2}.VILIswQXi8XzNJ3BqePc{grid-column-end:span 3}.h7mXuoRFWMGCiWYH4Ij1{grid-column-end:span 4}.uHYkk5STnhikqYMIxtE1{grid-column-end:span 5}.E8zp8nDOvAQ7VHsXKJJw{grid-column-end:span 6}.jwOhfvvsXGTCtHfB2854{grid-column-end:span 7}.DmSEZVFn_2XNNKJGgkXw{grid-column-end:span 8}.RdgOIY1qMZ8eqAeNSGNw{grid-column-end:span 9}.XBQd6xiLipeHg0O6cf7N{grid-column-end:span 10}.JyQ6Tbn3FCHfrCEyWrAr{grid-column-end:span 11}.fzJ_qaXYWs3EWQEupbLD{grid-column-end:span 12}}@media(max-width:960px){.LE2ZLIt_Y0slsr6TSmqe{display:none}}@media(max-width:600px){.vYxwZbK_covZoLjDe3BM{display:none}}.fmzqGXmbTSiUblRujgqB{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);display:block;margin:32px 0;padding:16px 64px 16px 24px;position:relative;text-decoration:none}.fmzqGXmbTSiUblRujgqB span{display:block}.fmzqGXmbTSiUblRujgqB span:last-of-type{font-weight:600}.fmzqGXmbTSiUblRujgqB:focus span:last-of-type,.fmzqGXmbTSiUblRujgqB:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.fmzqGXmbTSiUblRujgqB:focus:after,.fmzqGXmbTSiUblRujgqB:hover:after{transform:translateY(-50%) translateX(8px)}.fmzqGXmbTSiUblRujgqB:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.HwO79godDUI97Xub9ey4{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.HwO79godDUI97Xub9ey4{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.HwO79godDUI97Xub9ey4{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.WcIPVMUrQMdwzisuVSh7{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.Nxx7T20LwPUQPXCSDMfA{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.Nxx7T20LwPUQPXCSDMfA{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.Nxx7T20LwPUQPXCSDMfA{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.MnTtKIHRyzXYoesgRCgm{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);display:block;margin:32px 0;padding:16px 64px 16px 24px;position:relative;text-decoration:none}.MnTtKIHRyzXYoesgRCgm span{display:block}.MnTtKIHRyzXYoesgRCgm span:last-of-type{font-weight:600}.MnTtKIHRyzXYoesgRCgm:focus span:last-of-type,.MnTtKIHRyzXYoesgRCgm:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.MnTtKIHRyzXYoesgRCgm:focus:after,.MnTtKIHRyzXYoesgRCgm:hover:after{transform:translateY(-50%) translateX(8px)}.MnTtKIHRyzXYoesgRCgm:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.mmVmo1nZYrRywmnSKQFx{grid-column-end:span 1}.UrIp26XpdUSMJft8YxdC{grid-column-end:span 2}.pMXlFWglEDyK6MbwJ8sX{grid-column-end:span 3}.P5H1ohz9m5_rEqZFAkFm{grid-column-end:span 4}@media(min-width:600px){.ofLUn8LwR3LLeWl8tPdU{grid-column-end:span 1}.fq1Z8JYbcrrXavvSfzKk{grid-column-end:span 2}.jq9gui11HqTDfI7tXH1d{grid-column-end:span 3}.mVYkSRC7j44WiWLZHOnM{grid-column-end:span 4}.S3wOGmx7YLTrqz_bcLth{grid-column-end:span 5}.Y3GW3wokLgm9jnX78Uwk{grid-column-end:span 6}.ShMEdZjpjdYj7mCQzrSO{grid-column-end:span 7}.nfBAID75QGC1VZ8t0RfR{grid-column-end:span 8}}@media(min-width:960px){.Vr2EQcrmKOPJtFU72Vv2{grid-column-end:span 1}.CTS6MNweODFo4ZxcT0iV{grid-column-end:span 2}.XTISRluUo3o5xxnPNu09{grid-column-end:span 3}.c_EtRaSOJafAl5r9WkBm{grid-column-end:span 4}.HcpW_q5aO8Bf_ngIjyjv{grid-column-end:span 5}.XF3r0hMrFrrmxH5TJee0{grid-column-end:span 6}.Jl9ognyJ9XOZ6g0BTzLf{grid-column-end:span 7}._8w8oD2R9CVt9AU4PvUy{grid-column-end:span 8}.ltOXxurwUtxy7XIR_loo{grid-column-end:span 9}.bKUzzGEJ3wCoAOZZvVCK{grid-column-end:span 10}.GltQVCPa1x4tZ7sWFg1v{grid-column-end:span 11}.UzWicuFiKrGgMEjmRAFA{grid-column-end:span 12}}@media(max-width:960px){.CDwHAcVQxDeV2mFXS1Dz{display:none}}@media(max-width:600px){.sr1184KrdJ0UtgNsMQnR{display:none}}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-left:5px}.K6gniZequRm1zBi4xa2G{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.vickZxEIl6kGZp7KkFYF{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.vickZxEIl6kGZp7KkFYF{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.vickZxEIl6kGZp7KkFYF{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.U2ZD1antXfCcQlBdFwyw{grid-column-end:span 1}.caLSPVQ3JP3b2Ia68Seq{grid-column-end:span 2}.h6FKJdwoY_zIXh6pEj1U{grid-column-end:span 3}.GkjDOzh_5n5VxKrqEW_I{grid-column-end:span 4}@media(min-width:600px){.V2HSxZHesNOXMBWOmdFG{grid-column-end:span 1}.i3fz9zvErDyXYherb6Ew{grid-column-end:span 2}._3bKcKfanUgurPMcHEiV{grid-column-end:span 3}.U44hqBGsmVA1lI9R2ZnH{grid-column-end:span 4}.AzaRYYQQYJjKUF9D87mw{grid-column-end:span 5}.sag3QKXTxIQXPPjmbrAl{grid-column-end:span 6}.ifY5fUWFNROS_F7Jys9v{grid-column-end:span 7}.nZFgLvw9LsUJnEViXnJZ{grid-column-end:span 8}}@media(min-width:960px){.Tqir6CbiyHOgYmsAgY57{grid-column-end:span 1}.VeVLz3DEagxiXMMPEOCe{grid-column-end:span 2}.G3R07cw2eP3D3juW3A3l{grid-column-end:span 3}.eQ3UseyneBNu_ZLuqSzg{grid-column-end:span 4}.VlgV8xjgkGoOLJShoyNM{grid-column-end:span 5}.DJCwqamaIDFQoj0jEgBc{grid-column-end:span 6}.CxtXPQUYJfNUQVn3y2y_{grid-column-end:span 7}.BroOgbyuFxoSv48H70B5{grid-column-end:span 8}.KnUcRFDSsxeb_z46ajNY{grid-column-end:span 9}.bXiAAxiM2mhcI43ET0pp{grid-column-end:span 10}.ipYVW2jwG2cFjIHpnQk2{grid-column-end:span 11}.KcREgfiJ4ix9nAvNAXqQ{grid-column-end:span 12}}@media(max-width:960px){.qSfEJeFAh4WmcPtmo8qe{display:none}}@media(max-width:600px){._RxxiRFsUS3nYTZhkprA{display:none}}.RSw9xhnEr8xpkX3hPPaM{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);display:block;margin:32px 0;padding:16px 64px 16px 24px;position:relative;text-decoration:none}.RSw9xhnEr8xpkX3hPPaM span{display:block}.RSw9xhnEr8xpkX3hPPaM span:last-of-type{font-weight:600}.RSw9xhnEr8xpkX3hPPaM:focus span:last-of-type,.RSw9xhnEr8xpkX3hPPaM:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.RSw9xhnEr8xpkX3hPPaM:focus:after,.RSw9xhnEr8xpkX3hPPaM:hover:after{transform:translateY(-50%) translateX(8px)}.RSw9xhnEr8xpkX3hPPaM:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.kEBaF5NOHtQsQn5jfOEA{background:var(--jp-white-off);padding:48px 0 64px}.kEBaF5NOHtQsQn5jfOEA h1,.kEBaF5NOHtQsQn5jfOEA h2,.kEBaF5NOHtQsQn5jfOEA h3,.kEBaF5NOHtQsQn5jfOEA h4,.kEBaF5NOHtQsQn5jfOEA h5,.kEBaF5NOHtQsQn5jfOEA h6{line-height:1.2;margin-top:0}._UqttTwRJeajPRpRGZPJ{background-color:#fff;padding:64px 0}._UqttTwRJeajPRpRGZPJ h1,._UqttTwRJeajPRpRGZPJ h2,._UqttTwRJeajPRpRGZPJ h3,._UqttTwRJeajPRpRGZPJ h4,._UqttTwRJeajPRpRGZPJ h5,._UqttTwRJeajPRpRGZPJ h6{line-height:1.2;margin-top:0}.jp-connection-status-card h3{color:var(--jp-black);font-size:36px;font-weight:400;line-height:40px;margin:0}.jp-connection-status-card a,.jp-connection-status-card a:active,.jp-connection-status-card a:hover{color:var(--jp-black)}.jp-connection-status-card p{color:var(--jp-black);margin:16px 0}.jp-connection-status-card a,.jp-connection-status-card li,.jp-connection-status-card p{font-size:16px;line-height:24px}.jp-connection-status-card--status{align-items:center;display:flex;margin:24px 0 24px -6px}.jp-connection-status-card--cloud{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PG1hc2sgaWQ9ImEiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjciIHk9IjkiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyMSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zMC4zMzMgMTcuNjk3di0uMDhjMC00LjI1My0zLjc2LTcuNy04LjQtNy43LTMuOTE2IDAtNy4yMDYgMi40NTctOC4xMzYgNS43OGE2LjM4NiA2LjM4NiAwIDAgMC0uMjY0LS4wMDVDOS45MjUgMTUuNjkyIDcgMTguNzA4IDcgMjIuNDI5czIuOTI1IDYuNzM4IDYuNTMzIDYuNzM4SDI5LjRjMy4wOTMgMCA1LjYtMi41ODYgNS42LTUuNzc1IDAtMi44NjEtMi4wMTgtNS4yMzctNC42NjYtNS42OTVaIiBmaWxsPSIjZmZmIi8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGQ9Im0zMC4zMzMgMTcuNjk3LTIuNjI1LS4wMy0uMDI1IDIuMjM1IDIuMjAyLjM4MS40NDgtMi41ODZabS0xNi41MzctMi0uMTA3IDIuNjIzIDIuMDc1LjA4NS41Ni0yLTIuNTI4LS43MDhabS0uMjYzIDEzLjQ3djIuNjI1aC4wMDhsLS4wMDgtMi42MjVabS4wNCAwdi0yLjYyNWgtLjAwOWwuMDA4IDIuNjI1Wm0xNS43OTUgMCAuMDE1LTIuNjI1aC0uMDE1djIuNjI1Wm0zLjU5LTExLjQ0MXYtLjExaC01LjI1di4wNTJsNS4yNS4wNThabTAtLjExYzAtNS45MTItNS4xNTUtMTAuMzI0LTExLjAyNS0xMC4zMjR2NS4yNWMzLjQxIDAgNS43NzUgMi40ODIgNS43NzUgNS4wNzVoNS4yNVpNMjEuOTMzIDcuMjkzYy00Ljk4NCAwLTkuMzg4IDMuMTM5LTEwLjY2NCA3LjY5OGw1LjA1NSAxLjQxNWMuNTg1LTIuMDg5IDIuNzYyLTMuODYzIDUuNjEtMy44NjN2LTUuMjVabS04LjAzIDUuNzgyYTkuMTExIDkuMTExIDAgMCAwLS4zNy0uMDA3djUuMjVjLjA1MyAwIC4xMDUuMDAxLjE1Ni4wMDNsLjIxNS01LjI0NlptLS4zNy0uMDA3Yy01LjEzMyAwLTkuMTU4IDQuMjY4LTkuMTU4IDkuMzYyaDUuMjVjMC0yLjM0OCAxLjgyNS00LjExMiAzLjkwOC00LjExMnYtNS4yNVptLTkuMTU4IDkuMzYyYzAgNS4wOTUgNC4wMjUgOS4zNjMgOS4xNTggOS4zNjN2LTUuMjVjLTIuMDgzIDAtMy45MDgtMS43NjUtMy45MDgtNC4xMTNoLTUuMjVabTkuMTY2IDkuMzYzaC4wNGwtLjAxNy01LjI1aC0uMDM5bC4wMTYgNS4yNVptLjAzMSAwaDE1Ljc5NnYtNS4yNUgxMy41NzJ2NS4yNVptMTUuODI3LTUuMjVoLS4wMTZsLS4wMyA1LjI1aC4wNDZ2LTUuMjVabTIuOTc1LTMuMTVjMCAxLjgxNi0xLjQwNyAzLjE1LTIuOTc1IDMuMTV2NS4yNWM0LjYxOCAwIDguMjI1LTMuODM4IDguMjI1LTguNGgtNS4yNVptLTIuNDg5LTMuMTA5YzEuMzU1LjIzNSAyLjQ5IDEuNDg4IDIuNDkgMy4xMDloNS4yNWMwLTQuMTAyLTIuOTAyLTcuNi02Ljg0NC04LjI4MmwtLjg5NiA1LjE3M1oiIGZpbGw9IiMxRTFFMUUiLz48L2c+PC9zdmc+);height:42px;margin-right:4px;width:42px}.jp-connection-status-card--jetpack-logo{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDMyYzguODM3IDAgMTYtNy4xNjMgMTYtMTZTMjQuODM3IDAgMTYgMCAwIDcuMTYzIDAgMTZzNy4xNjMgMTYgMTYgMTZaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTE2Ljc5NCAxMy4zMTN2MTUuNTExbDgtMTUuNTEyaC04Wk0xNS4xNzUgMTguNjU3VjMuMTc2bC03Ljk2OSAxNS40OGg3Ljk3WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);height:32px;margin-left:11px;width:32px}.jp-connection-status-card--btn-connect-user{background:var(--jp-black)!important;border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection-status-card--avatar{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.498 27.123C6.038 24.165 10.916 21.5 16 21.5c5.084 0 9.963 2.665 11.502 5.623a15.952 15.952 0 0 1-11.257 4.875L16 32l-.245-.002a15.952 15.952 0 0 1-11.257-4.875zM16 8a6 6 0 1 1 0 12 6 6 0 0 1 0-12z' fill='%23A2AAB2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;border:0;border-radius:20px;height:32px;margin-left:-10px;width:32px}.jp-connection-status-card--line{border-top:2px solid var(--jp-black);height:0;width:67px}.jp-connection-status-card--line.jp-connection-status-card--site-only{border-top-style:dashed}.jp-connection-status-card--list{list-style-type:none;margin:16px 0}.jp-connection-status-card--list li{color:var(--jp-black);margin:0 0 8px -3px;padding-left:25px}.jp-connection-status-card--list-item-success{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE4LjkzNSA2LTguOSAxMS45Ny01LjE2Mi0zLjgzNyIgc3Ryb2tlPSIjMUUxRTFFIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==) no-repeat 0 0}.jp-connection-status-card--list-item-error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red)!important}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,transparent,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;left:0;position:absolute;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-right:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:left}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-left:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:left;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-right:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:right}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-right:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:1rem;margin-right:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;left:24px;position:absolute;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-20:#a7aaad;--jp-gray-40:#787c82;--jp-gray-50:#646970;--jp-gray-60:#50575e;--jp-gray-80:#8a2424;--jp-gray-off:#e2e2df;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:left;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-right:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%) rotate(45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-right:40px} \ No newline at end of file
+#my-jetpack-container{--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);height:100%}#my-jetpack-container .jetpack-logo{height:40px}#my-jetpack-container .jp-dashboard-footer__jetpack-symbol{height:16px}#wpbody-content>.notice{display:none}.pIsYsXFAJ9KX2VrS5rmY{--actions-size:28px;--status-size:8px;background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 0 40px rgba(0,0,0,.08);box-shadow:0 0 0 1px var(--jp-gray-10) inset;display:flex;flex-direction:column;height:100%;padding:calc(var(--spacing-base)*3)}.pIsYsXFAJ9KX2VrS5rmY.YXHdD0VsFjiTsVRLrrx9{background:none;background-color:var(--jp-white-off);color:var(--jp-black-80);text-decoration:none}.pIsYsXFAJ9KX2VrS5rmY.YXHdD0VsFjiTsVRLrrx9:hover{background-color:var(--jp-white)}.pIsYsXFAJ9KX2VrS5rmY.YXHdD0VsFjiTsVRLrrx9:hover .ehgY0qp6bl53RaxP5rFF{text-decoration-thickness:var(--jp-underline-thickness)}.pIsYsXFAJ9KX2VrS5rmY.YXHdD0VsFjiTsVRLrrx9:focus{background-color:var(--jp-white);box-shadow:0 0 0 1.5px var(--jp-black);outline:3px solid transparent}.pIsYsXFAJ9KX2VrS5rmY.Pp9cMIaESLYelLOX3tkI{box-shadow:0 0 0 1.5px var(--jp-red-60)}.w56ueQLYexqzTybA7015{align-items:center;display:flex;justify-content:space-between;margin-bottom:var(--spacing-base);width:100%}.gmPKCDKZcfQt9WieTyKS{flex-grow:1}.ZKHHfl5DhA9kUnaL0qQZ{border-radius:var(--jp-border-radius);font-size:var(--font-body-extra-small);height:var(--actions-size);line-height:var(--actions-size)}.fDBaV7I4yUO6w5AWVEtr{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:calc(var(--spacing-base)*2);min-height:var(--actions-size);width:100%}.ehgY0qp6bl53RaxP5rFF{text-decoration:underline}.f5VJYwuJmjxH8PVxEbbv{align-items:center;display:flex;height:var(--actions-size);margin-left:var(--spacing-base);white-space:nowrap}.f5VJYwuJmjxH8PVxEbbv:before{border-radius:50%;content:"";display:inline-block;height:var(--status-size);margin-right:var(--spacing-base);width:var(--status-size)}.f5VJYwuJmjxH8PVxEbbv.ry3pxoGtmQ0ZeSwp7F_3{color:var(--jp-green-50)}.f5VJYwuJmjxH8PVxEbbv.ry3pxoGtmQ0ZeSwp7F_3:before{background:var(--jp-green-50)}.f5VJYwuJmjxH8PVxEbbv.LZzE3EG7m3CDR46wwwEr{color:var(--jp-gray-50)}.f5VJYwuJmjxH8PVxEbbv.LZzE3EG7m3CDR46wwwEr:before{background:var(--jp-gray-50)}.f5VJYwuJmjxH8PVxEbbv.Vx_jpT02r8W6NfsRSB02{color:var(--jp-red-60)}.f5VJYwuJmjxH8PVxEbbv.Vx_jpT02r8W6NfsRSB02:before{background:var(--jp-red-60)}.f5VJYwuJmjxH8PVxEbbv.PdsJCfyyjSgrNDheF2qi:before{animation:dWP7ypkVXudMbAa38W5Z .5s linear infinite}@keyframes dWP7ypkVXudMbAa38W5Z{0%{opacity:0}50%{opacity:.5}to{opacity: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-size:var(--font-title-medium);font-weight:500;line-height:32px}.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-size:var(--font-body-extra-small);font-weight:400;line-height:20px}.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)}.jErCC9oKHSM15BxzFyQK{margin-bottom:0}.oVoYbwbFB6U2o90Njusk{font-size:16px;margin:0}.oVoYbwbFB6U2o90Njusk.is-error{background-color:var(--jp-red-0)}.oVoYbwbFB6U2o90Njusk .components-notice__content{align-items:center;display:flex;margin:0;padding:12px 4px}.oVoYbwbFB6U2o90Njusk .components-notice__content>svg{fill:var(--jp-red-60)}.oVoYbwbFB6U2o90Njusk .is-link{color:var(--jp-black);font-size:16px;font-weight:600}.oVoYbwbFB6U2o90Njusk .components-notice__dismiss{align-self:center}.wBVXH4OTNwLHPRpN4nsq{margin-left:8px}.sexr0jUxC1jVixdKiDnC{margin-left:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-left:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1128px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;max-width:var(--max-container-width);width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-left:5px}.vMa4i_Dza2t5Zi_Bw9Nf{background:var(--jp-white-off)}.sDAzdUdcbaYmUMZBe2XW{fill:#2c3338}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:var(--color-facebook);border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:var(--color-twitter)}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:var(--color-linkedin)}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:var(--color-tumblr)}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.cAbGtJDGgLubucBnz7vM{background-color:var(--jp-white)}.wiobThfXJCuhGNrbFIT6 a,.wiobThfXJCuhGNrbFIT6 a:active,.wiobThfXJCuhGNrbFIT6 a:hover{color:var(--jp-black)}.VgAxgahF9bC2M__FiIgV{margin-bottom:calc(var(--spacing-base)*3)}.Doju0RxvvN9JS12mf489{line-height:calc(var(--spacing-base)*3);margin:0 0 var(--spacing-base) 0}.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.5px;border-radius:var(--jp-border-radius);font-weight:600;justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF{font-size:var(--font-body);height:auto;line-height:24px;padding:var(--spacing-base) calc(var(--spacing-base)*3)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF.paGLQwtPEaJmtArCcmyK{padding:var(--spacing-base) calc(var(--spacing-base)*2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14{font-size:var(--font-body-extra-small);height:auto;line-height:20px;padding:calc(var(--spacing-base)/2) var(--spacing-base)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14.paGLQwtPEaJmtArCcmyK>svg:first-child{margin-right:calc(var(--spacing-base)/2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14>.components-spinner{height:20px}.zI5tJ_qhWE6Oe6Lk75GY.lZAo6_oGfclXOO9CC6Rd{font-weight:400}.zI5tJ_qhWE6Oe6Lk75GY.is-primary:disabled,.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:disabled{background:var(--jp-gray);color:var(--jp-gray-20)}.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 1px 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 1px 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)}.jp-connection-status-card h3{color:var(--jp-black);font-size:var(--font-title-large);font-weight:700;line-height:1.1;margin:0}.jp-connection-status-card a,.jp-connection-status-card a:active,.jp-connection-status-card a:hover{color:var(--jp-black)}.jp-connection-status-card p{color:var(--jp-black);margin:16px 0}.jp-connection-status-card a,.jp-connection-status-card li,.jp-connection-status-card p{font-size:var(--font-body);line-height:24px}.jp-connection-status-card--status{align-items:center;display:flex;margin:24px 0 24px -6px}.jp-connection-status-card--cloud{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PG1hc2sgaWQ9ImEiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjciIHk9IjkiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyMSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zMC4zMzMgMTcuNjk3di0uMDhjMC00LjI1My0zLjc2LTcuNy04LjQtNy43LTMuOTE2IDAtNy4yMDYgMi40NTctOC4xMzYgNS43OGE2LjM4NiA2LjM4NiAwIDAgMC0uMjY0LS4wMDVDOS45MjUgMTUuNjkyIDcgMTguNzA4IDcgMjIuNDI5czIuOTI1IDYuNzM4IDYuNTMzIDYuNzM4SDI5LjRjMy4wOTMgMCA1LjYtMi41ODYgNS42LTUuNzc1IDAtMi44NjEtMi4wMTgtNS4yMzctNC42NjYtNS42OTVaIiBmaWxsPSIjZmZmIi8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGQ9Im0zMC4zMzMgMTcuNjk3LTIuNjI1LS4wMy0uMDI1IDIuMjM1IDIuMjAyLjM4MS40NDgtMi41ODZabS0xNi41MzctMi0uMTA3IDIuNjIzIDIuMDc1LjA4NS41Ni0yLTIuNTI4LS43MDhabS0uMjYzIDEzLjQ3djIuNjI1aC4wMDhsLS4wMDgtMi42MjVabS4wNCAwdi0yLjYyNWgtLjAwOWwuMDA4IDIuNjI1Wm0xNS43OTUgMCAuMDE1LTIuNjI1aC0uMDE1djIuNjI1Wm0zLjU5LTExLjQ0MXYtLjExaC01LjI1di4wNTJsNS4yNS4wNThabTAtLjExYzAtNS45MTItNS4xNTUtMTAuMzI0LTExLjAyNS0xMC4zMjR2NS4yNWMzLjQxIDAgNS43NzUgMi40ODIgNS43NzUgNS4wNzVoNS4yNVpNMjEuOTMzIDcuMjkzYy00Ljk4NCAwLTkuMzg4IDMuMTM5LTEwLjY2NCA3LjY5OGw1LjA1NSAxLjQxNWMuNTg1LTIuMDg5IDIuNzYyLTMuODYzIDUuNjEtMy44NjN2LTUuMjVabS04LjAzIDUuNzgyYTkuMTExIDkuMTExIDAgMCAwLS4zNy0uMDA3djUuMjVjLjA1MyAwIC4xMDUuMDAxLjE1Ni4wMDNsLjIxNS01LjI0NlptLS4zNy0uMDA3Yy01LjEzMyAwLTkuMTU4IDQuMjY4LTkuMTU4IDkuMzYyaDUuMjVjMC0yLjM0OCAxLjgyNS00LjExMiAzLjkwOC00LjExMnYtNS4yNVptLTkuMTU4IDkuMzYyYzAgNS4wOTUgNC4wMjUgOS4zNjMgOS4xNTggOS4zNjN2LTUuMjVjLTIuMDgzIDAtMy45MDgtMS43NjUtMy45MDgtNC4xMTNoLTUuMjVabTkuMTY2IDkuMzYzaC4wNGwtLjAxNy01LjI1aC0uMDM5bC4wMTYgNS4yNVptLjAzMSAwaDE1Ljc5NnYtNS4yNUgxMy41NzJ2NS4yNVptMTUuODI3LTUuMjVoLS4wMTZsLS4wMyA1LjI1aC4wNDZ2LTUuMjVabTIuOTc1LTMuMTVjMCAxLjgxNi0xLjQwNyAzLjE1LTIuOTc1IDMuMTV2NS4yNWM0LjYxOCAwIDguMjI1LTMuODM4IDguMjI1LTguNGgtNS4yNVptLTIuNDg5LTMuMTA5YzEuMzU1LjIzNSAyLjQ5IDEuNDg4IDIuNDkgMy4xMDloNS4yNWMwLTQuMTAyLTIuOTAyLTcuNi02Ljg0NC04LjI4MmwtLjg5NiA1LjE3M1oiIGZpbGw9IiMxRTFFMUUiLz48L2c+PC9zdmc+);height:42px;margin-right:4px;width:42px}.jp-connection-status-card--jetpack-logo{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDMyYzguODM3IDAgMTYtNy4xNjMgMTYtMTZTMjQuODM3IDAgMTYgMCAwIDcuMTYzIDAgMTZzNy4xNjMgMTYgMTYgMTZaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTE2Ljc5NCAxMy4zMTN2MTUuNTExbDgtMTUuNTEyaC04Wk0xNS4xNzUgMTguNjU3VjMuMTc2bC03Ljk2OSAxNS40OGg3Ljk3WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);height:32px;margin-left:11px;width:32px}.jp-connection-status-card--btn-connect-user{font-size:var(--font-body);font-weight:400;line-height:24px}.jp-connection-status-card--avatar{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.498 27.123C6.038 24.165 10.916 21.5 16 21.5c5.084 0 9.963 2.665 11.502 5.623a15.952 15.952 0 0 1-11.257 4.875L16 32l-.245-.002a15.952 15.952 0 0 1-11.257-4.875zM16 8a6 6 0 1 1 0 12 6 6 0 0 1 0-12z' fill='%23A2AAB2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;border:0;border-radius:20px;height:32px;margin-left:-10px;width:32px}.jp-connection-status-card--line{border-top:2px solid var(--jp-black);height:0;width:67px}.jp-connection-status-card--line.jp-connection-status-card--site-only{border-top-style:dashed}.jp-connection-status-card--list{list-style-type:none;margin:16px 0}.jp-connection-status-card--list li{color:var(--jp-black);margin:0 0 8px -3px;padding-left:25px}.jp-connection-status-card--list-item-success{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE4LjkzNSA2LTguOSAxMS45Ny01LjE2Mi0zLjgzNyIgc3Ryb2tlPSIjMUUxRTFFIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==) no-repeat 0 0}.jp-connection-status-card--list-item-error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red-60)!important}.jp-connection-status-card--list-item-info{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjMDAwIi8+PC9zdmc+) no-repeat 0 0}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,transparent,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;left:0;position:absolute;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-right:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:left}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-left:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:left;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-right:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:right}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-right:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:1rem;margin-right:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;left:24px;position:absolute;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:left;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-right:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%) rotate(45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-right:40px}.zvd4dCB_bBDiXJKKDqXm{position:relative}.ly4o9lSswAGHFXqGUEIO{position:absolute;right:32px;top:32px;z-index:1}.u64Go3kwEZ7MD9eji0H1{color:var(--jp-gray-50);font-size:13px;margin-bottom:16px;width:60%}._RT41NE3LU4R0ubcij2y{align-items:center;display:flex}.cFGWJeRiGHjAr8D7CWJW{margin-right:8px;width:100px}.Iz3l7a05TP6HK9S92TIL{width:16px}.lmQ0wFmnk4kKkGVjokPA{height:18px;margin-left:8px}.AoIs8wD92wKR8RpQj6Uc{align-items:center;display:inline-flex}.rV_5QyvhDnsVjCX4pb0h{--gray-90:#1e1e1e;fill:var(--gray-90);width:24px}.MO1jDNY8VPqeNS9xL8jE{align-items:center;display:flex;text-decoration:none}.jp-connection__connect-screen__loading{display:none}.jp-connection__connect-screen__tos{margin-top:28px;max-width:360px}.jp-connection__connect-screen .jp-action-button{margin-top:40px}.jp-connection__connect-screen .jp-action-button button{max-width:100%}.jp-connection__connect-screen .jp-action-button button:disabled{color:hsla(0,0%,100%,.4)}@media(max-width:782px){.jp-connection__connect-screen .jp-action-button button{max-width:none;width:100%}}.jp-connection__connect-screen__footer{margin-top:32px}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-left:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red)!important;line-height:25px!important;padding-left:25px}.SWwV4Pw6OZ5vU3PqPXmr{--product-card-shadow:rgb(0 0 0/3%);background-color:var(--jp-white);border:1px solid var(--jp-gray);border-radius:var(--jp-border-radius);box-shadow:0 2px 6px var(--product-card-shadow),0 1px 2px var(--product-card-shadow)}.r7tUofa9Z3A5ziKVR1H7{align-items:center;display:flex}.r7tUofa9Z3A5ziKVR1H7 img{object-fit:cover;width:100%}.hdasSNj9k3Sc5PwXK4uE{margin-right:4px;width:16px}.eWN8Hj0SBRDq1F48n_Fg{--gray-70:#3c434a;align-items:center;color:var(--gray-70);display:flex;font-size:14px;text-decoration:none}.q0T8YyQxRawhpDtvJjxI{background-color:var(--jp-white);height:100%;padding:calc(var(--spacing-base)*8);position:relative}.B7JDqI_vtKxSy5GjvqA1{display:flex;flex-direction:column;height:100%}.zj7xadmhIWeuf7ZwvVTS{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius) var(--jp-border-radius) 0 0;color:var(--jp-white);display:flex;height:calc(var(--spacing-base)*4);left:0;padding:0 var(--spacing-base);position:absolute;top:0;width:100%}.GsioW6IsC8EMYE3U6788{fill:var(--jp-white);margin-right:var(--spacing-base)}.cfEO8udWbRGPFJzW8Jg5,.dbz07JqxOlivjKO4vBEF{align-items:center;display:flex;height:calc(var(--spacing-base)*4);margin-bottom:calc(var(--spacing-base)*4)}.zlh3zbjUe4Z8cBs7uVVe{fill:#8c8f94;height:24px;line-height:24px}.qoZuzG5EcDa231hC6t0P{align-items:center;display:flex;justify-content:center}.qoZuzG5EcDa231hC6t0P svg{margin-right:var(--spacing-base)}.Q6uUUQCPWS6_6nLxIn68{display:inline-block;min-height:42px;padding:8px 60px;text-align:center;width:100%}.Q6uUUQCPWS6_6nLxIn68 .YU4iBCRze09ZP3iCsdcb{margin:0}.Q6uUUQCPWS6_6nLxIn68.is-secondary:hover:not(:disabled){background-color:var(--jp-black);color:var(--jp-white)}.Q1jaYDpa2AVfJpA29wT0{flex-grow:1;margin:0;margin-bottom:calc(var(--spacing-base)*2);padding:0}.Q1jaYDpa2AVfJpA29wT0 li{align-items:start;display:flex;list-style:none;margin-bottom:var(--spacing-base)}.Q1jaYDpa2AVfJpA29wT0 svg{fill:var(--jp-green-primary);flex-shrink:0;margin-right:var(--spacing-base)}.xgv3jRkeF39aEQELCwru{align-items:flex-end;color:var(--jp-text-color);display:flex;flex-wrap:wrap}.twlleZ5Ehq4bB7CvKVSW{position:relative}.twlleZ5Ehq4bB7CvKVSW:first-child{margin-right:calc(var(--spacing-base)*2)}.twlleZ5Ehq4bB7CvKVSW.Qg4rPEvXsqmod1s_31d8{color:var(--jp-gray-20)}.twlleZ5Ehq4bB7CvKVSW.Qg4rPEvXsqmod1s_31d8:after{background:var(--jp-red);border-radius:var(--jp-border-radius);content:" ";display:block;height:3px;margin-top:-2px;pointer-events:none;position:absolute;top:50%;width:100%}.ApsgxIornVy_3KnciVeJ{color:var(--jp-gray-40);margin-bottom:calc(var(--spacing-base)*3)}.NMxcZL17aEP7v81uG3zD{margin-top:calc(var(--spacing-base)*5)}.jp-license-activation-screen-controls{background:var(--jp-white);display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-controls h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-controls p{font-size:var(--font-body);margin:1em 0}.jp-license-activation-screen-controls label{font-size:var(--font-body);font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-controls{padding:64px}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field label,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error label{font-size:var(--font-body);font-weight:600}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border-radius:var(--jp-border-radius);font-size:18px;line-height:24px;margin:0;min-height:48px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border:1px solid var(--jp-gray-40)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border:1px solid var(--jp-red)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error{align-items:start;color:var(--jp-red);display:flex;flex-direction:row}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error svg{fill:var(--jp-red);margin-right:4px;min-width:24px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error span{font-size:var(--font-body)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{background-color:var(--jp-black);border-radius:4px;color:var(--jp-white);display:flex;font-size:16px;font-size:var(--font-body);font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin-top:24px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{width:auto}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:hover,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:hover{background-color:var(--jp-black-80);color:var(--jp-white)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:focus,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:focus{background-color:var(--jp-black-80);border:1px solid var(--jp-white);color:var(--jp-white)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active[disabled],.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button[disabled]{background-color:var(--jp-gray);color:var(--jp-gray-20)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button .jp-components-spinner,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active .jp-components-spinner{width:100%}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.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 transparent;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%}.jp-license-activation-screen-illustration{align-items:center;background:var(--jp-white-off);display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-illustration--wrapper{display:flex;flex:1}.jp-license-activation-screen-illustration--wrapper img{align-self:center;height:auto;max-width:100%}.jp-license-activation-screen-illustration--support-link{flex:0}.jp-license-activation-screen-success-info--product-details h1{line-height:52px}.jp-license-activation-screen-success-info--product-details a{color:var(--jp-black);text-decoration:underline!important}.jp-license-activation-screen-success-info--external-link{color:var(--jp-black);font-size:16px;font-style:normal;font-weight:600;text-decoration:underline!important;white-space:nowrap}.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{background-color:var(--jp-black);border-radius:4px;color:var(--jp-white);font-size:16px;font-size:var(--font-body);font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin:0 40px 20px 0;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{width:auto}}.components-button.jp-license-activation-screen-success-info--button:active:hover,.components-button.jp-license-activation-screen-success-info--button:hover,.components-button.jp-license-activation-screen-success-info--button:visited:hover{background-color:var(--jp-black-80);color:var(--jp-white)}.components-button.jp-license-activation-screen-success-info--button:active:focus,.components-button.jp-license-activation-screen-success-info--button:focus,.components-button.jp-license-activation-screen-success-info--button:visited:focus{background-color:var(--jp-black-80);border:1px solid var(--jp-white);color:var(--jp-white)}.components-button.jp-license-activation-screen-success-info--button:active:disabled,.components-button.jp-license-activation-screen-success-info--button:active[disabled],.components-button.jp-license-activation-screen-success-info--button:disabled,.components-button.jp-license-activation-screen-success-info--button:visited:disabled,.components-button.jp-license-activation-screen-success-info--button:visited[disabled],.components-button.jp-license-activation-screen-success-info--button[disabled]{background-color:var(--jp-gray);color:var(--jp-gray-20)}.components-button.jp-license-activation-screen-success-info--button .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:active .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:visited .jp-components-spinner{width:100%}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-license-activation-screen-success-info{background:var(--jp-white);display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-success-info h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-success-info p{font-size:var(--font-body);margin:1em 0}.jp-license-activation-screen-success-info label{font-size:var(--font-body);font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-success-info{padding:64px}}@media screen and (max-width:480px){.jp-license-activation-screen-success-info .jp-license-activation-screen-success-info--buttons{text-align:center}}.jp-license-activation-screen{border-radius:4px;box-shadow:0 4px 24px 0 #00000026;display:flex;flex-direction:column;min-height:540px;overflow:hidden}@media screen and (min-width:780px){.jp-license-activation-screen{flex-direction:row}} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js
index b5192a4a..24acb3a2 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js
@@ -1,2 +1,11 @@
/*! For license information please see index.js.LICENSE.txt */
-(()=>{var e={7538:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},9183:e=>{function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},9105:(e,t)=>{var n;!function(){"use strict";var c={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var r in n)c.call(n,r)&&n[r]&&e.push(r);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},5771:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let c=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(c++,"%c"===e&&(o=c))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1244)(t);const{formatters:c}=e.exports;c.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1244:(e,t,n)=>{e.exports=function(e){function t(e){let n,o,s,a=null;function r(...e){if(!r.enabled)return;const c=r,o=Number(new Date),s=o-(n||o);c.diff=s,c.prev=n,c.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";a++;const s=t.formatters[o];if("function"==typeof s){const t=e[a];n=s.call(c,t),e.splice(a,1),a--}return n})),t.formatArgs.call(c,e);(c.log||t.log).apply(c,e)}return r.namespace=e,r.useColors=t.useColors(),r.color=t.selectColor(e),r.extend=c,r.destroy=t.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,s=t.enabled(e)),s),set:e=>{a=e}}),"function"==typeof t.init&&t.init(r),r}function c(e,n){const c=t(this.namespace+(void 0===n?":":n)+e);return c.log=this.log,c}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const c=("string"==typeof e?e:"").split(/[\s,]+/),o=c.length;for(n=0;n<o;n++)c[n]&&("-"===(e=c[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,c;for(n=0,c=t.skips.length;n<c;n++)if(t.skips[n].test(e))return!1;for(n=0,c=t.names.length;n<c;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(2002),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},6619:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"jp-wrap":"O5NYbFTsxmrm4P2SIdOC","jp-row":"rkV4U_hzC04NwXFQcTHl","sm-col-span-1":"G81E6mesnld_OhhOvz_F","sm-col-span-2":"SfCZpjwiu2F0KDjGIXEA","sm-col-span-3":"qPxwbSu_GTDTz_8jFHJD","sm-col-span-4":"xYAWQ0wk6FPfZOZQgFiw","md-col-span-1":"zwZjA7ofpMucaB_UzG48","md-col-span-2":"YfwKGGBEqiINFYy6ZpKM","md-col-span-3":"pcHQbVFRxA_OvNRQ2OwP","md-col-span-4":"U_LJMBlRZ8ItXZuvCXGg","md-col-span-5":"st_7w_Ja1Gp2AgGaTysO","md-col-span-6":"gQsaHmJo6Gp7Yq9IB9Sg","md-col-span-7":"P0a4FWsiJJmR6bySI8QC","md-col-span-8":"UxSHj7jyDp6sGKHILNRc","lg-col-span-1":"TExt5ebNqUrEn2NzeDDh","lg-col-span-2":"cdwvRRac4c2djSpHfOpF","lg-col-span-3":"hvRpxlyFY9BQIDdEGTjg","lg-col-span-4":"Ev9JGJi3yKkBq6cW3Xge","lg-col-span-5":"mhL__tIHFH_tViX5718D","lg-col-span-6":"X1lGIxHHxsFl_39u4Px6","lg-col-span-7":"pc5UnY_DzsSDkyih78Ti","lg-col-span-8":"QCjBtfnG3u20FwoDd59Z","lg-col-span-9":"MX1aL3BeJpoSE0aXghp0","lg-col-span-10":"h_JAcO8a8ClV2LmTWsMz","lg-col-span-11":"gKlDMi0N7LOd9q8uJHi5","lg-col-span-12":"KZWhYB7r6TG75uJu2LsQ","md-col-span-0":"G6NxfG2gGwvEYb0aGdPJ","sm-col-span-0":"aceZPGfrg7IoR0Vu7ZJg","jp-cut":"MZSHJVi991kNJhn_Xnip","jp-admin-page":"EZ590eIMC5y_t1_gWRua","jp-admin-page-section":"BYzOly4G7Gry9wdRH0AY"}},9855:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"jp-admin-section":"_UqttTwRJeajPRpRGZPJ"}},8459:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"jp-wrap":"K6gniZequRm1zBi4xa2G","jp-row":"vickZxEIl6kGZp7KkFYF","sm-col-span-1":"U2ZD1antXfCcQlBdFwyw","sm-col-span-2":"caLSPVQ3JP3b2Ia68Seq","sm-col-span-3":"h6FKJdwoY_zIXh6pEj1U","sm-col-span-4":"GkjDOzh_5n5VxKrqEW_I","md-col-span-1":"V2HSxZHesNOXMBWOmdFG","md-col-span-2":"i3fz9zvErDyXYherb6Ew","md-col-span-3":"_3bKcKfanUgurPMcHEiV","md-col-span-4":"U44hqBGsmVA1lI9R2ZnH","md-col-span-5":"AzaRYYQQYJjKUF9D87mw","md-col-span-6":"sag3QKXTxIQXPPjmbrAl","md-col-span-7":"ifY5fUWFNROS_F7Jys9v","md-col-span-8":"nZFgLvw9LsUJnEViXnJZ","lg-col-span-1":"Tqir6CbiyHOgYmsAgY57","lg-col-span-2":"VeVLz3DEagxiXMMPEOCe","lg-col-span-3":"G3R07cw2eP3D3juW3A3l","lg-col-span-4":"eQ3UseyneBNu_ZLuqSzg","lg-col-span-5":"VlgV8xjgkGoOLJShoyNM","lg-col-span-6":"DJCwqamaIDFQoj0jEgBc","lg-col-span-7":"CxtXPQUYJfNUQVn3y2y_","lg-col-span-8":"BroOgbyuFxoSv48H70B5","lg-col-span-9":"KnUcRFDSsxeb_z46ajNY","lg-col-span-10":"bXiAAxiM2mhcI43ET0pp","lg-col-span-11":"ipYVW2jwG2cFjIHpnQk2","lg-col-span-12":"KcREgfiJ4ix9nAvNAXqQ","md-col-span-0":"qSfEJeFAh4WmcPtmo8qe","sm-col-span-0":"_RxxiRFsUS3nYTZhkprA","jp-cut":"RSw9xhnEr8xpkX3hPPaM","jp-admin-section-hero":"kEBaF5NOHtQsQn5jfOEA"}},8776:()=>{},3220:()=>{},4555:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"jp-wrap":"WcIPVMUrQMdwzisuVSh7","jp-row":"Nxx7T20LwPUQPXCSDMfA","sm-col-span-1":"mmVmo1nZYrRywmnSKQFx","sm-col-span-2":"UrIp26XpdUSMJft8YxdC","sm-col-span-3":"pMXlFWglEDyK6MbwJ8sX","sm-col-span-4":"P5H1ohz9m5_rEqZFAkFm","md-col-span-1":"ofLUn8LwR3LLeWl8tPdU","md-col-span-2":"fq1Z8JYbcrrXavvSfzKk","md-col-span-3":"jq9gui11HqTDfI7tXH1d","md-col-span-4":"mVYkSRC7j44WiWLZHOnM","md-col-span-5":"S3wOGmx7YLTrqz_bcLth","md-col-span-6":"Y3GW3wokLgm9jnX78Uwk","md-col-span-7":"ShMEdZjpjdYj7mCQzrSO","md-col-span-8":"nfBAID75QGC1VZ8t0RfR","lg-col-span-1":"Vr2EQcrmKOPJtFU72Vv2","lg-col-span-2":"CTS6MNweODFo4ZxcT0iV","lg-col-span-3":"XTISRluUo3o5xxnPNu09","lg-col-span-4":"c_EtRaSOJafAl5r9WkBm","lg-col-span-5":"HcpW_q5aO8Bf_ngIjyjv","lg-col-span-6":"XF3r0hMrFrrmxH5TJee0","lg-col-span-7":"Jl9ognyJ9XOZ6g0BTzLf","lg-col-span-8":"_8w8oD2R9CVt9AU4PvUy","lg-col-span-9":"ltOXxurwUtxy7XIR_loo","lg-col-span-10":"bKUzzGEJ3wCoAOZZvVCK","lg-col-span-11":"GltQVCPa1x4tZ7sWFg1v","lg-col-span-12":"UzWicuFiKrGgMEjmRAFA","md-col-span-0":"CDwHAcVQxDeV2mFXS1Dz","sm-col-span-0":"sr1184KrdJ0UtgNsMQnR","jp-cut":"MnTtKIHRyzXYoesgRCgm"}},8422:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"jp-container":"O8YnwnZegI89S2Q3k5Qn"}},7941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"jp-wrap":"iwMEh2CwJ_r23Y9sVcJ1","jp-row":"HwO79godDUI97Xub9ey4","sm-col-span-1":"EC1Yirv2kOgRU77F2XRd","sm-col-span-2":"FHZqFvZXEDJ9mpOm7CeY","sm-col-span-3":"VOmONLKUkcSrIRYmX6YZ","sm-col-span-4":"eECO55N5YGkBB3tKa0If","md-col-span-1":"u3ZB3zRkuglILO6FSIrx","md-col-span-2":"iZnPl6piWO_GqHn16XKi","md-col-span-3":"WWctfqi1wHZDWrue8GIt","md-col-span-4":"p678NN_M0K78Kpprfndu","md-col-span-5":"_6D2TXtGKmepmwrxSf5DW","md-col-span-6":"cWORs5VDjuStXsiVPtiO","md-col-span-7":"yJsc8qt82L9miwDoe2Y2","md-col-span-8":"hD6bXWfNn5elhKCaBFTD","lg-col-span-1":"k9j6XIJdXbQ5YNyU8sNH","lg-col-span-2":"TnVGX0JHm_muRRcmYYwV","lg-col-span-3":"VILIswQXi8XzNJ3BqePc","lg-col-span-4":"h7mXuoRFWMGCiWYH4Ij1","lg-col-span-5":"uHYkk5STnhikqYMIxtE1","lg-col-span-6":"E8zp8nDOvAQ7VHsXKJJw","lg-col-span-7":"jwOhfvvsXGTCtHfB2854","lg-col-span-8":"DmSEZVFn_2XNNKJGgkXw","lg-col-span-9":"RdgOIY1qMZ8eqAeNSGNw","lg-col-span-10":"XBQd6xiLipeHg0O6cf7N","lg-col-span-11":"JyQ6Tbn3FCHfrCEyWrAr","lg-col-span-12":"fzJ_qaXYWs3EWQEupbLD","md-col-span-0":"LE2ZLIt_Y0slsr6TSmqe","sm-col-span-0":"vYxwZbK_covZoLjDe3BM","jp-cut":"fmzqGXmbTSiUblRujgqB"}},404:()=>{},1294:()=>{},1545:()=>{},843:()=>{},3498:()=>{},2002:e=>{var t=1e3,n=60*t,c=60*n,o=24*c,s=7*o,a=365.25*o;function r(e,t,n,c){var o=t>=1.5*n;return Math.round(e/n)+" "+c+(o?"s":"")}e.exports=function(e,i){i=i||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var r=/^(-?(?:\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(!r)return;var i=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*a;case"weeks":case"week":case"w":return i*s;case"days":case"day":case"d":return i*o;case"hours":case"hour":case"hrs":case"hr":case"h":return i*c;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===l&&isFinite(e))return i.long?function(e){var s=Math.abs(e);if(s>=o)return r(e,s,o,"day");if(s>=c)return r(e,s,c,"hour");if(s>=n)return r(e,s,n,"minute");if(s>=t)return r(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=o)return Math.round(e/o)+"d";if(s>=c)return Math.round(e/c)+"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))}},9587:(e,t,n)=>{"use strict";var c=n(5843);function o(){}function s(){}s.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,s,a){if(a!==c){var r=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 r.name="Invariant Violation",r}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:o};return n.PropTypes=n,n}},1268:(e,t,n)=>{e.exports=n(9587)()},5843:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},816:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5771),o=n.n(c),s=n(2819);const a=o()("dops:analytics");let r,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,t,n){l.setUser(e,t),l.setSuperProps(n),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){r=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);this.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);this.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,c,o,s,a){l.ga.recordPurchase(e,t,n,c,o,s,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(a("- Super Props: %o",r),t=(0,s.assign)(t,r)),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};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.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={};l.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.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,c){l.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==c&&(o+=" [Option Value: "+c+"]"),a(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,c)},recordPurchase:function(e,t,n,c,o,s,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:c,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:s}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},p=l},9570:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u});var c=n(2819),o=n(6483),s=n(6251);function a(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const r=a("JsonParseError"),i=a("JsonParseAfterRedirectError"),l=a("Api404Error"),p=a("Api404AfterRedirectError"),d=a("FetchNetworkError");const u=new function(e,t){let n=e,a={"X-WP-Nonce":t},r={credentials:"same-origin",headers:a},i={method:"post",credentials:"same-origin",headers:(0,c.assign)({},a,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",c=n.length?n.split("&"):[];return c.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+c.join("&")};const p={setApiRoot(e){n=e},setApiNonce(e){a={"X-WP-Nonce":e},r={credentials:"same-origin",headers:a},i={method:"post",credentials:"same-origin",headers:(0,c.assign)({},a,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const c={registration_nonce:e,no_iframe:!0};return(0,s.jetpackConfigHas)("consumer_slug")&&(c.plugin_slug=(0,s.jetpackConfigGet)("consumer_slug")),null!==t&&(c.redirect_uri=t),u(`${n}jetpack/v4/connection/register`,i,{body:JSON.stringify(c)}).then(m).then(g)},fetchAuthorizationUrl:e=>d((0,o.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),r).then(m).then(g),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,r).then(g),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,r).then(g),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,r).then(m).then(g),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,r).then(g),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,r).then(m).then(g),updateUserTrackingSettings:e=>u(`${n}jetpack/v4/tracking/settings`,i,{body:JSON.stringify(e)}).then(m).then(g),disconnectSite:()=>u(`${n}jetpack/v4/connection`,i,{body:JSON.stringify({isActive:!1})}).then(m).then(g),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,r).then(m).then(g),unlinkUser:()=>u(`${n}jetpack/v4/connection/user`,i,{body:JSON.stringify({linked:!1})}).then(m).then(g),reconnect:()=>u(`${n}jetpack/v4/connection/reconnect`,i).then(m).then(g),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,r).then(m).then(g),setHasSeenWCConnectionModal:()=>u(`${n}jetpack/v4/seen-wc-connection-modal`,i).then(m).then(g),fetchModules:()=>d(`${n}jetpack/v4/module/all`,r).then(m).then(g),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,r).then(m).then(g),activateModule:e=>u(`${n}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!0})}).then(m).then(g),deactivateModule:e=>u(`${n}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>u(`${n}jetpack/v4/module/${e}`,i,{body:JSON.stringify(t)}).then(m).then(g),updateSettings:e=>u(`${n}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(m).then(g),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,r).then(m).then(g),resetOptions:e=>u(`${n}jetpack/v4/options/${e}`,i,{body:JSON.stringify({reset:!0})}).then(m).then(g),activateVaultPress:()=>u(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(g),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,r).then(m).then(g),installPlugin:(e,t)=>{const c={slug:e,status:"active"};return t&&(c.source=t),u(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify(c)}).then(m).then(g)},activateAkismet:()=>u(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(g),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,r).then(m).then(g),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,r).then(m).then(g),checkAkismetKeyTyped:e=>u(`${n}jetpack/v4/module/akismet/key/check`,i,{body:JSON.stringify({api_key:e})}).then(m).then(g),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),r).then(m).then(g).then(h),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,r).then(m).then(g),getPlans:()=>d(`${n}jetpack/v4/plans`,r).then(m).then(g),fetchSettings:()=>d(`${n}jetpack/v4/settings`,r).then(m).then(g),updateSetting:e=>u(`${n}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(m).then(g),fetchSiteData:()=>d(`${n}jetpack/v4/site`,r).then(m).then(g).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,r).then(m).then(g).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,r).then(m).then(g),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,r).then(m).then(g).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,r).then(m).then(g).then((e=>JSON.parse(e.data))),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,r).then(m).then(g),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,r).then(m).then(g),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,r).then(m).then(g),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,r).then(m).then(g),saveRecommendationsData:e=>u(`${n}jetpack/v4/recommendations/data`,i,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>d(`${n}jetpack/v4/products`,r).then(m).then(g),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,r).then(m).then(g).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,r).then(m).then(g).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>u(`${n}jetpack/v4/notice/${e}`,i,{body:JSON.stringify({dismissed:!0})}).then(m).then(g),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,r).then(m).then(g),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,r).then(m).then(g),verifySiteGoogle:e=>u(`${n}jetpack/v4/verify-site/google`,i,{body:JSON.stringify({keyring_id:e})}).then(m).then(g),sendMobileLoginEmail:()=>u(`${n}jetpack/v4/mobile/send-login-email`,i).then(m).then(g),submitSurvey:e=>u(`${n}jetpack/v4/marketing/survey`,i,{body:JSON.stringify(e)}).then(m).then(g),saveSetupQuestionnaire:e=>u(`${n}jetpack/v4/setup/questionnaire`,i,{body:JSON.stringify(e)}).then(m).then(g),updateLicensingError:e=>u(`${n}jetpack/v4/licensing/error`,i,{body:JSON.stringify(e)}).then(m).then(g),updateLicenseKey:e=>u(`${n}jetpack/v4/licensing/set-license`,i,{body:JSON.stringify({license:e})}).then(m).then(g),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,r).then(m).then(g),updateLicensingActivationNoticeDismiss:e=>u(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,i,{body:JSON.stringify({last_detached_count:e})}).then(m).then(g),updateRecommendationsStep:e=>u(`${n}jetpack/v4/recommendations/step`,i,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>u(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,i).then(m),startIDCFresh:e=>u(`${n}jetpack/v4/identity-crisis/start-fresh`,i,{body:JSON.stringify({redirect_uri:e})}).then(m).then(g),migrateIDC:()=>u(`${n}jetpack/v4/identity-crisis/migrate`,i).then(m),attachLicenses:e=>u(`${n}jetpack/v4/licensing/attach-licenses`,i,{body:JSON.stringify({licenses:e})}).then(m).then(g),fetchSearchPlanInfo:()=>d(`${n}jetpack/v4/search/plan`,r).then(m).then(g),fetchSearchSettings:()=>d(`${n}jetpack/v4/search/settings`,r).then(m).then(g),updateSearchSettings:e=>u(`${n}jetpack/v4/search/settings`,i,{body:JSON.stringify(e)}).then(m).then(g)};function d(e,t){return fetch(l(e),t)}function u(e,t,n){return fetch(e,(0,c.assign)({},t,n)).catch(f)}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:{}}(0,c.assign)(this,p)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new p(e.redirected):new l})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function g(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new i(n):new r}function f(){throw new d}},2234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(9196),o=n.n(c),s=n(5736),a=n(1268),r=n.n(a),i=n(6619),l=n(7967),p=n(69),d=n(4191),u=n(134);const __=s.__,m=e=>{const{moduleName:t,a8cLogoHref:n}=e;return o().createElement("div",{className:i.Z["jp-admin-page-section"]},o().createElement(d.Z,null,o().createElement(p.Z,null,o().createElement(u.Z,{lg:12,md:8,sm:4},o().createElement(l.Z,{moduleName:t,a8cLogoHref:n})))))};m.defaultProps={a8cLogoHref:"https://jetpack.com",moduleName:__("Jetpack","jetpack-my-jetpack")},m.propTypes={a8cLogoHref:r().string,moduleName:r().string};const g=m},4123:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9196),o=n.n(c),s=n(6619),a=n(1546),r=n(69),i=n(4191),l=n(134);const p=()=>o().createElement("div",{className:s.Z["jp-admin-page-section"]},o().createElement(i.Z,null,o().createElement(r.Z,null,o().createElement(l.Z,{lg:12,md:8,sm:4},o().createElement(a.Z,null)))))},8670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9196),o=n.n(c),s=n(5736),a=n(1268),r=n.n(a),i=n(6619),l=n(4123),p=n(2234);const __=s.__,d=e=>{const{children:t,moduleName:n,a8cLogoHref:c,showHeader:s,showFooter:a}=e;return o().createElement("div",{className:i.Z["jp-admin-page"]},s&&o().createElement(l.Z,null),t,a&&o().createElement(p.Z,{moduleName:n,a8cLogoHref:c}))};d.defaultProps={a8cLogoHref:"https://jetpack.com",moduleName:__("Jetpack","jetpack-my-jetpack"),showHeader:!0,showFooter:!0},d.propTypes={a8cLogoHref:r().string,moduleName:r().string,showHeader:r().bool,showFooter:r().bool};const u=d},6160:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),o=n.n(c),s=n(9855),a=n(4191);const r=e=>{const{children:t}=e;return o().createElement("div",{className:s.Z["jp-admin-section"]},o().createElement(a.Z,null,t))}},4502:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),o=n.n(c),s=n(8459),a=n(4191);const r=e=>{const{children:t}=e;return o().createElement("div",{className:s.Z["jp-admin-section-hero"]},o().createElement(a.Z,null,t))}},1824:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9183),o=n.n(c),s=n(9196),a=n.n(s),r=n(9105),i=n.n(r),l=n(5736),p=n(1268),d=n.n(p);const __=l.__,u=e=>{const{title:t,height:n,className:c,...s}=e;return a().createElement("svg",o()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:i()("jp-automattic-byline-logo",c)},s),a().createElement("title",{id:"jp-automattic-byline-logo-title"},t),a().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),a().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),a().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))};u.defaultProps={title:__("An Automattic Airline","jetpack-my-jetpack"),height:7,className:""},u.propTypes={title:d().string,height:d().number,className:d().string};const m=u},9697:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),o=n.n(c),s=n(1268),a=n.n(s);n(8776);const r=e=>{const{format:t,icon:n,imageUrl:c}=e;return o().createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},o().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:c?`url( ${c} )`:""}}),o().createElement("div",{className:"jp-components__decorative-card__content"},o().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(n)return o().createElement("div",{className:"jp-components__decorative-card__icon-container"},o().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n}))})())};r.propTypes={format:a().oneOf(["horizontal","vertical"]),icon:a().oneOf(["unlink"]),imageUrl:a().string},r.defaultProps={format:"horizontal"};const i=r},7967:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var c=n(9183),o=n.n(c),s=n(9196),a=n.n(s),r=n(5736),i=n(9105),l=n.n(i),p=n(1268),d=n.n(p),u=n(1824),m=(n(3220),n(1546));const __=r.__,g=e=>{const{a8cLogoHref:t,moduleName:n,className:c,...s}=e;return a().createElement("div",o()({className:l()("jp-dashboard-footer",c)},s),a().createElement("div",{className:"jp-dashboard-footer__footer-left"},a().createElement(m.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack-my-jetpack")}),a().createElement("span",{className:"jp-dashboard-footer__module-name"},n)),a().createElement("div",{className:"jp-dashboard-footer__footer-right"},a().createElement("a",{href:t,"aria-label":__("An Automattic Airline","jetpack-my-jetpack")},a().createElement(u.Z,null))))};g.defaultProps={a8cLogoHref:"https://jetpack.com",moduleName:__("Jetpack","jetpack-my-jetpack"),className:""},g.propTypes={a8cLogoHref:d().string,moduleName:d().string,className:d().string};const h=g},1546:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var c=n(9183),o=n.n(c),s=n(7538),a=n.n(s),r=n(1268),i=n.n(r),l=n(9196),p=n.n(l),d=n(9105),u=n.n(d),m=n(5736);const __=m.__;class g extends p().Component{render(){const{logoColor:e,showText:t,className:n,...c}=this.props,s=t?"0 0 118 32":"0 0 32 32";return p().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:u()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},c),p().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-my-jetpack")),p().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&&p().createElement(l.Fragment,null,p().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"}),p().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"}),p().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"}),p().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"}),p().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"}),p().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"}),p().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"})))}}a()(g,"propTypes",{className:i().string,width:i().number,height:i().number,showText:i().bool,logoColor:i().string}),a()(g,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"});const h=g},134:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(9196),o=n.n(c),s=n(9105),a=n.n(s),r=n(1268),i=n.n(r),l=n(4555);const p=e=>{const{children:t,sm:n,md:c,lg:s}=e,r=Number.isInteger(n)?n:0,i=Number.isInteger(c)?c:0,p=Number.isInteger(s)?s:0,d=[r,i,p].reduce(((e,t)=>t>0&&t<e?t:e)),u=a()(r>0?l.Z["sm-col-span-"+r]:l.Z["sm-col-span-"+d],i>0?l.Z["md-col-span-"+i]:l.Z["md-col-span-"+d],p>0?l.Z["lg-col-span-"+p]:l.Z["lg-col-span-"+d]);return o().createElement("div",{className:u},t)};p.proptypes={sm:i().number,md:i().number,lg:i().number};const d=p},4191:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9196),o=n.n(c),s=n(8422);const a=e=>{const{children:t}=e;return o().createElement("div",{className:s.Z["jp-container"]},t)}},69:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9196),o=n.n(c),s=n(7941);const a=e=>{const{children:t}=e;return o().createElement("div",{className:s.Z["jp-row"]},t)}},1415:(e,t,n)=>{"use strict";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let c;if("undefined"!=typeof window&&(c=window.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);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),c&&(n.calypso_env=c);const o=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+o}n.d(t,{Z:()=>c})},6251:(e,t,n)=>{let c={};try{c=n(4462)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),c={missingConfig:!0}}const o=e=>c.hasOwnProperty(e);e.exports={jetpackConfigHas:o,jetpackConfigGet:e=>{if(!o(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 c[e]}}},9565:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),o=n(1268),s=n.n(o),a=n(9570);const r=e=>{const{redirectFunc:t,connectUrl:n,redirectUri:o,from:s}=e,[r,i]=(0,c.useState)(null);return n&&n!==r&&i(n),(0,c.useEffect)((()=>{r||a.ZP.fetchAuthorizationUrl(o).then((e=>i(e.authorizeUrl))).catch((e=>{throw e}))}),[]),r?(t(r+(s?(r.includes("?")?"&":"?")+"from="+encodeURIComponent(s):"")),null):null};r.propTypes={connectUrl:s().string,redirectUri:s().string.isRequired,from:s().string,redirectFunc:s().func},r.defaultProps={redirectFunc:e=>window.location.assign(e),redirectUri:null};const i=r},3593:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9196),o=n.n(c),s=n(1268),a=n.n(s),r=n(5736),i=n(2332);const __=r.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,s=(0,c.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&s.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-my-jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},s.map((e=>o().createElement(i.Z,{title:e.name}))))):null};l.PropTypes={connectedPlugins:a().object,disconnectingPlugin:a().string};const p=l},7132:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var c=n(9196),o=n.n(c),s=n(5736),a=n(5609),r=n(1268),i=n.n(r),l=n(9570),p=n(9818),d=n(9565),u=n(5628),m=n(2199),g=n(1631);n(404);const __=s.__,h=e=>{const{apiRoot:t,apiNonce:n,redirectUri:s,title:r,connectionInfoText:i,onDisconnected:h,connectedPlugins:f,connectedSiteId:k,context:_}=e,{isRegistered:y,isUserConnected:v}=(0,g.Z)({apiRoot:t,apiNonce:n}),[j,C]=(0,c.useState)(!1),[E,w]=(0,c.useState)({}),[b,S]=(0,c.useState)(!1),N=(0,p.useSelect)((e=>e(m.t).getUserIsConnecting()),[]),{setConnectionStatus:F,setUserIsConnecting:I}=(0,p.useDispatch)(m.t),Z=(0,c.useRef)();(0,c.useEffect)((()=>{l.ZP.setApiRoot(t),l.ZP.setApiNonce(n)}),[t,n]),(0,c.useEffect)((()=>{C(!0),l.ZP.fetchSiteConnectionData().then((e=>{C(!1),w(e.currentUser?.wpcomUser);const t=e.currentUser?.wpcomUser?.avatar;t&&(Z.current.style.backgroundImage=`url('${t}')`)})).catch((e=>{throw C(!1),e}))}),[C,w]);const O=(0,c.useCallback)((e=>{e&&e.preventDefault(),S(!0)}),[S]),R=(0,c.useCallback)((e=>{e&&e.preventDefault(),S(!1)}),[S]),P=(0,c.useCallback)((e=>{e&&e.preventDefault(),F({isActive:!1,isRegistered:!1,isUserConnected:!1}),h&&"[object Function]"==={}.toString.call(h)&&h()}),[h,F]);return y?o().createElement("div",{className:"jp-connection-status-card"},o().createElement("h3",null,r),o().createElement("p",null,i),o().createElement("div",{className:"jp-connection-status-card--status"},o().createElement("div",{className:"jp-connection-status-card--cloud"}),o().createElement("div",{className:"jp-connection-status-card--line"+(v?"":" jp-connection-status-card--site-only")}),o().createElement("div",{className:"jp-connection-status-card--jetpack-logo"}),o().createElement("div",{className:"jp-connection-status-card--avatar",ref:Z})),o().createElement("ul",{className:"jp-connection-status-card--list"},o().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Site connected.","jetpack-my-jetpack")," ",o().createElement(a.Button,{variant:"link",onClick:O,className:"jp-connection__disconnect-dialog__link"},__("Disconnect","jetpack-my-jetpack")),o().createElement(u.Z,{apiRoot:t,apiNonce:n,onDisconnected:P,connectedPlugins:f,connectedSiteId:k,connectedUser:E,isOpen:b,onClose:R,context:_})),v&&!j&&o().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Logged in as","jetpack-my-jetpack")," ",E?.display_name),!v&&!j&&o().createElement("li",{className:"jp-connection-status-card--list-item-error"},__("Your WordPress.com account is not connected.","jetpack-my-jetpack"))),!v&&!j&&o().createElement(a.Button,{isPrimary:!0,disabled:N,onClick:I,className:"jp-connection-status-card--btn-connect-user"},__("Connect your WordPress.com account","jetpack-my-jetpack")),N&&o().createElement(d.Z,{redirectUri:s})):null};h.propTypes={apiRoot:i().string.isRequired,apiNonce:i().string.isRequired,redirectUri:i().string.isRequired,connectedPlugins:i().object,connectedSiteId:i().number,title:i().string,connectionInfoText:i().string,onDisconnected:i().func,context:i().string},h.defaultProps={title:__("Connection","jetpack-my-jetpack"),connectionInfoText:__("Leverages the Jetpack Cloud for more features on your side.","jetpack-my-jetpack")};const f=h},2332:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),o=n.n(c),s=n(1268),a=n.n(s);n(1294);const r=e=>{const{title:t,value:n,description:c}=e;return o().createElement("div",{className:"jp-connection__disconnect-card card"},o().createElement("div",{className:"jp-connection__disconnect-card__card-content"},o().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||c)&&o().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},o().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),o().createElement("div",{className:"jp-connection__disconnect-card__card-description"},c))))};r.propTypes={title:a().string,value:a().string|a().number,description:a().number};const i=r},5628:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var c=n(9196),o=n.n(c),s=n(1268),a=n.n(s),r=n(5736),i=n(5609),l=n(9570),p=n(816),d=n(6251),u=(n(1545),n(163)),m=n(1496),g=n(4130),h=n(5700);const __=r.__,f=e=>{const[t,n]=(0,c.useState)(!1),[s,a]=(0,c.useState)(!1),[r,f]=(0,c.useState)(!1),[k,_]=(0,c.useState)(!1),[y,v]=(0,c.useState)(!1),[j,C]=(0,c.useState)(!1),{apiRoot:E,apiNonce:w,connectedPlugins:b,title:S,pluginScreenDisconnectCallback:N,onDisconnected:F,onError:I,disconnectStepComponent:Z,context:O,connectedUser:R,connectedSiteId:P,isOpen:x,onClose:U}=e;let T="";(0,d.jetpackConfigHas)("consumer_slug")&&(T=(0,d.jetpackConfigGet)("consumer_slug"));const A=(0,c.useMemo)((()=>({context:O,plugin:T})),[O,T]);(0,c.useEffect)((()=>{l.ZP.setApiRoot(E),l.ZP.setApiNonce(w)}),[E,w]),(0,c.useEffect)((()=>{R&&R.ID&&R.login&&p.Z.initialize(R.ID,R.login)}),[R,R.ID,R.login]),(0,c.useEffect)((()=>{x&&p.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",A)}),[x,A]),(0,c.useEffect)((()=>{x&&(s?!s||k||y?k&&!y?p.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},A)):y&&p.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},A)):p.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},A)):p.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},A)))}),[x,s,k,y,A]);const J=(0,c.useCallback)((()=>{l.ZP.disconnectSite().then((()=>{n(!1),a(!0)})).catch((e=>{n(!1),f(e),I&&I(e)}))}),[n,a,f,I]),z=(0,c.useCallback)(((e,t)=>{C(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);p.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),v(!0),C(!1)})).catch((e=>{p.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),v(!0),C(!1)}))}),[C,v]),D=(0,c.useCallback)((e=>{e&&e.preventDefault(),f(!1),n(!0),"plugins"!==O?J():N&&N(e)}),[f,n,N,O,J]),M=(0,c.useCallback)((()=>R.ID&&P),[R,P]),H=(0,c.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!M())return void v(!0);const c={site_id:P,user_id:R.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},o=Object.assign({},A,{disconnect_reason:e});z(c,o)}),[z,v,M,P,R,A]),L=(0,c.useCallback)((e=>{e&&e.preventDefault(),F&&F(),U()}),[F,U]),V=(0,c.useCallback)((e=>{e&&e.preventDefault(),_(!0)}),[_]);return o().createElement(o().Fragment,null,x&&o().createElement(i.Modal,{title:"",contentLabel:S,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:U,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(s?" jp-connection__disconnect-dialog__success":"")},s?!s||k||y?k&&!y?o().createElement(g.Z,{isSubmittingFeedback:j,onFeedBackProvided:H,onExit:L}):y?o().createElement(h.Z,{onExit:L}):void 0:o().createElement(m.Z,{canProvideFeedback:M(),onProvideFeedback:V,onExit:L}):o().createElement(u.Z,{title:S,connectedPlugins:b,disconnectStepComponent:Z,isDisconnecting:t,closeModal:U,onDisconnect:D,disconnectError:r,context:O,disconnectingPlugin:T})))};f.propTypes={apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,title:a().string,onDisconnected:a().func,onError:a().func,context:a().string,connectedPlugins:a().object,pluginScreenDisconnectCallback:a().func,disconnectStepComponent:a().element,connectedUser:a().object,connectedSiteId:a().number,isOpen:a().bool,onClose:a().func},f.defaultProps={title:__("Are you sure you want to disconnect?","jetpack-my-jetpack"),context:"jetpack-dashboard",connectedUser:{}};const k=f},1496:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9196),o=n.n(c),s=n(1268),a=n.n(s),r=n(9307),i=n(5736),l=n(5609),p=n(9697),d=n(2042);const __=i.__,u=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:c}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(p.Z,{icon:"unlink",imageUrl:d}),o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},o().createElement("h1",null,(0,r.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack-my-jetpack"),{br:o().createElement("br",null)})),n&&o().createElement(o().Fragment,null,o().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-my-jetpack")),o().createElement("p",null,o().createElement(l.Button,{isPrimary:!0,onClick:c,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-my-jetpack"))),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack-my-jetpack"))),!n&&o().createElement(o().Fragment,null,o().createElement("p",null,o().createElement(l.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))))};u.PropTypes={onExit:a().func,onProvideFeedback:a().func,canProvideFeedback:a().bool};const m=u},163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9196),o=n.n(c),s=n(9307),a=n(5736),r=n(1415),i=n(5609),l=n(1268),p=n.n(l),d=n(3593);const __=a.__,u=e=>{const{title:t,isDisconnecting:n,onDisconnect:c,disconnectError:a,disconnectStepComponent:l,connectedPlugins:p,disconnectingPlugin:u,closeModal:m,context:g}=e;return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),o().createElement(d.Z,{connectedPlugins:p,disconnectingPlugin:u}),l,(()=>{if(!p&&!l)return o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-my-jetpack"),o().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-my-jetpack")))})()),o().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},o().createElement("div",{className:"jp-row"},o().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},o().createElement("p",null,(0,s.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack-my-jetpack"),{strong:o().createElement("strong",null),jpConnectionInfoLink:o().createElement("a",{href:(0,r.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link"}),jpSupportLink:o().createElement("a",{href:(0,r.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link"})}))),o().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},o().createElement(i.Button,{isPrimary:!0,disabled:n,onClick:m,className:"jp-connection__disconnect-dialog__btn-dismiss"},__("Stay connected","jetpack-my-jetpack")),(()=>{let e=__("Disconnect","jetpack-my-jetpack");return n?e=__("Disconnecting…","jetpack-my-jetpack"):"plugins"===g&&(e=__("Disconnect and Deactivate","jetpack-my-jetpack")),o().createElement(i.Button,{isPrimary:!0,disabled:n,onClick:c,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),a&&o().createElement("p",{className:"jp-connection__disconnect-dialog__error"},a)))};u.propTypes={title:p().string,isDisconnecting:p().bool,onDisconnect:p().func,disconnectError:p().bool,disconnectStepComponent:p().elementType,connectedPlugins:p().array,disconnectingPlugin:p().string,closeModal:p().func,context:p().string};const m=u},4130:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9196),o=n.n(c),s=n(1268),a=n.n(s),r=n(5736),i=(n(843),n(1194));const __=r.__,l=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:c}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-my-jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-my-jetpack")),o().createElement(i.Z,{onSubmit:n,isSubmittingFeedback:c}),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack-my-jetpack")))};l.PropTypes={onExit:a().func,onFeedBackProvided:a().func,isSubmittingFeedback:a().bool};const p=l},5700:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9196),o=n.n(c),s=n(1268),a=n.n(s),r=n(9697),i=n(5736),l=n(5609),p=n(9307),d=n(724);const __=i.__,u=e=>{const{onExit:t}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(r.Z,{format:"vertical",imageUrl:d}),o().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},o().createElement("h1",null,__("Thank you!","jetpack-my-jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,p.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack-my-jetpack"),{br:o().createElement("br",null)})),o().createElement(l.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))};u.PropTypes={onExit:a().func,assetBaseUrl:a().string};const m=u},1194:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(9196),o=n.n(c),s=n(1268),a=n.n(s),r=n(5609),i=n(5736),l=n(7215);const __=i.__,p=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[s,a]=(0,c.useState)(),[i,p]=(0,c.useState)(),d=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-my-jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-my-jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-my-jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack-my-jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-my-jetpack")}],u="another-reason",m=(0,c.useCallback)((()=>{t(s,s===u?i:"")}),[t,u,i,s]),g=(0,c.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),p(t)}),[p]),h=e=>e===s?"jp-connect__disconnect-survey-card--selected":"",f=(0,c.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":a(e)}}),[a]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},d.map((e=>o().createElement(l.Z,{id:e.id,onClick:a,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+h(e.id)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),o().createElement(l.Z,{id:u,onClick:a,onKeyDown:f,className:"card jp-connect__disconnect-survey-card "+h(u)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-my-jetpack")," ",o().createElement("input",{placeholder:__("share your experience","jetpack-my-jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:i,onChange:g,maxLength:1e3})))),o().createElement("p",null,o().createElement(r.Button,{disabled:!s||n,isPrimary:!0,onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack-my-jetpack"):__("Submit Feedback","jetpack-my-jetpack",0))))};p.PropTypes={onSubmit:a().func,isSubmittingFeedback:a().bool};const d=p},7215:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(9196),o=n.n(c);n(843);const s=e=>{const{id:t,onClick:n,onKeyDown:s,children:a,className:r}=e,i=(0,c.useCallback)((()=>{n(t)}),[t,n]),l=(0,c.useCallback)((e=>{s(t,e)}),[t,s]);return o().createElement("div",{tabIndex:"0",role:"button",onClick:i,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+r},a)}},1631:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),o=n(9818),s=n(9570),a=n(2199);const r=e=>{let{registrationNonce:t,redirectUri:n,apiRoot:r,apiNonce:i,autoTrigger:l,from:p}=e;const{registerSite:d,connectUser:u}=(0,o.useDispatch)(a.t),m=(0,o.useSelect)((e=>e(a.t).getRegistrationError())),{siteIsRegistering:g,userIsConnecting:h,isRegistered:f,isUserConnected:k}=(0,o.useSelect)((e=>({siteIsRegistering:e(a.t).getSiteIsRegistering(),userIsConnecting:e(a.t).getUserIsConnecting(),...e(a.t).getConnectionStatus()}))),_=()=>u({from:p}),y=e=>{e&&e.preventDefault(),f?_():d({registrationNonce:t,redirectUri:n}).then((()=>{_()}))};return(0,c.useEffect)((()=>{s.ZP.setApiRoot(r),s.ZP.setApiNonce(i)}),[r,i]),(0,c.useEffect)((()=>{!l||g||h||y()}),[]),{handleRegisterSite:y,handleConnectUser:_,isRegistered:f,isUserConnected:k,siteIsRegistering:g,userIsConnecting:h,registrationError:m}}},6973:(e,t,n)=>{"use strict";n.d(t,{i6:()=>c,LI:()=>o,r7:()=>s,N4:()=>a,qV:()=>r,T1:()=>i,TS:()=>l,ZP:()=>k});const c="SET_CONNECTION_STATUS",o="SET_CONNECTION_STATUS_IS_FETCHING",s="SET_SITE_IS_REGISTERING",a="SET_USER_IS_CONNECTING",r="SET_REGISTRATION_ERROR",i="CLEAR_REGISTRATION_ERROR",l="SET_AUTHORIZATION_URL",p="CONNECT_USER",d=e=>({type:c,connectionStatus:e}),u=e=>({type:s,isRegistering:e}),m=e=>({type:a,isConnecting:e}),g=e=>({type:r,registrationError:e}),h=()=>({type:i}),f=e=>({type:l,authorizationUrl:e});const k={setConnectionStatus:d,setConnectionStatusIsFetching:e=>({type:o,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:u,setUserIsConnecting:m,setRegistrationError:g,clearRegistrationError:h,setAuthorizationUrl:f,registerSite:function*(e){let{registrationNonce:t,redirectUri:n}=e;yield h(),yield u(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield d({isRegistered:!0}),yield f(e.authorizeUrl),yield u(!1),Promise.resolve(e)}catch(e){return yield g(e),yield u(!1),Promise.reject(e)}},connectUser:function*(){let{from:e,redirectFunc:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield m(!0),yield{type:p,from:e,redirectFunc:t}}}},4213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9570),o=n(9818),s=n(2199);const a={FETCH_CONNECTION_STATUS:()=>new Promise(((e,t)=>{c.ZP.fetchSiteConnectionStatus().then((t=>e(t))).catch((e=>t(e)))})),FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return c.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return c.ZP.registerSite(t,n)},CONNECT_USER:(0,o.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((c,o)=>{t(s.t).getAuthorizationUrl().then((t=>{const o=n||(e=>window.location.assign(e)),s=new URL(t);e&&s.searchParams.set("from",encodeURIComponent(e));const a=s.toString();o(a),c(a)})).catch((e=>{o(e)}))}))}}))}},1147:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(9818),o=n(6973);const s=(0,c.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.i6?{...e,...t.connectionStatus}:e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case o.T1:return!1;case o.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===o.TS?t.authorizationUrl:e})},8310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9818),o=n(6973),s=n(2199);const a={...{*getConnectionStatus(){yield o.ZP.setConnectionStatusIsFetching(!0);const e=yield o.ZP.fetchConnectionStatus();return yield o.ZP.setConnectionStatusIsFetching(!1),o.ZP.setConnectionStatus(e)},getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];const r=(0,c.select)(s.t).hasFinishedResolution("getAuthorizationUrl",o);return t&&!r&&(0,c.dispatch)(s.t).finishResolution("getAuthorizationUrl",o),t},*fulfill(e){const t=yield o.ZP.fetchAuthorizationUrl(e);yield o.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},387:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:e=>e.connectionStatusIsFetching||!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1}},5333:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(7538),o=n.n(c),s=n(9818);class a{static mayBeInit(e,t){null===a.store&&(a.store=(0,s.createReduxStore)(e,t),(0,s.register)(a.store),a.resolveResolvers(e,t.initialState))}static resolveResolvers(e,t){t.connectionStatus&&t.connectionStatus.hasOwnProperty("isRegistered")&&(0,s.dispatch)(e).finishResolution("getConnectionStatus",[])}}o()(a,"store",null);const r=a},2199:(e,t,n)=>{"use strict";n.d(t,{t:()=>l});var c=n(1147),o=n(6973),s=n(387),a=n(5333),r=n(8310),i=n(4213);const l="jetpack-connection";a.Z.mayBeInit(l,{reducer:c.Z,actions:o.ZP,selectors:s.Z,resolvers:r.Z,controls:i.Z,initialState:window.JP_CONNECTION_INITIAL_STATE||{}})},1046:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9196),o=n.n(c),s=n(5736),a=n(8670),r=n(4502),i=n(69),l=n(134),p=n(6160),d=n(7132);n(3498);const __=s.__;function u(){const e=(0,c.useCallback)((()=>{window.location=myJetpackInitialState.topJetpackMenuItemUrl}),[]);return o().createElement("div",{className:"jp-my-jetpack-screen"},o().createElement(a.Z,null,o().createElement(r.Z,null,o().createElement(i.Z,null,o().createElement(l.Z,{lg:12,md:8,sm:4},o().createElement("h1",null,__("Manage your Jetpack plan and products all in one place","jetpack-my-jetpack"))))),o().createElement(p.Z,null,o().createElement(i.Z,null,o().createElement(l.Z,{lg:6,sm:4},o().createElement("h1",null,__("My Plan","jetpack-my-jetpack"))),o().createElement(l.Z,{lg:6,sm:4},o().createElement(d.Z,{apiRoot:myJetpackInitialState.apiRoot,apiNonce:myJetpackInitialState.apiNonce,redirectUri:myJetpackInitialState.redirectUri,onDisconnected:e}))))))}},2042:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},4462:e=>{"use strict";if(void 0==={consumer_slug:"my_jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"my_jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"my_jetpack"}},9196:e=>{"use strict";e.exports=window.React},1850:e=>{"use strict";e.exports=window.ReactDOM},2819:e=>{"use strict";e.exports=window.lodash},5609:e=>{"use strict";e.exports=window.wp.components},9818:e=>{"use strict";e.exports=window.wp.data},9307:e=>{"use strict";e.exports=window.wp.element},5736:e=>{"use strict";e.exports=window.wp.i18n},6483:e=>{"use strict";e.exports=window.wp.url}},t={};function n(c){var o=t[c];if(void 0!==o)return o.exports;var s=t[c]={exports:{}};return e[c](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var c=t.getElementsByTagName("script");c.length&&(e=c[c.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";var e=n(1850),t=n.n(e),c=n(9196),o=n.n(c),s=n(1046);!function(){const e=document.getElementById("my-jetpack-container");null!==e&&t().render(o().createElement(s.Z,null),e)}()})()})(); \ No newline at end of file
+(()=>{var e={9487:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});const c={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 r(e){return c[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:(e,t,n)=>{"use strict";n.d(t,{LR:()=>i});var c=n(9487),r=n(2003);function i(e,t,n={}){const i=(0,c.X)(t);if(!i||isNaN(e))return null;const{decimal:a,grouping:o,precision:s,symbol:l}={...i,...n},u=e<0?"-":"",p=Math.abs(e),d=Math.floor(p);return{sign:u,symbol:l,integer:(0,r.Z)(p,s,a,o).split(a)[0],fraction:s>0?(0,r.Z)(p-d,s,a,o).slice(1):""}}},2003:(e,t,n)=>{"use strict";function c(e,t=0,n=".",c=","){const r=(e+"").replace(/[^0-9+\-Ee.]/g,""),i=isFinite(+r)?+r:0,a=isFinite(+t)?Math.abs(t):0,o=(a?function(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,a):""+Math.round(i)).split(".");return o[0].length>3&&(o[0]=o[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(o[1]||"").length<a&&(o[1]=o[1]||"",o[1]+=new Array(a-o[1].length+1).join("0")),o.join(n)}n.d(t,{Z:()=>c})},8294:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},2402:e=>{function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},1074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307);const r=function(e){let{icon:t,size:n=24,...r}=e;return(0,c.cloneElement)(t,{width:n,height:n,...r})}},3259:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9307),r=n(444);const i=(0,c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(r.Path,{d:"M20 10.8H6.7l4.1-4.5-1.1-1.1-5.8 6.3 5.8 5.8 1.1-1.1-4-3.9H20z"}))},9201:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9307),r=n(444);const i=(0,c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},9517:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9307),r=n(444);const i=(0,c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(r.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))},5381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9307),r=n(444);const i=(0,c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(r.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}))},496:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9307),r=n(444);const i=(0,c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(r.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}))},1908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9307),r=n(444);const i=(0,c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(r.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}))},797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9307),r=n(444);const i=(0,c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,c.createElement)(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"}))},5235:(e,t)=>{var n;!function(){"use strict";var c={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var o in n)c.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},951:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let c=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(c++,"%c"===e&&(r=c))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1741)(t);const{formatters:c}=e.exports;c.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:(e,t,n)=>{e.exports=function(e){function t(e){let n,r,i,a=null;function o(...e){if(!o.enabled)return;const c=o,r=Number(new Date),i=r-(n||r);c.diff=i,c.prev=n,c.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";a++;const i=t.formatters[r];if("function"==typeof i){const t=e[a];n=i.call(c,t),e.splice(a,1),a--}return n})),t.formatArgs.call(c,e);(c.log||t.log).apply(c,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=c,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(r!==t.namespaces&&(r=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function c(e,n){const c=t(this.namespace+(void 0===n?":":n)+e);return c.log=this.log,c}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const c=("string"==typeof e?e:"").split(/[\s,]+/),r=c.length;for(n=0;n<r;n++)c[n]&&("-"===(e=c[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,c;for(n=0,c=t.skips.length;n<c;n++)if(t.skips[n].test(e))return!1;for(n=0,c=t.names.length;n<c;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(3171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},5250:(e,t,n)=>{"use strict";n.d(t,{Ep:()=>d,aU:()=>c,cP:()=>m,q_:()=>s});var c,r=n(255);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(c||(c={}));var i=function(e){return e};var a="beforeunload",o="popstate";function s(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,s=n.history;function g(){var e=m(n.location.hash.substr(1)),t=e.pathname,c=void 0===t?"/":t,r=e.search,a=void 0===r?"":r,o=e.hash,l=void 0===o?"":o,u=s.state||{};return[u.idx,i({pathname:c,search:a,hash:l,state:u.usr||null,key:u.key||"default"})]}var h=null;function y(){if(h)j.call(h),h=null;else{var e=c.Pop,t=g(),n=t[0],r=t[1];if(j.length){if(null!=n){var i=k-n;i&&(h={action:e,location:r,retry:function(){S(-1*i)}},S(i))}}else N(e)}}n.addEventListener(o,y),n.addEventListener("hashchange",(function(){d(g()[1])!==d(E)&&y()}));var v=c.Pop,f=g(),k=f[0],E=f[1],b=u(),j=u();function _(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var c=n.location.href,r=c.indexOf("#");t=-1===r?c:c.slice(0,r)}return t}()+"#"+("string"==typeof e?e:d(e))}function C(e,t){return void 0===t&&(t=null),i((0,r.Z)({pathname:E.pathname,hash:"",search:""},"string"==typeof e?m(e):e,{state:t,key:p()}))}function w(e,t){return[{usr:e.state,key:e.key,idx:t},_(e)]}function Z(e,t,n){return!j.length||(j.call({action:e,location:t,retry:n}),!1)}function N(e){v=e;var t=g();k=t[0],E=t[1],b.call({action:v,location:E})}function S(e){s.go(e)}null==k&&(k=0,s.replaceState((0,r.Z)({},s.state,{idx:k}),""));var P={get action(){return v},get location(){return E},createHref:_,push:function e(t,r){var i=c.Push,a=C(t,r);if(Z(i,a,(function(){e(t,r)}))){var o=w(a,k+1),l=o[0],u=o[1];try{s.pushState(l,"",u)}catch(e){n.location.assign(u)}N(i)}},replace:function e(t,n){var r=c.Replace,i=C(t,n);if(Z(r,i,(function(){e(t,n)}))){var a=w(i,k),o=a[0],l=a[1];s.replaceState(o,"",l),N(r)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(e){return b.push(e)},block:function(e){var t=j.push(e);return 1===j.length&&n.addEventListener(a,l),function(){t(),j.length||n.removeEventListener(a,l)}}};return P}function l(e){e.preventDefault(),e.returnValue=""}function u(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function p(){return Math.random().toString(36).substr(2,8)}function d(e){var t=e.pathname,n=void 0===t?"/":t,c=e.search,r=void 0===c?"":c,i=e.hash,a=void 0===i?"":i;return r&&"?"!==r&&(n+="?"===r.charAt(0)?r:"?"+r),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function m(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var c=e.indexOf("?");c>=0&&(t.search=e.substr(c),e=e.substr(0,c)),e&&(t.pathname=e)}return t}},9710:()=>{},1494:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},511:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={section:"cAbGtJDGgLubucBnz7vM"}},281:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},3466:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={button:"zI5tJ_qhWE6Oe6Lk75GY",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",small:"Na39I683LAaSA99REg14",regular:"lZAo6_oGfclXOO9CC6Rd",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},2404:()=>{},5612:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={iconWrapper:"sDAzdUdcbaYmUMZBe2XW","star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43"}},9054:()=>{},3080:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smCols:"4",mdCols:"8",lgCols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},8730:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},1683:()=>{},3280:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz",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"}},1510:()=>{},9610:()=>{},2427:()=>{},4220:()=>{},287:()=>{},9823:()=>{},6234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={icon:"rV_5QyvhDnsVjCX4pb0h",link:"MO1jDNY8VPqeNS9xL8jE"}},8578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"relative-col":"zvd4dCB_bBDiXJKKDqXm","close-link":"ly4o9lSswAGHFXqGUEIO","account-description":"u64Go3kwEZ7MD9eji0H1","account-images":"_RT41NE3LU4R0ubcij2y",wordpress:"cFGWJeRiGHjAr8D7CWJW",google:"Iz3l7a05TP6HK9S92TIL",apple:"lmQ0wFmnk4kKkGVjokPA","all-features":"AoIs8wD92wKR8RpQj6Uc"}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={icon:"hdasSNj9k3Sc5PwXK4uE",link:"eWN8Hj0SBRDq1F48n_Fg"}},1017:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={heading:"jErCC9oKHSM15BxzFyQK",notice:"oVoYbwbFB6U2o90Njusk",message:"wBVXH4OTNwLHPRpN4nsq"}},6891:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"wiobThfXJCuhGNrbFIT6","expire-date":"VgAxgahF9bC2M__FiIgV","actions-list-item":"Doju0RxvvN9JS12mf489"}},9720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"pIsYsXFAJ9KX2VrS5rmY","is-link":"YXHdD0VsFjiTsVRLrrx9","action-link-button":"ehgY0qp6bl53RaxP5rFF","has-error":"Pp9cMIaESLYelLOX3tkI",name:"w56ueQLYexqzTybA7015",description:"gmPKCDKZcfQt9WieTyKS",button:"ZKHHfl5DhA9kUnaL0qQZ",actions:"fDBaV7I4yUO6w5AWVEtr",status:"f5VJYwuJmjxH8PVxEbbv",active:"ry3pxoGtmQ0ZeSwp7F_3",inactive:"LZzE3EG7m3CDR46wwwEr",error:"Vx_jpT02r8W6NfsRSB02","is-fetching":"PdsJCfyyjSgrNDheF2qi","blink-animation":"dWP7ypkVXudMbAa38W5Z"}},8429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={card:"q0T8YyQxRawhpDtvJjxI",container:"B7JDqI_vtKxSy5GjvqA1","card-header":"zj7xadmhIWeuf7ZwvVTS","product-bundle-icon":"GsioW6IsC8EMYE3U6788","product-bundle-icons":"dbz07JqxOlivjKO4vBEF","product-icon":"cfEO8udWbRGPFJzW8Jg5","plus-icon":"zlh3zbjUe4Z8cBs7uVVe","product-has-required-plan":"qoZuzG5EcDa231hC6t0P","checkout-button":"Q6uUUQCPWS6_6nLxIn68","components-spinner":"YU4iBCRze09ZP3iCsdcb",features:"Q1jaYDpa2AVfJpA29wT0","price-container":"xgv3jRkeF39aEQELCwru",price:"twlleZ5Ehq4bB7CvKVSW","is-old":"Qg4rPEvXsqmod1s_31d8","price-description":"ApsgxIornVy_3KnciVeJ","supporting-info":"NMxcZL17aEP7v81uG3zD"}},1287:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"SWwV4Pw6OZ5vU3PqPXmr",imageContainer:"r7tUofa9Z3A5ziKVR1H7"}},5878:()=>{},3171:e=>{var t=1e3,n=60*t,c=60*n,r=24*c,i=7*r,a=365.25*r;function o(e,t,n,c){var r=t>=1.5*n;return Math.round(e/n)+" "+c+(r?"s":"")}e.exports=function(e,s){s=s||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var o=/^(-?(?:\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(!o)return;var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"weeks":case"week":case"w":return s*i;case"days":case"day":case"d":return s*r;case"hours":case"hour":case"hrs":case"hr":case"h":return s*c;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return s.long?function(e){var i=Math.abs(e);if(i>=r)return o(e,i,r,"day");if(i>=c)return o(e,i,c,"hour");if(i>=n)return o(e,i,n,"minute");if(i>=t)return o(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=r)return Math.round(e/r)+"d";if(i>=c)return Math.round(e/c)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=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))}},7556:(e,t,n)=>{"use strict";var c=n(3713);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==c){var o=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 o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},5844:(e,t,n)=>{e.exports=n(7556)()},3713:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},469:(e,t,n)=>{"use strict";var c=n(758);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==c){var o=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 o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},5162:(e,t,n)=>{e.exports=n(469)()},758:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},554:(e,t,n)=>{"use strict";n.d(t,{UT:()=>l,rU:()=>u});var c=n(9196),r=n(5250),i=n(5439);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},a.apply(this,arguments)}function o(e,t){if(null==e)return{};var n,c,r={},i=Object.keys(e);for(c=0;c<i.length;c++)n=i[c],t.indexOf(n)>=0||(r[n]=e[n]);return r}const s=["onClick","reloadDocument","replace","state","target","to"];function l(e){let{basename:t,children:n,window:a}=e,o=(0,c.useRef)();null==o.current&&(o.current=(0,r.q_)({window:a}));let s=o.current,[l,u]=(0,c.useState)({action:s.action,location:s.location});return(0,c.useLayoutEffect)((()=>s.listen(u)),[s]),(0,c.createElement)(i.F0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s})}const u=(0,c.forwardRef)((function(e,t){let{onClick:n,reloadDocument:l,replace:u=!1,state:p,target:d,to:m}=e,g=o(e,s),h=(0,i.oQ)(m),y=function(e,t){let{target:n,replace:a,state:o}=void 0===t?{}:t,s=(0,i.s0)(),l=(0,i.TH)(),u=(0,i.WU)(e);return(0,c.useCallback)((t=>{if(!(0!==t.button||n&&"_self"!==n||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t))){t.preventDefault();let n=!!a||(0,r.Ep)(l)===(0,r.Ep)(u);s(e,{replace:n,state:o})}}),[l,s,u,a,o,n,e])}(m,{replace:u,state:p,target:d});return(0,c.createElement)("a",a({},g,{href:h,onClick:function(e){n&&n(e),e.defaultPrevented||l||y(e)},ref:t,target:d}))}))},5439:(e,t,n)=>{"use strict";n.d(t,{AW:()=>l,F0:()=>u,TH:()=>g,WU:()=>y,Z5:()=>p,oQ:()=>d,s0:()=>h});var c=n(9196),r=n(5250);function i(e,t){if(!e)throw new Error(t)}const a=(0,c.createContext)(null);const o=(0,c.createContext)(null);const s=(0,c.createContext)({outlet:null,matches:[]});function l(e){i(!1)}function u(e){let{basename:t="/",children:n=null,location:s,navigationType:l=r.aU.Pop,navigator:u,static:p=!1}=e;m()&&i(!1);let d=S(t),g=(0,c.useMemo)((()=>({basename:d,navigator:u,static:p})),[d,u,p]);"string"==typeof s&&(s=(0,r.cP)(s));let{pathname:h="/",search:y="",hash:v="",state:f=null,key:k="default"}=s,E=(0,c.useMemo)((()=>{let e=Z(h,d);return null==e?null:{pathname:e,search:y,hash:v,state:f,key:k}}),[d,h,y,v,f,k]);return null==E?null:(0,c.createElement)(a.Provider,{value:g},(0,c.createElement)(o.Provider,{children:n,value:{location:E,navigationType:l}}))}function p(e){let{children:t,location:n}=e;return function(e,t){m()||i(!1);let{matches:n}=(0,c.useContext)(s),a=n[n.length-1],o=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;0;let u,p=g();if(t){var d;let e="string"==typeof t?(0,r.cP)(t):t;"/"===l||(null==(d=e.pathname)?void 0:d.startsWith(l))||i(!1),u=e}else u=p;let h=u.pathname||"/",y="/"===l?h:h.slice(l.length)||"/",v=function(e,t,n){void 0===n&&(n="/");let c=Z(("string"==typeof t?(0,r.cP)(t):t).pathname||"/",n);if(null==c)return null;let i=f(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e<i.length;++e)a=j(i[e],c);return a}(e,{pathname:y});0;return _(v&&v.map((e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:N([l,e.pathname]),pathnameBase:"/"===e.pathnameBase?l:N([l,e.pathnameBase])}))),n)}(v(t),n)}function d(e){m()||i(!1);let{basename:t,navigator:n}=(0,c.useContext)(a),{hash:o,pathname:s,search:l}=y(e),u=s;if("/"!==t){let n=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?(0,r.cP)(e).pathname:e.pathname}(e),c=null!=n&&n.endsWith("/");u="/"===s?t+(c?"/":""):N([t,s])}return n.createHref({pathname:u,search:l,hash:o})}function m(){return null!=(0,c.useContext)(o)}function g(){return m()||i(!1),(0,c.useContext)(o).location}function h(){m()||i(!1);let{basename:e,navigator:t}=(0,c.useContext)(a),{matches:n}=(0,c.useContext)(s),{pathname:r}=g(),o=JSON.stringify(n.map((e=>e.pathnameBase))),l=(0,c.useRef)(!1);return(0,c.useEffect)((()=>{l.current=!0})),(0,c.useCallback)((function(n,c){if(void 0===c&&(c={}),!l.current)return;if("number"==typeof n)return void t.go(n);let i=w(n,JSON.parse(o),r);"/"!==e&&(i.pathname=N([e,i.pathname])),(c.replace?t.replace:t.push)(i,c.state)}),[e,t,o,r])}function y(e){let{matches:t}=(0,c.useContext)(s),{pathname:n}=g(),r=JSON.stringify(t.map((e=>e.pathnameBase)));return(0,c.useMemo)((()=>w(e,JSON.parse(r),n)),[e,r,n])}function v(e){let t=[];return c.Children.forEach(e,(e=>{if(!(0,c.isValidElement)(e))return;if(e.type===c.Fragment)return void t.push.apply(t,v(e.props.children));e.type!==l&&i(!1);let n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=v(e.props.children)),t.push(n)})),t}function f(e,t,n,c){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===c&&(c=""),e.forEach(((e,r)=>{let a={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};a.relativePath.startsWith("/")&&(a.relativePath.startsWith(c)||i(!1),a.relativePath=a.relativePath.slice(c.length));let o=N([c,a.relativePath]),s=n.concat(a);e.children&&e.children.length>0&&(!0===e.index&&i(!1),f(e.children,t,s,o)),(null!=e.path||e.index)&&t.push({path:o,score:b(o,e.index),routesMeta:s})})),t}const k=/^:\w+$/,E=e=>"*"===e;function b(e,t){let n=e.split("/"),c=n.length;return n.some(E)&&(c+=-2),t&&(c+=2),n.filter((e=>!E(e))).reduce(((e,t)=>e+(k.test(t)?3:""===t?1:10)),c)}function j(e,t){let{routesMeta:n}=e,c={},r="/",i=[];for(let e=0;e<n.length;++e){let a=n[e],o=e===n.length-1,s="/"===r?t:t.slice(r.length)||"/",l=C({path:a.relativePath,caseSensitive:a.caseSensitive,end:o},s);if(!l)return null;Object.assign(c,l.params);let u=a.route;i.push({params:c,pathname:N([r,l.pathname]),pathnameBase:S(N([r,l.pathnameBase])),route:u}),"/"!==l.pathnameBase&&(r=N([r,l.pathnameBase]))}return i}function _(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight(((n,r,i)=>(0,c.createElement)(s.Provider,{children:void 0!==r.route.element?r.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,i+1))}})),null)}function C(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,c]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);let c=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,((e,t)=>(c.push(t),"([^\\/]+)")));e.endsWith("*")?(c.push("*"),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)";return[new RegExp(r,t?void 0:"i"),c]}(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let i=r[0],a=i.replace(/(.)\/+$/,"$1"),o=r.slice(1);return{params:c.reduce(((e,t,n)=>{if("*"===t){let e=o[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(o[n]||""),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function w(e,t,n){let c,i="string"==typeof e?(0,r.cP)(e):e,a=""===e||""===i.pathname?"/":i.pathname;if(null==a)c=n;else{let e=t.length-1;if(a.startsWith("..")){let t=a.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}c=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:n,search:c="",hash:i=""}="string"==typeof e?(0,r.cP)(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:P(c),hash:R(i)}}(i,c);return a&&"/"!==a&&a.endsWith("/")&&!o.pathname.endsWith("/")&&(o.pathname+="/"),o}function Z(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}const N=e=>e.join("/").replace(/\/\/+/g,"/"),S=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),P=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",R=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(951),r=n.n(c),i=n(2819);const a=r()("dops:analytics");let o,s;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(e,t,n){l.setUser(e,t),l.setSuperProps(n),l.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=(0,i.assign)(o,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);l.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);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){l.tracks.recordPageView(e),l.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,c,r,i,a){l.ga.recordPurchase(e,t,n,c,r,i,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(a("- Super Props: %o",o),t=(0,i.assign)(t,o)),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};l.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){l.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={};l.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),l.ga.initialized=!0)},recordPageView:function(e,t){l.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,c){l.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==c&&(r+=" [Option Value: "+c+"]"),a(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,c)},recordPurchase:function(e,t,n,c,r,i,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:c,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:r,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},u=l},4743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});var c=n(2819),r=n(6483),i=n(1132);function a(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const o=a("JsonParseError"),s=a("JsonParseAfterRedirectError"),l=a("Api404Error"),u=a("Api404AfterRedirectError"),p=a("FetchNetworkError");const d=new function(e,t){let n=e,a={"X-WP-Nonce":t},o={credentials:"same-origin",headers:a},s={method:"post",credentials:"same-origin",headers:(0,c.assign)({},a,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",c=n.length?n.split("&"):[];return c.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+c.join("&")};const u={setApiRoot(e){n=e},setApiNonce(e){a={"X-WP-Nonce":e},o={credentials:"same-origin",headers:a},s={method:"post",credentials:"same-origin",headers:(0,c.assign)({},a,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const c={registration_nonce:e,no_iframe:!0};return(0,i.jetpackConfigHas)("consumer_slug")&&(c.plugin_slug=(0,i.jetpackConfigGet)("consumer_slug")),null!==t&&(c.redirect_uri=t),d(`${n}jetpack/v4/connection/register`,s,{body:JSON.stringify(c)}).then(m).then(g)},fetchAuthorizationUrl:e=>p((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(m).then(g),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,o).then(g),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,o).then(g),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,o).then(m).then(g),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,o).then(g),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,o).then(m).then(g),updateUserTrackingSettings:e=>d(`${n}jetpack/v4/tracking/settings`,s,{body:JSON.stringify(e)}).then(m).then(g),disconnectSite:()=>d(`${n}jetpack/v4/connection`,s,{body:JSON.stringify({isActive:!1})}).then(m).then(g),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,o).then(m).then(g),unlinkUser:()=>d(`${n}jetpack/v4/connection/user`,s,{body:JSON.stringify({linked:!1})}).then(m).then(g),reconnect:()=>d(`${n}jetpack/v4/connection/reconnect`,s).then(m).then(g),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,o).then(m).then(g),setHasSeenWCConnectionModal:()=>d(`${n}jetpack/v4/seen-wc-connection-modal`,s).then(m).then(g),fetchModules:()=>p(`${n}jetpack/v4/module/all`,o).then(m).then(g),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,o).then(m).then(g),activateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!0})}).then(m).then(g),deactivateModule:e=>d(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>d(`${n}jetpack/v4/module/${e}`,s,{body:JSON.stringify(t)}).then(m).then(g),updateSettings:e=>d(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(m).then(g),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,o).then(m).then(g),resetOptions:e=>d(`${n}jetpack/v4/options/${e}`,s,{body:JSON.stringify({reset:!0})}).then(m).then(g),activateVaultPress:()=>d(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(g),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,o).then(m).then(g),installPlugin:(e,t)=>{const c={slug:e,status:"active"};return t&&(c.source=t),d(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify(c)}).then(m).then(g)},activateAkismet:()=>d(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(g),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,o).then(m).then(g),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,o).then(m).then(g),checkAkismetKeyTyped:e=>d(`${n}jetpack/v4/module/akismet/key/check`,s,{body:JSON.stringify({api_key:e})}).then(m).then(g),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),o).then(m).then(g).then(h),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,o).then(m).then(g),getPlans:()=>p(`${n}jetpack/v4/plans`,o).then(m).then(g),fetchSettings:()=>p(`${n}jetpack/v4/settings`,o).then(m).then(g),updateSetting:e=>d(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(m).then(g),fetchSiteData:()=>p(`${n}jetpack/v4/site`,o).then(m).then(g).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,o).then(m).then(g).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,o).then(m).then(g),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,o).then(m).then(g).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,o).then(m).then(g).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>p(`${n}jetpack/v4/site/discount`,o).then(m).then(g).then((e=>e.data)),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,o).then(m).then(g),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,o).then(m).then(g),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,o).then(m).then(g),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,o).then(m).then(g),fetchRecommendationsConditional:()=>p(`${n}jetpack/v4/recommendations/conditional`,o).then(m).then(g),saveRecommendationsData:e=>d(`${n}jetpack/v4/recommendations/data`,s,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>p(`${n}jetpack/v4/products`,o).then(m).then(g),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,o).then(m).then(g).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,o).then(m).then(g).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>d(`${n}jetpack/v4/notice/${e}`,s,{body:JSON.stringify({dismissed:!0})}).then(m).then(g),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,o).then(m).then(g),fetchIntroOffers:()=>p(`${n}jetpack/v4/intro-offers`,o).then(m).then(g),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,o).then(m).then(g),verifySiteGoogle:e=>d(`${n}jetpack/v4/verify-site/google`,s,{body:JSON.stringify({keyring_id:e})}).then(m).then(g),sendMobileLoginEmail:()=>d(`${n}jetpack/v4/mobile/send-login-email`,s).then(m).then(g),submitSurvey:e=>d(`${n}jetpack/v4/marketing/survey`,s,{body:JSON.stringify(e)}).then(m).then(g),saveSetupQuestionnaire:e=>d(`${n}jetpack/v4/setup/questionnaire`,s,{body:JSON.stringify(e)}).then(m).then(g),updateLicensingError:e=>d(`${n}jetpack/v4/licensing/error`,s,{body:JSON.stringify(e)}).then(m).then(g),updateLicenseKey:e=>d(`${n}jetpack/v4/licensing/set-license`,s,{body:JSON.stringify({license:e})}).then(m).then(g),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,o).then(m).then(g),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,o).then(m).then(g),updateLicensingActivationNoticeDismiss:e=>d(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,s,{body:JSON.stringify({last_detached_count:e})}).then(m).then(g),updateRecommendationsStep:e=>d(`${n}jetpack/v4/recommendations/step`,s,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>d(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,s).then(m),startIDCFresh:e=>d(`${n}jetpack/v4/identity-crisis/start-fresh`,s,{body:JSON.stringify({redirect_uri:e})}).then(m).then(g),migrateIDC:()=>d(`${n}jetpack/v4/identity-crisis/migrate`,s).then(m),attachLicenses:e=>d(`${n}jetpack/v4/licensing/attach-licenses`,s,{body:JSON.stringify({licenses:e})}).then(m).then(g),fetchSearchPlanInfo:()=>p(`${n}jetpack/v4/search/plan`,o).then(m).then(g),fetchSearchSettings:()=>p(`${n}jetpack/v4/search/settings`,o).then(m).then(g),updateSearchSettings:e=>d(`${n}jetpack/v4/search/settings`,s,{body:JSON.stringify(e)}).then(m).then(g),fetchSearchStats:()=>p(`${n}jetpack/v4/search/stats`,o).then(m).then(g),fetchWafSettings:()=>p(`${n}jetpack/v4/waf`,o).then(m).then(g),fetchWordAdsSettings:()=>p(`${n}jetpack/v4/wordads/settings`,o).then(m).then(g),updateWordAdsSettings:e=>d(`${n}jetpack/v4/wordads/settings`,s,{body:JSON.stringify(e)}),fetchSearchPricing:()=>p(`${n}jetpack/v4/search/pricing`,o).then(m).then(g)};function p(e,t){return fetch(l(e),t)}function d(e,t,n){return fetch(e,(0,c.assign)({},t,n)).catch(y)}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:{}}(0,c.assign)(this,u)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new l})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function g(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new s(n):new o}function y(){throw new p}},7121:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9196),r=n.n(c),i=n(5736),a=n(5609),o=n(5162),s=n.n(o);n(9710);const __=i.__,l=e=>{const{label:t,onClick:n,isLoading:c,displayError:i,errorMessage:o}=e;return r().createElement("div",{className:"jp-action-button"},r().createElement(a.Button,{className:"jp-action-button--button",label:t,onClick:n,variant:"primary",disabled:c},c?r().createElement(a.Spinner,null):t),i&&r().createElement("p",{className:"jp-action-button__error"},o))};l.propTypes={label:s().string.isRequired,onClick:s().func,isLoading:s().bool,displayError:s().bool,errorMessage:s().string},l.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack-my-jetpack")};const u=l},1163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var c=n(9196),r=n.n(c),i=n(5736),a=n(5162),o=n.n(a),s=n(5235),l=n.n(s),u=n(1494),p=n(2392),d=n(1202),m=n(8218),g=n(2939);const __=i.__,h=e=>{const{children:t,moduleName:n,moduleNameHref:c,a8cLogoHref:i,showHeader:a,showFooter:o,showBackground:s,header:h}=e,y=l()(u.Z["admin-page"],{[u.Z.background]:s});return r().createElement("div",{className:y},a&&r().createElement(m.Z,{horizontalSpacing:5},r().createElement(g.Z,null,h||r().createElement(d.Z,null))),r().createElement(m.Z,{fluid:!0,horizontalSpacing:0},r().createElement(g.Z,null,t)),o&&r().createElement(m.Z,{horizontalSpacing:5},r().createElement(g.Z,null,r().createElement(p.Z,{moduleName:n,a8cLogoHref:i,moduleNameHref:c}))))};h.defaultProps={moduleName:__("Jetpack","jetpack-my-jetpack"),showHeader:!0,header:null,showFooter:!0,showBackground:!0},h.propTypes={a8cLogoHref:o().string,moduleName:o().string,showHeader:o().bool,header:o().node,showFooter:o().bool,moduleNameHref:o().string,showBackground:o().bool};const y=h},8038:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9196),r=n.n(c),i=n(511);const a=e=>{const{children:t}=e;return r().createElement("div",{className:i.Z.section},t)}},3244:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9196),r=n.n(c),i=n(281);const a=e=>{const{children:t}=e;return r().createElement("div",{className:i.Z["section-hero"]},t)}},207:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(2402),r=n.n(c),i=n(9196),a=n.n(i),o=n(5235),s=n.n(o),l=n(5736),u=n(5162),p=n.n(u);const __=l.__,d=e=>{const{title:t,height:n,className:c,...i}=e;return a().createElement("svg",r()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:s()("jp-automattic-byline-logo",c)},i),a().createElement("title",{id:"jp-automattic-byline-logo-title"},t),a().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),a().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),a().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))};d.defaultProps={title:__("An Automattic Airline","jetpack-my-jetpack"),height:7,className:""},d.propTypes={title:p().string,height:p().number,className:p().string};const m=d},526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(2402),r=n.n(c),i=n(5609),a=n(1074),o=n(5381),s=n(5235),l=n.n(s),u=n(3466);const p=e=>{let{children:t,variant:n="primary",size:c="normal",weight:s="bold",icon:p,iconSize:d,disabled:m,isDestructive:g,isLoading:h,isExternalLink:y,className:v,text:f,...k}=e;const E=l()(u.Z.button,v,{[u.Z.normal]:"normal"===c,[u.Z.small]:"small"===c,[u.Z.icon]:Boolean(p),[u.Z.loading]:h,[u.Z.regular]:"regular"===s}),b="normal"===c?20:16,j=y&&React.createElement(a.Z,{size:b,icon:o.Z,className:u.Z["external-icon"]}),_=y?"_blank":void 0;return React.createElement(i.Button,r()({target:_,variant:n,className:E,icon:y?void 0:p,iconSize:d,disabled:m,isDestructive:g,text:f},k),h&&React.createElement(i.Spinner,null),React.createElement("span",null,t),j)}},1133:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i);n(2404);const o=e=>{const{format:t,icon:n,imageUrl:c}=e;return r().createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},r().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:c?`url( ${c} )`:""}}),r().createElement("div",{className:"jp-components__decorative-card__content"},r().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(n)return r().createElement("div",{className:"jp-components__decorative-card__icon-container"},r().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n}))})())};o.propTypes={format:a().oneOf(["horizontal","vertical"]),icon:a().oneOf(["unlink"]),imageUrl:a().string},o.defaultProps={format:"horizontal"};const s=o},1020:(e,t,n)=>{"use strict";n.d(t,{KM:()=>m,VS:()=>y,r7:()=>d});var c=n(2402),r=n.n(c),i=n(5235),a=n.n(i),o=n(9196),s=n.n(o),l=n(5609),u=n(5612);function p(e){let{className:t,size:n=24,viewBox:c="0 0 24 24",opacity:i=1,color:o,children:p}=e;const d={className:a()(u.Z.iconWrapper,t),width:n,height:n,viewBox:c,opacity:i};return o&&(d.fill=o),s().createElement(l.SVG,r()({},d,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),s().createElement(l.G,{opacity:i},p))}const d=e=>{let{size:t,className:n=u.Z["star-icon"]}=e;return s().createElement(p,{className:n,size:t},s().createElement(l.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"}))},m=e=>{let{size:t,className:n=u.Z["checkmark-icon"]}=e;return s().createElement(p,{className:n,size:t},s().createElement(l.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"}))};function g(e){let{className:t,fill:n="none",size:c,children:r}=e;return s().createElement(p,{className:a()(u.Z.socialIcon,t),size:c,fill:n},r)}const h={"anti-spam":e=>{let{opacity:t=1,size:n}=e;return s().createElement(p,{size:n,opacity:t},s().createElement(l.Path,{d:"m8.455 21.207 8-17.5-.91-.416-1.261 2.76A4.979 4.979 0 0 0 12 5.5c-1.062 0-2.046.33-2.855.895L7.19 4.44 6.13 5.5l1.926 1.927A4.975 4.975 0 0 0 7.025 10H5v1.5h2V13H5v1.5h2.1a5.001 5.001 0 0 0 1.937 3.028L7.545 20.79l.91.416ZM9.68 16.12A3.492 3.492 0 0 1 8.5 13.5v-3a3.5 3.5 0 0 1 5.159-3.083L9.68 16.121Zm5.675-6.62.81-1.77c.44.663.728 1.436.81 2.269H19v1.5h-2V13h2v1.5h-2.1a5.002 5.002 0 0 1-5.634 3.947l.662-1.448L12 17a3.5 3.5 0 0 0 3.5-3.5v-3a3.5 3.5 0 0 0-.145-.998Z"}))},backup:e=>{let{opacity:t=1,size:n}=e;return s().createElement(p,{size:n,opacity:t},s().createElement(l.Path,{d:"m15.82 11.373.013-1.277v-.03c0-1.48-1.352-2.9-3.3-2.9-1.627 0-2.87 1.015-3.205 2.208l-.32 1.143-1.186-.048a2.192 2.192 0 0 0-.089-.002c-1.19 0-2.233 1.008-2.233 2.35 0 1.34 1.04 2.348 2.23 2.35H16.8c.895 0 1.7-.762 1.7-1.8 0-.927-.649-1.643-1.423-1.777l-1.258-.217ZM7.883 8.97l-.15-.003C5.67 8.967 4 10.69 4 12.817c0 2.126 1.671 3.85 3.733 3.85H16.8c1.767 0 3.2-1.478 3.2-3.3 0-1.635-1.154-2.993-2.667-3.255v-.045c0-2.43-2.149-4.4-4.8-4.4-2.237 0-4.118 1.403-4.65 3.303Z",fill:"#000"}))},boost:e=>{let{opacity:t=1,size:n}=e;return s().createElement(p,{size:n,opacity:t},s().createElement(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"}))},crm:e=>{let{opacity:t=1,size:n}=e;return s().createElement(p,{size:n,opacity:t},s().createElement(l.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.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 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"}))},extras:e=>{let{opacity:t=1,size:n}=e;return s().createElement(p,{size:n,opacity:t},s().createElement(l.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"}))},protect:e=>{let{opacity:t=1,size:n,className:c}=e;return s().createElement(p,{className:c,size:n,opacity:t},s().createElement(l.Path,{d:"M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z"}),s().createElement(l.Path,{d:"M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z"}))},scan:e=>{let{opacity:t=1,size:n}=e;return s().createElement(p,{size:n,opacity:t},s().createElement(l.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"}))},search:e=>{let{opacity:t=1,size:n}=e;return s().createElement(p,{size:n,opacity:t},s().createElement(l.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},social:e=>{let{opacity:t=1,size:n}=e;return s().createElement(p,{size:n,opacity:t},s().createElement(l.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"}))},star:d,videopress:e=>{let{opacity:t=1,size:n}=e;return s().createElement(p,{size:n,opacity:t},s().createElement(l.Path,{d:"M5.286 4.5h13.428c.434 0 .786.352.786.786v13.428a.786.786 0 0 1-.786.786H5.286a.786.786 0 0 1-.786-.786V5.286c0-.434.352-.786.786-.786ZM3 5.286A2.286 2.286 0 0 1 5.286 3h13.428A2.286 2.286 0 0 1 21 5.286v13.428A2.286 2.286 0 0 1 18.714 21H5.286A2.286 2.286 0 0 1 3 18.714V5.286ZM15 12l-5-3v6l5-3Z"}))},jetpack:e=>{let{size:t,className:n=u.Z.jetpack}=e;return s().createElement(p,{className:n,size:t,viewBox:"0 0 32 32"},s().createElement(l.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),s().createElement(l.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),s().createElement(l.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"}))},facebook:e=>{let{fill:t,size:n,className:c}=e;return s().createElement(g,{fill:t,size:n,className:a()(u.Z.facebook,c)},s().createElement(l.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.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))},twitter:e=>{let{fill:t,size:n,className:c}=e;return s().createElement(g,{fill:t,size:n,className:a()(u.Z.twitter,c)},s().createElement(l.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))},linkedin:e=>{let{fill:t,size:n,className:c}=e;return s().createElement(g,{fill:t,size:n,className:a()(u.Z.linkedin,c)},s().createElement(l.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))},tumblr:e=>{let{fill:t,size:n,className:c}=e;return s().createElement(g,{fill:t,size:n,className:a()(u.Z.tumblr,c)},s().createElement(l.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},google:e=>{let{fill:t,size:n,className:c}=e;return s().createElement(g,{fill:t,size:n,className:a()(u.Z.google,c)},s().createElement(l.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.05h-9.36z"}))}};function y(e){return h[e]?h[e]:null}},2392:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var c=n(2402),r=n.n(c),i=n(9196),a=n.n(i),o=n(5736),s=n(5235),l=n.n(s),u=n(5162),p=n.n(u),d=n(207),m=(n(9054),n(1202));const __=o.__,g=e=>{const{a8cLogoHref:t,moduleName:n,className:c,moduleNameHref:i,...o}=e;return a().createElement("div",r()({className:l()("jp-dashboard-footer",c)},o),a().createElement("div",{className:"jp-dashboard-footer__footer-left"},a().createElement(m.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack-my-jetpack")}),a().createElement("span",{className:"jp-dashboard-footer__module-name"},i?a().createElement("a",{href:i,"aria-label":n},n):n)),a().createElement("div",{className:"jp-dashboard-footer__footer-right"},a().createElement("a",{href:t,"aria-label":__("An Automattic Airline","jetpack-my-jetpack")},a().createElement(d.Z,null))))};g.defaultProps={a8cLogoHref:"https://automattic.com",moduleName:__("Jetpack","jetpack-my-jetpack"),className:"",moduleNameHref:"https://jetpack.com"},g.propTypes={a8cLogoHref:p().string,moduleName:p().string,className:p().string,moduleNameHref:p().string};const h=g},1202:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var c=n(2402),r=n.n(c),i=n(8294),a=n.n(i),o=n(5162),s=n.n(o),l=n(9196),u=n.n(l),p=n(5235),d=n.n(p),m=n(5736);const __=m.__;class g extends u().Component{render(){const{logoColor:e,showText:t,className:n,...c}=this.props,i=t?"0 0 118 32":"0 0 32 32";return u().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},c),u().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-my-jetpack")),u().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&&u().createElement(l.Fragment,null,u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"}),u().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"})))}}a()(g,"propTypes",{className:s().string,width:s().number,height:s().number,showText:s().bool,logoColor:s().string}),a()(g,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"});const h=g},2939:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(9196),r=n.n(c),i=n(5235),a=n.n(i),o=n(5162),s=n.n(o),l=n(3080);const u=Number(l.Z.smCols),p=Number(l.Z.mdCols),d=Number(l.Z.lgCols),m=e=>{var t,n,c,i,o,s;const{children:m,className:g}=e,h=Math.min(u,(null==e?void 0:e.sm)??u),y=Math.min(u,(null==e||null===(t=e.sm)||void 0===t?void 0:t.start)??0),v=Math.min(u,(null==e||null===(n=e.sm)||void 0===n?void 0:n.end)??0),f=Math.min(p,(null==e?void 0:e.md)??p),k=Math.min(p,(null==e||null===(c=e.md)||void 0===c?void 0:c.start)??0),E=Math.min(p,(null==e||null===(i=e.md)||void 0===i?void 0:i.end)??0),b=Math.min(d,(null==e?void 0:e.lg)??d),j=Math.min(d,(null==e||null===(o=e.lg)||void 0===o?void 0:o.start)??0),_=Math.min(d,(null==e||null===(s=e.lg)||void 0===s?void 0:s.end)??0),C=a()(g,{[l.Z[`col-sm-${h}`]]:!(y&&v),[l.Z[`col-sm-${y}-start`]]:y>0,[l.Z[`col-sm-${v}-end`]]:v>0,[l.Z[`col-md-${f}`]]:!(k&&E),[l.Z[`col-md-${k}-start`]]:k>0,[l.Z[`col-md-${E}-end`]]:E>0,[l.Z[`col-lg-${b}`]]:!(j&&_),[l.Z[`col-lg-${j}-start`]]:j>0,[l.Z[`col-lg-${_}-end`]]:_>0});return r().createElement("div",{className:C},m)};m.proptypes={className:s().string,sm:s().oneOfType([s().number,s().shape({start:s().number,end:s().number})]),md:s().oneOfType([s().number,s().shape({start:s().number,end:s().number})]),lg:s().oneOfType([s().number,s().shape({start:s().number,end:s().number})]),children:s().node};const g=m},8218:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9196),r=n.n(c),i=n(5235),a=n.n(i),o=n(5162),s=n.n(o),l=n(8730);const u=e=>{const{children:t,fluid:n,className:c}=e,i=`calc( var(--horizontal-spacing) * ${e.horizontalSpacing} )`,o={paddingTop:i,paddingBottom:i,rowGap:`calc( var(--horizontal-spacing) * ${e.horizontalGap} )`},s=a()(c,l.Z.container,{[l.Z.fluid]:n});return r().createElement("div",{className:s,style:o},t)};u.propTypes={fluid:s().bool,className:s().string,horizontalSpacing:s().number,horizontalGap:s().number,children:s().node},u.defaultProps={fluid:!1,horizontalGap:1,horizontalSpacing:1};const p=u},5033:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i);n(1683);const o=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},c={borderTopColor:e.color,borderRightColor:e.color};return r().createElement("div",{className:t},r().createElement("div",{className:"jp-components-spinner__outer",style:n},r().createElement("div",{className:"jp-components-spinner__inner",style:c})))};o.propTypes={color:a().string,className:a().string,size:a().number},o.defaultProps={color:"#FFFFFF",className:"",size:20};const s=o},6017:(e,t,n)=>{"use strict";n.d(t,{h:()=>c,s:()=>r});const c={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p",label:"p"},r=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:(e,t,n)=>{"use strict";n.d(t,{Dx:()=>g,H3:()=>m,ZP:()=>d});var c=n(2402),r=n.n(c),i=n(9196),a=n.n(i),o=n(5235),s=n.n(o),l=n(3280),u=n(6017);const p=e=>{let{variant:t="body",children:n,component:c,className:o,...p}=e;const d=c||u.h[t]||"span",m=(0,i.useMemo)((()=>u.s.reduce(((e,t)=>(void 0!==p[t]&&(e+=l.Z[`${t}-${p[t]}`]+" ",delete p[t]),e)),"")),[p]);return a().createElement(d,r()({className:s()(l.Z.reset,l.Z[t],o,m)},p),n)},d=p,m=e=>{let{children:t,weight:n="bold",...c}=e;const i="headline-small"+("bold"===n?"":`-${n}`);return a().createElement(p,r()({variant:i,mb:3},c),t)},g=e=>{let{children:t,size:n="medium",...c}=e;return a().createElement(p,r()({variant:`title-${n}`,mb:1},c),t)}},6016:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var c=n(9196),r=n.n(c);const i={"--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)"},a={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-80":"#2C3338","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-20":"#F0C930","--jp-yellow-40":"#C08C00","--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 )"},o={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},s={"--spacing-base":"8px"},l={},u=(e,t)=>{const n={...i,...a,...o,...s};for(const t in n)e.style.setProperty(t,n[t]);t&&(l[t]={provided:!0,root:e})},p=e=>{var t;let{children:n=null,targetDom:i,id:a}=e;const o=(0,c.useRef)(),s=null==l||null===(t=l[a])||void 0===t?void 0:t.provided;return(0,c.useLayoutEffect)((()=>{if(!s)return i?u(i,a):void(null!=o&&o.current&&u(o.current,a))}),[i,o,s,a]),i?n:r().createElement("div",{ref:o},n)}},6324:(e,t,n)=>{"use strict";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let c;var r;"undefined"!=typeof window&&(c=null===(r=window.Initial_State)||void 0===r?void 0:r.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),c&&(n.calypso_env=c);const i=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+i}n.d(t,{Z:()=>c})},1132:(e,t,n)=>{let c={};try{c=n(4462)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),c={missingConfig:!0}}const r=e=>c.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 c[e]}}},9312:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5736),s=n(1624),l=n(1294);const __=o.__,u=e=>{const{title:t,buttonLabel:n,apiRoot:c,apiNonce:i,registrationNonce:a,from:o,redirectUri:u,images:p,children:d,assetBaseUrl:m,autoTrigger:g,footer:h,skipUserConnection:y}=e,{handleRegisterSite:v,isRegistered:f,isUserConnected:k,siteIsRegistering:E,userIsConnecting:b,registrationError:j}=(0,l.Z)({registrationNonce:a,redirectUri:u,apiRoot:c,apiNonce:i,autoTrigger:g,from:o,skipUserConnection:y}),_=!f||!k,C=Boolean(j),w=E||b;return r().createElement(s.Z,{title:t,images:p,assetBaseUrl:m,showConnectButton:_,buttonLabel:n,handleButtonClick:v,displayButtonError:C,buttonIsLoading:w,footer:h},d)};u.propTypes={title:a().string,buttonLabel:a().string,apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,registrationNonce:a().string.isRequired,from:a().string,redirectUri:a().string.isRequired,autoTrigger:a().bool,images:a().arrayOf(a().string),assetBaseUrl:a().string,skipUserConnection:a().bool},u.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack-my-jetpack"),buttonLabel:__("Set up Jetpack","jetpack-my-jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1};const p=u},1624:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5736),s=n(6324),l=n(7121),u=n(9307),p=n(8524);n(1510);const __=o.__,d=(0,u.createInterpolateElement)(__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack-my-jetpack"),{tosLink:r().createElement("a",{href:(0,s.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:r().createElement("a",{href:(0,s.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),m=e=>{const{title:t,images:n,children:c,assetBaseUrl:i,isLoading:a,showConnectButton:o,buttonLabel:s,handleButtonClick:u,displayButtonError:m,buttonIsLoading:g,footer:h}=e;return r().createElement(p.Z,{title:t,assetBaseUrl:i,images:n,className:"jp-connection__connect-screen"+(a?" jp-connection__connect-screen__loading":"")},r().createElement("div",{className:"jp-connection__connect-screen__content"},c,o&&r().createElement(r().Fragment,null,r().createElement(l.Z,{label:s,onClick:u,displayError:m,isLoading:g}),r().createElement("div",{className:"jp-connection__connect-screen__tos"},d)),h&&r().createElement("div",{className:"jp-connection__connect-screen__footer"},h)))};m.propTypes={title:a().string,images:a().arrayOf(a().string),assetBaseUrl:a().string,isLoading:a().bool,showConnectButton:a().bool,buttonLabel:a().string.isRequired,handleButtonClick:a().func,displayButtonError:a().bool,buttonIsLoading:a().bool,footer:a().node},m.defaultProps={showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{},footer:null};const g=m},2458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i);const o=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const c=t.map(((e,t)=>r().createElement(r().Fragment,{key:t},r().createElement("img",{src:n+e,alt:""}))));return r().createElement("div",{className:"jp-connection__connect-screen__image-slider"},c)};o.propTypes={images:a().arrayOf(a().string).isRequired,assetBaseUrl:a().string},o.defaultProps={assetBaseUrl:""};const s=o},8524:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(1202),s=n(2458);n(9610);const l=e=>{const{title:t,children:n,className:c,assetBaseUrl:i,images:a}=e,l=null==a?void 0:a.length;return r().createElement("div",{className:"jp-connection__connect-screen-layout"+(l?" jp-connection__connect-screen-layout__two-columns":"")+(c?" "+c:"")},r().createElement("div",{className:"jp-connection__connect-screen-layout__left"},r().createElement(o.Z,null),r().createElement("h2",null,t),n),l?r().createElement("div",{className:"jp-connection__connect-screen-layout__right"},r().createElement(s.Z,{images:a,assetBaseUrl:i})):null)};l.propTypes={title:a().string,className:a().string,images:a().arrayOf(a().string),assetBaseUrl:a().string};const u=l},9625:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(9196),r=n(5162),i=n.n(r),a=n(4743);const o=e=>{const{redirectFunc:t,connectUrl:n,redirectUri:r,from:i}=e,[o,s]=(0,c.useState)(null);return n&&n!==o&&s(n),(0,c.useEffect)((()=>{o||a.ZP.fetchAuthorizationUrl(r).then((e=>s(e.authorizeUrl))).catch((e=>{throw e}))}),[]),o?(t(o+(i?(o.includes("?")?"&":"?")+"from="+encodeURIComponent(i):"")),null):null};o.propTypes={connectUrl:i().string,redirectUri:i().string.isRequired,from:i().string,redirectFunc:i().func},o.defaultProps={redirectFunc:e=>window.location.assign(e),redirectUri:null};const s=o},7879:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5736),s=n(4322);const __=o.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,i=(0,c.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&i.length>0?r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-my-jetpack"))),r().createElement("div",{className:"jp-connection__disconnect-card__group"},i.map((e=>r().createElement(s.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:a().array,disconnectingPlugin:a().string};const u=l},9159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var c=n(9196),r=n.n(c),i=n(5736),a=n(5162),o=n.n(a),s=n(4743),l=n(5106),u=n(526),p=n(9818),d=n(9625),m=n(6168),g=n(428),h=n(1294);n(2427);const __=i.__,y=e=>{var t,n,i,a;const{apiRoot:o,apiNonce:y,redirectUri:v,title:f,connectionInfoText:k,onDisconnected:E,connectedPlugins:b,connectedSiteId:j,context:_,onConnectUser:C,requiresUserConnection:w}=e,{isRegistered:Z,isUserConnected:N,userConnectionData:S,hasConnectedOwner:P}=(0,h.Z)({apiRoot:o,apiNonce:y}),R=w&&!P,x=(0,c.useRef)(),I=null===(t=S.currentUser)||void 0===t||null===(n=t.wpcomUser)||void 0===n?void 0:n.avatar;(0,c.useEffect)((()=>{I&&(x.current.style.backgroundImage=`url('${I}')`)}),[I]);const[U,T]=(0,c.useState)(!1),A=(0,p.useSelect)((e=>e(g.t).getUserIsConnecting()),[]),{setConnectionStatus:F,setUserIsConnecting:L}=(0,p.useDispatch)(g.t),z=C||L;(0,c.useEffect)((()=>{s.ZP.setApiRoot(o),s.ZP.setApiNonce(y)}),[o,y]);const O=(0,c.useCallback)((e=>{e&&e.preventDefault(),T(!0)}),[T]),M=(0,c.useCallback)((e=>{e&&e.preventDefault(),T(!1)}),[T]),D=(0,c.useCallback)((e=>{e&&e.preventDefault(),F({isActive:!1,isRegistered:!1,isUserConnected:!1}),E&&"[object Function]"==={}.toString.call(E)&&E()}),[E,F]);return Z?r().createElement("div",{className:"jp-connection-status-card"},r().createElement(l.H3,null,f),r().createElement(l.ZP,{variant:"body"},k),r().createElement("div",{className:"jp-connection-status-card--status"},r().createElement("div",{className:"jp-connection-status-card--cloud"}),r().createElement("div",{className:"jp-connection-status-card--line"+(N?"":" jp-connection-status-card--site-only")}),r().createElement("div",{className:"jp-connection-status-card--jetpack-logo"}),r().createElement("div",{className:"jp-connection-status-card--avatar",ref:x})),r().createElement("ul",{className:"jp-connection-status-card--list"},r().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Site connected.","jetpack-my-jetpack")," ",r().createElement(u.Z,{variant:"link",weight:"regular",onClick:O,className:"jp-connection__disconnect-dialog__link"},__("Disconnect","jetpack-my-jetpack")),r().createElement(m.Z,{apiRoot:o,apiNonce:y,onDisconnected:D,connectedPlugins:b,connectedSiteId:j,connectedUser:S,isOpen:U,onClose:M,context:_})),N&&r().createElement("li",{className:"jp-connection-status-card--list-item-success"},__("Logged in as","jetpack-my-jetpack")," ",null===(i=S.currentUser)||void 0===i||null===(a=i.wpcomUser)||void 0===a?void 0:a.display_name),(!N||!P)&&r().createElement("li",{className:"jp-connection-status-card--list-item-"+(R?"error":"info")},R&&__("Requires user connection.","jetpack-my-jetpack")," ",r().createElement(u.Z,{variant:"link",disabled:A,onClick:z,className:"jp-connection-status-card--btn-connect-user"},__("Connect your user account","jetpack-my-jetpack")))),A&&r().createElement(d.Z,{redirectUri:v})):null};y.propTypes={apiRoot:o().string.isRequired,apiNonce:o().string.isRequired,redirectUri:o().string,connectedPlugins:o().array,connectedSiteId:o().number,title:o().string,connectionInfoText:o().string,onDisconnected:o().func,context:o().string,onConnectUser:o().func,requiresUserConnection:o().bool},y.defaultProps={title:__("Connection","jetpack-my-jetpack"),connectionInfoText:__("Leverages the cloud for more powerful Jetpack features.","jetpack-my-jetpack"),redirectUri:null,onConnectUser:null,requiresUserConnection:!0};const v=y},4322:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i);n(4220);const o=e=>{const{title:t,value:n,description:c}=e;return r().createElement("div",{className:"jp-connection__disconnect-card card"},r().createElement("div",{className:"jp-connection__disconnect-card__card-content"},r().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||c)&&r().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},r().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),r().createElement("div",{className:"jp-connection__disconnect-card__card-description"},c))))};o.propTypes={title:a().string,value:a().oneOfType([a().string,a().number]),description:a().number};const s=o},6168:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5736),s=n(5609),l=n(4743),u=n(6975),p=n(1132),d=(n(287),n(9015)),m=n(5995),g=n(1702),h=n(1166);const __=o.__,y=e=>{const[t,n]=(0,c.useState)(!1),[i,a]=(0,c.useState)(!1),[o,y]=(0,c.useState)(!1),[v,f]=(0,c.useState)(!1),[k,E]=(0,c.useState)(!1),[b,j]=(0,c.useState)(!1),{apiRoot:_,apiNonce:C,connectedPlugins:w,title:Z,pluginScreenDisconnectCallback:N,onDisconnected:S,onError:P,disconnectStepComponent:R,context:x,connectedUser:I,connectedSiteId:U,isOpen:T,onClose:A}=e;let F="";(0,p.jetpackConfigHas)("consumer_slug")&&(F=(0,p.jetpackConfigGet)("consumer_slug"));const L=(0,c.useMemo)((()=>({context:x,plugin:F})),[x,F]);(0,c.useEffect)((()=>{l.ZP.setApiRoot(_),l.ZP.setApiNonce(C)}),[_,C]),(0,c.useEffect)((()=>{I&&I.ID&&I.login&&u.Z.initialize(I.ID,I.login)}),[I,I.ID,I.login]),(0,c.useEffect)((()=>{T&&u.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",L)}),[T,L]),(0,c.useEffect)((()=>{T&&(i?!i||v||k?v&&!k?u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},L)):k&&u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},L)):u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},L)):u.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},L)))}),[T,i,v,k,L]);const z=(0,c.useCallback)((()=>{l.ZP.disconnectSite().then((()=>{n(!1),a(!0)})).catch((e=>{n(!1),y(e),P&&P(e)}))}),[n,a,y,P]),O=(0,c.useCallback)(((e,t)=>{j(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);u.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),E(!0),j(!1)})).catch((e=>{u.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),E(!0),j(!1)}))}),[j,E]),M=(0,c.useCallback)((e=>{e&&e.preventDefault(),y(!1),n(!0),"plugins"!==x?z():N&&N(e)}),[y,n,N,x,z]),D=(0,c.useCallback)((e=>u.Z.tracks.recordEvent(e,L)),[L]),V=(0,c.useCallback)((()=>I.ID&&U),[I,U]),B=(0,c.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!V())return void E(!0);const c={site_id:U,user_id:I.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},r=Object.assign({},L,{disconnect_reason:e});O(c,r)}),[O,E,V,U,I,L]),H=(0,c.useCallback)((e=>{e&&e.preventDefault(),S&&S(),A()}),[S,A]),J=(0,c.useCallback)((e=>{e&&e.preventDefault(),f(!0)}),[f]);return r().createElement(r().Fragment,null,T&&r().createElement(s.Modal,{title:"",contentLabel:Z,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:A,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(i?" jp-connection__disconnect-dialog__success":"")},i?!i||v||k?v&&!k?r().createElement(g.Z,{isSubmittingFeedback:b,onFeedBackProvided:B,onExit:H}):k?r().createElement(h.Z,{onExit:H}):void 0:r().createElement(m.Z,{canProvideFeedback:V(),onProvideFeedback:J,onExit:H}):r().createElement(d.Z,{title:Z,connectedPlugins:w,disconnectStepComponent:R,isDisconnecting:t,closeModal:A,onDisconnect:M,disconnectError:o,context:x,disconnectingPlugin:F,trackModalClick:D})))};y.propTypes={apiRoot:a().string.isRequired,apiNonce:a().string.isRequired,title:a().string,onDisconnected:a().func,onError:a().func,context:a().string,connectedPlugins:a().oneOfType([a().array,a().object]),pluginScreenDisconnectCallback:a().func,disconnectStepComponent:a().element,connectedUser:a().object,connectedSiteId:a().number,isOpen:a().bool,onClose:a().func},y.defaultProps={title:__("Are you sure you want to disconnect?","jetpack-my-jetpack"),context:"jetpack-dashboard",connectedUser:{}};const v=y},5995:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(9307),s=n(5736),l=n(5609),u=n(1133),p=n(2042);const __=s.__,d=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:c}=e;return r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement(u.Z,{icon:"unlink",imageUrl:p}),r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},r().createElement("h1",null,(0,o.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack-my-jetpack"),{br:r().createElement("br",null)})),n&&r().createElement(r().Fragment,null,r().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-my-jetpack")),r().createElement("p",null,r().createElement(l.Button,{variant:"primary",onClick:c,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-my-jetpack"))),r().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack-my-jetpack"))),!n&&r().createElement(r().Fragment,null,r().createElement("p",null,r().createElement(l.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))))};d.propTypes={onExit:a().func,onProvideFeedback:a().func,canProvideFeedback:a().bool};const m=d},9015:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9196),r=n.n(c),i=n(9307),a=n(5736),o=n(6324),s=n(5609),l=n(5162),u=n.n(l),p=n(7879);const __=a.__,d=e=>{const{title:t,isDisconnecting:n,onDisconnect:a,disconnectError:l,disconnectStepComponent:u,connectedPlugins:d,disconnectingPlugin:m,closeModal:g,context:h,trackModalClick:y}=e,v=(0,c.useCallback)((()=>y("jetpack_disconnect_dialog_click_learn_about")),[y]),f=(0,c.useCallback)((()=>y("jetpack_disconnect_dialog_click_support")),[y]),k=(0,c.useCallback)((()=>{y("jetpack_disconnect_dialog_click_stay_connected"),g()}),[y,g]),E=(0,c.useCallback)((e=>{y("jetpack_disconnect_dialog_click_disconnect"),a(e)}),[y,a]);return r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),r().createElement(p.Z,{connectedPlugins:d,disconnectingPlugin:m}),u,(()=>{if(!(d&&Object.keys(d).filter((e=>e!==m)).length)&&!u)return r().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-my-jetpack"),r().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-my-jetpack")))})()),r().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},r().createElement("div",{className:"jp-row"},r().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},r().createElement("p",null,(0,i.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack-my-jetpack"),{strong:r().createElement("strong",null),jpConnectionInfoLink:r().createElement("a",{href:(0,o.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:v}),jpSupportLink:r().createElement("a",{href:(0,o.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:f})}))),r().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},r().createElement(s.Button,{variant:"primary",disabled:n,onClick:k,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===h?__("Cancel","jetpack-my-jetpack"):__("Stay connected","jetpack-my-jetpack",0)),(()=>{let e=__("Disconnect","jetpack-my-jetpack");return n?e=__("Disconnecting…","jetpack-my-jetpack"):"plugins"===h&&(e=__("Deactivate","jetpack-my-jetpack")),r().createElement(s.Button,{variant:"primary",disabled:n,onClick:E,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),l&&r().createElement("p",{className:"jp-connection__disconnect-dialog__error"},l)))};d.propTypes={title:u().string,isDisconnecting:u().bool,onDisconnect:u().func,disconnectError:u().bool,disconnectStepComponent:u().elementType,connectedPlugins:u().array,disconnectingPlugin:u().string,closeModal:u().func,context:u().string,trackModalClick:u().func};const m=d},1702:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5736),s=(n(9823),n(6336));const __=o.__,l=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:c}=e;return r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-my-jetpack")),r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-my-jetpack")),r().createElement(s.Z,{onSubmit:n,isSubmittingFeedback:c}),r().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack-my-jetpack")))};l.PropTypes={onExit:a().func,onFeedBackProvided:a().func,isSubmittingFeedback:a().bool};const u=l},1166:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(1133),s=n(5736),l=n(5609),u=n(9307),p=n(724);const __=s.__,d=e=>{const{onExit:t}=e;return r().createElement("div",{className:"jp-connection__disconnect-dialog__content"},r().createElement(o.Z,{format:"vertical",imageUrl:p}),r().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},r().createElement("h1",null,__("Thank you!","jetpack-my-jetpack")),r().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,u.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack-my-jetpack"),{br:r().createElement("br",null)})),r().createElement(l.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))};d.PropTypes={onExit:a().func,assetBaseUrl:a().string};const m=d},6336:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5609),s=n(5736),l=n(4372);const __=s.__,u=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[i,a]=(0,c.useState)(),[s,u]=(0,c.useState)(),p=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-my-jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-my-jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-my-jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack-my-jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-my-jetpack")}],d="another-reason",m=(0,c.useCallback)((()=>{t(i,i===d?s:"")}),[t,d,s,i]),g=(0,c.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),u(t)}),[u]),h=e=>e===i?"jp-connect__disconnect-survey-card--selected":"",y=(0,c.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":a(e)}}),[a]);return r().createElement(r().Fragment,null,r().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},p.map((e=>r().createElement(l.Z,{id:e.id,onClick:a,onKeyDown:y,className:"card jp-connect__disconnect-survey-card "+h(e.id)},r().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),r().createElement(l.Z,{id:d,onClick:a,onKeyDown:y,className:"card jp-connect__disconnect-survey-card "+h(d)},r().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-my-jetpack")," ",r().createElement("input",{placeholder:__("share your experience","jetpack-my-jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:s,onChange:g,maxLength:1e3})))),r().createElement("p",null,r().createElement(o.Button,{disabled:!i||n,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack-my-jetpack"):__("Submit Feedback","jetpack-my-jetpack",0))))};u.PropTypes={onSubmit:a().func,isSubmittingFeedback:a().bool};const p=u},4372:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),r=n.n(c);n(9823);const i=e=>{const{id:t,onClick:n,onKeyDown:i,children:a,className:o}=e,s=(0,c.useCallback)((()=>{n(t)}),[t,n]),l=(0,c.useCallback)((e=>{i(t,e)}),[t,i]);return r().createElement("div",{tabIndex:"0",role:"button",onClick:s,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+o},a)}},1294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c,r=n(9196),i=n(9818),a=n(4743),o=n(428);const s=null!==(c=window)&&void 0!==c&&c.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},l=function(){let{registrationNonce:e=s.registrationNonce,apiRoot:t=s.apiRoot,apiNonce:n=s.apiNonce,redirectUri:c,autoTrigger:l,from:u,skipUserConnection:p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:d,connectUser:m,refreshConnectedPlugins:g}=(0,i.useDispatch)(o.t),h=(0,i.useSelect)((e=>e(o.t).getRegistrationError())),{siteIsRegistering:y,userIsConnecting:v,userConnectionData:f,connectedPlugins:k,isRegistered:E,isUserConnected:b,hasConnectedOwner:j}=(0,i.useSelect)((e=>({siteIsRegistering:e(o.t).getSiteIsRegistering(),userIsConnecting:e(o.t).getUserIsConnecting(),userConnectionData:e(o.t).getUserConnectionData(),connectedPlugins:e(o.t).getConnectedPlugins(),...e(o.t).getConnectionStatus()}))),_=()=>{p?c&&(window.location=c):m({from:u,redirectUri:c})},C=t=>{t&&t.preventDefault(),E?_():d({registrationNonce:e,redirectUri:c}).then((()=>{_()}))};return(0,r.useEffect)((()=>{a.ZP.setApiRoot(t),a.ZP.setApiNonce(n)}),[t,n]),(0,r.useEffect)((()=>{!l||y||v||C()}),[]),{handleRegisterSite:C,handleConnectUser:_,refreshConnectedPlugins:g,isRegistered:E,isUserConnected:b,siteIsRegistering:y,userIsConnecting:v,registrationError:h,userConnectionData:f,hasConnectedOwner:j,connectedPlugins:k}}},7523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>i,N4:()=>o,T1:()=>l,TS:()=>u,ZP:()=>E,i6:()=>r,qV:()=>s,r7:()=>a,wQ:()=>d});var c=n(4743);const r="SET_CONNECTION_STATUS",i="SET_CONNECTION_STATUS_IS_FETCHING",a="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",s="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",u="SET_AUTHORIZATION_URL",p="CONNECT_USER",d="SET_CONNECTED_PLUGINS",m=e=>({type:r,connectionStatus:e}),g=e=>({type:a,isRegistering:e}),h=e=>({type:o,isConnecting:e}),y=e=>({type:s,registrationError:e}),v=()=>({type:l}),f=e=>({type:u,authorizationUrl:e}),k=e=>({type:d,connectedPlugins:e});const E={setConnectionStatus:m,setConnectionStatusIsFetching:e=>({type:i,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:g,setUserIsConnecting:h,setRegistrationError:y,clearRegistrationError:v,setAuthorizationUrl:f,registerSite:function*(e){let{registrationNonce:t,redirectUri:n}=e;yield v(),yield g(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield m({isRegistered:!0}),yield f(e.authorizeUrl),yield g(!1),Promise.resolve(e)}catch(e){return yield y(e),yield g(!1),Promise.reject(e)}},connectUser:function*(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield h(!0),yield{type:p,from:e,redirectFunc:t,redirectUri:n}},setConnectedPlugins:k,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>c.ZP.fetchConnectedPlugins().then((n=>{t(k(n)),e(n)}))))}}},1432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(4743),r=n(9818),i=n(428);const a={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return c.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return c.ZP.registerSite(t,n)},CONNECT_USER:(0,r.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((r,a)=>{t(i.t).getAuthorizationUrl(c).then((t=>{const c=n||(e=>window.location.assign(e)),i=new URL(t);e&&i.searchParams.set("from",encodeURIComponent(e));const a=i.toString();c(a),r(a)})).catch((e=>{a(e)}))}))}}))}},1479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9818),r=n(7523);const i=(0,c.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.i6?{...e,...t.connectionStatus}:e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return 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:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.wQ?t.connectedPlugins:e}})},7728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9818),r=n(7523),i=n(428);const a={...{getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];const o=(0,c.select)(i.t).hasFinishedResolution("getAuthorizationUrl",r);return t&&!o&&(0,c.dispatch)(i.t).finishResolution("getAuthorizationUrl",r),t},*fulfill(e){const t=yield r.ZP.fetchAuthorizationUrl(e);yield r.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},2725:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={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||[]}},3535:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(8294),r=n.n(c),i=n(9818);class a{static mayBeInit(e,t){null===a.store&&(a.store=(0,i.createReduxStore)(e,t),(0,i.register)(a.store))}}r()(a,"store",null);const o=a},428:(e,t,n)=>{"use strict";n.d(t,{t:()=>l});var c=n(1479),r=n(7523),i=n(2725),a=n(7728),o=n(1432),s=n(3535);const l="jetpack-connection",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."),s.Z.mayBeInit(l,{__experimentalUseThunks:!0,reducer:c.Z,actions:r.ZP,selectors:i.Z,resolvers:a.Z,controls:o.Z,initialState:u||{}})},8728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var c=n(5609),r=n(9307),i=n(1202),a=n(5033),o=n(5736),s=n(5844),l=n.n(s),u=n(9196),p=n.n(u),d=n(1074),m=n(797);const __=o.__,g=e=>{const{activateLicense:t,isActivating:n,license:o,licenseError:s,onLicenseChange:l}=e,u=null!=s;return p().createElement("div",{className:"jp-license-activation-screen-controls"},p().createElement("div",{className:"jp-license-activation-screen-controls--content"},p().createElement(i.Z,{showText:!1,height:48}),p().createElement("h1",null,__("Add a license key","jetpack-my-jetpack")),p().createElement("p",null,(0,r.createInterpolateElement)(__("<strong>Check your email</strong> for your license key. You should have received it after making your purchase.","jetpack-my-jetpack"),{strong:p().createElement("strong",null)})),p().createElement(c.TextControl,{className:u?"jp-license-activation-screen-controls--license-field-with-error":"jp-license-activation-screen-controls--license-field",label:__("License key","jetpack-my-jetpack"),value:o,onChange:l,disabled:n}),u&&p().createElement("div",{className:"jp-license-activation-screen-controls--license-field-error"},p().createElement(d.Z,{icon:m.Z}),p().createElement("span",null,s))),p().createElement("div",null,p().createElement(c.Button,{className:"jp-license-activation-screen-controls--button",onClick:t},n?p().createElement(a.Z,null):__("Activate","jetpack-my-jetpack"))))};g.propTypes={activateLicense:l().func.isRequired,isActivating:l().bool.isRequired,license:l().string.isRequired,licenseError:l().string,onLicenseChange:l().func.isRequired,siteUrl:l().string.isRequired};const h=g},8781:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5736),r=n(9307),i=n(6324),a=n(5844),o=n.n(a),s=n(9196),l=n.n(s);const __=c.__,u=e=>{const{imageUrl:t,showSupportLink:n=!1}=e;return l().createElement("div",{className:"jp-license-activation-screen-illustration"},l().createElement("div",{className:"jp-license-activation-screen-illustration--wrapper"},l().createElement("img",{className:"jp-license-activation-screen-illustration--img",src:t,alt:""})),n&&l().createElement("p",{className:"jp-license-activation-screen-illustration--support-link"},(0,r.createInterpolateElement)(__("Do you need help? <a>Contact us.</a>","jetpack-my-jetpack"),{a:l().createElement("a",{href:(0,i.Z)("jetpack-support-license-activation")})})))};u.propTypes={imageUrl:o().string.isRequired,showSupportLink:o().bool};const p=u},7554:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(1202),r=n(5844),i=n.n(r),a=n(9196),o=n.n(a),s=n(1775),l=n(4172),u=n(3157);const p=e=>{const{productId:t,siteRawUrl:n,siteAdminUrl:r,currentRecommendationsStep:i}=e;return o().createElement("div",{className:"jp-license-activation-screen-success-info"},o().createElement("div",{className:"jp-license-activation-screen-success-info--content"},o().createElement(c.Z,{showText:!1,height:48})),o().createElement(s.Z,{siteRawUrl:n,productId:t}),o().createElement("div",{className:"jp-license-activation-screen-success-info--buttons"},o().createElement(u.c,{currentRecommendationsStep:i,siteAdminUrl:r,siteRawUrl:n}),o().createElement(l.o,{siteRawUrl:n,productId:t})))};p.propTypes={siteRawUrl:i().string,productId:i().number,siteAdminUrl:i().string,currentRecommendationsStep:i().string};const d=p},3157:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var c=n(5736),r=n(5609),i=n(6324),a=n(5844),o=n.n(a),s=n(9196),l=n.n(s);const __=c.__,u=e=>{const{currentRecommendationsStep:t,siteAdminUrl:n,siteRawUrl:c}=e;return"not-started"===t?l().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button",href:n+"admin.php?page=jetpack#/recommendations"},__("Configure my site","jetpack-my-jetpack")):l().createElement(r.Button,{className:"jp-license-activation-screen-success-info--button",href:(0,i.Z)("license-activation-view-my-plans",{site:c})},__("View my plans","jetpack-my-jetpack"))};u.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string,siteRawUrl:o().string.isRequired}},1775:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5736),r=n(9307),i=n(5844),a=n.n(i),o=n(9196),s=n.n(o),l=n(8275);const __=c.__,u=e=>{const{productId:t,siteRawUrl:n}=e,c=`https://cloud.jetpack.com/landing/${n}`,i=(0,l.F)(t),a={jetpack_anti_spam:{title:__("Jetpack Anti-spam is active!","jetpack-my-jetpack"),text:__("We'll take care of everything from here. Now you can enjoy a spam-free site!","jetpack-my-jetpack")},jetpack_backup:{title:__("Jetpack Backup is active!","jetpack-my-jetpack"),text:(0,r.createInterpolateElement)(__("You can see your backups and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack-my-jetpack"),{a:s().createElement("a",{href:c})})},jetpack_complete:{title:__("Jetpack Complete is active!","jetpack-my-jetpack"),text:(0,r.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack-my-jetpack"),{a:s().createElement("a",{href:c})})},jetpack_scan:{title:__("Jetpack Scan is active!","jetpack-my-jetpack"),text:(0,r.createInterpolateElement)(__("You can see your security scans on <a>cloud.jetpack.com</a>.","jetpack-my-jetpack"),{a:s().createElement("a",{href:c})})},jetpack_search:{title:__("Jetpack Search is active!","jetpack-my-jetpack"),text:__("Next, we'll help you customize the Search experience for your visitors.","jetpack-my-jetpack")},jetpack_security:{title:__("Jetpack Security is active!","jetpack-my-jetpack"),text:(0,r.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack-my-jetpack"),{a:s().createElement("a",{href:c})})},jetpack_videopress:{title:__("Jetpack VideoPress is active!","jetpack-my-jetpack"),text:__("Experience high-quality, ad-free video built specifically for WordPress.","jetpack-my-jetpack")},default:{title:__("Your product is active!","jetpack-my-jetpack"),text:__("You're all set!","jetpack-my-jetpack")}};return s().createElement("div",{className:"jp-license-activation-screen-success-info--product-details"},s().createElement("h1",null,a[i].title," ",String.fromCodePoint(127881)),s().createElement("p",null,a[i].text))};u.propTypes={dashboardUrl:a().string,productId:a().number};const p=u},4172:(e,t,n)=>{"use strict";n.d(t,{o:()=>p});var c=n(5736),r=n(5609),i=n(6324),a=n(5844),o=n.n(a),s=n(9196),l=n.n(s),u=n(8275);const __=c.__,p=e=>{const{productId:t,siteRawUrl:n}=e,c={jetpack_backup:{text:__("View latest backup","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_complete:{text:__("View latest backup","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_scan:{text:__("View scan results","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-scan"},jetpack_search:{text:__("Configure search","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-search"},jetpack_security:{text:__("View latest backup","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-backup"},default:null}[(0,u.F)(t)];return l().createElement(l().Fragment,null,c&&l().createElement(r.ExternalLink,{className:"jp-license-activation-screen-success-info--external-link",href:(0,i.Z)(c.redirectSource,{site:n})},c.text))};p.propTypes={siteRawUrl:o().string,productId:o().number}},468:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var c=n(9196),r=n.n(c),i=n(5844),a=n.n(i),o=n(4743),s=n(5736),l=n(8728),u=n(8781),p=n(7554),d=n(8702),m=n(1160);const __=s.__,g=e=>{const{onActivationSuccess:t=(()=>null),siteRawUrl:n,startingLicense:i,siteAdminUrl:a,currentRecommendationsStep:s}=e,[g,h]=(0,c.useState)(i??""),[y,v]=(0,c.useState)(null),[f,k]=(0,c.useState)(!1),[E,b]=(0,c.useState)(null),j=(0,c.useCallback)((()=>f?Promise.resolve():g.length<1?(v(__("This is not a valid license key. Please try again.","jetpack-my-jetpack")),Promise.resolve()):(v(null),k(!0),o.ZP.attachLicenses([g]).then((e=>{const n=(e=>{var t,n;let c=e;for(;Array.isArray(c)&&c.length>0;)c=c[0];if(null!==(t=c)&&void 0!==t&&t.activatedProductId)return c.activatedProductId;if(null!==(n=c)&&void 0!==n&&n.errors)for(const e in c.errors)if(c.errors[e].length>0)throw new Error(c.errors[e][0]);throw new Error(__("An unknown error occurred during license activation. Please try again.","jetpack-my-jetpack"))})(e);b(n),t(n)})).catch((e=>{v(e.message)})).finally((()=>{k(!1)})))),[f,g,t]);return null!==E?r().createElement("div",{className:"jp-license-activation-screen"},r().createElement(p.Z,{siteRawUrl:n,productId:E,siteAdminUrl:a,currentRecommendationsStep:s}),r().createElement(u.Z,{imageUrl:m,showSupportLink:!1})):r().createElement("div",{className:"jp-license-activation-screen"},r().createElement(l.Z,{license:g,onLicenseChange:h,activateLicense:j,siteUrl:n,licenseError:y,isActivating:f}),r().createElement(u.Z,{imageUrl:d,showSupportLink:!0}))};g.propTypes={onActivationSuccess:a().func,siteRawUrl:a().string.isRequired,startingLicense:a().string,siteAdminUrl:a().string.isRequired,currentRecommendationsStep:a().string};const h=g},8275:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});const c={jetpack_anti_spam:[2110,2111],jetpack_backup:[2100,2101,2102,2103,2112,2113,2114,2115],jetpack_complete:[2014,2015],jetpack_scan:[2106,2107,2108,2109],jetpack_search:[2104,2105],jetpack_security:[2010,2011,2012,2013,2016,2017,2019,2020],jetpack_videopress:[2116,2117]};function r(e){return Object.keys(c).find((t=>c[t].includes(e)))||"default"}},3281:(e,t,n)=>{"use strict";n.d(t,{I:()=>c.Z});var c=n(468)},1899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(9196),r=n.n(c),i=n(1163),a=n(8218),o=n(2939),s=n(3281),l=n(5626),u=n(4743),p=n(2199);function d(){var e,t,n,d;(0,c.useEffect)((()=>{var e;const{apiRoot:t,apiNonce:n}=(null===(e=window)||void 0===e?void 0:e.myJetpackRest)||{};u.ZP.setApiRoot(t),u.ZP.setApiNonce(n)}),[]);const{recordEvent:m}=(0,p.Z)(),g=(0,c.useCallback)((e=>{m("jetpack_myjetpack_license_activation_back_link_click"),document.referrer.includes(window.location.host)&&(e.preventDefault(),history.back())}),[m]);return r().createElement(i.Z,{showHeader:!1,showBackground:!1},r().createElement(a.Z,{horizontalSpacing:3,horizontalGap:3},r().createElement(o.Z,null,r().createElement(l.Z,{onClick:g})),r().createElement(o.Z,null,r().createElement(s.I,{siteRawUrl:null===(e=window)||void 0===e||null===(t=e.myJetpackInitialState)||void 0===t?void 0:t.siteSuffix,onActivationSuccess:void 0,siteAdminUrl:null===(n=window)||void 0===n||null===(d=n.myJetpackInitialState)||void 0===d?void 0:d.adminUrl,currentRecommendationsStep:null}))))}},3890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9196),r=n.n(c),i=n(554),a=n(1074),o=n(9517),s=n(5235),l=n.n(s),u=n(6234);const p=e=>{let{className:t}=e;return r().createElement(i.rU,{to:"/",className:l()(u.Z.link,t)},r().createElement(a.Z,{icon:o.Z,className:u.Z.icon}))}},5745:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(1020),s=n(2728),l=n(3703),u=n(3345);const p=e=>{let{admin:t,slug:n}=e;const{detail:i,status:a,activate:p,deactivate:d,isFetching:m}=(0,l.i)(n),{name:g,description:h,manageUrl:y}=i,v=(0,u.Z)("/connection"),f=(0,u.Z)(`add-${n}`),k=(0,c.useCallback)((()=>{window.location=y}),[y]),E=(0,o.VS)(n);return r().createElement(s.Z,{name:g,description:h,status:a,icon:r().createElement(E,{opacity:.4}),admin:t,isFetching:m,onDeactivate:d,slug:n,onActivate:p,onAdd:f,onFixConnection:v,onManage:k})};p.propTypes={admin:a().bool.isRequired,slug:a().string.isRequired};const d=p},17:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var c=n(9196),r=n.n(c),i=n(5736),a=n(9312),o=n(1163),s=n(8218),l=n(2939),u=n(6324),p=n(1074),d=n(5381),m=n(3890),g=n(1689),h=n(4997),y=n(184),v=n(5242),f=n(6790),k=n(8578);const __=i.__,E=()=>r().createElement(r().Fragment,null,r().createElement("div",{className:k.Z["account-description"]},__("You can use your existing account on any of these services:","jetpack-my-jetpack")),r().createElement("span",{className:k.Z["account-images"]},r().createElement("img",{src:h,className:k.Z.wordpress,alt:__("Wordpress Logo","jetpack-my-jetpack")}),r().createElement("img",{src:y,className:k.Z.google,alt:__("Google Logo","jetpack-my-jetpack")}),r().createElement("img",{src:v,className:k.Z.apple,alt:__("Apple Logo","jetpack-my-jetpack")}))),b=()=>{const{apiRoot:e,apiNonce:t}=(0,g.Z)();return r().createElement(o.Z,{showHeader:!1,showBackground:!1},r().createElement(s.Z,{horizontalSpacing:8,horizontalGap:0},r().createElement(l.Z,{className:k.Z["relative-col"]},r().createElement(m.Z,{className:k.Z["close-link"]})),r().createElement(l.Z,null,r().createElement(a.Z,{title:__("Unlock all the amazing features of Jetpack by connecting now","jetpack-my-jetpack"),buttonLabel:__("Connect your user account","jetpack-my-jetpack"),apiRoot:e,apiNonce:t,images:[f],footer:r().createElement(E,null),from:"my-jetpack",redirectUri:"admin.php?page=my-jetpack"},r().createElement("ul",null,r().createElement("li",null,__("Receive instant downtime alerts","jetpack-my-jetpack")),r().createElement("li",null,__("Automatically share your content on social media","jetpack-my-jetpack")),r().createElement("li",null,__("Let your subscribers know when you post","jetpack-my-jetpack")),r().createElement("li",null,__("Receive notifications about new likes and comments","jetpack-my-jetpack")),r().createElement("li",null,__("Let visitors share your content on social media","jetpack-my-jetpack")),r().createElement("li",null,__("And more!","jetpack-my-jetpack")," ",r().createElement("a",{href:(0,u.Z)("jetpack-features"),target:"_blank",className:k.Z["all-features"],rel:"noreferrer"},__("See all Jetpack features","jetpack-my-jetpack"),r().createElement(p.Z,{icon:d.Z}))))))))}},5784:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9196),r=n.n(c),i=n(9159),a=n(9818),o=n(1689),s=n(3345),l=n(7493);function u(){const{apiRoot:e,apiNonce:t,redirectUrl:n,connectedPlugins:c}=(0,o.Z)(),u=(0,s.Z)("/connection"),p=(0,a.useSelect)((e=>e(l.t).getProductsThatRequiresUserConnection()));return r().createElement(i.Z,{apiRoot:e,apiNonce:t,redirectUri:n,onConnectUser:u,connectedPlugins:c,requiresUserConnection:p.length>0})}},5626:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9196),r=n.n(c),i=n(554),a=n(1074),o=n(3259),s=n(5736),l=n(197);const __=s.__;function u(e){let{onClick:t}=e;return r().createElement(i.rU,{to:"/",className:l.Z.link,onClick:t},r().createElement(a.Z,{icon:o.Z,className:l.Z.icon}),__("Go back","jetpack-my-jetpack"))}u.defaultProps={onClick:()=>{}};const p=u},8966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>N});var c=n(2402),r=n.n(c),i=n(9196),a=n.n(i),o=n(5736),s=n(5609),l=n(797),u=n(496),p=n(1074),d=n(1163),m=n(3244),g=n(8218),h=n(2939),y=n(5106),v=n(8038),f=n(5784),k=n(6800),E=n(5943),b=n(2199),j=n(5031),_=n(1689),C=n(5371),w=n(1017);const __=o.__,Z=e=>{let{message:t,options:n,clean:c}=e;const i={error:l.Z,info:u.Z};return a().createElement(s.Notice,r()({isDismissible:!1},n,{onRemove:c,className:w.Z.notice}),(null==i?void 0:i[n.status])&&a().createElement(p.Z,{icon:i[n.status]}),a().createElement("div",{className:w.Z.message},t))};function N(){(0,C.Z)();const{message:e,options:t,clean:n}=(0,j.Z)(),{recordEvent:c}=(0,b.Z)();(0,i.useEffect)((()=>{c("jetpack_myjetpack_page_view")}),[c]);const{isSiteConnected:r}=(0,_.Z)();return r?a().createElement(d.Z,null,a().createElement(m.Z,null,a().createElement(g.Z,{horizontalSpacing:5,horizontalGap:e?3:6},a().createElement(h.Z,{sm:4,md:7,lg:6},a().createElement(y.ZP,{variant:"headline-small"},__("Manage your Jetpack products","jetpack-my-jetpack"))),e&&a().createElement(h.Z,null,a().createElement(Z,{message:e,options:t,clean:n})),a().createElement(h.Z,null,a().createElement(E.Z,null)))),a().createElement(v.Z,null,a().createElement(g.Z,{horizontalSpacing:8},a().createElement(h.Z,{sm:2,md:4,lg:6},a().createElement(k.Z,null)),a().createElement(h.Z,{sm:2,md:4,lg:6},a().createElement(f.Z,null))))):null}},6800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var c=n(9196),r=n.n(c),i=n(5736),a=n(5106),o=n(526),s=n(2199),l=n(1750),u=n(8295),p=n(7258),d=n(6891),m=n(1689),g=n(3345);const __=i.__,_n=i._n;function h(e){let{purchase:t={}}=e;const{product_name:n,expiry_message:c}=t;return r().createElement(r().Fragment,null,r().createElement(a.Dx,null,n),r().createElement(a.ZP,{variant:"body",className:d.Z["expire-date"]},c))}function y(e){let{purchases:t}=e;return r().createElement(r().Fragment,null,r().createElement(a.H3,null,t.length<=1?__("Your plan","jetpack-my-jetpack"):__("Your plans","jetpack-my-jetpack")),0===t.length&&r().createElement(a.ZP,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack")))}function v(e){var t,n,i,a;let{purchases:l}=e;const{recordEvent:h}=(0,s.Z)(),{isUserConnected:y}=(0,m.Z)();let v=__("Purchase a plan","jetpack-my-jetpack");l.length>=1&&(v=_n("Manage your plan","Manage your plans",l.length,"jetpack-my-jetpack"));const f=(0,c.useCallback)((()=>{const e=l.length?"jetpack_myjetpack_plans_manage_click":"jetpack_myjetpack_plans_purchase_click";h(e)}),[l,h]),k=(0,g.Z)("/connection"),E=(0,c.useCallback)((()=>{h("jetpack_myjetpack_activate_license_click"),y||k()}),[k,y,h]);let b=__("Activate a license","jetpack-my-jetpack");return y||(b=__("Activate a license (requires a user connection)","jetpack-my-jetpack")),r().createElement("ul",null,r().createElement("li",{className:d.Z["actions-list-item"]},r().createElement(o.Z,{onClick:f,href:l.length?(0,u.Z)():(0,p.Z)(),weight:"regular",variant:"link",isExternalLink:!0},v)),(null===(t=window)||void 0===t||null===(n=t.myJetpackInitialState)||void 0===n?void 0:n.loadAddLicenseScreen)&&r().createElement("li",{className:d.Z["actions-list-item"]},r().createElement(o.Z,{onClick:E,href:y?`${null===(i=window)||void 0===i||null===(a=i.myJetpackInitialState)||void 0===a?void 0:a.adminUrl}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},b)))}function f(){const e=(0,l.Z)();return r().createElement("div",{className:d.Z.container},r().createElement(y,{purchases:e}),r().createElement("div",{className:d.Z.purchasesSection},e.map((e=>r().createElement(h,{key:`purchase-${e.product_name}`,purchase:e})))),r().createElement(v,{purchases:e}))}},2728:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,Z:()=>E});var c=n(2402),r=n.n(c),i=n(9196),a=n.n(i),o=n(5162),s=n.n(o),l=n(5235),u=n.n(l),p=n(5736),d=n(5609),m=n(5106),g=n(9720),h=n(2199);const __=p.__,y={ACTIVE:"active",INACTIVE:"inactive",ERROR:"error",ABSENT:"plugin_absent",NEEDS_PURCHASE:"needs_purchase"},v={[y.ACTIVE]:__("Active","jetpack-my-jetpack"),[y.INACTIVE]:__("Inactive","jetpack-my-jetpack"),[y.NEEDS_PURCHASE]:__("Inactive","jetpack-my-jetpack"),[y.ERROR]:__("Error","jetpack-my-jetpack")},f=e=>{let{status:t,admin:n,name:c,onActivate:i,onManage:o,onFixConnection:s,isFetching:l,className:u,onAdd:m}=e;if(!n)return a().createElement("span",{className:g.Z["action-link-button"]},
+/* translators: placeholder is product name. */
+(0,p.sprintf)(__("Learn about %s","jetpack-my-jetpack"),c));const h={variant:l?void 0:"primary",disabled:l,className:u};switch(t){case y.ABSENT:return a().createElement("span",{className:g.Z["action-link-button"]},
+/* translators: placeholder is product name. */
+(0,p.sprintf)(__("Add %s","jetpack-my-jetpack"),c));case y.NEEDS_PURCHASE:return a().createElement(d.Button,r()({},h,{onClick:m}),__("Purchase","jetpack-my-jetpack"));case y.ACTIVE:return a().createElement(d.Button,r()({},h,{variant:"secondary",onClick:o}),__("Manage","jetpack-my-jetpack"));case y.ERROR:return a().createElement(d.Button,r()({},h,{onClick:s}),__("Fix connection","jetpack-my-jetpack"));case y.INACTIVE:return a().createElement(d.Button,r()({},h,{variant:"secondary",onClick:i}),__("Activate","jetpack-my-jetpack"));default:return null}},k=e=>{const{name:t,description:n,icon:c,status:o,onActivate:s,onAdd:l,onFixConnection:p,onManage:d,isFetching:k,slug:E}=e,b=o===y.ACTIVE,j=o===y.ERROR,_=o===y.INACTIVE,C=o===y.ABSENT,w=o===y.NEEDS_PURCHASE,Z=v[o],N=u()(g.Z.container,{[g.Z.plugin_absent]:C,[g.Z["is-purchase-required"]]:w,[g.Z["is-link"]]:C,[g.Z["has-error"]]:j}),S=u()(g.Z.status,{[g.Z.active]:b,[g.Z.inactive]:_||w,[g.Z.error]:j,[g.Z["is-fetching"]]:k}),{recordEvent:P}=(0,h.Z)(),R=(0,i.useCallback)((()=>{P("jetpack_myjetpack_product_card_activate_click",{product:E}),s()}),[E,s,P]),x=(0,i.useCallback)((e=>{null!=e&&e.preventDefault&&e.preventDefault(),P("jetpack_myjetpack_product_card_add_click",{product:E}),l()}),[E,l,P]),I=(0,i.useCallback)((()=>{P("jetpack_myjetpack_product_card_manage_click",{product:E}),d()}),[E,d,P]),U=(0,i.useCallback)((()=>{P("jetpack_myjetpack_product_card_fixconnection_click",{product:E}),p()}),[E,p,P]),T=C?e=>{let{children:t,...n}=e;return a().createElement("a",r()({},n,{href:"#",onClick:x}),t)}:e=>{let{children:t,...n}=e;return a().createElement("div",n,t)};return a().createElement(T,{className:N},a().createElement("div",{className:g.Z.name},a().createElement(m.ZP,{variant:"title-medium"},t),c),a().createElement(m.ZP,{variant:"body-small",className:g.Z.description},n),a().createElement("div",{className:g.Z.actions},a().createElement(f,r()({},e,{onActivate:R,onFixConnection:U,onManage:I,className:g.Z.button})),!C&&a().createElement(m.ZP,{variant:"label",className:S},Z)))};k.propTypes={name:s().string.isRequired,description:s().string.isRequired,icon:s().element,admin:s().bool.isRequired,isFetching:s().bool,onManage:s().func,onFixConnection:s().func,onActivate:s().func,onAdd:s().func,slug:s().string.isRequired,status:s().oneOf([y.ACTIVE,y.INACTIVE,y.ERROR,y.ABSENT,y.NEEDS_PURCHASE]).isRequired},k.defaultProps={icon:null,isFetching:!1,onManage:()=>{},onFixConnection:()=>{},onActivate:()=>{},onAdd:()=>{}};const E=k},1640:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5745),s=n(3345);const l=e=>{let{admin:t}=e;return r().createElement(o.Z,{admin:t,slug:"anti-spam",onAdd:(0,s.Z)("/add-anti-spam")})};l.propTypes={admin:a().bool.isRequired};const u=l},401:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5745);const s=e=>{let{admin:t}=e;return r().createElement(o.Z,{admin:t,slug:"backup"})};s.propTypes={admin:a().bool.isRequired};const l=s},4074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5745);const s=e=>{let{admin:t}=e;return r().createElement(o.Z,{admin:t,slug:"boost"})};s.propTypes={admin:a().bool.isRequired};const l=s},5996:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5745);const s=e=>{let{admin:t}=e;return r().createElement(o.Z,{admin:t,slug:"crm"})};s.propTypes={admin:a().bool.isRequired};const l=s},717:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5745);const s=e=>{let{admin:t}=e;return r().createElement(o.Z,{admin:t,slug:"extras"})};s.propTypes={admin:a().bool.isRequired};const l=s},5943:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var c=n(9196),r=n.n(c),i=n(8218),a=n(2939),o=n(401),s=n(6407),l=n(1640),u=n(4074),p=n(687),d=n(9894),m=n(5996),g=n(717),h=n(419);const y=()=>r().createElement(i.Z,{fluid:!0,horizontalSpacing:0,horizontalGap:3},r().createElement(a.Z,{sm:4,md:4,lg:3},r().createElement(o.Z,{admin:!0})),r().createElement(a.Z,{sm:4,md:4,lg:3},r().createElement(s.Z,{admin:!0})),r().createElement(a.Z,{sm:4,md:4,lg:3},r().createElement(l.Z,{admin:!0})),r().createElement(a.Z,{sm:4,md:4,lg:3},r().createElement(u.Z,{admin:!0})),r().createElement(a.Z,{sm:4,md:4,lg:3},r().createElement(p.Z,{admin:!0})),r().createElement(a.Z,{sm:4,md:4,lg:3},r().createElement(d.Z,{admin:!0})),r().createElement(a.Z,{sm:4,md:4,lg:3},r().createElement(m.Z,{admin:!0})),r().createElement(a.Z,{sm:4,md:4,lg:3},r().createElement(h.Z,{admin:!0})),r().createElement(a.Z,{sm:4,md:4,lg:3},r().createElement(g.Z,{admin:!0})))},6407:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5745);const s=e=>{let{admin:t}=e;return r().createElement(o.Z,{admin:t,slug:"scan"})};s.propTypes={admin:a().bool.isRequired};const l=s},687:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5745);const s=e=>{let{admin:t}=e;return r().createElement(o.Z,{admin:t,slug:"search"})};s.propTypes={admin:a().bool.isRequired};const l=s},419:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5745);const s=e=>{let{admin:t}=e;return r().createElement(o.Z,{admin:t,slug:"social"})};s.propTypes={admin:a().bool.isRequired};const l=s},9894:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5745);const s=e=>{let{admin:t}=e;return r().createElement(o.Z,{admin:t,slug:"videopress"})};s.propTypes={admin:a().bool.isRequired};const l=s},2667:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9196),r=n.n(c),i=n(5162),a=n.n(i),o=n(5609);const s=e=>{let{children:t,className:n,href:c,isLoading:i,onClick:a,isPrimary:s}=e;return r().createElement(o.Button,{onClick:a,className:n,href:c,variant:s?"primary":"secondary",disabled:i},i?r().createElement(o.Spinner,null):t)};s.propTypes={className:a().string,isLoading:a().bool,isPrimary:a().bool},s.defaultProps={isLoading:!1,isPrimary:!0};const l=s},968:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var c=n(9196),r=n.n(c),i=n(5235),a=n.n(i),o=n(1074),s=n(1908),l=n(9201),u=n(8899),p=n(5736),d=n(5106),m=n(1020),g=n(8429),h=n(8278),y=n(1689),v=n(2667),f=n(3703);const __=p.__;function k(e){let{value:t,currency:n,isOld:c}=e;if(!t||!n)return null;const i=(0,u.LR)(t,n),o=a()(g.Z.price,{[g.Z["is-old"]]:c});return r().createElement(d.ZP,{className:o,variant:"headline-medium",component:"p"},r().createElement(d.ZP,{component:"sup",variant:"title-medium"},i.symbol),i.integer,r().createElement(d.ZP,{component:"sup",variant:"title-medium"},i.fraction))}const E=e=>{let{slug:t,onClick:n,trackButtonClick:i,className:u,supportingInfo:E}=e;const{detail:b,isFetching:j}=(0,f.i)(t),{title:_,longDescription:C,features:w,pricingForUi:Z,isBundle:N,supportedProducts:S,hasRequiredPlan:P}=b,{isFree:R,fullPricePerMonth:x,currencyCode:I,discountPricePerMonth:U,wpcomProductSlug:T}=Z,{isUserConnected:A}=(0,y.Z)(),F=!R&&!P,L=F&&T?(0,h.Z)(T,A):null,z=N?S.join("_plus_").split("_").map(((e,t)=>{if("plus"===e)return r().createElement(o.Z,{className:g.Z["plus-icon"],key:`icon-plugs${t}`,icon:s.Z,size:14});const n=(0,m.VS)(e);return r().createElement(n,{key:e,size:24})})):null,O=(0,c.useCallback)((()=>{i(),n&&n()}),[n,i]);function M(e){let{slug:t}=e;const n=(0,m.VS)(t);return n?r().createElement("div",{className:g.Z["product-icon"]},r().createElement(n,null)):()=>null}return r().createElement("div",{className:a()(g.Z.card,u,{[g.Z["is-bundle-card"]]:N})},N&&r().createElement("div",{className:g.Z["card-header"]},r().createElement(m.r7,{className:g.Z["product-bundle-icon"],size:16}),r().createElement(d.ZP,{variant:"label"},__("Popular upgrade","jetpack-my-jetpack"))),r().createElement("div",{className:g.Z.container},N&&r().createElement("div",{className:g.Z["product-bundle-icons"]},z),r().createElement(M,{slug:t}),r().createElement(d.H3,null,_),r().createElement(d.ZP,{mb:3},C),r().createElement("ul",{className:g.Z.features},w.map(((e,t)=>r().createElement(d.ZP,{component:"li",key:`feature-${t}`,variant:"body"},r().createElement(o.Z,{icon:l.Z,size:24}),e)))),F&&r().createElement(r().Fragment,null,r().createElement("div",{className:g.Z["price-container"]},r().createElement(k,{value:x,currency:I,isOld:!0}),r().createElement(k,{value:U,currency:I,isOld:!1})),r().createElement(d.ZP,{className:g.Z["price-description"]},__("/month, paid yearly","jetpack-my-jetpack"))),R&&r().createElement(d.H3,null,__("Free","jetpack-my-jetpack")),(!N||N&&!P)&&r().createElement(d.ZP,{component:v.Z,onClick:O,isLoading:j,isPrimary:!N,href:n?void 0:L,className:g.Z["checkout-button"],variant:"body"},
+/* translators: placeholder is product name. */
+(0,p.sprintf)(__("Add %s","jetpack-my-jetpack"),_)),N&&P&&r().createElement("div",{className:g.Z["product-has-required-plan"]},r().createElement(m.KM,{size:36}),r().createElement(d.ZP,null,__("Active on your site","jetpack-my-jetpack"))),E&&r().createElement(d.ZP,{className:g.Z["supporting-info"],variant:"body-extra-small"},E)))};E.defaultProps={trackButtonClick:()=>{}};const b=E},8093:(e,t,n)=>{"use strict";n.d(t,{B$:()=>S,Jw:()=>U,Q5:()=>R,WJ:()=>N,Yi:()=>P,q:()=>w,qA:()=>Z,uw:()=>I,y$:()=>x});var c=n(9196),r=n.n(c),i=n(1163),a=n(8218),o=n(2939),s=n(9818),l=n(5736),u=n(968),p=n(1287),d=n(2199),m=n(5610),g=n(720),h=n(1439),y=n(2605),v=n(4763),f=n(3703),k=n(3345),E=n(8278),b=n(1689),j=n(7493),_=n(5626);const __=l.__;function C(e){let{bundle:t,installsPlugin:n=!1,slug:l,supportingInfo:m,children:g=null}=e;const{activate:h,detail:y}=(0,f.i)(l),{isUpgradableByBundle:v}=y,{recordEvent:C}=(0,d.Z)();(0,c.useEffect)((()=>{C("jetpack_myjetpack_product_interstitial_view",{product:l})}),[C,l]);const w=(0,c.useCallback)((()=>{C("jetpack_myjetpack_product_interstitial_add_link_click",{product:l})}),[C,l]),Z=(0,c.useCallback)((()=>{C("jetpack_myjetpack_product_interstitial_add_link_click",{product:t})}),[C,t]),{isUserConnected:N}=(0,b.Z)(),S=(0,k.Z)("/"),P=(0,c.useCallback)((()=>{h().finally((()=>{var e,t;const n=(0,s.select)(j.t).getProduct(l),c=null==n?void 0:n.postActivationUrl,r=null==n?void 0:n.hasRequiredPlan,i=null==n||null===(e=n.pricingForUi)||void 0===e?void 0:e.isFree,a=null==n||null===(t=n.pricingForUi)||void 0===t?void 0:t.wpcomProductSlug;if(!c)return!i&&!r&&a?void(window.location.href=(0,E.Z)(a,N)):S();window.location.href=c}))}),[S,h,N,l]),R=(0,c.useCallback)((()=>{l&&C("jetpack_myjetpack_product_interstitial_back_link_click",{product:l})}),[C,l]);return r().createElement(i.Z,{showHeader:!1,showBackground:!1},r().createElement(a.Z,{horizontalSpacing:3,horizontalGap:3},r().createElement(o.Z,null,r().createElement(_.Z,{onClick:R})),r().createElement(o.Z,null,r().createElement(a.Z,{className:v?null:p.Z.container,horizontalSpacing:0,horizontalGap:0,fluid:!0},r().createElement(o.Z,{sm:4,md:4,lg:7},r().createElement(u.Z,{slug:l,trackButtonClick:w,onClick:n?P:void 0,className:v?p.Z.container:null,supportingInfo:m})),r().createElement(o.Z,{sm:4,md:4,lg:5,className:p.Z.imageContainer},t?r().createElement(u.Z,{slug:"security",trackButtonClick:Z,className:v?p.Z.container:null}):g)))))}function w(){return r().createElement(C,{slug:"anti-spam",installsPlugin:!0,bundle:"security"})}function Z(){return r().createElement(C,{slug:"backup",installsPlugin:!0,bundle:"security"})}function N(){return r().createElement(C,{slug:"boost",installsPlugin:!0},r().createElement("img",{src:m,alt:"Boost"}))}function S(){return r().createElement(C,{slug:"crm",installsPlugin:!0},r().createElement("img",{src:v,alt:"CRM"}))}function P(){return r().createElement(C,{slug:"extras",installsPlugin:!0},r().createElement("img",{src:y,alt:"Extras"}))}function R(){return r().createElement(C,{slug:"scan",installsPlugin:!0,bundle:"security"})}function x(){return r().createElement(C,{slug:"social",installsPlugin:!0})}function I(){return r().createElement(C,{slug:"search",installsPlugin:!0,supportingInfo:__("Pricing will automatically adjust based on the number of records in your search index. If you grow into a new pricing tier, we'll let you know before your next billing cycle.","jetpack-my-jetpack")},r().createElement("img",{src:g,alt:"Search"}))}function U(){return r().createElement(C,{slug:"videopress",installsPlugin:!0},r().createElement("img",{src:h,alt:"VideoPress"}))}},8565:(e,t,n)=>{"use strict";n.d(t,{f6:()=>r,w6:()=>c});const c="my-jetpack-my-plans-manage",r="my-jetpack-my-plans-purchase"},2199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9196),r=n(6975),i=n(1689);const a=()=>{var e;const{isUserConnected:t,connectedPlugins:n,userConnectionData:a={}}=(0,i.Z)(),{login:o,ID:s}=(null===(e=a.currentUser)||void 0===e?void 0:e.wpcomUser)||{};(0,c.useEffect)((()=>{t&&s&&o&&r.Z.initialize(s,o)}),[s,t,o]);const l=Object.keys(n||{}).sort().join(",").replaceAll("jetpack-",""),{clearedIdentity:u,ga:p,mc:d,pageView:m,purchase:g,setGoogleAnalyticsEnabled:h,setMcAnalyticsEnabled:y,setProperties:v,tracks:f}=r.Z;return{clearedIdentity:u,ga:p,mc:d,pageView:m,purchase:g,recordEvent:(0,c.useCallback)(((e,t)=>{var n,c;f.recordEvent(e,{...t,version:null===(n=window)||void 0===n||null===(c=n.myJetpackInitialState)||void 0===c?void 0:c.myJetpackVersion,referring_plugins:l})}),[]),setGoogleAnalyticsEnabled:h,setMcAnalyticsEnabled:y,setProperties:v,tracks:f}}},5371:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5736),r=n(9196),i=n(9818),a=n(7493),o=n(1689),s=n(3345);const __=c.__;function l(){const e=(0,s.Z)("/connection"),{setGlobalNotice:t}=(0,i.useDispatch)(a.t),n=(0,i.useSelect)((e=>e(a.t).getProductsThatRequiresUserConnection())),{isSiteConnected:l,redirectUrl:u,hasConnectedOwner:p}=(0,o.Z)(),d=!p&&n.length>0,m=(0,c.sprintf)(
+/* translators: placeholder is product name. */
+__("Jetpack %s needs a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"),n[0]),g=n.length>1?__("Some products need a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"):m;(0,r.useEffect)((()=>{!l&&u&&(window.location=u)}),[l,u]),(0,r.useEffect)((()=>{d&&t(g,{status:"error",actions:[{label:__("Connect your user account to fix this","jetpack-my-jetpack"),onClick:e,variant:"link",noDefaultClasses:!0}]})}),[g,d,e,t])}},1689:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(1294);function r(){const{apiRoot:e,apiNonce:t}=myJetpackRest,{topJetpackMenuItemUrl:n}=myJetpackInitialState,r=(0,c.Z)({apiRoot:e,apiNonce:t}),i=r.isRegistered;return{apiNonce:t,apiRoot:e,...r,isSiteConnected:i,redirectUrl:n}}},3345:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),r=n(5439);function i(e){const t=(0,r.s0)();return(0,c.useCallback)((()=>t(e)),[t,e])}},5031:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9818),r=n(7493);function i(){const e=(0,c.useDispatch)(),{message:t,options:n}=(0,c.useSelect)((e=>e(r.t).getGlobalNotice()));return{message:t,options:n||{},clean:()=>e(r.t).cleanGlobalNotice()}}},3703:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var c=n(9818),r=n(7493);function i(e){const{activateProduct:t,deactivateProduct:n}=(0,c.useDispatch)(r.t),i=(0,c.useSelect)((t=>t(r.t).getProduct(e)));return{activate:()=>t(e),deactivate:()=>n(e),productsList:(0,c.useSelect)((e=>e(r.t).getProducts())),detail:i,isActive:"active"===i.status,isFetching:(0,c.useSelect)((t=>t(r.t).isFetching(e))),status:i.status}}},1750:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9818),r=n(7493);function i(){return(0,c.useSelect)((e=>e(r.t).getPurchases()))}},9274:(e,t,n)=>{"use strict";n.d(t,{RT:()=>s,ZP:()=>j,d1:()=>h,dE:()=>m,dI:()=>d,dq:()=>g,fE:()=>y,ny:()=>l,vv:()=>p,z8:()=>u});var c=n(6989),r=n.n(c),i=n(5736),a=n(428),o=n(2086);const __=i.__,s="SET_PURCHASES_IS_FETCHING",l="FETCH_PURCHASES",u="SET_PURCHASES",p="SET_IS_FETCHING_PRODUCT",d="SET_PRODUCT",m="SET_PRODUCT_REQUEST_ERROR",g="SET_PRODUCT_STATUS",h="SET_GLOBAL_NOTICE",y="CLEAN_GLOBAL_NOTICE",v=e=>({type:d,product:e}),f=(e,t)=>({type:m,productId:e,error:t}),k=(e,t)=>({type:"SET_GLOBAL_NOTICE",message:e,options:t});function E(e,t){return{type:p,productId:e,isFetching:t}}const b={setProduct:v,activateProduct:e=>async t=>await function(e,t,n){let{select:c,dispatch:s,registry:l}=n;return new Promise(((n,u)=>{if(!c.isValidProduct(e)){const t=__("Invalid product name","jetpack-my-jetpack"),n=new Error(t);return s(f(e,n)),s(k(t,{status:"error",isDismissible:!0})),void u(n)}const p=t.activate?"POST":"DELETE";return s(E(e,!0)),r()({path:`${o.Jk}/${e}`,method:p}).then((t=>{s(E(e,!1)),s(v(t)),l.dispatch(a.t).refreshConnectedPlugins(),n(null==t?void 0:t.status)})).catch((t=>{const{name:n}=c.getProduct(e),r=(0,i.sprintf)(// translators: %$1s: Jetpack Product name
+__("Failed to activate %1$s. Please try again","jetpack-my-jetpack"),n);s(E(e,!1)),s(f(e,t)),s(k(r,{status:"error",isDismissible:!0})),u(t)}))}))}(e,{activate:!0},t),setIsFetchingProduct:E,setRequestProductError:f,setProductStatus:(e,t)=>({type:g,productId:e,status:t})},j={setPurchasesIsFetching:e=>({type:s,isFetching:e}),fetchPurchases:()=>({type:l}),setPurchases:e=>({type:u,purchases:e}),...{setGlobalNotice:k,cleanGlobalNotice:()=>({type:"CLEAN_GLOBAL_NOTICE"})},...b}},2086:(e,t,n)=>{"use strict";n.d(t,{Jk:()=>r,LQ:()=>c,iB:()=>i});const c="my-jetpack/v1/site/purchases",r="my-jetpack/v1/site/products",i=["scan"]},9462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(6989),r=n.n(c),i=n(9274),a=n(2086);const o={[i.ny]:function(){return new Promise(((e,t)=>{r()({path:a.LQ}).then(e).catch(t)}))}}},925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9818),r=n(9274);const i=(0,c.combineReducers)({products:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.vv:{const{productId:n,isFetching:c}=t;return{...e,isFetching:{...e.isFetching,[n]:c},errors:{...e.errors,[n]:c?void 0:e.errors[n]}}}case r.dq:{const{productId:n,status:c}=t;return{...e,items:{...e.items,[n]:{...e.items[n],status:c}}}}case r.dI:{const{product:n}=t,{slug:c}=n;return{...e,items:{...e.items,[c]:n}}}case r.dE:{const{productId:n,error:c}=t;return{...e,errors:{...e.errors,[n]:c}}}default:return e}},purchases:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.RT:return{...e,isFetching:t.isFetching};case r.z8:return{...e,items:(null==t?void 0:t.purchases)||[]};default:return e}},notices:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{global:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.d1:{const{message:n,options:c}=t;return{...e,global:{message:n,options:c}}}case r.fE:return{...e,global:{}};default:return e}}})},9844:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(6989),r=n.n(c),i=n(5736),a=n(2086);const __=i.__,o={...{getProduct:{isFulfilled:(e,t)=>{var n;return((null==e||null===(n=e.products)||void 0===n?void 0:n.items)||{}).hasOwnProperty(t)&&!a.iB.includes(t)},fulfill:e=>async t=>{let{dispatch:n}=t;try{n.setIsFetchingProduct(e,!0);const t=await r()({path:`${a.Jk}/${e}`});return n.setProduct(t),n.setIsFetchingProduct(e,!1),Promise.resolve()}catch(t){if(n.setIsFetchingProduct(e,!1),null!=t&&t.code&&null!=t&&t.message)return n.setRequestProductError(e,t),Promise.reject(t);throw new Error(t)}}},getPurchases:()=>async e=>{let{dispatch:t}=e;t.setPurchasesIsFetching(!0);try{t.setPurchases(await r()({path:a.LQ})),t.setPurchasesIsFetching(!1)}catch(e){t.setPurchasesIsFetching(!1),t.setGlobalNotice(__("There was an error fetching your purchases information. Check your site connectivity and try again.","jetpack-my-jetpack"),{status:"error"})}}}}},6896:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var c=n(6782),r=n(2728);const i=e=>{var t;return(null===(t=e.products)||void 0===t?void 0:t.items)||{}},a=e=>Object.keys(i(e)),o={...{getProducts:i,getProductNames:a,getProduct:(e,t)=>{var n;const r=(null===(n=i(e))||void 0===n?void 0:n[t])||{},a=(0,c.N)(r,!0);return a.pricingForUi=(0,c.N)(a.pricingForUi||{},!0),a.features=a.features||[],a.supportedProducts=a.supportedProducts||[],a.pricingForUi.fullPricePerMonth=Math.ceil(a.pricingForUi.fullPrice/12*100)/100,a.pricingForUi.discountPricePerMonth=Math.ceil(a.pricingForUi.discountPrice/12*100)/100,a},isValidProduct:(e,t)=>a(e).includes(t),isFetching:(e,t)=>{var n,c;return(null===(n=e.products)||void 0===n||null===(c=n.isFetching)||void 0===c?void 0:c[t])||!1},getProductsThatRequiresUserConnection:e=>{const t=i(e);return Object.keys(t).reduce(((e,n)=>{const c=t[n];return(null==c?void 0:c.requires_user_connection)&&((null==c?void 0:c.status)===r.N.ACTIVE||(null==c?void 0:c.status)===r.N.ERROR)&&e.push(null==c?void 0:c.name),e}),[])}},getPurchases:e=>{var t;return(null===(t=e.purchases)||void 0===t?void 0:t.items)||[]},isRequestingPurchases:e=>e.isRequestingPurchases||!1,getGlobalNotice:e=>{var t;return null===(t=e.notices)||void 0===t?void 0:t.global}}},1214:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(8294),r=n.n(c),i=n(9818);class a{static mayBeInit(e,t){null===a.store&&(a.store=(0,i.createReduxStore)(e,t),(0,i.register)(a.store))}}r()(a,"store",null);const o=a},7493:(e,t,n)=>{"use strict";n.d(t,{N:()=>u,t:()=>l});var c=n(9274),r=n(925),i=n(6896),a=n(1214),o=n(9844),s=n(9462);const l="my-jetpack";function u(){a.Z.mayBeInit(l,{__experimentalUseThunks:!0,reducer:r.Z,actions:c.ZP,selectors:i.ZP,resolvers:o.Z,controls:s.Z,initialState:window.myJetpackInitialState||{}})}},8295:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(6324),r=n(8565);function i(){var e,t;const n=null===(e=window)||void 0===e||null===(t=e.myJetpackInitialState)||void 0===t?void 0:t.siteSuffix;return(0,c.Z)(r.w6,{site:n})}},8278:(e,t,n)=>{"use strict";function c(e,t){var n;const{siteSuffix:c,redirectUrl:r}=(null===(n=window)||void 0===n?void 0:n.myJetpackInitialState)||{},i=new URL("https://wordpress.com/checkout/"),a=new URL(`${i}${c}/${e}`);return a.searchParams.set("redirect_to",r),t||a.searchParams.set("unlinked",1),a.searchParams.set("site",c),a.toString()}n.d(t,{Z:()=>c})},7258:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(6324),r=n(8565);function i(){var e,t;const n=null===(e=window)||void 0===e||null===(t=e.myJetpackInitialState)||void 0===t?void 0:t.siteSuffix;return(0,c.Z)(r.f6,{site:n})}},6782:(e,t,n)=>{"use strict";function c(e){return e.replace(/([-_][a-z])/gi,(e=>e.toUpperCase().replace("_","")))}function r(e){return-1!==e.indexOf("_")}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=Object.assign({},e);for(const e in n)n.hasOwnProperty(e)&&r(e)&&(n[c(e)]=n[e],t&&delete n[e]);return n}n.d(t,{N:()=>i})},2042:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},8702:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png"},1160:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png"},5242:(e,t,n)=>{"use strict";e.exports=n.p+"images/apple-92dacafad84e79708a74.svg"},6790:(e,t,n)=>{"use strict";e.exports=n.p+"images/connect-f27775ac15cf885713c2.png"},184:(e,t,n)=>{"use strict";e.exports=n.p+"images/google-dec2a429bf1d8e83f9ad.svg"},4997:(e,t,n)=>{"use strict";e.exports=n.p+"images/wordpress-e099b30cc40508916516.png"},5610:(e,t,n)=>{"use strict";e.exports=n.p+"images/boost-a54137485af36fdffe9c.png"},4763:(e,t,n)=>{"use strict";e.exports=n.p+"images/crm-7e7684ae2c40327d8fed.png"},2605:(e,t,n)=>{"use strict";e.exports=n.p+"images/extras-26daf36507504c96d066.png"},720:(e,t,n)=>{"use strict";e.exports=n.p+"images/search-f9756bd9c926d905fe70.png"},1439:(e,t,n)=>{"use strict";e.exports=n.p+"images/videopress-9591093a9a238cc48a35.png"},4462:e=>{"use strict";if(void 0==={consumer_slug:"my_jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"my_jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"my_jetpack"}},9196:e=>{"use strict";e.exports=window.React},1850:e=>{"use strict";e.exports=window.ReactDOM},2819:e=>{"use strict";e.exports=window.lodash},6989:e=>{"use strict";e.exports=window.wp.apiFetch},5609:e=>{"use strict";e.exports=window.wp.components},9818:e=>{"use strict";e.exports=window.wp.data},9307:e=>{"use strict";e.exports=window.wp.element},5736:e=>{"use strict";e.exports=window.wp.i18n},444:e=>{"use strict";e.exports=window.wp.primitives},6483:e=>{"use strict";e.exports=window.wp.url},255:(e,t,n)=>{"use strict";function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},c.apply(this,arguments)}n.d(t,{Z:()=>c})}},t={};function n(c){var r=t[c];if(void 0!==r)return r.exports;var i=t[c]={exports:{}};return e[c](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var c=t.getElementsByTagName("script");c.length&&(e=c[c.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";var e=n(1850),t=n.n(e),c=n(9196),r=n.n(c),i=n(554),a=n(5439),o=n(6016),s=n(8966),l=n(17),u=n(7493),p=n(8093),d=n(1899);n(5878);(0,u.N)();const m=()=>{var e,t;return r().createElement(o.ZP,null,r().createElement(i.UT,null,r().createElement(a.Z5,null,r().createElement(a.AW,{path:"/",element:r().createElement(s.Z,null)}),r().createElement(a.AW,{path:"/connection",element:r().createElement(l.Z,null)}),r().createElement(a.AW,{path:"/add-anti-spam",element:r().createElement(p.q,null)}),r().createElement(a.AW,{path:"/add-backup",element:r().createElement(p.qA,null)}),r().createElement(a.AW,{path:"/add-boost",element:r().createElement(p.WJ,null)}),r().createElement(a.AW,{path:"/add-crm",element:r().createElement(p.B$,null)}),r().createElement(a.AW,{path:"/add-extras",element:r().createElement(p.Yi,null)}),r().createElement(a.AW,{path:"/add-scan",element:r().createElement(p.Q5,null)}),r().createElement(a.AW,{path:"/add-social",element:r().createElement(p.y$,null)}),r().createElement(a.AW,{path:"/add-search",element:r().createElement(p.uw,null)}),r().createElement(a.AW,{path:"/add-videopress",element:r().createElement(p.Jw,null)}),(null===(e=window)||void 0===e||null===(t=e.myJetpackInitialState)||void 0===t?void 0:t.loadAddLicenseScreen)&&r().createElement(a.AW,{path:"/add-license",element:r().createElement(d.Z,null)}))))};!function(){const e=document.getElementById("my-jetpack-container");null!==e&&t().render(r().createElement(m,null),e)}()})()})(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js.LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js.LICENSE.txt
index 0c20a875..77b8fe88 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js.LICENSE.txt
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js.LICENSE.txt
@@ -1,5 +1,35 @@
+/*
+ * Exposes number format capability
+ *
+ * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
+ * @license See CREDITS.md
+ * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
+ */
+
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
+
+/**
+ * React Router DOM v6.2.2
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */
+
+/**
+ * React Router v6.2.2
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.rtl.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.rtl.css
index bd36f5b7..2e483163 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.rtl.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.rtl.css
@@ -1 +1 @@
-.O5NYbFTsxmrm4P2SIdOC{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.rkV4U_hzC04NwXFQcTHl{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.rkV4U_hzC04NwXFQcTHl{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.rkV4U_hzC04NwXFQcTHl{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.G81E6mesnld_OhhOvz_F{grid-column-end:span 1}.SfCZpjwiu2F0KDjGIXEA{grid-column-end:span 2}.qPxwbSu_GTDTz_8jFHJD{grid-column-end:span 3}.xYAWQ0wk6FPfZOZQgFiw{grid-column-end:span 4}@media(min-width:600px){.zwZjA7ofpMucaB_UzG48{grid-column-end:span 1}.YfwKGGBEqiINFYy6ZpKM{grid-column-end:span 2}.pcHQbVFRxA_OvNRQ2OwP{grid-column-end:span 3}.U_LJMBlRZ8ItXZuvCXGg{grid-column-end:span 4}.st_7w_Ja1Gp2AgGaTysO{grid-column-end:span 5}.gQsaHmJo6Gp7Yq9IB9Sg{grid-column-end:span 6}.P0a4FWsiJJmR6bySI8QC{grid-column-end:span 7}.UxSHj7jyDp6sGKHILNRc{grid-column-end:span 8}}@media(min-width:960px){.TExt5ebNqUrEn2NzeDDh{grid-column-end:span 1}.cdwvRRac4c2djSpHfOpF{grid-column-end:span 2}.hvRpxlyFY9BQIDdEGTjg{grid-column-end:span 3}.Ev9JGJi3yKkBq6cW3Xge{grid-column-end:span 4}.mhL__tIHFH_tViX5718D{grid-column-end:span 5}.X1lGIxHHxsFl_39u4Px6{grid-column-end:span 6}.pc5UnY_DzsSDkyih78Ti{grid-column-end:span 7}.QCjBtfnG3u20FwoDd59Z{grid-column-end:span 8}.MX1aL3BeJpoSE0aXghp0{grid-column-end:span 9}.h_JAcO8a8ClV2LmTWsMz{grid-column-end:span 10}.gKlDMi0N7LOd9q8uJHi5{grid-column-end:span 11}.KZWhYB7r6TG75uJu2LsQ{grid-column-end:span 12}}@media(max-width:960px){.G6NxfG2gGwvEYb0aGdPJ{display:none}}@media(max-width:600px){.aceZPGfrg7IoR0Vu7ZJg{display:none}}.MZSHJVi991kNJhn_Xnip{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);display:block;margin:32px 0;padding:16px 24px 16px 64px;position:relative;text-decoration:none}.MZSHJVi991kNJhn_Xnip span{display:block}.MZSHJVi991kNJhn_Xnip span:last-of-type{font-weight:600}.MZSHJVi991kNJhn_Xnip:focus span:last-of-type,.MZSHJVi991kNJhn_Xnip:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.MZSHJVi991kNJhn_Xnip:focus:after,.MZSHJVi991kNJhn_Xnip:hover:after{transform:translateY(-50%) translateX(-8px)}.MZSHJVi991kNJhn_Xnip:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.EZ590eIMC5y_t1_gWRua{margin-right:-20px}.BYzOly4G7Gry9wdRH0AY{background-color:#fff;padding:40px 0}.iwMEh2CwJ_r23Y9sVcJ1,.O8YnwnZegI89S2Q3k5Qn{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.EC1Yirv2kOgRU77F2XRd{grid-column-end:span 1}.FHZqFvZXEDJ9mpOm7CeY{grid-column-end:span 2}.VOmONLKUkcSrIRYmX6YZ{grid-column-end:span 3}.eECO55N5YGkBB3tKa0If{grid-column-end:span 4}@media(min-width:600px){.u3ZB3zRkuglILO6FSIrx{grid-column-end:span 1}.iZnPl6piWO_GqHn16XKi{grid-column-end:span 2}.WWctfqi1wHZDWrue8GIt{grid-column-end:span 3}.p678NN_M0K78Kpprfndu{grid-column-end:span 4}._6D2TXtGKmepmwrxSf5DW{grid-column-end:span 5}.cWORs5VDjuStXsiVPtiO{grid-column-end:span 6}.yJsc8qt82L9miwDoe2Y2{grid-column-end:span 7}.hD6bXWfNn5elhKCaBFTD{grid-column-end:span 8}}@media(min-width:960px){.k9j6XIJdXbQ5YNyU8sNH{grid-column-end:span 1}.TnVGX0JHm_muRRcmYYwV{grid-column-end:span 2}.VILIswQXi8XzNJ3BqePc{grid-column-end:span 3}.h7mXuoRFWMGCiWYH4Ij1{grid-column-end:span 4}.uHYkk5STnhikqYMIxtE1{grid-column-end:span 5}.E8zp8nDOvAQ7VHsXKJJw{grid-column-end:span 6}.jwOhfvvsXGTCtHfB2854{grid-column-end:span 7}.DmSEZVFn_2XNNKJGgkXw{grid-column-end:span 8}.RdgOIY1qMZ8eqAeNSGNw{grid-column-end:span 9}.XBQd6xiLipeHg0O6cf7N{grid-column-end:span 10}.JyQ6Tbn3FCHfrCEyWrAr{grid-column-end:span 11}.fzJ_qaXYWs3EWQEupbLD{grid-column-end:span 12}}@media(max-width:960px){.LE2ZLIt_Y0slsr6TSmqe{display:none}}@media(max-width:600px){.vYxwZbK_covZoLjDe3BM{display:none}}.fmzqGXmbTSiUblRujgqB{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);display:block;margin:32px 0;padding:16px 24px 16px 64px;position:relative;text-decoration:none}.fmzqGXmbTSiUblRujgqB span{display:block}.fmzqGXmbTSiUblRujgqB span:last-of-type{font-weight:600}.fmzqGXmbTSiUblRujgqB:focus span:last-of-type,.fmzqGXmbTSiUblRujgqB:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.fmzqGXmbTSiUblRujgqB:focus:after,.fmzqGXmbTSiUblRujgqB:hover:after{transform:translateY(-50%) translateX(-8px)}.fmzqGXmbTSiUblRujgqB:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.HwO79godDUI97Xub9ey4{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.HwO79godDUI97Xub9ey4{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.HwO79godDUI97Xub9ey4{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.WcIPVMUrQMdwzisuVSh7{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.Nxx7T20LwPUQPXCSDMfA{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.Nxx7T20LwPUQPXCSDMfA{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.Nxx7T20LwPUQPXCSDMfA{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.MnTtKIHRyzXYoesgRCgm{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);display:block;margin:32px 0;padding:16px 24px 16px 64px;position:relative;text-decoration:none}.MnTtKIHRyzXYoesgRCgm span{display:block}.MnTtKIHRyzXYoesgRCgm span:last-of-type{font-weight:600}.MnTtKIHRyzXYoesgRCgm:focus span:last-of-type,.MnTtKIHRyzXYoesgRCgm:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.MnTtKIHRyzXYoesgRCgm:focus:after,.MnTtKIHRyzXYoesgRCgm:hover:after{transform:translateY(-50%) translateX(-8px)}.MnTtKIHRyzXYoesgRCgm:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.mmVmo1nZYrRywmnSKQFx{grid-column-end:span 1}.UrIp26XpdUSMJft8YxdC{grid-column-end:span 2}.pMXlFWglEDyK6MbwJ8sX{grid-column-end:span 3}.P5H1ohz9m5_rEqZFAkFm{grid-column-end:span 4}@media(min-width:600px){.ofLUn8LwR3LLeWl8tPdU{grid-column-end:span 1}.fq1Z8JYbcrrXavvSfzKk{grid-column-end:span 2}.jq9gui11HqTDfI7tXH1d{grid-column-end:span 3}.mVYkSRC7j44WiWLZHOnM{grid-column-end:span 4}.S3wOGmx7YLTrqz_bcLth{grid-column-end:span 5}.Y3GW3wokLgm9jnX78Uwk{grid-column-end:span 6}.ShMEdZjpjdYj7mCQzrSO{grid-column-end:span 7}.nfBAID75QGC1VZ8t0RfR{grid-column-end:span 8}}@media(min-width:960px){.Vr2EQcrmKOPJtFU72Vv2{grid-column-end:span 1}.CTS6MNweODFo4ZxcT0iV{grid-column-end:span 2}.XTISRluUo3o5xxnPNu09{grid-column-end:span 3}.c_EtRaSOJafAl5r9WkBm{grid-column-end:span 4}.HcpW_q5aO8Bf_ngIjyjv{grid-column-end:span 5}.XF3r0hMrFrrmxH5TJee0{grid-column-end:span 6}.Jl9ognyJ9XOZ6g0BTzLf{grid-column-end:span 7}._8w8oD2R9CVt9AU4PvUy{grid-column-end:span 8}.ltOXxurwUtxy7XIR_loo{grid-column-end:span 9}.bKUzzGEJ3wCoAOZZvVCK{grid-column-end:span 10}.GltQVCPa1x4tZ7sWFg1v{grid-column-end:span 11}.UzWicuFiKrGgMEjmRAFA{grid-column-end:span 12}}@media(max-width:960px){.CDwHAcVQxDeV2mFXS1Dz{display:none}}@media(max-width:600px){.sr1184KrdJ0UtgNsMQnR{display:none}}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-right:5px}.K6gniZequRm1zBi4xa2G{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.vickZxEIl6kGZp7KkFYF{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.vickZxEIl6kGZp7KkFYF{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.vickZxEIl6kGZp7KkFYF{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.U2ZD1antXfCcQlBdFwyw{grid-column-end:span 1}.caLSPVQ3JP3b2Ia68Seq{grid-column-end:span 2}.h6FKJdwoY_zIXh6pEj1U{grid-column-end:span 3}.GkjDOzh_5n5VxKrqEW_I{grid-column-end:span 4}@media(min-width:600px){.V2HSxZHesNOXMBWOmdFG{grid-column-end:span 1}.i3fz9zvErDyXYherb6Ew{grid-column-end:span 2}._3bKcKfanUgurPMcHEiV{grid-column-end:span 3}.U44hqBGsmVA1lI9R2ZnH{grid-column-end:span 4}.AzaRYYQQYJjKUF9D87mw{grid-column-end:span 5}.sag3QKXTxIQXPPjmbrAl{grid-column-end:span 6}.ifY5fUWFNROS_F7Jys9v{grid-column-end:span 7}.nZFgLvw9LsUJnEViXnJZ{grid-column-end:span 8}}@media(min-width:960px){.Tqir6CbiyHOgYmsAgY57{grid-column-end:span 1}.VeVLz3DEagxiXMMPEOCe{grid-column-end:span 2}.G3R07cw2eP3D3juW3A3l{grid-column-end:span 3}.eQ3UseyneBNu_ZLuqSzg{grid-column-end:span 4}.VlgV8xjgkGoOLJShoyNM{grid-column-end:span 5}.DJCwqamaIDFQoj0jEgBc{grid-column-end:span 6}.CxtXPQUYJfNUQVn3y2y_{grid-column-end:span 7}.BroOgbyuFxoSv48H70B5{grid-column-end:span 8}.KnUcRFDSsxeb_z46ajNY{grid-column-end:span 9}.bXiAAxiM2mhcI43ET0pp{grid-column-end:span 10}.ipYVW2jwG2cFjIHpnQk2{grid-column-end:span 11}.KcREgfiJ4ix9nAvNAXqQ{grid-column-end:span 12}}@media(max-width:960px){.qSfEJeFAh4WmcPtmo8qe{display:none}}@media(max-width:600px){._RxxiRFsUS3nYTZhkprA{display:none}}.RSw9xhnEr8xpkX3hPPaM{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);display:block;margin:32px 0;padding:16px 24px 16px 64px;position:relative;text-decoration:none}.RSw9xhnEr8xpkX3hPPaM span{display:block}.RSw9xhnEr8xpkX3hPPaM span:last-of-type{font-weight:600}.RSw9xhnEr8xpkX3hPPaM:focus span:last-of-type,.RSw9xhnEr8xpkX3hPPaM:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.RSw9xhnEr8xpkX3hPPaM:focus:after,.RSw9xhnEr8xpkX3hPPaM:hover:after{transform:translateY(-50%) translateX(-8px)}.RSw9xhnEr8xpkX3hPPaM:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.kEBaF5NOHtQsQn5jfOEA{background:var(--jp-white-off);padding:48px 0 64px}.kEBaF5NOHtQsQn5jfOEA h1,.kEBaF5NOHtQsQn5jfOEA h2,.kEBaF5NOHtQsQn5jfOEA h3,.kEBaF5NOHtQsQn5jfOEA h4,.kEBaF5NOHtQsQn5jfOEA h5,.kEBaF5NOHtQsQn5jfOEA h6{line-height:1.2;margin-top:0}._UqttTwRJeajPRpRGZPJ{background-color:#fff;padding:64px 0}._UqttTwRJeajPRpRGZPJ h1,._UqttTwRJeajPRpRGZPJ h2,._UqttTwRJeajPRpRGZPJ h3,._UqttTwRJeajPRpRGZPJ h4,._UqttTwRJeajPRpRGZPJ h5,._UqttTwRJeajPRpRGZPJ h6{line-height:1.2;margin-top:0}.jp-connection-status-card h3{color:var(--jp-black);font-size:36px;font-weight:400;line-height:40px;margin:0}.jp-connection-status-card a,.jp-connection-status-card a:active,.jp-connection-status-card a:hover{color:var(--jp-black)}.jp-connection-status-card p{color:var(--jp-black);margin:16px 0}.jp-connection-status-card a,.jp-connection-status-card li,.jp-connection-status-card p{font-size:16px;line-height:24px}.jp-connection-status-card--status{align-items:center;display:flex;margin:24px -6px 24px 0}.jp-connection-status-card--cloud{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PG1hc2sgaWQ9ImEiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjciIHk9IjkiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyMSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zMC4zMzMgMTcuNjk3di0uMDhjMC00LjI1My0zLjc2LTcuNy04LjQtNy43LTMuOTE2IDAtNy4yMDYgMi40NTctOC4xMzYgNS43OGE2LjM4NiA2LjM4NiAwIDAgMC0uMjY0LS4wMDVDOS45MjUgMTUuNjkyIDcgMTguNzA4IDcgMjIuNDI5czIuOTI1IDYuNzM4IDYuNTMzIDYuNzM4SDI5LjRjMy4wOTMgMCA1LjYtMi41ODYgNS42LTUuNzc1IDAtMi44NjEtMi4wMTgtNS4yMzctNC42NjYtNS42OTVaIiBmaWxsPSIjZmZmIi8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGQ9Im0zMC4zMzMgMTcuNjk3LTIuNjI1LS4wMy0uMDI1IDIuMjM1IDIuMjAyLjM4MS40NDgtMi41ODZabS0xNi41MzctMi0uMTA3IDIuNjIzIDIuMDc1LjA4NS41Ni0yLTIuNTI4LS43MDhabS0uMjYzIDEzLjQ3djIuNjI1aC4wMDhsLS4wMDgtMi42MjVabS4wNCAwdi0yLjYyNWgtLjAwOWwuMDA4IDIuNjI1Wm0xNS43OTUgMCAuMDE1LTIuNjI1aC0uMDE1djIuNjI1Wm0zLjU5LTExLjQ0MXYtLjExaC01LjI1di4wNTJsNS4yNS4wNThabTAtLjExYzAtNS45MTItNS4xNTUtMTAuMzI0LTExLjAyNS0xMC4zMjR2NS4yNWMzLjQxIDAgNS43NzUgMi40ODIgNS43NzUgNS4wNzVoNS4yNVpNMjEuOTMzIDcuMjkzYy00Ljk4NCAwLTkuMzg4IDMuMTM5LTEwLjY2NCA3LjY5OGw1LjA1NSAxLjQxNWMuNTg1LTIuMDg5IDIuNzYyLTMuODYzIDUuNjEtMy44NjN2LTUuMjVabS04LjAzIDUuNzgyYTkuMTExIDkuMTExIDAgMCAwLS4zNy0uMDA3djUuMjVjLjA1MyAwIC4xMDUuMDAxLjE1Ni4wMDNsLjIxNS01LjI0NlptLS4zNy0uMDA3Yy01LjEzMyAwLTkuMTU4IDQuMjY4LTkuMTU4IDkuMzYyaDUuMjVjMC0yLjM0OCAxLjgyNS00LjExMiAzLjkwOC00LjExMnYtNS4yNVptLTkuMTU4IDkuMzYyYzAgNS4wOTUgNC4wMjUgOS4zNjMgOS4xNTggOS4zNjN2LTUuMjVjLTIuMDgzIDAtMy45MDgtMS43NjUtMy45MDgtNC4xMTNoLTUuMjVabTkuMTY2IDkuMzYzaC4wNGwtLjAxNy01LjI1aC0uMDM5bC4wMTYgNS4yNVptLjAzMSAwaDE1Ljc5NnYtNS4yNUgxMy41NzJ2NS4yNVptMTUuODI3LTUuMjVoLS4wMTZsLS4wMyA1LjI1aC4wNDZ2LTUuMjVabTIuOTc1LTMuMTVjMCAxLjgxNi0xLjQwNyAzLjE1LTIuOTc1IDMuMTV2NS4yNWM0LjYxOCAwIDguMjI1LTMuODM4IDguMjI1LTguNGgtNS4yNVptLTIuNDg5LTMuMTA5YzEuMzU1LjIzNSAyLjQ5IDEuNDg4IDIuNDkgMy4xMDloNS4yNWMwLTQuMTAyLTIuOTAyLTcuNi02Ljg0NC04LjI4MmwtLjg5NiA1LjE3M1oiIGZpbGw9IiMxRTFFMUUiLz48L2c+PC9zdmc+);height:42px;margin-left:4px;width:42px}.jp-connection-status-card--jetpack-logo{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDMyYzguODM3IDAgMTYtNy4xNjMgMTYtMTZTMjQuODM3IDAgMTYgMCAwIDcuMTYzIDAgMTZzNy4xNjMgMTYgMTYgMTZaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTE2Ljc5NCAxMy4zMTN2MTUuNTExbDgtMTUuNTEyaC04Wk0xNS4xNzUgMTguNjU3VjMuMTc2bC03Ljk2OSAxNS40OGg3Ljk3WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);height:32px;margin-right:11px;width:32px}.jp-connection-status-card--btn-connect-user{background:var(--jp-black)!important;border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection-status-card--avatar{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.498 27.123C6.038 24.165 10.916 21.5 16 21.5c5.084 0 9.963 2.665 11.502 5.623a15.952 15.952 0 0 1-11.257 4.875L16 32l-.245-.002a15.952 15.952 0 0 1-11.257-4.875zM16 8a6 6 0 1 1 0 12 6 6 0 0 1 0-12z' fill='%23A2AAB2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;border:0;border-radius:20px;height:32px;margin-right:-10px;width:32px}.jp-connection-status-card--line{border-top:2px solid var(--jp-black);height:0;width:67px}.jp-connection-status-card--line.jp-connection-status-card--site-only{border-top-style:dashed}.jp-connection-status-card--list{list-style-type:none;margin:16px 0}.jp-connection-status-card--list li{color:var(--jp-black);margin:0 -3px 8px 0;padding-right:25px}.jp-connection-status-card--list-item-success{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE4LjkzNSA2LTguOSAxMS45Ny01LjE2Mi0zLjgzNyIgc3Ryb2tlPSIjMUUxRTFFIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==) no-repeat 100% 0}.jp-connection-status-card--list-item-error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red)!important}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,transparent,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;position:absolute;right:0;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-left:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:right}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-right:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:right;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-left:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:left}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-left:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:0;margin-right:1rem}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;position:absolute;right:24px;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-20:#a7aaad;--jp-gray-40:#787c82;--jp-gray-50:#646970;--jp-gray-60:#50575e;--jp-gray-80:#8a2424;--jp-gray-off:#e2e2df;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:right;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-left:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;left:1.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-left:40px} \ No newline at end of file
+#my-jetpack-container{--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);height:100%}#my-jetpack-container .jetpack-logo{height:40px}#my-jetpack-container .jp-dashboard-footer__jetpack-symbol{height:16px}#wpbody-content>.notice{display:none}.pIsYsXFAJ9KX2VrS5rmY{--actions-size:28px;--status-size:8px;background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 0 40px rgba(0,0,0,.08);box-shadow:0 0 0 1px var(--jp-gray-10) inset;display:flex;flex-direction:column;height:100%;padding:calc(var(--spacing-base)*3)}.pIsYsXFAJ9KX2VrS5rmY.YXHdD0VsFjiTsVRLrrx9{background:none;background-color:var(--jp-white-off);color:var(--jp-black-80);text-decoration:none}.pIsYsXFAJ9KX2VrS5rmY.YXHdD0VsFjiTsVRLrrx9:hover{background-color:var(--jp-white)}.pIsYsXFAJ9KX2VrS5rmY.YXHdD0VsFjiTsVRLrrx9:hover .ehgY0qp6bl53RaxP5rFF{text-decoration-thickness:var(--jp-underline-thickness)}.pIsYsXFAJ9KX2VrS5rmY.YXHdD0VsFjiTsVRLrrx9:focus{background-color:var(--jp-white);box-shadow:0 0 0 1.5px var(--jp-black);outline:3px solid transparent}.pIsYsXFAJ9KX2VrS5rmY.Pp9cMIaESLYelLOX3tkI{box-shadow:0 0 0 1.5px var(--jp-red-60)}.w56ueQLYexqzTybA7015{align-items:center;display:flex;justify-content:space-between;margin-bottom:var(--spacing-base);width:100%}.gmPKCDKZcfQt9WieTyKS{flex-grow:1}.ZKHHfl5DhA9kUnaL0qQZ{border-radius:var(--jp-border-radius);font-size:var(--font-body-extra-small);height:var(--actions-size);line-height:var(--actions-size)}.fDBaV7I4yUO6w5AWVEtr{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:calc(var(--spacing-base)*2);min-height:var(--actions-size);width:100%}.ehgY0qp6bl53RaxP5rFF{text-decoration:underline}.f5VJYwuJmjxH8PVxEbbv{align-items:center;display:flex;height:var(--actions-size);margin-right:var(--spacing-base);white-space:nowrap}.f5VJYwuJmjxH8PVxEbbv:before{border-radius:50%;content:"";display:inline-block;height:var(--status-size);margin-left:var(--spacing-base);width:var(--status-size)}.f5VJYwuJmjxH8PVxEbbv.ry3pxoGtmQ0ZeSwp7F_3{color:var(--jp-green-50)}.f5VJYwuJmjxH8PVxEbbv.ry3pxoGtmQ0ZeSwp7F_3:before{background:var(--jp-green-50)}.f5VJYwuJmjxH8PVxEbbv.LZzE3EG7m3CDR46wwwEr{color:var(--jp-gray-50)}.f5VJYwuJmjxH8PVxEbbv.LZzE3EG7m3CDR46wwwEr:before{background:var(--jp-gray-50)}.f5VJYwuJmjxH8PVxEbbv.Vx_jpT02r8W6NfsRSB02{color:var(--jp-red-60)}.f5VJYwuJmjxH8PVxEbbv.Vx_jpT02r8W6NfsRSB02:before{background:var(--jp-red-60)}.f5VJYwuJmjxH8PVxEbbv.PdsJCfyyjSgrNDheF2qi:before{animation:dWP7ypkVXudMbAa38W5Z .5s linear infinite}@keyframes dWP7ypkVXudMbAa38W5Z{0%{opacity:0}50%{opacity:.5}to{opacity: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-size:var(--font-title-medium);font-weight:500;line-height:32px}.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-size:var(--font-body-extra-small);font-weight:400;line-height:20px}.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-left:calc(var( --spacing-base )*0)}.ODX5Vr1TARoLFkDDFooD{margin-bottom:calc(var( --spacing-base )*0)}.cphJ8dCpfimnky7P2FHg{margin-right: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-left:calc(var( --spacing-base )*1)}.hfqOWgq6_MEGdFE82eOY{margin-bottom:calc(var( --spacing-base )*1)}.I8MxZQYTbuu595yfesWA{margin-right: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-left:calc(var( --spacing-base )*2)}.Db8lbak1_wunpPk8NwKU{margin-bottom:calc(var( --spacing-base )*2)}.ftsYE5J9hLzquQ0tA5dY{margin-right: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-left:calc(var( --spacing-base )*3)}.yrVTnq_WBMbejg89c2ZQ{margin-bottom:calc(var( --spacing-base )*3)}.UKtHPJnI2cXBWtPDm5hM{margin-right: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-left:calc(var( --spacing-base )*4)}.pkDbXXXL32237M0hokEh{margin-bottom:calc(var( --spacing-base )*4)}.XXv4kDTGvEnQeuGKOPU3{margin-right: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-left:calc(var( --spacing-base )*5)}.Lvk3dqcyHbZ07QCRlrUQ{margin-bottom:calc(var( --spacing-base )*5)}.r3yQECDQ9qX0XZzXlVAg{margin-right: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-left:calc(var( --spacing-base )*6)}.t30usboNSyqfQWIwHvT3{margin-bottom:calc(var( --spacing-base )*6)}.Nm_TyFkYCMhOoghoToKJ{margin-right: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-left:calc(var( --spacing-base )*7)}.im8407m2fw5vOg7O2zsw{margin-bottom:calc(var( --spacing-base )*7)}.G0fbeBgvz2sh3uTP9gNl{margin-right: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-left:calc(var( --spacing-base )*8)}.GpL6idrXmSOM6jB8Ohsf{margin-bottom:calc(var( --spacing-base )*8)}.HbtWJoQwpgGycz8dGzeT{margin-right: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-left:calc(var( --spacing-base )*0)}.tg_UIUI11VBzrTAn2AzJ{padding-bottom:calc(var( --spacing-base )*0)}.uczvl8kaz84oPQJ2DB2R{padding-right: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-left:calc(var( --spacing-base )*1)}.WZQy2SZuZso59bUsXXyl{padding-bottom:calc(var( --spacing-base )*1)}.o331apInxNunbYB3SfPE{padding-right: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-left:calc(var( --spacing-base )*2)}.eHpLc_idmuEqeqCTvqkN{padding-bottom:calc(var( --spacing-base )*2)}.vU39i2B4P1fUTMB2l6Vo{padding-right: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-left:calc(var( --spacing-base )*3)}.Ts0dIlc3aTSL7V4cIHis{padding-bottom:calc(var( --spacing-base )*3)}.CzlqQXXhX6MvorArFZ8B{padding-right: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-left:calc(var( --spacing-base )*4)}.oGwXC3ohCic9XnAj6x69{padding-bottom:calc(var( --spacing-base )*4)}.U6gnT9y42ViPNOcNzBwb{padding-right: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-left:calc(var( --spacing-base )*5)}.vVWpZpLlWrkTt0hMk8XU{padding-bottom:calc(var( --spacing-base )*5)}.RxfaJj5a1Nt6IavEo5Zl{padding-right: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-left:calc(var( --spacing-base )*6)}.n8yA3jHlMRyLd5UIfoND{padding-bottom:calc(var( --spacing-base )*6)}.tXHmxYnHzbwtfxEaG51n{padding-right: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-left:calc(var( --spacing-base )*7)}.KVEXoJqf1s92j0JMdNmN{padding-bottom:calc(var( --spacing-base )*7)}.ZMXGNrNaKW3k_3TLz0Fq{padding-right: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-left:calc(var( --spacing-base )*8)}.Y8F9ga1TDCMbM1lj4gUz{padding-bottom:calc(var( --spacing-base )*8)}.AJuyNGrI63BOWql719H8{padding-right:calc(var( --spacing-base )*8)}.jErCC9oKHSM15BxzFyQK{margin-bottom:0}.oVoYbwbFB6U2o90Njusk{font-size:16px;margin:0}.oVoYbwbFB6U2o90Njusk.is-error{background-color:var(--jp-red-0)}.oVoYbwbFB6U2o90Njusk .components-notice__content{align-items:center;display:flex;margin:0;padding:12px 4px}.oVoYbwbFB6U2o90Njusk .components-notice__content>svg{fill:var(--jp-red-60)}.oVoYbwbFB6U2o90Njusk .is-link{color:var(--jp-black);font-size:16px;font-weight:600}.oVoYbwbFB6U2o90Njusk .components-notice__dismiss{align-self:center}.wBVXH4OTNwLHPRpN4nsq{margin-right:8px}.sexr0jUxC1jVixdKiDnC{margin-right:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-right:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1128px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;max-width:var(--max-container-width);width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-right:5px}.vMa4i_Dza2t5Zi_Bw9Nf{background:var(--jp-white-off)}.sDAzdUdcbaYmUMZBe2XW{fill:#2c3338}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:var(--color-facebook);border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:var(--color-twitter)}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:var(--color-linkedin)}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:var(--color-tumblr)}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.cAbGtJDGgLubucBnz7vM{background-color:var(--jp-white)}.wiobThfXJCuhGNrbFIT6 a,.wiobThfXJCuhGNrbFIT6 a:active,.wiobThfXJCuhGNrbFIT6 a:hover{color:var(--jp-black)}.VgAxgahF9bC2M__FiIgV{margin-bottom:calc(var(--spacing-base)*3)}.Doju0RxvvN9JS12mf489{line-height:calc(var(--spacing-base)*3);margin:0 0 var(--spacing-base) 0}.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.5px;border-radius:var(--jp-border-radius);font-weight:600;justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF{font-size:var(--font-body);height:auto;line-height:24px;padding:var(--spacing-base) calc(var(--spacing-base)*3)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF.paGLQwtPEaJmtArCcmyK{padding:var(--spacing-base) calc(var(--spacing-base)*2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14{font-size:var(--font-body-extra-small);height:auto;line-height:20px;padding:calc(var(--spacing-base)/2) var(--spacing-base)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14.paGLQwtPEaJmtArCcmyK>svg:first-child{margin-left:calc(var(--spacing-base)/2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14>.components-spinner{height:20px}.zI5tJ_qhWE6Oe6Lk75GY.lZAo6_oGfclXOO9CC6Rd{font-weight:400}.zI5tJ_qhWE6Oe6Lk75GY.is-primary:disabled,.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:disabled{background:var(--jp-gray);color:var(--jp-gray-20)}.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 1px 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 1px 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-right:calc(var(--spacing-base)/2)}.jp-connection-status-card h3{color:var(--jp-black);font-size:var(--font-title-large);font-weight:700;line-height:1.1;margin:0}.jp-connection-status-card a,.jp-connection-status-card a:active,.jp-connection-status-card a:hover{color:var(--jp-black)}.jp-connection-status-card p{color:var(--jp-black);margin:16px 0}.jp-connection-status-card a,.jp-connection-status-card li,.jp-connection-status-card p{font-size:var(--font-body);line-height:24px}.jp-connection-status-card--status{align-items:center;display:flex;margin:24px -6px 24px 0}.jp-connection-status-card--cloud{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PG1hc2sgaWQ9ImEiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjciIHk9IjkiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyMSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zMC4zMzMgMTcuNjk3di0uMDhjMC00LjI1My0zLjc2LTcuNy04LjQtNy43LTMuOTE2IDAtNy4yMDYgMi40NTctOC4xMzYgNS43OGE2LjM4NiA2LjM4NiAwIDAgMC0uMjY0LS4wMDVDOS45MjUgMTUuNjkyIDcgMTguNzA4IDcgMjIuNDI5czIuOTI1IDYuNzM4IDYuNTMzIDYuNzM4SDI5LjRjMy4wOTMgMCA1LjYtMi41ODYgNS42LTUuNzc1IDAtMi44NjEtMi4wMTgtNS4yMzctNC42NjYtNS42OTVaIiBmaWxsPSIjZmZmIi8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGQ9Im0zMC4zMzMgMTcuNjk3LTIuNjI1LS4wMy0uMDI1IDIuMjM1IDIuMjAyLjM4MS40NDgtMi41ODZabS0xNi41MzctMi0uMTA3IDIuNjIzIDIuMDc1LjA4NS41Ni0yLTIuNTI4LS43MDhabS0uMjYzIDEzLjQ3djIuNjI1aC4wMDhsLS4wMDgtMi42MjVabS4wNCAwdi0yLjYyNWgtLjAwOWwuMDA4IDIuNjI1Wm0xNS43OTUgMCAuMDE1LTIuNjI1aC0uMDE1djIuNjI1Wm0zLjU5LTExLjQ0MXYtLjExaC01LjI1di4wNTJsNS4yNS4wNThabTAtLjExYzAtNS45MTItNS4xNTUtMTAuMzI0LTExLjAyNS0xMC4zMjR2NS4yNWMzLjQxIDAgNS43NzUgMi40ODIgNS43NzUgNS4wNzVoNS4yNVpNMjEuOTMzIDcuMjkzYy00Ljk4NCAwLTkuMzg4IDMuMTM5LTEwLjY2NCA3LjY5OGw1LjA1NSAxLjQxNWMuNTg1LTIuMDg5IDIuNzYyLTMuODYzIDUuNjEtMy44NjN2LTUuMjVabS04LjAzIDUuNzgyYTkuMTExIDkuMTExIDAgMCAwLS4zNy0uMDA3djUuMjVjLjA1MyAwIC4xMDUuMDAxLjE1Ni4wMDNsLjIxNS01LjI0NlptLS4zNy0uMDA3Yy01LjEzMyAwLTkuMTU4IDQuMjY4LTkuMTU4IDkuMzYyaDUuMjVjMC0yLjM0OCAxLjgyNS00LjExMiAzLjkwOC00LjExMnYtNS4yNVptLTkuMTU4IDkuMzYyYzAgNS4wOTUgNC4wMjUgOS4zNjMgOS4xNTggOS4zNjN2LTUuMjVjLTIuMDgzIDAtMy45MDgtMS43NjUtMy45MDgtNC4xMTNoLTUuMjVabTkuMTY2IDkuMzYzaC4wNGwtLjAxNy01LjI1aC0uMDM5bC4wMTYgNS4yNVptLjAzMSAwaDE1Ljc5NnYtNS4yNUgxMy41NzJ2NS4yNVptMTUuODI3LTUuMjVoLS4wMTZsLS4wMyA1LjI1aC4wNDZ2LTUuMjVabTIuOTc1LTMuMTVjMCAxLjgxNi0xLjQwNyAzLjE1LTIuOTc1IDMuMTV2NS4yNWM0LjYxOCAwIDguMjI1LTMuODM4IDguMjI1LTguNGgtNS4yNVptLTIuNDg5LTMuMTA5YzEuMzU1LjIzNSAyLjQ5IDEuNDg4IDIuNDkgMy4xMDloNS4yNWMwLTQuMTAyLTIuOTAyLTcuNi02Ljg0NC04LjI4MmwtLjg5NiA1LjE3M1oiIGZpbGw9IiMxRTFFMUUiLz48L2c+PC9zdmc+);height:42px;margin-left:4px;width:42px}.jp-connection-status-card--jetpack-logo{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDMyYzguODM3IDAgMTYtNy4xNjMgMTYtMTZTMjQuODM3IDAgMTYgMCAwIDcuMTYzIDAgMTZzNy4xNjMgMTYgMTYgMTZaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTE2Ljc5NCAxMy4zMTN2MTUuNTExbDgtMTUuNTEyaC04Wk0xNS4xNzUgMTguNjU3VjMuMTc2bC03Ljk2OSAxNS40OGg3Ljk3WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);height:32px;margin-right:11px;width:32px}.jp-connection-status-card--btn-connect-user{font-size:var(--font-body);font-weight:400;line-height:24px}.jp-connection-status-card--avatar{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.498 27.123C6.038 24.165 10.916 21.5 16 21.5c5.084 0 9.963 2.665 11.502 5.623a15.952 15.952 0 0 1-11.257 4.875L16 32l-.245-.002a15.952 15.952 0 0 1-11.257-4.875zM16 8a6 6 0 1 1 0 12 6 6 0 0 1 0-12z' fill='%23A2AAB2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;border:0;border-radius:20px;height:32px;margin-right:-10px;width:32px}.jp-connection-status-card--line{border-top:2px solid var(--jp-black);height:0;width:67px}.jp-connection-status-card--line.jp-connection-status-card--site-only{border-top-style:dashed}.jp-connection-status-card--list{list-style-type:none;margin:16px 0}.jp-connection-status-card--list li{color:var(--jp-black);margin:0 -3px 8px 0;padding-right:25px}.jp-connection-status-card--list-item-success{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE4LjkzNSA2LTguOSAxMS45Ny01LjE2Mi0zLjgzNyIgc3Ryb2tlPSIjMUUxRTFFIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==) no-repeat 100% 0}.jp-connection-status-card--list-item-error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red-60)!important}.jp-connection-status-card--list-item-info{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjMDAwIi8+PC9zdmc+) no-repeat 100% 0}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,transparent,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;position:absolute;right:0;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-left:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:right}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-right:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:right;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-left:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:left}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-left:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:0;margin-right:1rem}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,<svg width="38" height="8" viewBox="0 0 38 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7C1 7 2.37087 1 6.89831 1C11.4257 1 14.3709 7 18.8983 7C23.4257 7 26.7777 1 31.3051 1C35.912 1 37 7 37 7" stroke="white" stroke-width="1.5" stroke-linejoin="round"/></svg>');content:"";display:block;height:8px;position:absolute;right:24px;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8,<svg width="34" height="37" viewBox="0 0 34 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.3335 10.001H25.0002C29.4184 10.001 33.0002 13.5827 33.0002 18.001V19.7788C33.0002 24.197 29.4184 27.7788 25.0002 27.7788H22.3335" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M11.6675 27.7783L9.00082 27.7783C4.58254 27.7783 1.00081 24.1966 1.00081 19.7783L1.00081 18.0005C1.00081 13.5823 4.58253 10.0005 9.00081 10.0005L11.6675 10.0005" stroke="white" stroke-width="1.5" stroke-linecap="square"/> <path d="M10.9998 19.167L16.9998 19.167" stroke="white" stroke-width="1.5"/> <path d="M8.99951 35.998L24.9995 0.998048" stroke="white"/> </svg>')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid transparent;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:right;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-left:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;left:1.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:transparent;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-left:40px}.zvd4dCB_bBDiXJKKDqXm{position:relative}.ly4o9lSswAGHFXqGUEIO{left:32px;position:absolute;top:32px;z-index:1}.u64Go3kwEZ7MD9eji0H1{color:var(--jp-gray-50);font-size:13px;margin-bottom:16px;width:60%}._RT41NE3LU4R0ubcij2y{align-items:center;display:flex}.cFGWJeRiGHjAr8D7CWJW{margin-left:8px;width:100px}.Iz3l7a05TP6HK9S92TIL{width:16px}.lmQ0wFmnk4kKkGVjokPA{height:18px;margin-right:8px}.AoIs8wD92wKR8RpQj6Uc{align-items:center;display:inline-flex}.rV_5QyvhDnsVjCX4pb0h{--gray-90:#1e1e1e;fill:var(--gray-90);width:24px}.MO1jDNY8VPqeNS9xL8jE{align-items:center;display:flex;text-decoration:none}.jp-connection__connect-screen__loading{display:none}.jp-connection__connect-screen__tos{margin-top:28px;max-width:360px}.jp-connection__connect-screen .jp-action-button{margin-top:40px}.jp-connection__connect-screen .jp-action-button button{max-width:100%}.jp-connection__connect-screen .jp-action-button button:disabled{color:hsla(0,0%,100%,.4)}@media(max-width:782px){.jp-connection__connect-screen .jp-action-button button{max-width:none;width:100%}}.jp-connection__connect-screen__footer{margin-top:32px}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-right:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red)!important;line-height:25px!important;padding-right:25px}.SWwV4Pw6OZ5vU3PqPXmr{--product-card-shadow:rgb(0 0 0/3%);background-color:var(--jp-white);border:1px solid var(--jp-gray);border-radius:var(--jp-border-radius);box-shadow:0 2px 6px var(--product-card-shadow),0 1px 2px var(--product-card-shadow)}.r7tUofa9Z3A5ziKVR1H7{align-items:center;display:flex}.r7tUofa9Z3A5ziKVR1H7 img{object-fit:cover;width:100%}.hdasSNj9k3Sc5PwXK4uE{margin-left:4px;width:16px}.eWN8Hj0SBRDq1F48n_Fg{--gray-70:#3c434a;align-items:center;color:var(--gray-70);display:flex;font-size:14px;text-decoration:none}.q0T8YyQxRawhpDtvJjxI{background-color:var(--jp-white);height:100%;padding:calc(var(--spacing-base)*8);position:relative}.B7JDqI_vtKxSy5GjvqA1{display:flex;flex-direction:column;height:100%}.zj7xadmhIWeuf7ZwvVTS{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius) var(--jp-border-radius) 0 0;color:var(--jp-white);display:flex;height:calc(var(--spacing-base)*4);padding:0 var(--spacing-base);position:absolute;right:0;top:0;width:100%}.GsioW6IsC8EMYE3U6788{fill:var(--jp-white);margin-left:var(--spacing-base)}.cfEO8udWbRGPFJzW8Jg5,.dbz07JqxOlivjKO4vBEF{align-items:center;display:flex;height:calc(var(--spacing-base)*4);margin-bottom:calc(var(--spacing-base)*4)}.zlh3zbjUe4Z8cBs7uVVe{fill:#8c8f94;height:24px;line-height:24px}.qoZuzG5EcDa231hC6t0P{align-items:center;display:flex;justify-content:center}.qoZuzG5EcDa231hC6t0P svg{margin-left:var(--spacing-base)}.Q6uUUQCPWS6_6nLxIn68{display:inline-block;min-height:42px;padding:8px 60px;text-align:center;width:100%}.Q6uUUQCPWS6_6nLxIn68 .YU4iBCRze09ZP3iCsdcb{margin:0}.Q6uUUQCPWS6_6nLxIn68.is-secondary:hover:not(:disabled){background-color:var(--jp-black);color:var(--jp-white)}.Q1jaYDpa2AVfJpA29wT0{flex-grow:1;margin:0;margin-bottom:calc(var(--spacing-base)*2);padding:0}.Q1jaYDpa2AVfJpA29wT0 li{align-items:start;display:flex;list-style:none;margin-bottom:var(--spacing-base)}.Q1jaYDpa2AVfJpA29wT0 svg{fill:var(--jp-green-primary);flex-shrink:0;margin-left:var(--spacing-base)}.xgv3jRkeF39aEQELCwru{align-items:flex-end;color:var(--jp-text-color);display:flex;flex-wrap:wrap}.twlleZ5Ehq4bB7CvKVSW{position:relative}.twlleZ5Ehq4bB7CvKVSW:first-child{margin-left:calc(var(--spacing-base)*2)}.twlleZ5Ehq4bB7CvKVSW.Qg4rPEvXsqmod1s_31d8{color:var(--jp-gray-20)}.twlleZ5Ehq4bB7CvKVSW.Qg4rPEvXsqmod1s_31d8:after{background:var(--jp-red);border-radius:var(--jp-border-radius);content:" ";display:block;height:3px;margin-top:-2px;pointer-events:none;position:absolute;top:50%;width:100%}.ApsgxIornVy_3KnciVeJ{color:var(--jp-gray-40);margin-bottom:calc(var(--spacing-base)*3)}.NMxcZL17aEP7v81uG3zD{margin-top:calc(var(--spacing-base)*5)}.jp-license-activation-screen-controls{background:var(--jp-white);display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-controls h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-controls p{font-size:var(--font-body);margin:1em 0}.jp-license-activation-screen-controls label{font-size:var(--font-body);font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-controls{padding:64px}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field label,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error label{font-size:var(--font-body);font-weight:600}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border-radius:var(--jp-border-radius);font-size:18px;line-height:24px;margin:0;min-height:48px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border:1px solid var(--jp-gray-40)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input{border:1px solid var(--jp-red)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error{align-items:start;color:var(--jp-red);display:flex;flex-direction:row}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error svg{fill:var(--jp-red);margin-left:4px;min-width:24px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-error span{font-size:var(--font-body)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{background-color:var(--jp-black);border-radius:4px;color:var(--jp-white);display:flex;font-size:16px;font-size:var(--font-body);font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin-top:24px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{width:auto}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:hover,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:hover{background-color:var(--jp-black-80);color:var(--jp-white)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:focus,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:focus{background-color:var(--jp-black-80);border:1px solid var(--jp-white);color:var(--jp-white)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active[disabled],.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:disabled,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button[disabled]{background-color:var(--jp-gray);color:var(--jp-gray-20)}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button .jp-components-spinner,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active .jp-components-spinner{width:100%}@keyframes rotate-spinner{to{transform:rotate(-1turn)}}.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 transparent;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-left-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.jp-license-activation-screen-illustration{align-items:center;background:var(--jp-white-off);display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-illustration--wrapper{display:flex;flex:1}.jp-license-activation-screen-illustration--wrapper img{align-self:center;height:auto;max-width:100%}.jp-license-activation-screen-illustration--support-link{flex:0}.jp-license-activation-screen-success-info--product-details h1{line-height:52px}.jp-license-activation-screen-success-info--product-details a{color:var(--jp-black);text-decoration:underline!important}.jp-license-activation-screen-success-info--external-link{color:var(--jp-black);font-size:16px;font-style:normal;font-weight:600;text-decoration:underline!important;white-space:nowrap}.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{background-color:var(--jp-black);border-radius:4px;color:var(--jp-white);font-size:16px;font-size:var(--font-body);font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin:0 0 20px 40px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.components-button.jp-license-activation-screen-success-info--button,.components-button.jp-license-activation-screen-success-info--button:active,.components-button.jp-license-activation-screen-success-info--button:visited{width:auto}}.components-button.jp-license-activation-screen-success-info--button:active:hover,.components-button.jp-license-activation-screen-success-info--button:hover,.components-button.jp-license-activation-screen-success-info--button:visited:hover{background-color:var(--jp-black-80);color:var(--jp-white)}.components-button.jp-license-activation-screen-success-info--button:active:focus,.components-button.jp-license-activation-screen-success-info--button:focus,.components-button.jp-license-activation-screen-success-info--button:visited:focus{background-color:var(--jp-black-80);border:1px solid var(--jp-white);color:var(--jp-white)}.components-button.jp-license-activation-screen-success-info--button:active:disabled,.components-button.jp-license-activation-screen-success-info--button:active[disabled],.components-button.jp-license-activation-screen-success-info--button:disabled,.components-button.jp-license-activation-screen-success-info--button:visited:disabled,.components-button.jp-license-activation-screen-success-info--button:visited[disabled],.components-button.jp-license-activation-screen-success-info--button[disabled]{background-color:var(--jp-gray);color:var(--jp-gray-20)}.components-button.jp-license-activation-screen-success-info--button .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:active .jp-components-spinner,.components-button.jp-license-activation-screen-success-info--button:visited .jp-components-spinner{width:100%}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}*{box-sizing:border-box}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{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-license-activation-screen-success-info{background:var(--jp-white);display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-success-info h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-success-info p{font-size:var(--font-body);margin:1em 0}.jp-license-activation-screen-success-info label{font-size:var(--font-body);font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-success-info{padding:64px}}@media screen and (max-width:480px){.jp-license-activation-screen-success-info .jp-license-activation-screen-success-info--buttons{text-align:center}}.jp-license-activation-screen{border-radius:4px;box-shadow:0 4px 24px 0 #00000026;display:flex;flex-direction:column;min-height:540px;overflow:hidden}@media screen and (min-width:780px){.jp-license-activation-screen{flex-direction:row}} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php
index 94f18ca4..03dac442 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php
@@ -9,7 +9,14 @@ namespace Automattic\Jetpack\My_Jetpack;
use Automattic\Jetpack\Admin_UI\Admin_Menu;
use Automattic\Jetpack\Assets;
+use Automattic\Jetpack\Connection\Client as Client;
use Automattic\Jetpack\Connection\Initial_State as Connection_Initial_State;
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Connection\Rest_Authentication as Connection_Rest_Authentication;
+use Automattic\Jetpack\Licensing;
+use Automattic\Jetpack\Status as Status;
+use Automattic\Jetpack\Terms_Of_Service;
+use Automattic\Jetpack\Tracking;
/**
* The main Initializer class that registers the admin menu and eneuque the assets.
@@ -17,20 +24,35 @@ use Automattic\Jetpack\Connection\Initial_State as Connection_Initial_State;
class Initializer {
/**
+ * My Jetpack package version
+ *
+ * @var string
+ */
+ const PACKAGE_VERSION = '1.6.0';
+
+ /**
* Initialize My Jetapack
*
* @return void
*/
public static function init() {
- if ( did_action( 'my_jetpack_init' ) ) {
+ if ( ! self::should_initialize() || did_action( 'my_jetpack_init' ) ) {
return;
}
- // Feature flag while we are developing it.
- if ( ! defined( 'JETPACK_ENABLE_MY_JETPACK' ) || ! JETPACK_ENABLE_MY_JETPACK ) {
- return;
+ // Extend jetpack plugins action links.
+ Products::extend_plugins_action_links();
+
+ // Set up the REST authentication hooks.
+ Connection_Rest_Authentication::init();
+
+ if ( self::is_licensing_ui_enabled() ) {
+ Licensing::instance()->initialize();
}
+ // Add custom WP REST API endoints.
+ add_action( 'rest_api_init', array( __CLASS__, 'register_rest_endpoints' ) );
+
$page_suffix = Admin_Menu::add_menu(
__( 'My Jetpack', 'jetpack-my-jetpack' ),
__( 'My Jetpack', 'jetpack-my-jetpack' ),
@@ -45,26 +67,63 @@ class Initializer {
/**
* Fires after the My Jetpack package is initialized
*
- * @since $$next_version$$
+ * @since 0.1.0
*/
do_action( 'my_jetpack_init' );
}
/**
+ * Acts as a feature flag, returning a boolean for whether we should show the licensing UI.
+ *
+ * @since 1.2.0
+ *
+ * @return boolean
+ */
+ public static function is_licensing_ui_enabled() {
+ /**
+ * Acts as a feature flag, returning a boolean for whether we should show the licensing UI.
+ *
+ * @param bool $is_enabled Defaults to true.
+ *
+ * @since 1.2.0
+ * @since 1.5.0 Update default value to true.
+ */
+ return apply_filters(
+ 'jetpack_my_jetpack_should_enable_add_license_screen',
+ true
+ );
+ }
+
+ /**
* Callback for the load my jetpack page hook.
*
* @return void
*/
public static function admin_init() {
- add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_scritps' ) );
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_scripts' ) );
+ // Product statuses are constantly changing, so we never want to cache the page.
+ header( 'Cache-Control: no-cache, no-store, must-revalidate' );
+ header( 'Pragma: no-cache' );
+ header( 'Expires: 0' );
}
/**
+ * Returns whether we are in condition to track to use
+ * Analytics functionality like Tracks, MC, or GA.
+ */
+ public static function can_use_analytics() {
+ $status = new Status();
+ $connection = new Connection_Manager();
+ $tracking = new Tracking( 'jetpack', $connection );
+
+ return $tracking->should_enable_tracking( new Terms_Of_Service(), $status );
+ }
+ /**
* Enqueue admin page assets.
*
* @return void
*/
- public static function enqueue_scritps() {
+ public static function enqueue_scripts() {
Assets::register_script(
'my_jetpack_main_app',
'../build/index.js',
@@ -79,23 +138,165 @@ class Initializer {
'my_jetpack_main_app',
'myJetpackInitialState',
array(
- 'apiRoot' => esc_url_raw( rest_url() ),
- 'apiNonce' => wp_create_nonce( 'wp_rest' ),
- 'redirectUrl' => admin_url( '?page=my-jetpack' ),
+ 'products' => array(
+ 'items' => Products::get_products(),
+ ),
+ 'purchases' => array(
+ 'items' => array(),
+ ),
+ 'redirectUrl' => admin_url( 'admin.php?page=my-jetpack' ),
'topJetpackMenuItemUrl' => Admin_Menu::get_top_level_menu_item_url(),
+ 'siteSuffix' => ( new Status() )->get_site_suffix(),
+ 'myJetpackVersion' => self::PACKAGE_VERSION,
+ 'fileSystemWriteAccess' => self::has_file_system_write_access(),
+ 'loadAddLicenseScreen' => self::is_licensing_ui_enabled(),
+ 'adminUrl' => esc_url( admin_url() ),
+ )
+ );
+
+ wp_localize_script(
+ 'my_jetpack_main_app',
+ 'myJetpackRest',
+ array(
+ 'apiRoot' => esc_url_raw( rest_url() ),
+ 'apiNonce' => wp_create_nonce( 'wp_rest' ),
)
);
// Connection Initial State.
wp_add_inline_script( 'my_jetpack_main_app', Connection_Initial_State::render(), 'before' );
+
+ // Required for Analytics.
+ if ( self::can_use_analytics() ) {
+ Tracking::register_tracks_functions_scripts( true );
+ }
}
/**
- * Echos the admin page content.
+ * Echoes the admin page content.
*
* @return void
*/
public static function admin_page() {
echo '<div id="my-jetpack-container"></div>';
}
+
+ /**
+ * Register the REST API routes.
+ *
+ * @return void
+ */
+ public static function register_rest_endpoints() {
+ new REST_Products();
+ new REST_Purchases();
+
+ register_rest_route(
+ 'my-jetpack/v1',
+ 'site',
+ array(
+ 'methods' => \WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_site',
+ 'permission_callback' => __CLASS__ . '::permissions_callback',
+ )
+ );
+ }
+
+ /**
+ * Check user capability to access the endpoint.
+ *
+ * @access public
+ * @static
+ *
+ * @return true|WP_Error
+ */
+ public static function permissions_callback() {
+ return current_user_can( 'manage_options' );
+ }
+
+ /**
+ * Return true if we should initialize the My Jetpack admin page.
+ */
+ public static function should_initialize() {
+ $should = true;
+
+ if ( is_multisite() ) {
+ $should = false;
+ }
+
+ // Do not initialize My Jetpack if site is not connected.
+ if ( ! ( new Connection_Manager() )->is_connected() ) {
+ $should = false;
+ }
+
+ /**
+ * Allows filtering whether My Jetpack should be initialized.
+ *
+ * @since 0.5.0-alpha
+ *
+ * @param bool $shoud_initialize Should we initialize My Jetpack?
+ */
+ return apply_filters( 'jetpack_my_jetpack_should_initialize', $should );
+ }
+
+ /**
+ * Site full-data endpoint.
+ *
+ * @return object Site data.
+ */
+ public static function get_site() {
+ $site_id = \Jetpack_Options::get_option( 'id' );
+ $wpcom_endpoint = sprintf( '/sites/%d?force=wpcom', $site_id );
+ $wpcom_api_version = '1.1';
+ $response = Client::wpcom_json_api_request_as_blog( $wpcom_endpoint, $wpcom_api_version );
+ $response_code = wp_remote_retrieve_response_code( $response );
+ $body = json_decode( wp_remote_retrieve_body( $response ) );
+
+ if ( is_wp_error( $response ) || empty( $response['body'] ) ) {
+ return new \WP_Error( 'site_data_fetch_failed', 'Site data fetch failed', array( 'status' => $response_code ) );
+ }
+
+ return rest_ensure_response( $body, 200 );
+ }
+
+ /**
+ * Returns true if the site has file write access to the plugins folder, false otherwise.
+ *
+ * @return bool
+ **/
+ public static function has_file_system_write_access() {
+
+ $cache = get_transient( 'my_jetpack_write_access' );
+
+ if ( false !== $cache ) {
+ return $cache;
+ }
+
+ if ( ! function_exists( 'get_filesystem_method' ) ) {
+ require_once ABSPATH . 'wp-admin/includes/file.php';
+ }
+
+ require_once ABSPATH . 'wp-admin/includes/template.php';
+
+ $write_access = 'no';
+
+ $filesystem_method = get_filesystem_method( array(), WP_PLUGIN_DIR );
+ if ( 'direct' === $filesystem_method ) {
+ $write_access = 'yes';
+ }
+
+ if ( ! $write_access ) {
+ ob_start();
+ $filesystem_credentials_are_stored = request_filesystem_credentials( self_admin_url() );
+ ob_end_clean();
+
+ if ( $filesystem_credentials_are_stored ) {
+ $write_access = 'yes';
+ }
+ }
+
+ set_transient( 'my_jetpack_write_access', $write_access, 30 * MINUTE_IN_SECONDS );
+
+ return $write_access;
+ }
+
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php
new file mode 100644
index 00000000..d02e1581
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php
@@ -0,0 +1,144 @@
+<?php
+/**
+ * Class for manipulating products
+ *
+ * @package automattic/my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack;
+
+/**
+ * A class for everything related to product handling in My Jetpack
+ */
+class Products {
+
+ /**
+ * Get the list of Products classes
+ *
+ * Here's where all the existing Products are registered
+ *
+ * @return array List of class names
+ */
+ public static function get_products_classes() {
+ return array(
+ Products\Anti_Spam::class,
+ Products\Backup::class,
+ Products\Boost::class,
+ Products\Crm::class,
+ Products\Extras::class,
+ Products\Scan::class,
+ Products\Search::class,
+ Products\Social::class,
+ Products\Security::class,
+ Products\Protect::class,
+ Products\Videopress::class,
+ );
+ }
+
+ /**
+ * Product data
+ *
+ * @return array Jetpack products on the site and their availability.
+ */
+ public static function get_products() {
+ $products = array();
+ foreach ( self::get_products_classes() as $class ) {
+ $product_slug = $class::$slug;
+ $products[ $product_slug ] = $class::get_info();
+ }
+ return $products;
+ }
+
+ /**
+ * Get one product data by its slug
+ *
+ * @param string $product_slug The product slug.
+ *
+ * @return ?array
+ */
+ public static function get_product( $product_slug ) {
+ foreach ( self::get_products_classes() as $class ) {
+ $p_slug = $class::$slug;
+ if ( $p_slug === $product_slug ) {
+ return $class::get_info();
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Return product slugs list.
+ *
+ * @return array Product slugs array.
+ */
+ public static function get_products_slugs() {
+ $slugs = array();
+ foreach ( self::get_products_classes() as $class ) {
+ $slugs[] = $class::$slug;
+ }
+ return $slugs;
+ }
+
+ /**
+ * Gets the json schema for the product data
+ *
+ * @return array
+ */
+ public static function get_product_data_schema() {
+ return array(
+ 'title' => 'The requested product data',
+ 'type' => 'object',
+ 'properties' => array(
+ 'product' => array(
+ 'description' => __( 'Product slug', 'jetpack-my-jetpack' ),
+ 'type' => 'string',
+ 'enum' => __CLASS__ . '::get_product_slugs',
+ 'required' => false,
+ 'validate_callback' => __CLASS__ . '::check_product_argument',
+ ),
+ 'action' => array(
+ 'description' => __( 'Production action to execute', 'jetpack-my-jetpack' ),
+ 'type' => 'string',
+ 'enum' => array( 'activate', 'deactivate' ),
+ 'required' => false,
+ 'validate_callback' => __CLASS__ . '::check_product_argument',
+ ),
+ 'slug' => array(
+ 'title' => 'The product slug',
+ 'type' => 'string',
+ ),
+ 'name' => array(
+ 'title' => 'The product name',
+ 'type' => 'string',
+ ),
+ 'description' => array(
+ 'title' => 'The product description',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'title' => 'The product status',
+ 'type' => 'string',
+ 'enum' => array( 'active', 'inactive', 'plugin_absent', 'needs_purchase', 'error' ),
+ ),
+ 'class' => array(
+ 'title' => 'The product class handler',
+ 'type' => 'string',
+ ),
+ ),
+ );
+ }
+
+ /**
+ * Extend actions links for plugins
+ * tied to the Products.
+ */
+ public static function extend_plugins_action_links() {
+ Products\Backup::extend_plugin_action_links();
+ Products\Boost::extend_plugin_action_links();
+ Products\Crm::extend_plugin_action_links();
+
+ // Extend Jetpack plugin using Videopress instance.
+ Products\Videopress::extend_plugin_action_links();
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php
new file mode 100644
index 00000000..a0300a84
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php
@@ -0,0 +1,208 @@
+<?php
+/**
+ * Sets up the Products REST API endpoints.
+ *
+ * @package automattic/my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack;
+
+use WP_Error;
+
+/**
+ * Registers the REST routes for Products.
+ */
+class REST_Products {
+ /**
+ * Constructor.
+ */
+ public function __construct() {
+ register_rest_route(
+ 'my-jetpack/v1',
+ 'site/products',
+ array(
+ array(
+ 'methods' => \WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_products',
+ 'permission_callback' => __CLASS__ . '::permissions_callback',
+ ),
+ 'schema' => array( $this, 'get_products_schema' ),
+ )
+ );
+
+ $product_arg = array(
+ 'description' => __( 'Product slug', 'jetpack-my-jetpack' ),
+ 'type' => 'string',
+ 'enum' => Products::get_products_slugs(),
+ 'required' => true,
+ 'validate_callback' => __CLASS__ . '::check_product_argument',
+ );
+
+ register_rest_route(
+ 'my-jetpack/v1',
+ 'site/products/(?P<product>[a-z\-]+)',
+ array(
+ array(
+ 'methods' => \WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_product',
+ 'permission_callback' => __CLASS__ . '::permissions_callback',
+ 'args' => array(
+ 'product' => $product_arg,
+ ),
+ ),
+ array(
+ 'methods' => \WP_REST_Server::EDITABLE,
+ 'callback' => __CLASS__ . '::activate_product',
+ 'permission_callback' => __CLASS__ . '::edit_permissions_callback',
+ 'args' => array(
+ 'product' => $product_arg,
+ ),
+ ),
+ array(
+ 'methods' => \WP_REST_Server::DELETABLE,
+ 'callback' => __CLASS__ . '::deactivate_product',
+ 'permission_callback' => __CLASS__ . '::edit_permissions_callback',
+ 'args' => array(
+ 'product' => $product_arg,
+ ),
+ ),
+ )
+ );
+ }
+
+ /**
+ * Get the schema for the products endpoint
+ *
+ * @return array
+ */
+ public function get_products_schema() {
+ return array(
+ '$schema' => 'http://json-schema.org/draft-04/schema#',
+ 'title' => 'products',
+ 'type' => 'object',
+ 'properties' => Products::get_product_data_schema(),
+ );
+ }
+
+ /**
+ * Check user capability to access the endpoint.
+ *
+ * @access public
+ * @static
+ *
+ * @return true|WP_Error
+ */
+ public static function permissions_callback() {
+ return current_user_can( 'manage_options' );
+ }
+
+ /**
+ * Check Product arguments.
+ *
+ * @access public
+ * @static
+ *
+ * @param mixed $value - Value of the 'product' argument.
+ * @return true|WP_Error True if the value is valid, WP_Error otherwise.
+ */
+ public static function check_product_argument( $value ) {
+ if ( ! is_string( $value ) ) {
+ return new WP_Error(
+ 'rest_invalid_param',
+ esc_html__( 'The product argument must be a string.', 'jetpack-my-jetpack' ),
+ array( 'status' => 400 )
+ );
+ }
+
+ return true;
+ }
+
+ /**
+ * Site products endpoint.
+ *
+ * @return array of site products list.
+ */
+ public static function get_products() {
+ $response = Products::get_products();
+ return rest_ensure_response( $response, 200 );
+ }
+
+ /**
+ * Site single product endpoint.
+ *
+ * @param \WP_REST_Request $request The request object.
+ * @return array of site products list.
+ */
+ public static function get_product( $request ) {
+ $product_slug = $request->get_param( 'product' );
+ return rest_ensure_response( Products::get_product( $product_slug ), 200 );
+ }
+
+ /**
+ * Check permission to edit product
+ *
+ * @return bool
+ */
+ public static function edit_permissions_callback() {
+ if ( ! current_user_can( 'activate_plugins' ) ) {
+ return false;
+ }
+ if ( is_multisite() && ! current_user_can( 'manage_network' ) ) {
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * Callback for activating a product
+ *
+ * @param \WP_REST_Request $request The request object.
+ * @return \WP_REST_Response
+ */
+ public static function activate_product( $request ) {
+ $product_slug = $request->get_param( 'product' );
+ $product = Products::get_product( $product_slug );
+ if ( ! isset( $product['class'] ) ) {
+ return new \WP_Error(
+ 'not_implemented',
+ esc_html__( 'The product class handler is not implemented', 'jetpack-my-jetpack' ),
+ array( 'status' => 501 )
+ );
+ }
+
+ $activate_product_result = call_user_func( array( $product['class'], 'activate' ) );
+ if ( is_wp_error( $activate_product_result ) ) {
+ $activate_product_result->add_data( array( 'status' => 400 ) );
+ return $activate_product_result;
+ }
+
+ return rest_ensure_response( Products::get_product( $product_slug ), 200 );
+ }
+
+ /**
+ * Callback for deactivating a product
+ *
+ * @param \WP_REST_Request $request The request object.
+ * @return \WP_REST_Response
+ */
+ public static function deactivate_product( $request ) {
+ $product_slug = $request->get_param( 'product' );
+ $product = Products::get_product( $product_slug );
+ if ( ! isset( $product['class'] ) ) {
+ return new \WP_Error(
+ 'not_implemented',
+ esc_html__( 'The product class handler is not implemented', 'jetpack-my-jetpack' ),
+ array( 'status' => 501 )
+ );
+ }
+
+ $deactivate_product_result = call_user_func( array( $product['class'], 'deactivate' ) );
+ if ( is_wp_error( $deactivate_product_result ) ) {
+ $deactivate_product_result->add_data( array( 'status' => 400 ) );
+ return $deactivate_product_result;
+ }
+
+ return rest_ensure_response( Products::get_product( $product_slug ), 200 );
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php
new file mode 100644
index 00000000..c90e1b43
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php
@@ -0,0 +1,76 @@
+<?php
+/**
+ * Sets up the Purchases REST API endpoints.
+ *
+ * @package automattic/my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack;
+
+use Automattic\Jetpack\Connection\Client as Client;
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+
+/**
+ * Registers the REST routes for Purchases.
+ */
+class REST_Purchases {
+ /**
+ * Constructor.
+ */
+ public function __construct() {
+ register_rest_route(
+ 'my-jetpack/v1',
+ '/site/purchases',
+ array(
+ 'methods' => \WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::get_site_current_purchases',
+ 'permission_callback' => __CLASS__ . '::permissions_callback',
+ )
+ );
+ }
+
+ /**
+ * Check user capability to access the endpoint.
+ *
+ * @access public
+ * @static
+ *
+ * @return true|WP_Error
+ */
+ public static function permissions_callback() {
+ $connection = new Connection_Manager();
+ $is_site_connected = $connection->is_connected();
+
+ if ( ! $is_site_connected ) {
+ return new \WP_Error(
+ 'not_connected',
+ __( 'Your site is not connected to Jetpack.', 'jetpack-my-jetpack' ),
+ array(
+ 'status' => 400,
+ )
+ );
+ }
+
+ return current_user_can( 'manage_options' );
+ }
+
+ /**
+ * Site purchases endpoint.
+ *
+ * @return array of site purchases.
+ */
+ public static function get_site_current_purchases() {
+ $site_id = \Jetpack_Options::get_option( 'id' );
+ $wpcom_endpoint = sprintf( '/sites/%1$d/purchases?locale=%2$s', $site_id, get_user_locale() );
+ $wpcom_api_version = '1.1';
+ $response = Client::wpcom_json_api_request_as_blog( $wpcom_endpoint, $wpcom_api_version );
+ $response_code = wp_remote_retrieve_response_code( $response );
+ $body = json_decode( wp_remote_retrieve_body( $response ) );
+
+ if ( is_wp_error( $response ) || empty( $response['body'] ) ) {
+ return new \WP_Error( 'site_data_fetch_failed', 'Site data fetch failed', array( 'status' => $response_code ? $response_code : 400 ) );
+ }
+
+ return rest_ensure_response( $body, 200 );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php
new file mode 100644
index 00000000..cac879fe
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php
@@ -0,0 +1,209 @@
+<?php
+/**
+ * Fetches and store the list of Jetpack products available in WPCOM
+ *
+ * @package automattic/my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack;
+
+use Automattic\Jetpack\Connection\Client as Client;
+use Automattic\Jetpack\Status\Visitor;
+use WP_Error;
+/**
+ * Stores the list of products available for purchase in WPCOM
+ */
+class Wpcom_Products {
+
+ /**
+ * The meta name used to store the cache date
+ *
+ * @var string
+ */
+ const CACHE_DATE_META_NAME = 'my-jetpack-cache-date';
+
+ /**
+ * The meta name used to store the cache
+ *
+ * @var string
+ */
+ const CACHE_META_NAME = 'my-jetpack-cache';
+
+ /**
+ * Fetches the list of products from WPCOM
+ *
+ * @return Object|WP_Error
+ */
+ private static function get_products_from_wpcom() {
+
+ $blog_id = \Jetpack_Options::get_option( 'id' );
+ $endpoint = sprintf( '/sites/%d/products/?_locale=%s&type=jetpack', $blog_id, get_user_locale() );
+
+ $wpcom_request = Client::wpcom_json_api_request_as_blog(
+ $endpoint,
+ '1.1',
+ array(
+ 'method' => 'GET',
+ 'headers' => array(
+ 'X-Forwarded-For' => ( new Visitor() )->get_ip( true ),
+ ),
+ )
+ );
+
+ $response_code = wp_remote_retrieve_response_code( $wpcom_request );
+
+ if ( 200 === $response_code ) {
+ return json_decode( wp_remote_retrieve_body( $wpcom_request ) );
+ } else {
+ return new WP_Error(
+ 'failed_to_fetch_wpcom_products',
+ esc_html__( 'Unable to fetch the products list from WordPress.com', 'jetpack-my-jetpack' ),
+ array( 'status' => $response_code )
+ );
+ }
+ }
+
+ /**
+ * Update the cache with new information retrieved from WPCOM
+ *
+ * We store one cache for each user, as the information is internationalized based on user preferences
+ * Also, the currency is based on the user IP address
+ *
+ * @param Object $products_list The products list as received from WPCOM.
+ * @return bool
+ */
+ private static function update_cache( $products_list ) {
+ update_user_meta( get_current_user_id(), self::CACHE_DATE_META_NAME, time() );
+ return update_user_meta( get_current_user_id(), self::CACHE_META_NAME, $products_list );
+ }
+
+ /**
+ * Checks if the cache is old, meaning we need to fetch new data from WPCOM
+ */
+ private static function is_cache_old() {
+ if ( empty( self::get_products_from_cache() ) ) {
+ return true;
+ }
+ $cache_date = get_user_meta( get_current_user_id(), self::CACHE_DATE_META_NAME, true );
+ return time() - (int) $cache_date > ( 7 * DAY_IN_SECONDS );
+ }
+
+ /**
+ * Gets the product list from the user cache
+ */
+ private static function get_products_from_cache() {
+ return get_user_meta( get_current_user_id(), self::CACHE_META_NAME, true );
+ }
+
+ /**
+ * Gets the product list
+ *
+ * Attempts to retrieve the products list from the user cache if cache is not too old.
+ * If cache is old, it will attempt to fetch information from WPCOM. If it fails, we return what we have in cache, if anything, otherwise we return an error.
+ *
+ * @param bool $skip_cache If true it will ignore the cache and attempt to fetch fresh information from WPCOM.
+ *
+ * @return Object|WP_Error
+ */
+ public static function get_products( $skip_cache = false ) {
+ // This is only available for logged in users.
+ if ( ! get_current_user_id() ) {
+ return null;
+ }
+ if ( ! self::is_cache_old() && ! $skip_cache ) {
+ return self::get_products_from_cache();
+ }
+
+ $products = self::get_products_from_wpcom();
+ if ( is_wp_error( $products ) ) {
+ // Let's see if we have it cached.
+ $cached = self::get_products_from_cache();
+ if ( ! empty( $cached ) ) {
+ return $cached;
+ } else {
+ return $products;
+ }
+ }
+
+ self::update_cache( $products );
+ return $products;
+
+ }
+
+ /**
+ * Get one product
+ *
+ * @param string $product_slug The product slug.
+ *
+ * @return ?Object The product details if found
+ */
+ public static function get_product( $product_slug ) {
+ $products = self::get_products();
+ if ( ! empty( $products->$product_slug ) ) {
+ return $products->$product_slug;
+ }
+ }
+
+ /**
+ * Get only the product currency code and price in an array
+ *
+ * @param string $product_slug The product slug.
+ *
+ * @return array An array with currency_code and full_price. Empty array if product not found.
+ */
+ public static function get_product_pricing( $product_slug ) {
+ $product = self::get_product( $product_slug );
+ if ( empty( $product ) ) {
+ return array();
+ }
+
+ $cost = $product->cost;
+ $discount_price = $cost;
+
+ // Get/compute the discounted price.
+ if ( isset( $product->introductory_offer->cost_per_interval ) ) {
+ $discount_price = $product->introductory_offer->cost_per_interval;
+ }
+
+ $pricing = array(
+ 'currency_code' => $product->currency_code,
+ 'full_price' => $cost,
+ 'discount_price' => $discount_price,
+ );
+
+ return self::populate_with_discount( $product, $pricing, $discount_price );
+ }
+
+ /**
+ * Populate the pricing array with the discount information.
+ *
+ * @param {object} $product - The product object.
+ * @param {object} $pricing - The pricing array.
+ * @param {float} $price - The price to be discounted.
+ * @return {object} The pricing array with the discount information.
+ */
+ public static function populate_with_discount( $product, $pricing, $price ) {
+ // Check whether the product has a coupon.
+ if ( ! isset( $product->sale_coupon ) ) {
+ return $pricing;
+ }
+
+ // Check whether it is still valid.
+ $coupon = $product->sale_coupon;
+ $coupon_start_date = strtotime( $coupon->start_date );
+ $coupon_expires = strtotime( $coupon->expires );
+ if ( $coupon_start_date > time() || $coupon_expires < time() ) {
+ return $pricing;
+ }
+
+ $coupon_discount = intval( $coupon->discount );
+
+ // Populate response with coupon discount.
+ $pricing['coupon_discount'] = $coupon_discount;
+
+ // Apply coupon discount to the price.
+ $pricing['discount_price'] = $price * ( 100 - $coupon_discount ) / 100;
+
+ return $pricing;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php
new file mode 100644
index 00000000..7c8820d0
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php
@@ -0,0 +1,138 @@
+<?php
+/**
+ * Anti_Spam product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\My_Jetpack\Product;
+use Automattic\Jetpack\My_Jetpack\Wpcom_Products;
+
+/**
+ * Class responsible for handling the Anti_Spam product
+ */
+class Anti_Spam extends Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'anti-spam';
+
+ /**
+ * The filename (id) of the plugin associated with this product. If not defined, it will default to the Jetpack plugin
+ *
+ * @var string
+ */
+ public static $plugin_filename = 'akismet/akismet.php';
+
+ /**
+ * The slug of the plugin associated with this product. If not defined, it will default to the Jetpack plugin
+ *
+ * @var string
+ */
+ public static $plugin_slug = 'akismet';
+
+ /**
+ * Whether this product requires a user connection
+ *
+ * @var string
+ */
+ public static $requires_user_connection = false;
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'Anti-Spam', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack Anti-Spam', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Stop comment and form spam', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'Save time and get better responses by automatically blocking spam from your comments and forms.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Boost features list
+ */
+ public static function get_features() {
+ return array(
+ _x( 'Comment and form spam protection', 'Anti-Spam Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Powered by Akismet', 'Anti-Spam Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Block spam without CAPTCHAs', 'Anti-Spam Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Advanced stats', 'Anti-Spam Product Feature', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array_merge(
+ array(
+ 'available' => true,
+ 'wpcom_product_slug' => static::get_wpcom_product_slug(),
+ ),
+ Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() )
+ );
+ }
+
+ /**
+ * Get the WPCOM product slug used to make the purchase
+ *
+ * @return ?string
+ */
+ public static function get_wpcom_product_slug() {
+ return 'jetpack_anti_spam';
+ }
+
+ /**
+ * Return product bundles list
+ * that supports the product.
+ *
+ * @return boolean|array Products bundle list.
+ */
+ public static function is_upgradable_by_bundle() {
+ return array( 'security' );
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ return admin_url( 'admin.php?page=akismet-key-config' );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php
new file mode 100644
index 00000000..37b45caf
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php
@@ -0,0 +1,201 @@
+<?php
+/**
+ * Boost product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\Connection\Client;
+use Automattic\Jetpack\My_Jetpack\Hybrid_Product;
+use Automattic\Jetpack\My_Jetpack\Wpcom_Products;
+use Automattic\Jetpack\Redirect;
+use Jetpack_Options;
+use WP_Error;
+
+/**
+ * Class responsible for handling the Backup product
+ */
+class Backup extends Hybrid_Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'backup';
+
+ /**
+ * The filename (id) of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_filename = array(
+ 'jetpack-backup/jetpack-backup.php',
+ 'backup/jetpack-backup.php',
+ 'jetpack-backup-dev/jetpack-backup.php',
+ );
+
+ /**
+ * The slug of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_slug = 'jetpack-backup';
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'Backup', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack Backup', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Save every change', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'Never lose a word, image, page, or time worrying about your site with automated backups & one-click restores.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Backup features list
+ */
+ public static function get_features() {
+ return array(
+ _x( 'Real-time cloud backups', 'Backup Product Feature', 'jetpack-my-jetpack' ),
+ _x( '10GB of backup storage', 'Backup Product Feature', 'jetpack-my-jetpack' ),
+ _x( '30-day archive & activity log', 'Backup Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'One-click restores', 'Backup Product Feature', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the WPCOM product slug used to make the purchase
+ *
+ * @return ?string
+ */
+ public static function get_wpcom_product_slug() {
+ return 'jetpack_backup_t1_yearly';
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array_merge(
+ array(
+ 'available' => true,
+ 'wpcom_product_slug' => static::get_wpcom_product_slug(),
+ ),
+ Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() )
+ );
+ }
+
+ /**
+ * Hits the wpcom api to check rewind status.
+ *
+ * @todo Maybe add caching.
+ *
+ * @return Object|WP_Error
+ */
+ private static function get_state_from_wpcom() {
+ static $status = null;
+
+ if ( $status !== null ) {
+ return $status;
+ }
+
+ $site_id = Jetpack_Options::get_option( 'id' );
+
+ $response = Client::wpcom_json_api_request_as_blog( sprintf( '/sites/%d/rewind', $site_id ) . '?force=wpcom', '2', array( 'timeout' => 2 ), null, 'wpcom' );
+
+ if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
+ return new WP_Error( 'rewind_state_fetch_failed' );
+ }
+
+ $body = wp_remote_retrieve_body( $response );
+ $status = json_decode( $body );
+ return $status;
+ }
+
+ /**
+ * Checks whether the current plan (or purchases) of the site already supports the product
+ *
+ * @return boolean
+ */
+ public static function has_required_plan() {
+ $rewind_data = static::get_state_from_wpcom();
+ if ( is_wp_error( $rewind_data ) ) {
+ return false;
+ }
+ return is_object( $rewind_data ) && isset( $rewind_data->state ) && 'unavailable' !== $rewind_data->state;
+ }
+
+ /**
+ * Return product bundles list
+ * that supports the product.
+ *
+ * @return boolean|array Products bundle list.
+ */
+ public static function is_upgradable_by_bundle() {
+ return array( 'security' );
+ }
+
+ /**
+ * Get the URL the user is taken after activating the product
+ *
+ * @return ?string
+ */
+ public static function get_post_activation_url() {
+ return ''; // stay in My Jetpack page or continue the purchase flow if needed.
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ if ( static::is_jetpack_plugin_active() ) {
+ return Redirect::get_url( 'my-jetpack-manage-backup' );
+ } elseif ( static::is_plugin_active() ) {
+ return admin_url( 'admin.php?page=jetpack-backup' );
+ }
+ }
+
+ /**
+ * Checks whether the Product is active
+ *
+ * @return boolean
+ */
+ public static function is_active() {
+ return parent::is_active() && static::has_required_plan();
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php
new file mode 100644
index 00000000..7c159eb4
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php
@@ -0,0 +1,117 @@
+<?php
+/**
+ * Boost product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\My_Jetpack\Product;
+
+/**
+ * Class responsible for handling the Boost product
+ */
+class Boost extends Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'boost';
+
+ /**
+ * The filename (id) of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_filename = array(
+ 'jetpack-boost/jetpack-boost.php',
+ 'boost/jetpack-boost.php',
+ 'jetpack-boost-dev/jetpack-boost.php',
+ );
+ /**
+ * The slug of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_slug = 'jetpack-boost';
+
+ /**
+ * Whether this product requires a user connection
+ *
+ * @var string
+ */
+ public static $requires_user_connection = false;
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'Boost', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack Boost', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Instant speed and SEO', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'Jetpack Boost gives your site the same performance advantages as the world’s leading websites, no developer required.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Boost features list
+ */
+ public static function get_features() {
+ return array(
+ __( 'Check your site performance', 'jetpack-my-jetpack' ),
+ __( 'Enable improvements in one click', 'jetpack-my-jetpack' ),
+ __( 'Standalone free plugin for those focused on speed', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array(
+ 'available' => true,
+ 'is_free' => true,
+ );
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ return admin_url( 'admin.php?page=jetpack-boost' );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php
new file mode 100644
index 00000000..9fce5f92
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php
@@ -0,0 +1,124 @@
+<?php
+/**
+ * Boost product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\My_Jetpack\Product;
+
+/**
+ * Class responsible for handling the CRM product
+ */
+class Crm extends Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'crm';
+
+ /**
+ * The filename (id) of the plugin associated with this product. If not defined, it will default to the Jetpack plugin
+ *
+ * @var string
+ */
+ public static $plugin_filename = 'zero-bs-crm/ZeroBSCRM.php';
+
+ /**
+ * The slug of the plugin associated with this product. If not defined, it will default to the Jetpack plugin
+ *
+ * @var string
+ */
+ public static $plugin_slug = 'zero-bs-crm';
+
+ /**
+ * Whether this product requires a user connection
+ *
+ * @var string
+ */
+ public static $requires_user_connection = false;
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'CRM', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack CRM', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Connect with your people', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'All of your contacts in one place. Build better relationships with your customers and clients.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array CRM features list
+ */
+ public static function get_features() {
+ return array(
+ __( 'Manage unlimited contacts', 'jetpack-my-jetpack' ),
+ __( 'Manage billing and create invoices', 'jetpack-my-jetpack' ),
+ __( 'Fully integrated with WordPress & WooCommerce', 'jetpack-my-jetpack' ),
+ __( 'Infinitely customizable with integrations and extensions', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array(
+ 'available' => true,
+ 'is_free' => true,
+ );
+ }
+
+ /**
+ * Get the URL the user is taken after activating the product
+ *
+ * @return ?string
+ */
+ public static function get_post_activation_url() {
+ return admin_url( 'admin.php?page=zerobscrm-plugin' ); // Welcome page.
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ return admin_url( 'admin.php?page=zerobscrm-dash' );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php
new file mode 100644
index 00000000..d0ffaf8c
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php
@@ -0,0 +1,143 @@
+<?php
+/**
+ * Extras product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\My_Jetpack\Product;
+
+/**
+ * Class responsible for handling the Extras product.
+ * Extras, so far, could be considered as Jetpack plugin bridge.
+ */
+class Extras extends Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'extras';
+
+ /**
+ * The slug of the plugin associated with this product.
+ * Extras, is in short, Jetpack plugin bridge so far.
+ *
+ * @var string
+ */
+ public static $plugin_slug = 'jetpack';
+
+ /**
+ * Whether this product requires a user connection
+ *
+ * @var string
+ */
+ public static $requires_user_connection = false;
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'Extras', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack Extras', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Basic tools for a successful site', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( "Secure and speed up your site for free with Jetpack's powerful WordPress tools.", 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Boost features list
+ */
+ public static function get_features() {
+ return array(
+ __( 'Measure your impact with beautiful stats', 'jetpack-my-jetpack' ),
+ __( 'Speed up your site with optimized images', 'jetpack-my-jetpack' ),
+ __( 'Protect your site against bot attacks', 'jetpack-my-jetpack' ),
+ __( 'Get notifications if your site goes offline', 'jetpack-my-jetpack' ),
+ __( 'Enhance your site with dozens of other features', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array(
+ 'available' => true,
+ 'is_free' => true,
+ );
+ }
+
+ /**
+ * Checks whether the Product is active.
+ * If Jetpack plugin is active, then Extras will be inactive.
+ *
+ * @return boolean
+ */
+ public static function is_active() {
+ return static::is_jetpack_plugin_active();
+ }
+
+ /**
+ * Checks whether the plugin is installed
+ * If Jetpack plugin is installed, then Extras will be inactive.
+ *
+ * @return boolean
+ */
+ public static function is_plugin_installed() {
+ return static::is_jetpack_plugin_installed();
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ return admin_url( 'admin.php?page=jetpack' );
+ }
+
+ /**
+ * Activates the Jetpack plugin
+ *
+ * @return null|WP_Error Null on success, WP_Error on invalid file.
+ */
+ public static function activate_plugin() {
+ /*
+ * Silent mode True to avoid redirect
+ */
+ return activate_plugin( static::get_installed_plugin_filename( 'jetpack' ), '', false, true );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php
new file mode 100644
index 00000000..1bb995ff
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php
@@ -0,0 +1,129 @@
+<?php
+/**
+ * Base product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack;
+
+use Automattic\Jetpack\Modules;
+use Automattic\Jetpack\Plugins_Installer;
+use WP_Error;
+
+/**
+ * Class responsible for handling the hybrid products
+ *
+ * Hybrid products are those that may work both as a stand-alone plugin or with the Jetpack plugin.
+ *
+ * In case Jetpack plugin is active, it will not attempt to install its stand-alone plugin.
+ *
+ * But if Jetpack plugin is not active, then it will prompt to install and activate its stand-alone plugin.
+ */
+abstract class Hybrid_Product extends Product {
+
+ /**
+ * Checks whether the Product is active
+ *
+ * @return boolean
+ */
+ public static function is_plugin_active() {
+ return parent::is_plugin_active() || parent::is_jetpack_plugin_active();
+ }
+
+ /**
+ * Checks whether the plugin is installed
+ *
+ * @return boolean
+ */
+ public static function is_plugin_installed() {
+ return parent::is_plugin_installed() || static::is_jetpack_plugin_installed();
+ }
+
+ /**
+ * Checks whether the Jetpack module is active only if a module_name is defined
+ *
+ * @return bool
+ */
+ public static function is_module_active() {
+ if ( ! empty( static::$module_name ) ) {
+ return ( new Modules() )->is_active( static::$module_name );
+ }
+ return true;
+ }
+
+ /**
+ * Checks whether the Product is active
+ *
+ * @return boolean
+ */
+ public static function is_active() {
+ return parent::is_active() && static::is_module_active();
+ }
+
+ /**
+ * Activates the plugin
+ *
+ * @return null|WP_Error Null on success, WP_Error on invalid file.
+ */
+ public static function activate_plugin() {
+ /*
+ * Activate self-installed plugin if it's installed.
+ * Silent mode True to avoid redirects in Backup.
+ * @TODO When new Hybrid products are added, we might not want to go silent with all of them.
+ */
+ if ( parent::is_plugin_installed() ) {
+ return activate_plugin( static::get_installed_plugin_filename(), '', false, true );
+ }
+
+ /*
+ * Otherwise, activate Jetpack plugin.
+ * Silent mode True to avoid redirects.
+ */
+ if ( static::is_jetpack_plugin_installed() ) {
+ return activate_plugin( static::get_installed_plugin_filename( 'jetpack' ) );
+ }
+
+ return new WP_Error( 'plugin_not_found', __( 'Activation failed. Plugin is not installed', 'jetpack-my-jetpack' ) );
+ }
+
+ /**
+ * Activates the product. If the Hybrid product has declared a jetpack module name, let's try to activate it if Jetpack plugin is active
+ *
+ * @param bool|WP_Error $product_activation Is the result of the top level activation actions. You probably won't do anything if it is an WP_Error.
+ * @return bool|WP_Error
+ */
+ public static function do_product_specific_activation( $product_activation ) {
+
+ if ( is_wp_error( $product_activation ) ) {
+ // If we failed to install the stand-alone plugin because the package was not found, let's try and install Jetpack plugin instead.
+ // This might happens, for example, while the stand-alone plugin was not released to the WP.org repository yet.
+ if ( 'no_package' === $product_activation->get_error_code() ) {
+ $product_activation = Plugins_Installer::install_plugin( self::JETPACK_PLUGIN_SLUG );
+ if ( ! is_wp_error( $product_activation ) ) {
+ $product_activation = static::activate_plugin();
+ }
+ }
+ if ( is_wp_error( $product_activation ) ) {
+ return $product_activation;
+ }
+ }
+
+ if ( ! empty( static::$module_name ) ) {
+ if ( ! static::has_required_plan() ) {
+ // translators: %s is the product name. e.g. Jetpack Search.
+ return new WP_Error( 'not_supported', sprintf( __( 'Your plan does not support %s.', 'jetpack-my-jetpack' ), static::get_title() ) );
+ }
+ $module_activation = ( new Modules() )->activate( static::$module_name, false, false );
+ if ( ! $module_activation ) {
+ return new WP_Error( 'module_activation_failed', __( 'Error activating Jetpack module', 'jetpack-my-jetpack' ) );
+ }
+
+ return $module_activation;
+ }
+
+ return true;
+
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php
new file mode 100644
index 00000000..e2cf58ef
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php
@@ -0,0 +1,135 @@
+<?php
+/**
+ * Base Module product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack;
+
+use Jetpack;
+use WP_Error;
+
+/**
+ * Class responsible for handling the Module products
+ *
+ * Module products are those that are a Jetpack module behind the scenes.
+ *
+ * They require Jetpack plugin and will then activate/deactivate a module.
+ */
+abstract class Module_Product extends Product {
+
+ /**
+ * The Jetpack module name associated with this product
+ *
+ * @var string|null
+ */
+ public static $module_name = null;
+
+ /**
+ * Get the plugin slug - ovewrite it ans return Jetpack's
+ *
+ * @return ?string
+ */
+ public static function get_plugin_slug() {
+ return self::JETPACK_PLUGIN_SLUG;
+ }
+
+ /**
+ * Get the plugin filename - ovewrite it ans return Jetpack's
+ *
+ * @return ?string
+ */
+ public static function get_plugin_filename() {
+ return self::JETPACK_PLUGIN_FILENAME;
+ }
+
+ /**
+ * Ensure that child classes define $module_name attribute
+ *
+ * @throws \Exception If required attribute is not declared in the child class.
+ * @return void
+ */
+ private static function check_for_module_name() {
+ if ( empty( static::$module_name ) ) {
+ throw new \Exception( 'Module Product classes must declare the $module_name attribute.' );
+ }
+ }
+
+ /**
+ * Checks whether the Product is active
+ *
+ * @return boolean
+ */
+ public static function is_active() {
+ return static::is_jetpack_plugin_active() && static::is_module_active();
+ }
+
+ /**
+ * Checks whether the Jetpack module is active
+ *
+ * @return bool
+ */
+ public static function is_module_active() {
+ self::check_for_module_name();
+ if ( ! class_exists( 'Jetpack' ) ) {
+ return false;
+ }
+
+ return Jetpack::is_module_active( static::$module_name );
+ }
+
+ /**
+ * Gets the current status of the product
+ *
+ * @return string
+ */
+ public static function get_status() {
+ $status = parent::get_status();
+ if ( 'active' === $status && ! static::is_module_active() ) {
+ $status = 'module_disabled';
+ }
+ return $status;
+ }
+
+ /**
+ * Activates the product by installing and activating its plugin
+ *
+ * @param bool|WP_Error $plugin_activation Is the result of the top level activation actions. You probably won't do anything if it is an WP_Error.
+ * @return boolean|\WP_Error
+ */
+ public static function do_product_specific_activation( $plugin_activation ) {
+ self::check_for_module_name();
+
+ if ( is_wp_error( $plugin_activation ) ) {
+ return $plugin_activation;
+ }
+
+ if ( ! class_exists( 'Jetpack' ) ) {
+ return new WP_Error( 'plugin_activation_failed', __( 'Error activating Jetpack plugin', 'jetpack-my-jetpack' ) );
+ }
+
+ $module_activation = Jetpack::activate_module( static::$module_name, false, false );
+
+ if ( ! $module_activation ) {
+ return new WP_Error( 'module_activation_failed', __( 'Error activating Jetpack module', 'jetpack-my-jetpack' ) );
+ }
+
+ return $module_activation;
+
+ }
+
+ /**
+ * Deactivate the module
+ *
+ * @return boolean
+ */
+ public static function deactivate() {
+ self::check_for_module_name();
+ if ( ! class_exists( 'Jetpack' ) ) {
+ return true;
+ }
+ return Jetpack::deactivate_module( static::$module_name );
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php
new file mode 100644
index 00000000..ef09aecd
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php
@@ -0,0 +1,437 @@
+<?php
+/**
+ * Base product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack;
+
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Plugins_Installer;
+use WP_Error;
+
+/**
+ * Class responsible for handling the products
+ */
+abstract class Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = null;
+
+ /**
+ * The filename (id) of the plugin associated with this product. Can be a string with a single value or a list of possible values
+ *
+ * @var string|string[]
+ */
+ protected static $plugin_filename = null;
+
+ /**
+ * The slug of the plugin associated with this product. If not defined, it will default to the Jetpack plugin
+ *
+ * @var string
+ */
+ public static $plugin_slug = null;
+
+ /**
+ * The Jetpack plugin slug
+ *
+ * @var string
+ */
+ const JETPACK_PLUGIN_SLUG = 'jetpack';
+
+ /**
+ * The Jetpack plugin filename
+ *
+ * @var string
+ */
+ const JETPACK_PLUGIN_FILENAME = array(
+ 'jetpack/jetpack.php',
+ 'jetpack-dev/jetpack.php',
+ );
+
+ /**
+ * Whether this product requires a user connection
+ *
+ * @var string
+ */
+ public static $requires_user_connection = true;
+
+ /**
+ * Get the plugin slug
+ *
+ * @return ?string
+ */
+ public static function get_plugin_slug() {
+ return static::$plugin_slug;
+ }
+
+ /**
+ * Get the plugin filename
+ *
+ * @return ?string
+ */
+ public static function get_plugin_filename() {
+ return static::$plugin_filename;
+ }
+
+ /**
+ * Get the installed plugin filename, considering all possible filenames a plugin might have
+ *
+ * @param string $plugin Which plugin to check. jetpack for the jetpack plugin or product for the product specific plugin.
+ *
+ * @return ?string
+ */
+ public static function get_installed_plugin_filename( $plugin = 'product' ) {
+ $all_plugins = Plugins_Installer::get_plugins();
+ $filename = 'jetpack' === $plugin ? self::JETPACK_PLUGIN_FILENAME : static::get_plugin_filename();
+ if ( ! is_array( $filename ) ) {
+ $filename = array( $filename );
+ }
+ foreach ( $filename as $name ) {
+ $installed = array_key_exists( $name, $all_plugins );
+ if ( $installed ) {
+ return $name;
+ }
+ }
+ }
+
+ /**
+ * Get the Product info for the API
+ *
+ * @throws \Exception If required attribute is not declared in the child class.
+ * @return array
+ */
+ public static function get_info() {
+ if ( static::$slug === null ) {
+ throw new \Exception( 'Product classes must declare the $slug attribute.' );
+ }
+ return array(
+ 'slug' => static::$slug,
+ 'name' => static::get_name(),
+ 'title' => static::get_title(),
+ 'description' => static::get_description(),
+ 'long_description' => static::get_long_description(),
+ 'features' => static::get_features(),
+ 'status' => static::get_status(),
+ 'pricing_for_ui' => static::get_pricing_for_ui(),
+ 'is_bundle' => static::is_bundle_product(),
+ 'is_upgradable_by_bundle' => static::is_upgradable_by_bundle(),
+ 'supported_products' => static::get_supported_products(),
+ 'wpcom_product_slug' => static::get_wpcom_product_slug(),
+ 'requires_user_connection' => static::$requires_user_connection,
+ 'has_required_plan' => static::has_required_plan(),
+ 'manage_url' => static::get_manage_url(),
+ 'post_activation_url' => static::get_post_activation_url(),
+ 'class' => get_called_class(),
+ );
+ }
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ abstract public static function get_name();
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ abstract public static function get_title();
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ abstract public static function get_description();
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ abstract public static function get_long_description();
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array
+ */
+ abstract public static function get_features();
+
+ /**
+ * Get the product pricing
+ *
+ * @return array
+ */
+ abstract public static function get_pricing_for_ui();
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ abstract public static function get_manage_url();
+
+ /**
+ * Get the URL the user is taken after activating the product
+ *
+ * @return ?string
+ */
+ public static function get_post_activation_url() {
+ return static::get_manage_url();
+ }
+
+ /**
+ * Get the WPCOM product slug used to make the purchase
+ *
+ * @return ?string
+ */
+ public static function get_wpcom_product_slug() {
+ return null;
+ }
+
+ /**
+ * Checks whether the current plan (or purchases) of the site already supports the product
+ *
+ * Returns true if it supports. Return false if a purchase is still required.
+ *
+ * Free products will always return true.
+ *
+ * @return boolean
+ */
+ public static function has_required_plan() {
+ return true;
+ }
+
+ /**
+ * Checks whether product is a bundle.
+ *
+ * @return boolean True if product is a bundle. Otherwise, False.
+ */
+ public static function is_bundle_product() {
+ return false;
+ }
+
+ /**
+ * Check whether the product is upgradable
+ * by a product bundle.
+ *
+ * @return boolean|array Bundles list or False if not upgradable by a bundle.
+ */
+ public static function is_upgradable_by_bundle() {
+ return false;
+ }
+
+ /**
+ * In case it's a bundle product,
+ * return all the products it contains.
+ * Empty array by default.
+ *
+ * @return Array Product slugs
+ */
+ public static function get_supported_products() {
+ return array();
+ }
+
+ /**
+ * Undocumented function
+ *
+ * @return string
+ */
+ public static function get_status() {
+
+ if ( ! static::is_plugin_installed() ) {
+ $status = 'plugin_absent';
+ } elseif ( static::is_active() ) {
+ $status = 'active';
+ // We only consider missing user connection an error when the Product is active.
+ if ( static::$requires_user_connection && ! ( new Connection_Manager() )->has_connected_owner() ) {
+ $status = 'error';
+ } elseif ( ! static::has_required_plan() ) {
+ $status = 'needs_purchase'; // We need needs_purchase here as well because some products we consider active without the required plan.
+ }
+ } elseif ( ! static::has_required_plan() ) {
+ $status = 'needs_purchase';
+ } else {
+ $status = 'inactive';
+ }
+ return $status;
+ }
+
+ /**
+ * Checks whether the Product is active
+ *
+ * @return boolean
+ */
+ public static function is_active() {
+ return static::is_plugin_active() && static::has_required_plan();
+ }
+
+ /**
+ * Checks whether the plugin is installed
+ *
+ * @return boolean
+ */
+ public static function is_plugin_installed() {
+ return (bool) static::get_installed_plugin_filename();
+ }
+
+ /**
+ * Checks whether the plugin is active
+ *
+ * @return boolean
+ */
+ public static function is_plugin_active() {
+ return Plugins_Installer::is_plugin_active( static::get_installed_plugin_filename() );
+ }
+
+ /**
+ * Checks whether the Jetpack plugin is installed
+ *
+ * @return boolean
+ */
+ public static function is_jetpack_plugin_installed() {
+ return (bool) static::get_installed_plugin_filename( 'jetpack' );
+ }
+
+ /**
+ * Checks whether the Jetpack plugin is active
+ *
+ * @return boolean
+ */
+ public static function is_jetpack_plugin_active() {
+ return Plugins_Installer::is_plugin_active( static::get_installed_plugin_filename( 'jetpack' ) );
+ }
+
+ /**
+ * Activates the plugin
+ *
+ * @return null|WP_Error Null on success, WP_Error on invalid file.
+ */
+ public static function activate_plugin() {
+ return activate_plugin( static::get_installed_plugin_filename() );
+ }
+
+ /**
+ * Perform the top level activation routines, which is installing and activating the required plugin
+ *
+ * @return bool|WP_Error
+ */
+ private static function do_activation() {
+ if ( static::is_active() ) {
+ return true;
+ }
+
+ if ( ! static::is_plugin_installed() ) {
+ $installed = Plugins_Installer::install_plugin( static::get_plugin_slug() );
+ if ( is_wp_error( $installed ) ) {
+ return $installed;
+ }
+ }
+
+ if ( ! current_user_can( 'activate_plugins' ) ) {
+ return new WP_Error( 'not_allowed', __( 'You are not allowed to activate plugins on this site.', 'jetpack-my-jetpack' ) );
+ }
+
+ $result = static::activate_plugin();
+ if ( is_wp_error( $result ) ) {
+ return $result;
+ }
+
+ return true;
+ }
+
+ /**
+ * Activates the product by installing and activating its plugin
+ *
+ * @return boolean|WP_Error
+ */
+ final public static function activate() {
+
+ $result = self::do_activation();
+
+ $result = static::do_product_specific_activation( $result );
+
+ $product_slug = static::$slug;
+
+ /**
+ * Fires after My Jetpack activates a product and filters the result
+ * Use this filter to run additional routines for a product activation on stand-alone plugins
+ *
+ * @param bool|WP_Error $result The result of the previous steps of activation.
+ */
+ $result = apply_filters( "my_jetpack_{$product_slug}_activation", $result );
+
+ return $result;
+
+ }
+
+ /**
+ * Override this method to perform product specific activation routines.
+ *
+ * @param bool|WP_Error $current_result Is the result of the top level activation actions. You probably won't do anything if it is an WP_Error.
+ * @return bool|WP_Error
+ */
+ public static function do_product_specific_activation( $current_result ) {
+ return $current_result;
+ }
+
+ /**
+ * Deactivate the product
+ *
+ * @return boolean
+ */
+ public static function deactivate() {
+ deactivate_plugins( static::get_installed_plugin_filename() );
+ return true;
+ }
+
+ /**
+ * Returns filtered Jetpack plugin actions links.
+ *
+ * @param array $actions - Jetpack plugin action links.
+ * @return array Filtered Jetpack plugin actions links.
+ */
+ public static function get_plugin_actions_links( $actions ) {
+ // My Jetpack action link.
+ $my_jetpack_home_link = array(
+ 'jetpack-home' => sprintf(
+ '<a href="%1$s" title="%3$s">%2$s</a>',
+ admin_url( 'admin.php?page=my-jetpack' ),
+ __( 'My Jetpack', 'jetpack-my-jetpack' ),
+ __( 'My Jetpack dashboard', 'jetpack-my-jetpack' )
+ ),
+ );
+
+ // Otherwise, add it to the beginning of the array.
+ return array_merge( $my_jetpack_home_link, $actions );
+ }
+
+ /**
+ * Extend the plugin action links.
+ */
+ public static function extend_plugin_action_links() {
+
+ $filenames = static::get_plugin_filename();
+ if ( ! is_array( $filenames ) ) {
+ $filenames = array( $filenames );
+ }
+
+ foreach ( $filenames as $filename ) {
+ $hook = 'plugin_action_links_' . $filename;
+ $callback = array( static::class, 'get_plugin_actions_links' );
+ if ( ! has_filter( $hook, $callback ) ) {
+ add_filter( $hook, $callback, 20, 2 );
+ }
+ }
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php
new file mode 100644
index 00000000..a4cca50a
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php
@@ -0,0 +1,119 @@
+<?php
+/**
+ * Protect product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\My_Jetpack\Product;
+
+/**
+ * Class responsible for handling the Protect product
+ */
+class Protect extends Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'protect';
+
+ /**
+ * The filename (id) of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_filename = array(
+ 'jetpack-protect/jetpack-protect.php',
+ 'protect/jetpack-protect.php',
+ 'jetpack-protect-dev/jetpack-protect.php',
+ );
+
+ /**
+ * The slug of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_slug = 'jetpack-protect';
+
+ /**
+ * Whether this product requires a user connection
+ *
+ * @var string
+ */
+ public static $requires_user_connection = false;
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'Protect', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack Protect', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Protect your site and scan for security vulnerabilities.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'Protect your site and scan for security vulnerabilities listed in our database.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Protect features list
+ */
+ public static function get_features() {
+ return array(
+ __( 'Over 20,000 listed vulnerabilities', 'jetpack-my-jetpack' ),
+ __( 'Daily automatic scans', 'jetpack-my-jetpack' ),
+ __( 'Check plugin and theme version status', 'jetpack-my-jetpack' ),
+ __( 'Easy to navigate and use', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array(
+ 'available' => true,
+ 'is_free' => true,
+ );
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ return admin_url( 'admin.php?page=jetpack-protect' );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php
new file mode 100644
index 00000000..452b1644
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php
@@ -0,0 +1,218 @@
+<?php
+/**
+ * Scan product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\Connection\Client;
+use Automattic\Jetpack\My_Jetpack\Module_Product;
+use Automattic\Jetpack\My_Jetpack\Wpcom_Products;
+use Automattic\Jetpack\Redirect;
+use Jetpack_Options;
+use WP_Error;
+
+/**
+ * Class responsible for handling the Scan product
+ */
+class Scan extends Module_Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'scan';
+
+ /**
+ * The Jetpack module name
+ *
+ * @var string
+ */
+ public static $module_name = 'scan';
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'Scan', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack Scan', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Stay one step ahead of threats', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'Automatic scanning and one-click fixes keep your site one step ahead of security threats and malware.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Scan features list
+ */
+ public static function get_features() {
+ return array(
+ _x( 'Automated daily scanning', 'Scan Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'One-click fixes for most issues', 'Scan Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Instant email notifications', 'Scan Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Access to latest Firewall rules', 'Scan Product Feature', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array_merge(
+ array(
+ 'available' => true,
+ 'wpcom_product_slug' => static::get_wpcom_product_slug(),
+ ),
+ Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() )
+ );
+ }
+
+ /**
+ * Get the WPCOM product slug used to make the purchase
+ *
+ * @return ?string
+ */
+ public static function get_wpcom_product_slug() {
+ return 'jetpack_scan';
+ }
+
+ /**
+ * Hits the wpcom api to check scan status.
+ *
+ * @todo Maybe add caching.
+ *
+ * @return Object|WP_Error
+ */
+ private static function get_state_from_wpcom() {
+ static $status = null;
+
+ if ( $status !== null ) {
+ return $status;
+ }
+
+ $site_id = Jetpack_Options::get_option( 'id' );
+
+ $response = Client::wpcom_json_api_request_as_blog( sprintf( '/sites/%d/scan', $site_id ) . '?force=wpcom', '2', array( 'timeout' => 2 ), null, 'wpcom' );
+
+ if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
+ return new WP_Error( 'scan_state_fetch_failed' );
+ }
+
+ $body = wp_remote_retrieve_body( $response );
+ $status = json_decode( $body );
+ return $status;
+ }
+
+ /**
+ * Checks whether the current plan (or purchases) of the site already supports the product
+ *
+ * @return boolean
+ */
+ public static function has_required_plan() {
+ $scan_data = static::get_state_from_wpcom();
+ if ( is_wp_error( $scan_data ) ) {
+ return false;
+ }
+ return is_object( $scan_data ) && isset( $scan_data->state ) && 'unavailable' !== $scan_data->state;
+ }
+
+ /**
+ * Checks whether the Product is active
+ *
+ * Scan is not actually a module. Activation takes place on WPCOM. So lets consider it active if jetpack is active and has the plan.
+ *
+ * @return boolean
+ */
+ public static function is_active() {
+ return static::is_jetpack_plugin_active() && static::has_required_plan();
+ }
+
+ /**
+ * Activates the product by installing and activating its plugin
+ *
+ * @param bool|WP_Error $current_result Is the result of the top level activation actions. You probably won't do anything if it is an WP_Error.
+ * @return boolean|\WP_Error
+ */
+ public static function do_product_specific_activation( $current_result ) {
+
+ $product_activation = parent::do_product_specific_activation( $current_result );
+
+ if ( is_wp_error( $product_activation ) && 'module_activation_failed' === $product_activation->get_error_code() ) {
+ // Scan is not a module. There's nothing in the plugin to be activated, so it's ok to fail to activate the module.
+ $product_activation = true;
+ }
+
+ return $product_activation;
+
+ }
+
+ /**
+ * Checks whether the Jetpack module is active
+ *
+ * Scan is not a module. Nothing needs to be active. Let's always consider it active.
+ *
+ * @return bool
+ */
+ public static function is_module_active() {
+ return true;
+ }
+
+ /**
+ * Return product bundles list
+ * that supports the product.
+ *
+ * @return boolean|array Products bundle list.
+ */
+ public static function is_upgradable_by_bundle() {
+ return array( 'security' );
+ }
+
+ /**
+ * Get the URL the user is taken after activating the product
+ *
+ * @return ?string
+ */
+ public static function get_post_activation_url() {
+ return ''; // stay in My Jetpack page.
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ return Redirect::get_url( 'my-jetpack-manage-scan' );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php
new file mode 100644
index 00000000..66e81139
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php
@@ -0,0 +1,89 @@
+<?php
+/**
+ * Get search stats for use in the wp-admin dashboard.
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\Connection\Client;
+use Jetpack_Options;
+
+/**
+ * Search stats (e.g. post count, post type breakdown)
+ */
+class Search_Stats {
+ const CACHE_EXPIRY = 5 * MINUTE_IN_SECONDS;
+ const CACHE_GROUP = 'jetpack_search';
+ const COUNT_ESTIMATE_CACHE_KEY = 'count_estimate';
+
+ /**
+ * Get stats from the WordPress.com API for the current blog ID.
+ */
+ public function get_stats_from_wpcom() {
+ $blog_id = Jetpack_Options::get_option( 'id' );
+
+ if ( ! is_numeric( $blog_id ) ) {
+ return null;
+ }
+
+ $response = Client::wpcom_json_api_request_as_blog(
+ '/sites/' . (int) $blog_id . '/jetpack-search/stats',
+ '2',
+ array(),
+ null,
+ 'wpcom'
+ );
+
+ return $response;
+ }
+
+ /**
+ * Estimate record counts via a local database query.
+ */
+ public static function estimate_count() {
+ $cached_value = wp_cache_get( self::COUNT_ESTIMATE_CACHE_KEY, self::CACHE_GROUP );
+ if ( false !== $cached_value ) {
+ return $cached_value;
+ }
+
+ global $wpdb;
+ $indexable_statuses = get_post_stati( array( 'public' => true ) );
+ $unindexable_post_types = array_merge(
+ // Explicitly exclude various post types registered by plugins.
+ array(
+ 'elementor_library', // Used by Elementor.
+ 'jp_sitemap', // Used by Jetpack.
+ 'product_variation', // Used by Woocommerce.
+ 'redirect_rule', // Used by the Safe Redirect plugin.
+ 'reply', // Used by bbpress.
+ 'scheduled-action', // Used by Woocommerce.
+ ),
+ get_post_types(
+ array(
+ 'exclude_from_search' => true,
+ 'public' => false,
+ ),
+ 'names',
+ 'or'
+ )
+ );
+
+ $prep_for_query = function ( $string ) use ( $wpdb ) {
+ // phpcs:ignore WordPress.DB.PreparedSQLPlaceholders.QuotedSimplePlaceholder -- This is used to sanitize post type names.
+ return $wpdb->prepare( "'%s'", $string );
+ };
+
+ $statuses_list = implode( ',', array_map( $prep_for_query, $indexable_statuses ) );
+ $post_types_list = implode( ',', array_map( $prep_for_query, $unindexable_post_types ) );
+
+ $count = (int) $wpdb->get_var(
+ // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- This is properly prepared, but the query is constructed using variables.
+ "SELECT COUNT(ID) FROM {$wpdb->posts} WHERE post_status IN ($statuses_list) AND post_type NOT IN ($post_types_list)"
+ );
+
+ wp_cache_set( self::COUNT_ESTIMATE_CACHE_KEY, $count, self::CACHE_GROUP, self::CACHE_EXPIRY );
+ return $count;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php
new file mode 100644
index 00000000..fcd2654e
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php
@@ -0,0 +1,251 @@
+<?php
+/**
+ * Search product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\Connection\Client;
+use Automattic\Jetpack\My_Jetpack\Hybrid_Product;
+use Automattic\Jetpack\My_Jetpack\Wpcom_Products;
+use Automattic\Jetpack\Search\Module_Control as Search_Module_Control;
+use Jetpack_Options;
+use WP_Error;
+
+/**
+ * Class responsible for handling the Search product
+ */
+class Search extends Hybrid_Product {
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'search';
+
+ /**
+ * The Jetpack module name
+ *
+ * @var string
+ */
+ public static $module_name = 'search';
+
+ /**
+ * The slug of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_slug = 'jetpack-search';
+
+ /**
+ * The filename (id) of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_filename = array(
+ 'jetpack-search/jetpack-search.php',
+ 'search/jetpack-search.php',
+ 'jetpack-search-dev/jetpack-search.php',
+ );
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'Search', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack Search', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Help them find what they need', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'Help your site visitors find answers instantly so they keep reading and buying. Great for sites with a lot of content.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Boost features list
+ */
+ public static function get_features() {
+ return array(
+ __( 'Instant search and indexing', 'jetpack-my-jetpack' ),
+ __( 'Powerful filtering', 'jetpack-my-jetpack' ),
+ __( 'Supports 29 languages', 'jetpack-my-jetpack' ),
+ __( 'Spelling correction', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ // Basic pricing info.
+ $pricing = array_merge(
+ array(
+ 'available' => true,
+ 'wpcom_product_slug' => static::get_wpcom_product_slug(),
+ ),
+ Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() )
+ );
+
+ $record_count = intval( Search_Stats::estimate_count() );
+
+ // Check whether the price is available.
+ // Bail early return the pricing info if not.
+ $product = Wpcom_Products::get_product( static::get_wpcom_product_slug() );
+ if ( ! isset( $product->price_tier_list ) ) {
+ return $pricing;
+ }
+
+ // Sort the tiers.
+ $price_tier_list = $product->price_tier_list;
+ array_multisort( array_column( $price_tier_list, 'maximum_units' ), SORT_ASC, $price_tier_list );
+
+ // Pick the first tier that is less than or equal to the record count.
+ foreach ( $product->price_tier_list as $price_tier ) {
+ if ( $record_count <= $price_tier->maximum_units ) {
+ break;
+ }
+ }
+
+ // Compute the minimum price.
+ $minimum_price = $price_tier->minimum_price / 100;
+
+ // Re define the display price based on the tier.
+ $pricing = Wpcom_Products::populate_with_discount( $product, $pricing, $minimum_price );
+
+ // 1. Flat fee in the same tier, so for search, `minimum_price == maximum_price`.
+ // 2. `maximum_units` is empty on the highest tier, so the logic displays the highest or the highest matching tier.
+ return array_merge(
+ $pricing,
+ array(
+ 'minimum_units' => $price_tier->minimum_units,
+ 'maximum_units' => $price_tier->maximum_units,
+ 'estimated_count' => $record_count,
+ 'full_price' => $minimum_price, // reset the full price to the minimum price.
+ )
+ );
+ }
+
+ /**
+ * Get the WPCOM product slug used to make the purchase
+ *
+ * @return ?string
+ */
+ public static function get_wpcom_product_slug() {
+ return 'jetpack_search';
+ }
+
+ /**
+ * Hits the wpcom api to check Search status.
+ *
+ * @todo Maybe add caching.
+ *
+ * @return Object|WP_Error
+ */
+ private static function get_state_from_wpcom() {
+ static $status = null;
+
+ if ( $status !== null ) {
+ return $status;
+ }
+
+ $blog_id = Jetpack_Options::get_option( 'id' );
+
+ $response = Client::wpcom_json_api_request_as_blog(
+ '/sites/' . $blog_id . '/jetpack-search/plan',
+ '2',
+ array( 'timeout' => 2 ),
+ null,
+ 'wpcom'
+ );
+
+ if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
+ return new WP_Error( 'search_state_fetch_failed' );
+ }
+
+ $body = wp_remote_retrieve_body( $response );
+ $status = json_decode( $body );
+ return $status;
+ }
+
+ /**
+ * Checks whether the current plan of the site already supports the product
+ *
+ * Returns true if it supports. Return false if a purchase is still required.
+ *
+ * Free products will always return true.
+ *
+ * @return boolean
+ */
+ public static function has_required_plan() {
+ $search_state = static::get_state_from_wpcom();
+ return ! empty( $search_state->supports_search ) || ! empty( $search_state->supports_instant_search );
+ }
+
+ /**
+ * Activates the product. Try to enable instant search after the Search module was enabled.
+ *
+ * @param bool|WP_Error $product_activation Is the result of the top level activation actions. You probably won't do anything if it is an WP_Error.
+ * @return bool|WP_Error
+ */
+ public static function do_product_specific_activation( $product_activation ) {
+ $product_activation = parent::do_product_specific_activation( $product_activation );
+ if ( is_wp_error( $product_activation ) ) {
+ return $product_activation;
+ }
+
+ if ( class_exists( 'Automattic\Jetpack\Search\Module_Control' ) ) {
+ ( new Search_Module_Control() )->enable_instant_search();
+ }
+
+ // we don't want to change the success of the activation if we fail to activate instant search. That's not mandatory.
+ return $product_activation;
+ }
+
+ /**
+ * Get the URL the user is taken after activating the product
+ *
+ * @return ?string
+ */
+ public static function get_post_activation_url() {
+ return ''; // stay in My Jetpack page or continue the purchase flow if needed.
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ return admin_url( 'admin.php?page=jetpack-search' );
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php
new file mode 100644
index 00000000..f23cfdcf
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php
@@ -0,0 +1,247 @@
+<?php
+/**
+ * Security product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\Connection\Client;
+use Automattic\Jetpack\My_Jetpack\Module_Product;
+use Automattic\Jetpack\My_Jetpack\Wpcom_Products;
+use Jetpack_Options;
+use WP_Error;
+
+/**
+ * Class responsible for handling the Security product
+ */
+class Security extends Module_Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'security';
+
+ /**
+ * The Jetpack module name
+ *
+ * @var string
+ */
+ public static $module_name = 'security';
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'Security', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Security', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Comprehensive site security, including Backup, Scan, and Anti-spam.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'Comprehensive site security, including Backup, Scan, and Anti-spam.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Boost features list
+ */
+ public static function get_features() {
+ return array(
+ _x( 'Real-time cloud backups with 10GB storage', 'Security Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Automated real-time malware scan', 'Security Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'One-click fixes for most threats', 'Security Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Comment & form spam protection', 'Security Product Feature', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array_merge(
+ array(
+ 'available' => true,
+ 'wpcom_product_slug' => static::get_wpcom_product_slug(),
+ ),
+ Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() )
+ );
+ }
+
+ /**
+ * Get the WPCOM product slug used to make the purchase
+ *
+ * @return ?string
+ */
+ public static function get_wpcom_product_slug() {
+ return 'jetpack_security_t1_yearly';
+ }
+
+ /**
+ * Checks whether the Jetpack module is active
+ *
+ * This is a bundle and not a product. We should not use this information for anything
+ *
+ * @return bool
+ */
+ public static function is_module_active() {
+ return false;
+ }
+
+ /**
+ * Activates the product by installing and activating its plugin
+ *
+ * @param bool|WP_Error $current_result Is the result of the top level activation actions. You probably won't do anything if it is an WP_Error.
+ * @return boolean|\WP_Error
+ */
+ public static function do_product_specific_activation( $current_result ) {
+
+ $product_activation = parent::do_product_specific_activation( $current_result );
+
+ if ( is_wp_error( $product_activation ) && 'module_activation_failed' === $product_activation->get_error_code() ) {
+ // A bundle is not a module. There's nothing in the plugin to be activated, so it's ok to fail to activate the module.
+ $product_activation = true;
+ }
+
+ // At this point, Jetpack plugin is installed. Let's activate each individual product.
+ $activation = Anti_Spam::activate();
+ if ( is_wp_error( $activation ) ) {
+ return $activation;
+ }
+
+ $activation = Backup::activate();
+ if ( is_wp_error( $activation ) ) {
+ return $activation;
+ }
+
+ $activation = Scan::activate();
+ if ( is_wp_error( $activation ) ) {
+ return $activation;
+ }
+
+ return $activation;
+
+ }
+
+ /**
+ * Checks whether the Product is active
+ *
+ * Security is a bundle and not a module. Activation takes place on WPCOM. So lets consider it active if jetpack is active and has the plan.
+ *
+ * @return boolean
+ */
+ public static function is_active() {
+ return static::is_jetpack_plugin_active() && static::has_required_plan();
+ }
+
+ /**
+ * Hits the wpcom api to check scan status.
+ *
+ * @todo Maybe add caching.
+ *
+ * @return Object|WP_Error
+ */
+ private static function get_state_from_wpcom() {
+ static $status = null;
+
+ if ( $status !== null ) {
+ return $status;
+ }
+
+ $site_id = Jetpack_Options::get_option( 'id' );
+
+ $response = Client::wpcom_json_api_request_as_blog(
+ sprintf( '/sites/%d/purchases', $site_id ),
+ '1.1',
+ array(
+ 'method' => 'GET',
+ )
+ );
+ if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
+ return new WP_Error( 'purchases_state_fetch_failed' );
+ }
+
+ $body = wp_remote_retrieve_body( $response );
+ $status = json_decode( $body );
+ return $status;
+ }
+
+ /**
+ * Checks whether the current plan (or purchases) of the site already supports the product
+ *
+ * @return boolean
+ */
+ public static function has_required_plan() {
+ $purchases_data = static::get_state_from_wpcom();
+ if ( is_wp_error( $purchases_data ) ) {
+ return false;
+ }
+ if ( is_array( $purchases_data ) && ! empty( $purchases_data ) ) {
+ foreach ( $purchases_data as $purchase ) {
+ if (
+ 0 === strpos( $purchase->product_slug, 'jetpack_security' ) ||
+ 0 === strpos( $purchase->product_slug, 'jetpack_complete' )
+ ) {
+ return true;
+ }
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Checks whether product is a bundle.
+ *
+ * @return boolean True
+ */
+ public static function is_bundle_product() {
+ return true;
+ }
+
+ /**
+ * Return all the products it contains.
+ *
+ * @return Array Product slugs
+ */
+ public static function get_supported_products() {
+ return array( 'backup', 'scan', 'anti-spam' );
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ return '';
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php
new file mode 100644
index 00000000..432c3501
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php
@@ -0,0 +1,135 @@
+<?php
+/**
+ * Search product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\My_Jetpack\Hybrid_Product;
+use Automattic\Jetpack\My_Jetpack\Wpcom_Products;
+
+/**
+ * Class responsible for handling the Social product
+ */
+class Social extends Hybrid_Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'social';
+
+ /**
+ * The Jetpack module name
+ *
+ * @var string
+ */
+ public static $module_name = 'publicize';
+
+ /**
+ * The slug of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_slug = 'jetpack-social';
+
+ /**
+ * The filename (id) of the plugin associated with this product.
+ *
+ * @var string
+ */
+ public static $plugin_filename = array(
+ 'jetpack-social/jetpack-social.php',
+ 'social/jetpack-social.php',
+ 'jetpack-social-dev/jetpack-social.php',
+ );
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'Social', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack Social', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'Reach your audience on social media', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'Promote your content on social media by automatically publishing when you publish on your site.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Social features list
+ */
+ public static function get_features() {
+ return array(
+ __( 'Post to social networks', 'jetpack-my-jetpack' ),
+ __( 'Schedule publishing', 'jetpack-my-jetpack' ),
+ __( 'Supports the major social networks', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product pricing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array_merge(
+ array(
+ 'available' => true,
+ 'wpcom_product_slug' => static::get_wpcom_product_slug(),
+ ),
+ Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() )
+ );
+ }
+
+ /**
+ * Get the WPCOM product slug used to make the purchase
+ *
+ * @return string
+ */
+ public static function get_wpcom_product_slug() {
+ return 'jetpack_social';
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return string
+ */
+ public static function get_manage_url() {
+ if ( static::is_jetpack_plugin_active() ) {
+ return admin_url( 'admin.php?page=jetpack#/settings?term=publicize' );
+ } elseif ( static::is_plugin_active() ) {
+ return admin_url( 'admin.php?page=jetpack-social' );
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php
new file mode 100644
index 00000000..d16152da
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php
@@ -0,0 +1,125 @@
+<?php
+/**
+ * VideoPress product
+ *
+ * @package my-jetpack
+ */
+
+namespace Automattic\Jetpack\My_Jetpack\Products;
+
+use Automattic\Jetpack\My_Jetpack\Module_Product;
+use Automattic\Jetpack\My_Jetpack\Wpcom_Products;
+
+/**
+ * Class responsible for handling the VideoPress product
+ */
+class Videopress extends Module_Product {
+
+ /**
+ * The product slug
+ *
+ * @var string
+ */
+ public static $slug = 'videopress';
+
+ /**
+ * The Jetpack module name
+ *
+ * @var string
+ */
+ public static $module_name = 'videopress';
+
+ /**
+ * Get the internationalized product name
+ *
+ * @return string
+ */
+ public static function get_name() {
+ return __( 'VideoPress', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product title
+ *
+ * @return string
+ */
+ public static function get_title() {
+ return __( 'Jetpack VideoPress', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product description
+ *
+ * @return string
+ */
+ public static function get_description() {
+ return __( 'High quality, ad-free video', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized product long description
+ *
+ * @return string
+ */
+ public static function get_long_description() {
+ return __( 'High-quality, ad-free video built specifically for WordPress.', 'jetpack-my-jetpack' );
+ }
+
+ /**
+ * Get the internationalized features list
+ *
+ * @return array Boost features list
+ */
+ public static function get_features() {
+ return array(
+ _x( '1TB of storage', 'VideoPress Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Built into WordPress editor', 'VideoPress Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Ad-free and brandable player', 'VideoPress Product Feature', 'jetpack-my-jetpack' ),
+ _x( 'Unlimited users', 'VideoPress Product Feature', 'jetpack-my-jetpack' ),
+ );
+ }
+
+ /**
+ * Get the product princing details
+ *
+ * @return array Pricing details
+ */
+ public static function get_pricing_for_ui() {
+ return array_merge(
+ array(
+ 'available' => true,
+ 'wpcom_product_slug' => static::get_wpcom_product_slug(),
+ ),
+ Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() )
+ );
+ }
+
+ /**
+ * Get the WPCOM product slug used to make the purchase
+ *
+ * @return ?string
+ */
+ public static function get_wpcom_product_slug() {
+ return 'jetpack_videopress';
+ }
+
+ /**
+ * Get the URL the user is taken after activating the product
+ *
+ * @return ?string
+ */
+ public static function get_post_activation_url() {
+ return ''; // stay in My Jetpack page.
+ }
+
+ /**
+ * Get the URL where the user manages the product
+ *
+ * @return ?string
+ */
+ public static function get_manage_url() {
+ if ( static::is_active() ) {
+ return admin_url( 'admin.php?page=jetpack#/settings?term=videopress' );
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-options/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-options/CHANGELOG.md
deleted file mode 100644
index 9f7ade0b..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-options/CHANGELOG.md
+++ /dev/null
@@ -1,178 +0,0 @@
-# Changelog
-
-All notable changes to this project will be documented in this file.
-
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
-and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-## [1.14.2] - 2022-01-04
-### Changed
-- Updated package dependencies
-
-## [1.14.1] - 2021-12-14
-### Changed
-- Updated package dependencies.
-
-## [1.14.0] - 2021-11-30
-### Added
-- Added has_seen_wc_connection_modal option to the list of available options
-- Add new Jetpack plugin partner coupon options
-
-## [1.13.5] - 2021-11-16
-### Added
-- Added Jetpack Option 'licensing_activation_notice_dismiss'.
-
-## [1.13.4] - 2021-10-13
-### Changed
-- Updated package dependencies.
-
-## [1.13.3] - 2021-10-12
-### Changed
-- Updated package dependencies
-
-## [1.13.2] - 2021-09-28
-### Changed
-- Updated package dependencies.
-
-## [1.13.1] - 2021-08-30
-### Changed
-- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills).
-- update annotations versions
-
-## [1.13.0] - 2021-06-15
-### Changed
-- Added 'purchaseToken' option for logged out user purchases on WordPress.com.
-
-## [1.12.1] - 2021-05-25
-### Changed
-- Updated package dependencies.
-
-## [1.12.0] - 2021-04-27
-### Added
-- Added unique_registrations option
-
-## [1.11.4] - 2021-04-08
-### Changed
-- Packaging and build changes, no change to the package itself.
-
-## [1.11.3] - 2021-03-30
-### Added
-- added active_modules_initialized option
-- Composer alias for dev-master, to improve dependencies
-
-### Changed
-- Update package dependencies.
-
-## [1.11.2] - 2021-02-23
-
-- Setup Wizard: Remove setup wizard
-- Jetpack Recommendations: Add dashboard banner
-
-## [1.11.1] - 2021-01-28
-
-- Jetpack Recommendations: Show Recommendations tab for all users (#18576)\n\nCommitted via a GitHub action: https://github.com/automattic/jetpack/runs/518520328
-
-## [1.11.0] - 2021-01-26
-
-- Add mirror-repo information to all current composer packages
-- Monorepo: Reorganize all projects
-
-## [1.10.0] - 2021-01-05
-
-- Pin dependencies
-- Packages: Update for PHP 8 testing
-
-## [1.9.1] - 2020-11-24
-
-- Version packages for release
-
-## [1.9.0] - 2020-09-29
-
-- Licensing: Add support for Jetpack licenses
-
-## [1.8.0] - 2020-08-25
-
-- Jetpack Anti-Spam: update Anti-Spam label in sidebar menu item
-
-## [1.7.0] - 2020-07-28
-
-- Add a filter to jetpack options
-
-## [1.6.0] - 2020-06-30
-
-- Various: Update use of whitelist/blacklist
-
-## [1.5.0] - 2020-05-26
-
-- Jetpack Setup Wizard: Add Setup Wizard status and routing memory
-- Implement Jetpack Wizard banner
-- Implemented /setup/questionnaire API endpoint for the new setup wizard
-
-## [1.4.0] - 2020-04-28
-
-- Update dependencies to latest stable
-
-## [1.3.0] - 2020-03-31
-
-- Update dependencies to latest stable
-
-## [1.2.0] - 2020-02-25
-
-- Mobile Theme: remove feature
-
-## [1.1.3] - 2020-02-14
-
-- Initial Sync Health Status Class and Data Loss Handler
-
-## [1.1.2] - 2019-11-08
-
-- Packages: Use classmap instead of PSR-4
-
-## [1.1.1] - 2019-10-29
-
-- PHPCS: Rest of the packages
-
-## [1.1.0] - 2019-09-14
-
-- Add Stats to XML-RPC Errors
-- Stats: Use Transient API to Improve Cache Performance
-
-## [1.0.1] - 2019-07-10
-
-- Adding a readme to the Jetpack Options package.
-
-## 1.0.0 - 2019-07-09
-
-- Initial release
-
-[1.14.2]: https://github.com/Automattic/jetpack-options/compare/v1.14.1...v1.14.2
-[1.14.1]: https://github.com/Automattic/jetpack-options/compare/v1.14.0...v1.14.1
-[1.14.0]: https://github.com/Automattic/jetpack-options/compare/v1.13.5...v1.14.0
-[1.13.5]: https://github.com/Automattic/jetpack-options/compare/v1.13.4...v1.13.5
-[1.13.4]: https://github.com/Automattic/jetpack-options/compare/v1.13.3...v1.13.4
-[1.13.3]: https://github.com/Automattic/jetpack-options/compare/v1.13.2...v1.13.3
-[1.13.2]: https://github.com/Automattic/jetpack-options/compare/v1.13.1...v1.13.2
-[1.13.1]: https://github.com/Automattic/jetpack-options/compare/v1.13.0...v1.13.1
-[1.13.0]: https://github.com/Automattic/jetpack-options/compare/v1.12.1...v1.13.0
-[1.12.1]: https://github.com/Automattic/jetpack-options/compare/v1.12.0...v1.12.1
-[1.12.0]: https://github.com/Automattic/jetpack-options/compare/v1.11.4...v1.12.0
-[1.11.4]: https://github.com/Automattic/jetpack-options/compare/v1.11.3...v1.11.4
-[1.11.3]: https://github.com/Automattic/jetpack-options/compare/v1.11.2...v1.11.3
-[1.11.2]: https://github.com/Automattic/jetpack-options/compare/v1.11.1...v1.11.2
-[1.11.1]: https://github.com/Automattic/jetpack-options/compare/v1.11.0...v1.11.1
-[1.11.0]: https://github.com/Automattic/jetpack-options/compare/v1.10.0...v1.11.0
-[1.10.0]: https://github.com/Automattic/jetpack-options/compare/v1.9.1...v1.10.0
-[1.9.1]: https://github.com/Automattic/jetpack-options/compare/v1.9.0...v1.9.1
-[1.9.0]: https://github.com/Automattic/jetpack-options/compare/v1.8.0...v1.9.0
-[1.8.0]: https://github.com/Automattic/jetpack-options/compare/v1.7.0...v1.8.0
-[1.7.0]: https://github.com/Automattic/jetpack-options/compare/v1.6.0...v1.7.0
-[1.6.0]: https://github.com/Automattic/jetpack-options/compare/v1.5.0...v1.6.0
-[1.5.0]: https://github.com/Automattic/jetpack-options/compare/v1.4.0...v1.5.0
-[1.4.0]: https://github.com/Automattic/jetpack-options/compare/v1.3.0...v1.4.0
-[1.3.0]: https://github.com/Automattic/jetpack-options/compare/v1.2.0...v1.3.0
-[1.2.0]: https://github.com/Automattic/jetpack-options/compare/v1.1.3...v1.2.0
-[1.1.3]: https://github.com/Automattic/jetpack-options/compare/v1.1.2...v1.1.3
-[1.1.2]: https://github.com/Automattic/jetpack-options/compare/v1.1.1...v1.1.2
-[1.1.1]: https://github.com/Automattic/jetpack-options/compare/v1.1.0...v1.1.1
-[1.1.0]: https://github.com/Automattic/jetpack-options/compare/v1.0.1...v1.1.0
-[1.0.1]: https://github.com/Automattic/jetpack-options/compare/v1.0.0...v1.0.1
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/CHANGELOG.md
index e9aef962..c444d70e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/CHANGELOG.md
@@ -5,6 +5,58 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.7.9] - 2022-05-18
+### Fixed
+- Fix new PHPCS sniffs. [#24366]
+
+## [1.7.8] - 2022-05-04
+### Changed
+- Updated package dependencies. [#24095]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+## [1.7.7] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.7.6] - 2022-04-19
+### Changed
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+
+## [1.7.5] - 2022-04-12
+### Changed
+- Updated package dependencies.
+
+## [1.7.4] - 2022-04-06
+### Changed
+- Updated package dependencies.
+
+## [1.7.3] - 2022-03-29
+### Changed
+- Microperformance: Use === null instead of is_null
+
+## [1.7.2] - 2022-03-02
+### Changed
+- Updated package dependencies.
+
+## [1.7.1] - 2022-02-22
+### Changed
+- Updated package dependencies.
+
+## [1.7.0] - 2022-02-16
+### Added
+- Added the ability to specify a partner logo for each supported partner
+- Remotely check if partner coupon looks valid
+
+## [1.6.4] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
+## [1.6.3] - 2022-01-18
+### Changed
+- Updated package dependencies.
+
## [1.6.2] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -108,6 +160,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add partner subsidiary id to upgrade URLs.
+[1.7.9]: https://github.com/Automattic/jetpack-partner/compare/v1.7.8...v1.7.9
+[1.7.8]: https://github.com/Automattic/jetpack-partner/compare/v1.7.7...v1.7.8
+[1.7.7]: https://github.com/Automattic/jetpack-partner/compare/v1.7.6...v1.7.7
+[1.7.6]: https://github.com/Automattic/jetpack-partner/compare/v1.7.5...v1.7.6
+[1.7.5]: https://github.com/Automattic/jetpack-partner/compare/v1.7.4...v1.7.5
+[1.7.4]: https://github.com/Automattic/jetpack-partner/compare/v1.7.3...v1.7.4
+[1.7.3]: https://github.com/Automattic/jetpack-partner/compare/v1.7.2...v1.7.3
+[1.7.2]: https://github.com/Automattic/jetpack-partner/compare/v1.7.1...v1.7.2
+[1.7.1]: https://github.com/Automattic/jetpack-partner/compare/v1.7.0...v1.7.1
+[1.7.0]: https://github.com/Automattic/jetpack-partner/compare/v1.6.4...v1.7.0
+[1.6.4]: https://github.com/Automattic/jetpack-partner/compare/v1.6.3...v1.6.4
+[1.6.3]: https://github.com/Automattic/jetpack-partner/compare/v1.6.2...v1.6.3
[1.6.2]: https://github.com/Automattic/jetpack-partner/compare/v1.6.1...v1.6.2
[1.6.1]: https://github.com/Automattic/jetpack-partner/compare/v1.6.0...v1.6.1
[1.6.0]: https://github.com/Automattic/jetpack-partner/compare/v1.5.7...v1.6.0
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php
index a1619a2b..c664e9e8 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php
@@ -7,6 +7,7 @@
namespace Automattic\Jetpack;
+use Automattic\Jetpack\Connection\Client as Connection_Client;
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Jetpack_Options;
@@ -20,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* Class Jetpack_Partner_Coupon
*
- * @since $$next_version$$
+ * @since 1.6.0
*/
class Partner_Coupon {
@@ -39,6 +40,20 @@ class Partner_Coupon {
public static $added_option = 'partner_coupon_added';
/**
+ * Name of "last availability check" transient.
+ *
+ * @var string
+ */
+ public static $last_check_transient = 'jetpack_partner_coupon_last_check';
+
+ /**
+ * Callable that executes a blog-authenticated request.
+ *
+ * @var callable
+ */
+ protected $request_as_blog;
+
+ /**
* Jetpack_Partner_Coupon
*
* @var Partner_Coupon|null
@@ -51,7 +66,14 @@ class Partner_Coupon {
* @var array
*/
private static $supported_partners = array(
- 'IONOS' => 'IONOS',
+ 'IONOS' => array(
+ 'name' => 'IONOS',
+ 'logo' => array(
+ 'src' => '/images/ionos-logo.jpg',
+ 'width' => 119,
+ 'height' => 32,
+ ),
+ ),
);
/**
@@ -65,16 +87,27 @@ class Partner_Coupon {
/**
* Get singleton instance of class.
+ *
+ * @return Partner_Coupon
*/
public static function get_instance() {
- if ( is_null( self::$instance ) ) {
- self::$instance = new Partner_Coupon();
+ if ( self::$instance === null ) {
+ self::$instance = new Partner_Coupon( array( Connection_Client::class, 'wpcom_json_api_request_as_blog' ) );
}
return self::$instance;
}
/**
+ * Constructor.
+ *
+ * @param callable $request_as_blog Callable that executes a blog-authenticated request.
+ */
+ public function __construct( $request_as_blog ) {
+ $this->request_as_blog = $request_as_blog;
+ }
+
+ /**
* Register hooks to catch and purge coupon.
*
* @param string $plugin_slug The plugin slug to differentiate between Jetpack connections.
@@ -83,8 +116,6 @@ class Partner_Coupon {
public static function register_coupon_admin_hooks( $plugin_slug, $redirect_location ) {
$instance = self::get_instance();
- add_action( 'admin_init', array( $instance, 'purge_coupon' ) );
-
// We have to use an anonymous function, so we can pass along relevant information
// and not have to hardcode values for a single plugin.
// This open up the opportunity for e.g. the "all-in-one" and backup plugins
@@ -93,6 +124,7 @@ class Partner_Coupon {
'admin_init',
function () use ( $plugin_slug, $redirect_location, $instance ) {
$instance->catch_coupon( $plugin_slug, $redirect_location );
+ $instance->maybe_purge_coupon( $plugin_slug );
}
);
}
@@ -105,7 +137,7 @@ class Partner_Coupon {
*/
public function catch_coupon( $plugin_slug, $redirect_location ) {
// Accept and store a partner coupon if present, and redirect to Jetpack connection screen.
- $partner_coupon = isset( $_GET['jetpack-partner-coupon'] ) ? sanitize_text_field( $_GET['jetpack-partner-coupon'] ) : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $partner_coupon = isset( $_GET['jetpack-partner-coupon'] ) ? sanitize_text_field( wp_unslash( $_GET['jetpack-partner-coupon'] ) ) : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( $partner_coupon ) {
Jetpack_Options::update_options(
array(
@@ -127,27 +159,134 @@ class Partner_Coupon {
/**
* Purge partner coupon.
*
- * We automatically purge partner coupons after a certain amount of time to prevent
- * us from unnecessarily promoting a product for months or years in the future.
+ * We try to remotely check if a coupon looks valid. We also automatically purge
+ * partner coupons after a certain amount of time to prevent unnecessary look-ups
+ * and/or promoting a product for months or years in the future due to unknown
+ * errors.
+ *
+ * @param string $plugin_slug The plugin slug to differentiate between Jetpack connections.
+ */
+ public function maybe_purge_coupon( $plugin_slug ) {
+ // Only run coupon checks on Jetpack admin pages.
+ // The "admin-ui" package is responsible for registering the Jetpack admin
+ // page for all Jetpack plugins and has hardcoded the settings page to be
+ // "jetpack", so we shouldn't need to allow for dynamic/custom values.
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( ! isset( $_GET['page'] ) || 'jetpack' !== $_GET['page'] ) {
+ return;
+ }
+
+ if ( ( new Status() )->is_offline_mode() ) {
+ return;
+ }
+
+ $connection = new Connection_Manager( $plugin_slug );
+ if ( ! $connection->is_connected() ) {
+ return;
+ }
+
+ if ( $this->maybe_purge_coupon_by_added_date() ) {
+ return;
+ }
+
+ // Limit checks to happen once a minute at most.
+ if ( get_transient( self::$last_check_transient ) ) {
+ return;
+ }
+
+ set_transient( self::$last_check_transient, true, MINUTE_IN_SECONDS );
+
+ $this->maybe_purge_coupon_by_availability_check();
+ }
+
+ /**
+ * Purge coupon based on local added date.
+ *
+ * We automatically remove the coupon after a month to "self-heal" if
+ * something in the claim process has broken with the site.
+ *
+ * @return bool Return whether we should skip further purge checks.
*/
- public function purge_coupon() {
+ protected function maybe_purge_coupon_by_added_date() {
$date = Jetpack_Options::get_option( self::$added_option, '' );
if ( empty( $date ) ) {
- return;
+ return true;
}
$expire_date = strtotime( '+30 days', $date );
$today = time();
if ( $today >= $expire_date ) {
- Jetpack_Options::delete_option(
- array(
- self::$coupon_option,
- self::$added_option,
- )
- );
+ $this->delete_coupon_data();
+
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Purge coupon based on availability check.
+ *
+ * @return bool Return whether we deleted coupon data.
+ */
+ protected function maybe_purge_coupon_by_availability_check() {
+ $blog_id = Jetpack_Options::get_option( 'id', false );
+
+ if ( ! $blog_id ) {
+ return false;
+ }
+
+ $coupon = self::get_coupon();
+
+ if ( ! $coupon ) {
+ return false;
+ }
+
+ $response = call_user_func_array(
+ $this->request_as_blog,
+ array(
+ add_query_arg(
+ array( 'coupon_code' => $coupon['coupon_code'] ),
+ sprintf(
+ '/sites/%d/jetpack-partner/coupon/v1/site/coupon',
+ $blog_id
+ )
+ ),
+ 2,
+ array( 'method' => 'GET' ),
+ null,
+ 'wpcom',
+ )
+ );
+
+ $body = json_decode( wp_remote_retrieve_body( $response ), true );
+
+ if (
+ 200 === wp_remote_retrieve_response_code( $response ) &&
+ is_array( $body ) &&
+ isset( $body['available'] ) &&
+ false === $body['available']
+ ) {
+ $this->delete_coupon_data();
+
+ return true;
}
+
+ return false;
+ }
+
+ /**
+ * Delete all coupon data.
+ */
+ protected function delete_coupon_data() {
+ Jetpack_Options::delete_option(
+ array(
+ self::$coupon_option,
+ self::$added_option,
+ )
+ );
}
/**
@@ -208,8 +347,9 @@ class Partner_Coupon {
}
return array(
- 'name' => $supported_partners[ $prefix ],
+ 'name' => $supported_partners[ $prefix ]['name'],
'prefix' => $prefix,
+ 'logo' => isset( $supported_partners[ $prefix ]['logo'] ) ? $supported_partners[ $prefix ]['logo'] : null,
);
}
@@ -227,7 +367,7 @@ class Partner_Coupon {
/**
* Allow for plugins to register supported products.
*
- * @since $$next_version$$
+ * @since 1.6.0
*
* @param array A list of product details.
* @return array
@@ -296,7 +436,7 @@ class Partner_Coupon {
/**
* Allow external code to add additional supported partners.
*
- * @since $$next_version$$
+ * @since 1.6.0
*
* @param array $supported_partners A list of supported partners.
* @return array
@@ -313,7 +453,7 @@ class Partner_Coupon {
/**
* Allow external code to add additional supported presets.
*
- * @since $$next_version$$
+ * @since 1.6.0
*
* @param array $supported_presets A list of supported presets.
* @return array
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php
index bec501bc..2d70c521 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php
@@ -46,7 +46,7 @@ class Partner {
* @since 1.0.0
*/
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new Partner();
add_filter( 'jetpack_build_authorize_url', array( self::$instance, 'add_subsidiary_id_as_query_arg' ) );
add_filter( 'jetpack_build_authorize_url', array( self::$instance, 'add_affiliate_code_as_query_arg' ) );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/CHANGELOG.md
index faa074b4..da0411ef 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/CHANGELOG.md
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [0.2.4] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [0.2.3] - 2022-03-29
+### Changed
+- Microperformance: Use === null instead of is_null
+
+## [0.2.2] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
+## [0.2.1] - 2022-01-18
+### Changed
+- Updated package dependencies.
+
## [0.2.0] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -52,6 +68,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Use `composer update` rather than `install` in scripts, as composer.lock isn't checked in.
+[0.2.4]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.3...v0.2.4
+[0.2.3]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.2...v0.2.3
+[0.2.2]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.1...v0.2.2
+[0.2.1]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/Automattic/jetpack-password-checker/compare/v0.1.8...v0.2.0
[0.1.8]: https://github.com/Automattic/jetpack-password-checker/compare/v0.1.7...v0.1.8
[0.1.7]: https://github.com/Automattic/jetpack-password-checker/compare/v0.1.6...v0.1.7
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php
index 7c9cec39..374dc893 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php
@@ -82,7 +82,7 @@ class Password_Checker {
* @param mixed $user can be an integer ID, or a WP_User object.
*/
public function __construct( $user = null ) {
- if ( is_null( $user ) ) {
+ if ( $user === null ) {
$this->user_id = get_current_user_id();
} elseif ( is_object( $user ) && isset( $user->ID ) ) {
// Existing user, using their ID.
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/.phpcs.dir.xml b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/.phpcs.dir.xml
new file mode 100644
index 00000000..fd41c865
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/.phpcs.dir.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<ruleset>
+
+ <rule ref="WordPress.WP.I18n">
+ <properties>
+ <property name="text_domain" type="array">
+ <element value="jetpack-plugins-installer" />
+ </property>
+ </properties>
+ </rule>
+ <rule ref="Jetpack.Functions.I18n">
+ <properties>
+ <property name="text_domain" value="jetpack-plugins-installer" />
+ </properties>
+ </rule>
+
+ <rule ref="WordPress.Utils.I18nTextDomainFixer">
+ <properties>
+ <property name="old_text_domain" type="array" />
+ <property name="new_text_domain" value="jetpack-plugins-installer" />
+ </properties>
+ </rule>
+
+</ruleset>
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/CHANGELOG.md
new file mode 100644
index 00000000..3994845e
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/CHANGELOG.md
@@ -0,0 +1,28 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [0.1.2] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [0.1.1] - 2022-03-29
+### Added
+- Set composer package type to "jetpack-library" so i18n will work.
+
+## 0.1.0 - 2022-02-02
+### Added
+- First version
+- New functions to safely check plugin statuses
+
+### Changed
+- Build: add missing mirror repo details, so package can be deployed.
+
+### Fixed
+- Fix method logic
+
+[0.1.2]: https://github.com/Automattic/jetpack-plugins-installer/compare/v0.1.1...v0.1.2
+[0.1.1]: https://github.com/Automattic/jetpack-plugins-installer/compare/v0.1.0...v0.1.1
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-options/LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/LICENSE.txt
index e82774c1..e82774c1 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-options/LICENSE.txt
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/LICENSE.txt
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-options/SECURITY.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/SECURITY.md
index b4b46c0e..b4b46c0e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-options/SECURITY.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/SECURITY.md
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php
new file mode 100644
index 00000000..ae129c59
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php
@@ -0,0 +1,155 @@
+<?php
+/**
+ * Automatic_Upgrader_Skin extension for Jetpack
+ *
+ * @package jetpack-plugins-installer
+ */
+
+namespace Automattic\Jetpack;
+
+use Automatic_Upgrader_Skin;
+
+/**
+ * Include required files from wp-admin.
+ */
+require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
+require_once ABSPATH . 'wp-admin/includes/file.php';
+
+/**
+ * Allows us to capture that the site doesn't have proper file system access.
+ * In order to update the plugin.
+ */
+class Automatic_Install_Skin extends Automatic_Upgrader_Skin {
+ /**
+ * Stores the last error key;
+ *
+ * @var string
+ **/
+ protected $main_error_code = 'install_error';
+
+ /**
+ * Stores the last error message.
+ *
+ * @var string
+ **/
+ protected $main_error_message = 'An unknown error occurred during installation';
+
+ /**
+ * Overwrites the set_upgrader to be able to tell if we e ven have the ability to write to the files.
+ *
+ * @param WP_Upgrader $upgrader The upgrader object.
+ */
+ public function set_upgrader( &$upgrader ) {
+ parent::set_upgrader( $upgrader );
+
+ // Check if we even have permission to.
+ $result = $upgrader->fs_connect( array( WP_CONTENT_DIR, WP_PLUGIN_DIR ) );
+ if ( ! $result ) {
+ // set the string here since they are not available just yet.
+ $upgrader->generic_strings();
+ $this->feedback( 'fs_unavailable' );
+ }
+ }
+
+ /**
+ * Overwrites the error function
+ *
+ * @param \WP_Error|mixed $error The error object.
+ */
+ public function error( $error ) {
+ if ( is_wp_error( $error ) ) {
+ $this->feedback( $error );
+ }
+ }
+
+ /**
+ * Set the main error code.
+ *
+ * Don't set the process_failed as code since it is not that helpful unless we don't have one already set
+ *
+ * @param string $code The error code.
+ * @return void
+ */
+ private function set_main_error_code( $code ) {
+ $this->main_error_code = ( 'process_failed' === $code && $this->main_error_code ? $this->main_error_code : $code );
+ }
+
+ /**
+ * Set the main error message.
+ *
+ * Don't set the process_failed as message since it is not that helpful unless we don't have one already set
+ *
+ * @param string $message The error message.
+ * @param string $code The error code.
+ * @return void
+ */
+ private function set_main_error_message( $message, $code ) {
+ $this->main_error_message = ( 'process_failed' === $code && $this->main_error_message ? $this->main_error_message : $message );
+ }
+
+ /**
+ * Get the main error code
+ *
+ * @return string
+ */
+ public function get_main_error_code() {
+ return $this->main_error_code;
+ }
+
+ /**
+ * Get the main error message
+ *
+ * @return string
+ */
+ public function get_main_error_message() {
+ return $this->main_error_message;
+ }
+
+ /**
+ * Overwrites the feedback function
+ *
+ * @param string|array|WP_Error $data Data.
+ * @param mixed ...$args Optional text replacements.
+ */
+ public function feedback( $data, ...$args ) {
+
+ $current_error = null;
+ if ( is_wp_error( $data ) ) {
+ $this->set_main_error_code( $data->get_error_code() );
+ $string = $data->get_error_message();
+ } elseif ( is_array( $data ) ) {
+ return;
+ } else {
+ $string = $data;
+ }
+
+ if ( ! empty( $this->upgrader->strings[ $string ] ) ) {
+ $this->set_main_error_code( $string );
+
+ $current_error = $string;
+ $string = $this->upgrader->strings[ $string ];
+ }
+
+ if ( strpos( $string, '%' ) !== false ) {
+ if ( ! empty( $args ) ) {
+ $string = vsprintf( $string, $args );
+ }
+ }
+
+ $string = trim( $string );
+ $string = wp_kses(
+ $string,
+ array(
+ 'a' => array(
+ 'href' => true,
+ ),
+ 'br' => true,
+ 'em' => true,
+ 'strong' => true,
+ )
+ );
+
+ $this->set_main_error_message( $string, $current_error );
+ $this->messages[] = $string;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php
new file mode 100644
index 00000000..bae23baa
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php
@@ -0,0 +1,238 @@
+<?php
+/**
+ * Plugins Library
+ *
+ * Helper functions for installing and activating plugins.
+ *
+ * Used by the REST API
+ *
+ * @package jetpack-plugins-installer
+ */
+
+namespace Automattic\Jetpack;
+
+use Plugin_Upgrader;
+use WP_Error;
+
+/**
+ * Plugins management tools.
+ */
+class Plugins_Installer {
+
+ /**
+ * Ensures that plugins functions are loaded, as they are only loaded in admin context by default.
+ */
+ private static function ensure_plugin_functions_are_loaded() {
+ if ( ! function_exists( 'get_plugins' ) ) {
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
+ }
+ }
+ /**
+ * Install and activate a plugin.
+ *
+ * @since-jetpack 5.8.0
+ *
+ * @param string $slug Plugin slug.
+ *
+ * @return bool|WP_Error True if installation succeeded, error object otherwise.
+ */
+ public static function install_and_activate_plugin( $slug ) {
+ $plugin_id = self::get_plugin_id_by_slug( $slug );
+
+ if ( ! $plugin_id ) {
+ $installed = self::install_plugin( $slug );
+ if ( is_wp_error( $installed ) ) {
+ return $installed;
+ }
+ $plugin_id = self::get_plugin_id_by_slug( $slug );
+ } elseif ( self::is_plugin_active( $plugin_id ) ) {
+ return true; // Already installed and active.
+ }
+
+ if ( ! current_user_can( 'activate_plugins' ) ) {
+ return new WP_Error( 'not_allowed', __( 'You are not allowed to activate plugins on this site.', 'jetpack-plugins-installer' ) );
+ }
+ $activated = activate_plugin( $plugin_id );
+ if ( is_wp_error( $activated ) ) {
+ return $activated;
+ }
+
+ return true;
+ }
+
+ /**
+ * Install a plugin.
+ *
+ * @since-jetpack 5.8.0
+ *
+ * @param string $slug Plugin slug.
+ *
+ * @return bool|WP_Error True if installation succeeded, error object otherwise.
+ */
+ public static function install_plugin( $slug ) {
+ if ( is_multisite() && ! current_user_can( 'manage_network' ) ) {
+ return new WP_Error( 'not_allowed', __( 'You are not allowed to install plugins on this site.', 'jetpack-plugins-installer' ) );
+ }
+
+ $skin = new Automatic_Install_Skin();
+ $upgrader = new Plugin_Upgrader( $skin );
+ $zip_url = self::generate_wordpress_org_plugin_download_link( $slug );
+ $mc_stats = new A8c_Mc_Stats();
+
+ $result = $upgrader->install( $zip_url );
+
+ if ( is_wp_error( $result ) ) {
+ $mc_stats->add( 'install-plugin', "fail-$slug" );
+ return $result;
+ }
+
+ $plugin = self::get_plugin_id_by_slug( $slug );
+ $error_code = 'install_error';
+ if ( ! $plugin ) {
+ $error = __( 'There was an error installing your plugin', 'jetpack-plugins-installer' );
+ }
+
+ if ( ! $result ) {
+ $error_code = $upgrader->skin->get_main_error_code();
+ $message = $upgrader->skin->get_main_error_message();
+ $error = $message ? $message : __( 'An unknown error occurred during installation', 'jetpack-plugins-installer' );
+ }
+
+ if ( ! empty( $error ) ) {
+ if ( 'download_failed' === $error_code ) {
+ // For backwards compatibility: versions prior to 3.9 would return no_package instead of download_failed.
+ $error_code = 'no_package';
+ }
+
+ $mc_stats->add( 'install-plugin', "fail-$slug" );
+ return new WP_Error( $error_code, $error, 400 );
+ }
+
+ $mc_stats->add( 'install-plugin', "success-$slug" );
+ return (array) $upgrader->skin->get_upgrade_messages();
+ }
+
+ /**
+ * Get WordPress.org zip download link from a plugin slug
+ *
+ * @param string $plugin_slug Plugin slug.
+ */
+ protected static function generate_wordpress_org_plugin_download_link( $plugin_slug ) {
+ return "https://downloads.wordpress.org/plugin/$plugin_slug.latest-stable.zip";
+ }
+
+ /**
+ * Get the plugin ID (composed of the plugin slug and the name of the main plugin file) from a plugin slug.
+ *
+ * @param string $slug Plugin slug.
+ */
+ public static function get_plugin_id_by_slug( $slug ) {
+ // Check if get_plugins() function exists. This is required on the front end of the
+ // site, since it is in a file that is normally only loaded in the admin.
+ if ( ! function_exists( 'get_plugins' ) ) {
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
+ }
+
+ /** This filter is documented in wp-admin/includes/class-wp-plugins-list-table.php */
+ $plugins = apply_filters( 'all_plugins', get_plugins() );
+ if ( ! is_array( $plugins ) ) {
+ return false;
+ }
+
+ foreach ( $plugins as $plugin_file => $plugin_data ) {
+ if ( self::get_slug_from_file_path( $plugin_file ) === $slug ) {
+ return $plugin_file;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Get the plugin slug from the plugin ID (composed of the plugin slug and the name of the main plugin file)
+ *
+ * @param string $plugin_file Plugin file (ID -- e.g. hello-dolly/hello.php).
+ */
+ protected static function get_slug_from_file_path( $plugin_file ) {
+ // Similar to get_plugin_slug() method.
+ $slug = dirname( $plugin_file );
+ if ( '.' === $slug ) {
+ $slug = preg_replace( '/(.+)\.php$/', '$1', $plugin_file );
+ }
+
+ return $slug;
+ }
+
+ /**
+ * Get the activation status for a plugin.
+ *
+ * @since-jetpack 8.9.0
+ *
+ * @param string $plugin_file The plugin file to check.
+ * @return string Either 'network-active', 'active' or 'inactive'.
+ */
+ public static function get_plugin_status( $plugin_file ) {
+ if ( self::is_plugin_active_for_network( $plugin_file ) ) {
+ return 'network-active';
+ }
+
+ if ( self::is_plugin_active( $plugin_file ) ) {
+ return 'active';
+ }
+
+ return 'inactive';
+ }
+
+ /**
+ * Safely checks if the plugin is active
+ *
+ * @since $next-version$
+ *
+ * @param string $plugin_file The plugin file to check.
+ * @return bool
+ */
+ public static function is_plugin_active( $plugin_file ) {
+ self::ensure_plugin_functions_are_loaded();
+ return is_plugin_active( $plugin_file );
+ }
+
+ /**
+ * Safely checks if the plugin is active for network
+ *
+ * @since $next-version$
+ *
+ * @param string $plugin_file The plugin file to check.
+ * @return bool
+ */
+ public static function is_plugin_active_for_network( $plugin_file ) {
+ self::ensure_plugin_functions_are_loaded();
+ return is_plugin_active_for_network( $plugin_file );
+ }
+
+ /**
+ * Returns a list of all plugins in the site.
+ *
+ * @since-jetpack 8.9.0
+ * @uses get_plugins()
+ *
+ * @return array
+ */
+ public static function get_plugins() {
+ self::ensure_plugin_functions_are_loaded();
+ /** This filter is documented in wp-admin/includes/class-wp-plugins-list-table.php */
+ $plugins = apply_filters( 'all_plugins', get_plugins() );
+
+ if ( is_array( $plugins ) && ! empty( $plugins ) ) {
+ foreach ( $plugins as $plugin_slug => $plugin_data ) {
+ $plugins[ $plugin_slug ]['active'] = in_array(
+ self::get_plugin_status( $plugin_slug ),
+ array( 'active', 'network-active' ),
+ true
+ );
+ }
+ return $plugins;
+ }
+
+ return array();
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/CHANGELOG.md
new file mode 100644
index 00000000..fa6c6bf4
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/CHANGELOG.md
@@ -0,0 +1,71 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [0.5.0] - 2022-05-31
+### Added
+- Changed logic to initialize publicize classes only if the publicize module is active. [#24451]
+
+### Changed
+- Classic Editor: Replaced the initial settings form with the Jetpack redirect link [#24526]
+
+## [0.4.0] - 2022-05-24
+### Added
+- Added the post field to the Publicize package [#24324]
+
+## [0.3.0] - 2022-05-18
+### Added
+- Added new jetpack v4 end-point to list publicize connections. [#24293]
+
+### Changed
+- Updated package dependencies. [#24153] [#24360]
+
+### Fixed
+- Added check for wp_ajax_elementor_ajax to allow publicizing via elementor. [#24387]
+- gitignore wordpress directory within the publicize package [#24339]
+
+## [0.2.1] - 2022-05-10
+### Fixed
+- Publicize: Correct bad namespaces
+
+## [0.2.0] - 2022-05-04
+### Added
+- Added redirect links for Jetpack cloud. [#24205]
+
+### Changed
+- Updated package dependencies. [#24095]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+## [0.1.1] - 2022-05-19
+### Fixed
+- Added check for wp_ajax_elementor_ajax to allow publicizing via elementor.
+- Publicize: Correct bad namespaces
+
+## 0.1.0 - 2022-04-26
+### Added
+- Added an empty shell package
+- Added Publicize module files to Composer package
+- Set composer package type to "jetpack-library" so i18n will work.
+- Use the publicize package in the Jetpack plugin.
+
+### Changed
+- Applied legacy Publicize filters to flag setting for Publicize
+- Fix Composer dependencies
+- Microperformance: Use === null instead of is_null
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+- Publicize: Do not display legacy UI for block editor pages
+- Sync'd changes with the equivalent files in the Publicize module
+- Updated package dependencies.
+- Update package.json metadata.
+
+[0.5.0]: https://github.com/Automattic/jetpack-publicize/compare/v0.4.0...v0.5.0
+[0.4.0]: https://github.com/Automattic/jetpack-publicize/compare/v0.3.0...v0.4.0
+[0.3.0]: https://github.com/Automattic/jetpack-publicize/compare/v0.2.1...v0.3.0
+[0.2.1]: https://github.com/Automattic/jetpack-publicize/compare/v0.2.0...v0.2.1
+[0.2.0]: https://github.com/Automattic/jetpack-publicize/compare/v0.1.0...v0.2.0
+[0.1.1]: https://github.com/Automattic/jetpack-publicize/compare/v0.1.0...v0.1.1
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/LICENSE.txt
index e82774c1..e82774c1 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/LICENSE.txt
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/LICENSE.txt
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/SECURITY.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/SECURITY.md
index b4b46c0e..b4b46c0e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/SECURITY.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/SECURITY.md
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-connections-post-field.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-connections-post-field.php
new file mode 100644
index 00000000..0f44436e
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-connections-post-field.php
@@ -0,0 +1,464 @@
+<?php
+/**
+ * Registers the API field for Publicize connections.
+ *
+ * @package automattic/jetpack-publicize
+ */
+
+namespace Automattic\Jetpack\Publicize;
+
+/**
+ * The class to register the field and augment requests
+ * to Publicize supported post types.
+ */
+class Connections_Post_Field {
+
+ const FIELD_NAME = 'jetpack_publicize_connections';
+
+ /**
+ * Array of post IDs that have been updated.
+ *
+ * @var array
+ */
+ private $meta_saved = array();
+
+ /**
+ * Used to memoize the updates for a given post.
+ *
+ * @var array
+ */
+ public $memoized_updates = array();
+
+ /**
+ * Registers the jetpack_publicize_connections field. Called
+ * automatically on `rest_api_init()`.
+ */
+ public function register_fields() {
+ $post_types = get_post_types_by_support( 'publicize' );
+ foreach ( $post_types as $post_type ) {
+ // Adds meta support for those post types that don't already have it.
+ // Only runs during REST API requests, so it doesn't impact UI.
+ if ( ! post_type_supports( $post_type, 'custom-fields' ) ) {
+ add_post_type_support( $post_type, 'custom-fields' );
+ }
+
+ // We use these hooks and not the update_callback because we must updateth meta
+ // before we set the post as published, otherwise the wrong connections could be used.
+ add_filter( 'rest_pre_insert_' . $post_type, array( $this, 'rest_pre_insert' ), 10, 2 );
+ add_action( 'rest_insert_' . $post_type, array( $this, 'rest_insert' ), 10, 3 );
+
+ register_rest_field(
+ $post_type,
+ self::FIELD_NAME,
+ array(
+ 'get_callback' => array( $this, 'get' ),
+ 'schema' => $this->get_schema(),
+ )
+ );
+ }
+ }
+
+ /**
+ * Defines data structure and what elements are visible in which contexts
+ */
+ public function get_schema() {
+ return array(
+ '$schema' => 'http://json-schema.org/draft-04/schema#',
+ 'title' => 'jetpack-publicize-post-connections',
+ 'type' => 'array',
+ 'context' => array( 'view', 'edit' ),
+ 'items' => $this->post_connection_schema(),
+ 'default' => array(),
+ );
+ }
+
+ /**
+ * Schema for the endpoint.
+ */
+ private function post_connection_schema() {
+ return array(
+ '$schema' => 'http://json-schema.org/draft-04/schema#',
+ 'title' => 'jetpack-publicize-post-connection',
+ 'type' => 'object',
+ 'properties' => array(
+ 'id' => array(
+ 'description' => __( 'Unique identifier for the Publicize Connection', 'jetpack-publicize-pkg' ),
+ 'type' => 'string',
+ 'context' => array( 'view', 'edit' ),
+ 'readonly' => true,
+ ),
+ 'service_name' => array(
+ 'description' => __( 'Alphanumeric identifier for the Publicize Service', 'jetpack-publicize-pkg' ),
+ 'type' => 'string',
+ 'context' => array( 'view', 'edit' ),
+ 'readonly' => true,
+ ),
+ 'display_name' => array(
+ 'description' => __( 'Username of the connected account', 'jetpack-publicize-pkg' ),
+ 'type' => 'string',
+ 'context' => array( 'view', 'edit' ),
+ 'readonly' => true,
+ ),
+ 'profile_picture' => array(
+ 'description' => __( 'Profile picture of the connected account', 'jetpack-publicize-pkg' ),
+ 'type' => 'string',
+ 'context' => array( 'edit' ),
+ 'readonly' => true,
+ ),
+ 'enabled' => array(
+ 'description' => __( 'Whether to share to this connection', 'jetpack-publicize-pkg' ),
+ 'type' => 'boolean',
+ 'context' => array( 'edit' ),
+ ),
+ 'done' => array(
+ 'description' => __( 'Whether Publicize has already finished sharing for this post', 'jetpack-publicize-pkg' ),
+ 'type' => 'boolean',
+ 'context' => array( 'edit' ),
+ 'readonly' => true,
+ ),
+ 'toggleable' => array(
+ 'description' => __( 'Whether `enable` can be changed for this post/connection', 'jetpack-publicize-pkg' ),
+ 'type' => 'boolean',
+ 'context' => array( 'edit' ),
+ 'readonly' => true,
+ ),
+ ),
+ );
+ }
+
+ /**
+ * Permission check, based on module availability and user capabilities.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return true|WP_Error
+ */
+ public function permission_check( $post_id ) {
+ global $publicize;
+
+ if ( ! $publicize ) {
+ return new \WP_Error(
+ 'publicize_not_available',
+ __( 'Sorry, Publicize is not available on your site right now.', 'jetpack-publicize-pkg' ),
+ array( 'status' => rest_authorization_required_code() )
+ );
+ }
+
+ if ( $publicize->current_user_can_access_publicize_data( $post_id ) ) {
+ return true;
+ }
+
+ return new \WP_Error(
+ 'invalid_user_permission_publicize',
+ __( 'Sorry, you are not allowed to access Publicize data for this post.', 'jetpack-publicize-pkg' ),
+ array( 'status' => rest_authorization_required_code() )
+ );
+ }
+
+ /**
+ * The field's wrapped getter. Does permission checks and output preparation.
+ *
+ * This cannot be extended: implement `->get()` instead.
+ *
+ * @param mixed $post_array Probably an array. Whatever the endpoint returns.
+ * @param string $field_name Should always match `->field_name`.
+ * @param WP_REST_Request $request WP API request.
+ * @param string $object_type Should always match `->object_type`.
+ *
+ * @return mixed
+ */
+ public function get( $post_array, $field_name, $request, $object_type ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ global $publicize;
+
+ $full_schema = $this->get_schema();
+ $permission_check = $this->permission_check( empty( $post_array['id'] ) ? 0 : $post_array['id'] );
+ if ( is_wp_error( $permission_check ) ) {
+ return $full_schema['default'];
+ }
+
+ $schema = $full_schema['items'];
+ $properties = array_keys( $schema['properties'] );
+ $connections = $publicize->get_filtered_connection_data( $post_array['id'] );
+
+ $output_connections = array();
+ foreach ( $connections as $connection ) {
+ $output_connection = array();
+ foreach ( $properties as $property ) {
+ if ( isset( $connection[ $property ] ) ) {
+ $output_connection[ $property ] = $connection[ $property ];
+ }
+ }
+
+ $output_connection['id'] = (string) $connection['unique_id'];
+
+ $output_connections[] = $output_connection;
+ }
+
+ // TODO: Work out if this is necessary. We shouldn't be creating an invalid value here.
+ $is_valid = rest_validate_value_from_schema( $output_connections, $full_schema, self::FIELD_NAME );
+ if ( is_wp_error( $is_valid ) ) {
+ return $is_valid;
+ }
+
+ $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
+ return $this->filter_response_by_context( $output_connections, $full_schema, $context );
+ }
+
+ /**
+ * Prior to updating the post, first calculate which Services to
+ * Publicize to and which to skip.
+ *
+ * @param object $post Post data to insert/update.
+ * @param WP_REST_Request $request API request.
+ *
+ * @return Filtered $post
+ */
+ public function rest_pre_insert( $post, $request ) {
+ if ( ! isset( $request['jetpack_publicize_connections'] ) ) {
+ return $post;
+ }
+
+ $permission_check = $this->permission_check( empty( $post->ID ) ? 0 : $post->ID );
+ if ( is_wp_error( $permission_check ) ) {
+ return $permission_check;
+ }
+ // memoize.
+ $this->get_meta_to_update( $request['jetpack_publicize_connections'], isset( $post->ID ) ? $post->ID : 0 );
+
+ if ( isset( $post->ID ) ) {
+ // Set the meta before we mark the post as published so that publicize works as expected.
+ // If this is not the case post end up on social media when they are marked as skipped.
+ $this->update( $request['jetpack_publicize_connections'], $post );
+ }
+
+ return $post;
+ }
+
+ /**
+ * After creating a new post, update our cached data to reflect
+ * the new post ID.
+ *
+ * @param WP_Post $post Post data to update.
+ * @param WP_REST_Request $request API request.
+ * @param bool $is_new Is this a new post.
+ */
+ public function rest_insert( $post, $request, $is_new ) {
+ if ( ! $is_new ) {
+ // An existing post was edited - no need to update
+ // our cache - we started out knowing the correct
+ // post ID.
+ return;
+ }
+
+ if ( ! isset( $request['jetpack_publicize_connections'] ) ) {
+ return;
+ }
+
+ if ( ! isset( $this->memoized_updates[0] ) ) {
+ return;
+ }
+
+ $this->memoized_updates[ $post->ID ] = $this->memoized_updates[0];
+ unset( $this->memoized_updates[0] );
+ }
+
+ /**
+ * Get list of meta data to update per post ID.
+ *
+ * @param array $requested_connections Publicize connections to update.
+ * Items are either `{ id: (string) }` or `{ service_name: (string) }`.
+ * @param int $post_id Post ID.
+ */
+ protected function get_meta_to_update( $requested_connections, $post_id = 0 ) {
+ global $publicize;
+
+ if ( ! $publicize ) {
+ return array();
+ }
+
+ if ( isset( $this->memoized_updates[ $post_id ] ) ) {
+ return $this->memoized_updates[ $post_id ];
+ }
+
+ $available_connections = $publicize->get_filtered_connection_data( $post_id );
+
+ $changed_connections = array();
+
+ // Build lookup mappings.
+ $available_connections_by_unique_id = array();
+ $available_connections_by_service_name = array();
+ foreach ( $available_connections as $available_connection ) {
+ $available_connections_by_unique_id[ $available_connection['unique_id'] ] = $available_connection;
+
+ if ( ! isset( $available_connections_by_service_name[ $available_connection['service_name'] ] ) ) {
+ $available_connections_by_service_name[ $available_connection['service_name'] ] = array();
+ }
+ $available_connections_by_service_name[ $available_connection['service_name'] ][] = $available_connection;
+ }
+
+ // Handle { service_name: $service_name, enabled: (bool) }.
+ // If the service is not available, it will be skipped.
+ foreach ( $requested_connections as $requested_connection ) {
+ if ( ! isset( $requested_connection['service_name'] ) ) {
+ continue;
+ }
+
+ if ( ! isset( $available_connections_by_service_name[ $requested_connection['service_name'] ] ) ) {
+ continue;
+ }
+
+ foreach ( $available_connections_by_service_name[ $requested_connection['service_name'] ] as $available_connection ) {
+ $changed_connections[ $available_connection['unique_id'] ] = $requested_connection['enabled'];
+ }
+ }
+
+ // Handle { id: $id, enabled: (bool) }
+ // These override the service_name settings.
+ foreach ( $requested_connections as $requested_connection ) {
+ if ( ! isset( $requested_connection['id'] ) ) {
+ continue;
+ }
+
+ if ( ! isset( $available_connections_by_unique_id[ $requested_connection['id'] ] ) ) {
+ continue;
+ }
+
+ $changed_connections[ $requested_connection['id'] ] = $requested_connection['enabled'];
+ }
+
+ // Set all changed connections to their new value.
+ foreach ( $changed_connections as $unique_id => $enabled ) {
+ $connection = $available_connections_by_unique_id[ $unique_id ];
+
+ if ( $connection['done'] || ! $connection['toggleable'] ) {
+ continue;
+ }
+
+ $available_connections_by_unique_id[ $unique_id ]['enabled'] = $enabled;
+ }
+
+ $meta_to_update = array();
+ // For all connections, ensure correct post_meta.
+ foreach ( $available_connections_by_unique_id as $unique_id => $available_connection ) {
+ if ( $available_connection['enabled'] ) {
+ $meta_to_update[ $publicize->POST_SKIP . $unique_id ] = null; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ } else {
+ $meta_to_update[ $publicize->POST_SKIP . $unique_id ] = 1; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ }
+ }
+
+ $this->memoized_updates[ $post_id ] = $meta_to_update;
+
+ return $meta_to_update;
+ }
+
+ /**
+ * Update the connections slated to be shared to.
+ *
+ * @param array $requested_connections Publicize connections to update.
+ * Items are either `{ id: (string) }` or `{ service_name: (string) }`.
+ * @param WP_Post $post Post data.
+ */
+ public function update( $requested_connections, $post ) {
+ if ( isset( $this->meta_saved[ $post->ID ] ) ) { // Make sure we only save it once - per request.
+ return;
+ }
+ foreach ( $this->get_meta_to_update( $requested_connections, $post->ID ) as $meta_key => $meta_value ) {
+ if ( $meta_value === null ) {
+ delete_post_meta( $post->ID, $meta_key );
+ } else {
+ update_post_meta( $post->ID, $meta_key, $meta_value );
+ }
+ }
+ $this->meta_saved[ $post->ID ] = true;
+ }
+
+ /**
+ * Removes properties that should not appear in the current
+ * request's context
+ *
+ * $context is a Core REST API Framework request attribute that is
+ * always one of:
+ * * view (what you see on the blog)
+ * * edit (what you see in an editor)
+ * * embed (what you see in, e.g., an oembed)
+ *
+ * Fields (and sub-fields, and sub-sub-...) can be flagged for a
+ * set of specific contexts via the field's schema.
+ *
+ * The Core API will filter out top-level fields with the wrong
+ * context, but will not recurse deeply enough into arrays/objects
+ * to remove all levels of sub-fields with the wrong context.
+ *
+ * This function handles that recursion.
+ *
+ * @param mixed $value Value passed to API request.
+ * @param array $schema Schema to validate against.
+ * @param string $context REST API Request context.
+ *
+ * @return mixed Filtered $value
+ */
+ public function filter_response_by_context( $value, $schema, $context ) {
+ if ( ! $this->is_valid_for_context( $schema, $context ) ) {
+ // We use this intentionally odd looking WP_Error object
+ // internally only in this recursive function (see below
+ // in the `object` case). It will never be output by the REST API.
+ // If we return this for the top level object, Core
+ // correctly remove the top level object from the response
+ // for us.
+ return new \WP_Error( '__wrong-context__' );
+ }
+
+ switch ( $schema['type'] ) {
+ case 'array':
+ if ( ! isset( $schema['items'] ) ) {
+ return $value;
+ }
+
+ // Shortcircuit if we know none of the items are valid for this context.
+ // This would only happen in a strangely written schema.
+ if ( ! $this->is_valid_for_context( $schema['items'], $context ) ) {
+ return array();
+ }
+
+ // Recurse to prune sub-properties of each item.
+ foreach ( $value as $key => $item ) {
+ $value[ $key ] = $this->filter_response_by_context( $item, $schema['items'], $context );
+ }
+
+ return $value;
+ case 'object':
+ if ( ! isset( $schema['properties'] ) ) {
+ return $value;
+ }
+
+ foreach ( $value as $field_name => $field_value ) {
+ if ( isset( $schema['properties'][ $field_name ] ) ) {
+ $field_value = $this->filter_response_by_context( $field_value, $schema['properties'][ $field_name ], $context );
+ if ( is_wp_error( $field_value ) && '__wrong-context__' === $field_value->get_error_code() ) {
+ unset( $value[ $field_name ] );
+ } else {
+ // Respect recursion that pruned sub-properties of each property.
+ $value[ $field_name ] = $field_value;
+ }
+ }
+ }
+
+ return (object) $value;
+ }
+
+ return $value;
+ }
+
+ /**
+ * Ensure that our request matches its expected context.
+ *
+ * @param array $schema Schema to validate against.
+ * @param string $context REST API Request context.
+ * @return bool
+ */
+ private function is_valid_for_context( $schema, $context ) {
+ return empty( $schema['context'] ) || in_array( $context, $schema['context'], true );
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-keyring-helper.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-keyring-helper.php
new file mode 100644
index 00000000..a92b6f51
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-keyring-helper.php
@@ -0,0 +1,297 @@
+<?php
+/**
+ * Keyring helper.
+ *
+ * @package automattic/jetpack-publicize
+ */
+
+namespace Automattic\Jetpack\Publicize;
+
+use Automattic\Jetpack\Connection\Secrets;
+use Automattic\Jetpack\Paths;
+use Jetpack_IXR_Client;
+use Jetpack_Options;
+
+/**
+ * A series of utilities to interact with a Keyring instance.
+ */
+class Keyring_Helper {
+ /**
+ * Class instance
+ *
+ * @var \Automattic\Jetpack\Publicize\Keyring_Helper
+ */
+ private static $instance = null;
+
+ /**
+ * Whether the `sharing` page is registered.
+ *
+ * @var bool
+ */
+ private static $is_sharing_page_registered = false;
+
+ /**
+ * Initialize instance.
+ */
+ public static function init() {
+ if ( self::$instance === null ) {
+ self::$instance = new Keyring_Helper();
+ }
+
+ return self::$instance;
+ }
+
+ const SERVICES = array(
+ 'facebook' => array(
+ 'for' => 'publicize',
+ ),
+ 'twitter' => array(
+ 'for' => 'publicize',
+ ),
+ 'linkedin' => array(
+ 'for' => 'publicize',
+ ),
+ 'tumblr' => array(
+ 'for' => 'publicize',
+ ),
+ 'path' => array(
+ 'for' => 'publicize',
+ ),
+ 'google_plus' => array(
+ 'for' => 'publicize',
+ ),
+ 'google_site_verification' => array(
+ 'for' => 'other',
+ ),
+ );
+
+ /**
+ * Constructor
+ */
+ private function __construct() {
+ add_action( 'admin_menu', array( __CLASS__, 'register_sharing_page' ) );
+
+ add_action( 'load-settings_page_sharing', array( __CLASS__, 'admin_page_load' ), 9 );
+ }
+
+ /**
+ * We need a `sharing` page to be able to connect and disconnect services.
+ */
+ public static function register_sharing_page() {
+ if ( self::$is_sharing_page_registered ) {
+ return;
+ }
+
+ self::$is_sharing_page_registered = true;
+
+ if ( ! current_user_can( 'manage_options' ) ) {
+ return;
+ }
+
+ global $_registered_pages;
+
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
+
+ $hookname = get_plugin_page_hookname( 'sharing', 'options-general.php' );
+ add_action( $hookname, array( __CLASS__, 'admin_page_load' ) );
+ $_registered_pages[ $hookname ] = true; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
+ }
+
+ /**
+ * Gets a URL to the public-api actions. Works like WP's admin_url.
+ * On WordPress.com this is/calls Keyring::admin_url.
+ *
+ * @param string $service Shortname of a specific service.
+ * @param array $params Parameters to append to an API connection URL.
+ *
+ * @return URL to specific public-api process
+ */
+ private static function api_url( $service = false, $params = array() ) {
+ /**
+ * Filters the API URL used to interact with WordPress.com.
+ *
+ * @since 2.0.0
+ *
+ * @param string https://public-api.wordpress.com/connect/?jetpack=publicize Default Publicize API URL.
+ */
+ $url = apply_filters( 'publicize_api_url', 'https://public-api.wordpress.com/connect/?jetpack=publicize' );
+
+ if ( $service ) {
+ $url = add_query_arg( array( 'service' => $service ), $url );
+ }
+
+ if ( count( $params ) ) {
+ $url = add_query_arg( $params, $url );
+ }
+
+ return $url;
+ }
+
+ /**
+ * Build a connection URL (sharing settings page with unique query args to create a connection).
+ *
+ * @param string $service_name Service name.
+ * @param string $for Feature name.
+ */
+ public static function connect_url( $service_name, $for ) {
+ return add_query_arg(
+ array(
+ 'action' => 'request',
+ 'service' => $service_name,
+ 'kr_nonce' => wp_create_nonce( 'keyring-request' ),
+ 'nonce' => wp_create_nonce( "keyring-request-$service_name" ),
+ 'for' => $for,
+ ),
+ admin_url( 'options-general.php?page=sharing' )
+ );
+ }
+
+ /**
+ * Build a URL to refresh a connection (sharing settings page with unique query args to refresh a connection).
+ * Similar to connect_url, but with a refresh parameter.
+ *
+ * @param string $service_name Service name.
+ * @param string $for Feature name.
+ */
+ public static function refresh_url( $service_name, $for ) {
+ return add_query_arg(
+ array(
+ 'action' => 'request',
+ 'service' => $service_name,
+ 'kr_nonce' => wp_create_nonce( 'keyring-request' ),
+ 'refresh' => 1,
+ 'for' => $for,
+ 'nonce' => wp_create_nonce( "keyring-request-$service_name" ),
+ ),
+ admin_url( 'options-general.php?page=sharing' )
+ );
+ }
+
+ /**
+ * Build a URL to delete a connection (sharing settings page with unique query args to delete a connection).
+ *
+ * @param string $service_name Service name.
+ * @param string $id Connection ID.
+ */
+ public static function disconnect_url( $service_name, $id ) {
+ return add_query_arg(
+ array(
+ 'action' => 'delete',
+ 'service' => $service_name,
+ 'id' => $id,
+ 'kr_nonce' => wp_create_nonce( 'keyring-request' ),
+ 'nonce' => wp_create_nonce( "keyring-request-$service_name" ),
+ ),
+ admin_url( 'options-general.php?page=sharing' )
+ );
+ }
+
+ /**
+ * Build contents handling Keyring connection management into Sharing settings screen.
+ */
+ public static function admin_page_load() {
+ if ( isset( $_GET['action'] ) ) {
+ if ( isset( $_GET['service'] ) ) {
+ $service_name = filter_var( wp_unslash( $_GET['service'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- We verify below.
+ }
+
+ switch ( $_GET['action'] ) {
+
+ case 'request':
+ check_admin_referer( 'keyring-request', 'kr_nonce' );
+ check_admin_referer( "keyring-request-$service_name", 'nonce' );
+
+ $verification = ( new Secrets() )->generate( 'publicize' );
+ if ( ! $verification ) {
+ $url = ( new Paths() )->admin_url( 'page=jetpack#/settings' );
+ wp_die(
+ sprintf(
+ wp_kses(
+ /* Translators: placeholder is a URL to a Settings page. */
+ __( "Jetpack is not connected. Please connect Jetpack by visiting <a href='%s'>Settings</a>.", 'jetpack-publicize-pkg' ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ ),
+ )
+ ),
+ esc_url( $url )
+ )
+ );
+
+ }
+ $stats_options = get_option( 'stats_options' );
+ $wpcom_blog_id = Jetpack_Options::get_option( 'id' );
+ $wpcom_blog_id = ! empty( $wpcom_blog_id ) ? $wpcom_blog_id : $stats_options['blog_id'];
+
+ $user = wp_get_current_user();
+ $redirect = self::api_url(
+ $service_name,
+ urlencode_deep(
+ array(
+ 'action' => 'request',
+ 'redirect_uri' => add_query_arg( array( 'action' => 'done' ), menu_page_url( 'sharing', false ) ),
+ 'for' => 'publicize',
+ // required flag that says this connection is intended for publicize.
+ 'siteurl' => site_url(),
+ 'state' => $user->ID,
+ 'blog_id' => $wpcom_blog_id,
+ 'secret_1' => $verification['secret_1'],
+ 'secret_2' => $verification['secret_2'],
+ 'eol' => $verification['exp'],
+ )
+ )
+ );
+ wp_redirect( $redirect ); // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect -- The API URL is an external URL and is filterable.
+ exit;
+
+ case 'completed':
+ /*
+ * We do not use a nonce here,
+ * since we're populating a local cache of
+ * the Publicize connections that were created and stored on WordPress.com.
+ */
+ $xml = new Jetpack_IXR_Client();
+ $xml->query( 'jetpack.fetchPublicizeConnections' );
+
+ if ( ! $xml->isError() ) {
+ $response = $xml->getResponse();
+ Jetpack_Options::update_option( 'publicize_connections', $response );
+ }
+
+ break;
+
+ case 'delete':
+ $id = isset( $_GET['id'] ) ? filter_var( wp_unslash( $_GET['id'] ) ) : null;
+
+ check_admin_referer( 'keyring-request', 'kr_nonce' );
+ check_admin_referer( "keyring-request-$service_name", 'nonce' );
+
+ self::disconnect( $service_name, $id );
+
+ do_action( 'connection_disconnected', $service_name );
+ break;
+ }
+ }
+ }
+
+ /**
+ * Remove a Publicize connection
+ *
+ * @param string $service_name Service name.
+ * @param string $connection_id Connection ID.
+ * @param int|bool $_blog_id Blog ID.
+ * @param int|bool $_user_id User ID.
+ * @param bool $force_delete Force delete the connection.
+ */
+ public static function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ $xml = new Jetpack_IXR_Client();
+ $xml->query( 'jetpack.deletePublicizeConnection', $connection_id );
+
+ if ( ! $xml->isError() ) {
+ Jetpack_Options::update_option( 'publicize_connections', $xml->getResponse() );
+ } else {
+ return false;
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php
new file mode 100644
index 00000000..83ed9c42
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php
@@ -0,0 +1,1452 @@
+<?php
+/**
+ * Publicize_Base class.
+ *
+ * @package automattic/jetpack-publicize
+ */
+
+// phpcs:disable WordPress.NamingConventions.ValidVariableName
+
+namespace Automattic\Jetpack\Publicize;
+
+use Automattic\Jetpack\Redirect;
+use Automattic\Jetpack\Status;
+
+/**
+ * Base class for Publicize.
+ */
+abstract class Publicize_Base {
+
+ /**
+ * Services that are currently connected to the given user
+ * through Publicize.
+ *
+ * @var array
+ */
+ public $connected_services = array();
+
+ /**
+ * Services that are supported by publicize. They don't
+ * necessarily need to be connected to the current user.
+ *
+ * @var array
+ */
+ public $services;
+
+ /**
+ * Post meta key for admin page.
+ *
+ * @var string
+ */
+ public $ADMIN_PAGE = 'wpas';
+
+ /**
+ * Post meta key for post message.
+ *
+ * @var string
+ */
+ public $POST_MESS = '_wpas_mess';
+
+ /**
+ * Post meta key for flagging when the post is a tweetstorm.
+ *
+ * @var string
+ */
+ public $POST_TWEETSTORM = '_wpas_is_tweetstorm';
+
+ /**
+ * Post meta key for the flagging when the post share feature is disabled.
+ *
+ * @var string
+ */
+ const POST_PUBLICIZE_FEATURE_ENABLED = '_wpas_feature_enabled';
+
+ /**
+ * Connection ID appended to indicate that a connection should NOT be publicized to.
+ *
+ * @var string
+ */
+ public $POST_SKIP = '_wpas_skip_';
+
+ /**
+ * Connection ID appended to indicate a connection has already been publicized to.
+ *
+ * @var string
+ */
+ public $POST_DONE = '_wpas_done_';
+
+ /**
+ * Prefix for user authorization (used in publicize-wpcom.php)
+ *
+ * @var string
+ */
+ public $USER_AUTH = 'wpas_authorize';
+
+ /**
+ * Prefix for user opt.
+ *
+ * @var string
+ */
+ public $USER_OPT = 'wpas_';
+
+ /**
+ * Ready for Publicize to do its thing.
+ *
+ * @var string
+ */
+ public $PENDING = '_publicize_pending';
+
+ /**
+ * Array of external IDs where we've Publicized.
+ *
+ * @var string
+ */
+ public $POST_SERVICE_DONE = '_publicize_done_external';
+
+ /**
+ * Default pieces of the message used in constructing the
+ * content pushed out to other social networks.
+ */
+
+ /**
+ * Default prefix.
+ *
+ * @var string
+ */
+ public $default_prefix = '';
+
+ /**
+ * Default message.
+ *
+ * @var string
+ */
+ public $default_message = '%title%';
+
+ /**
+ * Default suffix.
+ *
+ * @var string
+ */
+ public $default_suffix = ' ';
+
+ /**
+ * What WP capability is require to create/delete global connections?
+ * All users with this cap can un-globalize all other global connections, and globalize any of their own
+ * Globalized connections cannot be unselected by users without this capability when publishing
+ *
+ * @var string
+ */
+ public $GLOBAL_CAP = 'publish_posts';
+
+ /**
+ * Sets up the basics of Publicize.
+ */
+ public function __construct() {
+ $this->default_message = self::build_sprintf(
+ array(
+ /**
+ * Filter the default Publicize message.
+ *
+ * @module publicize
+ *
+ * @since 2.0.0
+ *
+ * @param string $this->default_message Publicize's default message. Default is the post title.
+ */
+ apply_filters( 'wpas_default_message', $this->default_message ),
+ 'title',
+ 'url',
+ )
+ );
+
+ $this->default_prefix = self::build_sprintf(
+ array(
+ /**
+ * Filter the message prepended to the Publicize custom message.
+ *
+ * @module publicize
+ *
+ * @since 2.0.0
+ *
+ * @param string $this->default_prefix String prepended to the Publicize custom message.
+ */
+ apply_filters( 'wpas_default_prefix', $this->default_prefix ),
+ 'url',
+ )
+ );
+
+ $this->default_suffix = self::build_sprintf(
+ array(
+ /**
+ * Filter the message appended to the Publicize custom message.
+ *
+ * @module publicize
+ *
+ * @since 2.0.0
+ *
+ * @param string $this->default_suffix String appended to the Publicize custom message.
+ */
+ apply_filters( 'wpas_default_suffix', $this->default_suffix ),
+ 'url',
+ )
+ );
+
+ /**
+ * Filter the capability to change global Publicize connection options.
+ *
+ * All users with this cap can un-globalize all other global connections, and globalize any of their own
+ * Globalized connections cannot be unselected by users without this capability when publishing.
+ *
+ * @module publicize
+ *
+ * @since 2.2.1
+ *
+ * @param string $this->GLOBAL_CAP default capability in control of global Publicize connection options. Default to edit_others_posts.
+ */
+ $this->GLOBAL_CAP = apply_filters( 'jetpack_publicize_global_connections_cap', $this->GLOBAL_CAP );
+
+ // stage 1 and 2 of 3-stage Publicize. Flag for Publicize on creation, save meta,
+ // then check meta and publicize based on that. stage 3 implemented on wpcom.
+ add_action( 'transition_post_status', array( $this, 'flag_post_for_publicize' ), 10, 3 );
+ add_action( 'save_post', array( $this, 'save_meta' ), 20, 2 );
+
+ // Default checkbox state for each Connection.
+ add_filter( 'publicize_checkbox_default', array( $this, 'publicize_checkbox_default' ), 10, 2 );
+
+ // Alter the "Post Publish" admin notice to mention the Connections we Publicized to.
+ add_filter( 'post_updated_messages', array( $this, 'update_published_message' ), 20, 1 );
+
+ // Connection test callback.
+ add_action( 'wp_ajax_test_publicize_conns', array( $this, 'test_publicize_conns' ) );
+
+ add_action( 'init', array( $this, 'add_post_type_support' ) );
+ add_action( 'init', array( $this, 'register_post_meta' ), 20 );
+ }
+
+ /**
+ * Services: Facebook, Twitter, etc.
+ */
+
+ /**
+ * Get services for the given blog and user.
+ *
+ * Can return all available services or just the ones with an active connection.
+ *
+ * @param string $filter Type of filter.
+ * 'all' (default) - Get all services available for connecting.
+ * 'connected' - Get all services currently connected.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @return array
+ */
+ abstract public function get_services( $filter = 'all', $_blog_id = false, $_user_id = false );
+
+ /**
+ * Does the given user have a connection to the service on the given blog?
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @return bool
+ */
+ public function is_enabled( $service_name, $_blog_id = false, $_user_id = false ) {
+ if ( ! $_blog_id ) {
+ $_blog_id = $this->blog_id();
+ }
+
+ if ( ! $_user_id ) {
+ $_user_id = $this->user_id();
+ }
+
+ $connections = $this->get_connections( $service_name, $_blog_id, $_user_id );
+ return ( is_array( $connections ) && count( $connections ) > 0 ? true : false );
+ }
+
+ /**
+ * Generates a connection URL.
+ *
+ * This is the URL, which, when visited by the user, starts the authentication
+ * process required to forge a connection.
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @return string
+ */
+ abstract public function connect_url( $service_name );
+
+ /**
+ * Generates a Connection refresh URL.
+ *
+ * This is the URL, which, when visited by the user, re-authenticates their
+ * connection to the service.
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @return string
+ */
+ abstract public function refresh_url( $service_name );
+
+ /**
+ * Generates a disconnection URL.
+ *
+ * This is the URL, which, when visited by the user, breaks their connection
+ * with the service.
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param string $connection_id Connection ID.
+ * @return string
+ */
+ abstract public function disconnect_url( $service_name, $connection_id );
+
+ /**
+ * Returns a display name for the Service
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @return string
+ */
+ public static function get_service_label( $service_name ) {
+ switch ( $service_name ) {
+ case 'linkedin':
+ return 'LinkedIn';
+ case 'google_drive': // google-drive used to be called google_drive.
+ case 'google-drive':
+ return 'Google Drive';
+ case 'twitter':
+ case 'facebook':
+ case 'tumblr':
+ default:
+ return ucfirst( $service_name );
+ }
+ }
+
+ /**
+ * Connections: For each Service, there can be multiple connections
+ * for a given user. For example, one user could be connected to Twitter
+ * as both @jetpack and as @wordpressdotcom
+ *
+ * For historical reasons, Connections are represented as an object
+ * on WordPress.com and as an array in Jetpack.
+ */
+
+ /**
+ * Get the active Connections of a Service
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @return false|object[]|array[] false if no connections exist
+ */
+ abstract public function get_connections( $service_name, $_blog_id = false, $_user_id = false );
+
+ /**
+ * Get a single Connection of a Service
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param string $connection_id Connection ID.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @return false|object[]|array[] false if no connections exist
+ */
+ abstract public function get_connection( $service_name, $connection_id, $_blog_id = false, $_user_id = false );
+
+ /**
+ * Get the Connection ID.
+ *
+ * Note that this is different than the Connection's uniqueid.
+ *
+ * Via a quirk of history, ID is globally unique and unique_id
+ * is only unique per site.
+ *
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return string
+ */
+ abstract public function get_connection_id( $connection );
+
+ /**
+ * Get the Connection unique_id
+ *
+ * Note that this is different than the Connections ID.
+ *
+ * Via a quirk of history, ID is globally unique and unique_id
+ * is only unique per site.
+ *
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return string
+ */
+ abstract public function get_connection_unique_id( $connection );
+
+ /**
+ * Get the Connection's Meta data
+ *
+ * @param object|array $connection Connection.
+ * @return array Connection Meta
+ */
+ abstract public function get_connection_meta( $connection );
+
+ /**
+ * Disconnect a Connection
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param string $connection_id Connection ID.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @param bool $force_delete Whether to skip permissions checks.
+ * @return false|void False on failure. Void on success.
+ */
+ abstract public function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false );
+
+ /**
+ * Globalizes a Connection
+ *
+ * @param string $connection_id Connection ID.
+ * @return bool Falsey on failure. Truthy on success.
+ */
+ abstract public function globalize_connection( $connection_id );
+
+ /**
+ * Unglobalizes a Connection
+ *
+ * @param string $connection_id Connection ID.
+ * @return bool Falsey on failure. Truthy on success.
+ */
+ abstract public function unglobalize_connection( $connection_id );
+
+ /**
+ * Returns an external URL to the Connection's profile
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return false|string False on failure. URL on success.
+ */
+ public function get_profile_link( $service_name, $connection ) {
+ $cmeta = $this->get_connection_meta( $connection );
+
+ if ( isset( $cmeta['connection_data']['meta']['link'] ) ) {
+ if ( 'facebook' === $service_name && 0 === strpos( wp_parse_url( $cmeta['connection_data']['meta']['link'], PHP_URL_PATH ), '/app_scoped_user_id/' ) ) {
+ // App-scoped Facebook user IDs are not usable profile links.
+ return false;
+ }
+
+ return $cmeta['connection_data']['meta']['link'];
+ }
+
+ if ( 'facebook' === $service_name && isset( $cmeta['connection_data']['meta']['facebook_page'] ) ) {
+ return 'https://facebook.com/' . $cmeta['connection_data']['meta']['facebook_page'];
+ }
+
+ if ( 'tumblr' === $service_name && isset( $cmeta['connection_data']['meta']['tumblr_base_hostname'] ) ) {
+ return 'https://' . $cmeta['connection_data']['meta']['tumblr_base_hostname'];
+ }
+
+ if ( 'twitter' === $service_name ) {
+ return 'https://twitter.com/' . substr( $cmeta['external_display'], 1 ); // Has a leading '@'.
+ }
+
+ if ( 'linkedin' === $service_name ) {
+ if ( ! isset( $cmeta['connection_data']['meta']['profile_url'] ) ) {
+ return false;
+ }
+
+ $profile_url_query = wp_parse_url( $cmeta['connection_data']['meta']['profile_url'], PHP_URL_QUERY );
+ wp_parse_str( $profile_url_query, $profile_url_query_args );
+
+ $id = null;
+
+ if ( isset( $profile_url_query_args['key'] ) ) {
+ $id = $profile_url_query_args['key'];
+ } elseif ( isset( $profile_url_query_args['id'] ) ) {
+ $id = $profile_url_query_args['id'];
+ } else {
+ return false;
+ }
+
+ return esc_url_raw( add_query_arg( 'id', rawurlencode( $id ), 'https://www.linkedin.com/profile/view' ) );
+ }
+
+ return false; // no fallback. we just won't link it.
+ }
+
+ /**
+ * Returns a display name for the Connection
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return string
+ */
+ public function get_display_name( $service_name, $connection ) {
+ $cmeta = $this->get_connection_meta( $connection );
+
+ if ( isset( $cmeta['connection_data']['meta']['display_name'] ) ) {
+ return $cmeta['connection_data']['meta']['display_name'];
+ }
+
+ if ( 'tumblr' === $service_name && isset( $cmeta['connection_data']['meta']['tumblr_base_hostname'] ) ) {
+ return $cmeta['connection_data']['meta']['tumblr_base_hostname'];
+ }
+
+ if ( 'twitter' === $service_name ) {
+ return $cmeta['external_display'];
+ }
+
+ $connection_display = $cmeta['external_display'];
+
+ if ( empty( $connection_display ) ) {
+ $connection_display = $cmeta['external_name'];
+ }
+
+ return $connection_display;
+ }
+
+ /**
+ * Returns a profile picture for the Connection
+ *
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return string
+ */
+ private function get_profile_picture( $connection ) {
+ $cmeta = $this->get_connection_meta( $connection );
+
+ if ( isset( $cmeta['profile_picture'] ) ) {
+ return $cmeta['profile_picture'];
+ }
+
+ return '';
+ }
+
+ /**
+ * Whether the user needs to select additional options after connecting
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return bool
+ */
+ public function show_options_popup( $service_name, $connection ) {
+ $cmeta = $this->get_connection_meta( $connection );
+
+ // Always show if no selection has been made for Facebook.
+ if ( 'facebook' === $service_name && empty( $cmeta['connection_data']['meta']['facebook_profile'] ) && empty( $cmeta['connection_data']['meta']['facebook_page'] ) ) {
+ return true;
+ }
+
+ // Always show if no selection has been made for Tumblr.
+ if ( 'tumblr' === $service_name && empty( $cmeta['connection_data']['meta']['tumblr_base_hostname'] ) ) {
+ return true;
+ }
+
+ // if we have the specific connection info..
+ $id = ! empty( $_GET['id'] ) ? sanitize_text_field( wp_unslash( $_GET['id'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+
+ if ( $id ) {
+ if ( $cmeta['connection_data']['id'] === $id ) {
+ return true;
+ }
+ } else {
+ // Otherwise, just show if this is the completed step / first load.
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended
+ $is_completed = ! empty( $_GET['action'] ) && 'completed' === $_GET['action'];
+ $service = ! empty( $_GET['service'] ) ? sanitize_text_field( wp_unslash( $_GET['service'] ) ) : false;
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended
+
+ if ( $is_completed && $service_name === $service && ! in_array( $service, array( 'facebook', 'tumblr' ), true ) ) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Check if a connection is global
+ *
+ * @param array $connection Connection data.
+ * @return bool Whether the connection is global.
+ */
+ public function is_global_connection( $connection ) {
+ return empty( $connection['connection_data']['user_id'] );
+ }
+
+ /**
+ * Whether the Connection is "valid" wrt Facebook's requirements.
+ *
+ * Must be connected to a Page (not a Profile).
+ * (Also returns true if we're in the middle of the connection process)
+ *
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return bool
+ */
+ public function is_valid_facebook_connection( $connection ) {
+ if ( $this->is_connecting_connection( $connection ) ) {
+ return true;
+ }
+ $connection_meta = $this->get_connection_meta( $connection );
+ $connection_data = $connection_meta['connection_data'];
+ return isset( $connection_data['meta']['facebook_page'] );
+ }
+
+ /**
+ * LinkedIn needs to be reauthenticated to use v2 of their API.
+ * If it's using LinkedIn old API, it's an 'invalid' connection
+ *
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return bool
+ */
+ public function is_invalid_linkedin_connection( $connection ) {
+ // LinkedIn API v1 included the profile link in the connection data.
+ $connection_meta = $this->get_connection_meta( $connection );
+ return isset( $connection_meta['connection_data']['meta']['profile_url'] );
+ }
+
+ /**
+ * Whether the Connection currently being connected
+ *
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return bool
+ */
+ public function is_connecting_connection( $connection ) {
+ $connection_meta = $this->get_connection_meta( $connection );
+ $connection_data = $connection_meta['connection_data'];
+ return isset( $connection_data['meta']['options_responses'] );
+ }
+
+ /**
+ * AJAX Handler to run connection tests on all Connections
+ *
+ * @return void
+ */
+ public function test_publicize_conns() {
+ wp_send_json_success( $this->get_publicize_conns_test_results() );
+ }
+
+ /**
+ * Run connection tests on all Connections
+ *
+ * @return array {
+ * Array of connection test results.
+ *
+ * @type string 'connectionID' Connection identifier string that is unique for each connection
+ * @type string 'serviceName' Slug of the connection's service (facebook, twitter, ...)
+ * @type bool 'connectionTestPassed' Whether the connection test was successful
+ * @type string 'connectionTestMessage' Test success or error message
+ * @type bool 'userCanRefresh' Whether the user can re-authenticate their connection to the service
+ * @type string 'refreshText' Message instructing user to re-authenticate their connection to the service
+ * @type string 'refreshURL' URL, which, when visited by the user, re-authenticates their connection to the service.
+ * @type string 'unique_id' ID string representing connection
+ * }
+ */
+ public function get_publicize_conns_test_results() {
+ $test_results = array();
+
+ foreach ( (array) $this->get_services( 'connected' ) as $service_name => $connections ) {
+ foreach ( $connections as $connection ) {
+
+ $id = $this->get_connection_id( $connection );
+
+ $connection_test_passed = true;
+ $connection_test_message = __( 'This connection is working correctly.', 'jetpack-publicize-pkg' );
+ $user_can_refresh = false;
+ $refresh_text = '';
+ $refresh_url = '';
+
+ $connection_test_result = true;
+ if ( method_exists( $this, 'test_connection' ) ) {
+ $connection_test_result = $this->test_connection( $service_name, $connection );
+ }
+
+ if ( is_wp_error( $connection_test_result ) ) {
+ $connection_test_passed = false;
+ $connection_test_message = $connection_test_result->get_error_message();
+ $error_data = $connection_test_result->get_error_data();
+
+ $user_can_refresh = $error_data['user_can_refresh'];
+ $refresh_text = $error_data['refresh_text'];
+ $refresh_url = $error_data['refresh_url'];
+ }
+ // Mark Facebook profiles as deprecated.
+ if ( 'facebook' === $service_name ) {
+ if ( ! $this->is_valid_facebook_connection( $connection ) ) {
+ $connection_test_passed = false;
+ $user_can_refresh = false;
+ $connection_test_message = __( 'Please select a Facebook Page to publish updates.', 'jetpack-publicize-pkg' );
+ }
+ }
+
+ // LinkedIn needs reauthentication to be compatible with v2 of their API.
+ if ( 'linkedin' === $service_name && $this->is_invalid_linkedin_connection( $connection ) ) {
+ $connection_test_passed = 'must_reauth';
+ $user_can_refresh = false;
+ $connection_test_message = esc_html__( 'Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.', 'jetpack-publicize-pkg' );
+ }
+
+ $unique_id = null;
+
+ if ( ! empty( $connection->unique_id ) ) {
+ $unique_id = $connection->unique_id;
+ } elseif ( ! empty( $connection['connection_data']['token_id'] ) ) {
+ $unique_id = $connection['connection_data']['token_id'];
+ }
+
+ $test_results[] = array(
+ 'connectionID' => $id,
+ 'serviceName' => $service_name,
+ 'connectionTestPassed' => $connection_test_passed,
+ 'connectionTestMessage' => esc_attr( $connection_test_message ),
+ 'userCanRefresh' => $user_can_refresh,
+ 'refreshText' => esc_attr( $refresh_text ),
+ 'refreshURL' => $refresh_url,
+ 'unique_id' => $unique_id,
+ );
+ }
+ }
+
+ return $test_results;
+ }
+
+ /**
+ * Run the connection test for the Connection
+ *
+ * @param string $service_name $service_name 'facebook', 'twitter', etc.
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
+ * @return WP_Error|true WP_Error on failure. True on success
+ */
+ abstract public function test_connection( $service_name, $connection );
+
+ /**
+ * Retrieves current list of connections and applies filters.
+ *
+ * Retrieves current available connections and checks if the connections
+ * have already been used to share current post. Finally, the checkbox
+ * form UI fields are calculated. This function exposes connection form
+ * data directly as array so it can be retrieved for static HTML generation
+ * or JSON consumption.
+ *
+ * @since 6.7.0
+ *
+ * @param integer $selected_post_id Optional. Post ID to query connection status for.
+ *
+ * @return array {
+ * Array of UI setup data for connection list form.
+ *
+ * @type string 'unique_id' ID string representing connection
+ * @type string 'service_name' Slug of the connection's service (facebook, twitter, ...)
+ * @type string 'service_label' Service Label (Facebook, Twitter, ...)
+ * @type string 'display_name' Connection's human-readable Username: "@jetpack"
+ * @type string 'profile_picture' Connection profile picture.
+ * @type bool 'enabled' Default value for the connection (e.g., for a checkbox).
+ * @type bool 'done' Has this connection already been publicized to?
+ * @type bool 'toggleable' Is the user allowed to change the value for the connection?
+ * @type bool 'global' Is this connection a global one?
+ * }
+ */
+ public function get_filtered_connection_data( $selected_post_id = null ) {
+ $connection_list = array();
+
+ $post = get_post( $selected_post_id ); // Defaults to current post if $post_id is null.
+ // Handle case where there is no current post.
+ if ( ! empty( $post ) ) {
+ $post_id = $post->ID;
+ } else {
+ $post_id = null;
+ }
+
+ $services = $this->get_services( 'connected' );
+ $all_done = $this->post_is_done_sharing( $post_id );
+
+ // We don't allow Publicizing to the same external id twice, to prevent spam.
+ $service_id_done = (array) get_post_meta( $post_id, $this->POST_SERVICE_DONE, true );
+
+ foreach ( $services as $service_name => $connections ) {
+ foreach ( $connections as $connection ) {
+ $connection_meta = $this->get_connection_meta( $connection );
+ $connection_data = $connection_meta['connection_data'];
+
+ $unique_id = $this->get_connection_unique_id( $connection );
+
+ // Was this connection (OR, old-format service) already Publicized to?
+ $done = ! empty( $post ) && (
+ // New flags.
+ 1 === (int) get_post_meta( $post->ID, $this->POST_DONE . $unique_id, true )
+ ||
+ // Old flags.
+ 1 === (int) get_post_meta( $post->ID, $this->POST_DONE . $service_name, true )
+ );
+
+ /**
+ * Filter whether a post should be publicized to a given service.
+ *
+ * @module publicize
+ *
+ * @since 2.0.0
+ *
+ * @param bool true Should the post be publicized to a given service? Default to true.
+ * @param int $post_id Post ID.
+ * @param string $service_name Service name.
+ * @param array $connection_data Array of information about all Publicize details for the site.
+ */
+ /* phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores */
+ if ( ! apply_filters( 'wpas_submit_post?', true, $post_id, $service_name, $connection_data ) ) {
+ continue;
+ }
+
+ // Should we be skipping this one?
+ $skip = (
+ (
+ ! empty( $post )
+ &&
+ in_array( $post->post_status, array( 'publish', 'draft', 'future' ), true )
+ &&
+ (
+ // New flags.
+ get_post_meta( $post->ID, $this->POST_SKIP . $unique_id, true )
+ ||
+ // Old flags.
+ get_post_meta( $post->ID, $this->POST_SKIP . $service_name )
+ )
+ )
+ ||
+ (
+ is_array( $connection )
+ &&
+ isset( $connection_meta['external_id'] ) && ! empty( $service_id_done[ $service_name ][ $connection_meta['external_id'] ] )
+ )
+ );
+
+ // If this one has already been publicized to, don't let it happen again.
+ $toggleable = ! $done && ! $all_done;
+
+ // Determine the state of the checkbox (on/off) and allow filtering.
+ $enabled = $done || ! $skip;
+ /**
+ * Filter the checkbox state of each Publicize connection appearing in the post editor.
+ *
+ * @module publicize
+ *
+ * @since 2.0.1
+ *
+ * @param bool $enabled Should the Publicize checkbox be enabled for a given service.
+ * @param int $post_id Post ID.
+ * @param string $service_name Service name.
+ * @param array $connection Array of connection details.
+ */
+ $enabled = apply_filters( 'publicize_checkbox_default', $enabled, $post_id, $service_name, $connection );
+
+ /**
+ * If this is a global connection and this user doesn't have enough permissions to modify
+ * those connections, don't let them change it.
+ */
+ if ( ! $done && $this->is_global_connection( $connection_meta ) && ! current_user_can( $this->GLOBAL_CAP ) ) {
+ $toggleable = false;
+
+ /**
+ * Filters the checkboxes for global connections with non-prilvedged users.
+ *
+ * @module publicize
+ *
+ * @since 3.7.0
+ *
+ * @param bool $enabled Indicates if this connection should be enabled. Default true.
+ * @param int $post_id ID of the current post
+ * @param string $service_name Name of the connection (Facebook, Twitter, etc)
+ * @param array $connection Array of data about the connection.
+ */
+ $enabled = apply_filters( 'publicize_checkbox_global_default', $enabled, $post_id, $service_name, $connection );
+ }
+
+ // Force the checkbox to be checked if the post was DONE, regardless of what the filter does.
+ if ( $done ) {
+ $enabled = true;
+ }
+
+ $connection_list[] = array(
+ 'unique_id' => $unique_id,
+ 'service_name' => $service_name,
+ 'service_label' => $this->get_service_label( $service_name ),
+ 'display_name' => $this->get_display_name( $service_name, $connection ),
+ 'profile_picture' => $this->get_profile_picture( $connection ),
+
+ 'enabled' => $enabled,
+ 'done' => $done,
+ 'toggleable' => $toggleable,
+ 'global' => 0 == $connection_data['user_id'], // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual,WordPress.PHP.StrictComparisons.LooseComparison -- Other types can be used at times.
+ );
+ }
+ }
+
+ return $connection_list;
+ }
+
+ /**
+ * Checks if post has already been shared by Publicize in the past.
+ *
+ * @since 6.7.0
+ *
+ * @param integer $post_id Optional. Post ID to query connection status for: will use current post if missing.
+ *
+ * @return bool True if post has already been shared by Publicize, false otherwise.
+ */
+ abstract public function post_is_done_sharing( $post_id = null );
+
+ /**
+ * Retrieves full list of available Publicize connection services.
+ *
+ * Retrieves current available publicize service connections
+ * with associated labels and URLs.
+ *
+ * @since 6.7.0
+ *
+ * @return array {
+ * Array of UI service connection data for all services
+ *
+ * @type string 'name' Name of service.
+ * @type string 'label' Display label for service.
+ * @type string 'url' URL for adding connection to service.
+ * }
+ */
+ public function get_available_service_data() {
+ $available_services = $this->get_services( 'all' );
+ $available_service_data = array();
+
+ foreach ( $available_services as $service_name => $service ) {
+ $available_service_data[] = array(
+ 'name' => $service_name,
+ 'label' => $this->get_service_label( $service_name ),
+ 'url' => $this->connect_url( $service_name ),
+ );
+ }
+
+ return $available_service_data;
+ }
+
+ /**
+ * Site Data
+ */
+
+ /**
+ * Get user ID.
+ *
+ * @return int The current user's ID, or 0 if no user is logged in.
+ */
+ public function user_id() {
+ return get_current_user_id();
+ }
+
+ /**
+ * Get site ID.
+ *
+ * @return int Site ID.
+ */
+ public function blog_id() {
+ return get_current_blog_id();
+ }
+
+ /**
+ * Posts
+ */
+
+ /**
+ * Checks old and new status to see if the post should be flagged as
+ * ready to Publicize.
+ *
+ * Attached to the `transition_post_status` filter.
+ *
+ * @param string $new_status New status.
+ * @param string $old_status Old status.
+ * @param WP_Post $post Post object.
+ * @return void
+ */
+ abstract public function flag_post_for_publicize( $new_status, $old_status, $post );
+
+ /**
+ * Ensures the Post internal post-type supports `publicize`
+ *
+ * This feature support flag is used by the REST API.
+ */
+ public function add_post_type_support() {
+ add_post_type_support( 'post', 'publicize' );
+ }
+
+ /**
+ * Can the current user access Publicize Data.
+ *
+ * @param int $post_id 0 for general access. Post_ID for specific access.
+ * @return bool
+ */
+ public function current_user_can_access_publicize_data( $post_id = 0 ) {
+ /**
+ * Filter what user capability is required to use the publicize form on the edit post page. Useful if publish post capability has been removed from role.
+ *
+ * @module publicize
+ *
+ * @since 4.1.0
+ *
+ * @param string $capability User capability needed to use publicize
+ */
+ $capability = apply_filters( 'jetpack_publicize_capability', 'publish_posts' );
+
+ if ( 'publish_posts' === $capability && $post_id ) {
+ return current_user_can( 'publish_post', $post_id );
+ }
+
+ return current_user_can( $capability );
+ }
+
+ /**
+ * Auth callback for the protected ->POST_MESS post_meta
+ *
+ * @param int $object_id Post ID.
+ * @return bool
+ */
+ public function message_meta_auth_callback( $object_id ) {
+ return $this->current_user_can_access_publicize_data( $object_id );
+ }
+
+ /**
+ * Registers the post_meta for use in the REST API.
+ *
+ * Registers for each post type that with `publicize` feature support.
+ */
+ public function register_post_meta() {
+ $message_args = array(
+ 'type' => 'string',
+ 'description' => __( 'The message to use instead of the title when sharing to Publicize Services', 'jetpack-publicize-pkg' ),
+ 'single' => true,
+ 'default' => '',
+ 'show_in_rest' => array(
+ 'name' => 'jetpack_publicize_message',
+ ),
+ 'auth_callback' => array( $this, 'message_meta_auth_callback' ),
+ );
+
+ $tweetstorm_args = array(
+ 'type' => 'boolean',
+ 'description' => __( 'Whether or not the post should be treated as a Twitter thread.', 'jetpack-publicize-pkg' ),
+ 'single' => true,
+ 'default' => false,
+ 'show_in_rest' => array(
+ 'name' => 'jetpack_is_tweetstorm',
+ ),
+ 'auth_callback' => array( $this, 'message_meta_auth_callback' ),
+ );
+
+ $publicize_feature_enable_args = array(
+ 'type' => 'boolean',
+ 'description' => __( 'Whether or not the Share Post feature is enabled.', 'jetpack-publicize-pkg' ),
+ 'single' => true,
+ 'default' => true,
+ 'show_in_rest' => array(
+ 'name' => 'jetpack_publicize_feature_enabled',
+ ),
+ 'auth_callback' => array( $this, 'message_meta_auth_callback' ),
+ );
+
+ foreach ( get_post_types() as $post_type ) {
+ if ( ! $this->post_type_is_publicizeable( $post_type ) ) {
+ continue;
+ }
+
+ $message_args['object_subtype'] = $post_type;
+ $tweetstorm_args['object_subtype'] = $post_type;
+ $publicize_feature_enable_args['object_subtype'] = $post_type;
+
+ register_meta( 'post', $this->POST_MESS, $message_args );
+ register_meta( 'post', $this->POST_TWEETSTORM, $tweetstorm_args );
+ register_meta( 'post', self::POST_PUBLICIZE_FEATURE_ENABLED, $publicize_feature_enable_args );
+ }
+ }
+
+ /**
+ * Helper function to allow us to not publicize posts in certain contexts.
+ *
+ * @param WP_Post $post Post object.
+ */
+ public function should_submit_post_pre_checks( $post ) {
+ $submit_post = true;
+
+ if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) {
+ $submit_post = false;
+ }
+
+ if (
+ defined( 'DOING_AUTOSAVE' )
+ &&
+ DOING_AUTOSAVE
+ ) {
+ $submit_post = false;
+ }
+
+ // To stop quick edits from getting publicized.
+ if ( did_action( 'wp_ajax_inline-save' ) ) {
+ $submit_post = false;
+ }
+
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended
+ if ( ! empty( $_GET['bulk_edit'] ) ) {
+ $submit_post = false;
+ }
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended
+
+ // - API/XML-RPC Test Posts
+ if (
+ (
+ defined( 'XMLRPC_REQUEST' )
+ &&
+ XMLRPC_REQUEST
+ ||
+ defined( 'APP_REQUEST' )
+ &&
+ APP_REQUEST
+ )
+ &&
+ 0 === strpos( $post->post_title, 'Temporary Post Used For Theme Detection' )
+ ) {
+ $submit_post = false;
+ }
+
+ // Only work with certain statuses (avoids inherits, auto drafts etc).
+ if ( ! in_array( $post->post_status, array( 'publish', 'draft', 'future' ), true ) ) {
+ $submit_post = false;
+ }
+
+ // Don't publish password protected posts.
+ if ( '' !== $post->post_password ) {
+ $submit_post = false;
+ }
+
+ return $submit_post;
+ }
+
+ /**
+ * Fires when a post is saved, checks conditions and saves state in postmeta so that it
+ * can be picked up later by @see ::publicize_post() on WordPress.com codebase.
+ *
+ * Attached to the `save_post` action.
+ *
+ * @param int $post_id Post ID.
+ * @param WP_Post $post Post object.
+ */
+ public function save_meta( $post_id, $post ) {
+ $cron_user = null;
+ $submit_post = true;
+
+ if ( ! $this->post_type_is_publicizeable( $post->post_type ) ) {
+ return;
+ }
+
+ $submit_post = $this->should_submit_post_pre_checks( $post );
+
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- We're only checking if a value is set
+ $admin_page = isset( $_POST[ $this->ADMIN_PAGE ] ) ? $_POST[ $this->ADMIN_PAGE ] : null;
+
+ // Did this request happen via wp-admin?
+ $from_web = isset( $_SERVER['REQUEST_METHOD'] )
+ &&
+ 'post' === strtolower( sanitize_text_field( wp_unslash( $_SERVER['REQUEST_METHOD'] ) ) )
+ &&
+ ! empty( $admin_page );
+
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing
+ $title = isset( $_POST['wpas_title'] ) ? sanitize_textarea_field( wp_unslash( $_POST['wpas_title'] ) ) : null;
+
+ if ( ( $from_web || defined( 'POST_BY_EMAIL' ) ) && $title ) {
+ if ( empty( $title ) ) {
+ delete_post_meta( $post_id, $this->POST_MESS );
+ } else {
+ update_post_meta( $post_id, $this->POST_MESS, trim( stripslashes( $title ) ) );
+ }
+ }
+
+ // Change current user to provide context for get_services() if we're running during cron.
+ if ( defined( 'DOING_CRON' ) && DOING_CRON ) {
+ $cron_user = (int) $GLOBALS['user_ID'];
+ wp_set_current_user( $post->post_author );
+ }
+
+ /**
+ * In this phase, we mark connections that we want to SKIP. When Publicize is actually triggered,
+ * it will Publicize to everything *except* those marked for skipping.
+ */
+ foreach ( (array) $this->get_services( 'connected' ) as $service_name => $connections ) {
+ foreach ( $connections as $connection ) {
+ $connection_data = '';
+ if ( is_object( $connection ) && method_exists( $connection, 'get_meta' ) ) {
+ $connection_data = $connection->get_meta( 'connection_data' );
+ } elseif ( ! empty( $connection['connection_data'] ) ) {
+ $connection_data = $connection['connection_data'];
+ }
+
+ /** This action is documented in modules/publicize/ui.php */
+ /* phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores */
+ if ( false === apply_filters( 'wpas_submit_post?', $submit_post, $post_id, $service_name, $connection_data ) ) {
+ delete_post_meta( $post_id, $this->PENDING );
+ continue;
+ }
+
+ if ( ! empty( $connection->unique_id ) ) {
+ $unique_id = $connection->unique_id;
+ } elseif ( ! empty( $connection['connection_data']['token_id'] ) ) {
+ $unique_id = $connection['connection_data']['token_id'];
+ }
+
+ // This was a wp-admin request, so we need to check the state of checkboxes.
+ if ( $from_web ) {
+ // Delete stray service-based post meta.
+ delete_post_meta( $post_id, $this->POST_SKIP . $service_name );
+
+ // We *unchecked* this stream from the admin page, or it's set to readonly, or it's a new addition.
+ if ( empty( $admin_page['submit'][ $unique_id ] ) ) {
+ // Also make sure that the service-specific input isn't there.
+ // If the user connected to a new service 'in-page' then a hidden field with the service
+ // name is added, so we just assume they wanted to Publicize to that service.
+ if ( empty( $admin_page['submit'][ $service_name ] ) ) {
+ // Nothing seems to be checked, so we're going to mark this one to be skipped.
+ update_post_meta( $post_id, $this->POST_SKIP . $unique_id, 1 );
+ continue;
+ } else {
+ // Clean up any stray post meta.
+ delete_post_meta( $post_id, $this->POST_SKIP . $unique_id );
+ }
+ } else {
+ // The checkbox for this connection is explicitly checked -- make sure we DON'T skip it.
+ delete_post_meta( $post_id, $this->POST_SKIP . $unique_id );
+ }
+ }
+
+ /**
+ * Fires right before the post is processed for Publicize.
+ * Users may hook in here and do anything else they need to after meta is written,
+ * and before the post is processed for Publicize.
+ *
+ * @since 2.1.2
+ *
+ * @param bool $submit_post Should the post be publicized.
+ * @param int $post->ID Post ID.
+ * @param string $service_name Service name.
+ * @param array $connection Array of connection details.
+ */
+ do_action( 'publicize_save_meta', $submit_post, $post_id, $service_name, $connection );
+ }
+ }
+
+ if ( defined( 'DOING_CRON' ) && DOING_CRON ) {
+ wp_set_current_user( $cron_user );
+ }
+
+ // Next up will be ::publicize_post().
+ }
+
+ /**
+ * Alters the "Post Published" message to include information about where the post
+ * was Publicized to.
+ *
+ * Attached to the `post_updated_messages` filter
+ *
+ * @param string[] $messages Array of messages.
+ * @return string[]
+ */
+ public function update_published_message( $messages ) {
+ global $post_type, $post_type_object, $post;
+ if ( ! $this->post_type_is_publicizeable( $post_type ) ) {
+ return $messages;
+ }
+
+ // Bail early if the post is private.
+ if ( 'publish' !== $post->post_status ) {
+ return $messages;
+ }
+
+ $view_post_link_html = '';
+ $viewable = is_post_type_viewable( $post_type_object );
+ if ( $viewable ) {
+ /* phpcs:ignore WordPress.WP.I18n.MissingArgDomain, WordPress.Utils.I18nTextDomainFixer.MissingArgDomain */
+ $view_text = esc_html__( 'View post' ); // Intentionally omitted domain.
+
+ if ( 'jetpack-portfolio' === $post_type ) {
+ $view_text = esc_html__( 'View project', 'jetpack-publicize-pkg' );
+ }
+
+ $view_post_link_html = sprintf(
+ ' <a href="%1$s">%2$s</a>',
+ esc_url( get_permalink( $post ) ),
+ $view_text
+ );
+ }
+
+ $services = $this->get_publicizing_services( $post->ID );
+ if ( empty( $services ) ) {
+ return $messages;
+ }
+
+ $labels = array();
+ foreach ( $services as $service_name => $display_names ) {
+ $labels[] = sprintf(
+ /* translators: Service name is %1$s, and account name is %2$s. */
+ esc_html__( '%1$s (%2$s)', 'jetpack-publicize-pkg' ),
+ esc_html( $service_name ),
+ esc_html( is_array( $display_names ) ? implode( ', ', $display_names ) : $display_names )
+ );
+ }
+
+ $messages['post'][6] = sprintf(
+ /* translators: %1$s is a comma-separated list of services and accounts. Ex. Facebook (@jetpack), Twitter (@jetpack) */
+ esc_html__( 'Post published and sharing on %1$s.', 'jetpack-publicize-pkg' ),
+ implode( ', ', $labels )
+ ) . $view_post_link_html;
+
+ if ( 'post' === $post_type && class_exists( 'Jetpack_Subscriptions' ) ) {
+ $subscription = \Jetpack_Subscriptions::init();
+ if ( $subscription->should_email_post_to_subscribers( $post ) ) {
+ $messages['post'][6] = sprintf(
+ /* translators: %1$s is a comma-separated list of services and accounts. Ex. Facebook (@jetpack), Twitter (@jetpack) */
+ esc_html__( 'Post published, sending emails to subscribers and sharing post on %1$s.', 'jetpack-publicize-pkg' ),
+ implode( ', ', $labels )
+ ) . $view_post_link_html;
+ }
+ }
+
+ $messages['jetpack-portfolio'][6] = sprintf(
+ /* translators: %1$s is a comma-separated list of services and accounts. Ex. Facebook (@jetpack), Twitter (@jetpack) */
+ esc_html__( 'Project published and sharing project on %1$s.', 'jetpack-publicize-pkg' ),
+ implode( ', ', $labels )
+ ) . $view_post_link_html;
+
+ return $messages;
+ }
+
+ /**
+ * Get the Connections the Post was just Publicized to.
+ *
+ * Only reliable just after the Post was published.
+ *
+ * @param int $post_id Post ID.
+ * @return string[] Array of Service display name => Connection display name
+ */
+ public function get_publicizing_services( $post_id ) {
+ $services = array();
+
+ foreach ( (array) $this->get_services( 'connected' ) as $service_name => $connections ) {
+ // services have multiple connections.
+ foreach ( $connections as $connection ) {
+ $unique_id = '';
+ if ( ! empty( $connection->unique_id ) ) {
+ $unique_id = $connection->unique_id;
+ } elseif ( ! empty( $connection['connection_data']['token_id'] ) ) {
+ $unique_id = $connection['connection_data']['token_id'];
+ }
+
+ // Did we skip this connection?
+ if ( get_post_meta( $post_id, $this->POST_SKIP . $unique_id, true ) ) {
+ continue;
+ }
+ $services[ $this->get_service_label( $service_name ) ][] = $this->get_display_name( $service_name, $connection );
+ }
+ }
+
+ return $services;
+ }
+
+ /**
+ * Is the post Publicize-able?
+ *
+ * Only valid prior to Publicizing a Post.
+ *
+ * @param WP_Post $post Post to check.
+ * @return bool
+ */
+ public function post_is_publicizeable( $post ) {
+ if ( ! $this->post_type_is_publicizeable( $post->post_type ) ) {
+ return false;
+ }
+
+ // This is more a precaution. To only publicize posts that are published. (Mostly relevant for Jetpack sites).
+ if ( 'publish' !== $post->post_status ) {
+ return false;
+ }
+
+ // If it's not flagged as ready, then abort. @see ::flag_post_for_publicize().
+ if ( ! get_post_meta( $post->ID, $this->PENDING, true ) ) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Is a given post type Publicize-able?
+ *
+ * Not every CPT lends itself to Publicize-ation. Allow CPTs to register by adding their CPT via
+ * the publicize_post_types array filter.
+ *
+ * @param string $post_type The post type to check.
+ * @return bool True if the post type can be Publicized.
+ */
+ public function post_type_is_publicizeable( $post_type ) {
+ if ( 'post' === $post_type ) {
+ return true;
+ }
+
+ return post_type_supports( $post_type, 'publicize' );
+ }
+
+ /**
+ * Already-published posts should not be Publicized by default. This filter sets checked to
+ * false if a post has already been published.
+ *
+ * Attached to the `publicize_checkbox_default` filter
+ *
+ * @param bool $checked True if checkbox is checked, false otherwise.
+ * @param int $post_id Post ID to set checkbox for.
+ * @return bool
+ */
+ public function publicize_checkbox_default( $checked, $post_id ) {
+ if ( 'publish' === get_post_status( $post_id ) ) {
+ return false;
+ }
+
+ return $checked;
+ }
+
+ /**
+ * Util
+ */
+
+ /**
+ * Converts a Publicize message template string into a sprintf format string
+ *
+ * @param string[] $args Array of arguments.
+ * 0 - The Publicize message template: 'Check out my post: %title% @ %url'
+ * ... - The template tags 'title', 'url', etc.
+ * @return string
+ */
+ protected static function build_sprintf( $args ) {
+ $search = array();
+ $replace = array();
+ foreach ( $args as $k => $arg ) {
+ if ( 0 === $k ) {
+ $string = $arg;
+ continue;
+ }
+ $search[] = "%$arg%";
+ $replace[] = "%$k\$s";
+ }
+ return str_replace( $search, $replace, $string );
+ }
+
+ /**
+ * Get Calypso URL for Publicize connections.
+ *
+ * @param string $source The idenfitier of the place the function is called from.
+ * @return string
+ */
+ public function publicize_connections_url( $source = 'calypso-marketing-connections' ) {
+ $allowed_sources = array( 'jetpack-social-connections-admin-page', 'jetpack-social-connections-classic-editor', 'calypso-marketing-connections' );
+ $source = in_array( $source, $allowed_sources, true ) ? $source : 'calypso-marketing-connections';
+ return Redirect::get_url( $source, array( 'site' => ( new Status() )->get_site_suffix() ) );
+ }
+}
+
+/**
+ * Get Calypso URL for Publicize connections.
+ *
+ * @return string
+ */
+function publicize_calypso_url() {
+ _deprecated_function( __METHOD__, '0.2.0', 'Publicize::publicize_connections_url' );
+ return Redirect::get_url( 'calypso-marketing-connections', array( 'site' => ( new Status() )->get_site_suffix() ) );
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-setup.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-setup.php
new file mode 100644
index 00000000..f3c4d316
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-setup.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Main Publicize class.
+ *
+ * @package automattic/jetpack
+ */
+
+namespace Automattic\Jetpack\Publicize;
+
+/**
+ * The class to configure and initialize the publicize package.
+ */
+class Publicize_Setup {
+ /**
+ * To configure the publicize package, when called via the Config package.
+ */
+ public static function configure() {
+ add_action( 'jetpack_feature_publicize_enabled', array( __CLASS__, 'on_jetpack_feature_publicize_enabled' ) );
+ }
+
+ /**
+ * To configure the publicize package, when called via the Config package.
+ */
+ public static function on_jetpack_feature_publicize_enabled() {
+
+ global $publicize_ui;
+ if ( ! isset( $publicize_ui ) ) {
+ $publicize_ui = new Publicize_UI();
+
+ }
+ // Adding on a higher priority to make sure we're the first field registered.
+ // The priority parameter can be removed once we deprecate WPCOM_REST_API_V2_Post_Publicize_Connections_Field
+ add_action( 'rest_api_init', array( new Connections_Post_Field(), 'register_fields' ), 5 );
+
+ add_action( 'rest_api_init', array( new REST_Controller(), 'register_rest_routes' ) );
+ }
+}
+
+
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-ui.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-ui.php
new file mode 100644
index 00000000..d5b42f09
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-ui.php
@@ -0,0 +1,704 @@
+<?php
+/**
+ * Publicize_UI class.
+ *
+ * @package automattic/jetpack-publicize
+ */
+
+namespace Automattic\Jetpack\Publicize;
+
+/**
+ * Only user facing pieces of Publicize are found here.
+ */
+class Publicize_UI {
+ /**
+ * Contains an instance of class 'Publicize' which loads Keyring, sets up services, etc.
+ *
+ * @var Publicize Instance of Publicize
+ */
+ public $publicize;
+
+ /**
+ * URL to Sharing settings page in wordpress.com
+ *
+ * @var string
+ */
+ protected $publicize_settings_url = '';
+
+ /**
+ * Hooks into WordPress to display the various pieces of UI and load our assets
+ */
+ public function __construct() {
+ global $publicize;
+
+ $publicize = new Publicize();
+ $this->publicize = $publicize;
+
+ add_action( 'init', array( $this, 'init' ) );
+ }
+
+ /**
+ * Initialize UI-related functionality.
+ */
+ public function init() {
+ $this->publicize_settings_url = $this->publicize->publicize_connections_url();
+
+ // Show only to users with the capability required to manage their Publicize connections.
+ if ( ! $this->publicize->current_user_can_access_publicize_data() ) {
+ return;
+ }
+
+ // Assets (css, js).
+ add_action( 'load-settings_page_sharing', array( $this, 'load_assets' ) );
+ add_action( 'admin_head-post.php', array( $this, 'post_page_metabox_assets' ) );
+ add_action( 'admin_head-post-new.php', array( $this, 'post_page_metabox_assets' ) );
+
+ // Management of publicize (sharing screen, ajax/lightbox popup, and metabox on post screen).
+ add_action( 'pre_admin_screen_sharing', array( $this, 'admin_page' ) );
+ add_action( 'post_submitbox_misc_actions', array( $this, 'post_page_metabox' ) );
+ }
+
+ /**
+ * If the ShareDaddy plugin is not active we need to add the sharing settings page to the menu still
+ */
+ public function sharing_menu() {
+ add_submenu_page(
+ 'options-general.php',
+ esc_html__( 'Sharing Settings', 'jetpack-publicize-pkg' ),
+ esc_html__( 'Sharing', 'jetpack-publicize-pkg' ),
+ 'publish_posts',
+ 'sharing',
+ array( $this, 'wrapper_admin_page' )
+ );
+ }
+
+ /**
+ * Add admin page with wrapper.
+ */
+ public function wrapper_admin_page() {
+ if ( class_exists( 'Jetpack_Admin_Page' ) ) {
+ \Jetpack_Admin_Page::wrap_ui( array( $this, 'management_page' ) );
+ }
+ }
+
+ /**
+ * Management page to load if Sharedaddy is not active so the 'pre_admin_screen_sharing' action exists.
+ */
+ public function management_page() {
+ ?>
+ <div class="wrap">
+ <div class="icon32" id="icon-options-general"><br /></div>
+ <h1><?php esc_html_e( 'Sharing Settings', 'jetpack-publicize-pkg' ); ?></h1>
+
+ <?php
+ /** This action is documented in modules/sharedaddy/sharing.php */
+ do_action( 'pre_admin_screen_sharing' );
+ ?>
+ </div>
+ <?php
+ }
+
+ /**
+ * Styling for the sharing screen and popups
+ * JS for the options and switching
+ */
+ public function load_assets() {
+ if ( class_exists( 'Jetpack_Admin_Page' ) ) {
+ \Jetpack_Admin_Page::load_wrapper_styles();
+ }
+ }
+
+ /**
+ * Lists the current user's publicized accounts for the blog
+ * looks exactly like Publicize v1 for now, UI and functionality updates will come after the move to keyring
+ */
+ public function admin_page() {
+ ?>
+ <h2 id="publicize"><?php esc_html_e( 'Publicize', 'jetpack-publicize-pkg' ); ?></h2>
+ <p><?php esc_html_e( 'Connect social media services to automatically share new posts.', 'jetpack-publicize-pkg' ); ?></p>
+ <h4>
+ <?php
+ printf(
+ wp_kses(
+ /* translators: %s is the link to the Publicize page in Calypso */
+ __( "We've made some updates to Publicize. Please visit the <a href='%s' class='jptracks' data-jptracks-name='legacy_publicize_settings'>WordPress.com sharing page</a> to manage your publicize connections or use the button below.", 'jetpack-publicize-pkg' ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ 'class' => array(),
+ 'data-jptracks-name' => array(),
+ ),
+ )
+ ),
+ esc_url( $this->publicize->publicize_connections_url() )
+ );
+ ?>
+ </h4>
+
+ <a href="<?php echo esc_url( $this->publicize->publicize_connections_url() ); ?>" class="button button-primary jptracks" data-jptracks-name='legacy_publicize_settings'><?php esc_html_e( 'Publicize Settings', 'jetpack-publicize-pkg' ); ?></a>
+ <?php
+ }
+
+ /**
+ * CSS for styling the publicize message box and counter that displays on the post page.
+ * There is also some JavaScript for length counting and some basic display effects.
+ */
+ public function post_page_metabox_assets() {
+ // We don't need those assets for the block editor pages.
+ $current_screen = get_current_screen();
+ if ( $current_screen && $current_screen->is_block_editor ) {
+ return;
+ }
+
+ $default_prefix = $this->publicize->default_prefix;
+ $default_prefix = preg_replace( '/%([0-9])\$s/', "' + %\\1\$s + '", esc_js( $default_prefix ) );
+
+ $default_message = $this->publicize->default_message;
+ $default_message = preg_replace( '/%([0-9])\$s/', "' + %\\1\$s + '", esc_js( $default_message ) );
+
+ $default_suffix = $this->publicize->default_suffix;
+ $default_suffix = preg_replace( '/%([0-9])\$s/', "' + %\\1\$s + '", esc_js( $default_suffix ) );
+
+ $max_length = defined( 'JETPACK_PUBLICIZE_TWITTER_LENGTH' ) ? JETPACK_PUBLICIZE_TWITTER_LENGTH : 280;
+ $max_length = $max_length - 24; // t.co link, space.
+
+ ?>
+
+<script type="text/javascript">
+jQuery( function($) {
+ var wpasTitleCounter = $( '#wpas-title-counter' ),
+ wpasTwitterCheckbox = $( '.wpas-submit-twitter' ).length,
+ postTitle = $( '#title' ),
+ wpasTitle = $( '#wpas-title' ).keyup( function() {
+ var postTitleVal,
+ length = wpasTitle.val().length;
+
+ if ( ! length ) {
+ length = wpasTitle.attr( 'placeholder' ).length;
+ }
+
+ wpasTitleCounter.text( length ).trigger( 'change' );
+ } ),
+ authClick = false;
+
+ wpasTitleCounter.on( 'change', function( e ) {
+ if ( wpasTwitterCheckbox && parseInt( $( e.currentTarget ).text(), 10 ) > <?php echo (int) $max_length; ?> ) {
+ wpasTitleCounter.addClass( 'wpas-twitter-length-limit' );
+ } else {
+ wpasTitleCounter.removeClass( 'wpas-twitter-length-limit' );
+ }
+ } );
+
+ // Keep the postTitle and the placeholder in sync
+ postTitle.on( 'keyup', function( e ) {
+ var url = $( '#sample-permalink' ).text();
+ <?php // phpcs:ignore ?>
+ var defaultMessage = $.trim( '<?php printf( $default_prefix, 'url' ); printf( $default_message, 'e.currentTarget.value', 'url' ); printf( $default_suffix, 'url' ); ?>' )
+ .replace( /<[^>]+>/g,'');
+
+ wpasTitle.attr( 'placeholder', defaultMessage );
+ wpasTitle.trigger( 'keyup' );
+ } );
+
+ // set the initial placeholder
+ postTitle.trigger( 'keyup' );
+
+ // If a custom message has been provided, open the UI so the author remembers
+ if ( wpasTitle.val() && ! wpasTitle.prop( 'disabled' ) && wpasTitle.attr( 'placeholder' ) !== wpasTitle.val() ) {
+ $( '#publicize-form' ).show();
+ $( '#publicize-defaults' ).hide();
+ $( '#publicize-form-edit' ).hide();
+ }
+
+ $('#publicize-disconnected-form-show').click( function() {
+ $('#publicize-form').slideDown( 'fast' );
+ $(this).hide();
+ } );
+
+ $('#publicize-disconnected-form-hide').click( function() {
+ $('#publicize-form').slideUp( 'fast' );
+ $('#publicize-disconnected-form-show').show();
+ } );
+
+ $('#publicize-form-edit').click( function() {
+ $('#publicize-form').slideDown( 'fast', function() {
+ var selBeg = 0, selEnd = 0;
+ wpasTitle.focus();
+
+ if ( ! wpasTitle.text() ) {
+ wpasTitle.text( wpasTitle.attr( 'placeholder' ) );
+
+ selBeg = wpasTitle.text().indexOf( postTitle.val() );
+ if ( selBeg < 0 ) {
+ selBeg = 0;
+ } else {
+ selEnd = selBeg + postTitle.val().length;
+ }
+
+ var domObj = wpasTitle.get(0);
+ if ( domObj.setSelectionRange ) {
+ domObj.setSelectionRange( selBeg, selEnd );
+ } else if ( domObj.createTextRange ) {
+ var r = domObj.createTextRange();
+ r.moveStart( 'character', selBeg );
+ r.moveEnd( 'character', selEnd );
+ r.select();
+ }
+ }
+ } );
+
+ $('#publicize-defaults').hide();
+ $(this).hide();
+ return false;
+ } );
+
+ $('#publicize-form-hide').click( function() {
+ var newList = $.map( $('#publicize-form').slideUp( 'fast' ).find( ':checked' ), function( el ) {
+ return $.trim( $(el).parent( 'label' ).text() );
+ } );
+ $('#publicize-defaults').html( '<strong>' + newList.join( '</strong>, <strong>' ) + '</strong>' ).show();
+ $('#publicize-form-edit').show();
+ return false;
+ } );
+
+ $('.authorize-link').click( function() {
+ if ( authClick ) {
+ return false;
+ }
+ authClick = true;
+ $(this).after( '<img src="images/loading.gif" class="alignleft" style="margin: 0 .5em" />' );
+ $.ajaxSetup( { async: false } );
+
+ if ( window.wp && window.wp.autosave ) {
+ window.wp.autosave.server.triggerSave();
+ } else {
+ autosave();
+ }
+
+ return true;
+ } );
+
+ $( '.pub-service' ).click( function() {
+ var service = $(this).data( 'service' ),
+ fakebox = '<input id="wpas-submit-' + service + '" type="hidden" value="1" name="wpas[submit][' + service + ']" />';
+ $( '#add-publicize-check' ).append( fakebox );
+ } );
+
+ publicizeConnTestStart = function() {
+ $( '#pub-connection-tests' )
+ .removeClass( 'below-h2' )
+ .removeClass( 'error' )
+ .removeClass( 'publicize-token-refresh-message' )
+ .addClass( 'test-in-progress' )
+ .html( '' );
+ $.post( ajaxurl, { action: 'test_publicize_conns' }, publicizeConnTestComplete );
+ }
+
+ publicizeConnRefreshClick = function( event ) {
+ event.preventDefault();
+ var popupURL = event.currentTarget.href;
+ var popupTitle = event.currentTarget.title;
+ // open a popup window
+ // when it is closed, kick off the tests again
+ var popupWin = window.open( popupURL, popupTitle, '' );
+ var popupWinTimer= window.setInterval( function() {
+ if ( popupWin.closed !== false ) {
+ window.clearInterval( popupWinTimer );
+ publicizeConnTestStart();
+ }
+ }, 500 );
+ }
+
+ publicizeConnTestComplete = function( response ) {
+ var testsSelector = $( '#pub-connection-tests' );
+ testsSelector
+ .removeClass( 'test-in-progress' )
+ .removeClass( 'below-h2' )
+ .removeClass( 'error' )
+ .removeClass( 'publicize-token-refresh-message' )
+ .html( '' );
+
+ // If any of the tests failed, show some stuff
+ var somethingShownAlready = false;
+ var facebookNotice = false;
+ $.each( response.data, function( index, testResult ) {
+ // find the li for this connection
+ if ( ! testResult.connectionTestPassed && testResult.userCanRefresh ) {
+ if ( ! somethingShownAlready ) {
+ testsSelector
+ .addClass( 'below-h2' )
+ .addClass( 'error' )
+ .addClass( 'publicize-token-refresh-message' )
+ .append( "<p><?php echo esc_html( __( 'Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:', 'jetpack-publicize-pkg' ) ); ?></p>" );
+ somethingShownAlready = true;
+ }
+
+ if ( testResult.userCanRefresh ) {
+ testsSelector.append( '<p/>' );
+ $( '<a/>', {
+ 'class' : 'pub-refresh-button button',
+ 'title' : testResult.refreshText,
+ 'href' : testResult.refreshURL,
+ 'text' : testResult.refreshText,
+ 'target' : '_refresh_' + testResult.serviceName
+ } )
+ .appendTo( testsSelector.children().last() )
+ .click( publicizeConnRefreshClick );
+ }
+ }
+
+ if( ! testResult.connectionTestPassed && ! testResult.userCanRefresh ) {
+ $( '#wpas-submit-' + testResult.unique_id ).prop( "checked", false ).prop( "disabled", true );
+ if ( ! facebookNotice ) {
+ var message = '<p>'
+ + testResult.connectionTestMessage
+ + '</p><p>'
+ + ' <a class="button" href="<?php echo esc_url( $this->publicize_settings_url ); ?>" rel="noopener noreferrer" target="_blank">'
+ + '<?php echo esc_html( __( 'Update Your Sharing Settings', 'jetpack-publicize-pkg' ) ); ?>'
+ + '</a>'
+ + '<p>';
+
+ testsSelector
+ .addClass( 'below-h2' )
+ .addClass( 'error' )
+ .addClass( 'publicize-token-refresh-message' )
+ .append( message );
+ facebookNotice = true;
+ }
+ }
+ } );
+ }
+
+ $( document ).ready( function() {
+ // If we have the #pub-connection-tests div present, kick off the connection test
+ if ( $( '#pub-connection-tests' ).length ) {
+ publicizeConnTestStart();
+ }
+ } );
+
+} );
+</script>
+
+<style type="text/css">
+#publicize {
+ line-height: 1.5;
+}
+#publicize ul {
+ margin: 4px 0 4px 6px;
+}
+#publicize li {
+ margin: 0;
+}
+#publicize textarea {
+ margin: 4px 0 0;
+ width: 100%
+}
+#publicize ul.not-connected {
+ list-style: square;
+ padding-left: 1em;
+}
+.publicize__notice-warning {
+ display: block;
+ padding: 7px 10px;
+ margin: 5px 0;
+ border-left-width: 4px;
+ border-left-style: solid;
+ font-size: 12px;
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
+}
+.publicize-external-link {
+ display: block;
+ text-decoration: none;
+ margin-top: 8px;
+}
+.publicize-external-link__text {
+ text-decoration: underline;
+}
+#publicize-title:before {
+ content: "\f237";
+ font: normal 20px/1 dashicons;
+ speak: none;
+ margin-left: -1px;
+ padding-right: 3px;
+ vertical-align: top;
+ -webkit-font-smoothing: antialiased;
+ color: #8c8f94;
+}
+.post-new-php .authorize-link, .post-php .authorize-link {
+ line-height: 1.5em;
+}
+.post-new-php .authorize-message, .post-php .authorize-message {
+ margin-bottom: 0;
+}
+#poststuff #publicize .updated p {
+ margin: .5em 0;
+}
+.wpas-twitter-length-limit {
+ color: red;
+}
+.publicize__notice-warning .dashicons {
+ font-size: 16px;
+ text-decoration: none;
+}
+</style>
+ <?php
+ }
+
+ /**
+ * Get the connection label.
+ *
+ * @param string $service_label Service's human-readable Label ("Facebook", "Twitter", ...).
+ * @param string $display_name Connection's human-readable Username ("@jetpack", ...).
+ * @return string
+ */
+ private function connection_label( $service_label, $display_name ) {
+ return sprintf(
+ /* translators: %1$s: Service Name (Facebook, Twitter, ...), %2$s: Username on Service (@jetpack, ...) */
+ __( '%1$s: %2$s', 'jetpack-publicize-pkg' ),
+ $service_label,
+ $display_name
+ );
+ }
+
+ /**
+ * Extracts the connections that require reauthentication, for example, LinkedIn, when it switched v1 to v2 of its API.
+ *
+ * @return array Connections that must be reauthenticated
+ */
+ public function get_must_reauth_connections() {
+ $must_reauth = array();
+ $connections = $this->publicize->get_connections( 'linkedin' );
+ if ( is_array( $connections ) ) {
+ foreach ( $connections as $index => $connection ) {
+ if ( $this->publicize->is_invalid_linkedin_connection( $connection ) ) {
+ $must_reauth[ $index ] = 'LinkedIn';
+ }
+ }
+ }
+ return $must_reauth;
+ }
+
+ /**
+ * Controls the metabox that is displayed on the post page
+ * Allows the user to customize the message that will be sent out to the social network, as well as pick which
+ * networks to publish to. Also displays the character counter and some other information.
+ */
+ public function post_page_metabox() {
+ global $post;
+
+ if ( ! $this->publicize->post_type_is_publicizeable( $post->post_type ) ) {
+ return;
+ }
+
+ $connections_data = $this->publicize->get_filtered_connection_data();
+
+ $available_services = $this->publicize->get_services( 'all' );
+
+ if ( ! is_array( $available_services ) ) {
+ $available_services = array();
+ }
+
+ if ( ! is_array( $connections_data ) ) {
+ $connections_data = array();
+ }
+ ?>
+ <div id="publicize" class="misc-pub-section misc-pub-section-last">
+ <span id="publicize-title">
+ <?php
+ esc_html_e( 'Publicize:', 'jetpack-publicize-pkg' );
+
+ if ( ! empty( $connections_data ) ) :
+ $publicize_form = $this->get_metabox_form_connected( $connections_data );
+
+ $must_reauth = $this->get_must_reauth_connections();
+ if ( ! empty( $must_reauth ) ) {
+ foreach ( $must_reauth as $connection_name ) {
+ ?>
+ <span class="notice-warning publicize__notice-warning">
+ <?php
+ printf(
+ /* translators: %s is the name of a Publicize service like "LinkedIn" */
+ esc_html__(
+ 'Your %s connection needs to be reauthenticated to continue working – head to Sharing to take care of it.',
+ 'jetpack-publicize-pkg'
+ ),
+ $connection_name // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ );
+ ?>
+ <a
+ class="publicize-external-link"
+ href="<?php echo esc_url( $this->publicize->publicize_connections_url() ); ?>"
+ target="_blank"
+ >
+ <span class="publicize-external-link__text"><?php esc_html_e( 'Go to Sharing settings', 'jetpack-publicize-pkg' ); ?></span>
+ <span class="dashicons dashicons-external"></span>
+ </a>
+ </span>
+ <?php
+ }
+ }
+
+ $labels = array();
+
+ foreach ( $connections_data as $connection_data ) {
+ if ( ! $connection_data['enabled'] ) {
+ continue;
+ }
+
+ $labels[] = sprintf(
+ '<strong>%s</strong>',
+ esc_html( $this->connection_label( $connection_data['service_label'], $connection_data['display_name'] ) )
+ );
+ }
+
+ ?>
+ <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- labels are already escaped above ?>
+ <span id="publicize-defaults"><?php echo join( ', ', $labels ); ?></span>
+ <a href="#" id="publicize-form-edit"><?php esc_html_e( 'Edit', 'jetpack-publicize-pkg' ); ?></a>&nbsp;<a href="<?php echo esc_url( $this->publicize->publicize_connections_url( 'jetpack-social-connections-classic-editor' ) ); ?>" rel="noopener noreferrer" target="_blank"><?php esc_html_e( 'Settings', 'jetpack-publicize-pkg' ); ?></a><br />
+ <?php
+ else :
+ $publicize_form = $this->get_metabox_form_disconnected( $available_services );
+ ?>
+ <strong><?php esc_html_e( 'Not Connected', 'jetpack-publicize-pkg' ); ?></strong>
+ <a href="<?php echo esc_url( $this->publicize->publicize_connections_url( 'jetpack-social-connections-classic-editor' ) ); ?>" rel="noopener noreferrer" target="_blank"><?php esc_html_e( 'Settings', 'jetpack-publicize-pkg' ); ?></a><br />
+ <?php
+
+ endif;
+ ?>
+ </span>
+ <?php
+ /**
+ * Filter the Publicize details form.
+ *
+ * @module publicize
+ *
+ * @since 2.0.0
+ *
+ * @param string $publicize_form Publicize Details form appearing above Publish button in the editor.
+ */
+ echo apply_filters( 'publicize_form', $publicize_form ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Parts of the form are escaped individually in the code above.
+ ?>
+ </div>
+ <?php
+ }
+
+ /**
+ * Generates HTML content for connections form.
+ *
+ * @since 6.7
+ *
+ * @global WP_Post $post The current post instance being published.
+ *
+ * @param array $connections_data Array of connections.
+ * @return array {
+ * Array of content for generating connection form.
+ *
+ * @type string HTML content of form
+ * @type array {
+ * Array of connection labels for active connections only.
+ *
+ * @type string Connection label string.
+ * }
+ * }
+ */
+ private function get_metabox_form_connected( $connections_data ) {
+ global $post;
+
+ $all_done = $this->publicize->post_is_done_sharing();
+ $all_connections_done = true;
+
+ ob_start();
+
+ ?>
+ <div id="publicize-form" class="hide-if-js">
+ <ul>
+ <?php
+
+ foreach ( $connections_data as $connection_data ) {
+ $all_connections_done = $all_connections_done && $connection_data['done'];
+ ?>
+
+ <li>
+ <label for="wpas-submit-<?php echo esc_attr( $connection_data['unique_id'] ); ?>">
+ <input
+ type="checkbox"
+ name="wpas[submit][<?php echo esc_attr( $connection_data['unique_id'] ); ?>]"
+ id="wpas-submit-<?php echo esc_attr( $connection_data['unique_id'] ); ?>"
+ class="wpas-submit-<?php echo esc_attr( $connection_data['service_name'] ); ?>"
+ value="1"
+ <?php
+ checked( true, $connection_data['enabled'] );
+ disabled( false, $connection_data['toggleable'] );
+ ?>
+ />
+ <?php if ( $connection_data['enabled'] && ! $connection_data['toggleable'] ) : // Need to submit a value to force a global connection to POST. ?>
+ <input
+ type="hidden"
+ name="wpas[submit][<?php echo esc_attr( $connection_data['unique_id'] ); ?>]"
+ value="1"
+ />
+ <?php endif; ?>
+
+ <?php echo esc_html( $this->connection_label( $connection_data['service_label'], $connection_data['display_name'] ) ); ?>
+
+ </label>
+ </li>
+ <?php
+ }
+
+ $title = get_post_meta( $post->ID, $this->publicize->POST_MESS, true );
+ if ( ! $title ) {
+ $title = '';
+ }
+
+ $all_done = $all_done || $all_connections_done;
+
+ ?>
+
+ </ul>
+
+ <label for="wpas-title"><?php esc_html_e( 'Custom Message:', 'jetpack-publicize-pkg' ); ?></label>
+ <span id="wpas-title-counter" class="alignright hide-if-no-js">0</span>
+ <textarea name="wpas_title" id="wpas-title"<?php disabled( $all_done ); ?>><?php echo esc_textarea( $title ); ?></textarea>
+ <a href="#" class="hide-if-no-js button" id="publicize-form-hide"><?php esc_html_e( 'OK', 'jetpack-publicize-pkg' ); ?></a>
+ <input type="hidden" name="wpas[0]" value="1" />
+ </div>
+
+ <?php if ( ! $all_done ) : ?>
+ <div id="pub-connection-tests"></div>
+ <?php endif; ?>
+ <?php
+
+ return ob_get_clean();
+ }
+
+ /**
+ * Metabox that is shown when no services are connected.
+ *
+ * @param array $available_services Array of available services for connecting.
+ */
+ private function get_metabox_form_disconnected( $available_services ) {
+ ob_start();
+ ?>
+ <div id="publicize-form" class="hide-if-js">
+ <div id="add-publicize-check" style="display: none;"></div>
+
+ <?php esc_html_e( 'Connect to', 'jetpack-publicize-pkg' ); ?>:
+
+ <ul class="not-connected">
+ <?php foreach ( $available_services as $service_name => $service ) : ?>
+ <li>
+ <?php /* translators: %s is the name of a Publicize service such as "LinkedIn" */ ?>
+ <a class="pub-service" data-service="<?php echo esc_attr( $service_name ); ?>" title="<?php echo esc_attr( sprintf( __( 'Connect and share your posts on %s', 'jetpack-publicize-pkg' ), $this->publicize->get_service_label( $service_name ) ) ); ?>" rel="noopener noreferrer" target="_blank" href="<?php echo esc_url( $this->publicize->connect_url( $service_name ) ); ?>">
+ <?php echo esc_html( $this->publicize->get_service_label( $service_name ) ); ?>
+ </a>
+ </li>
+ <?php endforeach; ?>
+ </ul>
+ <a href="#" class="hide-if-no-js button" id="publicize-disconnected-form-hide"><?php esc_html_e( 'OK', 'jetpack-publicize-pkg' ); ?></a>
+ </div>
+ <?php
+
+ return ob_get_clean();
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize.php
new file mode 100644
index 00000000..5a6e1c91
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize.php
@@ -0,0 +1,1085 @@
+<?php
+/**
+ * Publicize class.
+ *
+ * @package automattic/jetpack-publicize
+ */
+
+namespace Automattic\Jetpack\Publicize;
+
+use Automattic\Jetpack\Connection\Tokens;
+use Automattic\Jetpack\Redirect;
+use Jetpack_IXR_Client;
+use Jetpack_Options;
+
+/**
+ * Extend the base class with Jetpack-specific functionality.
+ */
+class Publicize extends Publicize_Base {
+
+ const CONNECTION_REFRESH_WAIT_TRANSIENT = 'jetpack_publicize_connection_refresh_wait';
+
+ /**
+ * Add hooks.
+ */
+ public function __construct() {
+ parent::__construct();
+
+ add_filter( 'jetpack_xmlrpc_unauthenticated_methods', array( $this, 'register_update_publicize_connections_xmlrpc_method' ) );
+
+ add_action( 'load-settings_page_sharing', array( $this, 'admin_page_load' ), 9 );
+
+ add_action( 'wp_ajax_publicize_tumblr_options_page', array( $this, 'options_page_tumblr' ) );
+ add_action( 'wp_ajax_publicize_facebook_options_page', array( $this, 'options_page_facebook' ) );
+ add_action( 'wp_ajax_publicize_twitter_options_page', array( $this, 'options_page_twitter' ) );
+ add_action( 'wp_ajax_publicize_linkedin_options_page', array( $this, 'options_page_linkedin' ) );
+
+ add_action( 'wp_ajax_publicize_tumblr_options_save', array( $this, 'options_save_tumblr' ) );
+ add_action( 'wp_ajax_publicize_facebook_options_save', array( $this, 'options_save_facebook' ) );
+ add_action( 'wp_ajax_publicize_twitter_options_save', array( $this, 'options_save_twitter' ) );
+ add_action( 'wp_ajax_publicize_linkedin_options_save', array( $this, 'options_save_linkedin' ) );
+
+ add_action( 'load-settings_page_sharing', array( $this, 'force_user_connection' ) );
+
+ add_filter( 'jetpack_published_post_flags', array( $this, 'set_post_flags' ), 10, 2 );
+
+ add_action( 'wp_insert_post', array( $this, 'save_publicized' ), 11, 2 );
+
+ add_filter( 'jetpack_twitter_cards_site_tag', array( $this, 'enhaced_twitter_cards_site_tag' ) );
+
+ add_action( 'publicize_save_meta', array( $this, 'save_publicized_twitter_account' ), 10, 4 );
+ add_action( 'publicize_save_meta', array( $this, 'save_publicized_facebook_account' ), 10, 4 );
+
+ add_action( 'connection_disconnected', array( $this, 'add_disconnect_notice' ) );
+
+ add_filter( 'jetpack_sharing_twitter_via', array( $this, 'get_publicized_twitter_account' ), 10, 2 );
+
+ add_action( 'updating_jetpack_version', array( $this, 'init_refresh_transient' ) );
+ }
+
+ /**
+ * Add a notice when a connection has been disconnected.
+ */
+ public function add_disconnect_notice() {
+ add_action( 'admin_notices', array( $this, 'display_disconnected' ) );
+ }
+
+ /**
+ * Force user connection before showing the Publicize UI.
+ */
+ public function force_user_connection() {
+ global $current_user;
+
+ $user_token = ( new Tokens() )->get_access_token( $current_user->ID );
+ $is_user_connected = $user_token && ! is_wp_error( $user_token );
+
+ // If the user is already connected via Jetpack, then we're good.
+ if ( $is_user_connected ) {
+ return;
+ }
+
+ // If they're not connected, then remove the Publicize UI and tell them they need to connect first.
+ global $publicize_ui;
+ remove_action( 'pre_admin_screen_sharing', array( $publicize_ui, 'admin_page' ) );
+
+ // Do we really need `admin_styles`? With the new admin UI, it's breaking some bits.
+ // Jetpack::init()->admin_styles();.
+ add_action( 'pre_admin_screen_sharing', array( $this, 'admin_page_warning' ), 1 );
+ }
+
+ /**
+ * Show a warning when Publicize does not have a connection.
+ */
+ public function admin_page_warning() {
+ $jetpack = \Jetpack::init();
+ $blog_name = get_bloginfo( 'blogname' );
+ if ( empty( $blog_name ) ) {
+ $blog_name = home_url( '/' );
+ }
+
+ ?>
+ <div id="message" class="updated jetpack-message jp-connect">
+ <div class="jetpack-wrap-container">
+ <div class="jetpack-text-container">
+ <p>
+ <?php
+ printf(
+ /* translators: %s is the name of the blog */
+ esc_html( wptexturize( __( "To use Publicize, you'll need to link your %s account to your WordPress.com account using the link below.", 'jetpack-publicize-pkg' ) ) ),
+ '<strong>' . esc_html( $blog_name ) . '</strong>'
+ );
+ ?>
+ </p>
+ <p><?php echo esc_html( wptexturize( __( "If you don't have a WordPress.com account yet, you can sign up for free in just a few seconds.", 'jetpack-publicize-pkg' ) ) ); ?></p>
+ </div>
+ <div class="jetpack-install-container">
+ <p class="submit"><a
+ href="<?php echo esc_url( $jetpack->build_connect_url( false, menu_page_url( 'sharing', false ) ) ); ?>"
+ class="button-connector"
+ id="wpcom-connect"><?php esc_html_e( 'Link account with WordPress.com', 'jetpack-publicize-pkg' ); ?></a>
+ </p>
+ <p class="jetpack-install-blurb">
+ <?php jetpack_render_tos_blurb(); ?>
+ </p>
+ </div>
+ </div>
+ </div>
+ <?php
+ }
+
+ /**
+ * Remove a Publicize Connection.
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param string $connection_id Connection ID.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @param bool $force_delete Whether to skip permissions checks.
+ * @return false|void False on failure. Void on success.
+ */
+ public function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false ) {
+ return Keyring_Helper::disconnect( $service_name, $connection_id, $_blog_id, $_user_id, $force_delete );
+ }
+
+ /**
+ * Set updated Publicize conntections.
+ *
+ * @param mixed $publicize_connections Updated connections.
+ * @return true
+ */
+ public function receive_updated_publicize_connections( $publicize_connections ) {
+ Jetpack_Options::update_option( 'publicize_connections', $publicize_connections );
+
+ return true;
+ }
+
+ /**
+ * Add method to update Publicize connections.
+ *
+ * @param array $methods Array of registered methods.
+ * @return array
+ */
+ public function register_update_publicize_connections_xmlrpc_method( $methods ) {
+ return array_merge(
+ $methods,
+ array(
+ 'jetpack.updatePublicizeConnections' => array( $this, 'receive_updated_publicize_connections' ),
+ )
+ );
+ }
+
+ /**
+ * Get a list of all connections.
+ *
+ * @return array
+ */
+ public function get_all_connections() {
+ $this->refresh_connections();
+ $connections = Jetpack_Options::get_option( 'publicize_connections' );
+ if ( isset( $connections['google_plus'] ) ) {
+ unset( $connections['google_plus'] );
+ }
+ return $connections;
+ }
+
+ /**
+ * Get connections for a specific service.
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @return false|object[]|array[]
+ */
+ public function get_connections( $service_name, $_blog_id = false, $_user_id = false ) {
+ if ( false === $_user_id ) {
+ $_user_id = $this->user_id();
+ }
+
+ $connections = $this->get_all_connections();
+ $connections_to_return = array();
+
+ if ( ! empty( $connections ) && is_array( $connections ) ) {
+ if ( ! empty( $connections[ $service_name ] ) ) {
+ foreach ( $connections[ $service_name ] as $id => $connection ) {
+ if ( $this->is_global_connection( $connection ) || $_user_id === (int) $connection['connection_data']['user_id'] ) {
+ $connections_to_return[ $id ] = $connection;
+ }
+ }
+ }
+
+ return $connections_to_return;
+ }
+
+ return false;
+ }
+
+ /**
+ * Get all connections for a specific user.
+ *
+ * @return array|false
+ */
+ public function get_all_connections_for_user() {
+ $connections = $this->get_all_connections();
+
+ $connections_to_return = array();
+ if ( ! empty( $connections ) ) {
+ foreach ( (array) $connections as $service_name => $connections_for_service ) {
+ foreach ( $connections_for_service as $id => $connection ) {
+ $user_id = (int) $connection['connection_data']['user_id'];
+ // phpcs:ignore WordPress.PHP.YodaConditions.NotYoda
+ if ( $user_id === 0 || $this->user_id() === $user_id ) {
+ $connections_to_return[ $service_name ][ $id ] = $connection;
+ }
+ }
+ }
+
+ return $connections_to_return;
+ }
+
+ return false;
+ }
+
+ /**
+ * Get the ID of a connection.
+ *
+ * @param array $connection The connection.
+ * @return string
+ */
+ public function get_connection_id( $connection ) {
+ return $connection['connection_data']['id'];
+ }
+
+ /**
+ * Get the unique ID of a connection.
+ *
+ * @param array $connection The connection.
+ * @return string
+ */
+ public function get_connection_unique_id( $connection ) {
+ return $connection['connection_data']['token_id'];
+ }
+
+ /**
+ * Get the meta of a connection.
+ *
+ * @param array $connection The connection.
+ * @return array
+ */
+ public function get_connection_meta( $connection ) {
+ $connection['user_id'] = $connection['connection_data']['user_id']; // Allows for shared connections.
+ return $connection;
+ }
+
+ /**
+ * Show error on settings page if applicable.
+ */
+ public function admin_page_load() {
+ $action = isset( $_GET['action'] ) ? sanitize_text_field( wp_unslash( $_GET['action'] ) ) : null; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+
+ if ( 'error' === $action ) {
+ add_action( 'pre_admin_screen_sharing', array( $this, 'display_connection_error' ), 9 );
+ }
+ }
+
+ /**
+ * Display an error message.
+ */
+ public function display_connection_error() {
+ $code = false;
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended
+ $service = isset( $_GET['service'] ) ? sanitize_text_field( wp_unslash( $_GET['service'] ) ) : null;
+ $publicize_error = isset( $_GET['publicize_error'] ) ? sanitize_text_field( wp_unslash( $_GET['publicize_error'] ) ) : null;
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended
+
+ if ( $service ) {
+ /* translators: %s is the name of the Publicize service (e.g. Facebook, Twitter) */
+ $error = sprintf( __( 'There was a problem connecting to %s to create an authorized connection. Please try again in a moment.', 'jetpack-publicize-pkg' ), self::get_service_label( $service ) );
+ } else {
+ if ( $publicize_error ) {
+ $code = strtolower( $publicize_error );
+ switch ( $code ) {
+ case '400':
+ $error = __( 'An invalid request was made. This normally means that something intercepted or corrupted the request from your server to the Jetpack Server. Try again and see if it works this time.', 'jetpack-publicize-pkg' );
+ break;
+ case 'secret_mismatch':
+ $error = __( 'We could not verify that your server is making an authorized request. Please try again, and make sure there is nothing interfering with requests from your server to the Jetpack Server.', 'jetpack-publicize-pkg' );
+ break;
+ case 'empty_blog_id':
+ $error = __( 'No blog_id was included in your request. Please try disconnecting Jetpack from WordPress.com and then reconnecting it. Once you have done that, try connecting Publicize again.', 'jetpack-publicize-pkg' );
+ break;
+ case 'empty_state':
+ /* translators: %s is the URL of the Jetpack admin page */
+ $error = sprintf( __( 'No user information was included in your request. Please make sure that your user account has connected to Jetpack. Connect your user account by going to the <a href="%s">Jetpack page</a> within wp-admin.', 'jetpack-publicize-pkg' ), \Jetpack::admin_url() );
+ break;
+ default:
+ $error = __( 'Something which should never happen, happened. Sorry about that. If you try again, maybe it will work.', 'jetpack-publicize-pkg' );
+ break;
+ }
+ } else {
+ $error = __( 'There was a problem connecting with Publicize. Please try again in a moment.', 'jetpack-publicize-pkg' );
+ }
+ }
+ // Using the same formatting/style as Jetpack::admin_notices() error.
+ ?>
+ <div id="message" class="jetpack-message jetpack-err">
+ <div class="squeezer">
+ <h2>
+ <?php
+ echo wp_kses(
+ $error,
+ array(
+ 'a' => array(
+ 'href' => true,
+ ),
+ 'code' => true,
+ 'strong' => true,
+ 'br' => true,
+ 'b' => true,
+ )
+ );
+ ?>
+ </h2>
+ <?php if ( $code ) : ?>
+ <p>
+ <?php
+ printf(
+ /* translators: %s is the name of the error */
+ esc_html__( 'Error code: %s', 'jetpack-publicize-pkg' ),
+ esc_html( stripslashes( $code ) )
+ );
+ ?>
+ </p>
+ <?php endif; ?>
+ </div>
+ </div>
+ <?php
+ }
+
+ /**
+ * Show a message that the connection has been removed.
+ */
+ public function display_disconnected() {
+ echo "<div class='updated'>\n";
+ echo '<p>' . esc_html( __( 'That connection has been removed.', 'jetpack-publicize-pkg' ) ) . "</p>\n";
+ echo "</div>\n\n";
+ }
+
+ /**
+ * If applicable, globalize a connection.
+ *
+ * @param string $connection_id Connection ID.
+ */
+ public function globalization( $connection_id ) {
+ if ( isset( $_REQUEST['global'] ) && 'on' === $_REQUEST['global'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- nonce check happens earlier in the process before we get here
+ if ( ! current_user_can( $this->GLOBAL_CAP ) ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ return;
+ }
+
+ $this->globalize_connection( $connection_id );
+ }
+ }
+
+ /**
+ * Globalize a connection.
+ *
+ * @param string $connection_id Connection ID.
+ */
+ public function globalize_connection( $connection_id ) {
+ $xml = new Jetpack_IXR_Client();
+ $xml->query( 'jetpack.globalizePublicizeConnection', $connection_id, 'globalize' );
+
+ if ( ! $xml->isError() ) {
+ $response = $xml->getResponse();
+ $this->receive_updated_publicize_connections( $response );
+ }
+ }
+
+ /**
+ * Unglobalize a connection.
+ *
+ * @param string $connection_id Connection ID.
+ */
+ public function unglobalize_connection( $connection_id ) {
+ $xml = new Jetpack_IXR_Client();
+ $xml->query( 'jetpack.globalizePublicizeConnection', $connection_id, 'unglobalize' );
+
+ if ( ! $xml->isError() ) {
+ $response = $xml->getResponse();
+ $this->receive_updated_publicize_connections( $response );
+ }
+ }
+
+ /**
+ * As Jetpack updates set the refresh transient to a random amount
+ * in order to spread out updates to the connection data.
+ *
+ * @param string $version The Jetpack version being updated to.
+ */
+ public function init_refresh_transient( $version ) {
+ if ( version_compare( $version, '10.2.1', '>=' ) && ! get_transient( self::CONNECTION_REFRESH_WAIT_TRANSIENT ) ) {
+ $this->set_refresh_wait_transient( wp_rand( 10, HOUR_IN_SECONDS * 24 ) );
+ }
+ }
+
+ /**
+ * Grabs a fresh copy of the publicize connections data.
+ * Only refreshes once every 12 hours or retries after an hour with an error.
+ */
+ public function refresh_connections() {
+ if ( get_transient( self::CONNECTION_REFRESH_WAIT_TRANSIENT ) ) {
+ return;
+ }
+ $xml = new Jetpack_IXR_Client();
+ $xml->query( 'jetpack.fetchPublicizeConnections' );
+ $wait_time = HOUR_IN_SECONDS * 24;
+
+ if ( ! $xml->isError() ) {
+ $response = $xml->getResponse();
+ $this->receive_updated_publicize_connections( $response );
+ } else {
+ // Retry a bit quicker, but still wait.
+ $wait_time = HOUR_IN_SECONDS;
+ }
+
+ $this->set_refresh_wait_transient( $wait_time );
+ }
+
+ /**
+ * Sets the transient to expire at the specified time in seconds.
+ * This prevents us from attempting to refresh the data too often.
+ *
+ * @param int $wait_time The number of seconds before the transient should expire.
+ */
+ public function set_refresh_wait_transient( $wait_time ) {
+ set_transient( self::CONNECTION_REFRESH_WAIT_TRANSIENT, microtime( true ), $wait_time );
+ }
+
+ /**
+ * Get the Publicize connect URL from Keyring.
+ *
+ * @param string $service_name Name of the service to get connect URL for.
+ * @param string $for What the URL is for. Default 'publicize'.
+ * @return string
+ */
+ public function connect_url( $service_name, $for = 'publicize' ) {
+ return Keyring_Helper::connect_url( $service_name, $for );
+ }
+
+ /**
+ * Get the Publicize refresh URL from Keyring.
+ *
+ * @param string $service_name Name of the service to get refresh URL for.
+ * @param string $for What the URL is for. Default 'publicize'.
+ * @return string
+ */
+ public function refresh_url( $service_name, $for = 'publicize' ) {
+ return Keyring_Helper::refresh_url( $service_name, $for );
+ }
+
+ /**
+ * Get the Publicize disconnect URL from Keyring.
+ *
+ * @param string $service_name Name of the service to get disconnect URL for.
+ * @param mixed $id ID of the conenction to disconnect.
+ * @return string
+ */
+ public function disconnect_url( $service_name, $id ) {
+ return Keyring_Helper::disconnect_url( $service_name, $id );
+ }
+
+ /**
+ * Get social networks, either all available or only those that the site is connected to.
+ *
+ * @since 2.0.0
+ * @since 6.6.0 Removed Path. Service closed October 2018.
+ *
+ * @param string $filter Select the list of services that will be returned. Defaults to 'all', accepts 'connected'.
+ * @param false|int $_blog_id Get services for a specific blog by ID, or set to false for current blog. Default false.
+ * @param false|int $_user_id Get services for a specific user by ID, or set to false for current user. Default false.
+ * @return array List of social networks.
+ */
+ public function get_services( $filter = 'all', $_blog_id = false, $_user_id = false ) {
+ $services = array(
+ 'facebook' => array(),
+ 'twitter' => array(),
+ 'linkedin' => array(),
+ 'tumblr' => array(),
+ );
+
+ if ( 'all' === $filter ) {
+ return $services;
+ }
+
+ $connected_services = array();
+ foreach ( $services as $service_name => $empty ) {
+ $connections = $this->get_connections( $service_name, $_blog_id, $_user_id );
+ if ( $connections ) {
+ $connected_services[ $service_name ] = $connections;
+ }
+ }
+ return $connected_services;
+ }
+
+ /**
+ * Get a specific connection. Stub.
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param string $connection_id Connection ID.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @return void
+ */
+ public function get_connection( $service_name, $connection_id, $_blog_id = false, $_user_id = false ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ // Stub.
+ }
+
+ /**
+ * Flag a post for Publicize after publishing.
+ *
+ * @param string $new_status New status of the post.
+ * @param string $old_status Old status of the post.
+ * @param WP_Post $post Post object.
+ */
+ public function flag_post_for_publicize( $new_status, $old_status, $post ) {
+ if ( ! $this->post_type_is_publicizeable( $post->post_type ) ) {
+ return;
+ }
+
+ $should_publicize = $this->should_submit_post_pre_checks( $post );
+
+ if ( 'publish' === $new_status && 'publish' !== $old_status ) {
+ /**
+ * Determines whether a post being published gets publicized.
+ *
+ * Side-note: Possibly our most alliterative filter name.
+ *
+ * @module publicize
+ *
+ * @since 0.1.0 No longer defaults to true. Adds checks to not publicize based on different contexts.
+ * @since 4.1.0
+ *
+ * @param bool $should_publicize Should the post be publicized? Default to true.
+ * @param WP_POST $post Current Post object.
+ */
+ $should_publicize = apply_filters( 'publicize_should_publicize_published_post', $should_publicize, $post );
+
+ if ( $should_publicize ) {
+ update_post_meta( $post->ID, $this->PENDING, true ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ }
+ }
+ }
+
+ /**
+ * Test a connection.
+ *
+ * @param string $service_name Name of the service.
+ * @param array $connection Connection to be tested.
+ */
+ public function test_connection( $service_name, $connection ) {
+ $id = $this->get_connection_id( $connection );
+
+ $xml = new Jetpack_IXR_Client();
+ $xml->query( 'jetpack.testPublicizeConnection', $id );
+
+ // Bail if all is well.
+ if ( ! $xml->isError() ) {
+ return true;
+ }
+
+ $xml_response = $xml->getResponse();
+ $connection_test_message = $xml_response['faultString'];
+
+ // Set up refresh if the user can.
+ $user_can_refresh = current_user_can( $this->GLOBAL_CAP ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ if ( $user_can_refresh ) {
+ /* translators: %s is the name of a social media service */
+ $refresh_text = sprintf( _x( 'Refresh connection with %s', 'Refresh connection with {social media service}', 'jetpack-publicize-pkg' ), $this->get_service_label( $service_name ) );
+ $refresh_url = $this->refresh_url( $service_name );
+ }
+
+ $error_data = array(
+ 'user_can_refresh' => $user_can_refresh,
+ 'refresh_text' => $refresh_text,
+ 'refresh_url' => $refresh_url,
+ );
+
+ return new \WP_Error( 'pub_conn_test_failed', $connection_test_message, $error_data );
+ }
+
+ /**
+ * Checks if post has already been shared by Publicize in the past.
+ *
+ * Jetpack uses two methods:
+ * 1. A POST_DONE . 'all' postmeta flag, or
+ * 2. if the post has already been published.
+ *
+ * @since 6.7.0
+ *
+ * @param integer $post_id Optional. Post ID to query connection status for: will use current post if missing.
+ *
+ * @return bool True if post has already been shared by Publicize, false otherwise.
+ */
+ public function post_is_done_sharing( $post_id = null ) {
+ // Defaults to current post if $post_id is null.
+ $post = get_post( $post_id );
+ if ( $post === null ) {
+ return false;
+ }
+
+ return 'publish' === $post->post_status || get_post_meta( $post->ID, $this->POST_DONE . 'all', true ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ }
+
+ /**
+ * Save a flag locally to indicate that this post has already been Publicized via the selected
+ * connections.
+ *
+ * @param int $post_ID Post ID.
+ * @param \WP_Post $post Post object.
+ */
+ public function save_publicized( $post_ID, $post = null ) {
+ if ( $post === null ) {
+ return;
+ }
+ // Only do this when a post transitions to being published.
+ // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ if ( get_post_meta( $post->ID, $this->PENDING ) && $this->post_type_is_publicizeable( $post->post_type ) ) {
+ delete_post_meta( $post->ID, $this->PENDING );
+ update_post_meta( $post->ID, $this->POST_DONE . 'all', true );
+ }
+ // phpcs:enable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ }
+
+ /**
+ * Set post flags for Publicize.
+ *
+ * @param array $flags List of flags.
+ * @param \WP_Post $post Post object.
+ * @return array
+ */
+ public function set_post_flags( $flags, $post ) {
+ $flags['publicize_post'] = false;
+ if ( ! $this->post_type_is_publicizeable( $post->post_type ) ) {
+ return $flags;
+ }
+
+ $should_publicize = $this->should_submit_post_pre_checks( $post );
+
+ /** This filter is already documented in modules/publicize/publicize-jetpack.php */
+ if ( ! apply_filters( 'publicize_should_publicize_published_post', $should_publicize, $post ) ) {
+ return $flags;
+ }
+
+ $connected_services = $this->get_all_connections();
+
+ if ( empty( $connected_services ) ) {
+ return $flags;
+ }
+
+ $flags['publicize_post'] = true;
+
+ return $flags;
+ }
+
+ /**
+ * Render Facebook options.
+ */
+ public function options_page_facebook() {
+ $connection_name = isset( $_REQUEST['connection'] ) ? filter_var( wp_unslash( $_REQUEST['connection'] ) ) : null;
+
+ // Nonce check.
+ check_admin_referer( 'options_page_facebook_' . $connection_name );
+
+ $connected_services = $this->get_all_connections();
+ $connection = $connected_services['facebook'][ $connection_name ];
+ $options_to_show = ( ! empty( $connection['connection_data']['meta']['options_responses'] ) ? $connection['connection_data']['meta']['options_responses'] : false );
+
+ $pages = ( ! empty( $options_to_show[1]['data'] ) ? $options_to_show[1]['data'] : false );
+
+ $page_selected = false;
+ if ( ! empty( $connection['connection_data']['meta']['facebook_page'] ) ) {
+ $found = false;
+ if ( $pages && isset( $pages->data ) && is_array( $pages->data ) ) {
+ foreach ( $pages->data as $page ) {
+ if ( $page->id === (int) $connection['connection_data']['meta']['facebook_page'] ) {
+ $found = true;
+ break;
+ }
+ }
+ }
+
+ if ( $found ) {
+ $page_selected = $connection['connection_data']['meta']['facebook_page'];
+ }
+ }
+
+ ?>
+
+ <div id="thickbox-content">
+ <?php
+ ob_start();
+ Publicize_UI::connected_notice( 'Facebook' );
+ $update_notice = ob_get_clean();
+
+ if ( ! empty( $update_notice ) ) {
+ echo wp_kses_post( $update_notice );
+ }
+ $page_info_message = sprintf(
+ wp_kses(
+ /* translators: %s is the link to the support page about using Facebook with Publicize */
+ __( 'Facebook supports Publicize connections to Facebook Pages, but not to Facebook Profiles. <a href="%s">Learn More about Publicize for Facebook</a>', 'jetpack-publicize-pkg' ),
+ array( 'a' => array( 'href' ) )
+ ),
+ esc_url( Redirect::get_url( 'jetpack-support-publicize-facebook' ) )
+ );
+
+ if ( $pages ) :
+ ?>
+ <p>
+ <?php
+ echo wp_kses(
+ __( 'Publicize to my <strong>Facebook Page</strong>:', 'jetpack-publicize-pkg' ),
+ array( 'strong' )
+ );
+ ?>
+ </p>
+ <table id="option-fb-fanpage">
+ <tbody>
+
+ <?php foreach ( $pages as $i => $page ) : ?>
+ <?php if ( ! ( $i % 2 ) ) : ?>
+ <tr>
+ <?php endif; ?>
+ <td class="radio">
+ <input
+ type="radio"
+ name="option"
+ data-type="page"
+ id="<?php echo esc_attr( $page['id'] ); ?>"
+ value="<?php echo esc_attr( $page['id'] ); ?>"
+ <?php checked( $page_selected && (int) $page_selected === (int) $page['id'], true ); ?> />
+ </td>
+ <td class="thumbnail"><label for="<?php echo esc_attr( $page['id'] ); ?>"><img
+ src="<?php echo esc_url( str_replace( '_s', '_q', $page['picture']['data']['url'] ) ); ?>"
+ width="50" height="50"/></label></td>
+ <td class="details">
+ <label for="<?php echo esc_attr( $page['id'] ); ?>">
+ <span class="name"><?php echo esc_html( $page['name'] ); ?></span><br/>
+ <span class="category"><?php echo esc_html( $page['category'] ); ?></span>
+ </label>
+ </td>
+ <?php if ( ( $i % 2 ) || ( count( $pages ) - 1 === $i ) ) : ?>
+ </tr>
+ <?php endif; ?>
+ <?php endforeach; ?>
+
+ </tbody>
+ </table>
+
+ <?php Publicize_UI::global_checkbox( 'facebook', $connection_name ); ?>
+ <p style="text-align: center;">
+ <input type="submit" value="<?php esc_attr_e( 'OK', 'jetpack-publicize-pkg' ); ?>"
+ class="button fb-options save-options" name="save"
+ data-connection="<?php echo esc_attr( $connection_name ); ?>"
+ rel="<?php echo esc_attr( wp_create_nonce( 'save_fb_token_' . $connection_name ) ); ?>"/>
+ </p><br/>
+ <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
+ <p><?php echo $page_info_message; ?></p>
+ <?php else : ?>
+ <div>
+ <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
+ <p><?php echo $page_info_message; ?></p>
+ <p>
+ <?php
+ echo wp_kses(
+ sprintf(
+ /* translators: %1$s is the link to Facebook documentation to create a page, %2$s is the target of the link */
+ __( '<a class="button" href="%1$s" target="%2$s">Create a Facebook page</a> to get started.', 'jetpack-publicize-pkg' ),
+ 'https://www.facebook.com/pages/creation/',
+ '_blank noopener noreferrer'
+ ),
+ array( 'a' => array( 'class', 'href', 'target' ) )
+ );
+ ?>
+ </p>
+ </div>
+ <?php endif; ?>
+ </div>
+ <?php
+ }
+
+ /**
+ * Save Facebook options.
+ */
+ public function options_save_facebook() {
+ $connection_name = isset( $_REQUEST['connection'] ) ? filter_var( wp_unslash( $_REQUEST['connection'] ) ) : null;
+
+ // Nonce check.
+ check_admin_referer( 'save_fb_token_' . $connection_name );
+
+ if ( ! isset( $_POST['type'] ) || 'page' !== $_POST['type'] || ! isset( $_POST['selected_id'] ) ) {
+ return;
+ }
+
+ // Check for a numeric page ID.
+ $page_id = $_POST['selected_id']; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- Manually validated just below
+ if ( ! ctype_digit( $page_id ) ) {
+ die( 'Security check' );
+ }
+
+ // Publish to Page.
+ $options = array(
+ 'facebook_page' => $page_id,
+ 'facebook_profile' => null,
+ );
+
+ $this->set_remote_publicize_options( $connection_name, $options );
+ }
+
+ /**
+ * Render Tumblr options.
+ */
+ public function options_page_tumblr() {
+ $connection_name = isset( $_REQUEST['connection'] ) ? filter_var( wp_unslash( $_REQUEST['connection'] ) ) : null;
+
+ // Nonce check.
+ check_admin_referer( 'options_page_tumblr_' . $connection_name );
+
+ $connected_services = $this->get_all_connections();
+ $connection = $connected_services['tumblr'][ $connection_name ];
+ $options_to_show = $connection['connection_data']['meta']['options_responses'];
+ $request = $options_to_show[0];
+
+ $blogs = $request['response']['user']['blogs'];
+
+ $blog_selected = false;
+
+ if ( ! empty( $connection['connection_data']['meta']['tumblr_base_hostname'] ) ) {
+ foreach ( $blogs as $blog ) {
+ if ( $connection['connection_data']['meta']['tumblr_base_hostname'] === $this->get_basehostname( $blog['url'] ) ) {
+ $blog_selected = $connection['connection_data']['meta']['tumblr_base_hostname'];
+ break;
+ }
+ }
+ }
+
+ // Use their Primary blog if they haven't selected one yet.
+ if ( ! $blog_selected ) {
+ foreach ( $blogs as $blog ) {
+ if ( $blog['primary'] ) {
+ $blog_selected = $this->get_basehostname( $blog['url'] );
+ }
+ }
+ }
+ ?>
+
+ <div id="thickbox-content">
+
+ <?php
+ ob_start();
+ Publicize_UI::connected_notice( 'Tumblr' );
+ $update_notice = ob_get_clean();
+
+ if ( ! empty( $update_notice ) ) {
+ echo wp_kses_post( $update_notice );
+ }
+ ?>
+
+ <p><?php echo wp_kses( __( 'Publicize to my <strong>Tumblr blog</strong>:', 'jetpack-publicize-pkg' ), array( 'strong' ) ); ?></p>
+
+ <ul id="option-tumblr-blog">
+
+ <?php
+ foreach ( $blogs as $blog ) {
+ $url = $this->get_basehostname( $blog['url'] );
+ ?>
+ <li>
+ <input type="radio" name="option" data-type="blog" id="<?php echo esc_attr( $url ); ?>"
+ value="<?php echo esc_attr( $url ); ?>" <?php checked( $blog_selected === $url, true ); ?> />
+ <label for="<?php echo esc_attr( $url ); ?>"><span
+ class="name"><?php echo esc_html( $blog['title'] ); ?></span></label>
+ </li>
+ <?php } ?>
+
+ </ul>
+
+ <?php Publicize_UI::global_checkbox( 'tumblr', $connection_name ); ?>
+
+ <p style="text-align: center;">
+ <input type="submit" value="<?php esc_attr_e( 'OK', 'jetpack-publicize-pkg' ); ?>"
+ class="button tumblr-options save-options" name="save"
+ data-connection="<?php echo esc_attr( $connection_name ); ?>"
+ rel="<?php echo esc_attr( wp_create_nonce( 'save_tumblr_blog_' . $connection_name ) ); ?>"/>
+ </p> <br/>
+ </div>
+
+ <?php
+ }
+
+ /**
+ * Get the hostname from a URL.
+ *
+ * @param string $url The URL to extract the hostname from.
+ * @return string|false|null
+ */
+ public function get_basehostname( $url ) {
+ return wp_parse_url( $url, PHP_URL_HOST );
+ }
+
+ /**
+ * Save Tumblr options.
+ */
+ public function options_save_tumblr() {
+ $connection_name = isset( $_POST['connection'] ) ? filter_var( wp_unslash( $_POST['connection'] ) ) : null;
+
+ // Nonce check.
+ check_admin_referer( 'save_tumblr_blog_' . $connection_name );
+ $options = array( 'tumblr_base_hostname' => isset( $_POST['selected_id'] ) ? sanitize_text_field( wp_unslash( $_POST['selected_id'] ) ) : null );
+
+ $this->set_remote_publicize_options( $connection_name, $options );
+
+ }
+
+ /**
+ * Set remote Publicize options.
+ *
+ * @param int $id Connection ID.
+ * @param array $options Options to set.
+ */
+ public function set_remote_publicize_options( $id, $options ) {
+ $xml = new Jetpack_IXR_Client();
+ $xml->query( 'jetpack.setPublicizeOptions', $id, $options );
+
+ if ( ! $xml->isError() ) {
+ $response = $xml->getResponse();
+ Jetpack_Options::update_option( 'publicize_connections', $response );
+ $this->globalization( $id );
+ }
+ }
+
+ /**
+ * Render the options page for Twitter.
+ */
+ public function options_page_twitter() {
+ Publicize_UI::options_page_other( 'twitter' );
+ }
+
+ /**
+ * Render the options page for LinkedIn.
+ */
+ public function options_page_linkedin() {
+ Publicize_UI::options_page_other( 'linkedin' );
+ }
+
+ /**
+ * Save the options page for Twitter.
+ */
+ public function options_save_twitter() {
+ $this->options_save_other( 'twitter' );
+ }
+
+ /**
+ * Save the options page for LinkedIn.
+ */
+ public function options_save_linkedin() {
+ $this->options_save_other( 'linkedin' );
+ }
+
+ /**
+ * Save the options page for a service.
+ *
+ * @param string $service_name Name of the service to save options for.
+ */
+ public function options_save_other( $service_name ) {
+ $connection_name = isset( $_REQUEST['connection'] ) ? filter_var( wp_unslash( $_REQUEST['connection'] ) ) : '';
+
+ // Nonce check.
+ check_admin_referer( 'save_' . $service_name . '_token_' . $connection_name );
+
+ $this->globalization( $connection_name );
+ }
+
+ /**
+ * If there's only one shared connection to Twitter set it as twitter:site tag.
+ *
+ * @param string $tag Tag.
+ */
+ public function enhaced_twitter_cards_site_tag( $tag ) {
+ $custom_site_tag = get_option( 'jetpack-twitter-cards-site-tag' );
+ if ( ! empty( $custom_site_tag ) ) {
+ return $tag;
+ }
+ if ( ! $this->is_enabled( 'twitter' ) ) {
+ return $tag;
+ }
+ $connections = $this->get_connections( 'twitter' );
+ foreach ( $connections as $connection ) {
+ $connection_meta = $this->get_connection_meta( $connection );
+ if ( $this->is_global_connection( $connection_meta ) ) {
+ // If the connection is shared.
+ return $this->get_display_name( 'twitter', $connection );
+ }
+ }
+
+ return $tag;
+ }
+
+ /**
+ * Save the Publicized Twitter account when publishing a post.
+ *
+ * @param bool $submit_post Should the post be publicized.
+ * @param int $post_id Post ID.
+ * @param string $service_name Service name.
+ * @param array $connection Array of connection details.
+ */
+ public function save_publicized_twitter_account( $submit_post, $post_id, $service_name, $connection ) {
+ if ( 'twitter' === $service_name && $submit_post ) {
+ $connection_meta = $this->get_connection_meta( $connection );
+ $publicize_twitter_user = get_post_meta( $post_id, '_publicize_twitter_user' );
+ if ( empty( $publicize_twitter_user ) || ! $this->is_global_connection( $connection_meta ) ) {
+ update_post_meta( $post_id, '_publicize_twitter_user', $this->get_display_name( 'twitter', $connection ) );
+ }
+ }
+ }
+
+ /**
+ * Get the Twitter username.
+ *
+ * @param string $account Twitter username.
+ * @param int $post_id ID of the post.
+ * @return string
+ */
+ public function get_publicized_twitter_account( $account, $post_id ) {
+ if ( ! empty( $account ) ) {
+ return $account;
+ }
+ $account = get_post_meta( $post_id, '_publicize_twitter_user', true );
+ if ( ! empty( $account ) ) {
+ return $account;
+ }
+
+ return '';
+ }
+
+ /**
+ * Save the Publicized Facebook account when publishing a post
+ * Use only Personal accounts, not Facebook Pages
+ *
+ * @param bool $submit_post Should the post be publicized.
+ * @param int $post_id Post ID.
+ * @param string $service_name Service name.
+ * @param array $connection Array of connection details.
+ */
+ public function save_publicized_facebook_account( $submit_post, $post_id, $service_name, $connection ) {
+ $connection_meta = $this->get_connection_meta( $connection );
+ if ( 'facebook' === $service_name && isset( $connection_meta['connection_data']['meta']['facebook_profile'] ) && $submit_post ) {
+ $publicize_facebook_user = get_post_meta( $post_id, '_publicize_facebook_user' );
+ if ( empty( $publicize_facebook_user ) || ! $this->is_global_connection( $connection_meta ) ) {
+ $profile_link = $this->get_profile_link( 'facebook', $connection );
+
+ if ( false !== $profile_link ) {
+ update_post_meta( $post_id, '_publicize_facebook_user', $profile_link );
+ }
+ }
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-rest-controller.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-rest-controller.php
new file mode 100644
index 00000000..68f19540
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-rest-controller.php
@@ -0,0 +1,115 @@
+<?php
+/**
+ * The Publicize Rest Controller class.
+ * Registers the REST routes for Publicize.
+ *
+ * @package automattic/jetpack-publicize
+ */
+
+namespace Automattic\Jetpack\Publicize;
+
+use Automattic\Jetpack\Connection\Client;
+use Jetpack_Options;
+use WP_Error;
+use WP_REST_Server;
+
+/**
+ * Registers the REST routes for Search.
+ */
+class REST_Controller {
+ /**
+ * Whether it's run on WPCOM.
+ *
+ * @var bool
+ */
+ protected $is_wpcom;
+
+ /**
+ * Constructor
+ *
+ * @param bool $is_wpcom - Whether it's run on WPCOM.
+ */
+ public function __construct( $is_wpcom = false ) {
+ $this->is_wpcom = $is_wpcom;
+
+ }
+
+ /**
+ * Registers the REST routes for Search.
+ *
+ * @access public
+ * @static
+ */
+ public function register_rest_routes() {
+ register_rest_route(
+ 'jetpack/v4',
+ '/publicize/connections',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => array( $this, 'get_publicize_connections' ),
+ 'permission_callback' => array( $this, 'require_admin_privilege_callback' ),
+ )
+ );
+ }
+
+ /**
+ * Only administrators can access the API.
+ *
+ * @return bool|WP_Error True if a blog token was used to sign the request, WP_Error otherwise.
+ */
+ public function require_admin_privilege_callback() {
+ if ( current_user_can( 'manage_options' ) ) {
+ return true;
+ }
+
+ $error_msg = esc_html__(
+ 'You are not allowed to perform this action.',
+ 'jetpack-publicize-pkg'
+ );
+
+ return new WP_Error( 'rest_forbidden', $error_msg, array( 'status' => rest_authorization_required_code() ) );
+ }
+
+ /**
+ * Gets the current Publicize connections for the site.
+ *
+ * GET `jetpack/v4/publicize/connections`
+ */
+ public function get_publicize_connections() {
+ $blog_id = $this->get_blog_id();
+ $path = sprintf( '/sites/%d/publicize/connections', absint( $blog_id ) );
+ $response = Client::wpcom_json_api_request_as_user( $path, '2', array(), null, 'wpcom' );
+ return rest_ensure_response( $this->make_proper_response( $response ) );
+ }
+
+ /**
+ * Forward remote response to client with error handling.
+ *
+ * @param array|WP_Error $response - Response from WPCOM.
+ */
+ protected function make_proper_response( $response ) {
+ if ( is_wp_error( $response ) ) {
+ return $response;
+ }
+
+ $body = json_decode( wp_remote_retrieve_body( $response ), true );
+ $status_code = wp_remote_retrieve_response_code( $response );
+
+ if ( 200 === $status_code ) {
+ return $body;
+ }
+
+ return new WP_Error(
+ isset( $body['error'] ) ? 'remote-error-' . $body['error'] : 'remote-error',
+ isset( $body['message'] ) ? $body['message'] : 'unknown remote error',
+ array( 'status' => $status_code )
+ );
+ }
+
+ /**
+ * Get blog id
+ */
+ protected function get_blog_id() {
+ return $this->is_wpcom ? get_current_blog_id() : Jetpack_Options::get_option( 'id' );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-redirect/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-redirect/CHANGELOG.md
index 5af72f2d..f12ba0e5 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-redirect/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-redirect/CHANGELOG.md
@@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.7.15] - 2022-05-10
+
+## [1.7.14] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.7.13] - 2022-04-05
+### Changed
+- Updated package dependencies.
+
+## [1.7.12] - 2022-03-02
+### Changed
+- Updated package dependencies.
+
+## [1.7.11] - 2022-02-22
+### Changed
+- Updated package dependencies.
+
+## [1.7.10] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
## [1.7.9] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -118,6 +140,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Create Jetpack Redirect package
+[1.7.15]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.14...v1.7.15
+[1.7.14]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.13...v1.7.14
+[1.7.13]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.12...v1.7.13
+[1.7.12]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.11...v1.7.12
+[1.7.11]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.10...v1.7.11
+[1.7.10]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.9...v1.7.10
[1.7.9]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.8...v1.7.9
[1.7.8]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.7...v1.7.8
[1.7.7]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.6...v1.7.7
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-roles/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-roles/CHANGELOG.md
index 86d4e90e..cd81100e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-roles/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-roles/CHANGELOG.md
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.4.15] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.4.14] - 2022-01-25
+### Changed
+- Updated package dependencies.
+
## [1.4.13] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -107,6 +115,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Jetpack DNA: Introduce a Roles package
+[1.4.15]: https://github.com/Automattic/jetpack-roles/compare/v1.4.14...v1.4.15
+[1.4.14]: https://github.com/Automattic/jetpack-roles/compare/v1.4.13...v1.4.14
[1.4.13]: https://github.com/Automattic/jetpack-roles/compare/v1.4.12...v1.4.13
[1.4.12]: https://github.com/Automattic/jetpack-roles/compare/v1.4.11...v1.4.12
[1.4.11]: https://github.com/Automattic/jetpack-roles/compare/v1.4.10...v1.4.11
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/CHANGELOG.md
index 90de0b6a..af8e45d5 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/CHANGELOG.md
@@ -5,6 +5,266 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [0.14.2] - 2022-05-30
+### Changed
+- Updated package dependencies
+- Updated package dependencies.
+- Use the Checkout workflow to establish the connection and make the purchase
+
+### Fixed
+- Avoid filter from being added multiple times
+
+## [0.14.1] - 2022-05-24
+### Added
+- Allow plugins to filter the list of available modules. Only activate and consider active modules that are available [#24454]
+
+### Changed
+- Search: Use Modules methods for activating and deactivating the Search module. [#24385]
+- Updated package dependencies. [#24449]
+
+## [0.14.0] - 2022-05-19
+### Removed
+- Search: Disable auto-collapsing the wp-admin sidebar within Customberg [#24399]
+
+## [0.13.4] - 2022-05-18
+### Changed
+- Adjust translatable string [#24357]
+- Record Meter: switch noticebox persistence storage from localStorage to sessionStorage [#24348]
+- Record Meter design updates [#24225]
+- Search package: search dashboard refactoring [#24266]
+- Updated package dependencies. [#23795] [#24153] [#24306] [#24372]
+
+## [0.13.3] - 2022-05-10
+### Added
+- Add missing JS dep on `core-js`. [#24288]
+
+### Changed
+- Search: refactored Settings to expose the settings array for sync [#24167]
+- Updated package dependencies. [#24189]
+- Updated package dependencies. [#24204]
+- Updated package dependencies. [#24302]
+- Updated package dependencies [#24276]
+- Updated package dependencies [#24296]
+- Updated package dependencies [#24301]
+
+### Fixed
+- Search: Fix left padding for upsell page [#24285]
+- Search: handle tiers without a record limit in Record Meter [#24264]
+
+## [0.13.2] - 2022-05-04
+### Added
+- Add missing JavaScript dependencies. [#24096]
+
+### Changed
+- Remove use of `pnpx` in preparation for pnpm 7.0. [#24210]
+- Updated package dependencies. [#24095] [#24230] [#24198] [#24228]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+### Fixed
+- Adapt Record Meter to change in API response format [#24107]
+- Search: Bundle vendor assets within the main chunk [#24068]
+- Search: Fix search for private WoA sites [#24099]
+- Search: reset border-radius for search buttons [#24100]
+
+## [0.13.1] - 2022-04-26
+### Added
+- Search: added upsell page
+
+### Changed
+- Updated package dependencies.
+- Update package.json metadata.
+
+## [0.13.0] - 2022-04-19
+### Added
+- Search: add class to retrieve search product information
+- Search: Add count estimation function
+- Search: added API support for search product tier pricing
+
+### Changed
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+- Record meter: updates noticeboxes to be dismissable & styled
+- Search Record Meter updates formatting
+- Use new shared Gridicons component and shared Modules library
+
+## [0.12.3] - 2022-04-12
+### Added
+- Added deprecated methods as a safety.
+
+### Changed
+- Updated package dependencies.
+
+### Fixed
+- Search: auto config no longer overrides option if it exists.
+
+## [0.12.2] - 2022-04-06
+### Added
+- Adds API data to record meter chart.
+
+### Changed
+- Janitorial: Refactor classes into shared package.
+- Updated package dependencies.
+
+### Removed
+- Removed tracking dependency.
+
+### Fixed
+- Search: allow Search submenu to be added only once
+
+## [0.12.1] - 2022-03-31
+### Fixed
+- Search: fixed search submenu is shown because compatibility file is loaded too late.
+
+## [0.12.0] - 2022-03-29
+### Added
+- Add selector for retrieving last indexed date
+- Adds notice box component to record meter
+- Search: Migrated tests from Jetpack plugin
+
+### Changed
+- Microperformance: Use === null instead of is_null
+- Search: connection states
+- Updated package dependencies
+
+### Fixed
+- Fixed lints found after fixing ESLint config
+- Search: address feeback for #23477
+- Search: move Jetpack plugin compatibility to the package
+
+## [0.11.3] - 2022-03-24
+### Added
+- Search: adds a record count above the record meter chart.
+
+### Fixed
+- Deactivation: Do not attempt to redirect on a behind-the-scene deactivation.
+
+## [0.11.2] - 2022-03-23
+### Added
+- adds basic structure for record meter with dummy data
+
+### Changed
+- Centralized all intializing logic
+- Search dashboard: changed condition to always show dashboard submenu
+- Updated package dependencies
+- Use Migrated GlotPress locale classes from compat pkg.
+
+### Fixed
+- Search: fixed cli and package version reporting broken in #23435
+
+## [0.11.1] - 2022-03-15
+### Changed
+- Fixed minor product defects
+- Search: moved globals to a class for sake of autoloading correctly
+- Search package: Updated Gridicon dependancy to use local version
+- Updated package dependencies.
+
+## [0.11.0] - 2022-03-08
+### Changed
+- Components: update attributes used within the Button component to match recent deprecations and changes.
+- Move customizer integration into search package
+- search: move record meter location on dashboard
+
+### Fixed
+- Ensure that WP CLI is present before extending the class.
+- Ensure the Customizer classes are loaded.
+
+## [0.10.0] - 2022-03-02
+### Added
+- Search: add chart.js package to dependencies
+- Search: fetch search stats endpoint in wp-admin dashboard
+
+### Changed
+- Search: Renamed Customberg class file name
+- Updated package dependencies.
+
+### Fixed
+- Fix various notices shown for Customberg
+- Search package: i18n support for auto added search block label and button
+
+## [0.9.1] - 2022-02-25
+### Fixed
+- Search: Fixed a regression that prevented modal from being spawned by link clicks
+
+## [0.9.0] - 2022-02-22
+### Added
+- Bump package versions.
+- Search: add stats endpoint to REST controller
+
+### Changed
+- Search package: refactor `auto_config_search` and run it from activation API
+
+### Fixed
+- Search package: fix auto config doesn't add search input for block themes
+
+## [0.8.0] - 2022-02-16
+### Added
+- Add babel/runtime to dev dependencies
+- Add tier maximum records for Record Meter
+- Clicking outside overlay now closes overlay
+
+### Changed
+- Change `instance` function for improved compatibility
+- Updated package dependencies.
+
+### Fixed
+- Form: avoid React warning.
+- Improve display of colorpicker in Customberg
+- Fixed undefined index features
+- Should not exclude widget js in package distribution
+
+## [0.7.0] - 2022-02-09
+### Added
+- Search Dashboard: add scaffolding for new record meter
+- Search package: added auto config CLI
+
+### Changed
+- Search: move search widgets to package
+- Updated package dependencies
+
+## [0.6.0] - 2022-02-02
+### Added
+- Add `@use "sass:math"` in base styles scss for upcoming `@wordpress/block-editor` 8.1.0 requirement.
+- Search package: added package version number and others
+
+### Changed
+- Build: remove unneeded files from production build.
+- Instant Search: add image alt text from API
+- Updated package dependencies.
+
+## [0.5.4] - 2022-01-31
+### Fixed
+- Search: Fetch plan info as blog, not as user, to allow nonconnected admins to use dashboard
+
+## [0.5.3] - 2022-01-27
+### Fixed
+- Search package: fixed compatibility issue with plan activation
+
+## [0.5.2] - 2022-01-25
+### Added
+- Added a watch command for building assets
+- Search E2E: added class names for some form components for easier E2E tests
+
+### Changed
+- Search: Improve accessibility via headings hierarchy and aria roles
+- Updated package dependencies.
+
+### Fixed
+- Search widget: changed fetching search result to just before rendering jp search widget
+
+## [0.5.1] - 2022-01-18
+### Changed
+- General: update required node version to v16.13.2
+
+## [0.5.0] - 2022-01-11
+### Added
+- Search: Migrated Classic and Instant Search code from Jetpack plugin.
+- Search API: activation and deactivation API.
+
+### Changed
+- Search: moved search dashboard to the package.
+- Updated package dependencies.
+
## [0.4.0] - 2022-01-04
### Changed
- Do not escape widget title value
@@ -45,6 +305,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated package dependencies.
- Update PHPUnit configs to include just what needs coverage rather than include everything then try to exclude stuff that doesn't.
+[0.14.2]: https://github.com/Automattic/jetpack-search/compare/v0.14.1...v0.14.2
+[0.14.1]: https://github.com/Automattic/jetpack-search/compare/v0.14.0...v0.14.1
+[0.14.0]: https://github.com/Automattic/jetpack-search/compare/v0.13.4...v0.14.0
+[0.13.4]: https://github.com/Automattic/jetpack-search/compare/v0.13.3...v0.13.4
+[0.13.3]: https://github.com/Automattic/jetpack-search/compare/v0.13.2...v0.13.3
+[0.13.2]: https://github.com/Automattic/jetpack-search/compare/v0.13.1...v0.13.2
+[0.13.1]: https://github.com/Automattic/jetpack-search/compare/v0.13.0...v0.13.1
+[0.13.0]: https://github.com/Automattic/jetpack-search/compare/v0.12.3...v0.13.0
+[0.12.3]: https://github.com/Automattic/jetpack-search/compare/v0.12.2...v0.12.3
+[0.12.2]: https://github.com/Automattic/jetpack-search/compare/v0.12.1...v0.12.2
+[0.12.1]: https://github.com/Automattic/jetpack-search/compare/v0.12.0...v0.12.1
+[0.12.0]: https://github.com/Automattic/jetpack-search/compare/v0.11.3...v0.12.0
+[0.11.3]: https://github.com/Automattic/jetpack-search/compare/v0.11.2...v0.11.3
+[0.11.2]: https://github.com/Automattic/jetpack-search/compare/v0.11.1...v0.11.2
+[0.11.1]: https://github.com/Automattic/jetpack-search/compare/v0.11.0...v0.11.1
+[0.11.0]: https://github.com/Automattic/jetpack-search/compare/v0.10.0...v0.11.0
+[0.10.0]: https://github.com/Automattic/jetpack-search/compare/v0.9.1...v0.10.0
+[0.9.1]: https://github.com/Automattic/jetpack-search/compare/v0.9.0...v0.9.1
+[0.9.0]: https://github.com/Automattic/jetpack-search/compare/v0.8.0...v0.9.0
+[0.8.0]: https://github.com/Automattic/jetpack-search/compare/v0.7.0...v0.8.0
+[0.7.0]: https://github.com/Automattic/jetpack-search/compare/v0.6.0...v0.7.0
+[0.6.0]: https://github.com/Automattic/jetpack-search/compare/v0.5.4...v0.6.0
+[0.5.4]: https://github.com/Automattic/jetpack-search/compare/v0.5.3...v0.5.4
+[0.5.3]: https://github.com/Automattic/jetpack-search/compare/v0.5.2...v0.5.3
+[0.5.2]: https://github.com/Automattic/jetpack-search/compare/v0.5.1...v0.5.2
+[0.5.1]: https://github.com/Automattic/jetpack-search/compare/v0.5.0...v0.5.1
+[0.5.0]: https://github.com/Automattic/jetpack-search/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/Automattic/jetpack-search/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/Automattic/jetpack-search/compare/v0.2.1...v0.3.0
[0.2.1]: https://github.com/Automattic/jetpack-search/compare/v0.2.0...v0.2.1
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.asset.php
index 536c4cbd..cda564d7 100644
--- a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.asset.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-block-editor', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '1c8685eb594ea87b0560cda907fc2973'); \ No newline at end of file
+<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-block-editor', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '08e18f5ecdca33e1bc4d');
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.css
new file mode 100644
index 00000000..d1889d05
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.css
@@ -0,0 +1 @@
+.jetpack-instant-search__overlay{background:rgba(29,35,39,.7);bottom:0;box-sizing:border-box;color:#00101c;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transition:opacity .1s ease-in;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay.is-hidden{background:transparent;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}.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)}.jetpack-instant-search__notice{font-size:14px;margin:1em 0;padding:.75em}.jetpack-instant-search__notice.jetpack-instant-search__notice--warning{background-color:#f5e6b3;color:#4f3500}.jetpack-instant-search__notice .gridicon{margin-right:.5em;margin-top:-5px;vertical-align:middle}.jetpack-instant-search__scroll-button{border:0;box-shadow:none;font-size:13px;outline:0}.jetpack-instant-search__search-sort{align-items:center;display:flex}.jetpack-instant-search__search-sort>label[for=jetpack-instant-search__search-sort-select]{flex-shrink:0;font-size:1em;font-weight:700;margin:0 .25em 0 0}.jetpack-instant-search__search-sort-with-links{font-size:13px}@media(max-width:575.98px){.jetpack-instant-search__search-sort-with-select{margin-right:1em;width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-sort-with-select{margin-right:0}}@media(min-width:992px){.jetpack-instant-search__search-sort-with-select{margin-top:-4px}}#jetpack-instant-search__search-sort-select{-webkit-appearance:auto;appearance:auto;background:#fff;border:1px solid #e6f1f5;border-radius:5px;color:#00101c;font-size:1em;height:inherit;padding:.25em}@media(max-width:575.98px){#jetpack-instant-search__search-sort-select{padding:.5em;width:100%}}.jetpack-instant-search__search-sort-option{color:#646970;cursor:pointer;padding:0 2px;text-decoration:none}.jetpack-instant-search__search-sort-option:after{color:#646970;content:"·";font-weight:400;padding-left:5px}.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:focus,.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:hover{text-decoration:none}.jetpack-instant-search__search-sort-option:last-child:after{content:""}.jetpack-instant-search__search-sort-option.is-selected{color:#044b7a;font-weight:600;text-decoration:none}.jetpack-instant-search__search-form-controls{align-items:center;display:flex;line-height:1.3;margin-left:56px;margin-right:56px;margin-top:16px;z-index:1}@media(max-width:991.98px){.jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:767.98px){.jetpack-instant-search__search-form-controls{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-form-controls{position:absolute;right:320px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{position:absolute;right:320px}}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-form-controls{right:0}.jetpack-instant-search__box{border-bottom:1px solid #e6f1f5;border-right:1px solid #e6f1f5}.jetpack-instant-search__box-label{align-items:center;display:flex;flex:0 0 100%;margin:0}input.jetpack-instant-search__box-input.search-field{-webkit-appearance:none;appearance:none;background:#fff;border:0;box-shadow:none;color:#3c434a;font-size:18px;height:60px;line-height:1;margin:0;max-width:none;padding:0 14px;text-indent:32px;vertical-align:middle}input.jetpack-instant-search__box-input.search-field:focus,input.jetpack-instant-search__box-input.search-field:hover{background:#fff;color:#00101c}input.jetpack-instant-search__box-input.search-field.search-field{letter-spacing:-.02em;padding-left:0;text-indent:0}.jetpack-instant-search__box-gridicon{align-items:center;display:flex;flex-shrink:0;height:60px;justify-content:center;left:0;position:relative;top:0;width:60px;z-index:1}.jetpack-instant-search__box-gridicon svg{fill:#646970}.jetpack-instant-search__box input[type=button]{word-wrap:normal;border:none;border-radius:0;color:#646970;cursor:pointer;font-size:1em;font-weight:400;height:60px;line-height:1;margin:0 .25em 0 0;padding:0;text-decoration:none;text-shadow:none;text-transform:none;transition:all .1s linear;width:60px}.jetpack-instant-search__box input[type=button],.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{color:#3c434a}.jetpack-instant-search__box input[type=button]:focus{outline:1px dotted}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input{border:none;box-shadow:none;height:52px;outline-style:none;transition:color .15s ease-in-out,border-color .25s ease-in-out;width:100%}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:focus,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:hover{border:none;box-shadow:none;outline-style:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-button,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-decoration{appearance:none;-webkit-appearance:none;display:initial}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-cancel-button{display:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-clear,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-reveal{display:none}.jetpack-instant-search__path-breadcrumb{font-size:.9em;margin:0;max-width:calc(100vw - 2em);overflow-x:hidden;text-overflow:ellipsis}.jetpack-instant-search__path-breadcrumb-link{max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jetpack-instant-search__path-breadcrumb-link:focus,.jetpack-instant-search__path-breadcrumb-link:hover{text-decoration:underline}.jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__path-breadcrumb-link{color:#3c434a}.jetpack-instant-search__search-result-comments{border-left:2px solid #f0f0f1;font-size:.9em;margin-left:8px;margin-top:16px;padding-left:16px;word-break:break-word}.jetpack-instant-search__search-result-comments .gridicon{margin-right:8px;vertical-align:middle}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title{margin-bottom:.4em}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title .gridicon{margin-right:8px}.jetpack-instant-search__search-result-minimal-cats-and-tags{display:flex;flex-flow:row wrap;font-size:.9375em}.jetpack-instant-search__search-result-minimal-cats,.jetpack-instant-search__search-result-minimal-tags{display:flex;flex-flow:row wrap;list-style-type:none;margin:0;padding:0}.jetpack-instant-search__search-result-minimal-cat,.jetpack-instant-search__search-result-minimal-tag{margin:0 .75em 0 0}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag .gridicon{margin-right:.25em}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-cat-text,.jetpack-instant-search__search-result-minimal-tag .gridicon,.jetpack-instant-search__search-result-minimal-tag-text{vertical-align:middle}.jetpack-instant-search__search-result-minimal-content{word-break:break-word}.jetpack-instant-search__search-result-expanded{display:flex;flex-flow:column}.jetpack-instant-search__search-result-expanded:last-child{margin-right:0}.jetpack-instant-search__search-result-expanded .jetpack-instant-search__search-result-expanded__title{width:100%}.jetpack-instant-search__search-result-expanded__path{color:#646970;font-size:.9375em;margin:0 0 .4em}.jetpack-instant-search__search-result-expanded__copy-container{max-width:100%}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__copy-container{width:calc(100% - 128px - 1em)}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__copy-container{width:auto}.jetpack-instant-search__search-result-expanded__content{color:#00101c;font-size:.9375em}.jetpack-instant-search__search-result-expanded__image-link{margin-left:1em}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-link{margin:0 auto .5em;order:-1}}.jetpack-instant-search__search-result-expanded__image-container{width:128px}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-container{width:256px}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__image-container{display:none}.jetpack-instant-search__search-result-expanded__image-container{position:relative}.jetpack-instant-search__search-result-expanded__image-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-expanded__image{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-expanded__content-container{display:flex;flex-flow:column}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__content-container{flex-flow:row nowrap}}.jetpack-instant-search__search-result-expanded__footer{display:flex;list-style-type:none;margin-left:0;margin-top:10px;padding-left:0}.jetpack-instant-search__search-result-expanded__footer li{margin-right:10px}.jetpack-instant-search__search-result-expanded__footer-blog-image{border-radius:2px;margin-right:3px;vertical-align:middle}.jetpack-instant-search__search-result-expanded__footer-blog{font-size:13px;font-style:normal;font-weight:600;line-height:180%}.jetpack-instant-search__search-result-expanded__footer-author:after,.jetpack-instant-search__search-result-expanded__footer-blog:after{color:#636363;content:"·";margin-left:10px}.jetpack-instant-search__search-result-expanded__footer-author,.jetpack-instant-search__search-result-expanded__footer-date{color:#636363;font-size:13px;font-style:normal;font-weight:400}.jetpack-instant-search__product-rating-stars .gridicon{fill:#f0c930;vertical-align:middle}.jetpack-instant-search a.jetpack-instant-search__product-rating-count{color:#646970;font-size:.9em;text-decoration:underline;vertical-align:text-top}.jetpack-instant-search__product-price-regular{color:#646970;padding-right:.25em}.jetpack-instant-search__search-results-list.is-format-product{display:flex;flex-wrap:wrap;margin-right:40px;padding:0 0 3em}@media(max-width:991.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-right:24px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-right:4px}}.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{display:flex;flex-direction:column;margin:0 16px 16px 0;position:relative;width:calc(50% - 16px)}@media(min-width:576px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:768px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:992px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:1200px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:1400px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(20% - 16px)}}.jetpack-instant-search__search-result>.jetpack-instant-search__search-result-product-img-link{display:block}.jetpack-instant-search__search-result-product-img-container{border-radius:5px;color:transparent;position:relative}.jetpack-instant-search__search-result-product-img-container.jetpack-instant-search__search-result-product-img-container--placeholder{background:#c3c4c7}.jetpack-instant-search__search-result-product-img-container .gridicon{fill:#fff}.jetpack-instant-search__search-result-product-img-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-product-img{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-product-img>.gridicon{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.jetpack-instant-search__search-result-product-img>.gridicons-image{height:25%;width:25%}.jetpack-instant-search__search-result-product-img>.gridicons-block{height:50%;width:50%}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-product-title{font-size:1.25em;margin:.25em 0 0}.jetpack-instant-search__search-result-product-match{font-size:.9em;margin-top:.25em}.jetpack-instant-search__search-result-product-match mark{align-items:center;display:flex;font-weight:400}.jetpack-instant-search__search-result-product-match .gridicon{height:1em;margin-right:.25em;width:1em}.jetpack-instant-search__search-result{margin:0 0 2em}.jetpack-instant-search__search-result-title{font-size:1.6em;font-weight:400;line-height:1.35;margin:0;overflow-wrap:break-word}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link{text-decoration:none}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:focus,.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:hover{text-decoration:underline}.jetpack-instant-search__search-filters{position:relative}.jetpack-instant-search__search-filters>div{margin-top:1em}.jetpack-instant-search__search-filters-title{color:#00101c;display:block;font-size:inherit;font-weight:700;line-height:1.3;margin:0;padding:0}.jetpack-instant-search__clear-filters-link{line-height:1.3;margin:0;position:absolute;right:0;top:0}.jetpack-instant-search__search-filter-sub-heading{color:#646970;font-size:inherit;margin:0;padding:0}.jetpack-instant-search__search-filter-list{text-align:left}.jetpack-instant-search__search-filter-list>div{align-items:baseline;display:flex;margin-top:8px}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input{-webkit-appearance:checkbox;appearance:checkbox;background:none;border:none;cursor:pointer;height:auto;margin:0;top:1px;width:auto}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:before,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:before{display:none!important}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-label,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-label{color:inherit;cursor:pointer;display:inline-block;font-weight:400;margin:0 0 0 8px;padding:0;width:auto}.jetpack-instant-search__search-static-filter-list{font-size:.875rem;line-height:1.8}.jetpack-instant-search__widget-area-container{margin-bottom:2em}.jetpack-instant-search__jetpack-colophon{margin-bottom:2em;margin-top:2em;text-align:center}.jetpack-instant-search__jetpack-colophon-link{align-items:center;color:inherit;display:flex;text-decoration:none}.jetpack-instant-search__jetpack-colophon-logo{display:inline;height:16px;width:16px}.jetpack-instant-search__jetpack-colophon-text{color:#3c434a;font-size:.7em;font-weight:400;padding-left:6px}.jetpack-instant-search__sidebar{padding-top:14px}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget{background:none;border:none;margin:0;padding:0}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget a{font-weight:400}.jetpack-instant-search__sidebar h2.widgettitle{border:none;font-size:1.3em;margin:1em 0 .5em}.jetpack-instant-search__sidebar h2.widgettitle:after,.jetpack-instant-search__sidebar h2.widgettitle:before{display:none!important}.jetpack-instant-search__search-results{background:#fff;border-radius:3px;margin:0 auto;max-width:1080px;min-height:100%;position:relative;z-index:10}@media(max-width:575.98px){.jetpack-instant-search__search-results{border-radius:0}}@media(min-width:992px){.jetpack-instant-search__search-results{max-width:95%}}.jetpack-instant-search__search-results mark{background:#ffc;color:#00101c}.jetpack-instant-search__search-results-controls{display:flex}.jetpack-instant-search__search-results-content{display:flex;position:relative}.jetpack-instant-search__search-results-filter-button{align-items:center;border:0;color:#646970;cursor:pointer;display:flex;flex-shrink:0;font-size:12px;margin:0;padding:8px;text-decoration:none;transition:background-color .25s ease-in-out}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-filter-button{visibility:hidden}@media(min-width:576px){.jetpack-instant-search__search-results-filter-button{font-size:13px;padding:10px 14px}}@media(min-width:992px){.jetpack-instant-search__search-results-filter-button{display:none}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:flex}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:none}}.jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__search-results-filter-button:hover{color:#00101c}.jetpack-instant-search__search-results-filter-button .gridicon{margin-left:4px}.jetpack-instant-search__search-results-primary{margin:0;max-width:calc(100% - 320px);width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-primary{max-width:100%}@media(max-width:991.98px){.jetpack-instant-search__search-results-primary{max-width:100%}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-primary{max-width:100%}}.jetpack-instant-search__search-results-secondary{background:none;border-left:1px solid #e6f1f5;border-radius:0;bottom:0;box-shadow:none;color:#00101c;display:block;flex:none;padding:0 32px;position:static;width:320px}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary{display:none}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:991.98px)and (max-width:575.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:1199.98px)and (max-width:575.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{color:#00101c;font-size:1em;font-weight:700;line-height:1.3;margin:1em 56px 1.5em;padding:0;word-break:break-word}@media(max-width:991.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title,.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-results-title{padding-right:210px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title{padding-right:210px}}.jetpack-instant-search__search-results-list{color:#00101c;list-style:none;margin-left:56px;margin-right:56px;padding:0}@media(max-width:991.98px){.jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list{margin-left:20px;margin-right:20px}}.jetpack-instant-search__search-results-list li:before{content:"​";height:1px;position:absolute;width:1px}.jetpack-instant-search__search-results-search-form{font-size:.8em;margin:0;top:0;width:100%}button.jetpack-instant-search__overlay-close{align-items:center;-webkit-appearance:none;appearance:none;background:none;background-color:transparent!important;border:none;border-bottom:1px solid #e6f1f5;border-radius:0;box-shadow:none;cursor:pointer;display:flex;height:61px;justify-content:center;line-height:1;margin:0;outline:none;padding:0;text-decoration:none;text-shadow:none;text-transform:none;width:60px}button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}button.jetpack-instant-search__overlay-close:focus{outline:1px dotted}button.jetpack-instant-search__overlay-close svg.gridicon{fill:#646970}button.jetpack-instant-search__overlay-close:active,button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{background-color:transparent!important;border-color:#e6f1f5}button.jetpack-instant-search__overlay-close:active svg.gridicon,button.jetpack-instant-search__overlay-close:focus svg.gridicon,button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#3c434a}.jetpack-instant-search__search-results-pagination{display:block;flex:none;margin:50px}.jetpack-instant-search .widget a,.jetpack-instant-search .widget.widget_archive ul li a,.jetpack-instant-search a{border:none;color:#001621;text-decoration:none}.jetpack-instant-search .widget a:focus,.jetpack-instant-search .widget a:hover,.jetpack-instant-search .widget.widget_archive ul li a:focus,.jetpack-instant-search .widget.widget_archive ul li a:hover,.jetpack-instant-search a:focus,.jetpack-instant-search a:hover{color:#044b7a;text-decoration:underline}.jetpack-search-filters-widget__filter-list{list-style-type:none}body.enable-search-modal .cover-modal.show-modal.search-modal.active{display:none}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark{background:rgba(29,35,39,.7);color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a{color:#f6f7f7}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:hover{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filters-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__content,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-list,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-unused-query{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__jetpack-colophon-text,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb-link{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filter-sub-heading,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__path{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box-gridicon svg,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close svg.gridicon{fill:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:focus svg.gridicon,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:hover{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field{background:#000;color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:hover{background:#000;color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results{background:#000}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results mark{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{color:#e6f1f5}@media(min-width:992px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{border-color:#3c434a}}@media(max-width:991.98px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#000;border-color:#3c434a;box-shadow:0 2px 3px #3c434a}}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option:after{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option.is-selected{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-product-img--placeholder{color:#2c3338}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark #jetpack-instant-search__search-sort-select{background:#000;border-color:#3c434a;color:#e6f1f5}.jp-search-configure-app-wrapper{flex-grow:1}.jp-search-configure-app-wrapper .jp-search-configure-loading-spinner{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.jp-search-configure-app-wrapper .jetpack-instant-search{background:#f0f0f0;padding-top:2em;position:absolute;z-index:90}.jp-search-configure-app-wrapper .jetpack-instant-search .jetpack-instant-search__search-results{max-width:none}.jp-search-configure-app-wrapper .jetpack-instant-search a:not(.jetpack-instant-search__search-sort-option){pointer-events:none}.jp-search-configure-save-button{margin-right:4px}.jp-search-configure-save-button:first-of-type{margin-left:auto}@media(min-width:600px){.jp-search-configure-save-button{margin-right:8px}}@media(min-width:782px){.jp-search-configure-sidebar .jp-search-configure-save-button{display:none}}.jp-search-configure-header{align-items:center;display:flex;height:48px;justify-content:space-between;overflow:auto;padding:0 16px}@media(min-width:782px){.jp-search-configure-header{height:60px}}@media(min-width:600px){.jp-search-configure-header{overflow:visible}}.jp-search-configure-header__navigable-toolbar-wrapper{align-items:center;display:flex;justify-content:center}.jp-search-configure-header__title{font-size:20px;margin:0 20px 0 0;padding:0}.jp-search-configure-header__actions{display:flex}@media(min-width:600px){.jp-search-configure-header__actions .components-button.jp-search-configure-header__show-settings-button{margin-right:8px}}@media(min-width:782px){.jp-search-configure-header__actions .components-button.jp-search-configure-header__show-settings-button{display:none;margin-left:0}}.jp-search-configure-color-input .component-color-indicator{vertical-align:middle}.jp-search-configure-color-input .block-editor-color-gradient-control fieldset>legend{margin-bottom:12px}.jp-search-configure-color-input .block-editor-color-gradient-control fieldset>legend>.block-editor-color-gradient-control__color-indicator{margin-bottom:0}.jp-search-configure-color-input .components-circular-option-picker__option-wrapper :focus:after{left:-4px;top:-4px}.jp-search-configure-color-input .components-circular-option-picker__option-wrapper .components-button.is-pressed:focus:not(:disabled){box-shadow:inset 0 0 0 14px!important}.jp-search-configure-sidebar-options--is-disabled .jp-search-configure-color-input .components-button{cursor:not-allowed;filter:grayscale(.8);pointer-events:none}.jp-search-configure-sidebar-options--is-disabled .jp-search-configure-color-input .components-circular-option-picker__option-wrapper:hover{transform:scale(1)}.jp-search-configure-excluded-post-types-control{margin-top:8px}.jp-search-configure-excluded-post-types-control .jp-search-configure-excluded-post-types-control__label{margin-bottom:8px}.jp-search-configure-excluded-post-types-control .components-notice{margin:8px 0;padding-bottom:4px;padding-top:4px}.components-panel__header.jp-search-configure-sidebar__panel-tabs{border-top:0;justify-content:flex-start;margin-top:0;padding-left:0;padding-right:12px}.components-panel__header.jp-search-configure-sidebar__panel-tabs ul{display:flex;height:100%}.components-panel__header.jp-search-configure-sidebar__panel-tabs li{margin:0}.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{margin-right:4px}@media(min-width:600px){.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{margin-right:12px}}@media(min-width:782px){.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{display:none}}.components-button.jp-search-configure-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;color:#1e1e1e;cursor:pointer;display:inline-block;font-weight:400;height:49px;height:100%;margin-left:0;padding:3px 15px}.components-button.jp-search-configure-sidebar__panel-tab:after{speak:none;content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;visibility:hidden}.components-button.jp-search-configure-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -1.5px 0 0 var(--wp-admin-theme-color);font-weight:600;position:relative}.components-button.jp-search-configure-sidebar__panel-tab.is-active:before{border-bottom:1.5px solid transparent;bottom:1px;content:"";left:0;position:absolute;right:0;top:0}.components-button.jp-search-configure-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.jp-search-configure-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -1.5px 0 0 var(--wp-admin-theme-color)}.jp-search-configure-sidebar-description{display:flex;padding:16px}.jp-search-configure-sidebar-description .block-editor-block-icon{margin-right:16px}.jp-search-configure-sidebar-description .components-button.is-tertiary{margin-left:-6px}.jp-search-configure-sidebar-options .components-base-control{margin-bottom:24px}.jp-search-configure-sidebar-options .components-base-control.components-checkbox-control,.jp-search-configure-sidebar-options .components-base-control.components-toggle-control,.jp-search-configure-sidebar-options .components-base-control:last-child{margin-bottom:0}.jp-search-configure-sidebar-options .components-checkbox-control__label{vertical-align:baseline}.jp-search-configure-result-format-radios{margin-bottom:1em}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons{display:flex;justify-content:space-around;margin-bottom:12px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button{display:flex;flex-direction:column;height:auto;padding-left:6px;padding-right:6px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button:first-child{margin-right:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button:last-child{margin-left:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button svg{border:2px solid #fff;border-radius:3px;margin-bottom:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button.jp-search-configure-theme-button--selected svg{border-color:#2f2f2f}.jp-search-configure-sidebar-options--is-disabled input{cursor:not-allowed;pointer-events:none}.jp-search-configure-sidebar-options--is-disabled input[type=checkbox],.jp-search-configure-sidebar-options--is-disabled input[type=radio]{background:#ddd;border-color:#ddd}.jp-search-configure-sidebar-options--is-disabled .components-radio-control__input[type=radio]:checked{background:#ccc;border-color:#ccc}.components-checkbox-control__input:disabled{background:#ddd;border-color:#ddd;cursor:not-allowed}#jp-search-configure .hide-if-no-js{height:100vh;margin:0;position:relative;text-align:center;width:100vw}#jp-search-configure .hide-if-no-js .jp-search-loader{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}#jp-search-configure .interface-interface-skeleton__header{background-color:#fff}.jp-search-configure-layout__body{display:flex;flex-grow:1;overflow:auto}.block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator{margin-bottom:12px}.block-editor-color-gradient-control__fieldset{min-width:0}.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title{display:flex;gap:8px}.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{align-self:center;height:12px;width:12px}.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator:first-child{margin-left:12px}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}@media screen and (min-width:782px){.block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches{display:grid;grid-template-columns:repeat(6,28px);justify-content:space-between}}.block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control{margin-bottom:inherit}.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__dropdown{display:block}.block-editor-panel-color-gradient-settings__dropdown{width:100%}.block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content{width:280px}.block-editor-panel-color-gradient-settings__dropdown:last-child>div{border-bottom-width:0}.block-editor-panel-color-gradient-settings__item{padding-bottom:12px!important;padding-top:12px!important}.block-editor-panel-color-gradient-settings__item.is-open{background:#f0f0f0;color:var(--wp-admin-theme-color)}.block-editor-panel-color-gradient-settings__color-indicator{background:linear-gradient(-45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0)}.block-editor-tools-panel-color-gradient-settings__item{border-bottom:1px solid rgba(0,0,0,.1);border-left:1px solid rgba(0,0,0,.1);border-right:1px solid rgba(0,0,0,.1);padding:0}.block-editor-tools-panel-color-gradient-settings__item.first{border-top:1px solid rgba(0,0,0,.1);border-top-left-radius:2px;border-top-right-radius:2px}.block-editor-tools-panel-color-gradient-settings__item.last{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.block-editor-tools-panel-color-gradient-settings__item>div,.block-editor-tools-panel-color-gradient-settings__item>div>button{border-radius:inherit}.block-editor-tools-panel-color-gradient-settings__dropdown{display:block;padding:0}.block-editor-tools-panel-color-gradient-settings__dropdown>button{height:46px}.block-editor-tools-panel-color-gradient-settings__dropdown>button.is-open{background:#f0f0f0;color:var(--wp-admin-theme-color)}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media(min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area{background:#fff;color:#1e1e1e}@media(min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media(min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media(min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2,.interface-complementary-area h3{color:#1e1e1e;font-size:13px;margin-bottom:1.5em}.interface-complementary-area hr{border-bottom:1px solid #f0f0f0;border-top:none;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{bottom:10px;left:auto;right:10px;top:auto}@media(min-width:782px){body.js.is-fullscreen-mode{height:calc(100% + 32px);margin-top:-32px}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media(min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{bottom:0;display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;right:0;top:46px}@media(min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex:0 1 100%;flex-direction:column;overflow:hidden}.interface-interface-skeleton{left:0}@media(min-width:783px){.interface-interface-skeleton{left:160px}.auto-fold .interface-interface-skeleton{left:36px}}@media(min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media(min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{background:#fff;bottom:0;color:#1e1e1e;display:block;flex-shrink:0;left:0;position:absolute;right:0;top:0;z-index:100000}@media(min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;width:auto;z-index:90}}.interface-interface-skeleton__sidebar{overflow:auto}@media(min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{border-bottom:1px solid #e0e0e0;color:#1e1e1e;flex-shrink:0;height:auto;z-index:30}.interface-interface-skeleton__footer{background-color:#fff;border-top:1px solid #e0e0e0;bottom:0;color:#1e1e1e;display:none;flex-shrink:0;height:auto;left:0;position:absolute;width:100%;z-index:90}@media(min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{align-items:center;background:#fff;display:flex;font-size:13px;height:24px;padding:0 18px;z-index:30}.interface-interface-skeleton__actions{bottom:auto;color:#1e1e1e;left:auto;position:fixed!important;right:0;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus{bottom:0;top:auto}.interface-more-menu-dropdown{margin-left:-4px}.interface-more-menu-dropdown .components-button{padding:0 2px;width:auto}@media(min-width:600px){.interface-more-menu-dropdown{margin-left:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media(min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{max-width:480px;width:auto}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media(min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-height:24px;max-width:24px}html.wp-toolbar{background:#fff}#wpbody-content>.notice,#wpfooter,.jp-search-configure-sidebar .components-button.interface-complementary-area__pin-unpin-item{display:none}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.js
new file mode 100644
index 00000000..d714398b
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.js
@@ -0,0 +1,25 @@
+/*! For license information please see jp-search-configure.js.LICENSE.txt */
+!function(){var e={8294:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},2402:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},1074:function(e,t,r){"use strict";var n=r(9307);t.Z=function(e){let{icon:t,size:r=24,...s}=e;return(0,n.cloneElement)(t,{width:r,height:r,...s})}},4718:function(e,t,r){"use strict";var n=r(9307),s=r(444);const o=(0,n.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(s.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));t.Z=o},5022:function(e,t,r){"use strict";var n=r(9307),s=r(444);const o=(0,n.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(s.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));t.Z=o},5235:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var i=s.apply(null,r);i&&e.push(i)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var a in r)n.call(r,a)&&r[a]&&e.push(a);else e.push(r.toString())}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()},6198:function(e,t,r){var n=r(1210),s=r(5006),o=r(7232),i=n.TypeError;e.exports=function(e){if(s(e))return e;throw i(o(e)+" is not a function")}},1938:function(e,t,r){var n=r(1210),s=r(5006),o=n.String,i=n.TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},8987:function(e,t,r){var n=r(8875),s=r(42),o=r(2016),i=n("unscopables"),a=Array.prototype;null==a[i]&&o.f(a,i,{configurable:!0,value:s(null)}),e.exports=function(e){a[i][e]=!0}},3794:function(e,t,r){var n=r(1210),s=r(2702),o=n.String,i=n.TypeError;e.exports=function(e){if(s(e))return e;throw i(o(e)+" is not an object")}},8845:function(e,t,r){var n=r(4929),s=r(645),o=r(5570),i=function(e){return function(t,r,i){var a,c=n(t),l=o(c),u=s(i,l);if(e&&r!=r){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},237:function(e,t,r){var n=r(3715),s=n({}.toString),o=n("".slice);e.exports=function(e){return o(s(e),8,-1)}},5996:function(e,t,r){var n=r(1210),s=r(5165),o=r(5006),i=r(237),a=r(8875)("toStringTag"),c=n.Object,l="Arguments"==i(function(){return arguments}());e.exports=s?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=c(e),a))?r:l?i(t):"Object"==(n=i(t))&&o(t.callee)?"Arguments":n}},7398:function(e,t,r){var n=r(3715),s=Error,o=n("".replace),i=String(s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(i);e.exports=function(e,t){if(c&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=o(e,a,"");return e}},1184:function(e,t,r){var n=r(4242),s=r(3496),o=r(4225),i=r(2016);e.exports=function(e,t,r){for(var a=s(t),c=i.f,l=o.f,u=0;u<a.length;u++){var p=a[u];n(e,p)||r&&n(r,p)||c(e,p,l(t,p))}}},5506:function(e,t,r){var n=r(7778),s=r(2016),o=r(9487);e.exports=n?function(e,t,r){return s.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},9487:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1568:function(e,t,r){var n=r(1210),s=r(5006),o=r(5506),i=r(6717),a=r(3071);e.exports=function(e,t,r,c){var l=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet,h=c&&void 0!==c.name?c.name:t;return s(r)&&i(r,h,c),e===n?(u?e[t]=r:a(t,r),e):(l?!p&&e[t]&&(u=!0):delete e[t],u?e[t]=r:o(e,t,r),e)}},7778:function(e,t,r){var n=r(4258);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4716:function(e,t,r){var n=r(1210),s=r(2702),o=n.document,i=s(o)&&s(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},1455:function(e,t,r){var n=r(2265);e.exports=n("navigator","userAgent")||""},6475:function(e,t,r){var n,s,o=r(1210),i=r(1455),a=o.process,c=o.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(s=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},9864:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1500:function(e,t,r){var n=r(4258),s=r(9487);e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},8657:function(e,t,r){var n=r(1210),s=r(4225).f,o=r(5506),i=r(1568),a=r(3071),c=r(1184),l=r(9656);e.exports=function(e,t){var r,u,p,h,d,f=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[f]||a(f,{}):(n[f]||{}).prototype)for(u in t){if(h=t[u],p=e.noTargetGet?(d=s(r,u))&&d.value:r[u],!l(m?u:f+(g?".":"#")+u,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;c(h,p)}(e.sham||p&&p.sham)&&o(h,"sham",!0),i(r,u,h,e)}}},4258:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},9115:function(e,t,r){var n=r(5200),s=Function.prototype,o=s.apply,i=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?i.bind(o):function(){return i.apply(o,arguments)})},5200:function(e,t,r){var n=r(4258);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4264:function(e,t,r){var n=r(5200),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},232:function(e,t,r){var n=r(7778),s=r(4242),o=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,a=s(o,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&i(o,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},3715:function(e,t,r){var n=r(5200),s=Function.prototype,o=s.bind,i=s.call,a=n&&o.bind(i,i);e.exports=n?function(e){return e&&a(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},2265:function(e,t,r){var n=r(1210),s=r(5006),o=function(e){return s(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},9722:function(e,t,r){var n=r(6198);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},1210:function(e){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof window&&window)||function(){return this}()||Function("return this")()},4242:function(e,t,r){var n=r(3715),s=r(2103),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(s(e),t)}},3953:function(e){e.exports={}},2872:function(e,t,r){var n=r(2265);e.exports=n("document","documentElement")},4165:function(e,t,r){var n=r(7778),s=r(4258),o=r(4716);e.exports=!n&&!s((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},600:function(e,t,r){var n=r(1210),s=r(3715),o=r(4258),i=r(237),a=n.Object,c=s("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?c(e,""):a(e)}:a},8088:function(e,t,r){var n=r(5006),s=r(2702),o=r(2025);e.exports=function(e,t,r){var i,a;return o&&n(i=t.constructor)&&i!==r&&s(a=i.prototype)&&a!==r.prototype&&o(e,a),e}},3667:function(e,t,r){var n=r(3715),s=r(5006),o=r(4434),i=n(Function.toString);s(o.inspectSource)||(o.inspectSource=function(e){return i(e)}),e.exports=o.inspectSource},7793:function(e,t,r){var n=r(2702),s=r(5506);e.exports=function(e,t){n(t)&&"cause"in t&&s(e,"cause",t.cause)}},2406:function(e,t,r){var n,s,o,i=r(4564),a=r(1210),c=r(3715),l=r(2702),u=r(5506),p=r(4242),h=r(4434),d=r(9116),f=r(3953),m="Object already initialized",g=a.TypeError,v=a.WeakMap;if(i||h.state){var y=h.state||(h.state=new v),_=c(y.get),b=c(y.has),E=c(y.set);n=function(e,t){if(b(y,e))throw new g(m);return t.facade=e,E(y,e,t),t},s=function(e){return _(y,e)||{}},o=function(e){return b(y,e)}}else{var w=d("state");f[w]=!0,n=function(e,t){if(p(e,w))throw new g(m);return t.facade=e,u(e,w,t),t},s=function(e){return p(e,w)?e[w]:{}},o=function(e){return p(e,w)}}e.exports={set:n,get:s,has:o,enforce:function(e){return o(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=s(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}}}},5006:function(e){e.exports=function(e){return"function"==typeof e}},9656:function(e,t,r){var n=r(4258),s=r(5006),o=/#|\.prototype\./,i=function(e,t){var r=c[a(e)];return r==u||r!=l&&(s(t)?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},2702:function(e,t,r){var n=r(5006);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},4832:function(e){e.exports=!1},664:function(e,t,r){var n=r(1210),s=r(2265),o=r(5006),i=r(3387),a=r(8264),c=n.Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return o(t)&&i(t.prototype,c(e))}},5570:function(e,t,r){var n=r(8464);e.exports=function(e){return n(e.length)}},6717:function(e,t,r){var n=r(4258),s=r(5006),o=r(4242),i=r(2016).f,a=r(232).CONFIGURABLE,c=r(3667),l=r(2406),u=l.enforce,p=l.get,h=!n((function(){return 8!==i((function(){}),"length",{value:8}).length})),d=String(String).split("String"),f=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||a&&e.name!==t)&&i(e,"name",{value:t,configurable:!0}),h&&r&&o(r,"arity")&&e.length!==r.arity&&i(e,"length",{value:r.arity});var n=u(e);return o(n,"source")||(n.source=d.join("string"==typeof t?t:"")),e};Function.prototype.toString=f((function(){return s(this)&&p(this).source||c(this)}),"toString")},9868:function(e,t,r){var n=r(6475),s=r(4258);e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4564:function(e,t,r){var n=r(1210),s=r(5006),o=r(3667),i=n.WeakMap;e.exports=s(i)&&/native code/.test(o(i))},1377:function(e,t,r){var n=r(2910);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},42:function(e,t,r){var n,s=r(3794),o=r(3238),i=r(9864),a=r(3953),c=r(2872),l=r(4716),u=r(9116),p=u("IE_PROTO"),h=function(){},d=function(e){return"<script>"+e+"</"+"script>"},f=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&n?f(n):((t=l("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):f(n);for(var r=i.length;r--;)delete m.prototype[i[r]];return m()};a[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h.prototype=s(e),r=new h,h.prototype=null,r[p]=e):r=m(),void 0===t?r:o.f(r,t)}},3238:function(e,t,r){var n=r(7778),s=r(2879),o=r(2016),i=r(3794),a=r(4929),c=r(5321);t.f=n&&!s?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),s=c(t),l=s.length,u=0;l>u;)o.f(e,r=s[u++],n[r]);return e}},2016:function(e,t,r){var n=r(1210),s=r(7778),o=r(4165),i=r(2879),a=r(3794),c=r(8901),l=n.TypeError,u=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",f="writable";t.f=s?i?function(e,t,r){if(a(e),t=c(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r.writable){var n=p(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:d in r?r.configurable:n.configurable,enumerable:h in r?r.enumerable:n.enumerable,writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(a(e),t=c(t),a(r),o)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},4225:function(e,t,r){var n=r(7778),s=r(4264),o=r(9532),i=r(9487),a=r(4929),c=r(8901),l=r(4242),u=r(4165),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return i(!s(o.f,e,t),e[t])}},6112:function(e,t,r){var n=r(6166),s=r(9864).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},5603:function(e,t){t.f=Object.getOwnPropertySymbols},3387:function(e,t,r){var n=r(3715);e.exports=n({}.isPrototypeOf)},6166:function(e,t,r){var n=r(3715),s=r(4242),o=r(4929),i=r(8845).indexOf,a=r(3953),c=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,u=[];for(r in n)!s(a,r)&&s(n,r)&&c(u,r);for(;t.length>l;)s(n,r=t[l++])&&(~i(u,r)||c(u,r));return u}},5321:function(e,t,r){var n=r(6166),s=r(9864);e.exports=Object.keys||function(e){return n(e,s)}},9532:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},2025:function(e,t,r){var n=r(3715),s=r(3794),o=r(1938);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},896:function(e,t,r){var n=r(1210),s=r(4264),o=r(5006),i=r(2702),a=n.TypeError;e.exports=function(e,t){var r,n;if("string"===t&&o(r=e.toString)&&!i(n=s(r,e)))return n;if(o(r=e.valueOf)&&!i(n=s(r,e)))return n;if("string"!==t&&o(r=e.toString)&&!i(n=s(r,e)))return n;throw a("Can't convert object to primitive value")}},3496:function(e,t,r){var n=r(2265),s=r(3715),o=r(6112),i=r(5603),a=r(3794),c=s([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?c(t,r(e)):t}},9780:function(e,t,r){var n=r(2016).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},5262:function(e,t,r){var n=r(1210).TypeError;e.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}},3071:function(e,t,r){var n=r(1210),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},9116:function(e,t,r){var n=r(1843),s=r(3705),o=n("keys");e.exports=function(e){return o[e]||(o[e]=s(e))}},4434:function(e,t,r){var n=r(1210),s=r(3071),o="__core-js_shared__",i=n[o]||s(o,{});e.exports=i},1843:function(e,t,r){var n=r(4832),s=r(4434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.4",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"})},645:function(e,t,r){var n=r(8249),s=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):o(r,t)}},4929:function(e,t,r){var n=r(600),s=r(5262);e.exports=function(e){return n(s(e))}},8249:function(e){var t=Math.ceil,r=Math.floor;e.exports=function(e){var n=+e;return n!=n||0===n?0:(n>0?r:t)(n)}},8464:function(e,t,r){var n=r(8249),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},2103:function(e,t,r){var n=r(1210),s=r(5262),o=n.Object;e.exports=function(e){return o(s(e))}},357:function(e,t,r){var n=r(1210),s=r(4264),o=r(2702),i=r(664),a=r(9722),c=r(896),l=r(8875),u=n.TypeError,p=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,n=a(e,p);if(n){if(void 0===t&&(t="default"),r=s(n,e,t),!o(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},8901:function(e,t,r){var n=r(357),s=r(664);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},5165:function(e,t,r){var n={};n[r(8875)("toStringTag")]="z",e.exports="[object z]"===String(n)},2910:function(e,t,r){var n=r(1210),s=r(5996),o=n.String;e.exports=function(e){if("Symbol"===s(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},7232:function(e,t,r){var n=r(1210).String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3705:function(e,t,r){var n=r(3715),s=0,o=Math.random(),i=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++s+o,36)}},8264:function(e,t,r){var n=r(9868);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2879:function(e,t,r){var n=r(7778),s=r(4258);e.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8875:function(e,t,r){var n=r(1210),s=r(1843),o=r(4242),i=r(3705),a=r(9868),c=r(8264),l=s("wks"),u=n.Symbol,p=u&&u.for,h=c?u:u&&u.withoutSetter||i;e.exports=function(e){if(!o(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&o(u,e)?l[e]=u[e]:l[e]=c&&p?p(t):h(t)}return l[e]}},6266:function(e,t,r){"use strict";var n=r(2265),s=r(4242),o=r(5506),i=r(3387),a=r(2025),c=r(1184),l=r(9780),u=r(8088),p=r(1377),h=r(7793),d=r(7398),f=r(1500),m=r(7778),g=r(4832);e.exports=function(e,t,r,v){var y="stackTraceLimit",_=v?2:1,b=e.split("."),E=b[b.length-1],w=n.apply(null,b);if(w){var k=w.prototype;if(!g&&s(k,"cause")&&delete k.cause,!r)return w;var S=n("Error"),j=t((function(e,t){var r=p(v?t:e,void 0),n=v?new w(e):new w;return void 0!==r&&o(n,"message",r),f&&o(n,"stack",d(n.stack,2)),this&&i(k,this)&&u(n,this,j),arguments.length>_&&h(n,arguments[_]),n}));if(j.prototype=k,"Error"!==E?a?a(j,S):c(j,S,{name:!0}):m&&y in w&&(l(j,w,y),l(j,w,"prepareStackTrace")),c(j,w),!g)try{k.name!==E&&o(k,"name",E),k.constructor=j}catch(e){}return j}}},3679:function(e,t,r){"use strict";var n=r(8657),s=r(8845).includes,o=r(4258),i=r(8987);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},875:function(e,t,r){var n=r(8657),s=r(1210),o=r(9115),i=r(6266),a="WebAssembly",c=s.WebAssembly,l=7!==Error("e",{cause:7}).cause,u=function(e,t){var r={};r[e]=i(e,t,l),n({global:!0,arity:1,forced:l},r)},p=function(e,t){if(c&&c[e]){var r={};r[e]=i("WebAssembly."+e,t,l),n({target:a,stat:!0,arity:1,forced:l},r)}};u("Error",(function(e){return function(t){return o(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return o(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return o(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return o(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return o(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return o(e,this,arguments)}})),u("URIError",(function(e){return function(t){return o(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return o(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return o(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return o(e,this,arguments)}}))},4273:function(e){!function(){"use strict";var t=[],r=3988292384;function n(e){var t,n,s,o,i=-1;for(t=0,s=e.length;t<s;t+=1){for(o=255&(i^e[t]),n=0;n<8;n+=1)1==(1&o)?o=o>>>1^r:o>>>=1;i=i>>>8^o}return-1^i}function s(e,r){var n,o,i;if(void 0!==s.crc&&r&&e||(s.crc=-1,e)){for(n=s.crc,o=0,i=e.length;o<i;o+=1)n=n>>>8^t[255&(n^e[o])];return s.crc=n,-1^n}}!function(){var e,n,s;for(n=0;n<256;n+=1){for(e=n,s=0;s<8;s+=1)1&e?e=r^e>>>1:e>>>=1;t[n]=e>>>0}}(),e.exports=function(e,t){var r;e="string"==typeof e?(r=e,Array.prototype.map.call(r,(function(e){return e.charCodeAt(0)}))):e;return((t?n(e):s(e))>>>0).toString(16)},e.exports.direct=n,e.exports.table=s}()},7390:function(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,s=t.cmp&&(r=t.cmp,function(e){return function(t,n){var s={key:t,value:e[t]},o={key:n,value:e[n]};return r(s,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,i;if(Array.isArray(t)){for(i="[",r=0;r<t.length;r++)r&&(i+=","),i+=e(t[r])||"null";return i+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var a=o.push(t)-1,c=Object.keys(t).sort(s&&s(t));for(i="",r=0;r<c.length;r++){var l=c[r],u=e(t[l]);u&&(i&&(i+=","),i+=JSON.stringify(l)+":"+u)}return o.splice(a,1),"{"+i+"}"}}(e)}},7692:function(e,t,r){"use strict";var n=r(3801),s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(e){return n.isMemo(e)?i:a[e.$$typeof]||s}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var s=d(r);s&&s!==f&&e(t,s,n)}var i=u(r);p&&(i=i.concat(p(r)));for(var a=c(t),m=c(r),g=0;g<i.length;++g){var v=i[g];if(!(o[v]||n&&n[v]||m&&m[v]||a&&a[v])){var y=h(r,v);try{l(t,v,y)}catch(e){}}}}return t}},4924:function(e,t,r){var n=r(9159).Symbol;e.exports=n},4729:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=Array(n);++r<n;)s[r]=t(e[r],r,e);return s}},530:function(e,t,r){var n=r(4924),s=r(8792),o=r(8004),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?s(e):o(e)}},3042:function(e,t,r){var n=r(4924),s=r(4729),o=r(6259),i=r(6260),a=n?n.prototype:void 0,c=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return s(t,e)+"";if(i(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},9504:function(e,t,r){var n=r(310),s=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(s,""):e}},6150:function(e){var t="object"==typeof window&&window&&window.Object===Object&&window;e.exports=t},8792:function(e,t,r){var n=r(4924),s=Object.prototype,o=s.hasOwnProperty,i=s.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var s=i.call(e);return n&&(t?e[a]=r:delete e[a]),s}},8004:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9159:function(e,t,r){var n=r(6150),s="object"==typeof self&&self&&self.Object===Object&&self,o=n||s||Function("return this")();e.exports=o},310:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},3259:function(e,t,r){var n=r(731),s=r(6199),o=r(4934),i=Math.max,a=Math.min;e.exports=function(e,t,r){var c,l,u,p,h,d,f=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var r=c,n=l;return c=l=void 0,f=t,p=e.apply(n,r)}function _(e){return f=e,h=setTimeout(E,t),m?y(e):p}function b(e){var r=e-d;return void 0===d||r>=t||r<0||g&&e-f>=u}function E(){var e=s();if(b(e))return w(e);h=setTimeout(E,function(e){var r=t-(e-d);return g?a(r,u-(e-f)):r}(e))}function w(e){return h=void 0,v&&c?y(e):(c=l=void 0,p)}function k(){var e=s(),r=b(e);if(c=arguments,l=this,d=e,r){if(void 0===h)return _(d);if(g)return clearTimeout(h),h=setTimeout(E,t),y(d)}return void 0===h&&(h=setTimeout(E,t)),p}return t=o(t)||0,n(r)&&(m=!!r.leading,u=(g="maxWait"in r)?i(o(r.maxWait)||0,t):u,v="trailing"in r?!!r.trailing:v),k.cancel=function(){void 0!==h&&clearTimeout(h),f=0,c=d=l=h=void 0},k.flush=function(){return void 0===h?p:w(s())},k}},6259:function(e){var t=Array.isArray;e.exports=t},731:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},1642:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},6260:function(e,t,r){var n=r(530),s=r(1642);e.exports=function(e){return"symbol"==typeof e||s(e)&&"[object Symbol]"==n(e)}},6199:function(e,t,r){var n=r(9159);e.exports=function(){return n.Date.now()}},4934:function(e,t,r){var n=r(9504),s=r(731),o=r(6260),i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(s(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=s(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=a.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):i.test(e)?NaN:+e}},6700:function(e,t,r){var n=r(3042);e.exports=function(e){return null==e?"":n(e)}},5348:function(e,t,r){var n=r(6700),s=0;e.exports=function(e){var t=++s;return n(e)+t}},3171:function(e){var t=1e3,r=60*t,n=60*r,s=24*n,o=7*s,i=365.25*s;function a(e,t,r,n){var s=t>=1.5*r;return Math.round(e/r)+" "+n+(s?"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 a=/^(-?(?:\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(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*s;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;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 o=Math.abs(e);if(o>=s)return a(e,o,s,"day");if(o>=n)return a(e,o,n,"hour");if(o>=r)return a(e,o,r,"minute");if(o>=t)return a(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=s)return Math.round(e/s)+"d";if(o>=n)return Math.round(e/n)+"h";if(o>=r)return Math.round(e/r)+"m";if(o>=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))}},9424:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(4273),s=r.n(n),o=r(3191),i=r.n(o),a=r(1128),c=r.n(a)()("photon"),l={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",p="http://".concat(u);function h(e,t){var r;try{r=new URL(e,p)}catch(e){return null}var n,o,a,h,d,f="https:"===r.protocol,m=new URL("https://i0.wp.com");if(d=r.host,/^i[0-2]\.wp\.com$/.test(d))m.pathname=r.pathname,m.hostname=r.hostname;else{if(r.search)return null;var g=r.href.replace("".concat(r.protocol,"/"),"");"blob:"===r.protocol&&(g=r.pathname.replace("://","//")),r.hostname===u&&(g=r.pathname),m.pathname=g,m.hostname=(n=g,o=s()(n),a=i()(o),h="i"+Math.floor(3*a()),c('determined server "%s" to use with "%s"',h,n),h+".wp.com"),f&&m.searchParams.set("ssl",1)}if(t)for(var v in t)"host"!==v&&"hostname"!==v?"secure"!==v||t[v]?m.searchParams.set(l[v]||v,t[v]):m.protocol="http:":m.hostname=t[v];return c("generated Photon URL: %s",m.href),m.href}},5731:function(e,t){"use strict";var r=Object.prototype,n=r.toString,s=r.hasOwnProperty,o="[object Object]",i="[object Array]";function a(e,t){return null!=e?e+"["+t+"]":t}t.x=function e(t,r,c){var l=n.call(t);if(void 0===c)if(l===o)c={};else{if(l!==i)return;c=[]}for(var u in t)if(s.call(t,u)){var p=t[u];if(null!=p)switch(n.call(p)){case i:case o:e(p,a(r,u),c);break;default:c[a(r,u)]=p}}return c}},8750:function(e,t,r){"use strict";function n(e,t){var r,n,s,o="";for(r in e)if(void 0!==(s=e[r]))if(Array.isArray(s))for(n=0;n<s.length;n++)o&&(o+="&"),o+=encodeURIComponent(r)+"="+encodeURIComponent(s[n]);else o&&(o+="&"),o+=encodeURIComponent(r)+"="+encodeURIComponent(s);return(t||"")+o}r.d(t,{c:function(){return n}})},8922:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,s=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case p:case o:case a:case i:case d:return e;default:switch(e=e&&e.$$typeof){case l:case h:case g:case m:case c:return e;default:return t}}case s:return t}}}function w(e){return E(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=h,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=s,t.Profiler=a,t.StrictMode=i,t.Suspense=d,t.isAsyncMode=function(e){return w(e)||E(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return E(e)===l},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===h},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===s},t.isProfiler=function(e){return E(e)===a},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===a||e===i||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===h||e.$$typeof===y||e.$$typeof===_||e.$$typeof===b||e.$$typeof===v)},t.typeOf=E},3801:function(e,t,r){"use strict";e.exports=r(8922)},4223:function(e,t){"use strict";var r=60103,n=60106,s=60107,o=60108,i=60114,a=60109,c=60110,l=60112,u=60113,p=60120,h=60115,d=60116,f=60121,m=60122,g=60117,v=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var _=Symbol.for;r=_("react.element"),n=_("react.portal"),s=_("react.fragment"),o=_("react.strict_mode"),i=_("react.profiler"),a=_("react.provider"),c=_("react.context"),l=_("react.forward_ref"),u=_("react.suspense"),p=_("react.suspense_list"),h=_("react.memo"),d=_("react.lazy"),f=_("react.block"),m=_("react.server.block"),g=_("react.fundamental"),v=_("react.debug_trace_mode"),y=_("react.legacy_hidden")}function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case s:case i:case o:case u:case p:return e;default:switch(e=e&&e.$$typeof){case c:case l:case d:case h:case a:return e;default:return t}}case n:return t}}}t.isContextConsumer=function(e){return b(e)===c}},1637:function(e,t,r){"use strict";e.exports=r(4223)},373:function(e,t,r){"use strict";r.d(t,{E:function(){return s}});var n=r(9196),s=r.n(n)().createContext(null)},1290:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(373),i=r(5053),a=r(999);t.Z=function(e){var t=e.store,r=e.context,c=e.children,l=(0,n.useMemo)((function(){var e=(0,i.X)(t);return{store:t,subscription:e}}),[t]),u=(0,n.useMemo)((function(){return t.getState()}),[t]);(0,a.L)((function(){var e=l.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[l,u]);var p=r||o.E;return s().createElement(p.Provider,{value:l},c)}},5642:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(255),s=r(7921),o=r(7692),i=r.n(o),a=r(9196),c=r.n(a),l=r(1637),u=r(5053),p=r(999),h=r(373),d=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],f=["reactReduxForwardedRef"],m=[],g=[null,null];function v(e,t){var r=e[1];return[t.payload,r+1]}function y(e,t,r){(0,p.L)((function(){return e.apply(void 0,t)}),r)}function _(e,t,r,n,s,o,i){e.current=n,t.current=s,r.current=!1,o.current&&(o.current=null,i())}function b(e,t,r,n,s,o,i,a,c,l){if(e){var u=!1,p=null,h=function(){if(!u){var e,r,h=t.getState();try{e=n(h,s.current)}catch(e){r=e,p=e}r||(p=null),e===o.current?i.current||c():(o.current=e,a.current=e,i.current=!0,l({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=h,r.trySubscribe(),h();return function(){if(u=!0,r.tryUnsubscribe(),r.onStateChange=null,p)throw p}}}var E=function(){return[null,0]};function w(e,t){void 0===t&&(t={});var r=t,o=r.getDisplayName,p=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,w=r.methodName,k=void 0===w?"connectAdvanced":w,S=r.renderCountProp,j=void 0===S?void 0:S,C=r.shouldHandleStateChanges,x=void 0===C||C,O=r.storeKey,P=void 0===O?"store":O,R=(r.withRef,r.forwardRef),T=void 0!==R&&R,N=r.context,F=void 0===N?h.E:N,A=(0,s.Z)(r,d),L=F;return function(t){var r=t.displayName||t.name||"Component",o=p(r),h=(0,n.Z)({},A,{getDisplayName:p,methodName:k,renderCountProp:j,shouldHandleStateChanges:x,storeKey:P,displayName:o,wrappedComponentName:r,WrappedComponent:t}),d=A.pure;var w=d?a.useMemo:function(e){return e()};function S(r){var o=(0,a.useMemo)((function(){var e=r.reactReduxForwardedRef,t=(0,s.Z)(r,f);return[r.context,e,t]}),[r]),i=o[0],p=o[1],d=o[2],k=(0,a.useMemo)((function(){return i&&i.Consumer&&(0,l.isContextConsumer)(c().createElement(i.Consumer,null))?i:L}),[i,L]),S=(0,a.useContext)(k),j=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(S)&&Boolean(S.store);var C=j?r.store:S.store,O=(0,a.useMemo)((function(){return function(t){return e(t.dispatch,h)}(C)}),[C]),P=(0,a.useMemo)((function(){if(!x)return g;var e=(0,u.X)(C,j?null:S.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[C,j,S]),R=P[0],T=P[1],N=(0,a.useMemo)((function(){return j?S:(0,n.Z)({},S,{subscription:R})}),[j,S,R]),F=(0,a.useReducer)(v,m,E),A=F[0][0],Z=F[1];if(A&&A.error)throw A.error;var I=(0,a.useRef)(),M=(0,a.useRef)(d),z=(0,a.useRef)(),$=(0,a.useRef)(!1),H=w((function(){return z.current&&d===M.current?z.current:O(C.getState(),d)}),[C,A,d]);y(_,[M,I,$,d,H,z,T]),y(b,[x,C,R,O,M,I,$,z,T,Z],[C,R,O]);var D=(0,a.useMemo)((function(){return c().createElement(t,(0,n.Z)({},H,{ref:p}))}),[p,t,H]);return(0,a.useMemo)((function(){return x?c().createElement(k.Provider,{value:N},D):D}),[k,D,N])}var C=d?c().memo(S):S;if(C.WrappedComponent=t,C.displayName=S.displayName=o,T){var O=c().forwardRef((function(e,t){return c().createElement(C,(0,n.Z)({},e,{reactReduxForwardedRef:t}))}));return O.displayName=o,O.WrappedComponent=t,i()(O,t)}return i()(C,t)}}},1479:function(e,t,r){"use strict";var n=r(255),s=r(7921),o=r(5642),i=r(8588),a=r(2320),c=r(2004),l=r(4769),u=r(8164),p=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function h(e,t,r){for(var n=t.length-1;n>=0;n--){var s=t[n](e);if(s)return s}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function d(e,t){return e===t}function f(e){var t=void 0===e?{}:e,r=t.connectHOC,f=void 0===r?o.Z:r,m=t.mapStateToPropsFactories,g=void 0===m?c.ZP:m,v=t.mapDispatchToPropsFactories,y=void 0===v?a.ZP:v,_=t.mergePropsFactories,b=void 0===_?l.ZP:_,E=t.selectorFactory,w=void 0===E?u.ZP:E;return function(e,t,r,o){void 0===o&&(o={});var a=o,c=a.pure,l=void 0===c||c,u=a.areStatesEqual,m=void 0===u?d:u,v=a.areOwnPropsEqual,_=void 0===v?i.Z:v,E=a.areStatePropsEqual,k=void 0===E?i.Z:E,S=a.areMergedPropsEqual,j=void 0===S?i.Z:S,C=(0,s.Z)(a,p),x=h(e,g,"mapStateToProps"),O=h(t,y,"mapDispatchToProps"),P=h(r,b,"mergeProps");return f(w,(0,n.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:O,initMergeProps:P,pure:l,areStatesEqual:m,areOwnPropsEqual:_,areStatePropsEqual:k,areMergedPropsEqual:j},C))}}t.Z=f()},2320:function(e,t,r){"use strict";var n=r(7059),s=r(278);t.ZP=[function(e){return"function"==typeof e?(0,s.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,s.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,s.dX)((function(t){return(0,n.Z)(e,t)})):void 0}]},2004:function(e,t,r){"use strict";var n=r(278);t.ZP=[function(e){return"function"==typeof e?(0,n.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,n.dX)((function(){return{}}))}]},4769:function(e,t,r){"use strict";var n=r(255);function s(e,t,r){return(0,n.Z)({},r,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,s=r.pure,o=r.areMergedPropsEqual,i=!1;return function(t,r,a){var c=e(t,r,a);return i?s&&o(c,n)||(n=c):(i=!0,n=c),n}}}(e):void 0},function(e){return e?void 0:function(){return s}}]},8164:function(e,t,r){"use strict";r.d(t,{ZP:function(){return a}});var n=r(7921),s=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function o(e,t,r,n){return function(s,o){return r(e(s,o),t(n,o),o)}}function i(e,t,r,n,s){var o,i,a,c,l,u=s.areStatesEqual,p=s.areOwnPropsEqual,h=s.areStatePropsEqual,d=!1;function f(s,d){var f,m,g=!p(d,i),v=!u(s,o);return o=s,i=d,g&&v?(a=e(o,i),t.dependsOnOwnProps&&(c=t(n,i)),l=r(a,c,i)):g?(e.dependsOnOwnProps&&(a=e(o,i)),t.dependsOnOwnProps&&(c=t(n,i)),l=r(a,c,i)):v?(f=e(o,i),m=!h(f,a),a=f,m&&(l=r(a,c,i)),l):l}return function(s,u){return d?f(s,u):(a=e(o=s,i=u),c=t(n,i),l=r(a,c,i),d=!0,l)}}function a(e,t){var r=t.initMapStateToProps,a=t.initMapDispatchToProps,c=t.initMergeProps,l=(0,n.Z)(t,s),u=r(e,l),p=a(e,l),h=c(e,l);return(l.pure?i:o)(u,p,h,e,l)}},278:function(e,t,r){"use strict";function n(e){return function(t,r){var n=e(t,r);function s(){return n}return s.dependsOnOwnProps=!1,s}}function s(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function o(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=s(e);var o=n(t,r);return"function"==typeof o&&(n.mapToProps=o,n.dependsOnOwnProps=s(o),o=n(t,r)),o},n}}r.d(t,{dX:function(){return n},xv:function(){return o}})},1654:function(e,t,r){"use strict";r.d(t,{$j:function(){return s.Z},zt:function(){return n.Z}});var n=r(1290),s=(r(5642),r(373),r(1479));r(7518),r(8882),r(6271)},7518:function(e,t,r){"use strict";r(373),r(6271)},2830:function(e,t,r){"use strict";r(9196),r(373)},8882:function(e,t,r){"use strict";r(9196),r(2830),r(5053),r(999),r(373)},6271:function(e,t,r){"use strict";r(9196),r(373),r(2830)},9309:function(e,t,r){"use strict";r.d(t,{$j:function(){return n.$j},zt:function(){return n.zt}});var n=r(1654),s=r(9523);(0,r(2935).F)(s.m)},5053:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});var n=r(2935);var s={notify:function(){},get:function(){return[]}};function o(e,t){var r,o=s;function i(){c.onStateChange&&c.onStateChange()}function a(){var s,a,c;r||(r=t?t.addNestedSub(i):e.subscribe(i),s=(0,n.k)(),a=null,c=null,o={clear:function(){a=null,c=null},notify:function(){s((function(){for(var e=a;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=a;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,r=c={callback:e,next:null,prev:c};return r.prev?r.prev.next=r:a=r,function(){t&&null!==a&&(t=!1,r.next?r.next.prev=r.prev:c=r.prev,r.prev?r.prev.next=r.next:a=r.next)}}})}var c={addNestedSub:function(e){return a(),o.subscribe(e)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(r)},trySubscribe:a,tryUnsubscribe:function(){r&&(r(),r=void 0,o.clear(),o=s)},getListeners:function(){return o}};return c}},2935:function(e,t,r){"use strict";r.d(t,{F:function(){return s},k:function(){return o}});var n=function(e){e()},s=function(e){return n=e},o=function(){return n}},7059:function(e,t,r){"use strict";function n(e,t){var r={},n=function(n){var s=e[n];"function"==typeof s&&(r[n]=function(){return t(s.apply(void 0,arguments))})};for(var s in e)n(s);return r}r.d(t,{Z:function(){return n}})},9523:function(e,t,r){"use strict";r.d(t,{m:function(){return n.unstable_batchedUpdates}});var n=r(1850)},8588:function(e,t,r){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function s(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;for(var o=0;o<r.length;o++)if(!Object.prototype.hasOwnProperty.call(t,r[o])||!n(e[r[o]],t[r[o]]))return!1;return!0}r.d(t,{Z:function(){return s}})},999:function(e,t,r){"use strict";r.d(t,{L:function(){return s}});var n=r(9196),s="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect},835:function(e,t,r){"use strict";r.d(t,{MT:function(){return l},UY:function(){return u},md:function(){return h}});var n=r(8617);function s(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var o="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function c(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(s(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(s(1));return r(l)(e,t)}if("function"!=typeof e)throw new Error(s(2));var i=e,u=t,p=[],h=p,d=!1;function f(){h===p&&(h=p.slice())}function m(){if(d)throw new Error(s(3));return u}function g(e){if("function"!=typeof e)throw new Error(s(4));if(d)throw new Error(s(5));var t=!0;return f(),h.push(e),function(){if(t){if(d)throw new Error(s(6));t=!1,f();var r=h.indexOf(e);h.splice(r,1),p=null}}}function v(e){if(!c(e))throw new Error(s(7));if(void 0===e.type)throw new Error(s(8));if(d)throw new Error(s(9));try{d=!0,u=i(u,e)}finally{d=!1}for(var t=p=h,r=0;r<t.length;r++){(0,t[r])()}return e}function y(e){if("function"!=typeof e)throw new Error(s(10));i=e,v({type:a.REPLACE})}function _(){var e,t=g;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(s(11));function r(){e.next&&e.next(m())}return r(),{unsubscribe:t(r)}}})[o]=function(){return this},e}return v({type:a.INIT}),(n={dispatch:v,subscribe:g,getState:m,replaceReducer:y})[o]=_,n}function u(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];0,"function"==typeof e[o]&&(r[o]=e[o])}var i,c=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if(void 0===r(void 0,{type:a.INIT}))throw new Error(s(12));if(void 0===r(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(s(13))}))}(r)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var n=!1,o={},a=0;a<c.length;a++){var l=c[a],u=r[l],p=e[l],h=u(p,t);if(void 0===h){t&&t.type;throw new Error(s(14))}o[l]=h,n=n||h!==p}return(n=n||c.length!==Object.keys(e).length)?o:e}}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),o=function(){throw new Error(s(15))},i={getState:r.getState,dispatch:function(){return o.apply(void 0,arguments)}},a=t.map((function(e){return e(i)}));return o=p.apply(void 0,a)(r.dispatch),(0,n.Z)((0,n.Z)({},r),{},{dispatch:o})}}}},4274:function(e){"use strict";function t(e,r){var n;if(Array.isArray(r))for(n=0;n<r.length;n++)t(e,r[n]);else for(n in r)e[n]=(e[n]||[]).concat(r[n])}e.exports=function(e){var r,n={};return t(n,e),(r=function(e){return function(t){return function(r){var s,o,i=n[r.type],a=t(r);if(i)for(s=0;s<i.length;s++)(o=i[s](r,e))&&e.dispatch(o);return a}}}).effects=n,r}},3191:function(e){"use strict";var t=256,r=[],n=window,s=Math.pow(t,6),o=Math.pow(2,52),i=2*o,a=255,c=Math.random;function l(e){var r,n=e.length,s=this,o=0,i=s.i=s.j=0,c=s.S=[];for(n||(e=[n++]);o<t;)c[o]=o++;for(o=0;o<t;o++)c[o]=c[i=a&i+e[o%n]+(r=c[o])],c[i]=r;(s.g=function(e){for(var r,n=0,o=s.i,i=s.j,c=s.S;e--;)r=c[o=a&o+1],n=n*t+c[a&(c[o]=c[i=a&i+r])+(c[i]=r)];return s.i=o,s.j=i,n})(t)}function u(e,t){var r,n=[],s=(typeof e)[0];if(t&&"o"==s)for(r in e)try{n.push(u(e[r],t-1))}catch(e){}return n.length?n:"s"==s?e:e+"\0"}function p(e,t){for(var r,n=e+"",s=0;s<n.length;)t[a&s]=a&(r^=19*t[a&s])+n.charCodeAt(s++);return d(t)}function h(e){try{return n.crypto.getRandomValues(e=new Uint8Array(t)),d(e)}catch(e){return[+new Date,n,n.navigator&&n.navigator.plugins,n.screen,d(r)]}}function d(e){return String.fromCharCode.apply(0,e)}e.exports=function(n,a){if(a&&!0===a.global)return a.global=!1,Math.random=e.exports(n,a),a.global=!0,Math.random;var c=a&&a.entropy||!1,f=[],m=(p(u(c?[n,d(r)]:0 in arguments?n:h(),3),f),new l(f));return p(d(m.S),r),function(){for(var e=m.g(6),r=s,n=0;e<o;)e=(e+n)*t,r*=t,n=m.g(1);for(;e>=i;)e/=2,r/=2,n>>>=1;return(e+n)/r}},e.exports.resetGlobal=function(){Math.random=c},p(Math.random(),r)},4553:function(e){var t=/<\/?([a-z][a-z0-9]*)\b[^>]*>?/gi;e.exports=function(e){return(e=e||"").replace(t,"").trim()}},4043:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(2402),s=r.n(n),o=r(9309),i=r(2819),a=r(5736),c=r(5652),l=r(9379),u=r(5476),p=r(9755),h=r(2160),d=r(9351),f=r(3939);const __=a.__;r.p=window.JetpackInstantSearchOptions.webpackPublicPath;const m={aggregations:(0,u.a5)([...window[p.W1].widgets,...window[p.W1].widgetsOutsideOverlay]),defaultSort:window[p.W1].defaultSort,hasOverlayWidgets:!!window[p.W1].hasOverlayWidgets,options:window[p.W1],themeOptions:(0,h.C)(window[p.W1])};function g(){const{color:e,excludedPostTypes:t,infiniteScroll:r,resultFormat:n,showLogo:a,sort:u,sortEnabled:h,theme:g,trigger:v}=(0,f.Z)(),y={...window[p.W1].overlayOptions,...(0,i.pickBy)({colorTheme:g,defaultSort:u,enableInfScroll:r,enableSort:h,excludedPostTypes:t,highlightColor:e,overlayTrigger:v,resultFormat:n,showPoweredBy:a},(e=>void 0!==e))},{isLoading:_}=(0,d.Z)();return React.createElement("div",{
+/* translators: accessibility text for the widgets screen content landmark region. */
+"aria-label":__("Jetpack Search customization preview","jetpack-search-pkg"),className:"jp-search-configure-app-wrapper",role:"region",tabIndex:"-1"},_?React.createElement("img",{className:"jp-search-configure-loading-spinner",width:"32",height:"32",alt:__("Loading","jetpack-search-pkg"),src:"//en.wordpress.com/i/loading/loading-64.gif"}):React.createElement(o.zt,{store:l.Z},React.createElement(c.Z,s()({},m,{enableAnalytics:!1,initialIsVisible:!0,initialShowResults:!0,isInCustomizer:!1,overlayOptions:y,shouldCreatePortal:!1,shouldIntegrateWithDom:!1}))))}},5356:function(e,t,r){"use strict";var n=r(5609),s=r(5736),o=r(1074),i=r(4718),a=r(8807);const __=s.__;t.Z=function(e){let{enableSidebar:t}=e;
+// translators: Product name 'Jetpack Search' should not be translated
+const r=__("Customize Jetpack Search","jetpack-search-pkg");return React.createElement("div",{className:"jp-search-configure-header"},React.createElement("div",{className:"jp-search-configure-header__navigable-toolbar-wrapper"},React.createElement("h1",{className:"jp-search-configure-header__title"},r)),React.createElement("div",{className:"jp-search-configure-header__actions"},React.createElement(a.Z,null),React.createElement(n.Button,{"aria-label":__("Show settings","jetpack-search-pkg"),className:"jp-search-configure-header__show-settings-button",variant:"secondary",onClick:()=>t()},React.createElement(o.Z,{icon:i.Z}))))}},5564:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(9307),s=r(9818),o=r(162),i=r(9755),a=r(5275),c=r(2463),l=r(9549);function u(){const{isLargeViewport:e}=(0,s.useSelect)((e=>({isLargeViewport:e(o.store).isViewportMatch("large")}))),[t,r]=(0,n.useState)(c.E),u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.E;return r(e)};return(0,n.useEffect)((()=>{(0,a.j2)(),(0,a.AM)(window[i.W1].siteId),(0,a.Ny)(`${a.q0}_page_view`)}),[]),(0,n.useEffect)((()=>{e&&null===t&&u()}),[t,e]),React.createElement("div",{className:"jp-search-configure-root"},React.createElement(l.Z,{disableSidebar:()=>r(null),enabledSidebarName:t,enableSidebar:u}))}},9549:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(5736),s=r(4043),o=r(5356),i=r(3515);const __=n.__;function a(e){const{enabledSidebarName:t,enableSidebar:r,disableSidebar:n}=e;return React.createElement("div",{className:"interface-interface-skeleton"},React.createElement("div",{className:"interface-interface-skeleton__editor"},React.createElement("div",{
+/* translators: accessibility text for the widgets screen top bar landmark region. */
+"aria-label":__("Jetpack Search customization top bar","jetpack-search-pkg"),className:"interface-interface-skeleton__header",role:"region",tabIndex:"-1"},React.createElement(o.Z,{enableSidebar:r})),React.createElement("div",{className:"jp-search-configure-layout__body"},React.createElement(s.Z,null),!!t&&React.createElement("div",{
+/* translators: accessibility text for the widgets screen settings landmark region. */
+"aria-label":__("Jetpack Search customization settings","jetpack-search-pkg"),className:"interface-interface-skeleton__sidebar",role:"region",tabIndex:"-1"},React.createElement(i.Z,{disableSidebar:n,enabledSidebarName:t,enableSidebar:r})))))}},8807:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(5609),s=r(5736),o=r(9755),i=r(5275),a=r(4121);const __=s.__;function c(){const{editedEntities:e,isSaving:t,hasUnsavedEdits:r,saveRecords:s}=(0,a.Z)();return React.createElement(n.Button,{"aria-disabled":t,className:"jp-search-configure-save-button",disabled:!r,isBusy:t,variant:"primary",onClick:function(){t||((0,i.Ny)(`${i.q0}_save_button_click`,{initialSettings:JSON.stringify(window[o.W1].overlayOptions),changedSettings:JSON.stringify(e),changedSettingNames:Object.keys(e).join(",")}),s(...arguments))}},t?__("Saving…","jetpack-search-pkg"):__("Save","jetpack-search-pkg",0))}},9551:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(2175),s=r(5736),o=r(9818);const __=s.__,i=[{name:"Dull blue",color:"#463ECE"},{name:"Jazzberry jam",color:"#C6446F"},{name:"June bud",color:"#C4D455"}];function a(e){let{disabled:t,value:r,onChange:s}=e;const a=(0,o.useSelect)((e=>{var t;const r=null!==(t=e("core/block-editor").getSettings())&&void 0!==t?t:{};return Array.isArray(null==r?void 0:r.colors)&&r.colors.length>0?r.colors:i}));return React.createElement("div",{className:"jp-search-configure-color-input components-base-control"},React.createElement(n.__experimentalColorGradientControl,{label:__("Highlight for search terms","jetpack-search-pkg"),disabled:t,colorValue:r,colors:a,disableCustomColors:!1,disableCustomGradients:!0,onColorChange:s}))}},1497:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(9307),s=r(5609),o=r(5736);const __=o.__,i=window.JetpackInstantSearchOptions.postTypes;function a(e){let{disabled:t,onChange:r,validPostTypes:o=i,value:a}=e;const c=(0,n.useMemo)((()=>Object.keys(o)),[o]),l=(0,n.useMemo)((()=>a&&Array.isArray(a)?new Set(a):new Set),[a]),u=l.size===c.length-1;return React.createElement("div",{className:"jp-search-configure-excluded-post-types-control components-base-control"},React.createElement("div",{className:"jp-search-configure-excluded-post-types-control__label"},__("Excluded post types","jetpack-search-pkg")),u&&React.createElement(s.Notice,{isDismissible:!1,status:"info"},__("You must leave at least one post type unchecked.","jetpack-search-pkg")),c.map((e=>{return React.createElement(s.CheckboxControl,{checked:l.has(e),disabled:t||!l.has(e)&&u,key:e,label:i[e].name,onChange:(n=e,e=>{const t=new Set(l);e?t.add(n):t.delete(n),r([...t])}),value:e});var n})))}},3515:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(5609),s=r(5736),o=r(1074),i=r(5022),a=r(8807),c=r(2463),l=r(3187),u=r(7543),p=r(7146);const __=s.__;function h(e){const{enabledSidebarName:t,enableSidebar:r,disableSidebar:s}=e;return React.createElement("div",{className:"interface-complementary-area jp-search-configure-sidebar"},React.createElement("div",{className:"components-panel__header interface-complementary-area-header jp-search-configure-sidebar__panel-tabs",tabIndex:"-1"},React.createElement(p.Z,{enabledSidebarName:t,enableSidebar:r}),React.createElement(a.Z,null),React.createElement(n.Button,{"aria-label":__("Show preview","jetpack-search-pkg"),className:"jp-search-configure-sidebar__hide-settings-button",variant:"secondary",onClick:s},React.createElement(o.Z,{icon:i.Z}))),React.createElement("div",{className:"components-panel"},t===c.m&&React.createElement(l.Z,null),t===c.E&&React.createElement(u.Z,null)))}},3187:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(2175),s=r(5609),o=r(5736),i=r(6483),a=r(8852);const __=o.__;function c(){return React.createElement("div",{className:"jp-search-configure-sidebar-description"},React.createElement(n.BlockIcon,{icon:a.Y}),React.createElement("div",null,React.createElement("p",null,__("Jetpack Instant Search will allow your visitors to get search results as soon as they start typing. Customize this experience to offer better results that match your site.","jetpack-search-pkg")),React.createElement(s.Button,{href:"widgets.php",variant:"tertiary"},__("Edit widgets","jetpack-search-pkg")),React.createElement(s.Button,{href:(0,i.addQueryArgs)("customize.php",{"autofocus[section]":"jetpack_search",return:`${window.location.pathname}${window.location.search}`}),variant:"tertiary"},__("Configure in the Customizer","jetpack-search-pkg"))))}},7543:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(5235),s=r.n(n),o=r(5609),i=r(5736),a=r(9351),c=r(4121),l=r(3939),u=r(9551),p=r(1497),h=r(6511);const __=i.__;function d(){const{color:e,excludedPostTypes:t,infiniteScroll:r=!0,resultFormat:n,setColor:i,setExcludedPostTypes:d,setInfiniteScroll:f,setResultFormat:m,setShowLogo:g,setSort:v,setSortEnabled:y,setTheme:_,setTrigger:b,showLogo:E=!0,sort:w,sortEnabled:k=!0,theme:S,trigger:j}=(0,l.Z)(),{isSaving:C}=(0,c.Z)(),{isLoading:x}=(0,a.Z)(),O=C||x;return React.createElement(o.Panel,{className:s()("jp-search-configure-sidebar-options",{"jp-search-configure-sidebar-options--is-disabled":O})},React.createElement(o.PanelBody,{title:__("Styling","jetpack-search-pkg"),initialOpen:!0},React.createElement(h.Z,{disabled:O,onChange:_,value:S}),React.createElement(o.RadioControl,{className:"jp-search-configure-result-format-radios",label:__("Result format","jetpack-search-pkg"),selected:n,options:[{label:__("Minimal","jetpack-search-pkg"),value:"minimal"},{label:__("Expanded (shows images)","jetpack-search-pkg"),value:"expanded"},{label:__("Product (for WooCommerce stores)","jetpack-search-pkg"),value:"product"}],onChange:m}),React.createElement(u.Z,{disabled:O,onChange:i,value:e})),React.createElement(o.PanelBody,{title:__("Search options","jetpack-search-pkg"),initialOpen:!0},React.createElement(o.SelectControl,{className:"jp-search-configure-default-sort-select",disabled:O,label:__("Default sort","jetpack-search-pkg"),value:w,options:[{label:__("Relevance (recommended)","jetpack-search-pkg"),value:"relevance"},{label:__("Newest first","jetpack-search-pkg"),value:"newest"},{label:__("Oldest first","jetpack-search-pkg"),value:"oldest"}],onChange:v}),React.createElement(o.SelectControl,{className:"jp-search-configure-overlay-trigger-select",disabled:O,label:__("Overlay trigger","jetpack-search-pkg"),value:j,options:[{label:__("Open when the user starts typing","jetpack-search-pkg"),value:"immediate"},{label:__("Open when results are available","jetpack-search-pkg"),value:"results"},{label:__("Open when user submits the form","jetpack-search-pkg"),value:"submit"}],onChange:b}),React.createElement(p.Z,{disabled:O,onChange:d,value:t})),React.createElement(o.PanelBody,{title:__("Additional settings","jetpack-search-pkg"),initialOpen:!0},React.createElement(o.ToggleControl,{className:"jp-search-configure-show-sort-toggle",checked:k,disabled:O,label:__("Show sort selector","jetpack-search-pkg"),onChange:y}),React.createElement(o.ToggleControl,{className:"jp-search-configure-infinite-scroll-toggle",checked:r,disabled:O,label:__("Enable infinite scroll","jetpack-search-pkg"),onChange:f}),React.createElement(o.ToggleControl,{className:"jp-search-configure-show-logo-toggle",checked:E,disabled:O,label:__('Show "Powered by Jetpack"',"jetpack-search-pkg"),onChange:g})))}},7146:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(5235),s=r.n(n),o=r(5736),i=r(5609),a=r(2463);const __=o.__;function c(e){let{enabledSidebarName:t,enableSidebar:r}=e;return React.createElement("ul",null,React.createElement("li",null,React.createElement(l,{enableSidebar:r,identifier:a.m,isActive:t===a.m,label:__("Jetpack Search","jetpack-search-pkg")})),React.createElement("li",null,React.createElement(l,{enableSidebar:r,identifier:a.E,isActive:t===a.E,label:__("Options","jetpack-search-pkg")})))}function l(e){let{enableSidebar:t,identifier:r,label:n,isActive:a}=e;const c=a?(0,o.sprintf)(// translators: %s: sidebar label e.g: "Options".
+__("%s (selected)","jetpack-search-pkg"),n):n;return React.createElement(i.Button,{onClick:()=>t(r),className:s()("jp-search-configure-sidebar__panel-tab",{"is-active":a}),"aria-label":c,"data-label":n},n)}},6511:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(5235),s=r.n(n),o=r(5609),i=r(5736),a=r(7583);const __=i.__;function c(e){let{disabled:t,value:r,onChange:n}=e;return React.createElement("div",{className:"jp-search-configure-theme-buttons components-base-control"},React.createElement(o.Button,{className:s()({"jp-search-configure-theme-button--selected":"light"===r}),disabled:t,onClick:()=>n("light"),variant:"link"},React.createElement(a.Z,{theme:"light"}),React.createElement("span",{"aria-label":__("Light Theme","jetpack-search-pkg")},__("Light","jetpack-search-pkg"))),React.createElement(o.Button,{className:s()({"jp-search-configure-theme-button--selected":"dark"===r}),disabled:t,onClick:()=>n("dark"),variant:"link"},React.createElement(a.Z,{theme:"dark"}),React.createElement("span",{"aria-label":__("Dark Theme","jetpack-search-pkg")},__("Dark","jetpack-search-pkg"))))}},7583:function(e,t,r){"use strict";function n(e){let{theme:t}=e;const r="dark"===t?"#000":"#fff",n="dark"===t?"#4F5861":"#DDE5EE";return React.createElement("svg",{width:"104",height:"80",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},React.createElement("rect",{x:"7.5",y:"7.5",width:"89",height:"65",rx:"3.5",fill:r,stroke:n}),React.createElement("path",{d:"M16 20a4 4 0 014-4h49a4 4 0 010 8H20a4 4 0 01-4-4zM42 55.5a1.5 1.5 0 011.5-1.5h32a1.5 1.5 0 010 3h-32a1.5 1.5 0 01-1.5-1.5zM42 60.5a1.5 1.5 0 011.5-1.5h11a1.5 1.5 0 010 3h-11a1.5 1.5 0 01-1.5-1.5zM16 47a4 4 0 014-4h12a4 4 0 014 4v12a4 4 0 01-4 4H20a4 4 0 01-4-4V47zM42 48a3 3 0 013-3h40a3 3 0 110 6H45a3 3 0 01-3-3zM8 32h89v1H8z",fill:n}))}r.d(t,{Z:function(){return n}})},4121:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(9196),s=r(9818);function o(){const{saveEntityRecord:e,undo:t,redo:r}=(0,s.useDispatch)("core"),o=(0,s.useSelect)((e=>e("core").getEntityRecordEdits("root","site"))),i=o&&Object.keys(o).length>0,a=(0,s.useSelect)((e=>e("core").isSavingEntityRecord("root","site"))),c=(0,s.useSelect)((e=>e("core").hasUndo())),l=(0,s.useSelect)((e=>e("core").hasRedo())),u=(0,n.useCallback)((()=>{i&&e("root","site",o)}),[o,i,e]);return{editedEntities:o,hasRedo:c,hasUndo:l,hasUnsavedEdits:i,isSaving:a,redo:r,saveRecords:u,undo:t}}},9351:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(9818);function s(){return{isLoading:!(0,n.useSelect)((e=>e("core").getSite()))}}},3939:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(9196),s=r(7798);function o(){const[e,t]=(0,s.useEntityProp)("root","site","jetpack_search_color_theme"),[r,o]=(0,s.useEntityProp)("root","site","jetpack_search_result_format"),[i,a]=(0,s.useEntityProp)("root","site","jetpack_search_default_sort"),[c,l]=(0,s.useEntityProp)("root","site","jetpack_search_overlay_trigger"),[u,p]=(0,s.useEntityProp)("root","site","jetpack_search_highlight_color"),[h,d]=(0,s.useEntityProp)("root","site","jetpack_search_enable_sort"),[f,m]=(0,s.useEntityProp)("root","site","jetpack_search_inf_scroll"),[g,v]=(0,s.useEntityProp)("root","site","jetpack_search_show_powered_by"),[y,_]=(0,s.useEntityProp)("root","site","jetpack_search_excluded_post_types");return{color:u,excludedPostTypes:(0,n.useMemo)((()=>null==y?void 0:y.split(",").filter((e=>(null==e?void 0:e.length)>0))),[y]),infiniteScroll:f,resultFormat:r,setColor:p,setExcludedPostTypes:e=>_(e.join(",")),setInfiniteScroll:m,setResultFormat:o,setShowLogo:v,setSort:a,setSortEnabled:d,setTheme:t,setTrigger:l,showLogo:g,sort:i,sortEnabled:h,theme:e,trigger:c}}},5275:function(e,t,r){"use strict";r.d(t,{AM:function(){return i},Ny:function(){return a},j2:function(){return o},q0:function(){return s}});var n=r(8050);const s="jetpack_search_customberg",o=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.tU)(...t,!0)},i=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.AM)(...t,!0)},a=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.Ny)(...t,!0)}},2463:function(e,t,r){"use strict";r.d(t,{E:function(){return s},m:function(){return n}});const n="jetpack-customize-search/info",s="jetpack-customize-search/options"},5332:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(8294),s=r.n(n),o=r(9196),i=r(4184);class a extends o.Component{constructor(){super(...arguments),s()(this,"handleOverlayOptionsUpdate",(e=>{this.props.updateOverlayOptions(e,(()=>this.props.showResults()))}))}componentDidMount(){(0,i.vJ)(this.handleOverlayOptionsUpdate),(0,i.Em)(this.props.toggleResults)}render(){return null}}},1773:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(8294),s=r.n(n),o=(r(3679),r(9196)),i=r(3259),a=r.n(i);class c extends o.Component{constructor(){super(...arguments),s()(this,"handleCompositionStart",(()=>this.setState({isComposing:!0}))),s()(this,"handleCompositionEnd",(()=>this.setState({isComposing:!1}))),s()(this,"handleFilterInputClick",(e=>{e.preventDefault(),e.currentTarget.dataset.filterType&&("taxonomy"===e.currentTarget.dataset.filterType?this.props.setFilter(e.currentTarget.dataset.taxonomy,e.currentTarget.dataset.val):this.props.setFilter(e.currentTarget.dataset.filterType,e.currentTarget.dataset.val)),this.props.setSearchQuery(""),this.props.showResults()})),s()(this,"handleHistoryNavigation",(()=>{this.props.initializeQueryValues({isHistoryNavigation:!0})})),s()(this,"handleInput",a()((e=>{var t,r;null!==(t=e.inputType)&&void 0!==t&&t.includes("format")||""===e.target.value||(this.state.isComposing||"submit"!==this.props.overlayOptions.overlayTrigger&&(this.props.setSearchQuery(e.target.value),"immediate"===this.props.overlayOptions.overlayTrigger&&this.props.showResults(),"results"===this.props.overlayOptions.overlayTrigger&&(null===(r=this.props.response)||void 0===r?void 0:r.results)&&this.props.showResults()))}),200)),s()(this,"handleKeyup",(e=>{"Enter"===e.key&&(this.props.setSearchQuery(e.target.value),this.props.showResults())})),s()(this,"handleOverlayTriggerClick",(e=>{e.stopImmediatePropagation(),this.props.setSearchQuery(""),this.props.showResults()})),s()(this,"handleSubmit",(e=>{if(e.preventDefault(),this.handleInput.flush(),!this.props.isVisible){var t;const r=null===(t=e.target.querySelector(this.props.themeOptions.searchInputSelector))||void 0===t?void 0:t.value;"string"==typeof r&&this.props.setSearchQuery(r),this.props.showResults()}})),s()(this,"fixBodyScroll",(()=>{var e;this.props.isVisible?(this.preventBodyScroll(),null===(e=window)||void 0===e||e.scrollTo(0,0)):this.props.isVisible||this.restoreBodyScroll()})),this.state={isComposing:!1,bodyScrollTop:0,previousStyle:null,previousBodyStyleAttribute:""},this.props.initializeQueryValues()}componentDidMount(){this.disableUnnecessaryFormAndInputAttributes(),this.addEventListeners()}componentWillUnmount(){this.removeEventListeners(),this.restoreBodyScroll()}componentDidUpdate(e){this.props.isVisible!==e.isVisible&&this.fixBodyScroll()}disableUnnecessaryFormAndInputAttributes(){document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.removeAttribute("required"),e.removeAttribute("autocomplete"),e.form.removeAttribute("autocomplete")}))}addEventListeners(){window.addEventListener("popstate",this.handleHistoryNavigation),document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.form.addEventListener("submit",this.handleSubmit),e.addEventListener("keyup",this.handleKeyup),e.addEventListener("input",this.handleInput),e.addEventListener("compositionstart",this.handleCompositionStart),e.addEventListener("compositionend",this.handleCompositionEnd)})),document.querySelectorAll(this.props.themeOptions.overlayTriggerSelector).forEach((e=>{e.addEventListener("click",this.handleOverlayTriggerClick,!0)})),document.querySelectorAll(this.props.themeOptions.filterInputSelector).forEach((e=>{e.addEventListener("click",this.handleFilterInputClick)}))}removeEventListeners(){window.removeEventListener("popstate",this.handleHistoryNavigation),document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.form.removeEventListener("submit",this.handleSubmit),e.removeEventListener("keyup",this.handleKeyup),e.removeEventListener("input",this.handleInput),e.removeEventListener("compositionstart",this.handleCompositionStart),e.removeEventListener("compositionend",this.handleCompositionEnd)})),document.querySelectorAll(this.props.themeOptions.overlayTriggerSelector).forEach((e=>{e.removeEventListener("click",this.handleOverlayTriggerClick,!0)})),document.querySelectorAll(this.props.themeOptions.filterInputSelector).forEach((e=>{e.removeEventListener("click",this.handleFilterInputClick)}))}preventBodyScroll(){this.setState({bodyScrollTop:parseInt(window.scrollY)||0,previousStyle:{top:document.body.style.top,left:document.body.style.left,right:document.body.style.right,scrollBehavior:document.documentElement.style.scrollBehavior},previousBodyStyleAttribute:document.body.getAttribute("style")},(()=>{var e,t;const r=(null===(e=document.documentElement)||void 0===e?void 0:e.scrollHeight)-(null===(t=document.body)||void 0===t?void 0:t.scrollHeight)||0;document.body.setAttribute("style","position: fixed !important"),document.body.style.top=`-${this.state.bodyScrollTop-r}px`,document.body.style.left=0,document.body.style.right=0}))}restoreBodyScroll(){var e,t,r,n,s,o,i,a;this.state.previousBodyStyleAttribute?document.body.setAttribute("style",this.state.previousBodyStyleAttribute):document.body.removeAttribute("style"),document.body.style.top=null!==(e=null===(t=this.state.previousStyle)||void 0===t?void 0:t.top)&&void 0!==e?e:"",document.body.style.left=null!==(r=null===(n=this.state.previousStyle)||void 0===n?void 0:n.left)&&void 0!==r?r:"",document.body.style.right=null!==(s=null===(o=this.state.previousStyle)||void 0===o?void 0:o.right)&&void 0!==s?s:"",document.documentElement.style.scrollBehavior="revert",this.state.bodyScrollTop>0&&window.scrollTo(0,this.state.bodyScrollTop),document.documentElement.style.scrollBehavior=null!==(i=null===(a=this.state.previousStyle)||void 0===a?void 0:a.scrollBehavior)&&void 0!==i?i:"",this.setState({bodyScrollTop:0,previousStyle:null,previousBodyStyleAttribute:""})}render(){return null}}},1180:function(e,t,r){"use strict";var n=r(8294),s=r.n(n),o=r(9196),i=r.n(o),a=r(5736);const __=a.__;class c extends o.Component{needsOffset(e,t){return["gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGTitle(e){if("title"in this.props)return this.props.title?i().createElement("title",null,this.props.title):null;switch(e){default:return null;case"gridicons-audio":return i().createElement("title",null,__("Has audio.","jetpack-search-pkg"));case"gridicons-calendar":return i().createElement("title",null,__("Is an event.","jetpack-search-pkg"));case"gridicons-cart":return i().createElement("title",null,__("Is a product.","jetpack-search-pkg"));case"chevron-down":return i().createElement("title",null,__("Show filters","jetpack-search-pkg"));case"gridicons-comment":return i().createElement("title",null,__("Matching comment.","jetpack-search-pkg"));case"gridicons-cross":return i().createElement("title",null,__("Close search results","jetpack-search-pkg"));case"gridicons-filter":return i().createElement("title",null,__("Toggle search filters.","jetpack-search-pkg"));case"gridicons-folder":return i().createElement("title",null,__("Category","jetpack-search-pkg"));case"gridicons-image-multiple":return i().createElement("title",null,__("Has multiple images.","jetpack-search-pkg"));case"gridicons-image":return i().createElement("title",null,__("Has an image.","jetpack-search-pkg"));case"gridicons-page":return i().createElement("title",null,__("Page","jetpack-search-pkg"));case"gridicons-post":return i().createElement("title",null,__("Post","jetpack-search-pkg"));case"gridicons-jetpack-search":case"gridicons-search":return i().createElement("title",null,__("Magnifying Glass","jetpack-search-pkg"));case"gridicons-tag":return i().createElement("title",null,__("Tag","jetpack-search-pkg"));case"gridicons-video":return i().createElement("title",null,__("Has a video.","jetpack-search-pkg"))}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return i().createElement("g",null,i().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-block":return i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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-down":return i().createElement("g",null,i().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return i().createElement("g",null,i().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-cross":return i().createElement("g",null,i().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 i().createElement("g",null,i().createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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-jetpack-search":return i().createElement("g",null,i().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-pages":return i().createElement("g",null,i().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 i().createElement("g",null,i().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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"}))}}render(){const{size:e=24,className:t=""}=this.props,r=this.props.height||e,n=this.props.width||e,s=this.props.style||{height:r,width:n},o="gridicons-"+this.props.icon;let a=["gridicon",o,t];return this.needsOffset(o,e)&&a.push("needs-offset"),a=a.join(" "),i().createElement("svg",{className:a,focusable:this.props.focusable,height:r,onClick:this.props.onClick,style:s,viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},this.getSVGTitle(o),this.renderIcon(o))}}s()(c,"defaultProps",{"aria-hidden":"false",focusable:"true"}),t.Z=c},8852:function(e,t,r){"use strict";r.d(t,{Y:function(){return a}});var n=r(9196),s=r.n(n),o=r(5736);const __=o.__,i="#fff",a=s().createElement("svg",{className:"jetpack-instant-search__jetpack-colophon-logo",height:12,width:12,viewBox:"0 0 32 32"},s().createElement("path",{className:"jetpack-logo__icon-circle",fill:"#069e08",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),s().createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:i,points:"15,19 7,19 15,3 "}),s().createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:i,points:"17,29 17,13 25,13 "}));t.Z=e=>{const t="string"==typeof e.locale?e.locale.split("-",1)[0]:null,r=t&&"en"!==t?"https://"+t+".jetpack.com/search?utm_source=poweredby":"https://jetpack.com/search?utm_source=poweredby";return s().createElement("div",{className:"jetpack-instant-search__jetpack-colophon"},s().createElement("a",{href:r,rel:"external noopener noreferrer nofollow",target:"_blank",className:"jetpack-instant-search__jetpack-colophon-link"},a,s().createElement("span",{className:"jetpack-instant-search__jetpack-colophon-text"},__("Search powered by Jetpack","jetpack-search-pkg"))))}},4741:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(1180);t.Z=e=>{let{type:t,children:r}=e;return"warning"!==t?null:s().createElement("div",{className:"jetpack-instant-search__notice jetpack-instant-search__notice--warning"},s().createElement(o.Z,{icon:"info",size:20}),r)}},6321:function(e,t,r){"use strict";var n=r(5736),s=r(9196),o=r.n(s),i=r(9755);const __=n.__;t.Z=e=>{const{children:t,closeOverlay:r,colorTheme:n,hasOverlayWidgets:a,isVisible:c}=e;return(0,s.useEffect)((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),r())},t=e=>{var t;const n=document.getElementsByClassName("jetpack-instant-search__search-results")[0];null!==(t=e.target)&&void 0!==t&&t.isConnected&&n&&!n.contains(e.target)&&r()};return window.addEventListener("keydown",e),c?window.addEventListener("click",t):window.removeEventListener("click",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("click",t)}}),[r,c]),o().createElement("div",{"aria-hidden":!c,"aria-labelledby":"jetpack-instant-search__overlay-title",className:["jetpack-instant-search",i.zg,`jetpack-instant-search__overlay--${n}`,a?"":"jetpack-instant-search__overlay--no-sidebar",c?"":"is-hidden"].join(" "),role:"dialog"},o().createElement("h1",{id:"jetpack-instant-search__overlay-title",className:"screen-reader-text"},__("Search results","jetpack-search-pkg")),t)}},4809:function(e,t,r){"use strict";var n=r(9196),s=r.n(n);t.Z=e=>{let{className:t,onClick:r,url:n}=e;const o=function(e){const t=e.split("/").filter((e=>e.length>0));return t.shift(),t}(n);return o.length<1?null:s().createElement("div",{className:`jetpack-instant-search__path-breadcrumb ${t||""}`},s().createElement("a",{className:"jetpack-instant-search__path-breadcrumb-link",href:`//${n}`,onClick:r},o.map(((e,t,r)=>s().createElement("span",{className:"jetpack-instant-search__path-breadcrumb-piece",key:e},decodeURIComponent(e),t!==r.length-1?" › ":"")))))}},1459:function(e,t,r){"use strict";var n=r(2402),s=r.n(n),o=r(9196),i=r.n(o),a=r(9087);t.Z=e=>{const{alt:t,isPhotonEnabled:r,maxHeight:n=600,maxWidth:c=600,src:l,lazyLoad:u=!0,...p}=e,h=(0,o.useRef)(),[d,f]=(0,o.useState)(null),m=(0,a.y)(l,c,n,r);return(0,o.useEffect)((()=>{if(!m)return;let e=null;return u&&"IntersectionObserver"in window?(e=new window.IntersectionObserver(((e,t)=>{for(const r of e)r.isIntersecting&&(f(m),t.unobserve(r.target))})),e.observe(h.current)):f(m),()=>{var t;null===(t=e)||void 0===t||t.disconnect()}}),[u,m]),i().createElement("img",s()({alt:t,ref:h,src:d},p))}},883:function(e,t,r){"use strict";r(3679);var n=r(9196),s=r.n(n),o=r(1180),i=r(2601);const a=["youtube","ooyala","anvplayer","wpvideo","bc_video","video","brightcove","tp_video","jwplayer","tempo-video","vimeo"],c=["gallery","ione_media_gallery"],l=["audio","soundcloud"],u={product:"cart",video:"video",gallery:"image-multiple",event:"calendar",events:"calendar"};t.Z=e=>{let{postType:t,shortcodeTypes:r,iconSize:n=18}=e;if(Object.keys(u).includes(t))return s().createElement(o.Z,{icon:u[t],size:n});const p=(0,i.Z)(r,a),h=(0,i.Z)(r,l),d=(0,i.Z)(r,c);return p?s().createElement(o.Z,{icon:"video",size:n}):h?s().createElement(o.Z,{icon:"audio",size:n}):"page"===t?s().createElement(o.Z,{icon:"pages",size:n}):d?s().createElement(o.Z,{icon:"image-multiple",size:n}):null}},4682:function(e,t,r){"use strict";var n=r(9196),s=r.n(n);class o extends n.Component{render(){const{formattedPrice:e,formattedSalePrice:t,formattedRegularPrice:r,price:o,salePrice:i}=this.props;return o?s().createElement("span",{className:"jetpack-instant-search__product-price"},i>0?s().createElement(n.Fragment,null,s().createElement("s",{className:"jetpack-instant-search__product-price-regular",dangerouslySetInnerHTML:{__html:r}}),s().createElement("span",{dangerouslySetInnerHTML:{__html:t}})):s().createElement("span",{dangerouslySetInnerHTML:{__html:e}})):null}}t.Z=o},6565:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(5736),s=r(9196),o=r.n(s),i=r(1180);const _n=n._n;function a(e){let{rating:t=0,count:r=0,permalink:s}=e;return o().createElement("div",{className:"jetpack-instant-search__product-rating"},o().createElement("span",{"aria-hidden":!0,className:"jetpack-instant-search__product-rating-stars"},Array(5).fill(o().createElement(i.Z,{size:16,icon:"star-outline"})).fill(o().createElement(i.Z,{size:16,icon:"star"}),0,t))," ",o().createElement("a",{"aria-hidden":!0,className:"jetpack-instant-search__product-rating-count",href:s+"#reviews"},(0,n.sprintf)(
+/* Translators: the placeholder is the number of product reviews. */
+_n("%d review","%d reviews",r,"jetpack-search-pkg"),r)),o().createElement("span",{className:"screen-reader-text"},(0,n.sprintf)(
+/* Translators: the first placeholder is the average product rating out of 5; the second is the number of product reviews. */
+_n("Average rating of %1$d out of 5 from %2$d review.","Average rating of %1$d out of 5 from %2$d reviews.",r,"jetpack-search-pkg"),Number(t).toFixed(2),r)))}},423:function(e,t,r){"use strict";var n=r(8294),s=r.n(n),o=r(9196),i=r.n(o),a=r(5736),c=r(3259),l=r.n(c),u=r(9755);const __=a.__;class p extends o.Component{constructor(){super(...arguments),s()(this,"overlayElement",document.getElementsByClassName(u.zg)[0]),s()(this,"checkScroll",l()((()=>{this.props.enableLoadOnScroll&&window.innerHeight+this.overlayElement.scrollTop>=this.overlayElement.scrollHeight&&this.props.onLoadNextPage()}),100))}componentDidMount(){this.overlayElement.addEventListener("scroll",this.checkScroll)}componentDidUnmount(){this.overlayElement.removeEventListener("scroll",this.checkScroll)}render(){return i().createElement("button",{className:"jetpack-instant-search__scroll-button",disabled:this.props.isLoading,onClick:this.props.onLoadNextPage},this.props.isLoading?i().createElement("span",null,__("Loading…","jetpack-search-pkg")):i().createElement("span",null,__("Load more","jetpack-search-pkg")))}}t.Z=p},5652:function(e,t,r){"use strict";var n=r(8294),s=r.n(n),o=r(9196),i=r.n(o),a=r(1850),c=r(3259),l=r.n(c),u=r(9309),p=r(7390),h=r.n(p),d=r(5332),f=r(1773),m=r(6321),g=r(2975),v=r(8050),y=r(9755),_=r(1547),b=r(6302),E=r(8389),w=r(1530);class k extends o.Component{constructor(){var e;super(...arguments),e=this,s()(this,"getResultFormat",(()=>{const e=(0,b.ug)();return this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==y.Bk?y.Pz:e||this.state.overlayOptions.resultFormat})),s()(this,"initializeStaticFilters",(()=>{const e=(0,_.bA)();e.length>0&&0===Object.keys(this.props.staticFilters).length&&e.forEach((e=>this.props.setStaticFilter(e.filter_id,e.selected,!0)))})),s()(this,"hideResults",(e=>{this.props.shouldIntegrateWithDom&&(0,b.Q0)(this.props.initialHref,(()=>{this.setState({isVisible:!1}),this.props.clearQueryValues()}),e)})),s()(this,"toggleResults",(e=>{this.props.shouldIntegrateWithDom&&this.state.isVisible!==e&&(e&&this.initializeStaticFilters(),this.setState({isVisible:e}))})),s()(this,"showResults",this.toggleResults.bind(this,!0)),s()(this,"onChangeQueryString",(e=>{this.getResults(),this.props.hasActiveQuery&&!this.state.isVisible&&this.showResults(),!this.props.hasActiveQuery&&e&&this.hideResults(e),null!==this.props.searchQuery&&document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.value=this.props.searchQuery}))})),s()(this,"loadNextPage",(()=>{this.props.hasNextPage&&this.getResults({pageHandle:this.props.response.page_handle})})),s()(this,"getResults",(function(){let{pageHandle:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.props.makeSearchRequest({aggregations:t?{}:e.props.aggregations,excludedPostTypes:e.state.overlayOptions.excludedPostTypes,filter:e.props.filters,staticFilters:e.props.staticFilters,pageHandle:t,query:e.props.searchQuery,resultFormat:e.getResultFormat(),siteId:e.props.options.siteId,sort:e.props.sort,postsPerPage:e.props.options.postsPerPage,adminQueryFilter:e.props.options.adminQueryFilter,isInCustomizer:e.props.isInCustomizer})})),s()(this,"updateOverlayOptions",((e,t)=>{this.setState((t=>({overlayOptionsCustomizerOverride:{...t.overlayOptionsCustomizerOverride,...e}})),t)})),this.state={isVisible:!!this.props.initialIsVisible,overlayOptionsCustomizerOverride:{}},this.getResults=l()(this.getResults,200),this.props.enableAnalytics?this.initializeAnalytics():(0,v.IJ)(),this.props.shouldIntegrateWithDom?this.props.initializeQueryValues():this.props.disableQueryStringIntegration()}static getDerivedStateFromProps(e,t){return{overlayOptions:{...e.overlayOptions,...t.overlayOptionsCustomizerOverride}}}componentDidMount(){this.getResults(),this.props.hasActiveQuery&&this.showResults()}componentDidUpdate(e,t){e.searchQuery===this.props.searchQuery&&e.sort===this.props.sort&&h()(e.filters)===h()(this.props.filters)&&h()(e.staticFilters)===h()(this.props.staticFilters)||this.onChangeQueryString(this.props.isHistoryNavigation),t.overlayOptions.defaultSort!==this.state.overlayOptions.defaultSort&&this.props.setSort(this.state.overlayOptions.defaultSort),h()(t.overlayOptions.excludedPostTypes)!==h()(this.state.overlayOptions.excludedPostTypes)&&this.getResults()}initializeAnalytics(){(0,v.tU)(),(0,v.vy)(),(0,v.AM)(this.props.options.siteId)}render(){const e=this.getResultFormat(),t=this.props.shouldCreatePortal?a.createPortal:e=>e;return i().createElement(o.Fragment,null,this.props.isInCustomizer&&i().createElement(d.Z,{showResults:this.showResults,toggleResults:this.toggleResults,updateOverlayOptions:this.updateOverlayOptions}),this.props.shouldIntegrateWithDom&&i().createElement(f.Z,{initializeQueryValues:this.props.initializeQueryValues,isVisible:this.state.isVisible,overlayOptions:this.state.overlayOptions,setFilter:this.props.setFilter,setSearchQuery:this.props.setSearchQuery,showResults:this.showResults,themeOptions:this.props.themeOptions}),t(i().createElement(m.Z,{closeColor:this.state.overlayOptions.closeColor,closeOverlay:this.hideResults,colorTheme:this.state.overlayOptions.colorTheme,hasOverlayWidgets:this.props.hasOverlayWidgets,isVisible:this.state.isVisible},i().createElement(g.Z,{closeOverlay:this.hideResults,enableLoadOnScroll:this.state.overlayOptions.enableInfScroll,enableSort:this.state.overlayOptions.enableSort,filters:this.props.filters,staticFilters:this.props.staticFilters,hasError:this.props.hasError,hasNextPage:this.props.hasNextPage,highlightColor:this.state.overlayOptions.highlightColor,isLoading:this.props.isLoading,isPhotonEnabled:this.props.options.isPhotonEnabled,isPrivateSite:this.props.options.isPrivateSite,isVisible:this.state.isVisible,locale:this.props.options.locale,onChangeSearch:this.props.setSearchQuery,onChangeSort:this.props.setSort,onLoadNextPage:this.loadNextPage,overlayTrigger:this.state.overlayOptions.overlayTrigger,postTypes:this.props.options.postTypes,response:this.props.response,resultFormat:e,searchQuery:this.props.searchQuery,showPoweredBy:this.state.overlayOptions.showPoweredBy,sort:this.props.sort,widgets:this.props.options.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay,hasNonSearchWidgets:this.props.options.hasNonSearchWidgets})),document.body))}}s()(k,"defaultProps",{overlayOptions:{},widgets:[]}),t.Z=(0,u.$j)(((e,t)=>({filters:(0,w.Zj)(e),staticFilters:(0,w.Bk)(e),hasActiveQuery:(0,w.en)(e),hasError:(0,w.xT)(e),isHistoryNavigation:(0,w.wI)(e),hasNextPage:(0,w.Qy)(e),isLoading:(0,w.hg)(e),response:(0,w.ck)(e),searchQuery:(0,w.uP)(e),sort:(0,w.r$)(e,t.overlayOptions.defaultSort),widgetOutsideOverlay:(0,w.ZN)(e)})),{clearQueryValues:E.Mz,disableQueryStringIntegration:E.OZ,initializeQueryValues:E.Ln,makeSearchRequest:E.x1,setStaticFilter:E.O1,setFilter:E.Tv,setSearchQuery:E.ql,setSort:E.HD})(k)},3725:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(5736),i=r(5348),a=r.n(i),c=r(1180);const __=o.__;let l=null;t.Z=e=>{var t;const[r]=(0,n.useState)((()=>a()("jetpack-instant-search__box-input-"))),o=(0,n.useRef)(null);return(0,n.useEffect)((()=>{var t;e.isVisible?(t=o.current,()=>{l=document.activeElement,t.focus()})():e.shouldRestoreFocus&&l&&l.focus()}),[e.isVisible,e.shouldRestoreFocus]),s().createElement(n.Fragment,null,s().createElement("div",{className:"jetpack-instant-search__box"},s().createElement("label",{className:"jetpack-instant-search__box-label",htmlFor:r},s().createElement("div",{className:"jetpack-instant-search__box-gridicon"},s().createElement(c.Z,{icon:"search",size:24})),s().createElement("input",{autoComplete:"off",id:r,className:"search-field jetpack-instant-search__box-input",inputMode:"search",onChange:e.isVisible?e.onChange:null,ref:o,placeholder:__("Search…","jetpack-search-pkg"),type:"search",value:null!==(t=e.searchQuery)&&void 0!==t?t:""}),"string"==typeof e.searchQuery&&e.searchQuery.length>0&&
+/* Translators: Button is used to clear the search input query. */
+s().createElement("input",{type:"button",value:__("clear","jetpack-search-pkg"),onClick:e.onClear}),s().createElement("button",{className:"screen-reader-text assistive-text"},__("Search","jetpack-search-pkg")))))}},7704:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(9873);t.Z=e=>s().createElement("div",{className:"jetpack-instant-search__search-form-controls",role:"form"},e.children,e.enableSort&&s().createElement(o.Z,{onChange:e.onChangeSort,resultFormat:e.resultFormat,value:e.sort}))},2547:function(e,t,r){"use strict";r.d(t,{Z:function(){return d},a:function(){return h}});var n=r(8294),s=r.n(n),o=(r(3679),r(9196)),i=r.n(o),a=r(4553),c=r.n(a),l=r(5348),u=r.n(l),p=r(2160);const h=e=>e.split(" ").join("T");class d extends o.Component{constructor(){super(...arguments),s()(this,"filtersList",(0,o.createRef)()),s()(this,"idPrefix",u()("jetpack-instant-search__search-filter-")),s()(this,"toggleFilter",(()=>{this.props.onChange(this.getIdentifier(),(0,p.b)(this.filtersList.current))})),s()(this,"toggleStaticFilter",(e=>{this.props.onChange(this.getIdentifier(),e.target.value)})),s()(this,"renderDate",(e=>{let{key_as_string:t,doc_count:r}=e;const{locale:n="en-US"}=this.props;return i().createElement("div",null,i().createElement("input",{checked:this.isChecked(t),disabled:!this.isChecked(t)&&0===r,id:`${this.idPrefix}-dates-${this.getIdentifier()}-${t}`,name:t,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-dates-${this.getIdentifier()}-${t}`,className:"jetpack-instant-search__search-filter-list-label"},new Date(h(t)).toLocaleString(n,function(e){switch(e){case"day":return{year:"numeric",month:"long",day:"numeric"};case"month":return{year:"numeric",month:"long"};case"year":return{year:"numeric"}}return{year:"numeric",month:"long"}}(this.props.configuration.interval))," ","(",r,")"))})),s()(this,"renderPostType",(e=>{let{key:t,doc_count:r}=e;const n=t in this.props.postTypes?this.props.postTypes[t].singular_name:t;return i().createElement("div",null,i().createElement("input",{checked:this.isChecked(t),disabled:!this.isChecked(t)&&0===r,id:`${this.idPrefix}-post-types-${t}`,name:t,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-post-types-${t}`,className:"jetpack-instant-search__search-filter-list-label"},c()(n)," (",r,")"))})),s()(this,"renderTaxonomy",(e=>{let{key:t,doc_count:r}=e;const[n,s]=t&&t.split(/\/(.+)/);return i().createElement("div",null,i().createElement("input",{checked:this.isChecked(n),disabled:!this.isChecked(n)&&0===r,id:`${this.idPrefix}-taxonomies-${n}`,name:n,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-taxonomies-${n}`,className:"jetpack-instant-search__search-filter-list-label"},c()(s)," (",r,")"))})),s()(this,"renderGroup",(e=>i().createElement("div",null,i().createElement("input",{checked:this.isChecked(e.value),id:`${this.idPrefix}-groups-${e.value}`,name:this.props.configuration.filter_id,onChange:this.toggleStaticFilter,value:e.value,type:"radio",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-groups-${e.value}`,className:"jetpack-instant-search__search-filter-list-label"},e.name))))}getIdentifier(){return"postType"===this.props.type?"post_types":"date"===this.props.type?`${this.props.configuration.interval}_${this.props.configuration.field}`:"taxonomy"===this.props.type?this.props.configuration.taxonomy:"group"===this.props.type?this.props.configuration.filter_id:void 0}isChecked(e){return Boolean(this.props.value&&this.props.value.includes(e))}renderDates(){return[...this.props.aggregation.buckets.filter((e=>!!e)).map(this.renderDate)].reverse().slice(0,this.props.configuration.count)}renderPostTypes(){return this.props.aggregation.buckets.map(this.renderPostType)}renderTaxonomies(){return this.props.aggregation.buckets.map(this.renderTaxonomy)}renderGroups(){return this.props.configuration.values.map(this.renderGroup)}render(){return i().createElement("div",null,i().createElement("h3",{className:"jetpack-instant-search__search-filter-sub-heading"},this.props.configuration.name),i().createElement("div",{ref:this.filtersList},i().createElement("div",{className:"jetpack-instant-search__search-filter-list jetpack-instant-search__search-static-filter-list"},"group"===this.props.type&&this.renderGroups()),this.props.aggregation&&"buckets"in this.props.aggregation&&i().createElement("div",{className:"jetpack-instant-search__search-filter-list"},"date"===this.props.type&&this.renderDates(),"postType"===this.props.type&&this.renderPostTypes(),"taxonomy"===this.props.type&&this.renderTaxonomies())))}}},1631:function(e,t,r){"use strict";var n=r(8294),s=r.n(n),o=r(9196),i=r.n(o),a=r(5736),c=r(9309),l=r(2547),u=r(1547),p=r(8389),h=r(8050);const __=a.__;class d extends o.Component{constructor(){super(...arguments),s()(this,"onChangeFilter",((e,t)=>{this.props.setFilter(e,t),this.props.onChange&&this.props.onChange()})),s()(this,"onChangeStaticFilter",((e,t)=>{(0,h.GE)({filterName:e,filterValue:t}),this.props.setStaticFilter(e,t),this.props.onChange&&this.props.onChange()})),s()(this,"onClearFilters",(e=>{e.preventDefault(),"click"!==e.type&&("keydown"!==e.type||"Enter"!==e.key&&" "!==e.key)||(this.props.clearFilters(),this.props.onChange&&this.props.onChange())})),s()(this,"renderFilterComponent",(e=>{let{configuration:t,results:r}=e;return r&&i().createElement(l.Z,{aggregation:r,configuration:t,locale:this.props.locale,onChange:this.onChangeFilter,postTypes:this.props.postTypes,type:(0,u.jc)(t),value:this.props.filters[(0,u.jZ)(t)]})})),s()(this,"renderStaticFilterComponent",(e=>e.hasOwnProperty("visible")&&!e.visible?null:i().createElement(l.Z,{aggregation:[],configuration:e,locale:this.props.locale,onChange:this.onChangeStaticFilter,postTypes:this.props.postTypes,type:(0,u.jc)(e),value:this.props.staticFilters[(0,u.jZ)(e)]})))}hasActiveFilters(){return Object.keys(this.props.filters).length>0}render(){var e,t,r,n;if(!this.props.widget)return null;const s=(0,u.bA)(),o=null===(e=this.props.results)||void 0===e?void 0:e.aggregations;return i().createElement("div",{className:"jetpack-instant-search__search-filters"},this.props.showTitle&&i().createElement("h2",{className:"jetpack-instant-search__search-filters-title"},__("Filter options","jetpack-search-pkg")),this.props.showClearFiltersButton&&this.hasActiveFilters()&&i().createElement("a",{class:"jetpack-instant-search__clear-filters-link",href:"#",onClick:this.onClearFilters,onKeyDown:this.onClearFilters,role:"button",tabIndex:"0"},__("Clear filters","jetpack-search-pkg")),(null===(t=this.props.widget)||void 0===t?void 0:t.filters)&&this.props.widget.filters.length>0&&s.map(this.renderStaticFilterComponent),null===(r=this.props.widget)||void 0===r||null===(n=r.filters)||void 0===n?void 0:n.map((e=>o?{configuration:e,results:o[e.filter_id]}:null)).filter((e=>!!e)).filter((e=>{let{results:t}=e;return!!t&&Array.isArray(t.buckets)&&t.buckets.length>0})).map(this.renderFilterComponent))}}s()(d,"defaultProps",{showClearFiltersButton:!0,showTitle:!0}),t.Z=(0,c.$j)(null,{clearFilters:p.K5,setFilter:p.Tv,setStaticFilter:p.O1})(d)},9988:function(e,t,r){"use strict";var n=r(8294),s=r.n(n),o=r(9196),i=r.n(o),a=r(3725);const c=e=>e.preventDefault();class l extends o.Component{constructor(){super(...arguments),s()(this,"onClear",(()=>this.props.onChangeSearch(""))),s()(this,"onChangeSearch",(e=>this.props.onChangeSearch(e.currentTarget.value)))}render(){return i().createElement("form",{autoComplete:"off",onSubmit:c,role:"search",className:this.props.className},i().createElement("div",{className:"jetpack-instant-search__search-form"},i().createElement(a.Z,{isVisible:this.props.isVisible,onChange:this.onChangeSearch,onClear:this.onClear,shouldRestoreFocus:!0,searchQuery:this.props.searchQuery})))}}t.Z=l},3162:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(1180);t.Z=e=>{let{comments:t,iconSize:r=18}=e;return t?s().createElement("div",{className:"jetpack-instant-search__search-result-comments"},s().createElement(o.Z,{icon:"comment",size:r}),s().createElement("span",{className:"jetpack-instant-search__search-result-comments-text",dangerouslySetInnerHTML:{__html:t.join(" ... ")}})):null}},1954:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(9196),s=r.n(n),o=r(4809),i=r(1459),a=r(3162),c=r(2547);function l(e){const{isMultiSite:t,locale:r="en-US"}=e,{result_type:n,fields:l,highlight:u}=e.result;if("post"!==n)return null;const p=Array.isArray(l["image.url.raw"])?l["image.url.raw"][0]:l["image.url.raw"];return s().createElement("li",{className:["jetpack-instant-search__search-result","jetpack-instant-search__search-result-expanded",`jetpack-instant-search__search-result-expanded--${l.post_type}`,p?"":"jetpack-instant-search__search-result-expanded--no-image",t?"is-multisite":""].join(" ")},s().createElement("div",{className:"jetpack-instant-search__search-result-expanded__content-container"},s().createElement("div",{className:"jetpack-instant-search__search-result-expanded__copy-container"},s().createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-expanded__title"},s().createElement("a",{className:"jetpack-instant-search__search-result-title-link jetpack-instant-search__search-result-expanded__title-link",href:`//${l["permalink.url.raw"]}`,onClick:e.onClick,dangerouslySetInnerHTML:{__html:u.title}})),!t&&s().createElement(o.Z,{className:"jetpack-instant-search__search-result-expanded__path",onClick:e.onClick,url:`//${l["permalink.url.raw"]}`}),s().createElement("div",{className:"jetpack-instant-search__search-result-expanded__content",dangerouslySetInnerHTML:{__html:u.content.join(" ... ")}}),u.comments&&s().createElement(a.Z,{comments:u.comments})),s().createElement("a",{className:"jetpack-instant-search__search-result-expanded__image-link",href:`//${l["permalink.url.raw"]}`,onClick:e.onClick},s().createElement("div",{className:"jetpack-instant-search__search-result-expanded__image-container"},p?s().createElement(i.Z,{alt:l["image.alt_text"],className:"jetpack-instant-search__search-result-expanded__image",isPhotonEnabled:e.isPhotonEnabled,src:`//${p}`}):null))),t&&s().createElement("ul",{className:"jetpack-instant-search__search-result-expanded__footer"},s().createElement("li",null,s().createElement(i.Z,{alt:l.blog_name,className:"jetpack-instant-search__search-result-expanded__footer-blog-image",isPhotonEnabled:!1,height:24,width:24,src:l.blog_icon_url,lazyLoad:!1}),s().createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-blog"},l.blog_name)),s().createElement("li",null,s().createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-author"},l.author)),s().createElement("li",null,s().createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-date"},new Date((0,c.a)(l.date)).toLocaleDateString(r,{year:"numeric",month:"short",day:"numeric"})))))}},122:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(1180),i=r(4809),a=r(883),c=r(3162);class l extends n.Component{getIconSize(){return 18}getTags(){let e=this.props.result.fields["tag.name.default"];return e?(Array.isArray(e)||(e=[e]),e.slice(0,5)):[]}getCategories(){let e=this.props.result.fields["category.name.default"];return e?(Array.isArray(e)||(e=[e]),e.slice(0,5)):[]}renderNoMatchingContent(){const e=this.getTags(),t=this.getCategories(),r=0===e.length&&0===t.length;return s().createElement("div",{className:"jetpack-instant-search__search-result-minimal-content"},r&&s().createElement(i.Z,{url:this.props.result.fields["permalink.url.raw"]}),s().createElement("div",{className:"jetpack-instant-search__search-result-minimal-cats-and-tags"},0!==e.length&&s().createElement("ul",{className:"jetpack-instant-search__search-result-minimal-tags"},e.map((e=>s().createElement("li",{className:"jetpack-instant-search__search-result-minimal-tag"},s().createElement(o.Z,{icon:"tag",size:this.getIconSize()}),s().createElement("span",{className:"jetpack-instant-search__search-result-minimal-tag-text"},e))))),0!==t.length&&s().createElement("ul",{className:"jetpack-instant-search__search-result-minimal-cats"},t.map((e=>s().createElement("li",{className:"jetpack-instant-search__search-result-minimal-cat"},s().createElement(o.Z,{icon:"folder",size:this.getIconSize()}),s().createElement("span",{className:"jetpack-instant-search__search-result-minimal-cat-text"},e)))))))}renderMatchingContent(){return s().createElement("div",{className:"jetpack-instant-search__search-result-minimal-content",dangerouslySetInnerHTML:{__html:this.props.result.highlight.content.join(" ... ")}})}render(){const{result_type:e,fields:t,highlight:r}=this.props.result;if("post"!==e)return null;const n=!r.content||""===r.content[0];return s().createElement("li",{className:"jetpack-instant-search__search-result jetpack-instant-search__search-result-minimal"},s().createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-minimal-title"},s().createElement(a.Z,{postType:t.post_type,shortcodeTypes:t.shortcode_types}),s().createElement("a",{className:"jetpack-instant-search__search-result-title-link jetpack-instant-search__search-result-minimal-title-link",href:`//${t["permalink.url.raw"]}`,onClick:this.props.onClick,dangerouslySetInnerHTML:{__html:r.title}})),n?this.renderNoMatchingContent():this.renderMatchingContent(),s().createElement(c.Z,{comments:r&&r.comments}))}}t.Z=l},6504:function(e,t,r){"use strict";r(3679);var n=r(9196),s=r.n(n),o=r(5736),i=r(1180),a=r(1459),c=r(6565),l=r(4682);const __=o.__;class u extends n.Component{render(){var e;const{result_type:t,fields:r,highlight:n}=this.props.result;if("post"!==t)return null;const o=Array.isArray(r["image.url.raw"])?r["image.url.raw"][0]:r["image.url.raw"],u=Array.isArray(n.title)&&n.title[0].length>0?n.title[0]:__("No title","jetpack-search-pkg"),p="string"==typeof this.props.searchQuery&&""!==this.props.searchQuery.trim(),h=u.includes("<mark>"),d=p&&!h&&Array.isArray(n.content)&&(null===(e=n.content[0])||void 0===e?void 0:e.length)>0;return s().createElement("li",{className:"jetpack-instant-search__search-result jetpack-instant-search__search-result-product"},s().createElement("a",{className:"jetpack-instant-search__search-result-product-img-link",href:`//${r["permalink.url.raw"]}`,onClick:this.props.onClick},s().createElement("div",{className:"jetpack-instant-search__search-result-product-img-container "+(o?"":"jetpack-instant-search__search-result-product-img-container--placeholder")},o?s().createElement(a.Z,{alt:r["image.alt_text"],className:"jetpack-instant-search__search-result-product-img",isPhotonEnabled:this.props.isPhotonEnabled,src:`//${o}`}):s().createElement("div",{className:"jetpack-instant-search__search-result-product-img"},s().createElement(i.Z,{icon:"block",style:{}}),s().createElement(i.Z,{icon:"image",style:{},title:__("Does not have an image","jetpack-search-pkg")})))),s().createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-product-title"},s().createElement("a",{className:"jetpack-instant-search__search-result-title-link",href:`//${r["permalink.url.raw"]}`,onClick:this.props.onClick,dangerouslySetInnerHTML:{__html:u}})),s().createElement(l.Z,{price:r["wc.price"],salePrice:r["wc.sale_price"],formattedPrice:r["wc.formatted_price"],formattedRegularPrice:r["wc.formatted_regular_price"],formattedSalePrice:r["wc.formatted_sale_price"]}),!!r["meta._wc_average_rating.double"]&&s().createElement(c.Z,{count:r["meta._wc_review_count.long"],rating:r["meta._wc_average_rating.double"],permalink:`//${r["permalink.url.raw"]}`}),d&&s().createElement("div",{className:"jetpack-instant-search__search-result-product-match"},s().createElement("mark",null,s().createElement(i.Z,{icon:"search",style:{},title:!1}),s().createElement("span",null,"comment"in n?__("Matches comments","jetpack-search-pkg"):__("Matches content","jetpack-search-pkg",0)))))}}t.Z=u},8192:function(e,t,r){"use strict";var n=r(2402),s=r.n(n),o=r(8294),i=r.n(o),a=r(9196),c=r.n(a),l=r(122),u=r(1954),p=r(6504),h=r(8050),d=r(9755);class f extends a.Component{constructor(){super(...arguments),i()(this,"onClick",(()=>{this.props.railcar&&(0,h.Lo)({...this.getCommonTrainTracksProps(),action:"click"})}))}componentDidMount(){this.props.railcar&&(0,h.Sn)(this.getCommonTrainTracksProps())}componentDidUpdate(e){this.props.railcar!==e.railcar&&this.props.railcar&&(0,h.Sn)(this.getCommonTrainTracksProps())}getCommonTrainTracksProps(){return{fetch_algo:this.props.railcar.fetch_algo,fetch_position:this.props.railcar.fetch_position,fetch_query:this.props.railcar.fetch_query,railcar:this.props.railcar.railcar,rec_blog_id:this.props.railcar.rec_blog_id,rec_post_id:this.props.railcar.rec_post_id,session_id:this.props.railcar.session_id,ui_algo:"jetpack-instant-search-ui/v1",ui_position:this.props.index}}render(){if(this.props.resultFormat===d.LI)return c().createElement(p.Z,s()({onClick:this.onClick},this.props));if(this.props.resultFormat===d.Pz){const e=this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==d.Bk;return c().createElement(u.Z,s()({onClick:this.onClick},this.props,{isMultiSite:e}))}return c().createElement(l.Z,s()({onClick:this.onClick},this.props))}}t.Z=f},2975:function(e,t,r){"use strict";var n=r(8294),s=r.n(n),o=r(5736),i=r(9196),a=r.n(i),c=r(1180),l=r(4741),u=r(423),p=r(7704),h=r(9988),d=r(8192),f=r(4524),m=r(5825),g=r(1547),v=r(9755);const __=o.__,_n=o._n;class y extends i.Component{constructor(){super(...arguments),s()(this,"state",{shouldShowMobileSecondary:!1}),s()(this,"toggleMobileSecondary",(e=>{"click"!==e.type&&("keydown"!==e.type||"Enter"!==e.key&&" "!==e.key)||(" "===e.key&&e.preventDefault(),this.setState((e=>({shouldShowMobileSecondary:!e.shouldShowMobileSecondary}))))})),s()(this,"closeOverlay",(e=>{e.preventDefault(),this.props.closeOverlay()})),s()(this,"onKeyPressHandler",(e=>{"Enter"===e.key&&(e.preventDefault(),this.props.closeOverlay())}))}hasFilterOptions(){var e,t;let r=[...this.props.widgets];return(null===(e=this.props.widgetOutsideOverlay)||void 0===e||null===(t=e.filters)||void 0===t?void 0:t.length)>0&&(r=[this.props.widgetOutsideOverlay,...r]),r.length>0}getSearchTitle(){const{total:e=0,corrected_query:t=!1}=this.props.response,r=""!==this.props.searchQuery,n=!1!==t,s=(new Intl.NumberFormat).format(e),i=this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==v.Bk;if(this.props.isLoading)return r?__("Searching…","jetpack-search-pkg",0):__("Loading popular results…","jetpack-search-pkg");if(0===e||this.props.hasError)return __("No results found","jetpack-search-pkg");if(r&&n)return(0,o.sprintf)(
+/* translators: %1$s: number of results. %2$s: the corrected search query. */
+_n('Found %1$s result for "%2$s"','Found %1$s results for "%2$s"',e,"jetpack-search-pkg"),s,t);if(i){var a;const t=(0,g.bA)().filter((e=>"group_id"===e.filter_id)),r=1===t.length&&t[0].values?t[0].values.filter((e=>e.value!==v.Bk)):{},n=null!==(a=r[0])&&void 0!==a&&a.name?r[0].name:__("All P2","jetpack-search-pkg");return(0,o.sprintf)(
+/* translators: %1$s: number of results. - %2$s: site name. */
+_n("Found %1$s result in %2$s","Found %1$s results in %2$s",e,"jetpack-search-pkg"),s,n)}return r?(0,o.sprintf)(
+/* translators: %s: number of results. */
+_n("Found %s result","Found %s results",e,"jetpack-search-pkg"),s,this.props.searchQuery):__("Showing popular results","jetpack-search-pkg")}renderPrimarySection(){const{highlightColor:e,searchQuery:t}=this.props,{results:r=[],total:n=0,corrected_query:s=!1}=this.props.response,c=(0,m.B)(e),p=!1!==s,h=n>0;return a().createElement(i.Fragment,null,a().createElement("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t\t\t\t\t.jetpack-instant-search *::selection,\n\t\t\t\t\t\t\t.jetpack-instant-search .jetpack-instant-search__search-results .jetpack-instant-search__search-results-primary .jetpack-instant-search__search-result mark {\n\t\t\t\t\t\t\t\tcolor: ${c};\n\t\t\t\t\t\t\t\tbackground-color: ${e};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t`}}),a().createElement("h2",{className:"jetpack-instant-search__search-results-title"},this.getSearchTitle()),h&&p&&a().createElement("p",{className:"jetpack-instant-search__search-results-unused-query"},
+/* translators: %s: Search query. */
+(0,o.sprintf)(__('No results for "%s"',"jetpack-search-pkg"),t)),this.props.hasError&&a().createElement(l.Z,{type:"warning"},__("It looks like you're offline. Please reconnect for results.","jetpack-search-pkg")),h&&!this.props.hasError&&this.props.response._isOffline&&a().createElement(l.Z,{type:"warning"},__("It looks like you're offline. Please reconnect to load the latest results.","jetpack-search-pkg")),h&&!this.props.hasError&&a().createElement("ol",{className:`jetpack-instant-search__search-results-list is-format-${this.props.resultFormat}`},r.map(((e,t)=>a().createElement(d.Z,{index:t,key:t,staticFilters:this.props.staticFilters,isPhotonEnabled:this.props.isPhotonEnabled,locale:this.props.locale,railcar:this.props.isVisible?e.railcar:null,result:e,resultFormat:this.props.resultFormat,searchQuery:this.props.searchQuery})))),h&&this.props.hasNextPage&&a().createElement("div",{className:"jetpack-instant-search__search-results-pagination"},a().createElement(u.Z,{enableLoadOnScroll:this.props.enableLoadOnScroll,isLoading:this.props.isLoading,onLoadNextPage:this.props.onLoadNextPage})))}renderSecondarySection(){return a().createElement(f.Z,{filters:this.props.filters,staticFilters:this.props.staticFilters,isLoading:this.props.isLoading,locale:this.props.locale,postTypes:this.props.postTypes,response:this.props.response,showPoweredBy:this.props.showPoweredBy,widgets:this.props.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay})}render(){return a().createElement("div",{"aria-hidden":!0===this.props.isLoading,className:"jetpack-instant-search__search-results"},a().createElement("div",{className:"jetpack-instant-search__search-results-controls",role:"form"},a().createElement(h.Z,{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-results-search-form",isVisible:this.props.isVisible,onChangeSearch:this.props.onChangeSearch,searchQuery:this.props.searchQuery}),a().createElement("button",{className:"jetpack-instant-search__overlay-close",onClick:this.closeOverlay,onKeyPress:this.onKeyPressHandler,tabIndex:"0","aria-label":__("Close search results","jetpack-search-pkg")},a().createElement(c.Z,{icon:"cross",size:"24","aria-hidden":"true",focusable:"false"}))),a().createElement(p.Z,{enableSort:this.props.enableSort,onChangeSort:this.props.onChangeSort,resultFormat:this.props.resultFormat,sort:this.props.sort},(this.hasFilterOptions()||this.props.hasNonSearchWidgets)&&a().createElement("div",{role:"button",onClick:this.toggleMobileSecondary,onKeyDown:this.toggleMobileSecondary,tabIndex:"0",className:"jetpack-instant-search__search-results-filter-button"},__("Filters","jetpack-search-pkg"),a().createElement(c.Z,{icon:"chevron-down",size:16,alt:__("Show search filters","jetpack-search-pkg"),"aria-hidden":"true"}),a().createElement("span",{className:"screen-reader-text assistive-text"},this.state.shouldShowMobileSecondary?__("Hide filters","jetpack-search-pkg"):__("Show filters","jetpack-search-pkg")))),a().createElement("div",{"aria-live":"polite",className:"jetpack-instant-search__search-results-content",id:"jetpack-instant-search__search-results-content"},a().createElement("div",{className:"jetpack-instant-search__search-results-primary"},this.renderPrimarySection()),a().createElement("div",{className:["jetpack-instant-search__search-results-secondary",(this.state.shouldShowMobileSecondary?"jetpack-instant-search__search-results-secondary--show-as-modal":"")+" "].join(" ")},this.renderSecondarySection())))}}t.Z=y},9873:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(8294),s=r.n(n),o=r(9196),i=r.n(o),a=r(5736),c=r(343);const __=a.__;class l extends o.Component{constructor(){super(...arguments),s()(this,"handleKeyPress",(e=>{this.props.value!==e.currentTarget.value&&"Enter"===e.key&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))})),s()(this,"handleClick",(e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))})),s()(this,"handleSelectChange",(e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.value))}))}render(){const e=(0,c.n)(this.props.resultFormat);return e.size>3?i().createElement("div",{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-select"},i().createElement("label",{htmlFor:"jetpack-instant-search__search-sort-select"},__("Sort:","jetpack-search-pkg")),i().createElement("select",{id:"jetpack-instant-search__search-sort-select",onBlur:this.handleSelectChange,onChange:this.handleSelectChange},[...e.entries()].map((e=>{let[t,r]=e;return i().createElement("option",{value:t,key:t,selected:this.props.value===t?"selected":""},r)})))):i().createElement("div",{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-links"},i().createElement("div",{className:"screen-reader-text"},__("Sort by: ","jetpack-search-pkg")),[...e.entries()].map((e=>{let[t,r]=e;return i().createElement("a",{className:"jetpack-instant-search__search-sort-option "+(this.props.value===t?"is-selected":""),"data-value":t,key:t,onClick:this.handleClick,onKeyPress:this.handleKeyPress,role:"button",tabIndex:0},r)})))}}},4524:function(e,t,r){"use strict";var n=r(9196),s=r.n(n),o=r(1850),i=r(1631),a=r(5181),c=r(8852);t.Z=e=>s().createElement("div",{className:"jetpack-instant-search__sidebar"},s().createElement(i.Z,{filters:e.filters,staticFilters:e.staticFilters,loading:e.isLoading,locale:e.locale,postTypes:e.postTypes,results:e.response,showClearFiltersButton:!0,widget:e.widgetOutsideOverlay}),s().createElement(a.Z,null),e.widgets.map((t=>(0,o.createPortal)(s().createElement("div",{id:`${t.widget_id}-portaled-wrapper`,className:"jetpack-instant-search__portaled-wrapper"},s().createElement(i.Z,{filters:e.filters,staticFilters:e.staticFilters,loading:e.isLoading,locale:e.locale,postTypes:e.postTypes,results:e.response,showClearFiltersButton:!1,showTitle:!1,widget:t})),document.getElementById(`${t.widget_id}-wrapper`)))),e.showPoweredBy&&s().createElement(c.Z,{locale:e.locale}))},5181:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(8294),s=r.n(n),o=r(9196),i=r.n(o);class a extends o.Component{constructor(){super(...arguments),s()(this,"container",(0,o.createRef)())}componentDidMount(){const e=document.getElementsByClassName("jetpack-instant-search__widget-area")[0];e&&(e.style.removeProperty("display"),this.container.current.appendChild(e))}shouldComponentUpdate(){return!1}render(){return i().createElement("div",{className:"jetpack-instant-search__widget-area-container",ref:this.container})}}},564:function(e,t,r){"use strict";function n(e,t,r){if(!e)return"";const n=decodeURIComponent(e);return(!t||"false"!==n)&&(!(!t||"true"!==n)||(r&&0*+n==0?+n:n))}function s(e,t,r){let s,o;const i={},a=e.split("&");for(t=void 0===t||t,r=void 0===r||r;s=a.shift();)s=s.split("="),o=s.shift(),void 0!==i[o]?i[o]=[].concat(i[o],n(s.shift(),t,r)):i[o]=n(s.shift(),t,r);return i}r.d(t,{J:function(){return s}})},5476:function(e,t,r){"use strict";r.d(t,{Wb:function(){return f},a5:function(){return d},yC:function(){return x}});r(3679);var n=r(8750),s=r(5731),o=r(7390),i=r.n(o),a=r(9353),c=r(1547),l=r(9755);let u;const p=(0,a.Z)(30,5*l.AG),h=(0,a.Z)(30,30*l.AG);function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t={};return e.forEach((e=>{let{filters:r}=e;return r.forEach((e=>{t[e.filter_id]=m(e)}))})),t}function f(e){var t;return e=null!==(t=e)&&void 0!==t?t:{},Object.fromEntries(Object.entries(e).filter((e=>{var t;let[,r]=e;return(null==r||null===(t=r.buckets)||void 0===t?void 0:t.length)>0})).map((e=>{let[t,r]=e;const n=r.buckets.map((e=>({...e,doc_count:0})));return[t,{...r,buckets:n}]})))}function m(e){switch(e.type){case"date_histogram":return{date_histogram:{field:"post_date_gmt"===e.field?"date_gmt":"date",interval:e.interval}};case"taxonomy":{let t=`taxonomy.${e.taxonomy}.slug_slash_name`;return"post_tag"===e.taxonomy?t="tag.slug_slash_name":"category"===e.taxonomy&&(t="category.slug_slash_name"),{terms:{field:t,size:e.count}}}case"post_type":return{terms:{field:e.type,size:e.count}}}}C();const g=/(\d{4})-(\d{2})-(\d{2})/;function v(e,t,r){let n,s;"year"===r&&([,n,,]=t.match(g)),"month"===r&&([,n,s]=t.match(g));let o="",i="";if(s){const e=+s+1,t=e<10?`0${e}`:`${e}`;o=`${n}-${s}-01`,i=e<=12?`${n}-${t}-01`:+n+1+"-01-01"}else n&&(o=`${n}-01-01`,i=+n+1+"-01-01");return{range:{[e]:{gte:o,lt:i}}}}const y=new Map([["post_types",e=>({term:{post_type:e}})],["category",e=>({term:{"category.slug":e}})],["post_tag",e=>({term:{"tag.slug":e}})],["month_post_date",e=>v("date",e,"month")],["month_post_date_gmt",e=>v("date_gmt",e,"month")],["month_post_modified",e=>v("date",e,"month")],["month_post_modified_gmt",e=>v("date_gmt",e,"month")],["year_post_date",e=>v("date",e,"year")],["year_post_date_gmt",e=>v("date_gmt",e,"year")],["year_post_modified",e=>v("date",e,"year")],["year_post_modified_gmt",e=>v("date_gmt",e,"year")]]);function _(e){const t={};return Object.keys(e).forEach((r=>{const n=e[r];"group_id"===r&&n!==l.Bk&&(t[r]=n)})),t}function b(e,t,r){const n={bool:{must:[]}};return(0,c.wP)().filter((t=>{return r=e[t],Array.isArray(r)&&r.length>0;var r})).forEach((t=>{e[t].forEach((e=>{y.has(t)?n.bool.must.push(y.get(t)(e)):n.bool.must.push({term:{[`taxonomy.${t}.slug`]:e}})}))})),t&&n.bool.must.push(t),(null==r?void 0:r.length)>0&&n.bool.must.push({bool:{must_not:r.map((e=>y.get("post_types")(e)))}}),n}const E=new Map([["oldest","date_asc"],["newest","date_desc"],["relevance","score_default"]]);function w(e){return["price_asc","price_desc","rating_desc"].includes(e)?e:E.get(e,"score_default")}function k(e){let{aggregations:t,excludedPostTypes:r,filter:o,staticFilters:i,pageHandle:a,query:c,resultFormat:u,sort:p,postsPerPage:h=10,adminQueryFilter:d,isInCustomizer:f=!1}=e;null===c&&(c="");let m=["date","permalink.url.raw","tag.name.default","category.name.default","post_type","shortcode_types"];(u!==l.TZ||f)&&(m=m.concat(["has.image","image.url.raw","image.alt_text"])),(u===l.LI||f)&&(m=m.concat(["meta._wc_average_rating.double","meta._wc_review_count.long","wc.formatted_price","wc.formatted_regular_price","wc.formatted_sale_price","wc.price","wc.sale_price"])),i&&i.group_id&&i.group_id!==l.Bk&&(m=m.concat(["author","blog_name","blog_icon_url"]));let g={aggregations:t,fields:m,highlight_fields:["title","content","comments"],filter:b(o,d,r),query:encodeURIComponent(c),sort:w(p),page_handle:a,size:h};return i&&Object.keys(i).length>0&&(g={...g,..._(i)}),(0,n.c)((0,s.x)(g))}function S(e){return function(t){const r=p.get(e)||h.get(e);if("AbortError"===t.name)return r?{_isCached:!0,_isError:!1,_isOffline:!1,...r}:null;if(r)return{_isCached:!0,_isError:!0,_isOffline:!1,...r};throw t}}function j(e,t){return function(r){const n={...r,requestId:t};return p.set(e,n),h.set(e,n),n}}function C(){u&&u.abort(),u=new AbortController}function x(e,t){const r=i()(Array.from(arguments));if(!navigator.onLine&&h.get(r))return Promise.resolve(h.get(r)).then((e=>({_isCached:!0,_isError:!1,_isOffline:!0,...e})));if(p.get(r))return Promise.resolve(p.get(r)).then((e=>({_isCached:!0,_isError:!1,_isOffline:!1,...e})));const n=k(e),s=S(r),o=j(r,t),a=`/sites/${e.siteId}/search?${n}`,{apiNonce:c,apiRoot:d,homeUrl:f,isPrivateSite:m,isWpcom:g}=window[l.W1],v=`https://public-api.wordpress.com/rest/v1.3${a}`,y=`${f}/wp-json/wpcom-origin/v1.3${a}`,_=`${d}jetpack/v4/search?${n}`;let b=v;return m&&g?b=y:m&&(b=_),C(),fetch(b,{headers:m?{"X-WP-Nonce":c}:{},credentials:m?"include":"same-origin",signal:u.signal}).then((e=>200!==e.status?Promise.reject(`Unexpected response from API with status code ${e.status}.`):e)).then((e=>e.json())).then(o).catch(s)}},2601:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});r(3679);function n(e,t){Array.isArray(e)||(e=[e]);return 0!==e.filter((e=>t.includes(e))).length}},5825:function(e,t,r){"use strict";function n(e){const t=function(e){let t;return"#"===e[0]&&(t=e.substring(1)),3===t.length&&(t=t.split("").map((e=>`${e}${e}`)).join("")),t}(e);return(299*parseInt(t.substr(0,2),16)+587*parseInt(t.substr(2,2),16)+114*parseInt(t.substr(4,2),16))/1e3>=128?"black":"white"}r.d(t,{B:function(){return n}})},9755:function(e,t,r){"use strict";r.d(t,{AG:function(){return p},Bk:function(){return s},LI:function(){return u},PP:function(){return h},Pz:function(){return c},TZ:function(){return l},W1:function(){return o},aP:function(){return g},bk:function(){return m},kQ:function(){return f},oy:function(){return a},rs:function(){return v},yb:function(){return d},zg:function(){return i}});var n=r(5736);const __=n.__,s="__NO_GROUP__",o="JetpackInstantSearchOptions",i="jetpack-instant-search__overlay",a="ASC",c="expanded",l="minimal",u="product",p=6e4,h="relevance",d=1e3,f=["newest","oldest",h,"price_asc","price_desc","rating_desc"],m=[c,l,u],g=new Map([[h,__("Relevance","jetpack-search-pkg")],["newest",__("Newest","jetpack-search-pkg")],["oldest",__("Oldest","jetpack-search-pkg")]]),v=new Map([["price_asc",__("Price: low to high","jetpack-search-pkg")],["price_desc",__("Price: high to low","jetpack-search-pkg")],["rating_desc",__("Rating","jetpack-search-pkg")]])},4184:function(e,t,r){"use strict";r.d(t,{Em:function(){return i},vJ:function(){return a}});var n=r(9755);const s=new Map([["jetpack_search_color_theme","colorTheme"],["jetpack_search_enable_sort","enableSort"],["jetpack_search_highlight_color","highlightColor"],["jetpack_search_inf_scroll","enableInfScroll"],["jetpack_search_overlay_trigger","overlayTrigger"],["jetpack_search_show_powered_by","showPoweredBy"],["jetpack_search_result_format","resultFormat"]]);function o(){var e,t;return"function"==typeof(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t?void 0:t.customize)}function i(e){o()&&window.addEventListener("message",(t=>{var r;t.data&&t.target===window&&"jetpackSearchSectionOpen"===(null===(r=t.data)||void 0===r?void 0:r.key)&&"expanded"in t.data&&e(t.data.expanded)}))}function a(e){o()&&s.forEach(((t,r)=>{window.wp.customize(r,(r=>{r.bind((function(r){const s={[t]:r};window[n.W1].showResults=!0,window[n.W1].overlayOptions={...window[n.W1].overlayOptions,...s},e&&e(s)}))}))}))}},2160:function(e,t,r){"use strict";function n(e){return[...e.querySelectorAll('input[type="checkbox"]').values()].filter((e=>e.checked)).map((e=>e.name))}function s(e){const t={searchInputSelector:['input[name="s"]:not(.jetpack-instant-search__box-input)',"#searchform input.search-field:not(.jetpack-instant-search__box-input)",".search-form input.search-field:not(.jetpack-instant-search__box-input)",".searchform input.search-field:not(.jetpack-instant-search__box-input)"].join(", "),filterInputSelector:["a.jetpack-search-filter__link"],overlayTriggerSelector:[".jetpack-instant-search__open-overlay-button","header#site-header .search-toggle[data-toggle-target]"].join(",")};return e.theme_options?{...t,...e.theme_options}:t}r.d(t,{C:function(){return s},b:function(){return n}})},1547:function(e,t,r){"use strict";r.d(t,{$s:function(){return h},bA:function(){return i},do:function(){return l},i3:function(){return a},jZ:function(){return p},jc:function(){return d},wP:function(){return o}});r(3679);var n=r(9755);const s=Object.freeze(["post_types","category","post_format","post_tag","month_post_date","month_post_date_gmt","month_post_modified","month_post_modified_gmt","year_post_date","year_post_date_gmt","year_post_modified","year_post_modified_gmt"]);function o(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window[n.W1])||void 0===e?void 0:e.widgets,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=window[n.W1])||void 0===t?void 0:t.widgetsOutsideOverlay;const i=new Set(s);return[...null!=r?r:[],...null!=o?o:[]].map((e=>e.filters)).filter((e=>Array.isArray(e))).reduce(((e,t)=>e.concat(t)),[]).filter((e=>"taxonomy"===e.type)).forEach((e=>i.add(e.taxonomy))),[...i]}function i(){var e;return null!==(e=window[n.W1])&&void 0!==e&&e.staticFilters?window[n.W1].staticFilters:[]}function a(){const e=i(),t=new Set;return e.forEach((e=>t.add(e.filter_id))),[...t]}function c(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window[n.W1])||void 0===e?void 0:e.widgets;return null!==(t=null==r?void 0:r.map(u).reduce(((e,t)=>e.concat(t)),[]))&&void 0!==t?t:[]}function l(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window[n.W1])||void 0===e?void 0:e.widgets;const r=c(t);return o().filter((e=>!r.includes(e)))}function u(e){return e.filters.map(p).filter((e=>"string"==typeof e))}function p(e){return"date_histogram"===e.type?`${e.interval}_${e.field}`:"taxonomy"===e.type?`${e.taxonomy}`:"post_type"===e.type?"post_types":"group"===e.type?e.filter_id:null}function h(e){return e.includes("month")?{field:e.split("month_").pop(),type:"date_histogram",interval:"month"}:e.includes("year")?{field:e.split("year_").pop(),type:"date_histogram",interval:"year"}:"post_types"===e?{type:"post_type"}:"group"===e?{type:"group"}:{type:"taxonomy",taxonomy:e}}function d(e){return"date_histogram"===e.type?"date":"taxonomy"===e.type?"taxonomy":"post_type"===e.type?"postType":"group"===e.type?"group":void 0}},9087:function(e,t,r){"use strict";r.d(t,{y:function(){return i}});r(3679);var n=r(9424),s=r(9196);function o(e){return e?e.split("?",1)[0]:""}function i(e,t,r){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const[a,c]=(0,s.useState)(null),l=o(e),u=["gif","jpg","jpeg","png","webp"],p=null==l?void 0:l.substring(l.lastIndexOf(".")+1).toLowerCase(),h=u.includes(p);return(0,s.useEffect)((()=>{if(i&&h){const s=(0,n.Z)(l,{resize:`${t},${r}`});c(s||e)}else c(e)}),[e,t,r,i,l,h]),a}},6302:function(e,t,r){"use strict";r.d(t,{Q0:function(){return u},_L:function(){return c},pm:function(){return a},ug:function(){return l}});r(3679);var n=r(8750),s=r(9755),o=r(1547),i=r(564);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search;return(0,i.J)(e.substring(1),!1,!1)}function c(e){!function(e){if(history.pushState){const t=new window.URL(window.location.href);window[s.W1]&&"homeUrl"in window[s.W1]&&(t.href=window[s.W1].homeUrl),t.search=e,window.history.pushState(null,null,t.toString())}}((0,n.c)(e))}function l(){const e=a();return s.bk.includes(e.result_format)?e.result_format:null}function u(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(history.pushState&&history.replaceState){const s=new URL(e),i=a(s.search),c=[...(0,o.wP)(),...(0,o.i3)(),"s","sort"],l=Object.keys(i).some((e=>c.includes(e)));if(l&&c.forEach((e=>delete i[e])),s.search=(0,n.c)(i),r?window.history.replaceState(null,null,s.toString()):window.history.pushState(null,null,s.toString()),l)return void window.location.reload();t()}}},343:function(e,t,r){"use strict";r.d(t,{n:function(){return s}});var n=r(9755);function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e!==n.LI?n.aP:new Map([...n.aP,...n.rs])}},8050:function(e,t,r){"use strict";r.d(t,{AM:function(){return c},GE:function(){return h},IJ:function(){return o},Lo:function(){return p},Ny:function(){return l},Sn:function(){return u},tU:function(){return i},vy:function(){return a}});let n=!0;const s={};function o(){n=!1}function i(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||n)&&(window._tkq=window._tkq||[])}function a(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||n)&&window._tkq.push(["clearIdentity"])}function c(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(t||n)&&(s.blog_id=e)}function l(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(r||n)&&window._tkq.push(["recordEvent",e,{...s,...t}])}function u(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l("jetpack_instant_search_traintracks_render",e,t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l("jetpack_instant_search_traintracks_interact",e,t)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l("jetpack_instant_search_static_filter_select",e,t)}},8389:function(e,t,r){"use strict";function n(e){return{type:"MAKE_SEARCH_REQUEST",options:e}}function s(e){let{options:t,response:r}=e;return{type:"RECORD_SUCCESSFUL_SEARCH_REQUEST",options:t,response:r}}function o(e){return{type:"RECORD_FAILED_SEARCH_REQUEST",error:e}}function i(){let{isHistoryNavigation:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"INITIALIZE_QUERY_VALUES",isHistoryNavigation:e}}function a(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"SET_SEARCH_QUERY",query:e,propagateToWindow:t}}function c(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"SET_SORT",sort:e,propagateToWindow:t}}function l(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_FILTER",name:e,value:t,propagateToWindow:r}}function u(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_STATIC_FILTER",name:e,value:t,propagateToWindow:r}}function p(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"CLEAR_FILTERS",propagateToWindow:e}}function h(){return{type:"CLEAR_QUERY_VALUES"}}function d(){return{type:"DISABLE_QUERY_STRING_INTEGRATION"}}r.d(t,{C0:function(){return s},HD:function(){return c},K5:function(){return p},Ln:function(){return i},Mz:function(){return h},O1:function(){return u},OZ:function(){return d},Tv:function(){return l},Y6:function(){return o},ql:function(){return a},x1:function(){return n}})},4587:function(e,t,r){"use strict";r(3679);var n=r(3259),s=r.n(n),o=r(5476),i=r(9755),a=r(1547),c=r(6302),l=r(8389);let u=0,p=!0;const h=s()(c._L,i.yb);t.Z={CLEAR_FILTERS:function(e){if(!1===e.propagateToWindow||!p)return;const t=(0,c.pm)();(0,a.wP)().forEach((e=>delete t[e])),(0,a.i3)().forEach((e=>delete t[e])),(0,c._L)(t)},DISABLE_QUERY_STRING_INTEGRATION:function(){p=!1},INITIALIZE_QUERY_VALUES:function(e,t){const r=(0,c.pm)();let n;"s"in r?t.dispatch((0,l.ql)(r.s,!1)):t.dispatch((0,l.ql)(null,!1)),i.kQ.includes(r.sort)?n=r.sort:"date"===r.orderby?n="string"==typeof r.order&&r.order.toUpperCase()===i.oy?"oldest":"newest":"relevance"===r.orderby&&(n="relevance"),"string"==typeof n&&t.dispatch((0,l.HD)(n,!1)),t.dispatch((0,l.K5)(!1)),(0,a.wP)().filter((e=>e in r)).forEach((e=>t.dispatch((0,l.Tv)(e,r[e],!1)))),(0,a.i3)().filter((e=>e in r)).forEach((e=>t.dispatch((0,l.O1)(e,r[e],!1))))},MAKE_SEARCH_REQUEST:function(e,t){u++,(0,o.yC)(e.options,u).then((r=>{null!==r&&t.dispatch((0,l.C0)({options:e.options,response:r}))})).catch((e=>{console.error("Jetpack Search encountered an error:",e),t.dispatch((0,l.Y6)(e))}))},SET_FILTER:function(e){if(!1===e.propagateToWindow||!p)return;if(!(0,a.wP)().includes(e.name))return;const t=(0,c.pm)();t[e.name]=e.value,(0,c._L)(t)},SET_STATIC_FILTER:function(e){if(!1===e.propagateToWindow)return;if(!(0,a.i3)().includes(e.name))return;const t=(0,c.pm)();t[e.name]=e.value,(0,c._L)(t)},SET_SEARCH_QUERY:function(e){if(!1===e.propagateToWindow||!p)return;const t=(0,c.pm)();null!==e.query?t.s=e.query:delete t.s,h(t)},SET_SORT:function(e){if(!1===e.propagateToWindow||!p)return;if(!i.kQ.includes(e.sort))return;const t=(0,c.pm)();t.sort=e.sort,delete t.order,delete t.orderby,(0,c._L)(t)}}},9379:function(e,t,r){"use strict";var n=r(835),s=r(4274),o=r.n(s),i=r(4587),a=r(4408);const c=[o()(i.Z)],l=(0,n.MT)(a.ZP,{},(0,n.md)(...c));t.Z=l},9267:function(e,t,r){"use strict";r.d(t,{hg:function(){return i},p:function(){return a},xT:function(){return o}});var n=r(5476);let s={};function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"MAKE_SEARCH_REQUEST":case"RECORD_SUCCESSFUL_SEARCH_REQUEST":return!1;case"RECORD_FAILED_SEARCH_REQUEST":return!0}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"MAKE_SEARCH_REQUEST":return!0;case"RECORD_SUCCESSFUL_SEARCH_REQUEST":case"RECORD_FAILED_SEARCH_REQUEST":return!1}return e}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECORD_SUCCESSFUL_SEARCH_REQUEST"===t.type){if("requestId"in e&&"requestId"in t.response&&e.requestId>t.response.requestId)return e;const o={...t.response};var r;if(t.options.pageHandle&&(o.aggregations={..."aggregations"in e&&!Array.isArray(e)?e.aggregations:{},...Array.isArray(o.aggregations)?{}:o.aggregations},o.results=[..."results"in e?e.results:[],...o.results],s={}),Array.isArray(o.results)&&o.results.length>o.total&&(o.total=o.results.length),!t.options.pageHandle)(null===(r=o.results)||void 0===r?void 0:r.length)>0?s=(0,n.Wb)(o.aggregations):o.aggregations=s;return o}return e}},9049:function(e,t,r){"use strict";function n(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INITIALIZE_QUERY_VALUES":return t.isHistoryNavigation;case"SET_SEARCH_QUERY":case"SET_SORT":case"CLEAR_FILTERS":case"SET_FILTER":return!t.propagateToWindow&&e}return e}r.d(t,{w:function(){return n}})},4408:function(e,t,r){"use strict";var n=r(835),s=r(9267),o=r(4754),i=r(5188),a=r(9049);t.ZP=(0,n.UY)({filters:o.u8,staticFilters:o.OY,hasError:s.xT,isLoading:s.hg,isHistoryNavigation:a.w,response:s.p,searchQuery:o.w4,serverOptions:i.M,sort:o.DY})},4754:function(e,t,r){"use strict";r.d(t,{DY:function(){return i},OY:function(){return c},u8:function(){return a},w4:function(){return o}});r(3679);var n=r(9755),s=r(1547);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SEARCH_QUERY":return t.query;case"CLEAR_QUERY_VALUES":return null}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SORT":return n.kQ.includes(t.sort)?t.sort:e;case"CLEAR_QUERY_VALUES":return null}return e}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_FILTERS":case"CLEAR_QUERY_VALUES":return{};case"SET_FILTER":if(!(0,s.wP)().includes(t.name)||!Array.isArray(t.value)&&"string"!=typeof t.value)return e;if(0===t.value.length){const r={...e};return delete r[t.name],r}return{...e,[t.name]:"string"==typeof t.value?[t.value]:t.value}}return e}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_QUERY_VALUES":return{};case"SET_STATIC_FILTER":return(0,s.i3)().includes(t.name)?{...e,[t.name]:t.value}:e}return e}},5188:function(e,t,r){"use strict";r.d(t,{M:function(){return s}});var n=r(9755);function s(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window[n.W1])&&void 0!==e?e:{};return t}},1530:function(e,t,r){"use strict";r.d(t,{Bk:function(){return h},Qy:function(){return a},ZN:function(){return f},Zj:function(){return p},ck:function(){return o},en:function(){return d},hg:function(){return c},r$:function(){return u},uP:function(){return l},wI:function(){return m},xT:function(){return i}});r(3679);var n=r(9755),s=r(1547);function o(e){return e.response}function i(e){return e.hasError}function a(e){var t;return!i(e)&&(null===(t=o(e))||void 0===t?void 0:t.page_handle)}function c(e){return e.isLoading}function l(e){return e.searchQuery}function u(e,t){return"string"!=typeof t&&(t=n.PP),"string"==typeof e.sort?e.sort:t}function p(e){return e.filters}function h(e){return e.staticFilters}function d(e){return null!==l(e)||function(e){return Object.keys(e.filters).length>0}(e)||function(e){return Object.keys(e.staticFilters).length>0}(e)||null!==e.sort}function f(e){if(!e.serverOptions.widgets||!e.filters)return{};const t=(0,s.do)(e.serverOptions.widgets);return{filters:Object.keys(e.filters).filter((e=>t.includes(e))).map(s.$s)}}function m(e){return e.isHistoryNavigation}},1128:function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(s=n))})),t.splice(s,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2942)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2942:function(e,t,r){r(875),e.exports=function(e){function t(e){let r,s,o,i=null;function a(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];if(!a.enabled)return;const o=a,i=Number(new Date),c=i-(r||i);o.diff=c,o.prev=r,o.curr=i,r=i,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let l=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,((e,r)=>{if("%%"===e)return"%";l++;const s=t.formatters[r];if("function"==typeof s){const t=n[l];e=s.call(o,t),n.splice(l,1),l--}return e})),t.formatArgs.call(o,n);const u=o.log||t.log;u.apply(o,n)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),s=n.length;for(r=0;r<s;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(3171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},9353:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});r(875);class n{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.first=null,this.items=Object.create(null),this.last=null,this.max=e,this.size=0,this.ttl=t}has(e){return e in this.items}clear(){return this.first=null,this.items=Object.create(null),this.last=null,this.size=0,this}delete(e){if(this.has(e)){const t=this.items[e];delete this.items[e],this.size--,null!==t.prev&&(t.prev.next=t.next),null!==t.next&&(t.next.prev=t.prev),this.first===t&&(this.first=t.next),this.last===t&&(this.last=t.prev)}return this}evict(){const e=this.first;return delete this.items[e.key],this.first=e.next,this.first.prev=null,this.size--,this}get(e){let t;if(this.has(e)){const r=this.items[e];this.ttl>0&&r.expiry<=(new Date).getTime()?this.delete(e):(t=r.value,this.set(e,t,!0))}return t}keys(){return Object.keys(this.items)}set(e,t){let r,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n||this.has(e)){if(r=this.items[e],r.value=t,!1===n&&(r.expiry=this.ttl>0?(new Date).getTime()+this.ttl:this.ttl),this.last!==r){const e=this.last,t=r.next,n=r.prev;this.first===r&&(this.first=r.next),r.next=null,r.prev=this.last,e.next=r,null!==n&&(n.next=t),null!==t&&(t.prev=n)}}else this.max>0&&this.size===this.max&&this.evict(),r=this.items[e]={expiry:this.ttl>0?(new Date).getTime()+this.ttl:this.ttl,key:e,prev:this.last,next:null,value:t},1==++this.size?this.first=r:this.last.next=r;return this.last=r,this}}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(isNaN(e)||e<0)throw new TypeError("Invalid max value");if(isNaN(t)||t<0)throw new TypeError("Invalid ttl value");return new n(e,t)}},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},2819:function(e){"use strict";e.exports=window.lodash},2175:function(e){"use strict";e.exports=window.wp.blockEditor},5609:function(e){"use strict";e.exports=window.wp.components},7798:function(e){"use strict";e.exports=window.wp.coreData},9818:function(e){"use strict";e.exports=window.wp.data},9307:function(e){"use strict";e.exports=window.wp.element},5736:function(e){"use strict";e.exports=window.wp.i18n},444:function(e){"use strict";e.exports=window.wp.primitives},6483:function(e){"use strict";e.exports=window.wp.url},162:function(e){"use strict";e.exports=window.wp.viewport},2650:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Z:function(){return n}})},255:function(e,t,r){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:function(){return n}})},8617:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(2650);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},7921:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,s={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}r.d(t,{Z:function(){return n}})}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){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}(),function(){"use strict";var e=r(9307),t=r(5564);window.jetpackSearchConfigureInit=function(r){(0,e.render)(React.createElement(t.Z,null),document.getElementById(r))}}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.js.LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.js.LICENSE.txt
index 6a6e60a6..1b9b0a99 100644
--- a/plugins/jetpack/_inc/build/instant-search/jp-search-configure-main.js.LICENSE.txt
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.js.LICENSE.txt
@@ -12,3 +12,12 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
+
+/** @license React v17.0.2
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.rtl.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.rtl.css
new file mode 100644
index 00000000..3c05f60a
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/customberg/jp-search-configure.rtl.css
@@ -0,0 +1 @@
+.jetpack-instant-search__overlay{background:rgba(29,35,39,.7);bottom:0;box-sizing:border-box;color:#00101c;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transition:opacity .1s ease-in;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay.is-hidden{background:transparent;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}.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)}.jetpack-instant-search__notice{font-size:14px;margin:1em 0;padding:.75em}.jetpack-instant-search__notice.jetpack-instant-search__notice--warning{background-color:#f5e6b3;color:#4f3500}.jetpack-instant-search__notice .gridicon{margin-left:.5em;margin-top:-5px;vertical-align:middle}.jetpack-instant-search__scroll-button{border:0;box-shadow:none;font-size:13px;outline:0}.jetpack-instant-search__search-sort{align-items:center;display:flex}.jetpack-instant-search__search-sort>label[for=jetpack-instant-search__search-sort-select]{flex-shrink:0;font-size:1em;font-weight:700;margin:0 0 0 .25em}.jetpack-instant-search__search-sort-with-links{font-size:13px}@media(max-width:575.98px){.jetpack-instant-search__search-sort-with-select{margin-left:1em;width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-sort-with-select{margin-left:0}}@media(min-width:992px){.jetpack-instant-search__search-sort-with-select{margin-top:-4px}}#jetpack-instant-search__search-sort-select{-webkit-appearance:auto;appearance:auto;background:#fff;border:1px solid #e6f1f5;border-radius:5px;color:#00101c;font-size:1em;height:inherit;padding:.25em}@media(max-width:575.98px){#jetpack-instant-search__search-sort-select{padding:.5em;width:100%}}.jetpack-instant-search__search-sort-option{color:#646970;cursor:pointer;padding:0 2px;text-decoration:none}.jetpack-instant-search__search-sort-option:after{color:#646970;content:"·";font-weight:400;padding-right:5px}.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:focus,.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:hover{text-decoration:none}.jetpack-instant-search__search-sort-option:last-child:after{content:""}.jetpack-instant-search__search-sort-option.is-selected{color:#044b7a;font-weight:600;text-decoration:none}.jetpack-instant-search__search-form-controls{align-items:center;display:flex;line-height:1.3;margin-left:56px;margin-right:56px;margin-top:16px;z-index:1}@media(max-width:991.98px){.jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:767.98px){.jetpack-instant-search__search-form-controls{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-form-controls{left:320px;position:absolute}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{left:320px;position:absolute}}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-form-controls{left:0}.jetpack-instant-search__box{border-bottom:1px solid #e6f1f5;border-left:1px solid #e6f1f5}.jetpack-instant-search__box-label{align-items:center;display:flex;flex:0 0 100%;margin:0}input.jetpack-instant-search__box-input.search-field{-webkit-appearance:none;appearance:none;background:#fff;border:0;box-shadow:none;color:#3c434a;font-size:18px;height:60px;line-height:1;margin:0;max-width:none;padding:0 14px;text-indent:32px;vertical-align:middle}input.jetpack-instant-search__box-input.search-field:focus,input.jetpack-instant-search__box-input.search-field:hover{background:#fff;color:#00101c}input.jetpack-instant-search__box-input.search-field.search-field{letter-spacing:-.02em;padding-right:0;text-indent:0}.jetpack-instant-search__box-gridicon{align-items:center;display:flex;flex-shrink:0;height:60px;justify-content:center;position:relative;right:0;top:0;width:60px;z-index:1}.jetpack-instant-search__box-gridicon svg{fill:#646970}.jetpack-instant-search__box input[type=button]{word-wrap:normal;border:none;border-radius:0;color:#646970;cursor:pointer;font-size:1em;font-weight:400;height:60px;line-height:1;margin:0 0 0 .25em;padding:0;text-decoration:none;text-shadow:none;text-transform:none;transition:all .1s linear;width:60px}.jetpack-instant-search__box input[type=button],.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{color:#3c434a}.jetpack-instant-search__box input[type=button]:focus{outline:1px dotted}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input{border:none;box-shadow:none;height:52px;outline-style:none;transition:color .15s ease-in-out,border-color .25s ease-in-out;width:100%}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:focus,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:hover{border:none;box-shadow:none;outline-style:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-button,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-decoration{appearance:none;-webkit-appearance:none;display:initial}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-cancel-button{display:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-clear,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-reveal{display:none}.jetpack-instant-search__path-breadcrumb{font-size:.9em;margin:0;max-width:calc(100vw - 2em);overflow-x:hidden;text-overflow:ellipsis}.jetpack-instant-search__path-breadcrumb-link{max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jetpack-instant-search__path-breadcrumb-link:focus,.jetpack-instant-search__path-breadcrumb-link:hover{text-decoration:underline}.jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__path-breadcrumb-link{color:#3c434a}.jetpack-instant-search__search-result-comments{border-right:2px solid #f0f0f1;font-size:.9em;margin-right:8px;margin-top:16px;padding-right:16px;word-break:break-word}.jetpack-instant-search__search-result-comments .gridicon{margin-left:8px;vertical-align:middle}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title{margin-bottom:.4em}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title .gridicon{margin-left:8px}.jetpack-instant-search__search-result-minimal-cats-and-tags{display:flex;flex-flow:row wrap;font-size:.9375em}.jetpack-instant-search__search-result-minimal-cats,.jetpack-instant-search__search-result-minimal-tags{display:flex;flex-flow:row wrap;list-style-type:none;margin:0;padding:0}.jetpack-instant-search__search-result-minimal-cat,.jetpack-instant-search__search-result-minimal-tag{margin:0 0 0 .75em}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag .gridicon{margin-left:.25em}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-cat-text,.jetpack-instant-search__search-result-minimal-tag .gridicon,.jetpack-instant-search__search-result-minimal-tag-text{vertical-align:middle}.jetpack-instant-search__search-result-minimal-content{word-break:break-word}.jetpack-instant-search__search-result-expanded{display:flex;flex-flow:column}.jetpack-instant-search__search-result-expanded:last-child{margin-left:0}.jetpack-instant-search__search-result-expanded .jetpack-instant-search__search-result-expanded__title{width:100%}.jetpack-instant-search__search-result-expanded__path{color:#646970;font-size:.9375em;margin:0 0 .4em}.jetpack-instant-search__search-result-expanded__copy-container{max-width:100%}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__copy-container{width:calc(100% - 128px - 1em)}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__copy-container{width:auto}.jetpack-instant-search__search-result-expanded__content{color:#00101c;font-size:.9375em}.jetpack-instant-search__search-result-expanded__image-link{margin-right:1em}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-link{margin:0 auto .5em;order:-1}}.jetpack-instant-search__search-result-expanded__image-container{width:128px}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-container{width:256px}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__image-container{display:none}.jetpack-instant-search__search-result-expanded__image-container{position:relative}.jetpack-instant-search__search-result-expanded__image-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-expanded__image{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-expanded__content-container{display:flex;flex-flow:column}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__content-container{flex-flow:row nowrap}}.jetpack-instant-search__search-result-expanded__footer{display:flex;list-style-type:none;margin-right:0;margin-top:10px;padding-right:0}.jetpack-instant-search__search-result-expanded__footer li{margin-left:10px}.jetpack-instant-search__search-result-expanded__footer-blog-image{border-radius:2px;margin-left:3px;vertical-align:middle}.jetpack-instant-search__search-result-expanded__footer-blog{font-size:13px;font-style:normal;font-weight:600;line-height:180%}.jetpack-instant-search__search-result-expanded__footer-author:after,.jetpack-instant-search__search-result-expanded__footer-blog:after{color:#636363;content:"·";margin-right:10px}.jetpack-instant-search__search-result-expanded__footer-author,.jetpack-instant-search__search-result-expanded__footer-date{color:#636363;font-size:13px;font-style:normal;font-weight:400}.jetpack-instant-search__product-rating-stars .gridicon{fill:#f0c930;vertical-align:middle}.jetpack-instant-search a.jetpack-instant-search__product-rating-count{color:#646970;font-size:.9em;text-decoration:underline;vertical-align:text-top}.jetpack-instant-search__product-price-regular{color:#646970;padding-left:.25em}.jetpack-instant-search__search-results-list.is-format-product{display:flex;flex-wrap:wrap;margin-left:40px;padding:0 0 3em}@media(max-width:991.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-left:24px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-left:4px}}.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{display:flex;flex-direction:column;margin:0 0 16px 16px;position:relative;width:calc(50% - 16px)}@media(min-width:576px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:768px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:992px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:1200px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:1400px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(20% - 16px)}}.jetpack-instant-search__search-result>.jetpack-instant-search__search-result-product-img-link{display:block}.jetpack-instant-search__search-result-product-img-container{border-radius:5px;color:transparent;position:relative}.jetpack-instant-search__search-result-product-img-container.jetpack-instant-search__search-result-product-img-container--placeholder{background:#c3c4c7}.jetpack-instant-search__search-result-product-img-container .gridicon{fill:#fff}.jetpack-instant-search__search-result-product-img-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-product-img{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-product-img>.gridicon{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.jetpack-instant-search__search-result-product-img>.gridicons-image{height:25%;width:25%}.jetpack-instant-search__search-result-product-img>.gridicons-block{height:50%;width:50%}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-product-title{font-size:1.25em;margin:.25em 0 0}.jetpack-instant-search__search-result-product-match{font-size:.9em;margin-top:.25em}.jetpack-instant-search__search-result-product-match mark{align-items:center;display:flex;font-weight:400}.jetpack-instant-search__search-result-product-match .gridicon{height:1em;margin-left:.25em;width:1em}.jetpack-instant-search__search-result{margin:0 0 2em}.jetpack-instant-search__search-result-title{font-size:1.6em;font-weight:400;line-height:1.35;margin:0;overflow-wrap:break-word}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link{text-decoration:none}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:focus,.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:hover{text-decoration:underline}.jetpack-instant-search__search-filters{position:relative}.jetpack-instant-search__search-filters>div{margin-top:1em}.jetpack-instant-search__search-filters-title{color:#00101c;display:block;font-size:inherit;font-weight:700;line-height:1.3;margin:0;padding:0}.jetpack-instant-search__clear-filters-link{left:0;line-height:1.3;margin:0;position:absolute;top:0}.jetpack-instant-search__search-filter-sub-heading{color:#646970;font-size:inherit;margin:0;padding:0}.jetpack-instant-search__search-filter-list{text-align:right}.jetpack-instant-search__search-filter-list>div{align-items:baseline;display:flex;margin-top:8px}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input{-webkit-appearance:checkbox;appearance:checkbox;background:none;border:none;cursor:pointer;height:auto;margin:0;top:1px;width:auto}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:before,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:before{display:none!important}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-label,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-label{color:inherit;cursor:pointer;display:inline-block;font-weight:400;margin:0 8px 0 0;padding:0;width:auto}.jetpack-instant-search__search-static-filter-list{font-size:.875rem;line-height:1.8}.jetpack-instant-search__widget-area-container{margin-bottom:2em}.jetpack-instant-search__jetpack-colophon{margin-bottom:2em;margin-top:2em;text-align:center}.jetpack-instant-search__jetpack-colophon-link{align-items:center;color:inherit;display:flex;text-decoration:none}.jetpack-instant-search__jetpack-colophon-logo{display:inline;height:16px;width:16px}.jetpack-instant-search__jetpack-colophon-text{color:#3c434a;font-size:.7em;font-weight:400;padding-right:6px}.jetpack-instant-search__sidebar{padding-top:14px}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget{background:none;border:none;margin:0;padding:0}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget a{font-weight:400}.jetpack-instant-search__sidebar h2.widgettitle{border:none;font-size:1.3em;margin:1em 0 .5em}.jetpack-instant-search__sidebar h2.widgettitle:after,.jetpack-instant-search__sidebar h2.widgettitle:before{display:none!important}.jetpack-instant-search__search-results{background:#fff;border-radius:3px;margin:0 auto;max-width:1080px;min-height:100%;position:relative;z-index:10}@media(max-width:575.98px){.jetpack-instant-search__search-results{border-radius:0}}@media(min-width:992px){.jetpack-instant-search__search-results{max-width:95%}}.jetpack-instant-search__search-results mark{background:#ffc;color:#00101c}.jetpack-instant-search__search-results-controls{display:flex}.jetpack-instant-search__search-results-content{display:flex;position:relative}.jetpack-instant-search__search-results-filter-button{align-items:center;border:0;color:#646970;cursor:pointer;display:flex;flex-shrink:0;font-size:12px;margin:0;padding:8px;text-decoration:none;transition:background-color .25s ease-in-out}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-filter-button{visibility:hidden}@media(min-width:576px){.jetpack-instant-search__search-results-filter-button{font-size:13px;padding:10px 14px}}@media(min-width:992px){.jetpack-instant-search__search-results-filter-button{display:none}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:flex}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:none}}.jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__search-results-filter-button:hover{color:#00101c}.jetpack-instant-search__search-results-filter-button .gridicon{margin-right:4px}.jetpack-instant-search__search-results-primary{margin:0;max-width:calc(100% - 320px);width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-primary{max-width:100%}@media(max-width:991.98px){.jetpack-instant-search__search-results-primary{max-width:100%}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-primary{max-width:100%}}.jetpack-instant-search__search-results-secondary{background:none;border-radius:0;border-right:1px solid #e6f1f5;bottom:0;box-shadow:none;color:#00101c;display:block;flex:none;padding:0 32px;position:static;width:320px}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary{display:none}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:991.98px)and (max-width:575.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:1199.98px)and (max-width:575.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{color:#00101c;font-size:1em;font-weight:700;line-height:1.3;margin:1em 56px 1.5em;padding:0;word-break:break-word}@media(max-width:991.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title,.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-results-title{padding-left:210px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title{padding-left:210px}}.jetpack-instant-search__search-results-list{color:#00101c;list-style:none;margin-left:56px;margin-right:56px;padding:0}@media(max-width:991.98px){.jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list{margin-left:20px;margin-right:20px}}.jetpack-instant-search__search-results-list li:before{content:"​";height:1px;position:absolute;width:1px}.jetpack-instant-search__search-results-search-form{font-size:.8em;margin:0;top:0;width:100%}button.jetpack-instant-search__overlay-close{align-items:center;-webkit-appearance:none;appearance:none;background:none;background-color:transparent!important;border:none;border-bottom:1px solid #e6f1f5;border-radius:0;box-shadow:none;cursor:pointer;display:flex;height:61px;justify-content:center;line-height:1;margin:0;outline:none;padding:0;text-decoration:none;text-shadow:none;text-transform:none;width:60px}button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}button.jetpack-instant-search__overlay-close:focus{outline:1px dotted}button.jetpack-instant-search__overlay-close svg.gridicon{fill:#646970}button.jetpack-instant-search__overlay-close:active,button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{background-color:transparent!important;border-color:#e6f1f5}button.jetpack-instant-search__overlay-close:active svg.gridicon,button.jetpack-instant-search__overlay-close:focus svg.gridicon,button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#3c434a}.jetpack-instant-search__search-results-pagination{display:block;flex:none;margin:50px}.jetpack-instant-search .widget a,.jetpack-instant-search .widget.widget_archive ul li a,.jetpack-instant-search a{border:none;color:#001621;text-decoration:none}.jetpack-instant-search .widget a:focus,.jetpack-instant-search .widget a:hover,.jetpack-instant-search .widget.widget_archive ul li a:focus,.jetpack-instant-search .widget.widget_archive ul li a:hover,.jetpack-instant-search a:focus,.jetpack-instant-search a:hover{color:#044b7a;text-decoration:underline}.jetpack-search-filters-widget__filter-list{list-style-type:none}body.enable-search-modal .cover-modal.show-modal.search-modal.active{display:none}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark{background:rgba(29,35,39,.7);color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a{color:#f6f7f7}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:hover{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filters-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__content,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-list,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-unused-query{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__jetpack-colophon-text,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb-link{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filter-sub-heading,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__path{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box-gridicon svg,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close svg.gridicon{fill:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:focus svg.gridicon,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:hover{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field{background:#000;color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:hover{background:#000;color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results{background:#000}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results mark{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{color:#e6f1f5}@media(min-width:992px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{border-color:#3c434a}}@media(max-width:991.98px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#000;border-color:#3c434a;box-shadow:0 2px 3px #3c434a}}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option:after{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option.is-selected{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-product-img--placeholder{color:#2c3338}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark #jetpack-instant-search__search-sort-select{background:#000;border-color:#3c434a;color:#e6f1f5}.jp-search-configure-app-wrapper{flex-grow:1}.jp-search-configure-app-wrapper .jp-search-configure-loading-spinner{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.jp-search-configure-app-wrapper .jetpack-instant-search{background:#f0f0f0;padding-top:2em;position:absolute;z-index:90}.jp-search-configure-app-wrapper .jetpack-instant-search .jetpack-instant-search__search-results{max-width:none}.jp-search-configure-app-wrapper .jetpack-instant-search a:not(.jetpack-instant-search__search-sort-option){pointer-events:none}.jp-search-configure-save-button{margin-left:4px}.jp-search-configure-save-button:first-of-type{margin-right:auto}@media(min-width:600px){.jp-search-configure-save-button{margin-left:8px}}@media(min-width:782px){.jp-search-configure-sidebar .jp-search-configure-save-button{display:none}}.jp-search-configure-header{align-items:center;display:flex;height:48px;justify-content:space-between;overflow:auto;padding:0 16px}@media(min-width:782px){.jp-search-configure-header{height:60px}}@media(min-width:600px){.jp-search-configure-header{overflow:visible}}.jp-search-configure-header__navigable-toolbar-wrapper{align-items:center;display:flex;justify-content:center}.jp-search-configure-header__title{font-size:20px;margin:0 0 0 20px;padding:0}.jp-search-configure-header__actions{display:flex}@media(min-width:600px){.jp-search-configure-header__actions .components-button.jp-search-configure-header__show-settings-button{margin-left:8px}}@media(min-width:782px){.jp-search-configure-header__actions .components-button.jp-search-configure-header__show-settings-button{display:none;margin-right:0}}.jp-search-configure-color-input .component-color-indicator{vertical-align:middle}.jp-search-configure-color-input .block-editor-color-gradient-control fieldset>legend{margin-bottom:12px}.jp-search-configure-color-input .block-editor-color-gradient-control fieldset>legend>.block-editor-color-gradient-control__color-indicator{margin-bottom:0}.jp-search-configure-color-input .components-circular-option-picker__option-wrapper :focus:after{right:-4px;top:-4px}.jp-search-configure-color-input .components-circular-option-picker__option-wrapper .components-button.is-pressed:focus:not(:disabled){box-shadow:inset 0 0 0 14px!important}.jp-search-configure-sidebar-options--is-disabled .jp-search-configure-color-input .components-button{cursor:not-allowed;filter:grayscale(.8);pointer-events:none}.jp-search-configure-sidebar-options--is-disabled .jp-search-configure-color-input .components-circular-option-picker__option-wrapper:hover{transform:scale(1)}.jp-search-configure-excluded-post-types-control{margin-top:8px}.jp-search-configure-excluded-post-types-control .jp-search-configure-excluded-post-types-control__label{margin-bottom:8px}.jp-search-configure-excluded-post-types-control .components-notice{margin:8px 0;padding-bottom:4px;padding-top:4px}.components-panel__header.jp-search-configure-sidebar__panel-tabs{border-top:0;justify-content:flex-start;margin-top:0;padding-left:12px;padding-right:0}.components-panel__header.jp-search-configure-sidebar__panel-tabs ul{display:flex;height:100%}.components-panel__header.jp-search-configure-sidebar__panel-tabs li{margin:0}.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{margin-left:4px}@media(min-width:600px){.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{margin-left:12px}}@media(min-width:782px){.components-panel__header.jp-search-configure-sidebar__panel-tabs .components-button.jp-search-configure-sidebar__hide-settings-button{display:none}}.components-button.jp-search-configure-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;color:#1e1e1e;cursor:pointer;display:inline-block;font-weight:400;height:49px;height:100%;margin-right:0;padding:3px 15px}.components-button.jp-search-configure-sidebar__panel-tab:after{speak:none;content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;visibility:hidden}.components-button.jp-search-configure-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -1.5px 0 0 var(--wp-admin-theme-color);font-weight:600;position:relative}.components-button.jp-search-configure-sidebar__panel-tab.is-active:before{border-bottom:1.5px solid transparent;bottom:1px;content:"";left:0;position:absolute;right:0;top:0}.components-button.jp-search-configure-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.jp-search-configure-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -1.5px 0 0 var(--wp-admin-theme-color)}.jp-search-configure-sidebar-description{display:flex;padding:16px}.jp-search-configure-sidebar-description .block-editor-block-icon{margin-left:16px}.jp-search-configure-sidebar-description .components-button.is-tertiary{margin-right:-6px}.jp-search-configure-sidebar-options .components-base-control{margin-bottom:24px}.jp-search-configure-sidebar-options .components-base-control.components-checkbox-control,.jp-search-configure-sidebar-options .components-base-control.components-toggle-control,.jp-search-configure-sidebar-options .components-base-control:last-child{margin-bottom:0}.jp-search-configure-sidebar-options .components-checkbox-control__label{vertical-align:baseline}.jp-search-configure-result-format-radios{margin-bottom:1em}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons{display:flex;justify-content:space-around;margin-bottom:12px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button{display:flex;flex-direction:column;height:auto;padding-left:6px;padding-right:6px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button:first-child{margin-left:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button:last-child{margin-right:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button svg{border:2px solid #fff;border-radius:3px;margin-bottom:4px}.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons button.components-button.jp-search-configure-theme-button--selected svg{border-color:#2f2f2f}.jp-search-configure-sidebar-options--is-disabled input{cursor:not-allowed;pointer-events:none}.jp-search-configure-sidebar-options--is-disabled input[type=checkbox],.jp-search-configure-sidebar-options--is-disabled input[type=radio]{background:#ddd;border-color:#ddd}.jp-search-configure-sidebar-options--is-disabled .components-radio-control__input[type=radio]:checked{background:#ccc;border-color:#ccc}.components-checkbox-control__input:disabled{background:#ddd;border-color:#ddd;cursor:not-allowed}#jp-search-configure .hide-if-no-js{height:100vh;margin:0;position:relative;text-align:center;width:100vw}#jp-search-configure .hide-if-no-js .jp-search-loader{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}#jp-search-configure .interface-interface-skeleton__header{background-color:#fff}.jp-search-configure-layout__body{display:flex;flex-grow:1;overflow:auto}.block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator{margin-bottom:12px}.block-editor-color-gradient-control__fieldset{min-width:0}.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title{display:flex;gap:8px}.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{align-self:center;height:12px;width:12px}.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator:first-child{margin-right:12px}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}@media screen and (min-width:782px){.block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches{display:grid;grid-template-columns:repeat(6,28px);justify-content:space-between}}.block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control{margin-bottom:inherit}.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__dropdown{display:block}.block-editor-panel-color-gradient-settings__dropdown{width:100%}.block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content{width:280px}.block-editor-panel-color-gradient-settings__dropdown:last-child>div{border-bottom-width:0}.block-editor-panel-color-gradient-settings__item{padding-bottom:12px!important;padding-top:12px!important}.block-editor-panel-color-gradient-settings__item.is-open{background:#f0f0f0;color:var(--wp-admin-theme-color)}.block-editor-panel-color-gradient-settings__color-indicator{background:linear-gradient(45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0)}.block-editor-tools-panel-color-gradient-settings__item{border-bottom:1px solid rgba(0,0,0,.1);border-left:1px solid rgba(0,0,0,.1);border-right:1px solid rgba(0,0,0,.1);padding:0}.block-editor-tools-panel-color-gradient-settings__item.first{border-top:1px solid rgba(0,0,0,.1);border-top-left-radius:2px;border-top-right-radius:2px}.block-editor-tools-panel-color-gradient-settings__item.last{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.block-editor-tools-panel-color-gradient-settings__item>div,.block-editor-tools-panel-color-gradient-settings__item>div>button{border-radius:inherit}.block-editor-tools-panel-color-gradient-settings__dropdown{display:block;padding:0}.block-editor-tools-panel-color-gradient-settings__dropdown>button{height:46px}.block-editor-tools-panel-color-gradient-settings__dropdown>button.is-open{background:#f0f0f0;color:var(--wp-admin-theme-color)}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media(min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area{background:#fff;color:#1e1e1e}@media(min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media(min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media(min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2,.interface-complementary-area h3{color:#1e1e1e;font-size:13px;margin-bottom:1.5em}.interface-complementary-area hr{border-bottom:1px solid #f0f0f0;border-top:none;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{bottom:10px;left:10px;right:auto;top:auto}@media(min-width:782px){body.js.is-fullscreen-mode{height:calc(100% + 32px);margin-top:-32px}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media(min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{bottom:0;display:flex;flex-direction:row;height:auto;left:0;max-height:100%;position:fixed;top:46px}@media(min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex:0 1 100%;flex-direction:column;overflow:hidden}.interface-interface-skeleton{right:0}@media(min-width:783px){.interface-interface-skeleton{right:160px}.auto-fold .interface-interface-skeleton{right:36px}}@media(min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media(min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{background:#fff;bottom:0;color:#1e1e1e;display:block;flex-shrink:0;left:0;position:absolute;right:0;top:0;z-index:100000}@media(min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;width:auto;z-index:90}}.interface-interface-skeleton__sidebar{overflow:auto}@media(min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{border-bottom:1px solid #e0e0e0;color:#1e1e1e;flex-shrink:0;height:auto;z-index:30}.interface-interface-skeleton__footer{background-color:#fff;border-top:1px solid #e0e0e0;bottom:0;color:#1e1e1e;display:none;flex-shrink:0;height:auto;position:absolute;right:0;width:100%;z-index:90}@media(min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{align-items:center;background:#fff;display:flex;font-size:13px;height:24px;padding:0 18px;z-index:30}.interface-interface-skeleton__actions{bottom:auto;color:#1e1e1e;left:0;position:fixed!important;right:auto;top:-9999em;width:280px;z-index:100000}.interface-interface-skeleton__actions:focus{bottom:0;top:auto}.interface-more-menu-dropdown{margin-right:-4px}.interface-more-menu-dropdown .components-button{padding:0 2px;width:auto}@media(min-width:600px){.interface-more-menu-dropdown{margin-right:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media(min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{max-width:480px;width:auto}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media(min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-height:24px;max-width:24px}html.wp-toolbar{background:#fff}#wpbody-content>.notice,#wpfooter,.jp-search-configure-sidebar .components-button.interface-complementary-area__pin-unpin-item{display:none}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.asset.php
new file mode 100644
index 00000000..bc1f9304
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'ef96289af83decd94a43');
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.css
new file mode 100644
index 00000000..7b9bc320
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.css
@@ -0,0 +1 @@
+.jp-search-dashboard-page-loading-spinner{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.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 transparent;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%}.jp-search-dashboard-promotion h1{font-size:var(--font-title-large);font-weight:600;line-height:1.2}.jp-search-dashboard-promotion ul.jp-product-promote li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-left:30px}.jp-search-dashboard-connection-screen{align-items:center;background:var(--jp-white-off);display:flex;width:100%}.jp-search-dashboard-connection-screen>div{width:100%}.jp-search-dashboard-connection-screen .jp-components__pricing-card .components-spinner{margin:0}.jp-search-dashboard-connection-screen .jp-search-dashboard-connection-footer__text{color:#3c434a;font-size:10.5px;font-weight:400;letter-spacing:-.02em;margin:0;text-align:center}.jp-search-dashboard-connection-screen .jp-search-dashboard-connection-footer__link{color:#3c434a}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:70%}.jp-connection__connect-screen-required-plan{background:linear-gradient(90deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{left:62%;position:absolute;top:14%}}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__with-subscription{margin-top:38px}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button{display:inline}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);font:inherit;height:auto;line-height:20px;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-right-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 0 0;color:var(--jp-red)!important;line-height:25px!important;padding-left:25px}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-left:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}.jp-wrap{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.jp-row{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px rgba(0,0,0,.08);max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-right:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;left:0;position:absolute;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px}.vMa4i_Dza2t5Zi_Bw9Nf{background:var(--jp-white-off)}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1128px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;max-width:var(--max-container-width);width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.jp-search-dashboard-upsell-page{line-height:1.5;width:100%}.jp-search-dashboard-upsell-page h1{line-height:1.2}.jp-search-dashboard-upsell-page>div{margin-left:0}.sexr0jUxC1jVixdKiDnC{margin-left:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-left:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-left:5px}.dops-button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:.875rem;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top}.dops-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.dops-button:disabled,.dops-button[disabled]{background:#fff;border-color:#eee;color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}.dops-button.is-compact{line-height:2;padding:0 10px}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{margin-top:-8px;top:4px}.dops-button.is-compact .gridicons-plus-small{margin-left:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-left:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-left:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}.dops-button.is-primary{background:#3582c4;border-color:#3582c4;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{background:#2271b1;border-color:#2271b1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;color:#66c6e4!important;cursor:default;text-shadow:none!important}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{border-color:#eee;color:#f4cdcd}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{height:24px;top:6px;width:24px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{background:#fff;color:#eee;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{height:18px;top:5px;width:18px}.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-right:48px}h2.dops-card-title{font-size:rem(20px)}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;position:absolute;right:16px;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.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)}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;left:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__switch:hover{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{left:16px}.form-toggle:checked:not(:disabled)+.form-toggle__switch:hover{background:#78dcfa}.form-toggle:disabled+span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__switch:after{left:8px}.jp-instant-search-upsell-nudge{color:#000;cursor:pointer;font-size:1em;text-decoration:none}.jp-instant-search-upsell-nudge:hover{color:#000}.jp-form-search-settings-group{width:100%}.jp-form-search-settings-group .dops-card{box-shadow:none;padding:4em 0 0}.jp-form-search-settings-group .form-toggle__label{margin:0}.jp-form-search-settings-group__toggle.is-instant-search{margin-top:4em}.jp-form-search-settings-group__toggle .jp-form-search-settings-group__toggle-container{display:flex}@media(max-width:960px){.jp-form-search-settings-group__toggle .jp-form-search-settings-group__toggle-container{justify-content:center}}.form-toggle__label-content{font-size:1.5em;font-weight:600;line-height:1.167}.form-toggle__label-content span{font-weight:400}.jp-form-search-settings-group__toggle-description{margin-top:1em}p.jp-form-search-settings-group__toggle-explanation{font-size:1em;font-weight:400;line-height:1.5;margin-bottom:0;margin-top:0}.jp-form-search-settings-group-buttons.jp-search-dashboard-row{margin-top:1.5em}.jp-form-search-settings-group-buttons__button{align-items:center;border-color:#000;display:flex;font-size:1em;justify-content:center;min-height:2.5em;padding:.5em 1.5em;text-align:center}.jp-form-search-settings-group-buttons__button.is-customize-search{background-color:#000;color:#fff}.jp-form-search-settings-group-buttons__button:disabled,.jp-form-search-settings-group-buttons__button[disabled]{background-color:#dcdcde;border-color:#dcdcde;color:#a7aaad;cursor:not-allowed}.jp-form-search-settings-group-buttons__button.is-widgets-editor{background:transparent;color:#000}.jp-form-search-settings-group-buttons__button.is-widgets-editor:disabled,.jp-form-search-settings-group-buttons__button.is-widgets-editor[disabled]{background:transparent;color:#a7aaad}.form-toggle.is-search-admin.is-compact+.form-toggle__switch{background:#fff;border:2px solid #000;border-radius:.75em;height:1.5em;width:3em}.form-toggle.is-search-admin.is-compact+.form-toggle__switch:after,.form-toggle.is-search-admin.is-compact+.form-toggle__switch:before{background-color:#000;height:.9375em;width:.9375em}.form-toggle.is-search-admin.is-compact+.form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle.is-search-admin.is-compact:checked+.form-toggle__switch{background:#069e08;border-color:#069e08}.form-toggle.is-search-admin.is-compact:checked+.form-toggle__switch:after{background-color:#fff;left:1.5em}.form-toggle.is-search-admin.is-compact.is-toggling+.form-toggle__switch:after,.form-toggle.is-search-admin.is-compact.is-toggling+.form-toggle__switch:before{left:1.5em}.form-toggle.is-search-admin.is-compact.is-toggling:checked+.form-toggle__switch:after,.form-toggle.is-search-admin.is-compact.is-toggling:checked+.form-toggle__switch:before{left:0}.jp-search-dashboard-cut{border:2px solid #069e08;border-radius:4px;display:block;margin:2em 0;padding:1em 4em 1em 1.5em;position:relative;text-decoration:none}.jp-search-dashboard-cut span{display:block}.jp-search-dashboard-cut span:last-of-type{font-weight:600}.jp-search-dashboard-cut:focus span:last-of-type,.jp-search-dashboard-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:2px}.jp-search-dashboard-cut:focus:after,.jp-search-dashboard-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-search-dashboard-cut:after{color:#069e08;content:"→";font-size:1.5em;font-weight:600;position:absolute;right:1.5em;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-search-dashboard-row .form-toggle__switch-container.sm-col-span-1{display:flex;justify-content:center;padding-top:4px}.jp-mocked-instant-search{background:#fff;border-radius:3px;box-shadow:0 5px 25px rgba(0,0,0,.35);font-size:.75em;height:100%;margin:0 auto;overflow:hidden;user-select:none;width:100%}.jp-mocked-instant-search__search-controls{align-items:center;border-bottom:1px solid #e6f1f5;display:flex;flex-flow:row nowrap;justify-content:space-between}.jp-mocked-instant-search__search-icon{align-items:center;display:flex;height:60px;justify-content:center;width:60px}@media(max-width:660px){.jp-mocked-instant-search__search-icon{height:45px;width:45px}}.jp-mocked-instant-search__search-mock-input{width:calc(100% - 120px)}.jp-mocked-instant-search__close-button{align-items:center;background-color:transparent!important;border-left:1px solid #e6f1f5;display:flex;height:60px;justify-content:center;line-height:1;width:60px}.jp-mocked-instant-search__close-button svg.gridicon{fill:#646970}@media(max-width:660px){.jp-mocked-instant-search__close-button{height:45px;width:45px}}.jp-mocked-instant-search__search-results{display:flex;height:100%;position:relative}.jp-mocked-instant-search__search-results-primary{padding:1em 4em;width:100%}@media(min-width:661px){.jp-mocked-instant-search__search-results-primary{max-width:calc(100% - 220px)}}@media(max-width:660px){.jp-mocked-instant-search__search-results-primary{padding:2em}}.jp-mocked-instant-search__search-results-header{align-items:center;display:flex;flex-flow:row wrap;justify-content:space-between}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-statistics{font-size:1em;font-weight:700}@media(max-width:480px){.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-statistics{width:100%}}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list span{font-size:1em;margin-left:.5em}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list span:first-child{margin-left:0}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list .jp-mocked-instant-search__result-sort-selected{color:#069e08}@media(max-width:480px){.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list{width:100%}}.jp-mocked-instant-search__search-result{margin-top:1em}.jp-mocked-instant-search__search-results-secondary{background:none;border-left:1px solid #e6f1f5;border-radius:0;bottom:0;box-shadow:none;display:block;flex:none;padding-left:2em;padding-top:1em;position:static;width:220px}@media(max-width:660px){.jp-mocked-instant-search__search-results-secondary{display:none}}.jp-mocked-instant-search__search-filter-header{font-weight:700}.jp-mocked-instant-search__search-filter label{cursor:default}.jp-mocked-instant-search__search-filter label input[type=checkbox]{border:1px solid #e6e6fa;border-radius:5px;cursor:default}.jp-mocked-instant-search__search-filter span{background-color:#e6e6fa;display:inline-block;line-height:1.35;margin-left:1em;width:50em}.jp-mocked-instant-search__search-filter input[type=checkbox]{height:1em;width:1em}.jp-mocked-instant-search__search-filter-list{margin-top:1em}.jp-mocked-legacy-search{border-radius:3px;margin:0 auto;user-select:none;width:100%}.jp-mocked-legacy-search__search-controls{background:#fff;box-shadow:0 5px 25px rgba(0,0,0,.35);display:flex;flex-flow:row nowrap;width:100%}.jp-mocked-legacy-search__search-icon{align-items:center;display:flex;height:60px;justify-content:center;width:60px}.jp-mocked-legacy-search__search-input{align-items:center;display:flex;width:100%}#jp-plugin-container{min-height:100vh}.dops-notice{animation:appear .3s ease-in-out;background:#414141;border-radius:3px;box-sizing:border-box;color:#fff;display:flex;line-height:1.5;margin-bottom:24px;position:relative;width:100%}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#3582c4}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{align-items:baseline;align-self:stretch;background:#747474;border-radius:3px 0 0 3px;color:#fff;display:flex;flex-shrink:0;justify-content:center;width:47px}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media(min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content.dops-notice__content{flex-grow:1;font-size:12px;padding:13px}@media(min-width:481px){.dops-notice__content.dops-notice__content{font-size:14px}}.dops-notice__content.dops-notice__content a{color:#fff;text-decoration:underline}.dops-notice__content.dops-notice__content a:hover,.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{color:#fff;text-decoration:underline}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-left:0}.dops-notice__text li{margin-left:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-left:.428em}.dops-notice__dismiss{cursor:pointer;flex-shrink:0;padding:12px 12px 0}.dops-notice__dismiss .gridicon{height:18px;width:18px}@media(min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{height:24px;width:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{align-items:center;color:#bbb;cursor:pointer;display:flex;font-size:12px;font-weight:400;padding:13px;text-decoration:none;white-space:nowrap}@media(min-width:481px){a.dops-notice__action{align-items:center;border-radius:0;flex-grow:0;flex-shrink:1;font-size:14px;margin:0 0 0 auto;padding:13px 16px}a.dops-notice__action .gridicon{height:24px;width:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{height:18px;margin-left:8px;opacity:.7;width:18px}.dops-notice.is-compact{border-radius:3px;display:inline-flex;flex-direction:row;flex-wrap:nowrap;line-height:1.5;margin:0;min-height:20px;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;width:auto}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{height:18px;margin:0;width:18px}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{align-self:center;flex:none;margin:0 8px 0 0;padding:0;position:relative}.dops-notice.is-compact .dops-notice__dismiss .gridicon{height:18px;width:18px}.dops-notice.is-compact a.dops-notice__action{align-self:center;background:transparent;display:inline-block;font-size:12px;margin:0 0 0 16px;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{height:14px;margin-left:8px;opacity:1;vertical-align:sub;width:14px}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{bottom:0;left:0;pointer-events:none;position:fixed;right:0;text-align:right;top:auto;z-index:179}@media(min-width:661px){.global-notices{bottom:auto;left:auto;max-width:calc(100% - 68px);right:16px;top:63px}}@media(min-width:961px){.global-notices{max-width:calc(100% - 208px);right:24px;top:71px}}@media(min-width:1041px){.global-notices{max-width:calc(100% - 224px);right:32px}}.global-notices .dops-notice{border-radius:0;box-shadow:0 2px 5px rgba(0,0,0,.2),0 0 56px rgba(0,0,0,.15);flex-wrap:nowrap;margin-bottom:0;pointer-events:auto;text-align:left}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0}@media(min-width:661px){.global-notices .dops-notice{border-radius:3px;display:flex;margin-bottom:24px;overflow:hidden}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:3px 0 0 3px}.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:13px 16px}}.global-notices .dops-notice__dismiss{flex-shrink:0}@media(min-width:661px){.global-notices .dops-notice__dismiss{padding:13px 16px 0}}.jp-search-bar-chart__container{max-height:40px}.jp-search-chart-legend__box{border-radius:100%;display:inline-block;height:15px;margin-left:0;margin-right:5px;width:15px}.jp-search-chart-legend{display:inline-block;font-size:1em;list-style:none}ul.jp-search-chart-legend{padding:0}.jp-search-chart-legend li{display:inherit;padding-bottom:18px}.jp-search-chart-legend__count{padding:0 10px 0 3px}.jp-search-chart-legend li .jp-search-chart-legend__count,.jp-search-chart-legend li .jp-search-chart-legend__label{display:inherit;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jp-search-notice-box{background-color:#fff;border:.5px solid #dcdcde;border-radius:5px;color:#000}.jp-search-notice-box__important{border:.5px solid #d63638}.jp-search-notice-box a.dops-notice__action{color:#000;display:inline;font-weight:700;padding:0 0 0 5px}.jp-search-notice-box span.dops-notice__dismiss>svg,.jp-search-notice-box span.dops-notice__dismiss>svg:hover{color:#000}.jp-search-notice-box .dops-notice__icon-wrapper{color:#000;vertical-align:text-top}.jp-search-notice-box__important,.jp-search-notice-box__important .dops-notice__icon-wrapper,.jp-search-notice-box__important a.dops-notice__action{color:#d63638}.jp-search-notice-box>span.dops-notice__icon-wrapper>svg{margin:0}.jp-search-record-count p{font-size:1em}.jp-search-record-meter .jp-search-notice-box>span.dops-notice__icon-wrapper{background-color:hsla(0,0%,100%,0);padding-top:13px}.jp-search-record-meter{border-bottom:1px solid #dcdcde;padding:64px 0}.jp-search-record-meter__content h2{margin-top:0}.jp-search-record-meter__content{width:100%}.jp-search-dashboard-wrap{align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin:0 auto;width:100%}.jp-search-dashboard-row{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:calc(100% - 32px)}@media(min-width:600px){.jp-search-dashboard-row{grid-template-columns:repeat(8,1fr);margin:0 18px;width:calc(100% - 36px)}}@media(min-width:960px){.jp-search-dashboard-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px;width:calc(100% - 48px)}}.jp-search-dashboard-row .sm-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .sm-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .sm-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.jp-search-dashboard-row .md-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .md-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .md-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .md-col-span-4{grid-column-end:span 4}.jp-search-dashboard-row .md-col-span-5{grid-column-end:span 5}.jp-search-dashboard-row .md-col-span-6{grid-column-end:span 6}.jp-search-dashboard-row .md-col-span-7{grid-column-end:span 7}.jp-search-dashboard-row .md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.jp-search-dashboard-row .lg-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .lg-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .lg-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .lg-col-span-4{grid-column-end:span 4}.jp-search-dashboard-row .lg-col-span-5{grid-column-end:span 5}.jp-search-dashboard-row .lg-col-span-6{grid-column-end:span 6}.jp-search-dashboard-row .lg-col-span-7{grid-column-end:span 7}.jp-search-dashboard-row .lg-col-span-8{grid-column-end:span 8}.jp-search-dashboard-row .lg-col-span-9{grid-column-end:span 9}.jp-search-dashboard-row .lg-col-span-10{grid-column-end:span 10}.jp-search-dashboard-row .lg-col-span-11{grid-column-end:span 11}.jp-search-dashboard-row .lg-col-span-12{grid-column-end:span 12}.jp-search-dashboard-row .lg-col-span-0{display:none}}@media(max-width:960px){.jp-search-dashboard-row .md-col-span-0{display:none}}@media(max-width:600px){.jp-search-dashboard-row .sm-col-span-0{display:none}.jp-search-dashboard-row .sm-col-span-1{display:block}}*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;min-height:100%;padding:0}#wpcontent{padding-left:0!important}#screen-meta,#screen-meta-links{display:none}#jp-search-dashboard{background-color:#fff;color:#000;display:flex;font-size:16px;min-height:calc(100vh - 97px)}#jp-search-dashboard .jp-search-dashboard-page{width:100%}#jp-search-dashboard .jp-masthead__logo-link{pointer-events:none}#jp-search-dashboard .jp-search-dashboard-top{background-color:#f9f9f6;overflow:hidden}#jp-search-dashboard .jp-search-dashboard-top__title{padding:2.5em 0}#jp-search-dashboard .jp-search-dashboard-top__title h1{font-size:2.25em;line-height:1.111;margin:0}#jp-search-dashboard .jp-search-dashboard-top__mocked-search-interface{align-items:center;display:flex;flex-flow:column;height:15.625em;justify-content:center}#jp-search-dashboard .jp-search-dashboard-bottom{background-color:#fff}#jp-search-dashboard .jp-search-dashboard-footer,#jp-search-dashboard .jp-search-dashboard-header{background-color:#fff;padding:2.5em 0}@media(max-width:600px){#jp-search-dashboard{font-size:14px}} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js
new file mode 100644
index 00000000..30644260
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js
@@ -0,0 +1,13 @@
+/*! For license information please see jp-search-dashboard.js.LICENSE.txt */
+!function(){var t={9064:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});const i={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 r(t){return i[t]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:function(t,e,n){"use strict";n.d(e,{LR:function(){return s}});var i=n(9064),r=n(2003);function s(t,e,n={}){const s=(0,i.X)(e);if(!s||isNaN(t))return null;const{decimal:o,grouping:a,precision:c,symbol:l}={...s,...n},h=t<0?"-":"",u=Math.abs(t),d=Math.floor(u);return{sign:h,symbol:l,integer:(0,r.Z)(u,c,o,a).split(o)[0],fraction:c>0?(0,r.Z)(u-d,c,o,a).slice(1):""}}},2003:function(t,e,n){"use strict";function i(t,e=0,n=".",i=","){const r=(t+"").replace(/[^0-9+\-Ee.]/g,""),s=isFinite(+r)?+r:0,o=isFinite(+e)?Math.abs(e):0,a=(o?function(t,e){const n=Math.pow(10,e);return""+(Math.round(t*n)/n).toFixed(e)}(s,o):""+Math.round(s)).split(".");return a[0].length>3&&(a[0]=a[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(a[1]||"").length<o&&(a[1]=a[1]||"",a[1]+=new Array(o-a[1].length+1).join("0")),a.join(n)}n.d(e,{Z:function(){return i}})},8294:function(t){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},2402:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(this,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},3807:function(t,e,n){"use strict";var i=n(917);i.kL.register(...i.zX),e.Z=i.kL},917:function(t,e,n){"use strict";n.d(e,{kL:function(){return ce},zX:function(){return qn}});var i=n(8095);var r=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,i){const r=e.listeners[i],s=e.duration;r.forEach((i=>i({chart:t,initial:e.initial,numSteps:s,currentStep:Math.min(n-e.start,s)})))}_refresh(){this._request||(this._running=!0,this._request=i.r.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((n,i)=>{if(!n.running||!n.items.length)return;const r=n.items;let s,o=r.length-1,a=!1;for(;o>=0;--o)s=r[o],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(t),a=!0):(r[o]=r[r.length-1],r.pop());a&&(i.draw(),this._notify(i,n,t,"progress")),r.length||(n.running=!1,this._notify(i,n,t,"complete"),n.initial=!1),e+=r.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let i=n.length-1;for(;i>=0;--i)n[i].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};const s="transparent",o={boolean:(t,e,n)=>n>.5?e:t,color(t,e,n){const r=(0,i.c)(t||s),o=r.valid&&(0,i.c)(e||s);return o&&o.valid?o.mix(r,n).hexString():e},number:(t,e,n)=>t+(e-t)*n};class a{constructor(t,e,n,r){const s=e[n];r=(0,i.a)([t.to,r,s,t.from]);const a=(0,i.a)([t.from,s,r]);this._active=!0,this._fn=t.fn||o[t.type||typeof a],this._easing=i.e[t.easing]||i.e.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const r=this._target[this._prop],s=n-this._start,o=this._duration-s;this._start=n,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=s,this._loop=!!t.loop,this._to=(0,i.a)([t.to,e,r,t.from]),this._from=(0,i.a)([t.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,i=this._prop,r=this._from,s=this._loop,o=this._to;let a;if(this._active=r!==o&&(s||e<n),!this._active)return this._target[i]=o,void this._notify(!0);e<0?this._target[i]=r:(a=e/n%2,a=s&&a>1?2-a:a,a=this._easing(Math.min(1,Math.max(0,a))),this._target[i]=this._fn(r,o,a))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,n)=>{t.push({res:e,rej:n})}))}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let t=0;t<n.length;t++)n[t][e]()}}i.d.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const c=Object.keys(i.d.animation);i.d.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),i.d.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),i.d.describe("animations",{_fallback:"animation"}),i.d.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class l{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!(0,i.i)(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((n=>{const r=t[n];if(!(0,i.i)(r))return;const s={};for(const t of c)s[t]=r[t];((0,i.b)(r.properties)&&r.properties||[n]).forEach((t=>{t!==n&&e.has(t)||e.set(t,s)}))}))}_animateOptions(t,e){const n=e.options,i=function(t,e){if(!e)return;let n=t.options;if(!n)return void(t.options=e);n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(t,n);if(!i)return[];const r=this._createAnimations(i,n);return n.$shared&&function(t,e){const n=[],i=Object.keys(e);for(let e=0;e<i.length;e++){const r=t[i[e]];r&&r.active()&&n.push(r.wait())}return Promise.all(n)}(t.options.$animations,n).then((()=>{t.options=n}),(()=>{})),r}_createAnimations(t,e){const n=this._properties,i=[],r=t.$animations||(t.$animations={}),s=Object.keys(e),o=Date.now();let c;for(c=s.length-1;c>=0;--c){const l=s[c];if("$"===l.charAt(0))continue;if("options"===l){i.push(...this._animateOptions(t,e));continue}const h=e[l];let u=r[l];const d=n.get(l);if(u){if(d&&u.active()){u.update(d,h,o);continue}u.cancel()}d&&d.duration?(r[l]=u=new a(d,t,l,h),i.push(u)):t[l]=h}return i}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(r.add(this._chart,n),!0):void 0}}function h(t,e){const n=t&&t.options||{},i=n.reverse,r=void 0===n.min?e:0,s=void 0===n.max?e:0;return{start:i?s:r,end:i?r:s}}function u(t,e){const n=[],i=t._getSortedDatasetMetas(e);let r,s;for(r=0,s=i.length;r<s;++r)n.push(i[r].index);return n}function d(t,e,n,r={}){const s=t.keys,o="single"===r.mode;let a,c,l,h;if(null!==e){for(a=0,c=s.length;a<c;++a){if(l=+s[a],l===n){if(r.all)continue;break}h=t.values[l],(0,i.g)(h)&&(o||0===e||(0,i.s)(e)===(0,i.s)(h))&&(e+=h)}return e}}function p(t,e){const n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function f(t,e,n){const i=t[e]||(t[e]={});return i[n]||(i[n]={})}function g(t,e,n,i){for(const r of e.getMatchingVisibleMetas(i).reverse()){const e=t[r.index];if(n&&e>0||!n&&e<0)return r.index}return null}function m(t,e){const{chart:n,_cachedMeta:i}=t,r=n._stacks||(n._stacks={}),{iScale:s,vScale:o,index:a}=i,c=s.axis,l=o.axis,h=function(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}(s,o,i),u=e.length;let d;for(let t=0;t<u;++t){const n=e[t],{[c]:s,[l]:u}=n;d=(n._stacks||(n._stacks={}))[l]=f(r,h,s),d[a]=u,d._top=g(d,o,!0,i.type),d._bottom=g(d,o,!1,i.type)}}function b(t,e){const n=t.scales;return Object.keys(n).filter((t=>n[t].axis===e)).shift()}function y(t,e){const n=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[i]||void 0===e[i][n])return;delete e[i][n]}}}const v=t=>"reset"===t||"none"===t,x=(t,e)=>e?t:Object.assign({},t);class _{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=p(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&y(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),r=(t,e,n,i)=>"x"===t?e:"r"===t?i:n,s=e.xAxisID=(0,i.v)(n.xAxisID,b(t,"x")),o=e.yAxisID=(0,i.v)(n.yAxisID,b(t,"y")),a=e.rAxisID=(0,i.v)(n.rAxisID,b(t,"r")),c=e.indexAxis,l=e.iAxisID=r(c,s,o,a),h=e.vAxisID=r(c,o,s,a);e.xScale=this.getScaleForId(s),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&(0,i.u)(this._data,this),t._stacked&&y(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if((0,i.i)(e))this._data=function(t){const e=Object.keys(t),n=new Array(e.length);let i,r,s;for(i=0,r=e.length;i<r;++i)s=e[i],n[i]={x:s,y:t[s]};return n}(e);else if(n!==e){if(n){(0,i.u)(n,this);const t=this._cachedMeta;y(t),t._parsed=[]}e&&Object.isExtensible(e)&&(0,i.l)(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let i=!1;this._dataCheck();const r=e._stacked;e._stacked=p(e.vScale,e),e.stack!==n.stack&&(i=!0,y(e),e.stack=n.stack),this._resyncElements(t),(i||r!==e._stacked)&&m(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:n,_data:r}=this,{iScale:s,_stacked:o}=n,a=s.axis;let c,l,h,u=0===t&&e===r.length||n._sorted,d=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,h=r;else{h=(0,i.b)(r[t])?this.parseArrayData(n,r,t,e):(0,i.i)(r[t])?this.parseObjectData(n,r,t,e):this.parsePrimitiveData(n,r,t,e);const s=()=>null===l[a]||d&&l[a]<d[a];for(c=0;c<e;++c)n._parsed[c+t]=l=h[c],u&&(s()&&(u=!1),d=l);n._sorted=u}o&&m(this,h)}parsePrimitiveData(t,e,n,i){const{iScale:r,vScale:s}=t,o=r.axis,a=s.axis,c=r.getLabels(),l=r===s,h=new Array(i);let u,d,p;for(u=0,d=i;u<d;++u)p=u+n,h[u]={[o]:l||r.parse(c[p],p),[a]:s.parse(e[p],p)};return h}parseArrayData(t,e,n,i){const{xScale:r,yScale:s}=t,o=new Array(i);let a,c,l,h;for(a=0,c=i;a<c;++a)l=a+n,h=e[l],o[a]={x:r.parse(h[0],l),y:s.parse(h[1],l)};return o}parseObjectData(t,e,n,r){const{xScale:s,yScale:o}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l=new Array(r);let h,u,d,p;for(h=0,u=r;h<u;++h)d=h+n,p=e[d],l[h]={x:s.parse((0,i.f)(p,a),d),y:o.parse((0,i.f)(p,c),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,n){const i=this.chart,r=this._cachedMeta,s=e[t.axis];return d({keys:u(i,!0),values:e._stacks[t.axis]},s,r.index,{mode:n})}updateRangeFromParsed(t,e,n,i){const r=n[e.axis];let s=null===r?NaN:r;const o=i&&n._stacks[e.axis];i&&o&&(i.values=o,s=d(i,r,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,e){const n=this._cachedMeta,r=n._parsed,s=n._sorted&&t===n.iScale,o=r.length,a=this._getOtherScale(t),c=((t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:u(n,!0),values:null})(e,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:d}=function(t){const{min:e,max:n,minDefined:i,maxDefined:r}=t.getUserBounds();return{min:i?e:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}(a);let p,f;function g(){f=r[p];const e=f[a.axis];return!(0,i.g)(f[t.axis])||h>e||d<e}for(p=0;p<o&&(g()||(this.updateRangeFromParsed(l,t,f,c),!s));++p);if(s)for(p=o-1;p>=0;--p)if(!g()){this.updateRangeFromParsed(l,t,f,c);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let r,s,o;for(r=0,s=e.length;r<s;++r)o=e[r][t.axis],(0,i.g)(o)&&n.push(o);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,n=e.iScale,i=e.vScale,r=this.getParsed(t);return{label:n?""+n.getLabelForValue(r[n.axis]):"",value:i?""+i.getLabelForValue(r[i.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,n,r,s;return(0,i.i)(t)?(e=t.top,n=t.right,r=t.bottom,s=t.left):e=n=r=s=t,{top:e,right:n,bottom:r,left:s,disabled:!1===t}}((0,i.v)(this.options.clip,function(t,e,n){if(!1===n)return!1;const i=h(t,n),r=h(e,n);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,n=this._cachedMeta,i=n.data||[],r=e.chartArea,s=[],o=this._drawStart||0,a=this._drawCount||i.length-o,c=this.options.drawActiveElementsOnTop;let l;for(n.dataset&&n.dataset.draw(t,r,o,a),l=o;l<o+a;++l){const e=i[l];e.hidden||(e.active&&c?s.push(e):e.draw(t,r))}for(l=0;l<s.length;++l)s[l].draw(t,r)}getStyle(t,e){const n=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,e,n){const r=this.getDataset();let s;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];s=e.$context||(e.$context=function(t,e,n){return(0,i.h)(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),s.parsed=this.getParsed(t),s.raw=r.data[t],s.index=s.dataIndex=t}else s=this.$context||(this.$context=function(t,e){return(0,i.h)(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),s.dataset=r,s.index=s.datasetIndex=this.index;return s.active=!!e,s.mode=n,s}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",n){const r="active"===e,s=this._cachedDataOpts,o=t+"-"+e,a=s[o],c=this.enableOptionSharing&&(0,i.j)(n);if(a)return x(a,c);const l=this.chart.config,h=l.datasetElementScopeKeys(this._type,t),u=r?[`${t}Hover`,"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),h),p=Object.keys(i.d.elements[t]),f=l.resolveNamedOptions(d,p,(()=>this.getContext(n,r)),u);return f.$shared&&(f.$shared=c,s[o]=Object.freeze(x(f,c))),f}_resolveAnimations(t,e,n){const i=this.chart,r=this._cachedDataOpts,s=`animation-${e}`,o=r[s];if(o)return o;let a;if(!1!==i.options.animation){const i=this.chart.config,r=i.datasetAnimationScopeKeys(this._type,e),s=i.getOptionScopes(this.getDataset(),r);a=i.createResolver(s,this.getContext(t,n,e))}const c=new l(i,a&&a.animations);return a&&a._cacheable&&(r[s]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||v(t)||this.chart._animationsDisabled}updateElement(t,e,n,i){v(i)?Object.assign(t,n):this._resolveAnimations(e,i).update(t,n)}updateSharedOptions(t,e,n){t&&!v(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,i){t.active=i;const r=this.getStyle(e,i);this._resolveAnimations(e,n,i).update(t,{options:!i&&this.getSharedOptions(r)||r})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[t,e,n]of this._syncList)this[t](e,n);this._syncList=[];const i=n.length,r=e.length,s=Math.min(r,i);s&&this.parse(0,s),r>i?this._insertElements(i,r-i,t):r<i&&this._removeElements(r,i-r)}_insertElements(t,e,n=!0){const i=this._cachedMeta,r=i.data,s=t+e;let o;const a=t=>{for(t.length+=e,o=t.length-1;o>=s;o--)t[o]=t[o-e]};for(a(r),o=t;o<s;++o)r[o]=new this.dataElementType;this._parsing&&a(i._parsed),this.parse(t,e),n&&this.updateElements(r,t,e,"reset")}updateElements(t,e,n,i){}_removeElements(t,e){const n=this._cachedMeta;if(this._parsing){const i=n._parsed.splice(t,e);n._stacked&&y(n,i)}n.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,n,i]=t;this[e](n,i)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function k(t){const e=t.iScale,n=function(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let e=0,i=n.length;e<i;e++)r=r.concat(n[e].controller.getAllParsedValues(t));t._cache.$bar=(0,i._)(r.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let r,s,o,a,c=e._length;const l=()=>{32767!==o&&-32768!==o&&((0,i.j)(a)&&(c=Math.min(c,Math.abs(o-a)||c)),a=o)};for(r=0,s=n.length;r<s;++r)o=e.getPixelForValue(n[r]),l();for(a=void 0,r=0,s=e.ticks.length;r<s;++r)o=e.getPixelForTick(r),l();return c}function w(t,e,n,r){return(0,i.b)(t)?function(t,e,n,i){const r=n.parse(t[0],i),s=n.parse(t[1],i),o=Math.min(r,s),a=Math.max(r,s);let c=o,l=a;Math.abs(o)>Math.abs(a)&&(c=a,l=o),e[n.axis]=l,e._custom={barStart:c,barEnd:l,start:r,end:s,min:o,max:a}}(t,e,n,r):e[n.axis]=n.parse(t,r),e}function S(t,e,n,i){const r=t.iScale,s=t.vScale,o=r.getLabels(),a=r===s,c=[];let l,h,u,d;for(l=n,h=n+i;l<h;++l)d=e[l],u={},u[r.axis]=a||r.parse(o[l],l),c.push(w(d,u,s,l));return c}function C(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function E(t,e,n,i){let r=e.borderSkipped;const s={};if(!r)return void(t.borderSkipped=s);const{start:o,end:a,reverse:c,top:l,bottom:h}=function(t){let e,n,i,r,s;return t.horizontal?(e=t.base>t.x,n="left",i="right"):(e=t.base<t.y,n="bottom",i="top"),e?(r="end",s="start"):(r="start",s="end"),{start:n,end:i,reverse:e,top:r,bottom:s}}(t);"middle"===r&&n&&(t.enableBorderRadius=!0,(n._top||0)===i?r=l:(n._bottom||0)===i?r=h:(s[M(h,o,a,c)]=!0,r=l)),s[M(r,o,a,c)]=!0,t.borderSkipped=s}function M(t,e,n,i){var r,s,o;return i?(o=n,t=P(t=(r=t)===(s=e)?o:r===o?s:r,n,e)):t=P(t,e,n),t}function P(t,e,n){return"start"===t?e:"end"===t?n:t}function j(t,{inflateAmount:e},n){t.inflateAmount="auto"===e?1===n?.33:0:e}_.defaults={},_.prototype.datasetElementType=null,_.prototype.dataElementType=null;class O extends _{parsePrimitiveData(t,e,n,i){return S(t,e,n,i)}parseArrayData(t,e,n,i){return S(t,e,n,i)}parseObjectData(t,e,n,r){const{iScale:s,vScale:o}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l="x"===s.axis?a:c,h="x"===o.axis?a:c,u=[];let d,p,f,g;for(d=n,p=n+r;d<p;++d)g=e[d],f={},f[s.axis]=s.parse((0,i.f)(g,l),d),u.push(w((0,i.f)(g,h),f,o,d));return u}updateRangeFromParsed(t,e,n,i){super.updateRangeFromParsed(t,e,n,i);const r=n._custom;r&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:n,vScale:i}=e,r=this.getParsed(t),s=r._custom,o=C(s)?"["+s.start+", "+s.end+"]":""+i.getLabelForValue(r[i.axis]);return{label:""+n.getLabelForValue(r[n.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,n,r){const s="reset"===r,{index:o,_cachedMeta:{vScale:a}}=this,c=a.getBasePixel(),l=a.isHorizontal(),h=this._getRuler(),u=this.resolveDataElementOptions(e,r),d=this.getSharedOptions(u),p=this.includeOptions(r,d);this.updateSharedOptions(d,r,u);for(let u=e;u<e+n;u++){const e=this.getParsed(u),n=s||(0,i.k)(e[a.axis])?{base:c,head:c}:this._calculateBarValuePixels(u),f=this._calculateBarIndexPixels(u,h),g=(e._stacks||{})[a.axis],m={horizontal:l,base:n.base,enableBorderRadius:!g||C(e._custom)||o===g._top||o===g._bottom,x:l?n.head:f.center,y:l?f.center:n.head,height:l?f.size:Math.abs(n.size),width:l?Math.abs(n.size):f.size};p&&(m.options=d||this.resolveDataElementOptions(u,t[u].active?"active":r));const b=m.options||t[u].options;E(m,b,g,o),j(m,b,h.ratio),this.updateElement(t[u],u,m,r)}}_getStacks(t,e){const n=this._cachedMeta.iScale,r=n.getMatchingVisibleMetas(this._type),s=n.options.stacked,o=r.length,a=[];let c,l;for(c=0;c<o;++c)if(l=r[c],l.controller.options.grouped){if(void 0!==e){const t=l.controller.getParsed(e)[l.controller._cachedMeta.vScale.axis];if((0,i.k)(t)||isNaN(t))continue}if((!1===s||-1===a.indexOf(l.stack)||void 0===s&&void 0===l.stack)&&a.push(l.stack),l.index===t)break}return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,n){const i=this._getStacks(t,n),r=void 0!==e?i.indexOf(e):-1;return-1===r?i.length-1:r}_getRuler(){const t=this.options,e=this._cachedMeta,n=e.iScale,i=[];let r,s;for(r=0,s=e.data.length;r<s;++r)i.push(n.getPixelForValue(this.getParsed(r)[n.axis],r));const o=t.barThickness;return{min:o||k(e),pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:o?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:n},options:{base:r,minBarLength:s}}=this,o=r||0,a=this.getParsed(t),c=a._custom,l=C(c);let h,u,d=a[e.axis],p=0,f=n?this.applyStack(e,a,n):d;f!==d&&(p=f-d,f=d),l&&(d=c.barStart,f=c.barEnd-c.barStart,0!==d&&(0,i.s)(d)!==(0,i.s)(c.barEnd)&&(p=0),p+=d);const g=(0,i.k)(r)||l?p:r;let m=e.getPixelForValue(g);if(h=this.chart.getDataVisibility(t)?e.getPixelForValue(p+f):m,u=h-m,Math.abs(u)<s&&(u=function(t,e,n){return 0!==t?(0,i.s)(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}(u,e,o)*s,d===o&&(m-=u/2),h=m+u),m===e.getPixelForValue(o)){const t=(0,i.s)(u)*e.getLineWidthForValue(o)/2;m+=t,u-=t}return{size:u,base:m,head:h,center:h+u/2}}_calculateBarIndexPixels(t,e){const n=e.scale,r=this.options,s=r.skipNull,o=(0,i.v)(r.maxBarThickness,1/0);let a,c;if(e.grouped){const n=s?this._getStackCount(t):e.stackCount,l="flex"===r.barThickness?function(t,e,n,i){const r=e.pixels,s=r[t];let o=t>0?r[t-1]:null,a=t<r.length-1?r[t+1]:null;const c=n.categoryPercentage;null===o&&(o=s-(null===a?e.end-e.start:a-s)),null===a&&(a=s+s-o);const l=s-(s-Math.min(o,a))/2*c;return{chunk:Math.abs(a-o)/2*c/i,ratio:n.barPercentage,start:l}}(t,e,r,n):function(t,e,n,r){const s=n.barThickness;let o,a;return(0,i.k)(s)?(o=e.min*n.categoryPercentage,a=n.barPercentage):(o=s*r,a=1),{chunk:o/r,ratio:a,start:e.pixels[t]-o/2}}(t,e,r,n),h=this._getStackIndex(this.index,this._cachedMeta.stack,s?t:void 0);a=l.start+l.chunk*h+l.chunk/2,c=Math.min(o,l.chunk*l.ratio)}else a=n.getPixelForValue(this.getParsed(t)[n.axis],t),c=Math.min(o,e.min*e.ratio);return{base:a-c/2,head:a+c/2,center:a,size:c}}draw(){const t=this._cachedMeta,e=t.vScale,n=t.data,i=n.length;let r=0;for(;r<i;++r)null!==this.getParsed(r)[e.axis]&&n[r].draw(this._ctx)}}O.id="bar",O.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},O.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class T extends _{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,n,i){const r=super.parsePrimitiveData(t,e,n,i);for(let t=0;t<r.length;t++)r[t]._custom=this.resolveDataElementOptions(t+n).radius;return r}parseArrayData(t,e,n,r){const s=super.parseArrayData(t,e,n,r);for(let t=0;t<s.length;t++){const r=e[n+t];s[t]._custom=(0,i.v)(r[2],this.resolveDataElementOptions(t+n).radius)}return s}parseObjectData(t,e,n,r){const s=super.parseObjectData(t,e,n,r);for(let t=0;t<s.length;t++){const r=e[n+t];s[t]._custom=(0,i.v)(r&&r.r&&+r.r,this.resolveDataElementOptions(t+n).radius)}return s}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:n,yScale:i}=e,r=this.getParsed(t),s=n.getLabelForValue(r.x),o=i.getLabelForValue(r.y),a=r._custom;return{label:e.label,value:"("+s+", "+o+(a?", "+a:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,n,i){const r="reset"===i,{iScale:s,vScale:o}=this._cachedMeta,a=this.resolveDataElementOptions(e,i),c=this.getSharedOptions(a),l=this.includeOptions(i,c),h=s.axis,u=o.axis;for(let a=e;a<e+n;a++){const e=t[a],n=!r&&this.getParsed(a),c={},d=c[h]=r?s.getPixelForDecimal(.5):s.getPixelForValue(n[h]),p=c[u]=r?o.getBasePixel():o.getPixelForValue(n[u]);c.skip=isNaN(d)||isNaN(p),l&&(c.options=this.resolveDataElementOptions(a,e.active?"active":i),r&&(c.options.radius=0)),this.updateElement(e,a,c,i)}this.updateSharedOptions(c,i,a)}resolveDataElementOptions(t,e){const n=this.getParsed(t);let r=super.resolveDataElementOptions(t,e);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const s=r.radius;return"active"!==e&&(r.radius=0),r.radius+=(0,i.v)(n&&n._custom,s),r}}T.id="bubble",T.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},T.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class N extends _{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const n=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=n;else{let s,o,a=t=>+n[t];if((0,i.i)(n[t])){const{key:t="value"}=this._parsing;a=e=>+(0,i.f)(n[e],t)}for(s=t,o=t+e;s<o;++s)r._parsed[s]=a(s)}}_getRotation(){return(0,i.t)(this.options.rotation-90)}_getCircumference(){return(0,i.t)(this.options.circumference)}_getRotationExtents(){let t=i.T,e=-i.T;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)){const i=this.chart.getDatasetMeta(n).controller,r=i._getRotation(),s=i._getCircumference();t=Math.min(t,r),e=Math.max(e,r+s)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:n}=e,r=this._cachedMeta,s=r.data,o=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,a=Math.max((Math.min(n.width,n.height)-o)/2,0),c=Math.min((0,i.m)(this.options.cutout,a),1),l=this._getRingWeight(this.index),{circumference:h,rotation:u}=this._getRotationExtents(),{ratioX:d,ratioY:p,offsetX:f,offsetY:g}=function(t,e,n){let r=1,s=1,o=0,a=0;if(e<i.T){const c=t,l=c+e,h=Math.cos(c),u=Math.sin(c),d=Math.cos(l),p=Math.sin(l),f=(t,e,r)=>(0,i.p)(t,c,l,!0)?1:Math.max(e,e*n,r,r*n),g=(t,e,r)=>(0,i.p)(t,c,l,!0)?-1:Math.min(e,e*n,r,r*n),m=f(0,h,d),b=f(i.H,u,p),y=g(i.P,h,d),v=g(i.P+i.H,u,p);r=(m-y)/2,s=(b-v)/2,o=-(m+y)/2,a=-(b+v)/2}return{ratioX:r,ratioY:s,offsetX:o,offsetY:a}}(u,h,c),m=(n.width-o)/d,b=(n.height-o)/p,y=Math.max(Math.min(m,b)/2,0),v=(0,i.n)(this.options.radius,y),x=(v-Math.max(v*c,0))/this._getVisibleDatasetWeightTotal();this.offsetX=f*v,this.offsetY=g*v,r.total=this.calculateTotal(),this.outerRadius=v-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*l,0),this.updateElements(s,0,s.length,t)}_circumference(t,e){const n=this.options,r=this._cachedMeta,s=this._getCircumference();return e&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||null===r._parsed[t]||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*s/i.T)}updateElements(t,e,n,i){const r="reset"===i,s=this.chart,o=s.chartArea,a=s.options.animation,c=(o.left+o.right)/2,l=(o.top+o.bottom)/2,h=r&&a.animateScale,u=h?0:this.innerRadius,d=h?0:this.outerRadius,p=this.resolveDataElementOptions(e,i),f=this.getSharedOptions(p),g=this.includeOptions(i,f);let m,b=this._getRotation();for(m=0;m<e;++m)b+=this._circumference(m,r);for(m=e;m<e+n;++m){const e=this._circumference(m,r),n=t[m],s={x:c+this.offsetX,y:l+this.offsetY,startAngle:b,endAngle:b+e,circumference:e,outerRadius:d,innerRadius:u};g&&(s.options=f||this.resolveDataElementOptions(m,n.active?"active":i)),b+=e,this.updateElement(n,m,s,i)}this.updateSharedOptions(f,i,p)}calculateTotal(){const t=this._cachedMeta,e=t.data;let n,i=0;for(n=0;n<e.length;n++){const r=t._parsed[n];null===r||isNaN(r)||!this.chart.getDataVisibility(n)||e[n].hidden||(i+=Math.abs(r))}return i}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?i.T*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],s=(0,i.o)(e._parsed[t],n.options.locale);return{label:r[t]||"",value:s}}getMaxBorderWidth(t){let e=0;const n=this.chart;let i,r,s,o,a;if(!t)for(i=0,r=n.data.datasets.length;i<r;++i)if(n.isDatasetVisible(i)){s=n.getDatasetMeta(i),t=s.data,o=s.controller;break}if(!t)return 0;for(i=0,r=t.length;i<r;++i)a=o.resolveDataElementOptions(i),"inner"!==a.borderAlign&&(e=Math.max(e,a.borderWidth||0,a.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let n=0,i=t.length;n<i;++n){const t=this.resolveDataElementOptions(n);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e}_getRingWeight(t){return Math.max((0,i.v)(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}N.id="doughnut",N.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},N.descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t},N.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map(((e,i)=>{const r=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;const n=": "+t.formattedValue;return(0,i.b)(e)?(e=e.slice(),e[0]+=n):e+=n,e}}}}};class A extends _{initialize(){this.enableOptionSharing=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:r=[],_dataset:s}=e,o=this.chart._animationsDisabled;let{start:a,count:c}=function(t,e,n){const r=e.length;let s=0,o=r;if(t._sorted){const{iScale:a,_parsed:c}=t,l=a.axis,{min:h,max:u,minDefined:d,maxDefined:p}=a.getUserBounds();d&&(s=(0,i.w)(Math.min((0,i.x)(c,a.axis,h).lo,n?r:(0,i.x)(e,l,a.getPixelForValue(h)).lo),0,r-1)),o=p?(0,i.w)(Math.max((0,i.x)(c,a.axis,u).hi+1,n?0:(0,i.x)(e,l,a.getPixelForValue(u)).hi+1),s,r)-s:r-s}return{start:s,count:o}}(e,r,o);this._drawStart=a,this._drawCount=c,function(t){const{xScale:e,yScale:n,_scaleRanges:i}=t,r={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!i)return t._scaleRanges=r,!0;const s=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,r),s}(e)&&(a=0,c=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!s._decimated,n.points=r;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:l},t),this.updateElements(r,a,c,t)}updateElements(t,e,n,r){const s="reset"===r,{iScale:o,vScale:a,_stacked:c,_dataset:l}=this._cachedMeta,h=this.resolveDataElementOptions(e,r),u=this.getSharedOptions(h),d=this.includeOptions(r,u),p=o.axis,f=a.axis,{spanGaps:g,segment:m}=this.options,b=(0,i.q)(g)?g:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||s||"none"===r;let v=e>0&&this.getParsed(e-1);for(let h=e;h<e+n;++h){const e=t[h],n=this.getParsed(h),g=y?e:{},x=(0,i.k)(n[f]),_=g[p]=o.getPixelForValue(n[p],h),k=g[f]=s||x?a.getBasePixel():a.getPixelForValue(c?this.applyStack(a,n,c):n[f],h);g.skip=isNaN(_)||isNaN(k)||x,g.stop=h>0&&n[p]-v[p]>b,m&&(g.parsed=n,g.raw=l.data[h]),d&&(g.options=u||this.resolveDataElementOptions(h,e.active?"active":r)),y||this.updateElement(e,h,g,r),v=n}this.updateSharedOptions(u,r,h)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,i=t.data||[];if(!i.length)return n;const r=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(n,r,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}A.id="line",A.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},A.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class D extends _{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],s=(0,i.o)(e._parsed[t].r,n.options.locale);return{label:r[t]||"",value:s}}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}_updateRadius(){const t=this.chart,e=t.chartArea,n=t.options,i=Math.min(e.right-e.left,e.bottom-e.top),r=Math.max(i/2,0),s=(r-Math.max(n.cutoutPercentage?r/100*n.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=r-s*this.index,this.innerRadius=this.outerRadius-s}updateElements(t,e,n,r){const s="reset"===r,o=this.chart,a=this.getDataset(),c=o.options.animation,l=this._cachedMeta.rScale,h=l.xCenter,u=l.yCenter,d=l.getIndexAngle(0)-.5*i.P;let p,f=d;const g=360/this.countVisibleElements();for(p=0;p<e;++p)f+=this._computeAngle(p,r,g);for(p=e;p<e+n;p++){const e=t[p];let n=f,i=f+this._computeAngle(p,r,g),m=o.getDataVisibility(p)?l.getDistanceFromCenterForValue(a.data[p]):0;f=i,s&&(c.animateScale&&(m=0),c.animateRotate&&(n=i=d));const b={x:h,y:u,innerRadius:0,outerRadius:m,startAngle:n,endAngle:i,options:this.resolveDataElementOptions(p,e.active?"active":r)};this.updateElement(e,p,b,r)}}countVisibleElements(){const t=this.getDataset(),e=this._cachedMeta;let n=0;return e.data.forEach(((e,i)=>{!isNaN(t.data[i])&&this.chart.getDataVisibility(i)&&n++})),n}_computeAngle(t,e,n){return this.chart.getDataVisibility(t)?(0,i.t)(this.resolveDataElementOptions(t,e).angle||n):0}}D.id="polarArea",D.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},D.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map(((e,i)=>{const r=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class R extends N{}R.id="pie",R.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class I extends _{getLabelAndValue(t){const e=this._cachedMeta.vScale,n=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(n[e.axis])}}update(t){const e=this._cachedMeta,n=e.dataset,i=e.data||[],r=e.iScale.getLabels();if(n.points=i,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const s={_loop:!0,_fullLoop:r.length===i.length,options:e};this.updateElement(n,void 0,s,t)}this.updateElements(i,0,i.length,t)}updateElements(t,e,n,i){const r=this.getDataset(),s=this._cachedMeta.rScale,o="reset"===i;for(let a=e;a<e+n;a++){const e=t[a],n=this.resolveDataElementOptions(a,e.active?"active":i),c=s.getPointPositionForValue(a,r.data[a]),l=o?s.xCenter:c.x,h=o?s.yCenter:c.y,u={x:l,y:h,angle:c.angle,skip:isNaN(l)||isNaN(h),options:n};this.updateElement(e,a,u,i)}}}I.id="radar",I.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},I.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class L extends A{}L.id="scatter",L.defaults={showLine:!1,fill:!1},L.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var z=Object.freeze({__proto__:null,BarController:O,BubbleController:T,DoughnutController:N,LineController:A,PolarAreaController:D,PieController:R,RadarController:I,ScatterController:L});function F(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class B{constructor(t){this.options=t||{}}formats(){return F()}parse(t,e){return F()}format(t,e){return F()}add(t,e,n){return F()}diff(t,e,n){return F()}startOf(t,e,n){return F()}endOf(t,e){return F()}}B.override=function(t){Object.assign(B.prototype,t)};var V={_date:B};function Z(t,e){return"native"in t?{x:t.x,y:t.y}:(0,i.y)(t,e)}function H(t,e,n,r){const{controller:s,data:o,_sorted:a}=t,c=s._cachedMeta.iScale;if(c&&e===c.axis&&"r"!==e&&a&&o.length){const t=c._reversePixels?i.A:i.x;if(!r)return t(o,e,n);if(s._sharedOptions){const i=o[0],r="function"==typeof i.getRange&&i.getRange(e);if(r){const i=t(o,e,n-r),s=t(o,e,n+r);return{lo:i.lo,hi:s.hi}}}}return{lo:0,hi:o.length-1}}function W(t,e,n,i,r){const s=t.getSortedVisibleDatasetMetas(),o=n[e];for(let t=0,n=s.length;t<n;++t){const{index:n,data:a}=s[t],{lo:c,hi:l}=H(s[t],e,o,r);for(let t=c;t<=l;++t){const e=a[t];e.skip||i(e,n,t)}}}function U(t,e,n,r){const s=[];if(!(0,i.z)(e,t.chartArea,t._minPadding))return s;return W(t,n,e,(function(t,n,i){t.inRange(e.x,e.y,r)&&s.push({element:t,datasetIndex:n,index:i})}),!0),s}function $(t,e,n,r,s){let o=[];const a=function(t){const e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){const r=e?Math.abs(t.x-i.x):0,s=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(s,2))}}(n);let c=Number.POSITIVE_INFINITY;return W(t,n,e,(function(n,l,h){const u=n.inRange(e.x,e.y,s);if(r&&!u)return;const d=n.getCenterPoint(s);if(!(0,i.z)(d,t.chartArea,t._minPadding)&&!u)return;const p=a(e,d);p<c?(o=[{element:n,datasetIndex:l,index:h}],c=p):p===c&&o.push({element:n,datasetIndex:l,index:h})})),o}function G(t,e,n,r,s){return(0,i.z)(e,t.chartArea,t._minPadding)?"r"!==n||r?$(t,e,n,r,s):function(t,e,n,r){let s=[];return W(t,n,e,(function(t,n,o){const{startAngle:a,endAngle:c}=t.getProps(["startAngle","endAngle"],r),{angle:l}=(0,i.B)(t,{x:e.x,y:e.y});(0,i.p)(l,a,c)&&s.push({element:t,datasetIndex:n,index:o})})),s}(t,e,n,s):[]}function J(t,e,n,i){const r=Z(e,t),s=[],o=n.axis,a="x"===o?"inXRange":"inYRange";let c=!1;return function(t,e){const n=t.getSortedVisibleDatasetMetas();let i,r,s;for(let t=0,o=n.length;t<o;++t){({index:i,data:r}=n[t]);for(let t=0,n=r.length;t<n;++t)s=r[t],s.skip||e(s,i,t)}}(t,((t,e,n)=>{t[a](r[o],i)&&s.push({element:t,datasetIndex:e,index:n}),t.inRange(r.x,r.y,i)&&(c=!0)})),n.intersect&&!c?[]:s}var Y={modes:{index(t,e,n,i){const r=Z(e,t),s=n.axis||"x",o=n.intersect?U(t,r,s,i):G(t,r,s,!1,i),a=[];return o.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=o[0].index,n=t.data[e];n&&!n.skip&&a.push({element:n,datasetIndex:t.index,index:e})})),a):[]},dataset(t,e,n,i){const r=Z(e,t),s=n.axis||"xy";let o=n.intersect?U(t,r,s,i):G(t,r,s,!1,i);if(o.length>0){const e=o[0].datasetIndex,n=t.getDatasetMeta(e).data;o=[];for(let t=0;t<n.length;++t)o.push({element:n[t],datasetIndex:e,index:t})}return o},point:(t,e,n,i)=>U(t,Z(e,t),n.axis||"xy",i),nearest:(t,e,n,i)=>G(t,Z(e,t),n.axis||"xy",n.intersect,i),x:(t,e,n,i)=>J(t,e,{axis:"x",intersect:n.intersect},i),y:(t,e,n,i)=>J(t,e,{axis:"y",intersect:n.intersect},i)}};const K=["left","top","right","bottom"];function q(t,e){return t.filter((t=>t.pos===e))}function X(t,e){return t.filter((t=>-1===K.indexOf(t.pos)&&t.box.axis===e))}function Q(t,e){return t.sort(((t,n)=>{const i=e?n:t,r=e?t:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight}))}function tt(t,e){const n=function(t){const e={};for(const n of t){const{stack:t,pos:i,stackWeight:r}=n;if(!t||!K.includes(i))continue;const s=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=r}return e}(t),{vBoxMaxWidth:i,hBoxMaxHeight:r}=e;let s,o,a;for(s=0,o=t.length;s<o;++s){a=t[s];const{fullSize:o}=a.box,c=n[a.stack],l=c&&a.stackWeight/c.weight;a.horizontal?(a.width=l?l*i:o&&e.availableWidth,a.height=r):(a.width=i,a.height=l?l*r:o&&e.availableHeight)}return n}function et(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function nt(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function it(t,e,n,r){const{pos:s,box:o}=n,a=t.maxPadding;if(!(0,i.i)(s)){n.size&&(t[s]-=n.size);const e=r[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?o.height:o.width),n.size=e.size/e.count,t[s]+=n.size}o.getPadding&&nt(a,o.getPadding());const c=Math.max(0,e.outerWidth-et(a,t,"left","right")),l=Math.max(0,e.outerHeight-et(a,t,"top","bottom")),h=c!==t.w,u=l!==t.h;return t.w=c,t.h=l,n.horizontal?{same:h,other:u}:{same:u,other:h}}function rt(t,e){const n=e.maxPadding;function i(t){const i={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function st(t,e,n,i){const r=[];let s,o,a,c,l,h;for(s=0,o=t.length,l=0;s<o;++s){a=t[s],c=a.box,c.update(a.width||e.w,a.height||e.h,rt(a.horizontal,e));const{same:o,other:u}=it(e,n,a,i);l|=o&&r.length,h=h||u,c.fullSize||r.push(a)}return l&&st(r,e,n,i)||h}function ot(t,e,n,i,r){t.top=n,t.left=e,t.right=e+i,t.bottom=n+r,t.width=i,t.height=r}function at(t,e,n,r){const s=n.padding;let{x:o,y:a}=e;for(const c of t){const t=c.box,l=r[c.stack]||{count:1,placed:0,weight:1},h=c.stackWeight/l.weight||1;if(c.horizontal){const r=e.w*h,o=l.size||t.height;(0,i.j)(l.start)&&(a=l.start),t.fullSize?ot(t,s.left,a,n.outerWidth-s.right-s.left,o):ot(t,e.left+l.placed,a,r,o),l.start=a,l.placed+=r,a=t.bottom}else{const r=e.h*h,a=l.size||t.width;(0,i.j)(l.start)&&(o=l.start),t.fullSize?ot(t,o,s.top,a,n.outerHeight-s.bottom-s.top):ot(t,o,e.top+l.placed,a,r),l.start=o,l.placed+=r,o=t.right}}e.x=o,e.y=a}i.d.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var ct={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const s=(0,i.C)(t.options.layout.padding),o=Math.max(e-s.width,0),a=Math.max(n-s.height,0),c=function(t){const e=function(t){const e=[];let n,i,r,s,o,a;for(n=0,i=(t||[]).length;n<i;++n)r=t[n],({position:s,options:{stack:o,stackWeight:a=1}}=r),e.push({index:n,box:r,pos:s,horizontal:r.isHorizontal(),weight:r.weight,stack:o&&s+o,stackWeight:a});return e}(t),n=Q(e.filter((t=>t.box.fullSize)),!0),i=Q(q(e,"left"),!0),r=Q(q(e,"right")),s=Q(q(e,"top"),!0),o=Q(q(e,"bottom")),a=X(e,"x"),c=X(e,"y");return{fullSize:n,leftAndTop:i.concat(s),rightAndBottom:r.concat(c).concat(o).concat(a),chartArea:q(e,"chartArea"),vertical:i.concat(r).concat(c),horizontal:s.concat(o).concat(a)}}(t.boxes),l=c.vertical,h=c.horizontal;(0,i.D)(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const u=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/u,hBoxMaxHeight:a/2}),p=Object.assign({},s);nt(p,(0,i.C)(r));const f=Object.assign({maxPadding:p,w:o,h:a,x:s.left,y:s.top},s),g=tt(l.concat(h),d);st(c.fullSize,f,d,g),st(l,f,d,g),st(h,f,d,g)&&st(l,f,d,g),function(t){const e=t.maxPadding;function n(n){const i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(f),at(c.leftAndTop,f,d,g),f.x+=f.w,f.y+=f.h,at(c.rightAndBottom,f,d,g),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},(0,i.D)(c.chartArea,(e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};class lt{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,i){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,i?Math.floor(e/i):n)}}isAttached(t){return!0}updateConfig(t){}}class ht extends lt{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ut={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},dt=t=>null===t||""===t;const pt=!!i.J&&{passive:!0};function ft(t,e,n){t.canvas.removeEventListener(e,n,pt)}function gt(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function mt(t,e,n){const i=t.canvas,r=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||gt(n.addedNodes,i),e=e&&!gt(n.removedNodes,i);e&&n()}));return r.observe(document,{childList:!0,subtree:!0}),r}function bt(t,e,n){const i=t.canvas,r=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||gt(n.removedNodes,i),e=e&&!gt(n.addedNodes,i);e&&n()}));return r.observe(document,{childList:!0,subtree:!0}),r}const yt=new Map;let vt=0;function xt(){const t=window.devicePixelRatio;t!==vt&&(vt=t,yt.forEach(((e,n)=>{n.currentDevicePixelRatio!==t&&e()})))}function _t(t,e,n){const r=t.canvas,s=r&&(0,i.F)(r);if(!s)return;const o=(0,i.I)(((t,e)=>{const i=s.clientWidth;n(t,e),i<s.clientWidth&&n()}),window),a=new ResizeObserver((t=>{const e=t[0],n=e.contentRect.width,i=e.contentRect.height;0===n&&0===i||o(n,i)}));return a.observe(s),function(t,e){yt.size||window.addEventListener("resize",xt),yt.set(t,e)}(t,o),a}function kt(t,e,n){n&&n.disconnect(),"resize"===e&&function(t){yt.delete(t),yt.size||window.removeEventListener("resize",xt)}(t)}function wt(t,e,n){const r=t.canvas,s=(0,i.I)((e=>{null!==t.ctx&&n(function(t,e){const n=ut[t.type]||t.type,{x:r,y:s}=(0,i.y)(t,e);return{type:n,chart:e,native:t,x:void 0!==r?r:null,y:void 0!==s?s:null}}(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,n){t.addEventListener(e,n,pt)}(r,e,s),s}class St extends lt{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t.$chartjs={initial:{height:r,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",dt(s)){const e=(0,i.G)(t,"width");void 0!==e&&(t.width=e)}if(dt(r))if(""===t.style.height)t.height=t.width/(e||2);else{const e=(0,i.G)(t,"height");void 0!==e&&(t.height=e)}}(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e.$chartjs)return!1;const n=e.$chartjs.initial;["height","width"].forEach((t=>{const r=n[t];(0,i.k)(r)?e.removeAttribute(t):e.setAttribute(t,r)}));const r=n.style||{};return Object.keys(r).forEach((t=>{e.style[t]=r[t]})),e.width=e.width,delete e.$chartjs,!0}addEventListener(t,e,n){this.removeEventListener(t,e);const i=t.$proxies||(t.$proxies={}),r={attach:mt,detach:bt,resize:_t}[e]||wt;i[e]=r(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),i=n[e];if(!i)return;({attach:kt,detach:kt,resize:kt}[e]||ft)(t,e,i),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,r){return(0,i.E)(t,e,n,r)}isAttached(t){const e=(0,i.F)(t);return!(!e||!e.isConnected)}}class Ct{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return(0,i.q)(this.x)&&(0,i.q)(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const i={};return t.forEach((t=>{i[t]=n[t]&&n[t].active()?n[t]._to:this[t]})),i}}Ct.defaults={},Ct.defaultRoutes=void 0;const Et={values:t=>(0,i.b)(t)?t:""+t,numeric(t,e,n){if(0===t)return"0";const r=this.chart.options.locale;let s,o=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(s="scientific"),o=function(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t));return n}(t,n)}const a=(0,i.L)(Math.abs(o)),c=Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:s,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(l,this.options.ticks.format),(0,i.o)(t,r,l)},logarithmic(t,e,n){if(0===t)return"0";const r=t/Math.pow(10,Math.floor((0,i.L)(t)));return 1===r||2===r||5===r?Et.numeric.call(this,t,e,n):""}};var Mt={formatters:Et};function Pt(t,e){const n=t.options.ticks,r=n.maxTicksLimit||function(t){const e=t.options.offset,n=t._tickSize(),i=t._length/n+(e?0:1),r=t._maxLength/n;return Math.floor(Math.min(i,r))}(t),s=n.major.enabled?function(t){const e=[];let n,i;for(n=0,i=t.length;n<i;n++)t[n].major&&e.push(n);return e}(e):[],o=s.length,a=s[0],c=s[o-1],l=[];if(o>r)return function(t,e,n,i){let r,s=0,o=n[0];for(i=Math.ceil(i),r=0;r<t.length;r++)r===o&&(e.push(t[r]),s++,o=n[s*i])}(e,l,s,o/r),l;const h=function(t,e,n){const r=function(t){const e=t.length;let n,i;if(e<2)return!1;for(i=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==i)return!1;return i}(t),s=e.length/n;if(!r)return Math.max(s,1);const o=(0,i.M)(r);for(let t=0,e=o.length-1;t<e;t++){const e=o[t];if(e>s)return e}return Math.max(s,1)}(s,e,r);if(o>0){let t,n;const r=o>1?Math.round((c-a)/(o-1)):null;for(jt(e,l,h,(0,i.k)(r)?0:a-r,a),t=0,n=o-1;t<n;t++)jt(e,l,h,s[t],s[t+1]);return jt(e,l,h,c,(0,i.k)(r)?e.length:c+r),l}return jt(e,l,h),l}function jt(t,e,n,r,s){const o=(0,i.v)(r,0),a=Math.min((0,i.v)(s,t.length),t.length);let c,l,h,u=0;for(n=Math.ceil(n),s&&(c=s-r,n=c/Math.floor(c/n)),h=o;h<0;)u++,h=Math.round(o+u*n);for(l=Math.max(o,0);l<a;l++)l===h&&(e.push(t[l]),u++,h=Math.round(o+u*n))}i.d.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Mt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),i.d.route("scale.ticks","color","","color"),i.d.route("scale.grid","color","","borderColor"),i.d.route("scale.grid","borderColor","","borderColor"),i.d.route("scale.title","color","","color"),i.d.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),i.d.describe("scales",{_fallback:"scale"}),i.d.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const Ot=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n;function Tt(t,e){const n=[],i=t.length/e,r=t.length;let s=0;for(;s<r;s+=i)n.push(t[Math.floor(s)]);return n}function Nt(t,e,n){const i=t.ticks.length,r=Math.min(e,i-1),s=t._startPixel,o=t._endPixel,a=1e-6;let c,l=t.getPixelForTick(r);if(!(n&&(c=1===i?Math.max(l-s,o-l):0===e?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(r-1))/2,l+=r<e?c:-c,l<s-a||l>o+a)))return l}function At(t){return t.drawTicks?t.tickLength:0}function Dt(t,e){if(!t.display)return 0;const n=(0,i.Z)(t.font,e),r=(0,i.C)(t.padding);return((0,i.b)(t.text)?t.text.length:1)*n.lineHeight+r.height}function Rt(t,e,n){let r=(0,i.$)(t);return(n&&"right"!==e||!n&&"right"===e)&&(r=(t=>"left"===t?"right":"right"===t?"left":t)(r)),r}class It extends Ct{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:n,_suggestedMax:r}=this;return t=(0,i.N)(t,Number.POSITIVE_INFINITY),e=(0,i.N)(e,Number.NEGATIVE_INFINITY),n=(0,i.N)(n,Number.POSITIVE_INFINITY),r=(0,i.N)(r,Number.NEGATIVE_INFINITY),{min:(0,i.N)(t,n),max:(0,i.N)(e,r),minDefined:(0,i.g)(t),maxDefined:(0,i.g)(e)}}getMinMax(t){let e,{min:n,max:r,minDefined:s,maxDefined:o}=this.getUserBounds();if(s&&o)return{min:n,max:r};const a=this.getMatchingVisibleMetas();for(let i=0,c=a.length;i<c;++i)e=a[i].controller.getMinMax(this,t),s||(n=Math.min(n,e.min)),o||(r=Math.max(r,e.max));return n=o&&n>r?r:n,r=s&&n>r?n:r,{min:(0,i.N)(n,(0,i.N)(r,n)),max:(0,i.N)(r,(0,i.N)(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,i.O)(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:r,grace:s,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,i.Q)(this,s,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=a<this.ticks.length;this._convertTicksToLabels(c?Tt(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=Pt(this,this.ticks),this._labelSizes=null),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,n=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,n=!n),this._startPixel=t,this._endPixel=e,this._reversePixels=n,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){(0,i.O)(this.options.afterUpdate,[this])}beforeSetDimensions(){(0,i.O)(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){(0,i.O)(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),(0,i.O)(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){(0,i.O)(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let n,r,s;for(n=0,r=t.length;n<r;n++)s=t[n],s.label=(0,i.O)(e.callback,[s.value,n,t],this)}afterTickToLabelConversion(){(0,i.O)(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){(0,i.O)(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,n=this.ticks.length,r=e.minRotation||0,s=e.maxRotation;let o,a,c,l=r;if(!this._isVisible()||!e.display||r>=s||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const h=this._getLabelSizes(),u=h.widest.width,d=h.highest.height,p=(0,i.w)(this.chart.width-u,0,this.maxWidth);o=t.offset?this.maxWidth/n:p/(n-1),u+6>o&&(o=p/(n-(t.offset?.5:1)),a=this.maxHeight-At(t.grid)-e.padding-Dt(t.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),l=(0,i.R)(Math.min(Math.asin((0,i.w)((h.highest.height+6)/o,-1,1)),Math.asin((0,i.w)(a/c,-1,1))-Math.asin((0,i.w)(d/c,-1,1)))),l=Math.max(r,Math.min(s,l))),this.labelRotation=l}afterCalculateLabelRotation(){(0,i.O)(this.options.afterCalculateLabelRotation,[this])}beforeFit(){(0,i.O)(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:r,grid:s}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Dt(r,e.options.font);if(a?(t.width=this.maxWidth,t.height=At(s)+o):(t.height=this.maxHeight,t.width=At(s)+o),n.display&&this.ticks.length){const{first:e,last:r,widest:s,highest:o}=this._getLabelSizes(),c=2*n.padding,l=(0,i.t)(this.labelRotation),h=Math.cos(l),u=Math.sin(l);if(a){const e=n.mirror?0:u*s.width+h*o.height;t.height=Math.min(this.maxHeight,t.height+e+c)}else{const e=n.mirror?0:h*s.width+u*o.height;t.width=Math.min(this.maxWidth,t.width+e+c)}this._calculatePadding(e,r,u,h)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,i){const{ticks:{align:r,padding:s},position:o}=this.options,a=0!==this.labelRotation,c="top"!==o&&"x"===this.axis;if(this.isHorizontal()){const o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,u=0;a?c?(h=i*t.width,u=n*e.height):(h=n*t.height,u=i*e.width):"start"===r?u=e.width:"end"===r?h=t.width:(h=t.width/2,u=e.width/2),this.paddingLeft=Math.max((h-o+s)*this.width/(this.width-o),0),this.paddingRight=Math.max((u-l+s)*this.width/(this.width-l),0)}else{let n=e.height/2,i=t.height/2;"start"===r?(n=0,i=t.height):"end"===r&&(n=e.height,i=0),this.paddingTop=n+s,this.paddingBottom=i+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,i.O)(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e<n;e++)(0,i.k)(t[e].label)&&(t.splice(e,1),n--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let n=this.ticks;e<n.length&&(n=Tt(n,e)),this._labelSizes=t=this._computeLabelSizes(n,n.length)}return t}_computeLabelSizes(t,e){const{ctx:n,_longestTextCache:r}=this,s=[],o=[];let a,c,l,h,u,d,p,f,g,m,b,y=0,v=0;for(a=0;a<e;++a){if(h=t[a].label,u=this._resolveTickFontOptions(a),n.font=d=u.string,p=r[d]=r[d]||{data:{},gc:[]},f=u.lineHeight,g=m=0,(0,i.k)(h)||(0,i.b)(h)){if((0,i.b)(h))for(c=0,l=h.length;c<l;++c)b=h[c],(0,i.k)(b)||(0,i.b)(b)||(g=(0,i.S)(n,p.data,p.gc,g,b),m+=f)}else g=(0,i.S)(n,p.data,p.gc,g,h),m=f;s.push(g),o.push(m),y=Math.max(g,y),v=Math.max(m,v)}!function(t,e){(0,i.D)(t,(t=>{const n=t.gc,i=n.length/2;let r;if(i>e){for(r=0;r<i;++r)delete t.data[n[r]];n.splice(0,i)}}))}(r,e);const x=s.indexOf(y),_=o.indexOf(v),k=t=>({width:s[t]||0,height:o[t]||0});return{first:k(0),last:k(e-1),widest:k(x),highest:k(_),widths:s,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return(0,i.U)(this._alignToPixels?(0,i.V)(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const n=e[t];return n.$context||(n.$context=function(t,e,n){return(0,i.h)(t,{tick:n,index:e,type:"tick"})}(this.getContext(),t,n))}return this.$context||(this.$context=(n=this.chart.getContext(),r=this,(0,i.h)(n,{scale:r,type:"scale"})));var n,r}_tickSize(){const t=this.options.ticks,e=(0,i.t)(this.labelRotation),n=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),s=this._getLabelSizes(),o=t.autoSkipPadding||0,a=s?s.widest.width+o:0,c=s?s.highest.height+o:0;return this.isHorizontal()?c*n>a*r?a/n:c/r:c*r<a*n?c/n:a/r}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,n=this.chart,r=this.options,{grid:s,position:o}=r,a=s.offset,c=this.isHorizontal(),l=this.ticks.length+(a?1:0),h=At(s),u=[],d=s.setContext(this.getContext()),p=d.drawBorder?d.borderWidth:0,f=p/2,g=function(t){return(0,i.V)(n,t,p)};let m,b,y,v,x,_,k,w,S,C,E,M;if("top"===o)m=g(this.bottom),_=this.bottom-h,w=m-f,C=g(t.top)+f,M=t.bottom;else if("bottom"===o)m=g(this.top),C=t.top,M=g(t.bottom)-f,_=m+f,w=this.top+h;else if("left"===o)m=g(this.right),x=this.right-h,k=m-f,S=g(t.left)+f,E=t.right;else if("right"===o)m=g(this.left),S=t.left,E=g(t.right)-f,x=m+f,k=this.left+h;else if("x"===e){if("center"===o)m=g((t.top+t.bottom)/2+.5);else if((0,i.i)(o)){const t=Object.keys(o)[0],e=o[t];m=g(this.chart.scales[t].getPixelForValue(e))}C=t.top,M=t.bottom,_=m+f,w=_+h}else if("y"===e){if("center"===o)m=g((t.left+t.right)/2);else if((0,i.i)(o)){const t=Object.keys(o)[0],e=o[t];m=g(this.chart.scales[t].getPixelForValue(e))}x=m-f,k=x-h,S=t.left,E=t.right}const P=(0,i.v)(r.ticks.maxTicksLimit,l),j=Math.max(1,Math.ceil(l/P));for(b=0;b<l;b+=j){const t=s.setContext(this.getContext(b)),e=t.lineWidth,r=t.color,o=s.borderDash||[],l=t.borderDashOffset,h=t.tickWidth,d=t.tickColor,p=t.tickBorderDash||[],f=t.tickBorderDashOffset;y=Nt(this,b,a),void 0!==y&&(v=(0,i.V)(n,y,e),c?x=k=S=E=v:_=w=C=M=v,u.push({tx1:x,ty1:_,tx2:k,ty2:w,x1:S,y1:C,x2:E,y2:M,width:e,color:r,borderDash:o,borderDashOffset:l,tickWidth:h,tickColor:d,tickBorderDash:p,tickBorderDashOffset:f}))}return this._ticksLength=l,this._borderValue=m,u}_computeLabelItems(t){const e=this.axis,n=this.options,{position:r,ticks:s}=n,o=this.isHorizontal(),a=this.ticks,{align:c,crossAlign:l,padding:h,mirror:u}=s,d=At(n.grid),p=d+h,f=u?-h:p,g=-(0,i.t)(this.labelRotation),m=[];let b,y,v,x,_,k,w,S,C,E,M,P,j="middle";if("top"===r)k=this.bottom-f,w=this._getXAxisLabelAlignment();else if("bottom"===r)k=this.top+f,w=this._getXAxisLabelAlignment();else if("left"===r){const t=this._getYAxisLabelAlignment(d);w=t.textAlign,_=t.x}else if("right"===r){const t=this._getYAxisLabelAlignment(d);w=t.textAlign,_=t.x}else if("x"===e){if("center"===r)k=(t.top+t.bottom)/2+p;else if((0,i.i)(r)){const t=Object.keys(r)[0],e=r[t];k=this.chart.scales[t].getPixelForValue(e)+p}w=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===r)_=(t.left+t.right)/2-p;else if((0,i.i)(r)){const t=Object.keys(r)[0],e=r[t];_=this.chart.scales[t].getPixelForValue(e)}w=this._getYAxisLabelAlignment(d).textAlign}"y"===e&&("start"===c?j="top":"end"===c&&(j="bottom"));const O=this._getLabelSizes();for(b=0,y=a.length;b<y;++b){v=a[b],x=v.label;const t=s.setContext(this.getContext(b));S=this.getPixelForTick(b)+s.labelOffset,C=this._resolveTickFontOptions(b),E=C.lineHeight,M=(0,i.b)(x)?x.length:1;const e=M/2,n=t.color,c=t.textStrokeColor,h=t.textStrokeWidth;let d;if(o?(_=S,P="top"===r?"near"===l||0!==g?-M*E+E/2:"center"===l?-O.highest.height/2-e*E+E:-O.highest.height+E/2:"near"===l||0!==g?E/2:"center"===l?O.highest.height/2-e*E:O.highest.height-M*E,u&&(P*=-1)):(k=S,P=(1-M)*E/2),t.showLabelBackdrop){const e=(0,i.C)(t.backdropPadding),n=O.heights[b],r=O.widths[b];let s=k+P-e.top,o=_-e.left;switch(j){case"middle":s-=n/2;break;case"bottom":s-=n}switch(w){case"center":o-=r/2;break;case"right":o-=r}d={left:o,top:s,width:r+e.width,height:n+e.height,color:t.backdropColor}}m.push({rotation:g,label:x,font:C,color:n,strokeColor:c,strokeWidth:h,textOffset:P,textAlign:w,textBaseline:j,translation:[_,k],backdrop:d})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-(0,i.t)(this.labelRotation))return"top"===t?"left":"right";let n="center";return"start"===e.align?n="left":"end"===e.align&&(n="right"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:i,padding:r}}=this.options,s=t+r,o=this._getLabelSizes().widest.width;let a,c;return"left"===e?i?(c=this.right+r,"near"===n?a="left":"center"===n?(a="center",c+=o/2):(a="right",c+=o)):(c=this.right-s,"near"===n?a="right":"center"===n?(a="center",c-=o/2):(a="left",c=this.left)):"right"===e?i?(c=this.left+r,"near"===n?a="right":"center"===n?(a="center",c-=o/2):(a="left",c-=o)):(c=this.left+s,"near"===n?a="left":"center"===n?(a="center",c+=o/2):(a="right",c=this.right)):a="right",{textAlign:a,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:i,width:r,height:s}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,i,r,s),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex((e=>e.value===t));if(n>=0){return e.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,s;const o=(t,e,i)=>{i.width&&i.color&&(n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.setLineDash(i.borderDash||[]),n.lineDashOffset=i.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(r=0,s=i.length;r<s;++r){const t=i[r];e.drawOnChartArea&&o({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&o({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:n}}=this,r=n.setContext(this.getContext()),s=n.drawBorder?r.borderWidth:0;if(!s)return;const o=n.setContext(this.getContext(0)).lineWidth,a=this._borderValue;let c,l,h,u;this.isHorizontal()?(c=(0,i.V)(t,this.left,s)-s/2,l=(0,i.V)(t,this.right,o)+o/2,h=u=a):(h=(0,i.V)(t,this.top,s)-s/2,u=(0,i.V)(t,this.bottom,o)+o/2,c=l=a),e.save(),e.lineWidth=r.borderWidth,e.strokeStyle=r.borderColor,e.beginPath(),e.moveTo(c,h),e.lineTo(l,u),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,n=this._computeLabelArea();n&&(0,i.W)(e,n);const r=this._labelItems||(this._labelItems=this._computeLabelItems(t));let s,o;for(s=0,o=r.length;s<o;++s){const t=r[s],n=t.font,o=t.label;t.backdrop&&(e.fillStyle=t.backdrop.color,e.fillRect(t.backdrop.left,t.backdrop.top,t.backdrop.width,t.backdrop.height));let a=t.textOffset;(0,i.X)(e,o,0,a,n,t)}n&&(0,i.Y)(e)}drawTitle(){const{ctx:t,options:{position:e,title:n,reverse:r}}=this;if(!n.display)return;const s=(0,i.Z)(n.font),o=(0,i.C)(n.padding),a=n.align;let c=s.lineHeight/2;"bottom"===e||"center"===e||(0,i.i)(e)?(c+=o.bottom,(0,i.b)(n.text)&&(c+=s.lineHeight*(n.text.length-1))):c+=o.top;const{titleX:l,titleY:h,maxWidth:u,rotation:d}=function(t,e,n,r){const{top:s,left:o,bottom:a,right:c,chart:l}=t,{chartArea:h,scales:u}=l;let d,p,f,g=0;const m=a-s,b=c-o;if(t.isHorizontal()){if(p=(0,i.a0)(r,o,c),(0,i.i)(n)){const t=Object.keys(n)[0],i=n[t];f=u[t].getPixelForValue(i)+m-e}else f="center"===n?(h.bottom+h.top)/2+m-e:Ot(t,n,e);d=c-o}else{if((0,i.i)(n)){const t=Object.keys(n)[0],i=n[t];p=u[t].getPixelForValue(i)-b+e}else p="center"===n?(h.left+h.right)/2-b+e:Ot(t,n,e);f=(0,i.a0)(r,a,s),g="left"===n?-i.H:i.H}return{titleX:p,titleY:f,maxWidth:d,rotation:g}}(this,c,e,a);(0,i.X)(t,n.text,0,0,s,{color:n.color,maxWidth:u,rotation:d,textAlign:Rt(a,e,r),textBaseline:"middle",translation:[l,h]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,n=(0,i.v)(t.grid&&t.grid.z,-1);return this._isVisible()&&this.draw===It.prototype.draw?[{z:n,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:n+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",i=[];let r,s;for(r=0,s=e.length;r<s;++r){const s=e[r];s[n]!==this.id||t&&s.type!==t||i.push(s)}return i}_resolveTickFontOptions(t){const e=this.options.ticks.setContext(this.getContext(t));return(0,i.Z)(e.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Lt{constructor(t,e,n){this.type=t,this.scope=e,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let n;(function(t){return"id"in t&&"defaults"in t})(e)&&(n=this.register(e));const r=this.items,s=t.id,o=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+t);return s in r||(r[s]=t,function(t,e,n){const r=(0,i.a2)(Object.create(null),[n?i.d.get(n):{},i.d.get(e),t.defaults]);i.d.set(e,r),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((n=>{const r=n.split("."),s=r.pop(),o=[t].concat(r).join("."),a=e[n].split("."),c=a.pop(),l=a.join(".");i.d.route(o,s,l,c)}))}(e,t.defaultRoutes);t.descriptors&&i.d.describe(e,t.descriptors)}(t,o,n),this.override&&i.d.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,n=t.id,r=this.scope;n in e&&delete e[n],r&&n in i.d[r]&&(delete i.d[r][n],this.override&&delete i.a1[n])}}var zt=new class{constructor(){this.controllers=new Lt(_,"datasets",!0),this.elements=new Lt(Ct,"elements"),this.plugins=new Lt(Object,"plugins"),this.scales=new Lt(It,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,n){[...e].forEach((e=>{const r=n||this._getRegistryForType(e);n||r.isForType(e)||r===this.plugins&&e.id?this._exec(t,r,e):(0,i.D)(e,(e=>{const i=n||this._getRegistryForType(e);this._exec(t,i,e)}))}))}_exec(t,e,n){const r=(0,i.a3)(t);(0,i.O)(n["before"+r],[],n),e[t](n),(0,i.O)(n["after"+r],[],n)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const n=this._typedRegistries[e];if(n.isForType(t))return n}return this.plugins}_get(t,e,n){const i=e.get(t);if(void 0===i)throw new Error('"'+t+'" is not a registered '+n+".");return i}};class Ft{constructor(){this._init=[]}notify(t,e,n,i){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=i?this._descriptors(t).filter(i):this._descriptors(t),s=this._notify(r,t,e,n);return"afterDestroy"===e&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),s}_notify(t,e,n,r){r=r||{};for(const s of t){const t=s.plugin,o=t[n],a=[e,r,s.options];if(!1===(0,i.O)(o,a,t)&&r.cancelable)return!1}return!0}invalidate(){(0,i.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const n=t&&t.config,r=(0,i.v)(n.options&&n.options.plugins,{}),s=function(t){const e=[],n=Object.keys(zt.plugins.items);for(let t=0;t<n.length;t++)e.push(zt.getPlugin(n[t]));const i=t.plugins||[];for(let t=0;t<i.length;t++){const n=i[t];-1===e.indexOf(n)&&e.push(n)}return e}(n);return!1!==r||e?function(t,e,n,i){const r=[],s=t.getContext();for(let o=0;o<e.length;o++){const a=e[o],c=Bt(n[a.id],i);null!==c&&r.push({plugin:a,options:Vt(t.config,a,c,s)})}return r}(t,s,r,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],n=this._cache,i=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(i(e,n),t,"stop"),this._notify(i(n,e),t,"start")}}function Bt(t,e){return e||!1!==t?!0===t?{}:t:null}function Vt(t,e,n,i){const r=t.pluginScopeKeys(e),s=t.getOptionScopes(n,r);return t.createResolver(s,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Zt(t,e){const n=i.d.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function Ht(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(n=e.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||t.charAt(0).toLowerCase();var n}function Wt(t){const e=t.options||(t.options={});e.plugins=(0,i.v)(e.plugins,{}),e.scales=function(t,e){const n=i.a1[t.type]||{scales:{}},r=e.scales||{},s=Zt(t.type,e),o=Object.create(null),a=Object.create(null);return Object.keys(r).forEach((t=>{const e=r[t];if(!(0,i.i)(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const c=Ht(t,e),l=function(t,e){return t===e?"_index_":"_value_"}(c,s),h=n.scales||{};o[c]=o[c]||t,a[t]=(0,i.a9)(Object.create(null),[{axis:c},e,h[c],h[l]])})),t.data.datasets.forEach((n=>{const s=n.type||t.type,c=n.indexAxis||Zt(s,e),l=(i.a1[s]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}(t,c),s=n[e+"AxisID"]||o[e]||e;a[s]=a[s]||Object.create(null),(0,i.a9)(a[s],[{axis:e},r[s],l[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];(0,i.a9)(e,[i.d.scales[e.type],i.d.scale])})),a}(t,e)}function Ut(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const $t=new Map,Gt=new Set;function Jt(t,e){let n=$t.get(t);return n||(n=e(),$t.set(t,n),Gt.add(n)),n}const Yt=(t,e,n)=>{const r=(0,i.f)(e,n);void 0!==r&&t.add(r)};class Kt{constructor(t){this._config=function(t){return(t=t||{}).data=Ut(t.data),Wt(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Ut(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Wt(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Jt(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return Jt(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return Jt(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return Jt(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const n=this._scopeCache;let i=n.get(t);return i&&!e||(i=new Map,n.set(t,i)),i}getOptionScopes(t,e,n){const{options:r,type:s}=this,o=this._cachedScopes(t,n),a=o.get(e);if(a)return a;const c=new Set;e.forEach((e=>{t&&(c.add(t),e.forEach((e=>Yt(c,t,e)))),e.forEach((t=>Yt(c,r,t))),e.forEach((t=>Yt(c,i.a1[s]||{},t))),e.forEach((t=>Yt(c,i.d,t))),e.forEach((t=>Yt(c,i.a4,t)))}));const l=Array.from(c);return 0===l.length&&l.push(Object.create(null)),Gt.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,i.a1[e]||{},i.d.datasets[e]||{},{type:e},i.d,i.a4]}resolveNamedOptions(t,e,n,r=[""]){const s={$shared:!0},{resolver:o,subPrefixes:a}=qt(this._resolverCache,t,r);let c=o;if(function(t,e){const{isScriptable:n,isIndexable:r}=(0,i.a8)(t);for(const s of e){const e=n(s),o=r(s),a=(o||e)&&t[s];if(e&&((0,i.a5)(a)||Xt(a))||o&&(0,i.b)(a))return!0}return!1}(o,e)){s.$shared=!1,n=(0,i.a5)(n)?n():n;const e=this.createResolver(t,n,a);c=(0,i.a6)(o,n,e)}for(const t of e)s[t]=c[t];return s}createResolver(t,e,n=[""],r){const{resolver:s}=qt(this._resolverCache,t,n);return(0,i.i)(e)?(0,i.a6)(s,e,void 0,r):s}}function qt(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const s=n.join();let o=r.get(s);if(!o){o={resolver:(0,i.a7)(e,n),subPrefixes:n.filter((t=>!t.toLowerCase().includes("hover")))},r.set(s,o)}return o}const Xt=t=>(0,i.i)(t)&&Object.getOwnPropertyNames(t).reduce(((e,n)=>e||(0,i.a5)(t[n])),!1);const Qt=["top","bottom","left","right","chartArea"];function te(t,e){return"top"===t||"bottom"===t||-1===Qt.indexOf(t)&&"x"===e}function ee(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function ne(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),(0,i.O)(n&&n.onComplete,[t],e)}function ie(t){const e=t.chart,n=e.options.animation;(0,i.O)(n&&n.onProgress,[t],e)}function re(t){return(0,i.K)()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const se={},oe=t=>{const e=re(t);return Object.values(se).filter((t=>t.canvas===e)).pop()};function ae(t,e,n){const i=Object.keys(t);for(const r of i){const i=+r;if(i>=e){const s=t[r];delete t[r],(n>0||i>e)&&(t[i+n]=s)}}}class ce{constructor(t,e){const n=this.config=new Kt(e),s=re(t),o=oe(s);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(t){return!(0,i.K)()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?ht:St}(s)),this.platform.updateConfig(n);const c=this.platform.acquireContext(s,a.aspectRatio),l=c&&c.canvas,h=l&&l.height,u=l&&l.width;this.id=(0,i.aa)(),this.ctx=c,this.canvas=l,this.width=u,this.height=h,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ft,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,i.ab)((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],se[this.id]=this,c&&l?(r.listen(this,"complete",ne),r.listen(this,"progress",ie),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:r,_aspectRatio:s}=this;return(0,i.k)(t)?e&&s?s:r?n/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,i.ac)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,i.ad)(this.canvas,this.ctx),this}stop(){return r.stop(this),this}resize(t,e){r.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,r=this.canvas,s=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(r,t,e,s),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,(0,i.ac)(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),(0,i.O)(n.onResize,[this,o],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const t=this.options.scales||{};(0,i.D)(t,((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,r=Object.keys(n).reduce(((t,e)=>(t[e]=!1,t)),{});let s=[];e&&(s=s.concat(Object.keys(e).map((t=>{const n=e[t],i=Ht(t,n),r="r"===i,s="x"===i;return{options:n,dposition:r?"chartArea":s?"bottom":"left",dtype:r?"radialLinear":s?"category":"linear"}})))),(0,i.D)(s,(e=>{const s=e.options,o=s.id,a=Ht(o,s),c=(0,i.v)(s.type,e.dtype);void 0!==s.position&&te(s.position,a)===te(e.dposition)||(s.position=e.dposition),r[o]=!0;let l=null;if(o in n&&n[o].type===c)l=n[o];else{l=new(zt.getScale(c))({id:o,type:c,ctx:this.ctx,chart:this}),n[l.id]=l}l.init(s,t)})),(0,i.D)(r,((t,e)=>{t||delete n[e]})),(0,i.D)(n,(t=>{ct.configure(this,t,t.options),ct.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort(((t,e)=>t.index-e.index)),n>e){for(let t=e;t<n;++t)this._destroyDatasetMeta(t);t.splice(e,n-e)}this._sortedMetasets=t.slice(0).sort(ee("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,n)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,r;for(this._removeUnreferencedMetasets(),n=0,r=e.length;n<r;n++){const r=e[n];let s=this.getDatasetMeta(n);const o=r.type||this.config.type;if(s.type&&s.type!==o&&(this._destroyDatasetMeta(n),s=this.getDatasetMeta(n)),s.type=o,s.indexAxis=r.indexAxis||Zt(o,this.options),s.order=r.order||0,s.index=n,s.label=""+r.label,s.visible=this.isDatasetVisible(n),s.controller)s.controller.updateIndex(n),s.controller.linkScales();else{const e=zt.getController(o),{datasetElementType:r,dataElementType:a}=i.d.datasets[o];Object.assign(e.prototype,{dataElementType:zt.getElement(a),datasetElementType:r&&zt.getElement(r)}),s.controller=new e(this,n),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){(0,i.D)(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),n=!r&&-1===s.indexOf(e);e.buildOrUpdateElements(n),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),r||(0,i.D)(s,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(ee("z","_idx"));const{_active:a,_lastEvent:c}=this;c?this._eventHandler(c,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){(0,i.D)(this.scales,(t=>{ct.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);(0,i.ae)(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:i,count:r}of e){ae(t,i,"_removeElements"===n?-r:r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),r=n(0);for(let t=1;t<e;t++)if(!(0,i.ae)(r,n(t)))return;return Array.from(r).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ct.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],(0,i.D)(this.boxes,(t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,n=this.data.datasets.length;e<n;++e)this._updateDataset(e,(0,i.a5)(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const n=this.getDatasetMeta(t),i={meta:n,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",i)&&(n.controller._update(e),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(r.has(this)?this.attached&&!r.running(this)&&r.start(this):(this.draw(),ne({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,n=[];let i,r;for(i=0,r=e.length;i<r;++i){const r=e[i];t&&!r.visible||n.push(r)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n=t._clip,r=!n.disabled,s=this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(r&&(0,i.W)(e,{left:!1===n.left?0:s.left-n.left,right:!1===n.right?this.width:s.right+n.right,top:!1===n.top?0:s.top-n.top,bottom:!1===n.bottom?this.height:s.bottom+n.bottom}),t.controller.draw(),r&&(0,i.Y)(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}getElementsAtEventForMode(t,e,n,i){const r=Y.modes[e];return"function"==typeof r?r(this,t,n,i):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let i=n.filter((t=>t&&t._dataset===e)).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(i)),i}getContext(){return this.$context||(this.$context=(0,i.h)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"==typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const r=n?"show":"hide",s=this.getDatasetMeta(t),o=s.controller._resolveAnimations(void 0,r);(0,i.j)(e)?(s.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),o.update(s,{visible:n}),this.update((e=>e.datasetIndex===t?r:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),r.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),(0,i.ad)(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete se[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,n=(n,i)=>{e.addEventListener(this,n,i),t[n]=i},r=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};(0,i.D)(this.options.events,(t=>n(t,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,i)=>{e.addEventListener(this,n,i),t[n]=i},i=(n,i)=>{t[n]&&(e.removeEventListener(this,n,i),delete t[n])},r=(t,e)=>{this.canvas&&this.resize(t,e)};let s;const o=()=>{i("attach",o),this.attached=!0,this.resize(),n("resize",r),n("detach",s)};s=()=>{this.attached=!1,i("resize",r),this._stop(),this._resize(0,0),n("attach",o)},e.isAttached(this.canvas)?o():s()}unbindEvents(){(0,i.D)(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},(0,i.D)(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const i=n?"set":"remove";let r,s,o,a;for("dataset"===e&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+i+"DatasetHoverStyle"]()),o=0,a=t.length;o<a;++o){s=t[o];const e=s&&this.getDatasetMeta(s.datasetIndex).controller;e&&e[i+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],n=t.map((({datasetIndex:t,index:e})=>{const n=this.getDatasetMeta(t);if(!n)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:n.data[e],index:e}}));!(0,i.af)(n,e)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}_updateHoverStyles(t,e,n){const i=this.options.hover,r=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),s=r(e,t),o=n?t:r(t,e);s.length&&this.updateHoverStyle(s,i.mode,!1),o.length&&i.mode&&this.updateHoverStyle(o,i.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:(0,i.z)(t,this.chartArea,this._minPadding)},r=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const s=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(s||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:r=[],options:s}=this,o=e,a=this._getActiveElements(t,r,n,o),c=(0,i.ag)(t),l=function(t,e,n,i){return n&&"mouseout"!==t.type?i?e:t:null}(t,this._lastEvent,n,c);n&&(this._lastEvent=null,(0,i.O)(s.onHover,[t,a,this],this),c&&(0,i.O)(s.onClick,[t,a,this],this));const h=!(0,i.af)(a,r);return(h||e)&&(this._active=a,this._updateHoverStyles(a,r,e)),this._lastEvent=l,h}_getActiveElements(t,e,n,i){if("mouseout"===t.type)return[];if(!n)return e;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,i)}}const le=()=>(0,i.D)(ce.instances,(t=>t._plugins.invalidate())),he=!0;function ue(t,e,n){const{startAngle:r,pixelMargin:s,x:o,y:a,outerRadius:c,innerRadius:l}=e;let h=s/c;t.beginPath(),t.arc(o,a,c,r-h,n+h),l>s?(h=s/l,t.arc(o,a,l,n+h,r-h,!0)):t.arc(o,a,s,n+i.H,r-i.H),t.closePath(),t.clip()}function de(t,e,n,r){const s=(o=t.options.borderRadius,(0,i.ai)(o,["outerStart","outerEnd","innerStart","innerEnd"]));var o;const a=(n-e)/2,c=Math.min(a,r*e/2),l=t=>{const e=(n-Math.min(a,t))*r/2;return(0,i.w)(t,0,Math.min(a,e))};return{outerStart:l(s.outerStart),outerEnd:l(s.outerEnd),innerStart:(0,i.w)(s.innerStart,0,c),innerEnd:(0,i.w)(s.innerEnd,0,c)}}function pe(t,e,n,i){return{x:n+t*Math.cos(e),y:i+t*Math.sin(e)}}function fe(t,e,n,r,s){const{x:o,y:a,startAngle:c,pixelMargin:l,innerRadius:h}=e,u=Math.max(e.outerRadius+r+n-l,0),d=h>0?h+r+n+l:0;let p=0;const f=s-c;if(r){const t=((h>0?h-r:0)+(u>0?u-r:0))/2;p=(f-(0!==t?f*t/(t+r):f))/2}const g=(f-Math.max(.001,f*u-n/i.P)/u)/2,m=c+g+p,b=s-g-p,{outerStart:y,outerEnd:v,innerStart:x,innerEnd:_}=de(e,d,u,b-m),k=u-y,w=u-v,S=m+y/k,C=b-v/w,E=d+x,M=d+_,P=m+x/E,j=b-_/M;if(t.beginPath(),t.arc(o,a,u,S,C),v>0){const e=pe(w,C,o,a);t.arc(e.x,e.y,v,C,b+i.H)}const O=pe(M,b,o,a);if(t.lineTo(O.x,O.y),_>0){const e=pe(M,j,o,a);t.arc(e.x,e.y,_,b+i.H,j+Math.PI)}if(t.arc(o,a,d,b-_/d,m+x/d,!0),x>0){const e=pe(E,P,o,a);t.arc(e.x,e.y,x,P+Math.PI,m-i.H)}const T=pe(k,m,o,a);if(t.lineTo(T.x,T.y),y>0){const e=pe(k,S,o,a);t.arc(e.x,e.y,y,m-i.H,S)}t.closePath()}function ge(t,e,n,r,s){const{options:o}=e,{borderWidth:a,borderJoinStyle:c}=o,l="inner"===o.borderAlign;a&&(l?(t.lineWidth=2*a,t.lineJoin=c||"round"):(t.lineWidth=a,t.lineJoin=c||"bevel"),e.fullCircles&&function(t,e,n){const{x:r,y:s,startAngle:o,pixelMargin:a,fullCircles:c}=e,l=Math.max(e.outerRadius-a,0),h=e.innerRadius+a;let u;for(n&&ue(t,e,o+i.T),t.beginPath(),t.arc(r,s,h,o+i.T,o,!0),u=0;u<c;++u)t.stroke();for(t.beginPath(),t.arc(r,s,l,o,o+i.T),u=0;u<c;++u)t.stroke()}(t,e,l),l&&ue(t,e,s),fe(t,e,n,r,s),t.stroke())}Object.defineProperties(ce,{defaults:{enumerable:he,value:i.d},instances:{enumerable:he,value:se},overrides:{enumerable:he,value:i.a1},registry:{enumerable:he,value:zt},version:{enumerable:he,value:"3.7.1"},getChart:{enumerable:he,value:oe},register:{enumerable:he,value:(...t)=>{zt.add(...t),le()}},unregister:{enumerable:he,value:(...t)=>{zt.remove(...t),le()}}});class me extends Ct{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.getProps(["x","y"],n),{angle:s,distance:o}=(0,i.B)(r,{x:t,y:e}),{startAngle:a,endAngle:c,innerRadius:l,outerRadius:h,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),d=this.options.spacing/2,p=(0,i.v)(u,c-a)>=i.T||(0,i.p)(s,a,c),f=(0,i.ah)(o,l+d,h+d);return p&&f}getCenterPoint(t){const{x:e,y:n,startAngle:i,endAngle:r,innerRadius:s,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:a,spacing:c}=this.options,l=(i+r)/2,h=(s+o+c+a)/2;return{x:e+Math.cos(l)*h,y:n+Math.sin(l)*h}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:n}=this,r=(e.offset||0)/2,s=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>i.T?Math.floor(n/i.T):0,0===n||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(r){o=r/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*o,Math.sin(e)*o),this.circumference>=i.P&&(o=r)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const a=function(t,e,n,r){const{fullCircles:s,startAngle:o,circumference:a}=e;let c=e.endAngle;if(s){fe(t,e,n,r,o+i.T);for(let e=0;e<s;++e)t.fill();isNaN(a)||(c=o+a%i.T,a%i.T==0&&(c+=i.T))}return fe(t,e,n,r,c),t.fill(),c}(t,this,o,s);ge(t,this,o,s,a),t.restore()}}function be(t,e,n=e){t.lineCap=(0,i.v)(n.borderCapStyle,e.borderCapStyle),t.setLineDash((0,i.v)(n.borderDash,e.borderDash)),t.lineDashOffset=(0,i.v)(n.borderDashOffset,e.borderDashOffset),t.lineJoin=(0,i.v)(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=(0,i.v)(n.borderWidth,e.borderWidth),t.strokeStyle=(0,i.v)(n.borderColor,e.borderColor)}function ye(t,e,n){t.lineTo(n.x,n.y)}function ve(t,e,n={}){const i=t.length,{start:r=0,end:s=i-1}=n,{start:o,end:a}=e,c=Math.max(r,o),l=Math.min(s,a),h=r<o&&s<o||r>a&&s>a;return{count:i,start:c,loop:e.loop,ilen:l<c&&!h?i+l-c:l-c}}function xe(t,e,n,r){const{points:s,options:o}=e,{count:a,start:c,loop:l,ilen:h}=ve(s,n,r),u=function(t){return t.stepped?i.ap:t.tension||"monotone"===t.cubicInterpolationMode?i.aq:ye}(o);let d,p,f,{move:g=!0,reverse:m}=r||{};for(d=0;d<=h;++d)p=s[(c+(m?h-d:d))%a],p.skip||(g?(t.moveTo(p.x,p.y),g=!1):u(t,f,p,m,o.stepped),f=p);return l&&(p=s[(c+(m?h:0))%a],u(t,f,p,m,o.stepped)),!!l}function _e(t,e,n,i){const r=e.points,{count:s,start:o,ilen:a}=ve(r,n,i),{move:c=!0,reverse:l}=i||{};let h,u,d,p,f,g,m=0,b=0;const y=t=>(o+(l?a-t:t))%s,v=()=>{p!==f&&(t.lineTo(m,f),t.lineTo(m,p),t.lineTo(m,g))};for(c&&(u=r[y(0)],t.moveTo(u.x,u.y)),h=0;h<=a;++h){if(u=r[y(h)],u.skip)continue;const e=u.x,n=u.y,i=0|e;i===d?(n<p?p=n:n>f&&(f=n),m=(b*m+e)/++b):(v(),t.lineTo(e,n),d=i,b=0,p=f=n),g=n}v()}function ke(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||n)?_e:xe}me.id="arc",me.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},me.defaultRoutes={backgroundColor:"backgroundColor"};const we="function"==typeof Path2D;function Se(t,e,n,i){we&&!e.options.segment?function(t,e,n,i){let r=e._path;r||(r=e._path=new Path2D,e.path(r,n,i)&&r.closePath()),be(t,e.options),t.stroke(r)}(t,e,n,i):function(t,e,n,i){const{segments:r,options:s}=e,o=ke(e);for(const a of r)be(t,s,a.style),t.beginPath(),o(t,e,a,{start:n,end:n+i-1})&&t.closePath(),t.stroke()}(t,e,n,i)}class Ce extends Ct{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const r=n.spanGaps?this._loop:this._fullLoop;(0,i.aj)(this._points,n,t,r,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,i.ak)(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,r=t[e],s=this.points,o=(0,i.al)(this,{property:e,start:r,end:r});if(!o.length)return;const a=[],c=function(t){return t.stepped?i.am:t.tension||"monotone"===t.cubicInterpolationMode?i.an:i.ao}(n);let l,h;for(l=0,h=o.length;l<h;++l){const{start:i,end:h}=o[l],u=s[i],d=s[h];if(u===d){a.push(u);continue}const p=c(u,d,Math.abs((r-u[e])/(d[e]-u[e])),n.stepped);p[e]=t[e],a.push(p)}return 1===a.length?a[0]:a}pathSegment(t,e,n){return ke(this)(t,this,e,n)}path(t,e,n){const i=this.segments,r=ke(this);let s=this._loop;e=e||0,n=n||this.points.length-e;for(const o of i)s&=r(t,this,o,{start:e,end:e+n-1});return!!s}draw(t,e,n,i){const r=this.options||{};(this.points||[]).length&&r.borderWidth&&(t.save(),Se(t,this,n,i),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Ee(t,e,n,i){const r=t.options,{[n]:s}=t.getProps([n],i);return Math.abs(e-s)<r.radius+r.hitRadius}Ce.id="line",Ce.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},Ce.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},Ce.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class Me extends Ct{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,n){const i=this.options,{x:r,y:s}=this.getProps(["x","y"],n);return Math.pow(t-r,2)+Math.pow(e-s,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(t,e){return Ee(this,t,"x",e)}inYRange(t,e){return Ee(this,t,"y",e)}getCenterPoint(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}size(t){let e=(t=t||this.options||{}).radius||0;e=Math.max(e,e&&t.hoverRadius||0);return 2*(e+(e&&t.borderWidth||0))}draw(t,e){const n=this.options;this.skip||n.radius<.1||!(0,i.z)(this,e,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,(0,i.ar)(t,n,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Pe(t,e){const{x:n,y:i,base:r,width:s,height:o}=t.getProps(["x","y","base","width","height"],e);let a,c,l,h,u;return t.horizontal?(u=o/2,a=Math.min(n,r),c=Math.max(n,r),l=i-u,h=i+u):(u=s/2,a=n-u,c=n+u,l=Math.min(i,r),h=Math.max(i,r)),{left:a,top:l,right:c,bottom:h}}function je(t,e,n,r){return t?0:(0,i.w)(e,n,r)}function Oe(t){const e=Pe(t),n=e.right-e.left,r=e.bottom-e.top,s=function(t,e,n){const r=t.options.borderWidth,s=t.borderSkipped,o=(0,i.at)(r);return{t:je(s.top,o.top,0,n),r:je(s.right,o.right,0,e),b:je(s.bottom,o.bottom,0,n),l:je(s.left,o.left,0,e)}}(t,n/2,r/2),o=function(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),s=t.options.borderRadius,o=(0,i.au)(s),a=Math.min(e,n),c=t.borderSkipped,l=r||(0,i.i)(s);return{topLeft:je(!l||c.top||c.left,o.topLeft,0,a),topRight:je(!l||c.top||c.right,o.topRight,0,a),bottomLeft:je(!l||c.bottom||c.left,o.bottomLeft,0,a),bottomRight:je(!l||c.bottom||c.right,o.bottomRight,0,a)}}(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:o},inner:{x:e.left+s.l,y:e.top+s.t,w:n-s.l-s.r,h:r-s.t-s.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(s.t,s.l)),topRight:Math.max(0,o.topRight-Math.max(s.t,s.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(s.b,s.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(s.b,s.r))}}}}function Te(t,e,n,r){const s=null===e,o=null===n,a=t&&!(s&&o)&&Pe(t,r);return a&&(s||(0,i.ah)(e,a.left,a.right))&&(o||(0,i.ah)(n,a.top,a.bottom))}function Ne(t,e){t.rect(e.x,e.y,e.w,e.h)}function Ae(t,e,n={}){const i=t.x!==n.x?-e:0,r=t.y!==n.y?-e:0,s=(t.x+t.w!==n.x+n.w?e:0)-i,o=(t.y+t.h!==n.y+n.h?e:0)-r;return{x:t.x+i,y:t.y+r,w:t.w+s,h:t.h+o,radius:t.radius}}Me.id="point",Me.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},Me.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class De extends Ct{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:n,backgroundColor:r}}=this,{inner:s,outer:o}=Oe(this),a=(c=o.radius).topLeft||c.topRight||c.bottomLeft||c.bottomRight?i.as:Ne;var c;t.save(),o.w===s.w&&o.h===s.h||(t.beginPath(),a(t,Ae(o,e,s)),t.clip(),a(t,Ae(s,-e,o)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),a(t,Ae(s,e)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,e,n){return Te(this,t,e,n)}inXRange(t,e){return Te(this,t,null,e)}inYRange(t,e){return Te(this,null,t,e)}getCenterPoint(t){const{x:e,y:n,base:i,horizontal:r}=this.getProps(["x","y","base","horizontal"],t);return{x:r?(e+i)/2:e,y:r?n:(n+i)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}De.id="bar",De.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},De.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var Re=Object.freeze({__proto__:null,ArcElement:me,LineElement:Ce,PointElement:Me,BarElement:De});function Ie(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e})}}function Le(t){t.data.datasets.forEach((t=>{Ie(t)}))}var ze={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,n)=>{if(!n.enabled)return void Le(t);const r=t.width;t.data.datasets.forEach(((e,s)=>{const{_data:o,indexAxis:a}=e,c=t.getDatasetMeta(s),l=o||e.data;if("y"===(0,i.a)([a,t.options.indexAxis]))return;if("line"!==c.type)return;const h=t.scales[c.xAxisID];if("linear"!==h.type&&"time"!==h.type)return;if(t.options.parsing)return;let{start:u,count:d}=function(t,e){const n=e.length;let r,s=0;const{iScale:o}=t,{min:a,max:c,minDefined:l,maxDefined:h}=o.getUserBounds();return l&&(s=(0,i.w)((0,i.x)(e,o.axis,a).lo,0,n-1)),r=h?(0,i.w)((0,i.x)(e,o.axis,c).hi+1,s,n)-s:n-s,{start:s,count:r}}(c,l);if(d<=(n.threshold||4*r))return void Ie(e);let p;switch((0,i.k)(o)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),n.algorithm){case"lttb":p=function(t,e,n,i,r){const s=r.samples||i;if(s>=n)return t.slice(e,e+n);const o=[],a=(n-2)/(s-2);let c=0;const l=e+n-1;let h,u,d,p,f,g=e;for(o[c++]=t[g],h=0;h<s-2;h++){let i,r=0,s=0;const l=Math.floor((h+1)*a)+1+e,m=Math.min(Math.floor((h+2)*a)+1,n)+e,b=m-l;for(i=l;i<m;i++)r+=t[i].x,s+=t[i].y;r/=b,s/=b;const y=Math.floor(h*a)+1+e,v=Math.min(Math.floor((h+1)*a)+1,n)+e,{x:x,y:_}=t[g];for(d=p=-1,i=y;i<v;i++)p=.5*Math.abs((x-r)*(t[i].y-_)-(x-t[i].x)*(s-_)),p>d&&(d=p,u=t[i],f=i);o[c++]=u,g=f}return o[c++]=t[l],o}(l,u,d,r,n);break;case"min-max":p=function(t,e,n,r){let s,o,a,c,l,h,u,d,p,f,g=0,m=0;const b=[],y=e+n-1,v=t[e].x,x=t[y].x-v;for(s=e;s<e+n;++s){o=t[s],a=(o.x-v)/x*r,c=o.y;const e=0|a;if(e===l)c<p?(p=c,h=s):c>f&&(f=c,u=s),g=(m*g+o.x)/++m;else{const n=s-1;if(!(0,i.k)(h)&&!(0,i.k)(u)){const e=Math.min(h,u),i=Math.max(h,u);e!==d&&e!==n&&b.push({...t[e],x:g}),i!==d&&i!==n&&b.push({...t[i],x:g})}s>0&&n!==d&&b.push(t[n]),b.push(o),l=e,m=0,p=f=c,h=u=d=s}}return b}(l,u,d,r);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}e._decimated=p}))},destroy(t){Le(t)}};function Fe(t,e,n){const r=function(t){const e=t.options,n=e.fill;let r=(0,i.v)(n&&n.target,n);return void 0===r&&(r=!!e.backgroundColor),!1!==r&&null!==r&&(!0===r?"origin":r)}(t);if((0,i.i)(r))return!isNaN(r.value)&&r;let s=parseFloat(r);return(0,i.g)(s)&&Math.floor(s)===s?("-"!==r[0]&&"+"!==r[0]||(s=e+s),!(s===e||s<0||s>=n)&&s):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}class Be{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,n){const{x:r,y:s,radius:o}=this;return e=e||{start:0,end:i.T},t.arc(r,s,o,e.end,e.start,!0),!n.bounds}interpolate(t){const{x:e,y:n,radius:i}=this,r=t.angle;return{x:e+Math.cos(r)*i,y:n+Math.sin(r)*i,angle:r}}}function Ve(t){return(t.scale||{}).getPointPositionForValue?function(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,o=[],a=r.reverse?e.max:e.min,c=r.reverse?e.min:e.max;let l,h,u;if(u="start"===n?a:"end"===n?c:(0,i.i)(n)?n.value:e.getBaseValue(),r.grid.circular)return h=e.getPointPositionForValue(0,a),new Be({x:h.x,y:h.y,radius:e.getDistanceFromCenterForValue(u)});for(l=0;l<s;++l)o.push(e.getPointPositionForValue(l,u));return o}(t):function(t){const{scale:e={},fill:n}=t;let r,s=null;return"start"===n?s=e.bottom:"end"===n?s=e.top:(0,i.i)(n)?s=e.getPixelForValue(n.value):e.getBasePixel&&(s=e.getBasePixel()),(0,i.g)(s)?(r=e.isHorizontal(),{x:r?s:null,y:r?null:s}):null}(t)}function Ze(t,e,n){for(;e>t;e--){const t=n[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function He(t,e,n){const i=[];for(let r=0;r<n.length;r++){const s=n[r],{first:o,last:a,point:c}=We(s,e,"x");if(!(!c||o&&a))if(o)i.unshift(c);else if(t.push(c),!a)break}t.push(...i)}function We(t,e,n){const r=t.interpolate(e,n);if(!r)return{};const s=r[n],o=t.segments,a=t.points;let c=!1,l=!1;for(let t=0;t<o.length;t++){const e=o[t],r=a[e.start][n],h=a[e.end][n];if((0,i.ah)(s,r,h)){c=s===r,l=s===h;break}}return{first:c,last:l,point:r}}function Ue(t){const{chart:e,fill:n,line:r}=t;if((0,i.g)(n))return function(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}(e,n);if("stack"===n)return function(t){const{scale:e,index:n,line:i}=t,r=[],s=i.segments,o=i.points,a=function(t,e){const n=[],i=t.getMatchingVisibleMetas("line");for(let t=0;t<i.length;t++){const r=i[t];if(r.index===e)break;r.hidden||n.unshift(r.dataset)}return n}(e,n);a.push($e({x:null,y:e.bottom},i));for(let t=0;t<s.length;t++){const e=s[t];for(let t=e.start;t<=e.end;t++)He(r,o[t],a)}return new Ce({points:r,options:{}})}(t);if("shape"===n)return!0;const s=Ve(t);return s instanceof Be?s:$e(s,r)}function $e(t,e){let n=[],r=!1;return(0,i.b)(t)?(r=!0,n=t):n=function(t,e){const{x:n=null,y:i=null}=t||{},r=e.points,s=[];return e.segments.forEach((({start:t,end:e})=>{e=Ze(t,e,r);const o=r[t],a=r[e];null!==i?(s.push({x:o.x,y:i}),s.push({x:a.x,y:i})):null!==n&&(s.push({x:n,y:o.y}),s.push({x:n,y:a.y}))})),s}(t,e),n.length?new Ce({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Ge(t,e,n){let r=t[e].fill;const s=[e];let o;if(!n)return r;for(;!1!==r&&-1===s.indexOf(r);){if(!(0,i.g)(r))return r;if(o=t[r],!o)return!1;if(o.visible)return r;s.push(r),r=o.fill}return!1}function Je(t,e,n){const{segments:i,points:r}=e;let s=!0,o=!1;t.beginPath();for(const a of i){const{start:i,end:c}=a,l=r[i],h=r[Ze(i,c,r)];s?(t.moveTo(l.x,l.y),s=!1):(t.lineTo(l.x,n),t.lineTo(l.x,l.y)),o=!!e.pathSegment(t,a,{move:o}),o?t.closePath():t.lineTo(h.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function Ye(t,e,n,r){if(r)return;let s=e[t],o=n[t];return"angle"===t&&(s=(0,i.aw)(s),o=(0,i.aw)(o)),{property:t,start:s,end:o}}function Ke(t,e,n,i){return t&&e?i(t[n],e[n]):t?t[n]:e?e[n]:0}function qe(t,e,n){const{top:i,bottom:r}=e.chart.chartArea,{property:s,start:o,end:a}=n||{};"x"===s&&(t.beginPath(),t.rect(o,i,a-o,r-i),t.clip())}function Xe(t,e,n,i){const r=e.interpolate(n,i);r&&t.lineTo(r.x,r.y)}function Qe(t,e){const{line:n,target:r,property:s,color:o,scale:a}=e,c=function(t,e,n){const r=t.segments,s=t.points,o=e.points,a=[];for(const t of r){let{start:r,end:c}=t;c=Ze(r,c,s);const l=Ye(n,s[r],s[c],t.loop);if(!e.segments){a.push({source:t,target:l,start:s[r],end:s[c]});continue}const h=(0,i.al)(e,l);for(const e of h){const r=Ye(n,o[e.start],o[e.end],e.loop),c=(0,i.av)(t,s,r);for(const t of c)a.push({source:t,target:e,start:{[n]:Ke(l,r,"start",Math.max)},end:{[n]:Ke(l,r,"end",Math.min)}})}}return a}(n,r,s);for(const{source:e,target:i,start:l,end:h}of c){const{style:{backgroundColor:c=o}={}}=e,u=!0!==r;t.save(),t.fillStyle=c,qe(t,a,u&&Ye(s,l,h)),t.beginPath();const d=!!n.pathSegment(t,e);let p;if(u){d?t.closePath():Xe(t,r,h,s);const e=!!r.pathSegment(t,i,{move:d,reverse:!0});p=d&&e,p||Xe(t,r,l,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function tn(t,e,n){const r=Ue(e),{line:s,scale:o,axis:a}=e,c=s.options,l=c.fill,h=c.backgroundColor,{above:u=h,below:d=h}=l||{};r&&s.points.length&&((0,i.W)(t,n),function(t,e){const{line:n,target:i,above:r,below:s,area:o,scale:a}=e,c=n._loop?"angle":e.axis;t.save(),"x"===c&&s!==r&&(Je(t,i,o.top),Qe(t,{line:n,target:i,color:r,scale:a,property:c}),t.restore(),t.save(),Je(t,i,o.bottom)),Qe(t,{line:n,target:i,color:s,scale:a,property:c}),t.restore()}(t,{line:s,target:r,above:u,below:d,area:n,scale:o,axis:a}),(0,i.Y)(t))}var en={id:"filler",afterDatasetsUpdate(t,e,n){const i=(t.data.datasets||[]).length,r=[];let s,o,a,c;for(o=0;o<i;++o)s=t.getDatasetMeta(o),a=s.dataset,c=null,a&&a.options&&a instanceof Ce&&(c={visible:t.isDatasetVisible(o),index:o,fill:Fe(a,o,i),chart:t,axis:s.controller.options.indexAxis,scale:s.vScale,line:a}),s.$filler=c,r.push(c);for(o=0;o<i;++o)c=r[o],c&&!1!==c.fill&&(c.fill=Ge(r,o,n.propagate))},beforeDraw(t,e,n){const i="beforeDraw"===n.drawTime,r=t.getSortedVisibleDatasetMetas(),s=t.chartArea;for(let e=r.length-1;e>=0;--e){const n=r[e].$filler;n&&(n.line.updateControlPoints(s,n.axis),i&&tn(t.ctx,n,s))}},beforeDatasetsDraw(t,e,n){if("beforeDatasetsDraw"!==n.drawTime)return;const i=t.getSortedVisibleDatasetMetas();for(let e=i.length-1;e>=0;--e){const n=i[e].$filler;n&&tn(t.ctx,n,t.chartArea)}},beforeDatasetDraw(t,e,n){const i=e.meta.$filler;i&&!1!==i.fill&&"beforeDatasetDraw"===n.drawTime&&tn(t.ctx,i,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const nn=(t,e)=>{let{boxHeight:n=e,boxWidth:i=e}=t;return t.usePointStyle&&(n=Math.min(n,e),i=Math.min(i,e)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(e,n)}};class rn extends Ct{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=(0,i.O)(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,n)=>t.sort(e,n,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,r=(0,i.Z)(n.font),s=r.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:c}=nn(n,s);let l,h;e.font=r.string,this.isHorizontal()?(l=this.maxWidth,h=this._fitRows(o,s,a,c)+10):(h=this.maxHeight,l=this._fitCols(o,s,a,c)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,i){const{ctx:r,maxWidth:s,options:{labels:{padding:o}}}=this,a=this.legendHitBoxes=[],c=this.lineWidths=[0],l=i+o;let h=t;r.textAlign="left",r.textBaseline="middle";let u=-1,d=-l;return this.legendItems.forEach(((t,p)=>{const f=n+e/2+r.measureText(t.text).width;(0===p||c[c.length-1]+f+2*o>s)&&(h+=l,c[c.length-(p>0?0:1)]=0,d+=l,u++),a[p]={left:0,top:d,row:u,width:f,height:i},c[c.length-1]+=f+o})),h}_fitCols(t,e,n,i){const{ctx:r,maxHeight:s,options:{labels:{padding:o}}}=this,a=this.legendHitBoxes=[],c=this.columnSizes=[],l=s-t;let h=o,u=0,d=0,p=0,f=0;return this.legendItems.forEach(((t,s)=>{const g=n+e/2+r.measureText(t.text).width;s>0&&d+i+2*o>l&&(h+=u+o,c.push({width:u,height:d}),p+=u+o,f++,u=d=0),a[s]={left:p,top:d,col:f,width:g,height:i},u=Math.max(u,g),d+=i+o})),h+=u,c.push({width:u,height:d}),h}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:r},rtl:s}}=this,o=(0,i.ax)(s,this.left,this.width);if(this.isHorizontal()){let s=0,a=(0,i.a0)(n,this.left+r,this.right-this.lineWidths[s]);for(const c of e)s!==c.row&&(s=c.row,a=(0,i.a0)(n,this.left+r,this.right-this.lineWidths[s])),c.top+=this.top+t+r,c.left=o.leftForLtr(o.x(a),c.width),a+=c.width+r}else{let s=0,a=(0,i.a0)(n,this.top+t+r,this.bottom-this.columnSizes[s].height);for(const c of e)c.col!==s&&(s=c.col,a=(0,i.a0)(n,this.top+t+r,this.bottom-this.columnSizes[s].height)),c.top=a,c.left+=this.left+r,c.left=o.leftForLtr(o.x(c.left),c.width),a+=c.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;(0,i.W)(t,this),this._draw(),(0,i.Y)(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:r}=this,{align:s,labels:o}=t,a=i.d.color,c=(0,i.ax)(t.rtl,this.left,this.width),l=(0,i.Z)(o.font),{color:h,padding:u}=o,d=l.size,p=d/2;let f;this.drawTitle(),r.textAlign=c.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=l.string;const{boxWidth:g,boxHeight:m,itemHeight:b}=nn(o,d),y=this.isHorizontal(),v=this._computeTitleHeight();f=y?{x:(0,i.a0)(s,this.left+u,this.right-n[0]),y:this.top+u+v,line:0}:{x:this.left+u,y:(0,i.a0)(s,this.top+v+u,this.bottom-e[0].height),line:0},(0,i.ay)(this.ctx,t.textDirection);const x=b+u;this.legendItems.forEach(((_,k)=>{r.strokeStyle=_.fontColor||h,r.fillStyle=_.fontColor||h;const w=r.measureText(_.text).width,S=c.textAlign(_.textAlign||(_.textAlign=o.textAlign)),C=g+p+w;let E=f.x,M=f.y;c.setWidth(this.width),y?k>0&&E+C+u>this.right&&(M=f.y+=x,f.line++,E=f.x=(0,i.a0)(s,this.left+u,this.right-n[f.line])):k>0&&M+x>this.bottom&&(E=f.x=E+e[f.line].width+u,f.line++,M=f.y=(0,i.a0)(s,this.top+v+u,this.bottom-e[f.line].height));!function(t,e,n){if(isNaN(g)||g<=0||isNaN(m)||m<0)return;r.save();const s=(0,i.v)(n.lineWidth,1);if(r.fillStyle=(0,i.v)(n.fillStyle,a),r.lineCap=(0,i.v)(n.lineCap,"butt"),r.lineDashOffset=(0,i.v)(n.lineDashOffset,0),r.lineJoin=(0,i.v)(n.lineJoin,"miter"),r.lineWidth=s,r.strokeStyle=(0,i.v)(n.strokeStyle,a),r.setLineDash((0,i.v)(n.lineDash,[])),o.usePointStyle){const o={radius:g*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:s},a=c.xPlus(t,g/2),l=e+p;(0,i.ar)(r,o,a,l)}else{const o=e+Math.max((d-m)/2,0),a=c.leftForLtr(t,g),l=(0,i.au)(n.borderRadius);r.beginPath(),Object.values(l).some((t=>0!==t))?(0,i.as)(r,{x:a,y:o,w:g,h:m,radius:l}):r.rect(a,o,g,m),r.fill(),0!==s&&r.stroke()}r.restore()}(c.x(E),M,_),E=(0,i.az)(S,E+g+p,y?E+C:this.right,t.rtl),function(t,e,n){(0,i.X)(r,n.text,t,e+b/2,l,{strikethrough:n.hidden,textAlign:c.textAlign(n.textAlign)})}(c.x(E),M,_),y?f.x+=C+u:f.y+=x})),(0,i.aA)(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=(0,i.Z)(e.font),r=(0,i.C)(e.padding);if(!e.display)return;const s=(0,i.ax)(t.rtl,this.left,this.width),o=this.ctx,a=e.position,c=n.size/2,l=r.top+c;let h,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),h=this.top+l,u=(0,i.a0)(t.align,u,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);h=l+(0,i.a0)(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const p=(0,i.a0)(a,u,u+d);o.textAlign=s.textAlign((0,i.$)(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=n.string,(0,i.X)(o,e.text,p,h,n)}_computeTitleHeight(){const t=this.options.title,e=(0,i.Z)(t.font),n=(0,i.C)(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,r,s;if((0,i.ah)(t,this.left,this.right)&&(0,i.ah)(e,this.top,this.bottom))for(s=this.legendHitBoxes,n=0;n<s.length;++n)if(r=s[n],(0,i.ah)(t,r.left,r.left+r.width)&&(0,i.ah)(e,r.top,r.top+r.height))return this.legendItems[n];return null}handleEvent(t){const e=this.options;if(!function(t,e){if("mousemove"===t&&(e.onHover||e.onLeave))return!0;if(e.onClick&&("click"===t||"mouseup"===t))return!0;return!1}(t.type,e))return;const n=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type){const o=this._hoveredItem,a=(s=n,null!==(r=o)&&null!==s&&r.datasetIndex===s.datasetIndex&&r.index===s.index);o&&!a&&(0,i.O)(e.onLeave,[t,o,this],this),this._hoveredItem=n,n&&!a&&(0,i.O)(e.onHover,[t,n,this],this)}else n&&(0,i.O)(e.onClick,[t,n,this],this);var r,s}}var sn={id:"legend",_element:rn,start(t,e,n){const i=t.legend=new rn({ctx:t.ctx,options:n,chart:t});ct.configure(t,i,n),ct.addBox(t,i)},stop(t){ct.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const i=t.legend;ct.configure(t,i,n),i.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const i=e.datasetIndex,r=n.chart;r.isDatasetVisible(i)?(r.hide(i),e.hidden=!0):(r.show(i),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:s,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const a=t.controller.getStyle(n?0:void 0),c=(0,i.C)(a.borderWidth);return{text:e[t.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:a.borderColor,pointStyle:r||a.pointStyle,rotation:a.rotation,textAlign:s||a.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class on extends Ct{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const r=(0,i.b)(n.text)?n.text.length:1;this._padding=(0,i.C)(n.padding);const s=r*(0,i.Z)(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=s:this.width=s}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:r,right:s,options:o}=this,a=o.align;let c,l,h,u=0;return this.isHorizontal()?(l=(0,i.a0)(a,n,s),h=e+t,c=s-n):("left"===o.position?(l=n+t,h=(0,i.a0)(a,r,e),u=-.5*i.P):(l=s-t,h=(0,i.a0)(a,e,r),u=.5*i.P),c=r-e),{titleX:l,titleY:h,maxWidth:c,rotation:u}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=(0,i.Z)(e.font),r=n.lineHeight/2+this._padding.top,{titleX:s,titleY:o,maxWidth:a,rotation:c}=this._drawArgs(r);(0,i.X)(t,e.text,0,0,n,{color:e.color,maxWidth:a,rotation:c,textAlign:(0,i.$)(e.align),textBaseline:"middle",translation:[s,o]})}}var an={id:"title",_element:on,start(t,e,n){!function(t,e){const n=new on({ctx:t.ctx,options:e,chart:t});ct.configure(t,n,e),ct.addBox(t,n),t.titleBlock=n}(t,n)},stop(t){const e=t.titleBlock;ct.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const i=t.titleBlock;ct.configure(t,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const cn=new WeakMap;var ln={id:"subtitle",start(t,e,n){const i=new on({ctx:t.ctx,options:n,chart:t});ct.configure(t,i,n),ct.addBox(t,i),cn.set(t,i)},stop(t){ct.removeBox(t,cn.get(t)),cn.delete(t)},beforeUpdate(t,e,n){const i=cn.get(t);ct.configure(t,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const hn={average(t){if(!t.length)return!1;let e,n,i=0,r=0,s=0;for(e=0,n=t.length;e<n;++e){const n=t[e].element;if(n&&n.hasValue()){const t=n.tooltipPosition();i+=t.x,r+=t.y,++s}}return{x:i/s,y:r/s}},nearest(t,e){if(!t.length)return!1;let n,r,s,o=e.x,a=e.y,c=Number.POSITIVE_INFINITY;for(n=0,r=t.length;n<r;++n){const r=t[n].element;if(r&&r.hasValue()){const t=r.getCenterPoint(),n=(0,i.aC)(e,t);n<c&&(c=n,s=r)}}if(s){const t=s.tooltipPosition();o=t.x,a=t.y}return{x:o,y:a}}};function un(t,e){return e&&((0,i.b)(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function dn(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function pn(t,e){const{element:n,datasetIndex:i,index:r}=e,s=t.getDatasetMeta(i).controller,{label:o,value:a}=s.getLabelAndValue(r);return{chart:t,label:o,parsed:s.getParsed(r),raw:t.data.datasets[i].data[r],formattedValue:a,dataset:s.getDataset(),dataIndex:r,datasetIndex:i,element:n}}function fn(t,e){const n=t.chart.ctx,{body:r,footer:s,title:o}=t,{boxWidth:a,boxHeight:c}=e,l=(0,i.Z)(e.bodyFont),h=(0,i.Z)(e.titleFont),u=(0,i.Z)(e.footerFont),d=o.length,p=s.length,f=r.length,g=(0,i.C)(e.padding);let m=g.height,b=0,y=r.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(y+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*h.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),y){m+=f*(e.displayColors?Math.max(c,l.lineHeight):l.lineHeight)+(y-f)*l.lineHeight+(y-1)*e.bodySpacing}p&&(m+=e.footerMarginTop+p*u.lineHeight+(p-1)*e.footerSpacing);let v=0;const x=function(t){b=Math.max(b,n.measureText(t).width+v)};return n.save(),n.font=h.string,(0,i.D)(t.title,x),n.font=l.string,(0,i.D)(t.beforeBody.concat(t.afterBody),x),v=e.displayColors?a+2+e.boxPadding:0,(0,i.D)(r,(t=>{(0,i.D)(t.before,x),(0,i.D)(t.lines,x),(0,i.D)(t.after,x)})),v=0,n.font=u.string,(0,i.D)(t.footer,x),n.restore(),b+=g.width,{width:b,height:m}}function gn(t,e,n,i){const{x:r,width:s}=n,{width:o,chartArea:{left:a,right:c}}=t;let l="center";return"center"===i?l=r<=(a+c)/2?"left":"right":r<=s/2?l="left":r>=o-s/2&&(l="right"),function(t,e,n,i){const{x:r,width:s}=i,o=n.caretSize+n.caretPadding;return"left"===t&&r+s+o>e.width||"right"===t&&r-s-o<0||void 0}(l,t,e,n)&&(l="center"),l}function mn(t,e,n){const i=n.yAlign||e.yAlign||function(t,e){const{y:n,height:i}=e;return n<i/2?"top":n>t.height-i/2?"bottom":"center"}(t,n);return{xAlign:n.xAlign||e.xAlign||gn(t,e,n,i),yAlign:i}}function bn(t,e,n,r){const{caretSize:s,caretPadding:o,cornerRadius:a}=t,{xAlign:c,yAlign:l}=n,h=s+o,{topLeft:u,topRight:d,bottomLeft:p,bottomRight:f}=(0,i.au)(a);let g=function(t,e){let{x:n,width:i}=t;return"right"===e?n-=i:"center"===e&&(n-=i/2),n}(e,c);const m=function(t,e,n){let{y:i,height:r}=t;return"top"===e?i+=n:i-="bottom"===e?r+n:r/2,i}(e,l,h);return"center"===l?"left"===c?g+=h:"right"===c&&(g-=h):"left"===c?g-=Math.max(u,p)+s:"right"===c&&(g+=Math.max(d,f)+s),{x:(0,i.w)(g,0,r.width-e.width),y:(0,i.w)(m,0,r.height-e.height)}}function yn(t,e,n){const r=(0,i.C)(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function vn(t){return un([],dn(t))}function xn(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}class kn extends Ct{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,n=this.options.setContext(this.getContext()),i=n.enabled&&e.options.animation&&n.animations,r=new l(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,n=this._tooltipItems,(0,i.h)(t,{tooltip:e,tooltipItems:n,type:"tooltip"})));var t,e,n}getTitle(t,e){const{callbacks:n}=e,i=n.beforeTitle.apply(this,[t]),r=n.title.apply(this,[t]),s=n.afterTitle.apply(this,[t]);let o=[];return o=un(o,dn(i)),o=un(o,dn(r)),o=un(o,dn(s)),o}getBeforeBody(t,e){return vn(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:n}=e,r=[];return(0,i.D)(t,(t=>{const e={before:[],lines:[],after:[]},i=xn(n,t);un(e.before,dn(i.beforeLabel.call(this,t))),un(e.lines,i.label.call(this,t)),un(e.after,dn(i.afterLabel.call(this,t))),r.push(e)})),r}getAfterBody(t,e){return vn(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:n}=e,i=n.beforeFooter.apply(this,[t]),r=n.footer.apply(this,[t]),s=n.afterFooter.apply(this,[t]);let o=[];return o=un(o,dn(i)),o=un(o,dn(r)),o=un(o,dn(s)),o}_createItems(t){const e=this._active,n=this.chart.data,r=[],s=[],o=[];let a,c,l=[];for(a=0,c=e.length;a<c;++a)l.push(pn(this.chart,e[a]));return t.filter&&(l=l.filter(((e,i,r)=>t.filter(e,i,r,n)))),t.itemSort&&(l=l.sort(((e,i)=>t.itemSort(e,i,n)))),(0,i.D)(l,(e=>{const n=xn(t.callbacks,e);r.push(n.labelColor.call(this,e)),s.push(n.labelPointStyle.call(this,e)),o.push(n.labelTextColor.call(this,e))})),this.labelColors=r,this.labelPointStyles=s,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const n=this.options.setContext(this.getContext()),i=this._active;let r,s=[];if(i.length){const t=hn[n.position].call(this,i,this._eventPosition);s=this._createItems(n),this.title=this.getTitle(s,n),this.beforeBody=this.getBeforeBody(s,n),this.body=this.getBody(s,n),this.afterBody=this.getAfterBody(s,n),this.footer=this.getFooter(s,n);const e=this._size=fn(this,n),o=Object.assign({},t,e),a=mn(this.chart,n,o),c=bn(n,o,a,this.chart);this.xAlign=a.xAlign,this.yAlign=a.yAlign,r={opacity:1,x:c.x,y:c.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(r={opacity:0});this._tooltipItems=s,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,i){const r=this.getCaretPosition(t,n,i);e.lineTo(r.x1,r.y1),e.lineTo(r.x2,r.y2),e.lineTo(r.x3,r.y3)}getCaretPosition(t,e,n){const{xAlign:r,yAlign:s}=this,{caretSize:o,cornerRadius:a}=n,{topLeft:c,topRight:l,bottomLeft:h,bottomRight:u}=(0,i.au)(a),{x:d,y:p}=t,{width:f,height:g}=e;let m,b,y,v,x,_;return"center"===s?(x=p+g/2,"left"===r?(m=d,b=m-o,v=x+o,_=x-o):(m=d+f,b=m+o,v=x-o,_=x+o),y=m):(b="left"===r?d+Math.max(c,h)+o:"right"===r?d+f-Math.max(l,u)-o:this.caretX,"top"===s?(v=p,x=v-o,m=b-o,y=b+o):(v=p+g,x=v+o,m=b+o,y=b-o),_=v),{x1:m,x2:b,x3:y,y1:v,y2:x,y3:_}}drawTitle(t,e,n){const r=this.title,s=r.length;let o,a,c;if(s){const l=(0,i.ax)(n.rtl,this.x,this.width);for(t.x=yn(this,n.titleAlign,n),e.textAlign=l.textAlign(n.titleAlign),e.textBaseline="middle",o=(0,i.Z)(n.titleFont),a=n.titleSpacing,e.fillStyle=n.titleColor,e.font=o.string,c=0;c<s;++c)e.fillText(r[c],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+a,c+1===s&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,e,n,r,s){const o=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:c,boxWidth:l,boxPadding:h}=s,u=(0,i.Z)(s.bodyFont),d=yn(this,"left",s),p=r.x(d),f=c<u.lineHeight?(u.lineHeight-c)/2:0,g=e.y+f;if(s.usePointStyle){const e={radius:Math.min(l,c)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=r.leftForLtr(p,l)+l/2,h=g+c/2;t.strokeStyle=s.multiKeyBackground,t.fillStyle=s.multiKeyBackground,(0,i.ar)(t,e,n,h),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,(0,i.ar)(t,e,n,h)}else{t.lineWidth=o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=r.leftForLtr(p,l-h),n=r.leftForLtr(r.xPlus(p,1),l-h-2),a=(0,i.au)(o.borderRadius);Object.values(a).some((t=>0!==t))?(t.beginPath(),t.fillStyle=s.multiKeyBackground,(0,i.as)(t,{x:e,y:g,w:l,h:c,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),(0,i.as)(t,{x:n,y:g+1,w:l-2,h:c-2,radius:a}),t.fill()):(t.fillStyle=s.multiKeyBackground,t.fillRect(e,g,l,c),t.strokeRect(e,g,l,c),t.fillStyle=o.backgroundColor,t.fillRect(n,g+1,l-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:r}=this,{bodySpacing:s,bodyAlign:o,displayColors:a,boxHeight:c,boxWidth:l,boxPadding:h}=n,u=(0,i.Z)(n.bodyFont);let d=u.lineHeight,p=0;const f=(0,i.ax)(n.rtl,this.x,this.width),g=function(n){e.fillText(n,f.x(t.x+p),t.y+d/2),t.y+=d+s},m=f.textAlign(o);let b,y,v,x,_,k,w;for(e.textAlign=o,e.textBaseline="middle",e.font=u.string,t.x=yn(this,m,n),e.fillStyle=n.bodyColor,(0,i.D)(this.beforeBody,g),p=a&&"right"!==m?"center"===o?l/2+h:l+2+h:0,x=0,k=r.length;x<k;++x){for(b=r[x],y=this.labelTextColors[x],e.fillStyle=y,(0,i.D)(b.before,g),v=b.lines,a&&v.length&&(this._drawColorBox(e,t,x,f,n),d=Math.max(u.lineHeight,c)),_=0,w=v.length;_<w;++_)g(v[_]),d=u.lineHeight;(0,i.D)(b.after,g)}p=0,d=u.lineHeight,(0,i.D)(this.afterBody,g),t.y-=s}drawFooter(t,e,n){const r=this.footer,s=r.length;let o,a;if(s){const c=(0,i.ax)(n.rtl,this.x,this.width);for(t.x=yn(this,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=c.textAlign(n.footerAlign),e.textBaseline="middle",o=(0,i.Z)(n.footerFont),e.fillStyle=n.footerColor,e.font=o.string,a=0;a<s;++a)e.fillText(r[a],c.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+n.footerSpacing}}drawBackground(t,e,n,r){const{xAlign:s,yAlign:o}=this,{x:a,y:c}=t,{width:l,height:h}=n,{topLeft:u,topRight:d,bottomLeft:p,bottomRight:f}=(0,i.au)(r.cornerRadius);e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.beginPath(),e.moveTo(a+u,c),"top"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+l-d,c),e.quadraticCurveTo(a+l,c,a+l,c+d),"center"===o&&"right"===s&&this.drawCaret(t,e,n,r),e.lineTo(a+l,c+h-f),e.quadraticCurveTo(a+l,c+h,a+l-f,c+h),"bottom"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+p,c+h),e.quadraticCurveTo(a,c+h,a,c+h-p),"center"===o&&"left"===s&&this.drawCaret(t,e,n,r),e.lineTo(a,c+u),e.quadraticCurveTo(a,c,a+u,c),e.closePath(),e.fill(),r.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,i=n&&n.x,r=n&&n.y;if(i||r){const n=hn[t.position].call(this,this._active,this._eventPosition);if(!n)return;const s=this._size=fn(this,t),o=Object.assign({},n,this._size),a=mn(e,t,o),c=bn(t,o,a,e);i._to===c.x&&r._to===c.y||(this.xAlign=a.xAlign,this.yAlign=a.yAlign,this.width=s.width,this.height=s.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const r={width:this.width,height:this.height},s={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=(0,i.C)(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(s,t,r,e),(0,i.ay)(t,e.textDirection),s.y+=o.top,this.drawTitle(s,t,e),this.drawBody(s,t,e),this.drawFooter(s,t,e),(0,i.aA)(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,r=t.map((({datasetIndex:t,index:e})=>{const n=this.chart.getDatasetMeta(t);if(!n)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:n.data[e],index:e}})),s=!(0,i.af)(n,r),o=this._positionChanged(r,e);(s||o)&&(this._active=r,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,n=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,s=this._active||[],o=this._getActiveElements(t,s,e,n),a=this._positionChanged(o,t),c=e||!(0,i.af)(o,s)||a;return c&&(this._active=o,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),c}_getActiveElements(t,e,n,i){const r=this.options;if("mouseout"===t.type)return[];if(!i)return e;const s=this.chart.getElementsAtEventForMode(t,r.mode,r,n);return r.reverse&&s.reverse(),s}_positionChanged(t,e){const{caretX:n,caretY:i,options:r}=this,s=hn[r.position].call(this,t,e);return!1!==s&&(n!==s.x||i!==s.y)}}kn.positioners=hn;var wn={id:"tooltip",_element:kn,positioners:hn,afterInit(t,e,n){n&&(t.tooltip=new kn({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip,n={tooltip:e};!1!==t.notifyPlugins("beforeTooltipDraw",n)&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n))},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:i.aB,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,i=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex<i)return n[e.dataIndex]}return""},afterTitle:i.aB,beforeBody:i.aB,beforeLabel:i.aB,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return(0,i.k)(n)||(e+=n),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:i.aB,afterBody:i.aB,beforeFooter:i.aB,footer:i.aB,afterFooter:i.aB}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Sn=Object.freeze({__proto__:null,Decimation:ze,Filler:en,Legend:sn,SubTitle:ln,Title:an,Tooltip:wn});function Cn(t,e,n,i){const r=t.indexOf(e);if(-1===r)return((t,e,n,i)=>("string"==typeof e?(n=t.push(e)-1,i.unshift({index:n,label:e})):isNaN(e)&&(n=null),n))(t,e,n,i);return r!==t.lastIndexOf(e)?n:r}class En extends It{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:n,label:i}of e)t[n]===i&&t.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if((0,i.k)(t))return null;const n=this.getLabels();return((t,e)=>null===t?null:(0,i.w)(Math.round(t),0,e))(e=isFinite(e)&&n[e]===t?e:Cn(n,t,(0,i.v)(e,t),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:i}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(i=this.getLabels().length-1)),this.min=n,this.max=i}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,i=[];let r=this.getLabels();r=0===t&&e===r.length-1?r:r.slice(t,e+1),this._valueRange=Math.max(r.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=t;n<=e;n++)i.push({value:n});return i}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Mn(t,e,{horizontal:n,minRotation:r}){const s=(0,i.t)(r),o=(n?Math.sin(s):Math.cos(s))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}En.id="category",En.defaults={ticks:{callback:En.prototype.getLabelForValue}};class Pn extends It{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return(0,i.k)(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:s}=this;const o=t=>r=e?r:t,a=t=>s=n?s:t;if(t){const t=(0,i.s)(r),e=(0,i.s)(s);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(r===s){let e=1;(s>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*s)),a(s+e),t||o(r-e)}this.min=r,this.max=s}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:i}=t;return i?(e=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const r=function(t,e){const n=[],{bounds:r,step:s,min:o,max:a,precision:c,count:l,maxTicks:h,maxDigits:u,includeBounds:d}=t,p=s||1,f=h-1,{min:g,max:m}=e,b=!(0,i.k)(o),y=!(0,i.k)(a),v=!(0,i.k)(l),x=(m-g)/(u+1);let _,k,w,S,C=(0,i.aE)((m-g)/f/p)*p;if(C<1e-14&&!b&&!y)return[{value:g},{value:m}];S=Math.ceil(m/C)-Math.floor(g/C),S>f&&(C=(0,i.aE)(S*C/f/p)*p),(0,i.k)(c)||(_=Math.pow(10,c),C=Math.ceil(C*_)/_),"ticks"===r?(k=Math.floor(g/C)*C,w=Math.ceil(m/C)*C):(k=g,w=m),b&&y&&s&&(0,i.aF)((a-o)/s,C/1e3)?(S=Math.round(Math.min((a-o)/C,h)),C=(a-o)/S,k=o,w=a):v?(k=b?o:k,w=y?a:w,S=l-1,C=(w-k)/S):(S=(w-k)/C,S=(0,i.aG)(S,Math.round(S),C/1e3)?Math.round(S):Math.ceil(S));const E=Math.max((0,i.aH)(C),(0,i.aH)(k));_=Math.pow(10,(0,i.k)(c)?E:c),k=Math.round(k*_)/_,w=Math.round(w*_)/_;let M=0;for(b&&(d&&k!==o?(n.push({value:o}),k<o&&M++,(0,i.aG)(Math.round((k+M*C)*_)/_,o,Mn(o,x,t))&&M++):k<o&&M++);M<S;++M)n.push({value:Math.round((k+M*C)*_)/_});return y&&d&&w!==a?n.length&&(0,i.aG)(n[n.length-1].value,a,Mn(a,x,t))?n[n.length-1].value=a:n.push({value:a}):y&&w!==a||n.push({value:w}),n}({maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&(0,i.aD)(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const i=(n-e)/Math.max(t.length-1,1)/2;e-=i,n+=i}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return(0,i.o)(t,this.chart.options.locale,this.options.ticks.format)}}class jn extends Pn{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=(0,i.g)(t)?t:0,this.max=(0,i.g)(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=(0,i.t)(this.options.ticks.minRotation),r=(t?Math.sin(n):Math.cos(n))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,s.lineHeight/r))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function On(t){return 1===t/Math.pow(10,Math.floor((0,i.L)(t)))}jn.id="linear",jn.defaults={ticks:{callback:Mt.formatters.numeric}};class Tn extends It{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const n=Pn.prototype.parse.apply(this,[t,e]);if(0!==n)return(0,i.g)(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=(0,i.g)(t)?Math.max(0,t):null,this.max=(0,i.g)(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let n=this.min,r=this.max;const s=e=>n=t?n:e,o=t=>r=e?r:t,a=(t,e)=>Math.pow(10,Math.floor((0,i.L)(t))+e);n===r&&(n<=0?(s(1),o(10)):(s(a(n,-1)),o(a(r,1)))),n<=0&&s(a(r,-1)),r<=0&&o(a(n,1)),this._zero&&this.min!==this._suggestedMin&&n===a(this.min,0)&&s(a(n,-1)),this.min=n,this.max=r}buildTicks(){const t=this.options,e=function(t,e){const n=Math.floor((0,i.L)(e.max)),r=Math.ceil(e.max/Math.pow(10,n)),s=[];let o=(0,i.N)(t.min,Math.pow(10,Math.floor((0,i.L)(e.min)))),a=Math.floor((0,i.L)(o)),c=Math.floor(o/Math.pow(10,a)),l=a<0?Math.pow(10,Math.abs(a)):1;do{s.push({value:o,major:On(o)}),++c,10===c&&(c=1,++a,l=a>=0?1:l),o=Math.round(c*Math.pow(10,a)*l)/l}while(a<n||a===n&&c<r);const h=(0,i.N)(t.max,o);return s.push({value:h,major:On(o)}),s}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&(0,i.aD)(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":(0,i.o)(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=(0,i.L)(t),this._valueRange=(0,i.L)(this.max)-(0,i.L)(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:((0,i.L)(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Nn(t){const e=t.ticks;if(e.display&&t.display){const t=(0,i.C)(e.backdropPadding);return(0,i.v)(e.font&&e.font.size,i.d.font.size)+t.height}return 0}function An(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:t<i||t>r?{start:e-n,end:e}:{start:e,end:e+n}}function Dn(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),r=[],s=[],o=t._pointLabels.length,a=t.options.pointLabels,c=a.centerPointLabels?i.P/o:0;for(let d=0;d<o;d++){const o=a.setContext(t.getPointLabelContext(d));s[d]=o.padding;const p=t.getPointPosition(d,t.drawingArea+s[d],c),f=(0,i.Z)(o.font),g=(l=t.ctx,h=f,u=t._pointLabels[d],u=(0,i.b)(u)?u:[u],{w:(0,i.aI)(l,h.string,u),h:u.length*h.lineHeight});r[d]=g;const m=(0,i.aw)(t.getIndexAngle(d)+c),b=Math.round((0,i.R)(m));Rn(n,e,m,An(b,p.x,g.w,0,180),An(b,p.y,g.h,90,270))}var l,h,u;t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=function(t,e,n){const r=[],s=t._pointLabels.length,o=t.options,a=Nn(o)/2,c=t.drawingArea,l=o.pointLabels.centerPointLabels?i.P/s:0;for(let o=0;o<s;o++){const s=t.getPointPosition(o,c+a+n[o],l),h=Math.round((0,i.R)((0,i.aw)(s.angle+i.H))),u=e[o],d=zn(s.y,u.h,h),p=In(h),f=Ln(s.x,u.w,p);r.push({x:s.x,y:d,textAlign:p,left:f,top:d,right:f+u.w,bottom:d+u.h})}return r}(t,r,s)}function Rn(t,e,n,i,r){const s=Math.abs(Math.sin(n)),o=Math.abs(Math.cos(n));let a=0,c=0;i.start<e.l?(a=(e.l-i.start)/s,t.l=Math.min(t.l,e.l-a)):i.end>e.r&&(a=(i.end-e.r)/s,t.r=Math.max(t.r,e.r+a)),r.start<e.t?(c=(e.t-r.start)/o,t.t=Math.min(t.t,e.t-c)):r.end>e.b&&(c=(r.end-e.b)/o,t.b=Math.max(t.b,e.b+c))}function In(t){return 0===t||180===t?"center":t<180?"left":"right"}function Ln(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function zn(t,e,n){return 90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e),t}function Fn(t,e,n,r){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,i.T);else{let n=t.getPointPosition(0,e);s.moveTo(n.x,n.y);for(let i=1;i<r;i++)n=t.getPointPosition(i,e),s.lineTo(n.x,n.y)}}Tn.id="logarithmic",Tn.defaults={ticks:{callback:Mt.formatters.logarithmic,major:{enabled:!0}}};class Bn extends Pn{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=(0,i.C)(Nn(this.options)/2),e=this.width=this.maxWidth-t.width,n=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+n/2+t.top),this.drawingArea=Math.floor(Math.min(e,n)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=(0,i.g)(t)&&!isNaN(t)?t:0,this.max=(0,i.g)(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Nn(this.options))}generateTickLabels(t){Pn.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const n=(0,i.O)(this.options.pointLabels.callback,[t,e],this);return n||0===n?n:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?Dn(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,n,i){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((n-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,n,i))}getIndexAngle(t){const e=i.T/(this._pointLabels.length||1),n=this.options.startAngle||0;return(0,i.aw)(t*e+(0,i.t)(n))}getDistanceFromCenterForValue(t){if((0,i.k)(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if((0,i.k)(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const n=e[t];return function(t,e,n){return(0,i.h)(t,{label:n,index:e,type:"pointLabel"})}(this.getContext(),t,n)}}getPointPosition(t,e,n=0){const r=this.getIndexAngle(t)-i.H+n;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:n,right:i,bottom:r}=this._pointLabelItems[t];return{left:e,top:n,right:i,bottom:r}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),Fn(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:n,grid:r}=e,s=this._pointLabels.length;let o,a,c;if(e.pointLabels.display&&function(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let s=e-1;s>=0;s--){const e=r.setContext(t.getPointLabelContext(s)),o=(0,i.Z)(e.font),{x:a,y:c,textAlign:l,left:h,top:u,right:d,bottom:p}=t._pointLabelItems[s],{backdropColor:f}=e;if(!(0,i.k)(f)){const t=(0,i.C)(e.backdropPadding);n.fillStyle=f,n.fillRect(h-t.left,u-t.top,d-h+t.width,p-u+t.height)}(0,i.X)(n,t._pointLabels[s],a,c+o.lineHeight/2,o,{color:e.color,textAlign:l,textBaseline:"middle"})}}(this,s),r.display&&this.ticks.forEach(((t,e)=>{if(0!==e){a=this.getDistanceFromCenterForValue(t.value);!function(t,e,n,i){const r=t.ctx,s=e.circular,{color:o,lineWidth:a}=e;!s&&!i||!o||!a||n<0||(r.save(),r.strokeStyle=o,r.lineWidth=a,r.setLineDash(e.borderDash),r.lineDashOffset=e.borderDashOffset,r.beginPath(),Fn(t,n,s,i),r.closePath(),r.stroke(),r.restore())}(this,r.setContext(this.getContext(e-1)),a,s)}})),n.display){for(t.save(),o=s-1;o>=0;o--){const i=n.setContext(this.getPointLabelContext(o)),{color:r,lineWidth:s}=i;s&&r&&(t.lineWidth=s,t.strokeStyle=r,t.setLineDash(i.borderDash),t.lineDashOffset=i.borderDashOffset,a=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),c=this.getPointPosition(o,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,n=e.ticks;if(!n.display)return;const r=this.getIndexAngle(0);let s,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((r,a)=>{if(0===a&&!e.reverse)return;const c=n.setContext(this.getContext(a)),l=(0,i.Z)(c.font);if(s=this.getDistanceFromCenterForValue(this.ticks[a].value),c.showLabelBackdrop){t.font=l.string,o=t.measureText(r.label).width,t.fillStyle=c.backdropColor;const e=(0,i.C)(c.backdropPadding);t.fillRect(-o/2-e.left,-s-l.size/2-e.top,o+e.width,l.size+e.height)}(0,i.X)(t,r.label,0,-s,l,{color:c.color})})),t.restore()}drawTitle(){}}Bn.id="radialLinear",Bn.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Mt.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},Bn.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Bn.descriptors={angleLines:{_fallback:"grid"}};const Vn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Zn=Object.keys(Vn);function Hn(t,e){return t-e}function Wn(t,e){if((0,i.k)(e))return null;const n=t._adapter,{parser:r,round:s,isoWeekday:o}=t._parseOpts;let a=e;return"function"==typeof r&&(a=r(a)),(0,i.g)(a)||(a="string"==typeof r?n.parse(a,r):n.parse(a)),null===a?null:(s&&(a="week"!==s||!(0,i.q)(o)&&!0!==o?n.startOf(a,s):n.startOf(a,"isoWeek",o)),+a)}function Un(t,e,n,i){const r=Zn.length;for(let s=Zn.indexOf(t);s<r-1;++s){const t=Vn[Zn[s]],r=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((n-e)/(r*t.size))<=i)return Zn[s]}return Zn[r-1]}function $n(t,e,n){if(n){if(n.length){const{lo:r,hi:s}=(0,i.aK)(n,e);t[n[r]>=e?n[r]:n[s]]=!0}}else t[e]=!0}function Gn(t,e,n){const i=[],r={},s=e.length;let o,a;for(o=0;o<s;++o)a=e[o],r[a]=o,i.push({value:a,major:!1});return 0!==s&&n?function(t,e,n,i){const r=t._adapter,s=+r.startOf(e[0].value,i),o=e[e.length-1].value;let a,c;for(a=s;a<=o;a=+r.add(a,1,i))c=n[a],c>=0&&(e[c].major=!0);return e}(t,i,r,n):i}class Jn extends It{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const n=t.time||(t.time={}),r=this._adapter=new V._date(t.adapters.date);(0,i.a9)(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Wn(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,n=t.time.unit||"day";let{min:r,max:s,minDefined:o,maxDefined:a}=this.getUserBounds();function c(t){o||isNaN(t.min)||(r=Math.min(r,t.min)),a||isNaN(t.max)||(s=Math.max(s,t.max))}o&&a||(c(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||c(this.getMinMax(!1))),r=(0,i.g)(r)&&!isNaN(r)?r:+e.startOf(Date.now(),n),s=(0,i.g)(s)&&!isNaN(s)?s:+e.endOf(Date.now(),n)+1,this.min=Math.min(r,s-1),this.max=Math.max(r+1,s)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}buildTicks(){const t=this.options,e=t.time,n=t.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const s=this.min,o=this.max,a=(0,i.aJ)(r,s,o);return this._unit=e.unit||(n.autoSkip?Un(e.minUnit,this.min,this.max,this._getLabelCapacity(s)):function(t,e,n,i,r){for(let s=Zn.length-1;s>=Zn.indexOf(n);s--){const n=Zn[s];if(Vn[n].common&&t._adapter.diff(r,i,n)>=e-1)return n}return Zn[n?Zn.indexOf(n):0]}(this,a.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(t){for(let e=Zn.indexOf(t)+1,n=Zn.length;e<n;++e)if(Vn[Zn[e]].common)return Zn[e]}(this._unit):void 0,this.initOffsets(r),t.reverse&&a.reverse(),Gn(this,a,this._majorUnit)}initOffsets(t){let e,n,r=0,s=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),r=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,n=this.getDecimalForValue(t[t.length-1]),s=1===t.length?n:(n-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;r=(0,i.w)(r,0,o),s=(0,i.w)(s,0,o),this._offsets={start:r,end:s,factor:1/(r+1+s)}}_generate(){const t=this._adapter,e=this.min,n=this.max,r=this.options,s=r.time,o=s.unit||Un(s.minUnit,e,n,this._getLabelCapacity(e)),a=(0,i.v)(s.stepSize,1),c="week"===o&&s.isoWeekday,l=(0,i.q)(c)||!0===c,h={};let u,d,p=e;if(l&&(p=+t.startOf(p,"isoWeek",c)),p=+t.startOf(p,l?"day":o),t.diff(n,e,o)>1e5*a)throw new Error(e+" and "+n+" are too far apart with stepSize of "+a+" "+o);const f="data"===r.ticks.source&&this.getDataTimestamps();for(u=p,d=0;u<n;u=+t.add(u,a,o),d++)$n(h,u,f);return u!==n&&"ticks"!==r.bounds&&1!==d||$n(h,u,f),Object.keys(h).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}_tickFormatFunction(t,e,n,r){const s=this.options,o=s.time.displayFormats,a=this._unit,c=this._majorUnit,l=a&&o[a],h=c&&o[c],u=n[e],d=c&&h&&u&&u.major,p=this._adapter.format(t,r||(d?h:l)),f=s.ticks.callback;return f?(0,i.O)(f,[p,e,n],this):p}generateTickLabels(t){let e,n,i;for(e=0,n=t.length;e<n;++e)i=t[e],i.label=this._tickFormatFunction(i.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+n)*e.factor)}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,n=this.ctx.measureText(t).width,r=(0,i.t)(this.isHorizontal()?e.maxRotation:e.minRotation),s=Math.cos(r),o=Math.sin(r),a=this._resolveTickFontOptions(0).size;return{w:n*s+a*o,h:n*o+a*s}}_getLabelCapacity(t){const e=this.options.time,n=e.displayFormats,i=n[e.unit]||n.millisecond,r=this._tickFormatFunction(t,0,Gn(this,[t],this._majorUnit),i),s=this._getLabelSize(r),o=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return o>0?o:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(t=0,e=i.length;t<e;++t)n=n.concat(i[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const t=this._cache.labels||[];let e,n;if(t.length)return t;const i=this.getLabels();for(e=0,n=i.length;e<n;++e)t.push(Wn(this,i[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return(0,i._)(t.sort(Hn))}}function Yn(t,e,n){let r,s,o,a,c=0,l=t.length-1;n?(e>=t[c].pos&&e<=t[l].pos&&({lo:c,hi:l}=(0,i.x)(t,"pos",e)),({pos:r,time:o}=t[c]),({pos:s,time:a}=t[l])):(e>=t[c].time&&e<=t[l].time&&({lo:c,hi:l}=(0,i.x)(t,"time",e)),({time:r,pos:o}=t[c]),({time:s,pos:a}=t[l]));const h=s-r;return h?o+(a-o)*(e-r)/h:o}Jn.id="time",Jn.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class Kn extends Jn{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Yn(e,this.min),this._tableRange=Yn(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:n}=this,i=[],r=[];let s,o,a,c,l;for(s=0,o=t.length;s<o;++s)c=t[s],c>=e&&c<=n&&i.push(c);if(i.length<2)return[{time:e,pos:0},{time:n,pos:1}];for(s=0,o=i.length;s<o;++s)l=i[s+1],a=i[s-1],c=i[s],Math.round((l+a)/2)!==c&&r.push({time:c,pos:s/(o-1)});return r}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),n=this.getLabelTimestamps();return t=e.length&&n.length?this.normalize(e.concat(n)):e.length?e:n,t=this._cache.all=t,t}getDecimalForValue(t){return(Yn(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return Yn(this._table,n*this._tableRange+this._minPos,!0)}}Kn.id="timeseries",Kn.defaults=Jn.defaults;const qn=[z,Re,Sn,Object.freeze({__proto__:null,CategoryScale:En,LinearScale:jn,LogarithmicScale:Tn,RadialLinearScale:Bn,TimeScale:Jn,TimeSeriesScale:Kn})]},8095:function(t,e,n){"use strict";n.d(e,{$:function(){return o},A:function(){return Se},B:function(){return tt},C:function(){return be},D:function(){return x},E:function(){return sn},F:function(){return qe},G:function(){return cn},H:function(){return B},I:function(){return r},J:function(){return an},K:function(){return Ke},L:function(){return H},M:function(){return $},N:function(){return g},O:function(){return v},P:function(){return R},Q:function(){return xe},R:function(){return X},S:function(){return Xt},T:function(){return I},U:function(){return ot},V:function(){return te},W:function(){return re},X:function(){return ce},Y:function(){return se},Z:function(){return ye},_:function(){return je},a:function(){return ve},a0:function(){return a},a1:function(){return Gt},a2:function(){return C},a3:function(){return O},a4:function(){return Jt},a5:function(){return N},a6:function(){return Te},a7:function(){return Oe},a8:function(){return Ne},a9:function(){return E},aA:function(){return mn},aB:function(){return l},aC:function(){return et},aD:function(){return K},aE:function(){return U},aF:function(){return Y},aG:function(){return J},aH:function(){return Q},aI:function(){return Qt},aJ:function(){return Ce},aK:function(){return ke},aa:function(){return h},ab:function(){return s},ac:function(){return on},ad:function(){return ee},ae:function(){return A},af:function(){return _},ag:function(){return D},ah:function(){return at},ai:function(){return fe},aj:function(){return Ye},ak:function(){return kn},al:function(){return xn},am:function(){return hn},an:function(){return un},ao:function(){return ln},ap:function(){return oe},aq:function(){return ae},ar:function(){return ne},as:function(){return he},at:function(){return ge},au:function(){return me},av:function(){return vn},aw:function(){return it},ax:function(){return fn},ay:function(){return gn},az:function(){return c},b:function(){return d},c:function(){return Ut},d:function(){return qt},e:function(){return ut},f:function(){return j},g:function(){return f},h:function(){return _e},i:function(){return p},j:function(){return T},k:function(){return u},l:function(){return Me},m:function(){return b},n:function(){return y},o:function(){return pn},p:function(){return rt},q:function(){return G},r:function(){return i},s:function(){return W},t:function(){return q},u:function(){return Pe},v:function(){return m},w:function(){return st},x:function(){return we},y:function(){return nn},z:function(){return ie}});const i="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function r(t,e,n){const r=n||(t=>Array.prototype.slice.call(t));let s=!1,o=[];return function(...n){o=r(n),s||(s=!0,i.call(window,(()=>{s=!1,t.apply(e,o)})))}}function s(t,e){let n;return function(...i){return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}const o=t=>"start"===t?"left":"end"===t?"right":"center",a=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,c=(t,e,n,i)=>t===(i?"left":"right")?n:"center"===t?(e+n)/2:e;function l(){}const h=function(){let t=0;return function(){return t++}}();function u(t){return null==t}function d(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function p(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const f=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function g(t,e){return f(t)?t:e}function m(t,e){return void 0===t?e:t}const b=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,y=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function v(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)}function x(t,e,n,i){let r,s,o;if(d(t))if(s=t.length,i)for(r=s-1;r>=0;r--)e.call(n,t[r],r);else for(r=0;r<s;r++)e.call(n,t[r],r);else if(p(t))for(o=Object.keys(t),s=o.length,r=0;r<s;r++)e.call(n,t[o[r]],o[r])}function _(t,e){let n,i,r,s;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(r=t[n],s=e[n],r.datasetIndex!==s.datasetIndex||r.index!==s.index)return!1;return!0}function k(t){if(d(t))return t.map(k);if(p(t)){const e=Object.create(null),n=Object.keys(t),i=n.length;let r=0;for(;r<i;++r)e[n[r]]=k(t[n[r]]);return e}return t}function w(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function S(t,e,n,i){if(!w(t))return;const r=e[t],s=n[t];p(r)&&p(s)?C(r,s,i):e[t]=k(s)}function C(t,e,n){const i=d(e)?e:[e],r=i.length;if(!p(t))return t;const s=(n=n||{}).merger||S;for(let o=0;o<r;++o){if(!p(e=i[o]))continue;const r=Object.keys(e);for(let i=0,o=r.length;i<o;++i)s(r[i],t,e,n)}return t}function E(t,e){return C(t,e,{merger:M})}function M(t,e,n){if(!w(t))return;const i=e[t],r=n[t];p(i)&&p(r)?E(i,r):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=k(r))}function P(t,e){const n=t.indexOf(".",e);return-1===n?t.length:n}function j(t,e){if(""===e)return t;let n=0,i=P(e,n);for(;t&&i>n;)t=t[e.substr(n,i-n)],n=i+1,i=P(e,n);return t}function O(t){return t.charAt(0).toUpperCase()+t.slice(1)}const T=t=>void 0!==t,N=t=>"function"==typeof t,A=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function D(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const R=Math.PI,I=2*R,L=I+R,z=Number.POSITIVE_INFINITY,F=R/180,B=R/2,V=R/4,Z=2*R/3,H=Math.log10,W=Math.sign;function U(t){const e=Math.round(t);t=J(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(H(t))),i=t/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function $(t){const e=[],n=Math.sqrt(t);let i;for(i=1;i<n;i++)t%i==0&&(e.push(i),e.push(t/i));return n===(0|n)&&e.push(n),e.sort(((t,e)=>t-e)).pop(),e}function G(t){return!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e,n){return Math.abs(t-e)<n}function Y(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function K(t,e,n){let i,r,s;for(i=0,r=t.length;i<r;i++)s=t[i][n],isNaN(s)||(e.min=Math.min(e.min,s),e.max=Math.max(e.max,s))}function q(t){return t*(R/180)}function X(t){return t*(180/R)}function Q(t){if(!f(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function tt(t,e){const n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i);let s=Math.atan2(i,n);return s<-.5*R&&(s+=I),{angle:s,distance:r}}function et(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function nt(t,e){return(t-e+L)%I-R}function it(t){return(t%I+I)%I}function rt(t,e,n,i){const r=it(t),s=it(e),o=it(n),a=it(s-r),c=it(o-r),l=it(r-s),h=it(r-o);return r===s||r===o||i&&s===o||a>c&&l<h}function st(t,e,n){return Math.max(e,Math.min(n,t))}function ot(t){return st(t,-32768,32767)}function at(t,e,n,i=1e-6){return t>=Math.min(e,n)-i&&t<=Math.max(e,n)+i}const ct=t=>0===t||1===t,lt=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*I/n),ht=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*I/n)+1,ut={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*B),easeOutSine:t=>Math.sin(t*B),easeInOutSine:t=>-.5*(Math.cos(R*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>ct(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>ct(t)?t:lt(t,.075,.3),easeOutElastic:t=>ct(t)?t:ht(t,.075,.3),easeInOutElastic(t){const e=.1125;return ct(t)?t:t<.5?.5*lt(2*t,e,.45):.5+.5*ht(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-ut.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*ut.easeInBounce(2*t):.5*ut.easeOutBounce(2*t-1)+.5},dt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},pt="0123456789ABCDEF",ft=t=>pt[15&t],gt=t=>pt[(240&t)>>4]+pt[15&t],mt=t=>(240&t)>>4==(15&t);function bt(t){var e=function(t){return mt(t.r)&&mt(t.g)&&mt(t.b)&&mt(t.a)}(t)?ft:gt;return t?"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):""):t}function yt(t){return t+.5|0}const vt=(t,e,n)=>Math.max(Math.min(t,n),e);function xt(t){return vt(yt(2.55*t),0,255)}function _t(t){return vt(yt(255*t),0,255)}function kt(t){return vt(yt(t/2.55)/100,0,1)}function wt(t){return vt(yt(100*t),0,100)}const St=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Ct=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Et(t,e,n){const i=e*Math.min(n,1-n),r=(e,r=(e+t/30)%12)=>n-i*Math.max(Math.min(r-3,9-r,1),-1);return[r(0),r(8),r(4)]}function Mt(t,e,n){const i=(i,r=(i+t/60)%6)=>n-n*e*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function Pt(t,e,n){const i=Et(t,1,.5);let r;for(e+n>1&&(r=1/(e+n),e*=r,n*=r),r=0;r<3;r++)i[r]*=1-e-n,i[r]+=e;return i}function jt(t){const e=t.r/255,n=t.g/255,i=t.b/255,r=Math.max(e,n,i),s=Math.min(e,n,i),o=(r+s)/2;let a,c,l;return r!==s&&(l=r-s,c=o>.5?l/(2-r-s):l/(r+s),a=r===e?(n-i)/l+(n<i?6:0):r===n?(i-e)/l+2:(e-n)/l+4,a=60*a+.5),[0|a,c||0,o]}function Ot(t,e,n,i){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,i)).map(_t)}function Tt(t,e,n){return Ot(Et,t,e,n)}function Nt(t){return(t%360+360)%360}function At(t){const e=Ct.exec(t);let n,i=255;if(!e)return;e[5]!==n&&(i=e[6]?xt(+e[5]):_t(+e[5]));const r=Nt(+e[2]),s=+e[3]/100,o=+e[4]/100;return n="hwb"===e[1]?function(t,e,n){return Ot(Pt,t,e,n)}(r,s,o):"hsv"===e[1]?function(t,e,n){return Ot(Mt,t,e,n)}(r,s,o):Tt(r,s,o),{r:n[0],g:n[1],b:n[2],a:i}}const Dt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Rt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let It;function Lt(t){It||(It=function(){const t={},e=Object.keys(Rt),n=Object.keys(Dt);let i,r,s,o,a;for(i=0;i<e.length;i++){for(o=a=e[i],r=0;r<n.length;r++)s=n[r],a=a.replace(s,Dt[s]);s=parseInt(Rt[o],16),t[a]=[s>>16&255,s>>8&255,255&s]}return t}(),It.transparent=[0,0,0,0]);const e=It[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function zt(t,e,n){if(t){let i=jt(t);i[e]=Math.max(0,Math.min(i[e]+i[e]*n,0===e?360:1)),i=Tt(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function Ft(t,e){return t?Object.assign(e||{},t):t}function Bt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=_t(t[3]))):(e=Ft(t,{r:0,g:0,b:0,a:1})).a=_t(e.a),e}function Vt(t){return"r"===t.charAt(0)?function(t){const e=St.exec(t);let n,i,r,s=255;if(e){if(e[7]!==n){const t=+e[7];s=255&(e[8]?xt(t):255*t)}return n=+e[1],i=+e[3],r=+e[5],n=255&(e[2]?xt(n):n),i=255&(e[4]?xt(i):i),r=255&(e[6]?xt(r):r),{r:n,g:i,b:r,a:s}}}(t):At(t)}class Zt{constructor(t){if(t instanceof Zt)return t;const e=typeof t;let n;var i,r,s;"object"===e?n=Bt(t):"string"===e&&(s=(i=t).length,"#"===i[0]&&(4===s||5===s?r={r:255&17*dt[i[1]],g:255&17*dt[i[2]],b:255&17*dt[i[3]],a:5===s?17*dt[i[4]]:255}:7!==s&&9!==s||(r={r:dt[i[1]]<<4|dt[i[2]],g:dt[i[3]]<<4|dt[i[4]],b:dt[i[5]]<<4|dt[i[6]],a:9===s?dt[i[7]]<<4|dt[i[8]]:255})),n=r||Lt(t)||Vt(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=Ft(this._rgb);return t&&(t.a=kt(t.a)),t}set rgb(t){this._rgb=Bt(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${kt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):this._rgb;var t}hexString(){return this._valid?bt(this._rgb):this._rgb}hslString(){return this._valid?function(t){if(!t)return;const e=jt(t),n=e[0],i=wt(e[1]),r=wt(e[2]);return t.a<255?`hsla(${n}, ${i}%, ${r}%, ${kt(t.a)})`:`hsl(${n}, ${i}%, ${r}%)`}(this._rgb):this._rgb}mix(t,e){const n=this;if(t){const i=n.rgb,r=t.rgb;let s;const o=e===s?.5:e,a=2*o-1,c=i.a-r.a,l=((a*c==-1?a:(a+c)/(1+a*c))+1)/2;s=1-l,i.r=255&l*i.r+s*r.r+.5,i.g=255&l*i.g+s*r.g+.5,i.b=255&l*i.b+s*r.b+.5,i.a=o*i.a+(1-o)*r.a,n.rgb=i}return n}clone(){return new Zt(this.rgb)}alpha(t){return this._rgb.a=_t(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=yt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return zt(this._rgb,2,t),this}darken(t){return zt(this._rgb,2,-t),this}saturate(t){return zt(this._rgb,1,t),this}desaturate(t){return zt(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=jt(t);n[0]=Nt(n[0]+e),n=Tt(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function Ht(t){return new Zt(t)}const Wt=t=>t instanceof CanvasGradient||t instanceof CanvasPattern;function Ut(t){return Wt(t)?t:Ht(t)}function $t(t){return Wt(t)?t:Ht(t).saturate(.5).darken(.1).hexString()}const Gt=Object.create(null),Jt=Object.create(null);function Yt(t,e){if(!e)return t;const n=e.split(".");for(let e=0,i=n.length;e<i;++e){const i=n[e];t=t[i]||(t[i]=Object.create(null))}return t}function Kt(t,e,n){return"string"==typeof e?C(Yt(t,e),n):C(Yt(t,""),e)}var qt=new class{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>$t(e.backgroundColor),this.hoverBorderColor=(t,e)=>$t(e.borderColor),this.hoverColor=(t,e)=>$t(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return Kt(this,t,e)}get(t){return Yt(this,t)}describe(t,e){return Kt(Jt,t,e)}override(t,e){return Kt(Gt,t,e)}route(t,e,n,i){const r=Yt(this,t),s=Yt(this,n),o="_"+e;Object.defineProperties(r,{[o]:{value:r[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[o],e=s[i];return p(t)?Object.assign({},e,t):m(t,e)},set(t){this[o]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Xt(t,e,n,i,r){let s=e[r];return s||(s=e[r]=t.measureText(r).width,n.push(r)),s>i&&(i=s),i}function Qt(t,e,n,i){let r=(i=i||{}).data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},s=i.garbageCollect=[],i.font=e),t.save(),t.font=e;let o=0;const a=n.length;let c,l,h,u,p;for(c=0;c<a;c++)if(u=n[c],null!=u&&!0!==d(u))o=Xt(t,r,s,o,u);else if(d(u))for(l=0,h=u.length;l<h;l++)p=u[l],null==p||d(p)||(o=Xt(t,r,s,o,p));t.restore();const f=s.length/2;if(f>n.length){for(c=0;c<f;c++)delete r[s[c]];s.splice(0,f)}return o}function te(t,e,n){const i=t.currentDevicePixelRatio,r=0!==n?Math.max(n/2,.5):0;return Math.round((e-r)*i)/i+r}function ee(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function ne(t,e,n,i){let r,s,o,a,c;const l=e.pointStyle,h=e.rotation,u=e.radius;let d=(h||0)*F;if(l&&"object"==typeof l&&(r=l.toString(),"[object HTMLImageElement]"===r||"[object HTMLCanvasElement]"===r))return t.save(),t.translate(n,i),t.rotate(d),t.drawImage(l,-l.width/2,-l.height/2,l.width,l.height),void t.restore();if(!(isNaN(u)||u<=0)){switch(t.beginPath(),l){default:t.arc(n,i,u,0,I),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(d)*u,i-Math.cos(d)*u),d+=Z,t.lineTo(n+Math.sin(d)*u,i-Math.cos(d)*u),d+=Z,t.lineTo(n+Math.sin(d)*u,i-Math.cos(d)*u),t.closePath();break;case"rectRounded":c=.516*u,a=u-c,s=Math.cos(d+V)*a,o=Math.sin(d+V)*a,t.arc(n-s,i-o,c,d-R,d-B),t.arc(n+o,i-s,c,d-B,d),t.arc(n+s,i+o,c,d,d+B),t.arc(n-o,i+s,c,d+B,d+R),t.closePath();break;case"rect":if(!h){a=Math.SQRT1_2*u,t.rect(n-a,i-a,2*a,2*a);break}d+=V;case"rectRot":s=Math.cos(d)*u,o=Math.sin(d)*u,t.moveTo(n-s,i-o),t.lineTo(n+o,i-s),t.lineTo(n+s,i+o),t.lineTo(n-o,i+s),t.closePath();break;case"crossRot":d+=V;case"cross":s=Math.cos(d)*u,o=Math.sin(d)*u,t.moveTo(n-s,i-o),t.lineTo(n+s,i+o),t.moveTo(n+o,i-s),t.lineTo(n-o,i+s);break;case"star":s=Math.cos(d)*u,o=Math.sin(d)*u,t.moveTo(n-s,i-o),t.lineTo(n+s,i+o),t.moveTo(n+o,i-s),t.lineTo(n-o,i+s),d+=V,s=Math.cos(d)*u,o=Math.sin(d)*u,t.moveTo(n-s,i-o),t.lineTo(n+s,i+o),t.moveTo(n+o,i-s),t.lineTo(n-o,i+s);break;case"line":s=Math.cos(d)*u,o=Math.sin(d)*u,t.moveTo(n-s,i-o),t.lineTo(n+s,i+o);break;case"dash":t.moveTo(n,i),t.lineTo(n+Math.cos(d)*u,i+Math.sin(d)*u)}t.fill(),e.borderWidth>0&&t.stroke()}}function ie(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function re(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function se(t){t.restore()}function oe(t,e,n,i,r){if(!e)return t.lineTo(n.x,n.y);if("middle"===r){const i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else"after"===r!=!!i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function ae(t,e,n,i){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(i?e.cp1x:e.cp2x,i?e.cp1y:e.cp2y,i?n.cp2x:n.cp1x,i?n.cp2y:n.cp1y,n.x,n.y)}function ce(t,e,n,i,r,s={}){const o=d(e)?e:[e],a=s.strokeWidth>0&&""!==s.strokeColor;let c,l;for(t.save(),t.font=r.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);u(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,s),c=0;c<o.length;++c)l=o[c],a&&(s.strokeColor&&(t.strokeStyle=s.strokeColor),u(s.strokeWidth)||(t.lineWidth=s.strokeWidth),t.strokeText(l,n,i,s.maxWidth)),t.fillText(l,n,i,s.maxWidth),le(t,n,i,l,s),i+=r.lineHeight;t.restore()}function le(t,e,n,i,r){if(r.strikethrough||r.underline){const s=t.measureText(i),o=e-s.actualBoundingBoxLeft,a=e+s.actualBoundingBoxRight,c=n-s.actualBoundingBoxAscent,l=n+s.actualBoundingBoxDescent,h=r.strikethrough?(c+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=r.decorationWidth||2,t.moveTo(o,h),t.lineTo(a,h),t.stroke()}}function he(t,e){const{x:n,y:i,w:r,h:s,radius:o}=e;t.arc(n+o.topLeft,i+o.topLeft,o.topLeft,-B,R,!0),t.lineTo(n,i+s-o.bottomLeft),t.arc(n+o.bottomLeft,i+s-o.bottomLeft,o.bottomLeft,R,B,!0),t.lineTo(n+r-o.bottomRight,i+s),t.arc(n+r-o.bottomRight,i+s-o.bottomRight,o.bottomRight,B,0,!0),t.lineTo(n+r,i+o.topRight),t.arc(n+r-o.topRight,i+o.topRight,o.topRight,0,-B,!0),t.lineTo(n+o.topLeft,i)}const ue=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),de=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function pe(t,e){const n=(""+t).match(ue);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t}function fe(t,e){const n={},i=p(e),r=i?Object.keys(e):e,s=p(t)?i?n=>m(t[n],t[e[n]]):e=>t[e]:()=>t;for(const t of r)n[t]=+s(t)||0;return n}function ge(t){return fe(t,{top:"y",right:"x",bottom:"y",left:"x"})}function me(t){return fe(t,["topLeft","topRight","bottomLeft","bottomRight"])}function be(t){const e=ge(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function ye(t,e){t=t||{},e=e||qt.font;let n=m(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let i=m(t.style,e.style);i&&!(""+i).match(de)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const r={family:m(t.family,e.family),lineHeight:pe(m(t.lineHeight,e.lineHeight),n),size:n,style:i,weight:m(t.weight,e.weight),string:""};return r.string=function(t){return!t||u(t.size)||u(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(r),r}function ve(t,e,n,i){let r,s,o,a=!0;for(r=0,s=t.length;r<s;++r)if(o=t[r],void 0!==o&&(void 0!==e&&"function"==typeof o&&(o=o(e),a=!1),void 0!==n&&d(o)&&(o=o[n%o.length],a=!1),void 0!==o))return i&&!a&&(i.cacheable=!1),o}function xe(t,e,n){const{min:i,max:r}=t,s=y(e,(r-i)/2),o=(t,e)=>n&&0===t?0:t+e;return{min:o(i,-Math.abs(s)),max:o(r,s)}}function _e(t,e){return Object.assign(Object.create(t),e)}function ke(t,e,n){n=n||(n=>t[n]<e);let i,r=t.length-1,s=0;for(;r-s>1;)i=s+r>>1,n(i)?s=i:r=i;return{lo:s,hi:r}}const we=(t,e,n)=>ke(t,n,(i=>t[i][e]<n)),Se=(t,e,n)=>ke(t,n,(i=>t[i][e]>=n));function Ce(t,e,n){let i=0,r=t.length;for(;i<r&&t[i]<e;)i++;for(;r>i&&t[r-1]>n;)r--;return i>0||r<t.length?t.slice(i,r):t}const Ee=["push","pop","shift","splice","unshift"];function Me(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Ee.forEach((e=>{const n="_onData"+O(e),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const r=i.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[n]&&t[n](...e)})),r}})})))}function Pe(t,e){const n=t._chartjs;if(!n)return;const i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(Ee.forEach((e=>{delete t[e]})),delete t._chartjs)}function je(t){const e=new Set;let n,i;for(n=0,i=t.length;n<i;++n)e.add(t[n]);return e.size===i?t:Array.from(e)}function Oe(t,e=[""],n=t,i,r=(()=>t[0])){T(i)||(i=Ve("_fallback",t));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:i,_getTarget:r,override:r=>Oe([r,...t],e,n,i)};return new Proxy(s,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,i)=>Re(n,i,(()=>function(t,e,n,i){let r;for(const s of e)if(r=Ve(Ae(s,t),n),T(r))return De(t,r)?Fe(n,i,t,r):r}(i,e,t,n))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Ze(t).includes(e),ownKeys:t=>Ze(t),set(t,e,n){const i=t._storage||(t._storage=r());return t[e]=i[e]=n,delete t._keys,!0}})}function Te(t,e,n,i){const r={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Ne(t,i),setContext:e=>Te(t,e,n,i),override:r=>Te(t.override(r),e,n,i)};return new Proxy(r,{deleteProperty:(e,n)=>(delete e[n],delete t[n],!0),get:(t,e,n)=>Re(t,e,(()=>function(t,e,n){const{_proxy:i,_context:r,_subProxy:s,_descriptors:o}=t;let a=i[e];N(a)&&o.isScriptable(e)&&(a=function(t,e,n,i){const{_proxy:r,_context:s,_subProxy:o,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t),e=e(s,o||i),a.delete(t),De(t,e)&&(e=Fe(r._scopes,r,t,e));return e}(e,a,t,n));d(a)&&a.length&&(a=function(t,e,n,i){const{_proxy:r,_context:s,_subProxy:o,_descriptors:a}=n;if(T(s.index)&&i(t))e=e[s.index%e.length];else if(p(e[0])){const n=e,i=r._scopes.filter((t=>t!==n));e=[];for(const c of n){const n=Fe(i,r,t,c);e.push(Te(n,s,o&&o[t],a))}}return e}(e,a,t,o.isIndexable));De(e,a)&&(a=Te(a,r,s&&s[e],o));return a}(t,e,n))),getOwnPropertyDescriptor:(e,n)=>e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,n)=>Reflect.has(t,n),ownKeys:()=>Reflect.ownKeys(t),set:(e,n,i)=>(t[n]=i,delete e[n],!0)})}function Ne(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:i=e.indexable,_allKeys:r=e.allKeys}=t;return{allKeys:r,scriptable:n,indexable:i,isScriptable:N(n)?n:()=>n,isIndexable:N(i)?i:()=>i}}const Ae=(t,e)=>t?t+O(e):e,De=(t,e)=>p(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Re(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const i=n();return t[e]=i,i}function Ie(t,e,n){return N(t)?t(e,n):t}const Le=(t,e)=>!0===t?e:"string"==typeof t?j(e,t):void 0;function ze(t,e,n,i,r){for(const s of e){const e=Le(n,s);if(e){t.add(e);const s=Ie(e._fallback,n,r);if(T(s)&&s!==n&&s!==i)return s}else if(!1===e&&T(i)&&n!==i)return null}return!1}function Fe(t,e,n,i){const r=e._rootScopes,s=Ie(e._fallback,n,i),o=[...t,...r],a=new Set;a.add(i);let c=Be(a,o,n,s||n,i);return null!==c&&((!T(s)||s===n||(c=Be(a,o,s,c,i),null!==c))&&Oe(Array.from(a),[""],r,s,(()=>function(t,e,n){const i=t._getTarget();e in i||(i[e]={});const r=i[e];if(d(r)&&p(n))return n;return r}(e,n,i))))}function Be(t,e,n,i,r){for(;n;)n=ze(t,e,n,i,r);return n}function Ve(t,e){for(const n of e){if(!n)continue;const e=n[t];if(T(e))return e}}function Ze(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}const He=Number.EPSILON||1e-14,We=(t,e)=>e<t.length&&!t[e].skip&&t[e],Ue=t=>"x"===t?"y":"x";function $e(t,e,n,i){const r=t.skip?e:t,s=e,o=n.skip?e:n,a=et(s,r),c=et(o,s);let l=a/(a+c),h=c/(a+c);l=isNaN(l)?0:l,h=isNaN(h)?0:h;const u=i*l,d=i*h;return{previous:{x:s.x-u*(o.x-r.x),y:s.y-u*(o.y-r.y)},next:{x:s.x+d*(o.x-r.x),y:s.y+d*(o.y-r.y)}}}function Ge(t,e="x"){const n=Ue(e),i=t.length,r=Array(i).fill(0),s=Array(i);let o,a,c,l=We(t,0);for(o=0;o<i;++o)if(a=c,c=l,l=We(t,o+1),c){if(l){const t=l[e]-c[e];r[o]=0!==t?(l[n]-c[n])/t:0}s[o]=a?l?W(r[o-1])!==W(r[o])?0:(r[o-1]+r[o])/2:r[o-1]:r[o]}!function(t,e,n){const i=t.length;let r,s,o,a,c,l=We(t,0);for(let h=0;h<i-1;++h)c=l,l=We(t,h+1),c&&l&&(J(e[h],0,He)?n[h]=n[h+1]=0:(r=n[h]/e[h],s=n[h+1]/e[h],a=Math.pow(r,2)+Math.pow(s,2),a<=9||(o=3/Math.sqrt(a),n[h]=r*o*e[h],n[h+1]=s*o*e[h])))}(t,r,s),function(t,e,n="x"){const i=Ue(n),r=t.length;let s,o,a,c=We(t,0);for(let l=0;l<r;++l){if(o=a,a=c,c=We(t,l+1),!a)continue;const r=a[n],h=a[i];o&&(s=(r-o[n])/3,a[`cp1${n}`]=r-s,a[`cp1${i}`]=h-s*e[l]),c&&(s=(c[n]-r)/3,a[`cp2${n}`]=r+s,a[`cp2${i}`]=h+s*e[l])}}(t,s,e)}function Je(t,e,n){return Math.max(Math.min(t,n),e)}function Ye(t,e,n,i,r){let s,o,a,c;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)Ge(t,r);else{let n=i?t[t.length-1]:t[0];for(s=0,o=t.length;s<o;++s)a=t[s],c=$e(n,a,t[Math.min(s+1,o-(i?0:1))%o],e.tension),a.cp1x=c.previous.x,a.cp1y=c.previous.y,a.cp2x=c.next.x,a.cp2y=c.next.y,n=a}e.capBezierPoints&&function(t,e){let n,i,r,s,o,a=ie(t[0],e);for(n=0,i=t.length;n<i;++n)o=s,s=a,a=n<i-1&&ie(t[n+1],e),s&&(r=t[n],o&&(r.cp1x=Je(r.cp1x,e.left,e.right),r.cp1y=Je(r.cp1y,e.top,e.bottom)),a&&(r.cp2x=Je(r.cp2x,e.left,e.right),r.cp2y=Je(r.cp2y,e.top,e.bottom)))}(t,n)}function Ke(){return"undefined"!=typeof window&&"undefined"!=typeof document}function qe(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function Xe(t,e,n){let i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}const Qe=t=>window.getComputedStyle(t,null);const tn=["top","right","bottom","left"];function en(t,e,n){const i={};n=n?"-"+n:"";for(let r=0;r<4;r++){const s=tn[r];i[s]=parseFloat(t[e+"-"+s+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function nn(t,e){const{canvas:n,currentDevicePixelRatio:i}=e,r=Qe(n),s="border-box"===r.boxSizing,o=en(r,"padding"),a=en(r,"border","width"),{x:c,y:l,box:h}=function(t,e){const n=t.native||t,i=n.touches,r=i&&i.length?i[0]:n,{offsetX:s,offsetY:o}=r;let a,c,l=!1;if(((t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot))(s,o,n.target))a=s,c=o;else{const t=e.getBoundingClientRect();a=r.clientX-t.left,c=r.clientY-t.top,l=!0}return{x:a,y:c,box:l}}(t,n),u=o.left+(h&&a.left),d=o.top+(h&&a.top);let{width:p,height:f}=e;return s&&(p-=o.width+a.width,f-=o.height+a.height),{x:Math.round((c-u)/p*n.width/i),y:Math.round((l-d)/f*n.height/i)}}const rn=t=>Math.round(10*t)/10;function sn(t,e,n,i){const r=Qe(t),s=en(r,"margin"),o=Xe(r.maxWidth,t,"clientWidth")||z,a=Xe(r.maxHeight,t,"clientHeight")||z,c=function(t,e,n){let i,r;if(void 0===e||void 0===n){const s=qe(t);if(s){const t=s.getBoundingClientRect(),o=Qe(s),a=en(o,"border","width"),c=en(o,"padding");e=t.width-c.width-a.width,n=t.height-c.height-a.height,i=Xe(o.maxWidth,s,"clientWidth"),r=Xe(o.maxHeight,s,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:i||z,maxHeight:r||z}}(t,e,n);let{width:l,height:h}=c;if("content-box"===r.boxSizing){const t=en(r,"border","width"),e=en(r,"padding");l-=e.width+t.width,h-=e.height+t.height}return l=Math.max(0,l-s.width),h=Math.max(0,i?Math.floor(l/i):h-s.height),l=rn(Math.min(l,o,c.maxWidth)),h=rn(Math.min(h,a,c.maxHeight)),l&&!h&&(h=rn(l/2)),{width:l,height:h}}function on(t,e,n){const i=e||1,r=Math.floor(t.height*i),s=Math.floor(t.width*i);t.height=r/i,t.width=s/i;const o=t.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${t.height}px`,o.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==i||o.height!==r||o.width!==s)&&(t.currentDevicePixelRatio=i,o.height=r,o.width=s,t.ctx.setTransform(i,0,0,i,0,0),!0)}const an=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function cn(t,e){const n=function(t,e){return Qe(t).getPropertyValue(e)}(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function ln(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function hn(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:"middle"===i?n<.5?t.y:e.y:"after"===i?n<1?t.y:e.y:n>0?e.y:t.y}}function un(t,e,n,i){const r={x:t.cp2x,y:t.cp2y},s={x:e.cp1x,y:e.cp1y},o=ln(t,r,n),a=ln(r,s,n),c=ln(s,e,n),l=ln(o,a,n),h=ln(a,c,n);return ln(l,h,n)}const dn=new Map;function pn(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let i=dn.get(n);return i||(i=new Intl.NumberFormat(t,e),dn.set(n,i)),i}(e,n).format(t)}function fn(t,e,n){return t?function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,n):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function gn(t,e){let n,i;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function mn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function bn(t){return"angle"===t?{between:rt,compare:nt,normalize:it}:{between:at,compare:(t,e)=>t-e,normalize:t=>t}}function yn({start:t,end:e,count:n,loop:i,style:r}){return{start:t%n,end:e%n,loop:i&&(e-t+1)%n==0,style:r}}function vn(t,e,n){if(!n)return[t];const{property:i,start:r,end:s}=n,o=e.length,{compare:a,between:c,normalize:l}=bn(i),{start:h,end:u,loop:d,style:p}=function(t,e,n){const{property:i,start:r,end:s}=n,{between:o,normalize:a}=bn(i),c=e.length;let l,h,{start:u,end:d,loop:p}=t;if(p){for(u+=c,d+=c,l=0,h=c;l<h&&o(a(e[u%c][i]),r,s);++l)u--,d--;u%=c,d%=c}return d<u&&(d+=c),{start:u,end:d,loop:p,style:t.style}}(t,e,n),f=[];let g,m,b,y=!1,v=null;const x=()=>y||c(r,b,g)&&0!==a(r,b),_=()=>!y||0===a(s,g)||c(s,b,g);for(let t=h,n=h;t<=u;++t)m=e[t%o],m.skip||(g=l(m[i]),g!==b&&(y=c(g,r,s),null===v&&x()&&(v=0===a(g,r)?t:n),null!==v&&_()&&(f.push(yn({start:v,end:t,loop:d,count:o,style:p})),v=null),n=t,b=g));return null!==v&&f.push(yn({start:v,end:u,loop:d,count:o,style:p})),f}function xn(t,e){const n=[],i=t.segments;for(let r=0;r<i.length;r++){const s=vn(i[r],t.points,e);s.length&&n.push(...s)}return n}function kn(t,e){const n=t.points,i=t.options.spanGaps,r=n.length;if(!r)return[];const s=!!t._loop,{start:o,end:a}=function(t,e,n,i){let r=0,s=e-1;if(n&&!i)for(;r<e&&!t[r].skip;)r++;for(;r<e&&t[r].skip;)r++;for(r%=e,n&&(s+=r);s>r&&t[s%e].skip;)s--;return s%=e,{start:r,end:s}}(n,r,s,i);if(!0===i)return wn(t,[{start:o,end:a,loop:s}],n,e);return wn(t,function(t,e,n,i){const r=t.length,s=[];let o,a=e,c=t[e];for(o=e+1;o<=n;++o){const n=t[o%r];n.skip||n.stop?c.skip||(i=!1,s.push({start:e%r,end:(o-1)%r,loop:i}),e=a=n.stop?o:null):(a=o,c.skip&&(e=o)),c=n}return null!==a&&s.push({start:e%r,end:a%r,loop:i}),s}(n,o,a<o?a+r:a,!!t._fullLoop&&0===o&&a===r-1),n,e)}function wn(t,e,n,i){return i&&i.setContext&&n?function(t,e,n,i){const r=t._chart.getContext(),s=Sn(t.options),{_datasetIndex:o,options:{spanGaps:a}}=t,c=n.length,l=[];let h=s,u=e[0].start,d=u;function p(t,e,i,r){const s=a?-1:1;if(t!==e){for(t+=c;n[t%c].skip;)t-=s;for(;n[e%c].skip;)e+=s;t%c!=e%c&&(l.push({start:t%c,end:e%c,loop:i,style:r}),h=r,u=e%c)}}for(const t of e){u=a?u:t.start;let e,s=n[u%c];for(d=u+1;d<=t.end;d++){const a=n[d%c];e=Sn(i.setContext(_e(r,{type:"segment",p0:s,p1:a,p0DataIndex:(d-1)%c,p1DataIndex:d%c,datasetIndex:o}))),Cn(e,h)&&p(u,d-1,t.loop,h),s=a,h=e}u<d-1&&p(u,d-1,t.loop,h)}return l}(t,e,n,i):e}function Sn(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Cn(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}},5235:function(t,e){var n;!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var s=typeof n;if("string"===s||"number"===s)t.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&t.push(o)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var a in n)i.call(n,a)&&n[a]&&t.push(a);else t.push(n.toString())}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(n=function(){return r}.apply(e,[]))||(t.exports=n)}()},6198:function(t,e,n){var i=n(1210),r=n(5006),s=n(7232),o=i.TypeError;t.exports=function(t){if(r(t))return t;throw o(s(t)+" is not a function")}},1938:function(t,e,n){var i=n(1210),r=n(5006),s=i.String,o=i.TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw o("Can't set "+s(t)+" as a prototype")}},8987:function(t,e,n){var i=n(8875),r=n(42),s=n(2016),o=i("unscopables"),a=Array.prototype;null==a[o]&&s.f(a,o,{configurable:!0,value:r(null)}),t.exports=function(t){a[o][t]=!0}},3794:function(t,e,n){var i=n(1210),r=n(2702),s=i.String,o=i.TypeError;t.exports=function(t){if(r(t))return t;throw o(s(t)+" is not an object")}},8845:function(t,e,n){var i=n(4929),r=n(645),s=n(5570),o=function(t){return function(e,n,o){var a,c=i(e),l=s(c),h=r(o,l);if(t&&n!=n){for(;l>h;)if((a=c[h++])!=a)return!0}else for(;l>h;h++)if((t||h in c)&&c[h]===n)return t||h||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},237:function(t,e,n){var i=n(3715),r=i({}.toString),s=i("".slice);t.exports=function(t){return s(r(t),8,-1)}},5996:function(t,e,n){var i=n(1210),r=n(5165),s=n(5006),o=n(237),a=n(8875)("toStringTag"),c=i.Object,l="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=c(t),a))?n:l?o(e):"Object"==(i=o(e))&&s(e.callee)?"Arguments":i}},7398:function(t,e,n){var i=n(3715),r=Error,s=i("".replace),o=String(r("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);t.exports=function(t,e){if(c&&"string"==typeof t&&!r.prepareStackTrace)for(;e--;)t=s(t,a,"");return t}},1184:function(t,e,n){var i=n(4242),r=n(3496),s=n(4225),o=n(2016);t.exports=function(t,e,n){for(var a=r(e),c=o.f,l=s.f,h=0;h<a.length;h++){var u=a[h];i(t,u)||n&&i(n,u)||c(t,u,l(e,u))}}},5506:function(t,e,n){var i=n(7778),r=n(2016),s=n(9487);t.exports=i?function(t,e,n){return r.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t}},9487:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},1568:function(t,e,n){var i=n(1210),r=n(5006),s=n(5506),o=n(6717),a=n(3071);t.exports=function(t,e,n,c){var l=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,u=!!c&&!!c.noTargetGet,d=c&&void 0!==c.name?c.name:e;return r(n)&&o(n,d,c),t===i?(h?t[e]=n:a(e,n),t):(l?!u&&t[e]&&(h=!0):delete t[e],h?t[e]=n:s(t,e,n),t)}},7778:function(t,e,n){var i=n(4258);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4716:function(t,e,n){var i=n(1210),r=n(2702),s=i.document,o=r(s)&&r(s.createElement);t.exports=function(t){return o?s.createElement(t):{}}},1455:function(t,e,n){var i=n(2265);t.exports=i("navigator","userAgent")||""},6475:function(t,e,n){var i,r,s=n(1210),o=n(1455),a=s.process,c=s.Deno,l=a&&a.versions||c&&c.version,h=l&&l.v8;h&&(r=(i=h.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&o&&(!(i=o.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=o.match(/Chrome\/(\d+)/))&&(r=+i[1]),t.exports=r},9864:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1500:function(t,e,n){var i=n(4258),r=n(9487);t.exports=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},8657:function(t,e,n){var i=n(1210),r=n(4225).f,s=n(5506),o=n(1568),a=n(3071),c=n(1184),l=n(9656);t.exports=function(t,e){var n,h,u,d,p,f=t.target,g=t.global,m=t.stat;if(n=g?i:m?i[f]||a(f,{}):(i[f]||{}).prototype)for(h in e){if(d=e[h],u=t.noTargetGet?(p=r(n,h))&&p.value:n[h],!l(g?h:f+(m?".":"#")+h,t.forced)&&void 0!==u){if(typeof d==typeof u)continue;c(d,u)}(t.sham||u&&u.sham)&&s(d,"sham",!0),o(n,h,d,t)}}},4258:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},9115:function(t,e,n){var i=n(5200),r=Function.prototype,s=r.apply,o=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?o.bind(s):function(){return o.apply(s,arguments)})},5200:function(t,e,n){var i=n(4258);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4264:function(t,e,n){var i=n(5200),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},232:function(t,e,n){var i=n(7778),r=n(4242),s=Function.prototype,o=i&&Object.getOwnPropertyDescriptor,a=r(s,"name"),c=a&&"something"===function(){}.name,l=a&&(!i||i&&o(s,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},3715:function(t,e,n){var i=n(5200),r=Function.prototype,s=r.bind,o=r.call,a=i&&s.bind(o,o);t.exports=i?function(t){return t&&a(t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},2265:function(t,e,n){var i=n(1210),r=n(5006),s=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(i[t]):i[t]&&i[t][e]}},9722:function(t,e,n){var i=n(6198);t.exports=function(t,e){var n=t[e];return null==n?void 0:i(n)}},1210:function(t){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof window&&window)||function(){return this}()||Function("return this")()},4242:function(t,e,n){var i=n(3715),r=n(2103),s=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return s(r(t),e)}},3953:function(t){t.exports={}},2872:function(t,e,n){var i=n(2265);t.exports=i("document","documentElement")},4165:function(t,e,n){var i=n(7778),r=n(4258),s=n(4716);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},600:function(t,e,n){var i=n(1210),r=n(3715),s=n(4258),o=n(237),a=i.Object,c=r("".split);t.exports=s((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?c(t,""):a(t)}:a},8088:function(t,e,n){var i=n(5006),r=n(2702),s=n(2025);t.exports=function(t,e,n){var o,a;return s&&i(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&s(t,a),t}},3667:function(t,e,n){var i=n(3715),r=n(5006),s=n(4434),o=i(Function.toString);r(s.inspectSource)||(s.inspectSource=function(t){return o(t)}),t.exports=s.inspectSource},7793:function(t,e,n){var i=n(2702),r=n(5506);t.exports=function(t,e){i(e)&&"cause"in e&&r(t,"cause",e.cause)}},2406:function(t,e,n){var i,r,s,o=n(4564),a=n(1210),c=n(3715),l=n(2702),h=n(5506),u=n(4242),d=n(4434),p=n(9116),f=n(3953),g="Object already initialized",m=a.TypeError,b=a.WeakMap;if(o||d.state){var y=d.state||(d.state=new b),v=c(y.get),x=c(y.has),_=c(y.set);i=function(t,e){if(x(y,t))throw new m(g);return e.facade=t,_(y,t,e),e},r=function(t){return v(y,t)||{}},s=function(t){return x(y,t)}}else{var k=p("state");f[k]=!0,i=function(t,e){if(u(t,k))throw new m(g);return e.facade=t,h(t,k,e),e},r=function(t){return u(t,k)?t[k]:{}},s=function(t){return u(t,k)}}t.exports={set:i,get:r,has:s,enforce:function(t){return s(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}}}},5006:function(t){t.exports=function(t){return"function"==typeof t}},9656:function(t,e,n){var i=n(4258),r=n(5006),s=/#|\.prototype\./,o=function(t,e){var n=c[a(t)];return n==h||n!=l&&(r(e)?i(e):!!e)},a=o.normalize=function(t){return String(t).replace(s,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",h=o.POLYFILL="P";t.exports=o},2702:function(t,e,n){var i=n(5006);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},4832:function(t){t.exports=!1},664:function(t,e,n){var i=n(1210),r=n(2265),s=n(5006),o=n(3387),a=n(8264),c=i.Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return s(e)&&o(e.prototype,c(t))}},5570:function(t,e,n){var i=n(8464);t.exports=function(t){return i(t.length)}},6717:function(t,e,n){var i=n(4258),r=n(5006),s=n(4242),o=n(2016).f,a=n(232).CONFIGURABLE,c=n(3667),l=n(2406),h=l.enforce,u=l.get,d=!i((function(){return 8!==o((function(){}),"length",{value:8}).length})),p=String(String).split("String"),f=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||a&&t.name!==e)&&o(t,"name",{value:e,configurable:!0}),d&&n&&s(n,"arity")&&t.length!==n.arity&&o(t,"length",{value:n.arity});var i=h(t);return s(i,"source")||(i.source=p.join("string"==typeof e?e:"")),t};Function.prototype.toString=f((function(){return r(this)&&u(this).source||c(this)}),"toString")},9868:function(t,e,n){var i=n(6475),r=n(4258);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},4564:function(t,e,n){var i=n(1210),r=n(5006),s=n(3667),o=i.WeakMap;t.exports=r(o)&&/native code/.test(s(o))},1377:function(t,e,n){var i=n(2910);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},42:function(t,e,n){var i,r=n(3794),s=n(3238),o=n(9864),a=n(3953),c=n(2872),l=n(4716),h=n(9116),u=h("IE_PROTO"),d=function(){},p=function(t){return"<script>"+t+"</"+"script>"},f=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&i?f(i):((e=l("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):f(i);for(var n=o.length;n--;)delete g.prototype[o[n]];return g()};a[u]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d.prototype=r(t),n=new d,d.prototype=null,n[u]=t):n=g(),void 0===e?n:s.f(n,e)}},3238:function(t,e,n){var i=n(7778),r=n(2879),s=n(2016),o=n(3794),a=n(4929),c=n(5321);e.f=i&&!r?Object.defineProperties:function(t,e){o(t);for(var n,i=a(e),r=c(e),l=r.length,h=0;l>h;)s.f(t,n=r[h++],i[n]);return t}},2016:function(t,e,n){var i=n(1210),r=n(7778),s=n(4165),o=n(2879),a=n(3794),c=n(8901),l=i.TypeError,h=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";e.f=r?o?function(t,e,n){if(a(t),e=c(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&f in n&&!n.writable){var i=u(t,e);i&&i.writable&&(t[e]=n.value,n={configurable:p in n?n.configurable:i.configurable,enumerable:d in n?n.enumerable:i.enumerable,writable:!1})}return h(t,e,n)}:h:function(t,e,n){if(a(t),e=c(e),a(n),s)try{return h(t,e,n)}catch(t){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},4225:function(t,e,n){var i=n(7778),r=n(4264),s=n(9532),o=n(9487),a=n(4929),c=n(8901),l=n(4242),h=n(4165),u=Object.getOwnPropertyDescriptor;e.f=i?u:function(t,e){if(t=a(t),e=c(e),h)try{return u(t,e)}catch(t){}if(l(t,e))return o(!r(s.f,t,e),t[e])}},6112:function(t,e,n){var i=n(6166),r=n(9864).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},5603:function(t,e){e.f=Object.getOwnPropertySymbols},3387:function(t,e,n){var i=n(3715);t.exports=i({}.isPrototypeOf)},6166:function(t,e,n){var i=n(3715),r=n(4242),s=n(4929),o=n(8845).indexOf,a=n(3953),c=i([].push);t.exports=function(t,e){var n,i=s(t),l=0,h=[];for(n in i)!r(a,n)&&r(i,n)&&c(h,n);for(;e.length>l;)r(i,n=e[l++])&&(~o(h,n)||c(h,n));return h}},5321:function(t,e,n){var i=n(6166),r=n(9864);t.exports=Object.keys||function(t){return i(t,r)}},9532:function(t,e){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);e.f=r?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},2025:function(t,e,n){var i=n(3715),r=n(3794),s=n(1938);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),s(i),e?t(n,i):n.__proto__=i,n}}():void 0)},896:function(t,e,n){var i=n(1210),r=n(4264),s=n(5006),o=n(2702),a=i.TypeError;t.exports=function(t,e){var n,i;if("string"===e&&s(n=t.toString)&&!o(i=r(n,t)))return i;if(s(n=t.valueOf)&&!o(i=r(n,t)))return i;if("string"!==e&&s(n=t.toString)&&!o(i=r(n,t)))return i;throw a("Can't convert object to primitive value")}},3496:function(t,e,n){var i=n(2265),r=n(3715),s=n(6112),o=n(5603),a=n(3794),c=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=s.f(a(t)),n=o.f;return n?c(e,n(t)):e}},9780:function(t,e,n){var i=n(2016).f;t.exports=function(t,e,n){n in t||i(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},5262:function(t,e,n){var i=n(1210).TypeError;t.exports=function(t){if(null==t)throw i("Can't call method on "+t);return t}},3071:function(t,e,n){var i=n(1210),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},9116:function(t,e,n){var i=n(1843),r=n(3705),s=i("keys");t.exports=function(t){return s[t]||(s[t]=r(t))}},4434:function(t,e,n){var i=n(1210),r=n(3071),s="__core-js_shared__",o=i[s]||r(s,{});t.exports=o},1843:function(t,e,n){var i=n(4832),r=n(4434);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.4",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"})},645:function(t,e,n){var i=n(8249),r=Math.max,s=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):s(n,e)}},4929:function(t,e,n){var i=n(600),r=n(5262);t.exports=function(t){return i(r(t))}},8249:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){var i=+t;return i!=i||0===i?0:(i>0?n:e)(i)}},8464:function(t,e,n){var i=n(8249),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},2103:function(t,e,n){var i=n(1210),r=n(5262),s=i.Object;t.exports=function(t){return s(r(t))}},357:function(t,e,n){var i=n(1210),r=n(4264),s=n(2702),o=n(664),a=n(9722),c=n(896),l=n(8875),h=i.TypeError,u=l("toPrimitive");t.exports=function(t,e){if(!s(t)||o(t))return t;var n,i=a(t,u);if(i){if(void 0===e&&(e="default"),n=r(i,t,e),!s(n)||o(n))return n;throw h("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},8901:function(t,e,n){var i=n(357),r=n(664);t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},5165:function(t,e,n){var i={};i[n(8875)("toStringTag")]="z",t.exports="[object z]"===String(i)},2910:function(t,e,n){var i=n(1210),r=n(5996),s=i.String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},7232:function(t,e,n){var i=n(1210).String;t.exports=function(t){try{return i(t)}catch(t){return"Object"}}},3705:function(t,e,n){var i=n(3715),r=0,s=Math.random(),o=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++r+s,36)}},8264:function(t,e,n){var i=n(9868);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2879:function(t,e,n){var i=n(7778),r=n(4258);t.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8875:function(t,e,n){var i=n(1210),r=n(1843),s=n(4242),o=n(3705),a=n(9868),c=n(8264),l=r("wks"),h=i.Symbol,u=h&&h.for,d=c?h:h&&h.withoutSetter||o;t.exports=function(t){if(!s(l,t)||!a&&"string"!=typeof l[t]){var e="Symbol."+t;a&&s(h,t)?l[t]=h[t]:l[t]=c&&u?u(e):d(e)}return l[t]}},6266:function(t,e,n){"use strict";var i=n(2265),r=n(4242),s=n(5506),o=n(3387),a=n(2025),c=n(1184),l=n(9780),h=n(8088),u=n(1377),d=n(7793),p=n(7398),f=n(1500),g=n(7778),m=n(4832);t.exports=function(t,e,n,b){var y="stackTraceLimit",v=b?2:1,x=t.split("."),_=x[x.length-1],k=i.apply(null,x);if(k){var w=k.prototype;if(!m&&r(w,"cause")&&delete w.cause,!n)return k;var S=i("Error"),C=e((function(t,e){var n=u(b?e:t,void 0),i=b?new k(t):new k;return void 0!==n&&s(i,"message",n),f&&s(i,"stack",p(i.stack,2)),this&&o(w,this)&&h(i,this,C),arguments.length>v&&d(i,arguments[v]),i}));if(C.prototype=w,"Error"!==_?a?a(C,S):c(C,S,{name:!0}):g&&y in k&&(l(C,k,y),l(C,k,"prepareStackTrace")),c(C,k),!m)try{w.name!==_&&s(w,"name",_),w.constructor=C}catch(t){}return C}}},3679:function(t,e,n){"use strict";var i=n(8657),r=n(8845).includes,s=n(4258),o=n(8987);i({target:"Array",proto:!0,forced:s((function(){return!Array(1).includes()}))},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},875:function(t,e,n){var i=n(8657),r=n(1210),s=n(9115),o=n(6266),a="WebAssembly",c=r.WebAssembly,l=7!==Error("e",{cause:7}).cause,h=function(t,e){var n={};n[t]=o(t,e,l),i({global:!0,arity:1,forced:l},n)},u=function(t,e){if(c&&c[t]){var n={};n[t]=o("WebAssembly."+t,e,l),i({target:a,stat:!0,arity:1,forced:l},n)}};h("Error",(function(t){return function(e){return s(t,this,arguments)}})),h("EvalError",(function(t){return function(e){return s(t,this,arguments)}})),h("RangeError",(function(t){return function(e){return s(t,this,arguments)}})),h("ReferenceError",(function(t){return function(e){return s(t,this,arguments)}})),h("SyntaxError",(function(t){return function(e){return s(t,this,arguments)}})),h("TypeError",(function(t){return function(e){return s(t,this,arguments)}})),h("URIError",(function(t){return function(e){return s(t,this,arguments)}})),u("CompileError",(function(t){return function(e){return s(t,this,arguments)}})),u("LinkError",(function(t){return function(e){return s(t,this,arguments)}})),u("RuntimeError",(function(t){return function(e){return s(t,this,arguments)}}))},951:function(t,e,n){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let i=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(i++,"%c"===t&&(r=i))})),e.splice(r,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},e.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=n(1741)(e);const{formatters:i}=t.exports;i.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},1741:function(t,e,n){t.exports=function(t){function e(t){let n,r,s,o=null;function a(...t){if(!a.enabled)return;const i=a,r=Number(new Date),s=r-(n||r);i.diff=s,i.prev=n,i.curr=r,n=r,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let o=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";o++;const s=e.formatters[r];if("function"==typeof s){const e=t[o];n=s.call(i,e),t.splice(o,1),o--}return n})),e.formatArgs.call(i,t);(i.log||e.log).apply(i,t)}return a.namespace=t,a.useColors=e.useColors(),a.color=e.selectColor(t),a.extend=i,a.destroy=e.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(r!==e.namespaces&&(r=e.namespaces,s=e.enabled(t)),s),set:t=>{o=t}}),"function"==typeof e.init&&e.init(a),a}function i(t,n){const i=e(this.namespace+(void 0===n?":":n)+t);return i.log=this.log,i}function r(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(r),...e.skips.map(r).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const i=("string"==typeof t?t:"").split(/[\s,]+/),r=i.length;for(n=0;n<r;n++)i[n]&&("-"===(t=i[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,i;for(n=0,i=e.skips.length;n<i;n++)if(e.skips[n].test(t))return!1;for(n=0,i=e.names.length;n<i;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(3171),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}},4299:function(t,e,n){var i=n(9738)(n(9159),"DataView");t.exports=i},9504:function(t,e,n){var i=n(52),r=n(9224),s=n(5417),o=n(7488),a=n(3236);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=r,c.prototype.get=s,c.prototype.has=o,c.prototype.set=a,t.exports=c},3646:function(t,e,n){var i=n(2047),r=n(2348),s=n(5082),o=n(7671),a=n(4148);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=r,c.prototype.get=s,c.prototype.has=o,c.prototype.set=a,t.exports=c},7406:function(t,e,n){var i=n(9738)(n(9159),"Map");t.exports=i},4474:function(t,e,n){var i=n(1873),r=n(603),s=n(8339),o=n(5213),a=n(1052);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=r,c.prototype.get=s,c.prototype.has=o,c.prototype.set=a,t.exports=c},8911:function(t,e,n){var i=n(9738)(n(9159),"Promise");t.exports=i},4508:function(t,e,n){var i=n(9738)(n(9159),"Set");t.exports=i},8918:function(t,e,n){var i=n(3646),r=n(580),s=n(473),o=n(6991),a=n(388),c=n(6786);function l(t){var e=this.__data__=new i(t);this.size=e.size}l.prototype.clear=r,l.prototype.delete=s,l.prototype.get=o,l.prototype.has=a,l.prototype.set=c,t.exports=l},4924:function(t,e,n){var i=n(9159).Symbol;t.exports=i},9651:function(t,e,n){var i=n(9159).Uint8Array;t.exports=i},7769:function(t,e,n){var i=n(9738)(n(9159),"WeakMap");t.exports=i},2665:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},9270:function(t){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}},5922:function(t){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,s=[];++n<i;){var o=t[n];e(o,n,t)&&(s[r++]=o)}return s}},8407:function(t,e,n){var i=n(2536),r=n(4968),s=n(6259),o=n(9410),a=n(2979),c=n(9960),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=s(t),h=!n&&r(t),u=!n&&!h&&o(t),d=!n&&!h&&!u&&c(t),p=n||h||u||d,f=p?i(t.length,String):[],g=f.length;for(var m in t)!e&&!l.call(t,m)||p&&("length"==m||u&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,g))||f.push(m);return f}},4729:function(t){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}},8615:function(t){t.exports=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},80:function(t,e,n){var i=n(4316),r=n(31),s=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var o=t[e];s.call(t,e)&&r(o,n)&&(void 0!==n||e in t)||i(t,e,n)}},9702:function(t,e,n){var i=n(31);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},3724:function(t,e,n){var i=n(4222),r=n(6703);t.exports=function(t,e){return t&&i(e,r(e),t)}},8805:function(t,e,n){var i=n(4222),r=n(6067);t.exports=function(t,e){return t&&i(e,r(e),t)}},4316:function(t,e,n){var i=n(1153);t.exports=function(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},8871:function(t,e,n){var i=n(8918),r=n(9270),s=n(80),o=n(3724),a=n(8805),c=n(9162),l=n(3920),h=n(2378),u=n(2321),d=n(9852),p=n(2454),f=n(5947),g=n(8197),m=n(6041),b=n(9435),y=n(6259),v=n(9410),x=n(6579),_=n(731),k=n(4634),w=n(6703),S=n(6067),C="[object Arguments]",E="[object Function]",M="[object Object]",P={};P[C]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[M]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[E]=P["[object WeakMap]"]=!1,t.exports=function t(e,n,j,O,T,N){var A,D=1&n,R=2&n,I=4&n;if(j&&(A=T?j(e,O,T,N):j(e)),void 0!==A)return A;if(!_(e))return e;var L=y(e);if(L){if(A=g(e),!D)return l(e,A)}else{var z=f(e),F=z==E||"[object GeneratorFunction]"==z;if(v(e))return c(e,D);if(z==M||z==C||F&&!T){if(A=R||F?{}:b(e),!D)return R?u(e,a(A,e)):h(e,o(A,e))}else{if(!P[z])return T?e:{};A=m(e,z,D)}}N||(N=new i);var B=N.get(e);if(B)return B;N.set(e,A),k(e)?e.forEach((function(i){A.add(t(i,n,j,i,e,N))})):x(e)&&e.forEach((function(i,r){A.set(r,t(i,n,j,r,e,N))}));var V=L?void 0:(I?R?p:d:R?S:w)(e);return r(V||e,(function(i,r){V&&(i=e[r=i]),s(A,r,t(i,n,j,r,e,N))})),A}},6205:function(t,e,n){var i=n(731),r=Object.create,s=function(){function t(){}return function(e){if(!i(e))return{};if(r)return r(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=s},8248:function(t,e,n){var i=n(8615),r=n(8574);t.exports=function t(e,n,s,o,a){var c=-1,l=e.length;for(s||(s=r),a||(a=[]);++c<l;){var h=e[c];n>0&&s(h)?n>1?t(h,n-1,s,o,a):i(a,h):o||(a[a.length]=h)}return a}},3691:function(t,e,n){var i=n(608),r=n(5446);t.exports=function(t,e){for(var n=0,s=(e=i(e,t)).length;null!=t&&n<s;)t=t[r(e[n++])];return n&&n==s?t:void 0}},9223:function(t,e,n){var i=n(8615),r=n(6259);t.exports=function(t,e,n){var s=e(t);return r(t)?s:i(s,n(t))}},530:function(t,e,n){var i=n(4924),r=n(8792),s=n(8004),o=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?r(t):s(t)}},8017:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},5189:function(t,e,n){var i=n(530),r=n(1642);t.exports=function(t){return r(t)&&"[object Arguments]"==i(t)}},1794:function(t,e,n){var i=n(5947),r=n(1642);t.exports=function(t){return r(t)&&"[object Map]"==i(t)}},9190:function(t,e,n){var i=n(5095),r=n(5164),s=n(731),o=n(3178),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,h=c.toString,u=l.hasOwnProperty,d=RegExp("^"+h.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!s(t)||r(t))&&(i(t)?d:a).test(o(t))}},4145:function(t,e,n){var i=n(5947),r=n(1642);t.exports=function(t){return r(t)&&"[object Set]"==i(t)}},5783:function(t,e,n){var i=n(530),r=n(65),s=n(1642),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return s(t)&&r(t.length)&&!!o[i(t)]}},7798:function(t,e,n){var i=n(7238),r=n(3104),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return r(t);var e=[];for(var n in Object(t))s.call(t,n)&&"constructor"!=n&&e.push(n);return e}},6008:function(t,e,n){var i=n(731),r=n(7238),s=n(5722),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return s(t);var e=r(t),n=[];for(var a in t)("constructor"!=a||!e&&o.call(t,a))&&n.push(a);return n}},1802:function(t,e,n){var i=n(8213),r=n(5790);t.exports=function(t,e){return i(t,e,(function(e,n){return r(t,n)}))}},8213:function(t,e,n){var i=n(3691),r=n(7419),s=n(608);t.exports=function(t,e,n){for(var o=-1,a=e.length,c={};++o<a;){var l=e[o],h=i(t,l);n(h,l)&&r(c,s(l,t),h)}return c}},4113:function(t,e,n){var i=n(5885),r=n(1838),s=n(5490);t.exports=function(t,e){return s(r(t,e,i),t+"")}},7419:function(t,e,n){var i=n(80),r=n(608),s=n(2979),o=n(731),a=n(5446);t.exports=function(t,e,n,c){if(!o(t))return t;for(var l=-1,h=(e=r(e,t)).length,u=h-1,d=t;null!=d&&++l<h;){var p=a(e[l]),f=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(l!=u){var g=d[p];void 0===(f=c?c(g,p,d):void 0)&&(f=o(g)?g:s(e[l+1])?[]:{})}i(d,p,f),d=d[p]}return t}},2552:function(t,e,n){var i=n(6636),r=n(1153),s=n(5885),o=r?function(t,e){return r(t,"toString",{configurable:!0,enumerable:!1,value:i(e),writable:!0})}:s;t.exports=o},6658:function(t){t.exports=function(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(r);++i<r;)s[i]=t[i+e];return s}},2536:function(t){t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},3042:function(t,e,n){var i=n(4924),r=n(4729),s=n(6259),o=n(6260),a=i?i.prototype:void 0,c=a?a.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(s(e))return r(e,t)+"";if(o(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},718:function(t){t.exports=function(t){return function(e){return t(e)}}},1086:function(t,e,n){var i=n(608),r=n(1892),s=n(4025),o=n(5446);t.exports=function(t,e){return e=i(e,t),null==(t=s(t,e))||delete t[o(r(e))]}},608:function(t,e,n){var i=n(6259),r=n(4703),s=n(9091),o=n(6700);t.exports=function(t,e){return i(t)?t:r(t,e)?[t]:s(o(t))}},2367:function(t,e,n){var i=n(9651);t.exports=function(t){var e=new t.constructor(t.byteLength);return new i(e).set(new i(t)),e}},9162:function(t,e,n){t=n.nmd(t);var i=n(9159),r=e&&!e.nodeType&&e,s=r&&t&&!t.nodeType&&t,o=s&&s.exports===r?i.Buffer:void 0,a=o?o.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,i=a?a(n):new t.constructor(n);return t.copy(i),i}},3868:function(t,e,n){var i=n(2367);t.exports=function(t,e){var n=e?i(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},6860:function(t){var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},5508:function(t,e,n){var i=n(4924),r=i?i.prototype:void 0,s=r?r.valueOf:void 0;t.exports=function(t){return s?Object(s.call(t)):{}}},7259:function(t,e,n){var i=n(2367);t.exports=function(t,e){var n=e?i(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},3920:function(t){t.exports=function(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}},4222:function(t,e,n){var i=n(80),r=n(4316);t.exports=function(t,e,n,s){var o=!n;n||(n={});for(var a=-1,c=e.length;++a<c;){var l=e[a],h=s?s(n[l],t[l],l,n,t):void 0;void 0===h&&(h=t[l]),o?r(n,l,h):i(n,l,h)}return n}},2378:function(t,e,n){var i=n(4222),r=n(2864);t.exports=function(t,e){return i(t,r(t),e)}},2321:function(t,e,n){var i=n(4222),r=n(2759);t.exports=function(t,e){return i(t,r(t),e)}},5126:function(t,e,n){var i=n(9159)["__core-js_shared__"];t.exports=i},7236:function(t,e,n){var i=n(4113),r=n(1550);t.exports=function(t){return i((function(e,n){var i=-1,s=n.length,o=s>1?n[s-1]:void 0,a=s>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(s--,o):void 0,a&&r(n[0],n[1],a)&&(o=s<3?void 0:o,s=1),e=Object(e);++i<s;){var c=n[i];c&&t(e,c,i,o)}return e}))}},4951:function(t,e,n){var i=n(8566);t.exports=function(t){return i(t)?void 0:t}},1153:function(t,e,n){var i=n(9738),r=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=r},61:function(t,e,n){var i=n(6263),r=n(1838),s=n(5490);t.exports=function(t){return s(r(t,void 0,i),t+"")}},6150:function(t){var e="object"==typeof window&&window&&window.Object===Object&&window;t.exports=e},9852:function(t,e,n){var i=n(9223),r=n(2864),s=n(6703);t.exports=function(t){return i(t,s,r)}},2454:function(t,e,n){var i=n(9223),r=n(2759),s=n(6067);t.exports=function(t){return i(t,s,r)}},8914:function(t,e,n){var i=n(999);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},9738:function(t,e,n){var i=n(9190),r=n(6029);t.exports=function(t,e){var n=r(t,e);return i(n)?n:void 0}},7181:function(t,e,n){var i=n(6756)(Object.getPrototypeOf,Object);t.exports=i},8792:function(t,e,n){var i=n(4924),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=i?i.toStringTag:void 0;t.exports=function(t){var e=s.call(t,a),n=t[a];try{t[a]=void 0;var i=!0}catch(t){}var r=o.call(t);return i&&(e?t[a]=n:delete t[a]),r}},2864:function(t,e,n){var i=n(5922),r=n(3095),s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(t){return null==t?[]:(t=Object(t),i(o(t),(function(e){return s.call(t,e)})))}:r;t.exports=a},2759:function(t,e,n){var i=n(8615),r=n(7181),s=n(2864),o=n(3095),a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)i(e,s(t)),t=r(t);return e}:o;t.exports=a},5947:function(t,e,n){var i=n(4299),r=n(7406),s=n(8911),o=n(4508),a=n(7769),c=n(530),l=n(3178),h="[object Map]",u="[object Promise]",d="[object Set]",p="[object WeakMap]",f="[object DataView]",g=l(i),m=l(r),b=l(s),y=l(o),v=l(a),x=c;(i&&x(new i(new ArrayBuffer(1)))!=f||r&&x(new r)!=h||s&&x(s.resolve())!=u||o&&x(new o)!=d||a&&x(new a)!=p)&&(x=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,i=n?l(n):"";if(i)switch(i){case g:return f;case m:return h;case b:return u;case y:return d;case v:return p}return e}),t.exports=x},6029:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},6467:function(t,e,n){var i=n(608),r=n(4968),s=n(6259),o=n(2979),a=n(65),c=n(5446);t.exports=function(t,e,n){for(var l=-1,h=(e=i(e,t)).length,u=!1;++l<h;){var d=c(e[l]);if(!(u=null!=t&&n(t,d)))break;t=t[d]}return u||++l!=h?u:!!(h=null==t?0:t.length)&&a(h)&&o(d,h)&&(s(t)||r(t))}},52:function(t,e,n){var i=n(6772);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},9224:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},5417:function(t,e,n){var i=n(6772),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(e,t)?e[t]:void 0}},7488:function(t,e,n){var i=n(6772),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:r.call(e,t)}},3236:function(t,e,n){var i=n(6772);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},8197:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,i=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(i.index=t.index,i.input=t.input),i}},6041:function(t,e,n){var i=n(2367),r=n(3868),s=n(6860),o=n(5508),a=n(7259);t.exports=function(t,e,n){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return i(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return r(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(t,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return s(t);case"[object Symbol]":return o(t)}}},9435:function(t,e,n){var i=n(6205),r=n(7181),s=n(7238);t.exports=function(t){return"function"!=typeof t.constructor||s(t)?{}:i(r(t))}},8574:function(t,e,n){var i=n(4924),r=n(4968),s=n(6259),o=i?i.isConcatSpreadable:void 0;t.exports=function(t){return s(t)||r(t)||!!(o&&t&&t[o])}},2979:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var i=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&e.test(t))&&t>-1&&t%1==0&&t<n}},1550:function(t,e,n){var i=n(31),r=n(5847),s=n(2979),o=n(731);t.exports=function(t,e,n){if(!o(n))return!1;var a=typeof e;return!!("number"==a?r(n)&&s(e,n.length):"string"==a&&e in n)&&i(n[e],t)}},4703:function(t,e,n){var i=n(6259),r=n(6260),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;t.exports=function(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!r(t))||(o.test(t)||!s.test(t)||null!=e&&t in Object(e))}},999:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5164:function(t,e,n){var i,r=n(5126),s=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!s&&s in t}},7238:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},2047:function(t){t.exports=function(){this.__data__=[],this.size=0}},2348:function(t,e,n){var i=n(9702),r=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0)&&(n==e.length-1?e.pop():r.call(e,n,1),--this.size,!0)}},5082:function(t,e,n){var i=n(9702);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},7671:function(t,e,n){var i=n(9702);t.exports=function(t){return i(this.__data__,t)>-1}},4148:function(t,e,n){var i=n(9702);t.exports=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}},1873:function(t,e,n){var i=n(9504),r=n(3646),s=n(7406);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(s||r),string:new i}}},603:function(t,e,n){var i=n(8914);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},8339:function(t,e,n){var i=n(8914);t.exports=function(t){return i(this,t).get(t)}},5213:function(t,e,n){var i=n(8914);t.exports=function(t){return i(this,t).has(t)}},1052:function(t,e,n){var i=n(8914);t.exports=function(t,e){var n=i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}},9370:function(t,e,n){var i=n(6650);t.exports=function(t){var e=i(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},6772:function(t,e,n){var i=n(9738)(Object,"create");t.exports=i},3104:function(t,e,n){var i=n(6756)(Object.keys,Object);t.exports=i},5722:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},3098:function(t,e,n){t=n.nmd(t);var i=n(6150),r=e&&!e.nodeType&&e,s=r&&t&&!t.nodeType&&t,o=s&&s.exports===r&&i.process,a=function(){try{var t=s&&s.require&&s.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a},8004:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},6756:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},1838:function(t,e,n){var i=n(2665),r=Math.max;t.exports=function(t,e,n){return e=r(void 0===e?t.length-1:e,0),function(){for(var s=arguments,o=-1,a=r(s.length-e,0),c=Array(a);++o<a;)c[o]=s[e+o];o=-1;for(var l=Array(e+1);++o<e;)l[o]=s[o];return l[e]=n(c),i(t,this,l)}}},4025:function(t,e,n){var i=n(3691),r=n(6658);t.exports=function(t,e){return e.length<2?t:i(t,r(e,0,-1))}},9159:function(t,e,n){var i=n(6150),r="object"==typeof self&&self&&self.Object===Object&&self,s=i||r||Function("return this")();t.exports=s},5490:function(t,e,n){var i=n(2552),r=n(121)(i);t.exports=r},121:function(t){var e=Date.now;t.exports=function(t){var n=0,i=0;return function(){var r=e(),s=16-(r-i);if(i=r,s>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},580:function(t,e,n){var i=n(3646);t.exports=function(){this.__data__=new i,this.size=0}},473:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},6991:function(t){t.exports=function(t){return this.__data__.get(t)}},388:function(t){t.exports=function(t){return this.__data__.has(t)}},6786:function(t,e,n){var i=n(3646),r=n(7406),s=n(4474);t.exports=function(t,e){var n=this.__data__;if(n instanceof i){var o=n.__data__;if(!r||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new s(o)}return n.set(t,e),this.size=n.size,this}},9091:function(t,e,n){var i=n(9370),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,o=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,(function(t,n,i,r){e.push(i?r.replace(s,"$1"):n||t)})),e}));t.exports=o},5446:function(t,e,n){var i=n(6260);t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},3178:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},2515:function(t,e,n){var i=n(80),r=n(4222),s=n(7236),o=n(5847),a=n(7238),c=n(6703),l=Object.prototype.hasOwnProperty,h=s((function(t,e){if(a(e)||o(e))r(e,c(e),t);else for(var n in e)l.call(e,n)&&i(t,n,e[n])}));t.exports=h},6636:function(t){t.exports=function(t){return function(){return t}}},31:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6263:function(t,e,n){var i=n(8248);t.exports=function(t){return(null==t?0:t.length)?i(t,1):[]}},5790:function(t,e,n){var i=n(8017),r=n(6467);t.exports=function(t,e){return null!=t&&r(t,e,i)}},5885:function(t){t.exports=function(t){return t}},4968:function(t,e,n){var i=n(5189),r=n(1642),s=Object.prototype,o=s.hasOwnProperty,a=s.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(t){return r(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},6259:function(t){var e=Array.isArray;t.exports=e},5847:function(t,e,n){var i=n(5095),r=n(65);t.exports=function(t){return null!=t&&r(t.length)&&!i(t)}},9410:function(t,e,n){t=n.nmd(t);var i=n(9159),r=n(2773),s=e&&!e.nodeType&&e,o=s&&t&&!t.nodeType&&t,a=o&&o.exports===s?i.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;t.exports=c},5095:function(t,e,n){var i=n(530),r=n(731);t.exports=function(t){if(!r(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},65:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6579:function(t,e,n){var i=n(1794),r=n(718),s=n(3098),o=s&&s.isMap,a=o?r(o):i;t.exports=a},731:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},1642:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},8566:function(t,e,n){var i=n(530),r=n(7181),s=n(1642),o=Function.prototype,a=Object.prototype,c=o.toString,l=a.hasOwnProperty,h=c.call(Object);t.exports=function(t){if(!s(t)||"[object Object]"!=i(t))return!1;var e=r(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==h}},4634:function(t,e,n){var i=n(4145),r=n(718),s=n(3098),o=s&&s.isSet,a=o?r(o):i;t.exports=a},6260:function(t,e,n){var i=n(530),r=n(1642);t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==i(t)}},9960:function(t,e,n){var i=n(5783),r=n(718),s=n(3098),o=s&&s.isTypedArray,a=o?r(o):i;t.exports=a},6703:function(t,e,n){var i=n(8407),r=n(7798),s=n(5847);t.exports=function(t){return s(t)?i(t):r(t)}},6067:function(t,e,n){var i=n(8407),r=n(6008),s=n(5847);t.exports=function(t){return s(t)?i(t,!0):r(t)}},1892:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},6650:function(t,e,n){var i=n(4474);function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],s=n.cache;if(s.has(r))return s.get(r);var o=t.apply(this,i);return n.cache=s.set(r,o)||s,o};return n.cache=new(r.Cache||i),n}r.Cache=i,t.exports=r},6697:function(t){t.exports=function(){}},8520:function(t,e,n){var i=n(4729),r=n(8871),s=n(1086),o=n(608),a=n(4222),c=n(4951),l=n(61),h=n(2454),u=l((function(t,e){var n={};if(null==t)return n;var l=!1;e=i(e,(function(e){return e=o(e,t),l||(l=e.length>1),e})),a(t,h(t),n),l&&(n=r(n,7,c));for(var u=e.length;u--;)s(n,e[u]);return n}));t.exports=u},1962:function(t,e,n){var i=n(1802),r=n(61)((function(t,e){return null==t?{}:i(t,e)}));t.exports=r},3095:function(t){t.exports=function(){return[]}},2773:function(t){t.exports=function(){return!1}},6700:function(t,e,n){var i=n(3042);t.exports=function(t){return null==t?"":i(t)}},5348:function(t,e,n){var i=n(6700),r=0;t.exports=function(t){var e=++r;return i(t)+e}},9710:function(){},1494:function(t,e){"use strict";e.Z={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},281:function(t,e){"use strict";e.Z={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},5785:function(){},9054:function(){},3080:function(t,e){"use strict";e.Z={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smCols:"4",mdCols:"8",lgCols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},8730:function(t,e){"use strict";e.Z={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},9478:function(){},1683:function(){},9610:function(){},2917:function(){},3171:function(t){var e=1e3,n=60*e,i=60*n,r=24*i,s=7*r,o=365.25*r;function a(t,e,n,i){var r=e>=1.5*n;return Math.round(t/n)+" "+i+(r?"s":"")}t.exports=function(t,c){c=c||{};var l=typeof t;if("string"===l&&t.length>0)return function(t){if((t=String(t)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!a)return;var c=parseFloat(a[1]);switch((a[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*i;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*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(t);if("number"===l&&isFinite(t))return c.long?function(t){var s=Math.abs(t);if(s>=r)return a(t,s,r,"day");if(s>=i)return a(t,s,i,"hour");if(s>=n)return a(t,s,n,"minute");if(s>=e)return a(t,s,e,"second");return t+" ms"}(t):function(t){var s=Math.abs(t);if(s>=r)return Math.round(t/r)+"d";if(s>=i)return Math.round(t/i)+"h";if(s>=n)return Math.round(t/n)+"m";if(s>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},7556:function(t,e,n){"use strict";var i=n(3713);function r(){}function s(){}s.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,s,o){if(o!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:s,resetWarningCache:r};return n.PropTypes=n,n}},5844:function(t,e,n){t.exports=n(7556)()},3713:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},469:function(t,e,n){"use strict";var i=n(758);function r(){}function s(){}s.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,s,o){if(o!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:s,resetWarningCache:r};return n.PropTypes=n,n}},5162:function(t,e,n){t.exports=n(469)()},758:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6975:function(t,e,n){"use strict";var i=n(951),r=n.n(i),s=n(2819);const o=r()("dops:analytics");let a,c;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const l={initialize:function(t,e,n){l.setUser(t,e),l.setSuperProps(n),l.identifyUser()},setGoogleAnalyticsEnabled:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=t,this.googleAnalyticsKey=e},setMcAnalyticsEnabled:function(t){this.mcAnalyticsEnabled=t},setUser:function(t,e){c={ID:t,username:e}},setSuperProps:function(t){a=t},assignSuperProps:function(t){a=(0,s.assign)(a,t)},mc:{bumpStat:function(t,e){const n=function(t,e){let n="";if("object"==typeof t){for(const e in t)n+="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t[e]);o("Bumping stats %o",t)}else n="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e),o('Bumping stat "%s" in group "%s"',e,t);return n}(t,e);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(t,e){const n=function(t,e){let n="";if("object"==typeof t){for(const e in t)n+="&"+encodeURIComponent(e)+"="+encodeURIComponent(t[e]);o("Built stats %o",t)}else n="&"+encodeURIComponent(t)+"="+encodeURIComponent(e),o('Built stat "%s" in group "%s"',e,t);return n}(t,e);l.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(t,e){l.tracks.recordPageView(t),l.ga.recordPageView(t,e)}},purchase:{record:function(t,e,n,i,r,s,o){l.ga.recordPurchase(t,e,n,i,r,s,o)}},tracks:{recordEvent:function(t,e){e=e||{},0===t.indexOf("akismet_")||0===t.indexOf("jetpack_")?(a&&(o("- Super Props: %o",a),e=(0,s.assign)(e,a)),o('Record event "%s" called with props %s',t,JSON.stringify(e)),window._tkq.push(["recordEvent",t,e])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(t){const e="object"==typeof t?t:{target:t};l.tracks.recordEvent("jetpack_wpa_click",e)},recordPageView:function(t){l.tracks.recordEvent("akismet_page_view",{path:t})},setOptOut:function(t){o("Pushing setOptOut: %o",t),window._tkq.push(["setOptOut",t])}},ga:{initialized:!1,initialize:function(){let t={};l.ga.initialized||(c&&(t={userId:"u-"+c.ID}),window.ga("create",this.googleAnalyticsKey,"auto",t),l.ga.initialized=!0)},recordPageView:function(t,e){l.ga.initialize(),o("Recording Page View ~ [URL: "+t+"] [Title: "+e+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",t),window.ga("send",{hitType:"pageview",page:t,title:e}))},recordEvent:function(t,e,n,i){l.ga.initialize();let r="Recording Event ~ [Category: "+t+"] [Action: "+e+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==i&&(r+=" [Option Value: "+i+"]"),o(r),this.googleAnalyticsEnabled&&window.ga("send","event",t,e,n,i)},recordPurchase:function(t,e,n,i,r,s,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:t,revenue:i,currency:o}),window.ga("ecommerce:addItem",{id:t,name:e,sku:n,price:r,quantity:s}),window.ga("ecommerce:send")}},identifyUser:function(){c&&window._tkq.push(["identifyUser",c.ID,c.username])},setProperties:function(t){window._tkq.push(["setProperties",t])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};e.Z=l},4743:function(t,e,n){"use strict";n(875);var i=n(2819),r=n(6483),s=n(1132);function o(t){class e extends Error{constructor(){super(...arguments),this.name=t}}return e}const a=o("JsonParseError"),c=o("JsonParseAfterRedirectError"),l=o("Api404Error"),h=o("Api404AfterRedirectError"),u=o("FetchNetworkError");const d=new function(t,e){let n=t,o={"X-WP-Nonce":e},a={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:(0,i.assign)({},o,{"Content-type":"application/json"})},l=function(t){const e=t.split("?"),n=e.length>1?e[1]:"",i=n.length?n.split("&"):[];return i.push("_cacheBuster="+(new Date).getTime()),e[0]+"?"+i.join("&")};const h={setApiRoot(t){n=t},setApiNonce(t){o={"X-WP-Nonce":t},a={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:(0,i.assign)({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:t=>{l=t},registerSite:(t,e)=>{const i={registration_nonce:t,no_iframe:!0};return(0,s.jetpackConfigHas)("consumer_slug")&&(i.plugin_slug=(0,s.jetpackConfigGet)("consumer_slug")),null!==e&&(i.redirect_uri=e),d(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(i)}).then(p).then(f)},fetchAuthorizationUrl:t=>u((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:t}),a).then(p).then(f),fetchSiteConnectionData:()=>u(`${n}jetpack/v4/connection/data`,a).then(f),fetchSiteConnectionStatus:()=>u(`${n}jetpack/v4/connection`,a).then(f),fetchSiteConnectionTest:()=>u(`${n}jetpack/v4/connection/test`,a).then(p).then(f),fetchUserConnectionData:()=>u(`${n}jetpack/v4/connection/data`,a).then(f),fetchUserTrackingSettings:()=>u(`${n}jetpack/v4/tracking/settings`,a).then(p).then(f),updateUserTrackingSettings:t=>d(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(t)}).then(p).then(f),disconnectSite:()=>d(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(p).then(f),fetchConnectUrl:()=>u(`${n}jetpack/v4/connection/url`,a).then(p).then(f),unlinkUser:()=>d(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(p).then(f),reconnect:()=>d(`${n}jetpack/v4/connection/reconnect`,c).then(p).then(f),fetchConnectedPlugins:()=>u(`${n}jetpack/v4/connection/plugins`,a).then(p).then(f),setHasSeenWCConnectionModal:()=>d(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(p).then(f),fetchModules:()=>u(`${n}jetpack/v4/module/all`,a).then(p).then(f),fetchModule:t=>u(`${n}jetpack/v4/module/${t}`,a).then(p).then(f),activateModule:t=>d(`${n}jetpack/v4/module/${t}/active`,c,{body:JSON.stringify({active:!0})}).then(p).then(f),deactivateModule:t=>d(`${n}jetpack/v4/module/${t}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(t,e)=>d(`${n}jetpack/v4/module/${t}`,c,{body:JSON.stringify(e)}).then(p).then(f),updateSettings:t=>d(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(t)}).then(p).then(f),getProtectCount:()=>u(`${n}jetpack/v4/module/protect/data`,a).then(p).then(f),resetOptions:t=>d(`${n}jetpack/v4/options/${t}`,c,{body:JSON.stringify({reset:!0})}).then(p).then(f),activateVaultPress:()=>d(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(f),getVaultPressData:()=>u(`${n}jetpack/v4/module/vaultpress/data`,a).then(p).then(f),installPlugin:(t,e)=>{const i={slug:t,status:"active"};return e&&(i.source=e),d(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(i)}).then(p).then(f)},activateAkismet:()=>d(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(f),getAkismetData:()=>u(`${n}jetpack/v4/module/akismet/data`,a).then(p).then(f),checkAkismetKey:()=>u(`${n}jetpack/v4/module/akismet/key/check`,a).then(p).then(f),checkAkismetKeyTyped:t=>d(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:t})}).then(p).then(f),fetchStatsData:t=>u(function(t){let e=`${n}jetpack/v4/module/stats/data`;-1!==e.indexOf("?")?e+=`&range=${encodeURIComponent(t)}`:e+=`?range=${encodeURIComponent(t)}`;return e}(t),a).then(p).then(f).then(g),getPluginUpdates:()=>u(`${n}jetpack/v4/updates/plugins`,a).then(p).then(f),getPlans:()=>u(`${n}jetpack/v4/plans`,a).then(p).then(f),fetchSettings:()=>u(`${n}jetpack/v4/settings`,a).then(p).then(f),updateSetting:t=>d(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(t)}).then(p).then(f),fetchSiteData:()=>u(`${n}jetpack/v4/site`,a).then(p).then(f).then((t=>JSON.parse(t.data))),fetchSiteFeatures:()=>u(`${n}jetpack/v4/site/features`,a).then(p).then(f).then((t=>JSON.parse(t.data))),fetchSiteProducts:()=>u(`${n}jetpack/v4/site/products`,a).then(p).then(f),fetchSitePurchases:()=>u(`${n}jetpack/v4/site/purchases`,a).then(p).then(f).then((t=>JSON.parse(t.data))),fetchSiteBenefits:()=>u(`${n}jetpack/v4/site/benefits`,a).then(p).then(f).then((t=>JSON.parse(t.data))),fetchSiteDiscount:()=>u(`${n}jetpack/v4/site/discount`,a).then(p).then(f).then((t=>t.data)),fetchSetupQuestionnaire:()=>u(`${n}jetpack/v4/setup/questionnaire`,a).then(p).then(f),fetchRecommendationsData:()=>u(`${n}jetpack/v4/recommendations/data`,a).then(p).then(f),fetchRecommendationsProductSuggestions:()=>u(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(p).then(f),fetchRecommendationsUpsell:()=>u(`${n}jetpack/v4/recommendations/upsell`,a).then(p).then(f),fetchRecommendationsConditional:()=>u(`${n}jetpack/v4/recommendations/conditional`,a).then(p).then(f),saveRecommendationsData:t=>d(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:t})}).then(p),fetchProducts:()=>u(`${n}jetpack/v4/products`,a).then(p).then(f),fetchRewindStatus:()=>u(`${n}jetpack/v4/rewind`,a).then(p).then(f).then((t=>JSON.parse(t.data))),fetchScanStatus:()=>u(`${n}jetpack/v4/scan`,a).then(p).then(f).then((t=>JSON.parse(t.data))),dismissJetpackNotice:t=>d(`${n}jetpack/v4/notice/${t}`,c,{body:JSON.stringify({dismissed:!0})}).then(p).then(f),fetchPluginsData:()=>u(`${n}jetpack/v4/plugins`,a).then(p).then(f),fetchIntroOffers:()=>u(`${n}jetpack/v4/intro-offers`,a).then(p).then(f),fetchVerifySiteGoogleStatus:t=>u(null!==t?`${n}jetpack/v4/verify-site/google/${t}`:`${n}jetpack/v4/verify-site/google`,a).then(p).then(f),verifySiteGoogle:t=>d(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:t})}).then(p).then(f),sendMobileLoginEmail:()=>d(`${n}jetpack/v4/mobile/send-login-email`,c).then(p).then(f),submitSurvey:t=>d(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(t)}).then(p).then(f),saveSetupQuestionnaire:t=>d(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(t)}).then(p).then(f),updateLicensingError:t=>d(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(t)}).then(p).then(f),updateLicenseKey:t=>d(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:t})}).then(p).then(f),getUserLicensesCounts:()=>u(`${n}jetpack/v4/licensing/user/counts`,a).then(p).then(f),getUserLicenses:()=>u(`${n}jetpack/v4/licensing/user/licenses`,a).then(p).then(f),updateLicensingActivationNoticeDismiss:t=>d(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:t})}).then(p).then(f),updateRecommendationsStep:t=>d(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:t})}).then(p),confirmIDCSafeMode:()=>d(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(p),startIDCFresh:t=>d(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:t})}).then(p).then(f),migrateIDC:()=>d(`${n}jetpack/v4/identity-crisis/migrate`,c).then(p),attachLicenses:t=>d(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:t})}).then(p).then(f),fetchSearchPlanInfo:()=>u(`${n}jetpack/v4/search/plan`,a).then(p).then(f),fetchSearchSettings:()=>u(`${n}jetpack/v4/search/settings`,a).then(p).then(f),updateSearchSettings:t=>d(`${n}jetpack/v4/search/settings`,c,{body:JSON.stringify(t)}).then(p).then(f),fetchSearchStats:()=>u(`${n}jetpack/v4/search/stats`,a).then(p).then(f),fetchWafSettings:()=>u(`${n}jetpack/v4/waf`,a).then(p).then(f),fetchWordAdsSettings:()=>u(`${n}jetpack/v4/wordads/settings`,a).then(p).then(f),updateWordAdsSettings:t=>d(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(t)}),fetchSearchPricing:()=>u(`${n}jetpack/v4/search/pricing`,a).then(p).then(f)};function u(t,e){return fetch(l(t),e)}function d(t,e,n){return fetch(t,(0,i.assign)({},e,n)).catch(m)}function g(t){return t.general&&void 0===t.general.response||t.week&&void 0===t.week.response||t.month&&void 0===t.month.response?t:{}}(0,i.assign)(this,h)};function p(t){return t.status>=200&&t.status<300?t:404===t.status?new Promise((()=>{throw t.redirected?new h(t.redirected):new l})):t.json().catch((t=>g(t))).then((e=>{const n=new Error(`${e.message} (Status ${t.status})`);throw n.response=e,n.name="ApiError",n}))}function f(t){return t.json().catch((e=>g(e,t.redirected,t.url)))}function g(t,e,n){throw e?new c(n):new a}function m(){throw new u}e.ZP=d},7121:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5736),o=n(5609),a=n(5162),c=n.n(a);n(9710);const __=s.__,l=t=>{const{label:e,onClick:n,isLoading:i,displayError:s,errorMessage:a}=t;return r().createElement("div",{className:"jp-action-button"},r().createElement(o.Button,{className:"jp-action-button--button",label:e,onClick:n,variant:"primary",disabled:i},i?r().createElement(o.Spinner,null):e),s&&r().createElement("p",{className:"jp-action-button__error"},a))};l.propTypes={label:c().string.isRequired,onClick:c().func,isLoading:c().bool,displayError:c().bool,errorMessage:c().string},l.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack-search-pkg")},e.Z=l},1163:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5736),o=n(5162),a=n.n(o),c=n(5235),l=n.n(c),h=n(1494),u=n(2392),d=n(1202),p=n(8218),f=n(2939);const __=s.__,g=t=>{const{children:e,moduleName:n,moduleNameHref:i,a8cLogoHref:s,showHeader:o,showFooter:a,showBackground:c,header:g}=t,m=l()(h.Z["admin-page"],{[h.Z.background]:c});return r().createElement("div",{className:m},o&&r().createElement(p.Z,{horizontalSpacing:5},r().createElement(f.Z,null,g||r().createElement(d.Z,null))),r().createElement(p.Z,{fluid:!0,horizontalSpacing:0},r().createElement(f.Z,null,e)),a&&r().createElement(p.Z,{horizontalSpacing:5},r().createElement(f.Z,null,r().createElement(u.Z,{moduleName:n,a8cLogoHref:s,moduleNameHref:i}))))};g.defaultProps={moduleName:__("Jetpack","jetpack-search-pkg"),showHeader:!0,header:null,showFooter:!0,showBackground:!0},g.propTypes={a8cLogoHref:a().string,moduleName:a().string,showHeader:a().bool,header:a().node,showFooter:a().bool,moduleNameHref:a().string,showBackground:a().bool},e.Z=g},3244:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(281);e.Z=t=>{const{children:e}=t;return r().createElement("div",{className:s.Z["section-hero"]},e)}},207:function(t,e,n){"use strict";var i=n(2402),r=n.n(i),s=n(9196),o=n.n(s),a=n(5235),c=n.n(a),l=n(5736),h=n(5162),u=n.n(h);const __=l.__,d=t=>{const{title:e,height:n,className:i,...s}=t;return o().createElement("svg",r()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:c()("jp-automattic-byline-logo",i)},s),o().createElement("title",{id:"jp-automattic-byline-logo-title"},e),o().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),o().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),o().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))};d.defaultProps={title:__("An Automattic Airline","jetpack-search-pkg"),height:7,className:""},d.propTypes={title:u().string,height:u().number,className:u().string},e.Z=d},900:function(t,e,n){"use strict";var i=n(8294),r=n.n(i),s=n(9196),o=n.n(s),a=n(5736);n(5785);const __=a.__;class c extends s.Component{needsOffset(t,e){return["gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(t)>=0&&e%18==0}getSVGTitle(t){if("title"in this.props)return this.props.title?o().createElement("title",null,this.props.title):null;switch(t){default:return null;case"gridicons-audio":return o().createElement("title",null,__("Has audio.","jetpack-search-pkg"));case"gridicons-calendar":return o().createElement("title",null,__("Is an event.","jetpack-search-pkg"));case"gridicons-cart":return o().createElement("title",null,__("Is a product.","jetpack-search-pkg"));case"chevron-down":return o().createElement("title",null,__("Show filters","jetpack-search-pkg"));case"gridicons-comment":return o().createElement("title",null,__("Matching comment.","jetpack-search-pkg"));case"gridicons-cross":return o().createElement("title",null,__("Close.","jetpack-search-pkg"));case"gridicons-filter":return o().createElement("title",null,__("Toggle search filters.","jetpack-search-pkg"));case"gridicons-folder":return o().createElement("title",null,__("Category","jetpack-search-pkg"));case"gridicons-info":case"gridicons-info-outline":return o().createElement("title",null,__("Information.","jetpack-search-pkg"));case"gridicons-image-multiple":return o().createElement("title",null,__("Has multiple images.","jetpack-search-pkg"));case"gridicons-image":return o().createElement("title",null,__("Has an image.","jetpack-search-pkg"));case"gridicons-page":return o().createElement("title",null,__("Page","jetpack-search-pkg"));case"gridicons-post":return o().createElement("title",null,__("Post","jetpack-search-pkg"));case"gridicons-jetpack-search":case"gridicons-search":return o().createElement("title",null,__("Magnifying Glass","jetpack-search-pkg"));case"gridicons-tag":return o().createElement("title",null,__("Tag","jetpack-search-pkg"));case"gridicons-video":return o().createElement("title",null,__("Has a video.","jetpack-search-pkg"))}}renderIcon(t){switch(t){default:return null;case"gridicons-audio":return o().createElement("g",null,o().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-block":return o().createElement("g",null,o().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 o().createElement("g",null,o().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 o().createElement("g",null,o().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 o().createElement("g",null,o().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-down":return o().createElement("g",null,o().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return o().createElement("g",null,o().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-cross":return o().createElement("g",null,o().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 o().createElement("g",null,o().createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return o().createElement("g",null,o().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 o().createElement("g",null,o().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 o().createElement("g",null,o().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 o().createElement("g",null,o().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 o().createElement("g",null,o().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 o().createElement("g",null,o().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-pages":return o().createElement("g",null,o().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 o().createElement("g",null,o().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return o().createElement("g",null,o().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 o().createElement("g",null,o().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 o().createElement("g",null,o().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 o().createElement("g",null,o().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 o().createElement("g",null,o().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"}))}}render(){const{size:t=24,className:e=""}=this.props,n=this.props.height||t,i=this.props.width||t,r=this.props.style||{height:n,width:i},s="gridicons-"+this.props.icon;let a=["gridicon",s,e];return this.needsOffset(s,t)&&a.push("needs-offset"),a=a.join(" "),o().createElement("svg",{className:a,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:r,viewBox:"0 0 24 24",width:i,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},this.getSVGTitle(s),this.renderIcon(s))}}r()(c,"defaultProps",{"aria-hidden":"false",focusable:"true"}),e.Z=c},2392:function(t,e,n){"use strict";var i=n(2402),r=n.n(i),s=n(9196),o=n.n(s),a=n(5736),c=n(5235),l=n.n(c),h=n(5162),u=n.n(h),d=n(207),p=(n(9054),n(1202));const __=a.__,f=t=>{const{a8cLogoHref:e,moduleName:n,className:i,moduleNameHref:s,...a}=t;return o().createElement("div",r()({className:l()("jp-dashboard-footer",i)},a),o().createElement("div",{className:"jp-dashboard-footer__footer-left"},o().createElement(p.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack-search-pkg")}),o().createElement("span",{className:"jp-dashboard-footer__module-name"},s?o().createElement("a",{href:s,"aria-label":n},n):n)),o().createElement("div",{className:"jp-dashboard-footer__footer-right"},o().createElement("a",{href:e,"aria-label":__("An Automattic Airline","jetpack-search-pkg")},o().createElement(d.Z,null))))};f.defaultProps={a8cLogoHref:"https://automattic.com",moduleName:__("Jetpack","jetpack-search-pkg"),className:"",moduleNameHref:"https://jetpack.com"},f.propTypes={a8cLogoHref:u().string,moduleName:u().string,className:u().string,moduleNameHref:u().string},e.Z=f},1202:function(t,e,n){"use strict";var i=n(2402),r=n.n(i),s=n(8294),o=n.n(s),a=n(5162),c=n.n(a),l=n(9196),h=n.n(l),u=n(5235),d=n.n(u),p=n(5736);const __=p.__;class f extends h().Component{render(){const{logoColor:t,showText:e,className:n,...i}=this.props,s=e?"0 0 118 32":"0 0 32 32";return h().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},i),h().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-search-pkg")),h().createElement("path",{fill:t,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"}),e&&h().createElement(l.Fragment,null,h().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"}),h().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"}),h().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"}),h().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"}),h().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"}),h().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"}),h().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"})))}}o()(f,"propTypes",{className:c().string,width:c().number,height:c().number,showText:c().bool,logoColor:c().string}),o()(f,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),e.Z=f},2939:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5235),o=n.n(s),a=n(5162),c=n.n(a),l=n(3080);const h=Number(l.Z.smCols),u=Number(l.Z.mdCols),d=Number(l.Z.lgCols),p=t=>{var e,n,i,s,a,c,p,f,g,m,b,y,v,x,_;const{children:k,className:w}=t,S=Math.min(h,null!==(e=null==t?void 0:t.sm)&&void 0!==e?e:h),C=Math.min(h,null!==(n=null==t||null===(i=t.sm)||void 0===i?void 0:i.start)&&void 0!==n?n:0),E=Math.min(h,null!==(s=null==t||null===(a=t.sm)||void 0===a?void 0:a.end)&&void 0!==s?s:0),M=Math.min(u,null!==(c=null==t?void 0:t.md)&&void 0!==c?c:u),P=Math.min(u,null!==(p=null==t||null===(f=t.md)||void 0===f?void 0:f.start)&&void 0!==p?p:0),j=Math.min(u,null!==(g=null==t||null===(m=t.md)||void 0===m?void 0:m.end)&&void 0!==g?g:0),O=Math.min(d,null!==(b=null==t?void 0:t.lg)&&void 0!==b?b:d),T=Math.min(d,null!==(y=null==t||null===(v=t.lg)||void 0===v?void 0:v.start)&&void 0!==y?y:0),N=Math.min(d,null!==(x=null==t||null===(_=t.lg)||void 0===_?void 0:_.end)&&void 0!==x?x:0),A=o()(w,{[l.Z[`col-sm-${S}`]]:!(C&&E),[l.Z[`col-sm-${C}-start`]]:C>0,[l.Z[`col-sm-${E}-end`]]:E>0,[l.Z[`col-md-${M}`]]:!(P&&j),[l.Z[`col-md-${P}-start`]]:P>0,[l.Z[`col-md-${j}-end`]]:j>0,[l.Z[`col-lg-${O}`]]:!(T&&N),[l.Z[`col-lg-${T}-start`]]:T>0,[l.Z[`col-lg-${N}-end`]]:N>0});return r().createElement("div",{className:A},k)};p.proptypes={className:c().string,sm:c().oneOfType([c().number,c().shape({start:c().number,end:c().number})]),md:c().oneOfType([c().number,c().shape({start:c().number,end:c().number})]),lg:c().oneOfType([c().number,c().shape({start:c().number,end:c().number})]),children:c().node},e.Z=p},8218:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5235),o=n.n(s),a=n(5162),c=n.n(a),l=n(8730);const h=t=>{const{children:e,fluid:n,className:i}=t,s=`calc( var(--horizontal-spacing) * ${t.horizontalSpacing} )`,a={paddingTop:s,paddingBottom:s,rowGap:`calc( var(--horizontal-spacing) * ${t.horizontalGap} )`},c=o()(i,l.Z.container,{[l.Z.fluid]:n});return r().createElement("div",{className:c,style:a},e)};h.propTypes={fluid:c().bool,className:c().string,horizontalSpacing:c().number,horizontalGap:c().number,children:c().node},h.defaultProps={fluid:!1,horizontalGap:1,horizontalSpacing:1},e.Z=h},667:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5162),o=n.n(s),a=n(5609),c=n(8899),l=n(5736);n(9478);const __=l.__,h=t=>-1===t.fraction.indexOf("00"),u=t=>{const e=(0,c.LR)(t.priceBefore,t.currencyCode),n=(0,c.LR)(t.priceAfter,t.currencyCode);return r().createElement("div",{className:"jp-components__pricing-card"},t.icon&&r().createElement("div",{className:"jp-components__pricing-card__icon"},r().createElement("img",{src:t.icon,alt:(0,l.sprintf)(
+/* translators: placeholder is a product name */
+__("Icon for the product %s","jetpack-search-pkg"),t.title)})),r().createElement("h1",{className:"jp-components__pricing-card__title"},t.title),r().createElement("div",{className:"jp-components__pricing-card__pricing"},t.priceBefore!==t.priceAfter&&r().createElement("div",{className:"jp-components__pricing-card__price-before"},r().createElement("span",{className:"jp-components__pricing-card__currency"},e.symbol),r().createElement("span",{className:"jp-components__pricing-card__price"},e.integer),h(e)&&r().createElement("span",{className:"jp-components__pricing-card__price-decimal"}," ",e.fraction),r().createElement("div",{className:"jp-components__pricing-card__price-strikethrough"})),r().createElement("div",{className:"jp-components__pricing-card__price-after"},r().createElement("span",{className:"jp-components__pricing-card__currency"},n.symbol),r().createElement("span",{className:"jp-components__pricing-card__price"},n.integer),h(n)&&r().createElement("span",{className:"jp-components__pricing-card__price-decimal"},n.fraction)),r().createElement("span",{className:"jp-components__pricing-card__price-details"},t.priceDetails)),t.children&&r().createElement("div",{className:"jp-components__pricing-card__extra-content-wrapper"},t.children),t.ctaText&&r().createElement("div",{className:"jp-components__pricing-card__cta"},r().createElement(a.Button,{className:"jp-components__pricing-card__button",label:t.ctaText,onClick:t.onCtaClick},t.ctaText)),t.infoText&&r().createElement("div",{className:"jp-components__pricing-card__info"},t.infoText))};u.propTypes={title:o().string.isRequired,icon:o().string,priceBefore:o().number.isRequired,priceAfter:o().number.isRequired,priceDetails:o().string,currencyCode:o().string,ctaText:o().string,onCtaClick:o().func,infoText:o().oneOfType([o().string,o().object])},u.defaultProps={currencyCode:"USD",priceDetails:__("/month, paid yearly","jetpack-search-pkg")},e.Z=u},5033:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5162),o=n.n(s);n(1683);const a=t=>{const e=t.className+" jp-components-spinner",n={width:t.size,height:t.size,fontSize:t.size,borderTopColor:t.color},i={borderTopColor:t.color,borderRightColor:t.color};return r().createElement("div",{className:e},r().createElement("div",{className:"jp-components-spinner__outer",style:n},r().createElement("div",{className:"jp-components-spinner__inner",style:i})))};a.propTypes={color:o().string,className:o().string,size:o().number},a.defaultProps={color:"#FFFFFF",className:"",size:20},e.Z=a},9922:function(t,e,n){"use strict";function i(t,e,n,i){const r=new URL("https://wordpress.com/checkout/"),s=new URL(`${r}${e}/${t}`);return s.searchParams.set("redirect_to",n),i||s.searchParams.set("unlinked",1),s.searchParams.set("site",e),s.toString()}n.d(e,{Z:function(){return i}})},6324:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});n(3679);function i(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let i;var r;"undefined"!=typeof window&&(i=null===(r=window.Initial_State)||void 0===r?void 0:r.calypsoEnv);if(0===t.search("https://")){const e=new URL(t);t=`https://${e.host}${e.pathname}`,n.url=encodeURIComponent(t)}else n.source=encodeURIComponent(t);Object.keys(e).map((t=>{n[t]=encodeURIComponent(e[t])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),i&&(n.calypso_env=i);const s=Object.keys(n).map((t=>t+"="+n[t])).join("&");return"https://jetpack.com/redirect/?"+s}},1132:function(t,e,n){let i={};try{i=n(8420)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),i={missingConfig:!0}}const r=t=>i.hasOwnProperty(t);t.exports={jetpackConfigHas:r,jetpackConfigGet:t=>{if(!r(t))throw'This app requires the "'+t+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return i[t]}}},2458:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5162),o=n.n(s);const a=t=>{const{images:e,assetBaseUrl:n}=t;if(!e.length)return null;const i=e.map(((t,e)=>r().createElement(r().Fragment,{key:e},r().createElement("img",{src:n+t,alt:""}))));return r().createElement("div",{className:"jp-connection__connect-screen__image-slider"},i)};a.propTypes={images:o().arrayOf(o().string).isRequired,assetBaseUrl:o().string},a.defaultProps={assetBaseUrl:""},e.Z=a},8524:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5162),o=n.n(s),a=n(1202),c=n(2458);n(9610);const l=t=>{const{title:e,children:n,className:i,assetBaseUrl:s,images:o}=t,l=null==o?void 0:o.length;return r().createElement("div",{className:"jp-connection__connect-screen-layout"+(l?" jp-connection__connect-screen-layout__two-columns":"")+(i?" "+i:"")},r().createElement("div",{className:"jp-connection__connect-screen-layout__left"},r().createElement(a.Z,null),r().createElement("h2",null,e),n),l?r().createElement("div",{className:"jp-connection__connect-screen-layout__right"},r().createElement(c.Z,{images:o,assetBaseUrl:s})):null)};l.propTypes={title:o().string,className:o().string,images:o().arrayOf(o().string),assetBaseUrl:o().string},e.Z=l},7710:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5162),o=n.n(s),a=n(5736),c=n(4082),l=n(1294),h=n(8258);const __=a.__,u=t=>{const{title:e,autoTrigger:n,buttonLabel:i,apiRoot:s,apiNonce:o,registrationNonce:a,from:u,redirectUri:d,children:p,priceBefore:f,priceAfter:g,pricingIcon:m,pricingTitle:b,pricingCurrencyCode:y,wpcomProductSlug:v,siteProductAvailabilityHandler:x}=t,{handleRegisterSite:_,isRegistered:k,isUserConnected:w,siteIsRegistering:S,userIsConnecting:C,registrationError:E}=(0,l.Z)({registrationNonce:a,redirectUri:d,apiRoot:s,apiNonce:o,autoTrigger:n,from:u}),M=v||"",{run:P,hasCheckoutStarted:j}=(0,h.Z)({productSlug:M,redirectUrl:d,siteProductAvailabilityHandler:x,from:u}),O=!k||!w,T=Boolean(E),N=S||C||j,A=M?P:_;return r().createElement(c.Z,{title:e,buttonLabel:i,priceBefore:f,priceAfter:g,pricingIcon:m,pricingTitle:b,pricingCurrencyCode:y,handleButtonClick:A,showConnectButton:O,displayButtonError:T,buttonIsLoading:N},p)};u.propTypes={title:o().string,buttonLabel:o().string,apiRoot:o().string.isRequired,apiNonce:o().string.isRequired,registrationNonce:o().string.isRequired,from:o().string,redirectUri:o().string.isRequired,autoTrigger:o().bool,pricingTitle:o().string.isRequired,icon:o().string,priceBefore:o().number.isRequired,priceAfter:o().number.isRequired,pricingCurrencyCode:o().string,wpcomProductSlug:o().string,checkSiteHasWpcomProduct:o().func},u.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack-search-pkg"),buttonLabel:__("Set up Jetpack","jetpack-search-pkg"),pricingCurrencyCode:"USD",autoTrigger:!1},e.Z=u},4082:function(t,e,n){"use strict";var i=n(9196),r=n.n(i),s=n(5162),o=n.n(s),a=n(5736),c=n(6324),l=n(7121),h=n(667),u=n(9307),d=n(8524);n(2917);const __=a.__,p=t=>{const{title:e,buttonLabel:n,children:i,priceBefore:s,priceAfter:o,pricingIcon:a,pricingTitle:p,pricingCurrencyCode:f,isLoading:g,handleButtonClick:m,showConnectButton:b,displayButtonError:y,buttonIsLoading:v}=t,x=(0,u.createInterpolateElement)(__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack-search-pkg"),{tosLink:r().createElement("a",{href:(0,c.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:r().createElement("a",{href:(0,c.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),_=(0,u.createInterpolateElement)(__("Already have a subscription? <connectButton/>","jetpack-search-pkg"),{connectButton:r().createElement(l.Z,{label:__("Log in to get started","jetpack-search-pkg"),onClick:m,isLoading:v})});return r().createElement(d.Z,{title:e,className:"jp-connection__connect-screen-required-plan"+(g?" jp-connection__connect-screen-required-plan__loading":"")},r().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},i,r().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},r().createElement(h.Z,{title:p,icon:a,priceBefore:s,currencyCode:f,priceAfter:o,infoText:b?x:""},b&&r().createElement(l.Z,{label:n,onClick:m,displayError:y,isLoading:v}))),b&&r().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},_)))};p.propTypes={pricingTitle:o().string.isRequired,priceBefore:o().number.isRequired,priceAfter:o().number.isRequired,pricingCurrencyCode:o().string,title:o().string,buttonLabel:o().string,pricingIcon:o().string,isLoading:o().bool,handleButtonClick:o().func,showConnectButton:o().bool,displayButtonError:o().bool,buttonIsLoading:o().bool},p.defaultProps={pricingCurrencyCode:"USD",showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{}},e.Z=p},1294:function(t,e,n){"use strict";var i,r=n(9196),s=n(9818),o=n(4743),a=n(428);const c=null!==(i=window)&&void 0!==i&&i.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};e.Z=function(){let{registrationNonce:t=c.registrationNonce,apiRoot:e=c.apiRoot,apiNonce:n=c.apiNonce,redirectUri:i,autoTrigger:l,from:h,skipUserConnection:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:d,connectUser:p,refreshConnectedPlugins:f}=(0,s.useDispatch)(a.t),g=(0,s.useSelect)((t=>t(a.t).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:b,userConnectionData:y,connectedPlugins:v,isRegistered:x,isUserConnected:_,hasConnectedOwner:k}=(0,s.useSelect)((t=>({siteIsRegistering:t(a.t).getSiteIsRegistering(),userIsConnecting:t(a.t).getUserIsConnecting(),userConnectionData:t(a.t).getUserConnectionData(),connectedPlugins:t(a.t).getConnectedPlugins(),...t(a.t).getConnectionStatus()}))),w=()=>{u?i&&(window.location=i):p({from:h,redirectUri:i})},S=e=>{e&&e.preventDefault(),x?w():d({registrationNonce:t,redirectUri:i}).then((()=>{w()}))};return(0,r.useEffect)((()=>{o.ZP.setApiRoot(e),o.ZP.setApiNonce(n)}),[e,n]),(0,r.useEffect)((()=>{!l||m||b||S()}),[]),{handleRegisterSite:S,handleConnectUser:w,refreshConnectedPlugins:f,isRegistered:x,isUserConnected:_,siteIsRegistering:m,userIsConnecting:b,registrationError:g,userConnectionData:y,hasConnectedOwner:k,connectedPlugins:v}}},8258:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var i,r=n(9196),s=n(9818),o=n(4743),a=n(9922),c=n(428),l=n(1294);const{registrationNonce:h,apiRoot:u,apiNonce:d,siteSuffix:p}=null!==(i=window)&&void 0!==i&&i.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function f(){let{productSlug:t,redirectUrl:e,siteSuffix:n=p,siteProductAvailabilityHandler:i=null,from:f}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[g,m]=(0,r.useState)(!1),{registerSite:b}=(0,s.useDispatch)(c.t),{isUserConnected:y,isRegistered:v,handleConnectUser:x}=(0,l.Z)({redirectUri:e,from:f}),_=(0,a.Z)(t,n,e,y),k=()=>Promise.resolve(i&&i()).then((t=>{if(t)return x();window.location.href=_})),w=t=>{if(t&&t.preventDefault(),m(!0),v)return k();b({registrationNonce:h,redirectUri:e}).then(k)};return(0,r.useEffect)((()=>{o.ZP.setApiRoot(u),o.ZP.setApiNonce(d)}),[]),{run:w,isRegistered:v,hasCheckoutStarted:g}}},7523:function(t,e,n){"use strict";n.d(e,{LI:function(){return s},N4:function(){return a},T1:function(){return l},TS:function(){return h},ZP:function(){return x},i6:function(){return r},qV:function(){return c},r7:function(){return o},wQ:function(){return d}});var i=n(4743);const r="SET_CONNECTION_STATUS",s="SET_CONNECTION_STATUS_IS_FETCHING",o="SET_SITE_IS_REGISTERING",a="SET_USER_IS_CONNECTING",c="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",h="SET_AUTHORIZATION_URL",u="CONNECT_USER",d="SET_CONNECTED_PLUGINS",p=t=>({type:r,connectionStatus:t}),f=t=>({type:o,isRegistering:t}),g=t=>({type:a,isConnecting:t}),m=t=>({type:c,registrationError:t}),b=()=>({type:l}),y=t=>({type:h,authorizationUrl:t}),v=t=>({type:d,connectedPlugins:t});const x={setConnectionStatus:p,setConnectionStatusIsFetching:t=>({type:s,isFetching:t}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:t=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:t}),setSiteIsRegistering:f,setUserIsConnecting:g,setRegistrationError:m,clearRegistrationError:b,setAuthorizationUrl:y,registerSite:function*(t){let{registrationNonce:e,redirectUri:n}=t;yield b(),yield f(!0);try{const t=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:n};return yield p({isRegistered:!0}),yield y(t.authorizeUrl),yield f(!1),Promise.resolve(t)}catch(t){return yield m(t),yield f(!1),Promise.reject(t)}},connectUser:function*(){let{from:t,redirectFunc:e,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield g(!0),yield{type:u,from:t,redirectFunc:e,redirectUri:n}},setConnectedPlugins:v,refreshConnectedPlugins:()=>async t=>{let{dispatch:e}=t;return await new Promise((t=>i.ZP.fetchConnectedPlugins().then((n=>{e(v(n)),t(n)}))))}}},1432:function(t,e,n){"use strict";var i=n(4743),r=n(9818),s=n(428);const o=(0,r.createRegistryControl)((t=>{let{resolveSelect:e}=t;return function(){let{from:t,redirectFunc:n,redirectUri:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((r,o)=>{e(s.t).getAuthorizationUrl(i).then((e=>{const i=n||(t=>window.location.assign(t)),s=new URL(e);t&&s.searchParams.set("from",encodeURIComponent(t));const o=s.toString();i(o),r(o)})).catch((t=>{o(t)}))}))}}));e.Z={FETCH_AUTHORIZATION_URL:t=>{let{redirectUri:e}=t;return i.ZP.fetchAuthorizationUrl(e)},REGISTER_SITE:t=>{let{registrationNonce:e,redirectUri:n}=t;return i.ZP.registerSite(e,n)},CONNECT_USER:o}},1479:function(t,e,n){"use strict";var i=n(9818),r=n(7523);const s=(0,i.combineReducers)({connectionStatus:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===r.i6?{...t,...e.connectionStatus}:t},connectionStatusIsFetching:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.LI?e.isFetching:t},siteIsRegistering:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.r7?e.isRegistering:t},userIsConnecting:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.N4?e.isConnecting:t},registrationError:(t,e)=>{switch(e.type){case r.T1:return!1;case r.qV:return e.registrationError;default:return t}},authorizationUrl:(t,e)=>e.type===r.TS?e.authorizationUrl:t,userConnectionData:(t,e)=>(e.type,t),connectedPlugins:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===r.wQ?e.connectedPlugins:t}});e.Z=s},7728:function(t,e,n){"use strict";var i=n(9818),r=n(7523),s=n(428);const o={getAuthorizationUrl:{isFulfilled:function(t){const e=Boolean(t.authorizationUrl);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];const a=(0,i.select)(s.t).hasFinishedResolution("getAuthorizationUrl",r);return e&&!a&&(0,i.dispatch)(s.t).finishResolution("getAuthorizationUrl",r),e},*fulfill(t){const e=yield r.ZP.fetchAuthorizationUrl(t);yield r.ZP.setAuthorizationUrl(e.authorizeUrl)}}};e.Z={...o}},2725:function(t,e){"use strict";const n={getConnectionStatus:t=>t.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:t=>t.siteIsRegistering||!1,getUserIsConnecting:t=>t.userIsConnecting||!1,getRegistrationError:t=>t.registrationError||!1,getAuthorizationUrl:t=>t.authorizationUrl||!1,getUserConnectionData:t=>t.userConnectionData||!1,getConnectedPlugins:t=>t.connectedPlugins||[]};e.Z=n},3535:function(t,e,n){"use strict";var i=n(8294),r=n.n(i),s=n(9818);class o{static mayBeInit(t,e){null===o.store&&(o.store=(0,s.createReduxStore)(t,e),(0,s.register)(o.store))}}r()(o,"store",null),e.Z=o},428:function(t,e,n){"use strict";n.d(e,{t:function(){return l}});var i=n(1479),r=n(7523),s=n(2725),o=n(7728),a=n(1432),c=n(3535);const l="jetpack-connection",h=window.JP_CONNECTION_INITIAL_STATE;h||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,{__experimentalUseThunks:!0,reducer:i.Z,actions:r.ZP,selectors:s.Z,resolvers:o.Z,controls:a.Z,initialState:h||{}})},4855:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(8294),r=n.n(i),s=n(5844),o=n.n(s),a=n(9196),c=n.n(a),l=n(5235),h=n.n(l),u=n(6697),d=n.n(u);class p extends c().Component{render(){const t=this.props.href?"a":"button",{primary:e,compact:n,scary:i,borderless:r,className:s,...o}=this.props,a=h()({"dops-button":!0,"is-compact":n,"is-primary":e,"is-scary":i,"is-borderless":r});return o.className=h()(s,a),c().createElement(t,o,this.props.children)}}r()(p,"displayName","Button"),r()(p,"propTypes",{disabled:o().bool,compact:o().bool,primary:o().bool,scary:o().bool,type:o().string,href:o().string,onClick:o().func,borderless:o().bool,className:o().string}),r()(p,"defaultProps",{disabled:!1,type:"button",onClick:d(),borderless:!1})},8195:function(t,e,n){"use strict";var i=n(8294),r=n.n(i),s=n(5844),o=n.n(s),a=n(9196),c=n.n(a),l=n(5235),h=n.n(l),u=n(2515),d=n.n(u),p=n(8520),f=n.n(p),g=n(900);class m extends c().Component{constructor(){super(...arguments),r()(this,"_renderWithTitle",(()=>{const t="dops-card-section-orient-"+(this.props.vertical?"vertical":"horizontal");return c().createElement("div",{className:t},c().createElement("h4",{ref:"label",className:"dops-card-section-label"},this.props.title),c().createElement("div",{ref:"content",className:"dops-card-section-content"},this.props.children))}))}render(){return c().createElement("div",{className:h()("dops-card-section",this.props.className),style:this.props.style},this.props.title?this._renderWithTitle():this.props.children)}}r()(m,"propTypes",{title:o().any,vertical:o().any,style:o().object,className:o().string,device:o().oneOf(["desktop","tablet","phone"])}),r()(m,"defaultProps",{vertical:null});class b extends c().Component{render(){return c().createElement("div",{className:"dops-card-footer"},this.props.children)}}class y extends c().Component{constructor(){super(...arguments),r()(this,"_renderIcon",(()=>c().createElement("span",{className:"dops-card-icon",style:{color:this.props.iconColor}},this.props.icon&&c().createElement(g.Z,{icon:this.props.icon,style:{backgroundColor:this.props.iconColor}}),this.props.iconLabel)))}render(){const t=h()("dops-card",this.props.className,{"is-card-link":!!this.props.href,"is-compact":this.props.compact}),e=["compact","tagName","meta","iconColor"];let n,i;return this.props.href?n=c().createElement(g.Z,{className:"dops-card__link-indicator",icon:this.props.target?"external":"chevron-right"}):e.push("href","target"),this.props.title&&(i=c().createElement("h2",{className:"dops-card-title"},this.props.title,this.props.meta&&c().createElement("span",{className:"dops-card-meta"},this.props.meta),(this.props.icon||this.props.iconLabel)&&this._renderIcon())),c().createElement(this.props.href?"a":this.props.tagName,d()(f()(this.props,e),{className:t}),n,i,this.props.children)}}r()(y,"propTypes",{meta:o().any,icon:o().string,iconLabel:o().any,iconColor:o().string,style:o().object,className:o().string,href:o().string,onClick:o().func,title:o().string,tagName:o().string,target:o().string,compact:o().bool,children:o().node}),r()(y,"defaultProps",{iconColor:"#787878",className:"",tagName:"div",onClick:()=>{}}),y.Section=m,y.Footer=b,e.Z=y},2341:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(9196),r=n.n(i),s=n(9818),o=n(6975),a=n(4743),c=n(7011),l=n(2897),h=n(8625),u=n(9700),d=n(1164);function p(){const{isFullyConnected:t}=(0,c.Z)();return(0,i.useMemo)((()=>{const t=(0,s.select)(l.t).getAPIRootUrl(),e=(0,s.select)(l.t).getAPINonce();t&&a.ZP.setApiRoot(t),e&&a.ZP.setApiNonce(e),(()=>{const t=(0,s.select)(l.t).getWpcomUser(),e=(0,s.select)(l.t).getBlogId();t&&o.Z.initialize(t.ID,t.login,{blog_id:e})})(),o.Z.tracks.recordEvent("jetpack_search_admin_page_view",{current_version:(0,s.select)(l.t).getVersion()})}),[]),r().createElement(r().Fragment,null,!t&&r().createElement(h.Z,null),t&&r().createElement(f,null))}function f(){(0,s.useSelect)((t=>t(l.t).getSearchPlanInfo()),[]);const t=(0,s.useSelect)((t=>t(l.t).supportsSearch())),e=(0,s.useSelect)((t=>t(l.t).isResolving("getSearchPlanInfo")||!t(l.t).hasStartedResolution("getSearchPlanInfo")));return r().createElement(r().Fragment,null,t&&r().createElement(d.Z,{isLoading:e}),!t&&r().createElement(u.Z,{isLoading:e}))}},2668:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var i=n(2402),r=n.n(i),s=n(8294),o=n.n(s),a=n(9196),c=n.n(a),l=n(5235),h=n.n(l),u=n(8520),d=n.n(u),p=n(6450);class f extends c().Component{render(){return c().createElement(p.Z,r()({},d()(this.props,"className"),{className:h()(this.props.className,"is-compact")}),this.props.children)}}o()(f,"displayName","CompactFormToggle")},6450:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var i=n(8294),r=n.n(i),s=n(5844),o=n.n(s),a=n(9196),c=n.n(a),l=n(5235),h=n.n(l);class u extends a.Component{constructor(){super(...arguments),r()(this,"state",{}),this.onKeyDown=this.onKeyDown.bind(this),this.onClick=this.onClick.bind(this),this.onLabelClick=this.onLabelClick.bind(this)}UNSAFE_componentWillMount(){this.id=this.constructor.idNum++}onKeyDown(t){this.props.disabled||("Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.props.onChange()),this.props.onKeyDown(t))}onClick(){this.props.disabled||this.props.onChange()}onLabelClick(t){if(this.props.disabled)return;const e=t.target.nodeName.toLowerCase();"a"!==e&&"input"!==e&&"select"!==e&&(t.preventDefault(),this.props.onChange())}render(){const t=this.props.id||"toggle-"+this.id,e=h()("form-toggle",this.props.className,{"is-toggling":this.props.toggling});return c().createElement(a.Fragment,null,c().createElement("div",{className:h()("form-toggle__switch-container",this.props.switchClassNames)},c().createElement("input",{className:e,type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),c().createElement("span",{className:h()("form-toggle__switch",this.props.switchClassNames),disabled:this.props.disabled,id:t,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"checkbox","aria-checked":this.props.checked,"aria-label":this.props["aria-label"],tabIndex:this.props.disabled?-1:0,ref:"toggleSwitch"})),c().createElement("label",{className:h()("form-toggle__label",this.props.labelClassNames),htmlFor:t},c().createElement("span",{className:h()("form-toggle__label-content",this.props.labelClassNames),onClick:this.onLabelClick},this.props.children)))}}r()(u,"propTypes",{onChange:o().func,onKeyDown:o().func,checked:o().bool,disabled:o().bool,id:o().string,className:o().string,toggling:o().bool,"aria-label":o().string,children:o().node,disabledReason:o().node,switchClassNames:o().string,labelClassNames:o().string}),r()(u,"defaultProps",{checked:!1,disabled:!1,onKeyDown:()=>{},onChange:()=>{},disabledReason:""}),r()(u,"idNum",0)},9268:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var i=n(9196),r=n.n(i),s=n(4034),o=n(8448);function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{handleLocalNoticeDismissClick:null,notices:Object.freeze([])};const e=t.notices.map((function(e){const n=e=>()=>{e&&t.handleLocalNoticeDismissClick(e.id)};return r().createElement(s.Z,{key:"notice-"+e.id,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:n(e),showDismiss:e.showDismiss},e.button&&r().createElement(o.Z,{href:e.href,onClick:n(e)},e.button))}));return e.length?r().createElement("div",{id:t.id,className:"global-notices"},e):null}},3459:function(t,e,n){"use strict";n.d(e,{Iz:function(){return p},MQ:function(){return f},RT:function(){return h},b3:function(){return o},mF:function(){return a},tF:function(){return u}});var i=n(5348),r=n.n(i),s=n(5736);const __=s.__,o="CREATE_NOTICE",a="REMOVE_NOTICE";function c(t,e){var n;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s={id:i.id||r()(),duration:null!==(n=i.duration)&&void 0!==n?n:2e3,showDismiss:"boolean"!=typeof i.showDismiss||i.showDismiss,isPersistent:i.isPersistent||!1,displayOnNextPage:i.displayOnNextPage||!1,status:t,text:e};return{type:o,notice:s}}function l(t){return{type:a,notice:{id:t}}}const h=c.bind(null,"is-success"),u=c.bind(null,"is-error"),d=(c.bind(null,"is-info"),c.bind(null,"is-warning")),p=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:__("Updating settings…","jetpack-search-pkg");return c("is-info",t,{duration:3e4,id:"search-updating-settings"})},f=()=>l("search-updating-settings");e.ZP={createNotice:c,removeNotice:l,successNotice:h,errorNotice:u,warningNotice:d,updatingNotice:p,removeUpdatingNotice:f}},2963:function(t,e,n){"use strict";var i=n(3459);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{notices:[]},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case i.b3:return{...t,notices:[...t.notices,e.notice]};case i.mF:return{...t,notices:t.notices.filter((t=>t.id!==e.notice.id))}}return t}},5260:function(t,e){"use strict";e.Z={getNotices:t=>{var e;return null!==(e=t.notices.notices)&&void 0!==e?e:[]}}},7430:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(9196),r=n.n(i),s=n(5033);function o(){return r().createElement(s.Z,{className:"jp-search-dashboard-page-loading-spinner",color:"#000",size:32})}},943:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var i=n(9196),r=n.n(i),s=n(7387),o=n(24);function a(t){let{supportsInstantSearch:e=!0,supportsOnlyClassicSearch:n=!1}=t;const a=n&&!e;return r().createElement(i.Fragment,null,a&&r().createElement(o.Z,null),!a&&r().createElement(s.Z,null))}},7387:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(9196),r=n.n(i),s=n(5736),o=n(900),a=n(6332);const __=s.__;function c(){return r().createElement("div",{className:"jp-mocked-instant-search","aria-hidden":"true"},r().createElement("div",{className:"jp-mocked-instant-search__search-controls"},r().createElement("div",{className:"jp-mocked-instant-search__search-icon"},r().createElement(o.Z,{icon:"search",size:24})),r().createElement("div",{className:"jp-mocked-instant-search__search-mock-input"},r().createElement(a.Z,{style:{height:"50px",width:"80%",maxWidth:"212px"}})),r().createElement("div",{className:"jp-mocked-instant-search__close-button"},r().createElement(o.Z,{icon:"cross",size:24}))),r().createElement("div",{className:"jp-mocked-instant-search__search-results"},r().createElement("div",{className:"jp-mocked-instant-search__search-results-primary"},r().createElement("div",{className:"jp-mocked-instant-search__search-results-header"},r().createElement("div",{className:"jp-mocked-instant-search__result-statistics"},
+/* translators: %s is replaced with the number of search results */
+(0,s.sprintf)(__("Found %s results","jetpack-search-pkg"),"27")),r().createElement("div",{className:"jp-mocked-instant-search__result-sort-list"},r().createElement("span",{className:"jp-mocked-instant-search__result-sort-selected"},__("Relevance","jetpack-search-pkg")),r().createElement("span",null,"·"),r().createElement("span",null,__("Newest","jetpack-search-pkg")),r().createElement("span",null,"·"),r().createElement("span",null,__("Oldest","jetpack-search-pkg")))),r().createElement("div",{className:"jp-mocked-instant-search__search-results-content"},Array.apply(null,Array(3)).map(((t,e)=>r().createElement("div",{className:"jp-mocked-instant-search__search-result",key:e},r().createElement(a.Z,{style:{height:"2.5em",width:"50%",maxWidth:"200px",margin:"0.1em 0.1em 1em 0.1em"}}),r().createElement(a.Z,{style:{height:"1em",width:"90%",margin:"0.1em"}}),r().createElement(a.Z,{style:{height:"1em",width:"70%",margin:"0.1em"}})))))),r().createElement("div",{className:"jp-mocked-instant-search__search-results-secondary"},r().createElement("div",{className:"jp-mocked-instant-search__search-filter-header"},__("Filter options","jetpack-search-pkg")),r().createElement("div",{className:"jp-mocked-instant-search__search-filter-list"},Array.apply(null,Array(2)).map(((t,e)=>r().createElement("div",{className:"jp-mocked-instant-search__search-filter",key:e},r().createElement("label",null,r().createElement("input",{type:"checkbox",disabled:"disabled"})," ",r().createElement(a.Z,{style:{width:"30%"}})))))))))}},24:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var i=n(9196),r=n.n(i),s=n(900),o=n(6332);function a(){return r().createElement("div",{className:"jp-mocked-legacy-search","aria-hidden":"true"},r().createElement("div",{className:"jp-mocked-legacy-search__search-controls"},r().createElement("div",{className:"jp-mocked-legacy-search__search-icon"},r().createElement(s.Z,{icon:"search",size:24})),r().createElement("div",{className:"jp-mocked-legacy-search__search-input"},r().createElement(o.Z,{style:{height:"50px",width:"80%",maxWidth:"212px"}}))))}},6332:function(t,e,n){"use strict";var i=n(9196),r=n.n(i);e.Z=t=>r().createElement("div",{className:"jp-search-dashboard__text-row-placeholder",style:{display:"inline-block",borderRadius:"10px",maxHeight:"1.5em",width:"100%",height:"1em",backgroundColor:"#E9EFF3",...t.style}})},2794:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var i=n(9196),r=n.n(i),s=n(5235),o=n.n(s),a=n(5736),c=n(9307),l=n(6975),h=n(6324),u=n(4855),d=n(8195),p=n(2668),f=n(7436);const __=a.__,g=__("Jetpack Search is an incredibly powerful and customizable replacement for the search capability built into WordPress that helps your visitors find the right content.","jetpack-search-pkg"),m=__("Instant search will allow your visitors to get search results as soon as they start typing. If deactivated, Jetpack Search will still optimize your search results but visitors will have to submit a search query before seeing any results.","jetpack-search-pkg");function b(t){let{siteAdminUrl:e,updateOptions:n,domain:s,isSavingEitherOption:b,isModuleEnabled:y,isInstantSearchEnabled:v,isInstantSearchPromotionActive:x,upgradeBillPeriod:_,supportsOnlyClassicSearch:k,supportsSearch:w,supportsInstantSearch:S,isTogglingModule:C,isTogglingInstantSearch:E}=t;const M=b||!y||!v||!S,P=b||!y,j=encodeURIComponent(e+"admin.php?page=jetpack-search"),O=(0,h.Z)("monthly"===_?"jetpack-search-monthly":"jetpack-search",{site:s}),T=(0,i.useCallback)((()=>{const t={module_active:!y};v!==!y&&(t.instant_search_enabled=!y&&S),n(t),l.Z.tracks.recordEvent("jetpack_search_module_toggle",t)}),[S,y,n,v]),N=(0,i.useCallback)((()=>{const t={instant_search_enabled:S&&!v};t.instant_search_enabled&&(t.module_active=!0),n(t),l.Z.tracks.recordEvent("jetpack_search_instant_toggle",t)}),[S,v,n]);return r().createElement("div",{className:"jp-form-settings-group jp-form-search-settings-group"},r().createElement(d.Z,{className:o()({"jp-form-has-child":!0,"jp-form-settings-disable":!1})},r().createElement("div",{className:"jp-form-search-settings-group-inside"},r().createElement("div",{className:"jp-form-search-settings-group__toggle is-search jp-search-dashboard-wrap"},r().createElement("div",{className:"jp-search-dashboard-row"},r().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),r().createElement(p.Z,{checked:y&&w,disabled:b||!w,onChange:T,toggling:C,className:"is-search-admin",switchClassNames:"lg-col-span-1 md-col-span-1 sm-col-span-1",labelClassNames:" lg-col-span-7 md-col-span-5 sm-col-span-3","aria-label":__("Enable Jetpack Search","jetpack-search-pkg")},__("Enable Jetpack Search","jetpack-search-pkg")),r().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),r().createElement("div",{className:"jp-search-dashboard-row"},r().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),r().createElement("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3"},r().createElement("p",{className:"jp-form-search-settings-group__toggle-explanation"},g)),r().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}))),r().createElement("div",{className:"jp-form-search-settings-group__toggle is-instant-search jp-search-dashboard-wrap"},r().createElement("div",{className:"jp-search-dashboard-row"},r().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),r().createElement(p.Z,{checked:y&&v&&S,disabled:b||!S,onChange:N,toggling:E,className:"is-search-admin",switchClassNames:"lg-col-span-1 md-col-span-1 sm-col-span-1",labelClassNames:" lg-col-span-7 md-col-span-5 sm-col-span-3","aria-label":__("Enable instant search experience (recommended)","jetpack-search-pkg")},(0,c.createInterpolateElement)(__("Enable instant search experience <span>(recommended)</span>","jetpack-search-pkg"),{span:r().createElement("span",null)}))),r().createElement("div",{className:"jp-search-dashboard-row"},r().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),r().createElement("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3"},S&&r().createElement(i.Fragment,null,r().createElement("p",{className:"jp-form-search-settings-group__toggle-explanation"},m)),!S&&x&&r().createElement(f.Z,{href:O,upgrade:k})),r().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),S&&r().createElement("div",{className:"jp-form-search-settings-group-buttons jp-search-dashboard-row"},r().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),r().createElement(u.Z,{className:"jp-form-search-settings-group-buttons__button is-customize-search lg-col-span-4 md-col-span-5 sm-col-span-3",href:M?void 0:(0,a.sprintf)("admin.php?page=jetpack-search-configure",j),disabled:M},r().createElement("span",null,__("Customize search results","jetpack-search-pkg"))),r().createElement("div",{className:"lg-col-span-0 md-col-span-1 sm-col-span-0"}),r().createElement("div",{className:"lg-col-span-0 md-col-span-2 sm-col-span-1"}),r().createElement(u.Z,{className:"jp-form-search-settings-group-buttons__button is-widgets-editor lg-col-span-3 md-col-span-5 sm-col-span-3",href:P?void 0:(0,a.sprintf)("widgets.php",j),disabled:P},r().createElement("span",null,__("Edit sidebar widgets","jetpack-search-pkg"))),r().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}))))))}},4034:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var i=n(8294),r=n.n(i),s=n(5844),o=n.n(s),a=n(9196),c=n.n(a),l=n(5235),h=n.n(l),u=n(6697),d=n.n(u),p=n(900);class f extends c().Component{constructor(){super(...arguments),r()(this,"dismissTimeout",null),r()(this,"getIcon",(()=>{let t;switch(this.props.status){case"is-info":default:t="info";break;case"is-success":t="checkmark";break;case"is-error":case"is-warning":t="notice"}return t})),r()(this,"clearText",(t=>"string"==typeof t?t.replace(/(<([^>]+)>)/gi,""):t)),r()(this,"onKeyDownCallback",(t=>e=>{13!==e.which&&32!==e.which||t&&t(e)}))}componentDidMount(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}componentWillUnmount(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}render(){const{children:t,className:e,icon:n,isCompact:i,onDismissClick:r,showDismiss:s=!i,status:o,text:a,dismissText:l}=this.props,u=h()("dops-notice",o,e,{"is-compact":i,"is-dismissable":s});return c().createElement("div",{className:u},c().createElement("span",{className:"dops-notice__icon-wrapper"},c().createElement(p.Z,{className:"dops-notice__icon",icon:n||this.getIcon(),size:24})),c().createElement("span",{className:"dops-notice__content"},c().createElement("span",{className:"dops-notice__text"},a?this.clearText(a):t)),a?t:null,s&&c().createElement("span",{role:"button",onKeyDown:this.onKeyDownCallback(r),tabIndex:"0",className:"dops-notice__dismiss",onClick:r},c().createElement(p.Z,{icon:"cross",size:24}),c().createElement("span",{className:"dops-notice__screen-reader-text screen-reader-text"},l)))}}r()(f,"displayName","SimpleNotice"),r()(f,"defaultProps",{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:d()}),r()(f,"propTypes",{status:o().string,showDismiss:o().bool,isCompact:o().bool,duration:o().number,text:o().oneOfType([o().oneOfType([o().string,o().node]),o().arrayOf(o().oneOfType([o().string,o().node]))]),icon:o().string,onDismissClick:o().func,className:o().string})},8448:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(8294),r=n.n(i),s=n(5844),o=n.n(s),a=n(9196),c=n.n(a),l=n(900);class h extends c().Component{render(){const t={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(t.target="_blank"),c().createElement("a",t,c().createElement("span",null,this.props.children),this.props.icon&&c().createElement(l.Z,{icon:this.props.icon,size:24}),this.props.external&&c().createElement(l.Z,{icon:"external",size:24}))}}r()(h,"displayName","NoticeAction"),r()(h,"propTypes",{href:o().string,onClick:o().func,external:o().bool,icon:o().string}),r()(h,"defaultProps",{external:!1})},8625:function(t,e,n){"use strict";n.d(e,{Z:function(){return g}});var i=n(9196),r=n.n(i),s=n(9818),o=n(6324),a=n(3244),c=n(8218),l=n(2939),h=n(7710),u=n(5736),d=n(7430),p=n(6204),f=n(2897);const __=u.__;function g(t){let{isLoading:e=!1}=t;(0,s.useSelect)((t=>t(f.t).getSearchPricing()),[]);const n=(0,s.useSelect)((t=>t(f.t).getAPINonce()),[]),u=(0,s.useSelect)((t=>t(f.t).getAPIRootUrl()),[]),g=(0,s.useSelect)((t=>t(f.t).getPriceBefore()),[]),m=(0,s.useSelect)((t=>t(f.t).getPriceAfter()),[]),b=(0,s.useSelect)((t=>t(f.t).getPriceCurrencyCode()),[]),y=(0,s.useSelect)((t=>t(f.t).getRegistrationNonce()),[]),{fetchSearchPlanInfo:v}=(0,s.useDispatch)(f.t),x=(0,i.useCallback)((()=>v().then((t=>null==t?void 0:t.supports_search))),[v]),_=(0,s.useSelect)((t=>t(f.t).isResolving("getSearchPricing")||!t(f.t).hasStartedResolution("getSearchPricing")||e),[e]);return r().createElement(r().Fragment,null,_&&r().createElement(d.Z,null),!_&&r().createElement("div",{className:"jp-search-dashboard-connection-screen"},r().createElement(a.Z,null,r().createElement(c.Z,{horizontalSpacing:3,horizontalGap:3},r().createElement(l.Z,{lg:12,md:8,sm:4},r().createElement(h.Z,{buttonLabel:__("Get Jetpack Search","jetpack-search-pkg"),priceAfter:m/12,priceBefore:g/12,pricingCurrencyCode:b,pricingIcon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='%23000'/%3E%3C/svg%3E",pricingTitle:__("Jetpack Search","jetpack-search-pkg"),title:__("The best WordPress search experience","jetpack-search-pkg"),apiRoot:u,apiNonce:n,registrationNonce:y,from:"jetpack-search",redirectUri:"admin.php?page=jetpack-search",wpcomProductSlug:"jetpack_search",siteProductAvailabilityHandler:x},r().createElement(p.Z,null))),r().createElement(l.Z,{lg:12,md:8,sm:4},r().createElement("div",{className:"jp-search-dashboard-connection-footer"},r().createElement("p",{className:"jp-search-dashboard-connection-footer__text"},__("Special introductory pricing, all renewals are at full price. 14 day money back guarantee.","jetpack-search-pkg")),r().createElement("p",{className:"jp-search-dashboard-connection-footer__text"},"*"," ",__("Pricing will automatically adjust based on the number of records in your search index.","jetpack-search-pkg")," ",r().createElement("a",{href:(0,o.Z)("search-product-pricing"),className:"jp-search-dashboard-connection-footer__link"},__("Learn more","jetpack-search-pkg")))))))))}},1164:function(t,e,n){"use strict";n.d(e,{Z:function(){return g}});var i=n(9196),r=n.n(i),s=n(9818),o=n(5736),a=n(1202),c=n(2392),l=n(2794),h=n(943),u=n(2897),d=n(9268),p=n(8904),f=n(7430);const __=o.__;function g(t){let{isLoading:e=!1}=t;(0,s.useSelect)((t=>t(u.t).getSearchPlanInfo()),[]),(0,s.useSelect)((t=>t(u.t).getSearchModuleStatus()),[]),(0,s.useSelect)((t=>t(u.t).getSearchStats()),[]);const n=(0,s.useSelect)((t=>t(u.t).isResolving("getSearchModuleStatus")||!t(u.t).hasStartedResolution("getSearchModuleStatus")||t(u.t).isResolving("getSearchStats")||!t(u.t).hasStartedResolution("getSearchStats")||t(u.t).isResolving("getSearchPlanInfo")||!t(u.t).hasStartedResolution("getSearchPlanInfo")||e),[e]),i=(0,s.useSelect)((t=>t(u.t).getSiteAdminUrl())),o=i+"admin.php?page=jetpack_about",g=(0,s.useDispatch)(u.t).updateJetpackSettings,m=(0,s.useSelect)((t=>t(u.t).isInstantSearchPromotionActive())),b=(0,s.useSelect)((t=>t(u.t).getCalypsoSlug())),y=(0,s.useSelect)((t=>t(u.t).getUpgradeBillPeriod())),v=(0,s.useSelect)((t=>t(u.t).supportsOnlyClassicSearch())),x=(0,s.useSelect)((t=>t(u.t).supportsSearch())),_=(0,s.useSelect)((t=>t(u.t).supportsInstantSearch())),k=(0,s.useSelect)((t=>t(u.t).isModuleEnabled())),w=(0,s.useSelect)((t=>t(u.t).isInstantSearchEnabled())),S=(0,s.useSelect)((t=>t(u.t).isUpdatingJetpackSettings())),C=(0,s.useSelect)((t=>t(u.t).isTogglingModule())),E=(0,s.useSelect)((t=>t(u.t).isTogglingInstantSearch())),M=(0,s.useSelect)((t=>t(u.t).getTierMaximumRecords())),P=(0,s.useSelect)((t=>t(u.t).getPostCount())),j=(0,s.useSelect)((t=>t(u.t).getPostTypeBreakdown())),O=(0,s.useSelect)((t=>t(u.t).getLastIndexedDate())),T=(0,s.useDispatch)(u.t).removeNotice,N=(0,s.useSelect)((t=>t(u.t).getNotices()),[]),A=(0,s.useSelect)((t=>t(u.t).isFeatureEnabled("record-meter")));return r().createElement(r().Fragment,null,n&&r().createElement(f.Z,null),!n&&r().createElement("div",{className:"jp-search-dashboard-page"},r().createElement("div",{className:"jp-search-dashboard-header jp-search-dashboard-wrap"},r().createElement("div",{className:"jp-search-dashboard-row"},r().createElement("div",{className:"lg-col-span-12 md-col-span-8 sm-col-span-4"},r().createElement("div",{className:"jp-search-dashboard-header__logo-container"},r().createElement(a.Z,{className:"jp-search-dashboard-header__masthead"}))))),r().createElement("div",{className:"jp-search-dashboard-top jp-search-dashboard-wrap"},r().createElement("div",{className:"jp-search-dashboard-row"},r().createElement("div",{className:"jp-search-dashboard-top__title lg-col-span-6 md-col-span-7 sm-col-span-4"},r().createElement("h1",null,__("Help your visitors find exactly what they're looking for, fast","jetpack-search-pkg"))),r().createElement("div",{className:" lg-col-span-6 md-col-span-1 sm-col-span-0"})),r().createElement("div",{className:"jp-search-dashboard-row","aria-hidden":"true"},r().createElement("div",{className:"lg-col-span-1 md-col-span-1 sm-col-span-0"}),r().createElement("div",{className:"jp-search-dashboard-top__mocked-search-interface lg-col-span-10 md-col-span-6 sm-col-span-4"},r().createElement(h.Z,{supportsInstantSearch:_,supportsOnlyClassicSearch:v})),r().createElement("div",{className:"lg-col-span-1 md-col-span-1 sm-col-span-0"}))),A&&r().createElement(p.Z,{postCount:P,postTypeBreakdown:j,tierMaximumRecords:M,lastIndexedDate:O}),r().createElement("div",{className:"jp-search-dashboard-bottom"},r().createElement(l.Z,{siteAdminUrl:i,updateOptions:g,domain:b,isInstantSearchPromotionActive:m,upgradeBillPeriod:y,supportsOnlyClassicSearch:v,supportsSearch:x,supportsInstantSearch:_,isModuleEnabled:k,isInstantSearchEnabled:w,isSavingEitherOption:S,isTogglingModule:C,isTogglingInstantSearch:E})),r().createElement("div",{className:"jp-search-dashboard-footer jp-search-dashboard-wrap"},r().createElement("div",{className:"jp-search-dashboard-row"},r().createElement(c.Z,{a8cLogoHref:o,moduleName:__("Jetpack Search","jetpack-search-pkg"),className:"lg-col-span-12 md-col-span-8 sm-col-span-4"}))),r().createElement(d.Z,{notices:N,handleLocalNoticeDismissClick:T})))}},9700:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var i=n(9196),r=n.n(i),s=n(5736),o=n(9818),a=n(1163),c=n(3244),l=n(8218),h=n(2939),u=n(667),d=n(2897),p=n(3070),f=n(6204),g=n(7430);const __=s.__;function m(t){let{isLoading:e=!1}=t;(0,o.useSelect)((t=>t(d.t).getSearchPricing()),[]);const n=(0,o.useSelect)((t=>t(d.t).isResolving("getSearchPricing")||!t(d.t).hasStartedResolution("getSearchPricing")||e),[e]),s=(0,o.useSelect)((t=>t(d.t).getPriceBefore()/12),[]),m=(0,o.useSelect)((t=>t(d.t).getPriceAfter()/12),[]),b=(0,o.useSelect)((t=>t(d.t).getPriceCurrencyCode()),[]),y=(0,o.useSelect)((t=>t(d.t).getCalypsoSlug()),[]),v=(0,o.useSelect)((t=>t(d.t).getSiteAdminUrl()),[]),x=(0,i.useCallback)((()=>{window.location.href=(0,p.Z)({siteSuffix:y,redirectUrl:`${v}admin.php?page=jetpack-search`})}),[y,v]),_=__("14 day money back guarantee.","jetpack-search-pkg"),k=__("Special introductory pricing, all renewals are at full price. 14 day money back guarantee.","jetpack-search-pkg");return r().createElement(r().Fragment,null,n&&r().createElement(g.Z,null),!n&&r().createElement("div",{className:"jp-search-dashboard-upsell-page"},r().createElement(a.Z,{withHeader:!0,withFooter:!0,moduleName:__("Jetpack Search","jetpack-search-pkg"),a8cLogoHref:"https://www.jetpack.com"},r().createElement(c.Z,null,r().createElement(l.Z,{horizontalSpacing:3,horizontalGap:3},r().createElement(h.Z,{lg:6,md:6,sm:4},r().createElement("h1",null,__("The best WordPress search experience","jetpack-search-pkg")),r().createElement(f.Z,null)),r().createElement(h.Z,{lg:1,md:1,sm:0}),r().createElement(h.Z,{lg:5,md:6,sm:4},r().createElement(u.Z,{ctaText:__("Get Jetpack Search","jetpack-search-pkg"),icon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='%23000'/%3E%3C/svg%3E",infoText:m===s?_:k,onCtaClick:x,priceAfter:m,priceBefore:s,pricingCurrencyCode:b,title:__("Jetpack Search","jetpack-search-pkg")})))))))}},529:function(t,e,n){"use strict";n.d(e,{v:function(){return c}});n(3679);var i=n(9196),r=n.n(i),s=n(3807),o=n(5736);const __=o.__,a={type:"bar",options:{layout:{padding:{left:-10}},borderRadius:100,borderSkipped:"middle",indexAxis:"y",maintainAspectRatio:!1,aspectRatio:1.3,barThickness:24,scales:{x:{stacked:!0,grid:{display:!1,drawBorder:!1},ticks:{display:!1}},y:{stacked:!0,grid:{display:!1,drawBorder:!1},ticks:{display:!1}}},plugins:{title:{display:!1},subtitle:{display:!1},legend:{display:!1,labels:{filter:function(t){return!t.text.includes(__("remaining","jetpack-search-pkg"))}}}}}};class c extends r().Component{constructor(t){super(t),this.canvasRef=r().createRef()}componentDidMount(){this.myChart=new s.Z(this.canvasRef.current,{...a,data:{labels:[""],datasets:this.props.data.map((t=>t.data))}}),this.forceUpdate()}getLegendItems(){var t,e;return null!==(t=null===(e=this.myChart)||void 0===e?void 0:e.legend.legendItems)&&void 0!==t?t:[]}render(){var t,e;return!1===this.props.isValid?null:r().createElement("div",{className:"jp-search-bar-chart"},r().createElement("div",{className:"jp-search-bar-chart__container"},r().createElement("canvas",{ref:this.canvasRef},r().createElement("p",null,__("Text alternative for this chart is in the data table below","jetpack-search-pkg")),r().createElement("table",{border:"0",cellPadding:"5",summary:"This is the text alternative for the canvas graphic."},r().createElement("caption",null,__("Records Indexed for Jetpack Search","jetpack-search-pkg")),r().createElement("tbody",null,r().createElement("tr",null,r().createElement("th",{scope:"col"},__("Post type","jetpack-search-pkg")),(null===(t=this.state)||void 0===t?void 0:t.legendItems.length)&&this.state.legendItems.map((t=>r().createElement("th",{key:t.text,scope:"col"},t.text)))),r().createElement("tr",null,r().createElement("th",{scope:"row"},__("Record count","jetpack-search-pkg")),(null===(e=this.state)||void 0===e?void 0:e.legendItems.length)&&this.state.legendItems.map((t=>r().createElement("td",{key:t.text},this.props.data[t.datasetIndex].data.data)))))))),r().createElement("div",{className:"jp-search-chart-legend__container"},r().createElement("ul",{className:"jp-search-chart-legend"},this.getLegendItems().map((t=>{var e,n;const i=null===(e=this.props.data[t.datasetIndex])||void 0===e||null===(n=e.data)||void 0===n?void 0:n.data,s=Array.isArray(i)?i[0]:null;return r().createElement("li",{key:t.text},r().createElement("div",{className:"jp-search-chart-legend__box",style:{backgroundColor:t.fillStyle}}),r().createElement("span",{className:"jp-search-chart-legend__label",children:t.text}),r().createElement("span",{className:"jp-search-chart-legend__count"},"(","number"==typeof s?s.toLocaleString():s,")"))})))))}}},8904:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(9196),r=n.n(i),s=n(5736),o=n(529),a=n(1299),c=n(1307),l=n(439);const __=s.__;function h(t){let{postCount:e,postTypeBreakdown:n,tierMaximumRecords:s,lastIndexedDate:h}=t;const[u,d]=(0,i.useState)((0,l.ZP)(e,n,s,h));return r().createElement("div",{className:"jp-search-record-meter jp-search-dashboard-wrap","data-testid":"record-meter"},r().createElement("div",{className:"jp-search-dashboard-row"},r().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),r().createElement("div",{className:"jp-search-record-meter__content lg-col-span-8 md-col-span-6 sm-col-span-4"},r().createElement("h2",null,
+/* translators: 'Your search index' is a breakdown of the site's indexed post type content,
+ such as the number of indexed posts, pages etc. */
+__("Your search index","jetpack-search-pkg")),r().createElement("div",null,r().createElement(a.D,{recordCount:u.recordCount,tierMaximumRecords:s}),r().createElement(o.v,{data:u.data,isValid:u.isValid,postTypeBreakdown:n}),r().createElement(c.f,{recordCount:u.recordCount,tierMaximumRecords:s,hasBeenIndexed:u.hasBeenIndexed,hasValidData:u.hasValidData,hasItems:u.hasItems}))),r().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})))}},439:function(t,e,n){"use strict";n.d(e,{ZP:function(){return s}});var i=n(5736);const __=i.__,r=n(550);function s(t,e,n,i){const s=[],c=[];let l=0,h=!0,u=!0,d=!0;"object"==typeof e&&"string"==typeof i||(h=!1),void 0!==i&&void 0!==t||(u=!1);const p=h&&u?Object.keys(e).length:0;0===p&&(d=!1);const f=[r.colors["Blue 30"],r.colors["Orange 30"],r.colors["WooCommerce Purple 30"],r.colors["Green 30"],r.colors["Yellow 30"]];if(p>0&&h&&u){for(let t=0;t<p;t++){const n=Object.values(e)[t],{count:i,slug:r}=n;c.push({data:a(i,f[t],r)}),l+=i}const t=function(t,e,n){t.sort(((t,e)=>t.data.data[0]<e.data.data[0]?1:-1));const i=n<=e?n:e;return{includedItems:t.slice(0,i),otherItems:t.slice(i,e)}}(c,p,5);for(const e in t.includedItems)s.push({data:a(t.includedItems[e].data.data[0],f[e],t.includedItems[e].data.label)});t.otherItems.length>0&&s.push({data:a(o(t.otherItems),r.colors["Gray 30"],"other")}),"number"==typeof n&&n-l>0&&s.push({data:a(n-l,r.colors["Gray 0"],__("remaining","jetpack-search-pkg"))})}return{data:s,recordCount:l,hasBeenIndexed:u,hasValidData:h,hasItems:d,isValid:u&&h&&d}}function o(t){let e=0;for(const n in t)e=t[n].data.data[0]+e;return e}function a(t,e,n){return{data:[t],label:n,backgroundColor:e}}},1307:function(t,e,n){"use strict";n.d(e,{f:function(){return l}});n(3679);var i=n(9196),r=n.n(i),s=n(5736),o=n(4034),a=n(8448);const __=s.__,c="jetpack-search-dismissed-notices";function l(t){var e;const n=[],l=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{1:{id:1,message:__("Search was unable to locate your content. Jetpack's servers ran into a problem when trying to communicate with your site, which is needed for Search to work properly.","jetpack-search-pkg"),isImportant:!0},2:{id:2,message:__("Your content has not yet been indexed for Search","jetpack-search-pkg")},3:{id:3,message:__("We weren't able to locate any content for Search to index. Perhaps you don't yet have any posts or pages?","jetpack-search-pkg")},4:{id:4,message:(0,s.sprintf)(// translators: %s: site's current plan record limit
+__("You recently surpassed %d records and will be automatically upgraded to the next billing tier <p> learn more <p>","jetpack-search-pkg"),t),link:{text:__("learn more","jetpack-search-pkg"),url:"https://jetpack.com/support/search/product-pricing/"}},5:{id:5,message:(0,s.sprintf)(// translators: %s: site's current plan record limit
+__("You're close to the max amount of records for this billing tier. Once you hit %s indexed records, you'll automatically be billed for <br> the next tier <p> learn more <p>","jetpack-search-pkg"),t),link:{text:__("learn more","jetpack-search-pkg"),url:"https://jetpack.com/support/search/product-pricing/"}}}}(t.tierMaximumRecords),[h,u]=(0,i.useState)(!0),d=null!==(e=sessionStorage.getItem(c))&&void 0!==e?e:"";if(!1===t.hasValidData&&!d.includes("1")&&n.push("1"),!1===t.hasBeenIndexed&&!d.includes("2")&&n.push("2"),!1===t.hasItems&&!d.includes("3")&&n.push("3"),"number"==typeof t.tierMaximumRecords&&t.recordCount>t.tierMaximumRecords&&!d.includes("4")&&n.push("4"),"number"==typeof t.tierMaximumRecords&&t.recordCount>.8*t.tierMaximumRecords&&t.recordCount<t.tierMaximumRecords&&!d.includes("5")&&n.push("5"),n.length<1||!h)return null;const p=l[n[0]],f=p.isImportant?"jp-search-notice-box jp-search-notice-box__important":"jp-search-notice-box";return r().createElement(o.Z,{isCompact:!1,status:"is-info",className:f,onDismissClick:()=>{u(!1),d.includes(p.id)||sessionStorage.setItem(c,d+p.id)}},p.message,p.link&&r().createElement(a.Z,{href:p.link.url,external:!0},p.link.text))}},1299:function(t,e,n){"use strict";n.d(e,{D:function(){return a}});var i=n(9196),r=n.n(i),s=n(5736),o=n(9307);const __=s.__;function a(t){var e,n;if(!t.recordCount)return null;const i="number"==typeof t.recordCount?null===(e=t.recordCount)||void 0===e?void 0:e.toLocaleString():t.recordCount,a="number"==typeof t.tierMaximumRecords?null===(n=t.tierMaximumRecords)||void 0===n?void 0:n.toLocaleString():t.tierMaximumRecords;let c;return c=a?(0,o.createInterpolateElement)((0,s.sprintf)(// translators: %1$s: site's current record count, %2$s: record limit of the current plan
+__("<s>%1$s</s> records indexed out of the <s>%2$s</s> allotted for your current plan","jetpack-search-pkg"),i,a),{s:r().createElement("strong",null)}):(0,o.createInterpolateElement)((0,s.sprintf)(// translators: %1$s: site's current record count, %2$s: record limit of the current plan
+__("<s>%1$s</s> records indexed","jetpack-search-pkg"),i),{s:r().createElement("strong",null)}),r().createElement("div",{"data-testid":"record-count",className:"jp-search-record-count"},r().createElement("p",null,c))}},6204:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(9196),r=n.n(i),s=n(5736);const __=s.__;function o(){return r().createElement("div",{className:"jp-search-dashboard-promotion"},r().createElement("h3",null,__("Allow viewers to search through your site's records, lightning fast.","jetpack-search-pkg")),r().createElement("ul",{className:"jp-product-promote"},r().createElement("li",null,__("Customizable filtering","jetpack-search-pkg")),r().createElement("li",null,__("Support for 29 languages","jetpack-search-pkg")),r().createElement("li",null,__("Content displayed within results is updated in real-time","jetpack-search-pkg")),r().createElement("li",null,__("If you grow into a new pricing tier, we'll let you know before your next billing cycle","jetpack-search-pkg")),r().createElement("li",null,__("Best-in-class support","jetpack-search-pkg"))))}},7436:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(9196),r=n.n(i),s=n(5736);const __=s.__;function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{upgrade:!0};return r().createElement("a",{className:"jp-instant-search-upsell-nudge jp-search-dashboard-cut",href:t.href},r().createElement("span",null,__("Offer instant search results to your visitors as soon as they start typing. ","jetpack-search-pkg")),r().createElement("span",null,t.upgrade&&r().createElement("b",null,__("Upgrade to Jetpack Instant Search now","jetpack-search-pkg")),!t.upgrade&&r().createElement("b",null,__("Purchase Jetpack Instant Search now","jetpack-search-pkg"))))}},7011:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(9818),r=n(428);function s(){const t=(0,i.useSelect)((t=>t(r.t).getConnectionStatus()),[]);return{connectionStatus:t,isFullyConnected:Object.keys(t).length&&t.isUserConnected&&t.isRegistered}}},8210:function(t,e,n){"use strict";var i=n(1862),r=n(8385),s=n(5867),o=n(3459),a=n(8552);const c={...i.ZP,...r.ZP,...s.ZP,...o.ZP,...a.ZP};e.Z=c},1862:function(t,e,n){"use strict";n.d(e,{dz:function(){return h},ff:function(){return u}});var i=n(1962),r=n.n(i),s=n(9818),o=n(5736),a=n(7029),c=n(3459),l=n(2897);const __=o.__,h="SET_JETPACK_SETTINGS";function u(t){return{type:h,options:t}}e.ZP={updateJetpackSettings:function*(t){try{yield(0,c.Iz)(),yield u({is_updating:!0}),yield u(t),yield(0,a.RF)(t);const e=yield(0,a.es)();return yield u(e),(0,c.RT)(__("Updated settings.","jetpack-search-pkg"))}catch(t){const e=r()((0,s.select)(l.t).getSearchModuleStatus(),["module_active","instant_search_enabled"]);return yield u(e),(0,c.tF)(__("Error Update settings…","jetpack-search-pkg"))}finally{yield(0,c.MQ)(),yield u({is_updating:!1})}},setJetpackSettings:u}},8552:function(t,e,n){"use strict";n.d(e,{Hb:function(){return i},l0:function(){return r}});const i="SET_SEARCH_PRICING";function r(t){return{type:"SET_SEARCH_PRICING",options:t}}e.ZP={setSearchPricing:r}},8385:function(t,e,n){"use strict";n.d(e,{$w:function(){return r},og:function(){return s}});var i=n(7029);const r="SET_SEARCH_PLAN_INFO";function s(t){return{type:"SET_SEARCH_PLAN_INFO",options:t}}e.ZP={setSearchPlanInfo:s,fetchSearchPlanInfo:i.FZ}},5867:function(t,e,n){"use strict";n.d(e,{Em:function(){return i},XV:function(){return r}});const i="SET_SEARCH_STATS";function r(t){return{type:"SET_SEARCH_STATS",options:t}}e.ZP={setSearchStats:r}},7029:function(t,e,n){"use strict";n.d(e,{FZ:function(){return u},RF:function(){return h},UP:function(){return p},Yt:function(){return d},es:function(){return l}});var i=n(4743);const r="FETCH_JETPACK_SETTINGS",s="UPDATE_JETPACK_SETTINGS",o="FETCH_SEARCH_PLAN_INFO",a="FETCH_SEARCH_STATS",c="FETCH_SEARCH_PRICING",l=()=>({type:r}),h=t=>({type:s,settings:t});function*u(){return yield{type:o}}const d=()=>({type:a}),p=()=>({type:c});e.ZP={[r]:function(){return i.ZP.fetchSearchSettings()},[s]:function(t){return i.ZP.updateSearchSettings(t.settings)},[o]:function(){return i.ZP.fetchSearchPlanInfo()},[a]:function(){return i.ZP.fetchSearchStats()},[c]:function(){return i.ZP.fetchSearchPricing()}}},2897:function(t,e,n){"use strict";n.d(e,{i:function(){return l},t:function(){return c}});var i=n(7529),r=n(8210),s=n(8869),o=n(5440),a=n(7029);const c="jetpack-search-plugin",l={reducer:i.Z,actions:r.Z,selectors:s.Z,resolvers:o.ZP,controls:a.ZP,initialState:window.JETPACK_SEARCH_DASHBOARD_INITIAL_STATE||{}}},3326:function(t,e){"use strict";e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t}},7529:function(t,e,n){"use strict";var i=n(9818),r=n(5934),s=n(6819),o=n(3784),a=n(8006),c=n(460),l=n(3326),h=n(2963),u=n(4628);const d=(0,i.combineReducers)({siteData:r.Z,jetpackSettings:o.Z,sitePlan:a.Z,siteStats:c.Z,userData:s.Z,features:l.Z,notices:h.Z,searchPricing:u.Z});e.Z=d},3784:function(t,e,n){"use strict";var i=n(1862);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===i.dz?{...t,...e.options,is_toggling_module:t.module_active!==e.options.module_active&&!!e.options.is_updating,is_toggling_instant_search:t.instant_search_enabled!==e.options.instant_search_enabled&&!!e.options.is_updating}:t}},4628:function(t,e,n){"use strict";var i=n(8552);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===i.Hb?{...t,...e.options}:t}},5934:function(t,e){"use strict";e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t}},8006:function(t,e,n){"use strict";var i=n(8385);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===i.$w?{...t,...e.options}:t}},460:function(t,e,n){"use strict";var i=n(5867);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===i.Em?{...t,...e.options}:t}},6819:function(t,e){"use strict";e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t}},5440:function(t,e,n){"use strict";var i=n(5736),r=n(7029),s=n(1862),o=n(8385),a=n(5867),c=n(3459),l=n(8552);const __=i.__;e.ZP={getSearchModuleStatus:function*(){try{const t=yield(0,r.es)();if(t)return(0,s.ff)(t)}catch(t){return(0,c.tF)(__("Error fetching settings…","jetpack-search-pkg"))}},getSearchPlanInfo:function*(){try{const t=yield(0,r.FZ)();if(t)return(0,o.og)(t)}catch(t){return(0,c.tF)(__("Error fetching search plan…","jetpack-search-pkg"))}},getSearchStats:function*(){try{const t=yield(0,r.Yt)();if(t)return(0,a.XV)(t)}catch(t){return(0,c.tF)(__("Error fetching search stats","jetpack-search-pkg"))}},getSearchPricing:function*(){try{const t=yield(0,r.UP)();if(t)return(0,l.l0)(t)}catch(t){}}}},6770:function(t,e,n){"use strict";n(3679);const i={isFeatureEnabled:(t,e)=>Array.isArray(t.features)&&t.features.includes(e)};e.Z=i},8869:function(t,e,n){"use strict";var i=n(5101),r=n(362),s=n(1957),o=n(5614),a=n(5260),c=n(6770),l=n(4220),h=n(741);const u={...i.Z,...r.Z,...s.Z,...o.Z,...a.Z,...c.Z,...l.Z,...h.Z};e.Z=u},362:function(t,e){"use strict";e.Z={getSearchModuleStatus:t=>t.jetpackSettings,isModuleEnabled:t=>t.jetpackSettings.module_active,isInstantSearchEnabled:t=>t.jetpackSettings.instant_search_enabled,isUpdatingJetpackSettings:t=>t.jetpackSettings.is_updating,isTogglingModule:t=>t.jetpackSettings.is_toggling_module,isTogglingInstantSearch:t=>t.jetpackSettings.is_toggling_instant_search}},741:function(t,e){"use strict";e.Z={getSearchPricing:t=>t.searchPricing,getPriceBefore:t=>{var e;return null!==(e=t.searchPricing.full_price)&&void 0!==e?e:0},getPriceAfter:t=>{var e;return null!==(e=t.searchPricing.discount_price)&&void 0!==e?e:0},getPriceCurrencyCode:t=>{var e;return null!==(e=t.searchPricing.currency_code)&&void 0!==e?e:"USD"}}},5101:function(t,e){"use strict";e.Z={getAPIRootUrl:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.WP_API_root)&&void 0!==e?e:null},getAPINonce:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.WP_API_nonce)&&void 0!==e?e:null},getRegistrationNonce:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.registrationNonce)&&void 0!==e?e:null},getSiteAdminUrl:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.adminUrl)&&void 0!==e?e:null},isInstantSearchPromotionActive:t=>{var e,n;return null===(e=null===(n=t.siteData)||void 0===n?void 0:n.showPromotions)||void 0===e||e},getBlogId:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.blogId)&&void 0!==e?e:0},getVersion:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.version)&&void 0!==e?e:"development"},getCalypsoSlug:t=>{var e;return null===(e=t.siteData)||void 0===e?void 0:e.calypsoSlug}}},1957:function(t,e){"use strict";e.Z={getSearchPlanInfo:t=>t.sitePlan,hasBusinessPlan:t=>t.sitePlan.supports_only_classic_search,hasActiveSearchPurchase:t=>t.sitePlan.supports_instant_search,supportsInstantSearch:t=>t.sitePlan.supports_instant_search,supportsOnlyClassicSearch:t=>t.sitePlan.supports_only_classic_search,getUpgradeBillPeriod:t=>{var e;return null===(e=t.sitePlan)||void 0===e?void 0:e.default_upgrade_bill_period},supportsSearch:t=>t.sitePlan.supports_instant_search||t.sitePlan.supports_only_classic_search,getTierMaximumRecords:t=>t.sitePlan.tier_maximum_records}},4220:function(t,e){"use strict";e.Z={getSearchStats:t=>t.siteStats,getPostCount:t=>{var e;return null===(e=t.siteStats)||void 0===e?void 0:e.post_count},getPostTypeBreakdown:t=>{var e;return null===(e=t.siteStats)||void 0===e?void 0:e.post_type_breakdown},getLastIndexedDate:t=>{var e;return null===(e=t.siteStats)||void 0===e?void 0:e.last_indexed_date}}},5614:function(t,e){"use strict";e.Z={getWpcomUser:t=>{var e,n;return null===(e=t.userData)||void 0===e||null===(n=e.currentUser)||void 0===n?void 0:n.wpcomUser}}},3070:function(t,e,n){"use strict";function i(t){let{product:e="jetpack_search",isUserConnected:n=!0,siteSuffix:i,redirectUrl:r=""}=t;const s=new URL("https://wordpress.com/checkout/"),o=new URL(`${s}${i}/${e}`);return o.searchParams.set("redirect_to",r),n||o.searchParams.set("unlinked",1),o.searchParams.set("site",i),o.toString()}n.d(e,{Z:function(){return i}})},8420:function(t){"use strict";if(void 0==={consumer_slug:"jetpack-search"}){var e=new Error('Cannot find module \'{"consumer_slug":"jetpack-search"}\'');throw e.code="MODULE_NOT_FOUND",e}t.exports={consumer_slug:"jetpack-search"}},9196:function(t){"use strict";t.exports=window.React},1850:function(t){"use strict";t.exports=window.ReactDOM},2819:function(t){"use strict";t.exports=window.lodash},5609:function(t){"use strict";t.exports=window.wp.components},9818:function(t){"use strict";t.exports=window.wp.data},9307:function(t){"use strict";t.exports=window.wp.element},5736:function(t){"use strict";t.exports=window.wp.i18n},6483:function(t){"use strict";t.exports=window.wp.url},550:function(t){"use strict";t.exports=JSON.parse('{"version":"2.5.0","colors":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var s=e[i]={id:i,loaded:!1,exports:{}};return t[i](s,s.exports,n),s.loaded=!0,s.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},function(){"use strict";var t=n(1850),e=n.n(t),i=n(9196),r=n.n(i),s=n(9818),o=n(2897),a=n(2341);const c=(0,s.createReduxStore)(o.t,o.i);function l(){const t=document.getElementById("jp-search-dashboard");null!==t&&e().render(r().createElement(a.Z,null),t)}(0,s.register)(c),"loading"!==document.readyState?l():document.addEventListener("DOMContentLoaded",l)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js.LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js.LICENSE.txt
new file mode 100644
index 00000000..3a638bad
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js.LICENSE.txt
@@ -0,0 +1,20 @@
+/*
+ * Exposes number format capability
+ *
+ * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
+ * @license See CREDITS.md
+ * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
+ */
+
+/*!
+ Copyright (c) 2018 Jed Watson.
+ Licensed under the MIT License (MIT), see
+ http://jedwatson.github.io/classnames
+*/
+
+/*!
+ * Chart.js v3.7.1
+ * https://www.chartjs.org
+ * (c) 2022 Chart.js Contributors
+ * Released under the MIT License
+ */
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.rtl.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.rtl.css
new file mode 100644
index 00000000..969e1d52
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.rtl.css
@@ -0,0 +1 @@
+.jp-search-dashboard-page-loading-spinner{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}@keyframes rotate-spinner{to{transform:rotate(-1turn)}}.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 transparent;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-left-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.jp-search-dashboard-promotion h1{font-size:var(--font-title-large);font-weight:600;line-height:1.2}.jp-search-dashboard-promotion ul.jp-product-promote li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-right:30px}.jp-search-dashboard-connection-screen{align-items:center;background:var(--jp-white-off);display:flex;width:100%}.jp-search-dashboard-connection-screen>div{width:100%}.jp-search-dashboard-connection-screen .jp-components__pricing-card .components-spinner{margin:0}.jp-search-dashboard-connection-screen .jp-search-dashboard-connection-footer__text{color:#3c434a;font-size:10.5px;font-weight:400;letter-spacing:-.02em;margin:0;text-align:center}.jp-search-dashboard-connection-screen .jp-search-dashboard-connection-footer__link{color:#3c434a}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:70%}.jp-connection__connect-screen-required-plan{background:linear-gradient(270deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{position:absolute;right:62%;top:14%}}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__with-subscription{margin-top:38px}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button{display:inline}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);font:inherit;height:auto;line-height:20px;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-left-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-action-button--button{background:#000}.jp-action-button--button,.jp-action-button--button.components-button{border-radius:4px;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:600;height:40px;line-height:18px;min-width:264px;text-align:center}.jp-action-button__error{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIgc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMyA3aC0ydjZoMlY3Wk0xMyAxNWgtMnYyaDJ2LTJaIiBmaWxsPSIjRDYzNjM5Ii8+PC9zdmc+) no-repeat 100% 0;color:var(--jp-red)!important;line-height:25px!important;padding-right:25px}.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px rgba(0,0,0,.08)}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:25px}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-right:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--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-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-10:#f2cf75;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--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 );--jp-border-radius:4px;--jp-menu-border-height:1px;--jp-underline-thickness:2px}.jp-wrap{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.jp-row{grid-gap:24px;display:grid;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 var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;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:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px rgba(0,0,0,.08);max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-left:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;position:absolute;right:0;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px}.vMa4i_Dza2t5Zi_Bw9Nf{background:var(--jp-white-off)}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1128px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;max-width:var(--max-container-width);width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.jp-search-dashboard-upsell-page{line-height:1.5;width:100%}.jp-search-dashboard-upsell-page h1{line-height:1.2}.jp-search-dashboard-upsell-page>div{margin-right:0}.sexr0jUxC1jVixdKiDnC{margin-right:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-right:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-right:5px}.dops-button{-webkit-appearance:none;appearance:none;background:#f6f7f7;border:1px solid #2271b1;border-radius:3px;box-sizing:border-box;color:#2271b1;cursor:pointer;display:inline-block;font-size:.875rem;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:top}.dops-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.dops-button:disabled,.dops-button[disabled]{background:#fff;border-color:#eee;color:#eee;cursor:default}.dops-button:focus{background:#fff;border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}.dops-button.is-compact{line-height:2;padding:0 10px}.dops-button.is-compact:disabled{color:#eee}.dops-button.is-compact .gridicon{margin-top:-8px;top:4px}.dops-button.is-compact .gridicons-plus-small{margin-right:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-right:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-right:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}.dops-button.is-primary{background:#3582c4;border-color:#3582c4;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{background:#2271b1;border-color:#2271b1;color:#fff}.dops-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background-color:#008ec2!important;border-color:#008ec2!important;box-shadow:none!important;color:#66c6e4!important;cursor:default;text-shadow:none!important}.dops-button.is-primary.is-compact{color:#fff;white-space:nowrap}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{border-color:#eee;color:#f4cdcd}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#888;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#414141}.dops-button.is-borderless:focus{box-shadow:none}.dops-accessible-focus .dops-button.is-borderless:focus{outline:thin dotted}.dops-button.is-borderless .gridicon{height:24px;top:6px;width:24px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{background:#fff;color:#eee;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{height:18px;top:5px;width:18px}.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-left:48px}h2.dops-card-title{font-size:rem(20px)}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;left:16px;position:absolute;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.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)}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;right:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__switch:hover{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:not(:disabled)+.form-toggle__switch:hover{background:#78dcfa}.form-toggle:disabled+span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__switch:after{right:8px}.jp-instant-search-upsell-nudge{color:#000;cursor:pointer;font-size:1em;text-decoration:none}.jp-instant-search-upsell-nudge:hover{color:#000}.jp-form-search-settings-group{width:100%}.jp-form-search-settings-group .dops-card{box-shadow:none;padding:4em 0 0}.jp-form-search-settings-group .form-toggle__label{margin:0}.jp-form-search-settings-group__toggle.is-instant-search{margin-top:4em}.jp-form-search-settings-group__toggle .jp-form-search-settings-group__toggle-container{display:flex}@media(max-width:960px){.jp-form-search-settings-group__toggle .jp-form-search-settings-group__toggle-container{justify-content:center}}.form-toggle__label-content{font-size:1.5em;font-weight:600;line-height:1.167}.form-toggle__label-content span{font-weight:400}.jp-form-search-settings-group__toggle-description{margin-top:1em}p.jp-form-search-settings-group__toggle-explanation{font-size:1em;font-weight:400;line-height:1.5;margin-bottom:0;margin-top:0}.jp-form-search-settings-group-buttons.jp-search-dashboard-row{margin-top:1.5em}.jp-form-search-settings-group-buttons__button{align-items:center;border-color:#000;display:flex;font-size:1em;justify-content:center;min-height:2.5em;padding:.5em 1.5em;text-align:center}.jp-form-search-settings-group-buttons__button.is-customize-search{background-color:#000;color:#fff}.jp-form-search-settings-group-buttons__button:disabled,.jp-form-search-settings-group-buttons__button[disabled]{background-color:#dcdcde;border-color:#dcdcde;color:#a7aaad;cursor:not-allowed}.jp-form-search-settings-group-buttons__button.is-widgets-editor{background:transparent;color:#000}.jp-form-search-settings-group-buttons__button.is-widgets-editor:disabled,.jp-form-search-settings-group-buttons__button.is-widgets-editor[disabled]{background:transparent;color:#a7aaad}.form-toggle.is-search-admin.is-compact+.form-toggle__switch{background:#fff;border:2px solid #000;border-radius:.75em;height:1.5em;width:3em}.form-toggle.is-search-admin.is-compact+.form-toggle__switch:after,.form-toggle.is-search-admin.is-compact+.form-toggle__switch:before{background-color:#000;height:.9375em;width:.9375em}.form-toggle.is-search-admin.is-compact+.form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle.is-search-admin.is-compact:checked+.form-toggle__switch{background:#069e08;border-color:#069e08}.form-toggle.is-search-admin.is-compact:checked+.form-toggle__switch:after{background-color:#fff;right:1.5em}.form-toggle.is-search-admin.is-compact.is-toggling+.form-toggle__switch:after,.form-toggle.is-search-admin.is-compact.is-toggling+.form-toggle__switch:before{right:1.5em}.form-toggle.is-search-admin.is-compact.is-toggling:checked+.form-toggle__switch:after,.form-toggle.is-search-admin.is-compact.is-toggling:checked+.form-toggle__switch:before{right:0}.jp-search-dashboard-cut{border:2px solid #069e08;border-radius:4px;display:block;margin:2em 0;padding:1em 1.5em 1em 4em;position:relative;text-decoration:none}.jp-search-dashboard-cut span{display:block}.jp-search-dashboard-cut span:last-of-type{font-weight:600}.jp-search-dashboard-cut:focus span:last-of-type,.jp-search-dashboard-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:2px}.jp-search-dashboard-cut:focus:after,.jp-search-dashboard-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-search-dashboard-cut:after{color:#069e08;content:"→";font-size:1.5em;font-weight:600;left:1.5em;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-search-dashboard-row .form-toggle__switch-container.sm-col-span-1{display:flex;justify-content:center;padding-top:4px}.jp-mocked-instant-search{background:#fff;border-radius:3px;box-shadow:0 5px 25px rgba(0,0,0,.35);font-size:.75em;height:100%;margin:0 auto;overflow:hidden;user-select:none;width:100%}.jp-mocked-instant-search__search-controls{align-items:center;border-bottom:1px solid #e6f1f5;display:flex;flex-flow:row nowrap;justify-content:space-between}.jp-mocked-instant-search__search-icon{align-items:center;display:flex;height:60px;justify-content:center;width:60px}@media(max-width:660px){.jp-mocked-instant-search__search-icon{height:45px;width:45px}}.jp-mocked-instant-search__search-mock-input{width:calc(100% - 120px)}.jp-mocked-instant-search__close-button{align-items:center;background-color:transparent!important;border-right:1px solid #e6f1f5;display:flex;height:60px;justify-content:center;line-height:1;width:60px}.jp-mocked-instant-search__close-button svg.gridicon{fill:#646970}@media(max-width:660px){.jp-mocked-instant-search__close-button{height:45px;width:45px}}.jp-mocked-instant-search__search-results{display:flex;height:100%;position:relative}.jp-mocked-instant-search__search-results-primary{padding:1em 4em;width:100%}@media(min-width:661px){.jp-mocked-instant-search__search-results-primary{max-width:calc(100% - 220px)}}@media(max-width:660px){.jp-mocked-instant-search__search-results-primary{padding:2em}}.jp-mocked-instant-search__search-results-header{align-items:center;display:flex;flex-flow:row wrap;justify-content:space-between}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-statistics{font-size:1em;font-weight:700}@media(max-width:480px){.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-statistics{width:100%}}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list span{font-size:1em;margin-right:.5em}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list span:first-child{margin-right:0}.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list .jp-mocked-instant-search__result-sort-selected{color:#069e08}@media(max-width:480px){.jp-mocked-instant-search__search-results-header .jp-mocked-instant-search__result-sort-list{width:100%}}.jp-mocked-instant-search__search-result{margin-top:1em}.jp-mocked-instant-search__search-results-secondary{background:none;border-radius:0;border-right:1px solid #e6f1f5;bottom:0;box-shadow:none;display:block;flex:none;padding-right:2em;padding-top:1em;position:static;width:220px}@media(max-width:660px){.jp-mocked-instant-search__search-results-secondary{display:none}}.jp-mocked-instant-search__search-filter-header{font-weight:700}.jp-mocked-instant-search__search-filter label{cursor:default}.jp-mocked-instant-search__search-filter label input[type=checkbox]{border:1px solid #e6e6fa;border-radius:5px;cursor:default}.jp-mocked-instant-search__search-filter span{background-color:#e6e6fa;display:inline-block;line-height:1.35;margin-right:1em;width:50em}.jp-mocked-instant-search__search-filter input[type=checkbox]{height:1em;width:1em}.jp-mocked-instant-search__search-filter-list{margin-top:1em}.jp-mocked-legacy-search{border-radius:3px;margin:0 auto;user-select:none;width:100%}.jp-mocked-legacy-search__search-controls{background:#fff;box-shadow:0 5px 25px rgba(0,0,0,.35);display:flex;flex-flow:row nowrap;width:100%}.jp-mocked-legacy-search__search-icon{align-items:center;display:flex;height:60px;justify-content:center;width:60px}.jp-mocked-legacy-search__search-input{align-items:center;display:flex;width:100%}#jp-plugin-container{min-height:100vh}.dops-notice{animation:appear .3s ease-in-out;background:#414141;border-radius:3px;box-sizing:border-box;color:#fff;display:flex;line-height:1.5;margin-bottom:24px;position:relative;width:100%}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#3582c4}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{align-items:baseline;align-self:stretch;background:#747474;border-radius:0 3px 3px 0;color:#fff;display:flex;flex-shrink:0;justify-content:center;width:47px}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media(min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content.dops-notice__content{flex-grow:1;font-size:12px;padding:13px}@media(min-width:481px){.dops-notice__content.dops-notice__content{font-size:14px}}.dops-notice__content.dops-notice__content a{color:#fff;text-decoration:underline}.dops-notice__content.dops-notice__content a:hover,.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{color:#fff;text-decoration:underline}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-right:0}.dops-notice__text li{margin-right:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-right:.428em}.dops-notice__dismiss{cursor:pointer;flex-shrink:0;padding:12px 12px 0}.dops-notice__dismiss .gridicon{height:18px;width:18px}@media(min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{height:24px;width:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{align-items:center;color:#bbb;cursor:pointer;display:flex;font-size:12px;font-weight:400;padding:13px;text-decoration:none;white-space:nowrap}@media(min-width:481px){a.dops-notice__action{align-items:center;border-radius:0;flex-grow:0;flex-shrink:1;font-size:14px;margin:0 auto 0 0;padding:13px 16px}a.dops-notice__action .gridicon{height:24px;width:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{height:18px;margin-right:8px;opacity:.7;width:18px}.dops-notice.is-compact{border-radius:3px;display:inline-flex;flex-direction:row;flex-wrap:nowrap;line-height:1.5;margin:0;min-height:20px;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;width:auto}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{height:18px;margin:0;width:18px}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{align-self:center;flex:none;margin:0 0 0 8px;padding:0;position:relative}.dops-notice.is-compact .dops-notice__dismiss .gridicon{height:18px;width:18px}.dops-notice.is-compact a.dops-notice__action{align-self:center;background:transparent;display:inline-block;font-size:12px;margin:0 16px 0 0;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{height:14px;margin-right:8px;opacity:1;vertical-align:sub;width:14px}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{bottom:0;left:0;pointer-events:none;position:fixed;right:0;text-align:left;top:auto;z-index:179}@media(min-width:661px){.global-notices{bottom:auto;left:16px;max-width:calc(100% - 68px);right:auto;top:63px}}@media(min-width:961px){.global-notices{left:24px;max-width:calc(100% - 208px);top:71px}}@media(min-width:1041px){.global-notices{left:32px;max-width:calc(100% - 224px)}}.global-notices .dops-notice{border-radius:0;box-shadow:0 2px 5px rgba(0,0,0,.2),0 0 56px rgba(0,0,0,.15);flex-wrap:nowrap;margin-bottom:0;pointer-events:auto;text-align:right}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0}@media(min-width:661px){.global-notices .dops-notice{border-radius:3px;display:flex;margin-bottom:24px;overflow:hidden}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0 3px 3px 0}.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:13px 16px}}.global-notices .dops-notice__dismiss{flex-shrink:0}@media(min-width:661px){.global-notices .dops-notice__dismiss{padding:13px 16px 0}}.jp-search-bar-chart__container{max-height:40px}.jp-search-chart-legend__box{border-radius:100%;display:inline-block;height:15px;margin-left:5px;margin-right:0;width:15px}.jp-search-chart-legend{display:inline-block;font-size:1em;list-style:none}ul.jp-search-chart-legend{padding:0}.jp-search-chart-legend li{display:inherit;padding-bottom:18px}.jp-search-chart-legend__count{padding:0 3px 0 10px}.jp-search-chart-legend li .jp-search-chart-legend__count,.jp-search-chart-legend li .jp-search-chart-legend__label{display:inherit;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jp-search-notice-box{background-color:#fff;border:.5px solid #dcdcde;border-radius:5px;color:#000}.jp-search-notice-box__important{border:.5px solid #d63638}.jp-search-notice-box a.dops-notice__action{color:#000;display:inline;font-weight:700;padding:0 5px 0 0}.jp-search-notice-box span.dops-notice__dismiss>svg,.jp-search-notice-box span.dops-notice__dismiss>svg:hover{color:#000}.jp-search-notice-box .dops-notice__icon-wrapper{color:#000;vertical-align:text-top}.jp-search-notice-box__important,.jp-search-notice-box__important .dops-notice__icon-wrapper,.jp-search-notice-box__important a.dops-notice__action{color:#d63638}.jp-search-notice-box>span.dops-notice__icon-wrapper>svg{margin:0}.jp-search-record-count p{font-size:1em}.jp-search-record-meter .jp-search-notice-box>span.dops-notice__icon-wrapper{background-color:hsla(0,0%,100%,0);padding-top:13px}.jp-search-record-meter{border-bottom:1px solid #dcdcde;padding:64px 0}.jp-search-record-meter__content h2{margin-top:0}.jp-search-record-meter__content{width:100%}.jp-search-dashboard-wrap{align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin:0 auto;width:100%}.jp-search-dashboard-row{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:calc(100% - 32px)}@media(min-width:600px){.jp-search-dashboard-row{grid-template-columns:repeat(8,1fr);margin:0 18px;width:calc(100% - 36px)}}@media(min-width:960px){.jp-search-dashboard-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px;width:calc(100% - 48px)}}.jp-search-dashboard-row .sm-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .sm-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .sm-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.jp-search-dashboard-row .md-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .md-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .md-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .md-col-span-4{grid-column-end:span 4}.jp-search-dashboard-row .md-col-span-5{grid-column-end:span 5}.jp-search-dashboard-row .md-col-span-6{grid-column-end:span 6}.jp-search-dashboard-row .md-col-span-7{grid-column-end:span 7}.jp-search-dashboard-row .md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.jp-search-dashboard-row .lg-col-span-1{grid-column-end:span 1}.jp-search-dashboard-row .lg-col-span-2{grid-column-end:span 2}.jp-search-dashboard-row .lg-col-span-3{grid-column-end:span 3}.jp-search-dashboard-row .lg-col-span-4{grid-column-end:span 4}.jp-search-dashboard-row .lg-col-span-5{grid-column-end:span 5}.jp-search-dashboard-row .lg-col-span-6{grid-column-end:span 6}.jp-search-dashboard-row .lg-col-span-7{grid-column-end:span 7}.jp-search-dashboard-row .lg-col-span-8{grid-column-end:span 8}.jp-search-dashboard-row .lg-col-span-9{grid-column-end:span 9}.jp-search-dashboard-row .lg-col-span-10{grid-column-end:span 10}.jp-search-dashboard-row .lg-col-span-11{grid-column-end:span 11}.jp-search-dashboard-row .lg-col-span-12{grid-column-end:span 12}.jp-search-dashboard-row .lg-col-span-0{display:none}}@media(max-width:960px){.jp-search-dashboard-row .md-col-span-0{display:none}}@media(max-width:600px){.jp-search-dashboard-row .sm-col-span-0{display:none}.jp-search-dashboard-row .sm-col-span-1{display:block}}*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;min-height:100%;padding:0}#wpcontent{padding-right:0!important}#screen-meta,#screen-meta-links{display:none}#jp-search-dashboard{background-color:#fff;color:#000;display:flex;font-size:16px;min-height:calc(100vh - 97px)}#jp-search-dashboard .jp-search-dashboard-page{width:100%}#jp-search-dashboard .jp-masthead__logo-link{pointer-events:none}#jp-search-dashboard .jp-search-dashboard-top{background-color:#f9f9f6;overflow:hidden}#jp-search-dashboard .jp-search-dashboard-top__title{padding:2.5em 0}#jp-search-dashboard .jp-search-dashboard-top__title h1{font-size:2.25em;line-height:1.111;margin:0}#jp-search-dashboard .jp-search-dashboard-top__mocked-search-interface{align-items:center;display:flex;flex-flow:column;height:15.625em;justify-content:center}#jp-search-dashboard .jp-search-dashboard-bottom{background-color:#fff}#jp-search-dashboard .jp-search-dashboard-footer,#jp-search-dashboard .jp-search-dashboard-header{background-color:#fff;padding:2.5em 0}@media(max-width:600px){#jp-search-dashboard{font-size:14px}} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.asset.php
new file mode 100644
index 00000000..5c65a3e0
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array('wp-i18n', 'wp-jp-i18n-loader', 'wp-polyfill'), 'version' => '6b8fbf775e705a849bc7');
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.css
new file mode 100644
index 00000000..32d8d869
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.css
@@ -0,0 +1 @@
+.jetpack-instant-search__overlay{background:rgba(29,35,39,.7);bottom:0;box-sizing:border-box;color:#00101c;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transition:opacity .1s ease-in;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay.is-hidden{background:transparent;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}.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)}.jetpack-instant-search__notice{font-size:14px;margin:1em 0;padding:.75em}.jetpack-instant-search__notice.jetpack-instant-search__notice--warning{background-color:#f5e6b3;color:#4f3500}.jetpack-instant-search__notice .gridicon{margin-right:.5em;margin-top:-5px;vertical-align:middle}.jetpack-instant-search__scroll-button{border:0;box-shadow:none;font-size:13px;outline:0}.jetpack-instant-search__search-sort{align-items:center;display:flex}.jetpack-instant-search__search-sort>label[for=jetpack-instant-search__search-sort-select]{flex-shrink:0;font-size:1em;font-weight:700;margin:0 .25em 0 0}.jetpack-instant-search__search-sort-with-links{font-size:13px}@media(max-width:575.98px){.jetpack-instant-search__search-sort-with-select{margin-right:1em;width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-sort-with-select{margin-right:0}}@media(min-width:992px){.jetpack-instant-search__search-sort-with-select{margin-top:-4px}}#jetpack-instant-search__search-sort-select{-webkit-appearance:auto;appearance:auto;background:#fff;border:1px solid #e6f1f5;border-radius:5px;color:#00101c;font-size:1em;height:inherit;padding:.25em}@media(max-width:575.98px){#jetpack-instant-search__search-sort-select{padding:.5em;width:100%}}.jetpack-instant-search__search-sort-option{color:#646970;cursor:pointer;padding:0 2px;text-decoration:none}.jetpack-instant-search__search-sort-option:after{color:#646970;content:"·";font-weight:400;padding-left:5px}.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:focus,.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:hover{text-decoration:none}.jetpack-instant-search__search-sort-option:last-child:after{content:""}.jetpack-instant-search__search-sort-option.is-selected{color:#044b7a;font-weight:600;text-decoration:none}.jetpack-instant-search__search-form-controls{align-items:center;display:flex;line-height:1.3;margin-left:56px;margin-right:56px;margin-top:16px;z-index:1}@media(max-width:991.98px){.jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:767.98px){.jetpack-instant-search__search-form-controls{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-form-controls{position:absolute;right:320px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{position:absolute;right:320px}}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-form-controls{right:0}.jetpack-instant-search__box{border-bottom:1px solid #e6f1f5;border-right:1px solid #e6f1f5}.jetpack-instant-search__box-label{align-items:center;display:flex;flex:0 0 100%;margin:0}input.jetpack-instant-search__box-input.search-field{-webkit-appearance:none;appearance:none;background:#fff;border:0;box-shadow:none;color:#3c434a;font-size:18px;height:60px;line-height:1;margin:0;max-width:none;padding:0 14px;text-indent:32px;vertical-align:middle}input.jetpack-instant-search__box-input.search-field:focus,input.jetpack-instant-search__box-input.search-field:hover{background:#fff;color:#00101c}input.jetpack-instant-search__box-input.search-field.search-field{letter-spacing:-.02em;padding-left:0;text-indent:0}.jetpack-instant-search__box-gridicon{align-items:center;display:flex;flex-shrink:0;height:60px;justify-content:center;left:0;position:relative;top:0;width:60px;z-index:1}.jetpack-instant-search__box-gridicon svg{fill:#646970}.jetpack-instant-search__box input[type=button]{word-wrap:normal;border:none;border-radius:0;color:#646970;cursor:pointer;font-size:1em;font-weight:400;height:60px;line-height:1;margin:0 .25em 0 0;padding:0;text-decoration:none;text-shadow:none;text-transform:none;transition:all .1s linear;width:60px}.jetpack-instant-search__box input[type=button],.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{color:#3c434a}.jetpack-instant-search__box input[type=button]:focus{outline:1px dotted}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input{border:none;box-shadow:none;height:52px;outline-style:none;transition:color .15s ease-in-out,border-color .25s ease-in-out;width:100%}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:focus,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:hover{border:none;box-shadow:none;outline-style:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-button,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-decoration{appearance:none;-webkit-appearance:none;display:initial}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-cancel-button{display:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-clear,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-reveal{display:none}.jetpack-instant-search__path-breadcrumb{font-size:.9em;margin:0;max-width:calc(100vw - 2em);overflow-x:hidden;text-overflow:ellipsis}.jetpack-instant-search__path-breadcrumb-link{max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jetpack-instant-search__path-breadcrumb-link:focus,.jetpack-instant-search__path-breadcrumb-link:hover{text-decoration:underline}.jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__path-breadcrumb-link{color:#3c434a}.jetpack-instant-search__search-result-comments{border-left:2px solid #f0f0f1;font-size:.9em;margin-left:8px;margin-top:16px;padding-left:16px;word-break:break-word}.jetpack-instant-search__search-result-comments .gridicon{margin-right:8px;vertical-align:middle}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title{margin-bottom:.4em}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title .gridicon{margin-right:8px}.jetpack-instant-search__search-result-minimal-cats-and-tags{display:flex;flex-flow:row wrap;font-size:.9375em}.jetpack-instant-search__search-result-minimal-cats,.jetpack-instant-search__search-result-minimal-tags{display:flex;flex-flow:row wrap;list-style-type:none;margin:0;padding:0}.jetpack-instant-search__search-result-minimal-cat,.jetpack-instant-search__search-result-minimal-tag{margin:0 .75em 0 0}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag .gridicon{margin-right:.25em}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-cat-text,.jetpack-instant-search__search-result-minimal-tag .gridicon,.jetpack-instant-search__search-result-minimal-tag-text{vertical-align:middle}.jetpack-instant-search__search-result-minimal-content{word-break:break-word}.jetpack-instant-search__search-result-expanded{display:flex;flex-flow:column}.jetpack-instant-search__search-result-expanded:last-child{margin-right:0}.jetpack-instant-search__search-result-expanded .jetpack-instant-search__search-result-expanded__title{width:100%}.jetpack-instant-search__search-result-expanded__path{color:#646970;font-size:.9375em;margin:0 0 .4em}.jetpack-instant-search__search-result-expanded__copy-container{max-width:100%}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__copy-container{width:calc(100% - 128px - 1em)}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__copy-container{width:auto}.jetpack-instant-search__search-result-expanded__content{color:#00101c;font-size:.9375em}.jetpack-instant-search__search-result-expanded__image-link{margin-left:1em}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-link{margin:0 auto .5em;order:-1}}.jetpack-instant-search__search-result-expanded__image-container{width:128px}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-container{width:256px}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__image-container{display:none}.jetpack-instant-search__search-result-expanded__image-container{position:relative}.jetpack-instant-search__search-result-expanded__image-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-expanded__image{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-expanded__content-container{display:flex;flex-flow:column}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__content-container{flex-flow:row nowrap}}.jetpack-instant-search__search-result-expanded__footer{display:flex;list-style-type:none;margin-left:0;margin-top:10px;padding-left:0}.jetpack-instant-search__search-result-expanded__footer li{margin-right:10px}.jetpack-instant-search__search-result-expanded__footer-blog-image{border-radius:2px;margin-right:3px;vertical-align:middle}.jetpack-instant-search__search-result-expanded__footer-blog{font-size:13px;font-style:normal;font-weight:600;line-height:180%}.jetpack-instant-search__search-result-expanded__footer-author:after,.jetpack-instant-search__search-result-expanded__footer-blog:after{color:#636363;content:"·";margin-left:10px}.jetpack-instant-search__search-result-expanded__footer-author,.jetpack-instant-search__search-result-expanded__footer-date{color:#636363;font-size:13px;font-style:normal;font-weight:400}.jetpack-instant-search__product-rating-stars .gridicon{fill:#f0c930;vertical-align:middle}.jetpack-instant-search a.jetpack-instant-search__product-rating-count{color:#646970;font-size:.9em;text-decoration:underline;vertical-align:text-top}.jetpack-instant-search__product-price-regular{color:#646970;padding-right:.25em}.jetpack-instant-search__search-results-list.is-format-product{display:flex;flex-wrap:wrap;margin-right:40px;padding:0 0 3em}@media(max-width:991.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-right:24px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-right:4px}}.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{display:flex;flex-direction:column;margin:0 16px 16px 0;position:relative;width:calc(50% - 16px)}@media(min-width:576px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:768px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:992px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:1200px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:1400px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(20% - 16px)}}.jetpack-instant-search__search-result>.jetpack-instant-search__search-result-product-img-link{display:block}.jetpack-instant-search__search-result-product-img-container{border-radius:5px;color:transparent;position:relative}.jetpack-instant-search__search-result-product-img-container.jetpack-instant-search__search-result-product-img-container--placeholder{background:#c3c4c7}.jetpack-instant-search__search-result-product-img-container .gridicon{fill:#fff}.jetpack-instant-search__search-result-product-img-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-product-img{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-product-img>.gridicon{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.jetpack-instant-search__search-result-product-img>.gridicons-image{height:25%;width:25%}.jetpack-instant-search__search-result-product-img>.gridicons-block{height:50%;width:50%}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-product-title{font-size:1.25em;margin:.25em 0 0}.jetpack-instant-search__search-result-product-match{font-size:.9em;margin-top:.25em}.jetpack-instant-search__search-result-product-match mark{align-items:center;display:flex;font-weight:400}.jetpack-instant-search__search-result-product-match .gridicon{height:1em;margin-right:.25em;width:1em}.jetpack-instant-search__search-result{margin:0 0 2em}.jetpack-instant-search__search-result-title{font-size:1.6em;font-weight:400;line-height:1.35;margin:0;overflow-wrap:break-word}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link{text-decoration:none}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:focus,.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:hover{text-decoration:underline}.jetpack-instant-search__search-filters{position:relative}.jetpack-instant-search__search-filters>div{margin-top:1em}.jetpack-instant-search__search-filters-title{color:#00101c;display:block;font-size:inherit;font-weight:700;line-height:1.3;margin:0;padding:0}.jetpack-instant-search__clear-filters-link{line-height:1.3;margin:0;position:absolute;right:0;top:0}.jetpack-instant-search__search-filter-sub-heading{color:#646970;font-size:inherit;margin:0;padding:0}.jetpack-instant-search__search-filter-list{text-align:left}.jetpack-instant-search__search-filter-list>div{align-items:baseline;display:flex;margin-top:8px}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input{-webkit-appearance:checkbox;appearance:checkbox;background:none;border:none;cursor:pointer;height:auto;margin:0;top:1px;width:auto}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:before,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:before{display:none!important}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-label,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-label{color:inherit;cursor:pointer;display:inline-block;font-weight:400;margin:0 0 0 8px;padding:0;width:auto}.jetpack-instant-search__search-static-filter-list{font-size:.875rem;line-height:1.8}.jetpack-instant-search__widget-area-container{margin-bottom:2em}.jetpack-instant-search__jetpack-colophon{margin-bottom:2em;margin-top:2em;text-align:center}.jetpack-instant-search__jetpack-colophon-link{align-items:center;color:inherit;display:flex;text-decoration:none}.jetpack-instant-search__jetpack-colophon-logo{display:inline;height:16px;width:16px}.jetpack-instant-search__jetpack-colophon-text{color:#3c434a;font-size:.7em;font-weight:400;padding-left:6px}.jetpack-instant-search__sidebar{padding-top:14px}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget{background:none;border:none;margin:0;padding:0}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget a{font-weight:400}.jetpack-instant-search__sidebar h2.widgettitle{border:none;font-size:1.3em;margin:1em 0 .5em}.jetpack-instant-search__sidebar h2.widgettitle:after,.jetpack-instant-search__sidebar h2.widgettitle:before{display:none!important}.jetpack-instant-search__search-results{background:#fff;border-radius:3px;margin:0 auto;max-width:1080px;min-height:100%;position:relative;z-index:10}@media(max-width:575.98px){.jetpack-instant-search__search-results{border-radius:0}}@media(min-width:992px){.jetpack-instant-search__search-results{max-width:95%}}.jetpack-instant-search__search-results mark{background:#ffc;color:#00101c}.jetpack-instant-search__search-results-controls{display:flex}.jetpack-instant-search__search-results-content{display:flex;position:relative}.jetpack-instant-search__search-results-filter-button{align-items:center;border:0;color:#646970;cursor:pointer;display:flex;flex-shrink:0;font-size:12px;margin:0;padding:8px;text-decoration:none;transition:background-color .25s ease-in-out}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-filter-button{visibility:hidden}@media(min-width:576px){.jetpack-instant-search__search-results-filter-button{font-size:13px;padding:10px 14px}}@media(min-width:992px){.jetpack-instant-search__search-results-filter-button{display:none}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:flex}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:none}}.jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__search-results-filter-button:hover{color:#00101c}.jetpack-instant-search__search-results-filter-button .gridicon{margin-left:4px}.jetpack-instant-search__search-results-primary{margin:0;max-width:calc(100% - 320px);width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-primary{max-width:100%}@media(max-width:991.98px){.jetpack-instant-search__search-results-primary{max-width:100%}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-primary{max-width:100%}}.jetpack-instant-search__search-results-secondary{background:none;border-left:1px solid #e6f1f5;border-radius:0;bottom:0;box-shadow:none;color:#00101c;display:block;flex:none;padding:0 32px;position:static;width:320px}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary{display:none}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:991.98px)and (max-width:575.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:1199.98px)and (max-width:575.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{color:#00101c;font-size:1em;font-weight:700;line-height:1.3;margin:1em 56px 1.5em;padding:0;word-break:break-word}@media(max-width:991.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title,.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-results-title{padding-right:210px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title{padding-right:210px}}.jetpack-instant-search__search-results-list{color:#00101c;list-style:none;margin-left:56px;margin-right:56px;padding:0}@media(max-width:991.98px){.jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list{margin-left:20px;margin-right:20px}}.jetpack-instant-search__search-results-list li:before{content:"​";height:1px;position:absolute;width:1px}.jetpack-instant-search__search-results-search-form{font-size:.8em;margin:0;top:0;width:100%}button.jetpack-instant-search__overlay-close{align-items:center;-webkit-appearance:none;appearance:none;background:none;background-color:transparent!important;border:none;border-bottom:1px solid #e6f1f5;border-radius:0;box-shadow:none;cursor:pointer;display:flex;height:61px;justify-content:center;line-height:1;margin:0;outline:none;padding:0;text-decoration:none;text-shadow:none;text-transform:none;width:60px}button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}button.jetpack-instant-search__overlay-close:focus{outline:1px dotted}button.jetpack-instant-search__overlay-close svg.gridicon{fill:#646970}button.jetpack-instant-search__overlay-close:active,button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{background-color:transparent!important;border-color:#e6f1f5}button.jetpack-instant-search__overlay-close:active svg.gridicon,button.jetpack-instant-search__overlay-close:focus svg.gridicon,button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#3c434a}.jetpack-instant-search__search-results-pagination{display:block;flex:none;margin:50px}.jetpack-instant-search .widget a,.jetpack-instant-search .widget.widget_archive ul li a,.jetpack-instant-search a{border:none;color:#001621;text-decoration:none}.jetpack-instant-search .widget a:focus,.jetpack-instant-search .widget a:hover,.jetpack-instant-search .widget.widget_archive ul li a:focus,.jetpack-instant-search .widget.widget_archive ul li a:hover,.jetpack-instant-search a:focus,.jetpack-instant-search a:hover{color:#044b7a;text-decoration:underline}.jetpack-search-filters-widget__filter-list{list-style-type:none}body.enable-search-modal .cover-modal.show-modal.search-modal.active{display:none}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark{background:rgba(29,35,39,.7);color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a{color:#f6f7f7}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:hover{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filters-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__content,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-list,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-unused-query{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__jetpack-colophon-text,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb-link{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filter-sub-heading,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__path{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box-gridicon svg,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close svg.gridicon{fill:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:focus svg.gridicon,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:hover{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field{background:#000;color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:hover{background:#000;color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results{background:#000}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results mark{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{color:#e6f1f5}@media(min-width:992px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{border-color:#3c434a}}@media(max-width:991.98px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#000;border-color:#3c434a;box-shadow:0 2px 3px #3c434a}}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option:after{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option.is-selected{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-product-img--placeholder{color:#2c3338}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark #jetpack-instant-search__search-sort-select{background:#000;border-color:#3c434a;color:#e6f1f5} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.js
new file mode 100644
index 00000000..05ef0a3d
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.js
@@ -0,0 +1,15 @@
+"use strict";(self.webpackChunkjetpack_search=self.webpackChunkjetpack_search||[]).push([[613],{5332:function(e,t,r){r.d(t,{Z:function(){return o}});var s=r(8294),n=r.n(s),a=r(211),i=r(4184);class o extends a.Component{constructor(){super(...arguments),n()(this,"handleOverlayOptionsUpdate",(e=>{this.props.updateOverlayOptions(e,(()=>this.props.showResults()))}))}componentDidMount(){(0,i.vJ)(this.handleOverlayOptionsUpdate),(0,i.Em)(this.props.toggleResults)}render(){return null}}},1773:function(e,t,r){r.d(t,{Z:function(){return l}});var s=r(8294),n=r.n(s),a=(r(3679),r(211)),i=r(3259),o=r.n(i);class l extends a.Component{constructor(){super(...arguments),n()(this,"handleCompositionStart",(()=>this.setState({isComposing:!0}))),n()(this,"handleCompositionEnd",(()=>this.setState({isComposing:!1}))),n()(this,"handleFilterInputClick",(e=>{e.preventDefault(),e.currentTarget.dataset.filterType&&("taxonomy"===e.currentTarget.dataset.filterType?this.props.setFilter(e.currentTarget.dataset.taxonomy,e.currentTarget.dataset.val):this.props.setFilter(e.currentTarget.dataset.filterType,e.currentTarget.dataset.val)),this.props.setSearchQuery(""),this.props.showResults()})),n()(this,"handleHistoryNavigation",(()=>{this.props.initializeQueryValues({isHistoryNavigation:!0})})),n()(this,"handleInput",o()((e=>{var t,r;null!==(t=e.inputType)&&void 0!==t&&t.includes("format")||""===e.target.value||(this.state.isComposing||"submit"!==this.props.overlayOptions.overlayTrigger&&(this.props.setSearchQuery(e.target.value),"immediate"===this.props.overlayOptions.overlayTrigger&&this.props.showResults(),"results"===this.props.overlayOptions.overlayTrigger&&(null===(r=this.props.response)||void 0===r?void 0:r.results)&&this.props.showResults()))}),200)),n()(this,"handleKeyup",(e=>{"Enter"===e.key&&(this.props.setSearchQuery(e.target.value),this.props.showResults())})),n()(this,"handleOverlayTriggerClick",(e=>{e.stopImmediatePropagation(),this.props.setSearchQuery(""),this.props.showResults()})),n()(this,"handleSubmit",(e=>{if(e.preventDefault(),this.handleInput.flush(),!this.props.isVisible){var t;const r=null===(t=e.target.querySelector(this.props.themeOptions.searchInputSelector))||void 0===t?void 0:t.value;"string"==typeof r&&this.props.setSearchQuery(r),this.props.showResults()}})),n()(this,"fixBodyScroll",(()=>{var e;this.props.isVisible?(this.preventBodyScroll(),null===(e=window)||void 0===e||e.scrollTo(0,0)):this.props.isVisible||this.restoreBodyScroll()})),this.state={isComposing:!1,bodyScrollTop:0,previousStyle:null,previousBodyStyleAttribute:""},this.props.initializeQueryValues()}componentDidMount(){this.disableUnnecessaryFormAndInputAttributes(),this.addEventListeners()}componentWillUnmount(){this.removeEventListeners(),this.restoreBodyScroll()}componentDidUpdate(e){this.props.isVisible!==e.isVisible&&this.fixBodyScroll()}disableUnnecessaryFormAndInputAttributes(){document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.removeAttribute("required"),e.removeAttribute("autocomplete"),e.form.removeAttribute("autocomplete")}))}addEventListeners(){window.addEventListener("popstate",this.handleHistoryNavigation),document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.form.addEventListener("submit",this.handleSubmit),e.addEventListener("keyup",this.handleKeyup),e.addEventListener("input",this.handleInput),e.addEventListener("compositionstart",this.handleCompositionStart),e.addEventListener("compositionend",this.handleCompositionEnd)})),document.querySelectorAll(this.props.themeOptions.overlayTriggerSelector).forEach((e=>{e.addEventListener("click",this.handleOverlayTriggerClick,!0)})),document.querySelectorAll(this.props.themeOptions.filterInputSelector).forEach((e=>{e.addEventListener("click",this.handleFilterInputClick)}))}removeEventListeners(){window.removeEventListener("popstate",this.handleHistoryNavigation),document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.form.removeEventListener("submit",this.handleSubmit),e.removeEventListener("keyup",this.handleKeyup),e.removeEventListener("input",this.handleInput),e.removeEventListener("compositionstart",this.handleCompositionStart),e.removeEventListener("compositionend",this.handleCompositionEnd)})),document.querySelectorAll(this.props.themeOptions.overlayTriggerSelector).forEach((e=>{e.removeEventListener("click",this.handleOverlayTriggerClick,!0)})),document.querySelectorAll(this.props.themeOptions.filterInputSelector).forEach((e=>{e.removeEventListener("click",this.handleFilterInputClick)}))}preventBodyScroll(){this.setState({bodyScrollTop:parseInt(window.scrollY)||0,previousStyle:{top:document.body.style.top,left:document.body.style.left,right:document.body.style.right,scrollBehavior:document.documentElement.style.scrollBehavior},previousBodyStyleAttribute:document.body.getAttribute("style")},(()=>{var e,t;const r=(null===(e=document.documentElement)||void 0===e?void 0:e.scrollHeight)-(null===(t=document.body)||void 0===t?void 0:t.scrollHeight)||0;document.body.setAttribute("style","position: fixed !important"),document.body.style.top=`-${this.state.bodyScrollTop-r}px`,document.body.style.left=0,document.body.style.right=0}))}restoreBodyScroll(){var e,t,r,s,n,a,i,o;this.state.previousBodyStyleAttribute?document.body.setAttribute("style",this.state.previousBodyStyleAttribute):document.body.removeAttribute("style"),document.body.style.top=null!==(e=null===(t=this.state.previousStyle)||void 0===t?void 0:t.top)&&void 0!==e?e:"",document.body.style.left=null!==(r=null===(s=this.state.previousStyle)||void 0===s?void 0:s.left)&&void 0!==r?r:"",document.body.style.right=null!==(n=null===(a=this.state.previousStyle)||void 0===a?void 0:a.right)&&void 0!==n?n:"",document.documentElement.style.scrollBehavior="revert",this.state.bodyScrollTop>0&&window.scrollTo(0,this.state.bodyScrollTop),document.documentElement.style.scrollBehavior=null!==(i=null===(o=this.state.previousStyle)||void 0===o?void 0:o.scrollBehavior)&&void 0!==i?i:"",this.setState({bodyScrollTop:0,previousStyle:null,previousBodyStyleAttribute:""})}render(){return null}}},1180:function(e,t,r){var s=r(8294),n=r.n(s),a=r(211),i=r.n(a),o=r(5736);const __=o.__;class l extends a.Component{needsOffset(e,t){return["gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGTitle(e){if("title"in this.props)return this.props.title?i().createElement("title",null,this.props.title):null;switch(e){default:return null;case"gridicons-audio":return i().createElement("title",null,__("Has audio.","jetpack-search-pkg"));case"gridicons-calendar":return i().createElement("title",null,__("Is an event.","jetpack-search-pkg"));case"gridicons-cart":return i().createElement("title",null,__("Is a product.","jetpack-search-pkg"));case"chevron-down":return i().createElement("title",null,__("Show filters","jetpack-search-pkg"));case"gridicons-comment":return i().createElement("title",null,__("Matching comment.","jetpack-search-pkg"));case"gridicons-cross":return i().createElement("title",null,__("Close search results","jetpack-search-pkg"));case"gridicons-filter":return i().createElement("title",null,__("Toggle search filters.","jetpack-search-pkg"));case"gridicons-folder":return i().createElement("title",null,__("Category","jetpack-search-pkg"));case"gridicons-image-multiple":return i().createElement("title",null,__("Has multiple images.","jetpack-search-pkg"));case"gridicons-image":return i().createElement("title",null,__("Has an image.","jetpack-search-pkg"));case"gridicons-page":return i().createElement("title",null,__("Page","jetpack-search-pkg"));case"gridicons-post":return i().createElement("title",null,__("Post","jetpack-search-pkg"));case"gridicons-jetpack-search":case"gridicons-search":return i().createElement("title",null,__("Magnifying Glass","jetpack-search-pkg"));case"gridicons-tag":return i().createElement("title",null,__("Tag","jetpack-search-pkg"));case"gridicons-video":return i().createElement("title",null,__("Has a video.","jetpack-search-pkg"))}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return i().createElement("g",null,i().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-block":return i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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-down":return i().createElement("g",null,i().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return i().createElement("g",null,i().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-cross":return i().createElement("g",null,i().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 i().createElement("g",null,i().createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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-jetpack-search":return i().createElement("g",null,i().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-pages":return i().createElement("g",null,i().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 i().createElement("g",null,i().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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 i().createElement("g",null,i().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"}))}}render(){const{size:e=24,className:t=""}=this.props,r=this.props.height||e,s=this.props.width||e,n=this.props.style||{height:r,width:s},a="gridicons-"+this.props.icon;let o=["gridicon",a,t];return this.needsOffset(a,e)&&o.push("needs-offset"),o=o.join(" "),i().createElement("svg",{className:o,focusable:this.props.focusable,height:r,onClick:this.props.onClick,style:n,viewBox:"0 0 24 24",width:s,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},this.getSVGTitle(a),this.renderIcon(a))}}n()(l,"defaultProps",{"aria-hidden":"false",focusable:"true"}),t.Z=l},8852:function(e,t,r){var s=r(211),n=r.n(s),a=r(5736);const __=a.__,i="#fff",o=n().createElement("svg",{className:"jetpack-instant-search__jetpack-colophon-logo",height:12,width:12,viewBox:"0 0 32 32"},n().createElement("path",{className:"jetpack-logo__icon-circle",fill:"#069e08",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),n().createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:i,points:"15,19 7,19 15,3 "}),n().createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:i,points:"17,29 17,13 25,13 "}));t.Z=e=>{const t="string"==typeof e.locale?e.locale.split("-",1)[0]:null,r=t&&"en"!==t?"https://"+t+".jetpack.com/search?utm_source=poweredby":"https://jetpack.com/search?utm_source=poweredby";return n().createElement("div",{className:"jetpack-instant-search__jetpack-colophon"},n().createElement("a",{href:r,rel:"external noopener noreferrer nofollow",target:"_blank",className:"jetpack-instant-search__jetpack-colophon-link"},o,n().createElement("span",{className:"jetpack-instant-search__jetpack-colophon-text"},__("Search powered by Jetpack","jetpack-search-pkg"))))}},4741:function(e,t,r){var s=r(211),n=r.n(s),a=r(1180);t.Z=e=>{let{type:t,children:r}=e;return"warning"!==t?null:n().createElement("div",{className:"jetpack-instant-search__notice jetpack-instant-search__notice--warning"},n().createElement(a.Z,{icon:"info",size:20}),r)}},6321:function(e,t,r){var s=r(5736),n=r(211),a=r.n(n),i=r(9755);const __=s.__;t.Z=e=>{const{children:t,closeOverlay:r,colorTheme:s,hasOverlayWidgets:o,isVisible:l}=e;return(0,n.useEffect)((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),r())},t=e=>{var t;const s=document.getElementsByClassName("jetpack-instant-search__search-results")[0];null!==(t=e.target)&&void 0!==t&&t.isConnected&&s&&!s.contains(e.target)&&r()};return window.addEventListener("keydown",e),l?window.addEventListener("click",t):window.removeEventListener("click",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("click",t)}}),[r,l]),a().createElement("div",{"aria-hidden":!l,"aria-labelledby":"jetpack-instant-search__overlay-title",className:["jetpack-instant-search",i.zg,`jetpack-instant-search__overlay--${s}`,o?"":"jetpack-instant-search__overlay--no-sidebar",l?"":"is-hidden"].join(" "),role:"dialog"},a().createElement("h1",{id:"jetpack-instant-search__overlay-title",className:"screen-reader-text"},__("Search results","jetpack-search-pkg")),t)}},4809:function(e,t,r){var s=r(211),n=r.n(s);t.Z=e=>{let{className:t,onClick:r,url:s}=e;const a=function(e){const t=e.split("/").filter((e=>e.length>0));return t.shift(),t}(s);return a.length<1?null:n().createElement("div",{className:`jetpack-instant-search__path-breadcrumb ${t||""}`},n().createElement("a",{className:"jetpack-instant-search__path-breadcrumb-link",href:`//${s}`,onClick:r},a.map(((e,t,r)=>n().createElement("span",{className:"jetpack-instant-search__path-breadcrumb-piece",key:e},decodeURIComponent(e),t!==r.length-1?" › ":"")))))}},1459:function(e,t,r){var s=r(2402),n=r.n(s),a=r(211),i=r.n(a),o=r(9087);t.Z=e=>{const{alt:t,isPhotonEnabled:r,maxHeight:s=600,maxWidth:l=600,src:c,lazyLoad:p=!0,...h}=e,u=(0,a.useRef)(),[d,m]=(0,a.useState)(null),g=(0,o.y)(c,l,s,r);return(0,a.useEffect)((()=>{if(!g)return;let e=null;return p&&"IntersectionObserver"in window?(e=new window.IntersectionObserver(((e,t)=>{for(const r of e)r.isIntersecting&&(m(g),t.unobserve(r.target))})),e.observe(u.current)):m(g),()=>{var t;null===(t=e)||void 0===t||t.disconnect()}}),[p,g]),i().createElement("img",n()({alt:t,ref:u,src:d},h))}},883:function(e,t,r){r(3679);var s=r(211),n=r.n(s),a=r(1180),i=r(2601);const o=["youtube","ooyala","anvplayer","wpvideo","bc_video","video","brightcove","tp_video","jwplayer","tempo-video","vimeo"],l=["gallery","ione_media_gallery"],c=["audio","soundcloud"],p={product:"cart",video:"video",gallery:"image-multiple",event:"calendar",events:"calendar"};t.Z=e=>{let{postType:t,shortcodeTypes:r,iconSize:s=18}=e;if(Object.keys(p).includes(t))return n().createElement(a.Z,{icon:p[t],size:s});const h=(0,i.Z)(r,o),u=(0,i.Z)(r,c),d=(0,i.Z)(r,l);return h?n().createElement(a.Z,{icon:"video",size:s}):u?n().createElement(a.Z,{icon:"audio",size:s}):"page"===t?n().createElement(a.Z,{icon:"pages",size:s}):d?n().createElement(a.Z,{icon:"image-multiple",size:s}):null}},4682:function(e,t,r){var s=r(211),n=r.n(s);class a extends s.Component{render(){const{formattedPrice:e,formattedSalePrice:t,formattedRegularPrice:r,price:a,salePrice:i}=this.props;return a?n().createElement("span",{className:"jetpack-instant-search__product-price"},i>0?n().createElement(s.Fragment,null,n().createElement("s",{className:"jetpack-instant-search__product-price-regular",dangerouslySetInnerHTML:{__html:r}}),n().createElement("span",{dangerouslySetInnerHTML:{__html:t}})):n().createElement("span",{dangerouslySetInnerHTML:{__html:e}})):null}}t.Z=a},6565:function(e,t,r){r.d(t,{Z:function(){return o}});var s=r(5736),n=r(211),a=r.n(n),i=r(1180);const _n=s._n;function o(e){let{rating:t=0,count:r=0,permalink:n}=e;return a().createElement("div",{className:"jetpack-instant-search__product-rating"},a().createElement("span",{"aria-hidden":!0,className:"jetpack-instant-search__product-rating-stars"},Array(5).fill(a().createElement(i.Z,{size:16,icon:"star-outline"})).fill(a().createElement(i.Z,{size:16,icon:"star"}),0,t))," ",a().createElement("a",{"aria-hidden":!0,className:"jetpack-instant-search__product-rating-count",href:n+"#reviews"},(0,s.sprintf)(
+/* Translators: the placeholder is the number of product reviews. */
+_n("%d review","%d reviews",r,"jetpack-search-pkg"),r)),a().createElement("span",{className:"screen-reader-text"},(0,s.sprintf)(
+/* Translators: the first placeholder is the average product rating out of 5; the second is the number of product reviews. */
+_n("Average rating of %1$d out of 5 from %2$d review.","Average rating of %1$d out of 5 from %2$d reviews.",r,"jetpack-search-pkg"),Number(t).toFixed(2),r)))}},423:function(e,t,r){var s=r(8294),n=r.n(s),a=r(211),i=r.n(a),o=r(5736),l=r(3259),c=r.n(l),p=r(9755);const __=o.__;class h extends a.Component{constructor(){super(...arguments),n()(this,"overlayElement",document.getElementsByClassName(p.zg)[0]),n()(this,"checkScroll",c()((()=>{this.props.enableLoadOnScroll&&window.innerHeight+this.overlayElement.scrollTop>=this.overlayElement.scrollHeight&&this.props.onLoadNextPage()}),100))}componentDidMount(){this.overlayElement.addEventListener("scroll",this.checkScroll)}componentDidUnmount(){this.overlayElement.removeEventListener("scroll",this.checkScroll)}render(){return i().createElement("button",{className:"jetpack-instant-search__scroll-button",disabled:this.props.isLoading,onClick:this.props.onLoadNextPage},this.props.isLoading?i().createElement("span",null,__("Loading…","jetpack-search-pkg")):i().createElement("span",null,__("Load more","jetpack-search-pkg")))}}t.Z=h},5652:function(e,t,r){var s=r(8294),n=r.n(s),a=r(211),i=r.n(a),o=r(3259),l=r.n(o),c=r(9309),p=r(7390),h=r.n(p),u=r(5332),d=r(1773),m=r(6321),g=r(2975),_=r(8050),f=r(9755),v=r(1547),y=r(6302),E=r(8389),k=r(1530);class w extends a.Component{constructor(){var e;super(...arguments),e=this,n()(this,"getResultFormat",(()=>{const e=(0,y.ug)();return this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==f.Bk?f.Pz:e||this.state.overlayOptions.resultFormat})),n()(this,"initializeStaticFilters",(()=>{const e=(0,v.bA)();e.length>0&&0===Object.keys(this.props.staticFilters).length&&e.forEach((e=>this.props.setStaticFilter(e.filter_id,e.selected,!0)))})),n()(this,"hideResults",(e=>{this.props.shouldIntegrateWithDom&&(0,y.Q0)(this.props.initialHref,(()=>{this.setState({isVisible:!1}),this.props.clearQueryValues()}),e)})),n()(this,"toggleResults",(e=>{this.props.shouldIntegrateWithDom&&this.state.isVisible!==e&&(e&&this.initializeStaticFilters(),this.setState({isVisible:e}))})),n()(this,"showResults",this.toggleResults.bind(this,!0)),n()(this,"onChangeQueryString",(e=>{this.getResults(),this.props.hasActiveQuery&&!this.state.isVisible&&this.showResults(),!this.props.hasActiveQuery&&e&&this.hideResults(e),null!==this.props.searchQuery&&document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach((e=>{e.value=this.props.searchQuery}))})),n()(this,"loadNextPage",(()=>{this.props.hasNextPage&&this.getResults({pageHandle:this.props.response.page_handle})})),n()(this,"getResults",(function(){let{pageHandle:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.props.makeSearchRequest({aggregations:t?{}:e.props.aggregations,excludedPostTypes:e.state.overlayOptions.excludedPostTypes,filter:e.props.filters,staticFilters:e.props.staticFilters,pageHandle:t,query:e.props.searchQuery,resultFormat:e.getResultFormat(),siteId:e.props.options.siteId,sort:e.props.sort,postsPerPage:e.props.options.postsPerPage,adminQueryFilter:e.props.options.adminQueryFilter,isInCustomizer:e.props.isInCustomizer})})),n()(this,"updateOverlayOptions",((e,t)=>{this.setState((t=>({overlayOptionsCustomizerOverride:{...t.overlayOptionsCustomizerOverride,...e}})),t)})),this.state={isVisible:!!this.props.initialIsVisible,overlayOptionsCustomizerOverride:{}},this.getResults=l()(this.getResults,200),this.props.enableAnalytics?this.initializeAnalytics():(0,_.IJ)(),this.props.shouldIntegrateWithDom?this.props.initializeQueryValues():this.props.disableQueryStringIntegration()}static getDerivedStateFromProps(e,t){return{overlayOptions:{...e.overlayOptions,...t.overlayOptionsCustomizerOverride}}}componentDidMount(){this.getResults(),this.props.hasActiveQuery&&this.showResults()}componentDidUpdate(e,t){e.searchQuery===this.props.searchQuery&&e.sort===this.props.sort&&h()(e.filters)===h()(this.props.filters)&&h()(e.staticFilters)===h()(this.props.staticFilters)||this.onChangeQueryString(this.props.isHistoryNavigation),t.overlayOptions.defaultSort!==this.state.overlayOptions.defaultSort&&this.props.setSort(this.state.overlayOptions.defaultSort),h()(t.overlayOptions.excludedPostTypes)!==h()(this.state.overlayOptions.excludedPostTypes)&&this.getResults()}initializeAnalytics(){(0,_.tU)(),(0,_.vy)(),(0,_.AM)(this.props.options.siteId)}render(){const e=this.getResultFormat(),t=this.props.shouldCreatePortal?a.createPortal:e=>e;return i().createElement(a.Fragment,null,this.props.isInCustomizer&&i().createElement(u.Z,{showResults:this.showResults,toggleResults:this.toggleResults,updateOverlayOptions:this.updateOverlayOptions}),this.props.shouldIntegrateWithDom&&i().createElement(d.Z,{initializeQueryValues:this.props.initializeQueryValues,isVisible:this.state.isVisible,overlayOptions:this.state.overlayOptions,setFilter:this.props.setFilter,setSearchQuery:this.props.setSearchQuery,showResults:this.showResults,themeOptions:this.props.themeOptions}),t(i().createElement(m.Z,{closeColor:this.state.overlayOptions.closeColor,closeOverlay:this.hideResults,colorTheme:this.state.overlayOptions.colorTheme,hasOverlayWidgets:this.props.hasOverlayWidgets,isVisible:this.state.isVisible},i().createElement(g.Z,{closeOverlay:this.hideResults,enableLoadOnScroll:this.state.overlayOptions.enableInfScroll,enableSort:this.state.overlayOptions.enableSort,filters:this.props.filters,staticFilters:this.props.staticFilters,hasError:this.props.hasError,hasNextPage:this.props.hasNextPage,highlightColor:this.state.overlayOptions.highlightColor,isLoading:this.props.isLoading,isPhotonEnabled:this.props.options.isPhotonEnabled,isPrivateSite:this.props.options.isPrivateSite,isVisible:this.state.isVisible,locale:this.props.options.locale,onChangeSearch:this.props.setSearchQuery,onChangeSort:this.props.setSort,onLoadNextPage:this.loadNextPage,overlayTrigger:this.state.overlayOptions.overlayTrigger,postTypes:this.props.options.postTypes,response:this.props.response,resultFormat:e,searchQuery:this.props.searchQuery,showPoweredBy:this.state.overlayOptions.showPoweredBy,sort:this.props.sort,widgets:this.props.options.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay,hasNonSearchWidgets:this.props.options.hasNonSearchWidgets})),document.body))}}n()(w,"defaultProps",{overlayOptions:{},widgets:[]}),t.Z=(0,c.$j)(((e,t)=>({filters:(0,k.Zj)(e),staticFilters:(0,k.Bk)(e),hasActiveQuery:(0,k.en)(e),hasError:(0,k.xT)(e),isHistoryNavigation:(0,k.wI)(e),hasNextPage:(0,k.Qy)(e),isLoading:(0,k.hg)(e),response:(0,k.ck)(e),searchQuery:(0,k.uP)(e),sort:(0,k.r$)(e,t.overlayOptions.defaultSort),widgetOutsideOverlay:(0,k.ZN)(e)})),{clearQueryValues:E.Mz,disableQueryStringIntegration:E.OZ,initializeQueryValues:E.Ln,makeSearchRequest:E.x1,setStaticFilter:E.O1,setFilter:E.Tv,setSearchQuery:E.ql,setSort:E.HD})(w)},3725:function(e,t,r){var s=r(211),n=r.n(s),a=r(5736),i=r(5348),o=r.n(i),l=r(1180);const __=a.__;let c=null;t.Z=e=>{var t;const[r]=(0,s.useState)((()=>o()("jetpack-instant-search__box-input-"))),a=(0,s.useRef)(null);return(0,s.useEffect)((()=>{var t;e.isVisible?(t=a.current,()=>{c=document.activeElement,t.focus()})():e.shouldRestoreFocus&&c&&c.focus()}),[e.isVisible,e.shouldRestoreFocus]),n().createElement(s.Fragment,null,n().createElement("div",{className:"jetpack-instant-search__box"},n().createElement("label",{className:"jetpack-instant-search__box-label",htmlFor:r},n().createElement("div",{className:"jetpack-instant-search__box-gridicon"},n().createElement(l.Z,{icon:"search",size:24})),n().createElement("input",{autoComplete:"off",id:r,className:"search-field jetpack-instant-search__box-input",inputMode:"search",onChange:e.isVisible?e.onChange:null,ref:a,placeholder:__("Search…","jetpack-search-pkg"),type:"search",value:null!==(t=e.searchQuery)&&void 0!==t?t:""}),"string"==typeof e.searchQuery&&e.searchQuery.length>0&&
+/* Translators: Button is used to clear the search input query. */
+n().createElement("input",{type:"button",value:__("clear","jetpack-search-pkg"),onClick:e.onClear}),n().createElement("button",{className:"screen-reader-text assistive-text"},__("Search","jetpack-search-pkg")))))}},7704:function(e,t,r){var s=r(211),n=r.n(s),a=r(9873);t.Z=e=>n().createElement("div",{className:"jetpack-instant-search__search-form-controls",role:"form"},e.children,e.enableSort&&n().createElement(a.Z,{onChange:e.onChangeSort,resultFormat:e.resultFormat,value:e.sort}))},2547:function(e,t,r){r.d(t,{Z:function(){return d},a:function(){return u}});var s=r(8294),n=r.n(s),a=(r(3679),r(211)),i=r.n(a),o=r(4553),l=r.n(o),c=r(5348),p=r.n(c),h=r(2160);const u=e=>e.split(" ").join("T");class d extends a.Component{constructor(){super(...arguments),n()(this,"filtersList",(0,a.createRef)()),n()(this,"idPrefix",p()("jetpack-instant-search__search-filter-")),n()(this,"toggleFilter",(()=>{this.props.onChange(this.getIdentifier(),(0,h.b)(this.filtersList.current))})),n()(this,"toggleStaticFilter",(e=>{this.props.onChange(this.getIdentifier(),e.target.value)})),n()(this,"renderDate",(e=>{let{key_as_string:t,doc_count:r}=e;const{locale:s="en-US"}=this.props;return i().createElement("div",null,i().createElement("input",{checked:this.isChecked(t),disabled:!this.isChecked(t)&&0===r,id:`${this.idPrefix}-dates-${this.getIdentifier()}-${t}`,name:t,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-dates-${this.getIdentifier()}-${t}`,className:"jetpack-instant-search__search-filter-list-label"},new Date(u(t)).toLocaleString(s,function(e){switch(e){case"day":return{year:"numeric",month:"long",day:"numeric"};case"month":return{year:"numeric",month:"long"};case"year":return{year:"numeric"}}return{year:"numeric",month:"long"}}(this.props.configuration.interval))," ","(",r,")"))})),n()(this,"renderPostType",(e=>{let{key:t,doc_count:r}=e;const s=t in this.props.postTypes?this.props.postTypes[t].singular_name:t;return i().createElement("div",null,i().createElement("input",{checked:this.isChecked(t),disabled:!this.isChecked(t)&&0===r,id:`${this.idPrefix}-post-types-${t}`,name:t,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-post-types-${t}`,className:"jetpack-instant-search__search-filter-list-label"},l()(s)," (",r,")"))})),n()(this,"renderTaxonomy",(e=>{let{key:t,doc_count:r}=e;const[s,n]=t&&t.split(/\/(.+)/);return i().createElement("div",null,i().createElement("input",{checked:this.isChecked(s),disabled:!this.isChecked(s)&&0===r,id:`${this.idPrefix}-taxonomies-${s}`,name:s,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-taxonomies-${s}`,className:"jetpack-instant-search__search-filter-list-label"},l()(n)," (",r,")"))})),n()(this,"renderGroup",(e=>i().createElement("div",null,i().createElement("input",{checked:this.isChecked(e.value),id:`${this.idPrefix}-groups-${e.value}`,name:this.props.configuration.filter_id,onChange:this.toggleStaticFilter,value:e.value,type:"radio",className:"jetpack-instant-search__search-filter-list-input"}),i().createElement("label",{htmlFor:`${this.idPrefix}-groups-${e.value}`,className:"jetpack-instant-search__search-filter-list-label"},e.name))))}getIdentifier(){return"postType"===this.props.type?"post_types":"date"===this.props.type?`${this.props.configuration.interval}_${this.props.configuration.field}`:"taxonomy"===this.props.type?this.props.configuration.taxonomy:"group"===this.props.type?this.props.configuration.filter_id:void 0}isChecked(e){return Boolean(this.props.value&&this.props.value.includes(e))}renderDates(){return[...this.props.aggregation.buckets.filter((e=>!!e)).map(this.renderDate)].reverse().slice(0,this.props.configuration.count)}renderPostTypes(){return this.props.aggregation.buckets.map(this.renderPostType)}renderTaxonomies(){return this.props.aggregation.buckets.map(this.renderTaxonomy)}renderGroups(){return this.props.configuration.values.map(this.renderGroup)}render(){return i().createElement("div",null,i().createElement("h3",{className:"jetpack-instant-search__search-filter-sub-heading"},this.props.configuration.name),i().createElement("div",{ref:this.filtersList},i().createElement("div",{className:"jetpack-instant-search__search-filter-list jetpack-instant-search__search-static-filter-list"},"group"===this.props.type&&this.renderGroups()),this.props.aggregation&&"buckets"in this.props.aggregation&&i().createElement("div",{className:"jetpack-instant-search__search-filter-list"},"date"===this.props.type&&this.renderDates(),"postType"===this.props.type&&this.renderPostTypes(),"taxonomy"===this.props.type&&this.renderTaxonomies())))}}},1631:function(e,t,r){var s=r(8294),n=r.n(s),a=r(211),i=r.n(a),o=r(5736),l=r(9309),c=r(2547),p=r(1547),h=r(8389),u=r(8050);const __=o.__;class d extends a.Component{constructor(){super(...arguments),n()(this,"onChangeFilter",((e,t)=>{this.props.setFilter(e,t),this.props.onChange&&this.props.onChange()})),n()(this,"onChangeStaticFilter",((e,t)=>{(0,u.GE)({filterName:e,filterValue:t}),this.props.setStaticFilter(e,t),this.props.onChange&&this.props.onChange()})),n()(this,"onClearFilters",(e=>{e.preventDefault(),"click"!==e.type&&("keydown"!==e.type||"Enter"!==e.key&&" "!==e.key)||(this.props.clearFilters(),this.props.onChange&&this.props.onChange())})),n()(this,"renderFilterComponent",(e=>{let{configuration:t,results:r}=e;return r&&i().createElement(c.Z,{aggregation:r,configuration:t,locale:this.props.locale,onChange:this.onChangeFilter,postTypes:this.props.postTypes,type:(0,p.jc)(t),value:this.props.filters[(0,p.jZ)(t)]})})),n()(this,"renderStaticFilterComponent",(e=>e.hasOwnProperty("visible")&&!e.visible?null:i().createElement(c.Z,{aggregation:[],configuration:e,locale:this.props.locale,onChange:this.onChangeStaticFilter,postTypes:this.props.postTypes,type:(0,p.jc)(e),value:this.props.staticFilters[(0,p.jZ)(e)]})))}hasActiveFilters(){return Object.keys(this.props.filters).length>0}render(){var e,t,r,s;if(!this.props.widget)return null;const n=(0,p.bA)(),a=null===(e=this.props.results)||void 0===e?void 0:e.aggregations;return i().createElement("div",{className:"jetpack-instant-search__search-filters"},this.props.showTitle&&i().createElement("h2",{className:"jetpack-instant-search__search-filters-title"},__("Filter options","jetpack-search-pkg")),this.props.showClearFiltersButton&&this.hasActiveFilters()&&i().createElement("a",{class:"jetpack-instant-search__clear-filters-link",href:"#",onClick:this.onClearFilters,onKeyDown:this.onClearFilters,role:"button",tabIndex:"0"},__("Clear filters","jetpack-search-pkg")),(null===(t=this.props.widget)||void 0===t?void 0:t.filters)&&this.props.widget.filters.length>0&&n.map(this.renderStaticFilterComponent),null===(r=this.props.widget)||void 0===r||null===(s=r.filters)||void 0===s?void 0:s.map((e=>a?{configuration:e,results:a[e.filter_id]}:null)).filter((e=>!!e)).filter((e=>{let{results:t}=e;return!!t&&Array.isArray(t.buckets)&&t.buckets.length>0})).map(this.renderFilterComponent))}}n()(d,"defaultProps",{showClearFiltersButton:!0,showTitle:!0}),t.Z=(0,l.$j)(null,{clearFilters:h.K5,setFilter:h.Tv,setStaticFilter:h.O1})(d)},9988:function(e,t,r){var s=r(8294),n=r.n(s),a=r(211),i=r.n(a),o=r(3725);const l=e=>e.preventDefault();class c extends a.Component{constructor(){super(...arguments),n()(this,"onClear",(()=>this.props.onChangeSearch(""))),n()(this,"onChangeSearch",(e=>this.props.onChangeSearch(e.currentTarget.value)))}render(){return i().createElement("form",{autoComplete:"off",onSubmit:l,role:"search",className:this.props.className},i().createElement("div",{className:"jetpack-instant-search__search-form"},i().createElement(o.Z,{isVisible:this.props.isVisible,onChange:this.onChangeSearch,onClear:this.onClear,shouldRestoreFocus:!0,searchQuery:this.props.searchQuery})))}}t.Z=c},3162:function(e,t,r){var s=r(211),n=r.n(s),a=r(1180);t.Z=e=>{let{comments:t,iconSize:r=18}=e;return t?n().createElement("div",{className:"jetpack-instant-search__search-result-comments"},n().createElement(a.Z,{icon:"comment",size:r}),n().createElement("span",{className:"jetpack-instant-search__search-result-comments-text",dangerouslySetInnerHTML:{__html:t.join(" ... ")}})):null}},1954:function(e,t,r){r.d(t,{Z:function(){return c}});var s=r(211),n=r.n(s),a=r(4809),i=r(1459),o=r(3162),l=r(2547);function c(e){const{isMultiSite:t,locale:r="en-US"}=e,{result_type:s,fields:c,highlight:p}=e.result;if("post"!==s)return null;const h=Array.isArray(c["image.url.raw"])?c["image.url.raw"][0]:c["image.url.raw"];return n().createElement("li",{className:["jetpack-instant-search__search-result","jetpack-instant-search__search-result-expanded",`jetpack-instant-search__search-result-expanded--${c.post_type}`,h?"":"jetpack-instant-search__search-result-expanded--no-image",t?"is-multisite":""].join(" ")},n().createElement("div",{className:"jetpack-instant-search__search-result-expanded__content-container"},n().createElement("div",{className:"jetpack-instant-search__search-result-expanded__copy-container"},n().createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-expanded__title"},n().createElement("a",{className:"jetpack-instant-search__search-result-title-link jetpack-instant-search__search-result-expanded__title-link",href:`//${c["permalink.url.raw"]}`,onClick:e.onClick,dangerouslySetInnerHTML:{__html:p.title}})),!t&&n().createElement(a.Z,{className:"jetpack-instant-search__search-result-expanded__path",onClick:e.onClick,url:`//${c["permalink.url.raw"]}`}),n().createElement("div",{className:"jetpack-instant-search__search-result-expanded__content",dangerouslySetInnerHTML:{__html:p.content.join(" ... ")}}),p.comments&&n().createElement(o.Z,{comments:p.comments})),n().createElement("a",{className:"jetpack-instant-search__search-result-expanded__image-link",href:`//${c["permalink.url.raw"]}`,onClick:e.onClick},n().createElement("div",{className:"jetpack-instant-search__search-result-expanded__image-container"},h?n().createElement(i.Z,{alt:c["image.alt_text"],className:"jetpack-instant-search__search-result-expanded__image",isPhotonEnabled:e.isPhotonEnabled,src:`//${h}`}):null))),t&&n().createElement("ul",{className:"jetpack-instant-search__search-result-expanded__footer"},n().createElement("li",null,n().createElement(i.Z,{alt:c.blog_name,className:"jetpack-instant-search__search-result-expanded__footer-blog-image",isPhotonEnabled:!1,height:24,width:24,src:c.blog_icon_url,lazyLoad:!1}),n().createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-blog"},c.blog_name)),n().createElement("li",null,n().createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-author"},c.author)),n().createElement("li",null,n().createElement("span",{className:"jetpack-instant-search__search-result-expanded__footer-date"},new Date((0,l.a)(c.date)).toLocaleDateString(r,{year:"numeric",month:"short",day:"numeric"})))))}},122:function(e,t,r){var s=r(211),n=r.n(s),a=r(1180),i=r(4809),o=r(883),l=r(3162);class c extends s.Component{getIconSize(){return 18}getTags(){let e=this.props.result.fields["tag.name.default"];return e?(Array.isArray(e)||(e=[e]),e.slice(0,5)):[]}getCategories(){let e=this.props.result.fields["category.name.default"];return e?(Array.isArray(e)||(e=[e]),e.slice(0,5)):[]}renderNoMatchingContent(){const e=this.getTags(),t=this.getCategories(),r=0===e.length&&0===t.length;return n().createElement("div",{className:"jetpack-instant-search__search-result-minimal-content"},r&&n().createElement(i.Z,{url:this.props.result.fields["permalink.url.raw"]}),n().createElement("div",{className:"jetpack-instant-search__search-result-minimal-cats-and-tags"},0!==e.length&&n().createElement("ul",{className:"jetpack-instant-search__search-result-minimal-tags"},e.map((e=>n().createElement("li",{className:"jetpack-instant-search__search-result-minimal-tag"},n().createElement(a.Z,{icon:"tag",size:this.getIconSize()}),n().createElement("span",{className:"jetpack-instant-search__search-result-minimal-tag-text"},e))))),0!==t.length&&n().createElement("ul",{className:"jetpack-instant-search__search-result-minimal-cats"},t.map((e=>n().createElement("li",{className:"jetpack-instant-search__search-result-minimal-cat"},n().createElement(a.Z,{icon:"folder",size:this.getIconSize()}),n().createElement("span",{className:"jetpack-instant-search__search-result-minimal-cat-text"},e)))))))}renderMatchingContent(){return n().createElement("div",{className:"jetpack-instant-search__search-result-minimal-content",dangerouslySetInnerHTML:{__html:this.props.result.highlight.content.join(" ... ")}})}render(){const{result_type:e,fields:t,highlight:r}=this.props.result;if("post"!==e)return null;const s=!r.content||""===r.content[0];return n().createElement("li",{className:"jetpack-instant-search__search-result jetpack-instant-search__search-result-minimal"},n().createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-minimal-title"},n().createElement(o.Z,{postType:t.post_type,shortcodeTypes:t.shortcode_types}),n().createElement("a",{className:"jetpack-instant-search__search-result-title-link jetpack-instant-search__search-result-minimal-title-link",href:`//${t["permalink.url.raw"]}`,onClick:this.props.onClick,dangerouslySetInnerHTML:{__html:r.title}})),s?this.renderNoMatchingContent():this.renderMatchingContent(),n().createElement(l.Z,{comments:r&&r.comments}))}}t.Z=c},6504:function(e,t,r){r(3679);var s=r(211),n=r.n(s),a=r(5736),i=r(1180),o=r(1459),l=r(6565),c=r(4682);const __=a.__;class p extends s.Component{render(){var e;const{result_type:t,fields:r,highlight:s}=this.props.result;if("post"!==t)return null;const a=Array.isArray(r["image.url.raw"])?r["image.url.raw"][0]:r["image.url.raw"],p=Array.isArray(s.title)&&s.title[0].length>0?s.title[0]:__("No title","jetpack-search-pkg"),h="string"==typeof this.props.searchQuery&&""!==this.props.searchQuery.trim(),u=p.includes("<mark>"),d=h&&!u&&Array.isArray(s.content)&&(null===(e=s.content[0])||void 0===e?void 0:e.length)>0;return n().createElement("li",{className:"jetpack-instant-search__search-result jetpack-instant-search__search-result-product"},n().createElement("a",{className:"jetpack-instant-search__search-result-product-img-link",href:`//${r["permalink.url.raw"]}`,onClick:this.props.onClick},n().createElement("div",{className:"jetpack-instant-search__search-result-product-img-container "+(a?"":"jetpack-instant-search__search-result-product-img-container--placeholder")},a?n().createElement(o.Z,{alt:r["image.alt_text"],className:"jetpack-instant-search__search-result-product-img",isPhotonEnabled:this.props.isPhotonEnabled,src:`//${a}`}):n().createElement("div",{className:"jetpack-instant-search__search-result-product-img"},n().createElement(i.Z,{icon:"block",style:{}}),n().createElement(i.Z,{icon:"image",style:{},title:__("Does not have an image","jetpack-search-pkg")})))),n().createElement("h3",{className:"jetpack-instant-search__search-result-title jetpack-instant-search__search-result-product-title"},n().createElement("a",{className:"jetpack-instant-search__search-result-title-link",href:`//${r["permalink.url.raw"]}`,onClick:this.props.onClick,dangerouslySetInnerHTML:{__html:p}})),n().createElement(c.Z,{price:r["wc.price"],salePrice:r["wc.sale_price"],formattedPrice:r["wc.formatted_price"],formattedRegularPrice:r["wc.formatted_regular_price"],formattedSalePrice:r["wc.formatted_sale_price"]}),!!r["meta._wc_average_rating.double"]&&n().createElement(l.Z,{count:r["meta._wc_review_count.long"],rating:r["meta._wc_average_rating.double"],permalink:`//${r["permalink.url.raw"]}`}),d&&n().createElement("div",{className:"jetpack-instant-search__search-result-product-match"},n().createElement("mark",null,n().createElement(i.Z,{icon:"search",style:{},title:!1}),n().createElement("span",null,"comment"in s?__("Matches comments","jetpack-search-pkg"):__("Matches content","jetpack-search-pkg",0)))))}}t.Z=p},8192:function(e,t,r){var s=r(2402),n=r.n(s),a=r(8294),i=r.n(a),o=r(211),l=r.n(o),c=r(122),p=r(1954),h=r(6504),u=r(8050),d=r(9755);class m extends o.Component{constructor(){super(...arguments),i()(this,"onClick",(()=>{this.props.railcar&&(0,u.Lo)({...this.getCommonTrainTracksProps(),action:"click"})}))}componentDidMount(){this.props.railcar&&(0,u.Sn)(this.getCommonTrainTracksProps())}componentDidUpdate(e){this.props.railcar!==e.railcar&&this.props.railcar&&(0,u.Sn)(this.getCommonTrainTracksProps())}getCommonTrainTracksProps(){return{fetch_algo:this.props.railcar.fetch_algo,fetch_position:this.props.railcar.fetch_position,fetch_query:this.props.railcar.fetch_query,railcar:this.props.railcar.railcar,rec_blog_id:this.props.railcar.rec_blog_id,rec_post_id:this.props.railcar.rec_post_id,session_id:this.props.railcar.session_id,ui_algo:"jetpack-instant-search-ui/v1",ui_position:this.props.index}}render(){if(this.props.resultFormat===d.LI)return l().createElement(h.Z,n()({onClick:this.onClick},this.props));if(this.props.resultFormat===d.Pz){const e=this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==d.Bk;return l().createElement(p.Z,n()({onClick:this.onClick},this.props,{isMultiSite:e}))}return l().createElement(c.Z,n()({onClick:this.onClick},this.props))}}t.Z=m},2975:function(e,t,r){var s=r(8294),n=r.n(s),a=r(5736),i=r(211),o=r.n(i),l=r(1180),c=r(4741),p=r(423),h=r(7704),u=r(9988),d=r(8192),m=r(4524),g=r(5825),_=r(1547),f=r(9755);const __=a.__,_n=a._n;class v extends i.Component{constructor(){super(...arguments),n()(this,"state",{shouldShowMobileSecondary:!1}),n()(this,"toggleMobileSecondary",(e=>{"click"!==e.type&&("keydown"!==e.type||"Enter"!==e.key&&" "!==e.key)||(" "===e.key&&e.preventDefault(),this.setState((e=>({shouldShowMobileSecondary:!e.shouldShowMobileSecondary}))))})),n()(this,"closeOverlay",(e=>{e.preventDefault(),this.props.closeOverlay()})),n()(this,"onKeyPressHandler",(e=>{"Enter"===e.key&&(e.preventDefault(),this.props.closeOverlay())}))}hasFilterOptions(){var e,t;let r=[...this.props.widgets];return(null===(e=this.props.widgetOutsideOverlay)||void 0===e||null===(t=e.filters)||void 0===t?void 0:t.length)>0&&(r=[this.props.widgetOutsideOverlay,...r]),r.length>0}getSearchTitle(){const{total:e=0,corrected_query:t=!1}=this.props.response,r=""!==this.props.searchQuery,s=!1!==t,n=(new Intl.NumberFormat).format(e),i=this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==f.Bk;if(this.props.isLoading)return r?__("Searching…","jetpack-search-pkg",0):__("Loading popular results…","jetpack-search-pkg");if(0===e||this.props.hasError)return __("No results found","jetpack-search-pkg");if(r&&s)return(0,a.sprintf)(
+/* translators: %1$s: number of results. %2$s: the corrected search query. */
+_n('Found %1$s result for "%2$s"','Found %1$s results for "%2$s"',e,"jetpack-search-pkg"),n,t);if(i){var o;const t=(0,_.bA)().filter((e=>"group_id"===e.filter_id)),r=1===t.length&&t[0].values?t[0].values.filter((e=>e.value!==f.Bk)):{},s=null!==(o=r[0])&&void 0!==o&&o.name?r[0].name:__("All P2","jetpack-search-pkg");return(0,a.sprintf)(
+/* translators: %1$s: number of results. - %2$s: site name. */
+_n("Found %1$s result in %2$s","Found %1$s results in %2$s",e,"jetpack-search-pkg"),n,s)}return r?(0,a.sprintf)(
+/* translators: %s: number of results. */
+_n("Found %s result","Found %s results",e,"jetpack-search-pkg"),n,this.props.searchQuery):__("Showing popular results","jetpack-search-pkg")}renderPrimarySection(){const{highlightColor:e,searchQuery:t}=this.props,{results:r=[],total:s=0,corrected_query:n=!1}=this.props.response,l=(0,g.B)(e),h=!1!==n,u=s>0;return o().createElement(i.Fragment,null,o().createElement("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t\t\t\t\t.jetpack-instant-search *::selection,\n\t\t\t\t\t\t\t.jetpack-instant-search .jetpack-instant-search__search-results .jetpack-instant-search__search-results-primary .jetpack-instant-search__search-result mark {\n\t\t\t\t\t\t\t\tcolor: ${l};\n\t\t\t\t\t\t\t\tbackground-color: ${e};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t`}}),o().createElement("h2",{className:"jetpack-instant-search__search-results-title"},this.getSearchTitle()),u&&h&&o().createElement("p",{className:"jetpack-instant-search__search-results-unused-query"},
+/* translators: %s: Search query. */
+(0,a.sprintf)(__('No results for "%s"',"jetpack-search-pkg"),t)),this.props.hasError&&o().createElement(c.Z,{type:"warning"},__("It looks like you're offline. Please reconnect for results.","jetpack-search-pkg")),u&&!this.props.hasError&&this.props.response._isOffline&&o().createElement(c.Z,{type:"warning"},__("It looks like you're offline. Please reconnect to load the latest results.","jetpack-search-pkg")),u&&!this.props.hasError&&o().createElement("ol",{className:`jetpack-instant-search__search-results-list is-format-${this.props.resultFormat}`},r.map(((e,t)=>o().createElement(d.Z,{index:t,key:t,staticFilters:this.props.staticFilters,isPhotonEnabled:this.props.isPhotonEnabled,locale:this.props.locale,railcar:this.props.isVisible?e.railcar:null,result:e,resultFormat:this.props.resultFormat,searchQuery:this.props.searchQuery})))),u&&this.props.hasNextPage&&o().createElement("div",{className:"jetpack-instant-search__search-results-pagination"},o().createElement(p.Z,{enableLoadOnScroll:this.props.enableLoadOnScroll,isLoading:this.props.isLoading,onLoadNextPage:this.props.onLoadNextPage})))}renderSecondarySection(){return o().createElement(m.Z,{filters:this.props.filters,staticFilters:this.props.staticFilters,isLoading:this.props.isLoading,locale:this.props.locale,postTypes:this.props.postTypes,response:this.props.response,showPoweredBy:this.props.showPoweredBy,widgets:this.props.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay})}render(){return o().createElement("div",{"aria-hidden":!0===this.props.isLoading,className:"jetpack-instant-search__search-results"},o().createElement("div",{className:"jetpack-instant-search__search-results-controls",role:"form"},o().createElement(u.Z,{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-results-search-form",isVisible:this.props.isVisible,onChangeSearch:this.props.onChangeSearch,searchQuery:this.props.searchQuery}),o().createElement("button",{className:"jetpack-instant-search__overlay-close",onClick:this.closeOverlay,onKeyPress:this.onKeyPressHandler,tabIndex:"0","aria-label":__("Close search results","jetpack-search-pkg")},o().createElement(l.Z,{icon:"cross",size:"24","aria-hidden":"true",focusable:"false"}))),o().createElement(h.Z,{enableSort:this.props.enableSort,onChangeSort:this.props.onChangeSort,resultFormat:this.props.resultFormat,sort:this.props.sort},(this.hasFilterOptions()||this.props.hasNonSearchWidgets)&&o().createElement("div",{role:"button",onClick:this.toggleMobileSecondary,onKeyDown:this.toggleMobileSecondary,tabIndex:"0",className:"jetpack-instant-search__search-results-filter-button"},__("Filters","jetpack-search-pkg"),o().createElement(l.Z,{icon:"chevron-down",size:16,alt:__("Show search filters","jetpack-search-pkg"),"aria-hidden":"true"}),o().createElement("span",{className:"screen-reader-text assistive-text"},this.state.shouldShowMobileSecondary?__("Hide filters","jetpack-search-pkg"):__("Show filters","jetpack-search-pkg")))),o().createElement("div",{"aria-live":"polite",className:"jetpack-instant-search__search-results-content",id:"jetpack-instant-search__search-results-content"},o().createElement("div",{className:"jetpack-instant-search__search-results-primary"},this.renderPrimarySection()),o().createElement("div",{className:["jetpack-instant-search__search-results-secondary",(this.state.shouldShowMobileSecondary?"jetpack-instant-search__search-results-secondary--show-as-modal":"")+" "].join(" ")},this.renderSecondarySection())))}}t.Z=v},9873:function(e,t,r){r.d(t,{Z:function(){return c}});var s=r(8294),n=r.n(s),a=r(211),i=r.n(a),o=r(5736),l=r(343);const __=o.__;class c extends a.Component{constructor(){super(...arguments),n()(this,"handleKeyPress",(e=>{this.props.value!==e.currentTarget.value&&"Enter"===e.key&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))})),n()(this,"handleClick",(e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))})),n()(this,"handleSelectChange",(e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.value))}))}render(){const e=(0,l.n)(this.props.resultFormat);return e.size>3?i().createElement("div",{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-select"},i().createElement("label",{htmlFor:"jetpack-instant-search__search-sort-select"},__("Sort:","jetpack-search-pkg")),i().createElement("select",{id:"jetpack-instant-search__search-sort-select",onBlur:this.handleSelectChange,onChange:this.handleSelectChange},[...e.entries()].map((e=>{let[t,r]=e;return i().createElement("option",{value:t,key:t,selected:this.props.value===t?"selected":""},r)})))):i().createElement("div",{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-links"},i().createElement("div",{className:"screen-reader-text"},__("Sort by: ","jetpack-search-pkg")),[...e.entries()].map((e=>{let[t,r]=e;return i().createElement("a",{className:"jetpack-instant-search__search-sort-option "+(this.props.value===t?"is-selected":""),"data-value":t,key:t,onClick:this.handleClick,onKeyPress:this.handleKeyPress,role:"button",tabIndex:0},r)})))}}},4524:function(e,t,r){var s=r(211),n=r.n(s),a=r(1631),i=r(5181),o=r(8852);t.Z=e=>n().createElement("div",{className:"jetpack-instant-search__sidebar"},n().createElement(a.Z,{filters:e.filters,staticFilters:e.staticFilters,loading:e.isLoading,locale:e.locale,postTypes:e.postTypes,results:e.response,showClearFiltersButton:!0,widget:e.widgetOutsideOverlay}),n().createElement(i.Z,null),e.widgets.map((t=>(0,s.createPortal)(n().createElement("div",{id:`${t.widget_id}-portaled-wrapper`,className:"jetpack-instant-search__portaled-wrapper"},n().createElement(a.Z,{filters:e.filters,staticFilters:e.staticFilters,loading:e.isLoading,locale:e.locale,postTypes:e.postTypes,results:e.response,showClearFiltersButton:!1,showTitle:!1,widget:t})),document.getElementById(`${t.widget_id}-wrapper`)))),e.showPoweredBy&&n().createElement(o.Z,{locale:e.locale}))},5181:function(e,t,r){r.d(t,{Z:function(){return o}});var s=r(8294),n=r.n(s),a=r(211),i=r.n(a);class o extends a.Component{constructor(){super(...arguments),n()(this,"container",(0,a.createRef)())}componentDidMount(){const e=document.getElementsByClassName("jetpack-instant-search__widget-area")[0];e&&(e.style.removeProperty("display"),this.container.current.appendChild(e))}shouldComponentUpdate(){return!1}render(){return i().createElement("div",{className:"jetpack-instant-search__widget-area-container",ref:this.container})}}},564:function(e,t,r){function s(e,t,r){if(!e)return"";const s=decodeURIComponent(e);return(!t||"false"!==s)&&(!(!t||"true"!==s)||(r&&0*+s==0?+s:s))}function n(e,t,r){let n,a;const i={},o=e.split("&");for(t=void 0===t||t,r=void 0===r||r;n=o.shift();)n=n.split("="),a=n.shift(),void 0!==i[a]?i[a]=[].concat(i[a],s(n.shift(),t,r)):i[a]=s(n.shift(),t,r);return i}r.d(t,{J:function(){return n}})},1559:function(e,t,r){r.r(t),r.d(t,{initialize:function(){return u}});r(554);var s=r(762),n=r(2687),a=r(9309),i=r(5652),o=r(2160),l=r(9755),c=r(5476),p=r(4184),h=r(9379);function u(){window[l.W1]&&"siteId"in window[l.W1]&&(0,n.render)(s.ZP.createElement(a.zt,{store:h.Z},s.ZP.createElement(i.Z,{aggregations:(0,c.a5)([...window[l.W1].widgets,...window[l.W1].widgetsOutsideOverlay]),enableAnalytics:!0,hasOverlayWidgets:!!window[l.W1].hasOverlayWidgets,initialHref:window.location.href,initialIsVisible:window[l.W1].showResults,isInCustomizer:(0,p.bS)(),overlayOptions:window[l.W1].overlayOptions,options:window[l.W1],shouldCreatePortal:!0,shouldIntegrateWithDom:!0,themeOptions:(0,o.C)(window[l.W1])})),document.body)}},5476:function(e,t,r){r.d(t,{Wb:function(){return m},a5:function(){return d},yC:function(){return T}});r(3679);var s=r(8750),n=r(5731),a=r(7390),i=r.n(a),o=r(9353),l=r(1547),c=r(9755);let p;const h=(0,o.Z)(30,5*c.AG),u=(0,o.Z)(30,30*c.AG);function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t={};return e.forEach((e=>{let{filters:r}=e;return r.forEach((e=>{t[e.filter_id]=g(e)}))})),t}function m(e){var t;return e=null!==(t=e)&&void 0!==t?t:{},Object.fromEntries(Object.entries(e).filter((e=>{var t;let[,r]=e;return(null==r||null===(t=r.buckets)||void 0===t?void 0:t.length)>0})).map((e=>{let[t,r]=e;const s=r.buckets.map((e=>({...e,doc_count:0})));return[t,{...r,buckets:s}]})))}function g(e){switch(e.type){case"date_histogram":return{date_histogram:{field:"post_date_gmt"===e.field?"date_gmt":"date",interval:e.interval}};case"taxonomy":{let t=`taxonomy.${e.taxonomy}.slug_slash_name`;return"post_tag"===e.taxonomy?t="tag.slug_slash_name":"category"===e.taxonomy&&(t="category.slug_slash_name"),{terms:{field:t,size:e.count}}}case"post_type":return{terms:{field:e.type,size:e.count}}}}C();const _=/(\d{4})-(\d{2})-(\d{2})/;function f(e,t,r){let s,n;"year"===r&&([,s,,]=t.match(_)),"month"===r&&([,s,n]=t.match(_));let a="",i="";if(n){const e=+n+1,t=e<10?`0${e}`:`${e}`;a=`${s}-${n}-01`,i=e<=12?`${s}-${t}-01`:+s+1+"-01-01"}else s&&(a=`${s}-01-01`,i=+s+1+"-01-01");return{range:{[e]:{gte:a,lt:i}}}}const v=new Map([["post_types",e=>({term:{post_type:e}})],["category",e=>({term:{"category.slug":e}})],["post_tag",e=>({term:{"tag.slug":e}})],["month_post_date",e=>f("date",e,"month")],["month_post_date_gmt",e=>f("date_gmt",e,"month")],["month_post_modified",e=>f("date",e,"month")],["month_post_modified_gmt",e=>f("date_gmt",e,"month")],["year_post_date",e=>f("date",e,"year")],["year_post_date_gmt",e=>f("date_gmt",e,"year")],["year_post_modified",e=>f("date",e,"year")],["year_post_modified_gmt",e=>f("date_gmt",e,"year")]]);function y(e){const t={};return Object.keys(e).forEach((r=>{const s=e[r];"group_id"===r&&s!==c.Bk&&(t[r]=s)})),t}function E(e,t,r){const s={bool:{must:[]}};return(0,l.wP)().filter((t=>{return r=e[t],Array.isArray(r)&&r.length>0;var r})).forEach((t=>{e[t].forEach((e=>{v.has(t)?s.bool.must.push(v.get(t)(e)):s.bool.must.push({term:{[`taxonomy.${t}.slug`]:e}})}))})),t&&s.bool.must.push(t),(null==r?void 0:r.length)>0&&s.bool.must.push({bool:{must_not:r.map((e=>v.get("post_types")(e)))}}),s}const k=new Map([["oldest","date_asc"],["newest","date_desc"],["relevance","score_default"]]);function w(e){return["price_asc","price_desc","rating_desc"].includes(e)?e:k.get(e,"score_default")}function S(e){let{aggregations:t,excludedPostTypes:r,filter:a,staticFilters:i,pageHandle:o,query:l,resultFormat:p,sort:h,postsPerPage:u=10,adminQueryFilter:d,isInCustomizer:m=!1}=e;null===l&&(l="");let g=["date","permalink.url.raw","tag.name.default","category.name.default","post_type","shortcode_types"];(p!==c.TZ||m)&&(g=g.concat(["has.image","image.url.raw","image.alt_text"])),(p===c.LI||m)&&(g=g.concat(["meta._wc_average_rating.double","meta._wc_review_count.long","wc.formatted_price","wc.formatted_regular_price","wc.formatted_sale_price","wc.price","wc.sale_price"])),i&&i.group_id&&i.group_id!==c.Bk&&(g=g.concat(["author","blog_name","blog_icon_url"]));let _={aggregations:t,fields:g,highlight_fields:["title","content","comments"],filter:E(a,d,r),query:encodeURIComponent(l),sort:w(h),page_handle:o,size:u};return i&&Object.keys(i).length>0&&(_={..._,...y(i)}),(0,s.c)((0,n.x)(_))}function b(e){return function(t){const r=h.get(e)||u.get(e);if("AbortError"===t.name)return r?{_isCached:!0,_isError:!1,_isOffline:!1,...r}:null;if(r)return{_isCached:!0,_isError:!0,_isOffline:!1,...r};throw t}}function j(e,t){return function(r){const s={...r,requestId:t};return h.set(e,s),u.set(e,s),s}}function C(){p&&p.abort(),p=new AbortController}function T(e,t){const r=i()(Array.from(arguments));if(!navigator.onLine&&u.get(r))return Promise.resolve(u.get(r)).then((e=>({_isCached:!0,_isError:!1,_isOffline:!0,...e})));if(h.get(r))return Promise.resolve(h.get(r)).then((e=>({_isCached:!0,_isError:!1,_isOffline:!1,...e})));const s=S(e),n=b(r),a=j(r,t),o=`/sites/${e.siteId}/search?${s}`,{apiNonce:l,apiRoot:d,homeUrl:m,isPrivateSite:g,isWpcom:_}=window[c.W1],f=`https://public-api.wordpress.com/rest/v1.3${o}`,v=`${m}/wp-json/wpcom-origin/v1.3${o}`,y=`${d}jetpack/v4/search?${s}`;let E=f;return g&&_?E=v:g&&(E=y),C(),fetch(E,{headers:g?{"X-WP-Nonce":l}:{},credentials:g?"include":"same-origin",signal:p.signal}).then((e=>200!==e.status?Promise.reject(`Unexpected response from API with status code ${e.status}.`):e)).then((e=>e.json())).then(a).catch(n)}},2601:function(e,t,r){r.d(t,{Z:function(){return s}});r(3679);function s(e,t){Array.isArray(e)||(e=[e]);return 0!==e.filter((e=>t.includes(e))).length}},5825:function(e,t,r){function s(e){const t=function(e){let t;return"#"===e[0]&&(t=e.substring(1)),3===t.length&&(t=t.split("").map((e=>`${e}${e}`)).join("")),t}(e);return(299*parseInt(t.substr(0,2),16)+587*parseInt(t.substr(2,2),16)+114*parseInt(t.substr(4,2),16))/1e3>=128?"black":"white"}r.d(t,{B:function(){return s}})},2160:function(e,t,r){function s(e){return[...e.querySelectorAll('input[type="checkbox"]').values()].filter((e=>e.checked)).map((e=>e.name))}function n(e){const t={searchInputSelector:['input[name="s"]:not(.jetpack-instant-search__box-input)',"#searchform input.search-field:not(.jetpack-instant-search__box-input)",".search-form input.search-field:not(.jetpack-instant-search__box-input)",".searchform input.search-field:not(.jetpack-instant-search__box-input)"].join(", "),filterInputSelector:["a.jetpack-search-filter__link"],overlayTriggerSelector:[".jetpack-instant-search__open-overlay-button","header#site-header .search-toggle[data-toggle-target]"].join(",")};return e.theme_options?{...t,...e.theme_options}:t}r.d(t,{C:function(){return n},b:function(){return s}})},3499:function(e,t){const r=()=>{};t.Z=()=>r},1547:function(e,t,r){r.d(t,{$s:function(){return u},bA:function(){return i},do:function(){return c},i3:function(){return o},jZ:function(){return h},jc:function(){return d},wP:function(){return a}});r(3679);var s=r(9755);const n=Object.freeze(["post_types","category","post_format","post_tag","month_post_date","month_post_date_gmt","month_post_modified","month_post_modified_gmt","year_post_date","year_post_date_gmt","year_post_modified","year_post_modified_gmt"]);function a(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window[s.W1])||void 0===e?void 0:e.widgets,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=window[s.W1])||void 0===t?void 0:t.widgetsOutsideOverlay;const i=new Set(n);return[...null!=r?r:[],...null!=a?a:[]].map((e=>e.filters)).filter((e=>Array.isArray(e))).reduce(((e,t)=>e.concat(t)),[]).filter((e=>"taxonomy"===e.type)).forEach((e=>i.add(e.taxonomy))),[...i]}function i(){var e;return null!==(e=window[s.W1])&&void 0!==e&&e.staticFilters?window[s.W1].staticFilters:[]}function o(){const e=i(),t=new Set;return e.forEach((e=>t.add(e.filter_id))),[...t]}function l(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window[s.W1])||void 0===e?void 0:e.widgets;return null!==(t=null==r?void 0:r.map(p).reduce(((e,t)=>e.concat(t)),[]))&&void 0!==t?t:[]}function c(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window[s.W1])||void 0===e?void 0:e.widgets;const r=l(t);return a().filter((e=>!r.includes(e)))}function p(e){return e.filters.map(h).filter((e=>"string"==typeof e))}function h(e){return"date_histogram"===e.type?`${e.interval}_${e.field}`:"taxonomy"===e.type?`${e.taxonomy}`:"post_type"===e.type?"post_types":"group"===e.type?e.filter_id:null}function u(e){return e.includes("month")?{field:e.split("month_").pop(),type:"date_histogram",interval:"month"}:e.includes("year")?{field:e.split("year_").pop(),type:"date_histogram",interval:"year"}:"post_types"===e?{type:"post_type"}:"group"===e?{type:"group"}:{type:"taxonomy",taxonomy:e}}function d(e){return"date_histogram"===e.type?"date":"taxonomy"===e.type?"taxonomy":"post_type"===e.type?"postType":"group"===e.type?"group":void 0}},9087:function(e,t,r){r.d(t,{y:function(){return i}});r(3679);var s=r(9424),n=r(211);function a(e){return e?e.split("?",1)[0]:""}function i(e,t,r){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const[o,l]=(0,n.useState)(null),c=a(e),p=["gif","jpg","jpeg","png","webp"],h=null==c?void 0:c.substring(c.lastIndexOf(".")+1).toLowerCase(),u=p.includes(h);return(0,n.useEffect)((()=>{if(i&&u){const n=(0,s.Z)(c,{resize:`${t},${r}`});l(n||e)}else l(e)}),[e,t,r,i,c,u]),o}},6302:function(e,t,r){r.d(t,{Q0:function(){return p},_L:function(){return l},pm:function(){return o},ug:function(){return c}});r(3679);var s=r(8750),n=r(9755),a=r(1547),i=r(564);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search;return(0,i.J)(e.substring(1),!1,!1)}function l(e){!function(e){if(history.pushState){const t=new window.URL(window.location.href);window[n.W1]&&"homeUrl"in window[n.W1]&&(t.href=window[n.W1].homeUrl),t.search=e,window.history.pushState(null,null,t.toString())}}((0,s.c)(e))}function c(){const e=o();return n.bk.includes(e.result_format)?e.result_format:null}function p(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(history.pushState&&history.replaceState){const n=new URL(e),i=o(n.search),l=[...(0,a.wP)(),...(0,a.i3)(),"s","sort"],c=Object.keys(i).some((e=>l.includes(e)));if(c&&l.forEach((e=>delete i[e])),n.search=(0,s.c)(i),r?window.history.replaceState(null,null,n.toString()):window.history.pushState(null,null,n.toString()),c)return void window.location.reload();t()}}},343:function(e,t,r){r.d(t,{n:function(){return n}});var s=r(9755);function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e!==s.LI?s.aP:new Map([...s.aP,...s.rs])}},8050:function(e,t,r){r.d(t,{AM:function(){return l},GE:function(){return u},IJ:function(){return a},Lo:function(){return h},Sn:function(){return p},tU:function(){return i},vy:function(){return o}});let s=!0;const n={};function a(){s=!1}function i(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||s)&&(window._tkq=window._tkq||[])}function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||s)&&window._tkq.push(["clearIdentity"])}function l(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(t||s)&&(n.blog_id=e)}function c(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(r||s)&&window._tkq.push(["recordEvent",e,{...n,...t}])}function p(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c("jetpack_instant_search_traintracks_render",e,t)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c("jetpack_instant_search_traintracks_interact",e,t)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c("jetpack_instant_search_static_filter_select",e,t)}},8389:function(e,t,r){function s(e){return{type:"MAKE_SEARCH_REQUEST",options:e}}function n(e){let{options:t,response:r}=e;return{type:"RECORD_SUCCESSFUL_SEARCH_REQUEST",options:t,response:r}}function a(e){return{type:"RECORD_FAILED_SEARCH_REQUEST",error:e}}function i(){let{isHistoryNavigation:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"INITIALIZE_QUERY_VALUES",isHistoryNavigation:e}}function o(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"SET_SEARCH_QUERY",query:e,propagateToWindow:t}}function l(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"SET_SORT",sort:e,propagateToWindow:t}}function c(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_FILTER",name:e,value:t,propagateToWindow:r}}function p(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_STATIC_FILTER",name:e,value:t,propagateToWindow:r}}function h(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"CLEAR_FILTERS",propagateToWindow:e}}function u(){return{type:"CLEAR_QUERY_VALUES"}}function d(){return{type:"DISABLE_QUERY_STRING_INTEGRATION"}}r.d(t,{C0:function(){return n},HD:function(){return l},K5:function(){return h},Ln:function(){return i},Mz:function(){return u},O1:function(){return p},OZ:function(){return d},Tv:function(){return c},Y6:function(){return a},ql:function(){return o},x1:function(){return s}})},4587:function(e,t,r){r(3679);var s=r(3259),n=r.n(s),a=r(5476),i=r(9755),o=r(1547),l=r(6302),c=r(8389);let p=0,h=!0;const u=n()(l._L,i.yb);t.Z={CLEAR_FILTERS:function(e){if(!1===e.propagateToWindow||!h)return;const t=(0,l.pm)();(0,o.wP)().forEach((e=>delete t[e])),(0,o.i3)().forEach((e=>delete t[e])),(0,l._L)(t)},DISABLE_QUERY_STRING_INTEGRATION:function(){h=!1},INITIALIZE_QUERY_VALUES:function(e,t){const r=(0,l.pm)();let s;"s"in r?t.dispatch((0,c.ql)(r.s,!1)):t.dispatch((0,c.ql)(null,!1)),i.kQ.includes(r.sort)?s=r.sort:"date"===r.orderby?s="string"==typeof r.order&&r.order.toUpperCase()===i.oy?"oldest":"newest":"relevance"===r.orderby&&(s="relevance"),"string"==typeof s&&t.dispatch((0,c.HD)(s,!1)),t.dispatch((0,c.K5)(!1)),(0,o.wP)().filter((e=>e in r)).forEach((e=>t.dispatch((0,c.Tv)(e,r[e],!1)))),(0,o.i3)().filter((e=>e in r)).forEach((e=>t.dispatch((0,c.O1)(e,r[e],!1))))},MAKE_SEARCH_REQUEST:function(e,t){p++,(0,a.yC)(e.options,p).then((r=>{null!==r&&t.dispatch((0,c.C0)({options:e.options,response:r}))})).catch((e=>{console.error("Jetpack Search encountered an error:",e),t.dispatch((0,c.Y6)(e))}))},SET_FILTER:function(e){if(!1===e.propagateToWindow||!h)return;if(!(0,o.wP)().includes(e.name))return;const t=(0,l.pm)();t[e.name]=e.value,(0,l._L)(t)},SET_STATIC_FILTER:function(e){if(!1===e.propagateToWindow)return;if(!(0,o.i3)().includes(e.name))return;const t=(0,l.pm)();t[e.name]=e.value,(0,l._L)(t)},SET_SEARCH_QUERY:function(e){if(!1===e.propagateToWindow||!h)return;const t=(0,l.pm)();null!==e.query?t.s=e.query:delete t.s,u(t)},SET_SORT:function(e){if(!1===e.propagateToWindow||!h)return;if(!i.kQ.includes(e.sort))return;const t=(0,l.pm)();t.sort=e.sort,delete t.order,delete t.orderby,(0,l._L)(t)}}},9379:function(e,t,r){var s=r(835),n=r(4274),a=r.n(n),i=r(4587),o=r(4408);const l=[a()(i.Z)],c=(0,s.MT)(o.ZP,{},(0,s.md)(...l));t.Z=c},9267:function(e,t,r){r.d(t,{hg:function(){return i},p:function(){return o},xT:function(){return a}});var s=r(5476);let n={};function a(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"MAKE_SEARCH_REQUEST":case"RECORD_SUCCESSFUL_SEARCH_REQUEST":return!1;case"RECORD_FAILED_SEARCH_REQUEST":return!0}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"MAKE_SEARCH_REQUEST":return!0;case"RECORD_SUCCESSFUL_SEARCH_REQUEST":case"RECORD_FAILED_SEARCH_REQUEST":return!1}return e}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECORD_SUCCESSFUL_SEARCH_REQUEST"===t.type){if("requestId"in e&&"requestId"in t.response&&e.requestId>t.response.requestId)return e;const a={...t.response};var r;if(t.options.pageHandle&&(a.aggregations={..."aggregations"in e&&!Array.isArray(e)?e.aggregations:{},...Array.isArray(a.aggregations)?{}:a.aggregations},a.results=[..."results"in e?e.results:[],...a.results],n={}),Array.isArray(a.results)&&a.results.length>a.total&&(a.total=a.results.length),!t.options.pageHandle)(null===(r=a.results)||void 0===r?void 0:r.length)>0?n=(0,s.Wb)(a.aggregations):a.aggregations=n;return a}return e}},9049:function(e,t,r){function s(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INITIALIZE_QUERY_VALUES":return t.isHistoryNavigation;case"SET_SEARCH_QUERY":case"SET_SORT":case"CLEAR_FILTERS":case"SET_FILTER":return!t.propagateToWindow&&e}return e}r.d(t,{w:function(){return s}})},4408:function(e,t,r){var s=r(835),n=r(9267),a=r(4754),i=r(5188),o=r(9049);t.ZP=(0,s.UY)({filters:a.u8,staticFilters:a.OY,hasError:n.xT,isLoading:n.hg,isHistoryNavigation:o.w,response:n.p,searchQuery:a.w4,serverOptions:i.M,sort:a.DY})},4754:function(e,t,r){r.d(t,{DY:function(){return i},OY:function(){return l},u8:function(){return o},w4:function(){return a}});r(3679);var s=r(9755),n=r(1547);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SEARCH_QUERY":return t.query;case"CLEAR_QUERY_VALUES":return null}return e}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SORT":return s.kQ.includes(t.sort)?t.sort:e;case"CLEAR_QUERY_VALUES":return null}return e}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_FILTERS":case"CLEAR_QUERY_VALUES":return{};case"SET_FILTER":if(!(0,n.wP)().includes(t.name)||!Array.isArray(t.value)&&"string"!=typeof t.value)return e;if(0===t.value.length){const r={...e};return delete r[t.name],r}return{...e,[t.name]:"string"==typeof t.value?[t.value]:t.value}}return e}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_QUERY_VALUES":return{};case"SET_STATIC_FILTER":return(0,n.i3)().includes(t.name)?{...e,[t.name]:t.value}:e}return e}},5188:function(e,t,r){r.d(t,{M:function(){return n}});var s=r(9755);function n(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(e=window[s.W1])&&void 0!==e?e:{};return t}},1530:function(e,t,r){r.d(t,{Bk:function(){return u},Qy:function(){return o},ZN:function(){return m},Zj:function(){return h},ck:function(){return a},en:function(){return d},hg:function(){return l},r$:function(){return p},uP:function(){return c},wI:function(){return g},xT:function(){return i}});r(3679);var s=r(9755),n=r(1547);function a(e){return e.response}function i(e){return e.hasError}function o(e){var t;return!i(e)&&(null===(t=a(e))||void 0===t?void 0:t.page_handle)}function l(e){return e.isLoading}function c(e){return e.searchQuery}function p(e,t){return"string"!=typeof t&&(t=s.PP),"string"==typeof e.sort?e.sort:t}function h(e){return e.filters}function u(e){return e.staticFilters}function d(e){return null!==c(e)||function(e){return Object.keys(e.filters).length>0}(e)||function(e){return Object.keys(e.staticFilters).length>0}(e)||null!==e.sort}function m(e){if(!e.serverOptions.widgets||!e.filters)return{};const t=(0,n.do)(e.serverOptions.widgets);return{filters:Object.keys(e.filters).filter((e=>t.includes(e))).map(n.$s)}}function g(e){return e.isHistoryNavigation}}}]); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.rtl.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.rtl.css
new file mode 100644
index 00000000..d3d5054e
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.chunk-main-payload.rtl.css
@@ -0,0 +1 @@
+.jetpack-instant-search__overlay{background:rgba(29,35,39,.7);bottom:0;box-sizing:border-box;color:#00101c;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;transition:opacity .1s ease-in;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay.is-hidden{background:transparent;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}.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)}.jetpack-instant-search__notice{font-size:14px;margin:1em 0;padding:.75em}.jetpack-instant-search__notice.jetpack-instant-search__notice--warning{background-color:#f5e6b3;color:#4f3500}.jetpack-instant-search__notice .gridicon{margin-left:.5em;margin-top:-5px;vertical-align:middle}.jetpack-instant-search__scroll-button{border:0;box-shadow:none;font-size:13px;outline:0}.jetpack-instant-search__search-sort{align-items:center;display:flex}.jetpack-instant-search__search-sort>label[for=jetpack-instant-search__search-sort-select]{flex-shrink:0;font-size:1em;font-weight:700;margin:0 0 0 .25em}.jetpack-instant-search__search-sort-with-links{font-size:13px}@media(max-width:575.98px){.jetpack-instant-search__search-sort-with-select{margin-left:1em;width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-sort-with-select{margin-left:0}}@media(min-width:992px){.jetpack-instant-search__search-sort-with-select{margin-top:-4px}}#jetpack-instant-search__search-sort-select{-webkit-appearance:auto;appearance:auto;background:#fff;border:1px solid #e6f1f5;border-radius:5px;color:#00101c;font-size:1em;height:inherit;padding:.25em}@media(max-width:575.98px){#jetpack-instant-search__search-sort-select{padding:.5em;width:100%}}.jetpack-instant-search__search-sort-option{color:#646970;cursor:pointer;padding:0 2px;text-decoration:none}.jetpack-instant-search__search-sort-option:after{color:#646970;content:"·";font-weight:400;padding-right:5px}.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:focus,.jetpack-instant-search__search-sort .jetpack-instant-search__search-sort-option:hover{text-decoration:none}.jetpack-instant-search__search-sort-option:last-child:after{content:""}.jetpack-instant-search__search-sort-option.is-selected{color:#044b7a;font-weight:600;text-decoration:none}.jetpack-instant-search__search-form-controls{align-items:center;display:flex;line-height:1.3;margin-left:56px;margin-right:56px;margin-top:16px;z-index:1}@media(max-width:991.98px){.jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{flex-direction:row-reverse;justify-content:space-between;left:0;margin-left:40px;margin-right:40px;position:relative;right:0}}@media(max-width:767.98px){.jetpack-instant-search__search-form-controls{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-form-controls{left:320px;position:absolute}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-form-controls{left:320px;position:absolute}}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-form-controls{left:0}.jetpack-instant-search__box{border-bottom:1px solid #e6f1f5;border-left:1px solid #e6f1f5}.jetpack-instant-search__box-label{align-items:center;display:flex;flex:0 0 100%;margin:0}input.jetpack-instant-search__box-input.search-field{-webkit-appearance:none;appearance:none;background:#fff;border:0;box-shadow:none;color:#3c434a;font-size:18px;height:60px;line-height:1;margin:0;max-width:none;padding:0 14px;text-indent:32px;vertical-align:middle}input.jetpack-instant-search__box-input.search-field:focus,input.jetpack-instant-search__box-input.search-field:hover{background:#fff;color:#00101c}input.jetpack-instant-search__box-input.search-field.search-field{letter-spacing:-.02em;padding-right:0;text-indent:0}.jetpack-instant-search__box-gridicon{align-items:center;display:flex;flex-shrink:0;height:60px;justify-content:center;position:relative;right:0;top:0;width:60px;z-index:1}.jetpack-instant-search__box-gridicon svg{fill:#646970}.jetpack-instant-search__box input[type=button]{word-wrap:normal;border:none;border-radius:0;color:#646970;cursor:pointer;font-size:1em;font-weight:400;height:60px;line-height:1;margin:0 0 0 .25em;padding:0;text-decoration:none;text-shadow:none;text-transform:none;transition:all .1s linear;width:60px}.jetpack-instant-search__box input[type=button],.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}.jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__box input[type=button]:hover{color:#3c434a}.jetpack-instant-search__box input[type=button]:focus{outline:1px dotted}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input{border:none;box-shadow:none;height:52px;outline-style:none;transition:color .15s ease-in-out,border-color .25s ease-in-out;width:100%}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:focus,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input:hover{border:none;box-shadow:none;outline-style:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-button,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-results-decoration{appearance:none;-webkit-appearance:none;display:initial}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-webkit-search-cancel-button{display:none}.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-clear,.jetpack-instant-search__box input[type=search].jetpack-instant-search__box-input::-ms-reveal{display:none}.jetpack-instant-search__path-breadcrumb{font-size:.9em;margin:0;max-width:calc(100vw - 2em);overflow-x:hidden;text-overflow:ellipsis}.jetpack-instant-search__path-breadcrumb-link{max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jetpack-instant-search__path-breadcrumb-link:focus,.jetpack-instant-search__path-breadcrumb-link:hover{text-decoration:underline}.jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__path-breadcrumb-link{color:#3c434a}.jetpack-instant-search__search-result-comments{border-right:2px solid #f0f0f1;font-size:.9em;margin-right:8px;margin-top:16px;padding-right:16px;word-break:break-word}.jetpack-instant-search__search-result-comments .gridicon{margin-left:8px;vertical-align:middle}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title{margin-bottom:.4em}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-minimal-title .gridicon{margin-left:8px}.jetpack-instant-search__search-result-minimal-cats-and-tags{display:flex;flex-flow:row wrap;font-size:.9375em}.jetpack-instant-search__search-result-minimal-cats,.jetpack-instant-search__search-result-minimal-tags{display:flex;flex-flow:row wrap;list-style-type:none;margin:0;padding:0}.jetpack-instant-search__search-result-minimal-cat,.jetpack-instant-search__search-result-minimal-tag{margin:0 0 0 .75em}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-tag .gridicon{margin-left:.25em}.jetpack-instant-search__search-result-minimal-cat .gridicon,.jetpack-instant-search__search-result-minimal-cat-text,.jetpack-instant-search__search-result-minimal-tag .gridicon,.jetpack-instant-search__search-result-minimal-tag-text{vertical-align:middle}.jetpack-instant-search__search-result-minimal-content{word-break:break-word}.jetpack-instant-search__search-result-expanded{display:flex;flex-flow:column}.jetpack-instant-search__search-result-expanded:last-child{margin-left:0}.jetpack-instant-search__search-result-expanded .jetpack-instant-search__search-result-expanded__title{width:100%}.jetpack-instant-search__search-result-expanded__path{color:#646970;font-size:.9375em;margin:0 0 .4em}.jetpack-instant-search__search-result-expanded__copy-container{max-width:100%}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__copy-container{width:calc(100% - 128px - 1em)}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__copy-container{width:auto}.jetpack-instant-search__search-result-expanded__content{color:#00101c;font-size:.9375em}.jetpack-instant-search__search-result-expanded__image-link{margin-right:1em}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-link{margin:0 auto .5em;order:-1}}.jetpack-instant-search__search-result-expanded__image-container{width:128px}@media(max-width:575.98px){.jetpack-instant-search__search-result-expanded__image-container{width:256px}}.jetpack-instant-search__search-result-expanded--no-image .jetpack-instant-search__search-result-expanded__image-container{display:none}.jetpack-instant-search__search-result-expanded__image-container{position:relative}.jetpack-instant-search__search-result-expanded__image-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-expanded__image{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-expanded__content-container{display:flex;flex-flow:column}@media(min-width:576px){.jetpack-instant-search__search-result-expanded__content-container{flex-flow:row nowrap}}.jetpack-instant-search__search-result-expanded__footer{display:flex;list-style-type:none;margin-right:0;margin-top:10px;padding-right:0}.jetpack-instant-search__search-result-expanded__footer li{margin-left:10px}.jetpack-instant-search__search-result-expanded__footer-blog-image{border-radius:2px;margin-left:3px;vertical-align:middle}.jetpack-instant-search__search-result-expanded__footer-blog{font-size:13px;font-style:normal;font-weight:600;line-height:180%}.jetpack-instant-search__search-result-expanded__footer-author:after,.jetpack-instant-search__search-result-expanded__footer-blog:after{color:#636363;content:"·";margin-right:10px}.jetpack-instant-search__search-result-expanded__footer-author,.jetpack-instant-search__search-result-expanded__footer-date{color:#636363;font-size:13px;font-style:normal;font-weight:400}.jetpack-instant-search__product-rating-stars .gridicon{fill:#f0c930;vertical-align:middle}.jetpack-instant-search a.jetpack-instant-search__product-rating-count{color:#646970;font-size:.9em;text-decoration:underline;vertical-align:text-top}.jetpack-instant-search__product-price-regular{color:#646970;padding-left:.25em}.jetpack-instant-search__search-results-list.is-format-product{display:flex;flex-wrap:wrap;margin-left:40px;padding:0 0 3em}@media(max-width:991.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-left:24px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list.is-format-product{margin-left:4px}}.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{display:flex;flex-direction:column;margin:0 0 16px 16px;position:relative;width:calc(50% - 16px)}@media(min-width:576px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:768px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:992px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(33.33333% - 16px)}}@media(min-width:1200px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(25% - 16px)}}@media(min-width:1400px){.jetpack-instant-search__search-result.jetpack-instant-search__search-result-product{width:calc(20% - 16px)}}.jetpack-instant-search__search-result>.jetpack-instant-search__search-result-product-img-link{display:block}.jetpack-instant-search__search-result-product-img-container{border-radius:5px;color:transparent;position:relative}.jetpack-instant-search__search-result-product-img-container.jetpack-instant-search__search-result-product-img-container--placeholder{background:#c3c4c7}.jetpack-instant-search__search-result-product-img-container .gridicon{fill:#fff}.jetpack-instant-search__search-result-product-img-container:before{content:"";display:block;padding-top:100%;width:100%}.jetpack-instant-search__search-result-product-img{border-radius:5px;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.jetpack-instant-search__search-result-product-img>.gridicon{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.jetpack-instant-search__search-result-product-img>.gridicons-image{height:25%;width:25%}.jetpack-instant-search__search-result-product-img>.gridicons-block{height:50%;width:50%}.jetpack-instant-search__search-result-title.jetpack-instant-search__search-result-product-title{font-size:1.25em;margin:.25em 0 0}.jetpack-instant-search__search-result-product-match{font-size:.9em;margin-top:.25em}.jetpack-instant-search__search-result-product-match mark{align-items:center;display:flex;font-weight:400}.jetpack-instant-search__search-result-product-match .gridicon{height:1em;margin-left:.25em;width:1em}.jetpack-instant-search__search-result{margin:0 0 2em}.jetpack-instant-search__search-result-title{font-size:1.6em;font-weight:400;line-height:1.35;margin:0;overflow-wrap:break-word}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link{text-decoration:none}.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:focus,.jetpack-instant-search__search-result-title .jetpack-instant-search__search-result-title-link:hover{text-decoration:underline}.jetpack-instant-search__search-filters{position:relative}.jetpack-instant-search__search-filters>div{margin-top:1em}.jetpack-instant-search__search-filters-title{color:#00101c;display:block;font-size:inherit;font-weight:700;line-height:1.3;margin:0;padding:0}.jetpack-instant-search__clear-filters-link{left:0;line-height:1.3;margin:0;position:absolute;top:0}.jetpack-instant-search__search-filter-sub-heading{color:#646970;font-size:inherit;margin:0;padding:0}.jetpack-instant-search__search-filter-list{text-align:right}.jetpack-instant-search__search-filter-list>div{align-items:baseline;display:flex;margin-top:8px}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input{-webkit-appearance:checkbox;appearance:checkbox;background:none;border:none;cursor:pointer;height:auto;margin:0;top:1px;width:auto}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-input:before,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:after,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-input:before{display:none!important}.jetpack-instant-search__search-filter-list .jetpack-instant-search__search-filter-list-label,.jetpack-instant-search__search-filter-list .widget_search .jetpack-instant-search__search-filter-list-label{color:inherit;cursor:pointer;display:inline-block;font-weight:400;margin:0 8px 0 0;padding:0;width:auto}.jetpack-instant-search__search-static-filter-list{font-size:.875rem;line-height:1.8}.jetpack-instant-search__widget-area-container{margin-bottom:2em}.jetpack-instant-search__jetpack-colophon{margin-bottom:2em;margin-top:2em;text-align:center}.jetpack-instant-search__jetpack-colophon-link{align-items:center;color:inherit;display:flex;text-decoration:none}.jetpack-instant-search__jetpack-colophon-logo{display:inline;height:16px;width:16px}.jetpack-instant-search__jetpack-colophon-text{color:#3c434a;font-size:.7em;font-weight:400;padding-right:6px}.jetpack-instant-search__sidebar{padding-top:14px}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget{background:none;border:none;margin:0;padding:0}.jetpack-instant-search__sidebar .jetpack-instant-search__widget-area>.widget a{font-weight:400}.jetpack-instant-search__sidebar h2.widgettitle{border:none;font-size:1.3em;margin:1em 0 .5em}.jetpack-instant-search__sidebar h2.widgettitle:after,.jetpack-instant-search__sidebar h2.widgettitle:before{display:none!important}.jetpack-instant-search__search-results{background:#fff;border-radius:3px;margin:0 auto;max-width:1080px;min-height:100%;position:relative;z-index:10}@media(max-width:575.98px){.jetpack-instant-search__search-results{border-radius:0}}@media(min-width:992px){.jetpack-instant-search__search-results{max-width:95%}}.jetpack-instant-search__search-results mark{background:#ffc;color:#00101c}.jetpack-instant-search__search-results-controls{display:flex}.jetpack-instant-search__search-results-content{display:flex;position:relative}.jetpack-instant-search__search-results-filter-button{align-items:center;border:0;color:#646970;cursor:pointer;display:flex;flex-shrink:0;font-size:12px;margin:0;padding:8px;text-decoration:none;transition:background-color .25s ease-in-out}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-filter-button{visibility:hidden}@media(min-width:576px){.jetpack-instant-search__search-results-filter-button{font-size:13px;padding:10px 14px}}@media(min-width:992px){.jetpack-instant-search__search-results-filter-button{display:none}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:flex}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-filter-button{display:none}}.jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__search-results-filter-button:hover{color:#00101c}.jetpack-instant-search__search-results-filter-button .gridicon{margin-right:4px}.jetpack-instant-search__search-results-primary{margin:0;max-width:calc(100% - 320px);width:100%}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-primary{max-width:100%}@media(max-width:991.98px){.jetpack-instant-search__search-results-primary{max-width:100%}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-primary{max-width:100%}}.jetpack-instant-search__search-results-secondary{background:none;border-radius:0;border-right:1px solid #e6f1f5;bottom:0;box-shadow:none;color:#00101c;display:block;flex:none;padding:0 32px;position:static;width:320px}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary{display:none}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary{display:none}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:991.98px)and (max-width:575.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:991.98px){.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 2px 3px rgba(0,0,0,.1);display:block;left:1em;max-height:70vh;min-width:360px;overflow-y:scroll;padding:16px 24px;position:absolute;right:1em;top:0;width:auto;z-index:10}}@media(max-width:1199.98px)and (max-width:575.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{max-height:80vh}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon{margin-bottom:1em}.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal .jetpack-instant-search__jetpack-colophon-text{font-size:.8em}.jetpack-instant-search__overlay--no-sidebar .jp-search-configure-app-wrapper .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{display:none}}.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{color:#00101c;font-size:1em;font-weight:700;line-height:1.3;margin:1em 56px 1.5em;padding:0;word-break:break-word}@media(max-width:991.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title,.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-unused-query{margin-bottom:1em;margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-title,.jetpack-instant-search__search-results-unused-query{margin-left:20px;margin-right:20px}}@media(min-width:992px){.jetpack-instant-search__search-results-title{padding-left:210px}}@media(min-width:1200px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-title{padding-left:210px}}.jetpack-instant-search__search-results-list{color:#00101c;list-style:none;margin-left:56px;margin-right:56px;padding:0}@media(max-width:991.98px){.jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jetpack-instant-search__search-results-list{margin-left:40px;margin-right:40px}}@media(max-width:767.98px){.jetpack-instant-search__search-results-list{margin-left:20px;margin-right:20px}}.jetpack-instant-search__search-results-list li:before{content:"​";height:1px;position:absolute;width:1px}.jetpack-instant-search__search-results-search-form{font-size:.8em;margin:0;top:0;width:100%}button.jetpack-instant-search__overlay-close{align-items:center;-webkit-appearance:none;appearance:none;background:none;background-color:transparent!important;border:none;border-bottom:1px solid #e6f1f5;border-radius:0;box-shadow:none;cursor:pointer;display:flex;height:61px;justify-content:center;line-height:1;margin:0;outline:none;padding:0;text-decoration:none;text-shadow:none;text-transform:none;width:60px}button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{-webkit-appearance:none;appearance:none;background:none;box-shadow:none;outline:none}button.jetpack-instant-search__overlay-close:focus{outline:1px dotted}button.jetpack-instant-search__overlay-close svg.gridicon{fill:#646970}button.jetpack-instant-search__overlay-close:active,button.jetpack-instant-search__overlay-close:focus,button.jetpack-instant-search__overlay-close:hover{background-color:transparent!important;border-color:#e6f1f5}button.jetpack-instant-search__overlay-close:active svg.gridicon,button.jetpack-instant-search__overlay-close:focus svg.gridicon,button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#3c434a}.jetpack-instant-search__search-results-pagination{display:block;flex:none;margin:50px}.jetpack-instant-search .widget a,.jetpack-instant-search .widget.widget_archive ul li a,.jetpack-instant-search a{border:none;color:#001621;text-decoration:none}.jetpack-instant-search .widget a:focus,.jetpack-instant-search .widget a:hover,.jetpack-instant-search .widget.widget_archive ul li a:focus,.jetpack-instant-search .widget.widget_archive ul li a:hover,.jetpack-instant-search a:focus,.jetpack-instant-search a:hover{color:#044b7a;text-decoration:underline}.jetpack-search-filters-widget__filter-list{list-style-type:none}body.enable-search-modal .cover-modal.show-modal.search-modal.active{display:none}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark{background:rgba(29,35,39,.7);color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a{color:#f6f7f7}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .widget.widget_archive ul li a:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark a:hover{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filters-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__content,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-list,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-title,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-unused-query{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__jetpack-colophon-text,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__path-breadcrumb-link{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-filter-sub-heading,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-expanded__path{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box-gridicon svg,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close svg.gridicon{fill:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close{border-color:#3c434a}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:focus svg.gridicon,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark button.jetpack-instant-search__overlay-close:hover svg.gridicon{fill:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__box input[type=button]:hover{color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field{background:#000;color:#a7aaad}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark input.jetpack-instant-search__box-input.search-field:hover{background:#000;color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results{background:#000}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results mark{color:#e6f1f5}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:focus,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-filter-button:hover,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{color:#e6f1f5}@media(min-width:992px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary{border-color:#3c434a}}@media(max-width:991.98px){.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-results-secondary.jetpack-instant-search__search-results-secondary--show-as-modal{background:#000;border-color:#3c434a;box-shadow:0 2px 3px #3c434a}}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option,.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option:after{color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-sort-option.is-selected{color:#0675c4}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-instant-search__search-result-product-img--placeholder{color:#2c3338}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark #jetpack-instant-search__search-sort-select{background:#000;border-color:#3c434a;color:#e6f1f5} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.defaultVendors.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.defaultVendors.js
new file mode 100644
index 00000000..4ff99380
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.defaultVendors.js
@@ -0,0 +1,2 @@
+/*! For license information please see jp-search.defaultVendors.js.LICENSE.txt */
+(self.webpackChunkjetpack_search=self.webpackChunkjetpack_search||[]).push([[303],{8294:function(t){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},2402:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(this,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},6198:function(t,e,n){var r=n(1210),o=n(5006),i=n(7232),u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},1938:function(t,e,n){var r=n(1210),o=n(5006),i=r.String,u=r.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},8987:function(t,e,n){var r=n(8875),o=n(42),i=n(2016),u=r("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},3794:function(t,e,n){var r=n(1210),o=n(2702),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},8845:function(t,e,n){var r=n(4929),o=n(645),i=n(5570),u=function(t){return function(e,n,u){var c,a=r(e),f=i(a),l=o(u,f);if(t&&n!=n){for(;f>l;)if((c=a[l++])!=c)return!0}else for(;f>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},237:function(t,e,n){var r=n(3715),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},5996:function(t,e,n){var r=n(1210),o=n(5165),i=n(5006),u=n(237),c=n(8875)("toStringTag"),a=r.Object,f="Arguments"==u(function(){return arguments}());t.exports=o?u:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=a(t),c))?n:f?u(e):"Object"==(r=u(e))&&i(e.callee)?"Arguments":r}},7398:function(t,e,n){var r=n(3715),o=Error,i=r("".replace),u=String(o("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(u);t.exports=function(t,e){if(a&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,c,"");return t}},1184:function(t,e,n){var r=n(4242),o=n(3496),i=n(4225),u=n(2016);t.exports=function(t,e,n){for(var c=o(e),a=u.f,f=i.f,l=0;l<c.length;l++){var s=c[l];r(t,s)||n&&r(n,s)||a(t,s,f(e,s))}}},5506:function(t,e,n){var r=n(7778),o=n(2016),i=n(9487);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},9487:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},1568:function(t,e,n){var r=n(1210),o=n(5006),i=n(5506),u=n(6717),c=n(3071);t.exports=function(t,e,n,a){var f=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet,p=a&&void 0!==a.name?a.name:e;return o(n)&&u(n,p,a),t===r?(l?t[e]=n:c(e,n),t):(f?!s&&t[e]&&(l=!0):delete t[e],l?t[e]=n:i(t,e,n),t)}},7778:function(t,e,n){var r=n(4258);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4716:function(t,e,n){var r=n(1210),o=n(2702),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},1455:function(t,e,n){var r=n(2265);t.exports=r("navigator","userAgent")||""},6475:function(t,e,n){var r,o,i=n(1210),u=n(1455),c=i.process,a=i.Deno,f=c&&c.versions||a&&a.version,l=f&&f.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},9864:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1500:function(t,e,n){var r=n(4258),o=n(9487);t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},8657:function(t,e,n){var r=n(1210),o=n(4225).f,i=n(5506),u=n(1568),c=n(3071),a=n(1184),f=n(9656);t.exports=function(t,e){var n,l,s,p,_,d=t.target,v=t.global,h=t.stat;if(n=v?r:h?r[d]||c(d,{}):(r[d]||{}).prototype)for(l in e){if(p=e[l],s=t.noTargetGet?(_=o(n,l))&&_.value:n[l],!f(v?l:d+(h?".":"#")+l,t.forced)&&void 0!==s){if(typeof p==typeof s)continue;a(p,s)}(t.sham||s&&s.sham)&&i(p,"sham",!0),u(n,l,p,t)}}},4258:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},9115:function(t,e,n){var r=n(5200),o=Function.prototype,i=o.apply,u=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?u.bind(i):function(){return u.apply(i,arguments)})},5200:function(t,e,n){var r=n(4258);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4264:function(t,e,n){var r=n(5200),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},232:function(t,e,n){var r=n(7778),o=n(4242),i=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),a=c&&"something"===function(){}.name,f=c&&(!r||r&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:a,CONFIGURABLE:f}},3715:function(t,e,n){var r=n(5200),o=Function.prototype,i=o.bind,u=o.call,c=r&&i.bind(u,u);t.exports=r?function(t){return t&&c(t)}:function(t){return t&&function(){return u.apply(t,arguments)}}},2265:function(t,e,n){var r=n(1210),o=n(5006),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},9722:function(t,e,n){var r=n(6198);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},1210:function(t){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof window&&window)||function(){return this}()||Function("return this")()},4242:function(t,e,n){var r=n(3715),o=n(2103),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3953:function(t){t.exports={}},2872:function(t,e,n){var r=n(2265);t.exports=r("document","documentElement")},4165:function(t,e,n){var r=n(7778),o=n(4258),i=n(4716);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},600:function(t,e,n){var r=n(1210),o=n(3715),i=n(4258),u=n(237),c=r.Object,a=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?a(t,""):c(t)}:c},8088:function(t,e,n){var r=n(5006),o=n(2702),i=n(2025);t.exports=function(t,e,n){var u,c;return i&&r(u=e.constructor)&&u!==n&&o(c=u.prototype)&&c!==n.prototype&&i(t,c),t}},3667:function(t,e,n){var r=n(3715),o=n(5006),i=n(4434),u=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},7793:function(t,e,n){var r=n(2702),o=n(5506);t.exports=function(t,e){r(e)&&"cause"in e&&o(t,"cause",e.cause)}},2406:function(t,e,n){var r,o,i,u=n(4564),c=n(1210),a=n(3715),f=n(2702),l=n(5506),s=n(4242),p=n(4434),_=n(9116),d=n(3953),v="Object already initialized",h=c.TypeError,y=c.WeakMap;if(u||p.state){var m=p.state||(p.state=new y),b=a(m.get),g=a(m.has),x=a(m.set);r=function(t,e){if(g(m,t))throw new h(v);return e.facade=t,x(m,t,e),e},o=function(t){return b(m,t)||{}},i=function(t){return g(m,t)}}else{var w=_("state");d[w]=!0,r=function(t,e){if(s(t,w))throw new h(v);return e.facade=t,l(t,w,e),e},o=function(t){return s(t,w)?t[w]:{}},i=function(t){return s(t,w)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=o(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return n}}}},5006:function(t){t.exports=function(t){return"function"==typeof t}},9656:function(t,e,n){var r=n(4258),o=n(5006),i=/#|\.prototype\./,u=function(t,e){var n=a[c(t)];return n==l||n!=f&&(o(e)?r(e):!!e)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=u.data={},f=u.NATIVE="N",l=u.POLYFILL="P";t.exports=u},2702:function(t,e,n){var r=n(5006);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},4832:function(t){t.exports=!1},664:function(t,e,n){var r=n(1210),o=n(2265),i=n(5006),u=n(3387),c=n(8264),a=r.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&u(e.prototype,a(t))}},5570:function(t,e,n){var r=n(8464);t.exports=function(t){return r(t.length)}},6717:function(t,e,n){var r=n(4258),o=n(5006),i=n(4242),u=n(2016).f,c=n(232).CONFIGURABLE,a=n(3667),f=n(2406),l=f.enforce,s=f.get,p=!r((function(){return 8!==u((function(){}),"length",{value:8}).length})),_=String(String).split("String"),d=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||c&&t.name!==e)&&u(t,"name",{value:e,configurable:!0}),p&&n&&i(n,"arity")&&t.length!==n.arity&&u(t,"length",{value:n.arity});var r=l(t);return i(r,"source")||(r.source=_.join("string"==typeof e?e:"")),t};Function.prototype.toString=d((function(){return o(this)&&s(this).source||a(this)}),"toString")},9868:function(t,e,n){var r=n(6475),o=n(4258);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},4564:function(t,e,n){var r=n(1210),o=n(5006),i=n(3667),u=r.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},1377:function(t,e,n){var r=n(2910);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},42:function(t,e,n){var r,o=n(3794),i=n(3238),u=n(9864),c=n(3953),a=n(2872),f=n(4716),l=n(9116),s=l("IE_PROTO"),p=function(){},_=function(t){return"<script>"+t+"</"+"script>"},d=function(t){t.write(_("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;v="undefined"!=typeof document?document.domain&&r?d(r):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(_("document.F=Object")),t.close(),t.F):d(r);for(var n=u.length;n--;)delete v.prototype[u[n]];return v()};c[s]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[s]=t):n=v(),void 0===e?n:i.f(n,e)}},3238:function(t,e,n){var r=n(7778),o=n(2879),i=n(2016),u=n(3794),c=n(4929),a=n(5321);e.f=r&&!o?Object.defineProperties:function(t,e){u(t);for(var n,r=c(e),o=a(e),f=o.length,l=0;f>l;)i.f(t,n=o[l++],r[n]);return t}},2016:function(t,e,n){var r=n(1210),o=n(7778),i=n(4165),u=n(2879),c=n(3794),a=n(8901),f=r.TypeError,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,p="enumerable",_="configurable",d="writable";e.f=o?u?function(t,e,n){if(c(t),e=a(e),c(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n.writable){var r=s(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:_ in n?n.configurable:r.configurable,enumerable:p in n?n.enumerable:r.enumerable,writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(c(t),e=a(e),c(n),i)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw f("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},4225:function(t,e,n){var r=n(7778),o=n(4264),i=n(9532),u=n(9487),c=n(4929),a=n(8901),f=n(4242),l=n(4165),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=a(e),l)try{return s(t,e)}catch(t){}if(f(t,e))return u(!o(i.f,t,e),t[e])}},6112:function(t,e,n){var r=n(6166),o=n(9864).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},5603:function(t,e){e.f=Object.getOwnPropertySymbols},3387:function(t,e,n){var r=n(3715);t.exports=r({}.isPrototypeOf)},6166:function(t,e,n){var r=n(3715),o=n(4242),i=n(4929),u=n(8845).indexOf,c=n(3953),a=r([].push);t.exports=function(t,e){var n,r=i(t),f=0,l=[];for(n in r)!o(c,n)&&o(r,n)&&a(l,n);for(;e.length>f;)o(r,n=e[f++])&&(~u(l,n)||a(l,n));return l}},5321:function(t,e,n){var r=n(6166),o=n(9864);t.exports=Object.keys||function(t){return r(t,o)}},9532:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2025:function(t,e,n){var r=n(3715),o=n(3794),i=n(1938);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return o(n),i(r),e?t(n,r):n.__proto__=r,n}}():void 0)},896:function(t,e,n){var r=n(1210),o=n(4264),i=n(5006),u=n(2702),c=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!u(r=o(n,t)))return r;if(i(n=t.valueOf)&&!u(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!u(r=o(n,t)))return r;throw c("Can't convert object to primitive value")}},3496:function(t,e,n){var r=n(2265),o=n(3715),i=n(6112),u=n(5603),c=n(3794),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=u.f;return n?a(e,n(t)):e}},9780:function(t,e,n){var r=n(2016).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},5262:function(t,e,n){var r=n(1210).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},3071:function(t,e,n){var r=n(1210),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9116:function(t,e,n){var r=n(1843),o=n(3705),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},4434:function(t,e,n){var r=n(1210),o=n(3071),i="__core-js_shared__",u=r[i]||o(i,{});t.exports=u},1843:function(t,e,n){var r=n(4832),o=n(4434);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.4",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"})},645:function(t,e,n){var r=n(8249),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},4929:function(t,e,n){var r=n(600),o=n(5262);t.exports=function(t){return r(o(t))}},8249:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){var r=+t;return r!=r||0===r?0:(r>0?n:e)(r)}},8464:function(t,e,n){var r=n(8249),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},2103:function(t,e,n){var r=n(1210),o=n(5262),i=r.Object;t.exports=function(t){return i(o(t))}},357:function(t,e,n){var r=n(1210),o=n(4264),i=n(2702),u=n(664),c=n(9722),a=n(896),f=n(8875),l=r.TypeError,s=f("toPrimitive");t.exports=function(t,e){if(!i(t)||u(t))return t;var n,r=c(t,s);if(r){if(void 0===e&&(e="default"),n=o(r,t,e),!i(n)||u(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},8901:function(t,e,n){var r=n(357),o=n(664);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},5165:function(t,e,n){var r={};r[n(8875)("toStringTag")]="z",t.exports="[object z]"===String(r)},2910:function(t,e,n){var r=n(1210),o=n(5996),i=r.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},7232:function(t,e,n){var r=n(1210).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},3705:function(t,e,n){var r=n(3715),o=0,i=Math.random(),u=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},8264:function(t,e,n){var r=n(9868);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2879:function(t,e,n){var r=n(7778),o=n(4258);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8875:function(t,e,n){var r=n(1210),o=n(1843),i=n(4242),u=n(3705),c=n(9868),a=n(8264),f=o("wks"),l=r.Symbol,s=l&&l.for,p=a?l:l&&l.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var e="Symbol."+t;c&&i(l,t)?f[t]=l[t]:f[t]=a&&s?s(e):p(e)}return f[t]}},6266:function(t,e,n){"use strict";var r=n(2265),o=n(4242),i=n(5506),u=n(3387),c=n(2025),a=n(1184),f=n(9780),l=n(8088),s=n(1377),p=n(7793),_=n(7398),d=n(1500),v=n(7778),h=n(4832);t.exports=function(t,e,n,y){var m="stackTraceLimit",b=y?2:1,g=t.split("."),x=g[g.length-1],w=r.apply(null,g);if(w){var O=w.prototype;if(!h&&o(O,"cause")&&delete O.cause,!n)return w;var S=r("Error"),E=e((function(t,e){var n=s(y?e:t,void 0),r=y?new w(t):new w;return void 0!==n&&i(r,"message",n),d&&i(r,"stack",_(r.stack,2)),this&&u(O,this)&&l(r,this,E),arguments.length>b&&p(r,arguments[b]),r}));if(E.prototype=O,"Error"!==x?c?c(E,S):a(E,S,{name:!0}):v&&m in w&&(f(E,w,m),f(E,w,"prepareStackTrace")),a(E,w),!h)try{O.name!==x&&i(O,"name",x),O.constructor=E}catch(t){}return E}}},3679:function(t,e,n){"use strict";var r=n(8657),o=n(8845).includes,i=n(4258),u=n(8987);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),u("includes")},875:function(t,e,n){var r=n(8657),o=n(1210),i=n(9115),u=n(6266),c="WebAssembly",a=o.WebAssembly,f=7!==Error("e",{cause:7}).cause,l=function(t,e){var n={};n[t]=u(t,e,f),r({global:!0,arity:1,forced:f},n)},s=function(t,e){if(a&&a[t]){var n={};n[t]=u("WebAssembly."+t,e,f),r({target:c,stat:!0,arity:1,forced:f},n)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),s("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),s("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),s("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},4273:function(t){!function(){"use strict";var e=[],n=3988292384;function r(t){var e,r,o,i,u=-1;for(e=0,o=t.length;e<o;e+=1){for(i=255&(u^t[e]),r=0;r<8;r+=1)1==(1&i)?i=i>>>1^n:i>>>=1;u=u>>>8^i}return-1^u}function o(t,n){var r,i,u;if(void 0!==o.crc&&n&&t||(o.crc=-1,t)){for(r=o.crc,i=0,u=t.length;i<u;i+=1)r=r>>>8^e[255&(r^t[i])];return o.crc=r,-1^r}}!function(){var t,r,o;for(r=0;r<256;r+=1){for(t=r,o=0;o<8;o+=1)1&t?t=n^t>>>1:t>>>=1;e[r]=t>>>0}}(),t.exports=function(t,e){var n;t="string"==typeof t?(n=t,Array.prototype.map.call(n,(function(t){return t.charCodeAt(0)}))):t;return((e?r(t):o(t))>>>0).toString(16)},t.exports.direct=r,t.exports.table=o}()},7390:function(t){"use strict";t.exports=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var n,r="boolean"==typeof e.cycles&&e.cycles,o=e.cmp&&(n=e.cmp,function(t){return function(e,r){var o={key:e,value:t[e]},i={key:r,value:t[r]};return n(o,i)}}),i=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var n,u;if(Array.isArray(e)){for(u="[",n=0;n<e.length;n++)n&&(u+=","),u+=t(e[n])||"null";return u+"]"}if(null===e)return"null";if(-1!==i.indexOf(e)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var c=i.push(e)-1,a=Object.keys(e).sort(o&&o(e));for(u="",n=0;n<a.length;n++){var f=a[n],l=t(e[f]);l&&(u&&(u+=","),u+=JSON.stringify(f)+":"+l)}return i.splice(c,1),"{"+u+"}"}}(t)}},7692:function(t,e,n){"use strict";var r=n(3801),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function a(t){return r.isMemo(t)?u:c[t.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=u;var f=Object.defineProperty,l=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(d){var o=_(n);o&&o!==d&&t(e,o,r)}var u=l(n);s&&(u=u.concat(s(n)));for(var c=a(e),v=a(n),h=0;h<u.length;++h){var y=u[h];if(!(i[y]||r&&r[y]||v&&v[y]||c&&c[y])){var m=p(n,y);try{f(e,y,m)}catch(t){}}}}return e}},4924:function(t,e,n){var r=n(9159).Symbol;t.exports=r},4729:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},530:function(t,e,n){var r=n(4924),o=n(8792),i=n(8004),u=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?o(t):i(t)}},3042:function(t,e,n){var r=n(4924),o=n(4729),i=n(6259),u=n(6260),c=r?r.prototype:void 0,a=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(u(e))return a?a.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},9504:function(t,e,n){var r=n(310),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},6150:function(t){var e="object"==typeof window&&window&&window.Object===Object&&window;t.exports=e},8792:function(t,e,n){var r=n(4924),o=Object.prototype,i=o.hasOwnProperty,u=o.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(e?t[c]=n:delete t[c]),o}},8004:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},9159:function(t,e,n){var r=n(6150),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},310:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},3259:function(t,e,n){var r=n(731),o=n(6199),i=n(4934),u=Math.max,c=Math.min;t.exports=function(t,e,n){var a,f,l,s,p,_,d=0,v=!1,h=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function m(e){var n=a,r=f;return a=f=void 0,d=e,s=t.apply(r,n)}function b(t){return d=t,p=setTimeout(x,e),v?m(t):s}function g(t){var n=t-_;return void 0===_||n>=e||n<0||h&&t-d>=l}function x(){var t=o();if(g(t))return w(t);p=setTimeout(x,function(t){var n=e-(t-_);return h?c(n,l-(t-d)):n}(t))}function w(t){return p=void 0,y&&a?m(t):(a=f=void 0,s)}function O(){var t=o(),n=g(t);if(a=arguments,f=this,_=t,n){if(void 0===p)return b(_);if(h)return clearTimeout(p),p=setTimeout(x,e),m(_)}return void 0===p&&(p=setTimeout(x,e)),s}return e=i(e)||0,r(n)&&(v=!!n.leading,l=(h="maxWait"in n)?u(i(n.maxWait)||0,e):l,y="trailing"in n?!!n.trailing:y),O.cancel=function(){void 0!==p&&clearTimeout(p),d=0,a=_=f=p=void 0},O.flush=function(){return void 0===p?s:w(o())},O}},6259:function(t){var e=Array.isArray;t.exports=e},731:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},1642:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},6260:function(t,e,n){var r=n(530),o=n(1642);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},6199:function(t,e,n){var r=n(9159);t.exports=function(){return r.Date.now()}},4934:function(t,e,n){var r=n(9504),o=n(731),i=n(6260),u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,a=/^0o[0-7]+$/i,f=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||a.test(t)?f(t.slice(2),n?2:8):u.test(t)?NaN:+t}},6700:function(t,e,n){var r=n(3042);t.exports=function(t){return null==t?"":r(t)}},5348:function(t,e,n){var r=n(6700),o=0;t.exports=function(t){var e=++o;return r(t)+e}},9424:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(4273),o=n.n(r),i=n(3191),u=n.n(i),c=(0,n(3499).Z)("photon"),a={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},f="__domain__.invalid",l="http://".concat(f);function s(t,e){var n;try{n=new URL(t,l)}catch(t){return null}var r,i,s,p,_,d="https:"===n.protocol,v=new URL("https://i0.wp.com");if(_=n.host,/^i[0-2]\.wp\.com$/.test(_))v.pathname=n.pathname,v.hostname=n.hostname;else{if(n.search)return null;var h=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(h=n.pathname.replace("://","//")),n.hostname===f&&(h=n.pathname),v.pathname=h,v.hostname=(r=h,i=o()(r),s=u()(i),p="i"+Math.floor(3*s()),c('determined server "%s" to use with "%s"',p,r),p+".wp.com"),d&&v.searchParams.set("ssl",1)}if(e)for(var y in e)"host"!==y&&"hostname"!==y?"secure"!==y||e[y]?v.searchParams.set(a[y]||y,e[y]):v.protocol="http:":v.hostname=e[y];return c("generated Photon URL: %s",v.href),v.href}},211:function(t,e,n){var r=n(3538),o=n(2687);function i(t,e){for(var n in e)t[n]=e[n];return t}function u(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var r in e)if("__source"!==r&&t[r]!==e[r])return!0;return!1}function c(t){this.props=t}function a(t,e){function n(t){var n=this.props.ref,r=n==t.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!r:u(this.props,t)}function r(e){return this.shouldComponentUpdate=n,o.createElement(t,e)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(c.prototype=new o.Component).isPureReactComponent=!0,c.prototype.shouldComponentUpdate=function(t,e){return u(this.props,t)||u(this.state,e)};var f=o.options.__b;o.options.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),f&&f(t)};var l="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function s(t){function e(e,n){var r=i({},e);return delete r.ref,t(r,(n=e.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return e.$$typeof=l,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var p=function(t,e){return null==t?null:o.toChildArray(o.toChildArray(t).map(e))},_={map:p,forEach:p,count:function(t){return t?o.toChildArray(t).length:0},only:function(t){var e=o.toChildArray(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:o.toChildArray},d=o.options.__e;o.options.__e=function(t,e,n){if(t.then)for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),r.__c(t,e);d(t,e,n)};var v=o.options.unmount;function h(){this.__u=0,this.t=null,this.__b=null}function y(t){var e=t.__.__c;return e&&e.__e&&e.__e(t)}function m(t){var e,n,r;function i(i){if(e||(e=t()).then((function(t){n=t.default||t}),(function(t){r=t})),r)throw r;if(!n)throw e;return o.createElement(n,i)}return i.displayName="Lazy",i.__f=!0,i}function b(){this.o=null,this.u=null}o.options.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&!0===t.__h&&(t.type=null),v&&v(t)},(h.prototype=new o.Component).__c=function(t,e){var n=e.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=y(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(c):c())};n.__R=u;var c=function(){if(!--r.__u){if(r.state.__e){var t=r.state.__e;r.__v.__k[0]=function t(e,n,r){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)})),e.__c&&e.__c.__P===n&&(e.__e&&r.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=r)),e}(t,t.__c.__P,t.__c.__O)}var e;for(r.setState({__e:r.__b=null});e=r.t.pop();)e.forceUpdate()}},a=!0===e.__h;r.__u++||a||r.setState({__e:r.__b=r.__v.__k[0]}),t.then(u,u)},h.prototype.componentWillUnmount=function(){this.t=[]},h.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function t(e,n,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),e.__c.__H=null),null!=(e=i({},e)).__c&&(e.__c.__P===r&&(e.__c.__P=n),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)}))),e}(this.__b,n,r.__O=r.__P)}this.__b=null}var u=e.__e&&o.createElement(o.Fragment,null,t.fallback);return u&&(u.__h=null),[o.createElement(o.Fragment,null,e.__e?null:t.children),u]};var g=function(t,e,n){if(++n[1]===n[0]&&t.u.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.u.size))for(n=t.o;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.o=n=n[2]}};function x(t){return this.getChildContext=function(){return t.context},t.children}function w(t){var e=this,n=t.i;e.componentWillUnmount=function(){o.render(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),t.__v?(e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(t){this.childNodes.push(t),e.i.appendChild(t)},insertBefore:function(t,n){this.childNodes.push(t),e.i.appendChild(t)},removeChild:function(t){this.childNodes.splice(this.childNodes.indexOf(t)>>>1,1),e.i.removeChild(t)}}),o.render(o.createElement(x,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function O(t,e){return o.createElement(w,{__v:t,i:e})}(b.prototype=new o.Component).__e=function(t){var e=this,n=y(e.__v),r=e.u.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),g(e,t,r)):o()};n?n(i):i()}},b.prototype.render=function(t){this.o=null,this.u=new Map;var e=o.toChildArray(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.u.set(e[n],this.o=[1,0,this.o]);return t.children},b.prototype.componentDidUpdate=b.prototype.componentDidMount=function(){var t=this;this.u.forEach((function(e,n){g(t,n,e)}))};var S="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,E=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,C="undefined"!=typeof document,P=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t)};function k(t,e,n){return null==e.__k&&(e.textContent=""),o.render(t,e),"function"==typeof n&&n(),t?t.__c:null}function j(t,e,n){return o.hydrate(t,e),"function"==typeof n&&n(),t?t.__c:null}o.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(o.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var N=o.options.event;function R(){}function T(){return this.cancelBubble}function A(){return this.defaultPrevented}o.options.event=function(t){return N&&(t=N(t)),t.persist=R,t.isPropagationStopped=T,t.isDefaultPrevented=A,t.nativeEvent=t};var M,D={configurable:!0,get:function(){return this.class}},U=o.options.vnode;o.options.vnode=function(t){var e=t.type,n=t.props,r=n;if("string"==typeof e){var i=-1===e.indexOf("-");for(var u in r={},n){var c=n[u];C&&"children"===u&&"noscript"===e||"value"===u&&"defaultValue"in n&&null==c||("defaultValue"===u&&"value"in n&&null==n.value?u="value":"download"===u&&!0===c?c="":/ondoubleclick/i.test(u)?u="ondblclick":/^onchange(textarea|input)/i.test(u+e)&&!P(n.type)?u="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(u)?u=u.toLowerCase():i&&E.test(u)?u=u.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===c&&(c=void 0),r[u]=c)}"select"==e&&r.multiple&&Array.isArray(r.value)&&(r.value=o.toChildArray(n.children).forEach((function(t){t.props.selected=-1!=r.value.indexOf(t.props.value)}))),"select"==e&&null!=r.defaultValue&&(r.value=o.toChildArray(n.children).forEach((function(t){t.props.selected=r.multiple?-1!=r.defaultValue.indexOf(t.props.value):r.defaultValue==t.props.value}))),t.props=r}e&&n.class!=n.className&&(D.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",D)),t.$$typeof=S,U&&U(t)};var F=o.options.__r;o.options.__r=function(t){F&&F(t),M=t.__c};var $={ReactCurrentDispatcher:{current:{readContext:function(t){return M.__n[t.__c].props.value}}}};function L(t){return o.createElement.bind(null,t)}function I(t){return!!t&&t.$$typeof===S}function W(t){return I(t)?o.cloneElement.apply(null,arguments):t}function Z(t){return!!t.__k&&(o.render(null,t),!0)}function H(t){return t&&(t.base||1===t.nodeType&&t)||null}var z=function(t,e){return t(e)},B=function(t,e){return t(e)},V=o.Fragment,q={useState:r.useState,useReducer:r.useReducer,useEffect:r.useEffect,useLayoutEffect:r.useLayoutEffect,useRef:r.useRef,useImperativeHandle:r.useImperativeHandle,useMemo:r.useMemo,useCallback:r.useCallback,useContext:r.useContext,useDebugValue:r.useDebugValue,version:"17.0.2",Children:_,render:k,hydrate:j,unmountComponentAtNode:Z,createPortal:O,createElement:o.createElement,createContext:o.createContext,createFactory:L,cloneElement:W,createRef:o.createRef,Fragment:o.Fragment,isValidElement:I,findDOMNode:H,Component:o.Component,PureComponent:c,memo:a,forwardRef:s,flushSync:B,unstable_batchedUpdates:z,StrictMode:V,Suspense:h,SuspenseList:b,lazy:m,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$};Object.keys(r).forEach((function(t){e[t]=r[t]})),e.createElement=o.createElement,e.createContext=o.createContext,e.createRef=o.createRef,e.Fragment=o.Fragment,e.Component=o.Component,e.version="17.0.2",e.Children=_,e.render=k,e.hydrate=j,e.unmountComponentAtNode=Z,e.createPortal=O,e.createFactory=L,e.cloneElement=W,e.isValidElement=I,e.findDOMNode=H,e.PureComponent=c,e.memo=a,e.forwardRef=s,e.flushSync=B,e.unstable_batchedUpdates=z,e.StrictMode=V,e.Suspense=h,e.SuspenseList=b,e.lazy=m,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,e.default=q},762:function(t,e,n){"use strict";var r=n(3538),o=n(2687);function i(t,e){for(var n in e)t[n]=e[n];return t}function u(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var r in e)if("__source"!==r&&t[r]!==e[r])return!0;return!1}function c(t){this.props=t}(c.prototype=new o.Component).isPureReactComponent=!0,c.prototype.shouldComponentUpdate=function(t,e){return u(this.props,t)||u(this.state,e)};var a=o.options.__b;o.options.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),a&&a(t)};var f="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var l=function(t,e){return null==t?null:(0,o.toChildArray)((0,o.toChildArray)(t).map(e))},s={map:l,forEach:l,count:function(t){return t?(0,o.toChildArray)(t).length:0},only:function(t){var e=(0,o.toChildArray)(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:o.toChildArray},p=o.options.__e;o.options.__e=function(t,e,n){if(t.then)for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),r.__c(t,e);p(t,e,n)};var _=o.options.unmount;function d(){this.__u=0,this.t=null,this.__b=null}function v(t){var e=t.__.__c;return e&&e.__e&&e.__e(t)}function h(){this.u=null,this.o=null}o.options.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&!0===t.__h&&(t.type=null),_&&_(t)},(d.prototype=new o.Component).__c=function(t,e){var n=e.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=v(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(c):c())};n.__R=u;var c=function(){if(!--r.__u){if(r.state.__e){var t=r.state.__e;r.__v.__k[0]=function t(e,n,r){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)})),e.__c&&e.__c.__P===n&&(e.__e&&r.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=r)),e}(t,t.__c.__P,t.__c.__O)}var e;for(r.setState({__e:r.__b=null});e=r.t.pop();)e.forceUpdate()}},a=!0===e.__h;r.__u++||a||r.setState({__e:r.__b=r.__v.__k[0]}),t.then(u,u)},d.prototype.componentWillUnmount=function(){this.t=[]},d.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function t(e,n,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),e.__c.__H=null),null!=(e=i({},e)).__c&&(e.__c.__P===r&&(e.__c.__P=n),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)}))),e}(this.__b,n,r.__O=r.__P)}this.__b=null}var u=e.__e&&(0,o.createElement)(o.Fragment,null,t.fallback);return u&&(u.__h=null),[(0,o.createElement)(o.Fragment,null,e.__e?null:t.children),u]};var y=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function m(t){return this.getChildContext=function(){return t.context},t.children}function b(t){var e=this,n=t.i;e.componentWillUnmount=function(){(0,o.render)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),t.__v?(e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(t){this.childNodes.push(t),e.i.appendChild(t)},insertBefore:function(t,n){this.childNodes.push(t),e.i.appendChild(t)},removeChild:function(t){this.childNodes.splice(this.childNodes.indexOf(t)>>>1,1),e.i.removeChild(t)}}),(0,o.render)((0,o.createElement)(m,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}(h.prototype=new o.Component).__e=function(t){var e=this,n=v(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),y(e,t,r)):o()};n?n(i):i()}},h.prototype.render=function(t){this.u=null,this.o=new Map;var e=(0,o.toChildArray)(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},h.prototype.componentDidUpdate=h.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(e,n){y(t,n,e)}))};var g="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,x=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,w="undefined"!=typeof document,O=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t)};o.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(o.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var S=o.options.event;function E(){}function C(){return this.cancelBubble}function P(){return this.defaultPrevented}o.options.event=function(t){return S&&(t=S(t)),t.persist=E,t.isPropagationStopped=C,t.isDefaultPrevented=P,t.nativeEvent=t};var k,j={configurable:!0,get:function(){return this.class}},N=o.options.vnode;o.options.vnode=function(t){var e=t.type,n=t.props,r=n;if("string"==typeof e){var i=-1===e.indexOf("-");for(var u in r={},n){var c=n[u];w&&"children"===u&&"noscript"===e||"value"===u&&"defaultValue"in n&&null==c||("defaultValue"===u&&"value"in n&&null==n.value?u="value":"download"===u&&!0===c?c="":/ondoubleclick/i.test(u)?u="ondblclick":/^onchange(textarea|input)/i.test(u+e)&&!O(n.type)?u="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(u)?u=u.toLowerCase():i&&x.test(u)?u=u.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===c&&(c=void 0),r[u]=c)}"select"==e&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,o.toChildArray)(n.children).forEach((function(t){t.props.selected=-1!=r.value.indexOf(t.props.value)}))),"select"==e&&null!=r.defaultValue&&(r.value=(0,o.toChildArray)(n.children).forEach((function(t){t.props.selected=r.multiple?-1!=r.defaultValue.indexOf(t.props.value):r.defaultValue==t.props.value}))),t.props=r}e&&n.class!=n.className&&(j.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",j)),t.$$typeof=g,N&&N(t)};var R=o.options.__r;o.options.__r=function(t){R&&R(t),k=t.__c};var T={ReactCurrentDispatcher:{current:{readContext:function(t){return k.__n[t.__c].props.value}}}};function A(t){return!!t&&t.$$typeof===g}o.Fragment;e.ZP={useState:r.useState,useReducer:r.useReducer,useEffect:r.useEffect,useLayoutEffect:r.useLayoutEffect,useRef:r.useRef,useImperativeHandle:r.useImperativeHandle,useMemo:r.useMemo,useCallback:r.useCallback,useContext:r.useContext,useDebugValue:r.useDebugValue,version:"17.0.2",Children:s,render:function(t,e,n){return null==e.__k&&(e.textContent=""),(0,o.render)(t,e),"function"==typeof n&&n(),t?t.__c:null},hydrate:function(t,e,n){return(0,o.hydrate)(t,e),"function"==typeof n&&n(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&((0,o.render)(null,t),!0)},createPortal:function(t,e){return(0,o.createElement)(b,{__v:t,i:e})},createElement:o.createElement,createContext:o.createContext,createFactory:function(t){return o.createElement.bind(null,t)},cloneElement:function(t){return A(t)?o.cloneElement.apply(null,arguments):t},createRef:o.createRef,Fragment:o.Fragment,isValidElement:A,findDOMNode:function(t){return t&&(t.base||1===t.nodeType&&t)||null},Component:o.Component,PureComponent:c,memo:function(t,e){function n(t){var n=this.props.ref,r=n==t.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!r:u(this.props,t)}function r(e){return this.shouldComponentUpdate=n,(0,o.createElement)(t,e)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(t){function e(e,n){var r=i({},e);return delete r.ref,t(r,(n=e.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return e.$$typeof=f,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e},flushSync:function(t,e){return t(e)},unstable_batchedUpdates:function(t,e){return t(e)},StrictMode:o.Fragment,Suspense:d,SuspenseList:h,lazy:function(t){var e,n,r;function i(i){if(e||(e=t()).then((function(t){n=t.default||t}),(function(t){r=t})),r)throw r;if(!n)throw e;return(0,o.createElement)(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:T}},2687:function(t,e,n){"use strict";n.r(e),n.d(e,{Component:function(){return g},Fragment:function(){return b},cloneElement:function(){return W},createContext:function(){return Z},createElement:function(){return h},createRef:function(){return m},h:function(){return h},hydrate:function(){return I},isValidElement:function(){return u},options:function(){return o},render:function(){return L},toChildArray:function(){return P}});var r,o,i,u,c,a,f,l,s={},p=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(t,e){for(var n in e)t[n]=e[n];return t}function v(t){var e=t.parentNode;e&&e.removeChild(t)}function h(t,e,n){var o,i,u,c={};for(u in e)"key"==u?o=e[u]:"ref"==u?i=e[u]:c[u]=e[u];if(arguments.length>2&&(c.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(u in t.defaultProps)void 0===c[u]&&(c[u]=t.defaultProps[u]);return y(t,c,o,i,null)}function y(t,e,n,r,u){var c={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++i:u};return null==u&&null!=o.vnode&&o.vnode(c),c}function m(){return{current:null}}function b(t){return t.children}function g(t,e){this.props=t,this.context=e}function x(t,e){if(null==e)return t.__?x(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?x(t):null}function w(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return w(t)}}function O(t){(!t.__d&&(t.__d=!0)&&c.push(t)&&!S.__r++||f!==o.debounceRendering)&&((f=o.debounceRendering)||a)(S)}function S(){for(var t;S.__r=c.length;)t=c.sort((function(t,e){return t.__v.__b-e.__v.__b})),c=[],t.some((function(t){var e,n,r,o,i,u;t.__d&&(i=(o=(e=t).__v).__e,(u=e.__P)&&(n=[],(r=d({},o)).__v=o.__v+1,A(u,o,r,e.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?x(o):i,o.__h),M(n,o),o.__e!=i&&w(o)))}))}function E(t,e,n,r,o,i,u,c,a,f){var l,_,d,v,h,m,g,w=r&&r.__k||p,O=w.length;for(n.__k=[],l=0;l<e.length;l++)if(null!=(v=n.__k[l]=null==(v=e[l])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?y(null,v,null,null,v):Array.isArray(v)?y(b,{children:v},null,null,null):v.__b>0?y(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(d=w[l])||d&&v.key==d.key&&v.type===d.type)w[l]=void 0;else for(_=0;_<O;_++){if((d=w[_])&&v.key==d.key&&v.type===d.type){w[_]=void 0;break}d=null}A(t,v,d=d||s,o,i,u,c,a,f),h=v.__e,(_=v.ref)&&d.ref!=_&&(g||(g=[]),d.ref&&g.push(d.ref,null,v),g.push(_,v.__c||h,v)),null!=h?(null==m&&(m=h),"function"==typeof v.type&&v.__k===d.__k?v.__d=a=C(v,a,t):a=k(t,v,d,w,h,a),"function"==typeof n.type&&(n.__d=a)):a&&d.__e==a&&a.parentNode!=t&&(a=x(d))}for(n.__e=m,l=O;l--;)null!=w[l]&&("function"==typeof n.type&&null!=w[l].__e&&w[l].__e==n.__d&&(n.__d=x(r,l+1)),F(w[l],w[l]));if(g)for(l=0;l<g.length;l++)U(g[l],g[++l],g[++l])}function C(t,e,n){for(var r,o=t.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=t,e="function"==typeof r.type?C(r,e,n):k(n,r,r,o,r.__e,e));return e}function P(t,e){return e=e||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some((function(t){P(t,e)})):e.push(t)),e}function k(t,e,n,r,o,i){var u,c,a;if(void 0!==e.__d)u=e.__d,e.__d=void 0;else if(null==n||o!=i||null==o.parentNode)t:if(null==i||i.parentNode!==t)t.appendChild(o),u=null;else{for(c=i,a=0;(c=c.nextSibling)&&a<r.length;a+=2)if(c==o)break t;t.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function j(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]=null==n?"":"number"!=typeof n||_.test(e)?n:n+"px"}function N(t,e,n,r,o){var i;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||j(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||j(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r||t.addEventListener(e,i?T:R,i):t.removeEventListener(e,i?T:R,i);else if("dangerouslySetInnerHTML"!==e){if(o)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null!=n&&(!1!==n||"a"===e[0]&&"r"===e[1])?t.setAttribute(e,n):t.removeAttribute(e))}}function R(t){this.l[t.type+!1](o.event?o.event(t):t)}function T(t){this.l[t.type+!0](o.event?o.event(t):t)}function A(t,e,n,r,i,u,c,a,f){var l,s,p,_,v,h,y,m,x,w,O,S=e.type;if(void 0!==e.constructor)return null;null!=n.__h&&(f=n.__h,a=e.__e=n.__e,e.__h=null,u=[a]),(l=o.__b)&&l(e);try{t:if("function"==typeof S){if(m=e.props,x=(l=S.contextType)&&r[l.__c],w=l?x?x.props.value:l.__:r,n.__c?y=(s=e.__c=n.__c).__=s.__E:("prototype"in S&&S.prototype.render?e.__c=s=new S(m,w):(e.__c=s=new g(m,w),s.constructor=S,s.render=$),x&&x.sub(s),s.props=m,s.state||(s.state={}),s.context=w,s.__n=r,p=s.__d=!0,s.__h=[]),null==s.__s&&(s.__s=s.state),null!=S.getDerivedStateFromProps&&(s.__s==s.state&&(s.__s=d({},s.__s)),d(s.__s,S.getDerivedStateFromProps(m,s.__s))),_=s.props,v=s.state,p)null==S.getDerivedStateFromProps&&null!=s.componentWillMount&&s.componentWillMount(),null!=s.componentDidMount&&s.__h.push(s.componentDidMount);else{if(null==S.getDerivedStateFromProps&&m!==_&&null!=s.componentWillReceiveProps&&s.componentWillReceiveProps(m,w),!s.__e&&null!=s.shouldComponentUpdate&&!1===s.shouldComponentUpdate(m,s.__s,w)||e.__v===n.__v){s.props=m,s.state=s.__s,e.__v!==n.__v&&(s.__d=!1),s.__v=e,e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),s.__h.length&&c.push(s);break t}null!=s.componentWillUpdate&&s.componentWillUpdate(m,s.__s,w),null!=s.componentDidUpdate&&s.__h.push((function(){s.componentDidUpdate(_,v,h)}))}s.context=w,s.props=m,s.state=s.__s,(l=o.__r)&&l(e),s.__d=!1,s.__v=e,s.__P=t,l=s.render(s.props,s.state,s.context),s.state=s.__s,null!=s.getChildContext&&(r=d(d({},r),s.getChildContext())),p||null==s.getSnapshotBeforeUpdate||(h=s.getSnapshotBeforeUpdate(_,v)),O=null!=l&&l.type===b&&null==l.key?l.props.children:l,E(t,Array.isArray(O)?O:[O],e,n,r,i,u,c,a,f),s.base=e.__e,e.__h=null,s.__h.length&&c.push(s),y&&(s.__E=s.__=null),s.__e=!1}else null==u&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=D(n.__e,e,n,r,i,u,c,f);(l=o.diffed)&&l(e)}catch(t){e.__v=null,(f||null!=u)&&(e.__e=a,e.__h=!!f,u[u.indexOf(a)]=null),o.__e(t,e,n)}}function M(t,e){o.__c&&o.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(t){o.__e(t,e.__v)}}))}function D(t,e,n,o,i,u,c,a){var f,l,p,_=n.props,d=e.props,h=e.type,y=0;if("svg"===h&&(i=!0),null!=u)for(;y<u.length;y++)if((f=u[y])&&(f===t||(h?f.localName==h:3==f.nodeType))){t=f,u[y]=null;break}if(null==t){if(null===h)return document.createTextNode(d);t=i?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,d.is&&d),u=null,a=!1}if(null===h)_===d||a&&t.data===d||(t.data=d);else{if(u=u&&r.call(t.childNodes),l=(_=n.props||s).dangerouslySetInnerHTML,p=d.dangerouslySetInnerHTML,!a){if(null!=u)for(_={},y=0;y<t.attributes.length;y++)_[t.attributes[y].name]=t.attributes[y].value;(p||l)&&(p&&(l&&p.__html==l.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(t,e,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in e||N(t,i,null,n[i],r);for(i in e)o&&"function"!=typeof e[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===e[i]||N(t,i,e[i],n[i],r)}(t,d,_,i,a),p)e.__k=[];else if(y=e.props.children,E(t,Array.isArray(y)?y:[y],e,n,o,i&&"foreignObject"!==h,u,c,u?u[0]:n.__k&&x(n,0),a),null!=u)for(y=u.length;y--;)null!=u[y]&&v(u[y]);a||("value"in d&&void 0!==(y=d.value)&&(y!==t.value||"progress"===h&&!y)&&N(t,"value",y,_.value,!1),"checked"in d&&void 0!==(y=d.checked)&&y!==t.checked&&N(t,"checked",y,_.checked,!1))}return t}function U(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){o.__e(t,n)}}function F(t,e,n){var r,i;if(o.unmount&&o.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||U(r,null,e)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(t){o.__e(t,e)}r.base=r.__P=null}if(r=t.__k)for(i=0;i<r.length;i++)r[i]&&F(r[i],e,"function"!=typeof t.type);n||null==t.__e||v(t.__e),t.__e=t.__d=void 0}function $(t,e,n){return this.constructor(t,n)}function L(t,e,n){var i,u,c;o.__&&o.__(t,e),u=(i="function"==typeof n)?null:n&&n.__k||e.__k,c=[],A(e,t=(!i&&n||e).__k=h(b,null,[t]),u||s,s,void 0!==e.ownerSVGElement,!i&&n?[n]:u?null:e.firstChild?r.call(e.childNodes):null,c,!i&&n?n:u?u.__e:e.firstChild,i),M(c,t)}function I(t,e){L(t,e,I)}function W(t,e,n){var o,i,u,c=d({},t.props);for(u in e)"key"==u?o=e[u]:"ref"==u?i=e[u]:c[u]=e[u];return arguments.length>2&&(c.children=arguments.length>3?r.call(arguments,2):n),y(t.type,c,o||t.key,i||t.ref,null)}function Z(t,e){var n={__c:e="__cC"+l++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var n,r;return this.getChildContext||(n=[],(r={})[e]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&n.some(O)},this.sub=function(t){n.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n.splice(n.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Provider.__=n.Consumer.contextType=n}r=p.slice,o={__e:function(t,e){for(var n,r,o;e=e.__;)if((n=e.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(t)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(t),o=n.__d),o)return n.__E=n}catch(e){t=e}throw t}},i=0,u=function(t){return null!=t&&void 0===t.constructor},g.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof t&&(t=t(d({},n),this.props)),t&&d(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),O(this))},g.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),O(this))},g.prototype.render=b,c=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,S.__r=0,l=0},3538:function(t,e,n){"use strict";n.r(e),n.d(e,{useCallback:function(){return w},useContext:function(){return O},useDebugValue:function(){return S},useEffect:function(){return y},useErrorBoundary:function(){return E},useImperativeHandle:function(){return g},useLayoutEffect:function(){return m},useMemo:function(){return x},useReducer:function(){return h},useRef:function(){return b},useState:function(){return v}});var r,o,i,u=n(2687),c=0,a=[],f=u.options.__b,l=u.options.__r,s=u.options.diffed,p=u.options.__c,_=u.options.unmount;function d(t,e){u.options.__h&&u.options.__h(o,t,c||e),c=0;var n=o.__H||(o.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function v(t){return c=1,h(R,t)}function h(t,e,n){var i=d(r++,2);return i.t=t,i.__c||(i.__=[n?n(e):R(void 0,e),function(t){var e=i.t(i.__[0],t);i.__[0]!==e&&(i.__=[e,i.__[1]],i.__c.setState({}))}],i.__c=o),i.__}function y(t,e){var n=d(r++,3);!u.options.__s&&N(n.__H,e)&&(n.__=t,n.__H=e,o.__H.__h.push(n))}function m(t,e){var n=d(r++,4);!u.options.__s&&N(n.__H,e)&&(n.__=t,n.__H=e,o.__h.push(n))}function b(t){return c=5,x((function(){return{current:t}}),[])}function g(t,e,n){c=6,m((function(){"function"==typeof t?t(e()):t&&(t.current=e())}),null==n?n:n.concat(t))}function x(t,e){var n=d(r++,7);return N(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function w(t,e){return c=8,x((function(){return t}),e)}function O(t){var e=o.context[t.__c],n=d(r++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(o)),e.props.value):t.__}function S(t,e){u.options.useDebugValue&&u.options.useDebugValue(e?e(t):t)}function E(t){var e=d(r++,10),n=v();return e.__=t,o.componentDidCatch||(o.componentDidCatch=function(t){e.__&&e.__(t),n[1](t)}),[n[0],function(){n[1](void 0)}]}function C(){a.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(k),t.__H.__h.forEach(j),t.__H.__h=[]}catch(e){t.__H.__h=[],u.options.__e(e,t.__v)}})),a=[]}u.options.__b=function(t){o=null,f&&f(t)},u.options.__r=function(t){l&&l(t),r=0;var e=(o=t.__c).__H;e&&(e.__h.forEach(k),e.__h.forEach(j),e.__h=[])},u.options.diffed=function(t){s&&s(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&(1!==a.push(e)&&i===u.options.requestAnimationFrame||((i=u.options.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(r),P&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);P&&(e=requestAnimationFrame(n))})(C)),o=null},u.options.__c=function(t,e){e.some((function(t){try{t.__h.forEach(k),t.__h=t.__h.filter((function(t){return!t.__||j(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],u.options.__e(n,t.__v)}})),p&&p(t,e)},u.options.unmount=function(t){_&&_(t);var e=t.__c;if(e&&e.__H)try{e.__H.__.forEach(k)}catch(t){u.options.__e(t,e.__v)}};var P="function"==typeof requestAnimationFrame;function k(t){var e=o;"function"==typeof t.__c&&t.__c(),o=e}function j(t){var e=o;t.__c=t.__(),o=e}function N(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function R(t,e){return"function"==typeof e?e(t):e}},5731:function(t,e){"use strict";var n=Object.prototype,r=n.toString,o=n.hasOwnProperty,i="[object Object]",u="[object Array]";function c(t,e){return null!=t?t+"["+e+"]":e}e.x=function t(e,n,a){var f=r.call(e);if(void 0===a)if(f===i)a={};else{if(f!==u)return;a=[]}for(var l in e)if(o.call(e,l)){var s=e[l];if(null!=s)switch(r.call(s)){case u:case i:t(s,c(n,l),a);break;default:a[c(n,l)]=s}}return a}},8750:function(t,e,n){"use strict";function r(t,e){var n,r,o,i="";for(n in t)if(void 0!==(o=t[n]))if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(e||"")+i}n.d(e,{c:function(){return r}})},8922:function(t,e){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,u=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,a=n?Symbol.for("react.provider"):60109,f=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,s=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,_=n?Symbol.for("react.suspense"):60113,d=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,m=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,g=n?Symbol.for("react.scope"):60119;function x(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case l:case s:case i:case c:case u:case _:return t;default:switch(t=t&&t.$$typeof){case f:case p:case h:case v:case a:return t;default:return e}}case o:return e}}}function w(t){return x(t)===s}e.AsyncMode=l,e.ConcurrentMode=s,e.ContextConsumer=f,e.ContextProvider=a,e.Element=r,e.ForwardRef=p,e.Fragment=i,e.Lazy=h,e.Memo=v,e.Portal=o,e.Profiler=c,e.StrictMode=u,e.Suspense=_,e.isAsyncMode=function(t){return w(t)||x(t)===l},e.isConcurrentMode=w,e.isContextConsumer=function(t){return x(t)===f},e.isContextProvider=function(t){return x(t)===a},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return x(t)===p},e.isFragment=function(t){return x(t)===i},e.isLazy=function(t){return x(t)===h},e.isMemo=function(t){return x(t)===v},e.isPortal=function(t){return x(t)===o},e.isProfiler=function(t){return x(t)===c},e.isStrictMode=function(t){return x(t)===u},e.isSuspense=function(t){return x(t)===_},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===s||t===c||t===u||t===_||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===v||t.$$typeof===a||t.$$typeof===f||t.$$typeof===p||t.$$typeof===m||t.$$typeof===b||t.$$typeof===g||t.$$typeof===y)},e.typeOf=x},3801:function(t,e,n){"use strict";t.exports=n(8922)},4223:function(t,e){"use strict";var n=60103,r=60106,o=60107,i=60108,u=60114,c=60109,a=60110,f=60112,l=60113,s=60120,p=60115,_=60116,d=60121,v=60122,h=60117,y=60129,m=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),u=b("react.profiler"),c=b("react.provider"),a=b("react.context"),f=b("react.forward_ref"),l=b("react.suspense"),s=b("react.suspense_list"),p=b("react.memo"),_=b("react.lazy"),d=b("react.block"),v=b("react.server.block"),h=b("react.fundamental"),y=b("react.debug_trace_mode"),m=b("react.legacy_hidden")}function g(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case u:case i:case l:case s:return t;default:switch(t=t&&t.$$typeof){case a:case f:case _:case p:case c:return t;default:return e}}case r:return e}}}e.isContextConsumer=function(t){return g(t)===a}},1637:function(t,e,n){"use strict";t.exports=n(4223)},373:function(t,e,n){"use strict";n.d(e,{E:function(){return o}});var r=n(211),o=n.n(r)().createContext(null)},1290:function(t,e,n){"use strict";var r=n(211),o=n.n(r),i=n(373),u=n(5053),c=n(999);e.Z=function(t){var e=t.store,n=t.context,a=t.children,f=(0,r.useMemo)((function(){var t=(0,u.X)(e);return{store:e,subscription:t}}),[e]),l=(0,r.useMemo)((function(){return e.getState()}),[e]);(0,c.L)((function(){var t=f.subscription;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),l!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[f,l]);var s=n||i.E;return o().createElement(s.Provider,{value:f},a)}},5642:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(255),o=n(7921),i=n(7692),u=n.n(i),c=n(211),a=n.n(c),f=n(1637),l=n(5053),s=n(999),p=n(373),_=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],d=["reactReduxForwardedRef"],v=[],h=[null,null];function y(t,e){var n=t[1];return[e.payload,n+1]}function m(t,e,n){(0,s.L)((function(){return t.apply(void 0,e)}),n)}function b(t,e,n,r,o,i,u){t.current=r,e.current=o,n.current=!1,i.current&&(i.current=null,u())}function g(t,e,n,r,o,i,u,c,a,f){if(t){var l=!1,s=null,p=function(){if(!l){var t,n,p=e.getState();try{t=r(p,o.current)}catch(t){n=t,s=t}n||(s=null),t===i.current?u.current||a():(i.current=t,c.current=t,u.current=!0,f({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,s)throw s}}}var x=function(){return[null,0]};function w(t,e){void 0===e&&(e={});var n=e,i=n.getDisplayName,s=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,w=n.methodName,O=void 0===w?"connectAdvanced":w,S=n.renderCountProp,E=void 0===S?void 0:S,C=n.shouldHandleStateChanges,P=void 0===C||C,k=n.storeKey,j=void 0===k?"store":k,N=(n.withRef,n.forwardRef),R=void 0!==N&&N,T=n.context,A=void 0===T?p.E:T,M=(0,o.Z)(n,_),D=A;return function(e){var n=e.displayName||e.name||"Component",i=s(n),p=(0,r.Z)({},M,{getDisplayName:s,methodName:O,renderCountProp:E,shouldHandleStateChanges:P,storeKey:j,displayName:i,wrappedComponentName:n,WrappedComponent:e}),_=M.pure;var w=_?c.useMemo:function(t){return t()};function S(n){var i=(0,c.useMemo)((function(){var t=n.reactReduxForwardedRef,e=(0,o.Z)(n,d);return[n.context,t,e]}),[n]),u=i[0],s=i[1],_=i[2],O=(0,c.useMemo)((function(){return u&&u.Consumer&&(0,f.isContextConsumer)(a().createElement(u.Consumer,null))?u:D}),[u,D]),S=(0,c.useContext)(O),E=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(S)&&Boolean(S.store);var C=E?n.store:S.store,k=(0,c.useMemo)((function(){return function(e){return t(e.dispatch,p)}(C)}),[C]),j=(0,c.useMemo)((function(){if(!P)return h;var t=(0,l.X)(C,E?null:S.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[C,E,S]),N=j[0],R=j[1],T=(0,c.useMemo)((function(){return E?S:(0,r.Z)({},S,{subscription:N})}),[E,S,N]),A=(0,c.useReducer)(y,v,x),M=A[0][0],U=A[1];if(M&&M.error)throw M.error;var F=(0,c.useRef)(),$=(0,c.useRef)(_),L=(0,c.useRef)(),I=(0,c.useRef)(!1),W=w((function(){return L.current&&_===$.current?L.current:k(C.getState(),_)}),[C,M,_]);m(b,[$,F,I,_,W,L,R]),m(g,[P,C,N,k,$,F,I,L,R,U],[C,N,k]);var Z=(0,c.useMemo)((function(){return a().createElement(e,(0,r.Z)({},W,{ref:s}))}),[s,e,W]);return(0,c.useMemo)((function(){return P?a().createElement(O.Provider,{value:T},Z):Z}),[O,Z,T])}var C=_?a().memo(S):S;if(C.WrappedComponent=e,C.displayName=S.displayName=i,R){var k=a().forwardRef((function(t,e){return a().createElement(C,(0,r.Z)({},t,{reactReduxForwardedRef:e}))}));return k.displayName=i,k.WrappedComponent=e,u()(k,e)}return u()(C,e)}}},1479:function(t,e,n){"use strict";var r=n(255),o=n(7921),i=n(5642),u=n(8588),c=n(2320),a=n(2004),f=n(4769),l=n(8164),s=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function p(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function _(t,e){return t===e}function d(t){var e=void 0===t?{}:t,n=e.connectHOC,d=void 0===n?i.Z:n,v=e.mapStateToPropsFactories,h=void 0===v?a.ZP:v,y=e.mapDispatchToPropsFactories,m=void 0===y?c.ZP:y,b=e.mergePropsFactories,g=void 0===b?f.ZP:b,x=e.selectorFactory,w=void 0===x?l.ZP:x;return function(t,e,n,i){void 0===i&&(i={});var c=i,a=c.pure,f=void 0===a||a,l=c.areStatesEqual,v=void 0===l?_:l,y=c.areOwnPropsEqual,b=void 0===y?u.Z:y,x=c.areStatePropsEqual,O=void 0===x?u.Z:x,S=c.areMergedPropsEqual,E=void 0===S?u.Z:S,C=(0,o.Z)(c,s),P=p(t,h,"mapStateToProps"),k=p(e,m,"mapDispatchToProps"),j=p(n,g,"mergeProps");return d(w,(0,r.Z)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:P,initMapDispatchToProps:k,initMergeProps:j,pure:f,areStatesEqual:v,areOwnPropsEqual:b,areStatePropsEqual:O,areMergedPropsEqual:E},C))}}e.Z=d()},2320:function(t,e,n){"use strict";var r=n(7059),o=n(278);e.ZP=[function(t){return"function"==typeof t?(0,o.xv)(t,"mapDispatchToProps"):void 0},function(t){return t?void 0:(0,o.dX)((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?(0,o.dX)((function(e){return(0,r.Z)(t,e)})):void 0}]},2004:function(t,e,n){"use strict";var r=n(278);e.ZP=[function(t){return"function"==typeof t?(0,r.xv)(t,"mapStateToProps"):void 0},function(t){return t?void 0:(0,r.dX)((function(){return{}}))}]},4769:function(t,e,n){"use strict";var r=n(255);function o(t,e,n){return(0,r.Z)({},n,t,e)}e.ZP=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,u=!1;return function(e,n,c){var a=t(e,n,c);return u?o&&i(a,r)||(r=a):(u=!0,r=a),r}}}(t):void 0},function(t){return t?void 0:function(){return o}}]},8164:function(t,e,n){"use strict";n.d(e,{ZP:function(){return c}});var r=n(7921),o=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function i(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function u(t,e,n,r,o){var i,u,c,a,f,l=o.areStatesEqual,s=o.areOwnPropsEqual,p=o.areStatePropsEqual,_=!1;function d(o,_){var d,v,h=!s(_,u),y=!l(o,i);return i=o,u=_,h&&y?(c=t(i,u),e.dependsOnOwnProps&&(a=e(r,u)),f=n(c,a,u)):h?(t.dependsOnOwnProps&&(c=t(i,u)),e.dependsOnOwnProps&&(a=e(r,u)),f=n(c,a,u)):y?(d=t(i,u),v=!p(d,c),c=d,v&&(f=n(c,a,u)),f):f}return function(o,l){return _?d(o,l):(c=t(i=o,u=l),a=e(r,u),f=n(c,a,u),_=!0,f)}}function c(t,e){var n=e.initMapStateToProps,c=e.initMapDispatchToProps,a=e.initMergeProps,f=(0,r.Z)(e,o),l=n(t,f),s=c(t,f),p=a(t,f);return(f.pure?u:i)(l,s,p,t,f)}},278:function(t,e,n){"use strict";function r(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function o(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function i(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=o(t);var i=r(e,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(e,n)),i},r}}n.d(e,{dX:function(){return r},xv:function(){return i}})},1654:function(t,e,n){"use strict";n.d(e,{$j:function(){return o.Z},zt:function(){return r.Z}});var r=n(1290),o=(n(5642),n(373),n(1479));n(7518),n(8882),n(6271)},7518:function(t,e,n){"use strict";n(373),n(6271)},2830:function(t,e,n){"use strict";n(211),n(373)},8882:function(t,e,n){"use strict";n(211),n(2830),n(5053),n(999),n(373)},6271:function(t,e,n){"use strict";n(211),n(373),n(2830)},9309:function(t,e,n){"use strict";n.d(e,{$j:function(){return r.$j},zt:function(){return r.zt}});var r=n(1654),o=n(9523);(0,n(2935).F)(o.m)},5053:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r=n(2935);var o={notify:function(){},get:function(){return[]}};function i(t,e){var n,i=o;function u(){a.onStateChange&&a.onStateChange()}function c(){var o,c,a;n||(n=e?e.addNestedSub(u):t.subscribe(u),o=(0,r.k)(),c=null,a=null,i={clear:function(){c=null,a=null},notify:function(){o((function(){for(var t=c;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],e=c;e;)t.push(e),e=e.next;return t},subscribe:function(t){var e=!0,n=a={callback:t,next:null,prev:a};return n.prev?n.prev.next=n:c=n,function(){e&&null!==c&&(e=!1,n.next?n.next.prev=n.prev:a=n.prev,n.prev?n.prev.next=n.next:c=n.next)}}})}var a={addNestedSub:function(t){return c(),i.subscribe(t)},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:u,isSubscribed:function(){return Boolean(n)},trySubscribe:c,tryUnsubscribe:function(){n&&(n(),n=void 0,i.clear(),i=o)},getListeners:function(){return i}};return a}},2935:function(t,e,n){"use strict";n.d(e,{F:function(){return o},k:function(){return i}});var r=function(t){t()},o=function(t){return r=t},i=function(){return r}},7059:function(t,e,n){"use strict";function r(t,e){var n={},r=function(r){var o=t[r];"function"==typeof o&&(n[r]=function(){return e(o.apply(void 0,arguments))})};for(var o in t)r(o);return n}n.d(e,{Z:function(){return r}})},9523:function(t,e,n){"use strict";n.d(e,{m:function(){return r.unstable_batchedUpdates}});var r=n(211)},8588:function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function o(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(e,n[i])||!r(t[n[i]],e[n[i]]))return!1;return!0}n.d(e,{Z:function(){return o}})},999:function(t,e,n){"use strict";n.d(e,{L:function(){return o}});var r=n(211),o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect},835:function(t,e,n){"use strict";n.d(e,{MT:function(){return f},UY:function(){return l},md:function(){return p}});var r=n(8617);function o(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var i="function"==typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function a(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function f(t,e,n){var r;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(o(1));return n(f)(t,e)}if("function"!=typeof t)throw new Error(o(2));var u=t,l=e,s=[],p=s,_=!1;function d(){p===s&&(p=s.slice())}function v(){if(_)throw new Error(o(3));return l}function h(t){if("function"!=typeof t)throw new Error(o(4));if(_)throw new Error(o(5));var e=!0;return d(),p.push(t),function(){if(e){if(_)throw new Error(o(6));e=!1,d();var n=p.indexOf(t);p.splice(n,1),s=null}}}function y(t){if(!a(t))throw new Error(o(7));if(void 0===t.type)throw new Error(o(8));if(_)throw new Error(o(9));try{_=!0,l=u(l,t)}finally{_=!1}for(var e=s=p,n=0;n<e.length;n++){(0,e[n])()}return t}function m(t){if("function"!=typeof t)throw new Error(o(10));u=t,y({type:c.REPLACE})}function b(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(o(11));function n(){t.next&&t.next(v())}return n(),{unsubscribe:e(n)}}})[i]=function(){return this},t}return y({type:c.INIT}),(r={dispatch:y,subscribe:h,getState:v,replaceReducer:m})[i]=b,r}function l(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];0,"function"==typeof t[i]&&(n[i]=t[i])}var u,a=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:c.INIT}))throw new Error(o(12));if(void 0===n(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(t){u=t}return function(t,e){if(void 0===t&&(t={}),u)throw u;for(var r=!1,i={},c=0;c<a.length;c++){var f=a[c],l=n[f],s=t[f],p=l(s,e);if(void 0===p){e&&e.type;throw new Error(o(14))}i[f]=p,r=r||p!==s}return(r=r||a.length!==Object.keys(t).length)?i:t}}function s(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function p(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),i=function(){throw new Error(o(15))},u={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map((function(t){return t(u)}));return i=s.apply(void 0,c)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:i})}}}},4274:function(t){"use strict";function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}t.exports=function(t){var n,r={};return e(r,t),(n=function(t){return function(e){return function(n){var o,i,u=r[n.type],c=e(n);if(u)for(o=0;o<u.length;o++)(i=u[o](n,t))&&t.dispatch(i);return c}}}).effects=r,n}},3191:function(t){"use strict";var e=256,n=[],r=window,o=Math.pow(e,6),i=Math.pow(2,52),u=2*i,c=255,a=Math.random;function f(t){var n,r=t.length,o=this,i=0,u=o.i=o.j=0,a=o.S=[];for(r||(t=[r++]);i<e;)a[i]=i++;for(i=0;i<e;i++)a[i]=a[u=c&u+t[i%r]+(n=a[i])],a[u]=n;(o.g=function(t){for(var n,r=0,i=o.i,u=o.j,a=o.S;t--;)n=a[i=c&i+1],r=r*e+a[c&(a[i]=a[u=c&u+n])+(a[u]=n)];return o.i=i,o.j=u,r})(e)}function l(t,e){var n,r=[],o=(typeof t)[0];if(e&&"o"==o)for(n in t)try{r.push(l(t[n],e-1))}catch(t){}return r.length?r:"s"==o?t:t+"\0"}function s(t,e){for(var n,r=t+"",o=0;o<r.length;)e[c&o]=c&(n^=19*e[c&o])+r.charCodeAt(o++);return _(e)}function p(t){try{return r.crypto.getRandomValues(t=new Uint8Array(e)),_(t)}catch(t){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,_(n)]}}function _(t){return String.fromCharCode.apply(0,t)}t.exports=function(r,c){if(c&&!0===c.global)return c.global=!1,Math.random=t.exports(r,c),c.global=!0,Math.random;var a=c&&c.entropy||!1,d=[],v=(s(l(a?[r,_(n)]:0 in arguments?r:p(),3),d),new f(d));return s(_(v.S),n),function(){for(var t=v.g(6),n=o,r=0;t<i;)t=(t+r)*e,n*=e,r=v.g(1);for(;t>=u;)t/=2,n/=2,r>>>=1;return(t+r)/n}},t.exports.resetGlobal=function(){Math.random=a},s(Math.random(),n)},4553:function(t){var e=/<\/?([a-z][a-z0-9]*)\b[^>]*>?/gi;t.exports=function(t){return(t=t||"").replace(e,"").trim()}},9353:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});n(875);class r{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.first=null,this.items=Object.create(null),this.last=null,this.max=t,this.size=0,this.ttl=e}has(t){return t in this.items}clear(){return this.first=null,this.items=Object.create(null),this.last=null,this.size=0,this}delete(t){if(this.has(t)){const e=this.items[t];delete this.items[t],this.size--,null!==e.prev&&(e.prev.next=e.next),null!==e.next&&(e.next.prev=e.prev),this.first===e&&(this.first=e.next),this.last===e&&(this.last=e.prev)}return this}evict(){const t=this.first;return delete this.items[t.key],this.first=t.next,this.first.prev=null,this.size--,this}get(t){let e;if(this.has(t)){const n=this.items[t];this.ttl>0&&n.expiry<=(new Date).getTime()?this.delete(t):(e=n.value,this.set(t,e,!0))}return e}keys(){return Object.keys(this.items)}set(t,e){let n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(r||this.has(t)){if(n=this.items[t],n.value=e,!1===r&&(n.expiry=this.ttl>0?(new Date).getTime()+this.ttl:this.ttl),this.last!==n){const t=this.last,e=n.next,r=n.prev;this.first===n&&(this.first=n.next),n.next=null,n.prev=this.last,t.next=n,null!==r&&(r.next=e),null!==e&&(e.prev=r)}}else this.max>0&&this.size===this.max&&this.evict(),n=this.items[t]={expiry:this.ttl>0?(new Date).getTime()+this.ttl:this.ttl,key:t,prev:this.last,next:null,value:e},1==++this.size?this.first=n:this.last.next=n;return this.last=n,this}}function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(isNaN(t)||t<0)throw new TypeError("Invalid max value");if(isNaN(e)||e<0)throw new TypeError("Invalid ttl value");return new r(t,e)}},2650:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return r}})},255:function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{Z:function(){return r}})},8617:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(2650);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},7921:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,{Z:function(){return r}})}}]); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/instant-search/407.js.LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.defaultVendors.js.LICENSE.txt
index 6f6f2bb3..21010121 100644
--- a/plugins/jetpack/_inc/build/instant-search/407.js.LICENSE.txt
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.defaultVendors.js.LICENSE.txt
@@ -6,3 +6,12 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
+
+/** @license React v17.0.2
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.js
new file mode 100644
index 00000000..f7baf117
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/build/instant-search/jp-search.js
@@ -0,0 +1 @@
+!function(){var e,t,n,r,o,i={9755:function(e,t,n){"use strict";n.d(t,{AG:function(){return d},Bk:function(){return o},LI:function(){return l},PP:function(){return f},Pz:function(){return u},TZ:function(){return s},W1:function(){return i},aP:function(){return w},bk:function(){return g},kQ:function(){return h},oy:function(){return c},rs:function(){return m},yb:function(){return p},zg:function(){return a}});var r=n(5736);const __=r.__,o="__NO_GROUP__",i="JetpackInstantSearchOptions",a="jetpack-instant-search__overlay",c="ASC",u="expanded",s="minimal",l="product",d=6e4,f="relevance",p=1e3,h=["newest","oldest",f,"price_asc","price_desc","rating_desc"],g=[u,s,l],w=new Map([[f,__("Relevance","jetpack-search-pkg")],["newest",__("Newest","jetpack-search-pkg")],["oldest",__("Oldest","jetpack-search-pkg")]]),m=new Map([["price_asc",__("Price: low to high","jetpack-search-pkg")],["price_desc",__("Price: high to low","jetpack-search-pkg")],["rating_desc",__("Rating","jetpack-search-pkg")]])},4184:function(e,t,n){"use strict";n.d(t,{Em:function(){return a},bS:function(){return i},vJ:function(){return c}});var r=n(9755);const o=new Map([["jetpack_search_color_theme","colorTheme"],["jetpack_search_enable_sort","enableSort"],["jetpack_search_highlight_color","highlightColor"],["jetpack_search_inf_scroll","enableInfScroll"],["jetpack_search_overlay_trigger","overlayTrigger"],["jetpack_search_show_powered_by","showPoweredBy"],["jetpack_search_result_format","resultFormat"]]);function i(){var e,t;return"function"==typeof(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t?void 0:t.customize)}function a(e){i()&&window.addEventListener("message",(t=>{var n;t.data&&t.target===window&&"jetpackSearchSectionOpen"===(null===(n=t.data)||void 0===n?void 0:n.key)&&"expanded"in t.data&&e(t.data.expanded)}))}function c(e){i()&&o.forEach(((t,n)=>{window.wp.customize(n,(n=>{n.bind((function(n){const o={[t]:n};window[r.W1].showResults=!0,window[r.W1].overlayOptions={...window[r.W1].overlayOptions,...o},e&&e(o)}))}))}))}},554:function(e,t,n){n.p=window.JetpackInstantSearchOptions.webpackPublicPath},5736:function(e){"use strict";e.exports=window.wp.i18n},5417:function(e){"use strict";e.exports=window.wp.jpI18nLoader}},a={};function c(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e](n,n.exports,c),n.exports}c.m=i,c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce((function(t,n){return c.f[n](e,t),t}),[]))},c.u=function(e){return{303:"jp-search.defaultVendors",613:"jp-search.chunk-main-payload"}[e]+".js?minify=false&ver="+{303:"668f0c6415f2f255b839",613:"02cd66cf353df7dd3a4a"}[e]},c.miniCssF=function(e){return"jp-search.chunk-main-payload.css?minify=false&ver=bb70b64f7ed44c5422d6"},function(){if(!c.miniCssF)throw new Error("MiniCSSWithRTLPlugin was loaded before MiniCSSExtractPlugin");var e;c.miniCssF=(e=c.miniCssF,function(t){var n="rtl"===document.dir,r=e(t);return n?r.replace(/\.css(?:$|\?)/,".rtl$&"):r})}(),c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="jetpack-search:",c.l=function(n,r,o,i){if(e[n])e[n].push(r);else{var a,u;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var d=s[l];if(d.getAttribute("src")==n||d.getAttribute("data-webpack")==t+o){a=d;break}}a||(u=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,c.nc&&a.setAttribute("nonce",c.nc),a.setAttribute("data-webpack",t+o),a.src=n),e[n]=[r];var f=function(t,r){a.onerror=a.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((function(e){return e(r)})),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),u&&document.head.appendChild(a)}},n={613:0},c.f.wpI18n=function(e,t){n[e]?t.push(n[e]):0===n[e]&&t.push(n[e]=function(e){var t=c(5417);return t&&t.downloadI18n?t.downloadI18n("build/instant-search/"+c.u(e),"jetpack-search-pkg","plugin"):Promise.reject(new Error("I18n loader is not available. Check that WordPress is exporting wp.jpI18nLoader."))}(e).then((function(){n[e]=!1}),(function(t){n[e]=0,console.error("Failed to fetch i18n data: ",t)})))},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;c.g.importScripts&&(e=c.g.location+"");var t=c.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(/\/[^\/]+$/,"/"),c.p=e}(),r=function(e){return new Promise((function(t,n){var r=c.miniCssF(e),o=c.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var a;if((o=(a=i[r]).getAttribute("data-href"))===e||o===t)return a}}(r,o))return t();!function(e,t,n,r){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(i){if(o.onerror=o.onload=null,"load"===i.type)n();else{var a=i&&("load"===i.type?"missing":i.type),c=i&&i.target&&i.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=c,o.parentNode.removeChild(o),r(u)}},o.href=t,document.head.appendChild(o)}(e,o,t,n)}))},o={942:0},c.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{613:1}[e]&&t.push(o[e]=r(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={942:0};c.f.j=function(t,n){var r=c.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=o);var i=c.p+c.u(t),a=new Error;c.l(i,(function(n){if(c.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=function(t,n){var r,o,i=n[0],a=n[1],u=n[2],s=0;if(i.some((function(t){return 0!==e[t]}))){for(r in a)c.o(a,r)&&(c.m[r]=a[r]);if(u)u(c)}for(t&&t(n);s<i.length;s++)o=i[s],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunkjetpack_search=self.webpackChunkjetpack_search||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";c(554);var e=c(9755),t=c(4184);function n(){Promise.all([c.e(303),c.e(613)]).then(c.bind(c,1559)).then((e=>e.initialize()))}window[e.W1]&&(0,t.vJ)(),"loading"!==document.readyState?n():document.addEventListener("DOMContentLoaded",n)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/compatibility/jetpack.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/compatibility/jetpack.php
new file mode 100644
index 00000000..bb626eed
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/compatibility/jetpack.php
@@ -0,0 +1,29 @@
+<?php
+/**
+ * Jetpack compatibility
+ *
+ * @package automattic/jetpack-search
+ */
+
+namespace Automattic\Jetpack\Search\Compatibility\Jetpack;
+
+use Automattic\Jetpack\Search\Plan;
+use Jetpack;
+
+/**
+ * Override the condition to show Search submenu when Jetpack plugin exists.
+ */
+function should_show_jetpack_search_submenu() {
+ if ( ! current_user_can( 'manage_options' ) ) {
+ return false;
+ }
+
+ // If site is in Offline Mode or not connected yet.
+ if ( ! Jetpack::is_active_and_not_offline_mode() ) {
+ return false;
+ }
+
+ return ( new Plan() )->ever_supported_search();
+}
+
+add_filter( 'jetpack_search_should_add_search_submenu', __NAMESPACE__ . '\should_show_jetpack_search_submenu' );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-cli.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-cli.php
new file mode 100644
index 00000000..78fec3d4
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-cli.php
@@ -0,0 +1,70 @@
+<?php
+/**
+ * CLI class exposed by WPCLI
+ *
+ * @package automattic/jetpack-search
+ */
+
+namespace Automattic\Jetpack\Search;
+
+use \WP_CLI;
+use \WP_CLI_Command;
+use \WP_Error;
+
+if ( ! class_exists( 'WP_CLI_Command' ) ) {
+ return;
+}
+
+/**
+ * Provide functionality by WPCLI.
+ */
+class CLI extends WP_CLI_Command {
+ /**
+ * Auto config instant search, including set result format, set up overlay widgets and add a search input to the home page thru widgets or blocks.
+ *
+ * ## EXAMPLES
+ *
+ * wp jetpack-search auto_config user_login
+ *
+ * wp jetpack-search auto_config user_id
+ *
+ * @param array $args - Args passsed in.
+ */
+ public function auto_config( $args ) {
+ try {
+ if ( empty( $args ) ) {
+ WP_CLI::error( 'A user login or ID is required.' );
+ }
+
+ // Some functions may require admin capabilities to run.
+ $ret = $this->set_user( $args[0] );
+ if ( is_wp_error( $ret ) ) {
+ WP_CLI::error( $ret->get_error_message() );
+ }
+
+ WP_CLI::line( 'Running as user ' . $ret->user_login . '…' );
+ $blog_id = Helper::get_wpcom_site_id();
+ Instant_Search::instance( $blog_id )->auto_config_search();
+ WP_CLI::success( 'Auto config success!' );
+ } catch ( \Exception $e ) {
+ WP_CLI::error( $e->getMessage() );
+ }
+ }
+
+ /**
+ * Set current user by ID or login
+ *
+ * @param string|int $user User ID or login.
+ */
+ protected function set_user( $user ) {
+ $get_user_by = 'login';
+ if ( filter_var( $user, FILTER_VALIDATE_INT ) > 0 ) {
+ $get_user_by = 'ID';
+ }
+ $user_info = get_user_by( $get_user_by, (string) $user );
+ if ( ! $user_info ) {
+ return new WP_Error( 'user_not_found', "Could not find user '${user}' by ${get_user_by}." );
+ }
+ return wp_set_current_user( $user_info->ID );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-helper.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-helper.php
index f7f85591..d45d0175 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-helper.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-helper.php
@@ -7,7 +7,7 @@
namespace Automattic\Jetpack\Search;
-use GP_Locales; // TODO: Migrate this to the package, or find an alternative.
+use GP_Locales;
use Jetpack; // TODO: Remove this once migrated.
/**
@@ -348,8 +348,8 @@ class Helper {
return false;
}
- // WordPress search doesn't use nonces.
- // phpcs:disable WordPress.Security.NonceVerification.Recommended
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended -- WordPress search doesn't use nonces.
+ // phpcs:disable WordPress.Security.ValidatedSanitizedInput -- Sanitization happens at the end.
if ( empty( $_GET['post_type'] ) ) {
$post_types_from_query = array();
} elseif ( is_array( $_GET['post_type'] ) ) {
@@ -357,9 +357,9 @@ class Helper {
} else {
$post_types_from_query = (array) explode( ',', $_GET['post_type'] );
}
- // phpcs:enable WordPress.Security.NonceVerification.Recommended
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput
- $post_types_from_query = array_map( 'trim', $post_types_from_query );
+ $post_types_from_query = array_map( 'sanitize_key', $post_types_from_query );
$diff_query = self::array_diff( (array) $post_types, $post_types_from_query );
@@ -650,7 +650,7 @@ class Helper {
public static function are_filters_by_widget_disabled() {
/**
* Allows developers to disable filters being set by widget, in favor of manually
- * setting filters via `Jetpack_Search::set_filters()`.
+ * setting filters via `Classic_Search::set_filters()`.
*
* @module search
*
@@ -692,14 +692,9 @@ class Helper {
* @return bool
*/
public static function is_valid_locale( $locale ) {
- // TODO: Replace JETPACK__GLOTPRESS_LOCALES_PATH.
if ( ! class_exists( 'GP_Locales' ) ) {
- if ( defined( 'JETPACK__GLOTPRESS_LOCALES_PATH' ) && file_exists( JETPACK__GLOTPRESS_LOCALES_PATH ) ) {
- require JETPACK__GLOTPRESS_LOCALES_PATH;
- } else {
- // Assume locale to be valid if we can't check with GlotPress.
- return true;
- }
+ // Assume locale to be valid if we can't check with GlotPress.
+ return true;
}
return false !== GP_Locales::by_field( 'wp_locale', $locale );
}
@@ -712,11 +707,9 @@ class Helper {
* @return string $script_version Version number.
*/
public static function get_asset_version( $file ) {
- // TODO: Replace Jetpack:: invocation.
- // TODO: Replace JETPACK__PLUGIN_DIR and JETPACK__VERSION.
- return Jetpack::is_development_version() && file_exists( JETPACK__PLUGIN_DIR . $file )
- ? filemtime( JETPACK__PLUGIN_DIR . $file )
- : JETPACK__VERSION;
+ return Package::is_development_version() && file_exists( Package::get_installed_path() . $file )
+ ? filemtime( Package::get_installed_path() . $file )
+ : Package::VERSION;
}
/**
@@ -861,11 +854,9 @@ class Helper {
'homeUrl' => home_url(),
'locale' => str_replace( '_', '-', self::is_valid_locale( get_locale() ) ? get_locale() : 'en_US' ),
'postsPerPage' => $posts_per_page,
- 'siteId' => class_exists( 'Jetpack' ) && method_exists( 'Jetpack', 'get_option' ) ? Jetpack::get_option( 'id' ) : get_current_blog_id(),
+ 'siteId' => self::get_wpcom_site_id(),
'postTypes' => $post_type_labels,
- // TODO: Enable this once instant search build pipeline has been moved to the Search package.
- // 'webpackPublicPath' => plugins_url( '/build/instant-search/', __DIR__ ).
- 'webpackPublicPath' => plugins_url( '_inc/build/instant-search/', JETPACK__PLUGIN_FILE ),
+ 'webpackPublicPath' => plugins_url( '/build/instant-search/', __DIR__ ),
'isPhotonEnabled' => ( $is_wpcom || $is_jetpack_photon_enabled ) && ! $is_private_site,
// config values related to private site support.
@@ -905,4 +896,41 @@ class Helper {
</div>
<?php
}
+
+ /**
+ * Gets all of the active plugins via site options.
+ * Forked from Jetpack::get_active_plugins from the Jetpack plugin.
+ *
+ * @return string[]
+ */
+ public static function get_active_plugins() {
+ // active_plugins plugins as values.
+ $active_plugins = (array) get_option( 'active_plugins', array() );
+
+ // active_sitewide_plugins stores plugins as keys.
+ if ( is_multisite() ) {
+ $network_plugins = array_keys( get_site_option( 'active_sitewide_plugins', array() ) );
+ if ( $network_plugins ) {
+ $active_plugins = array_merge( $active_plugins, $network_plugins );
+ }
+ }
+
+ sort( $active_plugins );
+ return array_unique( $active_plugins );
+ }
+
+ /**
+ * Get the current site's WordPress.com ID.
+ *
+ * @return int Blog ID.
+ */
+ public static function get_wpcom_site_id() {
+ // Returns local blog ID for a multi-site network.
+ if ( defined( 'IS_WPCOM' ) && constant( 'IS_WPCOM' ) ) {
+ return \get_current_blog_id();
+ }
+
+ // Returns cache site ID.
+ return \Jetpack_Options::get_option( 'id' );
+ }
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-module-control.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-module-control.php
index ea97b03c..87e76960 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-module-control.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-module-control.php
@@ -7,8 +7,7 @@
namespace Automattic\Jetpack\Search;
-use Automattic\Jetpack\Status;
-use Jetpack_Options;
+use Automattic\Jetpack\Modules;
use WP_Error;
/**
@@ -35,7 +34,15 @@ class Module_Control {
* @param Plan|null $plan - Plan object.
*/
public function __construct( $plan = null ) {
- $this->plan = is_null( $plan ) ? new Plan() : $plan;
+ $this->plan = $plan === null ? new Plan() : $plan;
+ if ( ! did_action( 'jetpack_search_module_control_initialized' ) ) {
+ add_filter( 'jetpack_get_available_standalone_modules', array( $this, 'search_filter_available_modules' ), 10, 1 );
+
+ /**
+ * Fires when the Automattic\Jetpack\Search\Module_Control is initialized for the first time.
+ */
+ do_action( 'jetpack_search_module_control_initialized' );
+ }
}
/**
@@ -44,7 +51,7 @@ class Module_Control {
* @return bool
*/
public function is_active() {
- return in_array( self::JETPACK_SEARCH_MODULE_SLUG, $this->get_active_modules(), true );
+ return ( new Modules() )->is_active( self::JETPACK_SEARCH_MODULE_SLUG );
}
/**
@@ -60,94 +67,18 @@ class Module_Control {
* Activiate Search module
*/
public function activate() {
- /**
- * Fires before a module is activated.
- *
- * @since 2.6.0
- *
- * @param string $module Module slug.
- * @param bool $exit Should we exit after the module has been activated. Default to true.
- * @param bool $redirect Should the user be redirected after module activation? Default to true.
- */
- do_action( 'jetpack_pre_activate_module', self::JETPACK_SEARCH_MODULE_SLUG );
-
- // If it's already active, then don't do it again.
- if ( $this->is_active() ) {
- return true;
- }
- // Not available for offline mode.
- $is_offline_mode = ( new Status() )->is_offline_mode();
- if ( $is_offline_mode ) {
- return new WP_Error( 'offline_mode', __( 'Search module can not be activated in offline mode.', 'jetpack-search-pkg' ) );
- }
- // Return false if no plan supports search.
if ( ! $this->plan->supports_search() ) {
return new WP_Error( 'not_supported', __( 'Your plan does not support Jetpack Search.', 'jetpack-search-pkg' ) );
}
- $active_modules = $this->get_active_modules();
- $active_modules[] = self::JETPACK_SEARCH_MODULE_SLUG;
-
- $success = Jetpack_Options::update_option( self::JETPACK_ACTIVE_MODULES_OPTION_KEY, $active_modules );
-
- /**
- * Fired after a module has been deactivated.
- *
- * @since 4.2.0
- *
- * @param string $module Module slug.
- * @param boolean $success whether the module was deactivated.
- */
- do_action( 'jetpack_activate_module', self::JETPACK_SEARCH_MODULE_SLUG, $success );
- /**
- * Fires when a module is deactivated.
- * The dynamic part of the filter, $module, is the module slug.
- *
- * @since 1.9.0
- *
- * @param string $module Module slug.
- */
- do_action( 'jetpack_activate_module_' . self::JETPACK_SEARCH_MODULE_SLUG );
-
- return $success;
+ return ( new Modules() )->activate( self::JETPACK_SEARCH_MODULE_SLUG, false, false );
}
/**
* Deactiviate Search module
*/
public function deactivate() {
- /**
- * Fires when a module is deactivated.
- *
- * @since 1.9.0
- *
- * @param string $module Module slug.
- */
- do_action( 'jetpack_pre_deactivate_module', self::JETPACK_SEARCH_MODULE_SLUG );
-
- $active_modules = $this->get_active_modules();
- $active_modules = array_values( array_diff( $active_modules, array( self::JETPACK_SEARCH_MODULE_SLUG ) ) );
-
- $success = Jetpack_Options::update_option( self::JETPACK_ACTIVE_MODULES_OPTION_KEY, $active_modules );
-
- /**
- * Fired after a module has been deactivated.
- *
- * @since 4.2.0
- *
- * @param string $module Module slug.
- * @param boolean $success whether the module was deactivated.
- */
- do_action( 'jetpack_deactivate_module', self::JETPACK_SEARCH_MODULE_SLUG, $success );
- /**
- * Fires when a module is deactivated.
- * The dynamic part of the filter, $module, is the module slug.
- *
- * @since 1.9.0
- *
- * @param string $module Module slug.
- */
- do_action( 'jetpack_deactivate_module_' . self::JETPACK_SEARCH_MODULE_SLUG );
+ $success = ( new Modules() )->deactivate( self::JETPACK_SEARCH_MODULE_SLUG );
$this->disable_instant_search();
@@ -177,6 +108,9 @@ class Module_Control {
if ( ! $this->is_active() ) {
return new WP_Error( 'search_module_inactive', __( 'Search module needs to be activated before enabling instant search.', 'jetpack-search-pkg' ) );
}
+ if ( ! $this->plan->supports_instant_search() ) {
+ return new WP_Error( 'not_supported', __( 'Your plan does not support Instant Search.', 'jetpack-search-pkg' ) );
+ }
return update_option( self::SEARCH_MODULE_INSTANT_SEARCH_OPTION_KEY, true );
}
@@ -191,27 +125,27 @@ class Module_Control {
/**
* Get a list of activated modules as an array of module slugs.
+ *
+ * @deprecated 0.12.3
+ * @return Array $active_modules
*/
public function get_active_modules() {
- $active_modules = Jetpack_Options::get_option( self::JETPACK_ACTIVE_MODULES_OPTION_KEY );
+ _deprecated_function(
+ __METHOD__,
+ 'jetpack-search-0.12.3',
+ 'Automattic\\Jetpack\\Modules\\get_active'
+ );
- if ( ! is_array( $active_modules ) ) {
- $active_modules = array();
- }
-
- /**
- * Allow filtering of the active modules.
- *
- * Gives theme and plugin developers the power to alter the modules that
- * are activated on the fly.
- *
- * @since 5.8.0
- *
- * @param array $active Array of active module slugs.
- */
- $active_modules = apply_filters( 'jetpack_active_modules', $active_modules );
-
- return array_unique( $active_modules );
+ return ( new Modules() )->get_active();
}
+ /**
+ * Adds search to the list of available modules
+ *
+ * @param array $modules The available modules.
+ * @return array
+ */
+ public function search_filter_available_modules( $modules ) {
+ return array_merge( array( self::JETPACK_SEARCH_MODULE_SLUG ), $modules );
+ }
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-package.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-package.php
new file mode 100644
index 00000000..18e616ea
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-package.php
@@ -0,0 +1,62 @@
+<?php
+/**
+ * Search package information.
+ *
+ * @package automattic/jetpack-search
+ */
+
+namespace Automattic\Jetpack\Search;
+
+/**
+ * Search package general information
+ */
+class Package {
+ const VERSION = '0.14.2';
+ const SLUG = 'search';
+
+ /**
+ * The path where package is installed.
+ *
+ * @var string
+ */
+ protected static $installed_path;
+
+ /**
+ * Adds the package slug and version to the package version tracker's data.
+ *
+ * @param array $package_versions The package version array.
+ *
+ * @return array The packge version array.
+ */
+ public static function send_version_to_tracker( $package_versions ) {
+ // Multiple versions could co-exist, we want to send the version which is in use.
+ // `jetpack-autoloader` would load classes from the latest package, so we send the latest version here.
+ if ( empty( $package_versions[ self::SLUG ] ) || version_compare( $package_versions[ self::SLUG ], self::VERSION, '<' ) ) {
+ $package_versions[ self::SLUG ] = self::VERSION;
+ }
+ return $package_versions;
+ }
+
+ /**
+ * Whether Jetpack Search Package's version maps to a public release, or a development version.
+ */
+ public static function is_development_version() {
+ return (bool) apply_filters(
+ 'jetpack_search_is_development_version',
+ ! preg_match( '/^\d+(\.\d+)+$/', self::VERSION )
+ );
+ }
+
+ /**
+ * Return the path where the package is installed with trailing slash.
+ * It's important not to use a constant, as there could be multiple versions of search package installed.
+ *
+ * @return string
+ */
+ public static function get_installed_path() {
+ if ( static::$installed_path === null ) {
+ static::$installed_path = dirname( __DIR__ ) . DIRECTORY_SEPARATOR;
+ }
+ return apply_filters( 'jetpack_search_installed_path', static::$installed_path );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-plan.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-plan.php
index 41134260..47486530 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-plan.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-plan.php
@@ -43,9 +43,12 @@ class Plan {
*/
public function get_plan_info_from_wpcom() {
$blog_id = Jetpack_Options::get_option( 'id' );
- $response = Client::wpcom_json_api_request_as_user(
+ $response = Client::wpcom_json_api_request_as_blog(
'/sites/' . $blog_id . '/jetpack-search/plan',
- '2'
+ '2',
+ array(),
+ null,
+ 'wpcom'
);
// store plan in options.
@@ -84,7 +87,7 @@ class Plan {
*/
public function supports_instant_search() {
$plan_info = $this->get_plan_info();
- return isset( $plan_info['supports_instant_search'] ) && $plan_info['supports_instant_search'];
+ return ( isset( $plan_info['supports_instant_search'] ) && $plan_info['supports_instant_search'] ) || $this->has_jetpack_search_product();
}
/**
@@ -92,7 +95,7 @@ class Plan {
*/
public function supports_search() {
$plan_info = $this->get_plan_info();
- return isset( $plan_info['supports_search'] ) && $plan_info['supports_search'];
+ return ( isset( $plan_info['supports_search'] ) && $plan_info['supports_search'] ) || $this->has_jetpack_search_product();
}
/**
@@ -114,27 +117,42 @@ class Plan {
* Update `has_jetpack_search_product` regarding the plan information
*
* @param array|WP_Error $response - Resopnse from WPCOM.
+ * @return bool - true on success, false on failure.
*/
public function update_search_plan_info( $response ) {
if ( is_wp_error( $response ) ) {
- return null;
+ return false;
}
$body = json_decode( wp_remote_retrieve_body( $response ), true );
$status_code = wp_remote_retrieve_response_code( $response );
- if ( 200 !== $status_code || ! isset( $body['supports_instant_search'] ) ) {
- return null;
+ if ( 200 !== $status_code ) {
+ return false;
+ }
+
+ return $this->set_plan_options( $body );
+ }
+
+ /**
+ * Set plan info to options table
+ *
+ * @param array $plan_info - the decoded plan info array.
+ */
+ public function set_plan_options( $plan_info ) {
+ if ( ! isset( $plan_info['supports_instant_search'] ) ) {
+ return false;
}
// set option whether has Jetpack Search plan for capability reason.
- if ( get_option( 'has_jetpack_search_product' ) !== (bool) $body['supports_instant_search'] ) {
- update_option( 'has_jetpack_search_product', (bool) $body['supports_instant_search'] );
+ if ( get_option( 'has_jetpack_search_product' ) !== (bool) $plan_info['supports_instant_search'] ) {
+ update_option( 'has_jetpack_search_product', (bool) $plan_info['supports_instant_search'] );
}
// We use this option to determine the visibility of search submenu.
// If the site ever had search subscription, then we record it and show the menu after.
- if ( $body['supports_instant_search'] ) {
+ if ( $plan_info['supports_instant_search'] ) {
update_option( self::JETPACK_SEARCH_EVER_SUPPORTED_SEARCH, true, false );
}
- update_option( self::JETPACK_SEARCH_PLAN_INFO_OPTION_KEY, $body );
+ update_option( self::JETPACK_SEARCH_PLAN_INFO_OPTION_KEY, $plan_info );
+ return true;
}
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-product.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-product.php
new file mode 100644
index 00000000..129b03ad
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-product.php
@@ -0,0 +1,125 @@
+<?php
+/**
+ * Class to fetch Search product pricing
+ *
+ * @package automattic/jetpack-search
+ */
+
+namespace Automattic\Jetpack\Search;
+
+use Automattic\Jetpack\Constants;
+use WP_Error;
+
+/**
+ * Class to fetch Search product pricing
+ *
+ * @package Automattic\Jetpack\Search
+ */
+class Product {
+ const DEFAULT_PROMOTED_PRODUCT = 'jetpack_search';
+ const DEFAULT_TIER_INFO = array(
+ 'currency_code' => 'USD',
+ 'discount_price' => 0,
+ 'full_price' => 0,
+ );
+
+ /**
+ * Gets information about the currently promoted search product.
+ *
+ * @return object A object of the current search product being promoted if the request was successful, or a WP_Error otherwise.
+ */
+ public static function get_promoted_product() {
+ $search_products = static::get_products();
+ if ( ! is_array( $search_products ) || ! isset( $search_products[ self::DEFAULT_PROMOTED_PRODUCT ] ) ) {
+ return new WP_Error( 500, __( 'error fetching products', 'jetpack-search-pkg' ) );
+ }
+ return $search_products[ self::DEFAULT_PROMOTED_PRODUCT ];
+ }
+
+ /**
+ * Get search product tier for the site
+ *
+ * @param int $record_count The number of record to estimate the tier.
+ */
+ public static function get_site_tier_pricing( $record_count = 0 ) {
+ $product = static::get_promoted_product();
+ if ( is_wp_error( $product ) || ! isset( $product['price_tier_list'] ) ) {
+ return static::DEFAULT_TIER_INFO;
+ }
+ $price_tier_list = $product['price_tier_list'];
+ array_multisort( array_column( $price_tier_list, 'maximum_units' ), SORT_ASC, $price_tier_list );
+
+ foreach ( $product['price_tier_list'] as $price_tier ) {
+ if ( $record_count <= $price_tier['maximum_units'] ) {
+ break;
+ }
+ }
+
+ // minimum_price and maximum_price are integers.
+ $minimum_price = $price_tier['minimum_price'] / 100;
+ $discount_price = $minimum_price;
+ if ( isset( $product['sale_coupon']['discount'] ) ) {
+ $discount_price = static::get_discount_price( $minimum_price, $product['sale_coupon'] );
+ }
+
+ // 1. Flat fee in the same tier, so for search, `minimum_price == maximum_price`.
+ // 2. `maximum_units` is empty on the highest tier, so the logic displays the highest or the highest matching tier.
+ return array(
+ 'currency_code' => $product['currency_code'],
+ 'discount_price' => $discount_price,
+ 'full_price' => $minimum_price,
+ 'minimum_units' => $price_tier['minimum_units'],
+ 'maximum_units' => $price_tier['maximum_units'],
+ 'estimated_count' => $record_count,
+ );
+ }
+
+ /**
+ * Get all search products
+ */
+ public static function get_products() {
+ $search_products = wp_cache_get( 'search_products', Package::SLUG );
+ if ( false !== $search_products ) {
+ return $search_products;
+ }
+ $request_url = Constants::get_constant( 'JETPACK__WPCOM_JSON_API_BASE' ) . '/rest/v1.1/products?locale=' . get_user_locale() . '&type=jetpack';
+ $wpcom_response = wp_remote_get( esc_url_raw( $request_url ) );
+ $response_code = wp_remote_retrieve_response_code( $wpcom_response );
+ if ( 200 !== $response_code ) {
+ return new WP_Error( $response_code, __( 'error fetching products', 'jetpack-search-pkg' ) );
+ }
+ $products = json_decode( wp_remote_retrieve_body( $wpcom_response ), true );
+ $search_products = array_filter(
+ $products,
+ function ( $product, $key ) {
+ return 0 === strpos( 'jetpack_search', $key );
+ },
+ ARRAY_FILTER_USE_BOTH
+ );
+ // We don't want to cache error response for too long.
+ $time_to_cache = ! empty( $search_products ) ? DAY_IN_SECONDS : 5 * MINUTES_IN_SECONDS;
+ wp_cache_set( 'search_products', $search_products, Package::SLUG, $time_to_cache );
+ return $search_products;
+ }
+
+ /**
+ * Return discount price
+ *
+ * @param decimal $full_price Full price.
+ * @param array $sale_coupon Sale coupon.
+ */
+ protected static function get_discount_price( $full_price, $sale_coupon ) {
+ $discount_price = $full_price;
+ if ( isset( $sale_coupon['discount'] ) ) {
+ $coupon_start_date = strtotime( $sale_coupon['start_date'] );
+ $coupon_expires = strtotime( $sale_coupon['expires'] );
+ if ( $coupon_start_date <= time() && $coupon_expires > time() ) {
+ $discount = intval( $sale_coupon['discount'] );
+ $discount = $discount > 0 && $discount <= 100 ? $discount : 0;
+ $discount_price *= 1 - $discount / 100;
+ }
+ }
+ return $discount_price;
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php
index 209e989e..02292ffe 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php
@@ -9,6 +9,7 @@
namespace Automattic\Jetpack\Search;
use Automattic\Jetpack\Connection\Client;
+use Automattic\Jetpack\Modules;
use Jetpack_Options;
use WP_Error;
use WP_REST_Request;
@@ -37,10 +38,12 @@ class REST_Controller {
*
* @param bool $is_wpcom - Whether it's run on WPCOM.
* @param Module_Control|null $module_control - Module_Control object if any.
+ * @param Plan|null $plan - Plan object if any.
*/
- public function __construct( $is_wpcom = false, $module_control = null ) {
+ public function __construct( $is_wpcom = false, $module_control = null, $plan = null ) {
$this->is_wpcom = $is_wpcom;
- $this->search_module = is_null( $module_control ) ? new Module_Control() : $module_control;
+ $this->search_module = $module_control === null ? new Module_Control() : $module_control;
+ $this->plan = $plan === null ? new Plan() : $plan;
}
/**
@@ -56,7 +59,7 @@ class REST_Controller {
array(
'methods' => WP_REST_Server::READABLE,
'callback' => array( $this, 'get_search_plan' ),
- 'permission_callback' => array( $this, 'search_permissions_callback' ),
+ 'permission_callback' => array( $this, 'require_admin_privilege_callback' ),
)
);
register_rest_route(
@@ -65,7 +68,7 @@ class REST_Controller {
array(
'methods' => WP_REST_Server::EDITABLE,
'callback' => array( $this, 'update_settings' ),
- 'permission_callback' => array( $this, 'search_permissions_callback' ),
+ 'permission_callback' => array( $this, 'require_admin_privilege_callback' ),
)
);
register_rest_route(
@@ -74,7 +77,16 @@ class REST_Controller {
array(
'methods' => WP_REST_Server::READABLE,
'callback' => array( $this, 'get_settings' ),
- 'permission_callback' => array( $this, 'search_permissions_callback' ),
+ 'permission_callback' => array( $this, 'require_admin_privilege_callback' ),
+ )
+ );
+ register_rest_route(
+ 'jetpack/v4',
+ '/search/stats',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => array( $this, 'get_stats' ),
+ 'permission_callback' => array( $this, 'require_admin_privilege_callback' ),
)
);
register_rest_route(
@@ -86,6 +98,33 @@ class REST_Controller {
'permission_callback' => 'is_user_logged_in',
)
);
+ register_rest_route(
+ 'jetpack/v4',
+ '/search/plan/activate',
+ array(
+ 'methods' => WP_REST_Server::EDITABLE,
+ 'callback' => array( $this, 'activate_plan' ),
+ 'permission_callback' => array( $this, 'require_admin_privilege_callback' ),
+ )
+ );
+ register_rest_route(
+ 'jetpack/v4',
+ '/search/plan/deactivate',
+ array(
+ 'methods' => WP_REST_Server::EDITABLE,
+ 'callback' => array( $this, 'deactivate_plan' ),
+ 'permission_callback' => array( $this, 'require_admin_privilege_callback' ),
+ )
+ );
+ register_rest_route(
+ 'jetpack/v4',
+ '/search/pricing',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => array( $this, 'product_pricing' ),
+ 'permission_callback' => 'is_user_logged_in',
+ )
+ );
}
/**
@@ -93,7 +132,7 @@ class REST_Controller {
*
* @return bool|WP_Error True if a blog token was used to sign the request, WP_Error otherwise.
*/
- public function search_permissions_callback() {
+ public function require_admin_privilege_callback() {
if ( current_user_can( 'manage_options' ) ) {
return true;
}
@@ -139,14 +178,14 @@ class REST_Controller {
}
$errors = array();
- if ( ! is_null( $module_active ) ) {
- $module_active_updated = $this->search_module->update_status( $module_active );
+ if ( $module_active !== null ) {
+ $module_active_updated = ( new Modules() )->update_status( Package::SLUG, $module_active, false, false );
if ( is_wp_error( $module_active_updated ) ) {
$errors['module_active'] = $module_active_updated;
}
}
- if ( ! is_null( $instant_search_enabled ) ) {
+ if ( $instant_search_enabled !== null ) {
$instant_search_enabled_updated = $this->search_module->update_instant_search_status( $instant_search_enabled );
if ( is_wp_error( $instant_search_enabled_updated ) ) {
$errors['instant_search_enabled'] = $instant_search_enabled_updated;
@@ -168,7 +207,7 @@ class REST_Controller {
);
}
- return $this->get_settings();
+ return rest_ensure_response( $this->get_settings() );
}
/**
@@ -178,7 +217,7 @@ class REST_Controller {
* @param boolean $instant_search_enabled - Instant Search status.
*/
protected function validate_search_settings( $module_active, $instant_search_enabled ) {
- if ( ( true === $instant_search_enabled && false === $module_active ) || ( is_null( $module_active ) && is_null( $instant_search_enabled ) ) ) {
+ if ( ( true === $instant_search_enabled && false === $module_active ) || ( $module_active === null && $instant_search_enabled === null ) ) {
return new WP_Error(
'rest_invalid_arguments',
esc_html__( 'The arguments passed in are invalid.', 'jetpack-search-pkg' ),
@@ -192,13 +231,25 @@ class REST_Controller {
* GET `jetpack/v4/search/settings`
*/
public function get_settings() {
- return array(
- 'module_active' => $this->search_module->is_active(),
- 'instant_search_enabled' => $this->search_module->is_instant_search_enabled(),
+ return rest_ensure_response(
+ array(
+ 'module_active' => $this->search_module->is_active(),
+ 'instant_search_enabled' => $this->search_module->is_instant_search_enabled(),
+ )
);
}
/**
+ * Proxy the request to WPCOM and return the response.
+ *
+ * GET `jetpack/v4/search/stats`
+ */
+ public function get_stats() {
+ $response = ( new Stats() )->get_stats_from_wpcom();
+ return $this->make_proper_response( $response );
+ }
+
+ /**
* Search Endpoint for private sites.
*
* GET `jetpack/v4/search`
@@ -212,14 +263,94 @@ class REST_Controller {
$request->get_query_params(),
sprintf( '/sites/%d/search', absint( $blog_id ) )
);
- $response = Client::wpcom_json_api_request_as_user( $path, '1.3', array(), null, 'rest' );
- return $this->make_proper_response( $response );
+ $response = Client::wpcom_json_api_request_as_blog( $path, '1.3', array(), null, 'rest' );
+ return rest_ensure_response( $this->make_proper_response( $response ) );
+ }
+
+ /**
+ * Activate plan: activate the search module, instant search and do initial configuration.
+ * Typically called from WPCOM.
+ *
+ * POST `jetpack/v4/search/plan/activate`
+ *
+ * @param WP_REST_Request $request - REST request.
+ */
+ public function activate_plan( $request ) {
+ $default_options = array(
+ 'search_plan_info' => null,
+ 'enable_search' => true,
+ 'enable_instant_search' => true,
+ 'auto_config_search' => true,
+ );
+ $payload = $request->get_json_params();
+ $payload = wp_parse_args( $payload, $default_options );
+
+ // Update plan data, plan info is in the request body.
+ // We do this to avoid another call to WPCOM and reduce latency.
+ if ( $payload['search_plan_info'] === null || ! $this->plan->set_plan_options( $payload['search_plan_info'] ) ) {
+ $this->plan->get_plan_info_from_wpcom();
+ }
+
+ // Enable search module by default, unless `enable_search` is explicitly set to boolean `false`.
+ if ( false !== $payload['enable_search'] ) {
+ // Eligibility is checked in `activate` function.
+ $ret = $this->search_module->activate();
+ if ( is_wp_error( $ret ) ) {
+ return $ret;
+ }
+ }
+
+ // Enable instant search by default, unless `enable_instant_search` is explicitly set to boolean `false`.
+ if ( false !== $payload['enable_instant_search'] ) {
+ // Eligibility is checked in `enable_instant_search` function.
+ $ret = $this->search_module->enable_instant_search();
+ if ( is_wp_error( $ret ) ) {
+ return $ret;
+ }
+ }
+
+ // Automatically configure necessary settings for instant search, unless `auto_config_search` is explicitly set to boolean `false`.
+ if ( false !== $payload['auto_config_search'] ) {
+ Instant_Search::instance( $this->get_blog_id() )->auto_config_search();
+ }
+
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ )
+ );
+ }
+
+ /**
+ * Deactivate plan: turn off search module and instant search.
+ * If the plan is still valid then the function would simply deactivate the search module.
+ * Typically called from WPCOM.
+ *
+ * POST `jetpack/v4/search/plan/deactivate`
+ */
+ public function deactivate_plan() {
+ // Instant Search would be disabled along with search module.
+ $this->search_module->deactivate();
+ return rest_ensure_response(
+ array(
+ 'code' => 'success',
+ )
+ );
+ }
+
+ /**
+ * Pricing for record count of the site
+ */
+ public function product_pricing() {
+ $record_count = intval( Stats::estimate_count() );
+ $tier_pricing = Product::get_site_tier_pricing( $record_count );
+ return rest_ensure_response( $tier_pricing );
}
/**
* Forward remote response to client with error handling.
*
- * @param array|WP_Error $response - Resopnse from WPCOM.
+ * @param array|WP_Error $response - Response from WPCOM.
*/
protected function make_proper_response( $response ) {
if ( is_wp_error( $response ) ) {
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-settings.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-settings.php
index ec4a9ed8..26a2c597 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-settings.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-settings.php
@@ -14,6 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* Class to initialize search settings on the site.
+ *
+ * 1. Settings are synced to WPCOM according to `Automattic\Jetpack\Sync\Modules\Search::$options_to_sync`.
+ * 2. All synced options must also be explicitly whitelisted and sanitized on WPCOM; see `PCYsg-sBM-p2`.
*/
class Settings {
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-stats.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-stats.php
new file mode 100644
index 00000000..1dac29dc
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-stats.php
@@ -0,0 +1,89 @@
+<?php
+/**
+ * Get search stats for use in the wp-admin dashboard.
+ *
+ * @package automattic/jetpack-search
+ */
+
+namespace Automattic\Jetpack\Search;
+
+use Automattic\Jetpack\Connection\Client;
+use Jetpack_Options;
+
+/**
+ * Search stats (e.g. post count, post type breakdown)
+ */
+class Stats {
+ const CACHE_EXPIRY = 5 * MINUTE_IN_SECONDS;
+ const CACHE_GROUP = 'jetpack_search';
+ const COUNT_ESTIMATE_CACHE_KEY = 'count_estimate';
+
+ /**
+ * Get stats from the WordPress.com API for the current blog ID.
+ */
+ public function get_stats_from_wpcom() {
+ $blog_id = Jetpack_Options::get_option( 'id' );
+
+ if ( ! is_numeric( $blog_id ) ) {
+ return null;
+ }
+
+ $response = Client::wpcom_json_api_request_as_blog(
+ '/sites/' . (int) $blog_id . '/jetpack-search/stats',
+ '2',
+ array(),
+ null,
+ 'wpcom'
+ );
+
+ return $response;
+ }
+
+ /**
+ * Estimate record counts via a local database query.
+ */
+ public static function estimate_count() {
+ $cached_value = wp_cache_get( self::COUNT_ESTIMATE_CACHE_KEY, self::CACHE_GROUP );
+ if ( false !== $cached_value ) {
+ return $cached_value;
+ }
+
+ global $wpdb;
+ $indexable_statuses = get_post_stati( array( 'public' => true ) );
+ $unindexable_post_types = array_merge(
+ // Explicitly exclude various post types registered by plugins.
+ array(
+ 'elementor_library', // Used by Elementor.
+ 'jp_sitemap', // Used by Jetpack.
+ 'product_variation', // Used by Woocommerce.
+ 'redirect_rule', // Used by the Safe Redirect plugin.
+ 'reply', // Used by bbpress.
+ 'scheduled-action', // Used by Woocommerce.
+ ),
+ get_post_types(
+ array(
+ 'exclude_from_search' => true,
+ 'public' => false,
+ ),
+ 'names',
+ 'or'
+ )
+ );
+
+ $prep_for_query = function ( $string ) use ( $wpdb ) {
+ // phpcs:ignore WordPress.DB.PreparedSQLPlaceholders.QuotedSimplePlaceholder -- This is used to sanitize post type names.
+ return $wpdb->prepare( "'%s'", $string );
+ };
+
+ $statuses_list = implode( ',', array_map( $prep_for_query, $indexable_statuses ) );
+ $post_types_list = implode( ',', array_map( $prep_for_query, $unindexable_post_types ) );
+
+ $count = (int) $wpdb->get_var(
+ // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- This is properly prepared, but the query is constructed using variables.
+ "SELECT COUNT(ID) FROM {$wpdb->posts} WHERE post_status IN ($statuses_list) AND post_type NOT IN ($post_types_list)"
+ );
+
+ wp_cache_set( self::COUNT_ESTIMATE_CACHE_KEY, $count, self::CACHE_GROUP, self::CACHE_EXPIRY );
+ return $count;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php
index a212af00..4c718cd8 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php
@@ -2,10 +2,6 @@
/**
* Template tags class used primarily for rendering widget-related HTML.
*
- * Currently, this package can only run in the Jetpack plugin due to its usage of Jetpack_Search.
- * Once Jetpack_Search has been migrated to the package as Classic_Search,
- * this library will be independent from the Jetpack plugin.
- *
* @package automattic/jetpack-search
*/
@@ -28,12 +24,11 @@ class Template_Tags {
* @param array $post_types An array of post types to make filterable.
*/
public static function render_available_filters( $filters = null, $post_types = null ) {
- if ( is_null( $filters ) ) {
- // TODO: Must be migrated to use Classic_Search once the migration is underway.
- $filters = \Jetpack_Search::instance()->get_filters();
+ if ( $filters === null ) {
+ $filters = Classic_Search::instance()->get_filters();
}
- if ( is_null( $post_types ) ) {
+ if ( $post_types === null ) {
$post_types = get_post_types( array( 'exclude_from_search' => false ) );
}
@@ -44,8 +39,7 @@ class Template_Tags {
$active_post_types = array();
if ( Helper::post_types_differ_searchable( $post_types ) ) {
// get the active filter buckets from the query.
- // TODO: Must be migrated to use Classic_Search once the migration is underway.
- $active_buckets = \Jetpack_Search::instance()->get_active_filter_buckets();
+ $active_buckets = Classic_Search::instance()->get_active_filter_buckets();
$post_types_differ_query = Helper::post_types_differ_query( $post_types );
// remove any post_type filters from display if the current query
@@ -83,9 +77,8 @@ class Template_Tags {
* @param array $filters The available filters for the current query.
*/
public static function render_instant_filters( $filters = null ) {
- if ( is_null( $filters ) ) {
- // TODO: Must be migrated to use Classic_Search once the migration is underway.
- $filters = \Jetpack_Search::instance()->get_filters();
+ if ( $filters === null ) {
+ $filters = Classic_Search::instance()->get_filters();
}
foreach ( (array) $filters as $filter ) {
diff --git a/plugins/jetpack/modules/search/class.jetpack-search.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php
index fc276a02..c1fda05a 100644
--- a/plugins/jetpack/modules/search/class.jetpack-search.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php
@@ -1,28 +1,33 @@
-<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-
+<?php
/**
- * Jetpack Search: Main Jetpack_Search class
+ * Classic Search: Our original search experience with filtering capability.
*
- * @package Jetpack
- * @subpackage Jetpack Search
- * @since 5.0.0
+ * @package @automattic/jetpack-search
*/
+namespace Automattic\Jetpack\Search;
+
use Automattic\Jetpack\Connection\Client;
-use Automattic\Jetpack\Search\Helper;
+use WP_Error;
+use WP_Query;
+use WP_Tax_Query;
/**
- * The main class for the Jetpack Search module.
- *
- * @since 5.0.0
+ * Class responsible for enabling the Classic Search experience on the site.
*/
-class Jetpack_Search {
+class Classic_Search {
+ /**
+ * The singleton instance of this class.
+ *
+ * @since 5.0.0
+ * @var Classic_Search
+ */
+ private static $instance;
/**
* The number of found posts.
*
* @since 5.0.0
- *
* @var int
*/
protected $found_posts = 0;
@@ -31,7 +36,6 @@ class Jetpack_Search {
* The search result, as returned by the WordPress.com REST API.
*
* @since 5.0.0
- *
* @var array
*/
protected $search_result;
@@ -40,7 +44,6 @@ class Jetpack_Search {
* This site's blog ID on WordPress.com.
*
* @since 5.0.0
- *
* @var int
*/
protected $jetpack_blog_id;
@@ -49,7 +52,6 @@ class Jetpack_Search {
* The Elasticsearch aggregations (filters).
*
* @since 5.0.0
- *
* @var array
*/
protected $aggregations = array();
@@ -58,7 +60,6 @@ class Jetpack_Search {
* The maximum number of aggregations allowed.
*
* @since 5.0.0
- *
* @var int
*/
protected $max_aggregations_count = 100;
@@ -67,7 +68,6 @@ class Jetpack_Search {
* Statistics about the last Elasticsearch query.
*
* @since 5.6.0
- *
* @var array
*/
protected $last_query_info = array();
@@ -76,129 +76,78 @@ class Jetpack_Search {
* Statistics about the last Elasticsearch query failure.
*
* @since 5.6.0
- *
* @var array
*/
protected $last_query_failure_info = array();
/**
- * The singleton instance of this class.
- *
- * @since 5.0.0
- *
- * @var Jetpack_Search
- */
- protected static $instance;
-
- /**
* Languages with custom analyzers. Other languages are supported, but are analyzed with the default analyzer.
*
* @since 5.0.0
- *
* @var array
*/
public static $analyzed_langs = array( 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'eu', 'fa', 'fi', 'fr', 'he', 'hi', 'hu', 'hy', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh' );
/**
- * Jetpack_Search constructor.
- *
- * @since 5.0.0
- *
- * Doesn't do anything. This class needs to be initialized via the instance() method instead.
+ * The constructor is not used for this singleton class.
*/
protected function __construct() {
}
/**
- * Prevent __clone()'ing of this class.
+ * Returns a class singleton. Initializes with first-time setup if given a blog ID parameter.
*
- * @since 5.0.0
+ * @param string $blog_id Blog id.
+ * @return static The class singleton.
*/
- public function __clone() {
- wp_die( "Please don't __clone Jetpack_Search" );
- }
-
- /**
- * Prevent __wakeup()'ing of this class.
- *
- * @since 5.0.0
- */
- public function __wakeup() {
- wp_die( "Please don't __wakeup Jetpack_Search" );
- }
-
- /**
- * Get singleton instance of Jetpack_Search.
- *
- * Instantiates and sets up a new instance if needed, or returns the singleton.
- *
- * @since 5.0.0
- *
- * @return Jetpack_Search The Jetpack_Search singleton.
- */
- public static function instance() {
+ public static function instance( $blog_id = null ) {
if ( ! isset( self::$instance ) ) {
- if ( Automattic\Jetpack\Search\Options::is_instant_enabled() ) {
- require_once __DIR__ . '/class-jetpack-instant-search.php';
- self::$instance = new Jetpack_Instant_Search();
- } else {
- self::$instance = new Jetpack_Search();
+ if ( null === $blog_id ) {
+ $blog_id = Helper::get_wpcom_site_id();
}
-
- self::$instance->setup();
+ self::$instance = new static();
+ self::$instance->setup( $blog_id );
}
-
return self::$instance;
}
/**
- * Perform various setup tasks for the class.
- *
- * Checks various pre-requisites and adds hooks.
- *
- * @since 5.0.0
+ * Alias of the instance function.
*/
- public function setup() {
- if ( ! Jetpack::is_connection_ready() || ! $this->is_search_supported() ) {
- /**
- * Fires when the Jetpack Search fails and would fallback to MySQL.
- *
- * @module search
- * @since 7.9.0
- *
- * @param string $reason Reason for Search fallback.
- * @param mixed $data Data associated with the request, such as attempted search parameters.
- */
- do_action( 'jetpack_search_abort', 'inactive', null );
- return;
- }
-
- $this->jetpack_blog_id = Jetpack::get_option( 'id' );
+ public static function initialize() {
+ return call_user_func_array( array( static::class, 'instance' ), func_get_args() );
+ }
- if ( ! $this->jetpack_blog_id ) {
- /** This action is documented in modules/search/class.jetpack-search.php */
- do_action( 'jetpack_search_abort', 'no_blog_id', null );
+ /**
+ * Performs setup tasks for the singleton. To be used exclusively after singleton instantitaion.
+ *
+ * @param string $blog_id Blog id.
+ */
+ public function setup( $blog_id ) {
+ if ( ! $blog_id ) {
return;
}
- $this->load_php();
+ $this->jetpack_blog_id = $blog_id;
$this->init_hooks();
}
/**
- * Loads the php for this version of search
+ * Prevent __clone()'ing of this class.
*
- * @since 8.3.0
+ * @since 5.0.0
*/
- public function load_php() {
- $this->base_load_php();
+ public function __clone() {
+ wp_die( "Please don't __clone Classic_Search" );
}
/**
- * Loads the PHP common to all search. Should be called from extending classes.
+ * Prevent __wakeup()'ing of this class.
+ *
+ * @since 5.0.0
*/
- protected function base_load_php() {
- require_once JETPACK__PLUGIN_DIR . 'modules/widgets/search.php';
+ public function __wakeup() {
+ wp_die( "Please don't __wakeup Classic_Search" );
}
/**
@@ -226,19 +175,6 @@ class Jetpack_Search {
}
/**
- * Is search supported on the current plan
- *
- * @since 6.0
- * Loads scripts for Tracks analytics library
- */
- public function is_search_supported() {
- if ( method_exists( 'Jetpack_Plan', 'supports' ) ) {
- return Jetpack_Plan::supports( 'search' );
- }
- return false;
- }
-
- /**
* Does this site have a VIP index
* Get the version number to use when loading the file. Allows us to bypass cache when developing.
*
@@ -349,7 +285,7 @@ class Jetpack_Search {
/**
* Retrieves a list of known Jetpack search filters widget IDs, gets the filters for each widget,
- * and applies those filters to this Jetpack_Search object.
+ * and applies those filters to this Classic_Search object.
*
* @since 5.7.0
*/
@@ -373,7 +309,7 @@ class Jetpack_Search {
* @param WP_Query $query A WP_Query instance.
*/
public function maybe_add_post_type_as_var( WP_Query $query ) {
- $post_type = ( ! empty( $_GET['post_type'] ) ) ? $_GET['post_type'] : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $post_type = ( ! empty( $_GET['post_type'] ) ) ? sanitize_key( $_GET['post_type'] ) : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( $this->should_handle_query( $query ) && $post_type ) {
$post_types = ( is_string( $post_type ) && false !== strpos( $post_type, ',' ) )
? explode( ',', $post_type )
@@ -525,7 +461,6 @@ class Jetpack_Search {
$this->do_search( $query );
if ( ! is_array( $this->search_result ) ) {
- /** This action is documented in modules/search/class.jetpack-search.php */
do_action( 'jetpack_search_abort', 'no_search_results_array', $this->search_result );
return $posts;
}
@@ -571,7 +506,6 @@ class Jetpack_Search {
public function do_search( WP_Query $query ) {
if ( ! $this->should_handle_query( $query ) ) {
// If we make it here, either 'filter__posts_pre_query' somehow allowed it or a different entry to do_search.
- /** This action is documented in modules/search/class.jetpack-search.php */
do_action( 'jetpack_search_abort', 'search_attempted_non_search_query', $query );
return;
}
@@ -695,7 +629,7 @@ class Jetpack_Search {
}
$es_args = $this->last_query_info['args'];
- $builder = new Automattic\Jetpack\Search\WPES\Query_Builder();
+ $builder = new WPES\Query_Builder();
$this->add_aggregations_to_es_query_builder( $this->aggregations, $builder );
$es_args['aggregations'] = $builder->build_aggregation();
@@ -802,6 +736,8 @@ class Jetpack_Search {
* @module search
*/
public function action__widgets_init() {
+ // NOTE: This module only exists on WPCOM.
+ // TODO: Migrate this function to WPCOM!
require_once __DIR__ . '/class.jetpack-search-widget-filters.php';
register_widget( 'Jetpack_Search_Widget_Filters' );
@@ -904,7 +840,7 @@ class Jetpack_Search {
$args = wp_parse_args( $args, $defaults );
- $parser = new Automattic\Jetpack\Search\WPES\Query_Parser(
+ $parser = new WPES\Query_Parser(
$args['query'],
/**
* Filter the languages used by Jetpack Search's Query Parser.
@@ -1463,11 +1399,11 @@ class Jetpack_Search {
/**
* Get the results of the Filters performed, including the number of matching documents.
*
- * Returns an array of Filters (keyed by $label, as passed to Jetpack_Search::set_filters()), containing the Filter and all resulting
+ * Returns an array of Filters (keyed by $label, as passed to Classic_Search::set_filters()), containing the Filter and all resulting
* matching buckets, the url for applying/removing each bucket, etc.
*
* NOTE - if this is called before the search is performed, an empty array will be returned. Use the $aggregations class
- * member if you need to access the raw filters set in Jetpack_Search::set_filters().
+ * member if you need to access the raw filters set in Classic_Search::set_filters().
*
* @since 5.0.0
*
@@ -1846,7 +1782,7 @@ class Jetpack_Search {
return;
}
- $tracking = new Automattic\Jetpack\Tracking();
+ $tracking = new \Automattic\Jetpack\Tracking();
$tracking->tracks_record_event(
wp_get_current_user(),
sprintf( 'jetpack_search_widget_%s', $event['action'] ),
diff --git a/plugins/jetpack/modules/search/class-jetpack-search-customberg.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customberg/class-customberg.php
index bdc54eaa..cafe88e3 100644
--- a/plugins/jetpack/modules/search/class-jetpack-search-customberg.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customberg/class-customberg.php
@@ -2,34 +2,33 @@
/**
* A class that adds a search customization interface to wp-admin.
*
- * @package automattic/jetpack
+ * @package automattic/jetpack-search
*/
namespace Automattic\Jetpack\Search;
use Automattic\Jetpack\Assets;
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Status;
use Automattic\Jetpack\Tracking;
-use Jetpack;
-use Jetpack_Plan;
/**
* Responsible for adding a search customization interface to wp-admin.
*
* @package Automattic\Jetpack\Search
*/
-class Jetpack_Search_Customberg {
+class Customberg {
/**
* The singleton instance of this class.
*
- * @var Jetpack_Search_Customberg
+ * @var Customberg
*/
protected static $instance;
/**
* Get the singleton instance of the class.
*
- * @return Jetpack_Search_Customberg
+ * @return Customberg
*/
public static function instance() {
if ( ! isset( self::$instance ) ) {
@@ -58,8 +57,8 @@ class Jetpack_Search_Customberg {
// Intentionally omits adding a submenu via the first null argument.
$hook = add_submenu_page(
null,
- __( 'Search Settings', 'jetpack' ),
- __( 'Search', 'jetpack' ),
+ __( 'Search Settings', 'jetpack-search-pkg' ),
+ __( 'Search', 'jetpack-search-pkg' ),
'manage_options', // Must be an admin.
'jetpack-search-configure',
array( $this, 'jetpack_search_admin_page' )
@@ -78,13 +77,13 @@ class Jetpack_Search_Customberg {
?>
<div id="jp-search-configure" class="jp-search-configure-dashboard" style="height: calc(100vh - 100px);">
<div class="hide-if-no-js" style="height: 100%;">
- <img class="jp-search-loader" width="32" height="32" alt="<?php esc_attr_e( 'Loading&hellip;', 'jetpack' ); ?>" src="<?php echo esc_url( $static_url ); ?>" style="
+ <img class="jp-search-loader" width="32" height="32" alt="<?php esc_attr_e( 'Loading&hellip;', 'jetpack-search-pkg' ); ?>" src="<?php echo esc_url( $static_url ); ?>" style="
position: absolute;
left: 50%;
top: 50%;
"/>
</div>
- <div class="hide-if-js"><?php esc_html_e( 'Your Search customization page requires JavaScript to function properly.', 'jetpack' ); ?></div>
+ <div class="hide-if-js"><?php esc_html_e( 'Your Search customization page requires JavaScript to function properly.', 'jetpack-search-pkg' ); ?></div>
</div>
<?php
}
@@ -93,26 +92,28 @@ class Jetpack_Search_Customberg {
* Loads assets for the customization experience.
*/
public function load_assets() {
- $this->load_assets_with_parameters( '', JETPACK__PLUGIN_FILE );
+ $this->load_assets_with_parameters( Package::get_installed_path() );
}
/**
* Loads script and style assets according to parameters provided.
*
- * @param string $path_prefix - Path prefix for built assets.
- * @param string $plugin_base_path - Base path for plugin files.
+ * @param string $package_base_path - Base path for the search package.
*/
- public function load_assets_with_parameters( $path_prefix, $plugin_base_path ) {
- \Jetpack_Admin_Page::load_wrapper_styles();
+ public function load_assets_with_parameters( $package_base_path ) {
Tracking::register_tracks_functions_scripts( true );
Assets::register_script(
'jp-search-configure',
- $path_prefix . '_inc/build/instant-search/jp-search-configure-main.js',
- $plugin_base_path,
+ 'build/customberg/jp-search-configure.js',
+ $package_base_path . '/src', // A full path to a file or a directory inside a plugin.
array(
- 'in_footer' => true,
- 'textdomain' => 'jetpack',
+ 'css_dependencies' => array(
+ 'wp-components',
+ 'wp-block-editor',
+ ),
+ 'in_footer' => true,
+ 'textdomain' => 'jetpack-search-pkg',
)
);
Assets::enqueue_script( 'jp-search-configure' );
@@ -132,10 +133,13 @@ class Jetpack_Search_Customberg {
*/
protected function should_add_page() {
$is_offline_mode = ( new Status() )->is_offline_mode();
+ $is_connected = ( new Connection_Manager( Package::SLUG ) )->is_connected();
+ $supports_search = ( new Plan() )->supports_instant_search();
+
return (
! $is_offline_mode && // Must be online.
- Jetpack::is_connection_ready() && // Must be connected.
- method_exists( 'Jetpack_Plan', 'supports' ) && Jetpack_Plan::supports( 'search' ) // Must have plan supporting Jetpack (Instant) Search.
+ $is_connected && // Must be connected.
+ $supports_search // Must have plan supporting Jetpack (Instant) Search.
);
}
}
diff --git a/plugins/jetpack/modules/search/class-jetpack-search-customize.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/class-customizer.php
index a337e2c2..c7f3d855 100644
--- a/plugins/jetpack/modules/search/class-jetpack-search-customize.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/class-customizer.php
@@ -1,28 +1,22 @@
<?php
/**
- * Jetpack Search Overlay Customization
+ * Jetpack Search Customizer Integration
*
- * @package automattic/jetpack
+ * @package @automattic/jetpack-search
*/
-use Automattic\Jetpack\Search\Options;
+namespace Automattic\Jetpack\Search;
-// Exit if file is accessed directly.
-if ( ! defined( 'ABSPATH' ) ) {
- exit;
-}
+use Automattic\Jetpack\Assets;
+use WP_Customize_Color_Control;
/**
* Class to customize search on the site.
- *
- * @since 8.3.0
*/
-class Jetpack_Search_Customize {
+class Customizer {
/**
* Class initialization.
- *
- * @since 8.3.0
*/
public function __construct() {
add_action( 'customize_register', array( $this, 'customize_register' ) );
@@ -32,20 +26,16 @@ class Jetpack_Search_Customize {
/**
* Initialize Customizer controls.
*
- * @since 8.3.0
- *
* @param WP_Customize_Manager $wp_customize Customizer instance.
*/
public function customize_register( $wp_customize ) {
- require_once dirname( JETPACK__PLUGIN_FILE ) . '/modules/search/customize-controls/class-label-control.php';
- require_once dirname( JETPACK__PLUGIN_FILE ) . '/modules/search/customize-controls/class-excluded-post-types-control.php';
$section_id = 'jetpack_search';
$setting_prefix = Options::OPTION_PREFIX;
$wp_customize->add_section(
$section_id,
array(
- 'title' => esc_html__( 'Jetpack Search', 'jetpack' ),
+ 'title' => esc_html__( 'Jetpack Search', 'jetpack-search-pkg' ),
'capability' => 'edit_theme_options',
'priority' => 200,
)
@@ -63,13 +53,13 @@ class Jetpack_Search_Customize {
$wp_customize->add_control(
$id,
array(
- 'label' => __( 'Theme', 'jetpack' ),
- 'description' => __( 'Select a theme for your search overlay.', 'jetpack' ),
+ 'label' => __( 'Theme', 'jetpack-search-pkg' ),
+ 'description' => __( 'Select a theme for your search overlay.', 'jetpack-search-pkg' ),
'section' => $section_id,
'type' => 'radio',
'choices' => array(
- 'light' => __( 'Light', 'jetpack' ),
- 'dark' => __( 'Dark', 'jetpack' ),
+ 'light' => __( 'Light', 'jetpack-search-pkg' ),
+ 'dark' => __( 'Dark', 'jetpack-search-pkg' ),
),
)
);
@@ -86,14 +76,14 @@ class Jetpack_Search_Customize {
$wp_customize->add_control(
$id,
array(
- 'label' => __( 'Result Format', 'jetpack' ),
- 'description' => __( 'Choose how the search results look.', 'jetpack' ),
+ 'label' => __( 'Result Format', 'jetpack-search-pkg' ),
+ 'description' => __( 'Choose how the search results look.', 'jetpack-search-pkg' ),
'section' => $section_id,
'type' => 'select',
'choices' => array(
- 'minimal' => __( 'Minimal', 'jetpack' ),
- 'expanded' => __( 'Expanded (shows images)', 'jetpack' ),
- 'product' => __( 'Product (for WooCommerce stores)', 'jetpack' ),
+ 'minimal' => __( 'Minimal', 'jetpack-search-pkg' ),
+ 'expanded' => __( 'Expanded (shows images)', 'jetpack-search-pkg' ),
+ 'product' => __( 'Product (for WooCommerce stores)', 'jetpack-search-pkg' ),
),
)
);
@@ -110,12 +100,12 @@ class Jetpack_Search_Customize {
$id,
array(
'choices' => array(
- 'relevance' => __( 'Relevance (recommended)', 'jetpack' ),
- 'newest' => __( 'Newest first', 'jetpack' ),
- 'oldest' => __( 'Oldest first', 'jetpack' ),
+ 'relevance' => __( 'Relevance (recommended)', 'jetpack-search-pkg' ),
+ 'newest' => __( 'Newest first', 'jetpack-search-pkg' ),
+ 'oldest' => __( 'Oldest first', 'jetpack-search-pkg' ),
),
- 'description' => __( 'Pick the initial sort for your search results.', 'jetpack' ),
- 'label' => __( 'Default Sort', 'jetpack' ),
+ 'description' => __( 'Pick the initial sort for your search results.', 'jetpack-search-pkg' ),
+ 'label' => __( 'Default Sort', 'jetpack-search-pkg' ),
'section' => $section_id,
'type' => 'select',
)
@@ -133,14 +123,14 @@ class Jetpack_Search_Customize {
$wp_customize->add_control(
$id,
array(
- 'label' => __( 'Search Input Overlay Trigger', 'jetpack' ),
- 'description' => __( 'Select when your overlay should appear.', 'jetpack' ),
+ 'label' => __( 'Search Input Overlay Trigger', 'jetpack-search-pkg' ),
+ 'description' => __( 'Select when your overlay should appear.', 'jetpack-search-pkg' ),
'section' => $section_id,
'type' => 'select',
'choices' => array(
- Options::OVERLAY_TRIGGER_IMMEDIATE => __( 'Open when user starts typing', 'jetpack' ),
- Options::OVERLAY_TRIGGER_RESULTS => __( 'Open when results are available', 'jetpack' ),
- Options::OVERLAY_TRIGGER_SUBMIT => __( 'Open when user submits the form', 'jetpack' ),
+ Options::OVERLAY_TRIGGER_IMMEDIATE => __( 'Open when user starts typing', 'jetpack-search-pkg' ),
+ Options::OVERLAY_TRIGGER_RESULTS => __( 'Open when results are available', 'jetpack-search-pkg' ),
+ Options::OVERLAY_TRIGGER_SUBMIT => __( 'Open when user submits the form', 'jetpack-search-pkg' ),
),
)
);
@@ -158,8 +148,8 @@ class Jetpack_Search_Customize {
$wp_customize,
$id,
array(
- 'description' => __( 'Choose post types to exclude from search results. You must leave at least one post type unchecked.', 'jetpack' ),
- 'label' => __( 'Excluded Post Types', 'jetpack' ),
+ 'description' => __( 'Choose post types to exclude from search results. You must leave at least one post type unchecked.', 'jetpack-search-pkg' ),
+ 'label' => __( 'Excluded Post Types', 'jetpack-search-pkg' ),
'section' => $section_id,
)
)
@@ -179,8 +169,8 @@ class Jetpack_Search_Customize {
$wp_customize,
$id,
array(
- 'label' => __( 'Highlight Search Terms', 'jetpack' ),
- 'description' => __( 'Choose a color to highlight matching search terms.', 'jetpack' ),
+ 'label' => __( 'Highlight Search Terms', 'jetpack-search-pkg' ),
+ 'description' => __( 'Choose a color to highlight matching search terms.', 'jetpack-search-pkg' ),
'section' => $section_id,
)
)
@@ -196,7 +186,7 @@ class Jetpack_Search_Customize {
$wp_customize,
$id,
array(
- 'label' => __( 'Additional Jetpack Search Settings', 'jetpack' ),
+ 'label' => __( 'Additional Jetpack Search Settings', 'jetpack-search-pkg' ),
'section' => $section_id,
)
)
@@ -216,7 +206,7 @@ class Jetpack_Search_Customize {
$wp_customize->add_control(
$id,
array(
- 'label' => __( 'Show sort selector', 'jetpack' ),
+ 'label' => __( 'Show sort selector', 'jetpack-search-pkg' ),
'section' => $section_id,
'type' => 'checkbox',
)
@@ -238,7 +228,7 @@ class Jetpack_Search_Customize {
array(
'type' => 'checkbox',
'section' => $section_id,
- 'label' => __( 'Enable infinite scrolling', 'jetpack' ),
+ 'label' => __( 'Enable infinite scrolling', 'jetpack-search-pkg' ),
)
);
@@ -258,26 +248,26 @@ class Jetpack_Search_Customize {
array(
'type' => 'checkbox',
'section' => $section_id,
- 'label' => __( 'Display "Powered by Jetpack"', 'jetpack' ),
+ 'label' => __( 'Display "Powered by Jetpack"', 'jetpack-search-pkg' ),
)
);
}
/**
* Enqueue assets for Customizer controls.
- *
- * @since 9.6.0
*/
public function customize_controls_enqueue_scripts() {
- $script_relative_path = 'modules/search/customize-controls/customize-controls.js';
- $script_version = Automattic\Jetpack\Search\Helper::get_asset_version( $script_relative_path );
- $script_path = plugins_url( $script_relative_path, JETPACK__PLUGIN_FILE );
- wp_enqueue_script(
+ Assets::register_script(
'jetpack-instant-search-customizer',
- $script_path,
- array( 'customize-controls' ),
- $script_version,
- true
+ 'customize-controls/customize-controls.js',
+ __FILE__,
+ array(
+ 'css_path' => 'customize-controls/customize-controls.css',
+ 'dependencies' => array( 'customize-controls' ),
+ 'in_footer' => true,
+ 'textdomain' => 'jetpack-search-pkg',
+ )
);
+ Assets::enqueue_script( 'jetpack-instant-search-customizer' );
}
}
diff --git a/plugins/jetpack/modules/search/customize-controls/class-excluded-post-types-control.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.css
index 561f8e37..561f8e37 100644
--- a/plugins/jetpack/modules/search/customize-controls/class-excluded-post-types-control.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.css
diff --git a/plugins/jetpack/modules/search/customize-controls/class-excluded-post-types-control.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.js
index d3c48c7a..d3c48c7a 100644
--- a/plugins/jetpack/modules/search/customize-controls/class-excluded-post-types-control.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.js
diff --git a/plugins/jetpack/modules/search/customize-controls/class-excluded-post-types-control.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.php
index 5b5d0a1f..54f27a3a 100644
--- a/plugins/jetpack/modules/search/customize-controls/class-excluded-post-types-control.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.php
@@ -2,11 +2,17 @@
/**
* A multi-checkbox Customizer control for use with Jetpack Search configuration
*
- * @package automattic/jetpack
- * @since 8.8.0
+ * @package @automattic/jetpack-search
*/
-use Automattic\Jetpack\Search\Helper;
+namespace Automattic\Jetpack\Search;
+
+use Automattic\Jetpack\Assets;
+use WP_Customize_Control;
+
+if ( ! class_exists( 'WP_Customize_Control' ) ) {
+ return;
+}
/**
* Label Control class.
@@ -24,15 +30,18 @@ class Excluded_Post_Types_Control extends WP_Customize_Control {
* Enqueue styles related to this control.
*/
public function enqueue() {
- $style_relative_path = 'modules/search/customize-controls/class-excluded-post-types-control.css';
- $style_version = Helper::get_asset_version( $style_relative_path );
- $style_path = plugins_url( $style_relative_path, JETPACK__PLUGIN_FILE );
- wp_enqueue_style( 'jetpack-instant-search-customizer-excluded-post-types', $style_path, array(), $style_version );
-
- $script_relative_path = 'modules/search/customize-controls/class-excluded-post-types-control.js';
- $script_version = Helper::get_asset_version( $script_relative_path );
- $script_path = plugins_url( $script_relative_path, JETPACK__PLUGIN_FILE );
- wp_enqueue_script( 'jetpack-instant-search-customizer-excluded-post-types', $script_path, array( 'customize-controls' ), $script_version, true );
+ Assets::register_script(
+ 'jetpack-instant-search-customizer-excluded-post-types',
+ 'class-excluded-post-types-control.js',
+ __FILE__,
+ array(
+ 'css_path' => 'class-excluded-post-types-control.css',
+ 'dependencies' => array( 'customize-controls' ),
+ 'in_footer' => true,
+ 'textdomain' => 'jetpack-search-pkg',
+ )
+ );
+ Assets::enqueue_script( 'jetpack-instant-search-customizer-excluded-post-types' );
}
/**
diff --git a/plugins/jetpack/modules/search/customize-controls/class-label-control.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-label-control.php
index a923fa8c..c6b67775 100644
--- a/plugins/jetpack/modules/search/customize-controls/class-label-control.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-label-control.php
@@ -6,21 +6,18 @@
* @since 8.6.0
*/
+namespace Automattic\Jetpack\Search;
+
+use WP_Customize_Control;
+
+if ( ! class_exists( 'WP_Customize_Control' ) ) {
+ return;
+}
/**
* Label Control class.
*/
class Label_Control extends WP_Customize_Control {
/**
- * Enqueue styles related to this control.
- */
- public function enqueue() {
- $style_relative_path = 'modules/search/customize-controls/class-label-control.css';
- $style_version = Automattic\Jetpack\Search\Helper::get_asset_version( $style_relative_path );
- $style_path = plugins_url( $style_relative_path, JETPACK__PLUGIN_FILE );
- wp_enqueue_style( 'jetpack-instant-search-customizer-label', $style_path, array( 'customize-controls' ), $style_version );
- }
-
- /**
* Override rendering for custom class name; omit element ID.
*/
protected function render() {
diff --git a/plugins/jetpack/modules/search/customize-controls/class-label-control.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/customize-controls.css
index 3f1c7cc2..ed2d42ad 100644
--- a/plugins/jetpack/modules/search/customize-controls/class-label-control.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/customize-controls.css
@@ -1,3 +1,4 @@
+/* For styling Label_Control */
#sub-accordion-section-jetpack_search .customize-control {
margin-bottom: 14px;
}
diff --git a/plugins/jetpack/modules/search/customize-controls/customize-controls.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/customize-controls.js
index ea77ce1a..69927727 100644
--- a/plugins/jetpack/modules/search/customize-controls/customize-controls.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/customize-controls.js
@@ -18,10 +18,11 @@ function init() {
// window.wp.customize.previewer will emit 'ready' multiple times, not just during initialization.
window.wp.customize.previewer.bind( 'ready', function () {
// window.wp.customize.previewer.loading is deinstanced after initial load.
- window.wp.customize.previewer.loading &&
+ if ( window.wp.customize.previewer.loading ) {
window.wp.customize.previewer.loading.done( function () {
postSectionMessage( window.wp.customize.section( 'jetpack_search' ).expanded() );
} );
+ }
// If the Jetpack Search section is opened/closed, emit a message to open/close the modal.
window.wp.customize.section( 'jetpack_search' ).expanded.bind( function () {
@@ -30,7 +31,9 @@ function init() {
// If Customizer values have changed while Jetpack Search section is open, emit a message to open the modal.
window.wp.customize.bind( 'change', function () {
- window.wp.customize.section( 'jetpack_search' ).expanded() && postSectionMessage( true );
+ if ( window.wp.customize.section( 'jetpack_search' ).expanded() ) {
+ postSectionMessage( true );
+ }
} );
} );
} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-dashboard.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-dashboard.php
new file mode 100644
index 00000000..72797f84
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-dashboard.php
@@ -0,0 +1,200 @@
+<?php
+/**
+ * A class that adds a search dashboard to wp-admin.
+ *
+ * @package automattic/jetpack
+ */
+
+namespace Automattic\Jetpack\Search;
+
+use Automattic\Jetpack\Admin_UI\Admin_Menu;
+use Automattic\Jetpack\Assets;
+use Automattic\Jetpack\Connection\Initial_State as Connection_Initial_State;
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Status;
+use Automattic\Jetpack\Tracking;
+/**
+ * Responsible for adding a search dashboard to wp-admin.
+ *
+ * @package Automattic\Jetpack\Search
+ */
+class Dashboard {
+ /**
+ * Whether the class has been initialized
+ *
+ * @var boolean
+ */
+ private static $initialized = false;
+ /**
+ * Plan instance
+ *
+ * @var Automattic\Jetpack\Search\Plan
+ */
+ protected $plan;
+
+ /**
+ * Connection manager instance
+ *
+ * @var Automattic\Jetpack\Connection\Manager
+ */
+ protected $connection_manager;
+
+ /**
+ * Module_Control instance
+ *
+ * @var Automattic\Jetpack\Search\Module_Control
+ */
+ protected $module_control;
+
+ /**
+ * Contructor
+ *
+ * @param Automattic\Jetpack\Search\Plan $plan - Plan instance.
+ * @param Automattic\Jetpack\Connection\Manager $connection_manager - Connection Manager instance.
+ * @param Automattic\Jetpack\Search\Module_Control $module_control - Module_Control instance.
+ */
+ public function __construct( $plan = null, $connection_manager = null, $module_control = null ) {
+ $this->plan = $plan ? $plan : new Plan();
+ $this->connection_manager = $connection_manager ? $connection_manager : new Connection_Manager( Package::SLUG );
+ $this->module_control = $module_control ? $module_control : new Module_Control( $this->plan );
+ $this->plan->init_hooks();
+ }
+
+ /**
+ * Initialise hooks.
+ *
+ * We use the `config` package to initialize the search package, which ensures the package is
+ * only initialized once. However earlier versions of Jetpack would still forcely initialize the
+ * dashboard. As a result, there would be two `Search` submenus if we don't ensure the dashboard
+ * is initialized only once. So we use `$initialized` to ensure the class is only initialized once.
+ *
+ * Ref: https://github.com/Automattic/jetpack/pull/21888/files#diff-aae7d66951585fc55053a4d53b68552a41864d2c69aee900574ef4404b7ad5f7L42
+ */
+ public function init_hooks() {
+ if ( ! self::$initialized ) {
+ self::$initialized = true;
+ // Jetpack uses 998 and 'Admin_Menu' uses 1000.
+ add_action( 'admin_menu', array( $this, 'add_wp_admin_submenu' ), 999 );
+ // Check if the site plan changed and deactivate module accordingly.
+ add_action( 'current_screen', array( $this, 'check_plan_deactivate_search_module' ) );
+ }
+ }
+
+ /**
+ * The page to be added to submenu
+ */
+ public function add_wp_admin_submenu() {
+ if ( ! $this->should_add_search_submenu() ) {
+ return;
+ }
+
+ // Jetpack of version <= 10.5 would register `jetpack-search` submenu with its built-in search module.
+ $this->remove_search_submenu_if_exists();
+
+ $page_suffix = Admin_Menu::add_menu(
+ __( 'Search Settings', 'jetpack-search-pkg' ),
+ _x( 'Search', 'product name shown in menu', 'jetpack-search-pkg' ),
+ 'manage_options',
+ 'jetpack-search',
+ array( $this, 'render' ),
+ 100
+ );
+
+ add_action( 'load-' . $page_suffix, array( $this, 'admin_init' ) );
+ }
+
+ /**
+ * Override render funtion
+ */
+ public function render() {
+ ?>
+ <div id="jp-search-dashboard" class="jp-search-dashboard">
+ <div class="hide-if-js"><?php esc_html_e( 'Your Search dashboard requires JavaScript to function properly.', 'jetpack-search-pkg' ); ?></div>
+ </div>
+ <?php
+ }
+
+ /**
+ * Test whether we should show Search menu.
+ *
+ * @return {boolean} Show search sub menu or not.
+ */
+ protected function should_add_search_submenu() {
+ /**
+ * The filter allows to ommit adding a submenu item for Jetpack Search.
+ *
+ * @since 0.11.2
+ *
+ * @param boolean $should_add_search_submenu Default value is true.
+ */
+ return apply_filters( 'jetpack_search_should_add_search_submenu', current_user_can( 'manage_options' ) );
+ }
+
+ /**
+ * Remove `jetpack-search` submenu page
+ */
+ protected function remove_search_submenu_if_exists() {
+ remove_submenu_page( 'jetpack', 'jetpack-search' );
+ }
+
+ /**
+ * Initialize the admin resources.
+ */
+ public function admin_init() {
+ add_action( 'admin_enqueue_scripts', array( $this, 'load_admin_scripts' ) );
+ }
+
+ /**
+ * Enqueue admin scripts.
+ */
+ public function load_admin_scripts() {
+ if ( ! ( new Status() )->is_offline_mode() && $this->connection_manager->is_connected() ) {
+ // Required for Analytics.
+ Tracking::register_tracks_functions_scripts( true );
+ }
+
+ Assets::register_script(
+ 'jp-search-dashboard',
+ '../../build/dashboard/jp-search-dashboard.js',
+ __FILE__,
+ array(
+ 'in_footer' => true,
+ 'textdomain' => 'jetpack-search-pkg',
+ )
+ );
+ Assets::enqueue_script( 'jp-search-dashboard' );
+
+ // Add objects to be passed to the initial state of the app.
+ // Use wp_add_inline_script instead of wp_localize_script, see https://core.trac.wordpress.org/ticket/25280.
+ wp_add_inline_script(
+ 'jp-search-dashboard',
+ ( new Initial_State() )->render(),
+ 'before'
+ );
+
+ // Connection initial state.
+ wp_add_inline_script(
+ 'jp-search-dashboard',
+ Connection_Initial_State::render(),
+ 'before'
+ );
+ }
+
+ /**
+ * Deactivate search module if plan doesn't support search.
+ *
+ * @param WP_Screen $current_screen Creent screen object.
+ */
+ public function check_plan_deactivate_search_module( $current_screen ) {
+ // Only run on Jetpack admin pages.
+ // The first two checks for current screen are cheap to run on every page.
+ if (
+ property_exists( $current_screen, 'base' ) &&
+ strpos( $current_screen->base, 'jetpack_page_' ) !== false &&
+ ! $this->plan->supports_search()
+ ) {
+ $this->module_control->deactivate();
+ }
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php
new file mode 100644
index 00000000..3f7f9e33
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php
@@ -0,0 +1,164 @@
+<?php
+/**
+ * The React initial state.
+ *
+ * @package automattic/jetpack-search
+ */
+
+namespace Automattic\Jetpack\Search;
+
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Status;
+use Jetpack_Options;
+
+/**
+ * The React initial state.
+ */
+class Initial_State {
+ /**
+ * Connection Manager
+ *
+ * @var Connection_Manager
+ */
+ protected $connection_manager;
+
+ /**
+ * Search Module Control
+ *
+ * @var Module_Control
+ */
+ protected $module_control;
+
+ /**
+ * Constructor
+ *
+ * @param Connection_Manager $connection_manager - Connection mananger instance.
+ * @param Module_Control $module_control - Module control instance.
+ */
+ public function __construct( $connection_manager = null, $module_control = null ) {
+ $this->connection_manager = $connection_manager ? $connection_manager : new Connection_Manager( Package::SLUG );
+ $this->module_control = $module_control ? $module_control : new Module_Control();
+ }
+
+ /**
+ * Render JS for the initial state
+ *
+ * @return string - JS string.
+ */
+ public function render() {
+ return 'var JETPACK_SEARCH_DASHBOARD_INITIAL_STATE=JSON.parse(decodeURIComponent("' . rawurlencode( wp_json_encode( $this->get_initial_state() ) ) . '"));';
+ }
+
+ /**
+ * Get the initial state data.
+ *
+ * @return array
+ */
+ public function get_initial_state() {
+ return array(
+ 'siteData' => array(
+ 'WP_API_root' => esc_url_raw( rest_url() ),
+ 'WP_API_nonce' => wp_create_nonce( 'wp_rest' ),
+ 'registrationNonce' => wp_create_nonce( 'jetpack-registration-nonce' ),
+ 'purchaseToken' => $this->get_purchase_token(),
+ /**
+ * Whether promotions are visible or not.
+ *
+ * @param bool $are_promotions_active Status of promotions visibility. True by default.
+ */
+ 'showPromotions' => apply_filters( 'jetpack_show_promotions', true ),
+ 'adminUrl' => esc_url( admin_url() ),
+ 'blogId' => Jetpack_Options::get_option( 'id', 0 ),
+ 'version' => Package::VERSION,
+ 'calypsoSlug' => ( new Status() )->get_site_suffix(),
+ ),
+ 'userData' => array(
+ 'currentUser' => $this->current_user_data(),
+ ),
+ 'jetpackSettings' => array(
+ 'search' => $this->module_control->is_active(),
+ 'instant_search_enabled' => $this->module_control->is_instant_search_enabled(),
+ ),
+ 'features' => array_map(
+ 'sanitize_text_field',
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
+ isset( $_GET['features'] ) ? explode( ',', wp_unslash( $_GET['features'] ) ) : array()
+ ),
+ );
+ }
+
+ /**
+ * Gather data about the current user.
+ *
+ * @return array
+ */
+ protected function current_user_data() {
+ $current_user = wp_get_current_user();
+ $is_user_connected = $this->connection_manager->is_user_connected( $current_user->ID );
+ $is_master_user = $is_user_connected && (int) $current_user->ID && (int) Jetpack_Options::get_option( 'master_user' ) === (int) $current_user->ID;
+ $dotcom_data = $this->connection_manager->get_connected_user_data();
+
+ $current_user_data = array(
+ 'isConnected' => $is_user_connected,
+ 'isMaster' => $is_master_user,
+ 'username' => $current_user->user_login,
+ 'id' => $current_user->ID,
+ 'wpcomUser' => $dotcom_data,
+ 'permissions' => array(
+ 'manage_options' => current_user_can( 'manage_options' ),
+ ),
+ );
+
+ return $current_user_data;
+ }
+
+ /**
+ * Gets a purchase token that is used for Jetpack logged out visitor checkout.
+ * The purchase token should be appended to all CTA url's that lead to checkout.
+ *
+ * @return string|boolean
+ */
+ protected function get_purchase_token() {
+ if ( ! $this->current_user_can_purchase() ) {
+ return false;
+ }
+
+ $purchase_token = Jetpack_Options::get_option( 'purchase_token', false );
+
+ if ( $purchase_token ) {
+ return $purchase_token;
+ }
+ // If the purchase token is not saved in the options table yet, then add it.
+ Jetpack_Options::update_option( 'purchase_token', $this->generate_purchase_token(), true );
+ return Jetpack_Options::get_option( 'purchase_token', false );
+ }
+
+ /**
+ * Generates a purchase token that is used for Jetpack logged out visitor checkout.
+ *
+ * @return string
+ */
+ protected function generate_purchase_token() {
+ return wp_generate_password( 12, false );
+ }
+
+ /**
+ * Determine if the current user is allowed to make Jetpack purchases without
+ * a WordPress.com account
+ *
+ * @return boolean True if the user can make purchases, false if not
+ */
+ public function current_user_can_purchase() {
+ // The site must be site-connected to Jetpack (no users connected).
+ if ( ! $this->connection_manager->is_site_connection() ) {
+ return false;
+ }
+
+ // Make sure only administrators can make purchases.
+ if ( ! current_user_can( 'manage_options' ) ) {
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/site-plan.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/site-plan.js
deleted file mode 100644
index b59c630e..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/site-plan.js
+++ /dev/null
@@ -1,16 +0,0 @@
-export const SET_SEARCH_PLAN_INFO = 'SET_SEARCH_PLAN_INFO';
-
-/**
- * Action to set plan info
- *
- * @param {*} options - plan info.
- * @returns {object} - an action object.
- */
-export function setSearchPlanInfo( options ) {
- return {
- type: 'SET_SEARCH_PLAN_INFO',
- options,
- };
-}
-
-export default { setSearchPlanInfo };
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/controls.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/controls.js
deleted file mode 100644
index 055f975c..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/controls.js
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Internal dependencies
- */
-import restApi from '@automattic/jetpack-api';
-
-export const FETCH_JETPACK_SETTINGS = 'FETCH_JETPACK_SETTINGS';
-export const UPDATE_JETPACK_SETTINGS = 'UPDATE_JETPACK_SETTINGS';
-export const FETCH_SEARCH_PLAN_INFO = 'FETCH_SEARCH_PLAN_INFO';
-
-/**
- * fetchJetpackSettings action
- *
- * @returns {object} - an action object.
- */
-export const fetchJetpackSettings = () => {
- return {
- type: FETCH_JETPACK_SETTINGS,
- };
-};
-
-/**
- * updateJetpackSettings action
- *
- * @param {*} settings - Jetpack settings object.
- * @returns {object} - an action object.
- */
-export const updateJetpackSettings = settings => {
- return {
- type: UPDATE_JETPACK_SETTINGS,
- settings,
- };
-};
-
-/**
- * fetchSearchPlanInfo action
- *
- * @returns {object} - an action object.
- */
-export const fetchSearchPlanInfo = () => {
- return {
- type: FETCH_SEARCH_PLAN_INFO,
- };
-};
-
-export default {
- [ FETCH_JETPACK_SETTINGS ]: function () {
- return restApi.fetchSearchSettings();
- },
- [ UPDATE_JETPACK_SETTINGS ]: function ( action ) {
- return restApi.updateSearchSettings( action.settings );
- },
- [ FETCH_SEARCH_PLAN_INFO ]: function () {
- return restApi.fetchSearchPlanInfo();
- },
-};
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/site-plan.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/site-plan.js
deleted file mode 100644
index 9fff3d43..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/site-plan.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Internal dependencies
- */
-import { SET_SEARCH_PLAN_INFO } from '../actions/site-plan';
-
-const sitePlan = ( state = {}, action ) => {
- switch ( action.type ) {
- case SET_SEARCH_PLAN_INFO:
- return {
- ...state,
- ...action.options,
- };
- }
-
- return state;
-};
-
-export default sitePlan;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/resolvers.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/resolvers.js
deleted file mode 100644
index 3c5272bc..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/resolvers.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * External dependencies
- */
-import { __ } from '@wordpress/i18n';
-
-/**
- * Internal dependencies
- */
-import { fetchJetpackSettings, fetchSearchPlanInfo } from './controls';
-import { setJetpackSettings } from './actions/jetpack-settings';
-import { setSearchPlanInfo } from './actions/site-plan';
-import { errorNotice } from '../components/global-notices/store/actions';
-
-/**
- * Yield actions to get Search Module Status
- *
- * @yields {object} - an action object.
- * @returns {object} - an action object.
- */
-export function* getSearchModuleStatus() {
- try {
- const settings = yield fetchJetpackSettings();
- if ( settings ) {
- return setJetpackSettings( settings );
- }
- } catch ( e ) {
- return errorNotice( __( 'Error fetching settings…', 'jetpack-search-pkg' ) );
- }
-}
-
-/**
- * Yield actions to get search plan info
- *
- * @yields {object} - an action object.
- * @returns {object} - an action object.
- */
-export function* getSearchPlanInfo() {
- try {
- const planInfo = yield fetchSearchPlanInfo();
- if ( planInfo ) {
- return setSearchPlanInfo( planInfo );
- }
- } catch ( e ) {
- return errorNotice( __( 'Error fetching search plan…', 'jetpack-search-pkg' ) );
- }
-}
-
-export default { getSearchModuleStatus, getSearchPlanInfo };
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/site-plan.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/site-plan.js
deleted file mode 100644
index 32d24989..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/site-plan.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const sitePlanSelectors = {
- getSearchPlanInfo: state => state.sitePlan,
- hasBusinessPlan: state => state.sitePlan.supports_only_classic_search,
- hasActiveSearchPurchase: state => state.sitePlan.supports_instant_search,
- supportsInstantSearch: state => state.sitePlan.supports_instant_search,
- supportsOnlyClassicSearch: state => state.sitePlan.supports_only_classic_search,
- getUpgradeBillPeriod: state => state.sitePlan?.default_upgrade_bill_period,
- supportsSearch: state =>
- state.sitePlan.supports_instant_search || state.sitePlan.supports_only_classic_search,
-};
-
-export default sitePlanSelectors;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php
new file mode 100644
index 00000000..077d7be2
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php
@@ -0,0 +1,224 @@
+<?php
+/**
+ * Initializer base class.
+ *
+ * @package @automattic/jetpack-search
+ */
+
+namespace Automattic\Jetpack\Search;
+
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use WP_Error;
+/**
+ * Base class for the initializer pattern.
+ */
+class Initializer {
+
+ /**
+ * Initialize the search package.
+ *
+ * The method is called from the `Config` class.
+ */
+ public static function init() {
+ // Load compatibility files - at this point all plugins are already loaded.
+ static::include_compatibility_files();
+
+ // Set up package version hook.
+ add_filter( 'jetpack_package_versions', __NAMESPACE__ . '\Package::send_version_to_tracker' );
+
+ /**
+ * The filter allows abortion of the Jetpack Search package initialization.
+ *
+ * @since 0.11.2
+ *
+ * @param boolean $init_search_package Default value is true.
+ */
+ if ( ! apply_filters( 'jetpack_search_init_search_package', true ) ) {
+ /**
+ * Fires when the Jetpack Search fails and would fallback to MySQL.
+ *
+ * @since Jetpack 7.9.0
+ * @param string $reason Reason for Search fallback.
+ * @param mixed $data Data associated with the request, such as attempted search parameters.
+ */
+ do_action( 'jetpack_search_abort', 'jetpack_search_init_search_package_filter', null );
+ return;
+ }
+
+ static::init_before_connection();
+
+ // Check whether Jetpack Search should be initialized in the first place .
+ if ( ! static::is_connected() || ! static::is_search_supported() ) {
+ /** This filter is documented in search/src/initalizers/class-initalizer.php */
+ do_action( 'jetpack_search_abort', 'inactive', null );
+ return;
+ }
+
+ $blog_id = Helper::get_wpcom_site_id();
+ if ( ! $blog_id ) {
+ /** This filter is documented in search/src/initalizers/class-initalizer.php */
+ do_action( 'jetpack_search_abort', 'no_blog_id', null );
+ return;
+ }
+
+ if ( ! ( new Module_Control() )->is_active() ) {
+ /** This filter is documented in search/src/initalizers/class-initalizer.php */
+ do_action( 'jetpack_search_abort', 'module_inactive', null );
+ return;
+ }
+
+ // Initialize search package.
+ if ( ! static::init_search( $blog_id ) ) {
+ /** This filter is documented in search/src/initalizers/class-initalizer.php */
+ do_action( 'jetpack_search_abort', 'jetpack_search_init_search', null );
+ return;
+ }
+
+ /**
+ * Fires when the Jetpack Search package has been initialized.
+ *
+ * @since 0.11.2
+ */
+ do_action( 'jetpack_search_loaded' );
+ }
+
+ /**
+ * Extra tweaks to make Jetpack Search play well with others.
+ */
+ public static function include_compatibility_files() {
+ if ( class_exists( 'Jetpack' ) ) {
+ require_once Package::get_installed_path() . 'compatibility/jetpack.php';
+ }
+ }
+
+ /**
+ * Init functionality required for connection.
+ */
+ protected static function init_before_connection() {
+ // Set up Search API endpoints.
+ add_action( 'rest_api_init', array( new REST_Controller(), 'register_rest_routes' ) );
+ // The dashboard has to be initialized before connection.
+ ( new Dashboard() )->init_hooks();
+ }
+
+ /**
+ * Init the search package.
+ *
+ * @param int $blog_id WPCOM blog ID.
+ */
+ protected static function init_search( $blog_id ) {
+ // We could provide CLI to enable search/instant search, so init them regardless of whether the module is active or not.
+ static::init_cli();
+
+ $success = false;
+ if ( ( new Module_Control() )->is_instant_search_enabled() ) {
+ // Enable Instant search experience.
+ $success = static::init_instant_search( $blog_id );
+ } else {
+ // Enable the classic search experience.
+ $success = static::init_classic_search( $blog_id );
+ }
+
+ if ( $success ) {
+ // registers Jetpack Search widget.
+ add_action( 'widgets_init', array( static::class, 'jetpack_search_widget_init' ) );
+ }
+
+ return $success;
+ }
+
+ /**
+ * Init Instant Search and its dependencies.
+ *
+ * @param int $blog_id WPCOM blog ID.
+ */
+ protected static function init_instant_search( $blog_id ) {
+ /**
+ * The filter allows abortion of the Instant Search initialization.
+ *
+ * @since 0.11.2
+ *
+ * @param boolean $init_instant_search Default value is true.
+ */
+ if ( ! apply_filters( 'jetpack_search_init_instant_search', true ) ) {
+ return;
+ }
+
+ // Enable the instant search experience.
+ Instant_Search::initialize( $blog_id );
+ // Register instant search configurables as WordPress settings.
+ new Settings();
+ // Instantiate "Customberg", the live search configuration interface.
+ Customberg::instance();
+ // Enable configuring instant search within the Customizer.
+ // Not need to check existence of `WP_Customize_Manager`, because which is not loaded all the time.
+ new Customizer();
+ return true;
+ }
+
+ /**
+ * Init Classic Search.
+ *
+ * @param int $blog_id WPCOM blog ID.
+ */
+ protected static function init_classic_search( $blog_id ) {
+ /**
+ * The filter allows abortion of the Classic Search initialization.
+ *
+ * @since 0.11.2
+ *
+ * @param boolean $init_instant_search Default value is true.
+ */
+ if ( ! apply_filters( 'jetpack_search_init_classic_search', true ) ) {
+ return;
+ }
+ Classic_Search::initialize( $blog_id );
+ return true;
+ }
+
+ /**
+ * Register jetpack-search CLI if `\CLI` exists.
+ *
+ * @return void
+ */
+ protected static function init_cli() {
+ if ( defined( 'WP_CLI' ) && \WP_CLI ) {
+ \WP_CLI::add_command( 'jetpack-search', __NAMESPACE__ . '\CLI' );
+ }
+ }
+
+ /**
+ * Register the widget if Jetpack Search is available and enabled.
+ */
+ public static function jetpack_search_widget_init() {
+ register_widget( 'Automattic\Jetpack\Search\Search_Widget' );
+ }
+
+ /**
+ * Check if site has been connected.
+ */
+ protected static function is_connected() {
+ return ( new Connection_Manager( Package::SLUG ) )->is_connected();
+ }
+
+ /**
+ * Check if search is supported by current plan.
+ */
+ protected static function is_search_supported() {
+ return ( new Plan() )->supports_search();
+ }
+
+ /**
+ * Perform necessary initialization steps for classic and instant search in the constructor.
+ *
+ * @deprecated
+ */
+ public static function initialize() {
+ return new WP_Error(
+ 'invalid-method',
+ /* translators: %s: Method name. */
+ sprintf( __( "Method '%s' not implemented. Must be overridden in subclass.", 'jetpack-search-pkg' ), __METHOD__ ),
+ array( 'status' => 405 )
+ );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/instant-search/class-instant-search.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/instant-search/class-instant-search.php
new file mode 100644
index 00000000..a3cae73d
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/instant-search/class-instant-search.php
@@ -0,0 +1,843 @@
+<?php
+/**
+ * Instant Search: Our modern and customizable search experience.
+ *
+ * @package automattic/jetpack-search
+ */
+
+namespace Automattic\Jetpack\Search;
+
+use Automattic\Jetpack\Assets;
+use WP_Block_Parser;
+use WP_Block_Patterns_Registry;
+use WP_Error;
+use WP_REST_Templates_Controller;
+
+/**
+ * Class responsible for enabling the Instant Search experience on the site.
+ */
+class Instant_Search extends Classic_Search {
+ /**
+ * The name of instant search sidebar
+ *
+ * @since 9.8.0
+ * @var string
+ */
+ const INSTANT_SEARCH_SIDEBAR = 'jetpack-instant-search-sidebar';
+
+ const AUTO_CONFIG_SIDEBAR = 'sidebar-1';
+
+ /**
+ * The singleton instance of this class.
+ * Instant_Search shouldn't share the variable with its parent.
+ *
+ * @var Instant_Search
+ */
+ private static $instance;
+
+ /**
+ * Variable to save old sidebars_widgets value.
+ *
+ * The value is set when action `after_switch_theme` is applied and cleared on filter `pre_update_option_sidebars_widgets`.
+ * The filters mentioned above run on /wp-admin/themes.php?activated=true, a request closely following switching theme.
+ *
+ * @since 9.8.0
+ *
+ * @var array
+ */
+ protected $old_sidebars_widgets;
+
+ /**
+ * Returns a class singleton. Initializes with first-time setup if given a blog ID parameter.
+ *
+ * @param string $blog_id Blog id.
+ * @return static The class singleton.
+ */
+ public static function instance( $blog_id = null ) {
+ if ( ! isset( self::$instance ) ) {
+ if ( null === $blog_id ) {
+ $blog_id = Helper::get_wpcom_site_id();
+ }
+ self::$instance = new static();
+ self::$instance->setup( $blog_id );
+ }
+ return self::$instance;
+ }
+
+ /**
+ * Setup the various hooks needed for the plugin to take over search duties.
+ *
+ * @since 5.0.0
+ */
+ public function init_hooks() {
+ if ( ! is_admin() ) {
+ add_filter( 'posts_pre_query', array( $this, 'filter__posts_pre_query' ), 10, 2 );
+
+ add_action( 'init', array( $this, 'set_filters_from_widgets' ) );
+
+ add_action( 'wp_enqueue_scripts', array( $this, 'load_assets' ) );
+ add_action( 'wp_footer', array( 'Automattic\Jetpack\Search\Helper', 'print_instant_search_sidebar' ) );
+ add_filter( 'body_class', array( $this, 'add_body_class' ), 10 );
+ } else {
+ add_action( 'update_option', array( $this, 'track_widget_updates' ), 10, 3 );
+ }
+
+ /**
+ * Note:
+ * 1. The priority has to be lower than 10 to run before _wp_sidebars_changed.
+ * Which migrates widgets from old theme to the new one.
+ * 2. WP.com runs after_switch_theme hook from the frontend, so we'll need to hook it.
+ * No matter it's admin or frontend.
+ */
+ add_action( 'after_switch_theme', array( $this, 'save_old_sidebars_widgets' ), 5, 0 );
+ add_action( 'pre_update_option_sidebars_widgets', array( $this, 'remove_wp_migrated_widgets' ) );
+
+ add_action( 'widgets_init', array( $this, 'register_jetpack_instant_sidebar' ) );
+ add_action( 'jetpack_deactivate_module_search', array( $this, 'move_search_widgets_to_inactive' ) );
+ }
+
+ /**
+ * Loads assets for Jetpack Instant Search Prototype featuring Search As You Type experience.
+ */
+ public function load_assets() {
+ $this->load_assets_with_parameters( Package::get_installed_path() );
+ }
+
+ /**
+ * Loads assets according to parameters provided.
+ *
+ * @param string $package_base_path - Base path for the search package.
+ */
+ public function load_assets_with_parameters( $package_base_path ) {
+ Assets::register_script(
+ 'jetpack-instant-search',
+ 'build/instant-search/jp-search.js',
+ $package_base_path . '/src', // A full path to a file or a directory inside a plugin.
+ array(
+ 'dependencies' => array( 'wp-i18n' ),
+ 'in_footer' => true,
+ 'textdomain' => 'jetpack-search-pkg',
+ )
+ );
+ Assets::enqueue_script( 'jetpack-instant-search' );
+ $this->load_and_initialize_tracks();
+ $this->inject_javascript_options();
+ }
+
+ /**
+ * Passes all options to the JS app.
+ */
+ protected function inject_javascript_options() {
+ $options = Helper::generate_initial_javascript_state();
+ // Use wp_add_inline_script instead of wp_localize_script, see https://core.trac.wordpress.org/ticket/25280.
+ wp_add_inline_script( 'jetpack-instant-search', 'var JetpackInstantSearchOptions=JSON.parse(decodeURIComponent("' . rawurlencode( wp_json_encode( $options ) ) . '"));', 'before' );
+ }
+
+ /**
+ * Registers a widget sidebar for Instant Search.
+ */
+ public function register_jetpack_instant_sidebar() {
+ $args = array(
+ 'name' => __( 'Jetpack Search Sidebar', 'jetpack-search-pkg' ),
+ 'id' => self::INSTANT_SEARCH_SIDEBAR,
+ 'description' => __( 'Customize the sidebar inside the Jetpack Search overlay', 'jetpack-search-pkg' ),
+ 'class' => '',
+ 'before_widget' => '<div id="%1$s" class="widget %2$s">',
+ 'after_widget' => '</div>',
+ 'before_title' => '<h2 class="widgettitle">',
+ 'after_title' => '</h2>',
+ );
+ register_sidebar( $args );
+ }
+
+ /**
+ * Loads scripts for Tracks analytics library
+ */
+ public function load_and_initialize_tracks() {
+ wp_enqueue_script( 'jp-tracks', '//stats.wp.com/w.js', array(), gmdate( 'YW' ), true );
+ }
+
+ /**
+ * Bypass the normal Search query since we will run it with instant search.
+ *
+ * @since 8.3.0
+ *
+ * @param array $posts Current array of posts (still pre-query).
+ * @param WP_Query $query The WP_Query being filtered.
+ *
+ * @return array Array of matching posts.
+ */
+ public function filter__posts_pre_query( $posts, $query ) {
+ if ( ! $this->should_handle_query( $query ) ) {
+ // Intentionally not adding the 'jetpack_search_abort' action since this should fire for every request except for search.
+ return $posts;
+ }
+
+ /**
+ * Bypass the main query and return dummy data
+ * WP Core doesn't call the set_found_posts and its filters when filtering
+ * posts_pre_query like we do, so need to do these manually.
+ */
+ $query->found_posts = 1;
+ $query->max_num_pages = 1;
+
+ return array();
+ }
+
+ /**
+ * Run the aggregations API query for any filtering
+ *
+ * @since 8.3.0
+ */
+ public function fetch_search_result_if_empty() {
+ if ( ! empty( $this->search_result ) ) {
+ return;
+ }
+
+ if ( is_admin() ) {
+ return;
+ }
+
+ if ( empty( $this->aggregations ) ) {
+ return;
+ }
+
+ $builder = new WPES\Query_Builder();
+ $this->add_aggregations_to_es_query_builder( $this->aggregations, $builder );
+ $this->search_result = $this->instant_api(
+ array(
+ 'aggregations' => $builder->build_aggregation(),
+ 'size' => 0,
+ 'from' => 0,
+ )
+ );
+ }
+
+ /**
+ * Run an instant search on the WordPress.com public API.
+ *
+ * @since 8.3.0
+ *
+ * @param array $args Args conforming to the WP.com v1.3/sites/<blog_id>/search endpoint.
+ *
+ * @return object|WP_Error The response from the public API, or a WP_Error.
+ */
+ public function instant_api( array $args ) {
+ global $wp_version;
+ $start_time = microtime( true );
+
+ // Cache locally to avoid remote request slowing the page.
+ $transient_name = 'jetpack_instant_search_cache_' . md5( wp_json_encode( $args ) );
+ $cache = get_transient( $transient_name );
+ if ( false !== $cache ) {
+ return $cache;
+ }
+
+ $service_url = add_query_arg(
+ $args,
+ sprintf(
+ 'https://public-api.wordpress.com/rest/v1.3/sites/%d/search',
+ $this->jetpack_blog_id
+ )
+ );
+
+ $request_args = array(
+ 'timeout' => 10,
+ 'user-agent' => "WordPress/{$wp_version} | Jetpack-Search/" . Package::VERSION,
+ );
+
+ $request = wp_remote_get( esc_url_raw( $service_url ), $request_args );
+ $end_time = microtime( true );
+
+ if ( is_wp_error( $request ) ) {
+ return $request;
+ }
+
+ $response_code = wp_remote_retrieve_response_code( $request );
+ $response = json_decode( wp_remote_retrieve_body( $request ), true );
+
+ if ( ! $response_code || $response_code < 200 || $response_code >= 300 ) {
+ /**
+ * Fires after a search query request has failed
+ *
+ * @module search
+ *
+ * @since 5.6.0
+ *
+ * @param array Array containing the response code and response from the failed search query
+ */
+ do_action(
+ 'failed_jetpack_search_query',
+ array(
+ 'response_code' => $response_code,
+ 'json' => $response,
+ )
+ );
+
+ return new WP_Error( 'invalid_search_api_response', 'Invalid response from API - ' . $response_code );
+ }
+
+ $took = is_array( $response ) && ! empty( $response['took'] )
+ ? $response['took']
+ : null;
+
+ $query = array(
+ 'args' => $args,
+ 'response' => $response,
+ 'response_code' => $response_code,
+ 'elapsed_time' => ( $end_time - $start_time ) * 1000, // Convert from float seconds to ms.
+ 'es_time' => $took,
+ 'url' => $service_url,
+ );
+
+ /**
+ * Fires after a search request has been performed.
+ *
+ * Includes the following info in the $query parameter:
+ *
+ * array args Array of Elasticsearch arguments for the search
+ * array response Raw API response, JSON decoded
+ * int response_code HTTP response code of the request
+ * float elapsed_time Roundtrip time of the search request, in milliseconds
+ * float es_time Amount of time Elasticsearch spent running the request, in milliseconds
+ * string url API url that was queried
+ *
+ * @module search
+ *
+ * @since 5.0.0
+ * @since 5.8.0 This action now fires on all queries instead of just successful queries.
+ *
+ * @param array $query Array of information about the query performed
+ */
+ do_action( 'did_jetpack_search_query', $query );
+
+ // Update local cache.
+ set_transient( $transient_name, $response, 1 * HOUR_IN_SECONDS );
+
+ return $response;
+ }
+
+ /**
+ * Get the raw Aggregation results from the Elasticsearch response.
+ *
+ * @since 8.4.0
+ *
+ * @return array Array of Aggregations performed on the search.
+ */
+ public function get_search_aggregations_results() {
+ $this->fetch_search_result_if_empty();
+ if ( empty( $this->search_result ) || is_wp_error( $this->search_result ) || ! isset( $this->search_result['aggregations'] ) ) {
+ return array();
+ }
+
+ return $this->search_result['aggregations'];
+ }
+
+ /**
+ * Automatically configure necessary settings for instant search
+ *
+ * @since 8.3.0
+ */
+ public function auto_config_search() {
+ $this->auto_config_excluded_post_types();
+ $this->auto_config_overlay_sidebar_widgets();
+ $this->auto_config_theme_sidebar_search_widget();
+ $this->auto_config_result_format();
+ }
+
+ /**
+ * Auto config search widget or block for current theme.
+ */
+ public function auto_config_theme_sidebar_search_widget() {
+ if ( \current_theme_supports( 'block-templates' ) ) {
+ $this->auto_config_fse_theme_footer_search_block();
+ } else {
+ $this->auto_config_non_fse_theme_sidebar_search_widget();
+ }
+ }
+
+ /**
+ * Automatically copy configured search widgets from theme sidebar to the overlay sidebar.
+ * If there's nothing to copy, we create one.
+ *
+ * @since 8.8.0
+ */
+ public function auto_config_overlay_sidebar_widgets() {
+ $sidebars = get_option( 'sidebars_widgets', array() );
+ list(,$sidebar_jp_searchbox_wiget_id ) = $this->get_search_widget_indices( $sidebars, self::INSTANT_SEARCH_SIDEBAR );
+ // If there's JP search widget in overly sidebar, abort.
+ if ( false !== $sidebar_jp_searchbox_wiget_id ) {
+ return;
+ }
+
+ // Init overlay sidebar if it doesn't exists.
+ if ( ! isset( $sidebars[ self::INSTANT_SEARCH_SIDEBAR ] ) ) {
+ $sidebars[ self::INSTANT_SEARCH_SIDEBAR ] = array();
+ }
+
+ $widget_opt_name = Helper::get_widget_option_name();
+ $widget_options = get_option( $widget_opt_name, array() );
+
+ $next_id = $this->get_next_jp_search_widget_id( $widget_options );
+
+ list(,$sidebar_jp_searchbox_wiget_id ) = $this->get_search_widget_indices( $sidebars, self::AUTO_CONFIG_SIDEBAR );
+ if ( false !== $sidebar_jp_searchbox_wiget_id && isset( $widget_options[ $sidebar_jp_searchbox_wiget_id ] ) ) {
+ // If there is a JP search widget in the theme sidebar, copy it over to the search overlay sidebar.
+ $widget_options[ $next_id ] = $widget_options[ $sidebar_jp_searchbox_wiget_id ];
+ } else {
+ // If JP Search widget doesn't exist in the theme sidebar, we have nothing to copy from, so we create a new one within the overlay sidebar.
+ $widget_options[ $next_id ] = $this->get_preconfig_widget_options();
+ }
+ array_unshift( $sidebars[ self::INSTANT_SEARCH_SIDEBAR ], Helper::build_widget_id( $next_id ) );
+ update_option( $widget_opt_name, $widget_options );
+ update_option( 'sidebars_widgets', $sidebars );
+ return true;
+ }
+
+ /**
+ * Add JP Search widget on top of theme sidebar.
+ * Or Replace core search widget in theme sidebar if exists.
+ */
+ public function auto_config_non_fse_theme_sidebar_search_widget() {
+ $sidebars = get_option( 'sidebars_widgets', array() );
+ if ( ! isset( $sidebars[ self::AUTO_CONFIG_SIDEBAR ] ) ) {
+ return;
+ }
+
+ list( $sidebar_searchbox_idx,$sidebar_jp_searchbox_wiget_id ) = $this->get_search_widget_indices( $sidebars );
+ // If there's JP search widget in theme sidebar, abort.
+ if ( false !== $sidebar_jp_searchbox_wiget_id ) {
+ return;
+ }
+
+ $widget_opt_name = Helper::get_widget_option_name();
+ $widget_options = get_option( $widget_opt_name, array() );
+
+ list($sidebar_searchbox_idx, ) = $this->get_search_widget_indices( $sidebars );
+ $next_id = $this->get_next_jp_search_widget_id( $widget_options );
+ $preconfig_opts = $this->get_preconfig_widget_options();
+
+ $widget_options[ $next_id ] = $preconfig_opts;
+ if ( false !== $sidebar_searchbox_idx ) {
+ // Replace core search widget with JP search widget.
+ $sidebars[ self::AUTO_CONFIG_SIDEBAR ][ $sidebar_searchbox_idx ] = Helper::build_widget_id( $next_id );
+ } else {
+ // Add JP Search widget to top.
+ array_unshift( $sidebars[ self::AUTO_CONFIG_SIDEBAR ], Helper::build_widget_id( $next_id ) );
+ }
+
+ update_option( $widget_opt_name, $widget_options );
+ update_option( 'sidebars_widgets', $sidebars );
+ return true;
+ }
+
+ /**
+ * Get the next ID for the Jetpack Search widget, which is equivalent to the last JP Search widget ID + 1.
+ *
+ * @param array $widget_options - jetpack widget option value.
+ *
+ * @return int
+ */
+ public function get_next_jp_search_widget_id( $widget_options ) {
+ return ! empty( $widget_options ) ? max(
+ array_map(
+ function ( $val ) {
+ return intval( $val );
+ },
+ array_keys( $widget_options )
+ )
+ ) + 1 : 1;
+ }
+
+ /**
+ * Get search and JP Search widget indices in theme sidebar.
+ *
+ * @param array $sidebars - theme `sidebars_widgets` option value.
+ * @param string $sidebar_id - the sidebar id to search on.
+ *
+ * @return array - core search widget index and JP search widget id.
+ */
+ protected function get_search_widget_indices( $sidebars, $sidebar_id = 'sidebar-1' ) {
+ $sidebar_searchbox_idx = false;
+ $sidebar_jp_searchbox_id = false;
+ if ( isset( $sidebars[ $sidebar_id ] ) ) {
+ foreach ( (array) $sidebars[ $sidebar_id ] as $idx => $widget_id ) {
+ if ( $this->widget_has_search_block( $widget_id ) ) {
+ // The array index of wp search widget.
+ $sidebar_searchbox_idx = $idx;
+ }
+ if ( 0 === strpos( $widget_id, Helper::FILTER_WIDGET_BASE ) ) {
+ // The id of Jetpack Search widget.
+ $sidebar_jp_searchbox_id = str_replace( Helper::FILTER_WIDGET_BASE . '-', '', $widget_id );
+ }
+ }
+ }
+ return array( $sidebar_searchbox_idx, $sidebar_jp_searchbox_id );
+ }
+
+ /**
+ * Returns true if search widget or block exists in widgets
+ *
+ * @param string $widget_id - widget ID.
+ */
+ protected function widget_has_search_block( $widget_id ) {
+ // test search widget.
+ if ( 0 === strpos( $widget_id, 'search-' ) ) {
+ return true;
+ }
+ // test search block widget.
+ if ( 0 === strpos( $widget_id, 'block-' ) ) {
+ $widget_blocks = get_option( 'widget_block', array() );
+ $widget_index = str_replace( 'block-', '', $widget_id );
+ // A single block could be of type string or array.
+ if ( isset( $widget_blocks[ $widget_index ]['content'] ) && false !== strpos( (string) $widget_blocks[ $widget_index ]['content'], 'wp:search' ) ) {
+ return true;
+ }
+ if ( isset( $widget_blocks[ $widget_index ] ) && is_string( $widget_blocks[ $widget_index ] ) && false !== strpos( $widget_blocks[ $widget_index ], 'wp:search' ) ) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Returns true if $block_content has core search block
+ *
+ * @param string $block_content - Block content.
+ *
+ * @return boolean
+ */
+ public static function content_has_search_block( $block_content ) {
+ return preg_match( '/(<!--\swp:search\s[^>]*-->)/i', $block_content ) > 0;
+ }
+
+ /**
+ * Add a search widget above footer for block templates.
+ */
+ public function auto_config_fse_theme_footer_search_block() {
+ if ( ! class_exists( 'WP_REST_Templates_Controller' ) ) {
+ return;
+ }
+ // We currently check only for a core search block.
+ // In the future, we will need to check for a Jetpack Search block once it's available.
+ if ( $this->template_parts_have_search_block() ) {
+ return;
+ }
+
+ $footer = $this->get_template_part( 'footer' );
+ if ( ! $footer instanceof \WP_Block_Template ) {
+ return;
+ }
+
+ $content = $this->replace_block_patterns( $footer->content );
+ $template_part_id = $footer->id;
+ $request = new \WP_REST_Request( 'PUT', "/wp/v2/template-parts/{$template_part_id}" );
+ $request->set_header( 'content-type', 'application/json' );
+ $request->set_param( 'content', static::inject_search_widget_to_block( $content ) );
+ $request->set_param( 'id', $template_part_id );
+ $controller = new WP_REST_Templates_Controller( 'wp_template_part' );
+ return $controller->update_item( $request );
+ }
+
+ /**
+ * Replace pattern blocks with their content.
+ * We don't want to replace recursively for the sake of simplicity.
+ *
+ * @param string $block_content - Content of template part.
+ */
+ protected function replace_block_patterns( $block_content ) {
+ $matches = array();
+ if ( preg_match( '/<!--\s*wp:pattern\s+{.*}\s*\/-->/', $block_content, $matches ) > 0 ) {
+ foreach ( $matches as $match ) {
+ $pattern_content = $this->get_block_pattern_content( $match );
+ $block_content = str_replace( $match, $pattern_content, $block_content );
+ }
+ }
+ return $block_content;
+ }
+
+ /**
+ * Extracts block content only if it consists of a single pattern block.
+ *
+ * @param string $block_pattern - Block content.
+ */
+ protected function get_block_pattern_content( $block_pattern ) {
+ if ( ! class_exists( 'WP_Block_Parser' ) || ! class_exists( 'WP_Block_Patterns_Registry' ) ) {
+ return $block_pattern;
+ }
+ $blocks = ( new WP_Block_Parser() )->parse( $block_pattern );
+ if ( 1 === count( $blocks ) && 'core/pattern' === $blocks[0]['blockName'] ) {
+ $slug = $blocks[0]['attrs']['slug'];
+ $registry = WP_Block_Patterns_Registry::get_instance();
+ if ( $registry->is_registered( $slug ) ) {
+ $pattern = $registry->get_registered( $slug );
+ return $pattern['content'];
+ }
+ }
+ return $block_pattern;
+ }
+
+ /**
+ * Get template part for current theme.
+ *
+ * @param string $template_part_name - header, footer, home etc.
+ *
+ * @return \WP_Block_Template
+ */
+ protected function get_template_part( $template_part_name ) {
+ // Check whether block theme functions exist.
+ if ( ! function_exists( 'get_block_template' ) ) {
+ return null;
+ }
+ $active_theme = \wp_get_theme()->get_stylesheet();
+ $template_part_id = "{$active_theme}//{$template_part_name}";
+ $template_part = \get_block_template( $template_part_id, 'wp_template_part' );
+ if ( is_wp_error( $template_part ) || empty( $template_part ) ) {
+ return null;
+ }
+ return $template_part;
+ }
+
+ /**
+ * Returns true if 'header', 'footer' or 'home' has core search block
+ *
+ * @return boolean
+ */
+ protected function template_parts_have_search_block() {
+ $template_part_names = array( 'header', 'footer', 'home' );
+ foreach ( $template_part_names as $part_name ) {
+ $part = $this->get_template_part( $part_name );
+ if ( $part instanceof \WP_Block_Template && static::content_has_search_block( $part->content ) ) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Append Search block to block if no 'wp:search' exists already.
+ *
+ * @param {string} $block_content - the content to append the search block.
+ */
+ public static function inject_search_widget_to_block( $block_content ) {
+ $search_block = sprintf(
+ '<!-- wp:search {"label":"","buttonText":"%s"} /-->',
+ __( 'Search', 'jetpack-search-pkg' )
+ );
+
+ // Place the search block on bottom of the first column if there's any.
+ $column_end_pattern = '/(<\s*\/div[^>]*>\s*<!--\s*\/wp:column\s+[^>]*-->)/';
+ if ( preg_match( $column_end_pattern, $block_content ) ) {
+ return preg_replace( $column_end_pattern, "\n" . $search_block . "\n$1", $block_content, 1 );
+ }
+
+ // Place the search block on top of footer contents in the most inner group.
+ $group_start_pattern = '/((<!--\s*wp:group\s[^>]*-->[.\s]*<\s*div[^>]*>\s*)+)/';
+ if ( preg_match( $group_start_pattern, $block_content, $matches ) ) {
+ return preg_replace( $group_start_pattern, "$1\n" . $search_block . "\n", $block_content, 1 );
+ }
+
+ return $block_content;
+ }
+
+ /**
+ * Autoconfig search by adding filter widgets
+ *
+ * @since 8.4.0
+ *
+ * @return array Array of config settings for search widget.
+ */
+ protected function get_preconfig_widget_options() {
+ $settings = array(
+ 'title' => '',
+ 'filters' => array(),
+ );
+
+ $post_types = get_post_types(
+ array(
+ 'public' => true,
+ '_builtin' => false,
+ )
+ );
+
+ if ( ! empty( $post_types ) ) {
+ $settings['filters'][] = array(
+ 'name' => '',
+ 'type' => 'post_type',
+ 'count' => 5,
+ );
+ }
+
+ // Grab a maximum of 3 taxonomies.
+ $taxonomies = array_slice(
+ get_taxonomies(
+ array(
+ 'public' => true,
+ '_builtin' => false,
+ )
+ ),
+ 0,
+ 3
+ );
+
+ foreach ( $taxonomies as $t ) {
+ $settings['filters'][] = array(
+ 'name' => '',
+ 'type' => 'taxonomy',
+ 'taxonomy' => $t,
+ 'count' => 5,
+ );
+ }
+
+ $settings['filters'][] = array(
+ 'name' => '',
+ 'type' => 'taxonomy',
+ 'taxonomy' => 'category',
+ 'count' => 5,
+ );
+
+ $settings['filters'][] = array(
+ 'name' => '',
+ 'type' => 'taxonomy',
+ 'taxonomy' => 'post_tag',
+ 'count' => 5,
+ );
+
+ $settings['filters'][] = array(
+ 'name' => '',
+ 'type' => 'date_histogram',
+ 'count' => 5,
+ 'field' => 'post_date',
+ 'interval' => 'year',
+ );
+
+ return $settings;
+ }
+
+ /**
+ * Automatically configure post types to exclude from one of the search widgets.
+ * Used primarily for backward compatibility with older Jetpack plugins, which used to store excluded post type configuration within the Jetpack Search plugin instead of as an option.
+ *
+ * @since 8.8.0
+ */
+ public function auto_config_excluded_post_types() {
+ // if `excluded_post_types` exists, then we do nothing.
+ if ( false !== get_option( Options::OPTION_PREFIX . 'excluded_post_types', false ) ) {
+ return;
+ }
+ $post_types = get_post_types(
+ array(
+ 'exclude_from_search' => false,
+ 'public' => true,
+ )
+ );
+ $enabled_post_types = array();
+ $widget_options = get_option( Helper::get_widget_option_name(), array() );
+
+ // Prior to Jetpack 8.8, post types were enabled via Jetpack Search widgets rather than disabled via the Customizer.
+ // To continue supporting post types set up in the old way, we iterate through each Jetpack Search
+ // widget configuration and append each enabled post type to $enabled_post_types.
+ foreach ( $widget_options as $widget_option ) {
+ if ( isset( $widget_option['post_types'] ) && is_array( $widget_option['post_types'] ) ) {
+ foreach ( $widget_option['post_types'] as $enabled_post_type ) {
+ $enabled_post_types[ $enabled_post_type ] = $enabled_post_type;
+ }
+ }
+ }
+
+ if ( ! empty( $enabled_post_types ) ) {
+ $post_types_to_disable = array_diff( $post_types, $enabled_post_types );
+ // better to use `add_option` which wouldn't override option value if exists.
+ add_option( Options::OPTION_PREFIX . 'excluded_post_types', join( ',', $post_types_to_disable ) );
+ }
+ }
+
+ /**
+ * Automatically set result format.
+ *
+ * @since 9.6.0
+ */
+ public function auto_config_result_format() {
+ $result_format_option_name = Options::OPTION_PREFIX . 'result_format';
+ // Default format `expanded`.
+ $result_format_option_value = Options::RESULT_FORMAT_EXPANDED;
+
+ // Result format already set, skip.
+ if ( get_option( $result_format_option_name, false ) ) {
+ return;
+ }
+
+ // Check if WooCommerce plugin is active (based on https://docs.woocommerce.com/document/create-a-plugin/).
+ if ( in_array(
+ 'woocommerce/woocommerce.php',
+ apply_filters( 'active_plugins', Helper::get_active_plugins() ),
+ true
+ ) ) {
+ $result_format_option_value = Options::RESULT_FORMAT_PRODUCT;
+ }
+
+ update_option( $result_format_option_name, $result_format_option_value );
+ return true;
+ }
+
+ /**
+ * Save sidebars_widgets option before it's migrated by WordPress
+ *
+ * @since 9.8.0
+ *
+ * @param array $old_sidebars_widgets The sidebars_widgets option value to be saved.
+ */
+ public function save_old_sidebars_widgets( $old_sidebars_widgets = null ) {
+ // The function should only run before _wp_sidebars_changed which migrates the sidebars.
+ // So when _wp_sidebars_changed doesn't exist, we should skip the logic.
+ if ( has_filter( 'after_switch_theme', '_wp_sidebars_changed' ) !== false ) {
+ $this->old_sidebars_widgets = $old_sidebars_widgets !== null ? $old_sidebars_widgets : wp_get_sidebars_widgets();
+ }
+ }
+
+ /**
+ * Clean WordPress auto-migrated sidebar widgets from instant search sidebar before saving option sidebars_widgets
+ *
+ * @since 9.8.0
+ *
+ * @param array $sidebars_widgets The sidebars_widgets option value to be filtered.
+ * @return array The sidebars_widgets option value to be saved
+ */
+ public function remove_wp_migrated_widgets( $sidebars_widgets ) {
+ // Hook the action only when it is a theme switch i.e. $this->old_sidebars_widgets is not empty.
+ // Ensure that the hook only runs when necessary.
+ if (
+ empty( $this->old_sidebars_widgets )
+ || ! is_array( $this->old_sidebars_widgets )
+ || ! is_array( $sidebars_widgets )
+ || ! array_key_exists( static::INSTANT_SEARCH_SIDEBAR, $sidebars_widgets )
+ || ! array_key_exists( static::INSTANT_SEARCH_SIDEBAR, $this->old_sidebars_widgets )
+ // If the new Jetpack sidebar already has fewer widgets, skip execution.
+ // Uses less than comparison for defensive programming.
+ || count( $sidebars_widgets[ static::INSTANT_SEARCH_SIDEBAR ] ) <= count( $this->old_sidebars_widgets[ static::INSTANT_SEARCH_SIDEBAR ] )
+ ) {
+ return $sidebars_widgets;
+ }
+
+ $lost_widgets = array_diff( $sidebars_widgets[ static::INSTANT_SEARCH_SIDEBAR ], $this->old_sidebars_widgets[ static::INSTANT_SEARCH_SIDEBAR ] );
+ $sidebars_widgets['wp_inactive_widgets'] = array_merge( $lost_widgets, (array) $sidebars_widgets['wp_inactive_widgets'] );
+ $sidebars_widgets[ static::INSTANT_SEARCH_SIDEBAR ] = $this->old_sidebars_widgets[ static::INSTANT_SEARCH_SIDEBAR ];
+
+ // Reset $this->old_sidebars_widgets because we want to run the function only once after theme switch.
+ $this->old_sidebars_widgets = null;
+
+ return $sidebars_widgets;
+ }
+
+ /**
+ * Add current theme name as a body class for easier override
+ *
+ * @param string[] $classes An array of body class names.
+ *
+ * @return string[] The array of classes after filtering
+ */
+ public function add_body_class( $classes ) {
+ $classes[] = 'jps-theme-' . get_stylesheet();
+ return $classes;
+ }
+}
diff --git a/plugins/jetpack/modules/widgets/search.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/class-search-widget.php
index 291649f2..814cd7b2 100644
--- a/plugins/jetpack/modules/widgets/search.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/class-search-widget.php
@@ -1,35 +1,18 @@
-<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+<?php
/**
- * Jetpack Search: Jetpack_Search_Widget class
+ * Jetpack Search widget.
*
- * @package Jetpack
- * @subpackage Jetpack Search
- * @since 5.0.0
+ * @package automattic/jetpack-search
*/
+namespace Automattic\Jetpack\Search;
+
+use Automattic\Jetpack\Assets;
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Redirect;
-use Automattic\Jetpack\Search\Helper;
-use Automattic\Jetpack\Search\Options;
use Automattic\Jetpack\Status;
use Automattic\Jetpack\Tracking;
-add_action( 'widgets_init', 'jetpack_search_widget_init' );
-
-/**
- * Register the widget if Jetpack Search is available and enabled.
- */
-function jetpack_search_widget_init() {
- if (
- ! Jetpack::is_connection_ready()
- || ( method_exists( 'Jetpack_Plan', 'supports' ) && ! Jetpack_Plan::supports( 'search' ) )
- || ! Jetpack::is_module_active( 'search' )
- ) {
- return;
- }
-
- register_widget( 'Jetpack_Search_Widget' );
-}
-
/**
* Provides a widget to show available/selected filters on searches.
*
@@ -37,15 +20,7 @@ function jetpack_search_widget_init() {
*
* @see WP_Widget
*/
-class Jetpack_Search_Widget extends WP_Widget {
-
- /**
- * The Jetpack_Search instance.
- *
- * @since 5.7.0
- * @var Jetpack_Search
- */
- protected $jetpack_search;
+class Search_Widget extends \WP_Widget {
/**
* Number of aggregations (filters) to show by default.
@@ -54,7 +29,6 @@ class Jetpack_Search_Widget extends WP_Widget {
* @var int
*/
const DEFAULT_FILTER_COUNT = 5;
-
/**
* Default sort order for search results.
*
@@ -62,25 +36,38 @@ class Jetpack_Search_Widget extends WP_Widget {
* @var string
*/
const DEFAULT_SORT = 'relevance_desc';
-
/**
- * Jetpack_Search_Widget constructor.
+ * The Jetpack_Search instance.
*
- * @since 5.0.0
+ * @since 5.7.0
+ * @var Jetpack_Search
+ */
+ protected $jetpack_search;
+ /**
+ * Module_Control instance
+ *
+ * @var Module_Control
+ */
+ protected $module_control;
+
+ /**
+ * Search_Widget constructor.
*
* @param string $name Widget name.
+ * @since 5.0.0
*/
public function __construct( $name = null ) {
if ( empty( $name ) ) {
- $name = esc_html__( 'Search', 'jetpack' );
+ $name = esc_html__( 'Search', 'jetpack-search-pkg' );
}
+ $this->module_control = new Module_Control();
parent::__construct(
Helper::FILTER_WIDGET_BASE,
/** This filter is documented in modules/widgets/facebook-likebox.php */
apply_filters( 'jetpack_widget_name', $name ),
array(
'classname' => 'jetpack-filters widget_search',
- 'description' => __( 'Instant search and filtering to help visitors quickly find relevant answers and explore your site.', 'jetpack' ),
+ 'description' => __( 'Instant search and filtering to help visitors quickly find relevant answers and explore your site.', 'jetpack-search-pkg' ),
)
);
@@ -111,7 +98,7 @@ class Jetpack_Search_Widget extends WP_Widget {
* @since 6.3
*/
public function is_search_active() {
- return Jetpack::is_module_active( 'search' );
+ return $this->module_control->is_active();
}
/**
@@ -120,7 +107,7 @@ class Jetpack_Search_Widget extends WP_Widget {
* @since 6.3
*/
public function activate_search() {
- Jetpack::activate_module( 'search', false, false );
+ return $this->module_control->activate();
}
/**
@@ -129,30 +116,32 @@ class Jetpack_Search_Widget extends WP_Widget {
* @since 5.7.0
*/
public function widget_admin_setup() {
- wp_enqueue_style(
- 'widget-jetpack-search-filters',
- plugins_url( 'search/css/search-widget-admin-ui.css', __FILE__ ),
- array(),
- JETPACK__VERSION
- );
-
// Register jp-tracks and jp-tracks-functions.
Tracking::register_tracks_functions_scripts();
- wp_register_script(
+ Assets::register_script(
'jetpack-search-widget-admin',
- plugins_url( 'search/js/search-widget-admin.js', __FILE__ ),
- array( 'jquery', 'jquery-ui-sortable', 'jp-tracks-functions' ),
- JETPACK__VERSION,
- false
+ 'js/search-widget-admin.js',
+ __FILE__,
+ array(
+ 'in_footer' => true,
+ 'textdomain' => 'jetpack-search-pkg',
+ 'css_path' => 'css/search-widget-admin-ui.css',
+ 'dependencies' => array( 'jquery', 'jquery-ui-sortable', 'jp-tracks-functions' ),
+ )
);
+ $dotcom_data = ( new Connection_Manager( Package::SLUG ) )->get_connected_user_data();
+
wp_localize_script(
'jetpack-search-widget-admin',
'jetpack_search_filter_admin',
array(
'defaultFilterCount' => self::DEFAULT_FILTER_COUNT,
- 'tracksUserData' => Jetpack_Tracks_Client::get_connected_user_tracks_identity(),
+ 'tracksUserData' => ! empty( $dotcom_data ) ? array(
+ 'userid' => $dotcom_data['ID'],
+ 'username' => $dotcom_data['login'],
+ ) : false,
'tracksEventData' => array(
'is_customizer' => (int) is_customize_preview(),
),
@@ -165,7 +154,7 @@ class Jetpack_Search_Widget extends WP_Widget {
)
);
- wp_enqueue_script( 'jetpack-search-widget-admin' );
+ Assets::enqueue_script( 'jetpack-search-widget-admin' );
}
/**
@@ -177,62 +166,58 @@ class Jetpack_Search_Widget extends WP_Widget {
if ( ! is_active_widget( false, false, $this->id_base, true ) || Options::is_instant_enabled() ) {
return;
}
-
- wp_enqueue_script(
- 'jetpack-search-widget',
- plugins_url( 'search/js/search-widget.js', __FILE__ ),
- array(),
- JETPACK__VERSION,
- true
- );
-
- wp_enqueue_style(
+ Assets::register_script(
'jetpack-search-widget',
- plugins_url( 'search/css/search-widget-frontend.css', __FILE__ ),
- array(),
- JETPACK__VERSION
+ 'js/search-widget.js',
+ __FILE__,
+ array(
+ 'in_footer' => true,
+ 'textdomain' => 'jetpack-search-pkg',
+ // Jetpack the plugin would concatenated the style with other styles and minimize. And the style would be dequeued from WP.
+ // @see https://github.com/Automattic/jetpack/blob/b3de78dce3d88b0d9b283282a5b04515245c8057/projects/plugins/jetpack/tools/builder/frontend-css.js#L52.
+ // @see https://github.com/Automattic/jetpack/blob/bb1b6a9a9cfa98600441f8fa31c9f9c4ef9a04a5/projects/plugins/jetpack/class.jetpack.php#L106.
+ 'css_path' => 'css/search-widget-frontend.css',
+ )
);
+ Assets::enqueue_script( 'jetpack-search-widget' );
}
/**
* Get the list of valid sort types/orders.
*
- * @since 5.8.0
- *
* @return array The sort orders.
+ * @since 5.8.0
*/
private function get_sort_types() {
return array(
- 'relevance|DESC' => is_admin() ? esc_html__( 'Relevance (recommended)', 'jetpack' ) : esc_html__( 'Relevance', 'jetpack' ),
- 'date|DESC' => esc_html__( 'Newest first', 'jetpack' ),
- 'date|ASC' => esc_html__( 'Oldest first', 'jetpack' ),
+ 'relevance|DESC' => is_admin() ? esc_html__( 'Relevance (recommended)', 'jetpack-search-pkg' ) : esc_html__( 'Relevance', 'jetpack-search-pkg' ),
+ 'date|DESC' => esc_html__( 'Newest first', 'jetpack-search-pkg' ),
+ 'date|ASC' => esc_html__( 'Oldest first', 'jetpack-search-pkg' ),
);
}
/**
* Callback for an array_filter() call in order to only get filters for the current widget.
*
- * @see Jetpack_Search_Widget::widget()
- *
- * @since 5.7.0
- *
* @param array $item Filter item.
*
* @return bool Whether the current filter item is for the current widget.
+ * @see Search_Widget::widget()
+ *
+ * @since 5.7.0
*/
public function is_for_current_widget( $item ) {
- return isset( $item['widget_id'] ) && $this->id == $item['widget_id']; // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ return isset( $item['widget_id'] ) && $this->id == $item['widget_id']; // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
}
/**
* This method returns a boolean for whether the widget should show site-wide filters for the site.
*
* This is meant to provide backwards-compatibility for VIP, and other professional plan users, that manually
- * configured filters via `Jetpack_Search::set_filters()`.
- *
- * @since 5.7.0
+ * configured filters via `Automattic\Jetpack\Search\Classic_Search::set_filters()`.
*
* @return bool Whether the widget should display site-wide filters or not.
+ * @since 5.7.0
*/
public function should_display_sitewide_filters() {
$filter_widgets = get_option( 'widget_jetpack-search-filters' );
@@ -277,9 +262,9 @@ class Jetpack_Search_Widget extends WP_Widget {
/**
* Populates the instance array with appropriate default values.
*
- * @since 8.6.0
* @param array $instance Previously saved values from database.
* @return array Instance array with default values approprate for instant search
+ * @since 8.6.0
*/
public function populate_defaults_for_instant_search( $instance ) {
return wp_parse_args(
@@ -294,10 +279,9 @@ class Jetpack_Search_Widget extends WP_Widget {
/**
* Responsible for rendering the widget on the frontend.
*
- * @since 5.0.0
- *
* @param array $args Widgets args supplied by the theme.
* @param array $instance The current widget instance.
+ * @since 5.0.0
*/
public function widget( $args, $instance ) {
$instance = $this->jetpack_search_populate_defaults( $instance );
@@ -307,7 +291,7 @@ class Jetpack_Search_Widget extends WP_Widget {
?><div id="<?php echo esc_attr( $this->id ); ?>-wrapper">
<div class="jetpack-search-sort-wrapper">
<label>
- <?php esc_html_e( 'Jetpack Search not supported in Offline Mode', 'jetpack' ); ?>
+ <?php esc_html_e( 'Jetpack Search not supported in Offline Mode', 'jetpack-search-pkg' ); ?>
</label>
</div>
</div>
@@ -330,20 +314,20 @@ class Jetpack_Search_Widget extends WP_Widget {
/**
* Render the non-instant frontend widget.
*
- * @since 8.3.0
- *
* @param array $args Widgets args supplied by the theme.
* @param array $instance The current widget instance.
+ * @since 8.3.0
*/
public function widget_non_instant( $args, $instance ) {
$display_filters = false;
- if ( is_search() ) {
+ // Search instance must have been initialized before widget render.
+ if ( is_search() && Classic_Search::instance() ) {
if ( Helper::should_rerun_search_in_customizer_preview() ) {
- Jetpack_Search::instance()->update_search_results_aggregations();
+ Classic_Search::instance()->update_search_results_aggregations();
}
- $filters = Jetpack_Search::instance()->get_filters();
+ $filters = Classic_Search::instance()->get_filters();
if ( ! Helper::are_filters_by_widget_disabled() && ! $this->should_display_sitewide_filters() ) {
$filters = array_filter( $filters, array( $this, 'is_for_current_widget' ) );
@@ -374,11 +358,10 @@ class Jetpack_Search_Widget extends WP_Widget {
*
* @module search
*
- * @since 5.7.0
- *
* @param string $title The widget's title
* @param string $args['before_title'] The HTML tag to display before the title
* @param string $args['after_title'] The HTML tag to display after the title
+ *@since 5.7.0
*/
do_action( 'jetpack_search_render_filters_widget_title', $title, $args['before_title'], $args['after_title'] );
}
@@ -390,14 +373,14 @@ class Jetpack_Search_Widget extends WP_Widget {
// we need to dynamically inject the sort field into the search box when the search box is enabled, and display
// it separately when it's not.
if ( ! empty( $instance['search_box_enabled'] ) ) {
- Automattic\Jetpack\Search\Template_Tags::render_widget_search_form( $instance['post_types'], $orderby, $order );
+ Template_Tags::render_widget_search_form( $instance['post_types'], $orderby, $order );
}
if ( ! empty( $instance['search_box_enabled'] ) && ! empty( $instance['user_sort_enabled'] ) ) :
?>
<div class="jetpack-search-sort-wrapper">
<label>
- <?php esc_html_e( 'Sort by', 'jetpack' ); ?>
+ <?php esc_html_e( 'Sort by', 'jetpack-search-pkg' ); ?>
<select class="jetpack-search-sort">
<?php foreach ( $this->get_sort_types() as $sort => $label ) { ?>
<option value="<?php echo esc_attr( $sort ); ?>" <?php selected( $current_sort, $sort ); ?>>
@@ -416,10 +399,9 @@ class Jetpack_Search_Widget extends WP_Widget {
*
* @module search
*
- * @since 5.8.0
- *
* @param array $filters The possible filters for the current query.
* @param array $post_types An array of post types to limit filtering to.
+ *@since 5.8.0
*/
do_action(
'jetpack_search_render_filters',
@@ -437,17 +419,21 @@ class Jetpack_Search_Widget extends WP_Widget {
/**
* Render the instant frontend widget.
*
- * @since 8.3.0
- *
* @param array $args Widgets args supplied by the theme.
* @param array $instance The current widget instance.
+ * @since 8.3.0
*/
public function widget_instant( $args, $instance ) {
+ // Exit early if search instance has not been initialized.
+ if ( ! Instant_Search::instance() ) {
+ return false;
+ }
+
if ( Helper::should_rerun_search_in_customizer_preview() ) {
- Jetpack_Search::instance()->update_search_results_aggregations();
+ Instant_Search::instance()->update_search_results_aggregations();
}
- $filters = Jetpack_Search::instance()->get_filters();
+ $filters = Instant_Search::instance()->get_filters();
if ( ! Helper::are_filters_by_widget_disabled() && ! $this->should_display_sitewide_filters() ) {
$filters = array_filter( $filters, array( $this, 'is_for_current_widget' ) );
}
@@ -470,16 +456,15 @@ class Jetpack_Search_Widget extends WP_Widget {
*
* @module search
*
- * @since 5.7.0
- *
* @param string $title The widget's title
* @param string $args['before_title'] The HTML tag to display before the title
* @param string $args['after_title'] The HTML tag to display after the title
+ *@since 5.7.0
*/
do_action( 'jetpack_search_render_filters_widget_title', $title, $args['before_title'], $args['after_title'] );
}
- Automattic\Jetpack\Search\Template_Tags::render_widget_search_form( array(), '', '' );
+ Template_Tags::render_widget_search_form( array(), '', '' );
if ( $display_filters ) {
/**
@@ -487,10 +472,9 @@ class Jetpack_Search_Widget extends WP_Widget {
*
* @module search
*
- * @since 5.8.0
- *
* @param array $filters The possible filters for the current query.
* @param array $post_types An array of post types to limit filtering to.
+ *@since 5.8.0
*/
do_action(
'jetpack_search_render_filters',
@@ -506,10 +490,9 @@ class Jetpack_Search_Widget extends WP_Widget {
/**
* Render the instant widget for the overlay.
*
- * @since 8.3.0
- *
* @param array $args Widgets args supplied by the theme.
* @param array $instance The current widget instance.
+ * @since 8.3.0
*/
public function widget_empty_instant( $args, $instance ) {
$title = isset( $instance['title'] ) ? $instance['title'] : '';
@@ -532,11 +515,10 @@ class Jetpack_Search_Widget extends WP_Widget {
*
* @module search
*
- * @since 5.7.0
- *
* @param string $title The widget's title
* @param string $args['before_title'] The HTML tag to display before the title
* @param string $args['after_title'] The HTML tag to display after the title
+ *@since 5.7.0
*/
do_action( 'jetpack_search_render_filters_widget_title', $title, $args['before_title'], $args['after_title'] );
}
@@ -553,11 +535,10 @@ class Jetpack_Search_Widget extends WP_Widget {
* - find the orderby/order fields and set default values
* - detect changes to the sort field, if it exists, and use it to set the order field values
*
- * @since 5.8.0
- *
* @param array $instance The current widget instance.
* @param string $order The order to initialize the select with.
* @param string $orderby The orderby to initialize the select with.
+ * @since 5.8.0
*/
private function maybe_render_sort_javascript( $instance, $order, $orderby ) {
if ( Options::is_instant_enabled() ) {
@@ -615,21 +596,20 @@ class Jetpack_Search_Widget extends WP_Widget {
/**
* Convert a sort string into the separate order by and order parts.
*
- * @since 5.8.0
- *
* @param string $sort A sort string.
*
* @return array Order by and order.
+ * @since 5.8.0
*/
private function sorting_to_wp_query_param( $sort ) {
// phpcs:disable WordPress.Security.NonceVerification.Recommended
$parts = explode( '|', $sort );
$orderby = isset( $_GET['orderby'] )
- ? $_GET['orderby']
+ ? sanitize_sql_orderby( wp_unslash( $_GET['orderby'] ) )
: $parts[0];
$order = isset( $_GET['order'] )
- ? strtoupper( $_GET['order'] )
+ ? ( strtoupper( $_GET['order'] ) === 'ASC' ? 'ASC' : 'DESC' ) // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is validating.
: ( ( isset( $parts[1] ) && 'ASC' === strtoupper( $parts[1] ) ) ? 'ASC' : 'DESC' );
// phpcs:enable WordPress.Security.NonceVerification.Recommended
@@ -640,12 +620,11 @@ class Jetpack_Search_Widget extends WP_Widget {
/**
* Updates a particular instance of the widget. Validates and sanitizes the options.
*
- * @since 5.0.0
- *
- * @param array $new_instance New settings for this instance as input by the user via Jetpack_Search_Widget::form().
+ * @param array $new_instance New settings for this instance as input by the user via Search_Widget::form().
* @param array $old_instance Old settings for this instance.
*
* @return array Settings to save.
+ * @since 5.0.0
*/
public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$new_instance = $this->maybe_reformat_widget( $new_instance );
@@ -654,7 +633,7 @@ class Jetpack_Search_Widget extends WP_Widget {
$instance['title'] = sanitize_text_field( $new_instance['title'] );
$instance['search_box_enabled'] = empty( $new_instance['search_box_enabled'] ) ? '0' : '1';
$instance['user_sort_enabled'] = empty( $new_instance['user_sort_enabled'] ) ? '0' : '1';
- $instance['sort'] = $new_instance['sort'];
+ $instance['sort'] = empty( $new_instance['sort'] ) ? self::DEFAULT_SORT : $new_instance['sort'];
$instance['post_types'] = empty( $new_instance['post_types'] ) || empty( $instance['search_box_enabled'] )
? array()
: array_map( 'sanitize_key', $new_instance['post_types'] );
@@ -731,9 +710,8 @@ class Jetpack_Search_Widget extends WP_Widget {
/**
* Outputs the settings update form.
*
- * @since 5.0.0
- *
* @param array $instance Previously saved values from database.
+ * @since 5.0.0
*/
public function form( $instance ) {
if ( Options::is_instant_enabled() ) {
@@ -756,7 +734,7 @@ class Jetpack_Search_Widget extends WP_Widget {
<div class="<?php echo esc_attr( $classes ); ?>">
<p>
<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
- <?php esc_html_e( 'Title (optional):', 'jetpack' ); ?>
+ <?php esc_html_e( 'Title (optional):', 'jetpack-search-pkg' ); ?>
</label>
<input
class="widefat"
@@ -775,7 +753,7 @@ class Jetpack_Search_Widget extends WP_Widget {
name="<?php echo esc_attr( $this->get_field_name( 'search_box_enabled' ) ); ?>"
<?php checked( $instance['search_box_enabled'] ); ?>
/>
- <?php esc_html_e( 'Show search box', 'jetpack' ); ?>
+ <?php esc_html_e( 'Show search box', 'jetpack-search-pkg' ); ?>
</label>
</p>
@@ -788,12 +766,12 @@ class Jetpack_Search_Widget extends WP_Widget {
<?php checked( $instance['user_sort_enabled'] ); ?>
<?php disabled( ! $instance['search_box_enabled'] ); ?>
/>
- <?php esc_html_e( 'Show sort selection dropdown', 'jetpack' ); ?>
+ <?php esc_html_e( 'Show sort selection dropdown', 'jetpack-search-pkg' ); ?>
</label>
</p>
<p class="jetpack-search-filters-widget__post-types-select">
- <label><?php esc_html_e( 'Post types to search (minimum of 1):', 'jetpack' ); ?></label>
+ <label><?php esc_html_e( 'Post types to search (minimum of 1):', 'jetpack-search-pkg' ); ?></label>
<?php foreach ( get_post_types( array( 'exclude_from_search' => false ), 'objects' ) as $post_type ) : ?>
<label>
<input
@@ -809,7 +787,7 @@ class Jetpack_Search_Widget extends WP_Widget {
<p>
<label>
- <?php esc_html_e( 'Default sort order:', 'jetpack' ); ?>
+ <?php esc_html_e( 'Default sort order:', 'jetpack-search-pkg' ); ?>
<select
name="<?php echo esc_attr( $this->get_field_name( 'sort' ) ); ?>"
class="widefat jetpack-search-filters-widget__sort-order">
@@ -835,18 +813,18 @@ class Jetpack_Search_Widget extends WP_Widget {
</div>
<p class="jetpack-search-filters-widget__add-filter-wrapper">
<a class="button jetpack-search-filters-widget__add-filter" href="#">
- <?php esc_html_e( 'Add a filter', 'jetpack' ); ?>
+ <?php esc_html_e( 'Add a filter', 'jetpack-search-pkg' ); ?>
</a>
</p>
<noscript>
<p class="jetpack-search-filters-help">
- <?php echo esc_html_e( 'Adding filters requires JavaScript!', 'jetpack' ); ?>
+ <?php echo esc_html_e( 'Adding filters requires JavaScript!', 'jetpack-search-pkg' ); ?>
</p>
</noscript>
<?php if ( is_customize_preview() ) : ?>
<p class="jetpack-search-filters-help">
<a href="<?php echo esc_url( Redirect::get_url( 'jetpack-support-search', array( 'anchor' => 'filters-not-showing-up' ) ) ); ?>" target="_blank">
- <?php esc_html_e( "Why aren't my filters appearing?", 'jetpack' ); ?>
+ <?php esc_html_e( "Why aren't my filters appearing?", 'jetpack-search-pkg' ); ?>
</a>
</p>
<?php endif; ?>
@@ -858,9 +836,8 @@ class Jetpack_Search_Widget extends WP_Widget {
/**
* Outputs the widget update form to be used in the Customizer for Instant Search.
*
- * @since 8.6.0
- *
* @param array $instance Previously saved values from database.
+ * @since 8.6.0
*/
private function form_for_instant_search( $instance ) {
$instance = $this->populate_defaults_for_instant_search( $instance );
@@ -871,7 +848,7 @@ class Jetpack_Search_Widget extends WP_Widget {
<!-- Title control -->
<p>
<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
- <?php esc_html_e( 'Title (optional):', 'jetpack' ); ?>
+ <?php esc_html_e( 'Title (optional):', 'jetpack-search-pkg' ); ?>
</label>
<input
class="widefat"
@@ -891,7 +868,7 @@ class Jetpack_Search_Widget extends WP_Widget {
</div>
<p class="jetpack-search-filters-widget__add-filter-wrapper">
<a class="button jetpack-search-filters-widget__add-filter" href="#">
- <?php esc_html_e( 'Add a filter', 'jetpack' ); ?>
+ <?php esc_html_e( 'Add a filter', 'jetpack-search-pkg' ); ?>
</a>
</p>
<script class="jetpack-search-filters-widget__filter-template" type="text/template">
@@ -899,7 +876,7 @@ class Jetpack_Search_Widget extends WP_Widget {
</script>
<noscript>
<p class="jetpack-search-filters-help">
- <?php echo esc_html_e( 'Adding filters requires JavaScript!', 'jetpack' ); ?>
+ <?php echo esc_html_e( 'Adding filters requires JavaScript!', 'jetpack-search-pkg' ); ?>
</p>
</noscript>
<?php endif; ?>
@@ -912,11 +889,10 @@ class Jetpack_Search_Widget extends WP_Widget {
* and native PHP (server-side). This helper function allows for easy rendering
* of attributes in both formats.
*
- * @since 5.8.0
- *
* @param string $name Attribute name.
* @param string $value Attribute value.
* @param bool $is_template Whether this is for an Underscore template or not.
+ * @since 5.8.0
*/
private function render_widget_attr( $name, $value, $is_template ) {
echo $is_template ? "<%= $name %>" : esc_attr( $value ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
@@ -927,12 +903,11 @@ class Jetpack_Search_Widget extends WP_Widget {
* and native PHP (server-side). This helper function allows for easy rendering
* of the "selected" attribute in both formats.
*
- * @since 5.8.0
- *
* @param string $name Attribute name.
* @param string $value Attribute value.
* @param string $compare Value to compare to the attribute value to decide if it should be selected.
* @param bool $is_template Whether this is for an Underscore template or not.
+ * @since 5.8.0
*/
private function render_widget_option_selected( $name, $value, $compare, $is_template ) {
$compare_js = rawurlencode( $compare );
@@ -944,10 +919,9 @@ class Jetpack_Search_Widget extends WP_Widget {
*
* We use this method for two purposes - rendering the fields server-side, and also rendering a script template for Underscore.
*
- * @since 5.7.0
- *
* @param array $filter The filter to render.
* @param bool $is_template Whether this is for an Underscore template or not.
+ * @since 5.7.0
*/
public function render_widget_edit_filter( $filter, $is_template = false ) {
$args = wp_parse_args(
@@ -969,16 +943,16 @@ class Jetpack_Search_Widget extends WP_Widget {
<div class="jetpack-search-filters-widget__filter is-<?php $this->render_widget_attr( 'type', $args['type'], $is_template ); ?>">
<p class="jetpack-search-filters-widget__type-select">
<label>
- <?php esc_html_e( 'Filter Type:', 'jetpack' ); ?>
+ <?php esc_html_e( 'Filter Type:', 'jetpack-search-pkg' ); ?>
<select name="<?php echo esc_attr( $this->get_field_name( 'filter_type' ) ); ?>[]" class="widefat filter-select">
<option value="taxonomy" <?php $this->render_widget_option_selected( 'type', $args['type'], 'taxonomy', $is_template ); ?>>
- <?php esc_html_e( 'Taxonomy', 'jetpack' ); ?>
+ <?php esc_html_e( 'Taxonomy', 'jetpack-search-pkg' ); ?>
</option>
<option value="post_type" <?php $this->render_widget_option_selected( 'type', $args['type'], 'post_type', $is_template ); ?>>
- <?php esc_html_e( 'Post Type', 'jetpack' ); ?>
+ <?php esc_html_e( 'Post Type', 'jetpack-search-pkg' ); ?>
</option>
<option value="date_histogram" <?php $this->render_widget_option_selected( 'type', $args['type'], 'date_histogram', $is_template ); ?>>
- <?php esc_html_e( 'Date', 'jetpack' ); ?>
+ <?php esc_html_e( 'Date', 'jetpack-search-pkg' ); ?>
</option>
</select>
</label>
@@ -987,7 +961,7 @@ class Jetpack_Search_Widget extends WP_Widget {
<p class="jetpack-search-filters-widget__taxonomy-select">
<label>
<?php
- esc_html_e( 'Choose a taxonomy:', 'jetpack' );
+ esc_html_e( 'Choose a taxonomy:', 'jetpack-search-pkg' );
$seen_taxonomy_labels = array();
?>
<select name="<?php echo esc_attr( $this->get_field_name( 'taxonomy_type' ) ); ?>[]" class="widefat taxonomy-select">
@@ -997,7 +971,7 @@ class Jetpack_Search_Widget extends WP_Widget {
$label = in_array( $taxonomy->label, $seen_taxonomy_labels, true )
? sprintf(
/* translators: %1$s is the taxonomy name, %2s is the name of its type to help distinguish between several taxonomies with the same name, e.g. category and tag. */
- _x( '%1$s (%2$s)', 'A label for a taxonomy selector option', 'jetpack' ),
+ _x( '%1$s (%2$s)', 'A label for a taxonomy selector option', 'jetpack-search-pkg' ),
$taxonomy->label,
$taxonomy->name
)
@@ -1013,19 +987,19 @@ class Jetpack_Search_Widget extends WP_Widget {
<p class="jetpack-search-filters-widget__date-histogram-select">
<label>
- <?php esc_html_e( 'Choose a field:', 'jetpack' ); ?>
+ <?php esc_html_e( 'Choose a field:', 'jetpack-search-pkg' ); ?>
<select name="<?php echo esc_attr( $this->get_field_name( 'date_histogram_field' ) ); ?>[]" class="widefat date-field-select">
<option value="post_date" <?php $this->render_widget_option_selected( 'field', $args['field'], 'post_date', $is_template ); ?>>
- <?php esc_html_e( 'Date', 'jetpack' ); ?>
+ <?php esc_html_e( 'Date', 'jetpack-search-pkg' ); ?>
</option>
<option value="post_date_gmt" <?php $this->render_widget_option_selected( 'field', $args['field'], 'post_date_gmt', $is_template ); ?>>
- <?php esc_html_e( 'Date GMT', 'jetpack' ); ?>
+ <?php esc_html_e( 'Date GMT', 'jetpack-search-pkg' ); ?>
</option>
<option value="post_modified" <?php $this->render_widget_option_selected( 'field', $args['field'], 'post_modified', $is_template ); ?>>
- <?php esc_html_e( 'Modified', 'jetpack' ); ?>
+ <?php esc_html_e( 'Modified', 'jetpack-search-pkg' ); ?>
</option>
<option value="post_modified_gmt" <?php $this->render_widget_option_selected( 'field', $args['field'], 'post_modified_gmt', $is_template ); ?>>
- <?php esc_html_e( 'Modified GMT', 'jetpack' ); ?>
+ <?php esc_html_e( 'Modified GMT', 'jetpack-search-pkg' ); ?>
</option>
</select>
</label>
@@ -1033,13 +1007,13 @@ class Jetpack_Search_Widget extends WP_Widget {
<p class="jetpack-search-filters-widget__date-histogram-select">
<label>
- <?php esc_html_e( 'Choose an interval:', 'jetpack' ); ?>
+ <?php esc_html_e( 'Choose an interval:', 'jetpack-search-pkg' ); ?>
<select name="<?php echo esc_attr( $this->get_field_name( 'date_histogram_interval' ) ); ?>[]" class="widefat date-interval-select">
<option value="month" <?php $this->render_widget_option_selected( 'interval', $args['interval'], 'month', $is_template ); ?>>
- <?php esc_html_e( 'Month', 'jetpack' ); ?>
+ <?php esc_html_e( 'Month', 'jetpack-search-pkg' ); ?>
</option>
<option value="year" <?php $this->render_widget_option_selected( 'interval', $args['interval'], 'year', $is_template ); ?>>
- <?php esc_html_e( 'Year', 'jetpack' ); ?>
+ <?php esc_html_e( 'Year', 'jetpack-search-pkg' ); ?>
</option>
</select>
</label>
@@ -1047,7 +1021,7 @@ class Jetpack_Search_Widget extends WP_Widget {
<p class="jetpack-search-filters-widget__title">
<label>
- <?php esc_html_e( 'Title:', 'jetpack' ); ?>
+ <?php esc_html_e( 'Title:', 'jetpack-search-pkg' ); ?>
<input
class="widefat"
type="text"
@@ -1060,7 +1034,7 @@ class Jetpack_Search_Widget extends WP_Widget {
<p>
<label>
- <?php esc_html_e( 'Maximum number of filters (1-50):', 'jetpack' ); ?>
+ <?php esc_html_e( 'Maximum number of filters (1-50):', 'jetpack-search-pkg' ); ?>
<input
class="widefat filter-count"
name="<?php echo esc_attr( $this->get_field_name( 'num_filters' ) ); ?>[]"
@@ -1075,7 +1049,7 @@ class Jetpack_Search_Widget extends WP_Widget {
</p>
<p class="jetpack-search-filters-widget__controls">
- <a href="#" class="delete"><?php esc_html_e( 'Remove', 'jetpack' ); ?></a>
+ <a href="#" class="delete"><?php esc_html_e( 'Remove', 'jetpack-search-pkg' ); ?></a>
</p>
</div>
<?php
diff --git a/plugins/jetpack/modules/widgets/search/css/search-widget-admin-ui.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/css/search-widget-admin-ui.css
index b5f4544a..b5f4544a 100644
--- a/plugins/jetpack/modules/widgets/search/css/search-widget-admin-ui.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/css/search-widget-admin-ui.css
diff --git a/plugins/jetpack/modules/widgets/search/css/search-widget-frontend.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/css/search-widget-frontend.css
index 58c7cf3e..58c7cf3e 100644
--- a/plugins/jetpack/modules/widgets/search/css/search-widget-frontend.css
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/css/search-widget-frontend.css
diff --git a/plugins/jetpack/modules/widgets/search/js/search-widget-admin.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/js/search-widget-admin.js
index d4ae235f..d4ae235f 100644
--- a/plugins/jetpack/modules/widgets/search/js/search-widget-admin.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/js/search-widget-admin.js
diff --git a/plugins/jetpack/modules/widgets/search/js/search-widget.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/js/search-widget.js
index 0f47e8e8..0f47e8e8 100644
--- a/plugins/jetpack/modules/widgets/search/js/search-widget.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/widgets/js/search-widget.js
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-builder.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-builder.php
index faa405ad..62b4f892 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-builder.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-builder.php
@@ -310,7 +310,7 @@ class Query_Builder {
);
}
- if ( ! is_null( $this->query_bool_boost ) && isset( $query['bool'] ) ) {
+ if ( $this->query_bool_boost !== null && isset( $query['bool'] ) ) {
$query['bool']['boost'] = $this->query_bool_boost;
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/CHANGELOG.md
index b05aac40..fe3bc8ee 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/CHANGELOG.md
@@ -5,6 +5,52 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.13.6] - 2022-05-24
+### Added
+- Allow plugins to filter the list of available modules. Only activate and consider active modules that are available [#24454]
+
+## [1.13.5] - 2022-05-20
+### Changed
+- Modules: Make activate() method Jetpack plugin agnostic. Allowing standalone plugins to use it without Jetpack.
+
+## [1.13.4] - 2022-05-19
+### Added
+- PHPCS updates. [#24418]
+
+## [1.13.3] - 2022-05-10
+
+## [1.13.2] - 2022-04-26
+### Changed
+- Updated package dependencies.
+
+## [1.13.1] - 2022-04-19
+### Changed
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+
+## [1.13.0] - 2022-04-05
+### Added
+- Created Modules and File modules for managing those resources
+
+## [1.12.0] - 2022-03-02
+### Added
+- Cache return values (per blog) from various status methods.
+
+## [1.11.2] - 2022-02-28
+### Fixed
+- Re-doing 1.11.1 to fixup a bad release.
+
+## [1.11.1] - 2022-02-28
+### Fixed
+- Remove trailing semicolor form site suffix.
+
+## [1.11.0] - 2022-02-22
+### Added
+- Add methods to distinguish Newspack and VIP sites.
+
+## [1.10.0] - 2022-01-25
+### Added
+- Added Visitor class for status regarding the site visitor.
+
## [1.9.5] - 2022-01-04
### Changed
- Switch to pcov for code coverage.
@@ -146,6 +192,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Packages: Introduce a status package
+[1.13.6]: https://github.com/Automattic/jetpack-status/compare/v1.13.5...v1.13.6
+[1.13.5]: https://github.com/Automattic/jetpack-status/compare/v1.13.4...v1.13.5
+[1.13.4]: https://github.com/Automattic/jetpack-status/compare/v1.13.3...v1.13.4
+[1.13.3]: https://github.com/Automattic/jetpack-status/compare/v1.13.2...v1.13.3
+[1.13.2]: https://github.com/Automattic/jetpack-status/compare/v1.13.1...v1.13.2
+[1.13.1]: https://github.com/Automattic/jetpack-status/compare/v1.13.0...v1.13.1
+[1.13.0]: https://github.com/Automattic/jetpack-status/compare/v1.12.0...v1.13.0
+[1.12.0]: https://github.com/Automattic/jetpack-status/compare/v1.11.2...v1.12.0
+[1.11.2]: https://github.com/Automattic/jetpack-status/compare/v1.11.1...v1.11.2
+[1.11.1]: https://github.com/Automattic/jetpack-status/compare/v1.11.0...v1.11.1
+[1.11.0]: https://github.com/Automattic/jetpack-status/compare/v1.10.0...v1.11.0
+[1.10.0]: https://github.com/Automattic/jetpack-status/compare/v1.9.5...v1.10.0
[1.9.5]: https://github.com/Automattic/jetpack-status/compare/v1.9.4...v1.9.5
[1.9.4]: https://github.com/Automattic/jetpack-status/compare/v1.9.3...v1.9.4
[1.9.3]: https://github.com/Automattic/jetpack-status/compare/v1.9.2...v1.9.3
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-cache.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-cache.php
new file mode 100644
index 00000000..9ca54593
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-cache.php
@@ -0,0 +1,55 @@
+<?php
+/**
+ * A static in-process cache for blog data.
+ *
+ * @package automattic/jetpack-status
+ */
+
+namespace Automattic\Jetpack\Status;
+
+/**
+ * A static in-process cache for blog data.
+ *
+ * For internal use only. Do not use this externally.
+ */
+class Cache {
+ /**
+ * Cached data;
+ *
+ * @var array[]
+ */
+ private static $cache = array();
+
+ /**
+ * Get a value from the cache.
+ *
+ * @param string $key Key to fetch.
+ * @param mixed $default Default value to return if the key is not set.
+ * @returns mixed Data.
+ */
+ public static function get( $key, $default = null ) {
+ $blog_id = get_current_blog_id();
+ return isset( self::$cache[ $blog_id ] ) && array_key_exists( $key, self::$cache[ $blog_id ] ) ? self::$cache[ $blog_id ][ $key ] : $default;
+ }
+
+ /**
+ * Set a value in the cache.
+ *
+ * @param string $key Key to set.
+ * @param mixed $value Value to store.
+ */
+ public static function set( $key, $value ) {
+ $blog_id = get_current_blog_id();
+ self::$cache[ $blog_id ][ $key ] = $value;
+ }
+
+ /**
+ * Clear the cache.
+ *
+ * This is intended for use in unit tests.
+ */
+ public static function clear() {
+ self::$cache = array();
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php
new file mode 100644
index 00000000..7256a51f
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php
@@ -0,0 +1,103 @@
+<?php
+/**
+ * Pass state to subsequent requests via cookies.
+ *
+ * @package automattic/jetpack-status
+ */
+
+namespace Automattic\Jetpack;
+
+/**
+ * Class Automattic\Jetpack\Status
+ *
+ * Used to retrieve information about the current status of Jetpack and the site overall.
+ */
+class CookieState {
+
+ /**
+ * State is passed via cookies from one request to the next, but never to subsequent requests.
+ * SET: state( $key, $value );
+ * GET: $value = state( $key );
+ *
+ * @param string $key State key.
+ * @param string $value Value.
+ * @param bool $restate Reset the cookie (private).
+ */
+ public function state( $key = null, $value = null, $restate = false ) {
+ static $state = array();
+ static $path, $domain;
+ if ( ! isset( $path ) ) {
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
+ $admin_url = ( new Paths() )->admin_url();
+ $bits = wp_parse_url( $admin_url );
+
+ if ( is_array( $bits ) ) {
+ $path = ( isset( $bits['path'] ) ) ? dirname( $bits['path'] ) : null;
+ $domain = ( isset( $bits['host'] ) ) ? $bits['host'] : null;
+ } else {
+ $path = null;
+ $domain = null;
+ }
+ }
+
+ // Extract state from cookies and delete cookies.
+ if ( isset( $_COOKIE['jetpackState'] ) && is_array( $_COOKIE['jetpackState'] ) ) {
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- User should sanitize if necessary.
+ $yum = wp_unslash( $_COOKIE['jetpackState'] );
+ unset( $_COOKIE['jetpackState'] );
+ foreach ( $yum as $k => $v ) {
+ if ( strlen( $v ) ) {
+ $state[ $k ] = $v;
+ }
+ setcookie( "jetpackState[$k]", false, 0, $path, $domain, is_ssl(), true );
+ }
+ }
+
+ if ( $restate ) {
+ foreach ( $state as $k => $v ) {
+ setcookie( "jetpackState[$k]", $v, 0, $path, $domain, is_ssl(), true );
+ }
+ return;
+ }
+
+ // Get a state variable.
+ if ( isset( $key ) && ! isset( $value ) ) {
+ if ( array_key_exists( $key, $state ) ) {
+ return $state[ $key ];
+ }
+ return null;
+ }
+
+ // Set a state variable.
+ if ( isset( $key ) && isset( $value ) ) {
+ if ( is_array( $value ) && isset( $value[0] ) ) {
+ $value = $value[0];
+ }
+ $state[ $key ] = $value;
+ if ( ! headers_sent() ) {
+ if ( $this->should_set_cookie( $key ) ) {
+ setcookie( "jetpackState[$key]", $value, 0, $path, $domain, is_ssl(), true );
+ }
+ }
+ }
+ }
+
+ /**
+ * Determines whether the jetpackState[$key] value should be added to the
+ * cookie.
+ *
+ * @param string $key The state key.
+ *
+ * @return boolean Whether the value should be added to the cookie.
+ */
+ public function should_set_cookie( $key ) {
+ global $current_screen;
+ $page = isset( $current_screen->base ) ? $current_screen->base : null;
+
+ if ( 'toplevel_page_jetpack' === $page && 'display_update_modal' === $key ) {
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-errors.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-errors.php
new file mode 100644
index 00000000..99751fd1
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-errors.php
@@ -0,0 +1,43 @@
+<?php
+/**
+ * An errors utility class for Jetpack.
+ *
+ * @package automattic/jetpack-status
+ */
+
+// phpcs:disable WordPress.PHP.IniSet.display_errors_Blacklisted
+// phpcs:disable WordPress.PHP.NoSilencedErrors.Discouraged
+// phpcs:disable WordPress.PHP.DevelopmentFunctions.prevent_path_disclosure_error_reporting
+// phpcs:disable WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration_error_reporting
+
+namespace Automattic\Jetpack;
+
+/**
+ * Erros class.
+ */
+class Errors {
+ /**
+ * Catches PHP errors. Must be used in conjunction with output buffering.
+ *
+ * @param bool $catch True to start catching, False to stop.
+ *
+ * @static
+ */
+ public function catch_errors( $catch ) {
+ static $display_errors, $error_reporting;
+
+ if ( $catch ) {
+ $display_errors = @ini_set( 'display_errors', 1 );
+ $error_reporting = @error_reporting( E_ALL );
+ if ( class_exists( 'Jetpack' ) ) {
+ add_action( 'shutdown', array( 'Jetpack', 'catch_errors_on_shutdown' ), 0 );
+ }
+ } else {
+ @ini_set( 'display_errors', $display_errors );
+ @error_reporting( $error_reporting );
+ if ( class_exists( 'Jetpack' ) ) {
+ remove_action( 'shutdown', array( 'Jetpack', 'catch_errors_on_shutdown' ), 0 );
+ }
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-files.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-files.php
new file mode 100644
index 00000000..5f5e4129
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-files.php
@@ -0,0 +1,54 @@
+<?php
+/**
+ * A modules class for Jetpack.
+ *
+ * @package automattic/jetpack-status
+ */
+
+namespace Automattic\Jetpack;
+
+/**
+ * Class Automattic\Jetpack\Files
+ *
+ * Used to retrieve information about files.
+ */
+class Files {
+ /**
+ * Returns an array of all PHP files in the specified absolute path.
+ * Equivalent to glob( "$absolute_path/*.php" ).
+ *
+ * @param string $absolute_path The absolute path of the directory to search.
+ * @return array Array of absolute paths to the PHP files.
+ */
+ public function glob_php( $absolute_path ) {
+ if ( function_exists( 'glob' ) ) {
+ return glob( "$absolute_path/*.php" );
+ }
+
+ $absolute_path = untrailingslashit( $absolute_path );
+ $files = array();
+ $dir = @opendir( $absolute_path ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
+ if ( ! $dir ) {
+ return $files;
+ }
+
+ // phpcs:ignore WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition
+ while ( false !== $file = readdir( $dir ) ) {
+ if ( '.' === substr( $file, 0, 1 ) || '.php' !== substr( $file, -4 ) ) {
+ continue;
+ }
+
+ $file = "$absolute_path/$file";
+
+ if ( ! is_file( $file ) ) {
+ continue;
+ }
+
+ $files[] = $file;
+ }
+
+ closedir( $dir );
+
+ return $files;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-host.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-host.php
index a0765f6d..dfe1e6ec 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-host.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-host.php
@@ -17,19 +17,24 @@ class Host {
* Determine if this site is an WordPress.com on Atomic site or not looking first at the 'at_options' option.
* As a fallback, check for presence of wpcomsh plugin to determine if a current site has undergone AT.
*
- * @since $$next_version$$
+ * @since 1.9.0
*
* @return bool
*/
public function is_woa_site() {
- $at_options = get_option( 'at_options', array() );
- return $this->is_atomic_platform() && ( ! empty( $at_options ) || Constants::is_true( 'WPCOMSH__PLUGIN_FILE' ) );
+ $ret = Cache::get( 'is_woa_site' );
+ if ( null === $ret ) {
+ $at_options = get_option( 'at_options', array() );
+ $ret = $this->is_atomic_platform() && ( ! empty( $at_options ) || Constants::is_true( 'WPCOMSH__PLUGIN_FILE' ) );
+ Cache::set( 'is_woa_site', $ret );
+ }
+ return $ret;
}
/**
- * Determine if site is hosted on the Atomic hosting platform.
+ * Determine if the site is hosted on the Atomic hosting platform.
*
- * @since $$next_version$$
+ * @since 1.9.0
*
* @return bool;
*/
@@ -37,4 +42,21 @@ class Host {
return Constants::is_true( 'ATOMIC_SITE_ID' ) && Constants::is_true( 'ATOMIC_CLIENT_ID' );
}
+ /**
+ * Determine if this is a Newspack site.
+ *
+ * @return bool
+ */
+ public function is_newspack_site() {
+ return Constants::is_defined( 'NEWSPACK_PLUGIN_FILE' );
+ }
+
+ /**
+ * Determine if this is a VIP-hosted site.
+ *
+ * @return bool
+ */
+ public function is_vip_site() {
+ return Constants::is_defined( 'WPCOM_IS_VIP_ENV' ) && true === Constants::get_constant( 'WPCOM_IS_VIP_ENV' );
+ }
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-modules.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-modules.php
new file mode 100644
index 00000000..2fd398b0
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-modules.php
@@ -0,0 +1,591 @@
+<?php
+/**
+ * A modules class for Jetpack.
+ *
+ * @package automattic/jetpack-status
+ */
+
+namespace Automattic\Jetpack;
+
+use Automattic\Jetpack\Constants as Constants;
+
+/**
+ * Class Automattic\Jetpack\Modules
+ *
+ * Used to retrieve information about the current status of Jetpack modules.
+ */
+class Modules {
+
+ /**
+ * Check whether or not a Jetpack module is active.
+ *
+ * @param string $module The slug of a Jetpack module.
+ * @return bool
+ */
+ public function is_active( $module ) {
+ return in_array( $module, self::get_active(), true );
+ }
+
+ /**
+ * Load module data from module file. Headers differ from WordPress
+ * plugin headers to avoid them being identified as standalone
+ * plugins on the WordPress plugins page.
+ *
+ * @param string $module The module slug.
+ */
+ public function get( $module ) {
+ static $modules_details;
+
+ // This method relies heavy on auto-generated file found in Jetpack only: module-headings.php
+ // If it doesn't exist, it's safe to assume none of this will be helpful.
+ if ( ! function_exists( 'jetpack_has_no_module_info' ) ) {
+ return false;
+ }
+
+ if ( jetpack_has_no_module_info( $module ) ) {
+ return false;
+ }
+
+ $file = $this->get_path( $this->get_slug( $module ) );
+
+ if ( isset( $modules_details[ $module ] ) ) {
+ $mod = $modules_details[ $module ];
+ } else {
+ $mod = jetpack_get_module_info( $module );
+
+ if ( null === $mod ) {
+ // Try to get the module info from the file as a fallback.
+ $mod = $this->get_file_data( $file, jetpack_get_all_module_header_names() );
+
+ if ( empty( $mod['name'] ) ) {
+ // No info for this module.
+ return false;
+ }
+ }
+
+ $mod['sort'] = empty( $mod['sort'] ) ? 10 : (int) $mod['sort'];
+ $mod['recommendation_order'] = empty( $mod['recommendation_order'] ) ? 20 : (int) $mod['recommendation_order'];
+ $mod['deactivate'] = empty( $mod['deactivate'] );
+ $mod['free'] = empty( $mod['free'] );
+ $mod['requires_connection'] = ( ! empty( $mod['requires_connection'] ) && 'No' === $mod['requires_connection'] ) ? false : true;
+ $mod['requires_user_connection'] = ( empty( $mod['requires_user_connection'] ) || 'No' === $mod['requires_user_connection'] ) ? false : true;
+
+ if ( empty( $mod['auto_activate'] ) || ! in_array( strtolower( $mod['auto_activate'] ), array( 'yes', 'no', 'public' ), true ) ) {
+ $mod['auto_activate'] = 'No';
+ } else {
+ $mod['auto_activate'] = (string) $mod['auto_activate'];
+ }
+
+ if ( $mod['module_tags'] ) {
+ $mod['module_tags'] = explode( ',', $mod['module_tags'] );
+ $mod['module_tags'] = array_map( 'trim', $mod['module_tags'] );
+ $mod['module_tags'] = array_map( 'jetpack_get_module_i18n_tag', $mod['module_tags'] );
+ } else {
+ $mod['module_tags'] = array( jetpack_get_module_i18n_tag( 'Other' ) );
+ }
+
+ if ( $mod['plan_classes'] ) {
+ $mod['plan_classes'] = explode( ',', $mod['plan_classes'] );
+ $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) );
+ } else {
+ $mod['plan_classes'] = array( 'free' );
+ }
+
+ if ( $mod['feature'] ) {
+ $mod['feature'] = explode( ',', $mod['feature'] );
+ $mod['feature'] = array_map( 'trim', $mod['feature'] );
+ } else {
+ $mod['feature'] = array( jetpack_get_module_i18n_tag( 'Other' ) );
+ }
+
+ $modules_details[ $module ] = $mod;
+
+ }
+
+ /**
+ * Filters the feature array on a module.
+ *
+ * This filter allows you to control where each module is filtered: Recommended,
+ * and the default "Other" listing.
+ *
+ * @since-jetpack 3.5.0
+ *
+ * @param array $mod['feature'] The areas to feature this module:
+ * 'Recommended' shows on the main Jetpack admin screen.
+ * 'Other' should be the default if no other value is in the array.
+ * @param string $module The slug of the module, e.g. sharedaddy.
+ * @param array $mod All the currently assembled module data.
+ */
+ $mod['feature'] = apply_filters( 'jetpack_module_feature', $mod['feature'], $module, $mod );
+
+ /**
+ * Filter the returned data about a module.
+ *
+ * This filter allows overriding any info about Jetpack modules. It is dangerous,
+ * so please be careful.
+ *
+ * @since-jetpack 3.6.0
+ *
+ * @param array $mod The details of the requested module.
+ * @param string $module The slug of the module, e.g. sharedaddy
+ * @param string $file The path to the module source file.
+ */
+ return apply_filters( 'jetpack_get_module', $mod, $module, $file );
+ }
+
+ /**
+ * Like core's get_file_data implementation, but caches the result.
+ *
+ * @param string $file Absolute path to the file.
+ * @param array $headers List of headers, in the format array( 'HeaderKey' => 'Header Name' ).
+ */
+ public function get_file_data( $file, $headers ) {
+ // Get just the filename from $file (i.e. exclude full path) so that a consistent hash is generated.
+ $file_name = basename( $file );
+
+ if ( ! Constants::is_defined( 'JETPACK__VERSION' ) ) {
+ return get_file_data( $file, $headers );
+ }
+
+ $cache_key = 'jetpack_file_data_' . JETPACK__VERSION;
+
+ $file_data_option = get_transient( $cache_key );
+
+ if ( ! is_array( $file_data_option ) ) {
+ delete_transient( $cache_key );
+ $file_data_option = false;
+ }
+
+ if ( false === $file_data_option ) {
+ $file_data_option = array();
+ }
+
+ $key = md5( $file_name . maybe_serialize( $headers ) );
+ $refresh_cache = is_admin() && isset( $_GET['page'] ) && 'jetpack' === substr( $_GET['page'], 0, 7 ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput
+
+ // If we don't need to refresh the cache, and already have the value, short-circuit!
+ if ( ! $refresh_cache && isset( $file_data_option[ $key ] ) ) {
+ return $file_data_option[ $key ];
+ }
+
+ $data = get_file_data( $file, $headers );
+
+ $file_data_option[ $key ] = $data;
+
+ set_transient( $cache_key, $file_data_option, 29 * DAY_IN_SECONDS );
+
+ return $data;
+ }
+
+ /**
+ * Get a list of activated modules as an array of module slugs.
+ */
+ public function get_active() {
+ $active = \Jetpack_Options::get_option( 'active_modules' );
+
+ if ( ! is_array( $active ) ) {
+ $active = array();
+ }
+
+ if ( class_exists( 'VaultPress' ) || function_exists( 'vaultpress_contact_service' ) ) {
+ $active[] = 'vaultpress';
+ } else {
+ $active = array_diff( $active, array( 'vaultpress' ) );
+ }
+
+ // If protect is active on the main site of a multisite, it should be active on all sites.
+ if ( ! in_array( 'protect', $active, true ) && is_multisite() && get_site_option( 'jetpack_protect_active' ) ) {
+ $active[] = 'protect';
+ }
+
+ // If it's not available, it shouldn't be active.
+ // We don't delete it from the options though, as it will be active again when a plugin gets reactivated.
+ $active = array_intersect( $active, $this->get_available() );
+
+ /**
+ * Allow filtering of the active modules.
+ *
+ * Gives theme and plugin developers the power to alter the modules that
+ * are activated on the fly.
+ *
+ * @since-jetpack 5.8.0
+ *
+ * @param array $active Array of active module slugs.
+ */
+ $active = apply_filters( 'jetpack_active_modules', $active );
+
+ return array_unique( $active );
+ }
+
+ /**
+ * Extract a module's slug from its full path.
+ *
+ * @param string $file Full path to a file.
+ *
+ * @return string Module slug.
+ */
+ public function get_slug( $file ) {
+ return str_replace( '.php', '', basename( $file ) );
+ }
+
+ /**
+ * List available Jetpack modules. Simply lists .php files in /modules/.
+ * Make sure to tuck away module "library" files in a sub-directory.
+ *
+ * @param bool|string $min_version Only return modules introduced in this version or later. Default is false, do not filter.
+ * @param bool|string $max_version Only return modules introduced before this version. Default is false, do not filter.
+ * @param bool|null $requires_connection Pass a boolean value to only return modules that require (or do not require) a connection.
+ * @param bool|null $requires_user_connection Pass a boolean value to only return modules that require (or do not require) a user connection.
+ *
+ * @return array $modules Array of module slugs
+ */
+ public function get_available( $min_version = false, $max_version = false, $requires_connection = null, $requires_user_connection = null ) {
+ static $modules = null;
+
+ if ( ! class_exists( 'Jetpack' ) || ! Constants::is_defined( 'JETPACK__VERSION' ) || ! Constants::is_defined( 'JETPACK__PLUGIN_DIR' ) ) {
+ return array_unique(
+ /**
+ * Stand alone plugins need to use this filter to register the modules they interact with.
+ * This will allow them to activate and deactivate these modules even when Jetpack is not present.
+ * Note: Standalone plugins can only interact with modules that also exist in the Jetpack plugin, otherwise they'll lose the ability to control it if Jetpack is activated.
+ *
+ * @since 1.13.6
+ *
+ * @param array $modules The list of available modules as an array of slugs.
+ * @param bool $requires_connection Whether to list only modules that require a connection to work.
+ * @param bool $requires_user_connection Whether to list only modules that require a user connection to work.
+ */
+ apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )
+ );
+ }
+
+ if ( ! isset( $modules ) ) {
+ $available_modules_option = \Jetpack_Options::get_option( 'available_modules', array() );
+ // Use the cache if we're on the front-end and it's available...
+ if ( ! is_admin() && ! empty( $available_modules_option[ JETPACK__VERSION ] ) ) {
+ $modules = $available_modules_option[ JETPACK__VERSION ];
+ } else {
+ $files = ( new Files() )->glob_php( JETPACK__PLUGIN_DIR . 'modules' );
+
+ $modules = array();
+
+ foreach ( $files as $file ) {
+ $slug = $this->get_slug( $file );
+ $headers = $this->get( $slug );
+
+ if ( ! $headers ) {
+ continue;
+ }
+
+ $modules[ $slug ] = $headers['introduced'];
+ }
+
+ \Jetpack_Options::update_option(
+ 'available_modules',
+ array(
+ JETPACK__VERSION => $modules,
+ )
+ );
+ }
+ }
+
+ /**
+ * Filters the array of modules available to be activated.
+ *
+ * @since 2.4.0
+ *
+ * @param array $modules Array of available modules.
+ * @param string $min_version Minimum version number required to use modules.
+ * @param string $max_version Maximum version number required to use modules.
+ * @param bool|null $requires_connection Value of the Requires Connection filter.
+ * @param bool|null $requires_user_connection Value of the Requires User Connection filter.
+ */
+ $mods = apply_filters( 'jetpack_get_available_modules', $modules, $min_version, $max_version, $requires_connection, $requires_user_connection );
+
+ if ( ! $min_version && ! $max_version && $requires_connection === null && $requires_user_connection === null ) {
+ return array_keys( $mods );
+ }
+
+ $r = array();
+ foreach ( $mods as $slug => $introduced ) {
+ if ( $min_version && version_compare( $min_version, $introduced, '>=' ) ) {
+ continue;
+ }
+
+ if ( $max_version && version_compare( $max_version, $introduced, '<' ) ) {
+ continue;
+ }
+
+ $mod_details = $this->get( $slug );
+
+ if ( null !== $requires_connection && (bool) $requires_connection !== $mod_details['requires_connection'] ) {
+ continue;
+ }
+
+ if ( null !== $requires_user_connection && (bool) $requires_user_connection !== $mod_details['requires_user_connection'] ) {
+ continue;
+ }
+
+ $r[] = $slug;
+ }
+
+ return $r;
+ }
+
+ /**
+ * Is slug a valid module.
+ *
+ * @param string $module Module slug.
+ *
+ * @return bool
+ */
+ public function is_module( $module ) {
+ return ! empty( $module ) && ! validate_file( $module, $this->get_available() );
+ }
+
+ /**
+ * Update module status.
+ *
+ * @param string $module - module slug.
+ * @param boolean $active - true to activate, false to deactivate.
+ * @param bool $exit Should exit be called after deactivation.
+ * @param bool $redirect Should there be a redirection after activation.
+ */
+ public function update_status( $module, $active, $exit = true, $redirect = true ) {
+ return $active ? $this->activate( $module, $exit, $redirect ) : $this->deactivate( $module );
+ }
+
+ /**
+ * Activate a module.
+ *
+ * @param string $module Module slug.
+ * @param bool $exit Should exit be called after deactivation.
+ * @param bool $redirect Should there be a redirection after activation.
+ *
+ * @return bool|void
+ */
+ public function activate( $module, $exit = true, $redirect = true ) {
+ /**
+ * Fires before a module is activated.
+ *
+ * @since 2.6.0
+ *
+ * @param string $module Module slug.
+ * @param bool $exit Should we exit after the module has been activated. Default to true.
+ * @param bool $redirect Should the user be redirected after module activation? Default to true.
+ */
+ do_action( 'jetpack_pre_activate_module', $module, $exit, $redirect );
+
+ if ( ! strlen( $module ) ) {
+ return false;
+ }
+
+ // If it's already active, then don't do it again.
+ $active = $this->get_active();
+ foreach ( $active as $act ) {
+ if ( $act === $module ) {
+ return true;
+ }
+ }
+
+ if ( ! $this->is_module( $module ) ) {
+ return false;
+ }
+
+ // Jetpack plugin only
+ if ( class_exists( 'Jetpack' ) ) {
+
+ $module_data = $this->get( $module );
+
+ $status = new Status();
+ $state = new CookieState();
+
+ if ( ! \Jetpack::is_connection_ready() ) {
+ if ( ! $status->is_offline_mode() && ! $status->is_onboarding() ) {
+ return false;
+ }
+
+ // If we're not connected but in offline mode, make sure the module doesn't require a connection.
+ if ( $status->is_offline_mode() && $module_data['requires_connection'] ) {
+ return false;
+ }
+ }
+
+ if ( class_exists( 'Jetpack_Client_Server' ) ) {
+ $jetpack = \Jetpack::init();
+
+ // Check and see if the old plugin is active.
+ if ( isset( $jetpack->plugins_to_deactivate[ $module ] ) ) {
+ // Deactivate the old plugin.
+ if ( \Jetpack_Client_Server::deactivate_plugin( $jetpack->plugins_to_deactivate[ $module ][0], $jetpack->plugins_to_deactivate[ $module ][1] ) ) {
+ // If we deactivated the old plugin, remembere that with ::state() and redirect back to this page to activate the module
+ // We can't activate the module on this page load since the newly deactivated old plugin is still loaded on this page load.
+ $state->state( 'deactivated_plugins', $module );
+ wp_safe_redirect( add_query_arg( 'jetpack_restate', 1 ) );
+ exit;
+ }
+ }
+ }
+
+ // Protect won't work with mis-configured IPs.
+ if ( 'protect' === $module && Constants::is_defined( 'JETPACK__PLUGIN_DIR' ) ) {
+ include_once JETPACK__PLUGIN_DIR . 'modules/protect/shared-functions.php';
+ if ( ! jetpack_protect_get_ip() ) {
+ $state->state( 'message', 'protect_misconfigured_ip' );
+ return false;
+ }
+ }
+
+ if ( class_exists( 'Jetpack_Plan' ) && ! \Jetpack_Plan::supports( $module ) ) {
+ return false;
+ }
+
+ // Check the file for fatal errors, a la wp-admin/plugins.php::activate.
+ $errors = new Errors();
+ $state->state( 'module', $module );
+ $state->state( 'error', 'module_activation_failed' ); // we'll override this later if the plugin can be included without fatal error.
+ $errors->catch_errors( true );
+
+ ob_start();
+ $module_path = $this->get_path( $module );
+ if ( file_exists( $module_path ) ) {
+ require $this->get_path( $module ); // phpcs:ignore WordPressVIPMinimum.Files.IncludingFile.NotAbsolutePath
+ }
+
+ $active[] = $module;
+ $this->update_active( $active );
+
+ $state->state( 'error', false ); // the override.
+ ob_end_clean();
+ $errors->catch_errors( false );
+ } else { // Not a Jetpack plugin.
+ $active[] = $module;
+ $this->update_active( $active );
+ }
+
+ if ( $redirect ) {
+ wp_safe_redirect( ( new Paths() )->admin_url( 'page=jetpack' ) );
+ }
+ if ( $exit ) {
+ exit;
+ }
+ return true;
+ }
+
+ /**
+ * Deactivate module.
+ *
+ * @param string $module Module slug.
+ *
+ * @return bool
+ */
+ public function deactivate( $module ) {
+ /**
+ * Fires when a module is deactivated.
+ *
+ * @since 1.9.0
+ *
+ * @param string $module Module slug.
+ */
+ do_action( 'jetpack_pre_deactivate_module', $module );
+
+ $active = $this->get_active();
+ $new = array_filter( array_diff( $active, (array) $module ) );
+
+ return $this->update_active( $new );
+ }
+
+ /**
+ * Generate a module's path from its slug.
+ *
+ * @param string $slug Module slug.
+ */
+ public function get_path( $slug ) {
+ if ( ! Constants::is_defined( 'JETPACK__PLUGIN_DIR' ) ) {
+ return '';
+ }
+ /**
+ * Filters the path of a modules.
+ *
+ * @since 7.4.0
+ *
+ * @param array $return The absolute path to a module's root php file
+ * @param string $slug The module slug
+ */
+ return apply_filters( 'jetpack_get_module_path', JETPACK__PLUGIN_DIR . "modules/$slug.php", $slug );
+ }
+
+ /**
+ * Saves all the currently active modules to options.
+ * Also fires Action hooks for each newly activated and deactivated module.
+ *
+ * @param array $modules Array of active modules to be saved in options.
+ *
+ * @return $success bool true for success, false for failure.
+ */
+ public function update_active( $modules ) {
+ $current_modules = \Jetpack_Options::get_option( 'active_modules', array() );
+ $active_modules = $this->get_active();
+ $new_active_modules = array_diff( $modules, $current_modules );
+ $new_inactive_modules = array_diff( $active_modules, $modules );
+ $new_current_modules = array_diff( array_merge( $current_modules, $new_active_modules ), $new_inactive_modules );
+ $reindexed_modules = array_values( $new_current_modules );
+ $success = \Jetpack_Options::update_option( 'active_modules', array_unique( $reindexed_modules ) );
+ // Let's take `pre_update_option_jetpack_active_modules` filter into account
+ // and actually decide for which modules we need to fire hooks by comparing
+ // the 'active_modules' option before and after the update.
+ $current_modules_post_update = \Jetpack_Options::get_option( 'active_modules', array() );
+
+ $new_inactive_modules = array_diff( $current_modules, $current_modules_post_update );
+ $new_inactive_modules = array_unique( $new_inactive_modules );
+ $new_inactive_modules = array_values( $new_inactive_modules );
+
+ $new_active_modules = array_diff( $current_modules_post_update, $current_modules );
+ $new_active_modules = array_unique( $new_active_modules );
+ $new_active_modules = array_values( $new_active_modules );
+
+ foreach ( $new_active_modules as $module ) {
+ /**
+ * Fires when a specific module is activated.
+ *
+ * @since 1.9.0
+ *
+ * @param string $module Module slug.
+ * @param boolean $success whether the module was activated. @since 4.2
+ */
+ do_action( 'jetpack_activate_module', $module, $success );
+ /**
+ * Fires when a module is activated.
+ * The dynamic part of the filter, $module, is the module slug.
+ *
+ * @since 1.9.0
+ *
+ * @param string $module Module slug.
+ */
+ do_action( "jetpack_activate_module_$module", $module );
+ }
+
+ foreach ( $new_inactive_modules as $module ) {
+ /**
+ * Fired after a module has been deactivated.
+ *
+ * @since 4.2.0
+ *
+ * @param string $module Module slug.
+ * @param boolean $success whether the module was deactivated.
+ */
+ do_action( 'jetpack_deactivate_module', $module, $success );
+ /**
+ * Fires when a module is deactivated.
+ * The dynamic part of the filter, $module, is the module slug.
+ *
+ * @since 1.9.0
+ *
+ * @param string $module Module slug.
+ */
+ do_action( "jetpack_deactivate_module_$module", $module );
+ }
+
+ return $success;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-paths.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-paths.php
new file mode 100644
index 00000000..a3313c66
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-paths.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * A Path & URL utility class for Jetpack.
+ *
+ * @package automattic/jetpack-status
+ */
+
+namespace Automattic\Jetpack;
+
+/**
+ * Class Automattic\Jetpack\Paths
+ *
+ * Used to retrieve information about files.
+ */
+class Paths {
+ /**
+ * Jetpack Admin URL.
+ *
+ * @param array $args Query string args.
+ *
+ * @return string Jetpack admin URL.
+ */
+ public function admin_url( $args = null ) {
+ $args = wp_parse_args( $args, array( 'page' => 'jetpack' ) );
+ $url = add_query_arg( $args, admin_url( 'admin.php' ) );
+ return $url;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-status.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-status.php
index ea161122..91c446c4 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-status.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-status.php
@@ -7,6 +7,8 @@
namespace Automattic\Jetpack;
+use Automattic\Jetpack\Status\Cache;
+use Automattic\Jetpack\Status\Host;
use WPCOM_Masterbar;
/**
@@ -37,6 +39,11 @@ class Status {
* @return bool Whether Jetpack's offline mode is active.
*/
public function is_offline_mode() {
+ $cached = Cache::get( 'is_offline_mode' );
+ if ( null !== $cached ) {
+ return $cached;
+ }
+
$offline_mode = false;
if ( defined( '\\JETPACK_DEV_DEBUG' ) ) {
@@ -73,6 +80,7 @@ class Status {
*/
$offline_mode = (bool) apply_filters( 'jetpack_offline_mode', $offline_mode );
+ Cache::set( 'is_offline_mode', $offline_mode );
return $offline_mode;
}
@@ -101,16 +109,24 @@ class Status {
public function is_multi_network() {
global $wpdb;
+ $cached = Cache::get( 'is_multi_network' );
+ if ( null !== $cached ) {
+ return $cached;
+ }
+
// If we don't have a multi site setup no need to do any more.
if ( ! is_multisite() ) {
+ Cache::set( 'is_multi_network', false );
return false;
}
$num_sites = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->site}" );
if ( $num_sites > 1 ) {
+ Cache::set( 'is_multi_network', true );
return true;
}
+ Cache::set( 'is_multi_network', false );
return false;
}
@@ -122,12 +138,17 @@ class Status {
public function is_single_user_site() {
global $wpdb;
- $some_users = get_transient( 'jetpack_is_single_user' );
- if ( false === $some_users ) {
- $some_users = $wpdb->get_var( "SELECT COUNT(*) FROM (SELECT user_id FROM $wpdb->usermeta WHERE meta_key = '{$wpdb->prefix}capabilities' LIMIT 2) AS someusers" );
- set_transient( 'jetpack_is_single_user', (int) $some_users, 12 * HOUR_IN_SECONDS );
+ $ret = Cache::get( 'is_single_user_site' );
+ if ( null === $ret ) {
+ $some_users = get_transient( 'jetpack_is_single_user' );
+ if ( false === $some_users ) {
+ $some_users = $wpdb->get_var( "SELECT COUNT(*) FROM (SELECT user_id FROM $wpdb->usermeta WHERE meta_key = '{$wpdb->prefix}capabilities' LIMIT 2) AS someusers" );
+ set_transient( 'jetpack_is_single_user', (int) $some_users, 12 * HOUR_IN_SECONDS );
+ }
+ $ret = 1 === (int) $some_users;
+ Cache::set( 'is_single_user_site', $ret );
}
- return 1 === (int) $some_users;
+ return $ret;
}
/**
@@ -138,8 +159,15 @@ class Status {
* @return bool
*/
public function is_local_site() {
+ $cached = Cache::get( 'is_local_site' );
+ if ( null !== $cached ) {
+ return $cached;
+ }
+
+ $site_url = site_url();
+
// Check for localhost and sites using an IP only first.
- $is_local = site_url() && false === strpos( site_url(), '.' );
+ $is_local = $site_url && false === strpos( $site_url, '.' );
// @todo Remove function_exists when the package has a documented minimum WP version.
// Use Core's environment check, if available. Added in 5.5.0 / 5.5.1 (for `local` return value).
@@ -160,7 +188,7 @@ class Status {
if ( ! $is_local ) {
foreach ( $known_local as $url ) {
- if ( preg_match( $url, site_url() ) ) {
+ if ( preg_match( $url, $site_url ) ) {
$is_local = true;
break;
}
@@ -174,7 +202,10 @@ class Status {
*
* @param bool $is_local If the current site is a local site.
*/
- return apply_filters( 'jetpack_is_local_site', $is_local );
+ $is_local = apply_filters( 'jetpack_is_local_site', $is_local );
+
+ Cache::set( 'is_local_site', $is_local );
+ return $is_local;
}
/**
@@ -185,13 +216,18 @@ class Status {
* @return bool
*/
public function is_staging_site() {
+ $cached = Cache::get( 'is_staging_site' );
+ if ( null !== $cached ) {
+ return $cached;
+ }
+
// @todo Remove function_exists when the package has a documented minimum WP version.
// Core's wp_get_environment_type allows for a few specific options. We should default to bowing out gracefully for anything other than production or local.
$is_staging = function_exists( 'wp_get_environment_type' ) && ! in_array( wp_get_environment_type(), array( 'production', 'local' ), true );
$known_staging = array(
'urls' => array(
- '#\.staging\.wpengine\.com$#i', // WP Engine.
+ '#\.staging\.wpengine\.com$#i', // WP Engine. This is their legacy staging URL structure. Their new platform does not have a common URL. https://github.com/Automattic/jetpack/issues/21504
'#\.staging\.kinsta\.com$#i', // Kinsta.com.
'#\.kinsta\.cloud$#i', // Kinsta.com.
'#\.stage\.site$#i', // DreamPress.
@@ -205,7 +241,7 @@ class Status {
'#\-liquidwebsites\.com$#i', // Liquidweb.
),
'constants' => array(
- 'IS_WPE_SNAPSHOT', // WP Engine.
+ 'IS_WPE_SNAPSHOT', // WP Engine. This is used on their legacy staging environment. Their new platform does not have a constant. https://github.com/Automattic/jetpack/issues/21504
'KINSTA_DEV_ENV', // Kinsta.com.
'WPSTAGECOACH_STAGING', // WP Stagecoach.
'JETPACK_STAGING_MODE', // Generic.
@@ -227,8 +263,9 @@ class Status {
$known_staging = apply_filters( 'jetpack_known_staging', $known_staging );
if ( isset( $known_staging['urls'] ) ) {
+ $site_url = site_url();
foreach ( $known_staging['urls'] as $url ) {
- if ( preg_match( $url, wp_parse_url( site_url(), PHP_URL_HOST ) ) ) {
+ if ( preg_match( $url, wp_parse_url( $site_url, PHP_URL_HOST ) ) ) {
$is_staging = true;
break;
}
@@ -256,7 +293,25 @@ class Status {
*
* @param bool $is_staging If the current site is a staging site.
*/
- return apply_filters( 'jetpack_is_staging_site', $is_staging );
+ $is_staging = apply_filters( 'jetpack_is_staging_site', $is_staging );
+
+ Cache::set( 'is_staging_site', $is_staging );
+ return $is_staging;
+ }
+
+ /**
+ * Whether the site is currently onboarding or not.
+ * A site is considered as being onboarded if it currently has an onboarding token.
+ *
+ * @since-jetpack 5.8
+ *
+ * @access public
+ * @static
+ *
+ * @return bool True if the site is currently onboarding, false otherwise
+ */
+ public function is_onboarding() {
+ return \Jetpack_Options::get_option( 'onboarding' ) !== false;
}
/**
@@ -276,13 +331,25 @@ class Status {
return WPCOM_Masterbar::get_calypso_site_slug( get_current_blog_id() );
}
+ // Grab the 'site_url' option for WoA sites to avoid plugins to interfere with the site
+ // identifier (e.g. i18n plugins may change the main url to '<DOMAIN>/<LOCALE>', but we
+ // want to exclude the locale since it's not part of the site suffix).
+ if ( ( new Host() )->is_woa_site() ) {
+ $url = \site_url();
+ }
+
if ( empty( $url ) ) {
+ // WordPress can be installed in subdirectories (e.g. make.wordpress.org/plugins)
+ // where the 'site_url' option points to the root domain (e.g. make.wordpress.org)
+ // which could collide with another site in the same domain but with WordPress
+ // installed in a different subdirectory (e.g. make.wordpress.org/core). To avoid
+ // such collision, we identify the site with the 'home_url' option.
$url = \home_url();
}
$url = preg_replace( '#^.*?://#', '', $url );
$url = str_replace( '/', '::', $url );
- return $url;
+ return rtrim( $url, ':' );
}
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php
new file mode 100644
index 00000000..d80d891d
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php
@@ -0,0 +1,44 @@
+<?php
+/**
+ * Status and information regarding the site visitor.
+ *
+ * @package automattic/jetpack-status
+ */
+
+namespace Automattic\Jetpack\Status;
+
+/**
+ * Visitor class.
+ */
+class Visitor {
+
+ /**
+ * Gets current user IP address.
+ *
+ * @param bool $check_all_headers Check all headers? Default is `false`.
+ *
+ * @return string Current user IP address.
+ */
+ public function get_ip( $check_all_headers = false ) {
+ if ( $check_all_headers ) {
+ foreach ( array(
+ 'HTTP_CF_CONNECTING_IP',
+ 'HTTP_CLIENT_IP',
+ 'HTTP_X_FORWARDED_FOR',
+ 'HTTP_X_FORWARDED',
+ 'HTTP_X_CLUSTER_CLIENT_IP',
+ 'HTTP_FORWARDED_FOR',
+ 'HTTP_FORWARDED',
+ 'HTTP_VIA',
+ ) as $key ) {
+ if ( ! empty( $_SERVER[ $key ] ) ) {
+ // @todo Some of these might actually be lists of IPs (e.g. HTTP_X_FORWARDED_FOR) or something else entirely (HTTP_VIA).
+ return filter_var( wp_unslash( $_SERVER[ $key ] ) );
+ }
+ }
+ }
+
+ return ! empty( $_SERVER['REMOTE_ADDR'] ) ? filter_var( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ) : '';
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/CHANGELOG.md
index aca0a702..531c86f0 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/CHANGELOG.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/CHANGELOG.md
@@ -5,6 +5,115 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.35.0] - 2022-05-30
+### Changed
+- Sync: Add '_jetpack_blogging_prompt_key' to default post meta whitelist
+
+## [1.34.0] - 2022-05-24
+### Changed
+- Dedicated Sync - Introduce custom endpoint for spawning Sync requests [#24468]
+- Sync: Add 'active_modules' to default whitelisted callables. [#24453]
+
+## [1.33.1] - 2022-05-19
+### Removed
+- Removed dedicated sync custom endpoints pending error investigation [#24419]
+
+## [1.33.0] - 2022-05-18
+### Changed
+- Dedicated Sync: Introduce custom endpoint for spawning Sync requests [#24344]
+
+## [1.32.0] - 2022-05-10
+### Added
+- Search: add search options to option whitelist [#24167]
+
+## [1.31.1] - 2022-05-04
+### Changed
+- Updated package dependencies. [#24095]
+- WordPress 6.1 Compatibilty [#24083]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+## [1.31.0] - 2022-04-26
+### Added
+- Adds filter to get_themes callable
+
+### Deprecated
+- Removed Heartbeat by hoisting it into Connection.
+
+## [1.30.8] - 2022-04-19
+### Added
+- Added get_themes Callable to sync the list of installed themes on a site
+- Added get_themes to Sync defaults
+
+### Changed
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+- Updated package dependencies.
+
+## [1.30.7] - 2022-04-12
+### Added
+- Adding new site option to be synced.
+
+## [1.30.6] - 2022-04-06
+### Changed
+- Updated package dependencies.
+
+### Fixed
+- Dedicated Sync: Only try to run the sender once if Dedicated Sync is enabled as it has its own requeueing mechanism.
+
+## [1.30.5] - 2022-03-29
+### Changed
+- Microperformance: Use === null instead of is_null
+
+## [1.30.4] - 2022-03-23
+### Changed
+- Enable syncing of dedicated_sync_enabled Sync setting
+
+### Fixed
+- Dedicated Sync: Allow spawning request with expired Retry-After
+
+## [1.30.3] - 2022-03-15
+### Changed
+- Search Sync Settings :: Add ETB taxonomy to allow list.
+
+## [1.30.2] - 2022-03-08
+### Changed
+- Disallow syncing of _term_meta post_type
+
+## [1.30.1] - 2022-03-02
+### Added
+- Dedicated Sync flow: Allow enabling or disabling via WPCOM response header
+
+## [1.30.0] - 2022-02-22
+### Added
+- Add Sync dedicated request flow.
+
+### Changed
+- Updated package dependencies.
+
+## [1.29.2] - 2022-02-09
+### Added
+- Allow sync package consumers to provide custom data settings.
+
+### Fixed
+- Fixed some new PHPCS warnings.
+
+## [1.29.1] - 2022-02-02
+### Changed
+- Updated package dependencies.
+
+## [1.29.0] - 2022-01-25
+### Added
+- Jetpack Search: update the allowed post meta when search is active to include all indexable meta.
+
+## [1.28.2] - 2022-01-18
+### Changed
+- Updated package dependencies.
+
+## [1.28.1] - 2022-01-13
+### Changed
+- Updated package dependencies.
+
## [1.28.0] - 2022-01-04
### Changed
- Listener: Do not enqueue actions when the site is disconnected
@@ -550,6 +659,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Packages: Move sync to a classmapped package
+[1.35.0]: https://github.com/Automattic/jetpack-sync/compare/v1.34.0...v1.35.0
+[1.34.0]: https://github.com/Automattic/jetpack-sync/compare/v1.33.1...v1.34.0
+[1.33.1]: https://github.com/Automattic/jetpack-sync/compare/v1.33.0...v1.33.1
+[1.33.0]: https://github.com/Automattic/jetpack-sync/compare/v1.32.0...v1.33.0
+[1.32.0]: https://github.com/Automattic/jetpack-sync/compare/v1.31.1...v1.32.0
+[1.31.1]: https://github.com/Automattic/jetpack-sync/compare/v1.31.0...v1.31.1
+[1.31.0]: https://github.com/Automattic/jetpack-sync/compare/v1.30.8...v1.31.0
+[1.30.8]: https://github.com/Automattic/jetpack-sync/compare/v1.30.7...v1.30.8
+[1.30.7]: https://github.com/Automattic/jetpack-sync/compare/v1.30.6...v1.30.7
+[1.30.6]: https://github.com/Automattic/jetpack-sync/compare/v1.30.5...v1.30.6
+[1.30.5]: https://github.com/Automattic/jetpack-sync/compare/v1.30.4...v1.30.5
+[1.30.4]: https://github.com/Automattic/jetpack-sync/compare/v1.30.3...v1.30.4
+[1.30.3]: https://github.com/Automattic/jetpack-sync/compare/v1.30.2...v1.30.3
+[1.30.2]: https://github.com/Automattic/jetpack-sync/compare/v1.30.1...v1.30.2
+[1.30.1]: https://github.com/Automattic/jetpack-sync/compare/v1.30.0...v1.30.1
+[1.30.0]: https://github.com/Automattic/jetpack-sync/compare/v1.29.2...v1.30.0
+[1.29.2]: https://github.com/Automattic/jetpack-sync/compare/v1.29.1...v1.29.2
+[1.29.1]: https://github.com/Automattic/jetpack-sync/compare/v1.29.0...v1.29.1
+[1.29.0]: https://github.com/Automattic/jetpack-sync/compare/v1.28.2...v1.29.0
+[1.28.2]: https://github.com/Automattic/jetpack-sync/compare/v1.28.1...v1.28.2
+[1.28.1]: https://github.com/Automattic/jetpack-sync/compare/v1.28.0...v1.28.1
[1.28.0]: https://github.com/Automattic/jetpack-sync/compare/v1.27.6...v1.28.0
[1.27.6]: https://github.com/Automattic/jetpack-sync/compare/v1.27.5...v1.27.6
[1.27.5]: https://github.com/Automattic/jetpack-sync/compare/v1.27.4...v1.27.5
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php
index e2f05c98..768ade58 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php
@@ -89,6 +89,8 @@ class Actions {
/**
* Initialize Sync for cron jobs, set up listeners for WordPress Actions,
* and set up a shut-down action for sending actions to WordPress.com
+ * If dedicated Sync is enabled and this is a dedicated Sync request
+ * up an init action for sending actions to WordPress.com instead.
*
* @access public
* @static
@@ -99,6 +101,15 @@ class Actions {
return;
}
+ // If dedicated Sync is enabled and this is a dedicated Sync request, no need to
+ // initialize Sync for cron jobs, set up listeners or set up a shut-down action
+ // for sending actions to WordPress.com.
+ // We only need to set up an init action for sending actions to WordPress.com and exit early.
+ if ( Settings::is_dedicated_sync_enabled() && Dedicated_Sender::is_dedicated_sync_request() ) {
+ add_action( 'init', array( __CLASS__, 'add_dedicated_sync_sender_init' ), 90 );
+ return;
+ }
+
if ( self::sync_via_cron_allowed() ) {
self::init_sync_cron_jobs();
} elseif ( wp_next_scheduled( 'jetpack_sync_cron' ) ) {
@@ -164,6 +175,22 @@ class Actions {
}
/**
+ * Immediately sends actions on init for the current dedicated Sync request.
+ *
+ * @access public
+ * @static
+ */
+ public static function add_dedicated_sync_sender_init() {
+ if ( apply_filters(
+ 'jetpack_sync_sender_should_load',
+ true
+ ) ) {
+ self::initialize_sender();
+ self::$sender->do_dedicated_sync_and_exit();
+ }
+ }
+
+ /**
* Define JETPACK_SYNC_READ_ONLY constant if not defined.
* This notifies sync to not run in shutdown if it was initialized during init.
*
@@ -194,6 +221,13 @@ class Actions {
return self::sync_via_cron_allowed();
}
+ /**
+ * For now, if dedicated Sync is enabled we will always initialize send, even for GET and unauthenticated requests.
+ */
+ if ( Settings::is_dedicated_sync_enabled() ) {
+ return true;
+ }
+
if ( isset( $_SERVER['REQUEST_METHOD'] ) && 'POST' === $_SERVER['REQUEST_METHOD'] ) {
return true;
}
@@ -379,14 +413,16 @@ class Actions {
public static function send_data( $data, $codec_name, $sent_timestamp, $queue_id, $checkout_duration, $preprocess_duration, $queue_size = null, $buffer_id = null ) {
$query_args = array(
- 'sync' => '1', // Add an extra parameter to the URL so we can tell it's a sync action.
- 'codec' => $codec_name,
- 'timestamp' => $sent_timestamp,
- 'queue' => $queue_id,
- 'cd' => sprintf( '%.4f', $checkout_duration ),
- 'pd' => sprintf( '%.4f', $preprocess_duration ),
- 'queue_size' => $queue_size,
- 'buffer_id' => $buffer_id,
+ 'sync' => '1', // Add an extra parameter to the URL so we can tell it's a sync action.
+ 'codec' => $codec_name,
+ 'timestamp' => $sent_timestamp,
+ 'queue' => $queue_id,
+ 'cd' => sprintf( '%.4f', $checkout_duration ),
+ 'pd' => sprintf( '%.4f', $preprocess_duration ),
+ 'queue_size' => $queue_size,
+ 'buffer_id' => $buffer_id,
+ // TODO this will be extended in the future. Might be good to extract in a separate method to support future entries too.
+ 'sync_flow_type' => Settings::is_dedicated_sync_enabled() ? 'dedicated' : 'default',
);
$query_args['timeout'] = Settings::is_doing_cron() ? 30 : 20;
@@ -437,6 +473,17 @@ class Actions {
}
}
+ // Enable/Disable Dedicated Sync flow via response headers.
+ $dedicated_sync_header = $rpc->get_response_header( 'Jetpack-Dedicated-Sync' );
+ if ( false !== $dedicated_sync_header ) {
+ $dedicated_sync_enabled = 'on' === $dedicated_sync_header ? 1 : 0;
+ Settings::update_settings(
+ array(
+ 'dedicated_sync_enabled' => $dedicated_sync_enabled,
+ )
+ );
+ }
+
if ( ! $result ) {
if ( false === $retry_after ) {
// We received a non standard response from WP.com, lets backoff from sending requests for 1 minute.
@@ -631,6 +678,14 @@ class Actions {
break;
}
+ /**
+ * Only try to sync once if Dedicated Sync is enabled. Dedicated Sync has its own requeueing mechanism
+ * that will re-run it if there are items in the queue at the end.
+ */
+ if ( 'sync' === $type && $executions >= 1 && Settings::is_dedicated_sync_enabled() ) {
+ break;
+ }
+
$result = 'full_sync' === $type ? self::$sender->do_full_sync() : self::$sender->do_sync();
// # of send actions performed.
@@ -676,6 +731,36 @@ class Actions {
}
/**
+ * Initializes sync for Instant Search.
+ *
+ * @access public
+ * @static
+ */
+ public static function initialize_search() {
+ if ( false === class_exists( 'Automattic\\Jetpack\\Search\\Module_Control' ) ) {
+ return;
+ }
+ $search_module = new \Automattic\Jetpack\Search\Module_Control();
+ if ( $search_module->is_instant_search_enabled() ) {
+ add_filter( 'jetpack_sync_modules', array( __CLASS__, 'add_search_sync_module' ) );
+ }
+ }
+
+ /**
+ * Add Search updates to Sync Filters.
+ *
+ * @access public
+ * @static
+ *
+ * @param array $sync_modules The list of sync modules declared prior to this filter.
+ * @return array A list of sync modules that now includes Search's modules.
+ */
+ public static function add_search_sync_module( $sync_modules ) {
+ $sync_modules[] = 'Automattic\\Jetpack\\Sync\\Modules\\Search';
+ return $sync_modules;
+ }
+
+ /**
* Adds Woo's sync modules to existing modules for sending.
*
* @access public
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-data-settings.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-data-settings.php
new file mode 100644
index 00000000..fa2adae4
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-data-settings.php
@@ -0,0 +1,355 @@
+<?php
+/**
+ * The Data Settings class.
+ *
+ * @package automattic/jetpack-sync
+ */
+
+namespace Automattic\Jetpack\Sync;
+
+/**
+ * The Data_Settings class
+ */
+class Data_Settings {
+
+ /**
+ * The data that must be synced for every synced site.
+ */
+ const MUST_SYNC_DATA_SETTINGS = array(
+ 'jetpack_sync_modules' => array(
+ 'Automattic\\Jetpack\\Sync\\Modules\\Callables',
+ 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync_Immediately', // enable Initial Sync on Site Connection.
+ ),
+ 'jetpack_sync_callable_whitelist' => array(
+ 'site_url' => array( 'Automattic\\Jetpack\\Connection\\Urls', 'site_url' ),
+ 'home_url' => array( 'Automattic\\Jetpack\\Connection\\Urls', 'home_url' ),
+ 'paused_plugins' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_paused_plugins' ),
+ 'paused_themes' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_paused_themes' ),
+ ),
+ );
+
+ const MODULE_FILTER_MAPPING = array(
+ 'Automattic\\Jetpack\\Sync\\Modules\\Options' => array(
+ 'jetpack_sync_options_whitelist',
+ 'jetpack_sync_options_contentless',
+ ),
+ 'Automattic\\Jetpack\\Sync\\Modules\\Constants' => array(
+ 'jetpack_sync_constants_whitelist',
+ ),
+ 'Automattic\\Jetpack\\Sync\\Modules\\Callables' => array(
+ 'jetpack_sync_callable_whitelist',
+ 'jetpack_sync_multisite_callable_whitelist',
+ ),
+ 'Automattic\\Jetpack\\Sync\\Modules\\Posts' => array(
+ 'jetpack_sync_post_meta_whitelist',
+ ),
+ 'Automattic\\Jetpack\\Sync\\Modules\\Comments' => array(
+ 'jetpack_sync_comment_meta_whitelist',
+ ),
+ 'Automattic\\Jetpack\\Sync\\Modules\\Users' => array(
+ 'jetpack_sync_capabilities_whitelist',
+ ),
+ 'Automattic\\Jetpack\\Sync\\Modules\\Import' => array(
+ 'jetpack_sync_known_importers',
+ ),
+ );
+
+ const MODULES_FILTER_NAME = 'jetpack_sync_modules';
+
+ /**
+ * The static data settings array which contains the aggregated data settings for
+ * each sync filter.
+ *
+ * @var array
+ */
+ private static $data_settings = array();
+
+ /**
+ * The static array which contains the list of filter hooks that have already been set up.
+ *
+ * @var array
+ */
+ private static $set_filter_hooks = array();
+
+ /**
+ * Adds the data settings provided by a plugin to the Sync data settings.
+ *
+ * @param array $plugin_settings The array provided by the plugin. The array must use filters
+ * from the DATA_FILTER_DEFAULTS list as keys.
+ */
+ public function add_settings_list( $plugin_settings = array() ) {
+ if ( empty( $plugin_settings[ self::MODULES_FILTER_NAME ] )
+ || ! is_array( $plugin_settings[ self::MODULES_FILTER_NAME ] ) ) {
+ /*
+ * No modules have been set, so use defaults for everything and bail early.
+ */
+ $this->set_all_defaults();
+ return;
+ }
+
+ $this->add_filters_custom_settings_and_hooks( $plugin_settings );
+
+ if ( ! did_action( 'jetpack_sync_add_required_data_settings' ) ) {
+ $this->add_required_settings();
+ /**
+ * Fires when the required settings have been adding to the static
+ * data_settings array.
+ *
+ * @since 1.29.2
+ *
+ * @module sync
+ */
+ do_action( 'jetpack_sync_add_required_data_settings' );
+ }
+ }
+
+ /**
+ * Sets the default values for sync modules and all sync data filters.
+ */
+ private function set_all_defaults() {
+ $this->add_sync_filter_setting( self::MODULES_FILTER_NAME, Modules::DEFAULT_SYNC_MODULES );
+
+ foreach ( array_keys( Default_Filter_Settings::DATA_FILTER_DEFAULTS ) as $filter ) {
+ $this->add_sync_filter_setting( $filter, $this->get_default_setting_for_filter( $filter ) );
+ }
+ }
+
+ /**
+ * Returns the default settings for the given filter.
+ *
+ * @param string $filter The filter name.
+ *
+ * @return array The filter's default settings array.
+ */
+ private function get_default_setting_for_filter( $filter ) {
+ if ( self::MODULES_FILTER_NAME === $filter ) {
+ return Modules::DEFAULT_SYNC_MODULES;
+ }
+
+ return ( new Default_Filter_Settings() )->get_default_settings( $filter );
+ }
+
+ /**
+ * Adds the custom settings and sets up the necessary filter hooks.
+ *
+ * @param array $filters_settings The custom settings.
+ */
+ private function add_filters_custom_settings_and_hooks( $filters_settings ) {
+ if ( ! isset( $filters_settings[ self::MODULES_FILTER_NAME ] ) ) {
+ // This shouldn't happen.
+ return;
+ }
+
+ $this->add_custom_filter_setting( self::MODULES_FILTER_NAME, $filters_settings[ self::MODULES_FILTER_NAME ] );
+
+ $enabled_modules = $filters_settings[ self::MODULES_FILTER_NAME ];
+ $all_modules = Modules::DEFAULT_SYNC_MODULES;
+
+ foreach ( $all_modules as $module ) {
+ if ( in_array( $module, $enabled_modules, true ) ) {
+ $this->add_filters_for_enabled_module( $module, $filters_settings );
+ } else {
+ $this->add_filters_for_disabled_module( $module );
+ }
+ }
+ }
+
+ /**
+ * Adds the filters for the provided enabled module. If the settings provided custom filter settings
+ * for the module's filters, those are used. Otherwise, the filter's default settings are used.
+ *
+ * @param string $module The module name.
+ * @param array $filters_settings The settings for the filters.
+ */
+ private function add_filters_for_enabled_module( $module, $filters_settings ) {
+ $module_mapping = self::MODULE_FILTER_MAPPING;
+ $filters_for_module = isset( $module_mapping[ $module ] ) ? $module_mapping[ $module ] : array();
+
+ foreach ( $filters_for_module as $filter ) {
+ if ( isset( $filters_settings[ $filter ] ) ) {
+ $this->add_custom_filter_setting( $filter, $filters_settings[ $filter ] );
+ } else {
+ $this->add_sync_filter_setting( $filter, $this->get_default_setting_for_filter( $filter ) );
+ }
+ }
+ }
+
+ /**
+ * Adds the filters for the provided disabled module. The disabled module's associated filter settings are
+ * set to an empty array.
+ *
+ * @param string $module The module name.
+ */
+ private function add_filters_for_disabled_module( $module ) {
+ $module_mapping = self::MODULE_FILTER_MAPPING;
+ $filters_for_module = isset( $module_mapping[ $module ] ) ? $module_mapping[ $module ] : array();
+
+ foreach ( $filters_for_module as $filter ) {
+ $this->add_custom_filter_setting( $filter, array() );
+ }
+ }
+
+ /**
+ * Adds the provided custom setting for a filter. If the filter setting isn't valid, the default
+ * value is used.
+ *
+ * If the filter's hook hasn't already been set up, it gets set up.
+ *
+ * @param string $filter The filter.
+ * @param array $setting The filter setting.
+ */
+ private function add_custom_filter_setting( $filter, $setting ) {
+ if ( ! $this->is_valid_filter_setting( $filter, $setting ) ) {
+ /*
+ * The provided setting isn't valid, so use the default for this filter.
+ * We're using the default values so there's no need to set the filter hook.
+ */
+ $this->add_sync_filter_setting( $filter, $this->get_default_setting_for_filter( $filter ) );
+ return;
+ }
+
+ if ( ! isset( static::$set_filter_hooks[ $filter ] ) ) {
+ // First time a custom modules setting is provided, so set the filter hook.
+ add_filter( $filter, array( $this, 'sync_data_filter_hook' ) );
+ static::$set_filter_hooks[ $filter ] = 1;
+ }
+
+ $this->add_sync_filter_setting( $filter, $setting );
+ }
+
+ /**
+ * Determines whether the filter setting is valid. The setting array is in the correct format (associative or indexed).
+ *
+ * @param string $filter The filter to check.
+ * @param array $filter_settings The filter settings.
+ *
+ * @return bool Whether the filter settings can be used.
+ */
+ private function is_valid_filter_setting( $filter, $filter_settings ) {
+ if ( ! is_array( $filter_settings ) ) {
+ // The settings for each filter must be an array.
+ return false;
+ }
+
+ if ( empty( $filter_settings ) ) {
+ // Empty settings are allowed.
+ return true;
+ }
+
+ $indexed_array = isset( $filter_settings[0] );
+ if ( in_array( $filter, Default_Filter_Settings::ASSOCIATIVE_FILTERS, true ) && ! $indexed_array ) {
+ return true;
+ } elseif ( ! in_array( $filter, Default_Filter_Settings::ASSOCIATIVE_FILTERS, true ) && $indexed_array ) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Adds the data settings that are always required for every plugin that uses Sync.
+ */
+ private function add_required_settings() {
+ foreach ( self::MUST_SYNC_DATA_SETTINGS as $filter => $setting ) {
+ $this->add_custom_filter_setting( $filter, $setting );
+ }
+ }
+
+ /**
+ * Adds the provided data setting for the provided filter.
+ *
+ * @param string $filter The filter name.
+ * @param array $value The data setting.
+ */
+ private function add_sync_filter_setting( $filter, $value ) {
+ if ( ! isset( static::$data_settings[ $filter ] ) ) {
+ static::$data_settings[ $filter ] = $value;
+ return;
+ }
+
+ if ( in_array( $filter, Default_Filter_Settings::ASSOCIATIVE_FILTERS, true ) ) {
+ $this->add_associative_filter_setting( $filter, $value );
+ } else {
+ $this->add_indexed_filter_setting( $filter, $value );
+ }
+ }
+
+ /**
+ * Adds the provided data setting for the provided filter. This method handles
+ * adding settings to data that is stored as an associative array.
+ *
+ * @param string $filter The filter name.
+ * @param array $settings The data settings.
+ */
+ private function add_associative_filter_setting( $filter, $settings ) {
+ foreach ( $settings as $key => $item ) {
+ if ( ! array_key_exists( $key, static::$data_settings[ $filter ] ) ) {
+ static::$data_settings[ $filter ][ $key ] = $item;
+ }
+ }
+ }
+
+ /**
+ * Adds the provided data setting for the provided filter. This method handles
+ * adding settings to data that is stored as an indexed array.
+ *
+ * @param string $filter The filter name.
+ * @param array $settings The data settings.
+ */
+ private function add_indexed_filter_setting( $filter, $settings ) {
+ static::$data_settings[ $filter ] = array_unique(
+ array_merge(
+ static::$data_settings[ $filter ],
+ $settings
+ )
+ );
+ }
+
+ /**
+ * The callback function added to the sync data filters. Combines the list in the $data_settings property
+ * with any non-default values from the received array.
+ *
+ * @param array $filtered_values The data revieved from the filter.
+ *
+ * @return array The data settings for the filter.
+ */
+ public function sync_data_filter_hook( $filtered_values ) {
+ if ( ! is_array( $filtered_values ) ) {
+ // Something is wrong with the input, so set it to an empty array.
+ $filtered_values = array();
+ }
+
+ $current_filter = current_filter();
+
+ if ( ! isset( static::$data_settings[ $current_filter ] ) ) {
+ return $filtered_values;
+ }
+
+ if ( in_array( $current_filter, Default_Filter_Settings::ASSOCIATIVE_FILTERS, true ) ) {
+ $extra_filters = array_diff_key( $filtered_values, $this->get_default_setting_for_filter( $current_filter ) );
+ $this->add_associative_filter_setting( $current_filter, $extra_filters );
+ return static::$data_settings[ $current_filter ];
+ }
+
+ $extra_filters = array_diff( $filtered_values, $this->get_default_setting_for_filter( $current_filter ) );
+ $this->add_indexed_filter_setting( $current_filter, $extra_filters );
+ return static::$data_settings[ $current_filter ];
+ }
+
+ /**
+ * Sets the $data_settings property to an empty array. This is useful for testing.
+ */
+ public function empty_data_settings_and_hooks() {
+ static::$data_settings = array();
+ static::$set_filter_hooks = array();
+ }
+
+ /**
+ * Returns the $data_settings property.
+ *
+ * @return array The data_settings property.
+ */
+ public function get_data_settings() {
+ return static::$data_settings;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-dedicated-sender.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-dedicated-sender.php
new file mode 100644
index 00000000..0d068766
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-dedicated-sender.php
@@ -0,0 +1,204 @@
+<?php
+/**
+ * Dedicated Sender.
+ *
+ * The class is responsible for spawning dedicated Sync requests.
+ *
+ * @package automattic/jetpack-sync
+ */
+
+namespace Automattic\Jetpack\Sync;
+
+use WP_Error;
+/**
+ * Class to manage Sync spawning.
+ * The purpose of this class is to provide the means to unblock Sync
+ * from running in the shutdown hook of regular requests by spawning a
+ * dedicated Sync request instead which will trigger Sync to run.
+ */
+class Dedicated_Sender {
+
+ /**
+ * The transient name for storing the response code
+ * after spawning a dedicated sync test request.
+ */
+ const DEDICATED_SYNC_CHECK_TRANSIENT = 'jetpack_sync_dedicated_sync_spawn_check';
+
+ /**
+ * Validation string to check if the endpoint is working correctly.
+ *
+ * This is extracted and not hardcoded, as we might want to change it in the future.
+ */
+ const DEDICATED_SYNC_VALIDATION_STRING = 'DEDICATED SYNC OK';
+
+ /**
+ * Filter a URL to check if Dedicated Sync is enabled.
+ * We need to remove slashes and then run it through `urldecode` as sometimes the
+ * URL is in an encoded form, depending on server configuration.
+ *
+ * @param string $url The URL to filter.
+ *
+ * @return string
+ */
+ public static function prepare_url_for_dedicated_request_check( $url ) {
+ return urldecode( $url );
+ }
+ /**
+ * Check if this request should trigger Sync to run.
+ *
+ * @access public
+ *
+ * @return boolean True if this is a 'jetpack/v4/sync/spawn-sync', false otherwise.
+ */
+ public static function is_dedicated_sync_request() {
+ /**
+ * Check $_SERVER['REQUEST_URI'] first, to see if we're in the right context.
+ * This is done to make sure we can hook in very early in the initialization of WordPress to
+ * be able to send sync requests to the backend as fast as possible, without needing to continue
+ * loading things for the request.
+ */
+ if ( ! isset( $_SERVER['REQUEST_URI'] ) ) {
+ return false;
+ }
+
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized,WordPress.Security.NonceVerification.Recommended
+ $check_url = self::prepare_url_for_dedicated_request_check( wp_unslash( $_SERVER['REQUEST_URI'] ) );
+ if ( strpos( $check_url, 'jetpack/v4/sync/spawn-sync' ) !== false ) {
+ return true;
+ }
+
+ /**
+ * If the above check failed, we might have an issue with detecting calls to the REST endpoint early on.
+ * Sometimes, like when permalinks are disabled, the REST path is sent via the `rest_route` GET parameter.
+ * We want to check it too, to make sure we managed to cover more cases and be more certain we actually
+ * catch calls to the endpoint.
+ */
+ if ( ! isset( $_GET['rest_route'] ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ return false;
+ }
+
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized,WordPress.Security.NonceVerification.Recommended
+ $check_url = self::prepare_url_for_dedicated_request_check( wp_unslash( $_GET['rest_route'] ) );
+ if ( strpos( $check_url, 'jetpack/v4/sync/spawn-sync' ) !== false ) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Send a request to run Sync for a certain sync queue
+ * through HTTP request that doesn't halt page loading.
+ *
+ * @access public
+ *
+ * @param Automattic\Jetpack\Sync\Queue $queue Queue object.
+ *
+ * @return boolean|WP_Error True if spawned, WP_Error otherwise.
+ */
+ public static function spawn_sync( $queue ) {
+ if ( ! Settings::is_dedicated_sync_enabled() ) {
+ return new WP_Error( 'dedicated_sync_disabled', 'Dedicated Sync flow is disabled.' );
+ }
+
+ if ( $queue->is_locked() ) {
+ return new WP_Error( 'locked_queue_' . $queue->id );
+ }
+
+ if ( $queue->size() === 0 ) {
+ return new WP_Error( 'empty_queue_' . $queue->id );
+ }
+
+ // Return early if we've gotten a retry-after header response that is not expired.
+ $retry_time = get_option( Actions::RETRY_AFTER_PREFIX . $queue->id );
+ if ( $retry_time && $retry_time >= microtime( true ) ) {
+ return new WP_Error( 'retry_after_' . $queue->id );
+ }
+
+ // Don't sync if we are throttled.
+ $sync_next_time = Sender::get_instance()->get_next_sync_time( $queue->id );
+ if ( $sync_next_time > microtime( true ) ) {
+ return new WP_Error( 'sync_throttled_' . $queue->id );
+ }
+
+ $url = rest_url( 'jetpack/v4/sync/spawn-sync' );
+ $url = add_query_arg( 'time', time(), $url ); // Enforce Cache busting.
+ $args = array(
+ 'cookies' => $_COOKIE,
+ 'blocking' => false,
+ 'timeout' => 0.01,
+ /** This filter is documented in wp-includes/class-wp-http-streams.php */
+ 'sslverify' => apply_filters( 'https_local_ssl_verify', false ),
+ );
+
+ $result = wp_remote_get( $url, $args );
+ if ( is_wp_error( $result ) ) {
+ return $result;
+ }
+
+ return true;
+ }
+
+ /**
+ * Test Sync spawning functionality by making a request to the
+ * Sync spawning endpoint and storing the result (status code) in a transient.
+ *
+ * @since $$next_version$$
+ *
+ * @return bool True if we got a successful response, false otherwise.
+ */
+ public static function can_spawn_dedicated_sync_request() {
+ $dedicated_sync_check_transient = self::DEDICATED_SYNC_CHECK_TRANSIENT;
+
+ $dedicated_sync_response_body = get_transient( $dedicated_sync_check_transient );
+
+ if ( false === $dedicated_sync_response_body ) {
+ $url = rest_url( 'jetpack/v4/sync/spawn-sync' );
+ $url = add_query_arg( 'time', time(), $url ); // Enforce Cache busting.
+ $args = array(
+ 'cookies' => $_COOKIE,
+ 'timeout' => 30,
+ /** This filter is documented in wp-includes/class-wp-http-streams.php */
+ 'sslverify' => apply_filters( 'https_local_ssl_verify', false ),
+ );
+
+ $response = wp_remote_get( $url, $args );
+ $dedicated_sync_response_code = wp_remote_retrieve_response_code( $response );
+ $dedicated_sync_response_body = trim( wp_remote_retrieve_body( $response ) );
+
+ /**
+ * Limit the size of the body that we save in the transient to avoid cases where an error
+ * occurs and a whole generated HTML page is returned. We don't need to store the whole thing.
+ *
+ * The regexp check is done to make sure we can detect the string even if the body returns some additional
+ * output, like some caching plugins do when they try to pad the request.
+ */
+ $regexp = '!' . preg_quote( self::DEDICATED_SYNC_VALIDATION_STRING, '!' ) . '!uis';
+ if ( preg_match( $regexp, $dedicated_sync_response_body ) ) {
+ $saved_response_body = self::DEDICATED_SYNC_VALIDATION_STRING;
+ } else {
+ $saved_response_body = time();
+ }
+
+ set_transient( $dedicated_sync_check_transient, $saved_response_body, HOUR_IN_SECONDS );
+
+ // Send a bit more information to WordPress.com to help debugging issues.
+ if ( $saved_response_body !== self::DEDICATED_SYNC_VALIDATION_STRING ) {
+ $data = array(
+ 'timestamp' => microtime( true ),
+ 'response_code' => $dedicated_sync_response_code,
+ 'response_body' => $dedicated_sync_response_body,
+
+ // Send the flow type that was attempted.
+ 'sync_flow_type' => 'dedicated',
+ );
+
+ $sender = Sender::get_instance();
+
+ $sender->send_action( 'jetpack_sync_flow_error_enable', $data );
+ }
+ }
+
+ return self::DEDICATED_SYNC_VALIDATION_STRING === $dedicated_sync_response_body;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-default-filter-settings.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-default-filter-settings.php
new file mode 100644
index 00000000..81946fe8
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-default-filter-settings.php
@@ -0,0 +1,80 @@
+<?php
+/**
+ * The Default Filter Settings class.
+ *
+ * This class provides the default whitelist values for the Sync data filters.
+ * See the DATA_FILTER_DEFAULTS constant for the list of filters.
+ *
+ * @package automattic/jetpack-sync
+ */
+
+namespace Automattic\Jetpack\Sync;
+
+/**
+ * The Default_Filter_Settings class
+ */
+class Default_Filter_Settings {
+
+ /**
+ * The class that contains the default values of the filters.
+ */
+ const DEFAULT_FILTER_CLASS = 'Automattic\Jetpack\Sync\Defaults';
+
+ /**
+ * A map of each Sync filter name to the associated property name in the Defaults class.
+ */
+ const DATA_FILTER_DEFAULTS = array(
+ 'jetpack_sync_options_whitelist' => 'default_options_whitelist',
+ 'jetpack_sync_options_contentless' => 'default_options_contentless',
+ 'jetpack_sync_constants_whitelist' => 'default_constants_whitelist',
+ 'jetpack_sync_callable_whitelist' => 'default_callable_whitelist',
+ 'jetpack_sync_multisite_callable_whitelist' => 'default_multisite_callable_whitelist',
+ 'jetpack_sync_post_meta_whitelist' => 'post_meta_whitelist',
+ 'jetpack_sync_comment_meta_whitelist' => 'comment_meta_whitelist',
+ 'jetpack_sync_capabilities_whitelist' => 'default_capabilities_whitelist',
+ 'jetpack_sync_known_importers' => 'default_known_importers',
+ );
+
+ /**
+ * The data associated with these filters are stored as associative arrays.
+ * (All other filters store data as indexed arrays.)
+ */
+ const ASSOCIATIVE_FILTERS = array(
+ 'jetpack_sync_callable_whitelist',
+ 'jetpack_sync_multisite_callable_whitelist',
+ 'jetpack_sync_known_importers',
+ );
+
+ /**
+ * Returns the default data settings list for the provided filter.
+ *
+ * @param string $filter The filter name.
+ *
+ * @return array|false The default list of data settings. Returns false if the provided
+ * filter doesn't not have an array of default settings.
+ */
+ public function get_default_settings( $filter ) {
+ if ( ! is_string( $filter ) || ! array_key_exists( $filter, self::DATA_FILTER_DEFAULTS ) ) {
+ return false;
+ }
+
+ $property = self::DATA_FILTER_DEFAULTS[ $filter ];
+ $class = self::DEFAULT_FILTER_CLASS;
+ return $class::$$property;
+ }
+
+ /**
+ * Returns an array containing the default values for all of the filters shown
+ * in DATA_FILTER_DEFAULTS.
+ *
+ * @return array The array containing all sync data filters and their default values.
+ */
+ public function get_all_filters_default_settings() {
+ $defaults = array();
+
+ foreach ( self::DATA_FILTER_DEFAULTS as $filter => $default_location ) {
+ $defaults[ $filter ] = $this->get_default_settings( $filter );
+ }
+ return $defaults;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php
index c8c43501..4386c88f 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php
@@ -95,6 +95,7 @@ class Defaults {
'jetpack_sync_settings_post_meta_whitelist',
'jetpack_sync_settings_post_types_blacklist',
'jetpack_sync_settings_taxonomies_blacklist',
+ 'jetpack_sync_settings_dedicated_sync_enabled', // is Dedicated Sync flow enabled.
'jetpack_testimonial',
'jetpack_testimonial_posts_per_page',
'jetpack_wga',
@@ -171,6 +172,7 @@ class Defaults {
'wpcom_is_fse_activated',
'wpcom_publish_comments_with_markdown',
'wpcom_publish_posts_with_markdown',
+ 'videopress_private_enabled_for_site',
);
/**
@@ -282,6 +284,7 @@ class Defaults {
*/
public static $default_callable_whitelist = array(
'get_plugins' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_plugins' ),
+ 'get_themes' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_themes' ),
'get_plugins_action_links' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_plugins_action_links' ),
'has_file_system_write_access' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'file_system_write_access' ),
'home_url' => array( 'Automattic\\Jetpack\\Connection\\Urls', 'home_url' ),
@@ -309,6 +312,7 @@ class Defaults {
'wp_get_environment_type' => 'wp_get_environment_type',
'wp_max_upload_size' => 'wp_max_upload_size',
'wp_version' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'wp_version' ),
+ 'active_modules' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_active_modules' ),
);
/**
@@ -375,6 +379,7 @@ class Defaults {
* @var array Blacklisted post types.
*/
public static $blacklisted_post_types = array(
+ '_term_meta',
'ai1ec_event',
'ai_log', // Logger - https://github.com/alleyinteractive/logger.
'amp_validated_url', // AMP Validation Errors.
@@ -728,6 +733,7 @@ class Defaults {
'switch_like_status',
'videopress_guid',
'vimeo_poster_image',
+ '_jetpack_blogging_prompt_key',
);
/**
@@ -1269,4 +1275,11 @@ class Defaults {
),
);
+ /**
+ * Default for enabling dedicated Sync flow.
+ *
+ * @var int Bool-ish. Default 0.
+ */
+ public static $default_dedicated_sync_enabled = 0;
+
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php
index 02de16cd..b007c695 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php
@@ -9,6 +9,7 @@ namespace Automattic\Jetpack\Sync;
use Automattic\Jetpack\Connection\Urls;
use Automattic\Jetpack\Constants;
+use Automattic\Jetpack\Modules as Jetpack_Modules;
/**
* Utility functions to generate data synced to wpcom
@@ -72,7 +73,7 @@ class Functions {
$cloned_taxonomy = json_decode( wp_json_encode( $taxonomy ) );
// recursive taxonomies are no fun.
- if ( is_null( $cloned_taxonomy ) ) {
+ if ( $cloned_taxonomy === null ) {
return null;
}
// Remove any meta_box_cb if they are not the default wp ones.
@@ -82,7 +83,7 @@ class Functions {
}
// Remove update call back.
if ( isset( $cloned_taxonomy->update_count_callback ) &&
- ! is_null( $cloned_taxonomy->update_count_callback ) ) {
+ $cloned_taxonomy->update_count_callback !== null ) {
$cloned_taxonomy->update_count_callback = null;
}
// Remove rest_controller_class if it something other then the default.
@@ -466,7 +467,7 @@ class Functions {
}
$plugins_action_links = get_option( 'jetpack_plugin_api_action_links', array() );
if ( ! empty( $plugins_action_links ) ) {
- if ( is_null( $plugin_file_singular ) ) {
+ if ( $plugin_file_singular === null ) {
return $plugins_action_links;
}
return ( isset( $plugins_action_links[ $plugin_file_singular ] ) ? $plugins_action_links[ $plugin_file_singular ] : null );
@@ -628,4 +629,47 @@ class Functions {
return $any;
}
+
+ /**
+ * Return the list of installed themes
+ *
+ * @since 1.31.0
+ *
+ * @return array
+ */
+ public static function get_themes() {
+ $current_stylesheet = get_stylesheet();
+ $installed_themes = wp_get_themes();
+ $synced_headers = array( 'Name', 'ThemeURI', 'Author', 'Version', 'Template', 'Status', 'TextDomain', 'RequiresWP', 'RequiresPHP' );
+ $themes = array();
+ foreach ( $installed_themes as $stylesheet => $theme ) {
+ $themes[ $stylesheet ] = array();
+ foreach ( $synced_headers as $header ) {
+ $themes[ $stylesheet ][ $header ] = $theme->get( $header );
+ }
+ $themes[ $stylesheet ]['active'] = $stylesheet === $current_stylesheet;
+ if ( method_exists( $theme, 'is_block_theme' ) ) {
+ $themes[ $stylesheet ]['is_block_theme'] = $theme->is_block_theme();
+ }
+ }
+ /**
+ * Filters the output of Sync's get_theme callable
+ *
+ * @since 1.31.0
+ *
+ * @param array $themes The list of installed themes formatted in an array with a collection of information extracted from the Theme's headers
+ */
+ return apply_filters( 'jetpack_sync_get_themes_callable', $themes );
+ }
+
+ /**
+ * Return the list of active Jetpack modules.
+ *
+ * @since $$next_version$$
+ *
+ * @return array
+ */
+ public static function get_active_modules() {
+ return ( new Jetpack_Modules() )->get_active();
+ }
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-listener.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-listener.php
index ce2862a4..37040d00 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-listener.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-listener.php
@@ -240,7 +240,7 @@ class Listener {
*/
$args = apply_filters( "jetpack_sync_before_enqueue_$action_name", $args );
$action_data = array( $args );
- if ( ! is_null( $previous_end ) ) {
+ if ( $previous_end !== null ) {
$action_data[] = $previous_end;
}
// allow listeners to abort.
@@ -426,7 +426,7 @@ class Listener {
);
if ( $this->should_send_user_data_with_actor( $current_filter ) ) {
- $ip = isset( $_SERVER['REMOTE_ADDR'] ) ? $_SERVER['REMOTE_ADDR'] : '';
+ $ip = isset( $_SERVER['REMOTE_ADDR'] ) ? filter_var( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ) : '';
if ( defined( 'JETPACK__PLUGIN_DIR' ) ) {
if ( ! function_exists( 'jetpack_protect_get_ip' ) ) {
require_once JETPACK__PLUGIN_DIR . 'modules/protect/shared-functions.php';
@@ -435,7 +435,7 @@ class Listener {
}
$actor['ip'] = $ip;
- $actor['user_agent'] = isset( $_SERVER['HTTP_USER_AGENT'] ) ? $_SERVER['HTTP_USER_AGENT'] : 'unknown';
+ $actor['user_agent'] = isset( $_SERVER['HTTP_USER_AGENT'] ) ? filter_var( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ) : 'unknown';
}
return $actor;
@@ -480,7 +480,8 @@ class Listener {
*/
public function get_request_url() {
if ( isset( $_SERVER['HTTP_HOST'], $_SERVER['REQUEST_URI'] ) ) {
- return 'http' . ( isset( $_SERVER['HTTPS'] ) ? 's' : '' ) . '://' . "{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}";
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- False positive, sniff misses the call to esc_url_raw.
+ return esc_url_raw( 'http' . ( isset( $_SERVER['HTTPS'] ) ? 's' : '' ) . '://' . wp_unslash( "{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}" ) );
}
return is_admin() ? get_admin_url( get_current_blog_id() ) : home_url();
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-main.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-main.php
index b7e590a9..b3998c90 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-main.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-main.php
@@ -46,6 +46,16 @@ class Main {
}
/**
+ * Sets the Sync data settings.
+ *
+ * @param array $data_settings An array containing the Sync data options. An empty array indicates that the default
+ * values will be used for all Sync data.
+ */
+ public static function set_sync_data_options( $data_settings = array() ) {
+ ( new Data_Settings() )->add_settings_list( $data_settings );
+ }
+
+ /**
* Initialize the main sync actions.
*
* @action plugins_loaded
@@ -58,6 +68,7 @@ class Main {
* For now additional modules are enabled based on whether the third party plugin
* class exists or not.
*/
+ Sync_Actions::initialize_search();
Sync_Actions::initialize_woocommerce();
Sync_Actions::initialize_wp_super_cache();
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php
index 69a9faf3..55383a00 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php
@@ -12,7 +12,7 @@ namespace Automattic\Jetpack\Sync;
*/
class Package_Version {
- const PACKAGE_VERSION = '1.28.0';
+ const PACKAGE_VERSION = '1.35.0';
const PACKAGE_SLUG = 'sync';
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php
index fe80cf90..bf8cf812 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php
@@ -411,7 +411,7 @@ class Queue {
if ( is_wp_error( $is_valid ) ) {
// Always delete ids_to_remove even when buffer is no longer checked-out.
// They were processed by WP.com so safe to remove from queue.
- if ( ! is_null( $ids_to_remove ) ) {
+ if ( $ids_to_remove !== null ) {
$this->delete( $ids_to_remove );
}
return $is_valid;
@@ -420,7 +420,7 @@ class Queue {
$this->delete_checkout_id();
// By default clear all items in the buffer.
- if ( is_null( $ids_to_remove ) ) {
+ if ( $ids_to_remove === null ) {
$ids_to_remove = $buffer->get_item_ids();
}
@@ -478,6 +478,15 @@ class Queue {
}
/**
+ * Checks if the queue is locked.
+ *
+ * @return bool
+ */
+ public function is_locked() {
+ return (bool) $this->get_checkout_id();
+ }
+
+ /**
* Locks checkouts from the queue
* tries to wait up to $timeout seconds for the queue to be empty.
*
@@ -735,7 +744,7 @@ class Queue {
}
// TODO: change to strict comparison.
- if ( $checkout_id != $buffer->id ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ if ( $checkout_id != $buffer->id ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
return new WP_Error( 'buffer_mismatch', 'The buffer you checked in was not checked out' );
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php
index 6687fec5..ae947009 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php
@@ -1319,7 +1319,7 @@ class Replicastore implements Replicastore_Interface {
}
// Validate / Determine Buckets.
- if ( is_null( $buckets ) || $buckets < 1 ) {
+ if ( $buckets === null || $buckets < 1 ) {
$buckets = $this->calculate_buckets( $table, $start_id, $end_id );
}
if ( is_wp_error( $buckets ) ) {
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-rest-endpoints.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-rest-endpoints.php
index ae12ff32..6e4cb8c9 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-rest-endpoints.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-rest-endpoints.php
@@ -306,6 +306,17 @@ class REST_Endpoints {
)
);
+ // Trigger Dedicated Sync request.
+ register_rest_route(
+ 'jetpack/v4',
+ '/sync/spawn-sync',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::spawn_sync',
+ 'permission_callback' => '__return_true',
+ )
+ );
+
}
/**
@@ -726,6 +737,38 @@ class REST_Endpoints {
}
/**
+ * This endpoint is used by Sync to spawn a
+ * dedicated Sync request which will trigger Sync to run.
+ *
+ * If Dedicated Sync is enabled, this callback should never run as
+ * processing of Sync actions will occur earlier and exit.
+ *
+ * @see Actions::init
+ * @see Sender::do_dedicated_sync_and_exit
+ *
+ * @since $$next_version$$
+ *
+ * @return \WP_REST_Response
+ */
+ public static function spawn_sync() {
+ nocache_headers();
+
+ if ( ! Settings::is_dedicated_sync_enabled() ) {
+ return new WP_Error(
+ 'dedicated_sync_disabled',
+ 'Dedicated Sync flow is disabled.',
+ array( 'status' => 422 )
+ );
+ }
+
+ return new WP_Error(
+ 'dedicated_sync_failed',
+ 'Failed to process Dedicated Sync request',
+ array( 'status' => 500 )
+ );
+ }
+
+ /**
* Verify that request has default permissions to perform sync actions.
*
* @since 1.23.1
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php
index 6699dd61..757ce490 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php
@@ -321,7 +321,59 @@ class Sender {
* @return boolean|WP_Error True if this sync sending was successful, error object otherwise.
*/
public function do_sync() {
- return $this->do_sync_and_set_delays( $this->sync_queue );
+ if ( ! Settings::is_dedicated_sync_enabled() ) {
+ $result = $this->do_sync_and_set_delays( $this->sync_queue );
+ } else {
+ $result = Dedicated_Sender::spawn_sync( $this->sync_queue );
+ }
+
+ return $result;
+ }
+
+ /**
+ * Trigger incremental sync and early exit on Dedicated Sync request.
+ *
+ * @access public
+ *
+ * @param bool $do_real_exit If we should exit at the end of the request. We should by default.
+ * In the context of running this in the REST API, we actually want to return an error.
+ *
+ * @return void|WP_Error
+ */
+ public function do_dedicated_sync_and_exit( $do_real_exit = true ) {
+ nocache_headers();
+
+ if ( ! Settings::is_dedicated_sync_enabled() ) {
+ return new WP_Error( 'dedicated_sync_disabled', 'Dedicated Sync flow is disabled.' );
+ }
+
+ if ( ! Dedicated_Sender::is_dedicated_sync_request() ) {
+ return new WP_Error( 'non_dedicated_sync_request', 'Not a Dedicated Sync request.' );
+ }
+
+ /**
+ * Output an `OK` to show that Dedicated Sync is enabled and we can process events.
+ * This is used to test the feature is working.
+ *
+ * @see \Automattic\Jetpack\Sync\Dedicated_Sender::can_spawn_dedicated_sync_request
+ */
+ // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ echo Dedicated_Sender::DEDICATED_SYNC_VALIDATION_STRING;
+
+ // Try to disconnect the request as quickly as possible and process things in the background.
+ $this->fastcgi_finish_request();
+
+ // Actually try to send Sync events.
+ $result = $this->do_sync_and_set_delays( $this->sync_queue );
+
+ // If no errors occurred, re-spawn a dedicated Sync request.
+ if ( true === $result ) {
+ Dedicated_Sender::spawn_sync( $this->sync_queue );
+ }
+
+ if ( $do_real_exit ) {
+ exit;
+ }
}
/**
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-settings.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-settings.php
index a923fbf3..31cee3b2 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-settings.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-settings.php
@@ -56,6 +56,7 @@ class Settings {
'full_sync_send_duration' => true,
'full_sync_limits' => true,
'checksum_disable' => true,
+ 'dedicated_sync_enabled' => true,
);
/**
@@ -198,10 +199,10 @@ class Settings {
if ( self::is_network_setting( $setting ) ) {
if ( is_multisite() && is_main_site() ) {
- update_site_option( self::SETTINGS_OPTION_PREFIX . $setting, $value );
+ $updated = update_site_option( self::SETTINGS_OPTION_PREFIX . $setting, $value );
}
} else {
- update_option( self::SETTINGS_OPTION_PREFIX . $setting, $value, true );
+ $updated = update_option( self::SETTINGS_OPTION_PREFIX . $setting, $value, true );
}
// If we set the disabled option to true, clear the queues.
@@ -210,6 +211,13 @@ class Settings {
$listener->get_sync_queue()->reset();
$listener->get_full_sync_queue()->reset();
}
+
+ // Do not enable Dedicated Sync if we cannot spawn a Dedicated Sync request.
+ if ( 'dedicated_sync_enabled' === $setting && $updated && (bool) $value ) {
+ if ( ! Dedicated_Sender::can_spawn_dedicated_sync_request() ) {
+ update_option( self::SETTINGS_OPTION_PREFIX . $setting, 0, true );
+ }
+ }
}
}
@@ -443,7 +451,7 @@ class Settings {
* @return boolean Whether WordPress is currently importing.
*/
public static function is_importing() {
- if ( ! is_null( self::$is_importing ) ) {
+ if ( self::$is_importing !== null ) {
return self::$is_importing;
}
@@ -484,7 +492,7 @@ class Settings {
* @return boolean Whether WordPress is currently doing WP cron.
*/
public static function is_doing_cron() {
- if ( ! is_null( self::$is_doing_cron ) ) {
+ if ( self::$is_doing_cron !== null ) {
return self::$is_doing_cron;
}
@@ -565,4 +573,16 @@ class Settings {
return ! (bool) self::get_setting( 'checksum_disable' );
}
+ /**
+ * Whether dedicated Sync flow is enabled.
+ *
+ * @access public
+ * @static
+ *
+ * @return boolean Whether dedicated Sync flow is enabled.
+ */
+ public static function is_dedicated_sync_enabled() {
+ return (bool) self::get_setting( 'dedicated_sync_enabled' );
+ }
+
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-users.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-users.php
index 8a8c83f8..316df9ce 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-users.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-users.php
@@ -127,16 +127,16 @@ class Users {
if ( $user_id === $master_user_id && 'administrator' !== $role ) {
$query = new \WP_User_Query(
array(
- 'fields' => array( 'id' ),
+ 'fields' => array( 'ID' ),
'role' => 'administrator',
- 'orderby' => 'id',
+ 'orderby' => 'ID',
'exclude' => array( $master_user_id ),
)
);
$new_master = false;
$connection = new Jetpack_Connection();
foreach ( $query->results as $result ) {
- $found_user_id = absint( $result->id );
+ $found_user_id = absint( $result->ID );
if ( $found_user_id && $connection->is_user_connected( $found_user_id ) ) {
$new_master = $found_user_id;
break;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php
index 436554c9..4240744e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php
@@ -77,8 +77,9 @@ class Callables extends Module {
*/
const OPTION_NAMES_TO_CALLABLE_NAMES = array(
// @TODO: Audit the other option names for differences between the option names and callable names.
- 'home' => 'home_url',
- 'siteurl' => 'site_url',
+ 'home' => 'home_url',
+ 'siteurl' => 'site_url',
+ 'jetpack_active_modules' => 'active_modules',
);
/**
@@ -484,7 +485,7 @@ class Callables extends Module {
$checksum = $this->get_check_sum( $value );
// Explicitly not using Identical comparison as get_option returns a string.
- if ( ! is_null( $value ) && $this->should_send_callable( $callable_checksums, $name, $checksum ) ) {
+ if ( $value !== null && $this->should_send_callable( $callable_checksums, $name, $checksum ) ) {
// Only send callable if the non sorted checksum also does not match.
if ( $this->should_send_callable( $callable_checksums, $name, $this->get_check_sum( $value, false ) ) ) {
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-constants.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-constants.php
index d71a0fe1..db0d9ff4 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-constants.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-constants.php
@@ -198,7 +198,7 @@ class Constants extends Module {
foreach ( $constants as $name => $value ) {
$checksum = $this->get_check_sum( $value );
// Explicitly not using Identical comparison as get_option returns a string.
- if ( ! $this->still_valid_checksum( $constants_checksums, $name, $checksum ) && ! is_null( $value ) ) {
+ if ( ! $this->still_valid_checksum( $constants_checksums, $name, $checksum ) && $value !== null ) {
/**
* Tells the client to sync a constant to the server
*
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php
index 4017df16..bee3e889 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php
@@ -246,7 +246,10 @@ class Full_Sync_Immediately extends Module {
// Set default configuration, calculate totals, and save configuration if totals > 0.
$status = array();
foreach ( $full_sync_config as $name => $config ) {
- $module = Modules::get_module( $name );
+ $module = Modules::get_module( $name );
+ if ( ! $module ) {
+ continue;
+ }
$status[ $name ] = array(
'total' => $module->total( $config ),
'sent' => 0,
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync.php
index 0fe9245c..90121e88 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync.php
@@ -133,7 +133,7 @@ class Full_Sync extends Module {
$total_items = $module->estimate_full_sync_actions( $module_config );
// If there's information to process, configure this module.
- if ( ! is_null( $total_items ) && $total_items > 0 ) {
+ if ( $total_items !== null && $total_items > 0 ) {
$full_sync_config[ $module_name ] = $module_config;
$enqueue_status[ $module_name ] = array(
$total_items, // Total.
@@ -266,7 +266,7 @@ class Full_Sync extends Module {
$enqueue_status[ $module->name() ][2] = $next_enqueue_state;
// If items were processed, subtract them from the limit.
- if ( ! is_null( $items_enqueued ) && $items_enqueued > 0 ) {
+ if ( $items_enqueued !== null && $items_enqueued > 0 ) {
$enqueue_status[ $module->name() ][1] += $items_enqueued;
$remaining_items_to_enqueue -= $items_enqueued;
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php
index b244834f..06c06ab0 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php
@@ -205,7 +205,7 @@ class Plugins extends Module {
$plugins = get_plugins(); // Get the most up to date info.
if ( isset( $plugins[ $slug ] ) ) {
return array_merge( array( 'slug' => $slug ), $plugins[ $slug ] );
- };
+ }
// Try grabbing the info from before the update.
return isset( $this->plugins[ $slug ] ) ? array_merge( array( 'slug' => $slug ), $this->plugins[ $slug ] ) : array( 'slug' => $slug );
}
@@ -263,8 +263,8 @@ class Plugins extends Module {
return;
}
- // phpcs:ignore WordPress.Security.NonceVerification.Missing
- $plugin = $_POST['plugin'];
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated manually just after.
+ $plugin = wp_unslash( $_POST['plugin'] );
$plugins = get_plugins();
if ( ! isset( $plugins[ $plugin ] ) ) {
return;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php
index b9ea21d1..5623cc2b 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php
@@ -589,7 +589,7 @@ class Posts extends Module {
* @param boolean $update Whether this is an existing post being updated or not.
*/
public function wp_insert_post( $post_ID, $post = null, $update = null ) {
- if ( ! is_numeric( $post_ID ) || is_null( $post ) ) {
+ if ( ! is_numeric( $post_ID ) || $post === null ) {
return;
}
@@ -633,7 +633,7 @@ class Posts extends Module {
* @param \WP_Post $post Post object.
**/
public function wp_after_insert_post( $post_ID, $post ) {
- if ( ! is_numeric( $post_ID ) || is_null( $post ) ) {
+ if ( ! is_numeric( $post_ID ) || $post === null ) {
return;
}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-search.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-search.php
new file mode 100644
index 00000000..e6472c54
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-search.php
@@ -0,0 +1,1846 @@
+<?php
+/**
+ * Configuration lists for Jetpack Search Fields
+ *
+ * Post Meta: list of post meta keys that are available in the index
+ * and how they are configured.
+ *
+ * Custom Taxonomy: list of custom taxonomies that are indexed.
+ *
+ * The reason we need an allowed list is that Elasticsearch runs into scaling problems
+ * with more than 200k-ish total fields. The barrier to adding new fields is low,
+ * just open a PR.
+ *
+ * Although the comments indicate specific plugins, you don't need to be running
+ * that plugin for the indexing to work. The metakey just has to match.
+ *
+ * If you need a new meta key or taxonomy also consider using:
+ * jetpack-search-meta0 - jetpack-search-meta9
+ * jetpack-search-tag0 - jetpack-search-tag9
+ *
+ * @package automattic/jetpack-sync
+ */
+
+namespace Automattic\Jetpack\Sync\Modules;
+
+/**
+ * Class to handle sync for Jetpack Search.
+ */
+class Search extends Module {
+
+ /**
+ * Sync module name.
+ *
+ * @access public
+ *
+ * @return string
+ */
+ public function name() {
+ return 'search';
+ }
+
+ /**
+ * Constructor.
+ */
+ public function __construct() {
+ // Post meta whitelists.
+ add_filter( 'jetpack_sync_post_meta_whitelist', array( $this, 'add_search_post_meta_whitelist' ), 10 );
+ // Add options
+ add_filter( 'jetpack_sync_options_whitelist', array( $this, 'add_search_options_whitelist' ), 10 );
+ }
+
+ /**
+ * Post meta search specification.
+ *
+ * We sync and index all meta keys in this list. Additionally there are a few
+ * options.
+ *
+ * 'metakey' => [ 'searchable_in_all_content' => true ],
+ * Field will be included in the all_content fields
+ *
+ * 'metakey' => [ 'available' => false, 'alternatives' => [ 'metakey_processed' ] ],
+ * Field not in meta.* but has data in an alternative field(s) name that
+ * should work similarly. For instance, woocommerce total_sales does not go into
+ * the index, but the percentage of sales does.
+ *
+ * @static
+ * @access private
+ * @var array
+ */
+ private static $postmeta_to_sync = array(
+ // jetpack.
+ 'jetpack-search-meta0' => array( 'searchable_in_all_content' => true ),
+ 'jetpack-search-meta1' => array( 'searchable_in_all_content' => true ),
+ 'jetpack-search-meta2' => array( 'searchable_in_all_content' => true ),
+ 'jetpack-search-meta3' => array( 'searchable_in_all_content' => true ),
+ 'jetpack-search-meta4' => array( 'searchable_in_all_content' => true ),
+ 'jetpack-search-meta5' => array( 'searchable_in_all_content' => true ),
+ 'jetpack-search-meta6' => array( 'searchable_in_all_content' => true ),
+ 'jetpack-search-meta7' => array( 'searchable_in_all_content' => true ),
+ 'jetpack-search-meta8' => array( 'searchable_in_all_content' => true ),
+ 'jetpack-search-meta9' => array( 'searchable_in_all_content' => true ),
+
+ // woocommerce.
+ 'entity_types' => array(),
+ 'exclude_product_categories' => array(),
+ 'exclude_product_ids' => array(),
+ 'free_shipping' => array(),
+ 'id_field' => array(),
+ 'individual_use' => array(),
+ 'limit_usage_to_x_items' => array(),
+ 'maximum_amount' => array(),
+ 'minimum_amount' => array(),
+ 'post_id' => array(),
+ 'product_categories' => array( 'searchable_in_all_content' => true ),
+ 'product_ids' => array(),
+ 'total_sales' => array(
+ 'available' => false,
+ 'alternatives' => array(
+ 'wc.percent_of_sales',
+ ),
+ ),
+ 'usage_limit' => array(),
+ 'usage_limit_per_user' => array(),
+ '_crosssell_ids' => array(),
+ '_downloadable' => array(),
+ '_featured' => array(),
+ '_height' => array(),
+ '_length' => array(),
+ '_price' => array(
+ 'alternatives' => array(
+ 'wc.price',
+ 'wc.min_price',
+ 'wc.max_price',
+ ),
+ ),
+ '_prices_include_tax' => array(),
+ '_product_attributes' => array(),
+ '_product_version' => array(),
+ '_regular_price' => array(
+ 'alternatives' => array(
+ 'wc.regular_price',
+ ),
+ ),
+ '_sale_price' => array(
+ 'alternatives' => array(
+ 'wc.sale_price',
+ ),
+ ),
+ '_sale_price_dates_from' => array(),
+ '_sale_price_dates_to' => array(),
+ '_sku' => array( 'searchable_in_all_content' => true ),
+ '_stock_status' => array(),
+ '_wc_average_rating' => array(
+ 'alternatives' => array(
+ 'wc.ave_rating_score',
+ ),
+ ),
+ '_wc_rating_count' => array(
+ 'alternatives' => array(
+ 'wc.rating', // wc.rating.count_1, wc.rating.count_2, ...
+ ),
+ ),
+ '_wc_review_count' => array(),
+ '_weight' => array(),
+ '_width' => array(),
+
+ // co-authors plus.
+ 'cap-description' => array( 'searchable_in_all_content' => true ),
+ 'cap-user_login' => array( 'searchable_in_all_content' => true ),
+ 'cap-user_email' => array(),
+ 'cap-last_name' => array( 'searchable_in_all_content' => true ),
+ 'cap-first_name' => array( 'searchable_in_all_content' => true ),
+ 'cap-display_name' => array( 'searchable_in_all_content' => true ),
+ 'cap-website' => array(),
+ 'cap-jabber' => array(),
+ 'cap-aim' => array(),
+ 'cap-twitter' => array(),
+ 'cap-facebook' => array(),
+ 'cap-google_plus' => array(),
+ 'cap-job_title' => array( 'searchable_in_all_content' => true ),
+
+ // bbpress.
+ 'bbpl_like' => array(),
+ 'bbpress_discussion_comments_copied' => array(),
+ 'bbpress_discussion_tags_copied' => array(),
+ 'bbpress_discussion_topic_id' => array(),
+ 'bbpress_discussion_use_defaults' => array(),
+ 'bbpress_page_header_bg' => array(),
+ 'bbpress_title_bg' => array(),
+ 'use_bbpress_discussion_topic' => array(),
+
+ // wpml.
+ 'tm_meta_wpml' => array(),
+ 'wpml_language' => array(),
+ 'wpml_media_lang' => array(),
+ 'wpml_media_processed' => array(),
+
+ // blogger import.
+ 'blogger_author' => array( 'searchable_in_all_content' => true ),
+ 'blogger_blog' => array( 'searchable_in_all_content' => true ),
+ 'blogger_permalink' => array( 'searchable_in_all_content' => true ),
+
+ // geo.
+ 'geo_address' => array( 'searchable_in_all_content' => true ),
+ 'geo_latitude' => array(),
+ 'geo_longitude' => array(),
+ 'geo_public' => array(),
+ 'geolocated' => array(),
+ 'geolocation_city' => array( 'searchable_in_all_content' => true ),
+ 'geolocation_country_long' => array( 'searchable_in_all_content' => true ),
+ 'geolocation_country_short' => array( 'searchable_in_all_content' => true ),
+ 'geolocation_formatted_address' => array( 'searchable_in_all_content' => true ),
+ 'geolocation_lat' => array(),
+ 'geolocation_long' => array(),
+ 'geolocation_postcode' => array( 'searchable_in_all_content' => true ),
+ 'geolocation_state_long' => array( 'searchable_in_all_content' => true ),
+ 'geolocation_state_short' => array( 'searchable_in_all_content' => true ),
+
+ // wp-ultimate-recipe.
+ 'recipe_alternate_image' => array(),
+ 'recipe_cook_time' => array(),
+ 'recipe_cook_time_text' => array(),
+ 'recipe_description' => array( 'searchable_in_all_content' => true ),
+ 'recipe_ingredients' => array( 'searchable_in_all_content' => true ),
+ 'recipe_instructions' => array( 'searchable_in_all_content' => true ),
+ 'recipe_notes' => array( 'searchable_in_all_content' => true ),
+ 'recipe_nutritional' => array( 'searchable_in_all_content' => true ),
+ 'recipe_passive_time' => array(),
+ 'recipe_passive_time_text' => array(),
+ 'recipe_prep_time' => array(),
+ 'recipe_prep_time_text' => array(),
+ 'recipe_rating' => array(),
+ 'recipe_servings' => array(),
+ 'recipe_servings_normalized' => array(),
+ 'recipe_servings_type' => array(),
+ 'recipe_terms' => array( 'searchable_in_all_content' => true ),
+ 'recipe_terms_with_parents' => array(),
+ 'recipe_title' => array( 'searchable_in_all_content' => true ),
+ 'recipe_user_ratings' => array(),
+ 'recipe_user_ratings_rating' => array(),
+
+ // generic fields.
+ // from advanced-custom-fields and metabox.io .
+ 'Link' => array(),
+ 'Location' => array(),
+ 'Title' => array( 'searchable_in_all_content' => true ),
+ 'ad_code' => array(),
+ 'address' => array(),
+ 'admin_mail' => array(),
+ 'admin_only' => array(),
+ 'advertisers' => array( 'searchable_in_all_content' => true ),
+ 'age' => array(),
+ 'aliases' => array(),
+ 'alternate_title' => array(),
+ 'amazon' => array(),
+ 'answer' => array( 'searchable_in_all_content' => true ),
+ 'area' => array(),
+ 'attention' => array(),
+ 'attr' => array(),
+ 'author' => array( 'searchable_in_all_content' => true ),
+ 'author_name' => array( 'searchable_in_all_content' => true ),
+ 'blog' => array(),
+ 'blog_id' => array(),
+ 'call_to_action' => array(),
+ 'campaign_preview' => array(),
+ 'canonical_url' => array(),
+ 'catch_text' => array(),
+ 'category' => array( 'searchable_in_all_content' => true ),
+ 'classificacao' => array(),
+ 'classification' => array(),
+ 'code' => array(),
+ 'codigo' => array(),
+ 'company' => array( 'searchable_in_all_content' => true ),
+ 'company_website' => array(),
+ 'config' => array(),
+ 'construction' => array(),
+ 'container_ids' => array(),
+ 'content' => array( 'searchable_in_all_content' => true ),
+ 'content_body-full_content' => array( 'searchable_in_all_content' => true ),
+ 'copyright' => array(),
+ 'custom_page_title' => array( 'searchable_in_all_content' => true ),
+ 'custom_permalink' => array(),
+ 'customize' => array(),
+ 'data' => array(),
+ 'date' => array(),
+ 'day' => array(),
+ 'descripcion' => array( 'searchable_in_all_content' => true ),
+ 'description' => array( 'searchable_in_all_content' => true ),
+ 'display_settings' => array(),
+ 'display_type' => array(),
+ 'duration' => array(),
+ 'embed' => array(),
+ 'entity_ids' => array(),
+ 'entity_types' => array(),
+ 'event_subtitle' => array( 'searchable_in_all_content' => true ),
+ 'excluded_container_ids' => array(),
+ 'exclusions' => array(),
+ 'experience' => array(),
+ 'external_url' => array(),
+ 'featured' => array(),
+ 'featured_image' => array(),
+ 'featured_post' => array(),
+ 'featured_story' => array(),
+ 'fee' => array(),
+ 'filter' => array(),
+ 'follow' => array(),
+ 'footer_text' => array(),
+ 'from_header' => array(),
+ 'fullscreen_view' => array(),
+ 'gallery' => array(),
+ 'genre' => array( 'searchable_in_all_content' => true ),
+ 'guests' => array( 'searchable_in_all_content' => true ),
+ 'has_variations' => array(),
+ 'hashtag' => array(),
+ 'header_image' => array(),
+ 'hidden_from_ui' => array(),
+ 'hide_on_screen' => array(),
+ 'homepage_order' => array(),
+ 'hours' => array(),
+ 'i18n' => array(),
+ 'id' => array(),
+ 'image' => array(),
+ 'image_size' => array(),
+ 'image_source' => array(),
+ 'index' => array(),
+ 'intro_text' => array( 'searchable_in_all_content' => true ),
+ 'job_mention' => array( 'searchable_in_all_content' => true ),
+ 'keywords' => array( 'searchable_in_all_content' => true ),
+ 'latest_news' => array(),
+ 'layout' => array(),
+ 'link' => array(),
+ 'link_dump' => array( 'searchable_in_all_content' => true ),
+ 'link_url' => array(),
+ 'location' => array(),
+ 'logo' => array(),
+ 'main_title' => array( 'searchable_in_all_content' => true ),
+ 'maximum_entity_count' => array(),
+ 'media' => array(),
+ 'mentions' => array(),
+ 'messages' => array(),
+ 'meta_description' => array( 'searchable_in_all_content' => true ),
+ 'meta_id' => array(),
+ 'meta_index' => array(),
+ 'meta_key' => array(),
+ 'meta_value' => array(),
+ 'modal-dialog-id' => array(),
+ 'name' => array( 'searchable_in_all_content' => true ),
+ 'nombre' => array( 'searchable_in_all_content' => true ),
+ 'notes' => array( 'searchable_in_all_content' => true ),
+ 'options' => array(),
+ 'order_by' => array(),
+ 'order_direction' => array(),
+ 'original_cats' => array(),
+ 'original_headers' => array(),
+ 'original_link' => array(),
+ 'original_message' => array(),
+ 'original_subject' => array(),
+ 'original_title' => array(),
+ 'original_to' => array(),
+ 'other_setting' => array(),
+ 'page_canonical' => array(),
+ 'page_layout' => array(),
+ 'page_sidebar' => array(),
+ 'page_tags' => array(),
+ 'panels_data' => array(),
+ 'parking' => array(),
+ 'pdf_upload' => array(),
+ 'photo' => array(),
+ 'play_time' => array(),
+ 'position' => array(),
+ 'post-rating' => array(),
+ 'post_background' => array(),
+ 'post_color' => array(),
+ 'post_sidebar' => array(),
+ 'post_subtitle' => array( 'searchable_in_all_content' => true ),
+ 'price' => array(),
+ 'publication' => array(),
+ 'rating' => array(),
+ 'ratings_average' => array(),
+ 'ratings_score' => array(),
+ 'ratings_users' => array(),
+ 'relation' => array(),
+ 'reply_to_header' => array(),
+ 'required' => array(),
+ 'returns' => array(),
+ 'review_post' => array(),
+ 'rule' => array(),
+ 'section' => array( 'searchable_in_all_content' => true ),
+ 'session_transcript' => array(),
+ 'settings' => array(),
+ 'sex' => array(),
+ 'shares_count' => array(),
+ 'show_description' => array( 'searchable_in_all_content' => true ),
+ 'show_page_title' => array(),
+ 'side' => array(),
+ 'sidebar' => array(),
+ 'site' => array(),
+ 'situation' => array(),
+ 'slide_template' => array(),
+ 'slug' => array(),
+ 'sortorder' => array(),
+ 'source' => array(),
+ 'start_date' => array(),
+ 'status' => array(),
+ 'styles' => array(),
+ 'subtitle' => array( 'searchable_in_all_content' => true ),
+ 'subtitulo' => array(),
+ 'success' => array(),
+ 'summary' => array( 'searchable_in_all_content' => true ),
+ 'synopsis' => array( 'searchable_in_all_content' => true ),
+ 'tel' => array(),
+ 'tema' => array(),
+ 'testimonial' => array(),
+ 'testimonial_author' => array(),
+ 'text_already_subscribed' => array(),
+ 'text_error' => array(),
+ 'text_invalid_email' => array(),
+ 'text_not_subscribed' => array(),
+ 'text_required_field_missing' => array(),
+ 'text_subscribed' => array(),
+ 'text_unsubscribed' => array(),
+ 'thumbnail' => array(),
+ 'time' => array(),
+ 'time_jump_list' => array( 'searchable_in_all_content' => true ),
+ 'title' => array( 'searchable_in_all_content' => true ),
+ 'title_view' => array(),
+ 'titre' => array( 'searchable_in_all_content' => true ),
+ 'titulo' => array( 'searchable_in_all_content' => true ),
+ 'to_header' => array(),
+ 'toc' => array(),
+ 'transcript' => array( 'searchable_in_all_content' => true ),
+ 'transport_uri' => array(),
+ 'type' => array(),
+ 'url' => array(),
+ 'validation' => array(),
+ 'value' => array(),
+ 'values' => array(),
+ 'variation' => array(),
+ 'video' => array(),
+ 'video_type' => array(),
+ 'video_url' => array(),
+ 'videopress_guid' => array(),
+ 'website' => array(),
+ 'weight' => array(),
+ 'year' => array(),
+
+ ); // end indexed post meta.
+
+ /**
+ * Postmeta being considered for indexing
+ * but currently not in the index
+ * this list is really only for documentation.
+ *
+ * @static
+ * @access private
+ * @var array
+ */
+ private static $unindexed_postmeta = array(
+
+ // Core.
+ '_wp_attached_file' => array(),
+ '_wp_attachment_context' => array(),
+ '_wp_attachment_image_alt' => array(),
+ '_wp_attachment_is_custom_header' => array(),
+ '_wp_attachment_metadata' => array(),
+ '_wp_desired_post_slug' => array(),
+ '_wp_old_date' => array(),
+ '_wp_old_slug' => array(),
+ '_wp_page_template' => array(),
+
+ // WooCommerce products.
+ // See https://github.com/woocommerce/woocommerce/blob/8ed6e7436ff87c2153ed30edd83c1ab8abbdd3e9/includes/data-stores/class-wc-product-data-store-cpt.php#L21 .
+ '_backorders' => array(),
+ '_default_attributes' => array(),
+ '_download_expiry' => array(),
+ '_download_limit' => array(),
+ '_download_permissions_granted' => array(),
+ '_downloadable_files' => array(),
+ '_file_paths' => array(),
+ '_manage_stock' => array(),
+ '_product_image_gallery' => array(),
+ '_purchase_note' => array(),
+ '_recorded_coupon_usage_counts' => array(),
+ '_recorded_sales' => array(),
+ '_sold_individually' => array(),
+ '_stock' => array(),
+ '_tax_class' => array(),
+ '_tax_status' => array(),
+ '_thumbnail_id' => array(),
+ '_upsell_ids' => array(),
+ '_variation_description' => array(),
+ '_virtual' => array(),
+ '_visibility' => array(),
+ 'coupon_amount' => array(),
+ 'default_source' => array(),
+ 'discount_type' => array(),
+ 'exclude_sale_items' => array(),
+ 'expiry_date' => array(),
+
+ // Woocommerce orders and refunds.
+ // See https://github.com/woocommerce/woocommerce/blob/8ed6e7436ff87c2153ed30edd83c1ab8abbdd3e9/includes/data-stores/class-wc-order-data-store-cpt.php#L27 .
+ // See https://github.com/woocommerce/woocommerce/blob/b8a2815ae546c836467008739e7ff5150cb08e93/includes/data-stores/class-wc-order-refund-data-store-cpt.php#L20 .
+ '_billing_address_1' => array(),
+ '_billing_address_2' => array(),
+ '_billing_address_index' => array(),
+ '_billing_city' => array(),
+ '_billing_company' => array(),
+ '_billing_country' => array(),
+ '_billing_email' => array(),
+ '_billing_first_name' => array(),
+ '_billing_last_name' => array(),
+ '_billing_phone' => array(),
+ '_billing_postcode' => array(),
+ '_billing_state' => array(),
+ '_cart_discount' => array(),
+ '_cart_discount_tax' => array(),
+ '_completed_date' => array(),
+ '_created_via' => array(),
+ '_customer_ip_address' => array(),
+ '_customer_user_agent' => array(),
+ '_date_completed' => array(),
+ '_date_paid' => array(),
+ '_order_currency' => array(),
+ '_order_key' => array(),
+ '_order_shipping' => array(),
+ '_order_shipping_tax' => array(),
+ '_order_stock_reduced' => array(),
+ '_order_tax' => array(),
+ '_order_total' => array(),
+ '_order_version' => array(),
+ '_paid_date' => array(),
+ '_payment_method' => array(),
+ '_payment_method_title' => array(),
+ '_payment_tokens' => array(),
+ '_recorded_coupon_usage_counts' => array(),
+ '_refund_amount' => array(),
+ '_refund_reason' => array(),
+ '_refunded_by' => array(),
+ '_shipping_address_1' => array(),
+ '_shipping_address_2' => array(),
+ '_shipping_address_index' => array(),
+ '_shipping_city' => array(),
+ '_shipping_company' => array(),
+ '_shipping_country' => array(),
+ '_shipping_first_name' => array(),
+ '_shipping_last_name' => array(),
+ '_shipping_postcode' => array(),
+ '_shipping_state' => array(),
+ '_transaction_id' => array(),
+
+ // aioseop.
+ '_aioseop_description' => array(),
+ '_aioseop_keywords' => array(),
+ '_aioseop_title' => array(),
+
+ // yoast.
+ '_yoast_wpseo_authorship' => array(),
+ '_yoast_wpseo_bctitle' => array(),
+ '_yoast_wpseo_canonical' => array(),
+ '_yoast_wpseo_content_score' => array(),
+ '_yoast_wpseo_focuskw' => array(),
+ '_yoast_wpseo_focuskw_text_input' => array(),
+ '_yoast_wpseo_google-plus-description' => array(),
+ '_yoast_wpseo_google-plus-image' => array(),
+ '_yoast_wpseo_linkdex' => array(),
+ '_yoast_wpseo_meta-robots-adv' => array(),
+ '_yoast_wpseo_meta-robots-nofollow' => array(),
+ '_yoast_wpseo_meta-robots-noindex' => array(),
+ '_yoast_wpseo_metadesc' => array(),
+ '_yoast_wpseo_metakeywords' => array(),
+ '_yoast_wpseo_opengraph-description' => array(),
+ '_yoast_wpseo_opengraph-image' => array(),
+ '_yoast_wpseo_opengraph-title' => array(),
+ '_yoast_wpseo_primary_byline' => array(),
+ '_yoast_wpseo_primary_category' => array(),
+ '_yoast_wpseo_primary_product_cat' => array(),
+ '_yoast_wpseo_primary_sponsor-type' => array(),
+ '_yoast_wpseo_primary_tema_category' => array(),
+ '_yoast_wpseo_primary_wpdmcategory' => array(),
+ '_yoast_wpseo_primary_wt_portfolio_category' => array(),
+ '_yoast_wpseo_redirect' => array(),
+ '_yoast_wpseo_sitemap-include' => array(),
+ '_yoast_wpseo_sitemap-prio' => array(),
+ '_yoast_wpseo_title' => array(),
+ '_yoast_wpseo_twitter-description' => array(),
+ '_yoast_wpseo_twitter-image' => array(),
+
+ // bbpress.
+ 'bbppu_read_by' => array(),
+ '_bbp_activity_id' => array(),
+ '_bbp_attachment' => array(),
+ '_bbp_attachment_upload_error' => array(),
+ '_bbp_forum_id' => array(),
+ '_bbp_forum_parent_id' => array(),
+ '_bbp_forum_subforum_count' => array(),
+ '_bbp_forum_type' => array(),
+ '_bbp_group_ids' => array(),
+ '_bbp_last_active_id' => array(),
+ '_bbp_last_active_time' => array(),
+ '_bbp_last_reply_id' => array(),
+ '_bbp_last_topic_id' => array(),
+ '_bbp_old_forum_id' => array(),
+ '_bbp_old_sticky_status' => array(),
+ '_bbp_old_topic_id' => array(),
+ '_bbp_post_id' => array(),
+ '_bbp_reply_count' => array(),
+ '_bbp_reply_is_private' => array(),
+ '_bbp_reply_to' => array(),
+ '_bbp_revision_log' => array(),
+ '_bbp_status' => array(),
+ '_bbp_sticky_topics' => array(),
+ '_bbp_topic_count' => array(),
+ '_bbp_topic_id' => array(),
+ '_bbp_total_reply_count' => array(),
+ '_bbp_total_topic_count' => array(),
+ '_bbp_voice_count' => array(),
+
+ // ???
+ '_locale' => array(),
+
+ // wp-job-manager.
+ '_job_title' => array(),
+ '_job_description' => array(),
+
+ // wpml.
+ '_wpml_media_duplicate' => array(),
+ '_wpml_media_featured' => array(),
+
+ // generic fields.
+ 'ad_clicks_count' => array(),
+ 'email' => array(),
+ 'usage_count' => array(),
+ 'user_mail' => array(),
+ 'views' => array(),
+ '_EventAllDay' => array(),
+ '_EventCost' => array(),
+ '_EventCurrencyPosition' => array(),
+ '_EventCurrencySymbol' => array(),
+ '_EventDuration' => array(),
+ '_EventEndDate' => array(),
+ '_EventEndDateUTC' => array(),
+ '_EventOrganizerID' => array(),
+ '_EventOrigin' => array(),
+ '_EventShowMap' => array(),
+ '_EventShowMapLink' => array(),
+ '_EventStartDate' => array(),
+ '_EventStartDateUTC' => array(),
+ '_EventTimezone' => array(),
+ '_EventTimezoneAbbr' => array(),
+ '_EventURL' => array(),
+ '_EventVenueID' => array(),
+ '_OrganizerEmail' => array(),
+ '_OrganizerOrganizer' => array(),
+ '_OrganizerOrigin' => array(),
+ '_OrganizerPhone' => array(),
+ '_OrganizerWebsite' => array(),
+ '_VenueAddress' => array(),
+ '_VenueCity' => array(),
+ '_VenueCountry' => array(),
+ '_VenueOrigin' => array(),
+ '_VenuePhone' => array(),
+ '_VenueProvince' => array(),
+ '_VenueShowMap' => array(),
+ '_VenueShowMapLink' => array(),
+ '_VenueState' => array(),
+ '_VenueStateProvince' => array(),
+ '_VenueURL' => array(),
+ '_VenueVenue' => array(),
+ '_VenueVenueID' => array(),
+ '_VenueZip' => array(),
+ '_default_attributes' => array(),
+ '_description' => array(),
+ '_edit_last' => array(),
+ '_feedback_all_fields' => array(),
+ '_feedback_author' => array(),
+ '_feedback_author_email' => array(),
+ '_feedback_author_url' => array(),
+ '_feedback_contact_form_url' => array(),
+ '_feedback_ip' => array(),
+ '_feedback_subject' => array(),
+ '_file_paths' => array(),
+ '_layout' => array(),
+ '_links_to' => array(),
+ '_links_to_target' => array(),
+ '_mail' => array(),
+ '_mail_2' => array(),
+ '_messages' => array(),
+ '_numero' => array(),
+ '_post_restored_from' => array(),
+ '_video_url' => array(),
+ '_website' => array(),
+
+ ); // end unindexed post meta.
+
+ /**
+ * List of indexed taxonomy slugs - VARCHAR(32)
+ *
+ * @access private
+ * @static
+ *
+ * @var array
+ */
+ private static $taxonomies_to_sync = array(
+
+ // Core.
+ 'link_category',
+ 'nav_menu',
+ 'post_format', // Special, limited to certain values.
+
+ // bbpress.
+ 'topic',
+ 'topic-tag',
+ 'topics',
+
+ // buddypress.
+ 'bp-email-type',
+ 'bp-email-type',
+ 'bp_docs_access',
+ 'bp_docs_associated_item',
+ 'bp_docs_comment_access',
+ 'bp_docs_doc_in_folder',
+ 'bp_docs_folder_in_group',
+ 'bp_docs_tag',
+ 'bp_member_type',
+
+ // co-authors plus.
+ 'author',
+
+ // events calendar plus.
+ // the events calendar.
+ 'event-categories',
+ 'event-category',
+ 'event-tag',
+ 'event-tags',
+ 'event-type',
+ 'event-venue',
+ 'event_category',
+ 'event_location',
+ 'event_organizer',
+ 'event_tag',
+ 'event_type',
+ 'event_type_2',
+ 'event_users',
+ 'events_categories',
+ 'events_category',
+ 'events_feeds',
+ 'events_tags',
+ 'tribe_events_cat',
+
+ // jetpack.
+ 'jetpack-portfolio-tag',
+ 'jetpack-portfolio-type',
+ 'jetpack-search-tag0',
+ 'jetpack-search-tag1',
+ 'jetpack-search-tag2',
+ 'jetpack-search-tag3',
+ 'jetpack-search-tag4',
+ 'jetpack-search-tag5',
+ 'jetpack-search-tag6',
+ 'jetpack-search-tag7',
+ 'jetpack-search-tag8',
+ 'jetpack-search-tag9',
+
+ // nextgen gallery.
+ 'ngg_tag',
+
+ // polylang.
+ // wpml.
+ 'language',
+ 'post_translations',
+ 'term_language',
+ 'term_translations',
+ 'translation_priority',
+
+ // woocommerce.
+ 'pa_accessory-type',
+ 'pa_actor',
+ 'pa_age',
+ 'pa_ambulance',
+ 'pa_amount',
+ 'pa_arm-roll',
+ 'pa_aspectratio',
+ 'pa_audiencerating',
+ 'pa_author',
+ 'pa_axle',
+ 'pa_battery',
+ 'pa_belakang',
+ 'pa_binding',
+ 'pa_body-type',
+ 'pa_bore-x-stroke-mm',
+ 'pa_box-cargo',
+ 'pa_brakes',
+ 'pa_brand',
+ 'pa_brands',
+ 'pa_bus',
+ 'pa_c',
+ 'pa_cabin-to-end',
+ 'pa_capacity',
+ 'pa_catalognumberlist',
+ 'pa_ce-keurmerk',
+ 'pa_chassis-front',
+ 'pa_chassis-rear',
+ 'pa_chassis-weight-kg',
+ 'pa_chip-log',
+ 'pa_clothing-size',
+ 'pa_clutch',
+ 'pa_clutch-type',
+ 'pa_collection',
+ 'pa_color',
+ 'pa_colors',
+ 'pa_colour',
+ 'pa_compactor',
+ 'pa_condition',
+ 'pa_cor',
+ 'pa_couleur',
+ 'pa_country',
+ 'pa_countryregion-of-manufacture',
+ 'pa_crane',
+ 'pa_creator',
+ 'pa_culoare',
+ 'pa_customerpackagetype',
+ 'pa_depan',
+ 'pa_depan-belakang',
+ 'pa_department',
+ 'pa_design',
+ 'pa_diameter',
+ 'pa_diameter-cakram',
+ 'pa_dimension-mm',
+ 'pa_dimensions',
+ 'pa_director',
+ 'pa_disc-diameter',
+ 'pa_drive-system',
+ 'pa_dump',
+ 'pa_ean',
+ 'pa_eanlist',
+ 'pa_edition',
+ 'pa_electric-battery',
+ 'pa_engine-model',
+ 'pa_engine-size',
+ 'pa_ethnicity',
+ 'pa_exhaust-brake',
+ 'pa_fabric',
+ 'pa_farbe',
+ 'pa_farg',
+ 'pa_farge',
+ 'pa_features',
+ 'pa_final-gear-ratio',
+ 'pa_finish',
+ 'pa_fire-fighting',
+ 'pa_fits',
+ 'pa_flat-bed',
+ 'pa_flavour',
+ 'pa_format',
+ 'pa_fragrance',
+ 'pa_frame',
+ 'pa_front',
+ 'pa_front-overhang',
+ 'pa_front-rear',
+ 'pa_front-tread',
+ 'pa_fuel-tank',
+ 'pa_fuel-type',
+ 'pa_garantie',
+ 'pa_geadviseerd-accu-type',
+ 'pa_gear-ratio',
+ 'pa_gender',
+ 'pa_genre',
+ 'pa_gewicht-exclusief-accu',
+ 'pa_gift-card-amount',
+ 'pa_grade-ability-tan-o',
+ 'pa_groesse',
+ 'pa_gtin',
+ 'pa_gvwr-gcwr',
+ 'pa_hardwareplatform',
+ 'pa_hazardousmaterialtype',
+ 'pa_height',
+ 'pa_hekmotor-of-boegmotor',
+ 'pa_helmet-size',
+ 'pa_hersteller',
+ 'pa_high-blow-tank',
+ 'pa_hoehe',
+ 'pa_inhoud',
+ 'pa_isadultproduct',
+ 'pa_isbn',
+ 'pa_iseligiblefortradein',
+ 'pa_itemdimensions',
+ 'pa_itempartnumber',
+ 'pa_kemudi-tipe',
+ 'pa_kleur',
+ 'pa_kopling-tipe',
+ 'pa_label',
+ 'pa_languages',
+ 'pa_lbs',
+ 'pa_legaldisclaimer',
+ 'pa_lengte-aansluitkabel',
+ 'pa_length',
+ 'pa_liquid-tank',
+ 'pa_location',
+ 'pa_losse-motor-complete-set',
+ 'pa_maat',
+ 'pa_main-brake',
+ 'pa_make',
+ 'pa_manufacturer',
+ 'pa_manufacturer-part-number',
+ 'pa_manufacturermaximumage',
+ 'pa_manufacturerminimumage',
+ 'pa_manufacturerpartswarrantydesc',
+ 'pa_masseinheit',
+ 'pa_material',
+ 'pa_mau-sac',
+ 'pa_maximum-power-ps-rpm',
+ 'pa_maximum-speed',
+ 'pa_maximum-torque-kgm-rpm',
+ 'pa_mediatype',
+ 'pa_megethos',
+ 'pa_merk',
+ 'pa_metal-type',
+ 'pa_min-turning-circle',
+ 'pa_mixer',
+ 'pa_model',
+ 'pa_model-tipe',
+ 'pa_model-type',
+ 'pa_modelo',
+ 'pa_mount',
+ 'pa_mpn',
+ 'pa_nicotine-strength',
+ 'pa_nos-of-cylinder',
+ 'pa_nos-of-tire',
+ 'pa_numberofdiscs',
+ 'pa_numberofitems',
+ 'pa_numberofpages',
+ 'pa_offset',
+ 'pa_open-cargo',
+ 'pa_operatingsystem',
+ 'pa_options',
+ 'pa_other-part-number',
+ 'pa_overall-height',
+ 'pa_overall-length',
+ 'pa_overall-width',
+ 'pa_overview',
+ 'pa_packagedimensions',
+ 'pa_packagequantity',
+ 'pa_pages',
+ 'pa_parking-brake',
+ 'pa_part-number',
+ 'pa_partnumber',
+ 'pa_pattern',
+ 'pa_pattern2',
+ 'pa_performa',
+ 'pa_pictureformat',
+ 'pa_pin-size',
+ 'pa_piston-displacement-cc',
+ 'pa_ploshhad',
+ 'pa_plug-type',
+ 'pa_power',
+ 'pa_product',
+ 'pa_productgroup',
+ 'pa_producttypename',
+ 'pa_publicationdate',
+ 'pa_publisher',
+ 'pa_quantity',
+ 'pa_rear',
+ 'pa_rear-overhang',
+ 'pa_rear-tread',
+ 'pa_refrigerated-box',
+ 'pa_region',
+ 'pa_regioncode',
+ 'pa_releasedate',
+ 'pa_rem-parkir',
+ 'pa_rem-pelambat',
+ 'pa_rem-utama',
+ 'pa_reverse',
+ 'pa_runningtime',
+ 'pa_scent',
+ 'pa_schachtlengte',
+ 'pa_seeds',
+ 'pa_series',
+ 'pa_setting',
+ 'pa_sex',
+ 'pa_shape',
+ 'pa_shirt-size',
+ 'pa_size',
+ 'pa_sizes',
+ 'pa_sku',
+ 'pa_sky-lift',
+ 'pa_sleeve-length',
+ 'pa_snelheidsregeling',
+ 'pa_staart',
+ 'pa_steering',
+ 'pa_steering-type',
+ 'pa_storlek',
+ 'pa_studio',
+ 'pa_stuwkracht-lbs',
+ 'pa_style',
+ 'pa_suspensions',
+ 'pa_taille',
+ 'pa_talla',
+ 'pa_tamanho',
+ 'pa_tamano',
+ 'pa_taxi',
+ 'pa_ticket-type',
+ 'pa_tire-size',
+ 'pa_total-chassis-weight',
+ 'pa_towing-truck',
+ 'pa_tradeinvalue',
+ 'pa_trailer-t-head',
+ 'pa_transmisi-tipe',
+ 'pa_transmission',
+ 'pa_transmission-type',
+ 'pa_types',
+ 'pa_ukuran',
+ 'pa_upc',
+ 'pa_upclist',
+ 'pa_variation',
+ 'pa_vehicle-carrier',
+ 'pa_vergelijkbaar-stuwkracht',
+ 'pa_vermogen',
+ 'pa_voltage',
+ 'pa_volume',
+ 'pa_warranty',
+ 'pa_weight',
+ 'pa_wheel-base',
+ 'pa_wheel-configuration',
+ 'pa_wheel-disc-size',
+ 'pa_width',
+ 'pa_zout-water-geschikt',
+ 'product',
+ 'product-category',
+ 'product_brand',
+ 'product_delivery_time',
+ 'product_delivery_times',
+ 'product_price_label',
+ 'product_sale_labels',
+ 'product_shipping_class',
+ 'product_tag',
+ 'product_type',
+ 'product_unit',
+ 'product_visibility',
+ 'products',
+
+ // wp-job-manager.
+ 'job-category',
+ 'job-location',
+ 'job-type',
+ 'job_cat',
+ 'job_category',
+ 'job_listing_category',
+ 'job_listing_label',
+ 'job_listing_region',
+ 'job_listing_tag',
+ 'job_listing_type',
+ 'job_salary',
+ 'job_tag',
+ 'job_type',
+ 'jobman_category',
+ 'jobpost_category',
+ 'jobpost_job_type',
+ 'jobpost_location',
+ 'resume_category',
+ 'resume_groups',
+ 'resume_job_type',
+ 'resume_job_type',
+ 'resume_languages',
+ 'resume_region',
+ 'resume_skill',
+ 'resume_specialities',
+
+ // generic.
+ '_resource',
+ 'acadp_categories',
+ 'acadp_locations',
+ 'action-group',
+ 'activity',
+ 'actor',
+ 'actors',
+ 'ad-group',
+ 'adace-ad-group',
+ 'adace-sponsor',
+ 'additional_features',
+ 'adv_location',
+ 'advanced_ads_groups',
+ 'advert_category',
+ 'affcoups_coupon_category',
+ 'affcoups_coupon_type',
+ 'ai_log_context',
+ 'ai_log_level',
+ 'al_product-cat',
+ 'aol_ad_category',
+ 'aol_ad_location',
+ 'aol_ad_type',
+ 'aol_application_status',
+ 'area',
+ 'article-slug',
+ 'asgarosforum-category',
+ 'asgarosforum-usergroup',
+ 'attachment_category',
+ 'attachment_tag',
+ 'atum_location',
+ 'avhec_catgroup',
+ 'bartype',
+ 'baths',
+ 'beds',
+ 'bepro_listing_types',
+ 'blog_category',
+ 'booked_custom_calendars',
+ 'brand',
+ 'brands',
+ 'business_category',
+ 'bwg_tag',
+ 'byline',
+ 'calendar_category',
+ 'calendar_feed',
+ 'calendar_type',
+ 'campaign_category',
+ 'campaign_tag',
+ 'carousel_cat',
+ 'carousels_category',
+ 'case27_job_listing_tags',
+ 'categories',
+ 'category_media',
+ 'category_portfolio',
+ 'celebrity_cat',
+ 'chapters',
+ 'chronosly_category',
+ 'city',
+ 'classified_listing_type',
+ 'client-types',
+ 'clients_groups',
+ 'cm-business-category',
+ 'cmdm_category',
+ 'cn_log_type',
+ 'coderevolution_post_source',
+ 'collection',
+ 'community',
+ 'companies',
+ 'company',
+ 'cont_category',
+ 'content_audit',
+ 'country',
+ 'course',
+ 'course-cat',
+ 'course-category',
+ 'course_cat',
+ 'course_category',
+ 'course_difficulty',
+ 'course_tag',
+ 'courses_type',
+ 'cp_campaign',
+ 'cp_recipe_category',
+ 'csco_post_featured',
+ 'ct_status',
+ 'ctl-stories',
+ 'cuisine',
+ 'dc_vendor_shop',
+ 'ddownload_category',
+ 'ddownload_tag',
+ 'dealstore',
+ 'department',
+ 'departments',
+ 'department-company',
+ 'developed-by',
+ 'dfads_group',
+ 'dgfw_gift_categories',
+ 'director',
+ 'district',
+ 'dlm_download_category',
+ 'dlm_download_tag',
+ 'doc_tag',
+ 'document-category',
+ 'download_artist',
+ 'download_category',
+ 'download_tag',
+ 'downloads_filter',
+ 'dps_book',
+ 'dt_gallery_category',
+ 'dt_logos_category',
+ 'dt_portfolio_category',
+ 'dt_team_category',
+ 'dt_testimonials_category',
+ 'dtcast',
+ 'dtcreator',
+ 'dtdirector',
+ 'dtnetworks',
+ 'dtstudio',
+ 'dtyear',
+ 'dvteamtaxonomy',
+ 'dwqa-question_category',
+ 'dwqa-question_tag',
+ 'eafl_category',
+ 'easy-testimonial-category',
+ 'ecwd_event_category',
+ 'edd_log_type',
+ 'edition',
+ 'ef_editorial_meta',
+ 'ef_usergroup',
+ 'element_category',
+ 'elementor_library_type',
+ 'employees_category',
+ 'encyclopedia-tag',
+ 'envira-tag',
+ 'epkb_post_type_1_category',
+ 'espresso_event_categories',
+ 'espresso_event_type',
+ 'essential_grid_category',
+ 'et_post_format',
+ 'faq-group',
+ 'faq-tags',
+ 'faq-topic',
+ 'faq_cat',
+ 'faq_categories',
+ 'faq_category',
+ 'faqs-category',
+ 'fdm-menu-section',
+ 'feature',
+ 'featured_item_category',
+ 'featured_item_tag',
+ 'feedback_type',
+ 'feeds',
+ 'fl-builder-template-type',
+ 'flamingo_inbound_channel',
+ 'follow_up_email_campaign',
+ 'follow_up_email_type',
+ 'following_users',
+ 'football-team-taxo',
+ 'fpd_design_category',
+ 'gallery-category',
+ 'gallery_cat',
+ 'gallery_categories',
+ 'gallery_category',
+ 'gallery_entries',
+ 'gallerycat',
+ 'gd_event_tags',
+ 'gd_eventcategory',
+ 'gd_place_tags',
+ 'gd_placecategory',
+ 'genre',
+ 'genres',
+ 'gg_connect_hub',
+ 'give_log_type',
+ 'gn-genre',
+ 'gn-location-1',
+ 'gn-location-2',
+ 'gn-location-3',
+ 'gp_hubs',
+ 'gp_portfolios',
+ 'gp_videos',
+ 'group',
+ 'group-documents-category',
+ 'groups',
+ 'hashtags',
+ 'hotel_facility',
+ 'ia_invited_groups',
+ 'ia_invitees',
+ 'incsub_wiki_category',
+ 'industry',
+ 'ingredient',
+ 'issue',
+ 'issuem_issue',
+ 'issuem_issue_tags',
+ 'jbp_category',
+ 'karma-slider-category',
+ 'klaviyo_shop_cart_status',
+ 'kwlogos-carousel',
+ 'layout_category',
+ 'layout_type',
+ 'ld_course_category',
+ 'ld_course_tag',
+ 'ld_lesson_category',
+ 'ld_lesson_tag',
+ 'ld_topic_tag',
+ 'lesson-tag',
+ 'level',
+ 'lingotek_hash',
+ 'lingotek_profile',
+ 'link_library_category',
+ 'linkage',
+ 'list-tags',
+ 'listing-category',
+ 'listing_amenities',
+ 'listing_category',
+ 'liveblog',
+ 'llms_access_plan_visibility',
+ 'llms_product_visibility',
+ 'localisation',
+ 'location',
+ 'location-tag',
+ 'locations',
+ 'magazine',
+ 'map_location_categories',
+ 'masonry_gallery_category',
+ 'mc-event-category',
+ 'mec_category',
+ 'mec_location',
+ 'mec_organizer',
+ 'media-category',
+ 'media-tags',
+ 'media_category',
+ 'media_folder',
+ 'member_cat',
+ 'mentions',
+ 'mesh_template_types',
+ 'ml-slider',
+ 'module',
+ 'module-tag',
+ 'module_width',
+ 'movie_cat',
+ 'mpp-component',
+ 'mpp-status',
+ 'mpp-type',
+ 'muvicast',
+ 'muvicountry',
+ 'muvidirector',
+ 'muviindex',
+ 'muviquality',
+ 'muviyear',
+ 'news-category',
+ 'news-tag',
+ 'news_category',
+ 'nova_menu',
+ 'nova_menu_item_label',
+ 'offer-types',
+ 'organization',
+ 'our_team_category',
+ 'page_category',
+ 'parisrestaurant',
+ 'parissauna',
+ 'partner_category',
+ 'partners',
+ 'paswdestinatari',
+ 'paypal_ipn_type',
+ 'pdf_lv_tag',
+ 'pec_events_category',
+ 'people',
+ 'people-expertise',
+ 'people-location',
+ 'perfect_quotes_category',
+ 'performer',
+ 'person',
+ 'personnal-category',
+ 'pexcontentslider_category',
+ 'pexfullslider_category',
+ 'pexnivoslider_category',
+ 'pexpricing_category',
+ 'pexservice_category',
+ 'pextestimonial_category',
+ 'pf_feed_item_tag',
+ 'pg_sas_type',
+ 'photo_tag',
+ 'phototype',
+ 'pj-categs',
+ 'pj-tags',
+ 'pl-categs',
+ 'placement',
+ 'plan_status',
+ 'platform',
+ 'player',
+ 'plugins_categories',
+ 'podcast',
+ 'pojo_sidebars',
+ 'popup_category',
+ 'pornstars',
+ 'portada',
+ 'portcat',
+ 'portfolio-category',
+ 'portfolio-gallery',
+ 'portfolio-skills',
+ 'portfolio-tag',
+ 'portfolio-tags',
+ 'portfolio-type',
+ 'portfolio-types',
+ 'portfolio_cat',
+ 'portfolio_categories',
+ 'portfolio_category',
+ 'portfolio_cats',
+ 'portfolio_client',
+ 'portfolio_entries',
+ 'portfolio_filter',
+ 'portfolio_in',
+ 'portfolio_label',
+ 'portfolio_skills',
+ 'portfolio_tag',
+ 'portfolio_tags',
+ 'portfolio_type',
+ 'posicao',
+ 'post-type',
+ 'post_format',
+ 'post_series',
+ 'pp_editorial_meta',
+ 'pp_notify_role',
+ 'pp_usergroup',
+ 'pricingcats',
+ 'print_section',
+ 'print_status',
+ 'programs',
+ 'project-attributes',
+ 'project-cat',
+ 'project-category',
+ 'project-type',
+ 'project_category',
+ 'project_tag',
+ 'projects_category',
+ 'projects_tag',
+ 'prominence',
+ 'promotion-categories',
+ 'property-city',
+ 'property-feature',
+ 'property-status',
+ 'property-type',
+ 'property-types',
+ 'property_action_category',
+ 'property_area',
+ 'property_category',
+ 'property_city',
+ 'property_feature',
+ 'property_status',
+ 'property_type',
+ 'province',
+ 'provinces',
+ 'publisher',
+ 'pwb-brand',
+ 'qmn_log_type',
+ 'qualification',
+ 'quality',
+ 'question-category',
+ 'question-tag',
+ 'question-type',
+ 'question_cat',
+ 'question_category',
+ 'question_tag',
+ 'quiz',
+ 'quiz-type',
+ 'quote_status',
+ 'rating',
+ 'reaction',
+ 'recipe-category',
+ 'recipe_category',
+ 'recipe_type',
+ 'region',
+ 'registrant-event',
+ 'related_keywords',
+ 'release-date',
+ 'resource-type',
+ 'resource_category',
+ 'resource_type',
+ 'resourcetype',
+ 'review-type',
+ 'review_category',
+ 'rodzaj',
+ 'role',
+ 'room_category',
+ 'room_tag',
+ 'roomtype',
+ 'rubriek_categorie',
+ 'savedreply',
+ 'schools',
+ 'scope',
+ 'scores_cat',
+ 'sdm_categories',
+ 'sdm_tags',
+ 'season',
+ 'secondary_html_features',
+ 'section',
+ 'sector',
+ 'series',
+ 'series_of_posts',
+ 'services_group',
+ 'serving',
+ 'shop_cart_status',
+ 'shop_cat',
+ 'shop_order_status',
+ 'shop_vendor',
+ 'shop_warranty_status',
+ 'shopp_category',
+ 'shopr_category',
+ 'show',
+ 'simple_link_category',
+ 'site-review-category',
+ 'sizes',
+ 'skill',
+ 'skill_level',
+ 'skills',
+ 'sld_cat',
+ 'slide-page',
+ 'slide-types',
+ 'slide_categories',
+ 'slide_type',
+ 'slider',
+ 'slider-locations',
+ 'slider_category',
+ 'slides_category',
+ 'slideshow',
+ 'sm-category',
+ 'snax_format',
+ 'sngg_media_tags',
+ 'solution_channel',
+ 'source_domain',
+ 'source_id',
+ 'sp_league',
+ 'sp_position',
+ 'sp_role',
+ 'sp_season',
+ 'sp_venue',
+ 'speaker',
+ 'speakers',
+ 'special-feature',
+ 'specialty',
+ 'spnl_log_type',
+ 'sponsor_categories',
+ 'sponsor_category',
+ 'sponsor_type',
+ 'spot_tag',
+ 'st_af_category',
+ 'st_af_tags',
+ 'staff',
+ 'staff-member-category',
+ 'staff-member-group',
+ 'staff_category',
+ 'staffgroups',
+ 'state',
+ 'status',
+ 'store',
+ 'stores',
+ 'studio',
+ 'study_level',
+ 'style',
+ 'style_category',
+ 'sub_transaction_action',
+ 'sub_transaction_result',
+ 'subcategory',
+ 'subject',
+ 'subscription_status',
+ 'swift-slider-category',
+ 'syn_sitegroup',
+ 'szbl-content-tag',
+ 'task-queue',
+ 'tax_feature',
+ 'tcb_symbols_tax',
+ 'tcp_product_category',
+ 'team',
+ 'team-category',
+ 'team_cat',
+ 'team_categories',
+ 'team_category',
+ 'team_cats',
+ 'team_department',
+ 'team_designation',
+ 'team_group',
+ 'team_member_position',
+ 'team_mfcategory',
+ 'teams',
+ 'tenant_categories',
+ 'tenant_location',
+ 'tender-category',
+ 'test-type',
+ 'testimonial-category',
+ 'testimonial-group',
+ 'testimonial-types',
+ 'testimonial_categories',
+ 'testimonial_category',
+ 'testimonials-category',
+ 'testimonials_category',
+ 'th_events_cat',
+ 'th_galleries_cat',
+ 'thegem_clients_sets',
+ 'thegem_news_sets',
+ 'thegem_portfolios',
+ 'thegem_quickfinders',
+ 'thegem_teams',
+ 'thegem_testimonials_sets',
+ 'theme',
+ 'themefusion_es_groups',
+ 'themes_categories',
+ 'themo_cpt_group',
+ 'themo_project_type',
+ 'themo_room_type',
+ 'thirstylink-category',
+ 'ticket_channel',
+ 'ticket_priority',
+ 'timeline_post_tag',
+ 'tipo',
+ 'tipologie',
+ 'tips',
+ 'tm-testimonials_category',
+ 'tm_testimonial_group',
+ 'tooltips_categories',
+ 'tour_category',
+ 'tour_destination',
+ 'tour_facility',
+ 'tour_phys',
+ 'tour_type',
+ 'tp_event_category',
+ 'transmission',
+ 'treatment-type',
+ 'tribe_events_cat',
+ 'truethemes-gallery-category',
+ 'tsas-category',
+ 'tshowcase-categories',
+ 'tsml_region',
+ 'ttshowcase_groups',
+ 'tvo_tags',
+ 'type',
+ 'types',
+ 'u_course_cat',
+ 'u_department',
+ 'u_event_cat',
+ 'ufaq-category',
+ 'ufaq-tag',
+ 'um_hashtag',
+ 'um_user_tag',
+ 'uncodeblock_category',
+ 'upg_cate',
+ 'urp-review-category',
+ 'us_portfolio_category',
+ 'us_testimonial_category',
+ 'user-group',
+ 'user_category',
+ 'user_status',
+ 'vendor',
+ 'venue',
+ 'video-category',
+ 'video-series',
+ 'video-tag',
+ 'video_category',
+ 'video_tag',
+ 'videos',
+ 'videos_categories',
+ 'voice_category',
+ 'vtmin_rule_category',
+ 'vtprd_rule_category',
+ 'w2dc-category',
+ 'w2dc-location',
+ 'w2dc-tag',
+ 'wcb_sponsor_level',
+ 'wcb_track',
+ 'wccf_checkout_field_field_type',
+ 'wccf_checkout_field_status',
+ 'wccf_order_field_field_type',
+ 'wccf_order_field_status',
+ 'wccf_product_field_field_type',
+ 'wccf_product_field_status',
+ 'wccf_product_prop_field_type',
+ 'wccf_product_prop_status',
+ 'wccf_user_field_field_type',
+ 'wccf_user_field_status',
+ 'wcfm_knowledgebase_category',
+ 'wcm_task_category',
+ 'wcpv_product_vendors',
+ 'wcs-instructor',
+ 'wcs-room',
+ 'wcs-type',
+ 'wdca_ad_categories',
+ 'where',
+ 'who',
+ 'wiki-category',
+ 'wiki_cats',
+ 'wl_entity_type',
+ 'workout_entries',
+ 'works-category',
+ 'wp-rest-api-log-method',
+ 'wp-rest-api-log-source',
+ 'wp-rest-api-log-status',
+ 'wp-type-activity-types',
+ 'wp-type-contacts-subtype',
+ 'wp-type-group',
+ 'wp_bannerize_tax',
+ 'wp_log_type',
+ 'wp_super_faq_category',
+ 'wpbdm-region',
+ 'wpbdp_category',
+ 'wpbdp_tag',
+ 'wpcm_make_model',
+ 'wpdmcategory',
+ 'wpfb_file_category',
+ 'wpfcas-category',
+ 'wpfd-category',
+ 'wplead_list_category',
+ 'wplss_logo_showcase_cat',
+ 'wpm-testimonial-category',
+ 'wpmf-category',
+ 'wpostahs-slider-category',
+ 'wprm_course',
+ 'wprm_cuisine',
+ 'wprm_ingredient',
+ 'wprm_keyword',
+ 'wprss_category',
+ 'wps_forum',
+ 'wpsc-variation',
+ 'wpsc_log_type',
+ 'wpsc_product_category',
+ 'wpseo_locations_category',
+ 'wpsisac_slider-category',
+ 'wpsl_store_category',
+ 'wpt_category',
+ 'wpt_result',
+ 'wpt_scale',
+ 'wpv_sermons_category',
+ 'wpvqgr_tag',
+ 'writer',
+ 'wyz_business_category',
+ 'wyz_business_rating_category',
+ 'wyz_business_tag',
+ 'wzkb_category',
+ 'year',
+ 'years',
+ 'yith_product_brand',
+ 'yith_shop_vendor',
+ 'yst_prominent_words',
+ 'zipcode',
+ 'zoninator_zones',
+ 'zrf_field_group',
+
+ // End The Backlog @see https://wp.me/p9MPsk-X0.
+ 'bill-status',
+ 'etb-audience',
+ 'etb-state',
+ 'etb-target',
+ 'etb-topic',
+ 'etb-year',
+ 'foia-response-status',
+ 'target-type',
+ 'timeline-pillar',
+ 'timeline-type',
+
+ ); // end taxonomies.
+
+ /**
+ * List of options to sync
+ *
+ * @access private
+ * @static
+ *
+ * @var array
+ */
+ private static $options_to_sync = array(
+ 'jetpack_search_color_theme',
+ 'jetpack_search_result_format',
+ 'jetpack_search_default_sort',
+ 'jetpack_search_overlay_trigger',
+ 'jetpack_search_excluded_post_types',
+ 'jetpack_search_highlight_color',
+ 'jetpack_search_enable_sort',
+ 'jetpack_search_inf_scroll',
+ 'jetpack_search_show_powered_by',
+ 'instant_search_enabled',
+ ); // end options.
+
+ /*
+ * Taxonomies we know don't sync.
+ * See also sync/src/class-defaults.php
+ *
+ * 'network'
+ * 'post_status'
+ * 'product_cat'
+ * 'tags'
+ *
+ */
+
+ //
+ // Hooks into sync.
+
+ /**
+ * Add Search post meta to the post meta whitelist.
+ *
+ * @param array $list Existing post meta whitelist.
+ * @return array Updated post meta whitelist.
+ */
+ public function add_search_post_meta_whitelist( $list ) {
+ return array_merge( $list, $this->get_all_postmeta_keys() );
+ }
+
+ /**
+ * Add Search options to the options whitelist.
+ *
+ * @param array $list Existing options whitelist.
+ * @return array Updated options whitelist.
+ */
+ public function add_search_options_whitelist( $list ) {
+ return array_merge( $list, $this->get_all_option_keys() );
+ }
+
+ //
+ // Indexing functions for wp.com.
+
+ /**
+ *
+ * Check whether a postmeta or taxonomy 'key' is in the indexable
+ * list. This is called by the indexing code on wp.com to decide
+ * whether to include something in the index.
+ *
+ * @static
+ * @access public
+ *
+ * @param string $type Either 'postmeta' or 'taxonomy'.
+ * @param string $key The postmeta key or taxonomy name.
+ * @return boolean
+ */
+ public static function is_indexable( $type, $key ) {
+ switch ( $type ) {
+ case 'postmeta':
+ return isset( self::$postmeta_to_sync[ $key ] );
+ case 'taxonomy':
+ return in_array( $key, self::$taxonomies_to_sync, true );
+ }
+ return false;
+ }
+
+ /**
+ *
+ * Get the indexing spec for a postmeta key.
+ *
+ * @static
+ * @access public
+ *
+ * @param string $key The postmeta key.
+ * @return array The spec.
+ */
+ public static function get_postmeta_spec( $key ) {
+ return self::$postmeta_to_sync[ $key ];
+ }
+
+ /**
+ * Get all post meta keys that get synced.
+ *
+ * @access public
+ *
+ * @return array List of post meta keys that get synced.
+ */
+ public static function get_all_postmeta_keys() {
+ return array_keys( self::$postmeta_to_sync );
+ }
+
+ /**
+ * Get all option keys that get synced.
+ *
+ * @access public
+ *
+ * @return array List of option keys that get synced.
+ */
+ public static function get_all_option_keys() {
+ return self::$options_to_sync;
+ }
+
+ /**
+ * Get all unindexed postmeta.
+ * This is mostly for testing.
+ *
+ * @access public
+ *
+ * @return array List of postmeta that are not synced.
+ */
+ public static function get_all_unindexed_postmeta_keys() {
+ return array_keys( self::$unindexed_postmeta );
+ }
+
+ /**
+ * Get all taxonomies that get synced.
+ * This is mostly for testing.
+ *
+ * @access public
+ *
+ * @return array List of taxonomies that get synced.
+ */
+ public static function get_all_taxonomies() {
+ return self::$taxonomies_to_sync;
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/CHANGELOG.md
deleted file mode 100644
index f9b91333..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-terms-of-service/CHANGELOG.md
+++ /dev/null
@@ -1,223 +0,0 @@
-# Changelog
-
-All notable changes to this project will be documented in this file.
-
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
-and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-## [1.9.18] - 2022-01-04
-### Changed
-- Switch to pcov for code coverage.
-- Updated package dependencies.
-
-## [1.9.17] - 2021-12-14
-### Changed
-- Updated package dependencies.
-
-## [1.9.16] - 2021-11-30
-### Changed
-- Updated package dependencies.
-
-## [1.9.15] - 2021-11-22
-### Changed
-- Updated package dependencies
-
-## [1.9.14] - 2021-11-02
-### Changed
-- Set `convertDeprecationsToExceptions` true in PHPUnit config.
-- Update PHPUnit configs to include just what needs coverage rather than include everything then try to exclude stuff that doesn't.
-
-## [1.9.13] - 2021-10-26
-### Changed
-- Updated package dependencies.
-
-## [1.9.12] - 2021-10-13
-### Changed
-- Updated package dependencies.
-
-## [1.9.11] - 2021-10-12
-### Changed
-- Updated package dependencies
-
-## [1.9.10] - 2021-09-28
-### Changed
-- Updated package dependencies.
-
-## [1.9.9] - 2021-08-30
-### Changed
-- Run composer update on test-php command instead of phpunit
-- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills).
-- update annotations versions
-
-## [1.9.8] - 2021-06-15
-
-- Updated package dependencies.
-
-## [1.9.7] - 2021-05-25
-### Changed
-- Updated package dependencies.
-
-## [1.9.6] - 2021-04-27
-### Changed
-- Updated package dependencies.
-
-## [1.9.5] - 2021-04-08
-### Changed
-- Packaging and build changes, no change to the package itself.
-
-## [1.9.4] - 2021-03-30
-### Added
-- Composer alias for dev-master, to improve dependencies
-
-### Changed
-- Update package dependencies.
-
-### Fixed
-- Use `composer update` rather than `install` in scripts, as composer.lock isn't checked in.
-
-## [1.9.3] - 2021-02-23
-
-- CI: Make tests more generic
-
-## [1.9.2] - 2021-01-28
-
-- Update dependencies to latest stable
-
-## [1.9.1] - 2021-01-26
-
-- Add mirror-repo information to all current composer packages
-- Monorepo: Reorganize all projects
-
-## [1.9.0] - 2021-01-05
-
-- Update dependency brain/monkey to v2.6.0
-- Pin dependencies
-- Packages: Update for PHP 8 testing
-
-## [1.8.2] - 2020-11-24
-
-- Version packages for release
-
-## [1.8.1] - 2020-11-24
-
-- Updated PHPCS: Packages and Debugger
-
-## [1.8.0] - 2020-10-27
-
-- Updated dependencies to latest stable
-
-## [1.7.0] - 2020-09-29
-
-- Update dependencies to latest stable
-
-## [1.6.1] - 2020-09-22
-
-- Packages: update list of files distributed in production packages
-
-## [1.6.0] - 2020-08-26
-
-- ToS: Remove dependency to Jetpack Connection
-- CI: Try collect js coverage
-- Docker: Add package testing shortcut
-
-## [1.5.2] - 2020-08-10
-
-- Update dependencies to latest stable
-
-## [1.5.1] - 2020-08-10
-
-- Update dependencies to latest stable
-
-## [1.5.0] - 2020-07-28
-
-- Core Compat: Site Environment
-- Package Unit tests: update test file names to make sure they runs in Travis
-
-## [1.4.2] - 2020-07-06
-
-- Update dependencies to latest stable
-
-## [1.4.1] - 2020-07-01
-
-- Update dependencies to latest stable
-
-## [1.4.0] - 2020-06-30
-
-- PHPCS: Clean up the packages
-- PHPCS Updates after WPCS 2.3
-
-## [1.3.1] - 2020-06-01
-
-- Update dependencies to latest stable
-
-## [1.3.0] - 2020-05-26
-
-- Update dependencies to latest stable
-
-## [1.2.0] - 2020-04-28
-
-- Update dependencies to latest stable
-
-## [1.1.1] - 2020-03-31
-
-- Update dependencies to latest stable
-
-## [1.1.0] - 2020-03-31
-
-- Update dependencies to latest stable
-
-## [1.0.4] - 2019-11-15
-
-- Allow TOS agreement before Jetpack is fully active so we track…
-
-## [1.0.3] - 2019-11-08
-
-- Packages: Use classmap instead of PSR-4
-
-## [1.0.1] - 2019-11-08
-
-- Deprecate Jetpack::is_development_mode() in favor of the packaged Status()-&gt;is_development_mode()
-
-## 1.0.0 - 2019-10-22
-
-- Package: Create new TOS package
-
-[1.9.18]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.17...v1.9.18
-[1.9.17]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.16...v1.9.17
-[1.9.16]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.15...v1.9.16
-[1.9.15]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.14...v1.9.15
-[1.9.14]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.13...v1.9.14
-[1.9.13]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.12...v1.9.13
-[1.9.12]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.11...v1.9.12
-[1.9.11]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.10...v1.9.11
-[1.9.10]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.9...v1.9.10
-[1.9.9]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.8...v1.9.9
-[1.9.8]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.7...v1.9.8
-[1.9.7]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.6...v1.9.7
-[1.9.6]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.5...v1.9.6
-[1.9.5]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.4...v1.9.5
-[1.9.4]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.3...v1.9.4
-[1.9.3]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.2...v1.9.3
-[1.9.2]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.1...v1.9.2
-[1.9.1]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.0...v1.9.1
-[1.9.0]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.8.2...v1.9.0
-[1.8.2]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.8.1...v1.8.2
-[1.8.1]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.8.0...v1.8.1
-[1.8.0]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.7.0...v1.8.0
-[1.7.0]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.6.1...v1.7.0
-[1.6.1]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.6.0...v1.6.1
-[1.6.0]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.5.2...v1.6.0
-[1.5.2]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.5.1...v1.5.2
-[1.5.1]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.5.0...v1.5.1
-[1.5.0]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.4.2...v1.5.0
-[1.4.2]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.4.1...v1.4.2
-[1.4.1]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.4.0...v1.4.1
-[1.4.0]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.3.1...v1.4.0
-[1.3.1]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.3.0...v1.3.1
-[1.3.0]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.2.0...v1.3.0
-[1.2.0]: https://github.com/Automattic/jetpack-terms-of-service/compare/1.1.1...v1.2.0
-[1.1.1]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.1.0...1.1.1
-[1.1.0]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.0.4...v1.1.0
-[1.0.4]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.0.3...v1.0.4
-[1.0.3]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.0.1...v1.0.3
-[1.0.1]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.0.0...v1.0.1
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/CHANGELOG.md
deleted file mode 100644
index 970ab757..00000000
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/CHANGELOG.md
+++ /dev/null
@@ -1,253 +0,0 @@
-# Changelog
-
-All notable changes to this project will be documented in this file.
-
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
-and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-## [1.14.0] - 2022-01-04
-### Changed
-- Switch to pcov for code coverage.
-- Updated package dependencies
-- Updated package textdomain from `jetpack` to `jetpack-tracking`.
-
-## [1.13.19] - 2021-12-14
-### Changed
-- Updated package dependencies.
-
-## [1.13.18] - 2021-11-30
-### Changed
-- Updated package dependencies.
-
-## [1.13.17] - 2021-11-22
-### Changed
-- Updated package dependencies
-
-## [1.13.16] - 2021-11-16
-### Changed
-- Updated package dependencies.
-
-## [1.13.15] - 2021-11-02
-### Changed
-- Set `convertDeprecationsToExceptions` true in PHPUnit config.
-- Update PHPUnit configs to include just what needs coverage rather than include everything then try to exclude stuff that doesn't.
-
-## [1.13.14] - 2021-10-26
-### Changed
-- Updated package dependencies.
-
-## [1.13.13] - 2021-10-13
-### Changed
-- Updated package dependencies.
-
-## [1.13.12] - 2021-10-12
-### Changed
-- Updated package dependencies
-
-## [1.13.11] - 2021-09-30
-### Added
-- Set up the ajax hook in the Tracking class.
-
-## [1.13.10] - 2021-09-28
-### Changed
-- Updated package dependencies.
-
-## [1.13.9] - 2021-08-30
-### Changed
-- Run composer update on test-php command instead of phpunit
-- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills).
-- update annotations versions
-
-## [1.13.8] - 2021-08-10
-### Added
-- adding Readme to the tracking package
-
-## [1.13.7] - 2021-06-15
-### Changed
-- Updated package dependencies.
-
-## [1.13.6] - 2021-05-25
-### Added
-- Adding the tracks-callables.js file to the Tracking package.
-
-## [1.13.5] - 2021-04-27
-### Changed
-- Updated package dependencies.
-
-## [1.13.4] - 2021-04-08
-### Changed
-- Packaging and build changes, no change to the package itself.
-
-## [1.13.3] - 2021-03-30
-### Added
-- Composer alias for dev-master, to improve dependencies
-
-### Changed
-- Update package dependencies.
-
-### Fixed
-- Use `composer update` rather than `install` in scripts, as composer.lock isn't checked in.
-
-## [1.13.2] - 2021-02-23
-
-- CI: Make tests more generic
-- Jetpack: Normalize package names
-
-## [1.13.1] - 2021-01-28
-
-- Update dependencies to latest stable
-
-## [1.13.0] - 2021-01-26
-
-- Tracking: remove dependency to the Jetpack plugin
-- Add mirror-repo information to all current composer packages
-- Tracking: get connected user data from Connection package
-- Monorepo: Reorganize all projects
-
-## [1.12.0] - 2021-01-05
-
-- Pin dependencies
-- Packages: Update for PHP 8 testing
-
-## [1.11.1] - 2020-11-24
-
-- Version packages for release
-
-## [1.11.0] - 2020-10-27
-
-- Updated dependencies to latest stable
-
-## [1.10.0] - 2020-09-29
-
-- Packages: update list of files distributed in production packages
-- Tracking: fix the logic for determining when to enable tracking.
-
-## [1.9.1] - 2020-09-09
-
-- Tracking: fix the logic for determining when to enable tracking.
-
-## [1.9.0] - 2020-08-26
-
-- Tracking: Add the connection check.
-
-## [1.8.2] - 2020-08-10
-
-- Update dependencies to latest stable
-
-## [1.8.1] - 2020-08-10
-
-- Update dependencies to latest stable
-
-## [1.8.0] - 2020-07-28
-
-- Update dependencies to latest stable
-
-## [1.7.2] - 2020-07-06
-
-- Update dependencies to latest stable
-
-## [1.7.1] - 2020-07-01
-
-- Update dependencies to latest stable
-
-## [1.7.0] - 2020-06-30
-
-- Various: Update use of whitelist/blacklist
-
-## [1.6.1] - 2020-06-01
-
-- Update dependencies to latest stable
-
-## [1.6.0] - 2020-05-26
-
-- Update dependencies to latest stable
-
-## [1.5.0] - 2020-04-28
-
-- Update dependencies to latest stable
-
-## [1.4.0] - 2020-03-31
-
-- Update dependencies to latest stable
-
-## [1.3.0] - 2020-03-31
-
-- Update dependencies to latest stable
-
-## [1.2.2] - 2019-11-08
-
-- Packages: Use classmap instead of PSR-4
-
-## [1.2.1] - 2019-10-29
-
-- PHPCS: Rest of the packages
-
-## [1.2.0] - 2019-10-25
-
-- Update/Use the new Terms of Service package in Jetpack
-
-## [1.1.1] - 2019-10-16
-
-- Tracks: use filter instead of relying on Jetpack class
-
-## [1.1.0] - 2019-10-11
-
-- Tracks: Don't track users in dev mode or when opted out
-
-## [1.0.2] - 2019-10-07
-
-- Update dependency phpcompatibility/phpcompatibility-wp to v2.1.0
-
-## [1.0.1] - 2019-09-20
-
-- Docs: Unify usage of @package phpdoc tags
-
-## 1.0.0 - 2019-09-14
-
-- Create package for Jetpack Tracking
-
-[1.14.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.19...v1.14.0
-[1.13.19]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.18...v1.13.19
-[1.13.18]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.17...v1.13.18
-[1.13.17]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.16...v1.13.17
-[1.13.16]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.15...v1.13.16
-[1.13.15]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.14...v1.13.15
-[1.13.14]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.13...v1.13.14
-[1.13.13]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.12...v1.13.13
-[1.13.12]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.11...v1.13.12
-[1.13.11]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.10...v1.13.11
-[1.13.10]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.9...v1.13.10
-[1.13.9]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.8...v1.13.9
-[1.13.8]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.7...v1.13.8
-[1.13.7]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.6...v1.13.7
-[1.13.6]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.5...v1.13.6
-[1.13.5]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.4...v1.13.5
-[1.13.4]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.3...v1.13.4
-[1.13.3]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.2...v1.13.3
-[1.13.2]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.1...v1.13.2
-[1.13.1]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.0...v1.13.1
-[1.13.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.12.0...v1.13.0
-[1.12.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.11.1...v1.12.0
-[1.11.1]: https://github.com/Automattic/jetpack-tracking/compare/v1.11.0...v1.11.1
-[1.11.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.10.0...v1.11.0
-[1.10.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.9.1...v1.10.0
-[1.9.1]: https://github.com/Automattic/jetpack-tracking/compare/v1.9.0...v1.9.1
-[1.9.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.8.2...v1.9.0
-[1.8.2]: https://github.com/Automattic/jetpack-tracking/compare/v1.8.1...v1.8.2
-[1.8.1]: https://github.com/Automattic/jetpack-tracking/compare/v1.8.0...v1.8.1
-[1.8.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.7.2...v1.8.0
-[1.7.2]: https://github.com/Automattic/jetpack-tracking/compare/v1.7.1...v1.7.2
-[1.7.1]: https://github.com/Automattic/jetpack-tracking/compare/v1.7.0...v1.7.1
-[1.7.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.6.1...v1.7.0
-[1.6.1]: https://github.com/Automattic/jetpack-tracking/compare/v1.6.0...v1.6.1
-[1.6.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.5.0...v1.6.0
-[1.5.0]: https://github.com/Automattic/jetpack-tracking/compare/1.4.0...v1.5.0
-[1.4.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.3.0...1.4.0
-[1.3.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.2.2...v1.3.0
-[1.2.2]: https://github.com/Automattic/jetpack-tracking/compare/v1.2.1...v1.2.2
-[1.2.1]: https://github.com/Automattic/jetpack-tracking/compare/v1.2.0...v1.2.1
-[1.2.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.1.1...v1.2.0
-[1.1.1]: https://github.com/Automattic/jetpack-tracking/compare/v1.1.0...v1.1.1
-[1.1.0]: https://github.com/Automattic/jetpack-tracking/compare/v1.0.2...v1.1.0
-[1.0.2]: https://github.com/Automattic/jetpack-tracking/compare/v1.0.1...v1.0.2
-[1.0.1]: https://github.com/Automattic/jetpack-tracking/compare/v1.0.0...v1.0.1
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/.phpcsignore b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/.phpcsignore
new file mode 100644
index 00000000..9f4f5a0b
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/.phpcsignore
@@ -0,0 +1 @@
+rules/
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/CHANGELOG.md
new file mode 100644
index 00000000..6d8c3a73
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/CHANGELOG.md
@@ -0,0 +1,83 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [0.6.2] - 2022-06-06
+### Fixed
+- Fix the hook we're using for run.php.
+
+## [0.6.1] - 2022-06-02
+### Removed
+- Disable the WAF module on Atomic
+
+## [0.6.0] - 2022-05-18
+### Added
+- Add checks for a killswitch define [#24247]
+- Added endpoint to update rules on demand [#24327]
+- handle share data option to decide if we should write to log file [#24218]
+
+### Fixed
+- Allow the rules API to return 401 responses without throwing an exception. [#24153]
+- fix bootstrap generation in cases file.php is not required yet [#24153]
+
+## [0.5.1] - 2022-05-04
+### Added
+- Added a check to only run the firewall when the Jetpack module is enabled, a method to provide the bootstrap.php path, and a REST API endpoint to provide the firewall settings. [#23769]
+- Connected the WAF UI to actually updating the IP block and allow lists when saving the settings. [#24124]
+
+### Fixed
+- Fixed database logging [#24070]
+- Fixed issue where code for the waf package was executed if the module was disabled [#24217]
+- Fixed writing rules php files if the API request for getting up-to-date rules failes so that the internal functionality is kept in tact. [#24181]
+- We now sanitize the output generated by blocked requests, and only report the rule ID in the header response. [#24058]
+
+## [0.5.0] - 2022-04-26
+### Added
+- added cron to update rules
+- Added WAF IP allow list and block list functionality.
+
+### Changed
+- Added comment to ignore failing phpcs check
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+- Updated package dependencies.
+
+## [0.4.0] - 2022-04-19
+### Added
+- added logs when a request is blocked
+- Generating rules now fetches them from the API. Also adds a few CLI commands.
+
+## [0.3.0] - 2022-04-12
+### Added
+- Added hooks for generating the rules.php file, and improved functionality and class names.
+
+## [0.2.0] - 2022-04-06
+### Added
+- Added Jetpack WAF standalone mode.
+
+### Fixed
+- Fix normalizing nested array targets, like with query strings.
+
+## [0.1.1] - 2022-03-29
+### Fixed
+- Fixed instance of normalizeHeaderName that wasn't renamed; fixed header parsing; removed unused compiler file.
+
+## 0.1.0 - 2022-02-16
+### Added
+- Added executing the WAF as part of the Jetpack plugin.
+- Added Initial version
+
+### Changed
+- Core: do not ship .phpcs.dir.xml in production builds.
+
+[0.6.2]: https://github.com/Automattic/jetpack-waf/compare/v0.6.1...v0.6.2
+[0.6.1]: https://github.com/Automattic/jetpack-waf/compare/v0.6.0...v0.6.1
+[0.6.0]: https://github.com/Automattic/jetpack-waf/compare/v0.5.1...v0.6.0
+[0.5.1]: https://github.com/Automattic/jetpack-waf/compare/v0.5.0...v0.5.1
+[0.5.0]: https://github.com/Automattic/jetpack-waf/compare/v0.4.0...v0.5.0
+[0.4.0]: https://github.com/Automattic/jetpack-waf/compare/v0.3.0...v0.4.0
+[0.3.0]: https://github.com/Automattic/jetpack-waf/compare/v0.2.0...v0.3.0
+[0.2.0]: https://github.com/Automattic/jetpack-waf/compare/v0.1.1...v0.2.0
+[0.1.1]: https://github.com/Automattic/jetpack-waf/compare/v0.1.0...v0.1.1
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/LICENSE.txt
index e82774c1..e82774c1 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/LICENSE.txt
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/LICENSE.txt
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/SECURITY.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/SECURITY.md
index b4b46c0e..b4b46c0e 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-tracking/SECURITY.md
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/SECURITY.md
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/actions.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/actions.php
new file mode 100644
index 00000000..7d50a514
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/actions.php
@@ -0,0 +1,85 @@
+<?php
+/**
+ * Action Hooks for Jetpack WAF module.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+use Automattic\Jetpack\Status\Host;
+
+// We don't want to be anything in here outside WP context.
+if ( ! function_exists( 'add_action' ) ) {
+ return;
+}
+
+/**
+ * Check if killswitch is defined as true
+ */
+if ( defined( 'DISABLE_JETPACK_WAF' ) && DISABLE_JETPACK_WAF ) {
+ return;
+}
+
+if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ return;
+}
+
+if ( ( new Host() )->is_atomic_platform() ) {
+ add_filter(
+ 'jetpack_get_available_modules',
+ function ( $modules ) {
+ unset( $modules['waf'] );
+
+ return $modules;
+ }
+ );
+}
+
+/**
+ * Triggers when the Jetpack plugin is updated
+ */
+add_action(
+ 'upgrader_process_complete',
+ array( __NAMESPACE__ . '\Waf_Runner', 'update_rules_if_changed' )
+);
+
+/**
+ * Cron to update the rules periodically.
+ */
+if ( Waf_Runner::is_enabled() ) {
+ add_action( 'jetpack_waf_rules_update_cron', array( __NAMESPACE__ . '\Waf_Runner', 'update_rules_cron' ) );
+
+ if ( ! wp_next_scheduled( 'jetpack_waf_rules_update_cron' ) ) {
+ wp_schedule_event( time(), 'twicedaily', 'jetpack_waf_rules_update_cron' );
+ }
+}
+
+/**
+ * Runs the WAF in the WP context.
+ *
+ * @return void
+ */
+add_action(
+ 'plugins_loaded',
+ function () {
+ require_once __DIR__ . '/run.php';
+ }
+);
+
+/**
+ * Adds the REST API endpoints used by the WAF in the WP context.
+ *
+ * @return void
+ */
+add_action(
+ 'rest_api_init',
+ function () {
+ require_once __DIR__ . '/src/class-waf-endpoints.php';
+ Waf_Endpoints::register_endpoints();
+ }
+);
+
+add_action( 'update_option_' . Waf_Runner::IP_ALLOW_LIST_OPTION_NAME, array( Waf_Runner::class, 'activate' ), 10, 0 );
+add_action( 'update_option_' . Waf_Runner::IP_BLOCK_LIST_OPTION_NAME, array( Waf_Runner::class, 'activate' ), 10, 0 );
+add_action( 'update_option_' . Waf_Runner::IP_LISTS_ENABLED_OPTION_NAME, array( Waf_Runner::class, 'activate' ), 10, 0 );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/cli.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/cli.php
new file mode 100644
index 00000000..c62c43f9
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/cli.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Registers the CLI functionality.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+if ( defined( 'WP_CLI' ) && \WP_CLI ) {
+ \WP_CLI::add_command( 'jetpack-waf', CLI::class );
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/run.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/run.php
new file mode 100644
index 00000000..06aa184f
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/run.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * This file is to be included where the Jetpack Waf is to be run. Note that it will potentially stop the whole
+ * request as this is the point of a functioning firewall.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+if ( ! Waf_Runner::is_enabled() ) {
+ return;
+}
+
+Waf_Runner::define_mode();
+Waf_Runner::define_share_data();
+
+if ( ! Waf_Runner::is_allowed_mode( JETPACK_WAF_MODE ) ) {
+ return;
+}
+
+if ( ! Waf_Runner::did_run() ) {
+ Waf_Runner::run();
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php
new file mode 100644
index 00000000..5ce887dc
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php
@@ -0,0 +1,165 @@
+<?php
+/**
+ * CLI handler for Jetpack Waf.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+use \WP_CLI;
+use \WP_CLI_Command;
+
+/**
+ * Just a few sample commands to learn how WP-CLI works
+ */
+class CLI extends WP_CLI_Command {
+ /**
+ * View or set the current mode of the WAF.
+ * ## OPTIONS
+ *
+ * [<mode>]
+ * : The new mode to be set.
+ * ---
+ * options:
+ * - silent
+ * - normal
+ * ---
+ *
+ * @param array $args Arguments passed to CLI.
+ * @return void|null
+ * @throws WP_CLI\ExitException If there is an error switching the mode.
+ */
+ public function mode( $args ) {
+ if ( count( $args ) > 1 ) {
+
+ return WP_CLI::error( __( 'Only one mode may be specified.', 'jetpack-waf' ) );
+ }
+ if ( count( $args ) === 1 ) {
+ if ( ! Waf_Runner::is_allowed_mode( $args[0] ) ) {
+
+ return WP_CLI::error(
+ sprintf(
+ /* translators: %1$s is the mode that was actually found. Also note that the expected "silent" and "normal" are hard-coded strings and must therefore stay the same in any translation. */
+ __( 'Invalid mode: %1$s. Expected "silent" or "normal".', 'jetpack-waf' ),
+ $args[0]
+ )
+ );
+ }
+
+ update_option( Waf_Runner::MODE_OPTION_NAME, $args[0] );
+
+ try {
+ ( new Waf_Standalone_Bootstrap() )->generate();
+ } catch ( \Exception $e ) {
+ WP_CLI::warning(
+ sprintf(
+ /* translators: %1$s is the unexpected error message. */
+ __( 'Unable to generate waf bootstrap - standalone mode may not work properly: %1$s', 'jetpack-waf' ),
+ $e->getMessage()
+ )
+ );
+ }
+
+ return WP_CLI::success(
+ sprintf(
+ /* translators: %1$s is the name of the mode that was just switched to. */
+ __( 'Jetpack WAF mode switched to "%1$s".', 'jetpack-waf' ),
+ get_option( Waf_Runner::MODE_OPTION_NAME )
+ )
+ );
+ }
+ WP_CLI::line(
+ sprintf(
+ /* translators: %1$s is the name of the mode that the waf is currently running in. */
+ __( 'Jetpack WAF is running in "%1$s" mode.', 'jetpack-waf' ),
+ get_option( Waf_Runner::MODE_OPTION_NAME )
+ )
+ );
+ }
+
+ /**
+ * Setup the WAF to run.
+ * ## OPTIONS
+ *
+ * [<mode>]
+ * : The new mode to be set.
+ * ---
+ * options:
+ * - silent
+ * - normal
+ * ---
+ *
+ * @param array $args Arguments passed to CLI.
+ * @return void|null
+ * @throws WP_CLI\ExitException If there is an error switching the mode.
+ */
+ public function setup( $args ) {
+ // Let is_allowed_mode know we are running from the CLI
+ define( 'WAF_CLI_MODE', $args[0] );
+
+ // Set the mode and generate the bootstrap
+ $this->mode( array( $args[0] ) );
+
+ try {
+ // Add relevant options and generate the rules.php file
+ Waf_Runner::activate();
+ } catch ( \Exception $e ) {
+
+ return WP_CLI::error(
+ sprintf(
+ /* translators: %1$s is the unexpected error message. */
+ __( 'Jetpack WAF rules file failed to generate: %1$s', 'jetpack-waf' ),
+ $e->getMessage()
+ )
+ );
+ }
+
+ return WP_CLI::success( __( 'Jetpack WAF has successfully been setup.', 'jetpack-waf' ) );
+ }
+
+ /**
+ * Delete the WAF options.
+ *
+ * @return void|null
+ * @throws WP_CLI\ExitException If deactivating has failures.
+ */
+ public function teardown() {
+ try {
+ Waf_Runner::deactivate();
+ } catch ( \Exception $e ) {
+ WP_CLI::error( __( 'Jetpack WAF failed to fully deactivate.', 'jetpack-waf' ) );
+ }
+
+ return WP_CLI::success( __( 'Jetpack WAF has been deactivated.', 'jetpack-waf' ) );
+ }
+
+ /**
+ * Generate the rules.php file with latest rules for the WAF.
+ *
+ * @return void|null
+ * @throws WP_CLI\ExitException If there is an error switching the mode.
+ */
+ public function generate_rules() {
+ try {
+ Waf_Runner::generate_rules();
+ } catch ( \Exception $e ) {
+
+ return WP_CLI::error(
+ sprintf(
+ /* translators: %1$s is the unexpected error message. */
+ __( 'Jetpack WAF rules file failed to generate: %1$s', 'jetpack-waf' ),
+ $e->getMessage()
+ )
+ );
+ }
+
+ return WP_CLI::success(
+ sprintf(
+ /* translators: %1$s is the name of the mode that was just switched to. */
+ __( 'Jetpack WAF rules successfully created to: "%1$s".', 'jetpack-waf' ),
+ Waf_Runner::RULES_FILE
+ )
+ );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php
new file mode 100644
index 00000000..0cfa3446
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Class use to define the constants used by the WAF
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+/**
+ * Defines our constants.
+ */
+class Waf_Constants {
+ /**
+ * Initializes the constants required for generating the bootstrap, if they have not been initialized yet.
+ *
+ * @return void
+ */
+ public static function initialize_constants() {
+ if ( ! defined( 'JETPACK_WAF_DIR' ) ) {
+ define( 'JETPACK_WAF_DIR', trailingslashit( WP_CONTENT_DIR ) . 'jetpack-waf' );
+ }
+ if ( ! defined( 'JETPACK_WAF_WPCONFIG' ) ) {
+ define( 'JETPACK_WAF_WPCONFIG', trailingslashit( WP_CONTENT_DIR ) . '../wp-config.php' );
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-endpoints.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-endpoints.php
new file mode 100644
index 00000000..2aff96a5
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-endpoints.php
@@ -0,0 +1,111 @@
+<?php
+/**
+ * Class use to register REST API endpoints used by the WAF
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+use Automattic\Jetpack\Connection\REST_Connector;
+use WP_REST_Server;
+
+/**
+ * Defines our endponts.
+ */
+class Waf_Endpoints {
+ /**
+ * Get Bootstrap File Path
+ *
+ * @return string The path to the Jetpack Firewall's bootstrap.php file.
+ */
+ private static function get_bootstrap_file_path() {
+ $bootstrap = new Waf_Standalone_Bootstrap();
+ return $bootstrap->get_bootstrap_file_path();
+ }
+
+ /**
+ * Has Rules Access
+ *
+ * @return bool True when the current site has access to latest firewall rules.
+ */
+ private static function has_rules_access() {
+ // any site with Jetpack Scan can download new WAF rules
+ return \Jetpack_Plan::supports( 'scan' );
+ }
+
+ /**
+ * Register REST API endpoints.
+ */
+ public static function register_endpoints() {
+ register_rest_route(
+ 'jetpack/v4',
+ '/waf',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => __CLASS__ . '::waf',
+ 'permission_callback' => __CLASS__ . '::waf_permissions_callback',
+ )
+ );
+ register_rest_route(
+ 'jetpack/v4',
+ '/waf/update-rules',
+ array(
+ 'methods' => WP_REST_Server::EDITABLE,
+ 'callback' => __CLASS__ . '::update_rules',
+ 'permission_callback' => __CLASS__ . '::waf_permissions_callback',
+ )
+ );
+ }
+
+ /**
+ * Update rules endpoint
+ */
+ public static function update_rules() {
+ $success = true;
+ $message = 'Rules updated succesfully';
+
+ try {
+ Waf_Runner::generate_rules();
+ } catch ( Exception $e ) {
+ $success = false;
+ $message = $e->getMessage();
+ }
+
+ return rest_ensure_response(
+ array(
+ 'success' => $success,
+ 'message' => $message,
+ )
+ );
+ }
+
+ /**
+ * WAF Endpoint
+ */
+ public static function waf() {
+ return rest_ensure_response(
+ array(
+ 'bootstrapPath' => self::get_bootstrap_file_path(),
+ 'hasRulesAccess' => self::has_rules_access(),
+ )
+ );
+ }
+
+ /**
+ * WAF Endpoint Permissions Callback
+ *
+ * @return bool|WP_Error True if user can view the Jetpack admin page.
+ */
+ public static function waf_permissions_callback() {
+ if ( current_user_can( 'jetpack_manage_modules' ) ) {
+ return true;
+ }
+
+ return new WP_Error(
+ 'invalid_user_permission_manage_modules',
+ REST_Connector::get_user_permissions_error_msg(),
+ array( 'status' => rest_authorization_required_code() )
+ );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php
new file mode 100644
index 00000000..662a2ca2
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Class use to initialize the WAF module.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+/**
+ * Initializes the module
+ */
+class Waf_Initializer {
+ /**
+ * Initializes the configurations needed for the waf module.
+ *
+ * @return void
+ */
+ public static function init() {
+ add_action( 'jetpack_activate_module_waf', __CLASS__ . '::on_activation' );
+ add_action( 'jetpack_deactivate_module_waf', __CLASS__ . '::on_deactivation' );
+ }
+
+ /**
+ * On module activation set up waf mode
+ */
+ public static function on_activation() {
+ update_option( Waf_Runner::MODE_OPTION_NAME, 'normal' );
+ Waf_Runner::activate();
+ ( new Waf_Standalone_Bootstrap() )->generate();
+ }
+
+ /**
+ * On module deactivation, unset waf mode
+ */
+ public static function on_deactivation() {
+ Waf_Runner::deactivate();
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php
new file mode 100644
index 00000000..503fe797
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php
@@ -0,0 +1,286 @@
+<?php
+/**
+ * Rule compiler for Jetpack Waf.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+/**
+ * Waf_Operators class
+ */
+class Waf_Operators {
+ /**
+ * Returns true if the test string is found at the beginning of the input.
+ *
+ * @param string $input Input.
+ * @param string $test Test.
+ * @return string|false
+ */
+ public function begins_with( $input, $test ) {
+ if ( '' === $input && '' === $test ) {
+ return '';
+ }
+
+ return substr( $input, 0, strlen( $test ) ) === $test
+ ? $test
+ : false;
+ }
+
+ /**
+ * Returns true if the test string is found anywhere in the input.
+ *
+ * @param string $input Input.
+ * @param string $test Test.
+ * @return string|false
+ */
+ public function contains( $input, $test ) {
+ if ( empty( $input ) || empty( $test ) ) {
+ return false;
+ }
+
+ return strpos( $input, $test ) !== false
+ ? $test
+ : false;
+ }
+
+ /**
+ * Returns true if the test string with word boundaries is found anywhere in the input.
+ *
+ * @param string $input Input.
+ * @param string $test Test.
+ * @return string|false
+ */
+ public function contains_word( $input, $test ) {
+ return ( $input === $test || 1 === preg_match( '/\b' . preg_quote( $test, '/' ) . '\b/Ds', $input ) )
+ ? $test
+ : false;
+ }
+
+ /**
+ * Returns true if the test string is found at the end of the input.
+ *
+ * @param string $input Input.
+ * @param string $test Test.
+ * @return string|false
+ */
+ public function ends_with( $input, $test ) {
+ return ( '' === $test || substr( $input, -1 * strlen( $test ) ) === $test )
+ ? $test
+ : false;
+ }
+
+ /**
+ * Returns true if the input value is equal to the test value.
+ * If either value cannot be converted to an int it will be treated as 0.
+ *
+ * @param mixed $input Input.
+ * @param mixed $test Test.
+ * @return int|false
+ */
+ public function eq( $input, $test ) {
+ return intval( $input ) === intval( $test )
+ ? $input
+ : false;
+ }
+
+ /**
+ * Returns true if the input value is greater than or equal to the test value.
+ * If either value cannot be converted to an int it will be treated as 0.
+ *
+ * @param mixed $input Input.
+ * @param mixed $test Test.
+ * @return int|false
+ */
+ public function ge( $input, $test ) {
+ return intval( $input ) >= intval( $test )
+ ? $input
+ : false;
+ }
+
+ /**
+ * Returns true if the input value is greater than the test value.
+ * If either value cannot be converted to an int it will be treated as 0.
+ *
+ * @param mixed $input Input.
+ * @param mixed $test Test.
+ * @return int|false
+ */
+ public function gt( $input, $test ) {
+ return intval( $input ) > intval( $test )
+ ? $input
+ : false;
+ }
+
+ /**
+ * Returns true if the input value is less than or equal to the test value.
+ * If either value cannot be converted to an int it will be treated as 0.
+ *
+ * @param mixed $input Input.
+ * @param mixed $test Test.
+ * @return int|false
+ */
+ public function le( $input, $test ) {
+ return intval( $input ) <= intval( $test )
+ ? $input
+ : false;
+ }
+
+ /**
+ * Returns true if the input value is less than the test value.
+ * If either value cannot be converted to an int it will be treated as 0.
+ *
+ * @param mixed $input Input.
+ * @param mixed $test Test.
+ * @return int|false
+ */
+ public function lt( $input, $test ) {
+ return intval( $input ) < intval( $test )
+ ? $input
+ : false;
+ }
+
+ /**
+ * Returns false.
+ *
+ * @return false
+ */
+ public function no_match() {
+ return false;
+ }
+
+ /**
+ * Uses a multi-string matching algorithm to search through $input for a number of given $words.
+ *
+ * @param string $input Input.
+ * @param string[] $words \AhoCorasick\MultiStringMatcher $matcher.
+ * @return string[]|false Returns the words that were found in $input, or FALSE if no words were found.
+ */
+ public function pm( $input, $words ) {
+ $results = $this->get_multi_string_matcher( $words )->searchIn( $input );
+
+ return isset( $results[0] )
+ ? array_map(
+ function ( $r ) {
+ return $r[1]; },
+ $results
+ )
+ : false;
+ }
+
+ /**
+ * The last-used pattern-matching algorithm.
+ *
+ * @var array
+ */
+ private $last_multi_string_matcher = array( null, null );
+
+ /**
+ * Creates a matcher that uses the Aho-Corasick algorithm to efficiently find a number of words in an input string.
+ * Caches the last-used matcher so that the same word list doesn't have to be compiled multiple times.
+ *
+ * @param string[] $words Words.
+ * @return \AhoCorasick\MultiStringMatcher
+ */
+ private function get_multi_string_matcher( $words ) {
+ // only create a new matcher entity if we don't have one already for this word list.
+ if ( $this->last_multi_string_matcher[0] !== $words ) {
+ $this->last_multi_string_matcher = array( $words, new \AhoCorasick\MultiStringMatcher( $words ) );
+ }
+
+ return $this->last_multi_string_matcher[1];
+ }
+
+ /**
+ * Performs a regular expression match on the input subject using the given pattern.
+ * Returns false if the pattern does not match, or the substring(s) of the input
+ * that were matched by the pattern.
+ *
+ * @param string $subject Subject.
+ * @param string $pattern Pattern.
+ * @return string[]|false
+ */
+ public function rx( $subject, $pattern ) {
+ $matched = preg_match( $pattern, $subject, $matches );
+ return 1 === $matched
+ ? $matches
+ : false;
+ }
+
+ /**
+ * Returns true if the given input string matches the test string.
+ *
+ * @param string $input Input.
+ * @param string $test Test.
+ * @return string|false
+ */
+ public function streq( $input, $test ) {
+ return $input === $test
+ ? $test
+ : false;
+ }
+
+ /**
+ * Returns true.
+ *
+ * @param string $input Input.
+ * @return bool
+ */
+ public function unconditional_match( $input ) {
+ return $input;
+ }
+
+ /**
+ * Checks to see if the input string only contains characters within the given byte range
+ *
+ * @param string $input Input.
+ * @param array $valid_range Valid range.
+ * @return string
+ */
+ public function validate_byte_range( $input, $valid_range ) {
+ if ( '' === $input ) {
+ // an empty string is considered "valid".
+ return false;
+ }
+ $i = 0;
+ while ( isset( $input[ $i ] ) ) {
+ $n = ord( $input[ $i ] );
+ if ( $n < $valid_range['min'] || $n > $valid_range['max'] ) {
+ return $input[ $i ];
+ }
+ $valid = false;
+ foreach ( $valid_range['range'] as $b ) {
+ if ( $n === $b || is_array( $b ) && $n >= $b[0] && $n <= $b[1] ) {
+ $valid = true;
+ break;
+ }
+ }
+ if ( ! $valid ) {
+ return $input[ $i ];
+ }
+ $i++;
+ }
+
+ // if there weren't any invalid bytes, return false.
+ return false;
+ }
+
+ /**
+ * Returns true if the input value is found anywhere inside the test value
+ * (i.e. the inverse of @contains)
+ *
+ * @param mixed $input Input.
+ * @param mixed $test Test.
+ * @return string|false
+ */
+ public function within( $input, $test ) {
+ if ( '' === $input || '' === $test ) {
+ return false;
+ }
+
+ return stripos( $test, $input ) !== false
+ ? $input
+ : false;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php
new file mode 100644
index 00000000..279fd84e
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php
@@ -0,0 +1,106 @@
+<?php
+/**
+ * HTTP request representation specific for the WAF.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+require_once __DIR__ . '/functions.php';
+
+/**
+ * Request representation.
+ */
+class Waf_Request {
+
+ /**
+ * Trusted proxies.
+ *
+ * @var array List of trusted proxy IP addresses.
+ */
+ private $trusted_proxies = array();
+
+ /**
+ * Trusted headers.
+ *
+ * @var array List of headers to trust from the trusted proxies.
+ */
+ private $trusted_headers = array();
+
+ /**
+ * Sets the list of IP addresses for the proxies to trust. Trusted headers will only be accepted as the
+ * user IP address from these IP adresses.
+ *
+ * Popular choices include:
+ * - 192.168.0.1
+ * - 10.0.0.1
+ *
+ * @param array $proxies List of proxy IP addresses.
+ * @return void
+ */
+ public function set_trusted_proxies( $proxies ) {
+ $this->trusted_proxies = (array) $proxies;
+ }
+
+ /**
+ * Sets the list of headers to be trusted from the proxies. These headers will only be taken into account
+ * if the request comes from a trusted proxy as configured with set_trusted_proxies().
+ *
+ * Popular choices include:
+ * - HTTP_CLIENT_IP
+ * - HTTP_X_FORWARDED_FOR
+ * - HTTP_X_FORWARDED
+ * - HTTP_X_CLUSTER_CLIENT_IP
+ * - HTTP_FORWARDED_FOR
+ * - HTTP_FORWARDED
+ *
+ * @param array $headers List of HTTP header strings.
+ * @return void
+ */
+ public function set_trusted_headers( $headers ) {
+ $this->trusted_headers = (array) $headers;
+ }
+
+ /**
+ * Determines the users real IP address based on the settings passed to set_trusted_proxies() and
+ * set_trusted_headers() before. On CLI, this will be null.
+ *
+ * @return string|null
+ */
+ public function get_real_user_ip_address() {
+ $remote_addr = ! empty( $_SERVER['REMOTE_ADDR'] ) ? wp_unslash( $_SERVER['REMOTE_ADDR'] ) : null; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
+
+ if ( in_array( $remote_addr, $this->trusted_proxies, true ) ) {
+ $ip_by_header = $this->get_ip_by_header( array_merge( $this->trusted_headers, array( 'REMOTE_ADDR' ) ) );
+ if ( ! empty( $ip_by_header ) ) {
+ return $ip_by_header;
+ }
+ }
+
+ return $remote_addr;
+ }
+
+ /**
+ * Iterates through a given list of HTTP headers and attempts to get the IP address from the header that
+ * a proxy sends along. Make sure you trust the IP address before calling this method.
+ *
+ * @param array $headers The list of headers to check.
+ * @return string|null
+ */
+ private function get_ip_by_header( $headers ) {
+ foreach ( $headers as $key ) {
+ if ( isset( $_SERVER[ $key ] ) ) {
+ foreach ( explode( ',', wp_unslash( $_SERVER[ $key ] ) ) as $ip ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- filter_var is applied below.
+ $ip = trim( $ip );
+
+ if ( filter_var( $ip, FILTER_VALIDATE_IP ) !== false ) {
+ return $ip;
+ }
+ }
+ }
+ }
+
+ return null;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php
new file mode 100644
index 00000000..389f8b2a
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php
@@ -0,0 +1,469 @@
+<?php
+/**
+ * Entrypoint for actually executing the WAF.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+use Automattic\Jetpack\Connection\Client;
+use Automattic\Jetpack\Modules;
+use Jetpack_Options;
+
+/**
+ * Executes the WAF.
+ */
+class Waf_Runner {
+
+ const WAF_RULES_VERSION = '1.0.0';
+ const MODE_OPTION_NAME = 'jetpack_waf_mode';
+ const IP_LISTS_ENABLED_OPTION_NAME = 'jetpack_waf_ip_list';
+ const IP_ALLOW_LIST_OPTION_NAME = 'jetpack_waf_ip_allow_list';
+ const IP_BLOCK_LIST_OPTION_NAME = 'jetpack_waf_ip_block_list';
+ const RULES_FILE = __DIR__ . '/../rules/rules.php';
+ const ALLOW_IP_FILE = __DIR__ . '/../rules/allow-ip.php';
+ const BLOCK_IP_FILE = __DIR__ . '/../rules/block-ip.php';
+ const VERSION_OPTION_NAME = 'jetpack_waf_rules_version';
+ const RULE_LAST_UPDATED_OPTION_NAME = 'jetpack_waf_last_updated_timestamp';
+ const SHARE_DATA_OPTION_NAME = 'jetpack_waf_share_data';
+
+ /**
+ * Set the mode definition if it has not been set.
+ *
+ * @return void
+ */
+ public static function define_mode() {
+ if ( ! defined( 'JETPACK_WAF_MODE' ) ) {
+ $mode_option = get_option( self::MODE_OPTION_NAME );
+ define( 'JETPACK_WAF_MODE', $mode_option );
+ }
+ }
+
+ /**
+ * Set the mode definition if it has not been set.
+ *
+ * @return void
+ */
+ public static function define_share_data() {
+ if ( ! defined( 'JETPACK_WAF_SHARE_DATA' ) ) {
+ $share_data_option = get_option( self::SHARE_DATA_OPTION_NAME, false );
+ define( 'JETPACK_WAF_SHARE_DATA', $share_data_option );
+ }
+ }
+
+ /**
+ * Did the WAF run yet or not?
+ *
+ * @return bool
+ */
+ public static function did_run() {
+ return defined( 'JETPACK_WAF_RUN' );
+ }
+
+ /**
+ * Determines if the passed $option is one of the allowed WAF operation modes.
+ *
+ * @param string $option The mode option.
+ * @return bool
+ */
+ public static function is_allowed_mode( $option ) {
+ // Normal constants are defined prior to WP_CLI running causing problems for activation
+ if ( defined( 'WAF_CLI_MODE' ) ) {
+ $option = WAF_CLI_MODE;
+ }
+
+ $allowed_modes = array(
+ 'normal',
+ 'silent',
+ );
+
+ return in_array( $option, $allowed_modes, true );
+ }
+
+ /**
+ * Determines if the WAF module is enabled on the site.
+ *
+ * @return bool
+ */
+ public static function is_enabled() {
+ // if ABSPATH is defined, then WordPress has already been instantiated,
+ // so we can check to see if the waf module is activated.
+ if ( defined( 'ABSPATH' ) ) {
+ return ( new Modules() )->is_active( 'waf' );
+ }
+
+ return true;
+ }
+
+ /**
+ * Runs the WAF and potentially stops the request if a problem is found.
+ *
+ * @return void
+ */
+ public static function run() {
+ // Make double-sure we are only running once.
+ if ( self::did_run() ) {
+ return;
+ }
+
+ Waf_Constants::initialize_constants();
+
+ // if ABSPATH is defined, then WordPress has already been instantiated,
+ // and we're running as a plugin (meh). Otherwise, we're running via something
+ // like PHP's prepend_file setting (yay!).
+ define( 'JETPACK_WAF_RUN', defined( 'ABSPATH' ) ? 'plugin' : 'preload' );
+
+ // if the WAF is being run before a command line script, don't try to execute rules (there's no request).
+ if ( PHP_SAPI === 'cli' ) {
+ return;
+ }
+
+ // if something terrible happens during the WAF running, we don't want to interfere with the rest of the site,
+ // so we intercept errors ONLY while the WAF is running, then we remove our handler after the WAF finishes.
+ $display_errors = ini_get( 'display_errors' );
+ // phpcs:ignore
+ ini_set( 'display_errors', 'Off' );
+ // phpcs:ignore
+ set_error_handler( array( self::class, 'errorHandler' ) );
+
+ try {
+
+ // phpcs:ignore
+ $waf = new Waf_Runtime( new Waf_Transforms(), new Waf_Operators() );
+
+ // execute waf rules.
+ // phpcs:ignore
+ include self::RULES_FILE;
+ } catch ( \Exception $err ) { // phpcs:ignore
+ // Intentionally doing nothing.
+ }
+
+ // remove the custom error handler, so we don't interfere with the site.
+ restore_error_handler();
+ // phpcs:ignore
+ ini_set( 'display_errors', $display_errors );
+ }
+
+ /**
+ * Error handler to be used while the WAF is being executed.
+ *
+ * @param int $code The error code.
+ * @param string $message The error message.
+ * @param string $file File with the error.
+ * @param string $line Line of the error.
+ * @return void
+ */
+ public static function errorHandler( $code, $message, $file, $line ) { // phpcs:ignore
+ // Intentionally doing nothing for now.
+ }
+
+ /**
+ * Initializes the WP filesystem.
+ *
+ * @return void
+ * @throws \Exception If filesystem is unavailable.
+ */
+ public static function initialize_filesystem() {
+ if ( ! function_exists( '\\WP_Filesystem' ) ) {
+ require_once ABSPATH . 'wp-admin/includes/file.php';
+ }
+
+ if ( ! \WP_Filesystem() ) {
+ throw new \Exception( 'No filesystem available.' );
+ }
+ }
+
+ /**
+ * Activates the WAF by generating the rules script and setting the version
+ *
+ * @return void
+ */
+ public static function activate() {
+ self::define_mode();
+ if ( ! self::is_allowed_mode( JETPACK_WAF_MODE ) ) {
+ return;
+ }
+ $version = get_option( self::VERSION_OPTION_NAME );
+ if ( ! $version ) {
+ add_option( self::VERSION_OPTION_NAME, self::WAF_RULES_VERSION );
+ }
+
+ add_option( self::SHARE_DATA_OPTION_NAME, true );
+
+ self::initialize_filesystem();
+ self::create_waf_directory();
+ self::generate_ip_rules();
+ self::create_blocklog_table();
+ self::generate_rules();
+ }
+
+ /**
+ * Created the waf directory on activation.
+ *
+ * @return void
+ * @throws \Exception In case there's a problem when creating the directory.
+ */
+ public static function create_waf_directory() {
+ WP_Filesystem();
+ Waf_Constants::initialize_constants();
+
+ global $wp_filesystem;
+ if ( ! $wp_filesystem ) {
+ throw new \Exception( 'Can not work without the file system being initialized.' );
+ }
+
+ if ( ! $wp_filesystem->is_dir( JETPACK_WAF_DIR ) ) {
+ if ( ! $wp_filesystem->mkdir( JETPACK_WAF_DIR ) ) {
+ throw new \Exception( 'Failed creating WAF standalone bootstrap file directory: ' . JETPACK_WAF_DIR );
+ }
+ }
+ }
+
+ /**
+ * Create the log table when plugin is activated.
+ *
+ * @return void
+ */
+ public static function create_blocklog_table() {
+ global $wpdb;
+
+ require_once ABSPATH . 'wp-admin/includes/upgrade.php';
+
+ $sql = "
+ CREATE TABLE {$wpdb->prefix}jetpack_waf_blocklog (
+ log_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
+ timestamp datetime NOT NULL,
+ rule_id BIGINT NOT NULL,
+ reason longtext NOT NULL,
+ PRIMARY KEY (log_id),
+ KEY timestamp (timestamp)
+ )
+ ";
+
+ dbDelta( $sql );
+ }
+
+ /**
+ * Deactivates the WAF by deleting the relevant options and emptying rules file.
+ *
+ * @return void
+ * @throws \Exception If file writing fails.
+ */
+ public static function deactivate() {
+ delete_option( self::MODE_OPTION_NAME );
+ delete_option( self::VERSION_OPTION_NAME );
+
+ global $wp_filesystem;
+
+ self::initialize_filesystem();
+
+ if ( ! $wp_filesystem->put_contents( self::RULES_FILE, "<?php\n" ) ) {
+ throw new \Exception( 'Failed to empty rules.php file.' );
+ }
+ }
+
+ /**
+ * Tries periodically to update the rules using our API.
+ *
+ * @return void
+ */
+ public static function update_rules_cron() {
+ self::define_mode();
+ if ( ! self::is_allowed_mode( JETPACK_WAF_MODE ) ) {
+ return;
+ }
+
+ self::generate_rules();
+ update_option( self::RULE_LAST_UPDATED_OPTION_NAME, time() );
+ }
+
+ /**
+ * Updates the rule set if rules version has changed
+ *
+ * @return void
+ */
+ public static function update_rules_if_changed() {
+ self::define_mode();
+ if ( ! self::is_allowed_mode( JETPACK_WAF_MODE ) ) {
+ return;
+ }
+ $version = get_option( self::VERSION_OPTION_NAME );
+ if ( self::WAF_RULES_VERSION !== $version ) {
+ update_option( self::VERSION_OPTION_NAME, self::WAF_RULES_VERSION );
+ self::generate_rules();
+ }
+ }
+
+ /**
+ * Retrieve rules from the API
+ *
+ * @throws \Exception If site is not registered.
+ * @throws \Exception If API did not respond 200.
+ * @throws \Exception If data is missing from response.
+ * @return array
+ */
+ public static function get_rules_from_api() {
+ $blog_id = Jetpack_Options::get_option( 'id' );
+ if ( ! $blog_id ) {
+ throw new \Exception( 'Site is not registered' );
+ }
+
+ $response = Client::wpcom_json_api_request_as_blog(
+ sprintf( '/sites/%s/waf-rules', $blog_id ),
+ '2',
+ array(),
+ null,
+ 'wpcom'
+ );
+
+ $response_code = wp_remote_retrieve_response_code( $response );
+
+ if ( 200 !== $response_code ) {
+ throw new \Exception( 'API connection failed.', $response_code );
+ }
+
+ $rules_json = wp_remote_retrieve_body( $response );
+ $rules = json_decode( $rules_json, true );
+
+ if ( empty( $rules['data'] ) ) {
+ throw new \Exception( 'Data missing from response.' );
+ }
+
+ return $rules['data'];
+ }
+
+ /**
+ * Generates the rules.php script
+ *
+ * @throws \Exception If file writing fails.
+ * @return void
+ */
+ public static function generate_rules() {
+ /**
+ * WordPress filesystem abstraction.
+ *
+ * @var \WP_Filesystem_Base $wp_filesystem
+ */
+ global $wp_filesystem;
+
+ self::initialize_filesystem();
+
+ $api_exception = null;
+ $throw_api_exception = true;
+ try {
+ $rules = self::get_rules_from_api();
+ } catch ( \Exception $e ) {
+ if ( 401 === $e->getCode() ) {
+ // do not throw API exceptions for users who do not have access
+ $throw_api_exception = false;
+ }
+
+ if ( $wp_filesystem->exists( self::RULES_FILE ) && $throw_api_exception ) {
+ throw $e;
+ }
+
+ $rules = "<?php\n";
+ $api_exception = $e;
+ }
+
+ // Ensure that the folder exists.
+ if ( ! $wp_filesystem->is_dir( dirname( self::RULES_FILE ) ) ) {
+ $wp_filesystem->mkdir( dirname( self::RULES_FILE ) );
+ }
+
+ $ip_allow_rules = self::ALLOW_IP_FILE;
+ $ip_block_rules = self::BLOCK_IP_FILE;
+
+ $ip_list_code = "if ( require('$ip_allow_rules') ) { return; }\n" .
+ "if ( require('$ip_block_rules') ) { return \$waf->block('block', -1, 'ip block list'); }\n";
+
+ $rules_divided_by_line = explode( "\n", $rules );
+ array_splice( $rules_divided_by_line, 1, 0, $ip_list_code );
+
+ $rules = implode( "\n", $rules_divided_by_line );
+
+ if ( ! $wp_filesystem->put_contents( self::RULES_FILE, $rules ) ) {
+ throw new \Exception( 'Failed writing rules file to: ' . self::RULES_FILE );
+ }
+
+ if ( null !== $api_exception && $throw_api_exception ) {
+ throw $api_exception;
+ }
+ }
+
+ /**
+ * We allow for both, one IP per line or comma-; semicolon; or whitespace-separated lists. This also validates the IP addresses
+ * and only returns the ones that look valid.
+ *
+ * @param string $ips List of ips - example: "8.8.8.8\n4.4.4.4,2.2.2.2;1.1.1.1 9.9.9.9,5555.5555.5555.5555".
+ * @return array List of valid IP addresses. - example based on input example: array('8.8.8.8', '4.4.4.4', '2.2.2.2', '1.1.1.1', '9.9.9.9')
+ */
+ private static function ip_option_to_array( $ips ) {
+ $ips = (string) $ips;
+ $ips = preg_split( '/[\s,;]/', $ips );
+
+ $result = array();
+
+ foreach ( $ips as $ip ) {
+ if ( filter_var( $ip, FILTER_VALIDATE_IP ) !== false ) {
+ $result[] = $ip;
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Generates the rules.php script
+ *
+ * @throws \Exception If filesystem is not available.
+ * @throws \Exception If file writing fails.
+ * @return void
+ */
+ public static function generate_ip_rules() {
+ /**
+ * WordPress filesystem abstraction.
+ *
+ * @var \WP_Filesystem_Base $wp_filesystem
+ */
+ global $wp_filesystem;
+
+ self::initialize_filesystem();
+
+ // Ensure that the folder exists.
+ if ( ! $wp_filesystem->is_dir( dirname( self::RULES_FILE ) ) ) {
+ $wp_filesystem->mkdir( dirname( self::RULES_FILE ) );
+ }
+
+ $allow_list = self::ip_option_to_array( get_option( self::IP_ALLOW_LIST_OPTION_NAME ) );
+ $block_list = self::ip_option_to_array( get_option( self::IP_BLOCK_LIST_OPTION_NAME ) );
+
+ $lists_enabled = (bool) get_option( self::IP_LISTS_ENABLED_OPTION_NAME );
+ if ( false === $lists_enabled ) {
+ // Making the lists empty effectively disabled the feature while still keeping the other WAF rules evaluation active.
+ $allow_list = array();
+ $block_list = array();
+ }
+
+ $allow_rules_content = '';
+ // phpcs:disable WordPress.PHP.DevelopmentFunctions
+ $allow_rules_content .= '$waf_allow_list = ' . var_export( $allow_list, true ) . ";\n";
+ // phpcs:enable
+ $allow_rules_content .= 'return $waf->is_ip_in_array( $waf_allow_list );' . "\n";
+
+ if ( ! $wp_filesystem->put_contents( self::ALLOW_IP_FILE, "<?php\n$allow_rules_content" ) ) {
+ throw new \Exception( 'Failed writing allow list file to: ' . self::ALLOW_IP_FILE );
+ }
+
+ $block_rules_content = '';
+ // phpcs:disable WordPress.PHP.DevelopmentFunctions
+ $block_rules_content .= '$waf_block_list = ' . var_export( $block_list, true ) . ";\n";
+ // phpcs:enable
+ $block_rules_content .= 'return $waf->is_ip_in_array( $waf_block_list );' . "\n";
+
+ if ( ! $wp_filesystem->put_contents( self::BLOCK_IP_FILE, "<?php\n$block_rules_content" ) ) {
+ throw new \Exception( 'Failed writing block list file to: ' . self::BLOCK_IP_FILE );
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php
new file mode 100644
index 00000000..19206821
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php
@@ -0,0 +1,794 @@
+<?php
+/**
+ * Runtime for Jetpack Waf
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+require_once __DIR__ . '/functions.php';
+
+// phpcs:disable WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- This class is all about sanitizing input.
+
+/**
+ * The environment variable that defined the WAF running mode.
+ *
+ * @var string JETPACK_WAF_MODE
+ */
+
+/**
+ * Waf_Runtime class
+ */
+class Waf_Runtime {
+
+ /**
+ * Last rule.
+ *
+ * @var string
+ */
+ public $last_rule = '';
+ /**
+ * Matched vars.
+ *
+ * @var array
+ */
+ public $matched_vars = array();
+ /**
+ * Matched var.
+ *
+ * @var string
+ */
+ public $matched_var = '';
+ /**
+ * Matched var names.
+ *
+ * @var array
+ */
+ public $matched_var_names = array();
+ /**
+ * Matched var name.
+ *
+ * @var string
+ */
+ public $matched_var_name = '';
+
+ /**
+ * State.
+ *
+ * @var array
+ */
+ private $state = array();
+ /**
+ * Metadata.
+ *
+ * @var array
+ */
+ private $metadata = array();
+
+ /**
+ * Transforms.
+ *
+ * @var Waf_Transforms[]
+ */
+ private $transforms;
+ /**
+ * Operators.
+ *
+ * @var Waf_Operators[]
+ */
+ private $operators;
+
+ /**
+ * Rules to remove.
+ *
+ * @var array[]
+ */
+ private $rules_to_remove = array(
+ 'id' => array(),
+ 'tag' => array(),
+ );
+
+ /**
+ * Targets to remove.
+ *
+ * @var array[]
+ */
+ private $targets_to_remove = array(
+ 'id' => array(),
+ 'tag' => array(),
+ );
+
+ /**
+ * Constructor method.
+ *
+ * @param Waf_Transforms $transforms Transforms.
+ * @param Waf_Operators $operators Operators.
+ */
+ public function __construct( $transforms, $operators ) {
+ $this->transforms = $transforms;
+ $this->operators = $operators;
+ }
+
+ /**
+ * Rule removed method.
+ *
+ * @param string $id Ids.
+ * @param string[] $tags Tags.
+ */
+ public function rule_removed( $id, $tags ) {
+ if ( isset( $this->rules_to_remove['id'][ $id ] ) ) {
+ return true;
+ }
+ foreach ( $tags as $tag ) {
+ if ( isset( $this->rules_to_remove['tag'][ $tag ] ) ) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Update Targets.
+ *
+ * @param array $targets Targets.
+ * @param string $rule_id Rule id.
+ * @param string[] $rule_tags Rule tags.
+ */
+ public function update_targets( $targets, $rule_id, $rule_tags ) {
+ $updates = array();
+ // look for target updates based on the rule's ID.
+ if ( isset( $this->targets_to_remove['id'][ $rule_id ] ) ) {
+ foreach ( $this->targets_to_remove['id'][ $rule_id ] as $name => $props ) {
+ $updates[] = array( $name, $props );
+ }
+ }
+ // look for target updates based on the rule's tags.
+ foreach ( $rule_tags as $tag ) {
+ if ( isset( $this->targets_to_remove['tag'][ $tag ] ) ) {
+ foreach ( $this->targets_to_remove['tag'][ $tag ] as $name => $props ) {
+ $updates[] = array( $name, $props );
+ }
+ }
+ }
+ // apply any found target updates.
+
+ foreach ( $updates as list( $name, $props ) ) {
+ if ( isset( $targets[ $name ] ) ) {
+ // we only need to remove targets that exist.
+ if ( true === $props ) {
+ // if the entire target is being removed, remove it.
+ unset( $targets[ $name ] );
+ } else {
+ // otherwise just mark single props to ignore.
+ $targets[ $name ]['except'] = array_merge(
+ isset( $targets[ $name ]['except'] ) ? $targets[ $name ]['except'] : array(),
+ $props
+ );
+ }
+ }
+ }
+ return $targets;
+ }
+
+ /**
+ * Return TRUE if at least one of the targets matches the rule.
+ *
+ * @param string[] $transforms One of the transform methods defined in the Jetpack Waf_Transforms class.
+ * @param mixed $targets Targets.
+ * @param string $match_operator Match operator.
+ * @param mixed $match_value Match value.
+ * @param bool $match_not Match not.
+ * @param bool $capture Capture.
+ * @return bool
+ */
+ public function match_targets( $transforms, $targets, $match_operator, $match_value, $match_not, $capture = false ) {
+ $this->matched_vars = array();
+ $this->matched_var_names = array();
+ $this->matched_var = '';
+ $this->matched_var_name = '';
+ $match_found = false;
+
+ // get values.
+ $values = $this->normalize_targets( $targets );
+
+ // apply transforms.
+ foreach ( $transforms as $t ) {
+ foreach ( $values as &$v ) {
+ $v['value'] = $this->transforms->$t( $v['value'] );
+ }
+ }
+
+ // pass each target value to the operator to find any that match.
+ $matched = array();
+ $captures = array();
+ foreach ( $values as $v ) {
+ $match = $this->operators->{$match_operator}( $v['value'], $match_value );
+ $did_match = false !== $match;
+ if ( $match_not !== $did_match ) {
+ // If either:
+ // - rule is negated ("not" flag set) and the target was not matched
+ // - rule not negated and the target was matched
+ // then this is considered a match.
+ $match_found = true;
+ $this->matched_var_names[] = $v['source'];
+ $this->matched_vars[] = $v['value'];
+ $this->matched_var_name = end( $this->matched_var_names );
+ $this->matched_var = end( $this->matched_vars );
+ $matched[] = array( $v, $match );
+ // Set any captured matches into state if the rule has the "capture" flag.
+ if ( $capture ) {
+ $captures = is_array( $match ) ? $match : array( $match );
+ foreach ( array_slice( $captures, 0, 10 ) as $i => $c ) {
+ $this->set_var( "tx.$i", $c );
+ }
+ }
+ }
+ }
+
+ return $match_found;
+ }
+
+ /**
+ * Block.
+ *
+ * @param string $action Action.
+ * @param string $rule_id Rule id.
+ * @param string $reason Block reason.
+ * @param int $status_code Http status code.
+ */
+ public function block( $action, $rule_id, $reason, $status_code = 403 ) {
+ if ( ! $reason ) {
+ $reason = "rule $rule_id";
+ } else {
+ $reason = $this->sanitize_output( $reason );
+ }
+
+ $this->write_blocklog( $rule_id, $reason );
+ error_log( "Jetpack WAF Blocked Request\t$action\t$rule_id\t$status_code\t$reason" );
+ header( "X-JetpackWAF-Blocked: $status_code - rule $rule_id" );
+ if ( defined( 'JETPACK_WAF_MODE' ) && 'normal' === JETPACK_WAF_MODE ) {
+ $protocol = isset( $_SERVER['SERVER_PROTOCOL'] ) ? wp_unslash( $_SERVER['SERVER_PROTOCOL'] ) : 'HTTP';
+ header( $protocol . ' 403 Forbidden', true, $status_code );
+ die( "rule $rule_id - reason $reason" );
+ }
+ }
+
+ /**
+ * Write block logs. We won't write to the file if it exceeds 100 mb.
+ *
+ * @param string $rule_id Rule id.
+ * @param string $reason Block reason.
+ */
+ public function write_blocklog( $rule_id, $reason ) {
+ $log_data = array();
+ $log_data['rule_id'] = $rule_id;
+ $log_data['reason'] = $reason;
+ $log_data['timestamp'] = gmdate( 'Y-m-d H:i:s' );
+
+ if ( defined( 'JETPACK_WAF_SHARE_DATA' ) && JETPACK_WAF_SHARE_DATA ) {
+ $file_path = JETPACK_WAF_DIR . '/waf-blocklog';
+ $file_exists = file_exists( $file_path );
+
+ if ( ! $file_exists || filesize( $file_path ) < ( 100 * 1024 * 1024 ) ) {
+ $fp = fopen( $file_path, 'a+' );
+
+ if ( $fp ) {
+ try {
+ fwrite( $fp, json_encode( $log_data ) . "\n" );
+ } finally {
+ fclose( $fp );
+ }
+ }
+ }
+ }
+
+ $this->write_blocklog_row( $log_data );
+ }
+
+ /**
+ * Write block logs to database.
+ *
+ * @param array $log_data Log data.
+ */
+ private function write_blocklog_row( $log_data ) {
+ $conn = $this->connect_to_wordpress_db();
+
+ if ( ! $conn ) {
+ return;
+ }
+
+ global $table_prefix;
+
+ $statement = $conn->prepare( "INSERT INTO {$table_prefix}jetpack_waf_blocklog(reason,rule_id, timestamp) VALUES (?, ?, ?)" );
+ if ( false !== $statement ) {
+ $statement->bind_param( 'sis', $log_data['reason'], $log_data['rule_id'], $log_data['timestamp'] );
+ $statement->execute();
+
+ if ( $conn->insert_id > 100 ) {
+ $conn->query( "DELETE FROM {$table_prefix}jetpack_waf_blocklog ORDER BY log_id LIMIT 1" );
+ }
+ }
+ }
+
+ /**
+ * Connect to WordPress database.
+ */
+ private function connect_to_wordpress_db() {
+ if ( ! file_exists( JETPACK_WAF_WPCONFIG ) ) {
+ return;
+ }
+
+ require_once JETPACK_WAF_WPCONFIG;
+ $conn = new \mysqli( DB_HOST, DB_USER, DB_PASSWORD, DB_NAME ); // phpcs:ignore WordPress.DB.RestrictedClasses.mysql__mysqli
+
+ if ( $conn->connect_error ) {
+ error_log( 'Could not connect to the database:' . $conn->connect_error );
+ return null;
+ }
+
+ return $conn;
+ }
+
+ /**
+ * Redirect.
+ *
+ * @param string $rule_id Rule id.
+ * @param string $url Url.
+ */
+ public function redirect( $rule_id, $url ) {
+ error_log( "Jetpack WAF Redirected Request.\tRule:$rule_id\t$url" );
+ header( "Location: $url" );
+ exit;
+ }
+
+ /**
+ * Flag rule for removal.
+ *
+ * @param string $prop Prop.
+ * @param string $value Value.
+ */
+ public function flag_rule_for_removal( $prop, $value ) {
+ if ( 'id' === $prop ) {
+ $this->rules_to_remove['id'][ $value ] = true;
+ } else {
+ $this->rules_to_remove['tag'][ $value ] = true;
+ }
+ }
+
+ /**
+ * Flag target for removal.
+ *
+ * @param string $id_or_tag Id or tag.
+ * @param string $id_or_tag_value Id or tag value.
+ * @param string $name Name.
+ * @param string $prop Prop.
+ */
+ public function flag_target_for_removal( $id_or_tag, $id_or_tag_value, $name, $prop = null ) {
+ if ( null === $prop ) {
+ $this->targets_to_remove[ $id_or_tag ][ $id_or_tag_value ][ $name ] = true;
+ } else {
+ if (
+ ! isset( $this->targets_to_remove[ $id_or_tag ][ $id_or_tag_value ][ $name ] )
+ // if the entire target is already being removed then it would be redundant to remove a single property.
+ || true !== $this->targets_to_remove[ $id_or_tag ][ $id_or_tag_value ][ $name ]
+ ) {
+ $this->targets_to_remove[ $id_or_tag ][ $id_or_tag_value ][ $name ][] = $prop;
+ }
+ }
+ }
+
+ /**
+ * Get variable value.
+ *
+ * @param string $key Key.
+ */
+ public function get_var( $key ) {
+ return isset( $this->state[ $key ] )
+ ? $this->state[ $key ]
+ : '';
+ }
+
+ /**
+ * Set variable value.
+ *
+ * @param string $key Key.
+ * @param string $value Value.
+ */
+ public function set_var( $key, $value ) {
+ $this->state[ $key ] = $value;
+ }
+
+ /**
+ * Increment variable.
+ *
+ * @param string $key Key.
+ * @param mixed $value Value.
+ */
+ public function inc_var( $key, $value ) {
+ if ( ! isset( $this->state[ $key ] ) ) {
+ $this->state[ $key ] = 0;
+ }
+ $this->state[ $key ] += floatval( $value );
+ }
+
+ /**
+ * Decrement variable.
+ *
+ * @param string $key Key.
+ * @param mixed $value Value.
+ */
+ public function dec_var( $key, $value ) {
+ if ( ! isset( $this->state[ $key ] ) ) {
+ $this->state[ $key ] = 0;
+ }
+ $this->state[ $key ] -= floatval( $value );
+ }
+
+ /**
+ * Unset variable.
+ *
+ * @param string $key Key.
+ */
+ public function unset_var( $key ) {
+ unset( $this->state[ $key ] );
+ }
+
+ /**
+ * Meta.
+ *
+ * @param string $key Key.
+ * @param string $prop Prop.
+ */
+ public function meta( $key, $prop = false ) {
+ if ( ! isset( $this->metadata[ $key ] ) ) {
+ $value = null;
+ switch ( $key ) {
+ case 'headers':
+ $value = array();
+ foreach ( $_SERVER as $k => $v ) {
+ $k = strtolower( $k );
+ if ( 'http_' === substr( $k, 0, 5 ) ) {
+ $value[ $this->normalize_header_name( substr( $k, 5 ) ) ] = $v;
+ } elseif ( 'content_type' === $k ) {
+ $value['content-type'] = $v;
+ } elseif ( 'content_length' === $k ) {
+ $value['content-length'] = $v;
+ }
+ }
+ $value['content-type'] = ( ! isset( $value['content-type'] ) || '' === $value['content-type'] )
+ // default Content-Type per RFC 7231 section 3.1.5.5.
+ ? 'application/octet-stream'
+ : $value['content-type'];
+ $value['content-length'] = ( isset( $value['content-length'] ) && '' !== $value['content-length'] )
+ ? $value['content-length']
+ // if the content-length header is missing, default it to zero.
+ : '0';
+ break;
+ case 'remote_addr':
+ $value = '';
+ if ( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ) {
+ $value = wp_unslash( $_SERVER['HTTP_CLIENT_IP'] );
+ } elseif ( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) {
+ $value = wp_unslash( $_SERVER['HTTP_X_FORWARDED_FOR'] );
+ } elseif ( ! empty( $_SERVER['REMOTE_ADDR'] ) ) {
+ $value = wp_unslash( $_SERVER['REMOTE_ADDR'] );
+ }
+ break;
+ case 'request_method':
+ $value = empty( $_SERVER['REQUEST_METHOD'] )
+ ? 'GET'
+ : wp_unslash( $_SERVER['REQUEST_METHOD'] );
+ break;
+ case 'request_protocol':
+ $value = empty( $_SERVER['SERVER_PROTOCOL'] )
+ ? ( empty( $_SERVER['HTTPS'] ) ? 'HTTP' : 'HTTPS' )
+ : wp_unslash( $_SERVER['SERVER_PROTOCOL'] );
+ break;
+ case 'request_uri':
+ $value = isset( $_SERVER['REQUEST_URI'] )
+ ? wp_unslash( $_SERVER['REQUEST_URI'] )
+ : '';
+ break;
+ case 'request_uri_raw':
+ $value = ( isset( $_SERVER['https'] ) ? 'https://' : 'http://' ) . ( isset( $_SERVER['SERVER_NAME'] ) ? wp_unslash( $_SERVER['SERVER_NAME'] ) : '' ) . $this->meta( 'request_uri' );
+ break;
+ case 'request_filename':
+ $value = strtok(
+ isset( $_SERVER['REQUEST_URI'] )
+ ? wp_unslash( $_SERVER['REQUEST_URI'] )
+ : '',
+ '?'
+ );
+ break;
+ case 'request_line':
+ $value = sprintf(
+ '%s %s %s',
+ $this->meta( 'request_method' ),
+ $this->meta( 'request_uri' ),
+ $this->meta( 'request_protocol' )
+ );
+ break;
+ case 'request_basename':
+ $value = basename( $this->meta( 'request_filename' ) );
+ break;
+ case 'request_body':
+ $value = file_get_contents( 'php://input' );
+ break;
+ case 'query_string':
+ $value = isset( $_SERVER['QUERY_STRING'] ) ? wp_unslash( $_SERVER['QUERY_STRING'] ) : '';
+ }
+ $this->metadata[ $key ] = $value;
+ }
+
+ return false === $prop
+ ? $this->metadata[ $key ]
+ : ( isset( $this->metadata[ $key ][ $prop ] ) ? $this->metadata[ $key ][ $prop ] : '' );
+ }
+
+ /**
+ * State values.
+ *
+ * @param string $prefix Prefix.
+ */
+ private function state_values( $prefix ) {
+ $output = array();
+ $len = strlen( $prefix );
+ foreach ( $this->state as $k => $v ) {
+ if ( 0 === stripos( $k, $prefix ) ) {
+ $output[ substr( $k, $len ) ] = $v;
+ }
+ }
+
+ return $output;
+ }
+
+ /**
+ * Change a string to all lowercase and replace spaces and underscores with dashes.
+ *
+ * @param string $name Name.
+ * @return string
+ */
+ public function normalize_header_name( $name ) {
+ return str_replace( array( ' ', '_' ), '-', strtolower( $name ) );
+ }
+
+ /**
+ * Normalize targets.
+ *
+ * @param array $targets Targets.
+ */
+ public function normalize_targets( $targets ) {
+ $return = array();
+ foreach ( $targets as $k => $v ) {
+ $count_only = isset( $v['count'] );
+ $only = isset( $v['only'] ) ? $v['only'] : array();
+ $except = isset( $v['except'] ) ? $v['except'] : array();
+ $_k = strtolower( $k );
+ switch ( $_k ) {
+ case 'request_headers':
+ $only = array_map(
+ function ( $t ) {
+ return '/' === $t[0] ? $t : $this->normalize_header_name( $t );
+ },
+ $only
+ );
+ $except = array_map(
+ function ( $t ) {
+ return '/' === $t[0] ? $t : $this->normalize_header_name( $t );
+ },
+ $except
+ );
+ $this->normalize_array_target( $this->meta( 'headers' ), $only, $except, $k, $return, $count_only );
+ continue 2;
+ case 'request_headers_names':
+ $this->normalize_array_target( array_keys( $this->meta( 'headers' ) ), array(), array(), $k, $return, $count_only );
+ continue 2;
+ case 'request_method':
+ case 'request_protocol':
+ case 'request_uri':
+ case 'request_uri_raw':
+ case 'request_filename':
+ case 'remote_addr':
+ case 'request_basename':
+ case 'request_body':
+ case 'query_string':
+ case 'request_line':
+ $v = $this->meta( $_k );
+ break;
+ case 'tx':
+ case 'ip':
+ $this->normalize_array_target( $this->state_values( "$k." ), $only, $except, $k, $return, $count_only );
+ continue 2;
+ case 'request_cookies':
+ $this->normalize_array_target( $_COOKIE, $only, $except, $k, $return, $count_only );
+ continue 2;
+ case 'request_cookies_names':
+ $this->normalize_array_target( array_keys( $_COOKIE ), array(), array(), $k, $return, $count_only );
+ continue 2;
+ case 'args':
+ $this->normalize_array_target( $_REQUEST, $only, $except, $k, $return, $count_only );
+ continue 2;
+ case 'args_names':
+ $this->normalize_array_target( array_keys( $_REQUEST ), array(), array(), $k, $return, $count_only );
+ continue 2;
+ case 'args_get':
+ $this->normalize_array_target( $_GET, $only, $except, $k, $return, $count_only );
+ continue 2;
+ case 'args_get_names':
+ $this->normalize_array_target( array_keys( $_GET ), array(), array(), $k, $return, $count_only );
+ continue 2;
+ case 'args_post':
+ $this->normalize_array_target( $_POST, $only, $except, $k, $return, $count_only );
+ continue 2;
+ case 'args_post_names':
+ $this->normalize_array_target( array_keys( $_POST ), array(), array(), $k, $return, $count_only );
+ continue 2;
+ case 'files':
+ $names = array_map(
+ function ( $f ) {
+ return $f['name'];
+ },
+ $_FILES
+ );
+ $this->normalize_array_target( $names, $only, $except, $k, $return, $count_only );
+ continue 2;
+ case 'files_names':
+ $this->normalize_array_target( array_keys( $_FILES ), $only, $except, $k, $return, $count_only );
+ continue 2;
+ default:
+ var_dump( 'Unknown target', $k, $v );
+ exit;
+ }
+ $return[] = array(
+ 'name' => $k,
+ 'value' => $v,
+ 'source' => $k,
+ );
+ }
+
+ return $return;
+ }
+
+ /**
+ * Verifies is ip from request is in an array.
+ *
+ * @param array $array Array to verify ip against.
+ */
+ public function is_ip_in_array( $array ) {
+ $request = new Waf_Request();
+
+ $real_ip = $request->get_real_user_ip_address();
+
+ return in_array( $real_ip, $array, true );
+ }
+
+ /**
+ * Normalize array target.
+ *
+ * @param array $source Source.
+ * @param array $only Only.
+ * @param array $excl Excl.
+ * @param string $name Name.
+ * @param array $results Results.
+ * @param bool $count_only Count only.
+ */
+ private function normalize_array_target( $source, $only, $excl, $name, &$results, $count_only ) {
+ $output = array();
+ $has_only = isset( $only[0] );
+ $has_excl = isset( $excl[0] );
+
+ if ( $has_only ) {
+ foreach ( $only as $prop ) {
+ if ( isset( $source[ $prop ] ) && $this->key_matches( $prop, $only ) ) {
+ $output[ $prop ] = $source[ $prop ];
+ }
+ }
+ } else {
+ $output = $source;
+ }
+
+ if ( $has_excl ) {
+ foreach ( array_keys( $output ) as $k ) {
+ if ( $this->key_matches( $k, $excl ) ) {
+ unset( $output[ $k ] );
+ }
+ }
+ }
+
+ if ( $count_only ) {
+ $results[] = array(
+ 'name' => $name,
+ 'value' => count( $output ),
+ 'source' => '&' . $name,
+ );
+ } else {
+ foreach ( $output as $tk => $tv ) {
+ if ( is_array( $tv ) ) {
+ // flatten it so we get all the values considered
+ $flat_values = $this->array_flatten( $tv );
+ foreach ( $flat_values as $fv ) {
+ $results[] = array(
+ // force names to strings
+ // we don't care about the nested keys here, just the overall variable name
+ 'name' => '' . $tk,
+ 'value' => $fv,
+ 'source' => "$name:$tk",
+ );
+ }
+ } else {
+ $results[] = array(
+ // force names to strings
+ 'name' => '' . $tk,
+ 'value' => $tv,
+ 'source' => "$name:$tk",
+ );
+ }
+ }
+ }
+
+ return $results;
+ }
+
+ /**
+ * Basic array flatten with array_merge; no-op on non-array targets.
+ *
+ * @param array $source Array to flatten.
+ * @return array The flattened array.
+ */
+ private function array_flatten( $source ) {
+ if ( ! is_array( $source ) ) {
+ return $source;
+ }
+
+ $return = array();
+
+ foreach ( $source as $v ) {
+ if ( is_array( $v ) ) {
+ $return = array_merge( $return, $this->array_flatten( $v ) );
+ } else {
+ $return[] = $v;
+ }
+ }
+
+ return $return;
+ }
+
+ /**
+ * Key matches.
+ *
+ * @param string $input Input.
+ * @param array $patterns Patterns.
+ */
+ private function key_matches( $input, $patterns ) {
+ foreach ( $patterns as $p ) {
+ if ( '/' === $p[0] ) {
+ if ( 1 === preg_match( $p, $input ) ) {
+ return true;
+ }
+ } else {
+ if ( 0 === strcasecmp( $p, $input ) ) {
+ return true;
+ }
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Sanitize output generated from the request that was blocked.
+ *
+ * @param string $output Output to sanitize.
+ */
+ public function sanitize_output( $output ) {
+ $url_decoded_output = rawurldecode( $output );
+ $html_entities_output = htmlentities( $url_decoded_output, ENT_QUOTES, 'UTF-8' );
+ // @phpcs:disable Squiz.Strings.DoubleQuoteUsage.NotRequired
+ $escapers = array( "\\", "/", "\"", "\n", "\r", "\t", "\x08", "\x0c" );
+ $replacements = array( "\\\\", "\\/", "\\\"", "\\n", "\\r", "\\t", "\\f", "\\b" );
+ // @phpcs:enable Squiz.Strings.DoubleQuoteUsage.NotRequired
+
+ return( str_replace( $escapers, $replacements, $html_entities_output ) );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php
new file mode 100644
index 00000000..26e8f053
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php
@@ -0,0 +1,160 @@
+<?php
+/**
+ * Handles generation and deletion of the bootstrap for the standalone WAF mode.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+use Composer\InstalledVersions;
+use Exception;
+
+/**
+ * Handles the bootstrap.
+ */
+class Waf_Standalone_Bootstrap {
+
+ /**
+ * Ensures that constants are initialized if this class is used.
+ */
+ public function __construct() {
+ $this->guard_against_missing_abspath();
+ $this->initialize_constants();
+ }
+
+ /**
+ * Ensures that this class is not used unless we are in the right context.
+ *
+ * @return void
+ * @throws Exception If we are outside of WordPress.
+ */
+ private function guard_against_missing_abspath() {
+
+ if ( ! defined( 'ABSPATH' ) ) {
+ throw new Exception( 'Cannot generate the WAF bootstrap if we are not running in WordPress context.' );
+ }
+ }
+
+ /**
+ * Initializes the constants required for generating the bootstrap, if they have not been initialized yet.
+ *
+ * @return void
+ */
+ private function initialize_constants() {
+ Waf_Constants::initialize_constants();
+ }
+
+ /**
+ * Initialized the WP filesystem and serves as a mocking hook for tests.
+ *
+ * @return void
+ */
+ protected function initialize_filesystem() {
+ if ( ! function_exists( '\\WP_Filesystem' ) ) {
+ require_once ABSPATH . 'wp-admin/includes/file.php';
+ }
+
+ WP_Filesystem();
+ }
+
+ /**
+ * Finds the path to the autoloader, which can then be used to require the autoloader in the generated boostrap file.
+ *
+ * @return string|null
+ * @throws Exception In case the autoloader file can not be found.
+ */
+ private function locate_autoloader_file() {
+ global $jetpack_autoloader_loader;
+
+ $autoload_file = null;
+
+ // Try the Jetpack autoloader.
+ if ( isset( $jetpack_autoloader_loader ) ) {
+ $class_file = $jetpack_autoloader_loader->find_class_file( Waf_Runner::class );
+ if ( $class_file ) {
+ $autoload_file = dirname( dirname( dirname( dirname( dirname( $class_file ) ) ) ) ) . '/vendor/autoload.php';
+ }
+ }
+
+ // Try Composer's autoloader.
+ if ( null === $autoload_file
+ && is_callable( array( InstalledVersions::class, 'getInstallPath' ) )
+ && InstalledVersions::isInstalled( 'automattic/jetpack-waf' )
+ ) {
+ $package_file = InstalledVersions::getInstallPath( 'automattic/jetpack-waf' );
+ if ( substr( $package_file, -23 ) === '/automattic/jetpack-waf' ) {
+ $autoload_file = dirname( dirname( dirname( $package_file ) ) ) . '/vendor/autoload.php';
+ }
+ }
+
+ // Guess. First look for being in a `vendor/automattic/jetpack-waf/src/', then see if we're standalone with our own vendor dir.
+ if ( null === $autoload_file ) {
+ $autoload_file = dirname( dirname( dirname( dirname( __DIR__ ) ) ) ) . '/vendor/autoload.php';
+ if ( ! file_exists( $autoload_file ) ) {
+ $autoload_file = dirname( __DIR__ ) . '/vendor/autoload.php';
+ }
+ }
+
+ // Check that the determined file actually exists.
+ if ( ! file_exists( $autoload_file ) ) {
+ throw new Exception( 'Can not find autoloader, and the WAF standalone boostrap will not work without it.' );
+ }
+
+ return $autoload_file;
+ }
+
+ /**
+ * Gets the path to the bootstrap.php file.
+ *
+ * @return string The bootstrap.php file path.
+ */
+ public function get_bootstrap_file_path() {
+ return trailingslashit( JETPACK_WAF_DIR ) . 'bootstrap.php';
+ }
+
+ /**
+ * Generates the bootstrap file.
+ *
+ * @return string Absolute path to the bootstrap file.
+ * @throws Exception In case the file can not be written.
+ */
+ public function generate() {
+
+ $this->initialize_filesystem();
+
+ global $wp_filesystem;
+ if ( ! $wp_filesystem ) {
+ throw new Exception( 'Can not work without the file system being initialized.' );
+ }
+
+ $bootstrap_file = $this->get_bootstrap_file_path();
+ $mode_option = get_option( Waf_Runner::MODE_OPTION_NAME, false );
+ $share_data_option = get_option( Waf_Runner::SHARE_DATA_OPTION_NAME, false );
+
+ // phpcs:disable WordPress.PHP.DevelopmentFunctions
+ $code = "<?php\n"
+ . sprintf( "define( 'DISABLE_JETPACK_WAF', %s );\n", var_export( defined( 'DISABLE_JETPACK_WAF' ) && DISABLE_JETPACK_WAF, true ) )
+ . "if ( defined( 'DISABLE_JETPACK_WAF' ) && DISABLE_JETPACK_WAF ) return;\n"
+ . sprintf( "define( 'JETPACK_WAF_MODE', %s );\n", var_export( $mode_option ? $mode_option : 'silent', true ) )
+ . sprintf( "define( 'JETPACK_WAF_SHARE_DATA', %s );\n", var_export( $share_data_option, true ) )
+ . sprintf( "define( 'JETPACK_WAF_DIR', %s );\n", var_export( JETPACK_WAF_DIR, true ) )
+ . sprintf( "define( 'JETPACK_WAF_WPCONFIG', %s );\n", var_export( JETPACK_WAF_WPCONFIG, true ) )
+ . 'require_once ' . var_export( $this->locate_autoloader_file(), true ) . ";\n"
+ . 'include ' . var_export( dirname( __DIR__ ) . '/run.php', true ) . ";\n";
+ // phpcs:enable
+
+ if ( ! $wp_filesystem->is_dir( JETPACK_WAF_DIR ) ) {
+ if ( ! $wp_filesystem->mkdir( JETPACK_WAF_DIR ) ) {
+ throw new Exception( 'Failed creating WAF standalone bootstrap file directory: ' . JETPACK_WAF_DIR );
+ }
+ }
+
+ if ( ! $wp_filesystem->put_contents( $bootstrap_file, $code ) ) {
+ throw new Exception( 'Failed writing WAF standalone bootstrap file to: ' . $bootstrap_file );
+ }
+
+ return $bootstrap_file;
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php
new file mode 100644
index 00000000..a559394f
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php
@@ -0,0 +1,342 @@
+<?php
+/**
+ * Transforms for Jetpack Waf
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+/**
+ * Waf_Transforms class
+ */
+class Waf_Transforms {
+ /**
+ * Decode a Base64-encoded string.
+ *
+ * @param string $value value to be decoded.
+ * @return string
+ */
+ public function base64_decode( $value ) {
+ return base64_decode( $value );
+ }
+
+ /**
+ * Remove all characters that might escape a command line command
+ *
+ * @see https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual-%28v2.x%29#cmdLine
+ * @param string $value value to be escaped.
+ * @return string
+ */
+ public function cmd_line( $value ) {
+ return strtolower(
+ preg_replace(
+ '/\s+/',
+ ' ',
+ str_replace(
+ array( ',', ';' ),
+ ' ',
+ preg_replace(
+ '/\s+(?=[\/\(])/',
+ '',
+ str_replace(
+ array( '^', "'", '"', '\\' ),
+ '',
+ $value
+ )
+ )
+ )
+ )
+ );
+ }
+
+ /**
+ * Decode a SQL hex string.
+ *
+ * @example 414243 decodes to "ABC"
+ * @param string $value value to be decoded.
+ * @return string
+ */
+ public function sql_hex_decode( $value ) {
+ return preg_replace_callback(
+ '/0x[a-f0-9]+/i',
+ function ( $matches ) {
+ $str = substr( $matches[0], 2 );
+ if ( 0 !== strlen( $str ) % 2 ) {
+ $str = '0' . $str;
+ }
+ return hex2bin( $str );
+ },
+ $value
+ );
+ }
+
+ /**
+ * Encode a string using Base64 encoding.
+ *
+ * @param string $value value to be decoded.
+ * @return string
+ */
+ public function base64_encode( $value ) {
+ return base64_encode( $value );
+ }
+
+ /**
+ * Convert all whitespace characters to a space and remove any repeated spaces.
+ *
+ * @param string $value value to be converted.
+ * @return string
+ */
+ public function compress_whitespace( $value ) {
+ return preg_replace( '/\s+/', ' ', $value );
+ }
+
+ /**
+ * Encode string (possibly containing binary characters) by replacing each input byte with two hexadecimal characters.
+ *
+ * @param string $value value to be encoded.
+ * @return string
+ */
+ public function hex_encode( $value ) {
+ return bin2hex( $value );
+ }
+
+ /**
+ * Decode string that was previously encoded by hexEncode()
+ *
+ * @param string $value value to be decoded.
+ * @return string
+ */
+ public function hex_decode( $value ) {
+ return pack( 'H*', $value );
+ }
+
+ /**
+ * Decode the characters encoded as HTML entities.
+ *
+ * @param mixed $value value do be decoded.
+ * @return string
+ */
+ public function html_entity_decode( $value ) {
+ return html_entity_decode( $value );
+ }
+
+ /**
+ * Return the length of the input string.
+ *
+ * @param string $value input string.
+ * @return int
+ */
+ public function length( $value ) {
+ return strlen( $value );
+ }
+
+ /**
+ * Convert all characters to lowercase.
+ *
+ * @param string $value string to be converted.
+ * @return string
+ */
+ public function lowercase( $value ) {
+ return strtolower( $value );
+ }
+
+ /**
+ * Calculate an md5 hash for the given data
+ *
+ * @param mixed $value value to be hashed.
+ * @return string
+ */
+ public function md5( $value ) {
+ return md5( $value, true );
+ }
+
+ /**
+ * Removes multiple slashes, directory self-references, and directory back-references (except when at the beginning of the input) from input string.
+ *
+ * @param string $value value to be normalized.
+ * @return string
+ */
+ public function normalize_path( $value ) {
+ $parts = explode(
+ '/',
+ // replace any duplicate slashes with a single one.
+ preg_replace( '~/{2,}~', '/', $value )
+ );
+
+ $i = 0;
+ while ( isset( $parts[ $i ] ) ) {
+ switch ( $parts[ $i ] ) {
+ // If this folder is a self-reference, remove it.
+ case '..':
+ // If this folder is a backreference, remove it unless we're already at the root.
+ if ( isset( $parts[ $i - 1 ] ) && ! in_array( $parts[ $i - 1 ], array( '', '..' ), true ) ) {
+ array_splice( $parts, $i - 1, 2 );
+ $i--;
+ continue 2;
+ }
+ break;
+ case '.':
+ array_splice( $parts, $i, 1 );
+ continue 2;
+ }
+ $i++;
+ }
+
+ return implode( '/', $parts );
+ }
+
+ /**
+ * Convert backslash characters to forward slashes, and then normalize using `normalizePath`
+ *
+ * @param string $value to be normalized.
+ * @return string
+ */
+ public function normalize_path_win( $value ) {
+ return $this->normalize_path( str_replace( '\\', '/', $value ) );
+ }
+
+ /**
+ * Removes all NUL bytes from input.
+ *
+ * @param string $value value to be filtered.
+ * @return string
+ */
+ public function remove_nulls( $value ) {
+ return str_replace( "\x0", '', $value );
+ }
+
+ /**
+ * Remove all whitespace characters from input.
+ *
+ * @param string $value value to be filtered.
+ * @return string
+ */
+ public function remove_whitespace( $value ) {
+ return preg_replace( '/\s/', '', $value );
+ }
+
+ /**
+ * Replaces each occurrence of a C-style comment (/ * ... * /) with a single space.
+ * Unterminated comments will also be replaced with a space. However, a standalone termination of a comment (* /) will not be acted upon.
+ *
+ * @param string $value value to be filtered.
+ * @return string
+ */
+ public function replace_comments( $value ) {
+ $value = preg_replace( '~/\*.*?\*/|/\*.*?$~Ds', ' ', $value );
+ return explode( '/*', $value, 2 )[0];
+ }
+
+ /**
+ * Removes common comments chars (/ *, * /, --, #).
+ *
+ * @param string $value value to be filtered.
+ * @return string
+ */
+ public function remove_comments_char( $value ) {
+ return preg_replace( '~/*|*/|--|#|//~', '', $value );
+ }
+
+ /**
+ * Replaces each NUL byte in input with a space.
+ *
+ * @param string $value value to be filtered.
+ * @return string
+ */
+ public function replace_nulls( $value ) {
+ return str_replace( "\x0", ' ', $value );
+ }
+
+ /**
+ * Decode a URL-encoded input string.
+ *
+ * @param string $value value to be decoded.
+ * @return string
+ */
+ public function url_decode( $value ) {
+ return urldecode( $value );
+ }
+
+ /**
+ * Decode a URL-encoded input string.
+ *
+ * @param string $value value to be decoded.
+ * @return string
+ */
+ public function url_decode_uni( $value ) {
+ error_log( 'JETPACKWAF TRANSFORM NOT IMPLEMENTED: urlDecodeUni' );
+ return $value;
+ }
+
+ /**
+ * Decode a json encoded input string.
+ *
+ * @param string $value value to be decoded.
+ * @return string
+ */
+ public function js_decode( $value ) {
+ error_log( 'JETPACKWAF TRANSFORM NOT IMPLEMENTED: jsDecode' );
+ return $value;
+ }
+
+ /**
+ * Convert all characters to uppercase.
+ *
+ * @param string $value value to be encoded.
+ * @return string
+ */
+ public function uppercase( $value ) {
+ return strtoupper( $value );
+ }
+
+ /**
+ * Calculate a SHA1 hash from the input string.
+ *
+ * @param mixed $value value to be hashed.
+ * @return string
+ */
+ public function sha1( $value ) {
+ return sha1( $value, true );
+ }
+
+ /**
+ * Remove whitespace from the left side of the input string.
+ *
+ * @param string $value value to be trimmed.
+ * @return string
+ */
+ public function trim_left( $value ) {
+ return ltrim( $value );
+ }
+
+ /**
+ * Remove whitespace from the right side of the input string.
+ *
+ * @param string $value value to be trimmed.
+ * @return string
+ */
+ public function trim_right( $value ) {
+ return rtrim( $value );
+ }
+
+ /**
+ * Remove whitespace from both sides of the input string.
+ *
+ * @param string $value value to be trimmed.
+ * @return string
+ */
+ public function trim( $value ) {
+ return trim( $value );
+ }
+
+ /**
+ * Convert utf-8 characters to unicode characters
+ *
+ * @param string $value value to be encoded.
+ * @return string
+ */
+ public function utf8_to_unicode( $value ) {
+ return preg_replace( '/\\\u(?=[a-f0-9]{4})/', '%u', substr( json_encode( $value ), 1, -1 ) );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/functions.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/functions.php
new file mode 100644
index 00000000..a8112fd9
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/functions.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Utility functions for WAF.
+ *
+ * @package automattic/jetpack-waf
+ */
+
+namespace Automattic\Jetpack\Waf;
+
+/**
+ * A wrapper for WordPress's `wp_unslash()`.
+ *
+ * Even though PHP itself dropped the option to add slashes to superglobals a decade ago,
+ * WordPress still does it through some misguided extreme backwards compatibility. 🙄
+ *
+ * If WordPress's function exists, assume it needs to be called. If not, assume it doesn't.
+ *
+ * @param string|array $value String or array of data to unslash.
+ * @return string|array Possibly unslashed $value.
+ */
+function wp_unslash( $value ) {
+ if ( function_exists( '\\wp_unslash' ) ) {
+ return \wp_unslash( $value );
+ } else {
+ return $value;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/CHANGELOG.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/CHANGELOG.md
new file mode 100644
index 00000000..085c9a1b
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/CHANGELOG.md
@@ -0,0 +1,56 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [0.2.4] - 2022-05-31
+### Changed
+- Updated package dependencies. [#24475] [#24573]
+
+## [0.2.3] - 2022-05-24
+### Changed
+- Updated package dependencies. [#24449]
+
+## [0.2.2] - 2022-05-18
+### Changed
+- Updated package dependencies. [#23795] [#24153] [#24306] [#24372]
+
+## [0.2.1] - 2022-05-10
+### Added
+- Add missing JS dep on `core-js`. [#24288]
+
+### Changed
+- Updated package dependencies. [#24204]
+
+## [0.2.0] - 2022-05-04
+### Added
+- Add missing JavaScript dependencies. [#24096]
+
+### Changed
+- Moving from raw HTML tags to Jetpack components with ThemeProvider. [#24109]
+- Remove use of `pnpx` in preparation for pnpm 7.0. [#24210]
+- Updated package dependencies. [#24095] [#24198] [#24199] [#24200] [#24200] [#24230]
+
+### Deprecated
+- Moved the options class into Connection. [#24095]
+
+## [0.1.1] - 2022-04-26
+### Changed
+- Update package.json metadata.
+
+## 0.1.0 - 2022-04-19
+### Added
+- Added WordAds package for new UI work
+
+### Changed
+- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
+- Updated package dependencies.
+
+[0.2.4]: https://github.com/Automattic/jetpack-wordads/compare/v0.2.3...v0.2.4
+[0.2.3]: https://github.com/Automattic/jetpack-wordads/compare/v0.2.2...v0.2.3
+[0.2.2]: https://github.com/Automattic/jetpack-wordads/compare/v0.2.1...v0.2.2
+[0.2.1]: https://github.com/Automattic/jetpack-wordads/compare/v0.2.0...v0.2.1
+[0.2.0]: https://github.com/Automattic/jetpack-wordads/compare/v0.1.1...v0.2.0
+[0.1.1]: https://github.com/Automattic/jetpack-wordads/compare/v0.1.0...v0.1.1
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/LICENSE.txt
new file mode 100644
index 00000000..e82774c1
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/LICENSE.txt
@@ -0,0 +1,357 @@
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+===================================
+
+
+GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+ Preamble
+
+The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+The precise terms and conditions for copying, distribution and
+modification follow.
+
+GNU GENERAL PUBLIC LICENSE
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+a) You must cause the modified files to carry prominent notices
+stating that you changed the files and the date of any change.
+
+b) You must cause any work that you distribute or publish, that in
+whole or in part contains or is derived from the Program or any
+part thereof, to be licensed as a whole at no charge to all third
+parties under the terms of this License.
+
+c) If the modified program normally reads commands interactively
+when run, you must cause it, when started running for such
+interactive use in the most ordinary way, to print or display an
+announcement including an appropriate copyright notice and a
+notice that there is no warranty (or else, saying that you provide
+a warranty) and that users may redistribute the program under
+these conditions, and telling the user how to view a copy of this
+License. (Exception: if the Program itself is interactive but
+does not normally print such an announcement, your work based on
+the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+a) Accompany it with the complete corresponding machine-readable
+source code, which must be distributed under the terms of Sections
+1 and 2 above on a medium customarily used for software interchange; or,
+
+b) Accompany it with a written offer, valid for at least three
+years, to give any third party, for a charge no more than your
+cost of physically performing source distribution, a complete
+machine-readable copy of the corresponding source code, to be
+distributed under the terms of Sections 1 and 2 above on a medium
+customarily used for software interchange; or,
+
+c) Accompany it with the information you received as to the offer
+to distribute corresponding source code. (This alternative is
+allowed only for noncommercial distribution and only if you
+received the program in object code or executable form with such
+an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+<one line to give the program's name and a brief idea of what it does.>
+Copyright (C) <year> <name of author>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+Gnomovision version 69, Copyright (C) year name of author
+Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+This is free software, and you are welcome to redistribute it
+under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+`Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+<signature of Ty Coon>, 1 April 1989
+Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/SECURITY.md b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/SECURITY.md
new file mode 100644
index 00000000..b4b46c0e
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/SECURITY.md
@@ -0,0 +1,38 @@
+# Security Policy
+
+Full details of the Automattic Security Policy can be found on [automattic.com](https://automattic.com/security/).
+
+## Supported Versions
+
+Generally, only the latest version of Jetpack has continued support. If a critical vulnerability is found in the current version of Jetpack, we may opt to backport any patches to previous versions.
+
+## Reporting a Vulnerability
+
+[Jetpack](https://jetpack.com/) is an open-source plugin for WordPress. Our HackerOne program covers the plugin software, as well as a variety of related projects and infrastructure.
+
+**For responsible disclosure of security issues and to be eligible for our bug bounty program, please submit your report via the [HackerOne](https://hackerone.com/automattic) portal.**
+
+Our most critical targets are:
+
+* Jetpack and the Jetpack composer packages (all within this repo)
+* Jetpack.com -- the primary marketing site.
+* cloud.jetpack.com -- a management site.
+* wordpress.com -- the shared management site for both Jetpack and WordPress.com sites.
+
+For more targets, see the `In Scope` section on [HackerOne](https://hackerone.com/automattic).
+
+_Please note that the **WordPress software is a separate entity** from Automattic. Please report vulnerabilities for WordPress through [the WordPress Foundation's HackerOne page](https://hackerone.com/wordpress)._
+
+## Guidelines
+
+We're committed to working with security researchers to resolve the vulnerabilities they discover. You can help us by following these guidelines:
+
+* Follow [HackerOne's disclosure guidelines](https://www.hackerone.com/disclosure-guidelines).
+* Pen-testing Production:
+ * Please **setup a local environment** instead whenever possible. Most of our code is open source (see above).
+ * If that's not possible, **limit any data access/modification** to the bare minimum necessary to reproduce a PoC.
+ * **_Don't_ automate form submissions!** That's very annoying for us, because it adds extra work for the volunteers who manage those systems, and reduces the signal/noise ratio in our communication channels.
+ * To be eligible for a bounty, all of these guidelines must be followed.
+* Be Patient - Give us a reasonable time to correct the issue before you disclose the vulnerability.
+
+We also expect you to comply with all applicable laws. You're responsible to pay any taxes associated with your bounties.
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/babel.config.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/babel.config.js
new file mode 100644
index 00000000..0f0c1a89
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/babel.config.js
@@ -0,0 +1 @@
+module.exports = require( './tools/babel.config' );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.asset.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.asset.php
new file mode 100644
index 00000000..8f930200
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.asset.php
@@ -0,0 +1 @@
+<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-data', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '412aa8cdab3ae61782d3');
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.css
new file mode 100644
index 00000000..59fc6eba
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.css
@@ -0,0 +1 @@
+.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-right:48px}h2.dops-card-title{font-size:rem(20px)}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;position:absolute;right:16px;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.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)}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;left:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__switch:hover{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{left:16px}.form-toggle:checked:not(:disabled)+.form-toggle__switch:hover{background:#78dcfa}.form-toggle:disabled+span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__switch:after{left:8px}.jp-wordads-dashboard-wrap{align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin:0 auto;width:100%}.jp-wordads-dashboard-row{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:calc(100% - 32px)}@media(min-width:600px){.jp-wordads-dashboard-row{grid-template-columns:repeat(8,1fr);margin:0 18px;width:calc(100% - 36px)}}@media(min-width:960px){.jp-wordads-dashboard-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px;width:calc(100% - 48px)}}.jp-wordads-dashboard-row .sm-col-span-1{grid-column-end:span 1}.jp-wordads-dashboard-row .sm-col-span-2{grid-column-end:span 2}.jp-wordads-dashboard-row .sm-col-span-3{grid-column-end:span 3}.jp-wordads-dashboard-row .sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.jp-wordads-dashboard-row .md-col-span-1{grid-column-end:span 1}.jp-wordads-dashboard-row .md-col-span-2{grid-column-end:span 2}.jp-wordads-dashboard-row .md-col-span-3{grid-column-end:span 3}.jp-wordads-dashboard-row .md-col-span-4{grid-column-end:span 4}.jp-wordads-dashboard-row .md-col-span-5{grid-column-end:span 5}.jp-wordads-dashboard-row .md-col-span-6{grid-column-end:span 6}.jp-wordads-dashboard-row .md-col-span-7{grid-column-end:span 7}.jp-wordads-dashboard-row .md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.jp-wordads-dashboard-row .lg-col-span-1{grid-column-end:span 1}.jp-wordads-dashboard-row .lg-col-span-2{grid-column-end:span 2}.jp-wordads-dashboard-row .lg-col-span-3{grid-column-end:span 3}.jp-wordads-dashboard-row .lg-col-span-4{grid-column-end:span 4}.jp-wordads-dashboard-row .lg-col-span-5{grid-column-end:span 5}.jp-wordads-dashboard-row .lg-col-span-6{grid-column-end:span 6}.jp-wordads-dashboard-row .lg-col-span-7{grid-column-end:span 7}.jp-wordads-dashboard-row .lg-col-span-8{grid-column-end:span 8}.jp-wordads-dashboard-row .lg-col-span-9{grid-column-end:span 9}.jp-wordads-dashboard-row .lg-col-span-10{grid-column-end:span 10}.jp-wordads-dashboard-row .lg-col-span-11{grid-column-end:span 11}.jp-wordads-dashboard-row .lg-col-span-12{grid-column-end:span 12}.jp-wordads-dashboard-row .lg-col-span-0{display:none}}@media(max-width:960px){.jp-wordads-dashboard-row .md-col-span-0{display:none}}@media(max-width:600px){.jp-wordads-dashboard-row .sm-col-span-0{display:none}.jp-wordads-dashboard-row .sm-col-span-1{display:block}}.jp-form-wordads-settings-group{width:100%}.jp-form-wordads-settings-group .dops-card{box-shadow:none;padding:4em 0 0}.jp-form-wordads-settings-group .form-toggle__label{margin:0}.jp-form-wordads-settings-group__toggle.is-instant-search{margin-top:4em}.jp-form-wordads-settings-group__toggle .jp-form-wordads-settings-group__toggle-container{display:flex}@media(max-width:960px){.jp-form-wordads-settings-group__toggle .jp-form-wordads-settings-group__toggle-container{justify-content:center}}.form-toggle__label-content{font-size:1.5em;font-weight:600;line-height:1.167}.form-toggle__label-content span{font-weight:400}.jp-form-wordads-settings-group__toggle-description{margin-top:1em}p.jp-form-wordads-settings-group__toggle-explanation{font-size:1em;font-weight:400;line-height:1.5;margin-bottom:0;margin-top:0}.jp-form-wordads-settings-group-buttons{margin-top:1.5em}.jp-form-wordads-settings-group-buttons__button{align-items:center;border-color:#000;display:flex;font-size:1em;justify-content:center;min-height:2.5em;padding:.5em 1.5em;text-align:center}.jp-form-wordads-settings-group-buttons__button.is-customize-search{background-color:#000;color:#fff}.jp-form-wordads-settings-group-buttons__button:disabled,.jp-form-wordads-settings-group-buttons__button[disabled]{background-color:#dcdcde;border-color:#dcdcde;color:#a7aaad;cursor:not-allowed}.jp-form-wordads-settings-group-buttons__button.is-widgets-editor{background:transparent;color:#000}.jp-form-wordads-settings-group-buttons__button.is-widgets-editor:disabled,.jp-form-wordads-settings-group-buttons__button.is-widgets-editor[disabled]{background:transparent;color:#a7aaad}.form-toggle.is-wordads-admin.is-compact+.form-toggle__switch{background:#fff;border:2px solid #000;border-radius:.75em;height:1.5em;width:3em}.form-toggle.is-wordads-admin.is-compact+.form-toggle__switch:after,.form-toggle.is-wordads-admin.is-compact+.form-toggle__switch:before{background-color:#000;height:.9375em;width:.9375em}.form-toggle.is-wordads-admin.is-compact+.form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle.is-wordads-admin.is-compact:checked+.form-toggle__switch{background:#069e08;border-color:#069e08}.form-toggle.is-wordads-admin.is-compact:checked+.form-toggle__switch:after{background-color:#fff;left:1.5em}.form-toggle.is-wordads-admin.is-compact.is-toggling+.form-toggle__switch:after,.form-toggle.is-wordads-admin.is-compact.is-toggling+.form-toggle__switch:before{left:1.5em}.form-toggle.is-wordads-admin.is-compact.is-toggling:checked+.form-toggle__switch:after,.form-toggle.is-wordads-admin.is-compact.is-toggling:checked+.form-toggle__switch:before{left:0}.jp-wordads-dashboard-cut{border:2px solid #069e08;border-radius:4px;display:block;margin:2em 0;padding:1em 4em 1em 1.5em;position:relative;text-decoration:none}.jp-wordads-dashboard-cut span{display:block}.jp-wordads-dashboard-cut span:last-of-type{font-weight:600}.jp-wordads-dashboard-cut:focus span:last-of-type,.jp-wordads-dashboard-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:2px}.jp-wordads-dashboard-cut:focus:after,.jp-wordads-dashboard-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-wordads-dashboard-cut:after{color:#069e08;content:"→";font-size:1.5em;font-weight:600;position:absolute;right:1.5em;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-wordads-dashboard-row .form-toggle__switch-container.sm-col-span-1{display:flex;justify-content:center;padding-top:4px}#jp-plugin-container{min-height:100vh}.dops-notice{animation:appear .3s ease-in-out;background:#414141;border-radius:3px;box-sizing:border-box;color:#fff;display:flex;line-height:1.5;margin-bottom:24px;position:relative;width:100%}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#3582c4}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{align-items:baseline;align-self:stretch;background:#747474;border-radius:3px 0 0 3px;color:#fff;display:flex;flex-shrink:0;justify-content:center;width:47px}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media(min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content.dops-notice__content{flex-grow:1;font-size:12px;padding:13px}@media(min-width:481px){.dops-notice__content.dops-notice__content{font-size:14px}}.dops-notice__content.dops-notice__content a{color:#fff;text-decoration:underline}.dops-notice__content.dops-notice__content a:hover,.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{color:#fff;text-decoration:underline}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-left:0}.dops-notice__text li{margin-left:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-left:.428em}.dops-notice__dismiss{cursor:pointer;flex-shrink:0;padding:12px 12px 0}.dops-notice__dismiss .gridicon{height:18px;width:18px}@media(min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{height:24px;width:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{align-items:center;color:#bbb;cursor:pointer;display:flex;font-size:12px;font-weight:400;padding:13px;text-decoration:none;white-space:nowrap}@media(min-width:481px){a.dops-notice__action{align-items:center;border-radius:0;flex-grow:0;flex-shrink:1;font-size:14px;margin:0 0 0 auto;padding:13px 16px}a.dops-notice__action .gridicon{height:24px;width:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{height:18px;margin-left:8px;opacity:.7;width:18px}.dops-notice.is-compact{border-radius:3px;display:inline-flex;flex-direction:row;flex-wrap:nowrap;line-height:1.5;margin:0;min-height:20px;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;width:auto}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{height:18px;margin:0;width:18px}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{align-self:center;flex:none;margin:0 8px 0 0;padding:0;position:relative}.dops-notice.is-compact .dops-notice__dismiss .gridicon{height:18px;width:18px}.dops-notice.is-compact a.dops-notice__action{align-self:center;background:transparent;display:inline-block;font-size:12px;margin:0 0 0 16px;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{height:14px;margin-left:8px;opacity:1;vertical-align:sub;width:14px}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{bottom:0;left:0;pointer-events:none;position:fixed;right:0;text-align:right;top:auto;z-index:179}@media(min-width:661px){.global-notices{bottom:auto;left:auto;max-width:calc(100% - 68px);right:16px;top:63px}}@media(min-width:961px){.global-notices{max-width:calc(100% - 208px);right:24px;top:71px}}@media(min-width:1041px){.global-notices{max-width:calc(100% - 224px);right:32px}}.global-notices .dops-notice{border-radius:0;box-shadow:0 2px 5px rgba(0,0,0,.2),0 0 56px rgba(0,0,0,.15);flex-wrap:nowrap;margin-bottom:0;pointer-events:auto;text-align:left}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0}@media(min-width:661px){.global-notices .dops-notice{border-radius:3px;display:flex;margin-bottom:24px;overflow:hidden}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:3px 0 0 3px}.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:13px 16px}}.global-notices .dops-notice__dismiss{flex-shrink:0}@media(min-width:661px){.global-notices .dops-notice__dismiss{padding:13px 16px 0}}#jp-wordads-dashboard{color:#000;font-size:16px}#jp-wordads-dashboard *{box-sizing:border-box}#jp-wordads-dashboard .jp-wordads-dashboard-page-loading-spinner{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}@media(max-width:600px){#jp-wordads-dashboard{font-size:14px}}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.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 transparent;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%}.sexr0jUxC1jVixdKiDnC{margin-left:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-left:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1128px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;max-width:var(--max-container-width);width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-left:5px}.cAbGtJDGgLubucBnz7vM{background-color:var(--jp-white)} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.js
new file mode 100644
index 00000000..9e338888
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.js
@@ -0,0 +1,2 @@
+/*! For license information please see jp-wordads-dashboard.js.LICENSE.txt */
+!function(){var t={8294:function(t){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},2402:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(this,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},5235:function(t,e){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var i=typeof n;if("string"===i||"number"===i)t.push(n);else if(Array.isArray(n)){if(n.length){var c=o.apply(null,n);c&&t.push(c)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&t.push(s);else t.push(n.toString())}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(n=function(){return o}.apply(e,[]))||(t.exports=n)}()},6198:function(t,e,n){var r=n(1210),o=n(5006),i=n(7232),c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a function")}},1938:function(t,e,n){var r=n(1210),o=n(5006),i=r.String,c=r.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw c("Can't set "+i(t)+" as a prototype")}},8987:function(t,e,n){var r=n(8875),o=n(42),i=n(2016),c=r("unscopables"),s=Array.prototype;null==s[c]&&i.f(s,c,{configurable:!0,value:o(null)}),t.exports=function(t){s[c][t]=!0}},3794:function(t,e,n){var r=n(1210),o=n(2702),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},8845:function(t,e,n){var r=n(4929),o=n(645),i=n(5570),c=function(t){return function(e,n,c){var s,a=r(e),u=i(a),l=o(c,u);if(t&&n!=n){for(;u>l;)if((s=a[l++])!=s)return!0}else for(;u>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},237:function(t,e,n){var r=n(3715),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},5996:function(t,e,n){var r=n(1210),o=n(5165),i=n(5006),c=n(237),s=n(8875)("toStringTag"),a=r.Object,u="Arguments"==c(function(){return arguments}());t.exports=o?c:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?n:u?c(e):"Object"==(r=c(e))&&i(e.callee)?"Arguments":r}},7398:function(t,e,n){var r=n(3715),o=Error,i=r("".replace),c=String(o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,a=s.test(c);t.exports=function(t,e){if(a&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,s,"");return t}},1184:function(t,e,n){var r=n(4242),o=n(3496),i=n(4225),c=n(2016);t.exports=function(t,e,n){for(var s=o(e),a=c.f,u=i.f,l=0;l<s.length;l++){var p=s[l];r(t,p)||n&&r(n,p)||a(t,p,u(e,p))}}},5506:function(t,e,n){var r=n(7778),o=n(2016),i=n(9487);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},9487:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},1568:function(t,e,n){var r=n(1210),o=n(5006),i=n(5506),c=n(6717),s=n(3071);t.exports=function(t,e,n,a){var u=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet,d=a&&void 0!==a.name?a.name:e;return o(n)&&c(n,d,a),t===r?(l?t[e]=n:s(e,n),t):(u?!p&&t[e]&&(l=!0):delete t[e],l?t[e]=n:i(t,e,n),t)}},7778:function(t,e,n){var r=n(4258);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4716:function(t,e,n){var r=n(1210),o=n(2702),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},1455:function(t,e,n){var r=n(2265);t.exports=r("navigator","userAgent")||""},6475:function(t,e,n){var r,o,i=n(1210),c=n(1455),s=i.process,a=i.Deno,u=s&&s.versions||a&&a.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},9864:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1500:function(t,e,n){var r=n(4258),o=n(9487);t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},8657:function(t,e,n){var r=n(1210),o=n(4225).f,i=n(5506),c=n(1568),s=n(3071),a=n(1184),u=n(9656);t.exports=function(t,e){var n,l,p,d,f,h=t.target,g=t.global,m=t.stat;if(n=g?r:m?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in e){if(d=e[l],p=t.noTargetGet?(f=o(n,l))&&f.value:n[l],!u(g?l:h+(m?".":"#")+l,t.forced)&&void 0!==p){if(typeof d==typeof p)continue;a(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),c(n,l,d,t)}}},4258:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},9115:function(t,e,n){var r=n(5200),o=Function.prototype,i=o.apply,c=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?c.bind(i):function(){return c.apply(i,arguments)})},5200:function(t,e,n){var r=n(4258);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4264:function(t,e,n){var r=n(5200),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},232:function(t,e,n){var r=n(7778),o=n(4242),i=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),a=s&&"something"===function(){}.name,u=s&&(!r||r&&c(i,"name").configurable);t.exports={EXISTS:s,PROPER:a,CONFIGURABLE:u}},3715:function(t,e,n){var r=n(5200),o=Function.prototype,i=o.bind,c=o.call,s=r&&i.bind(c,c);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return c.apply(t,arguments)}}},2265:function(t,e,n){var r=n(1210),o=n(5006),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},9722:function(t,e,n){var r=n(6198);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},1210:function(t){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof window&&window)||function(){return this}()||Function("return this")()},4242:function(t,e,n){var r=n(3715),o=n(2103),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3953:function(t){t.exports={}},2872:function(t,e,n){var r=n(2265);t.exports=r("document","documentElement")},4165:function(t,e,n){var r=n(7778),o=n(4258),i=n(4716);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},600:function(t,e,n){var r=n(1210),o=n(3715),i=n(4258),c=n(237),s=r.Object,a=o("".split);t.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==c(t)?a(t,""):s(t)}:s},8088:function(t,e,n){var r=n(5006),o=n(2702),i=n(2025);t.exports=function(t,e,n){var c,s;return i&&r(c=e.constructor)&&c!==n&&o(s=c.prototype)&&s!==n.prototype&&i(t,s),t}},3667:function(t,e,n){var r=n(3715),o=n(5006),i=n(4434),c=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},7793:function(t,e,n){var r=n(2702),o=n(5506);t.exports=function(t,e){r(e)&&"cause"in e&&o(t,"cause",e.cause)}},2406:function(t,e,n){var r,o,i,c=n(4564),s=n(1210),a=n(3715),u=n(2702),l=n(5506),p=n(4242),d=n(4434),f=n(9116),h=n(3953),g="Object already initialized",m=s.TypeError,v=s.WeakMap;if(c||d.state){var y=d.state||(d.state=new v),b=a(y.get),j=a(y.has),w=a(y.set);r=function(t,e){if(j(y,t))throw new m(g);return e.facade=t,w(y,t,e),e},o=function(t){return b(y,t)||{}},i=function(t){return j(y,t)}}else{var x=f("state");h[x]=!0,r=function(t,e){if(p(t,x))throw new m(g);return e.facade=t,l(t,x,e),e},o=function(t){return p(t,x)?t[x]:{}},i=function(t){return p(t,x)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}}}},5006:function(t){t.exports=function(t){return"function"==typeof t}},9656:function(t,e,n){var r=n(4258),o=n(5006),i=/#|\.prototype\./,c=function(t,e){var n=a[s(t)];return n==l||n!=u&&(o(e)?r(e):!!e)},s=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=c.data={},u=c.NATIVE="N",l=c.POLYFILL="P";t.exports=c},2702:function(t,e,n){var r=n(5006);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},4832:function(t){t.exports=!1},664:function(t,e,n){var r=n(1210),o=n(2265),i=n(5006),c=n(3387),s=n(8264),a=r.Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&c(e.prototype,a(t))}},5570:function(t,e,n){var r=n(8464);t.exports=function(t){return r(t.length)}},6717:function(t,e,n){var r=n(4258),o=n(5006),i=n(4242),c=n(2016).f,s=n(232).CONFIGURABLE,a=n(3667),u=n(2406),l=u.enforce,p=u.get,d=!r((function(){return 8!==c((function(){}),"length",{value:8}).length})),f=String(String).split("String"),h=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||s&&t.name!==e)&&c(t,"name",{value:e,configurable:!0}),d&&n&&i(n,"arity")&&t.length!==n.arity&&c(t,"length",{value:n.arity});var r=l(t);return i(r,"source")||(r.source=f.join("string"==typeof e?e:"")),t};Function.prototype.toString=h((function(){return o(this)&&p(this).source||a(this)}),"toString")},9868:function(t,e,n){var r=n(6475),o=n(4258);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},4564:function(t,e,n){var r=n(1210),o=n(5006),i=n(3667),c=r.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},1377:function(t,e,n){var r=n(2910);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},42:function(t,e,n){var r,o=n(3794),i=n(3238),c=n(9864),s=n(3953),a=n(2872),u=n(4716),l=n(9116),p=l("IE_PROTO"),d=function(){},f=function(t){return"<script>"+t+"</"+"script>"},h=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&r?h(r):((e=u("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F):h(r);for(var n=c.length;n--;)delete g.prototype[c[n]];return g()};s[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d.prototype=o(t),n=new d,d.prototype=null,n[p]=t):n=g(),void 0===e?n:i.f(n,e)}},3238:function(t,e,n){var r=n(7778),o=n(2879),i=n(2016),c=n(3794),s=n(4929),a=n(5321);e.f=r&&!o?Object.defineProperties:function(t,e){c(t);for(var n,r=s(e),o=a(e),u=o.length,l=0;u>l;)i.f(t,n=o[l++],r[n]);return t}},2016:function(t,e,n){var r=n(1210),o=n(7778),i=n(4165),c=n(2879),s=n(3794),a=n(8901),u=r.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";e.f=o?c?function(t,e,n){if(s(t),e=a(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&h in n&&!n.writable){var r=p(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:f in n?n.configurable:r.configurable,enumerable:d in n?n.enumerable:r.enumerable,writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(s(t),e=a(e),s(n),i)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},4225:function(t,e,n){var r=n(7778),o=n(4264),i=n(9532),c=n(9487),s=n(4929),a=n(8901),u=n(4242),l=n(4165),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=s(t),e=a(e),l)try{return p(t,e)}catch(t){}if(u(t,e))return c(!o(i.f,t,e),t[e])}},6112:function(t,e,n){var r=n(6166),o=n(9864).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},5603:function(t,e){e.f=Object.getOwnPropertySymbols},3387:function(t,e,n){var r=n(3715);t.exports=r({}.isPrototypeOf)},6166:function(t,e,n){var r=n(3715),o=n(4242),i=n(4929),c=n(8845).indexOf,s=n(3953),a=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&a(l,n);for(;e.length>u;)o(r,n=e[u++])&&(~c(l,n)||a(l,n));return l}},5321:function(t,e,n){var r=n(6166),o=n(9864);t.exports=Object.keys||function(t){return r(t,o)}},9532:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2025:function(t,e,n){var r=n(3715),o=n(3794),i=n(1938);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return o(n),i(r),e?t(n,r):n.__proto__=r,n}}():void 0)},896:function(t,e,n){var r=n(1210),o=n(4264),i=n(5006),c=n(2702),s=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!c(r=o(n,t)))return r;if(i(n=t.valueOf)&&!c(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!c(r=o(n,t)))return r;throw s("Can't convert object to primitive value")}},3496:function(t,e,n){var r=n(2265),o=n(3715),i=n(6112),c=n(5603),s=n(3794),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=c.f;return n?a(e,n(t)):e}},9780:function(t,e,n){var r=n(2016).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},5262:function(t,e,n){var r=n(1210).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},3071:function(t,e,n){var r=n(1210),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9116:function(t,e,n){var r=n(1843),o=n(3705),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},4434:function(t,e,n){var r=n(1210),o=n(3071),i="__core-js_shared__",c=r[i]||o(i,{});t.exports=c},1843:function(t,e,n){var r=n(4832),o=n(4434);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.4",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"})},645:function(t,e,n){var r=n(8249),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},4929:function(t,e,n){var r=n(600),o=n(5262);t.exports=function(t){return r(o(t))}},8249:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){var r=+t;return r!=r||0===r?0:(r>0?n:e)(r)}},8464:function(t,e,n){var r=n(8249),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},2103:function(t,e,n){var r=n(1210),o=n(5262),i=r.Object;t.exports=function(t){return i(o(t))}},357:function(t,e,n){var r=n(1210),o=n(4264),i=n(2702),c=n(664),s=n(9722),a=n(896),u=n(8875),l=r.TypeError,p=u("toPrimitive");t.exports=function(t,e){if(!i(t)||c(t))return t;var n,r=s(t,p);if(r){if(void 0===e&&(e="default"),n=o(r,t,e),!i(n)||c(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},8901:function(t,e,n){var r=n(357),o=n(664);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},5165:function(t,e,n){var r={};r[n(8875)("toStringTag")]="z",t.exports="[object z]"===String(r)},2910:function(t,e,n){var r=n(1210),o=n(5996),i=r.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},7232:function(t,e,n){var r=n(1210).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},3705:function(t,e,n){var r=n(3715),o=0,i=Math.random(),c=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},8264:function(t,e,n){var r=n(9868);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2879:function(t,e,n){var r=n(7778),o=n(4258);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8875:function(t,e,n){var r=n(1210),o=n(1843),i=n(4242),c=n(3705),s=n(9868),a=n(8264),u=o("wks"),l=r.Symbol,p=l&&l.for,d=a?l:l&&l.withoutSetter||c;t.exports=function(t){if(!i(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&i(l,t)?u[t]=l[t]:u[t]=a&&p?p(e):d(e)}return u[t]}},6266:function(t,e,n){"use strict";var r=n(2265),o=n(4242),i=n(5506),c=n(3387),s=n(2025),a=n(1184),u=n(9780),l=n(8088),p=n(1377),d=n(7793),f=n(7398),h=n(1500),g=n(7778),m=n(4832);t.exports=function(t,e,n,v){var y="stackTraceLimit",b=v?2:1,j=t.split("."),w=j[j.length-1],x=r.apply(null,j);if(x){var k=x.prototype;if(!m&&o(k,"cause")&&delete k.cause,!n)return x;var _=r("Error"),C=e((function(t,e){var n=p(v?e:t,void 0),r=v?new x(t):new x;return void 0!==n&&i(r,"message",n),h&&i(r,"stack",f(r.stack,2)),this&&c(k,this)&&l(r,this,C),arguments.length>b&&d(r,arguments[b]),r}));if(C.prototype=k,"Error"!==w?s?s(C,_):a(C,_,{name:!0}):g&&y in x&&(u(C,x,y),u(C,x,"prepareStackTrace")),a(C,x),!m)try{k.name!==w&&i(k,"name",w),k.constructor=C}catch(t){}return C}}},3679:function(t,e,n){"use strict";var r=n(8657),o=n(8845).includes,i=n(4258),c=n(8987);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),c("includes")},875:function(t,e,n){var r=n(8657),o=n(1210),i=n(9115),c=n(6266),s="WebAssembly",a=o.WebAssembly,u=7!==Error("e",{cause:7}).cause,l=function(t,e){var n={};n[t]=c(t,e,u),r({global:!0,arity:1,forced:u},n)},p=function(t,e){if(a&&a[t]){var n={};n[t]=c("WebAssembly."+t,e,u),r({target:s,stat:!0,arity:1,forced:u},n)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),p("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),p("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),p("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},951:function(t,e,n){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(r++,"%c"===t&&(o=r))})),e.splice(o,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},e.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=n(1741)(e);const{formatters:r}=t.exports;r.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},1741:function(t,e,n){t.exports=function(t){function e(t){let n,o,i,c=null;function s(...t){if(!s.enabled)return;const r=s,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let c=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";c++;const i=e.formatters[o];if("function"==typeof i){const e=t[c];n=i.call(r,e),t.splice(c,1),c--}return n})),e.formatArgs.call(r,t);(r.log||e.log).apply(r,t)}return s.namespace=t,s.useColors=e.useColors(),s.color=e.selectColor(t),s.extend=r,s.destroy=e.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==c?c:(o!==e.namespaces&&(o=e.namespaces,i=e.enabled(t)),i),set:t=>{c=t}}),"function"==typeof e.init&&e.init(s),s}function r(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(o),...e.skips.map(o).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(3171),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}},4299:function(t,e,n){var r=n(9738)(n(9159),"DataView");t.exports=r},9504:function(t,e,n){var r=n(52),o=n(9224),i=n(5417),c=n(7488),s=n(3236);function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=c,a.prototype.set=s,t.exports=a},3646:function(t,e,n){var r=n(2047),o=n(2348),i=n(5082),c=n(7671),s=n(4148);function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=c,a.prototype.set=s,t.exports=a},7406:function(t,e,n){var r=n(9738)(n(9159),"Map");t.exports=r},4474:function(t,e,n){var r=n(1873),o=n(603),i=n(8339),c=n(5213),s=n(1052);function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=c,a.prototype.set=s,t.exports=a},8911:function(t,e,n){var r=n(9738)(n(9159),"Promise");t.exports=r},4508:function(t,e,n){var r=n(9738)(n(9159),"Set");t.exports=r},8918:function(t,e,n){var r=n(3646),o=n(580),i=n(473),c=n(6991),s=n(388),a=n(6786);function u(t){var e=this.__data__=new r(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=c,u.prototype.has=s,u.prototype.set=a,t.exports=u},4924:function(t,e,n){var r=n(9159).Symbol;t.exports=r},9651:function(t,e,n){var r=n(9159).Uint8Array;t.exports=r},7769:function(t,e,n){var r=n(9738)(n(9159),"WeakMap");t.exports=r},2665:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},9270:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},5922:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var c=t[n];e(c,n,t)&&(i[o++]=c)}return i}},8407:function(t,e,n){var r=n(2536),o=n(4968),i=n(6259),c=n(9410),s=n(2979),a=n(9960),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),l=!n&&o(t),p=!n&&!l&&c(t),d=!n&&!l&&!p&&a(t),f=n||l||p||d,h=f?r(t.length,String):[],g=h.length;for(var m in t)!e&&!u.call(t,m)||f&&("length"==m||p&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||h.push(m);return h}},4729:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},8615:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},80:function(t,e,n){var r=n(4316),o=n(31),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var c=t[e];i.call(t,e)&&o(c,n)&&(void 0!==n||e in t)||r(t,e,n)}},9702:function(t,e,n){var r=n(31);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},3724:function(t,e,n){var r=n(4222),o=n(6703);t.exports=function(t,e){return t&&r(e,o(e),t)}},8805:function(t,e,n){var r=n(4222),o=n(6067);t.exports=function(t,e){return t&&r(e,o(e),t)}},4316:function(t,e,n){var r=n(1153);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},8871:function(t,e,n){var r=n(8918),o=n(9270),i=n(80),c=n(3724),s=n(8805),a=n(9162),u=n(3920),l=n(2378),p=n(2321),d=n(9852),f=n(2454),h=n(5947),g=n(8197),m=n(6041),v=n(9435),y=n(6259),b=n(9410),j=n(6579),w=n(731),x=n(4634),k=n(6703),_=n(6067),C="[object Arguments]",E="[object Function]",S="[object Object]",O={};O[C]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[S]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[E]=O["[object WeakMap]"]=!1,t.exports=function t(e,n,N,z,A,M){var P,F=1&n,T=2&n,Z=4&n;if(N&&(P=A?N(e,z,A,M):N(e)),void 0!==P)return P;if(!w(e))return e;var I=y(e);if(I){if(P=g(e),!F)return u(e,P)}else{var D=h(e),V=D==E||"[object GeneratorFunction]"==D;if(b(e))return a(e,F);if(D==S||D==C||V&&!A){if(P=T||V?{}:v(e),!F)return T?p(e,s(P,e)):l(e,c(P,e))}else{if(!O[D])return A?e:{};P=m(e,D,F)}}M||(M=new r);var L=M.get(e);if(L)return L;M.set(e,P),x(e)?e.forEach((function(r){P.add(t(r,n,N,r,e,M))})):j(e)&&e.forEach((function(r,o){P.set(o,t(r,n,N,o,e,M))}));var $=I?void 0:(Z?T?f:d:T?_:k)(e);return o($||e,(function(r,o){$&&(r=e[o=r]),i(P,o,t(r,n,N,o,e,M))})),P}},6205:function(t,e,n){var r=n(731),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},8248:function(t,e,n){var r=n(8615),o=n(8574);t.exports=function t(e,n,i,c,s){var a=-1,u=e.length;for(i||(i=o),s||(s=[]);++a<u;){var l=e[a];n>0&&i(l)?n>1?t(l,n-1,i,c,s):r(s,l):c||(s[s.length]=l)}return s}},3691:function(t,e,n){var r=n(608),o=n(5446);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},9223:function(t,e,n){var r=n(8615),o=n(6259);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},530:function(t,e,n){var r=n(4924),o=n(8792),i=n(8004),c=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?o(t):i(t)}},8017:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},5189:function(t,e,n){var r=n(530),o=n(1642);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},1794:function(t,e,n){var r=n(5947),o=n(1642);t.exports=function(t){return o(t)&&"[object Map]"==r(t)}},9190:function(t,e,n){var r=n(5095),o=n(5164),i=n(731),c=n(3178),s=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,p=u.hasOwnProperty,d=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?d:s).test(c(t))}},4145:function(t,e,n){var r=n(5947),o=n(1642);t.exports=function(t){return o(t)&&"[object Set]"==r(t)}},5783:function(t,e,n){var r=n(530),o=n(65),i=n(1642),c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c["[object Arguments]"]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c["[object Map]"]=c["[object Number]"]=c["[object Object]"]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!c[r(t)]}},7798:function(t,e,n){var r=n(7238),o=n(3104),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},6008:function(t,e,n){var r=n(731),o=n(7238),i=n(5722),c=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var s in t)("constructor"!=s||!e&&c.call(t,s))&&n.push(s);return n}},1802:function(t,e,n){var r=n(8213),o=n(5790);t.exports=function(t,e){return r(t,e,(function(e,n){return o(t,n)}))}},8213:function(t,e,n){var r=n(3691),o=n(7419),i=n(608);t.exports=function(t,e,n){for(var c=-1,s=e.length,a={};++c<s;){var u=e[c],l=r(t,u);n(l,u)&&o(a,i(u,t),l)}return a}},4113:function(t,e,n){var r=n(5885),o=n(1838),i=n(5490);t.exports=function(t,e){return i(o(t,e,r),t+"")}},7419:function(t,e,n){var r=n(80),o=n(608),i=n(2979),c=n(731),s=n(5446);t.exports=function(t,e,n,a){if(!c(t))return t;for(var u=-1,l=(e=o(e,t)).length,p=l-1,d=t;null!=d&&++u<l;){var f=s(e[u]),h=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return t;if(u!=p){var g=d[f];void 0===(h=a?a(g,f,d):void 0)&&(h=c(g)?g:i(e[u+1])?[]:{})}r(d,f,h),d=d[f]}return t}},2552:function(t,e,n){var r=n(6636),o=n(1153),i=n(5885),c=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=c},6658:function(t){t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}},2536:function(t){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},3042:function(t,e,n){var r=n(4924),o=n(4729),i=n(6259),c=n(6260),s=r?r.prototype:void 0,a=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(c(e))return a?a.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},718:function(t){t.exports=function(t){return function(e){return t(e)}}},1086:function(t,e,n){var r=n(608),o=n(1892),i=n(4025),c=n(5446);t.exports=function(t,e){return e=r(e,t),null==(t=i(t,e))||delete t[c(o(e))]}},608:function(t,e,n){var r=n(6259),o=n(4703),i=n(9091),c=n(6700);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(c(t))}},2367:function(t,e,n){var r=n(9651);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},9162:function(t,e,n){t=n.nmd(t);var r=n(9159),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,c=i&&i.exports===o?r.Buffer:void 0,s=c?c.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}},3868:function(t,e,n){var r=n(2367);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},6860:function(t){var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},5508:function(t,e,n){var r=n(4924),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},7259:function(t,e,n){var r=n(2367);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},3920:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},4222:function(t,e,n){var r=n(80),o=n(4316);t.exports=function(t,e,n,i){var c=!n;n||(n={});for(var s=-1,a=e.length;++s<a;){var u=e[s],l=i?i(n[u],t[u],u,n,t):void 0;void 0===l&&(l=t[u]),c?o(n,u,l):r(n,u,l)}return n}},2378:function(t,e,n){var r=n(4222),o=n(2864);t.exports=function(t,e){return r(t,o(t),e)}},2321:function(t,e,n){var r=n(4222),o=n(2759);t.exports=function(t,e){return r(t,o(t),e)}},5126:function(t,e,n){var r=n(9159)["__core-js_shared__"];t.exports=r},7236:function(t,e,n){var r=n(4113),o=n(1550);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,c=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(c=t.length>3&&"function"==typeof c?(i--,c):void 0,s&&o(n[0],n[1],s)&&(c=i<3?void 0:c,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,c)}return e}))}},4951:function(t,e,n){var r=n(8566);t.exports=function(t){return r(t)?void 0:t}},1153:function(t,e,n){var r=n(9738),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},61:function(t,e,n){var r=n(6263),o=n(1838),i=n(5490);t.exports=function(t){return i(o(t,void 0,r),t+"")}},6150:function(t){var e="object"==typeof window&&window&&window.Object===Object&&window;t.exports=e},9852:function(t,e,n){var r=n(9223),o=n(2864),i=n(6703);t.exports=function(t){return r(t,i,o)}},2454:function(t,e,n){var r=n(9223),o=n(2759),i=n(6067);t.exports=function(t){return r(t,i,o)}},8914:function(t,e,n){var r=n(999);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},9738:function(t,e,n){var r=n(9190),o=n(6029);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},7181:function(t,e,n){var r=n(6756)(Object.getPrototypeOf,Object);t.exports=r},8792:function(t,e,n){var r=n(4924),o=Object.prototype,i=o.hasOwnProperty,c=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=c.call(t);return r&&(e?t[s]=n:delete t[s]),o}},2864:function(t,e,n){var r=n(5922),o=n(3095),i=Object.prototype.propertyIsEnumerable,c=Object.getOwnPropertySymbols,s=c?function(t){return null==t?[]:(t=Object(t),r(c(t),(function(e){return i.call(t,e)})))}:o;t.exports=s},2759:function(t,e,n){var r=n(8615),o=n(7181),i=n(2864),c=n(3095),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:c;t.exports=s},5947:function(t,e,n){var r=n(4299),o=n(7406),i=n(8911),c=n(4508),s=n(7769),a=n(530),u=n(3178),l="[object Map]",p="[object Promise]",d="[object Set]",f="[object WeakMap]",h="[object DataView]",g=u(r),m=u(o),v=u(i),y=u(c),b=u(s),j=a;(r&&j(new r(new ArrayBuffer(1)))!=h||o&&j(new o)!=l||i&&j(i.resolve())!=p||c&&j(new c)!=d||s&&j(new s)!=f)&&(j=function(t){var e=a(t),n="[object Object]"==e?t.constructor:void 0,r=n?u(n):"";if(r)switch(r){case g:return h;case m:return l;case v:return p;case y:return d;case b:return f}return e}),t.exports=j},6029:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},6467:function(t,e,n){var r=n(608),o=n(4968),i=n(6259),c=n(2979),s=n(65),a=n(5446);t.exports=function(t,e,n){for(var u=-1,l=(e=r(e,t)).length,p=!1;++u<l;){var d=a(e[u]);if(!(p=null!=t&&n(t,d)))break;t=t[d]}return p||++u!=l?p:!!(l=null==t?0:t.length)&&s(l)&&c(d,l)&&(i(t)||o(t))}},52:function(t,e,n){var r=n(6772);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},9224:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},5417:function(t,e,n){var r=n(6772),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},7488:function(t,e,n){var r=n(6772),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},3236:function(t,e,n){var r=n(6772);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},8197:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},6041:function(t,e,n){var r=n(2367),o=n(3868),i=n(6860),c=n(5508),s=n(7259);t.exports=function(t,e,n){var a=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new a(+t);case"[object DataView]":return o(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(t);case"[object RegExp]":return i(t);case"[object Symbol]":return c(t)}}},9435:function(t,e,n){var r=n(6205),o=n(7181),i=n(7238);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},8574:function(t,e,n){var r=n(4924),o=n(4968),i=n(6259),c=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(c&&t&&t[c])}},2979:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},1550:function(t,e,n){var r=n(31),o=n(5847),i=n(2979),c=n(731);t.exports=function(t,e,n){if(!c(n))return!1;var s=typeof e;return!!("number"==s?o(n)&&i(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},4703:function(t,e,n){var r=n(6259),o=n(6260),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(c.test(t)||!i.test(t)||null!=e&&t in Object(e))}},999:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5164:function(t,e,n){var r,o=n(5126),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},7238:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},2047:function(t){t.exports=function(){this.__data__=[],this.size=0}},2348:function(t,e,n){var r=n(9702),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},5082:function(t,e,n){var r=n(9702);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},7671:function(t,e,n){var r=n(9702);t.exports=function(t){return r(this.__data__,t)>-1}},4148:function(t,e,n){var r=n(9702);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},1873:function(t,e,n){var r=n(9504),o=n(3646),i=n(7406);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},603:function(t,e,n){var r=n(8914);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},8339:function(t,e,n){var r=n(8914);t.exports=function(t){return r(this,t).get(t)}},5213:function(t,e,n){var r=n(8914);t.exports=function(t){return r(this,t).has(t)}},1052:function(t,e,n){var r=n(8914);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},9370:function(t,e,n){var r=n(6650);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},6772:function(t,e,n){var r=n(9738)(Object,"create");t.exports=r},3104:function(t,e,n){var r=n(6756)(Object.keys,Object);t.exports=r},5722:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},3098:function(t,e,n){t=n.nmd(t);var r=n(6150),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,c=i&&i.exports===o&&r.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=s},8004:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},6756:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},1838:function(t,e,n){var r=n(2665),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,c=-1,s=o(i.length-e,0),a=Array(s);++c<s;)a[c]=i[e+c];c=-1;for(var u=Array(e+1);++c<e;)u[c]=i[c];return u[e]=n(a),r(t,this,u)}}},4025:function(t,e,n){var r=n(3691),o=n(6658);t.exports=function(t,e){return e.length<2?t:r(t,o(e,0,-1))}},9159:function(t,e,n){var r=n(6150),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},5490:function(t,e,n){var r=n(2552),o=n(121)(r);t.exports=o},121:function(t){var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var o=e(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},580:function(t,e,n){var r=n(3646);t.exports=function(){this.__data__=new r,this.size=0}},473:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},6991:function(t){t.exports=function(t){return this.__data__.get(t)}},388:function(t){t.exports=function(t){return this.__data__.has(t)}},6786:function(t,e,n){var r=n(3646),o=n(7406),i=n(4474);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var c=n.__data__;if(!o||c.length<199)return c.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(c)}return n.set(t,e),this.size=n.size,this}},9091:function(t,e,n){var r=n(9370),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,c=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=c},5446:function(t,e,n){var r=n(6260);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},3178:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},2515:function(t,e,n){var r=n(80),o=n(4222),i=n(7236),c=n(5847),s=n(7238),a=n(6703),u=Object.prototype.hasOwnProperty,l=i((function(t,e){if(s(e)||c(e))o(e,a(e),t);else for(var n in e)u.call(e,n)&&r(t,n,e[n])}));t.exports=l},6636:function(t){t.exports=function(t){return function(){return t}}},31:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6263:function(t,e,n){var r=n(8248);t.exports=function(t){return(null==t?0:t.length)?r(t,1):[]}},5790:function(t,e,n){var r=n(8017),o=n(6467);t.exports=function(t,e){return null!=t&&o(t,e,r)}},5885:function(t){t.exports=function(t){return t}},4968:function(t,e,n){var r=n(5189),o=n(1642),i=Object.prototype,c=i.hasOwnProperty,s=i.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(t){return o(t)&&c.call(t,"callee")&&!s.call(t,"callee")};t.exports=a},6259:function(t){var e=Array.isArray;t.exports=e},5847:function(t,e,n){var r=n(5095),o=n(65);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},9410:function(t,e,n){t=n.nmd(t);var r=n(9159),o=n(2773),i=e&&!e.nodeType&&e,c=i&&t&&!t.nodeType&&t,s=c&&c.exports===i?r.Buffer:void 0,a=(s?s.isBuffer:void 0)||o;t.exports=a},5095:function(t,e,n){var r=n(530),o=n(731);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},65:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6579:function(t,e,n){var r=n(1794),o=n(718),i=n(3098),c=i&&i.isMap,s=c?o(c):r;t.exports=s},731:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},1642:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},8566:function(t,e,n){var r=n(530),o=n(7181),i=n(1642),c=Function.prototype,s=Object.prototype,a=c.toString,u=s.hasOwnProperty,l=a.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==l}},4634:function(t,e,n){var r=n(4145),o=n(718),i=n(3098),c=i&&i.isSet,s=c?o(c):r;t.exports=s},6260:function(t,e,n){var r=n(530),o=n(1642);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},9960:function(t,e,n){var r=n(5783),o=n(718),i=n(3098),c=i&&i.isTypedArray,s=c?o(c):r;t.exports=s},6703:function(t,e,n){var r=n(8407),o=n(7798),i=n(5847);t.exports=function(t){return i(t)?r(t):o(t)}},6067:function(t,e,n){var r=n(8407),o=n(6008),i=n(5847);t.exports=function(t){return i(t)?r(t,!0):o(t)}},1892:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},6650:function(t,e,n){var r=n(4474);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var c=t.apply(this,r);return n.cache=i.set(o,c)||i,c};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},6697:function(t){t.exports=function(){}},8520:function(t,e,n){var r=n(4729),o=n(8871),i=n(1086),c=n(608),s=n(4222),a=n(4951),u=n(61),l=n(2454),p=u((function(t,e){var n={};if(null==t)return n;var u=!1;e=r(e,(function(e){return e=c(e,t),u||(u=e.length>1),e})),s(t,l(t),n),u&&(n=o(n,7,a));for(var p=e.length;p--;)i(n,e[p]);return n}));t.exports=p},1962:function(t,e,n){var r=n(1802),o=n(61)((function(t,e){return null==t?{}:r(t,e)}));t.exports=o},3095:function(t){t.exports=function(){return[]}},2773:function(t){t.exports=function(){return!1}},6700:function(t,e,n){var r=n(3042);t.exports=function(t){return null==t?"":r(t)}},5348:function(t,e,n){var r=n(6700),o=0;t.exports=function(t){var e=++o;return r(t)+e}},1494:function(t,e){"use strict";e.Z={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},511:function(t,e){"use strict";e.Z={section:"cAbGtJDGgLubucBnz7vM"}},5785:function(){},9054:function(){},3080:function(t,e){"use strict";e.Z={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smCols:"4",mdCols:"8",lgCols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},8730:function(t,e){"use strict";e.Z={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},1683:function(){},3171:function(t){var e=1e3,n=60*e,r=60*n,o=24*r,i=7*o,c=365.25*o;function s(t,e,n,r){var o=e>=1.5*n;return Math.round(t/n)+" "+r+(o?"s":"")}t.exports=function(t,a){a=a||{};var u=typeof t;if("string"===u&&t.length>0)return function(t){if((t=String(t)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!s)return;var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*c;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(t);if("number"===u&&isFinite(t))return a.long?function(t){var i=Math.abs(t);if(i>=o)return s(t,i,o,"day");if(i>=r)return s(t,i,r,"hour");if(i>=n)return s(t,i,n,"minute");if(i>=e)return s(t,i,e,"second");return t+" ms"}(t):function(t){var i=Math.abs(t);if(i>=o)return Math.round(t/o)+"d";if(i>=r)return Math.round(t/r)+"h";if(i>=n)return Math.round(t/n)+"m";if(i>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},469:function(t,e,n){"use strict";var r=n(758);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,c){if(c!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5162:function(t,e,n){t.exports=n(469)()},758:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7556:function(t,e,n){"use strict";var r=n(3713);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,c){if(c!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5844:function(t,e,n){t.exports=n(7556)()},3713:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6975:function(t,e,n){"use strict";var r=n(951),o=n.n(r),i=n(2819);const c=o()("dops:analytics");let s,a;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const u={initialize:function(t,e,n){u.setUser(t,e),u.setSuperProps(n),u.identifyUser()},setGoogleAnalyticsEnabled:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=t,this.googleAnalyticsKey=e},setMcAnalyticsEnabled:function(t){this.mcAnalyticsEnabled=t},setUser:function(t,e){a={ID:t,username:e}},setSuperProps:function(t){s=t},assignSuperProps:function(t){s=(0,i.assign)(s,t)},mc:{bumpStat:function(t,e){const n=function(t,e){let n="";if("object"==typeof t){for(const e in t)n+="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t[e]);c("Bumping stats %o",t)}else n="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e),c('Bumping stat "%s" in group "%s"',e,t);return n}(t,e);u.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(t,e){const n=function(t,e){let n="";if("object"==typeof t){for(const e in t)n+="&"+encodeURIComponent(e)+"="+encodeURIComponent(t[e]);c("Built stats %o",t)}else n="&"+encodeURIComponent(t)+"="+encodeURIComponent(e),c('Built stat "%s" in group "%s"',e,t);return n}(t,e);u.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(t,e){u.tracks.recordPageView(t),u.ga.recordPageView(t,e)}},purchase:{record:function(t,e,n,r,o,i,c){u.ga.recordPurchase(t,e,n,r,o,i,c)}},tracks:{recordEvent:function(t,e){e=e||{},0===t.indexOf("akismet_")||0===t.indexOf("jetpack_")?(s&&(c("- Super Props: %o",s),e=(0,i.assign)(e,s)),c('Record event "%s" called with props %s',t,JSON.stringify(e)),window._tkq.push(["recordEvent",t,e])):c('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(t){const e="object"==typeof t?t:{target:t};u.tracks.recordEvent("jetpack_wpa_click",e)},recordPageView:function(t){u.tracks.recordEvent("akismet_page_view",{path:t})},setOptOut:function(t){c("Pushing setOptOut: %o",t),window._tkq.push(["setOptOut",t])}},ga:{initialized:!1,initialize:function(){let t={};u.ga.initialized||(a&&(t={userId:"u-"+a.ID}),window.ga("create",this.googleAnalyticsKey,"auto",t),u.ga.initialized=!0)},recordPageView:function(t,e){u.ga.initialize(),c("Recording Page View ~ [URL: "+t+"] [Title: "+e+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",t),window.ga("send",{hitType:"pageview",page:t,title:e}))},recordEvent:function(t,e,n,r){u.ga.initialize();let o="Recording Event ~ [Category: "+t+"] [Action: "+e+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),c(o),this.googleAnalyticsEnabled&&window.ga("send","event",t,e,n,r)},recordPurchase:function(t,e,n,r,o,i,c){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:t,revenue:r,currency:c}),window.ga("ecommerce:addItem",{id:t,name:e,sku:n,price:o,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){a&&window._tkq.push(["identifyUser",a.ID,a.username])},setProperties:function(t){window._tkq.push(["setProperties",t])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};e.Z=u},4743:function(t,e,n){"use strict";n(875);var r=n(2819),o=n(6483),i=n(1132);function c(t){class e extends Error{constructor(){super(...arguments),this.name=t}}return e}const s=c("JsonParseError"),a=c("JsonParseAfterRedirectError"),u=c("Api404Error"),l=c("Api404AfterRedirectError"),p=c("FetchNetworkError");const d=new function(t,e){let n=t,c={"X-WP-Nonce":e},s={credentials:"same-origin",headers:c},a={method:"post",credentials:"same-origin",headers:(0,r.assign)({},c,{"Content-type":"application/json"})},u=function(t){const e=t.split("?"),n=e.length>1?e[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),e[0]+"?"+r.join("&")};const l={setApiRoot(t){n=t},setApiNonce(t){c={"X-WP-Nonce":t},s={credentials:"same-origin",headers:c},a={method:"post",credentials:"same-origin",headers:(0,r.assign)({},c,{"Content-type":"application/json"})}},setCacheBusterCallback:t=>{u=t},registerSite:(t,e)=>{const r={registration_nonce:t,no_iframe:!0};return(0,i.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,i.jetpackConfigGet)("consumer_slug")),null!==e&&(r.redirect_uri=e),d(`${n}jetpack/v4/connection/register`,a,{body:JSON.stringify(r)}).then(f).then(h)},fetchAuthorizationUrl:t=>p((0,o.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:t}),s).then(f).then(h),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,s).then(h),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,s).then(h),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,s).then(f).then(h),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,s).then(h),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,s).then(f).then(h),updateUserTrackingSettings:t=>d(`${n}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(t)}).then(f).then(h),disconnectSite:()=>d(`${n}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(f).then(h),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,s).then(f).then(h),unlinkUser:()=>d(`${n}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(f).then(h),reconnect:()=>d(`${n}jetpack/v4/connection/reconnect`,a).then(f).then(h),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,s).then(f).then(h),setHasSeenWCConnectionModal:()=>d(`${n}jetpack/v4/seen-wc-connection-modal`,a).then(f).then(h),fetchModules:()=>p(`${n}jetpack/v4/module/all`,s).then(f).then(h),fetchModule:t=>p(`${n}jetpack/v4/module/${t}`,s).then(f).then(h),activateModule:t=>d(`${n}jetpack/v4/module/${t}/active`,a,{body:JSON.stringify({active:!0})}).then(f).then(h),deactivateModule:t=>d(`${n}jetpack/v4/module/${t}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(t,e)=>d(`${n}jetpack/v4/module/${t}`,a,{body:JSON.stringify(e)}).then(f).then(h),updateSettings:t=>d(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(t)}).then(f).then(h),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,s).then(f).then(h),resetOptions:t=>d(`${n}jetpack/v4/options/${t}`,a,{body:JSON.stringify({reset:!0})}).then(f).then(h),activateVaultPress:()=>d(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(f).then(h),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,s).then(f).then(h),installPlugin:(t,e)=>{const r={slug:t,status:"active"};return e&&(r.source=e),d(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify(r)}).then(f).then(h)},activateAkismet:()=>d(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(f).then(h),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,s).then(f).then(h),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,s).then(f).then(h),checkAkismetKeyTyped:t=>d(`${n}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:t})}).then(f).then(h),fetchStatsData:t=>p(function(t){let e=`${n}jetpack/v4/module/stats/data`;-1!==e.indexOf("?")?e+=`&range=${encodeURIComponent(t)}`:e+=`?range=${encodeURIComponent(t)}`;return e}(t),s).then(f).then(h).then(g),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,s).then(f).then(h),getPlans:()=>p(`${n}jetpack/v4/plans`,s).then(f).then(h),fetchSettings:()=>p(`${n}jetpack/v4/settings`,s).then(f).then(h),updateSetting:t=>d(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(t)}).then(f).then(h),fetchSiteData:()=>p(`${n}jetpack/v4/site`,s).then(f).then(h).then((t=>JSON.parse(t.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,s).then(f).then(h).then((t=>JSON.parse(t.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,s).then(f).then(h),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,s).then(f).then(h).then((t=>JSON.parse(t.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,s).then(f).then(h).then((t=>JSON.parse(t.data))),fetchSiteDiscount:()=>p(`${n}jetpack/v4/site/discount`,s).then(f).then(h).then((t=>t.data)),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,s).then(f).then(h),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,s).then(f).then(h),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,s).then(f).then(h),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,s).then(f).then(h),fetchRecommendationsConditional:()=>p(`${n}jetpack/v4/recommendations/conditional`,s).then(f).then(h),saveRecommendationsData:t=>d(`${n}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:t})}).then(f),fetchProducts:()=>p(`${n}jetpack/v4/products`,s).then(f).then(h),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,s).then(f).then(h).then((t=>JSON.parse(t.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,s).then(f).then(h).then((t=>JSON.parse(t.data))),dismissJetpackNotice:t=>d(`${n}jetpack/v4/notice/${t}`,a,{body:JSON.stringify({dismissed:!0})}).then(f).then(h),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,s).then(f).then(h),fetchIntroOffers:()=>p(`${n}jetpack/v4/intro-offers`,s).then(f).then(h),fetchVerifySiteGoogleStatus:t=>p(null!==t?`${n}jetpack/v4/verify-site/google/${t}`:`${n}jetpack/v4/verify-site/google`,s).then(f).then(h),verifySiteGoogle:t=>d(`${n}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:t})}).then(f).then(h),sendMobileLoginEmail:()=>d(`${n}jetpack/v4/mobile/send-login-email`,a).then(f).then(h),submitSurvey:t=>d(`${n}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(t)}).then(f).then(h),saveSetupQuestionnaire:t=>d(`${n}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(t)}).then(f).then(h),updateLicensingError:t=>d(`${n}jetpack/v4/licensing/error`,a,{body:JSON.stringify(t)}).then(f).then(h),updateLicenseKey:t=>d(`${n}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:t})}).then(f).then(h),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,s).then(f).then(h),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,s).then(f).then(h),updateLicensingActivationNoticeDismiss:t=>d(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:t})}).then(f).then(h),updateRecommendationsStep:t=>d(`${n}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:t})}).then(f),confirmIDCSafeMode:()=>d(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(f),startIDCFresh:t=>d(`${n}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:t})}).then(f).then(h),migrateIDC:()=>d(`${n}jetpack/v4/identity-crisis/migrate`,a).then(f),attachLicenses:t=>d(`${n}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:t})}).then(f).then(h),fetchSearchPlanInfo:()=>p(`${n}jetpack/v4/search/plan`,s).then(f).then(h),fetchSearchSettings:()=>p(`${n}jetpack/v4/search/settings`,s).then(f).then(h),updateSearchSettings:t=>d(`${n}jetpack/v4/search/settings`,a,{body:JSON.stringify(t)}).then(f).then(h),fetchSearchStats:()=>p(`${n}jetpack/v4/search/stats`,s).then(f).then(h),fetchWafSettings:()=>p(`${n}jetpack/v4/waf`,s).then(f).then(h),fetchWordAdsSettings:()=>p(`${n}jetpack/v4/wordads/settings`,s).then(f).then(h),updateWordAdsSettings:t=>d(`${n}jetpack/v4/wordads/settings`,a,{body:JSON.stringify(t)}),fetchSearchPricing:()=>p(`${n}jetpack/v4/search/pricing`,s).then(f).then(h)};function p(t,e){return fetch(u(t),e)}function d(t,e,n){return fetch(t,(0,r.assign)({},e,n)).catch(m)}function g(t){return t.general&&void 0===t.general.response||t.week&&void 0===t.week.response||t.month&&void 0===t.month.response?t:{}}(0,r.assign)(this,l)};function f(t){return t.status>=200&&t.status<300?t:404===t.status?new Promise((()=>{throw t.redirected?new l(t.redirected):new u})):t.json().catch((t=>g(t))).then((e=>{const n=new Error(`${e.message} (Status ${t.status})`);throw n.response=e,n.name="ApiError",n}))}function h(t){return t.json().catch((e=>g(e,t.redirected,t.url)))}function g(t,e,n){throw e?new a(n):new s}function m(){throw new p}e.ZP=d},1163:function(t,e,n){"use strict";var r=n(9196),o=n.n(r),i=n(5736),c=n(5844),s=n.n(c),a=n(5235),u=n.n(a),l=n(1494),p=n(2392),d=n(1202),f=n(8218),h=n(2939);const __=i.__,g=t=>{const{children:e,moduleName:n,moduleNameHref:r,a8cLogoHref:i,showHeader:c,showFooter:s,showBackground:a,header:g}=t,m=u()(l.Z["admin-page"],{[l.Z.background]:a});return o().createElement("div",{className:m},c&&o().createElement(f.Z,{horizontalSpacing:5},o().createElement(h.Z,null,g||o().createElement(d.Z,null))),o().createElement(f.Z,{fluid:!0,horizontalSpacing:0},o().createElement(h.Z,null,e)),s&&o().createElement(f.Z,{horizontalSpacing:5},o().createElement(h.Z,null,o().createElement(p.Z,{moduleName:n,a8cLogoHref:i,moduleNameHref:r}))))};g.defaultProps={moduleName:__("Jetpack","jetpack-wordads"),showHeader:!0,header:null,showFooter:!0,showBackground:!0},g.propTypes={a8cLogoHref:s().string,moduleName:s().string,showHeader:s().bool,header:s().node,showFooter:s().bool,moduleNameHref:s().string,showBackground:s().bool},e.Z=g},8038:function(t,e,n){"use strict";var r=n(9196),o=n.n(r),i=n(511);e.Z=t=>{const{children:e}=t;return o().createElement("div",{className:i.Z.section},e)}},207:function(t,e,n){"use strict";var r=n(2402),o=n.n(r),i=n(9196),c=n.n(i),s=n(5235),a=n.n(s),u=n(5736),l=n(5844),p=n.n(l);const __=u.__,d=t=>{const{title:e,height:n,className:r,...i}=t;return c().createElement("svg",o()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:a()("jp-automattic-byline-logo",r)},i),c().createElement("title",{id:"jp-automattic-byline-logo-title"},e),c().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),c().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),c().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))};d.defaultProps={title:__("An Automattic Airline","jetpack-wordads"),height:7,className:""},d.propTypes={title:p().string,height:p().number,className:p().string},e.Z=d},900:function(t,e,n){"use strict";var r=n(8294),o=n.n(r),i=n(9196),c=n.n(i),s=n(5736);n(5785);const __=s.__;class a extends i.Component{needsOffset(t,e){return["gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(t)>=0&&e%18==0}getSVGTitle(t){if("title"in this.props)return this.props.title?c().createElement("title",null,this.props.title):null;switch(t){default:return null;case"gridicons-audio":return c().createElement("title",null,__("Has audio.","jetpack-wordads"));case"gridicons-calendar":return c().createElement("title",null,__("Is an event.","jetpack-wordads"));case"gridicons-cart":return c().createElement("title",null,__("Is a product.","jetpack-wordads"));case"chevron-down":return c().createElement("title",null,__("Show filters","jetpack-wordads"));case"gridicons-comment":return c().createElement("title",null,__("Matching comment.","jetpack-wordads"));case"gridicons-cross":return c().createElement("title",null,__("Close.","jetpack-wordads"));case"gridicons-filter":return c().createElement("title",null,__("Toggle search filters.","jetpack-wordads"));case"gridicons-folder":return c().createElement("title",null,__("Category","jetpack-wordads"));case"gridicons-info":case"gridicons-info-outline":return c().createElement("title",null,__("Information.","jetpack-wordads"));case"gridicons-image-multiple":return c().createElement("title",null,__("Has multiple images.","jetpack-wordads"));case"gridicons-image":return c().createElement("title",null,__("Has an image.","jetpack-wordads"));case"gridicons-page":return c().createElement("title",null,__("Page","jetpack-wordads"));case"gridicons-post":return c().createElement("title",null,__("Post","jetpack-wordads"));case"gridicons-jetpack-search":case"gridicons-search":return c().createElement("title",null,__("Magnifying Glass","jetpack-wordads"));case"gridicons-tag":return c().createElement("title",null,__("Tag","jetpack-wordads"));case"gridicons-video":return c().createElement("title",null,__("Has a video.","jetpack-wordads"))}}renderIcon(t){switch(t){default:return null;case"gridicons-audio":return c().createElement("g",null,c().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-block":return c().createElement("g",null,c().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 c().createElement("g",null,c().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 c().createElement("g",null,c().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 c().createElement("g",null,c().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-down":return c().createElement("g",null,c().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return c().createElement("g",null,c().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-cross":return c().createElement("g",null,c().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 c().createElement("g",null,c().createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return c().createElement("g",null,c().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 c().createElement("g",null,c().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 c().createElement("g",null,c().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 c().createElement("g",null,c().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 c().createElement("g",null,c().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 c().createElement("g",null,c().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-pages":return c().createElement("g",null,c().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 c().createElement("g",null,c().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return c().createElement("g",null,c().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 c().createElement("g",null,c().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 c().createElement("g",null,c().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 c().createElement("g",null,c().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 c().createElement("g",null,c().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"}))}}render(){const{size:t=24,className:e=""}=this.props,n=this.props.height||t,r=this.props.width||t,o=this.props.style||{height:n,width:r},i="gridicons-"+this.props.icon;let s=["gridicon",i,e];return this.needsOffset(i,t)&&s.push("needs-offset"),s=s.join(" "),c().createElement("svg",{className:s,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:o,viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},this.getSVGTitle(i),this.renderIcon(i))}}o()(a,"defaultProps",{"aria-hidden":"false",focusable:"true"}),e.Z=a},2392:function(t,e,n){"use strict";var r=n(2402),o=n.n(r),i=n(9196),c=n.n(i),s=n(5736),a=n(5235),u=n.n(a),l=n(5844),p=n.n(l),d=n(207),f=(n(9054),n(1202));const __=s.__,h=t=>{const{a8cLogoHref:e,moduleName:n,className:r,moduleNameHref:i,...s}=t;return c().createElement("div",o()({className:u()("jp-dashboard-footer",r)},s),c().createElement("div",{className:"jp-dashboard-footer__footer-left"},c().createElement(f.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack-wordads")}),c().createElement("span",{className:"jp-dashboard-footer__module-name"},i?c().createElement("a",{href:i,"aria-label":n},n):n)),c().createElement("div",{className:"jp-dashboard-footer__footer-right"},c().createElement("a",{href:e,"aria-label":__("An Automattic Airline","jetpack-wordads")},c().createElement(d.Z,null))))};h.defaultProps={a8cLogoHref:"https://automattic.com",moduleName:__("Jetpack","jetpack-wordads"),className:"",moduleNameHref:"https://jetpack.com"},h.propTypes={a8cLogoHref:p().string,moduleName:p().string,className:p().string,moduleNameHref:p().string},e.Z=h},1202:function(t,e,n){"use strict";var r=n(2402),o=n.n(r),i=n(8294),c=n.n(i),s=n(5844),a=n.n(s),u=n(9196),l=n.n(u),p=n(5235),d=n.n(p),f=n(5736);const __=f.__;class h extends l().Component{render(){const{logoColor:t,showText:e,className:n,...r}=this.props,i=e?"0 0 118 32":"0 0 32 32";return l().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:d()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title"},r),l().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-wordads")),l().createElement("path",{fill:t,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"}),e&&l().createElement(u.Fragment,null,l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"})))}}c()(h,"propTypes",{className:a().string,width:a().number,height:a().number,showText:a().bool,logoColor:a().string}),c()(h,"defaultProps",{className:"",height:32,showText:!0,logoColor:"#069e08"}),e.Z=h},2939:function(t,e,n){"use strict";var r=n(9196),o=n.n(r),i=n(5235),c=n.n(i),s=n(5844),a=n.n(s),u=n(3080);const l=Number(u.Z.smCols),p=Number(u.Z.mdCols),d=Number(u.Z.lgCols),f=t=>{var e,n,r,i,s,a,f,h,g,m,v,y,b,j,w;const{children:x,className:k}=t,_=Math.min(l,null!==(e=null==t?void 0:t.sm)&&void 0!==e?e:l),C=Math.min(l,null!==(n=null==t||null===(r=t.sm)||void 0===r?void 0:r.start)&&void 0!==n?n:0),E=Math.min(l,null!==(i=null==t||null===(s=t.sm)||void 0===s?void 0:s.end)&&void 0!==i?i:0),S=Math.min(p,null!==(a=null==t?void 0:t.md)&&void 0!==a?a:p),O=Math.min(p,null!==(f=null==t||null===(h=t.md)||void 0===h?void 0:h.start)&&void 0!==f?f:0),N=Math.min(p,null!==(g=null==t||null===(m=t.md)||void 0===m?void 0:m.end)&&void 0!==g?g:0),z=Math.min(d,null!==(v=null==t?void 0:t.lg)&&void 0!==v?v:d),A=Math.min(d,null!==(y=null==t||null===(b=t.lg)||void 0===b?void 0:b.start)&&void 0!==y?y:0),M=Math.min(d,null!==(j=null==t||null===(w=t.lg)||void 0===w?void 0:w.end)&&void 0!==j?j:0),P=c()(k,{[u.Z[`col-sm-${_}`]]:!(C&&E),[u.Z[`col-sm-${C}-start`]]:C>0,[u.Z[`col-sm-${E}-end`]]:E>0,[u.Z[`col-md-${S}`]]:!(O&&N),[u.Z[`col-md-${O}-start`]]:O>0,[u.Z[`col-md-${N}-end`]]:N>0,[u.Z[`col-lg-${z}`]]:!(A&&M),[u.Z[`col-lg-${A}-start`]]:A>0,[u.Z[`col-lg-${M}-end`]]:M>0});return o().createElement("div",{className:P},x)};f.proptypes={className:a().string,sm:a().oneOfType([a().number,a().shape({start:a().number,end:a().number})]),md:a().oneOfType([a().number,a().shape({start:a().number,end:a().number})]),lg:a().oneOfType([a().number,a().shape({start:a().number,end:a().number})]),children:a().node},e.Z=f},8218:function(t,e,n){"use strict";var r=n(9196),o=n.n(r),i=n(5235),c=n.n(i),s=n(5844),a=n.n(s),u=n(8730);const l=t=>{const{children:e,fluid:n,className:r}=t,i=`calc( var(--horizontal-spacing) * ${t.horizontalSpacing} )`,s={paddingTop:i,paddingBottom:i,rowGap:`calc( var(--horizontal-spacing) * ${t.horizontalGap} )`},a=c()(r,u.Z.container,{[u.Z.fluid]:n});return o().createElement("div",{className:a,style:s},e)};l.propTypes={fluid:a().bool,className:a().string,horizontalSpacing:a().number,horizontalGap:a().number,children:a().node},l.defaultProps={fluid:!1,horizontalGap:1,horizontalSpacing:1},e.Z=l},5033:function(t,e,n){"use strict";var r=n(9196),o=n.n(r),i=n(5844),c=n.n(i);n(1683);const s=t=>{const e=t.className+" jp-components-spinner",n={width:t.size,height:t.size,fontSize:t.size,borderTopColor:t.color},r={borderTopColor:t.color,borderRightColor:t.color};return o().createElement("div",{className:e},o().createElement("div",{className:"jp-components-spinner__outer",style:n},o().createElement("div",{className:"jp-components-spinner__inner",style:r})))};s.propTypes={color:c().string,className:c().string,size:c().number},s.defaultProps={color:"#FFFFFF",className:"",size:20},e.Z=s},6016:function(t,e,n){"use strict";var r=n(9196),o=n.n(r);const i={"--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)"},c={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-80":"#2C3338","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-20":"#F0C930","--jp-yellow-40":"#C08C00","--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 )"},s={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},a={"--spacing-base":"8px"},u={},l=(t,e)=>{const n={...i,...c,...s,...a};for(const e in n)t.style.setProperty(e,n[e]);e&&(u[e]={provided:!0,root:t})};e.ZP=t=>{var e;let{children:n=null,targetDom:i,id:c}=t;const s=(0,r.useRef)(),a=null==u||null===(e=u[c])||void 0===e?void 0:e.provided;return(0,r.useLayoutEffect)((()=>{if(!a)return i?l(i,c):void(null!=s&&s.current&&l(s.current,c))}),[i,s,a,c]),i?n:o().createElement("div",{ref:s},n)}},1132:function(t,e,n){let r={};try{r=n(9257)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const o=t=>r.hasOwnProperty(t);t.exports={jetpackConfigHas:o,jetpackConfigGet:t=>{if(!o(t))throw'This app requires the "'+t+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return r[t]}}},8195:function(t,e,n){"use strict";var r=n(8294),o=n.n(r),i=n(5162),c=n.n(i),s=n(9196),a=n.n(s),u=n(5235),l=n.n(u),p=n(2515),d=n.n(p),f=n(8520),h=n.n(f),g=n(900);class m extends a().Component{constructor(){super(...arguments),o()(this,"_renderWithTitle",(()=>{const t="dops-card-section-orient-"+(this.props.vertical?"vertical":"horizontal");return a().createElement("div",{className:t},a().createElement("h4",{ref:"label",className:"dops-card-section-label"},this.props.title),a().createElement("div",{ref:"content",className:"dops-card-section-content"},this.props.children))}))}render(){return a().createElement("div",{className:l()("dops-card-section",this.props.className),style:this.props.style},this.props.title?this._renderWithTitle():this.props.children)}}o()(m,"propTypes",{title:c().any,vertical:c().any,style:c().object,className:c().string,device:c().oneOf(["desktop","tablet","phone"])}),o()(m,"defaultProps",{vertical:null});class v extends a().Component{render(){return a().createElement("div",{className:"dops-card-footer"},this.props.children)}}class y extends a().Component{constructor(){super(...arguments),o()(this,"_renderIcon",(()=>a().createElement("span",{className:"dops-card-icon",style:{color:this.props.iconColor}},this.props.icon&&a().createElement(g.Z,{icon:this.props.icon,style:{backgroundColor:this.props.iconColor}}),this.props.iconLabel)))}render(){const t=l()("dops-card",this.props.className,{"is-card-link":!!this.props.href,"is-compact":this.props.compact}),e=["compact","tagName","meta","iconColor"];let n,r;return this.props.href?n=a().createElement(g.Z,{className:"dops-card__link-indicator",icon:this.props.target?"external":"chevron-right"}):e.push("href","target"),this.props.title&&(r=a().createElement("h2",{className:"dops-card-title"},this.props.title,this.props.meta&&a().createElement("span",{className:"dops-card-meta"},this.props.meta),(this.props.icon||this.props.iconLabel)&&this._renderIcon())),a().createElement(this.props.href?"a":this.props.tagName,d()(h()(this.props,e),{className:t}),n,r,this.props.children)}}o()(y,"propTypes",{meta:c().any,icon:c().string,iconLabel:c().any,iconColor:c().string,style:c().object,className:c().string,href:c().string,onClick:c().func,title:c().string,tagName:c().string,target:c().string,compact:c().bool,children:c().node}),o()(y,"defaultProps",{iconColor:"#787878",className:"",tagName:"div",onClick:()=>{}}),y.Section=m,y.Footer=v,e.Z=y},6211:function(t,e,n){"use strict";n.d(e,{Z:function(){return v}});var r=n(9196),o=n.n(r),i=n(9818),c=n(5736),s=n(6975),a=n(4743),u=n(5033),l=n(1163),p=n(8038),d=n(8218),f=n(2939),h=n(2794),g=n(2897),m=n(9268);const __=c.__;function v(){(0,i.useSelect)((t=>t(g.t).getWordAdsModuleStatus()),[]);const t=(0,i.useSelect)((t=>t(g.t).getSiteAdminUrl()))+"admin.php?page=jetpack_about",e=(0,i.useDispatch)(g.t).updateJetpackSettings,n=(0,i.useSelect)((t=>t(g.t).isModuleEnabled())),c=(0,i.useSelect)((t=>t(g.t).isUpdatingJetpackSettings())),v=(0,i.useSelect)((t=>t(g.t).isTogglingModule())),y=(0,i.useSelect)((t=>t(g.t).isResolving("getWordAdsModuleStatus")||!t(g.t).hasStartedResolution("getWordAdsModuleStatus"))),b=(0,i.useDispatch)(g.t).removeNotice,j=(0,i.useSelect)((t=>t(g.t).getNotices()),[]);return(0,r.useMemo)((()=>{const t=(0,i.select)(g.t).getAPIRootUrl(),e=(0,i.select)(g.t).getAPINonce();t&&a.ZP.setApiRoot(t),e&&a.ZP.setApiNonce(e),(()=>{const t=(0,i.select)(g.t).getWpcomUser(),e=(0,i.select)(g.t).getBlogId();t&&s.Z.initialize(t.ID,t.login,{blog_id:e})})(),s.Z.tracks.recordEvent("jetpack_wordads_admin_page_view",{current_version:(0,i.select)(g.t).getVersion()})}),[]),o().createElement(r.Fragment,null,y&&o().createElement(u.Z,{className:"jp-wordads-dashboard-page-loading-spinner",color:"#000",size:32}),!y&&o().createElement(l.Z,{a8cLogoHref:t,moduleName:__("WordAds","jetpack-wordads")},o().createElement(p.Z,null,o().createElement(d.Z,{horizontalSpacing:5},o().createElement(f.Z,{sm:4},o().createElement(h.Z,{updateOptions:e,isModuleEnabled:n,isSavingOptions:c,isTogglingModule:v}))))),o().createElement(m.Z,{notices:j,handleLocalNoticeDismissClick:b}))}},2668:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(2402),o=n.n(r),i=n(8294),c=n.n(i),s=n(9196),a=n.n(s),u=n(5235),l=n.n(u),p=n(8520),d=n.n(p),f=n(6450);class h extends a().Component{render(){return a().createElement(f.Z,o()({},d()(this.props,"className"),{className:l()(this.props.className,"is-compact")}),this.props.children)}}c()(h,"displayName","CompactFormToggle")},6450:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(8294),o=n.n(r),i=n(5162),c=n.n(i),s=n(9196),a=n.n(s),u=n(5235),l=n.n(u);class p extends s.Component{constructor(){super(...arguments),o()(this,"state",{}),this.onKeyDown=this.onKeyDown.bind(this),this.onClick=this.onClick.bind(this),this.onLabelClick=this.onLabelClick.bind(this)}UNSAFE_componentWillMount(){this.id=this.constructor.idNum++}onKeyDown(t){this.props.disabled||("Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.props.onChange()),this.props.onKeyDown(t))}onClick(){this.props.disabled||this.props.onChange()}onLabelClick(t){if(this.props.disabled)return;const e=t.target.nodeName.toLowerCase();"a"!==e&&"input"!==e&&"select"!==e&&(t.preventDefault(),this.props.onChange())}render(){const t=this.props.id||"toggle-"+this.id,e=l()("form-toggle",this.props.className,{"is-toggling":this.props.toggling});return a().createElement(s.Fragment,null,a().createElement("div",{className:l()("form-toggle__switch-container",this.props.switchClassNames)},a().createElement("input",{className:e,type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),a().createElement("span",{className:l()("form-toggle__switch",this.props.switchClassNames),disabled:this.props.disabled,id:t,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"checkbox","aria-checked":this.props.checked,"aria-label":this.props["aria-label"],tabIndex:this.props.disabled?-1:0,ref:"toggleSwitch"})),a().createElement("label",{className:l()("form-toggle__label",this.props.labelClassNames),htmlFor:t},a().createElement("span",{className:l()("form-toggle__label-content",this.props.labelClassNames),onClick:this.onLabelClick},this.props.children)))}}o()(p,"propTypes",{onChange:c().func,onKeyDown:c().func,checked:c().bool,disabled:c().bool,id:c().string,className:c().string,toggling:c().bool,"aria-label":c().string,children:c().node,disabledReason:c().node,switchClassNames:c().string,labelClassNames:c().string}),o()(p,"defaultProps",{checked:!1,disabled:!1,onKeyDown:()=>{},onChange:()=>{},disabledReason:""}),o()(p,"idNum",0)},9268:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(9196),o=n.n(r),i=n(4034),c=n(8448);function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{handleLocalNoticeDismissClick:null,notices:Object.freeze([])};const e=t.notices.map((function(e){const n=e=>()=>{e&&t.handleLocalNoticeDismissClick(e.id)};return o().createElement(i.Z,{key:"notice-"+e.id,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:n(e),showDismiss:e.showDismiss},e.button&&o().createElement(c.Z,{href:e.href,onClick:n(e)},e.button))}));return e.length?o().createElement("div",{id:t.id,className:"global-notices"},e):null}},3459:function(t,e,n){"use strict";n.d(e,{Iz:function(){return f},MQ:function(){return h},RT:function(){return l},b3:function(){return c},mF:function(){return s},tF:function(){return p}});var r=n(5348),o=n.n(r),i=n(5736);const __=i.__,c="CREATE_NOTICE",s="REMOVE_NOTICE";function a(t,e){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i={id:r.id||o()(),duration:null!==(n=r.duration)&&void 0!==n?n:2e3,showDismiss:"boolean"!=typeof r.showDismiss||r.showDismiss,isPersistent:r.isPersistent||!1,displayOnNextPage:r.displayOnNextPage||!1,status:t,text:e};return{type:c,notice:i}}function u(t){return{type:s,notice:{id:t}}}const l=a.bind(null,"is-success"),p=a.bind(null,"is-error"),d=(a.bind(null,"is-info"),a.bind(null,"is-warning")),f=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:__("Updating settings…","jetpack-wordads");return a("is-info",t,{duration:3e4,id:"search-updating-settings"})},h=()=>u("search-updating-settings");e.ZP={createNotice:a,removeNotice:u,successNotice:l,errorNotice:p,warningNotice:d,updatingNotice:f,removeUpdatingNotice:h}},2963:function(t,e,n){"use strict";var r=n(3459);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{notices:[]},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.b3:return{...t,notices:[...t.notices,e.notice]};case r.mF:return{...t,notices:t.notices.filter((t=>t.id!==e.notice.id))}}return t}},5260:function(t,e){"use strict";e.Z={getNotices:t=>{var e;return null!==(e=t.notices.notices)&&void 0!==e?e:[]}}},2794:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(9196),o=n.n(r),i=n(5235),c=n.n(i),s=n(5736),a=n(6975),u=n(8195),l=n(2668);const __=s.__,p=__("Earn income by allowing Jetpack to display high quality ads.","jetpack-wordads");function d(t){let{updateOptions:e,isSavingOptions:n,isModuleEnabled:i,isTogglingModule:s}=t;const d=(0,r.useCallback)((()=>{const t={module_active:!i};e(t),a.Z.tracks.recordEvent("jetpack_wordads_module_toggle",t)}),[i,e]);return o().createElement("div",{className:"jp-form-settings-group jp-form-wordads-settings-group"},o().createElement(u.Z,{className:c()({"jp-form-has-child":!0,"jp-form-settings-disable":!1})},o().createElement("div",{className:"jp-form-wordads-settings-group-inside"},o().createElement("div",{className:"jp-form-wordads-settings-group__toggle is-search jp-wordads-dashboard-wrap"},o().createElement("div",{className:"jp-wordads-dashboard-row"},o().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),o().createElement(l.Z,{checked:i,disabled:n,onChange:d,toggling:s,className:"is-wordads-admin",switchClassNames:"lg-col-span-1 md-col-span-1 sm-col-span-1",labelClassNames:" lg-col-span-7 md-col-span-5 sm-col-span-3","aria-label":__("Enable WordAds","jetpack-wordads")},__("Enable WordAds","jetpack-wordads")),o().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),o().createElement("div",{className:"jp-wordads-dashboard-row"},o().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),o().createElement("div",{className:"jp-form-wordads-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3"},o().createElement("p",{className:"jp-form-wordads-settings-group__toggle-explanation"},p)),o().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}))))))}},4034:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(8294),o=n.n(r),i=n(5162),c=n.n(i),s=n(9196),a=n.n(s),u=n(5235),l=n.n(u),p=n(6697),d=n.n(p),f=n(900);class h extends a().Component{constructor(){super(...arguments),o()(this,"dismissTimeout",null),o()(this,"getIcon",(()=>{let t;switch(this.props.status){case"is-info":default:t="info";break;case"is-success":t="checkmark";break;case"is-error":case"is-warning":t="notice"}return t})),o()(this,"clearText",(t=>"string"==typeof t?t.replace(/(<([^>]+)>)/gi,""):t)),o()(this,"onKeyDownCallback",(t=>e=>{13!==e.which&&32!==e.which||t&&t(e)}))}componentDidMount(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}componentWillUnmount(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}render(){const{children:t,className:e,icon:n,isCompact:r,onDismissClick:o,showDismiss:i=!r,status:c,text:s,dismissText:u}=this.props,p=l()("dops-notice",c,e,{"is-compact":r,"is-dismissable":i});return a().createElement("div",{className:p},a().createElement("span",{className:"dops-notice__icon-wrapper"},a().createElement(f.Z,{className:"dops-notice__icon",icon:n||this.getIcon(),size:24})),a().createElement("span",{className:"dops-notice__content"},a().createElement("span",{className:"dops-notice__text"},s?this.clearText(s):t)),s?t:null,i&&a().createElement("span",{role:"button",onKeyDown:this.onKeyDownCallback(o),tabIndex:"0",className:"dops-notice__dismiss",onClick:o},a().createElement(f.Z,{icon:"cross",size:24}),a().createElement("span",{className:"dops-notice__screen-reader-text screen-reader-text"},u)))}}o()(h,"displayName","SimpleNotice"),o()(h,"defaultProps",{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:d()}),o()(h,"propTypes",{status:c().string,showDismiss:c().bool,isCompact:c().bool,duration:c().number,text:c().oneOfType([c().oneOfType([c().string,c().node]),c().arrayOf(c().oneOfType([c().string,c().node]))]),icon:c().string,onDismissClick:c().func,className:c().string})},8448:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(8294),o=n.n(r),i=n(5162),c=n.n(i),s=n(9196),a=n.n(s),u=n(900);class l extends a().Component{render(){const t={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(t.target="_blank"),a().createElement("a",t,a().createElement("span",null,this.props.children),this.props.icon&&a().createElement(u.Z,{icon:this.props.icon,size:24}),this.props.external&&a().createElement(u.Z,{icon:"external",size:24}))}}o()(l,"displayName","NoticeAction"),o()(l,"propTypes",{href:c().string,onClick:c().func,external:c().bool,icon:c().string}),o()(l,"defaultProps",{external:!1})},8210:function(t,e,n){"use strict";var r=n(1862),o=n(3459);const i={...r.ZP,...o.ZP};e.Z=i},1862:function(t,e,n){"use strict";n.d(e,{ff:function(){return p},yY:function(){return l}});var r=n(1962),o=n.n(r),i=n(9818),c=n(5736),s=n(7029),a=n(3459),u=n(2897);const __=c.__,l="SET_WORDADS_SETTINGS";function p(t){return{type:l,options:t}}e.ZP={updateJetpackSettings:function*(t){try{yield(0,a.Iz)(),yield p({is_updating:!0}),yield p(t),yield(0,s.Lk)(t);const e=yield(0,s.M6)();return yield p(e),(0,a.RT)(__("Updated settings.","jetpack-wordads"))}catch(t){const e=o()((0,i.select)(u.t).getWordAdsModuleStatus(),["module_active"]);return yield p(e),(0,a.tF)(__("Error Update settings…","jetpack-wordads"))}finally{yield(0,a.MQ)(),yield p({is_updating:!1})}},setJetpackSettings:p}},7029:function(t,e,n){"use strict";n.d(e,{Lk:function(){return s},M6:function(){return c}});var r=n(4743);const o="FETCH_WORDADS_SETTINGS",i="UPDATE_WORDADS_SETTINGS",c=()=>({type:o}),s=t=>({type:i,settings:t});e.ZP={[o]:function(){return r.ZP.fetchWordAdsSettings()},[i]:function(t){return r.ZP.updateWordAdsSettings(t.settings)}}},2897:function(t,e,n){"use strict";n.d(e,{i:function(){return u},t:function(){return a}});var r=n(7529),o=n(8210),i=n(8869),c=n(5440),s=n(7029);const a="jetpack-wordads-plugin",u={reducer:r.Z,actions:o.Z,selectors:i.Z,resolvers:c.Z,controls:s.ZP,initialState:window.WORDADS_DASHBOARD_INITIAL_STATE||{}}},3326:function(t,e){"use strict";e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t}},7529:function(t,e,n){"use strict";var r=n(9818),o=n(5934),i=n(6819),c=n(3784),s=n(3326),a=n(2963);const u=(0,r.combineReducers)({siteData:o.Z,jetpackSettings:c.Z,userData:i.Z,features:s.Z,notices:a.Z});e.Z=u},3784:function(t,e,n){"use strict";var r=n(1862);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===r.yY?{...t,...e.options,is_toggling_module:t.module_active!==e.options.module_active&&!!e.options.is_updating,is_toggling_instant_search:t.instant_search_enabled!==e.options.instant_search_enabled&&!!e.options.is_updating}:t}},5934:function(t,e){"use strict";e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t}},6819:function(t,e){"use strict";e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t}},5440:function(t,e,n){"use strict";var r=n(5736),o=n(7029),i=n(1862),c=n(3459);const __=r.__;e.Z={getWordAdsModuleStatus:function*(){try{const t=yield(0,o.M6)();if(t)return(0,i.ff)(t)}catch(t){return(0,c.tF)(__("Error fetching settings…","jetpack-wordads"))}}}},6770:function(t,e,n){"use strict";n(3679);const r={isFeatureEnabled:(t,e)=>Array.isArray(t.features)&&t.features.includes(e)};e.Z=r},8869:function(t,e,n){"use strict";var r=n(5101),o=n(362),i=n(5614),c=n(5260),s=n(6770);const a={...r.Z,...o.Z,...i.Z,...c.Z,...s.Z};e.Z=a},362:function(t,e){"use strict";e.Z={getWordAdsModuleStatus:t=>t.jetpackSettings,isModuleEnabled:t=>t.jetpackSettings.module_active,isInstantSearchEnabled:t=>t.jetpackSettings.instant_search_enabled,isUpdatingJetpackSettings:t=>t.jetpackSettings.is_updating,isTogglingModule:t=>t.jetpackSettings.is_toggling_module,isTogglingInstantSearch:t=>t.jetpackSettings.is_toggling_instant_search}},5101:function(t,e){"use strict";e.Z={getAPIRootUrl:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.WP_API_root)&&void 0!==e?e:null},getAPINonce:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.WP_API_nonce)&&void 0!==e?e:null},getRegistrationNonce:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.registrationNonce)&&void 0!==e?e:null},getSiteAdminUrl:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.adminUrl)&&void 0!==e?e:null},getBlogId:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.blogId)&&void 0!==e?e:0},getVersion:t=>{var e,n;return null!==(e=null===(n=t.siteData)||void 0===n?void 0:n.version)&&void 0!==e?e:"development"},getCalypsoSlug:t=>{var e;return null===(e=t.siteData)||void 0===e?void 0:e.calypsoSlug}}},5614:function(t,e){"use strict";e.Z={getWpcomUser:t=>{var e,n;return null===(e=t.userData)||void 0===e||null===(n=e.currentUser)||void 0===n?void 0:n.wpcomUser}}},9257:function(t){"use strict";if(void 0==={consumer_slug:"jetpack-wordads-package"}){var e=new Error('Cannot find module \'{"consumer_slug":"jetpack-wordads-package"}\'');throw e.code="MODULE_NOT_FOUND",e}t.exports={consumer_slug:"jetpack-wordads-package"}},9196:function(t){"use strict";t.exports=window.React},1850:function(t){"use strict";t.exports=window.ReactDOM},2819:function(t){"use strict";t.exports=window.lodash},9818:function(t){"use strict";t.exports=window.wp.data},5736:function(t){"use strict";t.exports=window.wp.i18n},6483:function(t){"use strict";t.exports=window.wp.url}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={id:r,loaded:!1,exports:{}};return t[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},function(){"use strict";var t=n(1850),e=n.n(t),r=n(9196),o=n.n(r),i=n(6016),c=n(9818),s=n(2897),a=n(6211);const u=(0,c.createReduxStore)(s.t,s.i);function l(){const t=document.getElementById("jp-wordads-dashboard");null!==t&&e().render(o().createElement(i.ZP,null,o().createElement(a.Z,null)),t)}(0,c.register)(u),"loading"!==document.readyState?l():document.addEventListener("DOMContentLoaded",l)}()}(); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.js.LICENSE.txt b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.js.LICENSE.txt
new file mode 100644
index 00000000..0c20a875
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.js.LICENSE.txt
@@ -0,0 +1,5 @@
+/*!
+ Copyright (c) 2018 Jed Watson.
+ Licensed under the MIT License (MIT), see
+ http://jedwatson.github.io/classnames
+*/
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.rtl.css b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.rtl.css
new file mode 100644
index 00000000..c2c7605a
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.rtl.css
@@ -0,0 +1 @@
+.dops-card{background:#fff;box-shadow:0 0 0 1px #c3c4c7,0 1px 1px 1px rgba(0,0,0,.04);box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}.dops-card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media(min-width:481px){.dops-card{margin-bottom:16px;padding:24px}}.dops-card.is-compact{margin-bottom:1px}@media(min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:16px 24px}}.dops-card.is-card-link{padding-left:48px}h2.dops-card-title{font-size:rem(20px)}.dops-card__link-indicator{color:#d5d5d5;display:block;height:100%;left:16px;position:absolute;top:0}a.dops-card:hover .dops-card__link-indicator{color:#bbb}a.dops-card:focus{outline:0}a.dops-card:focus .dops-card__link-indicator{color:tint(#3582c4,20%)}.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)}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;flex:none;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;right:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.dops-accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle__label{cursor:pointer;display:flex}.is-disabled .form-toggle__label{cursor:default}.dops-accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #3582c4}.dops-accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle+.form-toggle__label .form-toggle__switch{background:#bbb}.form-toggle:not(:disabled)+.form-toggle__switch:hover{background:#d5d5d5}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#3582c4}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:not(:disabled)+.form-toggle__switch:hover{background:#78dcfa}.form-toggle:disabled+span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__switch{background:#3582c4}.form-toggle.is-toggling:checked+.form-toggle__switch{background:#d5d5d5}.form-toggle.is-compact+.form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__switch:after{right:8px}.jp-wordads-dashboard-wrap{align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin:0 auto;width:100%}.jp-wordads-dashboard-row{grid-gap:24px;display:grid;grid-template-columns:repeat(4,1fr);margin:0 16px;width:calc(100% - 32px)}@media(min-width:600px){.jp-wordads-dashboard-row{grid-template-columns:repeat(8,1fr);margin:0 18px;width:calc(100% - 36px)}}@media(min-width:960px){.jp-wordads-dashboard-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px;width:calc(100% - 48px)}}.jp-wordads-dashboard-row .sm-col-span-1{grid-column-end:span 1}.jp-wordads-dashboard-row .sm-col-span-2{grid-column-end:span 2}.jp-wordads-dashboard-row .sm-col-span-3{grid-column-end:span 3}.jp-wordads-dashboard-row .sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.jp-wordads-dashboard-row .md-col-span-1{grid-column-end:span 1}.jp-wordads-dashboard-row .md-col-span-2{grid-column-end:span 2}.jp-wordads-dashboard-row .md-col-span-3{grid-column-end:span 3}.jp-wordads-dashboard-row .md-col-span-4{grid-column-end:span 4}.jp-wordads-dashboard-row .md-col-span-5{grid-column-end:span 5}.jp-wordads-dashboard-row .md-col-span-6{grid-column-end:span 6}.jp-wordads-dashboard-row .md-col-span-7{grid-column-end:span 7}.jp-wordads-dashboard-row .md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.jp-wordads-dashboard-row .lg-col-span-1{grid-column-end:span 1}.jp-wordads-dashboard-row .lg-col-span-2{grid-column-end:span 2}.jp-wordads-dashboard-row .lg-col-span-3{grid-column-end:span 3}.jp-wordads-dashboard-row .lg-col-span-4{grid-column-end:span 4}.jp-wordads-dashboard-row .lg-col-span-5{grid-column-end:span 5}.jp-wordads-dashboard-row .lg-col-span-6{grid-column-end:span 6}.jp-wordads-dashboard-row .lg-col-span-7{grid-column-end:span 7}.jp-wordads-dashboard-row .lg-col-span-8{grid-column-end:span 8}.jp-wordads-dashboard-row .lg-col-span-9{grid-column-end:span 9}.jp-wordads-dashboard-row .lg-col-span-10{grid-column-end:span 10}.jp-wordads-dashboard-row .lg-col-span-11{grid-column-end:span 11}.jp-wordads-dashboard-row .lg-col-span-12{grid-column-end:span 12}.jp-wordads-dashboard-row .lg-col-span-0{display:none}}@media(max-width:960px){.jp-wordads-dashboard-row .md-col-span-0{display:none}}@media(max-width:600px){.jp-wordads-dashboard-row .sm-col-span-0{display:none}.jp-wordads-dashboard-row .sm-col-span-1{display:block}}.jp-form-wordads-settings-group{width:100%}.jp-form-wordads-settings-group .dops-card{box-shadow:none;padding:4em 0 0}.jp-form-wordads-settings-group .form-toggle__label{margin:0}.jp-form-wordads-settings-group__toggle.is-instant-search{margin-top:4em}.jp-form-wordads-settings-group__toggle .jp-form-wordads-settings-group__toggle-container{display:flex}@media(max-width:960px){.jp-form-wordads-settings-group__toggle .jp-form-wordads-settings-group__toggle-container{justify-content:center}}.form-toggle__label-content{font-size:1.5em;font-weight:600;line-height:1.167}.form-toggle__label-content span{font-weight:400}.jp-form-wordads-settings-group__toggle-description{margin-top:1em}p.jp-form-wordads-settings-group__toggle-explanation{font-size:1em;font-weight:400;line-height:1.5;margin-bottom:0;margin-top:0}.jp-form-wordads-settings-group-buttons{margin-top:1.5em}.jp-form-wordads-settings-group-buttons__button{align-items:center;border-color:#000;display:flex;font-size:1em;justify-content:center;min-height:2.5em;padding:.5em 1.5em;text-align:center}.jp-form-wordads-settings-group-buttons__button.is-customize-search{background-color:#000;color:#fff}.jp-form-wordads-settings-group-buttons__button:disabled,.jp-form-wordads-settings-group-buttons__button[disabled]{background-color:#dcdcde;border-color:#dcdcde;color:#a7aaad;cursor:not-allowed}.jp-form-wordads-settings-group-buttons__button.is-widgets-editor{background:transparent;color:#000}.jp-form-wordads-settings-group-buttons__button.is-widgets-editor:disabled,.jp-form-wordads-settings-group-buttons__button.is-widgets-editor[disabled]{background:transparent;color:#a7aaad}.form-toggle.is-wordads-admin.is-compact+.form-toggle__switch{background:#fff;border:2px solid #000;border-radius:.75em;height:1.5em;width:3em}.form-toggle.is-wordads-admin.is-compact+.form-toggle__switch:after,.form-toggle.is-wordads-admin.is-compact+.form-toggle__switch:before{background-color:#000;height:.9375em;width:.9375em}.form-toggle.is-wordads-admin.is-compact+.form-toggle__switch:focus{box-shadow:0 0 0 2px #3582c4}.form-toggle.is-wordads-admin.is-compact:checked+.form-toggle__switch{background:#069e08;border-color:#069e08}.form-toggle.is-wordads-admin.is-compact:checked+.form-toggle__switch:after{background-color:#fff;right:1.5em}.form-toggle.is-wordads-admin.is-compact.is-toggling+.form-toggle__switch:after,.form-toggle.is-wordads-admin.is-compact.is-toggling+.form-toggle__switch:before{right:1.5em}.form-toggle.is-wordads-admin.is-compact.is-toggling:checked+.form-toggle__switch:after,.form-toggle.is-wordads-admin.is-compact.is-toggling:checked+.form-toggle__switch:before{right:0}.jp-wordads-dashboard-cut{border:2px solid #069e08;border-radius:4px;display:block;margin:2em 0;padding:1em 1.5em 1em 4em;position:relative;text-decoration:none}.jp-wordads-dashboard-cut span{display:block}.jp-wordads-dashboard-cut span:last-of-type{font-weight:600}.jp-wordads-dashboard-cut:focus span:last-of-type,.jp-wordads-dashboard-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:2px}.jp-wordads-dashboard-cut:focus:after,.jp-wordads-dashboard-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-wordads-dashboard-cut:after{color:#069e08;content:"→";font-size:1.5em;font-weight:600;left:1.5em;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-wordads-dashboard-row .form-toggle__switch-container.sm-col-span-1{display:flex;justify-content:center;padding-top:4px}#jp-plugin-container{min-height:100vh}.dops-notice{animation:appear .3s ease-in-out;background:#414141;border-radius:3px;box-sizing:border-box;color:#fff;display:flex;line-height:1.5;margin-bottom:24px;position:relative;width:100%}.dops-notice.is-success .dops-notice__icon-wrapper{background:#4ab866}.dops-notice.is-warning .dops-notice__icon-wrapper{background:#f0b849}.dops-notice.is-error .dops-notice__icon-wrapper{background:#d94f4f}.dops-notice.is-info .dops-notice__icon-wrapper{background:#3582c4}.dops-notice .dops-notice__dismiss,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__dismiss{overflow:hidden}.dops-notice__icon-wrapper{align-items:baseline;align-self:stretch;background:#747474;border-radius:0 3px 3px 0;color:#fff;display:flex;flex-shrink:0;justify-content:center;width:47px}.dops-notice__icon-wrapper .gridicon{margin-top:10px}@media(min-width:481px){.dops-notice__icon-wrapper .gridicon{margin-top:12px}}.dops-notice__content.dops-notice__content{flex-grow:1;font-size:12px;padding:13px}@media(min-width:481px){.dops-notice__content.dops-notice__content{font-size:14px}}.dops-notice__content.dops-notice__content a{color:#fff;text-decoration:underline}.dops-notice__content.dops-notice__content a:hover,.dops-notice__text a.dops-notice__text-no-underline{text-decoration:none}.dops-notice__text a,.dops-notice__text a:visited{color:#fff;text-decoration:underline}.dops-notice__text a:hover,.dops-notice__text a:visited:hover{color:#fff;text-decoration:none}.dops-notice__text ul{margin-bottom:0;margin-right:0}.dops-notice__text li{margin-right:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-right:.428em}.dops-notice__dismiss{cursor:pointer;flex-shrink:0;padding:12px 12px 0}.dops-notice__dismiss .gridicon{height:18px;width:18px}@media(min-width:481px){.dops-notice__dismiss{padding:11px 11px 0}.dops-notice__dismiss .gridicon{height:24px;width:24px}}.dops-notice .dops-notice__dismiss{color:#bbb}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{color:#fff}a.dops-notice__action{align-items:center;color:#bbb;cursor:pointer;display:flex;font-size:12px;font-weight:400;padding:13px;text-decoration:none;white-space:nowrap}@media(min-width:481px){a.dops-notice__action{align-items:center;border-radius:0;flex-grow:0;flex-shrink:1;font-size:14px;margin:0 auto 0 0;padding:13px 16px}a.dops-notice__action .gridicon{height:24px;width:24px}}a.dops-notice__action:visited{color:#bbb}a.dops-notice__action:hover{color:#fff}a.dops-notice__action .gridicon{height:18px;margin-right:8px;opacity:.7;width:18px}.dops-notice.is-compact{border-radius:3px;display:inline-flex;flex-direction:row;flex-wrap:nowrap;line-height:1.5;margin:0;min-height:20px;padding:0;text-decoration:none;text-transform:none;vertical-align:middle;width:auto}.dops-notice.is-compact .dops-notice__content{font-size:12px;padding:6px 10px}.dops-notice.is-compact .dops-notice__icon-wrapper{width:28px}.dops-notice.is-compact .dops-notice__icon-wrapper .dops-notice__icon{height:18px;margin:0;width:18px}.dops-notice.is-compact .dops-notice__icon-wrapper .gridicon{margin-top:6px}.dops-notice.is-compact .dops-notice__dismiss{align-self:center;flex:none;margin:0 0 0 8px;padding:0;position:relative}.dops-notice.is-compact .dops-notice__dismiss .gridicon{height:18px;width:18px}.dops-notice.is-compact a.dops-notice__action{align-self:center;background:transparent;display:inline-block;font-size:12px;margin:0 16px 0 0;padding:0 10px}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent}.dops-notice.is-compact a.dops-notice__action .gridicon{height:14px;margin-right:8px;opacity:1;vertical-align:sub;width:14px}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{bottom:0;left:0;pointer-events:none;position:fixed;right:0;text-align:left;top:auto;z-index:179}@media(min-width:661px){.global-notices{bottom:auto;left:16px;max-width:calc(100% - 68px);right:auto;top:63px}}@media(min-width:961px){.global-notices{left:24px;max-width:calc(100% - 208px);top:71px}}@media(min-width:1041px){.global-notices{left:32px;max-width:calc(100% - 224px)}}.global-notices .dops-notice{border-radius:0;box-shadow:0 2px 5px rgba(0,0,0,.2),0 0 56px rgba(0,0,0,.15);flex-wrap:nowrap;margin-bottom:0;pointer-events:auto;text-align:right}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0}@media(min-width:661px){.global-notices .dops-notice{border-radius:3px;display:flex;margin-bottom:24px;overflow:hidden}.global-notices .dops-notice .dops-notice__icon-wrapper{border-radius:0 3px 3px 0}.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:13px 16px}}.global-notices .dops-notice__dismiss{flex-shrink:0}@media(min-width:661px){.global-notices .dops-notice__dismiss{padding:13px 16px 0}}#jp-wordads-dashboard{color:#000;font-size:16px}#jp-wordads-dashboard *{box-sizing:border-box}#jp-wordads-dashboard .jp-wordads-dashboard-page-loading-spinner{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}@media(max-width:600px){#jp-wordads-dashboard{font-size:14px}}@keyframes rotate-spinner{to{transform:rotate(-1turn)}}.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 transparent;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-left-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.sexr0jUxC1jVixdKiDnC{margin-right:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-right:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1128px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;max-width:var(--max-container-width);width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.jp-dashboard-footer{align-items:center;color:#000;display:flex;flex-flow:row wrap;justify-content:space-between;max-width:1128px;width:100%}.jp-dashboard-footer a,.jp-dashboard-footer a:hover,.jp-dashboard-footer a:visited{color:#000;text-decoration:none}.jp-dashboard-footer__jetpack-symbol,.jp-dashboard-footer__module-name{display:inline-block;vertical-align:middle}.jp-dashboard-footer__module-name{font-size:12px;font-weight:600;margin-right:5px}.cAbGtJDGgLubucBnz7vM{background-color:var(--jp-white)} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/jest.config.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/jest.config.js
new file mode 100644
index 00000000..88326709
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/jest.config.js
@@ -0,0 +1,23 @@
+/**
+ * External dependencies
+ */
+const path = require( 'path' );
+
+module.exports = {
+ testMatch: [ '<rootDir>/**/test/*.test.[jt]s?(x)', '!**/.eslintrc.*' ],
+ roots: [ '<rootDir>/src' ],
+ transform: {
+ '\\.[jt]sx?$': path.join( __dirname, 'tests/jest-extensions-babel-transform' ),
+ '\\.(gif|jpg|jpeg|png|svg|scss|sass|css|ttf|woff|woff2)$': require.resolve(
+ 'jetpack-js-tools/jest/jest-extensions-asset-stub.js'
+ ),
+ },
+ moduleNameMapper: {
+ 'tiny-lru/lib/tiny-lru.esm$': '<rootDir>/src/instant-search/lib/test-helpers/tiny-lru.mock.js',
+ jetpackConfig: '<rootDir>/tests/jest-jetpack-config.js',
+ },
+ moduleDirectories: [ 'node_modules', '<rootDir>/src/dashboard' ],
+ // Work around some packages that only provide module versions in jest's jsdom environment.
+ // https://github.com/microsoft/accessibility-insights-web/pull/5421#issuecomment-1109168149
+ resolver: require.resolve( 'jetpack-js-tools/jest/jest-resolver.js' ),
+};
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/postcss.config.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/postcss.config.js
new file mode 100644
index 00000000..33b12570
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/postcss.config.js
@@ -0,0 +1,12 @@
+// Uses Jetpack plugin's postcss config.
+module.exports = () => ( {
+ plugins: {
+ 'postcss-custom-properties': {
+ importFrom: [ require.resolve( '@automattic/calypso-color-schemes' ) ],
+ // @TODO: Drop `preserve: false` workaround if possible
+ // See https://github.com/Automattic/jetpack/pull/13854#issuecomment-550898168
+ preserve: false,
+ },
+ autoprefixer: {},
+ },
+} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-helper.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-helper.php
new file mode 100644
index 00000000..bcd86d81
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-helper.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Helper class providing various static utility functions for use in Search.
+ *
+ * @package automattic/jetpack-wordads
+ */
+
+namespace Automattic\Jetpack\WordAds;
+
+/**
+ * Various helper functions for reuse throughout the WordAds code.
+ */
+class Helper {
+ /**
+ * Get the current site's WordPress.com ID.
+ *
+ * @return int Blog ID.
+ */
+ public static function get_wpcom_site_id() {
+ // Returns local blog ID for a multi-site network.
+ if ( defined( 'IS_WPCOM' ) && constant( 'IS_WPCOM' ) ) {
+ return \get_current_blog_id();
+ }
+
+ // Returns cache site ID.
+ return \Jetpack_Options::get_option( 'id' );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-package.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-package.php
new file mode 100644
index 00000000..28386b5e
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-package.php
@@ -0,0 +1,62 @@
+<?php
+/**
+ * WordAds package information.
+ *
+ * @package automattic/jetpack-wordads
+ */
+
+namespace Automattic\Jetpack\WordAds;
+
+/**
+ * WordAds package general information
+ */
+class Package {
+ const VERSION = '0.2.4';
+ const SLUG = 'wordads';
+
+ /**
+ * The path where package is installed.
+ *
+ * @var string
+ */
+ protected static $installed_path;
+
+ /**
+ * Adds the package slug and version to the package version tracker's data.
+ *
+ * @param array $package_versions The package version array.
+ *
+ * @return array The package version array.
+ */
+ public static function send_version_to_tracker( $package_versions ) {
+ // Multiple versions could co-exist, we want to send the version which is in use.
+ // `jetpack-autoloader` would load classes from the latest package, so we send the latest version here.
+ if ( empty( $package_versions[ self::SLUG ] ) || version_compare( $package_versions[ self::SLUG ], self::VERSION, '<' ) ) {
+ $package_versions[ self::SLUG ] = self::VERSION;
+ }
+ return $package_versions;
+ }
+
+ /**
+ * Whether Jetpack WordAds Package's version maps to a public release, or a development version.
+ */
+ public static function is_development_version() {
+ return (bool) apply_filters(
+ 'jetpack_wordads_is_development_version',
+ ! preg_match( '/^\d+(\.\d+)+$/', self::VERSION )
+ );
+ }
+
+ /**
+ * Return the path where the package is installed with trailing slash.
+ * It's important not to use a constant, as there could be multiple versions of search package installed.
+ *
+ * @return string
+ */
+ public static function get_installed_path() {
+ if ( static::$installed_path === null ) {
+ static::$installed_path = dirname( __DIR__ ) . DIRECTORY_SEPARATOR;
+ }
+ return apply_filters( 'jetpack_wordads_installed_path', static::$installed_path );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-rest-controller.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-rest-controller.php
new file mode 100644
index 00000000..30a2c629
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/class-rest-controller.php
@@ -0,0 +1,136 @@
+<?php
+/**
+ * The WordAds Rest Controller class.
+ * Registers the REST routes for WordAds.
+ *
+ * @package automattic/jetpack-wordads
+ */
+
+namespace Automattic\Jetpack\WordAds;
+
+use Automattic\Jetpack\Modules;
+use Jetpack_Options;
+use WP_Error;
+use WP_REST_Request;
+use WP_REST_Server;
+
+/**
+ * Registers the REST routes for WordAds.
+ */
+class REST_Controller {
+ /**
+ * Whether it's run on WPCOM.
+ *
+ * @var bool
+ */
+ protected $is_wpcom;
+
+ /**
+ * Constructor
+ *
+ * @param bool $is_wpcom - Whether it's run on WPCOM.
+ */
+ public function __construct( $is_wpcom = false ) {
+ $this->is_wpcom = $is_wpcom;
+ }
+
+ /**
+ * Registers the REST routes for WordAds.
+ *
+ * @access public
+ * @static
+ */
+ public function register_rest_routes() {
+ register_rest_route(
+ 'jetpack/v4',
+ '/wordads/settings',
+ array(
+ 'methods' => WP_REST_Server::EDITABLE,
+ 'callback' => array( $this, 'update_settings' ),
+ 'permission_callback' => array( $this, 'require_admin_privilege_callback' ),
+ )
+ );
+ register_rest_route(
+ 'jetpack/v4',
+ '/wordads/settings',
+ array(
+ 'methods' => WP_REST_Server::READABLE,
+ 'callback' => array( $this, 'get_settings' ),
+ 'permission_callback' => array( $this, 'require_admin_privilege_callback' ),
+ )
+ );
+ }
+
+ /**
+ * Only administrators can access the API.
+ *
+ * @return bool|WP_Error True if a blog token was used to sign the request, WP_Error otherwise.
+ */
+ public function require_admin_privilege_callback() {
+ if ( current_user_can( 'manage_options' ) ) {
+ return true;
+ }
+
+ $error_msg = esc_html__(
+ 'You are not allowed to perform this action.',
+ 'jetpack-wordads'
+ );
+
+ return new WP_Error( 'rest_forbidden', $error_msg, array( 'status' => rest_authorization_required_code() ) );
+ }
+
+ /**
+ * POST `jetpack/v4/wordads/settings`
+ *
+ * @param WP_REST_Request $request - REST request.
+ */
+ public function update_settings( $request ) {
+ $request_body = $request->get_json_params();
+
+ $module_active = isset( $request_body['module_active'] ) ? (bool) $request_body['module_active'] : null;
+
+ $errors = array();
+ if ( $module_active !== null ) {
+ $module_active_updated = ( new Modules() )->update_status( Package::SLUG, $module_active, false, false );
+ if ( is_wp_error( $module_active_updated ) ) {
+ $errors['module_active'] = $module_active_updated;
+ }
+ }
+
+ if ( ! empty( $errors ) ) {
+ return new WP_Error(
+ 'some_updated',
+ sprintf(
+ /* translators: %s are the setting name that not updated. */
+ __( 'Some settings ( %s ) not updated.', 'jetpack-wordads' ),
+ implode(
+ ',',
+ array_keys( $errors )
+ )
+ ),
+ array( 'status' => 400 )
+ );
+ }
+
+ return rest_ensure_response( $this->get_settings() );
+ }
+
+ /**
+ * GET `jetpack/v4/wordads/settings`
+ */
+ public function get_settings() {
+ return rest_ensure_response(
+ array(
+ 'module_active' => ( new Modules() )->is_active( Package::SLUG ),
+ )
+ );
+ }
+
+ /**
+ * Get blog id
+ */
+ protected function get_blog_id() {
+ return $this->is_wpcom ? get_current_blog_id() : Jetpack_Options::get_option( 'id' );
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-dashboard.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-dashboard.php
new file mode 100644
index 00000000..049b1557
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-dashboard.php
@@ -0,0 +1,127 @@
+<?php
+/**
+ * A class that adds a wordads dashboard to wp-admin.
+ *
+ * @package automattic/jetpack
+ */
+
+namespace Automattic\Jetpack\WordAds;
+
+use Automattic\Jetpack\Admin_UI\Admin_Menu;
+use Automattic\Jetpack\Assets;
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Status;
+use Automattic\Jetpack\Tracking;
+/**
+ * Responsible for adding a WordAds dashboard to wp-admin.
+ *
+ * @package Automattic\Jetpack\WordAds
+ */
+class Dashboard {
+
+ /**
+ * Connection manager instance
+ *
+ * @var Automattic\Jetpack\Connection\Manager
+ */
+ protected $connection_manager;
+
+ /**
+ * Contructor
+ *
+ * @param Automattic\Jetpack\Connection\Manager $connection_manager - Connection Manager instance.
+ */
+ public function __construct( $connection_manager = null ) {
+ $this->connection_manager = $connection_manager ? $connection_manager : new Connection_Manager( Package::SLUG );
+ }
+
+ /**
+ * Initialise hooks
+ */
+ public function init_hooks() {
+ add_action( 'admin_menu', array( $this, 'add_wp_admin_submenu' ), 999 );
+ }
+
+ /**
+ * The page to be added to submenu
+ */
+ public function add_wp_admin_submenu() {
+ if ( ! $this->should_add_wordads_submenu() ) {
+ return;
+ }
+
+ $page_suffix = Admin_Menu::add_menu(
+ __( 'WordAds Settings', 'jetpack-wordads' ),
+ _x( 'WordAds', 'product name shown in menu', 'jetpack-wordads' ),
+ 'manage_options',
+ 'jetpack-wordads',
+ array( $this, 'render' ),
+ 100
+ );
+
+ add_action( 'load-' . $page_suffix, array( $this, 'admin_init' ) );
+ }
+
+ /**
+ * Override render funtion
+ */
+ public function render() {
+ ?>
+ <div id="jp-wordads-dashboard" class="jp-wordads-dashboard">
+ <div class="hide-if-js"><?php esc_html_e( 'Your WordAds dashboard requires JavaScript to function properly.', 'jetpack-wordads' ); ?></div>
+ </div>
+ <?php
+ }
+
+ /**
+ * Test whether we should show Search menu.
+ *
+ * @return {boolean} Show search sub menu or not.
+ */
+ protected function should_add_wordads_submenu() {
+ /**
+ * The filter allows to ommit adding a submenu item for WordAds.
+ *
+ * @since 0.1.0
+ *
+ * @param boolean $should_add_wordads_submenu Default value is true.
+ */
+ return apply_filters( 'jetpack_wordads_should_add_wordads_submenu', current_user_can( 'manage_options' ) );
+ }
+
+ /**
+ * Initialize the admin resources.
+ */
+ public function admin_init() {
+ add_action( 'admin_enqueue_scripts', array( $this, 'load_admin_scripts' ) );
+ }
+
+ /**
+ * Enqueue admin scripts.
+ */
+ public function load_admin_scripts() {
+ if ( ! ( new Status() )->is_offline_mode() && $this->connection_manager->is_connected() ) {
+ // Required for Analytics.
+ Tracking::register_tracks_functions_scripts( true );
+ }
+
+ Assets::register_script(
+ 'jp-wordads-dashboard',
+ '../../build/dashboard/jp-wordads-dashboard.js',
+ __FILE__,
+ array(
+ 'in_footer' => true,
+ 'textdomain' => 'jetpack-wordads',
+ )
+ );
+ Assets::enqueue_script( 'jp-wordads-dashboard' );
+
+ // Add objects to be passed to the initial state of the app.
+ // Use wp_add_inline_script instead of wp_localize_script, see https://core.trac.wordpress.org/ticket/25280.
+ wp_add_inline_script(
+ 'jp-wordads-dashboard',
+ ( new Initial_State() )->render(),
+ 'before'
+ );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-initial-state.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-initial-state.php
new file mode 100644
index 00000000..cbbbecaa
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-initial-state.php
@@ -0,0 +1,99 @@
+<?php
+/**
+ * The React initial state.
+ *
+ * @package automattic/jetpack-wordads
+ */
+
+namespace Automattic\Jetpack\WordAds;
+
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Modules;
+use Automattic\Jetpack\Status;
+use Jetpack_Options;
+
+/**
+ * The React initial state.
+ */
+class Initial_State {
+ /**
+ * Connection Manager
+ *
+ * @var Connection_Manager
+ */
+ protected $connection_manager;
+
+ /**
+ * Constructor
+ *
+ * @param Connection_Manager $connection_manager - Connection mananger instance.
+ */
+ public function __construct( $connection_manager = null ) {
+ $this->connection_manager = $connection_manager ? $connection_manager : new Connection_Manager( Package::SLUG );
+ }
+
+ /**
+ * Render JS for the initial state
+ *
+ * @return string - JS string.
+ */
+ public function render() {
+ return 'var WORDADS_DASHBOARD_INITIAL_STATE=JSON.parse(decodeURIComponent("' . rawurlencode( wp_json_encode( $this->get_initial_state() ) ) . '"));';
+ }
+
+ /**
+ * Get the initial state data.
+ *
+ * @return array
+ */
+ public function get_initial_state() {
+ return array(
+ 'siteData' => array(
+ 'WP_API_root' => esc_url_raw( rest_url() ),
+ 'WP_API_nonce' => wp_create_nonce( 'wp_rest' ),
+ 'registrationNonce' => wp_create_nonce( 'jetpack-registration-nonce' ),
+ 'adminUrl' => esc_url( admin_url() ),
+ 'blogId' => Jetpack_Options::get_option( 'id', 0 ),
+ // TODO: add WORDADS_PACKAGE_VERSION to a proper place after major PRs merged.
+ 'version' => defined( 'WORDADS_PACKAGE_VERSION' ) ? WORDADS_PACKAGE_VERSION : 'dev',
+ 'calypsoSlug' => ( new Status() )->get_site_suffix(),
+ ),
+ 'userData' => array(
+ 'currentUser' => $this->current_user_data(),
+ ),
+ 'jetpackSettings' => array(
+ 'wordads' => ( new Modules() )->is_active( Package::SLUG ),
+ ),
+ 'features' => array_map(
+ 'sanitize_text_field',
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
+ isset( $_GET['features'] ) ? explode( ',', wp_unslash( $_GET['features'] ) ) : array()
+ ),
+ );
+ }
+
+ /**
+ * Gather data about the current user.
+ *
+ * @return array
+ */
+ protected function current_user_data() {
+ $current_user = wp_get_current_user();
+ $is_user_connected = $this->connection_manager->is_user_connected( $current_user->ID );
+ $is_master_user = $is_user_connected && (int) $current_user->ID && (int) Jetpack_Options::get_option( 'master_user' ) === (int) $current_user->ID;
+ $dotcom_data = $this->connection_manager->get_connected_user_data();
+
+ $current_user_data = array(
+ 'isConnected' => $is_user_connected,
+ 'isMaster' => $is_master_user,
+ 'username' => $current_user->user_login,
+ 'id' => $current_user->ID,
+ 'wpcomUser' => $dotcom_data,
+ 'permissions' => array(
+ 'manage_options' => current_user_can( 'manage_options' ),
+ ),
+ );
+
+ return $current_user_data;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/button/index.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/index.jsx
index d945554f..c6867a00 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/button/index.jsx
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/index.jsx
@@ -4,7 +4,8 @@
import PropTypes from 'prop-types';
import React from 'react';
import classNames from 'classnames';
-import { noop } from 'lodash';
+/*eslint lodash/import-scope: [2, "method"]*/
+import noop from 'lodash/noop';
/**
* Internal dependencies
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/style.scss
new file mode 100644
index 00000000..ef95b33a
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/style.scss
@@ -0,0 +1,206 @@
+@import "scss/calypso-colors";
+@import "scss/color-functions";
+@import "scss/functions/rem";
+@import "scss/typography";
+
+// ==========================================================================
+// Buttons
+// ==========================================================================
+
+.dops-button {
+ background: $blue-grey-light;
+ border-color: $blue-medium-dark;
+ border-style: solid;
+ border-width: 1px;
+ color: $blue-medium-dark;
+ cursor: pointer;
+ display: inline-block;
+ margin: 0;
+ outline: 0;
+ overflow: hidden;
+ font-size: $font-body-small;
+ text-overflow: ellipsis;
+ text-decoration: none;
+ vertical-align: top;
+ box-sizing: border-box;
+ border-radius: 3px;
+ padding: 7px 14px 9px;
+ -webkit-appearance: none;
+ appearance: none;
+
+ &:hover {
+ background: #f0f0f1;
+ border-color: $blue-grey-dark;
+ color: $blue-grey-dark;
+ }
+ &[disabled],
+ &:disabled {
+ color: lighten( $gray, 30% );
+ background: $white;
+ border-color: lighten( $gray, 30% );
+ cursor: default;
+ }
+ &:focus {
+ background: $white;
+ border-color: $blue-medium-dark;
+ box-shadow: 0 0 0 1px $blue-medium-dark;
+ }
+ &.is-compact {
+ padding: 0 10px;
+ line-height: 2;
+
+ &:disabled {
+ color: lighten( $gray, 30% );
+ }
+ .gridicon {
+ top: 4px;
+ margin-top: -8px;
+ }
+ // Make the left margin of the small plus icon visually less huge
+ .gridicons-plus-small {
+ margin-left: -4px;
+ }
+ // Reset the left margin if the button contains only the plus icon
+ .gridicons-plus-small:last-of-type {
+ margin-left: 0;
+ }
+ // Make plus icon nudged closer to adjacent icons for add-people and add-plugin type buttons
+ .gridicons-plus-small + .gridicon {
+ margin-left: -4px;
+ }
+ }
+ &.hidden {
+ display: none;
+ }
+ .gridicon {
+ position: relative;
+ top: 4px;
+ margin-top: -2px;
+ width: 18px;
+ height: 18px;
+ }
+}
+
+// Primary buttons
+.dops-button.is-primary {
+ background: $blue-medium;
+ border-color: $blue-medium;
+ color: $white;
+
+ &:hover,
+ &:focus {
+ border-color: $blue-medium-dark;
+ background: $blue-medium-dark;
+ color: $white;
+ }
+ &:focus {
+ box-shadow:
+ 0 0 0 1px $white,
+ 0 0 0 3px $blue-medium-dark;
+ }
+ &[disabled],
+ &:disabled {
+ color: #66c6e4 !important;
+ background-color: #008ec2 !important;
+ border-color: #008ec2 !important;
+ box-shadow: none !important;
+ text-shadow: none !important;
+ cursor: default;
+ }
+ &.is-compact {
+ color: $white;
+ white-space: nowrap;
+ }
+}
+
+// Scary buttons
+.dops-button.is-scary {
+ color: $alert-red;
+
+ &:hover,
+ &:focus {
+ border-color: $alert-red;
+ }
+ &:focus {
+ box-shadow: 0 0 0 2px lighten( $alert-red, 20% );
+ }
+ &[disabled],
+ &:disabled {
+ color: lighten( $alert-red, 30% );
+ border-color: lighten( $gray, 30% );
+ }
+}
+
+.dops-button.is-primary.is-scary {
+ background: $alert-red;
+ border-color: darken( $alert-red, 20% );
+ color: $white;
+
+ &:hover,
+ &:focus {
+ border-color: darken( $alert-red, 40% );
+ }
+ &[disabled],
+ &:disabled {
+ background: lighten( $alert-red, 20% );
+ border-color: tint( $alert-red, 30% );
+ }
+}
+
+.dops-button.is-borderless {
+ border: none;
+ color: darken( $gray, 10% );
+ padding-left: 0;
+ padding-right: 0;
+
+ &:hover {
+ color: $gray-dark;
+ }
+
+ &:focus {
+ box-shadow: none;
+ }
+
+ .dops-accessible-focus &:focus {
+ outline: thin dotted;
+ }
+
+ .gridicon {
+ width: 24px;
+ height: 24px;
+ top: 6px;
+ }
+
+ &[disabled],
+ &:disabled {
+ color: lighten( $gray, 30% );
+ background: $white;
+ cursor: default;
+
+ &:active {
+ border-width: 0;
+ }
+ }
+ &.is-scary {
+ color: $alert-red;
+
+ &:hover,
+ &:focus {
+ color: darken( $alert-red, 20% );
+ }
+
+ &[disabled] {
+ color: lighten( $alert-red, 30% );
+ }
+ }
+
+ &.is-compact {
+ background: transparent;
+ border-radius: 0;
+ .gridicon {
+ width: 18px;
+ height: 18px;
+ top: 5px;
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/test/index.test.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/test/index.test.jsx
new file mode 100644
index 00000000..86c8c310
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/button/test/index.test.jsx
@@ -0,0 +1,33 @@
+/**
+ * @jest-environment jsdom
+ */
+
+/**
+ * External dependencies
+ */
+import React from 'react';
+import { render, screen } from '@testing-library/react';
+import '@testing-library/jest-dom';
+
+/**
+ * Internal dependencies
+ */
+import Button from 'components/button';
+
+describe( 'Button', function () {
+ const testProps = {
+ className: 'test-class',
+ };
+ it( 'can render', () => {
+ render( <Button /> );
+ expect( screen.queryByRole( 'button' ) ).toBeInTheDocument();
+ } );
+ it( 'can render compact button', () => {
+ render( <Button compact={ true } /> );
+ expect( screen.queryByRole( 'button' ).className ).toContain( 'is-compact' );
+ } );
+ it( 'can render with class name passed in', () => {
+ render( <Button { ...testProps } /> );
+ expect( screen.queryByRole( 'button' ).className ).toContain( 'test-class' );
+ } );
+} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/card/compact.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/compact.jsx
index 7bfacab4..5db9a251 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/card/compact.jsx
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/compact.jsx
@@ -2,7 +2,8 @@
* External dependencies
*/
import React from 'react';
-import { assign } from 'lodash';
+/*eslint lodash/import-scope: [2, "method"]*/
+import assign from 'lodash/assign';
import classnames from 'classnames';
/**
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/card/index.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/index.jsx
index e8dbf9e1..1e959dc3 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/card/index.jsx
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/index.jsx
@@ -4,13 +4,15 @@
import PropTypes from 'prop-types';
import React from 'react';
import classnames from 'classnames';
-import { assign, omit } from 'lodash';
+/*eslint lodash/import-scope: [2, "method"]*/
+import assign from 'lodash/assign';
+/*eslint lodash/import-scope: [2, "method"]*/
+import omit from 'lodash/omit';
/**
* Internal dependencies
*/
-// TODO change to our own gridicon component, when instant search is migrated.
-import Gridicon from 'gridicons';
+import { Gridicon } from '@automattic/jetpack-components';
import './style.scss';
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/style.scss
new file mode 100644
index 00000000..efde8ca1
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/style.scss
@@ -0,0 +1,72 @@
+@import 'scss/layout';
+@import 'scss/typography';
+@import 'scss/calypso-colors';
+@import 'scss/functions/rem';
+
+$title: #f6f7f7;
+$meta: #a7aaad;
+$border: #dcdcde;
+$section-border: #dcdcde;
+
+/* Card */
+
+.dops-card {
+ display: block;
+ position: relative;
+ margin: 0 auto 10px auto;
+ padding: 16px;
+ box-sizing: border-box;
+ background: $white;
+ box-shadow:
+ 0 0 0 1px $light-gray-700,
+ 0 1px 1px 1px rgba(0,0,0,.04);
+
+ @include clear-fix;
+
+ @include breakpoint( ">480px" ) {
+ margin-bottom: 16px;
+ padding: 24px;
+ }
+
+ // Compact Card
+ &.is-compact {
+ margin-bottom: 1px;
+
+ @include breakpoint( ">480px" ) {
+ margin-bottom: 1px;
+ padding: 16px 24px;
+ }
+ }
+
+ &.is-card-link {
+ padding-right: 48px;
+ }
+}
+
+h2.dops-card-title {
+ font-size: $font-title-small;
+}
+
+// Clickable Card
+.dops-card__link-indicator {
+ color: lighten( $gray, 20% );
+ display: block;
+ height: 100%;
+ position: absolute;
+ top: 0;
+ right: 16px;
+}
+
+a.dops-card:hover {
+ .dops-card__link-indicator {
+ color: lighten( $gray, 10% );
+ }
+}
+
+a.dops-card:focus {
+ outline: 0;
+
+ .dops-card__link-indicator {
+ color: $link-highlight;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/test/index.test.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/test/index.test.jsx
new file mode 100644
index 00000000..2365be17
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/test/index.test.jsx
@@ -0,0 +1,22 @@
+/**
+ * @jest-environment jsdom
+ */
+
+/**
+ * External dependencies
+ */
+import React from 'react';
+import { render, screen } from '@testing-library/react';
+import '@testing-library/jest-dom';
+
+/**
+ * Internal dependencies
+ */
+import Card from 'components/card';
+
+describe( 'Card', function () {
+ it( 'can render', () => {
+ render( <Card title="Title" /> );
+ expect( screen.queryByRole( 'heading' ) ).toBeInTheDocument();
+ } );
+} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/dashboard/index.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/dashboard/index.jsx
new file mode 100644
index 00000000..ab617c14
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/dashboard/index.jsx
@@ -0,0 +1,99 @@
+/**
+ * External dependencies
+ */
+import React, { Fragment, useMemo } from 'react';
+
+/**
+ * WordPress dependencies
+ */
+import { useSelect, useDispatch, select as syncSelect } from '@wordpress/data';
+import { __ } from '@wordpress/i18n';
+
+/**
+ * Internal dependencies
+ */
+import analytics from '@automattic/jetpack-analytics';
+import restApi from '@automattic/jetpack-api';
+import { Spinner, AdminSection, AdminPage, Container, Col } from '@automattic/jetpack-components';
+import ModuleControl from 'components/module-control';
+import { STORE_ID } from 'store';
+import NoticesList from 'components/global-notices';
+
+import 'scss/rna-styles.scss';
+import './style.scss';
+
+/**
+ * WordAdsDashboard component definition.
+ *
+ * @returns {React.Component} Search dashboard component.
+ */
+export default function WordAdsDashboard() {
+ useSelect( select => select( STORE_ID ).getWordAdsModuleStatus(), [] );
+
+ const siteAdminUrl = useSelect( select => select( STORE_ID ).getSiteAdminUrl() );
+ const aboutPageUrl = siteAdminUrl + 'admin.php?page=jetpack_about';
+
+ const updateOptions = useDispatch( STORE_ID ).updateJetpackSettings;
+ const isModuleEnabled = useSelect( select => select( STORE_ID ).isModuleEnabled() );
+ const isSavingOptions = useSelect( select => select( STORE_ID ).isUpdatingJetpackSettings() );
+ const isTogglingModule = useSelect( select => select( STORE_ID ).isTogglingModule() );
+
+ const isLoading = useSelect(
+ select =>
+ select( STORE_ID ).isResolving( 'getWordAdsModuleStatus' ) ||
+ ! select( STORE_ID ).hasStartedResolution( 'getWordAdsModuleStatus' )
+ );
+
+ const handleLocalNoticeDismissClick = useDispatch( STORE_ID ).removeNotice;
+ const notices = useSelect( select => select( STORE_ID ).getNotices(), [] );
+
+ const initializeAnalytics = () => {
+ const tracksUser = syncSelect( STORE_ID ).getWpcomUser();
+ const blogId = syncSelect( STORE_ID ).getBlogId();
+
+ if ( tracksUser ) {
+ analytics.initialize( tracksUser.ID, tracksUser.login, {
+ blog_id: blogId,
+ } );
+ }
+ };
+
+ useMemo( () => {
+ const apiRootUrl = syncSelect( STORE_ID ).getAPIRootUrl();
+ const apiNonce = syncSelect( STORE_ID ).getAPINonce();
+ apiRootUrl && restApi.setApiRoot( apiRootUrl );
+ apiNonce && restApi.setApiNonce( apiNonce );
+ initializeAnalytics();
+ analytics.tracks.recordEvent( 'jetpack_wordads_admin_page_view', {
+ current_version: syncSelect( STORE_ID ).getVersion(),
+ } );
+ }, [] );
+
+ return (
+ <Fragment>
+ { isLoading && (
+ <Spinner className="jp-wordads-dashboard-page-loading-spinner" color="#000" size={ 32 } />
+ ) }
+ { ! isLoading && (
+ <AdminPage a8cLogoHref={ aboutPageUrl } moduleName={ __( 'WordAds', 'jetpack-wordads' ) }>
+ <AdminSection>
+ <Container horizontalSpacing={ 5 }>
+ <Col sm={ 4 }>
+ <ModuleControl
+ updateOptions={ updateOptions }
+ isModuleEnabled={ isModuleEnabled }
+ isSavingOptions={ isSavingOptions }
+ isTogglingModule={ isTogglingModule }
+ />
+ </Col>
+ </Container>
+ </AdminSection>
+ </AdminPage>
+ ) }
+ <NoticesList
+ notices={ notices }
+ handleLocalNoticeDismissClick={ handleLocalNoticeDismissClick }
+ />
+ </Fragment>
+ );
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/dashboard/style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/dashboard/style.scss
new file mode 100644
index 00000000..92d3cec8
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/dashboard/style.scss
@@ -0,0 +1,22 @@
+@import 'scss/_variables';
+
+#jp-wordads-dashboard {
+ color: $black;
+ font-size: 16px;
+
+ * {
+ box-sizing: border-box;
+ }
+
+ .jp-wordads-dashboard-page-loading-spinner {
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ transform: translate( -50%, -50% );
+ }
+
+ @include for-phone-down {
+ font-size: 14px;
+ }
+
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/form-toggle/compact.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/compact.jsx
index 72341c8e..b51fc1ce 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/form-toggle/compact.jsx
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/compact.jsx
@@ -3,7 +3,8 @@
*/
import React from 'react';
import classNames from 'classnames';
-import { omit } from 'lodash';
+/*eslint lodash/import-scope: [2, "method"]*/
+import omit from 'lodash/omit';
/**
* Internal dependencies
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/form-toggle/index.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/index.jsx
index 31739fc8..1dce27dd 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/form-toggle/index.jsx
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/index.jsx
@@ -89,26 +89,29 @@ export default class FormToggle extends Component {
return (
<Fragment>
- <input
- className={ toggleClasses }
- type="checkbox"
- checked={ this.props.checked }
- readOnly={ true }
- disabled={ this.props.disabled }
- />
-
- <span
- className={ classNames( 'form-toggle__switch', this.props.switchClassNames ) }
- disabled={ this.props.disabled }
- id={ id }
- onClick={ this.onClick }
- onKeyDown={ this.onKeyDown }
- role="checkbox"
- aria-checked={ this.props.checked }
- aria-label={ this.props[ 'aria-label' ] }
- tabIndex={ this.props.disabled ? -1 : 0 }
- ref="toggleSwitch"
- />
+ <div
+ className={ classNames( 'form-toggle__switch-container', this.props.switchClassNames ) }
+ >
+ <input
+ className={ toggleClasses }
+ type="checkbox"
+ checked={ this.props.checked }
+ readOnly={ true }
+ disabled={ this.props.disabled }
+ />
+ <span
+ className={ classNames( 'form-toggle__switch', this.props.switchClassNames ) }
+ disabled={ this.props.disabled }
+ id={ id }
+ onClick={ this.onClick }
+ onKeyDown={ this.onKeyDown }
+ role="checkbox"
+ aria-checked={ this.props.checked }
+ aria-label={ this.props[ 'aria-label' ] }
+ tabIndex={ this.props.disabled ? -1 : 0 }
+ ref="toggleSwitch"
+ />
+ </div>
<label
className={ classNames( 'form-toggle__label', this.props.labelClassNames ) }
htmlFor={ id }
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/style.scss
new file mode 100644
index 00000000..4ffaa354
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/style.scss
@@ -0,0 +1,130 @@
+@import 'scss/calypso-colors';
+// ==========================================================================
+// FormToggle
+// ==========================================================================
+
+.form-toggle[type="checkbox"] {
+ display: none;
+}
+
+.form-toggle__switch {
+ flex: none;
+ position: relative;
+ display: inline-block;
+ border-radius: 12px;
+ box-sizing: border-box;
+ padding: 2px;
+ width: 40px;
+ height: 24px;
+ vertical-align: middle;
+ outline: 0;
+ cursor: pointer;
+ transition: all .4s ease, box-shadow 0s;
+
+ &:before,
+ &:after {
+ position: relative;
+ display: block;
+ content: "";
+ width: 20px;
+ height: 20px;
+ }
+ &:after {
+ left: 0;
+ border-radius: 50%;
+ background: $white;
+ transition: all .2s ease;
+ }
+ &:before {
+ display: none;
+ }
+ .dops-accessible-focus &:focus{
+ box-shadow: 0 0 0 2px $blue-medium;
+ }
+}
+
+.form-toggle__label {
+ display: flex;
+ cursor: pointer;
+
+ .is-disabled & {
+ cursor: default;
+ }
+}
+
+.form-toggle {
+ .dops-accessible-focus &:focus {
+ + .form-toggle__label .form-toggle__switch {
+ box-shadow: 0 0 0 2px $blue-medium;
+ }
+ &:checked + .form-toggle__label .form-toggle__switch {
+ box-shadow: 0 0 0 2px $blue-light;
+ }
+ }
+
+ & + .form-toggle__label .form-toggle__switch {
+ background: lighten( $gray, 10% );
+ }
+
+ &:not( :disabled ) {
+ + .form-toggle__switch:hover {
+ background: lighten( $gray, 20% );
+ }
+ }
+
+ &:checked{
+ + .form-toggle__label .form-toggle__switch {
+ background: $blue-medium;
+
+ &:after {
+ left: 16px;
+ }
+ }
+ }
+
+ &:checked:not( :disabled ) {
+ + .form-toggle__switch:hover {
+ background: $blue-light;
+ }
+ }
+
+ &:disabled {
+ + span.form-toggle__switch {
+ opacity: 0.25;
+ cursor: default;
+ }
+ }
+}
+
+// Classes for toggle state before action is complete (updating plugin or something)
+.form-toggle.is-toggling {
+ + .form-toggle__switch {
+ background: $blue-medium;
+ }
+ &:checked {
+ + .form-toggle__switch {
+ background: lighten( $gray, 20% );
+ }
+ }
+}
+
+.form-toggle.is-compact {
+ + .form-toggle__switch {
+ border-radius: 8px;
+ width: 24px;
+ height: 16px;
+
+ &:before,
+ &:after {
+ width: 12px;
+ height: 12px;
+ }
+ }
+ &:checked {
+ + .form-toggle__switch {
+ &:after {
+ left: 8px;
+ }
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/test/index.test.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/test/index.test.jsx
new file mode 100644
index 00000000..0f862a82
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/form-toggle/test/index.test.jsx
@@ -0,0 +1,33 @@
+/**
+ * @jest-environment jsdom
+ */
+
+/**
+ * External dependencies
+ */
+import React from 'react';
+import { render, screen } from '@testing-library/react';
+import '@testing-library/jest-dom';
+
+/**
+ * Internal dependencies
+ */
+import CompactFormToggle from 'components/form-toggle/compact';
+
+describe( 'CompactFormToggle', function () {
+ const testProps = {
+ className: 'test-class',
+ };
+ describe( 'rendering', function () {
+ it( 'can render', () => {
+ render( <CompactFormToggle>Toggle Label</CompactFormToggle> );
+ expect( screen.queryByText( 'Toggle Label' ) ).toBeInTheDocument();
+ expect( screen.getAllByRole( 'checkbox' )[ 0 ].className ).toContain( 'is-compact' );
+ } );
+
+ it( 'can render with class name passed in', () => {
+ render( <CompactFormToggle { ...testProps }>Toggle Label</CompactFormToggle> );
+ expect( screen.getAllByRole( 'checkbox' )[ 0 ].className ).toContain( 'test-class' );
+ } );
+ } );
+} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/index.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/index.jsx
index c0df631a..c0df631a 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/index.jsx
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/index.jsx
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/store/actions.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/store/actions.js
index 09c739d0..f90c3712 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/store/actions.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/store/actions.js
@@ -1,7 +1,8 @@
/**
* External dependencies
*/
-import { uniqueId } from 'lodash';
+/*eslint lodash/import-scope: [2, "method"]*/
+import uniqueId from 'lodash/uniqueId';
import { __ } from '@wordpress/i18n';
export const CREATE_NOTICE = 'CREATE_NOTICE';
@@ -46,7 +47,7 @@ export const successNotice = createNotice.bind( null, 'is-success' );
export const errorNotice = createNotice.bind( null, 'is-error' );
export const infoNotice = createNotice.bind( null, 'is-info' );
export const warningNotice = createNotice.bind( null, 'is-warning' );
-export const updatingNotice = ( text = __( 'Updating settings…', 'jetpack-search-pkg' ) ) =>
+export const updatingNotice = ( text = __( 'Updating settings…', 'jetpack-wordads' ) ) =>
createNotice( 'is-info', text, { duration: 30000, id: 'search-updating-settings' } );
export const removeUpdatingNotice = () => removeNotice( 'search-updating-settings' );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/store/reducer.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/store/reducer.js
index e0749197..e0749197 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/store/reducer.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/store/reducer.js
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/store/selectors.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/store/selectors.js
index da2d9829..da2d9829 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/global-notices/store/selectors.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/store/selectors.js
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/style.scss
new file mode 100644
index 00000000..0e9ca237
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/style.scss
@@ -0,0 +1,81 @@
+@import "scss/calypso-colors";
+@import "scss/calypso-mixins";
+@import 'scss/z-index';
+
+.global-notices {
+ text-align: right;
+ pointer-events: none;
+
+ z-index: z-index( 'root', '.global-notices' );
+ position: fixed;
+ top: auto;
+ right: 0;
+ bottom: 0;
+ left: 0;
+
+ @include breakpoint( ">660px" ) {
+ top: 47px + 16px;
+ right: 16px;
+ bottom: auto;
+ left: auto;
+
+ /* `36px` being the width of the collapsed WP-admin sidebar */
+ max-width: calc( 100% - 32px - 36px );
+ }
+
+ @include breakpoint( ">960px" ) {
+ top: 47px + 24px;
+ right: 24px;
+
+ /* `160px` being the width of the WP-admin sidebar */
+ max-width: calc( 100% - 48px - 160px );
+ }
+
+ @include breakpoint( ">1040px" ) {
+ right: 32px;
+
+ /* `160px` being the width of the WP-admin sidebar */
+ max-width: calc( 100% - 64px - 160px );
+ }
+}
+
+.global-notices .dops-notice {
+ flex-wrap: nowrap;
+ margin-bottom: 0;
+ text-align: left;
+ pointer-events: auto;
+ border-radius: 0;
+ box-shadow: 0 2px 5px rgba( 0, 0, 0, 0.2 ),
+ 0 0 56px rgba( 0, 0, 0, 0.15 );
+
+ .dops-notice__icon-wrapper {
+ border-radius: 0;
+ }
+
+ @include breakpoint( ">660px" ) {
+ display: flex;
+ overflow: hidden;
+ margin-bottom: 24px;
+ border-radius: 3px;
+
+ .dops-notice__icon-wrapper {
+ border-radius: 3px 0 0 3px;
+ }
+ }
+}
+
+.global-notices .dops-notice a.dops-notice__action {
+
+ @include breakpoint( ">660px" ) {
+ font-size: 14px;
+ padding: 13px 16px;
+ }
+}
+
+.global-notices .dops-notice__dismiss {
+ flex-shrink: 0;
+
+ @include breakpoint( ">660px" ) {
+ padding: 13px 16px 0;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/test/index.test.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/test/index.test.jsx
new file mode 100644
index 00000000..85ff9a9d
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/global-notices/test/index.test.jsx
@@ -0,0 +1,26 @@
+/**
+ * @jest-environment jsdom
+ */
+
+/**
+ * External dependencies
+ */
+import React from 'react';
+import { render } from '@testing-library/react';
+import '@testing-library/jest-dom';
+
+/**
+ * Internal dependencies
+ */
+import GlobalNotices from 'components/global-notices';
+
+describe( 'GlobalNotices', function () {
+ describe( 'rendering', function () {
+ it( 'can render', () => {
+ const { container } = render(
+ <GlobalNotices notices={ [ { id: 1, status: 'success' } ] } />
+ );
+ expect( container.firstChild.className ).toContain( 'global-notices' );
+ } );
+ } );
+} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/module-control/index.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/module-control/index.jsx
new file mode 100644
index 00000000..f63aa0ee
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/module-control/index.jsx
@@ -0,0 +1,95 @@
+/**
+ * External dependencies
+ */
+import React, { useCallback } from 'react';
+import classNames from 'classnames';
+
+/**
+ * WordPress dependencies
+ */
+import { __ } from '@wordpress/i18n';
+
+/**
+ * Internal dependencies
+ */
+import analytics from '@automattic/jetpack-analytics';
+import Card from 'components/card';
+import CompactFormToggle from 'components/form-toggle/compact';
+
+import 'scss/rna-styles.scss';
+import './style.scss';
+
+const SEARCH_DESCRIPTION = __(
+ 'Earn income by allowing Jetpack to display high quality ads.',
+ 'jetpack-wordads'
+);
+
+/**
+ * Search settings component to be used within the Performance section.
+ *
+ * @param {object} props - Component properties.
+ * @param {Function} props.updateOptions - function to update settings.
+ * @param {boolean} props.isSavingOptions - true if Saving options.
+ * @param {boolean} props.isModuleEnabled - true if WordAds module is enabled.
+ * @param {boolean} props.isTogglingModule - true if toggling WordAds module.
+ * @returns {React.Component} Search settings component.
+ */
+export default function WordAdsModuleControl( {
+ updateOptions,
+ isSavingOptions,
+ isModuleEnabled,
+ isTogglingModule,
+} ) {
+ const toggleSearchModule = useCallback( () => {
+ const newOption = {
+ module_active: ! isModuleEnabled,
+ };
+ updateOptions( newOption );
+ analytics.tracks.recordEvent( 'jetpack_wordads_module_toggle', newOption );
+ }, [ isModuleEnabled, updateOptions ] );
+
+ const renderSearchToggle = () => {
+ return (
+ <div className="jp-form-wordads-settings-group__toggle is-search jp-wordads-dashboard-wrap">
+ <div className="jp-wordads-dashboard-row">
+ <div className="lg-col-span-2 md-col-span-1 sm-col-span-0"></div>
+ <CompactFormToggle
+ checked={ isModuleEnabled }
+ disabled={ isSavingOptions }
+ onChange={ toggleSearchModule }
+ toggling={ isTogglingModule }
+ className="is-wordads-admin"
+ switchClassNames="lg-col-span-1 md-col-span-1 sm-col-span-1"
+ labelClassNames=" lg-col-span-7 md-col-span-5 sm-col-span-3"
+ aria-label={ __( 'Enable WordAds', 'jetpack-wordads' ) }
+ >
+ { __( 'Enable WordAds', 'jetpack-wordads' ) }
+ </CompactFormToggle>
+ <div className="lg-col-span-2 md-col-span-1 sm-col-span-0"></div>
+ </div>
+ <div className="jp-wordads-dashboard-row">
+ <div className="lg-col-span-3 md-col-span-2 sm-col-span-1"></div>
+ <div className="jp-form-wordads-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3">
+ <p className="jp-form-wordads-settings-group__toggle-explanation">
+ { SEARCH_DESCRIPTION }
+ </p>
+ </div>
+ <div className="lg-col-span-2 md-col-span-1 sm-col-span-0"></div>
+ </div>
+ </div>
+ );
+ };
+
+ return (
+ <div className="jp-form-settings-group jp-form-wordads-settings-group">
+ <Card
+ className={ classNames( {
+ 'jp-form-has-child': true,
+ 'jp-form-settings-disable': false,
+ } ) }
+ >
+ <div className="jp-form-wordads-settings-group-inside">{ renderSearchToggle() }</div>
+ </Card>
+ </div>
+ );
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/module-control/style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/module-control/style.scss
new file mode 100644
index 00000000..26ff9d43
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/module-control/style.scss
@@ -0,0 +1,185 @@
+@import 'scss/_variables.scss';
+
+$color-button-background: $black;
+$color-button-text: $white;
+$color-button-background-disabled: #dcdcde;
+$color-button-text-disabled: #a7aaad;
+$toggle-dot-radius: 0.9375em;
+$toggle-dot-padding: 0.1875em;
+$toggle-height: 1.5em;
+$toggle-width: 3em;
+
+.jp-form-wordads-settings-group {
+ width: 100%;
+ .dops-card {
+ box-shadow: none;
+ padding: 0;
+ padding-top: 4em;
+ }
+ .form-toggle__label {
+ margin: 0;
+ }
+}
+
+.jp-form-wordads-settings-group__toggle {
+ &.is-instant-search {
+ margin-top: 4em;
+ }
+ .jp-form-wordads-settings-group__toggle-container {
+ display: flex;
+ @include for-tablet-down {
+ justify-content: center;
+ }
+ }
+}
+
+.form-toggle__label-content {
+ font-size: 1.5em;
+ line-height: 1.167;
+ font-weight: 600;
+ span {
+ font-weight: 400;
+ }
+}
+
+.jp-form-wordads-settings-group__toggle-description {
+ margin-top: 1em;
+}
+
+p.jp-form-wordads-settings-group__toggle-explanation {
+ line-height: 1.5;
+ font-size: 1em;
+ font-weight: 400;
+ margin-bottom: 0;
+ margin-top: 0;
+}
+
+.jp-form-wordads-settings-group-buttons {
+ margin-top: 1.5em;
+}
+
+.jp-form-wordads-settings-group-buttons__button {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ min-height: 2.5em;
+ padding: 0.5em 1.5em;
+ text-align: center;
+
+ border-color: $color-button-background;
+ font-size: 1em;
+
+ &.is-customize-search {
+ color: $color-button-text;
+ background-color: $color-button-background;
+ }
+
+ &:disabled,
+ &[disabled] {
+ background-color: $color-button-background-disabled;
+ border-color: $color-button-background-disabled;
+ color: $color-button-text-disabled;
+ cursor: not-allowed;
+ }
+
+ &.is-widgets-editor {
+ color: $color-button-background;
+ background: transparent;
+ &:disabled,
+ &[disabled] {
+ color: $color-button-text-disabled;
+ background: transparent;
+ }
+ }
+}
+.form-toggle.is-wordads-admin.is-compact {
+ + .form-toggle__switch {
+ border-radius: calc( #{$toggle-height}/ 2 );
+ width: $toggle-width;
+ height: $toggle-height;
+
+ &:before,
+ &:after {
+ width: $toggle-dot-radius;
+ height: $toggle-dot-radius;
+ background-color: $black;
+ }
+ background: $white;
+ border: 2px solid $black;
+
+ &:focus {
+ box-shadow: 0 0 0 2px $blue-medium;
+ }
+ }
+
+ &:checked {
+ + .form-toggle__switch {
+ background: $color-plan;
+ border-color: $color-plan;
+
+ &:after {
+ left: $toggle-height;
+ background-color: $white;
+ }
+ }
+ }
+
+ &.is-toggling + .form-toggle__switch:before,
+ &.is-toggling + .form-toggle__switch:after {
+ left: $toggle-height;
+ }
+
+ &.is-toggling:checked + .form-toggle__switch:before,
+ &.is-toggling:checked + .form-toggle__switch:after {
+ left: 0;
+ }
+}
+
+.jp-wordads-dashboard-cut {
+ position: relative;
+ display: block;
+ margin: 2em 0;
+ padding: 1em 4em 1em 1.5em;
+ border: 2px solid $jp-green-primary;
+ border-radius: $jp-border-radius;
+ text-decoration: none;
+
+ span {
+ display: block;
+
+ &:last-of-type {
+ font-weight: 600;
+ }
+ }
+
+ &:hover,
+ &:focus {
+ span:last-of-type {
+ text-decoration: underline;
+ text-decoration-thickness: $jp-underline-thickness;
+ }
+
+ &:after {
+ transform: translateY( -50% ) translateX( 8px );
+ }
+ }
+
+ &:after {
+ content: '→';
+ position: absolute;
+ top: 50%;
+ right: 1.5em;
+ font-size: 1.5em;
+ font-weight: 600;
+ color: $jp-green-primary;
+ transform: translateY( -50% );
+ transition: transform 0.15s ease-out;
+ }
+}
+
+.jp-wordads-dashboard-row .form-toggle__switch-container.sm-col-span-1 {
+ display: flex;
+ justify-content: center;
+
+ padding-top: 4px;
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/notice/index.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/index.jsx
index 9c1b2e88..a8c0121f 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/notice/index.jsx
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/index.jsx
@@ -4,13 +4,13 @@
import PropTypes from 'prop-types';
import React from 'react';
import classnames from 'classnames';
-import { noop } from 'lodash';
+/*eslint lodash/import-scope: [2, "method"]*/
+import noop from 'lodash/noop';
/**
* Internal dependencies
*/
-// TODO change to our own gridicon component, when instant search is migrated.
-import Gridicon from 'gridicons';
+import { Gridicon } from '@automattic/jetpack-components';
import './style.scss';
export default class SimpleNotice extends React.Component {
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/notice/notice-action.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/notice-action.jsx
index 5a3e8ebb..518857b6 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/components/notice/notice-action.jsx
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/notice-action.jsx
@@ -7,8 +7,7 @@ import React from 'react';
/**
* Internal dependencies
*/
-// TODO change to our own gridicon component, when instant search is migrated.
-import Gridicon from 'gridicons';
+import { Gridicon } from '@automattic/jetpack-components';
import './style.scss';
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/style.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/style.scss
new file mode 100644
index 00000000..ba51000c
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/style.scss
@@ -0,0 +1,283 @@
+@import 'scss/calypso-colors';
+@import 'scss/layout';
+@import 'scss/calypso-mixins';
+@import 'scss/mixin_icons';
+
+.dops-notice {
+ display: flex;
+ position: relative;
+ width: 100%;
+ margin-bottom: 24px;
+ box-sizing: border-box;
+ animation: appear .3s ease-in-out;
+ background: $gray-dark;
+ color: $white;
+ border-radius: 3px;
+ line-height: 1.5;
+
+ // Success!
+ &.is-success {
+ .dops-notice__icon-wrapper {
+ background: $alert-green;
+ }
+ }
+
+ // Warning
+ &.is-warning {
+ .dops-notice__icon-wrapper {
+ background: $alert-yellow;
+ }
+ }
+
+ // Error! OHNO!
+ &.is-error {
+ .dops-notice__icon-wrapper {
+ background: $alert-red;
+ }
+ }
+
+ // General notice
+ &.is-info {
+ .dops-notice__icon-wrapper {
+ background: $blue-medium;
+ }
+ }
+
+ .dops-notice__dismiss {
+ overflow: hidden;
+ }
+
+ &.is-success,
+ &.is-error,
+ &.is-warning,
+ &.is-info {
+ .dops-notice__dismiss {
+ overflow: hidden;
+ }
+ }
+}
+
+.dops-notice__icon-wrapper {
+ background: $gray-text-min;
+ color: $white;
+ display: flex;
+ align-items: baseline;
+ width: 47px;
+ justify-content: center;
+ border-radius: 3px 0 0 3px;
+ flex-shrink: 0;
+ align-self: stretch;
+
+ .gridicon {
+ margin-top: 10px;
+
+ @include breakpoint( ">480px" ) {
+ margin-top: 12px;
+ }
+ }
+}
+
+.dops-notice__content.dops-notice__content {
+ padding: 13px;
+ font-size: 12px;
+ flex-grow: 1;
+
+ @include breakpoint( ">480px" ) {
+ font-size: 14px;
+ }
+ a {
+ text-decoration: underline;
+ color: $white;
+ }
+ a:hover {
+ text-decoration: none;
+ }
+}
+
+.dops-notice__text {
+ a.dops-notice__text-no-underline {
+ text-decoration: none;
+ }
+
+ a,
+ a:visited {
+ text-decoration: underline;
+ color: $white;
+
+ &:hover {
+ color: $white;
+ text-decoration: none;
+ }
+ }
+
+ ul {
+ margin-bottom: 0;
+ margin-left: 0;
+ }
+
+ li {
+ margin-left: 2em;
+ margin-top: 0.5em;
+ }
+
+ p {
+ margin-bottom: 0;
+ margin-top: 0.5em;
+
+ &:first-child {
+ margin-top: 0;
+ }
+ }
+}
+
+.dops-notice__button {
+ cursor: pointer;
+ margin-left: 0.428em;
+}
+
+// "X" for dismissing a notice
+.dops-notice__dismiss {
+ flex-shrink: 0;
+ padding: 12px;
+ cursor: pointer;
+ padding-bottom: 0;
+
+ .gridicon {
+ width: 18px;
+ height: 18px;
+ }
+
+ @include breakpoint( ">480px" ) {
+ padding: 11px;
+ padding-bottom: 0;
+
+ .gridicon {
+ width: 24px;
+ height: 24px;
+ }
+ }
+
+ .dops-notice & {
+ color: $gray-lighten-10;
+
+ &:hover,
+ &:focus {
+ color: $white;
+ }
+ }
+}
+
+// specificity for general `a` elements within notice is too great
+a.dops-notice__action {
+ cursor: pointer;
+ font-size: 12px;
+ font-weight: 400;
+ text-decoration: none;
+ white-space: nowrap;
+ color: $gray-lighten-10;
+ padding: 13px;
+ display: flex;
+ align-items: center;
+
+ @include breakpoint( ">480px" ) {
+ flex-shrink: 1;
+ flex-grow: 0;
+ align-items: center;
+ border-radius: 0;
+ font-size: 14px;
+ margin: 0 0 0 auto; // forces the element to the right;
+ padding: 13px 16px;
+
+ .gridicon {
+ width: 24px;
+ height: 24px;
+ }
+ }
+
+ &:visited {
+ color: $gray-lighten-10;
+ }
+
+ &:hover {
+ color: $white;
+ }
+
+ .gridicon {
+ margin-left: 8px;
+ opacity: 0.7;
+ width: 18px;
+ height: 18px;
+ }
+}
+
+// Compact notices
+.dops-notice.is-compact {
+ display: inline-flex;
+ flex-wrap: nowrap;
+ flex-direction: row;
+ width: auto;
+ border-radius: 3px;
+ min-height: 20px;
+ margin: 0;
+ padding: 0;
+ text-decoration: none;
+ text-transform: none;
+ vertical-align: middle;
+ line-height: 1.5;
+
+ .dops-notice__content {
+ font-size: 12px;
+ padding: 6px 10px;
+ }
+
+ .dops-notice__icon-wrapper {
+ width: 28px;
+
+ .dops-notice__icon {
+ width: 18px;
+ height: 18px;
+ margin: 0;
+ }
+
+ .gridicon {
+ margin-top: 6px;
+ }
+ }
+
+ .dops-notice__dismiss {
+ position: relative;
+ align-self: center;
+ flex: none;
+ margin: 0 8px 0 0;
+ padding: 0;
+
+ .gridicon {
+ width: 18px;
+ height: 18px;
+ }
+ }
+
+ a.dops-notice__action {
+ background: transparent;
+ display: inline-block;
+ margin: 0;
+ font-size: 12px;
+ align-self: center;
+ margin-left: 16px;
+ padding: 0 10px;
+
+ &:hover,
+ &:active,
+ &:focus {
+ background: transparent;
+ }
+
+ .gridicon {
+ margin-left: 8px;
+ width: 14px;
+ height: 14px;
+ vertical-align: sub;
+ opacity: 1;
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/test/index.test.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/test/index.test.jsx
new file mode 100644
index 00000000..10ca1386
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/notice/test/index.test.jsx
@@ -0,0 +1,34 @@
+/**
+ * @jest-environment jsdom
+ */
+
+/**
+ * External dependencies
+ */
+import React from 'react';
+import { render } from '@testing-library/react';
+import '@testing-library/jest-dom';
+
+/**
+ * Internal dependencies
+ */
+import SimpleNotice from 'components/notice';
+
+describe( 'SimpleNotice', function () {
+ const testProps = {
+ className: 'test-class',
+ };
+ describe( 'rendering', function () {
+ it( 'can render', () => {
+ const { container } = render( <SimpleNotice id="1" status="success" /> );
+ expect(
+ container.getElementsByClassName( 'dops-notice__icon-wrapper' ).length
+ ).toBeGreaterThan( 0 );
+ } );
+
+ it( 'can render with class name passed in', () => {
+ const { container } = render( <SimpleNotice { ...testProps }>Toggle Label</SimpleNotice> );
+ expect( container.firstChild.className ).toContain( 'test-class' );
+ } );
+ } );
+} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/index.jsx b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/index.jsx
new file mode 100644
index 00000000..a1335bb6
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/index.jsx
@@ -0,0 +1,45 @@
+/**
+ * External dependencies
+ */
+import ReactDOM from 'react-dom';
+import React from 'react';
+import { ThemeProvider } from '@automattic/jetpack-components';
+
+/**
+ * WordPress dependencies
+ */
+import { createReduxStore, register } from '@wordpress/data';
+
+/**
+ * Internal dependencies
+ */
+import { STORE_ID, storeConfig } from './store';
+import WordAdsDashboard from './components/dashboard';
+
+const store = createReduxStore( STORE_ID, storeConfig );
+register( store );
+
+/**
+ * Mounts the Search Dashboard to #jp-wordads-dashboard if available.
+ */
+function init() {
+ const container = document.getElementById( 'jp-wordads-dashboard' );
+
+ if ( container === null ) {
+ return;
+ }
+
+ ReactDOM.render(
+ <ThemeProvider>
+ <WordAdsDashboard />
+ </ThemeProvider>,
+ container
+ );
+}
+
+// Initialize the dashboard when DOMContentLoaded is fired, or immediately if it already has been.
+if ( document.readyState !== 'loading' ) {
+ init();
+} else {
+ document.addEventListener( 'DOMContentLoaded', init );
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/_variables.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/_variables.scss
new file mode 100644
index 00000000..2b189915
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/_variables.scss
@@ -0,0 +1,55 @@
+//
+// Variables
+//
+@import 'node_modules/@automattic/color-studio/dist/color-variables.scss';
+
+/********* RNA styles *********/
+// Copied from plugins/backup/src/js/components
+
+$font-title-large: 36px;
+$font-title-small: 24px;
+$font-body: 16px;
+$font-label: 12px;
+
+$jp-black: #000000;
+$jp-black-80: #2c3338;
+$jp-white: #ffffff;
+$jp-white-off: #f9f9f6;
+$jp-gray: #dcdcde;
+$jp-gray-off: #e2e2df;
+
+$jp-green-primary: #069e08;
+$jp-green-secondary: #2fb41f;
+
+$jp-border-radius: 4px;
+$jp-menu-border-height: 1px;
+$jp-underline-thickness: 2px;
+/********* Generic styles *********/
+$wp-gray-dark: #23282d;
+$black: #000;
+$white: #fff;
+$blue-medium: #3582c4;
+$color-plan: #069e08; // $studio-jetpack-green-40
+
+/********* Mixins *********/
+@mixin for-phone-up {
+ @media ( min-width: 600px ) {
+ @content;
+ }
+}
+@mixin for-tablet-up {
+ @media ( min-width: 960px ) {
+ @content;
+ }
+}
+
+@mixin for-phone-down {
+ @media ( max-width: 600px ) {
+ @content;
+ }
+}
+@mixin for-tablet-down {
+ @media ( max-width: 960px ) {
+ @content;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/calypso-colors.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/calypso-colors.scss
new file mode 100644
index 00000000..63e23fcc
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/calypso-colors.scss
@@ -0,0 +1,60 @@
+// Blues
+$blue-wordpress: #0087be;
+$blue-light: #78dcfa;
+$blue-medium: #3582c4;
+$blue-dark: #005082;
+$blue-medium-dark: #2271b1;
+$blue-grey-light: #f6f7f7;
+$blue-grey-dark: #0a4b78;
+$light-gray-700: #c3c4c7;
+
+
+// Grays
+$gray-original: #87a6bc;
+$gray: desaturate( $gray-original, 100% ); // Intermediary transform to match dotcom's colors
+
+// $gray color functions:
+//
+// lighten( $gray, 10% )
+// lighten( $gray, 20% )
+// lighten( $gray, 30% )
+// darken( $gray, 10% )
+// darken( $gray, 20% )
+// darken( $gray, 30% )
+//
+// See wordpress.com/design-handbook/colors/ for more info.
+
+$gray-light: lighten( $gray, 33% ); //#f6f6f6
+$gray-dark: darken( $gray, 38% ); //#404040
+
+// $gray-text: ideal for standard, non placeholder text
+// $gray-text-min: minimum contrast needed for WCAG 2.0 AA on white background
+$gray-text: $gray-dark;
+$gray-text-min: darken( $gray, 18% ); //#537994
+
+// Shades of gray
+$gray-lighten-10: lighten( $gray, 10% ); // #a8bece
+$gray-lighten-20: lighten( $gray, 20% ); // #c8d7e1
+$gray-lighten-30: lighten( $gray, 30% ); // #e9eff3
+$gray-darken-10: darken( $gray, 10% ); // #668eaa
+$gray-darken-20: darken( $gray, 20% ); // #4f748e
+$gray-darken-30: darken( $gray, 30% ); // #3d596d
+
+// Oranges
+$orange-jazzy: #f0821e;
+$orange-fire: #d63638;
+
+// Alerts
+$alert-yellow: #f0b849;
+$alert-red: #d94f4f;
+$alert-green: #4ab866;
+$alert-purple: #855DA6;
+
+// Link hovers
+$link-highlight: tint($blue-medium, 20%);
+
+// Essentials
+$white: rgba(255,255,255,1);
+$transparent: rgba(255,255,255,0);
+
+$border-ultra-light-gray: #e8f0f5;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/calypso-mixins.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/calypso-mixins.scss
new file mode 100644
index 00000000..7db8b157
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/calypso-mixins.scss
@@ -0,0 +1,351 @@
+@use "sass:math";
+
+$full-width: 960px;
+$one-col: 660px;
+$mobile: 480px;
+
+$sidebar-width: 269px;
+
+@mixin responsive($width) {
+ @if $width == full-width {
+ @media only screen and (max-width: $full-width) { @content; }
+ }
+ @else if $width == one-col {
+ @media only screen and (max-width: $one-col) { @content; }
+ }
+ @else if $width == mobile {
+ @media only screen and (max-width: $mobile) { @content; }
+ }
+}
+
+@mixin mobile-first-responsive($width) {
+ @if $width == full-width {
+ @media only screen and (min-width: $one-col) { @content; }
+ }
+ @else if $width == full-width-really {
+ @media only screen and (min-width: $full-width) { @content; }
+ }
+ @else if $width == one-col {
+ @media only screen and (min-width: $mobile) { @content; }
+ }
+}
+
+// ==========================================================================
+// Breakpoint Mixin
+// See https://wpcalypso.wordpress.com/devdocs/docs/coding-guidelines/css.md#media-queries
+// ==========================================================================
+
+$breakpoints: 480px, 660px, 960px, 1040px; // Think very carefully before adding a new breakpoint
+
+@mixin breakpoint( $size ){
+ @if type-of($size) == string {
+ $approved-value: 0;
+ @each $breakpoint in $breakpoints {
+ $and-larger: ">" + $breakpoint;
+ $and-smaller: "<" + $breakpoint;
+
+ @if $size == $and-smaller {
+ $approved-value: 1;
+ @media ( max-width: $breakpoint ) {
+ @content;
+ }
+ }
+ @else {
+ @if $size == $and-larger {
+ $approved-value: 2;
+ @media ( min-width: $breakpoint + 1 ) {
+ @content;
+ }
+ }
+ @else {
+ @each $breakpoint-end in $breakpoints {
+ $range: $breakpoint + "-" + $breakpoint-end;
+ @if $size == $range {
+ $approved-value: 3;
+ @media ( min-width: $breakpoint + 1 ) and ( max-width: $breakpoint-end ) {
+ @content;
+ }
+ }
+ }
+ }
+ }
+ }
+ @if $approved-value == 0 {
+ $sizes: "";
+ @each $breakpoint in $breakpoints {
+ $sizes: $sizes + " " + $breakpoint;
+ }
+ // TODO - change this to use @error, when it is supported by node-sass
+ @warn "ERROR in breakpoint( #{ $size } ): You can only use these sizes[ #{$sizes} ] using the following syntax [ <#{ nth( $breakpoints, 1 ) } >#{ nth( $breakpoints, 1 ) } #{ nth( $breakpoints, 1 ) }-#{ nth( $breakpoints, 2 ) } ]";
+ }
+ }
+ @else {
+ $sizes: "";
+ @each $breakpoint in $breakpoints {
+ $sizes: $sizes + " " + $breakpoint;
+ }
+ // TODO - change this to use @error, when it is supported by node-sass
+ @warn "ERROR in breakpoint( #{ $size } ): Please wrap the breakpoint $size in parenthesis. You can use these sizes[ #{$sizes} ] using the following syntax [ <#{ nth( $breakpoints, 1 ) } >#{ nth( $breakpoints, 1 ) } #{ nth( $breakpoints, 1 ) }-#{ nth( $breakpoints, 2 ) } ]";
+ }
+}
+
+
+@mixin calc($property, $expression) {
+ #{$property}: -moz-calc(#{$expression});
+ #{$property}: -o-calc(#{$expression});
+ #{$property}: -webkit-calc(#{$expression});
+ #{$property}: calc(#{$expression});
+}
+
+@mixin clear-fix {
+ &:after {
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+ }
+}
+
+@mixin noticon($char, $size: null) {
+ // This isn't very clean, but... we'll see ;)
+ @if $size != 0 {
+ font-size: $size;
+ }
+ content: $char;
+
+ // Copied verbatim
+ vertical-align: top;
+ text-align: center;
+ display: inline-block;
+ font-family: "Noticons";
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ line-height: 1;
+ text-decoration: inherit;
+ text-transform: none;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
+ speak: none;
+}
+
+@mixin border-box {
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+// Turn a list into a dropdown menu
+@mixin dropdown-menu {
+ display: none;
+ background: $white;
+ float: none;
+ line-height: 46px;
+ min-width: 220px;
+ overflow: visible;
+ padding: 0;
+ position: absolute;
+ width: auto;
+ z-index: 1;
+ box-sizing: border-box;
+ box-shadow: 0 0 2px rgba(0,0,0,0.15), 0 3px 8px rgba(0,0,0,0.1);
+
+ &:after {
+ border: 6px solid transparent;
+ border-bottom-color: $white;
+ content: ' ';
+ height: 0;
+ position: absolute;
+ top: -12px;
+ left: 73px;
+ width: 0;
+ }
+
+ li {
+ display: block;
+ float: none;
+
+ a,
+ a.selected {
+ border-bottom: 1px solid rgba(0,0,0,0.1);
+ color: $blue-wordpress;
+ display: block;
+ float: none;
+ height: auto;
+ margin: 0;
+ padding: 0 14px;
+ text-align: left;
+
+ &:hover {
+ border-bottom: 1px solid rgba(0,0,0,0.1);
+ background: none; // Remove inherited background color
+ color: $link-highlight;
+ box-shadow: none; // Remove inherited box shadow
+ }
+ }
+
+ a.selected {
+ color: $gray-dark;
+ }
+
+ &:last-child a {
+ border-bottom: none; // Last child in the dropdown doesn't need a bottom border
+ }
+ }
+}
+
+// Can't use the @extend in a media query, use this instead
+@mixin clear-text {
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+// courtesy: http://codeboxers.com/sass-mixin-for-transitions/
+@mixin transition($transition-property, $transition-time, $method) {
+ -webkit-transition: $transition-property $transition-time $method;
+ -moz-transition: $transition-property $transition-time $method;
+ -ms-transition: $transition-property $transition-time $method;
+ -o-transition: $transition-property $transition-time $method;
+ transition: $transition-property $transition-time $method;
+}
+
+@mixin box-shadow($shadows...) {
+ -webkit-box-shadow: $shadows;
+ -moz-box-shadow: $shadows;
+ -ms-box-shadow: $shadows;
+ -o-box-shadow: $shadows;
+ box-shadow: $shadows;
+}
+
+@mixin site-icon($size, $icon-size) {
+ position: relative;
+ display: inline-block;
+ width: $size;
+ height: $size;
+ overflow: hidden;
+ background: lighten( $gray, 20% );
+
+ &::before {
+ content: '\f475';
+ display: inline-block;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ font: normal math.div($icon-size, 1) 'Noticons';
+ color: $white;
+ position: absolute;
+ top: 0;
+ left: 0;
+ height: $size;
+ width: $size;
+ line-height: $size;
+ text-align: center;
+ z-index: 0;
+ }
+
+ img {
+ background: $white;
+ position: relative;
+ }
+}
+
+@mixin debug(){
+ box-shadow: 0px 0px 10px $alert-red inset;
+}
+
+@mixin stats-fade-text($toColor) {
+ background-image: linear-gradient(to right, $transparent 0%, $toColor 90%);
+ position: absolute;
+ z-index: 1;
+ left: -48px;
+ top: 0;
+ bottom: 0;
+ content: "";
+ display: block;
+ width: 48px;
+}
+
+@mixin hide-content-accessibly {
+ clip: rect( 1px, 1px, 1px, 1px );
+ height: 1px;
+ overflow: hidden;
+ position: absolute;
+ width: 1px;
+}
+
+// Creates a fading overlay to signify that the content is longer
+// than the space allows.
+@mixin long-content-fade( $direction: right, $size: 20%, $color: #fff, $edge: 0px, $z-index: false) {
+ content: '';
+ display: block;
+ position: absolute;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ pointer-events: none;
+
+ @if $z-index {
+ z-index: $z-index;
+ }
+
+ @if $direction == 'bottom' {
+ background: linear-gradient( to top, rgba( $color, 0 ), $color 90% );
+ left: $edge;
+ right: $edge;
+ top: $edge;
+ bottom: calc(100% - $size);
+ width: auto;
+ }
+
+ @if $direction == 'top' {
+ background: linear-gradient( to bottom, rgba( $color, 0 ), $color 90% );
+ top: calc(100% - $size);
+ left: $edge;
+ right: $edge;
+ bottom: $edge;
+ width: auto;
+ }
+
+ @if $direction == 'left'{
+ background: linear-gradient( to left, rgba( $color, 0 ), $color 90% );
+ top: $edge;
+ left: $edge;
+ bottom: $edge;
+ right: auto;
+ width: $size;
+ height: auto;
+ }
+
+ @if $direction == 'right' {
+ background: linear-gradient( to right, rgba( $color, 0 ), $color 90% );
+ top: $edge;
+ bottom: $edge;
+ right: $edge;
+ left: auto;
+ width: $size;
+ height: auto;
+ }
+}
+
+@mixin placeholder( $lighten-percentage: 30% ) {
+ animation: loading-fade 1.6s ease-in-out infinite;
+ background-color: lighten( $gray, $lighten-percentage );
+ color: transparent;
+
+ &:after {
+ content: '\00a0';
+ }
+}
+
+// Simple animation to make elements appear
+@keyframes appear {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/color-functions.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/color-functions.scss
new file mode 100644
index 00000000..32dddb92
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/color-functions.scss
@@ -0,0 +1,11 @@
+// Add percentage of white to a color
+// Copyright © 2011–2015 thoughtbot. See CREDITS.md#L3
+@function tint($color, $percent){
+ @return mix(white, $color, $percent);
+}
+
+// Add percentage of black to a color
+// Copyright © 2011–2015 thoughtbot. See CREDITS.md#L3
+@function shade($color, $percent){
+ @return mix(black, $color, $percent);
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/functions/colors.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/functions/colors.scss
new file mode 100644
index 00000000..ca475116
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/functions/colors.scss
@@ -0,0 +1,32 @@
+/*
+The MIT License (MIT)
+
+Copyright © 2011–2015 thoughtbot, inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
+documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
+persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+https://github.com/thoughtbot/bourbon
+*/
+
+// Add percentage of white to a color
+// Copyright © 2011–2015 thoughtbot. See CREDITS.md#L3
+@function tint($color, $percent){
+ @return mix(white, $color, $percent);
+}
+
+// Add percentage of black to a color
+// Copyright © 2011–2015 thoughtbot. See CREDITS.md#L3
+@function shade($color, $percent){
+ @return mix(black, $color, $percent);
+} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/functions/rem.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/functions/rem.scss
new file mode 100644
index 00000000..e44a5956
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/functions/rem.scss
@@ -0,0 +1,16 @@
+
+// ======================================================================
+// Rem function
+//
+// Convert px to rem in a readable fashion.
+//
+// Example: font-size: rem( 21px );
+// ======================================================================
+
+@use "sass:math";
+
+$root-font-size: 16px;
+
+@function rem( $pixels, $context: $root-font-size ) {
+ @return math.div($pixels, $context) * 1rem;
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/layout.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/layout.scss
new file mode 100644
index 00000000..369210b2
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/layout.scss
@@ -0,0 +1,95 @@
+@mixin clear-fix {
+ &:after {
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+ }
+}
+
+@mixin noticon($char, $size: null) {
+ // This isn't very clean, but... we'll see ;)
+ @if $size != 0 {
+ font-size: $size;
+ }
+ content: $char;
+
+ // Copied verbatim
+ vertical-align: top;
+ text-align: center;
+ display: inline-block;
+ font-family: "Noticons";
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ line-height: 1;
+ text-decoration: inherit;
+ text-transform: none;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
+ speak: none;
+}
+
+// ==========================================================================
+// Breakpoint Mixin
+// See https://wpcalypso.wordpress.com/devdocs/docs/coding-guidelines/css.md#media-queries
+// ==========================================================================
+
+$breakpoints: 480px, 660px, 960px, 1040px; // Think very carefully before adding a new breakpoint
+
+@mixin breakpoint( $size ){
+ @if type-of($size) == string {
+ $approved-value: 0;
+ @each $breakpoint in $breakpoints {
+ $and-larger: ">" + $breakpoint;
+ $and-smaller: "<" + $breakpoint;
+
+ @if $size == $and-smaller {
+ $approved-value: 1;
+ @media ( max-width: $breakpoint ) {
+ @content;
+ }
+ }
+ @else {
+ @if $size == $and-larger {
+ $approved-value: 2;
+ @media ( min-width: $breakpoint + 1 ) {
+ @content;
+ }
+ }
+ @else {
+ @each $breakpoint-end in $breakpoints {
+ $range: $breakpoint + "-" + $breakpoint-end;
+ @if $size == $range {
+ $approved-value: 3;
+ @media ( min-width: $breakpoint + 1 ) and ( max-width: $breakpoint-end ) {
+ @content;
+ }
+ }
+ }
+ }
+ }
+ }
+ @if $approved-value == 0 {
+ $sizes: "";
+ @each $breakpoint in $breakpoints {
+ $sizes: $sizes + " " + $breakpoint;
+ }
+ // TODO - change this to use @error, when it is supported by node-sass
+ @warn "ERROR in breakpoint( #{ $size } ): You can only use these sizes[ #{$sizes} ] using the following syntax [ <#{ nth( $breakpoints, 1 ) } >#{ nth( $breakpoints, 1 ) } #{ nth( $breakpoints, 1 ) }-#{ nth( $breakpoints, 2 ) } ]";
+ }
+ }
+ @else {
+ $sizes: "";
+ @each $breakpoint in $breakpoints {
+ $sizes: $sizes + " " + $breakpoint;
+ }
+ // TODO - change this to use @error, when it is supported by node-sass
+ @warn "ERROR in breakpoint( #{ $size } ): Please wrap the breakpoint $size in parenthesis. You can use these sizes[ #{$sizes} ] using the following syntax [ <#{ nth( $breakpoints, 1 ) } >#{ nth( $breakpoints, 1 ) } #{ nth( $breakpoints, 1 ) }-#{ nth( $breakpoints, 2 ) } ]";
+ }
+}
+
+#jp-plugin-container {
+ min-height: 100vh;
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/mixin_breakpoint.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/mixin_breakpoint.scss
new file mode 100644
index 00000000..035bf650
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/mixin_breakpoint.scss
@@ -0,0 +1,58 @@
+// ==========================================================================
+// Breakpoint Mixin
+// See https://wpcalypso.wordpress.com/devdocs/docs/coding-guidelines/css.md#media-queries
+// ==========================================================================
+
+$breakpoints: 480px, 660px, 960px, 1040px; // Think very carefully before adding a new breakpoint
+
+@mixin breakpoint( $size ){
+ @if type-of($size) == string {
+ $approved-value: 0;
+ @each $breakpoint in $breakpoints {
+ $and-larger: ">" + $breakpoint;
+ $and-smaller: "<" + $breakpoint;
+
+ @if $size == $and-smaller {
+ $approved-value: 1;
+ @media ( max-width: $breakpoint ) {
+ @content;
+ }
+ }
+ @else {
+ @if $size == $and-larger {
+ $approved-value: 2;
+ @media ( min-width: $breakpoint + 1 ) {
+ @content;
+ }
+ }
+ @else {
+ @each $breakpoint-end in $breakpoints {
+ $range: $breakpoint + "-" + $breakpoint-end;
+ @if $size == $range {
+ $approved-value: 3;
+ @media ( min-width: $breakpoint + 1 ) and ( max-width: $breakpoint-end ) {
+ @content;
+ }
+ }
+ }
+ }
+ }
+ }
+ @if $approved-value == 0 {
+ $sizes: "";
+ @each $breakpoint in $breakpoints {
+ $sizes: $sizes + " " + $breakpoint;
+ }
+ // TODO - change this to use @error, when it is supported by node-sass
+ @warn "ERROR in breakpoint( #{ $size } ): You can only use these sizes[ #{$sizes} ] using the following syntax [ <#{ nth( $breakpoints, 1 ) } >#{ nth( $breakpoints, 1 ) } #{ nth( $breakpoints, 1 ) }-#{ nth( $breakpoints, 2 ) } ]";
+ }
+ }
+ @else {
+ $sizes: "";
+ @each $breakpoint in $breakpoints {
+ $sizes: $sizes + " " + $breakpoint;
+ }
+ // TODO - change this to use @error, when it is supported by node-sass
+ @warn "ERROR in breakpoint( #{ $size } ): Please wrap the breakpoint $size in parenthesis. You can use these sizes[ #{$sizes} ] using the following syntax [ <#{ nth( $breakpoints, 1 ) } >#{ nth( $breakpoints, 1 ) } #{ nth( $breakpoints, 1 ) }-#{ nth( $breakpoints, 2 ) } ]";
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/mixin_icons.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/mixin_icons.scss
new file mode 100644
index 00000000..d99666e8
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/mixin_icons.scss
@@ -0,0 +1,16 @@
+@mixin clear-text-icon {
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ display: inline-block;
+ vertical-align: middle;
+}
+
+@mixin dashicons {
+ @include clear-text-icon;
+ font: normal 16px/1 'Dashicons';
+}
+
+@mixin noticons {
+ @include clear-text-icon;
+ font: normal 16px/1 'Noticons';
+} \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/rna-styles.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/rna-styles.scss
new file mode 100644
index 00000000..16147093
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/rna-styles.scss
@@ -0,0 +1,74 @@
+@import './_variables.scss';
+
+.jp-wordads-dashboard-wrap {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-flow: column nowrap;
+ width: 100%;
+ margin: 0 auto;
+}
+
+.jp-wordads-dashboard-row {
+ display: grid;
+ grid-gap: 24px;
+ grid-template-columns: repeat( 4, 1fr );
+ width: calc( 100% - 32px );
+ margin: 0 16px;
+
+ @include for-phone-up {
+ grid-template-columns: repeat( 8, 1fr );
+ width: calc( 100% - 36px );
+ margin: 0 18px;
+ }
+
+ @include for-tablet-up {
+ grid-template-columns: repeat( 12, 1fr );
+ max-width: 1128px;
+ width: calc( 100% - 48px );
+ margin: 0 24px;
+ }
+
+ @for $i from 1 through 4 {
+ .sm-col-span-#{$i} {
+ grid-column-end: span #{$i};
+ }
+ }
+
+ @include for-phone-up {
+ @for $i from 1 through 8 {
+ .md-col-span-#{$i} {
+ grid-column-end: span #{$i};
+ }
+ }
+ }
+
+ @include for-tablet-up {
+ @for $i from 1 through 12 {
+ .lg-col-span-#{$i} {
+ grid-column-end: span #{$i};
+ }
+ }
+ }
+
+ @include for-tablet-up {
+ .lg-col-span-0 {
+ display: none;
+ }
+ }
+
+ @include for-tablet-down {
+ .md-col-span-0 {
+ display: none;
+ }
+ }
+
+ @include for-phone-down {
+ .sm-col-span-0 {
+ display: none;
+ }
+ .sm-col-span-1 {
+ display: block;
+ }
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/typography.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/typography.scss
new file mode 100644
index 00000000..631b1067
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/typography.scss
@@ -0,0 +1,43 @@
+// ==========================================================================
+// TYPOGRAPHY
+// ==========================================================================
+
+$normal: 400; // Change these values when using custom fonts
+$bold: 700; // For example, bold could change to 400;
+
+// Typefaces
+$monospace: Monaco, Consolas, 'courier new', "Andale Mono", monospace;
+$serif: Georgia, "Times New Roman", Times, serif;
+$sans: Helvetica, Arial, sans-serif;
+$open-sans: 'Open Sans', $sans; // 300 400 400i 600 700 700i 800
+$merriweather: 'Merriweather', $serif; // 900 700
+$calluna: "calluna-1","calluna-2", Georgia, "Times New Roman", Times, serif;
+$helvetica: "Helvetica Neue", $sans;
+$helvetica-ultralight: HelveticaNeue-UltraLight, 'Helvetica Neue UltraLight', 'Helvetica Neue', $sans;
+$helvetica-light: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', $sans;
+$arial: Arial, Helvetica, Sans-serif;
+$gill-sans: "Gill Sans", "Gill Sans MT", "Trebuchet MS", $sans;
+
+// Icons
+$genericons: 'Genericons', Arial, sans-serif;
+$dashicons: 'Dashicons', Arial, sans-serif;
+$noticons: 'Noticons', Arial, sans-serif;
+$automatticons: 'automatticons', Arial, sans-serif;
+
+// NOTE:
+// If there are exceptions to these stacks,
+// please mark them with a //typography-exception comment
+// so we can easily search for them later.
+
+// Typography size variables
+
+$font-headline-large: rem( 54px );
+$font-headline-medium: rem( 48px );
+$font-headline-small: rem( 36px );
+$font-title-large: rem( 32px );
+$font-title-medium: rem( 24px );
+$font-title-small: rem( 20px );
+$font-body: rem( 16px );
+$font-body-small: rem( 14px );
+$font-body-extra-small: rem( 12px );
+$font-code: rem( 15px ); \ No newline at end of file
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/z-index.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/z-index.scss
new file mode 100644
index 00000000..d07d0fb6
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/z-index.scss
@@ -0,0 +1,233 @@
+// ==========================================================================
+// A nested map of all of our z-index values.
+//
+// Please add new values relative to their parent stacking context. For
+// example the values of 'root' are elements with a stacking context that have no
+// parents with a stacking context, other than the default html root.
+//
+// A Stacking Context is created when:
+// 1. It's the root element (HTML)
+// 2. Has a position other than static, with a z-index value
+// 3. position:fixed
+// 4. Has one of the following css properties: (transform, opacity<1, mix-blend-mode, filter)
+// 5. isolation:isolate
+// 6: -webkit-overflow-scrolling: touch
+//
+// So before adding a new z-index:
+// 1. You'll want to make sure the element actually creates a stacking context
+// 2. Look up what its parent stacking context is
+// You can run this handy gist: https://gist.github.com/gwwar/2f661deec7b99a1a418b in the console to find both.
+//
+// For readability please sort values from lowest to highest.
+//
+// Usage:
+// .environment-badge {
+// z-index: z-index( 'root' '.environment-badge' );
+// }
+//
+// For a refresher on stacking contexts see:
+// https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context
+// ==========================================================================
+
+$z-layers: (
+ 'root': (
+ '.translator-invitation:before': -1,
+ '.NuxWelcome:before': -1,
+ '.infinite-scroll-end:before': -1,
+ '.is-group-editor::before': -1,
+ '.site-icon.is-blank .gridicon': 0,
+ '.dops-chart__bar-section.is-spacer': 0,
+ '.gear-dropdown:after': 0,
+ '.plan-compare-card__ribbon': 1,
+ '.reader__featured-post-title': 1,
+ '.reader-list-gap__button': 1,
+ '.post-trends__title': 1,
+ '.plugin-item__label': 1,
+ '.wp-editor-tools': 1,
+ '.plan .gridicons-checkmark-circle': 1,
+ '.plan-discount-message': 1,
+ '.editor__switch-mode': 1,
+ '.auth__form .form-fieldset input': 1,
+ '.dops-chart__empty': 1,
+ '.dops-chart__bar-marker': 1,
+ '.dops-chart__bar-section.is-ghost::after': 1,
+ '.billing-history-page .filter-popover-content': 1,
+ '.module-content-table::after': 1,
+ '.stats-popular__empty': 1,
+ '.menus__menu-item.is-lander': 1,
+ '.people-list-item__label': 1,
+ '.is-actionable .theme__active-focus': 1,
+ '.dops-accessible-focus .current-theme__button:focus': 1,
+ '.signup-processing-screen__processing-step.is-processing:before': 1,
+ '.dops-accessible-focus .theme__more-button button:focus': 1,
+ '.reader-update-notice': 2,
+ '.people-list-item .card__link-indicator': 2,
+ '.updated-confirmation': 2,
+ '.auth__form .form-fieldset input:focus': 2,
+ '.toolbar-bulk': 2,
+ '.menus__menu-item': 2,
+ '.menus__menu-item-open:before': 2,
+ '.dops-chart__bar-section': 2,
+ '.module-content-table tbody th:first-child': 2,
+ 'ul.module-header-actions .module-header-action-link': 2,
+ '.stats-module.is-loading .module-header-title::after': 2,
+ 'ul.module-content-list-item-action-submenu': 2,
+ 'ul.module-content-list-item-actions': 2,
+ '.site-indicator__button': 3,
+ 'ul.module-content-list-item-actions.collapsed': 3,
+ '.auth__input-wrapper .gridicon': 3,
+ '.auth__self-hosted-instructions': 4,
+ '.auth__form .form-password-input__toggle-visibility': 4,
+ '.site-selector': 10,
+ '.editor-featured-image__preview.is-transient::after': 10,
+ '.wp-secondary .site-selector': 10,
+ '.range__label': 10,
+ '.sticky-panel.is-sticky .sticky-panel__content': 20,
+ '.editor-featured-image .editor-drawer-well__remove': 20,
+ '.main': 20, //TODO: this doesn't always have a stacking context
+ //'tinymce-toolbar': 20, client/components/tinymce/index.jsx
+ '.dops-search': 22,
+ '#translator-launcher': 99,
+ '.author-selector__popover.popover': 100,
+ '.dops-search.is-pinned': 170,
+ '.dops-select-dropdown.is-open .dops-select-dropdown__container': 170,
+ '.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container': 170,
+ '.sites-dropdown.is-open .sites-dropdown__wrapper' : 170,
+ '.popover.editor-visibility__popover': 179,
+ '.feature-example__gradient': 179,
+ '.global-notices': 179,
+ '.notices-list.is-pinned': 180,
+ '.notices-list.is-pinned .notice': 180,
+ '.masterbar': 180,
+ '.detail-page__backdrop': 190,
+ '.layout__loader': 200,
+ '.offline-status': 200,
+ '.reader-post-images__full-list': 200,
+ '.environment-badge': 999,
+ '.customizer-loading-panel__muse-status': 999,
+ '.customizer-loading-panel__placeholder-change-theme': 999,
+ '.module-overlay': 1000,
+ '.drop-zone': 1000,
+ '.dops-popover': 1000,
+ '.sharing-buttons-preview-buttons__more': 1000,
+ '.sortable-list__item.is-draggable.is-active': 1000,
+ '.dops-chart__tooltip': 1000,
+ '.drop-zone__content': 1010,
+ '.wp-overlay': 9999,
+ '.dropdown-menu': 9999,
+ '.main.customize.is-iframe': 9999,
+ '.fullscreen-overlay': 100005,
+ '#wp_editbtns': 100020,
+ '#wp-fullscreen-body': 100010,
+ '.wp-fullscreen-wrap': 100015,
+ '#wp-fullscreen-statusbar': 100020,
+ '#fullscreen-topbar': 100020,
+ '.wp-fullscreen-active #TB_overlay': 100050,
+ '.wp-fullscreen-active #TB_window': 100051,
+ 'div.mce-inline-toolbar-grp': 100100,
+ '.dialog__backdrop': 100200,
+ '.wplink__dialog.dialog.card': 100200,
+ '.web-preview': 100200,
+ '.category-selector__add-category-info': 100201,
+ '.dops-popover.is-dialog-visible': 100300,
+ 'body .webui-popover': 100300,
+ '.fullscreen-fader': 200000,
+ '.guided-tours__overlay': 200050,
+ '.guided-tours__step': 201000,
+ '#habla_window_div.habla_window_div_base': 99999999 //olark
+ ),
+ '.plan-compare-card__ribbon': (
+ '.plan-compare-card__ribbon-title::before': -1,
+ '.plan-compare-card__ribbon-title::after': -1
+ ),
+ '.environment-badge': (
+ '.environment-badge .environment::before': -1,
+ '.environment-badge .bug-report': 1000
+ ),
+ '.masterbar': (
+ '.masterbar__notifications-bubble': 99999
+ ),
+ '.detail-page__backdrop': (
+ '.detail-page__action-buttons': 200
+ ),
+ '.toolbar-bulk': (
+ '.toolbar-bulk__check-all': 1,
+ '.toolbar-bulk__selection-options': 1,
+ '.toolbar-bulk__more-actions': 1,
+ '.plugins .toolbar-bulk__toggle': 21,
+ '.toolbar-bulk__toggle': 30
+ ),
+ '.dops-popover': (
+ '.input-chrono__container .gridicons-calendar': 0,
+ 'input.input-chrono': 1,
+ '.dops-popover .dops-popover__arrow': 1,
+ '.post-schedule__header': 1
+ ),
+ '.dops-search': (
+ '.dops-search__input': 10,
+ '.dops-search.is-searching .dops-spinner': 20,
+ '.dops-search .dops-search__open-icon': 20,
+ '.dops-search .dops-search__close-icon': 20
+ ),
+ '.profile-gravatar__edit-label-wrap': (
+ '.profile-gravatar__edit-label-wrap:after': 0,
+ '.profile-gravatar__edit-label': 1000
+ ),
+ '.media-library__list-item': (
+ '.media-library__list-item.is-selected::after': 10,
+ '.media-library__list-item.is-transient .media-library__list-item-figure::after': 10,
+ '.media-library__list-item-selected-icon .gridicon': 20,
+ '.media-library__list-item-spinner': 20,
+ '.media-library__list-item-edit': 20
+ ),
+ '.dialog__backdrop': (
+ '.editor-media-modal .section-nav': 10,
+ '.editor-media-modal .notice': 10,
+ '.editor-media-modal-gallery__preview-toggle': 100,
+ '.editor-contact-form-modal .section-nav': 10
+ ),
+ '.following-edit': ( //aka 'main'
+ '.following-edit__subscribe-form .gridicons-add-outline': 23,
+ '.following-edit__subscribe-form .card.is-search-result': 35
+ ),
+
+ // The following may be inserted into different areas.
+ // The parent stacking context may be root, or something else depending on where it is inserted.
+ 'icon-parent': (
+ '.sidebar__menu .gridicon.gridicons-external': 1,
+ '.sidebar__menu .noticon-external': 1
+ ),
+ 'screen-reader-text-parent': (
+ '.screen-reader-text:focus': 100000
+ ),
+ 'button-group-parent': (
+ '.button-group .button:focus': 1
+ ),
+ 'progress-indicator-parent': (
+ '.progress-indicator__cancel.noticon:before': 1,
+ '.progress-indicator .is-success': 2
+ ),
+ 'dops-section-nav-tabs__dropdown-parent': (
+ '.dops-section-nav-tabs__dropdown': 3,
+ '.dops-section-nav-tabs__dropdown.is-open': 4
+ ),
+ 'reader-card-follow-button-parent': (
+ '.reader__card.card .follow-button': 1
+ )
+);
+
+// allows us to do a nested fetch
+@function map-deep-get( $map, $keys... ) {
+ @each $key in $keys {
+ @if not map-has-key( $map, $key) {
+ @warn "No layer found for `#{$key}` of `[#{ $keys }]` in $z-layers map. Property omitted.";
+ @return map-get( $map, $key );
+ }
+ $map: map-get( $map, $key );
+ }
+ @return $map;
+}
+
+@function z-index( $keys... ) {
+ @return map-deep-get( $z-layers, $keys... );
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/index.js
index 3b831225..51cfcd8b 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/index.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/index.js
@@ -2,12 +2,10 @@
* Internal dependencies
*/
import siteSettingActions from './jetpack-settings';
-import sitePlanActions from './site-plan';
import noticeActions from 'components/global-notices/store/actions';
const actions = {
...siteSettingActions,
- ...sitePlanActions,
...noticeActions,
};
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/jetpack-settings.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/jetpack-settings.js
index acf807a9..35b07ac5 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/actions/jetpack-settings.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/jetpack-settings.js
@@ -1,9 +1,17 @@
/**
+ * External dependencies
+ */
+/*eslint lodash/import-scope: [2, "method"]*/
+import pick from 'lodash/pick';
+import { select } from '@wordpress/data';
+import { __ } from '@wordpress/i18n';
+
+/**
* Internal dependencies
*/
import {
- fetchJetpackSettings,
- updateJetpackSettings as updateJetpackSettingsControl,
+ fetchWordAdsSettings,
+ updateWordAdsSettings as updateJetpackSettingsControl,
} from '../controls';
import {
removeUpdatingNotice,
@@ -11,31 +19,31 @@ import {
errorNotice,
successNotice,
} from 'components/global-notices/store/actions';
-import { __ } from '@wordpress/i18n';
+import { STORE_ID } from '../../store';
-export const SET_JETPACK_SETTINGS = 'SET_JETPACK_SETTINGS';
-export const TOGGLE_SEARCH_MODULE = 'TOGGLE_SEARCH_MODULE';
+export const SET_WORDADS_SETTINGS = 'SET_WORDADS_SETTINGS';
+export const TOGGLE_WORDADS_MODULE = 'TOGGLE_WORDADS_MODULE';
/**
- * Yield actions to update Search Settings
+ * Yield actions to update WordAds Settings
*
* @param {object} settings - settings to apply.
- * @param {object} oldSettings - Old settings.
* @yields {object} - an action object.
* @returns {object} - an action object.
*/
-export function* updateJetpackSettings( settings, oldSettings ) {
+export function* updateJetpackSettings( settings ) {
try {
yield updatingNotice();
- yield setJetpackSettings( settings );
yield setUpdatingJetpackSettings();
+ yield setJetpackSettings( settings );
yield updateJetpackSettingsControl( settings );
- const updatedSettings = yield fetchJetpackSettings();
+ const updatedSettings = yield fetchWordAdsSettings();
yield setJetpackSettings( updatedSettings );
- return successNotice( __( 'Updated settings.', 'jetpack-search-pkg' ) );
+ return successNotice( __( 'Updated settings.', 'jetpack-wordads' ) );
} catch ( e ) {
+ const oldSettings = pick( select( STORE_ID ).getWordAdsModuleStatus(), [ 'module_active' ] );
yield setJetpackSettings( oldSettings );
- return errorNotice( __( 'Error Update settings…', 'jetpack-search-pkg' ) );
+ return errorNotice( __( 'Error Update settings…', 'jetpack-wordads' ) );
} finally {
yield removeUpdatingNotice();
yield setUpdatingJetpackSettingsDone();
@@ -67,7 +75,7 @@ export function setUpdatingJetpackSettingsDone() {
* @returns {object} - an action object.
*/
export function setJetpackSettings( options ) {
- return { type: SET_JETPACK_SETTINGS, options };
+ return { type: SET_WORDADS_SETTINGS, options };
}
export default { updateJetpackSettings, setJetpackSettings };
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/test/jetpack-settings.test.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/test/jetpack-settings.test.js
new file mode 100644
index 00000000..b0f3e302
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/actions/test/jetpack-settings.test.js
@@ -0,0 +1,31 @@
+/**
+ * @jest-environment jsdom
+ */
+/**
+ * Internal dependencies
+ */
+import { updateJetpackSettings } from '../jetpack-settings';
+
+describe( 'Jetpack Settings updateJetpackSettings action', () => {
+ const action = updateJetpackSettings( undefined, undefined );
+ test( 'yield setJetpackSettings state to new one', () => {
+ // Create notice 'Updating'.
+ expect( action.next().value.type ).toEqual( 'CREATE_NOTICE' );
+ // Set state updating flag.
+ expect( action.next().value.type ).toEqual( 'SET_WORDADS_SETTINGS' );
+ // Set state to the target state.
+ expect( action.next().value.type ).toEqual( 'SET_WORDADS_SETTINGS' );
+ // Post new settings to API.
+ expect( action.next().value.type ).toEqual( 'UPDATE_WORDADS_SETTINGS' );
+ // Fetch settings from API.
+ expect( action.next().value.type ).toEqual( 'FETCH_WORDADS_SETTINGS' );
+ // Set fetched setting from above step.
+ expect( action.next().value.type ).toEqual( 'SET_WORDADS_SETTINGS' );
+ // Remove 'Updating' notice.
+ expect( action.next().value.type ).toEqual( 'REMOVE_NOTICE' );
+ // Remove state updating flag.
+ expect( action.next().value.type ).toEqual( 'SET_WORDADS_SETTINGS' );
+ // Create success notice.
+ expect( action.next().value.type ).toEqual( 'CREATE_NOTICE' );
+ } );
+} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/controls.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/controls.js
new file mode 100644
index 00000000..a74f0a79
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/controls.js
@@ -0,0 +1,40 @@
+/**
+ * Internal dependencies
+ */
+import restApi from '@automattic/jetpack-api';
+
+export const FETCH_WORDADS_SETTINGS = 'FETCH_WORDADS_SETTINGS';
+export const UPDATE_WORDADS_SETTINGS = 'UPDATE_WORDADS_SETTINGS';
+
+/**
+ * fetchJetpackSettings action
+ *
+ * @returns {object} - an action object.
+ */
+export const fetchWordAdsSettings = () => {
+ return {
+ type: FETCH_WORDADS_SETTINGS,
+ };
+};
+
+/**
+ * updateJetpackSettings action
+ *
+ * @param {*} settings - Jetpack settings object.
+ * @returns {object} - an action object.
+ */
+export const updateWordAdsSettings = settings => {
+ return {
+ type: UPDATE_WORDADS_SETTINGS,
+ settings,
+ };
+};
+
+export default {
+ [ FETCH_WORDADS_SETTINGS ]: function () {
+ return restApi.fetchWordAdsSettings();
+ },
+ [ UPDATE_WORDADS_SETTINGS ]: function ( action ) {
+ return restApi.updateWordAdsSettings( action.settings );
+ },
+};
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/index.js
index 56b96527..bc2f5bd8 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/index.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/index.js
@@ -7,12 +7,12 @@ import selectors from './selectors';
import resolvers from './resolvers';
import controls from './controls';
-export const STORE_ID = 'jetpack-search-plugin';
+export const STORE_ID = 'jetpack-wordads-plugin';
export const storeConfig = {
reducer,
actions,
selectors,
resolvers,
controls,
- initialState: window.JETPACK_SEARCH_DASHBOARD_INITIAL_STATE || {},
+ initialState: window.WORDADS_DASHBOARD_INITIAL_STATE || {},
};
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/feature.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/feature.js
new file mode 100644
index 00000000..f48b1801
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/feature.js
@@ -0,0 +1,5 @@
+const features = ( state = [] ) => {
+ return state;
+};
+
+export default features;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/index.js
index cf734005..0c4f50a1 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/index.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/index.js
@@ -9,14 +9,14 @@ import { combineReducers } from '@wordpress/data';
import siteData from './site-data';
import userData from './user-data';
import jetpackSettings from './jetpack-settings';
-import sitePlan from './site-plan';
+import features from './feature';
import notices from 'components/global-notices/store/reducer';
const reducer = combineReducers( {
siteData,
jetpackSettings,
- sitePlan,
userData,
+ features,
notices,
} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/jetpack-settings.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/jetpack-settings.js
index 1a1fc138..407d5e5b 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/jetpack-settings.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/jetpack-settings.js
@@ -1,11 +1,11 @@
/**
* Internal dependencies
*/
-import { SET_JETPACK_SETTINGS } from '../actions/jetpack-settings';
+import { SET_WORDADS_SETTINGS } from '../actions/jetpack-settings';
const jetpackSettings = ( state = {}, action ) => {
switch ( action.type ) {
- case SET_JETPACK_SETTINGS:
+ case SET_WORDADS_SETTINGS:
return {
...state,
...action.options,
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/site-data.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/site-data.js
new file mode 100644
index 00000000..8e1a578d
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/site-data.js
@@ -0,0 +1,5 @@
+const siteData = ( state = {} ) => {
+ return state;
+};
+
+export default siteData;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/test/jetpack-settings.test.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/test/jetpack-settings.test.js
new file mode 100644
index 00000000..61472997
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/test/jetpack-settings.test.js
@@ -0,0 +1,66 @@
+/**
+ * @jest-environment jsdom
+ */
+/**
+ * Internal dependencies
+ */
+import { setJetpackSettings } from '../../actions/jetpack-settings';
+import reducer from '../jetpack-settings';
+
+describe( 'Jetpack Settings Reducer', () => {
+ const initState = {
+ module_active: true,
+ instant_search_enabled: false,
+ is_updating: false,
+ };
+ test( 'defaults to empty', () => {
+ const state = reducer( undefined, {} );
+ expect( state ).toEqual( {} );
+ } );
+ test( 'init set jetpackSettings', () => {
+ const expected = {
+ module_active: true,
+ instant_search_enabled: false,
+ is_toggling_instant_search: false,
+ is_toggling_module: false,
+ };
+ const newSettings = {
+ module_active: true,
+ instant_search_enabled: false,
+ };
+ const state = reducer( undefined, setJetpackSettings( newSettings ) );
+ expect( state ).toEqual( expected );
+ } );
+ test( 'toggle instant search', () => {
+ const newSettings = {
+ module_active: true,
+ instant_search_enabled: true,
+ is_updating: true,
+ };
+ const expected = {
+ module_active: true,
+ instant_search_enabled: true,
+ is_toggling_instant_search: true,
+ is_toggling_module: false,
+ is_updating: true,
+ };
+ const state = reducer( initState, setJetpackSettings( newSettings ) );
+ expect( state ).toEqual( expected );
+ } );
+ test( 'toggle search', () => {
+ const newSettings = {
+ module_active: false,
+ instant_search_enabled: false,
+ is_updating: true,
+ };
+ const expected = {
+ module_active: false,
+ instant_search_enabled: false,
+ is_toggling_instant_search: false,
+ is_toggling_module: true,
+ is_updating: true,
+ };
+ const state = reducer( initState, setJetpackSettings( newSettings ) );
+ expect( state ).toEqual( expected );
+ } );
+} );
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/user-data.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/user-data.js
index 17af1898..17af1898 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/reducer/user-data.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/reducer/user-data.js
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/resolvers.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/resolvers.js
new file mode 100644
index 00000000..ed7fefdd
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/resolvers.js
@@ -0,0 +1,30 @@
+/**
+ * External dependencies
+ */
+import { __ } from '@wordpress/i18n';
+
+/**
+ * Internal dependencies
+ */
+import { fetchWordAdsSettings } from './controls';
+import { setJetpackSettings } from './actions/jetpack-settings';
+import { errorNotice } from '../components/global-notices/store/actions';
+
+/**
+ * Yield actions to get Search Module Status
+ *
+ * @yields {object} - an action object.
+ * @returns {object} - an action object.
+ */
+export function* getWordAdsModuleStatus() {
+ try {
+ const settings = yield fetchWordAdsSettings();
+ if ( settings ) {
+ return setJetpackSettings( settings );
+ }
+ } catch ( e ) {
+ return errorNotice( __( 'Error fetching settings…', 'jetpack-wordads' ) );
+ }
+}
+
+export default { getWordAdsModuleStatus };
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/feature.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/feature.js
new file mode 100644
index 00000000..b9beed07
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/feature.js
@@ -0,0 +1,7 @@
+const featureSelectors = {
+ isFeatureEnabled: ( state, feature ) => {
+ return Array.isArray( state.features ) && state.features.includes( feature );
+ },
+};
+
+export default featureSelectors;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/index.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/index.js
index 8020ea19..6c0b30e1 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/index.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/index.js
@@ -3,16 +3,16 @@
*/
import siteDataSelectors from './site-data';
import jetpackSettingSelectors from './jetpack-settings';
-import sitePlanSelectors from './site-plan';
import userDataSelectors from './user-data';
import noticeSelectors from 'components/global-notices/store/selectors';
+import featureSelectors from './feature';
const selectors = {
...siteDataSelectors,
...jetpackSettingSelectors,
- ...sitePlanSelectors,
...userDataSelectors,
...noticeSelectors,
+ ...featureSelectors,
};
export default selectors;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/jetpack-settings.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/jetpack-settings.js
index 6cd876c4..546a5c67 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/jetpack-settings.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/jetpack-settings.js
@@ -1,5 +1,5 @@
const jetpackSettingSelectors = {
- getSearchModuleStatus: state => state.jetpackSettings,
+ getWordAdsModuleStatus: state => state.jetpackSettings,
isModuleEnabled: state => state.jetpackSettings.module_active,
isInstantSearchEnabled: state => state.jetpackSettings.instant_search_enabled,
isUpdatingJetpackSettings: state => state.jetpackSettings.is_updating,
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/site-data.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/site-data.js
index 5669e52d..6bd46a8a 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/site-data.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/site-data.js
@@ -3,7 +3,6 @@ const siteDataSelectors = {
getAPINonce: state => state.siteData?.WP_API_nonce ?? null,
getRegistrationNonce: state => state.siteData?.registrationNonce ?? null,
getSiteAdminUrl: state => state.siteData?.adminUrl ?? null,
- isInstantSearchPromotionActive: state => state.siteData?.showPromotions ?? true,
getBlogId: state => state.siteData?.blogId ?? 0,
getVersion: state => state.siteData?.version ?? 'development',
getCalypsoSlug: state => state.siteData?.calypsoSlug,
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/user-data.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/user-data.js
index 6e5ac9d3..6e5ac9d3 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/user-data.js
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/store/selectors/user-data.js
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/initializers/class-initializer.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/initializers/class-initializer.php
new file mode 100644
index 00000000..b08ee6c2
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/initializers/class-initializer.php
@@ -0,0 +1,123 @@
+<?php
+/**
+ * Initializer base class.
+ *
+ * @package @automattic/jetpack-wordads
+ */
+
+namespace Automattic\Jetpack\WordAds;
+
+use Automattic\Jetpack\Connection\Manager as Connection_Manager;
+use Automattic\Jetpack\Modules;
+use WP_Error;
+/**
+ * Base class for the initializer pattern.
+ */
+class Initializer {
+
+ /**
+ * Initialize the WordAds package.
+ */
+ public static function init() {
+ // Set up package version hook.
+ add_filter( 'jetpack_package_versions', __NAMESPACE__ . '\Package::send_version_to_tracker' );
+
+ /**
+ * The filter allows abortion of the WordAds package initialization.
+ *
+ * @since 0.1.0
+ *
+ * @param boolean $init_wordads_package Default value is true.
+ */
+ if ( ! apply_filters( 'jetpack_wordads_init_wordads_package', true ) ) {
+ /**
+ * Fires when the WordAds fails and would fallback to MySQL.
+ *
+ * @since Jetpack 7.9.0
+ * @param string $reason Reason for WordAds fallback.
+ * @param mixed $data Data associated with the request, such as attempted search parameters.
+ */
+ do_action( 'jetpack_wordads_abort', 'jetpack_wordads_init_wordads_package_filter', null );
+ return;
+ }
+
+ static::init_before_connection();
+
+ // Check whether WordAds should be initialized in the first place .
+ if ( ! static::is_connected() || ! static::is_wordads_supported() ) {
+ /** This filter is documented in search/src/initalizers/class-initalizer.php */
+ do_action( 'jetpack_wordads_abort', 'inactive', null );
+ return;
+ }
+
+ $blog_id = Helper::get_wpcom_site_id();
+ if ( ! $blog_id ) {
+ /** This filter is documented in search/src/initalizers/class-initalizer.php */
+ do_action( 'jetpack_wordads_abort', 'no_blog_id', null );
+ return;
+ }
+
+ if ( ! ( new Modules() )->is_active( Package::SLUG ) ) {
+ /** This filter is documented in search/src/initalizers/class-initalizer.php */
+ do_action( 'jetpack_wordads_abort', 'module_inactive', null );
+ return;
+ }
+
+ /**
+ * Fires when the WordAds package has been initialized.
+ *
+ * @since 0.1.0
+ */
+ do_action( 'jetpack_wordads_loaded' );
+ }
+
+ /**
+ * Init functionality required for connection.
+ */
+ protected static function init_before_connection() {
+ // Set up WordAds API endpoints.
+ add_action( 'rest_api_init', array( new REST_Controller(), 'register_rest_routes' ) );
+ // The dashboard has to be initialized before connection.
+ ( new Dashboard() )->init_hooks();
+ }
+
+ /**
+ * Register jetpack-wordads CLI if `\CLI` exists.
+ *
+ * @return void
+ */
+ protected static function init_cli() {
+ if ( defined( 'WP_CLI' ) && \WP_CLI ) {
+ \WP_CLI::add_command( 'wordads', __NAMESPACE__ . '\CLI' );
+ }
+ }
+
+ /**
+ * Check if site has been connected.
+ */
+ protected static function is_connected() {
+ return ( new Connection_Manager( Package::SLUG ) )->is_connected();
+ }
+
+ /**
+ * Check if wordads is supported by current plan.
+ * TODO.
+ */
+ protected static function is_wordads_supported() {
+ return true;
+ }
+
+ /**
+ * Perform necessary initialization steps
+ *
+ * @deprecated
+ */
+ public static function initialize() {
+ return new WP_Error(
+ 'invalid-method',
+ /* translators: %s: Method name. */
+ sprintf( __( "Method '%s' not implemented. Must be overridden in subclass.", 'jetpack-wordads' ), __METHOD__ ),
+ array( 'status' => 405 )
+ );
+ }
+}
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/babel.config.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/babel.config.js
new file mode 100644
index 00000000..e0e45aa7
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/babel.config.js
@@ -0,0 +1,19 @@
+module.exports = api => {
+ api.cache( true );
+ return {
+ presets: [
+ [
+ '@automattic/jetpack-webpack-config/babel/preset',
+ {
+ presetEnv: {
+ corejs: require( 'core-js/package.json' ).version,
+ modules: false,
+ useBuiltIns: 'usage',
+ },
+ pluginReplaceTextdomain: { textdomain: 'jetpack-wordads' },
+ },
+ ],
+ ],
+ plugins: [ '@babel/plugin-proposal-nullish-coalescing-operator' ],
+ };
+};
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/define-palette-colors-as-static-variables.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/define-palette-colors-as-static-variables.js
new file mode 100644
index 00000000..b83a4921
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/define-palette-colors-as-static-variables.js
@@ -0,0 +1,31 @@
+/**
+ * External dependencies
+ */
+const webpack = require( 'webpack' );
+
+// TODO: Migrate this to a common package in the monorepo to avoid code duplication.
+
+/**
+ * Returns an instance of the DefinePlugin that adds color-studio colors as literals.
+ *
+ * @returns {object} DefinePlugin instance.
+ */
+function definePaletteColorsAsStaticVariables() {
+ return new webpack.DefinePlugin( {
+ // Replace palette colors as individual literals in the bundle.
+ PALETTE: ( () => {
+ const colors = require( '@automattic/color-studio' ).colors;
+ const stringifiedColors = {};
+
+ // DefinePlugin replaces the values as unescaped text.
+ // We therefore need to double-quote each value, to ensure it ends up as a string.
+ for ( const color in colors ) {
+ stringifiedColors[ color ] = `"${ colors[ color ] }"`;
+ }
+
+ return stringifiedColors;
+ } )(),
+ } );
+}
+
+module.exports = definePaletteColorsAsStaticVariables;
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/webpack.dashboard.config.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/webpack.dashboard.config.js
new file mode 100644
index 00000000..2c67a890
--- /dev/null
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/tools/webpack.dashboard.config.js
@@ -0,0 +1,72 @@
+/**
+ * External dependencies
+ */
+const jetpackWebpackConfig = require( '@automattic/jetpack-webpack-config/webpack' );
+const path = require( 'path' );
+
+module.exports = {
+ mode: jetpackWebpackConfig.mode,
+ devtool: jetpackWebpackConfig.isDevelopment ? 'source-map' : false,
+ entry: {
+ 'jp-wordads-dashboard': path.join( __dirname, '../src/dashboard/index.jsx' ),
+ },
+ output: {
+ ...jetpackWebpackConfig.output,
+ path: path.join( __dirname, '../build/dashboard' ),
+ },
+ optimization: {
+ ...jetpackWebpackConfig.optimization,
+ splitChunks: {
+ cacheGroups: {
+ vendors: false,
+ },
+ },
+ },
+ resolve: {
+ ...jetpackWebpackConfig.resolve,
+ alias: {
+ ...jetpackWebpackConfig.resolve.alias,
+ fs: false,
+ },
+ modules: [
+ path.resolve( __dirname, '../src/dashboard' ),
+ 'node_modules',
+ path.resolve( __dirname, '../node_modules' ), // for core-js
+ ],
+ },
+ plugins: [
+ ...jetpackWebpackConfig.StandardPlugins( {
+ DependencyExtractionPlugin: {
+ injectPolyfill: true,
+ },
+ } ),
+ ],
+ externals: {
+ jetpackConfig: JSON.stringify( {
+ consumer_slug: 'jetpack-wordads-package',
+ } ),
+ },
+ module: {
+ strictExportPresence: true,
+ rules: [
+ // Transpile JavaScript
+ jetpackWebpackConfig.TranspileRule( {
+ exclude: /node_modules\//,
+ } ),
+
+ // Transpile @automattic/jetpack-* in node_modules too.
+ jetpackWebpackConfig.TranspileRule( {
+ includeNodeModules: [ '@automattic/jetpack-' ],
+ } ),
+
+ // Handle CSS.
+ jetpackWebpackConfig.CssRule( {
+ extensions: [ 'css', 'sass', 'scss' ],
+ extraLoaders: [ 'sass-loader' ],
+ } ),
+
+ // Handle images.
+ jetpackWebpackConfig.FileRule(),
+ ],
+ },
+};
diff --git a/plugins/jetpack/jetpack_vendor/i18n-map.php b/plugins/jetpack/jetpack_vendor/i18n-map.php
index 2a8139b6..a485e35e 100644
--- a/plugins/jetpack/jetpack_vendor/i18n-map.php
+++ b/plugins/jetpack/jetpack_vendor/i18n-map.php
@@ -4,20 +4,85 @@ return array(
'domain' => 'jetpack',
'type' => 'plugins',
'packages' => array(
- 'jetpack-assets' => '0.0.0',
- 'jetpack-tracking' => '0.0.0',
- 'jetpack-heartbeat' => '0.0.0',
- 'jetpack-password-checker' => '0.0.0',
- 'jetpack-idc' => '0.0.0',
- 'jetpack-sync' => '0.0.0',
- 'jetpack-backup-pkg' => '0.0.0',
- 'jetpack-connection' => '0.0.0',
- 'jetpack-config' => '0.0.0',
- 'jetpack-connection-ui' => '0.0.0',
- 'jetpack-jitm' => '0.0.0',
- 'jetpack-lazy-images' => '0.0.0',
- 'jetpack-licensing' => '0.0.0',
- 'jetpack-my-jetpack' => '0.0.0',
- 'jetpack-search-pkg' => '0.0.0',
+ 'jetpack-admin-ui' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-admin-ui',
+ 'ver' => '0.2.7',
+ ),
+ 'jetpack-connection' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-connection',
+ 'ver' => '1.40.4',
+ ),
+ 'jetpack-password-checker' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-password-checker',
+ 'ver' => '0.2.4',
+ ),
+ 'jetpack-assets' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-assets',
+ 'ver' => '1.17.14',
+ ),
+ 'jetpack-idc' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-identity-crisis',
+ 'ver' => '0.8.12',
+ ),
+ 'jetpack-sync' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-sync',
+ 'ver' => '1.35.0',
+ ),
+ 'jetpack-plugins-installer' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-plugins-installer',
+ 'ver' => '0.1.2',
+ ),
+ 'jetpack-licensing' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-licensing',
+ 'ver' => '1.7.2',
+ ),
+ 'jetpack-my-jetpack' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-my-jetpack',
+ 'ver' => '1.6.0',
+ ),
+ 'jetpack-connection-ui' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-connection-ui',
+ 'ver' => '2.4.5',
+ ),
+ 'jetpack-config' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-config',
+ 'ver' => '1.9.0',
+ ),
+ 'jetpack-backup-pkg' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-backup',
+ 'ver' => '1.3.7',
+ ),
+ 'jetpack-compat' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-compat',
+ 'ver' => '1.7.2',
+ ),
+ 'jetpack-google-fonts-provider' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-google-fonts-provider',
+ 'ver' => '0.3.0',
+ ),
+ 'jetpack-jitm' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-jitm',
+ 'ver' => '2.2.17',
+ ),
+ 'jetpack-lazy-images' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-lazy-images',
+ 'ver' => '2.1.15',
+ ),
+ 'jetpack-publicize-pkg' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-publicize',
+ 'ver' => '0.5.0',
+ ),
+ 'jetpack-search-pkg' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-search',
+ 'ver' => '0.14.2',
+ ),
+ 'jetpack-waf' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-waf',
+ 'ver' => '0.6.2',
+ ),
+ 'jetpack-wordads' => array(
+ 'path' => 'jetpack_vendor/automattic/jetpack-wordads',
+ 'ver' => '0.2.4',
+ ),
),
);
diff --git a/plugins/jetpack/json-endpoints.php b/plugins/jetpack/json-endpoints.php
index 3d3b1d6f..6cff7358 100644
--- a/plugins/jetpack/json-endpoints.php
+++ b/plugins/jetpack/json-endpoints.php
@@ -1,132 +1,132 @@
<?php
-
-/*
+/**
* Endpoint class definitions are located inside the files that require these endpoint classes.
- * file ordering matters
+ * file ordering matters
+ *
+ * @package automattic/jetpack
*/
-$json_endpoints_dir = dirname( __FILE__ ) . '/json-endpoints/';
-
-//abstract endpoints
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-post-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-post-v1-1-endpoint.php' ); // v1.1
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-comment-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-taxonomy-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-render-endpoint.php' );
+$json_endpoints_dir = __DIR__ . '/json-endpoints/';
+// abstract endpoints
+require_once $json_endpoints_dir . 'class.wpcom-json-api-post-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-post-v1-1-endpoint.php'; // v1.1
+require_once $json_endpoints_dir . 'class.wpcom-json-api-comment-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-taxonomy-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-render-endpoint.php';
// **********
// v1
// **********
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-delete-media-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-comment-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-comments-tree-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-media-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-post-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-render-shortcode-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-shortcodes-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-render-embed-reversal-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-render-embed-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-embeds-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-site-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-taxonomies-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-taxonomy-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-term-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-comments-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-media-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-post-types-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-post-type-taxonomies-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-posts-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-roles-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-terms-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-users-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-site-user-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-bulk-update-comments-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-comment-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-media-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-post-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-taxonomy-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-term-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-user-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-upload-media-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-site-settings-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-sharing-buttons-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-delete-media-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-comment-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-comments-tree-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-media-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-post-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-render-shortcode-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-shortcodes-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-render-embed-reversal-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-render-embed-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-embeds-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-site-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-taxonomies-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-taxonomy-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-term-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-comments-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-media-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-post-types-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-post-type-taxonomies-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-posts-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-roles-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-terms-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-users-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-site-user-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-bulk-update-comments-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-comment-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-media-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-post-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-taxonomy-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-term-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-user-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-upload-media-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-site-settings-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-sharing-buttons-endpoint.php';
// **********
// v1.1
// **********
// Comments
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-comments-tree-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-comment-counts-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-comment-history-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-comments-tree-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-comment-counts-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-comment-history-endpoint.php';
// Media
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-delete-media-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-media-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-media-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-media-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-upload-media-v1-1-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-delete-media-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-media-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-media-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-media-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-upload-media-v1-1-endpoint.php';
// Posts
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-post-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-posts-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-post-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-autosave-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-autosave-post-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-post-counts-v1-1-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-bulk-delete-post-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-bulk-restore-post-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-post-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-posts-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-post-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-autosave-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-autosave-post-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-post-counts-v1-1-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-bulk-delete-post-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-bulk-restore-post-endpoint.php';
// Custom Menus
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-menus-v1-1-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-menus-v1-1-endpoint.php';
// Custom CSS
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-customcss.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-customcss.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-customcss.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-customcss.php';
// Logo Settings
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-site-logo-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-site-logo-endpoint.php';
// Homepage Settings
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-site-homepage-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-site-homepage-endpoint.php';
// Widgets
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-add-widget-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-add-widget-endpoint.php';
// **********
// v1.2
// **********
// Comments
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-comments-tree-v1-2-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-comments-tree-v1-2-endpoint.php';
// Media
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-media-v1-2-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-media-v1-2-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-edit-media-v1-2-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-media-v1-2-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-media-v1-2-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-edit-media-v1-2-endpoint.php';
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-update-post-v1-2-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-site-settings-v1-2-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-get-site-v1-2-endpoint.php' );
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-list-posts-v1-2-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-update-post-v1-2-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-site-settings-v1-2-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-get-site-v1-2-endpoint.php';
+require_once $json_endpoints_dir . 'class.wpcom-json-api-list-posts-v1-2-endpoint.php';
// Jetpack Only Endpoints
-$json_jetpack_endpoints_dir = dirname( __FILE__ ) . '/json-endpoints/jetpack/';
+$json_jetpack_endpoints_dir = __DIR__ . '/json-endpoints/jetpack/';
// This files instantiates the endpoints
-require_once( $json_jetpack_endpoints_dir . 'json-api-jetpack-endpoints.php' );
+require_once $json_jetpack_endpoints_dir . 'json-api-jetpack-endpoints.php';
// **********
// v1.3
// **********
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-site-settings-v1-3-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-site-settings-v1-3-endpoint.php';
// **********
// v1.4
// **********
-require_once( $json_endpoints_dir . 'class.wpcom-json-api-site-settings-v1-4-endpoint.php' );
+require_once $json_endpoints_dir . 'class.wpcom-json-api-site-settings-v1-4-endpoint.php';
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-add-widget-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-add-widget-endpoint.php
index 2c1a7eeb..c0fab26e 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-add-widget-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-add-widget-endpoint.php
@@ -1,45 +1,46 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Activate a widget on a site.
*
- * https://public-api.wordpress.com/rest/v1.1/sites/$site/widgets/new
+ * Endpoint: https://public-api.wordpress.com/rest/v1.1/sites/$site/widgets/new
*/
-new WPCOM_JSON_API_Add_Widgets_Endpoint( array (
- 'description' => 'Activate a widget on a site.',
- 'group' => 'sites',
- 'stat' => 'widgets:new',
- 'method' => 'POST',
- 'min_version' => '1.1',
- 'path' => '/sites/%s/widgets/new',
- 'path_labels' => array(
- '$site' => '(string) Site ID or domain.'
- ),
- 'request_format' => array(
- 'id_base' => '(string) The base ID of the widget.',
- 'sidebar' => '(string) Optional. The ID of the sidebar where this widget will be active. If empty, the widget will be added in the first sidebar available.',
- 'position' => '(int) Optional. The position of the widget in the sidebar.',
- 'settings' => '(object) Optional. The settings for the new widget.',
- ),
- 'response_format' => array(
- 'id' => '(string) The actual ID of the widget.',
- 'sidebar' => '(string) The ID of the sidebar where this widget will be active.',
- 'position' => '(int) The final position of the widget in the sidebar.',
- 'settings' => '(array) The settings for the new widget.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/12345678/widgets/new',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+new WPCOM_JSON_API_Add_Widgets_Endpoint(
+ array(
+ 'description' => 'Activate a widget on a site.',
+ 'group' => 'sites',
+ 'stat' => 'widgets:new',
+ 'method' => 'POST',
+ 'min_version' => '1.1',
+ 'path' => '/sites/%s/widgets/new',
+ 'path_labels' => array(
+ '$site' => '(string) Site ID or domain.',
),
- 'body' => array(
- 'id_base' => 'text',
- 'sidebar' => 'sidebar-2',
- 'position' => '0',
- 'settings' => array( 'title' => 'hello world' ),
- )
- ),
- 'example_response' => '
+ 'request_format' => array(
+ 'id_base' => '(string) The base ID of the widget.',
+ 'sidebar' => '(string) Optional. The ID of the sidebar where this widget will be active. If empty, the widget will be added in the first sidebar available.',
+ 'position' => '(int) Optional. The position of the widget in the sidebar.',
+ 'settings' => '(object) Optional. The settings for the new widget.',
+ ),
+ 'response_format' => array(
+ 'id' => '(string) The actual ID of the widget.',
+ 'sidebar' => '(string) The ID of the sidebar where this widget will be active.',
+ 'position' => '(int) The final position of the widget in the sidebar.',
+ 'settings' => '(array) The settings for the new widget.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/12345678/widgets/new',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'id_base' => 'text',
+ 'sidebar' => 'sidebar-2',
+ 'position' => '0',
+ 'settings' => array( 'title' => 'hello world' ),
+ ),
+ ),
+ 'example_response' => '
{
"id": "text-3",
"id_base": "text",
@@ -48,22 +49,25 @@ new WPCOM_JSON_API_Add_Widgets_Endpoint( array (
},
"sidebar": "sidebar-2",
"position": 0
- }'
-) );
-
+ }',
+ )
+);
+/**
+ * The Add Widgets endpoint class.
+ */
class WPCOM_JSON_API_Add_Widgets_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
* API callback.
*
- * @param string $path
- * @param int $blog_id
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
* @uses jetpack_require_lib
* @uses Jetpack_Widgets
*
* @return array|WP_Error
*/
- function callback( $path = '', $blog_id = 0 ) {
+ public function callback( $path = '', $blog_id = 0 ) {
// Switch to the given blog.
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
@@ -75,7 +79,7 @@ class WPCOM_JSON_API_Add_Widgets_Endpoint extends WPCOM_JSON_API_Endpoint {
}
jetpack_require_lib( 'widgets' );
- $args = $this->input( false, false ); // Don't filter the input
+ $args = $this->input( false, false ); // Don't filter the input.
if ( empty( $args ) || ! is_array( $args ) ) {
return new WP_Error( 'no_data', 'No data was provided.', 400 );
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-delete-post-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-delete-post-endpoint.php
index 31ab8d95..0cd130fb 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-delete-post-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-delete-post-endpoint.php
@@ -1,41 +1,58 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Bulk delete posts on a site.
+ *
+ * Endpoint: /sites/%s/posts/delete
+ */
-new WPCOM_JSON_API_Bulk_Delete_Post_Endpoint( array(
- 'description' => 'Delete multiple posts. Note: If the trash is enabled, this request will send non-trashed posts to the trash. Trashed posts will be permanently deleted.',
- 'group' => 'posts',
- 'stat' => 'posts:1:bulk-delete',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'request_format' => array(
- 'post_ids' => '(array|string) An array, or comma-separated list, of Post IDs to delete or trash.',
- ),
+new WPCOM_JSON_API_Bulk_Delete_Post_Endpoint(
+ array(
+ 'description' => 'Delete multiple posts. Note: If the trash is enabled, this request will send non-trashed posts to the trash. Trashed posts will be permanently deleted.',
+ 'group' => 'posts',
+ 'stat' => 'posts:1:bulk-delete',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'request_format' => array(
+ 'post_ids' => '(array|string) An array, or comma-separated list, of Post IDs to delete or trash.',
+ ),
+
+ 'response_format' => array(
+ 'results' => '(object) An object containing results, ',
+ ),
- 'response_format' => array(
- 'results' => '(object) An object containing results, '
- ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/delete',
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/delete',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
+ 'body' => array(
+ 'post_ids' => array( 881, 882 ),
+ ),
- 'body' => array(
- 'post_ids' => array( 881, 882 ),
),
-
)
-) );
+);
+/**
+ * Bulk delete post endpoint class.
+ */
class WPCOM_JSON_API_Bulk_Delete_Post_Endpoint extends WPCOM_JSON_API_Update_Post_v1_1_Endpoint {
- // /sites/%s/posts/delete
- function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $post_id - the post ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -45,7 +62,7 @@ class WPCOM_JSON_API_Bulk_Delete_Post_Endpoint extends WPCOM_JSON_API_Update_Pos
if ( is_array( $input['post_ids'] ) ) {
$post_ids = (array) $input['post_ids'];
- } else if ( ! empty( $input['post_ids'] ) ) {
+ } elseif ( ! empty( $input['post_ids'] ) ) {
$post_ids = explode( ',', $input['post_ids'] );
} else {
$post_ids = array();
@@ -59,7 +76,7 @@ class WPCOM_JSON_API_Bulk_Delete_Post_Endpoint extends WPCOM_JSON_API_Update_Pos
'results' => array(),
);
- foreach( $post_ids as $post_id ) {
+ foreach ( $post_ids as $post_id ) {
$result['results'][ $post_id ] = $this->delete_post( $path, $blog_id, $post_id );
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-restore-post-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-restore-post-endpoint.php
index 2e59cc1e..06fb4e88 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-restore-post-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-restore-post-endpoint.php
@@ -1,42 +1,55 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Endpoint: /sites/%s/posts/restore
+ */
+new WPCOM_JSON_API_Bulk_Restore_Post_Endpoint(
+ array(
+ 'description' => 'Restore multiple posts.',
+ 'group' => 'posts',
+ 'stat' => 'posts:1:bulk-restore',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/restore',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'request_format' => array(
+ 'post_ids' => '(array|string) An array, or comma-separated list, of Post IDs to restore.',
+ ),
-new WPCOM_JSON_API_Bulk_Restore_Post_Endpoint( array(
- 'description' => 'Restore multiple posts.',
- 'group' => 'posts',
- 'stat' => 'posts:1:bulk-restore',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/restore',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'request_format' => array(
- 'post_ids' => '(array|string) An array, or comma-separated list, of Post IDs to restore.',
- ),
+ 'response_format' => array(
+ 'results' => '(object) An object containing results, ',
+ ),
- 'response_format' => array(
- 'results' => '(object) An object containing results, '
- ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/restore',
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/restore',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
+ 'body' => array(
+ 'post_ids' => array( 881, 882 ),
+ ),
- 'body' => array(
- 'post_ids' => array( 881, 882 ),
),
-
)
-) );
+);
+/**
+ * Bulk restore post endpoint class.
+ */
class WPCOM_JSON_API_Bulk_Restore_Post_Endpoint extends WPCOM_JSON_API_Update_Post_v1_1_Endpoint {
- // /sites/%s/posts/restore
- // The unused $object parameter is for making the method signature compatible with its parent class method.
- function callback( $path = '', $blog_id = 0, $object = null ) {
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param obj $object - parameter is for making the method signature compatible with its parent class method.
+ */
+ public function callback( $path = '', $blog_id = 0, $object = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -46,7 +59,7 @@ class WPCOM_JSON_API_Bulk_Restore_Post_Endpoint extends WPCOM_JSON_API_Update_Po
if ( is_array( $input['post_ids'] ) ) {
$post_ids = (array) $input['post_ids'];
- } else if ( ! empty( $input['post_ids'] ) ) {
+ } elseif ( ! empty( $input['post_ids'] ) ) {
$post_ids = explode( ',', $input['post_ids'] );
} else {
$post_ids = array();
@@ -60,7 +73,7 @@ class WPCOM_JSON_API_Bulk_Restore_Post_Endpoint extends WPCOM_JSON_API_Update_Po
'results' => array(),
);
- foreach( $post_ids as $post_id ) {
+ foreach ( $post_ids as $post_id ) {
$result['results'][ $post_id ] = $this->restore_post( $path, $blog_id, $post_id );
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-update-comments-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-update-comments-endpoint.php
index 3468b81e..a6db13a6 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-update-comments-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-bulk-update-comments-endpoint.php
@@ -1,68 +1,82 @@
-<?php
-
-new WPCOM_JSON_API_Bulk_Update_Comments_Endpoint( array(
- 'description' => 'Update multiple comment\'s status.',
- 'group' => 'comments',
- 'stat' => 'comments:1:bulk-update-status',
- 'min_version' => '1',
- 'max_version' => '1',
- 'method' => 'POST',
- 'path' => '/sites/%s/comments/status',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'request_format' => array(
- 'comment_ids' => '(array|string) An array, or comma-separated list, of Comment IDs to update.',
- 'status' => '(string) The new status value. Allowed values: approved, unapproved, spam, trash',
- ),
- 'response_format' => array(
- 'results' => '(array) An array of updated Comment IDs.'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/status',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Endpoints: /sites/%s/comments/status
+ * /sites/%s/comments/delete
+ */
+new WPCOM_JSON_API_Bulk_Update_Comments_Endpoint(
+ array(
+ 'description' => 'Update multiple comment\'s status.',
+ 'group' => 'comments',
+ 'stat' => 'comments:1:bulk-update-status',
+ 'min_version' => '1',
+ 'max_version' => '1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/comments/status',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'body' => array(
- 'comment_ids' => array( 881, 882 ),
- 'status' => 'approved',
+ 'request_format' => array(
+ 'comment_ids' => '(array|string) An array, or comma-separated list, of Comment IDs to update.',
+ 'status' => '(string) The new status value. Allowed values: approved, unapproved, spam, trash',
+ ),
+ 'response_format' => array(
+ 'results' => '(array) An array of updated Comment IDs.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/status',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'comment_ids' => array( 881, 882 ),
+ 'status' => 'approved',
+ ),
),
)
-) );
-
-new WPCOM_JSON_API_Bulk_Update_Comments_Endpoint( array(
- 'description' => 'Permanently delete multiple comments. Note: this request will send non-trashed comments to the trash. Trashed comments will be permanently deleted.',
- 'group' => 'comments',
- 'stat' => 'comments:1:bulk-delete',
- 'min_version' => '1',
- 'max_version' => '1',
- 'method' => 'POST',
- 'path' => '/sites/%s/comments/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'request_format' => array(
- 'comment_ids' => '(array|string) An array, or comma-separated list, of Comment IDs to delete or trash. (optional)',
- 'empty_status' => '(string) Force to permanently delete all spam or trash comments. (optional). Allowed values: spam, trash',
- ),
- 'response_format' => array(
- 'results' => '(array) An array of deleted or trashed Comment IDs.'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/delete',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+);
+
+new WPCOM_JSON_API_Bulk_Update_Comments_Endpoint(
+ array(
+ 'description' => 'Permanently delete multiple comments. Note: this request will send non-trashed comments to the trash. Trashed comments will be permanently deleted.',
+ 'group' => 'comments',
+ 'stat' => 'comments:1:bulk-delete',
+ 'min_version' => '1',
+ 'max_version' => '1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/comments/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'request_format' => array(
+ 'comment_ids' => '(array|string) An array, or comma-separated list, of Comment IDs to delete or trash. (optional)',
+ 'empty_status' => '(string) Force to permanently delete all spam or trash comments. (optional). Allowed values: spam, trash',
+ ),
+ 'response_format' => array(
+ 'results' => '(array) An array of deleted or trashed Comment IDs.',
),
- 'body' => array(
- 'comment_ids' => array( 881, 882 ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/delete',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'comment_ids' => array( 881, 882 ),
+ ),
),
)
-) );
+);
+/**
+ * Bulk update comments endpoint class.
+ */
class WPCOM_JSON_API_Bulk_Update_Comments_Endpoint extends WPCOM_JSON_API_Endpoint {
- // /sites/%s/comments/status
- // /sites/%s/comments/delete
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -72,7 +86,7 @@ class WPCOM_JSON_API_Bulk_Update_Comments_Endpoint extends WPCOM_JSON_API_Endpoi
if ( isset( $input['comment_ids'] ) && is_array( $input['comment_ids'] ) ) {
$comment_ids = $input['comment_ids'];
- } else if ( isset( $input['comment_ids'] ) && ! empty( $input['comment_ids'] ) ) {
+ } elseif ( isset( $input['comment_ids'] ) && ! empty( $input['comment_ids'] ) ) {
$comment_ids = explode( ',', $input['comment_ids'] );
} else {
$comment_ids = array();
@@ -91,7 +105,7 @@ class WPCOM_JSON_API_Bulk_Update_Comments_Endpoint extends WPCOM_JSON_API_Endpoi
$result['results'] = $this->bulk_delete_comments( $comment_ids );
}
} else {
- $status = isset( $input['status'] ) ? $input['status'] : '';
+ $status = isset( $input['status'] ) ? $input['status'] : '';
$result['results'] = $this->bulk_update_comments_status( $comment_ids, $status );
}
@@ -103,34 +117,34 @@ class WPCOM_JSON_API_Bulk_Update_Comments_Endpoint extends WPCOM_JSON_API_Endpoi
/**
* Determine if the passed comment status is valid or not.
*
- * @param string $status
+ * @param string $status - status of passed comment.
*
* @return boolean
*/
- function validate_status_param( $status ) {
+ public function validate_status_param( $status ) {
return in_array( $status, array( 'approved', 'unapproved', 'pending', 'spam', 'trash' ), true );
}
/**
* Determine if the passed empty status is valid or not.
*
- * @param string $empty_status
+ * @param string $empty_status - empty_status of comment.
*
* @return boolean
*/
- function validate_empty_status_param( $empty_status ) {
+ public function validate_empty_status_param( $empty_status ) {
return in_array( $empty_status, array( 'spam', 'trash' ), true );
}
/**
* Update the status of multiple comments.
*
- * @param array $comment_ids Comments to update.
+ * @param array $comment_ids Comments to update.
* @param string $status New status value.
*
* @return array Updated comments IDs.
*/
- function bulk_update_comments_status( $comment_ids, $status ) {
+ public function bulk_update_comments_status( $comment_ids, $status ) {
if ( count( $comment_ids ) < 1 ) {
return new WP_Error( 'empty_comment_ids', 'The request must include comment_ids', 400 );
}
@@ -138,12 +152,12 @@ class WPCOM_JSON_API_Bulk_Update_Comments_Endpoint extends WPCOM_JSON_API_Endpoi
return new WP_Error( 'invalid_status', "Invalid comment status value provided: '$status'.", 400 );
}
$results = array();
- foreach( $comment_ids as $comment_id ) {
+ foreach ( $comment_ids as $comment_id ) {
if ( ! current_user_can( 'edit_comment', $comment_id ) ) {
continue;
}
$result = false;
- switch( $status ) {
+ switch ( $status ) {
case 'approved':
$result = wp_set_comment_status( $comment_id, 'approve' );
break;
@@ -175,12 +189,12 @@ class WPCOM_JSON_API_Bulk_Update_Comments_Endpoint extends WPCOM_JSON_API_Endpoi
*
* @return array Deleted comments IDs.
*/
- function bulk_delete_comments( $comment_ids ) {
+ public function bulk_delete_comments( $comment_ids ) {
if ( count( $comment_ids ) < 1 ) {
return new WP_Error( 'empty_comment_ids', 'The request must include comment_ids', 400 );
}
$results = array();
- foreach( $comment_ids as $comment_id ) {
+ foreach ( $comment_ids as $comment_id ) {
if ( ! current_user_can( 'edit_comment', $comment_id ) ) {
continue;
}
@@ -201,13 +215,13 @@ class WPCOM_JSON_API_Bulk_Update_Comments_Endpoint extends WPCOM_JSON_API_Endpoi
*
* @return array Deleted comments IDs.
*/
- function delete_all( $status ) {
+ public function delete_all( $status ) {
global $wpdb;
// This could potentially take a long time, so we only want to delete comments created
// before this operation.
// Comments marked `spam` or `trash` after this moment won't be touched.
// Core uses the `pagegen_timestamp` hidden field for this same reason.
- $delete_time = gmdate('Y-m-d H:i:s');
+ $delete_time = gmdate( 'Y-m-d H:i:s' );
$comment_ids = $wpdb->get_col( $wpdb->prepare( "SELECT comment_ID FROM $wpdb->comments WHERE comment_approved = %s AND %s > comment_date_gmt", $status, $delete_time ) );
if ( count( $comment_ids ) < 1 ) {
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-comment-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-comment-endpoint.php
index bb270d39..bfa6cc7c 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-comment-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-comment-endpoint.php
@@ -1,25 +1,37 @@
-<?php
-
-
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Comment endpoint.
+ *
+ * @todo - can this file be written without overriding global variables?
+ * @phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
+ */
+/**
+ * Comment endpoint class.
+ */
abstract class WPCOM_JSON_API_Comment_Endpoint extends WPCOM_JSON_API_Endpoint {
+ /**
+ * Comment object array.
+ *
+ * @var $comment_object_format
+ */
public $comment_object_format = array(
- // explicitly document and cast all output
- 'ID' => '(int) The comment ID.',
- 'post' => "(object>post_reference) A reference to the comment's post.",
- 'author' => '(object>author) The author of the comment.',
- 'date' => "(ISO 8601 datetime) The comment's creation time.",
- 'URL' => '(URL) The full permalink URL to the comment.',
- 'short_URL' => '(URL) The wp.me short URL.',
- 'content' => '(HTML) <code>context</code> dependent.',
- 'raw_content' => '(string) Raw comment content.',
- 'status' => array(
+ // explicitly document and cast all output.
+ 'ID' => '(int) The comment ID.',
+ 'post' => "(object>post_reference) A reference to the comment's post.",
+ 'author' => '(object>author) The author of the comment.',
+ 'date' => "(ISO 8601 datetime) The comment's creation time.",
+ 'URL' => '(URL) The full permalink URL to the comment.',
+ 'short_URL' => '(URL) The wp.me short URL.',
+ 'content' => '(HTML) <code>context</code> dependent.',
+ 'raw_content' => '(string) Raw comment content.',
+ 'status' => array(
'approved' => 'The comment has been approved.',
'unapproved' => 'The comment has been held for review in the moderation queue.',
'spam' => 'The comment has been marked as spam.',
'trash' => 'The comment is in the trash.',
),
- 'parent' => "(object>comment_reference|false) A reference to the comment's parent, if it has one.",
- 'type' => array(
+ 'parent' => "(object>comment_reference|false) A reference to the comment's parent, if it has one.",
+ 'type' => array(
'comment' => 'The comment is a regular comment.',
'trackback' => 'The comment is a trackback.',
'pingback' => 'The comment is a pingback.',
@@ -32,84 +44,97 @@ abstract class WPCOM_JSON_API_Comment_Endpoint extends WPCOM_JSON_API_Endpoint {
'i_replied' => '(bool) Has the current user replied to this comment?',
);
- // public $response_format =& $this->comment_object_format;
-
- function __construct( $args ) {
- if ( !$this->response_format ) {
+ /**
+ * Class constructor.
+ *
+ * @param object $args - arguments passed to constructor.
+ */
+ public function __construct( $args ) {
+ if ( ! $this->response_format ) {
$this->response_format =& $this->comment_object_format;
}
parent::__construct( $args );
}
- function get_comment( $comment_id, $context ) {
+ /**
+ * Get the comment.
+ *
+ * @param int $comment_id - the ID of the comment.
+ * @param string $context - the context of the comment (displayed or edited).
+ */
+ public function get_comment( $comment_id, $context ) {
global $blog_id;
$comment = get_comment( $comment_id );
- if ( !$comment || is_wp_error( $comment ) ) {
+ if ( ! $comment || is_wp_error( $comment ) ) {
return new WP_Error( 'unknown_comment', 'Unknown comment', 404 );
}
$types = array( '', 'comment', 'pingback', 'trackback', 'review' );
- if ( !in_array( $comment->comment_type, $types ) ) {
+ // @todo - can we make this comparison strict without breaking anything?
+ // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
+ if ( ! in_array( $comment->comment_type, $types ) ) {
return new WP_Error( 'unknown_comment', 'Unknown comment', 404 );
}
$post = get_post( $comment->comment_post_ID );
- if ( !$post || is_wp_error( $post ) ) {
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
$status = wp_get_comment_status( $comment->comment_ID );
- // Permissions
+ // Permissions.
switch ( $context ) {
- case 'edit' :
- if ( !current_user_can( 'edit_comment', $comment->comment_ID ) ) {
- return new WP_Error( 'unauthorized', 'User cannot edit comment', 403 );
- }
+ case 'edit':
+ if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) ) {
+ return new WP_Error( 'unauthorized', 'User cannot edit comment', 403 );
+ }
- $GLOBALS['post'] = $post;
- $comment = get_comment_to_edit( $comment->comment_ID );
- foreach ( array( 'comment_author', 'comment_author_email', 'comment_author_url' ) as $field ) {
- $comment->$field = htmlspecialchars_decode( $comment->$field, ENT_QUOTES );
- }
- break;
- case 'display' :
- if ( 'approved' !== $status ) {
- $current_user_id = get_current_user_id();
- $user_can_read_comment = false;
- if ( $current_user_id && $comment->user_id && $current_user_id == $comment->user_id ) {
- $user_can_read_comment = true;
- } elseif (
+ $GLOBALS['post'] = $post;
+ $comment = get_comment_to_edit( $comment->comment_ID );
+ foreach ( array( 'comment_author', 'comment_author_email', 'comment_author_url' ) as $field ) {
+ $comment->$field = htmlspecialchars_decode( $comment->$field, ENT_QUOTES );
+ }
+ break;
+ case 'display':
+ if ( 'approved' !== $status ) {
+ $current_user_id = get_current_user_id();
+ $user_can_read_comment = false;
+ // @todo - can we make this comparison strict without breaking anything?
+ // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ if ( $current_user_id && $comment->user_id && $current_user_id == $comment->user_id ) {
+ $user_can_read_comment = true;
+ } elseif (
$comment->comment_author_email && $comment->comment_author
- &&
+ &&
isset( $this->api->token_details['user'] )
- &&
+ &&
isset( $this->api->token_details['user']['user_email'] )
- &&
+ &&
$this->api->token_details['user']['user_email'] === $comment->comment_author_email
- &&
+ &&
$this->api->token_details['user']['display_name'] === $comment->comment_author
- ) {
- $user_can_read_comment = true;
- } else {
- $user_can_read_comment = current_user_can( 'edit_posts' );
- }
-
- if ( !$user_can_read_comment ) {
- return new WP_Error( 'unauthorized', 'User cannot read unapproved comment', 403 );
+ ) {
+ $user_can_read_comment = true;
+ } else {
+ $user_can_read_comment = current_user_can( 'edit_posts' );
+ }
+
+ if ( ! $user_can_read_comment ) {
+ return new WP_Error( 'unauthorized', 'User cannot read unapproved comment', 403 );
+ }
}
- }
- $GLOBALS['post'] = $post;
- setup_postdata( $post );
- break;
- default :
- return new WP_Error( 'invalid_context', 'Invalid API CONTEXT', 400 );
+ $GLOBALS['post'] = $post;
+ setup_postdata( $post );
+ break;
+ default:
+ return new WP_Error( 'invalid_context', 'Invalid API CONTEXT', 400 );
}
$can_view = $this->user_can_view_post( $post->ID );
- if ( !$can_view || is_wp_error( $can_view ) ) {
+ if ( ! $can_view || is_wp_error( $can_view ) ) {
return $can_view;
}
@@ -118,86 +143,86 @@ abstract class WPCOM_JSON_API_Comment_Endpoint extends WPCOM_JSON_API_Endpoint {
foreach ( array_keys( $this->comment_object_format ) as $key ) {
switch ( $key ) {
- case 'ID' :
- // explicitly cast all output
- $response[$key] = (int) $comment->comment_ID;
- break;
- case 'post' :
- $response[$key] = (object) array(
- 'ID' => (int) $post->ID,
- 'title' => (string) get_the_title( $post->ID ),
- 'type' => (string) $post->post_type,
- 'link' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID ),
- );
- break;
- case 'author' :
- $response[$key] = (object) $this->get_author( $comment, current_user_can( 'edit_comment', $comment->comment_ID ) );
- break;
- case 'date' :
- $response[$key] = (string) $this->format_date( $comment->comment_date_gmt, $comment->comment_date );
- break;
- case 'URL' :
- $response[$key] = (string) esc_url_raw( get_comment_link( $comment->comment_ID ) );
- break;
- case 'short_URL' :
- // @todo - pagination
- $response[$key] = (string) esc_url_raw( wp_get_shortlink( $post->ID ) . "%23comment-{$comment->comment_ID}" );
- break;
- case 'content' :
- if ( 'display' === $context ) {
- ob_start();
- comment_text();
- $response[$key] = (string) ob_get_clean();
- } else {
- $response[$key] = (string) $comment->comment_content;
- }
- break;
- case 'raw_content':
- $response[$key] = (string) $comment->comment_content;
- break;
- case 'status' :
- $response[$key] = (string) $status;
- break;
- case 'parent' : // (object|false)
- if ( $comment->comment_parent ) {
- $parent = get_comment( $comment->comment_parent );
- $response[$key] = (object) array(
- 'ID' => (int) $parent->comment_ID,
- 'type' => (string) ( $parent->comment_type ? $parent->comment_type : 'comment' ),
- 'link' => (string) $this->links->get_comment_link( $blog_id, $parent->comment_ID ),
+ case 'ID':
+ // explicitly cast all output.
+ $response[ $key ] = (int) $comment->comment_ID;
+ break;
+ case 'post':
+ $response[ $key ] = (object) array(
+ 'ID' => (int) $post->ID,
+ 'title' => (string) get_the_title( $post->ID ),
+ 'type' => (string) $post->post_type,
+ 'link' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID ),
);
- } else {
- $response[$key] = false;
- }
- break;
- case 'type' :
- $response[$key] = (string) ( $comment->comment_type ? $comment->comment_type : 'comment' );
- break;
- case 'like_count' :
- if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- $response[ $key ] = (int) $this->api->comment_like_count( $blog_id, $post->ID, $comment->comment_ID );
- }
- break;
- case 'i_like' :
- if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- $response[ $key ] = (bool) Likes::comment_like_current_user_likes( $blog_id, $comment->comment_ID );
- }
- break;
- case 'meta' :
- $response[$key] = (object) array(
- 'links' => (object) array(
- 'self' => (string) $this->links->get_comment_link( $this->api->get_blog_id_for_output(), $comment->comment_ID ),
- 'help' => (string) $this->links->get_comment_link( $this->api->get_blog_id_for_output(), $comment->comment_ID, 'help' ),
- 'site' => (string) $this->links->get_site_link( $this->api->get_blog_id_for_output() ),
- 'post' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $comment->comment_post_ID ),
- 'replies' => (string) $this->links->get_comment_link( $this->api->get_blog_id_for_output(), $comment->comment_ID, 'replies/' ),
- 'likes' => (string) $this->links->get_comment_link( $this->api->get_blog_id_for_output(), $comment->comment_ID, 'likes/' ),
- ),
- );
- break;
- case 'can_moderate':
- $response[ $key ] = (bool) current_user_can( 'edit_comment', $comment_id );
- break;
+ break;
+ case 'author':
+ $response[ $key ] = (object) $this->get_author( $comment, current_user_can( 'edit_comment', $comment->comment_ID ) );
+ break;
+ case 'date':
+ $response[ $key ] = (string) $this->format_date( $comment->comment_date_gmt, $comment->comment_date );
+ break;
+ case 'URL':
+ $response[ $key ] = (string) esc_url_raw( get_comment_link( $comment->comment_ID ) );
+ break;
+ case 'short_URL':
+ // @todo - pagination
+ $response[ $key ] = (string) esc_url_raw( wp_get_shortlink( $post->ID ) . "%23comment-{$comment->comment_ID}" );
+ break;
+ case 'content':
+ if ( 'display' === $context ) {
+ ob_start();
+ comment_text();
+ $response[ $key ] = (string) ob_get_clean();
+ } else {
+ $response[ $key ] = (string) $comment->comment_content;
+ }
+ break;
+ case 'raw_content':
+ $response[ $key ] = (string) $comment->comment_content;
+ break;
+ case 'status':
+ $response[ $key ] = (string) $status;
+ break;
+ case 'parent': // May be object or false.
+ if ( $comment->comment_parent ) {
+ $parent = get_comment( $comment->comment_parent );
+ $response[ $key ] = (object) array(
+ 'ID' => (int) $parent->comment_ID,
+ 'type' => (string) ( $parent->comment_type ? $parent->comment_type : 'comment' ),
+ 'link' => (string) $this->links->get_comment_link( $blog_id, $parent->comment_ID ),
+ );
+ } else {
+ $response[ $key ] = false;
+ }
+ break;
+ case 'type':
+ $response[ $key ] = (string) ( $comment->comment_type ? $comment->comment_type : 'comment' );
+ break;
+ case 'like_count':
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ $response[ $key ] = (int) $this->api->comment_like_count( $blog_id, $post->ID, $comment->comment_ID );
+ }
+ break;
+ case 'i_like':
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ $response[ $key ] = (bool) Likes::comment_like_current_user_likes( $blog_id, $comment->comment_ID );
+ }
+ break;
+ case 'meta':
+ $response[ $key ] = (object) array(
+ 'links' => (object) array(
+ 'self' => (string) $this->links->get_comment_link( $this->api->get_blog_id_for_output(), $comment->comment_ID ),
+ 'help' => (string) $this->links->get_comment_link( $this->api->get_blog_id_for_output(), $comment->comment_ID, 'help' ),
+ 'site' => (string) $this->links->get_site_link( $this->api->get_blog_id_for_output() ),
+ 'post' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $comment->comment_post_ID ),
+ 'replies' => (string) $this->links->get_comment_link( $this->api->get_blog_id_for_output(), $comment->comment_ID, 'replies/' ),
+ 'likes' => (string) $this->links->get_comment_link( $this->api->get_blog_id_for_output(), $comment->comment_ID, 'likes/' ),
+ ),
+ );
+ break;
+ case 'can_moderate':
+ $response[ $key ] = (bool) current_user_can( 'edit_comment', $comment_id );
+ break;
case 'i_replied':
$response[ $key ] = (bool) 0 < get_comments(
array(
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-endpoint.php
index c32be52f..f9cec40b 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-endpoint.php
@@ -1,41 +1,53 @@
-<?php
-
-new WPCOM_JSON_API_Delete_Media_Endpoint( array(
- 'description' => 'Delete a piece of media.',
- 'group' => 'media',
- 'stat' => 'media:1:delete',
- 'method' => 'POST',
- 'path' => '/sites/%s/media/%d/delete',
- 'deprecated' => true,
- 'new_version' => '1.1',
- 'max_version' => '1',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$media_ID' => '(int) The media ID',
- ),
-
- 'response_format' => array(
- 'status' => '(string) Returns deleted if the media was successfully deleted',
- 'id' => '(int) The ID of the media item',
- 'date' => '(ISO 8601 datetime) The date the media was uploaded',
- 'parent' => '(int) ID of the post this media is attached to',
- 'link' => '(string) URL to the file',
- 'title' => '(string) File name',
- 'caption' => '(string) User provided caption of the file',
- 'description' => '(string) Description of the file',
- 'metadata' => '(array) Misc array of information about the file, such as exif data or sizes',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media/$media_ID/delete',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+<?php // phpcs:ignore Squiz.Commenting.FileComment.Missing
+
+new WPCOM_JSON_API_Delete_Media_Endpoint(
+ array(
+ 'description' => 'Delete a piece of media.',
+ 'group' => 'media',
+ 'stat' => 'media:1:delete',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/media/%d/delete',
+ 'deprecated' => true,
+ 'new_version' => '1.1',
+ 'max_version' => '1',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$media_ID' => '(int) The media ID',
+ ),
+
+ 'response_format' => array(
+ 'status' => '(string) Returns deleted if the media was successfully deleted',
+ 'id' => '(int) The ID of the media item',
+ 'date' => '(ISO 8601 datetime) The date the media was uploaded',
+ 'parent' => '(int) ID of the post this media is attached to',
+ 'link' => '(string) URL to the file',
+ 'title' => '(string) File name',
+ 'caption' => '(string) User provided caption of the file',
+ 'description' => '(string) Description of the file',
+ 'metadata' => '(array) Misc array of information about the file, such as exif data or sizes',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media/$media_ID/delete',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
+);
+/**
+ * Delete media endpoint class.
+ */
class WPCOM_JSON_API_Delete_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
- function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $media_id - the media ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-v1-1-endpoint.php
index cf402f0d..2b5bb787 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-delete-media-v1-1-endpoint.php
@@ -1,52 +1,64 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_Delete_Media_v1_1_Endpoint( array(
- 'description' => 'Delete a piece of media. Note: Media is deleted and not trashed.',
- 'group' => 'media',
- 'stat' => 'media:1:delete',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'method' => 'POST',
- 'path' => '/sites/%s/media/%d/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$media_ID' => '(int) The media ID',
- ),
+new WPCOM_JSON_API_Delete_Media_v1_1_Endpoint(
+ array(
+ 'description' => 'Delete a piece of media. Note: Media is deleted and not trashed.',
+ 'group' => 'media',
+ 'stat' => 'media:1:delete',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/media/%d/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$media_ID' => '(int) The media ID',
+ ),
- 'response_format' => array(
- 'status' => '(string) Returns deleted if the media was successfully deleted',
- 'ID' => '(int) The ID of the media item',
- 'date' => '(ISO 8601 datetime) The date the media was uploaded',
- 'post_ID' => '(int) ID of the post this media is attached to',
- 'author_ID' => '(int) ID of the user who uploaded the media',
- 'URL' => '(string) URL to the file',
- 'guid' => '(string) Unique identifier',
- 'file' => '(string) File name',
- 'extension' => '(string) File extension',
- 'mime_type' => '(string) File mime type',
- 'title' => '(string) File name',
- 'caption' => '(string) User-provided caption of the file',
- 'description' => '(string) Description of the file',
- 'alt' => '(string) Alternative text for image files.',
- 'thumbnails' => '(object) Media item thumbnail URL options',
- 'height' => '(int) (Image & video only) Height of the media item',
- 'width' => '(int) (Image & video only) Width of the media item',
- 'length' => '(int) (Video & audio only) Duration of the media item, in seconds',
- 'exif' => '(array) (Image & audio only) Exif (meta) information about the media item',
- 'videopress_guid' => '(string) (Video only) VideoPress GUID of the video when uploaded on a blog with VideoPress',
- 'videopress_processing_done' => '(bool) (Video only) If the video is Uuploaded on a blog with VideoPress, this will return the status of processing on the Video'
- ),
+ 'response_format' => array(
+ 'status' => '(string) Returns deleted if the media was successfully deleted',
+ 'ID' => '(int) The ID of the media item',
+ 'date' => '(ISO 8601 datetime) The date the media was uploaded',
+ 'post_ID' => '(int) ID of the post this media is attached to',
+ 'author_ID' => '(int) ID of the user who uploaded the media',
+ 'URL' => '(string) URL to the file',
+ 'guid' => '(string) Unique identifier',
+ 'file' => '(string) File name',
+ 'extension' => '(string) File extension',
+ 'mime_type' => '(string) File mime type',
+ 'title' => '(string) File name',
+ 'caption' => '(string) User-provided caption of the file',
+ 'description' => '(string) Description of the file',
+ 'alt' => '(string) Alternative text for image files.',
+ 'thumbnails' => '(object) Media item thumbnail URL options',
+ 'height' => '(int) (Image & video only) Height of the media item',
+ 'width' => '(int) (Image & video only) Width of the media item',
+ 'length' => '(int) (Video & audio only) Duration of the media item, in seconds',
+ 'exif' => '(array) (Image & audio only) Exif (meta) information about the media item',
+ 'videopress_guid' => '(string) (Video only) VideoPress GUID of the video when uploaded on a blog with VideoPress',
+ 'videopress_processing_done' => '(bool) (Video only) If the video is Uuploaded on a blog with VideoPress, this will return the status of processing on the Video',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media/$media_ID/delete',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media/$media_ID/delete',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
+);
-class WPCOM_JSON_API_Delete_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
- function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
+/**
+ * Delete media v1_1 endpoint class.
+ */
+class WPCOM_JSON_API_Delete_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint { //phpcs:ignore
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $media_id - the media ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-edit-media-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-edit-media-v1-2-endpoint.php
index 773bf8e1..0a385357 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-edit-media-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-edit-media-v1-2-endpoint.php
@@ -1,114 +1,125 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
jetpack_require_lib( 'class.media' );
define( 'REVISION_HISTORY_MAXIMUM_AMOUNT', 0 );
define( 'WP_ATTACHMENT_IMAGE_ALT', '_wp_attachment_image_alt' );
-new WPCOM_JSON_API_Edit_Media_v1_2_Endpoint( array(
- 'description' => 'Edit a media item.',
- 'group' => 'media',
- 'stat' => 'media:1:POST',
- 'min_version' => '1',
- 'max_version' => '1.2',
- 'method' => 'POST',
- 'path' => '/sites/%s/media/%d/edit',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$media_ID' => '(int) The ID of the media item',
- ),
-
- 'request_format' => array(
- 'parent_id' => '(int) ID of the post this media is attached to',
- 'title' => '(string) The file name.',
- 'caption' => '(string) File caption.',
- 'description' => '(HTML) Description of the file.',
- 'alt' => "(string) Alternative text for image files.",
- 'artist' => "(string) Audio Only. Artist metadata for the audio track.",
- 'album' => "(string) Audio Only. Album metadata for the audio track.",
- 'media' => "(object) An object file to attach to the post. To upload media, " .
- "the entire request should be multipart/form-data encoded. " .
- "Multiple media items will be displayed in a gallery. Accepts " .
- "jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. " .
- "Audio and Video may also be available. See <code>allowed_file_types</code> " .
- "in the options response of the site endpoint. " .
- "<br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'title=Image' \<br />--form 'media=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- 'attrs' => "(object) An Object of attributes (`title`, `description` and `caption`) " .
- "are supported to assign to the media uploaded via the `media` or `media_url`",
- 'media_url' => "(string) An URL of the image to attach to a post.",
- ),
-
- 'response_format' => array(
- 'ID' => '(int) The ID of the media item',
- 'date' => '(ISO 8601 datetime) The date the media was uploaded',
- 'post_ID' => '(int) ID of the post this media is attached to',
- 'author_ID' => '(int) ID of the user who uploaded the media',
- 'URL' => '(string) URL to the file',
- 'guid' => '(string) Unique identifier',
- 'file' => '(string) File name',
- 'extension' => '(string) File extension',
- 'mime_type' => '(string) File mime type',
- 'title' => '(string) File name',
- 'caption' => '(string) User provided caption of the file',
- 'description' => '(string) Description of the file',
- 'alt' => '(string) Alternative text for image files.',
- 'thumbnails' => '(object) Media item thumbnail URL options',
- 'height' => '(int) (Image & video only) Height of the media item',
- 'width' => '(int) (Image & video only) Width of the media item',
- 'length' => '(int) (Video & audio only) Duration of the media item, in seconds',
- 'exif' => '(array) (Image & audio only) Exif (meta) information about the media item',
- 'videopress_guid' => '(string) (Video only) VideoPress GUID of the video when uploaded on a blog with VideoPress',
- 'videopress_processing_done' => '(bool) (Video only) If the video is uploaded on a blog with VideoPress, this will return the status of processing on the video.',
- 'revision_history' => '(object) An object with `items` and `original` keys. ' .
- '`original` is an object with data about the original image. ' .
- '`items` is an array of snapshots of the previous images of this Media. ' .
- 'Each item has the `URL`, `file, `extension`, `date`, and `mime_type` fields.'
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/82974409/media/446',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+new WPCOM_JSON_API_Edit_Media_v1_2_Endpoint(
+ array(
+ 'description' => 'Edit a media item.',
+ 'group' => 'media',
+ 'stat' => 'media:1:POST',
+ 'min_version' => '1',
+ 'max_version' => '1.2',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/media/%d/edit',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$media_ID' => '(int) The ID of the media item',
+ ),
+
+ 'request_format' => array(
+ 'parent_id' => '(int) ID of the post this media is attached to',
+ 'title' => '(string) The file name.',
+ 'caption' => '(string) File caption.',
+ 'description' => '(HTML) Description of the file.',
+ 'alt' => '(string) Alternative text for image files.',
+ 'artist' => '(string) Audio Only. Artist metadata for the audio track.',
+ 'album' => '(string) Audio Only. Album metadata for the audio track.',
+ 'media' => '(object) An object file to attach to the post. To upload media, ' .
+ 'the entire request should be multipart/form-data encoded. ' .
+ 'Multiple media items will be displayed in a gallery. Accepts ' .
+ 'jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. ' .
+ 'Audio and Video may also be available. See <code>allowed_file_types</code> ' .
+ 'in the options response of the site endpoint. ' .
+ '<br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'title=Image' \<br />--form 'media=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ 'attrs' => '(object) An Object of attributes (`title`, `description` and `caption`) ' .
+ 'are supported to assign to the media uploaded via the `media` or `media_url`',
+ 'media_url' => '(string) An URL of the image to attach to a post.',
+ ),
+
+ 'response_format' => array(
+ 'ID' => '(int) The ID of the media item',
+ 'date' => '(ISO 8601 datetime) The date the media was uploaded',
+ 'post_ID' => '(int) ID of the post this media is attached to',
+ 'author_ID' => '(int) ID of the user who uploaded the media',
+ 'URL' => '(string) URL to the file',
+ 'guid' => '(string) Unique identifier',
+ 'file' => '(string) File name',
+ 'extension' => '(string) File extension',
+ 'mime_type' => '(string) File mime type',
+ 'title' => '(string) File name',
+ 'caption' => '(string) User provided caption of the file',
+ 'description' => '(string) Description of the file',
+ 'alt' => '(string) Alternative text for image files.',
+ 'thumbnails' => '(object) Media item thumbnail URL options',
+ 'height' => '(int) (Image & video only) Height of the media item',
+ 'width' => '(int) (Image & video only) Width of the media item',
+ 'length' => '(int) (Video & audio only) Duration of the media item, in seconds',
+ 'exif' => '(array) (Image & audio only) Exif (meta) information about the media item',
+ 'videopress_guid' => '(string) (Video only) VideoPress GUID of the video when uploaded on a blog with VideoPress',
+ 'videopress_processing_done' => '(bool) (Video only) If the video is uploaded on a blog with VideoPress, this will return the status of processing on the video.',
+ 'revision_history' => '(object) An object with `items` and `original` keys. ' .
+ '`original` is an object with data about the original image. ' .
+ '`items` is an array of snapshots of the previous images of this Media. ' .
+ 'Each item has the `URL`, `file, `extension`, `date`, and `mime_type` fields.',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/82974409/media/446',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'title' => 'Updated Title',
+ ),
),
- 'body' => array(
- 'title' => 'Updated Title'
- )
)
-) );
+);
-class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Media_v1_1_Endpoint {
+/**
+ * Edit media v1_2 endpoint class.
+ */
+class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Media_v1_1_Endpoint { //phpcs:ignore
/**
* Return an array of mime_type items allowed when the media file is uploaded.
*
+ * @param Array $default_mime_types - array of default mime types.
+ *
* @return {Array} mime_type array
*/
- static function get_allowed_mime_types( $default_mime_types ) {
- return array_unique( array_merge( $default_mime_types, array(
- 'application/msword', // .doc
- 'application/vnd.ms-powerpoint', // .ppt, .pps
- 'application/vnd.ms-excel', // .xls
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation', // .pptx
- 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', // .ppsx
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', // .xlsx
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', // .docx
- 'application/vnd.oasis.opendocument.text', // .odt
- 'application/pdf', // .pdf
- ) ) );
+ public static function get_allowed_mime_types( $default_mime_types ) {
+ return array_unique(
+ array_merge(
+ $default_mime_types,
+ array(
+ 'application/msword', // .doc
+ 'application/vnd.ms-powerpoint', // .ppt, .pps
+ 'application/vnd.ms-excel', // .xls
+ 'application/vnd.openxmlformats-officedocument.presentationml.presentation', // .pptx
+ 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', // .ppsx
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', // .xlsx
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', // .docx
+ 'application/vnd.oasis.opendocument.text', // .odt
+ 'application/pdf', // .pdf
+ )
+ )
+ );
}
/**
* Update the media post grabbing the post values from
* the `attrs` parameter
*
- * @param {Number} $media_id - post media ID
- * @param {Object} $attrs - `attrs` parameter sent from the client in the request body
- * @return
+ * @param {Number} $media_id - post media ID.
+ * @param {Object} $attrs - `attrs` parameter sent from the client in the request body.
*/
private function update_by_attrs_parameter( $media_id, $attrs ) {
$insert = array();
- // Attributes: Title, Caption, Description
+ // Attributes: Title, Caption, Description.
if ( isset( $attrs['title'] ) ) {
$insert['post_title'] = $attrs['title'];
}
@@ -122,16 +133,16 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
}
if ( ! empty( $insert ) ) {
- $insert['ID'] = $media_id;
+ $insert['ID'] = $media_id;
$update_action = wp_update_post( (object) $insert );
if ( is_wp_error( $update_action ) ) {
return $update_action;
}
}
- // Attributes: Alt
+ // Attributes: Alt.
if ( isset( $attrs['alt'] ) ) {
- $alt = wp_strip_all_tags( $attrs['alt'], true );
+ $alt = wp_strip_all_tags( $attrs['alt'], true );
$post_update_action = update_post_meta( $media_id, WP_ATTACHMENT_IMAGE_ALT, $alt );
if ( is_wp_error( $post_update_action ) ) {
@@ -139,7 +150,7 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
}
}
- // Attributes: Artist, Album
+ // Attributes: Artist, Album.
$id3_meta = array();
foreach ( array( 'artist', 'album' ) as $key ) {
@@ -149,7 +160,7 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
}
if ( ! empty( $id3_meta ) ) {
- // Before updating metadata, ensure that the item is audio
+ // Before updating metadata, ensure that the item is audio.
$item = $this->get_media_item_v1_1( $media_id );
if ( 0 === strpos( $item->mime_type, 'audio/' ) ) {
$update_action = wp_update_attachment_metadata( $media_id, $id3_meta );
@@ -165,20 +176,20 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
/**
* Return an object to be used to store into the revision_history
*
- * @param {Object} $media_item - media post object
+ * @param {Object} $media_item - media post object.
* @return {Object} the snapshot object
*/
private function get_snapshot( $media_item ) {
$current_file = get_attached_file( $media_item->ID );
- $file_paths = pathinfo( $current_file );
+ $file_paths = pathinfo( $current_file );
$snapshot = array(
- 'date' => (string) $this->format_date( $media_item->post_modified_gmt, $media_item->post_modified ),
- 'URL' => (string) wp_get_attachment_url( $media_item->ID ),
- 'file' => (string) $file_paths['basename'],
- 'extension' => (string) $file_paths['extension'],
- 'mime_type' => (string) $media_item->post_mime_type,
- 'size' => (int) filesize( $current_file )
+ 'date' => (string) $this->format_date( $media_item->post_modified_gmt, $media_item->post_modified ),
+ 'URL' => (string) wp_get_attachment_url( $media_item->ID ),
+ 'file' => (string) $file_paths['basename'],
+ 'extension' => (string) $file_paths['extension'],
+ 'mime_type' => (string) $media_item->post_mime_type,
+ 'size' => (int) filesize( $current_file ),
);
return (object) $snapshot;
@@ -187,22 +198,24 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
/**
* Try to remove the temporal file from the given file array.
*
- * @param {Array} $file_array - Array with data about the temporal file
+ * @param {Array} $file_array - Array with data about the temporal file.
* @return {Boolean} `true` if the file has been removed.
* `false` either the file doesn't exist or it couldn't be removed.
*/
private function remove_tmp_file( $file_array ) {
- if ( ! file_exists ( $file_array['tmp_name'] ) ) {
+ if ( ! file_exists( $file_array['tmp_name'] ) ) {
return false;
}
+ // @todo - see if we can more permanently fix this NoSilencedError.
+ // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
return @unlink( $file_array['tmp_name'] );
}
/**
* Save the given temporal file in a local folder.
*
- * @param {Array} $file_array
- * @param {Number} $media_id
+ * @param {Array} $file_array - array containing file data.
+ * @param {Number} $media_id - the media id.
* @return {Array|WP_Error} An array with information about the new file saved or a WP_Error is something went wrong.
*/
private function save_temporary_file( $file_array, $media_id ) {
@@ -212,10 +225,10 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
return new WP_Error( 'invalid_input', 'No media provided in input.' );
}
- // add additional mime_types through of the `jetpack_supported_media_sideload_types` filter
+ // add additional mime_types through of the `jetpack_supported_media_sideload_types` filter.
$mime_type_static_filter = array(
'WPCOM_JSON_API_Edit_Media_v1_2_Endpoint',
- 'get_allowed_mime_types'
+ 'get_allowed_mime_types',
);
add_filter( 'jetpack_supported_media_sideload_types', $mime_type_static_filter );
@@ -223,21 +236,23 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
! $this->is_file_supported_for_sideloading( $tmp_filename ) &&
! file_is_displayable_image( $tmp_filename )
) {
+ // @todo - see if we can more permanently fix this NoSilencedError.
+ // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
@unlink( $tmp_filename );
return new WP_Error( 'invalid_input', 'Invalid file type.', 403 );
}
remove_filter( 'jetpack_supported_media_sideload_types', $mime_type_static_filter );
- // generate a new file name
- $tmp_new_filename = Jetpack_Media::generate_new_filename( $media_id, $file_array[ 'name' ] );
+ // generate a new file name.
+ $tmp_new_filename = Jetpack_Media::generate_new_filename( $media_id, $file_array['name'] );
- // start to create the parameters to move the temporal file
+ // start to create the parameters to move the temporal file.
$overrides = array( 'test_form' => false );
$time = $this->get_time_string_from_guid( $media_id );
$file_array['name'] = $tmp_new_filename;
- $file = wp_handle_sideload( $file_array, $overrides, $time );
+ $file = wp_handle_sideload( $file_array, $overrides, $time );
$this->remove_tmp_file( $file_array );
@@ -258,13 +273,16 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
* "http://test.files.wordpress.com/2016/10/test.png" the resulting string
* would be: "2016/10"
*
- * @param $media_id
+ * @param int $media_id - the media id.
*
* @return string
*/
private function get_time_string_from_guid( $media_id ) {
- $time = date( "Y/m", strtotime( current_time( 'mysql' ) ) );
- if ( $media = get_post( $media_id ) ) {
+ // @todo: investigate if we can replace date with gmdate()
+ // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
+ $time = date( 'Y/m', strtotime( current_time( 'mysql' ) ) );
+ $media = get_post( $media_id );
+ if ( $media ) {
$pattern = '/\/(\d{4}\/\d{2})\//';
preg_match( $pattern, $media->guid, $matches );
if ( count( $matches ) > 1 ) {
@@ -277,8 +295,8 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
/**
* Get the image from a remote url and then save it locally.
*
- * @param {Number} $media_id - media post ID
- * @param {String} $url - image URL to save locally
+ * @param {Number} $media_id - media post ID.
+ * @param {String} $url - image URL to save locally.
* @return {Array|WP_Error} An array with information about the new file saved or a WP_Error is something went wrong.
*/
private function build_file_array_from_url( $media_id, $url ) {
@@ -286,30 +304,34 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
return null;
}
- // if we didn't get a URL, let's bail
+ // if we didn't get a URL, let's bail.
$parsed = wp_parse_url( $url );
if ( empty( $parsed ) ) {
return new WP_Error( 'invalid_url', 'No media provided in url.' );
}
- // save the remote image into a tmp file
- $tmp = download_url( wpcom_get_private_file( $url ) );
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ $url = wpcom_get_private_file( $url );
+ }
+
+ // save the remote image into a tmp file.
+ $tmp = download_url( $url );
if ( is_wp_error( $tmp ) ) {
return $tmp;
}
return array(
- 'name' => basename( $url ),
- 'tmp_name' => $tmp
+ 'name' => basename( $url ),
+ 'tmp_name' => $tmp,
);
}
/**
* Add a new item into revision_history array.
*
- * @param {Object} $media_item - media post
- * @param {file} $file - file recentrly added
- * @param {Boolean} $has_original_media - condition is the original media has been already added
+ * @param {Object} $media_item - media post.
+ * @param {file} $file - file recentrly added.
+ * @param {Boolean} $has_original_media - condition is the original media has been already added.
* @return {Boolean} `true` if the item has been added. Otherwise `false`.
*/
private function register_revision( $media_item, $file, $has_original_media ) {
@@ -320,10 +342,17 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
return false;
}
- add_post_meta( $media_item->ID, Jetpack_Media::$WP_REVISION_HISTORY, $this->get_snapshot( $media_item ) );
+ add_post_meta( $media_item->ID, Jetpack_Media::WP_REVISION_HISTORY, $this->get_snapshot( $media_item ) );
}
- function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $media_id - the media ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -353,7 +382,7 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
if ( isset( $media_url ) || $media_file ) {
$user_can_upload_files = current_user_can( 'upload_files' ) || $this->api->is_authorized_with_upload_token();
- if ( ! $user_can_upload_files ) {
+ if ( ! $user_can_upload_files ) {
return new WP_Error( 'unauthorized', 'User cannot upload media.', 403 );
}
@@ -361,12 +390,12 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
if ( ! $has_original_media ) {
// The first time that the media is updated
- // the original media is stored into the revision_history
+ // the original media is stored into the revision_history.
$snapshot = $this->get_snapshot( $media_item );
- add_post_meta( $media_id, Jetpack_Media::$WP_ORIGINAL_MEDIA, $snapshot, true );
+ add_post_meta( $media_id, Jetpack_Media::WP_ORIGINAL_MEDIA, $snapshot, true );
}
- // save the temporal file locally
+ // save the temporal file locally.
$temporal_file = $media_file ? $media_file : $this->build_file_array_from_url( $media_id, $media_url );
if ( is_wp_error( $temporal_file ) ) {
@@ -379,24 +408,26 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
return $uploaded_file;
}
- // revision_history control
+ // revision_history control.
$this->register_revision( $media_item, $uploaded_file, $has_original_media );
- $uploaded_path = $uploaded_file['file'];
+ $uploaded_path = $uploaded_file['file'];
$udpated_mime_type = $uploaded_file['type'];
- $was_updated = update_attached_file( $media_id, $uploaded_path );
+ $was_updated = update_attached_file( $media_id, $uploaded_path );
if ( $was_updated ) {
$new_metadata = wp_generate_attachment_metadata( $media_id, $uploaded_path );
wp_update_attachment_metadata( $media_id, $new_metadata );
- // check maximum amount of revision_history
+ // check maximum amount of revision_history.
Jetpack_Media::limit_revision_history( $media_id, REVISION_HISTORY_MAXIMUM_AMOUNT );
- wp_update_post( (object) array(
- 'ID' => $media_id,
- 'post_mime_type' => $udpated_mime_type
- ) );
+ wp_update_post(
+ (object) array(
+ 'ID' => $media_id,
+ 'post_mime_type' => $udpated_mime_type,
+ )
+ );
}
unset( $input['media'] );
@@ -404,7 +435,7 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
unset( $input['attrs'] );
}
- // update media through of `attrs` value it it's defined
+ // update media through of `attrs` value it it's defined.
if ( ( $media_file || isset( $media_url ) ) && $media_attrs ) {
$was_updated = $this->update_by_attrs_parameter( $media_id, $media_attrs );
@@ -413,13 +444,13 @@ class WPCOM_JSON_API_Edit_Media_v1_2_Endpoint extends WPCOM_JSON_API_Update_Medi
}
}
- // call parent method
+ // call parent method.
$response = parent::callback( $path, $blog_id, $media_id );
- // expose `revision_history` object
+ // expose `revision_history` object.
$response->revision_history = (object) array(
- 'items' => (array) Jetpack_Media::get_revision_history( $media_id ),
- 'original' => (object) Jetpack_Media::get_original_media( $media_id )
+ 'items' => (array) Jetpack_Media::get_revision_history( $media_id ),
+ 'original' => (object) Jetpack_Media::get_original_media( $media_id ),
);
return $response;
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-counts-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-counts-endpoint.php
index f92fe7eb..470ee5dc 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-counts-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-counts-endpoint.php
@@ -1,35 +1,48 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Endpoint: /sites/%s/comment-counts
+ */
-new WPCOM_JSON_API_GET_Comment_Counts_Endpoint( array(
- 'description' => 'Get comment counts for each available status',
- 'group' => 'comments',
- 'stat' => 'comments:1:comment-counts',
- 'method' => 'GET',
- 'path' => '/sites/%s/comment-counts',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
+new WPCOM_JSON_API_GET_Comment_Counts_Endpoint(
+ array(
+ 'description' => 'Get comment counts for each available status',
+ 'group' => 'comments',
+ 'stat' => 'comments:1:comment-counts',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/comment-counts',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
- 'query_parameters' => array(
- 'post_id' => '(int) post ID for filtering the comment counts by post',
- ),
+ 'query_parameters' => array(
+ 'post_id' => '(int) post ID for filtering the comment counts by post',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comment-counts',
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comment-counts',
- 'response_format' => array(
- 'all' => '(int) Combined number of approved and unapproved comments',
- 'approved' => '(int) Number of approved comments',
- 'pending' => '(int) Number of unapproved comments',
- 'trash' => '(int) Number of trash comments',
- 'spam' => '(int) Number of spam comments',
- 'post_trashed' => '(int) Number of comments whose parent post has been trashed',
- 'total_comments' => '(int) Combined number of comments in each category',
+ 'response_format' => array(
+ 'all' => '(int) Combined number of approved and unapproved comments',
+ 'approved' => '(int) Number of approved comments',
+ 'pending' => '(int) Number of unapproved comments',
+ 'trash' => '(int) Number of trash comments',
+ 'spam' => '(int) Number of spam comments',
+ 'post_trashed' => '(int) Number of comments whose parent post has been trashed',
+ 'total_comments' => '(int) Combined number of comments in each category',
+ ),
)
-) );
+);
+/**
+ * GET Comment Counts endpoint class.
+ */
class WPCOM_JSON_API_GET_Comment_Counts_Endpoint extends WPCOM_JSON_API_Endpoint {
-
- // /sites/%s/comment-counts
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ */
public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
@@ -66,7 +79,7 @@ class WPCOM_JSON_API_GET_Comment_Counts_Endpoint extends WPCOM_JSON_API_Endpoint
'trash' => (int) $comment_counts['trash'],
'spam' => (int) $comment_counts['spam'],
'post_trashed' => (int) $comment_counts['post-trashed'],
- 'total_comments' => (int) $comment_counts['total_comments']
+ 'total_comments' => (int) $comment_counts['total_comments'],
);
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-endpoint.php
index f536a22a..515097f7 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-endpoint.php
@@ -1,25 +1,39 @@
-<?php
-
-new WPCOM_JSON_API_Get_Comment_Endpoint( array(
- 'description' => 'Get a single comment.',
- 'group' => 'comments',
- 'stat' => 'comments:1',
-
- 'method' => 'GET',
- 'path' => '/sites/%s/comments/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$comment_ID' => '(int) The comment ID'
- ),
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comments/147564'
-) );
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Endpoint: /sites/%s/comments/%d -> $blog_id, $comment_id
+ */
+new WPCOM_JSON_API_Get_Comment_Endpoint(
+ array(
+ 'description' => 'Get a single comment.',
+ 'group' => 'comments',
+ 'stat' => 'comments:1',
+
+ 'method' => 'GET',
+ 'path' => '/sites/%s/comments/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$comment_ID' => '(int) The comment ID',
+ ),
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comments/147564',
+ )
+);
+
+/**
+ * Get Comment endpoint class.
+ */
class WPCOM_JSON_API_Get_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endpoint {
- // /sites/%s/comments/%d -> $blog_id, $comment_id
- function callback( $path = '', $blog_id = 0, $comment_id = 0 ) {
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $comment_id - the comment ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $comment_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -28,7 +42,7 @@ class WPCOM_JSON_API_Get_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endpoin
$args = $this->query_args();
$return = $this->get_comment( $comment_id, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-history-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-history-endpoint.php
index 1fa0e1d1..23ce9a48 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-history-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-history-endpoint.php
@@ -1,26 +1,38 @@
-<?php
-
-new WPCOM_JSON_API_GET_Comment_History_Endpoint( array(
- 'description' => 'Get the audit history for given comment',
- 'group' => 'comments',
- 'stat' => 'comments:1:comment-history',
- 'method' => 'GET',
- 'path' => '/sites/%s/comment-history/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$comment_ID' => '(int) The comment ID'
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comment-history/11',
-
- 'response_format' => array(
- 'comment_history' => '(array) Array of arrays representing the comment history objects.'
- )
-) );
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Endpoint: /sites/%s/comment-history/%d
+ */
+new WPCOM_JSON_API_GET_Comment_History_Endpoint(
+ array(
+ 'description' => 'Get the audit history for given comment',
+ 'group' => 'comments',
+ 'stat' => 'comments:1:comment-history',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/comment-history/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$comment_ID' => '(int) The comment ID',
+ ),
-class WPCOM_JSON_API_GET_Comment_History_Endpoint extends WPCOM_JSON_API_Endpoint {
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comment-history/11',
- // /sites/%s/comment-history/%d
+ 'response_format' => array(
+ 'comment_history' => '(array) Array of arrays representing the comment history objects.',
+ ),
+ )
+);
+/**
+ * GET Comment History endpoint.
+ */
+class WPCOM_JSON_API_GET_Comment_History_Endpoint extends WPCOM_JSON_API_Endpoint {
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $comment_id - the comment ID.
+ */
public function callback( $path = '', $blog_id = 0, $comment_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-endpoint.php
index ad48b46b..810d80b4 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-endpoint.php
@@ -1,62 +1,69 @@
-<?php
-
-new WPCOM_JSON_API_Get_Comments_Tree_Endpoint( array(
- 'description' => 'Get a comments tree for site.',
- 'max_version' => '1',
- 'new_version' => '1.1',
- 'group' => 'comments-tree',
- 'stat' => 'comments-tree:1',
-
- 'method' => 'GET',
- 'path' => '/sites/%s/comments-tree',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'query_parameters' => array(
- 'status' => '(string) Filter returned comments based on this value (allowed values: all, approved, unapproved, pending, trash, spam).'
- ),
- 'response_format' => array(
- 'comments_count' => '(int) Total number of comments on the site',
- 'comments_tree' => '(array) Array of arrays representing the comments tree for given site (max 50000)',
- 'trackbacks_count' => '(int) Total number of trackbacks on the site',
- 'trackbacks_tree' => '(array) Array of arrays representing the trackbacks tree for given site (max 50000)',
- 'pingbacks_count' => '(int) Total number of pingbacks on the site',
- 'pingbacks_tree' => '(array) Array of arrays representing the pingbacks tree for given site (max 50000)',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comments-tree?status=approved'
-) );
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+new WPCOM_JSON_API_Get_Comments_Tree_Endpoint(
+ array(
+ 'description' => 'Get a comments tree for site.',
+ 'max_version' => '1',
+ 'new_version' => '1.1',
+ 'group' => 'comments-tree',
+ 'stat' => 'comments-tree:1',
+
+ 'method' => 'GET',
+ 'path' => '/sites/%s/comments-tree',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'query_parameters' => array(
+ 'status' => '(string) Filter returned comments based on this value (allowed values: all, approved, unapproved, pending, trash, spam).',
+ ),
+ 'response_format' => array(
+ 'comments_count' => '(int) Total number of comments on the site',
+ 'comments_tree' => '(array) Array of arrays representing the comments tree for given site (max 50000)',
+ 'trackbacks_count' => '(int) Total number of trackbacks on the site',
+ 'trackbacks_tree' => '(array) Array of arrays representing the trackbacks tree for given site (max 50000)',
+ 'pingbacks_count' => '(int) Total number of pingbacks on the site',
+ 'pingbacks_tree' => '(array) Array of arrays representing the pingbacks tree for given site (max 50000)',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comments-tree?status=approved',
+ )
+);
+/**
+ * GET comments tree endpoint class.
+ */
class WPCOM_JSON_API_Get_Comments_Tree_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
* Retrieves a list of comment data for a given site.
*
* @param string $status Filter by status: all, approved, pending, spam or trash.
- * @param int $start_at first comment to search from going back in time
+ * @param int $start_at first comment to search from going back in time.
*
* @return array
*/
- function get_site_tree( $status, $start_at = PHP_INT_MAX ) {
+ public function get_site_tree( $status, $start_at = PHP_INT_MAX ) {
global $wpdb;
$max_comment_count = 50000;
- $db_status = $this->get_comment_db_status( $status );
+ $db_status = $this->get_comment_db_status( $status );
$db_comment_rows = $wpdb->get_results(
$wpdb->prepare(
- "SELECT comment_ID, comment_post_ID, comment_parent, comment_type " .
+ 'SELECT comment_ID, comment_post_ID, comment_parent, comment_type ' .
"FROM $wpdb->comments AS comments " .
"INNER JOIN $wpdb->posts AS posts ON comments.comment_post_ID = posts.ID " .
"WHERE comment_ID <= %d AND ( %s = 'all' OR comment_approved = %s ) " .
- "ORDER BY comment_ID DESC " .
- "LIMIT %d",
- (int) $start_at, $db_status, $db_status, $max_comment_count
+ 'ORDER BY comment_ID DESC ' .
+ 'LIMIT %d',
+ (int) $start_at,
+ $db_status,
+ $db_status,
+ $max_comment_count
),
ARRAY_N
);
- $comments = array();
+ $comments = array();
$trackbacks = array();
- $pingbacks = array();
+ $pingbacks = array();
foreach ( $db_comment_rows as $row ) {
list( $comment_id, $comment_post_id, $comment_parent, $comment_type ) = $row;
switch ( $comment_type ) {
@@ -72,12 +79,12 @@ class WPCOM_JSON_API_Get_Comments_Tree_Endpoint extends WPCOM_JSON_API_Endpoint
}
return array(
- 'comments_count' => $this->get_site_tree_total_count( $status, 'comment' ),
- 'comments_tree' => array_map( array( $this, 'array_map_all_as_ints' ), $comments ),
+ 'comments_count' => $this->get_site_tree_total_count( $status, 'comment' ),
+ 'comments_tree' => array_map( array( $this, 'array_map_all_as_ints' ), $comments ),
'trackbacks_count' => $this->get_site_tree_total_count( $status, 'trackback' ),
- 'trackbacks_tree' => array_map( array( $this, 'array_map_all_as_ints' ), $trackbacks ),
- 'pingbacks_count' => $this->get_site_tree_total_count( $status, 'pingback' ),
- 'pingbacks_tree' => array_map( array( $this, 'array_map_all_as_ints' ), $pingbacks ),
+ 'trackbacks_tree' => array_map( array( $this, 'array_map_all_as_ints' ), $trackbacks ),
+ 'pingbacks_count' => $this->get_site_tree_total_count( $status, 'pingback' ),
+ 'pingbacks_tree' => array_map( array( $this, 'array_map_all_as_ints' ), $pingbacks ),
);
}
@@ -88,7 +95,7 @@ class WPCOM_JSON_API_Get_Comments_Tree_Endpoint extends WPCOM_JSON_API_Endpoint
*
* @return array Comments with values as integers.
*/
- function array_map_all_as_ints( $comments ) {
+ public function array_map_all_as_ints( $comments ) {
return array_map( 'intval', $comments );
}
@@ -100,7 +107,7 @@ class WPCOM_JSON_API_Get_Comments_Tree_Endpoint extends WPCOM_JSON_API_Endpoint
*
* @return int Total count of comments for a site.
*/
- function get_site_tree_total_count( $status, $type ) {
+ public function get_site_tree_total_count( $status, $type ) {
global $wpdb;
$db_status = $this->get_comment_db_status( $status );
@@ -108,7 +115,7 @@ class WPCOM_JSON_API_Get_Comments_Tree_Endpoint extends WPCOM_JSON_API_Endpoint
$result = $wpdb->get_var(
$wpdb->prepare(
- "SELECT COUNT(1) " .
+ 'SELECT COUNT(1) ' .
"FROM $wpdb->comments AS comments " .
"INNER JOIN $wpdb->posts AS posts ON comments.comment_post_ID = posts.ID " .
"WHERE comment_type = %s AND ( %s = 'all' OR comment_approved = %s )",
@@ -127,7 +134,7 @@ class WPCOM_JSON_API_Get_Comments_Tree_Endpoint extends WPCOM_JSON_API_Endpoint
*
* @return string Corresponding value that exists in database.
*/
- function get_comment_db_status( $status ) {
+ public function get_comment_db_status( $status ) {
if ( 'approved' === $status ) {
return '1';
}
@@ -140,23 +147,23 @@ class WPCOM_JSON_API_Get_Comments_Tree_Endpoint extends WPCOM_JSON_API_Endpoint
/**
* Determine if the passed comment status is valid or not.
*
- * @param string $status
+ * @param string $status - comment status.
*
* @return boolean
*/
- function validate_status_param( $status ) {
- return in_array( $status, array( 'all', 'approved', 'unapproved', 'pending', 'spam', 'trash' ) );
+ public function validate_status_param( $status ) {
+ return in_array( $status, array( 'all', 'approved', 'unapproved', 'pending', 'spam', 'trash' ), true );
}
/**
* Sanitize a given comment type.
*
- * @param string Comment type: can be 'trackback', 'pingback', or 'comment'.
+ * @param string $type Comment type: can be 'trackback', 'pingback', or 'comment'.
*
* @return string Sanitized comment type.
*/
- function get_sanitized_comment_type( $type = 'comment' ) {
- if ( in_array( $type, array( 'trackback', 'pingback', 'comment' ) ) ) {
+ public function get_sanitized_comment_type( $type = 'comment' ) {
+ if ( in_array( $type, array( 'trackback', 'pingback', 'comment' ), true ) ) {
return $type;
}
return 'comment';
@@ -165,18 +172,18 @@ class WPCOM_JSON_API_Get_Comments_Tree_Endpoint extends WPCOM_JSON_API_Endpoint
/**
* Endpoint callback for /sites/%s/comments-tree
*
- * @param string $path
- * @param int $blog_id
+ * @param string $path - the api path.
+ * @param int $blog_id - the blog id.
*
* @return array Site tree results by status.
*/
- function callback( $path = '', $blog_id = 0 ) {
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
- $args = $this->query_args();
+ $args = $this->query_args();
$comment_status = empty( $args['status'] ) ? 'all' : $args['status'];
if ( ! $this->validate_status_param( $comment_status ) ) {
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-1-endpoint.php
index 6052863b..415ea9d7 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-1-endpoint.php
@@ -1,65 +1,73 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_Get_Comments_Tree_v1_1_Endpoint ( array(
- 'description' => 'Get a comments tree for site.',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'group' => 'comments-tree',
- 'stat' => 'comments-tree:1',
+new WPCOM_JSON_API_Get_Comments_Tree_v1_1_Endpoint(
+ array(
+ 'description' => 'Get a comments tree for site.',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'group' => 'comments-tree',
+ 'stat' => 'comments-tree:1',
- 'method' => 'GET',
- 'path' => '/sites/%s/comments-tree',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'query_parameters' => array(
- 'status' => '(string) Filter returned comments based on this value (allowed values: all, approved, pending, trash, spam).'
- ),
- 'response_format' => array(
- 'comments_count' => '(int) Total number of comments on the site',
- 'comments_tree' => '(array) Array of post IDs representing the comments tree for given site (max 50000)',
- 'trackbacks_count' => '(int) Total number of trackbacks on the site',
- 'trackbacks_tree' => '(array) Array of post IDs representing the trackbacks tree for given site (max 50000)',
- 'pingbacks_count' => '(int) Total number of pingbacks on the site',
- 'pingbacks_tree' => '(array) Array of post IDs representing the pingbacks tree for given site (max 50000)',
- ),
+ 'method' => 'GET',
+ 'path' => '/sites/%s/comments-tree',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'query_parameters' => array(
+ 'status' => '(string) Filter returned comments based on this value (allowed values: all, approved, pending, trash, spam).',
+ ),
+ 'response_format' => array(
+ 'comments_count' => '(int) Total number of comments on the site',
+ 'comments_tree' => '(array) Array of post IDs representing the comments tree for given site (max 50000)',
+ 'trackbacks_count' => '(int) Total number of trackbacks on the site',
+ 'trackbacks_tree' => '(array) Array of post IDs representing the trackbacks tree for given site (max 50000)',
+ 'pingbacks_count' => '(int) Total number of pingbacks on the site',
+ 'pingbacks_tree' => '(array) Array of post IDs representing the pingbacks tree for given site (max 50000)',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/comments-tree?status=approved'
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/comments-tree?status=approved',
+ )
+);
-class WPCOM_JSON_API_Get_Comments_Tree_v1_1_Endpoint extends WPCOM_JSON_API_Get_Comments_Tree_Endpoint {
+/**
+ * GET comments tree v1_1 endpoint.
+ */
+class WPCOM_JSON_API_Get_Comments_Tree_v1_1_Endpoint extends WPCOM_JSON_API_Get_Comments_Tree_Endpoint { // phpcs:ignore
/**
* Retrieves a list of comment data for a given site.
*
* @param string $status Filter by status: all, approved, pending, spam or trash.
- * @param int $start_at first comment to search from going back in time
+ * @param int $start_at first comment to search from going back in time.
*
* @return array
*/
- function get_site_tree( $status, $start_at = PHP_INT_MAX ) {
+ public function get_site_tree( $status, $start_at = PHP_INT_MAX ) {
global $wpdb;
$max_comment_count = 50000;
- $db_status = $this->get_comment_db_status( $status );
+ $db_status = $this->get_comment_db_status( $status );
$db_comment_rows = $wpdb->get_results(
$wpdb->prepare(
- "SELECT comment_ID, comment_post_ID, comment_parent, comment_type " .
+ 'SELECT comment_ID, comment_post_ID, comment_parent, comment_type ' .
"FROM $wpdb->comments AS comments " .
"INNER JOIN $wpdb->posts AS posts ON comments.comment_post_ID = posts.ID " .
"WHERE comment_ID <= %d AND ( %s = 'all' OR comment_approved = %s ) " .
- "ORDER BY comment_ID DESC " .
- "LIMIT %d",
- (int) $start_at, $db_status, $db_status, $max_comment_count
+ 'ORDER BY comment_ID DESC ' .
+ 'LIMIT %d',
+ (int) $start_at,
+ $db_status,
+ $db_status,
+ $max_comment_count
),
ARRAY_N
);
- $comments = array();
+ $comments = array();
$trackbacks = array();
- $pingbacks = array();
+ $pingbacks = array();
foreach ( $db_comment_rows as $row ) {
- $comment_id = (int) $row[0];
- $comment_post_id = (int) $row[1];
+ $comment_id = (int) $row[0];
+ $comment_post_id = (int) $row[1];
$comment_parent_id = (int) $row[2];
if ( ! isset( $comments[ $comment_post_id ] ) ) {
$comments[ $comment_post_id ] = array( array(), array() );
@@ -81,12 +89,12 @@ class WPCOM_JSON_API_Get_Comments_Tree_v1_1_Endpoint extends WPCOM_JSON_API_Get_
}
return array(
- 'comments_count' => $this->get_site_tree_total_count( $status, 'comment' ),
- 'comments_tree' => $comments,
+ 'comments_count' => $this->get_site_tree_total_count( $status, 'comment' ),
+ 'comments_tree' => $comments,
'trackbacks_count' => $this->get_site_tree_total_count( $status, 'trackback' ),
- 'trackbacks_tree' => $trackbacks,
- 'pingbacks_count' => $this->get_site_tree_total_count( $status, 'pingback' ),
- 'pingbacks_tree' => $pingbacks,
+ 'trackbacks_tree' => $trackbacks,
+ 'pingbacks_count' => $this->get_site_tree_total_count( $status, 'pingback' ),
+ 'pingbacks_tree' => $pingbacks,
);
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-2-endpoint.php
index a4b09853..c46be45a 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comments-tree-v1-2-endpoint.php
@@ -1,31 +1,36 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_Get_Comments_Tree_v1_2_Endpoint( array(
- 'description' => 'Get a comments tree for site.',
- 'min_version' => '1.2',
- 'max_version' => '1.2',
- 'group' => 'comments-tree',
- 'stat' => 'comments-tree:1',
+new WPCOM_JSON_API_Get_Comments_Tree_v1_2_Endpoint(
+ array(
+ 'description' => 'Get a comments tree for site.',
+ 'min_version' => '1.2',
+ 'max_version' => '1.2',
+ 'group' => 'comments-tree',
+ 'stat' => 'comments-tree:1',
- 'method' => 'GET',
- 'path' => '/sites/%s/comments-tree',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'query_parameters' => array(
- 'post_id' => '(int) Filter returned comments by a post.',
- 'status' => '(string) Filter returned comments based on this value (allowed values: all, approved, pending, trash, spam).',
- ),
- 'response_format' => array(
- 'comments_tree' => '(array) Array of post IDs representing the comments tree for given site or post (max 50000)',
- 'trackbacks_tree' => '(array) Array of post IDs representing the trackbacks tree for given site or post (max 50000)',
- 'pingbacks_tree' => '(array) Array of post IDs representing the pingbacks tree for given site or post (max 50000)',
- ),
+ 'method' => 'GET',
+ 'path' => '/sites/%s/comments-tree',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'query_parameters' => array(
+ 'post_id' => '(int) Filter returned comments by a post.',
+ 'status' => '(string) Filter returned comments based on this value (allowed values: all, approved, pending, trash, spam).',
+ ),
+ 'response_format' => array(
+ 'comments_tree' => '(array) Array of post IDs representing the comments tree for given site or post (max 50000)',
+ 'trackbacks_tree' => '(array) Array of post IDs representing the trackbacks tree for given site or post (max 50000)',
+ 'pingbacks_tree' => '(array) Array of post IDs representing the pingbacks tree for given site or post (max 50000)',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/comments-tree?&status=approved&post_id=123',
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/comments-tree?&status=approved&post_id=123',
+ )
+);
-class WPCOM_JSON_API_Get_Comments_Tree_v1_2_Endpoint extends WPCOM_JSON_API_Get_Comments_Tree_v1_1_Endpoint {
+/**
+ * Get comments tree v1_2 endpoint class.
+ */
+class WPCOM_JSON_API_Get_Comments_Tree_v1_2_Endpoint extends WPCOM_JSON_API_Get_Comments_Tree_v1_1_Endpoint { // phpcs:ignore
/**
* Retrieves a list of comment data.
*
@@ -40,51 +45,58 @@ class WPCOM_JSON_API_Get_Comments_Tree_v1_2_Endpoint extends WPCOM_JSON_API_Get_
*
* @return array
*/
- function get_site_tree_v1_2( $args = array() ) {
+ public function get_site_tree_v1_2( $args = array() ) {
global $wpdb;
- $defaults = array(
+ $defaults = array(
'max_comment_count' => 50000,
- 'post_id' => NULL,
+ 'post_id' => null,
'start_at' => PHP_INT_MAX,
'status' => 'all',
);
- $args = wp_parse_args( $args, $defaults );
+ $args = wp_parse_args( $args, $defaults );
$db_status = $this->get_comment_db_status( $args['status'] );
if ( ! empty( $args['post_id'] ) ) {
$db_comment_rows = $wpdb->get_results(
$wpdb->prepare(
- "SELECT comment_ID, comment_parent, comment_type " .
+ 'SELECT comment_ID, comment_parent, comment_type ' .
"FROM $wpdb->comments AS comments " .
"WHERE comment_ID <= %d AND comment_post_ID = %d AND ( %s = 'all' OR comment_approved = %s ) " .
- "ORDER BY comment_ID DESC " .
- "LIMIT %d",
- (int) $args['start_at'], (int) $args['post_id'], $db_status, $db_status, $args['max_comment_count']
+ 'ORDER BY comment_ID DESC ' .
+ 'LIMIT %d',
+ (int) $args['start_at'],
+ (int) $args['post_id'],
+ $db_status,
+ $db_status,
+ $args['max_comment_count']
),
ARRAY_N
);
} else {
$db_comment_rows = $wpdb->get_results(
$wpdb->prepare(
- "SELECT comment_ID, comment_parent, comment_type, comment_post_ID " .
+ 'SELECT comment_ID, comment_parent, comment_type, comment_post_ID ' .
"FROM $wpdb->comments AS comments " .
"INNER JOIN $wpdb->posts AS posts ON comments.comment_post_ID = posts.ID " .
"WHERE comment_ID <= %d AND ( %s = 'all' OR comment_approved = %s ) " .
- "ORDER BY comment_ID DESC " .
- "LIMIT %d",
- (int) $args['start_at'], $db_status, $db_status, $args['max_comment_count']
+ 'ORDER BY comment_ID DESC ' .
+ 'LIMIT %d',
+ (int) $args['start_at'],
+ $db_status,
+ $db_status,
+ $args['max_comment_count']
),
ARRAY_N
);
}
- $comments = array();
+ $comments = array();
$trackbacks = array();
- $pingbacks = array();
+ $pingbacks = array();
foreach ( $db_comment_rows as $row ) {
- $comment_id = (int) $row[0];
+ $comment_id = (int) $row[0];
$comment_parent_id = (int) $row[1];
- $comment_post_id = isset( $args['post_id'] ) ? (int) $args['post_id'] : (int) $row[3];
+ $comment_post_id = isset( $args['post_id'] ) ? (int) $args['post_id'] : (int) $row[3];
if ( ! isset( $comments[ $comment_post_id ] ) ) {
$comments[ $comment_post_id ] = array( array(), array() );
@@ -106,27 +118,27 @@ class WPCOM_JSON_API_Get_Comments_Tree_v1_2_Endpoint extends WPCOM_JSON_API_Get_
}
return array(
- 'comments_tree' => $comments,
+ 'comments_tree' => $comments,
'trackbacks_tree' => $trackbacks,
- 'pingbacks_tree' => $pingbacks,
+ 'pingbacks_tree' => $pingbacks,
);
}
/**
* Endpoint callback for /sites/%s/comments-tree
*
- * @param string $path
- * @param int $blog_id
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
*
* @return array Site or post tree results by status.
*/
- function callback( $path = '', $blog_id = 0 ) {
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
- $args = $this->query_args();
+ $args = $this->query_args();
$filters = array();
if ( ! empty( $args['status'] ) ) {
@@ -137,7 +149,7 @@ class WPCOM_JSON_API_Get_Comments_Tree_v1_2_Endpoint extends WPCOM_JSON_API_Get_
}
if ( ! empty( $args['post_id'] ) ) {
- if ( is_null( get_post( absint( $args['post_id'] ) ) ) ) {
+ if ( get_post( absint( $args['post_id'] ) ) === null ) {
return new WP_Error( 'invalid_post', 'Invalid post', 400 );
}
$filters['post_id'] = absint( $args['post_id'] );
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-customcss.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-customcss.php
index ecc9f998..95e59344 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-customcss.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-customcss.php
@@ -1,39 +1,47 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Custom Css endpoint
*
- * https://public-api.wordpress.com/rest/v1.1/sites/$site/customcss/
+ * Endpoint: https://public-api.wordpress.com/rest/v1.1/sites/$site/customcss/
*/
-new WPCOM_JSON_API_Get_CustomCss_Endpoint( array (
- 'description' => 'Retrieve custom-css data for a site.',
- 'group' => '__do_not_document',
- 'stat' => 'customcss:1:get',
- 'method' => 'GET',
- 'min_version' => '1.1',
- 'path' => '/sites/%s/customcss',
- 'path_labels' => array(
- '$site' => '(string) Site ID or domain.',
- ),
- 'response_format' => array(
- 'css' => '(string) The raw CSS.',
- 'preprocessor' => '(string) The name of the preprocessor if any.',
- 'add_to_existing' => '(bool) False to skip the existing styles.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/12345678/customcss',
- 'example_response' => '
+new WPCOM_JSON_API_Get_CustomCss_Endpoint(
+ array(
+ 'description' => 'Retrieve custom-css data for a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'customcss:1:get',
+ 'method' => 'GET',
+ 'min_version' => '1.1',
+ 'path' => '/sites/%s/customcss',
+ 'path_labels' => array(
+ '$site' => '(string) Site ID or domain.',
+ ),
+ 'response_format' => array(
+ 'css' => '(string) The raw CSS.',
+ 'preprocessor' => '(string) The name of the preprocessor if any.',
+ 'add_to_existing' => '(bool) False to skip the existing styles.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/12345678/customcss',
+ 'example_response' => '
{
"css": ".site-title { color: #fff; }",
"preprocessor": "sass",
"add_to_existing": "true"
- }'
-) );
-
+ }',
+ )
+);
+/**
+ * GET Custom CSS Endpoint
+ */
class WPCOM_JSON_API_Get_CustomCss_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
+ *
* API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
*/
- function callback( $path = '', $blog_id = 0 ) {
+ public function callback( $path = '', $blog_id = 0 ) {
// Switch to the given blog.
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
@@ -41,14 +49,14 @@ class WPCOM_JSON_API_Get_CustomCss_Endpoint extends WPCOM_JSON_API_Endpoint {
}
$args = array(
- 'css' => Jetpack_Custom_CSS::get_css(),
- 'preprocessor' => Jetpack_Custom_CSS::get_preprocessor_key(),
+ 'css' => Jetpack_Custom_CSS::get_css(),
+ 'preprocessor' => Jetpack_Custom_CSS::get_preprocessor_key(),
'add_to_existing' => ! Jetpack_Custom_CSS::skip_stylesheet(),
);
$defaults = array(
- 'css' => '',
- 'preprocessor' => '',
+ 'css' => '',
+ 'preprocessor' => '',
'add_to_existing' => true,
);
return wp_parse_args( $args, $defaults );
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-endpoint.php
index cee9dac5..dac4e83f 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-endpoint.php
@@ -1,46 +1,59 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_Get_Media_Endpoint( array(
- 'description' => 'Get a single media item (by ID).',
- 'group' => 'media',
- 'stat' => 'media:1',
- 'method' => 'GET',
- 'path' => '/sites/%s/media/%d',
- 'deprecated' => true,
- 'new_version' => '1.1',
- 'max_version' => '1',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$media_ID' => '(int) The ID of the media item',
- ),
- 'response_format' => array(
- 'id' => '(int) The ID of the media item',
- 'date' => '(ISO 8601 datetime) The date the media was uploaded',
- 'parent' => '(int) ID of the post this media is attached to',
- 'link' => '(string) URL to the file',
- 'title' => '(string) Filename',
- 'caption' => '(string) User-provided caption of the file',
- 'description' => '(string) Description of the file',
- 'metadata' => '(array) Array of metadata about the file, such as Exif data or sizes',
- ),
+new WPCOM_JSON_API_Get_Media_Endpoint(
+ array(
+ 'description' => 'Get a single media item (by ID).',
+ 'group' => 'media',
+ 'stat' => 'media:1',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/media/%d',
+ 'deprecated' => true,
+ 'new_version' => '1.1',
+ 'max_version' => '1',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$media_ID' => '(int) The ID of the media item',
+ ),
+ 'response_format' => array(
+ 'id' => '(int) The ID of the media item',
+ 'date' => '(ISO 8601 datetime) The date the media was uploaded',
+ 'parent' => '(int) ID of the post this media is attached to',
+ 'link' => '(string) URL to the file',
+ 'title' => '(string) Filename',
+ 'caption' => '(string) User-provided caption of the file',
+ 'description' => '(string) Description of the file',
+ 'metadata' => '(array) Array of metadata about the file, such as Exif data or sizes',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/media/934',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/media/934',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
+);
+/**
+ * GET Media endpoint class.
+ */
class WPCOM_JSON_API_Get_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
- function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $media_id - the media ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
- //upload_files can probably be used for other endpoints but we want contributors to be able to use media too
- if ( !current_user_can( 'edit_posts', $media_id ) ) {
+ // upload_files can probably be used for other endpoints but we want contributors to be able to use media too.
+ if ( ! current_user_can( 'edit_posts', $media_id ) ) {
return new WP_Error( 'unauthorized', 'User cannot view media', 403 );
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-1-endpoint.php
index b1968f22..05e4f6b6 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-1-endpoint.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
new WPCOM_JSON_API_Get_Media_v1_1_Endpoint(
array(
@@ -48,8 +48,19 @@ new WPCOM_JSON_API_Get_Media_v1_1_Endpoint(
)
);
-class WPCOM_JSON_API_Get_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
- function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
+/**
+ * GET Media v1_1 endpoint.
+ */
+class WPCOM_JSON_API_Get_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint { //phpcs:ignore
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $media_id - the media ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -59,7 +70,7 @@ class WPCOM_JSON_API_Get_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
$this->load_theme_functions();
}
- //upload_files can probably be used for other endpoints but we want contributors to be able to use media too
+ // upload_files can probably be used for other endpoints but we want contributors to be able to use media too.
if ( ! current_user_can( 'edit_posts', $media_id ) ) {
return new WP_Error( 'unauthorized', 'User cannot view media', 403 );
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-2-endpoint.php
index 3dc7724f..99cedc86 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-media-v1-2-endpoint.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
jetpack_require_lib( 'class.media' );
@@ -54,8 +54,19 @@ new WPCOM_JSON_API_Get_Media_v1_2_Endpoint(
)
);
-class WPCOM_JSON_API_Get_Media_v1_2_Endpoint extends WPCOM_JSON_API_Get_Media_v1_1_Endpoint {
- function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
+/**
+ * GET Media v1_2 endpoint class.
+ */
+class WPCOM_JSON_API_Get_Media_v1_2_Endpoint extends WPCOM_JSON_API_Get_Media_v1_1_Endpoint { //phpcs:ignore
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $media_id - the media ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
$response = parent::callback( $path, $blog_id, $media_id );
if ( is_wp_error( $response ) ) {
@@ -67,8 +78,8 @@ class WPCOM_JSON_API_Get_Media_v1_2_Endpoint extends WPCOM_JSON_API_Get_Media_v1
// expose `revision_history` object.
$response->revision_history = (object) array(
- 'items' => (array) Jetpack_Media::get_revision_history( $media_id ),
- 'original' => (object) Jetpack_Media::get_original_media( $media_id )
+ 'items' => (array) Jetpack_Media::get_revision_history( $media_id ),
+ 'original' => (object) Jetpack_Media::get_original_media( $media_id ),
);
return $response;
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-counts-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-counts-v1-1-endpoint.php
index dab60c76..50186677 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-counts-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-counts-v1-1-endpoint.php
@@ -1,102 +1,130 @@
-<?php
-
-new WPCOM_JSON_API_GET_Post_Counts_V1_1_Endpoint( array(
- 'description' => 'Get number of posts in the post type groups by post status',
- 'group' => 'sites',
- 'stat' => 'sites:X:post-counts:X',
- 'force' => 'wpcom',
- 'method' => 'GET',
- 'min_version' => '1.1',
- 'max_version' => '1.2',
- 'path' => '/sites/%s/post-counts/%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_type' => '(string) Post Type',
- ),
-
- 'query_parameters' => array(
- 'context' => false,
- 'author' => '(int) author ID',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/post-counts/page',
-
- 'response_format' => array(
- 'counts' => array(
- 'all' => '(array) Number of posts by any author in the post type grouped by post status',
- 'mine' => '(array) Number of posts by the current user in the post type grouped by post status'
- )
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+new WPCOM_JSON_API_GET_Post_Counts_V1_1_Endpoint(
+ array(
+ 'description' => 'Get number of posts in the post type groups by post status',
+ 'group' => 'sites',
+ 'stat' => 'sites:X:post-counts:X',
+ 'force' => 'wpcom',
+ 'method' => 'GET',
+ 'min_version' => '1.1',
+ 'max_version' => '1.2',
+ 'path' => '/sites/%s/post-counts/%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_type' => '(string) Post Type',
+ ),
+
+ 'query_parameters' => array(
+ 'context' => false,
+ 'author' => '(int) author ID',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/post-counts/page',
+
+ 'response_format' => array(
+ 'counts' => array(
+ 'all' => '(array) Number of posts by any author in the post type grouped by post status',
+ 'mine' => '(array) Number of posts by the current user in the post type grouped by post status',
+ ),
+ ),
)
-) );
+);
+/**
+ * GET Post Counts v1_1 endpoint class.
+ */
class WPCOM_JSON_API_GET_Post_Counts_V1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
- private $whitelist = array( 'publish' );
+ /**
+ * Whitelist array.
+ *
+ * @var allowlist
+ */
+ private $allowlist = array( 'publish' );
/**
- * Build SQL query
- *
- * @param {String} type - post type
- * @param {Number} [author]
- * @return {String} SQL query
- */
+ * Build SQL query
+ *
+ * This function must `$wpdb->prepare` the query. The return is expected to be prepared by consuming functions.
+ *
+ * @param string $post_type - post type.
+ * @param int $user_id - the user ID.
+ * @return string SQL query
+ */
private function buildCountsQuery( $post_type = 'post', $user_id = null ) {
global $wpdb;
- $query = "SELECT post_status as status, count(*) as count ";
+ $query = 'SELECT post_status as status, count(*) as count ';
$query .= "FROM {$wpdb->posts} ";
- $query .= "WHERE post_type = %s ";
+ $query .= 'WHERE post_type = %s ';
if ( isset( $user_id ) ) {
- $query .= "AND post_author = %d ";
+ $query .= 'AND post_author = %d ';
}
- $query .= "GROUP BY status";
+ $query .= 'GROUP BY status';
+ // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- This is properly prepared, except the query is constructed in the variable, throwing the PHPCS error.
return $wpdb->prepare( $query, $post_type, $user_id );
}
/**
- * Retrive counts using wp_cache
- *
- * @param {String} $post_type
- * @param {Number} [$id]
- */
- private function retrieveCounts( $post_type, $id = null) {
+ * Retrive counts using wp_cache
+ *
+ * @param string $post_type - thge post type.
+ * @param int $id - the ID.
+ */
+ private function retrieveCounts( $post_type, $id = null ) {
if ( ! isset( $id ) ) {
$counts = array();
- foreach( (array) wp_count_posts( $post_type ) as $status => $count ) {
- if ( in_array( $status, $this->whitelist ) && $count > 0 ) {
+ foreach ( (array) wp_count_posts( $post_type ) as $status => $count ) {
+ if ( in_array( $status, $this->allowlist, true ) && $count > 0 ) {
$counts[ $status ] = (int) $count;
}
- };
+ }
return $counts;
}
global $wpdb;
- $key = 'rest-api-' . $id . '-' . _count_posts_cache_key( $post_type );
+ $key = 'rest-api-' . $id . '-' . _count_posts_cache_key( $post_type );
$counts = wp_cache_get( $key, 'counts' );
if ( false === $counts ) {
+ // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- buildCountsQuery prepares the query.
$results = $wpdb->get_results( $this->buildCountsQuery( $post_type, $id ) );
- $counts = $this->filterStatusesByWhiteslist( $results );
+ $counts = $this->filterStatusesByWhiteslist( $results );
wp_cache_set( $key, $counts, 'counts' );
}
return $counts;
}
+ /**
+ * Filter statuses by whiteslist.
+ *
+ * @param array $in - the post we're checking.
+ */
private function filterStatusesByWhiteslist( $in ) {
$return = array();
- foreach( $in as $result) {
- if ( in_array( $result->status, $this->whitelist ) ) {
+ foreach ( $in as $result ) {
+ if ( in_array( $result->status, $this->allowlist, true ) ) {
$return[ $result->status ] = (int) $result->count;
}
- };
+ }
return $return;
}
- // /sites/%s/post-counts/%s
+ /**
+ *
+ * API callback.
+ *
+ * /sites/%s/post-counts/%s
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param string $post_type - the post type.
+ */
public function callback( $path = '', $blog_id = 0, $post_type = 'post' ) {
if ( ! get_current_user_id() ) {
return new WP_Error( 'authorization_required', __( 'An active access token must be used to retrieve post counts.', 'jetpack' ), 403 );
@@ -108,7 +136,9 @@ class WPCOM_JSON_API_GET_Post_Counts_V1_1_Endpoint extends WPCOM_JSON_API_Endpoi
return $blog_id;
}
- if ( ! in_array( $post_type, array( 'post', 'revision', 'page', 'any' ) ) && defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ // @todo see if we can use a strict comparison here.
+ // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
+ if ( ! in_array( $post_type, array( 'post', 'revision', 'page', 'any' ), true ) && defined( 'IS_WPCOM' ) && IS_WPCOM ) {
$this->load_theme_functions();
}
@@ -116,24 +146,24 @@ class WPCOM_JSON_API_GET_Post_Counts_V1_1_Endpoint extends WPCOM_JSON_API_Endpoi
return new WP_Error( 'unknown_post_type', __( 'Unknown post type requested.', 'jetpack' ), 404 );
}
- $args = $this->query_args();
- $mine_ID = get_current_user_id();
+ $args = $this->query_args();
+ $mine_ID = get_current_user_id(); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase
if ( current_user_can( 'edit_posts' ) ) {
- array_push( $this->whitelist, 'draft', 'future', 'pending', 'private', 'trash' );
+ array_push( $this->allowlist, 'draft', 'future', 'pending', 'private', 'trash' );
}
$return = array(
'counts' => (array) array(
- 'all' => (object) $this->retrieveCounts( $post_type ),
- 'mine' => (object) $this->retrieveCounts( $post_type, $mine_ID ),
- )
+ 'all' => (object) $this->retrieveCounts( $post_type ),
+ 'mine' => (object) $this->retrieveCounts( $post_type, $mine_ID ), // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase
+ ),
);
- // AUTHOR
+ // Author.
if ( isset( $args['author'] ) ) {
- $author_ID = $args['author'];
- $return['counts']['author'] = (object) $this->retrieveCounts( $post_type, $author_ID );
+ $author_ID = $args['author']; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase
+ $return['counts']['author'] = (object) $this->retrieveCounts( $post_type, $author_ID ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase
}
return (object) $return;
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-endpoint.php
index f3e927ac..808237fb 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-endpoint.php
@@ -1,60 +1,79 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Endpoints: /sites/%s/posts/%d -> $blog_id, $post_id
+ * /sites/%s/posts/name:%s -> $blog_id, $post_id // not documented
+ * /sites/%s/posts/slug:%s -> $blog_id, $post_id
+ */
-new WPCOM_JSON_API_Get_Post_Endpoint( array(
- 'description' => 'Get a single post (by ID).',
- 'group' => 'posts',
- 'stat' => 'posts:1',
- 'new_version' => '1.1',
- 'max_version' => '1',
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
+new WPCOM_JSON_API_Get_Post_Endpoint(
+ array(
+ 'description' => 'Get a single post (by ID).',
+ 'group' => 'posts',
+ 'stat' => 'posts:1',
+ 'new_version' => '1.1',
+ 'max_version' => '1',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
+ ),
- 'allow_fallback_to_jetpack_blog_token' => true,
+ 'allow_fallback_to_jetpack_blog_token' => true,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/7'
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/7',
+ )
+);
-new WPCOM_JSON_API_Get_Post_Endpoint( array(
- 'description' => 'Get a single post (by name)',
- 'group' => '__do_not_document',
- 'stat' => 'posts:name',
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/name:%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_name' => '(string) The post name (a.k.a. slug)',
- ),
+new WPCOM_JSON_API_Get_Post_Endpoint(
+ array(
+ 'description' => 'Get a single post (by name)',
+ 'group' => '__do_not_document',
+ 'stat' => 'posts:name',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/name:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_name' => '(string) The post name (a.k.a. slug)',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/name:blogging-and-stuff',
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/name:blogging-and-stuff',
+ )
+);
-new WPCOM_JSON_API_Get_Post_Endpoint( array(
- 'description' => 'Get a single post (by slug).',
- 'group' => 'posts',
- 'stat' => 'posts:slug',
- 'new_version' => '1.1',
- 'max_version' => '1',
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/slug:%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_slug' => '(string) The post slug (a.k.a. sanitized name)',
- ),
+new WPCOM_JSON_API_Get_Post_Endpoint(
+ array(
+ 'description' => 'Get a single post (by slug).',
+ 'group' => 'posts',
+ 'stat' => 'posts:slug',
+ 'new_version' => '1.1',
+ 'max_version' => '1',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/slug:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_slug' => '(string) The post slug (a.k.a. sanitized name)',
+ ),
- 'allow_fallback_to_jetpack_blog_token' => true,
+ 'allow_fallback_to_jetpack_blog_token' => true,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/slug:blogging-and-stuff',
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/slug:blogging-and-stuff',
+ )
+);
+/**
+ * Get post endpoint class.
+ */
class WPCOM_JSON_API_Get_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
- // /sites/%s/posts/%d -> $blog_id, $post_id
- // /sites/%s/posts/name:%s -> $blog_id, $post_id // not documented
- // /sites/%s/posts/slug:%s -> $blog_id, $post_id
- function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $post_id - the post ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -69,7 +88,7 @@ class WPCOM_JSON_API_Get_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
$return = $this->get_post_by( $get_by, $post_id, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-v1-1-endpoint.php
index dd437a2f..11efe947 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-post-v1-1-endpoint.php
@@ -1,45 +1,61 @@
-<?php
-
-new WPCOM_JSON_API_Get_Post_v1_1_Endpoint( array(
- 'description' => 'Get a single post (by ID).',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'group' => 'posts',
- 'stat' => 'posts:1',
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/7'
-) );
-
-new WPCOM_JSON_API_Get_Post_v1_1_Endpoint( array(
- 'description' => 'Get a single post (by slug).',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'group' => 'posts',
- 'stat' => 'posts:slug',
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/slug:%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_slug' => '(string) The post slug (a.k.a. sanitized name)',
- ),
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/slug:blogging-and-stuff',
-) );
-
-class WPCOM_JSON_API_Get_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_Endpoint {
- // /sites/%s/posts/%d -> $blog_id, $post_id
- // /sites/%s/posts/slug:%s -> $blog_id, $post_id
- function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+new WPCOM_JSON_API_Get_Post_v1_1_Endpoint(
+ array(
+ 'description' => 'Get a single post (by ID).',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'group' => 'posts',
+ 'stat' => 'posts:1',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
+ ),
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/7',
+ )
+);
+
+new WPCOM_JSON_API_Get_Post_v1_1_Endpoint(
+ array(
+ 'description' => 'Get a single post (by slug).',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'group' => 'posts',
+ 'stat' => 'posts:slug',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/slug:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_slug' => '(string) The post slug (a.k.a. sanitized name)',
+ ),
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/slug:blogging-and-stuff',
+ )
+);
+
+/**
+ * Get Post v1_1 endpoint.
+ */
+class WPCOM_JSON_API_Get_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_Endpoint { // phpcs:ignore
+ /**
+ *
+ * API callback.
+ *
+ * /sites/%s/posts/%d -> $blog_id, $post_id
+ * /sites/%s/posts/slug:%s -> $blog_id, $post_id
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $post_id - the post ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -57,13 +73,13 @@ class WPCOM_JSON_API_Get_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_End
}
if ( defined( 'IS_WPCOM' ) && IS_WPCOM &&
- ! in_array( get_post_type( $post_id ), array( false, 'post', 'revision' ) ) ) {
+ ! in_array( get_post_type( $post_id ), array( false, 'post', 'revision' ), true ) ) {
$this->load_theme_functions();
}
$return = $this->get_post_by( 'ID', $post_id, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php
index 6dfa5f7a..4d42bd7d 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php
@@ -1,33 +1,43 @@
-<?php
-
-new WPCOM_JSON_API_GET_Site_Endpoint( array(
- 'description' => 'Get information about a site.',
- 'group' => 'sites',
- 'stat' => 'sites:X',
- 'allowed_if_flagged' => true,
- 'method' => 'GET',
- 'max_version' => '1.1',
- 'new_version' => '1.2',
- 'path' => '/sites/%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'allow_jetpack_site_auth' => true,
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'query_parameters' => array(
- 'context' => false,
- 'options' => '(string) Optional. Returns specified options only. Comma-separated list. Example: options=login_url,timezone',
- ),
-
- 'response_format' => WPCOM_JSON_API_GET_Site_Endpoint::$site_format,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/',
-) );
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+new WPCOM_JSON_API_GET_Site_Endpoint(
+ array(
+ 'description' => 'Get information about a site.',
+ 'group' => 'sites',
+ 'stat' => 'sites:X',
+ 'allowed_if_flagged' => true,
+ 'method' => 'GET',
+ 'max_version' => '1.1',
+ 'new_version' => '1.2',
+ 'path' => '/sites/%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'allow_jetpack_site_auth' => true,
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'query_parameters' => array(
+ 'context' => false,
+ 'options' => '(string) Optional. Returns specified options only. Comma-separated list. Example: options=login_url,timezone',
+ ),
+
+ 'response_format' => WPCOM_JSON_API_GET_Site_Endpoint::$site_format,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/',
+ )
+);
+/**
+ * GET Site endpoint class.
+ */
class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
+ /**
+ * Site meta data.
+ *
+ * @var array $site_format
+ */
public static $site_format = array(
'ID' => '(int) Site ID',
'name' => '(string) Title of site',
@@ -65,6 +75,11 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
'is_wpcom_atomic' => '(bool) If the site is a WP.com Atomic one.',
);
+ /**
+ * No member fields.
+ *
+ * @var array $no_member_fields
+ */
protected static $no_member_fields = array(
'ID',
'name',
@@ -91,6 +106,11 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
'is_wpcom_atomic',
);
+ /**
+ * Site options.
+ *
+ * @var array $site_options_format
+ */
protected static $site_options_format = array(
'timezone',
'gmt_offset',
@@ -161,11 +181,21 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
'site_intent',
);
+ /**
+ * Jetpack response fields.
+ *
+ * @var array $jetpack_response_field_additions
+ */
protected static $jetpack_response_field_additions = array(
'subscribers_count',
'site_migration',
);
+ /**
+ * Jetpack response field member additions.
+ *
+ * @var array $jetpack_response_field_member_additions
+ */
protected static $jetpack_response_field_member_additions = array(
'capabilities',
'plan',
@@ -173,6 +203,11 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
'zendesk_site_meta',
);
+ /**
+ * Jetpack response option additions.
+ *
+ * @var array $jetpack_response_field_member_additions
+ */
protected static $jetpack_response_option_additions = array(
'publicize_permanently_disabled',
'ak_vp_bundle_enabled',
@@ -190,15 +225,38 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
'created_at',
);
+ /**
+ * Site
+ *
+ * @var $site.
+ */
private $site;
- // protected $compact = null;
+ /**
+ * Fields to include.
+ *
+ * @var $fields_to_include
+ */
protected $fields_to_include = '_all';
+
+ /**
+ * Options to include.
+ *
+ * @var $options_to_include
+ */
protected $options_to_include = '_all';
- // /sites/mine
- // /sites/%s -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ *
+ * API callback.
+ *
+ * /sites/mine
+ * /sites/%s -> $blog_id\
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
if ( 'mine' === $blog_id ) {
$api = WPCOM_JSON_API::init();
if ( ! $api->token_details || empty( $api->token_details['blog_id'] ) ) {
@@ -222,6 +280,9 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
return $response;
}
+ /**
+ * Filter fields and options.
+ */
public function filter_fields_and_options() {
$query_args = $this->query_args();
@@ -241,14 +302,14 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
$this->site = $this->get_platform()->get_site( $blog_id );
/**
- * Filter the structure of information about the site to return.
- *
- * @module json-api
- *
- * @since 3.9.3
- *
- * @param array $site_format Data structure.
- */
+ * Filter the structure of information about the site to return.
+ *
+ * @module json-api
+ *
+ * @since 3.9.3
+ *
+ * @param array $site_format Data structure.
+ */
$default_fields = array_keys( apply_filters( 'sites_site_format', self::$site_format ) );
$response_keys = is_array( $this->fields_to_include ) ?
@@ -295,6 +356,11 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
get_current_blog_id() === $token_details['blog_id'];
}
+ /**
+ * Render response keys.
+ *
+ * @param array $response_keys - the response keys.
+ */
private function render_response_keys( &$response_keys ) {
$response = array();
@@ -311,60 +377,69 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
return $response;
}
+ /**
+ * Render response key.
+ *
+ * @param string $key - the key.
+ * @param array $response - the response.
+ * @param boolean $is_user_logged_in - if the user is logged in.
+ */
protected function render_response_key( $key, &$response, $is_user_logged_in ) {
do_action( 'pre_render_site_response_key', $key );
switch ( $key ) {
- case 'ID' :
+ case 'ID':
$response[ $key ] = $this->site->blog_id;
break;
- case 'name' :
+ case 'name':
$response[ $key ] = $this->site->get_name();
break;
- case 'description' :
+ case 'description':
$response[ $key ] = $this->site->get_description();
break;
- case 'URL' :
+ case 'URL':
$response[ $key ] = $this->site->get_url();
break;
- case 'user_can_manage' :
+ case 'user_can_manage':
$response[ $key ] = $this->site->user_can_manage();
- case 'is_private' :
+ // fall through is intentional.
+ case 'is_private':
$response[ $key ] = $this->site->is_private();
break;
- case 'is_coming_soon' :
- // This option is stored on wp.com for both simple and atomic sites. @see mu-plugins/private-blog.php
- $response[ $key ] = $this->site->is_coming_soon();;
+ case 'is_coming_soon':
+ // This option is stored on wp.com for both simple and atomic sites. @see mu-plugins/private-blog.php.
+ $response[ $key ] = $this->site->is_coming_soon();
+
break;
- case 'launch_status' :
+ case 'launch_status':
$response[ $key ] = $this->site->get_launch_status();
break;
- case 'visible' :
+ case 'visible':
$response[ $key ] = $this->site->is_visible();
break;
- case 'subscribers_count' :
+ case 'subscribers_count':
$response[ $key ] = $this->site->get_subscribers_count();
break;
- case 'post_count' :
+ case 'post_count':
if ( $is_user_logged_in ) {
$response[ $key ] = $this->site->get_post_count();
}
break;
- case 'icon' :
+ case 'icon':
$icon = $this->site->get_icon();
- if ( ! is_null( $icon ) ) {
+ if ( $icon !== null ) {
$response[ $key ] = $icon;
}
break;
- case 'logo' :
+ case 'logo':
$response[ $key ] = $this->site->get_logo();
break;
case 'is_following':
$response[ $key ] = $this->site->is_following();
break;
case 'options':
- // small optimisation - don't recalculate
+ // small optimisation - don't recalculate.
$all_options = apply_filters( 'sites_site_options_format', self::$site_options_format );
$options_response_keys = is_array( $this->options_to_include ) ?
@@ -380,10 +455,10 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
case 'meta':
$this->build_meta_response( $response );
break;
- case 'lang' :
+ case 'lang':
$response[ $key ] = $is_user_logged_in ? $this->site->get_locale() : false;
break;
- case 'locale' :
+ case 'locale':
$response[ $key ] = $is_user_logged_in ? $this->site->get_locale() : false;
break;
case 'jetpack':
@@ -392,13 +467,13 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
case 'jetpack_connection':
$response[ $key ] = $this->site->is_jetpack_connection();
break;
- case 'single_user_site' :
+ case 'single_user_site':
$response[ $key ] = $this->site->is_single_user_site();
break;
- case 'is_vip' :
+ case 'is_vip':
$response[ $key ] = $this->site->is_vip();
break;
- case 'is_multisite' :
+ case 'is_multisite':
$response[ $key ] = $this->site->is_multisite();
break;
case 'site_owner':
@@ -408,7 +483,7 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
$response[ $key ] = $this->site->get_p2_organization_id();
break;
- case 'capabilities' :
+ case 'capabilities':
$response[ $key ] = $this->site->get_capabilities();
break;
case 'jetpack_modules':
@@ -416,19 +491,19 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
$response[ $key ] = $this->site->get_jetpack_modules();
}
break;
- case 'plan' :
+ case 'plan':
$response[ $key ] = $this->site->get_plan();
break;
- case 'products' :
+ case 'products':
$response[ $key ] = $this->site->get_products();
break;
case 'zendesk_site_meta':
$response[ $key ] = $this->site->get_zendesk_site_meta();
break;
- case 'quota' :
+ case 'quota':
$response[ $key ] = $this->site->get_quota();
break;
- case 'site_migration' :
+ case 'site_migration':
$response[ $key ] = $this->site->get_migration_meta();
break;
case 'is_fse_active':
@@ -448,152 +523,157 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
do_action( 'post_render_site_response_key', $key );
}
+ /**
+ * Render option keys.
+ *
+ * @param array $options_response_keys - the response keys.
+ */
protected function render_option_keys( &$options_response_keys ) {
$options = array();
- $site = $this->site;
+ $site = $this->site;
$custom_front_page = $site->is_custom_front_page();
foreach ( $options_response_keys as $key ) {
switch ( $key ) {
- case 'timezone' :
+ case 'timezone':
$options[ $key ] = $site->get_timezone();
break;
- case 'gmt_offset' :
+ case 'gmt_offset':
$options[ $key ] = $site->get_gmt_offset();
break;
- case 'videopress_enabled' :
+ case 'videopress_enabled':
$options[ $key ] = $site->has_videopress();
break;
- case 'upgraded_filetypes_enabled' :
+ case 'upgraded_filetypes_enabled':
$options[ $key ] = $site->upgraded_filetypes_enabled();
break;
- case 'login_url' :
+ case 'login_url':
$options[ $key ] = $site->get_login_url();
break;
- case 'admin_url' :
+ case 'admin_url':
$options[ $key ] = $site->get_admin_url();
break;
- case 'is_mapped_domain' :
+ case 'is_mapped_domain':
$options[ $key ] = $site->is_mapped_domain();
break;
- case 'is_redirect' :
+ case 'is_redirect':
$options[ $key ] = $site->is_redirect();
break;
- case 'unmapped_url' :
+ case 'unmapped_url':
$options[ $key ] = $site->get_unmapped_url();
break;
- case 'featured_images_enabled' :
+ case 'featured_images_enabled':
$options[ $key ] = $site->featured_images_enabled();
break;
- case 'theme_slug' :
+ case 'theme_slug':
$options[ $key ] = $site->get_theme_slug();
break;
- case 'header_image' :
+ case 'header_image':
$options[ $key ] = $site->get_header_image();
break;
- case 'background_color' :
+ case 'background_color':
$options[ $key ] = $site->get_background_color();
break;
- case 'image_default_link_type' :
+ case 'image_default_link_type':
$options[ $key ] = $site->get_image_default_link_type();
break;
- case 'image_thumbnail_width' :
+ case 'image_thumbnail_width':
$options[ $key ] = $site->get_image_thumbnail_width();
break;
- case 'image_thumbnail_height' :
+ case 'image_thumbnail_height':
$options[ $key ] = $site->get_image_thumbnail_height();
break;
- case 'image_thumbnail_crop' :
+ case 'image_thumbnail_crop':
$options[ $key ] = $site->get_image_thumbnail_crop();
break;
- case 'image_medium_width' :
+ case 'image_medium_width':
$options[ $key ] = $site->get_image_medium_width();
break;
- case 'image_medium_height' :
+ case 'image_medium_height':
$options[ $key ] = $site->get_image_medium_height();
break;
- case 'image_large_width' :
+ case 'image_large_width':
$options[ $key ] = $site->get_image_large_width();
break;
- case 'image_large_height' :
+ case 'image_large_height':
$options[ $key ] = $site->get_image_large_height();
break;
- case 'permalink_structure' :
+ case 'permalink_structure':
$options[ $key ] = $site->get_permalink_structure();
break;
- case 'post_formats' :
+ case 'post_formats':
$options[ $key ] = $site->get_post_formats();
break;
- case 'default_post_format' :
+ case 'default_post_format':
$options[ $key ] = $site->get_default_post_format();
break;
- case 'default_category' :
+ case 'default_category':
$options[ $key ] = $site->get_default_category();
break;
- case 'allowed_file_types' :
+ case 'allowed_file_types':
$options[ $key ] = $site->allowed_file_types();
break;
- case 'show_on_front' :
+ case 'show_on_front':
$options[ $key ] = $site->get_show_on_front();
break;
/** This filter is documented in modules/likes.php */
- case 'default_likes_enabled' :
+ case 'default_likes_enabled':
$options[ $key ] = $site->get_default_likes_enabled();
break;
- case 'default_sharing_status' :
+ case 'default_sharing_status':
$options[ $key ] = $site->get_default_sharing_status();
break;
- case 'default_comment_status' :
+ case 'default_comment_status':
$options[ $key ] = $site->get_default_comment_status();
break;
- case 'default_ping_status' :
+ case 'default_ping_status':
$options[ $key ] = $site->default_ping_status();
break;
- case 'software_version' :
+ case 'software_version':
$options[ $key ] = $site->get_wordpress_version();
break;
- case 'created_at' :
+ case 'created_at':
$options[ $key ] = $site->get_registered_date();
break;
- case 'wordads' :
+ case 'wordads':
$options[ $key ] = $site->has_wordads();
break;
- case 'publicize_permanently_disabled' :
+ case 'publicize_permanently_disabled':
$options[ $key ] = $site->is_publicize_permanently_disabled();
break;
- case 'frame_nonce' :
+ case 'frame_nonce':
$options[ $key ] = $site->get_frame_nonce();
break;
- case 'jetpack_frame_nonce' :
+ case 'jetpack_frame_nonce':
$options[ $key ] = $site->get_jetpack_frame_nonce();
break;
- case 'page_on_front' :
+ case 'page_on_front':
if ( $custom_front_page ) {
$options[ $key ] = $site->get_page_on_front();
}
break;
- case 'page_for_posts' :
+ case 'page_for_posts':
if ( $custom_front_page ) {
$options[ $key ] = $site->get_page_for_posts();
}
break;
- case 'headstart' :
+ case 'headstart':
$options[ $key ] = $site->is_headstart();
break;
- case 'headstart_is_fresh' :
+ case 'headstart_is_fresh':
$options[ $key ] = $site->is_headstart_fresh();
break;
- case 'ak_vp_bundle_enabled' :
+ case 'ak_vp_bundle_enabled':
$options[ $key ] = $site->get_ak_vp_bundle_enabled();
break;
- case Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION :
+ case Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION:
$options[ $key ] = $site->get_jetpack_seo_front_page_description();
break;
- case Jetpack_SEO_Titles::TITLE_FORMATS_OPTION :
+ case Jetpack_SEO_Titles::TITLE_FORMATS_OPTION:
$options[ $key ] = $site->get_jetpack_seo_title_formats();
break;
- case 'verification_services_codes' :
+ case 'verification_services_codes':
$options[ $key ] = $site->get_verification_services_codes();
break;
case 'podcasting_archive':
@@ -683,11 +763,16 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
return $options;
}
+ /**
+ * Build meta response.
+ *
+ * @param array $response - the response.
+ */
protected function build_meta_response( &$response ) {
$links = array(
'self' => (string) $this->links->get_site_link( $this->site->blog_id ),
- 'help' => (string) $this->links->get_site_link( $this->site->blog_id, 'help' ),
- 'posts' => (string) $this->links->get_site_link( $this->site->blog_id, 'posts/' ),
+ 'help' => (string) $this->links->get_site_link( $this->site->blog_id, 'help' ),
+ 'posts' => (string) $this->links->get_site_link( $this->site->blog_id, 'posts/' ),
'comments' => (string) $this->links->get_site_link( $this->site->blog_id, 'comments/' ),
'xmlrpc' => (string) $this->site->get_xmlrpc_url(),
);
@@ -698,29 +783,33 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
}
$response['meta'] = (object) array(
- 'links' => (object) $links
+ 'links' => (object) $links,
);
}
- // apply any WPCOM-only response components to a Jetpack site response
+ /**
+ * Apply any WPCOM-only response components to a Jetpack site response.
+ *
+ * @param array $response - the response.
+ */
public function decorate_jetpack_response( &$response ) {
$this->site = $this->get_platform()->get_site( $response->ID );
switch_to_blog( $this->site->get_id() );
$wpcom_response = $this->render_response_keys( self::$jetpack_response_field_additions );
- foreach( $wpcom_response as $key => $value ) {
+ foreach ( $wpcom_response as $key => $value ) {
$response->{ $key } = $value;
}
if ( $this->has_user_access() || $this->has_blog_access( $this->api->token_details ) ) {
$wpcom_member_response = $this->render_response_keys( self::$jetpack_response_field_member_additions );
- foreach( $wpcom_member_response as $key => $value ) {
+ foreach ( $wpcom_member_response as $key => $value ) {
$response->{ $key } = $value;
}
} else {
- // ensure private data is not rendered for non members of the site
+ // ensure private data is not rendered for non members of the site.
unset( $response->options );
unset( $response->is_vip );
unset( $response->single_user_site );
@@ -736,7 +825,7 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
unset( $response->zendesk_site_meta );
}
- // render additional options
+ // render additional options.
if ( $response->options ) {
$wpcom_options_response = $this->render_option_keys( self::$jetpack_response_option_additions );
@@ -746,35 +835,48 @@ class WPCOM_JSON_API_GET_Site_Endpoint extends WPCOM_JSON_API_Endpoint {
}
restore_current_blog();
- return $response; // possibly no need since it's modified in place
+ return $response; // possibly no need since it's modified in place.
}
}
-new WPCOM_JSON_API_List_Post_Formats_Endpoint( array(
- 'description' => 'Get a list of post formats supported by a site.',
- 'group' => '__do_not_document',
- 'stat' => 'sites:X:post-formats',
+new WPCOM_JSON_API_List_Post_Formats_Endpoint(
+ array(
+ 'description' => 'Get a list of post formats supported by a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:X:post-formats',
- 'method' => 'GET',
- 'path' => '/sites/%s/post-formats',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
+ 'method' => 'GET',
+ 'path' => '/sites/%s/post-formats',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
- 'query_parameters' => array(
- 'context' => false,
- ),
+ 'query_parameters' => array(
+ 'context' => false,
+ ),
- 'allow_fallback_to_jetpack_blog_token' => true,
+ 'allow_fallback_to_jetpack_blog_token' => true,
- 'response_format' => array(
- 'formats' => '(object) An object of supported post formats, each key a supported format slug mapped to its display string.',
+ 'response_format' => array(
+ 'formats' => '(object) An object of supported post formats, each key a supported format slug mapped to its display string.',
+ ),
)
-) );
+);
-class WPCOM_JSON_API_List_Post_Formats_Endpoint extends WPCOM_JSON_API_Endpoint {
- // /sites/%s/post-formats -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+/**
+ * List Post Formates endpoint class.
+ */
+class WPCOM_JSON_API_List_Post_Formats_Endpoint extends WPCOM_JSON_API_Endpoint { // phpcs:ignore
+ /**
+ *
+ * API callback.
+ *
+ * /sites/%s/post-formats -> $blog_id
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -788,7 +890,8 @@ class WPCOM_JSON_API_List_Post_Formats_Endpoint extends WPCOM_JSON_API_Endpoint
$all_formats = get_post_format_strings();
$supported = get_theme_support( 'post-formats' );
- $supported_formats = $response['formats'] = array();
+ $response = array();
+ $supported_formats = $response['formats'];
if ( isset( $supported[0] ) ) {
foreach ( $supported[0] as $format ) {
@@ -802,28 +905,40 @@ class WPCOM_JSON_API_List_Post_Formats_Endpoint extends WPCOM_JSON_API_Endpoint
}
}
-new WPCOM_JSON_API_List_Page_Templates_Endpoint( array(
- 'description' => 'Get a list of page templates supported by a site.',
- 'group' => 'sites',
- 'stat' => 'sites:X:post-templates',
-
- 'method' => 'GET',
- 'path' => '/sites/%s/page-templates',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'query_parameters' => array(
- 'context' => false,
- ),
- 'response_format' => array(
- 'templates' => '(array) A list of supported page templates. Contains label and file.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/33534099/page-templates'
-) );
-
-class WPCOM_JSON_API_List_Page_Templates_Endpoint extends WPCOM_JSON_API_Endpoint {
- // /sites/%s/page-templates -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+new WPCOM_JSON_API_List_Page_Templates_Endpoint(
+ array(
+ 'description' => 'Get a list of page templates supported by a site.',
+ 'group' => 'sites',
+ 'stat' => 'sites:X:post-templates',
+
+ 'method' => 'GET',
+ 'path' => '/sites/%s/page-templates',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'query_parameters' => array(
+ 'context' => false,
+ ),
+ 'response_format' => array(
+ 'templates' => '(array) A list of supported page templates. Contains label and file.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/33534099/page-templates',
+ )
+);
+
+/**
+ * List page templates endpoint class.
+ */
+class WPCOM_JSON_API_List_Page_Templates_Endpoint extends WPCOM_JSON_API_Endpoint { // phpcs:ignore
+ /**
+ *
+ * API callback.
+ * /sites/%s/page-templates -> $blog_id
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -833,7 +948,7 @@ class WPCOM_JSON_API_List_Page_Templates_Endpoint extends WPCOM_JSON_API_Endpoin
$this->load_theme_functions();
}
- $response = array();
+ $response = array();
$page_templates = array();
$templates = get_page_templates();
@@ -842,7 +957,7 @@ class WPCOM_JSON_API_List_Page_Templates_Endpoint extends WPCOM_JSON_API_Endpoin
foreach ( array_keys( $templates ) as $label ) {
$page_templates[] = array(
'label' => $label,
- 'file' => $templates[ $label ]
+ 'file' => $templates[ $label ],
);
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-v1-2-endpoint.php
index 3531e5e8..001fc142 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-v1-2-endpoint.php
@@ -1,30 +1,40 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_GET_Site_V1_2_Endpoint( array(
- 'description' => 'Get information about a site.',
- 'group' => 'sites',
- 'stat' => 'sites:X',
- 'allowed_if_flagged' => true,
- 'method' => 'GET',
- 'min_version' => '1.2',
- 'path' => '/sites/%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
+new WPCOM_JSON_API_GET_Site_V1_2_Endpoint(
+ array(
+ 'description' => 'Get information about a site.',
+ 'group' => 'sites',
+ 'stat' => 'sites:X',
+ 'allowed_if_flagged' => true,
+ 'method' => 'GET',
+ 'min_version' => '1.2',
+ 'path' => '/sites/%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
- 'allow_fallback_to_jetpack_blog_token' => true,
+ 'allow_fallback_to_jetpack_blog_token' => true,
- 'query_parameters' => array(
- 'context' => false,
- ),
+ 'query_parameters' => array(
+ 'context' => false,
+ ),
- 'response_format' => WPCOM_JSON_API_GET_Site_V1_2_Endpoint::$site_format,
+ 'response_format' => WPCOM_JSON_API_GET_Site_V1_2_Endpoint::$site_format,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/',
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/',
+ )
+);
+/**
+ * GET Site v1_2 endpoint.
+ */
class WPCOM_JSON_API_GET_Site_V1_2_Endpoint extends WPCOM_JSON_API_GET_Site_Endpoint {
+ /**
+ * Site format array.
+ *
+ * @var array $site_format
+ */
public static $site_format = array(
'ID' => '(int) Site ID',
'name' => '(string) Title of site',
@@ -60,14 +70,25 @@ class WPCOM_JSON_API_GET_Site_V1_2_Endpoint extends WPCOM_JSON_API_GET_Site_Endp
'is_wpcom_atomic' => '(bool) If the site is a WP.com Atomic one.',
);
-
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
add_filter( 'sites_site_format', array( $this, 'site_format' ) );
return parent::callback( $path, $blog_id );
}
- public function site_format( $format ) {
+ /**
+ * Site format.
+ *
+ * @param string $format - the format.
+ */
+ public function site_format( $format ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return self::$site_format;
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomies-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomies-endpoint.php
index 80e0506f..e963d8ac 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomies-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomies-endpoint.php
@@ -1,75 +1,89 @@
-<?php
-
-new WPCOM_JSON_API_Get_Taxonomies_Endpoint( array(
- 'description' => "Get a list of a site's categories.",
- 'group' => 'taxonomy',
- 'stat' => 'categories',
- 'method' => 'GET',
- 'path' => '/sites/%s/categories',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain'
- ),
- 'query_parameters' => array(
- 'number' => '(int=100) The number of categories to return. Limit: 1000.',
- 'offset' => '(int=0) 0-indexed offset.',
- 'page' => '(int) Return the Nth 1-indexed page of categories. Takes precedence over the <code>offset</code> parameter.',
- 'search' => '(string) Limit response to include only categories whose names or slugs match the provided search query.',
- 'order' => array(
- 'ASC' => 'Return categories in ascending order.',
- 'DESC' => 'Return categories in descending order.',
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+new WPCOM_JSON_API_Get_Taxonomies_Endpoint(
+ array(
+ 'description' => "Get a list of a site's categories.",
+ 'group' => 'taxonomy',
+ 'stat' => 'categories',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/categories',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'order_by' => array(
- 'name' => 'Order by the name of each category.',
- 'count' => 'Order by the number of posts in each category.',
+ 'query_parameters' => array(
+ 'number' => '(int=100) The number of categories to return. Limit: 1000.',
+ 'offset' => '(int=0) 0-indexed offset.',
+ 'page' => '(int) Return the Nth 1-indexed page of categories. Takes precedence over the <code>offset</code> parameter.',
+ 'search' => '(string) Limit response to include only categories whose names or slugs match the provided search query.',
+ 'order' => array(
+ 'ASC' => 'Return categories in ascending order.',
+ 'DESC' => 'Return categories in descending order.',
+ ),
+ 'order_by' => array(
+ 'name' => 'Order by the name of each category.',
+ 'count' => 'Order by the number of posts in each category.',
+ ),
),
- ),
- 'response_format' => array(
- 'found' => '(int) The number of categories returned.',
- 'categories' => '(array) Array of category objects.',
- ),
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/categories/?number=5'
-) );
-
-new WPCOM_JSON_API_Get_Taxonomies_Endpoint( array(
- 'description' => "Get a list of a site's tags.",
- 'group' => 'taxonomy',
- 'stat' => 'tags',
- 'method' => 'GET',
- 'path' => '/sites/%s/tags',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain'
- ),
- 'query_parameters' => array(
- 'number' => '(int=100) The number of tags to return. Limit: 1000.',
- 'offset' => '(int=0) 0-indexed offset.',
- 'page' => '(int) Return the Nth 1-indexed page of tags. Takes precedence over the <code>offset</code> parameter.',
- 'search' => '(string) Limit response to include only tags whose names or slugs match the provided search query.',
- 'order' => array(
- 'ASC' => 'Return tags in ascending order.',
- 'DESC' => 'Return tags in descending order.',
+ 'response_format' => array(
+ 'found' => '(int) The number of categories returned.',
+ 'categories' => '(array) Array of category objects.',
),
- 'order_by' => array(
- 'name' => 'Order by the name of each tag.',
- 'count' => 'Order by the number of posts in each tag.',
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/categories/?number=5',
+ )
+);
+
+new WPCOM_JSON_API_Get_Taxonomies_Endpoint(
+ array(
+ 'description' => "Get a list of a site's tags.",
+ 'group' => 'taxonomy',
+ 'stat' => 'tags',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/tags',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'query_parameters' => array(
+ 'number' => '(int=100) The number of tags to return. Limit: 1000.',
+ 'offset' => '(int=0) 0-indexed offset.',
+ 'page' => '(int) Return the Nth 1-indexed page of tags. Takes precedence over the <code>offset</code> parameter.',
+ 'search' => '(string) Limit response to include only tags whose names or slugs match the provided search query.',
+ 'order' => array(
+ 'ASC' => 'Return tags in ascending order.',
+ 'DESC' => 'Return tags in descending order.',
+ ),
+ 'order_by' => array(
+ 'name' => 'Order by the name of each tag.',
+ 'count' => 'Order by the number of posts in each tag.',
+ ),
),
- ),
- 'allow_fallback_to_jetpack_blog_token' => true,
+ 'allow_fallback_to_jetpack_blog_token' => true,
- 'response_format' => array(
- 'found' => '(int) The number of tags returned.',
- 'tags' => '(array) Array of tag objects.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/tags/?number=5'
-) );
+ 'response_format' => array(
+ 'found' => '(int) The number of tags returned.',
+ 'tags' => '(array) Array of tag objects.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/tags/?number=5',
+ )
+);
+/**
+ * GET taxonomies endpoint class.
+ */
class WPCOM_JSON_API_Get_Taxonomies_Endpoint extends WPCOM_JSON_API_Endpoint {
- // /sites/%s/tags -> $blog_id
- // /sites/%s/categories -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ *
+ * API callback.
+ * /sites/%s/tags -> $blog_id
+ * /sites/%s/categories -> $blog_id
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -85,11 +99,16 @@ class WPCOM_JSON_API_Get_Taxonomies_Endpoint extends WPCOM_JSON_API_Endpoint {
}
}
- function process_args( $args ) {
+ /**
+ * Process args.
+ *
+ * @param array $args - the arguments.
+ */
+ public function process_args( $args ) {
if ( $args['number'] < 1 ) {
$args['number'] = 100;
} elseif ( 1000 < $args['number'] ) {
- return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 1000.', 400 );
+ return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 1000.', 400 );
}
if ( isset( $args['page'] ) ) {
@@ -112,7 +131,12 @@ class WPCOM_JSON_API_Get_Taxonomies_Endpoint extends WPCOM_JSON_API_Endpoint {
return $args;
}
- function categories( $args ) {
+ /**
+ * Get categories.
+ *
+ * @param array $args - the arguments.
+ */
+ public function categories( $args ) {
$args['get'] = 'all';
$cats = get_categories( $args );
@@ -125,12 +149,17 @@ class WPCOM_JSON_API_Get_Taxonomies_Endpoint extends WPCOM_JSON_API_Endpoint {
}
return array(
- 'found' => (int) $found,
- 'categories' => $cats_obj
+ 'found' => (int) $found,
+ 'categories' => $cats_obj,
);
}
- function tags( $args ) {
+ /**
+ * Get tags.
+ *
+ * @param array $args - the arguments.
+ */
+ public function tags( $args ) {
$args['get'] = 'all';
$tags = (array) get_tags( $args );
@@ -144,7 +173,7 @@ class WPCOM_JSON_API_Get_Taxonomies_Endpoint extends WPCOM_JSON_API_Endpoint {
return array(
'found' => (int) $found,
- 'tags' => $tags_obj
+ 'tags' => $tags_obj,
);
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomy-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomy-endpoint.php
index 548aa5f8..23fe6bac 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomy-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-taxonomy-endpoint.php
@@ -1,43 +1,59 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_Get_Taxonomy_Endpoint( array(
- 'description' => 'Get information about a single category.',
- 'group' => 'taxonomy',
- 'stat' => 'categories:1',
+new WPCOM_JSON_API_Get_Taxonomy_Endpoint(
+ array(
+ 'description' => 'Get information about a single category.',
+ 'group' => 'taxonomy',
+ 'stat' => 'categories:1',
- 'method' => 'GET',
- 'path' => '/sites/%s/categories/slug:%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$category' => '(string) The category slug'
- ),
+ 'method' => 'GET',
+ 'path' => '/sites/%s/categories/slug:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$category' => '(string) The category slug',
+ ),
- 'allow_fallback_to_jetpack_blog_token' => true,
+ 'allow_fallback_to_jetpack_blog_token' => true,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/categories/slug:community'
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/categories/slug:community',
+ )
+);
-new WPCOM_JSON_API_Get_Taxonomy_Endpoint( array(
- 'description' => 'Get information about a single tag.',
- 'group' => 'taxonomy',
- 'stat' => 'tags:1',
+new WPCOM_JSON_API_Get_Taxonomy_Endpoint(
+ array(
+ 'description' => 'Get information about a single tag.',
+ 'group' => 'taxonomy',
+ 'stat' => 'tags:1',
- 'method' => 'GET',
- 'path' => '/sites/%s/tags/slug:%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$tag' => '(string) The tag slug'
- ),
+ 'method' => 'GET',
+ 'path' => '/sites/%s/tags/slug:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$tag' => '(string) The tag slug',
+ ),
- 'allow_fallback_to_jetpack_blog_token' => true,
+ 'allow_fallback_to_jetpack_blog_token' => true,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/tags/slug:wordpresscom'
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/tags/slug:wordpresscom',
+ )
+);
+/**
+ * GET Taxonomy endpoint class.
+ */
class WPCOM_JSON_API_Get_Taxonomy_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoint {
- // /sites/%s/tags/slug:%s -> $blog_id, $tag_id
- // /sites/%s/categories/slug:%s -> $blog_id, $tag_id
- function callback( $path = '', $blog_id = 0, $taxonomy_id = 0 ) {
+ /**
+ *
+ * API callback.
+ *
+ * /sites/%s/tags/slug:%s -> $blog_id, $tag_id
+ * /sites/%s/categories/slug:%s -> $blog_id, $tag_id
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $taxonomy_id - the taxonomy ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $taxonomy_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -45,13 +61,13 @@ class WPCOM_JSON_API_Get_Taxonomy_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpo
$args = $this->query_args();
if ( preg_match( '#/tags/#i', $path ) ) {
- $taxonomy_type = "post_tag";
+ $taxonomy_type = 'post_tag';
} else {
- $taxonomy_type = "category";
+ $taxonomy_type = 'category';
}
$return = $this->get_taxonomy( $taxonomy_id, $taxonomy_type, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-term-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-term-endpoint.php
index 0c5ec3f2..9a37497b 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-term-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-term-endpoint.php
@@ -1,33 +1,48 @@
-<?php
-
-new WPCOM_JSON_API_Get_Term_Endpoint( array(
- 'description' => 'Get information about a single term.',
- 'group' => 'taxonomy',
- 'stat' => 'terms:1',
- 'method' => 'GET',
- 'path' => '/sites/%s/taxonomies/%s/terms/slug:%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$taxonomy' => '(string) Taxonomy',
- '$slug' => '(string) Term slug',
- ),
- 'response_format' => array(
- 'ID' => '(int) The term ID.',
- 'name' => '(string) The name of the term.',
- 'slug' => '(string) The slug of the term.',
- 'description' => '(string) The description of the term.',
- 'post_count' => '(int) The number of posts using this term.',
- 'parent' => '(int) The parent ID for the term, if hierarchical.',
- ),
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/taxonomies/post_tag/terms/slug:wordpresscom',
-) );
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+new WPCOM_JSON_API_Get_Term_Endpoint(
+ array(
+ 'description' => 'Get information about a single term.',
+ 'group' => 'taxonomy',
+ 'stat' => 'terms:1',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/taxonomies/%s/terms/slug:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$taxonomy' => '(string) Taxonomy',
+ '$slug' => '(string) Term slug',
+ ),
+ 'response_format' => array(
+ 'ID' => '(int) The term ID.',
+ 'name' => '(string) The name of the term.',
+ 'slug' => '(string) The slug of the term.',
+ 'description' => '(string) The description of the term.',
+ 'post_count' => '(int) The number of posts using this term.',
+ 'parent' => '(int) The parent ID for the term, if hierarchical.',
+ ),
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/taxonomies/post_tag/terms/slug:wordpresscom',
+ )
+);
+
+/**
+ * GET Term endpoint class.
+ */
class WPCOM_JSON_API_Get_Term_Endpoint extends WPCOM_JSON_API_Endpoint {
- // /sites/%s/taxonomies/%s/terms/slug:%s -> $blog_id, $taxonomy, $slug
- function callback( $path = '', $blog_id = 0, $taxonomy = 'category', $slug = 0 ) {
+ /**
+ *
+ * API callback.
+ *
+ * /sites/%s/taxonomies/%s/terms/slug:%s -> $blog_id, $taxonomy, $slug
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param string $taxonomy - the taxonomy type.
+ * @param int $slug - the slug.
+ */
+ public function callback( $path = '', $blog_id = 0, $taxonomy = 'category', $slug = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-comments-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-comments-endpoint.php
index f74869d1..b068798e 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-comments-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-comments-endpoint.php
@@ -1,14 +1,37 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Comments Walker Class.
+ */
class WPCOM_JSON_API_List_Comments_Walker extends Walker {
+
+ /**
+ * Tree type.
+ *
+ * @var string
+ */
public $tree_type = 'comment';
+ /**
+ * Database fields.
+ *
+ * @var array
+ */
public $db_fields = array(
'parent' => 'comment_parent',
- 'id' => 'comment_ID'
+ 'id' => 'comment_ID',
);
- public function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) {
+ /**
+ * Start the element output.
+ *
+ * @param array $output - the output.
+ * @param object $object - the object.
+ * @param int $depth - depth.
+ * @param array $args - the arguments.
+ * @param int $current_object_id - the object ID.
+ */
+ public function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
if ( ! is_array( $output ) ) {
$output = array();
}
@@ -38,22 +61,31 @@ class WPCOM_JSON_API_List_Comments_Walker extends Walker {
* @see Walker_Comment::display_element()
* @see Walker::display_element()
* @see wp_list_comments()
+ *
+ * @param object $element — Data object.
+ * @param array $children_elements - List of elements to continue traversing (passed by reference).
+ * @param int $max_depth — Max depth to traverse.
+ * @param int $depth — Depth of current element.
+ * @param array $args — An array of arguments.
+ * @param string $output — Used to append additional content (passed by reference).
*/
public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
- if ( !$element )
+ if ( ! $element ) {
return;
+ }
$id_field = $this->db_fields['id'];
- $id = $element->$id_field;
+ $id = $element->$id_field;
parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
// If we're at the max depth, and the current element still has children, loop over those and display them at this level
// This is to prevent them being orphaned to the end of the list.
- if ( $max_depth <= $depth + 1 && isset( $children_elements[$id]) ) {
- foreach ( $children_elements[ $id ] as $child )
+ if ( $max_depth <= $depth + 1 && isset( $children_elements[ $id ] ) ) {
+ foreach ( $children_elements[ $id ] as $child ) {
$this->display_element( $child, $children_elements, $max_depth, $depth, $args, $output );
+ }
unset( $children_elements[ $id ] );
}
@@ -61,84 +93,114 @@ class WPCOM_JSON_API_List_Comments_Walker extends Walker {
}
}
-new WPCOM_JSON_API_List_Comments_Endpoint( array(
- 'description' => 'Get a list of recent comments.',
- 'group' => 'comments',
- 'stat' => 'comments',
-
- 'method' => 'GET',
- 'path' => '/sites/%s/comments/',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comments/?number=2',
-) );
-
-new WPCOM_JSON_API_List_Comments_Endpoint( array(
- 'description' => 'Get a list of recent comments on a post.',
- 'group' => 'comments',
- 'stat' => 'posts:1:replies',
-
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/%d/replies/',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
+new WPCOM_JSON_API_List_Comments_Endpoint(
+ array(
+ 'description' => 'Get a list of recent comments.',
+ 'group' => 'comments',
+ 'stat' => 'comments',
+
+ 'method' => 'GET',
+ 'path' => '/sites/%s/comments/',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/comments/?number=2',
+ )
+);
+
+new WPCOM_JSON_API_List_Comments_Endpoint(
+ array(
+ 'description' => 'Get a list of recent comments on a post.',
+ 'group' => 'comments',
+ 'stat' => 'posts:1:replies',
+
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/%d/replies/',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
+ ),
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/7/replies/?number=2',
+ )
+);
+
+/**
+ * List comment endpoint.
+ *
+ * /sites/%s/comments/ -> $blog_id
+ * /sites/%s/posts/%d/replies/ -> $blog_id, $post_id
+ * /sites/%s/comments/%d/replies/ -> $blog_id, $comment_id
+ *
+ * @todo permissions
+ */
+class WPCOM_JSON_API_List_Comments_Endpoint extends WPCOM_JSON_API_Comment_Endpoint { // phpcs:ignore
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/7/replies/?number=2',
-) );
-
-// @todo permissions
-class WPCOM_JSON_API_List_Comments_Endpoint extends WPCOM_JSON_API_Comment_Endpoint {
+ /**
+ * The response format.
+ *
+ * @var array
+ */
public $response_format = array(
'found' => '(int) The total number of comments found that match the request (ignoring limits, offsets, and pagination).',
'site_ID' => '(int) The site ID',
'comments' => '(array:comment) An array of comment objects.',
);
- function __construct( $args ) {
+ /**
+ * Constructor function.
+ *
+ * @param array $args - the arguments.
+ */
+ public function __construct( $args ) {
parent::__construct( $args );
- $this->query = array_merge( $this->query, array(
- 'number' => '(int=20) The number of comments to return. Limit: 100. When using hierarchical=1, number refers to the number of top-level comments returned.',
- 'offset' => '(int=0) 0-indexed offset. Not available if using hierarchical=1.',
- 'page' => '(int) Return the Nth 1-indexed page of comments. Takes precedence over the <code>offset</code> parameter. When using hierarchical=1, pagination is a bit different. See the note on the number parameter.',
- 'order' => array(
- 'DESC' => 'Return comments in descending order from newest to oldest.',
- 'ASC' => 'Return comments in ascending order from oldest to newest.',
- ),
- 'hierarchical' => array(
- 'false' => '',
- 'true' => '(BETA) Order the comment list hierarchically.',
- ),
- 'after' => '(ISO 8601 datetime) Return comments dated on or after the specified datetime. Not available if using hierarchical=1.',
- 'before' => '(ISO 8601 datetime) Return comments dated on or before the specified datetime. Not available if using hierarchical=1.',
- 'type' => array(
- 'any' => 'Return all comments regardless of type.',
- 'comment' => 'Return only regular comments.',
- 'trackback' => 'Return only trackbacks.',
- 'pingback' => 'Return only pingbacks.',
- 'pings' => 'Return both trackbacks and pingbacks.',
- ),
- 'status' => array(
- 'approved' => 'Return only approved comments.',
- 'unapproved' => 'Return only comments in the moderation queue.',
- 'spam' => 'Return only comments marked as spam.',
- 'trash' => 'Return only comments in the trash.',
- 'all' => 'Return comments of all statuses.',
- ),
- ) );
+ $this->query = array_merge(
+ $this->query,
+ array(
+ 'number' => '(int=20) The number of comments to return. Limit: 100. When using hierarchical=1, number refers to the number of top-level comments returned.',
+ 'offset' => '(int=0) 0-indexed offset. Not available if using hierarchical=1.',
+ 'page' => '(int) Return the Nth 1-indexed page of comments. Takes precedence over the <code>offset</code> parameter. When using hierarchical=1, pagination is a bit different. See the note on the number parameter.',
+ 'order' => array(
+ 'DESC' => 'Return comments in descending order from newest to oldest.',
+ 'ASC' => 'Return comments in ascending order from oldest to newest.',
+ ),
+ 'hierarchical' => array(
+ 'false' => '',
+ 'true' => '(BETA) Order the comment list hierarchically.',
+ ),
+ 'after' => '(ISO 8601 datetime) Return comments dated on or after the specified datetime. Not available if using hierarchical=1.',
+ 'before' => '(ISO 8601 datetime) Return comments dated on or before the specified datetime. Not available if using hierarchical=1.',
+ 'type' => array(
+ 'any' => 'Return all comments regardless of type.',
+ 'comment' => 'Return only regular comments.',
+ 'trackback' => 'Return only trackbacks.',
+ 'pingback' => 'Return only pingbacks.',
+ 'pings' => 'Return both trackbacks and pingbacks.',
+ ),
+ 'status' => array(
+ 'approved' => 'Return only approved comments.',
+ 'unapproved' => 'Return only comments in the moderation queue.',
+ 'spam' => 'Return only comments marked as spam.',
+ 'trash' => 'Return only comments in the trash.',
+ 'all' => 'Return comments of all statuses.',
+ ),
+ )
+ );
}
- // /sites/%s/comments/ -> $blog_id
- // /sites/%s/posts/%d/replies/ -> $blog_id, $post_id
- // /sites/%s/comments/%d/replies/ -> $blog_id, $comment_id
- function callback( $path = '', $blog_id = 0, $object_id = 0 ) {
+ /**
+ * The callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $object_id - the object ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $object_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -149,57 +211,59 @@ class WPCOM_JSON_API_List_Comments_Endpoint extends WPCOM_JSON_API_Comment_Endpo
if ( $args['number'] < 1 ) {
$args['number'] = 20;
} elseif ( 100 < $args['number'] ) {
- return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 100.', 400 );
+ return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 100.', 400 );
}
if ( false !== strpos( $path, '/posts/' ) ) {
- // We're looking for comments of a particular post
- $post_id = $object_id;
+ // We're looking for comments of a particular post.
+ $post_id = $object_id;
$comment_id = 0;
} else {
- // We're looking for comments for the whole blog, or replies to a single comment
+ // We're looking for comments for the whole blog, or replies to a single comment.
$comment_id = $object_id;
- $post_id = 0;
+ $post_id = 0;
}
- // We can't efficiently get the number of replies to a single comment
+ // We can't efficiently get the number of replies to a single comment.
$count = false;
$found = -1;
- if ( !$comment_id ) {
- // We can get comment counts for the whole site or for a single post, but only for certain queries
- if ( 'any' === $args['type'] && !isset( $args['after'] ) && !isset( $args['before'] ) ) {
+ if ( ! $comment_id ) {
+ // We can get comment counts for the whole site or for a single post, but only for certain queries.
+ if ( 'any' === $args['type'] && ! isset( $args['after'] ) && ! isset( $args['before'] ) ) {
$count = $this->api->wp_count_comments( $post_id );
}
}
switch ( $args['status'] ) {
- case 'approved' :
- $status = 'approve';
- if ( $count ) {
- $found = $count->approved;
- }
- break;
- default :
- if ( ! current_user_can( 'edit_posts' ) ) {
- return new WP_Error( 'unauthorized', 'User cannot read non-approved comments', 403 );
- }
- if ( 'unapproved' === $args['status'] ) {
- $status = 'hold';
- $count_status = 'moderated';
- } elseif ( 'all' === $args['status'] ) {
- $status = 'all';
- $count_status = 'total_comments';
- } else {
- $status = $count_status = $args['status'];
- }
- if ( $count ) {
- $found = $count->$count_status;
- }
+ case 'approved':
+ $status = 'approve';
+ if ( $count ) {
+ $found = $count->approved;
+ }
+ break;
+ default:
+ if ( ! current_user_can( 'edit_posts' ) ) {
+ return new WP_Error( 'unauthorized', 'User cannot read non-approved comments', 403 );
+ }
+ if ( 'unapproved' === $args['status'] ) {
+ $status = 'hold';
+ $count_status = 'moderated';
+ } elseif ( 'all' === $args['status'] ) {
+ $status = 'all';
+ $count_status = 'total_comments';
+ } else {
+ $status = $args['status'];
+ $count_status = $args['status'];
+ }
+ if ( $count ) {
+ $found = $count->$count_status;
+ }
}
/** This filter is documented in class.json-api.php */
- $exclude = apply_filters( 'jetpack_api_exclude_comment_types',
+ $exclude = apply_filters(
+ 'jetpack_api_exclude_comment_types',
array( 'order_note', 'webhook_delivery', 'review', 'action_log' )
);
@@ -234,7 +298,7 @@ class WPCOM_JSON_API_List_Comments_Endpoint extends WPCOM_JSON_API_Comment_Endpo
if ( $is_before || $is_after ) {
$query['date_query'] = array(
- 'column' => 'comment_date_gmt',
+ 'column' => 'comment_date_gmt',
'inclusive' => true,
);
@@ -250,7 +314,7 @@ class WPCOM_JSON_API_List_Comments_Endpoint extends WPCOM_JSON_API_Comment_Endpo
if ( $post_id ) {
$post = get_post( $post_id );
- if ( !$post || is_wp_error( $post ) ) {
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
$query['post_id'] = $post->ID;
@@ -259,7 +323,7 @@ class WPCOM_JSON_API_List_Comments_Endpoint extends WPCOM_JSON_API_Comment_Endpo
}
} elseif ( $comment_id ) {
$comment = get_comment( $comment_id );
- if ( !$comment || is_wp_error( $comment ) ) {
+ if ( ! $comment || is_wp_error( $comment ) ) {
return new WP_Error( 'unknown_comment', 'Unknown comment', 404 );
}
$query['parent'] = $comment_id;
@@ -270,8 +334,8 @@ class WPCOM_JSON_API_List_Comments_Endpoint extends WPCOM_JSON_API_Comment_Endpo
update_comment_cache( $comments );
if ( $args['hierarchical'] ) {
- $walker = new WPCOM_JSON_API_List_Comments_Walker;
- $comment_ids = $walker->paged_walk( $comments, get_option( 'thread_comments_depth', -1 ), isset( $args['page'] ) ? $args['page'] : 1 , $args['number'] );
+ $walker = new WPCOM_JSON_API_List_Comments_Walker();
+ $comment_ids = $walker->paged_walk( $comments, get_option( 'thread_comments_depth', -1 ), isset( $args['page'] ) ? $args['page'] : 1, $args['number'] );
if ( ! empty( $comment_ids ) ) {
$comments = array_map( 'get_comment', $comment_ids );
}
@@ -281,30 +345,30 @@ class WPCOM_JSON_API_List_Comments_Endpoint extends WPCOM_JSON_API_Comment_Endpo
foreach ( array_keys( $this->response_format ) as $key ) {
switch ( $key ) {
- case 'found' :
- $return[ $key ] = (int) $found;
- break;
- case 'site_ID' :
- $return[ $key ] = (int) $blog_id;
- break;
- case 'comments' :
- $return_comments = array();
- if ( ! empty( $comments ) ) {
- foreach ( $comments as $comment ) {
- $the_comment = $this->get_comment( $comment->comment_ID, $args['context'] );
- if ( $the_comment && !is_wp_error( $the_comment ) ) {
- $return_comments[] = $the_comment;
+ case 'found':
+ $return[ $key ] = (int) $found;
+ break;
+ case 'site_ID':
+ $return[ $key ] = (int) $blog_id;
+ break;
+ case 'comments':
+ $return_comments = array();
+ if ( ! empty( $comments ) ) {
+ foreach ( $comments as $comment ) {
+ $the_comment = $this->get_comment( $comment->comment_ID, $args['context'] );
+ if ( $the_comment && ! is_wp_error( $the_comment ) ) {
+ $return_comments[] = $the_comment;
+ }
}
}
- }
- if ( $return_comments ) {
- /** This action is documented in json-endpoints/class.wpcom-json-api-site-settings-endpoint.php */
- do_action( 'wpcom_json_api_objects', 'comments', count( $return_comments ) );
- }
+ if ( $return_comments ) {
+ /** This action is documented in json-endpoints/class.wpcom-json-api-site-settings-endpoint.php */
+ do_action( 'wpcom_json_api_objects', 'comments', count( $return_comments ) );
+ }
- $return[ $key ] = $return_comments;
- break;
+ $return[ $key ] = $return_comments;
+ break;
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-embeds-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-embeds-endpoint.php
index 6f2ce126..a3997e70 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-embeds-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-embeds-endpoint.php
@@ -1,60 +1,77 @@
-<?php
-
-new WPCOM_JSON_API_List_Embeds_Endpoint( array(
- 'description' => "Get a list of embeds available on a site. Note: The current user must have publishing access.",
- 'group' => 'sites',
- 'stat' => 'embeds',
- 'method' => 'GET',
- 'path' => '/sites/%s/embeds',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'response_format' => array(
- 'embeds' => '(array) A list of supported embeds by their regex pattern.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/embeds',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * List Embeds endpoint.
+ */
+new WPCOM_JSON_API_List_Embeds_Endpoint(
+ array(
+ 'description' => 'Get a list of embeds available on a site. Note: The current user must have publishing access.',
+ 'group' => 'sites',
+ 'stat' => 'embeds',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/embeds',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'response_format' => array(
+ 'embeds' => '(array) A list of supported embeds by their regex pattern.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/embeds',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
)
-) );
+);
+/**
+ * List Embeds Endpoint class.
+ *
+ * /sites/%s/embeds -> $blog_id
+ */
class WPCOM_JSON_API_List_Embeds_Endpoint extends WPCOM_JSON_API_Endpoint {
- // /sites/%s/embeds -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
- // permissions check
+ // permissions check.
if ( ! current_user_can( 'edit_posts' ) ) {
return new WP_Error( 'unauthorized', 'Your token must have permission to post on this blog.', 403 );
}
- // list em
+ // list em.
$output = array( 'embeds' => array() );
if ( ! function_exists( '_wp_oembed_get_object' ) ) {
- require_once( ABSPATH . WPINC . '/class-oembed.php' );
+ require_once ABSPATH . WPINC . '/class-oembed.php';
}
global $wp_embed;
$oembed = _wp_oembed_get_object();
- foreach( $wp_embed->handlers as $priority => $handlers ) {
- foreach( $handlers as $handler ) {
- if ( ! empty( $handler['regex'] ) )
+ foreach ( $wp_embed->handlers as $handlers ) {
+ foreach ( $handlers as $handler ) {
+ if ( ! empty( $handler['regex'] ) ) {
$output['embeds'][] = $handler['regex'];
+ }
}
}
foreach ( $oembed->providers as $regex => $oembed_info ) {
- if ( ! empty( $regex ) )
+ if ( ! empty( $regex ) ) {
$output['embeds'][] = $regex;
+ }
}
return $output;
}
-} \ No newline at end of file
+}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-endpoint.php
index 95d11c58..d40aa264 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-endpoint.php
@@ -1,49 +1,63 @@
-<?php
-
-new WPCOM_JSON_API_List_Media_Endpoint( array(
- 'description' => 'Get a list of items in the media library.',
- 'group' => 'media',
- 'stat' => 'media',
-
- 'method' => 'GET',
- 'path' => '/sites/%s/media/',
- 'deprecated' => true,
- 'new_version' => '1.1',
- 'max_version' => '1',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'query_parameters' => array(
- 'number' => '(int=20) The number of media items to return. Limit: 100.',
- 'offset' => '(int=0) 0-indexed offset.',
- 'parent_id' => '(int) Default is showing all items. The post where the media item is attached. 0 shows unattached media items.',
- 'mime_type' => "(string) Default is empty. Filter by mime type (e.g., 'image/jpeg', 'application/pdf'). Partial searches also work (e.g. passing 'image' will search for all image files).",
- ),
-
- 'response_format' => array(
- 'media' => '(array) Array of media',
- 'found' => '(int) The number of total results found'
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/media/?number=2',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * List media endpoint.
+ */
+new WPCOM_JSON_API_List_Media_Endpoint(
+ array(
+ 'description' => 'Get a list of items in the media library.',
+ 'group' => 'media',
+ 'stat' => 'media',
+
+ 'method' => 'GET',
+ 'path' => '/sites/%s/media/',
+ 'deprecated' => true,
+ 'new_version' => '1.1',
+ 'max_version' => '1',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+
+ 'query_parameters' => array(
+ 'number' => '(int=20) The number of media items to return. Limit: 100.',
+ 'offset' => '(int=0) 0-indexed offset.',
+ 'parent_id' => '(int) Default is showing all items. The post where the media item is attached. 0 shows unattached media items.',
+ 'mime_type' => "(string) Default is empty. Filter by mime type (e.g., 'image/jpeg', 'application/pdf'). Partial searches also work (e.g. passing 'image' will search for all image files).",
+ ),
+
+ 'response_format' => array(
+ 'media' => '(array) Array of media',
+ 'found' => '(int) The number of total results found',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/media/?number=2',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
+);
+/**
+ * API List media endpoint class.
+ */
class WPCOM_JSON_API_List_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
- //upload_files can probably be used for other endpoints but we want contributors to be able to use media too
- if ( !current_user_can( 'edit_posts' ) ) {
+ // upload_files can probably be used for other endpoints but we want contributors to be able to use media too.
+ if ( ! current_user_can( 'edit_posts' ) ) {
return new WP_Error( 'unauthorized', 'User cannot view media', 403 );
}
@@ -52,28 +66,30 @@ class WPCOM_JSON_API_List_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
if ( $args['number'] < 1 ) {
$args['number'] = 20;
} elseif ( 100 < $args['number'] ) {
- return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 100.', 400 );
+ return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 100.', 400 );
}
- $media = get_posts( array(
- 'post_type' => 'attachment',
- 'post_parent' => $args['parent_id'],
- 'offset' => $args['offset'],
- 'numberposts' => $args['number'],
- 'post_mime_type' => $args['mime_type']
- ) );
+ $media = get_posts(
+ array(
+ 'post_type' => 'attachment',
+ 'post_parent' => $args['parent_id'],
+ 'offset' => $args['offset'],
+ 'numberposts' => $args['number'],
+ 'post_mime_type' => $args['mime_type'],
+ )
+ );
$response = array();
foreach ( $media as $item ) {
$response[] = $this->get_media_item( $item->ID );
}
- $_num = (array) wp_count_attachments();
+ $_num = (array) wp_count_attachments();
$_total_media = array_sum( $_num ) - $_num['trash'];
$return = array(
'found' => $_total_media,
- 'media' => $response
+ 'media' => $response,
);
return $return;
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-1-endpoint.php
index 1e084592..dc1312ce 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-1-endpoint.php
@@ -1,75 +1,100 @@
-<?php
-
-new WPCOM_JSON_API_List_Media_v1_1_Endpoint( array(
- 'description' => 'Get a list of items in the media library.',
- 'group' => 'media',
- 'stat' => 'media',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'method' => 'GET',
- 'path' => '/sites/%s/media/',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'query_parameters' => array(
- 'number' => '(int=20) The number of media items to return. Limit: 100.',
- 'offset' => '(int=0) 0-indexed offset.',
- 'page' => '(int) Return the Nth 1-indexed page of posts. Takes precedence over the <code>offset</code> parameter.',
- 'page_handle' => '(string) A page handle, returned from a previous API call as a <code>meta.next_page</code> property. This is the most efficient way to fetch the next page of results.',
- 'order' => array(
- 'DESC' => 'Return files in descending order. For dates, that means newest to oldest.',
- 'ASC' => 'Return files in ascending order. For dates, that means oldest to newest.',
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * List Media v1_1 endpoint.
+ */
+new WPCOM_JSON_API_List_Media_v1_1_Endpoint(
+ array(
+ 'description' => 'Get a list of items in the media library.',
+ 'group' => 'media',
+ 'stat' => 'media',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/media/',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'order_by' => array(
- 'date' => 'Order by the uploaded time of each file.',
- 'title' => "Order lexicographically by file titles.",
- 'ID' => 'Order by media ID.',
+
+ 'query_parameters' => array(
+ 'number' => '(int=20) The number of media items to return. Limit: 100.',
+ 'offset' => '(int=0) 0-indexed offset.',
+ 'page' => '(int) Return the Nth 1-indexed page of posts. Takes precedence over the <code>offset</code> parameter.',
+ 'page_handle' => '(string) A page handle, returned from a previous API call as a <code>meta.next_page</code> property. This is the most efficient way to fetch the next page of results.',
+ 'order' => array(
+ 'DESC' => 'Return files in descending order. For dates, that means newest to oldest.',
+ 'ASC' => 'Return files in ascending order. For dates, that means oldest to newest.',
+ ),
+ 'order_by' => array(
+ 'date' => 'Order by the uploaded time of each file.',
+ 'title' => 'Order lexicographically by file titles.',
+ 'ID' => 'Order by media ID.',
+ ),
+ 'search' => '(string) Search query.',
+ 'post_ID' => '(int) Default is showing all items. The post where the media item is attached. 0 shows unattached media items.',
+ 'mime_type' => "(string) Default is empty. Filter by mime type (e.g., 'image/jpeg', 'application/pdf'). Partial searches also work (e.g. passing 'image' will search for all image files).",
+ 'after' => '(ISO 8601 datetime) Return media items uploaded after the specified datetime.',
+ 'before' => '(ISO 8601 datetime) Return media items uploaded before the specified datetime.',
),
- 'search' => '(string) Search query.',
- 'post_ID' => '(int) Default is showing all items. The post where the media item is attached. 0 shows unattached media items.',
- 'mime_type' => "(string) Default is empty. Filter by mime type (e.g., 'image/jpeg', 'application/pdf'). Partial searches also work (e.g. passing 'image' will search for all image files).",
- 'after' => '(ISO 8601 datetime) Return media items uploaded after the specified datetime.',
- 'before' => '(ISO 8601 datetime) Return media items uploaded before the specified datetime.',
- ),
-
- 'response_format' => array(
- 'media' => '(array) Array of media objects',
- 'found' => '(int) The number of total results found',
- 'meta' => '(object) Meta data',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
- )
-) );
-class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
+ 'response_format' => array(
+ 'media' => '(array) Array of media objects',
+ 'found' => '(int) The number of total results found',
+ 'meta' => '(object) Meta data',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ )
+);
+
+/**
+ * List media v1_1 endpoint class.
+ */
+class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint { // phpcs:ignore
+
+ /**
+ * Date range.
+ *
+ * @var array
+ */
public $date_range = array();
+
+ /**
+ * The page handle.
+ *
+ * @var array
+ */
public $page_handle = array();
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
- //upload_files can probably be used for other endpoints but we want contributors to be able to use media too
+ // upload_files can probably be used for other endpoints but we want contributors to be able to use media too.
if ( ! current_user_can( 'edit_posts' ) ) {
return new WP_Error( 'unauthorized', 'User cannot view media', 403 );
}
- $args = $this->query_args();
+ $args = $this->query_args();
$is_eligible_for_page_handle = true;
if ( $args['number'] < 1 ) {
$args['number'] = 20;
} elseif ( 100 < $args['number'] ) {
- return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 100.', 400 );
+ return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 100.', 400 );
}
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
@@ -106,7 +131,7 @@ class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
}
$query['paged'] = $args['page'];
- if ( $query['paged'] !== 1 ) {
+ if ( 1 !== $query['paged'] ) {
$is_eligible_for_page_handle = false;
}
} else {
@@ -115,7 +140,7 @@ class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
}
$query['offset'] = $args['offset'];
- if ( $query['offset'] !== 0 ) {
+ if ( 0 !== $query['offset'] ) {
$is_eligible_for_page_handle = false;
}
}
@@ -123,7 +148,7 @@ class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
if ( isset( $args['page_handle'] ) ) {
$page_handle = wp_parse_args( $args['page_handle'] );
if ( isset( $page_handle['value'] ) && isset( $page_handle['id'] ) ) {
- // we have a valid looking page handle
+ // we have a valid looking page handle.
$this->page_handle = $page_handle;
add_filter( 'posts_where', array( $this, 'handle_where_for_page_handle' ) );
}
@@ -157,7 +182,7 @@ class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
$return = array(
'found' => (int) $media->found_posts,
- 'media' => $response
+ 'media' => $response,
);
if ( $is_eligible_for_page_handle && $return['media'] ) {
@@ -165,7 +190,7 @@ class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
reset( $return['media'] );
if ( ( $return['found'] > count( $return['media'] ) ) && $last_post ) {
- $return['meta'] = array();
+ $return['meta'] = array();
$return['meta']['next_page'] = $this->build_page_handle( $last_post, $query );
}
}
@@ -173,15 +198,31 @@ class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
return $return;
}
- function build_page_handle( $post, $query ) {
+ /**
+ * Build the page handle.
+ *
+ * @param object $post - the post object.
+ * @param array $query - the query.
+ */
+ public function build_page_handle( $post, $query ) {
$column = $query['orderby'];
if ( ! $column ) {
$column = 'date';
}
- return build_query( array( 'value' => urlencode( $post->$column ), 'id' => $post->ID ) );
+ return build_query(
+ array(
+ 'value' => rawurlencode( $post->$column ),
+ 'id' => $post->ID,
+ )
+ );
}
- function handle_where_for_page_handle( $where ) {
+ /**
+ * Handle figuring out the page handler is.
+ *
+ * @param string $where - sql where clause.
+ */
+ public function handle_where_for_page_handle( $where ) {
global $wpdb;
$column = $this->performed_query['orderby'];
@@ -193,40 +234,40 @@ class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
$order = 'DESC';
}
- if ( ! in_array( $column, array( 'ID', 'title', 'date', 'modified', 'comment_count' ) ) ) {
+ if ( ! in_array( $column, array( 'ID', 'title', 'date', 'modified', 'comment_count' ), true ) ) {
return $where;
}
- if ( ! in_array( $order, array( 'DESC', 'ASC' ) ) ) {
+ if ( ! in_array( $order, array( 'DESC', 'ASC' ), true ) ) {
return $where;
}
$db_column = '';
- $db_value = '';
- switch( $column ) {
+ $db_value = '';
+ switch ( $column ) {
case 'ID':
$db_column = 'ID';
- $db_value = '%d';
+ $db_value = '%d';
break;
case 'title':
$db_column = 'post_title';
- $db_value = '%s';
+ $db_value = '%s';
break;
case 'date':
$db_column = 'post_date';
- $db_value = 'CAST( %s as DATETIME )';
+ $db_value = 'CAST( %s as DATETIME )';
break;
case 'modified':
$db_column = 'post_modified';
- $db_value = 'CAST( %s as DATETIME )';
+ $db_value = 'CAST( %s as DATETIME )';
break;
case 'comment_count':
$db_column = 'comment_count';
- $db_value = '%d';
+ $db_value = '%d';
break;
}
- if ( 'DESC'=== $order ) {
+ if ( 'DESC' === $order ) {
$db_order = '<';
} else {
$db_order = '>';
@@ -235,48 +276,58 @@ class WPCOM_JSON_API_List_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
// Add a clause that limits the results to items beyond the passed item, or equivalent to the passed item
// but with an ID beyond the passed item. When we're ordering by the ID already, we only ask for items
// beyond the passed item.
- $where .= $wpdb->prepare( " AND ( ( `$wpdb->posts`.`$db_column` $db_order $db_value ) ", $this->page_handle['value'] );
- if ( $db_column !== 'ID' ) {
- $where .= $wpdb->prepare( "OR ( `$wpdb->posts`.`$db_column` = $db_value AND `$wpdb->posts`.ID $db_order %d )", $this->page_handle['value'], $this->page_handle['id'] );
+ $where .= $wpdb->prepare( " AND ( ( `$wpdb->posts`.`$db_column` $db_order $db_value ) ", $this->page_handle['value'] ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare
+ if ( 'ID' !== $db_column ) {
+ $where .= $wpdb->prepare( "OR ( `$wpdb->posts`.`$db_column` = $db_value AND `$wpdb->posts`.ID $db_order %d )", $this->page_handle['value'], $this->page_handle['id'] ); // phpcs:ignore WordPress.DB.PreparedSQLPlaceholders.ReplacementsWrongNumber, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
}
$where .= ' )';
return $where;
}
- function handle_date_range( $where ) {
+ /**
+ * Handle date range.
+ *
+ * @param string $where - sql where clause.
+ */
+ public function handle_date_range( $where ) {
global $wpdb;
switch ( count( $this->date_range ) ) {
- case 2 :
- $where .= $wpdb->prepare(
- " AND `$wpdb->posts`.post_date BETWEEN CAST( %s AS DATETIME ) AND CAST( %s AS DATETIME ) ",
- $this->date_range['after'],
- $this->date_range['before']
- );
- break;
- case 1 :
- if ( isset( $this->date_range['before'] ) ) {
+ case 2:
$where .= $wpdb->prepare(
- " AND `$wpdb->posts`.post_date <= CAST( %s AS DATETIME ) ",
+ " AND `$wpdb->posts`.post_date BETWEEN CAST( %s AS DATETIME ) AND CAST( %s AS DATETIME ) ",
+ $this->date_range['after'],
$this->date_range['before']
);
- } else {
- $where .= $wpdb->prepare(
- " AND `$wpdb->posts`.post_date >= CAST( %s AS DATETIME ) ",
- $this->date_range['after']
- );
- }
- break;
+ break;
+ case 1:
+ if ( isset( $this->date_range['before'] ) ) {
+ $where .= $wpdb->prepare(
+ " AND `$wpdb->posts`.post_date <= CAST( %s AS DATETIME ) ",
+ $this->date_range['before']
+ );
+ } else {
+ $where .= $wpdb->prepare(
+ " AND `$wpdb->posts`.post_date >= CAST( %s AS DATETIME ) ",
+ $this->date_range['after']
+ );
+ }
+ break;
}
return $where;
}
- function handle_orderby_for_page_handle( $orderby ) {
+ /**
+ * Handle how page handle is ordered by.
+ *
+ * @param string $orderby - how we want to order things by.
+ */
+ public function handle_orderby_for_page_handle( $orderby ) {
global $wpdb;
- if ( $this->performed_query['orderby'] === 'ID' ) {
- // bail if we're already ordering by ID
+ if ( 'ID' === $this->performed_query['orderby'] ) {
+ // bail if we're already ordering by ID.
return $orderby;
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php
index 0ffd971b..5fa52680 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php
@@ -1,56 +1,70 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
jetpack_require_lib( 'class.media' );
-new WPCOM_JSON_API_List_Media_v1_2_Endpoint( array(
- 'description' => 'Get a list of items in the media library.',
- 'group' => 'media',
- 'stat' => 'media',
- 'min_version' => '1.2',
- 'max_version' => '1.2',
- 'method' => 'GET',
- 'path' => '/sites/%s/media/',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'query_parameters' => array(
- 'number' => '(int=20) The number of media items to return. Limit: 100.',
- 'offset' => '(int=0) 0-indexed offset.',
- 'page' => '(int) Return the Nth 1-indexed page of posts. Takes precedence over the <code>offset</code> parameter.',
- 'page_handle' => '(string) A page handle, returned from a previous API call as a <code>meta.next_page</code> property. This is the most efficient way to fetch the next page of results.',
- 'order' => array(
- 'DESC' => 'Return files in descending order. For dates, that means newest to oldest.',
- 'ASC' => 'Return files in ascending order. For dates, that means oldest to newest.',
+/**
+ * List media v1_2 endpoint.
+ */
+new WPCOM_JSON_API_List_Media_v1_2_Endpoint(
+ array(
+ 'description' => 'Get a list of items in the media library.',
+ 'group' => 'media',
+ 'stat' => 'media',
+ 'min_version' => '1.2',
+ 'max_version' => '1.2',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/media/',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'order_by' => array(
- 'date' => 'Order by the uploaded time of each file.',
- 'title' => "Order lexicographically by file titles.",
- 'ID' => 'Order by media ID.',
+
+ 'query_parameters' => array(
+ 'number' => '(int=20) The number of media items to return. Limit: 100.',
+ 'offset' => '(int=0) 0-indexed offset.',
+ 'page' => '(int) Return the Nth 1-indexed page of posts. Takes precedence over the <code>offset</code> parameter.',
+ 'page_handle' => '(string) A page handle, returned from a previous API call as a <code>meta.next_page</code> property. This is the most efficient way to fetch the next page of results.',
+ 'order' => array(
+ 'DESC' => 'Return files in descending order. For dates, that means newest to oldest.',
+ 'ASC' => 'Return files in ascending order. For dates, that means oldest to newest.',
+ ),
+ 'order_by' => array(
+ 'date' => 'Order by the uploaded time of each file.',
+ 'title' => 'Order lexicographically by file titles.',
+ 'ID' => 'Order by media ID.',
+ ),
+ 'search' => '(string) Search query.',
+ 'post_ID' => '(int) Default is showing all items. The post where the media item is attached. 0 shows unattached media items.',
+ 'mime_type' => "(string) Default is empty. Filter by mime type (e.g., 'image/jpeg', 'application/pdf'). Partial searches also work (e.g. passing 'image' will search for all image files).",
+ 'after' => '(ISO 8601 datetime) Return media items uploaded after the specified datetime.',
+ 'before' => '(ISO 8601 datetime) Return media items uploaded before the specified datetime.',
),
- 'search' => '(string) Search query.',
- 'post_ID' => '(int) Default is showing all items. The post where the media item is attached. 0 shows unattached media items.',
- 'mime_type' => "(string) Default is empty. Filter by mime type (e.g., 'image/jpeg', 'application/pdf'). Partial searches also work (e.g. passing 'image' will search for all image files).",
- 'after' => '(ISO 8601 datetime) Return media items uploaded after the specified datetime.',
- 'before' => '(ISO 8601 datetime) Return media items uploaded before the specified datetime.',
- ),
- 'response_format' => array(
- 'media' => '(array) Array of media objects',
- 'found' => '(int) The number of total results found',
- 'meta' => '(object) Meta data',
- ),
+ 'response_format' => array(
+ 'media' => '(array) Array of media objects',
+ 'found' => '(int) The number of total results found',
+ 'meta' => '(object) Meta data',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/82974409/media',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/82974409/media',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
+);
-class WPCOM_JSON_API_List_Media_v1_2_Endpoint extends WPCOM_JSON_API_List_Media_v1_1_Endpoint {
- function callback( $path = '', $blog_id = 0 ) {
+/**
+ * List Media v1_2 endpoint.
+ */
+class WPCOM_JSON_API_List_Media_v1_2_Endpoint extends WPCOM_JSON_API_List_Media_v1_1_Endpoint { // phpcs:ignore
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$response = parent::callback( $path, $blog_id );
if ( is_wp_error( $response ) ) {
@@ -63,11 +77,11 @@ class WPCOM_JSON_API_List_Media_v1_2_Endpoint extends WPCOM_JSON_API_List_Media_
return $response;
}
- foreach ( $media_list as $index => $media_item ) {
- // expose `revision_history` object for each image
+ foreach ( $media_list as $media_item ) {
+ // expose `revision_history` object for each image.
$media_item->revision_history = (object) array(
- 'items' => (array) Jetpack_Media::get_revision_history( $media_item->ID ),
- 'original' => (object) Jetpack_Media::get_original_media( $media_item->ID )
+ 'items' => (array) Jetpack_Media::get_revision_history( $media_item->ID ),
+ 'original' => (object) Jetpack_Media::get_original_media( $media_item->ID ),
);
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-type-taxonomies-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-type-taxonomies-endpoint.php
index 27b1cf0e..94326f32 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-type-taxonomies-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-type-taxonomies-endpoint.php
@@ -1,24 +1,41 @@
-<?php
-
-new WPCOM_JSON_API_List_Post_Type_Taxonomies_Endpoint( array (
- 'description' => 'Get a list of taxonomies associated with a post type.',
- 'group' => 'taxonomy',
- 'stat' => 'sites:X:post-types:X:taxonomies',
- 'method' => 'GET',
- 'path' => '/sites/%s/post-types/%s/taxonomies',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_type' => '(string) Post type',
- ),
- 'response_format' => array(
- 'found' => '(int) The number of taxonomies found',
- 'taxonomies' => '(array:taxonomy) A list of available taxonomies',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/33534099/post-types/post/taxonomies'
-) );
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * List post type taxonomies endpoint.
+ */
+
+new WPCOM_JSON_API_List_Post_Type_Taxonomies_Endpoint(
+ array(
+ 'description' => 'Get a list of taxonomies associated with a post type.',
+ 'group' => 'taxonomy',
+ 'stat' => 'sites:X:post-types:X:taxonomies',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/post-types/%s/taxonomies',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_type' => '(string) Post type',
+ ),
+ 'response_format' => array(
+ 'found' => '(int) The number of taxonomies found',
+ 'taxonomies' => '(array:taxonomy) A list of available taxonomies',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/33534099/post-types/post/taxonomies',
+ )
+);
+
+/**
+ * List post type taxonomies endpoint class.
+ *
+ * /sites/%s/post-types/%s/taxonomies -> $blog_id, $post_type
+ */
class WPCOM_JSON_API_List_Post_Type_Taxonomies_Endpoint extends WPCOM_JSON_API_Endpoint {
- static $taxonomy_keys_to_include = array(
+
+ /**
+ * Included taxonomy keys.
+ *
+ * @var array
+ */
+ public static $taxonomy_keys_to_include = array(
'name' => 'name',
'label' => 'label',
'labels' => 'labels',
@@ -28,8 +45,14 @@ class WPCOM_JSON_API_List_Post_Type_Taxonomies_Endpoint extends WPCOM_JSON_API_E
'cap' => 'capabilities',
);
- // /sites/%s/post-types/%s/taxonomies -> $blog_id, $post_type
- function callback( $path = '', $blog_id = 0, $post_type = 'post' ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ * @param string $post_type - the post type.
+ */
+ public function callback( $path = '', $blog_id = 0, $post_type = 'post' ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -41,26 +64,24 @@ class WPCOM_JSON_API_List_Post_Type_Taxonomies_Endpoint extends WPCOM_JSON_API_E
$this->localize_initial_taxonomies( $post_type );
- $args = $this->query_args();
-
$post_type_object = get_post_type_object( $post_type );
if ( ! $post_type_object || ( ! $post_type_object->publicly_queryable && (
! current_user_can( $post_type_object->cap->edit_posts ) ) ) ) {
return new WP_Error( 'unknown_post_type', 'Unknown post type', 404 );
}
- // Get a list of available taxonomies
+ // Get a list of available taxonomies.
$taxonomy_objects = get_object_taxonomies( $post_type, 'objects' );
- // Construct array of formatted objects
+ // Construct array of formatted objects.
$formatted_taxonomy_objects = array();
foreach ( $taxonomy_objects as $taxonomy_object ) {
- // Omit private taxonomies unless user has assign capability
+ // Omit private taxonomies unless user has assign capability.
if ( ! $taxonomy_object->public && ! current_user_can( $taxonomy_object->cap->assign_terms ) ) {
continue;
}
- // Include only the desired keys in the response
+ // Include only the desired keys in the response.
$formatted_taxonomy_object = array();
foreach ( self::$taxonomy_keys_to_include as $key => $value ) {
$formatted_taxonomy_object[ $value ] = $taxonomy_object->{ $key };
@@ -75,6 +96,11 @@ class WPCOM_JSON_API_List_Post_Type_Taxonomies_Endpoint extends WPCOM_JSON_API_E
);
}
+ /**
+ * Handle localizing initial taxonomies.
+ *
+ * @param string $post_type - the post type.
+ */
protected function localize_initial_taxonomies( $post_type ) {
/** This filter is documented in jetpack/json-endpoints/class.wpcom-json-api-list-post-types-endpoint.php */
if ( ! apply_filters( 'rest_api_localize_response', false ) ) {
@@ -83,14 +109,14 @@ class WPCOM_JSON_API_List_Post_Type_Taxonomies_Endpoint extends WPCOM_JSON_API_E
// Since recreating initial taxonomies will restore the default post
// types to which they are associated, save post type's taxonomies in
- // case it was customized via `register_taxonomy_for_object_type`
+ // case it was customized via `register_taxonomy_for_object_type`.
$post_type_taxonomies = get_object_taxonomies( $post_type );
// API localization occurs after the initial taxonomies have been
- // registered, so re-register if localizing response
+ // registered, so re-register if localizing response.
create_initial_taxonomies();
- // Restore registered taxonomies for post type
+ // Restore registered taxonomies for post type.
foreach ( $post_type_taxonomies as $taxonomy ) {
register_taxonomy_for_object_type( $taxonomy, $post_type );
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-types-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-types-endpoint.php
index 9d7adb98..8bae971f 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-types-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-post-types-endpoint.php
@@ -1,45 +1,66 @@
-<?php
-
-new WPCOM_JSON_API_List_Post_Types_Endpoint( array (
- 'description' => 'Get a list of post types available for a site.',
- 'group' => 'sites',
- 'stat' => 'sites:X:post-types',
-
- 'method' => 'GET',
- 'path' => '/sites/%s/post-types',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'query_parameters' => array(
- 'api_queryable' => '(bool) If true, only queryable post types are returned',
- ),
-
- 'response_format' => array(
- 'found' => '(int) The number of post types found',
- 'post_types' => '(array) A list of available post types',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/33534099/post-types'
-) );
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * List post types endpoint.
+ */
+new WPCOM_JSON_API_List_Post_Types_Endpoint(
+ array(
+ 'description' => 'Get a list of post types available for a site.',
+ 'group' => 'sites',
+ 'stat' => 'sites:X:post-types',
+
+ 'method' => 'GET',
+ 'path' => '/sites/%s/post-types',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'query_parameters' => array(
+ 'api_queryable' => '(bool) If true, only queryable post types are returned',
+ ),
+
+ 'response_format' => array(
+ 'found' => '(int) The number of post types found',
+ 'post_types' => '(array) A list of available post types',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/33534099/post-types',
+ )
+);
+
+/**
+ * List Post types endpoint class.
+ *
+ * /sites/%s/post-types -> $blog_id
+ */
class WPCOM_JSON_API_List_Post_Types_Endpoint extends WPCOM_JSON_API_Endpoint {
- static $post_type_keys_to_include = array(
- 'name' => 'name',
- 'label' => 'label',
- 'labels' => 'labels',
- 'description' => 'description',
- 'map_meta_cap' => 'map_meta_cap',
- 'cap' => 'capabilities',
- 'hierarchical' => 'hierarchical',
- 'public' => 'public',
- 'show_ui' => 'show_ui',
+
+ /**
+ * Post type keys to include.
+ *
+ * @var array
+ */
+ public static $post_type_keys_to_include = array(
+ 'name' => 'name',
+ 'label' => 'label',
+ 'labels' => 'labels',
+ 'description' => 'description',
+ 'map_meta_cap' => 'map_meta_cap',
+ 'cap' => 'capabilities',
+ 'hierarchical' => 'hierarchical',
+ 'public' => 'public',
+ 'show_ui' => 'show_ui',
'publicly_queryable' => 'publicly_queryable',
);
- // /sites/%s/post-types -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -49,8 +70,6 @@ class WPCOM_JSON_API_List_Post_Types_Endpoint extends WPCOM_JSON_API_Endpoint {
$this->load_theme_functions();
}
- $args = $this->query_args();
-
/**
* Whether API responses should be returned in a custom locale. False
* for Jetpack; may be true for WP.com requests.
@@ -59,31 +78,31 @@ class WPCOM_JSON_API_List_Post_Types_Endpoint extends WPCOM_JSON_API_Endpoint {
*/
if ( apply_filters( 'rest_api_localize_response', false ) ) {
// API localization occurs after the initial post types have been
- // registered, so re-register if localizing response
+ // registered, so re-register if localizing response.
create_initial_post_types();
}
- // Get a list of available post types
- $post_types = get_post_types();
+ // Get a list of available post types.
+ $post_types = get_post_types();
$formatted_post_type_objects = array();
- // Retrieve post type object for each post type
+ // Retrieve post type object for each post type.
foreach ( $post_types as $post_type ) {
- // Skip non-queryable if filtering on queryable only
+ // Skip non-queryable if filtering on queryable only.
$is_queryable = $this->is_post_type_allowed( $post_type );
if ( ! $is_queryable ) {
continue;
}
- $post_type_object = get_post_type_object( $post_type );
+ $post_type_object = get_post_type_object( $post_type );
$formatted_post_type_object = array();
- // Include only the desired keys in the response
+ // Include only the desired keys in the response.
foreach ( self::$post_type_keys_to_include as $key => $value ) {
$formatted_post_type_object[ $value ] = $post_type_object->{ $key };
}
$formatted_post_type_object['api_queryable'] = $is_queryable;
- $formatted_post_type_object['supports'] = get_all_post_type_supports( $post_type );
+ $formatted_post_type_object['supports'] = get_all_post_type_supports( $post_type );
if ( $this->post_type_supports_tags( $post_type ) ) {
$formatted_post_type_object['supports']['tags'] = true;
}
@@ -92,27 +111,32 @@ class WPCOM_JSON_API_List_Post_Types_Endpoint extends WPCOM_JSON_API_Endpoint {
}
return array(
- 'found' => count( $formatted_post_type_objects ),
- 'post_types' => $formatted_post_type_objects
+ 'found' => count( $formatted_post_type_objects ),
+ 'post_types' => $formatted_post_type_objects,
);
}
- function post_type_supports_tags( $post_type ) {
- if ( in_array( 'post_tag', get_object_taxonomies( $post_type ) ) ) {
+ /**
+ * See if post type supports tags.
+ *
+ * @param string $post_type - the post type.
+ */
+ public function post_type_supports_tags( $post_type ) {
+ if ( in_array( 'post_tag', get_object_taxonomies( $post_type ), true ) ) {
return true;
}
// the featured content module adds post_tag support
// to the post types that are registered for it
// however it does so in a way that isn't available
- // to get_object_taxonomies
+ // to get_object_taxonomies.
$featured_content = get_theme_support( 'featured-content' );
if ( ! $featured_content || empty( $featured_content[0] ) || empty( $featured_content[0]['post_types'] ) ) {
return false;
}
if ( is_array( $featured_content[0]['post_types'] ) ) {
- return in_array( $post_type, $featured_content[0]['post_types'] );
+ return in_array( $post_type, $featured_content[0]['post_types'], true );
}
return $post_type === $featured_content[0]['post_types'];
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-endpoint.php
index 7f65a2e7..de3ee8f9 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-endpoint.php
@@ -1,76 +1,102 @@
-<?php
-
-new WPCOM_JSON_API_List_Posts_Endpoint( array(
- 'description' => 'Get a list of matching posts.',
- 'new_version' => '1.1',
- 'max_version' => '1',
- 'group' => 'posts',
- 'stat' => 'posts',
-
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'query_parameters' => array(
- 'number' => '(int=20) The number of posts to return. Limit: 100.',
- 'offset' => '(int=0) 0-indexed offset.',
- 'page' => '(int) Return the Nth 1-indexed page of posts. Takes precedence over the <code>offset</code> parameter.',
- 'order' => array(
- 'DESC' => 'Return posts in descending order. For dates, that means newest to oldest.',
- 'ASC' => 'Return posts in ascending order. For dates, that means oldest to newest.',
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * List posts endpoint.
+ */
+new WPCOM_JSON_API_List_Posts_Endpoint(
+ array(
+ 'description' => 'Get a list of matching posts.',
+ 'new_version' => '1.1',
+ 'max_version' => '1',
+ 'group' => 'posts',
+ 'stat' => 'posts',
+
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'order_by' => array(
- 'date' => 'Order by the created time of each post.',
- 'modified' => 'Order by the modified time of each post.',
- 'title' => "Order lexicographically by the posts' titles.",
- 'comment_count' => 'Order by the number of comments for each post.',
- 'ID' => 'Order by post ID.',
- ),
- 'after' => '(ISO 8601 datetime) Return posts dated on or after the specified datetime.',
- 'before' => '(ISO 8601 datetime) Return posts dated on or before the specified datetime.',
- 'tag' => '(string) Specify the tag name or slug.',
- 'category' => '(string) Specify the category name or slug.',
- 'term' => '(object:string) Specify comma-separated term slugs to search within, indexed by taxonomy slug.',
- 'type' => "(string) Specify the post type. Defaults to 'post', use 'any' to query for both posts and pages. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
- 'parent_id' => '(int) Returns only posts which are children of the specified post. Applies only to hierarchical post types.',
- 'exclude' => '(array:int|int) Excludes the specified post ID(s) from the response',
- 'exclude_tree' => '(int) Excludes the specified post and all of its descendants from the response. Applies only to hierarchical post types.',
- 'status' => array(
- 'publish' => 'Return only published posts.',
- 'private' => 'Return only private posts.',
- 'draft' => 'Return only draft posts.',
- 'pending' => 'Return only posts pending editorial approval.',
- 'future' => 'Return only posts scheduled for future publishing.',
- 'trash' => 'Return only posts in the trash.',
- 'any' => 'Return all posts regardless of status.',
- ),
- 'sticky' => array(
- 'false' => 'Post is not marked as sticky.',
- 'true' => 'Stick the post to the front page.',
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'query_parameters' => array(
+ 'number' => '(int=20) The number of posts to return. Limit: 100.',
+ 'offset' => '(int=0) 0-indexed offset.',
+ 'page' => '(int) Return the Nth 1-indexed page of posts. Takes precedence over the <code>offset</code> parameter.',
+ 'order' => array(
+ 'DESC' => 'Return posts in descending order. For dates, that means newest to oldest.',
+ 'ASC' => 'Return posts in ascending order. For dates, that means oldest to newest.',
+ ),
+ 'order_by' => array(
+ 'date' => 'Order by the created time of each post.',
+ 'modified' => 'Order by the modified time of each post.',
+ 'title' => "Order lexicographically by the posts' titles.",
+ 'comment_count' => 'Order by the number of comments for each post.',
+ 'ID' => 'Order by post ID.',
+ ),
+ 'after' => '(ISO 8601 datetime) Return posts dated on or after the specified datetime.',
+ 'before' => '(ISO 8601 datetime) Return posts dated on or before the specified datetime.',
+ 'tag' => '(string) Specify the tag name or slug.',
+ 'category' => '(string) Specify the category name or slug.',
+ 'term' => '(object:string) Specify comma-separated term slugs to search within, indexed by taxonomy slug.',
+ 'type' => "(string) Specify the post type. Defaults to 'post', use 'any' to query for both posts and pages. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
+ 'parent_id' => '(int) Returns only posts which are children of the specified post. Applies only to hierarchical post types.',
+ 'exclude' => '(array:int|int) Excludes the specified post ID(s) from the response',
+ 'exclude_tree' => '(int) Excludes the specified post and all of its descendants from the response. Applies only to hierarchical post types.',
+ 'status' => array(
+ 'publish' => 'Return only published posts.',
+ 'private' => 'Return only private posts.',
+ 'draft' => 'Return only draft posts.',
+ 'pending' => 'Return only posts pending editorial approval.',
+ 'future' => 'Return only posts scheduled for future publishing.',
+ 'trash' => 'Return only posts in the trash.',
+ 'any' => 'Return all posts regardless of status.',
+ ),
+ 'sticky' => array(
+ 'false' => 'Post is not marked as sticky.',
+ 'true' => 'Stick the post to the front page.',
+ ),
+ 'author' => "(int) Author's user ID",
+ 'search' => '(string) Search query',
+ 'meta_key' => '(string) Metadata key that the post should contain',
+ 'meta_value' => '(string) Metadata value that the post should contain. Will only be applied if a `meta_key` is also given',
),
- 'author' => "(int) Author's user ID",
- 'search' => '(string) Search query',
- 'meta_key' => '(string) Metadata key that the post should contain',
- 'meta_value' => '(string) Metadata value that the post should contain. Will only be applied if a `meta_key` is also given',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/?number=5'
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/?number=5',
+ )
+);
+/**
+ * List posts endpoint class.
+ *
+ * /sites/%s/posts/ -> $blog_id
+ */
class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
+
+ /**
+ * The date range.
+ *
+ * @var array.
+ */
public $date_range = array();
+ /**
+ * The response format.
+ *
+ * @var array
+ */
public $response_format = array(
- 'found' => '(int) The total number of posts found that match the request (ignoring limits, offsets, and pagination).',
- 'posts' => '(array:post) An array of post objects.',
+ 'found' => '(int) The total number of posts found that match the request (ignoring limits, offsets, and pagination).',
+ 'posts' => '(array:post) An array of post objects.',
);
- // /sites/%s/posts/ -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -81,15 +107,15 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
if ( $args['number'] < 1 ) {
$args['number'] = 20;
} elseif ( 100 < $args['number'] ) {
- return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 100.', 400 );
+ return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 100.', 400 );
}
if ( isset( $args['type'] ) && ! $this->is_post_type_allowed( $args['type'] ) ) {
return new WP_Error( 'unknown_post_type', 'Unknown post type', 404 );
}
- // Normalize post_type
- if ( isset( $args['type'] ) && 'any' == $args['type'] ) {
+ // Normalize post_type.
+ if ( isset( $args['type'] ) && 'any' === $args['type'] ) {
if ( version_compare( $this->api->version, '1.1', '<' ) ) {
$args['type'] = array( 'post', 'page' );
} else { // 1.1+
@@ -97,7 +123,7 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
}
- // determine statuses
+ // determine statuses.
$status = $args['status'];
$status = ( $status ) ? explode( ',', $status ) : array( 'publish' );
if ( is_user_logged_in() ) {
@@ -110,40 +136,48 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
'trash',
'any',
);
- $status = array_intersect( $status, $statuses_whitelist );
+ $status = array_intersect( $status, $statuses_whitelist );
} else {
- // logged-out users can see only published posts
+ // logged-out users can see only published posts.
$statuses_whitelist = array( 'publish', 'any' );
- $status = array_intersect( $status, $statuses_whitelist );
+ $status = array_intersect( $status, $statuses_whitelist );
if ( empty( $status ) ) {
- // requested only protected statuses? nothing for you here
- return array( 'found' => 0, 'posts' => array() );
+ // requested only protected statuses? nothing for you here.
+ return array(
+ 'found' => 0,
+ 'posts' => array(),
+ );
}
- // clear it (AKA published only) because "any" includes protected
+ // clear it (AKA published only) because "any" includes protected.
$status = array();
}
- // let's be explicit about defaulting to 'post'
+ // let's be explicit about defaulting to 'post'.
$args['type'] = isset( $args['type'] ) ? $args['type'] : 'post';
- // make sure the user can read or edit the requested post type(s)
+ // make sure the user can read or edit the requested post type(s).
if ( is_array( $args['type'] ) ) {
$allowed_types = array();
foreach ( $args['type'] as $post_type ) {
if ( $this->current_user_can_access_post_type( $post_type, $args['context'] ) ) {
- $allowed_types[] = $post_type;
+ $allowed_types[] = $post_type;
}
}
if ( empty( $allowed_types ) ) {
- return array( 'found' => 0, 'posts' => array() );
+ return array(
+ 'found' => 0,
+ 'posts' => array(),
+ );
}
$args['type'] = $allowed_types;
- }
- else {
+ } else {
if ( ! $this->current_user_can_access_post_type( $args['type'], $args['context'] ) ) {
- return array( 'found' => 0, 'posts' => array() );
+ return array(
+ 'found' => 0,
+ 'posts' => array(),
+ );
}
}
@@ -159,42 +193,47 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
'fields' => 'ids',
);
- if ( ! is_user_logged_in () ) {
+ if ( ! is_user_logged_in() ) {
$query['has_password'] = false;
}
if ( isset( $args['meta_key'] ) ) {
$show = false;
- if ( WPCOM_JSON_API_Metadata::is_public( $args['meta_key'] ) )
+ if ( WPCOM_JSON_API_Metadata::is_public( $args['meta_key'] ) ) {
$show = true;
- if ( current_user_can( 'edit_post_meta', $query['post_type'], $args['meta_key'] ) )
+ }
+ if ( current_user_can( 'edit_post_meta', $query['post_type'], $args['meta_key'] ) ) {
$show = true;
+ }
- if ( is_protected_meta( $args['meta_key'], 'post' ) && ! $show )
+ if ( is_protected_meta( $args['meta_key'], 'post' ) && ! $show ) {
return new WP_Error( 'invalid_meta_key', 'Invalid meta key', 404 );
+ }
$meta = array( 'key' => $args['meta_key'] );
- if ( isset( $args['meta_value'] ) )
+ if ( isset( $args['meta_value'] ) ) {
$meta['value'] = $args['meta_value'];
+ }
$query['meta_query'] = array( $meta );
}
+ $sticky = get_option( 'sticky_posts' );
if (
isset( $args['sticky'] )
&&
- ( $sticky = get_option( 'sticky_posts' ) )
+ $sticky
&&
is_array( $sticky )
) {
if ( $args['sticky'] ) {
$query['post__in'] = $sticky;
} else {
- $query['post__not_in'] = $sticky;
+ $query['post__not_in'] = $sticky;
$query['ignore_sticky_posts'] = 1;
}
} else {
- $query['post__not_in'] = $sticky;
+ $query['post__not_in'] = $sticky;
$query['ignore_sticky_posts'] = 1;
}
@@ -203,13 +242,13 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
if ( isset( $args['exclude_tree'] ) && is_post_type_hierarchical( $args['type'] ) ) {
- // get_page_children is a misnomer; it supports all hierarchical post types
- $page_args = array(
- 'child_of' => $args['exclude_tree'],
- 'post_type' => $args['type'],
- // since we're looking for things to exclude, be aggressive
- 'post_status' => 'publish,draft,pending,private,future,trash',
- );
+ // get_page_children is a misnomer; it supports all hierarchical post types.
+ $page_args = array(
+ 'child_of' => $args['exclude_tree'],
+ 'post_type' => $args['type'],
+ // since we're looking for things to exclude, be aggressive.
+ 'post_status' => 'publish,draft,pending,private,future,trash',
+ );
$post_descendants = get_pages( $page_args );
$exclude_tree = array( $args['exclude_tree'] );
@@ -222,7 +261,7 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
if ( isset( $args['category'] ) ) {
$category = get_term_by( 'slug', $args['category'], 'category' );
- if ( $category === false) {
+ if ( false === $category ) {
$query['category_name'] = $args['category'];
} else {
$query['cat'] = $category->term_id;
@@ -244,8 +283,8 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
$query['tax_query'][] = array(
'taxonomy' => $taxonomy,
- 'field' => 'slug',
- 'terms' => explode( ',', $slug )
+ 'field' => 'slug',
+ 'terms' => explode( ',', $slug ),
);
}
}
@@ -281,7 +320,7 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
* use it there.
*/
$column_whitelist = array( 'post_modified_gmt' );
- if ( isset( $args['column'] ) && in_array( $args['column'], $column_whitelist ) ) {
+ if ( isset( $args['column'] ) && in_array( $args['column'], $column_whitelist, true ) ) {
$query['column'] = $args['column'];
}
@@ -291,31 +330,31 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
$this->date_range = array();
}
- $return = array();
+ $return = array();
$excluded_count = 0;
foreach ( array_keys( $this->response_format ) as $key ) {
switch ( $key ) {
- case 'found' :
- $return[$key] = (int) $wp_query->found_posts;
- break;
- case 'posts' :
- $posts = array();
- foreach ( $wp_query->posts as $post_ID ) {
- $the_post = $this->get_post_by( 'ID', $post_ID, $args['context'] );
- if ( $the_post && ! is_wp_error( $the_post ) ) {
- $posts[] = $the_post;
- } else {
- $excluded_count++;
+ case 'found':
+ $return[ $key ] = (int) $wp_query->found_posts;
+ break;
+ case 'posts':
+ $posts = array();
+ foreach ( $wp_query->posts as $post_ID ) {
+ $the_post = $this->get_post_by( 'ID', $post_ID, $args['context'] );
+ if ( $the_post && ! is_wp_error( $the_post ) ) {
+ $posts[] = $the_post;
+ } else {
+ $excluded_count++;
+ }
}
- }
- if ( $posts ) {
- /** This action is documented in json-endpoints/class.wpcom-json-api-site-settings-endpoint.php */
- do_action( 'wpcom_json_api_objects', 'posts', count( $posts ) );
- }
+ if ( $posts ) {
+ /** This action is documented in json-endpoints/class.wpcom-json-api-site-settings-endpoint.php */
+ do_action( 'wpcom_json_api_objects', 'posts', count( $posts ) );
+ }
- $return[$key] = $posts;
- break;
+ $return[ $key ] = $posts;
+ break;
}
}
@@ -324,30 +363,35 @@ class WPCOM_JSON_API_List_Posts_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
return $return;
}
- function handle_date_range( $where ) {
+ /**
+ * Handle the date range.
+ *
+ * @param string $where - SQL where clause.
+ */
+ public function handle_date_range( $where ) {
global $wpdb;
switch ( count( $this->date_range ) ) {
- case 2 :
- $where .= $wpdb->prepare(
- " AND `$wpdb->posts`.post_date BETWEEN CAST( %s AS DATETIME ) AND CAST( %s AS DATETIME ) ",
- $this->date_range['after'],
- $this->date_range['before']
- );
- break;
- case 1 :
- if ( isset( $this->date_range['before'] ) ) {
+ case 2:
$where .= $wpdb->prepare(
- " AND `$wpdb->posts`.post_date <= CAST( %s AS DATETIME ) ",
+ " AND `$wpdb->posts`.post_date BETWEEN CAST( %s AS DATETIME ) AND CAST( %s AS DATETIME ) ",
+ $this->date_range['after'],
$this->date_range['before']
);
- } else {
- $where .= $wpdb->prepare(
- " AND `$wpdb->posts`.post_date >= CAST( %s AS DATETIME ) ",
- $this->date_range['after']
- );
- }
- break;
+ break;
+ case 1:
+ if ( isset( $this->date_range['before'] ) ) {
+ $where .= $wpdb->prepare(
+ " AND `$wpdb->posts`.post_date <= CAST( %s AS DATETIME ) ",
+ $this->date_range['before']
+ );
+ } else {
+ $where .= $wpdb->prepare(
+ " AND `$wpdb->posts`.post_date >= CAST( %s AS DATETIME ) ",
+ $this->date_range['after']
+ );
+ }
+ break;
}
return $where;
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-1-endpoint.php
index 04d7ec02..366afcf1 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-1-endpoint.php
@@ -1,23 +1,26 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * List posts v1_1 endpoint.
+ */
new WPCOM_JSON_API_List_Posts_v1_1_Endpoint(
array(
- 'description' => 'Get a list of matching posts.',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
+ 'description' => 'Get a list of matching posts.',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
- 'group' => 'posts',
- 'stat' => 'posts',
+ 'group' => 'posts',
+ 'stat' => 'posts',
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/',
- 'path_labels' => array(
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/',
+ 'path_labels' => array(
'$site' => '(int|string) Site ID or domain',
),
'allow_fallback_to_jetpack_blog_token' => true,
- 'query_parameters' => array(
+ 'query_parameters' => array(
'number' => '(int=20) The number of posts to return. Limit: 100.',
'offset' => '(int=0) 0-indexed offset.',
'page' => '(int) Return the Nth 1-indexed page of posts. Takes precedence over the <code>offset</code> parameter.',
@@ -56,24 +59,62 @@ new WPCOM_JSON_API_List_Posts_v1_1_Endpoint(
'meta_value' => '(string) Metadata value that the post should contain. Will only be applied if a `meta_key` is also given',
),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/?number=2',
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/?number=2',
)
);
-class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_Endpoint {
- public $date_range = array();
- public $modified_range = array();
- public $page_handle = array();
+/**
+ * List Posts v1_1 Endpoint class.
+ *
+ * /sites/%s/posts/ -> $blog_id
+ */
+class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_Endpoint { // phpcs:ignore
+ /**
+ * Date range
+ *
+ * @var array
+ */
+ public $date_range = array();
+
+ /**
+ * Modified range
+ *
+ * @var array
+ */
+ public $modified_range = array();
+
+ /**
+ * Page handle
+ *
+ * @var array
+ */
+ public $page_handle = array();
+
+ /**
+ * Performed query
+ *
+ * @var array
+ */
public $performed_query = null;
+ /**
+ * Response format.
+ *
+ * @var array
+ */
public $response_format = array(
'found' => '(int) The total number of posts found that match the request (ignoring limits, offsets, and pagination).',
'posts' => '(array:post) An array of post objects.',
'meta' => '(object) Meta data',
);
- // /sites/%s/posts/ -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -90,8 +131,8 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
}
if ( isset( $args['type'] ) &&
- ! in_array( $args['type'], array( 'post', 'revision', 'page', 'any' ) ) &&
- defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ ! in_array( $args['type'], array( 'post', 'revision', 'page', 'any' ), true ) &&
+ defined( 'IS_WPCOM' ) && IS_WPCOM ) {
$this->load_theme_functions();
}
@@ -99,8 +140,8 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
return new WP_Error( 'unknown_post_type', 'Unknown post type', 404 );
}
- // Normalize post_type
- if ( isset( $args['type'] ) && 'any' == $args['type'] ) {
+ // Normalize post_type.
+ if ( isset( $args['type'] ) && 'any' === $args['type'] ) {
if ( version_compare( $this->api->version, '1.1', '<' ) ) {
$args['type'] = array( 'post', 'page' );
} else { // 1.1+
@@ -108,7 +149,7 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
}
}
- // determine statuses
+ // determine statuses.
$status = ( ! empty( $args['status'] ) ) ? explode( ',', $args['status'] ) : array( 'publish' );
if ( is_user_logged_in() ) {
$statuses_whitelist = array(
@@ -122,25 +163,25 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
);
$status = array_intersect( $status, $statuses_whitelist );
} else {
- // logged-out users can see only published posts
+ // logged-out users can see only published posts.
$statuses_whitelist = array( 'publish', 'any' );
$status = array_intersect( $status, $statuses_whitelist );
if ( empty( $status ) ) {
- // requested only protected statuses? nothing for you here
+ // requested only protected statuses? nothing for you here.
return array(
'found' => 0,
'posts' => array(),
);
}
- // clear it (AKA published only) because "any" includes protected
+ // clear it (AKA published only) because "any" includes protected.
$status = array();
}
- // let's be explicit about defaulting to 'post'
+ // let's be explicit about defaulting to 'post'.
$args['type'] = isset( $args['type'] ) ? $args['type'] : 'post';
- // make sure the user can read or edit the requested post type(s)
+ // make sure the user can read or edit the requested post type(s).
if ( is_array( $args['type'] ) ) {
$allowed_types = array();
foreach ( $args['type'] as $post_type ) {
@@ -202,19 +243,19 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
$query['meta_query'] = array( $meta );
}
- if ( $args['sticky'] === 'include' ) {
+ if ( 'include' === $args['sticky'] ) {
$query['ignore_sticky_posts'] = 1;
- } elseif ( $args['sticky'] === 'exclude' ) {
+ } elseif ( 'exclude' === $args['sticky'] ) {
$sticky = get_option( 'sticky_posts' );
if ( is_array( $sticky ) ) {
$query['post__not_in'] = $sticky;
}
- } elseif ( $args['sticky'] === 'require' ) {
+ } elseif ( 'require' === $args['sticky'] ) {
$sticky = get_option( 'sticky_posts' );
if ( is_array( $sticky ) && ! empty( $sticky ) ) {
$query['post__in'] = $sticky;
} else {
- // no sticky posts exist
+ // no sticky posts exist.
return array(
'found' => 0,
'posts' => array(),
@@ -228,11 +269,11 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
}
if ( isset( $args['exclude_tree'] ) && is_post_type_hierarchical( $args['type'] ) ) {
- // get_page_children is a misnomer; it supports all hierarchical post types
+ // get_page_children is a misnomer; it supports all hierarchical post types.
$page_args = array(
'child_of' => $args['exclude_tree'],
'post_type' => $args['type'],
- // since we're looking for things to exclude, be aggressive
+ // since we're looking for things to exclude, be aggressive.
'post_status' => 'publish,draft,pending,private,future,trash',
);
$post_descendants = get_pages( $page_args );
@@ -247,7 +288,7 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
if ( isset( $args['category'] ) ) {
$category = get_term_by( 'slug', $args['category'], 'category' );
- if ( $category === false ) {
+ if ( false === $category ) {
$query['category_name'] = $args['category'];
} else {
$query['cat'] = $category->term_id;
@@ -281,7 +322,7 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
}
$query['paged'] = $args['page'];
- if ( $query['paged'] !== 1 ) {
+ if ( 1 !== $query['paged'] ) {
$is_eligible_for_page_handle = false;
}
} else {
@@ -290,7 +331,7 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
}
$query['offset'] = $args['offset'];
- if ( $query['offset'] !== 0 ) {
+ if ( 0 !== $query['offset'] ) {
$is_eligible_for_page_handle = false;
}
}
@@ -320,7 +361,7 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
if ( isset( $args['page_handle'] ) ) {
$page_handle = wp_parse_args( $args['page_handle'] );
if ( isset( $page_handle['value'] ) && isset( $page_handle['id'] ) ) {
- // we have a valid looking page handle
+ // we have a valid looking page handle.
$this->page_handle = $page_handle;
add_filter( 'posts_where', array( $this, 'handle_where_for_page_handle' ) );
}
@@ -332,7 +373,7 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
* use it there.
*/
$column_whitelist = array( 'post_modified_gmt' );
- if ( isset( $args['column'] ) && in_array( $args['column'], $column_whitelist ) ) {
+ if ( isset( $args['column'] ) && in_array( $args['column'], $column_whitelist, true ) ) {
$query['column'] = $args['column'];
}
@@ -422,26 +463,39 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
return $return;
}
- function build_page_handle( $post, $query ) {
+ /**
+ * Build the page handle.
+ *
+ * @param array $post - the post.
+ * @param array $query - the query.
+ */
+ public function build_page_handle( $post, $query ) {
$column = $query['orderby'];
if ( ! $column ) {
$column = 'date';
}
return build_query(
array(
- 'value' => urlencode( $post[ $column ] ),
+ 'value' => rawurlencode( $post[ $column ] ),
'id' => $post['ID'],
)
);
}
- function _build_date_range_query( $column, $range, $where ) {
+ /**
+ * Build the date range query.
+ *
+ * @param string $column - the database column.
+ * @param array $range - the date range.
+ * @param string $where - sql where clause.
+ */
+ public function build_date_range_query( $column, $range, $where ) {
global $wpdb;
switch ( count( $range ) ) {
case 2:
$where .= $wpdb->prepare(
- " AND `$wpdb->posts`.$column >= CAST( %s AS DATETIME ) AND `$wpdb->posts`.$column < CAST( %s AS DATETIME ) ",
+ " AND `$wpdb->posts`.$column >= CAST( %s AS DATETIME ) AND `$wpdb->posts`.$column < CAST( %s AS DATETIME ) ", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
$range['after'],
$range['before']
);
@@ -449,12 +503,12 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
case 1:
if ( isset( $range['before'] ) ) {
$where .= $wpdb->prepare(
- " AND `$wpdb->posts`.$column < CAST( %s AS DATETIME ) ",
+ " AND `$wpdb->posts`.$column < CAST( %s AS DATETIME ) ", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
$range['before']
);
} else {
$where .= $wpdb->prepare(
- " AND `$wpdb->posts`.$column > CAST( %s AS DATETIME ) ",
+ " AND `$wpdb->posts`.$column > CAST( %s AS DATETIME ) ", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
$range['after']
);
}
@@ -464,15 +518,30 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
return $where;
}
- function handle_date_range( $where ) {
- return $this->_build_date_range_query( 'post_date_gmt', $this->date_range, $where );
+ /**
+ * Handle date range.
+ *
+ * @param string $where - sql where clause.
+ */
+ public function handle_date_range( $where ) {
+ return $this->build_date_range_query( 'post_date_gmt', $this->date_range, $where );
}
- function handle_modified_range( $where ) {
- return $this->_build_date_range_query( 'post_modified_gmt', $this->modified_range, $where );
+ /**
+ * Handle modified date range.
+ *
+ * @param string $where - sql where clause.
+ */
+ public function handle_modified_range( $where ) {
+ return $this->build_date_range_query( 'post_modified_gmt', $this->modified_range, $where );
}
- function handle_where_for_page_handle( $where ) {
+ /**
+ * Handle where clause for page handle.
+ *
+ * @param string $where - sql where clause.
+ */
+ public function handle_where_for_page_handle( $where ) {
global $wpdb;
$column = $this->performed_query['orderby'];
@@ -484,11 +553,11 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
$order = 'DESC';
}
- if ( ! in_array( $column, array( 'ID', 'title', 'date', 'modified', 'comment_count' ) ) ) {
+ if ( ! in_array( $column, array( 'ID', 'title', 'date', 'modified', 'comment_count' ), true ) ) {
return $where;
}
- if ( ! in_array( $order, array( 'DESC', 'ASC' ) ) ) {
+ if ( ! in_array( $order, array( 'DESC', 'ASC' ), true ) ) {
return $where;
}
@@ -526,19 +595,24 @@ class WPCOM_JSON_API_List_Posts_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_E
// Add a clause that limits the results to items beyond the passed item, or equivalent to the passed item
// but with an ID beyond the passed item. When we're ordering by the ID already, we only ask for items
// beyond the passed item.
- $where .= $wpdb->prepare( " AND ( ( `$wpdb->posts`.`$db_column` $db_order $db_value ) ", $this->page_handle['value'] );
- if ( $db_column !== 'ID' ) {
- $where .= $wpdb->prepare( "OR ( `$wpdb->posts`.`$db_column` = $db_value AND `$wpdb->posts`.ID $db_order %d )", $this->page_handle['value'], $this->page_handle['id'] );
+ $where .= $wpdb->prepare( " AND ( ( `$wpdb->posts`.`$db_column` $db_order $db_value ) ", $this->page_handle['value'] ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare
+ if ( 'ID' !== $db_column ) {
+ $where .= $wpdb->prepare( "OR ( `$wpdb->posts`.`$db_column` = $db_value AND `$wpdb->posts`.ID $db_order %d )", $this->page_handle['value'], $this->page_handle['id'] ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders.ReplacementsWrongNumber
}
$where .= ' )';
return $where;
}
- function handle_orderby_for_page_handle( $orderby ) {
+ /**
+ * Handle how the page handle is ordered.
+ *
+ * @param string $orderby - what we're ordering by.
+ */
+ public function handle_orderby_for_page_handle( $orderby ) {
global $wpdb;
- if ( $this->performed_query['orderby'] === 'ID' ) {
- // bail if we're already ordering by ID
+ if ( 'ID' === $this->performed_query['orderby'] ) {
+ // bail if we're already ordering by ID.
return $orderby;
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-2-endpoint.php
index e4f7bd55..b8fe3cad 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-posts-v1-2-endpoint.php
@@ -1,23 +1,26 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * List posts v1_2 endpoint.
+ */
new WPCOM_JSON_API_List_Posts_v1_2_Endpoint(
array(
- 'description' => 'Get a list of matching posts.',
- 'min_version' => '1.2',
- 'max_version' => '1.2',
+ 'description' => 'Get a list of matching posts.',
+ 'min_version' => '1.2',
+ 'max_version' => '1.2',
- 'group' => 'posts',
- 'stat' => 'posts',
+ 'group' => 'posts',
+ 'stat' => 'posts',
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/',
- 'path_labels' => array(
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/',
+ 'path_labels' => array(
'$site' => '(int|string) Site ID or domain',
),
'allow_fallback_to_jetpack_blog_token' => true,
- 'query_parameters' => array(
+ 'query_parameters' => array(
'number' => '(int=20) The number of posts to return. Limit: 100.',
'offset' => '(int=0) 0-indexed offset.',
'page' => '(int) Return the Nth 1-indexed page of posts. Takes precedence over the <code>offset</code> parameter.',
@@ -57,13 +60,24 @@ new WPCOM_JSON_API_List_Posts_v1_2_Endpoint(
'meta_value' => '(string) Metadata value that the post should contain. Will only be applied if a `meta_key` is also given',
),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/posts/?number=2',
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/posts/?number=2',
)
);
-class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_v1_1_Endpoint {
- // /sites/%s/posts/ -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+/**
+ * List posts v1_2 endpoint.
+ *
+ * /sites/%s/posts/ -> $blog_id
+ */
+class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_v1_1_Endpoint { // phpcs:ignore
+
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -80,8 +94,8 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
}
if ( isset( $args['type'] ) ) {
- // load all types on WPCOM, unless only built-in ones are requested
- if ( defined( 'IS_WPCOM' ) && IS_WPCOM && ! in_array( $args['type'], array( 'post', 'revision', 'page' ) ) ) {
+ // load all types on WPCOM, unless only built-in ones are requested.
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM && ! in_array( $args['type'], array( 'post', 'revision', 'page' ), true ) ) {
$this->load_theme_functions();
}
@@ -89,11 +103,11 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
return new WP_Error( 'unknown_post_type', 'Unknown post type', 404 );
}
- // Normalize post_type
- if ( 'any' == $args['type'] ) {
+ // Normalize post_type.
+ if ( 'any' === $args['type'] ) {
$whitelisted_post_types = $site->get_whitelisted_post_types();
- if ( isset( $args['exclude_private_types'] ) && $args['exclude_private_types'] == true ) {
+ if ( ! empty( $args['exclude_private_types'] ) ) {
$public_post_types = get_post_types( array( 'public' => true ) );
$args['type'] = array_intersect( $public_post_types, $whitelisted_post_types );
} else {
@@ -101,11 +115,11 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
}
}
} else {
- // let's be explicit about defaulting to 'post'
+ // let's be explicit about defaulting to 'post'.
$args['type'] = 'post';
}
- // make sure the user can read or edit the requested post type(s)
+ // make sure the user can read or edit the requested post type(s).
if ( is_array( $args['type'] ) ) {
$allowed_types = array();
foreach ( $args['type'] as $post_type ) {
@@ -130,7 +144,7 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
}
}
- // determine statuses
+ // determine statuses.
$status = ( ! empty( $args['status'] ) ) ? explode( ',', $args['status'] ) : array( 'publish' );
if ( is_user_logged_in() ) {
$statuses_whitelist = array(
@@ -144,18 +158,18 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
);
$status = array_intersect( $status, $statuses_whitelist );
} else {
- // logged-out users can see only published posts
+ // logged-out users can see only published posts.
$statuses_whitelist = array( 'publish', 'any' );
$status = array_intersect( $status, $statuses_whitelist );
if ( empty( $status ) ) {
- // requested only protected statuses? nothing for you here
+ // requested only protected statuses? nothing for you here.
return array(
'found' => 0,
'posts' => array(),
);
}
- // clear it (AKA published only) because "any" includes protected
+ // clear it (AKA published only) because "any" includes protected.
$status = array();
}
@@ -196,19 +210,19 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
$query['meta_query'] = array( $meta );
}
- if ( $args['sticky'] === 'include' ) {
+ if ( 'include' === $args['sticky'] ) {
$query['ignore_sticky_posts'] = 1;
- } elseif ( $args['sticky'] === 'exclude' ) {
+ } elseif ( 'exclude' === $args['sticky'] ) {
$sticky = get_option( 'sticky_posts' );
if ( is_array( $sticky ) ) {
$query['post__not_in'] = $sticky;
}
- } elseif ( $args['sticky'] === 'require' ) {
+ } elseif ( 'require' === $args['sticky'] ) {
$sticky = get_option( 'sticky_posts' );
if ( is_array( $sticky ) && ! empty( $sticky ) ) {
$query['post__in'] = $sticky;
} else {
- // no sticky posts exist
+ // no sticky posts exist.
return array(
'found' => 0,
'posts' => array(),
@@ -222,11 +236,11 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
}
if ( isset( $args['exclude_tree'] ) && is_post_type_hierarchical( $args['type'] ) ) {
- // get_page_children is a misnomer; it supports all hierarchical post types
+ // get_page_children is a misnomer; it supports all hierarchical post types.
$page_args = array(
'child_of' => $args['exclude_tree'],
'post_type' => $args['type'],
- // since we're looking for things to exclude, be aggressive
+ // since we're looking for things to exclude, be aggressive.
'post_status' => 'publish,draft,pending,private,future,trash',
);
$post_descendants = get_pages( $page_args );
@@ -241,7 +255,7 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
if ( isset( $args['category'] ) ) {
$category = get_term_by( 'slug', $args['category'], 'category' );
- if ( $category === false ) {
+ if ( false === $category ) {
$query['category_name'] = $args['category'];
} else {
$query['cat'] = $category->term_id;
@@ -275,7 +289,7 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
}
$query['paged'] = $args['page'];
- if ( $query['paged'] !== 1 ) {
+ if ( 1 !== $query['paged'] ) {
$is_eligible_for_page_handle = false;
}
} else {
@@ -284,7 +298,7 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
}
$query['offset'] = $args['offset'];
- if ( $query['offset'] !== 0 ) {
+ if ( 0 !== $query['offset'] ) {
$is_eligible_for_page_handle = false;
}
}
@@ -314,7 +328,7 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
if ( isset( $args['page_handle'] ) ) {
$page_handle = wp_parse_args( $args['page_handle'] );
if ( isset( $page_handle['value'] ) && isset( $page_handle['id'] ) ) {
- // we have a valid looking page handle
+ // we have a valid looking page handle.
$this->page_handle = $page_handle;
add_filter( 'posts_where', array( $this, 'handle_where_for_page_handle' ) );
}
@@ -326,7 +340,7 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
* use it there.
*/
$column_whitelist = array( 'post_modified_gmt' );
- if ( isset( $args['column'] ) && in_array( $args['column'], $column_whitelist ) ) {
+ if ( isset( $args['column'] ) && in_array( $args['column'], $column_whitelist, true ) ) {
$query['column'] = $args['column'];
}
@@ -417,26 +431,39 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
return $return;
}
- function build_page_handle( $post, $query ) {
+ /**
+ * Build page handle.
+ *
+ * @param array $post - the post.
+ * @param array $query - the query.
+ */
+ public function build_page_handle( $post, $query ) {
$column = $query['orderby'];
if ( ! $column ) {
$column = 'date';
}
return build_query(
array(
- 'value' => urlencode( $post[ $column ] ),
+ 'value' => rawurlencode( $post[ $column ] ),
'id' => $post['ID'],
)
);
}
- function _build_date_range_query( $column, $range, $where ) {
+ /**
+ * Build the date range query.
+ *
+ * @param string $column - the database column.
+ * @param array $range - the date range.
+ * @param string $where - sql where clause.
+ */
+ public function build_date_range_query( $column, $range, $where ) {
global $wpdb;
switch ( count( $range ) ) {
case 2:
$where .= $wpdb->prepare(
- " AND `$wpdb->posts`.$column >= CAST( %s AS DATETIME ) AND `$wpdb->posts`.$column < CAST( %s AS DATETIME ) ",
+ " AND `$wpdb->posts`.$column >= CAST( %s AS DATETIME ) AND `$wpdb->posts`.$column < CAST( %s AS DATETIME ) ", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
$range['after'],
$range['before']
);
@@ -444,12 +471,12 @@ class WPCOM_JSON_API_List_Posts_v1_2_Endpoint extends WPCOM_JSON_API_List_Posts_
case 1:
if ( isset( $range['before'] ) ) {
$where .= $wpdb->prepare(
- " AND `$wpdb->posts`.$column < CAST( %s AS DATETIME ) ",
+ " AND `$wpdb->posts`.$column < CAST( %s AS DATETIME ) ", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
$range['before']
);
} else {
$where .= $wpdb->prepare(
- " AND `$wpdb->posts`.$column > CAST( %s AS DATETIME ) ",
+ " AND `$wpdb->posts`.$column > CAST( %s AS DATETIME ) ", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
$range['after']
);
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-roles-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-roles-endpoint.php
index f40429b9..57a1f9a7 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-roles-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-roles-endpoint.php
@@ -1,79 +1,101 @@
-<?php
-
-new WPCOM_JSON_API_List_Roles_Endpoint( array(
- 'description' => 'List the user roles of a site.',
- 'group' => '__do_not_document',
- 'stat' => 'roles:list',
- 'max_version' => '1.1',
- 'method' => 'GET',
- 'path' => '/sites/%s/roles',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'query_parameters' => array(
- ),
-
- 'response_format' => array(
- 'roles' => '(array:role) Array of role objects.',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/roles',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * List roles endpoint.
+ */
+new WPCOM_JSON_API_List_Roles_Endpoint(
+ array(
+ 'description' => 'List the user roles of a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'roles:list',
+ 'max_version' => '1.1',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/roles',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+
+ 'query_parameters' => array(),
+
+ 'response_format' => array(
+ 'roles' => '(array:role) Array of role objects.',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/roles',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
)
-) );
-
-new WPCOM_JSON_API_List_Roles_Endpoint( array(
- 'description' => 'List the user roles of a site.',
- 'group' => '__do_not_document',
- 'stat' => 'roles:list',
- 'min_version' => '1.2',
- 'force' => 'wpcom',
- 'method' => 'GET',
- 'path' => '/sites/%s/roles',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'query_parameters' => array(),
-
- 'response_format' => array(
- 'roles' => '(array:role) Array of role objects.',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/roles',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN',
+);
+
+new WPCOM_JSON_API_List_Roles_Endpoint(
+ array(
+ 'description' => 'List the user roles of a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'roles:list',
+ 'min_version' => '1.2',
+ 'force' => 'wpcom',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/roles',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- ),
-) );
+ 'query_parameters' => array(),
+
+ 'response_format' => array(
+ 'roles' => '(array:role) Array of role objects.',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/roles',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ )
+);
+
+/**
+ * List Roles endpoint class.
+ *
+ * /sites/%s/roles/ -> $blog_id
+ */
class WPCOM_JSON_API_List_Roles_Endpoint extends WPCOM_JSON_API_Endpoint {
- var $response_format = array(
- 'roles' => '(array:role) Array of role objects',
+ /**
+ * Response format.
+ *
+ * @var array
+ */
+ public $response_format = array(
+ 'roles' => '(array:role) Array of role objects',
);
- static function role_sort( $a, $b ) {
+ /**
+ * Sort so roles with the most number of capabilities comes first, then the next role, and so on.
+ *
+ * @param object $a - the first object we're comparing.
+ * @param object $b - the second object we're comparing.
+ */
+ public static function role_sort( $a, $b ) {
$core_role_names = array( 'administrator', 'editor', 'author', 'contributor', 'subscriber' );
- $a_is_core_role = in_array( $a->name, $core_role_names );
- $b_is_core_role = in_array( $b->name, $core_role_names );
+ $a_is_core_role = in_array( $a->name, $core_role_names, true );
+ $b_is_core_role = in_array( $b->name, $core_role_names, true );
- // if $a is a core_role and $b is not, $a always comes first
+ // if $a is a core_role and $b is not, $a always comes first.
if ( $a_is_core_role && ! $b_is_core_role ) {
return -1;
}
- // if $b is a core_role and $a is not, $b always comes first
+ // if $b is a core_role and $a is not, $b always comes first.
if ( $b_is_core_role && ! $a_is_core_role ) {
return 1;
}
- // otherwise the one with the > number of capabilities comes first
+ // otherwise the one with the > number of capabilities comes first.
$a_cap_count = count( $a->capabilities );
$b_cap_count = count( $b->capabilities );
@@ -84,8 +106,13 @@ class WPCOM_JSON_API_List_Roles_Endpoint extends WPCOM_JSON_API_Endpoint {
return ( $a_cap_count > $b_cap_count ) ? -1 : 1;
}
- // /sites/%s/roles/ -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -96,7 +123,7 @@ class WPCOM_JSON_API_List_Roles_Endpoint extends WPCOM_JSON_API_Endpoint {
$sal_site = $this->get_platform()->get_site( $blog_id );
$wp_roles = $sal_site->get_roles();
- // Check if the site is connected and talks to us on a regular basis
+ // Check if the site is connected and talks to us on a regular basis.
$is_connected = $sal_site->is_connected_site();
if ( is_wp_error( $is_connected ) ) {
return $is_connected;
@@ -112,22 +139,21 @@ class WPCOM_JSON_API_List_Roles_Endpoint extends WPCOM_JSON_API_Endpoint {
$role_keys = array_keys( $role_names );
foreach ( (array) $role_keys as $role_key ) {
- $role_details = get_role( $role_key );
- $role_details->display_name = translate_user_role( $role_names[$role_key] );
- $roles[] = $role_details;
+ $role_details = get_role( $role_key );
+ $role_details->display_name = translate_user_role( $role_names[ $role_key ] );
+ $roles[] = $role_details;
}
} else {
// Jetpack Shadow Site side of things.
foreach ( $wp_roles as $role_key => $role ) {
$roles[] = (object) array(
- 'name' => $role_key,
+ 'name' => $role_key,
'display_name' => $role['name'],
- 'capabilities' => (object) $role['capabilities']
+ 'capabilities' => (object) $role['capabilities'],
);
}
}
- // Sort the array so roles with the most number of capabilities comes first, then the next role, and so on
usort( $roles, array( 'self', 'role_sort' ) );
/**
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-shortcodes-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-shortcodes-endpoint.php
index ee21bd33..a0ae43cd 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-shortcodes-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-shortcodes-endpoint.php
@@ -1,48 +1,64 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_List_Shortcodes_Endpoint( array(
- 'description' => "Get a list of shortcodes available on a site. Note: The current user must have publishing access.",
- 'group' => 'sites',
- 'stat' => 'shortcodes',
- 'method' => 'GET',
- 'path' => '/sites/%s/shortcodes',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'response_format' => array(
- 'shortcodes' => '(array) A list of supported shortcodes by their handle.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/shortcodes',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+/**
+ * List shortcodes endpoint.
+ */
+new WPCOM_JSON_API_List_Shortcodes_Endpoint(
+ array(
+ 'description' => 'Get a list of shortcodes available on a site. Note: The current user must have publishing access.',
+ 'group' => 'sites',
+ 'stat' => 'shortcodes',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/shortcodes',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'response_format' => array(
+ 'shortcodes' => '(array) A list of supported shortcodes by their handle.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/shortcodes',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
)
-) );
+);
+/**
+ * List shortcodes endpoint class
+ *
+ * /sites/%s/shortcodes -> $blog_id
+ */
class WPCOM_JSON_API_List_Shortcodes_Endpoint extends WPCOM_JSON_API_Endpoint {
- // /sites/%s/shortcodes -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
- // permissions check
+ // permissions check.
if ( ! current_user_can( 'edit_posts' ) ) {
return new WP_Error( 'unauthorized', 'Your token must have permission to post on this blog.', 403 );
}
- // list em
+ // list em.
global $shortcode_tags;
$output = array( 'shortcodes' => array() );
foreach ( $shortcode_tags as $tag => $class ) {
- if ( '__return_false' == $class )
+ if ( '__return_false' === $class ) {
continue;
+ }
$output['shortcodes'][] = $tag;
}
return $output;
}
-} \ No newline at end of file
+}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-terms-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-terms-endpoint.php
index f05d852e..505960a2 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-terms-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-terms-endpoint.php
@@ -1,42 +1,59 @@
-<?php
-
-new WPCOM_JSON_API_List_Terms_Endpoint( array(
- 'description' => 'Get a list of a site\'s terms by taxonomy.',
- 'group' => 'taxonomy',
- 'stat' => 'terms',
- 'method' => 'GET',
- 'path' => '/sites/%s/taxonomies/%s/terms',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$taxonomy' => '(string) Taxonomy',
- ),
- 'query_parameters' => array(
- 'number' => '(int=100) The number of terms to return. Limit: 1000.',
- 'offset' => '(int=0) 0-indexed offset.',
- 'page' => '(int) Return the Nth 1-indexed page of terms. Takes precedence over the <code>offset</code> parameter.',
- 'search' => '(string) Limit response to include only terms whose names or slugs match the provided search query.',
- 'order' => array(
- 'ASC' => 'Return terms in ascending order.',
- 'DESC' => 'Return terms in descending order.',
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * List terms endpoint.
+ */
+new WPCOM_JSON_API_List_Terms_Endpoint(
+ array(
+ 'description' => 'Get a list of a site\'s terms by taxonomy.',
+ 'group' => 'taxonomy',
+ 'stat' => 'terms',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/taxonomies/%s/terms',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$taxonomy' => '(string) Taxonomy',
),
- 'order_by' => array(
- 'name' => 'Order by the name of each tag.',
- 'count' => 'Order by the number of posts in each tag.',
+ 'query_parameters' => array(
+ 'number' => '(int=100) The number of terms to return. Limit: 1000.',
+ 'offset' => '(int=0) 0-indexed offset.',
+ 'page' => '(int) Return the Nth 1-indexed page of terms. Takes precedence over the <code>offset</code> parameter.',
+ 'search' => '(string) Limit response to include only terms whose names or slugs match the provided search query.',
+ 'order' => array(
+ 'ASC' => 'Return terms in ascending order.',
+ 'DESC' => 'Return terms in descending order.',
+ ),
+ 'order_by' => array(
+ 'name' => 'Order by the name of each tag.',
+ 'count' => 'Order by the number of posts in each tag.',
+ ),
),
- ),
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'response_format' => array(
- 'found' => '(int) The number of terms returned.',
- 'terms' => '(array) Array of tag objects.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/taxonomies/post_tags/terms?number=5'
-) );
+ 'allow_fallback_to_jetpack_blog_token' => true,
+ 'response_format' => array(
+ 'found' => '(int) The number of terms returned.',
+ 'terms' => '(array) Array of tag objects.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/taxonomies/post_tags/terms?number=5',
+ )
+);
+
+/**
+ * List terms endpoint class.
+ *
+ * /sites/%s/taxonomies/%s/terms -> $blog_id, $taxonomy
+ */
class WPCOM_JSON_API_List_Terms_Endpoint extends WPCOM_JSON_API_Endpoint {
- // /sites/%s/taxonomies/%s/terms -> $blog_id, $taxonomy
- function callback( $path = '', $blog_id = 0, $taxonomy = 'category' ) {
+
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ * @param string $taxonomy - the taxonomy.
+ */
+ public function callback( $path = '', $blog_id = 0, $taxonomy = 'category' ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -64,11 +81,16 @@ class WPCOM_JSON_API_List_Terms_Endpoint extends WPCOM_JSON_API_Endpoint {
return array(
'found' => (int) $this->get_found( $taxonomy, $args ),
- 'terms' => (array) $formatted_terms
+ 'terms' => (array) $formatted_terms,
);
}
- function process_args( $args ) {
+ /**
+ * Process args.
+ *
+ * @param array $args - the arguments.
+ */
+ public function process_args( $args ) {
$args['get'] = 'all';
if ( $args['number'] < 1 ) {
@@ -97,12 +119,24 @@ class WPCOM_JSON_API_List_Terms_Endpoint extends WPCOM_JSON_API_Endpoint {
return $args;
}
- function get_found( $taxonomy, $args ) {
+ /**
+ * Get found taxonomy term count.
+ *
+ * @param string $taxonomy - the taxonomy.
+ * @param array $args - the arguments.
+ */
+ public function get_found( $taxonomy, $args ) {
unset( $args['offset'] );
return wp_count_terms( $taxonomy, $args );
}
- function get_formatted_terms( $taxonomy, $args ) {
+ /**
+ * Format the taxonomy terms.
+ *
+ * @param string $taxonomy - the taxonomy.
+ * @param array $args - the arguments.
+ */
+ public function get_formatted_terms( $taxonomy, $args ) {
$terms = get_terms( $taxonomy, $args );
$formatted_terms = array();
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-users-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-users-endpoint.php
index 489223b7..d5cb1a37 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-users-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-users-endpoint.php
@@ -1,46 +1,50 @@
-<?php
-
-new WPCOM_JSON_API_List_Users_Endpoint( array(
- 'description' => 'List the users of a site.',
- 'group' => 'users',
- 'stat' => 'users:list',
-
- 'method' => 'GET',
- 'path' => '/sites/%s/users',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'query_parameters' => array(
- 'number' => '(int=20) Limit the total number of authors returned.',
- 'offset' => '(int=0) The first n authors to be skipped in the returned array.',
- 'order' => array(
- 'DESC' => 'Return authors in descending order.',
- 'ASC' => 'Return authors in ascending order.',
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * List users endpoint.
+ */
+new WPCOM_JSON_API_List_Users_Endpoint(
+ array(
+ 'description' => 'List the users of a site.',
+ 'group' => 'users',
+ 'stat' => 'users:list',
+
+ 'method' => 'GET',
+ 'path' => '/sites/%s/users',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'order_by' => array(
- 'ID' => 'Order by ID (default).',
- 'login' => 'Order by username.',
- 'nicename' => "Order by nicename.",
- 'email' => 'Order by author email address.',
- 'url' => 'Order by author URL.',
- 'registered' => 'Order by registered date.',
- 'display_name' => 'Order by display name.',
- 'post_count' => 'Order by number of posts published.',
+
+ 'query_parameters' => array(
+ 'number' => '(int=20) Limit the total number of authors returned.',
+ 'offset' => '(int=0) The first n authors to be skipped in the returned array.',
+ 'order' => array(
+ 'DESC' => 'Return authors in descending order.',
+ 'ASC' => 'Return authors in ascending order.',
+ ),
+ 'order_by' => array(
+ 'ID' => 'Order by ID (default).',
+ 'login' => 'Order by username.',
+ 'nicename' => 'Order by nicename.',
+ 'email' => 'Order by author email address.',
+ 'url' => 'Order by author URL.',
+ 'registered' => 'Order by registered date.',
+ 'display_name' => 'Order by display name.',
+ 'post_count' => 'Order by number of posts published.',
+ ),
+ 'authors_only' => '(bool) Set to true to fetch authors only',
+ 'type' => "(string) Specify the post type to query authors for. Only works when combined with the `authors_only` flag. Defaults to 'post'. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
+ 'search' => '(string) Find matching users.',
+ 'search_columns' => "(array) Specify which columns to check for matching users. Can be any of 'ID', 'user_login', 'user_email', 'user_url', 'user_nicename', and 'display_name'. Only works when combined with `search` parameter.",
+ 'role' => '(string) Specify a specific user role to fetch.',
+ ),
+
+ 'response_format' => array(
+ 'found' => '(int) The total number of authors found that match the request (ignoring limits and offsets).',
+ 'authors' => '(array:author) Array of author objects.',
),
- 'authors_only' => '(bool) Set to true to fetch authors only',
- 'type' => "(string) Specify the post type to query authors for. Only works when combined with the `authors_only` flag. Defaults to 'post'. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
- 'search' => '(string) Find matching users.',
- 'search_columns' => "(array) Specify which columns to check for matching users. Can be any of 'ID', 'user_login', 'user_email', 'user_url', 'user_nicename', and 'display_name'. Only works when combined with `search` parameter.",
- 'role' => '(string) Specify a specific user role to fetch.'
- ),
-
- 'response_format' => array(
- 'found' => '(int) The total number of authors found that match the request (ignoring limits and offsets).',
- 'authors' => '(array:author) Array of author objects.',
- ),
-
- 'example_response' => '{
+
+ 'example_response' => '{
"found": 1,
"users": [
{
@@ -63,23 +67,39 @@ new WPCOM_JSON_API_List_Users_Endpoint( array(
]
}',
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/users',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/users',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
)
-) );
+);
+/**
+ * List users endpoint class.
+ *
+ * /sites/%s/users/ -> $blog_id
+ */
class WPCOM_JSON_API_List_Users_Endpoint extends WPCOM_JSON_API_Endpoint {
- var $response_format = array(
- 'found' => '(int) The total number of authors found that match the request (ignoring limits and offsets).',
- 'users' => '(array:author) Array of user objects',
+ /**
+ * The response format.
+ *
+ * @var array
+ */
+ public $response_format = array(
+ 'found' => '(int) The total number of authors found that match the request (ignoring limits and offsets).',
+ 'users' => '(array:author) Array of user objects',
);
- // /sites/%s/users/ -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param string $blog_id - the blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -92,7 +112,7 @@ class WPCOM_JSON_API_List_Users_Endpoint extends WPCOM_JSON_API_Endpoint {
if ( $args['number'] < 1 ) {
$args['number'] = 20;
} elseif ( 1000 < $args['number'] ) {
- return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 1000.', 400 );
+ return new WP_Error( 'invalid_number', 'The NUMBER parameter must be less than or equal to 1000.', 400 );
}
if ( $authors_only ) {
@@ -113,15 +133,15 @@ class WPCOM_JSON_API_List_Users_Endpoint extends WPCOM_JSON_API_Endpoint {
}
$query = array(
- 'number' => $args['number'],
- 'offset' => $args['offset'],
- 'order' => $args['order'],
- 'orderby' => $args['order_by'],
- 'fields' => 'ID',
+ 'number' => $args['number'],
+ 'offset' => $args['offset'],
+ 'order' => $args['order'],
+ 'orderby' => $args['order_by'],
+ 'fields' => 'ID',
);
if ( $authors_only ) {
- $query['who'] = 'authors';
+ $query['capability'] = array( 'edit_posts' );
}
if ( ! empty( $args['search'] ) ) {
@@ -129,7 +149,7 @@ class WPCOM_JSON_API_List_Users_Endpoint extends WPCOM_JSON_API_Endpoint {
}
if ( ! empty( $args['search_columns'] ) ) {
- // this `user_search_columns` filter is necessary because WP_User_Query does not allow `display_name` as a search column
+ // this `user_search_columns` filter is necessary because WP_User_Query does not allow `display_name` as a search column.
$this->search_columns = array_intersect( $args['search_columns'], array( 'ID', 'user_login', 'user_email', 'user_url', 'user_nicename', 'display_name' ) );
add_filter( 'user_search_columns', array( $this, 'api_user_override_search_columns' ), 10, 3 );
}
@@ -145,16 +165,16 @@ class WPCOM_JSON_API_List_Users_Endpoint extends WPCOM_JSON_API_Endpoint {
$return = array();
foreach ( array_keys( $this->response_format ) as $key ) {
switch ( $key ) {
- case 'found' :
+ case 'found':
$return[ $key ] = (int) $user_query->get_total();
break;
- case 'users' :
- $users = array();
+ case 'users':
+ $users = array();
$is_multisite = is_multisite();
foreach ( $user_query->get_results() as $u ) {
$the_user = $this->get_author( $u, true );
if ( $the_user && ! is_wp_error( $the_user ) ) {
- $userdata = get_userdata( $u );
+ $userdata = get_userdata( $u );
$the_user->roles = ! is_wp_error( $userdata ) ? array_values( $userdata->roles ) : array();
if ( $is_multisite ) {
$the_user->is_super_admin = user_can( $the_user->ID, 'manage_network' );
@@ -171,7 +191,13 @@ class WPCOM_JSON_API_List_Users_Endpoint extends WPCOM_JSON_API_Endpoint {
return $return;
}
- function api_user_override_search_columns( $search_columns, $search ) {
+ /**
+ * Override search columns.
+ *
+ * @param array $search_columns - the search column we're overriding.
+ * @param array $search - the search query.
+ */
+ public function api_user_override_search_columns( $search_columns, $search ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return $this->search_columns;
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-menus-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-menus-v1-1-endpoint.php
index be02c6c1..5f98f984 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-menus-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-menus-v1-1-endpoint.php
@@ -1,6 +1,19 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+// phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+
+/**
+ * Menus abstract endpoint class.
+ */
abstract class WPCOM_JSON_API_Menus_Abstract_Endpoint extends WPCOM_JSON_API_Endpoint {
+ /**
+ * Switch to blog and validate user.
+ *
+ * @param string $site - the site we want to validate.
+ *
+ * @return int
+ */
protected function switch_to_blog_and_validate_user( $site ) {
$site_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $site ) );
if ( is_wp_error( $site_id ) ) {
@@ -18,13 +31,20 @@ abstract class WPCOM_JSON_API_Menus_Abstract_Endpoint extends WPCOM_JSON_API_End
return $site_id;
}
-
+ /**
+ * Get the locations of the menus.
+ *
+ * @return array[]
+ */
protected function get_locations() {
$locations = array();
- $menus = get_registered_nav_menus();
- if ( !empty( $menus ) ) {
- foreach( $menus as $name => $description ) {
- $locations[] = array( 'name' => $name, 'description' => $description );
+ $menus = get_registered_nav_menus();
+ if ( ! empty( $menus ) ) {
+ foreach ( $menus as $name => $description ) {
+ $locations[] = array(
+ 'name' => $name,
+ 'description' => $description,
+ );
}
}
@@ -32,58 +52,111 @@ abstract class WPCOM_JSON_API_Menus_Abstract_Endpoint extends WPCOM_JSON_API_End
// Primary (first) location should have defaultState -> default,
// all other locations (including widgets) should have defaultState -> empty.
- for ( $i = 0; $i < count( $locations ); $i++ ) {
+ for ( $i = 0, $l = count( $locations ); $i < $l; $i++ ) {
$locations[ $i ]['defaultState'] = $i ? 'empty' : 'default';
}
return $locations;
}
+ /**
+ * Simplify the menus.
+ *
+ * @param WP_Term|WP_Term[] $data - the menus we're simplifying.
+ * @return array|array[] Simplified menu data.
+ */
protected function simplify( $data ) {
$simplifier = new WPCOM_JSON_API_Menus_Simplifier( $data );
return $simplifier->translate();
}
+ /**
+ * Complexify the menus.
+ *
+ * @param array[] $data - the menu data we're complexifying.
+ * @return array[]|WP_Error Complexified menu data, or WP_Error on error.
+ */
protected function complexify( $data ) {
$complexifier = new WPCOM_JSON_API_Menus_Complexify( $data );
return $complexifier->translate();
}
}
+/**
+ * The menu translator class.
+ */
abstract class WPCOM_JSON_API_Menus_Translator {
+ /**
+ * A string identifying this class.
+ *
+ * @var string
+ */
protected $filter = '';
+ /**
+ * List of filter method names.
+ *
+ * Filter methods are passed an array, and return a transformed array or WP_Error.
+ *
+ * @var array
+ */
protected $filters = array();
+ /**
+ * Class constructor.
+ *
+ * @param mixed $menus - a menu or list of menus.
+ */
public function __construct( $menus ) {
$this->is_single_menu = ! is_array( $menus );
- $this->menus = is_array( $menus ) ? $menus : array( $menus );
+ $this->menus = is_array( $menus ) ? $menus : array( $menus );
}
+ /**
+ * Translate the menus.
+ *
+ * @return array|array[]|WP_Error
+ */
public function translate() {
$result = $this->menus;
foreach ( $this->filters as $f ) {
$result = call_user_func( array( $this, $f ), $result );
- if ( is_wp_error($result ) ) {
+ if ( is_wp_error( $result ) ) {
return $result;
}
}
return $this->maybe_extract( $result );
}
+ /**
+ * Return a single menu or an array of menus.
+ *
+ * @param array $menus - the menu list.
+ *
+ * @return array|array[]
+ */
protected function maybe_extract( $menus ) {
return $this->is_single_menu ? $menus[0] : $menus;
}
+ /**
+ * See if we need to whitelist and rename.
+ *
+ * @param object|array $object - the object (or associative array) we're checking.
+ * @param array $dict Associative array holding the key whitelist and renaming/casting data.
+ * Keys are the keys from $object` to preserve. Values are the key to use in the output or an
+ * assoc where 'name' specifies the output key and 'type' specifies the PHP type to cast the value to.
+ *
+ * @return array
+ */
public function whitelist_and_rename_with( $object, $dict ) {
- $keys = array_keys( $dict );
$return = array();
foreach ( (array) $object as $k => $v ) {
- if ( in_array( $k, $keys ) ) {
+ if ( isset( $dict[ $k ] ) ) {
if ( is_array( $dict[ $k ] ) ) {
settype( $v, $dict[ $k ]['type'] );
$return[ $dict[ $k ]['name'] ] = $v;
} else {
- $new_k = $dict[ $k ];
+ $new_k = $dict[ $k ];
$return[ $new_k ] = $v;
}
}
@@ -92,9 +165,23 @@ abstract class WPCOM_JSON_API_Menus_Translator {
}
}
+/**
+ * The simplifier class.
+ */
class WPCOM_JSON_API_Menus_Simplifier extends WPCOM_JSON_API_Menus_Translator {
+
+ /**
+ * The simplify translator class.
+ *
+ * @var string
+ */
protected $filter = 'wpcom_menu_api_translator_simplify';
+ /**
+ * The simplify filters.
+ *
+ * @var array
+ */
protected $filters = array(
'whitelist_and_rename_keys',
'add_locations',
@@ -102,51 +189,128 @@ class WPCOM_JSON_API_Menus_Simplifier extends WPCOM_JSON_API_Menus_Translator {
'add_widget_locations',
);
+ /**
+ * The menu whitelist.
+ *
+ * @var array
+ */
protected $menu_whitelist = array(
- 'term_id' => array( 'name' => 'id', 'type' => 'int' ),
- 'name' => array( 'name' => 'name', 'type' => 'string' ),
- 'description' => array( 'name' => 'description', 'type' => 'string' ),
- 'items' => array( 'name' => 'items', 'type' => 'array' ),
+ 'term_id' => array(
+ 'name' => 'id',
+ 'type' => 'int',
+ ),
+ 'name' => array(
+ 'name' => 'name',
+ 'type' => 'string',
+ ),
+ 'description' => array(
+ 'name' => 'description',
+ 'type' => 'string',
+ ),
+ 'items' => array(
+ 'name' => 'items',
+ 'type' => 'array',
+ ),
);
+ /**
+ * The menu item whitelist.
+ *
+ * @var array
+ */
protected $menu_item_whitelist = array(
- 'db_id' => array( 'name' => 'id', 'type' => 'int' ),
- 'object_id' => array( 'name' => 'content_id', 'type' => 'int' ),
- 'object' => array( 'name' => 'type', 'type' => 'string' ),
- 'type' => array( 'name' => 'type_family', 'type' => 'string' ),
- 'type_label' => array( 'name' => 'type_label', 'type' => 'string' ),
- 'title' => array( 'name' => 'name', 'type' => 'string' ),
- 'menu_order' => array( 'name' => 'order', 'type' => 'int' ),
- 'menu_item_parent' => array( 'name' => 'parent', 'type' => 'int' ),
- 'url' => array( 'name' => 'url', 'type' => 'string' ),
- 'target' => array( 'name' => 'link_target', 'type' => 'string' ),
- 'attr_title' => array( 'name' => 'link_title', 'type' => 'string' ),
- 'description' => array( 'name' => 'description', 'type' => 'string' ),
- 'classes' => array( 'name' => 'classes', 'type' => 'array' ),
- 'xfn' => array( 'name' => 'xfn', 'type' => 'string' ),
+ 'db_id' => array(
+ 'name' => 'id',
+ 'type' => 'int',
+ ),
+ 'object_id' => array(
+ 'name' => 'content_id',
+ 'type' => 'int',
+ ),
+ 'object' => array(
+ 'name' => 'type',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'name' => 'type_family',
+ 'type' => 'string',
+ ),
+ 'type_label' => array(
+ 'name' => 'type_label',
+ 'type' => 'string',
+ ),
+ 'title' => array(
+ 'name' => 'name',
+ 'type' => 'string',
+ ),
+ 'menu_order' => array(
+ 'name' => 'order',
+ 'type' => 'int',
+ ),
+ 'menu_item_parent' => array(
+ 'name' => 'parent',
+ 'type' => 'int',
+ ),
+ 'url' => array(
+ 'name' => 'url',
+ 'type' => 'string',
+ ),
+ 'target' => array(
+ 'name' => 'link_target',
+ 'type' => 'string',
+ ),
+ 'attr_title' => array(
+ 'name' => 'link_title',
+ 'type' => 'string',
+ ),
+ 'description' => array(
+ 'name' => 'description',
+ 'type' => 'string',
+ ),
+ 'classes' => array(
+ 'name' => 'classes',
+ 'type' => 'array',
+ ),
+ 'xfn' => array(
+ 'name' => 'xfn',
+ 'type' => 'string',
+ ),
);
/**************************
* Filters methods
**************************/
+ /**
+ * Treeify the menus.
+ *
+ * @param array $menus - the menu list.
+ *
+ * @return array
+ */
public function treeify( $menus ) {
return array_map( array( $this, 'treeify_menu' ), $menus );
}
- // turn the flat item list into a tree of items
+ /**
+ * Turn the flat item list into a tree of items.
+ *
+ * @param array $menu - the menu.
+ *
+ * @return array
+ */
protected function treeify_menu( $menu ) {
$indexed_nodes = array();
- $tree = array();
+ $tree = array();
- foreach( $menu['items'] as &$item ) {
+ foreach ( $menu['items'] as &$item ) {
$indexed_nodes[ $item['id'] ] = &$item;
}
- foreach( $menu['items'] as &$item ) {
+ foreach ( $menu['items'] as &$item ) {
if ( $item['parent'] && isset( $indexed_nodes[ $item['parent'] ] ) ) {
$parent_node = &$indexed_nodes[ $item['parent'] ];
- if ( !isset( $parent_node['items'] ) ) {
+ if ( ! isset( $parent_node['items'] ) ) {
$parent_node['items'] = array();
}
$parent_node['items'][ $item['order'] ] = &$item;
@@ -162,20 +326,30 @@ class WPCOM_JSON_API_Menus_Simplifier extends WPCOM_JSON_API_Menus_Translator {
return $menu;
}
- // recursively ensure item lists are contiguous
+ /**
+ * Recursively ensure item lists are contiguous.
+ *
+ * @param array $item - the item list.
+ */
protected function remove_item_keys( &$item ) {
if ( ! isset( $item['items'] ) || ! is_array( $item['items'] ) ) {
return;
}
-
- foreach( $item['items'] as &$it ) {
+ foreach ( $item['items'] as &$it ) {
$this->remove_item_keys( $it );
}
$item['items'] = array_values( $item['items'] );
}
+ /**
+ * Whitelist and rename keys.
+ *
+ * @param (object|array)[] $menus - the menu list.
+ *
+ * @return array[]
+ */
protected function whitelist_and_rename_keys( $menus ) {
$transformed_menus = array();
@@ -194,17 +368,31 @@ class WPCOM_JSON_API_Menus_Simplifier extends WPCOM_JSON_API_Menus_Translator {
return $transformed_menus;
}
+ /**
+ * Add menu locations.
+ *
+ * @param array $menus - the menu list.
+ *
+ * @return array[]
+ */
protected function add_locations( $menus ) {
$menus_with_locations = array();
- foreach( $menus as $menu ) {
- $menu['locations'] = array_keys( get_nav_menu_locations(), $menu['id'] );
+ foreach ( $menus as $menu ) {
+ $menu['locations'] = array_keys( get_nav_menu_locations(), $menu['id'] ); // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
$menus_with_locations[] = $menu;
}
return $menus_with_locations;
}
+ /**
+ * Add widget locations.
+ *
+ * @param array $menus - the menu list.
+ *
+ * @return array[]
+ */
protected function add_widget_locations( $menus ) {
$nav_menu_widgets = WPCOM_JSON_API_Menus_Widgets::get();
@@ -217,7 +405,7 @@ class WPCOM_JSON_API_Menus_Simplifier extends WPCOM_JSON_API_Menus_Translator {
foreach ( $nav_menu_widgets as $key => $widget ) {
if ( is_array( $widget ) && isset( $widget['nav_menu'] ) &&
- $widget['nav_menu'] === $menu['id'] ) {
+ $widget['nav_menu'] === $menu['id'] ) {
$widget_locations[] = 'nav_menu_widget-' . $key;
}
}
@@ -228,61 +416,97 @@ class WPCOM_JSON_API_Menus_Simplifier extends WPCOM_JSON_API_Menus_Translator {
}
}
+/**
+ * Complexify menu class.
+ */
class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
+
+ /**
+ * The complexify filter.
+ *
+ * @var string
+ */
protected $filter = 'wpcom_menu_api_translator_complexify';
+ /**
+ * The filters.
+ *
+ * @var array
+ */
protected $filters = array(
'untreeify',
'set_locations',
'whitelist_and_rename_keys',
);
+ /**
+ * The menu whitelist.
+ *
+ * @var array
+ */
protected $menu_whitelist = array(
- 'id' => 'term_id',
- 'name' => 'menu-name',
+ 'id' => 'term_id',
+ 'name' => 'menu-name',
'description' => 'description',
- 'items' => 'items',
+ 'items' => 'items',
);
+ /**
+ * The item whitelist.
+ *
+ * @var array
+ */
protected $menu_item_whitelist = array(
- 'id' => 'menu-item-db-id',
- 'content_id' => 'menu-item-object-id',
- 'type' => 'menu-item-object',
+ 'id' => 'menu-item-db-id',
+ 'content_id' => 'menu-item-object-id',
+ 'type' => 'menu-item-object',
'type_family' => 'menu-item-type',
- 'type_label' => 'menu-item-type-label',
- 'name' => 'menu-item-title',
- 'order' => 'menu-item-position',
- 'parent' => 'menu-item-parent-id',
- 'url' => 'menu-item-url',
+ 'type_label' => 'menu-item-type-label',
+ 'name' => 'menu-item-title',
+ 'order' => 'menu-item-position',
+ 'parent' => 'menu-item-parent-id',
+ 'url' => 'menu-item-url',
'link_target' => 'menu-item-target',
- 'link_title' => 'menu-item-attr-title',
- 'status' => 'menu-item-status',
- 'tmp_id' => 'tmp_id',
- 'tmp_parent' => 'tmp_parent',
+ 'link_title' => 'menu-item-attr-title',
+ 'status' => 'menu-item-status',
+ 'tmp_id' => 'tmp_id',
+ 'tmp_parent' => 'tmp_parent',
'description' => 'menu-item-description',
- 'classes' => 'menu-item-classes',
- 'xfn' => 'menu-item-xfn',
+ 'classes' => 'menu-item-classes',
+ 'xfn' => 'menu-item-xfn',
);
/**************************
* Filters methods
**************************/
+ /**
+ * Untreeify the menu.
+ *
+ * @param array $menus - the list of menus.
+ *
+ * @return array[]
+ */
public function untreeify( $menus ) {
return array_map( array( $this, 'untreeify_menu' ), $menus );
}
- // convert the tree of menu items to a flat list suitable for
- // the nav_menu APIs
+ /**
+ * Convert the tree of menu items to a flat list suitable for the nav_menu APIs.
+ *
+ * @param array $menu - the menu we're untreeifying.
+ *
+ * @return array
+ */
protected function untreeify_menu( $menu ) {
if ( empty( $menu['items'] ) ) {
return $menu;
}
$items_list = array();
- $counter = 1;
+ $counter = 1;
foreach ( $menu['items'] as &$item ) {
- $item[ 'parent' ] = 0;
+ $item['parent'] = 0;
}
$this->untreeify_items( $menu['items'], $items_list, $counter );
$menu['items'] = $items_list;
@@ -294,15 +518,15 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
* Recurse the items tree adding each item to a flat list and restoring
* `order` and `parent` fields.
*
- * @param array $items item tree
- * @param array &$items_list output flat list of items
- * @param int &$counter for creating temporary IDs
+ * @param array $items item tree.
+ * @param array $items_list output flat list of items.
+ * @param int $counter for creating temporary IDs.
*/
protected function untreeify_items( $items, &$items_list, &$counter ) {
- foreach( $items as $index => $item ) {
+ foreach ( $items as $index => $item ) {
$item['order'] = $index + 1;
- if( ! isset( $item['id'] ) ) {
+ if ( ! isset( $item['id'] ) ) {
$this->set_tmp_id( $item, $counter++ );
}
@@ -310,7 +534,7 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
foreach ( $item['items'] as &$i ) {
$i['parent'] = $item['id'];
}
- $this->untreeify_items( $item[ 'items' ], $items_list, $counter );
+ $this->untreeify_items( $item['items'], $items_list, $counter );
unset( $item['items'] );
}
@@ -323,6 +547,9 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
* for all its children, to maintain the hierarchy.
* These fields will be used when creating
* new items with wp_update_nav_menu_item().
+ *
+ * @param array $item - the item tree.
+ * @param string $tmp_id - the tmp ID.
*/
private function set_tmp_id( &$item, $tmp_id ) {
$item['tmp_id'] = $tmp_id;
@@ -334,6 +561,13 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
}
}
+ /**
+ * Whitelist and rename keys.
+ *
+ * @param array $menus - the menus.
+ *
+ * @return array[]
+ */
protected function whitelist_and_rename_keys( $menus ) {
$transformed_menus = array();
foreach ( $menus as $menu ) {
@@ -347,17 +581,36 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
return $transformed_menus;
}
+ /**
+ * Whitelist and rename item keys.
+ *
+ * @param array $item - the item.
+ *
+ * @return array
+ */
protected function whitelist_and_rename_item_keys( $item ) {
$item = $this->implode_array_fields( $item );
$item = $this->whitelist_and_rename_with( $item, $this->menu_item_whitelist );
return $item;
}
- // all item fields are set as strings
+ /**
+ * All item fields are set as strings.
+ *
+ * @param array $menu_item - the menu item.
+ * @return array Item with fields imploded.
+ */
protected function implode_array_fields( $menu_item ) {
return array_map( array( $this, 'implode_array_field' ), $menu_item );
}
+ /**
+ * Implode an array field.
+ *
+ * @param mixed $field - the field we're imploding.
+ *
+ * @return mixed The imploded string if `$field` was an array, otherwise `$field` unchanged.
+ */
protected function implode_array_field( $field ) {
if ( is_array( $field ) ) {
return implode( ' ', $field );
@@ -365,6 +618,13 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
return $field;
}
+ /**
+ * Set the menu locations.
+ *
+ * @param array $menus - the menu list.
+ *
+ * @return array[]|WP_Error
+ */
protected function set_locations( $menus ) {
foreach ( $menus as $menu ) {
if ( isset( $menu['locations'] ) ) {
@@ -377,13 +637,26 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
return array_map( array( $this, 'set_location' ), $menus );
}
+ /**
+ * Set the menu locations.
+ *
+ * @param array $menu - the menu.
+ *
+ * @return array
+ */
protected function set_location( $menu ) {
$this->set_menu_at_locations( $menu['locations'], $menu['id'] );
return $menu;
}
+ /**
+ * Set the menu at locations.
+ *
+ * @param array $locations - the locations.
+ * @param int $menu_id - the menu ID.
+ */
protected function set_menu_at_locations( $locations, $menu_id ) {
- $location_map = get_nav_menu_locations();
+ $location_map = get_nav_menu_locations();
$this->remove_menu_from_all_locations( $menu_id, $location_map );
if ( is_array( $locations ) ) {
@@ -397,14 +670,26 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
$this->set_widget_menu_at_locations( $locations, $menu_id );
}
+ /**
+ * Remove from all locations.
+ *
+ * @param int $menu_id - the menu ID.
+ * @param array $location_map - the location map.
+ */
protected function remove_menu_from_all_locations( $menu_id, &$location_map ) {
- foreach ( get_nav_menu_locations() as $existing_location => $existing_menu_id) {
- if ( $existing_menu_id == $menu_id ) {
- unset( $location_map[$existing_location] );
+ foreach ( get_nav_menu_locations() as $existing_location => $existing_menu_id ) {
+ if ( $existing_menu_id === $menu_id ) {
+ unset( $location_map[ $existing_location ] );
}
}
}
+ /**
+ * Set widget menu at locations.
+ *
+ * @param array $locations - the locations.
+ * @param int $menu_id - the menu ID.
+ */
protected function set_widget_menu_at_locations( $locations, $menu_id ) {
$nav_menu_widgets = get_option( 'widget_nav_menu' );
@@ -414,7 +699,7 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
// Remove menus from all custom menu widget locations
foreach ( $nav_menu_widgets as &$widget ) {
- if ( is_array( $widget ) && isset( $widget['nav_menu'] ) && $widget['nav_menu'] == $menu_id ) {
+ if ( is_array( $widget ) && isset( $widget['nav_menu'] ) && $widget['nav_menu'] === $menu_id ) {
$widget['nav_menu'] = 0;
}
}
@@ -423,7 +708,7 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
foreach ( $locations as $location ) {
if ( preg_match( '/^nav_menu_widget-(\d+)/', $location, $matches ) ) {
if ( isset( $matches[1] ) ) {
- $nav_menu_widgets[$matches[1]]['nav_menu'] = $menu_id;
+ $nav_menu_widgets[ $matches[1] ]['nav_menu'] = $menu_id;
}
}
}
@@ -432,9 +717,16 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
update_option( 'widget_nav_menu', $nav_menu_widgets );
}
+ /**
+ * Check if the locations are valid.
+ *
+ * @param int|array $locations - the location we're checking.
+ *
+ * @return bool|WP_Error
+ */
protected function locations_are_valid( $locations ) {
if ( is_int( $locations ) ) {
- if ( $locations != 0) {
+ if ( $locations !== 0 ) {
return new WP_Error( 'locations-int', 'Locations int must be 0.', 400 );
} else {
return true;
@@ -442,8 +734,11 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
} elseif ( is_array( $locations ) ) {
foreach ( $locations as $location_name ) {
if ( ! $this->location_name_exists( $location_name ) ) {
- return new WP_Error( 'locations-array',
- sprintf( "Location '%s' does not exist.", $location_name ), 404 );
+ return new WP_Error(
+ 'locations-array',
+ sprintf( "Location '%s' does not exist.", $location_name ),
+ 404
+ );
}
}
return true;
@@ -451,6 +746,13 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
return new WP_Error( 'locations', 'Locations must be array or integer.', 400 );
}
+ /**
+ * Check if the location name exists.
+ *
+ * @param string $location_name - the location name.
+ *
+ * @return bool
+ */
protected function location_name_exists( $location_name ) {
$widget_location_names = wp_list_pluck( WPCOM_JSON_API_Menus_Widgets::get(), 'name' );
@@ -462,37 +764,51 @@ class WPCOM_JSON_API_Menus_Complexify extends WPCOM_JSON_API_Menus_Translator {
return array_key_exists( $location_name, get_registered_nav_menus() ) ||
array_key_exists( $location_name, $existing_locations ) ||
- in_array( $location_name, $widget_location_names );
+ in_array( $location_name, $widget_location_names, true );
}
}
-new WPCOM_JSON_API_Menus_New_Menu_Endpoint( array (
- 'method' => 'POST',
- 'description' => 'Create a new navigation menu.',
- 'group' => 'menus',
- 'stat' => 'menus:new-menu',
- 'path' => '/sites/%s/menus/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'request_format' => array(
- 'name' => '(string) Name of menu',
- ),
- 'response_format' => array(
- 'id' => '(int) Newly created menu ID',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus/new',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- 'body' => array(
- 'name' => 'Menu 1'
- )
- ),
-) );
+new WPCOM_JSON_API_Menus_New_Menu_Endpoint(
+ array(
+ 'method' => 'POST',
+ 'description' => 'Create a new navigation menu.',
+ 'group' => 'menus',
+ 'stat' => 'menus:new-menu',
+ 'path' => '/sites/%s/menus/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'request_format' => array(
+ 'name' => '(string) Name of menu',
+ ),
+ 'response_format' => array(
+ 'id' => '(int) Newly created menu ID',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus/new',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ 'body' => array(
+ 'name' => 'Menu 1',
+ ),
+ ),
+ )
+);
+/**
+ * New menu endpoint class.
+ */
class WPCOM_JSON_API_Menus_New_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abstract_Endpoint {
- function callback( $path = '', $site = 0 ) {
+
+ /**
+ * The API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $site - the site ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $site = 0 ) {
$site_id = $this->switch_to_blog_and_validate_user( $this->api->get_blog_id( $site ) );
if ( is_wp_error( $site_id ) ) {
@@ -511,38 +827,53 @@ class WPCOM_JSON_API_Menus_New_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abstra
}
}
-new WPCOM_JSON_API_Menus_Update_Menu_Endpoint( array (
- 'method' => 'POST',
- 'description' => 'Update a navigation menu.',
- 'group' => 'menus',
- 'stat' => 'menus:update-menu',
- 'path' => '/sites/%s/menus/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$menu_id' => '(int) Menu ID',
- ),
- 'request_format' => array(
- 'name' => '(string) Name of menu',
- 'items' => '(array) A list of menu item objects.
+new WPCOM_JSON_API_Menus_Update_Menu_Endpoint(
+ array(
+ 'method' => 'POST',
+ 'description' => 'Update a navigation menu.',
+ 'group' => 'menus',
+ 'stat' => 'menus:update-menu',
+ 'path' => '/sites/%s/menus/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$menu_id' => '(int) Menu ID',
+ ),
+ 'request_format' => array(
+ 'name' => '(string) Name of menu',
+ 'items' => '(array) A list of menu item objects.
<br/><br/>
Item objects contain fields relating to that item, e.g. id, type, content_id,
but they can also contain other items objects - this nesting represents parents
- and child items in the item tree.'
- ),
- 'response_format' => array(
- 'menu' => '(object) Updated menu object',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus/510604099',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- 'body' => array(
- 'name' => 'Test Menu'
- ),
- ),
-) );
+ and child items in the item tree.',
+ ),
+ 'response_format' => array(
+ 'menu' => '(object) Updated menu object',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus/510604099',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ 'body' => array(
+ 'name' => 'Test Menu',
+ ),
+ ),
+ )
+);
+/**
+ * Update menu endpoint class.
+ */
class WPCOM_JSON_API_Menus_Update_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abstract_Endpoint {
- function callback( $path = '', $site = 0, $menu_id = 0 ) {
+
+ /**
+ * The API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $site - the site ID.
+ * @param int $menu_id - the menu ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $site = 0, $menu_id = 0 ) {
$site_id = $this->switch_to_blog_and_validate_user( $this->api->get_blog_id( $site ) );
if ( is_wp_error( $site_id ) ) {
@@ -553,9 +884,9 @@ class WPCOM_JSON_API_Menus_Update_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abs
return new WP_Error( 'menu-id', 'Menu ID must be greater than 0.', 400 );
}
- $data = $this->input( true, false );
+ $data = $this->input( true, false );
$data['id'] = $menu_id;
- $data = $this->complexify( array( $data ) );
+ $data = $this->complexify( array( $data ) );
if ( is_wp_error( $data ) ) {
return $data;
}
@@ -573,13 +904,13 @@ class WPCOM_JSON_API_Menus_Update_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abs
}
$delete_status = $this->delete_items_not_present( $menu_id, $data['items'] );
- if( is_wp_error( $delete_status ) ) {
+ if ( is_wp_error( $delete_status ) ) {
return $delete_status;
}
foreach ( $data['items'] as $item ) {
$item_id = isset( $item['menu-item-db-id'] ) ? $item['menu-item-db-id'] : 0;
- $result = wp_update_nav_menu_item( $menu_id, $item_id, $item );
+ $result = wp_update_nav_menu_item( $menu_id, $item_id, $item );
if ( is_wp_error( $result ) ) {
return $result;
}
@@ -591,7 +922,7 @@ class WPCOM_JSON_API_Menus_Update_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abs
return $items;
}
- $menu = wp_get_nav_menu_object( $menu_id );
+ $menu = wp_get_nav_menu_object( $menu_id );
$menu->items = $items;
return array( 'menu' => $this->simplify( $menu ) );
@@ -604,12 +935,16 @@ class WPCOM_JSON_API_Menus_Update_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abs
* This function will create items that have a 'tmp_id' set, and
* update any items with a 'tmp_parent' to use the
* newly created item as a parent.
+ *
+ * @param array $data - the data we're checking.
+ * @param int $menu_id - the menu ID.
+ * @return array `$data` with new item IDs filled in.
*/
- function create_new_items( $data, $menu_id ) {
+ public function create_new_items( $data, $menu_id ) {
$tmp_to_actual_ids = array();
foreach ( $data['items'] as &$item ) {
if ( isset( $item['tmp_id'] ) ) {
- $actual_id = wp_update_nav_menu_item( $menu_id, 0, $item );
+ $actual_id = wp_update_nav_menu_item( $menu_id, 0, $item );
$tmp_to_actual_ids[ $item['tmp_id'] ] = $actual_id;
unset( $item['tmp_id'] );
$item['menu-item-db-id'] = $actual_id;
@@ -627,24 +962,32 @@ class WPCOM_JSON_API_Menus_Update_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abs
}
/**
- * remove any existing menu items not present in the supplied array.
+ * Remove any existing menu items not present in the supplied array.
* returns wp_error if an item cannot be deleted.
+ *
+ * @param int $menu_id - the menu ID.
+ * @param array $menu_items - the menu items.
+ *
+ * @return bool|WP_Error
*/
- function delete_items_not_present( $menu_id, $menu_items ) {
+ public function delete_items_not_present( $menu_id, $menu_items ) {
$existing_items = wp_get_nav_menu_items( $menu_id, array( 'update_post_term_cache' => false ) );
if ( ! is_array( $existing_items ) ) {
return true;
}
- $existing_ids = wp_list_pluck( $existing_items, 'db_id' );
- $ids_to_keep = wp_list_pluck( $menu_items, 'menu-item-db-id' );
+ $existing_ids = wp_list_pluck( $existing_items, 'db_id' );
+ $ids_to_keep = wp_list_pluck( $menu_items, 'menu-item-db-id' );
$ids_to_remove = array_diff( $existing_ids, $ids_to_keep );
foreach ( $ids_to_remove as $id ) {
if ( false === wp_delete_post( $id, true ) ) {
- return new WP_Error( 'menu-item',
- sprintf( 'Failed to delete menu item with id: %d.', $id ), 400 );
+ return new WP_Error(
+ 'menu-item',
+ sprintf( 'Failed to delete menu item with id: %d.', $id ),
+ 400
+ );
}
}
@@ -652,33 +995,47 @@ class WPCOM_JSON_API_Menus_Update_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abs
}
}
-new WPCOM_JSON_API_Menus_List_Menus_Endpoint( array (
- 'method'=> 'GET',
- 'description' => 'Get a list of all navigation menus.',
- 'group' => 'menus',
- 'stat' => 'menus:list-menu',
- 'path' => '/sites/%s/menus',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'response_format' => array(
- 'menus' => '(array) A list of menu objects.<br/><br/>
+new WPCOM_JSON_API_Menus_List_Menus_Endpoint(
+ array(
+ 'method' => 'GET',
+ 'description' => 'Get a list of all navigation menus.',
+ 'group' => 'menus',
+ 'stat' => 'menus:list-menu',
+ 'path' => '/sites/%s/menus',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'response_format' => array(
+ 'menus' => '(array) A list of menu objects.<br/><br/>
A menu object contains a name, items, locations, etc.
Check the example response for the full structure.
<br/><br/>
Item objects contain fields relating to that item, e.g. id, type, content_id,
but they can also contain other items objects - this nesting represents parents
and child items in the item tree.',
- 'locations' => '(array) Locations where menus can be placed. List of objects, one per location.'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- ),
-) );
+ 'locations' => '(array) Locations where menus can be placed. List of objects, one per location.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ ),
+ )
+);
+/**
+ * List menus endpoint class.
+ */
class WPCOM_JSON_API_Menus_List_Menus_Endpoint extends WPCOM_JSON_API_Menus_Abstract_Endpoint {
- function callback( $path = '', $site = 0 ) {
+
+ /**
+ * The API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $site - the site ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $site = 0 ) {
$site_id = $this->switch_to_blog_and_validate_user( $this->api->get_blog_id( $site ) );
if ( is_wp_error( $site_id ) ) {
@@ -705,37 +1062,55 @@ class WPCOM_JSON_API_Menus_List_Menus_Endpoint extends WPCOM_JSON_API_Menus_Abst
return $this->get_locations();
}
- return array( 'menus' => $menus, 'locations' => $this->get_locations() );
+ return array(
+ 'menus' => $menus,
+ 'locations' => $this->get_locations(),
+ );
}
}
-new WPCOM_JSON_API_Menus_Get_Menu_Endpoint( array (
- 'method'=> 'GET',
- 'description' => 'Get a single navigation menu.',
- 'group' => 'menus',
- 'stat' => 'menus:get-menu',
- 'path' => '/sites/%s/menus/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$menu_id' => '(int) Menu ID',
- ),
- 'response_format' => array(
- 'menu' => '(object) A menu object.<br/><br/>
+new WPCOM_JSON_API_Menus_Get_Menu_Endpoint(
+ array(
+ 'method' => 'GET',
+ 'description' => 'Get a single navigation menu.',
+ 'group' => 'menus',
+ 'stat' => 'menus:get-menu',
+ 'path' => '/sites/%s/menus/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$menu_id' => '(int) Menu ID',
+ ),
+ 'response_format' => array(
+ 'menu' => '(object) A menu object.<br/><br/>
A menu object contains a name, items, locations, etc.
Check the example response for the full structure.
<br/><br/>
Item objects contain fields relating to that item, e.g. id, type, content_id,
but they can also contain other items objects - this nesting represents parents
- and child items in the item tree.'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus/510604099',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- ),
-) );
+ and child items in the item tree.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus/510604099',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ ),
+ )
+);
+/**
+ * Get menu endpoint class.
+ */
class WPCOM_JSON_API_Menus_Get_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abstract_Endpoint {
- function callback( $path = '', $site = 0, $menu_id = 0 ) {
+
+ /**
+ * The API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $site - the site ID.
+ * @param int $menu_id - the menu ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $site = 0, $menu_id = 0 ) {
$site_id = $this->switch_to_blog_and_validate_user( $this->api->get_blog_id( $site ) );
if ( is_wp_error( $site_id ) ) {
@@ -764,27 +1139,42 @@ class WPCOM_JSON_API_Menus_Get_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abstra
}
}
-new WPCOM_JSON_API_Menus_Delete_Menu_Endpoint( array (
- 'method' => 'POST',
- 'description' => 'Delete a navigation menu',
- 'group' => 'menus',
- 'stat' => 'menus:delete-menu',
- 'path' => '/sites/%s/menus/%d/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$menu_id' => '(int) Menu ID',
- ),
- 'response_format' => array(
- 'deleted' => '(bool) Has the menu been deleted?',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus/$menu_id/delete',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- ),
-) );
+new WPCOM_JSON_API_Menus_Delete_Menu_Endpoint(
+ array(
+ 'method' => 'POST',
+ 'description' => 'Delete a navigation menu',
+ 'group' => 'menus',
+ 'stat' => 'menus:delete-menu',
+ 'path' => '/sites/%s/menus/%d/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$menu_id' => '(int) Menu ID',
+ ),
+ 'response_format' => array(
+ 'deleted' => '(bool) Has the menu been deleted?',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/menus/$menu_id/delete',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ ),
+ )
+);
+/**
+ * Delete menu endpoint class.
+ */
class WPCOM_JSON_API_Menus_Delete_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abstract_Endpoint {
- function callback( $path = '', $site = 0, $menu_id = 0 ) {
+
+ /**
+ * The API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $site - the site ID.
+ * @param int $menu_id - the menu ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $site = 0, $menu_id = 0 ) {
$site_id = $this->switch_to_blog_and_validate_user( $this->api->get_blog_id( $site ) );
if ( is_wp_error( $site_id ) ) {
@@ -804,9 +1194,17 @@ class WPCOM_JSON_API_Menus_Delete_Menu_Endpoint extends WPCOM_JSON_API_Menus_Abs
}
}
+/**
+ * API Menus widgets class.
+ */
class WPCOM_JSON_API_Menus_Widgets {
- static function get() {
- $locations = array();
+ /**
+ * Get the menu locations.
+ *
+ * @return array
+ */
+ public static function get() {
+ $locations = array();
$nav_menu_widgets = get_option( 'widget_nav_menu' );
if ( ! is_array( $nav_menu_widgets ) ) {
@@ -815,7 +1213,10 @@ class WPCOM_JSON_API_Menus_Widgets {
foreach ( $nav_menu_widgets as $k => $v ) {
if ( is_array( $v ) && isset( $v['title'] ) ) {
- $locations[$k] = array( 'name' => 'nav_menu_widget-' . $k, 'description' => $v['title'] );
+ $locations[ $k ] = array(
+ 'name' => 'nav_menu_widget-' . $k,
+ 'description' => $v['title'],
+ );
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-post-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-post-endpoint.php
index 6b1b1dd1..6e7f39e5 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-post-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-post-endpoint.php
@@ -1,83 +1,99 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Post Endpoint class.
+ */
abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
+ /**
+ * Post object format.
+ *
+ * @var array
+ */
public $post_object_format = array(
// explicitly document and cast all output
- 'ID' => '(int) The post ID.',
- 'site_ID' => '(int) The site ID.',
- 'author' => '(object>author) The author of the post.',
- 'date' => "(ISO 8601 datetime) The post's creation time.",
- 'modified' => "(ISO 8601 datetime) The post's most recent update time.",
- 'title' => '(HTML) <code>context</code> dependent.',
- 'URL' => '(URL) The full permalink URL to the post.',
- 'short_URL' => '(URL) The wp.me short URL.',
- 'content' => '(HTML) <code>context</code> dependent.',
- 'excerpt' => '(HTML) <code>context</code> dependent.',
- 'slug' => '(string) The name (slug) for the post, used in URLs.',
- 'guid' => '(string) The GUID for the post.',
- 'status' => array(
- 'publish' => 'The post is published.',
- 'draft' => 'The post is saved as a draft.',
- 'pending' => 'The post is pending editorial approval.',
- 'private' => 'The post is published privately',
- 'future' => 'The post is scheduled for future publishing.',
- 'trash' => 'The post is in the trash.',
+ 'ID' => '(int) The post ID.',
+ 'site_ID' => '(int) The site ID.',
+ 'author' => '(object>author) The author of the post.',
+ 'date' => "(ISO 8601 datetime) The post's creation time.",
+ 'modified' => "(ISO 8601 datetime) The post's most recent update time.",
+ 'title' => '(HTML) <code>context</code> dependent.',
+ 'URL' => '(URL) The full permalink URL to the post.',
+ 'short_URL' => '(URL) The wp.me short URL.',
+ 'content' => '(HTML) <code>context</code> dependent.',
+ 'excerpt' => '(HTML) <code>context</code> dependent.',
+ 'slug' => '(string) The name (slug) for the post, used in URLs.',
+ 'guid' => '(string) The GUID for the post.',
+ 'status' => array(
+ 'publish' => 'The post is published.',
+ 'draft' => 'The post is saved as a draft.',
+ 'pending' => 'The post is pending editorial approval.',
+ 'private' => 'The post is published privately',
+ 'future' => 'The post is scheduled for future publishing.',
+ 'trash' => 'The post is in the trash.',
'auto-draft' => 'The post is a placeholder for a new post.',
),
- 'sticky' => '(bool) Is the post sticky?',
- 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
- 'parent' => "(object>post_reference|false) A reference to the post's parent, if it has one.",
- 'type' => "(string) The post's post_type. Post types besides post, page and revision need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
- 'comments_open' => '(bool) Is the post open for comments?',
- 'pings_open' => '(bool) Is the post open for pingbacks, trackbacks?',
- 'likes_enabled' => "(bool) Is the post open to likes?",
- 'sharing_enabled' => "(bool) Should sharing buttons show on this post?",
- 'comment_count' => '(int) The number of comments for this post.',
- 'like_count' => '(int) The number of likes for this post.',
- 'i_like' => '(bool) Does the current user like this post?',
- 'is_reblogged' => '(bool) Did the current user reblog this post?',
- 'is_following' => '(bool) Is the current user following this blog?',
- 'global_ID' => '(string) A unique WordPress.com-wide representation of a post.',
- 'featured_image' => '(URL) The URL to the featured image for this post if it has one.',
- 'post_thumbnail' => '(object>attachment) The attachment object for the featured image if it has one.',
- 'format' => array(), // see constructor
- 'geo' => '(object>geo|false)',
- 'menu_order' => '(int) (Pages Only) The order pages should appear in.',
- 'publicize_URLs' => '(array:URL) Array of Twitter and Facebook URLs published by this post.',
- 'tags' => '(object:tag) Hash of tags (keyed by tag name) applied to the post.',
- 'categories' => '(object:category) Hash of categories (keyed by category name) applied to the post.',
- 'attachments' => '(object:attachment) Hash of post attachments (keyed by attachment ID).',
- 'metadata' => '(array) Array of post metadata keys and values. All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with access. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
- 'meta' => '(object) API result meta data',
+ 'sticky' => '(bool) Is the post sticky?',
+ 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
+ 'parent' => "(object>post_reference|false) A reference to the post's parent, if it has one.",
+ 'type' => "(string) The post's post_type. Post types besides post, page and revision need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
+ 'comments_open' => '(bool) Is the post open for comments?',
+ 'pings_open' => '(bool) Is the post open for pingbacks, trackbacks?',
+ 'likes_enabled' => '(bool) Is the post open to likes?',
+ 'sharing_enabled' => '(bool) Should sharing buttons show on this post?',
+ 'comment_count' => '(int) The number of comments for this post.',
+ 'like_count' => '(int) The number of likes for this post.',
+ 'i_like' => '(bool) Does the current user like this post?',
+ 'is_reblogged' => '(bool) Did the current user reblog this post?',
+ 'is_following' => '(bool) Is the current user following this blog?',
+ 'global_ID' => '(string) A unique WordPress.com-wide representation of a post.',
+ 'featured_image' => '(URL) The URL to the featured image for this post if it has one.',
+ 'post_thumbnail' => '(object>attachment) The attachment object for the featured image if it has one.',
+ 'format' => array(), // see constructor
+ 'geo' => '(object>geo|false)',
+ 'menu_order' => '(int) (Pages Only) The order pages should appear in.',
+ 'publicize_URLs' => '(array:URL) Array of Twitter and Facebook URLs published by this post.',
+ 'tags' => '(object:tag) Hash of tags (keyed by tag name) applied to the post.',
+ 'categories' => '(object:category) Hash of categories (keyed by category name) applied to the post.',
+ 'attachments' => '(object:attachment) Hash of post attachments (keyed by attachment ID).',
+ 'metadata' => '(array) Array of post metadata keys and values. All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with access. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
+ 'meta' => '(object) API result meta data',
'current_user_can' => '(object) List of permissions. Note, deprecated in favor of `capabilities`',
- 'capabilities' => '(object) List of post-specific permissions for the user; publish_post, edit_post, delete_post',
+ 'capabilities' => '(object) List of post-specific permissions for the user; publish_post, edit_post, delete_post',
);
- // public $response_format =& $this->post_object_format;
-
- function __construct( $args ) {
+ /**
+ * Constructor function.
+ *
+ * @param string|array|object $args — Args.
+ */
+ public function __construct( $args ) {
if ( is_array( $this->post_object_format ) && isset( $this->post_object_format['format'] ) ) {
$this->post_object_format['format'] = get_post_format_strings();
}
- if ( !$this->response_format ) {
+ if ( ! $this->response_format ) {
$this->response_format =& $this->post_object_format;
}
parent::__construct( $args );
}
- function the_password_form() {
+ /**
+ * Filter to replace the password form with a simple message that the post is protected.
+ *
+ * @return string
+ */
+ public function the_password_form() {
return __( 'This post is password protected.', 'jetpack' );
}
/**
* Get a post by a specified field and value
*
- * @param string $field
- * @param string $field_value
- * @param string $context Post use context (e.g. 'display')
- * @return array Post
+ * @param string $field - the field.
+ * @param string $field_value - the field value.
+ * @param string $context Post use context (e.g. 'display').
+ * @return array|bool|WP_Error Post
**/
- function get_post_by( $field, $field_value, $context = 'display' ) {
+ public function get_post_by( $field, $field_value, $context = 'display' ) {
global $blog_id;
/** This filter is documented in class.json-api-endpoints.php */
@@ -96,26 +112,26 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
}
}
- if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'wp-windows8' ) ) {
+ if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && strpos( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ), 'wp-windows8' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- we're not using this value and making changes, just checking if it exists.
remove_shortcode( 'gallery', 'gallery_shortcode' );
- add_shortcode( 'gallery', array( &$this, 'win8_gallery_shortcode' ) );
+ add_shortcode( 'gallery', array( $this, 'win8_gallery_shortcode' ) );
}
switch ( $field ) {
- case 'name' :
- $post_id = $this->get_post_id_by_name( $field_value );
- if ( is_wp_error( $post_id ) ) {
- return $post_id;
- }
- break;
- default :
- $post_id = (int) $field_value;
- break;
+ case 'name':
+ $post_id = $this->get_post_id_by_name( $field_value );
+ if ( is_wp_error( $post_id ) ) {
+ return $post_id;
+ }
+ break;
+ default:
+ $post_id = (int) $field_value;
+ break;
}
$post = get_post( $post_id, OBJECT, $context );
- if ( !$post || is_wp_error( $post ) ) {
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
@@ -127,23 +143,23 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
$capabilities = $this->get_current_user_capabilities( $post );
switch ( $context ) {
- case 'edit' :
- if ( ! $capabilities['edit_post'] ) {
- return new WP_Error( 'unauthorized', 'User cannot edit post', 403 );
- }
- break;
- case 'display' :
- break;
- default :
- return new WP_Error( 'invalid_context', 'Invalid API CONTEXT', 400 );
+ case 'edit':
+ if ( ! $capabilities['edit_post'] ) {
+ return new WP_Error( 'unauthorized', 'User cannot edit post', 403 );
+ }
+ break;
+ case 'display':
+ break;
+ default:
+ return new WP_Error( 'invalid_context', 'Invalid API CONTEXT', 400 );
}
$can_view = $this->user_can_view_post( $post->ID );
- if ( !$can_view || is_wp_error( $can_view ) ) {
+ if ( ! $can_view || is_wp_error( $can_view ) ) {
return $can_view;
}
- $GLOBALS['post'] = $post;
+ $GLOBALS['post'] = $post; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
if ( 'display' === $context ) {
setup_postdata( $post );
@@ -152,321 +168,345 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
$response = array();
$fields = null;
- if ( 'display' === $context && ! empty( $this->api->query['fields'] ) ) {
+ if ( 'display' === $context && ! empty( $this->api->query['fields'] ) ) {
$fields = array_fill_keys( array_map( 'trim', explode( ',', $this->api->query['fields'] ) ), true );
}
foreach ( array_keys( $this->post_object_format ) as $key ) {
- if ( $fields !== null && ! isset( $fields[$key] ) ) {
+ if ( $fields !== null && ! isset( $fields[ $key ] ) ) {
continue;
}
switch ( $key ) {
- case 'ID' :
- // explicitly cast all output
- $response[$key] = (int) $post->ID;
- break;
- case 'site_ID' :
- $response[$key] = (int) $this->api->get_blog_id_for_output();
- break;
- case 'author' :
- $response[$key] = (object) $this->get_author( $post, 'edit' === $context && $capabilities['edit_post'] );
- break;
- case 'date' :
- $response[$key] = (string) $this->format_date( $post->post_date_gmt, $post->post_date );
- break;
- case 'modified' :
- $response[$key] = (string) $this->format_date( $post->post_modified_gmt, $post->post_modified );
- break;
- case 'title' :
- if ( 'display' === $context ) {
- $response[$key] = (string) get_the_title( $post->ID );
- } else {
- $response[$key] = (string) htmlspecialchars_decode( $post->post_title, ENT_QUOTES );
- }
- break;
- case 'URL' :
- if ( 'revision' === $post->post_type ) {
- $response[$key] = (string) esc_url_raw( get_permalink( $post->post_parent ) );
- } else {
- $response[$key] = (string) esc_url_raw( get_permalink( $post->ID ) );
- }
- break;
- case 'short_URL' :
- $response[$key] = (string) esc_url_raw( wp_get_shortlink( $post->ID ) );
- break;
- case 'content' :
- if ( 'display' === $context ) {
- add_filter( 'the_password_form', array( $this, 'the_password_form' ) );
- $response[$key] = (string) $this->get_the_post_content_for_display();
- remove_filter( 'the_password_form', array( $this, 'the_password_form' ) );
- } else {
- $response[$key] = (string) $post->post_content;
- }
- break;
- case 'excerpt' :
- if ( 'display' === $context ) {
- add_filter( 'the_password_form', array( $this, 'the_password_form' ) );
- ob_start();
- the_excerpt();
- $response[$key] = (string) ob_get_clean();
- remove_filter( 'the_password_form', array( $this, 'the_password_form' ) );
- } else {
- $response[$key] = htmlspecialchars_decode( (string) $post->post_excerpt, ENT_QUOTES );
- }
- break;
- case 'status' :
- $response[$key] = (string) get_post_status( $post->ID );
- break;
- case 'sticky' :
- $response[$key] = (bool) is_sticky( $post->ID );
- break;
- case 'slug' :
- $response[$key] = (string) $post->post_name;
- break;
- case 'guid' :
- $response[$key] = (string) $post->guid;
- break;
- case 'password' :
- $response[$key] = (string) $post->post_password;
- if ( 'edit' === $context ) {
- $response[$key] = htmlspecialchars_decode( (string) $response[$key], ENT_QUOTES );
- }
- break;
- case 'parent' : // (object|false)
- if ( $post->post_parent ) {
- $parent = get_post( $post->post_parent );
+ case 'ID':
+ // explicitly cast all output
+ $response[ $key ] = (int) $post->ID;
+ break;
+ case 'site_ID':
+ $response[ $key ] = (int) $this->api->get_blog_id_for_output();
+ break;
+ case 'author':
+ $response[ $key ] = (object) $this->get_author( $post, 'edit' === $context && $capabilities['edit_post'] );
+ break;
+ case 'date':
+ $response[ $key ] = (string) $this->format_date( $post->post_date_gmt, $post->post_date );
+ break;
+ case 'modified':
+ $response[ $key ] = (string) $this->format_date( $post->post_modified_gmt, $post->post_modified );
+ break;
+ case 'title':
if ( 'display' === $context ) {
- $parent_title = (string) get_the_title( $parent->ID );
+ $response[ $key ] = (string) get_the_title( $post->ID );
} else {
- $parent_title = (string) htmlspecialchars_decode( $post->post_title, ENT_QUOTES );
+ $response[ $key ] = (string) htmlspecialchars_decode( $post->post_title, ENT_QUOTES );
}
- $response[$key] = (object) array(
- 'ID' => (int) $parent->ID,
- 'type' => (string) $parent->post_type,
- 'link' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $parent->ID ),
- 'title' => $parent_title,
- );
- } else {
- $response[$key] = false;
- }
- break;
- case 'type' :
- $response[$key] = (string) $post->post_type;
- break;
- case 'comments_open' :
- $response[$key] = (bool) comments_open( $post->ID );
- break;
- case 'pings_open' :
- $response[$key] = (bool) pings_open( $post->ID );
- break;
- case 'likes_enabled' :
- /** This filter is documented in modules/likes.php */
- $sitewide_likes_enabled = (bool) apply_filters( 'wpl_is_enabled_sitewide', ! get_option( 'disabled_likes' ) );
- $post_likes_switched = get_post_meta( $post->ID, 'switch_like_status', true );
- $post_likes_enabled = $post_likes_switched || ( $sitewide_likes_enabled && $post_likes_switched !== '0' );
- $response[$key] = (bool) $post_likes_enabled;
- break;
- case 'sharing_enabled' :
- $show = true;
- /** This filter is documented in modules/sharedaddy/sharing-service.php */
- $show = apply_filters( 'sharing_show', $show, $post );
-
- $switched_status = get_post_meta( $post->ID, 'sharing_disabled', false );
-
- if ( !empty( $switched_status ) )
- $show = false;
- $response[$key] = (bool) $show;
- break;
- case 'comment_count' :
- $response[$key] = (int) $post->comment_count;
- break;
- case 'like_count' :
- $response[$key] = (int) $this->api->post_like_count( $blog_id, $post->ID );
- break;
- case 'i_like' :
- $response[$key] = (bool) $this->api->is_liked( $blog_id, $post->ID );
- break;
- case 'is_reblogged':
- $response[$key] = (bool) $this->api->is_reblogged( $blog_id, $post->ID );
- break;
- case 'is_following':
- $response[$key] = (bool) $this->api->is_following( $blog_id );
- break;
- case 'global_ID':
- $response[$key] = (string) $this->api->add_global_ID( $blog_id, $post->ID );
- break;
- case 'featured_image' :
- if ( $is_jetpack && ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) {
- $response[ $key ] = get_post_meta( $post->ID, '_jetpack_featured_image', true );
- } else {
- $image_attributes = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
- if ( is_array( $image_attributes ) && isset( $image_attributes[0] ) ) {
- $response[ $key ] = (string) $image_attributes[0];
+ break;
+ case 'URL':
+ if ( 'revision' === $post->post_type ) {
+ $response[ $key ] = (string) esc_url_raw( get_permalink( $post->post_parent ) );
} else {
- $response[ $key ] = '';
+ $response[ $key ] = (string) esc_url_raw( get_permalink( $post->ID ) );
}
- }
- break;
- case 'post_thumbnail' :
- $response[$key] = null;
-
- $thumb_id = get_post_thumbnail_id( $post->ID );
- if ( ! empty( $thumb_id ) ) {
- $attachment = get_post( $thumb_id );
- if ( ! empty( $attachment ) )
- $featured_image_object = $this->get_attachment( $attachment );
+ break;
+ case 'short_URL':
+ $response[ $key ] = (string) esc_url_raw( wp_get_shortlink( $post->ID ) );
+ break;
+ case 'content':
+ if ( 'display' === $context ) {
+ add_filter( 'the_password_form', array( $this, 'the_password_form' ) );
+ $response[ $key ] = (string) $this->get_the_post_content_for_display();
+ remove_filter( 'the_password_form', array( $this, 'the_password_form' ) );
+ } else {
+ $response[ $key ] = (string) $post->post_content;
+ }
+ break;
+ case 'excerpt':
+ if ( 'display' === $context ) {
+ add_filter( 'the_password_form', array( $this, 'the_password_form' ) );
+ ob_start();
+ the_excerpt();
+ $response[ $key ] = (string) ob_get_clean();
+ remove_filter( 'the_password_form', array( $this, 'the_password_form' ) );
+ } else {
+ $response[ $key ] = htmlspecialchars_decode( (string) $post->post_excerpt, ENT_QUOTES );
+ }
+ break;
+ case 'status':
+ $response[ $key ] = (string) get_post_status( $post->ID );
+ break;
+ case 'sticky':
+ $response[ $key ] = (bool) is_sticky( $post->ID );
+ break;
+ case 'slug':
+ $response[ $key ] = (string) $post->post_name;
+ break;
+ case 'guid':
+ $response[ $key ] = (string) $post->guid;
+ break;
+ case 'password':
+ $response[ $key ] = (string) $post->post_password;
+ if ( 'edit' === $context ) {
+ $response[ $key ] = htmlspecialchars_decode( (string) $response[ $key ], ENT_QUOTES );
+ }
+ break;
+ case 'parent': /** (object|false) */
+ if ( $post->post_parent ) {
+ $parent = get_post( $post->post_parent );
+ if ( 'display' === $context ) {
+ $parent_title = (string) get_the_title( $parent->ID );
+ } else {
+ $parent_title = (string) htmlspecialchars_decode( $post->post_title, ENT_QUOTES );
+ }
+ $response[ $key ] = (object) array(
+ 'ID' => (int) $parent->ID,
+ 'type' => (string) $parent->post_type,
+ 'link' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $parent->ID ),
+ 'title' => $parent_title,
+ );
+ } else {
+ $response[ $key ] = false;
+ }
+ break;
+ case 'type':
+ $response[ $key ] = (string) $post->post_type;
+ break;
+ case 'comments_open':
+ $response[ $key ] = (bool) comments_open( $post->ID );
+ break;
+ case 'pings_open':
+ $response[ $key ] = (bool) pings_open( $post->ID );
+ break;
+ case 'likes_enabled':
+ /** This filter is documented in modules/likes.php */
+ $sitewide_likes_enabled = (bool) apply_filters( 'wpl_is_enabled_sitewide', ! get_option( 'disabled_likes' ) );
+ $post_likes_switched = get_post_meta( $post->ID, 'switch_like_status', true );
+ $post_likes_enabled = $post_likes_switched || ( $sitewide_likes_enabled && $post_likes_switched !== '0' );
+ $response[ $key ] = (bool) $post_likes_enabled;
+ break;
+ case 'sharing_enabled':
+ $show = true;
+ /** This filter is documented in modules/sharedaddy/sharing-service.php */
+ $show = apply_filters( 'sharing_show', $show, $post );
+
+ $switched_status = get_post_meta( $post->ID, 'sharing_disabled', false );
+
+ if ( ! empty( $switched_status ) ) {
+ $show = false;
+ }
+ $response[ $key ] = (bool) $show;
+ break;
+ case 'comment_count':
+ $response[ $key ] = (int) $post->comment_count;
+ break;
+ case 'like_count':
+ $response[ $key ] = (int) $this->api->post_like_count( $blog_id, $post->ID );
+ break;
+ case 'i_like':
+ $response[ $key ] = (bool) $this->api->is_liked( $blog_id, $post->ID );
+ break;
+ case 'is_reblogged':
+ $response[ $key ] = (bool) $this->api->is_reblogged( $blog_id, $post->ID );
+ break;
+ case 'is_following':
+ $response[ $key ] = (bool) $this->api->is_following( $blog_id );
+ break;
+ case 'global_ID':
+ $response[ $key ] = (string) $this->api->add_global_ID( $blog_id, $post->ID );
+ break;
+ case 'featured_image':
+ if ( $is_jetpack && ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) {
+ $response[ $key ] = get_post_meta( $post->ID, '_jetpack_featured_image', true );
+ } else {
+ $image_attributes = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
+ if ( is_array( $image_attributes ) && isset( $image_attributes[0] ) ) {
+ $response[ $key ] = (string) $image_attributes[0];
+ } else {
+ $response[ $key ] = '';
+ }
+ }
+ break;
+ case 'post_thumbnail':
+ $response[ $key ] = null;
+
+ $thumb_id = get_post_thumbnail_id( $post->ID );
+ if ( ! empty( $thumb_id ) ) {
+ $attachment = get_post( $thumb_id );
+ if ( ! empty( $attachment ) ) {
+ $featured_image_object = $this->get_attachment( $attachment );
+ }
- if ( ! empty( $featured_image_object ) ) {
- $response[$key] = (object) $featured_image_object;
+ if ( ! empty( $featured_image_object ) ) {
+ $response[ $key ] = (object) $featured_image_object;
+ }
}
- }
- break;
- case 'format' :
- $response[$key] = (string) get_post_format( $post->ID );
- if ( !$response[$key] ) {
- $response[$key] = 'standard';
- }
- break;
- case 'geo' : // (object|false)
- if ( !$geo ) {
- $response[$key] = false;
- } else {
- $geo_data = $geo->get_geo( 'post', $post->ID );
- $response[$key] = false;
- if ( $geo_data ) {
- $geo_data = array_intersect_key( $geo_data, array( 'latitude' => true, 'longitude' => true, 'address' => true, 'public' => true ) );
+ break;
+ case 'format':
+ $response[ $key ] = (string) get_post_format( $post->ID );
+ if ( ! $response[ $key ] ) {
+ $response[ $key ] = 'standard';
+ }
+ break;
+ case 'geo': /** (object|false) */
+ if ( ! $geo ) {
+ $response[ $key ] = false;
+ } else {
+ $geo_data = $geo->get_geo( 'post', $post->ID );
+ $response[ $key ] = false;
if ( $geo_data ) {
- $response[$key] = (object) array(
- 'latitude' => isset( $geo_data['latitude'] ) ? (float) $geo_data['latitude'] : 0,
- 'longitude' => isset( $geo_data['longitude'] ) ? (float) $geo_data['longitude'] : 0,
- 'address' => isset( $geo_data['address'] ) ? (string) $geo_data['address'] : '',
+ $geo_data = array_intersect_key(
+ $geo_data,
+ array(
+ 'latitude' => true,
+ 'longitude' => true,
+ 'address' => true,
+ 'public' => true,
+ )
);
- } else {
- $response[$key] = false;
- }
- // Private
- if ( !isset( $geo_data['public'] ) || !$geo_data['public'] ) {
- if ( 'edit' !== $context || ! $capabilities['edit_post'] ) {
- // user can't access
- $response[$key] = false;
+ if ( $geo_data ) {
+ $response[ $key ] = (object) array(
+ 'latitude' => isset( $geo_data['latitude'] ) ? (float) $geo_data['latitude'] : 0,
+ 'longitude' => isset( $geo_data['longitude'] ) ? (float) $geo_data['longitude'] : 0,
+ 'address' => isset( $geo_data['address'] ) ? (string) $geo_data['address'] : '',
+ );
+ } else {
+ $response[ $key ] = false;
+ }
+ // Private
+ if ( ! isset( $geo_data['public'] ) || ! $geo_data['public'] ) {
+ if ( 'edit' !== $context || ! $capabilities['edit_post'] ) {
+ // user can't access
+ $response[ $key ] = false;
+ }
}
}
}
- }
- break;
- case 'menu_order':
- $response[$key] = (int) $post->menu_order;
- break;
- case 'publicize_URLs' :
- $publicize_URLs = array();
- $publicize = get_post_meta( $post->ID, 'publicize_results', true );
- if ( $publicize ) {
- foreach ( $publicize as $service => $data ) {
- switch ( $service ) {
- case 'twitter' :
- foreach ( $data as $datum ) {
- $publicize_URLs[] = esc_url_raw( "https://twitter.com/{$datum['user_id']}/status/{$datum['post_id']}" );
+ break;
+ case 'menu_order':
+ $response[ $key ] = (int) $post->menu_order;
+ break;
+ case 'publicize_URLs':
+ $publicize_urls = array();
+ $publicize = get_post_meta( $post->ID, 'publicize_results', true );
+ if ( $publicize ) {
+ foreach ( $publicize as $service => $data ) {
+ switch ( $service ) {
+ case 'twitter':
+ foreach ( $data as $datum ) {
+ $publicize_urls[] = esc_url_raw( "https://twitter.com/{$datum['user_id']}/status/{$datum['post_id']}" );
+ }
+ break;
+ case 'fb':
+ foreach ( $data as $datum ) {
+ $publicize_urls[] = esc_url_raw( "https://www.facebook.com/permalink.php?story_fbid={$datum['post_id']}&id={$datum['user_id']}" );
+ }
+ break;
}
- break;
- case 'fb' :
- foreach ( $data as $datum ) {
- $publicize_URLs[] = esc_url_raw( "https://www.facebook.com/permalink.php?story_fbid={$datum['post_id']}&id={$datum['user_id']}" );
- }
- break;
}
}
- }
- $response[$key] = (array) $publicize_URLs;
- break;
- case 'tags' :
- $response[$key] = array();
- $terms = wp_get_post_tags( $post->ID );
- foreach ( $terms as $term ) {
- if ( !empty( $term->name ) ) {
- $response[$key][$term->name] = $this->format_taxonomy( $term, 'post_tag', 'display' );
+ $response[ $key ] = (array) $publicize_urls;
+ break;
+ case 'tags':
+ $response[ $key ] = array();
+ $terms = wp_get_post_tags( $post->ID );
+ foreach ( $terms as $term ) {
+ if ( ! empty( $term->name ) ) {
+ $response[ $key ][ $term->name ] = $this->format_taxonomy( $term, 'post_tag', 'display' );
+ }
}
- }
- $response[$key] = (object) $response[$key];
- break;
- case 'categories':
- $response[$key] = array();
- $terms = wp_get_object_terms( $post->ID, 'category', array( 'fields' => 'all' ) );
- foreach ( $terms as $term ) {
- if ( !empty( $term->name ) ) {
- $response[$key][$term->name] = $this->format_taxonomy( $term, 'category', 'display' );
+ $response[ $key ] = (object) $response[ $key ];
+ break;
+ case 'categories':
+ $response[ $key ] = array();
+ $terms = wp_get_object_terms( $post->ID, 'category', array( 'fields' => 'all' ) );
+ foreach ( $terms as $term ) {
+ if ( ! empty( $term->name ) ) {
+ $response[ $key ][ $term->name ] = $this->format_taxonomy( $term, 'category', 'display' );
+ }
}
- }
- $response[$key] = (object) $response[$key];
- break;
- case 'attachments':
- $response[$key] = array();
- $_attachments = get_posts( array( 'post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'posts_per_page' => 100 ) );
- foreach ( $_attachments as $attachment ) {
- $response[$key][$attachment->ID] = $this->get_attachment( $attachment );
- }
- $response[$key] = (object) $response[$key];
- break;
- case 'metadata' : // (array|false)
- $metadata = array();
- foreach ( (array) has_meta( $post_id ) as $meta ) {
- // Don't expose protected fields.
- $show = false;
- if ( WPCOM_JSON_API_Metadata::is_public( $meta['meta_key'] ) )
- $show = true;
- if ( current_user_can( 'edit_post_meta', $post_id , $meta['meta_key'] ) )
- $show = true;
-
- if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY === $meta['meta_key'] && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
- $show = false;
+ $response[ $key ] = (object) $response[ $key ];
+ break;
+ case 'attachments':
+ $response[ $key ] = array();
+ $_attachments = get_posts(
+ array(
+ 'post_parent' => $post->ID,
+ 'post_status' => 'inherit',
+ 'post_type' => 'attachment',
+ 'posts_per_page' => 100,
+ )
+ );
+ foreach ( $_attachments as $attachment ) {
+ $response[ $key ][ $attachment->ID ] = $this->get_attachment( $attachment );
}
+ $response[ $key ] = (object) $response[ $key ];
+ break;
+ case 'metadata': /** (array|false) */
+ $metadata = array();
+ foreach ( (array) has_meta( $post_id ) as $meta ) {
+ // Don't expose protected fields.
+ $show = false;
+ if ( WPCOM_JSON_API_Metadata::is_public( $meta['meta_key'] ) ) {
+ $show = true;
+ }
+ if ( current_user_can( 'edit_post_meta', $post_id, $meta['meta_key'] ) ) {
+ $show = true;
+ }
- if ( !$show )
- continue;
+ if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY === $meta['meta_key'] && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
+ $show = false;
+ }
- $metadata[] = array(
- 'id' => $meta['meta_id'],
- 'key' => $meta['meta_key'],
- 'value' => maybe_unserialize( $meta['meta_value'] ),
- );
- }
+ if ( ! $show ) {
+ continue;
+ }
- if ( ! empty( $metadata ) ) {
- $response[$key] = $metadata;
- } else {
- $response[$key] = false;
- }
- break;
- case 'meta' :
- $response[$key] = (object) array(
- 'links' => (object) array(
- 'self' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID ),
- 'help' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID, 'help' ),
- 'site' => (string) $this->links->get_site_link( $this->api->get_blog_id_for_output() ),
- 'replies' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID, 'replies/' ),
- 'likes' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID, 'likes/' ),
- ),
- );
- break;
- case 'current_user_can' :
- $response[$key] = $capabilities;
- break;
- case 'capabilities' :
- $response[$key] = $capabilities;
- break;
+ $metadata[] = array(
+ 'id' => $meta['meta_id'],
+ 'key' => $meta['meta_key'],
+ 'value' => maybe_unserialize( $meta['meta_value'] ),
+ );
+ }
+
+ if ( ! empty( $metadata ) ) {
+ $response[ $key ] = $metadata;
+ } else {
+ $response[ $key ] = false;
+ }
+ break;
+ case 'meta':
+ $response[ $key ] = (object) array(
+ 'links' => (object) array(
+ 'self' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID ),
+ 'help' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID, 'help' ),
+ 'site' => (string) $this->links->get_site_link( $this->api->get_blog_id_for_output() ),
+ 'replies' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID, 'replies/' ),
+ 'likes' => (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $post->ID, 'likes/' ),
+ ),
+ );
+ break;
+ case 'current_user_can':
+ $response[ $key ] = $capabilities;
+ break;
+ case 'capabilities':
+ $response[ $key ] = $capabilities;
+ break;
}
}
- // WPCOM_JSON_API_Post_Endpoint::find_featured_worthy_media( $post );
- // $response['featured_media'] = self::find_featured_media( $response );
-
unset( $GLOBALS['post'] );
return $response;
}
- // No Blog ID parameter. No Post ID parameter. Depends on globals.
- // Expects setup_postdata() to already have been run
- function get_the_post_content_for_display() {
+ /**
+ *
+ * Get the post content for display.
+ *
+ * No Blog ID parameter. No Post ID parameter. Depends on globals.
+ * Expects setup_postdata() to already have been run.
+ *
+ * @return string|false
+ */
+ public function get_the_post_content_for_display() {
global $pages, $page;
$old_pages = $pages;
@@ -474,22 +514,30 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
$content = join( "\n\n", $pages );
$content = preg_replace( '/<!--more(.*?)?-->/', '', $content );
- $pages = array( $content );
- $page = 1;
+ $pages = array( $content ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
+ $page = 1; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
ob_start();
the_content();
$return = ob_get_clean();
- $pages = $old_pages;
- $page = $old_page;
+ $pages = $old_pages; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
+ $page = $old_page; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
return $return;
}
- function get_blog_post( $blog_id, $post_id, $context = 'display' ) {
+ /**
+ * Gets the blog post.
+ *
+ * @param int $blog_id - the blog ID.
+ * @param int $post_id - the post ID.
+ * @param string $context - the context.
+ * @return array|bool|WP_Error Post
+ */
+ public function get_blog_post( $blog_id, $post_id, $context = 'display' ) {
$blog_id = $this->api->get_blog_id( $blog_id );
- if ( !$blog_id || is_wp_error( $blog_id ) ) {
+ if ( ! $blog_id || is_wp_error( $blog_id ) ) {
return $blog_id;
}
switch_to_blog( $blog_id );
@@ -503,7 +551,7 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
* since it's calling WPCOM_JSON_API_Read_Endpoint methods which presently
* rely on wpcom specific functionality.
*
- * @param WP_Post $post
+ * @param WP_Post $post - the WP Post object.
* @return object list of featured media
*/
public static function find_featured_media( &$post ) {
@@ -516,21 +564,26 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
}
-
-
- function win8_gallery_shortcode( $attr ) {
+ /**
+ * Win8 Gallery shortcode.
+ *
+ * @param array $attr - the attribute.
+ */
+ public function win8_gallery_shortcode( $attr ) {
global $post;
static $instance = 0;
$instance++;
- $output = '';
+ // @todo - find out if this is a bug, intentionally unused, or can be removed.
+ $output = ''; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
// We're trusting author input, so let's at least make sure it looks like a valid orderby statement
if ( isset( $attr['orderby'] ) ) {
$attr['orderby'] = sanitize_sql_orderby( $attr['orderby'] );
- if ( !$attr['orderby'] )
+ if ( ! $attr['orderby'] ) {
unset( $attr['orderby'] );
+ }
}
$atts = shortcode_atts(
@@ -604,14 +657,15 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
$link = isset( $attr['link'] ) && 'file' === $attr['link']
? wp_get_attachment_link( $id, $size, false, false )
: wp_get_attachment_link( $id, $size, true, false );
-
- if ( $captiontag && trim($attachment->post_excerpt) ) {
- $output .= "<div class='wp-caption aligncenter'>$link
- <p class='wp-caption-text'>" . wptexturize($attachment->post_excerpt) . "</p>
- </div>";
+ // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ if ( $captiontag && trim( $attachment->post_excerpt ) ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
+ $output .= "<div class='wp-caption aligncenter'>$link
+ <p class='wp-caption-text'>" . wptexturize( $attachment->post_excerpt ) . '</p>
+ </div>';
} else {
$output .= $link . ' ';
}
+ // phpcs:enable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
}
}
}
@@ -619,20 +673,20 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
* Returns attachment object.
*
- * @param $attachment attachment row
+ * @param object - $attachment attachment row.
*
* @return object
*/
- function get_attachment( $attachment ) {
+ public function get_attachment( $attachment ) {
$metadata = wp_get_attachment_metadata( $attachment->ID );
$result = array(
- 'ID' => (int) $attachment->ID,
- 'URL' => (string) wp_get_attachment_url( $attachment->ID ),
- 'guid' => (string) $attachment->guid,
- 'mime_type' => (string) $attachment->post_mime_type,
- 'width' => (int) isset( $metadata['width'] ) ? $metadata['width'] : 0,
- 'height' => (int) isset( $metadata['height'] ) ? $metadata['height'] : 0,
+ 'ID' => (int) $attachment->ID,
+ 'URL' => (string) wp_get_attachment_url( $attachment->ID ),
+ 'guid' => (string) $attachment->guid,
+ 'mime_type' => (string) $attachment->post_mime_type,
+ 'width' => (int) isset( $metadata['width'] ) ? $metadata['width'] : 0,
+ 'height' => (int) isset( $metadata['height'] ) ? $metadata['height'] : 0,
);
if ( isset( $metadata['duration'] ) ) {
@@ -644,14 +698,16 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
* Get post-specific user capabilities
- * @param WP_Post $post post object
- * @return array array of post-level permissions; 'publish_post', 'delete_post', 'edit_post'
+ *
+ * @param WP_Post $post - the WP_Post object.
+ *
+ * @return array - array of post-level permissions; 'publish_post', 'delete_post', 'edit_post'
*/
- function get_current_user_capabilities( $post ) {
+ public function get_current_user_capabilities( $post ) {
return array(
'publish_post' => current_user_can( 'publish_post', $post->ID ),
'delete_post' => current_user_can( 'delete_post', $post->ID ),
- 'edit_post' => current_user_can( 'edit_post', $post->ID )
+ 'edit_post' => current_user_can( 'edit_post', $post->ID ),
);
}
@@ -660,7 +716,7 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
*
* Attempts to match name on post title and page path
*
- * @param string $name
+ * @param string $name - the name of the post.
*
* @return int|object Post ID on success, WP_Error object on failure
**/
@@ -671,11 +727,13 @@ abstract class WPCOM_JSON_API_Post_Endpoint extends WPCOM_JSON_API_Endpoint {
return new WP_Error( 'invalid_post', 'Invalid post', 400 );
}
- $posts = get_posts( array(
- 'name' => $name,
- 'numberposts' => 1,
- 'post_type' => $this->_get_whitelisted_post_types(),
- ) );
+ $posts = get_posts(
+ array(
+ 'name' => $name,
+ 'numberposts' => 1,
+ 'post_type' => $this->_get_whitelisted_post_types(),
+ )
+ );
if ( ! $posts || ! isset( $posts[0]->ID ) || ! $posts[0]->ID ) {
$page = get_page_by_path( $name );
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-post-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-post-v1-1-endpoint.php
index 73f5f559..bc4d1cbf 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-post-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-post-v1-1-endpoint.php
@@ -1,67 +1,78 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
+/**
+ * Post v1_1 Endpoint class.
+ */
+abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint { // phpcs:ignore PEAR.NamingConventions.ValidClassName.Invalid, Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
+ /**
+ * Post object format.
+ *
+ * @var array
+ */
public $post_object_format = array(
// explicitly document and cast all output
- 'ID' => '(int) The post ID.',
- 'site_ID' => '(int) The site ID.',
- 'author' => '(object>author) The author of the post.',
- 'date' => "(ISO 8601 datetime) The post's creation time.",
- 'modified' => "(ISO 8601 datetime) The post's most recent update time.",
- 'title' => '(HTML) <code>context</code> dependent.',
- 'URL' => '(URL) The full permalink URL to the post.',
- 'short_URL' => '(URL) The wp.me short URL.',
- 'content' => '(HTML) <code>context</code> dependent.',
- 'excerpt' => '(HTML) <code>context</code> dependent.',
- 'slug' => '(string) The name (slug) for the post, used in URLs.',
- 'guid' => '(string) The GUID for the post.',
- 'status' => array(
- 'publish' => 'The post is published.',
- 'draft' => 'The post is saved as a draft.',
- 'pending' => 'The post is pending editorial approval.',
- 'private' => 'The post is published privately',
- 'future' => 'The post is scheduled for future publishing.',
- 'trash' => 'The post is in the trash.',
- 'auto-draft' => 'The post is a placeholder for a new post.',
+ 'ID' => '(int) The post ID.',
+ 'site_ID' => '(int) The site ID.',
+ 'author' => '(object>author) The author of the post.',
+ 'date' => "(ISO 8601 datetime) The post's creation time.",
+ 'modified' => "(ISO 8601 datetime) The post's most recent update time.",
+ 'title' => '(HTML) <code>context</code> dependent.',
+ 'URL' => '(URL) The full permalink URL to the post.',
+ 'short_URL' => '(URL) The wp.me short URL.',
+ 'content' => '(HTML) <code>context</code> dependent.',
+ 'excerpt' => '(HTML) <code>context</code> dependent.',
+ 'slug' => '(string) The name (slug) for the post, used in URLs.',
+ 'guid' => '(string) The GUID for the post.',
+ 'status' => array(
+ 'publish' => 'The post is published.',
+ 'draft' => 'The post is saved as a draft.',
+ 'pending' => 'The post is pending editorial approval.',
+ 'private' => 'The post is published privately',
+ 'future' => 'The post is scheduled for future publishing.',
+ 'trash' => 'The post is in the trash.',
+ 'auto-draft' => 'The post is a placeholder for a new post.',
),
- 'sticky' => '(bool) Is the post sticky?',
- 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
- 'parent' => "(object>post_reference|false) A reference to the post's parent, if it has one.",
- 'type' => "(string) The post's post_type. Post types besides post, page and revision need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
- 'discussion' => '(object) Hash of discussion options for the post',
- 'likes_enabled' => "(bool) Is the post open to likes?",
- 'sharing_enabled' => "(bool) Should sharing buttons show on this post?",
- 'like_count' => '(int) The number of likes for this post.',
- 'i_like' => '(bool) Does the current user like this post?',
- 'is_reblogged' => '(bool) Did the current user reblog this post?',
- 'is_following' => '(bool) Is the current user following this blog?',
- 'global_ID' => '(string) A unique WordPress.com-wide representation of a post.',
- 'featured_image' => '(URL) The URL to the featured image for this post if it has one.',
- 'post_thumbnail' => '(object>attachment) The attachment object for the featured image if it has one.',
- 'format' => array(), // see constructor
- 'geo' => '(object>geo|false)',
- 'menu_order' => '(int) (Pages Only) The order pages should appear in.',
- 'page_template' => '(string) (Pages Only) The page template this page is using.',
- 'publicize_URLs' => '(array:URL) Array of Twitter and Facebook URLs published by this post.',
- 'terms' => '(object) Hash of taxonomy names mapping to a hash of terms keyed by term name.',
- 'tags' => '(object:tag) Hash of tags (keyed by tag name) applied to the post.',
- 'categories' => '(object:category) Hash of categories (keyed by category name) applied to the post.',
- 'attachments' => '(object:attachment) Hash of post attachments (keyed by attachment ID). Returns the most recent 20 attachments. Use the `/sites/$site/media` endpoint to query the attachments beyond the default of 20 that are returned here.',
- 'attachment_count' => '(int) The total number of attachments for this post. Use the `/sites/$site/media` endpoint to query the attachments beyond the default of 20 that are returned here.',
- 'metadata' => '(array) Array of post metadata keys and values. All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with access. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
- 'meta' => '(object) API result meta data',
- 'capabilities' => '(object) List of post-specific permissions for the user; publish_post, edit_post, delete_post',
- 'revisions' => '(array) List of post revision IDs. Only available for posts retrieved with context=edit.',
- 'other_URLs' => '(object) List of URLs for this post. Permalink and slug suggestions.',
+ 'sticky' => '(bool) Is the post sticky?',
+ 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
+ 'parent' => "(object>post_reference|false) A reference to the post's parent, if it has one.",
+ 'type' => "(string) The post's post_type. Post types besides post, page and revision need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
+ 'discussion' => '(object) Hash of discussion options for the post',
+ 'likes_enabled' => '(bool) Is the post open to likes?',
+ 'sharing_enabled' => '(bool) Should sharing buttons show on this post?',
+ 'like_count' => '(int) The number of likes for this post.',
+ 'i_like' => '(bool) Does the current user like this post?',
+ 'is_reblogged' => '(bool) Did the current user reblog this post?',
+ 'is_following' => '(bool) Is the current user following this blog?',
+ 'global_ID' => '(string) A unique WordPress.com-wide representation of a post.',
+ 'featured_image' => '(URL) The URL to the featured image for this post if it has one.',
+ 'post_thumbnail' => '(object>attachment) The attachment object for the featured image if it has one.',
+ 'format' => array(), // see constructor
+ 'geo' => '(object>geo|false)',
+ 'menu_order' => '(int) (Pages Only) The order pages should appear in.',
+ 'page_template' => '(string) (Pages Only) The page template this page is using.',
+ 'publicize_URLs' => '(array:URL) Array of Twitter and Facebook URLs published by this post.',
+ 'terms' => '(object) Hash of taxonomy names mapping to a hash of terms keyed by term name.',
+ 'tags' => '(object:tag) Hash of tags (keyed by tag name) applied to the post.',
+ 'categories' => '(object:category) Hash of categories (keyed by category name) applied to the post.',
+ 'attachments' => '(object:attachment) Hash of post attachments (keyed by attachment ID). Returns the most recent 20 attachments. Use the `/sites/$site/media` endpoint to query the attachments beyond the default of 20 that are returned here.',
+ 'attachment_count' => '(int) The total number of attachments for this post. Use the `/sites/$site/media` endpoint to query the attachments beyond the default of 20 that are returned here.',
+ 'metadata' => '(array) Array of post metadata keys and values. All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with access. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
+ 'meta' => '(object) API result meta data',
+ 'capabilities' => '(object) List of post-specific permissions for the user; publish_post, edit_post, delete_post',
+ 'revisions' => '(array) List of post revision IDs. Only available for posts retrieved with context=edit.',
+ 'other_URLs' => '(object) List of URLs for this post. Permalink and slug suggestions.',
);
- // public $response_format =& $this->post_object_format;
-
- function __construct( $args ) {
+ /**
+ * Constructor function.
+ *
+ * @param string|array|object $args — Args.
+ */
+ public function __construct( $args ) {
if ( is_array( $this->post_object_format ) && isset( $this->post_object_format['format'] ) ) {
$this->post_object_format['format'] = get_post_format_strings();
}
- if ( !$this->response_format ) {
+ if ( ! $this->response_format ) {
$this->response_format =& $this->post_object_format;
}
parent::__construct( $args );
@@ -70,19 +81,20 @@ abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
/**
* Get a post by a specified field and value
*
- * @param string $field
- * @param string $field_value
- * @param string $context Post use context (e.g. 'display')
- * @return array Post
+ * @param string $field - the field.
+ * @param string $field_value - the field value.
+ * @param string $context Post use context (e.g. 'display').
+ *
+ * @return array|WP_Error Post
**/
- function get_post_by( $field, $field_value, $context = 'display' ) {
+ public function get_post_by( $field, $field_value, $context = 'display' ) {
// validate input
- if ( ! in_array( $field, array( 'ID', 'name' ) ) ) {
+ if ( ! in_array( $field, array( 'ID', 'name' ), true ) ) {
return new WP_Error( 'invalid_field', 'Invalid API FIELD', 400 );
}
- if ( ! in_array( $context, array( 'display', 'edit' ) ) ) {
+ if ( ! in_array( $context, array( 'display', 'edit' ), true ) ) {
return new WP_Error( 'invalid_context', 'Invalid API CONTEXT', 400 );
}
@@ -93,9 +105,9 @@ abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
}
}
- if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'wp-windows8' ) ) {
+ if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && strpos( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ), 'wp-windows8' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- we're not using this value and making changes, just checking if it exists.
remove_shortcode( 'gallery', 'gallery_shortcode' );
- add_shortcode( 'gallery', array( &$this, 'win8_gallery_shortcode' ) );
+ add_shortcode( 'gallery', array( $this, 'win8_gallery_shortcode' ) );
}
// fetch SAL post
@@ -105,7 +117,7 @@ abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
return $post;
}
- $GLOBALS['post'] = $post;
+ $GLOBALS['post'] = $post; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
// TODO: not sure where this one should go
if ( 'display' === $context ) {
@@ -113,9 +125,9 @@ abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
}
$keys_to_render = array_keys( $this->post_object_format );
- if ( isset( $this->api->query[ 'fields' ] ) ) {
+ if ( isset( $this->api->query['fields'] ) ) {
$limit_to_fields = array_map( 'trim', explode( ',', $this->api->query['fields'] ) );
- $keys_to_render = array_intersect( $keys_to_render, $limit_to_fields );
+ $keys_to_render = array_intersect( $keys_to_render, $limit_to_fields );
}
// always include some keys because processors require it to validate access
@@ -128,179 +140,204 @@ abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
return $response;
}
+ /**
+ * Get SAL post by a specified field and value
+ *
+ * @param string $field - the field.
+ * @param string $field_value - the field value.
+ * @param string $context Post use context (e.g. 'display').
+ *
+ * @return SAL_Post|WP_Error Post
+ **/
protected function get_sal_post_by( $field, $field_value, $context ) {
global $blog_id;
$site = $this->get_platform()->get_site( $blog_id );
$post = ( $field === 'name' ) ?
- $site->get_post_by_name( $field_value, $context ) :
+ $site->get_post_by_name( $field_value, $context ) :
$site->get_post_by_id( $field_value, $context );
return $post;
}
+ /**
+ * Render the response keys.
+ *
+ * @param object $post - the post.
+ * @param string $context Post use context (e.g. 'display').
+ * @param array $keys - the keys.
+ *
+ * @return array
+ */
private function render_response_keys( $post, $context, $keys ) {
+ $response = array();
foreach ( $keys as $key ) {
switch ( $key ) {
- case 'ID' :
- // explicitly cast all output
- $response[$key] = (int) $post->ID;
- break;
- case 'site_ID' :
- $response[$key] = $post->site->get_id();
- break;
- case 'author' :
- $response[$key] = $post->get_author();
- break;
- case 'date' :
- $response[$key] = $post->get_date();
- break;
- case 'modified' :
- $response[$key] = $post->get_modified_date();
- break;
- case 'title' :
- $response[$key] = $post->get_title();
- break;
- case 'URL' :
- $response[$key] = $post->get_url();
- break;
- case 'short_URL' :
- $response[$key] = $post->get_shortlink();
- break;
- case 'content' :
- $response[$key] = $post->get_content();
- break;
- case 'excerpt' :
- $response[$key] = $post->get_excerpt();
- break;
- case 'status' :
- $response[$key] = $post->get_status();
- break;
- case 'sticky' :
- $response[$key] = $post->is_sticky();
- break;
- case 'slug' :
- $response[$key] = $post->get_slug();
- break;
- case 'guid' :
- $response[$key] = $post->get_guid();
- break;
- case 'password' :
- $response[$key] = $post->get_password();
- break;
- case 'parent' : // (object|false)
- $response[$key] = $post->get_parent();
- break;
- case 'type' :
- $response[$key] = $post->get_type();
- break;
- case 'discussion' :
- $response[$key] = $post->get_discussion();
- break;
- case 'likes_enabled' :
- $response[$key] = $post->is_likes_enabled();
- break;
- case 'sharing_enabled' :
- $response[$key] = $post->is_sharing_enabled();
- break;
- case 'like_count' :
- $response[$key] = $post->get_like_count();
- break;
- case 'i_like' :
- $response[$key] = $post->is_liked();
- break;
- case 'is_reblogged':
- $response[$key] = $post->is_reblogged();
- break;
- case 'is_following':
- $response[$key] = $post->is_following();
- break;
- case 'global_ID':
- $response[$key] = $post->get_global_id();
- break;
- case 'featured_image' :
- $response[$key] = $post->get_featured_image();
- break;
- case 'post_thumbnail' :
- $response[$key] = $post->get_post_thumbnail();
- break;
- case 'format' :
- $response[$key] = $post->get_format();
- break;
- case 'geo' : // (object|false)
- $response[$key] = $post->get_geo();
- break;
- case 'menu_order':
- $response[$key] = $post->get_menu_order();
- break;
- case 'page_template':
- $response[$key] = $post->get_page_template();
- break;
- case 'publicize_URLs' :
- $response[$key] = $post->get_publicize_urls();
- break;
- case 'terms':
- $response[$key] = $post->get_terms();
- break;
- case 'tags' :
- $response[$key] = $post->get_tags();
- break;
- case 'categories':
- $response[$key] = $post->get_categories();
- break;
- case 'attachments':
- list( $attachments, $attachment_count ) = $post->get_attachments_and_count();
- $response[$key] = $attachments;
- $response['attachment_count'] = $attachment_count;
- break;
- case 'metadata' : // (array|false)
- $response[$key] = $post->get_metadata();
- break;
- case 'meta' :
- $response[$key] = $post->get_meta();
- break;
- case 'capabilities' :
- $response[$key] = $post->get_current_user_capabilities();
- break;
- case 'revisions' :
- $revisions = $post->get_revisions();
- if ( $revisions ) {
- $response[$key] = $revisions;
- }
- break;
- case 'other_URLs' :
- $response[$key] = $post->get_other_urls();
- break;
+ case 'ID':
+ // explicitly cast all output
+ $response[ $key ] = (int) $post->ID;
+ break;
+ case 'site_ID':
+ $response[ $key ] = $post->site->get_id();
+ break;
+ case 'author':
+ $response[ $key ] = $post->get_author();
+ break;
+ case 'date':
+ $response[ $key ] = $post->get_date();
+ break;
+ case 'modified':
+ $response[ $key ] = $post->get_modified_date();
+ break;
+ case 'title':
+ $response[ $key ] = $post->get_title();
+ break;
+ case 'URL':
+ $response[ $key ] = $post->get_url();
+ break;
+ case 'short_URL':
+ $response[ $key ] = $post->get_shortlink();
+ break;
+ case 'content':
+ $response[ $key ] = $post->get_content();
+ break;
+ case 'excerpt':
+ $response[ $key ] = $post->get_excerpt();
+ break;
+ case 'status':
+ $response[ $key ] = $post->get_status();
+ break;
+ case 'sticky':
+ $response[ $key ] = $post->is_sticky();
+ break;
+ case 'slug':
+ $response[ $key ] = $post->get_slug();
+ break;
+ case 'guid':
+ $response[ $key ] = $post->get_guid();
+ break;
+ case 'password':
+ $response[ $key ] = $post->get_password();
+ break;
+ case 'parent': /** (object|false) */
+ $response[ $key ] = $post->get_parent();
+ break;
+ case 'type':
+ $response[ $key ] = $post->get_type();
+ break;
+ case 'discussion':
+ $response[ $key ] = $post->get_discussion();
+ break;
+ case 'likes_enabled':
+ $response[ $key ] = $post->is_likes_enabled();
+ break;
+ case 'sharing_enabled':
+ $response[ $key ] = $post->is_sharing_enabled();
+ break;
+ case 'like_count':
+ $response[ $key ] = $post->get_like_count();
+ break;
+ case 'i_like':
+ $response[ $key ] = $post->is_liked();
+ break;
+ case 'is_reblogged':
+ $response[ $key ] = $post->is_reblogged();
+ break;
+ case 'is_following':
+ $response[ $key ] = $post->is_following();
+ break;
+ case 'global_ID':
+ $response[ $key ] = $post->get_global_id();
+ break;
+ case 'featured_image':
+ $response[ $key ] = $post->get_featured_image();
+ break;
+ case 'post_thumbnail':
+ $response[ $key ] = $post->get_post_thumbnail();
+ break;
+ case 'format':
+ $response[ $key ] = $post->get_format();
+ break;
+ case 'geo': /** (object|false) */
+ $response[ $key ] = $post->get_geo();
+ break;
+ case 'menu_order':
+ $response[ $key ] = $post->get_menu_order();
+ break;
+ case 'page_template':
+ $response[ $key ] = $post->get_page_template();
+ break;
+ case 'publicize_URLs':
+ $response[ $key ] = $post->get_publicize_urls();
+ break;
+ case 'terms':
+ $response[ $key ] = $post->get_terms();
+ break;
+ case 'tags':
+ $response[ $key ] = $post->get_tags();
+ break;
+ case 'categories':
+ $response[ $key ] = $post->get_categories();
+ break;
+ case 'attachments':
+ list( $attachments, $attachment_count ) = $post->get_attachments_and_count();
+ $response[ $key ] = $attachments;
+ $response['attachment_count'] = $attachment_count;
+ break;
+ case 'metadata': /** (array|false) */
+ $response[ $key ] = $post->get_metadata();
+ break;
+ case 'meta':
+ $response[ $key ] = $post->get_meta();
+ break;
+ case 'capabilities':
+ $response[ $key ] = $post->get_current_user_capabilities();
+ break;
+ case 'revisions':
+ $revisions = $post->get_revisions();
+ if ( $revisions ) {
+ $response[ $key ] = $revisions;
+ }
+ break;
+ case 'other_URLs':
+ $response[ $key ] = $post->get_other_urls();
+ break;
}
}
return $response;
}
- function filter_response( $response ) {
+ /**
+ * Filter respnse.
+ *
+ * @param array $response - the response.
+ * @return array Filtered response.
+ */
+ public function filter_response( $response ) {
// Do minimal processing if the caller didn't request it
- if ( ! isset( $_REQUEST['meta_fields'] ) ) {
+ if ( ! isset( $_REQUEST['meta_fields'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- we're not making any changes to the site.
return $response;
}
// Retrieve an array of field paths, such as: [`autosave.modified`, `autosave.post_ID`]
- $fields = explode( ',', $_REQUEST['meta_fields'] );
+ $fields = explode( ',', sanitize_text_field( wp_unslash( $_REQUEST['meta_fields'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- we're not making any changes to the site.
foreach ( $response['posts'] as $post ) {
- if ( ! isset( $post['meta'] ) || ! isset( $post['meta']->data ) || (! is_array( $post['meta']->data ) && ! is_object( $post['meta']->data ) ) ) {
+ if ( ! isset( $post['meta'] ) || ! isset( $post['meta']->data ) || ( ! is_array( $post['meta']->data ) && ! is_object( $post['meta']->data ) ) ) {
continue;
}
-
- $newmeta = [];
+
+ $newmeta = array();
foreach ( $post['meta']->data as $field_key => $field_value ) {
foreach ( $field_value as $subfield_key => $subfield_value ) {
$key_path = $field_key . '.' . $subfield_key;
- if ( in_array( $key_path, $fields ) ) {
+ if ( in_array( $key_path, $fields, true ) ) {
$newmeta[ $field_key ][ $subfield_key ] = $subfield_value;
}
}
@@ -311,11 +348,19 @@ abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
return $response;
}
-
- // TODO: factor this out
- function get_blog_post( $blog_id, $post_id, $context = 'display' ) {
+
+ /**
+ * Gets the blog post.
+ *
+ * @param int $blog_id - the blog ID.
+ * @param int $post_id - the post ID.
+ * @param string $context - the context.
+ *
+ * @return array|bool|WP_Error
+ */
+ public function get_blog_post( $blog_id, $post_id, $context = 'display' ) {
$blog_id = $this->api->get_blog_id( $blog_id );
- if ( !$blog_id || is_wp_error( $blog_id ) ) {
+ if ( ! $blog_id || is_wp_error( $blog_id ) ) {
return $blog_id;
}
switch_to_blog( $blog_id );
@@ -324,19 +369,26 @@ abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
return $post;
}
- function win8_gallery_shortcode( $attr ) {
+ /**
+ * Win8 Gallery shortcode.
+ *
+ * @param array $attr - the attribute.
+ */
+ public function win8_gallery_shortcode( $attr ) {
global $post;
static $instance = 0;
$instance++;
- $output = '';
+ // @todo - find out if this is a bug, intentionally unused, or can be removed.
+ $output = ''; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
// We're trusting author input, so let's at least make sure it looks like a valid orderby statement
if ( isset( $attr['orderby'] ) ) {
$attr['orderby'] = sanitize_sql_orderby( $attr['orderby'] );
- if ( !$attr['orderby'] )
+ if ( ! $attr['orderby'] ) {
unset( $attr['orderby'] );
+ }
}
$atts = shortcode_atts(
@@ -411,13 +463,15 @@ abstract class WPCOM_JSON_API_Post_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
? wp_get_attachment_link( $id, $size, false, false )
: wp_get_attachment_link( $id, $size, true, false );
- if ( $captiontag && trim($attachment->post_excerpt) ) {
+ // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ if ( $captiontag && trim( $attachment->post_excerpt ) ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
$output .= "<div class='wp-caption aligncenter'>$link
- <p class='wp-caption-text'>" . wptexturize($attachment->post_excerpt) . "</p>
- </div>";
+ <p class='wp-caption-text'>" . wptexturize( $attachment->post_excerpt ) . '</p>
+ </div>';
} else {
$output .= $link . ' ';
}
+ // phpcs:enable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
}
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-endpoint.php
index ced1f7d0..8a6a1014 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-endpoint.php
@@ -1,32 +1,46 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_Render_Embed_Endpoint( array(
- 'description' => "Get a rendered embed for a site. Note: The current user must have publishing access.",
- 'group' => 'sites',
- 'stat' => 'embeds:render',
- 'method' => 'GET',
- 'path' => '/sites/%s/embeds/render',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'query_parameters' => array(
- 'embed_url' => '(string) The query-string encoded embed URL to render. Required. Only accepts one at a time.',
- ),
- 'response_format' => array(
- 'embed_url' => '(string) The embed_url that was passed in for rendering.',
- 'result' => '(html) The rendered HTML result of the embed.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/apiexamples.wordpress.com/embeds/render?embed_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSQEQr7c0-dw',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+new WPCOM_JSON_API_Render_Embed_Endpoint(
+ array(
+ 'description' => 'Get a rendered embed for a site. Note: The current user must have publishing access.',
+ 'group' => 'sites',
+ 'stat' => 'embeds:render',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/embeds/render',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'query_parameters' => array(
+ 'embed_url' => '(string) The query-string encoded embed URL to render. Required. Only accepts one at a time.',
+ ),
+ 'response_format' => array(
+ 'embed_url' => '(string) The embed_url that was passed in for rendering.',
+ 'result' => '(html) The rendered HTML result of the embed.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/apiexamples.wordpress.com/embeds/render?embed_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSQEQr7c0-dw',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
)
-) );
+);
+/**
+ * Render embed endpoint class.
+ *
+ * /sites/%s/embeds/render -> $blog_id
+ */
class WPCOM_JSON_API_Render_Embed_Endpoint extends WPCOM_JSON_API_Render_Endpoint {
- // /sites/%s/embeds/render -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -36,7 +50,7 @@ class WPCOM_JSON_API_Render_Embed_Endpoint extends WPCOM_JSON_API_Render_Endpoin
return new WP_Error( 'unauthorized', __( 'Your token must have permission to post on this blog.', 'jetpack' ), 403 );
}
- $args = $this->query_args();
+ $args = $this->query_args();
$embed_url = trim( $args['embed_url'] );
// quick validation
@@ -45,11 +59,11 @@ class WPCOM_JSON_API_Render_Embed_Endpoint extends WPCOM_JSON_API_Render_Endpoin
}
if ( count( $matches[1] ) > 1 ) {
- return new WP_Error( 'invalid_embed', __( 'Only one embed can be rendered at a time.', 'jetpack' ), 400 );
+ return new WP_Error( 'invalid_embed', __( 'Only one embed can be rendered at a time.', 'jetpack' ), 400 );
}
$embed_url = array_shift( $matches[1] );
- $parts = wp_parse_url( $embed_url );
+ $parts = wp_parse_url( $embed_url );
if ( ! $parts ) {
return new WP_Error( 'invalid_embed_url', __( 'The embed_url parameter must be a valid URL.', 'jetpack' ), 400 );
}
@@ -58,14 +72,15 @@ class WPCOM_JSON_API_Render_Embed_Endpoint extends WPCOM_JSON_API_Render_Endpoin
$render = $this->process_render( array( $this, 'do_embed' ), $embed_url );
// if nothing happened, then the shortcode does not exist.
- $is_an_embed = ( $embed_url != $render['result'] && $wp_embed->maybe_make_link( $embed_url ) != $render['result'] );
+ $is_an_embed = ( $embed_url !== $render['result'] && $wp_embed->maybe_make_link( $embed_url ) !== $render['result'] );
if ( ! $is_an_embed ) {
- return new WP_Error( 'invalid_embed', __( 'The requested URL is not an embed.', 'jetpack' ), 400 );
+ return new WP_Error( 'invalid_embed', __( 'The requested URL is not an embed.', 'jetpack' ), 400 );
}
// our output for this endpoint..
+ $return = array();
$return['embed_url'] = $embed_url;
- $return['result'] = $render['result'];
+ $return['result'] = $render['result'];
$return = $this->add_assets( $return, $render['loaded_scripts'], $render['loaded_styles'] );
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-reversal-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-reversal-endpoint.php
index 32af88da..550b52a4 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-reversal-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-embed-reversal-endpoint.php
@@ -1,41 +1,54 @@
-<?php
-
-new WPCOM_JSON_API_Render_Embed_Reversal_Endpoint( array(
- 'description' => "Determines if the given embed code can be reversed into a single line embed or a shortcode, and if so returns the embed or shortcode. Note: The current user must have publishing access.",
- //'group' => 'sites',
- 'group' => '__do_not_document',
- 'stat' => 'embeds:reversal',
- 'method' => 'POST',
- 'path' => '/sites/%s/embeds/reversal',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'request_format' => array(
- 'maybe_embed' => '(string) The embed code to reverse. Required. Only accepts one at a time.',
- ),
- 'response_format' => array(
- 'maybe_embed' => '(string) The original embed code that was passed in for rendering.',
- 'reversal_type' => '(string) The type of reversal. Either an embed or a shortcode.',
- 'render_result' => '(html) The rendered HTML result of the embed or shortcode.',
- 'result' => '(string) The reversed content. Either a single line embed or a shortcode.',
- 'scripts' => '(array) An array of JavaScript files needed to render the embed or shortcode. Returned in the format of <code>{ "script-slug" : { "src": "http://example.com/file.js", "extra" : "" } }</code> where extra contains any neccessary extra JS for initializing the source file and src contains the script to load. Omitted if no scripts are neccessary.',
- 'styles' => '(array) An array of CSS files needed to render the embed or shortcode. Returned in the format of <code>{ "style-slug" : { "src": "http://example.com/file.css", "media" : "all" } }</code>. Omitted if no styles are neccessary.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/shortcode-reversals/render/',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+new WPCOM_JSON_API_Render_Embed_Reversal_Endpoint(
+ array(
+ 'description' => 'Determines if the given embed code can be reversed into a single line embed or a shortcode, and if so returns the embed or shortcode. Note: The current user must have publishing access.',
+ 'group' => '__do_not_document',
+ 'stat' => 'embeds:reversal',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/embeds/reversal',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
-
- 'body' => array(
- 'maybe_embed' => '<iframe width="480" height="302" src="http://www.ustream.tv/embed/recorded/26370522/highlight/299667?v=3&amp;wmode=direct" scrolling="no" frameborder="0"></iframe>',
- )
- ),
-) );
-
+ 'request_format' => array(
+ 'maybe_embed' => '(string) The embed code to reverse. Required. Only accepts one at a time.',
+ ),
+ 'response_format' => array(
+ 'maybe_embed' => '(string) The original embed code that was passed in for rendering.',
+ 'reversal_type' => '(string) The type of reversal. Either an embed or a shortcode.',
+ 'render_result' => '(html) The rendered HTML result of the embed or shortcode.',
+ 'result' => '(string) The reversed content. Either a single line embed or a shortcode.',
+ 'scripts' => '(array) An array of JavaScript files needed to render the embed or shortcode. Returned in the format of <code>{ "script-slug" : { "src": "http://example.com/file.js", "extra" : "" } }</code> where extra contains any neccessary extra JS for initializing the source file and src contains the script to load. Omitted if no scripts are neccessary.',
+ 'styles' => '(array) An array of CSS files needed to render the embed or shortcode. Returned in the format of <code>{ "style-slug" : { "src": "http://example.com/file.css", "media" : "all" } }</code>. Omitted if no styles are neccessary.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/shortcode-reversals/render/',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+
+ 'body' => array(
+ 'maybe_embed' => '<iframe width="480" height="302" src="http://www.ustream.tv/embed/recorded/26370522/highlight/299667?v=3&amp;wmode=direct" scrolling="no" frameborder="0"></iframe>',
+ ),
+ ),
+ )
+);
+
+/**
+ * Render embed reversal class.
+ *
+ * /sites/%s/embeds/reversal -> $blog_id
+ */
class WPCOM_JSON_API_Render_Embed_Reversal_Endpoint extends WPCOM_JSON_API_Render_Endpoint {
- // /sites/%s/embeds/reversal -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API callback.
+ *
+ * @param string $path - the path (unused).
+ * @param int $blog_id - the blog ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -45,9 +58,10 @@ class WPCOM_JSON_API_Render_Embed_Reversal_Endpoint extends WPCOM_JSON_API_Rende
return new WP_Error( 'unauthorized', 'Your token must have permission to post on this blog.', 403 );
}
- $is_shortcode = $is_embed = false;
+ $is_embed = false;
+ $is_shortcode = false;
- $input = $this->input( true );
+ $input = $this->input( true );
$maybe_embed = trim( $input['maybe_embed'] );
if ( empty( $maybe_embed ) ) {
return new WP_Error( 'empty_embed', 'Please provide an embed code to process.', 400 );
@@ -59,12 +73,13 @@ class WPCOM_JSON_API_Render_Embed_Reversal_Endpoint extends WPCOM_JSON_API_Rende
}
$shortcode_pattern = get_shortcode_regex();
- $url_pattern = '/^http(s)?:\/\/[a-z0-9-]+(.[a-z0-9-]+)*(:[0-9]+)?(\/.*)?$/i';
+ $url_pattern = '/^http(s)?:\/\/[a-z0-9-]+(.[a-z0-9-]+)*(:[0-9]+)?(\/.*)?$/i';
preg_match_all( "/$shortcode_pattern/s", $ksesed_content, $shortcode_matches );
preg_match_all( "$url_pattern", $ksesed_content, $url_matches );
- if ( empty( $shortcode_matches[0] ) && empty( $url_matches[0] ) )
+ if ( empty( $shortcode_matches[0] ) && empty( $url_matches[0] ) ) {
return new WP_Error( 'invalid_embed', 'The provided embed is not supported.', 400 );
+ }
if ( ( count( $shortcode_matches[0] ) + count( $url_matches[0] ) ) > 1 ) {
return new WP_Error( 'invalid_embed', 'Only one embed/shortcode reversal can be rendered at a time.', 400 );
@@ -76,18 +91,25 @@ class WPCOM_JSON_API_Render_Embed_Reversal_Endpoint extends WPCOM_JSON_API_Rende
$is_embed = true;
}
- $render = $this->process_render( array( $this, 'render_shortcode_reversal' ), array( 'shortcode_reversal' => $ksesed_content, 'is_shortcode' => $is_shortcode, 'is_embed' => $is_embed ) );
-
+ $render = $this->process_render(
+ array( $this, 'render_shortcode_reversal' ),
+ array(
+ 'shortcode_reversal' => $ksesed_content,
+ 'is_shortcode' => $is_shortcode,
+ 'is_embed' => $is_embed,
+ )
+ );
// if nothing happened, then the shortcode does not exist.
global $wp_embed;
- if ( empty( $render ) || empty( $render['result'] ) || $ksesed_content == $render['result'] || $wp_embed->maybe_make_link( $maybe_embed ) == $render['result'] ) {
- return new WP_Error( 'invalid_embed', 'The provided embed is not supported.', 400 );
+ if ( empty( $render ) || empty( $render['result'] ) || $ksesed_content === $render['result'] || $wp_embed->maybe_make_link( $maybe_embed ) === $render['result'] ) {
+ return new WP_Error( 'invalid_embed', 'The provided embed is not supported.', 400 );
}
// our output for this endpoint..
- $return['maybe_embed'] = $maybe_embed;
- $return['result'] = $ksesed_content;
+ $return = array();
+ $return['maybe_embed'] = $maybe_embed;
+ $return['result'] = $ksesed_content;
$return['reversal_type'] = ( $is_embed ) ? 'embed' : 'shortcode';
$return['render_result'] = $render['result'];
@@ -96,13 +118,20 @@ class WPCOM_JSON_API_Render_Embed_Reversal_Endpoint extends WPCOM_JSON_API_Rende
return $return;
}
- function render_shortcode_reversal( $args ) {
+ /**
+ * Render the shortcode reversal.
+ *
+ * @param array $args - the arguments.
+ *
+ * @return mixed|false
+ */
+ public function render_shortcode_reversal( $args ) {
if ( $args['is_shortcode'] ) {
- return call_user_func( array( $this, 'do_shortcode' ), $args['shortcode_reversal'] );
- } else if ( $args['is_embed'] ) {
- return call_user_func( array( $this, 'do_embed' ), $args['shortcode_reversal'] );
+ return $this->do_shortcode( $args['shortcode_reversal'] );
+ } elseif ( $args['is_embed'] ) {
+ return $this->do_embed( $args['shortcode_reversal'] );
}
return false;
}
-} \ No newline at end of file
+}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-endpoint.php
index fa8562bf..0f1be2d8 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-endpoint.php
@@ -1,9 +1,10 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-// these are helpers for the shortcode and embed render endpoints
+/**
+ * These are helpers for the shortcode and embed render endpoints.
+ */
abstract class WPCOM_JSON_API_Render_Endpoint extends WPCOM_JSON_API_Endpoint {
-
- /*
+ /**
* Figure out what scripts and styles to load.
* props to o2's o2_Read_API::poll() function for inspiration.
*
@@ -11,8 +12,13 @@ abstract class WPCOM_JSON_API_Render_Endpoint extends WPCOM_JSON_API_Endpoint {
* then we render the embed/shortcode (to both get our result, and to have the shortcode files enqueue their resources)
* then we load wp_head and wp_footer again to see what new resources were added
* finally we find out the url to the source file and any extra info (like media or init js)
+ *
+ * @param mixed $callback - the function callback.
+ * @param mixed $callback_arg - the callback arguments.
+ *
+ * @return array
*/
- function process_render( $callback, $callback_arg ) {
+ public function process_render( $callback, $callback_arg ) {
global $wp_scripts, $wp_styles;
if ( false === defined( 'STYLESHEETPATH' ) ) {
@@ -25,7 +31,7 @@ abstract class WPCOM_JSON_API_Render_Endpoint extends WPCOM_JSON_API_Endpoint {
wp_footer();
ob_end_clean();
$initial_scripts = $wp_scripts->done;
- $initial_styles = $wp_styles->done;
+ $initial_styles = $wp_styles->done;
// actually render the shortcode, get the result, and do the resource loading again so we can subtract..
ob_start();
@@ -38,32 +44,39 @@ abstract class WPCOM_JSON_API_Render_Endpoint extends WPCOM_JSON_API_Endpoint {
// find the difference (the new resource files)
$loaded_scripts = array_diff( $wp_scripts->done, $initial_scripts );
- $loaded_styles = array_diff( $wp_styles->done, $initial_styles );
+ $loaded_styles = array_diff( $wp_styles->done, $initial_styles );
return array(
- 'result' => $result,
+ 'result' => $result,
'loaded_scripts' => $loaded_scripts,
- 'loaded_styles' => $loaded_styles,
+ 'loaded_styles' => $loaded_styles,
);
}
/**
- * Takes the list of styles and scripts and adds them to the JSON response
+ * Takes the list of styles and scripts and adds them to the JSON response.
+ *
+ * @param array $return - what was returned.
+ * @param array $loaded_scripts - the loaded scripts.
+ * @param array $loaded_styles - the loaded styles.
+ *
+ * @return array
*/
- function add_assets( $return, $loaded_scripts, $loaded_styles ) {
+ public function add_assets( $return, $loaded_scripts, $loaded_styles ) {
global $wp_scripts, $wp_styles;
// scripts first, just cuz
if ( count( $loaded_scripts ) > 0 ) {
$scripts = array();
foreach ( $loaded_scripts as $handle ) {
- if ( !isset( $wp_scripts->registered[ $handle ] ) )
+ if ( ! isset( $wp_scripts->registered[ $handle ] ) ) {
continue;
+ }
$src = $wp_scripts->registered[ $handle ]->src;
// attach version and an extra query parameters
$ver = $this->get_version( $wp_scripts->registered[ $handle ]->ver, $wp_scripts->default_version );
if ( isset( $wp_scripts->args[ $handle ] ) ) {
- $ver = $ver ? $ver . '&amp;' . $wp_scripts->args[$handle] : $wp_scripts->args[$handle];
+ $ver = $ver ? $ver . '&amp;' . $wp_scripts->args[ $handle ] : $wp_scripts->args[ $handle ];
}
$src = add_query_arg( 'ver', $ver, $src );
@@ -71,9 +84,9 @@ abstract class WPCOM_JSON_API_Render_Endpoint extends WPCOM_JSON_API_Endpoint {
$scripts[ $handle ] = array(
'src' => $src,
);
- $extra = $wp_scripts->print_extra_script( $handle, false );
- if ( !empty( $extra ) ) {
- $scripts[$handle]['extra'] = $extra;
+ $extra = $wp_scripts->print_extra_script( $handle, false );
+ if ( ! empty( $extra ) ) {
+ $scripts[ $handle ]['extra'] = $extra;
}
}
$return['scripts'] = $scripts;
@@ -82,15 +95,16 @@ abstract class WPCOM_JSON_API_Render_Endpoint extends WPCOM_JSON_API_Endpoint {
if ( count( $loaded_styles ) > 0 ) {
$styles = array();
foreach ( $loaded_styles as $handle ) {
- if ( !isset( $wp_styles->registered[ $handle ] ) )
+ if ( ! isset( $wp_styles->registered[ $handle ] ) ) {
continue;
+ }
$src = $wp_styles->registered[ $handle ]->src;
// attach version and an extra query parameters
$ver = $this->get_version( $wp_styles->registered[ $handle ]->ver, $wp_styles->default_version );
if ( isset( $wp_styles->args[ $handle ] ) ) {
- $ver = $ver ? $ver . '&amp;' . $wp_styles->args[$handle] : $wp_styles->args[$handle];
+ $ver = $ver ? $ver . '&amp;' . $wp_styles->args[ $handle ] : $wp_styles->args[ $handle ];
}
$src = add_query_arg( 'ver', $ver, $src );
@@ -101,8 +115,8 @@ abstract class WPCOM_JSON_API_Render_Endpoint extends WPCOM_JSON_API_Endpoint {
}
// add to an array so we can return all this info
- $styles[ $handle ] = array (
- 'src' => $src,
+ $styles[ $handle ] = array(
+ 'src' => $src,
'media' => $media,
);
}
@@ -114,9 +128,14 @@ abstract class WPCOM_JSON_API_Render_Endpoint extends WPCOM_JSON_API_Endpoint {
}
/**
- * Returns the 'version' string set by the shortcode so different versions of scripts/styles can be loaded
+ * Returns the 'version' string set by the shortcode so different versions of scripts/styles can be loaded.
+ *
+ * @param string $this_scripts_version - this scripts version.
+ * @param string $default_version - the default version.
+ *
+ * @return string
*/
- function get_version( $this_scripts_version, $default_version ) {
+ public function get_version( $this_scripts_version, $default_version ) {
if ( null === $this_scripts_version ) {
$ver = '';
} else {
@@ -126,21 +145,32 @@ abstract class WPCOM_JSON_API_Render_Endpoint extends WPCOM_JSON_API_Endpoint {
}
/**
- * given a shortcode, process and return the result
+ * Given a shortcode, process and return the result.
+ *
+ * @param string $shortcode - the shortcode.
*/
- function do_shortcode( $shortcode ) {
+ public function do_shortcode( $shortcode ) {
return do_shortcode( $shortcode );
}
/**
- * given a one-line embed URL, process and return the result
+ * Given a one-line embed URL, process and return the result.
+ *
+ * @param string $embed_url - the embed URL.
+ *
+ * @return string|false
*/
- function do_embed( $embed_url ) {
+ public function do_embed( $embed_url ) {
// in order for oEmbed to fire in the `$wp_embed->shortcode` method, we need to set a post as the current post
- $_posts = get_posts( array( 'posts_per_page' => 1, 'suppress_filters' => false ) );
+ $_posts = get_posts(
+ array(
+ 'posts_per_page' => 1,
+ 'suppress_filters' => false,
+ )
+ );
if ( ! empty( $_posts ) ) {
global $post;
- $post = array_shift( $_posts );
+ $post = array_shift( $_posts ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
}
global $wp_embed;
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-shortcode-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-shortcode-endpoint.php
index 395fc7ac..8af6eb11 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-shortcode-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-render-shortcode-endpoint.php
@@ -1,34 +1,48 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_Render_Shortcode_Endpoint( array(
- 'description' => "Get a rendered shortcode for a site. Note: The current user must have publishing access.",
- 'group' => 'sites',
- 'stat' => 'shortcodes:render',
- 'method' => 'GET',
- 'path' => '/sites/%s/shortcodes/render',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'query_parameters' => array(
- 'shortcode' => '(string) The query-string encoded shortcode string to render. Required. Only accepts one at a time.',
- ),
- 'response_format' => array(
- 'shortcode' => '(string) The shortcode that was passed in for rendering.',
- 'result' => '(html) The rendered HTML result of the shortcode.',
- 'scripts' => '(array) An array of JavaScript files needed to render the shortcode. Returned in the format of <code>{ "script-slug" : { "src": "http://example.com/file.js", "extra" : "" } }</code> where extra contains any neccessary extra JS for initializing the source file and src contains the script to load. Omitted if no scripts are neccessary.',
- 'styles' => '(array) An array of CSS files needed to render the shortcode. Returned in the format of <code>{ "style-slug" : { "src": "http://example.com/file.css", "media" : "all" } }</code>. Omitted if no styles are neccessary.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/shortcodes/render?shortcode=%5Bgallery%20ids%3D%22729%2C732%2C731%2C720%22%5D',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+new WPCOM_JSON_API_Render_Shortcode_Endpoint(
+ array(
+ 'description' => 'Get a rendered shortcode for a site. Note: The current user must have publishing access.',
+ 'group' => 'sites',
+ 'stat' => 'shortcodes:render',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/shortcodes/render',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'query_parameters' => array(
+ 'shortcode' => '(string) The query-string encoded shortcode string to render. Required. Only accepts one at a time.',
+ ),
+ 'response_format' => array(
+ 'shortcode' => '(string) The shortcode that was passed in for rendering.',
+ 'result' => '(html) The rendered HTML result of the shortcode.',
+ 'scripts' => '(array) An array of JavaScript files needed to render the shortcode. Returned in the format of <code>{ "script-slug" : { "src": "http://example.com/file.js", "extra" : "" } }</code> where extra contains any neccessary extra JS for initializing the source file and src contains the script to load. Omitted if no scripts are neccessary.',
+ 'styles' => '(array) An array of CSS files needed to render the shortcode. Returned in the format of <code>{ "style-slug" : { "src": "http://example.com/file.css", "media" : "all" } }</code>. Omitted if no styles are neccessary.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/shortcodes/render?shortcode=%5Bgallery%20ids%3D%22729%2C732%2C731%2C720%22%5D',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
)
-) );
+);
+/**
+ * Render shortcode endpoint class.
+ *
+ * /sites/%s/shortcodes/render -> $blog_id
+ */
class WPCOM_JSON_API_Render_Shortcode_Endpoint extends WPCOM_JSON_API_Render_Endpoint {
- // /sites/%s/shortcodes/render -> $blog_id
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * The API callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -38,34 +52,35 @@ class WPCOM_JSON_API_Render_Shortcode_Endpoint extends WPCOM_JSON_API_Render_End
return new WP_Error( 'unauthorized', 'Your token must have permission to post on this blog.', 403 );
}
- $args = $this->query_args();
+ $args = $this->query_args();
$shortcode = trim( $args['shortcode'] );
// Quick validation - shortcodes should always be enclosed in brackets []
if ( ! wp_startswith( $shortcode, '[' ) || ! wp_endswith( $shortcode, ']' ) ) {
- return new WP_Error( 'invalid_shortcode', 'The shortcode parameter must begin and end with square brackets.', 400 );
+ return new WP_Error( 'invalid_shortcode', 'The shortcode parameter must begin and end with square brackets.', 400 );
}
// Make sure only one shortcode is being rendered at a time
$pattern = get_shortcode_regex();
preg_match_all( "/$pattern/s", $shortcode, $matches );
if ( count( $matches[0] ) > 1 ) {
- return new WP_Error( 'invalid_shortcode', 'Only one shortcode can be rendered at a time.', 400 );
+ return new WP_Error( 'invalid_shortcode', 'Only one shortcode can be rendered at a time.', 400 );
}
$render = $this->process_render( array( $this, 'do_shortcode' ), $shortcode );
// if nothing happened, then the shortcode does not exist.
- if ( $shortcode == $render['result'] ) {
- return new WP_Error( 'invalid_shortcode', 'The requested shortcode does not exist.', 400 );
+ if ( $shortcode === $render['result'] ) {
+ return new WP_Error( 'invalid_shortcode', 'The requested shortcode does not exist.', 400 );
}
// our output for this endpoint..
+ $return = array();
$return['shortcode'] = $shortcode;
- $return['result'] = $render['result'];
+ $return['result'] = $render['result'];
$return = $this->add_assets( $return, $render['loaded_scripts'], $render['loaded_styles'] );
return $return;
}
-} \ No newline at end of file
+}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-sharing-buttons-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-sharing-buttons-endpoint.php
index 53150df6..08059462 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-sharing-buttons-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-sharing-buttons-endpoint.php
@@ -1,11 +1,30 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+/**
+ * Sharing button endpoint class.
+ */
abstract class WPCOM_JSON_API_Sharing_Button_Endpoint extends WPCOM_JSON_API_Endpoint {
+ /**
+ * All visibilties.
+ *
+ * @var array
+ */
public static $all_visibilities = array( 'visible', 'hidden' );
+ /**
+ * Sharing service.
+ *
+ * @var Sharing_Service
+ */
protected $sharing_service;
+ /**
+ * Setup function.
+ *
+ * @return null|WP_Error
+ */
protected function setup() {
if ( class_exists( 'Sharing_Service' ) ) {
$this->sharing_service = new Sharing_Service();
@@ -13,19 +32,25 @@ abstract class WPCOM_JSON_API_Sharing_Button_Endpoint extends WPCOM_JSON_API_End
if ( ! current_user_can( 'manage_options' ) ) {
return new WP_Error( 'forbidden', 'You do not have the capability to manage sharing buttons for this site', 403 );
- } else if ( ! class_exists( 'Sharing_Service' ) || ! class_exists( 'Sharing_Source' ) ||
+ } elseif ( ! class_exists( 'Sharing_Service' ) || ! class_exists( 'Sharing_Source' ) ||
( method_exists( 'Jetpack', 'is_module_active' ) && ! Jetpack::is_module_active( 'sharedaddy' ) ) ) {
return new WP_Error( 'missing_jetpack_module', 'The Sharing module must be activated in order to use this endpoint', 400 );
}
}
+ /**
+ * Format the sharing button.
+ *
+ * @param object $button - the button object.
+ * @return array
+ */
public function format_sharing_button( $button ) {
$response = array(
- 'ID' => $button->get_id(),
- 'name' => $button->get_name(),
- 'shortname' => $button->shortname,
- 'custom' => is_a( $button, 'Share_Custom' ),
- 'enabled' => $this->is_button_enabled( $button ),
+ 'ID' => $button->get_id(),
+ 'name' => $button->get_name(),
+ 'shortname' => $button->shortname,
+ 'custom' => is_a( $button, 'Share_Custom' ),
+ 'enabled' => $this->is_button_enabled( $button ),
);
if ( $response['enabled'] ) {
@@ -54,10 +79,17 @@ abstract class WPCOM_JSON_API_Sharing_Button_Endpoint extends WPCOM_JSON_API_End
return $response;
}
+ /**
+ * Get the button visibility.
+ *
+ * @param object $button - the button object.
+ *
+ * @return string|false
+ */
public function get_button_visibility( $button ) {
- $services = $this->sharing_service->get_blog_services();
+ $services = $this->sharing_service->get_blog_services();
$visibilities = self::$all_visibilities;
- $button_id = $button->get_id();
+ $button_id = $button->get_id();
foreach ( $visibilities as $visibility ) {
if ( isset( $services[ $visibility ][ $button_id ] ) ) {
@@ -68,26 +100,55 @@ abstract class WPCOM_JSON_API_Sharing_Button_Endpoint extends WPCOM_JSON_API_End
return false;
}
+ /**
+ * Check if the button is enabled.
+ *
+ * @param object $button - the button object.
+ *
+ * @return bool
+ */
public function is_button_enabled( $button ) {
return false !== $this->get_button_visibility( $button );
}
+ /**
+ * Check if button is for custom (?).
+ *
+ * @param array $button - the button array.
+ *
+ * @return bool
+ */
protected function is_button_input_for_custom( $button ) {
return ( isset( $button['custom'] ) && $button['custom'] ) ||
( isset( $button['ID'] ) && 1 === preg_match( '/^custom-/', $button['ID'] ) ) ||
! empty( $button['name'] ) || ! empty( $button['URL'] ) || ! empty( $button['icon'] );
}
+ /**
+ * Validate the button input.
+ *
+ * @param array $button - the button array.
+ * @param bool $is_new - if the button is new.
+ *
+ * @return null|WP_Error
+ */
protected function validate_button_input( $button, $is_new = false ) {
- if ( ! empty( $button['visibility'] ) && ! in_array( $button['visibility'], self::$all_visibilities ) ) {
+ if ( ! empty( $button['visibility'] ) && ! in_array( $button['visibility'], self::$all_visibilities, true ) ) {
return new WP_Error( 'invalid_visibility', sprintf( 'The visibility field must be one of the following values: %s', implode( ', ', self::$all_visibilities ) ), 400 );
- } else if ( $is_new && empty( $button['URL'] ) ) {
+ } elseif ( $is_new && empty( $button['URL'] ) ) {
return new WP_Error( 'invalid_request', 'The URL field is required', 400 );
- } else if ( $is_new && empty( $button['icon'] ) ) {
+ } elseif ( $is_new && empty( $button['icon'] ) ) {
return new WP_Error( 'invalid_request', 'The icon field is required', 400 );
}
}
+ /**
+ * Create a custom button.
+ *
+ * @param array $button - the button array.
+ *
+ * @return Share_Custom|false
+ */
public function create_custom_button( $button ) {
// Default visibility to 'visible' if enabled
if ( empty( $button['visibility'] ) && true === $button['enabled'] ) {
@@ -104,6 +165,14 @@ abstract class WPCOM_JSON_API_Sharing_Button_Endpoint extends WPCOM_JSON_API_End
return $updated_service;
}
+ /**
+ * Update the button.
+ *
+ * @param int $button_id - the button id.
+ * @param array $button - the button array.
+ *
+ * @return Share_Custom|WP_Error
+ */
public function update_button( $button_id, $button ) {
$blog_services = $this->sharing_service->get_blog_services();
@@ -115,31 +184,38 @@ abstract class WPCOM_JSON_API_Sharing_Button_Endpoint extends WPCOM_JSON_API_End
}
$updated_service = $all_buttons[ $button_id ];
- $service_id = $updated_service->get_id();
+ $service_id = $updated_service->get_id();
if ( is_a( $all_buttons[ $button_id ], 'Share_Custom' ) ) {
// Replace options for existing custom button
- $options = $updated_service->get_options();
- $name = isset( $button['name'] ) ? $button['name'] : $options['name'];
- $url = isset( $button['URL'] ) ? $button['URL'] : $options['url'];
- $icon = isset( $button['icon'] ) ? $button['icon'] : $options['icon'];
- $updated_service = new Share_Custom( $service_id, array( 'name' => $name, 'url' => $url, 'icon' => $icon ) );
+ $options = $updated_service->get_options();
+ $name = isset( $button['name'] ) ? $button['name'] : $options['name'];
+ $url = isset( $button['URL'] ) ? $button['URL'] : $options['url'];
+ $icon = isset( $button['icon'] ) ? $button['icon'] : $options['icon'];
+ $updated_service = new Share_Custom(
+ $service_id,
+ array(
+ 'name' => $name,
+ 'url' => $url,
+ 'icon' => $icon,
+ )
+ );
$this->sharing_service->set_service( $button_id, $updated_service );
}
// Default visibility to 'visible' if enabled
if ( empty( $button['visibility'] ) && true === $button['enabled'] ) {
$button['visibility'] = 'visible';
- } else if ( false === $button['enabled'] ) {
+ } elseif ( false === $button['enabled'] ) {
unset( $button['visibility'] );
}
// Update button visibility and enabled status
$visibility_changed = ( isset( $button['visibility'] ) || true === $button['enabled'] ) && ! array_key_exists( $service_id, $blog_services[ $button['visibility'] ] );
- $is_disabling = false === $button['enabled'];
+ $is_disabling = false === $button['enabled'];
if ( $visibility_changed || $is_disabling ) {
// Remove from all other visibilities
foreach ( $blog_services as $service_visibility => $services ) {
- if ( $is_disabling || $service_visibility !== $button['visibility'] ) {
+ if ( $is_disabling || $service_visibility !== $button['visibility'] ) {
unset( $blog_services[ $service_visibility ][ $service_id ] );
}
}
@@ -156,28 +232,29 @@ abstract class WPCOM_JSON_API_Sharing_Button_Endpoint extends WPCOM_JSON_API_End
}
-new WPCOM_JSON_API_Get_Sharing_Buttons_Endpoint( array(
- 'description' => 'Get a list of a site\'s sharing buttons.',
- 'group' => 'sharing',
- 'stat' => 'sharing-buttons',
- 'method' => 'GET',
- 'path' => '/sites/%s/sharing-buttons/',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'query_parameters' => array(
- 'enabled_only' => '(bool) If true, only enabled sharing buttons are included in the response',
- 'visibility' => '(string) The type of enabled sharing buttons to filter by, either "visible" or "hidden"',
- ),
- 'response_format' => array(
- 'found' => '(int) The total number of sharing buttons found that match the request.',
- 'sharing_buttons' => '(array:object) Array of sharing button objects',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- ),
- 'example_response' => '
+new WPCOM_JSON_API_Get_Sharing_Buttons_Endpoint(
+ array(
+ 'description' => 'Get a list of a site\'s sharing buttons.',
+ 'group' => 'sharing',
+ 'stat' => 'sharing-buttons',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/sharing-buttons/',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'query_parameters' => array(
+ 'enabled_only' => '(bool) If true, only enabled sharing buttons are included in the response',
+ 'visibility' => '(string) The type of enabled sharing buttons to filter by, either "visible" or "hidden"',
+ ),
+ 'response_format' => array(
+ 'found' => '(int) The total number of sharing buttons found that match the request.',
+ 'sharing_buttons' => '(array:object) Array of sharing button objects',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ ),
+ 'example_response' => '
{
"found": 2,
"sharing_buttons": [
@@ -200,12 +277,24 @@ new WPCOM_JSON_API_Get_Sharing_Buttons_Endpoint( array(
"genericon": "\\f203"
}
]
-}'
-) );
-
+}',
+ )
+);
+
+/**
+ * Get sharing buttons endpoint class.
+ *
+ * GET /sites/%s/sharing-buttons -> $blog_id
+ */
class WPCOM_JSON_API_Get_Sharing_Buttons_Endpoint extends WPCOM_JSON_API_Sharing_Button_Endpoint {
- // GET /sites/%s/sharing-buttons -> $blog_id
+ /**
+ * API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @return array|WP_Error
+ */
public function callback( $path = '', $blog_id = 0 ) {
$args = $this->query_args();
@@ -220,7 +309,7 @@ class WPCOM_JSON_API_Get_Sharing_Buttons_Endpoint extends WPCOM_JSON_API_Sharing
return $continue;
}
- if ( ! empty( $args['visibility'] ) && ! in_array( $args['visibility'], self::$all_visibilities ) ) {
+ if ( ! empty( $args['visibility'] ) && ! in_array( $args['visibility'], self::$all_visibilities, true ) ) {
return new WP_Error( 'invalid_visibility', sprintf( 'The visibility field must be one of the following values: %s', implode( ', ', self::$all_visibilities ) ), 400 );
}
@@ -228,9 +317,9 @@ class WPCOM_JSON_API_Get_Sharing_Buttons_Endpoint extends WPCOM_JSON_API_Sharing
$visibilities = empty( $args['visibility'] ) ? self::$all_visibilities : array( $args['visibility'] );
// Discover enabled services
- $buttons = array();
+ $buttons = array();
$enabled_services = $this->sharing_service->get_blog_services();
- $all_services = $this->sharing_service->get_all_services_blog();
+ $all_services = $this->sharing_service->get_all_services_blog();
// Include buttons of desired visibility
foreach ( $visibilities as $visibility ) {
@@ -255,37 +344,38 @@ class WPCOM_JSON_API_Get_Sharing_Buttons_Endpoint extends WPCOM_JSON_API_Sharing
return array(
'found' => count( $response ),
- 'sharing_buttons' => $response
+ 'sharing_buttons' => $response,
);
}
}
-new WPCOM_JSON_API_Get_Sharing_Button_Endpoint( array(
- 'description' => 'Get information about a single sharing button.',
- 'group' => '__do_not_document',
- 'stat' => 'sharing-buttons:1',
- 'method' => 'GET',
- 'path' => '/sites/%s/sharing-buttons/%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$button_id' => '(string) The button ID',
- ),
- 'response_format' => array(
- 'ID' => '(int) Sharing button ID',
- 'name' => '(string) Sharing button name, used as a label on the button itself',
- 'shortname' => '(string) A generated short name for the sharing button',
- 'URL' => '(string) The URL pattern defined for a custom sharing button',
- 'icon' => '(string) URL to the 16x16 icon defined for a custom sharing button',
- 'genericon' => '(string) Icon character in Genericons icon set',
- 'custom' => '(bool) Is the button a user-created custom sharing button?',
- 'enabled' => '(bool) Is the button currently enabled for the site?',
- 'visibility' => '(string) If enabled, the current visibility of the sharing button, either "visible" or "hidden"',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/facebook',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- ),
- 'example_response' => '{
+new WPCOM_JSON_API_Get_Sharing_Button_Endpoint(
+ array(
+ 'description' => 'Get information about a single sharing button.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sharing-buttons:1',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/sharing-buttons/%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$button_id' => '(string) The button ID',
+ ),
+ 'response_format' => array(
+ 'ID' => '(int) Sharing button ID',
+ 'name' => '(string) Sharing button name, used as a label on the button itself',
+ 'shortname' => '(string) A generated short name for the sharing button',
+ 'URL' => '(string) The URL pattern defined for a custom sharing button',
+ 'icon' => '(string) URL to the 16x16 icon defined for a custom sharing button',
+ 'genericon' => '(string) Icon character in Genericons icon set',
+ 'custom' => '(bool) Is the button a user-created custom sharing button?',
+ 'enabled' => '(bool) Is the button currently enabled for the site?',
+ 'visibility' => '(string) If enabled, the current visibility of the sharing button, either "visible" or "hidden"',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/facebook',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ ),
+ 'example_response' => '{
"ID": "facebook",
"name": "Facebook",
"shortname": "facebook",
@@ -293,12 +383,25 @@ new WPCOM_JSON_API_Get_Sharing_Button_Endpoint( array(
"enabled": true,
"visibility": "visible",
"genericon": "\\f203"
-}'
-) );
-
+}',
+ )
+);
+
+/**
+ * Get sharing button endpoint class.
+ *
+ * GET /sites/%s/sharing-buttons/%s -> $blog_id, $button_id
+ */
class WPCOM_JSON_API_Get_Sharing_Button_Endpoint extends WPCOM_JSON_API_Sharing_Button_Endpoint {
- // GET /sites/%s/sharing-buttons/%s -> $blog_id, $button_id
+ /**
+ * API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $button_id - the button id.
+ * @return array|WP_Error
+ */
public function callback( $path = '', $blog_id = 0, $button_id = 0 ) {
// Validate request
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
@@ -322,37 +425,38 @@ class WPCOM_JSON_API_Get_Sharing_Button_Endpoint extends WPCOM_JSON_API_Sharing_
}
-new WPCOM_JSON_API_Update_Sharing_Buttons_Endpoint( array(
- 'description' => 'Edit all sharing buttons for a site.',
- 'group' => 'sharing',
- 'stat' => 'sharing-buttons:X:POST',
- 'method' => 'POST',
- 'path' => '/sites/%s/sharing-buttons',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'request_format' => array(
- 'sharing_buttons' => '(array:sharing_button) An array of sharing button objects',
- ),
- 'response_format' => array(
- 'success' => '(bool) Confirmation that all sharing buttons were updated as specified',
- 'updated' => '(array) An array of updated sharing buttons',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN',
+new WPCOM_JSON_API_Update_Sharing_Buttons_Endpoint(
+ array(
+ 'description' => 'Edit all sharing buttons for a site.',
+ 'group' => 'sharing',
+ 'stat' => 'sharing-buttons:X:POST',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/sharing-buttons',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'body' => array(
- 'sharing_buttons' => array(
- array(
- 'ID' => 'facebook',
- 'visibility' => 'hidden',
- )
- )
- )
- ),
- 'example_response' => '{
+ 'request_format' => array(
+ 'sharing_buttons' => '(array:sharing_button) An array of sharing button objects',
+ ),
+ 'response_format' => array(
+ 'success' => '(bool) Confirmation that all sharing buttons were updated as specified',
+ 'updated' => '(array) An array of updated sharing buttons',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'sharing_buttons' => array(
+ array(
+ 'ID' => 'facebook',
+ 'visibility' => 'hidden',
+ ),
+ ),
+ ),
+ ),
+ 'example_response' => '{
"success": true,
"updated": [
{
@@ -365,12 +469,25 @@ new WPCOM_JSON_API_Update_Sharing_Buttons_Endpoint( array(
"genericon": "\\f204"
}
]
-}'
-) );
-
+}',
+ )
+);
+
+/**
+ * Update sharing buttons endpoint.
+ *
+ * POST /sites/%s/sharing-buttons -> $blog_id
+ */
class WPCOM_JSON_API_Update_Sharing_Buttons_Endpoint extends WPCOM_JSON_API_Sharing_Button_Endpoint {
- // POST /sites/%s/sharing-buttons -> $blog_id
+ /**
+ * API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ *
+ * @return array|WP_Error
+ */
public function callback( $path = '', $blog_id = 0 ) {
$input = $this->input();
@@ -395,7 +512,7 @@ class WPCOM_JSON_API_Update_Sharing_Buttons_Endpoint extends WPCOM_JSON_API_Shar
// issues exist before continuing to update
foreach ( $input['sharing_buttons'] as $button ) {
$button_exists = isset( $button['ID'] ) && array_key_exists( $button['ID'], $all_buttons );
- $is_custom = $this->is_button_input_for_custom( $button );
+ $is_custom = $this->is_button_input_for_custom( $button );
// If neither custom nor existing, bail
if ( ! $button_exists && ! $is_custom ) {
@@ -435,53 +552,54 @@ class WPCOM_JSON_API_Update_Sharing_Buttons_Endpoint extends WPCOM_JSON_API_Shar
return array(
'success' => $success,
- 'updated' => $updated
+ 'updated' => $updated,
);
}
}
-new WPCOM_JSON_API_Update_Sharing_Button_Endpoint( array(
- 'description' => 'Create a new custom sharing button.',
- 'group' => '__do_not_document',
- 'stat' => 'sharing-buttons:new',
- 'method' => 'POST',
- 'path' => '/sites/%s/sharing-buttons/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'request_format' => array(
- 'name' => '(string) The name for your custom sharing button, used as a label on the button itself',
- 'URL' => '(string) The URL to use for share links, including optional placeholders (%post_id%, %post_title%, %post_slug%, %post_url%, %post_full_url%, %post_excerpt%, %post_tags%, %home_url%)',
- 'icon' => '(string) The full URL to a 16x16 icon to display on the sharing button',
- 'enabled' => '(bool) Is the button currently enabled for the site?',
- 'visibility' => '(string) If enabled, the visibility of the sharing button, either "visible" (default) or "hidden"',
- ),
- 'response_format' => array(
- 'ID' => '(string) Sharing button ID',
- 'name' => '(string) Sharing button name, used as a label on the button itself',
- 'shortname' => '(string) A generated short name for the sharing button',
- 'URL' => '(string) The URL pattern defined for a custom sharing button',
- 'icon' => '(string) URL to the 16x16 icon defined for a custom sharing button',
- 'genericon' => '(string) Icon character in Genericons icon set',
- 'custom' => '(bool) Is the button a user-created custom sharing button?',
- 'enabled' => '(bool) Is the button currently enabled for the site?',
- 'visibility' => '(string) If enabled, the current visibility of the sharing button, either "visible" or "hidden"',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/new/',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+new WPCOM_JSON_API_Update_Sharing_Button_Endpoint(
+ array(
+ 'description' => 'Create a new custom sharing button.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sharing-buttons:new',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/sharing-buttons/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+ 'request_format' => array(
+ 'name' => '(string) The name for your custom sharing button, used as a label on the button itself',
+ 'URL' => '(string) The URL to use for share links, including optional placeholders (%post_id%, %post_title%, %post_slug%, %post_url%, %post_full_url%, %post_excerpt%, %post_tags%, %home_url%)',
+ 'icon' => '(string) The full URL to a 16x16 icon to display on the sharing button',
+ 'enabled' => '(bool) Is the button currently enabled for the site?',
+ 'visibility' => '(string) If enabled, the visibility of the sharing button, either "visible" (default) or "hidden"',
+ ),
+ 'response_format' => array(
+ 'ID' => '(string) Sharing button ID',
+ 'name' => '(string) Sharing button name, used as a label on the button itself',
+ 'shortname' => '(string) A generated short name for the sharing button',
+ 'URL' => '(string) The URL pattern defined for a custom sharing button',
+ 'icon' => '(string) URL to the 16x16 icon defined for a custom sharing button',
+ 'genericon' => '(string) Icon character in Genericons icon set',
+ 'custom' => '(bool) Is the button a user-created custom sharing button?',
+ 'enabled' => '(bool) Is the button currently enabled for the site?',
+ 'visibility' => '(string) If enabled, the current visibility of the sharing button, either "visible" or "hidden"',
),
- 'body' => array(
- 'name' => 'Custom',
- 'URL' => 'https://www.wordpress.com/%post_name%',
- 'icon' => 'https://en.wordpress.com/i/stats-icon.gif',
- 'enabled' => true,
- 'visibility' => 'visible'
- )
- ),
- 'example_response' => '{
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/new/',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'name' => 'Custom',
+ 'URL' => 'https://www.wordpress.com/%post_name%',
+ 'icon' => 'https://en.wordpress.com/i/stats-icon.gif',
+ 'enabled' => true,
+ 'visibility' => 'visible',
+ ),
+ ),
+ 'example_response' => '{
"ID": "custom-123456789",
"name": "Custom",
"shortname": "custom",
@@ -490,47 +608,49 @@ new WPCOM_JSON_API_Update_Sharing_Button_Endpoint( array(
"custom": true,
"enabled": true,
"visibility": "visible"
-}'
-) );
-
-new WPCOM_JSON_API_Update_Sharing_Button_Endpoint( array(
- 'description' => 'Edit a sharing button.',
- 'group' => '__do_not_document',
- 'stat' => 'sharing-buttons:1:POST',
- 'method' => 'POST',
- 'path' => '/sites/%s/sharing-buttons/%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$button_id' => '(string) The button ID',
- ),
- 'request_format' => array(
- 'name' => '(string) Only if a custom sharing button, a new name used as a label on the button itself',
- 'URL' => '(string) Only if a custom sharing button, the URL to use for share links, including optional placeholders (%post_title%, %post_url%, %post_full_url%, %post_excerpt%, %post_tags%)',
- 'icon' => '(string) Only if a custom sharing button, the full URL to a 16x16 icon to display on the sharing button',
- 'enabled' => '(bool) Is the button currently enabled for the site?',
- 'visibility' => '(string) If enabled, the visibility of the sharing button, either "visible" (default) or "hidden"',
- ),
- 'response_format' => array(
- 'ID' => '(string) Sharing button ID',
- 'name' => '(string) Sharing button name, used as a label on the button itself',
- 'shortname' => '(string) A generated short name for the sharing button',
- 'URL' => '(string) The URL pattern defined for a custom sharing button',
- 'icon' => '(string) URL to the 16x16 icon defined for a custom sharing button',
- 'genericon' => '(string) Icon character in Genericons icon set',
- 'custom' => '(bool) Is the button a user-created custom sharing button?',
- 'enabled' => '(bool) Is the button currently enabled for the site?',
- 'visibility' => '(string) If enabled, the current visibility of the sharing button, either "visible" or "hidden"',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/custom-123456789/',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+}',
+ )
+);
+
+new WPCOM_JSON_API_Update_Sharing_Button_Endpoint(
+ array(
+ 'description' => 'Edit a sharing button.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sharing-buttons:1:POST',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/sharing-buttons/%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$button_id' => '(string) The button ID',
+ ),
+ 'request_format' => array(
+ 'name' => '(string) Only if a custom sharing button, a new name used as a label on the button itself',
+ 'URL' => '(string) Only if a custom sharing button, the URL to use for share links, including optional placeholders (%post_title%, %post_url%, %post_full_url%, %post_excerpt%, %post_tags%)',
+ 'icon' => '(string) Only if a custom sharing button, the full URL to a 16x16 icon to display on the sharing button',
+ 'enabled' => '(bool) Is the button currently enabled for the site?',
+ 'visibility' => '(string) If enabled, the visibility of the sharing button, either "visible" (default) or "hidden"',
+ ),
+ 'response_format' => array(
+ 'ID' => '(string) Sharing button ID',
+ 'name' => '(string) Sharing button name, used as a label on the button itself',
+ 'shortname' => '(string) A generated short name for the sharing button',
+ 'URL' => '(string) The URL pattern defined for a custom sharing button',
+ 'icon' => '(string) URL to the 16x16 icon defined for a custom sharing button',
+ 'genericon' => '(string) Icon character in Genericons icon set',
+ 'custom' => '(bool) Is the button a user-created custom sharing button?',
+ 'enabled' => '(bool) Is the button currently enabled for the site?',
+ 'visibility' => '(string) If enabled, the current visibility of the sharing button, either "visible" or "hidden"',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/custom-123456789/',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'enabled' => false,
+ ),
),
- 'body' => array(
- 'enabled' => false,
- )
- ),
- 'example_response' => '{
+ 'example_response' => '{
"ID": "custom-123456789",
"name": "Custom",
"shortname": "custom",
@@ -538,15 +658,29 @@ new WPCOM_JSON_API_Update_Sharing_Button_Endpoint( array(
"enabled": false,
"icon": "https://en.wordpress.com/i/stats-icon.gif",
"url": "https://www.wordpress.com/%post_name%"
-}'
-) );
-
+}',
+ )
+);
+
+/**
+ * Sharing button endpoint class.
+ *
+ * POST /sites/%s/sharing-buttons/new -> $blog_id
+ * POST /sites/%s/sharing-buttons/%s -> $blog_id, $button_id
+ */
class WPCOM_JSON_API_Update_Sharing_Button_Endpoint extends WPCOM_JSON_API_Sharing_Button_Endpoint {
- // POST /sites/%s/sharing-buttons/new -> $blog_id
- // POST /sites/%s/sharing-buttons/%s -> $blog_id, $button_id
+ /**
+ * API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $button_id - the button ID.
+ *
+ * @return array|WP_Error
+ */
public function callback( $path = '', $blog_id = 0, $button_id = 0 ) {
- $new = $this->api->ends_with( $path, '/new' );
+ $new = $this->api->ends_with( $path, '/new' );
$input = $this->input();
// Validate request
@@ -574,7 +708,7 @@ class WPCOM_JSON_API_Update_Sharing_Button_Endpoint extends WPCOM_JSON_API_Shari
if ( false === $updated_service ) {
return new WP_Error( 'invalid_request', sprintf( 'The sharing button was not %s', $new ? 'created' : 'updated' ), 400 );
- } else if ( is_wp_error( $updated_service ) ) {
+ } elseif ( is_wp_error( $updated_service ) ) {
return $updated_service;
} else {
return $this->format_sharing_button( $updated_service );
@@ -583,33 +717,47 @@ class WPCOM_JSON_API_Update_Sharing_Button_Endpoint extends WPCOM_JSON_API_Shari
}
-new WPCOM_JSON_API_Delete_Sharing_Button_Endpoint( array(
- 'description' => 'Delete a custom sharing button.',
- 'group' => '__do_not_document',
- 'stat' => 'sharing-buttons:1:delete',
- 'method' => 'POST',
- 'path' => '/sites/%s/sharing-buttons/%s/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$button_id' => '(string) The button ID',
- ),
- 'response_format' => array(
- 'ID' => '(int) The ID of the deleted sharing button',
- 'success' => '(bool) Confirmation that the sharing button has been removed'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/custom-123456789/delete',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- ),
- 'example_response' => '{
+new WPCOM_JSON_API_Delete_Sharing_Button_Endpoint(
+ array(
+ 'description' => 'Delete a custom sharing button.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sharing-buttons:1:delete',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/sharing-buttons/%s/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$button_id' => '(string) The button ID',
+ ),
+ 'response_format' => array(
+ 'ID' => '(int) The ID of the deleted sharing button',
+ 'success' => '(bool) Confirmation that the sharing button has been removed',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/sharing-buttons/custom-123456789/delete',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ ),
+ 'example_response' => '{
"ID": "custom-123456789",
"success": "true"
-}'
-) );
-
+}',
+ )
+);
+
+/**
+ * Delete sharing button endpoint class.
+ *
+ * POST /sites/%s/sharing-buttons/%s/delete -> $blog_id, $button_id
+ */
class WPCOM_JSON_API_Delete_Sharing_Button_Endpoint extends WPCOM_JSON_API_Sharing_Button_Endpoint {
-
- // POST /sites/%s/sharing-buttons/%s/delete -> $blog_id, $button_id
+ /**
+ * API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $button_id - the button ID.
+ *
+ * @return array|WP_Error
+ */
public function callback( $path = '', $blog_id = 0, $button_id = 0 ) {
// Validate request
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
@@ -637,7 +785,7 @@ class WPCOM_JSON_API_Delete_Sharing_Button_Endpoint extends WPCOM_JSON_API_Shari
$success = $this->sharing_service->delete_service( $button_id );
return array(
'ID' => $button_id,
- 'success' => $success
+ 'success' => $success,
);
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php
index ca8e1ec3..3a20ea80 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php
@@ -263,7 +263,7 @@ class WPCOM_JSON_API_Site_Settings_Endpoint extends WPCOM_JSON_API_Endpoint {
*/
protected function get_cast_option_value_or_null( $option_name, $cast_callable ) {
$option_value = get_option( $option_name, null );
- if ( is_null( $option_value ) ) {
+ if ( $option_value === null ) {
return $option_value;
}
@@ -416,6 +416,12 @@ class WPCOM_JSON_API_Site_Settings_Endpoint extends WPCOM_JSON_API_Endpoint {
'date_format' => get_option( 'date_format' ),
'time_format' => get_option( 'time_format' ),
'start_of_week' => get_option( 'start_of_week' ),
+ 'woocommerce_onboarding_profile' => (array) get_option( 'woocommerce_onboarding_profile', array() ),
+ 'woocommerce_store_address' => (string) get_option( 'woocommerce_store_address' ),
+ 'woocommerce_store_address_2' => (string) get_option( 'woocommerce_store_address_2' ),
+ 'woocommerce_store_city' => (string) get_option( 'woocommerce_store_city' ),
+ 'woocommerce_default_country' => (string) get_option( 'woocommerce_default_country' ),
+ 'woocommerce_store_postcode' => (string) get_option( 'woocommerce_store_postcode' ),
'jetpack_testimonial' => (bool) get_option( 'jetpack_testimonial', '0' ),
'jetpack_testimonial_posts_per_page' => (int) get_option( 'jetpack_testimonial_posts_per_page', '10' ),
'jetpack_portfolio' => (bool) get_option( 'jetpack_portfolio', '0' ),
@@ -567,7 +573,7 @@ class WPCOM_JSON_API_Site_Settings_Endpoint extends WPCOM_JSON_API_Endpoint {
$coerce_value = ( $value ) ? 'open' : 'closed';
if ( update_option( $key, $coerce_value ) ) {
$updated[ $key ] = $value;
- };
+ }
break;
case 'jetpack_protect_whitelist':
if ( function_exists( 'jetpack_protect_save_whitelist' ) ) {
@@ -751,6 +757,33 @@ class WPCOM_JSON_API_Site_Settings_Endpoint extends WPCOM_JSON_API_Endpoint {
}
break;
+ case 'woocommerce_onboarding_profile':
+ // Allow boolean values but sanitize_text_field everything else.
+ $sanitized_value = (array) $value;
+ array_walk_recursive(
+ $sanitized_value,
+ function ( &$value ) {
+ if ( ! is_bool( $value ) ) {
+ $value = sanitize_text_field( $value );
+ }
+ }
+ );
+ if ( update_option( $key, $sanitized_value ) ) {
+ $updated[ $key ] = $sanitized_value;
+ }
+ break;
+
+ case 'woocommerce_store_address':
+ case 'woocommerce_store_address_2':
+ case 'woocommerce_store_city':
+ case 'woocommerce_default_country':
+ case 'woocommerce_store_postcode':
+ $sanitized_value = sanitize_text_field( $value );
+ if ( update_option( $key, $sanitized_value ) ) {
+ $updated[ $key ] = $sanitized_value;
+ }
+ break;
+
case 'date_format':
case 'time_format':
// settings are stored as strings.
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-2-endpoint.php
index 41889ba3..15dfac4e 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-2-endpoint.php
@@ -1,117 +1,129 @@
-<?php
-
-new WPCOM_JSON_API_Site_Settings_V1_2_Endpoint( array(
- 'description' => 'Get detailed settings information about a site.',
- 'group' => '__do_not_document',
- 'stat' => 'sites:X',
- 'min_version' => '1.2',
- 'method' => 'GET',
- 'path' => '/sites/%s/settings',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'query_parameters' => array(
- 'context' => false,
- ),
-
- 'response_format' => WPCOM_JSON_API_Site_Settings_Endpoint::$site_format,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/settings?pretty=1',
-) );
-
-new WPCOM_JSON_API_Site_Settings_V1_2_Endpoint( array(
- 'description' => 'Update settings for a site.',
- 'group' => '__do_not_document',
- 'stat' => 'sites:X',
- 'min_version' => '1.2',
- 'method' => 'POST',
- 'path' => '/sites/%s/settings',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'request_format' => array(
- 'blogname' => '(string) Blog name',
- 'blogdescription' => '(string) Blog description',
- 'default_pingback_flag' => '(bool) Notify blogs linked from article?',
- 'default_ping_status' => '(bool) Allow link notifications from other blogs?',
- 'default_comment_status' => '(bool) Allow comments on new articles?',
- 'blog_public' => '(string) Site visibility; -1: private, 0: discourage search engines, 1: allow search engines',
- 'jetpack_sync_non_public_post_stati' => '(bool) allow sync of post and pages with non-public posts stati',
- 'jetpack_relatedposts_enabled' => '(bool) Enable related posts?',
- 'jetpack_relatedposts_show_headline' => '(bool) Show headline in related posts?',
- 'jetpack_relatedposts_show_thumbnails' => '(bool) Show thumbnails in related posts?',
- 'instant_search_enabled' => '(bool) Enable the new Jetpack Instant Search interface',
- 'jetpack_search_enabled' => '(bool) Enable Jetpack Search',
- 'jetpack_search_supported' => '(bool) Jetpack Search supported',
- 'jetpack_protect_whitelist' => '(array) List of IP addresses to whitelist',
- 'infinite_scroll' => '(bool) Support infinite scroll of posts?',
- 'default_category' => '(int) Default post category',
- 'default_post_format' => '(string) Default post format',
- 'require_name_email' => '(bool) Require comment authors to fill out name and email?',
- 'comment_registration' => '(bool) Require users to be registered and logged in to comment?',
- 'close_comments_for_old_posts' => '(bool) Automatically close comments on old posts?',
- 'close_comments_days_old' => '(int) Age at which to close comments',
- 'thread_comments' => '(bool) Enable threaded comments?',
- 'thread_comments_depth' => '(int) Depth to thread comments',
- 'page_comments' => '(bool) Break comments into pages?',
- 'comments_per_page' => '(int) Number of comments to display per page',
- 'default_comments_page' => '(string) newest|oldest Which page of comments to display first',
- 'comment_order' => '(string) asc|desc Order to display comments within page',
- 'comments_notify' => '(bool) Email me when someone comments?',
- 'moderation_notify' => '(bool) Email me when a comment is helf for moderation?',
- 'social_notifications_like' => '(bool) Email me when someone likes my post?',
- 'social_notifications_reblog' => '(bool) Email me when someone reblogs my post?',
- 'social_notifications_subscribe' => '(bool) Email me when someone follows my blog?',
- 'comment_moderation' => '(bool) Moderate comments for manual approval?',
- 'comment_previously_approved' => '(bool) Moderate comments unless author has a previously-approved comment?',
- 'comment_max_links' => '(int) Moderate comments that contain X or more links',
- 'moderation_keys' => '(string) Words or phrases that trigger comment moderation, one per line',
- 'disallowed_keys' => '(string) Words or phrases that mark comment spam, one per line',
- 'lang_id' => '(int) ID for language blog is written in',
- 'locale' => '(string) locale code for language blog is written in',
- 'wga' => '(array) Google Analytics Settings',
- 'disabled_likes' => '(bool) Are likes globally disabled (they can still be turned on per post)?',
- 'disabled_reblogs' => '(bool) Are reblogs disabled on posts?',
- 'jetpack_comment_likes_enabled' => '(bool) Are comment likes enabled for all comments?',
- 'sharing_button_style' => '(string) Style to use for sharing buttons (icon-text, icon, text, or official)',
- 'sharing_label' => '(string) Label to use for sharing buttons, e.g. "Share this:"',
- 'sharing_show' => '(string|array:string) Post type or array of types where sharing buttons are to be displayed',
- 'sharing_open_links' => '(string) Link target for sharing buttons (same or new)',
- 'twitter_via' => '(string) Twitter username to include in tweets when people share using the Twitter button',
- 'jetpack-twitter-cards-site-tag' => '(string) The Twitter username of the owner of the site\'s domain.',
- 'eventbrite_api_token' => '(int) The Keyring token ID for an Eventbrite token to associate with the site',
- 'timezone_string' => '(string) PHP-compatible timezone string like \'UTC-5\'',
- 'gmt_offset' => '(int) Site offset from UTC in hours',
- 'date_format' => '(string) PHP Date-compatible date format',
- 'time_format' => '(string) PHP Date-compatible time format',
- 'start_of_week' => '(int) Starting day of week (0 = Sunday, 6 = Saturday)',
- 'jetpack_testimonial' => '(bool) Whether testimonial custom post type is enabled for the site',
- 'jetpack_testimonial_posts_per_page' => '(int) Number of testimonials to show per page',
- 'jetpack_portfolio' => '(bool) Whether portfolio custom post type is enabled for the site',
- 'jetpack_portfolio_posts_per_page' => '(int) Number of portfolio projects to show per page',
- Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION => '(string) The SEO meta description for the site.',
- Jetpack_SEO_Titles::TITLE_FORMATS_OPTION => '(array) SEO meta title formats. Allowed keys: front_page, posts, pages, groups, archives',
- 'verification_services_codes' => '(array) Website verification codes. Allowed keys: google, pinterest, bing, yandex, facebook',
- 'amp_is_enabled' => '(bool) Whether AMP is enabled for this site',
- 'podcasting_archive' => '(string) The post category, if any, used for publishing podcasts',
- 'site_icon' => '(int) Media attachment ID to use as site icon. Set to zero or an otherwise empty value to clear',
- 'api_cache' => '(bool) Turn on/off the Jetpack JSON API cache',
- 'posts_per_page' => '(int) Number of posts to show on blog pages',
- 'posts_per_rss' => '(int) Number of posts to show in the RSS feed',
- 'rss_use_excerpt' => '(bool) Whether the RSS feed will use post excerpts',
- ),
-
- 'response_format' => array(
- 'updated' => '(array)'
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/settings?pretty=1',
-) );
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+new WPCOM_JSON_API_Site_Settings_V1_2_Endpoint(
+ array(
+ 'description' => 'Get detailed settings information about a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:X',
+ 'min_version' => '1.2',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/settings',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+
+ 'query_parameters' => array(
+ 'context' => false,
+ ),
+
+ 'response_format' => WPCOM_JSON_API_Site_Settings_Endpoint::$site_format,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/en.blog.wordpress.com/settings?pretty=1',
+ )
+);
+
+new WPCOM_JSON_API_Site_Settings_V1_2_Endpoint(
+ array(
+ 'description' => 'Update settings for a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:X',
+ 'min_version' => '1.2',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/settings',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+
+ 'request_format' => array(
+ 'blogname' => '(string) Blog name',
+ 'blogdescription' => '(string) Blog description',
+ 'default_pingback_flag' => '(bool) Notify blogs linked from article?',
+ 'default_ping_status' => '(bool) Allow link notifications from other blogs?',
+ 'default_comment_status' => '(bool) Allow comments on new articles?',
+ 'blog_public' => '(string) Site visibility; -1: private, 0: discourage search engines, 1: allow search engines',
+ 'jetpack_sync_non_public_post_stati' => '(bool) allow sync of post and pages with non-public posts stati',
+ 'jetpack_relatedposts_enabled' => '(bool) Enable related posts?',
+ 'jetpack_relatedposts_show_headline' => '(bool) Show headline in related posts?',
+ 'jetpack_relatedposts_show_thumbnails' => '(bool) Show thumbnails in related posts?',
+ 'instant_search_enabled' => '(bool) Enable the new Jetpack Instant Search interface',
+ 'jetpack_search_enabled' => '(bool) Enable Jetpack Search',
+ 'jetpack_search_supported' => '(bool) Jetpack Search supported',
+ 'jetpack_protect_whitelist' => '(array) List of IP addresses to whitelist',
+ 'infinite_scroll' => '(bool) Support infinite scroll of posts?',
+ 'default_category' => '(int) Default post category',
+ 'default_post_format' => '(string) Default post format',
+ 'require_name_email' => '(bool) Require comment authors to fill out name and email?',
+ 'comment_registration' => '(bool) Require users to be registered and logged in to comment?',
+ 'close_comments_for_old_posts' => '(bool) Automatically close comments on old posts?',
+ 'close_comments_days_old' => '(int) Age at which to close comments',
+ 'thread_comments' => '(bool) Enable threaded comments?',
+ 'thread_comments_depth' => '(int) Depth to thread comments',
+ 'page_comments' => '(bool) Break comments into pages?',
+ 'comments_per_page' => '(int) Number of comments to display per page',
+ 'default_comments_page' => '(string) newest|oldest Which page of comments to display first',
+ 'comment_order' => '(string) asc|desc Order to display comments within page',
+ 'comments_notify' => '(bool) Email me when someone comments?',
+ 'moderation_notify' => '(bool) Email me when a comment is helf for moderation?',
+ 'social_notifications_like' => '(bool) Email me when someone likes my post?',
+ 'social_notifications_reblog' => '(bool) Email me when someone reblogs my post?',
+ 'social_notifications_subscribe' => '(bool) Email me when someone follows my blog?',
+ 'comment_moderation' => '(bool) Moderate comments for manual approval?',
+ 'comment_previously_approved' => '(bool) Moderate comments unless author has a previously-approved comment?',
+ 'comment_max_links' => '(int) Moderate comments that contain X or more links',
+ 'moderation_keys' => '(string) Words or phrases that trigger comment moderation, one per line',
+ 'disallowed_keys' => '(string) Words or phrases that mark comment spam, one per line',
+ 'lang_id' => '(int) ID for language blog is written in',
+ 'locale' => '(string) locale code for language blog is written in',
+ 'wga' => '(array) Google Analytics Settings',
+ 'disabled_likes' => '(bool) Are likes globally disabled (they can still be turned on per post)?',
+ 'disabled_reblogs' => '(bool) Are reblogs disabled on posts?',
+ 'jetpack_comment_likes_enabled' => '(bool) Are comment likes enabled for all comments?',
+ 'sharing_button_style' => '(string) Style to use for sharing buttons (icon-text, icon, text, or official)',
+ 'sharing_label' => '(string) Label to use for sharing buttons, e.g. "Share this:"',
+ 'sharing_show' => '(string|array:string) Post type or array of types where sharing buttons are to be displayed',
+ 'sharing_open_links' => '(string) Link target for sharing buttons (same or new)',
+ 'twitter_via' => '(string) Twitter username to include in tweets when people share using the Twitter button',
+ 'jetpack-twitter-cards-site-tag' => '(string) The Twitter username of the owner of the site\'s domain.',
+ 'eventbrite_api_token' => '(int) The Keyring token ID for an Eventbrite token to associate with the site',
+ 'timezone_string' => '(string) PHP-compatible timezone string like \'UTC-5\'',
+ 'gmt_offset' => '(int) Site offset from UTC in hours',
+ 'date_format' => '(string) PHP Date-compatible date format',
+ 'time_format' => '(string) PHP Date-compatible time format',
+ 'start_of_week' => '(int) Starting day of week (0 = Sunday, 6 = Saturday)',
+ 'jetpack_testimonial' => '(bool) Whether testimonial custom post type is enabled for the site',
+ 'jetpack_testimonial_posts_per_page' => '(int) Number of testimonials to show per page',
+ 'jetpack_portfolio' => '(bool) Whether portfolio custom post type is enabled for the site',
+ 'jetpack_portfolio_posts_per_page' => '(int) Number of portfolio projects to show per page',
+ Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION => '(string) The SEO meta description for the site.',
+ Jetpack_SEO_Titles::TITLE_FORMATS_OPTION => '(array) SEO meta title formats. Allowed keys: front_page, posts, pages, groups, archives',
+ 'verification_services_codes' => '(array) Website verification codes. Allowed keys: google, pinterest, bing, yandex, facebook',
+ 'amp_is_enabled' => '(bool) Whether AMP is enabled for this site',
+ 'podcasting_archive' => '(string) The post category, if any, used for publishing podcasts',
+ 'site_icon' => '(int) Media attachment ID to use as site icon. Set to zero or an otherwise empty value to clear',
+ 'api_cache' => '(bool) Turn on/off the Jetpack JSON API cache',
+ 'posts_per_page' => '(int) Number of posts to show on blog pages',
+ 'posts_per_rss' => '(int) Number of posts to show in the RSS feed',
+ 'rss_use_excerpt' => '(bool) Whether the RSS feed will use post excerpts',
+ ),
+
+ 'response_format' => array(
+ 'updated' => '(array)',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/settings?pretty=1',
+ )
+);
+
+/**
+ * Site settings v1_2 endpoint.
+ */
class WPCOM_JSON_API_Site_Settings_V1_2_Endpoint extends WPCOM_JSON_API_Site_Settings_Endpoint {
+ /**
+ * Site format.
+ *
+ * @var array
+ */
public static $site_format = array(
'ID' => '(int) Site ID',
'name' => '(string) Title of site',
@@ -122,17 +134,30 @@ class WPCOM_JSON_API_Site_Settings_V1_2_Endpoint extends WPCOM_JSON_API_Site_Set
'settings' => '(array) An array of options/settings for the blog. Only viewable by users with post editing rights to the site.',
);
-
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
add_filter( 'site_settings_endpoint_update_locale', array( $this, 'update_locale' ) );
- add_filter( 'site_settings_endpoint_get', array( $this, 'return_locale' ) );
- add_filter( 'site_settings_site_format', array( $this, 'site_format' ) );
+ add_filter( 'site_settings_endpoint_get', array( $this, 'return_locale' ) );
+ add_filter( 'site_settings_site_format', array( $this, 'site_format' ) );
return parent::callback( $path, $blog_id );
}
-
+ /**
+ * Get the locale.
+ *
+ * @param string $key - the key.
+ *
+ * @return string|false
+ */
protected function get_locale( $key ) {
- if ( 'locale' == $key ) {
+ if ( 'locale' === $key ) {
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
return (string) get_blog_lang_code();
} else {
@@ -143,10 +168,24 @@ class WPCOM_JSON_API_Site_Settings_V1_2_Endpoint extends WPCOM_JSON_API_Site_Set
return false;
}
+ /**
+ * Return the locale.
+ *
+ * @param array $settings - the site settings.
+ *
+ * @return array `$settings` with a locale key added.
+ */
public function return_locale( $settings ) {
return $settings + array( 'locale' => $this->get_locale( 'locale' ) );
}
+ /**
+ * Update the locale.
+ *
+ * @param string $value - the locale code.
+ *
+ * @return bool
+ */
public function update_locale( $value ) {
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
$lang_id = get_lang_id_by_code( $value );
@@ -159,7 +198,14 @@ class WPCOM_JSON_API_Site_Settings_V1_2_Endpoint extends WPCOM_JSON_API_Site_Set
return false;
}
- public function site_format( $format ) {
+ /**
+ * Format the site.
+ *
+ * @param string $format - the format.
+ *
+ * @return array
+ */
+ public function site_format( $format ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return self::$site_format;
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-3-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-3-endpoint.php
index b5b10617..95425923 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-3-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-3-endpoint.php
@@ -1,126 +1,147 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_Site_Settings_V1_3_Endpoint( array(
- 'description' => 'Get detailed settings information about a site.',
- 'group' => '__do_not_document',
- 'stat' => 'sites:X',
- 'min_version' => '1.3',
- 'method' => 'GET',
- 'path' => '/sites/%s/settings',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
+new WPCOM_JSON_API_Site_Settings_V1_3_Endpoint(
+ array(
+ 'description' => 'Get detailed settings information about a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:X',
+ 'min_version' => '1.3',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/settings',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
- 'query_parameters' => array(
- 'context' => false,
- ),
+ 'query_parameters' => array(
+ 'context' => false,
+ ),
- 'response_format' => WPCOM_JSON_API_Site_Settings_Endpoint::$site_format,
+ 'response_format' => WPCOM_JSON_API_Site_Settings_Endpoint::$site_format,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.3/sites/en.blog.wordpress.com/settings?pretty=1',
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.3/sites/en.blog.wordpress.com/settings?pretty=1',
+ )
+);
-new WPCOM_JSON_API_Site_Settings_V1_3_Endpoint( array(
- 'description' => 'Update settings for a site.',
- 'group' => '__do_not_document',
- 'stat' => 'sites:X',
- 'min_version' => '1.3',
- 'method' => 'POST',
- 'path' => '/sites/%s/settings',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
+new WPCOM_JSON_API_Site_Settings_V1_3_Endpoint(
+ array(
+ 'description' => 'Update settings for a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:X',
+ 'min_version' => '1.3',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/settings',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
- 'request_format' => array(
- 'blogname' => '(string) Blog name',
- 'blogdescription' => '(string) Blog description',
- 'default_pingback_flag' => '(bool) Notify blogs linked from article?',
- 'default_ping_status' => '(bool) Allow link notifications from other blogs?',
- 'default_comment_status' => '(bool) Allow comments on new articles?',
- 'blog_public' => '(string) Site visibility; -1: private, 0: discourage search engines, 1: allow search engines',
- 'jetpack_sync_non_public_post_stati' => '(bool) allow sync of post and pages with non-public posts stati',
- 'jetpack_relatedposts_enabled' => '(bool) Enable related posts?',
- 'jetpack_relatedposts_show_headline' => '(bool) Show headline in related posts?',
- 'jetpack_relatedposts_show_thumbnails' => '(bool) Show thumbnails in related posts?',
- 'instant_search_enabled' => '(bool) Enable the new Jetpack Instant Search interface',
- 'jetpack_search_enabled' => '(bool) Enable Jetpack Search',
- 'jetpack_search_supported' => '(bool) Jetpack Search supported',
- 'jetpack_protect_whitelist' => '(array) List of IP addresses to whitelist',
- 'infinite_scroll' => '(bool) Support infinite scroll of posts?',
- 'default_category' => '(int) Default post category',
- 'default_post_format' => '(string) Default post format',
- 'require_name_email' => '(bool) Require comment authors to fill out name and email?',
- 'comment_registration' => '(bool) Require users to be registered and logged in to comment?',
- 'close_comments_for_old_posts' => '(bool) Automatically close comments on old posts?',
- 'close_comments_days_old' => '(int) Age at which to close comments',
- 'thread_comments' => '(bool) Enable threaded comments?',
- 'thread_comments_depth' => '(int) Depth to thread comments',
- 'page_comments' => '(bool) Break comments into pages?',
- 'comments_per_page' => '(int) Number of comments to display per page',
- 'default_comments_page' => '(string) newest|oldest Which page of comments to display first',
- 'comment_order' => '(string) asc|desc Order to display comments within page',
- 'comments_notify' => '(bool) Email me when someone comments?',
- 'moderation_notify' => '(bool) Email me when a comment is helf for moderation?',
- 'social_notifications_like' => '(bool) Email me when someone likes my post?',
- 'social_notifications_reblog' => '(bool) Email me when someone reblogs my post?',
- 'social_notifications_subscribe' => '(bool) Email me when someone follows my blog?',
- 'comment_moderation' => '(bool) Moderate comments for manual approval?',
- 'comment_previously_approved' => '(bool) Moderate comments unless author has a previously-approved comment?',
- 'comment_max_links' => '(int) Moderate comments that contain X or more links',
- 'moderation_keys' => '(string) Words or phrases that trigger comment moderation, one per line',
- 'disallowed_keys' => '(string) Words or phrases that mark comment spam, one per line',
- 'lang_id' => '(int) ID for language blog is written in',
- 'locale' => '(string) locale code for language blog is written in',
- 'wga' => '(array) Google Analytics Settings',
- 'disabled_likes' => '(bool) Are likes globally disabled (they can still be turned on per post)?',
- 'disabled_reblogs' => '(bool) Are reblogs disabled on posts?',
- 'jetpack_comment_likes_enabled' => '(bool) Are comment likes enabled for all comments?',
- 'sharing_button_style' => '(string) Style to use for sharing buttons (icon-text, icon, text, or official)',
- 'sharing_label' => '(string) Label to use for sharing buttons, e.g. "Share this:"',
- 'sharing_show' => '(string|array:string) Post type or array of types where sharing buttons are to be displayed',
- 'sharing_open_links' => '(string) Link target for sharing buttons (same or new)',
- 'twitter_via' => '(string) Twitter username to include in tweets when people share using the Twitter button',
- 'jetpack-twitter-cards-site-tag' => '(string) The Twitter username of the owner of the site\'s domain.',
- 'eventbrite_api_token' => '(int) The Keyring token ID for an Eventbrite token to associate with the site',
- 'timezone_string' => '(string) PHP-compatible timezone string like \'UTC-5\'',
- 'gmt_offset' => '(int) Site offset from UTC in hours',
- 'date_format' => '(string) PHP Date-compatible date format',
- 'time_format' => '(string) PHP Date-compatible time format',
- 'start_of_week' => '(int) Starting day of week (0 = Sunday, 6 = Saturday)',
- 'jetpack_testimonial' => '(bool) Whether testimonial custom post type is enabled for the site',
- 'jetpack_testimonial_posts_per_page' => '(int) Number of testimonials to show per page',
- 'jetpack_portfolio' => '(bool) Whether portfolio custom post type is enabled for the site',
- 'jetpack_portfolio_posts_per_page' => '(int) Number of portfolio projects to show per page',
- Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION => '(string) The SEO meta description for the site.',
- Jetpack_SEO_Titles::TITLE_FORMATS_OPTION => '(array) SEO meta title formats. Allowed keys: front_page, posts, pages, groups, archives',
- 'verification_services_codes' => '(array) Website verification codes. Allowed keys: google, pinterest, bing, yandex, facebook',
- 'amp_is_enabled' => '(bool) Whether AMP is enabled for this site',
- 'podcasting_archive' => '(string) The post category, if any, used for publishing podcasts',
- 'site_icon' => '(int) Media attachment ID to use as site icon. Set to zero or an otherwise empty value to clear',
- 'api_cache' => '(bool) Turn on/off the Jetpack JSON API cache',
- 'posts_per_page' => '(int) Number of posts to show on blog pages',
- 'posts_per_rss' => '(int) Number of posts to show in the RSS feed',
- 'rss_use_excerpt' => '(bool) Whether the RSS feed will use post excerpts',
- ),
+ 'request_format' => array(
+ 'blogname' => '(string) Blog name',
+ 'blogdescription' => '(string) Blog description',
+ 'default_pingback_flag' => '(bool) Notify blogs linked from article?',
+ 'default_ping_status' => '(bool) Allow link notifications from other blogs?',
+ 'default_comment_status' => '(bool) Allow comments on new articles?',
+ 'blog_public' => '(string) Site visibility; -1: private, 0: discourage search engines, 1: allow search engines',
+ 'jetpack_sync_non_public_post_stati' => '(bool) allow sync of post and pages with non-public posts stati',
+ 'jetpack_relatedposts_enabled' => '(bool) Enable related posts?',
+ 'jetpack_relatedposts_show_headline' => '(bool) Show headline in related posts?',
+ 'jetpack_relatedposts_show_thumbnails' => '(bool) Show thumbnails in related posts?',
+ 'instant_search_enabled' => '(bool) Enable the new Jetpack Instant Search interface',
+ 'jetpack_search_enabled' => '(bool) Enable Jetpack Search',
+ 'jetpack_search_supported' => '(bool) Jetpack Search supported',
+ 'jetpack_protect_whitelist' => '(array) List of IP addresses to whitelist',
+ 'infinite_scroll' => '(bool) Support infinite scroll of posts?',
+ 'default_category' => '(int) Default post category',
+ 'default_post_format' => '(string) Default post format',
+ 'require_name_email' => '(bool) Require comment authors to fill out name and email?',
+ 'comment_registration' => '(bool) Require users to be registered and logged in to comment?',
+ 'close_comments_for_old_posts' => '(bool) Automatically close comments on old posts?',
+ 'close_comments_days_old' => '(int) Age at which to close comments',
+ 'thread_comments' => '(bool) Enable threaded comments?',
+ 'thread_comments_depth' => '(int) Depth to thread comments',
+ 'page_comments' => '(bool) Break comments into pages?',
+ 'comments_per_page' => '(int) Number of comments to display per page',
+ 'default_comments_page' => '(string) newest|oldest Which page of comments to display first',
+ 'comment_order' => '(string) asc|desc Order to display comments within page',
+ 'comments_notify' => '(bool) Email me when someone comments?',
+ 'moderation_notify' => '(bool) Email me when a comment is helf for moderation?',
+ 'social_notifications_like' => '(bool) Email me when someone likes my post?',
+ 'social_notifications_reblog' => '(bool) Email me when someone reblogs my post?',
+ 'social_notifications_subscribe' => '(bool) Email me when someone follows my blog?',
+ 'comment_moderation' => '(bool) Moderate comments for manual approval?',
+ 'comment_previously_approved' => '(bool) Moderate comments unless author has a previously-approved comment?',
+ 'comment_max_links' => '(int) Moderate comments that contain X or more links',
+ 'moderation_keys' => '(string) Words or phrases that trigger comment moderation, one per line',
+ 'disallowed_keys' => '(string) Words or phrases that mark comment spam, one per line',
+ 'lang_id' => '(int) ID for language blog is written in',
+ 'locale' => '(string) locale code for language blog is written in',
+ 'wga' => '(array) Google Analytics Settings',
+ 'disabled_likes' => '(bool) Are likes globally disabled (they can still be turned on per post)?',
+ 'disabled_reblogs' => '(bool) Are reblogs disabled on posts?',
+ 'jetpack_comment_likes_enabled' => '(bool) Are comment likes enabled for all comments?',
+ 'sharing_button_style' => '(string) Style to use for sharing buttons (icon-text, icon, text, or official)',
+ 'sharing_label' => '(string) Label to use for sharing buttons, e.g. "Share this:"',
+ 'sharing_show' => '(string|array:string) Post type or array of types where sharing buttons are to be displayed',
+ 'sharing_open_links' => '(string) Link target for sharing buttons (same or new)',
+ 'twitter_via' => '(string) Twitter username to include in tweets when people share using the Twitter button',
+ 'jetpack-twitter-cards-site-tag' => '(string) The Twitter username of the owner of the site\'s domain.',
+ 'eventbrite_api_token' => '(int) The Keyring token ID for an Eventbrite token to associate with the site',
+ 'timezone_string' => '(string) PHP-compatible timezone string like \'UTC-5\'',
+ 'gmt_offset' => '(int) Site offset from UTC in hours',
+ 'date_format' => '(string) PHP Date-compatible date format',
+ 'time_format' => '(string) PHP Date-compatible time format',
+ 'start_of_week' => '(int) Starting day of week (0 = Sunday, 6 = Saturday)',
+ 'jetpack_testimonial' => '(bool) Whether testimonial custom post type is enabled for the site',
+ 'jetpack_testimonial_posts_per_page' => '(int) Number of testimonials to show per page',
+ 'jetpack_portfolio' => '(bool) Whether portfolio custom post type is enabled for the site',
+ 'jetpack_portfolio_posts_per_page' => '(int) Number of portfolio projects to show per page',
+ Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION => '(string) The SEO meta description for the site.',
+ Jetpack_SEO_Titles::TITLE_FORMATS_OPTION => '(array) SEO meta title formats. Allowed keys: front_page, posts, pages, groups, archives',
+ 'verification_services_codes' => '(array) Website verification codes. Allowed keys: google, pinterest, bing, yandex, facebook',
+ 'amp_is_enabled' => '(bool) Whether AMP is enabled for this site',
+ 'podcasting_archive' => '(string) The post category, if any, used for publishing podcasts',
+ 'site_icon' => '(int) Media attachment ID to use as site icon. Set to zero or an otherwise empty value to clear',
+ 'api_cache' => '(bool) Turn on/off the Jetpack JSON API cache',
+ 'posts_per_page' => '(int) Number of posts to show on blog pages',
+ 'posts_per_rss' => '(int) Number of posts to show in the RSS feed',
+ 'rss_use_excerpt' => '(bool) Whether the RSS feed will use post excerpts',
+ ),
- 'response_format' => array(
- 'updated' => '(array)'
- ),
+ 'response_format' => array(
+ 'updated' => '(array)',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/settings?pretty=1',
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/settings?pretty=1',
+ )
+);
+/**
+ * Site settings v1_3 endpoint class.
+ */
class WPCOM_JSON_API_Site_Settings_V1_3_Endpoint extends WPCOM_JSON_API_Site_Settings_V1_2_Endpoint {
+
+ /**
+ * Get defaults.
+ *
+ * @return array
+ */
protected function get_defaults() {
return array(
'code' => '',
'anonymize_ip' => false,
'ec_track_purchases' => false,
- 'ec_track_add_to_cart' => false
+ 'ec_track_add_to_cart' => false,
);
}
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * API Callback
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
add_filter( 'site_settings_endpoint_get', array( $this, 'filter_site_settings_endpoint_get' ) );
add_filter( 'site_settings_update_wga', array( $this, 'filter_update_google_analytics' ), 10, 2 );
return parent::callback( $path, $blog_id );
@@ -129,16 +150,25 @@ class WPCOM_JSON_API_Site_Settings_V1_3_Endpoint extends WPCOM_JSON_API_Site_Set
/**
* Filter the parent's response to include the fields
* added to 1.3 (and their defaults)
+ *
+ * @param array $settings - the settings array.
+ *
+ * @return array
*/
public function filter_site_settings_endpoint_get( $settings ) {
- $option_name = defined( 'IS_WPCOM' ) && IS_WPCOM ? 'wga' : 'jetpack_wga';
- $option = get_option( $option_name, array() );
- $settings[ 'wga' ] = wp_parse_args( $option, $this->get_defaults() );
+ $option_name = defined( 'IS_WPCOM' ) && IS_WPCOM ? 'wga' : 'jetpack_wga';
+ $option = get_option( $option_name, array() );
+ $settings['wga'] = wp_parse_args( $option, $this->get_defaults() );
return $settings;
}
/**
* Filter the parent's response to consume our new fields
+ *
+ * @param array $wga - Array of existing Google Analytics settings.
+ * @param array $new_values - the new values we're adding.
+ *
+ * @return array
*/
public function filter_update_google_analytics( $wga, $new_values ) {
$wga_keys = array_keys( $this->get_defaults() );
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-4-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-4-endpoint.php
index 44a61959..4f774d7b 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-4-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-4-endpoint.php
@@ -1,117 +1,136 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-new WPCOM_JSON_API_Site_Settings_V1_4_Endpoint( array(
- 'description' => 'Get detailed settings information about a site.',
- 'group' => '__do_not_document',
- 'stat' => 'sites:X',
- 'min_version' => '1.4',
- 'method' => 'GET',
- 'path' => '/sites/%s/settings',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
+new WPCOM_JSON_API_Site_Settings_V1_4_Endpoint(
+ array(
+ 'description' => 'Get detailed settings information about a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:X',
+ 'min_version' => '1.4',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/settings',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
- 'query_parameters' => array(
- 'context' => false,
- ),
+ 'query_parameters' => array(
+ 'context' => false,
+ ),
- 'response_format' => WPCOM_JSON_API_Site_Settings_Endpoint::$site_format,
+ 'response_format' => WPCOM_JSON_API_Site_Settings_Endpoint::$site_format,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.4/sites/en.blog.wordpress.com/settings?pretty=1',
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.4/sites/en.blog.wordpress.com/settings?pretty=1',
+ )
+);
-new WPCOM_JSON_API_Site_Settings_V1_4_Endpoint( array(
- 'description' => 'Update settings for a site.',
- 'group' => '__do_not_document',
- 'stat' => 'sites:X',
- 'min_version' => '1.4',
- 'method' => 'POST',
- 'path' => '/sites/%s/settings',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
+new WPCOM_JSON_API_Site_Settings_V1_4_Endpoint(
+ array(
+ 'description' => 'Update settings for a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:X',
+ 'min_version' => '1.4',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/settings',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
- 'request_format' => array(
- 'blogname' => '(string) Blog name',
- 'blogdescription' => '(string) Blog description',
- 'default_pingback_flag' => '(bool) Notify blogs linked from article?',
- 'default_ping_status' => '(bool) Allow link notifications from other blogs?',
- 'default_comment_status' => '(bool) Allow comments on new articles?',
- 'blog_public' => '(string) Site visibility; -1: private, 0: discourage search engines, 1: allow search engines',
- 'jetpack_sync_non_public_post_stati' => '(bool) allow sync of post and pages with non-public posts stati',
- 'jetpack_relatedposts_enabled' => '(bool) Enable related posts?',
- 'jetpack_relatedposts_show_headline' => '(bool) Show headline in related posts?',
- 'jetpack_relatedposts_show_thumbnails' => '(bool) Show thumbnails in related posts?',
- 'instant_search_enabled' => '(bool) Enable the new Jetpack Instant Search interface',
- 'jetpack_search_enabled' => '(bool) Enable Jetpack Search',
- 'jetpack_search_supported' => '(bool) Jetpack Search supported',
- 'jetpack_protect_whitelist' => '(array) List of IP addresses to whitelist',
- 'infinite_scroll' => '(bool) Support infinite scroll of posts?',
- 'default_category' => '(int) Default post category',
- 'default_post_format' => '(string) Default post format',
- 'require_name_email' => '(bool) Require comment authors to fill out name and email?',
- 'comment_registration' => '(bool) Require users to be registered and logged in to comment?',
- 'close_comments_for_old_posts' => '(bool) Automatically close comments on old posts?',
- 'close_comments_days_old' => '(int) Age at which to close comments',
- 'thread_comments' => '(bool) Enable threaded comments?',
- 'thread_comments_depth' => '(int) Depth to thread comments',
- 'page_comments' => '(bool) Break comments into pages?',
- 'comments_per_page' => '(int) Number of comments to display per page',
- 'default_comments_page' => '(string) newest|oldest Which page of comments to display first',
- 'comment_order' => '(string) asc|desc Order to display comments within page',
- 'comments_notify' => '(bool) Email me when someone comments?',
- 'moderation_notify' => '(bool) Email me when a comment is helf for moderation?',
- 'social_notifications_like' => '(bool) Email me when someone likes my post?',
- 'social_notifications_reblog' => '(bool) Email me when someone reblogs my post?',
- 'social_notifications_subscribe' => '(bool) Email me when someone follows my blog?',
- 'comment_moderation' => '(bool) Moderate comments for manual approval?',
- 'comment_previously_approved' => '(bool) Moderate comments unless author has a previously-approved comment?',
- 'comment_max_links' => '(int) Moderate comments that contain X or more links',
- 'moderation_keys' => '(string) Words or phrases that trigger comment moderation, one per line',
- 'disallowed_keys' => '(string) Words or phrases that mark comment spam, one per line',
- 'lang_id' => '(int) ID for language blog is written in',
- 'locale' => '(string) locale code for language blog is written in',
- 'wga' => '(array) Google Analytics Settings',
- 'jetpack_cloudflare_analytics' => '(array) Cloudflare Analytics Settings',
- 'disabled_likes' => '(bool) Are likes globally disabled (they can still be turned on per post)?',
- 'disabled_reblogs' => '(bool) Are reblogs disabled on posts?',
- 'jetpack_comment_likes_enabled' => '(bool) Are comment likes enabled for all comments?',
- 'sharing_button_style' => '(string) Style to use for sharing buttons (icon-text, icon, text, or official)',
- 'sharing_label' => '(string) Label to use for sharing buttons, e.g. "Share this:"',
- 'sharing_show' => '(string|array:string) Post type or array of types where sharing buttons are to be displayed',
- 'sharing_open_links' => '(string) Link target for sharing buttons (same or new)',
- 'twitter_via' => '(string) Twitter username to include in tweets when people share using the Twitter button',
- 'jetpack-twitter-cards-site-tag' => '(string) The Twitter username of the owner of the site\'s domain.',
- 'eventbrite_api_token' => '(int) The Keyring token ID for an Eventbrite token to associate with the site',
- 'timezone_string' => '(string) PHP-compatible timezone string like \'UTC-5\'',
- 'gmt_offset' => '(int) Site offset from UTC in hours',
- 'date_format' => '(string) PHP Date-compatible date format',
- 'time_format' => '(string) PHP Date-compatible time format',
- 'start_of_week' => '(int) Starting day of week (0 = Sunday, 6 = Saturday)',
- 'jetpack_testimonial' => '(bool) Whether testimonial custom post type is enabled for the site',
- 'jetpack_testimonial_posts_per_page' => '(int) Number of testimonials to show per page',
- 'jetpack_portfolio' => '(bool) Whether portfolio custom post type is enabled for the site',
- 'jetpack_portfolio_posts_per_page' => '(int) Number of portfolio projects to show per page',
- Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION => '(string) The SEO meta description for the site.',
- Jetpack_SEO_Titles::TITLE_FORMATS_OPTION => '(array) SEO meta title formats. Allowed keys: front_page, posts, pages, groups, archives',
- 'verification_services_codes' => '(array) Website verification codes. Allowed keys: google, pinterest, bing, yandex, facebook',
- 'amp_is_enabled' => '(bool) Whether AMP is enabled for this site',
- 'podcasting_archive' => '(string) The post category, if any, used for publishing podcasts',
- 'site_icon' => '(int) Media attachment ID to use as site icon. Set to zero or an otherwise empty value to clear',
- 'api_cache' => '(bool) Turn on/off the Jetpack JSON API cache',
- 'posts_per_page' => '(int) Number of posts to show on blog pages',
- 'posts_per_rss' => '(int) Number of posts to show in the RSS feed',
- 'rss_use_excerpt' => '(bool) Whether the RSS feed will use post excerpts',
- ),
+ 'request_format' => array(
+ 'blogname' => '(string) Blog name',
+ 'blogdescription' => '(string) Blog description',
+ 'default_pingback_flag' => '(bool) Notify blogs linked from article?',
+ 'default_ping_status' => '(bool) Allow link notifications from other blogs?',
+ 'default_comment_status' => '(bool) Allow comments on new articles?',
+ 'blog_public' => '(string) Site visibility; -1: private, 0: discourage search engines, 1: allow search engines',
+ 'jetpack_sync_non_public_post_stati' => '(bool) allow sync of post and pages with non-public posts stati',
+ 'jetpack_relatedposts_enabled' => '(bool) Enable related posts?',
+ 'jetpack_relatedposts_show_headline' => '(bool) Show headline in related posts?',
+ 'jetpack_relatedposts_show_thumbnails' => '(bool) Show thumbnails in related posts?',
+ 'instant_search_enabled' => '(bool) Enable the new Jetpack Instant Search interface',
+ 'jetpack_search_enabled' => '(bool) Enable Jetpack Search',
+ 'jetpack_search_supported' => '(bool) Jetpack Search supported',
+ 'jetpack_protect_whitelist' => '(array) List of IP addresses to whitelist',
+ 'infinite_scroll' => '(bool) Support infinite scroll of posts?',
+ 'default_category' => '(int) Default post category',
+ 'default_post_format' => '(string) Default post format',
+ 'require_name_email' => '(bool) Require comment authors to fill out name and email?',
+ 'comment_registration' => '(bool) Require users to be registered and logged in to comment?',
+ 'close_comments_for_old_posts' => '(bool) Automatically close comments on old posts?',
+ 'close_comments_days_old' => '(int) Age at which to close comments',
+ 'thread_comments' => '(bool) Enable threaded comments?',
+ 'thread_comments_depth' => '(int) Depth to thread comments',
+ 'page_comments' => '(bool) Break comments into pages?',
+ 'comments_per_page' => '(int) Number of comments to display per page',
+ 'default_comments_page' => '(string) newest|oldest Which page of comments to display first',
+ 'comment_order' => '(string) asc|desc Order to display comments within page',
+ 'comments_notify' => '(bool) Email me when someone comments?',
+ 'moderation_notify' => '(bool) Email me when a comment is helf for moderation?',
+ 'social_notifications_like' => '(bool) Email me when someone likes my post?',
+ 'social_notifications_reblog' => '(bool) Email me when someone reblogs my post?',
+ 'social_notifications_subscribe' => '(bool) Email me when someone follows my blog?',
+ 'comment_moderation' => '(bool) Moderate comments for manual approval?',
+ 'comment_previously_approved' => '(bool) Moderate comments unless author has a previously-approved comment?',
+ 'comment_max_links' => '(int) Moderate comments that contain X or more links',
+ 'moderation_keys' => '(string) Words or phrases that trigger comment moderation, one per line',
+ 'disallowed_keys' => '(string) Words or phrases that mark comment spam, one per line',
+ 'lang_id' => '(int) ID for language blog is written in',
+ 'locale' => '(string) locale code for language blog is written in',
+ 'wga' => '(array) Google Analytics Settings',
+ 'jetpack_cloudflare_analytics' => '(array) Cloudflare Analytics Settings',
+ 'disabled_likes' => '(bool) Are likes globally disabled (they can still be turned on per post)?',
+ 'disabled_reblogs' => '(bool) Are reblogs disabled on posts?',
+ 'jetpack_comment_likes_enabled' => '(bool) Are comment likes enabled for all comments?',
+ 'sharing_button_style' => '(string) Style to use for sharing buttons (icon-text, icon, text, or official)',
+ 'sharing_label' => '(string) Label to use for sharing buttons, e.g. "Share this:"',
+ 'sharing_show' => '(string|array:string) Post type or array of types where sharing buttons are to be displayed',
+ 'sharing_open_links' => '(string) Link target for sharing buttons (same or new)',
+ 'twitter_via' => '(string) Twitter username to include in tweets when people share using the Twitter button',
+ 'jetpack-twitter-cards-site-tag' => '(string) The Twitter username of the owner of the site\'s domain.',
+ 'eventbrite_api_token' => '(int) The Keyring token ID for an Eventbrite token to associate with the site',
+ 'timezone_string' => '(string) PHP-compatible timezone string like \'UTC-5\'',
+ 'gmt_offset' => '(int) Site offset from UTC in hours',
+ 'date_format' => '(string) PHP Date-compatible date format',
+ 'time_format' => '(string) PHP Date-compatible time format',
+ 'start_of_week' => '(int) Starting day of week (0 = Sunday, 6 = Saturday)',
+ 'woocommerce_onboarding_profile' => '(array) woocommerce_onboarding_profile',
+ 'woocommerce_store_address' => '(string) woocommerce_store_address option',
+ 'woocommerce_store_address_2' => '(string) woocommerce_store_address_2 option',
+ 'woocommerce_store_city' => '(string) woocommerce_store_city option',
+ 'woocommerce_default_country' => '(string) woocommerce_default_country option',
+ 'woocommerce_store_postcode' => '(string) woocommerce_store_postcode option',
+ 'jetpack_testimonial' => '(bool) Whether testimonial custom post type is enabled for the site',
+ 'jetpack_testimonial_posts_per_page' => '(int) Number of testimonials to show per page',
+ 'jetpack_portfolio' => '(bool) Whether portfolio custom post type is enabled for the site',
+ 'jetpack_portfolio_posts_per_page' => '(int) Number of portfolio projects to show per page',
+ Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION => '(string) The SEO meta description for the site.',
+ Jetpack_SEO_Titles::TITLE_FORMATS_OPTION => '(array) SEO meta title formats. Allowed keys: front_page, posts, pages, groups, archives',
+ 'verification_services_codes' => '(array) Website verification codes. Allowed keys: google, pinterest, bing, yandex, facebook',
+ 'amp_is_enabled' => '(bool) Whether AMP is enabled for this site',
+ 'podcasting_archive' => '(string) The post category, if any, used for publishing podcasts',
+ 'site_icon' => '(int) Media attachment ID to use as site icon. Set to zero or an otherwise empty value to clear',
+ 'api_cache' => '(bool) Turn on/off the Jetpack JSON API cache',
+ 'posts_per_page' => '(int) Number of posts to show on blog pages',
+ 'posts_per_rss' => '(int) Number of posts to show in the RSS feed',
+ 'rss_use_excerpt' => '(bool) Whether the RSS feed will use post excerpts',
+ ),
- 'response_format' => array(
- 'updated' => '(array)'
- ),
+ 'response_format' => array(
+ 'updated' => '(array)',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.4/sites/en.blog.wordpress.com/settings?pretty=1',
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.4/sites/en.blog.wordpress.com/settings?pretty=1',
+ )
+);
+/**
+ * Settings v1_4 endpoint class.
+ */
class WPCOM_JSON_API_Site_Settings_V1_4_Endpoint extends WPCOM_JSON_API_Site_Settings_V1_3_Endpoint {
+
+ /**
+ * Get the defaults.
+ *
+ * @return array
+ */
protected function get_defaults() {
return array(
'code' => '',
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-user-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-user-endpoint.php
index b20fa6c2..10095bcb 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-user-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-user-endpoint.php
@@ -1,23 +1,24 @@
-<?php
-
-new WPCOM_JSON_API_Site_User_Endpoint( array(
- 'description' => 'Get details of a user of a site by ID.',
- 'group' => '__do_not_document', //'users'
- 'stat' => 'sites:1:user',
- 'method' => 'GET',
- 'path' => '/sites/%s/users/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$user_id' => '(int) User ID',
- ),
- 'response_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/user/23',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+new WPCOM_JSON_API_Site_User_Endpoint(
+ array(
+ 'description' => 'Get details of a user of a site by ID.',
+ 'group' => '__do_not_document', // 'users'
+ 'stat' => 'sites:1:user',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/users/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$user_id' => '(int) User ID',
+ ),
+ 'response_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/user/23',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
- ),
- 'example_response' => '{
+ 'example_response' => '{
"ID": 18342963,
"login": "binarysmash",
"email": false,
@@ -26,27 +27,29 @@ new WPCOM_JSON_API_Site_User_Endpoint( array(
"avatar_URL": "http:\/\/0.gravatar.com\/avatar\/a178ebb1731d432338e6bb0158720fcc?s=96&d=identicon&r=G",
"profile_URL": "http:\/\/en.gravatar.com\/binarysmash",
"roles": [ "administrator" ]
- }'
-) );
-
-new WPCOM_JSON_API_Site_User_Endpoint( array(
- 'description' => 'Get details of a user of a site by login.',
- 'group' => 'users',
- 'stat' => 'sites:1:user',
- 'method' => 'GET',
- 'path' => '/sites/%s/users/login:%s',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID or domain.',
- '$user_id' => '(string) The user\'s login.',
- ),
- 'response_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/user/login:binarysmash',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+ }',
+ )
+);
+
+new WPCOM_JSON_API_Site_User_Endpoint(
+ array(
+ 'description' => 'Get details of a user of a site by login.',
+ 'group' => 'users',
+ 'stat' => 'sites:1:user',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/users/login:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID or domain.',
+ '$user_id' => '(string) The user\'s login.',
+ ),
+ 'response_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/user/login:binarysmash',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
- ),
- 'example_response' => '{
+ 'example_response' => '{
"ID": 18342963,
"login": "binarysmash",
"email": false,
@@ -55,37 +58,39 @@ new WPCOM_JSON_API_Site_User_Endpoint( array(
"avatar_URL": "http:\/\/0.gravatar.com\/avatar\/a178ebb1731d432338e6bb0158720fcc?s=96&d=identicon&r=G",
"profile_URL": "http:\/\/en.gravatar.com\/binarysmash",
"roles": [ "administrator" ]
- }'
-) );
-
-new WPCOM_JSON_API_Site_User_Endpoint( array(
- 'description' => 'Update details of a user of a site.',
- 'group' => 'users',
- 'stat' => 'sites:1:user',
- 'method' => 'POST',
- 'path' => '/sites/%s/users/%d',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID or domain.',
- '$user_id' => '(int) The user\'s ID.',
- ),
- 'request_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
- 'response_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/user/23',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+ }',
+ )
+);
+
+new WPCOM_JSON_API_Site_User_Endpoint(
+ array(
+ 'description' => 'Update details of a user of a site.',
+ 'group' => 'users',
+ 'stat' => 'sites:1:user',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/users/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID or domain.',
+ '$user_id' => '(int) The user\'s ID.',
),
- 'body' => array(
- 'roles' => array(
- array(
- 'administrator',
- )
+ 'request_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
+ 'response_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/30434183/user/23',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'roles' => array(
+ array(
+ 'administrator',
+ ),
+ ),
+ 'first_name' => 'Rocco',
+ 'last_name' => 'Tripaldi',
),
- 'first_name' => 'Rocco',
- 'last_name' => 'Tripaldi',
- )
- ),
- 'example_response' => '{
+ ),
+ 'example_response' => '{
"ID": 18342963,
"login": "binarysmash",
"email": false,
@@ -94,28 +99,47 @@ new WPCOM_JSON_API_Site_User_Endpoint( array(
"avatar_URL": "http:\/\/0.gravatar.com\/avatar\/a178ebb1731d432338e6bb0158720fcc?s=96&d=identicon&r=G",
"profile_URL": "http:\/\/en.gravatar.com\/binarysmash",
"roles": [ "administrator" ]
- }'
-) );
+ }',
+ )
+);
+/**
+ * Site user endpoint class.
+ *
+ * /sites/%s/users/%d -> $blog_id, $user_id
+ */
class WPCOM_JSON_API_Site_User_Endpoint extends WPCOM_JSON_API_Endpoint {
+ /**
+ * User format.
+ *
+ * @var array
+ */
public static $user_format = array(
- 'ID' => '(int) The ID of the user',
- 'login' => '(string) The login username of the user',
- 'email' => '(string) The email of the user',
- 'name' => '(string) The name to display for the user',
- 'first_name' => '(string) The first name of the user',
- 'last_name' => '(string) The last name of the user',
- 'nice_name' => '(string) The nice_name to display for the user',
- 'URL' => '(string) The primary blog of the user',
- 'avatar_URL' => '(url) Gravatar image URL',
- 'profile_URL' => '(url) Gravatar Profile URL',
- 'site_ID' => '(int) ID of the user\'s primary blog',
- 'roles' => '(array|string) The role or roles of the user',
+ 'ID' => '(int) The ID of the user',
+ 'login' => '(string) The login username of the user',
+ 'email' => '(string) The email of the user',
+ 'name' => '(string) The name to display for the user',
+ 'first_name' => '(string) The first name of the user',
+ 'last_name' => '(string) The last name of the user',
+ 'nice_name' => '(string) The nice_name to display for the user',
+ 'URL' => '(string) The primary blog of the user',
+ 'avatar_URL' => '(url) Gravatar image URL',
+ 'profile_URL' => '(url) Gravatar Profile URL',
+ 'site_ID' => '(int) ID of the user\'s primary blog',
+ 'roles' => '(array|string) The role or roles of the user',
);
- // /sites/%s/users/%d -> $blog_id, $user_id
- function callback( $path = '', $blog_id = 0, $user_id = 0 ) {
+ /**
+ * API Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param int $user_id - the user ID.
+ *
+ * @return array|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0, $user_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -126,7 +150,7 @@ class WPCOM_JSON_API_Site_User_Endpoint extends WPCOM_JSON_API_Endpoint {
// Get the user by ID or login
$get_by = false !== strpos( $path, '/users/login:' ) ? 'login' : 'id';
- $user = get_user_by( $get_by, $user_id );
+ $user = get_user_by( $get_by, $user_id );
if ( ! $user ) {
return new WP_Error( 'unknown_user', 'Unknown user', 404 );
@@ -138,7 +162,7 @@ class WPCOM_JSON_API_Site_User_Endpoint extends WPCOM_JSON_API_Endpoint {
if ( 'GET' === $this->api->method ) {
return $this->get_user( $user->ID );
- } else if ( 'POST' === $this->api->method ) {
+ } elseif ( 'POST' === $this->api->method ) {
if ( ! current_user_can_for_blog( $blog_id, 'promote_users' ) ) {
return new WP_Error( 'unauthorized_no_promote_cap', 'User cannot promote users for specified site', 403 );
}
@@ -148,10 +172,17 @@ class WPCOM_JSON_API_Site_User_Endpoint extends WPCOM_JSON_API_Endpoint {
}
}
+ /**
+ * Get the user.
+ *
+ * @param int $user_id - the user ID.
+ *
+ * @return object
+ */
public function get_user( $user_id ) {
$the_user = $this->get_author( $user_id, true );
if ( $the_user && ! is_wp_error( $the_user ) ) {
- $userdata = get_userdata( $user_id );
+ $userdata = get_userdata( $user_id );
$the_user->roles = ! is_wp_error( $userdata ) ? array_values( $userdata->roles ) : array();
}
@@ -159,20 +190,24 @@ class WPCOM_JSON_API_Site_User_Endpoint extends WPCOM_JSON_API_Endpoint {
}
/**
- * Updates user data
+ * Updates user data.
+ *
+ * @param int $user_id - the user ID.
+ * @param int $blog_id - the blog ID.
*
- * @return array
+ * @return array|WP_Error
*/
public function update_user( $user_id, $blog_id ) {
- $input = $this->input();
+ $user = array();
+ $input = $this->input();
$user['ID'] = $user_id;
- $is_wpcom = defined( 'IS_WPCOM' ) && IS_WPCOM;
+ $is_wpcom = defined( 'IS_WPCOM' ) && IS_WPCOM;
- if ( get_current_user_id() == $user_id && isset( $input['roles'] ) ) {
+ if ( get_current_user_id() === (int) $user_id && isset( $input['roles'] ) ) {
return new WP_Error( 'unauthorized', 'You cannot change your own role', 403 );
}
- if ( $is_wpcom && $user_id !== get_current_user_id() && $user_id == wpcom_get_blog_owner( $blog_id ) ) {
+ if ( $is_wpcom && $user_id !== get_current_user_id() && (int) $user_id === wpcom_get_blog_owner( $blog_id ) ) {
return new WP_Error( 'unauthorized_edit_owner', 'Current user can not edit blog owner', 403 );
}
@@ -189,25 +224,33 @@ class WPCOM_JSON_API_Site_User_Endpoint extends WPCOM_JSON_API_Endpoint {
break;
case 'display_name':
case 'name':
- $user[ 'display_name' ] = $value;
+ $user['display_name'] = $value;
break;
}
}
}
- if ( isset( $input[ 'roles' ] ) ) {
+ if ( isset( $input['roles'] ) ) {
// For now, we only use the first role in the array.
if ( is_array( $input['roles'] ) ) {
$user['role'] = $input['roles'][0];
- } else if ( is_string( $input['roles'] ) ) {
+ } elseif ( is_string( $input['roles'] ) ) {
$user['role'] = $input['roles'];
} else {
return new WP_Error( 'invalid_input', __( 'The roles property must be a string or an array.', 'jetpack' ), 400 );
}
$editable_roles = array_keys( get_editable_roles() );
- if ( ! in_array( $user['role'], $editable_roles ) ) {
- return new WP_Error( 'invalid_input', sprintf( __( '%s is not a valid role.', 'jetpack' ), $editable_roles ), 400 );
+ if ( ! in_array( $user['role'], $editable_roles, true ) ) {
+ return new WP_Error(
+ 'invalid_input',
+ sprintf(
+ /* Translators: placeholder is an invalid role name */
+ esc_html__( '%s is not a valid role.', 'jetpack' ),
+ $editable_roles
+ ),
+ 400
+ );
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-taxonomy-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-taxonomy-endpoint.php
index 312fa195..1a80a3b5 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-taxonomy-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-taxonomy-endpoint.php
@@ -1,30 +1,51 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * Taxonomy endpoint.
+ */
abstract class WPCOM_JSON_API_Taxonomy_Endpoint extends WPCOM_JSON_API_Endpoint {
+
+ /**
+ * Category object format.
+ *
+ * @var array
+ */
public $category_object_format = array(
'ID' => '(int) The category ID.',
- 'name' => "(string) The name of the category.",
- 'slug' => "(string) The slug of the category.",
+ 'name' => '(string) The name of the category.',
+ 'slug' => '(string) The slug of the category.',
'description' => '(string) The description of the category.',
- 'post_count' => "(int) The number of posts using this category.",
+ 'post_count' => '(int) The number of posts using this category.',
'feed_url' => '(string) The URL of the feed for this category.',
- 'parent' => "(int) The parent ID for the category.",
+ 'parent' => '(int) The parent ID for the category.',
'meta' => '(object) Meta data',
);
+ /**
+ * Tag object format.
+ *
+ * @var array
+ */
public $tag_object_format = array(
'ID' => '(int) The tag ID.',
- 'name' => "(string) The name of the tag.",
- 'slug' => "(string) The slug of the tag.",
+ 'name' => '(string) The name of the tag.',
+ 'slug' => '(string) The slug of the tag.',
'description' => '(string) The description of the tag.',
- 'post_count' => "(int) The number of posts using this t.",
+ 'post_count' => '(int) The number of posts using this t.',
'meta' => '(object) Meta data',
);
- function __construct( $args ) {
+ /**
+ * Constructor function.
+ *
+ * @param string|array|object $args - the arguments.
+ */
+ public function __construct( $args ) {
parent::__construct( $args );
- if ( preg_match( '#/tags/#i', $this->path ) )
+ if ( preg_match( '#/tags/#i', $this->path ) ) {
$this->response_format =& $this->tag_object_format;
- else
+ } else {
$this->response_format =& $this->category_object_format;
+ }
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-comment-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-comment-endpoint.php
index a5056472..49117c8d 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-comment-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-comment-endpoint.php
@@ -1,149 +1,185 @@
-<?php
-
-new WPCOM_JSON_API_Update_Comment_Endpoint( array(
- 'description' => 'Create a comment on a post.',
- 'group' => 'comments',
- 'stat' => 'posts:1:replies:new',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/%d/replies/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID'
- ),
-
- 'request_format' => array(
- // explicitly document all input
- 'content' => '(HTML) The comment text.',
-// @todo Should we open this up to unauthenticated requests too?
-// 'author' => '(author object) The author of the comment.',
- ),
-
- 'pass_wpcom_user_details' => true,
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/843/replies/new/',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Manage comments via the WordPress.com REST API.
+ *
+ * Endpoints;
+ * Create a comment on a post: /sites/%s/posts/%d/replies/new
+ * Create a comment as a reply to another comment: /sites/%s/comments/%d/replies/new
+ * Edit a comment: /sites/%s/comments/%d
+ * Delete a comment: /sites/%s/comments/%d/delete
+ */
+
+new WPCOM_JSON_API_Update_Comment_Endpoint(
+ array(
+ 'description' => 'Create a comment on a post.',
+ 'group' => 'comments',
+ 'stat' => 'posts:1:replies:new',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/%d/replies/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
+ ),
+
+ 'request_format' => array(
+ // explicitly document all input.
+ 'content' => '(HTML) The comment text.',
+ // @todo Should we open this up to unauthenticated requests too?
+ // 'author' => '(author object) The author of the comment.',
+ ),
+
+ 'pass_wpcom_user_details' => true,
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/843/replies/new/',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'content' => 'Your reply is very interesting. This is a reply.',
+ ),
),
- 'body' => array(
- 'content' => 'Your reply is very interesting. This is a reply.'
- )
)
-) );
-
-new WPCOM_JSON_API_Update_Comment_Endpoint( array(
- 'description' => 'Create a comment as a reply to another comment.',
- 'group' => 'comments',
- 'stat' => 'comments:1:replies:new',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/comments/%d/replies/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$comment_ID' => '(int) The comment ID'
- ),
-
- 'request_format' => array(
- 'content' => '(HTML) The comment text.',
-// @todo Should we open this up to unauthenticated requests too?
-// 'author' => '(author object) The author of the comment.',
- ),
-
- 'pass_wpcom_user_details' => true,
-
- 'allow_fallback_to_jetpack_blog_token' => true,
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/29/replies/new',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+);
+
+new WPCOM_JSON_API_Update_Comment_Endpoint(
+ array(
+ 'description' => 'Create a comment as a reply to another comment.',
+ 'group' => 'comments',
+ 'stat' => 'comments:1:replies:new',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/comments/%d/replies/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$comment_ID' => '(int) The comment ID',
+ ),
+
+ 'request_format' => array(
+ 'content' => '(HTML) The comment text.',
+ // @todo Should we open this up to unauthenticated requests too?
+ // 'author' => '(author object) The author of the comment.',
+ ),
+
+ 'pass_wpcom_user_details' => true,
+
+ 'allow_fallback_to_jetpack_blog_token' => true,
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/29/replies/new',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'content' => 'This reply is very interesting. This is editing a comment reply via the API.',
+ ),
),
- 'body' => array(
- 'content' => 'This reply is very interesting. This is editing a comment reply via the API.',
- )
)
-) );
-
-new WPCOM_JSON_API_Update_Comment_Endpoint( array(
- 'description' => 'Edit a comment.',
- 'group' => 'comments',
- 'stat' => 'comments:1:POST',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/comments/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$comment_ID' => '(int) The comment ID'
- ),
-
- 'request_format' => array(
- 'author' => "(string) The comment author's name.",
- 'author_email' => "(string) The comment author's email.",
- 'author_url' => "(string) The comment author's URL.",
- 'content' => '(HTML) The comment text.',
- 'date' => "(ISO 8601 datetime) The comment's creation time.",
- 'status' => array(
- 'approved' => 'Approve the comment.',
- 'unapproved' => 'Remove the comment from public view and send it to the moderation queue.',
- 'spam' => 'Mark the comment as spam.',
- 'unspam' => 'Unmark the comment as spam. Will attempt to set it to the previous status.',
- 'trash' => 'Send a comment to the trash if trashing is enabled (see constant: EMPTY_TRASH_DAYS).',
- 'untrash' => 'Untrash a comment. Only works when the comment is in the trash.',
+);
+
+new WPCOM_JSON_API_Update_Comment_Endpoint(
+ array(
+ 'description' => 'Edit a comment.',
+ 'group' => 'comments',
+ 'stat' => 'comments:1:POST',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/comments/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$comment_ID' => '(int) The comment ID',
+ ),
+
+ 'request_format' => array(
+ 'author' => "(string) The comment author's name.",
+ 'author_email' => "(string) The comment author's email.",
+ 'author_url' => "(string) The comment author's URL.",
+ 'content' => '(HTML) The comment text.',
+ 'date' => "(ISO 8601 datetime) The comment's creation time.",
+ 'status' => array(
+ 'approved' => 'Approve the comment.',
+ 'unapproved' => 'Remove the comment from public view and send it to the moderation queue.',
+ 'spam' => 'Mark the comment as spam.',
+ 'unspam' => 'Unmark the comment as spam. Will attempt to set it to the previous status.',
+ 'trash' => 'Send a comment to the trash if trashing is enabled (see constant: EMPTY_TRASH_DAYS).',
+ 'untrash' => 'Untrash a comment. Only works when the comment is in the trash.',
+ ),
),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/29',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/29',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'content' => 'This reply is now edited via the API.',
+ 'status' => 'approved',
+ ),
),
- 'body' => array(
- 'content' => 'This reply is now edited via the API.',
- 'status' => 'approved',
- )
)
-) );
-
-new WPCOM_JSON_API_Update_Comment_Endpoint( array(
- 'description' => 'Delete a comment.',
- 'group' => 'comments',
- 'stat' => 'comments:1:delete',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/comments/%d/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$comment_ID' => '(int) The comment ID'
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/$comment_ID/delete',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+);
+
+new WPCOM_JSON_API_Update_Comment_Endpoint(
+ array(
+ 'description' => 'Delete a comment.',
+ 'group' => 'comments',
+ 'stat' => 'comments:1:delete',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/comments/%d/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$comment_ID' => '(int) The comment ID',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/$comment_ID/delete',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
+);
+/**
+ * Update comments endpoint class.
+ */
class WPCOM_JSON_API_Update_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endpoint {
- function __construct( $args ) {
+ /**
+ * WPCOM_JSON_API_Update_Comment_Endpoint constructor.
+ *
+ * @param array $args - Args.
+ */
+ public function __construct( $args ) {
parent::__construct( $args );
if ( $this->api->ends_with( $this->path, '/delete' ) ) {
$this->comment_object_format['status']['deleted'] = 'The comment has been deleted permanently.';
}
}
- // /sites/%s/posts/%d/replies/new -> $blog_id, $post_id
- // /sites/%s/comments/%d/replies/new -> $blog_id, $comment_id
- // /sites/%s/comments/%d -> $blog_id, $comment_id
- // /sites/%s/comments/%d/delete -> $blog_id, $comment_id
- function callback( $path = '', $blog_id = 0, $object_id = 0 ) {
- if ( $this->api->ends_with( $path, '/new' ) )
+ /**
+ * Update comment API callback.
+ *
+ * /sites/%s/posts/%d/replies/new -> $blog_id, $post_id
+ * /sites/%s/comments/%d/replies/new -> $blog_id, $comment_id
+ * /sites/%s/comments/%d -> $blog_id, $comment_id
+ * /sites/%s/comments/%d/delete -> $blog_id, $comment_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id The blog ID.
+ * @param int $object_id The object ID.
+ *
+ * @return bool|WP_Error|array
+ */
+ public function callback( $path = '', $blog_id = 0, $object_id = 0 ) {
+ if ( $this->api->ends_with( $path, '/new' ) ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ), false );
- else
+ } else {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
+ }
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
@@ -161,12 +197,23 @@ class WPCOM_JSON_API_Update_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endp
return $this->update_comment( $path, $blog_id, $object_id );
}
- // /sites/%s/posts/%d/replies/new -> $blog_id, $post_id
- // /sites/%s/comments/%d/replies/new -> $blog_id, $comment_id
- function new_comment( $path, $blog_id, $post_id, $comment_parent_id ) {
- if ( !$post_id ) {
+ /**
+ * Add a new comment to a post or as a reply to another comment.
+ *
+ * /sites/%s/posts/%d/replies/new -> $blog_id, $post_id
+ * /sites/%s/comments/%d/replies/new -> $blog_id, $comment_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id The blog ID.
+ * @param int $post_id The post ID.
+ * @param int $comment_parent_id The comment parent ID.
+ *
+ * @return bool|WP_Error|array
+ */
+ public function new_comment( $path, $blog_id, $post_id, $comment_parent_id ) {
+ if ( ! $post_id ) {
$comment_parent = get_comment( $comment_parent_id );
- if ( !$comment_parent_id || !$comment_parent || is_wp_error( $comment_parent ) ) {
+ if ( ! $comment_parent_id || ! $comment_parent || is_wp_error( $comment_parent ) ) {
return new WP_Error( 'unknown_comment', 'Unknown comment', 404 );
}
@@ -174,12 +221,12 @@ class WPCOM_JSON_API_Update_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endp
}
$post = get_post( $post_id );
- if ( !$post || is_wp_error( $post ) ) {
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
if (
- -1 == get_option( 'blog_public' ) &&
+ -1 == get_option( 'blog_public' ) && // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
/**
* Filter allowing non-registered users on the site to comment.
*
@@ -200,34 +247,34 @@ class WPCOM_JSON_API_Update_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endp
}
$can_view = $this->user_can_view_post( $post->ID );
- if ( !$can_view || is_wp_error( $can_view ) ) {
+ if ( ! $can_view || is_wp_error( $can_view ) ) {
return $can_view;
}
$post_status = get_post_status_object( get_post_status( $post ) );
- if ( !$post_status->public && !$post_status->private ) {
+ if ( ! $post_status->public && ! $post_status->private ) {
return new WP_Error( 'unauthorized', 'Comments on drafts are not allowed', 403 );
}
$args = $this->query_args();
$input = $this->input();
- if ( !is_array( $input ) || !$input || !strlen( $input['content'] ) ) {
+ if ( ! is_array( $input ) || ! $input || ! strlen( $input['content'] ) ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
$user = wp_get_current_user();
- if ( !$user || is_wp_error( $user ) || !$user->ID ) {
+ if ( ! $user || is_wp_error( $user ) || ! $user->ID ) {
$auth_required = false;
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
$auth_required = true;
} elseif ( isset( $this->api->token_details['user'] ) ) {
$user = (object) $this->api->token_details['user'];
foreach ( array( 'display_name', 'user_email', 'user_url' ) as $user_datum ) {
- if ( !isset( $user->$user_datum ) ) {
+ if ( ! isset( $user->$user_datum ) ) {
$auth_required = true;
}
}
- if ( !isset( $user->ID ) ) {
+ if ( ! isset( $user->ID ) ) {
$user->ID = 0;
}
@@ -261,7 +308,7 @@ class WPCOM_JSON_API_Update_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endp
);
if ( $comment_parent_id ) {
- if ( $comment_parent->comment_approved === '0' && current_user_can( 'edit_comment', $comment_parent->comment_ID ) ) {
+ if ( '0' === $comment_parent->comment_approved && current_user_can( 'edit_comment', $comment_parent->comment_ID ) ) {
wp_set_comment_status( $comment_parent->comment_ID, 'approve' );
}
}
@@ -271,7 +318,7 @@ class WPCOM_JSON_API_Update_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endp
$this->api->trap_wp_die( null );
$return = $this->get_comment( $comment_id, $args['context'] );
- if ( !$return ) {
+ if ( ! $return ) {
return new WP_Error( 400, __( 'Comment cache problem?', 'jetpack' ) );
}
if ( is_wp_error( $return ) ) {
@@ -283,61 +330,71 @@ class WPCOM_JSON_API_Update_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endp
return $return;
}
- // /sites/%s/comments/%d -> $blog_id, $comment_id
- function update_comment( $path, $blog_id, $comment_id ) {
+ /**
+ * Update a comment.
+ *
+ * /sites/%s/comments/%d -> $blog_id, $comment_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $comment_id Comment ID.
+ *
+ * @return bool|WP_Error|array
+ */
+ public function update_comment( $path, $blog_id, $comment_id ) {
$comment = get_comment( $comment_id );
- if ( !$comment || is_wp_error( $comment ) ) {
+ if ( ! $comment || is_wp_error( $comment ) ) {
return new WP_Error( 'unknown_comment', 'Unknown comment', 404 );
}
- if ( !current_user_can( 'edit_comment', $comment->comment_ID ) ) {
+ if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit comment', 403 );
}
$args = $this->query_args();
$input = $this->input( false );
- if ( !is_array( $input ) || !$input ) {
+ if ( ! is_array( $input ) || ! $input ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
$update = array();
foreach ( $input as $key => $value ) {
- $update["comment_$key"] = $value;
+ $update[ "comment_$key" ] = $value;
}
$comment_status = wp_get_comment_status( $comment->comment_ID );
if ( isset( $update['comment_status'] ) ) {
switch ( $update['comment_status'] ) {
- case 'approved' :
+ case 'approved':
if ( 'approve' !== $comment_status ) {
wp_set_comment_status( $comment->comment_ID, 'approve' );
}
break;
- case 'unapproved' :
+ case 'unapproved':
if ( 'hold' !== $comment_status ) {
wp_set_comment_status( $comment->comment_ID, 'hold' );
}
break;
- case 'spam' :
+ case 'spam':
if ( 'spam' !== $comment_status ) {
wp_spam_comment( $comment->comment_ID );
}
break;
- case 'unspam' :
+ case 'unspam':
if ( 'spam' === $comment_status ) {
wp_unspam_comment( $comment->comment_ID );
}
break;
- case 'trash' :
+ case 'trash':
if ( ! EMPTY_TRASH_DAYS ) {
return new WP_Error( 'trash_disabled', 'Cannot trash comment', 403 );
}
if ( 'trash' !== $comment_status ) {
- wp_trash_comment( $comment_id );
- }
- break;
- case 'untrash' :
+ wp_trash_comment( $comment_id );
+ }
+ break;
+ case 'untrash':
if ( 'trash' === $comment_status ) {
wp_untrash_comment( $comment->comment_ID );
}
@@ -355,7 +412,7 @@ class WPCOM_JSON_API_Update_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endp
}
$return = $this->get_comment( $comment->comment_ID, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
@@ -364,20 +421,30 @@ class WPCOM_JSON_API_Update_Comment_Endpoint extends WPCOM_JSON_API_Comment_Endp
return $return;
}
- // /sites/%s/comments/%d/delete -> $blog_id, $comment_id
- function delete_comment( $path, $blog_id, $comment_id ) {
+ /**
+ * Delete a comment.
+ *
+ * /sites/%s/comments/%d/delete -> $blog_id, $comment_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $comment_id Comment ID.
+ *
+ * @return bool|WP_Error|array
+ */
+ public function delete_comment( $path, $blog_id, $comment_id ) {
$comment = get_comment( $comment_id );
- if ( !$comment || is_wp_error( $comment ) ) {
+ if ( ! $comment || is_wp_error( $comment ) ) {
return new WP_Error( 'unknown_comment', 'Unknown comment', 404 );
}
- if ( !current_user_can( 'edit_comment', $comment->comment_ID ) ) { // [sic] There is no delete_comment cap
+ if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) ) { // [sic] There is no delete_comment cap
return new WP_Error( 'unauthorized', 'User cannot delete comment', 403 );
}
- $args = $this->query_args();
+ $args = $this->query_args();
$return = $this->get_comment( $comment->comment_ID, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-customcss.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-customcss.php
index c67ac3e4..c957bd45 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-customcss.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-customcss.php
@@ -1,51 +1,61 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
- * Custom Css update endpoint
+ * Custom CSS update endpoint.
*
- * https://public-api.wordpress.com/rest/v1.1/sites/$site/customcss/
+ * Endpoint: /sites/%s/customcss
*/
-new WPCOM_JSON_API_Update_CustomCss_Endpoint( array (
- 'description' => 'Set custom-css data for a site.',
- 'group' => '__do_not_document',
- 'stat' => 'customcss:1:update',
- 'method' => 'POST',
- 'min_version' => '1.1',
- 'path' => '/sites/%s/customcss',
- 'path_labels' => array(
- '$site' => '(string) Site ID or domain.',
- ),
- 'request_format' => array(
- 'css' => '(string) Optional. The raw CSS.',
- 'preprocessor' => '(string) Optional. The name of the preprocessor if any.',
- 'add_to_existing' => '(bool) Optional. False to skip the existing styles.',
- ),
- 'response_format' => array(
- 'css' => '(string) The raw CSS.',
- 'preprocessor' => '(string) The name of the preprocessor if any.',
- 'add_to_existing' => '(bool) False to skip the existing styles.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/12345678/customcss',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- 'body' => array(
- 'css' => '.stie-title { color: #fff; }',
- 'preprocessor' => 'sass'
+new WPCOM_JSON_API_Update_CustomCss_Endpoint(
+ array(
+ 'description' => 'Set custom-css data for a site.',
+ 'group' => '__do_not_document',
+ 'stat' => 'customcss:1:update',
+ 'method' => 'POST',
+ 'min_version' => '1.1',
+ 'path' => '/sites/%s/customcss',
+ 'path_labels' => array(
+ '$site' => '(string) Site ID or domain.',
),
- ),
- 'example_response' => '
+ 'request_format' => array(
+ 'css' => '(string) Optional. The raw CSS.',
+ 'preprocessor' => '(string) Optional. The name of the preprocessor if any.',
+ 'add_to_existing' => '(bool) Optional. False to skip the existing styles.',
+ ),
+ 'response_format' => array(
+ 'css' => '(string) The raw CSS.',
+ 'preprocessor' => '(string) The name of the preprocessor if any.',
+ 'add_to_existing' => '(bool) False to skip the existing styles.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/12345678/customcss',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ 'body' => array(
+ 'css' => '.stie-title { color: #fff; }',
+ 'preprocessor' => 'sass',
+ ),
+ ),
+ 'example_response' => '
{
"css": ".site-title { color: #fff; }",
"preprocessor": "sass",
"add_to_existing": "true"
- }'
-) );
+ }',
+ )
+);
+/**
+ * Custom CSS update endpoint class.
+ */
class WPCOM_JSON_API_Update_CustomCss_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
- * API callback.
+ * Custom CSS update endpoint API callback.
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ *
+ * @return array|WP_Error
*/
- function callback( $path = '', $blog_id = 0 ) {
+ public function callback( $path = '', $blog_id = 0 ) {
// Switch to the given blog.
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
@@ -61,21 +71,21 @@ class WPCOM_JSON_API_Update_CustomCss_Endpoint extends WPCOM_JSON_API_Endpoint {
return new WP_Error( 'no_data', 'No data was provided.', 400 );
}
$save_args = array(
- 'css' => $args['css'],
- 'preprocessor' => $args['preprocessor'],
+ 'css' => $args['css'],
+ 'preprocessor' => $args['preprocessor'],
'add_to_existing' => $args['add_to_existing'],
);
Jetpack_Custom_CSS::save( $save_args );
$current = array(
- 'css' => Jetpack_Custom_CSS::get_css(),
- 'preprocessor' => Jetpack_Custom_CSS::get_preprocessor_key(),
+ 'css' => Jetpack_Custom_CSS::get_css(),
+ 'preprocessor' => Jetpack_Custom_CSS::get_preprocessor_key(),
'add_to_existing' => ! Jetpack_Custom_CSS::skip_stylesheet(),
);
$defaults = array(
- 'css' => '',
- 'preprocessor' => '',
+ 'css' => '',
+ 'preprocessor' => '',
'add_to_existing' => true,
);
return wp_parse_args( $current, $defaults );
@@ -83,4 +93,3 @@ class WPCOM_JSON_API_Update_CustomCss_Endpoint extends WPCOM_JSON_API_Endpoint {
}
-
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-endpoint.php
index 9b6b2536..b84b13a0 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-endpoint.php
@@ -1,54 +1,73 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Update media item info endpoint.
+ *
+ * Endpoint: /sites/%s/media/%d
+ */
-new WPCOM_JSON_API_Update_Media_Endpoint( array(
- 'description' => 'Edit basic information about a media item.',
- 'group' => 'media',
- 'stat' => 'media:1:POST',
- 'method' => 'POST',
- 'path' => '/sites/%s/media/%d',
- 'deprecated' => true,
- 'max_version' => '1',
- 'new_version' => '1.1',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$media_ID' => '(int) The ID of the media item',
- ),
+new WPCOM_JSON_API_Update_Media_Endpoint(
+ array(
+ 'description' => 'Edit basic information about a media item.',
+ 'group' => 'media',
+ 'stat' => 'media:1:POST',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/media/%d',
+ 'deprecated' => true,
+ 'max_version' => '1',
+ 'new_version' => '1.1',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$media_ID' => '(int) The ID of the media item',
+ ),
- 'request_format' => array(
- 'title' => '(string) The file name.',
- 'caption' => '(string) File caption.',
- 'description' => '(HTML) Description of the file.',
- ),
+ 'request_format' => array(
+ 'title' => '(string) The file name.',
+ 'caption' => '(string) File caption.',
+ 'description' => '(HTML) Description of the file.',
+ ),
- 'response_format' => array(
- 'id' => '(int) The ID of the media item',
- 'date' => '(ISO 8601 datetime) The date the media was uploaded',
- 'parent' => '(int) ID of the post this media is attached to',
- 'link' => '(string) URL to the file',
- 'title' => '(string) File name',
- 'caption' => '(string) User provided caption of the file',
- 'description' => '(string) Description of the file',
- 'metadata' => '(array) Array of metadata about the file, such as Exif data or sizes',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media/446',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+ 'response_format' => array(
+ 'id' => '(int) The ID of the media item',
+ 'date' => '(ISO 8601 datetime) The date the media was uploaded',
+ 'parent' => '(int) ID of the post this media is attached to',
+ 'link' => '(string) URL to the file',
+ 'title' => '(string) File name',
+ 'caption' => '(string) User provided caption of the file',
+ 'description' => '(string) Description of the file',
+ 'metadata' => '(array) Array of metadata about the file, such as Exif data or sizes',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media/446',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'title' => 'Updated Title',
+ ),
),
- 'body' => array(
- 'title' => 'Updated Title'
- )
)
-) );
+);
+/**
+ * Update media item info class.
+ */
class WPCOM_JSON_API_Update_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
- function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
+ /**
+ * Update media item info API callback.
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $media_id Media ID.
+ *
+ * @return object|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
- if ( !current_user_can( 'upload_files', $media_id ) ) {
+ if ( ! current_user_can( 'upload_files', $media_id ) ) {
return new WP_Error( 'unauthorized', 'User cannot view media', 403 );
}
@@ -58,18 +77,20 @@ class WPCOM_JSON_API_Update_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
return new WP_Error( 'unknown_media', 'Unknown Media', 404 );
}
- $input = $this->input( true );
+ $input = $this->input( true );
$insert = array();
- if ( !empty( $input['title'] ) ) {
+ if ( ! empty( $input['title'] ) ) {
$insert['post_title'] = $input['title'];
}
- if ( !empty( $input['caption'] ) )
+ if ( ! empty( $input['caption'] ) ) {
$insert['post_excerpt'] = $input['caption'];
+ }
- if ( !empty( $input['description'] ) )
+ if ( ! empty( $input['description'] ) ) {
$insert['post_content'] = $input['description'];
+ }
$insert['ID'] = $media_id;
wp_update_post( (object) $insert );
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-v1-1-endpoint.php
index 5f029269..80322bdc 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-media-v1-1-endpoint.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Update media item info v1.1 endpoint.
+ *
+ * Endpoint: v1.1/sites/%s/media/%d
+ */
new WPCOM_JSON_API_Update_Media_v1_1_Endpoint(
array(
@@ -15,16 +20,17 @@ new WPCOM_JSON_API_Update_Media_v1_1_Endpoint(
),
'request_format' => array(
- 'parent_id' => '(int) ID of the post this media is attached to',
- 'title' => '(string) The file name.',
- 'caption' => '(string) File caption.',
- 'description' => '(HTML) Description of the file.',
- 'alt' => '(string) Alternative text for image files.',
- 'rating' => '(string) Video only. Video rating.',
- 'display_embed' => '(string) Video only. Whether to share or not the video.',
- 'allow_download' => '(string) Video only. Whether the video can be downloaded or not.',
- 'artist' => '(string) Audio Only. Artist metadata for the audio track.',
- 'album' => '(string) Audio Only. Album metadata for the audio track.',
+ 'parent_id' => '(int) ID of the post this media is attached to',
+ 'title' => '(string) The file name.',
+ 'caption' => '(string) File caption.',
+ 'description' => '(HTML) Description of the file.',
+ 'alt' => '(string) Alternative text for image files.',
+ 'rating' => '(string) Video only. Video rating.',
+ 'display_embed' => '(string) Video only. Whether to share or not the video.',
+ 'allow_download' => '(string) Video only. Whether the video can be downloaded or not.',
+ 'privacy_setting' => '(int) Video only. The privacy level for the video.',
+ 'artist' => '(string) Audio Only. Artist metadata for the audio track.',
+ 'album' => '(string) Audio Only. Album metadata for the audio track.',
),
'response_format' => array(
@@ -49,6 +55,7 @@ new WPCOM_JSON_API_Update_Media_v1_1_Endpoint(
'rating' => '(string) (Video only) VideoPress rating of the video',
'display_embed' => '(string) Video only. Whether to share or not the video.',
'allow_download' => '(string) Video only. Whether the video can be downloaded or not.',
+ 'privacy_setting' => '(int) Video only. The privacy level for the video.',
'videopress_guid' => '(string) (Video only) VideoPress GUID of the video when uploaded on a blog with VideoPress',
'videopress_processing_done' => '(bool) (Video only) If the video is uploaded on a blog with VideoPress, this will return the status of processing on the video.',
),
@@ -65,8 +72,21 @@ new WPCOM_JSON_API_Update_Media_v1_1_Endpoint(
)
);
+// phpcs:disable PEAR.NamingConventions.ValidClassName.Invalid
+/**
+ * Update media item info v1.1 class.
+ */
class WPCOM_JSON_API_Update_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
- function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
+ /**
+ * Update media item info API v1.1 callback.
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $media_id Media ID.
+ *
+ * @return object|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0, $media_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -168,12 +188,13 @@ class WPCOM_JSON_API_Update_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
return \Videopress_Attachment_Metadata::persist_metadata(
$media_id,
$item->videopress_guid,
- $input['title'],
- $input['caption'],
- $input['description'],
- $input['rating'],
- $input['display_embed'],
- $input['allow_download']
+ isset( $input['title'] ) ? $input['title'] : null,
+ isset( $input['caption'] ) ? $input['caption'] : null,
+ isset( $input['description'] ) ? $input['description'] : null,
+ isset( $input['rating'] ) ? $input['rating'] : null,
+ isset( $input['display_embed'] ) ? $input['display_embed'] : null,
+ isset( $input['allow_download'] ) ? $input['allow_download'] : null,
+ isset( $input['privacy_setting'] ) ? $input['privacy_setting'] : null
);
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-endpoint.php
index 07adba9e..7adf9069 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-endpoint.php
@@ -1,196 +1,231 @@
-<?php
-
-new WPCOM_JSON_API_Update_Post_Endpoint( array(
- 'description' => 'Create a post.',
- 'group' => 'posts',
- 'stat' => 'posts:new',
- 'new_version' => '1.2',
- 'max_version' => '1',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'request_format' => array(
- // explicitly document all input
- 'date' => "(ISO 8601 datetime) The post's creation time.",
- 'title' => '(HTML) The post title.',
- 'content' => '(HTML) The post content.',
- 'excerpt' => '(HTML) An optional post excerpt.',
- 'slug' => '(string) The name (slug) for the post, used in URLs.',
- 'author' => '(string) The username or ID for the user to assign the post to.',
- 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
- 'publicize_message' => '(string) Custom message to be publicized to external services.',
- 'status' => array(
- 'publish' => 'Publish the post.',
- 'private' => 'Privately publish the post.',
- 'draft' => 'Save the post as a draft.',
- 'pending' => 'Mark the post as pending editorial approval.',
- 'auto-draft' => 'Save a placeholder for a newly created post, with no content.',
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Update post endpoint.
+ *
+ * Endpoints:
+ * Create a post: /sites/%s/posts/new
+ * Update a post: /sites/%s/posts/%d
+ * Delete a post: /sites/%s/posts/%d/delete
+ * Restore a post: /sites/%s/posts/%d/restore
+ */
+
+new WPCOM_JSON_API_Update_Post_Endpoint(
+ array(
+ 'description' => 'Create a post.',
+ 'group' => 'posts',
+ 'stat' => 'posts:new',
+ 'new_version' => '1.2',
+ 'max_version' => '1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'sticky' => array(
- 'false' => 'Post is not marked as sticky.',
- 'true' => 'Stick the post to the front page.',
- ),
- 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
- 'parent' => "(int) The post ID of the new post's parent.",
- 'type' => "(string) The post type. Defaults to 'post'. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
- 'categories' => "(array|string) Comma-separated list or array of categories (name or id)",
- 'tags' => "(array|string) Comma-separated list or array of tags (name or id)",
- 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
- 'featured_image' => "(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.",
- 'media' => "(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options response of the site endpoint. <br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'title=Image' \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- 'media_urls' => "(array) An array of URLs for images to attach to a post. Sideloads the media in for a post.",
- 'metadata' => "(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are avaiable for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.",
- 'comments_open' => "(bool) Should the post be open to comments? Defaults to the blog's preference.",
- 'pings_open' => "(bool) Should the post be open to comments? Defaults to the blog's preference.",
- 'likes_enabled' => "(bool) Should the post be open to likes? Defaults to the blog's preference.",
- 'sharing_enabled' => "(bool) Should sharing buttons show on this post? Defaults to true.",
- 'menu_order' => "(int) (Pages Only) the order pages should appear in. Use 0 to maintain alphabetical order.",
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/new/',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+
+ 'request_format' => array(
+ // explicitly document all input.
+ 'date' => "(ISO 8601 datetime) The post's creation time.",
+ 'title' => '(HTML) The post title.',
+ 'content' => '(HTML) The post content.',
+ 'excerpt' => '(HTML) An optional post excerpt.',
+ 'slug' => '(string) The name (slug) for the post, used in URLs.',
+ 'author' => '(string) The username or ID for the user to assign the post to.',
+ 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
+ 'publicize_message' => '(string) Custom message to be publicized to external services.',
+ 'status' => array(
+ 'publish' => 'Publish the post.',
+ 'private' => 'Privately publish the post.',
+ 'draft' => 'Save the post as a draft.',
+ 'pending' => 'Mark the post as pending editorial approval.',
+ 'auto-draft' => 'Save a placeholder for a newly created post, with no content.',
+ ),
+ 'sticky' => array(
+ 'false' => 'Post is not marked as sticky.',
+ 'true' => 'Stick the post to the front page.',
+ ),
+ 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
+ 'parent' => "(int) The post ID of the new post's parent.",
+ 'type' => "(string) The post type. Defaults to 'post'. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
+ 'categories' => '(array|string) Comma-separated list or array of categories (name or id)',
+ 'tags' => '(array|string) Comma-separated list or array of tags (name or id)',
+ 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
+ 'featured_image' => '(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.',
+ 'media' => '(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options response of the site endpoint. <br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'title=Image' \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ 'media_urls' => '(array) An array of URLs for images to attach to a post. Sideloads the media in for a post.',
+ 'metadata' => '(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are avaiable for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
+ 'comments_open' => "(bool) Should the post be open to comments? Defaults to the blog's preference.",
+ 'pings_open' => "(bool) Should the post be open to comments? Defaults to the blog's preference.",
+ 'likes_enabled' => "(bool) Should the post be open to likes? Defaults to the blog's preference.",
+ 'sharing_enabled' => '(bool) Should sharing buttons show on this post? Defaults to true.',
+ 'menu_order' => '(int) (Pages Only) the order pages should appear in. Use 0 to maintain alphabetical order.',
),
- 'body' => array(
- 'title' => 'Hello World',
- 'content' => 'Hello. I am a test post. I was created by the API',
- 'tags' => 'tests',
- 'categories' => 'API'
- )
- )
-) );
-
-new WPCOM_JSON_API_Update_Post_Endpoint( array(
- 'description' => 'Edit a post.',
- 'group' => 'posts',
- 'stat' => 'posts:1:POST',
- 'new_version' => '1.2',
- 'max_version' => '1',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
-
- 'request_format' => array(
- 'date' => "(ISO 8601 datetime) The post's creation time.",
- 'title' => '(HTML) The post title.',
- 'content' => '(HTML) The post content.',
- 'excerpt' => '(HTML) An optional post excerpt.',
- 'slug' => '(string) The name (slug) for the post, used in URLs.',
- 'author' => '(string) The username or ID for the user to assign the post to.',
- 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
- 'publicize_message' => '(string) Custom message to be publicized to external services.',
- 'status' => array(
- 'publish' => 'Publish the post.',
- 'private' => 'Privately publish the post.',
- 'draft' => 'Save the post as a draft.',
- 'pending' => 'Mark the post as pending editorial approval.',
- 'trash' => 'Set the post as trashed.',
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/new/',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+
+ 'body' => array(
+ 'title' => 'Hello World',
+ 'content' => 'Hello. I am a test post. I was created by the API',
+ 'tags' => 'tests',
+ 'categories' => 'API',
+ ),
),
- 'sticky' => array(
- 'false' => 'Post is not marked as sticky.',
- 'true' => 'Stick the post to the front page.',
+ )
+);
+
+new WPCOM_JSON_API_Update_Post_Endpoint(
+ array(
+ 'description' => 'Edit a post.',
+ 'group' => 'posts',
+ 'stat' => 'posts:1:POST',
+ 'new_version' => '1.2',
+ 'max_version' => '1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
),
- 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
- 'parent' => "(int) The post ID of the new post's parent.",
- 'categories' => "(array|string) Comma-separated list or array of categories (name or id)",
- 'tags' => "(array|string) Comma-separated list or array of tags (name or id)",
- 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
- 'comments_open' => '(bool) Should the post be open to comments?',
- 'pings_open' => '(bool) Should the post be open to comments?',
- 'likes_enabled' => "(bool) Should the post be open to likes?",
- 'menu_order' => "(int) (Pages Only) the order pages should appear in. Use 0 to maintain alphabetical order.",
- 'sharing_enabled' => "(bool) Should sharing buttons show on this post?",
- 'featured_image' => "(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.",
- 'media' => "(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options resposne of the site endpoint. <br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'title=Image' \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- 'media_urls' => "(array) An array of URLs for images to attach to a post. Sideloads the media in for a post.",
- 'metadata' => "(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.",
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/881',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+
+ 'request_format' => array(
+ 'date' => "(ISO 8601 datetime) The post's creation time.",
+ 'title' => '(HTML) The post title.',
+ 'content' => '(HTML) The post content.',
+ 'excerpt' => '(HTML) An optional post excerpt.',
+ 'slug' => '(string) The name (slug) for the post, used in URLs.',
+ 'author' => '(string) The username or ID for the user to assign the post to.',
+ 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
+ 'publicize_message' => '(string) Custom message to be publicized to external services.',
+ 'status' => array(
+ 'publish' => 'Publish the post.',
+ 'private' => 'Privately publish the post.',
+ 'draft' => 'Save the post as a draft.',
+ 'pending' => 'Mark the post as pending editorial approval.',
+ 'trash' => 'Set the post as trashed.',
+ ),
+ 'sticky' => array(
+ 'false' => 'Post is not marked as sticky.',
+ 'true' => 'Stick the post to the front page.',
+ ),
+ 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
+ 'parent' => "(int) The post ID of the new post's parent.",
+ 'categories' => '(array|string) Comma-separated list or array of categories (name or id)',
+ 'tags' => '(array|string) Comma-separated list or array of tags (name or id)',
+ 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
+ 'comments_open' => '(bool) Should the post be open to comments?',
+ 'pings_open' => '(bool) Should the post be open to comments?',
+ 'likes_enabled' => '(bool) Should the post be open to likes?',
+ 'menu_order' => '(int) (Pages Only) the order pages should appear in. Use 0 to maintain alphabetical order.',
+ 'sharing_enabled' => '(bool) Should sharing buttons show on this post?',
+ 'featured_image' => '(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.',
+ 'media' => '(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options resposne of the site endpoint. <br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'title=Image' \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ 'media_urls' => '(array) An array of URLs for images to attach to a post. Sideloads the media in for a post.',
+ 'metadata' => '(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
),
- 'body' => array(
- 'title' => 'Hello World (Again)',
- 'content' => 'Hello. I am an edited post. I was edited by the API',
- 'tags' => 'tests',
- 'categories' => 'API'
- )
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/881',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+
+ 'body' => array(
+ 'title' => 'Hello World (Again)',
+ 'content' => 'Hello. I am an edited post. I was edited by the API',
+ 'tags' => 'tests',
+ 'categories' => 'API',
+ ),
+ ),
)
-) );
-
-new WPCOM_JSON_API_Update_Post_Endpoint( array(
- 'description' => 'Delete a post. Note: If the trash is enabled, this request will send the post to the trash. A second request will permanently delete the post.',
- 'group' => 'posts',
- 'stat' => 'posts:1:delete',
- 'new_version' => '1.1',
- 'max_version' => '1',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/%d/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/$post_ID/delete/',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+);
+
+new WPCOM_JSON_API_Update_Post_Endpoint(
+ array(
+ 'description' => 'Delete a post. Note: If the trash is enabled, this request will send the post to the trash. A second request will permanently delete the post.',
+ 'group' => 'posts',
+ 'stat' => 'posts:1:delete',
+ 'new_version' => '1.1',
+ 'max_version' => '1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/%d/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/$post_ID/delete/',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
-
-new WPCOM_JSON_API_Update_Post_Endpoint( array(
- 'description' => 'Restore a post or page from the trash to its previous status.',
- 'group' => 'posts',
- 'stat' => 'posts:1:restore',
-
- 'method' => 'POST',
- 'new_version' => '1.1',
- 'max_version' => '1',
- 'path' => '/sites/%s/posts/%d/restore',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/$post_ID/restore/',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+);
+
+new WPCOM_JSON_API_Update_Post_Endpoint(
+ array(
+ 'description' => 'Restore a post or page from the trash to its previous status.',
+ 'group' => 'posts',
+ 'stat' => 'posts:1:restore',
+
+ 'method' => 'POST',
+ 'new_version' => '1.1',
+ 'max_version' => '1',
+ 'path' => '/sites/%s/posts/%d/restore',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/posts/$post_ID/restore/',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
+);
+/**
+ * Update post endpoint class.
+ */
class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
- function __construct( $args ) {
+ /**
+ * WPCOM_JSON_API_Update_Post_Endpoint constructor.
+ *
+ * @param array $args Args.
+ */
+ public function __construct( $args ) {
parent::__construct( $args );
if ( $this->api->ends_with( $this->path, '/delete' ) ) {
$this->post_object_format['status']['deleted'] = 'The post has been deleted permanently.';
}
}
- // /sites/%s/posts/new -> $blog_id
- // /sites/%s/posts/%d -> $blog_id, $post_id
- // /sites/%s/posts/%d/delete -> $blog_id, $post_id
- // /sites/%s/posts/%d/restore -> $blog_id, $post_id
- function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
+ /**
+ * Update post API callback.
+ *
+ * /sites/%s/posts/new -> $blog_id
+ * /sites/%s/posts/%d -> $blog_id, $post_id
+ * /sites/%s/posts/%d/delete -> $blog_id, $post_id
+ * /sites/%s/posts/%d/restore -> $blog_id, $post_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ *
+ * @return array|bool|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -205,13 +240,21 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
}
- // /sites/%s/posts/new -> $blog_id
- // /sites/%s/posts/%d -> $blog_id, $post_id
- function write_post( $path, $blog_id, $post_id ) {
+ /**
+ * Create or update a post.
+ *
+ * /sites/%s/posts/new -> $blog_id
+ * /sites/%s/posts/%d -> $blog_id, $post_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ */
+ public function write_post( $path, $blog_id, $post_id ) {
$new = $this->api->ends_with( $path, '/new' );
$args = $this->query_args();
- // unhook publicize, it's hooked again later -- without this, skipping services is impossible
+ // unhook publicize, it's hooked again later -- without this, skipping services is impossible.
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
remove_action( 'save_post', array( $GLOBALS['publicize_ui']->publicize, 'async_publicize_post' ), 100, 2 );
add_action( 'rest_api_inserted_post', array( $GLOBALS['publicize_ui']->publicize, 'async_publicize_post' ) );
@@ -224,16 +267,16 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
if ( ! isset( $input['parent'] ) ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
- $input['status'] = 'inherit'; // force inherit for revision type
- $input['slug'] = $input['parent'] . '-autosave-v1';
- }
- elseif ( !isset( $input['title'] ) && !isset( $input['content'] ) && !isset( $input['excerpt'] ) ) {
+ $input['status'] = 'inherit'; // force inherit for revision type.
+ $input['slug'] = $input['parent'] . '-autosave-v1';
+ } elseif ( ! isset( $input['title'] ) && ! isset( $input['content'] ) && ! isset( $input['excerpt'] ) ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
- // default to post
- if ( empty( $input['type'] ) )
+ // default to post.
+ if ( empty( $input['type'] ) ) {
$input['type'] = 'post';
+ }
$post_type = get_post_type_object( $input['type'] );
@@ -244,8 +287,9 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
if ( ! empty( $input['author'] ) ) {
$author_id = $this->parse_and_set_author( $input['author'], $input['type'] );
unset( $input['author'] );
- if ( is_wp_error( $author_id ) )
+ if ( is_wp_error( $author_id ) ) {
return $author_id;
+ }
}
if ( 'publish' === $input['status'] ) {
@@ -257,14 +301,14 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
}
} else {
- if ( !current_user_can( $post_type->cap->edit_posts ) ) {
+ if ( ! current_user_can( $post_type->cap->edit_posts ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit posts', 403 );
}
}
} else {
$input = $this->input( false );
- if ( !is_array( $input ) || !$input ) {
+ if ( ! is_array( $input ) || ! $input ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
@@ -272,32 +316,33 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
return new WP_Error( 'unauthorized', 'User cannot delete post', 403 );
}
- $post = get_post( $post_id );
+ $post = get_post( $post_id );
$_post_type = ( ! empty( $input['type'] ) ) ? $input['type'] : $post->post_type;
- $post_type = get_post_type_object( $_post_type );
- if ( !$post || is_wp_error( $post ) ) {
+ $post_type = get_post_type_object( $_post_type );
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
- if ( !current_user_can( 'edit_post', $post->ID ) ) {
+ if ( ! current_user_can( 'edit_post', $post->ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit post', 403 );
}
if ( ! empty( $input['author'] ) ) {
$author_id = $this->parse_and_set_author( $input['author'], $_post_type );
unset( $input['author'] );
- if ( is_wp_error( $author_id ) )
+ if ( is_wp_error( $author_id ) ) {
return $author_id;
+ }
}
- if ( ( isset( $input['status'] ) && 'publish' === $input['status'] ) && 'publish' !== $post->post_status && !current_user_can( 'publish_post', $post->ID ) ) {
+ if ( ( isset( $input['status'] ) && 'publish' === $input['status'] ) && 'publish' !== $post->post_status && ! current_user_can( 'publish_post', $post->ID ) ) {
$input['status'] = 'pending';
}
$last_status = $post->post_status;
- $new_status = isset( $input['status'] ) ? $input['status'] : $last_status;
+ $new_status = isset( $input['status'] ) ? $input['status'] : $last_status;
// Make sure that drafts get the current date when transitioning to publish if not supplied in the post.
- $date_in_past = ( strtotime($post->post_date_gmt) < time() );
+ $date_in_past = ( strtotime( $post->post_date_gmt ) < time() );
if ( 'publish' === $new_status && 'draft' === $last_status && ! isset( $input['date_gmt'] ) && $date_in_past ) {
$input['date_gmt'] = gmdate( 'Y-m-d H:i:s' );
}
@@ -314,18 +359,18 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
if ( function_exists( 'wpcom_switch_to_locale' ) ) {
- // fixes calypso-pre-oss #12476: respect blog locale when creating the post slug
+ // fixes calypso-pre-oss #12476: respect blog locale when creating the post slug.
wpcom_switch_to_locale( get_blog_lang_code( $blog_id ) );
}
- // If date was set, $this->input will set date_gmt, date still needs to be adjusted for the blog's offset
+ // If date was set, $this->input will set date_gmt, date still needs to be adjusted for the blog's offset.
if ( isset( $input['date_gmt'] ) ) {
- $gmt_offset = get_option( 'gmt_offset' );
+ $gmt_offset = get_option( 'gmt_offset' );
$time_with_offset = strtotime( $input['date_gmt'] ) + $gmt_offset * HOUR_IN_SECONDS;
- $input['date'] = date( 'Y-m-d H:i:s', $time_with_offset );
+ $input['date'] = gmdate( 'Y-m-d H:i:s', $time_with_offset );
}
- if ( ! empty( $author_id ) && get_current_user_id() != $author_id ) {
+ if ( ! empty( $author_id ) && get_current_user_id() !== $author_id ) {
if ( ! current_user_can( $post_type->cap->edit_others_posts ) ) {
return new WP_Error( 'unauthorized', "User is not allowed to publish others' posts.", 403 );
} elseif ( ! user_can( $author_id, $post_type->cap->edit_posts ) ) {
@@ -333,13 +378,16 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
}
- if ( !is_post_type_hierarchical( $post_type->name ) && 'revision' !== $post_type->name ) {
+ if ( ! is_post_type_hierarchical( $post_type->name ) && 'revision' !== $post_type->name ) {
unset( $input['parent'] );
}
$tax_input = array();
- foreach ( array( 'categories' => 'category', 'tags' => 'post_tag' ) as $key => $taxonomy ) {
+ foreach ( array(
+ 'categories' => 'category',
+ 'tags' => 'post_tag',
+ ) as $key => $taxonomy ) {
if ( ! isset( $input[ $key ] ) ) {
continue;
}
@@ -348,10 +396,10 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
$is_hierarchical = is_taxonomy_hierarchical( $taxonomy );
- if ( is_array( $input[$key] ) ) {
- $terms = $input[$key];
+ if ( is_array( $input[ $key ] ) ) {
+ $terms = $input[ $key ];
} else {
- $terms = explode( ',', $input[$key] );
+ $terms = explode( ',', $input[ $key ] );
}
foreach ( $terms as $term ) {
@@ -362,7 +410,7 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
* Consequence: To add a category/tag whose name is '123', the client must
* first look up its ID.
*/
- $term = (string) $term; // ctype_digit compat
+ $term = (string) $term; // ctype_digit compat.
if ( ctype_digit( $term ) ) {
$term = (int) $term;
}
@@ -371,16 +419,16 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
if ( ! $term_info ) {
// A term ID that doesn't already exist. Ignore it: we don't know what name to give it.
- if ( is_int( $term ) ){
+ if ( is_int( $term ) ) {
continue;
}
- // only add a new tag/cat if the user has access to
+ // only add a new tag/cat if the user has access to.
$tax = get_taxonomy( $taxonomy );
- // see https://core.trac.wordpress.org/ticket/26409
+ // see https://core.trac.wordpress.org/ticket/26409 .
if ( 'category' === $taxonomy && ! current_user_can( $tax->cap->edit_terms ) ) {
continue;
- } else if ( ! current_user_can( $tax->cap->assign_terms ) ) {
+ } elseif ( ! current_user_can( $tax->cap->assign_terms ) ) {
continue;
}
@@ -389,15 +437,15 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
if ( ! is_wp_error( $term_info ) ) {
if ( $is_hierarchical ) {
- // Categories must be added by ID
- $tax_input[$taxonomy][] = (int) $term_info['term_id'];
+ // Categories must be added by ID.
+ $tax_input[ $taxonomy ][] = (int) $term_info['term_id'];
} else {
- // Tags must be added by name
+ // Tags must be added by name.
if ( is_int( $term ) ) {
- $term = get_term( $term, $taxonomy );
- $tax_input[$taxonomy][] = $term->name;
+ $term = get_term( $term, $taxonomy );
+ $tax_input[ $taxonomy ][] = $term->name;
} else {
- $tax_input[$taxonomy][] = $term;
+ $tax_input[ $taxonomy ][] = $term;
}
}
}
@@ -412,7 +460,7 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
$insert = array();
- if ( !empty( $input['slug'] ) ) {
+ if ( ! empty( $input['slug'] ) ) {
$insert['post_name'] = $input['slug'];
unset( $input['slug'] );
}
@@ -439,7 +487,7 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
unset( $input['publicize_message'] );
if ( isset( $input['featured_image'] ) ) {
- $featured_image = trim( $input['featured_image'] );
+ $featured_image = trim( $input['featured_image'] );
$delete_featured_image = empty( $featured_image );
unset( $input['featured_image'] );
}
@@ -457,7 +505,7 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
unset( $input['sticky'] );
foreach ( $input as $key => $value ) {
- $insert["post_$key"] = $value;
+ $insert[ "post_$key" ] = $value;
}
if ( ! empty( $author_id ) ) {
@@ -468,24 +516,26 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
$insert['tax_input'] = $tax_input;
}
- $has_media = isset( $input['media'] ) && $input['media'] ? count( $input['media'] ) : false;
+ $has_media = isset( $input['media'] ) && $input['media'] ? count( $input['media'] ) : false;
$has_media_by_url = isset( $input['media_urls'] ) && $input['media_urls'] ? count( $input['media_urls'] ) : false;
if ( $new ) {
if ( isset( $input['content'] ) && ! has_shortcode( $input['content'], 'gallery' ) && ( $has_media || $has_media_by_url ) ) {
switch ( ( $has_media + $has_media_by_url ) ) {
- case 0 :
- // No images - do nothing.
- break;
- case 1 :
- // 1 image - make it big
- $insert['post_content'] = $input['content'] = "[gallery size=full columns=1]\n\n" . $input['content'];
- break;
- default :
- // Several images - 3 column gallery
- $insert['post_content'] = $input['content'] = "[gallery]\n\n" . $input['content'];
- break;
+ case 0:
+ // No images - do nothing.
+ break;
+ case 1:
+ // 1 image - make it big.
+ $input['content'] = "[gallery size=full columns=1]\n\n" . $input['content'];
+ $insert['post_content'] = $input['content'];
+ break;
+ default:
+ // Several images - 3 column gallery.
+ $input['content'] = "[gallery]\n\n" . $input['content'];
+ $insert['post_content'] = $input['content'];
+ break;
}
}
@@ -495,29 +545,28 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
// wp_update_post ignores date unless edit_date is set
// See: https://codex.wordpress.org/Function_Reference/wp_update_post#Scheduling_posts
- // See: https://core.trac.wordpress.org/browser/tags/3.9.2/src/wp-includes/post.php#L3302
+ // See: https://core.trac.wordpress.org/browser/tags/3.9.2/src/wp-includes/post.php#L3302 .
if ( isset( $input['date_gmt'] ) || isset( $input['date'] ) ) {
$insert['edit_date'] = true;
}
- // this two-step process ensures any changes submitted along with status=trash get saved before trashing
+ // this two-step process ensures any changes submitted along with status=trash get saved before trashing.
if ( isset( $input['status'] ) && 'trash' === $input['status'] ) {
- // if we insert it with status='trash', it will get double-trashed, so insert it as a draft first
+ // if we insert it with status='trash', it will get double-trashed, so insert it as a draft first.
unset( $insert['status'] );
$post_id = wp_update_post( (object) $insert );
- // now call wp_trash_post so post_meta gets set and any filters get called
+ // now call wp_trash_post so post_meta gets set and any filters get called.
wp_trash_post( $post_id );
} else {
$post_id = wp_update_post( (object) $insert );
}
-
}
- if ( !$post_id || is_wp_error( $post_id ) ) {
+ if ( ! $post_id || is_wp_error( $post_id ) ) {
return $post_id;
}
- // make sure this post actually exists and is not an error of some kind (ie, trying to load media in the posts endpoint)
+ // make sure this post actually exists and is not an error of some kind (ie, trying to load media in the posts endpoint).
$post_check = $this->get_post_by( 'ID', $post_id, $args['context'] );
if ( is_wp_error( $post_check ) ) {
return $post_check;
@@ -527,8 +576,8 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
$this->api->trap_wp_die( 'upload_error' );
foreach ( $input['media'] as $media_item ) {
$_FILES['.api.media.item.'] = $media_item;
- // check for WP_Error if we ever actually need $media_id
- $media_id = media_handle_upload( '.api.media.item.', $post_id );
+ // check for WP_Error if we ever actually need $media_id .
+ $media_id = media_handle_upload( '.api.media.item.', $post_id ); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
}
$this->api->trap_wp_die( null );
@@ -541,7 +590,7 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
}
- // Set like status for the post
+ // Set like status for the post.
/** This filter is documented in modules/likes.php */
$sitewide_likes_enabled = (bool) apply_filters( 'wpl_is_enabled_sitewide', ! get_option( 'disabled_likes' ) );
if ( $new ) {
@@ -576,17 +625,16 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
}
- // Set sharing status of the post
+ // Set sharing status of the post.
if ( $new ) {
$sharing_enabled = isset( $sharing ) ? (bool) $sharing : true;
if ( false === $sharing_enabled ) {
update_post_meta( $post_id, 'sharing_disabled', 1 );
}
- }
- else {
+ } else {
if ( isset( $sharing ) && true === $sharing ) {
delete_post_meta( $post_id, 'sharing_disabled' );
- } else if ( isset( $sharing ) && false == $sharing ) {
+ } elseif ( isset( $sharing ) && false == $sharing ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
update_post_meta( $post_id, 'sharing_disabled', 1 );
}
}
@@ -601,15 +649,15 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
// WPCOM Specific (Jetpack's will get bumped elsewhere
// Tracks how many posts are published and sets meta
- // so we can track some other cool stats (like likes & comments on posts published)
+ // so we can track some other cool stats (like likes & comments on posts published).
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
if (
- ( $new && 'publish' == $input['status'] )
+ ( $new && 'publish' === $input['status'] )
|| (
! $new && isset( $last_status )
- && 'publish' != $last_status
+ && 'publish' !== $last_status
&& isset( $new_status )
- && 'publish' == $new_status
+ && 'publish' === $new_status
)
) {
/** This action is documented in modules/widgets/social-media-icons.php */
@@ -619,15 +667,14 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
}
-
// We ask the user/dev to pass Publicize services he/she wants activated for the post, but Publicize expects us
// to instead flag the ones we don't want to be skipped. proceed with said logic.
- // any posts coming from Path (client ID 25952) should also not publicize
- if ( $publicize === false || ( isset( $this->api->token_details['client_id'] ) && 25952 == $this->api->token_details['client_id'] ) ) {
- // No publicize at all, skip all by ID
+ // any posts coming from Path (client ID 25952) should also not publicize.
+ if ( false === $publicize || ( isset( $this->api->token_details['client_id'] ) && 25952 === (int) $this->api->token_details['client_id'] ) ) {
+ // No publicize at all, skip all by ID.
foreach ( $GLOBALS['publicize_ui']->publicize->get_services( 'all' ) as $name => $service ) {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $name );
- $service_connections = $GLOBALS['publicize_ui']->publicize->get_connections( $name );
+ $service_connections = $GLOBALS['publicize_ui']->publicize->get_connections( $name );
if ( ! $service_connections ) {
continue;
}
@@ -635,53 +682,53 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id, 1 );
}
}
- } else if ( is_array( $publicize ) && ( count ( $publicize ) > 0 ) ) {
+ } elseif ( is_array( $publicize ) && ( count( $publicize ) > 0 ) ) {
foreach ( $GLOBALS['publicize_ui']->publicize->get_services( 'all' ) as $name => $service ) {
/*
- * We support both indexed and associative arrays:
- * * indexed are to pass entire services
- * * associative are to pass specific connections per service
- *
- * We do support mixed arrays: mixed integer and string keys (see 3rd example below).
- *
- * EG: array( 'twitter', 'facebook') will only publicize to those, ignoring the other available services
- * Form data: publicize[]=twitter&publicize[]=facebook
- * EG: array( 'twitter' => '(int) $pub_conn_id_0, (int) $pub_conn_id_3', 'facebook' => (int) $pub_conn_id_7 ) will publicize to two Twitter accounts, and one Facebook connection, of potentially many.
- * Form data: publicize[twitter]=$pub_conn_id_0,$pub_conn_id_3&publicize[facebook]=$pub_conn_id_7
- * EG: array( 'twitter', 'facebook' => '(int) $pub_conn_id_0, (int) $pub_conn_id_3' ) will publicize to all available Twitter accounts, but only 2 of potentially many Facebook connections
- * Form data: publicize[]=twitter&publicize[facebook]=$pub_conn_id_0,$pub_conn_id_3
- */
+ * We support both indexed and associative arrays:
+ * * indexed are to pass entire services
+ * * associative are to pass specific connections per service
+ *
+ * We do support mixed arrays: mixed integer and string keys (see 3rd example below).
+ *
+ * EG: array( 'twitter', 'facebook') will only publicize to those, ignoring the other available services
+ * Form data: publicize[]=twitter&publicize[]=facebook
+ * EG: array( 'twitter' => '(int) $pub_conn_id_0, (int) $pub_conn_id_3', 'facebook' => (int) $pub_conn_id_7 ) will publicize to two Twitter accounts, and one Facebook connection, of potentially many.
+ * Form data: publicize[twitter]=$pub_conn_id_0,$pub_conn_id_3&publicize[facebook]=$pub_conn_id_7
+ * EG: array( 'twitter', 'facebook' => '(int) $pub_conn_id_0, (int) $pub_conn_id_3' ) will publicize to all available Twitter accounts, but only 2 of potentially many Facebook connections
+ * Form data: publicize[]=twitter&publicize[facebook]=$pub_conn_id_0,$pub_conn_id_3
+ */
// Delete any stale SKIP value for the service by name. We'll add it back by ID.
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $name );
- // Get the user's connections
+ // Get the user's connections.
$service_connections = $GLOBALS['publicize_ui']->publicize->get_connections( $name );
- // if the user doesn't have any connections for this service, move on
+ // if the user doesn't have any connections for this service, move on.
if ( ! $service_connections ) {
continue;
}
- if ( !in_array( $name, $publicize ) && !array_key_exists( $name, $publicize ) ) {
- // Skip the whole service by adding each connection ID
+ if ( ! in_array( $name, $publicize, true ) && ! array_key_exists( $name, $publicize ) ) {
+ // Skip the whole service by adding each connection ID.
foreach ( $service_connections as $service_connection ) {
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id, 1 );
}
- } else if ( !empty( $publicize[ $name ] ) ) {
+ } elseif ( ! empty( $publicize[ $name ] ) ) {
// Seems we're being asked to only push to [a] specific connection[s].
- // Explode the list on commas, which will also support a single passed ID
+ // Explode the list on commas, which will also support a single passed ID.
$requested_connections = explode( ',', ( preg_replace( '/[\s]*/', '', $publicize[ $name ] ) ) );
// Flag the connections we can't match with the requested list to be skipped.
foreach ( $service_connections as $service_connection ) {
- if ( !in_array( $service_connection->meta['connection_data']->id, $requested_connections ) ) {
+ if ( ! in_array( $service_connection->meta['connection_data']->id, $requested_connections, true ) ) {
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id, 1 );
} else {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id );
}
}
} else {
- // delete all SKIP values; it's okay to publish to all connected IDs for this service
+ // delete all SKIP values; it's okay to publish to all connected IDs for this service.
foreach ( $service_connections as $service_connection ) {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id );
}
@@ -689,7 +736,7 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
}
- if ( ! is_null( $publicize_custom_message ) ) {
+ if ( $publicize_custom_message !== null ) {
if ( empty( $publicize_custom_message ) ) {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_MESS );
} else {
@@ -700,13 +747,12 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
if ( ! empty( $insert['post_format'] ) ) {
if ( 'default' !== strtolower( $insert['post_format'] ) ) {
set_post_format( $post_id, $insert['post_format'] );
- }
- else {
+ } else {
set_post_format( $post_id, get_option( 'default_post_format' ) );
}
}
- if ( isset( $featured_image ) ) {
+ if ( isset( $featured_image ) ) {
$this->parse_and_set_featured_image( $post_id, $delete_featured_image, $featured_image );
}
@@ -715,47 +761,49 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
$meta = (object) $meta;
- if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY == $meta->key && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
+ if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY === $meta->key && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
return new WP_Error( 'unauthorized', __( 'SEO tools are not enabled for this site.', 'jetpack' ), 403 );
}
- $existing_meta_item = new stdClass;
+ $existing_meta_item = new stdClass();
- if ( empty( $meta->operation ) )
+ if ( empty( $meta->operation ) ) {
$meta->operation = 'update';
+ }
if ( ! empty( $meta->value ) ) {
- if ( 'true' == $meta->value )
+ if ( 'true' == $meta->value ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
$meta->value = true;
- if ( 'false' == $meta->value )
+ }
+ if ( 'false' == $meta->value ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
$meta->value = false;
+ }
}
if ( ! empty( $meta->id ) ) {
- $meta->id = absint( $meta->id );
+ $meta->id = absint( $meta->id );
$existing_meta_item = get_metadata_by_mid( 'post', $meta->id );
if ( $post_id !== (int) $existing_meta_item->post_id ) {
- // Only allow updates for metadata on this post
+ // Only allow updates for metadata on this post.
continue;
}
}
- $unslashed_meta_key = wp_unslash( $meta->key ); // should match what the final key will be
- $meta->key = wp_slash( $meta->key );
- $unslashed_existing_meta_key = wp_unslash( $existing_meta_item->meta_key );
+ $unslashed_meta_key = wp_unslash( $meta->key ); // should match what the final key will be.
+ $meta->key = wp_slash( $meta->key );
+ $unslashed_existing_meta_key = wp_unslash( $existing_meta_item->meta_key );
$existing_meta_item->meta_key = wp_slash( $existing_meta_item->meta_key );
- // make sure that the meta id passed matches the existing meta key
+ // make sure that the meta id passed matches the existing meta key.
if ( ! empty( $meta->id ) && ! empty( $meta->key ) ) {
$meta_by_id = get_metadata_by_mid( 'post', $meta->id );
if ( $meta_by_id->meta_key !== $meta->key ) {
- continue; // skip this meta
+ continue; // skip this meta.
}
}
switch ( $meta->operation ) {
case 'delete':
-
if ( ! empty( $meta->id ) && ! empty( $existing_meta_item->meta_key ) && current_user_can( 'delete_post_meta', $post_id, $unslashed_existing_meta_key ) ) {
delete_metadata_by_mid( 'post', $meta->id );
} elseif ( ! empty( $meta->key ) && ! empty( $meta->previous_value ) && current_user_can( 'delete_post_meta', $post_id, $unslashed_meta_key ) ) {
@@ -766,7 +814,6 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
break;
case 'add':
-
if ( ! empty( $meta->id ) || ! empty( $meta->previous_value ) ) {
break;
} elseif ( ! empty( $meta->key ) && ! empty( $meta->value ) && ( current_user_can( 'add_post_meta', $post_id, $unslashed_meta_key ) ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) {
@@ -775,20 +822,18 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
break;
case 'update':
-
if ( ! isset( $meta->value ) ) {
break;
} elseif ( ! empty( $meta->id ) && ! empty( $existing_meta_item->meta_key ) && ( current_user_can( 'edit_post_meta', $post_id, $unslashed_existing_meta_key ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) ) {
update_metadata_by_mid( 'post', $meta->id, $meta->value );
} elseif ( ! empty( $meta->key ) && ! empty( $meta->previous_value ) && ( current_user_can( 'edit_post_meta', $post_id, $unslashed_meta_key ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) ) {
- update_post_meta( $post_id, $meta->key,$meta->value, $meta->previous_value );
+ update_post_meta( $post_id, $meta->key, $meta->value, $meta->previous_value );
} elseif ( ! empty( $meta->key ) && ( current_user_can( 'edit_post_meta', $post_id, $unslashed_meta_key ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) ) {
update_post_meta( $post_id, $meta->key, $meta->value );
}
break;
}
-
}
}
@@ -806,7 +851,7 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
do_action( 'rest_api_inserted_post', $post_id, $insert, $new );
$return = $this->get_post_by( 'ID', $post_id, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
@@ -815,7 +860,7 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
}
if ( isset( $sticky ) ) {
- // workaround for sticky test occasionally failing, maybe a race condition with stick_post() above
+ // workaround for sticky test occasionally failing, maybe a race condition with stick_post() above.
$return['sticky'] = ( true === $sticky );
}
@@ -825,10 +870,20 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
return $return;
}
- // /sites/%s/posts/%d/delete -> $blog_id, $post_id
- function delete_post( $path, $blog_id, $post_id ) {
+ /**
+ * Delete a post.
+ *
+ * /sites/%s/posts/%d/delete -> $blog_id, $post_id
+ *
+ * @param string $path API path.
+ * @param array $blog_id Blog ID.
+ * @param array $post_id Post ID.
+ *
+ * @return array|WP_Error
+ */
+ public function delete_post( $path, $blog_id, $post_id ) {
$post = get_post( $post_id );
- if ( !$post || is_wp_error( $post ) ) {
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
@@ -836,24 +891,25 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
return new WP_Error( 'unknown_post_type', 'Unknown post type', 404 );
}
- if ( !current_user_can( 'delete_post', $post->ID ) ) {
+ if ( ! current_user_can( 'delete_post', $post->ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot delete posts', 403 );
}
- $args = $this->query_args();
+ $args = $this->query_args();
$return = $this->get_post_by( 'ID', $post->ID, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
/** This action is documented in json-endpoints/class.wpcom-json-api-site-settings-endpoint.php */
do_action( 'wpcom_json_api_objects', 'posts' );
- // we need to call wp_trash_post so that untrash will work correctly for all post types
- if ( 'trash' === $post->post_status )
+ // we need to call wp_trash_post so that untrash will work correctly for all post types.
+ if ( 'trash' === $post->post_status ) {
wp_delete_post( $post->ID );
- else
+ } else {
wp_trash_post( $post->ID );
+ }
$status = get_post_status( $post->ID );
if ( false === $status ) {
@@ -864,16 +920,26 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
return $this->get_post_by( 'ID', $post->ID, $args['context'] );
}
- // /sites/%s/posts/%d/restore -> $blog_id, $post_id
- function restore_post( $path, $blog_id, $post_id ) {
- $args = $this->query_args();
+ /**
+ * Restore a post.
+ *
+ * /sites/%s/posts/%d/restore -> $blog_id, $post_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ *
+ * @return array|WP_Error
+ */
+ public function restore_post( $path, $blog_id, $post_id ) {
+ $args = $this->query_args();
$post = get_post( $post_id );
- if ( !$post || is_wp_error( $post ) ) {
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
- if ( !current_user_can( 'delete_post', $post->ID ) ) {
+ if ( ! current_user_can( 'delete_post', $post->ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot restore trashed posts', 403 );
}
@@ -885,6 +951,15 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
return $this->get_post_by( 'ID', $post->ID, $args['context'] );
}
+ /**
+ * Set or delete a post's featured image.
+ *
+ * @param int $post_id Post ID.
+ * @param bool $delete_featured_image Whether to delete the featured image.
+ * @param int $featured_image Thumbnail ID to attach.
+ *
+ * @return null|int|bool
+ */
private function parse_and_set_featured_image( $post_id, $delete_featured_image, $featured_image ) {
if ( $delete_featured_image ) {
delete_post_thumbnail( $post_id );
@@ -893,37 +968,49 @@ class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
$featured_image = (string) $featured_image;
- // if we got a post ID, we can just set it as the thumbnail
- if ( ctype_digit( $featured_image ) && 'attachment' == get_post_type( $featured_image ) ) {
+ // if we got a post ID, we can just set it as the thumbnail.
+ if ( ctype_digit( $featured_image ) && 'attachment' === get_post_type( $featured_image ) ) {
set_post_thumbnail( $post_id, $featured_image );
return $featured_image;
}
$featured_image_id = $this->handle_media_sideload( $featured_image, $post_id, 'image' );
- if ( empty( $featured_image_id ) || ! is_int( $featured_image_id ) )
+ if ( empty( $featured_image_id ) || ! is_int( $featured_image_id ) ) {
return false;
+ }
set_post_thumbnail( $post_id, $featured_image_id );
return $featured_image_id;
}
+ /**
+ * Get the Author ID for a post.
+ *
+ * @param int|string $author Author ID.
+ * @param string $post_type Post type.
+ *
+ * @return int|WP_Error
+ */
private function parse_and_set_author( $author = null, $post_type = 'post' ) {
- if ( empty( $author ) || ! post_type_supports( $post_type, 'author' ) )
+ if ( empty( $author ) || ! post_type_supports( $post_type, 'author' ) ) {
return get_current_user_id();
+ }
$author = (string) $author;
if ( ctype_digit( $author ) ) {
$_user = get_user_by( 'id', $author );
- if ( ! $_user || is_wp_error( $_user ) )
+ if ( ! $_user || is_wp_error( $_user ) ) {
return new WP_Error( 'invalid_author', 'Invalid author provided' );
+ }
return $_user->ID;
}
$_user = get_user_by( 'login', $author );
- if ( ! $_user || is_wp_error( $_user ) )
+ if ( ! $_user || is_wp_error( $_user ) ) {
return new WP_Error( 'invalid_author', 'Invalid author provided' );
+ }
return $_user->ID;
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-1-endpoint.php
index 4dbe5fe5..df645a91 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-1-endpoint.php
@@ -1,203 +1,239 @@
-<?php
-
-new WPCOM_JSON_API_Update_Post_v1_1_Endpoint( array(
- 'description' => 'Create a post.',
- 'group' => 'posts',
- 'stat' => 'posts:new',
- 'new_version' => '1.2',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'request_format' => array(
- // explicitly document all input
- 'date' => "(ISO 8601 datetime) The post's creation time.",
- 'title' => '(HTML) The post title.',
- 'content' => '(HTML) The post content.',
- 'excerpt' => '(HTML) An optional post excerpt.',
- 'slug' => '(string) The name (slug) for the post, used in URLs.',
- 'author' => '(string) The username or ID for the user to assign the post to.',
- 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
- 'publicize_message' => '(string) Custom message to be publicized to external services.',
- 'status' => array(
- 'publish' => 'Publish the post.',
- 'private' => 'Privately publish the post.',
- 'draft' => 'Save the post as a draft.',
- 'pending' => 'Mark the post as pending editorial approval.',
- 'future' => 'Schedule the post (alias for publish; you must also set a future date).',
- 'auto-draft' => 'Save a placeholder for a newly created post, with no content.',
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Update post endpoint v1.1
+ *
+ * Endpoints:
+ * Create a post: /sites/%s/posts/new
+ * Update a post: /sites/%s/posts/%d
+ * Delete a post: /sites/%s/posts/%d/delete
+ * Restore a post: /sites/%s/posts/%d/restore
+ */
+
+new WPCOM_JSON_API_Update_Post_v1_1_Endpoint(
+ array(
+ 'description' => 'Create a post.',
+ 'group' => 'posts',
+ 'stat' => 'posts:new',
+ 'new_version' => '1.2',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'sticky' => array(
- 'false' => 'Post is not marked as sticky.',
- 'true' => 'Stick the post to the front page.',
- ),
- 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
- 'parent' => "(int) The post ID of the new post's parent.",
- 'type' => "(string) The post type. Defaults to 'post'. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
- 'terms' => '(object) Mapping of taxonomy to comma-separated list or array of terms (name or id)',
- 'categories' => "(array|string) Comma-separated list or array of categories (name or id)",
- 'tags' => "(array|string) Comma-separated list or array of tags (name or id)",
- 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
- 'featured_image' => "(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.",
- 'media' => "(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options response of the site endpoint. Errors produced by media uploads, if any, will be in `media_errors` in the response. <br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'title=Image Post' \<br />--form 'media[0]=@/path/to/file.jpg' \<br />--form 'media_attrs[0][caption]=My Great Photo' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- 'media_urls' => "(array) An array of URLs for images to attach to a post. Sideloads the media in for a post. Errors produced by media sideloading, if any, will be in `media_errors` in the response.",
- 'media_attrs' => "(array) An array of attributes (`title`, `description` and `caption`) are supported to assign to the media uploaded via the `media` or `media_urls` properties. You must use a numeric index for the keys of `media_attrs` which follow the same sequence as `media` and `media_urls`. <br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'title=Gallery Post' \<br />--form 'media[]=@/path/to/file1.jpg' \<br />--form 'media_urls[]=http://exapmple.com/file2.jpg' \<br /> \<br />--form 'media_attrs[0][caption]=This will be the caption for file1.jpg' \<br />--form 'media_attrs[1][title]=This will be the title for file2.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- 'metadata' => "(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are avaiable for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.",
- 'discussion' => '(object) A hash containing one or more of the following boolean values, which default to the blog\'s discussion preferences: `comments_open`, `pings_open`',
- 'likes_enabled' => "(bool) Should the post be open to likes? Defaults to the blog's preference.",
- 'sharing_enabled' => "(bool) Should sharing buttons show on this post? Defaults to true.",
- 'menu_order' => "(int) (Pages Only) the order pages should appear in. Use 0 to maintain alphabetical order.",
- 'page_template' => '(string) (Pages Only) The page template this page should use.',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/new/',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+
+ 'request_format' => array(
+ // explicitly document all input.
+ 'date' => "(ISO 8601 datetime) The post's creation time.",
+ 'title' => '(HTML) The post title.',
+ 'content' => '(HTML) The post content.',
+ 'excerpt' => '(HTML) An optional post excerpt.',
+ 'slug' => '(string) The name (slug) for the post, used in URLs.',
+ 'author' => '(string) The username or ID for the user to assign the post to.',
+ 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
+ 'publicize_message' => '(string) Custom message to be publicized to external services.',
+ 'status' => array(
+ 'publish' => 'Publish the post.',
+ 'private' => 'Privately publish the post.',
+ 'draft' => 'Save the post as a draft.',
+ 'pending' => 'Mark the post as pending editorial approval.',
+ 'future' => 'Schedule the post (alias for publish; you must also set a future date).',
+ 'auto-draft' => 'Save a placeholder for a newly created post, with no content.',
+ ),
+ 'sticky' => array(
+ 'false' => 'Post is not marked as sticky.',
+ 'true' => 'Stick the post to the front page.',
+ ),
+ 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
+ 'parent' => "(int) The post ID of the new post's parent.",
+ 'type' => "(string) The post type. Defaults to 'post'. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
+ 'terms' => '(object) Mapping of taxonomy to comma-separated list or array of terms (name or id)',
+ 'categories' => '(array|string) Comma-separated list or array of categories (name or id)',
+ 'tags' => '(array|string) Comma-separated list or array of tags (name or id)',
+ 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
+ 'featured_image' => '(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.',
+ 'media' => '(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options response of the site endpoint. Errors produced by media uploads, if any, will be in `media_errors` in the response. <br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'title=Image Post' \<br />--form 'media[0]=@/path/to/file.jpg' \<br />--form 'media_attrs[0][caption]=My Great Photo' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ 'media_urls' => '(array) An array of URLs for images to attach to a post. Sideloads the media in for a post. Errors produced by media sideloading, if any, will be in `media_errors` in the response.',
+ 'media_attrs' => '(array) An array of attributes (`title`, `description` and `caption`) are supported to assign to the media uploaded via the `media` or `media_urls` properties. You must use a numeric index for the keys of `media_attrs` which follow the same sequence as `media` and `media_urls`. <br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'title=Gallery Post' \<br />--form 'media[]=@/path/to/file1.jpg' \<br />--form 'media_urls[]=http://exapmple.com/file2.jpg' \<br /> \<br />--form 'media_attrs[0][caption]=This will be the caption for file1.jpg' \<br />--form 'media_attrs[1][title]=This will be the title for file2.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ 'metadata' => '(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are avaiable for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
+ 'discussion' => '(object) A hash containing one or more of the following boolean values, which default to the blog\'s discussion preferences: `comments_open`, `pings_open`',
+ 'likes_enabled' => "(bool) Should the post be open to likes? Defaults to the blog's preference.",
+ 'sharing_enabled' => '(bool) Should sharing buttons show on this post? Defaults to true.',
+ 'menu_order' => '(int) (Pages Only) the order pages should appear in. Use 0 to maintain alphabetical order.',
+ 'page_template' => '(string) (Pages Only) The page template this page should use.',
),
- 'body' => array(
- 'title' => 'Hello World',
- 'content' => 'Hello. I am a test post. I was created by the API',
- 'tags' => 'tests',
- 'categories' => 'API'
- )
- )
-) );
-
-new WPCOM_JSON_API_Update_Post_v1_1_Endpoint( array(
- 'description' => 'Edit a post.',
- 'group' => 'posts',
- 'stat' => 'posts:1:POST',
- 'new_version' => '1.2',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
-
- 'request_format' => array(
- 'date' => "(ISO 8601 datetime) The post's creation time.",
- 'title' => '(HTML) The post title.',
- 'content' => '(HTML) The post content.',
- 'excerpt' => '(HTML) An optional post excerpt.',
- 'slug' => '(string) The name (slug) for the post, used in URLs.',
- 'author' => '(string) The username or ID for the user to assign the post to.',
- 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
- 'publicize_message' => '(string) Custom message to be publicized to external services.',
- 'status' => array(
- 'publish' => 'Publish the post.',
- 'private' => 'Privately publish the post.',
- 'draft' => 'Save the post as a draft.',
- 'future' => 'Schedule the post (alias for publish; you must also set a future date).',
- 'pending' => 'Mark the post as pending editorial approval.',
- 'trash' => 'Set the post as trashed.',
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/new/',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+
+ 'body' => array(
+ 'title' => 'Hello World',
+ 'content' => 'Hello. I am a test post. I was created by the API',
+ 'tags' => 'tests',
+ 'categories' => 'API',
+ ),
),
- 'sticky' => array(
- 'false' => 'Post is not marked as sticky.',
- 'true' => 'Stick the post to the front page.',
+ )
+);
+
+new WPCOM_JSON_API_Update_Post_v1_1_Endpoint(
+ array(
+ 'description' => 'Edit a post.',
+ 'group' => 'posts',
+ 'stat' => 'posts:1:POST',
+ 'new_version' => '1.2',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
),
- 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
- 'parent' => "(int) The post ID of the new post's parent.",
- 'terms' => '(object) Mapping of taxonomy to comma-separated list or array of terms (name or id)',
- 'categories' => "(array|string) Comma-separated list or array of categories (name or id)",
- 'tags' => "(array|string) Comma-separated list or array of tags (name or id)",
- 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
- 'discussion' => '(object) A hash containing one or more of the following boolean values, which default to the blog\'s discussion preferences: `comments_open`, `pings_open`',
- 'likes_enabled' => "(bool) Should the post be open to likes?",
- 'menu_order' => "(int) (Pages only) the order pages should appear in. Use 0 to maintain alphabetical order.",
- 'page_template' => '(string) (Pages Only) The page template this page should use.',
- 'sharing_enabled' => "(bool) Should sharing buttons show on this post?",
- 'featured_image' => "(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.",
- 'media' => "(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options resposne of the site endpoint. <br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'title=Image' \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- 'media_urls' => "(array) An array of URLs for images to attach to a post. Sideloads the media in for a post.",
- 'metadata' => "(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.",
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/881',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+
+ 'request_format' => array(
+ 'date' => "(ISO 8601 datetime) The post's creation time.",
+ 'title' => '(HTML) The post title.',
+ 'content' => '(HTML) The post content.',
+ 'excerpt' => '(HTML) An optional post excerpt.',
+ 'slug' => '(string) The name (slug) for the post, used in URLs.',
+ 'author' => '(string) The username or ID for the user to assign the post to.',
+ 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
+ 'publicize_message' => '(string) Custom message to be publicized to external services.',
+ 'status' => array(
+ 'publish' => 'Publish the post.',
+ 'private' => 'Privately publish the post.',
+ 'draft' => 'Save the post as a draft.',
+ 'future' => 'Schedule the post (alias for publish; you must also set a future date).',
+ 'pending' => 'Mark the post as pending editorial approval.',
+ 'trash' => 'Set the post as trashed.',
+ ),
+ 'sticky' => array(
+ 'false' => 'Post is not marked as sticky.',
+ 'true' => 'Stick the post to the front page.',
+ ),
+ 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
+ 'parent' => "(int) The post ID of the new post's parent.",
+ 'terms' => '(object) Mapping of taxonomy to comma-separated list or array of terms (name or id)',
+ 'categories' => '(array|string) Comma-separated list or array of categories (name or id)',
+ 'tags' => '(array|string) Comma-separated list or array of tags (name or id)',
+ 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
+ 'discussion' => '(object) A hash containing one or more of the following boolean values, which default to the blog\'s discussion preferences: `comments_open`, `pings_open`',
+ 'likes_enabled' => '(bool) Should the post be open to likes?',
+ 'menu_order' => '(int) (Pages only) the order pages should appear in. Use 0 to maintain alphabetical order.',
+ 'page_template' => '(string) (Pages Only) The page template this page should use.',
+ 'sharing_enabled' => '(bool) Should sharing buttons show on this post?',
+ 'featured_image' => '(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.',
+ 'media' => '(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options resposne of the site endpoint. <br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'title=Image' \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ 'media_urls' => '(array) An array of URLs for images to attach to a post. Sideloads the media in for a post.',
+ 'metadata' => '(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
),
- 'body' => array(
- 'title' => 'Hello World (Again)',
- 'content' => 'Hello. I am an edited post. I was edited by the API',
- 'tags' => 'tests',
- 'categories' => 'API'
- )
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/881',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+
+ 'body' => array(
+ 'title' => 'Hello World (Again)',
+ 'content' => 'Hello. I am an edited post. I was edited by the API',
+ 'tags' => 'tests',
+ 'categories' => 'API',
+ ),
+ ),
)
-) );
-
-new WPCOM_JSON_API_Update_Post_v1_1_Endpoint( array(
- 'description' => 'Delete a post. Note: If the trash is enabled, this request will send the post to the trash. A second request will permanently delete the post.',
- 'group' => 'posts',
- 'stat' => 'posts:1:delete',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/%d/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/$post_ID/delete/',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+);
+
+new WPCOM_JSON_API_Update_Post_v1_1_Endpoint(
+ array(
+ 'description' => 'Delete a post. Note: If the trash is enabled, this request will send the post to the trash. A second request will permanently delete the post.',
+ 'group' => 'posts',
+ 'stat' => 'posts:1:delete',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/%d/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/$post_ID/delete/',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
-
-new WPCOM_JSON_API_Update_Post_v1_1_Endpoint( array(
- 'description' => 'Restore a post or page from the trash to its previous status.',
- 'group' => 'posts',
- 'stat' => 'posts:1:restore',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/%d/restore',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/$post_ID/restore/',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
+);
+
+new WPCOM_JSON_API_Update_Post_v1_1_Endpoint(
+ array(
+ 'description' => 'Restore a post or page from the trash to its previous status.',
+ 'group' => 'posts',
+ 'stat' => 'posts:1:restore',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/%d/restore',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/$post_ID/restore/',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
)
-) );
+);
+// phpcs:disable PEAR.NamingConventions.ValidClassName.Invalid
+/**
+ * Update post v1.1 endpoint class.
+ */
class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_Endpoint {
- function __construct( $args ) {
+ /**
+ * WPCOM_JSON_API_Update_Post_v1_1_Endpoint constructor.
+ *
+ * @param array $args Args.
+ */
+ public function __construct( $args ) {
parent::__construct( $args );
if ( $this->api->ends_with( $this->path, '/delete' ) ) {
$this->post_object_format['status']['deleted'] = 'The post has been deleted permanently.';
}
}
- // /sites/%s/posts/new -> $blog_id
- // /sites/%s/posts/%d -> $blog_id, $post_id
- // /sites/%s/posts/%d/delete -> $blog_id, $post_id
- // /sites/%s/posts/%d/restore -> $blog_id, $post_id
- function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
+ /**
+ * Update post API v1.1 callback.
+ *
+ * /sites/%s/posts/new -> $blog_id
+ * /sites/%s/posts/%d -> $blog_id, $post_id
+ * /sites/%s/posts/%d/delete -> $blog_id, $post_id
+ * /sites/%s/posts/%d/restore -> $blog_id, $post_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ *
+ * @return array|bool|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0, $post_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -212,15 +248,23 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
}
}
- // /sites/%s/posts/new -> $blog_id
- // /sites/%s/posts/%d -> $blog_id, $post_id
- function write_post( $path, $blog_id, $post_id ) {
+ /**
+ * Create or update a post.
+ *
+ * /sites/%s/posts/new -> $blog_id
+ * /sites/%s/posts/%d -> $blog_id, $post_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ */
+ public function write_post( $path, $blog_id, $post_id ) {
global $wpdb;
$new = $this->api->ends_with( $path, '/new' );
$args = $this->query_args();
- // unhook publicize, it's hooked again later -- without this, skipping services is impossible
+ // unhook publicize, it's hooked again later -- without this, skipping services is impossible.
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
remove_action( 'save_post', array( $GLOBALS['publicize_ui']->publicize, 'async_publicize_post' ), 100, 2 );
add_action( 'rest_api_inserted_post', array( $GLOBALS['publicize_ui']->publicize, 'async_publicize_post' ) );
@@ -230,7 +274,6 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
}
}
-
if ( $new ) {
$input = $this->input( true );
@@ -243,16 +286,16 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
if ( ! isset( $input['parent'] ) ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
- $input['status'] = 'inherit'; // force inherit for revision type
- $input['slug'] = $input['parent'] . '-autosave-v1';
- }
- elseif ( !isset( $input['title'] ) && !isset( $input['content'] ) && !isset( $input['excerpt'] ) ) {
+ $input['status'] = 'inherit'; // force inherit for revision type.
+ $input['slug'] = $input['parent'] . '-autosave-v1';
+ } elseif ( ! isset( $input['title'] ) && ! isset( $input['content'] ) && ! isset( $input['excerpt'] ) ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
- // default to post
- if ( empty( $input['type'] ) )
+ // default to post.
+ if ( empty( $input['type'] ) ) {
$input['type'] = 'post';
+ }
$post_type = get_post_type_object( $input['type'] );
@@ -263,8 +306,9 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
if ( ! empty( $input['author'] ) ) {
$author_id = $this->parse_and_set_author( $input['author'], $input['type'] );
unset( $input['author'] );
- if ( is_wp_error( $author_id ) )
+ if ( is_wp_error( $author_id ) ) {
return $author_id;
+ }
}
if ( 'publish' === $input['status'] ) {
@@ -276,14 +320,14 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
}
}
} else {
- if ( !current_user_can( $post_type->cap->edit_posts ) ) {
+ if ( ! current_user_can( $post_type->cap->edit_posts ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit posts', 403 );
}
}
} else {
$input = $this->input( false );
- if ( !is_array( $input ) || !$input ) {
+ if ( ! is_array( $input ) || ! $input ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
@@ -296,34 +340,35 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
$input['status'] = 'publish';
}
- $post = get_post( $post_id );
+ $post = get_post( $post_id );
$_post_type = ( ! empty( $input['type'] ) ) ? $input['type'] : $post->post_type;
- $post_type = get_post_type_object( $_post_type );
- if ( !$post || is_wp_error( $post ) ) {
+ $post_type = get_post_type_object( $_post_type );
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
- if ( !current_user_can( 'edit_post', $post->ID ) ) {
+ if ( ! current_user_can( 'edit_post', $post->ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit post', 403 );
}
if ( ! empty( $input['author'] ) ) {
$author_id = $this->parse_and_set_author( $input['author'], $_post_type );
unset( $input['author'] );
- if ( is_wp_error( $author_id ) )
+ if ( is_wp_error( $author_id ) ) {
return $author_id;
+ }
}
- if ( ( isset( $input['status'] ) && 'publish' === $input['status'] ) && 'publish' !== $post->post_status && !current_user_can( 'publish_post', $post->ID ) ) {
+ if ( ( isset( $input['status'] ) && 'publish' === $input['status'] ) && 'publish' !== $post->post_status && ! current_user_can( 'publish_post', $post->ID ) ) {
$input['status'] = 'pending';
}
$last_status = $post->post_status;
- $new_status = isset( $input['status'] ) ? $input['status'] : $last_status;
+ $new_status = isset( $input['status'] ) ? $input['status'] : $last_status;
// Make sure that drafts get the current date when transitioning to publish if not supplied in the post.
// Similarly, scheduled posts that are manually published before their scheduled date should have the date reset.
- $date_in_past = ( strtotime($post->post_date_gmt) < time() );
- $reset_draft_date = 'publish' === $new_status && 'draft' === $last_status && ! isset( $input['date_gmt'] ) && $date_in_past;
+ $date_in_past = ( strtotime( $post->post_date_gmt ) < time() );
+ $reset_draft_date = 'publish' === $new_status && 'draft' === $last_status && ! isset( $input['date_gmt'] ) && $date_in_past;
$reset_scheduled_date = 'publish' === $new_status && 'future' === $last_status && ! isset( $input['date_gmt'] ) && ! $date_in_past;
if ( $reset_draft_date || $reset_scheduled_date ) {
@@ -337,18 +382,18 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
}
if ( function_exists( 'wpcom_switch_to_blog_locale' ) ) {
- // fixes calypso-pre-oss #12476: respect blog locale when creating the post slug
+ // fixes calypso-pre-oss #12476: respect blog locale when creating the post slug.
wpcom_switch_to_blog_locale( $blog_id );
}
- // If date was set, $this->input will set date_gmt, date still needs to be adjusted for the blog's offset
+ // If date was set, $this->input will set date_gmt, date still needs to be adjusted for the blog's offset.
if ( isset( $input['date_gmt'] ) ) {
- $gmt_offset = get_option( 'gmt_offset' );
+ $gmt_offset = get_option( 'gmt_offset' );
$time_with_offset = strtotime( $input['date_gmt'] ) + $gmt_offset * HOUR_IN_SECONDS;
- $input['date'] = date( 'Y-m-d H:i:s', $time_with_offset );
+ $input['date'] = gmdate( 'Y-m-d H:i:s', $time_with_offset );
}
- if ( ! empty( $author_id ) && get_current_user_id() != $author_id ) {
+ if ( ! empty( $author_id ) && get_current_user_id() !== $author_id ) {
if ( ! current_user_can( $post_type->cap->edit_others_posts ) ) {
return new WP_Error( 'unauthorized', "User is not allowed to publish others' posts.", 403 );
} elseif ( ! user_can( $author_id, $post_type->cap->edit_posts ) ) {
@@ -356,24 +401,27 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
}
}
- if ( !is_post_type_hierarchical( $post_type->name ) && 'revision' !== $post_type->name ) {
+ if ( ! is_post_type_hierarchical( $post_type->name ) && 'revision' !== $post_type->name ) {
unset( $input['parent'] );
}
$input['terms'] = isset( $input['terms'] ) ? (array) $input['terms'] : array();
// Convert comma-separated terms to array before attempting to
- // merge with hardcoded taxonomies
+ // merge with hardcoded taxonomies.
foreach ( $input['terms'] as $taxonomy => $terms ) {
if ( is_string( $terms ) ) {
$input['terms'][ $taxonomy ] = explode( ',', $terms );
- } else if ( ! is_array( $terms ) ) {
+ } elseif ( ! is_array( $terms ) ) {
$input['terms'][ $taxonomy ] = array();
}
}
- // For each hard-coded taxonomy, merge into terms object
- foreach ( array( 'categories' => 'category', 'tags' => 'post_tag' ) as $taxonomy_key => $taxonomy ) {
+ // For each hard-coded taxonomy, merge into terms object.
+ foreach ( array(
+ 'categories' => 'category',
+ 'tags' => 'post_tag',
+ ) as $taxonomy_key => $taxonomy ) {
if ( ! isset( $input[ $taxonomy_key ] ) ) {
continue;
}
@@ -385,7 +433,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
$terms = $input[ $taxonomy_key ];
if ( is_string( $terms ) ) {
$terms = explode( ',', $terms );
- } else if ( ! is_array( $terms ) ) {
+ } elseif ( ! is_array( $terms ) ) {
continue;
}
@@ -399,7 +447,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
foreach ( $input['terms'] as $taxonomy => $terms ) {
$tax_input[ $taxonomy ] = array();
- $is_hierarchical = is_taxonomy_hierarchical( $taxonomy );
+ $is_hierarchical = is_taxonomy_hierarchical( $taxonomy );
foreach ( $terms as $term ) {
/**
@@ -409,7 +457,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
* Consequence: To add a category/tag whose name is '123', the client must
* first look up its ID.
*/
- $term = (string) $term; // ctype_digit compat
+ $term = (string) $term; // ctype_digit compat.
if ( ctype_digit( $term ) ) {
$term = (int) $term;
}
@@ -418,16 +466,16 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
if ( ! $term_info ) {
// A term ID that doesn't already exist. Ignore it: we don't know what name to give it.
- if ( is_int( $term ) ){
+ if ( is_int( $term ) ) {
continue;
}
- // only add a new tag/cat if the user has access to
+ // only add a new tag/cat if the user has access to.
$tax = get_taxonomy( $taxonomy );
- // see https://core.trac.wordpress.org/ticket/26409
+ // see https://core.trac.wordpress.org/ticket/26409 .
if ( $is_hierarchical && ! current_user_can( $tax->cap->edit_terms ) ) {
continue;
- } else if ( ! current_user_can( $tax->cap->assign_terms ) ) {
+ } elseif ( ! current_user_can( $tax->cap->assign_terms ) ) {
continue;
}
@@ -436,15 +484,15 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
if ( ! is_wp_error( $term_info ) ) {
if ( $is_hierarchical ) {
- // Hierarchical terms must be added by ID
- $tax_input[$taxonomy][] = (int) $term_info['term_id'];
+ // Hierarchical terms must be added by ID.
+ $tax_input[ $taxonomy ][] = (int) $term_info['term_id'];
} else {
- // Non-hierarchical terms must be added by name
+ // Non-hierarchical terms must be added by name.
if ( is_int( $term ) ) {
- $term = get_term( $term, $taxonomy );
- $tax_input[$taxonomy][] = $term->name;
+ $term = get_term( $term, $taxonomy );
+ $tax_input[ $taxonomy ][] = $term->name;
} else {
- $tax_input[$taxonomy][] = $term;
+ $tax_input[ $taxonomy ][] = $term;
}
}
}
@@ -459,7 +507,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
$insert = array();
- if ( !empty( $input['slug'] ) ) {
+ if ( ! empty( $input['slug'] ) ) {
$insert['post_name'] = $input['slug'];
unset( $input['slug'] );
}
@@ -467,15 +515,15 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
if ( isset( $input['discussion'] ) ) {
$discussion = (array) $input['discussion'];
foreach ( array( 'comment', 'ping' ) as $discussion_type ) {
- $discussion_open = sprintf( '%ss_open', $discussion_type );
+ $discussion_open = sprintf( '%ss_open', $discussion_type );
$discussion_status = sprintf( '%s_status', $discussion_type );
if ( isset( $discussion[ $discussion_open ] ) ) {
- $is_open = WPCOM_JSON_API::is_truthy( $discussion[ $discussion_open ] );
- $discussion[ $discussion_status ] = $is_open ? 'open' : 'closed';
+ $is_open = WPCOM_JSON_API::is_truthy( $discussion[ $discussion_open ] );
+ $discussion[ $discussion_status ] = $is_open ? 'open' : 'closed';
}
- if ( in_array( $discussion[ $discussion_status ], array( 'open', 'closed' ) ) ) {
+ if ( in_array( $discussion[ $discussion_status ], array( 'open', 'closed' ), true ) ) {
$insert[ $discussion_status ] = $discussion[ $discussion_status ];
}
}
@@ -495,7 +543,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
unset( $input['publicize_message'] );
if ( isset( $input['featured_image'] ) ) {
- $featured_image = trim( $input['featured_image'] );
+ $featured_image = trim( $input['featured_image'] );
$delete_featured_image = empty( $featured_image );
unset( $input['featured_image'] );
}
@@ -513,7 +561,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
unset( $input['sticky'] );
foreach ( $input as $key => $value ) {
- $insert["post_$key"] = $value;
+ $insert[ "post_$key" ] = $value;
}
if ( ! empty( $author_id ) ) {
@@ -524,38 +572,40 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
$insert['tax_input'] = $tax_input;
}
- $has_media = ! empty( $input['media'] ) ? count( $input['media'] ) : false;
+ $has_media = ! empty( $input['media'] ) ? count( $input['media'] ) : false;
$has_media_by_url = ! empty( $input['media_urls'] ) ? count( $input['media_urls'] ) : false;
$media_id_string = '';
if ( $has_media || $has_media_by_url ) {
- $media_files = ! empty( $input['media'] ) ? $input['media'] : array();
- $media_urls = ! empty( $input['media_urls'] ) ? $input['media_urls'] : array();
- $media_attrs = ! empty( $input['media_attrs'] ) ? $input['media_attrs'] : array();
- $media_results = $this->handle_media_creation_v1_1( $media_files, $media_urls, $media_attrs );
+ $media_files = ! empty( $input['media'] ) ? $input['media'] : array();
+ $media_urls = ! empty( $input['media_urls'] ) ? $input['media_urls'] : array();
+ $media_attrs = ! empty( $input['media_attrs'] ) ? $input['media_attrs'] : array();
+ $media_results = $this->handle_media_creation_v1_1( $media_files, $media_urls, $media_attrs );
$media_id_string = join( ',', array_filter( array_map( 'absint', $media_results['media_ids'] ) ) );
}
if ( $new ) {
if ( isset( $input['content'] ) && ! has_shortcode( $input['content'], 'gallery' ) && ( $has_media || $has_media_by_url ) ) {
switch ( ( $has_media + $has_media_by_url ) ) {
- case 0 :
- // No images - do nothing.
- break;
- case 1 :
- // 1 image - make it big
- $insert['post_content'] = $input['content'] = sprintf(
- "[gallery size=full ids='%s' columns=1]\n\n",
- $media_id_string
- ) . $input['content'];
- break;
- default :
- // Several images - 3 column gallery
- $insert['post_content'] = $input['content'] = sprintf(
- "[gallery ids='%s']\n\n",
- $media_id_string
- ) . $input['content'];
- break;
+ case 0:
+ // No images - do nothing.
+ break;
+ case 1:
+ // 1 image - make it big
+ $input['content'] = sprintf(
+ "[gallery size=full ids='%s' columns=1]\n\n",
+ $media_id_string
+ ) . $input['content'];
+ $insert['post_content'] = $input['content'];
+ break;
+ default:
+ // Several images - 3 column gallery.
+ $input['content'] = sprintf(
+ "[gallery ids='%s']\n\n",
+ $media_id_string
+ ) . $input['content'];
+ $insert['post_content'] = $input['content'];
+ break;
}
}
@@ -564,30 +614,29 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
$insert['ID'] = $post->ID;
// wp_update_post ignores date unless edit_date is set
- // See: https://codex.wordpress.org/Function_Reference/wp_update_post#Scheduling_posts
- // See: https://core.trac.wordpress.org/browser/tags/3.9.2/src/wp-includes/post.php#L3302
+ // See: https://codex.wordpress.org/Function_Reference/wp_update_post#Scheduling_posts .
+ // See: https://core.trac.wordpress.org/browser/tags/3.9.2/src/wp-includes/post.php#L3302 .
if ( isset( $input['date_gmt'] ) || isset( $input['date'] ) ) {
$insert['edit_date'] = true;
}
- // this two-step process ensures any changes submitted along with status=trash get saved before trashing
+ // this two-step process ensures any changes submitted along with status=trash get saved before trashing.
if ( isset( $input['status'] ) && 'trash' === $input['status'] ) {
- // if we insert it with status='trash', it will get double-trashed, so insert it as a draft first
+ // if we insert it with status='trash', it will get double-trashed, so insert it as a draft first.
unset( $insert['status'] );
$post_id = wp_update_post( (object) $insert );
- // now call wp_trash_post so post_meta gets set and any filters get called
+ // now call wp_trash_post so post_meta gets set and any filters get called.
wp_trash_post( $post_id );
} else {
$post_id = wp_update_post( (object) $insert );
}
}
-
- if ( !$post_id || is_wp_error( $post_id ) ) {
+ if ( ! $post_id || is_wp_error( $post_id ) ) {
return $post_id;
}
- // make sure this post actually exists and is not an error of some kind (ie, trying to load media in the posts endpoint)
+ // make sure this post actually exists and is not an error of some kind (ie, trying to load media in the posts endpoint).
$post_check = $this->get_post_by( 'ID', $post_id, $args['context'] );
if ( is_wp_error( $post_check ) ) {
return $post_check;
@@ -595,26 +644,28 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
if ( $media_id_string ) {
// Yes - this is really how wp-admin does it.
- $wpdb->query( $wpdb->prepare(
- "UPDATE $wpdb->posts SET post_parent = %d WHERE post_type = 'attachment' AND ID IN ( $media_id_string )",
- $post_id
- ) );
+ $wpdb->query(
+ $wpdb->prepare(
+ "UPDATE $wpdb->posts SET post_parent = %d WHERE post_type = 'attachment' AND ID IN ( $media_id_string )", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- IDs are filtered to absint above.
+ $post_id
+ )
+ );
foreach ( $media_results['media_ids'] as $media_id ) {
clean_attachment_cache( $media_id );
}
clean_post_cache( $post_id );
}
- // set page template for this post..
- if ( isset( $input['page_template'] ) && 'page' == $post_type->name ) {
- $page_template = $input['page_template'];
+ // set page template for this post.
+ if ( isset( $input['page_template'] ) && 'page' === $post_type->name ) {
+ $page_template = $input['page_template'];
$page_templates = wp_get_theme()->get_page_templates( get_post( $post_id ) );
- if ( empty( $page_template ) || 'default' == $page_template || isset( $page_templates[ $page_template ] ) ) {
+ if ( empty( $page_template ) || 'default' === $page_template || isset( $page_templates[ $page_template ] ) ) {
update_post_meta( $post_id, '_wp_page_template', $page_template );
}
}
- // Set like status for the post
+ // Set like status for the post.
/** This filter is documented in modules/likes.php */
$sitewide_likes_enabled = (bool) apply_filters( 'wpl_is_enabled_sitewide', ! get_option( 'disabled_likes' ) );
if ( $new ) {
@@ -649,17 +700,16 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
}
}
- // Set sharing status of the post
+ // Set sharing status of the post.
if ( $new ) {
$sharing_enabled = isset( $sharing ) ? (bool) $sharing : true;
if ( false === $sharing_enabled ) {
update_post_meta( $post_id, 'sharing_disabled', 1 );
}
- }
- else {
+ } else {
if ( isset( $sharing ) && true === $sharing ) {
delete_post_meta( $post_id, 'sharing_disabled' );
- } else if ( isset( $sharing ) && false == $sharing ) {
+ } elseif ( isset( $sharing ) && false == $sharing ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
update_post_meta( $post_id, 'sharing_disabled', 1 );
}
}
@@ -674,15 +724,15 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
// WPCOM Specific (Jetpack's will get bumped elsewhere
// Tracks how many posts are published and sets meta
- // so we can track some other cool stats (like likes & comments on posts published)
+ // so we can track some other cool stats (like likes & comments on posts published).
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
if (
- ( $new && 'publish' == $input['status'] )
+ ( $new && 'publish' === $input['status'] )
|| (
! $new && isset( $last_status )
- && 'publish' != $last_status
+ && 'publish' !== $last_status
&& isset( $new_status )
- && 'publish' == $new_status
+ && 'publish' === $new_status
)
) {
/** This action is documented in modules/widgets/social-media-icons.php */
@@ -692,15 +742,14 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
}
}
-
// We ask the user/dev to pass Publicize services he/she wants activated for the post, but Publicize expects us
// to instead flag the ones we don't want to be skipped. proceed with said logic.
- // any posts coming from Path (client ID 25952) should also not publicize
- if ( $publicize === false || ( isset( $this->api->token_details['client_id'] ) && 25952 == $this->api->token_details['client_id'] ) ) {
- // No publicize at all, skip all by ID
+ // Any posts coming from Path (client ID 25952) should also not publicize.
+ if ( false === $publicize || ( isset( $this->api->token_details['client_id'] ) && 25952 === (int) $this->api->token_details['client_id'] ) ) {
+ // No publicize at all, skip all by ID.
foreach ( $GLOBALS['publicize_ui']->publicize->get_services( 'all' ) as $name => $service ) {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $name );
- $service_connections = $GLOBALS['publicize_ui']->publicize->get_connections( $name );
+ $service_connections = $GLOBALS['publicize_ui']->publicize->get_connections( $name );
if ( ! $service_connections ) {
continue;
}
@@ -708,7 +757,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id, 1 );
}
}
- } else if ( is_array( $publicize ) && ( count ( $publicize ) > 0 ) ) {
+ } elseif ( is_array( $publicize ) && ( count( $publicize ) > 0 ) ) {
foreach ( $GLOBALS['publicize_ui']->publicize->get_services( 'all' ) as $name => $service ) {
/*
* We support both indexed and associative arrays:
@@ -718,44 +767,44 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
* We do support mixed arrays: mixed integer and string keys (see 3rd example below).
*
* EG: array( 'twitter', 'facebook') will only publicize to those, ignoring the other available services
- * Form data: publicize[]=twitter&publicize[]=facebook
+ * Form data: publicize[]=twitter&publicize[]=facebook
* EG: array( 'twitter' => '(int) $pub_conn_id_0, (int) $pub_conn_id_3', 'facebook' => (int) $pub_conn_id_7 ) will publicize to two Twitter accounts, and one Facebook connection, of potentially many.
- * Form data: publicize[twitter]=$pub_conn_id_0,$pub_conn_id_3&publicize[facebook]=$pub_conn_id_7
+ * Form data: publicize[twitter]=$pub_conn_id_0,$pub_conn_id_3&publicize[facebook]=$pub_conn_id_7
* EG: array( 'twitter', 'facebook' => '(int) $pub_conn_id_0, (int) $pub_conn_id_3' ) will publicize to all available Twitter accounts, but only 2 of potentially many Facebook connections
- * Form data: publicize[]=twitter&publicize[facebook]=$pub_conn_id_0,$pub_conn_id_3
+ * Form data: publicize[]=twitter&publicize[facebook]=$pub_conn_id_0,$pub_conn_id_3
*/
// Delete any stale SKIP value for the service by name. We'll add it back by ID.
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $name );
- // Get the user's connections
+ // Get the user's connections.
$service_connections = $GLOBALS['publicize_ui']->publicize->get_connections( $name );
- // if the user doesn't have any connections for this service, move on
+ // if the user doesn't have any connections for this service, move on.
if ( ! $service_connections ) {
continue;
}
- if ( !in_array( $name, $publicize ) && !array_key_exists( $name, $publicize ) ) {
- // Skip the whole service by adding each connection ID
+ if ( ! in_array( $name, $publicize, true ) && ! array_key_exists( $name, $publicize ) ) {
+ // Skip the whole service by adding each connection ID.
foreach ( $service_connections as $service_connection ) {
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id, 1 );
}
- } else if ( !empty( $publicize[ $name ] ) ) {
+ } elseif ( ! empty( $publicize[ $name ] ) ) {
// Seems we're being asked to only push to [a] specific connection[s].
- // Explode the list on commas, which will also support a single passed ID
+ // Explode the list on commas, which will also support a single passed ID.
$requested_connections = explode( ',', ( preg_replace( '/[\s]*/', '', $publicize[ $name ] ) ) );
// Flag the connections we can't match with the requested list to be skipped.
foreach ( $service_connections as $service_connection ) {
- if ( !in_array( $service_connection->meta['connection_data']->id, $requested_connections ) ) {
+ if ( ! in_array( $service_connection->meta['connection_data']->id, $requested_connections, true ) ) {
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id, 1 );
} else {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id );
}
}
} else {
- // delete all SKIP values; it's okay to publish to all connected IDs for this service
+ // delete all SKIP values; it's okay to publish to all connected IDs for this service.
foreach ( $service_connections as $service_connection ) {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id );
}
@@ -763,7 +812,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
}
}
- if ( ! is_null( $publicize_custom_message ) ) {
+ if ( $publicize_custom_message !== null ) {
if ( empty( $publicize_custom_message ) ) {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_MESS );
} else {
@@ -774,8 +823,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
if ( ! empty( $insert['post_format'] ) ) {
if ( 'default' !== strtolower( $insert['post_format'] ) ) {
set_post_format( $post_id, $insert['post_format'] );
- }
- else {
+ } else {
set_post_format( $post_id, get_option( 'default_post_format' ) );
}
}
@@ -789,41 +837,44 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
$meta = (object) $meta;
- if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY == $meta->key && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
+ if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY === $meta->key && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
return new WP_Error( 'unauthorized', __( 'SEO tools are not enabled for this site.', 'jetpack' ), 403 );
}
- $existing_meta_item = new stdClass;
+ $existing_meta_item = new stdClass();
- if ( empty( $meta->operation ) )
+ if ( empty( $meta->operation ) ) {
$meta->operation = 'update';
+ }
if ( ! empty( $meta->value ) ) {
- if ( 'true' == $meta->value )
+ if ( 'true' == $meta->value ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
$meta->value = true;
- if ( 'false' == $meta->value )
+ }
+ if ( 'false' == $meta->value ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
$meta->value = false;
+ }
}
if ( ! empty( $meta->id ) ) {
- $meta->id = absint( $meta->id );
+ $meta->id = absint( $meta->id );
$existing_meta_item = get_metadata_by_mid( 'post', $meta->id );
if ( $post_id !== (int) $existing_meta_item->post_id ) {
- // Only allow updates for metadata on this post
+ // Only allow updates for metadata on this post.
continue;
}
}
- $unslashed_meta_key = wp_unslash( $meta->key ); // should match what the final key will be
- $meta->key = wp_slash( $meta->key );
- $unslashed_existing_meta_key = wp_unslash( $existing_meta_item->meta_key );
+ $unslashed_meta_key = wp_unslash( $meta->key ); // should match what the final key will be.
+ $meta->key = wp_slash( $meta->key );
+ $unslashed_existing_meta_key = wp_unslash( $existing_meta_item->meta_key );
$existing_meta_item->meta_key = wp_slash( $existing_meta_item->meta_key );
- // make sure that the meta id passed matches the existing meta key
+ // make sure that the meta id passed matches the existing meta key.
if ( ! empty( $meta->id ) && ! empty( $meta->key ) ) {
$meta_by_id = get_metadata_by_mid( 'post', $meta->id );
if ( $meta_by_id->meta_key !== $meta->key ) {
- continue; // skip this meta
+ continue; // skip this meta.
}
}
@@ -852,7 +903,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
} elseif ( ! empty( $meta->id ) && ! empty( $existing_meta_item->meta_key ) && ( current_user_can( 'edit_post_meta', $post_id, $unslashed_existing_meta_key ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) ) {
update_metadata_by_mid( 'post', $meta->id, $meta->value );
} elseif ( ! empty( $meta->key ) && ! empty( $meta->previous_value ) && ( current_user_can( 'edit_post_meta', $post_id, $unslashed_meta_key ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) ) {
- update_post_meta( $post_id, $meta->key,$meta->value, $meta->previous_value );
+ update_post_meta( $post_id, $meta->key, $meta->value, $meta->previous_value );
} elseif ( ! empty( $meta->key ) && ( current_user_can( 'edit_post_meta', $post_id, $unslashed_meta_key ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) ) {
update_post_meta( $post_id, $meta->key, $meta->value );
}
@@ -866,7 +917,7 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
do_action( 'rest_api_inserted_post', $post_id, $insert, $new );
$return = $this->get_post_by( 'ID', $post_id, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
@@ -875,15 +926,16 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
}
if ( isset( $sticky ) ) {
- // workaround for sticky test occasionally failing, maybe a race condition with stick_post() above
+ // workaround for sticky test occasionally failing, maybe a race condition with stick_post() above.
$return['sticky'] = ( true === $sticky );
}
- if ( ! empty( $media_results['errors'] ) )
+ if ( ! empty( $media_results['errors'] ) ) {
$return['media_errors'] = $media_results['errors'];
+ }
if ( 'publish' !== $post->post_status ) {
- $sal_site = $this->get_sal_post_by( 'ID', $post_id, $args['context'] );
+ $sal_site = $this->get_sal_post_by( 'ID', $post_id, $args['context'] );
$return['other_URLs'] = (object) $sal_site->get_permalink_suggestions( $input['title'] );
}
@@ -893,10 +945,20 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
return $return;
}
- // /sites/%s/posts/%d/delete -> $blog_id, $post_id
- function delete_post( $path, $blog_id, $post_id ) {
+ /**
+ * Delete a post.
+ *
+ * /sites/%s/posts/%d/delete -> $blog_id, $post_id
+ *
+ * @param string $path API path.
+ * @param array $blog_id Blog ID.
+ * @param array $post_id Post ID.
+ *
+ * @return array|WP_Error
+ */
+ public function delete_post( $path, $blog_id, $post_id ) {
$post = get_post( $post_id );
- if ( !$post || is_wp_error( $post ) ) {
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
@@ -904,24 +966,25 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
return new WP_Error( 'unknown_post_type', 'Unknown post type', 404 );
}
- if ( !current_user_can( 'delete_post', $post->ID ) ) {
+ if ( ! current_user_can( 'delete_post', $post->ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot delete posts', 403 );
}
- $args = $this->query_args();
+ $args = $this->query_args();
$return = $this->get_post_by( 'ID', $post->ID, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
/** This action is documented in json-endpoints/class.wpcom-json-api-site-settings-endpoint.php */
do_action( 'wpcom_json_api_objects', 'posts' );
- // we need to call wp_trash_post so that untrash will work correctly for all post types
- if ( 'trash' === $post->post_status )
+ // we need to call wp_trash_post so that untrash will work correctly for all post types.
+ if ( 'trash' === $post->post_status ) {
wp_delete_post( $post->ID );
- else
+ } else {
wp_trash_post( $post->ID );
+ }
$status = get_post_status( $post->ID );
if ( false === $status ) {
@@ -932,16 +995,26 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
return $this->get_post_by( 'ID', $post->ID, $args['context'] );
}
- // /sites/%s/posts/%d/restore -> $blog_id, $post_id
- function restore_post( $path, $blog_id, $post_id ) {
- $args = $this->query_args();
+ /**
+ * Restore a post.
+ *
+ * /sites/%s/posts/%d/restore -> $blog_id, $post_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ *
+ * @return array|WP_Error
+ */
+ public function restore_post( $path, $blog_id, $post_id ) {
+ $args = $this->query_args();
$post = get_post( $post_id );
- if ( !$post || is_wp_error( $post ) ) {
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
- if ( !current_user_can( 'delete_post', $post->ID ) ) {
+ if ( ! current_user_can( 'delete_post', $post->ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot restore trashed posts', 403 );
}
@@ -953,6 +1026,15 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
return $this->get_post_by( 'ID', $post->ID, $args['context'] );
}
+ /**
+ * Set or delete a post's featured image.
+ *
+ * @param int $post_id Post ID.
+ * @param bool $delete_featured_image Whether to delete the featured image.
+ * @param int $featured_image Thumbnail ID to attach.
+ *
+ * @return null|int|bool
+ */
protected function parse_and_set_featured_image( $post_id, $delete_featured_image, $featured_image ) {
if ( $delete_featured_image ) {
delete_post_thumbnail( $post_id );
@@ -961,45 +1043,72 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
$featured_image = (string) $featured_image;
- // if we got a post ID, we can just set it as the thumbnail
- if ( ctype_digit( $featured_image ) && 'attachment' == get_post_type( $featured_image ) ) {
+ // if we got a post ID, we can just set it as the thumbnail.
+ if ( ctype_digit( $featured_image ) && 'attachment' === get_post_type( $featured_image ) ) {
set_post_thumbnail( $post_id, $featured_image );
return $featured_image;
}
$featured_image_id = $this->handle_media_sideload( $featured_image, $post_id, 'image' );
- if ( empty( $featured_image_id ) || ! is_int( $featured_image_id ) )
+ if ( empty( $featured_image_id ) || ! is_int( $featured_image_id ) ) {
return false;
+ }
set_post_thumbnail( $post_id, $featured_image_id );
return $featured_image_id;
}
+ /**
+ * Get the Author ID for a post.
+ *
+ * @param int|string $author Author ID.
+ * @param string $post_type Post type.
+ *
+ * @return int|WP_Error
+ */
protected function parse_and_set_author( $author = null, $post_type = 'post' ) {
- if ( empty( $author ) || ! post_type_supports( $post_type, 'author' ) )
+ if ( empty( $author ) || ! post_type_supports( $post_type, 'author' ) ) {
return get_current_user_id();
+ }
$author = (string) $author;
if ( ctype_digit( $author ) ) {
$_user = get_user_by( 'id', $author );
- if ( ! $_user || is_wp_error( $_user ) )
+ if ( ! $_user || is_wp_error( $_user ) ) {
return new WP_Error( 'invalid_author', 'Invalid author provided' );
+ }
return $_user->ID;
}
$_user = get_user_by( 'login', $author );
- if ( ! $_user || is_wp_error( $_user ) )
+ if ( ! $_user || is_wp_error( $_user ) ) {
return new WP_Error( 'invalid_author', 'Invalid author provided' );
+ }
return $_user->ID;
}
+ /**
+ * Determine if a post can be untrashed.
+ *
+ * @param string $last_status Last post status.
+ * @param string $new_status New post status.
+ * @param WP_Post $post Post.
+ *
+ * @return bool
+ */
protected function should_untrash_post( $last_status, $new_status, $post ) {
return 'trash' === $last_status && 'trash' !== $new_status && isset( $post->ID );
}
+ /**
+ * Untrash a post.
+ *
+ * @param WP_Post $post Post to untrash.
+ * @param array $input POST body data.
+ */
protected function untrash_post( $post, $input ) {
wp_untrash_post( $post->ID );
$untrashed_post = get_post( $post->ID );
@@ -1010,14 +1119,21 @@ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_
return $input;
}
+ /**
+ * Determine if a theme's functions.php file should be loaded.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return bool
+ */
protected function should_load_theme_functions( $post_id = null ) {
if ( empty( $post_id ) ) {
$input = $this->input( true );
- $type = $input['type'];
+ $type = $input['type'];
} else {
$type = get_post_type( $post_id );
}
- return ! empty( $type ) && ! in_array( $type, array( 'post', 'revision' ) );
+ return ! empty( $type ) && ! in_array( $type, array( 'post', 'revision' ), true );
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php
index b0c10bcd..a206ca9b 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php
@@ -1,163 +1,187 @@
-<?php
-
-new WPCOM_JSON_API_Update_Post_v1_2_Endpoint( array(
- 'description' => 'Create a post.',
- 'group' => 'posts',
- 'stat' => 'posts:new',
- 'min_version' => '1.2',
- 'max_version' => '1.2',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
- 'query_parameters' => array(
- 'autosave' => '(bool) True if the post was saved automatically.',
- ),
-
- 'request_format' => array(
- // explicitly document all input
- 'date' => "(ISO 8601 datetime) The post's creation time.",
- 'title' => '(HTML) The post title.',
- 'content' => '(HTML) The post content.',
- 'excerpt' => '(HTML) An optional post excerpt.',
- 'slug' => '(string) The name (slug) for the post, used in URLs.',
- 'author' => '(string) The username or ID for the user to assign the post to.',
- 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
- 'publicize_message' => '(string) Custom message to be publicized to external services.',
- 'status' => array(
- 'publish' => 'Publish the post.',
- 'private' => 'Privately publish the post.',
- 'draft' => 'Save the post as a draft.',
- 'pending' => 'Mark the post as pending editorial approval.',
- 'future' => 'Schedule the post (alias for publish; you must also set a future date).',
- 'auto-draft' => 'Save a placeholder for a newly created post, with no content.',
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Update post endpoint v1.2
+ *
+ * Endpoints:
+ * Create a post: /sites/%s/posts/new
+ * Update a post: /sites/%s/posts/%d
+ * Delete a post: /sites/%s/posts/%d/delete
+ * Restore a post: /sites/%s/posts/%d/restore
+ */
+
+new WPCOM_JSON_API_Update_Post_v1_2_Endpoint(
+ array(
+ 'description' => 'Create a post.',
+ 'group' => 'posts',
+ 'stat' => 'posts:new',
+ 'min_version' => '1.2',
+ 'max_version' => '1.2',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'sticky' => array(
- 'false' => 'Post is not marked as sticky.',
- 'true' => 'Stick the post to the front page.',
+ 'query_parameters' => array(
+ 'autosave' => '(bool) True if the post was saved automatically.',
),
- 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
- 'parent' => "(int) The post ID of the new post's parent.",
- 'type' => "(string) The post type. Defaults to 'post'. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
- 'terms' => '(object) Mapping of taxonomy to comma-separated list or array of term names',
- 'categories' => "(array|string) Comma-separated list or array of category names",
- 'tags' => "(array|string) Comma-separated list or array of tag names",
- 'terms_by_id' => '(object) Mapping of taxonomy to comma-separated list or array of term IDs',
- 'categories_by_id' => "(array|string) Comma-separated list or array of category IDs",
- 'tags_by_id' => "(array|string) Comma-separated list or array of tag IDs",
- 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
- 'featured_image' => "(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.",
- 'media' => "(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options response of the site endpoint. Errors produced by media uploads, if any, will be in `media_errors` in the response. <br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'title=Image Post' \<br />--form 'media[0]=@/path/to/file.jpg' \<br />--form 'media_attrs[0][caption]=My Great Photo' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- 'media_urls' => "(array) An array of URLs for images to attach to a post. Sideloads the media in for a post. Errors produced by media sideloading, if any, will be in `media_errors` in the response.",
- 'media_attrs' => "(array) An array of attributes (`title`, `description` and `caption`) are supported to assign to the media uploaded via the `media` or `media_urls` properties. You must use a numeric index for the keys of `media_attrs` which follow the same sequence as `media` and `media_urls`. <br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'title=Gallery Post' \<br />--form 'media[]=@/path/to/file1.jpg' \<br />--form 'media_urls[]=http://exapmple.com/file2.jpg' \<br /> \<br />--form 'media_attrs[0][caption]=This will be the caption for file1.jpg' \<br />--form 'media_attrs[1][title]=This will be the title for file2.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- 'metadata' => "(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are avaiable for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.",
- 'discussion' => '(object) A hash containing one or more of the following boolean values, which default to the blog\'s discussion preferences: `comments_open`, `pings_open`',
- 'likes_enabled' => "(bool) Should the post be open to likes? Defaults to the blog's preference.",
- 'sharing_enabled' => "(bool) Should sharing buttons show on this post? Defaults to true.",
- 'menu_order' => "(int) (Pages Only) the order pages should appear in. Use 0 to maintain alphabetical order.",
- 'page_template' => '(string) (Pages Only) The page template this page should use.',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/82974409/posts/new/',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+
+ 'request_format' => array(
+ // explicitly document all input.
+ 'date' => "(ISO 8601 datetime) The post's creation time.",
+ 'title' => '(HTML) The post title.',
+ 'content' => '(HTML) The post content.',
+ 'excerpt' => '(HTML) An optional post excerpt.',
+ 'slug' => '(string) The name (slug) for the post, used in URLs.',
+ 'author' => '(string) The username or ID for the user to assign the post to.',
+ 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
+ 'publicize_message' => '(string) Custom message to be publicized to external services.',
+ 'status' => array(
+ 'publish' => 'Publish the post.',
+ 'private' => 'Privately publish the post.',
+ 'draft' => 'Save the post as a draft.',
+ 'pending' => 'Mark the post as pending editorial approval.',
+ 'future' => 'Schedule the post (alias for publish; you must also set a future date).',
+ 'auto-draft' => 'Save a placeholder for a newly created post, with no content.',
+ ),
+ 'sticky' => array(
+ 'false' => 'Post is not marked as sticky.',
+ 'true' => 'Stick the post to the front page.',
+ ),
+ 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
+ 'parent' => "(int) The post ID of the new post's parent.",
+ 'type' => "(string) The post type. Defaults to 'post'. Post types besides post and page need to be whitelisted using the <code>rest_api_allowed_post_types</code> filter.",
+ 'terms' => '(object) Mapping of taxonomy to comma-separated list or array of term names',
+ 'categories' => '(array|string) Comma-separated list or array of category names',
+ 'tags' => '(array|string) Comma-separated list or array of tag names',
+ 'terms_by_id' => '(object) Mapping of taxonomy to comma-separated list or array of term IDs',
+ 'categories_by_id' => '(array|string) Comma-separated list or array of category IDs',
+ 'tags_by_id' => '(array|string) Comma-separated list or array of tag IDs',
+ 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
+ 'featured_image' => '(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.',
+ 'media' => '(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options response of the site endpoint. Errors produced by media uploads, if any, will be in `media_errors` in the response. <br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'title=Image Post' \<br />--form 'media[0]=@/path/to/file.jpg' \<br />--form 'media_attrs[0][caption]=My Great Photo' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ 'media_urls' => '(array) An array of URLs for images to attach to a post. Sideloads the media in for a post. Errors produced by media sideloading, if any, will be in `media_errors` in the response.',
+ 'media_attrs' => '(array) An array of attributes (`title`, `description` and `caption`) are supported to assign to the media uploaded via the `media` or `media_urls` properties. You must use a numeric index for the keys of `media_attrs` which follow the same sequence as `media` and `media_urls`. <br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'title=Gallery Post' \<br />--form 'media[]=@/path/to/file1.jpg' \<br />--form 'media_urls[]=http://exapmple.com/file2.jpg' \<br /> \<br />--form 'media_attrs[0][caption]=This will be the caption for file1.jpg' \<br />--form 'media_attrs[1][title]=This will be the title for file2.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ 'metadata' => '(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are avaiable for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
+ 'discussion' => '(object) A hash containing one or more of the following boolean values, which default to the blog\'s discussion preferences: `comments_open`, `pings_open`',
+ 'likes_enabled' => "(bool) Should the post be open to likes? Defaults to the blog's preference.",
+ 'sharing_enabled' => '(bool) Should sharing buttons show on this post? Defaults to true.',
+ 'menu_order' => '(int) (Pages Only) the order pages should appear in. Use 0 to maintain alphabetical order.',
+ 'page_template' => '(string) (Pages Only) The page template this page should use.',
),
- 'body' => array(
- 'title' => 'Hello World',
- 'content' => 'Hello. I am a test post. I was created by the API',
- 'tags' => 'tests',
- 'categories' => 'API'
- )
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/82974409/posts/new/',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+
+ 'body' => array(
+ 'title' => 'Hello World',
+ 'content' => 'Hello. I am a test post. I was created by the API',
+ 'tags' => 'tests',
+ 'categories' => 'API',
+ ),
+ ),
)
-) );
-
-new WPCOM_JSON_API_Update_Post_v1_2_Endpoint( array(
- 'description' => 'Edit a post.',
- 'group' => 'posts',
- 'stat' => 'posts:1:POST',
- 'min_version' => '1.2',
- 'max_version' => '1.2',
- 'method' => 'POST',
- 'path' => '/sites/%s/posts/%d',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$post_ID' => '(int) The post ID',
- ),
- 'query_parameters' => array(
- 'autosave' => '(bool) True if the post was saved automatically.',
- ),
-
- 'request_format' => array(
- 'date' => "(ISO 8601 datetime) The post's creation time.",
- 'title' => '(HTML) The post title.',
- 'content' => '(HTML) The post content.',
- 'excerpt' => '(HTML) An optional post excerpt.',
- 'slug' => '(string) The name (slug) for the post, used in URLs.',
- 'author' => '(string) The username or ID for the user to assign the post to.',
- 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
- 'publicize_message' => '(string) Custom message to be publicized to external services.',
- 'status' => array(
- 'publish' => 'Publish the post.',
- 'private' => 'Privately publish the post.',
- 'draft' => 'Save the post as a draft.',
- 'future' => 'Schedule the post (alias for publish; you must also set a future date).',
- 'pending' => 'Mark the post as pending editorial approval.',
- 'trash' => 'Set the post as trashed.',
+);
+
+new WPCOM_JSON_API_Update_Post_v1_2_Endpoint(
+ array(
+ 'description' => 'Edit a post.',
+ 'group' => 'posts',
+ 'stat' => 'posts:1:POST',
+ 'min_version' => '1.2',
+ 'max_version' => '1.2',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/posts/%d',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$post_ID' => '(int) The post ID',
),
- 'sticky' => array(
- 'false' => 'Post is not marked as sticky.',
- 'true' => 'Stick the post to the front page.',
+ 'query_parameters' => array(
+ 'autosave' => '(bool) True if the post was saved automatically.',
),
- 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
- 'parent' => "(int) The post ID of the new post's parent.",
- 'terms' => '(object) Mapping of taxonomy to comma-separated list or array of term names',
- 'terms_by_id' => '(object) Mapping of taxonomy to comma-separated list or array of term IDs',
- 'categories' => "(array|string) Comma-separated list or array of category names",
- 'categories_by_id' => "(array|string) Comma-separated list or array of category IDs",
- 'tags' => "(array|string) Comma-separated list or array of tag names",
- 'tags_by_id' => "(array|string) Comma-separated list or array of tag IDs",
- 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
- 'discussion' => '(object) A hash containing one or more of the following boolean values, which default to the blog\'s discussion preferences: `comments_open`, `pings_open`',
- 'likes_enabled' => "(bool) Should the post be open to likes?",
- 'menu_order' => "(int) (Pages only) the order pages should appear in. Use 0 to maintain alphabetical order.",
- 'page_template' => '(string) (Pages Only) The page template this page should use.',
- 'sharing_enabled' => "(bool) Should sharing buttons show on this post?",
- 'featured_image' => "(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.",
- 'media' => "(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options resposne of the site endpoint. <br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'title=Image' \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- 'media_urls' => "(array) An array of URLs for images to attach to a post. Sideloads the media in for a post.",
- 'metadata' => "(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.",
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/82974409/posts/881',
-
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+
+ 'request_format' => array(
+ 'date' => "(ISO 8601 datetime) The post's creation time.",
+ 'title' => '(HTML) The post title.',
+ 'content' => '(HTML) The post content.',
+ 'excerpt' => '(HTML) An optional post excerpt.',
+ 'slug' => '(string) The name (slug) for the post, used in URLs.',
+ 'author' => '(string) The username or ID for the user to assign the post to.',
+ 'publicize' => '(array|bool) True or false if the post be publicized to external services. An array of services if we only want to publicize to a select few. Defaults to true.',
+ 'publicize_message' => '(string) Custom message to be publicized to external services.',
+ 'status' => array(
+ 'publish' => 'Publish the post.',
+ 'private' => 'Privately publish the post.',
+ 'draft' => 'Save the post as a draft.',
+ 'future' => 'Schedule the post (alias for publish; you must also set a future date).',
+ 'pending' => 'Mark the post as pending editorial approval.',
+ 'trash' => 'Set the post as trashed.',
+ ),
+ 'sticky' => array(
+ 'false' => 'Post is not marked as sticky.',
+ 'true' => 'Stick the post to the front page.',
+ ),
+ 'password' => '(string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.',
+ 'parent' => "(int) The post ID of the new post's parent.",
+ 'terms' => '(object) Mapping of taxonomy to comma-separated list or array of term names',
+ 'terms_by_id' => '(object) Mapping of taxonomy to comma-separated list or array of term IDs',
+ 'categories' => '(array|string) Comma-separated list or array of category names',
+ 'categories_by_id' => '(array|string) Comma-separated list or array of category IDs',
+ 'tags' => '(array|string) Comma-separated list or array of tag names',
+ 'tags_by_id' => '(array|string) Comma-separated list or array of tag IDs',
+ 'format' => array_merge( array( 'default' => 'Use default post format' ), get_post_format_strings() ),
+ 'discussion' => '(object) A hash containing one or more of the following boolean values, which default to the blog\'s discussion preferences: `comments_open`, `pings_open`',
+ 'likes_enabled' => '(bool) Should the post be open to likes?',
+ 'menu_order' => '(int) (Pages only) the order pages should appear in. Use 0 to maintain alphabetical order.',
+ 'page_template' => '(string) (Pages Only) The page template this page should use.',
+ 'sharing_enabled' => '(bool) Should sharing buttons show on this post?',
+ 'featured_image' => '(string) The post ID of an existing attachment to set as the featured image. Pass an empty string to delete the existing image.',
+ 'media' => '(media) An array of files to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Multiple media items will be displayed in a gallery. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options resposne of the site endpoint. <br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'title=Image' \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ 'media_urls' => '(array) An array of URLs for images to attach to a post. Sideloads the media in for a post.',
+ 'metadata' => '(array) Array of metadata objects containing the following properties: `key` (metadata key), `id` (meta ID), `previous_value` (if set, the action will only occur for the provided previous value), `value` (the new value to set the meta to), `operation` (the operation to perform: `update` or `add`; defaults to `update`). All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with proper capabilities. Protected meta keys can be made available with the <code>rest_api_allowed_public_metadata</code> filter.',
),
- 'body' => array(
- 'title' => 'Hello World (Again)',
- 'content' => 'Hello. I am an edited post. I was edited by the API',
- 'tags' => 'tests',
- 'categories' => 'API'
- )
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.2/sites/82974409/posts/881',
+
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+
+ 'body' => array(
+ 'title' => 'Hello World (Again)',
+ 'content' => 'Hello. I am an edited post. I was edited by the API',
+ 'tags' => 'tests',
+ 'categories' => 'API',
+ ),
+ ),
)
-) );
+);
use function \Automattic\Jetpack\Extensions\Map\map_block_from_geo_points;
+// phpcs:disable PEAR.NamingConventions.ValidClassName.Invalid
+/**
+ * Update post v1.2 endpoint class.
+ */
class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Post_v1_1_Endpoint {
-
- // /sites/%s/posts/new -> $blog_id
- // /sites/%s/posts/%d -> $blog_id, $post_id
- function write_post( $path, $blog_id, $post_id ) {
+ /**
+ * Create or update a post.
+ *
+ * /sites/%s/posts/new -> $blog_id
+ * /sites/%s/posts/%d -> $blog_id, $post_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $post_id Post ID.
+ */
+ public function write_post( $path, $blog_id, $post_id ) {
global $wpdb;
$new = $this->api->ends_with( $path, '/new' );
@@ -167,7 +191,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
define( 'DOING_AUTOSAVE', true );
}
- // unhook publicize, it's hooked again later -- without this, skipping services is impossible
+ // unhook publicize, it's hooked again later -- without this, skipping services is impossible.
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
remove_action( 'save_post', array( $GLOBALS['publicize_ui']->publicize, 'async_publicize_post' ), 100, 2 );
add_action( 'rest_api_inserted_post', array( $GLOBALS['publicize_ui']->publicize, 'async_publicize_post' ) );
@@ -189,16 +213,16 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
if ( ! isset( $input['parent'] ) ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
- $input['status'] = 'inherit'; // force inherit for revision type
- $input['slug'] = $input['parent'] . '-autosave-v1';
- }
- elseif ( !isset( $input['title'] ) && !isset( $input['content'] ) && !isset( $input['excerpt'] ) ) {
+ $input['status'] = 'inherit'; // force inherit for revision type.
+ $input['slug'] = $input['parent'] . '-autosave-v1';
+ } elseif ( ! isset( $input['title'] ) && ! isset( $input['content'] ) && ! isset( $input['excerpt'] ) ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
- // default to post
- if ( empty( $input['type'] ) )
+ // default to post.
+ if ( empty( $input['type'] ) ) {
$input['type'] = 'post';
+ }
$post_type = get_post_type_object( $input['type'] );
@@ -209,8 +233,9 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
if ( ! empty( $input['author'] ) ) {
$author_id = parent::parse_and_set_author( $input['author'], $input['type'] );
unset( $input['author'] );
- if ( is_wp_error( $author_id ) )
+ if ( is_wp_error( $author_id ) ) {
return $author_id;
+ }
}
if ( 'publish' === $input['status'] ) {
@@ -222,14 +247,14 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
}
}
} else {
- if ( !current_user_can( $post_type->cap->edit_posts ) ) {
+ if ( ! current_user_can( $post_type->cap->edit_posts ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit posts', 403 );
}
}
} else {
$input = $this->input( false );
- if ( !is_array( $input ) || !$input ) {
+ if ( ! is_array( $input ) || ! $input ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
@@ -242,34 +267,35 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
$input['status'] = 'publish';
}
- $post = get_post( $post_id );
+ $post = get_post( $post_id );
$_post_type = ( ! empty( $input['type'] ) ) ? $input['type'] : $post->post_type;
- $post_type = get_post_type_object( $_post_type );
- if ( !$post || is_wp_error( $post ) ) {
+ $post_type = get_post_type_object( $_post_type );
+ if ( ! $post || is_wp_error( $post ) ) {
return new WP_Error( 'unknown_post', 'Unknown post', 404 );
}
- if ( !current_user_can( 'edit_post', $post->ID ) ) {
+ if ( ! current_user_can( 'edit_post', $post->ID ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit post', 403 );
}
if ( ! empty( $input['author'] ) ) {
$author_id = parent::parse_and_set_author( $input['author'], $_post_type );
unset( $input['author'] );
- if ( is_wp_error( $author_id ) )
+ if ( is_wp_error( $author_id ) ) {
return $author_id;
+ }
}
- if ( ( isset( $input['status'] ) && 'publish' === $input['status'] ) && 'publish' !== $post->post_status && !current_user_can( 'publish_post', $post->ID ) ) {
+ if ( ( isset( $input['status'] ) && 'publish' === $input['status'] ) && 'publish' !== $post->post_status && ! current_user_can( 'publish_post', $post->ID ) ) {
$input['status'] = 'pending';
}
$last_status = $post->post_status;
- $new_status = isset( $input['status'] ) ? $input['status'] : $last_status;
+ $new_status = isset( $input['status'] ) ? $input['status'] : $last_status;
// Make sure that drafts get the current date when transitioning to publish if not supplied in the post.
// Similarly, scheduled posts that are manually published before their scheduled date should have the date reset.
- $date_in_past = ( strtotime($post->post_date_gmt) < time() );
- $reset_draft_date = 'publish' === $new_status && 'draft' === $last_status && ! isset( $input['date_gmt'] ) && $date_in_past;
+ $date_in_past = ( strtotime( $post->post_date_gmt ) < time() );
+ $reset_draft_date = 'publish' === $new_status && 'draft' === $last_status && ! isset( $input['date_gmt'] ) && $date_in_past;
$reset_scheduled_date = 'publish' === $new_status && 'future' === $last_status && ! isset( $input['date_gmt'] ) && ! $date_in_past;
if ( $reset_draft_date || $reset_scheduled_date ) {
@@ -283,18 +309,18 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
}
if ( function_exists( 'wpcom_switch_to_blog_locale' ) ) {
- // fixes calypso-pre-oss #12476: respect blog locale when creating the post slug
+ // fixes calypso-pre-oss #12476: respect blog locale when creating the post slug.
wpcom_switch_to_blog_locale( $blog_id );
}
- // If date is set, $this->input will set date_gmt, date still needs to be adjusted f
+ // If date is set, $this->input will set date_gmt, date still needs to be adjusted.
if ( isset( $input['date_gmt'] ) ) {
- $gmt_offset = get_option( 'gmt_offset' );
+ $gmt_offset = get_option( 'gmt_offset' );
$time_with_offset = strtotime( $input['date_gmt'] ) + $gmt_offset * HOUR_IN_SECONDS;
- $input['date'] = date( 'Y-m-d H:i:s', $time_with_offset );
+ $input['date'] = gmdate( 'Y-m-d H:i:s', $time_with_offset );
}
- if ( ! empty( $author_id ) && get_current_user_id() != $author_id ) {
+ if ( ! empty( $author_id ) && get_current_user_id() !== $author_id ) {
if ( ! current_user_can( $post_type->cap->edit_others_posts ) ) {
return new WP_Error( 'unauthorized', "User is not allowed to publish others' posts.", 403 );
} elseif ( ! user_can( $author_id, $post_type->cap->edit_posts ) ) {
@@ -302,7 +328,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
}
}
- if ( !is_post_type_hierarchical( $post_type->name ) && 'revision' !== $post_type->name ) {
+ if ( ! is_post_type_hierarchical( $post_type->name ) && 'revision' !== $post_type->name ) {
unset( $input['parent'] );
}
@@ -315,17 +341,20 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
}
// Convert comma-separated terms to array before attempting to
- // merge with hardcoded taxonomies
+ // merge with hardcoded taxonomies.
foreach ( $input[ $term_input_key ] as $taxonomy => $terms ) {
if ( is_string( $terms ) ) {
$input[ $term_input_key ][ $taxonomy ] = explode( ',', $terms );
- } else if ( ! is_array( $terms ) ) {
+ } elseif ( ! is_array( $terms ) ) {
$input[ $term_input_key ][ $taxonomy ] = array();
}
}
- // For each hard-coded taxonomy, merge into terms object
- foreach ( array( 'categories' => 'category', 'tags' => 'post_tag' ) as $key_prefix => $taxonomy ) {
+ // For each hard-coded taxonomy, merge into terms object.
+ foreach ( array(
+ 'categories' => 'category',
+ 'tags' => 'post_tag',
+ ) as $key_prefix => $taxonomy ) {
$taxonomy_key = $key_prefix . $term_key_suffix;
if ( ! isset( $input[ $taxonomy_key ] ) ) {
continue;
@@ -338,7 +367,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
$terms = $input[ $taxonomy_key ];
if ( is_string( $terms ) ) {
$terms = explode( ',', $terms );
- } else if ( ! is_array( $terms ) ) {
+ } elseif ( ! is_array( $terms ) ) {
continue;
}
@@ -353,7 +382,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
$tax_input = array();
foreach ( $input['terms'] as $taxonomy => $terms ) {
$tax_input[ $taxonomy ] = array();
- $is_hierarchical = is_taxonomy_hierarchical( $taxonomy );
+ $is_hierarchical = is_taxonomy_hierarchical( $taxonomy );
foreach ( $terms as $term ) {
/**
@@ -368,13 +397,13 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
$term_info = get_term_by( 'name', $term, $taxonomy, ARRAY_A );
if ( ! $term_info ) {
- // only add a new tag/cat if the user has access to
+ // only add a new tag/cat if the user has access to.
$tax = get_taxonomy( $taxonomy );
- // see https://core.trac.wordpress.org/ticket/26409
+ // see https://core.trac.wordpress.org/ticket/26409 .
if ( $is_hierarchical && ! current_user_can( $tax->cap->edit_terms ) ) {
continue;
- } else if ( ! current_user_can( $tax->cap->assign_terms ) ) {
+ } elseif ( ! current_user_can( $tax->cap->assign_terms ) ) {
continue;
}
@@ -383,11 +412,11 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
if ( ! is_wp_error( $term_info ) ) {
if ( $is_hierarchical ) {
- // Hierarchical terms must be added by ID
- $tax_input[$taxonomy][] = (int) $term_info['term_id'];
+ // Hierarchical terms must be added by ID.
+ $tax_input[ $taxonomy ][] = (int) $term_info['term_id'];
} else {
- // Non-hierarchical terms must be added by name
- $tax_input[$taxonomy][] = $term;
+ // Non-hierarchical terms must be added by name.
+ $tax_input[ $taxonomy ][] = $term;
}
}
}
@@ -395,7 +424,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
/* add terms by ID */
foreach ( $input['terms_by_id'] as $taxonomy => $terms ) {
- // combine with any previous selections
+ // combine with any previous selections.
if ( ! isset( $tax_input[ $taxonomy ] ) || ! is_array( $tax_input[ $taxonomy ] ) ) {
$tax_input[ $taxonomy ] = array();
}
@@ -403,21 +432,21 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
$is_hierarchical = is_taxonomy_hierarchical( $taxonomy );
foreach ( $terms as $term ) {
- $term = (string) $term; // ctype_digit compat
+ $term = (string) $term; // ctype_digit compat.
if ( ! ctype_digit( $term ) ) {
- // skip anything that doesn't look like an ID
+ // skip anything that doesn't look like an ID.
continue;
}
- $term = (int) $term;
+ $term = (int) $term;
$term_info = get_term_by( 'id', $term, $taxonomy, ARRAY_A );
if ( $term_info && ! is_wp_error( $term_info ) ) {
if ( $is_hierarchical ) {
- // Categories must be added by ID
- $tax_input[$taxonomy][] = $term;
+ // Categories must be added by ID.
+ $tax_input[ $taxonomy ][] = $term;
} else {
- // Tags must be added by name
- $tax_input[$taxonomy][] = $term_info['name'];
+ // Tags must be added by name.
+ $tax_input[ $taxonomy ][] = $term_info['name'];
}
}
}
@@ -432,7 +461,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
$insert = array();
- if ( !empty( $input['slug'] ) ) {
+ if ( ! empty( $input['slug'] ) ) {
$insert['post_name'] = $input['slug'];
unset( $input['slug'] );
}
@@ -440,15 +469,15 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
if ( isset( $input['discussion'] ) ) {
$discussion = (array) $input['discussion'];
foreach ( array( 'comment', 'ping' ) as $discussion_type ) {
- $discussion_open = sprintf( '%ss_open', $discussion_type );
+ $discussion_open = sprintf( '%ss_open', $discussion_type );
$discussion_status = sprintf( '%s_status', $discussion_type );
if ( isset( $discussion[ $discussion_open ] ) ) {
- $is_open = WPCOM_JSON_API::is_truthy( $discussion[ $discussion_open ] );
- $discussion[ $discussion_status ] = $is_open ? 'open' : 'closed';
+ $is_open = WPCOM_JSON_API::is_truthy( $discussion[ $discussion_open ] );
+ $discussion[ $discussion_status ] = $is_open ? 'open' : 'closed';
}
- if ( in_array( $discussion[ $discussion_status ], array( 'open', 'closed' ) ) ) {
+ if ( in_array( $discussion[ $discussion_status ], array( 'open', 'closed' ), true ) ) {
$insert[ $discussion_status ] = $discussion[ $discussion_status ];
}
}
@@ -468,7 +497,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
unset( $input['publicize_message'] );
if ( isset( $input['featured_image'] ) ) {
- $featured_image = trim( $input['featured_image'] );
+ $featured_image = trim( $input['featured_image'] );
$delete_featured_image = empty( $featured_image );
unset( $input['featured_image'] );
}
@@ -486,7 +515,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
unset( $input['sticky'] );
foreach ( $input as $key => $value ) {
- $insert["post_$key"] = $value;
+ $insert[ "post_$key" ] = $value;
}
if ( ! empty( $author_id ) ) {
@@ -497,15 +526,15 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
$insert['tax_input'] = $tax_input;
}
- $has_media = ! empty( $input['media'] ) ? count( $input['media'] ) : false;
+ $has_media = ! empty( $input['media'] ) ? count( $input['media'] ) : false;
$has_media_by_url = ! empty( $input['media_urls'] ) ? count( $input['media_urls'] ) : false;
$media_id_string = '';
if ( $has_media || $has_media_by_url ) {
- $media_files = ! empty( $input['media'] ) ? $input['media'] : array();
- $media_urls = ! empty( $input['media_urls'] ) ? $input['media_urls'] : array();
- $media_attrs = ! empty( $input['media_attrs'] ) ? $input['media_attrs'] : array();
- $media_results = $this->handle_media_creation_v1_1( $media_files, $media_urls, $media_attrs );
+ $media_files = ! empty( $input['media'] ) ? $input['media'] : array();
+ $media_urls = ! empty( $input['media_urls'] ) ? $input['media_urls'] : array();
+ $media_attrs = ! empty( $input['media_attrs'] ) ? $input['media_attrs'] : array();
+ $media_results = $this->handle_media_creation_v1_1( $media_files, $media_urls, $media_attrs );
$media_id_string = join( ',', array_filter( array_map( 'absint', $media_results['media_ids'] ) ) );
}
@@ -518,23 +547,25 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
if ( $new ) {
if ( isset( $input['content'] ) && ! has_shortcode( $input['content'], 'gallery' ) && ( $has_media || $has_media_by_url ) ) {
switch ( ( $has_media + $has_media_by_url ) ) {
- case 0 :
- // No images - do nothing.
- break;
- case 1 :
- // 1 image - make it big
- $insert['post_content'] = $input['content'] = sprintf(
- "[gallery size=full ids='%s' columns=1]\n\n",
- $media_id_string
- ) . $input['content'];
- break;
- default :
- // Several images - 3 column gallery
- $insert['post_content'] = $input['content'] = sprintf(
- "[gallery ids='%s']\n\n",
- $media_id_string
- ) . $input['content'];
- break;
+ case 0:
+ // No images - do nothing.
+ break;
+ case 1:
+ // 1 image - make it big.
+ $input['content'] = sprintf(
+ "[gallery size=full ids='%s' columns=1]\n\n",
+ $media_id_string
+ ) . $input['content'];
+ $insert['post_content'] = $input['content'];
+ break;
+ default:
+ // Several images - 3 column gallery.
+ $input['content'] = sprintf(
+ "[gallery ids='%s']\n\n",
+ $media_id_string
+ ) . $input['content'];
+ $insert['post_content'] = $input['content'];
+ break;
}
}
@@ -553,29 +584,28 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
// wp_update_post ignores date unless edit_date is set
// See: https://codex.wordpress.org/Function_Reference/wp_update_post#Scheduling_posts
- // See: https://core.trac.wordpress.org/browser/tags/3.9.2/src/wp-includes/post.php#L3302
+ // See: https://core.trac.wordpress.org/browser/tags/3.9.2/src/wp-includes/post.php#L3302 .
if ( isset( $input['date_gmt'] ) || isset( $input['date'] ) ) {
$insert['edit_date'] = true;
}
- // this two-step process ensures any changes submitted along with status=trash get saved before trashing
+ // this two-step process ensures any changes submitted along with status=trash get saved before trashing.
if ( isset( $input['status'] ) && 'trash' === $input['status'] ) {
- // if we insert it with status='trash', it will get double-trashed, so insert it as a draft first
+ // if we insert it with status='trash', it will get double-trashed, so insert it as a draft first.
unset( $insert['status'] );
$post_id = wp_update_post( (object) $insert );
- // now call wp_trash_post so post_meta gets set and any filters get called
+ // now call wp_trash_post so post_meta gets set and any filters get called.
wp_trash_post( $post_id );
} else {
$post_id = wp_update_post( (object) $insert );
}
}
-
- if ( !$post_id || is_wp_error( $post_id ) ) {
+ if ( ! $post_id || is_wp_error( $post_id ) ) {
return $post_id;
}
- // make sure this post actually exists and is not an error of some kind (ie, trying to load media in the posts endpoint)
+ // make sure this post actually exists and is not an error of some kind (ie, trying to load media in the posts endpoint).
$post_check = $this->get_post_by( 'ID', $post_id, $args['context'] );
if ( is_wp_error( $post_check ) ) {
return $post_check;
@@ -583,26 +613,28 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
if ( $media_id_string ) {
// Yes - this is really how wp-admin does it.
- $wpdb->query( $wpdb->prepare(
- "UPDATE $wpdb->posts SET post_parent = %d WHERE post_type = 'attachment' AND ID IN ( $media_id_string )",
- $post_id
- ) );
+ $wpdb->query(
+ $wpdb->prepare(
+ "UPDATE $wpdb->posts SET post_parent = %d WHERE post_type = 'attachment' AND ID IN ( $media_id_string )", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- IDs are filtered to absint above.
+ $post_id
+ )
+ );
foreach ( $media_results['media_ids'] as $media_id ) {
clean_attachment_cache( $media_id );
}
clean_post_cache( $post_id );
}
- // set page template for this post..
- if ( isset( $input['page_template'] ) && 'page' == $post_type->name ) {
- $page_template = $input['page_template'];
+ // set page template for this post.
+ if ( isset( $input['page_template'] ) && 'page' === $post_type->name ) {
+ $page_template = $input['page_template'];
$page_templates = wp_get_theme()->get_page_templates( get_post( $post_id ) );
- if ( empty( $page_template ) || 'default' == $page_template || isset( $page_templates[ $page_template ] ) ) {
+ if ( empty( $page_template ) || 'default' === $page_template || isset( $page_templates[ $page_template ] ) ) {
update_post_meta( $post_id, '_wp_page_template', $page_template );
}
}
- // Set like status for the post
+ // Set like status for the post.
/** This filter is documented in modules/likes.php */
$sitewide_likes_enabled = (bool) apply_filters( 'wpl_is_enabled_sitewide', ! get_option( 'disabled_likes' ) );
if ( $new ) {
@@ -637,17 +669,16 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
}
}
- // Set sharing status of the post
+ // Set sharing status of the post.
if ( $new ) {
$sharing_enabled = isset( $sharing ) ? (bool) $sharing : true;
if ( false === $sharing_enabled ) {
update_post_meta( $post_id, 'sharing_disabled', 1 );
}
- }
- else {
+ } else {
if ( isset( $sharing ) && true === $sharing ) {
delete_post_meta( $post_id, 'sharing_disabled' );
- } else if ( isset( $sharing ) && false == $sharing ) {
+ } elseif ( isset( $sharing ) && false == $sharing ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
update_post_meta( $post_id, 'sharing_disabled', 1 );
}
}
@@ -662,15 +693,15 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
// WPCOM Specific (Jetpack's will get bumped elsewhere
// Tracks how many posts are published and sets meta
- // so we can track some other cool stats (like likes & comments on posts published)
+ // so we can track some other cool stats (like likes & comments on posts published).
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
if (
- ( $new && 'publish' == $input['status'] )
+ ( $new && 'publish' === $input['status'] )
|| (
- !$new && isset( $last_status )
- && 'publish' != $last_status
+ ! $new && isset( $last_status )
+ && 'publish' !== $last_status
&& isset( $new_status )
- && 'publish' == $new_status
+ && 'publish' === $new_status
)
) {
/** This action is documented in modules/widgets/social-media-icons.php */
@@ -680,15 +711,14 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
}
}
-
// We ask the user/dev to pass Publicize services he/she wants activated for the post, but Publicize expects us
// to instead flag the ones we don't want to be skipped. proceed with said logic.
- // any posts coming from Path (client ID 25952) should also not publicize
- if ( $publicize === false || ( isset( $this->api->token_details['client_id'] ) && 25952 == $this->api->token_details['client_id'] ) ) {
- // No publicize at all, skip all by ID
+ // any posts coming from Path (client ID 25952) should also not publicize.
+ if ( false === $publicize || ( isset( $this->api->token_details['client_id'] ) && 25952 === (int) $this->api->token_details['client_id'] ) ) {
+ // No publicize at all, skip all by ID.
foreach ( $GLOBALS['publicize_ui']->publicize->get_services( 'all' ) as $name => $service ) {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $name );
- $service_connections = $GLOBALS['publicize_ui']->publicize->get_connections( $name );
+ $service_connections = $GLOBALS['publicize_ui']->publicize->get_connections( $name );
if ( ! $service_connections ) {
continue;
}
@@ -696,7 +726,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id, 1 );
}
}
- } else if ( is_array( $publicize ) && ( count ( $publicize ) > 0 ) ) {
+ } elseif ( is_array( $publicize ) && ( count( $publicize ) > 0 ) ) {
foreach ( $GLOBALS['publicize_ui']->publicize->get_services( 'all' ) as $name => $service ) {
/*
* We support both indexed and associative arrays:
@@ -706,44 +736,44 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
* We do support mixed arrays: mixed integer and string keys (see 3rd example below).
*
* EG: array( 'twitter', 'facebook') will only publicize to those, ignoring the other available services
- * Form data: publicize[]=twitter&publicize[]=facebook
+ * Form data: publicize[]=twitter&publicize[]=facebook
* EG: array( 'twitter' => '(int) $pub_conn_id_0, (int) $pub_conn_id_3', 'facebook' => (int) $pub_conn_id_7 ) will publicize to two Twitter accounts, and one Facebook connection, of potentially many.
- * Form data: publicize[twitter]=$pub_conn_id_0,$pub_conn_id_3&publicize[facebook]=$pub_conn_id_7
+ * Form data: publicize[twitter]=$pub_conn_id_0,$pub_conn_id_3&publicize[facebook]=$pub_conn_id_7
* EG: array( 'twitter', 'facebook' => '(int) $pub_conn_id_0, (int) $pub_conn_id_3' ) will publicize to all available Twitter accounts, but only 2 of potentially many Facebook connections
- * Form data: publicize[]=twitter&publicize[facebook]=$pub_conn_id_0,$pub_conn_id_3
+ * Form data: publicize[]=twitter&publicize[facebook]=$pub_conn_id_0,$pub_conn_id_3
*/
// Delete any stale SKIP value for the service by name. We'll add it back by ID.
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $name );
- // Get the user's connections
+ // Get the user's connections.
$service_connections = $GLOBALS['publicize_ui']->publicize->get_connections( $name );
- // if the user doesn't have any connections for this service, move on
+ // if the user doesn't have any connections for this service, move on.
if ( ! $service_connections ) {
continue;
}
- if ( !in_array( $name, $publicize ) && !array_key_exists( $name, $publicize ) ) {
- // Skip the whole service by adding each connection ID
+ if ( ! in_array( $name, $publicize, true ) && ! array_key_exists( $name, $publicize ) ) {
+ // Skip the whole service by adding each connection ID.
foreach ( $service_connections as $service_connection ) {
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id, 1 );
}
- } else if ( !empty( $publicize[ $name ] ) ) {
+ } elseif ( ! empty( $publicize[ $name ] ) ) {
// Seems we're being asked to only push to [a] specific connection[s].
- // Explode the list on commas, which will also support a single passed ID
+ // Explode the list on commas, which will also support a single passed ID.
$requested_connections = explode( ',', ( preg_replace( '/[\s]*/', '', $publicize[ $name ] ) ) );
// Flag the connections we can't match with the requested list to be skipped.
foreach ( $service_connections as $service_connection ) {
- if ( !in_array( $service_connection->meta['connection_data']->id, $requested_connections ) ) {
+ if ( ! in_array( $service_connection->meta['connection_data']->id, $requested_connections, true ) ) {
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id, 1 );
} else {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id );
}
}
} else {
- // delete all SKIP values; it's okay to publish to all connected IDs for this service
+ // delete all SKIP values; it's okay to publish to all connected IDs for this service.
foreach ( $service_connections as $service_connection ) {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_SKIP . $service_connection->unique_id );
}
@@ -751,7 +781,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
}
}
- if ( ! is_null( $publicize_custom_message ) ) {
+ if ( $publicize_custom_message !== null ) {
if ( empty( $publicize_custom_message ) ) {
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_MESS );
} else {
@@ -762,8 +792,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
if ( ! empty( $insert['post_format'] ) ) {
if ( 'default' !== strtolower( $insert['post_format'] ) ) {
set_post_format( $post_id, $insert['post_format'] );
- }
- else {
+ } else {
set_post_format( $post_id, get_option( 'default_post_format' ) );
}
}
@@ -777,41 +806,44 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
$meta = (object) $meta;
- if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY == $meta->key && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
+ if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY === $meta->key && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
return new WP_Error( 'unauthorized', __( 'SEO tools are not enabled for this site.', 'jetpack' ), 403 );
}
- $existing_meta_item = new stdClass;
+ $existing_meta_item = new stdClass();
- if ( empty( $meta->operation ) )
+ if ( empty( $meta->operation ) ) {
$meta->operation = 'update';
+ }
if ( ! empty( $meta->value ) ) {
- if ( 'true' == $meta->value )
+ if ( 'true' == $meta->value ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
$meta->value = true;
- if ( 'false' == $meta->value )
+ }
+ if ( 'false' == $meta->value ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
$meta->value = false;
+ }
}
if ( ! empty( $meta->id ) ) {
- $meta->id = absint( $meta->id );
+ $meta->id = absint( $meta->id );
$existing_meta_item = get_metadata_by_mid( 'post', $meta->id );
if ( $post_id !== (int) $existing_meta_item->post_id ) {
- // Only allow updates for metadata on this post
+ // Only allow updates for metadata on this post.
continue;
}
}
- $unslashed_meta_key = wp_unslash( $meta->key ); // should match what the final key will be
- $meta->key = wp_slash( $meta->key );
- $unslashed_existing_meta_key = isset( $existing_meta_item->meta_key ) ? wp_unslash( $existing_meta_item->meta_key ) : '';
+ $unslashed_meta_key = wp_unslash( $meta->key ); // should match what the final key will be.
+ $meta->key = wp_slash( $meta->key );
+ $unslashed_existing_meta_key = isset( $existing_meta_item->meta_key ) ? wp_unslash( $existing_meta_item->meta_key ) : '';
$existing_meta_item->meta_key = wp_slash( $existing_meta_item->meta_key );
- // make sure that the meta id passed matches the existing meta key
+ // make sure that the meta id passed matches the existing meta key.
if ( ! empty( $meta->id ) && ! empty( $meta->key ) ) {
$meta_by_id = get_metadata_by_mid( 'post', $meta->id );
if ( $meta_by_id->meta_key !== $meta->key ) {
- continue; // skip this meta
+ continue; // skip this meta.
}
}
@@ -840,7 +872,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
} elseif ( ! empty( $meta->id ) && ! empty( $existing_meta_item->meta_key ) && ( current_user_can( 'edit_post_meta', $post_id, $unslashed_existing_meta_key ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) ) {
update_metadata_by_mid( 'post', $meta->id, $meta->value );
} elseif ( ! empty( $meta->key ) && ! empty( $meta->previous_value ) && ( current_user_can( 'edit_post_meta', $post_id, $unslashed_meta_key ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) ) {
- update_post_meta( $post_id, $meta->key,$meta->value, $meta->previous_value );
+ update_post_meta( $post_id, $meta->key, $meta->value, $meta->previous_value );
} elseif ( ! empty( $meta->key ) && ( current_user_can( 'edit_post_meta', $post_id, $unslashed_meta_key ) || WPCOM_JSON_API_Metadata::is_public( $meta->key ) ) ) {
update_post_meta( $post_id, $meta->key, $meta->value );
}
@@ -854,7 +886,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
do_action( 'rest_api_inserted_post', $post_id, $insert, $new );
$return = $this->get_post_by( 'ID', $post_id, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
@@ -863,7 +895,7 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
}
if ( isset( $sticky ) ) {
- // workaround for sticky test occasionally failing, maybe a race condition with stick_post() above
+ // workaround for sticky test occasionally failing, maybe a race condition with stick_post() above.
$return['sticky'] = ( true === $sticky );
}
@@ -877,8 +909,8 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
$return['media_errors'] = array_values( $media_results['errors'] );
}
- if ( 'publish' !== $return['status'] && isset( $input['title'] )) {
- $sal_site = $this->get_sal_post_by( 'ID', $post_id, $args['context'] );
+ if ( 'publish' !== $return['status'] && isset( $input['title'] ) ) {
+ $sal_site = $this->get_sal_post_by( 'ID', $post_id, $args['context'] );
$return['other_URLs'] = (object) $sal_site->get_permalink_suggestions( $input['title'] );
}
@@ -888,15 +920,22 @@ class WPCOM_JSON_API_Update_Post_v1_2_Endpoint extends WPCOM_JSON_API_Update_Pos
return $return;
}
+ /**
+ * Determine if a theme's functions.php file should be loaded.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return bool
+ */
protected function should_load_theme_functions( $post_id = null ) {
if ( empty( $post_id ) ) {
$input = $this->input( true );
- $type = $input['type'];
+ $type = $input['type'];
} else {
$type = get_post_type( $post_id );
}
- return ! empty( $type ) && ! in_array( $type, array( 'post', 'revision' ) );
+ return ! empty( $type ) && ! in_array( $type, array( 'post', 'revision' ), true );
}
/**
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-homepage-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-homepage-endpoint.php
index 16d24940..88b2a8b5 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-homepage-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-homepage-endpoint.php
@@ -1,40 +1,55 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Set site homepage settings API endpoint.
+ *
+ * Endpoint: /sites/%s/homepage
+ */
-new WPCOM_JSON_API_Update_Site_Homepage_Endpoint( array (
- 'description' => 'Set site homepage settings',
- 'group' => '__do_not_document',
- 'stat' => 'sites:1:homepage',
- 'method' => 'POST',
- 'min_version' => '1.1',
- 'path' => '/sites/%s/homepage',
- 'path_labels' => array(
- '$site' => '(string) Site ID or domain.',
- ),
- 'request_format' => array(
- 'is_page_on_front' => '(bool) True if we will use a page as the homepage; false to use a blog page as the homepage.',
- 'page_on_front_id' => '(int) Optional. The ID of the page to use as the homepage if is_page_on_front is true.',
- 'page_for_posts_id' => '(int) Optional. The ID of the page to use as the blog page if is_page_on_front is true.',
- ),
- 'response_format' => array(
- 'is_page_on_front' => '(bool) True if we will use a page as the homepage; false to use a blog page as the homepage.',
- 'page_on_front_id' => '(int) The ID of the page to use as the homepage if is_page_on_front is true.',
- 'page_for_posts_id' => '(int) The ID of the page to use as the blog page if is_page_on_front is true.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/homepage',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- 'body' => array(
- 'is_page_on_front' => true,
- 'page_on_front_id' => 1,
- 'page_for_posts_id' => 0,
+new WPCOM_JSON_API_Update_Site_Homepage_Endpoint(
+ array(
+ 'description' => 'Set site homepage settings',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:1:homepage',
+ 'method' => 'POST',
+ 'min_version' => '1.1',
+ 'path' => '/sites/%s/homepage',
+ 'path_labels' => array(
+ '$site' => '(string) Site ID or domain.',
),
- ),
- 'example_response' => '{"is_page_on_front":true,"page_on_front_id":1,"page_for_posts_id":0}',
-) );
+ 'request_format' => array(
+ 'is_page_on_front' => '(bool) True if we will use a page as the homepage; false to use a blog page as the homepage.',
+ 'page_on_front_id' => '(int) Optional. The ID of the page to use as the homepage if is_page_on_front is true.',
+ 'page_for_posts_id' => '(int) Optional. The ID of the page to use as the blog page if is_page_on_front is true.',
+ ),
+ 'response_format' => array(
+ 'is_page_on_front' => '(bool) True if we will use a page as the homepage; false to use a blog page as the homepage.',
+ 'page_on_front_id' => '(int) The ID of the page to use as the homepage if is_page_on_front is true.',
+ 'page_for_posts_id' => '(int) The ID of the page to use as the blog page if is_page_on_front is true.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/homepage',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ 'body' => array(
+ 'is_page_on_front' => true,
+ 'page_on_front_id' => 1,
+ 'page_for_posts_id' => 0,
+ ),
+ ),
+ 'example_response' => '{"is_page_on_front":true,"page_on_front_id":1,"page_for_posts_id":0}',
+ )
+);
+/**
+ * Site homepage setting endpoint class.
+ */
class WPCOM_JSON_API_Update_Site_Homepage_Endpoint extends WPCOM_JSON_API_Endpoint {
-
- function callback( $path = '', $site_id = 0 ) {
+ /**
+ * Set site homepage setting API callback.
+ *
+ * @param string $path API path.
+ * @param int $site_id Blog ID.
+ */
+ public function callback( $path = '', $site_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $site_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -63,14 +78,19 @@ class WPCOM_JSON_API_Update_Site_Homepage_Endpoint extends WPCOM_JSON_API_Endpoi
return $this->get_current_settings();
}
- function get_current_settings() {
- $is_page_on_front = ( get_option( 'show_on_front' ) === 'page' );
- $page_on_front_id = get_option( 'page_on_front' );
+ /**
+ * Get current site homepage settings.
+ *
+ * @return array
+ */
+ public function get_current_settings() {
+ $is_page_on_front = ( get_option( 'show_on_front' ) === 'page' );
+ $page_on_front_id = get_option( 'page_on_front' );
$page_for_posts_id = get_option( 'page_for_posts' );
return array(
- 'is_page_on_front' => $is_page_on_front,
- 'page_on_front_id' => $page_on_front_id,
+ 'is_page_on_front' => $is_page_on_front,
+ 'page_on_front_id' => $page_on_front_id,
'page_for_posts_id' => $page_for_posts_id,
);
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-logo-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-logo-endpoint.php
index 996601d7..aac48a0a 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-logo-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-site-logo-endpoint.php
@@ -1,55 +1,75 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Set site logo settings API.
+ *
+ * Endpoints:
+ * Set site logo settings: /sites/%s/logo
+ * Delete site logo settings: /sites/%s/logo/delete
+ */
-new WPCOM_JSON_API_Update_Site_Logo_Endpoint( array (
- 'description' => 'Set site logo settings',
- 'group' => '__do_not_document',
- 'stat' => 'sites:1:logo',
- 'method' => 'POST',
- 'min_version' => '1.1',
- 'path' => '/sites/%s/logo',
- 'path_labels' => array(
- '$site' => '(string) Site ID or domain.',
- ),
- 'request_format' => array(
- 'id' => '(int) The ID of the logo post',
- 'url' => '(string) The URL of the logo post (deprecated)',
- ),
- 'response_format' => array(
- 'id' => '(int) The ID of the logo post',
- 'url' => '(string) The URL of the logo post',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/logo',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- 'body' => array(
- 'id' => 12345,
+new WPCOM_JSON_API_Update_Site_Logo_Endpoint(
+ array(
+ 'description' => 'Set site logo settings',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:1:logo',
+ 'method' => 'POST',
+ 'min_version' => '1.1',
+ 'path' => '/sites/%s/logo',
+ 'path_labels' => array(
+ '$site' => '(string) Site ID or domain.',
),
- ),
- 'example_response' => '
+ 'request_format' => array(
+ 'id' => '(int) The ID of the logo post',
+ 'url' => '(string) The URL of the logo post (deprecated)',
+ ),
+ 'response_format' => array(
+ 'id' => '(int) The ID of the logo post',
+ 'url' => '(string) The URL of the logo post',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/logo',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ 'body' => array(
+ 'id' => 12345,
+ ),
+ ),
+ 'example_response' => '
{
"id": 12345,
"url": "https:\/\/s.w.org\/about\/images\/logos\/codeispoetry-rgb.png"
- }'
-) );
+ }',
+ )
+);
-new WPCOM_JSON_API_Update_Site_Logo_Endpoint( array (
- 'description' => 'Delete site logo settings',
- 'group' => '__do_not_document',
- 'stat' => 'sites:1:logo:delete',
- 'method' => 'POST',
- 'min_version' => '1.1',
- 'path' => '/sites/%s/logo/delete',
- 'path_labels' => array(
- '$site' => '(string) Site ID or domain.',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/logo/delete',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- ),
-) );
+new WPCOM_JSON_API_Update_Site_Logo_Endpoint(
+ array(
+ 'description' => 'Delete site logo settings',
+ 'group' => '__do_not_document',
+ 'stat' => 'sites:1:logo:delete',
+ 'method' => 'POST',
+ 'min_version' => '1.1',
+ 'path' => '/sites/%s/logo/delete',
+ 'path_labels' => array(
+ '$site' => '(string) Site ID or domain.',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/logo/delete',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ ),
+ )
+);
+/**
+ * Set site logo settings API class.
+ */
class WPCOM_JSON_API_Update_Site_Logo_Endpoint extends WPCOM_JSON_API_Endpoint {
- function callback( $path = '', $site_id = 0 ) {
+ /**
+ * Set site logo settings API callback.
+ *
+ * @param string $path API path.
+ * @param int $site_id Blog ID.
+ */
+ public function callback( $path = '', $site_id = 0 ) {
// Switch to the given blog.
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $site_id ) );
if ( is_wp_error( $blog_id ) ) {
@@ -65,7 +85,7 @@ class WPCOM_JSON_API_Update_Site_Logo_Endpoint extends WPCOM_JSON_API_Endpoint {
return array();
}
- $args = $this->input();
+ $args = $this->input();
$logo_settings = $this->get_current_settings();
if ( empty( $args ) || ! is_array( $args ) ) {
@@ -79,7 +99,10 @@ class WPCOM_JSON_API_Update_Site_Logo_Endpoint extends WPCOM_JSON_API_Endpoint {
return $this->get_current_settings();
}
- function get_current_settings() {
+ /**
+ * Get current logo settings.
+ */
+ public function get_current_settings() {
$logo_id = get_option( 'site_logo' );
if ( ! $logo_id ) {
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-taxonomy-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-taxonomy-endpoint.php
index 5cab5b3f..db89ae6d 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-taxonomy-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-taxonomy-endpoint.php
@@ -1,179 +1,213 @@
-<?php
-
-new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
- 'description' => 'Create a new category.',
- 'group' => 'taxonomy',
- 'stat' => 'categories:new',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/categories/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'request_format' => array(
- 'name' => '(string) Name of the category',
- 'description' => '(string) A description of the category',
- 'parent' => '(int) ID of the parent category',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/categories/new/',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Update site taxonomy API endpoints.
+ *
+ * Endpoints:
+ * Create a new category: /sites/%s/categories/new
+ * Create a new tag: /sites/%s/tags/new
+ * Edit a category: /sites/%s/categories/slug:%s
+ * Edit a tag: /sites/%s/tags/slug:%s
+ * Delete a category: /sites/%s/categories/slug:%s/delete
+ * Delete a tag: /sites/%s/tags/slug:%s/delete
+ */
+
+new WPCOM_JSON_API_Update_Taxonomy_Endpoint(
+ array(
+ 'description' => 'Create a new category.',
+ 'group' => 'taxonomy',
+ 'stat' => 'categories:new',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/categories/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+
+ 'request_format' => array(
+ 'name' => '(string) Name of the category',
+ 'description' => '(string) A description of the category',
+ 'parent' => '(int) ID of the parent category',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/categories/new/',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'name' => 'Puppies',
+ ),
),
- 'body' => array(
- 'name' => 'Puppies',
- )
)
-) );
-
-new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
- 'description' => 'Create a new tag.',
- 'group' => 'taxonomy',
- 'stat' => 'tags:new',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/tags/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'request_format' => array(
- 'name' => '(string) Name of the tag',
- 'description' => '(string) A description of the tag',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/tags/new/',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+);
+
+new WPCOM_JSON_API_Update_Taxonomy_Endpoint(
+ array(
+ 'description' => 'Create a new tag.',
+ 'group' => 'taxonomy',
+ 'stat' => 'tags:new',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/tags/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
+
+ 'request_format' => array(
+ 'name' => '(string) Name of the tag',
+ 'description' => '(string) A description of the tag',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/tags/new/',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'name' => 'Kitties',
+ ),
),
- 'body' => array(
- 'name' => 'Kitties'
- )
)
-) );
-
-new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
- 'description' => 'Edit a tag.',
- 'group' => 'taxonomy',
- 'stat' => 'tags:1:POST',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/tags/slug:%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$tag' => '(string) The tag slug',
- ),
-
- 'request_format' => array(
- 'name' => '(string) Name of the tag',
- 'description' => '(string) A description of the tag',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/tags/slug:testing-tag',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+);
+
+new WPCOM_JSON_API_Update_Taxonomy_Endpoint(
+ array(
+ 'description' => 'Edit a tag.',
+ 'group' => 'taxonomy',
+ 'stat' => 'tags:1:POST',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/tags/slug:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$tag' => '(string) The tag slug',
+ ),
+
+ 'request_format' => array(
+ 'name' => '(string) Name of the tag',
+ 'description' => '(string) A description of the tag',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/tags/slug:testing-tag',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'description' => 'Kitties are awesome!',
+ ),
),
- 'body' => array(
- 'description' => 'Kitties are awesome!'
- )
)
-) );
-
-new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
- 'description' => 'Edit a category.',
- 'group' => 'taxonomy',
- 'stat' => 'categories:1:POST',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/categories/slug:%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$category' => '(string) The category slug',
- ),
-
- 'request_format' => array(
- 'name' => '(string) Name of the category',
- 'description' => '(string) A description of the category',
- 'parent' => '(int) ID of the parent category',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/categories/slug:testing-category',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+);
+
+new WPCOM_JSON_API_Update_Taxonomy_Endpoint(
+ array(
+ 'description' => 'Edit a category.',
+ 'group' => 'taxonomy',
+ 'stat' => 'categories:1:POST',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/categories/slug:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$category' => '(string) The category slug',
+ ),
+
+ 'request_format' => array(
+ 'name' => '(string) Name of the category',
+ 'description' => '(string) A description of the category',
+ 'parent' => '(int) ID of the parent category',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/categories/slug:testing-category',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'description' => 'Puppies are great!',
+ ),
),
- 'body' => array(
- 'description' => 'Puppies are great!'
- )
)
-) );
-
-new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
- 'description' => 'Delete a category.',
- 'group' => 'taxonomy',
- 'stat' => 'categories:1:delete',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/categories/slug:%s/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$category' => '(string) The category slug',
- ),
- 'response_format' => array(
- 'slug' => '(string) The slug of the deleted category',
- 'success' => '(bool) Was the operation successful?',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/categories/slug:$category/delete',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+);
+
+new WPCOM_JSON_API_Update_Taxonomy_Endpoint(
+ array(
+ 'description' => 'Delete a category.',
+ 'group' => 'taxonomy',
+ 'stat' => 'categories:1:delete',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/categories/slug:%s/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$category' => '(string) The category slug',
+ ),
+ 'response_format' => array(
+ 'slug' => '(string) The slug of the deleted category',
+ 'success' => '(bool) Was the operation successful?',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/categories/slug:$category/delete',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
)
-) );
-
-new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
- 'description' => 'Delete a tag.',
- 'group' => 'taxonomy',
- 'stat' => 'tags:1:delete',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/tags/slug:%s/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$tag' => '(string) The tag slug',
- ),
- 'response_format' => array(
- 'slug' => '(string) The slug of the deleted tag',
- 'success' => '(bool) Was the operation successful?',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/tags/slug:$tag/delete',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+);
+
+new WPCOM_JSON_API_Update_Taxonomy_Endpoint(
+ array(
+ 'description' => 'Delete a tag.',
+ 'group' => 'taxonomy',
+ 'stat' => 'tags:1:delete',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/tags/slug:%s/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$tag' => '(string) The tag slug',
+ ),
+ 'response_format' => array(
+ 'slug' => '(string) The slug of the deleted tag',
+ 'success' => '(bool) Was the operation successful?',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/tags/slug:$tag/delete',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
)
-) );
+);
+/**
+ * Update site taxonomy API class.
+ */
class WPCOM_JSON_API_Update_Taxonomy_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoint {
- // /sites/%s/tags|categories/new -> $blog_id
- // /sites/%s/tags|categories/slug:%s -> $blog_id, $taxonomy_id
- // /sites/%s/tags|categories/slug:%s/delete -> $blog_id, $taxonomy_id
- function callback( $path = '', $blog_id = 0, $object_id = 0 ) {
+ /**
+ * Update site taxonomy API callback.
+ *
+ * - /sites/%s/tags|categories/new -> $blog_id
+ * - /sites/%s/tags|categories/slug:%s -> $blog_id, $taxonomy_id
+ * - /sites/%s/tags|categories/slug:%s/delete -> $blog_id, $taxonomy_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int|string $object_id Term.
+ */
+ public function callback( $path = '', $blog_id = 0, $object_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
if ( preg_match( '#/tags/#i', $path ) ) {
- $taxonomy_type = "post_tag";
+ $taxonomy_type = 'post_tag';
} else {
- $taxonomy_type = "category";
+ $taxonomy_type = 'category';
}
if ( $this->api->ends_with( $path, '/delete' ) ) {
@@ -185,48 +219,61 @@ class WPCOM_JSON_API_Update_Taxonomy_Endpoint extends WPCOM_JSON_API_Taxonomy_En
return $this->update_taxonomy( $path, $blog_id, $object_id, $taxonomy_type );
}
- // /sites/%s/tags|categories/new -> $blog_id
- function new_taxonomy( $path, $blog_id, $taxonomy_type ) {
+ /**
+ * Create a new taxonomy.
+ *
+ * - /sites/%s/tags|categories/new -> $blog_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param string $taxonomy_type Taxonomy type (category, post_tag).
+ */
+ public function new_taxonomy( $path, $blog_id, $taxonomy_type ) {
$args = $this->query_args();
$input = $this->input();
- if ( !is_array( $input ) || !$input || !strlen( $input['name'] ) ) {
+ if ( ! is_array( $input ) || ! $input || ! strlen( $input['name'] ) ) {
return new WP_Error( 'invalid_input', 'Unknown data passed', 400 );
}
$user = wp_get_current_user();
- if ( !$user || is_wp_error( $user ) || !$user->ID ) {
+ if ( ! $user || is_wp_error( $user ) || ! $user->ID ) {
return new WP_Error( 'authorization_required', 'An active access token must be used to manage taxonomies.', 403 );
}
$tax = get_taxonomy( $taxonomy_type );
- if ( !current_user_can( $tax->cap->edit_terms ) ) {
+ if ( ! current_user_can( $tax->cap->edit_terms ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
}
- if ( 'category' !== $taxonomy_type || ! isset( $input['parent'] ) )
+ if ( 'category' !== $taxonomy_type || ! isset( $input['parent'] ) ) {
$input['parent'] = 0;
+ }
- if ( $term = get_term_by( 'name', $input['name'], $taxonomy_type ) ) {
- // the same name is allowed as long as the parents are different
+ $term = get_term_by( 'name', $input['name'], $taxonomy_type );
+ if ( $term ) {
+ // the same name is allowed as long as the parents are different.
if ( $input['parent'] === $term->parent ) {
return new WP_Error( 'duplicate', 'A taxonomy with that name already exists', 400 );
}
}
- $data = wp_insert_term( addslashes( $input['name'] ), $taxonomy_type,
+ $data = wp_insert_term(
+ addslashes( $input['name'] ),
+ $taxonomy_type,
array(
- 'description' => isset( $input['description'] ) ? addslashes( $input['description'] ) : '',
- 'parent' => $input['parent']
+ 'description' => isset( $input['description'] ) ? addslashes( $input['description'] ) : '',
+ 'parent' => $input['parent'],
)
);
- if ( is_wp_error( $data ) )
+ if ( is_wp_error( $data ) ) {
return $data;
+ }
$taxonomy = get_term_by( 'id', $data['term_id'], $taxonomy_type );
- $return = $this->get_taxonomy( $taxonomy->slug, $taxonomy_type, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ $return = $this->get_taxonomy( $taxonomy->slug, $taxonomy_type, $args['context'] );
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
@@ -235,14 +282,24 @@ class WPCOM_JSON_API_Update_Taxonomy_Endpoint extends WPCOM_JSON_API_Taxonomy_En
return $return;
}
- // /sites/%s/tags|categories/slug:%s -> $blog_id, $taxonomy_id
- function update_taxonomy( $path, $blog_id, $object_id, $taxonomy_type ) {
+ /**
+ * Update a taxonomy.
+ *
+ * - /sites/%s/tags|categories/slug:%s -> $blog_id, $taxonomy_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int|string $object_id Term.
+ * @param string $taxonomy_type Taxonomy type (category, post_tag).
+ */
+ public function update_taxonomy( $path, $blog_id, $object_id, $taxonomy_type ) {
$taxonomy = get_term_by( 'slug', $object_id, $taxonomy_type );
$tax = get_taxonomy( $taxonomy_type );
- if ( !current_user_can( $tax->cap->edit_terms ) )
+ if ( ! current_user_can( $tax->cap->edit_terms ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
+ }
- if ( !$taxonomy || is_wp_error( $taxonomy ) ) {
+ if ( ! $taxonomy || is_wp_error( $taxonomy ) ) {
return new WP_Error( 'unknown_taxonomy', 'Unknown taxonomy', 404 );
}
@@ -252,26 +309,28 @@ class WPCOM_JSON_API_Update_Taxonomy_Endpoint extends WPCOM_JSON_API_Taxonomy_En
$args = $this->query_args();
$input = $this->input( false );
- if ( !is_array( $input ) || !$input ) {
+ if ( ! is_array( $input ) || ! $input ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
}
$update = array();
- if ( 'category' === $taxonomy_type && !empty( $input['parent'] ) )
+ if ( 'category' === $taxonomy_type && ! empty( $input['parent'] ) ) {
$update['parent'] = $input['parent'];
+ }
- if ( !empty( $input['description'] ) )
+ if ( ! empty( $input['description'] ) ) {
$update['description'] = addslashes( $input['description'] );
+ }
- if ( !empty( $input['name'] ) )
+ if ( ! empty( $input['name'] ) ) {
$update['name'] = addslashes( $input['name'] );
-
+ }
$data = wp_update_term( $taxonomy->term_id, $taxonomy_type, $update );
$taxonomy = get_term_by( 'id', $data['term_id'], $taxonomy_type );
- $return = $this->get_taxonomy( $taxonomy->slug, $taxonomy_type, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ $return = $this->get_taxonomy( $taxonomy->slug, $taxonomy_type, $args['context'] );
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
@@ -280,14 +339,24 @@ class WPCOM_JSON_API_Update_Taxonomy_Endpoint extends WPCOM_JSON_API_Taxonomy_En
return $return;
}
- // /sites/%s/tags|categories/%s/delete -> $blog_id, $taxonomy_id
- function delete_taxonomy( $path, $blog_id, $object_id, $taxonomy_type ) {
+ /**
+ * Delete a taxonomy.
+ *
+ * - /sites/%s/tags|categories/%s/delete -> $blog_id, $taxonomy_id
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int|string $object_id Term.
+ * @param string $taxonomy_type Taxonomy type (category, post_tag).
+ */
+ public function delete_taxonomy( $path, $blog_id, $object_id, $taxonomy_type ) {
$taxonomy = get_term_by( 'slug', $object_id, $taxonomy_type );
$tax = get_taxonomy( $taxonomy_type );
- if ( !current_user_can( $tax->cap->delete_terms ) )
+ if ( ! current_user_can( $tax->cap->delete_terms ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
+ }
- if ( !$taxonomy || is_wp_error( $taxonomy ) ) {
+ if ( ! $taxonomy || is_wp_error( $taxonomy ) ) {
return new WP_Error( 'unknown_taxonomy', 'Unknown taxonomy', 404 );
}
@@ -295,9 +364,9 @@ class WPCOM_JSON_API_Update_Taxonomy_Endpoint extends WPCOM_JSON_API_Taxonomy_En
return new WP_Error( 'unknown_taxonomy', 'That taxonomy does not exist', 404 );
}
- $args = $this->query_args();
+ $args = $this->query_args();
$return = $this->get_taxonomy( $taxonomy->slug, $taxonomy_type, $args['context'] );
- if ( !$return || is_wp_error( $return ) ) {
+ if ( ! $return || is_wp_error( $return ) ) {
return $return;
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-term-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-term-endpoint.php
index ab85c41f..81950417 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-term-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-term-endpoint.php
@@ -1,87 +1,113 @@
-<?php
-
-new WPCOM_JSON_API_Update_Term_Endpoint( array(
- 'description' => 'Create a new term.',
- 'group' => 'taxonomy',
- 'stat' => 'terms:new',
- 'method' => 'POST',
- 'path' => '/sites/%s/taxonomies/%s/terms/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$taxonomy' => '(string) Taxonomy',
- ),
- 'request_format' => array(
- 'name' => '(string) Name of the term',
- 'description' => '(string) A description of the term',
- 'parent' => '(int) The parent ID for the term, if hierarchical',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/taxonomies/post_tag/terms/new',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Update site terms API endpoints.
+ *
+ * Endpoints:
+ * Create a new term: /sites/%s/taxonomies/%s/terms/new
+ * Edit a term: /sites/%s/taxonomies/%s/terms/slug:%s
+ * Delete a term: /sites/%s/taxonomies/%s/terms/slug:%s/delete
+ */
+
+new WPCOM_JSON_API_Update_Term_Endpoint(
+ array(
+ 'description' => 'Create a new term.',
+ 'group' => 'taxonomy',
+ 'stat' => 'terms:new',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/taxonomies/%s/terms/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$taxonomy' => '(string) Taxonomy',
+ ),
+ 'request_format' => array(
+ 'name' => '(string) Name of the term',
+ 'description' => '(string) A description of the term',
+ 'parent' => '(int) The parent ID for the term, if hierarchical',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/taxonomies/post_tag/terms/new',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'name' => 'Ribs & Chicken',
+ ),
),
- 'body' => array(
- 'name' => 'Ribs & Chicken'
- )
)
-) );
-
-new WPCOM_JSON_API_Update_Term_Endpoint( array(
- 'description' => 'Edit a term.',
- 'group' => 'taxonomy',
- 'stat' => 'terms:1:POST',
- 'method' => 'POST',
- 'path' => '/sites/%s/taxonomies/%s/terms/slug:%s',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$taxonomy' => '(string) Taxonomy',
- '$slug' => '(string) The term slug',
- ),
- 'request_format' => array(
- 'name' => '(string) Name of the term',
- 'description' => '(string) A description of the term',
- 'parent' => '(int) The parent ID for the term, if hierarchical',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/taxonomies/post_tag/terms/slug:testing-term',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+);
+
+new WPCOM_JSON_API_Update_Term_Endpoint(
+ array(
+ 'description' => 'Edit a term.',
+ 'group' => 'taxonomy',
+ 'stat' => 'terms:1:POST',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/taxonomies/%s/terms/slug:%s',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$taxonomy' => '(string) Taxonomy',
+ '$slug' => '(string) The term slug',
+ ),
+ 'request_format' => array(
+ 'name' => '(string) Name of the term',
+ 'description' => '(string) A description of the term',
+ 'parent' => '(int) The parent ID for the term, if hierarchical',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/taxonomies/post_tag/terms/slug:testing-term',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'description' => 'The most delicious',
+ ),
),
- 'body' => array(
- 'description' => 'The most delicious'
- )
)
-) );
-
-new WPCOM_JSON_API_Update_Term_Endpoint( array(
- 'description' => 'Delete a term.',
- 'group' => 'taxonomy',
- 'stat' => 'terms:1:delete',
- 'method' => 'POST',
- 'path' => '/sites/%s/taxonomies/%s/terms/slug:%s/delete',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- '$taxonomy' => '(string) Taxonomy',
- '$slug' => '(string) The term slug',
- ),
- 'response_format' => array(
- 'slug' => '(string) The slug of the deleted term',
- 'success' => '(bool) Whether the operation was successful',
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/taxonomies/post_tag/terms/slug:$term/delete',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+);
+
+new WPCOM_JSON_API_Update_Term_Endpoint(
+ array(
+ 'description' => 'Delete a term.',
+ 'group' => 'taxonomy',
+ 'stat' => 'terms:1:delete',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/taxonomies/%s/terms/slug:%s/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ '$taxonomy' => '(string) Taxonomy',
+ '$slug' => '(string) The term slug',
+ ),
+ 'response_format' => array(
+ 'slug' => '(string) The slug of the deleted term',
+ 'success' => '(bool) Whether the operation was successful',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/taxonomies/post_tag/terms/slug:$term/delete',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
),
)
-) );
+);
+/**
+ * Update site terms API endpoint class.
+ */
class WPCOM_JSON_API_Update_Term_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoint {
- // /sites/%s/taxonomies/%s/terms/new -> $blog_id, $taxonomy
- // /sites/%s/taxonomies/%s/terms/slug:%s -> $blog_id, $taxonomy, $slug
- // /sites/%s/taxonomies/%s/terms/slug:%s/delete -> $blog_id, $taxonomy, $slug
- function callback( $path = '', $blog_id = 0, $taxonomy = 'category', $slug = 0 ) {
- $slug = urldecode( $slug );
+ /**
+ * Update site terms API callback.
+ *
+ * - /sites/%s/taxonomies/%s/terms/new -> $blog_id, $taxonomy
+ * - /sites/%s/taxonomies/%s/terms/slug:%s -> $blog_id, $taxonomy, $slug
+ * - /sites/%s/taxonomies/%s/terms/slug:%s/delete -> $blog_id, $taxonomy, $slug
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param string $taxonomy Taxonomy.
+ * @param int|string $slug Slug, term name.
+ */
+ public function callback( $path = '', $blog_id = 0, $taxonomy = 'category', $slug = 0 ) {
+ $slug = urldecode( $slug );
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -107,16 +133,24 @@ class WPCOM_JSON_API_Update_Term_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoi
if ( $this->api->ends_with( $path, '/delete' ) ) {
return $this->delete_term( $path, $blog_id, $slug, $taxonomy );
- } else if ( $this->api->ends_with( $path, '/new' ) ) {
+ } elseif ( $this->api->ends_with( $path, '/new' ) ) {
return $this->new_term( $path, $blog_id, $taxonomy );
}
return $this->update_term( $path, $blog_id, $slug, $taxonomy );
}
- // /sites/%s/taxonomies/%s/terms/new -> $blog_id, $taxonomy
- function new_term( $path, $blog_id, $taxonomy ) {
- $args = $this->query_args();
+ /**
+ * Create a new term.
+ *
+ * - /sites/%s/taxonomies/%s/terms/new -> $blog_id, $taxonomy
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param string $taxonomy Taxonomy.
+ */
+ public function new_term( $path, $blog_id, $taxonomy ) {
+ $args = $this->query_args();
$input = $this->input();
if ( ! is_array( $input ) || ! $input || ! strlen( $input['name'] ) ) {
return new WP_Error( 'invalid_input', 'Unknown data passed', 400 );
@@ -131,17 +165,22 @@ class WPCOM_JSON_API_Update_Term_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoi
$input['parent'] = 0;
}
- if ( $term = get_term_by( 'name', $input['name'], $taxonomy ) ) {
- // the same name is allowed as long as the parents are different
+ $term = get_term_by( 'name', $input['name'], $taxonomy );
+ if ( $term ) {
+ // the same name is allowed as long as the parents are different.
if ( $input['parent'] === $term->parent ) {
return new WP_Error( 'duplicate', 'A taxonomy with that name already exists', 409 );
}
}
- $data = wp_insert_term( addslashes( $input['name'] ), $taxonomy, array(
- 'description' => isset( $input['description'] ) ? addslashes( $input['description'] ) : '',
- 'parent' => $input['parent']
- ) );
+ $data = wp_insert_term(
+ addslashes( $input['name'] ),
+ $taxonomy,
+ array(
+ 'description' => isset( $input['description'] ) ? addslashes( $input['description'] ) : '',
+ 'parent' => $input['parent'],
+ )
+ );
if ( is_wp_error( $data ) ) {
return $data;
@@ -159,8 +198,17 @@ class WPCOM_JSON_API_Update_Term_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoi
return $return;
}
- // /sites/%s/taxonomies/%s/terms/slug:%s -> $blog_id, $taxonomy, $slug
- function update_term( $path, $blog_id, $slug, $taxonomy ) {
+ /**
+ * Update a term.
+ *
+ * - /sites/%s/taxonomies/%s/terms/slug:%s -> $blog_id, $taxonomy, $slug
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int|string $slug Slug, term name.
+ * @param string $taxonomy Taxonomy.
+ */
+ public function update_term( $path, $blog_id, $slug, $taxonomy ) {
$tax = get_taxonomy( $taxonomy );
if ( ! current_user_can( $tax->cap->edit_terms ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
@@ -171,7 +219,7 @@ class WPCOM_JSON_API_Update_Term_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoi
return new WP_Error( 'unknown_taxonomy', 'Unknown taxonomy', 404 );
}
- $args = $this->query_args();
+ $args = $this->query_args();
$input = $this->input( false );
if ( ! is_array( $input ) || ! $input ) {
return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
@@ -207,10 +255,19 @@ class WPCOM_JSON_API_Update_Term_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoi
return $return;
}
- // /sites/%s/taxonomies/%s/terms/slug:%s/delete -> $blog_id, $taxonomy, $slug
- function delete_term( $path, $blog_id, $slug, $taxonomy ) {
+ /**
+ * Delete a term.
+ *
+ * - /sites/%s/taxonomies/%s/terms/slug:%s/delete -> $blog_id, $taxonomy, $slug
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int|string $slug Slug, term name.
+ * @param string $taxonomy Taxonomy.
+ */
+ public function delete_term( $path, $blog_id, $slug, $taxonomy ) {
$term = get_term_by( 'slug', $slug, $taxonomy );
- $tax = get_taxonomy( $taxonomy );
+ $tax = get_taxonomy( $taxonomy );
if ( ! current_user_can( $tax->cap->delete_terms ) ) {
return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
}
@@ -219,7 +276,7 @@ class WPCOM_JSON_API_Update_Term_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoi
return new WP_Error( 'unknown_taxonomy', 'Unknown taxonomy', 404 );
}
- $args = $this->query_args();
+ $args = $this->query_args();
$return = $this->get_taxonomy( $term->slug, $taxonomy, $args['context'] );
if ( ! $return || is_wp_error( $return ) ) {
return $return;
@@ -232,7 +289,7 @@ class WPCOM_JSON_API_Update_Term_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoi
return array(
'slug' => (string) $term->slug,
- 'success' => true
+ 'success' => true,
);
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-user-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-user-endpoint.php
index 8b8e6045..1fa3ca47 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-user-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-user-endpoint.php
@@ -1,48 +1,64 @@
-<?php
-
-new WPCOM_JSON_API_Update_User_Endpoint( array(
- 'description' => 'Deletes or removes a user of a site.',
- 'group' => 'users',
- 'stat' => 'users:delete',
-
- 'method' => 'POST',
- 'path' => '/sites/%s/users/%d/delete',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID or domain.',
- '$user_ID' => '(int) The user\'s ID'
- ),
-
- 'request_format' => array(
- 'reassign' => '(int) An optional id of a user to reassign posts to.',
- ),
-
- 'response_format' => array(
- 'success' => '(bool) Was the deletion of user successful?',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/users/1/delete',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Update site users API endpoint.
+ *
+ * Endpoint: /sites/%s/users/%d/delete
+ */
+
+new WPCOM_JSON_API_Update_User_Endpoint(
+ array(
+ 'description' => 'Deletes or removes a user of a site.',
+ 'group' => 'users',
+ 'stat' => 'users:delete',
+
+ 'method' => 'POST',
+ 'path' => '/sites/%s/users/%d/delete',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID or domain.',
+ '$user_ID' => '(int) The user\'s ID',
),
- ),
- 'example_response' => '
+ 'request_format' => array(
+ 'reassign' => '(int) An optional id of a user to reassign posts to.',
+ ),
+
+ 'response_format' => array(
+ 'success' => '(bool) Was the deletion of user successful?',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/users/1/delete',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+
+ 'example_response' => '
{
"success": true
- }'
-) );
+ }',
+ )
+);
+/**
+ * Update site users API class.
+ */
class WPCOM_JSON_API_Update_User_Endpoint extends WPCOM_JSON_API_Endpoint {
-
- function callback( $path = '', $blog_id = 0, $user_id = 0 ) {
+ /**
+ * Update site users API callback.
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ * @param int $user_id User ID.
+ */
+ public function callback( $path = '', $blog_id = 0, $user_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
}
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- if ( wpcom_get_blog_owner( $blog_id ) == $user_id ) {
+ if ( (int) wpcom_get_blog_owner( $blog_id ) === (int) $user_id ) {
return new WP_Error( 'forbidden', 'A site owner can not be removed through this endpoint.', 403 );
}
}
@@ -56,19 +72,20 @@ class WPCOM_JSON_API_Update_User_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
* Checks if a user exists by checking to see if a WP_User object exists for a user ID.
- * @param int $user_id
+ *
+ * @param int $user_id User ID.
* @return bool
*/
- function user_exists( $user_id ) {
+ public function user_exists( $user_id ) {
$user = get_user_by( 'id', $user_id );
- return false != $user && is_a( $user, 'WP_User' );
+ return false !== $user && is_a( $user, 'WP_User' );
}
/**
- * Return the domain name of a subscription
+ * Return the domain name of a subscription.
*
- * @param Store_Subscription $subscription
+ * @param Store_Subscription $subscription Subscription object.
* @return string
*/
protected function get_subscription_domain_name( $subscription ) {
@@ -78,7 +95,7 @@ class WPCOM_JSON_API_Update_User_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
* Get a list of the domains owned by the given user.
*
- * @param int $user_id
+ * @param int $user_id User ID.
* @return array
*/
protected function domain_subscriptions_for_site_owned_by_user( $user_id ) {
@@ -91,11 +108,12 @@ class WPCOM_JSON_API_Update_User_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
* Validates user input and then decides whether to remove or delete a user.
- * @param int $user_id
+ *
+ * @param int $user_id User ID.
* @return array|WP_Error
*/
- function delete_or_remove_user( $user_id ) {
- if ( 0 == $user_id ) {
+ public function delete_or_remove_user( $user_id ) {
+ if ( 0 === (int) $user_id ) {
return new WP_Error( 'invalid_input', 'A valid user ID must be specified.', 400 );
}
@@ -116,7 +134,7 @@ class WPCOM_JSON_API_Update_User_Endpoint extends WPCOM_JSON_API_Endpoint {
}
}
- if ( get_current_user_id() == $user_id ) {
+ if ( get_current_user_id() === (int) $user_id ) {
return new WP_Error( 'invalid_input', 'User can not remove or delete self through this endpoint.', 400 );
}
@@ -129,10 +147,11 @@ class WPCOM_JSON_API_Update_User_Endpoint extends WPCOM_JSON_API_Endpoint {
/**
* Removes a user from the current site.
- * @param int $user_id
+ *
+ * @param int $user_id User ID.
* @return array|WP_Error
*/
- function remove_user( $user_id ) {
+ public function remove_user( $user_id ) {
if ( ! current_user_can( 'remove_users' ) ) {
return new WP_Error( 'unauthorized', 'User cannot remove users for specified site.', 403 );
}
@@ -142,16 +161,17 @@ class WPCOM_JSON_API_Update_User_Endpoint extends WPCOM_JSON_API_Endpoint {
}
return array(
- 'success' => remove_user_from_blog( $user_id, get_current_blog_id() )
+ 'success' => remove_user_from_blog( $user_id, get_current_blog_id() ),
);
}
/**
* Deletes a user and optionally reassigns posts to another user.
- * @param int $user_id
+ *
+ * @param int $user_id User ID.
* @return array|WP_Error
*/
- function delete_user( $user_id ) {
+ public function delete_user( $user_id ) {
if ( ! current_user_can( 'delete_users' ) ) {
return new WP_Error( 'unauthorized', 'User cannot delete users for specified site.', 403 );
}
@@ -159,7 +179,7 @@ class WPCOM_JSON_API_Update_User_Endpoint extends WPCOM_JSON_API_Endpoint {
$input = (array) $this->input();
if ( isset( $input['reassign'] ) ) {
- if ( $user_id == $input['reassign'] ) {
+ if ( (int) $user_id === (int) $input['reassign'] ) {
return new WP_Error( 'invalid_input', 'Can not reassign posts to user being deleted.', 400 );
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-endpoint.php
index a47b5d0c..79663d2d 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-endpoint.php
@@ -1,42 +1,58 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Upload media item API endpoint.
+ *
+ * Endpoint: /sites/%s/media/new
+ */
-new WPCOM_JSON_API_Upload_Media_Endpoint( array(
- 'description' => 'Upload a new media item.',
- 'group' => 'media',
- 'stat' => 'media:new',
- 'method' => 'POST',
- 'path' => '/sites/%s/media/new',
- 'deprecated' => true,
- 'new_version' => '1.1',
- 'max_version' => '1',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
+new WPCOM_JSON_API_Upload_Media_Endpoint(
+ array(
+ 'description' => 'Upload a new media item.',
+ 'group' => 'media',
+ 'stat' => 'media:new',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/media/new',
+ 'deprecated' => true,
+ 'new_version' => '1.1',
+ 'max_version' => '1',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
+ ),
- 'request_format' => array(
- 'media' => "(media) An array of media to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Accepts images (image/gif, image/jpeg, image/png) only at this time.<br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/media/new'</code>",
- 'media_urls' => "(array) An array of URLs to upload to the post."
- ),
+ 'request_format' => array(
+ 'media' => '(media) An array of media to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Accepts images (image/gif, image/jpeg, image/png) only at this time.<br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/media/new'</code>",
+ 'media_urls' => '(array) An array of URLs to upload to the post.',
+ ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/media/new/',
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/media/new/',
- 'response_format' => array(
- 'media' => '(array) Array of uploaded media',
- 'errors' => '(array) Array of error messages of uploading media failures'
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
+ 'response_format' => array(
+ 'media' => '(array) Array of uploaded media',
+ 'errors' => '(array) Array of error messages of uploading media failures',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'media_urls' => 'https://s.w.org/about/images/logos/codeispoetry-rgb.png',
+ ),
),
- 'body' => array(
- 'media_urls' => "https://s.w.org/about/images/logos/codeispoetry-rgb.png"
- )
)
-) );
+);
+/**
+ * Upload media item API class.
+ */
class WPCOM_JSON_API_Upload_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
- function callback( $path = '', $blog_id = 0 ) {
+ /**
+ * Upload media item API endpoint callback.
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
+ */
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -51,13 +67,15 @@ class WPCOM_JSON_API_Upload_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
$has_media = isset( $input['media'] ) && $input['media'] ? count( $input['media'] ) : false;
$has_media_urls = isset( $input['media_urls'] ) && $input['media_urls'] ? count( $input['media_urls'] ) : false;
- $media_ids = $files = $errors = array();
+ $errors = array();
+ $files = array();
+ $media_ids = array();
if ( $has_media ) {
$this->api->trap_wp_die( 'upload_error' );
foreach ( $input['media'] as $index => $media_item ) {
$_FILES['.api.media.item.'] = $media_item;
- // check for WP_Error if we ever actually need $media_id
+ // check for WP_Error if we ever actually need $media_id.
$media_id = media_handle_upload( '.api.media.item.', 0 );
if ( is_wp_error( $media_id ) ) {
if ( 1 === count( $input['media'] ) && ! $has_media_urls ) {
@@ -79,8 +97,9 @@ class WPCOM_JSON_API_Upload_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
if ( $has_media_urls ) {
foreach ( $input['media_urls'] as $url ) {
$id = $this->handle_media_sideload( $url );
- if ( ! empty( $id ) && is_int( $id ) )
+ if ( ! empty( $id ) && is_int( $id ) ) {
$media_ids[] = $id;
+ }
}
}
@@ -89,6 +108,9 @@ class WPCOM_JSON_API_Upload_Media_Endpoint extends WPCOM_JSON_API_Endpoint {
$results[] = $this->get_media_item( $media_id );
}
- return array( 'media' => $results, 'errors' => $errors );
+ return array(
+ 'media' => $results,
+ 'errors' => $errors,
+ );
}
}
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-v1-1-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-v1-1-endpoint.php
index 86bbec41..f2ce11e7 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-v1-1-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-upload-media-v1-1-endpoint.php
@@ -1,52 +1,64 @@
-<?php
-
-new WPCOM_JSON_API_Upload_Media_v1_1_Endpoint( array(
- 'description' => 'Upload a new piece of media.',
- 'allow_cross_origin_request' => true,
- 'allow_upload_token_auth' => true,
- 'group' => 'media',
- 'stat' => 'media:new',
- 'min_version' => '1.1',
- 'max_version' => '1.1',
- 'method' => 'POST',
- 'path' => '/sites/%s/media/new',
- 'path_labels' => array(
- '$site' => '(int|string) Site ID or domain',
- ),
-
- 'request_format' => array(
- 'media' => "(media) An array of media to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options response of the site endpoint.<br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/media/new'</code>",
- 'media_urls' => "(array) An array of URLs to upload to the post. Errors produced by media uploads, if any, will be in `media_errors` in the response.",
- 'attrs' => "(array) An array of attributes (`title`, `description`, `caption` `alt` for images, `artist` for audio, `album` for audio, and `parent_id`) are supported to assign to the media uploaded via the `media` or `media_urls` properties. You must use a numeric index for the keys of `attrs` which follows the same sequence as `media` and `media_urls`. <br /><br /><strong>Example</strong>:<br />" .
- "<code>curl \<br />--form 'media[]=@/path/to/file1.jpg' \<br />--form 'media_urls[]=http://example.com/file2.jpg' \<br /> \<br />--form 'attrs[0][caption]=This will be the caption for file1.jpg' \<br />--form 'attrs[1][title]=This will be the title for file2.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
- ),
-
- 'response_format' => array(
- 'media' => '(array) Array of uploaded media objects',
- 'errors' => '(array) Array of error messages of uploading media failures',
- ),
-
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media/new',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN',
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Upload media item API endpoint v1.1
+ *
+ * Endpoint: /sites/%s/media/new
+ */
+
+new WPCOM_JSON_API_Upload_Media_v1_1_Endpoint(
+ array(
+ 'description' => 'Upload a new piece of media.',
+ 'allow_cross_origin_request' => true,
+ 'allow_upload_token_auth' => true,
+ 'group' => 'media',
+ 'stat' => 'media:new',
+ 'min_version' => '1.1',
+ 'max_version' => '1.1',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/media/new',
+ 'path_labels' => array(
+ '$site' => '(int|string) Site ID or domain',
),
- 'body' => array(
- 'media_urls' => 'https://s.w.org/about/images/logos/codeispoetry-rgb.png',
+
+ 'request_format' => array(
+ 'media' => '(media) An array of media to attach to the post. To upload media, the entire request should be multipart/form-data encoded. Accepts jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. Audio and Video may also be available. See <code>allowed_file_types</code> in the options response of the site endpoint.<br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'media[]=@/path/to/file.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/media/new'</code>",
+ 'media_urls' => '(array) An array of URLs to upload to the post. Errors produced by media uploads, if any, will be in `media_errors` in the response.',
+ 'attrs' => '(array) An array of attributes (`title`, `description`, `caption` `alt` for images, `artist` for audio, `album` for audio, and `parent_id`) are supported to assign to the media uploaded via the `media` or `media_urls` properties. You must use a numeric index for the keys of `attrs` which follows the same sequence as `media` and `media_urls`. <br /><br /><strong>Example</strong>:<br />' .
+ "<code>curl \<br />--form 'media[]=@/path/to/file1.jpg' \<br />--form 'media_urls[]=http://example.com/file2.jpg' \<br /> \<br />--form 'attrs[0][caption]=This will be the caption for file1.jpg' \<br />--form 'attrs[1][title]=This will be the title for file2.jpg' \<br />-H 'Authorization: BEARER your-token' \<br />'https://public-api.wordpress.com/rest/v1/sites/123/posts/new'</code>",
+ ),
+
+ 'response_format' => array(
+ 'media' => '(array) Array of uploaded media objects',
+ 'errors' => '(array) Array of error messages of uploading media failures',
+ ),
+
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/media/new',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'media_urls' => 'https://s.w.org/about/images/logos/codeispoetry-rgb.png',
+ ),
),
)
-) );
+);
+// phpcs:disable PEAR.NamingConventions.ValidClassName.Invalid
+/**
+ * Upload media item API class v1.1
+ */
class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint {
-
/**
- * @param string $path
- * @param int $blog_id
+ * Upload media item API endpoint callback v1.1
+ *
+ * @param string $path API path.
+ * @param int $blog_id Blog ID.
*
* @return array|int|WP_Error|void
*/
- function callback( $path = '', $blog_id = 0 ) {
+ public function callback( $path = '', $blog_id = 0 ) {
$blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
if ( is_wp_error( $blog_id ) ) {
return $blog_id;
@@ -59,7 +71,7 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
$input = $this->input( true );
$media_files = ! empty( $input['media'] ) ? $input['media'] : array();
- $media_urls = ! empty( $input['media_urls'] ) ? $input['media_urls'] : array();
+ $media_urls = ! empty( $input['media_urls'] ) ? $input['media_urls'] : array();
$media_attrs = ! empty( $input['attrs'] ) ? $input['attrs'] : array();
if ( empty( $media_files ) && empty( $media_urls ) ) {
@@ -69,7 +81,7 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
$is_jetpack_site = false;
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
// For jetpack sites, we send the media via a different method, because the sync is very different.
- $jetpack_sync = Jetpack_Media_Sync::summon( $blog_id );
+ $jetpack_sync = Jetpack_Media_Sync::summon( $blog_id );
$is_jetpack_site = $jetpack_sync->is_jetpack_site();
}
@@ -78,7 +90,7 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
$media_items = array();
$errors = array();
- // We're splitting out videos for Jetpack sites
+ // We're splitting out videos for Jetpack sites.
foreach ( $media_files as $media_item ) {
if ( preg_match( '@^video/@', $media_item['type'] ) && $is_jetpack_site ) {
$jetpack_media_files[] = $media_item;
@@ -88,7 +100,7 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
}
}
- // New Jetpack / VideoPress media upload processing
+ // New Jetpack / VideoPress media upload processing.
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
if ( count( $jetpack_media_files ) > 0 ) {
add_filter( 'upload_mimes', array( $this, 'allow_video_uploads' ) );
@@ -106,7 +118,7 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
}
}
- // Normal WPCOM upload processing
+ // Normal WPCOM upload processing.
if ( count( $other_media_files ) > 0 || count( $media_urls ) > 0 ) {
if ( is_multisite() ) { // Do not check for available space in non multisites.
add_filter( 'wp_handle_upload_prefilter', array( $this, 'check_upload_size' ), 9 ); // used for direct media uploads.
@@ -114,8 +126,8 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
}
$create_media = $this->handle_media_creation_v1_1( $other_media_files, $media_urls, $media_attrs );
- $media_ids = $create_media['media_ids'];
- $errors = $create_media['errors'];
+ $media_ids = $create_media['media_ids'];
+ $errors = $create_media['errors'];
$media_items = array();
foreach ( $media_ids as $media_id ) {
@@ -130,7 +142,11 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
$results = array();
foreach ( $media_items as $media_item ) {
if ( is_wp_error( $media_item ) ) {
- $errors[] = array( 'file' => $media_item['ID'], 'error' => $media_item->get_error_code(), 'message' => $media_item->get_error_message() );
+ $errors[] = array(
+ 'file' => $media_item['ID'],
+ 'error' => $media_item->get_error_code(),
+ 'message' => $media_item->get_error_message(),
+ );
} else {
$results[] = $media_item;
@@ -152,10 +168,10 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
* @param array $errors Errors for the uploaded file.
* @return array The same array with an improved error message.
*/
- function rewrite_generic_upload_error( $errors ) {
- foreach ( $errors as $k => $error ) {
+ public function rewrite_generic_upload_error( $errors ) {
+ foreach ( $errors as $k => $error ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
if ( 'upload_error' === $error['error'] && false !== strpos( $error['message'], '|' ) ) {
- list( $errors[ $k ]['error'], $errors[ $k ]['message'] ) = explode( '|', $error['message'], 2 );
+ list( $errors[ $k ]['error'], $errors[ $k ]['message'] ) = explode( '|', $error['message'], 2 ); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
}
}
return $errors;
@@ -171,7 +187,7 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
* @param array $file $_FILES array for a given file.
* @return array Maybe extended with an error message.
*/
- function check_upload_size( $file ) {
+ public function check_upload_size( $file ) {
if ( get_site_option( 'upload_space_check_disabled' ) ) {
return $file;
}
@@ -189,7 +205,7 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
$file_size = filesize( $file['tmp_name'] );
if ( $space_left < $file_size ) {
/* translators: %s: Required disk space in kilobytes. */
- $file['error'] = 'rest_upload_limited_space|' . sprintf( __( 'Not enough space to upload. %s KB needed.', 'default' ), number_format( ( $file_size - $space_left ) / KB_IN_BYTES ) );
+ $file['error'] = 'rest_upload_limited_space|' . sprintf( __( 'Not enough space to upload. %s KB needed.', 'default' ), number_format( ( $file_size - $space_left ) / KB_IN_BYTES ) ); // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch
}
$max_upload_size = KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 );
@@ -203,7 +219,7 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
}
if ( upload_is_user_over_quota( false ) ) {
- $file['error'] = 'rest_upload_user_quota_exceeded|' . __( 'You have used your space quota. Please delete files before uploading.', 'default' );
+ $file['error'] = 'rest_upload_user_quota_exceeded|' . __( 'You have used your space quota. Please delete files before uploading.', 'default' ); // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch
}
return $file;
@@ -212,10 +228,10 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
* Force to use the WPCOM API instead of proxy back to the Jetpack API if the blog is a paid Jetpack
* blog w/ the VideoPress module enabled AND the uploaded file is a video.
*
- * @param int $blog_id
+ * @param int $blog_id Blog ID.
* @return bool
*/
- function force_wpcom_request( $blog_id ) {
+ public function force_wpcom_request( $blog_id ) {
// We don't need to do anything if VideoPress is not enabled for the blog.
if ( ! is_videopress_enabled_on_jetpack_blog( $blog_id ) ) {
@@ -223,7 +239,7 @@ class WPCOM_JSON_API_Upload_Media_v1_1_Endpoint extends WPCOM_JSON_API_Endpoint
}
// Check to see if the upload is not a video type, if not then return false.
- $input = $this->input( true );
+ $input = $this->input( true );
$media_files = ! empty( $input['media'] ) ? $input['media'] : array();
if ( empty( $media_files ) ) {
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-check-capabilities-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-check-capabilities-endpoint.php
index c86cddec..ac2fc496 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-check-capabilities-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-check-capabilities-endpoint.php
@@ -1,11 +1,24 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Check capabilities endpoint class.
+ *
+ * GET /sites/%s/me/capability
+ */
class Jetpack_JSON_API_Check_Capabilities_Endpoint extends Jetpack_JSON_API_Modules_Endpoint {
- // GET /sites/%s/me/capability
- // The unused $object parameter is for making the method signature compatible with its parent class method.
- public function callback( $path = '', $_blog_id = 0, $object = null ) {
+ /**
+ *
+ * API callback.
+ *
+ * @param string $path - the path.
+ * @param int $_blog_id - the blog ID.
+ * @param obj $object - parameter is for making the method signature compatible with its parent class method.
+ * @return bool|bool[]|WP_Error
+ */
+ public function callback( $path = '', $_blog_id = 0, $object = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
// Check minimum capability and blog membership first
- if ( is_wp_error( $error = $this->validate_call( $_blog_id, 'read', false ) ) ) {
+ $error = $this->validate_call( $_blog_id, 'read', false );
+ if ( is_wp_error( $error ) ) {
return $error;
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-endpoint.php
index f63a6cd7..e0c94592 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-endpoint.php
@@ -1,12 +1,39 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Core endpoint class.
+ *
+ * POST /sites/%s/core
+ * POST /sites/%s/core/update
+ */
class Jetpack_JSON_API_Core_Endpoint extends Jetpack_JSON_API_Endpoint {
- // POST /sites/%s/core
- // POST /sites/%s/core/update
+
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'manage_options';
+
+ /**
+ * New version.
+ *
+ * @var string
+ */
protected $new_version;
+
+ /**
+ * An array of log strings.
+ *
+ * @var array
+ */
protected $log;
+ /**
+ * Return the result of the wp_version.
+ *
+ * @return array
+ */
public function result() {
global $wp_version;
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-modify-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-modify-endpoint.php
index 8f707ad4..5d899d26 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-modify-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-core-modify-endpoint.php
@@ -1,13 +1,46 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * Core modify endpoint class.
+ *
+ * POST /sites/%s/core
+ * POST /sites/%s/core/update
+ */
class Jetpack_JSON_API_Core_Modify_Endpoint extends Jetpack_JSON_API_Core_Endpoint {
- // POST /sites/%s/core
- // POST /sites/%s/core/update
+
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'update_core';
- protected $action = 'default_action';
+
+ /**
+ * Action.
+ *
+ * @var string
+ */
+ protected $action = 'default_action';
+
+ /**
+ * New version.
+ *
+ * @var string
+ */
protected $new_version;
+
+ /**
+ * An array of log strings.
+ *
+ * @var array
+ */
protected $log;
+ /**
+ * The default action.
+ *
+ * @return bool
+ */
public function default_action() {
$args = $this->input();
@@ -18,10 +51,15 @@ class Jetpack_JSON_API_Core_Modify_Endpoint extends Jetpack_JSON_API_Core_Endpoi
return true;
}
+ /**
+ * Update the version.
+ *
+ * @return string|false|WP_Error New WordPress version on success, false or WP_Error on failure.
+ */
protected function update() {
- $args = $this->input();
- $version = isset( $args['version'] ) ? $args['version'] : false;
- $locale = isset( $args['locale'] ) ? $args['locale'] : get_locale();
+ $args = $this->input();
+ $version = isset( $args['version'] ) ? $args['version'] : false;
+ $locale = isset( $args['locale'] ) ? $args['locale'] : get_locale();
include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
@@ -36,12 +74,12 @@ class Jetpack_JSON_API_Core_Modify_Endpoint extends Jetpack_JSON_API_Core_Endpoi
/**
* Pre-upgrade action
- *
+ *
* @since 3.9.3
- *
+ *
* @param object|array $update as returned by find_core_update() or find_core_auto_update()
*/
- do_action('jetpack_pre_core_upgrade', $update);
+ do_action( 'jetpack_pre_core_upgrade', $update );
$skin = new Automatic_Upgrader_Skin();
$upgrader = new Core_Upgrader( $skin );
@@ -57,17 +95,23 @@ class Jetpack_JSON_API_Core_Modify_Endpoint extends Jetpack_JSON_API_Core_Endpoi
return $this->new_version;
}
+ /**
+ * Select the latest update.
+ * Remove filters to bypass automattic updates.
+ *
+ * @return object|false The core update offering on success, false on failure.
+ */
protected function find_latest_update_offer() {
// Select the latest update.
// Remove filters to bypass automattic updates.
- add_filter( 'request_filesystem_credentials', '__return_true' );
- add_filter( 'automatic_updates_is_vcs_checkout', '__return_false' );
- add_filter( 'allow_major_auto_core_updates', '__return_true' );
+ add_filter( 'request_filesystem_credentials', '__return_true' );
+ add_filter( 'automatic_updates_is_vcs_checkout', '__return_false' );
+ add_filter( 'allow_major_auto_core_updates', '__return_true' );
add_filter( 'send_core_update_notification_email', '__return_false' );
$update = find_core_auto_update();
- remove_filter( 'request_filesystem_credentials', '__return_true' );
- remove_filter( 'automatic_updates_is_vcs_checkout', '__return_false' );
- remove_filter( 'allow_major_auto_core_updates', '__return_true' );
+ remove_filter( 'request_filesystem_credentials', '__return_true' );
+ remove_filter( 'automatic_updates_is_vcs_checkout', '__return_false' );
+ remove_filter( 'allow_major_auto_core_updates', '__return_true' );
remove_filter( 'send_core_update_notification_email', '__return_false' );
return $update;
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-cron-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-cron-endpoint.php
index c1ca60a7..e7aecd3b 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-cron-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-cron-endpoint.php
@@ -1,59 +1,118 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-// GET /sites/%s/cron
+/**
+ * Cron endpoint class.
+ *
+ * GET /sites/%s/cron
+ */
class Jetpack_JSON_API_Cron_Endpoint extends Jetpack_JSON_API_Endpoint {
+
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'manage_options';
- protected function validate_call( $_blog_id, $capability, $check_manage_active = true ) {
+ /**
+ * Validate the call.
+ *
+ * @param int $_blog_id - the blog ID.
+ * @param array $capability - the capabilities of the user.
+ * @param bool $check_manage_active - parameter is for making the method signature compatible with its parent class method.
+ */
+ protected function validate_call( $_blog_id, $capability, $check_manage_active = true ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return parent::validate_call( $_blog_id, $capability, false );
}
+ /**
+ * Return the result of current timestamp.
+ */
protected function result() {
return array(
- 'cron_array' => _get_cron_array(),
- 'current_timestamp' => time()
+ 'cron_array' => _get_cron_array(),
+ 'current_timestamp' => time(),
);
}
+ /**
+ * Sanitize the hook.
+ *
+ * @param string $hook - the hook.
+ *
+ * @return string
+ */
protected function sanitize_hook( $hook ) {
return preg_replace( '/[^A-Za-z0-9-_]/', '', $hook );
}
+ /**
+ * Resolve arguments.
+ *
+ * @return array
+ */
protected function resolve_arguments() {
$args = $this->input();
- return isset( $args['arguments'] ) ? json_decode( $args['arguments'] ) : array();
+ return isset( $args['arguments'] ) ? json_decode( $args['arguments'] ) : array();
}
+ /**
+ * Check the cron lock.
+ *
+ * @param float $gmt_time - the time in GMT.
+ *
+ * @return string|int|WP_Error WP_Error if cron was locked in the `WP_CRON_LOCK_TIMEOUT` seconds before `gmt_time`, int or string otherwise.
+ */
protected function is_cron_locked( $gmt_time ) {
// The cron lock: a unix timestamp from when the cron was spawned.
$doing_cron_transient = $this->get_cron_lock();
- if ( $doing_cron_transient && ( $doing_cron_transient + WP_CRON_LOCK_TIMEOUT > $gmt_time ) ) {
+ if ( $doing_cron_transient && ( $doing_cron_transient + WP_CRON_LOCK_TIMEOUT > $gmt_time ) ) {
return new WP_Error( 'cron-is-locked', 'Current there is a cron already happening.', 403 );
}
return $doing_cron_transient;
}
+ /**
+ * Check if we can unlock the cron transient.
+ *
+ * @param string $doing_wp_cron - if we're doing the wp_cron.
+ */
protected function maybe_unlock_cron( $doing_wp_cron ) {
- if ( $this->get_cron_lock() == $doing_wp_cron ) {
+ if ( $this->get_cron_lock() === $doing_wp_cron ) {
delete_transient( 'doing_cron' );
}
}
+ /**
+ * Set the cron lock.
+ *
+ * @return string
+ */
protected function lock_cron() {
$lock = sprintf( '%.22F', microtime( true ) );
set_transient( 'doing_cron', $lock );
return $lock;
}
+ /**
+ * Get scheduled.
+ *
+ * @param string $hook - the hook.
+ * @param array $args - the arguments.
+ *
+ * @return array
+ */
protected function get_schedules( $hook, $args ) {
$crons = _get_cron_array();
- $key = md5(serialize($args));
- if ( empty( $crons ) )
+ $key = md5( serialize( $args ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
+ if ( empty( $crons ) ) {
return array();
+ }
$found = array();
foreach ( $crons as $timestamp => $cron ) {
- if ( isset( $cron[$hook][$key] ) )
+ if ( isset( $cron[ $hook ][ $key ] ) ) {
$found[] = $timestamp;
+ }
}
return $found;
@@ -61,6 +120,7 @@ class Jetpack_JSON_API_Cron_Endpoint extends Jetpack_JSON_API_Endpoint {
/**
* This function is based on the one found in wp-cron.php with a similar name
+ *
* @return int
*/
protected function get_cron_lock() {
@@ -83,20 +143,29 @@ class Jetpack_JSON_API_Cron_Endpoint extends Jetpack_JSON_API_Endpoint {
}
}
-// POST /sites/%s/cron
-class Jetpack_JSON_API_Cron_Post_Endpoint extends Jetpack_JSON_API_Cron_Endpoint {
+/**
+ * Cron post endpoint class.
+ *
+ * POST /sites/%s/cron
+ */
+class Jetpack_JSON_API_Cron_Post_Endpoint extends Jetpack_JSON_API_Cron_Endpoint { // phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound, Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
+ /**
+ * The result.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
define( 'DOING_CRON', true );
set_time_limit( 0 );
- $args = $this->input();
-
- if ( false === $crons = _get_cron_array() ) {
+ $args = $this->input();
+ $crons = _get_cron_array();
+ if ( false === $crons ) {
return new WP_Error( 'no-cron-event', 'Currently there are no cron events', 400 );
}
$timestamps_to_run = array_keys( $crons );
- $gmt_time = microtime( true );
+ $gmt_time = microtime( true );
if ( isset( $timestamps_to_run[0] ) && $timestamps_to_run[0] > $gmt_time ) {
return new WP_Error( 'no-cron-event', 'Currently there are no cron events ready to be run', 400 );
@@ -107,25 +176,25 @@ class Jetpack_JSON_API_Cron_Post_Endpoint extends Jetpack_JSON_API_Cron_Endpoint
return $locked;
}
- $lock = $this->lock_cron();
+ $lock = $this->lock_cron();
$processed_events = array();
foreach ( $crons as $timestamp => $cronhooks ) {
- if ( $timestamp > $gmt_time && ! isset( $args[ 'hook' ] ) ) {
+ if ( $timestamp > $gmt_time && ! isset( $args['hook'] ) ) {
break;
}
foreach ( $cronhooks as $hook => $hook_data ) {
- if ( isset( $args[ 'hook' ] ) && ! in_array( $hook, $args['hook'] ) ) {
+ if ( isset( $args['hook'] ) && ! in_array( $hook, $args['hook'], true ) ) {
continue;
}
- foreach ( $hook_data as $hash => $hook_item ) {
+ foreach ( $hook_data as $hook_item ) {
- $schedule = $hook_item['schedule'];
+ $schedule = $hook_item['schedule'];
$arguments = $hook_item['args'];
- if ( $schedule != false ) {
+ if ( ! $schedule ) {
wp_reschedule_event( $timestamp, $schedule, $hook, $arguments );
}
@@ -136,11 +205,10 @@ class Jetpack_JSON_API_Cron_Post_Endpoint extends Jetpack_JSON_API_Cron_Endpoint
// If the hook ran too long and another cron process stole the lock,
// or if we things are taking longer then 20 seconds then quit.
- if ( ( $this->get_cron_lock() != $lock ) || ( $gmt_time + 20 > microtime( true ) ) ) {
+ if ( ( $this->get_cron_lock() !== $lock ) || ( $gmt_time + 20 > microtime( true ) ) ) {
$this->maybe_unlock_cron( $lock );
return array( 'success' => $processed_events );
}
-
}
}
}
@@ -150,9 +218,18 @@ class Jetpack_JSON_API_Cron_Post_Endpoint extends Jetpack_JSON_API_Cron_Endpoint
}
}
-// POST /sites/%s/cron/schedule
-class Jetpack_JSON_API_Cron_Schedule_Endpoint extends Jetpack_JSON_API_Cron_Endpoint {
+/**
+ * Schedule endpoint class.
+ *
+ * POST /sites/%s/cron/schedule
+ */
+class Jetpack_JSON_API_Cron_Schedule_Endpoint extends Jetpack_JSON_API_Cron_Endpoint { // phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound, Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
+ /**
+ * The result.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
$args = $this->input();
if ( ! isset( $args['timestamp'] ) ) {
@@ -174,7 +251,7 @@ class Jetpack_JSON_API_Cron_Schedule_Endpoint extends Jetpack_JSON_API_Cron_Endp
return $locked;
}
- $arguments = $this->resolve_arguments();
+ $arguments = $this->resolve_arguments();
$next_scheduled = $this->get_schedules( $hook, $arguments );
if ( isset( $args['recurrence'] ) ) {
@@ -192,7 +269,7 @@ class Jetpack_JSON_API_Cron_Schedule_Endpoint extends Jetpack_JSON_API_Cron_Endp
return array( 'success' => true );
}
- foreach( $next_scheduled as $scheduled_time ) {
+ foreach ( $next_scheduled as $scheduled_time ) {
if ( abs( $scheduled_time - $args['timestamp'] ) <= 10 * MINUTE_IN_SECONDS ) {
return new WP_Error( 'event-already-scheduled', 'This event is ready scheduled', 400 );
}
@@ -204,13 +281,22 @@ class Jetpack_JSON_API_Cron_Schedule_Endpoint extends Jetpack_JSON_API_Cron_Endp
}
}
-// POST /sites/%s/cron/unschedule
-class Jetpack_JSON_API_Cron_Unschedule_Endpoint extends Jetpack_JSON_API_Cron_Endpoint {
+/**
+ * The cron unschedule ednpoint class.
+ *
+ * POST /sites/%s/cron/unschedule
+ */
+class Jetpack_JSON_API_Cron_Unschedule_Endpoint extends Jetpack_JSON_API_Cron_Endpoint { // phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound, Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
+ /**
+ * The result.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
$args = $this->input();
- if ( !isset( $args['hook'] ) ) {
+ if ( ! isset( $args['hook'] ) ) {
return new WP_Error( 'missing_argument', 'Please provide the hook argument', 400 );
}
@@ -230,7 +316,7 @@ class Jetpack_JSON_API_Cron_Unschedule_Endpoint extends Jetpack_JSON_API_Cron_En
if ( isset( $args['timestamp'] ) ) {
$next_schedulded = $this->get_schedules( $hook, $arguments );
- if ( in_array( $args['timestamp'], $next_schedulded ) ) {
+ if ( in_array( $args['timestamp'], $next_schedulded, true ) ) {
return new WP_Error( 'event-not-present', 'Unable to unschedule the event, the event doesn\'t exist', 400 );
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-endpoint.php
index 07457d7d..ce53e85d 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-endpoint.php
@@ -1,28 +1,54 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-include JETPACK__PLUGIN_DIR . '/modules/module-info.php';
+require JETPACK__PLUGIN_DIR . '/modules/module-info.php';
/**
* Base class for Jetpack Endpoints, has the validate_call helper function.
*/
abstract class Jetpack_JSON_API_Endpoint extends WPCOM_JSON_API_Endpoint {
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities;
+
+ /**
+ * Expected actions.
+ *
+ * @var array
+ */
protected $expected_actions = array();
- protected $action;
+ /**
+ * The action.
+ *
+ * @var string
+ */
+ protected $action;
+ /**
+ * Callback function.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param object $object - parameter is for making the method signature compatible with its parent class method.
+ */
public function callback( $path = '', $blog_id = 0, $object = null ) {
- if ( is_wp_error( $error = $this->validate_call( $blog_id, $this->needed_capabilities ) ) ) {
+ $error = $this->validate_call( $blog_id, $this->needed_capabilities );
+ if ( is_wp_error( $error ) ) {
return $error;
}
- if ( is_wp_error( $error = $this->validate_input( $object ) ) ) {
+ $error = $this->validate_input( $object );
+ if ( is_wp_error( $error ) ) {
return $error;
}
if ( ! empty( $this->action ) ) {
- if( is_wp_error( $error = call_user_func( array( $this, $this->action ) ) ) ) {
+ $error = call_user_func( array( $this, $this->action ) );
+ if ( is_wp_error( $error ) ) {
return $error;
}
}
@@ -30,32 +56,47 @@ abstract class Jetpack_JSON_API_Endpoint extends WPCOM_JSON_API_Endpoint {
return $this->result();
}
+ /**
+ * The result function.
+ */
abstract protected function result();
- protected function validate_input( $object ) {
+ /**
+ * Validate input.
+ *
+ * @param object $object - unused, for parent class compatability.
+ *
+ * @return bool
+ */
+ protected function validate_input( $object ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$args = $this->input();
- if( isset( $args['action'] ) && $args['action'] == 'update' ) {
+ if ( isset( $args['action'] ) && $args['action'] === 'update' ) {
$this->action = 'update';
}
- if ( preg_match( "/\/update\/?$/", $this->path ) ) {
+ if ( preg_match( '!/update/?$!', $this->path ) ) {
$this->action = 'update';
- } elseif( preg_match( "/\/install\/?$/", $this->path ) ) {
+ } elseif ( preg_match( '/\/install\/?$/', $this->path ) ) {
$this->action = 'install';
- } elseif( ! empty( $args['action'] ) ) {
- if( ! in_array( $args['action'], $this->expected_actions ) ) {
+ } elseif ( ! empty( $args['action'] ) ) {
+ if ( ! in_array( $args['action'], $this->expected_actions, true ) ) {
return new WP_Error( 'invalid_action', __( 'You must specify a valid action', 'jetpack' ) );
}
- $this->action = $args['action'];
+ $this->action = $args['action'];
}
return true;
}
/**
* Switches to the blog and checks current user capabilities.
+ *
+ * @param int $_blog_id - the blog ID.
+ * @param array $capability - the capabilities of the user.
+ * @param bool $check_validation - if we're checking the validation.
+ *
* @return bool|WP_Error a WP_Error object or true if things are good.
*/
protected function validate_call( $_blog_id, $capability, $check_validation = true ) {
@@ -64,7 +105,8 @@ abstract class Jetpack_JSON_API_Endpoint extends WPCOM_JSON_API_Endpoint {
return $blog_id;
}
- if ( is_wp_error( $error = $this->check_capability( $capability ) ) ) {
+ $error = $this->check_capability( $capability );
+ if ( is_wp_error( $error ) ) {
return $error;
}
@@ -89,7 +131,9 @@ abstract class Jetpack_JSON_API_Endpoint extends WPCOM_JSON_API_Endpoint {
}
/**
- * @param $capability
+ * Check capability.
+ *
+ * @param array $capability - the compatability.
*
* @return bool|WP_Error
*/
@@ -106,8 +150,7 @@ abstract class Jetpack_JSON_API_Endpoint extends WPCOM_JSON_API_Endpoint {
$must_pass = ( isset( $capability['must_pass'] ) && is_int( $capability['must_pass'] ) ? $capability['must_pass'] : count( $capabilities ) );
$failed = array(); // store the failed capabilities
- $passed = 0; //
-
+ $passed = 0;
foreach ( $capabilities as $cap ) {
if ( current_user_can( $cap ) ) {
$passed ++;
@@ -125,7 +168,8 @@ abstract class Jetpack_JSON_API_Endpoint extends WPCOM_JSON_API_Endpoint {
);
}
} else {
- if ( !current_user_can( $capability ) ) {
+ if ( ! current_user_can( $capability ) ) {
+ // Translators: the capability that the user is not authorized for.
return new WP_Error( 'unauthorized', sprintf( __( 'This user is not authorized to %s on this blog.', 'jetpack' ), $capability ), 403 );
}
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-comment-backup-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-comment-backup-endpoint.php
index e526902b..d03518ac 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-comment-backup-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-comment-backup-endpoint.php
@@ -1,12 +1,34 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * The Get comment backup endpoint class.
+ *
+ * /sites/%s/comments/%d/backup -> $blog_id, $comment_id
+ */
class Jetpack_JSON_API_Get_Comment_Backup_Endpoint extends Jetpack_JSON_API_Endpoint {
- // /sites/%s/comments/%d/backup -> $blog_id, $comment_id
+ /**
+ * Needed capabilities.
+ *
+ * @var array
+ */
protected $needed_capabilities = array(); // This endpoint is only accessible using a site token
+
+ /**
+ * The comment ID.
+ *
+ * @var int
+ */
protected $comment_id;
- function validate_input( $comment_id ) {
+ /**
+ * Validate input
+ *
+ * @param int $comment_id - the comment ID.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $comment_id ) {
if ( empty( $comment_id ) || ! is_numeric( $comment_id ) ) {
return new WP_Error( 'comment_id_not_specified', __( 'You must specify a Comment ID', 'jetpack' ), 400 );
}
@@ -16,6 +38,11 @@ class Jetpack_JSON_API_Get_Comment_Backup_Endpoint extends Jetpack_JSON_API_Endp
return true;
}
+ /**
+ * The result.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
// Disable Sync as this is a read-only operation and triggered by sync activity.
\Automattic\Jetpack\Sync\Actions::mark_sync_read_only();
@@ -43,7 +70,7 @@ class Jetpack_JSON_API_Get_Comment_Backup_Endpoint extends Jetpack_JSON_API_Endp
'user_id',
);
- $comment = array_intersect_key( $comment->to_array(), array_flip( $allowed_keys ) );
+ $comment = array_intersect_key( $comment->to_array(), array_flip( $allowed_keys ) );
$comment_meta = get_comment_meta( $comment['comment_ID'] );
return array(
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-database-object-backup-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-database-object-backup-endpoint.php
index 05a5c7f8..cea6b6ad 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-database-object-backup-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-database-object-backup-endpoint.php
@@ -1,17 +1,42 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Get Database object backup endpoint class.
+ *
+ * /sites/%s/database-object/backup -> $blog_id
+ */
class Jetpack_JSON_API_Get_Database_Object_Backup_Endpoint extends Jetpack_JSON_API_Endpoint {
- // /sites/%s/database-object/backup -> $blog_id
+ /**
+ * Needed capabilities.
+ *
+ * @var array
+ */
protected $needed_capabilities = array(); // This endpoint is only accessible using a site token
+
+ /**
+ * Object type.
+ *
+ * @var string
+ */
protected $object_type;
+
+ /**
+ * Object ID.
+ *
+ * @var int
+ */
protected $object_id;
- // Full list of database objects that can be retrieved via this endpoint.
+ /**
+ * Full list of database objects that can be retrieved via this endpoint.
+ *
+ * @var array
+ */
protected $object_types = array(
- 'woocommerce_attribute' => array(
- 'table' => 'woocommerce_attribute_taxonomies',
- 'id_field' => 'attribute_id',
+ 'woocommerce_attribute' => array(
+ 'table' => 'woocommerce_attribute_taxonomies',
+ 'id_field' => 'attribute_id',
),
'woocommerce_downloadable_product_permission' => array(
@@ -19,32 +44,39 @@ class Jetpack_JSON_API_Get_Database_Object_Backup_Endpoint extends Jetpack_JSON_
'id_field' => 'permission_id',
),
- 'woocommerce_order_item' => array(
+ 'woocommerce_order_item' => array(
'table' => 'woocommerce_order_items',
'id_field' => 'order_item_id',
'meta_type' => 'order_item',
),
- 'woocommerce_payment_token' => array(
+ 'woocommerce_payment_token' => array(
'table' => 'woocommerce_payment_tokens',
'id_field' => 'token_id',
'meta_type' => 'payment_token',
),
- 'woocommerce_tax_rate' => array(
+ 'woocommerce_tax_rate' => array(
'table' => 'woocommerce_tax_rates',
'id_field' => 'tax_rate_id',
'child_table' => 'woocommerce_tax_rate_locations',
'child_id_field' => 'tax_rate_id',
),
- 'woocommerce_webhook' => array(
+ 'woocommerce_webhook' => array(
'table' => 'wc_webhooks',
'id_field' => 'webhook_id',
),
);
- function validate_input( $object ) {
+ /**
+ * Validate input.
+ *
+ * @param object $object - unused.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $object ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$query_args = $this->query_args();
if ( empty( $query_args['object_type'] ) || empty( $query_args['object_id'] ) ) {
@@ -61,6 +93,11 @@ class Jetpack_JSON_API_Get_Database_Object_Backup_Endpoint extends Jetpack_JSON_
return true;
}
+ /**
+ * The result.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
global $wpdb;
@@ -71,8 +108,8 @@ class Jetpack_JSON_API_Get_Database_Object_Backup_Endpoint extends Jetpack_JSON_
$id_field = $this->object_type['id_field'];
// Fetch the requested object
- $query = $wpdb->prepare( 'select * from `' . $table . '` where `' . $id_field . '` = %d', $this->object_id );
- $object = $wpdb->get_row( $query );
+ $query = $wpdb->prepare( 'select * from `' . $table . '` where `' . $id_field . '` = %d', $this->object_id ); //phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
+ $object = $wpdb->get_row( $query ); //phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
if ( empty( $object ) ) {
return new WP_Error( 'object_not_found', __( 'Object not found', 'jetpack' ), 404 );
@@ -90,8 +127,8 @@ class Jetpack_JSON_API_Get_Database_Object_Backup_Endpoint extends Jetpack_JSON_
$child_table = $wpdb->prefix . $this->object_type['child_table'];
$child_id_field = $this->object_type['child_id_field'];
- $query = $wpdb->prepare( 'select * from `' . $child_table . '` where `' . $child_id_field . '` = %d', $this->object_id );
- $result[ 'children' ] = $wpdb->get_results( $query );
+ $query = $wpdb->prepare( 'select * from `' . $child_table . '` where `' . $child_id_field . '` = %d', $this->object_id ); //phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
+ $result['children'] = $wpdb->get_results( $query ); //phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
}
return $result;
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-option-backup-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-option-backup-endpoint.php
index 642e3139..7b88603b 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-option-backup-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-option-backup-endpoint.php
@@ -1,12 +1,33 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Get option backup endpoint.
+ *
+ * /sites/%s/options/backup -> $blog_id
+ */
class Jetpack_JSON_API_Get_Option_Backup_Endpoint extends Jetpack_JSON_API_Endpoint {
- // /sites/%s/options/backup -> $blog_id
-
+ /**
+ * Needed capabilities.
+ *
+ * @var array
+ */
protected $needed_capabilities = array(); // This endpoint is only accessible using a site token
+
+ /**
+ * Option names.
+ *
+ * @var string
+ */
protected $option_names;
- function validate_input( $object ) {
+ /**
+ * Validate input.
+ *
+ * @param object $object - unused.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $object ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$query_args = $this->query_args();
if ( empty( $query_args['name'] ) ) {
@@ -22,6 +43,9 @@ class Jetpack_JSON_API_Get_Option_Backup_Endpoint extends Jetpack_JSON_API_Endpo
return true;
}
+ /**
+ * The result.
+ */
protected function result() {
// Disable Sync as this is a read-only operation and triggered by sync activity.
\Automattic\Jetpack\Sync\Actions::mark_sync_read_only();
@@ -30,6 +54,13 @@ class Jetpack_JSON_API_Get_Option_Backup_Endpoint extends Jetpack_JSON_API_Endpo
return array( 'options' => $options );
}
+ /**
+ * Get options row.
+ *
+ * @param string $name - name of the row.
+ *
+ * @return object|null Database query result or null on failure.
+ */
private function get_option_row( $name ) {
global $wpdb;
return $wpdb->get_row( $wpdb->prepare( "select * from `{$wpdb->options}` where option_name = %s", $name ) );
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-post-backup-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-post-backup-endpoint.php
index c6102dfc..e73c11cd 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-post-backup-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-post-backup-endpoint.php
@@ -1,12 +1,32 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Get post backup endpoint class.
+ *
+ * /sites/%s/posts/%d/backup -> $blog_id, $post_id
+ */
class Jetpack_JSON_API_Get_Post_Backup_Endpoint extends Jetpack_JSON_API_Endpoint {
- // /sites/%s/posts/%d/backup -> $blog_id, $post_id
+ /**
+ * Needed capabilities.
+ *
+ * @var array
+ */
protected $needed_capabilities = array(); // This endpoint is only accessible using a site token
+
+ /**
+ * The post ID.
+ *
+ * @var int
+ */
protected $post_id;
- function validate_input( $post_id ) {
+ /**
+ * Validate the input.
+ *
+ * @param int $post_id - the post ID.
+ */
+ public function validate_input( $post_id ) {
if ( empty( $post_id ) || ! is_numeric( $post_id ) ) {
return new WP_Error( 'post_id_not_specified', __( 'You must specify a Post ID', 'jetpack' ), 400 );
}
@@ -16,6 +36,11 @@ class Jetpack_JSON_API_Get_Post_Backup_Endpoint extends Jetpack_JSON_API_Endpoin
return true;
}
+ /**
+ * The result.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
global $wpdb;
@@ -28,14 +53,17 @@ class Jetpack_JSON_API_Get_Post_Backup_Endpoint extends Jetpack_JSON_API_Endpoin
}
// Fetch terms associated with this post object
- $terms = $wpdb->get_results( $wpdb->prepare(
- "SELECT term_taxonomy_id, term_order FROM {$wpdb->term_relationships} WHERE object_id = %d;", $post->ID
- ) );
+ $terms = $wpdb->get_results(
+ $wpdb->prepare(
+ "SELECT term_taxonomy_id, term_order FROM {$wpdb->term_relationships} WHERE object_id = %d;",
+ $post->ID
+ )
+ );
return array(
- 'post' => (array)$post,
+ 'post' => (array) $post,
'meta' => get_post_meta( $post->ID ),
- 'terms' => (array)$terms,
+ 'terms' => (array) $terms,
);
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-term-backup-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-term-backup-endpoint.php
index 21882ddd..3774bd37 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-term-backup-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-term-backup-endpoint.php
@@ -1,12 +1,34 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Get Term backup endpoint class.
+ *
+ * /sites/%s/terms/%d/backup -> $blog_id, $term_id
+ */
class Jetpack_JSON_API_Get_Term_Backup_Endpoint extends Jetpack_JSON_API_Endpoint {
- // /sites/%s/terms/%d/backup -> $blog_id, $term_id
+ /**
+ * Needed capabilities.
+ *
+ * @var array
+ */
protected $needed_capabilities = array(); // This endpoint is only accessible using a site token
+
+ /**
+ * The term ID.
+ *
+ * @var int
+ */
protected $term_id;
- function validate_input( $term_id ) {
+ /**
+ * Validate input.
+ *
+ * @param int $term_id - the term ID.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $term_id ) {
if ( empty( $term_id ) || ! is_numeric( $term_id ) ) {
return new WP_Error( 'term_id_not_specified', __( 'You must specify a Term ID', 'jetpack' ), 400 );
}
@@ -16,6 +38,11 @@ class Jetpack_JSON_API_Get_Term_Backup_Endpoint extends Jetpack_JSON_API_Endpoin
return true;
}
+ /**
+ * Return the result.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
// Disable Sync as this is a read-only operation and triggered by sync activity.
\Automattic\Jetpack\Sync\Actions::mark_sync_read_only();
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-user-backup-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-user-backup-endpoint.php
index a57e4579..e61dfa72 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-user-backup-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-get-user-backup-endpoint.php
@@ -1,12 +1,34 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Get user Backup endpoint class.
+ *
+ * /sites/%s/users/%d/backup -> $blog_id, $user_id
+ */
class Jetpack_JSON_API_Get_User_Backup_Endpoint extends Jetpack_JSON_API_Endpoint {
- // /sites/%s/users/%d/backup -> $blog_id, $user_id
+ /**
+ * Needed capabilities.
+ *
+ * @var array
+ */
protected $needed_capabilities = array(); // This endpoint is only accessible using a site token
+
+ /**
+ * The user ID.
+ *
+ * @var int
+ */
protected $user_id;
- function validate_input( $user_id ) {
+ /**
+ * Validate input.
+ *
+ * @param int $user_id - the user ID.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $user_id ) {
if ( empty( $user_id ) || ! is_numeric( $user_id ) ) {
return new WP_Error( 'user_id_not_specified', __( 'You must specify a User ID', 'jetpack' ), 400 );
}
@@ -16,6 +38,11 @@ class Jetpack_JSON_API_Get_User_Backup_Endpoint extends Jetpack_JSON_API_Endpoin
return true;
}
+ /**
+ * The result.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
// Disable Sync as this is a read-only operation and triggered by sync activity.
\Automattic\Jetpack\Sync\Actions::mark_sync_read_only();
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-jps-woocommerce-connect-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-jps-woocommerce-connect-endpoint.php
index 75a3b04d..b44bd3e9 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-jps-woocommerce-connect-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-jps-woocommerce-connect-endpoint.php
@@ -1,10 +1,23 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * JPS WooCommerce connect endpoint.
+ */
class Jetpack_JSON_API_JPS_WooCommerce_Connect_Endpoint extends Jetpack_JSON_API_Endpoint {
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'manage_options';
- function result() {
+ /**
+ * The result.
+ *
+ * @return array|WP_Error
+ */
+ public function result() {
$input = $this->input();
$helper_data = get_option( 'woocommerce_helper_data', array() );
@@ -34,7 +47,14 @@ class Jetpack_JSON_API_JPS_WooCommerce_Connect_Endpoint extends Jetpack_JSON_API
);
}
- function validate_input( $object ) {
+ /**
+ * Validate input.
+ *
+ * @param object $object - the object we're validating.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $object ) {
$input = $this->input();
if ( empty( $input['access_token'] ) ) {
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-log-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-log-endpoint.php
index ba6ea7cf..7285aa82 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-log-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-log-endpoint.php
@@ -1,16 +1,30 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack log endpoint class.
+ *
+ * GET /sites/%s/jetpack-log
+ */
class Jetpack_JSON_API_Jetpack_Log_Endpoint extends Jetpack_JSON_API_Endpoint {
- // GET /sites/%s/jetpack-log
+ /**
+ * Needed capabilities.
+ *
+ * @var array
+ */
protected $needed_capabilities = 'manage_options';
+ /**
+ * The result.
+ *
+ * @return array
+ */
protected function result() {
- $args = $this->input();
- $event = ( isset( $args['event'] ) && is_string( $args['event'] ) ) ? $code : false;
- $num = ( isset( $args['num'] ) ) ? (int) $num : false;
+ $args = $this->input();
+ $event = ( isset( $args['event'] ) && is_string( $args['event'] ) ) ? $args['event'] : false;
+ $num = ( isset( $args['num'] ) ) ? (int) $args['num'] : false;
return array(
- 'log' => Jetpack::get_log( $event, $num )
+ 'log' => Jetpack::get_log( $event, $num ),
);
}
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-maybe-auto-update-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-maybe-auto-update-endpoint.php
index 5b368760..cc027789 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-maybe-auto-update-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-maybe-auto-update-endpoint.php
@@ -1,16 +1,37 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Auto update endpoint class.
+ *
+ * POST /sites/%s/maybe_auto_update
+ */
class Jetpack_JSON_API_Maybe_Auto_Update_Endpoint extends Jetpack_JSON_API_Endpoint {
- // POST /sites/%s/maybe_auto_update
+
+ /**
+ * Needed capabilities.
+ *
+ * @var array
+ */
protected $needed_capabilities = array( 'update_core', 'update_plugins', 'update_themes' );
+ /**
+ * Update results.
+ *
+ * @var array
+ */
protected $update_results = array();
+ /**
+ * The result.
+ *
+ * @return array
+ */
protected function result() {
add_action( 'automatic_updates_complete', array( $this, 'get_update_results' ), 100, 1 );
wp_maybe_auto_update();
+ $result = array();
$result['log'] = $this->update_results;
if ( empty( $result['log'] ) ) {
@@ -19,12 +40,16 @@ class Jetpack_JSON_API_Maybe_Auto_Update_Endpoint extends Jetpack_JSON_API_Endpo
if ( $possible_reasons_for_failure ) {
$result['log']['error'] = $possible_reasons_for_failure;
}
-
}
return $result;
}
+ /**
+ * Get update results.
+ *
+ * @param array $results - the results.
+ */
public function get_update_results( $results ) {
$this->update_results = $results;
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-endpoint.php
index 2f56f1ee..2a9fdd1f 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-endpoint.php
@@ -1,15 +1,30 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Base class for working with Jetpack Modules.
*/
abstract class Jetpack_JSON_API_Modules_Endpoint extends Jetpack_JSON_API_Endpoint {
+ /**
+ * The modules.
+ *
+ * @var array
+ */
protected $modules = array();
+ /**
+ * If we're working in bulk.
+ *
+ * @var boolean
+ */
protected $bulk = true;
- static $_response_format = array(
+ /**
+ * Response format.
+ *
+ * @var array
+ */
+ public static $_response_format = array( // phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
'id' => '(string) The module\'s ID',
'active' => '(boolean) The module\'s status.',
'name' => '(string) The module\'s name.',
@@ -22,6 +37,11 @@ abstract class Jetpack_JSON_API_Modules_Endpoint extends Jetpack_JSON_API_Endpoi
'override' => '(string) The module\'s override. Empty if no override, otherwise \'active\' or \'inactive\'',
);
+ /**
+ * The result.
+ *
+ * @return array
+ */
protected function result() {
$modules = $this->get_modules();
@@ -35,12 +55,13 @@ abstract class Jetpack_JSON_API_Modules_Endpoint extends Jetpack_JSON_API_Endpoi
}
/**
- * Walks through either the submitted modules or list of themes and creates the global array
- * @param $theme
+ * Walks through either the submitted modules or list of themes and creates the global array.
+ *
+ * @param string $module - the modules.
*
- * @return bool
+ * @return bool|WP_Error
*/
- protected function validate_input( $module) {
+ protected function validate_input( $module ) {
$args = $this->input();
// lets set what modules were requested, and validate them
if ( ! isset( $module ) || empty( $module ) ) {
@@ -55,10 +76,11 @@ abstract class Jetpack_JSON_API_Modules_Endpoint extends Jetpack_JSON_API_Endpoi
}
} else {
$this->modules[] = urldecode( $module );
- $this->bulk = false;
+ $this->bulk = false;
}
- if ( is_wp_error( $error = $this->validate_modules() ) ) {
+ $error = $this->validate_modules();
+ if ( is_wp_error( $error ) ) {
return $error;
}
@@ -67,21 +89,30 @@ abstract class Jetpack_JSON_API_Modules_Endpoint extends Jetpack_JSON_API_Endpoi
/**
* Walks through submitted themes to make sure they are valid
+ *
* @return bool|WP_Error
*/
protected function validate_modules() {
foreach ( $this->modules as $module ) {
if ( ! Jetpack::is_module( $module ) ) {
+ // Translators: the module that's not found.
return new WP_Error( 'unknown_jetpack_module', sprintf( __( 'Module not found: `%s`.', 'jetpack' ), $module ), 404 );
}
}
return true;
}
+ /**
+ * Format the module.
+ *
+ * @param string $module_slug - the module slug.
+ *
+ * @return array
+ */
protected static function format_module( $module_slug ) {
$module_data = Jetpack::get_module( $module_slug );
- $module = array();
+ $module = array();
$module['id'] = $module_slug;
$module['active'] = Jetpack::is_module_active( $module_slug );
$module['name'] = $module_data['name'];
@@ -93,19 +124,20 @@ abstract class Jetpack_JSON_API_Modules_Endpoint extends Jetpack_JSON_API_Endpoi
$module['module_tags'] = $module_data['module_tags'];
$overrides_instance = Jetpack_Modules_Overrides::instance();
- $module['override'] = $overrides_instance->get_module_override( $module_slug );
+ $module['override'] = $overrides_instance->get_module_override( $module_slug );
// Fetch the HTML formatted long description
ob_start();
/** This action is documented in class.jetpack-modules-list-table.php */
do_action( 'jetpack_module_more_info_' . $module_slug );
- $module['description'] = ob_get_clean();
+ $module['description'] = ob_get_clean();
return $module;
}
/**
* Format a list of modules for public display, using the supplied offset and limit args
+ *
* @uses WPCOM_JSON_API_Endpoint::query_args()
* @return array Public API modules objects
*/
@@ -114,10 +146,12 @@ abstract class Jetpack_JSON_API_Modules_Endpoint extends Jetpack_JSON_API_Endpoi
// do offset & limit - we've already returned a 400 error if they're bad numbers
$args = $this->query_args();
- if ( isset( $args['offset'] ) )
+ if ( isset( $args['offset'] ) ) {
$modules = array_slice( $modules, (int) $args['offset'] );
- if ( isset( $args['limit'] ) )
+ }
+ if ( isset( $args['limit'] ) ) {
$modules = array_slice( $modules, 0, (int) $args['limit'] );
+ }
return array_map( array( $this, 'format_module' ), $modules );
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-get-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-get-endpoint.php
index 28a70dba..279c60d6 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-get-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-get-endpoint.php
@@ -1,6 +1,15 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * The Modules get endpoint.
+ *
+ * /sites/%s/jetpack/modules/%s
+ */
class Jetpack_JSON_API_Modules_Get_Endpoint extends Jetpack_JSON_API_Modules_Endpoint {
- // GET /sites/%s/jetpack/modules/%s
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'jetpack_manage_modules';
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-list-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-list-endpoint.php
index 2ed4dbdd..f89c272d 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-list-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-list-endpoint.php
@@ -1,11 +1,27 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileNames
+/**
+ * Modules list endpoint.
+ *
+ * GET /sites/%s/jetpack/modules
+ */
class Jetpack_JSON_API_Modules_List_Endpoint extends Jetpack_JSON_API_Modules_Endpoint {
- // GET /sites/%s/jetpack/modules
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'jetpack_manage_modules';
- public function validate_input( $module ) {
+ /**
+ * Validate the input.
+ *
+ * @param string $module - the module.
+ *
+ * @return bool
+ */
+ public function validate_input( $module ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$this->modules = Jetpack::get_available_modules();
return true;
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-modify-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-modify-endpoint.php
index e1562f50..8cb7bb84 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-modify-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-modules-modify-endpoint.php
@@ -1,13 +1,30 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Modules modify endpoint class.
+ *
+ * POST /sites/%s/jetpack/modules/%s/activate
+ * POST /sites/%s/jetpack/modules/%s
+ * POST /sites/%s/jetpack/modules
+ */
class Jetpack_JSON_API_Modules_Modify_Endpoint extends Jetpack_JSON_API_Modules_Endpoint {
- // POST /sites/%s/jetpack/modules/%s/activate
- // POST /sites/%s/jetpack/modules/%s
- // POST /sites/%s/jetpack/modules
-
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'activate_plugins';
- protected $action = 'default_action';
+ /**
+ * The action.
+ *
+ * @var string
+ */
+ protected $action = 'default_action';
+
+ /**
+ * The default action.
+ */
public function default_action() {
$args = $this->input();
if ( isset( $args['active'] ) && is_bool( $args['active'] ) ) {
@@ -21,15 +38,22 @@ class Jetpack_JSON_API_Modules_Modify_Endpoint extends Jetpack_JSON_API_Modules_
return true;
}
+ /**
+ * Activate module.
+ *
+ * @return bool|WP_Error
+ */
protected function activate_module() {
foreach ( $this->modules as $module ) {
if ( Jetpack::is_module_active( $module ) ) {
- $error = $this->log[ $module ][] = __( 'The Jetpack Module is already activated.', 'jetpack' );
+ $error = __( 'The Jetpack Module is already activated.', 'jetpack' );
+ $this->log[ $module ][] = $error;
continue;
}
$result = Jetpack::activate_module( $module, false, false );
if ( false === $result || ! Jetpack::is_module_active( $module ) ) {
- $error = $this->log[ $module ][] = __( 'There was an error while activating the module.', 'jetpack' );
+ $error = __( 'There was an error while activating the module.', 'jetpack' );
+ $this->log[ $module ][] = $error;
}
}
@@ -40,15 +64,22 @@ class Jetpack_JSON_API_Modules_Modify_Endpoint extends Jetpack_JSON_API_Modules_
return true;
}
+ /**
+ * Deactivate module.
+ *
+ * @return bool|WP_Error
+ */
protected function deactivate_module() {
foreach ( $this->modules as $module ) {
if ( ! Jetpack::is_module_active( $module ) ) {
- $error = $this->log[ $module ][] = __( 'The Jetpack Module is already deactivated.', 'jetpack' );
+ $error = __( 'The Jetpack Module is already deactivated.', 'jetpack' );
+ $this->log[ $module ] = $error;
continue;
}
$result = Jetpack::deactivate_module( $module );
if ( false === $result || Jetpack::is_module_active( $module ) ) {
- $error = $this->log[ $module ][] = __( 'There was an error while deactivating the module.', 'jetpack' );
+ $error = __( 'There was an error while deactivating the module.', 'jetpack' );
+ $this->log[ $module ] = $error;
}
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-delete-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-delete-endpoint.php
index 94b6ddd3..166f5b88 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-delete-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-delete-endpoint.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
// POST /sites/%s/plugins/%s/delete
new Jetpack_JSON_API_Plugins_Delete_Endpoint(
array(
@@ -47,24 +48,46 @@ new Jetpack_JSON_API_Plugins_Delete_Endpoint(
)
);
+/**
+ * Plugins delete endpoint class.
+ *
+ * POST /sites/%s/plugins/%s/delete
+ */
class Jetpack_JSON_API_Plugins_Delete_Endpoint extends Jetpack_JSON_API_Plugins_Endpoint {
- // POST /sites/%s/plugins/%s/delete
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'delete_plugins';
+
+ /**
+ * The action.
+ *
+ * @var string
+ */
protected $action = 'delete';
+ /**
+ * The delete function.
+ *
+ * @return bool|WP_Error
+ */
protected function delete() {
foreach ( $this->plugins as $plugin ) {
if ( Jetpack::is_plugin_active( $plugin ) ) {
- $error = $this->log[ $plugin ][] = __( 'You cannot delete a plugin while it is active on the main site.', 'jetpack' );
+ $error = __( 'You cannot delete a plugin while it is active on the main site.', 'jetpack' );
+ $this->log[ $plugin ][] = $error;
continue;
}
$result = delete_plugins( array( $plugin ) );
if ( is_wp_error( $result ) ) {
- $error = $this->log[ $plugin ][] = $result->get_error_message();
+ $error = $result->get_error_message();
+ $this->log[ $plugin ][] = $error;
} else {
$this->log[ $plugin ][] = 'Plugin deleted';
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-endpoint.php
index 95a6645c..4c1e1d76 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-endpoint.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Constants;
use Automattic\Jetpack\Sync\Functions;
@@ -8,52 +8,88 @@ use Automattic\Jetpack\Sync\Functions;
*/
abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoint {
+ /**
+ * Plugins.
+ *
+ * @var array
+ */
protected $plugins = array();
+ /**
+ * If the plugin is network wide.
+ *
+ * @var boolean
+ */
protected $network_wide = false;
+ /**
+ * If we're working in bulk.
+ *
+ * @var boolean
+ */
protected $bulk = true;
+
+ /**
+ * The log.
+ *
+ * @var array
+ */
protected $log;
- static $_response_format = array(
- 'id' => '(safehtml) The plugin\'s ID',
- 'slug' => '(safehtml) The plugin\'s .org slug',
- 'active' => '(boolean) The plugin status.',
- 'update' => '(object) The plugin update info.',
- 'name' => '(safehtml) The name of the plugin.',
- 'plugin_url' => '(url) Link to the plugin\'s web site.',
- 'version' => '(safehtml) The plugin version number.',
- 'description' => '(safehtml) Description of what the plugin does and/or notes from the author',
- 'author' => '(safehtml) The author\'s name',
- 'author_url' => '(url) The authors web site address',
- 'network' => '(boolean) Whether the plugin can only be activated network wide.',
- 'autoupdate' => '(boolean) Whether the plugin is automatically updated',
+ /**
+ * Response format.
+ *
+ * @var array
+ */
+ public static $_response_format = array( // phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
+ 'id' => '(safehtml) The plugin\'s ID',
+ 'slug' => '(safehtml) The plugin\'s .org slug',
+ 'active' => '(boolean) The plugin status.',
+ 'update' => '(object) The plugin update info.',
+ 'name' => '(safehtml) The name of the plugin.',
+ 'plugin_url' => '(url) Link to the plugin\'s web site.',
+ 'version' => '(safehtml) The plugin version number.',
+ 'description' => '(safehtml) Description of what the plugin does and/or notes from the author',
+ 'author' => '(safehtml) The author\'s name',
+ 'author_url' => '(url) The authors web site address',
+ 'network' => '(boolean) Whether the plugin can only be activated network wide.',
+ 'autoupdate' => '(boolean) Whether the plugin is automatically updated',
'autoupdate_translation' => '(boolean) Whether the plugin is automatically updating translations',
- 'next_autoupdate' => '(string) Y-m-d H:i:s for next scheduled update event',
- 'log' => '(array:safehtml) An array of update log strings.',
- 'uninstallable' => '(boolean) Whether the plugin is unistallable.',
- 'action_links' => '(array) An array of action links that the plugin uses.',
+ 'next_autoupdate' => '(string) Y-m-d H:i:s for next scheduled update event',
+ 'log' => '(array:safehtml) An array of update log strings.',
+ 'uninstallable' => '(boolean) Whether the plugin is unistallable.',
+ 'action_links' => '(array) An array of action links that the plugin uses.',
);
- static $_response_format_v1_2 = array(
- 'slug' => '(safehtml) The plugin\'s .org slug',
- 'active' => '(boolean) The plugin status.',
- 'update' => '(object) The plugin update info.',
- 'name' => '(safehtml) The plugin\'s ID',
- 'display_name' => '(safehtml) The name of the plugin.',
- 'version' => '(safehtml) The plugin version number.',
- 'description' => '(safehtml) Description of what the plugin does and/or notes from the author',
- 'author' => '(safehtml) The author\'s name',
- 'author_url' => '(url) The authors web site address',
- 'plugin_url' => '(url) Link to the plugin\'s web site.',
- 'network' => '(boolean) Whether the plugin can only be activated network wide.',
- 'autoupdate' => '(boolean) Whether the plugin is automatically updated',
+ /**
+ * Response format v1_2
+ *
+ * @var array
+ */
+ public static $_response_format_v1_2 = array( // phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
+ 'slug' => '(safehtml) The plugin\'s .org slug',
+ 'active' => '(boolean) The plugin status.',
+ 'update' => '(object) The plugin update info.',
+ 'name' => '(safehtml) The plugin\'s ID',
+ 'display_name' => '(safehtml) The name of the plugin.',
+ 'version' => '(safehtml) The plugin version number.',
+ 'description' => '(safehtml) Description of what the plugin does and/or notes from the author',
+ 'author' => '(safehtml) The author\'s name',
+ 'author_url' => '(url) The authors web site address',
+ 'plugin_url' => '(url) Link to the plugin\'s web site.',
+ 'network' => '(boolean) Whether the plugin can only be activated network wide.',
+ 'autoupdate' => '(boolean) Whether the plugin is automatically updated',
'autoupdate_translation' => '(boolean) Whether the plugin is automatically updating translations',
- 'uninstallable' => '(boolean) Whether the plugin is unistallable.',
- 'action_links' => '(array) An array of action links that the plugin uses.',
- 'log' => '(array:safehtml) An array of update log strings.',
+ 'uninstallable' => '(boolean) Whether the plugin is unistallable.',
+ 'action_links' => '(array) An array of action links that the plugin uses.',
+ 'log' => '(array:safehtml) An array of update log strings.',
);
+ /**
+ * The result.
+ *
+ * @return array
+ */
protected function result() {
$plugins = $this->get_plugins();
@@ -66,13 +102,22 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
}
+ /**
+ * Validate the input.
+ *
+ * @param string $plugin - the plugin we're validating.
+ *
+ * @return bool|WP_Error
+ */
protected function validate_input( $plugin ) {
- if ( is_wp_error( $error = parent::validate_input( $plugin ) ) ) {
+ $error = parent::validate_input( $plugin );
+ if ( is_wp_error( $error ) ) {
return $error;
}
- if ( is_wp_error( $error = $this->validate_network_wide() ) ) {
+ $error = $this->validate_network_wide();
+ if ( is_wp_error( $error ) ) {
return $error;
}
@@ -89,31 +134,33 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
$this->plugins[] = $args['plugins'];
}
} else {
- $this->bulk = false;
+ $this->bulk = false;
$this->plugins[] = urldecode( $plugin );
}
- if ( is_wp_error( $error = $this->validate_plugins() ) ) {
+ $error = $this->validate_plugins();
+ if ( is_wp_error( $error ) ) {
return $error;
- };
+ }
return true;
}
/**
* Walks through submitted plugins to make sure they are valid
+ *
* @return bool|WP_Error
*/
protected function validate_plugins() {
if ( empty( $this->plugins ) || ! is_array( $this->plugins ) ) {
- return new WP_Error( 'missing_plugins', __( 'No plugins found.', 'jetpack' ));
+ return new WP_Error( 'missing_plugins', __( 'No plugins found.', 'jetpack' ) );
}
- foreach( $this->plugins as $index => $plugin ) {
- if ( ! preg_match( "/\.php$/", $plugin ) ) {
- $plugin = $plugin . '.php';
+ foreach ( $this->plugins as $index => $plugin ) {
+ if ( ! preg_match( '/\.php$/', $plugin ) ) {
+ $plugin = $plugin . '.php';
$this->plugins[ $index ] = $plugin;
}
- $valid = $this->validate_plugin( urldecode( $plugin ) ) ;
+ $valid = $this->validate_plugin( urldecode( $plugin ) );
if ( is_wp_error( $valid ) ) {
return $valid;
}
@@ -122,12 +169,20 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
return true;
}
+ /**
+ * Format the plugin.
+ *
+ * @param string $plugin_file - the plugin file.
+ * @param array $plugin_data - the plugin data.
+ *
+ * @return array
+ */
protected function format_plugin( $plugin_file, $plugin_data ) {
if ( version_compare( $this->min_version, '1.2', '>=' ) ) {
return $this->format_plugin_v1_2( $plugin_file, $plugin_data );
}
- $plugin = array();
- $plugin['id'] = preg_replace("/(.+)\.php$/", "$1", $plugin_file );
+ $plugin = array();
+ $plugin['id'] = preg_replace( '/(.+)\.php$/', '$1', $plugin_file );
$plugin['slug'] = Jetpack_Autoupdate::get_plugin_slug( $plugin_file );
$plugin['active'] = Jetpack::is_plugin_active( $plugin_file );
$plugin['name'] = $plugin_data['Name'];
@@ -138,8 +193,8 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
$plugin['author_url'] = $plugin_data['AuthorURI'];
$plugin['network'] = $plugin_data['Network'];
$plugin['update'] = $this->get_plugin_updates( $plugin_file );
- $plugin['next_autoupdate'] = date( 'Y-m-d H:i:s', wp_next_scheduled( 'wp_maybe_auto_update' ) );
- $action_link = $this->get_plugin_action_links( $plugin_file );
+ $plugin['next_autoupdate'] = gmdate( 'Y-m-d H:i:s', wp_next_scheduled( 'wp_maybe_auto_update' ) );
+ $action_link = $this->get_plugin_action_links( $plugin_file );
if ( ! empty( $action_link ) ) {
$plugin['action_links'] = $action_link;
}
@@ -151,35 +206,43 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
$autoupdate = ( new WP_Automatic_Updater() )->should_update( 'plugin', (object) $plugin, WP_PLUGIN_DIR );
$plugin['autoupdate'] = $autoupdate;
- $autoupdate_translation = in_array( $plugin_file, Jetpack_Options::get_option( 'autoupdate_plugins_translations', array() ) );
+ $autoupdate_translation = in_array( $plugin_file, Jetpack_Options::get_option( 'autoupdate_plugins_translations', array() ), true );
$plugin['autoupdate_translation'] = $autoupdate || $autoupdate_translation || Jetpack_Options::get_option( 'autoupdate_translations', false );
- $plugin['uninstallable'] = is_uninstallable_plugin( $plugin_file );
+ $plugin['uninstallable'] = is_uninstallable_plugin( $plugin_file );
if ( is_multisite() ) {
$plugin['network_active'] = is_plugin_active_for_network( $plugin_file );
}
- if ( ! empty ( $this->log[ $plugin_file ] ) ) {
+ if ( ! empty( $this->log[ $plugin_file ] ) ) {
$plugin['log'] = $this->log[ $plugin_file ];
}
return $plugin;
}
+ /**
+ * Format the plugin for v1_2.
+ *
+ * @param string $plugin_file - the plugin file.
+ * @param array $plugin_data - the plugin data.
+ *
+ * @return array
+ */
protected function format_plugin_v1_2( $plugin_file, $plugin_data ) {
- $plugin = array();
- $plugin['slug'] = Jetpack_Autoupdate::get_plugin_slug( $plugin_file );
- $plugin['active'] = Jetpack::is_plugin_active( $plugin_file );
- $plugin['name'] = preg_replace("/(.+)\.php$/", "$1", $plugin_file );
- $plugin['display_name'] = $plugin_data['Name'];
- $plugin['plugin_url'] = $plugin_data['PluginURI'];
- $plugin['version'] = $plugin_data['Version'];
- $plugin['description'] = $plugin_data['Description'];
- $plugin['author'] = $plugin_data['Author'];
- $plugin['author_url'] = $plugin_data['AuthorURI'];
- $plugin['network'] = $plugin_data['Network'];
- $plugin['update'] = $this->get_plugin_updates( $plugin_file );
- $action_link = $this->get_plugin_action_links( $plugin_file );
+ $plugin = array();
+ $plugin['slug'] = Jetpack_Autoupdate::get_plugin_slug( $plugin_file );
+ $plugin['active'] = Jetpack::is_plugin_active( $plugin_file );
+ $plugin['name'] = preg_replace( '/(.+)\.php$/', '$1', $plugin_file );
+ $plugin['display_name'] = $plugin_data['Name'];
+ $plugin['plugin_url'] = $plugin_data['PluginURI'];
+ $plugin['version'] = $plugin_data['Version'];
+ $plugin['description'] = $plugin_data['Description'];
+ $plugin['author'] = $plugin_data['Author'];
+ $plugin['author_url'] = $plugin_data['AuthorURI'];
+ $plugin['network'] = $plugin_data['Network'];
+ $plugin['update'] = $this->get_plugin_updates( $plugin_file );
+ $action_link = $this->get_plugin_action_links( $plugin_file );
if ( ! empty( $action_link ) ) {
$plugin['action_links'] = $action_link;
}
@@ -191,37 +254,47 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
$autoupdate = ( new WP_Automatic_Updater() )->should_update( 'plugin', (object) $plugin, WP_PLUGIN_DIR );
$plugin['autoupdate'] = $autoupdate;
- $autoupdate_translation = $this->plugin_has_translations_autoupdates_enabled( $plugin_file );
+ $autoupdate_translation = $this->plugin_has_translations_autoupdates_enabled( $plugin_file );
$plugin['autoupdate_translation'] = $autoupdate || $autoupdate_translation || Jetpack_Options::get_option( 'autoupdate_translations', false );
- $plugin['uninstallable'] = is_uninstallable_plugin( $plugin_file );
+ $plugin['uninstallable'] = is_uninstallable_plugin( $plugin_file );
if ( is_multisite() ) {
$plugin['network_active'] = is_plugin_active_for_network( $plugin_file );
}
- if ( ! empty ( $this->log[ $plugin_file ] ) ) {
+ if ( ! empty( $this->log[ $plugin_file ] ) ) {
$plugin['log'] = $this->log[ $plugin_file ];
}
return $plugin;
}
+ /**
+ * Check if plugin has autoupdates for translations enabled.
+ *
+ * @param string $plugin_file - the plugin file.
+ *
+ * @return bool
+ */
protected function plugin_has_translations_autoupdates_enabled( $plugin_file ) {
- return (bool) in_array( $plugin_file, Jetpack_Options::get_option( 'autoupdate_plugins_translations', array() ) );
+ return (bool) in_array( $plugin_file, Jetpack_Options::get_option( 'autoupdate_plugins_translations', array() ), true );
}
+ /**
+ * Get file mod capabilities.
+ */
protected function get_file_mod_capabilities() {
- $reasons_can_not_autoupdate = array();
+ $reasons_can_not_autoupdate = array();
$reasons_can_not_modify_files = array();
$has_file_system_write_access = Functions::file_system_write_access();
if ( ! $has_file_system_write_access ) {
- $reasons_can_not_modify_files['has_no_file_system_write_access'] = __( 'The file permissions on this host prevent editing files.', 'jetpack' );
+ $reasons_can_not_modify_files['has_no_file_system_write_access'] = __( 'The file permissions on this host prevent editing files.', 'jetpack' );
}
- $disallow_file_mods = Constants::get_constant('DISALLOW_FILE_MODS' );
+ $disallow_file_mods = Constants::get_constant( 'DISALLOW_FILE_MODS' );
if ( $disallow_file_mods ) {
- $reasons_can_not_modify_files['disallow_file_mods'] = __( 'File modifications are explicitly disabled by a site administrator.', 'jetpack' );
+ $reasons_can_not_modify_files['disallow_file_mods'] = __( 'File modifications are explicitly disabled by a site administrator.', 'jetpack' );
}
$automatic_updater_disabled = Constants::get_constant( 'AUTOMATIC_UPDATER_DISABLED' );
@@ -232,16 +305,16 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
if ( is_multisite() ) {
// is it the main network ? is really is multi network
if ( Jetpack::is_multi_network() ) {
- $reasons_can_not_modify_files['is_multi_network'] = __( 'Multi network install are not supported.', 'jetpack' );
+ $reasons_can_not_modify_files['is_multi_network'] = __( 'Multi network install are not supported.', 'jetpack' );
}
// Is the site the main site here.
if ( ! is_main_site() ) {
- $reasons_can_not_modify_files['is_sub_site'] = __( 'The site is not the main network site', 'jetpack' );
+ $reasons_can_not_modify_files['is_sub_site'] = __( 'The site is not the main network site', 'jetpack' );
}
}
$file_mod_capabilities = array(
- 'modify_files' => (bool) empty( $reasons_can_not_modify_files ), // install, remove, update
+ 'modify_files' => (bool) empty( $reasons_can_not_modify_files ), // install, remove, update
'autoupdate_files' => (bool) empty( $reasons_can_not_modify_files ) && empty( $reasons_can_not_autoupdate ), // enable autoupdates
);
@@ -255,6 +328,11 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
return $file_mod_capabilities;
}
+ /**
+ * Get plugins.
+ *
+ * @return array
+ */
protected function get_plugins() {
$plugins = array();
/** This filter is documented in wp-admin/includes/class-wp-plugins-list-table.php */
@@ -299,6 +377,11 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
return $plugins;
}
+ /**
+ * Validate network wide.
+ *
+ * @return bool|WP_Error
+ */
protected function validate_network_wide() {
$args = $this->input();
@@ -318,25 +401,39 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
return true;
}
-
+ /**
+ * Validate the plugin.
+ *
+ * @param string $plugin - the plugin we're validating.
+ *
+ * @return bool|WP_Error
+ */
protected function validate_plugin( $plugin ) {
- if ( ! isset( $plugin) || empty( $plugin ) ) {
+ if ( ! isset( $plugin ) || empty( $plugin ) ) {
return new WP_Error( 'missing_plugin', __( 'You are required to specify a plugin to activate.', 'jetpack' ), 400 );
}
- if ( is_wp_error( $error = validate_plugin( $plugin ) ) ) {
- return new WP_Error( 'unknown_plugin', $error->get_error_messages() , 404 );
+ $error = validate_plugin( $plugin );
+ if ( is_wp_error( $error ) ) {
+ return new WP_Error( 'unknown_plugin', $error->get_error_messages(), 404 );
}
return true;
}
+ /**
+ * Get plugin updates.
+ *
+ * @param string $plugin_file - the plugin file.
+ *
+ * @return object|null
+ */
protected function get_plugin_updates( $plugin_file ) {
$plugin_updates = get_plugin_updates();
if ( isset( $plugin_updates[ $plugin_file ] ) ) {
- $update = $plugin_updates[ $plugin_file ]->update;
+ $update = $plugin_updates[ $plugin_file ]->update;
$cleaned_update = array();
- foreach( (array) $update as $update_key => $update_value ) {
+ foreach ( (array) $update as $update_key => $update_value ) {
switch ( $update_key ) {
case 'id':
case 'slug':
@@ -356,6 +453,13 @@ abstract class Jetpack_JSON_API_Plugins_Endpoint extends Jetpack_JSON_API_Endpoi
return null;
}
+ /**
+ * Get plugin action links.
+ *
+ * @param string $plugin_file - the plugin file.
+ *
+ * @return array
+ */
protected function get_plugin_action_links( $plugin_file ) {
return Functions::get_plugins_action_links( $plugin_file );
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-get-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-get-endpoint.php
index 6d2dd612..02fb18d1 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-get-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-get-endpoint.php
@@ -1,5 +1,8 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * JSON API plugins get endpoint.
+ */
new Jetpack_JSON_API_Plugins_Get_Endpoint(
array(
'description' => 'Get the Plugin data.',
@@ -22,8 +25,19 @@ new Jetpack_JSON_API_Plugins_Get_Endpoint(
'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/plugins/hello-dolly%20hello',
)
);
-// no v1.2 version since it is .com only
+
+/**
+ * Plugins get endpoint class.
+ *
+ * GET /sites/%s/plugins/%s
+ *
+ * No v1.2 version since it is .com only
+ */
class Jetpack_JSON_API_Plugins_Get_Endpoint extends Jetpack_JSON_API_Plugins_Endpoint {
- // GET /sites/%s/plugins/%s
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'activate_plugins';
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-install-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-install-endpoint.php
index 77e09c88..10c22a33 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-install-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-install-endpoint.php
@@ -1,7 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
-include_once ABSPATH . 'wp-admin/includes/file.php';
+use Automattic\Jetpack\Plugins_Installer;
+
+require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
+require_once ABSPATH . 'wp-admin/includes/file.php';
// POST /sites/%s/plugins/%s/install
new Jetpack_JSON_API_Plugins_Install_Endpoint(
array(
@@ -50,17 +52,36 @@ new Jetpack_JSON_API_Plugins_Install_Endpoint(
)
);
+/**
+ * Plugins install enedpoint class.
+ *
+ * POST /sites/%s/plugins/%s/install
+ */
class Jetpack_JSON_API_Plugins_Install_Endpoint extends Jetpack_JSON_API_Plugins_Endpoint {
- // POST /sites/%s/plugins/%s/install
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'install_plugins';
+
+ /**
+ * The action.
+ *
+ * @var string
+ */
protected $action = 'install';
+ /**
+ * Installation.
+ *
+ * @return bool|WP_Error
+ */
protected function install() {
- jetpack_require_lib( 'plugins' );
$result = '';
foreach ( $this->plugins as $index => $slug ) {
- $result = Jetpack_Plugins::install_plugin( $slug );
+ $result = Plugins_Installer::install_plugin( $slug );
if ( is_wp_error( $result ) ) {
$this->log[ $slug ][] = $result->get_error_message();
if ( ! $this->bulk ) {
@@ -74,23 +95,26 @@ class Jetpack_JSON_API_Plugins_Install_Endpoint extends Jetpack_JSON_API_Plugins
}
// No errors, install worked. Now replace the slug with the actual plugin id
- $this->plugins[$index] = Jetpack_Plugins::get_plugin_id_by_slug( $slug );
+ $this->plugins[ $index ] = Plugins_Installer::get_plugin_id_by_slug( $slug );
return true;
}
+ /**
+ * Validate the plugins.
+ *
+ * @return bool|WP_Error
+ */
protected function validate_plugins() {
if ( empty( $this->plugins ) || ! is_array( $this->plugins ) ) {
return new WP_Error( 'missing_plugins', __( 'No plugins found.', 'jetpack' ) );
}
- jetpack_require_lib( 'plugins' );
- foreach ( $this->plugins as $index => $slug ) {
+ foreach ( $this->plugins as $slug ) {
// make sure it is not already installed
- if ( Jetpack_Plugins::get_plugin_id_by_slug( $slug ) ) {
+ if ( Plugins_Installer::get_plugin_id_by_slug( $slug ) ) {
return new WP_Error( 'plugin_already_installed', __( 'The plugin is already installed', 'jetpack' ) );
}
-
}
return true;
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-list-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-list-endpoint.php
index 5f59b687..e354a29f 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-list-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-list-endpoint.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
new Jetpack_JSON_API_Plugins_List_Endpoint(
array(
@@ -23,11 +23,30 @@ new Jetpack_JSON_API_Plugins_List_Endpoint(
'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/plugins',
)
);
-// No v1.2 versions since they are .com only
+
+/**
+ * Plugins list endpoint class.
+ *
+ * GET /sites/%s/plugins
+ *
+ * No v1.2 versions since they are .com only
+ */
class Jetpack_JSON_API_Plugins_List_Endpoint extends Jetpack_JSON_API_Plugins_Endpoint {
- // GET /sites/%s/plugins
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'activate_plugins';
- public function validate_input( $plugin ) {
+
+ /**
+ * Validate the input.
+ *
+ * @param string $plugin - the plugin.
+ *
+ * @return bool
+ */
+ public function validate_input( $plugin ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
wp_update_plugins();
$this->plugins = array_keys( get_plugins() );
return true;
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php
index d562f02e..19b32bc8 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Constants;
@@ -107,24 +107,62 @@ new Jetpack_JSON_API_Plugins_Modify_Endpoint(
)
);
+/**
+ * Plugins modify endpoint class.
+ *
+ * POST /sites/%s/plugins/%s
+ * POST /sites/%s/plugins
+ */
class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_Endpoint {
- // POST /sites/%s/plugins/%s
- // POST /sites/%s/plugins
+
+ /**
+ * The slug.
+ *
+ * @var string
+ */
protected $slug = null;
+
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'activate_plugins';
+
+ /**
+ * Action.
+ *
+ * @var string
+ */
protected $action = 'default_action';
+
+ /**
+ * Expected actions.
+ *
+ * @var array
+ */
protected $expected_actions = array( 'update', 'install', 'delete', 'update_translations' );
+ /**
+ * Callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param object $object - the object.
+ *
+ * @return bool|WP_Error
+ */
public function callback( $path = '', $blog_id = 0, $object = null ) {
Jetpack_JSON_API_Endpoint::validate_input( $object );
switch ( $this->action ) {
case 'delete':
$this->needed_capabilities = 'delete_plugins';
+ break;
case 'update_translations':
- case 'update' :
+ case 'update':
$this->needed_capabilities = 'update_plugins';
break;
- case 'install' :
+ case 'install':
$this->needed_capabilities = 'install_plugins';
break;
}
@@ -136,6 +174,11 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
return parent::callback( $path, $blog_id, $object );
}
+ /**
+ * The default action.
+ *
+ * @return bool|WP_Error
+ */
public function default_action() {
$args = $this->input();
@@ -172,58 +215,75 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
return true;
}
+ /**
+ * Turn on autoupdate.
+ */
protected function autoupdate_on() {
$autoupdate_plugins = (array) get_site_option( 'auto_update_plugins', array() );
$autoupdate_plugins = array_unique( array_merge( $autoupdate_plugins, $this->plugins ) );
update_site_option( 'auto_update_plugins', $autoupdate_plugins );
}
+ /**
+ * Turn off autoupdate.
+ */
protected function autoupdate_off() {
$autoupdate_plugins = (array) get_site_option( 'auto_update_plugins', array() );
$autoupdate_plugins = array_diff( $autoupdate_plugins, $this->plugins );
update_site_option( 'auto_update_plugins', $autoupdate_plugins );
}
+ /**
+ * Turn autoupdate translations on.
+ */
protected function autoupdate_translations_on() {
$autoupdate_plugins = Jetpack_Options::get_option( 'autoupdate_plugins_translations', array() );
$autoupdate_plugins = array_unique( array_merge( $autoupdate_plugins, $this->plugins ) );
Jetpack_Options::update_option( 'autoupdate_plugins_translations', $autoupdate_plugins );
}
+ /**
+ * Turn autoupdate translations off.
+ */
protected function autoupdate_translations_off() {
$autoupdate_plugins = Jetpack_Options::get_option( 'autoupdate_plugins_translations', array() );
$autoupdate_plugins = array_diff( $autoupdate_plugins, $this->plugins );
Jetpack_Options::update_option( 'autoupdate_plugins_translations', $autoupdate_plugins );
}
+ /**
+ * Activate the plugin.
+ *
+ * @return null|WP_Error null if the activation was successful.
+ */
protected function activate() {
$permission_error = false;
foreach ( $this->plugins as $plugin ) {
if ( ! $this->current_user_can( 'activate_plugin', $plugin ) ) {
- $this->log[$plugin]['error'] = __( 'Sorry, you are not allowed to activate this plugin.' );
- $has_errors = true;
- $permission_error = true;
+ $this->log[ $plugin ]['error'] = __( 'Sorry, you are not allowed to activate this plugin.', 'jetpack' );
+ $has_errors = true;
+ $permission_error = true;
continue;
}
if ( ( ! $this->network_wide && Jetpack::is_plugin_active( $plugin ) ) || is_plugin_active_for_network( $plugin ) ) {
- $this->log[$plugin]['error'] = __( 'The Plugin is already active.', 'jetpack' );
- $has_errors = true;
+ $this->log[ $plugin ]['error'] = __( 'The Plugin is already active.', 'jetpack' );
+ $has_errors = true;
continue;
}
if ( ! $this->network_wide && is_network_only_plugin( $plugin ) && is_multisite() ) {
- $this->log[$plugin]['error'] = __( 'Plugin can only be Network Activated', 'jetpack' );
- $has_errors = true;
+ $this->log[ $plugin ]['error'] = __( 'Plugin can only be Network Activated', 'jetpack' );
+ $has_errors = true;
continue;
}
$result = activate_plugin( $plugin, '', $this->network_wide );
if ( is_wp_error( $result ) ) {
- $this->log[$plugin]['error'] = $result->get_error_messages();
- $has_errors = true;
+ $this->log[ $plugin ]['error'] = $result->get_error_messages();
+ $has_errors = true;
continue;
}
@@ -233,23 +293,31 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
}
if ( ! $success ) {
- $this->log[$plugin]['error'] = $result->get_error_messages;
- $has_errors = true;
+ $this->log[ $plugin ]['error'] = $result->get_error_messages;
+ $has_errors = true;
continue;
}
- $this->log[$plugin][] = __( 'Plugin activated.', 'jetpack' );
+ $this->log[ $plugin ][] = __( 'Plugin activated.', 'jetpack' );
}
if ( ! $this->bulk && isset( $has_errors ) ) {
$plugin = $this->plugins[0];
if ( $permission_error ) {
- return new WP_Error( 'unauthorized_error', $this->log[$plugin]['error'], 403 );
+ return new WP_Error( 'unauthorized_error', $this->log[ $plugin ]['error'], 403 );
}
- return new WP_Error( 'activation_error', $this->log[$plugin]['error'] );
+ return new WP_Error( 'activation_error', $this->log[ $plugin ]['error'] );
}
}
+ /**
+ * Check if the current user has capabilities.
+ *
+ * @param string $capability - the capability we're checking.
+ * @param string $plugin - the plugin we're checking.
+ *
+ * @return bool
+ */
protected function current_user_can( $capability, $plugin = null ) {
// If this endpoint accepts site based authentication and a blog token is used, skip capabilities check.
if ( $this->accepts_site_based_authentication() ) {
@@ -262,17 +330,24 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
return current_user_can( $capability );
}
+ /**
+ * Deactivate the plugin.
+ *
+ * @return null|WP_Error null if the deactivation was successful
+ */
protected function deactivate() {
$permission_error = false;
foreach ( $this->plugins as $plugin ) {
if ( ! $this->current_user_can( 'deactivate_plugin', $plugin ) ) {
- $error = $this->log[$plugin]['error'] = __( 'Sorry, you are not allowed to deactivate this plugin.', 'jetpack' );
- $permission_error = true;
+ $error = __( 'Sorry, you are not allowed to deactivate this plugin.', 'jetpack' );
+ $this->log[ $plugin ]['error'] = $error;
+ $permission_error = true;
continue;
}
if ( ! Jetpack::is_plugin_active( $plugin ) ) {
- $error = $this->log[$plugin]['error'] = __( 'The Plugin is already deactivated.', 'jetpack' );
+ $error = __( 'The Plugin is already deactivated.', 'jetpack' );
+ $this->log[ $plugin ]['error'] = $error;
continue;
}
@@ -284,10 +359,11 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
}
if ( ! $success ) {
- $error = $this->log[$plugin]['error'] = __( 'There was an error deactivating your plugin', 'jetpack' );
+ $error = __( 'There was an error deactivating your plugin', 'jetpack' );
+ $this->log[ $plugin ]['error'] = $error;
continue;
}
- $this->log[$plugin][] = __( 'Plugin deactivated.', 'jetpack' );
+ $this->log[ $plugin ][] = __( 'Plugin deactivated.', 'jetpack' );
}
if ( ! $this->bulk && isset( $error ) ) {
if ( $permission_error ) {
@@ -298,6 +374,11 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
}
}
+ /**
+ * Update the plugin.
+ *
+ * @return bool|WP_Error
+ */
protected function update() {
$query_args = $this->query_args();
@@ -336,8 +417,8 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
foreach ( $this->plugins as $plugin ) {
- if ( ! in_array( $plugin, $plugin_updates_needed ) ) {
- $this->log[$plugin][] = __( 'No update needed', 'jetpack' );
+ if ( ! in_array( $plugin, $plugin_updates_needed, true ) ) {
+ $this->log[ $plugin ][] = __( 'No update needed', 'jetpack' );
continue;
}
@@ -372,9 +453,9 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
$upgrader->init();
// This avoids the plugin to be deactivated.
// Using bulk upgrade puts the site into maintenance mode during the upgrades
- $result = $upgrader->bulk_upgrade( array( $plugin ) );
- $errors = $upgrader->skin->get_errors();
- $this->log[$plugin] = $upgrader->skin->get_upgrade_messages();
+ $result = $upgrader->bulk_upgrade( array( $plugin ) );
+ $errors = $upgrader->skin->get_errors();
+ $this->log[ $plugin ] = $upgrader->skin->get_upgrade_messages();
// release individual plugin lock.
WP_Upgrader::release_lock( 'jetpack_' . $plugin_slug );
@@ -396,7 +477,12 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
return $this->default_action();
}
- function update_translations() {
+ /**
+ * Update translations.
+ *
+ * @return bool|WP_Error
+ */
+ public function update_translations() {
include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
// Clear the cache.
@@ -417,7 +503,7 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
$translation = array_filter( $available_updates->translations, array( $this, 'get_translation' ) );
if ( empty( $translation ) ) {
- $this->log[$plugin][] = __( 'No update needed', 'jetpack' );
+ $this->log[ $plugin ][] = __( 'No update needed', 'jetpack' );
continue;
}
@@ -440,7 +526,7 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
$result = $upgrader->upgrade( (object) $translation[0] );
- $this->log[$plugin] = $upgrader->skin->get_upgrade_messages();
+ $this->log[ $plugin ] = $upgrader->skin->get_upgrade_messages();
}
if ( ! $this->bulk && ! $result ) {
@@ -450,6 +536,13 @@ class Jetpack_JSON_API_Plugins_Modify_Endpoint extends Jetpack_JSON_API_Plugins_
return true;
}
+ /**
+ * Test whether the translation matches `$this->slug`.
+ *
+ * @param array $translation - the translation.
+ *
+ * @return bool
+ */
protected function get_translation( $translation ) {
return ( $translation['slug'] === $this->slug );
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-v1-2-endpoint.php
index 11d9f101..b7da3eab 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-v1-2-endpoint.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
new Jetpack_JSON_API_Plugins_Modify_v1_2_Endpoint(
array(
'description' => 'Activate/Deactivate a Plugin on your Jetpack Site, or set automatic updates',
@@ -101,7 +101,10 @@ new Jetpack_JSON_API_Plugins_Modify_v1_2_Endpoint(
)
);
-class Jetpack_JSON_API_Plugins_Modify_v1_2_Endpoint extends Jetpack_JSON_API_Plugins_Modify_Endpoint {
+/**
+ * Plugins modify 1_2 Endpoint.
+ */
+class Jetpack_JSON_API_Plugins_Modify_v1_2_Endpoint extends Jetpack_JSON_API_Plugins_Modify_Endpoint { // phpcs:ignore PEAR.NamingConventions.ValidClassName.Invalid, Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
/**
* Activate plugins.
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-new-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-new-endpoint.php
index 3a16b1b0..7aa4dfcd 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-new-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-new-endpoint.php
@@ -1,8 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
-include_once ABSPATH . 'wp-admin/includes/file.php';
+require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
+require_once ABSPATH . 'wp-admin/includes/file.php';
+use Automattic\Jetpack\Automatic_Install_Skin;
// POST /sites/%s/plugins/new
new Jetpack_JSON_API_Plugins_New_Endpoint(
@@ -31,7 +32,6 @@ new Jetpack_JSON_API_Plugins_New_Endpoint(
)
);
-
new Jetpack_JSON_API_Plugins_New_Endpoint(
array(
'description' => 'Install a plugin to a Jetpack site by uploading a zip file',
@@ -57,12 +57,36 @@ new Jetpack_JSON_API_Plugins_New_Endpoint(
)
);
+/**
+ * Plugins new endpoint class.
+ *
+ * POST /sites/%s/plugins/new
+ */
class Jetpack_JSON_API_Plugins_New_Endpoint extends Jetpack_JSON_API_Plugins_Endpoint {
- // POST /sites/%s/plugins/new
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'install_plugins';
+
+ /**
+ * The action.
+ *
+ * @var string
+ */
protected $action = 'install';
+ /**
+ * Validate call.
+ *
+ * @param int $_blog_id - the blog ID.
+ * @param string $capability - the capability.
+ * @param bool $check_manage_active - check if manage is active.
+ *
+ * @return bool|WP_Error a WP_Error object or true if things are good.
+ */
protected function validate_call( $_blog_id, $capability, $check_manage_active = true ) {
$validate = parent::validate_call( $_blog_id, $capability, $check_manage_active );
if ( is_wp_error( $validate ) ) {
@@ -77,13 +101,22 @@ class Jetpack_JSON_API_Plugins_New_Endpoint extends Jetpack_JSON_API_Plugins_End
return $validate;
}
- // no need to try to validate the plugin since we didn't pass one in.
- protected function validate_input( $plugin ) {
+ /**
+ * No need to try to validate the plugin since we didn't pass one in.
+ *
+ * @param string $plugin - the plugin we're validating.
+ */
+ protected function validate_input( $plugin ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$this->bulk = false;
$this->plugins = array();
}
- function install() {
+ /**
+ * Install the plugin.
+ *
+ * @return bool|WP_Error
+ */
+ public function install() {
$args = $this->input();
if ( isset( $args['zip'][0]['id'] ) ) {
@@ -92,8 +125,7 @@ class Jetpack_JSON_API_Plugins_New_Endpoint extends Jetpack_JSON_API_Plugins_End
if ( ! $local_file ) {
return new WP_Error( 'local-file-does-not-exist' );
}
- jetpack_require_lib( 'class.jetpack-automatic-install-skin' );
- $skin = new Jetpack_Automatic_Install_Skin();
+ $skin = new Automatic_Install_Skin();
$upgrader = new Plugin_Upgrader( $skin );
$pre_install_plugin_list = get_plugins();
@@ -127,7 +159,7 @@ class Jetpack_JSON_API_Plugins_New_Endpoint extends Jetpack_JSON_API_Plugins_End
return new WP_Error( 'plugin_already_installed' );
}
- $this->plugins = $plugin;
+ $this->plugins = $plugin;
$this->log[ $plugin[0] ] = $upgrader->skin->get_upgrade_messages();
return true;
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php
index 94e7c790..9f4dd026 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Sync\Actions;
use Automattic\Jetpack\Sync\Health;
@@ -9,7 +9,13 @@ use Automattic\Jetpack\Sync\Replicastore;
use Automattic\Jetpack\Sync\Sender;
use Automattic\Jetpack\Sync\Settings;
-// POST /sites/%s/sync
+// phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+
+/**
+ * Sync endpoint class.
+ *
+ * POST /sites/%s/sync
+ */
class Jetpack_JSON_API_Sync_Endpoint extends Jetpack_JSON_API_Endpoint {
/**
@@ -20,12 +26,26 @@ class Jetpack_JSON_API_Sync_Endpoint extends Jetpack_JSON_API_Endpoint {
*/
protected $needed_capabilities = 'manage_options';
- protected function validate_call( $_blog_id, $capability, $check_manage_active = true ) {
+ /**
+ * Validate the call.
+ *
+ * @param int $_blog_id - the blog ID.
+ * @param string $capability - the capability.
+ * @param bool $check_manage_active - unused.
+ *
+ * @return bool|WP_Error
+ */
+ protected function validate_call( $_blog_id, $capability, $check_manage_active = true ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return parent::validate_call( $_blog_id, $capability, false );
}
+ /**
+ * The result.
+ *
+ * @return array
+ */
protected function result() {
- $args = $this->input();
+ $args = $this->input();
$modules = null;
// convert list of modules in comma-delimited format into an array
@@ -36,7 +56,7 @@ class Jetpack_JSON_API_Sync_Endpoint extends Jetpack_JSON_API_Endpoint {
foreach ( array( 'posts', 'comments', 'users' ) as $module_name ) {
if ( 'users' === $module_name && isset( $args[ $module_name ] ) && 'initial' === $args[ $module_name ] ) {
- $modules[ 'users' ] = 'initial';
+ $modules['users'] = 'initial';
} elseif ( isset( $args[ $module_name ] ) ) {
$ids = explode( ',', $args[ $module_name ] );
if ( count( $ids ) > 0 ) {
@@ -51,20 +71,36 @@ class Jetpack_JSON_API_Sync_Endpoint extends Jetpack_JSON_API_Endpoint {
return array( 'scheduled' => Actions::do_full_sync( $modules ) );
}
+ /**
+ * Validate the queue.
+ *
+ * @param array $query - the query.
+ *
+ * @return string|WP_Error
+ */
protected function validate_queue( $query ) {
if ( ! isset( $query ) ) {
return new WP_Error( 'invalid_queue', 'Queue name is required', 400 );
}
- if ( ! in_array( $query, array( 'sync', 'full_sync', 'immediate' ) ) ) {
+ if ( ! in_array( $query, array( 'sync', 'full_sync', 'immediate' ), true ) ) {
return new WP_Error( 'invalid_queue', 'Queue name should be sync, full_sync or immediate', 400 );
}
return $query;
}
}
-// GET /sites/%s/sync/status
+/**
+ * Sync status endpoint class.
+ *
+ * GET /sites/%s/sync/status
+ */
class Jetpack_JSON_API_Sync_Status_Endpoint extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Callback for the endpoint.
+ *
+ * @return array
+ */
protected function result() {
$args = $this->query_args();
$fields = isset( $args['fields'] ) ? $args['fields'] : array();
@@ -72,8 +108,16 @@ class Jetpack_JSON_API_Sync_Status_Endpoint extends Jetpack_JSON_API_Sync_Endpoi
}
}
-// GET /sites/%s/data-check
+/**
+ * Sync Check Endpoint class.
+ * GET /sites/%s/data-check
+ */
class Jetpack_JSON_API_Sync_Check_Endpoint extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Callback for the endpoint.
+ *
+ * @return array
+ */
protected function result() {
Actions::mark_sync_read_only();
$store = new Replicastore();
@@ -81,8 +125,16 @@ class Jetpack_JSON_API_Sync_Check_Endpoint extends Jetpack_JSON_API_Sync_Endpoin
}
}
-// GET /sites/%s/data-histogram
+/**
+ * Sync histogram endpoint.
+ * GET /sites/%s/data-histogram
+ */
class Jetpack_JSON_API_Sync_Histogram_Endpoint extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Callback for endpoint.
+ *
+ * @return array
+ */
protected function result() {
$args = $this->query_args();
@@ -118,11 +170,13 @@ class Jetpack_JSON_API_Sync_Histogram_Endpoint extends Jetpack_JSON_API_Sync_End
// Hack to disable Sync during this call, so we can resolve faster.
Actions::mark_sync_read_only();
- return array( 'histogram' => $histogram, 'type' => $store->get_checksum_type() );
+ return array(
+ 'histogram' => $histogram,
+ 'type' => $store->get_checksum_type(),
+ );
}
}
-// phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
/**
* POST /sites/%s/sync/health
*/
@@ -151,10 +205,16 @@ class Jetpack_JSON_API_Sync_Modify_Health_Endpoint extends Jetpack_JSON_API_Sync
);
}
}
-// phpcs:enable
-// POST /sites/%s/sync/settings
+/**
+ * POST /sites/%s/sync/settings
+ */
class Jetpack_JSON_API_Sync_Modify_Settings_Endpoint extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * The endpoint callback.
+ *
+ * @return array
+ */
protected function result() {
$args = $this->input();
@@ -182,22 +242,37 @@ class Jetpack_JSON_API_Sync_Modify_Settings_Endpoint extends Jetpack_JSON_API_Sy
}
}
-// GET /sites/%s/sync/settings
+/**
+ * GET /sites/%s/sync/settings
+ */
class Jetpack_JSON_API_Sync_Get_Settings_Endpoint extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Endpoint callback.
+ *
+ * @return array
+ */
protected function result() {
return Settings::get_settings();
}
}
-// GET /sites/%s/sync/object
+/**
+ * GET /sites/%s/sync/object
+ */
class Jetpack_JSON_API_Sync_Object extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Endpoint callback.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
$args = $this->query_args();
$module_name = $args['module_name'];
- if ( ! $sync_module = Modules::get_module( $module_name ) ) {
+ $sync_module = Modules::get_module( $module_name );
+ if ( ! $sync_module ) {
return new WP_Error( 'invalid_module', 'You specified an invalid sync module' );
}
@@ -213,30 +288,46 @@ class Jetpack_JSON_API_Sync_Object extends Jetpack_JSON_API_Sync_Endpoint {
return array(
'objects' => $objects,
- 'codec' => $codec->name(),
+ 'codec' => $codec->name(),
);
}
}
+/**
+ * Sync Now endpoint class.
+ */
class Jetpack_JSON_API_Sync_Now_Endpoint extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Endpoint callback.
+ *
+ * @return array
+ */
protected function result() {
- $args = $this->input();
+ $args = $this->input();
$queue_name = $this->validate_queue( $args['queue'] );
- if ( is_wp_error( $queue_name ) ){
+ if ( is_wp_error( $queue_name ) ) {
return $queue_name;
}
- $sender = Sender::get_instance();
+ $sender = Sender::get_instance();
$response = $sender->do_sync_for_queue( new Queue( $args['queue'] ) );
return array(
- 'response' => $response
+ 'response' => $response,
);
}
}
+/**
+ * Sync checkout endpoint.
+ */
class Jetpack_JSON_API_Sync_Checkout_Endpoint extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Endpoint callback.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
$args = $this->input();
$queue_name = $this->validate_queue( $args['queue'] );
@@ -258,7 +349,16 @@ class Jetpack_JSON_API_Sync_Checkout_Endpoint extends Jetpack_JSON_API_Sync_Endp
return $this->queue_pull( $queue_name, $number_of_items, $args );
}
- function queue_pull( $queue_name, $number_of_items, $args ){
+ /**
+ * Create a queue.
+ *
+ * @param string $queue_name - the queue name.
+ * @param int $number_of_items - the number of items.
+ * @param array $args - the arguments.
+ *
+ * @return array|WP_Error
+ */
+ public function queue_pull( $queue_name, $number_of_items, $args ) {
$queue = new Queue( $queue_name );
if ( 0 === $queue->size() ) {
@@ -301,8 +401,16 @@ class Jetpack_JSON_API_Sync_Checkout_Endpoint extends Jetpack_JSON_API_Sync_Endp
);
}
- public $items = [];
+ /**
+ * The items.
+ *
+ * @var array
+ */
+ public $items = array();
+ /**
+ * Send the data listener.
+ */
public function jetpack_sync_send_data_listener() {
foreach ( func_get_args()[0] as $key => $item ) {
$this->items[ $key ] = $item;
@@ -316,7 +424,7 @@ class Jetpack_JSON_API_Sync_Checkout_Endpoint extends Jetpack_JSON_API_Sync_Endp
*
* @return array Sync Actions to be returned to requestor
*/
- public function immediate_full_sync_pull( $number_of_items = null ) {
+ public function immediate_full_sync_pull( $number_of_items = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
// try to give ourselves as much time as possible.
set_time_limit( 0 );
@@ -338,17 +446,25 @@ class Jetpack_JSON_API_Sync_Checkout_Endpoint extends Jetpack_JSON_API_Sync_Endp
);
}
+ /**
+ * Get the queue buffer.
+ *
+ * @param object $queue - the queue.
+ * @param int $number_of_items - the number of items.
+ *
+ * @return Automattic\Jetpack\Sync\Queue_Buffer|bool|int|\WP_Error
+ */
protected function get_buffer( $queue, $number_of_items ) {
- $start = time();
+ $start = time();
$max_duration = 5; // this will try to get the buffer
- $buffer = $queue->checkout( $number_of_items );
+ $buffer = $queue->checkout( $number_of_items );
$duration = time() - $start;
- while( is_wp_error( $buffer ) && $duration < $max_duration ) {
+ while ( is_wp_error( $buffer ) && $duration < $max_duration ) {
sleep( 2 );
$duration = time() - $start;
- $buffer = $queue->checkout( $number_of_items );
+ $buffer = $queue->checkout( $number_of_items );
}
if ( $buffer === false ) {
@@ -359,11 +475,19 @@ class Jetpack_JSON_API_Sync_Checkout_Endpoint extends Jetpack_JSON_API_Sync_Endp
}
}
+/**
+ * Close endpoint class.
+ */
class Jetpack_JSON_API_Sync_Close_Endpoint extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Endpoint callback.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
$request_body = $this->input();
- $queue_name = $this->validate_queue( $request_body['queue'] );
+ $queue_name = $this->validate_queue( $request_body['queue'] );
if ( is_wp_error( $queue_name ) ) {
return $queue_name;
@@ -377,9 +501,8 @@ class Jetpack_JSON_API_Sync_Close_Endpoint extends Jetpack_JSON_API_Sync_Endpoin
return new WP_Error( 'missing_item_ids', 'Please provide a list of item ids in the item_ids argument', 400 );
}
- //Limit to A-Z,a-z,0-9,_,-
- $request_body ['buffer_id'] = preg_replace( '/[^A-Za-z0-9]/', '', $request_body['buffer_id'] );
- $request_body['item_ids'] = array_filter( array_map( array( 'Jetpack_JSON_API_Sync_Close_Endpoint', 'sanitize_item_ids' ), $request_body['item_ids'] ) );
+ $request_body['buffer_id'] = preg_replace( '/[^A-Za-z0-9]/', '', $request_body['buffer_id'] );
+ $request_body['item_ids'] = array_filter( array_map( array( 'Jetpack_JSON_API_Sync_Close_Endpoint', 'sanitize_item_ids' ), $request_body['item_ids'] ) );
$queue = new Queue( $queue_name );
@@ -392,7 +515,7 @@ class Jetpack_JSON_API_Sync_Close_Endpoint extends Jetpack_JSON_API_Sync_Endpoin
$full_sync_module->update_sent_progress_action( $items );
}
- $buffer = new Queue_Buffer( $request_body['buffer_id'], $request_body['item_ids'] );
+ $buffer = new Queue_Buffer( $request_body['buffer_id'], $request_body['item_ids'] );
$response = $queue->close( $buffer, $request_body['item_ids'] );
// Perform another checkout?
@@ -414,21 +537,36 @@ class Jetpack_JSON_API_Sync_Close_Endpoint extends Jetpack_JSON_API_Sync_Endpoin
return array(
'success' => $response,
- 'status' => Actions::get_sync_status(),
+ 'status' => Actions::get_sync_status(),
);
}
+ /**
+ * Sanitize item IDs.
+ *
+ * @param string $item - the item we're sanitizing.
+ *
+ * @return string|null
+ */
protected static function sanitize_item_ids( $item ) {
// lets not delete any options that don't start with jpsq_sync-
if ( ! is_string( $item ) || substr( $item, 0, 5 ) !== 'jpsq_' ) {
return null;
}
- //Limit to A-Z,a-z,0-9,_,-,.
+ // Limit to A-Z,a-z,0-9,_,-,.
return preg_replace( '/[^A-Za-z0-9-_.]/', '', $item );
}
}
+/**
+ * Unlock ednpoint class.
+ */
class Jetpack_JSON_API_Sync_Unlock_Endpoint extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Endpoint callback.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
$args = $this->input();
@@ -436,7 +574,7 @@ class Jetpack_JSON_API_Sync_Unlock_Endpoint extends Jetpack_JSON_API_Sync_Endpoi
return new WP_Error( 'invalid_queue', 'Queue name is required', 400 );
}
- if ( ! in_array( $args['queue'], array( 'sync', 'full_sync' ) ) ) {
+ if ( ! in_array( $args['queue'], array( 'sync', 'full_sync' ), true ) ) {
return new WP_Error( 'invalid_queue', 'Queue name should be sync or full_sync', 400 );
}
@@ -445,12 +583,20 @@ class Jetpack_JSON_API_Sync_Unlock_Endpoint extends Jetpack_JSON_API_Sync_Endpoi
// False means that there was no lock to delete.
$response = $queue->unlock();
return array(
- 'success' => $response
+ 'success' => $response,
);
}
}
+/**
+ * Object ID range class.
+ */
class Jetpack_JSON_API_Sync_Object_Id_Range extends Jetpack_JSON_API_Sync_Endpoint {
+ /**
+ * Endpoint callback.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
$args = $this->query_args();
@@ -468,6 +614,13 @@ class Jetpack_JSON_API_Sync_Object_Id_Range extends Jetpack_JSON_API_Sync_Endpoi
);
}
+ /**
+ * Check if sync module is valid.
+ *
+ * @param string $module_name - the module name.
+ *
+ * @return bool
+ */
protected function is_valid_sync_module( $module_name ) {
return in_array(
$module_name,
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-active-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-active-endpoint.php
index db23c52f..446a1056 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-active-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-active-endpoint.php
@@ -1,21 +1,38 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * GET /sites/%s/themes/mine => current theme
+ * POST /sites/%s/themes/mine => switch theme
+ */
class Jetpack_JSON_API_Themes_Active_Endpoint extends Jetpack_JSON_API_Themes_Endpoint {
- // GET /sites/%s/themes/mine => current theme
- // POST /sites/%s/themes/mine => switch theme
- // The unused $object parameter is for making the method signature compatible with its parent class method.
- public function callback( $path = '', $blog_id = 0, $object = null ) {
- if ( is_wp_error( $error = $this->validate_call( $blog_id, 'switch_themes', true ) ) ) {
+ /**
+ * Endpoint callback.
+ *
+ * @param string $path - the path.
+ * @param int $blog_id - the blog ID.
+ * @param object $object - The unused $object parameter is for making the method signature compatible with its parent class method.
+ *
+ * @return array|bool|WP_Error
+ */
+ public function callback( $path = '', $blog_id = 0, $object = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ $error = $this->validate_call( $blog_id, 'switch_themes', true );
+ if ( is_wp_error( $error ) ) {
return $error;
}
- if ( 'POST' === $this->api->method )
+ if ( 'POST' === $this->api->method ) {
return $this->switch_theme();
- else
+ } else {
return $this->get_current_theme();
+ }
}
+ /**
+ * Switch the theme.
+ *
+ * @return array|WP_Error
+ */
protected function switch_theme() {
$args = $this->input();
@@ -44,6 +61,11 @@ class Jetpack_JSON_API_Themes_Active_Endpoint extends Jetpack_JSON_API_Themes_En
return $this->get_current_theme();
}
+ /**
+ * Get the current theme.
+ *
+ * @return array
+ */
protected function get_current_theme() {
return $this->format_theme( wp_get_theme() );
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-delete-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-delete-endpoint.php
index 97bcc58d..b4f44445 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-delete-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-delete-endpoint.php
@@ -1,23 +1,44 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Themes delete endpoint class.
+ * POST /sites/%s/plugins/%s/delete
+ */
class Jetpack_JSON_API_Themes_Delete_Endpoint extends Jetpack_JSON_API_Themes_Endpoint {
- // POST /sites/%s/plugins/%s/delete
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'delete_themes';
- protected $action = 'delete';
+ /**
+ * The action.
+ *
+ * @var string
+ */
+ protected $action = 'delete';
+
+ /**
+ * Delete the theme.
+ *
+ * @return bool|WP_Error
+ */
protected function delete() {
- foreach( $this->themes as $theme ) {
+ foreach ( $this->themes as $theme ) {
// Don't delete an active child theme
- if ( is_child_theme() && $theme == get_stylesheet() ) {
- $error = $this->log[ $theme ]['error'] = 'You cannot delete a theme while it is active on the main site.';
+ if ( is_child_theme() && $theme === get_stylesheet() ) {
+ $error = 'You cannot delete a theme while it is active on the main site.';
+ $this->log[ $theme ]['error'] = $error;
continue;
}
- if( $theme == get_template() ) {
- $error = $this->log[ $theme ]['error'] = 'You cannot delete a theme while it is active on the main site.';
+ if ( $theme === get_template() ) {
+ $error = 'You cannot delete a theme while it is active on the main site.';
+ $this->log[ $theme ]['error'] = $error;
continue;
}
@@ -44,14 +65,15 @@ class Jetpack_JSON_API_Themes_Delete_Endpoint extends Jetpack_JSON_API_Themes_En
}
if ( is_wp_error( $result ) ) {
- $error = $this->log[ $theme ]['error'] = $result->get_error_messages();
+ $error = $result->get_error_messages();
+ $this->log[ $theme ]['error'] = $error;
} else {
$this->log[ $theme ][] = 'Theme deleted';
}
}
- if( ! $this->bulk && isset( $error ) ) {
- return new WP_Error( 'delete_theme_error', $error, 400 );
+ if ( ! $this->bulk && isset( $error ) ) {
+ return new WP_Error( 'delete_theme_error', $error, 400 );
}
return true;
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-endpoint.php
index 2e32dccd..a8f037e7 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-endpoint.php
@@ -1,33 +1,60 @@
-<?php
-
-
-// THEMES
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Base class for working with themes, has useful helper functions.
*/
abstract class Jetpack_JSON_API_Themes_Endpoint extends Jetpack_JSON_API_Endpoint {
+ /**
+ * The themes.
+ *
+ * @var array
+ */
protected $themes = array();
+ /**
+ * If we're working in bulk.
+ *
+ * @var boolean
+ */
protected $bulk = true;
+
+ /**
+ * The log.
+ *
+ * @var array
+ */
protected $log;
+
+ /**
+ * The current theme ID.
+ *
+ * @var int
+ */
protected $current_theme_id;
- static $_response_format = array(
- 'id' => '(string) The theme\'s ID.',
- 'screenshot' => '(string) A theme screenshot URL',
- 'name' => '(string) The name of the theme.',
- 'theme_uri' => '(string) The URI of the theme\'s webpage.',
- 'description' => '(string) A description of the theme.',
- 'author' => '(string) The author of the theme.',
- 'author_uri' => '(string) The website of the theme author.',
- 'tags' => '(array) Tags indicating styles and features of the theme.',
- 'log' => '(array) An array of log strings',
- 'autoupdate' => '(bool) Whether the theme is automatically updated',
+ /**
+ * The response format.
+ *
+ * @var array
+ */
+ public static $_response_format = array( // phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
+ 'id' => '(string) The theme\'s ID.',
+ 'screenshot' => '(string) A theme screenshot URL',
+ 'name' => '(string) The name of the theme.',
+ 'theme_uri' => '(string) The URI of the theme\'s webpage.',
+ 'description' => '(string) A description of the theme.',
+ 'author' => '(string) The author of the theme.',
+ 'author_uri' => '(string) The website of the theme author.',
+ 'tags' => '(array) Tags indicating styles and features of the theme.',
+ 'log' => '(array) An array of log strings',
+ 'update' => '(array|null) An object containing information about the available update if there is an update available, null otherwise.',
+ 'autoupdate' => '(bool) Whether the theme is automatically updated',
'autoupdate_translation' => '(bool) Whether the theme is automatically updating translations',
);
+ /**
+ * The result.
+ */
protected function result() {
$themes = $this->get_themes();
@@ -42,9 +69,10 @@ abstract class Jetpack_JSON_API_Themes_Endpoint extends Jetpack_JSON_API_Endpoin
/**
* Walks through either the submitted theme or list of themes and creates the global array
- * @param $theme
*
- * @return bool
+ * @param string $theme - the theme URL.
+ *
+ * @return bool|WP_Error
*/
protected function validate_input( $theme ) {
$args = $this->input();
@@ -61,10 +89,11 @@ abstract class Jetpack_JSON_API_Themes_Endpoint extends Jetpack_JSON_API_Endpoin
}
} else {
$this->themes[] = urldecode( $theme );
- $this->bulk = false;
+ $this->bulk = false;
}
- if ( is_wp_error( $error = $this->validate_themes() ) ) {
+ $error = $this->validate_themes();
+ if ( is_wp_error( $error ) ) {
return $error;
}
@@ -73,12 +102,14 @@ abstract class Jetpack_JSON_API_Themes_Endpoint extends Jetpack_JSON_API_Endpoin
/**
* Walks through submitted themes to make sure they are valid
+ *
* @return bool|WP_Error
*/
protected function validate_themes() {
foreach ( $this->themes as $theme ) {
- if ( is_wp_error( $error = wp_get_theme( $theme )->errors() ) ) {
- return new WP_Error( 'unknown_theme', $error->get_error_messages() , 404 );
+ $error = wp_get_theme( $theme )->errors();
+ if ( is_wp_error( $error ) ) {
+ return new WP_Error( 'unknown_theme', $error->get_error_messages(), 404 );
}
}
return true;
@@ -86,7 +117,8 @@ abstract class Jetpack_JSON_API_Themes_Endpoint extends Jetpack_JSON_API_Endpoin
/**
* Format a theme for the public API
- * @param object $theme WP_Theme object
+ *
+ * @param object $theme WP_Theme object.
* @return array Named array of theme info used by the API
*/
protected function format_theme( $theme ) {
@@ -102,27 +134,27 @@ abstract class Jetpack_JSON_API_Themes_Endpoint extends Jetpack_JSON_API_Endpoin
'author' => 'Author',
'author_uri' => 'AuthorURI',
'tags' => 'Tags',
- 'version' => 'Version'
+ 'version' => 'Version',
);
- $id = $theme->get_stylesheet();
+ $id = $theme->get_stylesheet();
$formatted_theme = array(
- 'id' => $id,
- 'screenshot' => jetpack_photon_url( $theme->get_screenshot(), array(), 'network_path' ),
- 'active' => $id === $this->current_theme_id,
+ 'id' => $id,
+ 'screenshot' => jetpack_photon_url( $theme->get_screenshot(), array(), 'network_path' ),
+ 'active' => $id === $this->current_theme_id,
);
- foreach( $fields as $key => $field ) {
+ foreach ( $fields as $key => $field ) {
$formatted_theme[ $key ] = $theme->get( $field );
}
- $update_themes = get_site_transient( 'update_themes' );
+ $update_themes = get_site_transient( 'update_themes' );
$formatted_theme['update'] = ( isset( $update_themes->response[ $id ] ) ) ? $update_themes->response[ $id ] : null;
- $autoupdate = in_array( $id, Jetpack_Options::get_option( 'autoupdate_themes', array() ) );
- $formatted_theme['autoupdate'] = $autoupdate;
+ $autoupdate = in_array( $id, Jetpack_Options::get_option( 'autoupdate_themes', array() ), true );
+ $formatted_theme['autoupdate'] = $autoupdate;
- $autoupdate_translation = in_array( $id, Jetpack_Options::get_option( 'autoupdate_themes_translations', array() ) );
+ $autoupdate_translation = in_array( $id, Jetpack_Options::get_option( 'autoupdate_themes_translations', array() ), true );
$formatted_theme['autoupdate_translation'] = $autoupdate || $autoupdate_translation || Jetpack_Options::get_option( 'autoupdate_translations', false );
if ( isset( $this->log[ $id ] ) ) {
@@ -143,19 +175,23 @@ abstract class Jetpack_JSON_API_Themes_Endpoint extends Jetpack_JSON_API_Endpoin
/**
* Checks the query_args our collection endpoint was passed to ensure that it's in the proper bounds.
+ *
* @return bool|WP_Error a WP_Error object if the args are out of bounds, true if things are good.
*/
protected function check_query_args() {
$args = $this->query_args();
- if ( $args['offset'] < 0 )
+ if ( $args['offset'] < 0 ) {
return new WP_Error( 'invalid_offset', __( 'Offset must be greater than or equal to 0.', 'jetpack' ), 400 );
- if ( $args['limit'] < 0 )
+ }
+ if ( $args['limit'] < 0 ) {
return new WP_Error( 'invalid_limit', __( 'Limit must be greater than or equal to 0.', 'jetpack' ), 400 );
+ }
return true;
}
/**
* Format a list of themes for public display, using the supplied offset and limit args
+ *
* @uses WPCOM_JSON_API_Endpoint::query_args()
* @return array Public API theme objects
*/
@@ -165,10 +201,12 @@ abstract class Jetpack_JSON_API_Themes_Endpoint extends Jetpack_JSON_API_Endpoin
// do offset & limit - we've already returned a 400 error if they're bad numbers
$args = $this->query_args();
- if ( isset( $args['offset'] ) )
+ if ( isset( $args['offset'] ) ) {
$themes = array_slice( $themes, (int) $args['offset'] );
- if ( isset( $args['limit'] ) )
+ }
+ if ( isset( $args['limit'] ) ) {
$themes = array_slice( $themes, 0, (int) $args['limit'] );
+ }
$this->current_theme_id = wp_get_theme()->get_stylesheet();
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-get-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-get-endpoint.php
index cfc352af..c1484e3f 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-get-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-get-endpoint.php
@@ -1,6 +1,15 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Themes get endpoint class.
+ *
+ * GET /sites/%s/themes/%s
+ */
class Jetpack_JSON_API_Themes_Get_Endpoint extends Jetpack_JSON_API_Themes_Endpoint {
- // GET /sites/%s/themes/%s
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'switch_themes';
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-install-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-install-endpoint.php
index 5c69b4dd..8c6548e2 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-install-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-install-endpoint.php
@@ -1,17 +1,44 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
-include_once ABSPATH . 'wp-admin/includes/file.php';
+require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
+require_once ABSPATH . 'wp-admin/includes/file.php';
+use Automattic\Jetpack\Automatic_Install_Skin;
use Automattic\Jetpack\Connection\Client;
+/**
+ * Themes install endpoint class.
+ *
+ * POST /sites/%s/themes/%s/install
+ */
class Jetpack_JSON_API_Themes_Install_Endpoint extends Jetpack_JSON_API_Themes_Endpoint {
- // POST /sites/%s/themes/%s/install
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'install_themes';
- protected $action = 'install';
- protected $download_links = array();
+ /**
+ * The action.
+ *
+ * @var string
+ */
+ protected $action = 'install';
+
+ /**
+ * Download links.
+ *
+ * @var array
+ */
+ protected $download_links = array();
+
+ /**
+ * Install the theme.
+ *
+ * @return bool|WP_Error
+ */
protected function install() {
foreach ( $this->themes as $theme ) {
@@ -34,14 +61,13 @@ class Jetpack_JSON_API_Themes_Install_Endpoint extends Jetpack_JSON_API_Themes_E
*/
$result = apply_filters( 'jetpack_wpcom_theme_install', false, $theme );
- $skin = null;
+ $skin = null;
$upgrader = null;
- $link = null;
+ $link = null;
// If the alternative install method was not used, use the standard method.
if ( ! $result ) {
- jetpack_require_lib( 'class.jetpack-automatic-install-skin' );
- $skin = new Jetpack_Automatic_Install_Skin();
+ $skin = new Automatic_Install_Skin();
$upgrader = new Theme_Upgrader( $skin );
$link = $this->download_links[ $theme ];
@@ -58,30 +84,33 @@ class Jetpack_JSON_API_Themes_Install_Endpoint extends Jetpack_JSON_API_Themes_E
}
if ( ! $result ) {
- $error = $this->log[ $theme ]['error'] = __( 'An unknown error occurred during installation', 'jetpack' );
- }
-
- elseif ( ! self::is_installed_theme( $theme ) ) {
- $error = $this->log[ $theme ]['error'] = __( 'There was an error installing your theme', 'jetpack' );
- }
-
- elseif ( $upgrader ) {
+ $error = __( 'An unknown error occurred during installation', 'jetpack' );
+ $this->log[ $theme ]['error'] = $error;
+ } elseif ( ! self::is_installed_theme( $theme ) ) {
+ $error = __( 'There was an error installing your theme', 'jetpack' );
+ $this->log[ $theme ]['error'] = $error;
+ } elseif ( $upgrader ) {
$this->log[ $theme ][] = $upgrader->skin->get_upgrade_messages();
}
}
if ( ! $this->bulk && isset( $error ) ) {
- return new WP_Error( 'install_error', $error, 400 );
+ return new WP_Error( 'install_error', $error, 400 );
}
return true;
}
+ /**
+ * Validate the themes.
+ *
+ * @return bool|WP_Error
+ */
protected function validate_themes() {
if ( empty( $this->themes ) || ! is_array( $this->themes ) ) {
return new WP_Error( 'missing_themes', __( 'No themes found.', 'jetpack' ) );
}
- foreach( $this->themes as $index => $theme ) {
+ foreach ( $this->themes as $theme ) {
if ( self::is_installed_theme( $theme ) ) {
return new WP_Error( 'theme_already_installed', __( 'The theme is already installed', 'jetpack' ) );
@@ -123,22 +152,22 @@ class Jetpack_JSON_API_Themes_Install_Endpoint extends Jetpack_JSON_API_Themes_E
continue;
}
- $params = (object) array( 'slug' => $theme );
- $url = 'https://api.wordpress.org/themes/info/1.0/';
- $args = array(
+ $params = (object) array( 'slug' => $theme );
+ $url = 'https://api.wordpress.org/themes/info/1.0/'; // @todo Switch to https://api.wordpress.org/themes/info/1.1/, which uses JSON rather than PHP serialization.
+ $args = array(
'body' => array(
- 'action' => 'theme_information',
- 'request' => serialize( $params ),
- )
+ 'action' => 'theme_information',
+ 'request' => serialize( $params ), // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
+ ),
);
- $response = wp_remote_post( $url, $args );
- $theme_data = unserialize( $response['body'] );
+ $response = wp_remote_post( $url, $args );
+ $theme_data = unserialize( $response['body'] ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize
if ( is_wp_error( $theme_data ) ) {
return $theme_data;
}
- if ( ! is_object( $theme_data ) && !isset( $theme_data->download_link ) ) {
- return new WP_Error( 'theme_not_found', __( 'This theme does not exist', 'jetpack' ) , 404 );
+ if ( ! is_object( $theme_data ) && ! isset( $theme_data->download_link ) ) {
+ return new WP_Error( 'theme_not_found', __( 'This theme does not exist', 'jetpack' ), 404 );
}
$this->download_links[ $theme ] = $theme_data->download_link;
@@ -147,25 +176,41 @@ class Jetpack_JSON_API_Themes_Install_Endpoint extends Jetpack_JSON_API_Themes_E
return true;
}
+ /**
+ * Check if the theme is installed.
+ *
+ * @param string $theme - the theme we're checking.
+ *
+ * @return bool
+ */
protected static function is_installed_theme( $theme ) {
$wp_theme = wp_get_theme( $theme );
return $wp_theme->exists();
}
+ /**
+ * Download the wpcom theme.
+ *
+ * @param string $theme - the theme to download.
+ *
+ * @return string|WP_Error
+ */
protected static function download_wpcom_theme_to_file( $theme ) {
- $wpcom_theme_slug = preg_replace( '/-wpcom$/', '', $theme );
$file = wp_tempnam( 'theme' );
if ( ! $file ) {
return new WP_Error( 'problem_creating_theme_file', __( 'Problem creating file for theme download', 'jetpack' ) );
}
- $url = "themes/download/$theme.zip";
- $args = array( 'stream' => true, 'filename' => $file );
+ $url = "themes/download/$theme.zip";
+ $args = array(
+ 'stream' => true,
+ 'filename' => $file,
+ );
$result = Client::wpcom_json_api_request_as_blog( $url, '1.1', $args );
- $response = $result[ 'response' ];
- if ( $response[ 'code' ] !== 200 ) {
+ $response = $result['response'];
+ if ( $response['code'] !== 200 ) {
unlink( $file );
return new WP_Error( 'problem_fetching_theme', __( 'Problem downloading theme', 'jetpack' ) );
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-list-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-list-endpoint.php
index 526cf4d7..1a5b361b 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-list-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-list-endpoint.php
@@ -1,11 +1,26 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Theme list endpoint class.
+ *
+ * GET /sites/%s/themes
+ */
class Jetpack_JSON_API_Themes_List_Endpoint extends Jetpack_JSON_API_Themes_Endpoint {
- // GET /sites/%s/themes
-
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'switch_themes';
- public function validate_input( $theme ) {
+ /**
+ * Validate the input.
+ *
+ * @param string $theme - the theme we're validating (unused, for keeping in sync with parent class).
+ *
+ * @return bool
+ */
+ public function validate_input( $theme ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$this->themes = wp_get_themes( array( 'allowed' => true ) );
return true;
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php
index 072bfc5c..39560c86 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php
@@ -1,13 +1,38 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Themes modify endpoint class.
+ * POST /sites/%s/themes/%s
+ * POST /sites/%s/themes
+ */
class Jetpack_JSON_API_Themes_Modify_Endpoint extends Jetpack_JSON_API_Themes_Endpoint {
- // POST /sites/%s/themes/%s
- // POST /sites/%s/themes
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'update_themes';
- protected $action = 'default_action';
- protected $expected_actions = array( 'update', 'update_translations' );
+ /**
+ * The action.
+ *
+ * @var string
+ */
+ protected $action = 'default_action';
+
+ /**
+ * Expected actions.
+ *
+ * @var array
+ */
+ protected $expected_actions = array( 'update', 'update_translations' );
+
+ /**
+ * The default action.
+ *
+ * @return bool
+ */
public function default_action() {
$args = $this->input();
if ( isset( $args['autoupdate'] ) && is_bool( $args['autoupdate'] ) ) {
@@ -28,31 +53,48 @@ class Jetpack_JSON_API_Themes_Modify_Endpoint extends Jetpack_JSON_API_Themes_En
return true;
}
- function autoupdate_on() {
+ /**
+ * Turn autoupdate on.
+ */
+ public function autoupdate_on() {
$autoupdate_themes = Jetpack_Options::get_option( 'autoupdate_themes', array() );
$autoupdate_themes = array_unique( array_merge( $autoupdate_themes, $this->themes ) );
Jetpack_Options::update_option( 'autoupdate_themes', $autoupdate_themes );
}
- function autoupdate_off() {
+ /**
+ * Turn autoupdate off.
+ */
+ public function autoupdate_off() {
$autoupdate_themes = Jetpack_Options::get_option( 'autoupdate_themes', array() );
$autoupdate_themes = array_diff( $autoupdate_themes, $this->themes );
Jetpack_Options::update_option( 'autoupdate_themes', $autoupdate_themes );
}
- function autoupdate_translations_on() {
+ /**
+ * Autoupdate translations on.
+ */
+ public function autoupdate_translations_on() {
$autoupdate_themes_translations = Jetpack_Options::get_option( 'autoupdate_themes_translations', array() );
$autoupdate_themes_translations = array_unique( array_merge( $autoupdate_themes_translations, $this->themes ) );
Jetpack_Options::update_option( 'autoupdate_themes_translations', $autoupdate_themes_translations );
}
- function autoupdate_translations_off() {
+ /**
+ * Autoupdate translations off.
+ */
+ public function autoupdate_translations_off() {
$autoupdate_themes_translations = Jetpack_Options::get_option( 'autoupdate_themes_translations', array() );
$autoupdate_themes_translations = array_diff( $autoupdate_themes_translations, $this->themes );
Jetpack_Options::update_option( 'autoupdate_themes_translations', $autoupdate_themes_translations );
}
- function update() {
+ /**
+ * Update the theme.
+ *
+ * @return bool|WP_Error True on success, WP_Error on failure.
+ */
+ public function update() {
include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
// Clear the cache.
@@ -61,18 +103,18 @@ class Jetpack_JSON_API_Themes_Modify_Endpoint extends Jetpack_JSON_API_Themes_En
foreach ( $this->themes as $theme ) {
/**
* Pre-upgrade action
- *
+ *
* @since 3.9.3
- *
+ *
* @param object $theme WP_Theme object
* @param array $themes Array of theme objects
*/
- do_action('jetpack_pre_theme_upgrade', $theme, $this->themes);
+ do_action( 'jetpack_pre_theme_upgrade', $theme, $this->themes );
// Objects created inside the for loop to clean the messages for each theme
- $skin = new Automatic_Upgrader_Skin();
+ $skin = new Automatic_Upgrader_Skin();
$upgrader = new Theme_Upgrader( $skin );
$upgrader->init();
- $result = $upgrader->upgrade( $theme );
+ $result = $upgrader->upgrade( $theme );
$this->log[ $theme ][] = $upgrader->skin->get_upgrade_messages();
}
@@ -83,21 +125,26 @@ class Jetpack_JSON_API_Themes_Modify_Endpoint extends Jetpack_JSON_API_Themes_En
return true;
}
- function update_translations() {
+ /**
+ * Update translations.
+ *
+ * @return bool|WP_Error
+ */
+ public function update_translations() {
include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
// Clear the cache.
wp_update_themes();
-
+
$available_themes_updates = get_site_transient( 'update_themes' );
-
+
if ( ! isset( $available_themes_updates->translations ) || empty( $available_themes_updates->translations ) ) {
return new WP_Error( 'nothing_to_translate' );
}
- foreach( $available_themes_updates->translations as $translation ) {
- $theme = $translation['slug'] ;
- if ( ! in_array( $translation['slug'], $this->themes ) ) {
+ foreach ( $available_themes_updates->translations as $translation ) {
+ $theme = $translation['slug'];
+ if ( ! in_array( $translation['slug'], $this->themes, true ) ) {
$this->log[ $theme ][] = __( 'No update needed', 'jetpack' );
continue;
}
@@ -112,11 +159,11 @@ class Jetpack_JSON_API_Themes_Modify_Endpoint extends Jetpack_JSON_API_Themes_En
*/
do_action( 'jetpack_pre_theme_upgrade_translations', $theme, $this->themes );
// Objects created inside the for loop to clean the messages for each theme
- $skin = new Automatic_Upgrader_Skin();
+ $skin = new Automatic_Upgrader_Skin();
$upgrader = new Language_Pack_Upgrader( $skin );
$upgrader->init();
- $result = $upgrader->upgrade( (object) $translation );
+ $result = $upgrader->upgrade( (object) $translation );
$this->log[ $theme ] = $upgrader->skin->get_upgrade_messages();
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-new-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-new-endpoint.php
index 75768183..d70fae8b 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-new-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-new-endpoint.php
@@ -1,15 +1,47 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
-include_once ABSPATH . 'wp-admin/includes/file.php';
+require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
+require_once ABSPATH . 'wp-admin/includes/file.php';
+use Automattic\Jetpack\Automatic_Install_Skin;
+
+/**
+ * Themes new endpoint class.
+ *
+ * /sites/%s/themes/%s/install
+ */
class Jetpack_JSON_API_Themes_New_Endpoint extends Jetpack_JSON_API_Themes_Endpoint {
- // POST /sites/%s/themes/%s/install
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'install_themes';
- protected $action = 'install';
- protected $download_links = array();
+ /**
+ * Action.
+ *
+ * @var string
+ */
+ protected $action = 'install';
+
+ /**
+ * Download links.
+ *
+ * @var array
+ */
+ protected $download_links = array();
+
+ /**
+ * Validate the call.
+ *
+ * @param int $_blog_id - the blod ID.
+ * @param string $capability - the capability we're checking.
+ * @param bool $check_manage_active - if managing capabilities is active.
+ *
+ * @return bool|WP_Error
+ */
protected function validate_call( $_blog_id, $capability, $check_manage_active = true ) {
$validate = parent::validate_call( $_blog_id, $capability, $check_manage_active );
if ( is_wp_error( $validate ) ) {
@@ -23,23 +55,32 @@ class Jetpack_JSON_API_Themes_New_Endpoint extends Jetpack_JSON_API_Themes_Endpo
return $validate;
}
- protected function validate_input( $theme ) {
- $this->bulk = false;
+ /**
+ * Validate the input.
+ *
+ * @param string $theme - the theme.
+ */
+ protected function validate_input( $theme ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ $this->bulk = false;
$this->themes = array();
}
- function install() {
+ /**
+ * Install the theme.
+ *
+ * @return bool
+ */
+ public function install() {
$args = $this->input();
if ( isset( $args['zip'][0]['id'] ) ) {
$attachment_id = $args['zip'][0]['id'];
- $local_file = get_attached_file( $attachment_id );
+ $local_file = get_attached_file( $attachment_id );
if ( ! $local_file ) {
return new WP_Error( 'local-file-does-not-exist' );
}
- jetpack_require_lib( 'class.jetpack-automatic-install-skin' );
- $skin = new Jetpack_Automatic_Install_Skin();
- $upgrader = new Theme_Upgrader( $skin );
+ $skin = new Automatic_Install_Skin();
+ $upgrader = new Theme_Upgrader( $skin );
$pre_install_list = wp_get_themes();
$result = $upgrader->install( $local_file );
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-endpoint.php
index 65b6e725..49f89745 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-endpoint.php
@@ -1,20 +1,45 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-// Translations
+/**
+ * Translations endpoint class.
+ *
+ * GET /sites/%s/translations
+ * POST /sites/%s/translations
+ * POST /sites/%s/translations/update
+ */
class Jetpack_JSON_API_Translations_Endpoint extends Jetpack_JSON_API_Endpoint {
- // GET /sites/%s/translations
- // POST /sites/%s/translations
- // POST /sites/%s/translations/update
+ /**
+ * Needed capabilities.
+ *
+ * @var array
+ */
protected $needed_capabilities = array( 'update_core', 'update_plugins', 'update_themes' );
+
+ /**
+ * The log.
+ *
+ * @var array
+ */
protected $log;
+
+ /**
+ * If we're successful.
+ *
+ * @var bool
+ */
protected $success;
+ /**
+ * API Endpoint.
+ *
+ * @return array
+ */
public function result() {
return array(
- 'translations' => wp_get_translation_updates(),
- 'autoupdate' => Jetpack_Options::get_option( 'autoupdate_translations', false ),
- 'log' => $this->log,
- 'success' => $this->success,
+ 'translations' => wp_get_translation_updates(),
+ 'autoupdate' => Jetpack_Options::get_option( 'autoupdate_translations', false ),
+ 'log' => $this->log,
+ 'success' => $this->success,
);
}
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-modify-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-modify-endpoint.php
index fd5f6a56..e2553029 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-modify-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-translations-modify-endpoint.php
@@ -1,12 +1,38 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Translations modify endpoint class.
+ * POST /sites/%s/translation
+ * POST /sites/%s/translations/update
+ */
class Jetpack_JSON_API_Translations_Modify_Endpoint extends Jetpack_JSON_API_Translations_Endpoint {
- // POST /sites/%s/translations
- // POST /sites/%s/translations/update
- protected $action = 'default_action';
+
+ /**
+ * The action.
+ *
+ * @var string
+ */
+ protected $action = 'default_action';
+
+ /**
+ * The new version.
+ *
+ * @var string
+ */
protected $new_version;
+
+ /**
+ * The log.
+ *
+ * @var array
+ */
protected $log;
+ /**
+ * Run the default action.
+ *
+ * @return true
+ */
public function default_action() {
$args = $this->input();
@@ -17,13 +43,16 @@ class Jetpack_JSON_API_Translations_Modify_Endpoint extends Jetpack_JSON_API_Tra
return true;
}
+ /**
+ * Update the translations.
+ */
protected function update() {
include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
$upgrader = new Language_Pack_Upgrader( new Automatic_Upgrader_Skin() );
- $result = $upgrader->bulk_upgrade();
+ $result = $upgrader->bulk_upgrade();
- $this->log = $upgrader->skin->get_upgrade_messages();
+ $this->log = $upgrader->skin->get_upgrade_messages();
$this->success = ( ! is_wp_error( $result ) ) ? (bool) $result : false;
}
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-updates-status-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-updates-status-endpoint.php
index 48f9ae9d..f8bb2c06 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-updates-status-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-updates-status-endpoint.php
@@ -1,23 +1,37 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Updates status class.
+ *
+ * GET /sites/%s/updates
+ */
class Jetpack_JSON_API_Updates_Status extends Jetpack_JSON_API_Endpoint {
- // GET /sites/%s/updates
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'manage_options';
+ /**
+ * Endpoint callback.
+ *
+ * @return array|WP_Error
+ */
protected function result() {
wp_update_themes();
wp_update_plugins();
$update_data = wp_get_update_data();
- if ( ! isset( $update_data['counts'] ) ) {
+ if ( ! isset( $update_data['counts'] ) ) {
return new WP_Error( 'get_update_data_error', __( 'There was an error while getting the update data for this site.', 'jetpack' ), 500 );
}
$result = $update_data['counts'];
- include( ABSPATH . WPINC . '/version.php' ); // $wp_version;
- $result['wp_version'] = isset( $wp_version ) ? $wp_version : null;
+ include ABSPATH . WPINC . '/version.php'; // $wp_version;
+ $result['wp_version'] = isset( $wp_version ) ? $wp_version : null; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
if ( ! empty( $result['wordpress'] ) ) {
$cur = get_preferred_from_update_core();
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-connect-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-connect-endpoint.php
index b88d0406..5424e5b5 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-connect-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-connect-endpoint.php
@@ -1,21 +1,52 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Connection\Tokens;
+/**
+ * User connect endpoint class.
+ */
class Jetpack_JSON_API_User_Connect_Endpoint extends Jetpack_JSON_API_Endpoint {
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'create_users';
+ /**
+ * The user ID.
+ *
+ * @var int
+ */
private $user_id;
+
+ /**
+ * The user token.
+ *
+ * @var string
+ */
private $user_token;
- function result() {
+ /**
+ * The endpoint callback.
+ *
+ * @return array
+ */
+ public function result() {
( new Tokens() )->update_user_token( $this->user_id, sprintf( '%s.%d', $this->user_token, $this->user_id ), false );
return array( 'success' => ( new Connection_Manager( 'jetpack' ) )->is_user_connected( $this->user_id ) );
}
- function validate_input( $user_id ) {
+ /**
+ * Validate input.
+ *
+ * @param int $user_id - the User ID.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $user_id ) {
$input = $this->input();
if ( ! isset( $user_id ) ) {
return new WP_Error( 'input_error', __( 'user_id is required', 'jetpack' ) );
@@ -27,7 +58,7 @@ class Jetpack_JSON_API_User_Connect_Endpoint extends Jetpack_JSON_API_Endpoint {
if ( ! isset( $input['user_token'] ) ) {
return new WP_Error( 'input_error', __( 'user_token is required', 'jetpack' ) );
}
- $this->user_token = sanitize_text_field( $input[ 'user_token'] );
+ $this->user_token = sanitize_text_field( $input['user_token'] );
return parent::validate_input( $user_id );
}
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-create-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-create-endpoint.php
index 1a45b317..13a70ea7 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-create-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-user-create-endpoint.php
@@ -1,38 +1,68 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Constants;
+/**
+ * User create endpoint class.
+ */
class Jetpack_JSON_API_User_Create_Endpoint extends Jetpack_JSON_API_Endpoint {
+ /**
+ * Needed capabilities.
+ *
+ * @var string
+ */
protected $needed_capabilities = 'create_users';
+ /**
+ * User data.
+ *
+ * @var array
+ */
private $user_data;
- function result() {
+ /**
+ * Endpoint callback.
+ *
+ * @return object|false
+ */
+ public function result() {
return $this->create_or_get_user();
}
- function validate_input( $object ) {
+ /**
+ * Validate the input.
+ *
+ * @param object $object - the object.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $object ) {
$this->user_data = $this->input();
if ( empty( $this->user_data ) ) {
return new WP_Error( 'input_error', __( 'user_data is required', 'jetpack' ) );
}
- if ( ! isset( $this->user_data[ 'email' ] ) ) {
+ if ( ! isset( $this->user_data['email'] ) ) {
return new WP_Error( 'input_error', __( 'user email is required', 'jetpack' ) );
}
- if ( ! isset( $this->user_data[ 'login' ] ) ) {
+ if ( ! isset( $this->user_data['login'] ) ) {
return new WP_Error( 'input_error', __( 'user login is required', 'jetpack' ) );
}
return parent::validate_input( $object );
}
- function create_or_get_user() {
+ /**
+ * Create or get the user.
+ *
+ * @return object|false
+ */
+ public function create_or_get_user() {
require_once JETPACK__PLUGIN_DIR . 'modules/sso/class.jetpack-sso-helpers.php';
// Check for an existing user
- $user = get_user_by( 'email', $this->user_data['email'] );
+ $user = get_user_by( 'email', $this->user_data['email'] );
$roles = (array) $this->user_data['roles'];
- $role = array_pop( $roles );
+ $role = array_pop( $roles );
$query_args = $this->query_args();
if ( isset( $query_args['invite_accepted'] ) && $query_args['invite_accepted'] ) {
@@ -41,12 +71,12 @@ class Jetpack_JSON_API_User_Create_Endpoint extends Jetpack_JSON_API_Endpoint {
if ( ! $user ) {
// We modify the input here to mimick the same call structure of the update user endpoint.
- $this->user_data = (object) $this->user_data;
- $this->user_data->role = $role;
- $this->user_data->url = isset( $this->user_data->URL ) ? $this->user_data->URL : '';
+ $this->user_data = (object) $this->user_data;
+ $this->user_data->role = $role;
+ $this->user_data->url = isset( $this->user_data->URL ) ? $this->user_data->URL : '';
$this->user_data->display_name = $this->user_data->name;
- $this->user_data->description = '';
- $user = Jetpack_SSO_Helpers::generate_user( $this->user_data );
+ $this->user_data->description = '';
+ $user = Jetpack_SSO_Helpers::generate_user( $this->user_data );
}
if ( is_multisite() ) {
@@ -61,10 +91,17 @@ class Jetpack_JSON_API_User_Create_Endpoint extends Jetpack_JSON_API_Endpoint {
return $this->get_user( $user->ID );
}
+ /**
+ * Get the user.
+ *
+ * @param int $user_id - the user ID.
+ *
+ * @return object|WP_Error
+ */
public function get_user( $user_id ) {
$the_user = $this->get_author( $user_id, true );
if ( $the_user && ! is_wp_error( $the_user ) ) {
- $userdata = get_userdata( $user_id );
+ $userdata = get_userdata( $user_id );
$the_user->roles = ! is_wp_error( $userdata ) ? $userdata->roles : array();
}
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-get-option-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-get-option-endpoint.php
index 16895cd4..6f89997d 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-get-option-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-get-option-endpoint.php
@@ -1,7 +1,10 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Sync\Defaults;
+/**
+ * Get option endpoint.
+ */
class WPCOM_JSON_API_Get_Option_Endpoint extends Jetpack_JSON_API_Endpoint {
/**
* This endpoint allows authentication both via a blog and a user token.
@@ -11,18 +14,41 @@ class WPCOM_JSON_API_Get_Option_Endpoint extends Jetpack_JSON_API_Endpoint {
*/
protected $needed_capabilities = 'manage_options';
+ /**
+ * Options name.
+ *
+ * @var string
+ */
public $option_name;
+
+ /**
+ * Site option.
+ *
+ * @var string
+ */
public $site_option;
- function result() {
+ /**
+ * Endpoint callback.
+ *
+ * @return array
+ */
+ public function result() {
if ( $this->site_option ) {
return array( 'option_value' => get_site_option( $this->option_name ) );
}
return array( 'option_value' => get_option( $this->option_name ) );
}
- function validate_input( $object ) {
- $query_args = $this->query_args();
+ /**
+ * Validate the input.
+ *
+ * @param object $object - unused, for parent class compatability.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $object ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ $query_args = $this->query_args();
$this->option_name = isset( $query_args['option_name'] ) ? $query_args['option_name'] : false;
if ( ! $this->option_name ) {
return new WP_Error( 'option_name_not_set', __( 'You must specify an option_name', 'jetpack' ) );
@@ -39,7 +65,7 @@ class WPCOM_JSON_API_Get_Option_Endpoint extends Jetpack_JSON_API_Endpoint {
* @param array The default list of site options.
* @param bool Is the option a site option.
*/
- if ( ! in_array( $this->option_name, apply_filters( 'jetpack_options_whitelist', Defaults::$default_options_whitelist, $this->site_option ) ) ) {
+ if ( ! in_array( $this->option_name, apply_filters( 'jetpack_options_whitelist', Defaults::$default_options_whitelist, $this->site_option ), true ) ) {
return new WP_Error( 'option_name_not_in_whitelist', __( 'You must specify a whitelisted option_name', 'jetpack' ) );
}
return true;
diff --git a/plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-update-option-endpoint.php b/plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-update-option-endpoint.php
index 20f8895c..746879b7 100644
--- a/plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-update-option-endpoint.php
+++ b/plugins/jetpack/json-endpoints/jetpack/class.wpcom-json-api-update-option-endpoint.php
@@ -1,9 +1,22 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Update option endpoint.
+ */
class WPCOM_JSON_API_Update_Option_Endpoint extends WPCOM_JSON_API_Get_Option_Endpoint {
+ /**
+ * The option value.
+ *
+ * @var string
+ */
public $option_value;
- function result() {
+ /**
+ * Endpoint callback.
+ *
+ * @return array
+ */
+ public function result() {
if ( $this->site_option ) {
update_site_option( $this->option_name, $this->option_value );
} else {
@@ -12,8 +25,15 @@ class WPCOM_JSON_API_Update_Option_Endpoint extends WPCOM_JSON_API_Get_Option_En
return parent::result();
}
- function validate_input( $object ) {
- $input = $this->input();
+ /**
+ * Validate the input.
+ *
+ * @param object $object - the object we're validating.
+ *
+ * @return bool|WP_Error
+ */
+ public function validate_input( $object ) {
+ $input = $this->input();
$query_args = $this->query_args();
if ( ! isset( $input['option_value'] ) || is_array( $input['option_value'] ) ) {
return new WP_Error( 'option_value_not_set', __( 'You must specify an option_value', 'jetpack' ) );
diff --git a/plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php b/plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php
index f252fa75..da377d72 100644
--- a/plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php
+++ b/plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php
@@ -1,12 +1,12 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-$json_jetpack_endpoints_dir = dirname( __FILE__ ) . '/';
+$json_jetpack_endpoints_dir = __DIR__ . '/';
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-endpoint.php';
// THEMES
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-active-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-active-endpoint.php';
new Jetpack_JSON_API_Themes_Active_Endpoint(
array(
@@ -57,7 +57,7 @@ new Jetpack_JSON_API_Themes_Active_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-list-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-list-endpoint.php';
new Jetpack_JSON_API_Themes_List_Endpoint(
array(
@@ -83,8 +83,8 @@ new Jetpack_JSON_API_Themes_List_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-get-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-new-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-get-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-new-endpoint.php';
// POST /sites/%s/themes/%new
new Jetpack_JSON_API_Themes_New_Endpoint(
@@ -133,7 +133,7 @@ new Jetpack_JSON_API_Themes_Get_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-modify-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-modify-endpoint.php';
new Jetpack_JSON_API_Themes_Modify_Endpoint(
array(
'description' => 'Modify a single theme on a jetpack blog',
@@ -198,7 +198,7 @@ new Jetpack_JSON_API_Themes_Modify_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-install-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-install-endpoint.php';
// POST /sites/%s/themes/%s/install
new Jetpack_JSON_API_Themes_Install_Endpoint(
array(
@@ -222,7 +222,7 @@ new Jetpack_JSON_API_Themes_Install_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-delete-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-delete-endpoint.php';
// POST /sites/%s/themes/%s/delete
new Jetpack_JSON_API_Themes_Delete_Endpoint(
array(
@@ -246,22 +246,21 @@ new Jetpack_JSON_API_Themes_Delete_Endpoint(
)
);
-
// PLUGINS
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-get-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-list-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-new-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-install-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-delete-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-modify-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-get-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-list-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-new-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-install-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-delete-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-modify-endpoint.php';
// PLUGINS V1.2
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-modify-v1-2-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-plugins-modify-v1-2-endpoint.php';
// Jetpack Modules
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-modules-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-modules-get-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-modules-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-modules-get-endpoint.php';
new Jetpack_JSON_API_Modules_Get_Endpoint(
array(
@@ -284,7 +283,7 @@ new Jetpack_JSON_API_Modules_Get_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-modules-modify-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-modules-modify-endpoint.php';
new Jetpack_JSON_API_Modules_Modify_Endpoint(
array(
@@ -313,7 +312,7 @@ new Jetpack_JSON_API_Modules_Modify_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-modules-list-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-modules-list-endpoint.php';
new Jetpack_JSON_API_Modules_List_Endpoint(
array(
@@ -365,134 +364,142 @@ new Jetpack_JSON_API_Modules_List_V1_2_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-updates-status-endpoint.php' );
-
-new Jetpack_JSON_API_Updates_Status( array(
- 'description' => 'Get counts for available updates',
- 'method' => 'GET',
- 'path' => '/sites/%s/updates',
- 'stat' => 'updates',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'response_format' => array(
- 'plugins' => '(int) The total number of plugins updates.',
- 'themes' => '(int) The total number of themes updates.',
- 'wordpress' => '(int) The total number of core updates.',
- 'translations' => '(int) The total number of translation updates.',
- 'total' => '(int) The total number of updates.',
- 'wp_version' => '(safehtml) The wp_version string.',
- 'wp_update_version' => '(safehtml) The wp_version to update string.',
- 'jp_version' => '(safehtml) The site Jetpack version.',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/updates'
-) );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-updates-status-endpoint.php';
+new Jetpack_JSON_API_Updates_Status(
+ array(
+ 'description' => 'Get counts for available updates',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/updates',
+ 'stat' => 'updates',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'response_format' => array(
+ 'plugins' => '(int) The total number of plugins updates.',
+ 'themes' => '(int) The total number of themes updates.',
+ 'wordpress' => '(int) The total number of core updates.',
+ 'translations' => '(int) The total number of translation updates.',
+ 'total' => '(int) The total number of updates.',
+ 'wp_version' => '(safehtml) The wp_version string.',
+ 'wp_update_version' => '(safehtml) The wp_version to update string.',
+ 'jp_version' => '(safehtml) The site Jetpack version.',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/updates',
+ )
+);
// Jetpack Extras
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-check-capabilities-endpoint.php' );
-
-new Jetpack_JSON_API_Check_Capabilities_Endpoint( array(
- 'description' => 'Check if the current user has a certain capability over a Jetpack site',
- 'method' => 'GET',
- 'path' => '/sites/%s/me/capability',
- 'stat' => 'me:capabulity',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'response_format' => '(bool) True if the user has the queried capability.',
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- 'body' => array(
- 'capability' => 'A single capability or an array of capabilities'
- )
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/me/capability'
-) );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-check-capabilities-endpoint.php';
+new Jetpack_JSON_API_Check_Capabilities_Endpoint(
+ array(
+ 'description' => 'Check if the current user has a certain capability over a Jetpack site',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/me/capability',
+ 'stat' => 'me:capabulity',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'response_format' => '(bool) True if the user has the queried capability.',
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'capability' => 'A single capability or an array of capabilities',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/me/capability',
+ )
+);
// CORE
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-core-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-core-modify-endpoint.php' );
-
-new Jetpack_JSON_API_Core_Endpoint( array(
- 'description' => 'Gets info about a Jetpack blog\'s core installation',
- 'method' => 'GET',
- 'path' => '/sites/%s/core',
- 'stat' => 'core',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'response_format' => array(
- 'version' => '(string) The current version',
- 'autoupdate' => '(bool) Whether or not we automatically update core'
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/core'
-) );
-
-new Jetpack_JSON_API_Core_Modify_Endpoint( array(
- 'description' => 'Update WordPress installation on a Jetpack blog',
- 'method' => 'POST',
- 'path' => '/sites/%s/core/update',
- 'stat' => 'core:update',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'request_format' => array(
- 'version' => '(string) The core version to update',
- ),
- 'response_format' => array(
- 'version' => '(string) The core version after the upgrade has run.',
- 'log' => '(array:safehtml) An array of log strings.',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/core/update'
-) );
-
-new Jetpack_JSON_API_Core_Endpoint( array(
- 'description' => 'Toggle automatic core updates for a Jetpack blog',
- 'method' => 'POST',
- 'path' => '/sites/%s/core',
- 'stat' => 'core',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'request_format' => array(
- 'autoupdate' => '(bool) Whether or not we automatically update core',
- ),
- 'response_format' => array(
- 'version' => '(string) The current version',
- 'autoupdate' => '(bool) Whether or not we automatically update core'
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- 'body' => array(
- 'autoupdate' => true,
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/core'
-) );
-
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-sync-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-core-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-core-modify-endpoint.php';
+
+new Jetpack_JSON_API_Core_Endpoint(
+ array(
+ 'description' => 'Gets info about a Jetpack blog\'s core installation',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/core',
+ 'stat' => 'core',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'response_format' => array(
+ 'version' => '(string) The current version',
+ 'autoupdate' => '(bool) Whether or not we automatically update core',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/core',
+ )
+);
+
+new Jetpack_JSON_API_Core_Modify_Endpoint(
+ array(
+ 'description' => 'Update WordPress installation on a Jetpack blog',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/core/update',
+ 'stat' => 'core:update',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'request_format' => array(
+ 'version' => '(string) The core version to update',
+ ),
+ 'response_format' => array(
+ 'version' => '(string) The core version after the upgrade has run.',
+ 'log' => '(array:safehtml) An array of log strings.',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/core/update',
+ )
+);
+
+new Jetpack_JSON_API_Core_Endpoint(
+ array(
+ 'description' => 'Toggle automatic core updates for a Jetpack blog',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/core',
+ 'stat' => 'core',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'request_format' => array(
+ 'autoupdate' => '(bool) Whether or not we automatically update core',
+ ),
+ 'response_format' => array(
+ 'version' => '(string) The current version',
+ 'autoupdate' => '(bool) Whether or not we automatically update core',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'autoupdate' => true,
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/core',
+ )
+);
+
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-sync-endpoint.php';
// POST /sites/%s/sync
new Jetpack_JSON_API_Sync_Endpoint(
@@ -560,7 +567,6 @@ new Jetpack_JSON_API_Sync_Status_Endpoint(
)
);
-
// GET /sites/%s/data-checksums
new Jetpack_JSON_API_Sync_Check_Endpoint(
array(
@@ -653,7 +659,7 @@ $sync_settings_response = array(
'max_queue_size_full_sync' => '(int|bool=false) Maximum queue size that full sync is allowed to use',
'full_sync_send_duration' => '(float) Max full sync duration per request',
'sync_via_cron' => '(int|bool=false) Set to 1 or true to avoid using cron for sync.',
- 'cron_sync_time_limit' => '(int|bool=false) Limit cron jobs to number of seconds',
+ 'cron_sync_time_limit' => '(int|bool=false) Limit cron jobs to number of seconds',
'enqueue_wait_time' => '(int|bool=false) Wait time in seconds between attempting to continue a full sync, via requests',
'sync_sender_enabled' => '(int|bool=false) Set to 1 or true to enable the default sender for the incremental queue.',
'full_sync_sender_enabled' => '(int|bool=false) Set to 1 or true to enable the default sender for the "full sync" queue.',
@@ -740,7 +746,6 @@ new Jetpack_JSON_API_Sync_Now_Endpoint(
)
);
-
// POST /sites/%s/sync/unlock
new Jetpack_JSON_API_Sync_Unlock_Endpoint(
array(
@@ -841,115 +846,125 @@ new Jetpack_JSON_API_Sync_Close_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-log-endpoint.php' );
-
-new Jetpack_JSON_API_Jetpack_Log_Endpoint( array(
- 'description' => 'Get the Jetpack log',
- 'method' => 'GET',
- 'path' => '/sites/%s/jetpack-log',
- 'stat' => 'log',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'request_format' => array(
- 'event' => '(string) The event to filter by, by default all entries are returned',
- 'num' => '(int) The number of entries to get, by default all entries are returned'
- ),
- 'response_format' => array(
- 'log' => '(array) An array of jetpack log entries'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/jetpack-log'
-) );
-
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-maybe-auto-update-endpoint.php' );
-
-new Jetpack_JSON_API_Maybe_Auto_Update_Endpoint( array(
- 'description' => 'Maybe Auto Update Core, Plugins, Themes and Languages',
- 'method' => 'POST',
- 'path' => '/sites/%s/maybe-auto-update',
- 'stat' => 'maybe-auto-update',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'response_format' => array(
- 'log' => '(array) Results of running the update job'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/maybe-auto-update'
-
-) );
-
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-translations-endpoint.php' );
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-translations-modify-endpoint.php' );
-
-new Jetpack_JSON_API_Translations_Endpoint( array(
- 'description' => 'Gets info about a Jetpack blog\'s core installation',
- 'method' => 'GET',
- 'path' => '/sites/%s/translations',
- 'stat' => 'translations',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'response_format' => array(
- 'translations' => '(array) A list of translations that are available',
- 'autoupdate' => '(bool) Whether or not we automatically update translations',
- 'log' => '(array:safehtml) An array of log strings.',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/translations'
-) );
-
-new Jetpack_JSON_API_Translations_Modify_Endpoint( array(
- 'description' => 'Toggle automatic core updates for a Jetpack blog',
- 'method' => 'POST',
- 'path' => '/sites/%s/translations',
- 'stat' => 'translations',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'request_format' => array(
- 'autoupdate' => '(bool) Whether or not we automatically update translations',
- ),
- 'response_format' => array(
- 'translations' => '(array) A list of translations that are available',
- 'autoupdate' => '(bool) Whether or not we automatically update translations',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- 'body' => array(
- 'autoupdate' => true,
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/translations'
-) );
-
-new Jetpack_JSON_API_Translations_Modify_Endpoint( array(
- 'description' => 'Update All Translations installation on a Jetpack blog',
- 'method' => 'POST',
- 'path' => '/sites/%s/translations/update',
- 'stat' => 'translations:update',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'response_format' => array(
- 'log' => '(array:safehtml) An array of log strings.',
- 'success' => '(bool) Was the operation successful'
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/translations/update'
-) );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-log-endpoint.php';
+
+new Jetpack_JSON_API_Jetpack_Log_Endpoint(
+ array(
+ 'description' => 'Get the Jetpack log',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/jetpack-log',
+ 'stat' => 'log',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'request_format' => array(
+ 'event' => '(string) The event to filter by, by default all entries are returned',
+ 'num' => '(int) The number of entries to get, by default all entries are returned',
+ ),
+ 'response_format' => array(
+ 'log' => '(array) An array of jetpack log entries',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/jetpack-log',
+ )
+);
+
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-maybe-auto-update-endpoint.php';
+
+new Jetpack_JSON_API_Maybe_Auto_Update_Endpoint(
+ array(
+ 'description' => 'Maybe Auto Update Core, Plugins, Themes and Languages',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/maybe-auto-update',
+ 'stat' => 'maybe-auto-update',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'response_format' => array(
+ 'log' => '(array) Results of running the update job',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/maybe-auto-update',
+
+ )
+);
+
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-translations-endpoint.php';
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-translations-modify-endpoint.php';
+
+new Jetpack_JSON_API_Translations_Endpoint(
+ array(
+ 'description' => 'Gets info about a Jetpack blog\'s core installation',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/translations',
+ 'stat' => 'translations',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'response_format' => array(
+ 'translations' => '(array) A list of translations that are available',
+ 'autoupdate' => '(bool) Whether or not we automatically update translations',
+ 'log' => '(array:safehtml) An array of log strings.',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/translations',
+ )
+);
+
+new Jetpack_JSON_API_Translations_Modify_Endpoint(
+ array(
+ 'description' => 'Toggle automatic core updates for a Jetpack blog',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/translations',
+ 'stat' => 'translations',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'request_format' => array(
+ 'autoupdate' => '(bool) Whether or not we automatically update translations',
+ ),
+ 'response_format' => array(
+ 'translations' => '(array) A list of translations that are available',
+ 'autoupdate' => '(bool) Whether or not we automatically update translations',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'autoupdate' => true,
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/translations',
+ )
+);
+
+new Jetpack_JSON_API_Translations_Modify_Endpoint(
+ array(
+ 'description' => 'Update All Translations installation on a Jetpack blog',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/translations/update',
+ 'stat' => 'translations:update',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'response_format' => array(
+ 'log' => '(array:safehtml) An array of log strings.',
+ 'success' => '(bool) Was the operation successful',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/translations/update',
+ )
+);
// Options
-require_once( $json_jetpack_endpoints_dir . 'class.wpcom-json-api-get-option-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.wpcom-json-api-get-option-endpoint.php';
new WPCOM_JSON_API_Get_Option_Endpoint(
array(
@@ -976,7 +991,7 @@ new WPCOM_JSON_API_Get_Option_Endpoint(
)
);
-require_once( $json_jetpack_endpoints_dir . 'class.wpcom-json-api-update-option-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.wpcom-json-api-update-option-endpoint.php';
new WPCOM_JSON_API_Update_Option_Endpoint(
array(
@@ -1010,342 +1025,364 @@ new WPCOM_JSON_API_Update_Option_Endpoint(
)
);
-
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-cron-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-cron-endpoint.php';
// GET /sites/%s/cron
-new Jetpack_JSON_API_Cron_Endpoint( array(
- 'description' => 'Fetches the cron array',
- 'group' => '__do_not_document',
- 'method' => 'GET',
- 'path' => '/sites/%s/cron',
- 'stat' => 'cron-get',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'response_format' => array(
- 'cron_array' => '(array) The cron array',
- 'current_timestamp' => '(int) Current server timestamp'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/cron',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- ),
-) );
+new Jetpack_JSON_API_Cron_Endpoint(
+ array(
+ 'description' => 'Fetches the cron array',
+ 'group' => '__do_not_document',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/cron',
+ 'stat' => 'cron-get',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'response_format' => array(
+ 'cron_array' => '(array) The cron array',
+ 'current_timestamp' => '(int) Current server timestamp',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/cron',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ ),
+ )
+);
// POST /sites/%s/cron
-new Jetpack_JSON_API_Cron_Post_Endpoint( array(
- 'description' => 'Process items in the cron',
- 'group' => '__do_not_document',
- 'method' => 'POST',
- 'path' => '/sites/%s/cron',
- 'stat' => 'cron-run',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'request_format' => array(
- 'hooks' => '(array) List of hooks to run if they have been scheduled (optional)',
- ),
- 'response_format' => array(
- 'success' => '(array) Of processed hooks with their arguments'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/cron',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- 'body' => array(
- 'hooks' => array( 'jetpack_sync_cron' )
- ),
- ),
-) );
+new Jetpack_JSON_API_Cron_Post_Endpoint(
+ array(
+ 'description' => 'Process items in the cron',
+ 'group' => '__do_not_document',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/cron',
+ 'stat' => 'cron-run',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'request_format' => array(
+ 'hooks' => '(array) List of hooks to run if they have been scheduled (optional)',
+ ),
+ 'response_format' => array(
+ 'success' => '(array) Of processed hooks with their arguments',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/cron',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ 'body' => array(
+ 'hooks' => array( 'jetpack_sync_cron' ),
+ ),
+ ),
+ )
+);
// POST /sites/%s/cron/schedule
-new Jetpack_JSON_API_Cron_Schedule_Endpoint( array(
- 'description' => 'Schedule one or a recurring hook to fire at a particular time',
- 'group' => '__do_not_document',
- 'method' => 'POST',
- 'path' => '/sites/%s/cron/schedule',
- 'stat' => 'cron-schedule',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'request_format' => array(
- 'hook' => '(string) Hook name that should run when the event is scheduled',
- 'timestamp' => '(int) Timestamp when the event should take place, has to be in the future',
- 'arguments' => '(string) JSON Object of arguments that the hook will use (optional)',
- 'recurrence' => '(string) How often the event should take place. If empty only one event will be scheduled. Possible values 1min, hourly, twicedaily, daily (optional) '
- ),
- 'response_format' => array(
- 'success' => '(bool) Was the event scheduled?'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/cron/schedule',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- 'body' => array(
- 'hook' => 'jetpack_sync_cron',
- 'arguments' => '[]',
- 'recurrence'=> '1min',
- 'timestamp' => 1476385523
- ),
- ),
-) );
+new Jetpack_JSON_API_Cron_Schedule_Endpoint(
+ array(
+ 'description' => 'Schedule one or a recurring hook to fire at a particular time',
+ 'group' => '__do_not_document',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/cron/schedule',
+ 'stat' => 'cron-schedule',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'request_format' => array(
+ 'hook' => '(string) Hook name that should run when the event is scheduled',
+ 'timestamp' => '(int) Timestamp when the event should take place, has to be in the future',
+ 'arguments' => '(string) JSON Object of arguments that the hook will use (optional)',
+ 'recurrence' => '(string) How often the event should take place. If empty only one event will be scheduled. Possible values 1min, hourly, twicedaily, daily (optional) ',
+ ),
+ 'response_format' => array(
+ 'success' => '(bool) Was the event scheduled?',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/cron/schedule',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ 'body' => array(
+ 'hook' => 'jetpack_sync_cron',
+ 'arguments' => '[]',
+ 'recurrence' => '1min',
+ 'timestamp' => 1476385523,
+ ),
+ ),
+ )
+);
// POST /sites/%s/cron/unschedule
-new Jetpack_JSON_API_Cron_Unschedule_Endpoint( array(
- 'description' => 'Unschedule one or all events with a particular hook and arguments',
- 'group' => '__do_not_document',
- 'method' => 'POST',
- 'path' => '/sites/%s/cron/unschedule',
- 'stat' => 'cron-unschedule',
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain'
- ),
- 'request_format' => array(
- 'hook' => '(string) Name of the hook that should be unscheduled',
- 'timestamp' => '(int) Timestamp of the hook that you want to unschedule. This will unschedule only 1 event. (optional)',
- 'arguments' => '(string) JSON Object of arguments that the hook has been scheduled with (optional)',
- ),
- 'response_format' => array(
- 'success' => '(bool) Was the event unscheduled?'
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/cron/unschedule',
- 'example_request_data' => array(
- 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
- 'body' => array(
- 'hook' => 'jetpack_sync_cron',
- 'arguments' => '[]',
- 'timestamp' => 1476385523
- ),
- ),
-) );
-
-// BACKUPS
+new Jetpack_JSON_API_Cron_Unschedule_Endpoint(
+ array(
+ 'description' => 'Unschedule one or all events with a particular hook and arguments',
+ 'group' => '__do_not_document',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/cron/unschedule',
+ 'stat' => 'cron-unschedule',
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'request_format' => array(
+ 'hook' => '(string) Name of the hook that should be unscheduled',
+ 'timestamp' => '(int) Timestamp of the hook that you want to unschedule. This will unschedule only 1 event. (optional)',
+ 'arguments' => '(string) JSON Object of arguments that the hook has been scheduled with (optional)',
+ ),
+ 'response_format' => array(
+ 'success' => '(bool) Was the event unscheduled?',
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/example.wordpress.org/cron/unschedule',
+ 'example_request_data' => array(
+ 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN' ),
+ 'body' => array(
+ 'hook' => 'jetpack_sync_cron',
+ 'arguments' => '[]',
+ 'timestamp' => 1476385523,
+ ),
+ ),
+ )
+);
+
+// BACKUPS
// GET /sites/%s/database-object/backup
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-database-object-backup-endpoint.php' );
-new Jetpack_JSON_API_Get_Database_Object_Backup_Endpoint( array(
- 'description' => 'Fetch a backup of a database object, along with all of its metadata',
- 'group' => '__do_not_document',
- 'method' => 'GET',
- 'path' => '/sites/%s/database-object/backup',
- 'stat' => 'database-objects:1:backup',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- ),
- 'query_parameters' => array(
- 'object_type' => '(string) Type of object to fetch from the database',
- 'object_id' => '(int) ID of the database object to fetch',
- ),
- 'response_format' => array(
- 'object' => '(array) Database object row',
- 'meta' => '(array) Associative array of key/value metadata associated with the row',
- 'children' => '(array) Where appropriate, child records associated with the object. eg: Woocommerce tax rate locations',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/database-object/backup'
-) );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-database-object-backup-endpoint.php';
+new Jetpack_JSON_API_Get_Database_Object_Backup_Endpoint(
+ array(
+ 'description' => 'Fetch a backup of a database object, along with all of its metadata',
+ 'group' => '__do_not_document',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/database-object/backup',
+ 'stat' => 'database-objects:1:backup',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'query_parameters' => array(
+ 'object_type' => '(string) Type of object to fetch from the database',
+ 'object_id' => '(int) ID of the database object to fetch',
+ ),
+ 'response_format' => array(
+ 'object' => '(array) Database object row',
+ 'meta' => '(array) Associative array of key/value metadata associated with the row',
+ 'children' => '(array) Where appropriate, child records associated with the object. eg: Woocommerce tax rate locations',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/database-object/backup',
+ )
+);
// GET /sites/%s/comments/%d/backup
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-comment-backup-endpoint.php' );
-new Jetpack_JSON_API_Get_Comment_Backup_Endpoint( array(
- 'description' => 'Fetch a backup of a comment, along with all of its metadata',
- 'group' => '__do_not_document',
- 'method' => 'GET',
- 'path' => '/sites/%s/comments/%d/backup',
- 'stat' => 'comments:1:backup',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- '$post' => '(int) The comment ID',
- ),
- 'response_format' => array(
- 'comment' => '(array) Comment table row',
- 'meta' => '(array) Associative array of key/value commentmeta data',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/comments/1/backup'
-) );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-comment-backup-endpoint.php';
+new Jetpack_JSON_API_Get_Comment_Backup_Endpoint(
+ array(
+ 'description' => 'Fetch a backup of a comment, along with all of its metadata',
+ 'group' => '__do_not_document',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/comments/%d/backup',
+ 'stat' => 'comments:1:backup',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ '$post' => '(int) The comment ID',
+ ),
+ 'response_format' => array(
+ 'comment' => '(array) Comment table row',
+ 'meta' => '(array) Associative array of key/value commentmeta data',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/comments/1/backup',
+ )
+);
// GET /sites/%s/options/backup
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-option-backup-endpoint.php' );
-new Jetpack_JSON_API_Get_Option_Backup_Endpoint( array(
- 'description' => 'Fetch a backup of an option',
- 'group' => '__do_not_document',
- 'method' => 'GET',
- 'path' => '/sites/%s/options/backup',
- 'stat' => 'options:backup',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- ),
- 'query_parameters' => array(
- 'name' => '(string|array) One or more option names to include in the backup',
- ),
- 'response_format' => array(
- 'options' => '(array) Associative array of option_name => option_value entries',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- )
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/options/backup'
-) );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-option-backup-endpoint.php';
+new Jetpack_JSON_API_Get_Option_Backup_Endpoint(
+ array(
+ 'description' => 'Fetch a backup of an option',
+ 'group' => '__do_not_document',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/options/backup',
+ 'stat' => 'options:backup',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'query_parameters' => array(
+ 'name' => '(string|array) One or more option names to include in the backup',
+ ),
+ 'response_format' => array(
+ 'options' => '(array) Associative array of option_name => option_value entries',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/options/backup',
+ )
+);
// GET /sites/%s/posts/%d/backup
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-post-backup-endpoint.php' );
-new Jetpack_JSON_API_Get_Post_Backup_Endpoint( array(
- 'description' => 'Fetch a backup of a post, along with all of its metadata',
- 'group' => '__do_not_document',
- 'method' => 'GET',
- 'path' => '/sites/%s/posts/%d/backup',
- 'stat' => 'posts:1:backup',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- '$post' => '(int) The post ID',
- ),
- 'response_format' => array(
- 'post' => '(array) Post table row',
- 'meta' => '(array) Associative array of key/value postmeta data',
- 'terms' => '(array) List of terms attached to the post object',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/posts/1/backup'
-) );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-post-backup-endpoint.php';
+new Jetpack_JSON_API_Get_Post_Backup_Endpoint(
+ array(
+ 'description' => 'Fetch a backup of a post, along with all of its metadata',
+ 'group' => '__do_not_document',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/posts/%d/backup',
+ 'stat' => 'posts:1:backup',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ '$post' => '(int) The post ID',
+ ),
+ 'response_format' => array(
+ 'post' => '(array) Post table row',
+ 'meta' => '(array) Associative array of key/value postmeta data',
+ 'terms' => '(array) List of terms attached to the post object',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/posts/1/backup',
+ )
+);
// GET /sites/%s/terms/%d/backup
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-term-backup-endpoint.php' );
-new Jetpack_JSON_API_Get_Term_Backup_Endpoint( array(
- 'description' => 'Fetch a backup of a term, along with all of its metadata',
- 'group' => '__do_not_document',
- 'method' => 'GET',
- 'path' => '/sites/%s/terms/%d/backup',
- 'stat' => 'terms:1:backup',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- '$term' => '(int) The term ID',
- ),
- 'response_format' => array(
- 'term' => '(array) Term table row',
- 'meta' => '(array) Metadata associated with the term',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/terms/1/backup'
-) );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-term-backup-endpoint.php';
+new Jetpack_JSON_API_Get_Term_Backup_Endpoint(
+ array(
+ 'description' => 'Fetch a backup of a term, along with all of its metadata',
+ 'group' => '__do_not_document',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/terms/%d/backup',
+ 'stat' => 'terms:1:backup',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ '$term' => '(int) The term ID',
+ ),
+ 'response_format' => array(
+ 'term' => '(array) Term table row',
+ 'meta' => '(array) Metadata associated with the term',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/terms/1/backup',
+ )
+);
// GET /sites/%s/users/%d/backup
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-user-backup-endpoint.php' );
-new Jetpack_JSON_API_Get_User_Backup_Endpoint( array(
- 'description' => 'Fetch a backup of a user, along with all of its metadata',
- 'group' => '__do_not_document',
- 'method' => 'GET',
- 'path' => '/sites/%s/users/%d/backup',
- 'stat' => 'users:1:backup',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- '$user' => '(int) The user ID',
- ),
- 'response_format' => array(
- 'user' => '(array) User table row',
- 'meta' => '(array) Associative array of key/value usermeta data',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/users/1/backup'
-) );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-get-user-backup-endpoint.php';
+new Jetpack_JSON_API_Get_User_Backup_Endpoint(
+ array(
+ 'description' => 'Fetch a backup of a user, along with all of its metadata',
+ 'group' => '__do_not_document',
+ 'method' => 'GET',
+ 'path' => '/sites/%s/users/%d/backup',
+ 'stat' => 'users:1:backup',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ '$user' => '(int) The user ID',
+ ),
+ 'response_format' => array(
+ 'user' => '(array) User table row',
+ 'meta' => '(array) Associative array of key/value usermeta data',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/users/1/backup',
+ )
+);
// USERS
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-user-connect-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-user-connect-endpoint.php';
// POST /sites/%s/users/%d/connect
-new Jetpack_JSON_API_User_Connect_Endpoint( array(
- 'description' => 'Creates or returns a new user given profile data',
- 'group' => '__do_not_document',
- 'method' => 'POST',
- 'path' => '/sites/%s/users/%d/connect',
- 'stat' => 'users:connect',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- '$user_id' => '(int) The site user ID to connect',
- ),
- 'request_format' => array(
- 'user_token' => '(string) The user token',
- ),
- 'response_format' => array(
- 'success' => '(bool) Was the user connected',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN',
- ),
- 'body' => array(
- 'user_token' => 'XDH55jndskjf3klh3',
- )
- ),
- 'example_response' => '{
+new Jetpack_JSON_API_User_Connect_Endpoint(
+ array(
+ 'description' => 'Creates or returns a new user given profile data',
+ 'group' => '__do_not_document',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/users/%d/connect',
+ 'stat' => 'users:connect',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ '$user_id' => '(int) The site user ID to connect',
+ ),
+ 'request_format' => array(
+ 'user_token' => '(string) The user token',
+ ),
+ 'response_format' => array(
+ 'success' => '(bool) Was the user connected',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'user_token' => 'XDH55jndskjf3klh3',
+ ),
+ ),
+ 'example_response' => '{
"success" => true
}',
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/users/6/connect'
-) );
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/users/6/connect',
+ )
+);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-user-create-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-user-create-endpoint.php';
// POST /sites/%s/users/create
-new Jetpack_JSON_API_User_Create_Endpoint( array(
- 'description' => 'Creates or returns a new user given profile data',
- 'group' => '__do_not_document',
- 'method' => 'POST',
- 'path' => '/sites/%s/users/create',
- 'stat' => 'users:create',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- ),
- 'query_parameters' => array(
- 'invite_accepted' => '(bool=false) If the user is being created in the invite context',
- ),
- 'request_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
- 'response_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN'
- ),
- 'body' => array(
- 'roles' => array(
- array(
- 'administrator',
- )
+new Jetpack_JSON_API_User_Create_Endpoint(
+ array(
+ 'description' => 'Creates or returns a new user given profile data',
+ 'group' => '__do_not_document',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/users/create',
+ 'stat' => 'users:create',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'query_parameters' => array(
+ 'invite_accepted' => '(bool=false) If the user is being created in the invite context',
+ ),
+ 'request_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
+ 'response_format' => WPCOM_JSON_API_Site_User_Endpoint::$user_format,
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'roles' => array(
+ array(
+ 'administrator',
+ ),
+ ),
+ 'first_name' => 'John',
+ 'last_name' => 'Doe',
+ 'email' => 'john.doe@example.wordpress.org',
),
- 'first_name' => 'John',
- 'last_name' => 'Doe',
- 'email' => 'john.doe@example.wordpress.org',
- )
- ),
- 'example_response' => '{
+ ),
+ 'example_response' => '{
"ID": 18342963,
"login": "binarysmash"
"email": false,
@@ -1355,97 +1392,104 @@ new Jetpack_JSON_API_User_Create_Endpoint( array(
"profile_URL": "http:\/\/en.gravatar.com\/binarysmash",
"roles": [ "administrator" ]
}',
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/users/create'
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/users/create',
-) );
+ )
+);
-require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-jps-woocommerce-connect-endpoint.php' );
+require_once $json_jetpack_endpoints_dir . 'class.jetpack-json-api-jps-woocommerce-connect-endpoint.php';
// POST /sites/%s/jps/woo-connect
-new Jetpack_JSON_API_JPS_WooCommerce_Connect_Endpoint( array(
- 'description' => 'Attempts to connect the WooCommerce plugin for this site to WooCommerce.com.',
- 'group' => '__do_not_document',
- 'method' => 'POST',
- 'path' => '/sites/%s/jps/woo-connect',
- 'stat' => 'jps:woo-connect',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- ),
- 'request_format' => array(
- 'access_token' => '(string) The access token for WooCommerce to connect to WooCommerce.com',
- 'access_token_secret' => '(string) The access token secret for WooCommerce to connect to WooCommerce.com',
- 'user_id' => '(int) The user\'s ID after registering for a host plan',
- 'site_id' => '(int) The site\'s ID after registering for a host plan',
- ),
- 'response_format' => array(
- 'success' => '(bool) Setting access token and access token secret successful?',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN',
- ),
- 'body' => array(
- 'access_token' => '123456789',
- 'access_token_secret' => 'abcdefghiklmnop',
- 'user_id' => 1,
- 'site_id' => 2,
- ),
- ),
- 'example_response' => '{ "success": true }',
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/jps/woo-connect'
-) );
+new Jetpack_JSON_API_JPS_WooCommerce_Connect_Endpoint(
+ array(
+ 'description' => 'Attempts to connect the WooCommerce plugin for this site to WooCommerce.com.',
+ 'group' => '__do_not_document',
+ 'method' => 'POST',
+ 'path' => '/sites/%s/jps/woo-connect',
+ 'stat' => 'jps:woo-connect',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'request_format' => array(
+ 'access_token' => '(string) The access token for WooCommerce to connect to WooCommerce.com',
+ 'access_token_secret' => '(string) The access token secret for WooCommerce to connect to WooCommerce.com',
+ 'user_id' => '(int) The user\'s ID after registering for a host plan',
+ 'site_id' => '(int) The site\'s ID after registering for a host plan',
+ ),
+ 'response_format' => array(
+ 'success' => '(bool) Setting access token and access token secret successful?',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ 'body' => array(
+ 'access_token' => '123456789',
+ 'access_token_secret' => 'abcdefghiklmnop',
+ 'user_id' => 1,
+ 'site_id' => 2,
+ ),
+ ),
+ 'example_response' => '{ "success": true }',
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/jps/woo-connect',
+ )
+);
// POST /sites/%s/install-backup-helper-script
-require_once( $json_jetpack_endpoints_dir . 'class-jetpack-json-api-install-backup-helper-script-endpoint.php' );
-new Jetpack_JSON_API_Install_Backup_Helper_Script_Endpoint( array(
- 'description' => 'Setup a Helper Script, to allow Jetpack Backup to connect to this site',
- 'group' => '__do_not_document',
- 'method' => 'POST',
- 'stat' => 'install-backup-helper-script',
- 'path' => '/sites/%s/install-backup-helper-script',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- ),
- 'request_format' => array(
- 'helper' => '(string) Base64-encoded Helper Script contents',
- ),
- 'response_format' => array(
- 'abspath' => '(string) WordPress install path',
- 'path' => '(string) Path of the helper script',
- 'url' => '(string) URL to access the helper script',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN',
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/install-backup-helper-script'
-) );
+require_once $json_jetpack_endpoints_dir . 'class-jetpack-json-api-install-backup-helper-script-endpoint.php';
+new Jetpack_JSON_API_Install_Backup_Helper_Script_Endpoint(
+ array(
+ 'description' => 'Setup a Helper Script, to allow Jetpack Backup to connect to this site',
+ 'group' => '__do_not_document',
+ 'method' => 'POST',
+ 'stat' => 'install-backup-helper-script',
+ 'path' => '/sites/%s/install-backup-helper-script',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'request_format' => array(
+ 'helper' => '(string) Base64-encoded Helper Script contents',
+ ),
+ 'response_format' => array(
+ 'abspath' => '(string) WordPress install path',
+ 'path' => '(string) Path of the helper script',
+ 'url' => '(string) URL to access the helper script',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/install-backup-helper-script',
+ )
+);
// POST /sites/%s/delete-backup-helper-script
-require_once( $json_jetpack_endpoints_dir . 'class-jetpack-json-api-delete-backup-helper-script-endpoint.php' );
-new Jetpack_JSON_API_Delete_Backup_Helper_Script_Endpoint( array(
- 'description' => 'Delete a Helper Script',
- 'group' => '__do_not_document',
- 'method' => 'POST',
- 'stat' => 'delete-backup-helper-script',
- 'path' => '/sites/%s/delete-backup-helper-script',
- 'allow_jetpack_site_auth' => true,
- 'path_labels' => array(
- '$site' => '(int|string) The site ID, The site domain',
- ),
- 'response_format' => array(
- 'success' => '(bool) Deleted the Helper Script successfully?'
- ),
- 'request_format' => array(
- 'path' => '(string) Path to Helper Script to delete',
- ),
- 'example_request_data' => array(
- 'headers' => array(
- 'authorization' => 'Bearer YOUR_API_TOKEN',
- ),
- ),
- 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/delete-backup-helper-script'
-) );
+require_once $json_jetpack_endpoints_dir . 'class-jetpack-json-api-delete-backup-helper-script-endpoint.php';
+new Jetpack_JSON_API_Delete_Backup_Helper_Script_Endpoint(
+ array(
+ 'description' => 'Delete a Helper Script',
+ 'group' => '__do_not_document',
+ 'method' => 'POST',
+ 'stat' => 'delete-backup-helper-script',
+ 'path' => '/sites/%s/delete-backup-helper-script',
+ 'allow_jetpack_site_auth' => true,
+ 'path_labels' => array(
+ '$site' => '(int|string) The site ID, The site domain',
+ ),
+ 'response_format' => array(
+ 'success' => '(bool) Deleted the Helper Script successfully?',
+ ),
+ 'request_format' => array(
+ 'path' => '(string) Path to Helper Script to delete',
+ ),
+ 'example_request_data' => array(
+ 'headers' => array(
+ 'authorization' => 'Bearer YOUR_API_TOKEN',
+ ),
+ ),
+ 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/delete-backup-helper-script',
+ )
+);
diff --git a/plugins/jetpack/languages/jetpack-af.mo b/plugins/jetpack/languages/jetpack-af.mo
deleted file mode 100644
index efca4f05..00000000
--- a/plugins/jetpack/languages/jetpack-af.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-ary.mo b/plugins/jetpack/languages/jetpack-ary.mo
deleted file mode 100644
index c992db09..00000000
--- a/plugins/jetpack/languages/jetpack-ary.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-az.mo b/plugins/jetpack/languages/jetpack-az.mo
deleted file mode 100644
index ed9a462b..00000000
--- a/plugins/jetpack/languages/jetpack-az.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-bg_BG.mo b/plugins/jetpack/languages/jetpack-bg_BG.mo
deleted file mode 100644
index ad8579c5..00000000
--- a/plugins/jetpack/languages/jetpack-bg_BG.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-bs_BA.mo b/plugins/jetpack/languages/jetpack-bs_BA.mo
deleted file mode 100644
index c2621cb8..00000000
--- a/plugins/jetpack/languages/jetpack-bs_BA.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-ca.mo b/plugins/jetpack/languages/jetpack-ca.mo
deleted file mode 100644
index a24e4e48..00000000
--- a/plugins/jetpack/languages/jetpack-ca.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-ckb.mo b/plugins/jetpack/languages/jetpack-ckb.mo
deleted file mode 100644
index 5a3f3516..00000000
--- a/plugins/jetpack/languages/jetpack-ckb.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-cs_CZ.mo b/plugins/jetpack/languages/jetpack-cs_CZ.mo
deleted file mode 100644
index 820d5bad..00000000
--- a/plugins/jetpack/languages/jetpack-cs_CZ.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-cy.mo b/plugins/jetpack/languages/jetpack-cy.mo
deleted file mode 100644
index 965dda98..00000000
--- a/plugins/jetpack/languages/jetpack-cy.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-da_DK.mo b/plugins/jetpack/languages/jetpack-da_DK.mo
deleted file mode 100644
index 3229882a..00000000
--- a/plugins/jetpack/languages/jetpack-da_DK.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-es_MX.mo b/plugins/jetpack/languages/jetpack-es_MX.mo
deleted file mode 100644
index 73a6b904..00000000
--- a/plugins/jetpack/languages/jetpack-es_MX.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-fr_CA.mo b/plugins/jetpack/languages/jetpack-fr_CA.mo
deleted file mode 100644
index c270606b..00000000
--- a/plugins/jetpack/languages/jetpack-fr_CA.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-gd.mo b/plugins/jetpack/languages/jetpack-gd.mo
deleted file mode 100644
index 32c18bb7..00000000
--- a/plugins/jetpack/languages/jetpack-gd.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-hu_HU.mo b/plugins/jetpack/languages/jetpack-hu_HU.mo
deleted file mode 100644
index 9c0c1dd3..00000000
--- a/plugins/jetpack/languages/jetpack-hu_HU.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-is_IS.mo b/plugins/jetpack/languages/jetpack-is_IS.mo
deleted file mode 100644
index 1fd11ae3..00000000
--- a/plugins/jetpack/languages/jetpack-is_IS.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-ka_GE.mo b/plugins/jetpack/languages/jetpack-ka_GE.mo
deleted file mode 100644
index ee16aa0f..00000000
--- a/plugins/jetpack/languages/jetpack-ka_GE.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-lt_LT.mo b/plugins/jetpack/languages/jetpack-lt_LT.mo
deleted file mode 100644
index 36ed9f81..00000000
--- a/plugins/jetpack/languages/jetpack-lt_LT.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-lv.mo b/plugins/jetpack/languages/jetpack-lv.mo
deleted file mode 100644
index 1a7461aa..00000000
--- a/plugins/jetpack/languages/jetpack-lv.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-mk_MK.mo b/plugins/jetpack/languages/jetpack-mk_MK.mo
deleted file mode 100644
index b9ae8aa4..00000000
--- a/plugins/jetpack/languages/jetpack-mk_MK.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-ms_MY.mo b/plugins/jetpack/languages/jetpack-ms_MY.mo
deleted file mode 100644
index ed95f5ac..00000000
--- a/plugins/jetpack/languages/jetpack-ms_MY.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-my_MM.mo b/plugins/jetpack/languages/jetpack-my_MM.mo
deleted file mode 100644
index 2e6674f2..00000000
--- a/plugins/jetpack/languages/jetpack-my_MM.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-nn_NO.mo b/plugins/jetpack/languages/jetpack-nn_NO.mo
deleted file mode 100644
index adaa9f35..00000000
--- a/plugins/jetpack/languages/jetpack-nn_NO.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-pl_PL.mo b/plugins/jetpack/languages/jetpack-pl_PL.mo
deleted file mode 100644
index aee6ca6a..00000000
--- a/plugins/jetpack/languages/jetpack-pl_PL.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-pt-ao.mo b/plugins/jetpack/languages/jetpack-pt-ao.mo
deleted file mode 100644
index 7bcdaa33..00000000
--- a/plugins/jetpack/languages/jetpack-pt-ao.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-pt_PT.mo b/plugins/jetpack/languages/jetpack-pt_PT.mo
deleted file mode 100644
index c38cc579..00000000
--- a/plugins/jetpack/languages/jetpack-pt_PT.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-sa_IN.mo b/plugins/jetpack/languages/jetpack-sa_IN.mo
deleted file mode 100644
index f8283df4..00000000
--- a/plugins/jetpack/languages/jetpack-sa_IN.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-si_LK.mo b/plugins/jetpack/languages/jetpack-si_LK.mo
deleted file mode 100644
index 7dbb889b..00000000
--- a/plugins/jetpack/languages/jetpack-si_LK.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-sl_SI.mo b/plugins/jetpack/languages/jetpack-sl_SI.mo
deleted file mode 100644
index 46e1d159..00000000
--- a/plugins/jetpack/languages/jetpack-sl_SI.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-sr_RS.mo b/plugins/jetpack/languages/jetpack-sr_RS.mo
deleted file mode 100644
index aca19772..00000000
--- a/plugins/jetpack/languages/jetpack-sr_RS.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-te.mo b/plugins/jetpack/languages/jetpack-te.mo
deleted file mode 100644
index 1ef45f9a..00000000
--- a/plugins/jetpack/languages/jetpack-te.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-th.mo b/plugins/jetpack/languages/jetpack-th.mo
deleted file mode 100644
index 153fe828..00000000
--- a/plugins/jetpack/languages/jetpack-th.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-uk.mo b/plugins/jetpack/languages/jetpack-uk.mo
deleted file mode 100644
index f5edc40d..00000000
--- a/plugins/jetpack/languages/jetpack-uk.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-ur.mo b/plugins/jetpack/languages/jetpack-ur.mo
deleted file mode 100644
index 9b4e32ac..00000000
--- a/plugins/jetpack/languages/jetpack-ur.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/jetpack-vi.mo b/plugins/jetpack/languages/jetpack-vi.mo
deleted file mode 100644
index 6ed9e77b..00000000
--- a/plugins/jetpack/languages/jetpack-vi.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/languages/json/jetpack-af-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-af-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 1e7b86d8..00000000
--- a/plugins/jetpack/languages/json/jetpack-af-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"af_ZA"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":[""],"Posts":["Bydraes"],"Front page":[""],"Pinterest":[""],"Google":[""],"Show related content after posts":[""],"Related":[""],"Disconnect":[""],"Save":["Stoor"],"Media":[""],"Site Stats":[""],"Sharing":[""],"Testimonials":[""],"Cancel":["Kanselleer"],"Comments":["Kommentare"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Wysig"],"Connected":[""],"Activate":["Aktiveer"],"Active":["Aktief"],"Settings":["Instellings"],"Learn More":[""],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ar-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ar-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 3e550193..00000000
--- a/plugins/jetpack/languages/json/jetpack-ar-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;","lang":"ar"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["تشتمل خطة %(planName)s الخاصة بك على %(featureName)s. يبدو أنك اشتريت منتج %(productName)s كذلك. ضع في الحسبان إزالة %(productName)s."],"real-time backups":["عمليات النسخ الاحتياطي في الوقت الفعلي"],"daily backups":["عمليات النسخ الاحتياطي اليومية"],"Renews on %s.":["يتم التجديد بتاريخ %s."],"Purchased on %s.":["تم الشراء بتاريخ %s."],"Select a backup option:":["حدد خيارًا للنسخ الاحتياطي:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["الترقية إلى %(name)s مقابل {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["تقوم بحفظ {{savings /}} عن طريق الدفع سنويًا"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["أسرع، هذه {{s}}أسعار تمهيدية محدودة الوقت!{{/s}}"],"Up to %(percent)d%% off!":["خصم يصل إلى %(percent)d%%!"],"per month":["شهريًا"],"per year":["سنويًا"],"Which backup option is best for me?":["أي من خيارات النسخ الاحتياطي مناسب لي؟"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["إدارة الاشتراك"],"Your site is being backed up.":["يتم نسخ موقعك احتياطيًا."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["يتعين عليك إدخال بيانات اعتماد الخادم الخاصة بك لإنهاء تكوين النسخ الاحتياطي لـ Jetpack."],"Jetpack Backup is being configured for your site.":["يتم تكوين النسخ الاحتياطي لـ Jetpack في موقعك."],"Daily Backups":["عمليات النسخ الاحتياطي اليومية"],"Just looking for backups? We've got you covered.":["هل تبحث عن نُسخ احتياطية فقط؟ قمنا بدعمك."],"Solutions":["الحلول"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["تم تضمينها في {{planLink}}خطّتك الاحترافية{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["تم تضمينها في {{planLink}}خطّتك المميّزة{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["تم تضمينها في {{planLink}}خطّتك الشّخصيّة{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["يضمن لك التشغيل الدائم لعمليات النسخ الاحتياطي عدم فقدان موقعك مطلقًا. تُحفظ التغييرات التي أجريتها في أثناء التحرير، ويصبح لديك عدد غير محدود من أرشيفات النسخ الاحتياطي."],"Always-on backups ensure you never lose your site.":["يضمن لك التشغيل الدائم لعمليات النسخ الاحتياطي عدم فقدان موقعك مطلقًا."],"My Products":["منتجاتي"],"My Plan":["خطتي"],"Jetpack Backup {{em}}Real-Time{{/em}}":["النسخ الاحتياطي {{em}}الفوري{{/em}} لـ Jetpack"],"Your data is being securely backed up as you edit.":["يتم نسخ بياناتك احتياطيًا بأمان بينما تقوم بالتحرير."],"Jetpack Backup {{em}}Daily{{/em}}":["النسخ الاحتياطي {{em}}اليومي{{/em}} لـ Jetpack"],"Your data is being securely backed up every day with a 30-day archive.":["يتم نسخ بياناتك احتياطيًا بأمان يوميًا مع أرشفتها لمدة 30 يومًا."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["الإصدار المتميز من Jetpack"],"Jetpack Personal":["الإصدار الشخصي من Jetpack"],"Jetpack Free":["الإصدار المجاني من Jetpack"],"Expired on %s.":["انتهت الصلاحية في %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["هل لديك سؤال؟ يسعدنا تقديم المساعدة! {{a}}أرسل طلبًا إلى فريق دعم Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["يتضمن Jetpack العديد من الأدوات الفعالة التي تساعدك في تحقيق أهدافك"]," We’ve highlighted some of the features you rely on below.":[" لقد ميزنا بعض الميزات التي يمكنك الاعتماد عليها أدناه."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["يعمل Jetpack على تشغيل ميزات على موقعك الآن. بمجرد تعطيل Jetpack، لن تبقى هذه الميزات متوفرة وقد لا يعمل موقعك بالطريقة نفسها."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["يعمل Jetpack على تشغيل ميزات على موقعك الآن. بمجرد قطع اتصال Jetpack، لن تبقى هذه الميزات متوفرة وقد لا يعمل موقعك بالطريقة نفسها."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["يمكنك زيادة حركة المرور من خلال {{a}}النشر والمشاركة{{/a}} المجتمعية التلقائية."],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["امنع {{a}}هجمات القوة الغاشمة{{/a}} واحصل على تنبيهات فورية في حال تعطل موقعك"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["يمكنك زيادة سرعة موقعك وتوفير صور مناسبة للهواتف المحمولة من خلال {{a}}CDN الخاص بنا{{/a}}"],"Disable":["تعطيل"],"Are you sure you want to disconnect and deactivate?":["هل تريد بالتأكيد فصل الاتصال وإلغاء التنشيط؟"],"Are you sure you want to disconnect?":["هل تريد بالتأكيد فصل الاتصال؟"],"Disable Jetpack":["تعطيل Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["نقوم بنسخ موقعك على الويب احتياطيًا مع كل تغيير تجريه، الأمر الذي يُسهِّل من إصلاح أخطائك."],"Automated Real-time Backups":["عمليات النسخ الاحتياطي التلقائية الفورية"],"We back up your website every day, so you never have to worry about your data again.":["نقوم بنسخ موقعك على الويب يوميًا، لذا لا داعي للقلق على بياناتك بعد الآن."],"Automated Daily Backups":["عمليات النسخ الاحتياطي التلقائية اليومية"],"View Your Backups":["عرض عمليات النسخ الاحتياطي الخاصة بك"],"A Jetpack Site securely backed up with Jetpack Backup":["قام موقع Jetpack بالنسخ الاحتياطي بأمان باستخدام النسخ الاحتياطي في Jetpack"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["استخدم الصياغة المبسَّطة لإنشاء محتوى به روابط وقوائم وأنماط أخرى. يعمل هذا الإعداد على تمكين الصياغة المبسَّطة في المحرر التقليدي وداخل مكوّن المحرر التقليدي كذلك."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}قم بالتفعيل{{/a}} لتحسين أحجام الصور وتحميلها من شبكة الخوادم العالمية السريعة في Jetpack. يحسِّن هذا من أداء موقعك على الأجهزة المكتبية والمحمولة."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["يقوم Jetpack بتحسين أحجام الصور الخاصة بك وتسريع تنزيلها باستخدام شبكة الخوادم العالمية السريعة لدينا. يحسِّن هذا من أداء موقعك على الأجهزة المكتبية والمحمولة."],"Image Accelerator":["مُسرِّع الصور"],"Start with free":["البدء مجانًا"],"Now that you're set up, pick a plan that fits your needs.":["والآن بعد أن تقوم بالإعداد، اختر خطة تناسب احتياجاتك."],"Jetpack Backup":["نسخ احتياطي عبر Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["توفِّر خطة Jetpack الخاصة بك حماية ضد البريد المزعج من خلال Akismet. انقر على \"إعداد\" لتمكينه على موقعك."],"Already have a key? {{a}}Activate Akismet{{/a}}":["هل لديك مفتاح بالفعل؟ {{a}}تفعيل Akismet{{/a}}"],"Verifying…":["جاري التحقق…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["حسِّن من تصنيفات محرك البحث من خلال أدوات SEO الفعالة في Jetpack Premium أو Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["امنح موقعك طابعًا سريع التحميل وانسيابيًّا يناسب الأجهزة المحمولة. سيستمر الزائرون في رؤية نسقك العادي على أحجام الشاشة الأخرى."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["أنشئ تجربة قراءة سلسة من دون انقطاع عن طريق تحميل مزيد من المحتوى أثناء تمرير الزائرين إلى أسفل صفحات الأرشيف الخاصة بك."],"Customize your SEO settings":["تخصيص إعدادات SEO الخاصة بك"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["تحكم في طريقة تقديم محركات البحث لموقعك. باستخدام أدوات SEO في Jetpack يمكنك معاينة طريقة ظهور محتواك على محركات البحث الشهيرة وتغيير عناصر مثل اسم موقعك وعلاماتك في ثوانٍ."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["أضف أزرار المشاركة لكي يتمكن الزائرون من مشاركة مقالاتك وصفحاتك على شبكات التواصل الاجتماعي بنقرتين صغيرتين."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["تضمين مخطط صغير في شريط المسؤول الخاص بك مع لقطة حركة مرور مدتها 48 ساعة"],"Expand to update settings for how visits are counted and manage who can view this information.":["يمكنك التوسيع لتحديث الإعدادات المتعلقة بكيفية إحصاء عدد الزيارات وإدارة الأشخاص الذين يمكنهم مشاهدة هذه المعلومات."],"You can customize the sharing buttons and choose which services to display.":["يمكنك تخصيص أزرار المشاركة واختيار الخدمات المراد عرضها."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["يحمي Jetpack موقعك. سيتم إعلامك إذا كان لا بد من التركيز على شيء ما."],"Find threats early so we can help fix them fast.":["يمكنك العثور على التهديدات مبكرًا لكي نتمكن من المساعدة على إصلاحها سريعًا."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["استبدل البحث الأساسي في موقعك ببحث يمكن تخصيصه ويساعد الزائرين على العثور على الإجابات بشكل أسرع."],"Never worry about losing your site – automatic backups keep your content safe.":["لا داعي للقلق بشأن فقدان موقعك – تحافظ عمليات النسخ الاحتياطي التلقائية على محتواك آمنًا."],"Protect":["الحماية"],"Scan":["فحص"],"Automatically clear spam from your comments and forms so you can get back to your business.":["امسح البريد المزعج تلقائيًّا من تعليقاتك ونماذجك لكي تتمكن من الرجوع إلى أعمالك."],"Anti-spam":["مكافحة البريد المزعج"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["اربط موقعك بـ Google Analytics في غضون ثوانٍ باستخدام الإصدار Premium أو Professional من Jetpack."],"Log in to the WordPress mobile app":["تسجيل الدخول إلى تطبيق ووردبريس على الهاتف المحمول"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["يمكنك تسجيل الدخول بسهولة إلى تطبيق WordPress.com عن طريق النقر على الرابط الذي سنرسله إلى عنوان البريد الإلكتروني الموجود على حسابك."],"Email me a link to log in to the app":["إرسال رابط إليّ عبر البريد الإلكتروني لتسجيل الدخول إلى التطبيق"],"Send your new posts to this email address:":["إرسال مقالاتك الجديدة إلى عنوان البريد الإلكتروني هذا:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["النشر عبر البريد الإلكتروني هو طريقة سريعة لنشر مقالات جديدة من دون زيارة موقعك. سننشئ عنوان بريد إلكتروني فريدًا من نوعه من أجلك لإرسال محتواك إليه، وسيظهر هذا بعد ذلك على موقعك كأي مقالة أخرى."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["يحل شريط أدوات WordPress.com محل شريط أدوات مسؤول ووردبريس الافتراضي. يوفِّر وصولاً بنقرة واحدة إلى التنبيهات وملفك الشخصي على WordPress.com ومواقع الويب الأخرى الخاصة بك على Jetpack و WordPress.com. يمكنك أيضًا اللحاق بالمواقع التي تتابعها في القارئ."],"Verify site ownership with third party services":["تحقق من ملكية الموقع باستخدام خدمات الأطراف الثالثة"],"Generate shortened URLs for simpler sharing.":["إنشاء عناوين URL مختصرة لمشاركة أيسر."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["اجعل زائريك يشاركون في المحتوى ذي الصلة في الجزء السفلي من كل مقالة. لن تنطبق هذه الإعدادات على {{a}}المقالات ذات الصلة المضافة باستخدام محرر المكوِّن{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["تساعد الميزة الزائرين على العثور على مزيد من المحتوى الخاص بك عن طريق عرض المقالات ذات الصلة في الجزء السفلي من كل مقالة."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["ينشئ Jetpack تلقائيًّا {{link1}}ads.txt{{/link1}} مخصص يكون مصممًا خصوصًا لموقعك. إذا كنت تحتاج إلى إضافة إدخالات إضافية للشبكات الأخرى، فيرجى إضافتها في المساحة أدناه، إدخال واحد في كل سطر. {{link2}}تحقق هنا للحصول على مزيد التفاصيل{{/link2}}."],"Add sharing buttons to your posts and pages":["إضافة أزرار المشاركة إلى مقالاتك وصفحاتك"],"Share your content to social media, reaching new audiences and increasing engagement.":["شارك محتواك مع وسائل التواصل الاجتماعي إلى جانب الوصول إلى جمهور جديد وزيادة المشاركة."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["استقبل تحذيرات إذا كان موقعك غير متصل بالإنترنت. سنسمح لك بمعرفة متى يُنسخ احتياطيًّا كذلك."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["باستخدام Jetpack، يمكنك اختيار تحديث الإضافات تلقائيًّا مع كل إصدار جديد من الإضافة. ستحصل على أحدث إصلاحات الأمان والأخطاء على الفور، الأمر الذي يضمن بقاء موقعك آمنًا."],"Choose which plugins to auto-update":["اختيار الإضافات المطلوب تحديثها تلقائيًّا"],"Upgrade Jetpack now":["ترقية Jetpack الآن"],"Monetize your site by running high quality ads.":["يمكنك تحقيق أرباح من موقعك عن طريق تشغيل إعلانات عالية الجودة."],"Customize your social posting schedule.":["خصص جدول النشر الخاص بك على وسائل التواصل الاجتماعي."],"Expand your audience with pro SEO tools.":["يمكنك زيادة جمهورك باستخدام أدوات تحسين محركات البحث الاحترافية."],"Take your site to the next level!":["انتقل بموقعك إلى المستوى التالي!"],"Search support docs":["البحث عن وثائق الدعم"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["هل تحتاج إلى مساعدة؟ تعرَّف على البدء وتخصيص موقعك باستخدام قصاصات الرمز المتقدِّم، والمزيد."],"Start sharing":["بدء المشاركة"],"Optimized performance":["أداء مُحسَّن"],"Enable the “subscribe to comments” option on your comment form":["تمكين خيار \"الاشتراك في التعليقات\" على نموذج التعليقات الخاص بك"],"Enable the “subscribe to site” option on your comment form":["تمكين خيار \"الاشتراك في الموقع\" على نموذج التعليقات الخاص بك"],"Manage advanced comment settings and grow your audience with email subscriptions.":["يمكنك إدارة إعدادات التعليقات المُتقدِّمة وزيادة جمهورك باستخدام الاشتراكات عبر البريد الإلكتروني."],"Comment form introduction":["مقدمة عن نموذج التعليقات"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["تكون مكافحة البريد المزعج في Jetpack مدعومة من أكيسميت. يتم التحقق من مرات نماذج التعليقات وجهات الاتصال من قاعدة البيانات العالمية لدينا والخاصة بالبريد المزعج."],"Failed to send login email":["فشل إرسال البريد الإلكتروني الخاص بتسجيل الدخول"],"Login email sent":["تم إرسال البريد الإلكتروني الخاص بتسجيل الدخول"],"Sending login email…":["جارٍ إرسال البريد الإلكتروني الخاص بتسجيل الدخول…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["هل تشعر بالقلق حيال الأمان؟ الحصول على نُسخ احتياطية وإصلاحات آمان تلقائية والمزيد: {{a}}ترقية الآن{{/a}}"],"Allow readers to like individual comments.":["اسمح للقراء بالإعجاب بالتعليقات الفردية."],"Enable comment likes.":["تمكين الإعجاب بالتعليقات."],"Allow readers to use markdown in comments.":["اسمح للقراء باستخدام التمييز في التعليقات."],"Show Gravatar hovercards alongside comments.":["أظهر بطاقات تمرير جرافتار جنبًا إلى جنب مع التعليقات."],"Complete Jetpack Setup":["اكتمال إعداد Jetpack"],"Your Jetpack setup progress":["تقدّم إعداد Jetpack الخاص بك"],"View your setup checklist":["عرض قائمة اختيار الإعداد الخاصة بك"],"Yearly":["سنوي"],"Monthly":["شهري"],"About Jetpack":["نبذة عن Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["تمكين عناصر التحكم في إمكانية رؤية المربع الجانبي لعرض المربعات الجانبية على مقالات أو صفحات مُعيَّنة فقط."],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["تُتيح لك إمكانية رؤية المربع الجانبي تحديد المربعات الجانبية التي تظهر على أي من الصفحات، بحيث يمكنك تصميم محتوى المربع الجانبي بدقة."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["جعل المربعات الجانبية الإضافية متاحة للاستخدام في موقعك، بما في ذلك نماذج الاشتراك وتدفقات تويترو"],"Enhance CSS customization panel":["تعزيز لوحة تخصيص CSS"],"Writing":["الكتابة"],"Compose using shortcodes to embed media from popular sites":["إنشاء باستخدام أكواد قصيرة لتضمين وسائط من مواقع شائعة"],"Traffic":["حركة المرور"],"You need to enter your server credentials to finish configuring Backups and Scan.":["يتعين عليك إدخال بيانات اعتماد الخادم الخاص بك للانتهاء من عمليات النسخ الاحتياطي والفحص."],"Awaiting credentials":["بيانات اعتماد يُنتظر الموافقة عليها"],"Backups and Scan are being configured for your site.":["جارٍ تكوين عمليات النسخ الاحتياطي لموقعك وفحصه."],"Provisioning":["الاعتمادات"],"Action needed":["الإجراء اللازم"],"Setting up":["الإعداد"],"Discussion":["مناقشة"],"We are configuring your site protection.":["نقوم بتكوين حماية موقعك."],"View your site's backups":["عرض عمليات النسخ الاحتياطي لموقعك"],"We are backing up your site in real-time.":["نقوم بنسخ موقعك احتياطيًّا في الوقت الفعلي."],"Enter credentials":["إدخال بيانات الاعتماد"],"You need to enter your server's credentials to finish the setup.":["يتعين عليك إدخال بيانات اعتماد الخادم الخاص بك للانتهاء من الإعداد."],"We are configuring your site's backups.":["نقوم بتكوين عمليات النسخ الاحتياطي لموقعك."],"View site activity":["عرض نشاط الموقع"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["يحتفظ Jetpack بسجل كامل لكل ما يحدث في موقعك، مما يستبعد التخمين عن إدارة الموقع وتصحيح أخطائه وإصلاحه."],"Explore our Jetpack plans":["استكشاف خطط Jetpack"],"Support documentation":["وثائق الدعم"],"Chat bubbles representing getting in touch with support":["فقاعات الدردشة التي تُمثِّل التواصل مع الدعم"],"Site activity":["نشاط الموقع"],"Reach a wider audience by automatically sharing your posts on social media.":["يمكنك الوصول إلى مجموعة كبيرة من الجمهور عن طريق مشاركة مقالاتك على وسائل التواصل الاجتماعي تلقائيًّا."],"Increase traffic to your site":["زيادة المرور في موقعك"],"Explore free themes":["استكشاف قوالب مجانية"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["احصل على وصول غير محدود إلى مئات من القوالب الاحترافية، وخصص موقعك بدقة بالشكل الذي تريده."],"A wide variety of themes and tools to customize a site":["مجموعة كبيرة من القوالب والأدوات اللازمة لتخصيص الموقع"],"Set up your site security":["إعداد أمان موقعك"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["امنع هجمات تسجيل الدخول واحصل على تنبيهات فورية عند وجود مشكلة في موقعك."],"Site stats showing an evolution in traffic and engagement":["إحصاءات الموقع التي تُظهر تطورًا في المرور والمشاركة"],"A hand holding a loupe":["يد تحمل عدسة"],"A chart showing an healthy increase in earnings":["مخطط يُظهر زيادة فعّالة في الأرباح"],"Interface showing a chronological list of changes and updates in a site":["واجهة مستخدم تُظهر قائمة مرتّبة زمنيًّا من التغييرات والتحديثات في الموقع"],"A cloud with multiple types of content floating around it":["سحابة تتضمن أنواعًا عديدة من المحتوى الموجود بها"],"A folder holding real comments":["مجلد يتضمن تعليقات حقيقية"],"Make your site faster":["جعل الموقع أسرع"],"Load pages faster by serving your images from our global network of servers.":["يمكنك تحميل صفحاتك بشكل أسرع عن طريق عرض صورك من خلال شبكة الخوادم العالمية لدينا."],"A fast and performant website":["موقع ويب سريع وفعّال"],"A secure site, locked and protected by Jetpack":["موقع آمن يقوم Jetpack بتأمينه وحمايته"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["انسخ المقالات والصفحات والشهادات وقوائم المشروعات الموجودة. سيُنسخ كل المحتوى بما في ذلك النصوص والصور المميّزة وإعدادات المشاركة والمزيد."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["يتعذر اتصال هذا الموقع بـ WordPress.com حيث إنَّه ينتهك {{a}}شروط الخدمة{{/a}} التي نُقرّها."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["اربط موقعك على الويب بشبكات وسائل التواصل الاجتماعي التي تستخدمها وشارك المحتوى الخاص بك عبر جميع حساباتك على وسائل التواصل الاجتماعي بنقرة واحدة. عندما تنشر مقالة، ستظهر على جميع الحسابات المتصلة."],"Add Like buttons to your posts and pages":["إضافة أزرار الإعجاب إلى مقالاتك وصفحاتك"],"When visitors enjoy your content, let them show it with a Like.":["عندما يستمتع الزائرون بمحتواك، دعهم يظهرون ذلك بواسطة الإعجاب."],"Create account":["إنشاء حساب"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["يدعم Jetpack موقعك، ولكن للوصول إلى جميع ميزاته التي ستحتاج إليها لإنشاء حساب."],"Compose content the way you want to and streamline your publishing experience.":["أنشئ المحتوى بالطريقة التي تريدها لتبسيط تجربتك في النشر."],"Add a portfolio item":["إضافة عنصر قائمة المشروعات"],"Add a testimonial":["إضافة شهادة"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["قم بتطوير ظهور موقعك في محركات البحث واعرض إحصاءات المرور بشكل فوري."],"Create a Jetpack account to use this feature":["إنشاء حساب Jetpack لاستخدام هذه الميزة"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["سيراقب Jetpack موقعك باستمرار، وسيقوم بتنبيهك عند الكشف عن عطل."],"Error enabling Site accelerator. %(error)s":["حدث خطأ أثناء تمكين مُسرِّع الموقع. %(error)s"],"Site accelerator is now speeding up your site!":["يقوم مُسرِّع الموقع بتسريع موقعك الآن!"],"Enabling Site accelerator…":["جارٍ تمكين مُسرِّع الموقع..."],"Error disabling site accelerator. %(error)s":["حدث خطأ أثناء تعطيل مُسرِّع الموقع. %(error)s"],"Site accelerator is no longer speeding up your site!":["لن يقوم مُسرِّع الموقع بتسريع موقعك بعد الآن!"],"Disabling site accelerator…":["جارٍ تعطيل مُسرِّع الموقع..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["يمكنك تحميل الصور بشكل أسرع، وتحسين الصور، وتسريع تجربة الزائرين لديك."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["يمكنك استكمال إحصاءات WordPress.com باستخدام مظهر Google المتعمق في أنماط الزائرين والمرور."],"High-speed, high-definition video hosting with no third-party ads.":["يمكنك استضافة فيديو فائق السرعة وعالي الجودة من دون إعلانات الأطراف الثالثة."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["يمكنك جدولة التغريدات غير المحدودة ومقالات Facebook وغيرها من المقالات الاجتماعية مسبقًا."],"Marketing Automation":["أتمتة التسويق"],"Activate Jetpack Search":["تنشيط ميزة البحث في Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["استبدل أفضل النتائج والترشيح المدعوم من Elasticsearch ببحث ووردبريس الافتراضي."],"Start earning":["البدء في الربح"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["يسمح لك WordAds بجني المال عن طريق عرض محتوى ترويجي. ابدأ في جني المال اليوم."],"Spam is automatically blocked from your comments.":["يُحظر البريد العشوائي تلقائيًّا من تعليقاتك."],"Browse premium themes":["تصفح القوالب المتميزة"],"Access hundreds of beautifully designed premium themes at no extra cost.":["قم بالوصول إلى مئات من القوالب المتميزة المصممة بشكل جميل من دون أي تكلفة إضافية."],"Try a premium theme":["تجربة قالب متميز"],"View settings":["عرض الإعدادات"],"Create a Jetpack account to view your email followers":["إنشاء حساب Jetpack لعرض متابعيك عبر البريد الإلكتروني"],"Manage security settings":["إدارة إعدادات الأمان"],"Jetpack is ready for the new WordPress editor":["أصبح Jetpack جاهزًا لمحرر ووردبريس الجديد"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["نُقدِّم اليوم الموجة الأولى من الكتل الخاصة بـ Jetpack والمصممة خصوصًا لتجربة المحرر الجديد: زر الدفع البسيط والنموذج والخريطة والتمييز."],"Build your Jetpack site with blocks":["إنشاء موقع Jetpack الخاص بك باستخدام الكتل"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["هل ثمَّة محرر جديد؟ نعم! {{a}}تعرّف على المزيد{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["كانت الميزات التي تعتمد عليها ملائمة لمحرر ووردبريس الجديد."],"Take me to the new editor":["خذني إلى المحرر الجديد"],"Testing Jetpack Connection":["اختبار اتصال Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["حدث خطأ أثناء اختبار Jetpack. خطأ: %(error)s"],"New in Jetpack!":["جديد في Jetpack!"],"Speed up static file load times":["زيادة سرعة تحميل الملفات الثابتة"],"Speed up image load times":["زيادة سرعة تحميل الصور"],"Enable site accelerator":["تمكين مسرع الموقع"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["تحميل الصفحات بصورة أسرع عن طريق السماح لبرنامج Jetpack بتحسين الصور وتقديم الصور والملفات الثابتة (مثل CSS وJavaScript) من شبكة الخوادم العالمية لدينا."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["أضف طبقة أمان إضافية إلى موقع الويب عن طريق تمكين تسجيل الدخول إلى WordPress.com والمصادقة الآمنة. إذا كانت لديك عدة مواقع تم تمكين هذا الخيار فيها، فستتمكن من تسجيل الدخول إلى كل موقع منها باستخدام بيانات الاعتماد نفسها."],"View your site activity":["عرض نشاط موقعك"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["عرض قائمة مرتبة ترتيبًا زمنيًا لجميع التغييرات والتحديثات التي تطرأ على موقعك بطريقة منظمة وسهلة القراءة."],"Manually Verify ":["التحقق يدويًّا "],"Verify with Google":["التحقق باستخدام غوغل"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["سيُرسل إليك غوغل رسالة عبر البريد الإلكتروني حول بعض الأحداث التي تقع في حياتك، بما في ذلك المؤشرات التي تُفيد بأنّ موقعك على الويب تعرّض {{a1}}للاختراق{{/a1}}، أو المشكلات المتعلقة {{a2}}بتتبع{{/a2}} موقعك أو فهرسته."],"or":["أو"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["راقب حركة المرور والأداء في موقعك من {{a}}وحدة التحكم في البحث في غوغل{{/a}}."],"Your site is verified with Google":["يتم التحقق من موقعك باستخدام غوغل"],"Site failed to verify: %(error)s":["فشل الموقع في التحقق: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["أضف ميزة بحث أسرع وأكثر تقدّمًا إلى موقعك باستخدام Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["استبدال بالبحث المدمج في ووردبريس ميزة البحث من Jetpack، التي تُعد تجربة بحث متقدمة"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["تستبدل ميزة البحث في Jetpack بالبحث المدمج بحثًا سريعًا قابلاً للتوسيع يمكن تخصيصه ووثيق الصلة تتم استضافته في سحابة WordPress.com. النتيجة: يعثر مستخدموك على المحتوى الذي يريدونه بشكل أسرع."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["يُعد البحث المدمج في ووردبريس رائعًا للمواقع التي لا تحتوي على الكثير من المحتوى. ولكن مع نمو موقعك، تتباطأ عمليات البحث وتعرض نتائجًا أقل صلة."],"Jetpack Search supports many customizations.":["تدعم ميزة البحث في Jetpack العديد من التخصيصات."],"Site is verified":["يتم التحقق من الموقع"],"Spam filtering and priority support.":["تصفية البريد المزعج ودعم الأولوية."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["عندما يتم تمكين الإعلانات، يقوم Jetpack تلقائيًا بإنشاء ملف ads.txt مُعد خصيصًا لموقعك."],"Custom ads.txt entries":["إدخالات ads.txt مخصصة"],"Privacy information":["معلومات الخصوصية"],"Enable Lazy Loading for images":["تمكين التحميل البطيء للصور"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["ستقوم الصور بطيئة التحميل بتحسين سرعة موقعك وخلق تجربة مشاهدة أكثر سلاسة. سيتم تحميل الصور عندما يقوم الزائرون بالتمرير إلى أسفل الشاشة، بدلاً من الكل في وقت واحد."],"Performance & speed":["الأداء والسرعة"],"Enable high-speed, ad-free video player":["تمكين مشغّل فيديوهات عالية السرعة ومن دون إعلانات"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["اجعل المحتوى الذي تنشره أكثر تفاعلاً مع الفيديو عالي الدقة. باستخدام أداة الفيديوهات في Jetpack، يمكنك تخصيص مشغّل الوسائط الخاص بك وتقديم مقاطع فيديو عالية السرعة ومن دون إعلانات ولا تحمل علامات تجارية إلى زائريك. تُستضاف مقاطع الفيديو على خوادم WordPress.com ولا تقلل من باقة الاستضافة الخاصة بك."],"Video":["الفيديو"],"Carousel color scheme":["نظام ألوان Carousel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["تعرض بيانات Exif للمشاهدين تفاصيل فنية إضافية عن صورة ما، مثل بعدها البؤري والفتحة وISO."],"Show photo Exif metadata in carousel (when available)":["اعرض بيانات تعريف EXIF الخاصة بالصورة في carousel (عند توفرها)"],"Display images in a full-screen carousel gallery":["اعرض الصور بملء الصورة في معرض carousel"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["أنشئ عروض شرائح بملء الشاشة في carousel للصور الموجودة في مقالاتك وصفحاتك. تكون معارض Carousel مألوفة وتُشجّع زائرو الموقع للتفاعل مع صورك."],"Portfolios shortcode: [portfolio]":["الكود المختصر لمعارض الأعمال: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["استخدم {{portfolioLink}}معارض الأعمال{{/portfolioLink}} الموجودة على موقعك لعرض أفضل أعمالك. إذا لم يدعم القالب الخاص بك معارض الأعمال في Jetpack، فسيظل بإمكانك استخدام الكود المختصر لعرضها على موقعك."],"Testimonials shortcode: [testimonials]":["الكود المختصر للشهادات: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["أضف {{testimonialLink}}الشهادات{{/testimonialLink}} إلى موقعك على الويب لجذب عملاء جدد. إذا لم يدعم القالب الخاص بك الشهادات في Jetpack، فسيظل بإمكانك استخدام الكود المختصر لعرضها على موقعك."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["يتعذر على محركات البحث الوصول إلى موقعك في الوقت الحالي. إذا كنت ترغب في جعل موقعك قابلاً للوصول، فتحقق من {{a}}إعدادات القراءة{{/a}} وشغّل ميزة \"رؤية محرك البحث\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["أخبار جيدة: يُرسل Jetpack خريطة موقعك تلقائيًّا إلى جميع محركات البحث الرئيسية للفهرسة."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["خرائط الموقع هي ملفات تستخدمها محركات البحث مثل Google أو Bing في فهرسة موقعك على الويب. يمكنهم المساعدة على تحسين تصنيفك في نتائج البحث. عتد تمكين هذه الميزة، سيُنشئ Jetpack خرائط الموقع من أجلك ويُحدّثها تلقائيًّا عندما يتغيّر المحتوى الموجود على موقعك."],"Configure related posts in the Customizer":["تكوين المقالات ذات الصلة في أداة التخصيص"],"Highlight related content with a heading":["إبراز المحتوى ذي الصلة مع أحد العناوين"],"View security scan details":["عرض تفاصيل فحص الأمان"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["عرض صورة مصغّرة حيثما تتوفر"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["للحصول على مزيد من المعلومات حول كيفية استخدام ميزات Jetpack المحددة لنشاط تتبع البيانات، يرجى الرجوع إلى {{privacyCenterLink}}مركز الخصوصية{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["نستخدم أدوات تتبع أخرى، بما في ذلك بعض الأدوات التي تنتمي إلى أطراف ثالثة. {{cookiePolicyLink}}اقرأ حول هذه الأدوات{{/cookiePolicyLink}} وكيفية التحكم بها."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["تساعدنا هذه المعلومات على تحسين منتجاتنا، وجعل التسويق أكثر ملاءمة لك، وتخصيص تجربة WordPress.com، والمزيد كما يرد بالتفصيل في {{pp}}سياسة الخصوصية{{/pp}} لدينا."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["شارك المعلومات مع أداة التحليلات لدينا حول استخدامك الخدمات أثناء تسجيل الدخول إلى حساب WordPress.com الخاص بك. {{cookiePolicyLink}}تعرّف على المزيد{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["يتحكم مسؤول الموقع في هذه الميزة. {{link}}تعرّف المزيد{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["قام مسؤول الموقع بتعطيل هذه الميزة. {{link}}تعرّف المزيد{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["قام مسؤول الموقع بتمكين هذه الميزة. {{link}}تعرّف المزيد{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["قام مسؤول الموقع بتعطيل %(moduleName)s. {{link}}تعرّف المزيد{{/link}}."],"This feature has been disabled by a site administrator.":["قام مسؤول الموقع بتعطيل هذه الميزة."],"%(moduleName)s has been disabled by a site administrator.":["قام مسؤول الموقع بتعطيل %(moduleName)s."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["يمكنك وضع إعلانات إضافية باستخدام مربع جانبي للإعلانات. {{link}}جرّب ذلك!{{/link}}"],"Configure your notification settings":["تكوين إعدادات التنبيهات لديك"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["تُعد ميزة البحث في Jetpack بديلاً فعّالاً لميزة إمكانية البحث المدمجة في ووردبريس."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["تُفحص الملفات على موقعك بانتظام بحثًا عن التعديلات غير المصرح بها أو المشكوك فيها التي يمكن أن تُعرض أمانك وبياناتك للخطر."],"Plugin needs updating.":["لا بد من تحديث المكوّن الإضافي.","لا بد من تحديث المكوّنات الإضافية.","لا بد من تحديث المكوّنات الإضافية.","لا بد من تحديث المكوّنات الإضافية.","لا بد من تحديث المكوّنات الإضافية.","لا بد من تحديث المكوّنات الإضافية."],"%(number)s":["%(number)s","%(number)s","%(number)s","%(number)s","%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["تسمح لك تحديثات مكوّن Jetpack الإضافي باختيار المكوّنات الإضافية التي يتم تحديثها تلقائيًّا."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["سيُحسّن Jetpack صورك ويوفِّرها من موقع الخادم الأقرب إلى زائريك. سيؤدي استخدام شبكة توصيل المحتوى العالمية إلى تعزيز سرعة التحميل في موقعك."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["ستراقب ميزة رصد التعطّل في Jetpack موقعك بإستمرار، وستنبهك في اللحظة التي يُكشف فيها عن التعطّل."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["تسمح لك عمليات النسخ الاحتياطي في Jetpack باستعادة إحدى النُسخ الاحتياطية أو تنزيلها بسهولة من لحظة معيّنة."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["تمكين قالب خفيف الوزن ومألوف للهواتف المحمولة سيُعرض لزوارك على الأجهزة المحمولة."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["تحميل المقالات التالية تلقائيًا عندما يقترب القارئ من أسفل الصفحة."],"Allows you to publish new posts by sending an email to a special address.":["السماح لك بنشر مقالات جديدة عن طريق إرسال بريد إلكتروني إلى عنوان خاص."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["إضافة شريط أدوات يحتوي على روابط إلى جميع مواقعك وتنبيهاتك وملفك الشخصي على WordPress.com والقارئ."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["تقديم الوسوم المخفية الضرورية واللازمة للتحقق من موقع ووردبريس الخاص بك مع خدمات متنوعة."],"Displays information on your site activity, including visitors and popular posts or pages.":["عرض معلومات عن نشاط موقعك، بما في ذلك الزوار والمقالات أو الصفحات الشائعة."],"Allows you to optimize your site and its content for better results in search engines.":["السماح لك بتحسين موقعك ومحتواه للحصول على نتائج أفضل في محركات البحث."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["دمج موقعك ووردبريس لديك مع Google Analytics، الذي يُعد منصة تقدم رؤى حول حركة المرور والزوار والتحويلات لديك."],"Displays high-quality ads on your site that allow you to earn income.":["عرض إعلانات عالية الجودة على موقعك تتيح لك كسب دخل."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["السماح لك بمشاركة أحدث محتوى تلقائيًا على مواقع التواصل الاجتماعي، بما في ذلك فيسبوك وتويتر."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["إضافة أزرار إعجاب إلى المحتوى الخاص بك بحيث يمكن للزوار إظهار تقديرهم أو استمتاعهم."],"Allows registered users to log in to your site with their WordPress.com accounts.":["السماح للمستخدمين المسجلين بتسجيل الدخول إلى موقعك باستخدام حسابات WordPress.com الخاصة بهم."],"Protects your site from traditional and distributed brute force login attacks.":["حماية موقعك من هجمات تسجيل الدخول الغاشمة التقليدية والموزعة."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["إجراء نسخ احتياطي لموقعك على خوادم WordPress.com العالمية، مما يسمح لك باستعادة المحتوى الخاص بك في حالة الطوارئ أو الخطأ."],"Removes spam from comments and contact forms.":["إزالة الرسائل غير المرغوب فيها من التعليقات ونماذج الاتصال."],"We are committed to your privacy and security. ":["نحن ملتزمون بخصوصيتك وأمانك. "],"View all Jetpack plans":["عرض كل خطط Jetpack"],"Manage your plan":["إدارة خطتك"],"Your Plan":["خطتك"],"You’re currently on Jetpack %(plan)s.":["أنت حاليًا على %(plan)s Jetpack."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["السماح للقراء بالاشتراك في مقالاتك أو تعليقاتك، وتلقي تنبيهات بالمحتوى الجديد عبر البريد الإلكتروني."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["استبدال نموذج تعليقات ووردبريس القياسي بنظام تعليقات جديد يتضمن خيارات تسجيل الدخول إلى مواقع التواصل الاجتماعي."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}التنشيط{{/a}} لاستبدال ميزة البحث في Jetpack — وهي تجربة بحث متقدمة — بميزة البحث المدمجة في ووردبريس."],"Add Search (Jetpack) Widget":["إضافة مربع البحث الجانبي (Jetpack)"],"Jetpack Search is powering search on your site.":["إن البحث في Jetpack يمكِّن البحث على موقعك."],"Manage your plugins":["إدارة مكوناتك الإضافية"],"Moderate comments":["إدارة التعليقات"],"Error updating privacy settings. %(error)s":["حدث خطأ أثناء تحديث إعدادات الخصوصية. %(error)s"],"Updated privacy settings.":["تم تحديث إعدادات الخصوصية."],"Updating privacy settings…":["جارٍ تحديث إعدادات الخصوصية…"],"Add Jetpack Search Widget":["إضافة المربع الجانبي \"بحث Jetpack\""],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["أضف مربعًا جانبيًّا لميزة البحث في Jetpack إلى شريطك الجانبي لتكوين الفرز والمرشحات."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["مجموعات الأمان الكاملة، وأدوات التشغيل التلقائي للتسويق والإيرادات، واستضافة مقاطع فيديو غير محدودة، وقوالب غير محدودة، والبحث المحسّن، والدعم ذو الأولوية."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["مجموعات الأمان الكاملة، وأدوات التشغيل التلقائي للتسويق والإيرادات، واستضافة مقاطع فيديو غير محدودة، والدعم ذو الأولوية."],"Daily backups, spam filtering, and priority support.":["النسخ الاحتياطية اليومية، وتصفية البريد المزعج، والدعم ذو الأولوية."],"Always-on security":["الأمان المتاح دائمًا"],"Activate video hosting":["تنشيط استضافة مقاطع الفيديو"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["نسخة احتياطية فورية لجميع بيانات موقعك بمساحة غير محدودة، واسترداد بنقرة واحدة، وفحص الأمان التقائي، والدعم ذو الأولوية"],"Design the perfect website":["تصميم موقع الويب المثالي"],"Set up Jetpack":["إعداد Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["نسخ احتياطي في وقت التشغيل لجميع بيانات موقعك بمساحة غير محدودة واستعادة بنقرة واحدة وفحص أمان تلقائي."],"Jetpack Search":["البحث في Jetpack"],"Jetpack version %(version)s":["إصدار Jetpack %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["جارٍ إجراء نسخة احتياطية لموقعك في وقت التشغيل وفحصه بانتظام للاحتراز من تهديدات الأمان."],"Daily backup of all your site data with unlimited space and one-click restores":["نسخ احتياطي يومي لجميع بيانات موقعك بمساحة غير محدودة واسترداد بنقرة واحدة"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["نسخ احتياطي فوري لجميع بيانات موقعك بمساحة غير محدودة واسترداد بنقرة واحدة وفحص أمان تلقائي وحل للتهديد بنقرة واحدة."],"View your security activity":["عرض نشاط الأمان"]," (powered by VaultPress).":[" (عن طريق VaultPress)."],"Customize Search Widget":["تخصيص المربع الجانبي للبحث"],"Please correct the issue below and try again.":["يُرجى تصحيح المشكلة أدناه والمحاولة مرة أخرى.","يُرجى تصحيح المشاكل المُدرجة أدناه والمحاولة مرة أخرى.","يُرجى تصحيح المشاكل المُدرجة أدناه والمحاولة مرة أخرى.","يُرجى تصحيح المشاكل المُدرجة أدناه والمحاولة مرة أخرى.","يُرجى تصحيح المشاكل المُدرجة أدناه والمحاولة مرة أخرى.","يُرجى تصحيح المشاكل المُدرجة أدناه والمحاولة مرة أخرى."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["نحن نتأكد من عدم وجود تهديدات أمنية في موقعك. سنخطرك إذا عثرنا على أي تهديدات."],"Jetpack version":["إصدار Jetpack"],"Activity":["النشاط"],"{{a}}View details{{/a}}":["{{a}}عرض التفاصيل{{/a}}"],"Monetize your site with ads":["تحقيق الأرباح من موقعك باستخدام الإعلانات"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["عن طريق النقر على الزر أدناه، أنت توافق على {{tosLink}}شروط الخدمة{{/tosLink}} لدينا وعلى {{shareDetailsLink}}مشاركة التفاصيل{{/shareDetailsLink}} مع WordPress.com."],"Jetpack Stats People":["صورة أشخاص ينتظرون إلى إحصاءات Jetpack"],"Hello there! Your stats have been activated.":["مرحبًا! تم تنشيط إحصاءاتك."],"Just give us a little time to collect data so we can display it for you here.":["أعطنا بعض الوقت لجمع البيانات لكي نتمكن من عرضها لك هنا."],"Okay, got it!":["حسنًا، فهمت!"],"Display ads below posts on":["عرض الإعلانات أسفل المقالات على"],"Additional ad placements":["مواضع الإعلانات الإضافية"],"Top of each page":["الجزء العلوي من كل صفحة"],"Second ad below post":["إعلان ثانٍ أسفل المقالة"],"Archives":["الأرشيف"],"Stars":["النجوم"],"Jupiter":["كوكب المشتري"],"Schedule posts":["جدولة المقالات"],"Activate Publicize":["تنشيط النشر"],"Your site is backed up.":["تم نسخ موقعك احتياطيًا."],"Get WordPress Apps for every device":["الحصول على تطبيقات ووردبريس الخاصة بكل جهاز"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["إدارة كل مواقعك من لوحة تحكم واحدة: نشر المحتوى وتتبع الإحصاءات والتعليقات المتوسطة والمزيد من أي مكان في العالم."],"Create address":["إنشاء عنوان"],"Automatically share your posts to social networks":["مشاركة مقالاتك تلقائيًا على شبكات التواصل الاجتماعي"],"Updating settings…":["جارٍ تحديث الإعدادات..."],"Updating Post by Email address…":["جارٍ تحديث المقالة باستخدام عنوان البريد الإلكتروني..."],"Your paid plan gives you access to prioritized Jetpack support.":["تتيح لك باقتك المدفوعة الوصول إلى دعم Jetpack ذي الأولوية."],"You have paid for backups but they're not yet active.":["لقد دفعتَ للنسخ الاحتياطية ولكن لم يتم تفعيلها حتى الآن."],"You have paid for backups and security scanning but they’re not yet active.":["لقد دفعتَ للنسخ الاحتياطية وفحص الأمان ولكن لم يتم تفعيلهما حتى الآن."],"Click \"Set Up\" to finish installation.":["انقر على \"إعداد\" لإنهاء التثبيت."],"Checking site status…":["جارٍ التحقق من حالة الموقع..."],"Pages":["صفحات"],"Access the full list of Jetpack modules available on your site.":["الوصول إلى القائمة الكاملة لوحدات Jetpack المتوفرة على موقعك."],"We're here to help":["نحن هنا للمساعدة"],"Jetpack comes with free, basic support for all users.":["يأتي Jetpack بدعم مجاني وأساسي لجميع المستخدمين."],"Ask a question":["طرح الأسئلة"],"Search our support site":["البحث في موقع الدعم"],"Get a faster resolution to your support questions.":["احصل على أسرع جواب عن أسئلة الدعم لديك."],"Host fast, high-quality, ad-free video.":["استضافة مقاطع الفيديو بسرعة وبجودة عالية وبدون إعلانات."],"Generate income with high-quality ads.":["تحقيق دخل من الإعلانات ذات الجودة العالية."],"Real-time site backups and automatic threat resolution.":["نسخ احتياطية فورية للموقع وحل تلقائي للتهديدات."],"Protect against data loss, malware, and malicious attacks.":["الحماية من فقدان البيانات والبرامج والهجمات الضارة."],"Protect your site from spam.":["حماية موقعك من البريد المزعج."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["هذا الموقع غير متصل بـ WordPress.com. يُرجى طلب الاتصال من مسؤول الموقع."],"An Automattic Airline":["شركة أوتوماتيك لخدمات التدوين"],"Manage site connection":["إدارة الاتصال بالموقع"],"Connect your account to WordPress.com to view more stats":["وصّل حسابك بـ WordPress.com لعرض المزيد من الإحصاءات"],"Theme enhancements":["تحسينات القوالب"],"Load more posts using the default theme behavior":["تحميل المزيد من المقالات باستخدام سلوك القالب الافتراضي"],"Load more posts in page with a button":["تحميل المزيد من المقالات في الصفحة باستخدام زر معين"],"Load more posts as the reader scrolls down":["تحميل المزيد من المقالات عندما يمرر القارئ إلى أسفل"],"Theme support required.":["يلزم دعم القالب."],"Learn more about adding support for Infinite Scroll to your theme.":["اعرف المزيد عن إضافة الدعم للتمرير اللانهائي وصولاً إلى القالب الخاص بك."],"Show excerpts instead of full posts on front page and archive pages":["عرض مقتطفات على الصفحة الرئيسية وعلى صفحات الأرشيف بدلاً من المقالات الكاملة"],"Show featured images":["إظهار الصور المميزة"],"Enable the WordPress.com toolbar":["تمكين شريط أدوات WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["سيتم عرض أدوات الكتابة المتاحة لك هنا عندما يقوم مسؤول بتمكينها."],"Portfolios":["معارض الأعمال"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["لاحظ أن {{b}}التحقق من موقعك باستخدام هذه الخدمات ليس ضروريًا {{/b}}لضمان فهرسة موقعك حسب محركات البحث. لاستخدام أدوات محركات البحث المتقدمة هذه والتحقق من موقعك باستخدام خدمة ما، ألصق كود وسم HTML أدناه. اقرأ {{support}}التعليمات الكاملة {{/support}}إذا كنت تواجه مشكلة. خدمات التحقق المدعومة: {{google}}وحدة تحكم بحث جوجل{{/google}} و{{bing}}أدوات مشرفي موقع محرك البحث بينغ{{/bing}} و{{pinterest}}التحقق من موقعك باستخدام بينتيريست {{/pinterest}}و{{yandex}}مشرفو موقع محرك البحث يندكس{{/yandex}}."],"Bing":["بينغ"],"Yandex":["يندكس"],"Generate XML sitemaps":["إنشاء خرائط الموقع XML"],"The image helps collect stats, but should work when hidden.":["تساعد الصورة على جمع الإحصاءات ولكن ينبغي أن تعمل عند إخفائها."],"Count logged in page views from":["قم بعدّ مشاهدات الذين سجلوا الدخول إلى الصفحة من"],"Allow stats reports to be viewed by":["السماح بعرض تقارير الإحصاءات حسب"],"In \"Upgrade\"":["قيد \"الترقية\""],"Configure your Google Analytics settings":["تكوين إعدادات تحليلات غوغل لديك"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["إظهار إعلانات في أول مقالة على صفحتك الرئيسية أو في نهاية كل صفحة ومقالة. وضع إعلانات إضافية في الجزء العلوي من موقعك وفي منطقة المربع الجانبي لزيادة الأرباح."],"Enable ads and display an ad below each post":["تمكين الإعلانات وعرض إعلان أسفل كل مقالة"],"Configure your sharing buttons":["تكوين أزرار المشاركة"],"Connect your social media accounts":["توصيل حسابات وسائل التواصل الاجتماعي الخاصة بك"],"Match accounts using email addresses":["مطابقة الحسابات باستخدام عناوين البريد الإلكتروني"],"Require accounts to use WordPress.com Two-Step Authentication":["يلزم حسابات لاستخدام مصادقة WordPress.com على خطوتين"],"Add to whitelist":["إضافة إلى قائمة السماح"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["يمكنك إدراج عنوان IP أو سلسلة عناوين في قائمة السماح، الأمر الذي يعمل على منعهم من الحظر بواسطة Jetpack. IPv4 وIPv6 مقبولان. لتحديد نطاق، أدخل القيمة المنخفضة والقيمة المرتفعة مفصولاً بينهما بشرطة. على سبيل المثال: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["أصبح موقعك منسوخًا احتياطيًا وبدون تهديدات."],"Checking your spam protection…":["جارٍ التحقق من الحماية من البريد المزعج…"],"Fetching key…":["جارٍ إحضار المفتاح…"],"Your site needs an Antispam key.":["يحتاج موقعك إلى مفتاح Antispam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["توجد مشكلة في مفتاح API الخاص بـ Antispam. {{a}}تعرف على المزيد{{/a}}."],"Your site is not protected from spam.":["لم تتم حماية موقعك من البريد المزعج."],"Your Antispam key is valid.":["مفتاح Antispam صالح."],"Your site is protected from spam.":["موقعك محمي من البريد المزعج."],"Checking key…":["جارٍ التحقق من المفتاح…"],"Your API key":["مفتاح واجهة برمجة التطبيقات (API)"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["إذا لم يكن لديك مفتاح API بالفعل، فمن ثم {{a}}احصل على مفتاح API من هنا{{/a}}، وسيتم توجيهك خلال عملية الحصول على مفتاح."],"No search results found for %(term)s":["لم يتم العثور على نتائج بحث لـ %(term)s"],"Enter a search term to find settings or close search.":["أدخل مصطلح بحث لإيجاد الإعدادات أو أغلق البحث."],"Connections":["اتصالات"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["موقعك في وضع التطوير، لذا لا يمكن اتصاله بـ WordPress.com."],"Your site is connected to WordPress.com.":["موقعك متصل بـ WordPress.com."],"You are the Jetpack owner.":["أنت مالك Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["متصل بصفة{{span}}%(username)s{{/span}}"],"View your Email Followers":["عرض متابعي البريد الإلكتروني"],"Color scheme":["نظام الألوان"],"Enable Markdown use for comments.":["تمكين استخدام التمييز للتعليقات."],"Updated settings.":["تم تحديث الإعدادات."],"Error updating settings. %(error)s":["حدث خطأ أثناء تحديث الإعدادات. %(error)s"],"Regenerated Post by Email address.":["تمت إعادة إنشاء مقالة باستخدام عنوان البريد الإلكتروني."],"Error regenerating Post by Email address. %(error)s":["حدث خطأ أثناء إعادة إنشاء مقالة باستخدام عنوان البريد الإلكتروني. %(error)s"],"Updated settings. Refreshing page…":["تم تحديث الإعدادات. جارٍ تحديث الصفحة…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["حاليًا في {{a}}وضع التطوير{{/a}} (بعض الميزات معطّلة) لأن:"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["عامل تصفية jetpack_development_mode نشط"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["ثابت JETPACK_DEV_DEBUG محدد"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}ينقص عنوان URL الخاص بموقعك نقطة (على سبيل المثال http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics هي خدمة مجانية تُكمل {{a}}الإحصاءات المدمجة{{/a}} الخاصة بنا برؤى مختلفة داخل حركة المرور الخاصة بك. تستخدم إحصاءات WordPress.com وGoogle Analytics وسائل مختلفة لتحديد النشاط وتتبعه على موقعك، لذا ستعرض كل منهما بطبيعة الحال إجماليات مختلفة قليلاً للزيارات والمشاهدات الخاصة بك وغير ذلك."],"Google Analytics":["تحليلات غوغل"],"Configure Google Analytics":["تكوين Google Analytics"],"Activate Google Analytics":["تفعيل تحليلات غوغل"],"Download the free apps":["تنزيل التطبيقات المجانية"],"Upgrade Focus: VideoPress For Weddings":["تركيز الترقية: VideoPress لحفلات الزفاف"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}يمكنك أيضًا تكوين المقالات المرتبطة في أداة التخصيص الآن. {{ExternalLink}}جرِّبه!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["تُعرض الإعلانات بصورة افتراضية في نهاية كل صفحة أو مقالة أو المقالة الأولى على الصفحة الرئيسية. كما يمكنك أيضًا إضافتها إلى الجزء العلوي من موقعك وإلى منطقة المربع الجانبي لزيادة الأرباح!"],"Display an ad unit at the top of your site.":["عرض وحدة إعلان في أعلى موقعك."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["عن طريق تنشيط الإعلانات، توافق على {{link}}شروط خدمة{{/link}} إعلانات Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["تم تكوين الخادم الخاص بك بصورة غير صحيحة، وهذا يعني أنه يتعذر على Jetpack Protect حماية موقعك بفاعلية."],"In \"Mobile\"":["في \"المحمول\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}تكوين إعدادات تنبيهات Monitor على WordPress.com{{/link}}"],"View your earnings":["عرض أرباحك"],"Configure site SEO":["تكوين SEO للموقع"],"Activate SEO tools":["تنشيط أدوات SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["لبدء الاستخدام، انقر فوق \"إضافة وسائط\" في محرر المقالات وحمّل مقطع فيديو؛ سنهتم بالباقي!"],"Video Hosting":["استضافة مقاطع فيديو"],"SEO Tools":["أدوات SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["أدوات SEO متقدمة لتساعد موقعك على الظهور عند البحث عن محتوى ذي صلة."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["أسهل طريقة لتحميل مقاطع فيديو خالية من الإعلانات ولا تحمل علامات تجارية معينة على موقعك. يمكن أن تحصل على إحصاءات بشأن تشغيل الفيديو والمشاركات، كما أن المشغل خفيف الوزن وعالي الاستجابة."],"You are running Jetpack on a staging server.":["أنت بصدد تشغيل Jetpack على خادم مرحلي."],"More Info":["المزيد من المعلومات"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}مشاهدة إدارة الإعجابات من إعدادات الوحدة النمطية للمشاركة{{/a}}"],"Your current IP: %(ip)s":["IP الحالي الخاص بك: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["توجد إعدادات غير محفوظة في علامة التبويب هذه ستُفقد إذا تركتها. هل تريد المتابعة؟"],"This will reset all Jetpack options, are you sure?":["سيؤدي ذلك إلى إعادة تعيين جميع خيارات Jetpack، هل أنت متأكد؟"],"Search for a Jetpack feature.":["البحث عن إحدى مزايا Jetpack."],"Configure your Security Scans":["تكوين فحوصات الأمان"],"Subscriber":["مشترك"],"Big iPhone/iPad Update Now Available":["تحديث Big iPhone/iPad متوفر الآن"],"The WordPress for Android App Gets a Big Facelift":["تجري حاليًا صيانة تطبيق ووردبريس للأندرويد"],"WordPress.com Likes are:":["إعجابات WordPress.com كالتالي:"],"A few catchy words to motivate your visitors to comment.":["بضع كلمات جذابة لتحفيز القرّاء على التعليق."],"Hide the stats smiley face image":["إخفاء الإحصائيات لصورة وجه الابتسامة"],"Whitelisted IP addresses":["عناوين IP المدرجة في قائمة السماح"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["إظهار دعاية عن تطبيق ووردبريس للجوال في تذييل قالب الجوال"],"Copied!":["تم النسخ!"],"Highlight and copy the following text to your clipboard:":["ميز النص التالي وانسخه إلى الحافظة لديك:"],"Regenerate address":["إعادة إنشاء العنوان"],"Cheatin' uh?":["عفواً، لا تملك الصلاحية الكافية."],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}هل لديك أي مانع من إخبارنا بسبب عدم إكمال اتصال Jetpack في هذا {{a}}الاستبيان المؤلف من سؤالين{{/a}}؟{{/p}}{{p}}يلزم اتصال Jetpack لكي تعمل ميزتا الأمان والمرور اللتان نقدمهما.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["مرحبًا بك في {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Jetpack متصل بالفعل."],"You're fueled up and ready to go, Jetpack is now active.":["أنت الآن على أهبة الاستعداد للبدء، Jetpack نشط الآن."],"You're fueled up and ready to go.":["أنت الآن على أهبة الاستعداد للبدء."],"You are currently running a development version of Jetpack.":["أنت حاليًا بصدد تشغيل نسخة مطوَّرة من Jetpack."],"Submit Beta feedback":["ملاحظات إرسال بيتا"],"What would you like to see on your Jetpack Dashboard?":["ماذا تود أن تشاهد في لوحة تحكم Jetpack؟"],"Let us know!":["دعنا نعرف!"],"Saving…":["جارٍ الحفظ..."],"Save Settings":["حفظ الإعدادات"],"Jetpack Stats Icon":["أيقونة إحصاءات Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}تفعيل إحصاءات الموقع{{/a}} لمشاهدة الإحصاءات والإعجابات والمتابعين والمشتركين وغيرها المزيد من البيانات التفصيلية! {{a1}}اعرف المزيد{{/a1}}"],"Activate Site Stats":["تفعيل إحصاءات الموقع"],"Site Backups":["نُسخ احتياطية لموقعك"],"Upgrade":["ترقية"],"ACTIVE":["مفعّل"],"View your spam stats":["عرض إحصاءات البريد المزعج"],"View your security dashboard":["عرض لوحة تحكم الأمان"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["الموقع في وضع التطوير، ولذا لا يمكنك الاتصال بـ WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["ربط حسابك بـ WordPress.com لتحقيق أقصى استفادة من Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["لفحص تهديدات الأمان بصورة آلية وشاملة، يُرجى {{a}}تثبيت VaultPress{{/a}} وتفعيله."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["يقوم Jetpack بحظر محاولات تسجيل الدخول الضارة بفعالية. ستظهر البيانات هنا قريبًا!"],"Total malicious attacks blocked on your site.":["إجمالي الهجمات الضارة المحظورة على موقعك."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}قم بتفعيل الحماية{{/a}} لحماية موقعك من محاولات تسجيل الدخول الضارة."],"All plugins are up-to-date. Awesome work!":["كل الإضافات محدثة. عمل رائع!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["يقوم Jetpack بمراقبة موقعك. إذا كنا نعتقد أن موقعك معطل، فستتلقى بريدًا إلكترونيًا."],"Security":["الأمان"],"Performance":["الأداء"],"Backup":["عمليات النسخ الاحتياطي"],"{{a}}View backup details{{/a}}.":["{{a}}عرض تفاصيل النسخة الاحتياطية{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["لنسخ موقعك بأكمله احتياطيًا بصورة تلقائية، يُرجى {{a}}تثبيت VaultPress{{/a}} وتنشيطه."],"Unavailable in Dev Mode.":["غير متوفر في وضع التطوير."],"Unavailable in Dev Mode":["غير متوفر في وضع التطوير"],"Activating %(slug)s…":["جارٍ تفعيل %(slug)s…"],"%(slug)s has been activated.":["تم تفعيل %(slug)s."],"%(slug)s failed to activate. %(error)s":["فشل تفعيل %(slug)s. %(error)s"],"Deactivating %(slug)s…":["جارٍ إلغاء تفعيل %(slug)s…"],"%(slug)s has been deactivated.":[" تم إلغاء تفعيل %(slug)s."],"%(slug)s failed to deactivate. %(error)s":[" فشل إلغاء تفعيل %(slug)s. %(error)s"],"Updating %(slug)s settings…":["جارٍ تحديث إعدادات %(slug)s…"],"Updated %(slug)s settings.":["تم تحديث إعدادات %(slug)s."],"Error updating %(slug)s settings. %(error)s":["حدث خطأ أثناء تحديث إعدادات %(slug)s. %(error)s"],"Updating %(slug)s address…":["جارٍ تحديث عنوان %(slug)s…"],"Regenerated %(slug)s address .":["تمت إعادة إنشاء عنوان %(slug)s."],"Error regenerating %(slug)s address. %(error)s":["حدث خطأ أثناء إعادة إنشاء عنوان %(slug)s. %(error)s"],"Resetting Jetpack options…":["جارٍ إعادة تعيين خيارات Jetpack..."],"Options reset.":["تمت إعادة تعيين الخيارات."],"Options failed to reset.":["فشلت إعادة تعيين الخيارات."],"There was an error disconnecting Jetpack. Error: %(error)s":["حدث خطأ أثناء قطع اتصال Jetpack. خطأ: %(error)s"],"Unlinking from WordPress.com":["إلغاء الربط بـ WordPress.com"],"Unlinked from WordPress.com.":["تم إلغاء الربط بـ WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["حدث خطأ أثناء إلغاء الربط بـ WordPress.com. %(error)s"],"At A Glance":["نبذة سريعة"],"Dashboard":["لوحة التحكم"],"Automattic's Privacy Policy":["سياسة خصوصية Automattic"],"WordPress.com Terms of Service":["شروط خدمة WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}تشغيل التحديثات التلقائية للإضافات.{{/a}}"],"Plugin Updates":["تحديثات الإضافات"],"No threats found, you're good to go!":["لم يتم العثور على تهديدات، يمكنك الانتقال!"],"{{a}}Contact Support{{/a}}":["{{a}}اتصل بالدعم{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}اعرض التفاصيل على VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["عفوًا تم العثور على تهديد %(number)s.","عفوًا تم العثور على تهديدات %(number)s.","عفوًا تم العثور على تهديدات %(number)s.","عفوًا تم العثور على تهديدات %(number)s.","عفوًا تم العثور على تهديدات %(number)s.","عفوًا تم العثور على تهديدات %(number)s."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}يمكنك تنشيط المراقبة{{/a}} لاستلام إشعارات عبر البريد الإلكتروني إذا تعطّل موقعك."],"Loading…":["جاري التحميل…"],"Downtime monitor":["مراقبة فترة التوقف"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}عرض المزيد من الإحصاءات على WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}عرض الإحصاءات القديمة{{/button}}"],"All-time comments":["تعليقات طوال الوقت"],"All-time views":["مشاهدات طوال الوقت"],"%(number)s View":["%(number)s مشاهدة","%(number)s مشاهدات","%(number)s مشاهدات","%(number)s مشاهدات","%(number)s مشاهدات","%(number)s مشاهدات"],"Best overall day":["اليوم الأفضل إجمالاً"],"Views today":["المشاهدات في الوقت الحاضر"],"Months":["شهور"],"Weeks":["أسابيع"],"Days":["أيام"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["حدث شيء ما أثناء تحميل الإحصاءات. يُرجى المحاولة مرة أخرى لاحقًا أو {{a}}عرض إحصاءاتك الآن على WordPress.com{{/a}}"],"Click to view detailed stats.":["انقر لعرض الإحصاءات التفصيلية."],"Views: %(numberOfViews)s":["مشاهدات: %(numberOfViews)s"],"Week of %(date)s":["أسبوع %(date)s"],"Site Security":["أمان الموقع"],"Link to WordPress.com":["الربط بـ WordPress.com"],"Unlink me from WordPress.com":["فك ارتباطي من WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["حدثت مشكلة أثناء اتصال Jetpack الخاص بك. يُرجى النقر على \"الاتصال بـ WordPress.com\" مرة أخرى."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["لقد حدثت مشكلة أثناء اتصال Jetpack، قم بتعطيل إضافة Jetpack ثم قم بتفعيلها واتصل مرة أخرى."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["يتعين عليك الاستمرار في تسجيل الدخول إلى مدونة ووردبريس أثناء مصادقة Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}توجد مشكلة في Jetpack الخاص بك.{{/s}} نأسف للإزعاج. يُرجى المحاولة مرة أخرى لاحقًا، وفي حال استمرار المشكلة يُرجى الاتصال بالدعم من خلال هذه الرسالة: %(error_key)s"],"Disconnecting Jetpack":["قطع اتصال Jetpack"],"Learn more":["تعرف على المزيد"],"Posts":["تدوينات"],"Front page":["الصفحة الرئيسية"],"Upload videos":["رفع وسائط الفيديو"],"Pinterest":["Pinterest"],"Google":["قوقل"],"Show related content after posts":["إظهار المحتوى المتعلق بعد التدوينات"],"Related":["مرتبط"],"Disconnect":["قطع الاتصال"],"Save":["حفظ"],"Media":["وسائط"],"Mobile Theme":["قالب الموبايل"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX هي لغة ترميز قوية لكتابة المعادلات والصيغ الرياضية المعقدة."],"Site Stats":["إحصائيات الموقع"],"Sharing":["المشاركة"],"Testimonials":["الشهادات"],"Cancel":["إلغاء"],"Comments":["تعليقات"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["يتعذر على Jetpack الاتصال بـ WordPress.com: %(error_key)s. يعني هذا عادةً أن هناك شيئًا ما تمّ تكوينه بشكل غير صحيح على استضافة الويب الخاص بك."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["يوجد مشاكل حالياً مع WordPress.com وغير قادر على الربط مع Jetpack. يرجى المحاولة مرة أخرى في وقت لاحق."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}توجد مشكلة في Jetpack الخاص بك.{{/s}} ربط موقعك بـ WordPress.com غير ممكن. يعني هذا عادةً أن موقعك لا يمكن وصول العامة إليه (مضيف محلي)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["يجب أن يكون موقعك على الويب قابلاً للوصول من قبل العامة لاستخدام Jetpack: %(error_key)s"],"Edit":["تحرير"],"Connected":["متصل"],"Activate":["تفعيل"],"Active":["مفعل"],"Settings":["الإعدادات"],"Learn More":["تعلم المزيد"],"Disconnect Jetpack":["قطع الاتصال بـ Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}ملحوظة:{{/b}} يجري استبعاد هذه الميزة، وستتم إزالتها من Jetpack في شهر مارس. {{link}}تعرَّف على المزيد{{/link}}"],"Settings header\u0004Jetpack Backup":["نسخ احتياطي عبر Jetpack"],"Settings header\u0004Anti-spam":["مكافحة البريد المزعج"],"Settings header\u0004WP.me Shortlinks":["روابط WP.me القصيرة"],"Settings header\u0004Auto-update plugins":["تحديث تلقائي للإضافات"],"Settings header\u0004Widgets":["المربعات الجانبية"],"Settings header\u0004Downtime monitoring":["رصد التعطل"],"Settings header\u0004Privacy Settings":["إعدادات الخصوصية"],"Settings header\u0004WordPress.com toolbar":["شريط أدوات WordPress.com"],"Settings header\u0004Composing":["إنشاء"],"Settings header\u0004Site stats":["إحصاءات الموقع"],"Settings header\u0004Search engine optimization":["تحسين محرك البحث"],"Settings header\u0004Google Analytics":["تحليلات غوغل"],"Settings header\u0004Sharing buttons":["أزرار المشاركة"],"Settings header\u0004Publicize connections":["اتصالات Publicize"],"Settings header\u0004Like buttons":["أزرار الإعجاب"],"Settings header\u0004Brute force attack protection":["الحماية من هجمات القوة الغاشمة"],"Settings header\u0004Backups and security scanning":["النسخ الاحتياطية وفحص الأمان"],"Notice in the empty statistics chart\u0004No activity this period":["لا يوجد أي نشاط في هذه الفترة"],"Settings header, noun.\u0004WordPress.com login":["تسجيل الدخول إلى WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["إرسال رابط"],"A caption for a button to cancel an action.\u0004Cancel":["إلغاء"],"Link to learn more about Jetpack.\u0004About":["نبذة عن"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["الوحدات النمطية"],"Navigation item.\u0004Performance":["الأداء"],"Navigation item.\u0004My Plan":["خطتي"],"Navigation item.\u0004Dev Tools":["أدوات التطوير"],"Navigation item.\u0004Settings":["الإعدادات"],"Navigation item.\u0004Discussion":["مناقشة"],"Navigation item.\u0004Traffic":["المرور"],"Navigation item.\u0004Sharing":["مشاركة"],"Navigation item.\u0004At A Glance":["نبذة سريعة"],"Navigation item.\u0004Plans":["الخطط"],"Navigation item.\u0004Writing":["كتابة"],"Navigation item.\u0004Reset Options (dev only)":["أعد تعيين الخيارات (إصدارات التطوير فقط)"],"Navigation item.\u0004Security":["الأمان"],"Navigation item.\u0004At a Glance":["نبذة سريعة"],"Search term.\u0004terms of service":["شروط الخدمة"],"Search term.\u0004tos":["شروط الخدمة"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["البيانات"],"Search term.\u0004tracks":["المسارات"],"Search term.\u0004privacy":["الخصوصية"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["ترقية"],"Button caption\u0004Saving…":["جارٍ الحفظ..."],"Button caption\u0004Save settings":["حفظ الإعدادات"],"A heading for a block of related posts.\u0004Related":["ذات صلة"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["معاينة"],"Short warning message\u0004Updates needed":["يلزم وجود تحديثات"],"Short label appearing near a paid feature configuration block.\u0004Paid":["مدفوع"],"A header for a preview area in the configuration screen.\u0004Preview":["معاينة"],"Ads header\u0004Ads":["الإعلانات"],"Dashboard widget header\u0004Site connection":["الاتصال بالموقع"],"Dashboard widget header\u0004Account connection":["توصيل الحساب"],"A caption for a small button to fix security issues.\u0004Threats":["التهديدات"],"A caption for a small button to fix security issues.\u0004FIX":["إصلاح"],"Short warning message about new threats found.\u0004Threats found!":["تم العثور على تهديدات!"],"Short message informing user that the site is secure.\u0004Secure":["تأمين"],"Caption for a button to set up a feature.\u0004Set up":["إعداد"],"verb\u0004Copy":["نسخ"],"Shorthand for Privacy Policy.\u0004Privacy":["الخصوصية"],"Shorthand for Terms of Service.\u0004Terms":["الشروط"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["تصحيح الأخطاء"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["تم حظر التعليقات المزعجة."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ary-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ary-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 84bd014a..00000000
--- a/plugins/jetpack/languages/json/jetpack-ary-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;","lang":"ar_MA"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views","%(number)s Views","%(number)s Views","%(number)s Views","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":["قطع اتصال Jetpack"],"Learn more":["تعرف على المزيد"],"Posts":["تدوينات"],"Front page":["الصفحة الرئيسية"],"Pinterest":["Pinterest"],"Google":["قوقل"],"Show related content after posts":["إظهار المحتوى المتعلق بعد التدوينات"],"Related":["مرتبط"],"Disconnect":["قطع الاتصال"],"Save":["حفظ"],"Media":["وسائط"],"Site Stats":["إحصائيات الموقع"],"Sharing":["المشاركة"],"Testimonials":["الشهادات"],"Cancel":["إلغاء"],"Comments":["تعليقات"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["يوجد مشاكل حالياً مع WordPress.com وغير قادر على الربط مع Jetpack. يرجى المحاولة مرة أخرى في وقت لاحق."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["يجب أن يكون موقعك متاح للعموم لاستخدام جيت باك: %(error_key)s"],"Edit":["تحرير"],"Connected":["متصل"],"Activate":["تفعيل"],"Active":["مفعل"],"Settings":["الإعدادات"],"Learn More":["تعلم المزيد"],"Disconnect Jetpack":["قطع الاتصال بـ Jetpack"],"Test your site’s compatibility with Jetpack.":["اختبار مدى توافق موقعك مع جيت باك."],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-az-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-az-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 25480d15..00000000
--- a/plugins/jetpack/languages/json/jetpack-az-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"az"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Daha ətraflı"],"Posts":["Yazılar"],"Front page":["Ön səhifə"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Yazılardan sonra oxşar içəriyi göstər"],"Related":["Oxşar"],"Disconnect":["Bağlantını kəs"],"Save":["Qeyd et"],"Media":["Media"],"Site Stats":["Sayt Statistikası"],"Sharing":["Paylaşma"],"Testimonials":["Xarakteristikalar"],"Cancel":["İmtina"],"Comments":["Şərhlər"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com-da hazırda bir problem var və Jetpack-ı dəstəkləyə bilmir. Lütfən daha sonra təkrar yoxlayın."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Redaktə et"],"Connected":["Bağlanıldı"],"Activate":["Aktivasiya"],"Active":["Aktiv"],"Settings":["Parametrlər"],"Learn More":["Daha çox məlumat"],"Disconnect Jetpack":["Jetpack Bağlantısını Kəs"],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-bg_BG-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-bg_BG-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 0f28b2df..00000000
--- a/plugins/jetpack/languages/json/jetpack-bg_BG-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"bg"},"Create account":[""],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":[""],"Compose content the way you want to and streamline your publishing experience.":[""],"Add a portfolio item":[""],"Add a testimonial":[""],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":[""],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":[""],"Error enabling Site accelerator. %(error)s":[""],"Site accelerator is now speeding up your site!":[""],"Enabling Site accelerator…":[""],"Error disabling site accelerator. %(error)s":[""],"Site accelerator is no longer speeding up your site!":[""],"Disabling site accelerator…":[""],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":[""],"High-speed, high-definition video hosting with no third-party ads.":[""],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":[""],"Marketing Automation":[""],"Activate Jetpack Search":[""],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":[""],"Start earning":[""],"WordAds lets you earn money by displaying promotional content. Start earning today.":[""],"Spam is automatically blocked from your comments.":[""],"Browse premium themes":[""],"Access hundreds of beautifully designed premium themes at no extra cost.":[""],"Try a premium theme":[""],"View settings":[""],"Create a Jetpack account to view your email followers":[""],"Manage security settings":[""],"Jetpack is ready for the new WordPress editor":[""],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":[""],"Build your Jetpack site with blocks":[""],"A new editor? Yes! {{a}}Learn more{{/a}}.":[""],"The features you rely on, adapted for the new WordPress editor.":[""],"Take me to the new editor":[""],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":[""],"New in Jetpack!":[""],"Speed up static file load times":[""],"Speed up image load times":[""],"Enable site accelerator":[""],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"View your site activity":[""],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":[""],"Verify with Google":[""],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":["или"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Custom ads.txt entries":[""],"Privacy information":[""],"Enable Lazy Loading for images":[""],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":[""],"Performance & speed":[""],"Enable high-speed, ad-free video player":[""],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":[""],"Video":["Видео"],"Carousel color scheme":[""],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":[""],"Show photo Exif metadata in carousel (when available)":[""],"Display images in a full-screen carousel gallery":[""],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":[""],"Portfolios shortcode: [portfolio]":[""],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":[""],"Testimonials shortcode: [testimonials]":[""],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":[""],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":[""],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":[""],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":[""],"Configure related posts in the Customizer":[""],"Highlight related content with a heading":[""],"View security scan details":[""],"Show a thumbnail image where available":[""],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":[""],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":[""],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":[""],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":[""],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator.":[""],"%(moduleName)s has been disabled by a site administrator.":[""],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":[""],"Configure your notification settings":[""],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":[""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":[""],"Plugin needs updating.":["","Plugins need updating."],"%(number)s":["","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":[""],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":[""],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":[""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":[""],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":[""],"Loads the next posts automatically when the reader approaches the bottom of the page.":[""],"Allows you to publish new posts by sending an email to a special address.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":[""],"Displays information on your site activity, including visitors and popular posts or pages.":[""],"Allows you to optimize your site and its content for better results in search engines.":[""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":[""],"Displays high-quality ads on your site that allow you to earn income.":[""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":[""],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":[""],"Allows registered users to log in to your site with their WordPress.com accounts.":[""],"Protects your site from traditional and distributed brute force login attacks.":[""],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":[""],"Removes spam from comments and contact forms.":[""],"We are committed to your privacy and security. ":[""],"View all Jetpack plans":[""],"Manage your plan":[""],"Your Plan":[""],"You’re currently on Jetpack %(plan)s.":[""],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":[""],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":[""],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":[""],"Add Search (Jetpack) Widget":[""],"Jetpack Search is powering search on your site.":[""],"Manage your plugins":[""],"Moderate comments":[""],"Error updating privacy settings. %(error)s":[""],"Updated privacy settings.":[""],"Updating privacy settings…":[""],"Add Jetpack Search Widget":[""],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":[""],"Daily backups, spam filtering, and priority support.":[""],"Activate video hosting":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"Design the perfect website":[""],"Set up Jetpack":[""],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":[""],"Jetpack Search":[""],"Jetpack version %(version)s":[""],"Your site is being backed up in real time and regularly scanned for security threats.":[""],"Daily backup of all your site data with unlimited space and one-click restores":[""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"View your security activity":[""]," (powered by VaultPress).":[""],"Customize Search Widget":[""],"Please correct the issue below and try again.":["","Please correct the issues listed below and try again."],"We are making sure your site stays free of security threats. You will be notified if we find one.":[""],"Jetpack version":[""],"Activity":["Активност"],"{{a}}View details{{/a}}":[""],"Monetize your site with ads":[""],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":[""],"Jetpack Stats People":[""],"Hello there! Your stats have been activated.":[""],"Just give us a little time to collect data so we can display it for you here.":[""],"Okay, got it!":[""],"Display ads below posts on":[""],"Additional ad placements":[""],"Top of each page":[""],"Second ad below post":[""],"Archives":["Архив"],"Stars":[""],"Jupiter":[""],"Schedule posts":[""],"Activate Publicize":[""],"Your site is backed up.":[""],"Get WordPress Apps for every device":[""],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":[""],"Create address":[""],"Automatically share your posts to social networks":[""],"Updating settings…":[""],"Updating Post by Email address…":[""],"Your paid plan gives you access to prioritized Jetpack support.":[""],"You have paid for backups but they're not yet active.":[""],"You have paid for backups and security scanning but they’re not yet active.":[""],"Click \"Set Up\" to finish installation.":[""],"Checking site status…":[""],"Pages":["Страници"],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":["Връзки"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Анализ е безплатна услуга, която допълва нашата {{a}}вградена статистика{{/a}} с различни данни за вашият трафик. WordPress.com статистиката и Google Анализ използват различни методи за да определят и проследят активността на вашият сайт и е нормално да показват леко по-различни данни за вашите посетители, брой прегледи и т.н.т"],"Google Analytics":["Google Анализ"],"Configure Google Analytics":["Конфигуриране на Google Анализ"],"Activate Google Analytics":["Активиране на Google Анализ"],"Download the free apps":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":["Преглед на приходите"],"Configure site SEO":[""],"Activate SEO tools":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":["Вашите текущи IP: %(ip)s "],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":["Настройка на сканирането за сигурност "],"Subscriber":["Абонат"],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":["Копирано!"],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":["Готови сте, Jetpack вече е активиран. "],"You're fueled up and ready to go.":["Готови сте!"],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":["Записване... "],"Save Settings":["Запис на настройките "],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Активирайте Статистика за Сайта{{/a}} за да видите по-подробна статистика, харесвания, последователи, абонати и още! {{a1}}Вижте повече{{/a1}} "],"Activate Site Stats":["Активиране статистиката на сайта "],"Upgrade":["Обновяване"],"ACTIVE":[""],"View your spam stats":["Преглед на статистика за спама "],"View your security dashboard":["Преглед на таблото за сигурност "],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":["Всички разширения са обновени. Добра работа!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":["Сигурност"],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["За да архивирате автоматично сайта си, моля {{a}}инсталирайте и активирайте{{/a}} VaultPress. "],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"Activating %(slug)s…":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"Deactivating %(slug)s…":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":["Грешка при отписването от WordPress.com %(error)s "],"At A Glance":[""],"Dashboard":["Табло"],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":["Няма открити заплахи, може да продължите. "],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":[""],"Loading…":["Зареждане... "],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["%(number)s Преглед","%(number)s Прегледа"],"Best overall day":[""],"Views today":["Преглеждания днес "],"Months":["Месеци "],"Weeks":["Седмици"],"Days":["Дни"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":["Натиснете за подробна статистика. "],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":["Сигурност на сайта"],"Link to WordPress.com":["Свързване с WordPress.com "],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Възникна проблем при връзката с Jetpack. Моля опитайте отново да се свържете с WordPress.com."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Възникна проблем при връка с Jetpack; изключете и включете разширението и опитайте отново."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Трябва да сте влезли във вашия WordPress блог докато оторизирате Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Jetpack има проблем.{{/s}} Извиняваме се за неудобството. Моля опитайте отново по-късно. Ако проблемът се повтори, свържете се с техническата поддръжка и предайте това съобщение: %(error_key)s"],"Disconnecting Jetpack":["Разкачете Jetpack"],"Learn more":["Научете повече"],"Posts":["Публикации"],"Front page":["Начална страница"],"Upload videos":[""],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Показване на свързано съдържание след статии"],"Related":["Свързани"],"Disconnect":["Прекъсване на връзката"],"Save":["Съхраняване"],"Media":["Файлове"],"Site Stats":["Статистики за сайта"],"Sharing":["Споделяне"],"Testimonials":["Препоръки"],"Cancel":["Отказ"],"Comments":["Коментари"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack не може да се свърже с WordPress.com: %(error_key)s. По принцип това означава, че нещо не е наред по конфигурацията на сървъра ви."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com е възпрепятстван и не може да захрани вашия Jetpack. Опитайте отново по-късно."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Вашият Jetpack има проблем.{{/s}} Не е възможно връзка с WordPress.com. По принцип това означава, че сайтът ви не е публично достъпен (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Сайтът ви трябва да е публично достъпен за да използва Jetpack: %(error_key)s"],"Edit":["Редактиране"],"Connected":["Свързан"],"Activate":["Активиране"],"Active":["Активна"],"Settings":["Настройки"],"Learn More":["Научете повече"],"Disconnect Jetpack":["Разкачане на Jetpack"],"Test your site’s compatibility with Jetpack.":["Пробвайте съвместимостта на сайта си с Jetpack."],"Settings header\u0004Downtime monitoring":[""],"Settings header\u0004Privacy Settings":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"Navigation item.\u0004Performance":[""],"Navigation item.\u0004My Plan":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Search term.\u0004terms of service":[""],"Search term.\u0004tos":[""],"Search term.\u0004gdpr":[""],"Search term.\u0004data":[""],"Search term.\u0004tracks":[""],"Search term.\u0004privacy":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"A heading for a block of related posts.\u0004Related":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":["Копиране"],"Shorthand for Privacy Policy.\u0004Privacy":["Поверителност"],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Дебъг "],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-bs_BA-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-bs_BA-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index f0061f68..00000000
--- a/plugins/jetpack/languages/json/jetpack-bs_BA-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"bs_BA"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":[""],"Manage Subscription":[""],"Your site is being backed up.":[""],"You need to enter your server credentials to finish configuring Jetpack Backup.":[""],"Jetpack Backup is being configured for your site.":[""],"Daily Backups":[""],"Just looking for backups? We've got you covered.":[""],"Solutions":[""],"Included in your {{planLink}}Professional Plan{{/planLink}}":[""],"Included in your {{planLink}}Premium Plan{{/planLink}}":[""],"Included in your {{planLink}}Personal Plan{{/planLink}}":[""],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":[""],"Always-on backups ensure you never lose your site.":[""],"My Products":[""],"My Plan":[""],"Jetpack Backup {{em}}Real-Time{{/em}}":[""],"Your data is being securely backed up as you edit.":[""],"Jetpack Backup {{em}}Daily{{/em}}":[""],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":[""],"Jetpack Premium":[""],"Jetpack Personal":[""],"Jetpack Free":[""],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":[""],"Jetpack has many powerful tools that can help you achieve your goals":[""]," We’ve highlighted some of the features you rely on below.":[""],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":[""],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":[""],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":[""],"Disable":[""],"Are you sure you want to disconnect and deactivate?":[""],"Are you sure you want to disconnect?":[""],"Disable Jetpack":[""],"We back up your website with every change you make, making it easy to fix your mistakes.":[""],"Automated Real-time Backups":[""],"We back up your website every day, so you never have to worry about your data again.":[""],"Automated Daily Backups":[""],"View Your Backups":[""],"A Jetpack Site securely backed up with Jetpack Backup":[""],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Image Accelerator":[""],"Start with free":[""],"Now that you're set up, pick a plan that fits your needs.":[""],"Jetpack Backup":[""],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":[""],"Already have a key? {{a}}Activate Akismet{{/a}}":[""],"Verifying…":[""],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":[""],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":[""],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":[""],"Customize your SEO settings":[""],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":[""],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":[""],"Include a small chart in your admin bar with a 48-hour traffic snapshot":[""],"Expand to update settings for how visits are counted and manage who can view this information.":[""],"You can customize the sharing buttons and choose which services to display.":[""],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":[""],"Find threats early so we can help fix them fast.":[""],"Replace your site's basic search with customizable search that helps visitors find answers faster.":[""],"Never worry about losing your site – automatic backups keep your content safe.":[""],"Protect":[""],"Scan":[""],"Automatically clear spam from your comments and forms so you can get back to your business.":[""],"Anti-spam":[""],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":[""],"Log in to the WordPress mobile app":[""],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":[""],"Email me a link to log in to the app":[""],"Send your new posts to this email address:":[""],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":[""],"Generate shortened URLs for simpler sharing.":[""],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":[""],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":[""],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":[""],"Add sharing buttons to your posts and pages":[""],"Share your content to social media, reaching new audiences and increasing engagement.":[""],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":[""],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":[""],"Choose which plugins to auto-update":[""],"Upgrade Jetpack now":[""],"Monetize your site by running high quality ads.":[""],"Customize your social posting schedule.":[""],"Expand your audience with pro SEO tools.":[""],"Take your site to the next level!":[""],"Search support docs":[""],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":[""],"Start sharing":[""],"Optimized performance":[""],"Enable the “subscribe to comments” option on your comment form":[""],"Enable the “subscribe to site” option on your comment form":[""],"Manage advanced comment settings and grow your audience with email subscriptions.":[""],"Comment form introduction":[""],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":[""],"Failed to send login email":[""],"Login email sent":[""],"Sending login email…":[""],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":[""],"Allow readers to like individual comments.":[""],"Enable comment likes.":[""],"Allow readers to use markdown in comments.":[""],"Show Gravatar hovercards alongside comments.":[""],"Complete Jetpack Setup":[""],"Your Jetpack setup progress":[""],"View your setup checklist":[""],"Yearly":[""],"Monthly":[""],"About Jetpack":[""],"Enable widget visibility controls to display widgets only on particular posts or pages":[""],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":[""],"Make extra widgets available for use on your site including subscription forms and Twitter streams":[""],"Enhance CSS customization panel":[""],"Writing":[""],"Compose using shortcodes to embed media from popular sites":[""],"Traffic":[""],"You need to enter your server credentials to finish configuring Backups and Scan.":[""],"Awaiting credentials":[""],"Backups and Scan are being configured for your site.":[""],"Provisioning":[""],"Action needed":[""],"Setting up":[""],"Discussion":[""],"We are configuring your site protection.":[""],"View your site's backups":[""],"We are backing up your site in real-time.":[""],"Enter credentials":[""],"You need to enter your server's credentials to finish the setup.":[""],"We are configuring your site's backups.":[""],"View site activity":[""],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":[""],"Explore our Jetpack plans":[""],"Support documentation":[""],"Chat bubbles representing getting in touch with support":[""],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":[""],"Increase traffic to your site":[""],"Explore free themes":[""],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":[""],"A wide variety of themes and tools to customize a site":[""],"Set up your site security":[""],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":[""],"Site stats showing an evolution in traffic and engagement":[""],"A hand holding a loupe":[""],"A chart showing an healthy increase in earnings":[""],"Interface showing a chronological list of changes and updates in a site":[""],"A cloud with multiple types of content floating around it":[""],"A folder holding real comments":[""],"Make your site faster":[""],"Load pages faster by serving your images from our global network of servers.":[""],"A fast and performant website":[""],"A secure site, locked and protected by Jetpack":[""],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":[""],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":[""],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":[""],"Add Like buttons to your posts and pages":[""],"When visitors enjoy your content, let them show it with a Like.":[""],"Create account":[""],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":[""],"Compose content the way you want to and streamline your publishing experience.":[""],"Add a portfolio item":[""],"Add a testimonial":[""],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":[""],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":[""],"Error enabling Site accelerator. %(error)s":[""],"Site accelerator is now speeding up your site!":[""],"Enabling Site accelerator…":[""],"Error disabling site accelerator. %(error)s":[""],"Site accelerator is no longer speeding up your site!":[""],"Disabling site accelerator…":[""],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":[""],"High-speed, high-definition video hosting with no third-party ads.":[""],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":[""],"Marketing Automation":[""],"Activate Jetpack Search":[""],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":[""],"Start earning":[""],"WordAds lets you earn money by displaying promotional content. Start earning today.":[""],"Spam is automatically blocked from your comments.":[""],"Browse premium themes":[""],"Access hundreds of beautifully designed premium themes at no extra cost.":[""],"Try a premium theme":[""],"View settings":[""],"Create a Jetpack account to view your email followers":[""],"Manage security settings":[""],"Jetpack is ready for the new WordPress editor":[""],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":[""],"Build your Jetpack site with blocks":[""],"A new editor? Yes! {{a}}Learn more{{/a}}.":[""],"The features you rely on, adapted for the new WordPress editor.":[""],"Take me to the new editor":[""],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":[""],"New in Jetpack!":[""],"Speed up static file load times":[""],"Speed up image load times":[""],"Enable site accelerator":[""],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":[""],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":["Manualno verificiraj"],"Verify with Google":["Verificiraj s Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":["ili"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":["Spam filtriranje i prioritetna podrška."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Kada su oglasi uključeni, Jetpack automatski generira korisnički ads.txt skrojen za vašu web-stranicu."],"Custom ads.txt entries":["Unosi korisničkog ads.txt"],"Privacy information":["Informacije o privatnosti"],"Enable Lazy Loading for images":["Uključi Učitavanje s odgodom za slike"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Učitavanje slika s odgodom poboljšava brzinu vaše web-stranice i kreira uglađeno iskustvo gledanja. Slike će se učitavati kako posjetitelji pomiču stranicu na zaslonu, umjesto da se sve učitaju odjednom."],"Performance & speed":["Performanse i brzina"],"Enable high-speed, ad-free video player":["Uključi brzi video reproduktor bez oglasa"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Sadržaj koji objavite učinite privlačnijim s visoko kvalitetnim videom. S Jetpack Video možete prilagoditi video reproduktor i isporučiti video koji je brzi, bez oglasa i brendiranja vašim posjetiteljima. Video je pohranjen na našim WordPress.com poslužiteljima i zauzimaju mjesto na vašem hostingu!"],"Video":["Video"],"Carousel color scheme":["Paleta boja vrtuljka"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif podaci prikazuju posjetiteljima dodatne tehničke detalje fotografije, poput žarišne duljine, otvor objektiva i ISO."],"Show photo Exif metadata in carousel (when available)":["Prikaži Exif meta podatke fotografije u vrtuljku (kad su dostupni)"],"Display images in a full-screen carousel gallery":["Prikaži slike u galerijskom vrtuljku pune veličine zaslona"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Kreirajte galerijski vrtuljak pune veličine zaslona za slike u vašim objavama i stranicama. Galerijski vrtuljci su optimizirani za mobilne uređaje i potiču posjetitelje na interakciju s slikama."],"Portfolios shortcode: [portfolio]":["Portfolio kratki kod: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Upotrijebite {{portfolioLink}}portfolio{{/portfolioLink}} na web-stranici kako bi prikazali vaše najbolje radove. Ako vaša tema ne podržava Jetpack Portfolio, i dalje možete upotrijebiti jednostavan kratki kod kako bi ih prikazali na web-stranici."],"Testimonials shortcode: [testimonials]":["Preporuka kratki kod: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Dodajte {{testimonialLink}}preporuke{{/testimonialLink}} na web-stranicu kako bi privukli nove klijente. Ako vaša tema ne podržava Jetpack Preporuke, i dalje možete upotrijebiti jednostavan kratki kod kako bi ih prikazali na web-stranici."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Trenutno tražilice ne mogu pristupiti web-stranici. Ako želite učinit web-stranicu pristupačnom, provjerite {{a}}postavke Čitanja{{/a}} i uključite \"Vidljivost tražilicama\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Dobre vijesti: Jetpack automatski šalje vašu mapu stranica na indeksiranje svim značajnim tražilicama."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Mape stranice su zapisi koje koriste tražilice poput Google i Bing kako bi indeksirali web-stranicu. Mogu pomoći poboljšati ranking u rezultatima pretrage. Kada ovo uključite, Jetpack će kreirati mape stranica i automatski ih ažurirati kada se sadržaj promijeni na web-stranici."],"Configure related posts in the Customizer":["Konfigurirajte povezane objave u Prilagođivaču"],"Highlight related content with a heading":["Istakni povezani sadržaj s zaglavljem"],"View security scan details":["Pogledaj detalje sigurnosnog skeniranja"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Prikaži sličicu gdje je to dostupno."],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Za više informacija o tome kako određene Jetpack značajke koriste podatke i prate aktivnosti, pogledajte naš {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Koristimo druge alate za praćenje, uključujući i alate trećih strana. {{cookiePolicyLink}}Pročitajte o njima{{/cookiePolicyLink}} i kako ih kontrolirati."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Ove informacije pomažu nam poboljšati naše proizvode, učiniti naš marketing više relevantnijim, personalizirati vaše WordPress.com iskustvo, i još puno toga opisanoga u našim {{pp}}pravilima privatnosti{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Podijelite informacije o vašem korištenju servisa s našim alatom za analitiku dok ste prijavljeni u WordPress.com račun. {{cookiePolicyLink}}Saznajte više{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Ovom značajkom upravlja administrator web-stranice. {{link}}Saznajte više{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Ovu značajku je onemogućio administrator web-stranice. {{link}}Saznajte više{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Ovu značajku je omogućio administrator web-stranice. {{link}}Saznajte više{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s je onemogućio administrator web-stranice. {{link}}Saznajte više{{/link}}."],"This feature has been disabled by a site administrator.":["Ovu značajku je onemogućio administrator web-stranice."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s je onemogućio administrator web-stranice."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Možete prikazati dodatne oglase koristeći Ad widget. {{link}}Isprobajte!{{/link}}"],"Configure your notification settings":["Konfigurirajte postavke obavijesti"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack Pretraživanje je moćna zamjena za funkcionalnost pretraživanja koja je ugrađena u WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Datoteke vaše web-stranice redovno se skeniraju u potrazi za sumnjivim modifikacijama koje bi mogle kompromitirati vašu sigurnost i podatke."],"Plugin needs updating.":["Dodatak treba ažurirati.","Dodatka treba ažurirati.","Dodataka treba ažurirati."],"%(number)s":["%(number)s","%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack Ažuriranje dodataka omogućuju vam odabir dodataka koje želite automatski ažurirati."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack će optimizirati vaše slike i poslužiti ih s poslužitelja koji je najbliži posjetitelju. Korištenje naše globalne mreže za dostavu sadržaja poboljšati će brzinu učitavanja web-stranice."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack praćenje nedostupnosti nadzirati će vašu web-stranicu i obavijestiti će vas čim nedostupnost bude detektirana."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack Sigurnosne kopije omogućuju vam jednostavno vraćanje na prethodno stanje ili preuzimanje sigurnosne kopije u željenom trenutku."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Aktivira laganu temu, kompatibilnu s mobilnim uređajima koja će biti prikazan posjetiteljima na mobilnim uređajima."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Automatski učitava sljedeću objavu kada se čitatelj približi dnu stranice."],"Allows you to publish new posts by sending an email to a special address.":["Omogućuje vam objavljivanje novih objava slanjem e-pošte na specijalnu adresu."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Dodajte alatnu traku s poveznicama na sve vaše web-stranice, obavijestima, vašim WordPress.com profilom i Čitačem."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Pruža neophodne skrivene oznake potrebne za verifikaciju vaše WordPress web-stranice s različitim servisima."],"Displays information on your site activity, including visitors and popular posts or pages.":["Prikazuje informacije o aktivnosti vaše web-stranice, uključujući posjetitelje i popularne objave ili stranice."],"Allows you to optimize your site and its content for better results in search engines.":["Omogućuje vam optimiziranje vaše web-stranice i sadržaja za bolje rezultate u tražilicama."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrira vašu web-stranicu s Google Analytics, platformom koja pruža uvid u promet, posjetitelje i konverzije web-stranice."],"Displays high-quality ads on your site that allow you to earn income.":["Prikazuje visoko kvalitetne oglase na vašoj web-stranici, koji vam omogućuju zaradu."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Omogućuje vam da automatski dijelite svoj najnoviji sadržaj na društvenim mrežama, uključujući Facebook i Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Dodajte lajk dugmad vašem sadržaju kako bi posjetitelji izrazili njihovu zahvalu ili užitak konzumiranja sadržaja."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Omogućuje registriranim korisnicima prijavu na vašu web-stranicu koristeći WordPress.com račun."],"Protects your site from traditional and distributed brute force login attacks.":["Štiti vašu web-stranicu od tradicionalnih i distribuiranih napada sirovom snagom na formu za prijavu."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Kreira sigurnosnu kopiju vaše web-stranice na globalnim WordPress.com poslužiteljima, omogućujući vam vraćanje na prethodno stanje u slučaju greške."],"Removes spam from comments and contact forms.":["Uklanja spam iz komentara i kontakt formi."],"We are committed to your privacy and security. ":["Predani smo očuvanju vaše privatnosti i sigurnosti."],"View all Jetpack plans":["Pogledaj sve Jetpack planove"],"Manage your plan":["Upravljanje planom"],"Your Plan":["Vaš plan"],"You’re currently on Jetpack %(plan)s.":["Trenutno koristite Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Omogućuje čitateljima da se pretplate na vaše objave ili komentare, i primaju obavijesti o novom sadržaju putem e-pošte."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Zamjenjuje standardnu WordPress formu za komentare s novim sistemom za komentiranje koji uključuje prijavu putem društvenih mreža."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Aktiviraj{{/a}} kako bi zamijenili ugrađenu WordPress pretragu s Jetpack Pretragom, poboljšanim iskustvom pretraživanja."],"Add Search (Jetpack) Widget":["Dodaj Pretraga (Jetpack) widget"],"Jetpack Search is powering search on your site.":["Jetpack Pretraga pogoni pretraživanje na vašoj web-stranici."],"Manage your plugins":["Upravljajte dodacima"],"Moderate comments":["Moderirajte komentare"],"Error updating privacy settings. %(error)s":["Greška pri ažuriranju postavki privatnosti. %(error)s"],"Updated privacy settings.":["Postavke privatnosti su ažurirane."],"Updating privacy settings…":["Ažuriranje postavki privatnosti…"],"Add Jetpack Search Widget":["Dodaj Jetpack Widget pretrage"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Dodajte Jetpack widget pretrage u bočnu traku kako bi konfigurirali filtere pretraživanja."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Potpuno sigurnosno okružje, alati za marketing i zaradu, neograničena video pohrana, neograničene teme, poboljšana pretraga i prioritetna podrška."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Potpuno sigurnosno okružje, alati za marketing i zaradu, neograničena video pohrana i prioritetna podrška."],"Daily backups, spam filtering, and priority support.":["Dnevne sigurnosne kopije, filtriranje spama i prioritetna podrška."],"Always-on security":["Konstantna sigurnost"],"Activate video hosting":["Aktiviraj video hosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Sigurnosne kopije u realnom vremenu svih podataka web-stranice s neograničenim prostorom za pohranu, vraćanjem na prethodno stanje jednim klikom, automatsko sigurnosno skeniranje i prioritetna podrška."],"Design the perfect website":["Dizajnirajte savršenu web-stranicu"],"Set up Jetpack":["Postavite Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Trenutne sigurnosne kopije svih podataka web-stranice s neograničenim prostorom za pohranu, vraćanje jednim klikom i automatsko sigurnosno skeniranje."],"Jetpack Search":["Jetpack pretraga"],"Jetpack version %(version)s":[""],"Your site is being backed up in real time and regularly scanned for security threats.":["Za vašu web-stranicu se kreira sigurnosna kopija u realnom vremenu i regularno se skenira za sigurnosne prijetnje."],"Daily backup of all your site data with unlimited space and one-click restores":["Dnevne sigurnosne kopije svih podataka vaše web-stranice s neograničenim prostorom za pohranu i vraćanjem jednim klikom."],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Dnevne sigurnosne kopije svih podataka vaše web-stranice s neograničenim prostorom za pohranu, vraćanjem jednim klikom, automatskim sigurnosnim skeniranjem i prioritetna podrška"],"View your security activity":["Pregledajte sigurnosne aktivnosti"]," (powered by VaultPress).":[" (pokreće VaultPress)."],"Customize Search Widget":["Prilagodite widget Pretrage"],"Please correct the issue below and try again.":["Popravite problem naveden ispod i pokušajte ponovno.","Popravite probleme navedene ispod i pokušajte ponovno.","Popravite probleme navedene ispod i pokušajte ponovno."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Brinemo se da vaša web-stranica bude slobodna od sigurnosnih prijetnji. Obavijestiti ćemo vas ako pronađemo koju."],"Jetpack version":["Jetpack inačica"],"Activity":["Aktivnost"],"{{a}}View details{{/a}}":["{{a}}Prikaži detalje{{/a}}"],"Monetize your site with ads":["Monetizirajte svoju web-stranicu s oglasima"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Klikom na dugme ispod, slažete se s našim {{tosLink}}Uvjetima Usluge{{/tosLink}} i da ćete {{shareDetailsLink}}dijeliti pojedinosti{{/shareDetailsLink}} s WordPress.com."],"Jetpack Stats People":["Jetpack statistika ljudi"],"Hello there! Your stats have been activated.":["Pozdrav! Aktivirana vam je statistika."],"Just give us a little time to collect data so we can display it for you here.":["Dopustite malo vremena kako bi se prikupili podaci koje možemo ovdje prikazati."],"Okay, got it!":["Shvaćam!"],"Display ads below posts on":["Prikaži oglase ispod objava na"],"Additional ad placements":["Dodatna mjesta za oglase"],"Top of each page":["Na vrhu svake stranice"],"Second ad below post":["Drugi oglas ispod objave"],"Archives":["Arhiva"],"Stars":["Zvjezdice"],"Jupiter":["Jupiter"],"Schedule posts":["Tempiranje objava"],"Activate Publicize":["Aktiviraj Publiciranje"],"Your site is backed up.":["Napravljena je sigurnosna kopija za vašu web-stranicu."],"Get WordPress Apps for every device":["Nabavite WordPress aplikaciju za svaki uređaj"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Upravljajte svojim web-stranicama s jedne nadzorne ploče: objavljuje sadržaj, pratite statistiku, moderirajte komentare i još puno toga od bilo kuda u svijetu."],"Create address":["Kreiraj adresu"],"Automatically share your posts to social networks":["Automatski podijelite svoje objave na društvenim mrežama"],"Updating settings…":["Ažuriranje postavki..."],"Updating Post by Email address…":["Ažuriranje Objava putem adrese e-pošte..."],"Your paid plan gives you access to prioritized Jetpack support.":["Vaš plaćeni plan vam omogućuje pristup prioritetnoj Jetpack korisničkoj podršci."],"You have paid for backups but they're not yet active.":["Platili ste za sigurnosne kopije ali još nisu aktivne."],"You have paid for backups and security scanning but they’re not yet active.":["Platili ste za sigurnosne kopije i sigurnosno skeniranje ali još nisu aktivni."],"Click \"Set Up\" to finish installation.":["Kliknite \"Postavljanje\" za završetka instalacije."],"Checking site status…":["Provjera statusa web-stranice..."],"Pages":["Stranice"],"Access the full list of Jetpack modules available on your site.":["Pristupite cijeloj listi dostupnih Jetpack modula na vašoj web-stranici."],"We're here to help":["Ovdje smo da vam pomognemo"],"Jetpack comes with free, basic support for all users.":["Jetpack dolazi s besplatnom, osnovnom podrškom za sve korisnike."],"Ask a question":["Postavite pitanje"],"Search our support site":["Pretražite našu web-stranicu za podršku"],"Get a faster resolution to your support questions.":["Dobijte brze odgovore na vaša pitanja za podršku."],"Host fast, high-quality, ad-free video.":["Hostajte brzi, visoko kvalitetni video bez oglasa."],"Generate income with high-quality ads.":["Generirajte prihod s visoko kvalitetnim oglasima."],"Real-time site backups and automatic threat resolution.":["Trenutne sigurnosne kopije i automatska zaštita od prijetnja."],"Protect against data loss, malware, and malicious attacks.":["Zaštiti te se od gubitka podataka, malwarea, i zloćudnih napada."],"Protect your site from spam.":["Zaštitite web-stranicu od spama."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Ova web-stranica nije povezana s WordPress.com. Pitajte administratora web-stranice da poveže."],"An Automattic Airline":[""],"Manage site connection":["Upravljanje konekcijom web-stranice"],"Connect your account to WordPress.com to view more stats":["Spojite svoj račun s WordPress.com kako bi dobili više statistike"],"Theme enhancements":["Poboljšanja teme"],"Load more posts using the default theme behavior":["Učitajte više objava koristeći ponašanje izvorne teme"],"Load more posts in page with a button":["Učitajte više objava na stranici s dugmetom"],"Load more posts as the reader scrolls down":["Učitajte više objava dok se stranice pomiče"],"Theme support required.":["Potrebna je podrška teme."],"Learn more about adding support for Infinite Scroll to your theme.":["Saznajte više o dodavanju podrške vašoj temi za beskonačno pomicanje."],"Show excerpts instead of full posts on front page and archive pages":["Upotrijebite sažetke umjesto prikaza cijele objave na početnoj stranici i stranicama arhiva"],"Show featured images":["Prikaži istaknute slike"],"Enable the WordPress.com toolbar":["Omogući WordPress.com alatnu traku"],"Writing tools available to you will be shown here when an administrator enables them.":["Dostupni alati za pisanje biti će prikazani ovdje kada ih administrator omogući."],"Portfolios":["Portfolio"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Imajte na umu da {{b}}verificiranje vaše web-stranice s ovim servisima nije potrebno{{/b}} kako bi tražilice indeksirale vašu web-stranicu. Kako bi upotrijebili ove napredne alate tražilica i verificirali vašu web-stranicu s servisom, zalijepite HTML kod oznake ispod. Pročitajte {{support}}cijele upute{{/support}} ako imate problema. Podržani servisi verifikacije: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, i {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generiraj XML mape stranica"],"The image helps collect stats, but should work when hidden.":["Slika pomaže u skupljanju statistike, ali trebala bi funkcionirati kada se skrivena."],"Count logged in page views from":["Broji preglede stranica prijavljenog korisnika"],"Allow stats reports to be viewed by":["Dopustite prikaz izvještaja statistike korisniku"],"In \"Upgrade\"":["u \"Nadogradi\""],"Configure your Google Analytics settings":["Konfigurirajte postavke Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Prikaži oglase na prvom članku početne stranice ili na kraju svake stranice i objave. Postavite dodatne oglase na vrhu vaše web-stranice i svakom widgetu području kako bi povećali svoju zaradu."],"Enable ads and display an ad below each post":["Uključi oglase i prikaži oglas ispod svake objave"],"Configure your sharing buttons":["Konfigurirajte dugmad za dijeljenje sadržaja"],"Connect your social media accounts":["Spojite račune društvenih mreža"],"Match accounts using email addresses":["Upari račune koristeći adresu e-pošte"],"Require accounts to use WordPress.com Two-Step Authentication":["Zahtijevaj da računi koriste WordPress.com autentifikaciju s dvije provjere"],"Add to whitelist":["Dodaj u bijelu listu"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Možete dodati IP adresu ili seriju adresa u bijelu listu kako bi spriječili da ih Jetpack ikad blokira. Dozvoljene su IPv4 i IPv6. Kako bi naveli raspon adresa, unesite najniži i najvišu vrijednost odvojene crticom. Primjer: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Vaša web-stranica je zaštićena i ima sigurnosnu kopiju."],"Checking your spam protection…":["Provjera vaše spam zaštite..."],"Fetching key…":["Dohvaćanje ključa..."],"Your site needs an Antispam key.":["Vaša web-stranice treba Antispam ključ."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Pojavio se problem s vašim Antispam API ključem. {{a}}Saznajte više{{/a}}."],"Your site is not protected from spam.":["Vaša web-stranica nije zaštićena od spama."],"Your Antispam key is valid.":["Vaš Antispam ključ je ispravan."],"Your site is protected from spam.":["Vaša web-stranica je zaštićena od spama."],"Checking key…":["Provjera ključa..."],"Your API key":["Vaš API ključ"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Ako već nemate API ključ, onda {{a}}ovdje nabavite svoj API ključ{{/a}}, i biti ćete provedeni kroz proces dobivanja ključa."],"No search results found for %(term)s":["Nema rezultata pretrage za %(term)s"],"Enter a search term to find settings or close search.":["Upišite pojam za pretragu kako bi pronašli postavke ili zatvorite pretraživanje."],"Connections":["Konekcije"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Vaša web-stranica je trenutno u Razvojnom načinu rada, stoga se ne možete spojiti s WordPress.com."],"Your site is connected to WordPress.com.":["Vaša web-stranica je spojena s WordPress.com."],"You are the Jetpack owner.":["Vi ste Jetpack vlasnik."],"Connected as {{span}}%(username)s{{/span}}":["Spojeni kao {{span}}%(username)s{{/span}}"],"View your Email Followers":["Pregledajte svoje e-pošta pratitelje"],"Color scheme":["Paleta boja"],"Enable Markdown use for comments.":["Uključi Markdown upotrebu u komentarima."],"Updated settings.":["Postavke ažurirane."],"Error updating settings. %(error)s":["Greška pri ažuriranju postavki. %(error)s"],"Regenerated Post by Email address.":["Regenerirana Objava putem adrese e-pošte."],"Error regenerating Post by Email address. %(error)s":["Greška pri regeneriranju Objava putem adrese e-pošte. %(error)s"],"Updated settings. Refreshing page…":["Ažuriranje postavki. Osvježavanje stranice..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Trenutno u {{a}}Razvojnom okružju{{/a}} (neke mogućnosti su onemogućene) zbog: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}jetpack_development_mode filter je aktivan{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}JETPACK_DEV_DEBUG konstanta je definirana{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}URL-u vaše web-stranice nedostaje točka (npr. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics je besplatna usluga koja nadopunjuje našu {{a}}ugrađenu statistiku{{/a}} s drugačijim uvidima u promet web-stranice. WordPress.com statika i Google Analytics drugačije metode identificiranja i praćenja aktivnosti na vašoj web-stranici, stoga je normalno da prikazuju malo drugačije ukupne rezultate posjetitelja, pregleda, itd."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Google Analytics konfiguracija"],"Activate Google Analytics":["Aktiviraj Google Analytics"],"Download the free apps":["Preuzmite besplatne aplikacije"],"Upgrade Focus: VideoPress For Weddings":["Fokus nadogradnje: VideoPress za vjenčanja"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Sada možete konfigurirati srodne objave u Prilagodniku. {{ExternalLink}}Isprobajte!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Po izvornim postavkama oglasi su prikazani na kraju svake stranice, objave, ili prvog članka na vašoj početnoj stranici, Također, možete ih dodati na vrh vaše web-stranice i u bilo koje widget područje kako bi povećali zaradu!"],"Display an ad unit at the top of your site.":["Prikaži oglasnu jedinicu na vrhu web-stranice."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Aktiviranjem oglasa, slažete se s Automattic Ads {{link}}Uvjetima usluge{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Vaš poslužitelj nije dobro konfiguriran, što znači da Jetpack zaštita ne može efektivno zaštiti vašu web-stranicu."],"In \"Mobile\"":["U \"Mobile\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Konfigurirajte postavke obavijesti Monitora na WordPress.com{{/link}}"],"View your earnings":["Pogledajte svoju zaradu"],"Configure site SEO":["Konfiguriraj SEO web-stranice"],"Activate SEO tools":["Aktiviraj SEO alate"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["ZA početak, kliknite na 'Dodaj medijski zapis' u vašem uređivaču objava i prenesite video; mi ćemo se pobrinuti za ostalo!"],"Video Hosting":["Video Hosting"],"SEO Tools":["SEO Alati"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Napredni SEO alati koji će pomoći da se lakše pronađe vaša web-stranica kada ljudi traže relevantni sadržaj."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Najlakši načini za prijenos videa bez oglasa i logotipa (unbranded) na vašu web-stranicu. Možete dobiti uvid u statistiku video reprodukcije i dijeljenja, dok je sam reproduktor (player) lagan i prilagodljiv."],"You are running Jetpack on a staging server.":["Koristite Jetpack na pripremnom poslužitelju."],"More Info":["Više informacija"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Upravljajte vidljivošću Lajkova iz postavki modula Dijeljenje{{/a}}"],"Your current IP: %(ip)s":["Vaša trenutni IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Na ovoj kartici postoje nespremljene postavke koje će se izgubiti ako ju zatvorite. Nastaviti?"],"This will reset all Jetpack options, are you sure?":["Ovo će resetirati sve Jetpack opcije, jeste li sigurni?"],"Search for a Jetpack feature.":["Pretraga Jetpak mogućnosti."],"Configure your Security Scans":["Konfigurirajte Sigurnosna skeniranja"],"Subscriber":["Pretplatnik"],"Big iPhone/iPad Update Now Available":["Veliko iPhone/iPad ažuriranje je sada dostupno"],"The WordPress for Android App Gets a Big Facelift":["Aplikacija WordPress za Android dobila je veliko poboljšanje"],"WordPress.com Likes are:":["WordPress.com lajkovi su:"],"A few catchy words to motivate your visitors to comment.":["Par privlačnih riječi kojima ćete motivirati vaše čitatelje na komentiranje."],"Hide the stats smiley face image":["Sakrij ikonu smješka statistike"],"Whitelisted IP addresses":["IP adrese u bijeloj listi"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Prikaži promo za WordPress mobilne aplikacije u podnožju mobilne teme."],"Copied!":["Kopirano!"],"Highlight and copy the following text to your clipboard:":["Označite i kopirajte sljedeći tekst:"],"Regenerate address":["Regeneriranje adrese"],"Cheatin' uh?":["Varamo, jeli?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Možete li nam reći zašto niste dovršili spajanje s Jetpackom u ovom {{a}}upitniku s dva pitanja{{/a}}?{{/p}}{{p}}Spajanje s Jetpackom je potrebno kako bi radile naše besplatne funkcije sigurnosti i prometa.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Dobro došli u {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Vaš Jetpack je već spojen."],"You're fueled up and ready to go, Jetpack is now active.":["Sve je spremno za korištenje, Jetpack je aktiviran."],"You're fueled up and ready to go.":["Sve je spremno za korištenje."],"You are currently running a development version of Jetpack.":["Trenutno koristite razvojnu inačicu Jetpacka."],"Submit Beta feedback":["Pošaljite Beta povratnu informaciju"],"What would you like to see on your Jetpack Dashboard?":["Što bi željeli vidjeti na svojoj Jetpack Nadzornoj ploči?"],"Let us know!":["Dojavite nam!"],"Saving…":["Snimanje..."],"Save Settings":["Spremi postavke"],"Jetpack Stats Icon":["Jetpack Ikona statistike"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Aktiviraj Statistiku web-stranice{{/a}} kako bi vidjeli detaljnu statistiku, lajkove, pratitelje, pretplatnike i još puno toga! {{a1}}Saznajte više{{/a1}}"],"Activate Site Stats":["Aktiviraj Statistiku web-stranice"],"Site Backups":["Sigurnosne kopije web-stranice"],"Upgrade":["Ažuriranje"],"ACTIVE":["AKTIVNO"],"View your spam stats":["Pregled spam statistike"],"View your security dashboard":["Pregled nadzorne ploče sigurnosti"],"Real-Time Backups":["Trenutne Sigurnosne kopije"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Vaša web-stranica je trenutno u Razvojnom načinu rada, stoga se ne možete spojiti s WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Povežite svoj račun s WordPress.com kako bi maksimalno iskoristili Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Za automatsko, opsežno sigurnosno skeniranje sigurnosnih prijetnji, {{a}}instalirajte i aktivirajte{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack aktivno blokira zloćudne pokušaje prijave. Podaci će se uskoro ovdje prikazati."],"Total malicious attacks blocked on your site.":["Ukupan broj blokiranih zloćudnih napada na vašu web-stranicu."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Aktivna zaštita{{/a}} za zaštitu vaše web-stranice od zloćudnih pokušaja prijave."],"All plugins are up-to-date. Awesome work!":["Svi dodaci su ažurirani. Odličan posao!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack nadzire vašu web-stranicu. Ako nam se učini da web-stranice nije online, poslati ćemo vam poruku e-poštom."],"Security":["Sigurnost"],"Performance":["Performanse"],"Backup":["Sigurnosne kopije"],"{{a}}View backup details{{/a}}.":["{{a}}Pregledaj detalje sigurnosne kopije{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Za automatsku sigurnosnu kopiju cijele web-stranice napravite {{a}}instalirajte i aktivirajte{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Nedostupno u Razvojnom načinu rada."],"Unavailable in Dev Mode":["Nedostupno u razvojnom modu"],"Activating %(slug)s…":["Aktiviranje %(slug)s…"],"%(slug)s has been activated.":["%(slug)s je aktivirano."],"%(slug)s failed to activate. %(error)s":["%(slug)s nije se uspjelo aktivirati. %(error)s"],"Deactivating %(slug)s…":["Deaktiviranje %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s je deaktivirano."],"%(slug)s failed to deactivate. %(error)s":["Neuspjela deaktivacija %(slug)s. %(error)s"],"Updating %(slug)s settings…":["Ažuriranje postavki %(slug)s..."],"Updated %(slug)s settings.":["%(slug)s postavke ažurirane."],"Error updating %(slug)s settings. %(error)s":["Greška pri ažuriranju %(slug)s postavki. %(error)s"],"Updating %(slug)s address…":["Ažuriranje %(slug)s adrese."],"Regenerated %(slug)s address .":["Regenerirana %(slug)s adresa."],"Error regenerating %(slug)s address. %(error)s":["Greška u regeneriranju %(slug)s adrese. %(error)s"],"Resetting Jetpack options…":["Resetiranje Jetpack opcija..."],"Options reset.":["Reset opcija."],"Options failed to reset.":["Opcije nisu uspješno resetirane."],"There was an error disconnecting Jetpack. Error: %(error)s":["Dogodila se greška pri odspjajanju Jetpacka. Error: %(error)s"],"Unlinking from WordPress.com":["Odspajanje od WordPress.com."],"Unlinked from WordPress.com.":["Odspojen od WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Greška pri odspajanju od WordPress.com. %(error)s"],"At A Glance":["Kratki pregled"],"Dashboard":["Nadzorna ploča"],"Automattic's Privacy Policy":["Automattic Polica Privatnosti"],"WordPress.com Terms of Service":["WordPress.com Uvjeti Usluge"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Uključite automatsko ažuriranje dodataka{{/a}}"],"Plugin Updates":["Ažuriranja dodataka"],"No threats found, you're good to go!":["Nisu pronađene prijetnje, nastavite bez briga!"],"{{a}}Contact Support{{/a}}":["{{a}}Kontaktiraj podrišku{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Pogledaj detalje na VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s prijetnja pronađena.","Uh oh, %(number)s prijetnje pronađene.","Uh oh, %(number)s prijetnja pronađeno."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Aktiviraj Monitor{{/a}} za primanje obavijesti e-poštom ako vaša web-stranica postane nedostupna."],"Loading…":["Učitavanje..."],"Downtime monitor":["Nadzor dostupnosti"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Pogledajte više statistike na WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Prikaži detaljnu statistiku{{/button}}"],"All-time comments":["Svi komentari"],"All-time views":["Svi pregledi"],"%(number)s View":["%(number)s pregled","%(number)s pregleda","%(number)s pregleda"],"Best overall day":["Najposjećeniji dan"],"Views today":["Pregleda danas"],"Months":["Mjeseci"],"Weeks":["Tjedana"],"Days":["Dana"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Nešto se dogodilo prilikom učitavanja statistike. Pokušajte ponovno kasnije ili {{a}}odmah pregledajte statistiku na WordPress.com{{/a}}"],"Click to view detailed stats.":["Kliknite za pregled detaljne statistike."],"Views: %(numberOfViews)s":["Pregleda: %(numberOfViews)s"],"Week of %(date)s":["Tjedan %(date)s"],"Site Security":["Sigurnost web-stranice"],"Link to WordPress.com":["Povezivanje s WordPress.com"],"Unlink me from WordPress.com":["Odspajanje s WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Dogodio se problem s spajanjem Jetpacka. Kliknite ponovno na \"Poveži se s WordPress.com\""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Dogodio se problem s spajanjem Jetpacka; deaktivirajte a zatim reaktivirajte Jetpack dodatak, i ponovno se spojite."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Trebate ostati prijavljeni na vašem WordPress blogu dok autorizirate Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Vaš Jetpack ima problema.{{/s}} Ispričavamo se zbog neugodnosti. Pokušajte ponovno kasnije, ako se problem nastavi, kontaktirajte podršku s ovom porukom: %(error_key)s"],"Disconnecting Jetpack":["Odspoji Jetpack"],"Learn more":["Saznaj Više"],"Posts":["Objave"],"Front page":["Početna stranica"],"Upload videos":["Prenesi video"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Prikaži srodni sadržaj ispod objava"],"Related":["Srodno"],"Disconnect":["Odspojeni"],"Save":["Spremi"],"Media":["Media"],"Mobile Theme":["Tema za Mobitele"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX je moćan markup jezik za pisanje kompleksnih matematičkih jednadžbi, formula, itd."],"Site Stats":["Statistike stranice"],"Sharing":["Dijeljenje "],"Testimonials":["Preporuke"],"Cancel":["Odustani"],"Comments":["Komentari"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack ne može kontaktirati WordPress.com: %(error_key)s. Ovo obično znači da je nešto krivo konfigurirano na vašem web hostu."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com trenutno ima neke probleme i ne može aktivirati vaš Jetpack. Molimo vas da pokušate kasnije. "],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Vaš Jetpack ima problem.{{/s}} Povezivanje ove web-stranice s WordPress.com nije moguće. Ovo obično znači da vaša stranica nije javno dostupna (localhost). "],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Vaša web-stranica mora biti javno dostupan da bi mogao koristiti Jetpack: %(error_key)s"],"Edit":["Uredi"],"Connected":["Spojeno"],"Activate":["Aktiviraj"],"Active":["Aktivno"],"Settings":["Postavke"],"Learn More":["Saznaj više"],"Disconnect Jetpack":["Odspoji Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":[""],"Settings header\u0004Anti-spam":[""],"Settings header\u0004WP.me Shortlinks":[""],"Settings header\u0004Auto-update plugins":[""],"Settings header\u0004Widgets":[""],"Settings header\u0004Downtime monitoring":["Praćenje nedostupnosti"],"Settings header\u0004Privacy Settings":["Postavke privatnosti"],"Settings header\u0004WordPress.com toolbar":["WordPress.com alatna traka"],"Settings header\u0004Composing":["Sastavljanje"],"Settings header\u0004Site stats":["Statistika web-stranice"],"Settings header\u0004Search engine optimization":["Optimizacija za tražilice (SEO)"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Dugmad za dijeljenje"],"Settings header\u0004Publicize connections":["Konekcije Publiciranja"],"Settings header\u0004Like buttons":["Dugmad 'Sviđanje'"],"Settings header\u0004Brute force attack protection":["Zaštita od napada sirovom snagom"],"Settings header\u0004Backups and security scanning":["Sigurnosne kopije i sigurnosno skeniranje"],"Notice in the empty statistics chart\u0004No activity this period":[""],"Settings header, noun.\u0004WordPress.com login":[""],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":[""],"A caption for a button to cancel an action.\u0004Cancel":[""],"Link to learn more about Jetpack.\u0004About":[""],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Navigation item.\u0004Performance":[""],"Navigation item.\u0004My Plan":[""],"Navigation item.\u0004Dev Tools":["Razvojni alati"],"Navigation item.\u0004Settings":["Postavke"],"Navigation item.\u0004Discussion":["Rasprava"],"Navigation item.\u0004Traffic":["Promet"],"Navigation item.\u0004Sharing":["Dijeljenje"],"Navigation item.\u0004At A Glance":["Kratki pregled"],"Navigation item.\u0004Plans":["Planovi"],"Navigation item.\u0004Writing":["Pisanje"],"Navigation item.\u0004Reset Options (dev only)":["Reset opcije (samo dev inačice)"],"Navigation item.\u0004Security":["Sigurnost"],"Navigation item.\u0004At a Glance":["Kratki pregled"],"Search term.\u0004terms of service":["uvjeti korištenja"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["tracks"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Nadogradnja"],"Button caption\u0004Saving…":["Spremanje..."],"Button caption\u0004Save settings":["Spremi postavke"],"A heading for a block of related posts.\u0004Related":["Povezano"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Pretpregled"],"Short warning message\u0004Updates needed":["Potrebne nadogradnje"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Plaćeno"],"A header for a preview area in the configuration screen.\u0004Preview":["Pretpregled"],"Ads header\u0004Ads":["Oglasi"],"Dashboard widget header\u0004Site connection":["Konekcija web-stranice"],"Dashboard widget header\u0004Account connection":["Konekcija računa"],"A caption for a small button to fix security issues.\u0004Threats":["Prijetnje"],"A caption for a small button to fix security issues.\u0004FIX":["POPRAVAK"],"Short warning message about new threats found.\u0004Threats found!":["Pronađene prijetnje!"],"Short message informing user that the site is secure.\u0004Secure":["Osigurano"],"Caption for a button to set up a feature.\u0004Set up":["Postavi"],"verb\u0004Copy":["Kopija"],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Blokirani spam komentari."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ca-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ca-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 8f34e997..00000000
--- a/plugins/jetpack/languages/json/jetpack-ca-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"ca"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":["S'ha copiat"],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":["Actualitza"],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":["Seguretat"],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":["Tauler"],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Saber-ne més"],"Posts":["Entrades"],"Front page":["Pàgina inicial"],"Pinterest":["Pinterest"],"Google":[""],"Show related content after posts":[""],"Related":["Relacionats"],"Disconnect":["Desconnecta"],"Save":["Desa"],"Media":["Mèdia"],"Site Stats":["Estadístiques del lloc web"],"Sharing":["Compartint"],"Testimonials":[""],"Cancel":["Cancel·la"],"Comments":["Comentaris"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["El JetPack no ha pogut contactar amb WordPress.com: %(error_key)s. Això normalment significa que alguna cosa està mal configurada al vostre servidor web."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com està tenint problemes ara mateix i no pot donar-li canya al teu JetPack. Torneu-ho a provar més tard."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}El JetPack té un problema tècnic.{{/s}} La connexió d'aquest lloc amb WordPress.com no és possible. Això significa normalment que el vostre lloc no és accessible públicament (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["La pàgina web necessita ser accessible públicament per fer servir el JetPack: %(error_key)s"],"Edit":["Edita"],"Connected":["Connectat"],"Activate":["Activa"],"Active":["Activa"],"Settings":["Opcions"],"Learn More":["Saber-ne més"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":["Posa a prova la compatibilitat del seu lloc amb Jetpack."],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ckb-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ckb-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 66ddaf30..00000000
--- a/plugins/jetpack/languages/json/jetpack-ckb-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"ku_IQ"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["زیاتر بزانە"],"Posts":["بابه‌ته‌كان"],"Front page":["پەڕەی سەرەکی"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":[""],"Related":["هاوشێوە"],"Disconnect":["بیپچڕینە"],"Save":["پاشه‌كه‌وتكردن"],"Media":["ڕەنگاڵە"],"Site Stats":["زانیاری ماڵپەر"],"Sharing":["بڵاوکردنەوە"],"Testimonials":[""],"Cancel":["پاشگەزبوونەوە"],"Comments":["لێدوانه‌کان"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["مالپەری وۆردپرێس لەم کاتەدا کێشەی هەیە و ناتوانێ تانکی بەنزینەکەی جێتپاک پڕ بکاتەوە. تکایە دواتر هەوڵبدەرەوە."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["ده‌ستكاری"],"Connected":["بەسترا"],"Activate":["چالاکكردن"],"Active":["چالاک"],"Settings":["ڕێكخستنه‌كان"],"Learn More":["زیاتر بزانە"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-cs_CZ-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-cs_CZ-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 4812081d..00000000
--- a/plugins/jetpack/languages/json/jetpack-cs_CZ-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;","lang":"cs_CZ"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":["Odpojování Jetpacku"],"Learn more":["Zjistit více"],"Posts":["Příspěvky"],"Front page":["Úvodní stránka"],"Pinterest":[""],"Google":["Google"],"Show related content after posts":["Zobrazovat související obsah pod příspěvky"],"Related":["Související"],"Disconnect":["Odpoj"],"Save":["Uložit"],"Media":["Média"],"Site Stats":["Statistiky stránek"],"Sharing":["Sdílení"],"Testimonials":["Reference"],"Cancel":["Zrušit"],"Comments":["Komentáře"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Vaše webové stránky musí být veřejně přístupné pro používání Jetpack: %(error_key)s"],"Edit":["Upravit"],"Connected":["Připojen"],"Activate":["Aktivovat"],"Active":["Aktivní"],"Settings":["Nastavení"],"Learn More":["Zjistit více"],"Disconnect Jetpack":["Odpojit Jetpack"],"Test your site’s compatibility with Jetpack.":["Otestujte kompatibilitu vaší stránky s Jetpack."],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-cy-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-cy-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 83c2ee11..00000000
--- a/plugins/jetpack/languages/json/jetpack-cy-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;","lang":"cy_GB"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views","%(number)s Views","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Dysgu rhagor"],"Posts":["Cofnodion"],"Front page":["Tudalen flaen"],"Pinterest":[""],"Google":["Google"],"Show related content after posts":[""],"Related":["Yn perthyn"],"Disconnect":["Datgysylltu"],"Save":["Cadw"],"Media":["Cyfrwng"],"Site Stats":["Ystadegau'r Wefan"],"Sharing":["Rhannu"],"Testimonials":["Tystebau"],"Cancel":["Diddymu"],"Comments":["Sylwadau"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["Mae WordPress.com yn cael trafferthion ar hyn o bryd ac nid yw'n gallu rhoi cychwyn ar eich Jetpack. Rhowch gynnig arni eto yn nes ymlaen."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Mae angen i'ch gwefan fod ar gael yn gyhoeddus er mwyn defnyddio Jetpack: %(error_key)s"],"Edit":["Golygu"],"Connected":["Wedi cysylltu"],"Activate":["Gweithredu"],"Active":[""],"Settings":["Gosodiadau"],"Learn More":["Dysgu Rhagor"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":["Profwch pa mor dda mae eich gwefan yn cydweddu â Jetpack."],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-da_DK-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-da_DK-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 02e7f4e2..00000000
--- a/plugins/jetpack/languages/json/jetpack-da_DK-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"da_DK"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Manage Likes synlighed fra Sharing Module indstillinger{{/a}}"],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Der er ikke-gemte indstillinger i dette faneblad, der vil forsvinde hvis du forlader siden. Vil du fortsætte?"],"This will reset all Jetpack options, are you sure?":["Dette vil nulstille af alle Jetpacks indstillinger, er du sikker?"],"Search for a Jetpack feature.":["Søg efter en Jetpack funktion."],"Configure your Security Scans":["Opsæt dine Security Scans"],"Subscriber":["Abonnent"],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Få mere at vide"],"Posts":["Indl&#230;g"],"Front page":["Forside"],"Pinterest":[""],"Google":["Google"],"Show related content after posts":["Vis relateret indhold efter indlæg"],"Related":["Relateret"],"Disconnect":[""],"Save":["Gem"],"Media":["Medier"],"Site Stats":["Statistik for webstedet"],"Sharing":["Deling"],"Testimonials":[""],"Cancel":["Annuller"],"Comments":["Kommentarer"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com har i øjeblikket problemer, og er ude af stand til at fylde brændstof på din Jetpack. Prøv venligst igen senere."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Rediger"],"Connected":[""],"Activate":["Aktiver"],"Active":["Aktiv"],"Settings":["Indstillinger"],"Learn More":["Få mere at vide"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-de_DE-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-de_DE-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 9ace8ac1..00000000
--- a/plugins/jetpack/languages/json/jetpack-de_DE-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"de"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Dein %(planName)s-Tarif enthält %(featureName)s. Es sieht so aus, als ob du auch das %(productName)s-Produkt gekauft hast. Überlege dir, %(productName)s zu entfernen."],"real-time backups":["Backups in Echtzeit"],"daily backups":["Tägliche Backups"],"Renews on %s.":["Verlängerung am %s."],"Purchased on %s.":["Gekauft am %s."],"Select a backup option:":["Wähle eine Backup-Option aus:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Upgraden auf %(name)s für {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Bei einer jährlichen Zahlung sparst du {{savings /}} pro Jahr"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Beeile dich! Diese {{s}}Einführungspreise sind nur begrenzte Zeit verfügbar!{{/s}}"],"Up to %(percent)d%% off!":["Bis zu %(percent)d %% Rabatt!"],"per month":["pro Monat"],"per year":["pro Jahr"],"Which backup option is best for me?":["Welche Backup-Option ist für mich am besten geeignet?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}–{{higherPrice/}}"],"Manage Subscription":["Abonnement verwalten"],"Your site is being backed up.":["Deine Website wird gesichert."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Du musst deine Server-Anmeldedaten eingeben, um die Konfiguration von Jetpack Backup abzuschließen."],"Jetpack Backup is being configured for your site.":["Jetpack Backup wird für deine Website konfiguriert."],"Daily Backups":["Tägliche Backups"],"Just looking for backups? We've got you covered.":["Suchst du gerade nach Backups? Wir haben genau das Richtige für dich."],"Solutions":["Lösungen"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Enthalten in deinem {{planLink}}Professional-Tarif{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Enthalten in deinem {{planLink}}Premium-Tarif{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Enthalten in deinem {{planLink}}Persönlich-Tarif{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Kontinuierliche Backups stellen sicher, dass du deine Website nicht verlieren kannst. Deine Änderungen werden während der Bearbeitung gespeichert und du erhältst unbegrenzte Backup-Archive."],"Always-on backups ensure you never lose your site.":["Kontinuierliche Backups stellen sicher, dass du deine Website nicht verlieren kannst."],"My Products":["Meine Produkte"],"My Plan":["Mein Tarif"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack Backup {{em}}in Echtzeit{{/em}}"],"Your data is being securely backed up as you edit.":["Deine Daten werden gesichert, während du sie bearbeitest."],"Jetpack Backup {{em}}Daily{{/em}}":["{{em}}Tägliches{{/em}} Jetpack-Backup"],"Your data is being securely backed up every day with a 30-day archive.":["Deine Daten werden jeden Tag in einem 30-tägigen Archiv gesichert."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Persönlich"],"Jetpack Free":["Jetpack Free"],"Expired on %s.":["Abgelaufen am %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Hast du Fragen? Wir helfen dir gerne! {{a}}Sende dem Jetpack-Support-Team eine Frage.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack verfügt über zahlreiche leistungsstarke Tools, mit denen du deine Ziele erreichen kannst."]," We’ve highlighted some of the features you rely on below.":[" Wir haben im Folgenden einige beliebte Features hervorgehoben."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack unterstützt derzeit Features auf deiner Website. Wenn du Jetpack deaktivierst, sind diese Features nicht mehr verfügbar und deine Website funktioniert möglicherweise nicht mehr wie vorher."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack unterstützt derzeit Features auf deiner Website. Wenn du Jetpack von deiner Website trennst, sind diese Features nicht mehr verfügbar und deine Website funktioniert möglicherweise nicht mehr wie vorher."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Steigere deinen Traffic mit automatisiertem {{a}}Teilen und Veröffentlichen in den sozialen Medien.{{/a}}"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Wehre {{a}}Brute-Force-Angriffe{{/a}} ab und erhalte sofortige Benachrichtigungen, wenn deine Website ausfällt."],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Beschleunige deine Website und stelle mit {{a}}unserem CDN{{/a}} mobilgerätefreundliche Bilder bereit."],"Disable":["Deaktivieren"],"Are you sure you want to disconnect and deactivate?":["Möchtest du die Verbindung zu dieser Website wirklich trennen und deaktivieren?"],"Are you sure you want to disconnect?":["Bist du sicher, dass du die Verbindung trennen möchtest?"],"Disable Jetpack":["Jetpack deaktivieren"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Wir haben deine Website mit allen Änderungen gesichert, sodass du Fehler ganz einfach beheben kannst."],"Automated Real-time Backups":["Automatische Backups in Echtzeit"],"We back up your website every day, so you never have to worry about your data again.":["Wir sichern deine Website jeden Tag, sodass du dir nie wieder Sorgen um deine Daten machen musst."],"Automated Daily Backups":["Automatische tägliche Backups"],"View Your Backups":["Backups anzeigen"],"A Jetpack Site securely backed up with Jetpack Backup":["Eine Jetpack-Website, die mit Jetpack Backup gesichert wurde"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Mithilfe der Markdown-Syntax kannst du Inhalte mit Links, Listen und anderen Stilen erstellen. Diese Einstellung aktiviert Markdown im klassischen Editor sowie innerhalb eines klassischen Editor-Blocks."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Aktiviere diese Option{{/a}}, um die Bildgrößen zu optimieren und Bilder aus Jetpacks schnellem, globalen Servernetzwerk zu laden. So wird die Performance deiner Website auf Desktop- und Mobilgeräten verbessert."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack optimiert die Größe und Downloadgeschwindigkeit deiner Bilder mithilfe unseres schnellen, globalen Servernetzwerks. So wird die Performance deiner Website auf Desktop- und Mobilgeräten verbessert."],"Image Accelerator":["Bild-Beschleuniger"],"Start with free":["Mit Free starten"],"Now that you're set up, pick a plan that fits your needs.":["Da die Einrichtung jetzt abgeschlossen ist, kannst du einen Tarif wählen, der zu dir passt."],"Jetpack Backup":["Jetpack-Backup"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Dein Jetpack-Tarif bietet Spamschutz über Akismet. Klicke auf „Einrichten“, um den Dienst auf deiner Website zu aktivieren."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Du hast bereits einen Schlüssel? {{a}}Akismet aktivieren{{/a}}"],"Verifying…":["Verifizierung läuft…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Erhöhe mit den leistungsstarken SEO-Tools von Jetpack Premium oder Professional dein Ranking in Suchmaschinen."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Optimiere deine Website für Mobilgeräte, sodass sie auch schnell geladen wird. Besuchern wird dein normales Theme auf Bildschirmen anderer Größe angezeigt."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Sorge für ein reibungsloses, unterbrechungsfreies Leseerlebnis, indem mehr Inhalte geladen werden, wenn Besucher auf deinen Archivseiten nach unten scrollen."],"Customize your SEO settings":["Deine SEO-Einstellungen anpassen"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Kontrolliere, wie Suchmaschinen deine Website darstellen. Mit den SEO-Tools von Jetpack kannst du in einer Vorschau sehen, wie deine Inhalte in bekannten Suchmaschinen angezeigt werden, und Elemente wie den Namen deiner Website oder Untertitel in Sekundenschnelle ändern."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Füge Teilen-Buttons hinzu, damit Besucher deiner Websites deine Beiträge und Seiten mit nur wenigen Klicks in sozialen Medien teilen können."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Füge ein kleines Diagramm in deine Adminleiste mit einer Momentaufnahme deines Traffics innerhalb von 48 Stunden ein."],"Expand to update settings for how visits are counted and manage who can view this information.":["Aktualisiere die Einstellungen, um festzulegen, wie Besuche gezählt werden, und verwalte, wer diese Informationen sehen kann."],"You can customize the sharing buttons and choose which services to display.":["Du kannst die Teilen-Buttons anpassen und wählen, welche Dienste angezeigt werden sollen."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Deine Website wird durch Jetpack geschützt. Du wirst benachrichtigt, wenn du irgendetwas tun musst."],"Find threats early so we can help fix them fast.":["Finde Bedrohungen frühzeitig, sodass wir sie schnell ausschalten können."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Ersetze die Basissuche deiner Website durch eine individuelle Suchoption, mit der deine Besucher schneller Antworten auf ihre Fragen finden können."],"Never worry about losing your site – automatic backups keep your content safe.":["Mach dir keine Sorgen, Inhalte auf deiner Website zu verlieren – durch automatische Backups werden sie geschützt."],"Protect":["Schützen"],"Scan":["Scannen"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Lösche Spam automatisch aus deinen Kommentaren und Formularen, sodass du dich auf dein Geschäft konzentrieren kannst."],"Anti-spam":["Anti-Spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Verbinde mit Jetpack Premium oder Professional deine Website in wenigen Sekunden mit Google Analytics."],"Log in to the WordPress mobile app":["Bei der mobilen WordPress-App anmelden"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Melde dich mühelos bei der WordPress-App an, indem du auf den Link klickst, den wir an die E-Mail-Adresse deines Kontos versenden."],"Email me a link to log in to the app":["Ich möchte einen Link zur Anmeldung bei der App"],"Send your new posts to this email address:":["Sende deine neuen Beiträge an diese E-Mail-Adresse:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Per E-Mail bloggen ist eine schnelle Methode zur Veröffentlichung neuer Beiträge, ohne deine Website aufzurufen. Wir erstellen dir eine einmalige E-Mail-Adresse, an die du deine Inhalte senden kannst. Diese Inhalte werden auf deiner Website wie alle anderen Beiträge auch angezeigt."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":["Bestätige deine Inhaberschaft der Website mit Diensten von Drittanbietern"],"Generate shortened URLs for simpler sharing.":["Erzeuge Kurzlinks für einfacheres Teilen von Inhalten."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Erhalte mit relevanten Inhalten unter jedem Beitrag das Interesse der Besucher an deinem Blog. Diese Einstellungen werden nicht für {{a}}ähnliche Beiträge übernommen, die mithilfe des Block-Editors hinzugefügt wurden{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Die Funktion hilft Besuchern dabei, mehr deiner Inhalte zu finden, indem unter jedem Beitrag ähnliche Beiträge angezeigt werden."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack generiert automatisch eine individuelle {{link1}}ads.txt{{/link1}}-Datei speziell für deine Website. Wenn du zusätzliche Einträge für andere Netzwerke hinzufügen musst, dann gib diese bitte unten in jeweils einer eigenen Zeile an. {{link2}}Hier findest du mehr Details hierzu{{/link2}}."],"Add sharing buttons to your posts and pages":["Füge Teilen-Buttons zu deinen Beiträgen und Seiten hinzu"],"Share your content to social media, reaching new audiences and increasing engagement.":["Teile deine Inhalte in sozialen Medien, um ein größeres Publikum zu erreichen."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Erhalte Benachrichtigungen, wenn deine Website ausfällt. Wenn sie wieder erreichbar ist, lassen wir dich dies ebenfalls wissen."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Mit Jetpack hast du die Option, dass deine Plugins bei jedem neuen Plugin-Release automatisch aktualisiert werden. Du erhältst umgehend die neuesten Behebungen von Sicherheitsproblemen und Fehlern, sodass deine Website immer geschützt ist."],"Choose which plugins to auto-update":["Welche Plugins sollen automatisch aktualisiert werden?"],"Upgrade Jetpack now":["Jetzt Jetpack-Upgrade durchführen"],"Monetize your site by running high quality ads.":["Verdiene mit deiner Website Geld mithilfe hochwertiger Werbeanzeigen."],"Customize your social posting schedule.":["Erstelle einen individuellen Zeitplan für die Veröffentlichung von Beiträgen in sozialen Medien."],"Expand your audience with pro SEO tools.":["Erreiche eine größere Zielgruppe mit professionellen SEO-Tools."],"Take your site to the next level!":["Mache mit deiner Website den nächsten Schritt!"],"Search support docs":["Durchsuche die Support-Dokumentation"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Brauchst du Hilfe? Erfahre, wie du den Einstieg schaffst, deine Website individuell anpasst, anspruchsvollere Codeausschnitte nutzt und mehr."],"Start sharing":["Beginne zu teilen"],"Optimized performance":["Optimierte Performance"],"Enable the “subscribe to comments” option on your comment form":["Aktiviere die Option „Kommentare abonnieren“ in deinem Kommentarformular"],"Enable the “subscribe to site” option on your comment form":["Aktiviere die Option „Website abonnieren“ in deinem Kommentarformular"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Verwalte erweiterte Kommentareinstellungen und vergrößere deine Zielgruppe mit E-Mail-Abonnements."],"Comment form introduction":["Einführung von Kommentarformularen"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-Spam von Akismet Deine Kommentare und übermittelten Kontaktformulare werden anhand unserer globalen Spam-Datenbank überprüft."],"Failed to send login email":["Versenden von Anmelde-E-Mail fehlgeschlagen"],"Login email sent":["Anmelde-E-Mail gesendet"],"Sending login email…":["Anmelde-E-Mail wird gesendet ..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Machst du dir Sorgen um die Sicherheit? Erhalte Backups, automatische Behebungen von Sicherheitslücken und mehr: {{a}}Jetzt aufrüsten{{/a}}"],"Allow readers to like individual comments.":["Erlaube deinen Lesern, individuelle Kommentare positiv zu bewerten."],"Enable comment likes.":["Aktiviere dazu Kommentar-Likes."],"Allow readers to use markdown in comments.":["Erlaube deinen Lesern, Markdown in Kommentaren zu verwenden."],"Show Gravatar hovercards alongside comments.":["Zeige neben den Kommentaren Gravatar-Hovercards an."],"Complete Jetpack Setup":["Einrichtung von Jetpack abschließen"],"Your Jetpack setup progress":["Einrichtung von Jetpack"],"View your setup checklist":["Einrichtungscheckliste ansehen"],"Yearly":["Jährlich"],"Monthly":["Monatlich"],"About Jetpack":["Über Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Aktiviere Steuerelemente zur Sichtbarkeit von Widgets, damit diese nur in bestimmten Beiträgen bzw. auf bestimmten Seiten angezeigt werden"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Mit den Einstellungen zur Sichtbarkeit von Widgets kannst du selbst entscheiden, welche Widgets auf deinen Seiten angezeigt werden – du kannst also Widget-Inhalte genau auf deine Bedürfnisse zuschneiden."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Stelle zusätzliche Widgets wie Abonnementformulare und Twitter-Streams auf deiner Website zur Verfügung"],"Enhance CSS customization panel":["CSS-Anpassungsbereich optimieren"],"Writing":["Schreiben"],"Compose using shortcodes to embed media from popular sites":["Verwende Shortcodes, um Medien von beliebten Websites einzubetten"],"Traffic":["Traffic"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Du musst deine Server-Anmeldedaten eingeben, um die Konfiguration von Backups und Scans abzuschließen."],"Awaiting credentials":["Warten auf Anmeldedaten"],"Backups and Scan are being configured for your site.":["Backups und Scans werden für deine Website konfiguriert."],"Provisioning":["Bereitstellung"],"Action needed":["Aktion erforderlich"],"Setting up":["Einrichtung"],"Discussion":["Diskussionen"],"We are configuring your site protection.":["Wir konfigurieren gerade deinen Websiteschutz."],"View your site's backups":["Backups deiner Website anzeigen"],"We are backing up your site in real-time.":["Wir sichern deine Website mit Backups!"],"Enter credentials":["Anmeldedaten eingeben"],"You need to enter your server's credentials to finish the setup.":["Du musst deine Server-Anmeldedaten eingeben, um die Einrichtung abzuschließen."],"We are configuring your site's backups.":["Wir konfigurieren gerade die Backups deiner Website."],"View site activity":["Website-Aktivitäten anzeigen"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack zeichnet alles auf, was auf deiner Website passiert. Du hast damit die Verwaltung, Fehlerbehebung und die Wartung deiner Website stets unter Kontrolle."],"Explore our Jetpack plans":["Entdecke unsere Jetpack-Tarife"],"Support documentation":["Support-Dokumentation"],"Chat bubbles representing getting in touch with support":["Chat-Sprechblasen, welche die Kontaktaufnahme mit dem Support darstellen"],"Site activity":["Website-Aktivitäten"],"Reach a wider audience by automatically sharing your posts on social media.":["Erreiche ein breiteres Publikum, indem du deine Beiträge automatisch in Social Media teilst."],"Increase traffic to your site":["Steigere den Traffic zu deiner Website"],"Explore free themes":["Erkunde kostenlose Themes"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Erhalte unbegrenzten Zugriff auf Hunderte professioneller Themes und passe deine Website nach deinen Wünschen an."],"A wide variety of themes and tools to customize a site":["Eine breite Auswahl an Themes und Tools zur Anpassung einer Website"],"Set up your site security":["Richte deine Websitesicherheit ein"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Verhindere Anmeldeangriffe und erhalte bei einem Problem mit deiner Website sofort Benachrichtigungen."],"Site stats showing an evolution in traffic and engagement":["Website-Statistiken, die eine Steigerung des Traffic und der Interaktionen anzeigen"],"A hand holding a loupe":["Eine Hand mit einer Lupe"],"A chart showing an healthy increase in earnings":["Ein Diagramm, das eine deutliche Steigerung der Einnahmen anzeigt"],"Interface showing a chronological list of changes and updates in a site":["Benutzeroberfläche, die eine chronologische Liste der Änderungen und Aktualisierungen auf einer Website anzeigt"],"A cloud with multiple types of content floating around it":["Eine Wolke, um die mehrere Arten von Inhalten schweben"],"A folder holding real comments":["Ein Ordner mit echten Kommentaren"],"Make your site faster":["Mache deine Website schneller"],"Load pages faster by serving your images from our global network of servers.":["Lade Seiten schneller, indem deine Bilder über unser globales Servernetzwerk bereitgestellt werden."],"A fast and performant website":["Eine schnelle und leistungsfähige Website"],"A secure site, locked and protected by Jetpack":["Eine sichere Website, die von Jetpack gesperrt und geschützt wird"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Bestehende Beiträge, Seite, Referenzen und Portfolios duplizieren. Dabei werden alle Inhalte kopiert, einschließlich Text, Beitragsbilder, Teilen-Einstellungen usw.."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Diese Website kann nicht mit WordPress.com verknüpft werden, weil sie unsere {{a}}Geschäftsbedingungen{{/a}} verletzt."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Verbinde deine Website mit den von dir verwendeten Social Media-Netzwerken und teile deine Inhalte mit einem einzigen Klick in allen deinen Social Media-Konten. Wenn du einen Beitrag veröffentlichst, wird er in allen verbundenen Konten angezeigt."],"Add Like buttons to your posts and pages":["Füge zu deinen Beiträgen und Seiten Like-Buttons hinzu"],"When visitors enjoy your content, let them show it with a Like.":["Erlaube es deinen Besuchern zu zeigen, wenn ihnen deine Inhalte gefallen."],"Create account":["Konto erstellen"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack unterstützt deine Website. Um jedoch auf alle Funktionen zugreifen zu können, musst du ein Konto erstellen."],"Compose content the way you want to and streamline your publishing experience.":["Verfasse Inhalte auf deine Art und optimiere das Veröffentlichen."],"Add a portfolio item":["Ergänze das Portfolio"],"Add a testimonial":["Füge eine Referenz hinzu"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximiere die Sichtbarkeit deiner Website in Suchmaschinen und sieh dir Traffic-Statistiken in Echtzeit an."],"Create a Jetpack account to use this feature":["Erstelle ein Jetpack-Konto, um diese Funktion zu nutzen"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack überwacht deine Website kontinuierlich und warnt dich, sobald Ausfallzeiten erkannt werden."],"Error enabling Site accelerator. %(error)s":["Fehler beim Aktivieren des Website-Beschleunigers. %(error)s"],"Site accelerator is now speeding up your site!":["Mit dem Website-Beschleuniger wird deine Website jetzt noch schneller!"],"Enabling Site accelerator…":["Website-Beschleuniger wird aktiviert …"],"Error disabling site accelerator. %(error)s":["Fehler beim Deaktivieren des Website-Beschleunigers. %(error)s"],"Site accelerator is no longer speeding up your site!":["Ohne den Website-Beschleuniger wird deine Website jetzt leider nicht mehr schneller."],"Disabling site accelerator…":["Website-Beschleuniger wird deaktiviert …"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Lasse Seiten schneller laden, optimiere Bilder und biete deinen Besuchern eine schnellere Nutzererfahrung."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Ergänze die WordPress.com-Statistiken mit Googles umfassendem Einblick in das Verhalten deiner Besucher und das Traffic-Aufkommen."],"High-speed, high-definition video hosting with no third-party ads.":["Schnelles Videohosting in HD ohne Werbeanzeigen von Dritten."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Plane beliebig viele Tweets, Facebook-Beiträge und andere Beiträge in sozialen Netzwerken im Voraus."],"Marketing Automation":["Marketingautomatisierung"],"Activate Jetpack Search":["Jetpack Suche aktivieren"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Ersetze die standardmäßige WordPress-Suche und erhalte bessere Ergebnisse mit individuellen Filteroptionen, bereitgestellt von Elasticsearch."],"Start earning":["Geld verdienen"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["Mit WordAds kannst du durch Anzeigen von Werbeinhalten Geld verdienen. Beginne noch heute damit, Geld zu verdienen."],"Spam is automatically blocked from your comments.":["Spam wird automatisch in Kommentaren blockiert."],"Browse premium themes":["Premium-Themes durchsuchen"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Greife auf Hunderte von wunderschönen Premium-Themes zu, die dich keinen Cent extra kosten."],"Try a premium theme":["Premium-Theme testen"],"View settings":["Einstellungen anzeigen"],"Create a Jetpack account to view your email followers":["Erstelle ein Jetpack-Konto, um deine E-Mail-Follower zu sehen"],"Manage security settings":["Sicherheitseinstellungen verwalten"],"Jetpack is ready for the new WordPress editor":["Jetpack ist bereit für den neuen WordPress-Editor"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Heute stellen wir die ersten Blöcke für Jetpack vor, die speziell für den neuen Editor entwickelt wurden: Button für Einfaches Bezahlen, Formular, Karte und Markdown."],"Build your Jetpack site with blocks":["Erstelle deine Jetpack-Website mit Blöcken"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Ein neuer Editor? Ja! {{a}}Weitere Informationen{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Die bekannten Funktionen, angepasst an den neuen WordPress-Editor."],"Take me to the new editor":["Zum neuen Editor"],"Testing Jetpack Connection":["Jetpack-Verbindung testen"],"There was an error testing Jetpack. Error: %(error)s":["Fehler beim Testen von Jetpack. Fehler: %(error)s"],"New in Jetpack!":["Neu in Jetpack!"],"Speed up static file load times":["Ladezeiten von statischen Dateien verkürzen"],"Speed up image load times":["Ladezeiten von Bildern verkürzen"],"Enable site accelerator":["Website-Beschleuniger aktivieren"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Lade Seiten schneller, indem du Jetpack erlaubst, deine Bilder zu optimieren und deine Bilder und statischen Dateien (wie CSS und JavaScript) über unser globales Servernetzwerk bereitzustellen."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Erhöhe die Sicherheit deiner Website, indem du die Anmeldung mit WordPress.com und sichere Authentifizierung aktivierst. Wenn du über mehrere Websites verfügst und diese Option aktiviert ist, kannst du dich mit den gleichen Anmeldedaten bei allen diesen Websites anmelden."],"View your site activity":["Website-Aktivitäten anzeigen"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Sieh dir eine chronologische Liste aller Änderungen und Updates an deiner Website an."],"Manually Verify ":["Manuell verifizieren "],"Verify with Google":["Mit Google verifizieren"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google wird dich per E-Mail über bestimmte Vorkommnisse auf deiner Website informieren. Dazu gehören auch Anzeichen, dass deine Website {{a1}}gehackt{{/a1}} wurde, sowie Probleme beim {{a2}}Crawlen oder Indexieren{{/a2}} deiner Website."],"or":["oder"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Überwache den Traffic und die Performance deiner Website in der {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Deine Website wird mit Google verifiziert"],"Site failed to verify: %(error)s":["Website konnte nicht verifiziert werden: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Erhalte mit Jetpack Professional schnellere, erweiterte Suchfunktionen."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Ersetze die integrierte WordPress-Suche durch die Jetpack-Suche, eine erweiterte Suchfunktion"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Die Jetpack Suche ersetzt die integrierte Suche durch eine schnelle, skalierbare, anpassbare und relevante Suchfunktion, die in der WordPress.com-Cloud gehostet wird. Das Ergebnis: Deine Benutzer finden die gewünschten Inhalte noch schneller."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["Die integrierte WordPress-Suche ist besonders für Websites ohne viele Inhalte geeignet. Wenn deine Website jedoch größer wird, wird die Suche langsamer und gibt weniger relevante Ergebnisse zurück."],"Jetpack Search supports many customizations.":["Die Jetpack-Suche unterstützt eine Vielzahl von Anpassungen."],"Site is verified":["Website wurde verifiziert"],"Spam filtering and priority support.":["Spamfilter und vorrangiger Support."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Wenn Werbung aktiviert ist, generiert Jetpack automatisch eine individuelle ads.txt-Datei für deine Website."],"Custom ads.txt entries":["Individuelle ads.txt-Einträge"],"Privacy information":["Datenschutz"],"Enable Lazy Loading for images":["Aktiviere verzögertes Laden von Bildern"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Durch das verzögerte Laden von Bildern kannst du die Geschwindigkeit deiner Website und die Anzeigequalität verbessern. Bilder werden nicht alle auf einmal geladen, sondern erst, wenn Besucher auf der Seite herunterscrollen."],"Performance & speed":["Performance und Geschwindigkeit"],"Enable high-speed, ad-free video player":["Aktiviere den schnellen und werbefreien Videoplayer"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Gestalte deine veröffentlichten Inhalte mit einem hochauflösenden Video noch ansprechender. Mit Jetpack Video kannst du deinen Media Player anpassen und deinen Besuchern schnelle und werbefreie Videos ohne Branding bereitstellen. Videos werden auf unseren WordPress.com-Servern gehostet und benötigen keinen Speicherplatz von deinem Hosting-Tarif!"],"Video":["Video"],"Carousel color scheme":["Karussell-Farbschema"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif-Daten zeigen Besuchern zusätzliche technische Details eines Fotos, wie z. B. Brennweite, Öffnung und ISO."],"Show photo Exif metadata in carousel (when available)":["Zeige Exif-Metadaten eines Fotos in Karussell an (falls verfügbar)"],"Display images in a full-screen carousel gallery":["Präsentiere Bilder in einer Vollbild-Karussell-Galerie"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Erstelle Vollbild-Karussell-Diashows für die Bilder in deinen Beiträgen und auf deinen Seiten. Karussell-Galerien sind mobilfreundlich und animieren Website-Besucher, sich deine Fotos anzusehen."],"Portfolios shortcode: [portfolio]":["Shortcode der Portfolios: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Nutze {{portfolioLink}}Portfolios{{/portfolioLink}} auf deiner Website, um deine beste Arbeit zu präsentieren. Sollte dein Theme keine Jetpack-Portfolios unterstützen, kannst du immer noch einen einfachen Shortcode verwenden, um sie auf deiner Website anzuzeigen."],"Testimonials shortcode: [testimonials]":["Shortcode der Referenzen: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Füge {{testimonialLink}}Referenzen{{/testimonialLink}} zu deiner Website hinzu, um neue Kunden zu gewinnen. Sollte dein Theme keine Jetpack-Referenzen unterstützen, kannst du immer noch einen einfachen Shortcode verwenden, um sie auf deiner Website anzuzeigen."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Suchmaschinen können derzeit nicht auf deine Website zugreifen. Wenn du dies ändern möchtest, überprüfe deine {{a}}Leseeinstellungen{{/a}} und aktiviere „Sichtbarkeit in Suchmaschine“."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Gute Nachrichten: Jetpack sendet deine Sitemap automatisch an alle großen Suchmaschinen zur Indizierung."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Sitemaps sind Dateien, die Suchmaschinen wie Google oder Bing verwenden, um deine Website zu indizieren. Sie können helfen, dein Ranking in den Suchergebnissen zu verbessern. Wenn du diese Funktion aktivierst, erstellt Jetpack Sitemaps für dich und aktualisiert sie automatisch, wenn sich die Inhalte deiner Website ändern."],"Configure related posts in the Customizer":["Ähnliche Beiträge im Customizer konfigurieren"],"Highlight related content with a heading":["Ähnliche Inhalte mit einer Überschrift hervorheben"],"View security scan details":["Details des Sicherheits-Scans anzeigen"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Zeige ein Vorschaubild, sofern verfügbar"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Weitere Informationen dazu, wie bestimmte Jetpack-Funktionen Daten nutzen und Aktivitäten verfolgen, findest du in unserem {{privacyCenterLink}}Datenschutzzentrum{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Wir verwenden andere Werkzeuge zum Tracking, darunter auch welche von Drittanbietern. {{cookiePolicyLink}}Hier erhältst du weitere Informationen{{/cookiePolicyLink}} und Tipps, wie du sie kontrollierst."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Diese Informationen helfen uns dabei, unsere Produkte zu verbessern, Marketing besser auf dich zuzuschneiden, deine Erfahrung mit WordPress.com zu personalisieren und mehr. Alles das kannst du auch in unserer {{pp}}Datenschutzerklärung{{/pp}} nachlesen."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Teile Informationen über deine Nutzung von Diensten mit unserem Analysewerkzeug, während du in deinem WordPress.com-Konto angemeldet bist. {{cookiePolicyLink}}Weitere Informationen{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Diese Funktion wird von einem Website-Administrator verwaltet. {{link}}Weitere Informationen{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Diese Funktion wurde von einem Website-Administrator deaktiviert. {{link}}Weitere Informationen{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Diese Funktion wurde von einem Website-Administrator aktiviert. {{link}}Weitere Informationen{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s wurde(n) von einem Website-Administrator deaktiviert. {{link}}Weitere Informationen{{/link}}."],"This feature has been disabled by a site administrator.":["Diese Funktion wurde von einem Website-Administrator deaktiviert."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s wurde(n) von einem Website-Administrator deaktiviert."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Du kannst weitere Anzeigen mit dem Ad-Widget hinzufügen. {{link}}Probiere es aus!{{/link}}"],"Configure your notification settings":["Deine Benachrichtigungs-Einstellungen konfigurieren"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Die Jetpack-Suche ist ein leistungsstarker Ersatz für die in WordPress integrierte Suchfunktion."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Die Dateien deiner Website werden regelmäßig nach nicht autorisierten oder verdächtigen Änderungen gescannt, die ein Risiko für deine Sicherheit und Daten darstellen könnten."],"Plugin needs updating.":["Plugin muss aktualisiert werden.","Plugins müssen aktualisiert werden."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Mit der Plugin-Update-Funktion von Jetpack kannst du auswählen, welche Plugins automatisch aktualisiert werden sollen."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimiert deine Bilder und stellt sie über den Server-Standort bereit, der am nächsten an deinen Website-Besuchern liegt. Unser globales Netzwerk für Content-Auslieferung verkürzt die Ladezeiten deiner Website."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Die Ausfallzeiten-Überwachung von Jetpack kontrolliert deine Website laufend und warnt dich, sobald Ausfallzeiten erkannt werden."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Mit den Backups von Jetpack kannst du das Backup von einem bestimmten Zeitpunkt bequem wiederherstellen oder herunterladen."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Ermöglicht ein schlankes, für Mobilgeräte geeignetes Theme, das Besuchern auf Mobilgeräten angezeigt wird."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Lädt die nächsten Beiträge automatisch, wenn der Leser das Ende der Seite erreicht."],"Allows you to publish new posts by sending an email to a special address.":["Erlaubt dir, neue Beiträge zu veröffentlichen, indem du eine E-Mail an eine spezielle Adresse sendest."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Fügt eine Werkzeugleiste mit Links zu allen deinen Websites, Benachrichtigungen, deinem WordPress.com-Profil und dem Reader hinzu."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Stellt die erforderlichen ausgeblendeten Schlagwörter bereit, um deine WordPress-Website bei verschiedenen Diensten zu verifizieren."],"Displays information on your site activity, including visitors and popular posts or pages.":["Zeigt Informationen zu deinen Websiteaktivitäten an, etwa Besucher und beliebte Beiträge oder Seiten."],"Allows you to optimize your site and its content for better results in search engines.":["Erlaubt dir, deine Website und deren Inhalte zu optimieren, um in Suchmaschinen bessere Ergebnisse zu erzielen."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integriert deine WordPress-Website in Google Analytics, eine Plattform, die Einsichten zu deinem Traffic, deinen Besuchern und deinen Conversions bietet."],"Displays high-quality ads on your site that allow you to earn income.":["Zeigt hochwertige Anzeigen auf deiner Website an, mit denen du Geld verdienen kannst."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Erlaubt dir, deine neuesten Inhalte automatisch auf Social Media-Websites wie Facebook und Twitter zu teilen."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Fügt deinen Inhalten Gefällt mir-Buttons hinzu, sodass Besucher zeigen können, wenn ihnen die Inhalte gefallen."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Erlaubt registrierten Nutzern, sich bei deiner Website mit ihren WordPress.com-Konten anzumelden."],"Protects your site from traditional and distributed brute force login attacks.":["Schützt deine Website vor herkömmlichen und verteilten Brute-Force-Anmeldeangriffen."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Sichert deine Website auf den globalen WordPress.com-Servern, sodass du deine Inhalte wiederherstellen kannst, falls ein Notfall oder Fehler auftritt."],"Removes spam from comments and contact forms.":["Entfernt Spam aus Kommentaren und Kontaktformularen."],"We are committed to your privacy and security. ":["Der Schutz und die Sicherheit deiner Daten sind uns ein wichtiges Anliegen. "],"View all Jetpack plans":["Alle Jetpack-Tarife anzeigen"],"Manage your plan":["Deinen Tarif verwalten"],"Your Plan":["Dein Tarif"],"You’re currently on Jetpack %(plan)s.":["Du verwendest derzeit Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Erlaubt Lesern, deine Beiträge und Kommentare zu abonnieren und Benachrichtigungen über neue Inhalte per E-Mail zu erhalten."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Ersetzt das WordPress-Standardkommentarformular durch ein neues Kommentarsystem, das Social Media-Anmeldeoptionen enthält."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Aktivieren{{/a}}, um die integrierte WordPress-Suche durch die Jetpack-Suche, eine verbesserte Suchfunktion, zu ersetzen."],"Add Search (Jetpack) Widget":["Such-Widget (Jetpack) hinzufügen"],"Jetpack Search is powering search on your site.":["Jetpack Suche unterstützt die Suche auf deiner Website."],"Manage your plugins":["Plugins verwalten"],"Moderate comments":["Kommentare moderieren"],"Error updating privacy settings. %(error)s":["Fehler beim Aktualisieren der Datenschutzeinstellungen. %(error)s"],"Updated privacy settings.":["Datenschutzeinstellungen wurden aktualisiert."],"Updating privacy settings…":["Datenschutzeinstellungen werden aktualisiert …"],"Add Jetpack Search Widget":["Jetpack Suche-Widget hinzufügen"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Füge das Jetpack Suche-Widget zu deiner Seitenleiste hinzu, um Sortier- und Filterfunktionen zu konfigurieren."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Vollständige Sicherheitssuite, Automatisierungswerkzeuge für Marketing und Einnahmen, unbegrenztes Video-Hosting, unbegrenzte Themes, verbesserte Suche und vorrangiger Support."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Vollständige Sicherheitssuite, Automatisierungswerkzeuge für Marketing und Einnahmen, unbegrenztes Video-Hosting und vorrangiger Support."],"Daily backups, spam filtering, and priority support.":["Tägliche Backups, Spamfilter und vorrangiger Support."],"Always-on security":[""],"Activate video hosting":["Video-Hosting aktivieren"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Echtzeit-Backup aller Website-Daten mit unbegrenztem Speicherplatz, Ein-Klick-Wiederherstellungen, automatisierten Sicherheitsscans und vorrangigem Support"],"Design the perfect website":["Gestalte deine perfekte Website"],"Set up Jetpack":["Jetpack einrichten"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Backup aller Website-Daten in Echtzeit mit unbegrenztem Speicherplatz, Ein-Klick-Wiederherstellungen und automatisierten Sicherheitsscans."],"Jetpack Search":["Jetpack Suche"],"Jetpack version %(version)s":["Jetpack-Version %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Deine Website wird in Echtzeit gesichert und regelmäßig auf Sicherheitsbedrohungen überprüft."],"Daily backup of all your site data with unlimited space and one-click restores":["Tägliches Backup aller Website-Daten mit unbegrenztem Speicherplatz und Ein-Klick-Wiederherstellung"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Backup aller Website-Daten in Echtzeit mit unbegrenztem Speicherplatz, Ein-Klick-Wiederherstellung, automatisierten Sicherheitsscans und Ein-Klick-Bedrohungsbehebung."],"View your security activity":["Sicherheitsaktivitäten anzeigen"]," (powered by VaultPress).":[" (Bereitgestellt von VaultPress)."],"Customize Search Widget":["Such-Widget anpassen"],"Please correct the issue below and try again.":["Korrigiere bitte das unten genannte Problem und versuche es noch einmal.","Korrigiere bitte die unten genannten Probleme und versuche es noch einmal."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Wir stellen sicher, dass deine Website frei von Sicherheitsbedrohungen bleibt. Wenn wir eine finden, werden wir dich benachrichtigen."],"Jetpack version":["Jetpack-Version"],"Activity":["Aktivität"],"{{a}}View details{{/a}}":["{{a}}Details anzeigen{{/a}}"],"Monetize your site with ads":["Verdiene auf deiner Website Geld mit Werbung"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Wenn du auf den Button unten klickst, stimmst du unseren {{tosLink}}Geschäftsbedingungen{{/tosLink}} und der {{shareDetailsLink}}Datenübermittlung{{/shareDetailsLink}} an WordPress.com zu."],"Jetpack Stats People":["Jetpack Statistiken Personen"],"Hello there! Your stats have been activated.":["Hallo! Deine Statistik wurde aktiviert."],"Just give us a little time to collect data so we can display it for you here.":["Gib uns nur ein wenig Zeit, um Daten zu sammeln, damit wir diese hier für dich anzeigen können."],"Okay, got it!":["Alles klar, fertig!"],"Display ads below posts on":["Werbeanzeigen einblenden unter Inhalten auf"],"Additional ad placements":["Zusätzliche Werbeanzeigenplatzierungen"],"Top of each page":["Oben auf jeder Seite"],"Second ad below post":["Zweite Werbeanzeige unter Beitrag"],"Archives":["Archive"],"Stars":["Sterne"],"Jupiter":["Jupiter"],"Schedule posts":["Beiträge planen"],"Activate Publicize":["Publicize aktivieren"],"Your site is backed up.":["Deine Website ist gesichert."],"Get WordPress Apps for every device":["Sichere dir WordPress-Apps für alle Geräte"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Verwalte all deine Websites von einem einzigen Dashboard aus: Veröffentliche Inhalte, verfolge Statistiken, moderiere Kommentare und vieles mehr – wo auch immer du gerade bist."],"Create address":["Adresse erstellen"],"Automatically share your posts to social networks":["Teile deine Beiträge automatisch in sozialen Netzwerken."],"Updating settings…":["Einstellungen werden aktualisiert …"],"Updating Post by Email address…":["„Per E-Mail bloggen“-Adresse wird aktualisiert …"],"Your paid plan gives you access to prioritized Jetpack support.":["Mit deinem kostenpflichtigen Tarif erhältst du Zugriff auf bevorzugten Jetpack-Support."],"You have paid for backups but they're not yet active.":["Du hast für Backups bezahlt, diese sind jedoch noch nicht aktiv."],"You have paid for backups and security scanning but they’re not yet active.":["Du hast für Backups und Sicherheitsscans bezahlt, diese sind jedoch noch nicht aktiv."],"Click \"Set Up\" to finish installation.":["Klicke „Einrichtung“, um die Installation fertigzustellen."],"Checking site status…":["Website-Status wird überprüft …"],"Pages":["Seiten"],"Access the full list of Jetpack modules available on your site.":["Rufe die vollständige Liste der Jetpack-Module auf, die auf deiner Website verfügbar sind."],"We're here to help":["Wir helfen gerne"],"Jetpack comes with free, basic support for all users.":["Für Jetpack gibt es kostenlosen Basis-Support für alle Benutzer."],"Ask a question":["Eine Frage stellen"],"Search our support site":["Auf unserer Support-Website suchen"],"Get a faster resolution to your support questions.":["Deine Support-Fragen werden schneller beantwortet."],"Host fast, high-quality, ad-free video.":["Schnelle, qualitativ hochwertige, werbefreie Videos hosten."],"Generate income with high-quality ads.":["Mit qualitativ hochwertigen Werbeanzeigen Geld verdienen."],"Real-time site backups and automatic threat resolution.":["Website-Backups in Echtzeit und automatische Behebung von Bedrohungen."],"Protect against data loss, malware, and malicious attacks.":["Schutz vor Datenverlust, Malware und bösartigen Angriffen."],"Protect your site from spam.":["Schütze deine Website vor Spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Diese Website ist nicht mit WordPress.com verbunden. Bitte den Websiteadministrator, die Verbindung herzustellen."],"An Automattic Airline":["Ein Produkt des US-Unternehmens Automattic, Inc."],"Manage site connection":["Websiteverbindung verwalten"],"Connect your account to WordPress.com to view more stats":["Konto mit WordPress.com verbinden, um mehr Statistiken anzuzeigen"],"Theme enhancements":["Theme-Erweiterungen"],"Load more posts using the default theme behavior":["Mehr Beiträge mit dem Standard-Theme-Verhalten laden"],"Load more posts in page with a button":["Mehr Beiträge in Seite mit einem Button laden"],"Load more posts as the reader scrolls down":["Mehr Beiträge laden, wenn der Leser nach unten blättert"],"Theme support required.":["Theme-Unterstützung erforderlich."],"Learn more about adding support for Infinite Scroll to your theme.":["Erfahre mehr darüber, wie du deinem Theme Support für unendliches Scrollen hinzufügen kannst."],"Show excerpts instead of full posts on front page and archive pages":["Auf der Titel- und den Archivseiten nur Auszüge statt vollständige Beiträge anzeigen"],"Show featured images":["Hervorgehobene Bilder anzeigen"],"Enable the WordPress.com toolbar":["WordPress.com-Werkzeugleiste aktivieren"],"Writing tools available to you will be shown here when an administrator enables them.":["Schreibwerkzeuge, die dir zu Verfügung stehen, werden hier angezeigt, wenn sie ein Administrator aktiviert."],"Portfolios":["Portfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["{{b}}Die Verifizierung deiner Website durch diese Dienste ist nicht erforderlich{{/b}}, damit deine Website von Suchmaschinen indiziert wird. Füge unten den HTML-Tag-Code ein, um diese erweiterten Suchmaschinenwerkzeuge zu nutzen und deine Website durch einen Dienst verifizieren zu lassen. Lies bei Problemen die {{support}}vollständige Anleitung{{/support}}. Unterstützte Verifizierungsdienste: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Tools{{/bing}}, {{pinterest}}Pinterest Website-Bestätigung{{/pinterest}} und {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["XML-Sitemaps generieren"],"The image helps collect stats, but should work when hidden.":["Das Bild unterstützt das Sammeln von Statistiken, sollte aber funktionieren, wenn es ausgeblendet wird."],"Count logged in page views from":["Erfasse Aufrufe von angemeldetem"],"Allow stats reports to be viewed by":["Anzeige von Statistikberichten erlauben für"],"In \"Upgrade\"":["In „Upgrade“"],"Configure your Google Analytics settings":["Deine Einstellungen von Google Analytics konfigurieren"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Zeige Werbeanzeigen im ersten Artikel auf deiner Startseite oder am Ende jeder Seite und jedes Beitrags an. Platziere zusätzliche Werbeanzeigen oben auf deiner Website und in jedem Widget-Bereich, um deine Einnahmen zu steigern."],"Enable ads and display an ad below each post":["Werbeanzeigen aktivieren und eine Werbeanzeige unter jedem Beitrag einblenden"],"Configure your sharing buttons":["Deine Teilen-Buttons konfigurieren"],"Connect your social media accounts":["Deine Social Media-Konten verknüpfen"],"Match accounts using email addresses":["Konten mithilfe von E-Mail-Adressen abgleichen"],"Require accounts to use WordPress.com Two-Step Authentication":["Konten müssen Zwei-Schritt-Authentifizierung von WordPress.com verwenden"],"Add to whitelist":["Zur Positivliste hinzufügen"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Du kannst eine IP-Adresse oder eine Serie von Adressen auf die Positivliste setzen und so dafür sorgen, dass diese niemals von Jetpack blockiert werden. IPv4 und IPv6 sind zulässig. Gib für einen Bereich den unteren und oberen Wert ein (getrennt durch einen Bindestrich). Beispiel: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Deine Website ist gesichert und weist keine Bedrohungen auf."],"Checking your spam protection…":["Spam-Schutz wird überprüft …"],"Fetching key…":["Schlüssel wird abgerufen …"],"Your site needs an Antispam key.":["Deine Website benötigt einen Antispam-Schlüssel."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Es ist ein Problem mit deinem Antispam-API-Schlüssel aufgetreten. {{a}}Weitere Informationen{{/a}}."],"Your site is not protected from spam.":["Deine Website ist nicht gegen Spam geschützt."],"Your Antispam key is valid.":["Dein Antispam-Schlüssel ist gültig."],"Your site is protected from spam.":["Deine Website ist gegen Spam geschützt."],"Checking key…":["Schlüssel wird überprüft …"],"Your API key":["Dein API-Schlüssel"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Wenn du noch keinen API-Schlüssel hast, dann {{a}}rufe hier deinen API-Schlüssel ab{{/a}}. Du wirst dann durch den entsprechenden Vorgang geführt."],"No search results found for %(term)s":["Keine Suchergebnisse gefunden für %(term)s"],"Enter a search term to find settings or close search.":["Gib einen Suchbegriff ein, um Einstellungen zu finden, oder schließe die Suche."],"Connections":["Verbindungen"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Deine Website ist im Entwicklungsmodus. Deswegen kann sie nicht mit WordPress.com verbunden werden."],"Your site is connected to WordPress.com.":["Deine Website ist mit WordPress.com verbunden."],"You are the Jetpack owner.":["Du bist der Jetpack-Besitzer."],"Connected as {{span}}%(username)s{{/span}}":["Verbunden als {{span}}%(username)s{{/span}}"],"View your Email Followers":["E-Mail-Follower anzeigen"],"Color scheme":["Farbschema"],"Enable Markdown use for comments.":["Verwendung von Markdown für Kommentare aktivieren."],"Updated settings.":["Einstellungen aktualisiert."],"Error updating settings. %(error)s":["Fehler beim Aktualisieren der Einstellungen. %(error)s"],"Regenerated Post by Email address.":["„Per E-Mail bloggen“-Adresse erneut erstellen."],"Error regenerating Post by Email address. %(error)s":["Fehler beim Neuerstellen der „Per E-Mail bloggen“-Adresse. %(error)s"],"Updated settings. Refreshing page…":["Einstellungen aktualisiert. Seite wird aktualisiert …"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Aktuell im {{a}}Entwicklungsmodus{{/a}} (einige Funktionen sind deaktiviert), da:"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Der Filter jetpack_development_mode ist aktiv{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Die Konstante JETPACK_DEV_DEBUG ist definiert{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}in der URL deiner Website ein Punkt fehlt (z. B. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics ist ein kostenloser Dienst, der unsere {{a}}integrierten Statistiken{{/a}} um weitere Einsichten in deinen Traffic ergänzt. Die WordPress.com-Statistiken und Google Analytics nutzen unterschiedliche Methoden zum Identifizieren und Verfolgen der Aktivitäten auf deiner Website. Daher zeigen diese normalerweise leicht unterschiedliche Gesamtzahlen für deine Besuche, Aufrufe usw."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Google Analytics konfigurieren"],"Activate Google Analytics":["Google Analytics aktivieren"],"Download the free apps":["Lade die kostenlosen-Apps herunter"],"Upgrade Focus: VideoPress For Weddings":["Schwerpunkt des Upgrades: VideoPress für Hochzeiten"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Du kannst jetzt auch ähnliche Beiträge im Customizer konfigurieren. {{ExternalLink}}Probiere es aus!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Standardmäßig werden Werbeanzeigen am Ende jeder Seite oder jedes Beitrags sowie des ersten Artikels deiner Startseite angezeigt. Du kannst sie auch oben in deine Website und in beliebige Widget-Bereiche einfügen, um deine Einkünfte zu erhöhen!"],"Display an ad unit at the top of your site.":["Zeige eine Werbeeinheit oben auf deiner Website an."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Durch die Aktivierung von Werbeanzeigen stimmst du den Automattic-{{link}}Geschäftsbedingungen{{/link}} für Werbeanzeigen zu."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Dein Server ist falsch konfiguriert. Darum kann Jetpack Protect deine Website nicht effektiv schützen."],"In \"Mobile\"":["Unter „Mobil“"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Konfiguriere deine Monitor-Benachrichtigungseinstellungen auf WordPress.com{{/link}}"],"View your earnings":["Deine Einkünfte anzeigen"],"Configure site SEO":["Website-SEO konfigurieren"],"Activate SEO tools":["SEO-Werkzeuge aktivieren"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Klicke zunächst in deinem Beitragseditor auf „Dateien hinzufügen“ und lade ein Video hoch. Alles andere erledigen wir!"],"Video Hosting":["Video-Hosting"],"SEO Tools":["SEO-Werkzeuge"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Erweiterte SEO-Werkzeuge, damit die Suche nach relevanten Inhalten zu besseren Suchergebnissen für deine Website führt."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Die einfachste Möglichkeit, Videos ohne Werbung und Branding auf deine Website hochzuladen. Du erhältst Statistiken zum Abspielen und Teilen von Videos. Der Videoplayer ist schlank und responsiv."],"You are running Jetpack on a staging server.":["Du führst Jetpack auf einem Staging-Server aus."],"More Info":["Weitere Informationen"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Sichtbarkeit von „Likes“ in den Einstellungen des Teilen-Moduls verwalten{{/a}}"],"Your current IP: %(ip)s":["Deine aktuelle IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["In diesem Tab gibt es nicht gespeicherte Einstellungen, die du beim Verlassen verlierst. Möchtest du fortfahren?"],"This will reset all Jetpack options, are you sure?":["Das wird alle Jetpack-Einstellungen zurücksetzen, bist du sicher?"],"Search for a Jetpack feature.":["Suche nach einer Jetpack-Funktion"],"Configure your Security Scans":["Sicherheitsscans konfigurieren"],"Subscriber":["Abonnent"],"Big iPhone/iPad Update Now Available":["Umfangreiches iPhone/iPad-Update jetzt verfügbar"],"The WordPress for Android App Gets a Big Facelift":["Die WordPress-App für Android wurde umfassend überarbeitet."],"WordPress.com Likes are:":[" \"Gefällt mir\"-Angaben auf WordPress.com sind:"],"A few catchy words to motivate your visitors to comment.":["Ein paar zündende Worte, um deine Leser zum kommentieren zu motivieren."],"Hide the stats smiley face image":[" Das Statistik-Smiley-Bild verbergen"],"Whitelisted IP addresses":["IP-Adressen auf der Positivliste"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Promo für WordPress Mobil-Apps in der Fußzeile des Mobil-Themes zeigen"],"Copied!":["Kopiert!"],"Highlight and copy the following text to your clipboard:":["Markiere den folgenden Text und kopiere ihn in deine Zwischenablage:"],"Regenerate address":["Adresse erneut generieren"],"Cheatin' uh?":["Wird geschummelt?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}} Würdest du uns mitteilen, warum du Jetpack nicht verbunden hast, indem du {{a}} 2 Fragen beantwortest{{/a}}?{{/p}}{{p}}Eine Jetpack Verbindung wird für unsere kostenlosen Sicherheits und Traffic-Funktionen benötigt.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Willkommen bei {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Dein Jetpack ist bereits verbunden."],"You're fueled up and ready to go, Jetpack is now active.":["Alles fertig, es kann losgehen. Jetpack wurde aktiviert."],"You're fueled up and ready to go.":["Alles fertig, es kann losgehen."],"You are currently running a development version of Jetpack.":["Du führst zurzeit eine Entwicklungsversion von Jetpack aus."],"Submit Beta feedback":["Beta Feedback senden"],"What would you like to see on your Jetpack Dashboard?":["Was würdest du gern im Jetpack-Dashboard sehen?"],"Let us know!":["Sag uns Bescheid!"],"Saving…":["Speichern …"],"Save Settings":["Einstellungen speichern"],"Jetpack Stats Icon":["Symbol von Jetpack Stats"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Website-Statistiken aktivieren{{/a}}, um ausführliche Statistiken anzusehen, wie \"Gefällt mir\", Follower, Abonnenten usw. {{a1}}Weitere Informationen{{/a1}}"],"Activate Site Stats":["Website-Statistiken aktivieren"],"Site Backups":["Website-Backups"],"Upgrade":["Aufrüsten"],"ACTIVE":["AKTIV"],"View your spam stats":["Spam-Statistiken ansehen"],"View your security dashboard":["Sicherheits-Dashboard ansehen"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["Die Website ist im Entwicklungsmodus, deswegen kannst du dich nicht mit WordPress.com verbinden."],"Link your account to WordPress.com to get the most out of Jetpack.":["Verknüpfe dein Konto mit WordPress.com, um Jetpack optimal zu nutzen."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Für automatische und umfassende Scans gegen Bedrohungen {{a}}bitte VaultPress installieren und aktivieren{{/a}}."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack blockiert böswillige Anmeldeversuche. Die Daten werden in Kürze hier angezeigt."],"Total malicious attacks blocked on your site.":["Gesamtzahl blockierter Angriffe auf deine Website."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Protect aktivieren{{/a}}, um deine Website vor böswilligen Anmeldeversuchen zu schützen."],"All plugins are up-to-date. Awesome work!":["Alle Plugins sind auf dem neuesten Stand. Gute Arbeit!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack überwacht deine Website. Scheint die Website defekt zu sein, erhältst du eine E-Mail."],"Security":["Sicherheit"],"Performance":["Performance"],"Backup":["Backup"],"{{a}}View backup details{{/a}}.":["{{a}}Backup-Details ansehen{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Automatisches Backup der gesamten Website? {{a}}Bitte VaultPress installieren und aktivieren{{/a}}."],"Unavailable in Dev Mode.":["Nicht im Entwicklermodus verfügbar."],"Unavailable in Dev Mode":["Im Entwicklermodus nicht verfügbar"],"Activating %(slug)s…":["%(slug)s wird aktiviert …"],"%(slug)s has been activated.":["%(slug)s wurde aktiviert."],"%(slug)s failed to activate. %(error)s":["Fehler beim Aktivieren von %(slug)s %(error)s"],"Deactivating %(slug)s…":["%(slug)s wird deaktiviert …"],"%(slug)s has been deactivated.":["%(slug)s wurde deaktiviert."],"%(slug)s failed to deactivate. %(error)s":["Fehler beim Deaktivieren von %(slug)s. %(error)s"],"Updating %(slug)s settings…":["%(slug)s-Einstellungen werden aktualisiert …"],"Updated %(slug)s settings.":["%(slug)s-Einstellungen wurden aktualisiert."],"Error updating %(slug)s settings. %(error)s":["Fehler beim Aktualisieren der %(slug)s-Einstellungen %(error)s"],"Updating %(slug)s address…":["Adresse von %(slug)s wird aktualisiert …"],"Regenerated %(slug)s address .":["Adresse von %(slug)s erneut generiert."],"Error regenerating %(slug)s address. %(error)s":["Fehler beim erneuten Generieren der Adresse %(slug)s. %(error)s"],"Resetting Jetpack options…":["Die Jetpack-Optionen werden zurückgesetzt …"],"Options reset.":["Die Optionen wurden zurückgesetzt."],"Options failed to reset.":["Fehler beim Zurücksetzen der Optionen."],"There was an error disconnecting Jetpack. Error: %(error)s":["Fehler beim Trennen von Jetpack. Fehler: %(error)s"],"Unlinking from WordPress.com":["Verbindung mit WordPress.com wird aufgehoben …"],"Unlinked from WordPress.com.":["Verbindung mit WordPress.com aufgehoben."],"Error unlinking from WordPress.com. %(error)s":["Fehler beim Aufheben der Verbindung mit WordPress.com. %(error)s"],"At A Glance":["Auf einen Blick"],"Dashboard":["Dashboard"],"Automattic's Privacy Policy":["Datenschutzerklärung von Automattic"],"WordPress.com Terms of Service":["Geschäftsbedingungen von WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Automatische Plugin-Updates einschalten{{/a}}"],"Plugin Updates":["Plugin-Updates"],"No threats found, you're good to go!":["Keine Bedrohungen gefunden. Es kann weitergehen."],"{{a}}Contact Support{{/a}}":["{{a}}Support kontaktieren{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Details unter VaultPress.com ansehen{{/a}}"],"Uh oh, %(number)s threat found.":["%(number)s Bedrohung gefunden.","%(number)s Bedrohungen gefunden."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Monitor aktivieren{{/a}}, um E-Mail-Benachrichtigungen zu erhalten, wenn deine Website ausfällt."],"Loading…":["Wird geladen …"],"Downtime monitor":["Überwachung von Ausfallzeiten"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Weitere Statistiken auf WordPress.com ansehen {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Ausführliche Statistiken ansehen{{/button}}"],"All-time comments":["Kommentare insgesamt"],"All-time views":["Aufrufe insgesamt"],"%(number)s View":["%(number)s Aufruf","%(number)s Aufrufe"],"Best overall day":["Bester Tag (insgesamt)"],"Views today":["Aufrufe heute"],"Months":["Monate"],"Weeks":["Wochen"],"Days":["Tage"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Fehler beim Laden der Statistiken. Bitte später erneut versuchen oder {{a}}Statistiken auf WordPress.com ansehen{{/a}}."],"Click to view detailed stats.":["Klicken, um detaillierte Statistiken anzusehen."],"Views: %(numberOfViews)s":["Aufrufe: %(numberOfViews)s"],"Week of %(date)s":["Woche von %(date)s"],"Site Security":["Website-Sicherheit"],"Link to WordPress.com":["Mit WordPress.com verknüpfen."],"Unlink me from WordPress.com":["Meine Verknüpfung mit WordPress.com aufheben."],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Bei der Verbindung zu Jetpack ist ein Fehler aufgetreten. Bitte klicke erneut auf „Mit WordPress.com verbinden“."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Bei der Verbindung von Jetpack ist ein Fehler aufgetreten. Deaktiviere das Jetpack-Plugin, aktiviere es erneut und stelle dann wieder eine Verbindung her."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Du musst in deinem WordPress.com-Blog angemeldet bleiben, während du Jetpack autorisierst."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Dein Jetpack hat ein Problem.{{/s}} Wir entschuldigen uns für diese Unannehmlichkeit. Bitte versuche es später nochmal. Falls das Problem weiterhin besteht, kontaktiere bitte den Support mit dieser Nachricht: %(error_key)s"],"Disconnecting Jetpack":["Jetpack wird getrennt"],"Learn more":["Mehr erfahren"],"Posts":["Beiträge"],"Front page":["Startseite"],"Upload videos":["Videos hochladen"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Ähnliche Inhalte am Ende des Beitrags anzeigen"],"Related":["Ähnliche Beiträge"],"Disconnect":["Trennen"],"Save":["Speichern"],"Media":["Mediathek"],"Mobile Theme":["Mobile-Theme"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX ist eine mächtige Auszeichnungssprache, um komplexe mathematische Gleichungen und Formeln zu schreiben."],"Site Stats":["Website Statistiken"],"Sharing":["Teilen"],"Testimonials":["Referenzen"],"Cancel":["Abbrechen"],"Comments":["Kommentare"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack konnte WordPress.com nicht kontaktieren: %(error_key)s. Das bedeutet in der Regel, dass etwas auf deinem Web-Host falsch konfiguriert ist."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com hat gerade Probleme und kann sich nicht mit deinem Jetpack Plugin verbinden. Bitte versuche es später noch einmal."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Dein Jetpack hat ein Problem.{{/s}} Verbindung zu WordPress.com nicht möglich. Das bedeutet in der Regel, dass auf deine Website nicht öffentlich zugegriffen werden kann (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Auf deine Website muss öffentlich zugegriffen werden können, um Jetpack zu nutzen: %(error_key)s"],"Edit":["Bearbeiten"],"Connected":["Verbunden"],"Activate":["Aktivieren"],"Active":["Aktiv"],"Settings":["Einstellungen"],"Learn More":["Mehr erfahren"],"Disconnect Jetpack":["Jetpack trennen"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Hinweis:{{/b}} Diese Funktion wird im März eingestellt und von Jetpack entfernt. {{link}}Weitere Informationen{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack-Backup"],"Settings header\u0004Anti-spam":["Anti-Spam"],"Settings header\u0004WP.me Shortlinks":["WP.me-Kurzlinks"],"Settings header\u0004Auto-update plugins":["Automatisches Aktualisieren von Plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Überwachung von Ausfallzeiten"],"Settings header\u0004Privacy Settings":["Privatsphäre-Einstellungen"],"Settings header\u0004WordPress.com toolbar":["WordPress.com-Werkzeugleiste"],"Settings header\u0004Composing":["Erstellen"],"Settings header\u0004Site stats":["Website-Statistiken"],"Settings header\u0004Search engine optimization":["Suchmaschinenoptimierung"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Teilen-Buttons"],"Settings header\u0004Publicize connections":["Publicize-Verbindungen"],"Settings header\u0004Like buttons":["Gefällt mir-Buttons"],"Settings header\u0004Brute force attack protection":["Schutz vor Brute-Force-Angriffen"],"Settings header\u0004Backups and security scanning":["Backups und Sicherheits-Scans"],"Notice in the empty statistics chart\u0004No activity this period":["Keine Aktivitäten in diesem Zeitraum"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com-Anmeldung"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Link senden"],"A caption for a button to cancel an action.\u0004Cancel":["Abbrechen"],"Link to learn more about Jetpack.\u0004About":["Über"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Module"],"Navigation item.\u0004Performance":["Performance"],"Navigation item.\u0004My Plan":["Mein Tarif"],"Navigation item.\u0004Dev Tools":["Entwickler-Werkzeuge"],"Navigation item.\u0004Settings":["Einstellungen"],"Navigation item.\u0004Discussion":["Diskussionen"],"Navigation item.\u0004Traffic":["Traffic"],"Navigation item.\u0004Sharing":["Teilen"],"Navigation item.\u0004At A Glance":["Auf einen Blick"],"Navigation item.\u0004Plans":["Tarife"],"Navigation item.\u0004Writing":["Schreiben"],"Navigation item.\u0004Reset Options (dev only)":["Optionen zurücksetzen (nur für Entwickler)"],"Navigation item.\u0004Security":["Sicherheit"],"Navigation item.\u0004At a Glance":["Auf einen Blick"],"Search term.\u0004terms of service":["Geschäftsbedingungen"],"Search term.\u0004tos":["BG"],"Search term.\u0004gdpr":["DSGVO"],"Search term.\u0004data":["Daten"],"Search term.\u0004tracks":["Verfolgt nach"],"Search term.\u0004privacy":["Datenschutz"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Aufrüsten"],"Button caption\u0004Saving…":["Speichern …"],"Button caption\u0004Save settings":["Einstellungen speichern"],"A heading for a block of related posts.\u0004Related":["Ähnlich"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Vorschau"],"Short warning message\u0004Updates needed":["Updates sind erforderlich"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Bezahlt"],"A header for a preview area in the configuration screen.\u0004Preview":["Vorschau"],"Ads header\u0004Ads":["Werbeanzeigen"],"Dashboard widget header\u0004Site connection":["Websiteverbindung"],"Dashboard widget header\u0004Account connection":["Kontoverbindung"],"A caption for a small button to fix security issues.\u0004Threats":["Bedrohungen"],"A caption for a small button to fix security issues.\u0004FIX":["BEHEBEN"],"Short warning message about new threats found.\u0004Threats found!":["Bedrohungen wurden festgestellt."],"Short message informing user that the site is secure.\u0004Secure":["Sicher"],"Caption for a button to set up a feature.\u0004Set up":["Einrichtung"],"verb\u0004Copy":["Kopieren"],"Shorthand for Privacy Policy.\u0004Privacy":["Datenschutz"],"Shorthand for Terms of Service.\u0004Terms":["Geschäftsbedingungen"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Fehlersuche"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Spamkommentare blockiert."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-de_DE_formal-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-de_DE_formal-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index c57fd651..00000000
--- a/plugins/jetpack/languages/json/jetpack-de_DE_formal-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"":{"po-revision-date":"2018-03-04 23:15:31+0000","mime-version":"1.0","content-type":"text/plain; charset=UTF-8","content-transfer-encoding":"8bit","plural-forms":"nplurals=2; plural=n != 1;","x-generator":"GlotPress/2.4.0-alpha","language":"de","project-id-version":"Plugins - Jetpack by WordPress.com - Development (trunk)"},"Show a thumbnail image where available":[null,""],"Keep tabs on your site and receive alerts the moment downtime is detected.":[null,""],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":[null,""],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":[null,""],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":[null,""],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":[null,""],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":[null,""],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[null,""],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":[null,""],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[null,""],"This feature has been disabled by a site administrator.":[null,""],"%(moduleName)s has been disabled by a site administrator.":[null,""],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":[null,""],"Configure your notification settings":[null,""],"Monitor your site's downtime":[null,""],"Jetpack’s Search module is a powerful replacement for the search capability built into WordPress.":[null,""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":[null,""],"Plugin needs updating.":["Plugins need updating.","",""],"%(number)s":["%(number)s","",""],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":[null,""],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":[null,""],"Jetpack’s downtime monitor will keep tabs on your site, and alert you the moment that downtime is detected.":[null,""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":[null,""],"Akismet checks your comments and contact form submissions against our global database of spam.":[null,""],"Privacy Information":[null,""],"VideoPress allows you to upload videos from your computer to be hosted on WordPress.com, rather than on your host’s servers. You can then insert these on your self-hosted Jetpack site. ":[null,""],"Add the Search (Jetpack) widget to your sidebar":[null,""],"Give your visitor's a great search experience by letting them filter and sort fast, relevant search results.":[null,""],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":[null,""],"Loads the next posts automatically when the reader approaches the bottom of the page.":[null,""],"Delays the loading of images until they are visible in the visitor's browser.":[null,""],"Hosts your image files on the global WordPress.com servers.":[null,""],"Allows you to publish new posts by sending an email to a special address.":[null,""],"Hosts your video files on the global WordPress.com servers.":[null,""],"Replaces the standard WordPress galleries with a full-screen photo browsing experience, including comments and EXIF metadata.":[null,""],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":[null,""],"Adds the Portfolio custom post type, allowing you to manage and showcase projects on your site.":[null,""],"Adds the Testimonial custom post type, allowing you to collect, organize, and display testimonials on your site.":[null,""],"Allows you to compose content with links, lists, and other styles using the Markdown syntax.":[null,""],"Checks your content for correct grammar and spelling, misused words, and style while you write.":[null,""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":[null,""],"Automatically generates the files required for search engines to index your site.":[null,""],"Displays information on your site activity, including visitors and popular posts or pages.":[null,""],"Allows you to optimize your site and its content for better results in search engines.":[null,""],"Replaces the default WordPress search with a faster, filterable search experience.":[null,""],"Automatically displays similar content at the end of each post.":[null,""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":[null,""],"Displays high-quality ads on your site that allow you to earn income.":[null,""],"Adds sharing buttons to your content so that visitors can share it on social media sites.":[null,""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":[null,""],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":[null,""],"Allows registered users to log in to your site with their WordPress.com accounts.":[null,""],"Protects your site from traditional and distributed brute force login attacks.":[null,""],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":[null,""],"Removes spam from comments and contact forms.":[null,""],"We are committed to your privacy and security. ":[null,""],"View all Jetpack plans":[null,""],"Manage your plan":[null,""],"Your Plan":[null,""],"You’re currently on Jetpack %(plan)s.":[null,""],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":[null,""],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":[null,""],"{{a}}Activate{{/a}} to replace the WordPress built-in search with an improved search experience.":[null,""],"Add Search (Jetpack) Widget":[null,""],"Jetpack Search is powering search on your site.":[null,""],"Give your visitors {{a}}a great search experience{{/a}}.":[null,""],"Manage your plugins":[null,""],"Moderate comments":[null,""],"Error updating privacy settings. %(error)s":[null,""],"Updated privacy settings.":[null,""],"Updating privacy settings…":[null,""],"Add Jetpack Search Widget":[null,""],"Add the Jetpack search widget to your sidebar to configure advanced search filters.":[null,""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":[null,""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":[null,""],"Daily backups, spam filtering, and priority support.":[null,""],"Always-on security, a better search experience, unlimited CDN use, advanced marketing tools, and monetization services.":[null,""],"Powerful services for your site":[null,""],"Upgrade to a weekly coffee and fully protect your site from malware, infiltrations, and security loopholes with automated malware scanning.":[null,""],"Automated backups, one-click restores, spam filtering, and malware scanning.":[null,""],"Jetpack Premium now includes our full security suite":[null,""],"Automatic defense against hacks, malware, spam, data loss, and downtime with automated backups, unlimited storage, and malware scanning.":[null,""],"Always-on Security":[null,""],"Reach more people and earn money with automated social media scheduling, better search results, SEO preview tools, PayPal payments, and an ad program.":[null,""],"Get unlimited access to hundreds of professional themes, a superior search experience for your users, and unlimited high-speed, and ad-free video hosting.":[null,""],"A superior search experience powered by Elasticsearch providing your users with faster and more relevant search results. Previously only available to WordPress.com VIP customers and trusted by industry-leading brands.":[null,""],"Unlimited access to hundreds of premium WordPress themes with dedicated support directly from the theme authors.":[null,""],"Two great reasons to go Pro":[null,""],"Grow your traffic and revenue with social media scheduling, enhanced site search, SEO tools, PayPal payments, and an ad program.":[null,""],"Always-on security including real-time backups, malware scanning, and automatic threat resolution.":[null,""],"Design the perfect site with unlimited access to hundreds of themes and unlimited, high-speed, and ad-free video hosting.":[null,""],"Three great reasons to go Pro":[null,""],"Activate Video Hosting":[null,""],"Fast, optimized, ad-free, and unlimited video hosting for your site.":[null,""],"Browse Themes":[null,""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[null,""],"Sites with large numbers of images can now activate the Lazy Loading Images feature, which significantly speeds up loading times for visitors. Instead of waiting for the entire page to load, Jetpack will instead show pages instantly, and only download additional images when they are about to come into view.":[null,""],"If this sounds like a great improvement (and it is) you can enable it now by clicking the toggle below.":[null,""],"Our faster site search is now available to all Professional plan customers. This replaces the default WordPress search with an Elasticsearch-powered infrastructure that returns faster, more relevant results to users.":[null,""],"This release of Jetpack brings major new features and big improvements to your WordPress site.":[null,""],"Speed up your site and its content":[null,""],"We have also upgraded all our Premium plan customers to unlimited high-speed video storage (up from 13GB), and significantly reduced the CSS and JavaScript assets that Jetpack downloads when using features like infinite scroll and embedding rich content.":[null,""],"Faster, more relevant search results":[null,""],"Read the full announcement!":[null,""],"Compare paid plans":[null,""],"Major new features from Jetpack":[null,""],"Faster, more relevant and more powerful sitewide search.":[null,""],"Hassle-free design, marketing, and security for your WordPress site. Connect Jetpack to a WordPress.com account to start building your own success story.":[null,""],"WordPress themes and customization tools for designing your site.":[null,""],"Design the perfect website":[null,""],"Bring your ideas to life with elegant and professional designs and code-free customization tools.":[null,""],"Jetpack's photon serves up lightning fast, optimized images":[null,""],"Jetpack's WordPress themes":[null,""],"Professional themes":[null,""],"Find the perfect design for your site from hundreds of available themes.":[null,""],"Jetpack's customization tools":[null,""],"Code-free customization":[null,""],"Customize your site with endless widget options, image galleries, and embedded media.":[null,""],"Jetpack's performance features":[null,""],"Deliver blazing fast images and video and improve site load times.":[null,""],"Drive more traffic to your site with Jetpack":[null,""],"Increase traffic and revenue":[null,""],"Reach more people and earn money with automated marketing tools.":[null,""],"Jetpack's site stats feature":[null,""],"Keep an eye on your success with simple, concise, and mobile-friendly stats.":[null,""],"Jetpack's publicize features":[null,""],"Automated marketing":[null,""],"Schedule social media posts in advance, show related content, and give better search results.":[null,""],"Jetpack's ads and PayPal features":[null,""],"Generate revenue":[null,""],"Monetize your site with high-quality ads and take PayPal payments.":[null,""],"Keep your site safe, 24/7":[null,""],"Automatic defense against hacks, malware, spam, data loss, and downtime.":[null,""],"Jetpack's monitor feature":[null,""],"Be alerted about any unexpected downtime the moment it happens.":[null,""],"Jetpack's Protect features":[null,""],"Guard your site against brute force login attacks, spam, and harmfulmalware injections.":[null,""],"Backup and restore":[null,""],"Automatic, real-time backups mean your entire site is always ready to be restored.":[null,""],"Set up Jetpack":[null,""],"Speed up your site":[null,""],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":[null,""],"Jetpack Search":[null,""],"Jetpack version %(version)s":[null,""],"Replace WordPress built-in search with an improved search experience":[null,""],"Your site is being backed up in real time and regularly scanned for security threats.":[null,""],"Daily backup of all your site data with unlimited space and one-click restores":[null,""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[null,""],"View your security activity":[null,""]," (powered by VaultPress).":[null,""],"Replace the default WordPress search with better results that will help your users find what they are looking for.":[null,""],"Customize Search Widget":[null,""],"Activate Search":[null,""],"Please correct the issue below and try again.":["Please correct the issues listed below and try again.","",""],"We are making sure your site stays free of security threats. You will be notified if we find one.":[null,""],"Your site is being backed up in real-time.":[null,""],"Jetpack version":[null,"Jetpack-Version"],"{{a}}View your site's activity{{/a}} in a single feed.":[null,""],"Your Jetpack Professional plan is taking care of business!":[null,"Ihr Jetpack Professional-Tarif kümmert sich um Ihr Geschäft!"],"Your Jetpack Premium plan is powering up!":[null,"Ihr Jetpack Premium-Tarif wird aktiviert!"],"Your Jetpack Personal plan is powering up!":[null,"Ihr Jetpack Personal-Tarif wird aktiviert!"],"Activity":[null,"Aktivität"],"Confirm each new phrase you add by pressing enter.":[null,"Jeden neu eingegeben Satz mit der Eingabetaste bestätigen."],"{{a}}View details{{/a}}":[null,""],"Thanks for choosing Jetpack Professional. Jetpack is now backing up your content in real-time, indexing your content for search, scanning for security threats, and granting access to premium themes.":[null,""],"With Jetpack Professional, you can create the perfect site with one of over 300 professionally-designed WordPress themes, including more than 200 premium themes. Customize your content with a variety of widgets, or add unlimited videos to your posts and pages -- displayed free of ads or watermarks.":[null,""],"Growing your following is easy with your Professional plan, thanks to content sharing and scheduling, SEO tools, and built-in subscription options. You can monetize your site with a simple payment button and in-line ads, and monitor the success of your efforts by integrating with Google Analytics.":[null,""],"Your Jetpack plan gives you everything you need to keep your hard work safe, including on-demand backups and malware scans with one-click restores and issue resolution. Your site will be fully protected against spam, malicious code, and brute force login attempts.":[null,""],"Start exploring Jetpack Professional now to see all the benefits of your new plan.":[null,""],"Install premium themes":[null,""],"Review SEO features":[null,""],"Welcome Professional":[null,""],"Thanks for choosing Jetpack Premium. Jetpack is now backing up your site, scanning for security threats, and enabling monetization features.":[null,""],"With Jetpack Premium, you can create the perfect site, no matter its purpose. Customize your site’s appearance with one of more than 100 free themes, or enhance your content with unlimited HD video -- all hosted free of ads or watermarks.":[null,""],"Using Jetpack’s powerful sharing tools, you can automatically share your newest posts on social media, or schedule your content to be re-shared at any date or time you choose. And along with growing your following, you can grow your business with tools like payment buttons and ads.":[null,""],"Start exploring Jetpack Premium now to see all the benefits of your new plan.":[null,""],"Monetize your site with ads":[null,""],"Welcome Premium":[null,""],"Thanks for choosing Jetpack Personal. Jetpack is now backing up your site and scanning for security threats.":[null,""],"With Jetpack Personal, you have access to more than 100 free, professionally-designed WordPress themes. Choose the theme that best fits your site and customize colors, images, or add a variety of new widgets.":[null,""],"Got it!":[null,""],"Welcome personal":[null,""],"Connect your account to get the most out of Jetpack":[null,""],"By clicking the button below, you agree to our fascinating {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com":[null,""],"Jetpack Stats People":[null,""],"Hello there! Your stats have been activated.":[null,""],"Just give us a little time to collect data so we can display it for you here.":[null,""],"Okay, got it!":[null,""],"Display ads below posts on":[null,""],"Additional ad placements":[null,""],"Top of each page":[null,""],"Second ad below post":[null,""],"Archives":[null,""],"{{subhead}}Only with Jetpack Professional{{/subhead}}{{p}}Protect your site and work with Jetpack Personal: daily automated backups, unlimited storage, and expert priority support. Security essentials for every WordPress site starting from $3.50.{{/p}}{{p}}Or go Pro with more than 200 Premium Themes, business class security, unlimited video hosting, monetization, marketing automation, and SEO tools.{{/p}}":[null,""],"Explore Professional":[null,""],"Compare All Plans":[null,""],"Person with laptop":[null,""],"Your Jetpack site is ready to go!":[null,""],"We're now collecting stats, securing your site, and speeding up your images. Pretty soon you'll be able to see everything going on with your site right through Jetpack! Welcome aboard.":[null,""],"Stars":[null,""],"Jupiter":[null,""],"Welcome to Jetpack Personal":[null,""],"Welcome to Jetpack Premium":[null,""],"Welcome to Jetpack Professional":[null,""],"Social Media Scheduling":[null,""],"Schedule multiple Facebook, Twitter, and other social media postings in advance and view share history stats.":[null,""],"Schedule Posts":[null,""],"Activate Publicize":[null,""],"Explore Jetpack Professional":[null,""],"Introducing Unlimited Themes":[null,""],"Unlimited Premium Themes":[null,""],"Exclusive hand-crafted designs you will love with dedicated support directly from the theme authors.":[null,""],"Your site is backed up.":[null,""],"Image Performance":[null,""],"Get WordPress Apps for every device":[null,""],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":[null,""],"I already use this app.":[null,""],"Create address":[null,""],"Priority support":[null,""],"Add sharing buttons to your posts":[null,""],"Automatically share your posts to social networks":[null,""],"Updating settings…":[null,""],"Updating Post by Email address…":[null,""],"Your paid plan gives you access to prioritized Jetpack support.":[null,""],"You have paid for backups but they're not yet active.":[null,""],"You have paid for backups and security scanning but they’re not yet active.":[null,""],"Click \"Set Up\" to finish installation.":[null,""],"Checking site status…":[null,""],"Pages":[null,""],"We're here to help":[null,""],"Jetpack comes with free, basic support for all users.":[null,""],"Ask a question":[null,"Stellen Sie eine Frage"],"Search our support site":[null,""],"Get a faster resolution to your support questions.":[null,""],"Host fast, high-quality, ad-free video.":[null,""],"Generate income with high-quality ads.":[null,""],"Real-time site backups and automatic threat resolution.":[null,""],"Protect against data loss, malware, and malicious attacks.":[null,""],"Integrate easily with Google Analytics.":[null,""],"Help your content get found and shared with SEO tools.":[null,""],"Protect your site from spam.":[null,""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[null,""],"Spam filtering":[null,""],"Daily, automated malware scanning":[null,""],"13Gb of high-speed video hosting":[null,""],"Daily, automated backups (unlimited storage)":[null,""],"Daily, automated malware scanning with automated resolution":[null,""],"Unlimited high-speed video hosting":[null,""],"SEO preview tools":[null,""],"Site stats, related content, and sharing tools":[null,""],"Brute force attack protection and downtime monitoring":[null,""],"Unlimited, high-speed image hosting":[null,""],"By disconnecting %(siteName)s from WordPress.com you will no longer have access to the following:":[null,""],"Read more about Jetpack benefits":[null,""],"An Automattic Airline":[null,""],"Manage site connection":[null,""],"Connect your account to WordPress.com to view more stats":[null,""],"Theme enhancements":[null,""],"Load more posts using the default theme behavior":[null,""],"Load more posts in page with a button":[null,""],"Load more posts as the reader scrolls down":[null,""],"Theme support required.":[null,""],"Learn more about adding support for Infinite Scroll to your theme.":[null,""],"Use excerpts instead of full posts on front page and archive pages":[null,""],"Show featured images":[null,""],"Enable the WordPress.com toolbar":[null,""],"The WordPress.com toolbar replaces the default admin bar and offers quick links to the Reader, all your sites, your WordPress.com profile, and notifications. Centralize your WordPress experience with a single global toolbar.":[null,""],"Writing tools available to you will be shown here when an administrator enables them.":[null,""],"Add, organize, and display {{testimonialLink}}testimonials{{/testimonialLink}}. If your theme doesn’t support testimonials yet, you can display them using the shortcode\t( [testimonials] ).":[null,""],"Portfolios":[null,""],"Add, organize, and display {{portfolioLink}}portfolios{{/portfolioLink}}. If your theme doesn’t support portfolios yet, you can display them using the shortcode ( [portfolio] ).":[null,""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[null,""],"Bing":[null,""],"Yandex":[null,""],"Generate XML sitemaps":[null,""],"Your sitemap is automatically sent to all major search engines for indexing.":[null,""],"Your site is not currently accessible to search engines. You might have \"Search Engine Visibility\" disabled in your {{a}}Reading Settings{{/a}}.":[null,""],"Collecting valuable traffic stats and insights":[null,""],"The image helps collect stats, but should work when hidden.":[null,""],"Count logged in page views from":[null,""],"Allow stats reports to be viewed by":[null,""],"You can tweak these settings if you'd like more advanced control. Read more about what you can do to {{a}}optimize your site's SEO{{/a}}.":[null,""],"Configure your SEO settings":[null,""],"In \"Upgrade\"":[null,""],"Configure your Google Analytics settings":[null,""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[null,""],"Enable ads and display an ad below each post":[null,""],"Configure your sharing buttons":[null,""],"Connect your social media accounts":[null,""],"Connect your user account to WordPress.com to use this feature":[null,""],"Allow readers to show their appreciation of your posts by adding a like button to your content":[null,""],"Match accounts using email addresses":[null,""],"Require accounts to use WordPress.com Two-Step Authentication":[null,""],"Add to whitelist":[null,""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[null,""],"Your site is backed up and threat-free.":[null,""],"Checking your spam protection…":[null,""],"Fetching key…":[null,""],"Your site needs an Antispam key.":[null,""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[null,""],"Your site is not protected from spam.":[null,""],"Your Antispam key is valid.":[null,""],"Your site is protected from spam.":[null,""],"Checking key…":[null,""],"Your API key":[null,""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[null,""],"No search results found for %(term)s":[null,""],"Enter a search term to find settings or close search.":[null,""],"Connections":[null,""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[null,""],"Your site is connected to WordPress.com.":[null,""],"You are the Jetpack owner.":[null,""],"Connected as {{span}}%(username)s{{/span}}":[null,""],"View your Email Followers":[null,""],"Connect your user account to WordPress.com to view your email followers":[null,""],"Color scheme":[null,""],"Enable Markdown use for comments.":[null,""],"Updated settings.":[null,""],"Error updating settings. %(error)s":[null,""],"Regenerated Post by Email address.":[null,""],"Error regenerating Post by Email address. %(error)s":[null,""],"Updated settings. Refreshing page…":[null,""],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":[null,""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[null,""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[null,""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[null,""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[null,""],"Configure Google Analytics settings.":[null,""],"Image of WordPress login screen protected by Jetpack":[null,""],"Google Analytics":[null,""],"Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.":[null,""],"Configure Google Analytics":[null,""],"Activate Google Analytics":[null,""],"Download the free apps":[null,""],"Upgrade Focus: VideoPress For Weddings":[null,""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[null,""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[null,""],"Display an ad unit at the top of your site.":[null,""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[null,""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[null,""],"Ads":[null,""],"Earn income by allowing Jetpack to display high quality ads (powered by WordAds).":[null,""],"Activate Ads":[null,""],"We support all Jetpack users, regardless of plan. But customers on a paid subscription enjoy priority support so that security issues are identified and fixed for you as soon as possible.":[null,""],"In \"Mobile\"":[null,""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[null,""],"View your earnings":[null,""],"Upload Videos Now":[null,""],"Make sure your site is easily found on search engines with SEO tools for your content and social posts.":[null,""],"Activate this module to use the advanced SEO tools.":[null,""],"How much is your website worth?":[null,""],"For less than the price of a coffee a month you can rest easy knowing your hard work (or livelihood) is backed up.":[null,""],"Configure Site SEO":[null,""],"Activate SEO Tools":[null,""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[null,""],"Video Hosting":[null,""],"SEO Tools":[null,""],"Advanced SEO tools to help your site get found when people search for relevant content.":[null,""],"Configure your SEO settings.":[null,""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[null,""],"You are running Jetpack on a staging server.":[null,""],"More Info":[null,""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[null,""],"Your current IP: %(ip)s":[null,""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"This will reset all Jetpack options, are you sure?":[null,""],"Search for a Jetpack feature.":[null,""],"Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.":[null,""],"You can see the information about security scanning in the \"At a Glance\" section.":[null,""],"Configure your Security Scans":[null,""],"This module has no configuration options":[null,""],"Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch.":[null,""],"Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.":[null,""],"{{link}}Configure your %(module_slug)s Settings {{/link}}":[null,""],"Subscriber":[null,""],"Big iPhone/iPad Update Now Available":[null,""],"The WordPress for Android App Gets a Big Facelift":[null,""],"WordPress.com Likes are:":[null,""],"Comments headline":[null,""],"A few catchy words to motivate your readers to comment.":[null,""],"Show a \"follow blog\" option in the comment form":[null,""],"Show a \"follow comments\" option in the comment form":[null,""],"Put a chart showing 48 hours of views in the admin bar":[null,""],"Hide the stats smiley face image":[null,""],"Whitelisted IP addresses":[null,""],"Show photo metadata (Exif) in carousel, when available":[null,""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[null,""],"Copied!":[null,""],"Highlight and copy the following text to your clipboard:":[null,""],"Regenerate address":[null,""],"Automatically proofread content when: ":[null,""],"A post or page is first published":[null,""],"A post or page is updated":[null,""],"Automatic Language Detection":[null,""],"The proofreader supports English, French, German, Portuguese and Spanish.":[null,""],"Enable proofreading for the following grammar and style rules: ":[null,""],"Add a phrase":[null,""],"Cheatin' uh?":[null,""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[null,""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[null,""],"Your Jetpack is already connected.":[null,""],"You're fueled up and ready to go, Jetpack is now active.":[null,""],"You're fueled up and ready to go.":[null,""],"You are currently running a development version of Jetpack.":[null,""],"Submit Beta feedback":[null,""],"What would you like to see on your Jetpack Dashboard?":[null,""],"Let us know!":[null,""],"Welcome to Jetpack":[null,""],"Saving…":[null,""],"Save Settings":[null,""],"Jetpack Stats Icon":[null,""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[null,""],"Activate Site Stats":[null,""],"Security Scanning":[null,""],"Upgrade":[null,""],"ACTIVE":[null,""],"Your site is on Development Mode":[null,""],"Once you connect, you can upgrade to a paid plan in order to unlock world-class security, spam protection tools, and priority support.":[null,""],"State-of-the-art spam defense powered by Akismet.":[null,""],"View your spam stats":[null,""],"Configure Akismet":[null,""],"View your security dashboard":[null,""],"Configure VaultPress":[null,""],"Compare Plans":[null,""],"Enjoy priority support":[null,""],"The site is in Development Mode, so you can not connect to WordPress.com.":[null,""],"Link your account to WordPress.com to get the most out of Jetpack.":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.":[null,""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[null,""],"Total malicious attacks blocked on your site.":[null,""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[null,""],"All plugins are up-to-date. Awesome work!":[null,""],"Jetpack is improving and optimizing your image speed.":[null,""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[null,""],"Security":[null,""],"Performance":[null,""],"Backups":[null,""],"{{a}}View backup details{{/a}}.":[null,""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"Unavailable in Dev Mode.":[null,""],"Spam Protection":[null,""],"For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.":[null,""],"For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.":[null,""],"Invalid key":[null,""],"Unavailable in Dev Mode":[null,""],"Activating recommended features…":[null,""],"Recommended features active.":[null,""],"Recommended features failed to activate. %(error)s":[null,""],"Activating %(slug)s…":[null,""],"%(slug)s has been activated.":[null,""],"%(slug)s failed to activate. %(error)s":[null,""],"Deactivating %(slug)s…":[null,""],"%(slug)s has been deactivated.":[null,""],"%(slug)s failed to deactivate. %(error)s":[null,""],"Updating %(slug)s settings…":[null,""],"Updated %(slug)s settings.":[null,""],"Error updating %(slug)s settings. %(error)s":[null,""],"Updating %(slug)s address…":[null,""],"Regenerated %(slug)s address .":[null,""],"Error regenerating %(slug)s address. %(error)s":[null,""],"Resetting Jetpack options…":[null,""],"Options reset.":[null,""],"Options failed to reset.":[null,""],"There was an error disconnecting Jetpack. Error: %(error)s":[null,""],"Unlinking from WordPress.com":[null,""],"Unlinked from WordPress.com.":[null,""],"Error unlinking from WordPress.com. %(error)s":[null,""],"At A Glance":[null,""],"Clichés":[null,""],"Dashboard":[null,""],"Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.":[null,""],"Automattic's Privacy Policy":[null,""],"WordPress.com Terms of Service":[null,""],"{{a}}Activate{{/a}} to enhance the performance and speed of your images.":[null,""],"{{a}}Turn on plugin autoupdates{{/a}}":[null,""],"Plugin Updates":[null,""],"To automatically back up your entire site, please {{a}}upgrade your account{{/a}}.":[null,""],"Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.":[null,""],"No threats found, you're good to go!":[null,""],"{{a}}Contact Support{{/a}}":[null,""],"{{a}}View details at VaultPress.com{{/a}}":[null,""],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s threats found.","",""],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":[null,""],"Loading…":[null,""],"Downtime monitoring":[null,""],"{{button}}View more stats on WordPress.com {{/button}}":[null,""],"{{button}}View detailed stats{{/button}}":[null,""],"All-time comments":[null,""],"All-time views":[null,""],"%(number)s View":["%(number)s Views","",""],"Best overall day":[null,""],"Views today":[null,""],"Months":[null,"Monate"],"Weeks":[null,"Wochen"],"Days":[null,"Tage"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[null,""],"Click to view detailed stats.":[null,""],"Views: %(numberOfViews)s":[null,""],"Week of %(date)s":[null,""],"Manage security on WordPress.com":[null,""],"Features can be activated or deactivated at any time.":[null,""],"Jetpack's recommended features include:":[null,""],"Activate recommended features":[null,""],"Link to WordPress.com":[null,""],"Unlink me from WordPress.com":[null,""],"Join the millions of users who rely on Jetpack to enhance and secure their sites. We're passionate about WordPress and here to make your life easier.":[null,""],"Track your growth":[null,"Ihre Entwicklung nachverfolgen"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[null,""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[null,"Bei der Verbindung von Jetpack ist ein Fehler aufgetreten. Deaktivieren Sie das Jetpack-Plugin, aktivieren Sie es erneut und stellen Sie dann wieder eine Verbindung her."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[null,"Sie müssen in Ihrem WordPress.com-Blog angemeldet bleiben, während Sie Jetpack autorisieren."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[null,""],"Disconnecting Jetpack":[null,"Jetpack wird getrennt"],"Learn more":[null,"Mehr erfahren"],"Posts":[null,"Beiträge"],"Front page":[null,"Startseite"],"Pinterest":[null,"Pinterest"],"Google":[null,"Google"],"Show related content after posts":[null,"Ähnliche Inhalte am Ende des Beitrags anzeigen"],"Show a \"Related\" header to more clearly separate the related section from posts":[null,"Eine &#8222;Ähnliche Beiträge&#8220;-Überschrift anzeigen, um den Bereich von den Beiträgen abzugrenzen"],"Related":[null,"Ähnliche Beiträge"],"Email Address":[null,"E-Mail-Adresse"],"Media":[null,"Mediathek"],"Themes":[null,"Themes"],"Site Stats":[null,"Website Statistiken"],"Sharing":[null,"Teilen"],"Testimonials":[null,"Referenzen"],"Comments":[null,"Kommentare"],"Ignored Phrases":[null,"Zu ignorierende Ausdr&uuml;cke"],"Use automatically detected language to proofread posts and pages":[null,"Automatisch erkannte Sprache zum Korrekturlesen von Beiträgen und Seiten benutzen"],"Redundant Phrases":[null,"&Uuml;berfl&uuml;ssige S&auml;tze"],"Phrases to Avoid":[null,"Zu vermeidende Formulierungen"],"Passive Voice":[null,"Passive Sprache"],"Jargon":[null,"Umgangssprache"],"Hidden Verbs":[null,"Verborgene Verben"],"Double Negatives":[null,"Doppelte Verneinung"],"Diacritical Marks":[null,"Diakritische Zeichen"],"Complex Phrases":[null,"Komplexe S&auml;tze"],"Bias Language":[null,"Wertende Sprache"],"English Options":[null,"Optionen nur für die englische Sprache"],"Proofreading":[null,"Korrekturlesen"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[null,""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[null,"WordPress.com hat gerade Probleme und kann sich nicht mit Ihrem Jetpack Plugin verbinden. Bitte versuchen Sie es später noch einmal."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[null,""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[null,""],"You have successfully disconnected Jetpack":[null,""],"Connect to WordPress.com":[null,"Mit WordPress.com verbinden"],"Connected":[null,"Verbunden"],"Activate":[null,"Aktivieren"],"Active":[null,"Aktiv"],"Search":[null,"Suchen"],"Settings":[null,"Einstellungen"],"Jetpack":[null,"Jetpack"],"Learn More":[null,"Mehr erfahren"],"Disconnect Jetpack":[null,"Jetpack trennen"],"Test your site’s compatibility with Jetpack.":[null,""],"Elasticsearch":[null,""],"Settings header\u0004Downtime monitoring":[null,""],"Settings header\u0004Privacy Settings":[null,""],"Settings header\u0004WordPress.com toolbar":[null,""],"Settings header\u0004Composing":[null,""],"Settings header\u0004Site stats":[null,""],"Settings header\u0004Search engine optimization":[null,""],"Settings header\u0004Google Analytics":[null,""],"Settings header\u0004Sharing buttons":[null,""],"Settings header\u0004Publicize connections":[null,""],"Settings header\u0004Like buttons":[null,""],"Settings header\u0004WordPress.com log in":[null,""],"Settings header\u0004Brute force attack protection":[null,""],"Settings header\u0004Backups and security scanning":[null,""],"Settings header\u0004Spam filtering":[null,""],"Search term.\u0004terms of service":[null,""],"Search term.\u0004tos":[null,""],"Search term.\u0004gdpr":[null,""],"Search term.\u0004data":[null,""],"Search term.\u0004tracks":[null,""],"Search term.\u0004privacy":[null,""],"Caption for a button to purchase a pro plan.\u0004Upgrade":[null,""],"Image alternate text.\u0004Decoration: Jetpack clouds":[null,""],"Image alternate text.\u0004Decoration: Jetpack bar graph":[null,""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[null,""],"Button caption\u0004Saving…":[null,""],"Button caption\u0004Save settings":[null,""],"A header for a block of related posts.\u0004Related":[null,""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[null,""],"A caption for a button to cancel disconnection.\u0004Stay connected":[null,""],"A caption for a button to disconnect.\u0004Disconnect":[null,""],"Navigation item.\u0004Dev Tools":[null,""],"Navigation item.\u0004Settings":[null,""],"Navigation item.\u0004Discussion":[null,""],"Navigation item.\u0004Traffic":[null,""],"Navigation item.\u0004Sharing":[null,""],"Navigation item.\u0004At A Glance":[null,""],"Navigation item.\u0004Plans":[null,""],"Navigation item.\u0004Writing":[null,""],"Navigation item.\u0004Reset Options (dev only)":[null,""],"Navigation item.\u0004Security":[null,""],"Navigation item.\u0004At a Glance":[null,""],"Short warning message\u0004Updates needed":[null,""],"Short label appearing near a paid feature configuration block.\u0004Paid":[null,""],"A header for a preview area in the configuration screen.\u0004Preview":[null,""],"Ads header\u0004Ads":[null,""],"Dashboard widget header\u0004Site connection":[null,""],"Dashboard widget header\u0004Account connection":[null,""],"A caption for a small button to fix security issues.\u0004Threats":[null,""],"A caption for a small button to fix security issues.\u0004FIX":[null,""],"Short warning message about new threats found.\u0004Threats found!":[null,""],"Short warning message about site having no security scan.\u0004No scanning":[null,""],"Caption for a button to purchase a paid feature.\u0004Upgrade":[null,""],"Short message informing user that the site is secure.\u0004Secure":[null,""],"Short warning message about an invalid key being used for Akismet.\u0004Invalid key":[null,""],"Caption for a button to set up a feature.\u0004Set up":[null,""],"verb\u0004Copy":[null,""],"Shorthand for Privacy Policy.\u0004Privacy":[null,""],"Shorthand for Terms of Service.\u0004Terms":[null,""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[null,""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[null,""],"Noun. Displayed to screen readers.\u0004Settings":[null,""],"Header. Noun: Monitor is a module of Jetpack.\u0004Monitor":[null,""],"Header. Noun: Protect is a module of Jetpack.\u0004Protect":[null,""]} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-el-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-el-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 436f5115..00000000
--- a/plugins/jetpack/languages/json/jetpack-el-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"":{"po-revision-date":"2018-04-02 10:37:34+0000","mime-version":"1.0","content-type":"text/plain; charset=UTF-8","content-transfer-encoding":"8bit","plural-forms":"nplurals=2; plural=n != 1;","x-generator":"GlotPress/2.4.0-alpha","language":"el_GR","project-id-version":"Plugins - Jetpack by WordPress.com - Development (trunk)"},"Show a thumbnail image where available":[null,""],"Keep tabs on your site and receive alerts the moment downtime is detected.":[null,""],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":[null,""],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":[null,""],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":[null,""],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":[null,""],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":[null,""],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[null,""],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":[null,""],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[null,""],"This feature has been disabled by a site administrator.":[null,""],"%(moduleName)s has been disabled by a site administrator.":[null,""],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":[null,""],"Configure your notification settings":[null,""],"Monitor your site's downtime":[null,""],"Jetpack’s Search module is a powerful replacement for the search capability built into WordPress.":[null,""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":[null,""],"Plugin needs updating.":["Plugins need updating.","",""],"%(number)s":["%(number)s","",""],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":[null,""],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":[null,""],"Jetpack’s downtime monitor will keep tabs on your site, and alert you the moment that downtime is detected.":[null,""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":[null,""],"Akismet checks your comments and contact form submissions against our global database of spam.":[null,""],"Privacy Information":[null,""],"VideoPress allows you to upload videos from your computer to be hosted on WordPress.com, rather than on your host’s servers. You can then insert these on your self-hosted Jetpack site. ":[null,""],"Add the Search (Jetpack) widget to your sidebar":[null,""],"Give your visitor's a great search experience by letting them filter and sort fast, relevant search results.":[null,""],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":[null,""],"Loads the next posts automatically when the reader approaches the bottom of the page.":[null,""],"Delays the loading of images until they are visible in the visitor's browser.":[null,""],"Hosts your image files on the global WordPress.com servers.":[null,""],"Allows you to publish new posts by sending an email to a special address.":[null,""],"Hosts your video files on the global WordPress.com servers.":[null,""],"Replaces the standard WordPress galleries with a full-screen photo browsing experience, including comments and EXIF metadata.":[null,""],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":[null,""],"Adds the Portfolio custom post type, allowing you to manage and showcase projects on your site.":[null,""],"Adds the Testimonial custom post type, allowing you to collect, organize, and display testimonials on your site.":[null,""],"Allows you to compose content with links, lists, and other styles using the Markdown syntax.":[null,""],"Checks your content for correct grammar and spelling, misused words, and style while you write.":[null,""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":[null,""],"Automatically generates the files required for search engines to index your site.":[null,""],"Displays information on your site activity, including visitors and popular posts or pages.":[null,""],"Allows you to optimize your site and its content for better results in search engines.":[null,""],"Replaces the default WordPress search with a faster, filterable search experience.":[null,""],"Automatically displays similar content at the end of each post.":[null,""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":[null,""],"Displays high-quality ads on your site that allow you to earn income.":[null,""],"Adds sharing buttons to your content so that visitors can share it on social media sites.":[null,""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":[null,""],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":[null,""],"Allows registered users to log in to your site with their WordPress.com accounts.":[null,""],"Protects your site from traditional and distributed brute force login attacks.":[null,""],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":[null,""],"Removes spam from comments and contact forms.":[null,""],"We are committed to your privacy and security. ":[null,""],"View all Jetpack plans":[null,""],"Manage your plan":[null,""],"Your Plan":[null,""],"You’re currently on Jetpack %(plan)s.":[null,""],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":[null,""],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":[null,""],"{{a}}Activate{{/a}} to replace the WordPress built-in search with an improved search experience.":[null,""],"Add Search (Jetpack) Widget":[null,""],"Jetpack Search is powering search on your site.":[null,""],"Give your visitors {{a}}a great search experience{{/a}}.":[null,""],"Manage your plugins":[null,""],"Moderate comments":[null,""],"Error updating privacy settings. %(error)s":[null,""],"Updated privacy settings.":[null,""],"Updating privacy settings…":[null,""],"Add Jetpack Search Widget":[null,""],"Add the Jetpack search widget to your sidebar to configure advanced search filters.":[null,""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":[null,""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":[null,""],"Daily backups, spam filtering, and priority support.":[null,""],"Always-on security, a better search experience, unlimited CDN use, advanced marketing tools, and monetization services.":[null,""],"Powerful services for your site":[null,""],"Upgrade to a weekly coffee and fully protect your site from malware, infiltrations, and security loopholes with automated malware scanning.":[null,""],"Automated backups, one-click restores, spam filtering, and malware scanning.":[null,""],"Jetpack Premium now includes our full security suite":[null,""],"Automatic defense against hacks, malware, spam, data loss, and downtime with automated backups, unlimited storage, and malware scanning.":[null,""],"Always-on Security":[null,""],"Reach more people and earn money with automated social media scheduling, better search results, SEO preview tools, PayPal payments, and an ad program.":[null,""],"Get unlimited access to hundreds of professional themes, a superior search experience for your users, and unlimited high-speed, and ad-free video hosting.":[null,""],"A superior search experience powered by Elasticsearch providing your users with faster and more relevant search results. Previously only available to WordPress.com VIP customers and trusted by industry-leading brands.":[null,""],"Unlimited access to hundreds of premium WordPress themes with dedicated support directly from the theme authors.":[null,""],"Two great reasons to go Pro":[null,""],"Grow your traffic and revenue with social media scheduling, enhanced site search, SEO tools, PayPal payments, and an ad program.":[null,""],"Always-on security including real-time backups, malware scanning, and automatic threat resolution.":[null,""],"Design the perfect site with unlimited access to hundreds of themes and unlimited, high-speed, and ad-free video hosting.":[null,""],"Three great reasons to go Pro":[null,""],"Activate Video Hosting":[null,""],"Fast, optimized, ad-free, and unlimited video hosting for your site.":[null,""],"Browse Themes":[null,""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[null,""],"Sites with large numbers of images can now activate the Lazy Loading Images feature, which significantly speeds up loading times for visitors. Instead of waiting for the entire page to load, Jetpack will instead show pages instantly, and only download additional images when they are about to come into view.":[null,""],"If this sounds like a great improvement (and it is) you can enable it now by clicking the toggle below.":[null,""],"Our faster site search is now available to all Professional plan customers. This replaces the default WordPress search with an Elasticsearch-powered infrastructure that returns faster, more relevant results to users.":[null,""],"This release of Jetpack brings major new features and big improvements to your WordPress site.":[null,""],"Speed up your site and its content":[null,""],"We have also upgraded all our Premium plan customers to unlimited high-speed video storage (up from 13GB), and significantly reduced the CSS and JavaScript assets that Jetpack downloads when using features like infinite scroll and embedding rich content.":[null,""],"Faster, more relevant search results":[null,""],"Read the full announcement!":[null,""],"Compare paid plans":[null,""],"Major new features from Jetpack":[null,""],"Faster, more relevant and more powerful sitewide search.":[null,""],"Hassle-free design, marketing, and security for your WordPress site. Connect Jetpack to a WordPress.com account to start building your own success story.":[null,""],"WordPress themes and customization tools for designing your site.":[null,""],"Design the perfect website":[null,""],"Bring your ideas to life with elegant and professional designs and code-free customization tools.":[null,""],"Jetpack's photon serves up lightning fast, optimized images":[null,""],"Jetpack's WordPress themes":[null,""],"Professional themes":[null,""],"Find the perfect design for your site from hundreds of available themes.":[null,""],"Jetpack's customization tools":[null,""],"Code-free customization":[null,""],"Customize your site with endless widget options, image galleries, and embedded media.":[null,""],"Jetpack's performance features":[null,""],"Deliver blazing fast images and video and improve site load times.":[null,""],"Drive more traffic to your site with Jetpack":[null,""],"Increase traffic and revenue":[null,""],"Reach more people and earn money with automated marketing tools.":[null,""],"Jetpack's site stats feature":[null,""],"Keep an eye on your success with simple, concise, and mobile-friendly stats.":[null,""],"Jetpack's publicize features":[null,""],"Automated marketing":[null,""],"Schedule social media posts in advance, show related content, and give better search results.":[null,""],"Jetpack's ads and PayPal features":[null,""],"Generate revenue":[null,""],"Monetize your site with high-quality ads and take PayPal payments.":[null,""],"Keep your site safe, 24/7":[null,""],"Automatic defense against hacks, malware, spam, data loss, and downtime.":[null,""],"Jetpack's monitor feature":[null,""],"Be alerted about any unexpected downtime the moment it happens.":[null,""],"Jetpack's Protect features":[null,""],"Guard your site against brute force login attacks, spam, and harmfulmalware injections.":[null,""],"Backup and restore":[null,""],"Automatic, real-time backups mean your entire site is always ready to be restored.":[null,""],"Set up Jetpack":[null,""],"Speed up your site":[null,""],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":[null,""],"Jetpack Search":[null,""],"Jetpack version %(version)s":[null,""],"Replace WordPress built-in search with an improved search experience":[null,""],"Your site is being backed up in real time and regularly scanned for security threats.":[null,""],"Daily backup of all your site data with unlimited space and one-click restores":[null,""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[null,""],"View your security activity":[null,""]," (powered by VaultPress).":[null,""],"Replace the default WordPress search with better results that will help your users find what they are looking for.":[null,""],"Customize Search Widget":[null,""],"Activate Search":[null,""],"Please correct the issue below and try again.":["Please correct the issues listed below and try again.","",""],"We are making sure your site stays free of security threats. You will be notified if we find one.":[null,""],"Your site is being backed up in real-time.":[null,""],"Jetpack version":[null,""],"{{a}}View your site's activity{{/a}} in a single feed.":[null,""],"Your Jetpack Professional plan is taking care of business!":[null,""],"Your Jetpack Premium plan is powering up!":[null,""],"Your Jetpack Personal plan is powering up!":[null,""],"Activity":[null,""],"Confirm each new phrase you add by pressing enter.":[null,""],"{{a}}View details{{/a}}":[null,""],"Thanks for choosing Jetpack Professional. Jetpack is now backing up your content in real-time, indexing your content for search, scanning for security threats, and granting access to premium themes.":[null,""],"With Jetpack Professional, you can create the perfect site with one of over 300 professionally-designed WordPress themes, including more than 200 premium themes. Customize your content with a variety of widgets, or add unlimited videos to your posts and pages -- displayed free of ads or watermarks.":[null,""],"Growing your following is easy with your Professional plan, thanks to content sharing and scheduling, SEO tools, and built-in subscription options. You can monetize your site with a simple payment button and in-line ads, and monitor the success of your efforts by integrating with Google Analytics.":[null,""],"Your Jetpack plan gives you everything you need to keep your hard work safe, including on-demand backups and malware scans with one-click restores and issue resolution. Your site will be fully protected against spam, malicious code, and brute force login attempts.":[null,""],"Start exploring Jetpack Professional now to see all the benefits of your new plan.":[null,""],"Install premium themes":[null,""],"Review SEO features":[null,""],"Welcome Professional":[null,""],"Thanks for choosing Jetpack Premium. Jetpack is now backing up your site, scanning for security threats, and enabling monetization features.":[null,""],"With Jetpack Premium, you can create the perfect site, no matter its purpose. Customize your site’s appearance with one of more than 100 free themes, or enhance your content with unlimited HD video -- all hosted free of ads or watermarks.":[null,""],"Using Jetpack’s powerful sharing tools, you can automatically share your newest posts on social media, or schedule your content to be re-shared at any date or time you choose. And along with growing your following, you can grow your business with tools like payment buttons and ads.":[null,""],"Start exploring Jetpack Premium now to see all the benefits of your new plan.":[null,""],"Monetize your site with ads":[null,""],"Welcome Premium":[null,""],"Thanks for choosing Jetpack Personal. Jetpack is now backing up your site and scanning for security threats.":[null,""],"With Jetpack Personal, you have access to more than 100 free, professionally-designed WordPress themes. Choose the theme that best fits your site and customize colors, images, or add a variety of new widgets.":[null,""],"Got it!":[null,""],"Welcome personal":[null,""],"Connect your account to get the most out of Jetpack":[null,""],"By clicking the button below, you agree to our fascinating {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com":[null,""],"Jetpack Stats People":[null,""],"Hello there! Your stats have been activated.":[null,""],"Just give us a little time to collect data so we can display it for you here.":[null,""],"Okay, got it!":[null,""],"Display ads below posts on":[null,""],"Additional ad placements":[null,""],"Top of each page":[null,""],"Second ad below post":[null,""],"Archives":[null,""],"{{subhead}}Only with Jetpack Professional{{/subhead}}{{p}}Protect your site and work with Jetpack Personal: daily automated backups, unlimited storage, and expert priority support. Security essentials for every WordPress site starting from $3.50.{{/p}}{{p}}Or go Pro with more than 200 Premium Themes, business class security, unlimited video hosting, monetization, marketing automation, and SEO tools.{{/p}}":[null,""],"Explore Professional":[null,""],"Compare All Plans":[null,""],"Person with laptop":[null,""],"Your Jetpack site is ready to go!":[null,""],"We're now collecting stats, securing your site, and speeding up your images. Pretty soon you'll be able to see everything going on with your site right through Jetpack! Welcome aboard.":[null,""],"Stars":[null,""],"Jupiter":[null,""],"Welcome to Jetpack Personal":[null,""],"Welcome to Jetpack Premium":[null,""],"Welcome to Jetpack Professional":[null,""],"Social Media Scheduling":[null,""],"Schedule multiple Facebook, Twitter, and other social media postings in advance and view share history stats.":[null,""],"Schedule Posts":[null,""],"Activate Publicize":[null,""],"Explore Jetpack Professional":[null,""],"Introducing Unlimited Themes":[null,""],"Unlimited Premium Themes":[null,""],"Exclusive hand-crafted designs you will love with dedicated support directly from the theme authors.":[null,""],"Your site is backed up.":[null,""],"Image Performance":[null,""],"Get WordPress Apps for every device":[null,""],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":[null,""],"I already use this app.":[null,""],"Create address":[null,""],"Priority support":[null,""],"Add sharing buttons to your posts":[null,""],"Automatically share your posts to social networks":[null,""],"Updating settings…":[null,""],"Updating Post by Email address…":[null,""],"Your paid plan gives you access to prioritized Jetpack support.":[null,""],"You have paid for backups but they're not yet active.":[null,""],"You have paid for backups and security scanning but they’re not yet active.":[null,""],"Click \"Set Up\" to finish installation.":[null,""],"Checking site status…":[null,""],"Pages":[null,""],"We're here to help":[null,""],"Jetpack comes with free, basic support for all users.":[null,""],"Ask a question":[null,""],"Search our support site":[null,""],"Get a faster resolution to your support questions.":[null,""],"Host fast, high-quality, ad-free video.":[null,""],"Generate income with high-quality ads.":[null,""],"Real-time site backups and automatic threat resolution.":[null,""],"Protect against data loss, malware, and malicious attacks.":[null,""],"Integrate easily with Google Analytics.":[null,""],"Help your content get found and shared with SEO tools.":[null,""],"Protect your site from spam.":[null,""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[null,""],"Spam filtering":[null,""],"Daily, automated malware scanning":[null,""],"13Gb of high-speed video hosting":[null,""],"Daily, automated backups (unlimited storage)":[null,""],"Daily, automated malware scanning with automated resolution":[null,""],"Unlimited high-speed video hosting":[null,""],"SEO preview tools":[null,""],"Site stats, related content, and sharing tools":[null,""],"Brute force attack protection and downtime monitoring":[null,""],"Unlimited, high-speed image hosting":[null,""],"By disconnecting %(siteName)s from WordPress.com you will no longer have access to the following:":[null,""],"Read more about Jetpack benefits":[null,""],"An Automattic Airline":[null,""],"Manage site connection":[null,""],"Connect your account to WordPress.com to view more stats":[null,""],"Theme enhancements":[null,""],"Load more posts using the default theme behavior":[null,""],"Load more posts in page with a button":[null,""],"Load more posts as the reader scrolls down":[null,""],"Theme support required.":[null,""],"Learn more about adding support for Infinite Scroll to your theme.":[null,""],"Use excerpts instead of full posts on front page and archive pages":[null,""],"Show featured images":[null,""],"Enable the WordPress.com toolbar":[null,""],"The WordPress.com toolbar replaces the default admin bar and offers quick links to the Reader, all your sites, your WordPress.com profile, and notifications. Centralize your WordPress experience with a single global toolbar.":[null,""],"Writing tools available to you will be shown here when an administrator enables them.":[null,""],"Add, organize, and display {{testimonialLink}}testimonials{{/testimonialLink}}. If your theme doesn’t support testimonials yet, you can display them using the shortcode\t( [testimonials] ).":[null,""],"Portfolios":[null,""],"Add, organize, and display {{portfolioLink}}portfolios{{/portfolioLink}}. If your theme doesn’t support portfolios yet, you can display them using the shortcode ( [portfolio] ).":[null,""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[null,""],"Bing":[null,""],"Yandex":[null,""],"Generate XML sitemaps":[null,""],"Your sitemap is automatically sent to all major search engines for indexing.":[null,""],"Your site is not currently accessible to search engines. You might have \"Search Engine Visibility\" disabled in your {{a}}Reading Settings{{/a}}.":[null,""],"Collecting valuable traffic stats and insights":[null,""],"The image helps collect stats, but should work when hidden.":[null,""],"Count logged in page views from":[null,""],"Allow stats reports to be viewed by":[null,""],"You can tweak these settings if you'd like more advanced control. Read more about what you can do to {{a}}optimize your site's SEO{{/a}}.":[null,""],"Configure your SEO settings":[null,""],"In \"Upgrade\"":[null,""],"Configure your Google Analytics settings":[null,""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[null,""],"Enable ads and display an ad below each post":[null,""],"Configure your sharing buttons":[null,""],"Connect your social media accounts":[null,""],"Connect your user account to WordPress.com to use this feature":[null,""],"Allow readers to show their appreciation of your posts by adding a like button to your content":[null,""],"Match accounts using email addresses":[null,""],"Require accounts to use WordPress.com Two-Step Authentication":[null,""],"Add to whitelist":[null,""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[null,""],"Your site is backed up and threat-free.":[null,""],"Checking your spam protection…":[null,""],"Fetching key…":[null,""],"Your site needs an Antispam key.":[null,""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[null,""],"Your site is not protected from spam.":[null,""],"Your Antispam key is valid.":[null,""],"Your site is protected from spam.":[null,""],"Checking key…":[null,""],"Your API key":[null,""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[null,""],"No search results found for %(term)s":[null,""],"Enter a search term to find settings or close search.":[null,""],"Connections":[null,""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[null,""],"Your site is connected to WordPress.com.":[null,""],"You are the Jetpack owner.":[null,""],"Connected as {{span}}%(username)s{{/span}}":[null,""],"View your Email Followers":[null,""],"Connect your user account to WordPress.com to view your email followers":[null,""],"Color scheme":[null,""],"Enable Markdown use for comments.":[null,""],"Updated settings.":[null,""],"Error updating settings. %(error)s":[null,""],"Regenerated Post by Email address.":[null,""],"Error regenerating Post by Email address. %(error)s":[null,""],"Updated settings. Refreshing page…":[null,""],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":[null,""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[null,""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[null,""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[null,""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[null,""],"Configure Google Analytics settings.":[null,""],"Image of WordPress login screen protected by Jetpack":[null,""],"Google Analytics":[null,""],"Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.":[null,""],"Configure Google Analytics":[null,""],"Activate Google Analytics":[null,""],"Download the free apps":[null,""],"Upgrade Focus: VideoPress For Weddings":[null,""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[null,""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[null,""],"Display an ad unit at the top of your site.":[null,""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[null,""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[null,""],"Ads":[null,""],"Earn income by allowing Jetpack to display high quality ads (powered by WordAds).":[null,""],"Activate Ads":[null,""],"We support all Jetpack users, regardless of plan. But customers on a paid subscription enjoy priority support so that security issues are identified and fixed for you as soon as possible.":[null,""],"In \"Mobile\"":[null,""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[null,""],"View your earnings":[null,""],"Upload Videos Now":[null,""],"Make sure your site is easily found on search engines with SEO tools for your content and social posts.":[null,""],"Activate this module to use the advanced SEO tools.":[null,""],"How much is your website worth?":[null,""],"For less than the price of a coffee a month you can rest easy knowing your hard work (or livelihood) is backed up.":[null,""],"Configure Site SEO":[null,""],"Activate SEO Tools":[null,"Ενεργοποίηση Εργαλείων SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[null,""],"Video Hosting":[null,""],"SEO Tools":[null,"Εργαλεία SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":[null,""],"Configure your SEO settings.":[null,""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[null,""],"You are running Jetpack on a staging server.":[null,""],"More Info":[null,"Περισσότερες Πληροφορίες"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[null,""],"Your current IP: %(ip)s":[null,""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"This will reset all Jetpack options, are you sure?":[null,""],"Search for a Jetpack feature.":[null,""],"Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.":[null,""],"You can see the information about security scanning in the \"At a Glance\" section.":[null,""],"Configure your Security Scans":[null,""],"This module has no configuration options":[null,""],"Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch.":[null,""],"Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.":[null,""],"{{link}}Configure your %(module_slug)s Settings {{/link}}":[null,""],"Subscriber":[null,"Συνδρομητής"],"Big iPhone/iPad Update Now Available":[null,""],"The WordPress for Android App Gets a Big Facelift":[null,""],"WordPress.com Likes are:":[null,""],"Comments headline":[null,""],"A few catchy words to motivate your readers to comment.":[null,""],"Show a \"follow blog\" option in the comment form":[null,""],"Show a \"follow comments\" option in the comment form":[null,""],"Put a chart showing 48 hours of views in the admin bar":[null,""],"Hide the stats smiley face image":[null,""],"Whitelisted IP addresses":[null,""],"Show photo metadata (Exif) in carousel, when available":[null,""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[null,""],"Copied!":[null,""],"Highlight and copy the following text to your clipboard:":[null,""],"Regenerate address":[null,""],"Automatically proofread content when: ":[null,""],"A post or page is first published":[null,""],"A post or page is updated":[null,""],"Automatic Language Detection":[null,""],"The proofreader supports English, French, German, Portuguese and Spanish.":[null,""],"Enable proofreading for the following grammar and style rules: ":[null,""],"Add a phrase":[null,""],"Cheatin' uh?":[null,""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[null,""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[null,""],"Your Jetpack is already connected.":[null,""],"You're fueled up and ready to go, Jetpack is now active.":[null,""],"You're fueled up and ready to go.":[null,""],"You are currently running a development version of Jetpack.":[null,""],"Submit Beta feedback":[null,""],"What would you like to see on your Jetpack Dashboard?":[null,""],"Let us know!":[null,""],"Welcome to Jetpack":[null,"Καλώς ήρθατε στο Jetpack"],"Saving…":[null,"Αποθήκευση..."],"Save Settings":[null,"Αποθήκευση Ρυθμίσεων"],"Jetpack Stats Icon":[null,""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[null,""],"Activate Site Stats":[null,""],"Security Scanning":[null,""],"Upgrade":[null,"Αναβάθμιση"],"ACTIVE":[null,"ΕΝΕΡΓΌ"],"Your site is on Development Mode":[null,""],"Once you connect, you can upgrade to a paid plan in order to unlock world-class security, spam protection tools, and priority support.":[null,""],"State-of-the-art spam defense powered by Akismet.":[null,""],"View your spam stats":[null,""],"Configure Akismet":[null,""],"View your security dashboard":[null,""],"Configure VaultPress":[null,""],"Compare Plans":[null,"Σύγκριση Σχεδίων"],"Enjoy priority support":[null,""],"The site is in Development Mode, so you can not connect to WordPress.com.":[null,""],"Link your account to WordPress.com to get the most out of Jetpack.":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.":[null,""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[null,""],"Total malicious attacks blocked on your site.":[null,""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[null,""],"All plugins are up-to-date. Awesome work!":[null,""],"Jetpack is improving and optimizing your image speed.":[null,""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[null,""],"Security":[null,"Ασφάλεια"],"Performance":[null,""],"Backups":[null,"Αντίγραφα ασφαλείας"],"{{a}}View backup details{{/a}}.":[null,""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"Unavailable in Dev Mode.":[null,""],"Spam Protection":[null,"Προστασία από Spam"],"For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.":[null,""],"For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.":[null,""],"Invalid key":[null,""],"Unavailable in Dev Mode":[null,""],"Activating recommended features…":[null,""],"Recommended features active.":[null,""],"Recommended features failed to activate. %(error)s":[null,""],"Activating %(slug)s…":[null,""],"%(slug)s has been activated.":[null,""],"%(slug)s failed to activate. %(error)s":[null,""],"Deactivating %(slug)s…":[null,""],"%(slug)s has been deactivated.":[null,""],"%(slug)s failed to deactivate. %(error)s":[null,""],"Updating %(slug)s settings…":[null,""],"Updated %(slug)s settings.":[null,""],"Error updating %(slug)s settings. %(error)s":[null,""],"Updating %(slug)s address…":[null,""],"Regenerated %(slug)s address .":[null,""],"Error regenerating %(slug)s address. %(error)s":[null,""],"Resetting Jetpack options…":[null,""],"Options reset.":[null,""],"Options failed to reset.":[null,""],"There was an error disconnecting Jetpack. Error: %(error)s":[null,""],"Unlinking from WordPress.com":[null,""],"Unlinked from WordPress.com.":[null,""],"Error unlinking from WordPress.com. %(error)s":[null,""],"At A Glance":[null,"Με Μια Ματιά"],"Clichés":[null,""],"Dashboard":[null,"Πίνακας ελέγχου"],"Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.":[null,""],"Automattic's Privacy Policy":[null,""],"WordPress.com Terms of Service":[null,"WordPress.com Όροι Χρήσης"],"{{a}}Activate{{/a}} to enhance the performance and speed of your images.":[null,""],"{{a}}Turn on plugin autoupdates{{/a}}":[null,""],"Plugin Updates":[null,"Αναβαθμίσεις Πρόσθετων"],"To automatically back up your entire site, please {{a}}upgrade your account{{/a}}.":[null,""],"Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.":[null,""],"No threats found, you're good to go!":[null,""],"{{a}}Contact Support{{/a}}":[null,""],"{{a}}View details at VaultPress.com{{/a}}":[null,""],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s threats found.","",""],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":[null,""],"Loading…":[null,"Φόρτωση..."],"Downtime monitoring":[null,""],"{{button}}View more stats on WordPress.com {{/button}}":[null,""],"{{button}}View detailed stats{{/button}}":[null,""],"All-time comments":[null,""],"All-time views":[null,""],"%(number)s View":["%(number)s Views","",""],"Best overall day":[null,""],"Views today":[null,"Προβολές σήμερα"],"Months":[null,"Μήνες"],"Weeks":[null,"Εβδομάδες"],"Days":[null,"Ημέρες"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[null,""],"Click to view detailed stats.":[null,""],"Views: %(numberOfViews)s":[null,""],"Week of %(date)s":[null,""],"Manage security on WordPress.com":[null,"Διαχειριστείτε την ασφάλεια στο WordPress.com"],"Features can be activated or deactivated at any time.":[null,""],"Jetpack's recommended features include:":[null,""],"Activate recommended features":[null,""],"Link to WordPress.com":[null,"Σύνδεση στο WordPress.com"],"Unlink me from WordPress.com":[null,"Αποσύνδεσέ με από το WordPress.com"],"Join the millions of users who rely on Jetpack to enhance and secure their sites. We're passionate about WordPress and here to make your life easier.":[null,""],"Track your growth":[null,""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[null,""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[null,""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[null,""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[null,""],"Disconnecting Jetpack":[null,"Γίνεται αποσύνδεση Jetpack"],"Learn more":[null,"Μάθετε περισσότερα"],"Posts":[null,"Άρθρα"],"Front page":[null,"Πρώτη σελίδα"],"Pinterest":[null,"Pinterest"],"Google":[null,"Google"],"Show related content after posts":[null,"Προβολή σχετικών θεμάτων στις δημοσιεύσεις"],"Show a \"Related\" header to more clearly separate the related section from posts":[null,"Χρησιμοποιήστε την κεφαλίδα \"Σχετικά θέματα\" για να διαχωρίσετε τα σχετικά θέματα από τις δημοσιεύσεις σας"],"Related":[null,"Σχετικά"],"Email Address":[null,"Διεύθυνση email"],"Media":[null,"Εικόνες και Βίντεο"],"Themes":[null,"Θέματα"],"Site Stats":[null,"Στατιστικά"],"Sharing":[null,"Κοινοποίηση"],"Testimonials":[null,"Σχόλια"],"Comments":[null,"Σχόλια"],"Ignored Phrases":[null,"Φράσεις που παραλείφθηκαν"],"Use automatically detected language to proofread posts and pages":[null,"Αυτόματη επιλογή γλώσσας για ορθογραφικό έλεγχο και διόρθωση."],"Redundant Phrases":[null,"Περιττές φράσεις"],"Phrases to Avoid":[null,"Εκφράσεις προς αποφυγή"],"Passive Voice":[null,"Παθητική φωνή"],"Jargon":[null,"Αργκό"],"Hidden Verbs":[null,"Κρυφά ρήματα"],"Double Negatives":[null,"Διπλή άρνηση"],"Diacritical Marks":[null,"Τόνοι και πνεύματα"],"Complex Phrases":[null,"Πολύπλοκες εκφράσεις"],"Bias Language":[null,"Λέξεις με προκατάληψη"],"English Options":[null,"Επιλογές Αγγλικών"],"Proofreading":[null,"Έλεγχος ορθρογραφίας και διόρθωση"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[null,"Το Jetpack δεν μπόρεσει να συνδεθεί στο WordPress.com: %s. Αυτό συνήθως σημαίνει λάθος ρυθμίσεις στο πακέτο φιλοξενίας του ιστότοπου σας. "],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[null,"Αυτή την στιγμή το WordPress.com αντιμετωπίζει προβλήματα και δεν μπορεί να επικοινωνήσει με το Jetpack. Παρακαλώ προσπαθείστε ξανά."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[null,"<strong>Σφάλμα στην λειτουργία του Jetpack.</strong> Η σύνδεση αυτού του ιστότοπου με το WordPress.com δεν είναι εφικτή. Αυτό συνήθως σημαίνει ότι ο ιστότοπος δεν είναι δημόσια προσβάσιμος. "],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[null,""],"You have successfully disconnected Jetpack":[null,"Έχετε αποσυνδεθεί επιτυχώς από το Jetpack."],"Connect to WordPress.com":[null,"Σύνδεση με WordPress.com "],"Connected":[null,"Συνδεδεμένο"],"Activate":[null,"Ενεργοποίηση"],"Active":[null,"Ενεργό"],"Search":[null,"Αναζήτηση"],"Settings":[null,"Ρυθμίσεις"],"Jetpack":[null,"Jetpack"],"Learn More":[null,"Μάθετε περισσότερα"],"Disconnect Jetpack":[null,"Αποσύνδεση Jetpack"],"Test your site’s compatibility with Jetpack.":[null,"Δοκιμάστε τη συμβατότητα του ιστοτόπου σας με το Jetpack."],"Elasticsearch":[null,""],"Settings header\u0004Downtime monitoring":[null,""],"Settings header\u0004Privacy Settings":[null,""],"Settings header\u0004WordPress.com toolbar":[null,""],"Settings header\u0004Composing":[null,""],"Settings header\u0004Site stats":[null,""],"Settings header\u0004Search engine optimization":[null,""],"Settings header\u0004Google Analytics":[null,""],"Settings header\u0004Sharing buttons":[null,""],"Settings header\u0004Publicize connections":[null,""],"Settings header\u0004Like buttons":[null,""],"Settings header\u0004WordPress.com log in":[null,""],"Settings header\u0004Brute force attack protection":[null,""],"Settings header\u0004Backups and security scanning":[null,""],"Settings header\u0004Spam filtering":[null,""],"Search term.\u0004terms of service":[null,""],"Search term.\u0004tos":[null,""],"Search term.\u0004gdpr":[null,""],"Search term.\u0004data":[null,""],"Search term.\u0004tracks":[null,""],"Search term.\u0004privacy":[null,""],"Caption for a button to purchase a pro plan.\u0004Upgrade":[null,""],"Image alternate text.\u0004Decoration: Jetpack clouds":[null,""],"Image alternate text.\u0004Decoration: Jetpack bar graph":[null,""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[null,""],"Button caption\u0004Saving…":[null,""],"Button caption\u0004Save settings":[null,""],"A header for a block of related posts.\u0004Related":[null,""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[null,""],"A caption for a button to cancel disconnection.\u0004Stay connected":[null,""],"A caption for a button to disconnect.\u0004Disconnect":[null,""],"Navigation item.\u0004Dev Tools":[null,""],"Navigation item.\u0004Settings":[null,""],"Navigation item.\u0004Discussion":[null,""],"Navigation item.\u0004Traffic":[null,""],"Navigation item.\u0004Sharing":[null,""],"Navigation item.\u0004At A Glance":[null,"Με Μια Ματιά"],"Navigation item.\u0004Plans":[null,"Σχέδια"],"Navigation item.\u0004Writing":[null,""],"Navigation item.\u0004Reset Options (dev only)":[null,""],"Navigation item.\u0004Security":[null,""],"Navigation item.\u0004At a Glance":[null,"Με Μια Ματιά"],"Short warning message\u0004Updates needed":[null,""],"Short label appearing near a paid feature configuration block.\u0004Paid":[null,""],"A header for a preview area in the configuration screen.\u0004Preview":[null,""],"Ads header\u0004Ads":[null,""],"Dashboard widget header\u0004Site connection":[null,""],"Dashboard widget header\u0004Account connection":[null,""],"A caption for a small button to fix security issues.\u0004Threats":[null,""],"A caption for a small button to fix security issues.\u0004FIX":[null,""],"Short warning message about new threats found.\u0004Threats found!":[null,""],"Short warning message about site having no security scan.\u0004No scanning":[null,""],"Caption for a button to purchase a paid feature.\u0004Upgrade":[null,""],"Short message informing user that the site is secure.\u0004Secure":[null,""],"Short warning message about an invalid key being used for Akismet.\u0004Invalid key":[null,""],"Caption for a button to set up a feature.\u0004Set up":[null,""],"verb\u0004Copy":[null,"Αντιγραφή"],"Shorthand for Privacy Policy.\u0004Privacy":[null,"Ιδιωτικότητα"],"Shorthand for Terms of Service.\u0004Terms":[null,"Όροι"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[null,""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[null,""],"Noun. Displayed to screen readers.\u0004Settings":[null,"Ρυθμίσεις"],"Header. Noun: Monitor is a module of Jetpack.\u0004Monitor":[null,""],"Header. Noun: Protect is a module of Jetpack.\u0004Protect":[null,""]} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-en_AU-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-en_AU-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index ce3a11b1..00000000
--- a/plugins/jetpack/languages/json/jetpack-en_AU-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"en_AU"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":["Renews on %s."],"Purchased on %s.":["Purchased on %s."],"Select a backup option:":["Select a backup option:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["You are saving {{savings /}} by paying yearly"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Hurry, these are {{s}}Limited time introductory prices!{{/s}}"],"Up to %(percent)d%% off!":["Up to %(percent)d%% off!"],"per month":["per month"],"per year":["per year"],"Which backup option is best for me?":["Which backup option is best for me?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Manage Subscription"],"Your site is being backed up.":["Your site is being backed up."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["You need to enter your server credentials to finish configuring Jetpack Backup."],"Jetpack Backup is being configured for your site.":["Jetpack Backup is being configured for your site."],"Daily Backups":["Daily Backups"],"Just looking for backups? We've got you covered.":["Just looking for backups? We've got you covered."],"Solutions":["Solutions"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Included in your {{planLink}}Professional Plan{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Included in your {{planLink}}Premium Plan{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Included in your {{planLink}}Personal Plan{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives."],"Always-on backups ensure you never lose your site.":["Always-on backups ensure you never lose your site."],"My Products":["My Products"],"My Plan":["My Plan"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack Backup {{em}}Real-Time{{/em}}"],"Your data is being securely backed up as you edit.":["Your data is being securely backed up as you edit."],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack Backup {{em}}Daily{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Your data is being securely backed up every day with a 30-day archive."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack Free"],"Expired on %s.":["Expired on %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack has many powerful tools that can help you achieve your goals"]," We’ve highlighted some of the features you rely on below.":["We’ve highlighted some of the features you rely on below."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Grow your traffic with automated social {{a}}publishing and sharing{{/a}}"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}"],"Disable":["Disable"],"Are you sure you want to disconnect and deactivate?":["Are you sure you want to disconnect and deactivate?"],"Are you sure you want to disconnect?":["Are you sure you want to disconnect?"],"Disable Jetpack":["Disable Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["We back up your website with every change you make, making it easy to fix your mistakes."],"Automated Real-time Backups":["Automated Real-time Backups"],"We back up your website every day, so you never have to worry about your data again.":["We back up your website every day, so you never have to worry about your data again."],"Automated Daily Backups":["Automated Daily Backups"],"View Your Backups":["View Your Backups"],"A Jetpack Site securely backed up with Jetpack Backup":["A Jetpack Site securely backed up with Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the classic editor as well as within a classic editor block."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activate{{/a}} to optimise image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack is optimising your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices."],"Image Accelerator":["Image Accelerator"],"Start with free":["Start with free"],"Now that you're set up, pick a plan that fits your needs.":["Now that you're set up, pick a plan that fits your needs."],"Jetpack Backup":["Jetpack Backup"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Already have a key? {{a}}Activate Akismet{{/a}}"],"Verifying…":["Verifying…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Give your site a fast loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages."],"Customize your SEO settings":["Customise your SEO settings"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Include a small chart in your Admin Bar with a 48-hour traffic snapshot"],"Expand to update settings for how visits are counted and manage who can view this information.":["Expand to update settings for how visits are counted and manage who can view this information."],"You can customize the sharing buttons and choose which services to display.":["You can customise the sharing buttons and choose which services to display."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Your site is protected by Jetpack. You’ll be notified if anything needs attention."],"Find threats early so we can help fix them fast.":["Find threats early so we can help fix them fast."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Replace your site's basic search with customisable search that helps visitors find answers faster."],"Never worry about losing your site – automatic backups keep your content safe.":["Never worry about losing your site – automatic backups keep your content safe."],"Protect":["Protect"],"Scan":["Scan"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Automatically clear spam from your comments and forms so you can get back to your business."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Connect your site to Google Analytics in seconds with Jetpack Premium or Professional."],"Log in to the WordPress mobile app":["Log in to the WordPress mobile app"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Easily log in to the WordPress app by clicking the link we'll send to the email address on your account."],"Email me a link to log in to the app":["Email me a link to log in to the app"],"Send your new posts to this email address:":["Send your new posts to this email address:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader."],"Verify site ownership with third party services":["Verify site ownership with third party services"],"Generate shortened URLs for simpler sharing.":["Generate shortened URLs for simpler sharing."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["The feature helps visitors find more of your content by displaying related posts at the bottom of each post."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}."],"Add sharing buttons to your posts and pages":["Add sharing buttons to your posts and pages"],"Share your content to social media, reaching new audiences and increasing engagement.":["Share your content to social media, reaching new audiences and increasing engagement."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Get alerts if your site goes offline. We’ll let you know when it’s back up, too."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure."],"Choose which plugins to auto-update":["Choose which plugins to auto-update"],"Upgrade Jetpack now":["Upgrade Jetpack now"],"Monetize your site by running high quality ads.":["Monetise your site by running high quality ads."],"Customize your social posting schedule.":["Customise your social posting schedule."],"Expand your audience with pro SEO tools.":["Expand your audience with pro SEO tools."],"Take your site to the next level!":["Take your site to the next level!"],"Search support docs":["Search support docs"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Need help? Learn about getting started, customising your site, using advanced code snippets, and more."],"Start sharing":["Start sharing"],"Optimized performance":["Optimised performance"],"Enable the “subscribe to comments” option on your comment form":["Enable the “subscribe to comments” option on your comment form"],"Enable the “subscribe to site” option on your comment form":["Enable the “subscribe to site” option on your comment form"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Manage advanced comment settings and grow your audience with email subscriptions."],"Comment form introduction":["Comment form introduction"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam."],"Failed to send login email":["Failed to send login email"],"Login email sent":["Login email sent"],"Sending login email…":["Sending login email…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}"],"Allow readers to like individual comments.":["Allow readers to like individual comments."],"Enable comment likes.":["Enable comment likes."],"Allow readers to use markdown in comments.":["Allow readers to use markdown in comments."],"Show Gravatar hovercards alongside comments.":["Show Gravatar hovercards alongside comments."],"Complete Jetpack Setup":["Complete Jetpack Setup"],"Your Jetpack setup progress":["Your Jetpack setup progress"],"View your setup checklist":["View your setup checklist"],"Yearly":["Yearly"],"Monthly":["Monthly"],"About Jetpack":["About Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Enable widget visibility controls to display widgets only on particular posts or pages"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Make extra widgets available for use on your site, including subscription forms and Twitter streams"],"Enhance CSS customization panel":["Enhance CSS customisation panel"],"Writing":["Writing"],"Compose using shortcodes to embed media from popular sites":["Compose using shortcodes to embed media from popular sites"],"Traffic":["Traffic"],"You need to enter your server credentials to finish configuring Backups and Scan.":["You need to enter your server credentials to finish configuring Backups and Scan."],"Awaiting credentials":["Awaiting credentials"],"Backups and Scan are being configured for your site.":["Backups and Scan are being configured for your site."],"Provisioning":["Provisioning"],"Action needed":["Action needed"],"Setting up":["Setting up"],"Discussion":["Discussion"],"We are configuring your site protection.":["We are configuring your site protection."],"View your site's backups":["View your site's backups"],"We are backing up your site in real-time.":["We are backing up your site in real-time."],"Enter credentials":["Enter credentials"],"You need to enter your server's credentials to finish the setup.":["You need to enter your server's credentials to finish the setup."],"We are configuring your site's backups.":["We are configuring your site's backups."],"View site activity":["View site activity"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair."],"Explore our Jetpack plans":["Explore our Jetpack plans"],"Support documentation":["Support documentation"],"Chat bubbles representing getting in touch with support":["Chat bubbles representing getting in touch with support"],"Site activity":["Site activity"],"Reach a wider audience by automatically sharing your posts on social media.":["Reach a wider audience by automatically sharing your posts on social media."],"Increase traffic to your site":["Increase traffic to your site"],"Explore free themes":["Explore free themes"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Get unlimited access to hundreds of professional themes, and customise your site exactly how you like it."],"A wide variety of themes and tools to customize a site":["A wide variety of themes and tools to customise a site"],"Set up your site security":["Set up your site security"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Prevent log in attacks, and get instant notifications when there’s an issue with your site."],"Site stats showing an evolution in traffic and engagement":["Site stats showing an evolution in traffic and engagement"],"A hand holding a loupe":["A hand holding a loupe"],"A chart showing an healthy increase in earnings":["A chart showing an healthy increase in earnings"],"Interface showing a chronological list of changes and updates in a site":["Interface showing a chronological list of changes and updates in a site"],"A cloud with multiple types of content floating around it":["A cloud with multiple types of content floating around it"],"A folder holding real comments":["A folder holding real comments"],"Make your site faster":["Make your site faster"],"Load pages faster by serving your images from our global network of servers.":["Load pages faster by serving your images from our global network of servers."],"A fast and performant website":["A fast and performant website"],"A secure site, locked and protected by Jetpack":["A secure site, locked and protected by Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts."],"Add Like buttons to your posts and pages":["Add Like buttons to your posts and pages"],"When visitors enjoy your content, let them show it with a Like.":["When visitors enjoy your content, let them show it with a Like."],"Create account":["Create account"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack is powering your site, but to access all of its features you’ll need to create an account."],"Compose content the way you want to and streamline your publishing experience.":["Compose content the way you want and streamline your publishing experience."],"Add a portfolio item":["Add a portfolio item"],"Add a testimonial":["Add a testimonial"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximise your site’s visibility in search engines and view traffic stats in real time."],"Create a Jetpack account to use this feature":["Create a Jetpack account to use this feature"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack will continuously monitor your site, and alert you the moment downtime is detected."],"Error enabling Site accelerator. %(error)s":["Error enabling Site Accelerator. %(error)s"],"Site accelerator is now speeding up your site!":["Site Accelerator is now speeding up your site!"],"Enabling Site accelerator…":["Enabling Site Accelerator…"],"Error disabling site accelerator. %(error)s":["Error disabling Site Accelerator. %(error)s"],"Site accelerator is no longer speeding up your site!":["Site Accelerator is no longer speeding up your site!"],"Disabling site accelerator…":["Disabling Site Accelerator…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Load pages faster, optimise images, and speed up your visitors’ experience."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns."],"High-speed, high-definition video hosting with no third-party ads.":["High-speed, high-definition video hosting with no third-party ads."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Schedule unlimited tweets, Facebook posts, and other social posts in advance."],"Marketing Automation":["Marketing Automation"],"Activate Jetpack Search":["Activate Jetpack Search"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Replace the default WordPress search with better results and filtering powered by Elasticsearch."],"Start earning":["Start earning"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds lets you earn money by displaying promotional content. Start earning today."],"Spam is automatically blocked from your comments.":["Spam is automatically blocked from your comments."],"Browse premium themes":["Browse premium themes"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Access hundreds of beautifully designed premium themes at no extra cost."],"Try a premium theme":["Try a premium theme"],"View settings":["View settings"],"Create a Jetpack account to view your email followers":["Create a Jetpack account to view your email followers"],"Manage security settings":["Manage security settings"],"Jetpack is ready for the new WordPress editor":["Jetpack is ready for the new WordPress editor"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown."],"Build your Jetpack site with blocks":["Build your Jetpack site with blocks"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["A new editor? Yes! {{a}}Learn more{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["The features you rely on, adapted for the new WordPress editor."],"Take me to the new editor":["Take me to the new editor"],"Testing Jetpack Connection":["Testing Jetpack Connection"],"There was an error testing Jetpack. Error: %(error)s":["There was an error testing Jetpack. Error: %(error)s"],"New in Jetpack!":["New in Jetpack!"],"Speed up static file load times":["Speed up static file load times"],"Speed up image load times":["Speed up image load times"],"Enable site accelerator":["Enable site accelerator"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Load pages faster by allowing Jetpack to optimise your images and serve your images and static files (like CSS and JavaScript) from our global network of servers."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials."],"View your site activity":["View your site activity"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["View a chronological list of all the changes and updates to your site in an organised, readable way."],"Manually Verify ":["Manually Verify "],"Verify with Google":["Verify with Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site."],"or":["or"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Your site is verified with Google"],"Site failed to verify: %(error)s":["Site failed to verify: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Add faster, more advanced searching to your site with Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Replace WordPress built-in search with Jetpack Search, an advanced search experience"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Search replaces the built-in search with a fast, scalable, customisable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results."],"Jetpack Search supports many customizations.":["Jetpack Search supports many customisations."],"Site is verified":["Site is verified"],"Spam filtering and priority support.":["Spam filtering and priority support."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site."],"Custom ads.txt entries":["Custom ads.txt entries"],"Privacy information":["Privacy information"],"Enable Lazy Loading for images":["Enable Lazy Loading for images"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once."],"Performance & speed":["Performance & speed"],"Enable high-speed, ad-free video player":["Enable high-speed, ad-free video player"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customise your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!"],"Video":["Video"],"Carousel color scheme":["Carousel colour scheme"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO."],"Show photo Exif metadata in carousel (when available)":["Show photo Exif metadata in carousel (when available)"],"Display images in a full-screen carousel gallery":["Display images in a full-screen carousel gallery"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos."],"Portfolios shortcode: [portfolio]":["Portfolios shortcode: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site."],"Testimonials shortcode: [testimonials]":["Testimonials shortcode: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes."],"Configure related posts in the Customizer":["Configure related posts in the Customiser"],"Highlight related content with a heading":["Highlight related content with a heading"],"View security scan details":["View security scan details"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Show a thumbnail image where available"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["This information helps us improve our products, make marketing to you more relevant, personalise your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["This feature is being managed by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator.":["This feature has been disabled by a site administrator."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s has been disabled by a site administrator."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}"],"Configure your notification settings":["Configure your notification settings"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack Search is a powerful replacement for the search capability built into WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Your site’s files are regularly scanned for unauthorised or suspicious modifications that could compromise your security and data."],"Plugin needs updating.":["Plugin needs updating.","Plugins need updating."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack’s Plugin Updates allows you to choose which plugins update automatically."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack will optimise your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack Backups allow you to easily restore or download a backup from a specific moment."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Loads the next posts automatically when the reader approaches the bottom of the page."],"Allows you to publish new posts by sending an email to a special address.":["Allows you to publish new posts by sending an email to a special address."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Adds a Toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Provides the necessary hidden tags needed to verify your WordPress site with various services."],"Displays information on your site activity, including visitors and popular posts or pages.":["Displays information on your site activity, including visitors and popular posts or pages."],"Allows you to optimize your site and its content for better results in search engines.":["Allows you to optimise your site and its content for better results in search engines."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions."],"Displays high-quality ads on your site that allow you to earn income.":["Displays high-quality ads on your site that allow you to earn income."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Allows you to automatically share your newest content on social media sites, including Facebook and Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Adds like buttons to your content so that visitors can show their appreciation or enjoyment."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Allows registered users to log in to your site with their WordPress.com accounts."],"Protects your site from traditional and distributed brute force login attacks.":["Protects your site from traditional and distributed brute force login attacks."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error."],"Removes spam from comments and contact forms.":["Removes spam from comments and contact forms."],"We are committed to your privacy and security. ":["We are committed to your privacy and security. "],"View all Jetpack plans":["View all Jetpack plans"],"Manage your plan":["Manage your plan"],"Your Plan":["Your Plan"],"You’re currently on Jetpack %(plan)s.":["You’re currently on Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Allows readers to subscribe to your posts or comments, and receive notifications of new content by email."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Replaces the standard WordPress comment form with a new comment system that includes social media login options."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience."],"Add Search (Jetpack) Widget":["Add Search (Jetpack) Widget"],"Jetpack Search is powering search on your site.":["Jetpack Search is powering search on your site."],"Manage your plugins":["Manage your plugins"],"Moderate comments":["Moderate comments"],"Error updating privacy settings. %(error)s":["Error updating privacy settings. %(error)s"],"Updated privacy settings.":["Updated privacy settings."],"Updating privacy settings…":["Updating privacy settings…"],"Add Jetpack Search Widget":["Add Jetpack Search Widget"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Add the Jetpack Search widget to your sidebar to configure sorting and filters."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support."],"Daily backups, spam filtering, and priority support.":["Daily backups, spam filtering, and priority support."],"Always-on security":["Always-on security"],"Activate video hosting":["Activate video hosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"Design the perfect website":["Design the perfect website"],"Set up Jetpack":["Set up Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning."],"Jetpack Search":["Jetpack Search"],"Jetpack version %(version)s":["Jetpack version %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Your site is being backed up in real time and regularly scanned for security threats."],"Daily backup of all your site data with unlimited space and one-click restores":["Daily backup of all your site data with unlimited space and one-click restores"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"View your security activity":["View your security activity"]," (powered by VaultPress).":[" (powered by VaultPress)."],"Customize Search Widget":["Customise Search Widget"],"Please correct the issue below and try again.":["Please correct the issue below and try again.","Please correct the issues listed below and try again."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["We are making sure your site stays free of security threats. You will be notified if we find one."],"Jetpack version":["Jetpack version"],"Activity":["Activity"],"{{a}}View details{{/a}}":["{{a}}View details{{/a}}"],"Monetize your site with ads":["Monetise your site with ads"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com."],"Jetpack Stats People":["Jetpack Stats People"],"Hello there! Your stats have been activated.":["Hello there! Your stats have been activated."],"Just give us a little time to collect data so we can display it for you here.":["Just give us a little time to collect data so we can display it for you here."],"Okay, got it!":["Okay, got it!"],"Display ads below posts on":["Display ads below posts on"],"Additional ad placements":["Additional ad placements"],"Top of each page":["Top of each page"],"Second ad below post":["Second ad below post"],"Archives":["Archives"],"Stars":["Stars"],"Jupiter":["Jupiter"],"Schedule posts":["Schedule posts"],"Activate Publicize":["Activate Publicise"],"Your site is backed up.":["Your site is backed up."],"Get WordPress Apps for every device":["Get WordPress Apps for every device"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world."],"Create address":["Create address"],"Automatically share your posts to social networks":["Automatically share your posts to social networks"],"Updating settings…":["Updating settings…"],"Updating Post by Email address…":["Updating Post by Email address…"],"Your paid plan gives you access to prioritized Jetpack support.":["Your paid plan gives you access to prioritised Jetpack support."],"You have paid for backups but they're not yet active.":["You have paid for backups but they're not yet active."],"You have paid for backups and security scanning but they’re not yet active.":["You have paid for backups and security scanning but they’re not yet active."],"Click \"Set Up\" to finish installation.":["Click \"Set Up\" to finish installation."],"Checking site status…":["Checking site status…"],"Pages":["Pages"],"Access the full list of Jetpack modules available on your site.":["Access the full list of Jetpack modules available on your site."],"We're here to help":["We're here to help"],"Jetpack comes with free, basic support for all users.":["Jetpack comes with free, basic support for all users."],"Ask a question":["Ask a question"],"Search our support site":["Search our support site"],"Get a faster resolution to your support questions.":["Get a faster resolution to your support questions."],"Host fast, high-quality, ad-free video.":["Host fast, high-quality, ad-free video."],"Generate income with high-quality ads.":["Generate income with high-quality ads."],"Real-time site backups and automatic threat resolution.":["Real-time site backups and automatic threat resolution."],"Protect against data loss, malware, and malicious attacks.":["Protect against data loss, malware, and malicious attacks."],"Protect your site from spam.":["Protect your site from spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["This site is not connected to WordPress.com. Please ask the site administrator to connect."],"An Automattic Airline":["An Automattic Airline"],"Manage site connection":["Manage site connection"],"Connect your account to WordPress.com to view more stats":["Connect your account to WordPress.com to view more stats"],"Theme enhancements":["Theme enhancements"],"Load more posts using the default theme behavior":["Load more posts using the default theme behaviour"],"Load more posts in page with a button":["Load more posts in-page with a button"],"Load more posts as the reader scrolls down":["Load more posts as the reader scrolls down"],"Theme support required.":["Theme support required."],"Learn more about adding support for Infinite Scroll to your theme.":["Learn more about adding support for Infinite Scroll to your theme."],"Show excerpts instead of full posts on front page and archive pages":["Show excerpts instead of full posts on front page and archive pages"],"Show featured images":["Show featured images"],"Enable the WordPress.com toolbar":["Enable the WordPress.com toolbar"],"Writing tools available to you will be shown here when an administrator enables them.":["Writing tools available to you will be shown here when an administrator enables them."],"Portfolios":["Portfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generate XML sitemaps"],"The image helps collect stats, but should work when hidden.":["The image helps collect stats, but should work when hidden."],"Count logged in page views from":["Count logged in page views from"],"Allow stats reports to be viewed by":["Allow stats reports to be viewed by"],"In \"Upgrade\"":["In \"Upgrade\""],"Configure your Google Analytics settings":["Configure your Google Analytics settings"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings."],"Enable ads and display an ad below each post":["Enable ads and display an ad below each post"],"Configure your sharing buttons":["Configure your sharing buttons"],"Connect your social media accounts":["Connect your social media accounts"],"Match accounts using email addresses":["Match accounts using email addresses"],"Require accounts to use WordPress.com Two-Step Authentication":["Require accounts to use WordPress.com's Two-Step Authentication"],"Add to whitelist":["Add to whitelist"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["You may whitelist an IP address or series of addresses, preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Your site is backed up and threat-free."],"Checking your spam protection…":["Checking your spam protection…"],"Fetching key…":["Fetching key…"],"Your site needs an Antispam key.":["Your site needs an Antispam key."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["There's a problem with your Antispam API key. {{a}}Learn more{{/a}}."],"Your site is not protected from spam.":["Your site is not protected from spam."],"Your Antispam key is valid.":["Your Antispam key is valid."],"Your site is protected from spam.":["Your site is protected from spam."],"Checking key…":["Checking key…"],"Your API key":["Your API key"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one."],"No search results found for %(term)s":["No search results found for %(term)s"],"Enter a search term to find settings or close search.":["Enter a search term to find settings or close search."],"Connections":["Connections"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Your site is in Development Mode, so it cannot be connected to WordPress.com."],"Your site is connected to WordPress.com.":["Your site is connected to WordPress.com."],"You are the Jetpack owner.":["You are the Jetpack owner."],"Connected as {{span}}%(username)s{{/span}}":["Connected as {{span}}%(username)s{{/span}}"],"View your Email Followers":["View your Email Followers"],"Color scheme":["Colour scheme"],"Enable Markdown use for comments.":["Enable Markdown use for comments."],"Updated settings.":["Updated settings."],"Error updating settings. %(error)s":["Error updating settings. %(error)s"],"Regenerated Post by Email address.":["Regenerated Post by Email address."],"Error regenerating Post by Email address. %(error)s":["Error regenerating Post by Email address. %(error)s"],"Updated settings. Refreshing page…":["Updated settings. Refreshing page…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}The jetpack_development_mode filter is active{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configure Google Analytics"],"Activate Google Analytics":["Activate Google Analytics"],"Download the free apps":["Download the free apps"],"Upgrade Focus: VideoPress For Weddings":["Upgrade Focus: VideoPress For Weddings"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}You can now also configure related posts in the Customiser. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!"],"Display an ad unit at the top of your site.":["Display an ad unit at the top of your site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site."],"In \"Mobile\"":["In \"Mobile\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}"],"View your earnings":["View your earnings"],"Configure site SEO":["Configure site SEO"],"Activate SEO tools":["Activate SEO tools"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!"],"Video Hosting":["Video Hosting"],"SEO Tools":["SEO Tools"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Advanced SEO tools to help your site get found when people search for relevant content."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive."],"You are running Jetpack on a staging server.":["You are running Jetpack on a staging server."],"More Info":["More Info"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}"],"Your current IP: %(ip)s":["Your current IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["There are unsaved settings in this tab that will be lost if you leave it. Proceed?"],"This will reset all Jetpack options, are you sure?":["This will reset all Jetpack options, are you sure?"],"Search for a Jetpack feature.":["Search for a Jetpack feature."],"Configure your Security Scans":["Configure your Security Scans"],"Subscriber":["Subscriber"],"Big iPhone/iPad Update Now Available":["Big iPhone/iPad Update Now Available"],"The WordPress for Android App Gets a Big Facelift":["The WordPress for Android App Gets a Big Facelift"],"WordPress.com Likes are:":["WordPress.com Likes are:"],"A few catchy words to motivate your visitors to comment.":["A few catchy words to motivate your visitors to comment."],"Hide the stats smiley face image":["Hide the stats smiley face image"],"Whitelisted IP addresses":["Whitelisted IP addresses"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Show an ad for the WordPress mobile apps in the footer of the mobile theme"],"Copied!":["Copied!"],"Highlight and copy the following text to your clipboard:":["Highlight and copy the following text to your clipboard:"],"Regenerate address":["Regenerate address"],"Cheatin' uh?":["Cheatin' eh?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Your Jetpack is already connected."],"You're fueled up and ready to go, Jetpack is now active.":["You're fuelled up and ready to go, Jetpack is now active."],"You're fueled up and ready to go.":["You're fuelled up and ready to go."],"You are currently running a development version of Jetpack.":["You are currently running a development version of Jetpack."],"Submit Beta feedback":["Submit Beta feedback"],"What would you like to see on your Jetpack Dashboard?":["What would you like to see on your Jetpack Dashboard?"],"Let us know!":["Let us know!"],"Saving…":["Saving…"],"Save Settings":["Save Settings"],"Jetpack Stats Icon":["Jetpack Stats Icon"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}"],"Activate Site Stats":["Activate Site Stats"],"Site Backups":["Site Backups"],"Upgrade":["Upgrade"],"ACTIVE":["ACTIVE"],"View your spam stats":["View your spam stats"],"View your security dashboard":["View your security dashboard"],"Real-Time Backups":["Real-Time Backups"],"The site is in Development Mode, so you can not connect to WordPress.com.":["The site is in Development Mode, so you can not connect to WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Link your account to WordPress.com to get the most out of Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack is actively blocking malicious login attempts. Data will display here soon!"],"Total malicious attacks blocked on your site.":["Total malicious attacks blocked on your site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign-in attempts."],"All plugins are up-to-date. Awesome work!":["All plugins are up-to-date. Awesome work!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack is monitoring your site. If we think your site is down, you will receive an email."],"Security":["Security"],"Performance":["Performance"],"Backup":["Backup"],"{{a}}View backup details{{/a}}.":["{{a}}View backup details{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Unavailable in Dev Mode."],"Unavailable in Dev Mode":["Unavailable in Dev Mode"],"Activating %(slug)s…":["Activating %(slug)s…"],"%(slug)s has been activated.":["%(slug)s has been activated."],"%(slug)s failed to activate. %(error)s":["%(slug)s failed to activate. %(error)s"],"Deactivating %(slug)s…":["Deactivating %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s has been deactivated."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s failed to deactivate. %(error)s"],"Updating %(slug)s settings…":["Updating %(slug)s settings…"],"Updated %(slug)s settings.":["Updated %(slug)s settings."],"Error updating %(slug)s settings. %(error)s":["Error updating %(slug)s settings. %(error)s"],"Updating %(slug)s address…":["Updating %(slug)s address…"],"Regenerated %(slug)s address .":["Regenerated %(slug)s address ."],"Error regenerating %(slug)s address. %(error)s":["Error regenerating %(slug)s address. %(error)s"],"Resetting Jetpack options…":["Resetting Jetpack options…"],"Options reset.":["Options reset."],"Options failed to reset.":["Options failed to reset."],"There was an error disconnecting Jetpack. Error: %(error)s":["There was an error disconnecting Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Unlinking from WordPress.com"],"Unlinked from WordPress.com.":["Unlinked from WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error unlinking from WordPress.com. %(error)s"],"At A Glance":["At A Glance"],"Dashboard":["Dashboard"],"Automattic's Privacy Policy":["Automattic's Privacy Policy"],"WordPress.com Terms of Service":["WordPress.com Terms of Service"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Turn on plugin autoupdates.{{/a}}"],"Plugin Updates":["Plugin Updates"],"No threats found, you're good to go!":["No threats found, you're good to go!"],"{{a}}Contact Support{{/a}}":["{{a}}Contact Support{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}View details at VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s threat found.","Uh oh, %(number)s threats found."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down."],"Loading…":["Loading…"],"Downtime monitor":["Downtime monitor"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}View more stats on WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}View detailed stats{{/button}}"],"All-time comments":["All-time comments"],"All-time views":["All-time views"],"%(number)s View":["%(number)s View","%(number)s Views"],"Best overall day":["Best overall day"],"Views today":["Views today"],"Months":["Months"],"Weeks":["Weeks"],"Days":["Days"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}"],"Click to view detailed stats.":["Click to view detailed stats."],"Views: %(numberOfViews)s":["Views: %(numberOfViews)s"],"Week of %(date)s":["Week of %(date)s"],"Site Security":["Site Security"],"Link to WordPress.com":["Link to WordPress.com"],"Unlink me from WordPress.com":["Unlink me from WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["You need to stay logged in to your WordPress blog while you authorise Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s"],"Disconnecting Jetpack":["Disconnecting Jetpack"],"Learn more":["Learn more"],"Posts":["Posts"],"Front page":["Front page"],"Upload videos":["Upload videos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Show related content after posts"],"Related":["Related"],"Disconnect":["Disconnect"],"Save":["Save"],"Media":["Media"],"Mobile Theme":["Mobile Theme"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX is a powerful markup language for writing complex mathematical equations and formulae."],"Site Stats":["Site Stats"],"Sharing":["Sharing"],"Testimonials":["Testimonials"],"Cancel":["Cancel"],"Comments":["Comments"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Your website needs to be publicly accessible to use Jetpack: %(error_key)s"],"Edit":["Edit"],"Connected":["Connected"],"Activate":["Activate"],"Active":["Active"],"Settings":["Settings"],"Learn More":["Learn More"],"Disconnect Jetpack":["Disconnect Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack Backup"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["WP.me Shortlinks"],"Settings header\u0004Auto-update plugins":["Auto-update plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Downtime monitoring"],"Settings header\u0004Privacy Settings":["Privacy Settings"],"Settings header\u0004WordPress.com toolbar":["WordPress.com toolbar"],"Settings header\u0004Composing":["Composing"],"Settings header\u0004Site stats":["Site stats"],"Settings header\u0004Search engine optimization":["Search engine optimisation"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Sharing buttons"],"Settings header\u0004Publicize connections":["Publicise connections"],"Settings header\u0004Like buttons":["Like buttons"],"Settings header\u0004Brute force attack protection":["Brute force attack protection"],"Settings header\u0004Backups and security scanning":["Backups and security scanning"],"Notice in the empty statistics chart\u0004No activity this period":["No activity this period"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com login"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Send link"],"A caption for a button to cancel an action.\u0004Cancel":["Cancel"],"Link to learn more about Jetpack.\u0004About":["About"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Modules"],"Navigation item.\u0004Performance":["Performance"],"Navigation item.\u0004My Plan":["My Plan"],"Navigation item.\u0004Dev Tools":["Dev Tools"],"Navigation item.\u0004Settings":["Settings"],"Navigation item.\u0004Discussion":["Discussion"],"Navigation item.\u0004Traffic":["Traffic"],"Navigation item.\u0004Sharing":["Sharing"],"Navigation item.\u0004At A Glance":["At A Glance"],"Navigation item.\u0004Plans":["Plans"],"Navigation item.\u0004Writing":["Writing"],"Navigation item.\u0004Reset Options (dev only)":["Reset Options (dev only)"],"Navigation item.\u0004Security":["Security"],"Navigation item.\u0004At a Glance":["At a Glance"],"Search term.\u0004terms of service":["terms of service"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["tracks"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Upgrade"],"Button caption\u0004Saving…":["Saving…"],"Button caption\u0004Save settings":["Save settings"],"A heading for a block of related posts.\u0004Related":["Related"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Preview"],"Short warning message\u0004Updates needed":["Updates needed"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Paid"],"A header for a preview area in the configuration screen.\u0004Preview":["Preview"],"Ads header\u0004Ads":["Ads"],"Dashboard widget header\u0004Site connection":["Site connection"],"Dashboard widget header\u0004Account connection":["Account connection"],"A caption for a small button to fix security issues.\u0004Threats":["Threats"],"A caption for a small button to fix security issues.\u0004FIX":["FIX"],"Short warning message about new threats found.\u0004Threats found!":["Threats found!"],"Short message informing user that the site is secure.\u0004Secure":["Secure"],"Caption for a button to set up a feature.\u0004Set up":["Set up"],"verb\u0004Copy":["Copy"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacy"],"Shorthand for Terms of Service.\u0004Terms":["Terms"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Debug"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Spam comments blocked."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-en_CA-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-en_CA-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 0146643d..00000000
--- a/plugins/jetpack/languages/json/jetpack-en_CA-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"en_CA"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Manage Subscription"],"Your site is being backed up.":["Your site is being backed up."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["You need to enter your server credentials to finish configuring Jetpack Backup."],"Jetpack Backup is being configured for your site.":["Jetpack Backup is being configured for your site."],"Daily Backups":["Daily Backups"],"Just looking for backups? We've got you covered.":["Just looking for backups? We've got you covered."],"Solutions":["Solutions"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Included in your {{planLink}}Professional Plan{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Included in your {{planLink}}Premium Plan{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Included in your {{planLink}}Personal Plan{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives."],"Always-on backups ensure you never lose your site.":["Always-on backups ensure you never lose your site."],"My Products":["My Products"],"My Plan":["My Plan"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack Backup {{em}}Real-Time{{/em}}"],"Your data is being securely backed up as you edit.":["Your data is being securely backed up as you edit."],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack Backup {{em}}Daily{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Your data is being securely backed up every day with a 30-day archive."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack Free"],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack has many powerful tools that can help you achieve your goals"]," We’ve highlighted some of the features you rely on below.":[" We’ve highlighted some of the features you rely on below."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Grow your traffic with automated social {{a}}publishing and sharing{{/a}}"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}"],"Disable":["Disable"],"Are you sure you want to disconnect and deactivate?":["Are you sure you want to disconnect and deactivate?"],"Are you sure you want to disconnect?":["Are you sure you want to disconnect?"],"Disable Jetpack":["Disable Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["We back up your website with every change you make, making it easy to fix your mistakes."],"Automated Real-time Backups":["Automated Real-time Backups"],"We back up your website every day, so you never have to worry about your data again.":["We back up your website every day, so you never have to worry about your data again."],"Automated Daily Backups":["Automated Daily Backups"],"View Your Backups":["View Your Backups"],"A Jetpack Site securely backed up with Jetpack Backup":["A Jetpack Site securely backed up with Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices."],"Image Accelerator":["Image Accelerator"],"Start with free":["Start with free"],"Now that you're set up, pick a plan that fits your needs.":["Now that you're set up, pick a plan that fits your needs."],"Jetpack Backup":["Jetpack Backup"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Already have a key? {{a}}Activate Akismet{{/a}}"],"Verifying…":["Verifying…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages."],"Customize your SEO settings":["Customize your SEO settings"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Include a small chart in your Toolbar with a 48-hour traffic snapshot"],"Expand to update settings for how visits are counted and manage who can view this information.":["Expand to update settings for how visits are counted and manage who can view this information."],"You can customize the sharing buttons and choose which services to display.":["You can customize the sharing buttons and choose which services to display."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Your site is protected by Jetpack. You’ll be notified if anything needs attention."],"Find threats early so we can help fix them fast.":["Find threats early so we can help fix them fast."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Replace your site's basic search with customizable search that helps visitors find answers faster."],"Never worry about losing your site – automatic backups keep your content safe.":["Never worry about losing your site – automatic backups keep your content safe."],"Protect":["Protect"],"Scan":["Scan"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Automatically clear spam from your comments and forms so you can get back to your business."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Connect your site to Google Analytics in seconds with Jetpack Premium or Professional."],"Log in to the WordPress mobile app":["Log in to the WordPress mobile app"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Easily log in to the WordPress app by clicking the link we'll send to the email address on your account."],"Email me a link to log in to the app":["Email me a link to log in to the app"],"Send your new posts to this email address:":["Send your new posts to this email address:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader."],"Verify site ownership with third party services":["Verify site ownership with third party services"],"Generate shortened URLs for simpler sharing.":["Generate shortened URLs for simpler sharing."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["The feature helps visitors find more of your content by displaying related posts at the bottom of each post."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}."],"Add sharing buttons to your posts and pages":["Add sharing buttons to your posts and pages"],"Share your content to social media, reaching new audiences and increasing engagement.":["Share your content to social media, reaching new audiences and increasing engagement."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Get alerts if your site goes offline. We’ll let you know when it’s back up, too."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure."],"Choose which plugins to auto-update":["Choose which plugins to auto-update"],"Upgrade Jetpack now":["Upgrade Jetpack now"],"Monetize your site by running high quality ads.":["Monetize your site by running high quality ads."],"Customize your social posting schedule.":["Customize your social posting schedule."],"Expand your audience with pro SEO tools.":["Expand your audience with pro SEO tools."],"Take your site to the next level!":["Take your site to the next level!"],"Search support docs":["Search support docs"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Need help? Learn about getting started, customizing your site, using advanced code snippets, and more."],"Start sharing":["Start sharing"],"Optimized performance":["Optimized performance"],"Enable the “subscribe to comments” option on your comment form":["Enable the “subscribe to comments” option on your comment form"],"Enable the “subscribe to site” option on your comment form":["Enable the “subscribe to site” option on your comment form"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Manage advanced comment settings and grow your audience with email subscriptions."],"Comment form introduction":["Comment form introduction"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam."],"Failed to send login email":["Failed to send login email"],"Login email sent":["Login email sent"],"Sending login email…":["Sending login email…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}"],"Allow readers to like individual comments.":["Allow readers to like individual comments."],"Enable comment likes.":["Enable comment likes."],"Allow readers to use markdown in comments.":["Allow readers to use markdown in comments."],"Show Gravatar hovercards alongside comments.":["Show Gravatar hovercards alongside comments."],"Complete Jetpack Setup":["Complete Jetpack Setup"],"Your Jetpack setup progress":["Your Jetpack setup progress"],"View your setup checklist":["View your setup checklist"],"Yearly":["Yearly"],"Monthly":["Monthly"],"About Jetpack":["About Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Enable widget visibility controls to display widgets only on particular posts or pages"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Make extra widgets available for use on your site including subscription forms and Twitter streams"],"Enhance CSS customization panel":["Enhance CSS customization panel"],"Writing":["Writing"],"Compose using shortcodes to embed media from popular sites":["Compose using shortcodes to embed media from popular sites"],"Traffic":["Traffic"],"You need to enter your server credentials to finish configuring Backups and Scan.":["You need to enter your server credentials to finish configuring Backups and Scan."],"Awaiting credentials":["Awaiting credentials"],"Backups and Scan are being configured for your site.":["Backups and Scan are being configured for your site."],"Provisioning":["Provisioning"],"Action needed":["Action needed"],"Setting up":["Setting up"],"Discussion":["Discussion"],"We are configuring your site protection.":["We are configuring your site protection."],"View your site's backups":["View your site's backups"],"We are backing up your site in real-time.":["We are backing up your site in real-time."],"Enter credentials":["Enter credentials"],"You need to enter your server's credentials to finish the setup.":["You need to enter your server's credentials to finish the setup."],"We are configuring your site's backups.":["We are configuring your site's backups."],"View site activity":["View site activity"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair."],"Explore our Jetpack plans":["Explore our Jetpack plans"],"Support documentation":["Support documentation"],"Chat bubbles representing getting in touch with support":["Chat bubbles representing getting in touch with support"],"Site activity":["Site activity"],"Reach a wider audience by automatically sharing your posts on social media.":["Reach a wider audience by automatically sharing your posts on social media."],"Increase traffic to your site":["Increase traffic to your site"],"Explore free themes":["Explore free themes"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it."],"A wide variety of themes and tools to customize a site":["A wide variety of themes and tools to customize a site"],"Set up your site security":["Set up your site security"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Prevent login attacks, and get instant notifications when there’s an issue with your site."],"Site stats showing an evolution in traffic and engagement":["Site stats showing an evolution in traffic and engagement"],"A hand holding a loupe":["A hand holding a loupe"],"A chart showing an healthy increase in earnings":["A chart showing an healthy increase in earnings"],"Interface showing a chronological list of changes and updates in a site":["Interface showing a chronological list of changes and updates in a site"],"A cloud with multiple types of content floating around it":["A cloud with multiple types of content floating around it"],"A folder holding real comments":["A folder holding real comments"],"Make your site faster":["Make your site faster"],"Load pages faster by serving your images from our global network of servers.":["Load pages faster by serving your images from our global network of servers."],"A fast and performant website":["A fast and performant website"],"A secure site, locked and protected by Jetpack":["A secure site, locked and protected by Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts."],"Add Like buttons to your posts and pages":["Add Like buttons to your posts and pages"],"When visitors enjoy your content, let them show it with a Like.":["When visitors enjoy your content, let them show it with a Like."],"Create account":["Create account"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack is powering your site, but to access all of its features you’ll need to create an account."],"Compose content the way you want to and streamline your publishing experience.":["Compose content the way you want to and streamline your publishing experience."],"Add a portfolio item":["Add a portfolio item"],"Add a testimonial":["Add a testimonial"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximize your site’s visibility in search engines and view traffic stats in real time."],"Create a Jetpack account to use this feature":["Create a Jetpack account to use this feature"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack will continuously monitor your site, and alert you the moment downtime is detected."],"Error enabling Site accelerator. %(error)s":["Error enabling Site accelerator. %(error)s"],"Site accelerator is now speeding up your site!":["Site accelerator is now speeding up your site!"],"Enabling Site accelerator…":["Enabling Site accelerator…"],"Error disabling site accelerator. %(error)s":["Error disabling site accelerator. %(error)s"],"Site accelerator is no longer speeding up your site!":["Site accelerator is no longer speeding up your site!"],"Disabling site accelerator…":["Disabling site accelerator…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Load pages faster, optimize images, and speed up your visitors’ experience."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns."],"High-speed, high-definition video hosting with no third-party ads.":["High-speed, high-definition video hosting with no third-party ads."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Schedule unlimited tweets, Facebook posts, and other social posts in advance."],"Marketing Automation":["Marketing Automation"],"Activate Jetpack Search":["Activate Jetpack Search"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Replace the default WordPress search with better results and filtering powered by Elasticsearch."],"Start earning":["Start earning"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds lets you earn money by displaying promotional content. Start earning today."],"Spam is automatically blocked from your comments.":["Spam is automatically blocked from your comments."],"Browse premium themes":["Browse premium themes"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Access hundreds of beautifully designed premium themes at no extra cost."],"Try a premium theme":["Try a premium theme"],"View settings":["View settings"],"Create a Jetpack account to view your email followers":["Create a Jetpack account to view your email followers"],"Manage security settings":["Manage security settings"],"Jetpack is ready for the new WordPress editor":["Jetpack is ready for the new WordPress editor"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown."],"Build your Jetpack site with blocks":["Build your Jetpack site with blocks"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["A new editor? Yes! {{a}}Learn more{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["The features you rely on, adapted for the new WordPress editor."],"Take me to the new editor":["Take me to the new editor"],"Testing Jetpack Connection":["Testing Jetpack Connection"],"There was an error testing Jetpack. Error: %(error)s":["There was an error testing Jetpack. Error: %(error)s"],"New in Jetpack!":["New in Jetpack!"],"Speed up static file load times":["Speed up static file load times"],"Speed up image load times":["Speed up image load times"],"Enable site accelerator":["Enable site accelerator"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials."],"View your site activity":["View your site activity"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["View a chronological list of all the changes and updates to your site in an organized, readable way."],"Manually Verify ":["Manually Verify "],"Verify with Google":["Verify with Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site."],"or":["or"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Your site is verified with Google"],"Site failed to verify: %(error)s":["Site failed to verify: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Add faster, more advanced searching to your site with Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Replace WordPress built-in search with Jetpack Search, an advanced search experience"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results."],"Jetpack Search supports many customizations.":["Jetpack Search supports many customizations."],"Site is verified":["Site is verified"],"Spam filtering and priority support.":["Spam filtering and priority support."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site."],"Custom ads.txt entries":["Custom ads.txt entries"],"Privacy information":["Privacy information"],"Enable Lazy Loading for images":["Enable Lazy Loading for images"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once."],"Performance & speed":["Performance & speed"],"Enable high-speed, ad-free video player":["Enable high-speed, ad-free video player"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!"],"Video":["Video"],"Carousel color scheme":["Carousel colour scheme"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO."],"Show photo Exif metadata in carousel (when available)":["Show photo Exif metadata in carousel (when available)"],"Display images in a full-screen carousel gallery":["Display images in a full-screen carousel gallery"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos."],"Portfolios shortcode: [portfolio]":["Portfolios shortcode: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site."],"Testimonials shortcode: [testimonials]":["Testimonials shortcode: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes."],"Configure related posts in the Customizer":["Configure related posts in the Customizer"],"Highlight related content with a heading":["Highlight related content with a heading"],"View security scan details":["View security scan details"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Show a thumbnail image where available"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Centre{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["This feature is being managed by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator.":["This feature has been disabled by a site administrator."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s has been disabled by a site administrator."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}"],"Configure your notification settings":["Configure your notification settings"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack Search is a powerful replacement for the search capability built into WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data."],"Plugin needs updating.":["Plugin needs updating.","Plugins need updating."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack’s Plugin Updates allows you to choose which plugins update automatically."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack Backups allow you to easily restore or download a backup from a specific moment."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Loads the next posts automatically when the reader approaches the bottom of the page."],"Allows you to publish new posts by sending an email to a special address.":["Allows you to publish new posts by sending an email to a special address."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Provides the necessary hidden tags needed to verify your WordPress site with various services."],"Displays information on your site activity, including visitors and popular posts or pages.":["Displays information on your site activity, including visitors and popular posts or pages."],"Allows you to optimize your site and its content for better results in search engines.":["Allows you to optimize your site and its content for better results in search engines."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions."],"Displays high-quality ads on your site that allow you to earn income.":["Displays high-quality ads on your site that allow you to earn income."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Allows you to automatically share your newest content on social media sites, including Facebook and Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Adds like buttons to your content so that visitors can show their appreciation or enjoyment."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Allows registered users to log in to your site with their WordPress.com accounts."],"Protects your site from traditional and distributed brute force login attacks.":["Protects your site from traditional and distributed brute force login attacks."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error."],"Removes spam from comments and contact forms.":["Removes spam from comments and contact forms."],"We are committed to your privacy and security. ":["We are committed to your privacy and security. "],"View all Jetpack plans":["View all Jetpack plans"],"Manage your plan":["Manage your plan"],"Your Plan":["Your Plan"],"You’re currently on Jetpack %(plan)s.":["You’re currently on Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Allows readers to subscribe to your posts or comments, and receive notifications of new content by email."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Replaces the standard WordPress comment form with a new comment system that includes social media login options."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience."],"Add Search (Jetpack) Widget":["Add Search (Jetpack) Widget"],"Jetpack Search is powering search on your site.":["Jetpack Search is powering search on your site."],"Manage your plugins":["Manage your plugins"],"Moderate comments":["Moderate comments"],"Error updating privacy settings. %(error)s":["Error updating privacy settings. %(error)s"],"Updated privacy settings.":["Updated privacy settings."],"Updating privacy settings…":["Updating privacy settings…"],"Add Jetpack Search Widget":["Add Jetpack Search Widget"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Add the Jetpack Search widget to your sidebar to configure sorting and filters."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support."],"Daily backups, spam filtering, and priority support.":["Daily backups, spam filtering, and priority support."],"Always-on security":["Always-on security"],"Activate video hosting":["Activate video hosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"Design the perfect website":["Design the perfect website"],"Set up Jetpack":["Set up Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning."],"Jetpack Search":["Jetpack Search"],"Jetpack version %(version)s":["Jetpack version %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Your site is being backed up in real time and regularly scanned for security threats."],"Daily backup of all your site data with unlimited space and one-click restores":["Daily backup of all your site data with unlimited space and one-click restores"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"View your security activity":["View your security activity"]," (powered by VaultPress).":[" (powered by VaultPress)."],"Customize Search Widget":["Customize Search Widget"],"Please correct the issue below and try again.":["Please correct the issue below and try again.","Please correct the issues listed below and try again."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["We are making sure your site stays free of security threats. You will be notified if we find one."],"Jetpack version":["Jetpack version"],"Activity":["Activity"],"{{a}}View details{{/a}}":["{{a}}View details{{/a}}"],"Monetize your site with ads":["Monetize your site with ads"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com."],"Jetpack Stats People":["Jetpack Stats People"],"Hello there! Your stats have been activated.":["Hello there! Your stats have been activated."],"Just give us a little time to collect data so we can display it for you here.":["Just give us a little time to collect data so we can display it for you here."],"Okay, got it!":["Okay, got it!"],"Display ads below posts on":["Display ads below posts on"],"Additional ad placements":["Additional ad placements"],"Top of each page":["Top of each page"],"Second ad below post":["Second ad below post"],"Archives":["Archives"],"Stars":["Stars"],"Jupiter":["Jupiter"],"Schedule posts":["Schedule posts"],"Activate Publicize":["Activate Publicize"],"Your site is backed up.":["Your site is backed up."],"Get WordPress Apps for every device":["Get WordPress Apps for every device"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world."],"Create address":["Create address"],"Automatically share your posts to social networks":["Automatically share your posts to social networks"],"Updating settings…":["Updating settings…"],"Updating Post by Email address…":["Updating Post by Email address…"],"Your paid plan gives you access to prioritized Jetpack support.":["Your paid plan gives you access to prioritized Jetpack support."],"You have paid for backups but they're not yet active.":["You have paid for backups but they're not yet active."],"You have paid for backups and security scanning but they’re not yet active.":["You have paid for backups and security scanning but they’re not yet active."],"Click \"Set Up\" to finish installation.":["Click \"Set Up\" to finish installation."],"Checking site status…":["Checking site status…"],"Pages":["Pages"],"Access the full list of Jetpack modules available on your site.":["Access the full list of Jetpack modules available on your site."],"We're here to help":["We're here to help"],"Jetpack comes with free, basic support for all users.":["Jetpack comes with free, basic support for all users."],"Ask a question":["Ask a question"],"Search our support site":["Search our support site"],"Get a faster resolution to your support questions.":["Get a faster resolution to your support questions."],"Host fast, high-quality, ad-free video.":["Host fast, high-quality, ad-free video."],"Generate income with high-quality ads.":["Generate income with high-quality ads."],"Real-time site backups and automatic threat resolution.":["Real-time site backups and automatic threat resolution."],"Protect against data loss, malware, and malicious attacks.":["Protect against data loss, malware, and malicious attacks."],"Protect your site from spam.":["Protect your site from spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["This site is not connected to WordPress.com. Please ask the site administrator to connect."],"An Automattic Airline":["An Automattic Airline"],"Manage site connection":["Manage site connection"],"Connect your account to WordPress.com to view more stats":["Connect your account to WordPress.com to view more stats"],"Theme enhancements":["Theme enhancements"],"Load more posts using the default theme behavior":["Load more posts using the default theme behavior"],"Load more posts in page with a button":["Load more posts in page with a button"],"Load more posts as the reader scrolls down":["Load more posts as the reader scrolls down"],"Theme support required.":["Theme support required."],"Learn more about adding support for Infinite Scroll to your theme.":["Learn more about adding support for Infinite Scroll to your theme."],"Show excerpts instead of full posts on front page and archive pages":["Show excerpts instead of full posts on front page and archive pages"],"Show featured images":["Show featured images"],"Enable the WordPress.com toolbar":["Enable the WordPress.com toolbar"],"Writing tools available to you will be shown here when an administrator enables them.":["Writing tools available to you will be shown here when an administrator enables them."],"Portfolios":["Portfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Centre{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generate XML sitemaps"],"The image helps collect stats, but should work when hidden.":["The image helps collect stats, but should work when hidden."],"Count logged in page views from":["Count logged in page views from"],"Allow stats reports to be viewed by":["Allow stats reports to be viewed by"],"In \"Upgrade\"":["In \"Upgrade\""],"Configure your Google Analytics settings":["Configure your Google Analytics settings"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings."],"Enable ads and display an ad below each post":["Enable ads and display an ad below each post"],"Configure your sharing buttons":["Configure your sharing buttons"],"Connect your social media accounts":["Connect your social media accounts"],"Match accounts using email addresses":["Match accounts using email addresses"],"Require accounts to use WordPress.com Two-Step Authentication":["Require accounts to use WordPress.com Two-Step Authentication"],"Add to whitelist":["Add to whitelist"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Your site is backed up and threat-free."],"Checking your spam protection…":["Checking your spam protection…"],"Fetching key…":["Fetching key…"],"Your site needs an Antispam key.":["Your site needs an Antispam key."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["There's a problem with your Antispam API key. {{a}}Learn more{{/a}}."],"Your site is not protected from spam.":["Your site is not protected from spam."],"Your Antispam key is valid.":["Your Antispam key is valid."],"Your site is protected from spam.":["Your site is protected from spam."],"Checking key…":["Checking key…"],"Your API key":["Your API key"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one."],"No search results found for %(term)s":["No search results found for %(term)s"],"Enter a search term to find settings or close search.":["Enter a search term to find settings or close search."],"Connections":["Connections"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Your site is in Development Mode, so it can not be connected to WordPress.com."],"Your site is connected to WordPress.com.":["Your site is connected to WordPress.com."],"You are the Jetpack owner.":["You are the Jetpack owner."],"Connected as {{span}}%(username)s{{/span}}":["Connected as {{span}}%(username)s{{/span}}"],"View your Email Followers":["View your Email Followers"],"Color scheme":["Colour scheme"],"Enable Markdown use for comments.":["Enable Markdown use for comments."],"Updated settings.":["Updated settings."],"Error updating settings. %(error)s":["Error updating settings. %(error)s"],"Regenerated Post by Email address.":["Regenerated Post by Email address."],"Error regenerating Post by Email address. %(error)s":["Error regenerating Post by Email address. %(error)s"],"Updated settings. Refreshing page…":["Updated settings. Refreshing page…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}The jetpack_development_mode filter is active{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configure Google Analytics"],"Activate Google Analytics":["Activate Google Analytics"],"Download the free apps":["Download the free apps"],"Upgrade Focus: VideoPress For Weddings":["Upgrade Focus: VideoPress For Weddings"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!"],"Display an ad unit at the top of your site.":["Display an ad unit at the top of your site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site."],"In \"Mobile\"":["In \"Mobile\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}"],"View your earnings":["View your earnings"],"Configure site SEO":["Configure site SEO"],"Activate SEO tools":["Activate SEO tools"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!"],"Video Hosting":["Video Hosting"],"SEO Tools":["SEO Tools"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Advanced SEO tools to help your site get found when people search for relevant content."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive."],"You are running Jetpack on a staging server.":["You are running Jetpack on a staging server."],"More Info":["More Info"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}"],"Your current IP: %(ip)s":["Your current IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["There are unsaved settings in this tab that will be lost if you leave it. Proceed?"],"This will reset all Jetpack options, are you sure?":["This will reset all Jetpack options, are you sure?"],"Search for a Jetpack feature.":["Search for a Jetpack feature."],"Configure your Security Scans":["Configure your Security Scans"],"Subscriber":["Subscriber"],"Big iPhone/iPad Update Now Available":["Big iPhone/iPad Update Now Available"],"The WordPress for Android App Gets a Big Facelift":["The WordPress for Android App Gets a Big Facelift"],"WordPress.com Likes are:":["WordPress.com Likes are:"],"A few catchy words to motivate your visitors to comment.":["A few catchy words to motivate your visitors to comment."],"Hide the stats smiley face image":["Hide the stats smiley face image"],"Whitelisted IP addresses":["Whitelisted IP addresses"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Show an ad for the WordPress mobile apps in the footer of the mobile theme"],"Copied!":["Copied!"],"Highlight and copy the following text to your clipboard:":["Highlight and copy the following text to your clipboard:"],"Regenerate address":["Regenerate address"],"Cheatin' uh?":["Cheatin' eh?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Your Jetpack is already connected."],"You're fueled up and ready to go, Jetpack is now active.":["You're fuelled up and ready to go, Jetpack is now active."],"You're fueled up and ready to go.":["You're fuelled up and ready to go."],"You are currently running a development version of Jetpack.":["You are currently running a development version of Jetpack."],"Submit Beta feedback":["Submit Beta feedback"],"What would you like to see on your Jetpack Dashboard?":["What would you like to see on your Jetpack Dashboard?"],"Let us know!":["Let us know!"],"Saving…":["Saving…"],"Save Settings":["Save Settings"],"Jetpack Stats Icon":["Jetpack Stats Icon"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}"],"Activate Site Stats":["Activate Site Stats"],"Site Backups":["Site Backups"],"Upgrade":["Upgrade"],"ACTIVE":["ACTIVE"],"View your spam stats":["View your spam stats"],"View your security dashboard":["View your security dashboard"],"Real-Time Backups":["Real-Time Backups"],"The site is in Development Mode, so you can not connect to WordPress.com.":["The site is in Development Mode, so you can not connect to WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Link your account to WordPress.com to get the most out of Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack is actively blocking malicious login attempts. Data will display here soon!"],"Total malicious attacks blocked on your site.":["Total malicious attacks blocked on your site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts."],"All plugins are up-to-date. Awesome work!":["All plugins are up-to-date. Awesome work!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack is monitoring your site. If we think your site is down, you will receive an email."],"Security":["Security"],"Performance":["Performance"],"Backup":["Backup"],"{{a}}View backup details{{/a}}.":["{{a}}View backup details{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Unavailable in Dev Mode."],"Unavailable in Dev Mode":["Unavailable in Dev Mode"],"Activating %(slug)s…":["Activating %(slug)s…"],"%(slug)s has been activated.":["%(slug)s has been activated."],"%(slug)s failed to activate. %(error)s":["%(slug)s failed to activate. %(error)s"],"Deactivating %(slug)s…":["Deactivating %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s has been deactivated."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s failed to deactivate. %(error)s"],"Updating %(slug)s settings…":["Updating %(slug)s settings…"],"Updated %(slug)s settings.":["Updated %(slug)s settings."],"Error updating %(slug)s settings. %(error)s":["Error updating %(slug)s settings. %(error)s"],"Updating %(slug)s address…":["Updating %(slug)s address…"],"Regenerated %(slug)s address .":["Regenerated %(slug)s address ."],"Error regenerating %(slug)s address. %(error)s":["Error regenerating %(slug)s address. %(error)s"],"Resetting Jetpack options…":["Resetting Jetpack options…"],"Options reset.":["Options reset."],"Options failed to reset.":["Options failed to reset."],"There was an error disconnecting Jetpack. Error: %(error)s":["There was an error disconnecting Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Unlinking from WordPress.com"],"Unlinked from WordPress.com.":["Unlinked from WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error unlinking from WordPress.com. %(error)s"],"At A Glance":["At A Glance"],"Dashboard":["Dashboard"],"Automattic's Privacy Policy":["Automattic's Privacy Policy"],"WordPress.com Terms of Service":["WordPress.com Terms of Service"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Turn on plugin autoupdates.{{/a}}"],"Plugin Updates":["Plugin Updates"],"No threats found, you're good to go!":["No threats found, you're good to go!"],"{{a}}Contact Support{{/a}}":["{{a}}Contact Support{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}View details at VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s threat found.","Uh oh, %(number)s threats found."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down."],"Loading…":["Loading…"],"Downtime monitor":["Downtime monitor"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}View more stats on WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}View detailed stats{{/button}}"],"All-time comments":["All-time comments"],"All-time views":["All-time views"],"%(number)s View":["%(number)s View","%(number)s Views"],"Best overall day":["Best overall day"],"Views today":["Views today"],"Months":["Months"],"Weeks":["Weeks"],"Days":["Days"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}"],"Click to view detailed stats.":["Click to view detailed stats."],"Views: %(numberOfViews)s":["Views: %(numberOfViews)s"],"Week of %(date)s":["Week of %(date)s"],"Site Security":["Site Security"],"Link to WordPress.com":["Link to WordPress.com"],"Unlink me from WordPress.com":["Unlink me from WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["You need to stay logged in to your WordPress blog while you authorize Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s"],"Disconnecting Jetpack":["Disconnecting Jetpack"],"Learn more":["Learn more"],"Posts":["Posts"],"Front page":["Front page"],"Upload videos":["Upload videos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Show related content after posts"],"Related":["Related"],"Disconnect":["Disconnect"],"Save":["Save"],"Media":["Media"],"Mobile Theme":["Mobile Theme"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX is a powerful markup language for writing complex mathematical equations and formulas."],"Site Stats":["Site Stats"],"Sharing":["Sharing"],"Testimonials":["Testimonials"],"Cancel":["Cancel"],"Comments":["Comments"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Your website needs to be publicly accessible to use Jetpack: %(error_key)s"],"Edit":["Edit"],"Connected":["Connected"],"Activate":["Activate"],"Active":["Active"],"Settings":["Settings"],"Learn More":["Learn More"],"Disconnect Jetpack":["Disconnect Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":["Jetpack Backup"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["WP.me Shortlinks"],"Settings header\u0004Auto-update plugins":["Auto-update plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Downtime monitoring"],"Settings header\u0004Privacy Settings":["Privacy Settings"],"Settings header\u0004WordPress.com toolbar":["WordPress.com toolbar"],"Settings header\u0004Composing":["Composing"],"Settings header\u0004Site stats":["Site stats"],"Settings header\u0004Search engine optimization":["Search engine optimization"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Sharing buttons"],"Settings header\u0004Publicize connections":["Publicize connections"],"Settings header\u0004Like buttons":["Like buttons"],"Settings header\u0004Brute force attack protection":["Brute force attack protection"],"Settings header\u0004Backups and security scanning":["Backups and security scanning"],"Notice in the empty statistics chart\u0004No activity this period":["No activity this period"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com login"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Send link"],"A caption for a button to cancel an action.\u0004Cancel":["Cancel"],"Link to learn more about Jetpack.\u0004About":["About"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Modules"],"Navigation item.\u0004Performance":["Performance"],"Navigation item.\u0004My Plan":["My Plan"],"Navigation item.\u0004Dev Tools":["Dev Tools"],"Navigation item.\u0004Settings":["Settings"],"Navigation item.\u0004Discussion":["Discussion"],"Navigation item.\u0004Traffic":["Traffic"],"Navigation item.\u0004Sharing":["Sharing"],"Navigation item.\u0004At A Glance":["At A Glance"],"Navigation item.\u0004Plans":["Plans"],"Navigation item.\u0004Writing":["Writing"],"Navigation item.\u0004Reset Options (dev only)":["Reset Options (dev only)"],"Navigation item.\u0004Security":["Security"],"Navigation item.\u0004At a Glance":["At a Glance"],"Search term.\u0004terms of service":["terms of service"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["tracks"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Upgrade"],"Button caption\u0004Saving…":["Saving…"],"Button caption\u0004Save settings":["Save settings"],"A heading for a block of related posts.\u0004Related":["Related"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Preview"],"Short warning message\u0004Updates needed":["Updates needed"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Paid"],"A header for a preview area in the configuration screen.\u0004Preview":["Preview"],"Ads header\u0004Ads":["Ads"],"Dashboard widget header\u0004Site connection":["Site connection"],"Dashboard widget header\u0004Account connection":["Account connection"],"A caption for a small button to fix security issues.\u0004Threats":["Threats"],"A caption for a small button to fix security issues.\u0004FIX":["FIX"],"Short warning message about new threats found.\u0004Threats found!":["Threats found!"],"Short message informing user that the site is secure.\u0004Secure":["Secure"],"Caption for a button to set up a feature.\u0004Set up":["Set up"],"verb\u0004Copy":["Copy"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacy"],"Shorthand for Terms of Service.\u0004Terms":["Terms"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Debug"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Spam comments blocked."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-en_GB-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-en_GB-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 3515e20b..00000000
--- a/plugins/jetpack/languages/json/jetpack-en_GB-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"en_GB"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s."],"real-time backups":["real-time backups"],"daily backups":["daily backups"],"Renews on %s.":["Renews on %s."],"Purchased on %s.":["Purchased on %s."],"Select a backup option:":["Select a backup option:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["You are saving {{savings /}} by paying yearly"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Hurry, these are {{s}}Limited time introductory prices!{{/s}}"],"Up to %(percent)d%% off!":["Up to %(percent)d%% off!"],"per month":["per month"],"per year":["per year"],"Which backup option is best for me?":["Which backup option is best for me?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Manage Subscription"],"Your site is being backed up.":["Your site is being backed up."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["You need to enter your server credentials to finish configuring Jetpack Backup."],"Jetpack Backup is being configured for your site.":["Jetpack Backup is being configured for your site."],"Daily Backups":["Daily Backups"],"Just looking for backups? We've got you covered.":["Just looking for backups? We've got you covered."],"Solutions":["Solutions"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Included in your {{planLink}}Professional Plan{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Included in your {{planLink}}Premium Plan{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Included in your {{planLink}}Personal Plan{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives."],"Always-on backups ensure you never lose your site.":["Always-on backups ensure you never lose your site."],"My Products":["My Products"],"My Plan":["My Plan"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack Backup {{em}}Real-Time{{/em}}"],"Your data is being securely backed up as you edit.":["Your data is being securely backed up as you edit."],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack Backup {{em}}Daily{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Your data is being securely backed up every day with a 30-day archive."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack Free"],"Expired on %s.":["Expired on %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack has many powerful tools that can help you achieve your goals"]," We’ve highlighted some of the features you rely on below.":["We’ve highlighted some of the features you rely on below."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Grow your traffic with automated social {{a}}publishing and sharing{{/a}}"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}"],"Disable":["Disable"],"Are you sure you want to disconnect and deactivate?":["Are you sure you want to disconnect and deactivate?"],"Are you sure you want to disconnect?":["Are you sure you want to disconnect?"],"Disable Jetpack":["Disable Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["We back up your website with every change you make, making it easy to fix your mistakes."],"Automated Real-time Backups":["Automated Real-time Backups"],"We back up your website every day, so you never have to worry about your data again.":["We back up your website every day, so you never have to worry about your data again."],"Automated Daily Backups":["Automated Daily Backups"],"View Your Backups":["View Your Backups"],"A Jetpack Site securely backed up with Jetpack Backup":["A Jetpack Site securely backed up with Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the classic editor as well as within a classic editor block."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activate{{/a}} to optimise image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack is optimising your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices."],"Image Accelerator":["Image Accelerator"],"Start with free":["Start with free"],"Now that you're set up, pick a plan that fits your needs.":["Now that you're set up, pick a plan that fits your needs."],"Jetpack Backup":["Jetpack Backup"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Already have a key? {{a}}Activate Akismet{{/a}}"],"Verifying…":["Verifying…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Give your site a fast loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages."],"Customize your SEO settings":["Customise your SEO settings"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Include a small chart in your Admin Bar with a 48-hour traffic snapshot"],"Expand to update settings for how visits are counted and manage who can view this information.":["Expand to update settings for how visits are counted and manage who can view this information."],"You can customize the sharing buttons and choose which services to display.":["You can customise the sharing buttons and choose which services to display."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Your site is protected by Jetpack. You’ll be notified if anything needs attention."],"Find threats early so we can help fix them fast.":["Find threats early so we can help fix them fast."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Replace your site's basic search with customisable search that helps visitors find answers faster."],"Never worry about losing your site – automatic backups keep your content safe.":["Never worry about losing your site – automatic backups keep your content safe."],"Protect":["Protect"],"Scan":["Scan"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Automatically clear spam from your comments and forms so you can get back to your business."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Connect your site to Google Analytics in seconds with Jetpack Premium or Professional."],"Log in to the WordPress mobile app":["Log in to the WordPress mobile app"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Easily log in to the WordPress app by clicking the link we'll send to the email address on your account."],"Email me a link to log in to the app":["Email me a link to log in to the app"],"Send your new posts to this email address:":["Send your new posts to this email address:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader."],"Verify site ownership with third party services":["Verify site ownership with third party services"],"Generate shortened URLs for simpler sharing.":["Generate shortened URLs for simpler sharing."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["The feature helps visitors find more of your content by displaying related posts at the bottom of each post."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}."],"Add sharing buttons to your posts and pages":["Add sharing buttons to your posts and pages"],"Share your content to social media, reaching new audiences and increasing engagement.":["Share your content to social media, reaching new audiences and increasing engagement."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Get alerts if your site goes offline. We’ll let you know when it’s back up, too."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure."],"Choose which plugins to auto-update":["Choose which plugins to auto-update"],"Upgrade Jetpack now":["Upgrade Jetpack now"],"Monetize your site by running high quality ads.":["Monetise your site by running high quality ads."],"Customize your social posting schedule.":["Customise your social posting schedule."],"Expand your audience with pro SEO tools.":["Expand your audience with pro SEO tools."],"Take your site to the next level!":["Take your site to the next level!"],"Search support docs":["Search support docs"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Need help? Learn about getting started, customising your site, using advanced code snippets, and more."],"Start sharing":["Start sharing"],"Optimized performance":["Optimised performance"],"Enable the “subscribe to comments” option on your comment form":["Enable the “subscribe to comments” option on your comment form"],"Enable the “subscribe to site” option on your comment form":["Enable the “subscribe to site” option on your comment form"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Manage advanced comment settings and grow your audience with email subscriptions."],"Comment form introduction":["Comment form introduction"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam."],"Failed to send login email":["Failed to send login email"],"Login email sent":["Login email sent"],"Sending login email…":["Sending login email…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}"],"Allow readers to like individual comments.":["Allow readers to like individual comments."],"Enable comment likes.":["Enable comment likes."],"Allow readers to use markdown in comments.":["Allow readers to use markdown in comments."],"Show Gravatar hovercards alongside comments.":["Show Gravatar hovercards alongside comments."],"Complete Jetpack Setup":["Complete Jetpack Setup"],"Your Jetpack setup progress":["Your Jetpack setup progress"],"View your setup checklist":["View your setup checklist"],"Yearly":["Yearly"],"Monthly":["Monthly"],"About Jetpack":["About Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Enable widget visibility controls to display widgets only on particular posts or pages"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Make extra widgets available for use on your site, including subscription forms and Twitter streams"],"Enhance CSS customization panel":["Enhance CSS customisation panel"],"Writing":["Writing"],"Compose using shortcodes to embed media from popular sites":["Compose using shortcodes to embed media from popular sites"],"Traffic":["Traffic"],"You need to enter your server credentials to finish configuring Backups and Scan.":["You need to enter your server credentials to finish configuring Backups and Scan."],"Awaiting credentials":["Awaiting credentials"],"Backups and Scan are being configured for your site.":["Backups and Scan are being configured for your site."],"Provisioning":["Provisioning"],"Action needed":["Action needed"],"Setting up":["Setting up"],"Discussion":["Discussion"],"We are configuring your site protection.":["We are configuring your site protection."],"View your site's backups":["View your site's backups"],"We are backing up your site in real-time.":["We are backing up your site in real-time."],"Enter credentials":["Enter credentials"],"You need to enter your server's credentials to finish the setup.":["You need to enter your server's credentials to finish the setup."],"We are configuring your site's backups.":["We are configuring your site's backups."],"View site activity":["View site activity"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair."],"Explore our Jetpack plans":["Explore our Jetpack plans"],"Support documentation":["Support documentation"],"Chat bubbles representing getting in touch with support":["Chat bubbles representing getting in touch with support"],"Site activity":["Site activity"],"Reach a wider audience by automatically sharing your posts on social media.":["Reach a wider audience by automatically sharing your posts on social media."],"Increase traffic to your site":["Increase traffic to your site"],"Explore free themes":["Explore free themes"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Get unlimited access to hundreds of professional themes, and customise your site exactly how you like it."],"A wide variety of themes and tools to customize a site":["A wide variety of themes and tools to customise a site"],"Set up your site security":["Set up your site security"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Prevent log in attacks, and get instant notifications when there’s an issue with your site."],"Site stats showing an evolution in traffic and engagement":["Site stats showing an evolution in traffic and engagement"],"A hand holding a loupe":["A hand holding a loupe"],"A chart showing an healthy increase in earnings":["A chart showing an healthy increase in earnings"],"Interface showing a chronological list of changes and updates in a site":["Interface showing a chronological list of changes and updates in a site"],"A cloud with multiple types of content floating around it":["A cloud with multiple types of content floating around it"],"A folder holding real comments":["A folder holding real comments"],"Make your site faster":["Make your site faster"],"Load pages faster by serving your images from our global network of servers.":["Load pages faster by serving your images from our global network of servers."],"A fast and performant website":["A fast and performant website"],"A secure site, locked and protected by Jetpack":["A secure site, locked and protected by Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts."],"Add Like buttons to your posts and pages":["Add Like buttons to your posts and pages"],"When visitors enjoy your content, let them show it with a Like.":["When visitors enjoy your content, let them show it with a Like."],"Create account":["Create account"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack is powering your site, but to access all of its features you’ll need to create an account."],"Compose content the way you want to and streamline your publishing experience.":["Compose content the way you want and streamline your publishing experience."],"Add a portfolio item":["Add a portfolio item"],"Add a testimonial":["Add a testimonial"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximise your site’s visibility in search engines and view traffic stats in real time."],"Create a Jetpack account to use this feature":["Create a Jetpack account to use this feature"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack will continuously monitor your site, and alert you the moment downtime is detected."],"Error enabling Site accelerator. %(error)s":["Error enabling Site Accelerator. %(error)s"],"Site accelerator is now speeding up your site!":["Site Accelerator is now speeding up your site!"],"Enabling Site accelerator…":["Enabling Site Accelerator…"],"Error disabling site accelerator. %(error)s":["Error disabling Site Accelerator. %(error)s"],"Site accelerator is no longer speeding up your site!":["Site Accelerator is no longer speeding up your site!"],"Disabling site accelerator…":["Disabling Site Accelerator…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Load pages faster, optimise images, and speed up your visitors’ experience."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns."],"High-speed, high-definition video hosting with no third-party ads.":["High-speed, high-definition video hosting with no third-party ads."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Schedule unlimited tweets, Facebook posts, and other social posts in advance."],"Marketing Automation":["Marketing Automation"],"Activate Jetpack Search":["Activate Jetpack Search"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Replace the default WordPress search with better results and filtering powered by Elasticsearch."],"Start earning":["Start earning"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds lets you earn money by displaying promotional content. Start earning today."],"Spam is automatically blocked from your comments.":["Spam is automatically blocked from your comments."],"Browse premium themes":["Browse premium themes"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Access hundreds of beautifully designed premium themes at no extra cost."],"Try a premium theme":["Try a premium theme"],"View settings":["View settings"],"Create a Jetpack account to view your email followers":["Create a Jetpack account to view your e-mail followers"],"Manage security settings":["Manage security settings"],"Jetpack is ready for the new WordPress editor":["Jetpack is ready for the new WordPress editor"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown."],"Build your Jetpack site with blocks":["Build your Jetpack site with blocks"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["A new editor? Yes! {{a}}Learn more{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["The features you rely on, adapted for the new WordPress editor."],"Take me to the new editor":["Take me to the new editor"],"Testing Jetpack Connection":["Testing Jetpack Connection"],"There was an error testing Jetpack. Error: %(error)s":["There was an error testing Jetpack. Error: %(error)s"],"New in Jetpack!":["New in Jetpack!"],"Speed up static file load times":["Speed up static file load times"],"Speed up image load times":["Speed up image load times"],"Enable site accelerator":["Enable site accelerator"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Load pages faster by allowing Jetpack to optimise your images and serve your images and static files (like CSS and JavaScript) from our global network of servers."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials."],"View your site activity":["View your site activity"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["View a chronological list of all the changes and updates to your site in an organised, readable way."],"Manually Verify ":["Manually Verify "],"Verify with Google":["Verify with Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site."],"or":["or"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Your site is verified with Google"],"Site failed to verify: %(error)s":["Site failed to verify: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Add faster, more advanced searching to your site with Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Replace WordPress built-in search with Jetpack Search, an advanced search experience"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Search replaces the built-in search with a fast, scalable, customisable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results."],"Jetpack Search supports many customizations.":["Jetpack Search supports many customisations."],"Site is verified":["Site is verified"],"Spam filtering and priority support.":["Spam filtering and priority support."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site."],"Custom ads.txt entries":["Custom ads.txt entries"],"Privacy information":["Privacy information"],"Enable Lazy Loading for images":["Enable Lazy Loading for images"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once."],"Performance & speed":["Performance & speed"],"Enable high-speed, ad-free video player":["Enable high-speed, ad-free video player"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customise your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!"],"Video":["Video"],"Carousel color scheme":["Carousel colour scheme"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO."],"Show photo Exif metadata in carousel (when available)":["Show photo Exif metadata in carousel (when available)"],"Display images in a full-screen carousel gallery":["Display images in a full-screen carousel gallery"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos."],"Portfolios shortcode: [portfolio]":["Portfolios shortcode: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site."],"Testimonials shortcode: [testimonials]":["Testimonials shortcode: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes."],"Configure related posts in the Customizer":["Configure related posts in the Customiser"],"Highlight related content with a heading":["Highlight related content with a heading"],"View security scan details":["View security scan details"],"Test your site’s compatibility with Jetpack.":["Test your site’s compatibility with Jetpack."],"Show a thumbnail image where available":["Show a thumbnail image where available"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["This information helps us improve our products, make marketing to you more relevant, personalise your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["This feature is being managed by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator.":["This feature has been disabled by a site administrator."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s has been disabled by a site administrator."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}"],"Configure your notification settings":["Configure your notification settings"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack Search is a powerful replacement for the search capability built into WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Your site’s files are regularly scanned for unauthorised or suspicious modifications that could compromise your security and data."],"Plugin needs updating.":["Plugin needs updating.","Plugins need updating."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack’s Plugin Updates allows you to choose which plugins update automatically."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack will optimise your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack Backups allow you to easily restore or download a backup from a specific moment."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Loads the next posts automatically when the reader approaches the bottom of the page."],"Allows you to publish new posts by sending an email to a special address.":["Allows you to publish new posts by sending an email to a special address."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Adds a Toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Provides the necessary hidden tags needed to verify your WordPress site with various services."],"Displays information on your site activity, including visitors and popular posts or pages.":["Displays information on your site activity, including visitors and popular posts or pages."],"Allows you to optimize your site and its content for better results in search engines.":["Allows you to optimise your site and its content for better results in search engines."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions."],"Displays high-quality ads on your site that allow you to earn income.":["Displays high-quality ads on your site that allow you to earn income."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Allows you to automatically share your newest content on social media sites, including Facebook and Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Adds like buttons to your content so that visitors can show their appreciation or enjoyment."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Allows registered users to log in to your site with their WordPress.com accounts."],"Protects your site from traditional and distributed brute force login attacks.":["Protects your site from traditional and distributed brute force login attacks."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error."],"Removes spam from comments and contact forms.":["Removes spam from comments and contact forms."],"We are committed to your privacy and security. ":["We are committed to your privacy and security. "],"View all Jetpack plans":["View all Jetpack plans"],"Manage your plan":["Manage your plan"],"Your Plan":["Your Plan"],"You’re currently on Jetpack %(plan)s.":["You’re currently on Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Allows readers to subscribe to your posts or comments, and receive notifications of new content by email."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Replaces the standard WordPress comment form with a new comment system that includes social media login options."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience."],"Add Search (Jetpack) Widget":["Add Search (Jetpack) Widget"],"Jetpack Search is powering search on your site.":["Jetpack Search is powering search on your site."],"Manage your plugins":["Manage your plugins"],"Moderate comments":["Moderate comments"],"Error updating privacy settings. %(error)s":["Error updating privacy settings. %(error)s"],"Updated privacy settings.":["Updated privacy settings."],"Updating privacy settings…":["Updating privacy settings…"],"Add Jetpack Search Widget":["Add Jetpack Search Widget"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Add the Jetpack Search widget to your sidebar to configure sorting and filters."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support."],"Daily backups, spam filtering, and priority support.":["Daily backups, spam filtering, and priority support."],"Always-on security":["Always-on security"],"Activate video hosting":["Activate video hosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"Design the perfect website":["Design the perfect website"],"Set up Jetpack":["Set up Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning."],"Jetpack Search":["Jetpack Search"],"Jetpack version %(version)s":["Jetpack version %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Your site is being backed up in real time and regularly scanned for security threats."],"Daily backup of all your site data with unlimited space and one-click restores":["Daily backup of all your site data with unlimited space and one-click restores"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"View your security activity":["View your security activity"]," (powered by VaultPress).":[" (powered by VaultPress)."],"Customize Search Widget":["Customise Search Widget"],"Please correct the issue below and try again.":["Please correct the issue below and try again.","Please correct the issues listed below and try again."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["We are making sure your site stays free of security threats. You will be notified if we find one."],"Jetpack version":["Jetpack version"],"Activity":["Activity"],"{{a}}View details{{/a}}":["{{a}}View details{{/a}}"],"Monetize your site with ads":["Monetise your site with ads"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com."],"Jetpack Stats People":["Jetpack Stats People"],"Hello there! Your stats have been activated.":["Hello there! Your stats have been activated."],"Just give us a little time to collect data so we can display it for you here.":["Just give us a little time to collect data so we can display it for you here."],"Okay, got it!":["Okay, got it!"],"Display ads below posts on":["Display ads below posts on"],"Additional ad placements":["Additional ad placements"],"Top of each page":["Top of each page"],"Second ad below post":["Second ad below post"],"Archives":["Archives"],"Stars":["Stars"],"Jupiter":["Jupiter"],"Schedule posts":["Schedule posts"],"Activate Publicize":["Activate Publicise"],"Your site is backed up.":["Your site is backed up."],"Get WordPress Apps for every device":["Get WordPress Apps for every device"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world."],"Create address":["Create address"],"Automatically share your posts to social networks":["Automatically share your posts to social networks"],"Updating settings…":["Updating settings…"],"Updating Post by Email address…":["Updating Post by Email address…"],"Your paid plan gives you access to prioritized Jetpack support.":["Your paid plan gives you access to prioritised Jetpack support."],"You have paid for backups but they're not yet active.":["You have paid for backups but they're not yet active."],"You have paid for backups and security scanning but they’re not yet active.":["You have paid for backups and security scanning but they’re not yet active."],"Click \"Set Up\" to finish installation.":["Click \"Set Up\" to finish installation."],"Checking site status…":["Checking site status…"],"Pages":["Pages"],"Access the full list of Jetpack modules available on your site.":["Access the full list of Jetpack modules available on your site."],"We're here to help":["We're here to help"],"Jetpack comes with free, basic support for all users.":["Jetpack comes with free, basic support for all users."],"Ask a question":["Ask a question"],"Search our support site":["Search our support site"],"Get a faster resolution to your support questions.":["Get a faster resolution to your support questions."],"Host fast, high-quality, ad-free video.":["Host fast, high-quality, ad-free video."],"Generate income with high-quality ads.":["Generate income with high-quality ads."],"Real-time site backups and automatic threat resolution.":["Real-time site backups and automatic threat resolution."],"Protect against data loss, malware, and malicious attacks.":["Protect against data loss, malware, and malicious attacks."],"Protect your site from spam.":["Protect your site from spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["This site is not connected to WordPress.com. Please ask the site administrator to connect."],"An Automattic Airline":["An Automattic Airline"],"Manage site connection":["Manage site connection"],"Connect your account to WordPress.com to view more stats":["Connect your account to WordPress.com to view more stats"],"Theme enhancements":["Theme enhancements"],"Load more posts using the default theme behavior":["Load more posts using the default theme behaviour"],"Load more posts in page with a button":["Load more posts in-page with a button"],"Load more posts as the reader scrolls down":["Load more posts as the reader scrolls down"],"Theme support required.":["Theme support required."],"Learn more about adding support for Infinite Scroll to your theme.":["Learn more about adding support for Infinite Scroll to your theme."],"Show excerpts instead of full posts on front page and archive pages":["Show excerpts instead of full posts on front page and archive pages"],"Show featured images":["Show featured images"],"Enable the WordPress.com toolbar":["Enable the WordPress.com toolbar"],"Writing tools available to you will be shown here when an administrator enables them.":["Writing tools available to you will be shown here when an administrator enables them."],"Portfolios":["Portfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generate XML sitemaps"],"The image helps collect stats, but should work when hidden.":["The image helps collect stats, but should work when hidden."],"Count logged in page views from":["Count logged in page views from"],"Allow stats reports to be viewed by":["Allow stats reports to be viewed by"],"In \"Upgrade\"":["In \"Upgrade\""],"Configure your Google Analytics settings":["Configure your Google Analytics settings"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings."],"Enable ads and display an ad below each post":["Enable ads and display an ad below each post"],"Configure your sharing buttons":["Configure your sharing buttons"],"Connect your social media accounts":["Connect your social media accounts"],"Match accounts using email addresses":["Match accounts using email addresses"],"Require accounts to use WordPress.com Two-Step Authentication":["Require accounts to use WordPress.com's Two-Step Authentication"],"Add to whitelist":["Add to whitelist"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["You may whitelist an IP address or series of addresses, preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Your site is backed up and threat-free."],"Checking your spam protection…":["Checking your spam protection…"],"Fetching key…":["Fetching key…"],"Your site needs an Antispam key.":["Your site needs an Antispam key."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["There's a problem with your Antispam API key. {{a}}Learn more{{/a}}."],"Your site is not protected from spam.":["Your site is not protected from spam."],"Your Antispam key is valid.":["Your Antispam key is valid."],"Your site is protected from spam.":["Your site is protected from spam."],"Checking key…":["Checking key…"],"Your API key":["Your API key"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one."],"No search results found for %(term)s":["No search results found for %(term)s"],"Enter a search term to find settings or close search.":["Enter a search term to find settings or close search."],"Connections":["Connections"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Your site is in Development Mode, so it cannot be connected to WordPress.com."],"Your site is connected to WordPress.com.":["Your site is connected to WordPress.com."],"You are the Jetpack owner.":["You are the Jetpack owner."],"Connected as {{span}}%(username)s{{/span}}":["Connected as {{span}}%(username)s{{/span}}"],"View your Email Followers":["View your Email Followers"],"Color scheme":["Colour scheme"],"Enable Markdown use for comments.":["Enable Markdown use for comments."],"Updated settings.":["Updated settings."],"Error updating settings. %(error)s":["Error updating settings. %(error)s"],"Regenerated Post by Email address.":["Regenerated Post by Email address."],"Error regenerating Post by Email address. %(error)s":["Error regenerating Post by Email address. %(error)s"],"Updated settings. Refreshing page…":["Updated settings. Refreshing page…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}The jetpack_development_mode filter is active{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configure Google Analytics"],"Activate Google Analytics":["Activate Google Analytics"],"Download the free apps":["Download the free apps"],"Upgrade Focus: VideoPress For Weddings":["Upgrade Focus: VideoPress For Weddings"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!"],"Display an ad unit at the top of your site.":["Display an ad unit at the top of your site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site."],"In \"Mobile\"":["In \"Mobile\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}"],"View your earnings":["View your earnings"],"Configure site SEO":["Configure site SEO"],"Activate SEO tools":["Activate SEO tools"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!"],"Video Hosting":["Video Hosting"],"SEO Tools":["SEO Tools"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Advanced SEO tools to help your site get found when people search for relevant content."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive."],"You are running Jetpack on a staging server.":["You are running Jetpack on a staging server."],"More Info":["More Info"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}"],"Your current IP: %(ip)s":["Your current IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["There are unsaved settings in this tab that will be lost if you leave it. Proceed?"],"This will reset all Jetpack options, are you sure?":["This will reset all Jetpack options, are you sure?"],"Search for a Jetpack feature.":["Search for a Jetpack feature."],"Configure your Security Scans":["Configure your Security Scans"],"Subscriber":["Subscriber"],"Big iPhone/iPad Update Now Available":["Big iPhone/iPad Update Now Available"],"The WordPress for Android App Gets a Big Facelift":["The WordPress for Android App Gets a Big Facelift"],"WordPress.com Likes are:":["WordPress.com Likes are:"],"A few catchy words to motivate your visitors to comment.":["A few catchy words to motivate your visitors to comment."],"Hide the stats smiley face image":["Hide the stats smiley face image"],"Whitelisted IP addresses":["Whitelisted IP addresses"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Show an ad for the WordPress mobile apps in the footer of the mobile theme"],"Copied!":["Copied!"],"Highlight and copy the following text to your clipboard:":["Highlight and copy the following text to your clipboard:"],"Regenerate address":["Regenerate address"],"Cheatin' uh?":["Cheatin' huh?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Your Jetpack is already connected."],"You're fueled up and ready to go, Jetpack is now active.":["You're fuelled up and ready to go, Jetpack is now active."],"You're fueled up and ready to go.":["You're fuelled up and ready to go."],"You are currently running a development version of Jetpack.":["You are currently running a development version of Jetpack."],"Submit Beta feedback":["Submit Beta feedback"],"What would you like to see on your Jetpack Dashboard?":["What would you like to see on your Jetpack Dashboard?"],"Let us know!":["Let us know!"],"Saving…":["Saving…"],"Save Settings":["Save Settings"],"Jetpack Stats Icon":["Jetpack Stats Icon"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}"],"Activate Site Stats":["Activate Site Stats"],"Site Backups":["Site Backups"],"Upgrade":["Upgrade"],"ACTIVE":["ACTIVE"],"View your spam stats":["View your spam stats"],"View your security dashboard":["View your security dashboard"],"Real-Time Backups":["Real-Time Backups"],"The site is in Development Mode, so you can not connect to WordPress.com.":["The site is in Development Mode, so you can not connect to WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Link your account to WordPress.com to get the most out of Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack is actively blocking malicious login attempts. Data will display here soon!"],"Total malicious attacks blocked on your site.":["Total malicious attacks blocked on your site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign-in attempts."],"All plugins are up-to-date. Awesome work!":["All plugins are up-to-date. Awesome work!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack is monitoring your site. If we think your site is down, you will receive an email."],"Security":["Security"],"Performance":["Performance"],"Backup":["Backup"],"{{a}}View backup details{{/a}}.":["{{a}}View backup details{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Unavailable in Dev Mode."],"Unavailable in Dev Mode":["Unavailable in Dev Mode"],"Activating %(slug)s…":["Activating %(slug)s…"],"%(slug)s has been activated.":["%(slug)s has been activated."],"%(slug)s failed to activate. %(error)s":["%(slug)s failed to activate. %(error)s"],"Deactivating %(slug)s…":["Deactivating %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s has been deactivated."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s failed to deactivate. %(error)s"],"Updating %(slug)s settings…":["Updating %(slug)s settings…"],"Updated %(slug)s settings.":["Updated %(slug)s settings."],"Error updating %(slug)s settings. %(error)s":["Error updating %(slug)s settings. %(error)s"],"Updating %(slug)s address…":["Updating %(slug)s address…"],"Regenerated %(slug)s address .":["Regenerated %(slug)s address ."],"Error regenerating %(slug)s address. %(error)s":["Error regenerating %(slug)s address. %(error)s"],"Resetting Jetpack options…":["Resetting Jetpack options…"],"Options reset.":["Options reset."],"Options failed to reset.":["Options failed to reset."],"There was an error disconnecting Jetpack. Error: %(error)s":["There was an error disconnecting Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Unlinking from WordPress.com"],"Unlinked from WordPress.com.":["Unlinked from WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error unlinking from WordPress.com. %(error)s"],"At A Glance":["At A Glance"],"Dashboard":["Dashboard"],"Automattic's Privacy Policy":["Automattic's Privacy Policy"],"WordPress.com Terms of Service":["WordPress.com Terms of Service"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Turn on plugin autoupdates.{{/a}}"],"Plugin Updates":["Plugin Updates"],"No threats found, you're good to go!":["No threats found, you're good to go!"],"{{a}}Contact Support{{/a}}":["{{a}}Contact Support{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}View details at VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s threat found.","Uh oh, %(number)s threats found."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down."],"Loading…":["Loading…"],"Downtime monitor":["Downtime monitor"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}View more stats on WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}View detailed stats{{/button}}"],"All-time comments":["All-time comments"],"All-time views":["All-time views"],"%(number)s View":["%(number)s View","%(number)s Views"],"Best overall day":["Best overall day"],"Views today":["Views today"],"Months":["Months"],"Weeks":["Weeks"],"Days":["Days"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}"],"Click to view detailed stats.":["Click to view detailed stats."],"Views: %(numberOfViews)s":["Views: %(numberOfViews)s"],"Week of %(date)s":["Week of %(date)s"],"Site Security":["Site Security"],"Link to WordPress.com":["Link to WordPress.com"],"Unlink me from WordPress.com":["Unlink me from WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["You need to stay logged in to your WordPress blog while you authorise Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s"],"Disconnecting Jetpack":["Disconnecting Jetpack"],"Learn more":["Learn more"],"Posts":["Posts"],"Front page":["Front page"],"Upload videos":["Upload videos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Show related content after posts"],"Related":["Related"],"Disconnect":["Disconnect"],"Save":["Save"],"Media":["Media"],"Mobile Theme":["Mobile Theme"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX is a powerful markup language for writing complex mathematical equations and formulae."],"Site Stats":["Site Stats"],"Sharing":["Sharing"],"Testimonials":["Testimonials"],"Cancel":["Cancel"],"Comments":["Comments"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Your website needs to be publicly accessible to use Jetpack: %(error_key)s"],"Edit":["Edit"],"Connected":["Connected"],"Activate":["Activate"],"Active":["Active"],"Settings":["Settings"],"Learn More":["Learn More"],"Disconnect Jetpack":["Disconnect Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack Backup"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["WP.me Shortlinks"],"Settings header\u0004Auto-update plugins":["Auto-update plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Downtime monitoring"],"Settings header\u0004Privacy Settings":["Privacy Settings"],"Settings header\u0004WordPress.com toolbar":["WordPress.com toolbar"],"Settings header\u0004Composing":["Composing"],"Settings header\u0004Site stats":["Site stats"],"Settings header\u0004Search engine optimization":["Search engine optimisation"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Sharing buttons"],"Settings header\u0004Publicize connections":["Publicize connections"],"Settings header\u0004Like buttons":["Like buttons"],"Settings header\u0004Brute force attack protection":["Brute force attack protection"],"Settings header\u0004Backups and security scanning":["Backups and security scanning"],"Notice in the empty statistics chart\u0004No activity this period":["No activity this period"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com login"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Send link"],"A caption for a button to cancel an action.\u0004Cancel":["Cancel"],"Link to learn more about Jetpack.\u0004About":["About"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Modules"],"Navigation item.\u0004Performance":["Performance"],"Navigation item.\u0004My Plan":["My Plan"],"Navigation item.\u0004Dev Tools":["Dev Tools"],"Navigation item.\u0004Settings":["Settings"],"Navigation item.\u0004Discussion":["Discussion"],"Navigation item.\u0004Traffic":["Traffic"],"Navigation item.\u0004Sharing":["Sharing"],"Navigation item.\u0004At A Glance":["At A Glance"],"Navigation item.\u0004Plans":["Plans"],"Navigation item.\u0004Writing":["Writing"],"Navigation item.\u0004Reset Options (dev only)":["Reset Options (dev only)"],"Navigation item.\u0004Security":["Security"],"Navigation item.\u0004At a Glance":["At a Glance"],"Search term.\u0004terms of service":["terms of service"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["tracks"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Upgrade"],"Button caption\u0004Saving…":["Saving…"],"Button caption\u0004Save settings":["Save settings"],"A heading for a block of related posts.\u0004Related":["Related"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Preview"],"Short warning message\u0004Updates needed":["Updates needed"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Paid"],"A header for a preview area in the configuration screen.\u0004Preview":["Preview"],"Ads header\u0004Ads":["Ads"],"Dashboard widget header\u0004Site connection":["Site connection"],"Dashboard widget header\u0004Account connection":["Account connection"],"A caption for a small button to fix security issues.\u0004Threats":["Threats"],"A caption for a small button to fix security issues.\u0004FIX":["FIX"],"Short warning message about new threats found.\u0004Threats found!":["Threats found!"],"Short message informing user that the site is secure.\u0004Secure":["Secure"],"Caption for a button to set up a feature.\u0004Set up":["Set up"],"verb\u0004Copy":["Copy"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacy"],"Shorthand for Terms of Service.\u0004Terms":["Terms"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Debug"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Spam comments blocked."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-en_NZ-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-en_NZ-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index ae261fb7..00000000
--- a/plugins/jetpack/languages/json/jetpack-en_NZ-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"en_NZ"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":["Renews on %s."],"Purchased on %s.":["Purchased on %s."],"Select a backup option:":["Select a backup option:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["You are saving {{savings /}} by paying yearly"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Hurry, these are {{s}}Limited time introductory prices!{{/s}}"],"Up to %(percent)d%% off!":["Up to %(percent)d%% off!"],"per month":["per month"],"per year":["per year"],"Which backup option is best for me?":["Which backup option is best for me?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Manage Subscription"],"Your site is being backed up.":["Your site is being backed up."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["You need to enter your server credentials to finish configuring Jetpack Backup."],"Jetpack Backup is being configured for your site.":["Jetpack Backup is being configured for your site."],"Daily Backups":["Daily Backups"],"Just looking for backups? We've got you covered.":["Just looking for backups? We've got you covered."],"Solutions":["Solutions"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Included in your {{planLink}}Professional Plan{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Included in your {{planLink}}Premium Plan{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Included in your {{planLink}}Personal Plan{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives."],"Always-on backups ensure you never lose your site.":["Always-on backups ensure you never lose your site."],"My Products":["My Products"],"My Plan":["My Plan"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack Backup {{em}}Real-Time{{/em}}"],"Your data is being securely backed up as you edit.":["Your data is being securely backed up as you edit."],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack Backup {{em}}Daily{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Your data is being securely backed up every day with a 30-day archive."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack Free"],"Expired on %s.":["Expired on %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack has many powerful tools that can help you achieve your goals"]," We’ve highlighted some of the features you rely on below.":["We’ve highlighted some of the features you rely on below."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Grow your traffic with automated social {{a}}publishing and sharing{{/a}}"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}"],"Disable":["Disable"],"Are you sure you want to disconnect and deactivate?":["Are you sure you want to disconnect and deactivate?"],"Are you sure you want to disconnect?":["Are you sure you want to disconnect?"],"Disable Jetpack":["Disable Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["We back up your website with every change you make, making it easy to fix your mistakes."],"Automated Real-time Backups":["Automated Real-time Backups"],"We back up your website every day, so you never have to worry about your data again.":["We back up your website every day, so you never have to worry about your data again."],"Automated Daily Backups":["Automated Daily Backups"],"View Your Backups":["View Your Backups"],"A Jetpack Site securely backed up with Jetpack Backup":["A Jetpack Site securely backed up with Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the classic editor as well as within a classic editor block."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activate{{/a}} to optimise image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack is optimising your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices."],"Image Accelerator":["Image Accelerator"],"Start with free":["Start with free"],"Now that you're set up, pick a plan that fits your needs.":["Now that you're set up, pick a plan that fits your needs."],"Jetpack Backup":["Jetpack Backup"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Already have a key? {{a}}Activate Akismet{{/a}}"],"Verifying…":["Verifying…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Give your site a fast loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages."],"Customize your SEO settings":["Customise your SEO settings"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Include a small chart in your Admin Bar with a 48-hour traffic snapshot"],"Expand to update settings for how visits are counted and manage who can view this information.":["Expand to update settings for how visits are counted and manage who can view this information."],"You can customize the sharing buttons and choose which services to display.":["You can customise the sharing buttons and choose which services to display."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Your site is protected by Jetpack. You’ll be notified if anything needs attention."],"Find threats early so we can help fix them fast.":["Find threats early so we can help fix them fast."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Replace your site's basic search with customisable search that helps visitors find answers faster."],"Never worry about losing your site – automatic backups keep your content safe.":["Never worry about losing your site – automatic backups keep your content safe."],"Protect":["Protect"],"Scan":["Scan"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Automatically clear spam from your comments and forms so you can get back to your business."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Connect your site to Google Analytics in seconds with Jetpack Premium or Professional."],"Log in to the WordPress mobile app":["Log in to the WordPress mobile app"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Easily log in to the WordPress app by clicking the link we'll send to the email address on your account."],"Email me a link to log in to the app":["Email me a link to log in to the app"],"Send your new posts to this email address:":["Send your new posts to this email address:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader."],"Verify site ownership with third party services":["Verify site ownership with third party services"],"Generate shortened URLs for simpler sharing.":["Generate shortened URLs for simpler sharing."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["The feature helps visitors find more of your content by displaying related posts at the bottom of each post."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}."],"Add sharing buttons to your posts and pages":["Add sharing buttons to your posts and pages"],"Share your content to social media, reaching new audiences and increasing engagement.":["Share your content to social media, reaching new audiences and increasing engagement."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Get alerts if your site goes offline. We’ll let you know when it’s back up, too."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure."],"Choose which plugins to auto-update":["Choose which plugins to auto-update"],"Upgrade Jetpack now":["Upgrade Jetpack now"],"Monetize your site by running high quality ads.":["Monetise your site by running high quality ads."],"Customize your social posting schedule.":["Customise your social posting schedule."],"Expand your audience with pro SEO tools.":["Expand your audience with pro SEO tools."],"Take your site to the next level!":["Take your site to the next level!"],"Search support docs":["Search support docs"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Need help? Learn about getting started, customising your site, using advanced code snippets, and more."],"Start sharing":["Start sharing"],"Optimized performance":["Optimised performance"],"Enable the “subscribe to comments” option on your comment form":["Enable the “subscribe to comments” option on your comment form"],"Enable the “subscribe to site” option on your comment form":["Enable the “subscribe to site” option on your comment form"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Manage advanced comment settings and grow your audience with email subscriptions."],"Comment form introduction":["Comment form introduction"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam."],"Failed to send login email":["Failed to send login email"],"Login email sent":["Login email sent"],"Sending login email…":["Sending login email…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}"],"Allow readers to like individual comments.":["Allow readers to like individual comments."],"Enable comment likes.":["Enable comment likes."],"Allow readers to use markdown in comments.":["Allow readers to use markdown in comments."],"Show Gravatar hovercards alongside comments.":["Show Gravatar hovercards alongside comments."],"Complete Jetpack Setup":["Complete Jetpack Setup"],"Your Jetpack setup progress":["Your Jetpack setup progress"],"View your setup checklist":["View your setup checklist"],"Yearly":["Yearly"],"Monthly":["Monthly"],"About Jetpack":["About Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Enable widget visibility controls to display widgets only on particular posts or pages"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Make extra widgets available for use on your site, including subscription forms and Twitter streams"],"Enhance CSS customization panel":["Enhance CSS customisation panel"],"Writing":["Writing"],"Compose using shortcodes to embed media from popular sites":["Compose using shortcodes to embed media from popular sites"],"Traffic":["Traffic"],"You need to enter your server credentials to finish configuring Backups and Scan.":["You need to enter your server credentials to finish configuring Backups and Scan."],"Awaiting credentials":["Awaiting credentials"],"Backups and Scan are being configured for your site.":["Backups and Scan are being configured for your site."],"Provisioning":["Provisioning"],"Action needed":["Action needed"],"Setting up":["Setting up"],"Discussion":["Discussion"],"We are configuring your site protection.":["We are configuring your site protection."],"View your site's backups":["View your site's backups"],"We are backing up your site in real-time.":["We are backing up your site in real-time."],"Enter credentials":["Enter credentials"],"You need to enter your server's credentials to finish the setup.":["You need to enter your server's credentials to finish the setup."],"We are configuring your site's backups.":["We are configuring your site's backups."],"View site activity":["View site activity"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair."],"Explore our Jetpack plans":["Explore our Jetpack plans"],"Support documentation":["Support documentation"],"Chat bubbles representing getting in touch with support":["Chat bubbles representing getting in touch with support"],"Site activity":["Site activity"],"Reach a wider audience by automatically sharing your posts on social media.":["Reach a wider audience by automatically sharing your posts on social media."],"Increase traffic to your site":["Increase traffic to your site"],"Explore free themes":["Explore free themes"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Get unlimited access to hundreds of professional themes, and customise your site exactly how you like it."],"A wide variety of themes and tools to customize a site":["A wide variety of themes and tools to customise a site"],"Set up your site security":["Set up your site security"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Prevent log in attacks, and get instant notifications when there’s an issue with your site."],"Site stats showing an evolution in traffic and engagement":["Site stats showing an evolution in traffic and engagement"],"A hand holding a loupe":["A hand holding a loupe"],"A chart showing an healthy increase in earnings":["A chart showing an healthy increase in earnings"],"Interface showing a chronological list of changes and updates in a site":["Interface showing a chronological list of changes and updates in a site"],"A cloud with multiple types of content floating around it":["A cloud with multiple types of content floating around it"],"A folder holding real comments":["A folder holding real comments"],"Make your site faster":["Make your site faster"],"Load pages faster by serving your images from our global network of servers.":["Load pages faster by serving your images from our global network of servers."],"A fast and performant website":["A fast and performant website"],"A secure site, locked and protected by Jetpack":["A secure site, locked and protected by Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts."],"Add Like buttons to your posts and pages":["Add Like buttons to your posts and pages"],"When visitors enjoy your content, let them show it with a Like.":["When visitors enjoy your content, let them show it with a Like."],"Create account":["Create account"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack is powering your site, but to access all of its features you’ll need to create an account."],"Compose content the way you want to and streamline your publishing experience.":["Compose content the way you want and streamline your publishing experience."],"Add a portfolio item":["Add a portfolio item"],"Add a testimonial":["Add a testimonial"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximise your site’s visibility in search engines and view traffic stats in real time."],"Create a Jetpack account to use this feature":["Create a Jetpack account to use this feature"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack will continuously monitor your site, and alert you the moment downtime is detected."],"Error enabling Site accelerator. %(error)s":["Error enabling Site Accelerator. %(error)s"],"Site accelerator is now speeding up your site!":["Site Accelerator is now speeding up your site!"],"Enabling Site accelerator…":["Enabling Site Accelerator…"],"Error disabling site accelerator. %(error)s":["Error disabling Site Accelerator. %(error)s"],"Site accelerator is no longer speeding up your site!":["Site Accelerator is no longer speeding up your site!"],"Disabling site accelerator…":["Disabling Site Accelerator…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Load pages faster, optimise images, and speed up your visitors’ experience."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns."],"High-speed, high-definition video hosting with no third-party ads.":["High-speed, high-definition video hosting with no third-party ads."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Schedule unlimited tweets, Facebook posts, and other social posts in advance."],"Marketing Automation":["Marketing Automation"],"Activate Jetpack Search":["Activate Jetpack Search"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Replace the default WordPress search with better results and filtering powered by Elasticsearch."],"Start earning":["Start earning"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds lets you earn money by displaying promotional content. Start earning today."],"Spam is automatically blocked from your comments.":["Spam is automatically blocked from your comments."],"Browse premium themes":["Browse premium themes"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Access hundreds of beautifully designed premium themes at no extra cost."],"Try a premium theme":["Try a premium theme"],"View settings":["View settings"],"Create a Jetpack account to view your email followers":["Create a Jetpack account to view your email followers"],"Manage security settings":["Manage security settings"],"Jetpack is ready for the new WordPress editor":["Jetpack is ready for the new WordPress editor"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown."],"Build your Jetpack site with blocks":["Build your Jetpack site with blocks"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["A new editor? Yes! {{a}}Learn more{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["The features you rely on, adapted for the new WordPress editor."],"Take me to the new editor":["Take me to the new editor"],"Testing Jetpack Connection":["Testing Jetpack Connection"],"There was an error testing Jetpack. Error: %(error)s":["There was an error testing Jetpack. Error: %(error)s"],"New in Jetpack!":["New in Jetpack!"],"Speed up static file load times":["Speed up static file load times"],"Speed up image load times":["Speed up image load times"],"Enable site accelerator":["Enable site accelerator"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Load pages faster by allowing Jetpack to optimise your images and serve your images and static files (like CSS and JavaScript) from our global network of servers."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials."],"View your site activity":["View your site activity"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["View a chronological list of all the changes and updates to your site in an organised, readable way."],"Manually Verify ":["Manually Verify "],"Verify with Google":["Verify with Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site."],"or":["or"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Your site is verified with Google"],"Site failed to verify: %(error)s":["Site failed to verify: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Add faster, more advanced searching to your site with Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Replace WordPress built-in search with Jetpack Search, an advanced search experience"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Search replaces the built-in search with a fast, scalable, customisable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results."],"Jetpack Search supports many customizations.":["Jetpack Search supports many customisations."],"Site is verified":["Site is verified"],"Spam filtering and priority support.":["Spam filtering and priority support."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site."],"Custom ads.txt entries":["Custom ads.txt entries"],"Privacy information":["Privacy information"],"Enable Lazy Loading for images":["Enable Lazy Loading for images"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once."],"Performance & speed":["Performance & speed"],"Enable high-speed, ad-free video player":["Enable high-speed, ad-free video player"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customise your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!"],"Video":["Video"],"Carousel color scheme":["Carousel colour scheme"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO."],"Show photo Exif metadata in carousel (when available)":["Show photo Exif metadata in carousel (when available)"],"Display images in a full-screen carousel gallery":["Display images in a full-screen carousel gallery"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos."],"Portfolios shortcode: [portfolio]":["Portfolios shortcode: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site."],"Testimonials shortcode: [testimonials]":["Testimonials shortcode: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes."],"Configure related posts in the Customizer":["Configure related posts in the Customiser"],"Highlight related content with a heading":["Highlight related content with a heading"],"View security scan details":["View security scan details"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Show a thumbnail image where available"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["This information helps us improve our products, make marketing to you more relevant, personalise your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["This feature is being managed by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator.":["This feature has been disabled by a site administrator."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s has been disabled by a site administrator."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}"],"Configure your notification settings":["Configure your notification settings"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack Search is a powerful replacement for the search capability built into WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Your site’s files are regularly scanned for unauthorised or suspicious modifications that could compromise your security and data."],"Plugin needs updating.":["Plugin needs updating.","Plugins need updating."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack’s Plugin Updates allows you to choose which plugins update automatically."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack will optimise your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack Backups allow you to easily restore or download a backup from a specific moment."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Loads the next posts automatically when the reader approaches the bottom of the page."],"Allows you to publish new posts by sending an email to a special address.":["Allows you to publish new posts by sending an email to a special address."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Adds a Toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Provides the necessary hidden tags needed to verify your WordPress site with various services."],"Displays information on your site activity, including visitors and popular posts or pages.":["Displays information on your site activity, including visitors and popular posts or pages."],"Allows you to optimize your site and its content for better results in search engines.":["Allows you to optimise your site and its content for better results in search engines."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions."],"Displays high-quality ads on your site that allow you to earn income.":["Displays high-quality ads on your site that allow you to earn income."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Allows you to automatically share your newest content on social media sites, including Facebook and Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Adds like buttons to your content so that visitors can show their appreciation or enjoyment."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Allows registered users to log in to your site with their WordPress.com accounts."],"Protects your site from traditional and distributed brute force login attacks.":["Protects your site from traditional and distributed brute force login attacks."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error."],"Removes spam from comments and contact forms.":["Removes spam from comments and contact forms."],"We are committed to your privacy and security. ":["We are committed to your privacy and security. "],"View all Jetpack plans":["View all Jetpack plans"],"Manage your plan":["Manage your plan"],"Your Plan":["Your Plan"],"You’re currently on Jetpack %(plan)s.":["You’re currently on Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Allows readers to subscribe to your posts or comments, and receive notifications of new content by email."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Replaces the standard WordPress comment form with a new comment system that includes social media login options."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience."],"Add Search (Jetpack) Widget":["Add Search (Jetpack) Widget"],"Jetpack Search is powering search on your site.":["Jetpack Search is powering search on your site."],"Manage your plugins":["Manage your plugins"],"Moderate comments":["Moderate comments"],"Error updating privacy settings. %(error)s":["Error updating privacy settings. %(error)s"],"Updated privacy settings.":["Updated privacy settings."],"Updating privacy settings…":["Updating privacy settings…"],"Add Jetpack Search Widget":["Add Jetpack Search Widget"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Add the Jetpack Search widget to your sidebar to configure sorting and filters."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support."],"Daily backups, spam filtering, and priority support.":["Daily backups, spam filtering, and priority support."],"Always-on security":["Always-on security"],"Activate video hosting":["Activate video hosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"Design the perfect website":["Design the perfect website"],"Set up Jetpack":["Set up Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning."],"Jetpack Search":["Jetpack Search"],"Jetpack version %(version)s":["Jetpack version %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Your site is being backed up in real time and regularly scanned for security threats."],"Daily backup of all your site data with unlimited space and one-click restores":["Daily backup of all your site data with unlimited space and one-click restores"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"View your security activity":["View your security activity"]," (powered by VaultPress).":[" (powered by VaultPress)."],"Customize Search Widget":["Customise Search Widget"],"Please correct the issue below and try again.":["Please correct the issue below and try again.","Please correct the issues listed below and try again."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["We are making sure your site stays free of security threats. You will be notified if we find one."],"Jetpack version":["Jetpack version"],"Activity":["Activity"],"{{a}}View details{{/a}}":["{{a}}View details{{/a}}"],"Monetize your site with ads":["Monetise your site with ads"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com."],"Jetpack Stats People":["Jetpack Stats People"],"Hello there! Your stats have been activated.":["Hello there! Your stats have been activated."],"Just give us a little time to collect data so we can display it for you here.":["Just give us a little time to collect data so we can display it for you here."],"Okay, got it!":["Okay, got it!"],"Display ads below posts on":["Display ads below posts on"],"Additional ad placements":["Additional ad placements"],"Top of each page":["Top of each page"],"Second ad below post":["Second ad below post"],"Archives":["Archives"],"Stars":["Stars"],"Jupiter":["Jupiter"],"Schedule posts":["Schedule posts"],"Activate Publicize":["Activate Publicise"],"Your site is backed up.":["Your site is backed up."],"Get WordPress Apps for every device":["Get WordPress Apps for every device"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world."],"Create address":["Create address"],"Automatically share your posts to social networks":["Automatically share your posts to social networks"],"Updating settings…":["Updating settings…"],"Updating Post by Email address…":["Updating Post by Email address…"],"Your paid plan gives you access to prioritized Jetpack support.":["Your paid plan gives you access to prioritised Jetpack support."],"You have paid for backups but they're not yet active.":["You have paid for backups but they're not yet active."],"You have paid for backups and security scanning but they’re not yet active.":["You have paid for backups and security scanning but they’re not yet active."],"Click \"Set Up\" to finish installation.":["Click \"Set Up\" to finish installation."],"Checking site status…":["Checking site status…"],"Pages":["Pages"],"Access the full list of Jetpack modules available on your site.":["Access the full list of Jetpack modules available on your site."],"We're here to help":["We're here to help"],"Jetpack comes with free, basic support for all users.":["Jetpack comes with free, basic support for all users."],"Ask a question":["Ask a question"],"Search our support site":["Search our support site"],"Get a faster resolution to your support questions.":["Get a faster resolution to your support questions."],"Host fast, high-quality, ad-free video.":["Host fast, high-quality, ad-free video."],"Generate income with high-quality ads.":["Generate income with high-quality ads."],"Real-time site backups and automatic threat resolution.":["Real-time site backups and automatic threat resolution."],"Protect against data loss, malware, and malicious attacks.":["Protect against data loss, malware, and malicious attacks."],"Protect your site from spam.":["Protect your site from spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["This site is not connected to WordPress.com. Please ask the site administrator to connect."],"An Automattic Airline":["An Automattic Airline"],"Manage site connection":["Manage site connection"],"Connect your account to WordPress.com to view more stats":["Connect your account to WordPress.com to view more stats"],"Theme enhancements":["Theme enhancements"],"Load more posts using the default theme behavior":["Load more posts using the default theme behaviour"],"Load more posts in page with a button":["Load more posts in-page with a button"],"Load more posts as the reader scrolls down":["Load more posts as the reader scrolls down"],"Theme support required.":["Theme support required."],"Learn more about adding support for Infinite Scroll to your theme.":["Learn more about adding support for Infinite Scroll to your theme."],"Show excerpts instead of full posts on front page and archive pages":["Show excerpts instead of full posts on front page and archive pages"],"Show featured images":["Show featured images"],"Enable the WordPress.com toolbar":["Enable the WordPress.com toolbar"],"Writing tools available to you will be shown here when an administrator enables them.":["Writing tools available to you will be shown here when an administrator enables them."],"Portfolios":["Portfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generate XML sitemaps"],"The image helps collect stats, but should work when hidden.":["The image helps collect stats, but should work when hidden."],"Count logged in page views from":["Count logged in page views from"],"Allow stats reports to be viewed by":["Allow stats reports to be viewed by"],"In \"Upgrade\"":["In \"Upgrade\""],"Configure your Google Analytics settings":["Configure your Google Analytics settings"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings."],"Enable ads and display an ad below each post":["Enable ads and display an ad below each post"],"Configure your sharing buttons":["Configure your sharing buttons"],"Connect your social media accounts":["Connect your social media accounts"],"Match accounts using email addresses":["Match accounts using email addresses"],"Require accounts to use WordPress.com Two-Step Authentication":["Require accounts to use WordPress.com's Two-Step Authentication"],"Add to whitelist":["Add to whitelist"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["You may whitelist an IP address or series of addresses, preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Your site is backed up and threat-free."],"Checking your spam protection…":["Checking your spam protection…"],"Fetching key…":["Fetching key…"],"Your site needs an Antispam key.":["Your site needs an Antispam key."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["There's a problem with your Antispam API key. {{a}}Learn more{{/a}}."],"Your site is not protected from spam.":["Your site is not protected from spam."],"Your Antispam key is valid.":["Your Antispam key is valid."],"Your site is protected from spam.":["Your site is protected from spam."],"Checking key…":["Checking key…"],"Your API key":["Your API key"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one."],"No search results found for %(term)s":["No search results found for %(term)s"],"Enter a search term to find settings or close search.":["Enter a search term to find settings or close search."],"Connections":["Connections"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Your site is in Development Mode, so it cannot be connected to WordPress.com."],"Your site is connected to WordPress.com.":["Your site is connected to WordPress.com."],"You are the Jetpack owner.":["You are the Jetpack owner."],"Connected as {{span}}%(username)s{{/span}}":["Connected as {{span}}%(username)s{{/span}}"],"View your Email Followers":["View your Email Followers"],"Color scheme":["Colour scheme"],"Enable Markdown use for comments.":["Enable Markdown use for comments."],"Updated settings.":["Updated settings."],"Error updating settings. %(error)s":["Error updating settings. %(error)s"],"Regenerated Post by Email address.":["Regenerated Post by Email address."],"Error regenerating Post by Email address. %(error)s":["Error regenerating Post by Email address. %(error)s"],"Updated settings. Refreshing page…":["Updated settings. Refreshing page…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}The jetpack_development_mode filter is active{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configure Google Analytics"],"Activate Google Analytics":["Activate Google Analytics"],"Download the free apps":["Download the free apps"],"Upgrade Focus: VideoPress For Weddings":["Upgrade Focus: VideoPress For Weddings"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}You can now also configure related posts in the Customiser. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!"],"Display an ad unit at the top of your site.":["Display an ad unit at the top of your site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site."],"In \"Mobile\"":["In \"Mobile\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}"],"View your earnings":["View your earnings"],"Configure site SEO":["Configure site SEO"],"Activate SEO tools":["Activate SEO tools"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!"],"Video Hosting":["Video Hosting"],"SEO Tools":["SEO Tools"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Advanced SEO tools to help your site get found when people search for relevant content."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive."],"You are running Jetpack on a staging server.":["You are running Jetpack on a staging server."],"More Info":["More Info"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}"],"Your current IP: %(ip)s":["Your current IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["There are unsaved settings in this tab that will be lost if you leave it. Proceed?"],"This will reset all Jetpack options, are you sure?":["This will reset all Jetpack options, are you sure?"],"Search for a Jetpack feature.":["Search for a Jetpack feature."],"Configure your Security Scans":["Configure your Security Scans"],"Subscriber":["Subscriber"],"Big iPhone/iPad Update Now Available":["Big iPhone/iPad Update Now Available"],"The WordPress for Android App Gets a Big Facelift":["The WordPress for Android App Gets a Big Facelift"],"WordPress.com Likes are:":["WordPress.com Likes are:"],"A few catchy words to motivate your visitors to comment.":["A few catchy words to motivate your visitors to comment."],"Hide the stats smiley face image":["Hide the stats smiley face image"],"Whitelisted IP addresses":["Whitelisted IP addresses"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Show an ad for the WordPress mobile apps in the footer of the mobile theme"],"Copied!":["Copied!"],"Highlight and copy the following text to your clipboard:":["Highlight and copy the following text to your clipboard:"],"Regenerate address":["Regenerate address"],"Cheatin' uh?":["Cheatin' eh?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Your Jetpack is already connected."],"You're fueled up and ready to go, Jetpack is now active.":["You're fuelled up and ready to go, Jetpack is now active."],"You're fueled up and ready to go.":["You're fuelled up and ready to go."],"You are currently running a development version of Jetpack.":["You are currently running a development version of Jetpack."],"Submit Beta feedback":["Submit Beta feedback"],"What would you like to see on your Jetpack Dashboard?":["What would you like to see on your Jetpack Dashboard?"],"Let us know!":["Let us know!"],"Saving…":["Saving…"],"Save Settings":["Save Settings"],"Jetpack Stats Icon":["Jetpack Stats Icon"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}"],"Activate Site Stats":["Activate Site Stats"],"Site Backups":["Site Backups"],"Upgrade":["Upgrade"],"ACTIVE":["ACTIVE"],"View your spam stats":["View your spam stats"],"View your security dashboard":["View your security dashboard"],"Real-Time Backups":["Real-Time Backups"],"The site is in Development Mode, so you can not connect to WordPress.com.":["The site is in Development Mode, so you can not connect to WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Link your account to WordPress.com to get the most out of Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack is actively blocking malicious login attempts. Data will display here soon!"],"Total malicious attacks blocked on your site.":["Total malicious attacks blocked on your site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign-in attempts."],"All plugins are up-to-date. Awesome work!":["All plugins are up-to-date. Awesome work!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack is monitoring your site. If we think your site is down, you will receive an email."],"Security":["Security"],"Performance":["Performance"],"Backup":["Backup"],"{{a}}View backup details{{/a}}.":["{{a}}View backup details{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Unavailable in Dev Mode."],"Unavailable in Dev Mode":["Unavailable in Dev Mode"],"Activating %(slug)s…":["Activating %(slug)s…"],"%(slug)s has been activated.":["%(slug)s has been activated."],"%(slug)s failed to activate. %(error)s":["%(slug)s failed to activate. %(error)s"],"Deactivating %(slug)s…":["Deactivating %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s has been deactivated."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s failed to deactivate. %(error)s"],"Updating %(slug)s settings…":["Updating %(slug)s settings…"],"Updated %(slug)s settings.":["Updated %(slug)s settings."],"Error updating %(slug)s settings. %(error)s":["Error updating %(slug)s settings. %(error)s"],"Updating %(slug)s address…":["Updating %(slug)s address…"],"Regenerated %(slug)s address .":["Regenerated %(slug)s address ."],"Error regenerating %(slug)s address. %(error)s":["Error regenerating %(slug)s address. %(error)s"],"Resetting Jetpack options…":["Resetting Jetpack options…"],"Options reset.":["Options reset."],"Options failed to reset.":["Options failed to reset."],"There was an error disconnecting Jetpack. Error: %(error)s":["There was an error disconnecting Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Unlinking from WordPress.com"],"Unlinked from WordPress.com.":["Unlinked from WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error unlinking from WordPress.com. %(error)s"],"At A Glance":["At A Glance"],"Dashboard":["Dashboard"],"Automattic's Privacy Policy":["Automattic's Privacy Policy"],"WordPress.com Terms of Service":["WordPress.com Terms of Service"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Turn on plugin autoupdates.{{/a}}"],"Plugin Updates":["Plugin Updates"],"No threats found, you're good to go!":["No threats found, you're good to go!"],"{{a}}Contact Support{{/a}}":["{{a}}Contact Support{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}View details at VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s threat found.","Uh oh, %(number)s threats found."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down."],"Loading…":["Loading…"],"Downtime monitor":["Downtime monitor"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}View more stats on WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}View detailed stats{{/button}}"],"All-time comments":["All-time comments"],"All-time views":["All-time views"],"%(number)s View":["%(number)s View","%(number)s Views"],"Best overall day":["Best overall day"],"Views today":["Views today"],"Months":["Months"],"Weeks":["Weeks"],"Days":["Days"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}"],"Click to view detailed stats.":["Click to view detailed stats."],"Views: %(numberOfViews)s":["Views: %(numberOfViews)s"],"Week of %(date)s":["Week of %(date)s"],"Site Security":["Site Security"],"Link to WordPress.com":["Link to WordPress.com"],"Unlink me from WordPress.com":["Unlink me from WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["You need to stay logged in to your WordPress blog while you authorise Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s"],"Disconnecting Jetpack":["Disconnecting Jetpack"],"Learn more":["Learn more"],"Posts":["Posts"],"Front page":["Front page"],"Upload videos":["Upload videos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Show related content after posts"],"Related":["Related"],"Disconnect":["Disconnect"],"Save":["Save"],"Media":["Media"],"Mobile Theme":["Mobile Theme"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX is a powerful markup language for writing complex mathematical equations and formulae."],"Site Stats":["Site Stats"],"Sharing":["Sharing"],"Testimonials":["Testimonials"],"Cancel":["Cancel"],"Comments":["Comments"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Your website needs to be publicly accessible to use Jetpack: %(error_key)s"],"Edit":["Edit"],"Connected":["Connected"],"Activate":["Activate"],"Active":["Active"],"Settings":["Settings"],"Learn More":["Learn More"],"Disconnect Jetpack":["Disconnect Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack Backup"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["WP.me Shortlinks"],"Settings header\u0004Auto-update plugins":["Auto-update plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Downtime monitoring"],"Settings header\u0004Privacy Settings":["Privacy Settings"],"Settings header\u0004WordPress.com toolbar":["WordPress.com toolbar"],"Settings header\u0004Composing":["Composing"],"Settings header\u0004Site stats":["Site stats"],"Settings header\u0004Search engine optimization":["Search engine optimisation"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Sharing buttons"],"Settings header\u0004Publicize connections":["Publicise connections"],"Settings header\u0004Like buttons":["Like buttons"],"Settings header\u0004Brute force attack protection":["Brute force attack protection"],"Settings header\u0004Backups and security scanning":["Backups and security scanning"],"Notice in the empty statistics chart\u0004No activity this period":["No activity this period"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com login"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Send link"],"A caption for a button to cancel an action.\u0004Cancel":["Cancel"],"Link to learn more about Jetpack.\u0004About":["About"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Modules"],"Navigation item.\u0004Performance":["Performance"],"Navigation item.\u0004My Plan":["My Plan"],"Navigation item.\u0004Dev Tools":["Dev Tools"],"Navigation item.\u0004Settings":["Settings"],"Navigation item.\u0004Discussion":["Discussion"],"Navigation item.\u0004Traffic":["Traffic"],"Navigation item.\u0004Sharing":["Sharing"],"Navigation item.\u0004At A Glance":["At A Glance"],"Navigation item.\u0004Plans":["Plans"],"Navigation item.\u0004Writing":["Writing"],"Navigation item.\u0004Reset Options (dev only)":["Reset Options (dev only)"],"Navigation item.\u0004Security":["Security"],"Navigation item.\u0004At a Glance":["At a Glance"],"Search term.\u0004terms of service":["terms of service"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["tracks"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Upgrade"],"Button caption\u0004Saving…":["Saving…"],"Button caption\u0004Save settings":["Save settings"],"A heading for a block of related posts.\u0004Related":["Related"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Preview"],"Short warning message\u0004Updates needed":["Updates needed"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Paid"],"A header for a preview area in the configuration screen.\u0004Preview":["Preview"],"Ads header\u0004Ads":["Ads"],"Dashboard widget header\u0004Site connection":["Site connection"],"Dashboard widget header\u0004Account connection":["Account connection"],"A caption for a small button to fix security issues.\u0004Threats":["Threats"],"A caption for a small button to fix security issues.\u0004FIX":["FIX"],"Short warning message about new threats found.\u0004Threats found!":["Threats found!"],"Short message informing user that the site is secure.\u0004Secure":["Secure"],"Caption for a button to set up a feature.\u0004Set up":["Set up"],"verb\u0004Copy":["Copy"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacy"],"Shorthand for Terms of Service.\u0004Terms":["Terms"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Debug"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Spam comments blocked."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-en_ZA-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-en_ZA-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index dc4fcfd4..00000000
--- a/plugins/jetpack/languages/json/jetpack-en_ZA-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"en_ZA"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":[""],"Manage Subscription":[""],"Your site is being backed up.":[""],"You need to enter your server credentials to finish configuring Jetpack Backup.":[""],"Jetpack Backup is being configured for your site.":[""],"Daily Backups":[""],"Just looking for backups? We've got you covered.":[""],"Solutions":[""],"Included in your {{planLink}}Professional Plan{{/planLink}}":[""],"Included in your {{planLink}}Premium Plan{{/planLink}}":[""],"Included in your {{planLink}}Personal Plan{{/planLink}}":[""],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":[""],"Always-on backups ensure you never lose your site.":[""],"My Products":[""],"My Plan":[""],"Jetpack Backup {{em}}Real-Time{{/em}}":[""],"Your data is being securely backed up as you edit.":[""],"Jetpack Backup {{em}}Daily{{/em}}":[""],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":[""],"Jetpack Premium":[""],"Jetpack Personal":[""],"Jetpack Free":[""],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":[""],"Jetpack has many powerful tools that can help you achieve your goals":[""]," We’ve highlighted some of the features you rely on below.":[""],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":[""],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":[""],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":[""],"Disable":[""],"Are you sure you want to disconnect and deactivate?":[""],"Are you sure you want to disconnect?":[""],"Disable Jetpack":[""],"We back up your website with every change you make, making it easy to fix your mistakes.":[""],"Automated Real-time Backups":[""],"We back up your website every day, so you never have to worry about your data again.":[""],"Automated Daily Backups":[""],"View Your Backups":[""],"A Jetpack Site securely backed up with Jetpack Backup":[""],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Image Accelerator":[""],"Start with free":[""],"Now that you're set up, pick a plan that fits your needs.":[""],"Jetpack Backup":[""],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":[""],"Already have a key? {{a}}Activate Akismet{{/a}}":[""],"Verifying…":[""],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":[""],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":[""],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":[""],"Customize your SEO settings":[""],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":[""],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":[""],"Include a small chart in your admin bar with a 48-hour traffic snapshot":[""],"Expand to update settings for how visits are counted and manage who can view this information.":[""],"You can customize the sharing buttons and choose which services to display.":[""],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":[""],"Find threats early so we can help fix them fast.":[""],"Replace your site's basic search with customizable search that helps visitors find answers faster.":[""],"Never worry about losing your site – automatic backups keep your content safe.":[""],"Protect":[""],"Scan":[""],"Automatically clear spam from your comments and forms so you can get back to your business.":[""],"Anti-spam":[""],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":[""],"Log in to the WordPress mobile app":[""],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":[""],"Email me a link to log in to the app":[""],"Send your new posts to this email address:":[""],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":[""],"Generate shortened URLs for simpler sharing.":[""],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":[""],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":[""],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":[""],"Add sharing buttons to your posts and pages":[""],"Share your content to social media, reaching new audiences and increasing engagement.":[""],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":[""],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":[""],"Choose which plugins to auto-update":[""],"Upgrade Jetpack now":[""],"Monetize your site by running high quality ads.":[""],"Customize your social posting schedule.":[""],"Expand your audience with pro SEO tools.":[""],"Take your site to the next level!":[""],"Search support docs":[""],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":[""],"Start sharing":[""],"Optimized performance":[""],"Enable the “subscribe to comments” option on your comment form":[""],"Enable the “subscribe to site” option on your comment form":[""],"Manage advanced comment settings and grow your audience with email subscriptions.":[""],"Comment form introduction":[""],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":[""],"Failed to send login email":[""],"Login email sent":[""],"Sending login email…":[""],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":[""],"Allow readers to like individual comments.":[""],"Enable comment likes.":[""],"Allow readers to use markdown in comments.":[""],"Show Gravatar hovercards alongside comments.":[""],"Complete Jetpack Setup":[""],"Your Jetpack setup progress":[""],"View your setup checklist":[""],"Yearly":[""],"Monthly":[""],"About Jetpack":[""],"Enable widget visibility controls to display widgets only on particular posts or pages":[""],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":[""],"Make extra widgets available for use on your site including subscription forms and Twitter streams":[""],"Enhance CSS customization panel":[""],"Writing":[""],"Compose using shortcodes to embed media from popular sites":[""],"Traffic":[""],"You need to enter your server credentials to finish configuring Backups and Scan.":[""],"Awaiting credentials":[""],"Backups and Scan are being configured for your site.":[""],"Provisioning":[""],"Action needed":[""],"Setting up":[""],"Discussion":[""],"We are configuring your site protection.":[""],"View your site's backups":[""],"We are backing up your site in real-time.":[""],"Enter credentials":[""],"You need to enter your server's credentials to finish the setup.":[""],"We are configuring your site's backups.":[""],"View site activity":[""],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":[""],"Explore our Jetpack plans":[""],"Support documentation":[""],"Chat bubbles representing getting in touch with support":[""],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":[""],"Increase traffic to your site":[""],"Explore free themes":[""],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":[""],"A wide variety of themes and tools to customize a site":[""],"Set up your site security":[""],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":[""],"Site stats showing an evolution in traffic and engagement":[""],"A hand holding a loupe":[""],"A chart showing an healthy increase in earnings":[""],"Interface showing a chronological list of changes and updates in a site":[""],"A cloud with multiple types of content floating around it":[""],"A folder holding real comments":[""],"Make your site faster":[""],"Load pages faster by serving your images from our global network of servers.":[""],"A fast and performant website":[""],"A secure site, locked and protected by Jetpack":[""],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts."],"Add Like buttons to your posts and pages":["Add Like buttons to your posts and pages"],"When visitors enjoy your content, let them show it with a Like.":["When visitors enjoy your content, let them show it with a Like."],"Create account":["Create account"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack is powering your site, but to access all of its features you’ll need to create an account."],"Compose content the way you want to and streamline your publishing experience.":["Compose content the way you want to and streamline your publishing experience."],"Add a portfolio item":["Add a portfolio item"],"Add a testimonial":["Add a testimonial"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":["Create a Jetpack account to use this feature"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack will continuously monitor your site, and alert you the moment downtime is detected."],"Error enabling Site accelerator. %(error)s":["Error enabling Site accelerator. %(error)s"],"Site accelerator is now speeding up your site!":["Site accelerator is now speeding up your site!"],"Enabling Site accelerator…":["Enabling Site accelerator…"],"Error disabling site accelerator. %(error)s":["Error disabling site accelerator. %(error)s"],"Site accelerator is no longer speeding up your site!":["Site accelerator is no longer speeding up your site!"],"Disabling site accelerator…":["Disabling site accelerator…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns."],"High-speed, high-definition video hosting with no third-party ads.":["High-speed, high-definition video hosting with no third-party ads."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Schedule unlimited tweets, Facebook posts, and other social posts in advance."],"Marketing Automation":["Marketing Automation"],"Activate Jetpack Search":["Activate Jetpack Search"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Replace the default WordPress search with better results and filtering powered by Elasticsearch."],"Start earning":["Start earning"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds lets you earn money by displaying promotional content. Start earning today."],"Spam is automatically blocked from your comments.":["Spam is automatically blocked from your comments."],"Browse premium themes":["Browse premium themes"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Access hundreds of beautifully designed premium themes at no extra cost."],"Try a premium theme":["Try a premium theme"],"View settings":["View settings"],"Create a Jetpack account to view your email followers":["Create a Jetpack account to view your email followers"],"Manage security settings":["Manage security settings"],"Jetpack is ready for the new WordPress editor":["Jetpack is ready for the new WordPress editor"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown."],"Build your Jetpack site with blocks":["Build your Jetpack site with blocks"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["A new editor? Yes! {{a}}Learn more{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["The features you rely on, adapted for the new WordPress editor."],"Take me to the new editor":["Take me to the new editor"],"Testing Jetpack Connection":["Testing Jetpack Connection"],"There was an error testing Jetpack. Error: %(error)s":["There was an error testing Jetpack. Error: %(error)s"],"New in Jetpack!":["New in Jetpack!"],"Speed up static file load times":["Speed up static file load times"],"Speed up image load times":["Speed up image load times"],"Enable site accelerator":["Enable site accelerator"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":["View your site activity"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":["Manually Verify "],"Verify with Google":["Verify with Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site."],"or":["or"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Your site is verified with Google"],"Site failed to verify: %(error)s":["Site failed to verify: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Add faster, more advanced searching to your site with Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Replace WordPress built-in search with Jetpack Search, an advanced search experience"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Search replaces the built-in search with a fast, scalable, customisable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results."],"Jetpack Search supports many customizations.":["Jetpack Search supports many customisations."],"Site is verified":["Site is verified"],"Spam filtering and priority support.":["Spam filtering and priority support."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site."],"Custom ads.txt entries":["Custom ads.txt entries"],"Privacy information":["Privacy information"],"Enable Lazy Loading for images":["Enable Lazy Loading for images"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once."],"Performance & speed":["Performance & speed"],"Enable high-speed, ad-free video player":["Enable high-speed, ad-free video player"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customise your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!"],"Video":["Video"],"Carousel color scheme":["Carousel colour scheme"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO."],"Show photo Exif metadata in carousel (when available)":["Show photo Exif metadata in carousel (when available)"],"Display images in a full-screen carousel gallery":["Display images in a full-screen carousel gallery"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos."],"Portfolios shortcode: [portfolio]":["Portfolios shortcode: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site."],"Testimonials shortcode: [testimonials]":["Testimonials shortcode: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes."],"Configure related posts in the Customizer":["Configure related posts in the Customiser"],"Highlight related content with a heading":["Highlight related content with a heading"],"View security scan details":["View security scan details"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Show a thumbnail image where available"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["This information helps us improve our products, make marketing to you more relevant, personalise your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["This feature is being managed by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}."],"This feature has been disabled by a site administrator.":["This feature has been disabled by a site administrator."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s has been disabled by a site administrator."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}"],"Configure your notification settings":["Configure your notification settings"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack Search is a powerful replacement for the search capability built into WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Your site’s files are regularly scanned for unauthorised or suspicious modifications that could compromise your security and data."],"Plugin needs updating.":["Plugin needs updating.","Plugins need updating."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack’s Plugin Updates allows you to choose which plugins update automatically."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack will optimise your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack Backups allow you to easily restore or download a backup from a specific moment."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Loads the next posts automatically when the reader approaches the bottom of the page."],"Allows you to publish new posts by sending an email to a special address.":["Allows you to publish new posts by sending an email to a special address."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Provides the necessary hidden tags needed to verify your WordPress site with various services."],"Displays information on your site activity, including visitors and popular posts or pages.":["Displays information on your site activity, including visitors and popular posts or pages."],"Allows you to optimize your site and its content for better results in search engines.":["Allows you to optimise your site and its content for better results in search engines."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions."],"Displays high-quality ads on your site that allow you to earn income.":["Displays high-quality ads on your site that allow you to earn income."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Allows you to automatically share your newest content on social media sites, including Facebook and Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Adds like buttons to your content so that visitors can show their appreciation or enjoyment."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Allows registered users to log in to your site with their WordPress.com accounts."],"Protects your site from traditional and distributed brute force login attacks.":["Protects your site from traditional and distributed brute force login attacks."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error."],"Removes spam from comments and contact forms.":["Removes spam from comments and contact forms."],"We are committed to your privacy and security. ":["We are committed to your privacy and security. "],"View all Jetpack plans":["View all Jetpack plans"],"Manage your plan":["Manage your plan"],"Your Plan":["Your Plan"],"You’re currently on Jetpack %(plan)s.":["You’re currently on Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Allows readers to subscribe to your posts or comments, and receive notifications of new content by email."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Replaces the standard WordPress comment form with a new comment system that includes social media login options."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience."],"Add Search (Jetpack) Widget":["Add Search (Jetpack) Widget"],"Jetpack Search is powering search on your site.":["Jetpack Search is powering search on your site."],"Manage your plugins":["Manage your plugins"],"Moderate comments":["Moderate comments"],"Error updating privacy settings. %(error)s":["Error updating privacy settings. %(error)s"],"Updated privacy settings.":["Updated privacy settings."],"Updating privacy settings…":["Updating privacy settings…"],"Add Jetpack Search Widget":["Add Jetpack Search Widget"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Add the Jetpack Search widget to your sidebar to configure sorting and filters."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support."],"Daily backups, spam filtering, and priority support.":["Daily backups, spam filtering, and priority support."],"Always-on security":[""],"Activate video hosting":["Activate video hosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"Design the perfect website":["Design the perfect website"],"Set up Jetpack":["Set up Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning."],"Jetpack Search":["Jetpack Search"],"Jetpack version %(version)s":["Jetpack version %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Your site is being backed up in real time and regularly scanned for security threats."],"Daily backup of all your site data with unlimited space and one-click restores":["Daily backup of all your site data with unlimited space and one-click restores"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support"],"View your security activity":["View your security activity"]," (powered by VaultPress).":[" (powered by VaultPress)."],"Customize Search Widget":["Customise Search Widget"],"Please correct the issue below and try again.":["Please correct the issue below and try again.","Please correct the issues listed below and try again."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["We are making sure your site stays free of security threats. You will be notified if we find one."],"Jetpack version":["Jetpack version"],"Activity":["Activity"],"{{a}}View details{{/a}}":["{{a}}View details{{/a}}"],"Monetize your site with ads":["Monetise your site with ads"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com."],"Jetpack Stats People":["Jetpack Stats People"],"Hello there! Your stats have been activated.":["Hello there! Your stats have been activated."],"Just give us a little time to collect data so we can display it for you here.":["Just give us a little time to collect data so we can display it for you here."],"Okay, got it!":["Okay, got it!"],"Display ads below posts on":["Display ads below posts on"],"Additional ad placements":["Additional ad placements"],"Top of each page":["Top of each page"],"Second ad below post":["Second ad below post"],"Archives":["Archives"],"Stars":["Stars"],"Jupiter":["Jupiter"],"Schedule posts":["Schedule posts"],"Activate Publicize":["Activate Publicise"],"Your site is backed up.":["Your site is backed up."],"Get WordPress Apps for every device":["Get WordPress Apps for every device"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world."],"Create address":["Create address"],"Automatically share your posts to social networks":["Automatically share your posts to social networks"],"Updating settings…":["Updating settings…"],"Updating Post by Email address…":["Updating Post by Email address…"],"Your paid plan gives you access to prioritized Jetpack support.":["Your paid plan gives you access to prioritised Jetpack support."],"You have paid for backups but they're not yet active.":["You have paid for backups but they're not yet active."],"You have paid for backups and security scanning but they’re not yet active.":["You have paid for backups and security scanning but they’re not yet active."],"Click \"Set Up\" to finish installation.":["Click \"Set Up\" to finish installation."],"Checking site status…":["Checking site status…"],"Pages":["Pages"],"Access the full list of Jetpack modules available on your site.":["Access the full list of Jetpack modules available on your site."],"We're here to help":["We're here to help"],"Jetpack comes with free, basic support for all users.":["Jetpack comes with free, basic support for all users."],"Ask a question":["Ask a question"],"Search our support site":["Search our support site"],"Get a faster resolution to your support questions.":["Get a faster resolution to your support questions."],"Host fast, high-quality, ad-free video.":["Host fast, high-quality, ad-free video."],"Generate income with high-quality ads.":["Generate income with high-quality ads."],"Real-time site backups and automatic threat resolution.":["Real-time site backups and automatic threat resolution."],"Protect against data loss, malware, and malicious attacks.":["Protect against data loss, malware, and malicious attacks."],"Protect your site from spam.":["Protect your site from spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["This site is not connected to WordPress.com. Please ask the site administrator to connect."],"An Automattic Airline":["An Automattic Airline"],"Manage site connection":["Manage site connection"],"Connect your account to WordPress.com to view more stats":["Connect your account to WordPress.com to view more stats"],"Theme enhancements":["Theme enhancements"],"Load more posts using the default theme behavior":["Load more posts using the default theme behaviour"],"Load more posts in page with a button":["Load more posts in-page with a button"],"Load more posts as the reader scrolls down":["Load more posts as the reader scrolls down"],"Theme support required.":["Theme support required."],"Learn more about adding support for Infinite Scroll to your theme.":["Learn more about adding support for Infinite Scroll to your theme."],"Show excerpts instead of full posts on front page and archive pages":[""],"Show featured images":["Show featured images"],"Enable the WordPress.com toolbar":["Enable the WordPress.com toolbar"],"Writing tools available to you will be shown here when an administrator enables them.":["Writing tools available to you will be shown here when an administrator enables them."],"Portfolios":["Portfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generate XML sitemaps"],"The image helps collect stats, but should work when hidden.":["The image helps collect stats, but should work when hidden."],"Count logged in page views from":["Count logged in page views from"],"Allow stats reports to be viewed by":["Allow stats reports to be viewed by"],"In \"Upgrade\"":["In \"Upgrade\""],"Configure your Google Analytics settings":["Configure your Google Analytics settings"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings."],"Enable ads and display an ad below each post":["Enable ads and display an ad below each post"],"Configure your sharing buttons":["Configure your sharing buttons"],"Connect your social media accounts":["Connect your social media accounts"],"Match accounts using email addresses":["Match accounts using email addresses"],"Require accounts to use WordPress.com Two-Step Authentication":["Require accounts to use WordPress.com's Two-Step Authentication"],"Add to whitelist":["Add to whitelist"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["You may whitelist an IP address or series of addresses, preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Your site is backed up and threat-free."],"Checking your spam protection…":["Checking your spam protection…"],"Fetching key…":["Fetching key…"],"Your site needs an Antispam key.":["Your site needs an Antispam key."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["There's a problem with your Antispam API key. {{a}}Learn more{{/a}}."],"Your site is not protected from spam.":["Your site is not protected from spam."],"Your Antispam key is valid.":["Your Antispam key is valid."],"Your site is protected from spam.":["Your site is protected from spam."],"Checking key…":["Checking key…"],"Your API key":["Your API key"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one."],"No search results found for %(term)s":["No search results found for %(term)s"],"Enter a search term to find settings or close search.":["Enter a search term to find settings or close search."],"Connections":["Connections"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Your site is in Development Mode, so it cannot be connected to WordPress.com."],"Your site is connected to WordPress.com.":["Your site is connected to WordPress.com."],"You are the Jetpack owner.":["You are the Jetpack owner."],"Connected as {{span}}%(username)s{{/span}}":["Connected as {{span}}%(username)s{{/span}}"],"View your Email Followers":["View your Email Followers"],"Color scheme":["Colour scheme"],"Enable Markdown use for comments.":["Enable Markdown use for comments."],"Updated settings.":["Updated settings."],"Error updating settings. %(error)s":["Error updating settings. %(error)s"],"Regenerated Post by Email address.":["Regenerated Post by Email address."],"Error regenerating Post by Email address. %(error)s":["Error regenerating Post by Email address. %(error)s"],"Updated settings. Refreshing page…":["Updated settings. Refreshing page…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}The jetpack_development_mode filter is active{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configure Google Analytics"],"Activate Google Analytics":["Activate Google Analytics"],"Download the free apps":["Download the free apps"],"Upgrade Focus: VideoPress For Weddings":["Upgrade Focus: VideoPress For Weddings"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!"],"Display an ad unit at the top of your site.":["Display an ad unit at the top of your site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site."],"In \"Mobile\"":["In \"Mobile\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}"],"View your earnings":["View your earnings"],"Configure site SEO":["Configure site SEO"],"Activate SEO tools":["Activate SEO tools"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!"],"Video Hosting":["Video Hosting"],"SEO Tools":["SEO Tools"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Advanced SEO tools to help your site get found when people search for relevant content."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive."],"You are running Jetpack on a staging server.":["You are running Jetpack on a staging server."],"More Info":["More Info"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}"],"Your current IP: %(ip)s":["Your current IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["There are unsaved settings in this tab that will be lost if you leave it. Proceed?"],"This will reset all Jetpack options, are you sure?":["This will reset all Jetpack options, are you sure?"],"Search for a Jetpack feature.":["Search for a Jetpack feature."],"Configure your Security Scans":["Configure your Security Scans"],"Subscriber":["Subscriber"],"Big iPhone/iPad Update Now Available":["Big iPhone/iPad Update Now Available"],"The WordPress for Android App Gets a Big Facelift":["The WordPress for Android App Gets a Big Facelift"],"WordPress.com Likes are:":["WordPress.com Likes are:"],"A few catchy words to motivate your visitors to comment.":[""],"Hide the stats smiley face image":["Hide the stats smiley face image"],"Whitelisted IP addresses":["Whitelisted IP addresses"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Show an ad for the WordPress mobile apps in the footer of the mobile theme"],"Copied!":["Copied!"],"Highlight and copy the following text to your clipboard:":["Highlight and copy the following text to your clipboard:"],"Regenerate address":["Regenerate address"],"Cheatin' uh?":["Cheatin' huh?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Your Jetpack is already connected."],"You're fueled up and ready to go, Jetpack is now active.":["You're fuelled up and ready to go, Jetpack is now active."],"You're fueled up and ready to go.":["You're fuelled up and ready to go."],"You are currently running a development version of Jetpack.":["You are currently running a development version of Jetpack."],"Submit Beta feedback":["Submit Beta feedback"],"What would you like to see on your Jetpack Dashboard?":["What would you like to see on your Jetpack Dashboard?"],"Let us know!":["Let us know!"],"Saving…":["Saving…"],"Save Settings":["Save Settings"],"Jetpack Stats Icon":["Jetpack Stats Icon"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}"],"Activate Site Stats":["Activate Site Stats"],"Site Backups":[""],"Upgrade":["Upgrade"],"ACTIVE":["ACTIVE"],"View your spam stats":["View your spam stats"],"View your security dashboard":["View your security dashboard"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["The site is in Development Mode, so you can not connect to WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Link your account to WordPress.com to get the most out of Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack is actively blocking malicious login attempts. Data will display here soon!"],"Total malicious attacks blocked on your site.":["Total malicious attacks blocked on your site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign-in attempts."],"All plugins are up-to-date. Awesome work!":["All plugins are up-to-date. Awesome work!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack is monitoring your site. If we think your site is down, you will receive an email."],"Security":["Security"],"Performance":["Performance"],"Backup":[""],"{{a}}View backup details{{/a}}.":["{{a}}View backup details{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Unavailable in Dev Mode."],"Unavailable in Dev Mode":["Unavailable in Dev Mode"],"Activating %(slug)s…":["Activating %(slug)s…"],"%(slug)s has been activated.":["%(slug)s has been activated."],"%(slug)s failed to activate. %(error)s":["%(slug)s failed to activate. %(error)s"],"Deactivating %(slug)s…":["Deactivating %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s has been deactivated."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s failed to deactivate. %(error)s"],"Updating %(slug)s settings…":["Updating %(slug)s settings…"],"Updated %(slug)s settings.":["Updated %(slug)s settings."],"Error updating %(slug)s settings. %(error)s":["Error updating %(slug)s settings. %(error)s"],"Updating %(slug)s address…":["Updating %(slug)s address…"],"Regenerated %(slug)s address .":["Regenerated %(slug)s address ."],"Error regenerating %(slug)s address. %(error)s":["Error regenerating %(slug)s address. %(error)s"],"Resetting Jetpack options…":["Resetting Jetpack options…"],"Options reset.":["Options reset."],"Options failed to reset.":["Options failed to reset."],"There was an error disconnecting Jetpack. Error: %(error)s":["There was an error disconnecting Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Unlinking from WordPress.com"],"Unlinked from WordPress.com.":["Unlinked from WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error unlinking from WordPress.com. %(error)s"],"At A Glance":["At A Glance"],"Dashboard":["Dashboard"],"Automattic's Privacy Policy":["Automattic's Privacy Policy"],"WordPress.com Terms of Service":["WordPress.com Terms of Service"],"{{a}}Turn on plugin autoupdates.{{/a}}":[""],"Plugin Updates":["Plugin Updates"],"No threats found, you're good to go!":["No threats found, you're good to go!"],"{{a}}Contact Support{{/a}}":["{{a}}Contact Support{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}View details at VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s threat found.","Uh oh, %(number)s threats found."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down."],"Loading…":["Loading…"],"Downtime monitor":[""],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}View more stats on WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}View detailed stats{{/button}}"],"All-time comments":["All-time comments"],"All-time views":["All-time views"],"%(number)s View":["%(number)s View","%(number)s Views"],"Best overall day":["Best overall day"],"Views today":["Views today"],"Months":["Months"],"Weeks":["Weeks"],"Days":["Days"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}"],"Click to view detailed stats.":["Click to view detailed stats."],"Views: %(numberOfViews)s":["Views: %(numberOfViews)s"],"Week of %(date)s":["Week of %(date)s"],"Site Security":["Site Security"],"Link to WordPress.com":["Link to WordPress.com"],"Unlink me from WordPress.com":["Unlink me from WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["You need to stay logged in to your WordPress blog while you authorise Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s"],"Disconnecting Jetpack":["Disconnecting Jetpack"],"Learn more":["Learn more"],"Posts":["Posts"],"Front page":["Front page"],"Upload videos":["Upload videos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Show related content after posts"],"Related":["Related"],"Disconnect":["Disconnect"],"Save":["Save"],"Media":["Media"],"Mobile Theme":[""],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":[""],"Site Stats":["Site Stats"],"Sharing":["Sharing"],"Testimonials":["Testimonials"],"Cancel":["Cancel"],"Comments":["Comments"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Your website needs to be publicly accessible to use Jetpack: %(error_key)s"],"Edit":["Edit"],"Connected":["Connected"],"Activate":["Activate"],"Active":["Active"],"Settings":["Settings"],"Learn More":["Learn More"],"Disconnect Jetpack":["Disconnect Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":[""],"Settings header\u0004Anti-spam":[""],"Settings header\u0004WP.me Shortlinks":[""],"Settings header\u0004Auto-update plugins":[""],"Settings header\u0004Widgets":[""],"Settings header\u0004Downtime monitoring":["Downtime monitoring"],"Settings header\u0004Privacy Settings":["Privacy Settings"],"Settings header\u0004WordPress.com toolbar":["WordPress.com toolbar"],"Settings header\u0004Composing":["Composing"],"Settings header\u0004Site stats":["Site stats"],"Settings header\u0004Search engine optimization":["Search engine optimisation"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Sharing buttons"],"Settings header\u0004Publicize connections":["Publicize connections"],"Settings header\u0004Like buttons":["Like buttons"],"Settings header\u0004Brute force attack protection":["Brute force attack protection"],"Settings header\u0004Backups and security scanning":["Backups and security scanning"],"Notice in the empty statistics chart\u0004No activity this period":[""],"Settings header, noun.\u0004WordPress.com login":[""],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":[""],"A caption for a button to cancel an action.\u0004Cancel":[""],"Link to learn more about Jetpack.\u0004About":[""],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Navigation item.\u0004Performance":["Performance"],"Navigation item.\u0004My Plan":["My Plan"],"Navigation item.\u0004Dev Tools":["Dev Tools"],"Navigation item.\u0004Settings":["Settings"],"Navigation item.\u0004Discussion":["Discussion"],"Navigation item.\u0004Traffic":["Traffic"],"Navigation item.\u0004Sharing":["Sharing"],"Navigation item.\u0004At A Glance":["At A Glance"],"Navigation item.\u0004Plans":["Plans"],"Navigation item.\u0004Writing":["Writing"],"Navigation item.\u0004Reset Options (dev only)":["Reset Options (dev only)"],"Navigation item.\u0004Security":["Security"],"Navigation item.\u0004At a Glance":["At a Glance"],"Search term.\u0004terms of service":["terms of service"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["tracks"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Upgrade"],"Button caption\u0004Saving…":["Saving…"],"Button caption\u0004Save settings":["Save settings"],"A heading for a block of related posts.\u0004Related":["Related"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Preview"],"Short warning message\u0004Updates needed":["Updates needed"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Paid"],"A header for a preview area in the configuration screen.\u0004Preview":["Preview"],"Ads header\u0004Ads":["Ads"],"Dashboard widget header\u0004Site connection":["Site connection"],"Dashboard widget header\u0004Account connection":["Account connection"],"A caption for a small button to fix security issues.\u0004Threats":["Threats"],"A caption for a small button to fix security issues.\u0004FIX":["FIX"],"Short warning message about new threats found.\u0004Threats found!":["Threats found!"],"Short message informing user that the site is secure.\u0004Secure":["Secure"],"Caption for a button to set up a feature.\u0004Set up":["Set up"],"verb\u0004Copy":["Copy"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacy"],"Shorthand for Terms of Service.\u0004Terms":["Terms"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Debug"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Spam comments blocked."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-eo-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-eo-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index dabf91bc..00000000
--- a/plugins/jetpack/languages/json/jetpack-eo-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"eo"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":[""],"Manage Subscription":[""],"Your site is being backed up.":[""],"You need to enter your server credentials to finish configuring Jetpack Backup.":[""],"Jetpack Backup is being configured for your site.":[""],"Daily Backups":[""],"Just looking for backups? We've got you covered.":[""],"Solutions":[""],"Included in your {{planLink}}Professional Plan{{/planLink}}":[""],"Included in your {{planLink}}Premium Plan{{/planLink}}":[""],"Included in your {{planLink}}Personal Plan{{/planLink}}":[""],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":[""],"Always-on backups ensure you never lose your site.":[""],"My Products":[""],"My Plan":[""],"Jetpack Backup {{em}}Real-Time{{/em}}":[""],"Your data is being securely backed up as you edit.":[""],"Jetpack Backup {{em}}Daily{{/em}}":[""],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":[""],"Jetpack Premium":[""],"Jetpack Personal":[""],"Jetpack Free":[""],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":[""],"Jetpack has many powerful tools that can help you achieve your goals":[""]," We’ve highlighted some of the features you rely on below.":[""],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":[""],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":[""],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":[""],"Disable":[""],"Are you sure you want to disconnect and deactivate?":[""],"Are you sure you want to disconnect?":[""],"Disable Jetpack":[""],"We back up your website with every change you make, making it easy to fix your mistakes.":[""],"Automated Real-time Backups":[""],"We back up your website every day, so you never have to worry about your data again.":[""],"Automated Daily Backups":[""],"View Your Backups":[""],"A Jetpack Site securely backed up with Jetpack Backup":[""],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Image Accelerator":[""],"Start with free":[""],"Now that you're set up, pick a plan that fits your needs.":[""],"Jetpack Backup":[""],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":[""],"Already have a key? {{a}}Activate Akismet{{/a}}":[""],"Verifying…":[""],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":[""],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":[""],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":[""],"Customize your SEO settings":[""],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":[""],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":[""],"Include a small chart in your admin bar with a 48-hour traffic snapshot":[""],"Expand to update settings for how visits are counted and manage who can view this information.":[""],"You can customize the sharing buttons and choose which services to display.":[""],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":[""],"Find threats early so we can help fix them fast.":[""],"Replace your site's basic search with customizable search that helps visitors find answers faster.":[""],"Never worry about losing your site – automatic backups keep your content safe.":[""],"Protect":[""],"Scan":[""],"Automatically clear spam from your comments and forms so you can get back to your business.":[""],"Anti-spam":[""],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":[""],"Log in to the WordPress mobile app":[""],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":[""],"Email me a link to log in to the app":[""],"Send your new posts to this email address:":[""],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":[""],"Generate shortened URLs for simpler sharing.":[""],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":[""],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":[""],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":[""],"Add sharing buttons to your posts and pages":[""],"Share your content to social media, reaching new audiences and increasing engagement.":[""],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":[""],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":[""],"Choose which plugins to auto-update":[""],"Upgrade Jetpack now":[""],"Monetize your site by running high quality ads.":[""],"Customize your social posting schedule.":[""],"Expand your audience with pro SEO tools.":[""],"Take your site to the next level!":[""],"Search support docs":[""],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":[""],"Start sharing":[""],"Optimized performance":[""],"Enable the “subscribe to comments” option on your comment form":[""],"Enable the “subscribe to site” option on your comment form":[""],"Manage advanced comment settings and grow your audience with email subscriptions.":[""],"Comment form introduction":[""],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":[""],"Failed to send login email":[""],"Login email sent":[""],"Sending login email…":[""],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":[""],"Allow readers to like individual comments.":[""],"Enable comment likes.":[""],"Allow readers to use markdown in comments.":[""],"Show Gravatar hovercards alongside comments.":[""],"Complete Jetpack Setup":[""],"Your Jetpack setup progress":[""],"View your setup checklist":[""],"Yearly":[""],"Monthly":[""],"About Jetpack":[""],"Enable widget visibility controls to display widgets only on particular posts or pages":[""],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":[""],"Make extra widgets available for use on your site including subscription forms and Twitter streams":[""],"Enhance CSS customization panel":[""],"Writing":[""],"Compose using shortcodes to embed media from popular sites":[""],"Traffic":[""],"You need to enter your server credentials to finish configuring Backups and Scan.":[""],"Awaiting credentials":[""],"Backups and Scan are being configured for your site.":[""],"Provisioning":[""],"Action needed":[""],"Setting up":[""],"Discussion":[""],"We are configuring your site protection.":[""],"View your site's backups":[""],"We are backing up your site in real-time.":[""],"Enter credentials":[""],"You need to enter your server's credentials to finish the setup.":[""],"We are configuring your site's backups.":[""],"View site activity":[""],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":[""],"Explore our Jetpack plans":[""],"Support documentation":[""],"Chat bubbles representing getting in touch with support":[""],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":[""],"Increase traffic to your site":[""],"Explore free themes":[""],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":[""],"A wide variety of themes and tools to customize a site":[""],"Set up your site security":[""],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":[""],"Site stats showing an evolution in traffic and engagement":[""],"A hand holding a loupe":[""],"A chart showing an healthy increase in earnings":[""],"Interface showing a chronological list of changes and updates in a site":[""],"A cloud with multiple types of content floating around it":[""],"A folder holding real comments":[""],"Make your site faster":[""],"Load pages faster by serving your images from our global network of servers.":[""],"A fast and performant website":[""],"A secure site, locked and protected by Jetpack":[""],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":[""],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":[""],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":[""],"Add Like buttons to your posts and pages":[""],"When visitors enjoy your content, let them show it with a Like.":[""],"Create account":[""],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":[""],"Compose content the way you want to and streamline your publishing experience.":[""],"Add a portfolio item":[""],"Add a testimonial":[""],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":[""],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":[""],"Error enabling Site accelerator. %(error)s":[""],"Site accelerator is now speeding up your site!":[""],"Enabling Site accelerator…":[""],"Error disabling site accelerator. %(error)s":[""],"Site accelerator is no longer speeding up your site!":[""],"Disabling site accelerator…":[""],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":[""],"High-speed, high-definition video hosting with no third-party ads.":[""],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":[""],"Marketing Automation":[""],"Activate Jetpack Search":[""],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":[""],"Start earning":[""],"WordAds lets you earn money by displaying promotional content. Start earning today.":[""],"Spam is automatically blocked from your comments.":[""],"Browse premium themes":[""],"Access hundreds of beautifully designed premium themes at no extra cost.":[""],"Try a premium theme":[""],"View settings":[""],"Create a Jetpack account to view your email followers":[""],"Manage security settings":[""],"Jetpack is ready for the new WordPress editor":[""],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":[""],"Build your Jetpack site with blocks":[""],"A new editor? Yes! {{a}}Learn more{{/a}}.":[""],"The features you rely on, adapted for the new WordPress editor.":[""],"Take me to the new editor":[""],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":[""],"New in Jetpack!":[""],"Speed up static file load times":[""],"Speed up image load times":[""],"Enable site accelerator":[""],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":[""],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":[""],"Verify with Google":[""],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":[""],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Custom ads.txt entries":[""],"Privacy information":["Privatecaj informoj"],"Enable Lazy Loading for images":["Ebligi Lazy Loading por bildoj"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":[""],"Performance & speed":["Rendimento k. rapido"],"Enable high-speed, ad-free video player":["Ebligi rapidan, senreklaman film-ludilon"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Igu la enhavon kreitan de vi pli atentokapta per altdistingivaj filmoj. Per Filmo de Jetpack vi povas tajlori vian ludilon kaj liveri rapidajn, senreklamajn kaj senmarkajn filmojn al viaj vizitantoj. Filmoj estas gastigataj sur niaj serviloj de WordPress.com kaj ne uzas spacon de via gastiga abono!"],"Video":["Filmo"],"Carousel color scheme":["Kolorskemo de karuselo"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif-datumoj montras al rigardantoj aldonajn teknikajn informojn pri foto, kiel fokusan longon, aperturon kaj ISO."],"Show photo Exif metadata in carousel (when available)":["Montri Exif-datumojn de foto en karuselo (kiam haveblas)"],"Display images in a full-screen carousel gallery":["Montri bildojn en plenekrana karusela galerio"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Vi povas krei plenekranajn karuselajn prezentaĵojn por la bildoj en viaj afiŝoj kaj paĝoj. Karuselaj galerioj estas afablaj al poŝaparatoj kaj ili kuraĝigas interagon kun viaj fotoj fare de vizitantoj al via retejo."],"Portfolios shortcode: [portfolio]":["Koncizkodo por teko: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Uzu {{portfolioLink}}tekojn{{/portfolioLink}} ĉe via retejo por elmontri viajn plej bonajn laboraĵojn. Se via etoso ne subtenas Tekojn de Jetpack, vi tamen povas uzi simplan koncizkodon por montri ilin ĉe via retejo."],"Testimonials shortcode: [testimonials]":["Koncizkodo por atestoj: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Por allogi novajn klientojn, vi povas aldoni {{testimonialLink}}atestojn{{/testimonialLink}} al via retejo. Se via etoso ne subtenas Atestojn de Jetpack, vi, tamen, povas uzi simplan koncizkodon por montri ilin ĉe via retejo."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Je la momento, serĉiloj ne havas alirorajton al via retejo. Se vi volas, ke via retejo estu alirebla, kontrolu viajn {{a}}Legajn agordojn{{/a}} kaj ŝaltu \"Videblecon al serĉiloj\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Bona novaĵo: Jetpack aŭtomate sendas vian retejo-mapon al ĉiuj ĉefaj serĉiloj por indeksado."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Retejo-mapoj estas dosieroj uzataj de serĉiloj kiel Google aŭ Bing por indeksi vian retejon. Mapoj povas helpi plibonigi vian lokon en serĉrezultoj. Je ebligo de tiu eco, Jetpack kreos retejo-mapojn por vi kaj ĝisdatigos ilin aŭtomate kiam la enhavo de via retejo ŝanĝiĝos."],"Configure related posts in the Customizer":["Agordi rilatajn afiŝojn en la Tajlorilo"],"Highlight related content with a heading":["Emfazi rilatan enhavon per titolo"],"View security scan details":["Vidi detalojn de la sekureca skano"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Montri bildeton kie disponebla"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Por pliaj informoj pri kiel apartaj ecoj de Jetpack uzas datumojn kaj spuras aktivecon, bonvole iru al nia {{privacyCenterLink}}Centro pri Privateco{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Ni uzas aliajn spurilojn, inkluzive kelkajn de eksteraj liverantoj. {{cookiePolicyLink}}Legu pri tiuj{{/cookiePolicyLink}} kaj kiel regi ilin."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Tiuj informoj helpas nin plibonigi niajn varojn, merkati al vi pli efike, proprigi vian sperton ĉe WordPress.com kaj pli, kiel priskribitaj en nia {{pp}}privateca politiko{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Dividi informojn per nia analizilo pri via uzo de servoj dum ensalutinta al via konto ĉe WordPress.com. {{cookiePolicyLink}}Lernu pli{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Tiu eco estas administrata de reteja administranto. {{link}}Lerni pli{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Tiu eco estas malebligita de reteja administranto. {{link}}Lerni pli{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Tiu eco estas ebligita de reteja administranto. {{link}}Lerni pli{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s estis malebligita de reteja administranto. {{link}}Lerni pli{{/link}}."],"This feature has been disabled by a site administrator.":["Tiu eco estas malebligita de reteja administranto."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s estas malebligita de reteja administranto."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Vi povas meti aldonajn reklamojn per la kromprogrameto Ad. {{link}}Provu ĝin!{{/link}}"],"Configure your notification settings":["Faru viajn agordojn de sciigoj"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":[""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["La dosieroj de via retejo estas regule skanitaj por senrajtaj aŭ suspektaj ŝanĝoj kiuj povus endanĝerigi viajn sekurecon kaj datumojn."],"Plugin needs updating.":["Kromprogramo bezonas ĝisdatigon.","Kromprogramoj bezonas ĝisdatigojn."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Ĝisdatigoj de kromprogramoj de Jetpack permesas vin elekti kiujn kromprogramojn por ĝisdatigi aŭtomate."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimumigos viajn bildojn kaj servos ilin de la servilo lokita plej proksime al viaj vizitantoj. Uzo de nia tutmonda enhav-livera reto plirapidigos la ŝargotempon de via retejo."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":[""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Sekurkopioj de Jetpack permesas vin facile restarigi aŭ elŝuti sekurkopion de specifa momento."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Ebligas plumpezan etoson afablan al poŝaj aparatoj, kiuj aperos al uzantoj de poŝaj aparatoj."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Aŭtomate ŝargas la sekvajn afiŝojn kiam la leganto alproksimiĝas al la subo de paĝo."],"Allows you to publish new posts by sending an email to a special address.":["Permesas publikigon de novaj afiŝoj per sendo de retmesaĝo al speciala adreso."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Aldonas ilobreton kun ligiloj al ĉiuj viaj retejoj, avizoj, via profilo ĉe WordPress.com kaj la Legilo."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Donas la necesajn kaŝitajn etikedojn por aŭtentigi vian WordPress-ejon ĉe diversaj servoj."],"Displays information on your site activity, including visitors and popular posts or pages.":["Montras informojn pri la aktiveco ĉe via retejo, inkluzivante vizitantojn kaj popularajn afiŝojn aŭ paĝojn."],"Allows you to optimize your site and its content for better results in search engines.":["Permesas vin optimumigi vian retejon kaj la enhavon, por pli bonaj rezultoj ĉe serĉiloj."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Kunigas vian WordPress-ejon kun la Analizilo de Google, platformo kiu oferas klarigojn pri viaj trafiko, vizitantoj kaj konvertiĝoj."],"Displays high-quality ads on your site that allow you to earn income.":["Montras altkvalitajn reklamojn ĉe via retejo permesanta monan enspezon."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Permesas vin aŭtomate kunhavigi vian plej lastan enhavon ĉe sociaj retejoj, inkluzive de Facebook kaj Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Aldonas Ŝat-butonojn al via enhavo, por ke vizitantoj povu montri aprezon aŭ ĝuon."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permesas al registritaj uzantoj ensaluti al via retejo per konto de WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protektas vian retejon de tradicia kaj dissenditaj atakoj penante brutforte ensaluti."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Kreas sekurkopiojn de via retejo kaj tenas ilin ĉe la serviloj de WordPress.com, por permesi restarigon de via enhavo se krizo aŭ eraro okazos."],"Removes spam from comments and contact forms.":["Forviŝas trudaĵojn de komentoj kaj kontakt-formularoj."],"We are committed to your privacy and security. ":["Ni prizorgas viajn privatecon kaj sekurecon."],"View all Jetpack plans":["Vidi ĉiujn abontipojn de Jetpack"],"Manage your plan":["Administri vian abontipon"],"Your Plan":["Via abono"],"You’re currently on Jetpack %(plan)s.":["Vi nun abonas %(plan)s de Jetpack."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permesas legantojn aboni viajn afiŝojn aŭ komentojn kaj ricevi avizojn pri nova enhavo retpoŝte."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Anstataŭigas la normalan koment-formularon de WordPress per nova komenta sistemo inkluzivante opcion ensaluti pere de sociaj retejoj."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":[""],"Add Search (Jetpack) Widget":["Aldoni serĉan kromprogrameton de Jetpack"],"Jetpack Search is powering search on your site.":["Serĉo de Jetpack povigas serĉojn ĉe via retejo."],"Manage your plugins":["Administri viajn kromprogramojn"],"Moderate comments":["Kontroli komentojn"],"Error updating privacy settings. %(error)s":["Eraro dum ĝisdatigo de privatecaj agordoj. %(error)s"],"Updated privacy settings.":["Ĝisdatigis privatecajn agordojn."],"Updating privacy settings…":["Ĝisdatigas privatecajn agordojn..."],"Add Jetpack Search Widget":["Aldoni kromprogrameton de Jetpack-serĉo"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Plena sekureca aro, iloj por merkatado kaj aŭtomatigo de enspezo, senlima gastigado de filmoj, senlimaj etosoj, pli bona serĉo kaj prioritata helpo."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Plena sekureca aro, iloj por merkatado kaj aŭtomatigo de enspezo, senlima gastigado de filmoj kaj prioritata helpo."],"Daily backups, spam filtering, and priority support.":["Tagaj sekurkopioj, filtrado de trudaĵoj kaj prioritata helpo."],"Always-on security":[""],"Activate video hosting":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Realtempa sekurkopiado de ĉiuj datumoj de via retejo kun senlima spaco, unuklakaj restarigoj, aŭtomata sekureca skanado kaj prioritata helpo."],"Design the perfect website":["Dizajnu la perfektan retejon"],"Set up Jetpack":["Agordi Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Realtempaj sekurkopioj de ĉiuj datumoj de via retejo kun senlima spaco, unuklakoj restarigoj kaj aŭtomata sekureca skanado."],"Jetpack Search":["Serĉo de Jetpack"],"Jetpack version %(version)s":["Versio de Jetpack %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Nun via retejo ricevas sekurkopiojn realtempe kaj estas skanita regule por sekurecaj minacoj."],"Daily backup of all your site data with unlimited space and one-click restores":["Ĉiutagaj sekurkopioj de la datumoj de via retejo, kun senlima tenado kaj unuklakaj restarigoj"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Realtempaj sekurkopioj de la datumoj de via retejo, kun senlima tenado, unuklakaj restarigoj, aŭtomata sekureca skanado kaj prioritata helpo."],"View your security activity":["Vidi vian sekurecan aktivecon"]," (powered by VaultPress).":["(povigita de VaultPress)."],"Customize Search Widget":["Proprigi la serĉan kromprogrameton"],"Please correct the issue below and try again.":["Bonvole ĝustigu la suban problemon kaj provu denove.","Bonvole ĝustigu la subajn problemojn kaj provu denove."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Ni preventas sekurecajn minacojn al via retejo. Vi ricevos avizon se ni trovos minacon."],"Jetpack version":["Versio de Jetpack"],"Activity":["Aktiveco"],"{{a}}View details{{/a}}":["{{a}}Vidi detalojn{{/a}}"],"Monetize your site with ads":["Profitigu vian retejon per reklamoj"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Per alklako al la suba butono, vi konsentas al niaj {{tosLink}}Uzkondiĉoj{{/tosLink}} kaj al {{shareDetailsLink}}kunhavigo de detaloj{{/shareDetailsLink}} kun WordPress.com"],"Jetpack Stats People":["Homoj de Jetpack-statistikaĵoj"],"Hello there! Your stats have been activated.":["Saluton, vi! Viaj statistikaĵoj estas aktivaj."],"Just give us a little time to collect data so we can display it for you here.":["Donu al ni etan tempon por kolekti datumojn por ke ni povu montri ĝin tie ĉi por vi."],"Okay, got it!":["Bone, komprenite!"],"Display ads below posts on":["Montri reklamojn sub afiŝoj sur"],"Additional ad placements":["Aldonaj reklamaj metoj"],"Top of each page":["Supren de ĉiu paĝo"],"Second ad below post":["Dua reklamo sub afiŝo"],"Archives":["Arkivoj"],"Stars":["Steloj"],"Jupiter":["Jupitero"],"Schedule posts":[""],"Activate Publicize":["Aktivigi Publici"],"Your site is backed up.":["Via retejo havas sekurkopion."],"Get WordPress Apps for every device":["Vi povas akiri aplikaĵoj WordPress por ĉia aparato"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Vi povas administri ĉiujn viajn retejojn de unuopa panelo: publikigi enhavon, vidi statistikaĵojn, (mal)aprobi komentojn kaj pli, de ie ajn en la mondo."],"Create address":["Krei adreson"],"Automatically share your posts to social networks":["Aŭtomate puŝas viajn afiŝojn al sociaj retoj"],"Updating settings…":["Ĝisdatigas agordojn..."],"Updating Post by Email address…":["Ĝisdatigas la retpoŝtadreson por afiŝi retpoŝte..."],"Your paid plan gives you access to prioritized Jetpack support.":["Via pagita abono donas al vi prioritatan subtenon de Jetpack."],"You have paid for backups but they're not yet active.":["Vi pagas por sekurkopioj sed ili ne estas aktivaj."],"You have paid for backups and security scanning but they’re not yet active.":["Vi pagas por sekurkopioj kaj sekureca skanado sed ili ne estas aktivaj. "],"Click \"Set Up\" to finish installation.":["Alklaku al \"Agordi\" por fini instalon."],"Checking site status…":["Kontrolas staton de retejo..."],"Pages":["Paĝoj"],"Access the full list of Jetpack modules available on your site.":["Aliro al la plena listo de Jetpack-moduloj disponeblaj por via retejo."],"We're here to help":["Ni ĉeestas por helpi"],"Jetpack comes with free, basic support for all users.":["Jetpack venas kun senpaga, baza subteno al ĉiuj uzantoj."],"Ask a question":["Demandi"],"Search our support site":["Priserĉi nian help-retejon"],"Get a faster resolution to your support questions.":["Ricevis pli rapidan solvon al viaj demandoj."],"Host fast, high-quality, ad-free video.":["Gastigi rapidajn, altkvalitajn, senreklamajn filmojn."],"Generate income with high-quality ads.":["Ricevi enspezon per altkvalitaj reklamoj."],"Real-time site backups and automatic threat resolution.":["Realtempaj sekurkopioj de la retejo kaj aŭtomataj solvoj de minacoj."],"Protect against data loss, malware, and malicious attacks.":["Protekto kontraŭ perdo de datumoj, fiprogramoj kaj malicaj atakoj."],"Protect your site from spam.":["Protekto de via retejo de trudaĵoj."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Tiu ĉi retejo ne estas konektita al WordPress.com. Bonvole petu la retejan administranton konektiĝi."],"An Automattic Airline":["Flugkompanio Automattic"],"Manage site connection":["Administri retejan konekton"],"Connect your account to WordPress.com to view more stats":["Konektu vian konton al WordPress.com por vidi pliajn statistikaĵojn"],"Theme enhancements":["Etosaj plibonigoj"],"Load more posts using the default theme behavior":["Ŝargas pliajn afiŝojn uzante la defaŭltan konduton de etoso"],"Load more posts in page with a button":["Ŝargas pliajn afiŝojn en paĝon per butono"],"Load more posts as the reader scrolls down":["Ŝargas pliajn afiŝojn kiam la leganto rulumas pli suben"],"Theme support required.":["Subteno de la etoso postulata."],"Learn more about adding support for Infinite Scroll to your theme.":["Por lerni pli pri la aldono de subteno por Senfina rulumado al via etoso."],"Show excerpts instead of full posts on front page and archive pages":[""],"Show featured images":["Montro de elstarigitaj bildoj"],"Enable the WordPress.com toolbar":["Ebligi la ilobreton de WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Verkadaj iloj por vi aperos tie ĉi kiam administranto ebligas ilin."],"Portfolios":["Tekoj"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Notu, ke {{b}}aŭtentigo de via retejo pere de tiuj servoj ne necesas{{/b}} por ke via retejo estu indeksita de serĉiloj. Por uzi tiujn altnivelajn ilojn por serĉiloj, algluu la suban kodon HTML-etikedan. Se vi spertos problemojn, legu la {{support}}plenajn instrukciojn{{/support}}. Subtenataj aŭtentigaj servoj: {google}}Google-panelo pri serĉoj{{/google}}, {{bing}}Administrejo por retejestroj ĉe Bing{{/bing}}, {{pinterest}} Aŭtentigo de retejoj ĉe Pinterest{{/pinterest}}, kaj {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generi XML-retejomapojn"],"The image helps collect stats, but should work when hidden.":["La bildo helpas kolekti statistikaĵojn, sed devus funkcii kiam kaŝita."],"Count logged in page views from":["Kalkuli ensalutintajn paĝrigardojn de"],"Allow stats reports to be viewed by":["Permesi rigardon de statistikaj raportoj de"],"In \"Upgrade\"":["En \"Promociiĝo\""],"Configure your Google Analytics settings":["Alĝustigi la agordojn de via Analizilo de Google"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Montras reklamojn ĉe la unua artikolo sur via ĉefpaĝo aŭ ĉe la finoj de ĉiu paĝo kaj afiŝo. Por pliigi enspezon, metu aldonajn reklamojn supre de via retejo kaj al lokoj por kromprogrametoj."],"Enable ads and display an ad below each post":["Ebligi reklamojn kaj montri reklamon sub ĉiu afiŝo"],"Configure your sharing buttons":["Agordi viajn kunhavigajn butonojn"],"Connect your social media accounts":["Konekto de viaj soci-retaj kontoj"],"Match accounts using email addresses":["Kongruigi kontojn per retpoŝtadresoj"],"Require accounts to use WordPress.com Two-Step Authentication":["Postuli kontojn uzi du-paŝan aŭtentigon de WordPress.com"],"Add to whitelist":["Aldoni al akceptita listo"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Vi rajtas aldoni IP-adreson aŭ serion de adresoj al la listo de akceptitaj adresoj por preventi blokadon de ili de Jetpack. IPv4 kaj IPv6 estas akcepteblaj. Por specifi gamon, entajpu la malaltan kaj altan valorojn apartigitajn de streketo. Ekzemple: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Via retejo estas kopiita kaj sen-minaca."],"Checking your spam protection…":["Kontrolas vian trud-protekton..."],"Fetching key…":["Prenas ŝlosilon..."],"Your site needs an Antispam key.":["Via retejo bezonas kontraŭ-trudan ŝlosilon."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Estas problemo pri via kontraŭ-truda API-ŝlosilo. {{a}}Lerni pli{{/a}}."],"Your site is not protected from spam.":["Via retejo ne estas protektita de trudaĵoj."],"Your Antispam key is valid.":["Via kontraŭ-truda ŝlosilo estas valida."],"Your site is protected from spam.":["Via retejo estas protektita de trudaĵoj."],"Checking key…":["Kontrolas ŝlosilon..."],"Your API key":["Via API-ŝlosilo"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Se vi ankoraŭ ne havas API-ŝlosilo, do {{a}}tie ĉi, akiru vian API-ŝlosilon{{/a}} kaj vi ricevos gvidon tra la akiro."],"No search results found for %(term)s":["Neniu serĉrezulto por %(term)s"],"Enter a search term to find settings or close search.":["Entajpu serĉterminon por trovi agordojn aŭ fermu serĉilon."],"Connections":["Konektoj"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Via retejo estas en programista reĝimo, do ĝi ne povas esti konektita al WordPress.com."],"Your site is connected to WordPress.com.":["Via retejo estas konektita al WordPress.com."],"You are the Jetpack owner.":["Vi estas la posedanto de Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Konektita kiel {{span}}%(username)s{{/span}}"],"View your Email Followers":["Vidi viajn retpoŝtajn sekvantojn"],"Color scheme":["Koloraranĝo"],"Enable Markdown use for comments.":["Ebligi Markdown por komentoj."],"Updated settings.":["Ĝisdatigis agordojn."],"Error updating settings. %(error)s":["Eraro dum ĝisdatigo de agordoj. %(error)s"],"Regenerated Post by Email address.":["Regeneris adreson por afiŝi retpoŝte."],"Error regenerating Post by Email address. %(error)s":["Eraro dum regenero de adreso por afiŝi retpoŝte. %(error)s"],"Updated settings. Refreshing page…":["Ĝisdatigis agordojn. Reŝargas paĝon..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Nun en {{a}}programista reĝimo{{/a}} (kelkaj ecoj estas malebligitaj) ĉar: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}La filtrilo jetpack_development_mode estas aktiva{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}La konstanto JETPACK_DEV_DEBUG estas difinita{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Mankas punkto en la URL de via retejo (ekz. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["La analizilo de Google estas senpaga servo por aldoni al niaj {{a}}enkonstruitaj statistikaĵoj{{/a}}, kun malsamaj informoj pri via trafiko. La statistikilo de WordPress.com kaj la analizilo de Google uzas malsamajn metodojn por identigi kaj spuri aktivecon ĉe via retejo, do kutime ili montras iomete malsamajn sumojn de vizitoj, rigardoj, ktp."],"Google Analytics":["Google-Analytics"],"Configure Google Analytics":["Agordi Google-Analytics"],"Activate Google Analytics":["Aktivigi Google-Analytics"],"Download the free apps":["Elŝuto de senpagaj aplikaĵoj"],"Upgrade Focus: VideoPress For Weddings":["Enfokusiĝo de promocio: VideoPress por nuptoj"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Nun vi povas ankaŭ agordi rilatajn afiŝojn en la Tajlorilo. {{ExternalLink}}Provu!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Defaŭlte, reklamoj montriĝas je la supro de ĉiu paĝo, afiŝo aŭ la unua artikolo sur via hejmpaĝo. Ankaŭ, vi povas aldoni ilin al la supro de via retejo kaj al kromprogrameta loko por gajni pli!"],"Display an ad unit at the top of your site.":["Montras unuopan reklamon supre de via retejo."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Per aktivigo de reklamoj, vi konsentas al la {{link}}Uzkondiĉoj{{/link}} de Automattic-reklamoj."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Via servilo estas malĝuste agordita, signifante ke Protekti de Jetpack ne bone povas protekti vian retejon."],"In \"Mobile\"":["En \"Portebla\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Agordu avizojn de via Observilo ĉe WordPress.com{{/link}}"],"View your earnings":["Rigardo al via enspezo"],"Configure site SEO":[""],"Activate SEO tools":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Por eki, alklaku Aldoni aŭdvidaĵon en la afiŝa redaktilo kaj alŝutu filmon; ni zorgos pri ĉio cetera."],"Video Hosting":["Gastigo de fimoj"],"SEO Tools":["Serĉ-optimumigo"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Altnivelaj serĉoptimumigaj iloj por helpi trovi vian retejon kiam homoj serĉas rilatan enhavon."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["La plej facila maniero alŝuti senreklamajn kaj senmarkajn filmojn al via retejo. Vi ricevos statistikaĵojn pri ludado de filmoj kaj la ludilo estas malpeza kaj respondema."],"You are running Jetpack on a staging server.":["Vi uzas Jetpack en klontesta servilo."],"More Info":["Pliaj informoj"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Administri videblecon de ŝatoj, de la agordoj de la kunhaviga modulo{{/a}}"],"Your current IP: %(ip)s":["Via nuna IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Estas nekonservitaj agordoj en la langeto kiuj malaperos se vi forlasos ĝin. Ĉu daŭrigi?"],"This will reset all Jetpack options, are you sure?":["Tio restarigos ĉiujn opciojn de Jetpack, ĉu vi ĉertas?"],"Search for a Jetpack feature.":["Serĉi econ de Jetpack."],"Configure your Security Scans":["Agordi la sekurecajn observadojn"],"Subscriber":["Abonanto"],"Big iPhone/iPad Update Now Available":["Nun haveblas granda ĝisdatigo de iPhone/iPad"],"The WordPress for Android App Gets a Big Facelift":["La aplikaĵo WordPress por Android ricevas renovigon"],"WordPress.com Likes are:":["Ŝatoj de WordPress.com estas:"],"A few catchy words to motivate your visitors to comment.":[""],"Hide the stats smiley face image":["Kaŝi la ridmienon de statistikaĵoj"],"Whitelisted IP addresses":["Aprobitaj IP-adresoj"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Montri reklamon por la WordPressaj aplikaĵoj por porteblaĵoj, en la piedo de la porpoŝa etoso"],"Copied!":["Kopiita!"],"Highlight and copy the following text to your clipboard:":["Emfazi kaj kopii la sekvan tekston al via tondejo:"],"Regenerate address":["Ree generi adreson"],"Cheatin' uh?":["Vi ruzemas, ĉu ne?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Ĉu vi farus la komplezon rakonti al ni la kialojn de la nekompleta konektiĝo al Jetpack, per tiu ĉi {{a}}2-demanda enketo{{/a}}?{{/p}}{{p}}Jetpack-konektiĝo estas deviga por la funkciado de niaj senpagaj sekurecaj kaj trafikaj ebloj.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bonvenon al {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Via Jetpack jam estas konektita."],"You're fueled up and ready to go, Jetpack is now active.":["Vi estas fuelita kaj preta flugi, Jetpack nun estas aktiva."],"You're fueled up and ready to go.":["Vi estas fuelita kaj preta flugi."],"You are currently running a development version of Jetpack.":["Vi nune uzas programistan version de Jetpack."],"Submit Beta feedback":["Sendi pritakson pri beta fazo"],"What would you like to see on your Jetpack Dashboard?":["Kion vi volas vidi en via administra panelo de Jetpack?"],"Let us know!":["Lasu nin scii!"],"Saving…":["Konservas..."],"Save Settings":["Konservi agordojn"],"Jetpack Stats Icon":["Piktogramo por statistikaĵoj de Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Aktivigu statistikaĵojn de la retejo{{/a}} por vidi detalitajn statistikaĵojn, ŝatojn, sekvantojn, abonantojn kaj pli! {{a1}}Lerni pli{{/a1}}"],"Activate Site Stats":["Aktivigi statistikaĵojn de la retejo"],"Site Backups":["Retejaj sekurkopioj"],"Upgrade":["Ĝisdatigi"],"ACTIVE":["AKTIVA"],"View your spam stats":["Rigardi viajn statistikaĵojn pri trudaĵoj"],"View your security dashboard":["Rigardi vian sekurecan panelon"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["La retejo estas en programista reĝimo, do vi ne povas konekti ĝin al WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Ligu vian konton al WordPress.com por plene profiti de Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Por aŭtomata, multampleksa skanado kontraŭ sekurecaj minacoj, bonvole {{a}}instalu kaj aktivigu{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack aktive blokas malicajn ensalut-provojn. Detaloj montriĝos post nelonge!"],"Total malicious attacks blocked on your site.":["La sumo de malicaj atakoj blokitaj de via retejo."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Aktivigu Protekti{{/a}} por teni vian retejon protektita de malicaj ensalut-provoj"],"All plugins are up-to-date. Awesome work!":["Ĉiuj kromprogramoj estas ĝisdataj. Bonega laboro!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack observas vian retejon. Se ni opinias, ke via retejo paneis, vi ricevos retleteron."],"Security":["Sekureco"],"Performance":["Rendimento"],"Backup":[""],"{{a}}View backup details{{/a}}.":["{{a}}Rigardi detalojn pri la sekurkopio{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Por aŭtomate krei sekurkopion de via tuta retejo, bonvole {{a}}instalu kaj aktivigu{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Ne haveblas en programista reĝimo."],"Unavailable in Dev Mode":["Nehaveblas en programista reĝimo"],"Activating %(slug)s…":["Aktivigas %(slug)s…"],"%(slug)s has been activated.":["%(slug)s estis aktivigita."],"%(slug)s failed to activate. %(error)s":["%(slug)s malsukcesis aktiviĝi. %(error)s"],"Deactivating %(slug)s…":["Malaktivigas %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s estis malaktivigita."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s fiaskis en malaktiviĝo. %(error)s"],"Updating %(slug)s settings…":["Ĝisdatigas agordojn de %(slug)s..."],"Updated %(slug)s settings.":["Ĝisdatigis agordojn de %(slug)s."],"Error updating %(slug)s settings. %(error)s":["Eraro dum ĝisdatigo de agordoj de %(slug)s. %(error)s"],"Updating %(slug)s address…":["Ĝisdatigas adreson de %(slug)s…"],"Regenerated %(slug)s address .":["Regeneris adreson %(slug)s."],"Error regenerating %(slug)s address. %(error)s":["Eraro dum regenero de adreso %(slug). %(error)s"],"Resetting Jetpack options…":["Restarigas opciojn de Jetpack..."],"Options reset.":["Opcioj estas restarigitaj."],"Options failed to reset.":["Opcioj mise ne restariĝis."],"There was an error disconnecting Jetpack. Error: %(error)s":["Eraro okazis dum malkonekto de Jetpack. Eraro: %(error)s"],"Unlinking from WordPress.com":["Malligiĝas de WordPress.com"],"Unlinked from WordPress.com.":["Malligita de WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Eraro okazis dum malligiĝo de WordPress.com. %(error)s"],"At A Glance":["Je ekrigardo"],"Dashboard":["Panelo"],"Automattic's Privacy Policy":["Privateca politiko de Automattic"],"WordPress.com Terms of Service":["Kondiĉoj por uzado de WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":[""],"Plugin Updates":["Ĝisdatigoj de kromprogramoj"],"No threats found, you're good to go!":["Neniuj minacoj trovitaj, vi pretas flugi!"],"{{a}}Contact Support{{/a}}":["{{a}}Kontakti helpon{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Vidi detalojn ĉe VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Ho ne, %(number)s minaco trovita.","Ho ne, %(number)s minacoj trovitaj."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Aktivigu Observilon{{/a}} por ricevi avertojn retpoŝte se via retejo paneos."],"Loading…":["Ŝargas..."],"Downtime monitor":[""],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Vidi pliajn statistikaĵojn ĉe WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Vidi detalitajn statistikaĵojn{{/button}}"],"All-time comments":["Komentoj dekomence"],"All-time views":["Rigardoj dekomence"],"%(number)s View":["Rigardo de %(number)s","Rigardoj de %(number)s"],"Best overall day":["La plej bona tago ĝenerale"],"Views today":["Rigardoj hodiaŭ"],"Months":["Monatoj"],"Weeks":["Semajnoj"],"Days":["Tagoj"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Io misis dum ŝargo de statistikaĵoj. Bonvole provu denove pli poste aŭ {{a}}rigardu viajn statistikaĵojn nun ĉe WordPress.com{{/a}}"],"Click to view detailed stats.":["Alklaku por vidi detalitajn statistikaĵojn."],"Views: %(numberOfViews)s":["Rigardoj: %(numberOfViews)s"],"Week of %(date)s":["Semajno de %(date)s"],"Site Security":["Reteja sekureco"],"Link to WordPress.com":["Ligi al WordPress.com"],"Unlink me from WordPress.com":["Malligi min de WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[" Eraro dum konektiĝo kun Jetpack. Bonvole alklaku al \"Konektiĝi kun WordPress.com\" denove."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Eraro dum konektiĝo kun Jetpack; malaktivigu poste reaktivigu la kromprogramon Jetpack, post tio ree konektiĝu."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Vi bezonas resti ensalutinta al via WordPressa blogo dum vi rajtigas Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Via Jetpack misfunkcias{{/s}} Ni pardonpetas pro la problemo. Bonvole provu denove pli poste, se la problemo daŭros bonvole kontaktu helpon uzante tiun ĉi mesaĝon: %(error_key)s"],"Disconnecting Jetpack":["Malkonekto de Jetpack"],"Learn more":["Lerni pli"],"Posts":["Afiŝoj"],"Front page":["Ĉefpaĝo"],"Upload videos":[""],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Montri rilatan enhavon post afiŝoj"],"Related":["Rilataj"],"Disconnect":["Malligiĝi"],"Save":["Konservi"],"Media":["Aŭdvidaĵoj"],"Mobile Theme":["Porpoŝa etoso"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":[""],"Site Stats":["Statistikaĵoj de la retejo"],"Sharing":["Kunhavigado"],"Testimonials":["Atestoj"],"Cancel":["Rezigni"],"Comments":["Komentoj"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack ne povis kontakti WordPress.com: %(error_key)s. Tio kutime signifas, ke io estas malĝuste agordita ĉe via interreta gastiganto."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com nun spertas problemojn kaj ne povas fueli vian Jetpack. Bonvole provu denove poste."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Via Jetpack misfunkcias.{{/s}} Konekto de tiu ĉi retejo kun WordPress.com ne eblas. Tio kutime signifas, ke via retejo ne estas publike alirebla (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Via retejo bezonas esti publike alirebla por uzi Jetpack: %(error_key)s"],"Edit":["Redakti"],"Connected":["Konektita"],"Activate":["Aktivigi"],"Active":["Aktivaj"],"Settings":["Agordoj"],"Learn More":["Lerni pli"],"Disconnect Jetpack":["Malkonekti Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":[""],"Settings header\u0004Anti-spam":[""],"Settings header\u0004WP.me Shortlinks":[""],"Settings header\u0004Auto-update plugins":[""],"Settings header\u0004Widgets":[""],"Settings header\u0004Downtime monitoring":["Observado de malfunkcio"],"Settings header\u0004Privacy Settings":["Privatecaj agordoj"],"Settings header\u0004WordPress.com toolbar":["Ilobreto de WordPress.com"],"Settings header\u0004Composing":["Verkado"],"Settings header\u0004Site stats":["Retejaj statistikaĵoj"],"Settings header\u0004Search engine optimization":["Optimumigo por serĉiloj"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Kunhavigaj butonoj"],"Settings header\u0004Publicize connections":["Konektoj de Publici"],"Settings header\u0004Like buttons":["Ŝat-butonoj"],"Settings header\u0004Brute force attack protection":["Protekto de brutfortaj atakoj"],"Settings header\u0004Backups and security scanning":["Sekurkopioj kaj sekureca skanado"],"Notice in the empty statistics chart\u0004No activity this period":[""],"Settings header, noun.\u0004WordPress.com login":[""],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":[""],"A caption for a button to cancel an action.\u0004Cancel":[""],"Link to learn more about Jetpack.\u0004About":[""],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Navigation item.\u0004Performance":[""],"Navigation item.\u0004My Plan":[""],"Navigation item.\u0004Dev Tools":["Iloj por programistoj"],"Navigation item.\u0004Settings":["Agordoj"],"Navigation item.\u0004Discussion":["Diskuto"],"Navigation item.\u0004Traffic":["Trafiko"],"Navigation item.\u0004Sharing":["Kunhavigo"],"Navigation item.\u0004At A Glance":["Je ekrigardo"],"Navigation item.\u0004Plans":["Pakaĵoj"],"Navigation item.\u0004Writing":["Verkado"],"Navigation item.\u0004Reset Options (dev only)":["Restarigi opciojn (nur programistaj versioj)"],"Navigation item.\u0004Security":["Sekureco"],"Navigation item.\u0004At a Glance":["Je ekrigardo"],"Search term.\u0004terms of service":["uzkondiĉoj"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["datumoj"],"Search term.\u0004tracks":["spuroj"],"Search term.\u0004privacy":["privateco"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Promociiĝi"],"Button caption\u0004Saving…":["Konservas..."],"Button caption\u0004Save settings":["Konservi agordojn"],"A heading for a block of related posts.\u0004Related":["Rilataj"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Antaŭrigardo"],"Short warning message\u0004Updates needed":["Ĝisdatigoj bezonataj"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Pagita"],"A header for a preview area in the configuration screen.\u0004Preview":["Antaŭrigardo"],"Ads header\u0004Ads":["Reklamoj"],"Dashboard widget header\u0004Site connection":["Reteja konekto"],"Dashboard widget header\u0004Account connection":["Konekto de konto"],"A caption for a small button to fix security issues.\u0004Threats":["Minacoj"],"A caption for a small button to fix security issues.\u0004FIX":["RIPARI"],"Short warning message about new threats found.\u0004Threats found!":["Minacoj trovitaj!"],"Short message informing user that the site is secure.\u0004Secure":["Sekura"],"Caption for a button to set up a feature.\u0004Set up":["Agordi"],"verb\u0004Copy":["Kopii"],"Shorthand for Privacy Policy.\u0004Privacy":["Privateco"],"Shorthand for Terms of Service.\u0004Terms":["Kondiĉoj"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Senerarigilo"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Trudaj komentoj blokitaj."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-es_AR-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-es_AR-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index feaf1a7c..00000000
--- a/plugins/jetpack/languages/json/jetpack-es_AR-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"":{"po-revision-date":"2016-08-30 18:31:41+0000","mime-version":"1.0","content-type":"text/plain; charset=UTF-8","content-transfer-encoding":"8bit","plural-forms":"nplurals=2; plural=n != 1;","x-generator":"GlotPress/2.4.0-alpha","language":"es_AR","project-id-version":"Plugins - Jetpack by WordPress.com - Development (trunk)"},"We're here to help":[null,""],"Jetpack comes with free, basic support for all users.":[null,""],"Ask a question":[null,""],"Search our support site":[null,""],"Get a faster resolution to your support questions.":[null,""],"Host fast, high-quality, ad-free video.":[null,""],"Generate income with high-quality ads.":[null,""],"Real-time site backups and automatic threat resolution.":[null,""],"Protect against data loss, malware, and malicious attacks.":[null,""],"Integrate easily with Google Analytics.":[null,""],"Help your content get found and shared with SEO tools.":[null,""],"Protect your site from spam.":[null,""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[null,""],"Spam filtering":[null,""],"Daily, automated malware scanning":[null,""],"13Gb of high-speed video hosting":[null,""],"Daily, automated backups (unlimited storage)":[null,""],"Daily, automated malware scanning with automated resolution":[null,""],"Priority WordPress and security support":[null,""],"Unlimited high-speed video hosting":[null,""],"SEO preview tools":[null,""],"Site stats, related content, and sharing tools":[null,""],"Brute force attack protection and uptime monitoring":[null,""],"Unlimited, high-speed image hosting":[null,""],"By disconnecting %(siteName)s from WordPress.com you will no longer have access to the following:":[null,""],"Read more about Jetpack benefits":[null,""],"An Automattic Airline":[null,""],"Manage site connection":[null,""],"Connect your account to WordPress.com to view more stats":[null,""],"Theme enhancements":[null,""],"Load more posts using the default theme behavior":[null,""],"Load more posts in page with a button":[null,""],"Load more posts as the reader scrolls down":[null,""],"Theme support required.":[null,""],"Learn more about adding support for Infinite Scroll to your theme.":[null,""],"Use excerpts instead of full posts on front page and archive pages":[null,""],"Show featured images":[null,""],"Must be enabled to use tiled galleries.":[null,""],"Enable the WordPress.com toolbar":[null,""],"The WordPress.com toolbar replaces the default admin bar and offers quick links to the Reader, all your sites, your WordPress.com profile, and notifications. Centralize your WordPress experience with a single global toolbar.":[null,""],"Writing tools available to you will be shown here when an administrator enables them.":[null,""],"Portfolios":[null,""],"Add, organize, and display {{portfolioLink}}portfolios{{/portfolioLink}}. If your theme doesn’t support portfolios yet, you can display them using the shortcode ( [portfolios] )":[null,""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[null,""],"Bing":[null,""],"Yandex":[null,""],"Generate XML sitemaps":[null,""],"Your sitemap is automatically sent to all major search engines for indexing.":[null,""],"Your site is not currently accessible to search engines. You might have \"Search Engine Visibility\" disabled in your {{a}}Reading Settings{{/a}}.":[null,""],"Collecting valuable traffic stats and insights":[null,""],"The image helps collect stats, but should work when hidden.":[null,""],"Count logged in page views from":[null,""],"Allow stats reports to be viewed by":[null,""],"You can tweak these settings if you'd like more advanced control. Read more about what you can do to {{a}}optimize your site's SEO{{/a}}.":[null,""],"Configure your SEO settings":[null,""],"In \"Upgrade\"":[null,""],"Configure your Google Analytics settings":[null,""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[null,""],"Enable ads and display an ad below each post":[null,""],"Display an additional ad at the top of each page":[null,""],"Configure your sharing buttons":[null,""],"Sharing buttons can be added to your posts so that your users can share your content to their social networks and show their support.":[null,""],"Connect your social media accounts":[null,""],"Connect your user account to WordPress.com to use this feature":[null,""],"Publicize lets you connect your site to various social networking services. Once connected to a service, you can share your posts with that service automatically.":[null,""],"Allow readers to show their appreciation of your posts by adding a like button to your content":[null,""],"Match accounts using email addresses":[null,""],"Require accounts to use WordPress.com Two-Step Authentication":[null,""],"Add to whitelist":[null,""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[null,""],"Your site is backed up and threat-free.":[null,""],"Checking your spam protection…":[null,""],"Fetching key…":[null,""],"Your site needs an Antispam key.":[null,""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[null,""],"Your site is not protected from spam.":[null,""],"Your Antispam key is valid.":[null,""],"Your site is protected from spam.":[null,""],"Checking key…":[null,""],"Your API key":[null,""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[null,""],"No search results found for %(term)s":[null,""],"Enter a search term to find settings or close search.":[null,""],"Connections":[null,""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[null,""],"Your site is connected to WordPress.com.":[null,""],"You are the Jetpack owner.":[null,""],"Connected as {{span}}%(username)s{{/span}}":[null,""],"View your Email Followers":[null,""],"Connect your user account to WordPress.com to view your email followers":[null,""],"Color scheme":[null,""],"Enable Markdown use for comments.":[null,""],"router There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"Updated settings.":[null,""],"Error updating settings. %(error)s":[null,""],"Regenerated Post by Email address.":[null,""],"Error regenerating Post by Email address. %(error)s":[null,""],"Updated settings. Refreshing page…":[null,""],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because:":[null,""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[null,""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[null,""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[null,""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[null,""],"Configure Google Analytics settings.":[null,""],"Image of WordPress login screen protected by Jetpack":[null,""],"Google Analytics":[null,""],"Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.":[null,""],"Configure Google Analytics":[null,""],"Activate Google Analytics":[null,""],"Download the Free Apps":[null,""],"Upgrade Focus: VideoPress For Weddings":[null,""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[null,""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[null,""],"Display an ad unit at the top of your site.":[null,""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[null,""],"Image of managing your sites themes on your WordPress.com dashboard":[null,""],"Image of managing your sites plugins on your WordPress.com dashboard":[null,""],"Image of the new post editor on your WordPress.com dashboard":[null,""],"Image of your sites stats on your WordPress.com dashboard":[null,""],"Image of your WordPress.com reader":[null,""],"Example of three devices to use the WordPress apps. An iPhone, Android phone, and a apple laptop computer.":[null,""],"Download the free WordPress app for your iPhone":[null,""],"Download the free WordPress app for your Android based phone":[null,""],"Download the free WordPress app for your apple computer":[null,""],"Download the free WordPress app for your PC ":[null,""],"Download the free WordPress app for your Linux machine":[null,""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[null,""],"Upgrade to a paid plan to unlock world-class security, spam protection tools, priority support, SEO and monetization tools.":[null,""],"Ads":[null,""],"Earn income by allowing Jetpack to display high quality ads (powered by WordAds).":[null,""],"Activate Ads":[null,""],"Income generation from ads":[null,""],"Premium traffic and monetization tools":[null,""],"The Jetpack Premium plan now offers you the ability to generate income from your site by showing high-quality paid ads to your visitors. Professional plan customers also benefit from SEO tools to help optimize search engine traffic.":[null,""],"We support all Jetpack users, regardless of plan. But customers on a paid subscription enjoy priority support so that security issues are identified and fixed for you as soon as possible. ":[null,""],"In \"Mobile\"":[null,""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[null,""],"View your earnings":[null,""],"Activate VideoPress":[null,""],"Upload Videos Now":[null,""],"Make sure your site is easily found on search engines with SEO tools for your content and social posts.":[null,""],"Activate this module to use the advanced SEO tools.":[null,""],"How much is your website worth?":[null,""],"For less than the price of a coffee a month you can rest easy knowing your hard work (or livelihood) is backed up.":[null,""],"Configure Site SEO":[null,""],"Activate SEO Tools":[null,""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[null,""],"Introducing our most affordable backups and security plan yet":[null,""],"The Personal Plan keeps your data, site, and hard work safe.":[null,""],"Your site is on the Jetpack Personal plan":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), and unlimited storage.":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), unlimited backup storage, security scanning, 13Gb of ad-free video hosting, income generation from ads, and priority support.":[null,""],"You get spam-protection, real-time backups (unlimited archive), unlimited backup storage, security scanning, unlimited ad-free video hosting, income generation from ads, SEO tools, and priority support.":[null,""],"Daily backup of all your site data with unlimited space and one-click restores (powered by VaultPress).":[null,""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support (powered by VaultPress).":[null,""],"Backups & Security Scanning":[null,""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, one-click threat resolution, and priority support (powered by VaultPress).":[null,""],"13Gb of fast, optimized, and ad-free video hosting for your site (powered by VideoPress).":[null,""],"Video Hosting":[null,""],"Fast, optimized, ad-free, and unlimited video hosting for your site (powered by VideoPress).":[null,""],"SEO Tools":[null,""],"Advanced SEO tools to help your site get found when people search for relevant content.":[null,""],"Daily and on-demand security scanning":[null,""],"Real-time backups and one-click threat resolution":[null,""],"Unlimited and ad-free video hosting":[null,""],"Need more? Running a business site?":[null,""],"If your site is important to you, consider protecting and improving it with some of our advanced features: ":[null,""],"On-demand security scanning":[null,""],"Advanced SEO tools":[null,""],"Configure your SEO settings.":[null,""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[null,""],"You are running Jetpack on a staging server.":[null,""],"More Info":[null,""],"Search your content.":[null,""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[null,""],"Your current IP: %(ip)s":[null,""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"This will reset all Jetpack options, are you sure?":[null,""],"Search for a Jetpack feature.":[null,""],"Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.":[null,""],"You can see the information about security scanning in the \"At a Glance\" section.":[null,""],"Configure your Security Scans":[null,""],"This module has no configuration options":[null,"Este módulo no tiene opciones de configuración."],"Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch.":[null,"Que los motores de búsqueda y tus visitantes sepan que te tomás en serio la integridad de tus sitios mejorando Jetpack. Nuestras herramientas anti-spam eliminarán el spam de comentarios, protegerán tu posicionamiento en buscadores y harán fácil a tus visitantes seguir en contacto."],"Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.":[null,""],"{{link}}Configure your %(module_slug)s Settings {{/link}}":[null,""],"Subscriber":[null,""],"Big iPhone/iPad Update Now Available":[null,""],"The WordPress for Android App Gets a Big Facelift":[null,""],"WordPress.com Likes are:":[null,""],"Comments headline":[null,""],"A few catchy words to motivate your readers to comment.":[null,""],"Show a \"follow blog\" option in the comment form":[null,""],"Show a \"follow comments\" option in the comment form":[null,""],"Put a chart showing 48 hours of views in the admin bar":[null,""],"Hide the stats smiley face image":[null,""],"Whitelisted IP addresses":[null,""],"Show photo metadata (Exif) in carousel, when available":[null,""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[null,""],"Copied!":[null,""],"Highlight and copy the following text to your clipboard:":[null,""],"Regenerate address":[null,""],"Automatically proofread content when: ":[null,""],"A post or page is first published":[null,""],"A post or page is updated":[null,""],"Automatic Language Detection":[null,""],"The proofreader supports English, French, German, Portuguese and Spanish.":[null,""],"Enable proofreading for the following grammar and style rules: ":[null,""],"Add a phrase":[null,""],"Cheatin' uh?":[null,""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[null,""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[null,""],"Your Jetpack is already connected.":[null,""],"You're fueled up and ready to go, Jetpack is now active.":[null,""],"You're fueled up and ready to go.":[null,""],"You are currently running a development version of Jetpack.":[null,""],"Submit Beta feedback":[null,""],"You, %(userName)s, are not connected to WordPress.com.":[null,""],"What would you like to see on your Jetpack Dashboard?":[null,""],"Let us know!":[null,""],"Welcome to Jetpack":[null,""],"Please connect to or create a WordPress.com account to start using Jetpack. This will enable powerful security, traffic, and customization services.":[null,""],"No account? Create one for free…":[null,""],"Saving…":[null,""],"Save Settings":[null,""],"Jetpack Stats Icon":[null,""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[null,""],"Activate Site Stats":[null,""],"Security Scanning":[null,""],"Upgrade":[null,""],"ACTIVE":[null,""],"Hackers, botnets and spammers attack websites indiscriminately. Their goal is to attack everywhere and often. Our goal is to help you prepare by blocking these threats, and in worst-case-scenarios we'll be here to help you restore your site to its former glory.":[null,""],"Your site is on the Free Jetpack Plan":[null,""],"Your site is on the Jetpack Premium plan":[null,""],"Your site is on the Jetpack Professional plan":[null,""],"Your site is on Development Mode":[null,""],"Once you connect, you can upgrade to a paid plan in order to unlock world-class security, spam protection tools, and priority support.":[null,""],"State-of-the-art spam defense powered by Akismet.":[null,""],"View your spam stats":[null,""],"Configure Akismet":[null,""],"View your security dashboard":[null,""],"Configure VaultPress":[null,""],"Real-time backups":[null,""],"One-click threat resolution":[null,""],"Compare Plans":[null,""],"Maximum grade security":[null,""],"Real-time backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense, and brute-force login protection - all in one place and optimized for WordPress.":[null,""],"Bulletproof spam filtering protects your brand, your readers, and improves SEO. Malware scanning helps maintain peace of mind and keeps your backend safe from intruders.":[null,""],"Enjoy priority support":[null,""],"The site is in Development Mode, so you can not connect to WordPress.com.":[null,""],"Link your account to WordPress.com to get the most out of Jetpack.":[null,""],"Powerful WordPress.com features on every device.":[null,""],"Manage all your sites from a single dashboard.":[null,""],"Feel the performance":[null,""],"All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around.":[null,""],"Bulk and automatic updates":[null,""],"Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.":[null,""],"Focus on your Writing":[null,""],"Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.":[null,""],"Try the New Editor":[null,""],"Connect with your Visitors":[null,""],"Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.":[null,""],"View Your Stats":[null,""],"Connect with the Community":[null,""],"The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.":[null,""],"Launch Reader":[null,""],"Inspiration strikes any time, anywhere.":[null,""],"Get WordPress apps for any screen.":[null,""],"In Your Pocket":[null,""],"Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.":[null,""],"WordPress.com in the App Store":[null,""],"WordPress.com in Google Play":[null,""],"On Your Desktop":[null,""],"A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.":[null,""],"WordPress.com for Mac OS X":[null,""],"WordPress.com for Windows":[null,""],"WordPress.com for Linux":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.":[null,""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[null,""],"Total malicious attacks blocked on your site.":[null,""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[null,""],"All plugins are up-to-date. Awesome work!":[null,""],"{{a}}Activate Manage{{/a}} to turn on auto updates and manage your plugins from WordPress.com.":[null,""],"Jetpack is improving and optimizing your image speed.":[null,""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[null,""],"Security":[null,""],"Performance":[null,""],"Backups":[null,""],"{{a}}View backup details{{/a}}.":[null,""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"Unavailable in Dev Mode.":[null,""],"Spam Protection":[null,""],"For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.":[null,""],"For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.":[null,""],"Invalid key":[null,""],"Unavailable in Dev Mode":[null,""],"Activating recommended features…":[null,""],"Recommended features active.":[null,""],"Recommended features failed to activate. %(error)s":[null,""],"%(slug)s has been activated.":[null,""],"%(slug)s failed to activate. %(error)s":[null,""],"%(slug)s has been deactivated.":[null,""],"%(slug)s failed to deactivate. %(error)s":[null,""],"Updating %(slug)s settings…":[null,""],"Updated %(slug)s settings.":[null,""],"Error updating %(slug)s settings. %(error)s":[null,""],"Updating %(slug)s address…":[null,""],"Regenerated %(slug)s address .":[null,""],"Error regenerating %(slug)s address. %(error)s":[null,""],"Resetting Jetpack options…":[null,""],"Options reset.":[null,""],"Options failed to reset.":[null,""],"There was an error disconnecting Jetpack. Error: %(error)s":[null,""],"Unlinking from WordPress.com":[null,""],"Unlinked from WordPress.com.":[null,""],"Error unlinking from WordPress.com. %(error)s":[null,""],"At A Glance":[null,""],"Clichés":[null,""],"Dashboard":[null,""],"Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.":[null,""],"Automattic's Privacy Policy":[null,""],"WordPress.com Terms of Service":[null,""],"{{a}}Activate Site Verification{{/a}} to verify your site and increase ranking with Google, Bing, and Pinterest.":[null,""],"Site Verification Tools are active. Ensure your site is verified with Google, Bing, and Pinterest for more accurate indexing and ranking. {{a}}Verify now{{/a}}":[null,""],"Site Verification Tools":[null,""],"{{a}}Activate Photon{{/a}} to enhance the performance and speed of your images.":[null,""],"Image Performance %(photon)s":[null,""],"{{a}}Activate Manage and turn on auto updates{{/a}}":[null,""],"{{a}}Turn on plugin auto updates{{/a}}":[null,""],"Plugin Updates":[null,""],"To automatically back up your entire site, please {{a}}upgrade your account.{{/a}}.":[null,""],"Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.":[null,""],"No threats found, you're good to go!":[null,""],"{{a}}Contact Support{{/a}}":[null,""],"{{a}}View details at VaultPress.com{{/a}}":[null,""],"{{a}}Activate Monitor{{/a}} to receive notifications if your site goes down.":[null,""],"Loading…":[null,""],"Downtime Monitoring":[null,""],"{{button}}View more stats on WordPress.com {{/button}}":[null,""],"{{button}}View detailed stats{{/button}}":[null,""],"All-time comments":[null,""],"All-time views":[null,""],"Best overall day":[null,""],"Views today":[null,""],"Months":[null,""],"Weeks":[null,""],"Days":[null,""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[null,""],"Click to view detailed stats.":[null,""],"Views: %(numberOfViews)s":[null,""],"Week of %(date)s":[null,""],"Manage security on WordPress.com":[null,""],"Skip this step":[null,""],"Skip the Jetpack Jumpstart process":[null,""],"Features can be activated or deactivated at any time.":[null,""],"Jetpack's recommended features include:":[null,""],"Activate Recommended Features":[null,""],"Quickly enhance your site by activating Jetpack's recommended features.":[null,""],"Jump Start your Site":[null,""],"Link to WordPress.com":[null,""],"Unlink me from WordPress.com":[null,""],"Join the millions of users who rely on Jetpack to enhance and secure their sites. We're passionate about WordPress and here to make your life easier.":[null,""],"Jetpack is supported by some of the most technical and passionate people in the community. They're located around the globe and ready to help you.":[null,""],"Did we mention free, professional support?":[null,""],"Jetpack utilizes the state-of-the-art WordPress.com content delivery network to load your gorgeous imagery super fast. Optimized for any device, and its completely free.":[null,""],"Lightning fast, optimized images":[null,""],"Never fall behind on a security release or waste time updating multiple sites.":[null,""],"Automatic site updates.":[null,""],"Live site monitoring.":[null,""],"Gain peace of mind with Protect, the tool that has blocked billions of login attacks across millions of sites.":[null,""],"Block site attacks.":[null,""],"Jetpack blocks malicious log in attempts, lets you know if your site goes down, and can automatically update your plugins, so you don’t have to worry.":[null,""],"Site security and peace of mind":[null,""],"Jetpack harnesses the power of WordPress.com to show you detailed insights about your visitors, what they’re reading, and where they’re coming from.":[null,""],"Keep visitors engaged by giving them more to share and read with Related Posts.":[null,""],"Increase page views.":[null,""],"Give visitors the tools to share and subscribe to your content.":[null,""],"Build a community.":[null,""],"Sharing & Like Buttons":[null,""],"Automated social marketing.":[null,""],"Jetpack has many traffic and engagement tools to help you get more viewers to your site and keep them there.":[null,""],"Manage Plugins":[null,""],"Stress less. Monitor will send you real-time alerts if your site ever goes down.":[null,"Relajáte. Monitor te enviará alertas en tiempo real si tu sitio se cae."],"Track your growth":[null,"Seguí tu crecimiento"],"Use Publicize to automatically share your posts with friends, followers, and the world.":[null,"Usá Publicitar para compartir automáticamente tus entradas con amigos, seguidores y el mundo."],"Drive more traffic to your site":[null,"Traé más tráfico a tu sitio"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[null,""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[null,"Tuvimos un inconveniente conectando Jetpack. Desactivá y reactivá el plugin Jetpack, luego conectáte de nuevo."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[null,"Tenés que mantener la sesión iniciada en tu blog WordPress mientras autorizas Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[null,""],"Disconnecting Jetpack":[null,"Desconectando Jetpack"],"Learn more":[null,"Más Información"],"Pinterest":[null,"Pinterest"],"Google":[null,"Google"],"Show related content after posts":[null,"Mostrar contenido relacionado después de las entradas"],"Use a large and visually striking layout":[null,"Usar un diseño grande y visualmente atractivo."],"Show a \"Related\" header to more clearly separate the related section from posts":[null,"Mostrar el texto \"Relacionado\" para separar más claramente la sección de las entradas"],"Related":[null,"Relacionado"],"Email Address":[null,"Dirección de email"],"Media":[null,"Medios"],"Site Stats":[null,"Estadísticas del sitio"],"Testimonials":[null,"Testimonios"],"Comments":[null,"Comentarios"],"Ignored Phrases":[null,"Frases ignoradas"],"Use automatically detected language to proofread posts and pages":[null,"Utilizar idioma detectado automáticamente para corregir entradas y páginas"],"Redundant Phrases":[null,"Frases Redundantes"],"Phrases to Avoid":[null,"Frases para Evitar"],"Passive Voice":[null,"Voz Pasiva"],"Jargon":[null,"Jerga"],"Hidden Verbs":[null,"Verbos ocultos"],"Double Negatives":[null,"Doble negaciones"],"Diacritical Marks":[null,"Signos Diacríticos"],"Complex Phrases":[null,"Frases Complejas"],"Bias Language":[null,"Sesgos de Idioma"],"English Options":[null,"Opciones de Inglés"],"Proofreading":[null,"Revisión"],"Connect Jetpack":[null,"Conectá Jetpack"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[null,""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[null,"WordPress.com tiene problemas ahora y no puede reabastecer tu Jetpack. Por favor, probá de nuevo luego."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[null,""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[null,""],"You have successfully disconnected Jetpack":[null,""],"Active":[null,"Activo"],"Settings":[null,"Configuración"],"Learn More":[null,"Más Información"],"Disconnect Jetpack":[null,"Desconectar Jetpack"],"Test your site’s compatibility with Jetpack.":[null,""]} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-es_CL-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-es_CL-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index ce86a92d..00000000
--- a/plugins/jetpack/languages/json/jetpack-es_CL-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"":{"po-revision-date":"2016-03-07 20:53:58+0000","mime-version":"1.0","content-type":"text/plain; charset=UTF-8","content-transfer-encoding":"8bit","plural-forms":"nplurals=2; plural=n != 1;","x-generator":"GlotPress/2.4.0-alpha","language":"es_CL","project-id-version":"Plugins - Jetpack by WordPress.com - Development (trunk)"},"We're here to help":[null,""],"Jetpack comes with free, basic support for all users.":[null,""],"Ask a question":[null,""],"Search our support site":[null,""],"Get a faster resolution to your support questions.":[null,""],"Host fast, high-quality, ad-free video.":[null,""],"Generate income with high-quality ads.":[null,""],"Real-time site backups and automatic threat resolution.":[null,""],"Protect against data loss, malware, and malicious attacks.":[null,""],"Integrate easily with Google Analytics.":[null,""],"Help your content get found and shared with SEO tools.":[null,""],"Protect your site from spam.":[null,""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[null,""],"Spam filtering":[null,""],"Daily, automated malware scanning":[null,""],"13Gb of high-speed video hosting":[null,""],"Daily, automated backups (unlimited storage)":[null,""],"Daily, automated malware scanning with automated resolution":[null,""],"Priority WordPress and security support":[null,""],"Unlimited high-speed video hosting":[null,""],"SEO preview tools":[null,""],"Site stats, related content, and sharing tools":[null,""],"Brute force attack protection and uptime monitoring":[null,""],"Unlimited, high-speed image hosting":[null,""],"By disconnecting %(siteName)s from WordPress.com you will no longer have access to the following:":[null,""],"Read more about Jetpack benefits":[null,""],"An Automattic Airline":[null,""],"Manage site connection":[null,""],"Connect your account to WordPress.com to view more stats":[null,""],"Theme enhancements":[null,""],"Load more posts using the default theme behavior":[null,""],"Load more posts in page with a button":[null,""],"Load more posts as the reader scrolls down":[null,""],"Theme support required.":[null,""],"Learn more about adding support for Infinite Scroll to your theme.":[null,""],"Use excerpts instead of full posts on front page and archive pages":[null,""],"Show featured images":[null,""],"Must be enabled to use tiled galleries.":[null,""],"Enable the WordPress.com toolbar":[null,""],"The WordPress.com toolbar replaces the default admin bar and offers quick links to the Reader, all your sites, your WordPress.com profile, and notifications. Centralize your WordPress experience with a single global toolbar.":[null,""],"Writing tools available to you will be shown here when an administrator enables them.":[null,""],"Portfolios":[null,""],"Add, organize, and display {{portfolioLink}}portfolios{{/portfolioLink}}. If your theme doesn’t support portfolios yet, you can display them using the shortcode ( [portfolios] )":[null,""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[null,""],"Bing":[null,""],"Yandex":[null,""],"Generate XML sitemaps":[null,""],"Your sitemap is automatically sent to all major search engines for indexing.":[null,""],"Your site is not currently accessible to search engines. You might have \"Search Engine Visibility\" disabled in your {{a}}Reading Settings{{/a}}.":[null,""],"Collecting valuable traffic stats and insights":[null,""],"The image helps collect stats, but should work when hidden.":[null,""],"Count logged in page views from":[null,""],"Allow stats reports to be viewed by":[null,""],"You can tweak these settings if you'd like more advanced control. Read more about what you can do to {{a}}optimize your site's SEO{{/a}}.":[null,""],"Configure your SEO settings":[null,""],"In \"Upgrade\"":[null,""],"Configure your Google Analytics settings":[null,""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[null,""],"Enable ads and display an ad below each post":[null,""],"Display an additional ad at the top of each page":[null,""],"Configure your sharing buttons":[null,""],"Sharing buttons can be added to your posts so that your users can share your content to their social networks and show their support.":[null,""],"Connect your social media accounts":[null,""],"Connect your user account to WordPress.com to use this feature":[null,""],"Publicize lets you connect your site to various social networking services. Once connected to a service, you can share your posts with that service automatically.":[null,""],"Allow readers to show their appreciation of your posts by adding a like button to your content":[null,""],"Match accounts using email addresses":[null,""],"Require accounts to use WordPress.com Two-Step Authentication":[null,""],"Add to whitelist":[null,""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[null,""],"Your site is backed up and threat-free.":[null,""],"Checking your spam protection…":[null,""],"Fetching key…":[null,""],"Your site needs an Antispam key.":[null,""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[null,""],"Your site is not protected from spam.":[null,""],"Your Antispam key is valid.":[null,""],"Your site is protected from spam.":[null,""],"Checking key…":[null,""],"Your API key":[null,""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[null,""],"No search results found for %(term)s":[null,""],"Enter a search term to find settings or close search.":[null,""],"Connections":[null,""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[null,""],"Your site is connected to WordPress.com.":[null,""],"You are the Jetpack owner.":[null,""],"Connected as {{span}}%(username)s{{/span}}":[null,""],"View your Email Followers":[null,""],"Connect your user account to WordPress.com to view your email followers":[null,""],"Color scheme":[null,""],"Enable Markdown use for comments.":[null,""],"router There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"Updated settings.":[null,""],"Error updating settings. %(error)s":[null,""],"Regenerated Post by Email address.":[null,""],"Error regenerating Post by Email address. %(error)s":[null,""],"Updated settings. Refreshing page…":[null,""],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because:":[null,""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[null,""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[null,""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[null,""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[null,""],"Configure Google Analytics settings.":[null,""],"Image of WordPress login screen protected by Jetpack":[null,""],"Google Analytics":[null,""],"Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.":[null,""],"Configure Google Analytics":[null,""],"Activate Google Analytics":[null,""],"Download the Free Apps":[null,""],"Upgrade Focus: VideoPress For Weddings":[null,""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[null,""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[null,""],"Display an ad unit at the top of your site.":[null,""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[null,""],"Image of managing your sites themes on your WordPress.com dashboard":[null,""],"Image of managing your sites plugins on your WordPress.com dashboard":[null,""],"Image of the new post editor on your WordPress.com dashboard":[null,""],"Image of your sites stats on your WordPress.com dashboard":[null,""],"Image of your WordPress.com reader":[null,""],"Example of three devices to use the WordPress apps. An iPhone, Android phone, and a apple laptop computer.":[null,""],"Download the free WordPress app for your iPhone":[null,""],"Download the free WordPress app for your Android based phone":[null,""],"Download the free WordPress app for your apple computer":[null,""],"Download the free WordPress app for your PC ":[null,""],"Download the free WordPress app for your Linux machine":[null,""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[null,""],"Upgrade to a paid plan to unlock world-class security, spam protection tools, priority support, SEO and monetization tools.":[null,""],"Ads":[null,""],"Earn income by allowing Jetpack to display high quality ads (powered by WordAds).":[null,""],"Activate Ads":[null,""],"Income generation from ads":[null,""],"Premium traffic and monetization tools":[null,""],"The Jetpack Premium plan now offers you the ability to generate income from your site by showing high-quality paid ads to your visitors. Professional plan customers also benefit from SEO tools to help optimize search engine traffic.":[null,""],"We support all Jetpack users, regardless of plan. But customers on a paid subscription enjoy priority support so that security issues are identified and fixed for you as soon as possible. ":[null,""],"In \"Mobile\"":[null,""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[null,""],"View your earnings":[null,""],"Activate VideoPress":[null,""],"Upload Videos Now":[null,""],"Make sure your site is easily found on search engines with SEO tools for your content and social posts.":[null,""],"Activate this module to use the advanced SEO tools.":[null,""],"How much is your website worth?":[null,""],"For less than the price of a coffee a month you can rest easy knowing your hard work (or livelihood) is backed up.":[null,""],"Configure Site SEO":[null,""],"Activate SEO Tools":[null,""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[null,""],"Introducing our most affordable backups and security plan yet":[null,""],"The Personal Plan keeps your data, site, and hard work safe.":[null,""],"Your site is on the Jetpack Personal plan":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), and unlimited storage.":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), unlimited backup storage, security scanning, 13Gb of ad-free video hosting, income generation from ads, and priority support.":[null,""],"You get spam-protection, real-time backups (unlimited archive), unlimited backup storage, security scanning, unlimited ad-free video hosting, income generation from ads, SEO tools, and priority support.":[null,""],"Daily backup of all your site data with unlimited space and one-click restores (powered by VaultPress).":[null,""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support (powered by VaultPress).":[null,""],"Backups & Security Scanning":[null,""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, one-click threat resolution, and priority support (powered by VaultPress).":[null,""],"13Gb of fast, optimized, and ad-free video hosting for your site (powered by VideoPress).":[null,""],"Video Hosting":[null,""],"Fast, optimized, ad-free, and unlimited video hosting for your site (powered by VideoPress).":[null,""],"SEO Tools":[null,""],"Advanced SEO tools to help your site get found when people search for relevant content.":[null,""],"Daily and on-demand security scanning":[null,""],"Real-time backups and one-click threat resolution":[null,""],"Unlimited and ad-free video hosting":[null,""],"Need more? Running a business site?":[null,""],"If your site is important to you, consider protecting and improving it with some of our advanced features: ":[null,""],"On-demand security scanning":[null,""],"Advanced SEO tools":[null,""],"Configure your SEO settings.":[null,""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[null,""],"You are running Jetpack on a staging server.":[null,""],"More Info":[null,""],"Search your content.":[null,""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[null,""],"Your current IP: %(ip)s":[null,""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"This will reset all Jetpack options, are you sure?":[null,""],"Search for a Jetpack feature.":[null,""],"Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.":[null,""],"You can see the information about security scanning in the \"At a Glance\" section.":[null,""],"Configure your Security Scans":[null,""],"This module has no configuration options":[null,""],"Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch.":[null,""],"Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.":[null,""],"{{link}}Configure your %(module_slug)s Settings {{/link}}":[null,""],"Subscriber":[null,""],"Big iPhone/iPad Update Now Available":[null,""],"The WordPress for Android App Gets a Big Facelift":[null,""],"WordPress.com Likes are:":[null,""],"Comments headline":[null,""],"A few catchy words to motivate your readers to comment.":[null,""],"Show a \"follow blog\" option in the comment form":[null,""],"Show a \"follow comments\" option in the comment form":[null,""],"Put a chart showing 48 hours of views in the admin bar":[null,""],"Hide the stats smiley face image":[null,""],"Whitelisted IP addresses":[null,""],"Show photo metadata (Exif) in carousel, when available":[null,""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[null,""],"Copied!":[null,""],"Highlight and copy the following text to your clipboard:":[null,""],"Regenerate address":[null,""],"Automatically proofread content when: ":[null,""],"A post or page is first published":[null,""],"A post or page is updated":[null,""],"Automatic Language Detection":[null,""],"The proofreader supports English, French, German, Portuguese and Spanish.":[null,""],"Enable proofreading for the following grammar and style rules: ":[null,""],"Add a phrase":[null,""],"Cheatin' uh?":[null,""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[null,""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[null,""],"Your Jetpack is already connected.":[null,""],"You're fueled up and ready to go, Jetpack is now active.":[null,""],"You're fueled up and ready to go.":[null,""],"You are currently running a development version of Jetpack.":[null,""],"Submit Beta feedback":[null,""],"You, %(userName)s, are not connected to WordPress.com.":[null,""],"What would you like to see on your Jetpack Dashboard?":[null,""],"Let us know!":[null,""],"Welcome to Jetpack":[null,""],"Please connect to or create a WordPress.com account to start using Jetpack. This will enable powerful security, traffic, and customization services.":[null,""],"No account? Create one for free…":[null,""],"Saving…":[null,""],"Save Settings":[null,""],"Jetpack Stats Icon":[null,""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[null,""],"Activate Site Stats":[null,""],"Security Scanning":[null,""],"Upgrade":[null,""],"ACTIVE":[null,""],"Hackers, botnets and spammers attack websites indiscriminately. Their goal is to attack everywhere and often. Our goal is to help you prepare by blocking these threats, and in worst-case-scenarios we'll be here to help you restore your site to its former glory.":[null,""],"Your site is on the Free Jetpack Plan":[null,""],"Your site is on the Jetpack Premium plan":[null,""],"Your site is on the Jetpack Professional plan":[null,""],"Your site is on Development Mode":[null,""],"Once you connect, you can upgrade to a paid plan in order to unlock world-class security, spam protection tools, and priority support.":[null,""],"State-of-the-art spam defense powered by Akismet.":[null,""],"View your spam stats":[null,""],"Configure Akismet":[null,""],"View your security dashboard":[null,""],"Configure VaultPress":[null,""],"Real-time backups":[null,""],"One-click threat resolution":[null,""],"Compare Plans":[null,""],"Maximum grade security":[null,""],"Real-time backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense, and brute-force login protection - all in one place and optimized for WordPress.":[null,""],"Bulletproof spam filtering protects your brand, your readers, and improves SEO. Malware scanning helps maintain peace of mind and keeps your backend safe from intruders.":[null,""],"Enjoy priority support":[null,""],"The site is in Development Mode, so you can not connect to WordPress.com.":[null,""],"Link your account to WordPress.com to get the most out of Jetpack.":[null,""],"Powerful WordPress.com features on every device.":[null,""],"Manage all your sites from a single dashboard.":[null,""],"Feel the performance":[null,""],"All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around.":[null,""],"Bulk and automatic updates":[null,""],"Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.":[null,""],"Focus on your Writing":[null,""],"Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.":[null,""],"Try the New Editor":[null,""],"Connect with your Visitors":[null,""],"Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.":[null,""],"View Your Stats":[null,""],"Connect with the Community":[null,""],"The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.":[null,""],"Launch Reader":[null,""],"Inspiration strikes any time, anywhere.":[null,""],"Get WordPress apps for any screen.":[null,""],"In Your Pocket":[null,""],"Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.":[null,""],"WordPress.com in the App Store":[null,""],"WordPress.com in Google Play":[null,""],"On Your Desktop":[null,""],"A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.":[null,""],"WordPress.com for Mac OS X":[null,""],"WordPress.com for Windows":[null,""],"WordPress.com for Linux":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.":[null,""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[null,""],"Total malicious attacks blocked on your site.":[null,""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[null,""],"All plugins are up-to-date. Awesome work!":[null,""],"{{a}}Activate Manage{{/a}} to turn on auto updates and manage your plugins from WordPress.com.":[null,""],"Jetpack is improving and optimizing your image speed.":[null,""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[null,""],"Security":[null,""],"Performance":[null,""],"Backups":[null,""],"{{a}}View backup details{{/a}}.":[null,""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"Unavailable in Dev Mode.":[null,""],"Spam Protection":[null,""],"For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.":[null,""],"For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.":[null,""],"Invalid key":[null,""],"Unavailable in Dev Mode":[null,""],"Activating recommended features…":[null,""],"Recommended features active.":[null,""],"Recommended features failed to activate. %(error)s":[null,""],"%(slug)s has been activated.":[null,""],"%(slug)s failed to activate. %(error)s":[null,""],"%(slug)s has been deactivated.":[null,""],"%(slug)s failed to deactivate. %(error)s":[null,""],"Updating %(slug)s settings…":[null,""],"Updated %(slug)s settings.":[null,""],"Error updating %(slug)s settings. %(error)s":[null,""],"Updating %(slug)s address…":[null,""],"Regenerated %(slug)s address .":[null,""],"Error regenerating %(slug)s address. %(error)s":[null,""],"Resetting Jetpack options…":[null,""],"Options reset.":[null,""],"Options failed to reset.":[null,""],"There was an error disconnecting Jetpack. Error: %(error)s":[null,""],"Unlinking from WordPress.com":[null,""],"Unlinked from WordPress.com.":[null,""],"Error unlinking from WordPress.com. %(error)s":[null,""],"At A Glance":[null,""],"Clichés":[null,""],"Dashboard":[null,""],"Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.":[null,""],"Automattic's Privacy Policy":[null,""],"WordPress.com Terms of Service":[null,""],"{{a}}Activate Site Verification{{/a}} to verify your site and increase ranking with Google, Bing, and Pinterest.":[null,""],"Site Verification Tools are active. Ensure your site is verified with Google, Bing, and Pinterest for more accurate indexing and ranking. {{a}}Verify now{{/a}}":[null,""],"Site Verification Tools":[null,""],"{{a}}Activate Photon{{/a}} to enhance the performance and speed of your images.":[null,""],"Image Performance %(photon)s":[null,""],"{{a}}Activate Manage and turn on auto updates{{/a}}":[null,""],"{{a}}Turn on plugin auto updates{{/a}}":[null,""],"Plugin Updates":[null,""],"To automatically back up your entire site, please {{a}}upgrade your account.{{/a}}.":[null,""],"Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.":[null,""],"No threats found, you're good to go!":[null,""],"{{a}}Contact Support{{/a}}":[null,""],"{{a}}View details at VaultPress.com{{/a}}":[null,""],"{{a}}Activate Monitor{{/a}} to receive notifications if your site goes down.":[null,""],"Loading…":[null,""],"Downtime Monitoring":[null,""],"{{button}}View more stats on WordPress.com {{/button}}":[null,""],"{{button}}View detailed stats{{/button}}":[null,""],"All-time comments":[null,""],"All-time views":[null,""],"Best overall day":[null,""],"Views today":[null,""],"Months":[null,""],"Weeks":[null,""],"Days":[null,""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[null,""],"Click to view detailed stats.":[null,""],"Views: %(numberOfViews)s":[null,""],"Week of %(date)s":[null,""],"Manage security on WordPress.com":[null,""],"Skip this step":[null,""],"Skip the Jetpack Jumpstart process":[null,""],"Features can be activated or deactivated at any time.":[null,""],"Jetpack's recommended features include:":[null,""],"Activate Recommended Features":[null,""],"Quickly enhance your site by activating Jetpack's recommended features.":[null,""],"Jump Start your Site":[null,""],"Link to WordPress.com":[null,""],"Unlink me from WordPress.com":[null,""],"Join the millions of users who rely on Jetpack to enhance and secure their sites. We're passionate about WordPress and here to make your life easier.":[null,""],"Jetpack is supported by some of the most technical and passionate people in the community. They're located around the globe and ready to help you.":[null,""],"Did we mention free, professional support?":[null,""],"Jetpack utilizes the state-of-the-art WordPress.com content delivery network to load your gorgeous imagery super fast. Optimized for any device, and its completely free.":[null,""],"Lightning fast, optimized images":[null,""],"Never fall behind on a security release or waste time updating multiple sites.":[null,""],"Automatic site updates.":[null,""],"Live site monitoring.":[null,""],"Gain peace of mind with Protect, the tool that has blocked billions of login attacks across millions of sites.":[null,""],"Block site attacks.":[null,""],"Jetpack blocks malicious log in attempts, lets you know if your site goes down, and can automatically update your plugins, so you don’t have to worry.":[null,""],"Site security and peace of mind":[null,""],"Jetpack harnesses the power of WordPress.com to show you detailed insights about your visitors, what they’re reading, and where they’re coming from.":[null,""],"Keep visitors engaged by giving them more to share and read with Related Posts.":[null,""],"Increase page views.":[null,""],"Give visitors the tools to share and subscribe to your content.":[null,""],"Build a community.":[null,""],"Sharing & Like Buttons":[null,""],"Automated social marketing.":[null,""],"Jetpack has many traffic and engagement tools to help you get more viewers to your site and keep them there.":[null,""],"Manage Plugins":[null,""],"Stress less. Monitor will send you real-time alerts if your site ever goes down.":[null,""],"Track your growth":[null,""],"Use Publicize to automatically share your posts with friends, followers, and the world.":[null,""],"Drive more traffic to your site":[null,""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[null,""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[null,""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[null,""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[null,""],"Disconnecting Jetpack":[null,"Desconectando Jetpack"],"Learn more":[null,"Aprender más"],"Pinterest":[null,"Pinterest"],"Google":[null,"Google"],"Show related content after posts":[null,"Mostrar contenido relacionado después de las entradas"],"Use a large and visually striking layout":[null,"Usa un diseño grande y visualmente atractivo. "],"Show a \"Related\" header to more clearly separate the related section from posts":[null,"Mostrar el texto \"Relacionado\" para separar más claramente la sección de las entradas"],"Related":[null,"Relacionado"],"Email Address":[null,"Dirección de email"],"Media":[null,"Medios"],"Site Stats":[null,"Estadísticas del sitio"],"Testimonials":[null,"Testimonios"],"Comments":[null,"Comentarios"],"Ignored Phrases":[null,"Frases ignoradas"],"Use automatically detected language to proofread posts and pages":[null,"Utilizar idioma detectado automáticamente para corregir entradas y páginas"],"Redundant Phrases":[null,"Frases Redundantes"],"Phrases to Avoid":[null,"Frases para Evitar"],"Passive Voice":[null,"Voz Pasiva"],"Jargon":[null,"Jerga"],"Hidden Verbs":[null,"Verbos ocultos"],"Double Negatives":[null,"Doble negaciones"],"Diacritical Marks":[null,"Signos Diacríticos"],"Complex Phrases":[null,"Frases Complejas"],"Bias Language":[null,"Sesgos de Idioma"],"English Options":[null,"Opciones de Inglés"],"Proofreading":[null,"Revisión"],"Connect Jetpack":[null,"Conectar Jetpack"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[null,""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[null,"WordPress.com tiene problemas ahora mismo y no puede repostar tu Jetpack. Por favor, int&#233;ntalo m&#225;s tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[null,""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[null,""],"You have successfully disconnected Jetpack":[null,""],"Active":[null,"Activo"],"Settings":[null,"Configuración"],"Learn More":[null,"Más Información"],"Disconnect Jetpack":[null,"Desconectar Jetpack"],"Test your site’s compatibility with Jetpack.":[null,""]} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-es_CR-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-es_CR-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 2c8fd52e..00000000
--- a/plugins/jetpack/languages/json/jetpack-es_CR-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"es_CR"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Gestionar suscripción"],"Your site is being backed up.":["Se está haciendo copia de seguridad de su sitio."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Debe ingresar las credenciales del servidor para finalizar la configuración de Jetpack Backup."],"Jetpack Backup is being configured for your site.":["Jetpack Backup se está configurando para su sitio."],"Daily Backups":["Copias de seguridad diarias"],"Just looking for backups? We've got you covered.":["¿Necesita copias de seguridad? Lo tenemos solucionado."],"Solutions":["Soluciones"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Se incluye en su {{planLink}}plan profesional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Se incluye en su {{planLink}}plan premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Se incluye en su {{planLink}}plan personal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Las copias de seguridad siempre activas aseguran que nunca pierda su sitio. Sus cambios se guardan a medida que edita y tiene archivos de copia de seguridad ilimitados."],"Always-on backups ensure you never lose your site.":["Las copias de seguridad siempre activas aseguran que nunca perderá su sitio"],"My Products":["Mis productos"],"My Plan":["Mi plan"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Copia de seguridad de Jetpack {{em}}en tiempo real{{/em}}"],"Your data is being securely backed up as you edit.":["Sus datos están siendo respaldados de manera segura a medida que edita."],"Jetpack Backup {{em}}Daily{{/em}}":["Copia de seguridad de Jetpack {{em}}diaria{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Sus datos se respaldan de forma segura todos los días con un archivo de 30 días."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack gratis"],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["¿Tienes alguna pregunta? ¡Nos encantaría ayudar! {{a}}Envía una pregunta al equipo de soporte de Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack tiene muchas herramientas potentes que pueden ayudarte a alcanzar tus objetivos"]," We’ve highlighted some of the features you rely on below.":[" A continuación, hemos destacado algunas de las características en las que confías."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Actualmente, Jetpack está potenciando las características de tu sitio. Una vez que desactives Jetpack, estas funciones ya no estarán disponibles y es posible que tu sitio ya no funcione de la misma forma."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Actualmente, Jetpack está potenciando las características de tu sitio. Una vez que desconectes Jetpack, estas funciones ya no estarán disponibles y es posible que tu sitio ya no funcione de la misma forma."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Haz crecer tu tráfico {{a}}publicando y compartiendo{{/a}} automáticamente en los medios sociales"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Bloquea los {{a}}ataques de fuerza bruta{{/a}} y obtén avisos inmediatos si tu sitio está caído."],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Acelera tu sitio y proporciona imágenes listas para móviles con {{a}}nuestra CDN{{/a}}."],"Disable":["Desactivar"],"Are you sure you want to disconnect and deactivate?":["¿Seguro que quieres desconectar y desactivar?"],"Are you sure you want to disconnect?":["¿Seguro que quieres desconectar?"],"Disable Jetpack":["Desactivar Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Hacemos una copia de seguridad de tu sitio con cada cambio que realices, lo que facilita la reparación de tus errores."],"Automated Real-time Backups":["Copias de seguridad automatizadas en tiempo real"],"We back up your website every day, so you never have to worry about your data again.":["Hacemos una copia de seguridad de tu sitio todos los días, por lo que nunca más tendrás que preocuparte por tus datos."],"Automated Daily Backups":["Copias de seguridad diarias automáticas"],"View Your Backups":["Ver tus copias de seguridad"],"A Jetpack Site securely backed up with Jetpack Backup":["Un sitio Jetpack respaldado de forma segura con Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Usa la sintaxis Markdown para componer el contenido con enlaces, listas y otros estilos. Esta opción activa Markdown en el editor clásico, así como dentro de un bloque del editor clásico."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activar{{/a}} para optimizar los tamaños de las imágenes y cargar las imágenes desde la rápida red global de servidores de Jetpack. Esto mejora el rendimiento de tu sitio en los dispositivos de escritorio y móviles."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack está optimizando el tamaño de tus imágenes y la velocidad de descarga usando nuestra rápida red global de servidores. Esto mejora el rendimiento de tu sitio en dispositivos de escritorio y móviles."],"Image Accelerator":["Acelerador de imágenes"],"Start with free":["Empieza gratis"],"Now that you're set up, pick a plan that fits your needs.":["Ahora que ya lo has configurado, elige un plan que se ajuste a tus necesidades."],"Jetpack Backup":["Copia de seguridad de Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Tu plan de Jetpack ofrece protección anti spam mediante Akismet. Haz clic en «configurar» para activarlo en tu sitio."],"Already have a key? {{a}}Activate Akismet{{/a}}":["¿Ya tienes una clave? {{a}}Activa Akismet{{/a}}"],"Verifying…":["Verificando..."],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Mejora tu clasificación en los motores de búsqueda con las potentes herramientas de SEO del plan Jetpack Premium o el Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Dale a tu sitio una carga rápida y una apariencia optimizada para dispositivos móviles. Los visitantes seguirán viendo tu tema habitual en los otros tamaños de pantalla."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Crea una experiencia de lectura fluida e ininterrumpida cargando más contenido a medida que los visitantes se desplazan hasta la parte inferior de tus páginas de archivo."],"Customize your SEO settings":["Personaliza tus ajustes SEO"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Toma el control de la forma en que los motores de búsqueda representan tu sitio. Con las herramientas de SEO de Jetpack puedes previsualizar cómo se verá tu contenido en los motores de búsqueda más populares y cambiar elementos como el nombre de tu sitio y la descripción corta en cuestión de segundos."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Añade botones de compartir para que los visitantes puedan compartir tus entradas y páginas en los medios sociales con un par de rápidos clics."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Incluye una pequeña gráfica en tu barra de administración con una captura del tráfico de las últimas 48 horas"],"Expand to update settings for how visits are counted and manage who can view this information.":["Amplía para actualizar los ajustes de cómo se cuentan los visitantes y gestionar quién ve esta información."],"You can customize the sharing buttons and choose which services to display.":["Puedes personalizar los botones de compartir y elegir qué servicios mostrar."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Tu sitio está protegido por Jetpack. Recibirás avisos si algo necesita atención."],"Find threats early so we can help fix them fast.":["Encuentra amenazas pronto para que podamos ayudarte a solucionarlas rápidamente."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Reemplaza la búsqueda básica de tu sitio con una búsqueda personalizable que ayuda a los visitantes a encontrar respuestas más rápidamente."],"Never worry about losing your site – automatic backups keep your content safe.":["Nunca te preocupes por perder tu sitio - las copias de seguridad automáticas mantienen tu contenido a salvo."],"Protect":["Proteger"],"Scan":["Explorar"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Vacía automáticamente el spam de tus comentarios y formularios para que puedas volver a ponerte con tu negocio."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Conecta tu sitio en segundos a Google Analytics con Jetpack Premium o Profesional."],"Log in to the WordPress mobile app":["Accede a la aplicación móvil de WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Accede fácilmente a la aplicación de WordPress haciendo clic en el enlace que enviaremos a la dirección de correo electrónico de tu cuenta."],"Email me a link to log in to the app":["Enviadme por correo electrónico un enlace para acceder a la aplicación"],"Send your new posts to this email address:":["Enviar tus nuevas entradas a esta dirección de correo electrónico:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["La publicación por correo electrónico es un modo rápido de publicar nuevas entradas sin visitar tu sitio. Generaremos una dirección de correo electrónico exclusiva para ti a la que enviar tu contenido, que luego aparecerá en tu sitio como cualquier otra entrada."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["La barra de herramientas de WordPress.com reemplaza la barra de herramientas por defecto del administrador de WordPress. Ofrece acceso en un clic a avisos, a tu perfil de WordPress.com y a tus otras webs de Jetpack y WordPress.com. También puedes estar al día de los sitios que sigues en el «Lector»."],"Verify site ownership with third party services":["Verifica la propiedad del sitio con servicios de terceros"],"Generate shortened URLs for simpler sharing.":["Genera URLs acortadas para compartir más fácilmente."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Mantén a tus visitantes ocupados con contenido relacionado al final de cada entrada. Estos ajustes no se aplican a {{a}}entradas relacionadas añadidas usando el editor de bloques{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Esta característica ayuda a tus visitantes a encontrar más contenido tuyo mostrando entradas relacionadas al final de cada entrada."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack genera automáticamente un archivo {{link1}}ads.txt{{/link1}} personalizado adaptado a tu sitio. Si necesitas añadir entradas adicionales para otras redes, por favor, añádelas en el espacio de abajo, una por línea. {{link2}}Consulta aquí más detalles{{/link2}}."],"Add sharing buttons to your posts and pages":["Añade botones de compartir a tus entradas y páginas"],"Share your content to social media, reaching new audiences and increasing engagement.":["Comparte tu contenido en las redes sociales, consiguiendo nuevas audiencias y aumentando la participación."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Recibe alertas si tu sitio está desconectado. Te avisaremos también cuando vuelva a estar en línea."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Con Jetpack puedes elegir que tus plugins se actualicen automáticamente con cada nueva versión de plugin. Obtendrás de inmediato lo último en seguridad y corrección de errores, asegurando que tu sitio permanece seguro."],"Choose which plugins to auto-update":["Elige qué plugins actualizar automáticamente"],"Upgrade Jetpack now":["Actualiza Jetpack ahora"],"Monetize your site by running high quality ads.":["Rentabiliza tu sitio publicando anuncios de alta calidad."],"Customize your social posting schedule.":["Personaliza la programación de tus publicaciones sociales."],"Expand your audience with pro SEO tools.":["Aumenta tu audiencia con herramientas SEO profesionales."],"Take your site to the next level!":["¡Lleva tu sitio al siguiente nivel!"],"Search support docs":["Buscar en la documentación de soporte"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["¿Necesitas ayuda? Aprende sobre cómo empezar, personalizar tu sitio, usar fragmentos de código avanzados y más."],"Start sharing":["Empieza a compartir"],"Optimized performance":["Rendimiento optimizado"],"Enable the “subscribe to comments” option on your comment form":["Activa la opción «suscribirse a los comentarios» en tu formulario de comentarios"],"Enable the “subscribe to site” option on your comment form":["Activa la opción «suscribirse al sitio» en tu formulario de comentarios"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Gestiona los ajustes avanzados de los comentarios y haz crecer tu audiencia con suscripciones por correo electrónico."],"Comment form introduction":["Introducción al formulario de comentarios"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam desarrollado por Akismet. Los envíos del formulario de comentarios y de contacto se comprueban en nuestra base de datos global de spam."],"Failed to send login email":["Ha fallado el envío del correo electrónico de acceso"],"Login email sent":["Enviado el correo electrónico de acceso"],"Sending login email…":["Enviando el correo electrónico de acceso..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["¿Preocupado por la seguridad? Obtén copias de seguridad, correcciones automatizadas de errores de seguridad y más: {{a}}actualiza ahora{{/a}}"],"Allow readers to like individual comments.":["Permite a los lectores dar «me gusta» a los comentarios individuales."],"Enable comment likes.":["Activar los «me gusta» en los comentarios."],"Allow readers to use markdown in comments.":["Permitir a los lectores usar Markdown en los comentarios."],"Show Gravatar hovercards alongside comments.":["Mostrar imágenes de Gravatar en los comentarios."],"Complete Jetpack Setup":["Completar la configuración de Jetpack"],"Your Jetpack setup progress":["Tu progreso de configuración de Jetpack"],"View your setup checklist":["Ver tu lista de comprobación de configuración"],"Yearly":["Anual"],"Monthly":["Mensual"],"About Jetpack":["Sobre Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Activa controles de visibilidad de widgets para mostrar widgets solo en entradas o páginas concretas"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["La visibilidad de widgets te permite decidir qué widgets aparecen en qué páginas, para que puedas personalizar con precisión el contenido de los widgets."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Haz que haya disponibles widgets adicionales en tu sitio, incluidos formularios de suscripción y cronologías de Twitter"],"Enhance CSS customization panel":["Mejora el panel de personalización de CSS"],"Writing":["Escritura"],"Compose using shortcodes to embed media from popular sites":["Redacta usando atajos para incrustar medios de sitios populares"],"Traffic":["Tráfico"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Tienes que introducir las credenciales de tu servidor para terminar de configurar las copias de seguridad y exploración."],"Awaiting credentials":["Esperando credenciales"],"Backups and Scan are being configured for your site.":["Se están configurando las copias de seguridad y las exploraciones para tu sitio."],"Provisioning":["Apuntalando"],"Action needed":["Acción necesaria"],"Setting up":["Configuración"],"Discussion":["Debate"],"We are configuring your site protection.":["Estamos configurando la protección de tu sitio."],"View your site's backups":["Ver las copias de seguridad de tu sitio"],"We are backing up your site in real-time.":["Estamos haciendo copia de seguridad de tu sitio en tiempo real."],"Enter credentials":["Introduce las credenciales"],"You need to enter your server's credentials to finish the setup.":["Necesitas introducir las credenciales de tu servidor para finalizar la instalación."],"We are configuring your site's backups.":["Estaos configurando las copias de seguridad de tu sitio."],"View site activity":["Ver la actividad del sitio"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack guarda un registro completo de todo lo que sucede en tu sitio, reduciendo al mínimo el trabajo de gestión, depuración y reparación del sitio."],"Explore our Jetpack plans":["Explora nuestros planes de Jetpack"],"Support documentation":["Documentación de soporte"],"Chat bubbles representing getting in touch with support":["Burbujas de chat que simbolizan el contacto con el soporte"],"Site activity":["Actividad del sitio"],"Reach a wider audience by automatically sharing your posts on social media.":["Logra una audiencia mayor compartiendo automáticamente tus entradas en los medios sociales."],"Increase traffic to your site":["Aumenta el tráfico hacia tu sitio"],"Explore free themes":["Explora los temas gratuitos"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Consigue acceso ilimitado a cientos de temas profesionales, y personaliza tu sitio exactamente como quieras."],"A wide variety of themes and tools to customize a site":["Una amplia variedad de temas y herramientas para personalizar un sitio"],"Set up your site security":["Configura la seguridad de tu sitio"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Evita ataques de acceso, y obtén avisos instantáneos cuando haya un problema con tu sitio."],"Site stats showing an evolution in traffic and engagement":["Estadísticas del sitio mostrando una evolución en tráfico y participación"],"A hand holding a loupe":["Una mano sosteniendo una lupa"],"A chart showing an healthy increase in earnings":["Un gráfico que muestra un saludable aumento de ganancias"],"Interface showing a chronological list of changes and updates in a site":["Interfaz mostrando una lista cronológica de los cambios y actualizaciones de un sitio"],"A cloud with multiple types of content floating around it":["Una nube con varios tipos de contenido flotando alrededor"],"A folder holding real comments":["Una carpeta con comentarios reales"],"Make your site faster":["Haz más rápido tu sitio"],"Load pages faster by serving your images from our global network of servers.":["Carga páginas más rápido sirviendo tus imágenes desde nuestra red global de servidores."],"A fast and performant website":["Una web rápida y eficaz"],"A secure site, locked and protected by Jetpack":["Un sitio seguro, aislado y protegido por Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplica entradas, páginas, recomendaciones y porfolios existentes. Se copiará todo el contenido, incluyendo texto, imágenes destacadas, ajustes para compartir y mucho más."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["El sitio no se puede conectar a WordPress.com debido a que viola nuestros {{a}}términos del servicio{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Conecta tu web a las redes sociales que uses y comparte tu contenido en todas tus cuentas sociales con un solo clic. Cuando publicas una entrada aparecerá en todas las cuentas conectadas."],"Add Like buttons to your posts and pages":["Añade botones de «Me gusta» a tus entradas y páginas"],"When visitors enjoy your content, let them show it with a Like.":["Cuando los visitantes disfrutan de tu contenido, déjales mostrarlo con un «Me gusta»."],"Create account":["Crear cuenta"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack está impulsando tu sitio, pero para acceder a todas sus características necesitarás crear una cuenta."],"Compose content the way you want to and streamline your publishing experience.":["Redacta el contenido de la forma que quieras y agiliza tu experiencia de publicación."],"Add a portfolio item":["Añade un elemento del porfolio"],"Add a testimonial":["Añade una recomendación"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximiza la visibilidad de tu sitio en los motores de búsqueda y visualiza las estadísticas de tráfico en tiempo real."],"Create a Jetpack account to use this feature":["Crea una cuenta Jetpack para usar esta característica"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack supervisará continuamente tu sitio, y te alertará en el momento en que se detecte tiempo de inactividad."],"Error enabling Site accelerator. %(error)s":["Error al activar el acelerador del sitio. %(error)es"],"Site accelerator is now speeding up your site!":["¡El acelerador del sitio está ahora acelerando tu sitio!"],"Enabling Site accelerator…":["Activando el acelerador del sitio …"],"Error disabling site accelerator. %(error)s":["Error al desactivar el acelerador del sitio. %(error)es"],"Site accelerator is no longer speeding up your site!":["¡El acelerador del sitio ya no está acelerando tu sitio!"],"Disabling site accelerator…":["Desactivando el acelerador del sitio …"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Carga páginas más rápido, optimiza imágenes y acelera la experiencia de tus visitantes."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complementa las estadísticas de WordPress.com con la exploración en profundidad de Google de tus visitantes y patrones de tráfico."],"High-speed, high-definition video hosting with no third-party ads.":["Alojamiento de vídeo de alta velocidad y alta definición sin anuncios de terceros."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Programa con antelación un número ilimitado de tuits, publicaciones de Facebook y otras publicaciones sociales."],"Marketing Automation":["Automatización de márketing"],"Activate Jetpack Search":["Activa la búsqueda de Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Reemplaza la búsqueda predeterminada de WordPress con mejores resultados y filtrado con la tecnología de búsqueda Elasticsearch."],"Start earning":["Empieza a ganar"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds te permite ganar dinero mostrando contenido promocional. Empieza a ganar hoy mismo."],"Spam is automatically blocked from your comments.":["El spam se bloquea automáticamente de tus comentarios."],"Browse premium themes":["Ver temas premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Accede a cientos de temas premium con un diseño atractivo sin coste adicional."],"Try a premium theme":["Prueba un tema premium"],"View settings":["Ver ajustes"],"Create a Jetpack account to view your email followers":["Crea una cuenta Jetpack para ver tus seguidores por correo electrónico"],"Manage security settings":["Gestionar ajustes de seguridad"],"Jetpack is ready for the new WordPress editor":["Jetpack está preparado para el nuevo editor de WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Hoy estamos introduciendo la primera ola de bloques específicos de Jetpack creados específicamente para la nueva experiencia del editor: botón de Simple Payment, Formulario, Mapa y Markdown."],"Build your Jetpack site with blocks":["Crea tu sitio Jetpack con bloques"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["¿Un nuevo editor? ¡Sío! {{a}}Aprender más{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Las características en las que confías, adaptadas al nuevo editor de WordPress."],"Take me to the new editor":["Llévame al nuevo editor"],"Testing Jetpack Connection":["Probando conexión de Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["Hubo un error al probar Jetpack. Error: %(error)s"],"New in Jetpack!":["¡Nuevo en Jetpack!"],"Speed up static file load times":["Acelera los tiempos de carga de archivos estáticos"],"Speed up image load times":["Acelera los tiempos de carga de imágenes"],"Enable site accelerator":["Activa el acelerador de sitios"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Carga páginas más rápido permitiendo a Jetpack optimizar tus imágenes y servir tus imágenes y archivos estáticos (como CSS y JavaScript) desde nuestra red global de servidores."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Añade una capa extra de seguridad a tu web activando el acceso e identificación segura de WordPress.com. Si tienes varios sitios con esta opción activa, podrás acceder en todos ellos con las mismas credenciales."],"View your site activity":["Ver la actividad de tu sitio"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Ve una lista cronológica de todos los cambios y actualizaciones de tu sitio de un modo organizado y legible."],"Manually Verify ":["Verificar manualmente"],"Verify with Google":["Verificar con Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google enviará correos electrónicos sobre ciertos eventos que ocurran en tu sitio, incluidas indicaciones de que tu web ha sido {{a1}}hackeada{{/a1}} o problemas al {{a2}}rastrear o indexar{{/a2}} tu sitio."],"or":["o"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Supervisa el tráfico y rendimiento de tu sitio desde la {{a}}consola de búsqueda de Google{{/a}}."],"Your site is verified with Google":["Tu sitio está verificado con Google"],"Site failed to verify: %(error)s":["Fallo al verificar el sitio: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Añade búsquedas más rápidas y avanzadas a tu sitio con Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Reemplaza el buscador incluido en WordPress con el buscador de Jetpack, una experiencia avanzada de búsqueda"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["El buscador de Jetpack reemplaza el buscador incluido con un buscador rápido, escalable, personalizable y de alta relevancia, alojado en la nube de WordPress.com. El resultado: tus usuarios encontrarán el contenido que quieren más rápido."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["El buscador incluido en WordPress es fantástico para sitios sin mucho contenido. Pero a medida que crezca tu sitio, las búsquedas se ralentizan y devuelven resultados menos relevantes."],"Jetpack Search supports many customizations.":["El buscador de Jetpack ofrece muchas personalizaciones."],"Site is verified":["El sitio está verificado"],"Spam filtering and priority support.":["Filtrado de spam y soporte prioritario."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Cuando se activan los anuncios, Jetpack genera automáticamente un ads.txt personalizado para tu sitio."],"Custom ads.txt entries":["Entradas en ads.txt personalizadas"],"Privacy information":["Información de privacidad"],"Enable Lazy Loading for images":["Activar carga en diferido de imágenes"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["La carga diferida de imágenes mejora la velocidad de tu sitio y crea una experiencia de visualización más fluida. La carga de las imágenes se realiza conforme los usuarios van desplazándose por la página en lugar de cargar todo de una vez."],"Performance & speed":["Rendimiento y velocidad"],"Enable high-speed, ad-free video player":["Activa el reproductor de vídeo de alta velocidad, sin anuncios"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Haz que el contenido que publicas sea más atractivo con vídeo de alta resolución. Con Jetpack Vídeo puedes personalizar tu reproductor de medios y mostrar a tus visitantes vídeos de alta velocidad, sin anuncios ni marcas. ¡Los vídeos se alojan en nuestros servidores de WordPress.com y no consumen espacio de tu plan de alojamiento!"],"Video":["Video"],"Carousel color scheme":["Esquema de color del carrusel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Los datos Exif muestran a los observadores detalles técnicos de una foto, como su longitud focal, apertura e ISO."],"Show photo Exif metadata in carousel (when available)":["Muestra metadatos Exif de la foto en el carrusel (cuando está disponible)"],"Display images in a full-screen carousel gallery":["Mostrar imágenes en una galería de carrusel a pantalla completa"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Crea presentaciones en carrusel a pantalla completa de las imágenes de tus entradas y páginas. Las galerías en carrusel son perfectas para móviles y animan a los visitantes del sitio a interactuar con tus fotos."],"Portfolios shortcode: [portfolio]":["Shortcode de portfolios: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Utiliza {{portfolioLink}}porfolios{{/portfolioLink}} en tu sitio para mostrar tus mejores trabajos. Si tu tema no es compatible con los porfolios de Jetpack, puedes usar un sencillo shortcode para mostrarlos en tu sitio."],"Testimonials shortcode: [testimonials]":["Shortcode de recomendaciones: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Añade {{testimonialLink}}recomendaciones{{/ testimonialLink}} a tu web para atraer nuevos clientes. Si tu tema no es compatible con las recomendaciones de Jetpack, puedes utilizar un sencillo shortcode para mostrarlas en tu sitio."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Los motores de búsqueda no pueden acceder a tu sitio en este momento. Si quieres que tu sitio sea accesible revisa tus {{a}}ajustes de lectura{{/a}} y cambia para activar la «Visibilidad en los motores de búsqueda»."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Buenas noticias: Jetpack está enviando tu mapa del sitio automáticamente a todos los principales motores de búsqueda para su indexación."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Los mapas del sitio son archivos que los motores de búsqueda como Google y Bing utilizan para indexar tu web. Pueden ayudar a mejorar tus posiciones en los resultados de búsqueda. Cuando activas esta característica, Jetpack creará mapas del sitio para ti y los actualiza automáticamente cuando cambie el contenido de tu sitio."],"Configure related posts in the Customizer":["Configurar entradas relacionadas en el personalizador"],"Highlight related content with a heading":["Destacar contenido relacionado con un encabezado"],"View security scan details":["Ver detalles de la exploración de seguridad"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Mostrar una imagen en miniatura donde esté disponible"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Para obtener más información sobre cómo las características específicas de Jetpack usan datos y realizan un seguimiento de la actividad, consulta nuestro {{privacyCenterLink}}centro de privacidad{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Usamos otras herramientas de seguimiento, incluidas algunas de terceros. {{cookiePolicyLink}}Lee acerca de estos{{/cookiePolicyLink}} y sobre cómo controlarlos."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Esta información nos ayuda a mejorar nuestros productos, hacer que el marketing sea más relevante, personalizar tu experiencia en WordPress.com y más, tal como se detalla en nuestra {{pp}}política de privacidad{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Comparte información con nuestra herramienta de análisis acerca del uso que haces de los servicios mientras estás conectado a tu cuenta de WordPress.com. {{cookiePolicyLink}}Aprende más{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica está siendo gestionada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica ha sido desactivada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica ha sido activada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s ha sido desactivado por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been disabled by a site administrator.":["Esta característica ha sido desactivada por el administrador del sitio."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s ha sido desactivado por un administrador del sitio."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Puedes colocar anuncios adicionales usando el widget de anuncios. {{link}}¡Pruébalo!{{/link}}"],"Configure your notification settings":["Configura tus ajustes de avisos"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["El módulo de búsqueda de Jetpack es un potente sustituto de la capacidad de búsqueda integrada en WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Los archivos de tu sitio se exploran periódicamente en busca de modificaciones no autorizadas o sospechosas que podrían comprometer tu seguridad y datos."],"Plugin needs updating.":["El plugin necesita actualizarse.","Los plugins necesitan actualizarse."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Las actualizaciones de plugins de Jetpack te permiten seleccionar qué plugins se actualizan automáticamente."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimizará tus imágenes y las servirá desde la ubicación del servidor más cercana a tus visitantes. El uso de nuestra red global de entrega de contenido aumentará la velocidad de carga de tu sitio."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["El supervisor de tiempo de inactividad de Jetpack mantendrá controlado tu sitio y te alertará en el momento en que se detecte un tiempo de inactividad."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Las copias de seguridad de Jetpack te permiten restaurar o descargar fácilmente una copia de seguridad de un momento específico."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Activa un tema ligero adaptado a móviles que se mostrará a los visitantes en sus dispositivos móviles."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Carga automáticamente las siguientes entradas cuando el lector se acerca al fondo de la página."],"Allows you to publish new posts by sending an email to a special address.":["Permite publicar nuevas entradas enviando un correo electrónico a una dirección especial."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Añade una barra de herramientas con enlaces a todos tus sitios, avisos, tu perfil de WordPress.com y el «Lector»."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Ofrece las etiquetas ocultas necesarias para verificar tu sitio WordPress en diversos servicios."],"Displays information on your site activity, including visitors and popular posts or pages.":["Muestra información de la actividad de tu sitio, incluidos los visitantes y las entradas o páginas populares."],"Allows you to optimize your site and its content for better results in search engines.":["Te permite optimizar tu sitio y su contenido para unos mejores resultados en los motores de búsqueda."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integra tu sitio WordPress con Google Analytics, una plataforma que ofrece estadísticas de tu tráfico, visitantes y conversiones."],"Displays high-quality ads on your site that allow you to earn income.":["Muestra anuncios de gran calidad en tu sitio que te permiten ganar ingresos."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Te permite compartir automáticamente tu contenido más reciente en los sitios de medios sociales, incluidos Facebook y Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Añade botones de «me gusta» a tu contenido para que tus visitantes puedan mostrar su aprecio o disfrute."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permite a los usuarios registrados acceder a tu sitio con sus cuentas de WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protege tu sitio de ataques típicos y distribuidos de fuerza bruta contra la pantalla de acceso."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Hace copias de seguridad de tu sitio en los servidores globales de WordPress.com, permitiéndote restaurar tu contenido en caso de emergencia o error."],"Removes spam from comments and contact forms.":["Elimina el spam de comentarios y formularios de contacto."],"We are committed to your privacy and security. ":["Estamos comprometidos con tu privacidad y seguridad."],"View all Jetpack plans":["Ver todos los planes Jetpack"],"Manage your plan":["Gestiona tu plan"],"Your Plan":["Tu plan"],"You’re currently on Jetpack %(plan)s.":["Actualmente estás en el %(plan)s de Jetpack. "],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permite a los lectores suscribirse a tus entradas o comentarios, y recibe avisos cuando haya nuevos contenidos por correo electrónico."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Reemplaza el formulario estándar de comentarios de WordPress con un nuevo sistema de comentarios que incluye opciones de acceso a medios sociales."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Actívalo{{/a}} para reemplazar la búsqueda incluida en WordPress por una experiencia de búsqueda mejorada."],"Add Search (Jetpack) Widget":["Añade el widget de búsqueda (Jetpack)"],"Jetpack Search is powering search on your site.":["La búsqueda de Jetpack está mejorando la búsqueda en tu sitio."],"Manage your plugins":["Gestiona tus plugins"],"Moderate comments":["Modera comentarios"],"Error updating privacy settings. %(error)s":["Error al actualizar los ajustes de privacidad. %(error)s"],"Updated privacy settings.":["Ajustes de privacidad actualizados."],"Updating privacy settings…":["Actualizando ajustes de privacidad…"],"Add Jetpack Search Widget":["Añadir widget de búsqueda de Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Añade un widget de búsqueda de Jetpack a tu barra lateral para configurar los filtros de búsqueda avanzada."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suite completa de seguridad, marketing y herramientas de automatización de ingresos, alojamiento ilimitado de vídeo, temas ilimitados, búsquedas mejoradas y soporte prioritario."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suite completa de seguridad, marketing y herramientas de automatización de ingresos, alojamiento ilimitado de vídeo y soporte prioritario."],"Daily backups, spam filtering, and priority support.":["Copias de seguridad diarias, filtrado de spam y soporte prioritario."],"Always-on security":["Seguridad siempre activa"],"Activate video hosting":["Activar alojamiento de vídeo"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copias de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones en un clic, vigilancia automática de seguridad y soporte prioritario"],"Design the perfect website":["Diseña la web perfecta"],"Set up Jetpack":["Configurar Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Copias de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones a un clic y exploración de seguridad automática."],"Jetpack Search":["Búsqueda de Jetpack"],"Jetpack version %(version)s":[""],"Your site is being backed up in real time and regularly scanned for security threats.":["Tu sitio está haciendo copia de seguridad en tiempo real y explorando regularmente en busca de amenazas de seguridad."],"Daily backup of all your site data with unlimited space and one-click restores":["Copias de seguridad diarias de todos los datos de tu sitio con espacio ilimitado y restauraciones con un solo clic"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copia de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones con un solo clic, exploración automática de seguridad y soporte prioritario"],"View your security activity":["Ver tu actividad de seguridad"]," (powered by VaultPress).":["(impulsado por VaultPress)."],"Customize Search Widget":["Personalizar el widget de búsqueda"],"Please correct the issue below and try again.":["Por favor, corrige el problema que se enumera a continuación y vuelve a intentarlo.","Por favor, corrige los problemas que se enumeran a continuación y vuelve a intentarlo."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Nos aseguramos de que tu sitio se mantenga libre de amenazas a la seguridad. Se te avisará si encontramos una."],"Jetpack version":["Versión de Jetpack"],"Activity":["Actividad"],"{{a}}View details{{/a}}":["{{a}}Ver detalles{{/a}}"],"Monetize your site with ads":["Monetiza tu sitio con anuncios"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Al hacer clic en el botón inferior aceptas nuestros {{tosLink}}términos del servicio{{/tosLink}} y {{shareDetailsLink}}compartir detalles{{/shareDetailsLink}} con WordPress.com"],"Jetpack Stats People":["Estadísticas de gente Jetpack"],"Hello there! Your stats have been activated.":["¡Hola! Tus estadísticas están activas."],"Just give us a little time to collect data so we can display it for you here.":["Danos un poco de tiempo para recopilar datos para que podamos mostrártelos aquí. "],"Okay, got it!":["¡Vale, lo entiendo!"],"Display ads below posts on":["Muestra anuncios bajo las entradas"],"Additional ad placements":["Ubicaciones adicionales de anuncios"],"Top of each page":["En la parte superior de cada página"],"Second ad below post":["Segundo anuncio bajo la entrada"],"Archives":["Archivos"],"Stars":["Estrellas"],"Jupiter":["Júpiter"],"Schedule posts":["Programación de entradas"],"Activate Publicize":["Activa Divulgar"],"Your site is backed up.":["Tu sitio está respaldado."],"Get WordPress Apps for every device":["Consigue aplicaciones WordPress para cualquier dispositivo"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gestiona todos tus sitios desde un solo escritorio: publica contenido, sigue las estadísticas, modera comentarios, y mucho más desde cualquier lugar del mundo."],"Create address":["Crear dirección"],"Automatically share your posts to social networks":["Comparte automáticamente tus entradas en las redes sociales"],"Updating settings…":["Actualizando ajustes…"],"Updating Post by Email address…":["Actualizando la entrada por dirección de correo electrónico…"],"Your paid plan gives you access to prioritized Jetpack support.":["Tu plan de pago te da acceso al soporte prioritario de Jetpack"],"You have paid for backups but they're not yet active.":["Has pagado por las copias de seguridad pero aún no están activas."],"You have paid for backups and security scanning but they’re not yet active.":["Has pagado por copias y exploración de seguridad pero aún no están activas."],"Click \"Set Up\" to finish installation.":["Haz clic en «Configurar» para finalizar la instalación."],"Checking site status…":["Comprobando estado del sitio…"],"Pages":["Páginas"],"Access the full list of Jetpack modules available on your site.":["Acceso a la lista completa de módulos de Jetpack disponibles en tu sitio."],"We're here to help":["Dónde ir para obtener ayuda"],"Jetpack comes with free, basic support for all users.":["Jetpack incorpora soporte básico gratuito para todos los usuarios."],"Ask a question":["Haz una pregunta"],"Search our support site":["Busca en nuestro sitio de soporte"],"Get a faster resolution to your support questions.":["Consigue una respuesta más rápida a tus preguntas de soporte."],"Host fast, high-quality, ad-free video.":["Video de alta calidad, sin publicidad y con alojamiento rápido."],"Generate income with high-quality ads.":["Genera beneficios con anuncios de alta calidad."],"Real-time site backups and automatic threat resolution.":["Copias de seguridad en tiempo real y resolución automática de amenazas."],"Protect against data loss, malware, and malicious attacks.":["Protégete contra pérdidas de datos, malware y ataques maliciosos."],"Protect your site from spam.":["Protege tu sitio del spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Este sitio no está conectado con WordPress.com. Por favor, contacta con el administrado para conectarlo."],"An Automattic Airline":["Una aerolínea de Automattic"],"Manage site connection":["Gestionar conexión del sitio"],"Connect your account to WordPress.com to view more stats":["Conecta tu cuenta a WordPress.com para ver más estadísticas"],"Theme enhancements":["Mejoras del tema"],"Load more posts using the default theme behavior":["Carga más entradas usando el comportamiento por defecto del tema"],"Load more posts in page with a button":["Carga mas entradas en la página con un botón"],"Load more posts as the reader scrolls down":["Carga más entradas a medida que el lector navega"],"Theme support required.":["Se requiere que el tema sea compatible."],"Learn more about adding support for Infinite Scroll to your theme.":["Aprende más sobre cómo añadir soporte para scroll infinito en tu tema."],"Show excerpts instead of full posts on front page and archive pages":["Muestra extractos en vez de entradas completas en portada y páginas de archivo"],"Show featured images":["Muestra imágenes destacadas"],"Enable the WordPress.com toolbar":["Activar la barra de herramientas de WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Las herramientas de escritura se te mostrarán aquí cuando un administrador las active."],"Portfolios":["Porfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Date cuenta que {{b}}no es necesario verificar tu sitio con estos servicios{{/b}} para que tu sitio lo indexen los motores de búsqueda. Para usar estas herramientas avanzadas de motores de búsqueda y verificar tu sitio con un servicio pega el código de la etiqueta HTML a continuación. Lee las {{support}}instrucciones completas{{/support}} si tienes algún problema. Servicios compatibles con la verificación: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} y {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Crea mapas del sitio en XML"],"The image helps collect stats, but should work when hidden.":["La imagen ayuda a recoger estadísticas pero debería funcionar cuando esté oculta."],"Count logged in page views from":["Contar las visualizaciones de página conectados de"],"Allow stats reports to be viewed by":["Permitir que los informes de estadísticas los vean"],"In \"Upgrade\"":["En «Actualizar»"],"Configure your Google Analytics settings":["Configura tus ajustes de Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Muestra anuncios en el primer artículo de tu portada o al final de cada página y entrada. Pon más anuncios en la parte superior de tu sitio y en cualquier área de widgets para incrementar tus ganancias."],"Enable ads and display an ad below each post":["Activa anuncios y muestra un anuncio debajo de cada entrada"],"Configure your sharing buttons":["Configura tus botones de compartir"],"Connect your social media accounts":["Conecta con tus cuentas de redes sociales"],"Match accounts using email addresses":["Empareja cuentas utilizando la dirección de correo electrónico"],"Require accounts to use WordPress.com Two-Step Authentication":["Requerir cuentas para usar la identificación en dos pasos de WordPress.com"],"Add to whitelist":["Añadir a la lista blanca"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Deberías autorizar algunas direcciones IP para que no sean bloqueadas por Jetpack. Se admiten direcciones IPv4 e IPv6. Para especificar un rango, introduce el valor menor y el mayor separados por un guión, p. ej: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Tu sitio está asegurado y libre de amenazas."],"Checking your spam protection…":["Comprobando protección contra el spam..."],"Fetching key…":["Obteniendo clave..."],"Your site needs an Antispam key.":["Tu sitio necesita una clave Akismet."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Hay un problema con tu clave de API antispam. {{a}}Aprende más{{/a}}."],"Your site is not protected from spam.":["Tu sitio no está protegido frente al spam."],"Your Antispam key is valid.":["Tu clave antispam no es válida."],"Your site is protected from spam.":["Tu sitio está protegido contra el spam."],"Checking key…":["Comprobando clave..."],"Your API key":["Tu clave de API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Si aún no tienes una clave de API, {{a}}haz clic aquí {{/a}} y sigue el proceso guiado para conseguirla."],"No search results found for %(term)s":["No se han encontrado resultados para %(term)s"],"Enter a search term to find settings or close search.":["Escribe un término de búsqueda para encontrar opciones o cierra la búsqueda."],"Connections":["Conexiones"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Tu sitio está en modo de desarrollo, por lo que no se puede conectar con WordPress.com"],"Your site is connected to WordPress.com.":["Tu sitio está conectado con WordPress.com"],"You are the Jetpack owner.":["Eres el propietario de Jetpack"],"Connected as {{span}}%(username)s{{/span}}":["Conectado como {{span}}%(username)s{{/span}}"],"View your Email Followers":["Ver tus seguidores por correo electrónico"],"Color scheme":["Esquema de color"],"Enable Markdown use for comments.":["Permite Markdown en los comentarios."],"Updated settings.":["Opciones guardadas."],"Error updating settings. %(error)s":["Error actualizando los ajustes. %(error)es"],"Regenerated Post by Email address.":["Entrada regenerada desde la dirección de correo electrónico."],"Error regenerating Post by Email address. %(error)s":["Error al regenerar la entrada desde la dirección de correo electrónico. %(error)es"],"Updated settings. Refreshing page…":["Opciones actualizadas. Recargando página..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Actualmente en {{a}}Modo de desarrollo{{/a}} (algunas características están desactivadas) porque: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}El filtro jetpack_development_mode está activo{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Se ha definido la constante JETPACK_DEV_DEBUG{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}La URL de tu sitio no tiene punto (p.ej. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics es un servicio gratuito que complementa nuestras {{a}}estadísticas integradas{{/a}} con diferentes informes de tu tráfico. Las estadísticas de WordPress.com y las de Google Analytics usan distintos métodos para identificar y seguir la actividad de tu sitio, así que normalmente mostrarán totales de tus visitas, páginas vistas, etc. ligeramente diferentes."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configura Google Analytics"],"Activate Google Analytics":["Activa Google Analytics"],"Download the free apps":[""],"Upgrade Focus: VideoPress For Weddings":["Mejora Focus: VideoPress para bodas"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Ahora también puedes configurar las entradas relacionados en el personalizador. {{ExternalLink}}¡Pruébalo!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Por defecto los anuncios se muestran al final de cada página, entrada, o el primer artículo en su portada. ¡También puedes añadirlos a la parte superior de su sitio y en cualquier área de widget para aumentar tus ganancias!"],"Display an ad unit at the top of your site.":["Mostrar un bloque de anuncios en la parte superior de su sitio."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Mediante la activación de los anuncios, usted acepta las {{link}}Condiciones de servicio{{/link}} de los anuncios e Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Tu servidor está mal configurado, lo que significa que la protección de Jetpack no puede proteger tu sitio con efectividad."],"In \"Mobile\"":["En «Móvil»"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configura tus ajustes de avisos del supervisor en WordPress.com{{/link}}"],"View your earnings":["Ver tus ganancias"],"Configure site SEO":["Configurar el SEO del sitio"],"Activate SEO tools":["Activa las herramientas de SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Para empezar haz clic en añadir objeto en tu editor de entradas y sube un vídeo. ¡Nos encargaremos del resto!"],"Video Hosting":["Alojamiento de vídeo"],"SEO Tools":["Herramientas SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Las herramientas SEO avanzadas ayudan a que tu sitio sea fácil de encontrar cuando la gente busque contenido relevante."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["La forma más sencilla de se subir vídeos sin anuncios ni marcas. Obtienes estadísticas las reproducciones de video y de las veces que se ha compartido y el reproductor es ligero y adaptable."],"You are running Jetpack on a staging server.":["Estás ejecutando Jetpack en un servidor de desarrollo."],"More Info":["Más Información"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Administra la visibilidad de los «Me gusta» desde los ajustes del módulo de compartir{{/a}}"],"Your current IP: %(ip)s":["Tu IP actual: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Hay ajustes sin guardar en esta pestaña que se perderán si la dejas. ¿Quieres proceder?"],"This will reset all Jetpack options, are you sure?":["Esto restablecerá todas las opciones de Jetpack, ¿estás seguro?"],"Search for a Jetpack feature.":["Buscar una característica de Jetpack."],"Configure your Security Scans":["Configura tus exploraciones de seguridad"],"Subscriber":["Suscriptor"],"Big iPhone/iPad Update Now Available":["Gran actualización de iPhone/Ipad disponible"],"The WordPress for Android App Gets a Big Facelift":["La aplicación Android para WordPress recibe un enorme estiramiento facial"],"WordPress.com Likes are:":["Los «Me gusta» de WordPress.com están:"],"A few catchy words to motivate your visitors to comment.":["Expresiones pegadizas para motivar a tus lectores a comentar."],"Hide the stats smiley face image":["Oculta la imágen de la carita feliz de las estadísticas"],"Whitelisted IP addresses":["Lista blanca de direcciones IP"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Muestra un anuncio de las aplicaciones de WordPress para móviles en el pie de página del tema móvil."],"Copied!":["¡Copiado!"],"Highlight and copy the following text to your clipboard:":["Realza y copia el texto siguiente a tu portapapeles: "],"Regenerate address":["Regenerar dirección"],"Cheatin' uh?":["¿Haciendo trampas?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}¿Te importaría decirnos por qué no has completado la conexión con Jetpack en esta {{a}}encuesta de 2 preguntas?{{/a}}{{/p}}{{p}}La conexión con Jetpack es obligatoria para que funcionen nuestras características gratuitas de tráfico y seguridad.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bienvenido a {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Tu Jetpack ya está conectado."],"You're fueled up and ready to go, Jetpack is now active.":["Estás completo de combustible y listo para ir, ahora Jetpack está activo"],"You're fueled up and ready to go.":["Estás completo de combustible y listo para ir."],"You are currently running a development version of Jetpack.":["En este momento estás ejecutando una versión de desarrollo de Jetpack."],"Submit Beta feedback":["Envía tus sugerencias"],"What would you like to see on your Jetpack Dashboard?":["¿Qué te gustaría ver en el Escritorio de tu Jetpack?"],"Let us know!":["¡Háznolo saber!"],"Saving…":["Guardando..."],"Save Settings":["Guardar ajustes"],"Jetpack Stats Icon":["Icono de estadísticas de Jeptpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["¡{{a}}Activa las Estadísticas del sitio{{/a}} para ver estadísticas detalladas, «me gusta», seguidores, suscriptores y más! {{a1}}Aprende más{{/a1}}"],"Activate Site Stats":["Activar estadísticas del sitio"],"Site Backups":["Copias de seguridad del sitio"],"Upgrade":["Actualiza"],"ACTIVE":["ACTIVO"],"View your spam stats":["Ver tus estadísticas de spam"],"View your security dashboard":["Ver tu escritorio de seguridad"],"Real-Time Backups":["Copias de seguridad en tiempo real"],"The site is in Development Mode, so you can not connect to WordPress.com.":["El sitio está en el modo de desarrollo, así que no puedes conectarte a WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Conecta tu cuenta a WordPress.com para conseguir el máximo de Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Para la exploración automática y completa de las amenazas de seguridad, por favor, {{a}}instala y activa{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetapck está bloqueando activamente intentos de acceso maliciosos. ¡Muy pronto se mostraran datos aquí mismo!"],"Total malicious attacks blocked on your site.":["Total de ataques maliciosos bloqueados en tu sitio."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activa Protección{{/a}} para mantener tu sitio protegido de intentos de acceso malintencionados."],"All plugins are up-to-date. Awesome work!":["Todos los plugins están actualizados. ¡Buen trabajo!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack está supervisando tu sitio. Si creemos que tu sitio está caído, recibirás un correo electrónico."],"Security":["Seguridad"],"Performance":["Rendimiento"],"Backup":["Copia de seguridad"],"{{a}}View backup details{{/a}}.":["{{a}}Ver detalles de la copia de seguridad{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Para hacer automáticamente una copia de seguridad de tu sitio completo, por favor {{a}}instala y activa{{/a}} VaultPress."],"Unavailable in Dev Mode.":["No disponible en el modo desarrollador."],"Unavailable in Dev Mode":["No disponible en modo desarrollador"],"Activating %(slug)s…":["Activando %(slug)s…"],"%(slug)s has been activated.":["%(slug)s se ha activado."],"%(slug)s failed to activate. %(error)s":["%(slug)s falló al activarse. %(error)s"],"Deactivating %(slug)s…":["Desactivando %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s ha sido desactivado."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s no se desactivaron. %(error)s"],"Updating %(slug)s settings…":["Actualizando %(slug)s ajustes…"],"Updated %(slug)s settings.":["Ajustes de %(slug)s actualizados."],"Error updating %(slug)s settings. %(error)s":["Error actualizando los ajustes %(slug)s. %(error)s"],"Updating %(slug)s address…":["Actualizando la dirección %(slug)s…"],"Regenerated %(slug)s address .":["Regenerar %(slug)s direcciones."],"Error regenerating %(slug)s address. %(error)s":["Error regenerando la dirección %(slug). %(error)s"],"Resetting Jetpack options…":["Resetear opciones de jetpack"],"Options reset.":["Ajustes restablecidos."],"Options failed to reset.":["Fallo al restablecer las opciones."],"There was an error disconnecting Jetpack. Error: %(error)s":["Ha ocurrido un error desconectando Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Desconectando de WordPress.com"],"Unlinked from WordPress.com.":["Desconectado de WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error al desconectar de WordPress.com. %(error)s"],"At A Glance":["De un vistazo"],"Dashboard":["Escritorio"],"Automattic's Privacy Policy":["Política de privacidad de Automattic"],"WordPress.com Terms of Service":["Términos del servicio de WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Activar las actualizaciones automáticas del plugin.{{/a}}"],"Plugin Updates":["Actualizaciones de plugins"],"No threats found, you're good to go!":["No se han encontrado amenazas, ¡estás listo para empezar!"],"{{a}}Contact Support{{/a}}":["{{a}}Contacta con soporte{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Ver detalles en VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["¡Vaya! Se encontró %(number)s amenza.","¡Vaya! Se encontraron %(number)s amenzas."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activa el supervisor{{/a}} para recibir avisos si tu sitio se cae."],"Loading…":["Cargando..."],"Downtime monitor":["Supervisión de inactividad"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Ver más estadísticas en WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Ver más estadísticas{{/button}}"],"All-time comments":["Todos los comentarios"],"All-time views":["Visitas de todo el periodo"],"%(number)s View":["%(number)s visita","%(number)s visitas"],"Best overall day":["El mejor día"],"Views today":["Visualizaciones hoy"],"Months":["Meses"],"Weeks":["Semanas"],"Days":["Días"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Algo pasó al cargar las estadísticas. Por favor, inténtalo de nuevo más tarde o {{a}}ve tus estadísticas ahora en WordPress.com{{/a}}"],"Click to view detailed stats.":["Haz clic para ver estadíticas detalladas."],"Views: %(numberOfViews)s":["VIsitas: %(numberOfViews)s"],"Week of %(date)s":["Semana del %(date)s"],"Site Security":["Seguridad del sitio"],"Link to WordPress.com":["Conecta con WordPress.com"],"Unlink me from WordPress.com":["Desconectame de WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Hubo un problema conectando con tu Jetpack. Por favor haz click en «Conecta con WordPress.com» de nuevo."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Hemos tenido una incidencia conectando Jetpack; desactiva y vuelve a activar el plugin de Jetpack, luego conecta de nuevo."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Debes permanecer conectado a tu blog de WordPress mientras autorizas Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Tu Jetpack tiene un problema.{{/s}} Lamentamos las molestias. Por favor, inténtalo más tarde. Si el problema continúa, por favor contacta con el soporte con este mensaje: %(error_key)s"],"Disconnecting Jetpack":["Desconectando Jetpack"],"Learn more":["Aprende más"],"Posts":["Entradas"],"Front page":["Portada"],"Upload videos":["Subir vídeos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Muestra contenido relacionado después de las entradas"],"Related":["Relacionado"],"Disconnect":["Desconectar"],"Save":["Guardar"],"Media":["Medios"],"Mobile Theme":["Tema para móviles"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX es un lenguaje específicamente diseñado para escribir complejas ecuaciones matemáticas, fórmulas, etc."],"Site Stats":["Estadísticas del sitio"],"Sharing":["Compartir"],"Testimonials":["Recomendaciones"],"Cancel":["Cancelar"],"Comments":["Comentarios"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack no puede ponerse en contacto con WordPress.com: %(error_key)s. Esto generalmente significa que algo no está configurado correctamente en el servidor de tu sitio."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com tiene problemas ahora mismo y no puede repostar tu Jetpack. Por favor, inténtalo más tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Tu Jetpack tiene un fallo.{{/s}} No es posible conectar este sitio con WordPress.com. Esto significa normalmente que tu sitio no es público (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Tu web tiene que ser accesible al público para usar Jetpack: %(error_key)s"],"Edit":["Editar"],"Connected":["Conectado"],"Activate":["Activar"],"Active":["Activo"],"Settings":["Ajustes"],"Learn More":["Aprende más"],"Disconnect Jetpack":["Desconectar Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":["Copias de seguridad de Jetpack"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["Enlaces cortos WP.me"],"Settings header\u0004Auto-update plugins":["Actualización automática de plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Supervisión del tiempo de inactividad"],"Settings header\u0004Privacy Settings":["Ajustes de privacidad"],"Settings header\u0004WordPress.com toolbar":["Barra de herramientas de WordPress.com"],"Settings header\u0004Composing":["Creando"],"Settings header\u0004Site stats":["Estadísticas del sitio"],"Settings header\u0004Search engine optimization":["Optimización en los motores de búsqueda"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Botones de compartir"],"Settings header\u0004Publicize connections":["Conexiones de Divulgar"],"Settings header\u0004Like buttons":["Botones «me gusta»"],"Settings header\u0004Brute force attack protection":["Protección ante ataques de fuerza bruta"],"Settings header\u0004Backups and security scanning":["Copias y exploración de seguridad "],"Notice in the empty statistics chart\u0004No activity this period":["Sin actividad en este periodo"],"Settings header, noun.\u0004WordPress.com login":["Acceso con WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Enviar enlace"],"A caption for a button to cancel an action.\u0004Cancel":["Cancelar"],"Link to learn more about Jetpack.\u0004About":[""],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Navigation item.\u0004Performance":["Rendimiento"],"Navigation item.\u0004My Plan":["Mi plan"],"Navigation item.\u0004Dev Tools":["Herramientas de desarrollo"],"Navigation item.\u0004Settings":["Ajustes"],"Navigation item.\u0004Discussion":["Debate"],"Navigation item.\u0004Traffic":["Tráfico"],"Navigation item.\u0004Sharing":["Compartir"],"Navigation item.\u0004At A Glance":["De un vistazo"],"Navigation item.\u0004Plans":["Planes"],"Navigation item.\u0004Writing":["Escritura"],"Navigation item.\u0004Reset Options (dev only)":["Restablecer ajustes (solo en versiones de desarrollo)"],"Navigation item.\u0004Security":["Seguridad"],"Navigation item.\u0004At a Glance":["De un vistazo"],"Search term.\u0004terms of service":["términos del servicio"],"Search term.\u0004tos":["tds"],"Search term.\u0004gdpr":["rgpd"],"Search term.\u0004data":["datos"],"Search term.\u0004tracks":["pistas"],"Search term.\u0004privacy":["privacidad"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Actualizar"],"Button caption\u0004Saving…":["Guardando…"],"Button caption\u0004Save settings":["Guardar ajustes"],"A heading for a block of related posts.\u0004Related":["Relacionado"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Vista previa"],"Short warning message\u0004Updates needed":["Actualizaciones necesarias"],"Short label appearing near a paid feature configuration block.\u0004Paid":["De pago"],"A header for a preview area in the configuration screen.\u0004Preview":["Vista previa"],"Ads header\u0004Ads":["Anuncios"],"Dashboard widget header\u0004Site connection":["Conexión al sitio"],"Dashboard widget header\u0004Account connection":["Conexión a tu cuenta"],"A caption for a small button to fix security issues.\u0004Threats":["Amenazas"],"A caption for a small button to fix security issues.\u0004FIX":["SOLUCIONAR"],"Short warning message about new threats found.\u0004Threats found!":["¡Encontradas amenazas!"],"Short message informing user that the site is secure.\u0004Secure":["Seguro"],"Caption for a button to set up a feature.\u0004Set up":["Configurar"],"verb\u0004Copy":["Copiar"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacidad"],"Shorthand for Terms of Service.\u0004Terms":["Términos"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Depuración"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Comentarios de spam bloqueados."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-es_ES-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-es_ES-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 24b8ae53..00000000
--- a/plugins/jetpack/languages/json/jetpack-es_ES-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"es"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Tu Plan %(planName)s incluye %(featureName)s. Parece que también has comprado el producto %(productName)s. Te recomendamos que elimines %(productName)s."],"real-time backups":["copias de seguridad en tiempo real"],"daily backups":["copias de seguridad diarias"],"Renews on %s.":["Se renueva el %s."],"Purchased on %s.":["Comprado el %s."],"Select a backup option:":["Elige una opción de copia de seguridad:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Actualiza a %(name)s por {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Estás ahorrando {{savings /}} pagando anualmente"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["¡Date prisa, estos son los {{s}}precios iniciales por tiempo limitado!{{/s}}"],"Up to %(percent)d%% off!":["¡Hasta un %(percent)d%% de descuento!"],"per month":["al mes"],"per year":["al año"],"Which backup option is best for me?":["¿Qué opción de copia de seguridad es mejor para mí?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Gestionar suscripción"],"Your site is being backed up.":["Se está haciendo copia de seguridad de tu sitio."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Tienes que introducir las credenciales de tu servidor para finalizar de configurar las copias de seguridad de Jetpack."],"Jetpack Backup is being configured for your site.":["Se están configurando en tu sitio las copias de seguridad de Jetpack."],"Daily Backups":["Copias de seguridad diarias"],"Just looking for backups? We've got you covered.":["¿Necesitas copias de seguridad? Nos hemos ocupado de todo."],"Solutions":["Soluciones"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Se incluye en tu {{planLink}}plan profesional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Se incluye en tu {{planLink}}plan premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Se incluye en tu {{planLink}}plan personal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Las copias de seguridad siempre activas te aseguran que nunca perderás tu sitio. Tus cambios se van guardando mientras los aplicas y dispones de archivos ilimitados de copia de seguridad."],"Always-on backups ensure you never lose your site.":["Las copias de seguridad siempre activas te aseguran que nunca perderás tu sitio."],"My Products":["Mis productos"],"My Plan":["Mi plan"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Copia de seguridad de Jetpack {{em}}en tiempo real{{/em}}"],"Your data is being securely backed up as you edit.":["Tus datos se están guardando de manera segura a medida que los editas."],"Jetpack Backup {{em}}Daily{{/em}}":["Copia de seguridad de Jetpack {{em}}diaria{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Tus datos se están guardando de manera segura cada día en un archivo de 30 días."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack gratis"],"Expired on %s.":["Caducado el %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["¿Tienes alguna pregunta? ¡Nos encantaría ayudar! {{a}}Envía una pregunta al equipo de soporte de Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack tiene muchas herramientas potentes que pueden ayudarte a alcanzar tus objetivos"]," We’ve highlighted some of the features you rely on below.":[" A continuación, hemos destacado algunas de las características en las que confías."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Actualmente, Jetpack está potenciando las características de tu sitio. Una vez que desactives Jetpack, estas funciones ya no estarán disponibles y es posible que tu sitio ya no funcione de la misma forma."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Actualmente, Jetpack está potenciando las características de tu sitio. Una vez que desconectes Jetpack, estas funciones ya no estarán disponibles y es posible que tu sitio ya no funcione de la misma forma."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Haz crecer tu tráfico {{a}}publicando y compartiendo{{/a}} automáticamente en los medios sociales"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Bloquea los {{a}}ataques de fuerza bruta{{/a}} y obtén avisos inmediatos si tu sitio está caído"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Acelera tu sitio y proporciona imágenes listas para móviles con {{a}}nuestra CDN{{/a}}."],"Disable":["Desactivar"],"Are you sure you want to disconnect and deactivate?":["¿Seguro que quieres desconectar y desactivar?"],"Are you sure you want to disconnect?":["¿Seguro que quieres desconectar?"],"Disable Jetpack":["Desactivar Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Hacemos una copia de seguridad de tu web con cada cambio que realices, lo que facilita la reparación de tus errores."],"Automated Real-time Backups":["Copias de seguridad automatizadas en tiempo real"],"We back up your website every day, so you never have to worry about your data again.":["Hacemos una copia de seguridad de tu web todos los días, por lo que nunca más tendrás que preocuparte por tus datos."],"Automated Daily Backups":["Copias de seguridad diarias automáticas"],"View Your Backups":["Ver tus copias de seguridad"],"A Jetpack Site securely backed up with Jetpack Backup":["Un sitio Jetpack respaldado de forma segura con Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Usa la sintaxis Markdown para componer el contenido con enlaces, listas y otros estilos. Esta opción activa Markdown en el editor clásico, así como dentro de un bloque del editor clásico."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activar{{/a}} para optimizar los tamaños de las imágenes y cargar las imágenes desde la rápida red global de servidores de Jetpack. Esto mejora el rendimiento de tu sitio en los dispositivos de escritorio y móviles."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack está optimizando el tamaño de tus imágenes y la velocidad de descarga usando nuestra rápida red global de servidores. Esto mejora el rendimiento de tu sitio en dispositivos de escritorio y móviles."],"Image Accelerator":["Acelerador de imágenes"],"Start with free":["Empieza gratis"],"Now that you're set up, pick a plan that fits your needs.":["Ahora que ya lo has configurado, elige un plan que se ajuste a tus necesidades."],"Jetpack Backup":["Copia de seguridad de Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Tu plan de Jetpack ofrece protección anti spam mediante Akismet. Haz clic en «configurar» para activarlo en tu sitio."],"Already have a key? {{a}}Activate Akismet{{/a}}":["¿Ya tienes una clave? {{a}}Activa Akismet{{/a}}"],"Verifying…":["Verificando…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Mejora tu clasificación en los motores de búsqueda con las potentes herramientas de SEO del plan Jetpack Premium o el Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Dale a tu sitio una carga rápida y una apariencia optimizada para dispositivos móviles. Los visitantes seguirán viendo tu tema habitual en los otros tamaños de pantalla."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Crea una experiencia de lectura fluida e ininterrumpida cargando más contenido a medida que los visitantes se desplazan hasta la parte inferior de tus páginas de archivo."],"Customize your SEO settings":["Personaliza tus ajustes SEO"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Toma el control de la forma en que los motores de búsqueda representan tu sitio. Con las herramientas de SEO de Jetpack puedes previsualizar cómo se verá tu contenido en los motores de búsqueda más populares y cambiar elementos como el nombre de tu sitio y la descripción corta en cuestión de segundos."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Añade botones de compartir para que los visitantes puedan compartir tus entradas y páginas en los medios sociales con un par de rápidos clics."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Incluye una pequeña gráfica en tu barra de administración con una captura del tráfico de las últimas 48 horas"],"Expand to update settings for how visits are counted and manage who can view this information.":["Amplía para actualizar los ajustes de cómo se cuentan los visitantes y gestionar quién ve esta información."],"You can customize the sharing buttons and choose which services to display.":["Puedes personalizar los botones de compartir y elegir qué servicios mostrar."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Tu sitio está protegido por Jetpack. Recibirás avisos si algo necesita atención."],"Find threats early so we can help fix them fast.":["Encuentra amenazas pronto para que podamos ayudarte a solucionarlas rápidamente."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Reemplaza la búsqueda básica de tu sitio con una búsqueda personalizable que ayuda a los visitantes a encontrar respuestas más rápidamente."],"Never worry about losing your site – automatic backups keep your content safe.":["Nunca te preocupes por perder tu sitio - las copias de seguridad automáticas mantienen tu contenido a salvo."],"Protect":["Proteger"],"Scan":["Explorar"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Vacía automáticamente el spam de tus comentarios y formularios para que puedas volver a ponerte con tu negocio."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Conecta tu sitio en segundos a Google Analytics con Jetpack Premium o Profesional."],"Log in to the WordPress mobile app":["Accede a la aplicación móvil de WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Accede fácilmente a la aplicación de WordPress haciendo clic en el enlace que enviaremos a la dirección de correo electrónico de tu cuenta."],"Email me a link to log in to the app":["Enviadme por correo electrónico un enlace para acceder a la aplicación"],"Send your new posts to this email address:":["Enviar tus nuevas entradas a esta dirección de correo electrónico:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["La publicación por correo electrónico es un modo rápido de publicar nuevas entradas sin visitar tu sitio. Generaremos una dirección de correo electrónico exclusiva para ti a la que enviar tu contenido, que luego aparecerá en tu sitio como cualquier otra entrada."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["La barra de herramientas de WordPress.com reemplaza la barra de herramientas por defecto del administrador de WordPress. Ofrece acceso en un clic a avisos, a tu perfil de WordPress.com y a tus otras webs de Jetpack y WordPress.com. También puedes estar al día de los sitios que sigues en el «Lector»."],"Verify site ownership with third party services":["Verifica la propiedad del sitio con servicios de terceros"],"Generate shortened URLs for simpler sharing.":["Genera URLs acortadas para compartir más fácilmente."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Mantén a tus visitantes ocupados con contenido relacionado al final de cada entrada. Estos ajustes no se aplican a {{a}}entradas relacionadas añadidas usando el editor de bloques{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Esta característica ayuda a tus visitantes a encontrar más contenido tuyo mostrando entradas relacionadas al final de cada entrada."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack genera automáticamente un archivo {{link1}}ads.txt{{/link1}} personalizado adaptado a tu sitio. Si necesitas añadir entradas adicionales para otras redes, por favor, añádelas en el espacio de abajo, una por línea. {{link2}}Consulta aquí más detalles{{/link2}}."],"Add sharing buttons to your posts and pages":["Añade botones de compartir a tus entradas y páginas"],"Share your content to social media, reaching new audiences and increasing engagement.":["Comparte tu contenido en las redes sociales, consiguiendo nuevas audiencias y aumentando la participación."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Recibe alertas si tu sitio está desconectado. Te avisaremos también cuando vuelva a estar en línea."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Con Jetpack puedes elegir que tus plugins se actualicen automáticamente con cada nueva versión de plugin. Obtendrás de inmediato lo último en seguridad y corrección de errores, asegurando que tu sitio permanece seguro."],"Choose which plugins to auto-update":["Elige qué plugins actualizar automáticamente"],"Upgrade Jetpack now":["Actualiza Jetpack ahora"],"Monetize your site by running high quality ads.":["Rentabiliza tu sitio publicando anuncios de alta calidad."],"Customize your social posting schedule.":["Personaliza la programación de tus publicaciones sociales."],"Expand your audience with pro SEO tools.":["Aumenta tu audiencia con herramientas SEO profesionales."],"Take your site to the next level!":["¡Lleva tu sitio al siguiente nivel!"],"Search support docs":["Buscar en la documentación de soporte"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["¿Necesitas ayuda? Aprende sobre cómo empezar, personalizar tu sitio, usar fragmentos de código avanzados y más."],"Start sharing":["Empieza a compartir"],"Optimized performance":["Rendimiento optimizado"],"Enable the “subscribe to comments” option on your comment form":["Activa la opción «suscribirse a los comentarios» en tu formulario de comentarios"],"Enable the “subscribe to site” option on your comment form":["Activa la opción «suscribirse al sitio» en tu formulario de comentarios"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Gestiona los ajustes avanzados de los comentarios y haz crecer tu audiencia con suscripciones por correo electrónico."],"Comment form introduction":["Introducción al formulario de comentarios"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam desarrollado por Akismet. Los envíos del formulario de comentarios y de contacto se comprueban en nuestra base de datos global de spam."],"Failed to send login email":["Ha fallado el envío del correo electrónico de acceso"],"Login email sent":["Enviado el correo electrónico de acceso"],"Sending login email…":["Enviando el correo electrónico de acceso…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["¿Preocupado por la seguridad? Obtén copias de seguridad, correcciones automatizadas de errores de seguridad y más: {{a}}actualiza ahora{{/a}}"],"Allow readers to like individual comments.":["Permite a los lectores dar «me gusta» a los comentarios individuales."],"Enable comment likes.":["Activar los «me gusta» en los comentarios."],"Allow readers to use markdown in comments.":["Permitir a los lectores usar Markdown en los comentarios."],"Show Gravatar hovercards alongside comments.":["Mostrar imágenes de Gravatar en los comentarios."],"Complete Jetpack Setup":["Completar la configuración de Jetpack"],"Your Jetpack setup progress":["Tu progreso de configuración de Jetpack"],"View your setup checklist":["Ver tu lista de comprobación de configuración"],"Yearly":["Anual"],"Monthly":["Mensual"],"About Jetpack":["Sobre Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Activa controles de visibilidad de widgets para mostrar widgets solo en entradas o páginas concretas"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["La visibilidad de widgets te permite decidir qué widgets aparecen en qué páginas, para que puedas personalizar con precisión el contenido de los widgets."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Haz que haya disponibles widgets adicionales en tu sitio, incluidos formularios de suscripción y cronologías de Twitter"],"Enhance CSS customization panel":["Mejora el panel de personalización de CSS"],"Writing":["Escritura"],"Compose using shortcodes to embed media from popular sites":["Redacta usando atajos para incrustar medios de sitios populares"],"Traffic":["Tráfico"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Tienes que introducir las credenciales de tu servidor para terminar de configurar las copias de seguridad y exploración."],"Awaiting credentials":["Esperando credenciales"],"Backups and Scan are being configured for your site.":["Se están configurando las copias de seguridad y las exploraciones para tu sitio."],"Provisioning":["Apuntalando"],"Action needed":["Acción necesaria"],"Setting up":["Configuración"],"Discussion":["Debate"],"We are configuring your site protection.":["Estamos configurando la protección de tu sitio."],"View your site's backups":["Ver las copias de seguridad de tu sitio"],"We are backing up your site in real-time.":["Estamos haciendo copia de seguridad de tu sitio en tiempo real."],"Enter credentials":["Introduce las credenciales"],"You need to enter your server's credentials to finish the setup.":["Necesitas introducir las credenciales de tu servidor para finalizar la instalación."],"We are configuring your site's backups.":["Estaos configurando las copias de seguridad de tu sitio."],"View site activity":["Ver la actividad del sitio"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack guarda un registro completo de todo lo que sucede en tu sitio, reduciendo al mínimo el trabajo de gestión, depuración y reparación del sitio."],"Explore our Jetpack plans":["Explora nuestros planes de Jetpack"],"Support documentation":["Documentación de soporte"],"Chat bubbles representing getting in touch with support":["Burbujas de chat que simbolizan el contacto con el soporte"],"Site activity":["Actividad del sitio"],"Reach a wider audience by automatically sharing your posts on social media.":["Logra una audiencia mayor compartiendo automáticamente tus entradas en los medios sociales."],"Increase traffic to your site":["Aumenta el tráfico hacia tu sitio"],"Explore free themes":["Explora los temas gratuitos"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Consigue acceso ilimitado a cientos de temas profesionales, y personaliza tu sitio exactamente como quieras."],"A wide variety of themes and tools to customize a site":["Una amplia variedad de temas y herramientas para personalizar un sitio"],"Set up your site security":["Configura la seguridad de tu sitio"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Evita ataques de acceso, y obtén avisos instantáneos cuando haya un problema con tu sitio."],"Site stats showing an evolution in traffic and engagement":["Estadísticas del sitio mostrando una evolución en tráfico y participación"],"A hand holding a loupe":["Una mano sosteniendo una lupa"],"A chart showing an healthy increase in earnings":["Un gráfico que muestra un saludable aumento de ganancias"],"Interface showing a chronological list of changes and updates in a site":["Interfaz mostrando una lista cronológica de los cambios y actualizaciones de un sitio"],"A cloud with multiple types of content floating around it":["Una nube con varios tipos de contenido flotando alrededor"],"A folder holding real comments":["Una carpeta con comentarios reales"],"Make your site faster":["Haz más rápido tu sitio"],"Load pages faster by serving your images from our global network of servers.":["Carga páginas más rápido sirviendo tus imágenes desde nuestra red global de servidores."],"A fast and performant website":["Una web rápida y eficaz"],"A secure site, locked and protected by Jetpack":["Un sitio seguro, aislado y protegido por Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplica entradas, páginas, recomendaciones y porfolios existentes. Se copiará todo el contenido, incluyendo texto, imágenes destacadas, ajustes para compartir y mucho más."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["El sitio no se puede conectar a WordPress.com debido a que viola nuestros {{a}}términos del servicio{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Conecta tu web a las redes sociales que uses y comparte tu contenido en todas tus cuentas sociales con un solo clic. Cuando publicas una entrada aparecerá en todas las cuentas conectadas."],"Add Like buttons to your posts and pages":["Añade botones de «Me gusta» a tus entradas y páginas"],"When visitors enjoy your content, let them show it with a Like.":["Cuando los visitantes disfrutan de tu contenido, déjales mostrarlo con un «Me gusta»."],"Create account":["Crear cuenta"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack está impulsando tu sitio, pero para acceder a todas sus características necesitarás crear una cuenta."],"Compose content the way you want to and streamline your publishing experience.":["Redacta el contenido de la forma que quieras y agiliza tu experiencia de publicación."],"Add a portfolio item":["Añade un elemento del porfolio"],"Add a testimonial":["Añade una recomendación"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximiza la visibilidad de tu sitio en los motores de búsqueda y visualiza las estadísticas de tráfico en tiempo real."],"Create a Jetpack account to use this feature":["Crea una cuenta Jetpack para usar esta característica"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack supervisará continuamente tu sitio, y te alertará en el momento en que se detecte tiempo de inactividad."],"Error enabling Site accelerator. %(error)s":["Error al activar el acelerador del sitio. %(error)es"],"Site accelerator is now speeding up your site!":["¡El acelerador del sitio está ahora acelerando tu sitio!"],"Enabling Site accelerator…":["Activando el acelerador del sitio …"],"Error disabling site accelerator. %(error)s":["Error al desactivar el acelerador del sitio. %(error)es"],"Site accelerator is no longer speeding up your site!":["¡El acelerador del sitio ya no está acelerando tu sitio!"],"Disabling site accelerator…":["Desactivando el acelerador del sitio …"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Carga páginas más rápido, optimiza imágenes y acelera la experiencia de tus visitantes."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complementa las estadísticas de WordPress.com con la exploración en profundidad de Google de tus visitantes y patrones de tráfico."],"High-speed, high-definition video hosting with no third-party ads.":["Alojamiento de vídeo de alta velocidad y alta definición sin anuncios de terceros."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Programa con antelación un número ilimitado de tuits, publicaciones de Facebook y otras publicaciones sociales."],"Marketing Automation":["Automatización de márketing"],"Activate Jetpack Search":["Activa la búsqueda de Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Reemplaza la búsqueda predeterminada de WordPress con mejores resultados y filtrado con la tecnología de búsqueda Elasticsearch."],"Start earning":["Empieza a ganar"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds te permite ganar dinero mostrando contenido promocional. Empieza a ganar hoy mismo."],"Spam is automatically blocked from your comments.":["El spam se bloquea automáticamente de tus comentarios."],"Browse premium themes":["Ver temas premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Accede a cientos de temas premium con un diseño atractivo sin coste adicional."],"Try a premium theme":["Prueba un tema premium"],"View settings":["Ver ajustes"],"Create a Jetpack account to view your email followers":["Crea una cuenta Jetpack para ver tus seguidores por correo electrónico"],"Manage security settings":["Gestionar ajustes de seguridad"],"Jetpack is ready for the new WordPress editor":["Jetpack está preparado para el nuevo editor de WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Hoy estamos introduciendo la primera ola de bloques específicos de Jetpack creados específicamente para la nueva experiencia del editor: botón de Simple Payment, Formulario, Mapa y Markdown."],"Build your Jetpack site with blocks":["Crea tu sitio Jetpack con bloques"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["¿Un nuevo editor? ¡Sío! {{a}}Aprender más{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Las características en las que confías, adaptadas al nuevo editor de WordPress."],"Take me to the new editor":["Llévame al nuevo editor"],"Testing Jetpack Connection":["Probando conexión de Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["Se ha producido un error al probar Jetpack. Error: %(error)s"],"New in Jetpack!":["¡Nuevo en Jetpack!"],"Speed up static file load times":["Acelera los tiempos de carga de archivos estáticos"],"Speed up image load times":["Acelera los tiempos de carga de imágenes"],"Enable site accelerator":["Activa el acelerador de sitios"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Carga páginas más rápido permitiendo a Jetpack optimizar tus imágenes y servir tus imágenes y archivos estáticos (como CSS y JavaScript) desde nuestra red global de servidores."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Añade una capa extra de seguridad a tu web activando el acceso e identificación segura de WordPress.com. Si tienes varios sitios con esta opción activa, podrás acceder en todos ellos con las mismas credenciales."],"View your site activity":["Ver la actividad de tu sitio"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Ve una lista cronológica de todos los cambios y actualizaciones de tu sitio de un modo organizado y legible."],"Manually Verify ":["Verificar manualmente "],"Verify with Google":["Verificar con Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google enviará correos electrónicos sobre ciertos eventos que ocurran en tu sitio, incluidas indicaciones de que tu web ha sido {{a1}}hackeada{{/a1}} o problemas al {{a2}}rastrear o indexar{{/a2}} tu sitio."],"or":["o"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Supervisa el tráfico y rendimiento de tu sitio desde la {{a}}consola de búsqueda de Google{{/a}}."],"Your site is verified with Google":["Tu sitio está verificado con Google"],"Site failed to verify: %(error)s":["Fallo al verificar el sitio: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Añade búsquedas más rápidas y avanzadas a tu sitio con Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Reemplaza el buscador incluido en WordPress con el buscador de Jetpack, una experiencia avanzada de búsqueda"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["El buscador de Jetpack reemplaza el buscador incluido con un buscador rápido, escalable, personalizable y de alta relevancia, alojado en la nube de WordPress.com. El resultado: tus usuarios encontrarán el contenido que quieren más rápido."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["El buscador incluido en WordPress es fantástico para sitios sin mucho contenido. Pero a medida que crezca tu sitio, las búsquedas se ralentizan y devuelven resultados menos relevantes."],"Jetpack Search supports many customizations.":["El buscador de Jetpack ofrece muchas personalizaciones."],"Site is verified":["El sitio está verificado"],"Spam filtering and priority support.":["Filtrado de spam y soporte prioritario."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Cuando se activan los anuncios, Jetpack genera automáticamente un ads.txt personalizado para tu sitio."],"Custom ads.txt entries":["Entradas en ads.txt personalizadas"],"Privacy information":["Información de privacidad"],"Enable Lazy Loading for images":["Activar carga en diferido de imágenes"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["La carga diferida de imágenes mejora la velocidad de tu sitio y crea una experiencia de visualización más fluida. La carga de las imágenes se realiza conforme los usuarios van desplazándose por la página en lugar de cargar todo de una vez."],"Performance & speed":["Rendimiento y velocidad"],"Enable high-speed, ad-free video player":["Activa el reproductor de vídeo de alta velocidad, sin anuncios"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Haz que el contenido que publicas sea más atractivo con vídeo de alta resolución. Con Jetpack Vídeo puedes personalizar tu reproductor de medios y mostrar a tus visitantes vídeos de alta velocidad, sin anuncios ni marcas. ¡Los vídeos se alojan en nuestros servidores de WordPress.com y no consumen espacio de tu plan de alojamiento!"],"Video":["Video"],"Carousel color scheme":["Esquema de color del carrusel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Los datos Exif muestran a los observadores detalles técnicos de una foto, como su longitud focal, apertura e ISO."],"Show photo Exif metadata in carousel (when available)":["Muestra metadatos Exif de la foto en el carrusel (cuando está disponible)"],"Display images in a full-screen carousel gallery":["Mostrar imágenes en una galería de carrusel a pantalla completa"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Crea presentaciones en carrusel a pantalla completa de las imágenes de tus entradas y páginas. Las galerías en carrusel son perfectas para móviles y animan a los visitantes del sitio a interactuar con tus fotos."],"Portfolios shortcode: [portfolio]":["Shortcode de portfolios: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Utiliza {{portfolioLink}}porfolios{{/portfolioLink}} en tu sitio para mostrar tus mejores trabajos. Si tu tema no es compatible con los porfolios de Jetpack, puedes usar un sencillo shortcode para mostrarlos en tu sitio."],"Testimonials shortcode: [testimonials]":["Shortcode de recomendaciones: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Añade {{testimonialLink}}recomendaciones{{/ testimonialLink}} a tu web para atraer nuevos clientes. Si tu tema no es compatible con las recomendaciones de Jetpack, puedes utilizar un sencillo shortcode para mostrarlas en tu sitio."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Los motores de búsqueda no pueden acceder a tu sitio en este momento. Si quieres que tu sitio sea accesible revisa tus {{a}}ajustes de lectura{{/a}} y cambia para activar la «Visibilidad en los motores de búsqueda»."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Buenas noticias: Jetpack está enviando tu mapa del sitio automáticamente a todos los principales motores de búsqueda para su indexación."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Los mapas del sitio son archivos que los motores de búsqueda como Google y Bing utilizan para indexar tu web. Pueden ayudar a mejorar tus posiciones en los resultados de búsqueda. Cuando activas esta característica, Jetpack creará mapas del sitio para ti y los actualiza automáticamente cuando cambie el contenido de tu sitio."],"Configure related posts in the Customizer":["Configurar entradas relacionadas en el personalizador"],"Highlight related content with a heading":["Destacar contenido relacionado con un encabezado"],"View security scan details":["Ver detalles de la exploración de seguridad"],"Test your site’s compatibility with Jetpack.":["Prueba la compatibilidad de tu sitio con Jetpack."],"Show a thumbnail image where available":["Mostrar una imagen en miniatura donde esté disponible"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Para obtener más información sobre cómo las características específicas de Jetpack usan datos y realizan un seguimiento de la actividad, consulta nuestro {{privacyCenterLink}}centro de privacidad{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Usamos otras herramientas de seguimiento, incluidas algunas de terceros. {{cookiePolicyLink}}Lee acerca de estos{{/cookiePolicyLink}} y sobre cómo controlarlos."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Esta información nos ayuda a mejorar nuestros productos, hacer que el marketing sea más relevante, personalizar tu experiencia en WordPress.com y más, tal como se detalla en nuestra {{pp}}política de privacidad{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Comparte información con nuestra herramienta de análisis acerca del uso que haces de los servicios mientras estás conectado a tu cuenta de WordPress.com. {{cookiePolicyLink}}Aprende más{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica está siendo gestionada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica ha sido desactivada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica ha sido activada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s ha sido desactivado por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been disabled by a site administrator.":["Esta característica ha sido desactivada por el administrador del sitio."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s ha sido desactivado por un administrador del sitio."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Puedes colocar anuncios adicionales usando el widget de anuncios. {{link}}¡Pruébalo!{{/link}}"],"Configure your notification settings":["Configura tus ajustes de avisos"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["El módulo de búsqueda de Jetpack es un potente sustituto de la capacidad de búsqueda integrada en WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Los archivos de tu sitio se exploran periódicamente en busca de modificaciones no autorizadas o sospechosas que podrían comprometer tu seguridad y datos."],"Plugin needs updating.":["El plugin necesita actualizarse.","Los plugins necesitan actualizarse."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Las actualizaciones de plugins de Jetpack te permiten seleccionar qué plugins se actualizan automáticamente."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimizará tus imágenes y las servirá desde la ubicación del servidor más cercana a tus visitantes. El uso de nuestra red global de entrega de contenido aumentará la velocidad de carga de tu sitio."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["El supervisor de tiempo de inactividad de Jetpack mantendrá controlado tu sitio y te alertará en el momento en que se detecte un tiempo de inactividad."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Las copias de seguridad de Jetpack te permiten restaurar o descargar fácilmente una copia de seguridad de un momento específico."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Activa un tema ligero adaptado a móviles que se mostrará a los visitantes en sus dispositivos móviles."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Carga automáticamente las siguientes entradas cuando el lector se acerca al fondo de la página."],"Allows you to publish new posts by sending an email to a special address.":["Permite publicar nuevas entradas enviando un correo electrónico a una dirección especial."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Añade una barra de herramientas con enlaces a todos tus sitios, avisos, tu perfil de WordPress.com y el «Lector»."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Ofrece las etiquetas ocultas necesarias para verificar tu sitio WordPress en diversos servicios."],"Displays information on your site activity, including visitors and popular posts or pages.":["Muestra información de la actividad de tu sitio, incluidos los visitantes y las entradas o páginas populares."],"Allows you to optimize your site and its content for better results in search engines.":["Te permite optimizar tu sitio y su contenido para unos mejores resultados en los motores de búsqueda."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integra tu sitio WordPress con Google Analytics, una plataforma que ofrece estadísticas de tu tráfico, visitantes y conversiones."],"Displays high-quality ads on your site that allow you to earn income.":["Muestra anuncios de gran calidad en tu sitio que te permiten ganar ingresos."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Te permite compartir automáticamente tu contenido más reciente en los sitios de medios sociales, incluidos Facebook y Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Añade botones de «me gusta» a tu contenido para que tus visitantes puedan mostrar su aprecio o disfrute."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permite a los usuarios registrados acceder a tu sitio con sus cuentas de WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protege tu sitio de ataques típicos y distribuidos de fuerza bruta contra la pantalla de acceso."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Hace copias de seguridad de tu sitio en los servidores globales de WordPress.com, permitiéndote restaurar tu contenido en caso de emergencia o error."],"Removes spam from comments and contact forms.":["Elimina el spam de comentarios y formularios de contacto."],"We are committed to your privacy and security. ":["Estamos comprometidos con tu privacidad y seguridad. "],"View all Jetpack plans":["Ver todos los planes Jetpack"],"Manage your plan":["Gestiona tu plan"],"Your Plan":["Tu plan"],"You’re currently on Jetpack %(plan)s.":["Actualmente estás en el %(plan)s de Jetpack."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permite a los lectores suscribirse a tus entradas o comentarios, y recibe avisos cuando haya nuevos contenidos por correo electrónico."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Reemplaza el formulario estándar de comentarios de WordPress con un nuevo sistema de comentarios que incluye opciones de acceso a medios sociales."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Actívalo{{/a}} para reemplazar la búsqueda incluida en WordPress por una experiencia de búsqueda mejorada."],"Add Search (Jetpack) Widget":["Añade el widget de búsqueda (Jetpack)"],"Jetpack Search is powering search on your site.":["La búsqueda de Jetpack está mejorando la búsqueda en tu sitio."],"Manage your plugins":["Gestiona tus plugins"],"Moderate comments":["Modera comentarios"],"Error updating privacy settings. %(error)s":["Error al actualizar los ajustes de privacidad. %(error)s"],"Updated privacy settings.":["Ajustes de privacidad actualizados."],"Updating privacy settings…":["Actualizando ajustes de privacidad…"],"Add Jetpack Search Widget":["Añadir widget de búsqueda de Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Añade un widget de búsqueda de Jetpack a tu barra lateral para configurar los filtros de búsqueda avanzada."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suite completa de seguridad, marketing y herramientas de automatización de ingresos, alojamiento ilimitado de vídeo, temas ilimitados, búsquedas mejoradas y soporte prioritario."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suite completa de seguridad, marketing y herramientas de automatización de ingresos, alojamiento ilimitado de vídeo y soporte prioritario."],"Daily backups, spam filtering, and priority support.":["Copias de seguridad diarias, filtrado de spam y soporte prioritario."],"Always-on security":["Seguridad siempre activa"],"Activate video hosting":["Activar alojamiento de vídeo"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copias de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones en un clic, vigilancia automática de seguridad y soporte prioritario"],"Design the perfect website":["Diseña la web perfecta"],"Set up Jetpack":["Configurar Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Copias de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones a un clic y exploración de seguridad automática."],"Jetpack Search":["Búsqueda de Jetpack"],"Jetpack version %(version)s":["Jetpack versión %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Tu sitio está haciendo copia de seguridad en tiempo real y explorando regularmente en busca de amenazas de seguridad."],"Daily backup of all your site data with unlimited space and one-click restores":["Copias de seguridad diarias de todos los datos de tu sitio con espacio ilimitado y restauraciones con un solo clic"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copia de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones con un solo clic, exploración automática de seguridad y soporte prioritario"],"View your security activity":["Ver tu actividad de seguridad"]," (powered by VaultPress).":[" (funciona gracias a VaultPress)."],"Customize Search Widget":["Personalizar el widget de búsqueda"],"Please correct the issue below and try again.":["Por favor, corrige el problema que se enumera a continuación y vuelve a intentarlo.","Por favor, corrige los problemas que se enumeran a continuación y vuelve a intentarlo."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Nos aseguramos de que tu sitio se mantenga libre de amenazas a la seguridad. Se te avisará si encontramos una."],"Jetpack version":["Versión de Jetpack"],"Activity":["Actividad"],"{{a}}View details{{/a}}":["{{a}}Ver detalles{{/a}}"],"Monetize your site with ads":["Monetiza tu sitio con anuncios"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Al hacer clic en el botón inferior aceptas nuestros {{tosLink}}términos del servicio{{/tosLink}} y {{shareDetailsLink}}compartir detalles{{/shareDetailsLink}} con WordPress.com."],"Jetpack Stats People":["Estadísticas de gente Jetpack"],"Hello there! Your stats have been activated.":["¡Hola! Tus estadísticas están activas."],"Just give us a little time to collect data so we can display it for you here.":["Danos un poco de tiempo para recopilar datos para que podamos mostrártelos aquí."],"Okay, got it!":["¡Vale, lo entiendo!"],"Display ads below posts on":["Muestra anuncios bajo las entradas"],"Additional ad placements":["Ubicaciones adicionales de anuncios"],"Top of each page":["En la parte superior de cada página"],"Second ad below post":["Segundo anuncio bajo la entrada"],"Archives":["Archivos"],"Stars":["Estrellas"],"Jupiter":["Júpiter"],"Schedule posts":["Programación de entradas"],"Activate Publicize":["Activa Divulgar"],"Your site is backed up.":["Tu sitio está respaldado."],"Get WordPress Apps for every device":["Consigue aplicaciones WordPress para cualquier dispositivo"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gestiona todos tus sitios desde un solo escritorio: publica contenido, sigue las estadísticas, modera comentarios, y mucho más desde cualquier lugar del mundo."],"Create address":["Crear dirección"],"Automatically share your posts to social networks":["Comparte automáticamente tus entradas en las redes sociales"],"Updating settings…":["Actualizando ajustes…"],"Updating Post by Email address…":["Actualizando la entrada por dirección de correo electrónico…"],"Your paid plan gives you access to prioritized Jetpack support.":["Tu plan de pago te da acceso al soporte prioritario de Jetpack."],"You have paid for backups but they're not yet active.":["Has pagado por las copias de seguridad pero aún no están activas."],"You have paid for backups and security scanning but they’re not yet active.":["Has pagado por copias y exploración de seguridad pero aún no están activas."],"Click \"Set Up\" to finish installation.":["Haz clic en «Configurar» para finalizar la instalación."],"Checking site status…":["Comprobando estado del sitio…"],"Pages":["Páginas"],"Access the full list of Jetpack modules available on your site.":["Acceso a la lista completa de módulos de Jetpack disponibles en tu sitio."],"We're here to help":["Dónde ir para obtener ayuda"],"Jetpack comes with free, basic support for all users.":["Jetpack incorpora soporte básico gratuito para todos los usuarios."],"Ask a question":["Haz una pregunta"],"Search our support site":["Busca en nuestro sitio de soporte"],"Get a faster resolution to your support questions.":["Consigue una respuesta más rápida a tus preguntas de soporte."],"Host fast, high-quality, ad-free video.":["Video de alta calidad, sin publicidad y con alojamiento rápido."],"Generate income with high-quality ads.":["Genera beneficios con anuncios de alta calidad."],"Real-time site backups and automatic threat resolution.":["Copias de seguridad en tiempo real y resolución automática de amenazas."],"Protect against data loss, malware, and malicious attacks.":["Protégete contra pérdidas de datos, malware y ataques maliciosos."],"Protect your site from spam.":["Protege tu sitio del spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Este sitio no está conectado con WordPress.com. Por favor, contacta con el administrado para conectarlo."],"An Automattic Airline":["Una aerolínea de Automattic"],"Manage site connection":["Gestionar conexión del sitio"],"Connect your account to WordPress.com to view more stats":["Conecta tu cuenta a WordPress.com para ver más estadísticas"],"Theme enhancements":["Mejoras del tema"],"Load more posts using the default theme behavior":["Carga más entradas usando el comportamiento por defecto del tema"],"Load more posts in page with a button":["Carga mas entradas en la página con un botón"],"Load more posts as the reader scrolls down":["Carga más entradas a medida que el lector navega"],"Theme support required.":["Se requiere que el tema sea compatible."],"Learn more about adding support for Infinite Scroll to your theme.":["Aprende más sobre cómo añadir soporte para scroll infinito en tu tema."],"Show excerpts instead of full posts on front page and archive pages":["Muestra extractos en vez de entradas completas en portada y páginas de archivo"],"Show featured images":["Muestra imágenes destacadas"],"Enable the WordPress.com toolbar":["Activar la barra de herramientas de WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Las herramientas de escritura se te mostrarán aquí cuando un administrador las active."],"Portfolios":["Porfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Date cuenta que {{b}}no es necesario verificar tu sitio con estos servicios{{/b}} para que tu sitio lo indexen los motores de búsqueda. Para usar estas herramientas avanzadas de motores de búsqueda y verificar tu sitio con un servicio pega el código de la etiqueta HTML a continuación. Lee las {{support}}instrucciones completas{{/support}} si tienes algún problema. Servicios compatibles con la verificación: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} y {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Crea mapas del sitio en XML"],"The image helps collect stats, but should work when hidden.":["La imagen ayuda a recoger estadísticas pero debería funcionar cuando esté oculta."],"Count logged in page views from":["Contar las visualizaciones de página conectados de"],"Allow stats reports to be viewed by":["Permitir que los informes de estadísticas los vean"],"In \"Upgrade\"":["En «Actualizar»"],"Configure your Google Analytics settings":["Configura tus ajustes de Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Muestra anuncios en el primer artículo de tu portada o al final de cada página y entrada. Pon más anuncios en la parte superior de tu sitio y en cualquier área de widgets para incrementar tus ganancias."],"Enable ads and display an ad below each post":["Activa anuncios y muestra un anuncio debajo de cada entrada"],"Configure your sharing buttons":["Configura tus botones de compartir"],"Connect your social media accounts":["Conecta con tus cuentas de redes sociales"],"Match accounts using email addresses":["Empareja cuentas utilizando la dirección de correo electrónico"],"Require accounts to use WordPress.com Two-Step Authentication":["Requerir cuentas para usar la identificación en dos pasos de WordPress.com"],"Add to whitelist":["Añadir a la lista blanca"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Deberías autorizar algunas direcciones IP para que no sean bloqueadas por Jetpack. Se admiten direcciones IPv4 e IPv6. Para especificar un rango, introduce el valor menor y el mayor separados por un guión, p. ej: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Tu sitio está asegurado y libre de amenazas."],"Checking your spam protection…":["Comprobando protección contra el spam…"],"Fetching key…":["Obteniendo clave…"],"Your site needs an Antispam key.":["Tu sitio necesita una clave Akismet."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Hay un problema con tu clave de API antispam. {{a}}Aprende más{{/a}}."],"Your site is not protected from spam.":["Tu sitio no está protegido frente al spam."],"Your Antispam key is valid.":["Tu clave antispam no es válida."],"Your site is protected from spam.":["Tu sitio está protegido contra el spam."],"Checking key…":["Comprobando clave…"],"Your API key":["Tu clave de API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Si aún no tienes una clave de API, {{a}}haz clic aquí {{/a}} y sigue el proceso guiado para conseguirla."],"No search results found for %(term)s":["No se han encontrado resultados para %(term)s"],"Enter a search term to find settings or close search.":["Escribe un término de búsqueda para encontrar opciones o cierra la búsqueda."],"Connections":["Conexiones"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Tu sitio está en modo de desarrollo, por lo que no se puede conectar con WordPress.com."],"Your site is connected to WordPress.com.":["Tu sitio está conectado con WordPress.com."],"You are the Jetpack owner.":["Eres el propietario de Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Conectado como {{span}}%(username)s{{/span}}"],"View your Email Followers":["Ver tus seguidores por correo electrónico"],"Color scheme":["Esquema de color"],"Enable Markdown use for comments.":["Permite Markdown en los comentarios."],"Updated settings.":["Opciones guardadas."],"Error updating settings. %(error)s":["Error actualizando los ajustes. %(error)es"],"Regenerated Post by Email address.":["Entrada regenerada desde la dirección de correo electrónico."],"Error regenerating Post by Email address. %(error)s":["Error al regenerar la entrada desde la dirección de correo electrónico. %(error)es"],"Updated settings. Refreshing page…":["Opciones actualizadas. Recargando página…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Actualmente en {{a}}Modo de desarrollo{{/a}} (algunas características están desactivadas) porque: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}El filtro jetpack_development_mode está activo{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Se ha definido la constante JETPACK_DEV_DEBUG{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}La URL de tu sitio no tiene punto (p.ej. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics es un servicio gratuito que complementa nuestras {{a}}estadísticas integradas{{/a}} con diferentes informes de tu tráfico. Las estadísticas de WordPress.com y las de Google Analytics usan distintos métodos para identificar y seguir la actividad de tu sitio, así que normalmente mostrarán totales de tus visitas, páginas vistas, etc. ligeramente diferentes."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configura Google Analytics"],"Activate Google Analytics":["Activa Google Analytics"],"Download the free apps":["Descarga las aplicaciones gratuitas"],"Upgrade Focus: VideoPress For Weddings":["Mejora Focus: VideoPress para bodas"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Ahora también puedes configurar las entradas relacionados en el personalizador. {{ExternalLink}}¡Pruébalo!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Por defecto, los anuncios se muestran al final de cada página, entrada, o el primer artículo en tu portada. ¡También puedes añadirlos a la parte superior de tu sitio y en cualquier área de widgets para aumentar tus ganancias!"],"Display an ad unit at the top of your site.":["Mostrar un bloque de anuncios en la parte superior de tu sitio."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Mediante la activación de los anuncios, usted acepta las {{link}}Condiciones de servicio{{/link}} de los anuncios e Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Tu servidor está mal configurado, lo que significa que la protección de Jetpack no puede proteger tu sitio con efectividad."],"In \"Mobile\"":["En «Móvil»"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configura tus ajustes de avisos del supervisor en WordPress.com{{/link}}"],"View your earnings":["Ver tus ganancias"],"Configure site SEO":["Configurar el SEO del sitio"],"Activate SEO tools":["Activa las herramientas de SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Para empezar haz clic en añadir objeto en tu editor de entradas y sube un vídeo. ¡Nos encargaremos del resto!"],"Video Hosting":["Alojamiento de vídeo"],"SEO Tools":["Herramientas SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Las herramientas SEO avanzadas ayudan a que tu sitio sea fácil de encontrar cuando la gente busque contenido relevante."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["La forma más sencilla de se subir vídeos sin anuncios ni marcas. Obtienes estadísticas las reproducciones de video y de las veces que se ha compartido y el reproductor es ligero y adaptable."],"You are running Jetpack on a staging server.":["Estás ejecutando Jetpack en un servidor de desarrollo."],"More Info":["Más Información"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Administra la visibilidad de los «Me gusta» desde los ajustes del módulo de compartir{{/a}}"],"Your current IP: %(ip)s":["Tu IP actual: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Hay ajustes sin guardar en esta pestaña que se perderán si la dejas. ¿Quieres proceder?"],"This will reset all Jetpack options, are you sure?":["Esto restablecerá todas las opciones de Jetpack, ¿estás seguro?"],"Search for a Jetpack feature.":["Buscar una característica de Jetpack."],"Configure your Security Scans":["Configura tus exploraciones de seguridad"],"Subscriber":["Suscriptor"],"Big iPhone/iPad Update Now Available":["Gran actualización de iPhone/Ipad disponible"],"The WordPress for Android App Gets a Big Facelift":["La aplicación Android para WordPress recibe un enorme estiramiento facial"],"WordPress.com Likes are:":["Los «Me gusta» de WordPress.com están:"],"A few catchy words to motivate your visitors to comment.":["Expresiones pegadizas para motivar a tus lectores a comentar."],"Hide the stats smiley face image":["Oculta la imágen de la carita feliz de las estadísticas"],"Whitelisted IP addresses":["Lista blanca de direcciones IP"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Muestra un anuncio de las aplicaciones de WordPress para móviles en el pie de página del tema móvil"],"Copied!":["¡Copiado!"],"Highlight and copy the following text to your clipboard:":["Resalta y copia el siguiente texto a tu portapapeles:"],"Regenerate address":["Regenerar dirección"],"Cheatin' uh?":["¿Haciendo trampas?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}¿Te importaría decirnos por qué no has completado la conexión con Jetpack en esta {{a}}encuesta de 2 preguntas?{{/a}}{{/p}}{{p}}La conexión con Jetpack es obligatoria para que funcionen nuestras características gratuitas de tráfico y seguridad.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bienvenido a {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Tu Jetpack ya está conectado."],"You're fueled up and ready to go, Jetpack is now active.":["Estás hasta arriba de combustible y listo para ir, ahora Jetpack está activo."],"You're fueled up and ready to go.":["Estás completo de combustible y listo para ir."],"You are currently running a development version of Jetpack.":["En este momento estás ejecutando una versión de desarrollo de Jetpack."],"Submit Beta feedback":["Envía tus sugerencias"],"What would you like to see on your Jetpack Dashboard?":["¿Qué te gustaría ver en el Escritorio de tu Jetpack?"],"Let us know!":["¡Háznolo saber!"],"Saving…":["Guardando…"],"Save Settings":["Guardar ajustes"],"Jetpack Stats Icon":["Icono de estadísticas de Jeptpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["¡{{a}}Activa las Estadísticas del sitio{{/a}} para ver estadísticas detalladas, «me gusta», seguidores, suscriptores y más! {{a1}}Aprende más{{/a1}}"],"Activate Site Stats":["Activar estadísticas del sitio"],"Site Backups":["Copias de seguridad del sitio"],"Upgrade":["Actualiza"],"ACTIVE":["ACTIVO"],"View your spam stats":["Ver tus estadísticas de spam"],"View your security dashboard":["Ver tu escritorio de seguridad"],"Real-Time Backups":["Copias de seguridad en tiempo real"],"The site is in Development Mode, so you can not connect to WordPress.com.":["El sitio está en el modo de desarrollo, así que no puedes conectarte a WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Conecta tu cuenta a WordPress.com para conseguir el máximo de Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Para la exploración automática y completa de las amenazas de seguridad, por favor, {{a}}instala y activa{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetapck está bloqueando activamente intentos de acceso maliciosos. ¡Muy pronto se mostraran datos aquí mismo!"],"Total malicious attacks blocked on your site.":["Total de ataques maliciosos bloqueados en tu sitio."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activa Protección{{/a}} para mantener tu sitio protegido de intentos de acceso malintencionados."],"All plugins are up-to-date. Awesome work!":["Todos los plugins están actualizados. ¡Buen trabajo!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack está supervisando tu sitio. Si creemos que tu sitio está caído, recibirás un correo electrónico."],"Security":["Seguridad"],"Performance":["Rendimiento"],"Backup":["Copia de seguridad"],"{{a}}View backup details{{/a}}.":["{{a}}Ver detalles de la copia de seguridad{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Para hacer automáticamente una copia de seguridad de tu sitio completo, por favor {{a}}instala y activa{{/a}} VaultPress."],"Unavailable in Dev Mode.":["No disponible en el modo desarrollador."],"Unavailable in Dev Mode":["No disponible en modo desarrollador"],"Activating %(slug)s…":["Activando %(slug)s…"],"%(slug)s has been activated.":["%(slug)s se ha activado."],"%(slug)s failed to activate. %(error)s":["%(slug)s falló al activarse. %(error)s"],"Deactivating %(slug)s…":["Desactivando %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s desactivado(s)."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s no se desactivaron. %(error)s"],"Updating %(slug)s settings…":["Actualizando %(slug)s ajustes…"],"Updated %(slug)s settings.":["Ajustes de %(slug)s actualizados."],"Error updating %(slug)s settings. %(error)s":["Error actualizando los ajustes %(slug)s. %(error)s"],"Updating %(slug)s address…":["Actualizando la dirección %(slug)s…"],"Regenerated %(slug)s address .":["Regenerar %(slug)s direcciones."],"Error regenerating %(slug)s address. %(error)s":["Error regenerando la dirección %(slug). %(error)s"],"Resetting Jetpack options…":["Resetear opciones de jetpack"],"Options reset.":["Ajustes restablecidos."],"Options failed to reset.":["Fallo al restablecer las opciones."],"There was an error disconnecting Jetpack. Error: %(error)s":["Ha ocurrido un error desconectando Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Desconectando de WordPress.com"],"Unlinked from WordPress.com.":["Desconectado de WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error al desconectar de WordPress.com. %(error)s"],"At A Glance":["De un vistazo"],"Dashboard":["Escritorio"],"Automattic's Privacy Policy":["Política de privacidad de Automattic"],"WordPress.com Terms of Service":["Términos del servicio de WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Activar las actualizaciones automáticas del plugin.{{/a}}"],"Plugin Updates":["Actualizaciones de plugins"],"No threats found, you're good to go!":["No se han encontrado amenazas, ¡estás listo para empezar!"],"{{a}}Contact Support{{/a}}":["{{a}}Contacta con soporte{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Ver detalles en VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["¡Vaya! Se ha encontrado %(number)s amenaza.","¡Vaya! Se han encontrado %(number)s amenazas."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activa el supervisor{{/a}} para recibir avisos si tu sitio se cae."],"Loading…":["Cargando…"],"Downtime monitor":["Supervisión de inactividad"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Ver más estadísticas en WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Ver más estadísticas{{/button}}"],"All-time comments":["Todos los comentarios"],"All-time views":["Visitas de todo el periodo"],"%(number)s View":["%(number)s visita","%(number)s visitas"],"Best overall day":["El mejor día"],"Views today":["Visualizaciones hoy"],"Months":["Meses"],"Weeks":["Semanas"],"Days":["Días"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Algo pasó al cargar las estadísticas. Por favor, inténtalo de nuevo más tarde o {{a}}ve tus estadísticas ahora en WordPress.com{{/a}}"],"Click to view detailed stats.":["Haz clic para ver estadíticas detalladas."],"Views: %(numberOfViews)s":["VIsitas: %(numberOfViews)s"],"Week of %(date)s":["Semana del %(date)s"],"Site Security":["Seguridad del sitio"],"Link to WordPress.com":["Conecta con WordPress.com"],"Unlink me from WordPress.com":["Desconectame de WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Ha habido un problema al conectar con tu Jetpack. Por favor, haz clic en «Conecta con WordPress.com» de nuevo."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Hemos tenido una incidencia conectando Jetpack; desactiva y vuelve a activar el plugin de Jetpack, luego conecta de nuevo."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Debes permanecer conectado a tu blog de WordPress mientras autorizas Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Tu Jetpack tiene un problema.{{/s}} Lamentamos las molestias. Por favor, inténtalo más tarde. Si el problema continúa, por favor contacta con el soporte con este mensaje: %(error_key)s"],"Disconnecting Jetpack":["Desconectando Jetpack"],"Learn more":["Aprende más"],"Posts":["Entradas"],"Front page":["Página de inicio"],"Upload videos":["Subir vídeos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Muestra contenido relacionado después de las entradas"],"Related":["Relacionado"],"Disconnect":["Desconectar"],"Save":["Guardar"],"Media":["Medios"],"Mobile Theme":["Tema para móviles"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX es un lenguaje específicamente diseñado para escribir complejas ecuaciones matemáticas, fórmulas, etc."],"Site Stats":["Estadísticas del sitio"],"Sharing":["Compartir"],"Testimonials":["Recomendaciones"],"Cancel":["Cancelar"],"Comments":["Comentarios"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack no puede ponerse en contacto con WordPress.com: %(error_key)s. Esto generalmente significa que algo no está configurado correctamente en el servidor de tu sitio."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com tiene problemas ahora mismo y no puede repostar tu Jetpack. Por favor, inténtalo más tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Tu Jetpack tiene un fallo.{{/s}} No es posible conectar este sitio con WordPress.com. Esto significa normalmente que tu sitio no es público (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Tu web tiene que ser accesible al público para usar Jetpack: %(error_key)s"],"Edit":["Editar"],"Connected":["Conectado"],"Activate":["Activar"],"Active":["Activo"],"Settings":["Ajustes"],"Learn More":["Aprende más"],"Disconnect Jetpack":["Desconectar Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Nota:{{/b}} Esta característica se está retirando y se eliminará de Jetpack en marzo. {{link}}Saber más{{/link}}"],"Settings header\u0004Jetpack Backup":["Copias de seguridad de Jetpack"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["Enlaces cortos WP.me"],"Settings header\u0004Auto-update plugins":["Actualización automática de plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Supervisión del tiempo de inactividad"],"Settings header\u0004Privacy Settings":["Ajustes de privacidad"],"Settings header\u0004WordPress.com toolbar":["Barra de herramientas de WordPress.com"],"Settings header\u0004Composing":["Creando"],"Settings header\u0004Site stats":["Estadísticas del sitio"],"Settings header\u0004Search engine optimization":["Optimización en los motores de búsqueda"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Botones de compartir"],"Settings header\u0004Publicize connections":["Conexiones de Divulgar"],"Settings header\u0004Like buttons":["Botones «me gusta»"],"Settings header\u0004Brute force attack protection":["Protección ante ataques de fuerza bruta"],"Settings header\u0004Backups and security scanning":["Copias y exploración de seguridad"],"Notice in the empty statistics chart\u0004No activity this period":["Sin actividad en este periodo"],"Settings header, noun.\u0004WordPress.com login":["Acceso con WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Enviar enlace"],"A caption for a button to cancel an action.\u0004Cancel":["Cancelar"],"Link to learn more about Jetpack.\u0004About":["Acerca de"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Módulos"],"Navigation item.\u0004Performance":["Rendimiento"],"Navigation item.\u0004My Plan":["Mi plan"],"Navigation item.\u0004Dev Tools":["Herramientas de desarrollo"],"Navigation item.\u0004Settings":["Ajustes"],"Navigation item.\u0004Discussion":["Debate"],"Navigation item.\u0004Traffic":["Tráfico"],"Navigation item.\u0004Sharing":["Compartir"],"Navigation item.\u0004At A Glance":["De un vistazo"],"Navigation item.\u0004Plans":["Planes"],"Navigation item.\u0004Writing":["Escritura"],"Navigation item.\u0004Reset Options (dev only)":["Restablecer ajustes (solo en versiones de desarrollo)"],"Navigation item.\u0004Security":["Seguridad"],"Navigation item.\u0004At a Glance":["De un vistazo"],"Search term.\u0004terms of service":["términos del servicio"],"Search term.\u0004tos":["tds"],"Search term.\u0004gdpr":["rgpd"],"Search term.\u0004data":["datos"],"Search term.\u0004tracks":["pistas"],"Search term.\u0004privacy":["privacidad"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Actualizar"],"Button caption\u0004Saving…":["Guardando…"],"Button caption\u0004Save settings":["Guardar ajustes"],"A heading for a block of related posts.\u0004Related":["Relacionado"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Vista previa"],"Short warning message\u0004Updates needed":["Actualizaciones necesarias"],"Short label appearing near a paid feature configuration block.\u0004Paid":["De pago"],"A header for a preview area in the configuration screen.\u0004Preview":["Vista previa"],"Ads header\u0004Ads":["Anuncios"],"Dashboard widget header\u0004Site connection":["Conexión al sitio"],"Dashboard widget header\u0004Account connection":["Conexión a tu cuenta"],"A caption for a small button to fix security issues.\u0004Threats":["Amenazas"],"A caption for a small button to fix security issues.\u0004FIX":["SOLUCIONAR"],"Short warning message about new threats found.\u0004Threats found!":["¡Encontradas amenazas!"],"Short message informing user that the site is secure.\u0004Secure":["Seguro"],"Caption for a button to set up a feature.\u0004Set up":["Configurar"],"verb\u0004Copy":["Copiar"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacidad"],"Shorthand for Terms of Service.\u0004Terms":["Términos"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Depuración"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Comentarios de spam bloqueados."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-es_MX-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-es_MX-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 6d55b70f..00000000
--- a/plugins/jetpack/languages/json/jetpack-es_MX-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"es_MX"},"Manually Verify ":[""],"Verify with Google":[""],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":[""],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Custom ads.txt entries":[""],"Privacy information":[""],"Enable Lazy Loading for images":[""],"Performance & speed":[""],"Enable high-speed, ad-free video player":[""],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":[""],"Video":[""],"Carousel color scheme":[""],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":[""],"Show photo Exif metadata in carousel (when available)":[""],"Display images in a full-screen carousel gallery":[""],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":[""],"Portfolios shortcode: [portfolio]":[""],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":[""],"Testimonials shortcode: [testimonials]":[""],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":[""],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":[""],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":[""],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":[""],"Configure related posts in the Customizer":[""],"Highlight related content with a heading":[""],"View security scan details":[""],"Show a thumbnail image where available":[""],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":[""],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":[""],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":[""],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":[""],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator.":[""],"%(moduleName)s has been disabled by a site administrator.":[""],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":[""],"Configure your notification settings":[""],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":[""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":[""],"Plugin needs updating.":["","Plugins need updating."],"%(number)s":["","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":[""],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":[""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":[""],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":[""],"Loads the next posts automatically when the reader approaches the bottom of the page.":[""],"Allows you to publish new posts by sending an email to a special address.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":[""],"Displays information on your site activity, including visitors and popular posts or pages.":[""],"Allows you to optimize your site and its content for better results in search engines.":[""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":[""],"Displays high-quality ads on your site that allow you to earn income.":[""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":[""],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":[""],"Allows registered users to log in to your site with their WordPress.com accounts.":[""],"Protects your site from traditional and distributed brute force login attacks.":[""],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":[""],"Removes spam from comments and contact forms.":[""],"We are committed to your privacy and security. ":[""],"View all Jetpack plans":[""],"Manage your plan":[""],"Your Plan":[""],"You’re currently on Jetpack %(plan)s.":[""],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":[""],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":[""],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":[""],"Add Search (Jetpack) Widget":[""],"Jetpack Search is powering search on your site.":[""],"Manage your plugins":[""],"Moderate comments":[""],"Error updating privacy settings. %(error)s":[""],"Updated privacy settings.":[""],"Updating privacy settings…":[""],"Add Jetpack Search Widget":[""],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":[""],"Daily backups, spam filtering, and priority support.":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"Design the perfect website":[""],"Set up Jetpack":[""],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":[""],"Jetpack Search":[""],"Jetpack version %(version)s":[""],"Your site is being backed up in real time and regularly scanned for security threats.":[""],"Daily backup of all your site data with unlimited space and one-click restores":[""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"View your security activity":[""]," (powered by VaultPress).":[""],"Customize Search Widget":[""],"Please correct the issue below and try again.":["","Please correct the issues listed below and try again."],"We are making sure your site stays free of security threats. You will be notified if we find one.":[""],"Jetpack version":[""],"Activity":[""],"{{a}}View details{{/a}}":[""],"Monetize your site with ads":[""],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":[""],"Jetpack Stats People":[""],"Hello there! Your stats have been activated.":[""],"Just give us a little time to collect data so we can display it for you here.":[""],"Okay, got it!":[""],"Display ads below posts on":[""],"Additional ad placements":[""],"Top of each page":[""],"Second ad below post":[""],"Archives":[""],"Stars":[""],"Jupiter":[""],"Activate Publicize":[""],"Your site is backed up.":[""],"Get WordPress Apps for every device":["Consigue aplicaciones WordPress para cualquier dispositivo"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gestiona todos tus sitios desde un solo escritorio: publica contenido, sigue las estadísticas, modera comentarios, y mucho más desde cualquier lugar del mundo."],"Create address":["Crear dirección"],"Automatically share your posts to social networks":["Comparte automáticamente tus entradas en las redes sociales"],"Updating settings…":["Actualizando ajustes…"],"Updating Post by Email address…":["Actualizando la entrada por dirección de correo electrónico…"],"Your paid plan gives you access to prioritized Jetpack support.":["Tu plan de pago te da acceso al soporte prioritario de Jetpack"],"You have paid for backups but they're not yet active.":["Has pagado por las copias de seguridad pero aún no están activas."],"You have paid for backups and security scanning but they’re not yet active.":["Has pagado por copias y escaneo de seguridad pero aún no están activas."],"Click \"Set Up\" to finish installation.":["Haz clic en \"Configurar\" para finalizar la instalación."],"Checking site status…":["Comprobando estado del sitio…"],"Pages":["Páginas"],"Access the full list of Jetpack modules available on your site.":["Acceso a la lista completa de módulos de Jetpack disponibles en tu sitio."],"We're here to help":["Dónde ir para obtener ayuda"],"Jetpack comes with free, basic support for all users.":["Jetpack incorpora soporte básico gratuito para todos los usuarios."],"Ask a question":["Haz una pregunta"],"Search our support site":["Busca en nuestro sitio de soporte"],"Get a faster resolution to your support questions.":["Consigue una respuesta más rápida a tus preguntas de soporte."],"Host fast, high-quality, ad-free video.":["Video de alta calidad, sin publicidad y con alojamiento rápido."],"Generate income with high-quality ads.":["Genera beneficios con anuncios de alta calidad."],"Real-time site backups and automatic threat resolution.":["Copias de seguridad en tiempo real y resolución automática de amenazas."],"Protect against data loss, malware, and malicious attacks.":["Protege contra pérdidas de datos, malware y ataques maliciosos."],"Protect your site from spam.":["Protege tu sitio del spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Este sitio no está conectado con WordPress.com. Por favor, contacta con el administrado para conectarlo."],"An Automattic Airline":["Una aerolínea de Automattic"],"Manage site connection":["Gestionar conexión del sitio"],"Connect your account to WordPress.com to view more stats":["Conecta tu cuenta a WordPress.com para ver más estadísticas"],"Theme enhancements":["Mejoras del tema"],"Load more posts using the default theme behavior":["Carga más entradas usando el comportamiento por defecto del tema"],"Load more posts in page with a button":["Carga mas entradas en la página con un botón"],"Load more posts as the reader scrolls down":["Carga más entradas a medida que el lector navega"],"Theme support required.":["Se requiere que el tema sea compatible."],"Learn more about adding support for Infinite Scroll to your theme.":["Aprende más sobre como añadir soporte para scroll infinito en tu tema."],"Show featured images":["Muestra imágenes destacadas"],"Enable the WordPress.com toolbar":["Activar la barra de herramientas de WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Las herramientas de escritura se te mostrarán aquí cuando un administrador las active."],"Portfolios":["Portafolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Date cuenta que {{b}}no es necesario verificar tu sitio con estos servicios{{/b}} para que tu sitio lo indexen los motores de búsqueda. Para usar estas herramientas avanzadas de motores de búsqueda y verificar tu sitio con un servicio pega el código de la etiqueta HTML a continuación. Lee las {{support}}instrucciones completas{{/support}} si tienes algún problema. Servicios compatibles con la verificación: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} y {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Crea mapas del sitio XML"],"The image helps collect stats, but should work when hidden.":["La imagen ayuda a recoger estadísticas pero debería funcionar cuando esté oculta."],"Count logged in page views from":["Contar las visualizaciones de página conectados de"],"Allow stats reports to be viewed by":["Permitir que los informes de estadísticas los vean"],"In \"Upgrade\"":["En \"Actualizar\""],"Configure your Google Analytics settings":["Configura tus ajustes de Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Muestra anuncios en el primer artículo de tu portada o al final de cada página y entrada. Pon más anuncios en la parte superior de tu sitio y en cualquier área de widgets para incrementar tus ganancias."],"Enable ads and display an ad below each post":["Activa anuncios y muestra un anuncio debajo de cada entrada"],"Configure your sharing buttons":["Configura tus botones de compartir"],"Connect your social media accounts":["Conecta con tus cuentas de redes socials"],"Match accounts using email addresses":["Empareja cuentas utilizando la dirección de email"],"Require accounts to use WordPress.com Two-Step Authentication":["Requerir cuentas para usar la identificación en dos pasos de WordPress.com"],"Add to whitelist":["Añadir a la lista blanca"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Deberías autorizar algunas direcciones IP para que no sean bloqueadas por Jetpack. Se admiten direcciones IPv4 e IPv6. Para especificar un rango, introduce el valor menor y el mayor separados por un guión, p. ej: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Tu sitio está asegurado y libre de amenazas."],"Checking your spam protection…":["Comprobando protección contra el spam..."],"Fetching key…":["Obteniendo clave..."],"Your site needs an Antispam key.":["Tu sitio necesita una clave Akismet."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Hay un problema con tu clave de API antispam. {{a}}Saber más{{/a}}."],"Your site is not protected from spam.":["Tu sitio no está protegido frente al spam."],"Your Antispam key is valid.":["Tu clave antispam no es válida."],"Your site is protected from spam.":["Tu sitio está protegido contra el spam."],"Checking key…":["Comprobando clave..."],"Your API key":["Tu clave de API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Si aún no tienes una clave de API, {{a}}haz clic aquí {{/a}} y sigue el proceso guiado para conseguirla."],"No search results found for %(term)s":["No se han encontrado resultados para %(term)s"],"Enter a search term to find settings or close search.":["Escribe un término de búsqueda para encontrar opciones o cierra la búsqueda."],"Connections":["Conexiones"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Tu sitio está en modo de desarrollo, por lo que no se puede conectar con WordPress.com"],"Your site is connected to WordPress.com.":["Tu sitio está conectado con WordPress.com"],"You are the Jetpack owner.":["Eres el propietario de Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Conectado como {{span}}%(username)s{{/span}}"],"View your Email Followers":["Ver tus seguidores por correo electrónico"],"Color scheme":["Esquema de color"],"Enable Markdown use for comments.":["Permite Markdown en los comentarios."],"Updated settings.":["Opciones guardadas."],"Error updating settings. %(error)s":["Error actualizando opciones. %(error)s"],"Regenerated Post by Email address.":["Entrada regenerada desde la dirección de correo electrónico."],"Error regenerating Post by Email address. %(error)s":["Error al regenerar la entrada desde la dirección de correo electrónico. %(error)es"],"Updated settings. Refreshing page…":["Opciones actualizadas. Recargando página..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Actualmente en {{a}}modo de desarrollo{{/a}} (algunas características están desactivadas) porque:{{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}El filtro jetpack_development_mode está activo{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Se ha definido la constante JETPACK_DEV_DEBUG{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}La URL de tu sitio no tiene punto (p.ej. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics es un servicio gratuito que complementa nuestras {{a}}estadísticas integradas{{/a}} con diferentes informes de tu tráfico. Las estadísticas de WordPress.com y las de Google Analytics usan distintos métodos para identificar y seguir la actividad de tu sitio, así que normalmente mostrarán totales de tus visitas, páginas vistas, etc. ligeramente diferentes."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configura Google Analytics"],"Activate Google Analytics":["Activa Google Analytics"],"Download the free apps":["Descarga las aplicaciones gratuitas"],"Upgrade Focus: VideoPress For Weddings":["Actualiza Focus: VideoPress para bodas"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Ahora también puedes configurar las entradas relacionados en el personalizador. {{ExternalLink}}¡Pruébalo!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Por defecto los anuncios se muestran al final de cada página, entrada, o el primer artículo en su portada. ¡También puedes añadirlos a la parte superior de su sitio y en cualquier área de widget para aumentar tus ganancias!"],"Display an ad unit at the top of your site.":["Mostrar un bloque de anuncios en la parte superior de su sitio."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Mediante la activación de los anuncios, usted acepta las {{link}}Condiciones de servicio{{/link}} de los anuncios e Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Tu servidor está mal configurado, lo que significa que Jetpack Protect no puede proteger tu sitio con efectividad."],"In \"Mobile\"":["En \"Móvil\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configura tus ajustes de aviso de Monitor en WordPress.com{{/link}}"],"View your earnings":["Ver tus ganancias"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Para empezar haz clic en añadir objeto en tu editor de entradas y sube un video. ¡Nos encargaremos del resto!"],"Video Hosting":["Alojamiento de video"],"SEO Tools":["Herramientas SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Las herramientas SEO avanzadas ayudan a que tu sitio sea fácil de encontrar cuando la gente busque contenido relevante."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["La forma más sencilla de se subir vídeos sin anuncios ni marcas. Obtienes estadísticas las reproducciones de video y de las veces que se ha compartido y el reproductor es ligero y adaptable."],"You are running Jetpack on a staging server.":["Estás ejecutando Jetpack en un servidor de desarrollo."],"More Info":["Más Información"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Administra la visibilidad de los Me gusta desde los ajustes del módulo de Compartir{{/a}}"],"Your current IP: %(ip)s":["Tu IP actual: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Hay ajustes sin guardar en esta pestaña que se perderán si la dejas. ¿Quieres proceder?"],"This will reset all Jetpack options, are you sure?":["Esto restablecerá todas las opciones de Jetpack, ¿estás seguro?"],"Search for a Jetpack feature.":["Buscar una característica de Jetpack."],"Configure your Security Scans":["Configura tus escaneos de seguridad"],"Subscriber":["Suscriptor"],"Big iPhone/iPad Update Now Available":["Gran actualización de iPhone/Ipad disponible"],"The WordPress for Android App Gets a Big Facelift":["La aplicación Android para WordPress recibe un enorme estiramiento facial"],"WordPress.com Likes are:":["Los Me gusta de WordPress.com son:"],"Hide the stats smiley face image":["Oculta la imágen de la carita feliz de las estadísticas"],"Whitelisted IP addresses":["Lista blanca de direcciones IP"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Muestra una promo de las aplicaciones de WordPress para móviles en el pie de la versión móvil del tema"],"Copied!":["¡Copiado!"],"Highlight and copy the following text to your clipboard:":["Realza y copia el texto siguiente a tu portapapeles: "],"Regenerate address":["Regenera la dirección"],"Cheatin' uh?":["¿Haciendo trampas?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}¿Te importaría decirnos por qué no has completado la conexión con Jetpack en esta {{a}}encuesta de 2 preguntas?{{/a}}{{/p}}{{p}}La conexión con Jetpack es obligatoria para que funcionen nuestras características gratuitas de tráfico y seguridad.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bienvenido a {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Tu Jetpack ya está conectado."],"You're fueled up and ready to go, Jetpack is now active.":["Estás completo de combustible y listo para ir, ahora Jetpack está activo."],"You're fueled up and ready to go.":["Estás completo de combustible y listo para ir."],"You are currently running a development version of Jetpack.":["En este momento estás ejecutando una versión de desarrollo de Jetpack."],"Submit Beta feedback":["Envía tus sugerencias"],"What would you like to see on your Jetpack Dashboard?":["¿Qué te gustaría ver en el Escritorio de tu Jetpack?"],"Let us know!":["¡Háznolo saber!"],"Saving…":["Guardando…"],"Save Settings":["Guardar ajustes"],"Jetpack Stats Icon":["Icono de estadísticas de Jeptpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["¡{{a}}Activa las Estadísticas del sitio{{/a}} para ver estadísticas detalladas, me gusta, seguidores, suscriptores y más! {{a1}}Aprende más{{/a1}}"],"Activate Site Stats":["Activar estadísticas del sitio"],"Upgrade":["Actualiza"],"ACTIVE":["ACTIVO"],"View your spam stats":["Ver tus estadísticas de spam"],"View your security dashboard":["Ver tu escritorio de seguridad"],"The site is in Development Mode, so you can not connect to WordPress.com.":["El sitio está en el modo de desarrollo, así que no puedes conectarte a WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Conecta tu cuenta a WordPress.com para conseguir el máximo de Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Para la exploración automática y completa de las amenazas de seguridad, por favor {{a}}instala y activa{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetapck está bloqueando activamente intentos de acceso maliciosos. ¡Muy pronto se mostraran datos aquí mismo!"],"Total malicious attacks blocked on your site.":["Total de ataques maliciosos bloqueados en tu sitio."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activa Proteger{{/a}} para mantener tu sitio protegido de intentos de acceso malintencionados."],"All plugins are up-to-date. Awesome work!":["Todos los plugins están actualizados. ¡Buen trabajo!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack está monitorizando tu sitio. Si creemos que tu sitio está caído, recibirás un correo electrónico."],"Security":["Seguridad"],"Performance":["Rendimiento"],"{{a}}View backup details{{/a}}.":["{{a}}Ver detalles de la copia de seguridad{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Para hacer automáticamente una copia de seguridad de tu sitio completo, por favor {{a}}instala y activa{{/a}} VaultPress."],"Unavailable in Dev Mode.":["No disponible en el modo desarrollador."],"Unavailable in Dev Mode":["No disponible en modo desarrollador"],"Activating %(slug)s…":["Activando %(slug)s…"],"%(slug)s has been activated.":["%(slug)s se ha activado."],"%(slug)s failed to activate. %(error)s":["%(slug)s falló al activarse. %(error)s"],"Deactivating %(slug)s…":["Desactivando %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s ha sido desactivado."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s no se desactivaron. %(error)s"],"Updating %(slug)s settings…":["Actualizando %(slug)s ajustes…"],"Updated %(slug)s settings.":["Ajustes de %(slug)s actualizados."],"Error updating %(slug)s settings. %(error)s":["Error actualizando los ajustes %(slug)s. %(error)s"],"Updating %(slug)s address…":["Actualizando la dirección %(slug)s…"],"Regenerated %(slug)s address .":["Regenerar %(slug)s direcciones."],"Error regenerating %(slug)s address. %(error)s":["Error regenerando la dirección %(slug). %(error)s"],"Resetting Jetpack options…":["Resetear opciones de jetpack"],"Options reset.":["Ajustes restablecidos."],"Options failed to reset.":["Fallo al restablecer las opciones."],"There was an error disconnecting Jetpack. Error: %(error)s":["Ha ocurrido un error desconectando Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Desconectando de WordPress.com"],"Unlinked from WordPress.com.":["Desconectado de WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error al desconectar de WordPress.com. %(error)s"],"At A Glance":["De un vistazo"],"Dashboard":["Escritorio"],"Automattic's Privacy Policy":["Política de privacidad de Automattic"],"WordPress.com Terms of Service":["Términos del servicio de WordPress.com"],"Plugin Updates":["Actualizaciones de plugins"],"No threats found, you're good to go!":["No se encontraron amenazas.¡Adelante!"],"{{a}}Contact Support{{/a}}":["{{a}}Contacta con soporte{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Ver detalles en VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["¡Vaya! Se encontró %(number)s amenza.","¡Vaya! Se encontraron %(number)s amenzas."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activa Monitor{{/a}} para recibir avisos si tu sitio se cae."],"Loading…":["Cargando..."],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Ver más estadísticas en WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Ver más estadísticas{{/button}}"],"All-time comments":["Todos los comentarios"],"All-time views":["Visitas de todo el periodo"],"%(number)s View":["%(number)s visita","%(number)s visitas"],"Best overall day":["El mejor día"],"Views today":["Visualizaciones hoy"],"Months":["Meses"],"Weeks":["Semanas"],"Days":["Días"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Algo pasó al cargar las estadísticas. Por favor, inténtalo de nuevo más tarde o {{a}}ve tus estadísticas ahora en WordPress.com{{/a}}"],"Click to view detailed stats.":["Haz clic para ver estadíticas detalladas."],"Views: %(numberOfViews)s":["VIsitas: %(numberOfViews)s"],"Week of %(date)s":["Semana del %(date)s"],"Site Security":["Seguridad del sitio"],"Link to WordPress.com":["Conecta con WordPress.com"],"Unlink me from WordPress.com":["Desconectame de WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Hubo un problema conectando con tu Jetpack. Por favor haz click en \"Conecta con WordPress.com\" de nuevo."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Hemos tenido una incidencia conectando Jetpack; desactiva y vuelve a activar el plugin de Jetpack, y conecta otra vez."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Debes permanecer conectado a tu blog de WordPress mientras autorizas Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Tu Jetpack tiene un problema.{{/s}} Lamentamos las molestias. Por favor, inténtalo más tarde. Si el problema continúa, por favor contacta con el soporte con este mensaje: %(error_key)s"],"Disconnecting Jetpack":["Desconectando Jetpack"],"Learn more":["Más Información"],"Posts":["Entradas"],"Front page":["Portada"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Muestra contenido relacionado después de las entradas"],"Related":["Relacionado"],"Disconnect":["Desconectar"],"Save":["Guardar"],"Media":["Medios"],"Site Stats":["Estadísticas del sitio"],"Sharing":["Compartir"],"Testimonials":["Testimonios"],"Cancel":["Cancelar"],"Comments":["Comentarios"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack no puede ponerse en contacto con WordPress.com: %(error_key)s. Esto generalmente significa que algo no está configurado correctamente en el servidor de tu sitio."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com tiene problemas ahora mismo y no puede repostar tu Jetpack. Por favor, inténtalo más tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Tu Jetpack tiene un fallo.{{/s}} No es posible conectar este sitio con WordPress.com. Esto significa normalmente que tu sitio no es público (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Tu web tiene que ser accesible al público para usar Jetpack: %(error_key)s"],"Edit":["Editar"],"Connected":["Conectado"],"Activate":["Activar"],"Active":["Activo"],"Settings":["Ajustes"],"Learn More":["Más Información"],"Disconnect Jetpack":["Desconectar Jetpack"],"Test your site’s compatibility with Jetpack.":["Comprueba la compatibilidad de tu sitio con Jetpack."],"Settings header\u0004Downtime monitoring":[""],"Settings header\u0004Privacy Settings":[""],"Settings header\u0004WordPress.com toolbar":["Barra de herramientas de WordPress.com"],"Settings header\u0004Composing":["Creando"],"Settings header\u0004Site stats":["Estadísticas del sitio"],"Settings header\u0004Search engine optimization":["Optimización en los motores de búsqueda"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Botones de compartir"],"Settings header\u0004Publicize connections":["Conexiones de Divulgar"],"Settings header\u0004Like buttons":["Botones me gusta"],"Settings header\u0004Brute force attack protection":["Protección ante ataques de fuerza bruta"],"Settings header\u0004Backups and security scanning":["Copias y escaneo de seguridad"],"Search term.\u0004terms of service":[""],"Search term.\u0004tos":[""],"Search term.\u0004gdpr":[""],"Search term.\u0004data":[""],"Search term.\u0004tracks":[""],"Search term.\u0004privacy":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Actualizar"],"Button caption\u0004Saving…":["Guardando…"],"Button caption\u0004Save settings":["Guardar ajustes"],"A heading for a block of related posts.\u0004Related":["Relacionado"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Vista previa"],"Navigation item.\u0004Dev Tools":["Herramientas de desarrollo"],"Navigation item.\u0004Settings":["Ajustes"],"Navigation item.\u0004Discussion":["Debate"],"Navigation item.\u0004Traffic":["Tráfico"],"Navigation item.\u0004Sharing":["Compartir"],"Navigation item.\u0004At A Glance":["De un vistazo"],"Navigation item.\u0004Plans":["Planes"],"Navigation item.\u0004Writing":["Escritura"],"Navigation item.\u0004Reset Options (dev only)":["Restablecer ajustes (solo en versiones de desarrollo)"],"Navigation item.\u0004Security":["Seguridad"],"Navigation item.\u0004At a Glance":["De un vistazo"],"Short warning message\u0004Updates needed":["Actualizaciones necesarias"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Pagado"],"A header for a preview area in the configuration screen.\u0004Preview":["Vista previa"],"Ads header\u0004Ads":["Anuncios"],"Dashboard widget header\u0004Site connection":["Conexión al sitio"],"Dashboard widget header\u0004Account connection":["Conexión a tu cuenta"],"A caption for a small button to fix security issues.\u0004Threats":["Amenazas"],"A caption for a small button to fix security issues.\u0004FIX":["SOLUCIONAR"],"Short warning message about new threats found.\u0004Threats found!":["¡Encontradas amenazas!"],"Short message informing user that the site is secure.\u0004Secure":["Seguro"],"Caption for a button to set up a feature.\u0004Set up":["Configurar"],"verb\u0004Copy":["Copiar"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacidad"],"Shorthand for Terms of Service.\u0004Terms":["Términos"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Depuración"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Comentarios de spam bloqueados."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-es_PE-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-es_PE-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 432e2711..00000000
--- a/plugins/jetpack/languages/json/jetpack-es_PE-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"es_PE"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":[""],"Manage Subscription":[""],"Your site is being backed up.":[""],"You need to enter your server credentials to finish configuring Jetpack Backup.":[""],"Jetpack Backup is being configured for your site.":[""],"Daily Backups":[""],"Just looking for backups? We've got you covered.":[""],"Solutions":[""],"Included in your {{planLink}}Professional Plan{{/planLink}}":[""],"Included in your {{planLink}}Premium Plan{{/planLink}}":[""],"Included in your {{planLink}}Personal Plan{{/planLink}}":[""],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":[""],"Always-on backups ensure you never lose your site.":[""],"My Products":[""],"My Plan":[""],"Jetpack Backup {{em}}Real-Time{{/em}}":[""],"Your data is being securely backed up as you edit.":[""],"Jetpack Backup {{em}}Daily{{/em}}":[""],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":[""],"Jetpack Premium":[""],"Jetpack Personal":[""],"Jetpack Free":[""],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":[""],"Jetpack has many powerful tools that can help you achieve your goals":[""]," We’ve highlighted some of the features you rely on below.":[""],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":[""],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":[""],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":[""],"Disable":[""],"Are you sure you want to disconnect and deactivate?":[""],"Are you sure you want to disconnect?":[""],"Disable Jetpack":[""],"We back up your website with every change you make, making it easy to fix your mistakes.":[""],"Automated Real-time Backups":[""],"We back up your website every day, so you never have to worry about your data again.":[""],"Automated Daily Backups":[""],"View Your Backups":[""],"A Jetpack Site securely backed up with Jetpack Backup":[""],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Image Accelerator":[""],"Start with free":[""],"Now that you're set up, pick a plan that fits your needs.":[""],"Jetpack Backup":[""],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":[""],"Already have a key? {{a}}Activate Akismet{{/a}}":[""],"Verifying…":[""],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":[""],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":[""],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":[""],"Customize your SEO settings":[""],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":[""],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":[""],"Include a small chart in your admin bar with a 48-hour traffic snapshot":[""],"Expand to update settings for how visits are counted and manage who can view this information.":[""],"You can customize the sharing buttons and choose which services to display.":[""],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":[""],"Find threats early so we can help fix them fast.":[""],"Replace your site's basic search with customizable search that helps visitors find answers faster.":[""],"Never worry about losing your site – automatic backups keep your content safe.":[""],"Protect":[""],"Scan":[""],"Automatically clear spam from your comments and forms so you can get back to your business.":[""],"Anti-spam":[""],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":[""],"Log in to the WordPress mobile app":[""],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":[""],"Email me a link to log in to the app":[""],"Send your new posts to this email address:":[""],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":[""],"Generate shortened URLs for simpler sharing.":[""],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":[""],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":[""],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":[""],"Add sharing buttons to your posts and pages":[""],"Share your content to social media, reaching new audiences and increasing engagement.":[""],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":[""],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":[""],"Choose which plugins to auto-update":[""],"Upgrade Jetpack now":[""],"Monetize your site by running high quality ads.":[""],"Customize your social posting schedule.":[""],"Expand your audience with pro SEO tools.":[""],"Take your site to the next level!":[""],"Search support docs":[""],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":[""],"Start sharing":[""],"Optimized performance":[""],"Enable the “subscribe to comments” option on your comment form":[""],"Enable the “subscribe to site” option on your comment form":[""],"Manage advanced comment settings and grow your audience with email subscriptions.":[""],"Comment form introduction":[""],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":[""],"Failed to send login email":[""],"Login email sent":[""],"Sending login email…":[""],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":[""],"Allow readers to like individual comments.":["Permite a los lectores dar me gusta a los comentarios individuales."],"Enable comment likes.":["Activar los me gusta en los comentarios."],"Allow readers to use markdown in comments.":["Permitir a los lectores usar Markdown en los comentarios."],"Show Gravatar hovercards alongside comments.":["Mostrar imágenes de Gravatar en los comentarios."],"Complete Jetpack Setup":["Completar la configuración de Jetpack"],"Your Jetpack setup progress":["Tu progreso de configuración de Jetpack"],"View your setup checklist":["Ver tu lista de comprobación de configuración"],"Yearly":["Anual"],"Monthly":["Mensual"],"About Jetpack":["Sobre Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Activa controles de visibilidad de widgets para mostrar widgets solo en entradas o páginas concretas"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Visibilidad de widgets te permite decidir qué widgets aparecen en qué páginas, para que puedas personalizar con precisión el contenido de los widgets."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Haz que haya disponibles widgets adicionales en tu sitio, incluidos formularios de suscripción y cronologías de Twitter"],"Enhance CSS customization panel":["Mejora el panel de personalización de CSS"],"Writing":["Escritura"],"Compose using shortcodes to embed media from popular sites":["Redacta usando atajos para incrustar medios de sitios populares"],"Traffic":["Tráfico"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Tienes que introducir las credenciales de tu servidor para terminar de configurar las copias de seguridad y exploración."],"Awaiting credentials":["Esperando credenciales"],"Backups and Scan are being configured for your site.":["Se están configurando las copias de seguridad y las exploraciones de tu sitio."],"Provisioning":["Apuntalando"],"Action needed":["Acción necesaria"],"Setting up":["Configuración"],"Discussion":["Debate"],"We are configuring your site protection.":["Estamos configurando la protección de tu sitio."],"View your site's backups":["Ver las copias de seguridad de tu sitio"],"We are backing up your site in real-time.":["Estamos haciendo copia de seguridad de tu sitio en tiempo real."],"Enter credentials":["Introduce las credenciales"],"You need to enter your server's credentials to finish the setup.":["Tienes que introducir tus credenciales secretas para finalizar la configuración."],"We are configuring your site's backups.":["Estamos configurando las copias de seguridad de tu sitio."],"View site activity":["Ver la actividad del sitio"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack guarda un registro completo de todo lo que sucede en tu sitio, reduciendo al mínimo el trabajo de gestión, depuración y reparación del sitio."],"Explore our Jetpack plans":[""],"Support documentation":["Documentación de soporte"],"Chat bubbles representing getting in touch with support":["Burbujas de chat que simbolizan el contacto con el soporte"],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":["Logra una audiencia mayor compartiendo automáticamente tus entradas en los medios sociales."],"Increase traffic to your site":["Aumenta el tráfico hacia tu sitio"],"Explore free themes":["Explora los temas gratuitos"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Consigue acceso ilimitado a cientos de temas profesionales, y personaliza tu sitio exactamente como quieras."],"A wide variety of themes and tools to customize a site":["Una amplia variedad de temas y herramientas para personalizar un sitio"],"Set up your site security":["Configura la seguridad de tu sitio"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Evita ataques de acceso, y obtén avisos instantáneos cuando haya un problema con tu sitio."],"Site stats showing an evolution in traffic and engagement":["Estadísticas del sitio mostrando una evolución en tráfico y participación"],"A hand holding a loupe":["Una mano sosteniendo una lupa"],"A chart showing an healthy increase in earnings":["Un gráfico que muestra un saludable aumento de ganancias"],"Interface showing a chronological list of changes and updates in a site":["Interfaz mostrando una lista cronológica de los cambios y actualizaciones de un sitio"],"A cloud with multiple types of content floating around it":["Una nube con varios tipos de contenido flotando alrededor"],"A folder holding real comments":["Una carpeta con comentarios reales"],"Make your site faster":["Haz más rápido tu sitio"],"Load pages faster by serving your images from our global network of servers.":["Carga páginas más rápido sirviendo tus imágenes desde nuestra red global de servidores."],"A fast and performant website":["Una web rápida y eficaz"],"A secure site, locked and protected by Jetpack":["Un sitio seguro, aislado y protegido por Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplica entradas, páginas, recomendaciones y porfolios existentes. Se copiará todo el contenido, incluyendo texto, imágenes destacadas, ajustes para compartir y mucho más."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["El sitio no se puede conectar a WordPress.com debido a que viola nuestros {{a}}términos del servicio {{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Conecta tu web a las redes sociales que uses y comparte tu contenido en todas tus cuentas sociales con un solo clic. Cuando publicas una entrada aparecerá en todas las cuentas conectadas."],"Add Like buttons to your posts and pages":["Añade botones de «Me gusta» a tus entradas y páginas"],"When visitors enjoy your content, let them show it with a Like.":["Cuando los visitantes disfrutan de tu contenido, déjales mostrarlo con un «Me gusta»."],"Create account":["Crear cuenta"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack está impulsando tu sitio, pero para acceder a todas sus características necesitarás crear una cuenta."],"Compose content the way you want to and streamline your publishing experience.":["Redacta el contenido de la forma que quieras y agiliza tu experiencia de publicación."],"Add a portfolio item":["Añade un elemento del porfolio"],"Add a testimonial":["Añade una recomendación"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximiza la visibilidad de tu sitio en los motores de búsqueda y visualiza las estadísticas de tráfico en tiempo real."],"Create a Jetpack account to use this feature":["Crea una cuenta Jetpack para usar esta característica"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack supervisará continuamente tu sitio, y te alertará en el momento en que se detecte tiempo de inactividad."],"Error enabling Site accelerator. %(error)s":["Error al activar el acelerador del sitio. %(error)es"],"Site accelerator is now speeding up your site!":["¡El acelerador del sitio está ahora acelerando tu sitio!"],"Enabling Site accelerator…":["Activando el acelerador del sitio …"],"Error disabling site accelerator. %(error)s":["Error al desactivar el acelerador del sitio. %(error)es"],"Site accelerator is no longer speeding up your site!":["¡El acelerador del sitio ya no está acelerando tu sitio!"],"Disabling site accelerator…":["Desactivando el acelerador del sitio …"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Carga páginas más rápido, optimiza imágenes y acelera la experiencia de tus visitantes."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complementa las estadísticas de WordPress.com con la exploración en profundidad de Google de tus visitantes y patrones de tráfico."],"High-speed, high-definition video hosting with no third-party ads.":["Alojamiento de vídeo de alta velocidad y alta definición sin anuncios de terceros."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Programa con antelación un número ilimitado de tuits, publicaciones de Facebook y otras publicaciones sociales."],"Marketing Automation":["Automatización de márketing"],"Activate Jetpack Search":["Activa la búsqueda de Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Reemplaza la búsqueda predeterminada de WordPress con mejores resultados y filtrado con la tecnología de búsqueda Elasticsearch."],"Start earning":["Empieza a ganar"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds te permite ganar dinero mostrando contenido promocional. Empieza a ganar hoy mismo."],"Spam is automatically blocked from your comments.":["El spam se bloquea automáticamente de tus comentarios."],"Browse premium themes":["Ver temas premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Accede a cientos de temas premium con un diseño atractivo sin coste adicional."],"Try a premium theme":["Prueba una plantilla premium"],"View settings":["Ver ajustes"],"Create a Jetpack account to view your email followers":["Crea una cuenta Jetpack para ver tus seguidores por correo electrónico"],"Manage security settings":["Gestionar ajustes de seguridad"],"Jetpack is ready for the new WordPress editor":["Jetpack está preparado para el nuevo editor de WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Hoy estamos introduciendo la primera ola de bloques específicos de Jetpack creados específicamente para la nueva experiencia del editor: botón de Simple Payment, Formulario, Mapa y Markdown."],"Build your Jetpack site with blocks":["Crea tu sitio Jetpack con bloques"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["¿Un nuevo editor? ¡Sío! {{a}}Aprender más{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Las características en las que confías, adaptadas al nuevo editor de WordPress."],"Take me to the new editor":["Llévame al nuevo editor"],"Testing Jetpack Connection":["Probando conexión de Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["Hubo un error al probar Jetpack. Error: %(error)s"],"New in Jetpack!":["¡Nuevo en Jetpack!"],"Speed up static file load times":["Acelera los tiempos de carga de archivos estáticos"],"Speed up image load times":["Acelera los tiempos de carga de imágenes"],"Enable site accelerator":["Activa el acelerador de sitios"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Carga páginas más rápido permitiendo a Jetpack optimizar tus imágenes y servir tus imágenes y archivos estáticos (como CSS y JavaScript) desde nuestra red global de servidores."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":["Ver la actividad de tu sitio"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Ve una lista cronológica de todos los cambios y actualizaciones de tu sitio de un modo organizado y legible."],"Manually Verify ":["Verificar manualmente"],"Verify with Google":["Verificar con Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google enviará correos electrónicos sobre ciertos eventos que ocurran en tu sitio, incluidas indicaciones de que tu web ha sido {{a1}}hackeada{{/a1}} o problemas al {{a2}}rastrear o indexar{{/a2}} tu sitio."],"or":["o"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Supervisa el tráfico y rendimiento de tu sitio desde la {{a}}consola de búsqueda de Google{{/a}}."],"Your site is verified with Google":["Tu sitio está verificado con Google"],"Site failed to verify: %(error)s":["Fallo al verificar el sitio: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Añade búsquedas más rápida y avanzadas a tu sitio con Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Reemplaza el buscador incluido en WordPress con el buscador de Jetpack, una experiencia avanzada de búsqueda"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["El buscador de Jetpack reemplaza el buscador incluido con un buscador rápido, escalable, personalizable y de alta relevancia, alojado en la nube de WordPress.com. El resultado: tus usuarios encontrarán el contenido que quieren más rápido."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["El buscador incluido en WordPress es fantástico para sitios sin mucho contenido. Pero a medida que crezca tu sitio las búsquedas se ralentizan y devuelven resultados menos relevantes."],"Jetpack Search supports many customizations.":["El buscador de Jetpack ofrece muchas personalizaciones."],"Site is verified":["El sitio está verificado"],"Spam filtering and priority support.":["Filtrado de spam y soporte prioritario."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Cuando se activan los anuncios, Jetpack genera automáticamente un ads.txt personalizado para tu sitio."],"Custom ads.txt entries":["Entradas en ads.txt personalizado"],"Privacy information":["Información de privacidad"],"Enable Lazy Loading for images":["Activar carga en diferido de imágenes"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["La carga diferida de imágenes mejora la velocidad de tu sitio y crea una experiencia de visualización más fluida. La carga de las imágenes se realiza conforme los usuarios van desplazándose por la página en lugar de cargar todo de una vez."],"Performance & speed":["Rendimiento y velocidad"],"Enable high-speed, ad-free video player":["Activa el reproductor de vídeo de alta velocidad, sin anuncios"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Haz que el contenido que publicas sea más atractivo con vídeo de alta resolución. Win Jetpack Vídeo puedes personalizar tu reproductor de medios y mostrar vídeos de alta velocidad, sin anuncios ni marcas a tus visitantes. Los vídeos se alojan en nuestros servidores de WordPress.com y ¡no consumen espacio de tu plan de alojamiento!"],"Video":["Video"],"Carousel color scheme":["Esquema de color del carrusel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Los datos Exif muestran a los observadores detalles técnicos de una foto, como su longitud focal, apertura e ISO."],"Show photo Exif metadata in carousel (when available)":["Muestra metadatos Exif de la foto en el carrusel (cuando está disponible)"],"Display images in a full-screen carousel gallery":["Mostrar imágenes en una galería de carrusel a pantalla completa"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Crea presentaciones en carrusel a pantalla completa de las imágenes de tus entradas y páginas. Las galerías en carrusel son perfectas para móviles y animan a los visitantes del sitio a interactuar con tus fotos."],"Portfolios shortcode: [portfolio]":["Shortcode de portfolios: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Utiliza {{portfolioLink}}porfolios{{/portfolioLink}} en tu sitio para mostrar tus mejores trabajos. Si tu tema no es compatible con los porfolios de Jetpack puedes usar un sencillo shortcode para mostrarlos en tu sitio."],"Testimonials shortcode: [testimonials]":["Shortcode de recomendaciones: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Añade {{testimonialLink}}testimonios{{/ testimonialLink}} a tu web para atraer nuevos clientes. Si tu tema no es compatible con los testimonios de Jetpack, puede utilizar un sencillo shortcode para mostrarlos en tu sitio."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Los motores de búsqueda no pueden acceder a tu sitio en este momento. Si quieres que tu sitio sea accesible revisa tus {{a}}Ajustes de lectura{{/a}} y cambia para activar la \"Visibilidad en los motores de búsqueda\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Buenas noticias: Jetpack está enviando tu mapa del sitio automáticamente a todos los principales motores de búsqueda para su indexación."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Los mapas del sitio son archivos que los motores de búsqueda como Google y Bing utilizan para indexar tu web. Pueden ayudar a mejorar tus posiciones en los resultados de búsqueda. Cuando activas esta característica, Jetpack creará mapas del sitio para ti y los actualiza automáticamente cuando cambie el contenido de tu sitio."],"Configure related posts in the Customizer":["Configurar entradas relacionadas en el personalizador"],"Highlight related content with a heading":["Destacar contenido relacionado con un encabezado"],"View security scan details":["Ver detalles de la exploración de seguridad"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Mostrar una imagen en miniatura donde esté disponible"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Para obtener más información sobre cómo las características específicas de Jetpack usan datos y realizar un seguimiento de la actividad, consulta nuestro {{privacyCenterLink}}centro de privacidad{{/ privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Usamos otras herramientas de seguimiento, incluidas algunas de terceros. {{cookiePolicyLink}}Lee acerca de estos{{/cookiePolicyLink}} y sobre cómo controlarlos."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Esta información nos ayuda a mejorar nuestros productos, hacer que el marketing sea más relevante, personalizar tu experiencia en WordPress.com y más, tal como se detalla en nuestra {{pp}}política de privacidad{{/ pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Comparta información con nuestra herramienta de análisis acerca del uso que hace de los servicios mientras estás conectado a tu cuenta de WordPress.com. {{cookiePolicyLink}}Aprende más{{/ cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica está siendo gestionada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica ha sido desactivada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica ha sido activada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s ha sido desactivado por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been disabled by a site administrator.":["Esta característica ha sido desactivada por el administrador del sitio."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s ha sido desactivado por un administrador del sitio."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Puedes colocar anuncios adicionales usando el Widget de anuncios. {{link}}¡Pruébalo!{{/link}}"],"Configure your notification settings":["Configura tus ajustes de notificaciones"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["El módulo de búsqueda de Jetpack es un potente sustituto de la capacidad de búsqueda integrada en WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Los archivos de tu sitio se escanean periódicamente en busca de modificaciones no autorizadas o sospechosas que podrían comprometer tu seguridad y datos."],"Plugin needs updating.":["El plugin necesita actualizarse.","Los plugin necesitan actualizarse."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Actualizaciones de Plugins Jetpack te permite seleccionar que plugins se actualizan automáticamente."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimizará tus imágenes y las servirá desde la ubicación del servidor más cercana a tus visitantes. El uso de nuestra red global de entrega de contenido aumentará la velocidad de carga de tu sitio."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["El supervisor de tiempo de inactividad de Jetpack mantendrá controlado tu sitio y te alertará en el momento en que se detecte un tiempo de inactividad."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Copia de seguridad de Jetpack te permite restaurar o descargar fácilmente una copia de seguridad de un momento específico."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Activa un tema ligero adaptado a móviles que se mostrará a los visitantes en sus dispositivos móviles."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Carga automáticamente las siguientes entradas cuando el lector se acerca al fondo de la página."],"Allows you to publish new posts by sending an email to a special address.":["Permite publicar nuevas entradas enviando un correo electrónico a una dirección especial."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Ofrece las etiquetas ocultas necesarias para verificar tu sitio WordPress en diversos servicios."],"Displays information on your site activity, including visitors and popular posts or pages.":["Muestra información de la actividad de tu sitio, incluidos los visitantes y las entradas o páginas populares."],"Allows you to optimize your site and its content for better results in search engines.":["Te permite optimizar tu sitio y su contenido para unos mejores resultados en los motores de búsqueda."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integra tu sitio WordPress con Google Analytics, una plataforma que ofrece estadísticas de tu tráfico, visitantes y conversiones."],"Displays high-quality ads on your site that allow you to earn income.":["Muestra anuncios de gran calidad en tu sitio que te permiten ganar ingresos."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Te permite compartir automáticamente tu contenido más reciente en los sitios de medios sociales, incluidos Facebook y Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Añade botones de me gusta a tu contenido para que tus visitantes puedan mostrar su aprecio o disfrute."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permite a los usuarios registrados acceder a tu sitio con sus cuentas de WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protege tu sitio de ataques típicos y distribuidos de fuerza bruta contra la pantalla de acceso."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Hace copias de seguridad de tu sitio en los servidores globales de WordPress.com, permitiéndote restaurar tu contenido en caso de emergencia o error."],"Removes spam from comments and contact forms.":["Elimina el spam de comentarios y formularios de contacto."],"We are committed to your privacy and security. ":["Estamos comprometidos con tu privacidad y seguridad. "],"View all Jetpack plans":["Ver todos los planes Jetpack"],"Manage your plan":["Gestiona tu plan"],"Your Plan":["Tu plan"],"You’re currently on Jetpack %(plan)s.":["Actualmente estás en el %(plan)s de Jetpack."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permite a los lectores suscribirse a tus entradas o comentarios, y recibe avisos cuando haya nuevo contenidos por correo electrónico."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Reemplaza el formulario estándar de comentarios de WordPress con un nuevo sistema de comentarios que incluye opciones de acceso a medios sociales."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Actívalo{{/a}} para reemplazar la búsqueda incluida en WordPress por una experiencia de búsqueda mejorada."],"Add Search (Jetpack) Widget":["Añade el widget de búsqueda (Jetpack)"],"Jetpack Search is powering search on your site.":["La búsqueda de Jetpack está mejorando la búsqueda en tu sitio."],"Manage your plugins":["Gestiona tus plugins"],"Moderate comments":["Modera comentarios"],"Error updating privacy settings. %(error)s":["Error al actualizar los ajustes de privacidad. %(error)s"],"Updated privacy settings.":["Ajustes de privacidad actualizados."],"Updating privacy settings…":["Actualizando ajustes de privacidad…"],"Add Jetpack Search Widget":["Añadir widget de búsqueda de Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Añade un widget de búsqueda de Jetpack a tu barra lateral para configurar los filtros de búsqueda avanzada."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suite completa de seguridad, marketing y herramientas de automatización de ingresos, alojamiento ilimitado de vídeo, temas ilimitados, búsquedas mejoradas y soporte prioritario."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suite completa de seguridad, marketing y herramientas de automatización de ingresos, alojamiento ilimitado de vídeo y soporte prioritario."],"Daily backups, spam filtering, and priority support.":["Copias de seguridad diarias, filtrado de spam y soporte prioritario."],"Always-on security":[""],"Activate video hosting":["Activar alojamiento de vídeo"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copias de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones en un clic, vigilancia automática de seguridad y soporte prioritario"],"Design the perfect website":["Diseña la web perfecta"],"Set up Jetpack":["Configurar Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Copias de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones a un clic y escaneo de seguridad automático."],"Jetpack Search":["Búsqueda de Jetpack"],"Jetpack version %(version)s":["Jetpack versión %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Tu sitio está haciendo copia de seguridad en tiempo real y escaneado regularmente en busca de amenazas de seguridad."],"Daily backup of all your site data with unlimited space and one-click restores":["Copias de seguridad diarias de todos los datos de tu sitio con espacio ilimitado y restauraciones con un solo clic"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copia de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones con un solo clic, escaneo automático de seguridad y soporte prioritario"],"View your security activity":["Ver tu actividad de seguridad"]," (powered by VaultPress).":[" (impulsado por VaultPress)."],"Customize Search Widget":["Personalizar el widget de búsqueda"],"Please correct the issue below and try again.":["Por favor, corrige el problema de abajo e inténtalo de nuevo.","Por favor, corrige los problemas de abajo e inténtalo de nuevo."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Nos aseguramos de que su sitio se mantenga libre de amenazas a la seguridad. Se te notificará si encontramos uno."],"Jetpack version":["Versión de Jetpack"],"Activity":["Actividad"],"{{a}}View details{{/a}}":["{{a}}Ver detalles{{/a}}"],"Monetize your site with ads":["Monetiza tu sitio con anuncios"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Al hacer clic en el botón inferior aceptas nuestros {{tosLink}}términos del servicio{{/tosLink}} y {{shareDetailsLink}}compartir detalles{{/shareDetailsLink}} con WordPress.com."],"Jetpack Stats People":["Estadísticas de gente Jetpack"],"Hello there! Your stats have been activated.":["¡Hola! Tus estadísticas están activas."],"Just give us a little time to collect data so we can display it for you here.":["Danos un poco de tiempo para recopilar datos para que podamos mostrártelos aquí."],"Okay, got it!":["¡Vale, lo entiendo!"],"Display ads below posts on":["Muestra anuncios bajo las entradas"],"Additional ad placements":["Ubicaciones adicionales de anuncios"],"Top of each page":["En la parte superior de cada página"],"Second ad below post":["Segundo anuncio bajo la entrada"],"Archives":["Archivos"],"Stars":["Estrellas"],"Jupiter":["Júpiter"],"Schedule posts":["Programación de entradas"],"Activate Publicize":["Activa Divulgar"],"Your site is backed up.":["Tu sitio está copiado."],"Get WordPress Apps for every device":["Consigue aplicaciones WordPress para cualquier dispositivo"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gestiona todos tus sitios desde un solo escritorio: publica contenido, sigue las estadísticas, modera comentarios, y mucho más desde cualquier lugar del mundo."],"Create address":["Crear dirección"],"Automatically share your posts to social networks":["Comparte automáticamente tus entradas en las redes sociales"],"Updating settings…":["Actualizando ajustes…"],"Updating Post by Email address…":["Actualizando la entrada por dirección de correo electrónico…"],"Your paid plan gives you access to prioritized Jetpack support.":["Tu plan de pago te da acceso al soporte prioritario de Jetpack."],"You have paid for backups but they're not yet active.":["Has pagado por las copias de seguridad pero aún no están activas."],"You have paid for backups and security scanning but they’re not yet active.":["Has pagado por copias y escaneo de seguridad pero aún no están activas."],"Click \"Set Up\" to finish installation.":["Haz clic en \"Configurar\" para finalizar la instalación."],"Checking site status…":["Comprobando estado del sitio…"],"Pages":["Páginas"],"Access the full list of Jetpack modules available on your site.":["Acceso a la lista completa de módulos de Jetpack disponibles en tu sitio."],"We're here to help":["Dónde ir para obtener ayuda"],"Jetpack comes with free, basic support for all users.":["Jetpack incorpora soporte básico gratuito para todos los usuarios."],"Ask a question":["Haz una pregunta"],"Search our support site":["Busca en nuestro sitio de soporte"],"Get a faster resolution to your support questions.":["Consigue una respuesta más rápida a tus preguntas de soporte."],"Host fast, high-quality, ad-free video.":["Video de alta calidad, sin publicidad y con alojamiento rápido."],"Generate income with high-quality ads.":["Genera beneficios con anuncios de alta calidad."],"Real-time site backups and automatic threat resolution.":["Copias de seguridad en tiempo real y resolución automática de amenazas."],"Protect against data loss, malware, and malicious attacks.":["Protégete contra pérdidas de datos, malware y ataques maliciosos."],"Protect your site from spam.":["Protege tu sitio del spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Este sitio no está conectado con WordPress.com. Por favor, contacta con el administrado para conectarlo."],"An Automattic Airline":["Una aerolínea de Automattic"],"Manage site connection":["Gestionar conexión del sitio"],"Connect your account to WordPress.com to view more stats":["Conecta tu cuenta a WordPress.com para ver más estadísticas"],"Theme enhancements":["Mejoras del tema"],"Load more posts using the default theme behavior":["Carga más entradas usando el comportamiento por defecto del tema"],"Load more posts in page with a button":["Carga mas entradas en la página con un botón"],"Load more posts as the reader scrolls down":["Carga más entradas a medida que el lector navega"],"Theme support required.":["Se requiere que el tema sea compatible."],"Learn more about adding support for Infinite Scroll to your theme.":["Aprende más sobre cómo añadir soporte para scroll infinito en tu tema."],"Show excerpts instead of full posts on front page and archive pages":[""],"Show featured images":["Muestra imágenes destacadas"],"Enable the WordPress.com toolbar":["Activar la barra de herramientas de WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Las herramientas de escritura se te mostrarán aquí cuando un administrador las active."],"Portfolios":["Porfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Date cuenta que {{b}}no es necesario verificar tu sitio con estos servicios{{/b}} para que tu sitio lo indexen los motores de búsqueda. Para usar estas herramientas avanzadas de motores de búsqueda y verificar tu sitio con un servicio pega el código de la etiqueta HTML a continuación. Lee las {{support}}instrucciones completas{{/support}} si tienes algún problema. Servicios compatibles con la verificación: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} y {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Crea mapas del sitio en XML"],"The image helps collect stats, but should work when hidden.":["La imagen ayuda a recoger estadísticas pero debería funcionar cuando esté oculta."],"Count logged in page views from":["Contar las visualizaciones de página conectados de"],"Allow stats reports to be viewed by":["Permitir que los informes de estadísticas los vean"],"In \"Upgrade\"":["En \"Actualizar\""],"Configure your Google Analytics settings":["Configura tus ajustes de Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Muestra anuncios en el primer artículo de tu portada o al final de cada página y entrada. Pon más anuncios en la parte superior de tu sitio y en cualquier área de widgets para incrementar tus ganancias."],"Enable ads and display an ad below each post":["Activa anuncios y muestra un anuncio debajo de cada entrada"],"Configure your sharing buttons":["Configura tus botones de compartir"],"Connect your social media accounts":["Conecta con tus cuentas de redes socials"],"Match accounts using email addresses":["Empareja cuentas utilizando la dirección de correo electrónico"],"Require accounts to use WordPress.com Two-Step Authentication":["Requerir cuentas para usar la identificación en dos pasos de WordPress.com"],"Add to whitelist":["Añadir a la lista blanca"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Deberías autorizar algunas direcciones IP para que no sean bloqueadas por Jetpack. Se admiten direcciones IPv4 e IPv6. Para especificar un rango, introduce el valor menor y el mayor separados por un guión, p. ej: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Tu sitio está asegurado y libre de amenazas."],"Checking your spam protection…":["Comprobando protección contra el spam…"],"Fetching key…":["Obteniendo clave…"],"Your site needs an Antispam key.":["Tu sitio necesita una clave Akismet."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Hay un problema con tu clave de API antispam. {{a}}Aprende más{{/a}}."],"Your site is not protected from spam.":["Tu sitio no está protegido frente al spam."],"Your Antispam key is valid.":["Tu clave antispam no es válida."],"Your site is protected from spam.":["Tu sitio está protegido contra el spam."],"Checking key…":["Comprobando clave…"],"Your API key":["Tu clave de API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Si aún no tienes una clave de API, {{a}}haz clic aquí {{/a}} y sigue el proceso guiado para conseguirla."],"No search results found for %(term)s":["No se han encontrado resultados para %(term)s"],"Enter a search term to find settings or close search.":["Escribe un término de búsqueda para encontrar opciones o cierra la búsqueda."],"Connections":["Conexiones"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Tu sitio está en modo de desarrollo, por lo que no se puede conectar con WordPress.com."],"Your site is connected to WordPress.com.":["Tu sitio está conectado con WordPress.com."],"You are the Jetpack owner.":["Eres el propietario de Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Conectado como {{span}}%(username)s{{/span}}"],"View your Email Followers":["Ver tus seguidores por correo electrónico"],"Color scheme":["Esquema de color"],"Enable Markdown use for comments.":["Permite Markdown en los comentarios."],"Updated settings.":["Opciones guardadas."],"Error updating settings. %(error)s":["Error actualizando los ajustes. %(error)es"],"Regenerated Post by Email address.":["Entrada regenerada desde la dirección de correo electrónico."],"Error regenerating Post by Email address. %(error)s":["Error al regenerar la entrada desde la dirección de correo electrónico. %(error)es"],"Updated settings. Refreshing page…":["Opciones actualizadas. Recargando página…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Actualmente en {{a}}Modo de desarrollo{{/a}} (algunas características están desactivadas) porque: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}El filtro jetpack_development_mode está activo{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Se ha definido la constante JETPACK_DEV_DEBUG{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}La URL de tu sitio no tiene punto (p.ej. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics es un servicio gratuito que complementa nuestras {{a}}estadísticas integradas{{/a}} con diferentes informes de tu tráfico. Las estadísticas de WordPress.com y las de Google Analytics usan distintos métodos para identificar y seguir la actividad de tu sitio, así que normalmente mostrarán totales de tus visitas, páginas vistas, etc. ligeramente diferentes."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configura Google Analytics"],"Activate Google Analytics":["Activa Google Analytics"],"Download the free apps":["Descarga las aplicaciones gratuitas"],"Upgrade Focus: VideoPress For Weddings":["Mejora Focus: VideoPress para bodas"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Ahora también puedes configurar las entradas relacionados en el personalizador. {{ExternalLink}}¡Pruébalo!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Por defecto los anuncios se muestran al final de cada página, entrada, o el primer artículo en su portada. ¡También puedes añadirlos a la parte superior de su sitio y en cualquier área de widget para aumentar tus ganancias!"],"Display an ad unit at the top of your site.":["Mostrar un bloque de anuncios en la parte superior de su sitio."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Mediante la activación de los anuncios, usted acepta las {{link}}Condiciones de servicio{{/link}} de los anuncios e Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Tu servidor está mal configurado, lo que significa que la protección de Jetpack no puede proteger tu sitio con efectividad."],"In \"Mobile\"":["En \"Móvil\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configura tus ajustes de aviso del supervisor en WordPress.com{{/link}}"],"View your earnings":["Ver tus ganancias"],"Configure site SEO":["Configurar el SEO del sitio"],"Activate SEO tools":["Activa las herramientas de SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Para empezar haz clic en añadir objeto en tu editor de entradas y sube un vídeo. ¡Nos encargaremos del resto!"],"Video Hosting":["Alojamiento de vídeo"],"SEO Tools":["Herramientas SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Las herramientas SEO avanzadas ayudan a que tu sitio sea fácil de encontrar cuando la gente busque contenido relevante."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["La forma más sencilla de se subir vídeos sin anuncios ni marcas. Obtienes estadísticas las reproducciones de video y de las veces que se ha compartido y el reproductor es ligero y adaptable."],"You are running Jetpack on a staging server.":["Estás ejecutando Jetpack en un servidor de desarrollo."],"More Info":["Más Información"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Administra la visibilidad de los Me gusta desde los ajustes del módulo de Compartir{{/a}}"],"Your current IP: %(ip)s":["Tu IP actual: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Hay ajustes sin guardar en esta pestaña que se perderán si la dejas. ¿Quieres proceder?"],"This will reset all Jetpack options, are you sure?":["Esto restablecerá todas las opciones de Jetpack, ¿estás seguro?"],"Search for a Jetpack feature.":["Buscar una característica de Jetpack."],"Configure your Security Scans":["Configura tus escaneos de seguridad"],"Subscriber":["Suscriptor"],"Big iPhone/iPad Update Now Available":["Gran actualización de iPhone/Ipad disponible"],"The WordPress for Android App Gets a Big Facelift":["La aplicación Android para WordPress recibe un enorme estiramiento facial"],"WordPress.com Likes are:":["Los Me gusta de WordPress.com son:"],"A few catchy words to motivate your visitors to comment.":[""],"Hide the stats smiley face image":["Oculta la imágen de la carita feliz de las estadísticas"],"Whitelisted IP addresses":["Lista blanca de direcciones IP"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Muestra una promo de las aplicaciones de WordPress para móviles en el pie de la versión móvil del tema"],"Copied!":["¡Copiado!"],"Highlight and copy the following text to your clipboard:":["Realza y copia el texto siguiente a tu portapapeles:"],"Regenerate address":["Regenera la dirección"],"Cheatin' uh?":["¿Haciendo trampas?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}¿Te importaría decirnos por qué no has completado la conexión con Jetpack en esta {{a}}encuesta de 2 preguntas?{{/a}}{{/p}}{{p}}La conexión con Jetpack es obligatoria para que funcionen nuestras características gratuitas de tráfico y seguridad.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bienvenido a {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Tu Jetpack ya está conectado."],"You're fueled up and ready to go, Jetpack is now active.":["Estás completo de combustible y listo para ir, ahora Jetpack está activo."],"You're fueled up and ready to go.":["Estás completo de combustible y listo para ir."],"You are currently running a development version of Jetpack.":["En este momento estás ejecutando una versión de desarrollo de Jetpack."],"Submit Beta feedback":["Envía tus sugerencias"],"What would you like to see on your Jetpack Dashboard?":["¿Qué te gustaría ver en el Escritorio de tu Jetpack?"],"Let us know!":["¡Háznolo saber!"],"Saving…":["Guardando…"],"Save Settings":["Guardar ajustes"],"Jetpack Stats Icon":["Icono de estadísticas de Jeptpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["¡{{a}}Activa las Estadísticas del sitio{{/a}} para ver estadísticas detalladas, me gusta, seguidores, suscriptores y más! {{a1}}Aprende más{{/a1}}"],"Activate Site Stats":["Activar estadísticas del sitio"],"Site Backups":["Copias de seguridad del sitio"],"Upgrade":["Actualiza"],"ACTIVE":["ACTIVO"],"View your spam stats":["Ver tus estadísticas de spam"],"View your security dashboard":["Ver tu escritorio de seguridad"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["El sitio está en el modo de desarrollo, así que no puedes conectarte a WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Conecta tu cuenta a WordPress.com para conseguir el máximo de Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Para la exploración automática y completa de las amenazas de seguridad, por favor, {{a}}instala y activa{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetapck está bloqueando activamente intentos de acceso maliciosos. ¡Muy pronto se mostraran datos aquí mismo!"],"Total malicious attacks blocked on your site.":["Total de ataques maliciosos bloqueados en tu sitio."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activa Protección{{/a}} para mantener tu sitio protegido de intentos de acceso malintencionados."],"All plugins are up-to-date. Awesome work!":["Todos los plugins están actualizados. ¡Buen trabajo!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack está supervisando tu sitio. Si creemos que tu sitio está caído, recibirás un correo electrónico."],"Security":["Seguridad"],"Performance":["Rendimiento"],"Backup":[""],"{{a}}View backup details{{/a}}.":["{{a}}Ver detalles de la copia de seguridad{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Para hacer automáticamente una copia de seguridad de tu sitio completo, por favor {{a}}instala y activa{{/a}} VaultPress."],"Unavailable in Dev Mode.":["No disponible en el modo desarrollador."],"Unavailable in Dev Mode":["No disponible en modo desarrollador"],"Activating %(slug)s…":["Activando %(slug)s…"],"%(slug)s has been activated.":["%(slug)s se ha activado."],"%(slug)s failed to activate. %(error)s":["%(slug)s falló al activarse. %(error)s"],"Deactivating %(slug)s…":["Desactivando %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s ha sido desactivado."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s no se desactivaron. %(error)s"],"Updating %(slug)s settings…":["Actualizando %(slug)s ajustes…"],"Updated %(slug)s settings.":["Ajustes de %(slug)s actualizados."],"Error updating %(slug)s settings. %(error)s":["Error actualizando los ajustes %(slug)s. %(error)s"],"Updating %(slug)s address…":["Actualizando la dirección %(slug)s…"],"Regenerated %(slug)s address .":["Regenerar %(slug)s direcciones."],"Error regenerating %(slug)s address. %(error)s":["Error regenerando la dirección %(slug). %(error)s"],"Resetting Jetpack options…":["Resetear opciones de jetpack…"],"Options reset.":["Ajustes restablecidos."],"Options failed to reset.":["Fallo al restablecer las opciones."],"There was an error disconnecting Jetpack. Error: %(error)s":["Ha ocurrido un error desconectando Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Desconectando de WordPress.com"],"Unlinked from WordPress.com.":["Desconectado de WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error al desconectar de WordPress.com. %(error)s"],"At A Glance":["De un vistazo"],"Dashboard":["Escritorio"],"Automattic's Privacy Policy":["Política de privacidad de Automattic"],"WordPress.com Terms of Service":["Términos del servicio de WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":[""],"Plugin Updates":["Actualizaciones de plugins"],"No threats found, you're good to go!":["No se encontraron amenazas.¡Adelante!"],"{{a}}Contact Support{{/a}}":["{{a}}Contacta con soporte{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Ver detalles en VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["¡Vaya! Se encontró %(number)s amenza.","¡Vaya! Se encontraron %(number)s amenzas."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activa Supervisor{{/a}} para recibir avisos si tu sitio se cae."],"Loading…":["Cargando…"],"Downtime monitor":[""],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Ver más estadísticas en WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Ver más estadísticas{{/button}}"],"All-time comments":["Todos los comentarios"],"All-time views":["Visitas de todo el periodo"],"%(number)s View":["%(number)s visita","%(number)s visitas"],"Best overall day":["El mejor día"],"Views today":["Visualizaciones hoy"],"Months":["Meses"],"Weeks":["Semanas"],"Days":["Días"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Algo pasó al cargar las estadísticas. Por favor, inténtalo de nuevo más tarde o {{a}}ve tus estadísticas ahora en WordPress.com{{/a}}"],"Click to view detailed stats.":["Haz clic para ver estadíticas detalladas."],"Views: %(numberOfViews)s":["VIsitas: %(numberOfViews)s"],"Week of %(date)s":["Semana del %(date)s"],"Site Security":["Seguridad del sitio"],"Link to WordPress.com":["Conecta con WordPress.com"],"Unlink me from WordPress.com":["Desconectame de WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Hubo un problema conectando con tu Jetpack. Por favor haz click en \"Conecta con WordPress.com\" de nuevo."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Hemos tenido una incidencia conectando Jetpack; desactiva y vuelve a activar el plugin de Jetpack, y conecta otra vez."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Debes permanecer conectado a tu blog de WordPress mientras autorizas Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Tu Jetpack tiene un problema.{{/s}} Lamentamos las molestias. Por favor, inténtalo más tarde. Si el problema continúa, por favor contacta con el soporte con este mensaje: %(error_key)s"],"Disconnecting Jetpack":["Desconectando Jetpack"],"Learn more":["Aprende más"],"Posts":["Entradas"],"Front page":["Portada"],"Upload videos":["Subir videos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Muestra contenido relacionado después de las entradas"],"Related":["Relacionado"],"Disconnect":["Desconectar"],"Save":["Guardar"],"Media":["Medios"],"Mobile Theme":[""],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX es un lenguaje específicamente diseñado para escribir complejas ecuaciones matemáticas, fórmulas, etc."],"Site Stats":["Estadísticas del sitio"],"Sharing":["Compartir"],"Testimonials":["Testimonios"],"Cancel":["Cancelar"],"Comments":["Comentarios"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack no puede ponerse en contacto con WordPress.com: %(error_key)s. Esto generalmente significa que algo no está configurado correctamente en el servidor de tu sitio."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com tiene problemas ahora mismo y no puede repostar tu Jetpack. Por favor, inténtalo más tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Tu Jetpack tiene un fallo.{{/s}} No es posible conectar este sitio con WordPress.com. Esto significa normalmente que tu sitio no es público (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Tu web tiene que ser accesible al público para usar Jetpack: %(error_key)s"],"Edit":["Editar"],"Connected":["Conectado"],"Activate":["Activar"],"Active":["Activo"],"Settings":["Ajustes"],"Learn More":["Aprende más"],"Disconnect Jetpack":["Desconectar Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":[""],"Settings header\u0004Anti-spam":[""],"Settings header\u0004WP.me Shortlinks":[""],"Settings header\u0004Auto-update plugins":[""],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Supervisión del tiempo de inactividad"],"Settings header\u0004Privacy Settings":["Ajustes de privacidad"],"Settings header\u0004WordPress.com toolbar":["Barra de herramientas de WordPress.com"],"Settings header\u0004Composing":["Creando"],"Settings header\u0004Site stats":["Estadísticas del sitio"],"Settings header\u0004Search engine optimization":["Optimización en los motores de búsqueda"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Botones de compartir"],"Settings header\u0004Publicize connections":["Conexiones de Divulgar"],"Settings header\u0004Like buttons":["Botones me gusta"],"Settings header\u0004Brute force attack protection":["Protección ante ataques de fuerza bruta"],"Settings header\u0004Backups and security scanning":["Copias y escaneo de seguridad"],"Notice in the empty statistics chart\u0004No activity this period":[""],"Settings header, noun.\u0004WordPress.com login":[""],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":[""],"A caption for a button to cancel an action.\u0004Cancel":[""],"Link to learn more about Jetpack.\u0004About":["Acerca de"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Módulos"],"Navigation item.\u0004Performance":["Rendimiento"],"Navigation item.\u0004My Plan":["Mi plan"],"Navigation item.\u0004Dev Tools":["Herramientas de desarrollo"],"Navigation item.\u0004Settings":["Ajustes"],"Navigation item.\u0004Discussion":["Debate"],"Navigation item.\u0004Traffic":["Tráfico"],"Navigation item.\u0004Sharing":["Compartir"],"Navigation item.\u0004At A Glance":["De un vistazo"],"Navigation item.\u0004Plans":["Planes"],"Navigation item.\u0004Writing":["Escritura"],"Navigation item.\u0004Reset Options (dev only)":["Restablecer ajustes (solo en versiones de desarrollo)"],"Navigation item.\u0004Security":["Seguridad"],"Navigation item.\u0004At a Glance":["De un vistazo"],"Search term.\u0004terms of service":["términos del servicio"],"Search term.\u0004tos":["tds"],"Search term.\u0004gdpr":["rgpd"],"Search term.\u0004data":["datos"],"Search term.\u0004tracks":["pistas"],"Search term.\u0004privacy":["privacidad"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Actualizar"],"Button caption\u0004Saving…":["Guardando…"],"Button caption\u0004Save settings":["Guardar ajustes"],"A heading for a block of related posts.\u0004Related":["Relacionado"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Vista previa"],"Short warning message\u0004Updates needed":["Actualizaciones necesarias"],"Short label appearing near a paid feature configuration block.\u0004Paid":["De pago"],"A header for a preview area in the configuration screen.\u0004Preview":["Vista previa"],"Ads header\u0004Ads":["Anuncios"],"Dashboard widget header\u0004Site connection":["Conexión al sitio"],"Dashboard widget header\u0004Account connection":["Conexión a tu cuenta"],"A caption for a small button to fix security issues.\u0004Threats":["Amenazas"],"A caption for a small button to fix security issues.\u0004FIX":["SOLUCIONAR"],"Short warning message about new threats found.\u0004Threats found!":["¡Encontradas amenazas!"],"Short message informing user that the site is secure.\u0004Secure":["Seguro"],"Caption for a button to set up a feature.\u0004Set up":["Configurar"],"verb\u0004Copy":["Copiar"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacidad"],"Shorthand for Terms of Service.\u0004Terms":["Términos"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Depuración"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Comentarios de spam bloqueados."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-es_VE-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-es_VE-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index d4ff8cad..00000000
--- a/plugins/jetpack/languages/json/jetpack-es_VE-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"es_VE"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Tu Plan %(planName)s incluye %(featureName)s. Parece que también has comprado el producto %(productName)s. Te recomendamos que elimines %(productName)s."],"real-time backups":["Copias de seguridad en tiempo real"],"daily backups":["copias de seguridad diarias"],"Renews on %s.":["Se renueva el %s."],"Purchased on %s.":["Comprado el %s."],"Select a backup option:":["Elige una opción de copia de seguridad:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Actualiza a %(name)s por {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Estás ahorrando {{savings /}} pagando anualmente"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["¡Date prisa, estos son los {{s}}precios iniciales por tiempo limitado!{{/s}}"],"Up to %(percent)d%% off!":["¡Hasta un %(percent)d%% de descuento!"],"per month":["al mes"],"per year":["al año"],"Which backup option is best for me?":["¿Qué opción de copia de seguridad es mejor para mi?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Gestionar suscripción"],"Your site is being backed up.":["Se está haciendo copia de seguridad de tu sitio."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Tienes que introducir las credenciales de tu servidor para finalizar de configurar las copias de seguridad de Jetpack."],"Jetpack Backup is being configured for your site.":["Se están configurando en tu sitio las copias de seguridad de Jetpack."],"Daily Backups":["Copias de seguridad diarias"],"Just looking for backups? We've got you covered.":["¿Necesitas copias de seguridad? Nos hemos ocupado de todo."],"Solutions":["Soluciones"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Se incluye en tu {{planLink}}plan profesional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Se incluye en tu {{planLink}}plan premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Se incluye en tu {{planLink}}plan personal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Las copias de seguridad siempre activas te aseguran que nunca perderás tu sitio. Tus cambios se van guardando mientras los aplicas y dispones de archivos ilimitados de copia de seguridad."],"Always-on backups ensure you never lose your site.":["Las copias de seguridad siempre activas te aseguran que nunca perderás tu sitio"],"My Products":["Mis productos"],"My Plan":["Mi plan"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Copia de seguridad de Jetpack {{em}}en tiempo real{{/em}}"],"Your data is being securely backed up as you edit.":["Tus datos se están guardando de manera segura a medida que los editas."],"Jetpack Backup {{em}}Daily{{/em}}":["Copia de seguridad de Jetpack {{em}}diaria{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Tus datos se están guardando de manera segura cada día en un archivo de 30 días."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack gratis"],"Expired on %s.":["Caduca el %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["¿Tienes alguna pregunta? ¡Nos encantaría ayudar! {{a}}Envía una pregunta al equipo de soporte de Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack tiene muchas herramientas potentes que pueden ayudarte a alcanzar tus objetivos"]," We’ve highlighted some of the features you rely on below.":[" A continuación, hemos destacado algunas de las características en las que confías."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Actualmente, Jetpack está potenciando las características de tu sitio. Una vez que desactives Jetpack, estas funciones ya no estarán disponibles y es posible que tu sitio ya no funcione de la misma forma."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Actualmente, Jetpack está potenciando las características de tu sitio. Una vez que desconectes Jetpack, estas funciones ya no estarán disponibles y es posible que tu sitio ya no funcione de la misma forma."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Haz crecer tu tráfico {{a}}publicando y compartiendo{{/a}} automáticamente en los medios sociales"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Bloquea los {{a}}ataques de fuerza bruta{{/a}} y obtén avisos inmediatos si tu sitio está caído."],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Acelera tu sitio y proporciona imágenes listas para móviles con {{a}}nuestra CDN{{/a}}."],"Disable":["Desactivar"],"Are you sure you want to disconnect and deactivate?":["¿Seguro que quieres desconectar y desactivar?"],"Are you sure you want to disconnect?":["¿Seguro que quieres desconectar?"],"Disable Jetpack":["Desactivar Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Hacemos una copia de seguridad de tu sitio con cada cambio que realices, lo que facilita la reparación de tus errores."],"Automated Real-time Backups":["Copias de seguridad automatizadas en tiempo real"],"We back up your website every day, so you never have to worry about your data again.":["Hacemos una copia de seguridad de tu sitio todos los días, por lo que nunca más tendrás que preocuparte por tus datos."],"Automated Daily Backups":["Copias de seguridad diarias automáticas"],"View Your Backups":["Ver tus copias de seguridad"],"A Jetpack Site securely backed up with Jetpack Backup":["Un sitio Jetpack respaldado de forma segura con Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Usa la sintaxis Markdown para componer el contenido con enlaces, listas y otros estilos. Esta opción activa Markdown en el editor clásico, así como dentro de un bloque del editor clásico."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activar{{/a}} para optimizar los tamaños de las imágenes y cargar las imágenes desde la rápida red global de servidores de Jetpack. Esto mejora el rendimiento de tu sitio en los dispositivos de escritorio y móviles."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack está optimizando el tamaño de tus imágenes y la velocidad de descarga usando nuestra rápida red global de servidores. Esto mejora el rendimiento de tu sitio en dispositivos de escritorio y móviles."],"Image Accelerator":["Acelerador de imágenes"],"Start with free":["Empieza gratis"],"Now that you're set up, pick a plan that fits your needs.":["Ahora que ya lo has configurado, elige un plan que se ajuste a tus necesidades."],"Jetpack Backup":["Copia de seguridad de Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Tu plan de Jetpack ofrece protección anti spam mediante Akismet. Haz clic en «configurar» para activarlo en tu sitio."],"Already have a key? {{a}}Activate Akismet{{/a}}":["¿Ya tienes una clave? {{a}}Activa Akismet{{/a}}"],"Verifying…":["Verificando..."],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Mejora tu clasificación en los motores de búsqueda con las potentes herramientas de SEO del plan Jetpack Premium o el Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Dale a tu sitio una carga rápida y una apariencia optimizada para dispositivos móviles. Los visitantes seguirán viendo tu tema habitual en los otros tamaños de pantalla."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Crea una experiencia de lectura fluida e ininterrumpida cargando más contenido a medida que los visitantes se desplazan hasta la parte inferior de tus páginas de archivo."],"Customize your SEO settings":["Personaliza tus ajustes SEO"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Toma el control de la forma en que los motores de búsqueda representan tu sitio. Con las herramientas de SEO de Jetpack puedes previsualizar cómo se verá tu contenido en los motores de búsqueda más populares y cambiar elementos como el nombre de tu sitio y la descripción corta en cuestión de segundos."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Añade botones de compartir para que los visitantes puedan compartir tus entradas y páginas en los medios sociales con un par de rápidos clics."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Incluye una pequeña gráfica en tu barra de administración con una captura del tráfico de las últimas 48 horas"],"Expand to update settings for how visits are counted and manage who can view this information.":["Amplía para actualizar los ajustes de cómo se cuentan los visitantes y gestionar quién ve esta información."],"You can customize the sharing buttons and choose which services to display.":["Puedes personalizar los botones de compartir y elegir qué servicios mostrar."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Tu sitio está protegido por Jetpack. Recibirás avisos si algo necesita atención."],"Find threats early so we can help fix them fast.":["Encuentra amenazas pronto para que podamos ayudarte a solucionarlas rápidamente."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Reemplaza la búsqueda básica de tu sitio con una búsqueda personalizable que ayuda a los visitantes a encontrar respuestas más rápidamente."],"Never worry about losing your site – automatic backups keep your content safe.":["Nunca te preocupes por perder tu sitio - las copias de seguridad automáticas mantienen tu contenido a salvo."],"Protect":["Proteger"],"Scan":["Explorar"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Vacía automáticamente el spam de tus comentarios y formularios para que puedas volver a ponerte con tu negocio."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Conecta tu sitio en segundos a Google Analytics con Jetpack Premium o Profesional."],"Log in to the WordPress mobile app":["Accede a la aplicación móvil de WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Accede fácilmente a la aplicación de WordPress haciendo clic en el enlace que enviaremos a la dirección de correo electrónico de tu cuenta."],"Email me a link to log in to the app":["Enviadme por correo electrónico un enlace para acceder a la aplicación"],"Send your new posts to this email address:":["Enviar tus nuevas entradas a esta dirección de correo electrónico:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["La publicación por correo electrónico es un modo rápido de publicar nuevas entradas sin visitar tu sitio. Generaremos una dirección de correo electrónico exclusiva para ti a la que enviar tu contenido, que luego aparecerá en tu sitio como cualquier otra entrada."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["La barra de herramientas de WordPress.com reemplaza la barra de herramientas por defecto del administrador de WordPress. Ofrece acceso en un clic a avisos, a tu perfil de WordPress.com y a tus otras webs de Jetpack y WordPress.com. También puedes estar al día de los sitios que sigues en el «Lector»."],"Verify site ownership with third party services":["Verifica la propiedad del sitio con servicios de terceros"],"Generate shortened URLs for simpler sharing.":["Genera URLs acortadas para compartir más fácilmente."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Mantén a tus visitantes ocupados con contenido relacionado al final de cada entrada. Estos ajustes no se aplican a {{a}}entradas relacionadas añadidas usando el editor de bloques{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Esta característica ayuda a tus visitantes a encontrar más contenido tuyo mostrando entradas relacionadas al final de cada entrada."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack genera automáticamente un archivo {{link1}}ads.txt{{/link1}} personalizado adaptado a tu sitio. Si necesitas añadir entradas adicionales para otras redes, por favor, añádelas en el espacio de abajo, una por línea. {{link2}}Consulta aquí más detalles{{/link2}}."],"Add sharing buttons to your posts and pages":["Añade botones de compartir a tus entradas y páginas"],"Share your content to social media, reaching new audiences and increasing engagement.":["Comparte tu contenido en las redes sociales, consiguiendo nuevas audiencias y aumentando la participación."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Recibe alertas si tu sitio está desconectado. Te avisaremos también cuando vuelva a estar en línea."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Con Jetpack puedes elegir que tus plugins se actualicen automáticamente con cada nueva versión de plugin. Obtendrás de inmediato lo último en seguridad y corrección de errores, asegurando que tu sitio permanece seguro."],"Choose which plugins to auto-update":["Elige qué plugins actualizar automáticamente"],"Upgrade Jetpack now":["Actualiza Jetpack ahora"],"Monetize your site by running high quality ads.":["Rentabiliza tu sitio publicando anuncios de alta calidad."],"Customize your social posting schedule.":["Personaliza la programación de tus publicaciones sociales."],"Expand your audience with pro SEO tools.":["Aumenta tu audiencia con herramientas SEO profesionales."],"Take your site to the next level!":["¡Lleva tu sitio al siguiente nivel!"],"Search support docs":["Buscar en la documentación de soporte"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["¿Necesitas ayuda? Aprende sobre cómo empezar, personalizar tu sitio, usar fragmentos de código avanzados y más."],"Start sharing":["Empieza a compartir"],"Optimized performance":["Rendimiento optimizado"],"Enable the “subscribe to comments” option on your comment form":["Activa la opción «suscribirse a los comentarios» en tu formulario de comentarios"],"Enable the “subscribe to site” option on your comment form":["Activa la opción «suscribirse al sitio» en tu formulario de comentarios"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Gestiona los ajustes avanzados de los comentarios y haz crecer tu audiencia con suscripciones por correo electrónico."],"Comment form introduction":["Introducción al formulario de comentarios"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam desarrollado por Akismet. Los envíos del formulario de comentarios y de contacto se comprueban en nuestra base de datos global de spam."],"Failed to send login email":["Ha fallado el envío del correo electrónico de acceso"],"Login email sent":["Enviado el correo electrónico de acceso"],"Sending login email…":["Enviando el correo electrónico de acceso..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["¿Preocupado por la seguridad? Obtén copias de seguridad, correcciones automatizadas de errores de seguridad y más: {{a}}actualiza ahora{{/a}}"],"Allow readers to like individual comments.":["Permite a los lectores dar «me gusta» a los comentarios individuales."],"Enable comment likes.":["Activar los «me gusta» en los comentarios."],"Allow readers to use markdown in comments.":["Permitir a los lectores usar Markdown en los comentarios."],"Show Gravatar hovercards alongside comments.":["Mostrar imágenes de Gravatar en los comentarios."],"Complete Jetpack Setup":["Completar la configuración de Jetpack"],"Your Jetpack setup progress":["Tu progreso de configuración de Jetpack"],"View your setup checklist":["Ver tu lista de comprobación de configuración"],"Yearly":["Anual"],"Monthly":["Mensual"],"About Jetpack":["Sobre Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Activa controles de visibilidad de widgets para mostrar widgets solo en entradas o páginas concretas"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["La visibilidad de widgets te permite decidir qué widgets aparecen en qué páginas, para que puedas personalizar con precisión el contenido de los widgets."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Haz que haya disponibles widgets adicionales en tu sitio, incluidos formularios de suscripción y cronologías de Twitter"],"Enhance CSS customization panel":["Mejora el panel de personalización de CSS"],"Writing":["Escritura"],"Compose using shortcodes to embed media from popular sites":["Redacta usando atajos para incrustar medios de sitios populares"],"Traffic":["Tráfico"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Tienes que introducir las credenciales de tu servidor para terminar de configurar las copias de seguridad y exploración."],"Awaiting credentials":["Esperando credenciales"],"Backups and Scan are being configured for your site.":["Se están configurando las copias de seguridad y las exploraciones para tu sitio."],"Provisioning":["Apuntalando"],"Action needed":["Acción necesaria"],"Setting up":["Configuración"],"Discussion":["Debate"],"We are configuring your site protection.":["Estamos configurando la protección de tu sitio."],"View your site's backups":["Ver las copias de seguridad de tu sitio"],"We are backing up your site in real-time.":["Estamos haciendo copia de seguridad de tu sitio en tiempo real."],"Enter credentials":["Introduce las credenciales"],"You need to enter your server's credentials to finish the setup.":["Necesitas introducir las credenciales de tu servidor para finalizar la instalación."],"We are configuring your site's backups.":["Estaos configurando las copias de seguridad de tu sitio."],"View site activity":["Ver la actividad del sitio"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack guarda un registro completo de todo lo que sucede en tu sitio, reduciendo al mínimo el trabajo de gestión, depuración y reparación del sitio."],"Explore our Jetpack plans":["Explora nuestros planes de Jetpack"],"Support documentation":["Documentación de soporte"],"Chat bubbles representing getting in touch with support":["Burbujas de chat que simbolizan el contacto con el soporte"],"Site activity":["Actividad del sitio"],"Reach a wider audience by automatically sharing your posts on social media.":["Logra una audiencia mayor compartiendo automáticamente tus entradas en los medios sociales."],"Increase traffic to your site":["Aumenta el tráfico hacia tu sitio"],"Explore free themes":["Explora los temas gratuitos"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Consigue acceso ilimitado a cientos de temas profesionales, y personaliza tu sitio exactamente como quieras."],"A wide variety of themes and tools to customize a site":["Una amplia variedad de temas y herramientas para personalizar un sitio"],"Set up your site security":["Configura la seguridad de tu sitio"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Evita ataques de acceso, y obtén avisos instantáneos cuando haya un problema con tu sitio."],"Site stats showing an evolution in traffic and engagement":["Estadísticas del sitio mostrando una evolución en tráfico y participación"],"A hand holding a loupe":["Una mano sosteniendo una lupa"],"A chart showing an healthy increase in earnings":["Un gráfico que muestra un saludable aumento de ganancias"],"Interface showing a chronological list of changes and updates in a site":["Interfaz mostrando una lista cronológica de los cambios y actualizaciones de un sitio"],"A cloud with multiple types of content floating around it":["Una nube con varios tipos de contenido flotando alrededor"],"A folder holding real comments":["Una carpeta con comentarios reales"],"Make your site faster":["Haz más rápido tu sitio"],"Load pages faster by serving your images from our global network of servers.":["Carga páginas más rápido sirviendo tus imágenes desde nuestra red global de servidores."],"A fast and performant website":["Una web rápida y eficaz"],"A secure site, locked and protected by Jetpack":["Un sitio seguro, aislado y protegido por Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplica entradas, páginas, recomendaciones y porfolios existentes. Se copiará todo el contenido, incluyendo texto, imágenes destacadas, ajustes para compartir y mucho más."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["El sitio no se puede conectar a WordPress.com debido a que viola nuestros {{a}}términos del servicio{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Conecta tu web a las redes sociales que uses y comparte tu contenido en todas tus cuentas sociales con un solo clic. Cuando publicas una entrada aparecerá en todas las cuentas conectadas."],"Add Like buttons to your posts and pages":["Añade botones de «Me gusta» a tus entradas y páginas"],"When visitors enjoy your content, let them show it with a Like.":["Cuando los visitantes disfrutan de tu contenido, déjales mostrarlo con un «Me gusta»."],"Create account":["Crear cuenta"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack está impulsando tu sitio, pero para acceder a todas sus características necesitarás crear una cuenta."],"Compose content the way you want to and streamline your publishing experience.":["Redacta el contenido de la forma que quieras y agiliza tu experiencia de publicación."],"Add a portfolio item":["Añade un elemento del porfolio"],"Add a testimonial":["Añade una recomendación"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximiza la visibilidad de tu sitio en los motores de búsqueda y visualiza las estadísticas de tráfico en tiempo real."],"Create a Jetpack account to use this feature":["Crea una cuenta Jetpack para usar esta característica"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack supervisará continuamente tu sitio, y te alertará en el momento en que se detecte tiempo de inactividad."],"Error enabling Site accelerator. %(error)s":["Error al activar el acelerador del sitio. %(error)es"],"Site accelerator is now speeding up your site!":["¡El acelerador del sitio está ahora acelerando tu sitio!"],"Enabling Site accelerator…":["Activando el acelerador del sitio …"],"Error disabling site accelerator. %(error)s":["Error al desactivar el acelerador del sitio. %(error)es"],"Site accelerator is no longer speeding up your site!":["¡El acelerador del sitio ya no está acelerando tu sitio!"],"Disabling site accelerator…":["Desactivando el acelerador del sitio …"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Carga páginas más rápido, optimiza imágenes y acelera la experiencia de tus visitantes."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complementa las estadísticas de WordPress.com con la exploración en profundidad de Google de tus visitantes y patrones de tráfico."],"High-speed, high-definition video hosting with no third-party ads.":["Alojamiento de vídeo de alta velocidad y alta definición sin anuncios de terceros."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Programa con antelación un número ilimitado de tuits, publicaciones de Facebook y otras publicaciones sociales."],"Marketing Automation":["Automatización de márketing"],"Activate Jetpack Search":["Activa la búsqueda de Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Reemplaza la búsqueda predeterminada de WordPress con mejores resultados y filtrado con la tecnología de búsqueda Elasticsearch."],"Start earning":["Empieza a ganar"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds te permite ganar dinero mostrando contenido promocional. Empieza a ganar hoy mismo."],"Spam is automatically blocked from your comments.":["El spam se bloquea automáticamente de tus comentarios."],"Browse premium themes":["Ver temas premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Accede a cientos de temas premium con un diseño atractivo sin coste adicional."],"Try a premium theme":["Prueba un tema premium"],"View settings":["Ver ajustes"],"Create a Jetpack account to view your email followers":["Crea una cuenta Jetpack para ver tus seguidores por correo electrónico"],"Manage security settings":["Gestionar ajustes de seguridad"],"Jetpack is ready for the new WordPress editor":["Jetpack está preparado para el nuevo editor de WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Hoy estamos introduciendo la primera ola de bloques específicos de Jetpack creados específicamente para la nueva experiencia del editor: botón de Simple Payment, Formulario, Mapa y Markdown."],"Build your Jetpack site with blocks":["Crea tu sitio Jetpack con bloques"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["¿Un nuevo editor? ¡Sío! {{a}}Aprender más{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Las características en las que confías, adaptadas al nuevo editor de WordPress."],"Take me to the new editor":["Llévame al nuevo editor"],"Testing Jetpack Connection":["Probando conexión de Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["Hubo un error al probar Jetpack. Error: %(error)s"],"New in Jetpack!":["¡Nuevo en Jetpack!"],"Speed up static file load times":["Acelera los tiempos de carga de archivos estáticos"],"Speed up image load times":["Acelera los tiempos de carga de imágenes"],"Enable site accelerator":["Activa el acelerador de sitios"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Carga páginas más rápido permitiendo a Jetpack optimizar tus imágenes y servir tus imágenes y archivos estáticos (como CSS y JavaScript) desde nuestra red global de servidores."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Añade una capa extra de seguridad a tu web activando el acceso e identificación segura de WordPress.com. Si tienes varios sitios con esta opción activa, podrás acceder en todos ellos con las mismas credenciales."],"View your site activity":["Ver la actividad de tu sitio"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Ve una lista cronológica de todos los cambios y actualizaciones de tu sitio de un modo organizado y legible."],"Manually Verify ":["Verificar manualmente"],"Verify with Google":["Verificar con Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google enviará correos electrónicos sobre ciertos eventos que ocurran en tu sitio, incluidas indicaciones de que tu web ha sido {{a1}}hackeada{{/a1}} o problemas al {{a2}}rastrear o indexar{{/a2}} tu sitio."],"or":["o"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Supervisa el tráfico y rendimiento de tu sitio desde la {{a}}consola de búsqueda de Google{{/a}}."],"Your site is verified with Google":["Tu sitio está verificado con Google"],"Site failed to verify: %(error)s":["Fallo al verificar el sitio: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Añade búsquedas más rápidas y avanzadas a tu sitio con Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Reemplaza el buscador incluido en WordPress con el buscador de Jetpack, una experiencia avanzada de búsqueda"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["El buscador de Jetpack reemplaza el buscador incluido con un buscador rápido, escalable, personalizable y de alta relevancia, alojado en la nube de WordPress.com. El resultado: tus usuarios encontrarán el contenido que quieren más rápido."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["El buscador incluido en WordPress es fantástico para sitios sin mucho contenido. Pero a medida que crezca tu sitio, las búsquedas se ralentizan y devuelven resultados menos relevantes."],"Jetpack Search supports many customizations.":["El buscador de Jetpack ofrece muchas personalizaciones."],"Site is verified":["El sitio está verificado"],"Spam filtering and priority support.":["Filtrado de spam y soporte prioritario."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Cuando se activan los anuncios, Jetpack genera automáticamente un ads.txt personalizado para tu sitio."],"Custom ads.txt entries":["Entradas en ads.txt personalizadas"],"Privacy information":["Información de privacidad"],"Enable Lazy Loading for images":["Activar carga en diferido de imágenes"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["La carga diferida de imágenes mejora la velocidad de tu sitio y crea una experiencia de visualización más fluida. La carga de las imágenes se realiza conforme los usuarios van desplazándose por la página en lugar de cargar todo de una vez."],"Performance & speed":["Rendimiento y velocidad"],"Enable high-speed, ad-free video player":["Activa el reproductor de vídeo de alta velocidad, sin anuncios"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Haz que el contenido que publicas sea más atractivo con vídeo de alta resolución. Con Jetpack Vídeo puedes personalizar tu reproductor de medios y mostrar a tus visitantes vídeos de alta velocidad, sin anuncios ni marcas. ¡Los vídeos se alojan en nuestros servidores de WordPress.com y no consumen espacio de tu plan de alojamiento!"],"Video":["Video"],"Carousel color scheme":["Esquema de color del carrusel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Los datos Exif muestran a los observadores detalles técnicos de una foto, como su longitud focal, apertura e ISO."],"Show photo Exif metadata in carousel (when available)":["Muestra metadatos Exif de la foto en el carrusel (cuando está disponible)"],"Display images in a full-screen carousel gallery":["Mostrar imágenes en una galería de carrusel a pantalla completa"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Crea presentaciones en carrusel a pantalla completa de las imágenes de tus entradas y páginas. Las galerías en carrusel son perfectas para móviles y animan a los visitantes del sitio a interactuar con tus fotos."],"Portfolios shortcode: [portfolio]":["Shortcode de portfolios: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Utiliza {{portfolioLink}}porfolios{{/portfolioLink}} en tu sitio para mostrar tus mejores trabajos. Si tu tema no es compatible con los porfolios de Jetpack, puedes usar un sencillo shortcode para mostrarlos en tu sitio."],"Testimonials shortcode: [testimonials]":["Shortcode de recomendaciones: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Añade {{testimonialLink}}recomendaciones{{/ testimonialLink}} a tu web para atraer nuevos clientes. Si tu tema no es compatible con las recomendaciones de Jetpack, puedes utilizar un sencillo shortcode para mostrarlas en tu sitio."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Los motores de búsqueda no pueden acceder a tu sitio en este momento. Si quieres que tu sitio sea accesible revisa tus {{a}}ajustes de lectura{{/a}} y cambia para activar la «Visibilidad en los motores de búsqueda»."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Buenas noticias: Jetpack está enviando tu mapa del sitio automáticamente a todos los principales motores de búsqueda para su indexación."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Los mapas del sitio son archivos que los motores de búsqueda como Google y Bing utilizan para indexar tu web. Pueden ayudar a mejorar tus posiciones en los resultados de búsqueda. Cuando activas esta característica, Jetpack creará mapas del sitio para ti y los actualiza automáticamente cuando cambie el contenido de tu sitio."],"Configure related posts in the Customizer":["Configurar entradas relacionadas en el personalizador"],"Highlight related content with a heading":["Destacar contenido relacionado con un encabezado"],"View security scan details":["Ver detalles de la exploración de seguridad"],"Test your site’s compatibility with Jetpack.":["Prueba la compatibilidad de tu sitio con Jetpack."],"Show a thumbnail image where available":["Mostrar una imagen en miniatura donde esté disponible"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Para obtener más información sobre cómo las características específicas de Jetpack usan datos y realizan un seguimiento de la actividad, consulta nuestro {{privacyCenterLink}}centro de privacidad{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Usamos otras herramientas de seguimiento, incluidas algunas de terceros. {{cookiePolicyLink}}Lee acerca de estos{{/cookiePolicyLink}} y sobre cómo controlarlos."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Esta información nos ayuda a mejorar nuestros productos, hacer que el marketing sea más relevante, personalizar tu experiencia en WordPress.com y más, tal como se detalla en nuestra {{pp}}política de privacidad{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Comparte información con nuestra herramienta de análisis acerca del uso que haces de los servicios mientras estás conectado a tu cuenta de WordPress.com. {{cookiePolicyLink}}Aprende más{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica está siendo gestionada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica ha sido desactivada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica ha sido activada por un administrador del sitio. {{link}}Aprende más{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s ha sido desactivado por un administrador del sitio. {{link}}Aprende más{{/link}}."],"This feature has been disabled by a site administrator.":["Esta característica ha sido desactivada por el administrador del sitio."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s ha sido desactivado por un administrador del sitio."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Puedes colocar anuncios adicionales usando el widget de anuncios. {{link}}¡Pruébalo!{{/link}}"],"Configure your notification settings":["Configura tus ajustes de avisos"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["El módulo de búsqueda de Jetpack es un potente sustituto de la capacidad de búsqueda integrada en WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Los archivos de tu sitio se exploran periódicamente en busca de modificaciones no autorizadas o sospechosas que podrían comprometer tu seguridad y datos."],"Plugin needs updating.":["El plugin necesita actualizarse.","Los plugins necesitan actualizarse."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Las actualizaciones de plugins de Jetpack te permiten seleccionar qué plugins se actualizan automáticamente."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimizará tus imágenes y las servirá desde la ubicación del servidor más cercana a tus visitantes. El uso de nuestra red global de entrega de contenido aumentará la velocidad de carga de tu sitio."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["El supervisor de tiempo de inactividad de Jetpack mantendrá controlado tu sitio y te alertará en el momento en que se detecte un tiempo de inactividad."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Las copias de seguridad de Jetpack te permiten restaurar o descargar fácilmente una copia de seguridad de un momento específico."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Activa un tema ligero adaptado a móviles que se mostrará a los visitantes en sus dispositivos móviles."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Carga automáticamente las siguientes entradas cuando el lector se acerca al fondo de la página."],"Allows you to publish new posts by sending an email to a special address.":["Permite publicar nuevas entradas enviando un correo electrónico a una dirección especial."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Añade una barra de herramientas con enlaces a todos tus sitios, avisos, tu perfil de WordPress.com y el «Lector»."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Ofrece las etiquetas ocultas necesarias para verificar tu sitio WordPress en diversos servicios."],"Displays information on your site activity, including visitors and popular posts or pages.":["Muestra información de la actividad de tu sitio, incluidos los visitantes y las entradas o páginas populares."],"Allows you to optimize your site and its content for better results in search engines.":["Te permite optimizar tu sitio y su contenido para unos mejores resultados en los motores de búsqueda."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integra tu sitio WordPress con Google Analytics, una plataforma que ofrece estadísticas de tu tráfico, visitantes y conversiones."],"Displays high-quality ads on your site that allow you to earn income.":["Muestra anuncios de gran calidad en tu sitio que te permiten ganar ingresos."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Te permite compartir automáticamente tu contenido más reciente en los sitios de medios sociales, incluidos Facebook y Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Añade botones de «me gusta» a tu contenido para que tus visitantes puedan mostrar su aprecio o disfrute."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permite a los usuarios registrados acceder a tu sitio con sus cuentas de WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protege tu sitio de ataques típicos y distribuidos de fuerza bruta contra la pantalla de acceso."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Hace copias de seguridad de tu sitio en los servidores globales de WordPress.com, permitiéndote restaurar tu contenido en caso de emergencia o error."],"Removes spam from comments and contact forms.":["Elimina el spam de comentarios y formularios de contacto."],"We are committed to your privacy and security. ":["Estamos comprometidos con tu privacidad y seguridad."],"View all Jetpack plans":["Ver todos los planes Jetpack"],"Manage your plan":["Gestiona tu plan"],"Your Plan":["Tu plan"],"You’re currently on Jetpack %(plan)s.":["Actualmente estás en el %(plan)s de Jetpack. "],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permite a los lectores suscribirse a tus entradas o comentarios, y recibe avisos cuando haya nuevos contenidos por correo electrónico."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Reemplaza el formulario estándar de comentarios de WordPress con un nuevo sistema de comentarios que incluye opciones de acceso a medios sociales."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Actívalo{{/a}} para reemplazar la búsqueda incluida en WordPress por una experiencia de búsqueda mejorada."],"Add Search (Jetpack) Widget":["Añade el widget de búsqueda (Jetpack)"],"Jetpack Search is powering search on your site.":["La búsqueda de Jetpack está mejorando la búsqueda en tu sitio."],"Manage your plugins":["Gestiona tus plugins"],"Moderate comments":["Modera comentarios"],"Error updating privacy settings. %(error)s":["Error al actualizar los ajustes de privacidad. %(error)s"],"Updated privacy settings.":["Ajustes de privacidad actualizados."],"Updating privacy settings…":["Actualizando ajustes de privacidad…"],"Add Jetpack Search Widget":["Añadir widget de búsqueda de Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Añade un widget de búsqueda de Jetpack a tu barra lateral para configurar los filtros de búsqueda avanzada."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suite completa de seguridad, marketing y herramientas de automatización de ingresos, alojamiento ilimitado de vídeo, temas ilimitados, búsquedas mejoradas y soporte prioritario."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suite completa de seguridad, marketing y herramientas de automatización de ingresos, alojamiento ilimitado de vídeo y soporte prioritario."],"Daily backups, spam filtering, and priority support.":["Copias de seguridad diarias, filtrado de spam y soporte prioritario."],"Always-on security":["Seguridad siempre activa"],"Activate video hosting":["Activar alojamiento de vídeo"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copias de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones en un clic, vigilancia automática de seguridad y soporte prioritario"],"Design the perfect website":["Diseña la web perfecta"],"Set up Jetpack":["Configurar Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Copias de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones a un clic y exploración de seguridad automática."],"Jetpack Search":["Búsqueda de Jetpack"],"Jetpack version %(version)s":["Jetpack versión %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Tu sitio está haciendo copia de seguridad en tiempo real y explorando regularmente en busca de amenazas de seguridad."],"Daily backup of all your site data with unlimited space and one-click restores":["Copias de seguridad diarias de todos los datos de tu sitio con espacio ilimitado y restauraciones con un solo clic"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copia de seguridad en tiempo real de todos los datos de tu sitio con espacio ilimitado, restauraciones con un solo clic, exploración automática de seguridad y soporte prioritario"],"View your security activity":["Ver tu actividad de seguridad"]," (powered by VaultPress).":["(impulsado por VaultPress)."],"Customize Search Widget":["Personalizar el widget de búsqueda"],"Please correct the issue below and try again.":["Por favor, corrige el problema que se enumera a continuación y vuelve a intentarlo.","Por favor, corrige los problemas que se enumeran a continuación y vuelve a intentarlo."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Nos aseguramos de que tu sitio se mantenga libre de amenazas a la seguridad. Se te avisará si encontramos una."],"Jetpack version":["Versión de Jetpack"],"Activity":["Actividad"],"{{a}}View details{{/a}}":["{{a}}Ver detalles{{/a}}"],"Monetize your site with ads":["Monetiza tu sitio con anuncios"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Al hacer clic en el botón inferior aceptas nuestros {{tosLink}}términos del servicio{{/tosLink}} y {{shareDetailsLink}}compartir detalles{{/shareDetailsLink}} con WordPress.com"],"Jetpack Stats People":["Estadísticas de gente Jetpack"],"Hello there! Your stats have been activated.":["¡Hola! Tus estadísticas están activas."],"Just give us a little time to collect data so we can display it for you here.":["Danos un poco de tiempo para recopilar datos para que podamos mostrártelos aquí. "],"Okay, got it!":["¡Vale, lo entiendo!"],"Display ads below posts on":["Muestra anuncios bajo las entradas"],"Additional ad placements":["Ubicaciones adicionales de anuncios"],"Top of each page":["En la parte superior de cada página"],"Second ad below post":["Segundo anuncio bajo la entrada"],"Archives":["Archivos"],"Stars":["Estrellas"],"Jupiter":["Júpiter"],"Schedule posts":["Programación de entradas"],"Activate Publicize":["Activa Divulgar"],"Your site is backed up.":["Tu sitio está respaldado."],"Get WordPress Apps for every device":["Consigue aplicaciones WordPress para cualquier dispositivo"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gestiona todos tus sitios desde un solo escritorio: publica contenido, sigue las estadísticas, modera comentarios, y mucho más desde cualquier lugar del mundo."],"Create address":["Crear dirección"],"Automatically share your posts to social networks":["Comparte automáticamente tus entradas en las redes sociales"],"Updating settings…":["Actualizando ajustes…"],"Updating Post by Email address…":["Actualizando la entrada por dirección de correo electrónico…"],"Your paid plan gives you access to prioritized Jetpack support.":["Tu plan de pago te da acceso al soporte prioritario de Jetpack"],"You have paid for backups but they're not yet active.":["Has pagado por las copias de seguridad pero aún no están activas."],"You have paid for backups and security scanning but they’re not yet active.":["Has pagado por copias y exploración de seguridad pero aún no están activas."],"Click \"Set Up\" to finish installation.":["Haz clic en «Configurar» para finalizar la instalación."],"Checking site status…":["Comprobando estado del sitio…"],"Pages":["Páginas"],"Access the full list of Jetpack modules available on your site.":["Acceso a la lista completa de módulos de Jetpack disponibles en tu sitio."],"We're here to help":["Dónde ir para obtener ayuda"],"Jetpack comes with free, basic support for all users.":["Jetpack incorpora soporte básico gratuito para todos los usuarios."],"Ask a question":["Haz una pregunta"],"Search our support site":["Busca en nuestro sitio de soporte"],"Get a faster resolution to your support questions.":["Consigue una respuesta más rápida a tus preguntas de soporte."],"Host fast, high-quality, ad-free video.":["Video de alta calidad, sin publicidad y con alojamiento rápido."],"Generate income with high-quality ads.":["Genera beneficios con anuncios de alta calidad."],"Real-time site backups and automatic threat resolution.":["Copias de seguridad en tiempo real y resolución automática de amenazas."],"Protect against data loss, malware, and malicious attacks.":["Protégete contra pérdidas de datos, malware y ataques maliciosos."],"Protect your site from spam.":["Protege tu sitio del spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Este sitio no está conectado con WordPress.com. Por favor, contacta con el administrado para conectarlo."],"An Automattic Airline":["Una aerolínea de Automattic"],"Manage site connection":["Gestionar conexión del sitio"],"Connect your account to WordPress.com to view more stats":["Conecta tu cuenta a WordPress.com para ver más estadísticas"],"Theme enhancements":["Mejoras del tema"],"Load more posts using the default theme behavior":["Carga más entradas usando el comportamiento por defecto del tema"],"Load more posts in page with a button":["Carga mas entradas en la página con un botón"],"Load more posts as the reader scrolls down":["Carga más entradas a medida que el lector navega"],"Theme support required.":["Se requiere que el tema sea compatible."],"Learn more about adding support for Infinite Scroll to your theme.":["Aprende más sobre cómo añadir soporte para scroll infinito en tu tema."],"Show excerpts instead of full posts on front page and archive pages":["Muestra extractos en vez de entradas completas en portada y páginas de archivo"],"Show featured images":["Muestra imágenes destacadas"],"Enable the WordPress.com toolbar":["Activar la barra de herramientas de WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Las herramientas de escritura se te mostrarán aquí cuando un administrador las active."],"Portfolios":["Porfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Date cuenta que {{b}}no es necesario verificar tu sitio con estos servicios{{/b}} para que tu sitio lo indexen los motores de búsqueda. Para usar estas herramientas avanzadas de motores de búsqueda y verificar tu sitio con un servicio pega el código de la etiqueta HTML a continuación. Lee las {{support}}instrucciones completas{{/support}} si tienes algún problema. Servicios compatibles con la verificación: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} y {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Crea mapas del sitio en XML"],"The image helps collect stats, but should work when hidden.":["La imagen ayuda a recoger estadísticas pero debería funcionar cuando esté oculta."],"Count logged in page views from":["Contar las visualizaciones de página conectados de"],"Allow stats reports to be viewed by":["Permitir que los informes de estadísticas los vean"],"In \"Upgrade\"":["En «Actualizar»"],"Configure your Google Analytics settings":["Configura tus ajustes de Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Muestra anuncios en el primer artículo de tu portada o al final de cada página y entrada. Pon más anuncios en la parte superior de tu sitio y en cualquier área de widgets para incrementar tus ganancias."],"Enable ads and display an ad below each post":["Activa anuncios y muestra un anuncio debajo de cada entrada"],"Configure your sharing buttons":["Configura tus botones de compartir"],"Connect your social media accounts":["Conecta con tus cuentas de redes socials"],"Match accounts using email addresses":["Empareja cuentas utilizando la dirección de correo electrónico"],"Require accounts to use WordPress.com Two-Step Authentication":["Requerir cuentas para usar la identificación en dos pasos de WordPress.com"],"Add to whitelist":["Añadir a la lista blanca"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Deberías autorizar algunas direcciones IP para que no sean bloqueadas por Jetpack. Se admiten direcciones IPv4 e IPv6. Para especificar un rango, introduce el valor menor y el mayor separados por un guión, p. ej: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Tu sitio está asegurado y libre de amenazas."],"Checking your spam protection…":["Comprobando protección contra el spam..."],"Fetching key…":["Obteniendo clave..."],"Your site needs an Antispam key.":["Tu sitio necesita una clave Akismet."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Hay un problema con tu clave de API antispam. {{a}}Aprende más{{/a}}."],"Your site is not protected from spam.":["Tu sitio no está protegido frente al spam."],"Your Antispam key is valid.":["Tu clave antispam no es válida."],"Your site is protected from spam.":["Tu sitio está protegido contra el spam."],"Checking key…":["Comprobando clave..."],"Your API key":["Tu clave de API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Si aún no tienes una clave de API, {{a}}haz clic aquí {{/a}} y sigue el proceso guiado para conseguirla."],"No search results found for %(term)s":["No se han encontrado resultados para %(term)s"],"Enter a search term to find settings or close search.":["Escribe un término de búsqueda para encontrar opciones o cierra la búsqueda."],"Connections":["Conexiones"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Tu sitio está en modo de desarrollo, por lo que no se puede conectar con WordPress.com"],"Your site is connected to WordPress.com.":["Tu sitio está conectado con WordPress.com"],"You are the Jetpack owner.":["Eres el propietario de Jetpack"],"Connected as {{span}}%(username)s{{/span}}":["Conectado como {{span}}%(username)s{{/span}}"],"View your Email Followers":["Ver tus seguidores por correo electrónico"],"Color scheme":["Esquema de color"],"Enable Markdown use for comments.":["Permite Markdown en los comentarios."],"Updated settings.":["Opciones guardadas."],"Error updating settings. %(error)s":["Error actualizando los ajustes. %(error)es"],"Regenerated Post by Email address.":["Entrada regenerada desde la dirección de correo electrónico."],"Error regenerating Post by Email address. %(error)s":["Error al regenerar la entrada desde la dirección de correo electrónico. %(error)es"],"Updated settings. Refreshing page…":["Opciones actualizadas. Recargando página..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Actualmente en {{a}}Modo de desarrollo{{/a}} (algunas características están desactivadas) porque: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}El filtro jetpack_development_mode está activo{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Se ha definido la constante JETPACK_DEV_DEBUG{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}La URL de tu sitio no tiene punto (p.ej. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics es un servicio gratuito que complementa nuestras {{a}}estadísticas integradas{{/a}} con diferentes informes de tu tráfico. Las estadísticas de WordPress.com y las de Google Analytics usan distintos métodos para identificar y seguir la actividad de tu sitio, así que normalmente mostrarán totales de tus visitas, páginas vistas, etc. ligeramente diferentes."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configura Google Analytics"],"Activate Google Analytics":["Activa Google Analytics"],"Download the free apps":["Descarga las aplicaciones gratuitas"],"Upgrade Focus: VideoPress For Weddings":["Mejora Focus: VideoPress para bodas"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Ahora también puedes configurar las entradas relacionados en el personalizador. {{ExternalLink}}¡Pruébalo!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Por defecto los anuncios se muestran al final de cada página, entrada, o el primer artículo en su portada. ¡También puedes añadirlos a la parte superior de su sitio y en cualquier área de widget para aumentar tus ganancias!"],"Display an ad unit at the top of your site.":["Mostrar un bloque de anuncios en la parte superior de su sitio."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Mediante la activación de los anuncios, usted acepta las {{link}}Condiciones de servicio{{/link}} de los anuncios e Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Tu servidor está mal configurado, lo que significa que la protección de Jetpack no puede proteger tu sitio con efectividad."],"In \"Mobile\"":["En «Móvil»"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configura tus ajustes de avisos del supervisor en WordPress.com{{/link}}"],"View your earnings":["Ver tus ganancias"],"Configure site SEO":["Configurar el SEO del sitio"],"Activate SEO tools":["Activa las herramientas de SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Para empezar haz clic en añadir objeto en tu editor de entradas y sube un vídeo. ¡Nos encargaremos del resto!"],"Video Hosting":["Alojamiento de vídeo"],"SEO Tools":["Herramientas SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Las herramientas SEO avanzadas ayudan a que tu sitio sea fácil de encontrar cuando la gente busque contenido relevante."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["La forma más sencilla de se subir vídeos sin anuncios ni marcas. Obtienes estadísticas las reproducciones de video y de las veces que se ha compartido y el reproductor es ligero y adaptable."],"You are running Jetpack on a staging server.":["Estás ejecutando Jetpack en un servidor de desarrollo."],"More Info":["Más Información"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Administra la visibilidad de los «Me gusta» desde los ajustes del módulo de compartir{{/a}}"],"Your current IP: %(ip)s":["Tu IP actual: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Hay ajustes sin guardar en esta pestaña que se perderán si la dejas. ¿Quieres proceder?"],"This will reset all Jetpack options, are you sure?":["Esto restablecerá todas las opciones de Jetpack, ¿estás seguro?"],"Search for a Jetpack feature.":["Buscar una característica de Jetpack."],"Configure your Security Scans":["Configura tus exploraciones de seguridad"],"Subscriber":["Suscriptor"],"Big iPhone/iPad Update Now Available":["Gran actualización de iPhone/Ipad disponible"],"The WordPress for Android App Gets a Big Facelift":["La aplicación Android para WordPress recibe un enorme estiramiento facial"],"WordPress.com Likes are:":["Los «Me gusta» de WordPress.com están:"],"A few catchy words to motivate your visitors to comment.":["Expresiones pegadizas para motivar a tus lectores a comentar."],"Hide the stats smiley face image":["Oculta la imágen de la carita feliz de las estadísticas"],"Whitelisted IP addresses":["Lista blanca de direcciones IP"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Muestra un anuncio de las aplicaciones de WordPress para móviles en el pie de página del tema móvil."],"Copied!":["¡Copiado!"],"Highlight and copy the following text to your clipboard:":["Realza y copia el texto siguiente a tu portapapeles: "],"Regenerate address":["Regenerar dirección"],"Cheatin' uh?":["¿Haciendo trampas?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}¿Te importaría decirnos por qué no has completado la conexión con Jetpack en esta {{a}}encuesta de 2 preguntas?{{/a}}{{/p}}{{p}}La conexión con Jetpack es obligatoria para que funcionen nuestras características gratuitas de tráfico y seguridad.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bienvenido a {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Tu Jetpack ya está conectado."],"You're fueled up and ready to go, Jetpack is now active.":["Estás completo de combustible y listo para ir, ahora Jetpack está activo"],"You're fueled up and ready to go.":["Estás completo de combustible y listo para ir."],"You are currently running a development version of Jetpack.":["En este momento estás ejecutando una versión de desarrollo de Jetpack."],"Submit Beta feedback":["Envía tus sugerencias"],"What would you like to see on your Jetpack Dashboard?":["¿Qué te gustaría ver en el Escritorio de tu Jetpack?"],"Let us know!":["¡Háznolo saber!"],"Saving…":["Guardando..."],"Save Settings":["Guardar ajustes"],"Jetpack Stats Icon":["Icono de estadísticas de Jeptpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["¡{{a}}Activa las Estadísticas del sitio{{/a}} para ver estadísticas detalladas, «me gusta», seguidores, suscriptores y más! {{a1}}Aprende más{{/a1}}"],"Activate Site Stats":["Activar estadísticas del sitio"],"Site Backups":["Copias de seguridad del sitio"],"Upgrade":["Actualiza"],"ACTIVE":["ACTIVO"],"View your spam stats":["Ver tus estadísticas de spam"],"View your security dashboard":["Ver tu escritorio de seguridad"],"Real-Time Backups":["Copias de seguridad en tiempo real"],"The site is in Development Mode, so you can not connect to WordPress.com.":["El sitio está en el modo de desarrollo, así que no puedes conectarte a WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Conecta tu cuenta a WordPress.com para conseguir el máximo de Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Para la exploración automática y completa de las amenazas de seguridad, por favor, {{a}}instala y activa{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetapck está bloqueando activamente intentos de acceso maliciosos. ¡Muy pronto se mostraran datos aquí mismo!"],"Total malicious attacks blocked on your site.":["Total de ataques maliciosos bloqueados en tu sitio."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activa Protección{{/a}} para mantener tu sitio protegido de intentos de acceso malintencionados."],"All plugins are up-to-date. Awesome work!":["Todos los plugins están actualizados. ¡Buen trabajo!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack está supervisando tu sitio. Si creemos que tu sitio está caído, recibirás un correo electrónico."],"Security":["Seguridad"],"Performance":["Rendimiento"],"Backup":["Copias de seguridad"],"{{a}}View backup details{{/a}}.":["{{a}}Ver detalles de la copia de seguridad{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Para hacer automáticamente una copia de seguridad de tu sitio completo, por favor {{a}}instala y activa{{/a}} VaultPress."],"Unavailable in Dev Mode.":["No disponible en el modo desarrollador."],"Unavailable in Dev Mode":["No disponible en modo desarrollador"],"Activating %(slug)s…":["Activando %(slug)s…"],"%(slug)s has been activated.":["%(slug)s se ha activado."],"%(slug)s failed to activate. %(error)s":["%(slug)s falló al activarse. %(error)s"],"Deactivating %(slug)s…":["Desactivando %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s ha sido desactivado."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s no se desactivaron. %(error)s"],"Updating %(slug)s settings…":["Actualizando %(slug)s ajustes…"],"Updated %(slug)s settings.":["Ajustes de %(slug)s actualizados."],"Error updating %(slug)s settings. %(error)s":["Error actualizando los ajustes %(slug)s. %(error)s"],"Updating %(slug)s address…":["Actualizando la dirección %(slug)s…"],"Regenerated %(slug)s address .":["Regenerar %(slug)s direcciones."],"Error regenerating %(slug)s address. %(error)s":["Error regenerando la dirección %(slug). %(error)s"],"Resetting Jetpack options…":["Resetear opciones de jetpack"],"Options reset.":["Ajustes restablecidos."],"Options failed to reset.":["Fallo al restablecer las opciones."],"There was an error disconnecting Jetpack. Error: %(error)s":["Ha ocurrido un error desconectando Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Desconectando de WordPress.com"],"Unlinked from WordPress.com.":["Desconectado de WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error al desconectar de WordPress.com. %(error)s"],"At A Glance":["De un vistazo"],"Dashboard":["Escritorio"],"Automattic's Privacy Policy":["Política de privacidad de Automattic"],"WordPress.com Terms of Service":["Términos del servicio de WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Activar las actualizaciones automáticas del plugin.{{/a}}"],"Plugin Updates":["Actualizaciones de plugins"],"No threats found, you're good to go!":["No se han encontrado amenazas, ¡estás listo para empezar!"],"{{a}}Contact Support{{/a}}":["{{a}}Contacta con soporte{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Ver detalles en VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["¡Vaya! Se encontró %(number)s amenza.","¡Vaya! Se encontraron %(number)s amenzas."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activa el supervisor{{/a}} para recibir avisos si tu sitio se cae."],"Loading…":["Cargando..."],"Downtime monitor":["Supervisión de inactividad"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Ver más estadísticas en WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Ver más estadísticas{{/button}}"],"All-time comments":["Todos los comentarios"],"All-time views":["Visitas de todo el periodo"],"%(number)s View":["%(number)s visita","%(number)s visitas"],"Best overall day":["El mejor día"],"Views today":["Visualizaciones hoy"],"Months":["Meses"],"Weeks":["Semanas"],"Days":["Días"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Algo pasó al cargar las estadísticas. Por favor, inténtalo de nuevo más tarde o {{a}}ve tus estadísticas ahora en WordPress.com{{/a}}"],"Click to view detailed stats.":["Haz clic para ver estadíticas detalladas."],"Views: %(numberOfViews)s":["VIsitas: %(numberOfViews)s"],"Week of %(date)s":["Semana del %(date)s"],"Site Security":["Seguridad del sitio"],"Link to WordPress.com":["Conecta con WordPress.com"],"Unlink me from WordPress.com":["Desconectame de WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Hubo un problema conectando con tu Jetpack. Por favor haz click en «Conecta con WordPress.com» de nuevo."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Hemos tenido una incidencia conectando Jetpack; desactiva y vuelve a activar el plugin de Jetpack, luego conecta de nuevo."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Debes permanecer conectado a tu blog de WordPress mientras autorizas Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Tu Jetpack tiene un problema.{{/s}} Lamentamos las molestias. Por favor, inténtalo más tarde. Si el problema continúa, por favor contacta con el soporte con este mensaje: %(error_key)s"],"Disconnecting Jetpack":["Desconectando Jetpack"],"Learn more":["Aprende más"],"Posts":["Entradas"],"Front page":["Portada"],"Upload videos":["Subir vídeos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Muestra contenido relacionado después de las entradas"],"Related":["Relacionado"],"Disconnect":["Desconectar"],"Save":["Guardar"],"Media":["Medios"],"Mobile Theme":["Tema para móviles"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX es un lenguaje específicamente diseñado para escribir complejas ecuaciones matemáticas, fórmulas, etc."],"Site Stats":["Estadísticas del sitio"],"Sharing":["Compartir"],"Testimonials":["Recomendaciones"],"Cancel":["Cancelar"],"Comments":["Comentarios"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack no puede ponerse en contacto con WordPress.com: %(error_key)s. Esto generalmente significa que algo no está configurado correctamente en el servidor de tu sitio."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com tiene problemas ahora mismo y no puede repostar tu Jetpack. Por favor, inténtalo más tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Tu Jetpack tiene un fallo.{{/s}} No es posible conectar este sitio con WordPress.com. Esto significa normalmente que tu sitio no es público (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Tu web tiene que ser accesible al público para usar Jetpack: %(error_key)s"],"Edit":["Editar"],"Connected":["Conectado"],"Activate":["Activar"],"Active":["Activo"],"Settings":["Ajustes"],"Learn More":["Aprende más"],"Disconnect Jetpack":["Desconectar Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Nota:{{/b}} Esta característica se está retirando y se eliminará de Jetpack en marzo. {{link}}Saber más{{/link}}"],"Settings header\u0004Jetpack Backup":["Copias de seguridad de Jetpack"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["Enlaces cortos WP.me"],"Settings header\u0004Auto-update plugins":["Actualización automática de plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Supervisión del tiempo de inactividad"],"Settings header\u0004Privacy Settings":["Ajustes de privacidad"],"Settings header\u0004WordPress.com toolbar":["Barra de herramientas de WordPress.com"],"Settings header\u0004Composing":["Creando"],"Settings header\u0004Site stats":["Estadísticas del sitio"],"Settings header\u0004Search engine optimization":["Optimización en los motores de búsqueda"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Botones de compartir"],"Settings header\u0004Publicize connections":["Conexiones de Divulgar"],"Settings header\u0004Like buttons":["Botones «me gusta»"],"Settings header\u0004Brute force attack protection":["Protección ante ataques de fuerza bruta"],"Settings header\u0004Backups and security scanning":["Copias y exploración de seguridad "],"Notice in the empty statistics chart\u0004No activity this period":["Sin actividad en este periodo"],"Settings header, noun.\u0004WordPress.com login":["Acceso con WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Enviar enlace"],"A caption for a button to cancel an action.\u0004Cancel":["Cancelar"],"Link to learn more about Jetpack.\u0004About":["Acerca de"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Módulos"],"Navigation item.\u0004Performance":["Rendimiento"],"Navigation item.\u0004My Plan":["Mi plan"],"Navigation item.\u0004Dev Tools":["Herramientas de desarrollo"],"Navigation item.\u0004Settings":["Ajustes"],"Navigation item.\u0004Discussion":["Debate"],"Navigation item.\u0004Traffic":["Tráfico"],"Navigation item.\u0004Sharing":["Compartir"],"Navigation item.\u0004At A Glance":["De un vistazo"],"Navigation item.\u0004Plans":["Planes"],"Navigation item.\u0004Writing":["Escritura"],"Navigation item.\u0004Reset Options (dev only)":["Restablecer ajustes (solo en versiones de desarrollo)"],"Navigation item.\u0004Security":["Seguridad"],"Navigation item.\u0004At a Glance":["De un vistazo"],"Search term.\u0004terms of service":["términos del servicio"],"Search term.\u0004tos":["tds"],"Search term.\u0004gdpr":["rgpd"],"Search term.\u0004data":["datos"],"Search term.\u0004tracks":["pistas"],"Search term.\u0004privacy":["privacidad"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Actualizar"],"Button caption\u0004Saving…":["Guardando…"],"Button caption\u0004Save settings":["Guardar ajustes"],"A heading for a block of related posts.\u0004Related":["Relacionado"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Vista previa"],"Short warning message\u0004Updates needed":["Actualizaciones necesarias"],"Short label appearing near a paid feature configuration block.\u0004Paid":["De pago"],"A header for a preview area in the configuration screen.\u0004Preview":["Vista previa"],"Ads header\u0004Ads":["Anuncios"],"Dashboard widget header\u0004Site connection":["Conexión al sitio"],"Dashboard widget header\u0004Account connection":["Conexión a tu cuenta"],"A caption for a small button to fix security issues.\u0004Threats":["Amenazas"],"A caption for a small button to fix security issues.\u0004FIX":["SOLUCIONAR"],"Short warning message about new threats found.\u0004Threats found!":["¡Encontradas amenazas!"],"Short message informing user that the site is secure.\u0004Secure":["Seguro"],"Caption for a button to set up a feature.\u0004Set up":["Configurar"],"verb\u0004Copy":["Copiar"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacidad"],"Shorthand for Terms of Service.\u0004Terms":["Términos"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Depuración"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Comentarios de spam bloqueados."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-fa_IR-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-fa_IR-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index d1334412..00000000
--- a/plugins/jetpack/languages/json/jetpack-fa_IR-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"fa"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":[""],"Manage Subscription":[""],"Your site is being backed up.":[""],"You need to enter your server credentials to finish configuring Jetpack Backup.":[""],"Jetpack Backup is being configured for your site.":[""],"Daily Backups":[""],"Just looking for backups? We've got you covered.":[""],"Solutions":[""],"Included in your {{planLink}}Professional Plan{{/planLink}}":[""],"Included in your {{planLink}}Premium Plan{{/planLink}}":[""],"Included in your {{planLink}}Personal Plan{{/planLink}}":[""],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":[""],"Always-on backups ensure you never lose your site.":[""],"My Products":[""],"My Plan":[""],"Jetpack Backup {{em}}Real-Time{{/em}}":[""],"Your data is being securely backed up as you edit.":[""],"Jetpack Backup {{em}}Daily{{/em}}":[""],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":[""],"Jetpack Premium":[""],"Jetpack Personal":[""],"Jetpack Free":[""],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":[""],"Jetpack has many powerful tools that can help you achieve your goals":[""]," We’ve highlighted some of the features you rely on below.":[""],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":[""],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":[""],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":[""],"Disable":[""],"Are you sure you want to disconnect and deactivate?":[""],"Are you sure you want to disconnect?":[""],"Disable Jetpack":[""],"We back up your website with every change you make, making it easy to fix your mistakes.":[""],"Automated Real-time Backups":[""],"We back up your website every day, so you never have to worry about your data again.":[""],"Automated Daily Backups":[""],"View Your Backups":[""],"A Jetpack Site securely backed up with Jetpack Backup":[""],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Image Accelerator":[""],"Start with free":[""],"Now that you're set up, pick a plan that fits your needs.":[""],"Jetpack Backup":[""],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":[""],"Already have a key? {{a}}Activate Akismet{{/a}}":[""],"Verifying…":[""],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":[""],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":[""],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":[""],"Customize your SEO settings":[""],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":[""],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["افزودن دکمه‌های اشتراک‌گذاری تا بازدیدکنندگان بتوانند تنها با چند کلیک، نوشته‌ها و برگه‌های شما را روی رسانه‌های اجتماعی به اشتراک بگذارند."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":[""],"Expand to update settings for how visits are counted and manage who can view this information.":[""],"You can customize the sharing buttons and choose which services to display.":[""],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":[""],"Find threats early so we can help fix them fast.":[""],"Replace your site's basic search with customizable search that helps visitors find answers faster.":[""],"Never worry about losing your site – automatic backups keep your content safe.":[""],"Protect":[""],"Scan":[""],"Automatically clear spam from your comments and forms so you can get back to your business.":[""],"Anti-spam":[""],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":[""],"Log in to the WordPress mobile app":[""],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":[""],"Email me a link to log in to the app":[""],"Send your new posts to this email address:":[""],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":[""],"Generate shortened URLs for simpler sharing.":[""],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":[""],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":[""],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":[""],"Add sharing buttons to your posts and pages":[""],"Share your content to social media, reaching new audiences and increasing engagement.":[""],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":[""],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":[""],"Choose which plugins to auto-update":[""],"Upgrade Jetpack now":[""],"Monetize your site by running high quality ads.":[""],"Customize your social posting schedule.":[""],"Expand your audience with pro SEO tools.":[""],"Take your site to the next level!":[""],"Search support docs":[""],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":[""],"Start sharing":[""],"Optimized performance":[""],"Enable the “subscribe to comments” option on your comment form":[""],"Enable the “subscribe to site” option on your comment form":[""],"Manage advanced comment settings and grow your audience with email subscriptions.":[""],"Comment form introduction":[""],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":[""],"Failed to send login email":[""],"Login email sent":[""],"Sending login email…":[""],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":[""],"Allow readers to like individual comments.":[""],"Enable comment likes.":["فعالسازی پسندیدن دیدگاه ها"],"Allow readers to use markdown in comments.":[""],"Show Gravatar hovercards alongside comments.":[""],"Complete Jetpack Setup":[""],"Your Jetpack setup progress":[""],"View your setup checklist":[""],"Yearly":[""],"Monthly":[""],"About Jetpack":[""],"Enable widget visibility controls to display widgets only on particular posts or pages":[""],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":[""],"Make extra widgets available for use on your site including subscription forms and Twitter streams":[""],"Enhance CSS customization panel":[""],"Writing":[""],"Compose using shortcodes to embed media from popular sites":[""],"Traffic":[""],"You need to enter your server credentials to finish configuring Backups and Scan.":[""],"Awaiting credentials":[""],"Backups and Scan are being configured for your site.":[""],"Provisioning":[""],"Action needed":[""],"Setting up":[""],"Discussion":[""],"We are configuring your site protection.":[""],"View your site's backups":[""],"We are backing up your site in real-time.":[""],"Enter credentials":[""],"You need to enter your server's credentials to finish the setup.":[""],"We are configuring your site's backups.":[""],"View site activity":[""],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":[""],"Explore our Jetpack plans":[""],"Support documentation":["مستندات پشتیبانی"],"Chat bubbles representing getting in touch with support":[""],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":[""],"Increase traffic to your site":[""],"Explore free themes":[""],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":[""],"A wide variety of themes and tools to customize a site":[""],"Set up your site security":[""],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":[""],"Site stats showing an evolution in traffic and engagement":[""],"A hand holding a loupe":[""],"A chart showing an healthy increase in earnings":[""],"Interface showing a chronological list of changes and updates in a site":[""],"A cloud with multiple types of content floating around it":[""],"A folder holding real comments":[""],"Make your site faster":[""],"Load pages faster by serving your images from our global network of servers.":[""],"A fast and performant website":[""],"A secure site, locked and protected by Jetpack":[""],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":[""],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":[""],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":[""],"Add Like buttons to your posts and pages":[""],"When visitors enjoy your content, let them show it with a Like.":[""],"Create account":[""],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":[""],"Compose content the way you want to and streamline your publishing experience.":[""],"Add a portfolio item":[""],"Add a testimonial":[""],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":[""],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":[""],"Error enabling Site accelerator. %(error)s":[""],"Site accelerator is now speeding up your site!":[""],"Enabling Site accelerator…":[""],"Error disabling site accelerator. %(error)s":[""],"Site accelerator is no longer speeding up your site!":[""],"Disabling site accelerator…":[""],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":[""],"High-speed, high-definition video hosting with no third-party ads.":[""],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":[""],"Marketing Automation":[""],"Activate Jetpack Search":[""],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":[""],"Start earning":[""],"WordAds lets you earn money by displaying promotional content. Start earning today.":[""],"Spam is automatically blocked from your comments.":[""],"Browse premium themes":[""],"Access hundreds of beautifully designed premium themes at no extra cost.":[""],"Try a premium theme":[""],"View settings":[""],"Create a Jetpack account to view your email followers":[""],"Manage security settings":[""],"Jetpack is ready for the new WordPress editor":[""],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":[""],"Build your Jetpack site with blocks":[""],"A new editor? Yes! {{a}}Learn more{{/a}}.":[""],"The features you rely on, adapted for the new WordPress editor.":[""],"Take me to the new editor":[""],"Testing Jetpack Connection":["آزمون اتصال جت‌پک"],"There was an error testing Jetpack. Error: %(error)s":[""],"New in Jetpack!":[""],"Speed up static file load times":[""],"Speed up image load times":[""],"Enable site accelerator":[""],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":[""],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":["تأیید دستی"],"Verify with Google":["تأیید با گوگل"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["گوگل دربارهٔ رویدادهای خاص وب‌گاه شما رایانامه می‌فرستد، از جمله دربارهٔ نشانه‌های {{a1}}هک‌شدن{{/a1}} وب‌گاه، یا مشکلات {{a2}}خزیدن و نمایه‌شدن{{/a2}} وب‌گاه."],"or":[""],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Custom ads.txt entries":[""],"Privacy information":["اطلاعات حریم"],"Enable Lazy Loading for images":["فعال کردن بارگذاری کند (Lazy) برای تصاویر"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":[""],"Performance & speed":[""],"Enable high-speed, ad-free video player":[""],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":[""],"Video":["ویدئو"],"Carousel color scheme":[""],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":[""],"Show photo Exif metadata in carousel (when available)":[""],"Display images in a full-screen carousel gallery":[""],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":[""],"Portfolios shortcode: [portfolio]":[""],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":[""],"Testimonials shortcode: [testimonials]":[""],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":[""],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":[""],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":[""],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":[""],"Configure related posts in the Customizer":[""],"Highlight related content with a heading":[""],"View security scan details":["دیدن جزئیات پویش امنیتی"],"Test your site’s compatibility with Jetpack.":["سازگاری وب‌گاه خود با Jetpack را بیازمایید."],"Show a thumbnail image where available":[""],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":[""],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":[""],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":[""],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":[""],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator.":[""],"%(moduleName)s has been disabled by a site administrator.":[""],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":[""],"Configure your notification settings":[""],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":[""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":[""],"Plugin needs updating.":[""],"%(number)s":[""],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":[""],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":[""],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":[""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":[""],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":[""],"Loads the next posts automatically when the reader approaches the bottom of the page.":[""],"Allows you to publish new posts by sending an email to a special address.":[""],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":[""],"Displays information on your site activity, including visitors and popular posts or pages.":[""],"Allows you to optimize your site and its content for better results in search engines.":[""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":[""],"Displays high-quality ads on your site that allow you to earn income.":[""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":[""],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":[""],"Allows registered users to log in to your site with their WordPress.com accounts.":[""],"Protects your site from traditional and distributed brute force login attacks.":[""],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":[""],"Removes spam from comments and contact forms.":[""],"We are committed to your privacy and security. ":["ما به حریم و امنیت شما متعهد هستیم."],"View all Jetpack plans":[""],"Manage your plan":[""],"Your Plan":[""],"You’re currently on Jetpack %(plan)s.":[""],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":[""],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":[""],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":[""],"Add Search (Jetpack) Widget":[""],"Jetpack Search is powering search on your site.":[""],"Manage your plugins":["افزونه‌های خود را مدیریت کنید"],"Moderate comments":[""],"Error updating privacy settings. %(error)s":[""],"Updated privacy settings.":[""],"Updating privacy settings…":[""],"Add Jetpack Search Widget":["افزودن ابزارک جستجوی جت‌پک"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":[""],"Daily backups, spam filtering, and priority support.":[""],"Always-on security":[""],"Activate video hosting":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"Design the perfect website":[""],"Set up Jetpack":[""],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":[""],"Jetpack Search":[""],"Jetpack version %(version)s":["جت‌پک نسخهٔ %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":[""],"Daily backup of all your site data with unlimited space and one-click restores":[""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"View your security activity":[""]," (powered by VaultPress).":[""],"Customize Search Widget":[""],"Please correct the issue below and try again.":[""],"We are making sure your site stays free of security threats. You will be notified if we find one.":[""],"Jetpack version":["نسخهٔ جت‌پک"],"Activity":[""],"{{a}}View details{{/a}}":["{{a}}مشاهده جزئیات{{/a}}"],"Monetize your site with ads":[""],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":[""],"Jetpack Stats People":[""],"Hello there! Your stats have been activated.":[""],"Just give us a little time to collect data so we can display it for you here.":[""],"Okay, got it!":[""],"Display ads below posts on":[""],"Additional ad placements":[""],"Top of each page":[""],"Second ad below post":["آگهی دوم زیر نوشته"],"Archives":["بایگانی‌ها"],"Stars":["ستاره‌ها"],"Jupiter":[""],"Schedule posts":[""],"Activate Publicize":[""],"Your site is backed up.":["وب‌گاه شما پشتیبان دارد."],"Get WordPress Apps for every device":[""],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":[""],"Create address":["ساخت نشانی"],"Automatically share your posts to social networks":["به طور خودکار نوشته‌هایتان را به شبکه‌های اجتماعی بیفزایید"],"Updating settings…":["در حال به‌روز کردن تنظیمات..."],"Updating Post by Email address…":["در حال به‌روز کردن نشانی «نوشتن با رایانامه»..."],"Your paid plan gives you access to prioritized Jetpack support.":[""],"You have paid for backups but they're not yet active.":[""],"You have paid for backups and security scanning but they’re not yet active.":[""],"Click \"Set Up\" to finish installation.":[""],"Checking site status…":["بررسی وضعیت سایت..."],"Pages":["صفحه‌ها"],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":["پرسشتان را مطرح کنید"],"Search our support site":["وب‌گاه پشتیبانیمان را بجویید"],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":["مدیریت اتصال وب‌گاه"],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show excerpts instead of full posts on front page and archive pages":[""],"Show featured images":["نمایش تصویرهای ویژه"],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":["Yandex"],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":["افزودن به فهرست پیگیری"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":["سایت شما پشتیبان گیری شده و بدون تهدید است."],"Checking your spam protection…":["بررسی سیستم حفاظت از هرزنامه شما ..."],"Fetching key…":["در حال دریافت کلید..."],"Your site needs an Antispam key.":["وب‌گاه شما نیازمند یک کلید پادهرزنامه است."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["یک مشکل امنیتی در کلید API ضدهرزنامه شما وجود دارد.{{a}}بیشتر بدانید{{/a}}."],"Your site is not protected from spam.":["سایت شما از هرزنامه محافظت نمی شود."],"Your Antispam key is valid.":["کلید ضد هرزنامهٔ شما معتبر است."],"Your site is protected from spam.":["سایت شما از هرزنامه محافظت می شود."],"Checking key…":["در حال بررسی کلید..."],"Your API key":["کلید API شما"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["اگر قبلا یک کلید API ندارید، پس {{a}}کلید API خود را از اینجا دریافت کنید{{/a}}، از طریق فرایند گرفتن یکی از آنها هدایت خواهید شد."],"No search results found for %(term)s":["جستجو برای %(term)s هیچ نتیجه‌ای دربر نداشت."],"Enter a search term to find settings or close search.":["یک عبارت را برای پیدا کردن تنظیمات یا جستجوی دقیق را وارد کنید."],"Connections":["اتصال‌ها"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["سایت شما در حالت توسعه است، بنابراین نمی توان آن را به WordPress.com متصل کرد."],"Your site is connected to WordPress.com.":["سایت شما به WordPress.com متصل است."],"You are the Jetpack owner.":["شما صاحب جت‌پک هستید."],"Connected as {{span}}%(username)s{{/span}}":["به عنوان {{span}}%(username)s{{/span}} متصل شده است"],"View your Email Followers":["دنبال کنندگان ایمیل خود را مشاهده کنید"],"Color scheme":["رنگ‌بندی"],"Enable Markdown use for comments.":["فعال‌کردن Markdown برای دیدگاه‌ها"],"Updated settings.":["تنظیمات بروز شد."],"Error updating settings. %(error)s":["خطا در به‌روزرسانی تنظیمات. %(error)s"],"Regenerated Post by Email address.":["نوشته توسط آدرس ایمیل بازسازی شد."],"Error regenerating Post by Email address. %(error)s":["خطا در بازسازی نوشته توسط آدرس ایمیل. %(error)s"],"Updated settings. Refreshing page…":["تنظیمات بروز شد. بازخوانی صفحه ..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}پالایهٔ jetpack_development_mode فعال است{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}ثابت JETPACK_DEV_DEBUG تعریف شده‌است{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}نشانی وب وب‌گاه شما فاقد نقطه است (برای مثال http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc."],"Google Analytics":["گوگل آنالیز"],"Configure Google Analytics":["پیکربندی گوگل آنالیز"],"Activate Google Analytics":["فعال شدن گوگل آنالیز"],"Download the free apps":[""],"Upgrade Focus: VideoPress For Weddings":["ارتقاء فوکوس:VideoPress برای عروسی ها"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}} می توانید اکنون نوشته های مرتبط را پیکربندی کنید در بخش سفارشی سازی.{{ExternalLink}}امتحان کنید{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["بطور پیشفرض تبلیغات نمایش داده می شود در انتهای هر صفحه،نوشته با بالای صفحه اصلی. شما می توانید آن ها را به بالای سایت خود و هر ناحیه ابزارکی اضافه کنید."],"Display an ad unit at the top of your site.":["نمایش واحد تبلیغی در بالای سایت شما."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["کارساز شما درست پیکربندی نشده‌است. این یعنی «پاسداری جت‌پک» قادر نخواهد بود به شکل مؤثری از وب‌گاه شما پاسداری کند."],"In \"Mobile\"":["در\"موبایل\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}} پیکربندی تنظیمات نظارتی آگاه‌سازی‌ها در WordPress.com{{/link}}"],"View your earnings":["مشاهده دریافتی شما"],"Configure site SEO":["پیکربندی سئوی وب‌گاه"],"Activate SEO tools":["فعال‌سازی ابزارهای سئو"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["برای شروع، روی افزودن پرونده چندرسانه در ویرایشگر نوشته کلیک کرده و ویدئوی بارگذاری کنید، بطور کامل مراقبیم!"],"Video Hosting":["هاست ویدئو"],"SEO Tools":["ابزار سئو"],"Advanced SEO tools to help your site get found when people search for relevant content.":["ابزار پیشرفته سئو برای کمک به سایت شما وقتی کاربران در حال جستجوی مطالب مرتبط با سایت شما هستند."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["راهی آسان برای بارگذاری ad-free و ویدئوی بدون لوگو برای سایت شما.می توانید آمار بازدید از ویدئو و اشتراک گذاری آن و پلیر سبک و واکنش گرا است."],"You are running Jetpack on a staging server.":["در حال اجرای Jetpack در مرحله سرور هستید."],"More Info":["اطلاعات بیشتر"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}رویت‌پذیری دوست‌داشتن‌ها را از «تنظیمات پودمان اشتراک‌گذاری» مدیریت کنید{{/a}}"],"Your current IP: %(ip)s":["آی‌پی کنونی شما: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["تغییرات ذخیره‌نشده‌ای در این سربرگ وجود دارند که در صورت ترک‌کردن آن از بین خواهند رفت. ادامه داده شود؟"],"This will reset all Jetpack options, are you sure?":["این کار باعث بازنشانی همهٔ گزینه‌های جت‌پک می‌شود، مطمئنید؟"],"Search for a Jetpack feature.":["جستجو برای ویژگی جت‌پک."],"Configure your Security Scans":["پویش‌های امنیتی خود را پیکربندی کنید"],"Subscriber":["مشترک"],"Big iPhone/iPad Update Now Available":["به‌روزرسانی بزرگ آی‌فون/آی‌پد هم‌اکنون در دسترس است"],"The WordPress for Android App Gets a Big Facelift":["نرم‌افزار کاربردی WordPress برای اندروید یک بازآرایی چهرهٔ اساسی دارد"],"WordPress.com Likes are:":["ویژگی‌های دوست‌داشتن‌ها در WordPress.com:"],"A few catchy words to motivate your visitors to comment.":["چند واژهٔ چسبناک تا خوانندگانتان را به گذاشتن دیدگاه ترغیب کند."],"Hide the stats smiley face image":["پنهان کردن تصویر صورتک چهره خندان"],"Whitelisted IP addresses":["نشانی‌های IP فهرست سفید"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["آگهی‌ای در مورد ابزارهای کاربردی همراه WordPress در پسایند پوستهٔ همراه نمایش داده شود"],"Copied!":["کپی شد!"],"Highlight and copy the following text to your clipboard:":["برجسته و کپی کردن متن زیر در کلیپبورد:"],"Regenerate address":["تولید مجدد آدرس"],"Cheatin' uh?":["اذیت می کنی؟"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["خوش آمدید به {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["افزونه Jetpack شما متصل شده است."],"You're fueled up and ready to go, Jetpack is now active.":["افزونه فعال است شما آماده و با انگیزه پیش بروید."],"You're fueled up and ready to go.":["شما با انگیزه و آماده رفتن هستید."],"You are currently running a development version of Jetpack.":["شما درحال اجرای نسخه درحال توسعه Jetpack هستید."],"Submit Beta feedback":["ارسال بازخورد نسخه آزمایشی"],"What would you like to see on your Jetpack Dashboard?":["دوس دارید در پیشخوان Jetpack چه ببینید؟"],"Let us know!":["به ما اطلاع دهید!"],"Saving…":["ذخیره...."],"Save Settings":["ذخیره تنظیمات"],"Jetpack Stats Icon":["آیکون آمار Jetpack "],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}"],"Activate Site Stats":["فعال شدن آمار سایت"],"Site Backups":["پشتیبان‌گیری سایت"],"Upgrade":["ارتقاء"],"ACTIVE":["فعال"],"View your spam stats":["مشاهده آمار اسپم"],"View your security dashboard":["مشاههده پیشخوان امنیتی"],"Real-Time Backups":["پشتیبان گیری آنی"],"The site is in Development Mode, so you can not connect to WordPress.com.":["The site is in Development Mode, so you can not connect to WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Link your account to WordPress.com to get the most out of Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack is actively blocking malicious login attempts. Data will display here soon!"],"Total malicious attacks blocked on your site.":["جمع حملات دفع شده به سایت شما."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["برای پاسداری از وب‌گاهتان در برابر تلاش‌های بدخواهان {{a}}پروژه را فعال کنید{{/a}}."],"All plugins are up-to-date. Awesome work!":["همه افزونه ها بروز می باشد.کارتان عالی است."],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack is monitoring your site. If we think your site is down, you will receive an email."],"Security":["امنیت"],"Performance":["عملکرد"],"Backup":["پشتیبان‌گیری"],"{{a}}View backup details{{/a}}.":["{{a}}مشاهده جزئیات پشتیبان گیری{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress."],"Unavailable in Dev Mode.":["درحالت توسعه دردسترس نیست."],"Unavailable in Dev Mode":["در حالت توسعه دردسترس نیست"],"Activating %(slug)s…":["فعال‌سازی %(slug)s…"],"%(slug)s has been activated.":["%(slug)s فعال شد."],"%(slug)s failed to activate. %(error)s":["%(slug)s فعالسازی شکست خورد. %(error)s"],"Deactivating %(slug)s…":["غیرفعال کردن %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s غیرفعال شد."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s غیرفعال کردن شکست خورد. %(error)s"],"Updating %(slug)s settings…":["بروزرسانی %(slug)s تنظیمات..."],"Updated %(slug)s settings.":["تنظیمات %(slug)s بروزرسانی شد."],"Error updating %(slug)s settings. %(error)s":["خطای بروزرسانی تنظیمات %(slug)s رخ داد. %(error)s"],"Updating %(slug)s address…":["بروزرسانی آدرس %(slug)s"],"Regenerated %(slug)s address .":["تولید مجدد آدرس %(slug)s"],"Error regenerating %(slug)s address. %(error)s":["تولید مجدد خطا %(slug)s آدرس. %(error)s"],"Resetting Jetpack options…":["تنظیم مجدد تنظیمات Jetpack "],"Options reset.":["تنظیم مجدد تنظیمات"],"Options failed to reset.":["تنظیمات بازنشانی نشد."],"There was an error disconnecting Jetpack. Error: %(error)s":["There was an error disconnecting Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["قطع ارتباط از WordPress.com"],"Unlinked from WordPress.com.":["قطع ارتباط شده از WordPress.com"],"Error unlinking from WordPress.com. %(error)s":["خطای قطع ارتباط از WordPress.com. %(error)s"],"At A Glance":["در یک نگاه"],"Dashboard":["پیشخوان"],"Automattic's Privacy Policy":["سیاست حفظ حریم خصوصی خودکار"],"WordPress.com Terms of Service":["WordPress.com شرایط سرویس"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}روشن کردن بروزرسانی خودکار افزونه‌ها{{/a}}"],"Plugin Updates":["بروزرسانی افزونه"],"No threats found, you're good to go!":["تهدیدی یافت نشد، با اطمینان خاطر ادامه دهید."],"{{a}}Contact Support{{/a}}":["{{a}}تماس پشتیبانی{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}مشاهده جزئیات در VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["اوه اوه %(number)s تهدید یافت شد."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}فعالی‌سازی نظارت{{/a}} برای دریافت رایانامه در صورتی که وب‌گاهتان از دسترس خارج شد."],"Loading…":["بارگذاری..."],"Downtime monitor":["نظارت بر زمان اَکار"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}} دیدن آمار بیشتر در WordPress.com{{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}دیدن آمار همراه با جزئیات{{/button}}"],"All-time comments":["همه دیدگاه‌ها"],"All-time views":["همه بازدیدها"],"%(number)s View":["%(number)s مشاهده"],"Best overall day":["بهترین روز کلی"],"Views today":["بازدید های امروز"],"Months":["ماه‌ها"],"Weeks":["هفته‌ها"],"Days":["روزها"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}"],"Click to view detailed stats.":["برای مشاهده جزئیات آمار سایت کلیک کنید."],"Views: %(numberOfViews)s":["مشاهده: %(numberOfViews)s"],"Week of %(date)s":["هفته از %(date)s"],"Site Security":["امنیت سایت"],"Link to WordPress.com":["اتصال به WordPress.com"],"Unlink me from WordPress.com":["قطع ارتباط من از WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["مشکلی در اتصال جت‌پک شما رخ داد. لطفاً دوباره روی «متصل‌شدن به WordPress.com» کلیک کنید."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["مشکلی در اتصال جت‌پک داشتیم: افزونهٔ جت‌پک را غیرفعال و سپس فعال کنید و آنگاه دوباره متصل شوید."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["هنگام مجازکردن Jetpack لازم است در وب‌نوشت WordPress خود ثبت ورود کرده باشید."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}جت‌پک شما مشکل کوچکی دارد.{{/s}} از بابت مشکل پیش‌آمده عذرخواهیم. لطفاً در زمانی دیگر دوباره آزمایش کنید، اگر مشکل ادامه داشت لطفاً ضمن ارسال این پیام با پشتیبانی تماس بگیرید: %(error_key)s"],"Disconnecting Jetpack":["در حال قطع اتصال جت‌پک"],"Learn more":["بیشتر بدانید"],"Posts":["نوشته‌ها"],"Front page":["صفحهٔ نخست"],"Upload videos":["بارگذاری ویدئو"],"Pinterest":["پین‌ترست"],"Google":["گوگل"],"Show related content after posts":["نمایش مطالب مرتبط بعد از نوشته‌ها"],"Related":["مرتبط"],"Disconnect":["قطع ارتباط"],"Save":["ذخیره"],"Media":["رسانه"],"Mobile Theme":["پوستهٔ تلفن همراه"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX یک زبان نشانه‌گذاری قدرتمند برای نوشتن معادله‌های ریاضی پیچیده و فرمول‌ها است."],"Site Stats":["آمار وب‌گاه"],"Sharing":["اشتراک‌گذاری"],"Testimonials":["گواهی‌نامه‌ها"],"Cancel":["لغو"],"Comments":["دیدگاه‌ها"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Your website needs to be publicly accessible to use Jetpack: %(error_key)s"],"Edit":["ویرایش"],"Connected":["متصل شده"],"Activate":["فعال کردن"],"Active":["فعال"],"Settings":["تنظیمات"],"Learn More":["بیشتر بدانید"],"Disconnect Jetpack":["جداکردن جت‌پک"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":[""],"Settings header\u0004Anti-spam":[""],"Settings header\u0004WP.me Shortlinks":[""],"Settings header\u0004Auto-update plugins":[""],"Settings header\u0004Widgets":[""],"Settings header\u0004Downtime monitoring":[""],"Settings header\u0004Privacy Settings":["تنظیمات حریم"],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":["بهینه‌سازی موتور جستجو"],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":["دکمه‌های اشتراک‌گذاری"],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":["دکمه‌های دوست‌داشتن"],"Settings header\u0004Brute force attack protection":["محافظت در برابر حمله‌های غیرهوشمندانه"],"Settings header\u0004Backups and security scanning":["پشتیبان گیری و اسکن امنیتی"],"Notice in the empty statistics chart\u0004No activity this period":[""],"Settings header, noun.\u0004WordPress.com login":[""],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":[""],"A caption for a button to cancel an action.\u0004Cancel":[""],"Link to learn more about Jetpack.\u0004About":[""],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Navigation item.\u0004Performance":[""],"Navigation item.\u0004My Plan":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":["تنظیمات"],"Navigation item.\u0004Discussion":["بحث"],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":["اشتراک گذاری"],"Navigation item.\u0004At A Glance":["در یک نگاه"],"Navigation item.\u0004Plans":["طرح‌ها"],"Navigation item.\u0004Writing":["نوشتن"],"Navigation item.\u0004Reset Options (dev only)":["بازنشاندن تنظیمات (تنها نسخهٔ توسعه‌ای)"],"Navigation item.\u0004Security":["امنیت"],"Navigation item.\u0004At a Glance":["در یک نگاه"],"Search term.\u0004terms of service":["شرایط استفاده"],"Search term.\u0004tos":["شرایط استفاده"],"Search term.\u0004gdpr":["قوانین GDPR"],"Search term.\u0004data":["داده‌ها"],"Search term.\u0004tracks":[""],"Search term.\u0004privacy":["حریم"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"A heading for a block of related posts.\u0004Related":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"A header for a preview area in the configuration screen.\u0004Preview":["پیش‌نمایش"],"Ads header\u0004Ads":["آگهی‌ها"],"Dashboard widget header\u0004Site connection":["اتصال وب‌گاه"],"Dashboard widget header\u0004Account connection":["اتصال حساب"],"A caption for a small button to fix security issues.\u0004Threats":["تهدیدها"],"A caption for a small button to fix security issues.\u0004FIX":["رفع"],"Short warning message about new threats found.\u0004Threats found!":["خطرهایی پیدا شد!"],"Short message informing user that the site is secure.\u0004Secure":["ایمن"],"Caption for a button to set up a feature.\u0004Set up":["نصب"],"verb\u0004Copy":["کپی"],"Shorthand for Privacy Policy.\u0004Privacy":["حریم خصوصی"],"Shorthand for Terms of Service.\u0004Terms":["شرایط"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["اشکال زدایی"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["نظرات اسپم مسدود شده."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-fi-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-fi-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 47f9977a..00000000
--- a/plugins/jetpack/languages/json/jetpack-fi-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"fi"},"We’re now collecting stats and securing your site. Welcome aboard.":[""],"Jetpack Business Plan":[""],"Jetpack Premium Plan":[""],"Jetpack Personal Plan":[""],"Get started with hassle-free design, stats, and performance tools.":[""],"Welcome to Jetpack Free":[""],"Jetpack Free Plan":[""],"Explore Jetpack plans":[""],"Get peace of mind of automated backups and priority support, reach a wider audience by using advanced SEO tools, monetize your site by running ads, and customize your site with any of our 200+ premium themes.":[""],"Jetpack offers so much more":[""],"Need help? Search our support site to find out about your site, your account, and how to make the most of WordPress.":[""],"Support documentation":[""],"Chat bubbles representing getting in touch with support":[""],"Site Activity":[""],"Start publicizing now":[""],"Reach a wider audience by automatically sharing your posts on social media.":[""],"Increase traffic to your site":[""],"Explore free themes":[""],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":[""],"A wide variety of themes and tools to customize a site":[""],"Set up your site security":[""],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":[""],"Site stats showing an evolution in traffic and engagement":[""],"A hand holding a loupe":[""],"A chart showing an healthy increase in earnings":[""],"Interface showing a chronological list of changes and updates in a site":[""],"A cloud with multiple types of content floating around it":[""],"A folder holding real comments":[""],"Make your site faster":[""],"Load pages faster by serving your images from our global network of servers.":[""],"A fast and performant website":[""],"A secure site, locked and protected by Jetpack":[""],"These settings won't apply to related posts added using the block editor.":[""],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":[""],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":[""],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":[""],"Add Like buttons to your posts and pages":[""],"When visitors enjoy your content, let them show it with a Like.":[""],"Create account":[""],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":[""],"Real-time, automated backups (unlimited storage)":[""],"Compose content the way you want to and streamline your publishing experience.":[""],"Add a portfolio item":[""],"Add a testimonial":[""],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":[""],"Share your content on social media and increase audience engagement.":[""],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":[""],"When a plugin update is released, the best practice is to update that plugin right away. Choose which plugins you'd like to autoupdate so that your site stays secure.":[""],"Keep your site safe with state-of-the-art security and receive notifications of technical problems.":[""],"Error enabling Site accelerator. %(error)s":[""],"Site accelerator is now speeding up your site!":[""],"Enabling Site accelerator…":[""],"Error disabling site accelerator. %(error)s":[""],"Site accelerator is no longer speeding up your site!":[""],"Disabling site accelerator…":[""],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":[""],"High-speed, high-definition video hosting with no third-party ads.":[""],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":[""],"Marketing Automation":[""],"Activate Jetpack Search":[""],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":[""],"Start earning":[""],"WordAds lets you earn money by displaying promotional content. Start earning today.":[""],"Spam is automatically blocked from your comments.":[""],"Spam Filtering":[""],"Browse premium themes":[""],"Access hundreds of beautifully designed premium themes at no extra cost.":[""],"Try a premium theme":[""],"View settings":[""],"Create a Jetpack account to view your email followers":[""],"Open your site to comments and invite subscribers to get alerts about your latest work.":[""],"Manage security settings":[""],"Built-in Performance":[""],"Jetpack is ready for the new WordPress editor":[""],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":[""],"Build your Jetpack site with blocks":[""],"A new editor? Yes! {{a}}Learn more{{/a}}.":[""],"The features you rely on, adapted for the new WordPress editor.":[""],"Take me to the new editor":[""],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":[""],"New in Jetpack!":[""],"Speed up static file load times":[""],"Speed up image load times":[""],"Enable site accelerator":[""],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"Add an extra layer of security to your website by enabling WordPress.com log in and secure authentication. If you have multiple sites with this option enabled, you will be able to log into every one of them with the same credentials.":[""],"View your site activity":[""],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":[""],"Verify with Google":[""],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":[""],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Verifying...":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Replace the built-in search with a fast, scalable, customizable, and highly-relevant search {{a}}hosted in the WordPress.com cloud{{/a}}.":[""],"Site is verified":[""],"{{p}}To create a beautiful site that looks and works exactly how you want it to, Jetpack Professional gives you unlimited access to over 200 premium WordPress themes.{{/p}}{{p}}Jetpack Professional is about more than just finding the perfect design. It's also about total peace of mind knowing that you'll have priority support from our global team of experts should the need arise.{{/p}}":[""],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Jetpack automatically generates a custom {{link}}ads.txt{{/link}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line.":[""],"Custom ads.txt entries":[""],"{{p}}To create a beautiful site that looks and works exactly how you want it to, Jetpack Professional gives you unlimited access to over 200 premium WordPress themes.{{/p}}{{p}}Jetpack Professional is about more than just finding the perfect design. It's also about total peace of mind: real-time backups, automatic malware scanning, and priority support from our global team of experts guarantee that your site will always be safe and secure.{{/p}}":[""],"Introducing Premium Themes":[""]," Premium Themes":[""],"Privacy information":[""],"Enable Lazy Loading for images":[""],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":[""],"Performance & speed":[""],"Enable high-speed, ad-free video player":[""],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":[""],"Video":[""],"Carousel color scheme":[""],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":[""],"Show photo Exif metadata in carousel (when available)":[""],"Display images in a full-screen carousel gallery":[""],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar and streamlines your WordPress experience. It offers one-click access to manage all your sites, update your WordPress.com profile, view notifications, and catch up on the sites you follow in the Reader.":[""],"Portfolios shortcode: [portfolio]":[""],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":[""],"Testimonials shortcode: [testimonials]":[""],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":[""],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":[""],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":[""],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":[""],"Configure related posts in the Customizer":[""],"Highlight related content with a heading":[""],"View security scan details":[""],"Show a thumbnail image where available":[""],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":[""],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":[""],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":[""],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":[""],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator.":[""],"%(moduleName)s has been disabled by a site administrator.":[""],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":[""],"Configure your notification settings":[""],"Monitor your site's downtime":[""],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":[""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":[""],"Plugin needs updating.":["","Plugins need updating."],"%(number)s":["","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":[""],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":[""],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":[""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":[""],"Akismet checks your comments and contact form submissions against our global database of spam.":[""],"Privacy Information":[""],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":[""],"Loads the next posts automatically when the reader approaches the bottom of the page.":[""],"Allows you to publish new posts by sending an email to a special address.":[""],"Allows you to compose content with links, lists, and other styles using the Markdown syntax.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":[""],"Displays information on your site activity, including visitors and popular posts or pages.":[""],"Allows you to optimize your site and its content for better results in search engines.":[""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":[""],"Displays high-quality ads on your site that allow you to earn income.":[""],"Adds sharing buttons to your content so that visitors can share it on social media sites.":[""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":[""],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":[""],"Allows registered users to log in to your site with their WordPress.com accounts.":[""],"Protects your site from traditional and distributed brute force login attacks.":[""],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":[""],"Removes spam from comments and contact forms.":[""],"We are committed to your privacy and security. ":[""],"View all Jetpack plans":[""],"Manage your plan":[""],"Your Plan":[""],"You’re currently on Jetpack %(plan)s.":[""],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":[""],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":[""],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":[""],"Add Search (Jetpack) Widget":[""],"Jetpack Search is powering search on your site.":[""],"Manage your plugins":[""],"Moderate comments":[""],"Error updating privacy settings. %(error)s":[""],"Updated privacy settings.":[""],"Updating privacy settings…":[""],"Add Jetpack Search Widget":[""],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":[""],"Daily backups, spam filtering, and priority support.":[""],"Always-on Security":[""],"Activate video hosting":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"Design the perfect website":[""],"Set up Jetpack":[""],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":[""],"Jetpack Search":[""],"Jetpack version %(version)s":[""],"Your site is being backed up in real time and regularly scanned for security threats.":[""],"Daily backup of all your site data with unlimited space and one-click restores":[""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Rajaton tila koko sivustosi tietojen päivittäiseen varmuuskopiointiin, tietojen palautus yhdellä napsautuksella, automaattinen tietoturvatarkistus sekä laajennettu tuki"],"View your security activity":[""]," (powered by VaultPress).":[""],"Customize Search Widget":[""],"Please correct the issue below and try again.":["","Please correct the issues listed below and try again."],"We are making sure your site stays free of security threats. You will be notified if we find one.":[""],"Jetpack version":[""],"Activity":[""],"{{a}}View details{{/a}}":[""],"Monetize your site with ads":[""],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":[""],"Jetpack Stats People":[""],"Hello there! Your stats have been activated.":[""],"Just give us a little time to collect data so we can display it for you here.":[""],"Okay, got it!":[""],"Display ads below posts on":[""],"Additional ad placements":[""],"Top of each page":[""],"Second ad below post":[""],"Archives":[""],"Explore Professional":[""],"Compare All Plans":[""],"Person with laptop":[""],"Your Jetpack site is ready to go!":[""],"Stars":[""],"Jupiter":[""],"Welcome to Jetpack Personal":[""],"Welcome to Jetpack Premium":[""],"Welcome to Jetpack Professional":[""],"Schedule posts":[""],"Activate Publicize":[""],"Your site is backed up.":[""],"Image Performance":[""],"Get WordPress Apps for every device":[""],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":[""],"I already use this app.":[""],"Create address":[""],"Priority support":[""],"Add sharing buttons to your posts":[""],"Automatically share your posts to social networks":[""],"Updating settings…":[""],"Updating Post by Email address…":[""],"Your paid plan gives you access to prioritized Jetpack support.":[""],"You have paid for backups but they're not yet active.":[""],"You have paid for backups and security scanning but they’re not yet active.":[""],"Click \"Set Up\" to finish installation.":[""],"Checking site status…":[""],"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Integrate easily with Google Analytics.":[""],"Help your content get found and shared with SEO tools.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"Spam filtering":[""],"Daily, automated malware scanning":[""],"Daily, automated backups (unlimited storage)":[""],"Daily, automated malware scanning with automated resolution":[""],"Unlimited, high-speed video hosting":[""],"SEO preview tools":[""],"Site stats, related content, and sharing tools":[""],"Brute force attack protection and downtime monitoring":[""],"Unlimited, high-speed image hosting":[""],"By disconnecting %(siteName)s from WordPress.com you will no longer have access to the following:":[""],"Read more about Jetpack benefits":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Use excerpts instead of full posts on front page and archive pages":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"Collecting valuable traffic stats and insights":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"You can tweak these settings if you'd like more advanced control. Read more about what you can do to {{a}}optimize your site's SEO{{/a}}.":[""],"Configure your SEO settings":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Download the free apps":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"Configure site SEO":[""],"Activate SEO tools":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":["Hakukoneoptimointityökalut"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Edistykselliset hakukoneoptimointityökalut auttavat löytämään sivuston kun käyttäjät etsivät relevanttia sisältöä."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Helpoin tapa ladata mainoksista vapaat ja brandittömät videot sivustolle. Saat tilastot videoiden katselusta ja jakamisesta ja videosoitin kuormittaa vähän ja on sulava käyttää."],"You are running Jetpack on a staging server.":["Käytät Jetpack lisäosaa näytöspalvelimella."],"More Info":["Lisää tietoa"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Hallinnoi Tykkäysten näkyvyyttä Jakomoduulin Asetukset -kohdasta{{/a}}"],"Your current IP: %(ip)s":["Nykyinen IP-osoite: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Välilehdellä on tallentamattomia asetuksia, jotka menetetään mikäli siirryt pois. Jatkatko?"],"This will reset all Jetpack options, are you sure?":["Tämä palauttaa Jetpackin alkuperäiset asetukset, oletko varma?"],"Search for a Jetpack feature.":["Etsi Jetpack-ominaisuutta."],"Configure your Security Scans":["Määritä turvallisuusskannaukset."],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Comments headline":[""],"A few catchy words to motivate your readers to comment.":[""],"Show a \"follow blog\" option in the comment form":[""],"Show a \"follow comments\" option in the comment form":[""],"Put a chart showing 48 hours of views in the admin bar":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":["Kopioitu!"],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":["Tallennetaan..."],"Save Settings":["Tallenna asetukset"],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Security Scanning":[""],"Site Backups":[""],"Upgrade":["Päivitä parempaan"],"ACTIVE":["KÄYTÖSSÄ"],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Saat käyttöön automaattisen ja kokonaisvaltaisen tietoturvauhkien skannauksen kun {{a}}asennat ja otat käyttöön{{/a}} VaultPress laajennuksen."],"For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.":["Saat käyttöön automaattisen ja kokonaisvaltaisen tietoturvauhkien skannauksen kun {{a}}päivität tilisi paremmaksi{{/a}}."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack suojaa koko ajan haitallisilta sisäänkirjautumisyrityksiltä. Tiedot tapahtumista ovat pian nähtävillä!"],"Total malicious attacks blocked on your site.":["Sivustolla torjuttujen haitallisten hyökkäysten lukumäärä."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Ota suojaus käyttöön{{/a}} hun haluat suojata sivuston haitallisilta sisäänkirjautumisyrityksiltä."],"All plugins are up-to-date. Awesome work!":["Kaikki lisäosat ovat ajantasalla. Hienoa työtä!"],"Jetpack is improving and optimizing your image speed.":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":["Tietoturva"],"Performance":["Suorituskyky"],"Backups":["Varmuuskopiot"],"{{a}}View backup details{{/a}}.":["{{a}}Katso varmuuskopion tiedot{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["{{a}}Asenna sekä ota käyttöön{{/a}} VaultPress laajennus kun haluat automaattisesti varmuuskopioida koko sivuston."],"Unavailable in Dev Mode.":[""],"Spam Protection":[""],"For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.":[""],"For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.":[""],"Invalid key":["Avain ei kelpaa"],"Unavailable in Dev Mode":[""],"Activating recommended features…":[""],"Recommended features active.":[""],"Recommended features failed to activate. %(error)s":[""],"Activating %(slug)s…":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"Deactivating %(slug)s…":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":["Hallintapaneeli"],"Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"{{a}}Activate{{/a}} to enhance the performance and speed of your images.":[""],"{{a}}Turn on plugin autoupdates{{/a}}":[""],"Plugin Updates":["Lisäosien Päivitykset"],"To automatically back up your entire site, please {{a}}upgrade your account{{/a}}.":[" {{a}}Päivitä tilisi paremmaksi{{/a}} kun haluat automaattisesti varmuuskopioida koko sivuston."],"Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.":[""],"No threats found, you're good to go!":["Uhkia ei löytynyt, kaikki on kunnossa!"],"{{a}}Contact Support{{/a}}":["{{a}}Ota yhteys tukeen{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Katso tiedot VaultPress.com -sivustolla{{/a}}"],"Uh oh, %(number)s threat found.":["Voi ei, %(number)s uhka löytyi.","Voi ei, %(number)s uhkaa löytyi."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":[""],"Loading…":[""],"Downtime monitoring":[""],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Tutustu lisää tilastoihin WordPress.com'issa {{/button}}"],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":["Sivuston Tietoturva"],"Activate recommended features":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Yhteyden luonti Jetpackiin ei onnistunut. Napsauta \"Yhdistä WordPress.com\" uudelleen."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Yhteyden luonti Jetpackiin ei onnistunut. Poista Jetpack-lisäosa käytöstä ja sen jälkeen ota se käyttöön - yhdistä sen jälkeen uudelleen."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Kun valtuutat Jetpack-lisäosaa, on oltava kirjautuneena sivustolle."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Jetpackissa on pikkuvika.{{/s}} Pahoittelemme aiheutunutta haittaa. Yritä myöhemmin uudelleen, ole hyvä. Jos vika jatkuu ota yhteyttä tukeen ja liitä siihen tämä viesti: % (error_key)s"],"Disconnecting Jetpack":["Yhteys Jetpackiin poistetaan"],"Learn more":["Lue lisää"],"Posts":["Artikkelit"],"Front page":["Etusivu"],"Upload videos":[""],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Näytä aiheeseen liittyvä sisältö artikkelien lopussa"],"Related":["Aiheeseen liittyy"],"Save":["Tallenna"],"Email Address":["Sähköpostiosoite"],"Media":["Media"],"Site Stats":["Sivuston tilastot"],"Sharing":["Jakaminen"],"Testimonials":["Käyttäjäkokemus"],"Cancel":["Peruuta"],"Comments":["Kommentit"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack ei saanut yhteyttä WordPress.com: %(error_key)s. Yleensä tämä tarkoittaa, että palvelimellasi on jotain määritetty väärin."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com palvelussa on nyt ongelmia ja se ei voi tankata Jetpack lisäosaasi. Yritä myöhemmin uudelleen, ole hyvä."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Jetpackissa on pikkuvika.{{/s}} Tämän sivuston liittäminen WordPress.com palveluun ei ole mahdollista. Yleensä tämä tarkoittaa, että sivusto ei ole julkisesti saavutettavissa (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Sivuston on oltava julkisesti saavutettavissa jotta voit käyttää Jetpack: %(error_key)s"],"You have successfully disconnected Jetpack":["Yhteys Jetpackiin katkaistiin."],"Edit":["Muokkaa"],"Connected":["Yhdistetty"],"Activate":["Ota käyttöön"],"Active":["Käytössä"],"Search":["Etsi"],"Settings":["Asetukset"],"Learn More":["Lue lisää"],"Disconnect Jetpack":["Katkaise Jetpack liitos"],"Test your site’s compatibility with Jetpack.":["Testaa sivustosi Jetpack yhteensopivuus."],"Settings header\u0004Downtime monitoring":[""],"Settings header\u0004Privacy Settings":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004WordPress.com log in":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"Settings header\u0004Spam filtering":[""],"Navigation item.\u0004Performance":[""],"Navigation item.\u0004My Plan":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Search term.\u0004terms of service":[""],"Search term.\u0004tos":[""],"Search term.\u0004gdpr":[""],"Search term.\u0004data":[""],"Search term.\u0004tracks":[""],"Search term.\u0004privacy":[""],"Caption for a button to purchase a pro plan.\u0004Upgrade":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"A heading for a block of related posts.\u0004Related":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"A caption for a button to cancel disconnection.\u0004Stay connected":[""],"A caption for a button to disconnect.\u0004Disconnect":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short warning message about site having no security scan.\u0004No scanning":[""],"Caption for a button to purchase a paid feature.\u0004Upgrade":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Short warning message about an invalid key being used for Akismet.\u0004Invalid key":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":["Kopioi"],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-fr_BE-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-fr_BE-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index b0b3b9dd..00000000
--- a/plugins/jetpack/languages/json/jetpack-fr_BE-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"":{"po-revision-date":"2016-11-06 15:22:13+0000","mime-version":"1.0","content-type":"text/plain; charset=UTF-8","content-transfer-encoding":"8bit","plural-forms":"nplurals=2; plural=n != 1;","x-generator":"GlotPress/2.4.0-alpha","language":"fr_BE","project-id-version":"Plugins - Jetpack by WordPress.com - Development (trunk)"},"We're here to help":[null,""],"Jetpack comes with free, basic support for all users.":[null,""],"Ask a question":[null,""],"Search our support site":[null,""],"Get a faster resolution to your support questions.":[null,""],"Host fast, high-quality, ad-free video.":[null,""],"Generate income with high-quality ads.":[null,""],"Real-time site backups and automatic threat resolution.":[null,""],"Protect against data loss, malware, and malicious attacks.":[null,""],"Integrate easily with Google Analytics.":[null,""],"Help your content get found and shared with SEO tools.":[null,""],"Protect your site from spam.":[null,""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[null,""],"Spam filtering":[null,""],"Daily, automated malware scanning":[null,""],"13Gb of high-speed video hosting":[null,""],"Daily, automated backups (unlimited storage)":[null,""],"Daily, automated malware scanning with automated resolution":[null,""],"Priority WordPress and security support":[null,""],"Unlimited high-speed video hosting":[null,""],"SEO preview tools":[null,""],"Site stats, related content, and sharing tools":[null,""],"Brute force attack protection and uptime monitoring":[null,""],"Unlimited, high-speed image hosting":[null,""],"By disconnecting %(siteName)s from WordPress.com you will no longer have access to the following:":[null,""],"Read more about Jetpack benefits":[null,""],"An Automattic Airline":[null,""],"Manage site connection":[null,""],"Connect your account to WordPress.com to view more stats":[null,""],"Theme enhancements":[null,""],"Load more posts using the default theme behavior":[null,""],"Load more posts in page with a button":[null,""],"Load more posts as the reader scrolls down":[null,""],"Theme support required.":[null,""],"Learn more about adding support for Infinite Scroll to your theme.":[null,""],"Use excerpts instead of full posts on front page and archive pages":[null,""],"Show featured images":[null,""],"Must be enabled to use tiled galleries.":[null,""],"Enable the WordPress.com toolbar":[null,""],"The WordPress.com toolbar replaces the default admin bar and offers quick links to the Reader, all your sites, your WordPress.com profile, and notifications. Centralize your WordPress experience with a single global toolbar.":[null,""],"Writing tools available to you will be shown here when an administrator enables them.":[null,""],"Portfolios":[null,""],"Add, organize, and display {{portfolioLink}}portfolios{{/portfolioLink}}. If your theme doesn’t support portfolios yet, you can display them using the shortcode ( [portfolios] )":[null,""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[null,""],"Bing":[null,""],"Yandex":[null,""],"Generate XML sitemaps":[null,""],"Your sitemap is automatically sent to all major search engines for indexing.":[null,""],"Your site is not currently accessible to search engines. You might have \"Search Engine Visibility\" disabled in your {{a}}Reading Settings{{/a}}.":[null,""],"Collecting valuable traffic stats and insights":[null,""],"The image helps collect stats, but should work when hidden.":[null,""],"Count logged in page views from":[null,""],"Allow stats reports to be viewed by":[null,""],"You can tweak these settings if you'd like more advanced control. Read more about what you can do to {{a}}optimize your site's SEO{{/a}}.":[null,""],"Configure your SEO settings":[null,""],"In \"Upgrade\"":[null,""],"Configure your Google Analytics settings":[null,""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[null,""],"Enable ads and display an ad below each post":[null,""],"Display an additional ad at the top of each page":[null,""],"Configure your sharing buttons":[null,""],"Sharing buttons can be added to your posts so that your users can share your content to their social networks and show their support.":[null,""],"Connect your social media accounts":[null,""],"Connect your user account to WordPress.com to use this feature":[null,""],"Publicize lets you connect your site to various social networking services. Once connected to a service, you can share your posts with that service automatically.":[null,""],"Allow readers to show their appreciation of your posts by adding a like button to your content":[null,""],"Match accounts using email addresses":[null,""],"Require accounts to use WordPress.com Two-Step Authentication":[null,""],"Add to whitelist":[null,""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[null,""],"Your site is backed up and threat-free.":[null,""],"Checking your spam protection…":[null,""],"Fetching key…":[null,""],"Your site needs an Antispam key.":[null,""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[null,""],"Your site is not protected from spam.":[null,""],"Your Antispam key is valid.":[null,""],"Your site is protected from spam.":[null,""],"Checking key…":[null,""],"Your API key":[null,""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[null,""],"No search results found for %(term)s":[null,""],"Enter a search term to find settings or close search.":[null,""],"Connections":[null,""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[null,""],"Your site is connected to WordPress.com.":[null,""],"You are the Jetpack owner.":[null,""],"Connected as {{span}}%(username)s{{/span}}":[null,""],"View your Email Followers":[null,""],"Connect your user account to WordPress.com to view your email followers":[null,""],"Color scheme":[null,""],"Enable Markdown use for comments.":[null,""],"router There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"Updated settings.":[null,""],"Error updating settings. %(error)s":[null,""],"Regenerated Post by Email address.":[null,""],"Error regenerating Post by Email address. %(error)s":[null,""],"Updated settings. Refreshing page…":[null,""],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because:":[null,""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[null,""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[null,""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[null,""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[null,""],"Configure Google Analytics settings.":[null,""],"Image of WordPress login screen protected by Jetpack":[null,""],"Google Analytics":[null,""],"Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.":[null,""],"Configure Google Analytics":[null,""],"Activate Google Analytics":[null,""],"Download the Free Apps":[null,""],"Upgrade Focus: VideoPress For Weddings":[null,""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[null,""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[null,""],"Display an ad unit at the top of your site.":[null,""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[null,""],"Image of managing your sites themes on your WordPress.com dashboard":[null,""],"Image of managing your sites plugins on your WordPress.com dashboard":[null,""],"Image of the new post editor on your WordPress.com dashboard":[null,""],"Image of your sites stats on your WordPress.com dashboard":[null,""],"Image of your WordPress.com reader":[null,""],"Example of three devices to use the WordPress apps. An iPhone, Android phone, and a apple laptop computer.":[null,""],"Download the free WordPress app for your iPhone":[null,""],"Download the free WordPress app for your Android based phone":[null,""],"Download the free WordPress app for your apple computer":[null,""],"Download the free WordPress app for your PC ":[null,""],"Download the free WordPress app for your Linux machine":[null,""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[null,""],"Upgrade to a paid plan to unlock world-class security, spam protection tools, priority support, SEO and monetization tools.":[null,""],"Ads":[null,""],"Earn income by allowing Jetpack to display high quality ads (powered by WordAds).":[null,""],"Activate Ads":[null,""],"Income generation from ads":[null,""],"Premium traffic and monetization tools":[null,""],"The Jetpack Premium plan now offers you the ability to generate income from your site by showing high-quality paid ads to your visitors. Professional plan customers also benefit from SEO tools to help optimize search engine traffic.":[null,""],"We support all Jetpack users, regardless of plan. But customers on a paid subscription enjoy priority support so that security issues are identified and fixed for you as soon as possible. ":[null,""],"In \"Mobile\"":[null,""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[null,""],"View your earnings":[null,""],"Activate VideoPress":[null,""],"Upload Videos Now":[null,""],"Make sure your site is easily found on search engines with SEO tools for your content and social posts.":[null,""],"Activate this module to use the advanced SEO tools.":[null,""],"How much is your website worth?":[null,""],"For less than the price of a coffee a month you can rest easy knowing your hard work (or livelihood) is backed up.":[null,""],"Configure Site SEO":[null,""],"Activate SEO Tools":[null,""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[null,""],"Introducing our most affordable backups and security plan yet":[null,""],"The Personal Plan keeps your data, site, and hard work safe.":[null,""],"Your site is on the Jetpack Personal plan":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), and unlimited storage.":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), unlimited backup storage, security scanning, 13Gb of ad-free video hosting, income generation from ads, and priority support.":[null,""],"You get spam-protection, real-time backups (unlimited archive), unlimited backup storage, security scanning, unlimited ad-free video hosting, income generation from ads, SEO tools, and priority support.":[null,""],"Daily backup of all your site data with unlimited space and one-click restores (powered by VaultPress).":[null,""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support (powered by VaultPress).":[null,""],"Backups & Security Scanning":[null,""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, one-click threat resolution, and priority support (powered by VaultPress).":[null,""],"13Gb of fast, optimized, and ad-free video hosting for your site (powered by VideoPress).":[null,""],"Video Hosting":[null,""],"Fast, optimized, ad-free, and unlimited video hosting for your site (powered by VideoPress).":[null,""],"SEO Tools":[null,""],"Advanced SEO tools to help your site get found when people search for relevant content.":[null,""],"Daily and on-demand security scanning":[null,""],"Real-time backups and one-click threat resolution":[null,""],"Unlimited and ad-free video hosting":[null,""],"Need more? Running a business site?":[null,""],"If your site is important to you, consider protecting and improving it with some of our advanced features: ":[null,""],"On-demand security scanning":[null,""],"Advanced SEO tools":[null,""],"Configure your SEO settings.":[null,""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[null,""],"You are running Jetpack on a staging server.":[null,""],"More Info":[null,""],"Search your content.":[null,""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[null,""],"Your current IP: %(ip)s":[null,""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"This will reset all Jetpack options, are you sure?":[null,""],"Search for a Jetpack feature.":[null,""],"Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.":[null,""],"You can see the information about security scanning in the \"At a Glance\" section.":[null,""],"Configure your Security Scans":[null,""],"This module has no configuration options":[null,""],"Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch.":[null,""],"Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.":[null,""],"{{link}}Configure your %(module_slug)s Settings {{/link}}":[null,""],"Subscriber":[null,""],"Big iPhone/iPad Update Now Available":[null,""],"The WordPress for Android App Gets a Big Facelift":[null,""],"WordPress.com Likes are:":[null,""],"Comments headline":[null,""],"A few catchy words to motivate your readers to comment.":[null,""],"Show a \"follow blog\" option in the comment form":[null,""],"Show a \"follow comments\" option in the comment form":[null,""],"Put a chart showing 48 hours of views in the admin bar":[null,""],"Hide the stats smiley face image":[null,""],"Whitelisted IP addresses":[null,""],"Show photo metadata (Exif) in carousel, when available":[null,""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[null,""],"Copied!":[null,""],"Highlight and copy the following text to your clipboard:":[null,""],"Regenerate address":[null,""],"Automatically proofread content when: ":[null,""],"A post or page is first published":[null,""],"A post or page is updated":[null,""],"Automatic Language Detection":[null,""],"The proofreader supports English, French, German, Portuguese and Spanish.":[null,""],"Enable proofreading for the following grammar and style rules: ":[null,""],"Add a phrase":[null,""],"Cheatin' uh?":[null,""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[null,""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[null,""],"Your Jetpack is already connected.":[null,""],"You're fueled up and ready to go, Jetpack is now active.":[null,""],"You're fueled up and ready to go.":[null,""],"You are currently running a development version of Jetpack.":[null,""],"Submit Beta feedback":[null,""],"You, %(userName)s, are not connected to WordPress.com.":[null,""],"What would you like to see on your Jetpack Dashboard?":[null,""],"Let us know!":[null,""],"Welcome to Jetpack":[null,""],"Please connect to or create a WordPress.com account to start using Jetpack. This will enable powerful security, traffic, and customization services.":[null,""],"No account? Create one for free…":[null,""],"Saving…":[null,""],"Save Settings":[null,""],"Jetpack Stats Icon":[null,""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[null,""],"Activate Site Stats":[null,""],"Security Scanning":[null,""],"Upgrade":[null,""],"ACTIVE":[null,""],"Hackers, botnets and spammers attack websites indiscriminately. Their goal is to attack everywhere and often. Our goal is to help you prepare by blocking these threats, and in worst-case-scenarios we'll be here to help you restore your site to its former glory.":[null,""],"Your site is on the Free Jetpack Plan":[null,""],"Your site is on the Jetpack Premium plan":[null,""],"Your site is on the Jetpack Professional plan":[null,""],"Your site is on Development Mode":[null,""],"Once you connect, you can upgrade to a paid plan in order to unlock world-class security, spam protection tools, and priority support.":[null,""],"State-of-the-art spam defense powered by Akismet.":[null,""],"View your spam stats":[null,""],"Configure Akismet":[null,""],"View your security dashboard":[null,""],"Configure VaultPress":[null,""],"Real-time backups":[null,""],"One-click threat resolution":[null,""],"Compare Plans":[null,""],"Maximum grade security":[null,""],"Real-time backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense, and brute-force login protection - all in one place and optimized for WordPress.":[null,""],"Bulletproof spam filtering protects your brand, your readers, and improves SEO. Malware scanning helps maintain peace of mind and keeps your backend safe from intruders.":[null,""],"Enjoy priority support":[null,""],"The site is in Development Mode, so you can not connect to WordPress.com.":[null,""],"Link your account to WordPress.com to get the most out of Jetpack.":[null,""],"Powerful WordPress.com features on every device.":[null,""],"Manage all your sites from a single dashboard.":[null,""],"Feel the performance":[null,""],"All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around.":[null,""],"Bulk and automatic updates":[null,""],"Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.":[null,""],"Focus on your Writing":[null,""],"Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.":[null,""],"Try the New Editor":[null,""],"Connect with your Visitors":[null,""],"Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.":[null,""],"View Your Stats":[null,""],"Connect with the Community":[null,""],"The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.":[null,""],"Launch Reader":[null,""],"Inspiration strikes any time, anywhere.":[null,""],"Get WordPress apps for any screen.":[null,""],"In Your Pocket":[null,""],"Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.":[null,""],"WordPress.com in the App Store":[null,""],"WordPress.com in Google Play":[null,""],"On Your Desktop":[null,""],"A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.":[null,""],"WordPress.com for Mac OS X":[null,""],"WordPress.com for Windows":[null,""],"WordPress.com for Linux":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.":[null,""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[null,""],"Total malicious attacks blocked on your site.":[null,""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[null,""],"All plugins are up-to-date. Awesome work!":[null,""],"{{a}}Activate Manage{{/a}} to turn on auto updates and manage your plugins from WordPress.com.":[null,""],"Jetpack is improving and optimizing your image speed.":[null,""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[null,""],"Security":[null,""],"Performance":[null,""],"Backups":[null,""],"{{a}}View backup details{{/a}}.":[null,""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"Unavailable in Dev Mode.":[null,""],"Spam Protection":[null,""],"For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.":[null,""],"For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.":[null,""],"Invalid key":[null,""],"Unavailable in Dev Mode":[null,""],"Activating recommended features…":[null,""],"Recommended features active.":[null,""],"Recommended features failed to activate. %(error)s":[null,""],"%(slug)s has been activated.":[null,""],"%(slug)s failed to activate. %(error)s":[null,""],"%(slug)s has been deactivated.":[null,""],"%(slug)s failed to deactivate. %(error)s":[null,""],"Updating %(slug)s settings…":[null,""],"Updated %(slug)s settings.":[null,""],"Error updating %(slug)s settings. %(error)s":[null,""],"Updating %(slug)s address…":[null,""],"Regenerated %(slug)s address .":[null,""],"Error regenerating %(slug)s address. %(error)s":[null,""],"Resetting Jetpack options…":[null,""],"Options reset.":[null,""],"Options failed to reset.":[null,""],"There was an error disconnecting Jetpack. Error: %(error)s":[null,""],"Unlinking from WordPress.com":[null,""],"Unlinked from WordPress.com.":[null,""],"Error unlinking from WordPress.com. %(error)s":[null,""],"At A Glance":[null,""],"Clichés":[null,""],"Dashboard":[null,""],"Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.":[null,""],"Automattic's Privacy Policy":[null,""],"WordPress.com Terms of Service":[null,""],"{{a}}Activate Site Verification{{/a}} to verify your site and increase ranking with Google, Bing, and Pinterest.":[null,""],"Site Verification Tools are active. Ensure your site is verified with Google, Bing, and Pinterest for more accurate indexing and ranking. {{a}}Verify now{{/a}}":[null,""],"Site Verification Tools":[null,""],"{{a}}Activate Photon{{/a}} to enhance the performance and speed of your images.":[null,""],"Image Performance %(photon)s":[null,""],"{{a}}Activate Manage and turn on auto updates{{/a}}":[null,""],"{{a}}Turn on plugin auto updates{{/a}}":[null,""],"Plugin Updates":[null,""],"To automatically back up your entire site, please {{a}}upgrade your account.{{/a}}.":[null,""],"Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.":[null,""],"No threats found, you're good to go!":[null,""],"{{a}}Contact Support{{/a}}":[null,""],"{{a}}View details at VaultPress.com{{/a}}":[null,""],"{{a}}Activate Monitor{{/a}} to receive notifications if your site goes down.":[null,""],"Loading…":[null,""],"Downtime Monitoring":[null,""],"{{button}}View more stats on WordPress.com {{/button}}":[null,""],"{{button}}View detailed stats{{/button}}":[null,""],"All-time comments":[null,""],"All-time views":[null,""],"Best overall day":[null,""],"Views today":[null,""],"Months":[null,""],"Weeks":[null,""],"Days":[null,""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[null,""],"Click to view detailed stats.":[null,""],"Views: %(numberOfViews)s":[null,""],"Week of %(date)s":[null,""],"Manage security on WordPress.com":[null,""],"Skip this step":[null,""],"Skip the Jetpack Jumpstart process":[null,""],"Features can be activated or deactivated at any time.":[null,""],"Jetpack's recommended features include:":[null,""],"Activate Recommended Features":[null,""],"Quickly enhance your site by activating Jetpack's recommended features.":[null,""],"Jump Start your Site":[null,"Faites décoller votre site"],"Link to WordPress.com":[null,""],"Unlink me from WordPress.com":[null,""],"Join the millions of users who rely on Jetpack to enhance and secure their sites. We're passionate about WordPress and here to make your life easier.":[null,""],"Jetpack is supported by some of the most technical and passionate people in the community. They're located around the globe and ready to help you.":[null,""],"Did we mention free, professional support?":[null,""],"Jetpack utilizes the state-of-the-art WordPress.com content delivery network to load your gorgeous imagery super fast. Optimized for any device, and its completely free.":[null,""],"Lightning fast, optimized images":[null,""],"Never fall behind on a security release or waste time updating multiple sites.":[null,""],"Automatic site updates.":[null,""],"Live site monitoring.":[null,""],"Gain peace of mind with Protect, the tool that has blocked billions of login attacks across millions of sites.":[null,""],"Block site attacks.":[null,""],"Jetpack blocks malicious log in attempts, lets you know if your site goes down, and can automatically update your plugins, so you don’t have to worry.":[null,""],"Site security and peace of mind":[null,""],"Jetpack harnesses the power of WordPress.com to show you detailed insights about your visitors, what they’re reading, and where they’re coming from.":[null,""],"Keep visitors engaged by giving them more to share and read with Related Posts.":[null,""],"Increase page views.":[null,""],"Give visitors the tools to share and subscribe to your content.":[null,""],"Build a community.":[null,""],"Sharing & Like Buttons":[null,""],"Automated social marketing.":[null,""],"Jetpack has many traffic and engagement tools to help you get more viewers to your site and keep them there.":[null,""],"Manage Plugins":[null,""],"Stress less. Monitor will send you real-time alerts if your site ever goes down.":[null,""],"Track your growth":[null,""],"Use Publicize to automatically share your posts with friends, followers, and the world.":[null,""],"Drive more traffic to your site":[null,""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[null,""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[null,""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[null,""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[null,""],"Disconnecting Jetpack":[null,"Déconnexion de Jetpack"],"Learn more":[null,"Plus d&rsquo;info."],"Pinterest":[null,"Pinterest"],"Google":[null,"Google"],"Show related content after posts":[null,"Afficher une liste d&rsquo;articles similaires au bas de chaque article"],"Use a large and visually striking layout":[null,"Utilisez une mise en forme large et visuellement attrayante"],"Show a \"Related\" header to more clearly separate the related section from posts":[null,"Afficher un en-tête \"Sur le même thème\" pour séparer plus clairement cette section du reste des articles"],"Related":[null,"Sur le même thème"],"Email Address":[null,"Adresse e-mail"],"Media":[null,"Média"],"Site Stats":[null,"Stats du Site"],"Testimonials":[null,"T&eacute;moignages"],"Comments":[null,"Commentaires"],"Ignored Phrases":[null,"Phrases ignorées"],"Use automatically detected language to proofread posts and pages":[null,"Utiliser la détection automatique de la langue pour corriger le contenu."],"Redundant Phrases":[null,"Phrases redondantes"],"Phrases to Avoid":[null,"Phrases à éviter"],"Passive Voice":[null,"Voix passive"],"Jargon":[null,"Jargon"],"Hidden Verbs":[null,"Verbes cachés"],"Double Negatives":[null,"Doubles négations"],"Diacritical Marks":[null,"Signes diacritiques"],"Complex Phrases":[null,"Phrases complexes"],"Bias Language":[null,"Langage Figuré"],"English Options":[null,"Options pour l'anglais"],"Proofreading":[null,"Autocorrection"],"Connect Jetpack":[null,"Connecter Jetpack"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[null,""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[null,"WordPress.com a actuellement des soucis et ne peut pas alimenter votre Jetpack. Veuillez essayer utlérieurement."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[null,""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[null,""],"You have successfully disconnected Jetpack":[null,""],"Active":[null,"Actif"],"Settings":[null,"Réglages"],"Learn More":[null,"Plus d&rsquo;info."],"Disconnect Jetpack":[null,"Déconnecter Jetpack"],"Test your site’s compatibility with Jetpack.":[null,""]} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-fr_CA-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-fr_CA-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 92d7e45b..00000000
--- a/plugins/jetpack/languages/json/jetpack-fr_CA-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"fr_CA"},"Yearly":["Annuel"],"Monthly":[""],"About Jetpack":[""],"Enable widget visibility controls to display widgets only on particular posts or pages":[""],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":[""],"Make extra widgets available for use on your site including subscription forms and Twitter streams":[""],"Enhance CSS customization panel":[""],"Writing":[""],"Compose using shortcodes to embed media from popular sites":[""],"Traffic":[""],"You need to enter your server credentials to finish configuring Backups and Scan.":[""],"Awaiting credentials":[""],"Backups and Scan are being configured for your site.":[""],"Provisioning":[""],"Action needed":[""],"Setting up":[""],"Discussion":[""],"We are configuring your site protection.":[""],"View your site's backups":[""],"We are backing up your site in real-time.":[""],"Enter credentials":[""],"You need to enter your server's credentials to finish the setup.":[""],"We are configuring your site's backups.":[""],"View site activity":[""],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":[""],"Support documentation":[""],"Chat bubbles representing getting in touch with support":[""],"Reach a wider audience by automatically sharing your posts on social media.":[""],"Increase traffic to your site":[""],"Explore free themes":[""],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":[""],"A wide variety of themes and tools to customize a site":[""],"Set up your site security":[""],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":[""],"Site stats showing an evolution in traffic and engagement":[""],"A hand holding a loupe":[""],"A chart showing an healthy increase in earnings":[""],"Interface showing a chronological list of changes and updates in a site":[""],"A cloud with multiple types of content floating around it":[""],"A folder holding real comments":[""],"Make your site faster":[""],"Load pages faster by serving your images from our global network of servers.":[""],"A fast and performant website":[""],"A secure site, locked and protected by Jetpack":[""],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":[""],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":[""],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":[""],"Add Like buttons to your posts and pages":[""],"When visitors enjoy your content, let them show it with a Like.":[""],"Create account":[""],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":[""],"Compose content the way you want to and streamline your publishing experience.":[""],"Add a portfolio item":[""],"Add a testimonial":[""],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":[""],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":[""],"Error enabling Site accelerator. %(error)s":[""],"Site accelerator is now speeding up your site!":[""],"Enabling Site accelerator…":[""],"Error disabling site accelerator. %(error)s":[""],"Site accelerator is no longer speeding up your site!":[""],"Disabling site accelerator…":[""],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":[""],"High-speed, high-definition video hosting with no third-party ads.":[""],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":[""],"Marketing Automation":[""],"Activate Jetpack Search":[""],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":[""],"Start earning":[""],"WordAds lets you earn money by displaying promotional content. Start earning today.":[""],"Spam is automatically blocked from your comments.":[""],"Browse premium themes":[""],"Access hundreds of beautifully designed premium themes at no extra cost.":[""],"Try a premium theme":[""],"View settings":[""],"Create a Jetpack account to view your email followers":[""],"Manage security settings":[""],"Jetpack is ready for the new WordPress editor":[""],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":[""],"Build your Jetpack site with blocks":[""],"A new editor? Yes! {{a}}Learn more{{/a}}.":[""],"The features you rely on, adapted for the new WordPress editor.":[""],"Take me to the new editor":[""],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":[""],"New in Jetpack!":[""],"Speed up static file load times":[""],"Speed up image load times":[""],"Enable site accelerator":[""],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"View your site activity":[""],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":[""],"Verify with Google":[""],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":[""],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Custom ads.txt entries":[""],"Privacy information":["Informations sur la confidentialité"],"Enable Lazy Loading for images":["Activer le chargement optimisé des images"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Les images au chargement optimisé améliorent la vitesse de votre site et offrent une expérience de navigation plus fluide. Les images se chargeront lorsque les visiteurs feront défiler l'écran, plutôt que toutes en même temps."],"Performance & speed":["Performances et vitesse"],"Enable high-speed, ad-free video player":["Activer le lecteur vidéo haut débit sans publicité"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Rendez le contenu que vous publiez encore plus captivant avec la vidéo haute résolution. Avec Jetpack Video, vous pouvez personnaliser votre lecteur multimédia et proposer à vos visiteurs des vidéos haut débit, sans publicité et sans marque. Les vidéos sont hébergées sur nos serveurs WordPress.com et ne prennent pas de place sur votre plan d'hébergement !"],"Video":["Vidéo"],"Carousel color scheme":["Jeu de couleurs du Carrousel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Les données Exif présentent d'autres détails techniques d'une photo, comme sa focale, son ouverture et sa valeur ISO."],"Show photo Exif metadata in carousel (when available)":["Afficher les métadonnées Exif de la photo dans le Carrousel (si disponibles)."],"Display images in a full-screen carousel gallery":["Afficher les images dans une galerie du Carrousel en plein écran"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Créez un diaporama en plein écran dans le Carrousel avec les images de vos articles et pages. Les galeries du Carrousel sont adaptées aux appareils mobiles et encouragent les visiteurs de votre site à interagir avec vos photos."],"Portfolios shortcode: [portfolio]":["Code abrégé des portfolios : [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Utilisez des {{portfolioLink}}portfolios{{/portfolioLink}} sur votre site pour présenter vos meilleurs produits et services. Si votre thème ne prend pas en charge les portfolios Jetpack, vous pouvez toujours utiliser un code abrégé simple pour les afficher sur votre site."],"Testimonials shortcode: [testimonials]":["Code abrégé des témoignages : [témoignages]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Ajoutez des {{testimonialLink}}témoignages{{/testimonialLink}} à votre site Web pour attirer de nouveaux clients. Si votre thème ne prend pas en charge les témoignages Jetpack, vous pouvez toujours utiliser un code abrégé simple pour les afficher sur votre site."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Les moteurs de recherche ne peuvent pas accéder à votre site pour le moment. Pour rendre votre site accessible, vérifiez vos {{a}}Paramètres de lecture{{/a}} et activez la fonction « Moteur de recherche visible »."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Bonne nouvelle : Jetpack envoie le plan de votre site automatiquement à tous les principaux moteurs de recherche pour l'indexation."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Les plan du sites sont des fichiers que les moteurs de recherche comme Google ou Bing utilisent pour indexer votre site Web. Ils permettent d'améliorer votre classement dans les résultats de recherche. Lorsque vous activez cette fonctionnalité, Jetpack crée des plan du sites pour vous et les met à jour automatiquement lorsque le contenu de votre site change."],"Configure related posts in the Customizer":["Configurer les articles similaires dans l'outil de personnalisation"],"Highlight related content with a heading":["Mettre en valeur le contenu similaire avec une en-tête"],"View security scan details":["Voir les détails de l'analyse de sécurité"],"Show a thumbnail image where available":["Affichez une image miniature lorsque cela est possible"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Pour obtenir plus d'informations sur la façon dont les fonctionnalités spécifiques de Jetpack utilisent les données et l'activité de suivi, veuillez vous reporter à notre {{privacyCenterLink}}Centre de confidentialité{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Nous utilisons d'autres outils de suivi, notamment des outils provenant de tiers. {{témoinPolicyLink}}Découvrez-les{{/témoinPolicyLink}} et apprenez à les contrôler."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Ces informations nous permettent d'améliorer nos produits, de mieux cibler nos campagnes marketing, de personnaliser votre expérience WordPress.com et plus encore, comme indiqué dans notre {{pp}}politique de confidentialité{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Partagez les informations concernant votre utilisation des services avec notre outil d'analyse tout en étant connecté à votre compte WordPress.com. {{témoinPolicyLink}}En savoir plus{{/témoinPolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator.":["Cette fonctionnalité a été désactivée par un administrateur du site."],"%(moduleName)s has been disabled by a site administrator.":[""],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":[""],"Configure your notification settings":["Configurer vos paramètres de notification"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Le module de recherche de Jetpack remplace efficacement la fonction de recherche intégrée à WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Les fichiers de votre site sont régulièrement analysés afin de détecter les modifications non autorisées ou suspectes qui pourraient compromettre votre sécurité et vos données."],"Plugin needs updating.":["L'extension doit être mise à jour.","Les extensions doivent être mises à jour."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Les mises à jour des extensions de Jetpack vous permettent de choisir les extensions à mettre à jour automatiquement."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimisera vos images et les diffusera auprès des visiteurs de votre site à partir de l'emplacement serveur le plus proche de ces derniers. L'utilisation de notre réseau mondial de distribution de contenu améliorera considérablement la vitesse de chargement de votre site."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["La surveillance des temps d'arrêt de Jetpack garde un œil sur votre site, et vous alertera lorsqu'un problème apparaîtra sur votre site."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Les sauvegardes Jetpack vous permettent de restaurer ou de télécharger facilement une sauvegarde à partir d'un point temporel donné."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Active un thème léger et adapté aux appareils mobiles qui s'affichera sur l'appareil mobile des visiteurs."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Charge les articles suivants automatiquement dès que le lecteur arrive en bas de page."],"Allows you to publish new posts by sending an email to a special address.":["Vous permet de publier de nouveaux articles en envoyant un courriel à une adresse spéciale."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Fournit les étiquettes masquées nécessaires pour vérifier votre site WordPress avec différents services."],"Displays information on your site activity, including visitors and popular posts or pages.":[""],"Allows you to optimize your site and its content for better results in search engines.":[""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Intègre votre site WordPress à Google Analytics, une plate-forme qui offre un aperçu détaillé de votre trafic, de vos visiteurs et de vos conversions."],"Displays high-quality ads on your site that allow you to earn income.":[""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Vous permet de partager automatiquement votre contenu le plus récent sur les réseaux sociaux, y compris Facebook et Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Ajoute des boutons J'aime à votre contenu pour permettre à vos visiteurs d'exprimer leur appréciation et leur satisfaction."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permet aux utilisateurs enregistrés de se connecter à votre site avec leur compte WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protège votre site des attaques de connexion par force brute distribuées et traditionnelles."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Sauvegarde votre site sur les serveurs mondiaux de WordPress.com, ce qui vous permet de restaurer votre contenu en cas d'urgence ou d'erreur."],"Removes spam from comments and contact forms.":["Supprime le contenu indésirable des commentaires et des formulaires de contact."],"We are committed to your privacy and security. ":[""],"View all Jetpack plans":["Afficher tous les plans Jetpack"],"Manage your plan":["Gérer votre plan"],"Your Plan":["Votre plan"],"You’re currently on Jetpack %(plan)s.":["Vous possédez actuellement le plan Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permet à vos lecteurs de s'abonner à vos articles ou commentaires, et de recevoir des notifications par courriel lorsque du nouveau contenu est publié."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Remplace le formulaire de commentaire standard de WordPress par un nouveau système de commentaire qui inclut des options de connexion aux réseaux sociaux."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Activez{{/a}} pour remplacer la recherche intégrée à WordPress par une expérience de recherche améliorée."],"Add Search (Jetpack) Widget":["Ajouter le widget de recherche (Jetpack)"],"Jetpack Search is powering search on your site.":["La fonctionnalité de recherche de votre site est basée sur la recherche Jetpack."],"Manage your plugins":["Gérer vos extensions"],"Moderate comments":["Modérer les commentaires"],"Error updating privacy settings. %(error)s":["Erreur lors de la mise à jour des paramètres de confidentialité. %(error)s"],"Updated privacy settings.":["Paramètres de confidentialité mis à jour."],"Updating privacy settings…":["Mise à jour des paramètres de confidentialité…"],"Add Jetpack Search Widget":["Ajouter le widget de recherche de Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Ajoutez le widget de recherche de Jetpack à votre colonne latérale pour configurer des filtres de recherche avancée."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suite de sécurité complète, outils d'automatisation des revenus et du marketing, hébergement vidéo illimité, thèmes illimités, recherche améliorée et assistance prioritaire."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suite de sécurité complète, outils d'automatisation des revenus et du marketing, hébergement vidéo illimité et assistance prioritaire."],"Daily backups, spam filtering, and priority support.":["Sauvegardes quotidiennes, filtres anti-spam et assistance prioritaire."],"Activate video hosting":["Activer l'hébergement vidéo"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Sauvegarde en temps réel de toutes les données de votre site avec espace illimité, restaurations en un clic, analyses de sécurité automatiques et assistance prioritaire."],"Design the perfect website":["Créez le site web parfait"],"Set up Jetpack":["Configurer Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Sauvegarde en temps réel de toutes les données de votre site avec espace illimité, restaurations en un clic et analyses de sécurité automatisées."],"Jetpack Search":["Recherche Jetpack"],"Jetpack version %(version)s":["Version de Jetpack %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Votre site est sauvegardé en temps réel et régulièrement analysé pour rechercher des menaces de sécurité."],"Daily backup of all your site data with unlimited space and one-click restores":["Sauvegarde quotidienne de toutes les données de votre site avec espace illimité et options de restauration en un clic."],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Sauvegarde en temps réel de toutes les données de votre site avec espace illimité, restaurations en un clic, analyses de sécurité automatisées, et support prioritaire."],"View your security activity":["Voir votre activité de sécurité"]," (powered by VaultPress).":[" (optimisé par VaultPress)."],"Customize Search Widget":["Personnaliser le widget de recherche"],"Please correct the issue below and try again.":["Veuillez corriger le problème ci-dessous et réessayer.","Veuillez corriger les problèmes indiqués ci-dessous et réessayer."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Nous veillons à protéger votre site contre les menaces de sécurité. Vous serez notifié si nous en détectons une."],"Jetpack version":["Version de Jetpack"],"Activity":["Activité"],"{{a}}View details{{/a}}":["{{a}}Voir les détails{{/a}}"],"Monetize your site with ads":["Monétiser votre site grâce à des publicités"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["En cliquant sur le bouton ci-dessous, vous acceptez nos {{tosLink}}conditions d’utilisation{{/tosLink}} et le {{shareDetailsLink}}partage d’informations{{/shareDetailsLink}} avec WordPress.com."],"Jetpack Stats People":["Personnes regardant un graphique de stats Jetpack"],"Hello there! Your stats have been activated.":["Bonjour! Vos statistiques ont été activées."],"Just give us a little time to collect data so we can display it for you here.":["Accordez-nous juste un peu de temps pour que nous puissions collecter les données et les afficher ici."],"Okay, got it!":["D’accord, je comprends!"],"Display ads below posts on":["Afficher des publicités sous les articles sur"],"Additional ad placements":["Emplacements de publicités supplémentaires"],"Top of each page":["Haut de chaque page"],"Second ad below post":["Seconde publicité sous l'article"],"Archives":["Archives"],"Stars":["Étoiles"],"Jupiter":["Jupiter"],"Schedule posts":["Programmer des articles"],"Activate Publicize":["Activer Publicize"],"Your site is backed up.":["Votre site est sauvegardé."],"Get WordPress Apps for every device":["Obtenir des applications WordPress pour tous vos appareils"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gérez tous vos sites à partir d'un seul tableau de bord&nbsp;: publiez du contenu, suivez les statistiques, modérez les commentaires et bien plus encore, de n'importe où dans le monde."],"Create address":["Créer une adresse"],"Automatically share your posts to social networks":["Partager automatiquement vos articles sur les réseaux sociaux"],"Updating settings…":["Mise à jour des paramètres..."],"Updating Post by Email address…":["Mise à jour de l’adresse de courriel de publication..."],"Your paid plan gives you access to prioritized Jetpack support.":["Votre offre payante vous donne accès à l’assistance prioritaire de Jetpack."],"You have paid for backups but they're not yet active.":["Votre offre payante comprend des sauvegardes qui ne sont pas encore actives."],"You have paid for backups and security scanning but they’re not yet active.":["Votre offre payante comprend des sauvegardes et l’analyse de sécurité, mais ces fonctionnalités ne sont pas encore actives."],"Click \"Set Up\" to finish installation.":["Cliquez sur « Installer » pour terminer l’installation."],"Checking site status…":["Vérification de l’état du site..."],"Pages":["Pages"],"Access the full list of Jetpack modules available on your site.":["Accédez à la liste complète des modules Jetpack disponibles sur votre site."],"We're here to help":["Nous sommes à votre disposition pour vous aider"],"Jetpack comes with free, basic support for all users.":["Jetpack comprend une assistance de base gratuite pour tous les utilisateurs."],"Ask a question":["Poser une question"],"Search our support site":["Rechercher dans notre site d'assistance"],"Get a faster resolution to your support questions.":["Obtenez une réponse plus rapide à vos questions."],"Host fast, high-quality, ad-free video.":["Hébergez et affichez vos vidéos rapidement avec un lecteur de haute qualité et sans publicité."],"Generate income with high-quality ads.":["Générez du revenu avec des publicités de haute qualité."],"Real-time site backups and automatic threat resolution.":["Sauvegardes de site en temps réel et résolution automatique des menaces."],"Protect against data loss, malware, and malicious attacks.":["Protégez-vous contre la perte de données, les programmes malveillants et les attaques malveillantes."],"Protect your site from spam.":["Protégez votre site contre les commentaires indésirables."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Ce site n'est pas connecté à WordPress.com. Veuillez demander à l'administrateur du site de se connecter."],"An Automattic Airline":["Une compagnie aérienne Automattic"],"Manage site connection":["Gérer la connexion du site"],"Connect your account to WordPress.com to view more stats":["Connectez votre compte à WordPress.com pour voir plus de statistiques"],"Theme enhancements":["Améliorations des thèmes"],"Load more posts using the default theme behavior":["Charger plus d'articles en suivant les réglages par défaut du thème"],"Load more posts in page with a button":["Charger les articles suivants grâce à un bouton"],"Load more posts as the reader scrolls down":["Charger les articles suivants automatiquement lors du défilement vers le bas de page"],"Theme support required.":["Votre thème doit tout d’abord prendre en charge cette fonctionnalité."],"Learn more about adding support for Infinite Scroll to your theme.":["En savoir plus sur l'ajout de la prise en charge du défilement infini dans votre thème."],"Show featured images":["Afficher les images à la Une"],"Enable the WordPress.com toolbar":["Activer la barre d'outils de WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Les outils d'écriture mis à votre disposition seront disponibles ici après avoir été activés par un administrateur."],"Portfolios":["Portfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Notez que la {{b}}vérification de votre site à l'aide de ces services n'est pas nécessaire{{/b}} pour l'indexation de votre site par les moteurs de recherche. Pour utiliser ces outils de moteurs de recherche avancés et vérifier votre site à l'aide d'un service, collez le code de la balise HTML ci-après. Lisez l'{{support}}intégralité des instructions{{/support}} si vous rencontrez des difficultés. Services de vérification pris en charge&nbsp;: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest{{/pinterest}} et {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Générer des plan du sites XML"],"The image helps collect stats, but should work when hidden.":["L'image facilite la collecte des statistiques mais tout devrait toujours fonctionner si vous la cachez."],"Count logged in page views from":["Inclure les vues des utilisateurs suivant lorsqu’ils sont connectés"],"Allow stats reports to be viewed by":["Autoriser la consultation des rapports de stats par les utilisateurs suivants"],"In \"Upgrade\"":["Dans « Extensions »"],"Configure your Google Analytics settings":["Configurer les paramètres de Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Affichez des publicités sur le premier article de votre page d'accueil ou à la fin de chaque page et de chaque article. Insérez d'autres publicités en haut de votre site et dans une zone de widgets pour augmenter vos revenus."],"Enable ads and display an ad below each post":["Activer les publicités et afficher une publicité sous chaque article"],"Configure your sharing buttons":["Configurer vos boutons de partage"],"Connect your social media accounts":["Connecter vos comptes de réseaux sociaux"],"Match accounts using email addresses":["Associer les comptes à l'aide des adresses courriel"],"Require accounts to use WordPress.com Two-Step Authentication":["Exiger que les comptes utilisent l'authentification en deux étapes de WordPress.com"],"Add to whitelist":["Ajouter à la liste blanche"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Vous pouvez ajouter une adresse ou une série d’adresses IP à votre liste blanche, afin d’empêcher leur blocage par Jetpack. IPv4 et IPv6 sont pris en charge. Pour spécifier une plage d’adresses IP, entrez une valeur minimum et une valeur maximum en utilisant un tiret comme séparateur. Exemple&nbsp;: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Votre site est sauvegardé et aucune faille de sécurité n’a été détectée."],"Checking your spam protection…":["Vérification de votre protection anti-spam…"],"Fetching key…":["Récupération de la clé…"],"Your site needs an Antispam key.":["Votre site requiert une clé anti-spam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Il y a un problème avec votre clé d'API anti-spam. {{a}}En savoir plus{{/a}}."],"Your site is not protected from spam.":["Votre site n'est pas protégé contre les commentaires indésirables."],"Your Antispam key is valid.":["Votre clé anti-spam est valide."],"Your site is protected from spam.":["Votre site est protégé contre les commentaires indésirables."],"Checking key…":["Vérification de la clé…"],"Your API key":["Votre clé API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Si vous n'avez pas encore de clé API, {{a}}demandez-la ici{{/a}} et suivez le guide pour l'obtenir."],"No search results found for %(term)s":["Aucun résultat pour %(term)s"],"Enter a search term to find settings or close search.":["Saisissez un terme à rechercher pour trouver un réglage, ou fermer la recherche."],"Connections":["Connexions"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Votre site est en mode de développement, il ne peut donc pas se connecter à WordPress.com."],"Your site is connected to WordPress.com.":["Votre site est connecté à WordPress.com."],"You are the Jetpack owner.":["Votre êtes le propriétaire Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Connecté en tant que {{span}}%(username)s{{/span}}"],"View your Email Followers":["Voir vos abonnés par courriel"],"Color scheme":["Jeu de couleurs"],"Enable Markdown use for comments.":["Activer la gestion de Markdown dans les commentaires."],"Updated settings.":["Paramètres mis à jour."],"Error updating settings. %(error)s":["Erreur lors de la mise à jour des paramètres. %(error)s"],"Regenerated Post by Email address.":["Nouvelle adresse de publication par courriel générée."],"Error regenerating Post by Email address. %(error)s":["Erreur lors de la génération d'une nouvelle adresse de publication par courriel. %(error)s"],"Updated settings. Refreshing page…":["Paramètres mis à jour. Actualisation de la page…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["En {{a}}mode de développement{/a}} (certaines fonctionnalités sont désactivées) car&nbsp;:"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Le filtre jetpack_development_mode est actif{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}La constante JETPACK_DEV_DEBUG est utilisée{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}L’URL de votre site n’inclue pas de point (par exemple http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics est un service gratuit qui complémente nos {{a}stats intégrées à Jetpack{{/a}} en vous offrant des informations différentes sur votre trafic. Les stats de WordPress.com et Google Analytics utilisent différentes méthodes pour identifier et suivre vos visiteurs sur votre site, et peuvent donc afficher des stats quelque peu différentes."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configurer Google Analytics"],"Activate Google Analytics":["Activer Google Analytics"],"Download the free apps":["Télécharger les applications gratuites"],"Upgrade Focus: VideoPress For Weddings":["Mise en avant de l&rsquo;offre&nbsp;: VideoPress dédié aux mariages"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Vous pouvez également configurer des articles similaires dans l&rsquo;outil de personnalisation. {{ExternalLink}}Faites un essai!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Par défaut, les publicités sont affichées en bas de chaque page et article, ou sur le premier article de votre page d’accueil. Vous pouvez également les insérer en haut de votre site et dans une zone de widgets pour augmenter vos revenus!"],"Display an ad unit at the top of your site.":["Affichez une publicité en haut de votre site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["En activant la publicité, vous acceptez les {{link}}conditions d&rsquo;utilisation{{/link}} de la publicité d&rsquo;Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Votre serveur n'étant pas correctement configuré, Jetpack Protect ne peut pas protéger efficacement votre site."],"In \"Mobile\"":["Dans « Mobile »"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configurer les paramètres de notification Monitor sur WordPress.com{{/link}}"],"View your earnings":["Voir vos revenus"],"Configure site SEO":["Configurer le référencement de votre site"],"Activate SEO tools":["Activer les outils de référencement"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Pour commencer, cliquez sur &laquo;Ajouter un média&raquo; dans votre éditeur de publication et chargez une vidéo; nous nous occupons du reste!"],"Video Hosting":["Hébergement vidéo"],"SEO Tools":["Outils SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Outils de référencement pour augmenter les chances de votre site de s’afficher dans les résultats de recherche des internautes."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["La méthode la plus simple pour mettre en ligne sur votre site des vidéos sans publicité ni marque. Vous obtenez des statistiques sur la lecture et le partage de vidéos, et le lecteur est léger et réactif."],"You are running Jetpack on a staging server.":["Vous utilisez Jetpack sur un serveur de test."],"More Info":["Plus d&rsquo;infos"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Gérer la visibilité des Likes depuis réglages du module de partage{{/a}}"],"Your current IP: %(ip)s":["Votre IP actuelle&nbsp;: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Il y a des réglages non sauvegardés dans cet onglet; ils seront seront perdus si vous le fermez. Continuer?"],"This will reset all Jetpack options, are you sure?":["Cela réinitialisera toutes les options de Jetpack, souhaitez-vous continuer?"],"Search for a Jetpack feature.":["Recherchez une fonctionnalité Jetpack."],"Configure your Security Scans":["Configurez vos analyses de sécurité"],"Subscriber":["Abonné"],"Big iPhone/iPad Update Now Available":["Une mise à jour importante pour iPhone/iPad est désormais disponible"],"The WordPress for Android App Gets a Big Facelift":["Remaniement en profondeur de l'application WordPress pour Android"],"WordPress.com Likes are:":["Les mentions J'aime de WordPress.com sont :"],"Hide the stats smiley face image":["Cacher l'image de Smiley ajoutée par les statistiques"],"Whitelisted IP addresses":["Adresses IP ajoutées à la liste blanche"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Afficher un message de promotion des applications WordPress pour mobile au bas de votre thème pour mobile"],"Copied!":["Copie terminée"],"Highlight and copy the following text to your clipboard:":["Sélectionnez le texte suivant et copiez-le dans le Presse-papiers :"],"Regenerate address":["Générer une nouvelle adresse"],"Cheatin' uh?":["On triche, hein ?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Pouvez-vous nous expliquer pourquoi vous n'avez pas finalisé votre connexion Jetpack en répondant aux {{a}}2 questions de ce sondage{{/a}} ?{{/p}}{{p}}Une connexion à Jetpack est requise pour utiliser nos fonctions gratuites de sécurité et de trafic.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bienvenue sur {{s}}Jetpack %(jetpack_version)s{{/s}} !"],"Your Jetpack is already connected.":["Votre Jetpack est déjà connecté."],"You're fueled up and ready to go, Jetpack is now active.":["Vous êtes prêt à démarrer, Jetpack est désormais actif."],"You're fueled up and ready to go.":["Vous êtes prêt à démarrer."],"You are currently running a development version of Jetpack.":["Vous utilisez actuellement une version de développement de Jetpack."],"Submit Beta feedback":["Envoyer vos retours à propos de la Beta"],"What would you like to see on your Jetpack Dashboard?":["Que souhaitez-vous voir sur votre tableau de bord Jetpack ?"],"Let us know!":["Informez-nous !"],"Saving…":["Enregistrement en cours…"],"Save Settings":["Enregistrer les paramètres"],"Jetpack Stats Icon":["Icône des statistiques de Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activez les statistiques du site{{/a}} pour afficher des statistiques détaillées, les mentions J'aime, les followers, les abonnés et bien plus encore ! {{a1}}En savoir plus{{/a1}}"],"Activate Site Stats":["Activer les statistiques du site"],"Site Backups":[""],"Upgrade":["Mettre à niveau"],"ACTIVE":["ACTIF"],"View your spam stats":["Afficher vos statistiques de spam"],"View your security dashboard":["Afficher votre tableau de bord de sécurité"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Le site est en mode de développement, vous ne pouvez donc pas vous connecter à WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Liez votre compte à WordPress.com pour tirer le meilleur parti de Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Pour un scan complet et automatique des menaces de sécurité, {{a}}installez et activez{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack bloque activement les tentatives de connexion malveillantes. Les données s'afficheront bientôt ici !"],"Total malicious attacks blocked on your site.":["Attaques malveillantes bloquées sur votre site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activez Protect{{/a}} pour protéger votre site contre les tentatives de connexion malveillantes."],"All plugins are up-to-date. Awesome work!":["Toutes les extensions sont à jour. Excellent travail !"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack surveille votre site. Si nous pensons que votre site est indisponible, nous vous enverrons un courriel."],"Security":["Sécurité"],"Performance":["Performance"],"{{a}}View backup details{{/a}}.":["{{a}}Afficher les détails de sauvegarde{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Pour sauvegarder automatiquement l'ensemble de votre site, {{a}}installez et activez{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Indisponible en mode de développement."],"Unavailable in Dev Mode":["Indisponible en mode de développement"],"Activating %(slug)s…":["Activation de %(slug)s en cours…"],"%(slug)s has been activated.":["%(slug)s a été activé."],"%(slug)s failed to activate. %(error)s":["Échec de l'activation de %(slug)s. %(error)s"],"Deactivating %(slug)s…":["Désactivation de %(slug)s en cours…"],"%(slug)s has been deactivated.":["%(slug)s a été désactivé."],"%(slug)s failed to deactivate. %(error)s":["Échec de la désactivation de %(slug)s. %(error)s"],"Updating %(slug)s settings…":["Mise à jour des paramètres %(slug)s en cours..."],"Updated %(slug)s settings.":["Paramètres %(slug)s mis à jour."],"Error updating %(slug)s settings. %(error)s":["Erreur lors de la mise à jour des paramètres %(slug)s. %(error)s"],"Updating %(slug)s address…":["Mise à jour de l'adresse %(slug)s en cours..."],"Regenerated %(slug)s address .":["Nouvelle adresse %(slug)s générée."],"Error regenerating %(slug)s address. %(error)s":["Erreur lors de la génération d'une nouvelle adresse %(slug). %(error)s"],"Resetting Jetpack options…":["Réinitialisation des options de Jetpack..."],"Options reset.":["Options réinitialisées."],"Options failed to reset.":["Échec de la réinitialisation des options."],"There was an error disconnecting Jetpack. Error: %(error)s":["Une erreur est survenue lors de la déconnexion de Jetpack. Erreur : %(error)s"],"Unlinking from WordPress.com":["Suppression du lien de WordPress.com"],"Unlinked from WordPress.com.":["Lien supprimé de WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Erreur lors de la suppression du lien de WordPress.com. %(error)s"],"At A Glance":["D'un coup d'œil"],"Dashboard":["Tableau de bord"],"Automattic's Privacy Policy":["Politique de confidentialité d'Automattic"],"WordPress.com Terms of Service":["Conditions d'utilisation de WordPress.com"],"Plugin Updates":["Mises à jour d'extensions"],"No threats found, you're good to go!":["Aucune menace trouvée, la voie est libre !"],"{{a}}Contact Support{{/a}}":["{{a}}Contacter l'assistance{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Afficher les détails sur VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Oups, %(number)s menace trouvée.","Oups, %(number)s menaces trouvées."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activer la surveillance{{/a}} pour recevoir des courriels de notification si votre site devient indisponible."],"Loading…":["Chargement en cours..."],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Voir plus de stats sur WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Accéder aux stats détaillées{{/button}}"],"All-time comments":["Commentaires depuis la création"],"All-time views":["Vues depuis la création"],"%(number)s View":["%(number)s vue","%(number)s vues"],"Best overall day":["Meilleure journée globale"],"Views today":["Vues aujourd'hui"],"Months":["Mois"],"Weeks":["Semaines"],"Days":["Jours"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Une erreur s'est produite lors du chargement des statistiques. Réessayez ultérieurement ou {{a}}consultez vos statistiques maintenant sur WordPress.com{{/a}}"],"Click to view detailed stats.":["Cliquez pour afficher les statistiques détaillées."],"Views: %(numberOfViews)s":["Vues : %(numberOfViews)s"],"Week of %(date)s":["Semaine de %(date)s"],"Site Security":["Sécurité du site"],"Link to WordPress.com":["M'associer à WordPress.com"],"Unlink me from WordPress.com":["Me désassocier de WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Un problème est survenu lors de la connexion de votre Jetpack Cliquez de nouveau sur \"Se connecter à WordPress.com\"."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Nous avons rencontré un problème lors de l&rsquo;autorisation de Jetpack; déactivez et réactivez l&rsquo;extension, et essayez une nouvelle fois."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Vous devez rester connecté à votre blogue pendant l'autorisation de Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Votre Jetpack a un petit souci.{{/s}} Veuillez nous excuser pour ce désagrément. Veuillez réessayer ultérieurement. Si le problème persiste, contactez l'assistance avec ce message : %(error_key)s"],"Disconnecting Jetpack":["Déconnexion de Jetpack"],"Learn more":["En savoir plus"],"Posts":["Articles"],"Front page":["Page d&rsquo;accueil"],"Upload videos":[""],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Afficher une liste d&rsquo;articles similaires au bas de chaque article"],"Related":["En lien"],"Disconnect":["Déconnecter"],"Save":["Sauvegarder"],"Media":["Média"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":[""],"Site Stats":["\tStats du Site"],"Sharing":["Partage"],"Testimonials":["T&eacute;moignages"],"Cancel":["Annuler"],"Comments":["Commentaires"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack ne pouvait pas contacter WordPress.com : %(error_key)s. Dans la plupart des cas, cela signifie que quelque chose n'est pas configuré correctement sur votre hébergement."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com a actuellement des soucis et ne peut pas alimenter votre Jetpack. Veuillez essayer utlérieurement."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Votre Jetpack a un petit souci.{{/s}} La connexion de ce site à WordPress.com n'est pas possible. Ceci est généralement provoqué par un site non accessible au public (par exemple, un site sur localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Votre site doit être accessible au public pour utiliser Jetpack : %(error_key)s"],"Edit":["Modifier"],"Connected":["Connecté"],"Activate":["Activer"],"Active":["Actif"],"Settings":["Paramètres"],"Learn More":["En savoir plus"],"Disconnect Jetpack":["Déconnecter Jetpack"],"Test your site’s compatibility with Jetpack.":["Testez la compatibilité de votre site avec Jetpack."],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Settings header\u0004Widgets":[""],"Settings header\u0004Downtime monitoring":["Surveillance des temps d'arrêt"],"Settings header\u0004Privacy Settings":["Paramètres de confidentialité"],"Settings header\u0004WordPress.com toolbar":["Barre d'outils de WordPress.com"],"Settings header\u0004Composing":["Écriture"],"Settings header\u0004Site stats":["Stats du site"],"Settings header\u0004Search engine optimization":["Optimisation pour les moteurs de recherche"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Boutons de partage"],"Settings header\u0004Publicize connections":["Connexions Publicize"],"Settings header\u0004Like buttons":["Boutons J'aime"],"Settings header\u0004Brute force attack protection":["Protection contre les attaques par force brute"],"Settings header\u0004Backups and security scanning":["Sauvegardes et analyses de sécurité"],"Navigation item.\u0004Performance":[""],"Navigation item.\u0004My Plan":[""],"Navigation item.\u0004Dev Tools":["Outils de développement"],"Navigation item.\u0004Settings":["Réglages"],"Navigation item.\u0004Discussion":["Discussion"],"Navigation item.\u0004Traffic":["Trafic"],"Navigation item.\u0004Sharing":["Partage"],"Navigation item.\u0004At A Glance":["D'un coup d'œil"],"Navigation item.\u0004Plans":["Offres"],"Navigation item.\u0004Writing":["Rédaction"],"Navigation item.\u0004Reset Options (dev only)":["Réinitialiser les options (versions de développement uniquement)"],"Navigation item.\u0004Security":["Sécurité"],"Navigation item.\u0004At a Glance":["D'un coup d'œil"],"Search term.\u0004terms of service":["conditions d'utilisation"],"Search term.\u0004tos":["cdu"],"Search term.\u0004gdpr":["rgpd"],"Search term.\u0004data":["Donnée"],"Search term.\u0004tracks":["suivis"],"Search term.\u0004privacy":["vie privée"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Mettre à niveau"],"Button caption\u0004Saving…":["Enregistrement en cours…"],"Button caption\u0004Save settings":["Enregistrer les paramètres"],"A heading for a block of related posts.\u0004Related":["En lien"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Prévisualiser"],"Short warning message\u0004Updates needed":["Mises à jour nécessaires"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Payant"],"A header for a preview area in the configuration screen.\u0004Preview":["Prévisualiser"],"Ads header\u0004Ads":["Publicités"],"Dashboard widget header\u0004Site connection":["Connexion du site"],"Dashboard widget header\u0004Account connection":["Connexion du compte"],"A caption for a small button to fix security issues.\u0004Threats":["Menaces"],"A caption for a small button to fix security issues.\u0004FIX":["RÉPARER"],"Short warning message about new threats found.\u0004Threats found!":["Menace détectée!"],"Short message informing user that the site is secure.\u0004Secure":["Sécurisé"],"Caption for a button to set up a feature.\u0004Set up":["Configurer"],"verb\u0004Copy":["Copier"],"Shorthand for Privacy Policy.\u0004Privacy":["Confidentialité"],"Shorthand for Terms of Service.\u0004Terms":["Conditions"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Déboguer"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Commentaires indésirables bloqués."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-fr_FR-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-fr_FR-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index de03aa60..00000000
--- a/plugins/jetpack/languages/json/jetpack-fr_FR-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n > 1;","lang":"fr"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Votre plan %(planName)s comprend %(featureName)s. Il semblerait que vous ayez également acheté le produit suivant : %(productName)s. Peut-être devriez-vous supprimer %(productName)s."],"real-time backups":["sauvegardes en temps réel"],"daily backups":["sauvegardes quotidiennes"],"Renews on %s.":["Se renouvelle le %s."],"Purchased on %s.":["Acheté le %s"],"Select a backup option:":["Sélectionnez une option de sauvegarde :"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Mettre à niveau vers %(name)s pour {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Vous économisez {{savings /}} avec un paiement annuel"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Dépêchez-vous, ce sont des {{s}}tarifs de bienvenue à durée limitée !{{/s}}"],"Up to %(percent)d%% off!":["Jusqu’à %(percent)d%% de réduction !"],"per month":["par mois"],"per year":["par an"],"Which backup option is best for me?":["Laquelle de ces options de sauvegarde me convient le mieux ?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":[""],"Your site is being backed up.":[""],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Vous devez saisir les identifiants de votre serveur pour terminer la configuration de la sauvegarde Jetpack."],"Jetpack Backup is being configured for your site.":["La sauvegarde Jetpack est en cours de configuration sur votre site."],"Daily Backups":[""],"Just looking for backups? We've got you covered.":["Vous recherchez seulement un système de sauvegarde ? Nous avons ce qu'il vous faut."],"Solutions":["Solutions"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Incluses dans votre {{planLink}}plan Professionnel{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Incluses dans votre {{planLink}}plan Premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Incluses dans votre {{planLink}}plan Personnel{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Avec les sauvegardes permanentes, vous avez l'assurance de ne jamais perdre votre site. Vos modifications sont enregistrées au fur et à mesure de leur ajout et vous disposez d'un archivage illimité."],"Always-on backups ensure you never lose your site.":["Avec les sauvegardes permanentes, vous avez l'assurance de ne jamais perdre votre site."],"My Products":[""],"My Plan":[""],"Jetpack Backup {{em}}Real-Time{{/em}}":["Sauvegarde Jetpack {{em}}en temps réel{{/em}}"],"Your data is being securely backed up as you edit.":["Vos données sont sauvegardées de manière sécurisée pendant que vous apportez des modifications."],"Jetpack Backup {{em}}Daily{{/em}}":["Sauvegarde Jetpack {{em}}quotidienne{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":[""],"Jetpack Premium":[""],"Jetpack Personal":[""],"Jetpack Free":[""],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Vous avez une question ? Nous serons ravis de vous aider ! {{a}}Envoyez une question à l'équipe d'assistance de Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack inclut de nombreux outils puissants vous permettant d'atteindre vos objectifs"]," We’ve highlighted some of the features you rely on below.":[" Nous avons mis en évidence certaines des fonctionnalités sur lesquelles vous comptez ci-après."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack confère de puissantes fonctionnalités à votre site. Une fois Jetpack désactivé, ces fonctionnalités ne seront plus disponibles et votre site risque de ne plus fonctionner de la même manière."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack confère de puissantes fonctionnalités à votre site. Une fois Jetpack déconnecté, ces fonctionnalités ne seront plus disponibles et votre site risque de ne plus fonctionner de la même manière."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Développez votre trafic grâce à la {{a}}publication et au partage{{/a}} automatiques sur les réseaux sociaux"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Bloquez les {{a}}attaques par force brute{{/a}} et recevez des notifications immédiates en cas de panne de votre site"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Optimisez la vitesse de votre site et proposez des images compatibles avec les appareils mobiles avec {{a}}notre réseau de transmission de contenu{{/a}}"],"Disable":["Désactiver"],"Are you sure you want to disconnect and deactivate?":["Voulez-vous vraiment déconnecter et désactiver l'application ?"],"Are you sure you want to disconnect?":["Voulez-vous vraiment déconnecter l'application ?"],"Disable Jetpack":["Désactiver Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Nous faisons une sauvegarde de votre site Web intégrant toutes les modifications que vous apportez afin de faciliter la correction de vos erreurs."],"Automated Real-time Backups":["Sauvegardes automatiques en temps réel"],"We back up your website every day, so you never have to worry about your data again.":["Nous sauvegardons votre site Web tous les jours. Vous n'avez plus besoin de vous préoccuper de vos données."],"Automated Daily Backups":["Sauvegardes quotidiennes automatiques"],"View Your Backups":["Voir vos sauvegardes"],"A Jetpack Site securely backed up with Jetpack Backup":["Un site Jetpack sauvegardé en toute sécurité avec Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Utilisez la syntaxe Markdown pour créer le contenu des liens, listes et autres styles. Ce paramètre active Markdown dans l'éditeur classique et dans un bloc d'éditeur classique."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activer{{/a}} cette fonctionnalité pour optimiser la taille et le chargement des images à partir du réseau mondial rapide de serveurs de Jetpack. Elle contribue à améliorer les performances de votre site sur vos appareils de bureau et mobiles."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack optimise la taille de vos images et les télécharge rapidement grâce à notre réseau mondial rapide de serveurs. Elle contribue à améliorer les performances de votre site sur vos appareils de bureau et mobiles."],"Image Accelerator":["Accélérateur d'image"],"Start with free":["Commencer gratuitement"],"Now that you're set up, pick a plan that fits your needs.":["Une fois connecté, choisissez un plan qui répond à vos besoins."],"Jetpack Backup":["Sauvegarde Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Votre plan Jetpack garantit la protection anti-spam via Akismet. Cliquez sur « configurer » pour l'activer sur votre site."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Vous possédez déjà une clé ? {{a}}Activer Akismet{{/a}}"],"Verifying…":["Vérification en cours…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Améliorer votre classement par les moteurs de recherche avec le puissant outil d’optimisation des moteurs de recherche intégré à Jetpack Premium ou Professionel."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Offrez à votre site une apparence rationnelle et un chargement rapide sur les appareils mobiles. Les visiteurs continueront de voir votre thème usuel sur les autres tailles d’écran."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Créez une expérience de lecture fluide et ininterrompue en chargeant davantage de contenu au fur et à mesure que les visiteurs font défiler vos pages d’archive vers le bas."],"Customize your SEO settings":["Personnalisez vos options de référencement"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Contrôlez la façon dont les moteurs de recherche représentent votre site. Avec les outils de référencement de Jetpack, vous pouvez prévisualiser la manière dont votre contenu sera affiché sur les moteurs de recherche populaires et modifier les champs tels que le nom de votre site et la description, en quelques secondes."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Ajoutez des boutons de partage pour permettre aux visiteurs de partager vos articles et vos pages sur les réseaux sociaux en quelques clics rapides."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Ajoutez un petit tableau dans votre barre d'administration indiquant le trafic sur 48 heures"],"Expand to update settings for how visits are counted and manage who can view this information.":["Développez pour mettre à jour les réglages de comptabilisation des visiteurs et préciser qui peut voir cette information."],"You can customize the sharing buttons and choose which services to display.":["Vous pouvez personnaliser les boutons de partage et choisir les services à afficher."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Votre site est protégé par Jetpack. Vous serez notifié si un élément requiert votre attention."],"Find threats early so we can help fix them fast.":["Recherchez les menaces en amont de manière à pouvoir agir rapidement."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Remplacez la fonction de recherche de base de votre site par une fonction de recherche personnalisable qui permet à vos visiteurs de trouver plus rapidement la réponse à leurs questions."],"Never worry about losing your site – automatic backups keep your content safe.":["Ne craignez pas de perdre votre site : des sauvegardes automatiques garantissent la sécurité de votre contenu."],"Protect":["Protéger"],"Scan":["Analyser"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Supprimez automatiquement le contenu indésirable de vos commentaires et formulaires afin de mieux vous concentrer sur votre activité."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Connectez votre site à Google Analytics en quelques secondes avec Jetpack Premium ou Professionnel."],"Log in to the WordPress mobile app":["Connexion à l'application mobile WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Connectez-vous facilement à l'application WordPress en cliquant sur le lien que nous vous enverrons à l'adresse e-mail de votre compte."],"Email me a link to log in to the app":["Envoyez-moi un lien de connexion à l'application par e-mail"],"Send your new posts to this email address:":["Envoyez vos nouveaux articles à cette adresse e-mail :"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Publier par e-mail permet de publier rapidement de nouveaux articles sans visiter votre site. Nous générerons une adresse e-mail unique à laquelle vous pourrez envoyer votre contenu, qui apparaîtra ensuite sur votre site comme n'importe quel autre article."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["La barre d'outils de WordPress.com remplace la barre d'outils administrateur par défaut de WordPress. Elle permet d'accéder en un clic aux notifications, à votre profil WordPress.com et à vos autres sites Web Jetpack et WordPress.com. Vous pouvez également prendre des nouvelles des sites que vous suivez dans le Lecteur."],"Verify site ownership with third party services":["Vérifiez la propriété de votre site avec des services tiers"],"Generate shortened URLs for simpler sharing.":["Générez des URL raccourcies pour simplifier le partage."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Maintenez l'intérêt de vos visiteurs en insérant du contenu similaire au bas de chaque article. Ces paramètres ne s'appliqueront pas aux {{a}}articles similaires ajoutés à l'aide de l'éditeur de blocs{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["La fonctionnalité permet aux visiteurs de rechercher davantage de contenu en affichant les articles similaires au bas de chaque article."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack génère automatiquement un fichier {{link1}}ads.txt{{/link1}} personnalisé pour votre site. Si vous devez ajouter des entrées supplémentaires pour d'autres réseaux, veuillez les renseigner dans l'espace ci-après, en en indiquant une par ligne. {{link2}}Cliquez ici pour afficher plus de détails{{/link2}}."],"Add sharing buttons to your posts and pages":["Ajoutez des boutons de partage à vos articles et pages"],"Share your content to social media, reaching new audiences and increasing engagement.":["Partagez votre contenu sur les réseaux sociaux afin de développer votre public et de renforcer son implication."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Recevez des alertes si votre site bascule hors ligne. Nous vous préviendrons également dès qu'il sera de nouveau accessible."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Jetpack vous permet de configurer la mise à jour automatique de vos extensions. Vous recevrez instantanément les dernières résolutions de bug et de sécurité afin de préserver la sécurité de votre site."],"Choose which plugins to auto-update":["Choisir les extensions à mettre à jour automatiquement"],"Upgrade Jetpack now":["Mettre Jetpack à niveau maintenant"],"Monetize your site by running high quality ads.":["Monétisez votre site au moyen de publicités de haute qualité."],"Customize your social posting schedule.":["Personnalisez la programmation de vos publications sur les réseaux sociaux."],"Expand your audience with pro SEO tools.":["Développez votre public avec les outils d'optimisation des moteurs de recherche."],"Take your site to the next level!":["Faites passer votre site au niveau supérieur !"],"Search support docs":["Rechercher des documents d'assistance"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Besoin d'aide ? Découvrez comment démarrer, personnaliser votre site, utiliser des extraits de code avancés et plus encore."],"Start sharing":["Commencer le partage"],"Optimized performance":["Performances optimisées"],"Enable the “subscribe to comments” option on your comment form":["Activez l'option « Souscrire aux commentaires » sur votre formulaire de commentaires"],"Enable the “subscribe to site” option on your comment form":["Activez l'option « S'abonner au site » sur votre formulaire de commentaires"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Gérez les paramètres de commentaires avancés et développez votre public avec les abonnements par e-mail."],"Comment form introduction":["Introduction du formulaire de commentaires"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam propulsé par Akismet. Les commentaires et formulaires de contact envoyés sont comparés à notre base de données mondiale de contenu indésirable."],"Failed to send login email":["Échec d'envoi de l'e-mail de connexion"],"Login email sent":["E-mail de connexion envoyé."],"Sending login email…":["Envoi de l'e-mail de connexion en cours"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Inquiet pour la sécurité ? Profitez des sauvegardes, des résolutions des problèmes de sécurité automatiques et plus encore : {{a}}Mettre à niveau maintenant{{/a}}"],"Allow readers to like individual comments.":["Autorisez les lecteurs à dire qu'ils aiment les commentaires individuels."],"Enable comment likes.":["Activez la mention J'aime des commentaires."],"Allow readers to use markdown in comments.":["Autorisez les lecteurs à utiliser Markdown pour les commentaires."],"Show Gravatar hovercards alongside comments.":["Affichez les surcartes Gravatar à côté des commentaires."],"Complete Jetpack Setup":["Configuration de Jetpack terminée"],"Your Jetpack setup progress":["Progression de votre installation de Jetpack"],"View your setup checklist":["Voir votre liste de contrôle de configuration"],"Yearly":[""],"Monthly":[""],"About Jetpack":[""],"Enable widget visibility controls to display widgets only on particular posts or pages":["Activez les commandes de visibilité des widgets pour afficher les widgets sur des pages ou articles spécifiques uniquement"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["La visibilité des widgets vous permet de choisir les widgets à afficher sur chaque page de manière à personnaliser totalement le contenu de vos widgets."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Facilitez l'utilisation de widgets supplémentaires sur votre site, notamment les formulaires d'abonnement et les flux Twitter"],"Enhance CSS customization panel":["Améliorez le panneau de personnalisation des CSS"],"Writing":["Rédaction"],"Compose using shortcodes to embed media from popular sites":["Rédigez à l'aide de codes abrégés pour intégrer des médias à partir de sites populaires"],"Traffic":[""],"You need to enter your server credentials to finish configuring Backups and Scan.":["Vous devez saisir les identifiants de votre serveur pour terminer la configuration des sauvegardes et de l'analyse."],"Awaiting credentials":["Identifiants en attente"],"Backups and Scan are being configured for your site.":["Les sauvegardes et l'analyse sont en cours de configuration sur votre site."],"Provisioning":["Attribution"],"Action needed":[""],"Setting up":["Configuration"],"Discussion":[""],"We are configuring your site protection.":["Nous configurons la protection de votre site."],"View your site's backups":[""],"We are backing up your site in real-time.":[""],"Enter credentials":[""],"You need to enter your server's credentials to finish the setup.":["Vous devez saisir les identifiants de votre serveur pour terminer la configuration."],"We are configuring your site's backups.":["Nous configurons les sauvegardes de votre site."],"View site activity":[""],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack conserve un enregistrement complet de tout ce qui se passe sur votre site, afin de faciliter la gestion, le débogage et la réparation de votre site."],"Explore our Jetpack plans":["Découvrez nos plans Jetpack"],"Support documentation":["Documentation d’assistance"],"Chat bubbles representing getting in touch with support":["Bulles de discussion représentant une discussion avec l’assistance"],"Site activity":["Activité du site"],"Reach a wider audience by automatically sharing your posts on social media.":["Élargissez votre public en partageant automatiquement vos articles sur les réseaux sociaux."],"Increase traffic to your site":["Augmentez le trafic vers votre site"],"Explore free themes":["Explorez les thèmes gratuits"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Profitez d’un accès illimité à des centaines de thèmes professionnels et personnalisez votre site exactement comme vous le voulez."],"A wide variety of themes and tools to customize a site":["Grande variété de thèmes et d’outils pour personnaliser un site"],"Set up your site security":["Configurer la sécurité de votre site"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Prévenez les attaques de connexion et recevez des notifications instantanées lorsqu’un problème se produit sur votre site."],"Site stats showing an evolution in traffic and engagement":["Statistiques du site montrant l’évolution du trafic et l’intérêt du public"],"A hand holding a loupe":["Main tenant une loupe"],"A chart showing an healthy increase in earnings":["Graphique montrant une augmentation considérable des revenus"],"Interface showing a chronological list of changes and updates in a site":["Interface présentant une liste chronologique des modifications et mises à jour apportées à un site"],"A cloud with multiple types of content floating around it":["Nuage entouré de plusieurs types de contenus"],"A folder holding real comments":["Dossier contenant de vrais commentaires"],"Make your site faster":["Rendez votre site plus rapide"],"Load pages faster by serving your images from our global network of servers.":["Chargez les pages plus rapidement en diffusant vos images à partir de notre réseau mondial de serveurs."],"A fast and performant website":["Un site Web plus rapide et performant"],"A secure site, locked and protected by Jetpack":["Un site sécurisé, verrouillé et protégé par Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Dupliquez les articles, pages, témoignages et portfolios existants. L'intégralité du contenu sera copiée, y compris le texte, les images à la une, les options de partage et plus encore."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Ce site ne peut pas se connecter à WordPress.com, car il enfreint nos {{a}}conditions d'utilisation{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Connectez votre site Web aux réseaux sociaux que vous utilisez et partagez votre contenu avec tous les comptes de réseaux sociaux en un seul clic. Lorsque vous publiez un article, il apparaît sur tous les comptes connectés."],"Add Like buttons to your posts and pages":["Ajoutez des boutons J'aime à vos articles et pages"],"When visitors enjoy your content, let them show it with a Like.":["Permettez aux visiteurs qui apprécient votre contenu de le faire savoir avec l'option J'aime."],"Create account":["Créer un compte"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Votre site utilise Jetpack mais pour profiter de toutes ses fonctionnalités, vous devrez créer un compte."],"Compose content the way you want to and streamline your publishing experience.":["Créez du contenu comme il vous convient et rationalisez votre expérience de publication."],"Add a portfolio item":["Ajouter un élément de portfolio"],"Add a testimonial":["Ajouter un témoignage"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Optimisez la visibilité de votre site sur les moteurs de recherche et consultez les statistiques de trafic en temps réel."],"Create a Jetpack account to use this feature":["Créez un compte Jetpack pour utiliser cette fonctionnalité"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack continuera de surveiller votre site et vous préviendra s'il détecte des temps d'arrêt."],"Error enabling Site accelerator. %(error)s":["Erreur lors de l'activation de l'accélérateur de site. %(error)s"],"Site accelerator is now speeding up your site!":["L'accélérateur de site accélère désormais votre site !"],"Enabling Site accelerator…":["Activation de l'accélérateur de site..."],"Error disabling site accelerator. %(error)s":["Erreur lors de la désactivation de l'accélérateur de site. %(error)s"],"Site accelerator is no longer speeding up your site!":["L'accélérateur de site n'accélère plus votre site !"],"Disabling site accelerator…":["Désactivation de l'accélérateur de site..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Chargez les pages plus rapidement, optimisez les images et offrez une expérience plus rapide à vos visiteurs."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complétez les statistiques de WordPress.com grâce aux informations détaillées dont Google dispose à propos des visiteurs de votre site ainsi que de leurs habitudes de navigation."],"High-speed, high-definition video hosting with no third-party ads.":["Hébergement vidéo haute définition et haut débit sans publicités tierces."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Planifiez la publication de tweets illimités, d'articles sur Facebook et d'autres réseaux sociaux."],"Marketing Automation":["Marketing automatisé"],"Activate Jetpack Search":["Activez Jetpack Search"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Remplacez la fonction de recherche par défaut de WordPress par une fonction optimisant les résultats et le filtrage grâce à Elasticsearch."],"Start earning":["Commencer à gagner de l'argent"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds vous permet de gagner de l'argent en affichant du contenu promotionnel. Commencez à gagner de l'argent dès aujourd'hui."],"Spam is automatically blocked from your comments.":["Le contenu indésirable est automatiquement bloqué à partir de vos commentaires."],"Browse premium themes":["Parcourir les thèmes Premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Accédez à des centaines de thèmes premium magnifiques sans frais supplémentaires."],"Try a premium theme":["Essayer un thème premium"],"View settings":["Voir les paramètres"],"Create a Jetpack account to view your email followers":["Créez un compte Jetpack pour voir vos abonnés par e-mail"],"Manage security settings":["Gérer les paramètres de sécurité"],"Jetpack is ready for the new WordPress editor":["Jetpack est prêt pour le nouvel éditeur WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Aujourd'hui, nous présentons la première vague de blocs propres à Jetpack conçus spécifiquement pour le nouvel éditeur : bouton Paiement simplifié, Formulaire, Association et Markdown."],"Build your Jetpack site with blocks":["Créer votre site Jetpack avec des blocs"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Un nouvel éditeur ? Oui ! {{a}}En savoir plus{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Les fonctionnalités dont vous ne pouvez pas vous passer, adaptées au nouvel éditeur WordPress."],"Take me to the new editor":["Accéder au nouvel éditeur"],"Testing Jetpack Connection":["Test de la connexion à Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["Une erreur est survenue lors du test de Jetpack. Erreur : %(error)s"],"New in Jetpack!":["Nouveau dans Jetpack !"],"Speed up static file load times":["Accélérer le temps de chargement des fichiers statiques"],"Speed up image load times":["Accélérer le temps de chargement des images"],"Enable site accelerator":["Activer l'accélérateur de site"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Chargez les pages plus rapidement en permettant à Jetpack d'optimiser vos images et de diffuser vos images et fichiers statiques (comme CSS et JavaScript) à partir de notre réseau mondial de serveurs."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Ajoutez une couche de sécurité supplémentaire à votre site Web en activant la connexion et l'authentification sécurisée à WordPress.com. Si cette option est activée sur plusieurs de vos sites, vous pourrez vous connecter à ces derniers avec les mêmes identifiants de connexion."],"View your site activity":["Voir l'activité de votre site"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Voir une liste chronologique de toutes les modifications et mises à jour de votre site de manière lisible et organisée."],"Manually Verify ":["Vérification manuelle"],"Verify with Google":["Vérification avec Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google vous contactera pour certains évènements qui se passent sur votre site, dont une notification si votre site s'est fait {{a1}}pirater{{/a1}}, ou s’il rencontre des soucis d’{{a2}}accès ou d’indexation{{/a2}}."],"or":["ou"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Gérer le traffic de votre site et ses performances depuis {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Votre site est vérifié avec Goole"],"Site failed to verify: %(error)s":["La vérification du site a échouée : %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Ajouter un outil de recherche avancé et plus rapide à votre site grâce à Jetpack Professionnel."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Replacer l'outil de recherche par défaut de WordPress avec le module de recherche Jetpack pour une expérience de recherche avancée"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Le module de recherche de Jetpack remplace l’outil de recherche par défaut et permet une recherche rapide, extensible, personnalisée, et précise grâce à l’hébergement dans le cloud de WordPress.com. Le résultat : vos utilisateurs trouveront le contenu recherché plus rapidement."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["La recherche intégrée par défaut à WordPress est super lorsqu’il s’agit de sites avec peu de contenu. Mais plus votre site grandit, plus les recherches sont lentes et les résultats sont moins pertinents."],"Jetpack Search supports many customizations.":["Le module de recherche de Jetpack peut être personnalisé."],"Site is verified":["Site vérifié"],"Spam filtering and priority support.":["Filtrage du contenu indésirable et assistance prioritaire."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Lorsque la publicité est activée, Jetpack génère automatiquement un fichier ads.txt personnalisé pour votre site."],"Custom ads.txt entries":["Entrées ads.txt personnalisées"],"Privacy information":["Informations sur la confidentialité"],"Enable Lazy Loading for images":["Activer le chargement optimisé des images"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Les images au chargement optimisé amélioreront la vitesse de votre site et offriront une expérience de navigation plus fluide. Les images se chargeront lorsque les visiteurs feront défiler l'écran, plutôt que toutes en même temps."],"Performance & speed":["Performances et vitesse"],"Enable high-speed, ad-free video player":["Activer le lecteur vidéo haut débit sans publicité"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Rendez le contenu que vous publiez encore plus captivant avec la vidéo haute résolution. Avec Jetpack Video, vous pouvez personnaliser votre lecteur multimédia et proposer à vos visiteurs des vidéos haut débit, sans publicité et sans marque. Les vidéos sont hébergées sur nos serveurs WordPress.com et ne prennent pas de place sur votre plan d'hébergement !"],"Video":["Vidéo"],"Carousel color scheme":["Jeu de couleurs du Carrousel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Les données Exif présentent d'autres détails techniques d'une photo, comme sa focale, son ouverture et sa valeur ISO."],"Show photo Exif metadata in carousel (when available)":["Afficher les métadonnées Exif de la photo dans le Carrousel (si disponibles)."],"Display images in a full-screen carousel gallery":["Afficher les images dans une galerie du Carrousel en plein écran"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Créez un diaporama en plein écran dans le Carrousel avec les images de vos articles et pages. Les galeries du Carrousel sont adaptées aux appareils mobiles et encouragent les visiteurs de votre site à interagir avec vos photos."],"Portfolios shortcode: [portfolio]":["Code abrégé des portfolios : [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Utilisez des {{portfolioLink}}portfolios{{/portfolioLink}} sur votre site pour présenter vos meilleurs produits et services. Si votre thème ne prend pas en charge les portfolios Jetpack, vous pouvez toujours utiliser un code abrégé simple pour les afficher sur votre site."],"Testimonials shortcode: [testimonials]":["Code abrégé des témoignages : [témoignages]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Ajoutez des {{testimonialLink}}témoignages{{/testimonialLink}} à votre site Web pour attirer de nouveaux clients. Si votre thème ne prend pas en charge les témoignages Jetpack, vous pouvez toujours utiliser un code abrégé simple pour les afficher sur votre site."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Les moteurs de recherche ne peuvent pas accéder à votre site pour le moment. Pour rendre votre site accessible, vérifiez vos {{a}}Paramètres de lecture{{/a}} et activez la fonction « Moteur de recherche visible »."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Bonne nouvelle : Jetpack envoie votre sitemap automatiquement à tous les principaux moteurs de recherche pour l'indexation."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Les sitemaps sont des fichiers que les moteurs de recherche comme Google ou Bing utilisent pour indexer votre site Web. Ils permettent d'améliorer votre classement dans les résultats de recherche. Lorsque vous activez cette fonctionnalité, Jetpack crée des sitemaps pour vous et les met à jour automatiquement lorsque le contenu de votre site change."],"Configure related posts in the Customizer":["Configurer les articles similaires dans l'outil de personnalisation"],"Highlight related content with a heading":["Mettre en valeur le contenu similaire avec un en-tête"],"View security scan details":["Voir les détails de l'analyse de sécurité"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Affichez une image miniature lorsque cela est possible"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Pour obtenir plus d'informations sur la façon dont les fonctionnalités spécifiques de Jetpack utilisent les données et l'activité de suivi, veuillez vous reporter à notre {{privacyCenterLink}}Centre de confidentialité{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Nous utilisons d'autres outils de suivi, notamment des outils provenant de tiers. {{cookiePolicyLink}}Découvrez-les{{/cookiePolicyLink}} et apprenez à les contrôler."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Ces informations nous permettent d'améliorer nos produits, de mieux cibler nos campagnes marketing, de personnaliser votre expérience WordPress.com et plus encore, comme indiqué dans notre {{pp}}politique de confidentialité{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Partagez les informations concernant votre utilisation des services avec notre outil d'analyse tout en étant connecté à votre compte WordPress.com. {{cookiePolicyLink}}En savoir plus{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Cette fonctionnalité est gérée par un administrateur du site. {{link}}En savoir plus{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Cette fonctionnalité a été désactivée par un administrateur du site. {{link}}En savoir plus{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Cette fonctionnalité a été activée par un administrateur du site. {{link}}En savoir plus{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s a été désactivé par un administrateur du site. {{link}}En savoir plus{{/link}}."],"This feature has been disabled by a site administrator.":["Cette fonctionnalité a été désactivée par un administrateur du site."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s a été désactivé par un administrateur du site."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Vous pouvez insérer des publicités supplémentaires à l'aide du widget Publicité. {{link}}Faites un essai !{{/link}}"],"Configure your notification settings":["Configurer vos paramètres de notification"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Le module de recherche de Jetpack remplace efficacement la fonction de recherche intégrée à WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Les fichiers de votre site sont régulièrement analysés afin de détecter les modifications non autorisées ou suspectes qui pourraient compromettre votre sécurité et vos données."],"Plugin needs updating.":["L'extension doit être mise à jour.","Les extensions doivent être mises à jour."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Les mises à jour des extensions de Jetpack vous permettent de choisir les extensions à mettre à jour automatiquement."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimisera vos images et les diffusera auprès des visiteurs de votre site à partir de l'emplacement serveur le plus proche de ces derniers. L'utilisation de notre réseau mondial de distribution de contenu améliorera considérablement la vitesse de chargement de votre site."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["La surveillance des temps d'arrêt de Jetpack garde continuellement un œil sur votre site et vous alerte dès la détection d'un problème."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Les sauvegardes Jetpack vous permettent de restaurer ou de télécharger facilement une sauvegarde à partir d'un point temporel donné."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Active un thème léger et adapté aux appareils mobiles qui s'affichera sur l'appareil mobile des visiteurs."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Charge les articles suivants automatiquement dès que le lecteur arrive en bas de page."],"Allows you to publish new posts by sending an email to a special address.":["Vous permet de publier de nouveaux articles en envoyant un e-mail à une adresse spéciale."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Ajoute une barre d'outils avec des liens sur tous vos sites, à toutes vos notifications, dans votre profil WordPress.com et sur le Lecteur."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Fournit les étiquettes masquées nécessaires pour vérifier votre site WordPress avec différents services."],"Displays information on your site activity, including visitors and popular posts or pages.":["Affiche les informations relatives à l'activité de votre site, y compris les visiteurs et les articles/pages populaires."],"Allows you to optimize your site and its content for better results in search engines.":["Vous autorise à optimiser votre site et son contenu pour améliorer les résultats dans les moteurs de recherche."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Intègre votre site WordPress à Google Analytics, une plate-forme qui offre un aperçu détaillé de votre trafic, de vos visiteurs et de vos conversions."],"Displays high-quality ads on your site that allow you to earn income.":["Affiche des publicités de qualité sur votre site pour vous permettre de gagner de l'argent."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Vous permet de partager automatiquement votre contenu le plus récent sur les réseaux sociaux, y compris Facebook et Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Ajoute des boutons J'aime à votre contenu pour permettre à vos visiteurs d'exprimer leur appréciation et leur satisfaction."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permet aux utilisateurs enregistrés de se connecter à votre site avec leur compte WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protège votre site des attaques de connexion par force brute distribuées et traditionnelles."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Sauvegarde votre site sur les serveurs mondiaux de WordPress.com, ce qui vous permet de restaurer votre contenu en cas d'urgence ou d'erreur."],"Removes spam from comments and contact forms.":["Supprime le contenu indésirable des commentaires et des formulaires de contact."],"We are committed to your privacy and security. ":["Nous sommes attachés à votre confidentialité et à votre sécurité. "],"View all Jetpack plans":["Afficher tous les plans Jetpack"],"Manage your plan":["Gérer votre plan"],"Your Plan":["Votre plan"],"You’re currently on Jetpack %(plan)s.":["Vous possédez actuellement le plan Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permet à vos lecteurs de s'abonner à vos articles ou commentaires, et de recevoir des notifications par e-mail lorsque du nouveau contenu est publié."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Remplace le formulaire de commentaire standard de WordPress par un nouveau système de commentaire qui inclut des options de connexion aux réseaux sociaux."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Activez{{/a}} pour remplacer la recherche intégrée à WordPress par le module de recherche Jetpack, une expérience de recherche améliorée."],"Add Search (Jetpack) Widget":["Ajouter le widget de recherche (Jetpack)"],"Jetpack Search is powering search on your site.":["La fonctionnalité de recherche de votre site est basée sur la recherche Jetpack."],"Manage your plugins":["Gérer vos extensions"],"Moderate comments":["Modérer les commentaires"],"Error updating privacy settings. %(error)s":["Erreur lors de la mise à jour des paramètres de confidentialité. %(error)s"],"Updated privacy settings.":["Paramètres de confidentialité mis à jour."],"Updating privacy settings…":["Mise à jour des paramètres de confidentialité…"],"Add Jetpack Search Widget":["Ajouter le widget de recherche de Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Ajoutez le widget de recherche de Jetpack à votre colonne latérale pour configurer des filtres de recherche avancée."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suite de sécurité complète, outils d'automatisation des revenus et du marketing, hébergement vidéo illimité, thèmes illimités, recherche améliorée et assistance prioritaire."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suite de sécurité complète, outils d'automatisation des revenus et du marketing, hébergement vidéo illimité et assistance prioritaire."],"Daily backups, spam filtering, and priority support.":["Sauvegardes quotidiennes, filtres anti-spam et assistance prioritaire."],"Always-on security":["Sécurité activée en permanence"],"Activate video hosting":["Activer l'hébergement vidéo"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Sauvegarde en temps réel de toutes les données de votre site avec espace illimité, restaurations en un clic, analyses de sécurité automatiques et assistance prioritaire."],"Design the perfect website":["Créez le site web parfait"],"Set up Jetpack":["Configurer Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Sauvegarde en temps réel de toutes les données de votre site avec espace illimité, restaurations en un clic et analyses de sécurité automatisées."],"Jetpack Search":["Recherche Jetpack"],"Jetpack version %(version)s":["Version de Jetpack %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Votre site est sauvegardé en temps réel et régulièrement analysé pour rechercher des menaces de sécurité."],"Daily backup of all your site data with unlimited space and one-click restores":["Sauvegarde quotidienne de toutes les données de votre site avec espace illimité et options de restauration en un clic."],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Sauvegarde en temps réel de toutes les données de votre site avec espace illimité, restaurations en un clic, analyses de sécurité automatisées, et support prioritaire."],"View your security activity":["Voir votre activité de sécurité"]," (powered by VaultPress).":[" (optimisé par VaultPress)."],"Customize Search Widget":["Personnaliser le widget de recherche"],"Please correct the issue below and try again.":["Veuillez corriger le problème ci-dessous et réessayer.","Veuillez corriger les problèmes indiqués ci-dessous et réessayer."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Nous veillons à protéger votre site contre les menaces de sécurité. Vous serez notifié si nous en détectons une."],"Jetpack version":["Version de Jetpack"],"Activity":["Activité"],"{{a}}View details{{/a}}":["{{a}}Voir les détails{{/a}}"],"Monetize your site with ads":["Monétiser votre site grâce à des publicités"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["En cliquant sur le bouton ci-dessous, vous acceptez nos {{tosLink}}conditions d’utilisation{{/tosLink}} et le {{shareDetailsLink}}partage d’informations{{/shareDetailsLink}} avec WordPress.com."],"Jetpack Stats People":["Personnes regardant un graphique de stats Jetpack"],"Hello there! Your stats have been activated.":["Bonjour&nbsp;! Vos statistiques ont été activées."],"Just give us a little time to collect data so we can display it for you here.":["Accordez-nous juste un peu de temps pour que nous puissions collecter les données et les afficher ici."],"Okay, got it!":["D’accord, je comprends&nbsp;!"],"Display ads below posts on":["Afficher des publicités sous les articles sur"],"Additional ad placements":["Emplacements de publicités supplémentaires"],"Top of each page":["Haut de chaque page"],"Second ad below post":["Seconde publicité sous l'article"],"Archives":["Archives"],"Stars":["Étoiles"],"Jupiter":["Jupiter"],"Schedule posts":["Plannifier la publication d'articles"],"Activate Publicize":["Activer Publicize"],"Your site is backed up.":["Votre site est sauvegardé."],"Get WordPress Apps for every device":["Obtenir des applications WordPress pour tous vos appareils"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gérez tous vos sites à partir d'un seul tableau de bord&nbsp;: publiez du contenu, suivez les statistiques, modérez les commentaires et bien plus encore, de n'importe où dans le monde."],"Create address":["Créer une adresse"],"Automatically share your posts to social networks":["Partager automatiquement vos articles sur les réseaux sociaux"],"Updating settings…":["Mise à jour des paramètres..."],"Updating Post by Email address…":["Mise à jour de l’adresse de publication par e-mail..."],"Your paid plan gives you access to prioritized Jetpack support.":["Votre offre payante vous donne accès à l’assistance prioritaire de Jetpack."],"You have paid for backups but they're not yet active.":["Votre offre payante comprend des sauvegardes qui ne sont pas encore actives."],"You have paid for backups and security scanning but they’re not yet active.":["Votre offre payante comprend des sauvegardes et l’analyse de sécurité, mais ces fonctionnalités ne sont pas encore actives."],"Click \"Set Up\" to finish installation.":["Cliquez sur « Installer » pour terminer l’installation."],"Checking site status…":["Vérification de l’état du site..."],"Pages":["Pages"],"Access the full list of Jetpack modules available on your site.":["Accédez à la liste complète des modules Jetpack disponibles sur votre site."],"We're here to help":["Nous sommes à votre disposition pour vous aider"],"Jetpack comes with free, basic support for all users.":["Jetpack comprend une assistance de base gratuite pour tous les utilisateurs."],"Ask a question":["Poser une question"],"Search our support site":["Rechercher dans notre site d'assistance"],"Get a faster resolution to your support questions.":["Obtenez une réponse plus rapide à vos questions."],"Host fast, high-quality, ad-free video.":["Hébergez et affichez vos vidéos rapidement avec un lecteur de haute qualité et sans publicité."],"Generate income with high-quality ads.":["Générez du revenu avec des publicités de haute qualité."],"Real-time site backups and automatic threat resolution.":["Sauvegardes de site en temps réel et résolution automatique des menaces."],"Protect against data loss, malware, and malicious attacks.":["Protégez-vous contre la perte de données, les programmes malveillants et les attaques malveillantes."],"Protect your site from spam.":["Protégez votre site contre les commentaires indésirables."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Ce site n'est pas connecté à WordPress.com. Veuillez demander à l'administrateur du site de se connecter."],"An Automattic Airline":["Une compagnie aérienne Automattic"],"Manage site connection":["Gérer la connexion du site"],"Connect your account to WordPress.com to view more stats":["Connectez votre compte à WordPress.com pour voir plus de statistiques"],"Theme enhancements":["Améliorations des thèmes"],"Load more posts using the default theme behavior":["Charger plus d'articles en suivant les réglages par défaut du thème"],"Load more posts in page with a button":["Charger les articles suivants grâce à un bouton"],"Load more posts as the reader scrolls down":["Charger les articles suivants automatiquement lors du défilement vers le bas de page"],"Theme support required.":["Votre thème doit tout d’abord prendre en charge cette fonctionnalité."],"Learn more about adding support for Infinite Scroll to your theme.":["En savoir plus sur l'ajout de la prise en charge du défilement infini dans votre thème."],"Show excerpts instead of full posts on front page and archive pages":["Afficher des extraits plutôt que des articles complets sur la page d'accueil et les pages d'archive"],"Show featured images":["Afficher les images à la Une"],"Enable the WordPress.com toolbar":["Activer la barre d'outils de WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Les outils d'écriture mis à votre disposition seront disponibles ici après avoir été activés par un administrateur."],"Portfolios":["Portfolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Notez que la {{b}}vérification de votre site à l'aide de ces services n'est pas nécessaire{{/b}} pour l'indexation de votre site par les moteurs de recherche. Pour utiliser ces outils de moteurs de recherche avancés et vérifier votre site à l'aide d'un service, collez le code de la balise HTML ci-après. Lisez l'{{support}}intégralité des instructions{{/support}} si vous rencontrez des difficultés. Services de vérification pris en charge&nbsp;: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest{{/pinterest}} et {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Générer des sitemaps XML"],"The image helps collect stats, but should work when hidden.":["L'image facilite la collecte des statistiques mais tout devrait toujours fonctionner si vous la cachez."],"Count logged in page views from":["Inclure les vues des utilisateurs suivant lorsqu’ils sont connectés"],"Allow stats reports to be viewed by":["Autoriser la consultation des rapports de stats par les utilisateurs suivants"],"In \"Upgrade\"":["Dans « Extensions »"],"Configure your Google Analytics settings":["Configurer les paramètres de Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Affichez des publicités sur le premier article de votre page d'accueil ou à la fin de chaque page et de chaque article. Insérez d'autres publicités en haut de votre site et dans une zone de widgets pour augmenter vos revenus."],"Enable ads and display an ad below each post":["Activer les publicités et afficher une publicité sous chaque article"],"Configure your sharing buttons":["Configurer vos boutons de partage"],"Connect your social media accounts":["Connecter vos comptes de réseaux sociaux"],"Match accounts using email addresses":["Associer les comptes à l'aide des adresses de messagerie"],"Require accounts to use WordPress.com Two-Step Authentication":["Exiger que les comptes utilisent l'authentification en deux étapes de WordPress.com"],"Add to whitelist":["Ajouter à la liste blanche"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Vous pouvez ajouter une adresse ou une série d’adresses IP à votre liste blanche, afin d’empêcher leur blocage par Jetpack. IPv4 et IPv6 sont pris en charge. Pour spécifier une plage d’adresses IP, entrez une valeur minimum et une valeur maximum en utilisant un tiret comme séparateur. Exemple&nbsp;: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Votre site est sauvegardé et aucune faille de sécurité n’a été détectée."],"Checking your spam protection…":["Vérification de votre protection anti-spam…"],"Fetching key…":["Récupération de la clé…"],"Your site needs an Antispam key.":["Votre site requiert une clé anti-spam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Il y a un problème avec votre clé d'API anti-spam. {{a}}En savoir plus{{/a}}."],"Your site is not protected from spam.":["Votre site n'est pas protégé contre les commentaires indésirables."],"Your Antispam key is valid.":["Votre clé anti-spam est valide."],"Your site is protected from spam.":["Votre site est protégé contre les commentaires indésirables."],"Checking key…":["Vérification de la clé…"],"Your API key":["Votre clé API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Si vous n'avez pas encore de clé API, {{a}}demandez-la ici{{/a}} et suivez le guide pour l'obtenir."],"No search results found for %(term)s":["Aucun résultat pour %(term)s"],"Enter a search term to find settings or close search.":["Saisissez un terme à rechercher pour trouver un réglage, ou fermer la recherche."],"Connections":["Connexions"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Votre site est en mode de développement, il ne peut donc pas se connecter à WordPress.com."],"Your site is connected to WordPress.com.":["Votre site est connecté à WordPress.com."],"You are the Jetpack owner.":["Votre êtes le propriétaire Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Connecté en tant que {{span}}%(username)s{{/span}}"],"View your Email Followers":["Voir vos abonnés par e-mail"],"Color scheme":["Jeu de couleurs"],"Enable Markdown use for comments.":["Activer la gestion de Markdown dans les commentaires."],"Updated settings.":["Paramètres mis à jour."],"Error updating settings. %(error)s":["Erreur lors de la mise à jour des réglages. (%(error)s)"],"Regenerated Post by Email address.":["Nouvelle adresse de publication par e-mail générée."],"Error regenerating Post by Email address. %(error)s":["Erreur lors de la génération d'une nouvelle adresse de publication par e-mail. %(error)s"],"Updated settings. Refreshing page…":["Paramètres mis à jour. Actualisation de la page…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["En {{a}}mode de développement{/a}} (certaines fonctionnalités sont désactivées) car :"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Le filtre jetpack_development_mode est actif{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}La constante JETPACK_DEV_DEBUG est utilisée{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}L’URL de votre site n’inclue pas de point (par exemple http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics est un service gratuit qui complémente nos {{a}stats intégrées à Jetpack{{/a}} en vous offrant des informations différentes sur votre trafic. Les stats de WordPress.com et Google Analytics utilisent différentes méthodes pour identifier et suivre vos visiteurs sur votre site, et peuvent donc afficher des stats quelque peu différentes."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configurer Google Analytics"],"Activate Google Analytics":["Activer Google Analytics"],"Download the free apps":["Télécharger les applications gratuites"],"Upgrade Focus: VideoPress For Weddings":["Mise en avant de l&rsquo;offre&nbsp;: VideoPress dédié aux mariages"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Vous pouvez également configurer des articles similaires dans l&rsquo;outil de personnalisation. {{ExternalLink}}Faites un essai&nbsp;!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Par défaut, les publicités sont affichées en bas de chaque page et article, ou sur le premier article de votre page d’accueil. Vous pouvez également les insérer en haut de votre site et dans une zone de widgets pour augmenter vos revenus&nbsp;!"],"Display an ad unit at the top of your site.":["Affichez une publicité en haut de votre site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["En activant la publicité, vous acceptez les {{link}}conditions d&rsquo;utilisation{{/link}} de la publicité d&rsquo;Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Votre serveur n'étant pas correctement configuré, Jetpack Protect ne peut pas protéger efficacement votre site."],"In \"Mobile\"":["Dans « Mobile »"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configurer les paramètres de notification Monitor sur WordPress.com{{/link}}"],"View your earnings":["Voir vos revenus"],"Configure site SEO":["Configurer l'optimisation des moteurs de recherche (SEO) pour le site"],"Activate SEO tools":["Activer les outils d'optimisation des moteurs de recherche (SEO)"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Pour commencer, cliquez sur &laquo;Ajouter un média&raquo; dans votre éditeur de publication et chargez une vidéo; nous nous occupons du reste&nbsp;!"],"Video Hosting":["Hébergement vidéo"],"SEO Tools":["Outils de référencement"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Outils de référencement pour augmenter les chances de votre site de s’afficher dans les résultats de recherche des internautes."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["La méthode la plus simple pour mettre en ligne sur votre site des vidéos sans publicité ni marque. Vous obtenez des statistiques sur la lecture et le partage de vidéos, et le lecteur est léger et réactif."],"You are running Jetpack on a staging server.":["Vous utilisez Jetpack sur un serveur de test."],"More Info":["Plus d&rsquo;infos"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Gérer la visibilité des Likes depuis réglages du module de partage{{/a}}"],"Your current IP: %(ip)s":["Votre IP actuelle&nbsp;: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Il y a des réglages non sauvegardés dans cet onglet; ils seront seront perdus si vous le fermez. Continuer&nbsp;?"],"This will reset all Jetpack options, are you sure?":["Cela réinitialisera toutes les options de Jetpack, souhaitez-vous continuer&nbsp;?"],"Search for a Jetpack feature.":["Recherchez une fonctionnalité Jetpack."],"Configure your Security Scans":["Configurez vos analyses de sécurité"],"Subscriber":["Abonné"],"Big iPhone/iPad Update Now Available":["Une mise à jour importante pour iPhone/iPad est désormais disponible"],"The WordPress for Android App Gets a Big Facelift":["Remaniement en profondeur de l'application WordPress pour Android"],"WordPress.com Likes are:":["Les mentions J'aime de WordPress.com sont :"],"A few catchy words to motivate your visitors to comment.":["Quelques mots pour inciter vos visiteurs à laisser un commentaire."],"Hide the stats smiley face image":["Cacher l'image de Smiley ajoutée par les statistiques"],"Whitelisted IP addresses":["Adresses IP ajoutées à la liste blanche"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Afficher un message de promotion des applications WordPress pour mobile au bas de votre thème pour mobile"],"Copied!":["Copie terminée"],"Highlight and copy the following text to your clipboard:":["Sélectionnez le texte suivant et copiez-le dans le Presse-papiers :"],"Regenerate address":["Générer une nouvelle adresse"],"Cheatin' uh?":["On triche, hein ?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Pouvez-vous nous expliquer pourquoi vous n'avez pas finalisé votre connexion Jetpack en répondant aux {{a}}2 questions de ce sondage{{/a}} ?{{/p}}{{p}}Une connexion à Jetpack est requise pour utiliser nos fonctions gratuites de sécurité et de trafic.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bienvenue sur {{s}}Jetpack %(jetpack_version)s{{/s}} !"],"Your Jetpack is already connected.":["Votre Jetpack est déjà connecté."],"You're fueled up and ready to go, Jetpack is now active.":["Vous êtes prêt à démarrer, Jetpack est désormais actif."],"You're fueled up and ready to go.":["Vous êtes prêt à démarrer."],"You are currently running a development version of Jetpack.":["Vous utilisez actuellement une version de développement de Jetpack."],"Submit Beta feedback":["Envoyer vos retours à propos de la Beta"],"What would you like to see on your Jetpack Dashboard?":["Que souhaitez-vous voir sur votre tableau de bord Jetpack ?"],"Let us know!":["Informez-nous !"],"Saving…":["Enregistrement en cours…"],"Save Settings":["Enregistrer les paramètres"],"Jetpack Stats Icon":["Icône des statistiques de Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activez les statistiques du site{{/a}} pour afficher des statistiques détaillées, les mentions J'aime, les followers, les abonnés et bien plus encore ! {{a1}}En savoir plus{{/a1}}"],"Activate Site Stats":["Activer les statistiques du site"],"Site Backups":["Sauvegardes du site"],"Upgrade":["Mettre à niveau"],"ACTIVE":["ACTIF"],"View your spam stats":["Afficher vos statistiques de spam"],"View your security dashboard":["Afficher votre tableau de bord de sécurité"],"Real-Time Backups":["Sauvegardes en temps réel"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Le site est en mode de développement, vous ne pouvez donc pas vous connecter à WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Liez votre compte à WordPress.com pour tirer le meilleur parti de Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Pour un scan complet et automatique des menaces de sécurité, {{a}}installez et activez{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack bloque activement les tentatives de connexion malveillantes. Les données s'afficheront bientôt ici !"],"Total malicious attacks blocked on your site.":["Attaques malveillantes bloquées sur votre site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activez Protect{{/a}} pour protéger votre site contre les tentatives de connexion malveillantes."],"All plugins are up-to-date. Awesome work!":["Toutes les extensions sont à jour. Excellent travail !"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack surveille votre site. Si nous pensons que votre site est indisponible, nous vous enverrons un e-mail."],"Security":["Sécurité"],"Performance":["Performance"],"Backup":["Sauvegardes"],"{{a}}View backup details{{/a}}.":["{{a}}Afficher les détails de sauvegarde{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Pour sauvegarder automatiquement l'ensemble de votre site, {{a}}installez et activez{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Indisponible en mode de développement."],"Unavailable in Dev Mode":["Indisponible en mode de développement"],"Activating %(slug)s…":["Activation de %(slug)s en cours…"],"%(slug)s has been activated.":["%(slug)s a été activé."],"%(slug)s failed to activate. %(error)s":["Échec de l'activation de %(slug)s. %(error)s"],"Deactivating %(slug)s…":["Désactivation de %(slug)s en cours…"],"%(slug)s has been deactivated.":["%(slug)s a été désactivé."],"%(slug)s failed to deactivate. %(error)s":["Échec de la désactivation de %(slug)s. %(error)s"],"Updating %(slug)s settings…":["Mise à jour des paramètres %(slug)s en cours..."],"Updated %(slug)s settings.":["Paramètres %(slug)s mis à jour."],"Error updating %(slug)s settings. %(error)s":["Erreur lors de la mise à jour des paramètres %(slug)s. %(error)s"],"Updating %(slug)s address…":["Mise à jour de l'adresse %(slug)s en cours..."],"Regenerated %(slug)s address .":["Nouvelle adresse %(slug)s générée."],"Error regenerating %(slug)s address. %(error)s":["Erreur lors de la génération d'une nouvelle adresse %(slug). %(error)s"],"Resetting Jetpack options…":["Réinitialisation des options de Jetpack..."],"Options reset.":["Options réinitialisées."],"Options failed to reset.":["Échec de la réinitialisation des options."],"There was an error disconnecting Jetpack. Error: %(error)s":["Une erreur est survenue lors de la déconnexion de Jetpack. Erreur : %(error)s"],"Unlinking from WordPress.com":["Suppression du lien de WordPress.com"],"Unlinked from WordPress.com.":["Lien supprimé de WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Erreur lors de la suppression du lien de WordPress.com. %(error)s"],"At A Glance":["D'un coup d'œil"],"Dashboard":["Tableau de bord"],"Automattic's Privacy Policy":["Politique de confidentialité d'Automattic"],"WordPress.com Terms of Service":["Conditions d'utilisation de WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Activez la mise à jour automatique des extensions.{{/a}}"],"Plugin Updates":["Mises à jour d'extensions"],"No threats found, you're good to go!":["Aucune menace trouvée, la voie est libre !"],"{{a}}Contact Support{{/a}}":["{{a}}Contacter l'assistance{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Afficher les détails sur VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Oups, %(number)s menace trouvée.","Oups, %(number)s menaces trouvées."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activez la surveillance{{/a}} pour recevoir des notifications si votre site est indisponible."],"Loading…":["Chargement en cours..."],"Downtime monitor":["Surveiller les temps d'arrêt"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Voir plus de stats sur WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Accéder aux stats détaillées{{/button}}"],"All-time comments":["Commentaires depuis la création"],"All-time views":["Vues depuis la création"],"%(number)s View":["%(number)s vue","%(number)s vues"],"Best overall day":["Meilleure journée globale"],"Views today":["Vues aujourd'hui"],"Months":["Mois"],"Weeks":["Semaines"],"Days":["Jours"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Une erreur s'est produite lors du chargement des statistiques. Réessayez ultérieurement ou {{a}}consultez vos statistiques maintenant sur WordPress.com{{/a}}"],"Click to view detailed stats.":["Cliquez pour afficher les statistiques détaillées."],"Views: %(numberOfViews)s":["Vues : %(numberOfViews)s"],"Week of %(date)s":["Semaine de %(date)s"],"Site Security":["Sécurité du site"],"Link to WordPress.com":["M'associer à WordPress.com"],"Unlink me from WordPress.com":["Me désassocier de WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Un problème est survenu lors de la connexion de votre Jetpack Cliquez de nouveau sur \"Se connecter à WordPress.com\"."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Nous avons rencontré un problème lors de l&rsquo;autorisation de Jetpack; déactivez et réactivez l&rsquo;extension, et essayez une nouvelle fois."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Vous devez rester connecté à votre blog pendant l'autorisation de Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Votre Jetpack a un petit souci.{{/s}} Veuillez nous excuser pour ce désagrément. Veuillez réessayer ultérieurement. Si le problème persiste, contactez l'assistance avec ce message : %(error_key)s"],"Disconnecting Jetpack":["Déconnexion de Jetpack"],"Learn more":["Plus d&rsquo;info."],"Posts":["Articles"],"Front page":["Page d&rsquo;accueil"],"Upload videos":["Ajout des vidéos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Afficher une liste d&rsquo;articles similaires au bas de chaque article"],"Related":["Articles similaires"],"Disconnect":["D&eacute;connecter"],"Save":["Enregistrer"],"Media":["Média"],"Mobile Theme":["Thème pour portables"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX est un langage de marquage puissant spécifiquement conçu pour écrire des équations et des formules mathématiques complexes."],"Site Stats":["Stats du Site"],"Sharing":["Partage"],"Testimonials":["T&eacute;moignages"],"Cancel":["Annuler"],"Comments":["Commentaires"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack ne pouvait pas contacter WordPress.com : %(error_key)s. Dans la plupart des cas, cela signifie que quelque chose n'est pas configuré correctement sur votre hébergement."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com a actuellement des soucis et ne peut pas alimenter votre Jetpack. Veuillez essayer utlérieurement."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Votre Jetpack a un petit souci.{{/s}} La connexion de ce site à WordPress.com n'est pas possible. Ceci est généralement provoqué par un site non accessible au public (par exemple, un site sur localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Votre site doit être accessible au public pour utiliser Jetpack : %(error_key)s"],"Edit":["Modifier"],"Connected":["Connecté"],"Activate":["Activer"],"Active":["Actif"],"Settings":["Réglages"],"Learn More":["Plus d&rsquo;info."],"Disconnect Jetpack":["Déconnecter Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Remarque :{{/b}} cette fonctionnalité va être abandonnée et supprimée de Jetpack en mars. {{link}}En savoir plus{{/link}}"],"Settings header\u0004Jetpack Backup":["Sauvegarde Jetpack"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["Liens courts WP.me"],"Settings header\u0004Auto-update plugins":["Mettre à jour les extensions automatiquement"],"Settings header\u0004Widgets":[""],"Settings header\u0004Downtime monitoring":["Surveillance des temps d'arrêt"],"Settings header\u0004Privacy Settings":["Paramètres de confidentialité"],"Settings header\u0004WordPress.com toolbar":["Barre d'outils de WordPress.com"],"Settings header\u0004Composing":["Écriture"],"Settings header\u0004Site stats":["Stats du site"],"Settings header\u0004Search engine optimization":["Optimisation pour les moteurs de recherche"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Boutons de partage"],"Settings header\u0004Publicize connections":["Connexions Publicize"],"Settings header\u0004Like buttons":["Boutons J'aime"],"Settings header\u0004Brute force attack protection":["Protection contre les attaques par force brute"],"Settings header\u0004Backups and security scanning":["Sauvegardes et analyses de sécurité"],"Notice in the empty statistics chart\u0004No activity this period":["Aucune activité sur cette période"],"Settings header, noun.\u0004WordPress.com login":["Connexion à WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Envoyer le lien"],"A caption for a button to cancel an action.\u0004Cancel":["Annuler"],"Link to learn more about Jetpack.\u0004About":["À propos"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Navigation item.\u0004Performance":["Performance"],"Navigation item.\u0004My Plan":["Mon plan"],"Navigation item.\u0004Dev Tools":["Outils de développement"],"Navigation item.\u0004Settings":["Paramètres"],"Navigation item.\u0004Discussion":["Discussion"],"Navigation item.\u0004Traffic":["Trafic"],"Navigation item.\u0004Sharing":["Partage"],"Navigation item.\u0004At A Glance":["D'un coup d'œil"],"Navigation item.\u0004Plans":["Offres"],"Navigation item.\u0004Writing":["Rédaction"],"Navigation item.\u0004Reset Options (dev only)":["Réinitialiser les options (versions de développement uniquement)"],"Navigation item.\u0004Security":["Sécurité"],"Navigation item.\u0004At a Glance":["D'un coup d'œil"],"Search term.\u0004terms of service":["conditions d'utilisation"],"Search term.\u0004tos":["cdu"],"Search term.\u0004gdpr":["rgpd"],"Search term.\u0004data":["données"],"Search term.\u0004tracks":["suivis"],"Search term.\u0004privacy":["confidentialité"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Mettre à niveau"],"Button caption\u0004Saving…":["Enregistrement en cours…"],"Button caption\u0004Save settings":["Enregistrer les paramètres"],"A heading for a block of related posts.\u0004Related":["Articles similaires"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Prévisualiser"],"Short warning message\u0004Updates needed":["Mises à jour nécessaires"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Payant"],"A header for a preview area in the configuration screen.\u0004Preview":["Aperçu"],"Ads header\u0004Ads":["Publicités"],"Dashboard widget header\u0004Site connection":["Connexion du site"],"Dashboard widget header\u0004Account connection":["Connexion du compte"],"A caption for a small button to fix security issues.\u0004Threats":["Menaces"],"A caption for a small button to fix security issues.\u0004FIX":["RÉPARER"],"Short warning message about new threats found.\u0004Threats found!":["Menace détectée&nbsp;!"],"Short message informing user that the site is secure.\u0004Secure":["Sécurisé"],"Caption for a button to set up a feature.\u0004Set up":["Configurer"],"verb\u0004Copy":["Copier"],"Shorthand for Privacy Policy.\u0004Privacy":["Confidentialité"],"Shorthand for Terms of Service.\u0004Terms":["Conditions"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Débogage"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Commentaires indésirables bloqués."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-gd-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-gd-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 72ac6177..00000000
--- a/plugins/jetpack/languages/json/jetpack-gd-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3;","lang":"gd_GB"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views","%(number)s Views","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Barrachd fiosrachaidh"],"Posts":["Puist"],"Front page":["An duilleag mhòr"],"Pinterest":[""],"Google":["Google"],"Show related content after posts":["Seall susbaint cho-cheangailte an dèidh phost"],"Related":["Co-cheangailte"],"Disconnect":["Dì-cheangail"],"Save":["Sàbhail"],"Media":["Meadhan"],"Site Stats":["Stats na làraich agad"],"Sharing":["Co-roinneadh"],"Testimonials":["Teisteanasan"],"Cancel":["Sguir dheth"],"Comments":["Beachdan"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Deasaich"],"Connected":[""],"Activate":["Cuir an gnìomh"],"Active":["Gnìomhach"],"Settings":["Roghainnean"],"Learn More":["Barrachd fiosrachaidh"],"Disconnect Jetpack":["Dì-cheangail Jetpack"],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-gl_ES-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-gl_ES-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 9e153175..00000000
--- a/plugins/jetpack/languages/json/jetpack-gl_ES-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"gl_ES"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":["Comprado o %s."],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":["por mes"],"per year":["por ano"],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Xestionar subscrición"],"Your site is being backed up.":["Estase facendo unha copia de seguridade do teu sitio."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Tes que introducir as credenciais do teu servidor para finalizar de configurar as copias de seguridade de Jetpack."],"Jetpack Backup is being configured for your site.":["Estanse configurando no teu sitio as copias de seguridade de Jetpack."],"Daily Backups":["Copias de seguridade diarias"],"Just looking for backups? We've got you covered.":["Necesitas copias de seguridade? Ocupámonos de todo."],"Solutions":["Solucións"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Inclúese no teu {{planLink}}plan profesional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Inclúese no teu {{planLink}}plan premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Inclúese no teu {{planLink}}plan personal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["As copias de seguridade sempre activas asegúranche que nunca perderás o teu sitio. Os teus cambios vanse gardando mentres os aplicas e dispos de arquivos ilimitados de copia de seguridade."],"Always-on backups ensure you never lose your site.":["As copias de seguridade sempre activas asegúranche que nunca perderás o teu sitio."],"My Products":["Os meus produtos"],"My Plan":["O meu plan"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Copia de seguridade de Jetpack {{em}}en tempo real{{/em}}"],"Your data is being securely backed up as you edit.":["Os teus datos estanse gardando de maneira segura a medida que os editas."],"Jetpack Backup {{em}}Daily{{/em}}":["Copia de seguridade de Jetpack {{em}}diaria{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Os teus datos estanse gardando de maneira segura cada día nun arquivo de 30 días."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack gratis"],"Expired on %s.":["Caduca o %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["¿Tes algunha pregunta? ¡Encantaríanos axudar! {{a}}Envía unha pregunta ao equipo de soporte de Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack ten moitas ferramentas potentes que poden axudarche a alcanzar os teus obxetivos"]," We’ve highlighted some of the features you rely on below.":[" A continuación, destacamo algunhas das características nas que confías."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Actualmente, Jetpack está potenciando as características do teu sitio. Unha vez que desactives Jetpack, estas funciones xa non estarán dispoñibles e é posible que o teu sitio xa non funcione da mesma forma."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Actualmente, Jetpack está potenciando as características do teu sitio. Unha vez que desconectes Jetpack, estas funciones xa non estarán dispoñibles e é posible que o teu sitio xa non funcione da mesma forma."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Fai crecer o teu tráfico {{a}}publicando e compartindo{{/a}} automaticamente nos medios sociais"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Bloquea os {{a}}ataques de forza bruta{{/a}} e obtén avisos inmediatos se o teu sitio está caído."],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Acelera o teu sitio e proporciona imaxes listas para móbiles coa {{a}} nosa CDN{{/a}}."],"Disable":["Desactivar"],"Are you sure you want to disconnect and deactivate?":["¿Seguro que queres desconectar e desactivar?"],"Are you sure you want to disconnect?":["¿Seguro que queres desconectar?"],"Disable Jetpack":["Desactivar Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Facemos unha copia de seguridade do teu sitio con cada cambio que realices, o que facilita a reparación dos teus erros."],"Automated Real-time Backups":["Copias de seguridade automatizadas en tempo real"],"We back up your website every day, so you never have to worry about your data again.":["Facemos unha copia de seguridade do teu sitio todos os días, polo que nunca máis terás que preocuparte polos teus datos."],"Automated Daily Backups":["Copias de seguridade diarias automáticas"],"View Your Backups":["Ver as tuas copias de seguridade"],"A Jetpack Site securely backed up with Jetpack Backup":["Un sitio Jetpack respaldado de forma segura con Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Usa a sintaxe Markdown para compoñer o contido con enlaces, listas e outros estilos. Esta opción activa Markdown no editor clásico así como dentro dun bloque do editor clásico."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activar{{/a}} para optimizar os tamaños das imaxes e cargar as imaxes desde a rápida rede global de servidores de Jetpack. Isto mellora o rendemento do teu sitio nos dispositivos de escritorio e móbiles."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack está optimizando o tamaño das túas imaxes e a velocidade de descarga usando a nosa rápida rede global de servidores. Isto mellora o rendemento do teu sitio en dispositivos de escritorio e móbiles."],"Image Accelerator":["Acelerador de imaxes"],"Start with free":["Empeza gratis"],"Now that you're set up, pick a plan that fits your needs.":["Agora que xa o configuraches, elixe un plan que se axuste ás túas necesidades."],"Jetpack Backup":["Copia de seguridade de Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["O teu plan de Jetpack ofrece protección antispam mediante Akismet. Fai clic en «configurar» para activalo no teu sitio."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Xa tes unha clave? {{a}}Activa Akismet{{/a}}"],"Verifying…":["Verificando..."],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Mellora a túa clasificación nos motores de busca coas potentes ferramentas de SEO do plan Jetpack Premium ou o Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Dalle ao teu sitio unha carga rápida e unha apariencia optimizada para dispositivos móbiles. Os visitantes seguirán vendo o teu tema habitual nos outros tamaños de pantalla."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Crea unha experiencia de lectura fluída e ininterrompida cargando máis contido a medida que os visitantes se desprazan ata a parte inferior das túas páxinas de arquivo."],"Customize your SEO settings":["Personaliza os teus axustes de SEO"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Toma o control da forma en que os motores de busca representan o teu sitio. Coas ferramentas de SEO de Jetpack podes previsualizar como se verá o teu contido nos motores de busca máis populares e cambiar elementos como o nome do teu sitio e a descrición curta en cuestión de segundos."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Engade botóns de compartir para que os visitantes poidan compartir páxinas e artigos en redes sociais cun par de clics"],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Inclúe unha pequena gráfica na túa barra de administración cunha captura do tráfico das últimas 48 horas"],"Expand to update settings for how visits are counted and manage who can view this information.":["Amplia para actualizar os axustes de como se contan os visitantes e xestionar quen ve esta información."],"You can customize the sharing buttons and choose which services to display.":["Podes personalizar os botóns de compartir e escoller que servizos amosar."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["O teu sitio está protexido por JetPack. Notificaráseche se algo precisa da túa atención"],"Find threats early so we can help fix them fast.":["Atopa ameazas pronto para que poidamos axudar a arranxalas rapidamente."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Substitúe a procura básica do teu sitio cunha procura personalizable que axude aos visitantes a atopar as respostas máis rápido"],"Never worry about losing your site – automatic backups keep your content safe.":["Nunca te preocupes acerca de perder o teu sitio - as copias de seguridade automáticas manteñen o teu contido seguro"],"Protect":["Protexer"],"Scan":["Explorar"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Baleira o spam dos teus comentarios e formularios de xeito automático para que poidas voltar ao teu negocio"],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Conecta o teu sitio en segundos a Google Analytics con Jetpack Premium ou Profesional."],"Log in to the WordPress mobile app":["Accede á aplicación móbil de WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Accede facilmente á aplicación de WordPress facendo clic no enlace que enviaremos á dirección de correo electrónico da túa conta."],"Email me a link to log in to the app":["Envíame por correo electrónico un enlace para acceder á aplicación"],"Send your new posts to this email address:":["Enviar as túas novas entradas a esta dirección de correo electrónico:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["A publicación por correo electrónico é un modo rápido de publicar novas entradas sen visitar o teu sitio. Xeraremos unha dirección de correo electrónico exclusiva para ti á que enviar o teu contido, que logo aparecerá no teu sitio como calquera outra entrada."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["A barra de ferramentas de WordPress.com substitúe a barra de ferramentas por defecto do administrador de WordPress. Ofrece acceso nun clic a avisos, ao teu perfil de WordPress.com e ás túas outras webs de Jetpack e WordPress.com. Tamén podes estar ao día dos sitios que segues no «Lector»."],"Verify site ownership with third party services":["Verifica a propiedade do sitio con servizos de terceiros"],"Generate shortened URLs for simpler sharing.":["Xera URLs acortadas para compartir máis facilmente."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Mantén aos teus visitantes ocupados con contido relacionado ao final de cada entrada. Estes axustes non se aplican a {{a}}entradas relacionadas engadidas usando o editor de bloques{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Esta característica axuda aos teus visitantes a encontrar máis contido teu mostrando entradas relacionadas ao final de cada entrada."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack xera automaticamente un arquivo {{link1}}ads.txt{{/link1}} personalizado adaptado ao teu sitio. Se necesitas engadir entradas adicionais para outras redes, por favor, engádeas no espazo de abaixo, unha por liña. {{link2}}Consulta aquí máis detalles{{/link2}}."],"Add sharing buttons to your posts and pages":["Engade botóns de compartir ás túas entradas e páxinas"],"Share your content to social media, reaching new audiences and increasing engagement.":["Comparte o teu contido nas redes sociais, conseguindo novas audiencias e aumentando a participación."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Recibe alertas se o teu sitio está desconectado. Avisarémoste tamén cando volva a estar en liña."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Con Jetpack podes elixir que os teus plugins se actualicen automaticamente con cada nova versión de plugin. Obterás de inmediato o último en seguridade e corrección de erros, asegurando que o teu sitio permanece seguro."],"Choose which plugins to auto-update":["Elixe que plugins actualizar automaticamente"],"Upgrade Jetpack now":["Actualiza Jetpack agora"],"Monetize your site by running high quality ads.":["Rendibiliza o teu sitio publicando anuncios de alta calidade."],"Customize your social posting schedule.":["Personaliza a programación das túas publicacións sociais."],"Expand your audience with pro SEO tools.":["Aumenta a túa audiencia con ferramentas SEO profesionais."],"Take your site to the next level!":["Leva o teu sitio ao seguinte nivel!"],"Search support docs":["Buscar na documentación de soporte"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Necesitas axuda? Aprende sobre como empezar, personalizar o teu sitio, usar fragmentos de código avanzados e máis."],"Start sharing":["Empeza a compartir"],"Optimized performance":["Rendemento optimizado"],"Enable the “subscribe to comments” option on your comment form":["Activa a opción «subscribirse aos comentarios» no teu formulario de comentarios"],"Enable the “subscribe to site” option on your comment form":["Activa a opción «subscribirse ao sitio» no teu formulario de comentarios"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Xestiona os axustes avanzados dos comentarios e fai crecer a túa audiencia con subscricións por correo electrónico."],"Comment form introduction":["Introducción ao formulario de comentarios"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam desenvolvido por Akismet. Os envíos do formulario de comentarios e de contacto compróbanse na nosa base de datos global de spam."],"Failed to send login email":["Fallou o envío do correo electrónico de acceso"],"Login email sent":["Enviado o correo electrónico de acceso"],"Sending login email…":["Enviando o correo electrónico de acceso..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Preocupado pola seguridade? Obtén copias de seguridade, correccións automatizadas de erros de seguridade e máis: {{a}}actualiza agora{{/a}}"],"Allow readers to like individual comments.":["Permite aos lectores dar «Gústame» aos comentarios individuais."],"Enable comment likes.":["Activar os «gústame» nos comentarios."],"Allow readers to use markdown in comments.":["Permitir aos lectores usar Markdown nos comentarios."],"Show Gravatar hovercards alongside comments.":["Mostrar imaxes de Gravatar nos comentarios."],"Complete Jetpack Setup":["Completar a configuración de Jetpack"],"Your Jetpack setup progress":["O teu progreso de configuración de Jetpack"],"View your setup checklist":["Ver a túa lista de comprobación da configuración"],"Yearly":["Anual"],"Monthly":["Mensual:"],"About Jetpack":["Sobre Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Activa controis de visibilidade de widgets para mostrar widgets só en entradas ou páxinas concretas"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["A visibilidade de widgets permíteche decidir que widgets aparecen en que páxinas, para que poidas personalizar con precisión o contido dos widgets."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Fai que haxa dispoñibles widgets adicionais no teu sitio, incluídos formularios de subscrición e cronoloxías de Twitter"],"Enhance CSS customization panel":["Mellora o panel de personalización de CSS"],"Writing":["Escritura"],"Compose using shortcodes to embed media from popular sites":["Redacta usando atallos para incrustar medios de sitios populares"],"Traffic":["Tráfico"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Tes que introducir as credenciais do teu servidor para terminar de configurar as copias de seguridade e exploración."],"Awaiting credentials":["Esperando credenciais"],"Backups and Scan are being configured for your site.":["Estanse configurando as copias de seguridade e as exploracións para o teu sitio."],"Provisioning":["Apuntalando"],"Action needed":["Acción necesaria"],"Setting up":["Configuración"],"Discussion":["Debate"],"We are configuring your site protection.":["Estamos configurando a protección do teu sitio."],"View your site's backups":["Ver as copias de seguridade do teu sitio"],"We are backing up your site in real-time.":["Estamos facendo copia de seguridade do teu sitio en tempo real."],"Enter credentials":["Introduce as credenciais"],"You need to enter your server's credentials to finish the setup.":["Necesitas introducir as credenciais do teu servidor para finalizar a instalación."],"We are configuring your site's backups.":["Estamos configurando as copias de seguridade do teu sitio."],"View site activity":["Ver a actividade do sitio"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack garda un rexistro completo de todo o que sucede no teu sitio, reducindo ao mínimo o traballo de xestión, depuración e reparación do sitio."],"Explore our Jetpack plans":["Explora os plans de Jetpack"],"Support documentation":["Documentación de soporte"],"Chat bubbles representing getting in touch with support":["Burbullas de chat que representan o contacto co soporte"],"Site activity":["Actividade do sitio"],"Reach a wider audience by automatically sharing your posts on social media.":["Acada unha audiencia maior compartindo automaticamente as túas entradas nos medios sociais."],"Increase traffic to your site":["Aumenta o tráfico cara ao teu sitio"],"Explore free themes":["Explora os temas gratuítos"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Consigue acceso ilimitado a centos de temas profesionais, e persoaliza o teu sitio exactamente como queres."],"A wide variety of themes and tools to customize a site":["Unha ampla variedade de temas e ferramentas para persoalizar un sitio"],"Set up your site security":["Configura a seguridade do teu sitio"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Evita ataques de acceso, e obtén avisos instantáneos cando haxa un problema co teu sitio."],"Site stats showing an evolution in traffic and engagement":["Estatísticas do sitio mostrando unha evolución en tráfico e participación"],"A hand holding a loupe":["Unha man sostendo unha lupa"],"A chart showing an healthy increase in earnings":["Un gráfico que mostra un saudable aumento nas gañancias"],"Interface showing a chronological list of changes and updates in a site":["Interface mostrando unha lista cronolóxica dos cambios e actualizacións dun sitio"],"A cloud with multiple types of content floating around it":["Unha nube con múltiples tipos de contido flotando ao redor"],"A folder holding real comments":["Unha carpeta con comentarios reais"],"Make your site faster":["Fai máis rápido o teu sitio"],"Load pages faster by serving your images from our global network of servers.":["Carga páxinas máis rápido servindo as túas imaxes desde a nosa rede global de servidores."],"A fast and performant website":["Unha web rápida e eficaz"],"A secure site, locked and protected by Jetpack":["Un sitio seguro, pechado e protexido por Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplica entradas, páxinas, recomendacións e porfolios existentes. Copiarase todo o contido, incluíndo texto, imaxes destacadas, axustes para compartir e moito máis."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["O sitio non se pode conectar a WordPress.com debido a que viola os nosos {{a}}termos do servizo{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Conecta a túa web ás redes sociais que uses e comparte o teu contido en todas as túas contas sociais cun só clic. Cando publicas unha entrada aparecerá en todas as contas conectadas."],"Add Like buttons to your posts and pages":["Engade botóns de «Gústame» ás túas entradas e páxinas"],"When visitors enjoy your content, let them show it with a Like.":["Cando os visitantes disfrutan do teu contido, déixalles mostralo con un «Gústame»."],"Create account":["Crear conta"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack está impulsando o teu sitio, pero para acceder a todas as súas características necesitarás crear unha conta."],"Compose content the way you want to and streamline your publishing experience.":["Redacta o contido da forma que queiras e axiliza a túa experiencia de publicación."],"Add a portfolio item":["Engade un elemento do porfolio"],"Add a testimonial":["Engade unha recomendación"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximiza a visibilidade do teu sitio nos motores de busca e visualiza as estatísticas de tráfico en tempo real."],"Create a Jetpack account to use this feature":["Crea unha conta Jetpack para usar esta característica"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack supervisará continuamente o teu sitio, e alertarate no momento en que se detecte tempo de inactividade."],"Error enabling Site accelerator. %(error)s":["Erro ao activar o acelerador do sitio. %(error)s"],"Site accelerator is now speeding up your site!":["O acelerador do sitio está agora acelerando o teu sitio!"],"Enabling Site accelerator…":["Activando o acelerador do sitio …"],"Error disabling site accelerator. %(error)s":["Erro ao desactivar o acelerador do sitio. %(error)s"],"Site accelerator is no longer speeding up your site!":["O acelerador do sitio xa non está acelerando o teu sitio!"],"Disabling site accelerator…":["Desactivando o acelerador do sitio …"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Carga páxinas máis rápido, optimiza imaxes e acelera a experiencia dos teus visitantes."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complementa as estatísticas de WordPress.com coa exploración en profundidade de Google dos teus visitantes e patróns de tráfico."],"High-speed, high-definition video hosting with no third-party ads.":["Aloxamento de vídeo de alta velocidade e alta definición sen anuncios de terceiros."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Programa con antelación un número ilimitado de tuits, publicacións de Facebook e outras publicacións sociais."],"Marketing Automation":["Automatización de márketing"],"Activate Jetpack Search":["Activa a busca de Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Substitúe a busca predeterminada de WordPress con mellores resultados e filtrado coa tecnoloxía de busca Elasticsearch."],"Start earning":["Empeza a gañar"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds permíteche gañar diñeiro mostrando contido promocional. Empeza a gañar hoxe mesmo."],"Spam is automatically blocked from your comments.":["O spam bloquéase automaticamente dos teus comentarios."],"Browse premium themes":["Ver temas premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Accede a centos de temas premium cun deseño atractivo sen custo adicional."],"Try a premium theme":["Proba un tema premium"],"View settings":["Ver axustes"],"Create a Jetpack account to view your email followers":["Crea unha conta Jetpack para ver os teus seguidores por correo electrónico"],"Manage security settings":["Xestionar axustes de seguridade"],"Jetpack is ready for the new WordPress editor":["Jetpack está preparado para o novo editor de WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Hoxe estamos introducindo a primeira ola de bloques específicos de Jetpack creados especificamente para a nova experiencia do editor: botón de Simple Payment, Formulario, Mapa e Markdown."],"Build your Jetpack site with blocks":["Crea o teu sitio Jetpack con bloques"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Un novo editor? Si! {{a}}Aprender máis{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["As características nas que confías, adaptadas ao novo editor de WordPress."],"Take me to the new editor":["Lévame ao novo editor"],"Testing Jetpack Connection":["Probando a conexión con Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["Houbo un erro ao probar Jetpack. Erro: %(erro)s"],"New in Jetpack!":["Novo en Jetpack!"],"Speed up static file load times":["Acelera os tempos de carga de arquivos estáticos"],"Speed up image load times":["Acelera os tempos de carga de imaxes"],"Enable site accelerator":["Activa o acelerador do sitio"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Carga páxinas máis rápido permitindo a Jetpack optimizar as túas imaxes e servir as túas imaxes e arquivos estáticos (como CSS e JavaScript) desde a nosa rede global de servidores."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Engade unha capa extra de seguridade á túa web activando o acceso e identificación segura de WordPress.com. Se tes varios sitios con esta opción activa, poderás acceder en todos eles coas mesmas credenciais."],"View your site activity":["Ver a actividade do teu sitio"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Ve unha lista cronolóxica de todos os cambios e actualizacións do teu sitio dun modo organizado e lexible."],"Manually Verify ":["Verificar manualmente"],"Verify with Google":["Verificar con Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google enviará correos electrónicos sobre certos eventos que ocurran no teu sitio, incluídas indicacións de que a túa web foi {{a1}}hackeada{{/a1}} ou problemas ao {{a2}}rastrexar ou indexar{{/a2}} o teu sitio."],"or":["ou"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Supervisa o tráfico e rendemento do teu sitio desde a {{a}}consola de busca de Google{{/a}}."],"Your site is verified with Google":["O teu sitio está verificado con Google"],"Site failed to verify: %(error)s":["Fallo ao verificar o sitio: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Engade buscas máis rápidas e avanzadas ao teu sitio con Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Reemplaza o buscador incluído en WordPress co buscador de Jetpack, unha experiencia avanzada de busca"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["O buscador de Jetpack substitúe ao buscador incluído cun buscador rápido, escalable, personalizable e de alta relevancia, aloxado na nube de WordPress.com. O resultado: os teus usuarios encontrarán o contido que queren máis rápido."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["O buscador incluído en WordPress é fantástico para sitios sen moito contido. Pero a medida que crece o teu sitio, as buscas ralentízanse e devolven resultados menos relevantes."],"Jetpack Search supports many customizations.":["O buscador de Jetpack ofrece moitas personalizacións."],"Site is verified":["O sitio está verificado"],"Spam filtering and priority support.":["Filtrado de spam e soporte prioritario."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Cando se activan os anuncios, Jetpack xera automaticamente un ads.txt personalizado para o teu sitio."],"Custom ads.txt entries":["Entradas en ads.txt personalizadas"],"Privacy information":["Información de privacidade"],"Enable Lazy Loading for images":["Activar carga en diferido de imaxes"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["A carga diferida de imaxes mellora a velocidade do teu sitio e crea unha experiencia de visualización máis fluída. A carga das imaxes realízase conforme os usuarios van desplazándose pola páxina en lugar de cargar todo dunha vez."],"Performance & speed":["Rendemento e velocidade"],"Enable high-speed, ad-free video player":["Activa o reprodutor de vídeo de alta velocidade, sen publicidade"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Fai que o contido que publicas sexa máis atractivo con vídeo de alta resolución. Con Jetpack Vídeo podes personalizar o teu reproductor de medios e mostrar vídeos de alta velocidade, sen anuncios nin marcas aos teus visitantes. Os vídeos alóxanse nos nosos servidores de WordPress.com e non consumen espazo do teu plan de aloxamento!"],"Video":["Vídeo"],"Carousel color scheme":["Esquema de cor do carrusel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Os datos Exif mostran aos observadores detalles técnicos dunha foto, como a súa lonxitude focal, apertura e ISO."],"Show photo Exif metadata in carousel (when available)":["Mostra metadatos Exif da foto no carrusel (cando estea dispoñible)"],"Display images in a full-screen carousel gallery":["Mostrar imaxes nunha galería de carrusel a pantalla completa"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Crea presentacións en carrusel a pantalla completa das imaxes das túas entradas e páxinas. As galerías en carrusel son perfectas para móbiles e animan aos visitantes do sitio a interactuar coas túas fotos."],"Portfolios shortcode: [portfolio]":["Shortcode de portfolios: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Utiliza {{portfolioLink}}porfolios{{/portfolioLink}} no teu sitio para mostrar os teus mellores traballos. Se o teu tema non é compatible cos porfolios de Jetpack, podes usar un sinxelo shortcode para mostralos no teu sitio."],"Testimonials shortcode: [testimonials]":["Shortcode de recomendacións: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Engade {{testimonialLink}}recomendacións{{/ testimonialLink}} á túa web para atraer novos clientes. Se o teu tema non é compatible coas recomendacións de Jetpack, podes utilizar un sinxelo shortcode para mostralas no teu sitio."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Os motores de busca no poden acceder ao teu sitio neste momento. Se queres que o teu sitio sexa accesible revisa os teus {{a}}axustes de lectura{{/a}} e cambia para activar a «Visibilidade nos motores de busca»."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Boas noticias: Jetpack está enviando o teu mapa do sitio automaticamente a todos os principais motores de busca para a súa indexación."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Os mapas do sitio son arquivos que os motores de busca como Google e Bing utilizan para indexar a túa web. Poden axudar a mellorar as túas posicións nos resultados de busca. Cando activas esta característica, Jetpack creará mapas do sitio para ti e actualizaraos automaticamente cando cambie o contido do teu sitio."],"Configure related posts in the Customizer":["Configurar as entradas relacionadas no personalizador"],"Highlight related content with a heading":["Destacar contido relacionado cunha cabeceira"],"View security scan details":["Ver detalles da exploración de seguridade"],"Test your site’s compatibility with Jetpack.":["Comproba a compatibilidade do teu sitio con Jetpack."],"Show a thumbnail image where available":["Amosa unha imaxe en miniatura onde estea dispoñible"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Para obter máis información sobre como as características específicas de Jetpack usan datos e realizar un seguimento da actividade, consulta o noso {{privacyCenterLink}}centro de privacidade{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Usamos outras ferramentas de seguimento, incluídas algunhas de terceiros. {{cookiePolicyLink}}Le acerca destes{{/cookiePolicyLink}} e sobre como controlalos."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Esta información axúdanos a mellorar os nosos produtos, facer que o marketing sexa máis relevante, personalizar a túa experiencia en WordPress.com e máis, tal como se detalla na nosa {{pp}}política de privacidade{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Comparte información coa nosa ferramenta de análise acerca do uso que fai dos servizos mentres estás conectado á túa conta de WordPress.com. {{cookiePolicyLink}}Aprende máis{{/ cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica está sendo xestionada por un administrador do sitio. {{link}}Aprende máis{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica foi desactivada por un administrador do sitio. {{link}}Aprende máis{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Esta característica foi activada por un administrador do sitio. {{link}}Aprende máis{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s foi desactivado por un administrador do sitio. {{link}}Aprende máis{{/link}}."],"This feature has been disabled by a site administrator.":["Esta característica foi desactivada polo administrador do sitio."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s foi desactivado por un administrador do sitio."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Podes colocar anuncios adicionais usando o widget de anuncios. {{link}}Próbao!{{/link}}"],"Configure your notification settings":["Configura os teus axustes de notificacións"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["O módulo de busca de Jetpack é un potente sustituto da capacidade de busca integrada en WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Os arquivos do teu sitio explóranse periodicamente na busca de modificacións non autorizadas ou sospeitosas que poderían comprometer a túa seguridade e datos."],"Plugin needs updating.":["O plugin necesita actualizarse.","Os plugins necesitan actualizarse."],"%(number)s":["%(número)s","%(número)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["As actualizacións de Plugins de Jetpack permítenche seleccionar que plugins se actualizan automaticamente."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimizará as túas imaxes e serviraas desde a ubicación do servidor máis cercana aos teus visitantes. O uso da nosa rede global de entrega de contido aumentará a velocidade de carga do teu sitio."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["O supervisor de tempo de inactividade de Jetpack manterá controlado o teu sitio e alertarate no momento en que se detecte un tempo de inactividade."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["As copias de seguridade de Jetpack permítenche restaurar ou descargar facilmente unha copia de seguridade dun momento específico."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Activa un tema lixeiro adaptado a móbiles que se mostrará aos visitantes nos seus dispositivos móbiles."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Carga automaticamente as seguintes entradas cando o lector se acerca ao fondo da páxina."],"Allows you to publish new posts by sending an email to a special address.":["Permite publicar novas entradas enviando un correo electrónico a unha dirección especial."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Engade unha barra de ferramentas con enlaces a todos os teus sitios, avisos, o teu perfil de WordPress.com e o «Lector»."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Ofrece as etiquetas ocultas necesarias para verificar o teu sitio WordPress en diversos servizos."],"Displays information on your site activity, including visitors and popular posts or pages.":["Mostra información da actividade do teu sitio, incluídos os visitantes e as entradas ou páxinas populares."],"Allows you to optimize your site and its content for better results in search engines.":["Permíteche optimizar o teu sitio e o seu contido para uns mellores resultados nos motores de busca."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integra o teu sitio WordPress con Google Analytics, unha plataforma que ofrece estatísticas do teu tráfico, visitantes e conversións."],"Displays high-quality ads on your site that allow you to earn income.":["Mostra anuncios de grande calidade no teu sitio que che permiten gañar ingresos."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Permíteche compartir automaticamente o teu contido máis recente nos sitios de medios sociais, incluídos Facebook e Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Engade botóns de «gústame» ao teu contido para que os teus visitantes poidan mostrar o seu aprecio ou gozo."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permite aos usuarios rexistrados acceder ao teu sitio coas súas contas de WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protexe o teu sitio de ataques típicos e distribuídos de forza bruta contra a pantalla de acceso."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Fai copias de seguridade do teu sitio nos servidores globais de WordPress.com, permitíndoche restaurar o teu contido en caso de emerxencia ou erro."],"Removes spam from comments and contact forms.":["Elimina o spam de comentarios e formularios de contacto."],"We are committed to your privacy and security. ":["Estamos comprometidos coa túa privacidade e seguridade."],"View all Jetpack plans":["Ver todos os plans Jetpack"],"Manage your plan":["Xestiona o teu plan"],"Your Plan":["O teu plan"],"You’re currently on Jetpack %(plan)s.":["Agora estás no/s %(plan)s de Jetpack. "],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permite aos lectores subscribirse ás túas entradas ou comentarios, e recibe avisos cando haxa novos contidos por correo electrónico."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Substitúe o formulario estándar de comentarios de WordPress cun novo sistema de comentarios que inclué opcións de acceso a medios sociais."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Actívao{{/a}} para substituír a busca incluída en WordPress por unha experiencia de busca mellorada."],"Add Search (Jetpack) Widget":["Engadir o widget de busca (Jetpack)"],"Jetpack Search is powering search on your site.":["A busca de Jetpack está mellorando a busca no teu sitio."],"Manage your plugins":["Xestiona os teus plugins"],"Moderate comments":["Modera comentarios"],"Error updating privacy settings. %(error)s":["Erro ao actualizar os axustes de privacidade. %(error)s"],"Updated privacy settings.":["Axustes de privacidade actualizados."],"Updating privacy settings…":["Actualizando axustes de privacidade…"],"Add Jetpack Search Widget":["Engadir widget de busca de Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Engade un widget de busca de Jetpack á túa barra lateral para configurar os filtros de busca avanzada."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suite completa de seguridade, marketing e ferramentas de automatización de ingresos, aloxamento ilimitado de vídeo, temas ilimitados, buscas melloradas e soporte prioritario."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suite completa de seguridade, marketing e ferramentas de automatización de ingresos, aloxamento ilimitado de vídeo e soporte prioritario."],"Daily backups, spam filtering, and priority support.":["Copias de seguridade diarias, filtrado de spam e soporte prioritario."],"Always-on security":["Seguridade sempre activa"],"Activate video hosting":["Activar aloxamento de vídeo"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copias de seguridade en tempo real de todos os datos do teu sitio con espazo ilimitado, restauracións nun clic, vixilancia automática de seguridade e soporte prioritario"],"Design the perfect website":["Deseña a web perfecta"],"Set up Jetpack":["Configurar Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Copias de seguridade en tempo real de todos os datos do teu sitio con espazo ilimitado, restauracións a un clic e exploración de seguridade automática."],"Jetpack Search":["Busca de Jetpack"],"Jetpack version %(version)s":["Jetpack versión %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["O teu sitio está facendo copia de seguridade en tempo real e explorando regularmente en busca de ameazas de seguridade."],"Daily backup of all your site data with unlimited space and one-click restores":["Copias de seguridade diarias de todos os datos do teu sitio con espazo ilimitado e restauracións cun só clic"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copias de seguridade diarias de todos os datos do teu sitio con espazo ilimitado, restauracións cun só clic, análise de seguridade automático e servizo de axuda prioritario "],"View your security activity":["Ver a túa actividade de seguridade"]," (powered by VaultPress).":["(impulsado por VaultPress)."],"Customize Search Widget":["Personalizar o widget de busca"],"Please correct the issue below and try again.":["Por favor, corrixe o problema que se enumera a continuación e volve a intentalo.","Por favor, corrixe os problemas que se enumeran a continuación e volve a intentalo."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Asegurámonos de que o teu sitio se manteña libre de ameazas á seguridade. Serás notificado se encontramos unha."],"Jetpack version":["Versión de Jetpack"],"Activity":["Actividade"],"{{a}}View details{{/a}}":["{{a}}Ver detalles{{/a}}"],"Monetize your site with ads":["Monetiza o teu sitio con anuncios"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Ao facer clic no botón inferior aceptas os nosos {{tosLink}}termos do servizo{{/tosLink}} e {{shareDetailsLink}}compartir detalles{{/shareDetailsLink}} con WordPress.com"],"Jetpack Stats People":["Estatísticas de xente Jetpack"],"Hello there! Your stats have been activated.":["Ola! As túas estatísticas están activas."],"Just give us a little time to collect data so we can display it for you here.":["Danos un pouco de tempo para recopilar datos para que poidamos mostrarchos aquí. "],"Okay, got it!":["Vale, enténdoo!"],"Display ads below posts on":["Mostra anuncios baixo as entradas"],"Additional ad placements":["Ubicacións adicionais de anuncios"],"Top of each page":["Na parte superior de cada páxina"],"Second ad below post":["Segundo anuncio baixo a entrada"],"Archives":["Arquivos"],"Stars":["Estrelas"],"Jupiter":["Xúpiter"],"Schedule posts":["Programación de entradas"],"Activate Publicize":["Activa Divulgar"],"Your site is backed up.":["O teu sitio está respaldado."],"Get WordPress Apps for every device":["Consegue aplicacións WordPress para calquera dispositivo"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Xestiona todos os teus sitios desde un só escritorio: publica contido, segue as estatísticas, modera comentarios, e moito máis desde calquera lugar do mundo."],"Create address":["Crear dirección"],"Automatically share your posts to social networks":["Comparte automaticamente as túas entradas nas redes sociais"],"Updating settings…":["Actualizando axustes..."],"Updating Post by Email address…":["Actualizando o artigo a través da dirección de correo electrónico..."],"Your paid plan gives you access to prioritized Jetpack support.":["O teu plan de pago dáche acceso ao soporte prioritario de Jetpack."],"You have paid for backups but they're not yet active.":["Pagaches polas copias de seguridade pero aínda non están activas."],"You have paid for backups and security scanning but they’re not yet active.":["Pagaches por copias e analisis de seguridade pero aínda non están activas."],"Click \"Set Up\" to finish installation.":["Feixe clic en \"Configurar\" para finalizar a instalación."],"Checking site status…":["Comprobando estado do sitio..."],"Pages":["Páxinas"],"Access the full list of Jetpack modules available on your site.":["Acceso á lista completa de módulos de Jetpack dispoñibles no teu sitio."],"We're here to help":["Onde ir para obter axuda"],"Jetpack comes with free, basic support for all users.":["Jetpack incorpora soporte básico gratuíto para todos os usuarios."],"Ask a question":["Feixe unha pregunta"],"Search our support site":["Busca no noso sitio de soporte"],"Get a faster resolution to your support questions.":["Consegue unha resposta máis rápida ás túas preguntas de soporte."],"Host fast, high-quality, ad-free video.":["Vídeo de alta calidade, sen publicidade e con aloxamento rápido."],"Generate income with high-quality ads.":["Xera beneficios con anuncios de alta calidade."],"Real-time site backups and automatic threat resolution.":["Copias de seguridade en tempo real e resolución automática de ameazas."],"Protect against data loss, malware, and malicious attacks.":["Protexe contra perdas de datos, malware e ataques maliciosos."],"Protect your site from spam.":["Protexe o teu sitio do spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Este sitio non está conectado con WordPress.com. Por favor, contacta co administrado para conectalo."],"An Automattic Airline":["Unha aerolínea de Automattic"],"Manage site connection":["Xestionar conexión do sitio"],"Connect your account to WordPress.com to view more stats":["Conecta a túa conta a WordPress.com para ver máis estatísticas"],"Theme enhancements":["Melloras do tema"],"Load more posts using the default theme behavior":["Carga máis entradas usando o comportamento por defecto do tema"],"Load more posts in page with a button":["Carga mais entradas na páxina cun botón"],"Load more posts as the reader scrolls down":["Carga máis entradas a medida que o lector navega"],"Theme support required.":["Requírese que o tema sexa compatible."],"Learn more about adding support for Infinite Scroll to your theme.":["Aprende máis sobre como engadir soporte para scroll infinito no teu tema."],"Show excerpts instead of full posts on front page and archive pages":["Usar extractos no canto de entradas completas en portada e páxinas de arquivo"],"Show featured images":["Mostra imaxes destacadas"],"Enable the WordPress.com toolbar":["Activar a barra de ferramentas de WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["As ferramentas de escritura mostraránseche aquí cando un administrador actíveas."],"Portfolios":["Portafolios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Dáche conta que {{b}}non é necesario verificar o teu sitio con estes servizos{{/b}} para que o teu sitio o indexen os motores de procura. Para usar estas ferramentas avanzadas de motores de procura e verificar o teu sitio cun servizo pega o código da etiqueta HTML a continuación. Le as {{support}}instrucións completas{{/support}} se tes algún problema. Servizos compatibles coa verificación: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} e {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Crea mapas do sitio XML"],"The image helps collect stats, but should work when hidden.":["A imaxe axuda a recoller estatísticas pero debería funcionar cando estea oculta."],"Count logged in page views from":["Contar as visualizacións de páxina conectados desde"],"Allow stats reports to be viewed by":["Permitir que sexan vistos os informes de estatísticas"],"In \"Upgrade\"":["En \"Actualización\""],"Configure your Google Analytics settings":["Configura os teus axustes de Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Mostra anuncios no primeiro artigo da túa portada ou ao final de cada páxina e entrada. Pon máis anuncios na parte superior do teu sitio e en calquera área de widgets para incrementar as túas ganancias."],"Enable ads and display an ad below each post":["Activa anuncios e mostra un anuncio debaixo de cada artigo"],"Configure your sharing buttons":["Configura os teus botóns de compartir"],"Connect your social media accounts":["Conecta coas túas contas de redes socials"],"Match accounts using email addresses":["Emparella contas utilizando a dirección de email"],"Require accounts to use WordPress.com Two-Step Authentication":["Requirir contas para usar a identificación en dous pasos de WordPress.com"],"Add to whitelist":["Engadir á lista branca"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Deberías autorizar algunhas direccións IP para que non sexan bloqueadas por Jetpack. Admítense direccións IPv4 e IPv6. Para especificar un rango, introduce o valor menor e o maior separados por un guión, p. ej: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["O teu sitio está asegurado e libre de ameazas."],"Checking your spam protection…":["Comprobando protección contra o spam..."],"Fetching key…":["Obtendo clave..."],"Your site needs an Antispam key.":["O teu sitio necesita unha clave Akismet."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Hai un problema coa túa clave de API antispam. {{a}}Saber máis{{/a}}."],"Your site is not protected from spam.":["O teu sitio non está protexido fronte ao spam."],"Your Antispam key is valid.":["A túa clave antispam non é válida."],"Your site is protected from spam.":["O teu sitio está protexido contra o spam."],"Checking key…":["Comprobando clave..."],"Your API key":["A túa clave de API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Se aínda non tes unha clave de API, {{a}}feixe clic aquí {{/a}} e segue o proceso guiado para conseguila."],"No search results found for %(term)s":["Non se atoparon resultados para %(term)"],"Enter a search term to find settings or close search.":["Escribe un termo de procura para atopar opcións ou pecha a procura."],"Connections":["Conexións"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["O teu sitio está en modo de desenvolvemento, polo que non se pode conectar con WordPress.com."],"Your site is connected to WordPress.com.":["O teu sitio está conectado con WordPress.com."],"You are the Jetpack owner.":["Es o propietario de Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Conectado como {{span}}%(username)s{{/span}}"],"View your Email Followers":["Ver os teus seguidores por correo electrónico"],"Color scheme":["Esquema de cor"],"Enable Markdown use for comments.":["Permite Markdown nos comentarios."],"Updated settings.":["Opcións gardadas."],"Error updating settings. %(error)s":["Erro actualizando opcións. %(erro)s"],"Regenerated Post by Email address.":["Artigo rexenerado desde a dirección de correo electrónico."],"Error regenerating Post by Email address. %(error)s":["Erro ao rexenerar o artigo desde a dirección de correo electrónico. %(erro) é"],"Updated settings. Refreshing page…":["Opcións actualizadas. Recargando páxina..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Actualmente en {{a}}modo de desenvolvemento{{/a}} (algunhas características están desactivadas) porque: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}O filtro jetpack_development_mode está activo{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Definiuse a constante JETPACK_DEV_DEBUG{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}A URL do teu sitio non ten punto (p.ex. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics é un servizo gratuíto que complementa nosas {{a}}estatísticas integradas{{/a}} con diferentes informes do teu tráfico. As estatísticas de WordPress.com e as de Google Analytics usan distintos métodos para identificar e seguir a actividade do teu sitio, así que normalmente mostrarán totais das túas visitas, páxinas vistas, etc. lixeiramente diferentes."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configura Google Analytics"],"Activate Google Analytics":["Activa Google Analytics"],"Download the free apps":["Descarga as aplicacións gratuítas"],"Upgrade Focus: VideoPress For Weddings":["Upgrade Focus: VideoPress para Weddings"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Agora tamén podes configurar os artigos relacionados no personalizador. {{ExternalLink}}Próbao!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Por defecto os anuncios móstranse ao final de cada páxina, entrada, ou o primeiro artigo na súa portada. Tamén podes engadilos á parte superior do seu sitio e en calquera área de widget para aumentar as túas ganancias!"],"Display an ad unit at the top of your site.":["Mostrar un bloque de anuncios na parte superior do seu sitio."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Mediante a activación dous anuncios, vostede acepta as {{link}}Condicións de servizo{{/link}} dous anuncios e Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["O teu servidor está mal configurado, o que significa que Jetpack Protect non pode protexer o teu sitio con efectividade."],"In \"Mobile\"":["En \"Móvil\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configura os teus axustes de aviso de Monitor en WordPress.com{{/link}}"],"View your earnings":["Ver as túas ganancias"],"Configure site SEO":["Configurar el SEO do sitio"],"Activate SEO tools":["Activar as ferramentas de SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Para empezar feixe clic en engadir obxecto no teu editor de entradas e sobe un vídeo. Encargarémonos do resto!"],"Video Hosting":["Aloxamento de vídeo"],"SEO Tools":["Ferramentas de SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["As ferramentas SEO avanzadas axudan a que o teu sitio sexa fácil de atopar cando a xente busque contido relevante."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["A forma máis sinxela de subirse vídeos sen anuncios nin marcas. Obtés estatísticas das reproducións de vídeo e das veces que se compartiu e o reprodutor é lixeiro e adaptable."],"You are running Jetpack on a staging server.":["Estás a executar Jetpack nun servidor de desenvolvemento."],"More Info":["Máis Información"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Manage Likes visibilidade desde o Sharing Module Settings{{/a}}"],"Your current IP: %(ip)s":["Túa IP actual: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Hai configuracións sen gardar neste tab que serán perdidas se as deixas así. Proceder?"],"This will reset all Jetpack options, are you sure?":["Isto resetea todas as opcións Jetpack, estás seguro?"],"Search for a Jetpack feature.":["Buscar unha característica Jetpack."],"Configure your Security Scans":["Configurar os teus Escáneres de Seguranza"],"Subscriber":["Subscritor"],"Big iPhone/iPad Update Now Available":["Big iPhone/iPad Update Agora Dispoñíbel"],"The WordPress for Android App Gets a Big Facelift":["O WordPress para Android App Consegue unha Gran Mellora do Aspecto"],"WordPress.com Likes are:":["WordPress.com Likes son:"],"A few catchy words to motivate your visitors to comment.":["Expresións pegadizas para motivar aos teus lectores para comentar."],"Hide the stats smiley face image":["Oculta a imaxe da carita feliz das estatísticas"],"Whitelisted IP addresses":["Lista branca de direccións IP"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Mostra unha promo das aplicacións de WordPress para móbiles no pé da versión móbil do tema"],"Copied!":["Copiado!"],"Highlight and copy the following text to your clipboard:":["Resalte e copie o seguinte texto no portapapeles:"],"Regenerate address":["Rexenera a dirección"],"Cheatin' uh?":["Facendo trampas?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Importaríache dicirnos por que non completaches a conexión con Jetpack nesta {{a}}enquisa de 2 preguntas?{{/a}}{{/p}}{{p}}A conexión con Jetpack é obrigatoria para que funcionen as nosas características gratuítas de tráfico e seguridade.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Benvido a {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["O teu Jetpack xa está conectado."],"You're fueled up and ready to go, Jetpack is now active.":["Vostede está alimentado e listo para funcionar, Jetpack está agora activo."],"You're fueled up and ready to go.":["Vostede está alimentado e listo para funcionar."],"You are currently running a development version of Jetpack.":["Neste momento estás a executar unha versión de desenvolvemento de Jetpack."],"Submit Beta feedback":["Envía as túas suxestións"],"What would you like to see on your Jetpack Dashboard?":["Que che gustaría ver no Escritorio do teu Jetpack?"],"Let us know!":["Háznolo saber!"],"Saving…":["Gardando..."],"Save Settings":["Gardar os axustes"],"Jetpack Stats Icon":["Icona de estatísticas de Jeptpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activa as Estatísticas do sitio{{/a}} para ver estatísticas detalladas, gústame, seguidores, subscritores e máis! {{a1}}Aprende máis{{/a1}}"],"Activate Site Stats":["Activar estatísticas do sitio"],"Site Backups":["Copias de seguridade do sitio"],"Upgrade":["Actualizar"],"ACTIVE":["ACTIVO"],"View your spam stats":["Ver as túas estatísticas de spam"],"View your security dashboard":["Ver o teu escritorio de seguridade"],"Real-Time Backups":["Copias de seguridade en tempo real"],"The site is in Development Mode, so you can not connect to WordPress.com.":["O sitio está no modo de desenvolvemento, así que non podes conectarche a WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Conecta a túa conta a WordPress.com para conseguir o máximo de Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Para a exploración automática e completa das ameazas de seguridade, por favor {{a}}instala e activa{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetapck está a bloquear activamente intentos de acceso maliciosos. Moi pronto se mostrasen datos aquí mesmo!"],"Total malicious attacks blocked on your site.":["Total de ataques maliciosos bloqueados no teu sitio."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activa Protexer{{/a}} para manter o teu sitio protexido de intentos de acceso malintencionados."],"All plugins are up-to-date. Awesome work!":["Todos os plugins están actualizados. Bo traballo!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack está a monitorar o teu sitio. Se cremos que o teu sitio está caído, recibirás un correo electrónico."],"Security":["Seguridade"],"Performance":["Rendemento"],"Backup":["Copia de seguridade"],"{{a}}View backup details{{/a}}.":["{{a}}Ver detalles da copia de seguridade{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Para facer automaticamente unha copia de seguridade do teu sitio completo, por favor {{a}}instala e activa{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Non dispoñible no modo desarrollador."],"Unavailable in Dev Mode":["Non dispoñible en modo desarrollador"],"Activating %(slug)s…":["Activando %(slug)s…"],"%(slug)s has been activated.":["%(slug)s activouse."],"%(slug)s failed to activate. %(error)s":["%(slug)s fallou ao activarse. %(erro)s"],"Deactivating %(slug)s…":["Desactivando %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s foi desactivado."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s non se desactivaron. %(erro)s"],"Updating %(slug)s settings…":["Actualizando %(slug)s axustes..."],"Updated %(slug)s settings.":["Axustes de %(slug)s actualizados."],"Error updating %(slug)s settings. %(error)s":["Erro actualizando os axustes %(slug)s. %(erro)s"],"Updating %(slug)s address…":["Actualizando a dirección %(slug)s..."],"Regenerated %(slug)s address .":["Rexenerar %(slug)s direccións."],"Error regenerating %(slug)s address. %(error)s":["Erro rexenerando a dirección %(slug). %(erro)s"],"Resetting Jetpack options…":["Resetear opcións de jetpack..."],"Options reset.":["Axustes restablecidos."],"Options failed to reset.":["Fallo ao restablecer as opcións."],"There was an error disconnecting Jetpack. Error: %(error)s":["Ocorreu un erro desconectando Jetpack. Erro: %(erro)s"],"Unlinking from WordPress.com":["Desconectando de WordPress.com"],"Unlinked from WordPress.com.":["Desconectado de WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Erro ao desconectar de WordPress.com. %(erro)s"],"At A Glance":["Dunha ollada"],"Dashboard":["Escritorio"],"Automattic's Privacy Policy":["Política de privacidade de Automattic"],"WordPress.com Terms of Service":["Termos do servizo de WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Activar as actualizacións automáticas de plugins{{/a}}"],"Plugin Updates":["Actualizacións de plugins"],"No threats found, you're good to go!":["Non se atoparon ameazas.Adiante!"],"{{a}}Contact Support{{/a}}":["{{a}}Contacta con soporte{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Ver detalles en VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh,%(número)s ameaza atopada.","Uh oh,%(número)s ameazas atopadas."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activa Monitor{{/a}} para recibir avisos se o teu sitio cae."],"Loading…":["Cargando..."],"Downtime monitor":["Monitoraxe de caídas"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Ver máis estatísticas en WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Ver máis estatísticas{{/button}}"],"All-time comments":["Todos os comentarios"],"All-time views":["Visitas de todo o período"],"%(number)s View":["%(Número)s Ver","%(Número)s Vistas"],"Best overall day":["O mellor día"],"Views today":["Visualizacións hoxe"],"Months":["Meses"],"Weeks":["Semanas"],"Days":["Días"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Algo pasou ao cargar as estatísticas. Por favor, téntao de novo máis tarde ou {{a}}vai as túas estatísticas agora en WordPress.com{{/a}}"],"Click to view detailed stats.":["Feixe clic para ver estadíticas detalladas."],"Views: %(numberOfViews)s":["Visitas: %(numberOfViews)s"],"Week of %(date)s":["Semana do %(date)s"],"Site Security":["Seguridade do sitio"],"Link to WordPress.com":["Conecta con WordPress.com"],"Unlink me from WordPress.com":["Desconectame de WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Houbo un problema conectando co teu Jetpack. Por favor feixe click en \"Conecta con WordPress.com\" de novo."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Tivemos unha incidencia conectando Jetpack; desactiva e volve activar o plugin de Jetpack, e conecta outra vez."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Debes permanecer conectado ao teu blogue de WordPress mentres autorizas Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}O teu Jetpack ten un problema.{{/s}} Lamentamos as molestias. Por favor, téntao máis tarde. Se o problema continúa, por favor contacta co soporte con esta mensaxe: %(erro_key)"],"Disconnecting Jetpack":["Desconectando Jetpack"],"Learn more":["Aprender máis"],"Posts":["Artigos"],"Front page":["Páxina de inicio"],"Upload videos":["Subir vídeos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Mostra contido relacionado despois das entradas"],"Related":["Relacionado"],"Disconnect":["Desconectar"],"Save":["Gardar"],"Media":["Multimedia"],"Mobile Theme":["Tema para móbiles"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX é unha linguaxe de marcado potente para escribir ecuacións matemáticas complexas e fórmulas "],"Site Stats":["Estatísticas do sitio"],"Sharing":["Compartir"],"Testimonials":["Testemuños"],"Cancel":["Cancelar"],"Comments":["Comentarios"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack non puido contactar con WordPress.com: %(error_key)s. Isto xeralmente significa que algo está configurado incorrectamente no seu servidor."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com está a ter problemas e é incapaz de alimentar o seu Jetpack. Por favor, ténteo de novo máis tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}O seu Jetpack ten un fallo.{{/s}} A conexión desta web con WordPress.com non é posible. Isto xeralmente significa que o sitio non está accesible publicamente (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["O seu sitio web ten que ser accesible ao público para usar Jetpack: %(error_key)s"],"Edit":["Editar"],"Connected":["Conectado"],"Activate":["Activar"],"Active":["Activo"],"Settings":["Preferencias"],"Learn More":["Aprender máis"],"Disconnect Jetpack":["Desconectar Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":["Copia de seguridade de Jetpack"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["Enlaces cortos WP.me"],"Settings header\u0004Auto-update plugins":["Actualización automática de plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Supervisión do tempo de inactividade"],"Settings header\u0004Privacy Settings":["Axustes de privacidade"],"Settings header\u0004WordPress.com toolbar":["Barra de ferramentas de WordPress.com"],"Settings header\u0004Composing":["Creando"],"Settings header\u0004Site stats":["Estatísticas do sitio"],"Settings header\u0004Search engine optimization":["Optimización nos motores de procura"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Botóns de compartir"],"Settings header\u0004Publicize connections":["Conexións de Publicize"],"Settings header\u0004Like buttons":["Botóns gústame"],"Settings header\u0004Brute force attack protection":["Protección ante ataques de forza bruta"],"Settings header\u0004Backups and security scanning":["Copias e analisis de seguridade"],"Notice in the empty statistics chart\u0004No activity this period":["Sen actividade neste periodo"],"Settings header, noun.\u0004WordPress.com login":["Acceso con WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Enviar ligazón"],"A caption for a button to cancel an action.\u0004Cancel":["Cancelar"],"Link to learn more about Jetpack.\u0004About":["Acerca de"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Módulos"],"Navigation item.\u0004Performance":["Rendemento"],"Navigation item.\u0004My Plan":["O meu plan"],"Navigation item.\u0004Dev Tools":["Ferramentas de desenvolvemento"],"Navigation item.\u0004Settings":["Axustes"],"Navigation item.\u0004Discussion":["Debate"],"Navigation item.\u0004Traffic":["Tráfico"],"Navigation item.\u0004Sharing":["Compartir"],"Navigation item.\u0004At A Glance":["Dunha ollada"],"Navigation item.\u0004Plans":["Planes"],"Navigation item.\u0004Writing":["Escritura"],"Navigation item.\u0004Reset Options (dev only)":["Restablecer axustes (só en versións de desenvolvemento)"],"Navigation item.\u0004Security":["Seguridade"],"Navigation item.\u0004At a Glance":["De un vistazo"],"Search term.\u0004terms of service":["termos do servizo"],"Search term.\u0004tos":["tds"],"Search term.\u0004gdpr":["rgpd"],"Search term.\u0004data":["datos"],"Search term.\u0004tracks":["pistas"],"Search term.\u0004privacy":["privacidade"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Actualizar"],"Button caption\u0004Saving…":["Gardando..."],"Button caption\u0004Save settings":["Guardar ajustes"],"A heading for a block of related posts.\u0004Related":["Relacionado"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Vista previa"],"Short warning message\u0004Updates needed":["Actualizacións necesarias"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Pagado"],"A header for a preview area in the configuration screen.\u0004Preview":["Vista previa"],"Ads header\u0004Ads":["Publicidade"],"Dashboard widget header\u0004Site connection":["Conexión ao sitio"],"Dashboard widget header\u0004Account connection":["Conexión á túa conta"],"A caption for a small button to fix security issues.\u0004Threats":["Ameazas"],"A caption for a small button to fix security issues.\u0004FIX":["SOLUCIONAR"],"Short warning message about new threats found.\u0004Threats found!":["Ameazas atopadas!"],"Short message informing user that the site is secure.\u0004Secure":["Seguro"],"Caption for a button to set up a feature.\u0004Set up":["Configurar"],"verb\u0004Copy":["Copiar"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacidade"],"Shorthand for Terms of Service.\u0004Terms":["Términos"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Depurar"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Comentarios de spam bloqueados."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-he_IL-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-he_IL-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index aa7ea9f9..00000000
--- a/plugins/jetpack/languages/json/jetpack-he_IL-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"he_IL"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["התוכנית שלך %(planName)s כוללת את %(featureName)s. נראה שגם רכשת את המוצר %(productName)s. כדאי להסיר את %(productName)s."],"real-time backups":["גיבויים בזמן אמת"],"daily backups":["גיבויים יומיים"],"Renews on %s.":["מתחדש בתאריך %s."],"Purchased on %s.":["נרכש ב-%s."],"Select a backup option:":["יש לבחור אפשרות גיבוי:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["לשדרג לתוכנית %(name)s בעלות של {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["באפשרותך לחסוך {{savings /}} בתשלום שנתי"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["מהר, אלה {{s}}מחירי היכרות שתקפים לזמן מוגבל!{{/s}}"],"Up to %(percent)d%% off!":["עד %(percent)d%% הנחה!"],"per month":["לחודש"],"per year":["לשנה"],"Which backup option is best for me?":["איזו אפשרות גיבוי היא המתאימה לי ביותר?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["ניהול מינוי"],"Your site is being backed up.":["האתר שלך בתהליך גיבוי."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["עליך להזין את פרטי הכניסה שלך לשרת כדי לסיים את הגדרת הגיבוי של Jetpack."],"Jetpack Backup is being configured for your site.":["אנחנו מגדירים כעת את הגיבוי של Jetpack באתר שלך."],"Daily Backups":["גיבויים יומיים"],"Just looking for backups? We've got you covered.":["רוצה שירות של גיבויים בלבד? יש לנו פתרון."],"Solutions":["פתרונות"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["כלול {{planLink}}בתוכנית המקצועית{{/planLink}} שלך"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["כלול {{planLink}}בתוכנית הפרימיום{{/planLink}} שלך"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["כלול {{planLink}}בתוכנית האישית{{/planLink}} שלך"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["הגיבויים מופעלים תמיד כדי לוודא שהאתר שלך לא יאבד לעולם. השינויים שלך נשמרים בזמן העריכה ויש לך גישה לארכיון גיבויים בלתי מוגבל."],"Always-on backups ensure you never lose your site.":["הגיבויים מופעלים תמיד כדי לוודא שהאתר שלך לא יאבד לעולם."],"My Products":["המוצרים שלי"],"My Plan":["התוכנית שלי"],"Jetpack Backup {{em}}Real-Time{{/em}}":["גיבויים של Jetpack {{em}}בזמן אמת{{/em}}"],"Your data is being securely backed up as you edit.":["הנתונים שלך מגובים באופן מאובטח במהלך העריכה."],"Jetpack Backup {{em}}Daily{{/em}}":["גיבויים {{em}}יומיים{{/em}} של Jetpack"],"Your data is being securely backed up every day with a 30-day archive.":["הנתונים שלך מגובים באופן מאובטח בכל יום עם ארכיון ל-30 יום."],"Jetpack Professional":["התוכנית המקצועית של Jetpack"],"Jetpack Premium":["תוכנית הפרימיום של Jetpack"],"Jetpack Personal":["התוכנית האישית של Jetpack"],"Jetpack Free":["Jetpack בחינם"],"Expired on %s.":["פג תוקף בתאריך %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["יש לך שאלה? נשמח לעזור! {{a}}ניתן לשלוח את השאלה לצוות התמיכה של Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["ל-Jetpack יש המון כלים עוצמתיים שיעזרו לך להגשים את המטרות שלך"]," We’ve highlighted some of the features you rely on below.":[" הדגשנו כמה מהתכונות שמשרתות אותך למטה."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["האתר שלך משתמש כעת במספר תכונות שמופעלות על ידי Jetpack. לאחר ההשבתה של Jetpack, התכונות האלה לא יהיו זמינות עוד וייתכן שהאתר שלך לא יפעל באותו האופן."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["האתר שלך משתמש כעת במספר תכונות שמופעלות על ידי Jetpack. לאחר הניתוק מ-Jetpack, התכונות האלה לא יהיו זמינות עוד וייתכן שהאתר שלך לא יפעל באותו האופן."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["להגדיל את התעבורה שלך עם {{a}}פרסום ושיתוף{{/a}} אוטומטי ברשתות החברתיות"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["לחסום {{a}}התקפות על ידי ניחוש סיסמה{{/a}} ולקבל הודעות מיידיות אם האתר שלך לא זמין ברשת"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["להאיץ את הפעילות של האתר שלך ולספק למבקרים תמונות שמוכנות לתצוגה בנייד עם {{a}}תכונות ה-CDN שלנו{{/a}}"],"Disable":["להשבית"],"Are you sure you want to disconnect and deactivate?":["האם ברצונך להתנתק ולהשבית את השירות?"],"Are you sure you want to disconnect?":["האם ברצונך להתנתק מהשירות?"],"Disable Jetpack":["להשבית את Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["אנחנו מגבים את האתר שלך בכל שינוי שביצעת בו וכך, קל יותר לתקן שגיאות."],"Automated Real-time Backups":["גיבויים אוטומטיים בזמן אמת"],"We back up your website every day, so you never have to worry about your data again.":["אנחנו מגבים את האתר שלך בכל יום וכך, אין צורך לדאוג לנתונים שלך."],"Automated Daily Backups":["גיבויים יומיים אוטומטיים"],"View Your Backups":["להצגת הגיבויים שלך"],"A Jetpack Site securely backed up with Jetpack Backup":["אתר של Jetpack מגובה באופן מאובטח בעזרת הגיבויים של Jetpack"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["ניתן לכתוב תוכן עם קישורים, רשימות וסגנונות נוספים באמצעות תחביר של Markdown. ההגדרה הזאת עריכה עם Markdown בעורך הקלאסי או בבלוק של העורך הקלאסי."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["ניתן {{a}}להפעיל{{/a}} כדי לשפר את גודל התמונות ולטעון את התמונות באמצעות רשת השרתים הגלובלית והמהירה של Jetpack. הפעולה תשפר את הביצועים של האתר שלך במחשבים שולחניים ובמכשירים ניידים."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["השירות של Jetpack משפר את גודל התמונות ואת קצב ההורדה שלהן באמצעות רשת השרתים הגלובלית המהירה שלנו. הפעולה תשפר את הביצועים של האתר שלך במחשבים שולחניים ובמכשירים ניידים."],"Image Accelerator":["מאיץ תמונות"],"Start with free":["התחלה עם תכנית בחינם"],"Now that you're set up, pick a plan that fits your needs.":["כעת, לאחר שהגדרת את האתר, באפשרותך לבחור תוכנית שמתאימה לדרישות שלך."],"Jetpack Backup":["גיבוי Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["התוכנית של ב-Jetpack מעניקה שלך הגנה מפני תגובות זבל דרך Akismet. יש להקליק על 'הגדרה' כדי להפעיל את האפשרות באתר שלך."],"Already have a key? {{a}}Activate Akismet{{/a}}":["כבר יש לך מפתח? {{a}}להפעיל את Akismet{{/a}}"],"Verifying…":["מאמת..."],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["ניתן לשפר את הדירוג שלך במנועי החיפוש עם כלי SEO עוצמתיים בתוכנית הפרימיום או התוכנית המקצועית של Jetpack."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["האתר שלך ישמח לזמני העלאה מהירים יותר ולמראה חלק יותר במכשירים ניידים. המבקרים ייראו את ערכת העיצוב הרגילה שלך במסכים שבגדלים אחרים."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["כדאי ליצור חוויית קריאה חלקה וללא הפרעות באמצעות העלאה של תוכן נוסף תוך כדי הגלילה של האתר לתחתית של עמודי הארכיון."],"Customize your SEO settings":["התאמה אישית של הגדרות ה-SEO באתר שלך"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["אפשר לשלוט באופן שבו מנועי החיפוש משקפים את האתר שלך. בעזרת כלי ה-SEO של JetpacK, אפשר לראות בתצוגה מקדימה איך התוכן שלך ייראה במנועי החיפוש הפופולריים ולשנות פריטים כגון שם האתר או התיאור הקצר בשניות."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["כדאי להוסיף את כפתור השיתוף כדי לאפשר למבקרים באתר לשתף את הפוסטים והעמודים שלך ברשתות החברתיות במספר לחיצות מהירות."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["אפשר להוסיף לסרגל הניהול שלך תרשים קטן שמציג תמונה כוללת של התעבורה ב-48 השעות האחרונות"],"Expand to update settings for how visits are counted and manage who can view this information.":["ניתן להרחיב אותו כדי לעדכן את ההגדרות של אופן המספור של הביקורים ולנהל את המשתמשים שיכולים לצפות במידע זה."],"You can customize the sharing buttons and choose which services to display.":["אפשר להתאים אישית את כפתורי השיתוף ולבחור את השירותים שברצונך להציג."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["האתר שלך מוגן באמצעות Jetpack. אנחנו נודיע לך אם קרה משהו שדורש את תשומת ליבך."],"Find threats early so we can help fix them fast.":["כדאי לאתר איומים מוקדם ככל שאפשר כדי שנוכל לתקנם במהירות."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["מומלץ להחליף את החיפוש הבסיסי באתר שלך עם חיפוש שניתן להתאמה שיעזור למבקרים למצוא תשובות מהר יותר."],"Never worry about losing your site – automatic backups keep your content safe.":["אין צורך לדאוג שהתוכן באתר שלך יאבד – הגיבויים האוטומטים שומרים על התוכן שלך."],"Protect":["הגנה"],"Scan":["סריקה"],"Automatically clear spam from your comments and forms so you can get back to your business.":["אפשר לנקות תגובות זבל באופן אוטומטי מהתגובות והמטפסים שלך כדי להתמקד בעסק."],"Anti-spam":["מניעת תגובות זבל"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["ניתן לחבר את האתר שלך ל-Google Analytics בשניות עם תוכנית הפרימיום של Jetpack או התוכנית המקצועית של Jetpack."],"Log in to the WordPress mobile app":["עליך להתחבר אל האפליקציה לנייד של WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["ניתן להתחבר בקלות לאפליקציה של WordPress על ידי לחיצה על הקישור ששלחנו לכתובת האימייל בחשבון שלך."],"Email me a link to log in to the app":["שלחו לי אימייל עם קישור להתחברות לאפליקציה"],"Send your new posts to this email address:":["הפוסטים החדשים שלך יישלחו לכתובת האימייל הזאת:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["הפרסום באמצעות האימייל מאפשר לך לפרסם פוסטים חדשים במהירות ללא צורך בכניסה באתר. אנחנו נייצר כתובת אימייל ייחודית עבורך ודרכה התוכן יישלח. לאחר מכן, התוכן יופיע באתר שלך בדיוק כמו כל פוסט אחר."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":["לאמת בעלות על האתר עם שירותים של צד שלישי"],"Generate shortened URLs for simpler sharing.":["ליצור כתובות URL מקוצרות לשיתוף פשוט יותר."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["כדאי לעניין את המבקרים שלך בתוכן קשור בתחתית כל פוסט. ההגדרות האלו לא יחולו על {{a}}פוסטים קשורים שנוספו באמצעות עורך הבלוקים{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["התכונה הזאת עוזרת למבקרים למצוא תוכן נוסף שלך על ידי תצוגה של פוסטים קשורים בתחתית כל פוסט."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["השירות של Jetpack יוצר באופן אוטומטי קובצי {{link1}}ads.txt{{/link1}} שמותאמים לאתר שלך. אם יש צורך להוסיף הזנות עבור רשתות אחרות, יש להוסיף אותן למטה, הזנה אחת בשורה. {{link2}}ניתן לבדוק כאן לפרטים נוספים{{/link2}}."],"Add sharing buttons to your posts and pages":["הוספת כפתורי שיתוף לפוסטים ולעמודים שלך"],"Share your content to social media, reaching new audiences and increasing engagement.":["לשתף את התוכן שלך ברשתות החברתיות, להגיע אל קהל חדש ולשפר את שיתוף הפעולה עם המבקרים."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["לקבל התראות כאשר האתר מושבת. אנחנו ניידע אותך כאשר כל התוכן מגובה, כמובן."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["בעזרת Jetpack אפשר לבחור אם ברצונך לעדכן את התוספים שלך באופן אוטומטי כאשר יש גרסה חדשה לתוסף. אנחנו נשלח לך את עדכוני האבטחה ותיקוני הבאגים האחרונים באופן מיידי ונוודא שהאתר שלך תמיד מאובטח."],"Choose which plugins to auto-update":["לבחור אילו תוספים יש לעדכן באופן אוטומטי"],"Upgrade Jetpack now":["לשדרג את Jetpack כעת"],"Monetize your site by running high quality ads.":["ליצור רווחים מהאתר על ידי תצוגה של מודעות איכותיות."],"Customize your social posting schedule.":["להתאים אישית את לוח הזמנים שלך לפרסום ברשתות החברתיות."],"Expand your audience with pro SEO tools.":["להרחיב את החשיפה לקהל בעזרת כלי SEO מקצועיים."],"Take your site to the next level!":["אפשר לשדרג את האתר שלך לרמה הבאה!"],"Search support docs":["חיפוש במסמכי עזרה"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["נדרשת לך עזרה? מידע נוסף על התחלה, התאמה אישית של האתר שלך, שימוש בקטעי קוד מתקדם ועוד."],"Start sharing":["להתחיל לשתף"],"Optimized performance":["ביצועים משופרים"],"Enable the “subscribe to comments” option on your comment form":["להפעיל את האפשרות 'להירשם כדי להגיב' בטופס התגובות שלך"],"Enable the “subscribe to site” option on your comment form":["להפעיל את האפשרות 'להירשם לאתר' בטופס התגובות שלך"],"Manage advanced comment settings and grow your audience with email subscriptions.":["לנהל את ההגדרות של התגובות המתקדמות ולהגדיל את החשיפה לקהל על ידי רישום לעדכונים באימייל."],"Comment form introduction":["הכרות עם טופס התגובה"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["השירות של Jetpack למניעת תגובות זבל – מופעל על ידי Akismet. כל התגובות והטפסים ליצירת קשר נבדקים מול בסיס הנתונים הגלובלי שלנו כדי למנוע תגובות זבל."],"Failed to send login email":["שליחת האימייל להתחברות נכשלה"],"Login email sent":["אימייל ההתחברות נשלח"],"Sending login email…":["שולח אימייל התחברות..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["האבטחה מדאיגה אותך? לקבלת גיבויים, תיקוני אבטחה אוטומטיים ועוד: {{a}}לשדרוג עכשיו{{/a}}"],"Allow readers to like individual comments.":["לאפשר לקוראים לסמן תגובות יחידות עם לייק."],"Enable comment likes.":["הפעלה של לייקים לתגובות."],"Allow readers to use markdown in comments.":["לאפשר לקוראים להשתמש ב-Markdown בתגובות."],"Show Gravatar hovercards alongside comments.":["להציג את הכרטיסיות המרחפות של Gravatar לצד התגובות."],"Complete Jetpack Setup":["השלמת ההגדרה של Jetpack"],"Your Jetpack setup progress":["התקדמות ההגדרה של Jetpack"],"View your setup checklist":["להציג את רשימת המשימות של תהליך ההגדרה"],"Yearly":["שנתי"],"Monthly":["חודשי"],"About Jetpack":["אודות Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["הפעלה של תצוגת הווידג'טים שולטת בתצוגת הווידג'טים רק בפוסטים ובעמודים מסויימים"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["התצוגה של הוויג'טים מאפשר לך להחליט מתי הווידג'טים יוצגו ובאילו עמודים, כדי שיהיה אפשר לעצב את התוכן של הווידג'טים באופן מדויק יותר."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["אפשר להוסיף וידג'טים לשימוש באתר שלך, כולל טפסים למינויים או ציוצים מטוויטר"],"Enhance CSS customization panel":["לוח התאמה אישית משופר ל-CSS"],"Writing":["כתיבה"],"Compose using shortcodes to embed media from popular sites":["כתיבת תוכן באמצעות פקודות שורטקוד כדי להטביע מדיה מאתרים פופולריים"],"Traffic":["תעבורה"],"You need to enter your server credentials to finish configuring Backups and Scan.":["עליך להזין את פרטי הכניסה שלך לשרת כדי לסיים את ההגדרה של הגיבוי והסריקה."],"Awaiting credentials":["ממתין לפרטי כניסה"],"Backups and Scan are being configured for your site.":["אנחנו מבצעים כעת הגדרה של הגיבויים והסריקות באתר שלך."],"Provisioning":["מקצה"],"Action needed":["נדרשת פעולה מצדך"],"Setting up":["מבצע הגדרה"],"Discussion":["דיון"],"We are configuring your site protection.":["אנחנו מגדירים את ההגנה באתר שלך."],"View your site's backups":["להצגת הגיבויים באתר שלך"],"We are backing up your site in real-time.":["אנחנו מגבים את האתר שלך בזמן אמת."],"Enter credentials":["יש להזין את פרטי הכניסה שלך"],"You need to enter your server's credentials to finish the setup.":["עליך להזין את פרטי הכניסה של השרת שלך כדי להשלים את ההגדרה."],"We are configuring your site's backups.":["אנחנו מגדירים את הגיבויים של האתר שלך."],"View site activity":["להצגת הפעילות באתר"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["השירות של Jetpack שומר רישום מלא של כל הפעילות באתר שלך ולכן, אין עוד צורך לנחש פעילויות כאשר מנהלים או מתקנים את האתר או מתקנים באגים."],"Explore our Jetpack plans":["עיון בתוכניות Jetpack שאנחנו מציעים"],"Support documentation":["עמודי עזרה"],"Chat bubbles representing getting in touch with support":["בועות צ'אט ליצירת קשר עם התמיכה"],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":["להגיע לקהל רחב יותר בזכות שיתוף אוטומטי של הפוסטים שלך ברשתות החברתיות."],"Increase traffic to your site":["להגדיל את התעבורה לאתר שלך"],"Explore free themes":["עיון בערכות עיצוב בחינם"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["קבלת גישה ללא הגבלה למאות ערכות עיצוב מקצועיות ולהתאים אישית את האתר שלך למראה שיימצא חן בעיניך."],"A wide variety of themes and tools to customize a site":["מגוון רחב של ערכות עיצוב וכלים להתאמה אישית של האתר"],"Set up your site security":["הגדרת האבטחה של האתר שלך"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["למנוע התקפות באמצעות התחברויות ולקבל התראות מיידיות כאשר מתגלה בעיה באתר."],"Site stats showing an evolution in traffic and engagement":["נתונים סטטיסטיים של האתר מציגים את השינויים בתעבורה ובשיתוף הפעולה"],"A hand holding a loupe":["יד שמחזיקה זכוכית מגדלת"],"A chart showing an healthy increase in earnings":["טבלה שמציגה הגדלה חיובית ברווחים"],"Interface showing a chronological list of changes and updates in a site":["ממשק שמציג רשימה כרונולוגית של השינויים והעדכונים באתר"],"A cloud with multiple types of content floating around it":["ענן עם סוגים שונים של תוכן שצפים מסביבו"],"A folder holding real comments":["תיקייה שמאחסנת תגובות אמיתיות"],"Make your site faster":["שיפור המהירות של האתר שלך"],"Load pages faster by serving your images from our global network of servers.":["טעינת עמודים מהירה יותר על ידי שליחת תמונות וקבצים סטטיים מרשת השרתים הגלובלית שלנו."],"A fast and performant website":["אתר מהיר עם ביצועים טובים יותר"],"A secure site, locked and protected by Jetpack":["אתר מאובטח עם נעילה והגנה של Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["שכפול פוסטים, עמודים, המלצות ותיקי עבודות קיימים. כל התוכן יועתק, כולל מלל, תמונות מרכזיות, הגדרות שיתוף ועוד."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["אין אפשרות לחבר את האתר הזה ל-WordPress.com כיוון שהוא מפר את {{a}}תנאי השימוש{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["ניתן לחבר את האתר שלך לרשתות החברתיות ולשתף את התוכן שלך בכל החשבונות שלך ברשתות בלחיצה אחת. כאשר מפרסמים פוסט, הוא יופיע בכל החשבונות המוחברים."],"Add Like buttons to your posts and pages":["הוספת לחצני 'לייק' לפוסטים ולעמודים"],"When visitors enjoy your content, let them show it with a Like.":["אם הבקרים יאהבו את התוכן שלך, הם יוכלו להביע את הערכתם עם 'לייק'."],"Create account":["יצירת חשבון"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["האתר שלך מופעל על ידי Jetpack אבל כדי לקבל גישה לכל התכונות עליך ליצור חשבון."],"Compose content the way you want to and streamline your publishing experience.":["ליצור תוכן כרצונך ולעבוד בתהליך עבודה יעיל לפרסום."],"Add a portfolio item":["להוסיף פריט של תיק עבודות"],"Add a testimonial":["להוסיף המלצה"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["לשפר את הנראות של האתר שלך במנועי החיפוש ולהציג נתונים סטטיסטיים של תעבורה בזמן אמת."],"Create a Jetpack account to use this feature":["יש ליצור חשבון ב-Jetpack כדי להשתמש בתכונה זו"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["השירות של Jetpack יבצע מעקב מתמיד אחר האתר שלך ויודיע לך ברגע שהאתר שלך יושבת."],"Error enabling Site accelerator. %(error)s":["שגיאה בהפעלה של מאיץ האתרים. %(error)s"],"Site accelerator is now speeding up your site!":["מאיץ האתרים כעת מזרז את הביצועים של האתר שלך!"],"Enabling Site accelerator…":["מפעיל את מאיץ האתרים..."],"Error disabling site accelerator. %(error)s":["שגיאה בהשבתת מאיץ האתרים. %(error)s"],"Site accelerator is no longer speeding up your site!":["מאיץ האתרים לא מזרז עוד את הביצועים של האתר שלך!"],"Disabling site accelerator…":["משבית את מאיץ האתרים..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["טעינת דפים מהירה יותר, תמונות משופרות והאצה של חוויות המשתמש."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["שילוב של הנתונים הסטטיסטיים מ-WordPress.com עם סקירת הנתונים המעמיקה של Google על המבקרים באתר שלך ועל דפוסי תעבורה."],"High-speed, high-definition video hosting with no third-party ads.":["אחסון וידאו מהיר וברזולוציה גבוהה שמוצג ללא מודעות של צד שלישי."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["קביעת לוח זמנים מראש לפרסום ציוצים בטוויטר, פוסטים בפייסבוק ופוסטים ברשתות חברתיות אחרות ללא הגבלה."],"Marketing Automation":["אוטומציה של שיווק"],"Activate Jetpack Search":["הפעלת החיפוש של Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["החלפה של החיפוש שבברירת מחדל ב-WordPress לחיפוש שמופעל על ידי Elasticsearch, שמאפשר תוצאות וסינונים טובים יותר."],"Start earning":["זה הזמן להתחיל להרוויח"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["השירות של WordAds מאפשר לך להרוויח כסף על ידי הצגת תוכן שיווקי. זה הזמן להתחיל להרוויח."],"Spam is automatically blocked from your comments.":["תגובות זבל נחסמות באופן אוטומטי בתגובות שלך."],"Browse premium themes":["עיון בערכות פרימיום"],"Access hundreds of beautifully designed premium themes at no extra cost.":["קבלת גישה למאות ערכות פרימיום יפות ללא עלות נוספת."],"Try a premium theme":["ערכת פרימיום לניסיון"],"View settings":["הצגת הגדרות"],"Create a Jetpack account to view your email followers":["עליך ליצור חשבון Jetpack כדי לראות את העוקבים באימייל"],"Manage security settings":["ניהול הגדרות האבטחה"],"Jetpack is ready for the new WordPress editor":["השירות של Jetpack מוכן לעורך החדש של WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["היום, אנחנו שמחים להציג את האוסף הראשון של בלוקים שמותאמים לשימוש ב-Jetpack ושנוצרו במיוחד לחוויית השימוש עם העורך החדש: כפתור תשלומים פשוטים, טופס, מפה ו-Markdown."],"Build your Jetpack site with blocks":["בניית האתר שלך ב-Jetpack עם בלוקים"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["עורך חדש? כן! {{a}}מידע נוסף{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["התכונות שעוזרות לך מותאמות כעת לעורך החדש של WordPress."],"Take me to the new editor":["אני רוצה לעבור לעורך החדש"],"Testing Jetpack Connection":["בודק את החיבוריות ל-Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["אירעה שגיאה בעת הבדיקה של Jetpack. שגיאה: %(error)s"],"New in Jetpack!":["חדש ב-Jetpack!"],"Speed up static file load times":["שיפור במהירות הטעינה של קבצים סטטיים"],"Speed up image load times":["שיפור במהירות הטעינה של תמונות"],"Enable site accelerator":["הפעלה של מאיץ האתרים"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["כעת ניתן לטעון תמונות מהר יותר עם מאיץ האתרים של JetpacK כדי לשפר את תצוגת התמונות ולשלוח את התמונות והקבצים הסטטיים (כגון CSS ו-JavaScript) מהרשת הגלובלית של השרתים שלנו."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":["צפייה בפעילות באתר שלך"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["צפייה ברשימה כרונולוגית של כל השינויים והעדכונים באתר שלך בצורה מאורגנת שקלה לקריאה."],"Manually Verify ":["אימות ידני "],"Verify with Google":["אימות באמצעות Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["השירות של Google ישלח אליך אימייל לגבי אירועים שונים שקורים באתר שלך, כולל סימנים שהאתר שלך{{a1}}נפרץ{{/a1}} או בעיות {{a2}}בסריקה או בהוספה לאינדקס{{/a2}} של האתר שלך."],"or":["או"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["מעקב אחרי התעבורה והביצועים של האתר שלך מ-{{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["האתר מאומת באמצעות Google"],"Site failed to verify: %(error)s":["אימות האתר נכשל: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["באפשרותך להוסיף אפשרויות מתקדמות לחיפוש באתר שלך עם התוכנית לעסקים של התוכנית המקצועית של Jetpack."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["החלפה בין החיפוש המובנה של WordPress לחיפוש של Jetpack, לחוויית החיפוש המשופרת"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["החיפוש של Jetpack מחליף את החיפוש המובנה בחיפוש מהיר, יעיל, שניתן להתאמה ושמציג תוצאות רלוונטיות יותר. האחסון החדש נמצא באחסון הענן של WordPress.com. התוצאה: המשתמשים שלך יכולים למצוא את התוכן שהם רוצים מהר יותר."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["השירות המובנה של WordPress מתאים לאתרים שלא כוללים כמות רבה של תוכן. ככל שהאתר גודל, החיפוש נעשה איטי ומציג תוצאות רלוונטיות פחות."],"Jetpack Search supports many customizations.":["החיפוש של Jetpack תומך באפשרויות התאמה רבות."],"Site is verified":["האתר מאומת"],"Spam filtering and priority support.":["סינון תגובות זבל ותמיכה מועדפת."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["כאשר המודעות מופעלות, השירות של Jetpack יוצר באופן אוטומטי קובצי ads.txt שמותאמים לאתר שלך."],"Custom ads.txt entries":["הזנות מותאמות של ads.txt"],"Privacy information":["מידע על פרטיות"],"Enable Lazy Loading for images":["הפעלה של טעינת תמונות עצלה"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["טעינת תמונות עצלה תשפר את המהירות של האתר שלך ותיצור חוויית צפייה חלקה יותר. התמונות נטענות רק כאשר המבקרים גוללים את המסך למטה, במקום טעינת כל התמונות במקביל."],"Performance & speed":["ביצועים ומהירות"],"Enable high-speed, ad-free video player":["הפעלה של נגן ווידאו מהיר ונטול פרסומות"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["התוכן שמפורסם באתר יכול להיות מושך יותר בעזרת סרטוני וידאו ברזולוציה גבוהה. בעזרת הווידאו של Jetpack, אפשר להתאים אישית את נגן המדיה ולהציג למבקרים שלך סרטוני וידאו מהירים ונטולי פרסומות או מיתוג. סרטוני וידאו מאוחסנים בשרתי WordPress.com ולא מנצלות את שטח האחסון של התוכנית שלך!"],"Video":["וידאו"],"Carousel color scheme":["הגלגל של ערכת הצבעים"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["נתוני Exif מציגים לצופים פרטים טכניים נוספים אודות תמונות, כגון מרחק מהמוקד, פתח ו-ISO."],"Show photo Exif metadata in carousel (when available)":["הצגה בגלגל של מטא-נתונים מסוג Exif לתמונה (כאשר זמין)"],"Display images in a full-screen carousel gallery":["הצגת תמונות בגלריית גלגל במסך מלא"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["יצירת מצגת תמונות בגלגל במסך מלא להצגת התמונות שבפוסטים ובעמודים שלך. גלריות הגלגל ידידותיות להצגה במכשירים ניידים ומעודדות את המבקרים להסתכל על התמונות שלך."],"Portfolios shortcode: [portfolio]":["פקודת מקרו לתיקי עבודות: [תיק עבודות]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["שימוש {{portfolioLink}}בתיקי עבודות{{/portfolioLink}} באתר שלך כדי להציג לראווה את העבודה הטובה ביותר שלך. אם ערכת העיצוב שלך לא תומכת בתיקי העבודות של Jetpack, אפשר עדיין להשתמש בפקודת מקרו פשוטה כדי להציג אותם באתר."],"Testimonials shortcode: [testimonials]":["פקודות מקרו להמלצות: [המלצות]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["הוספת {{testimonialLink}}המלצות{{/testimonialLink}} לאתר האינטרנט שלך כדי למשוך לקוחות חדשים. אם ערכת העיצוב שלך לא תומכת בהמלצות של Jetpack, אפשר עדיין להשתמש בפקודת מקרו פשוטה כדי להציג אותם באתר."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["למנועי החיפוש אין גישה לאתר שלך כעת. אם ברצונך לאפשר גישה לאתר שלך, יש לבדוק את {{a}}הגדרות הקריאה{{/a}} ולהפעיל את האפשרות 'תצוגה במנועי החיפוש'."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["חדשות טובות: השירות של Jetpack שולח באופן אוטומטי את מפת האתר שלך לכל מנועי החיפוש הגדולים לצורך יצירה של אינדקס."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["מפות אתרים הם קבצים שבהם מנועי החיפוש, כגון Google או Bing, משתמשים כדי ליצור אינדקס של האתר שלך. בעזרתן ניתן גם לשפר את הדירוג של האתר שלך בתוצאות החיפוש. בהפעלת התכונה הזו, השירות של Jetpack יצור את מפות האתרים עבורך ויעדכן אותן אוטומטית כאשר התוכן באתר משתנה."],"Configure related posts in the Customizer":["הגדרת הפוסטים הקשורים בכלי ההתאמה האישית"],"Highlight related content with a heading":["הדגשה של תוכן קשור באמצעות כותרת"],"View security scan details":["הצגת פרטים לגבי סריקות אבטחה"],"Test your site’s compatibility with Jetpack.":["בדיקת תאימות האתר עם Jetpack."],"Show a thumbnail image where available":["הצגה של תמונה ממוזערת כשאפשר"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["למידע נוסף על אופן השימוש של תכונות Jetpack מסוימות בנתונים ובמעקב, יש לעיין {{privacyCenterLink}}במרכז הפרטיות{{/privacyCenterLink}} שלנו."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["אנחנו משתמשים בכלים למעקב, כולל כלים של צד שלישי. {{cookiePolicyLink}}אפשר לקרוא פרטים על אלו{{/cookiePolicyLink}} על אלו ועל אופן השליטה בהם."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["המידע הזה עוזר לנו לשפר את המוצרים שלנו, להציג שיווק רלוונטי יותר, לספק לך חוויית שימוש אישית ב-WordPress.com ועוד, כפי שמפורט {{pp}}במדיניות הפרטיות{{/pp}} שלנו."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["שיתוף של פרטי השימוש שלך בשירותים השונים עם כלי הניתוח שלנו לאחר ההתחברות לחשבון שלך ב-WordPress.com. {{cookiePolicyLink}}מידע נוסף{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["תכונה זו מנוהלת על ידי מנהל מערכת של האתר. {{link}}מידע נוסף{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["תכונה זו הושבתה על ידי מנהל מערכת של האתר. {{link}}מידע נוסף{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["תכונה זו הופעלה על ידי מנהל מערכת של האתר. {{link}}מידע נוסף{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["המודול %(moduleName)s הושבת על ידי מנהל המערכת של האתר. {{link}}מידע נוסף{{/link}}."],"This feature has been disabled by a site administrator.":["תכונה זו הושבתה על ידי מנהל מערכת של האתר."],"%(moduleName)s has been disabled by a site administrator.":["המודול %(moduleName)s הושבת על ידי מנהל המערכת של האתר."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["אפשר להוסיף מודעות באמצעות וידג'ט פרסומות. {{link}}מומלץ לנסות כעת!{{/link}}"],"Configure your notification settings":["שינוי הגדרות של הודעות כעת"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["החיפוש של Jetpack הוא חלופה עוצמתית ליכולות החיפוש המוטמעות ב-WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["הקבצים באתר שלך נסרקים בקביעות כדי לגלות שינויים לא מורשים או חשודים, שעלולים לסכן את האבטחה והנתונים שלך."],"Plugin needs updating.":["יש לעדכן את התוסף.","יש לעדכן את התוספים."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["העדכונים לתוספים של Jetpack מאפשרים לך לבחור אילו תוספים יש לעדכן באופן אוטומטי."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack ימטב את התמונות שלך ויציג אותן ממיקום השרת הקרוב ביותר למבקרים שלך. שימוש ברשת שליחת התוכן העולמית שלנו ישפר את מהירות הטעינה של האתר שלך."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["ניטור זמן ההשבתה של Jetpack יעקוב אחר האתר שלך ויתריע ברגע שהוא יזהה נפילה של האתר."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["הגיבויים של Jetpack מאפשרים לך לשחזר בקלות את האתר מנקודת מסוימת בציר בזמן או להוריד גיבוי מנקודה זו."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["פעולה זו מפעילה ערכת עיצוב קלה ומותאמת למכשירים ניידים שתופיע במכשירים של המבקרים באתר שלך."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["פעולה זו מאפשרת טעינה אוטומטית של קבוצת הפוסטים הבאה כאשר הקוראים מגיעים לתחתית העמוד."],"Allows you to publish new posts by sending an email to a special address.":["פעולה זו מאפשרת לך לפרסם את הפוסטים החדשים שלך באמצעות שליחה באימייל לכתובת מסוימת."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["פעולה זו מוסיפה סרגל כלים עם קישורים לכל האתרים שלך, להודעות, לפרופיל של ב-WordPress.com ול-Reader."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["פעולה זו מאפשרת לך להוסיף את התגיות הנסתרות שנדרשות לאימות האתר שלך ב-WordPress מול שירותים שונים."],"Displays information on your site activity, including visitors and popular posts or pages.":["פעולה זו מציגה מידע אודות הפעילות באתר שלך, כולל נתונים על מבקרים ופוסטים או עמודים פופולריים."],"Allows you to optimize your site and its content for better results in search engines.":["פעולה זו מאפשרת לך למטב את האתר והתוכן שלך לקבלת תוצאות טובות יותר במנועי החיפוש."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["פעולה זו משלב את האתר שלך ב-WordPress עם Google Analytics, פלטפורמה שמציעה לך תובנות לגבי התעבורה, המבקרים והשיחות שלך."],"Displays high-quality ads on your site that allow you to earn income.":["פעולה זו מציגה מודעות איכותיות באתר שלך, באמצעותן אפשר להפיק רווחים מהאתר."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["פעולה זו מאפשרת לך לשתף באופן אוטומטי את התוכן החדש ביותר שלך ברשתות החברתיות, כולל פייסבוק וטוויטר."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["פעולה זו מוסיפה כפתור 'לייק' לתוכן שלך, באמצעותו מבקרים יכולים להביע הערכה והוקרה."],"Allows registered users to log in to your site with their WordPress.com accounts.":["פעולה זו מאפשרת למשתמשים להיכנס לאתר שלך באמצעות החשבון שלהם ב-WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["פעולה זו מגנה על האתר שלך מפני ניסיונות מבוזרים או מסורתיים של התחברות על ידי ניחוש סיסמה."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["פעולה זו מאפשרת לך לגבות את האתר שלך בשרתי WordPress.com הגלובליים. באמצעות גיבוי זה, אפשר לשחזר את התוכן שלך אם אירעה שגיאה או במקרה חירום."],"Removes spam from comments and contact forms.":["פעולה זו מסירה תגובות זבל מהתגובות ומהטפסים ליצירת קשר."],"We are committed to your privacy and security. ":["אנחנו מחויבים לפרטיות ולאבטחה שלך. "],"View all Jetpack plans":["הצגת כל התוכניות של Jetpack"],"Manage your plan":["ניהול התוכנית שלך"],"Your Plan":["התוכנית שלך"],"You’re currently on Jetpack %(plan)s.":["התוכנית הנוכחית שלך היא %(plan)s של Jetpack."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["הפעולה מאפשרת לקוראים להירשם לעדכונים לפוסטים ולתגובות שלך ולקבל הודעות באימייל על תוכן חדש."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["הפעולה מחליפה את טופס התגובות הרגיל של WordPress עם מערכת התגובות החדשה שכוללת אפשרויות להתחברות לחשבון ברשת חברתית."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}הפעלה{{/a}} כדי להחליף בין החיפוש המובנה של WordPress לחיפוש של Jetpack, לחוויית החיפוש המשופרת."],"Add Search (Jetpack) Widget":["פעולה זו מוסיפה את וידג'ט החיפוש (של Jetpack)"],"Jetpack Search is powering search on your site.":["החיפוש באתר שלך מופעל על ידי החיפוש של Jetpack."],"Manage your plugins":["ניהול התוספים שלך"],"Moderate comments":["אישור תגובות"],"Error updating privacy settings. %(error)s":["שגיאה בעדכון הגדרות הפרטיות. %(error)s"],"Updated privacy settings.":["הגדרות הפרטיות עודכנו."],"Updating privacy settings…":["מעדכן את הגדרות הפרטיות..."],"Add Jetpack Search Widget":["הוספת וידג'ט החיפוש של Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["הוספה של וידג'ט החיפוש של Jetpack לסרגל הצדי שלך כדי לאפשר הגדרה של החיפוש והמסננים."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["חבילה עם אבטחה מלאה, כלים לאוטומציה של השיווק והפקת הרווחים, אחסון וידאו ללא הגבלה, ערכות עיצוב ללא הגבלה, חיפוש מתקדם ותמיכה מועדפת."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["חבילה עם אבטחה מלאה, כלים לאוטומציה של השיווק והפקת הרווחים, אחסון וידאו ללא הגבלה ותמיכה מועדפת."],"Daily backups, spam filtering, and priority support.":["גיבויים יומיים, סינון תגובות זבל ותמיכה מועדפת."],"Always-on security":[""],"Activate video hosting":["הפעלה של אחסון הווידאו"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["גיבוי בזמן אמת של כל הנתונים באתר עם שטח בלתי מוגבל, שחזור בלחיצה אחת, סריקות אבטחה אוטומטיות ועדיפות בקבלת תמיכה"],"Design the perfect website":["תכננו את האתר המושלם"],"Set up Jetpack":["הגדרת Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["גיבוי בזמן אמת של כול הנתונים באתר עם שטח אחסון בלתי מוגבל, שחזורים בלחיצה אחת וסריקות אבטחה אוטומטיות."],"Jetpack Search":["חיפוש Jetpack"],"Jetpack version %(version)s":["גרסת Jetpack %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["האתר שלך מגובה בזמן אמת ומבוצעות בו סריקות לאיתור איומי אבטחה באופן קבוע."],"Daily backup of all your site data with unlimited space and one-click restores":["גיבוי יומי של כל הנתונים באתר עם שטח בלתי מוגבל ושחזור בלחיצה אחת"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["גיבוי בזמן אמת של כל הנתונים באתר עם שטח בלתי מוגבל, שחזור בלחיצה אחת, סריקות אבטחה אוטומטיות, טיפול באיומים בלחיצה אחת."],"View your security activity":["הצגה של פעילות האבטחה שלך"]," (powered by VaultPress).":[" (מופעל על ידי VaultPress)."],"Customize Search Widget":["התאמה אישית של וידג'ט החיפוש"],"Please correct the issue below and try again.":["כדאי לתקן את הבעיה שצוינה להלן ולנסות שוב.","כדאי לתקן את הבעיות שצוינו להלן ולנסות שוב."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["אנחנו מוודאים שהאתר שלך תמיד יהיה נקי מאיומי אבטחה. נודיע לך אם יימצא איום אבטחה באתר."],"Jetpack version":["גרסת ג'טפק"],"Activity":["פעילות"],"{{a}}View details{{/a}}":["{{a}}הצגת פרטים{{/a}}"],"Monetize your site with ads":["הפקת רווחים מהאתר שלך באמצעות פרסומות"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["לחיצה על הכפתור למטה מהווה את הסכמתך {{tosLink}}לתנאי השימוש{{/tosLink}} שלנו {{shareDetailsLink}}ולשיתוף המידע{{/shareDetailsLink}} עם WordPress.com."],"Jetpack Stats People":["אנשים מסתכלים על נתונים סטטיסטיים של Jetpack"],"Hello there! Your stats have been activated.":["שלום! הנתונים הסטטיסטיים שלך הופעלו."],"Just give us a little time to collect data so we can display it for you here.":["איסוף הנתונים יימשך זמן מה ולאחר מכן, נוכל להציג לך את המידע כאן."],"Okay, got it!":["בסדר, הבנתי!"],"Display ads below posts on":["להציג פרסומות מתחת לפוסטים ב-"],"Additional ad placements":["מיקום פרסומות נוספות"],"Top of each page":["בחלקו העליון של כל עמוד"],"Second ad below post":["פרסומת שנייה מתחת לפוסט"],"Archives":["ארכיונים"],"Stars":["כוכבים"],"Jupiter":["צדק"],"Schedule posts":["תזמון פוסטים"],"Activate Publicize":["הפעלת השיתוף האוטומטי"],"Your site is backed up.":["האתר שלך מגובה."],"Get WordPress Apps for every device":["קבלת אפליקציות WordPress עבור כל מכשיר"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["לנהל את כל האתרים שלך מלוח בקרה יחיד: פרסום תוכן, מעקב אחר נתונים סטטיסטיים, אישור תגובות ועוד הרבה יותר מכל מקום בעולם."],"Create address":["יצירת כתובת"],"Automatically share your posts to social networks":["שיתוף אוטומטי של הפוסטים שלך ברשתות החברתיות"],"Updating settings…":["מעדכן הגדרות…"],"Updating Post by Email address…":["עדכון של פוסט לפי כתובת אימייל..."],"Your paid plan gives you access to prioritized Jetpack support.":["התוכנית שלך בתשלום מאפשרת לך גישה לתמיכה מועדפת של Jetpack."],"You have paid for backups but they're not yet active.":["שילמת על גיבויים אבל הם עדיין לא פעילים."],"You have paid for backups and security scanning but they’re not yet active.":["שילמת על גיבויים וסריקות אבטחה אבל הם עדיין לא פעילים."],"Click \"Set Up\" to finish installation.":["יש ללחוץ על 'הגדרות' כדי להשלים את ההתקנה."],"Checking site status…":["בדיקת סטטוס אתר..."],"Pages":["עמודים"],"Access the full list of Jetpack modules available on your site.":["גישה לרשימה המלאה של מודולי Jetpack שזמינים באתר שלך."],"We're here to help":["נשמח לעזור"],"Jetpack comes with free, basic support for all users.":["שירות Jetpack כולל תמיכה בסיסית לכל המשתמשים ללא תשלום."],"Ask a question":["יש לי שאלה"],"Search our support site":["חיפוש באתר התמיכה"],"Get a faster resolution to your support questions.":["קבלת טיפול מהיר יותר בשאלות שלך לתמיכה."],"Host fast, high-quality, ad-free video.":["אירוח מהיר, באיכות גבוהה ונטול פרסומות של קובצי וידאו."],"Generate income with high-quality ads.":["יצירת הכנסה באמצעות פרסומות באיכות גבוהה."],"Real-time site backups and automatic threat resolution.":["גיבויים של האתר בזמן אמת וטיפול אוטומטי באיומים."],"Protect against data loss, malware, and malicious attacks.":["הגנה מפני אובדן נתונים, תוכנות זדוניות או מתקפות זדוניות."],"Protect your site from spam.":["הגנה על האתר שלך מפני תגובות זבל."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["אתר זה לא מחובר ל-WordPress.com. יש ליצור קשר עם מנהל מערכת האתר כדי להתחבר."],"An Automattic Airline":["שירות מבית Automattic"],"Manage site connection":["ניהול חיבור האתר"],"Connect your account to WordPress.com to view more stats":["כדי להציג עוד נתונים סטטיסטיים, יש לחבר את החשבון אל WordPress.com"],"Theme enhancements":["שיפור ערכת העיצוב"],"Load more posts using the default theme behavior":["טעינת פוסטים נוספים באמצעות קביעת ברירת מחדל לערכת עיצוב"],"Load more posts in page with a button":["טעינת פוסטים נוספים בעמוד באמצעות לחצן"],"Load more posts as the reader scrolls down":["טעינת פוסטים נוספים בזמן גלילה של הקורא"],"Theme support required.":["נדרשת תמיכה בערכת העיצוב."],"Learn more about adding support for Infinite Scroll to your theme.":["קבלת מידע נוסף לגבי הוספת תמיכה בגלילה אינסופית בערכת העיצוב שלך."],"Show excerpts instead of full posts on front page and archive pages":["להציג תקצירים במקום פוסטים מלאים בעמוד הראשי ובעמודי הארכיון"],"Show featured images":["הצג תמונות מרכזיות"],"Enable the WordPress.com toolbar":["הפעלת סרגל הכלים של WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["כלי הכתיבה שזמינים לך יוצגו כאן כאשר מנהל המערכת יפעיל אותם."],"Portfolios":["תיקי עבודות"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["לתשומת לבך, אין חובה {{b}}לאמת את האתר באמצעות שירותים אלה{{/b}} כדי לאפשר למנועי חיפוש להוסיף את האתר שלך לאינדקס. כדי להשתמש בכלים מתקדמים של מנוע החיפוש ולצורך אימות האתר באמצעות שירות מסוים, יש להדביק את קוד תגית ה-HTML להלן. יש לקרוא את {{support}}ההוראות המלאות{{/support}} במקרה של בעיה. שירותי אימות נתמכים: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, ו-{{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["יצירת מפת אתר בפורמט XML"],"The image helps collect stats, but should work when hidden.":["התמונה עוזרת לאסוף נתונים סטטיסטיים, אולם האיסוף אמור לפעול כשהוא מוסתר."],"Count logged in page views from":["ספירה של צפיות בעמוד בזמן מצב מחובר מאת"],"Allow stats reports to be viewed by":["מאפשר הצגת דוחות של נתונים סטטיסטיים על ידי"],"In \"Upgrade\"":["בתוך 'שדרוג'"],"Configure your Google Analytics settings":["קביעת התצורה של ההגדרות האישיות של Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["הצגה של פרסומות במאמר הראשון בעמוד הבית שלך או בסופו של כל עמוד או כל פוסט. מיקום פרסומות נוספות בחלק העליון של האתר שלך ובכל אזור וידג'ט כדי להגדיל רווחים."],"Enable ads and display an ad below each post":["הפעלת פרסומות ותצוגה של פרסומת בתחתית כל פוסט"],"Configure your sharing buttons":["קביעת תצורה של לחצי השיתוף שלך"],"Connect your social media accounts":["חיבור חשבונות אישיים של רשתות חברתיות"],"Match accounts using email addresses":["התאמת חשבונות באמצעות כתובות אימייל"],"Require accounts to use WordPress.com Two-Step Authentication":["דרישה מחשבונות להשתמש בקוד אימות דו-שלבי של WordPress.com"],"Add to whitelist":["הוספה לרשימת ההיתרים"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["באפשרותך להכניס כתובת IP או סדרת כתובות לרשימת ההיתרים ובכך למנוע לחלוטין את חסימתם על ידי Jetpack. יש תמיכה בגרסאות IPv4 ו-IPv6. כדי לציין טווח, יש להזין את הערך הנמוך והערך הגבוה כשהם מופרדים באמצעות מקף. לדוגמה: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["האתר שלך מגובה ונקי מאיומים."],"Checking your spam protection…":["בדיקת ההגנה שלך מפני תגובות זבל..."],"Fetching key…":["הבאת מפתח..."],"Your site needs an Antispam key.":["האתר שלך דורש מפתח להגנה מפני תגובות זבל."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["יש בעיה עם מפתח API של ההגנה מפני תגובות זבל. {{a}}מידע נוסף{{/a}}."],"Your site is not protected from spam.":["האתר שלך לא מוגן מפני תגובות זבל."],"Your Antispam key is valid.":["המפתח שלך להגנה מפני תגובות זבל תקף."],"Your site is protected from spam.":["האתר שלך מוגן מפני תגובות זבל."],"Checking key…":["בדיקת מפתח..."],"Your API key":["מפתח ה-API שלך"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["אם עדיין אין ברשותך מפתח API, עליך {{a}}לקבל את מפתח ה-API שלך כאן {{/a}} ולעקוב אחר ההוראות להשלמת התהליך."],"No search results found for %(term)s":["לא נמצאו תוצאות עבור %(term)s"],"Enter a search term to find settings or close search.":["יש להזין מונח לחיפוש כדי למצוא הגדרות או לסגור את החיפוש."],"Connections":["חיבורים"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["האתר שלך נמצא במצב פיתוח, לכן אין לך אפשרות להתחבר אל WordPress.com."],"Your site is connected to WordPress.com.":["האתר שלך מחובר ל-WordPress.com."],"You are the Jetpack owner.":["שירות ה-Jetpack נמצא בבעלותך."],"Connected as {{span}}%(username)s{{/span}}":["מחובר בתור {{span}}%(username)s{{/span}}"],"View your Email Followers":["הצגת העוקבים שלך באימייל"],"Color scheme":["בחירת צבעים"],"Enable Markdown use for comments.":["יש להפעיל שימוש ב-Markdown עבור תגובות."],"Updated settings.":["עודכנו הגדרות."],"Error updating settings. %(error)s":["שגיאה בעדכון הגדרות. %(error)s"],"Regenerated Post by Email address.":["יצירה מחדש של פוסט לפי כתובת אימייל."],"Error regenerating Post by Email address. %(error)s":["שגיאה במהלך יצירה מחדש של פוסט לפי כתובת אימייל. %(error)s"],"Updated settings. Refreshing page…":["עודכנו הגדרות. ריענון העמוד..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["הפריט נמצא כרגע ב{{a}}מצב פיתוח{{/a}} (חלק מהתוכנות מושבתות) בגלל: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["המסנן{{li}}jetpack_development_mode פעיל{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}הקבוע JETPACK_DEV_DEBUG מוגדר{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}חסרה נקודה בכתובת URL של האתר שלך (לדוגמה http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics הוא שירות בחינם, שמשלים את {{a}}הנתונים הסטטיסטיים המובנים שלנו{{/a}} עם תובנות שונות על התעבורה שלך. נתונים סטטיסטיים של WordPress.com ו-Google Analytics משתמשים בשיטות שונות לזיהוי ומעקב אחר פעילות באתר שלך, ולכן הם בדרך כלל יראו מספרים שונים במעט של הביקורים שלך, הצפיות וכו'."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["הגדרת Google Analytics"],"Activate Google Analytics":["הפעלת Google Analytics"],"Download the free apps":["הורדה של האפליקציות בחינם"],"Upgrade Focus: VideoPress For Weddings":["המלצת שדרוג: VideoPress לחתונות"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}באפשרותך כעת גם לקבוע את התצורה של פוסטים קשורים בכלי התאמה אישית. {{ExternalLink}}אנחנו מזמינים אותך לנסות!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["כברירת מחדל, הפרסומות מוצגות בתחתית כל עמוד או פוסט או בסופו של המאמר הראשון בעמוד הראשי שלך. אפשר גם להוסיף אותן לחלק העליון של האתר שלך ולכל אזור וידג'ט כדי להגדיל רווחים!"],"Display an ad unit at the top of your site.":["הצגה של יחידת פרסומת בחלק העליון של האתר שלך."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["הפעלת הפרסומות משמעותה הבעת הסכמה ל{{link}}תנאי השימוש של ‏Automattic‏{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["השרת שלך לא הוגדר כראוי, לכן אי אפשר להגן על האתר שלך באופן יעיל באמצעות Jetpack Protect."],"In \"Mobile\"":["תחת 'נייד'"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}קביעת הגדרות להודעות מעקב ב-WordPress.com{{/link}}"],"View your earnings":["הצגת הרווחים שלך"],"Configure site SEO":["להגדיר את ה-SEO של האתר"],"Activate SEO tools":["הפעלת כלי SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["כדי להתחיל, יש ללחוץ על 'הוספת מדיה' בעורך הפוסטים ולהעלות סרטון וידאו; אנחנו נטפל בכל השאר!"],"Video Hosting":["אחסון סרטוני וידאו"],"SEO Tools":["כלי SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["כלי SEO המתקדמים יסייעו לאנשים למצוא את האתר שלך כאשר הם מחפשים תכנים רלוונטיים."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["הדרך הקלה ביותר להעלות אל האתר שלך סרטונים נטולי פרסומות ומיתוג. אפשר לקבל נתונים סטטיסטיים על צפיות בסרטונים ושיתופים, והנגן הוא קל וריספונסיבי."],"You are running Jetpack on a staging server.":["מופעל אצלך Jetpack בשרת אחסון זמני."],"More Info":["פרטים נוספים"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}ניהול נראות 'לייקים' דרך הגדרות מודול השיתוף{{/a}}"],"Your current IP: %(ip)s":["כתובת ה-IP הנוכחית שלך: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["כרטיסייה זו מכילה הגדרות שלא נשמרו; ביציאה מהכרטיסייה הן ילכו לאיבוד. האם להמשיך?"],"This will reset all Jetpack options, are you sure?":["דבר זה יגרום לאיפוס כל אפשרויות Jetpack; האם ההחלטה שלך סופית?"],"Search for a Jetpack feature.":["חיפוש אחר תכונה של Jetpack."],"Configure your Security Scans":["הגדרת תצורה של סריקות אבטחה"],"Subscriber":["מנוי רשום לעדכונים"],"Big iPhone/iPad Update Now Available":["עדכון גדול ל-iPhone/iPad זמין עכשיו"],"The WordPress for Android App Gets a Big Facelift":["אפליקציית WordPress ל-Android עברה 'מתיחת פנים' רצינית"],"WordPress.com Likes are:":["הלייקים של WordPress.com הם:"],"A few catchy words to motivate your visitors to comment.":["הוספת טקסט שיעודד את המבקרים שלך להגיב."],"Hide the stats smiley face image":["הסתרת תמונת הסמיילי של הסטטיסטיקה"],"Whitelisted IP addresses":["כתובות IP ברשימת ההיתרים"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["הצגת קישור לאפליקציות לנייד של WordPress בכותרת התחתונה של ערכת העיצוב לנייד"],"Copied!":["הועתק!"],"Highlight and copy the following text to your clipboard:":["יש לסמן ולהעתיק את הטקסט הבא ללוח שלך:"],"Regenerate address":["יצירת כתובת מחדש"],"Cheatin' uh?":["מרמה, אה?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}אכפת לך לספר לנו מדוע לא השלמת את ההתחברות ל-Jetpack {{a}}בסקר זה שבו 2 שאלות{{/a}}?{{/p}}{{p}}חיבור ל-Jetpack הוא חובה כדי שתכונות האבטחה והתעבורה החינמיות שלנו יעבדו.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["ברוכים הבאים ל-{{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["ה-Jetpack שלך כבר מחובר."],"You're fueled up and ready to go, Jetpack is now active.":["הכול מוכן ומזומן, Jetpack פעיל כעת."],"You're fueled up and ready to go.":["הכול מוכן ומזומן, אפשר לצאת לדרך."],"You are currently running a development version of Jetpack.":["נראה שנעשה כאן שימוש בגרסת פיתוח של Jetpack."],"Submit Beta feedback":["שליחת משוב לגרסאת בטא"],"What would you like to see on your Jetpack Dashboard?":["מה היית רוצה לראות בלוח הבקרה של Jetpack?"],"Let us know!":["ספרו לנו!"],"Saving…":["שומר..."],"Save Settings":["שמירת הגדרות"],"Jetpack Stats Icon":["סמל נתונים סטטיסטיים של Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}יש להפעיל את הנתונים הסטטיסטיים של האתר{{/a}} כדי לראות נתונים סטטיסטיים מפורטים, לייקים, עוקבים, מנויים ועוד! {{a1}}מידע נוסף{{/a1}}"],"Activate Site Stats":["הפעלת נתונים סטטיסטיים של האתר"],"Site Backups":["גיבויים של אתרים"],"Upgrade":["שדרוג"],"ACTIVE":["פעיל"],"View your spam stats":["הצגת נתונים סטטיסטיים של תגובות זבל"],"View your security dashboard":["הצגת לוח הבקרה של האבטחה"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["אתר זה נמצא במצב פיתוח, לכן אין לך אפשרות להתחבר אל WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["כדי להפיק את המירב מ-Jetpack, מומלץ לקשר את החשבון אל WordPress.com."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["לסריקה אוטומטית ומקיפה של איומי אבטחה, יש{{a}}להתקין ולהפעיל את {{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack חוסם באופן פעיל נסיונות כניסה זדוניים. בקרוב יוצגו כאן נתונים!"],"Total malicious attacks blocked on your site.":["סה\"כ התקפות זדוניות שנחסמו באתר שלך."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}יש להפעיל את Protect{{/a}} כדי לשמור את האתר שלך מוגן מפני נסיונות כניסה זדוניים."],"All plugins are up-to-date. Awesome work!":["כל התוספים מעודכנים. עבודה נהדרת!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack מנטר את האתר שלך. אם אנחנו חושדים שהאתר שלך קרס, נשלח לך אימייל."],"Security":["אבטחה"],"Performance":["ביצועים"],"Backup":["גיבוי"],"{{a}}View backup details{{/a}}.":["{{a}}הצגת פרטי גיבוי{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["כדי לגבות את האתר שלך כולו באופן אוטומטי, יש {{a}}להתקין ולהפעיל את{{/a}} VaultPress."],"Unavailable in Dev Mode.":["לא זמינה במצב פיתוח."],"Unavailable in Dev Mode":["לא זמין במצב פיתוח"],"Activating %(slug)s…":["מפעיל את%(slug)s…"],"%(slug)s has been activated.":["%(slug)s הופעל."],"%(slug)s failed to activate. %(error)s":["נכשלה ההפעלה של %(slug)s. %(error)s"],"Deactivating %(slug)s…":["משבית את%(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s הושבת."],"%(slug)s failed to deactivate. %(error)s":["הכיבוי של %(slug)s נכשל. %(error)s"],"Updating %(slug)s settings…":["מעדכן%(slug)s הגדרות…"],"Updated %(slug)s settings.":["עודכנו%(slug)s הגדרות."],"Error updating %(slug)s settings. %(error)s":["שגיאה בעדכון%(slug)s הגדרות. %(error)s"],"Updating %(slug)s address…":["מעדכן%(slug)s כתובת…"],"Regenerated %(slug)s address .":["נוצרה%(slug)s כתובת."],"Error regenerating %(slug)s address. %(error)s":["שגיאה ביצירת %(slug)s כתובת. %(error)s"],"Resetting Jetpack options…":["מאפס אפשרויות Jetpack..."],"Options reset.":["איפוס אפשרויות."],"Options failed to reset.":["איפוס האפשרויות נכשל."],"There was an error disconnecting Jetpack. Error: %(error)s":["אירעה שגיאה במהלך התנתקות מ-Jetpack. שגיאה: %(error)s"],"Unlinking from WordPress.com":["ביטול הקישור אל WordPress.com"],"Unlinked from WordPress.com.":["ביטול הקישור אל WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["שגיאה בביטול הקישור אל WordPress.com. %(error)s"],"At A Glance":["מבט כללי"],"Dashboard":["לוח בקרה"],"Automattic's Privacy Policy":["מדיניות הפרטיות של Automattic"],"WordPress.com Terms of Service":["תנאי שימוש ב-WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}הפעלת עדכונים אוטומטיים של תוספים.{{/a}}"],"Plugin Updates":["עדכוני תוספים"],"No threats found, you're good to go!":["לא נמצאו איומים, אפשר להתחיל לעבוד!"],"{{a}}Contact Support{{/a}}":["{{a}}יצירת קשר עם התמיכה{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}הצגת פרטים ב-VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["אוי ואבוי, %(number)s נמצא איום.","אוי ואבוי, %(number)s נמצאו איומים."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}יש להפעיל מוניטור{{/a}} כדי לקבל הודעות אימייל אם האתר שלך קורס."],"Loading…":["טוען…"],"Downtime monitor":["ניטור זמן השבתה"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}הצגת נתונים סטטיסטיים נוספים ב-WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}הצגת סטטיסטיקות מפורטות{{/button}}"],"All-time comments":["תגובות מכל הזמנים"],"All-time views":["צפיות מכל הזמנים"],"%(number)s View":["%(number)s צפייה","%(number)s צפיות"],"Best overall day":["הטובות ביותר לאורך כל היום"],"Views today":["צפיות היום"],"Months":["חודשים"],"Weeks":["שבועות"],"Days":["ימים"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["משהו קרה בעת טעינת הנתונים הסטטיסטיים. יש לנסות שוב מאוחר יותר או{{a}}להציג את הנתונים הסטטיסטיים שלך עכשיו ב-WordPress.com{{/a}}"],"Click to view detailed stats.":["יש ללחוץ כדי להציג נתונים סטטיסטיים מפורטים."],"Views: %(numberOfViews)s":[" צפיות: %(numberOfViews)s"],"Week of %(date)s":["שבוע מתוך %(date)s"],"Site Security":["אבטחת אתרים"],"Link to WordPress.com":["קישור ל-WordPress.com"],"Unlink me from WordPress.com":["ביטול הקישור שלי אל WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["אירעה בעיה בחיבור Jetpack עבורך. יש ללחוץ שוב על 'התחברות ל-WordPress.com'."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["הייתה לנו בעיה בחיבור Jetpack; יש לכבות ולהפעיל מחדש את תוסף Jetpack ואז להתחבר שוב."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["בלוג WordPress צריך להישאר מחובר בזמן אישור Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}יש תקלה ב-Jetpack שלך.{{/s}} אנו מתנצלים על אי-הנוחות. כדאי לנסות שוב מאוחר יותר ואם הבעיה נמשכת, לפנות לתמיכה בצירוף ההודעה הבאה: %(error_key)s"],"Disconnecting Jetpack":["מנתק את Jetpack"],"Learn more":["למד עוד"],"Posts":["רשומות"],"Front page":["עמוד ראשי"],"Upload videos":["העלאת סרטוני וידאו"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["להציג תוכן קשור אחרי הפוסטים"],"Related":["קשור"],"Disconnect":["התנתק"],"Save":["שמירה"],"Media":["מדיה"],"Mobile Theme":["ערכת עיצוב לנייד"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX היא שפת סימון מתוחכמת לכתיבת משוואות מתמטיות מורכבות ונוסחאות."],"Site Stats":["סטטיסטיקת אתר"],"Sharing":["שיתוף"],"Testimonials":["המלצות"],"Cancel":["בטל"],"Comments":["תגובות"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack לא הצליח ליצור קשר עם WordPress.com: %(error_key)s. בדרך כלל זה קורה כאשר משהו מוגדר לא נכון בשרת שלך."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["לוורדפרס.קום יש בעיות כרגע ואינה יכולה לתדלק את ה Jetpack שלך. בבקשה נסה שוב מאוחר יותר."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}יש תקלה ב-Jetpack שלך.{{/s}} לא ניתן לחבר אתר זה אל WordPress.com. משמעות הדבר בדרך כלל היא שהאתר שלך אינו נגיש לציבור (מרח מקומי)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["האתר שלך צריך להיות נגיש לציבור כדי להשתמש ב-Jetpack: %(error_key)s"],"Edit":["עריכה"],"Connected":["מחובר"],"Activate":["הפעלה"],"Active":["פעיל"],"Settings":["הגדרות"],"Learn More":["למד עוד"],"Disconnect Jetpack":["נתק את Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}הערה:{{/b}} אנחנו משביתים את התכונה הזאת ונסיר אותה מ-Jetpack בחודש מרץ. {{link}}למידע נוסף{{/link}}"],"Settings header\u0004Jetpack Backup":["גיבוי Jetpack"],"Settings header\u0004Anti-spam":["מניעת תגובות זבל"],"Settings header\u0004WP.me Shortlinks":["קישורים מקוצרים דרך WP.me"],"Settings header\u0004Auto-update plugins":["עדכון אוטומטי של התוספים"],"Settings header\u0004Widgets":["וידג'טים"],"Settings header\u0004Downtime monitoring":["ניטור זמן השבתה"],"Settings header\u0004Privacy Settings":["הגדרות פרטיות"],"Settings header\u0004WordPress.com toolbar":["סרגל כלים של WordPress.com"],"Settings header\u0004Composing":["כתיבה"],"Settings header\u0004Site stats":["נתונים סטטיסטיים של האתר"],"Settings header\u0004Search engine optimization":["מיטוב למנועי חיפוש"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["לחצני שיתוף"],"Settings header\u0004Publicize connections":["חיבורים של שיתוף אוטומטי"],"Settings header\u0004Like buttons":["לחצני לייק"],"Settings header\u0004Brute force attack protection":["הגנה מפני התקפות של ניחוש סיסמה"],"Settings header\u0004Backups and security scanning":["גיבויים וסריקות אבטחה"],"Notice in the empty statistics chart\u0004No activity this period":["אין פעילות בפרק זמן זה"],"Settings header, noun.\u0004WordPress.com login":["התחברות ל-WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["לשלוח קישור"],"A caption for a button to cancel an action.\u0004Cancel":["ביטול"],"Link to learn more about Jetpack.\u0004About":["אודות"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["מודולים"],"Navigation item.\u0004Performance":["ביצועים"],"Navigation item.\u0004My Plan":["התוכנית שלי"],"Navigation item.\u0004Dev Tools":["כלי פיתוח"],"Navigation item.\u0004Settings":["הגדרות"],"Navigation item.\u0004Discussion":["דיון"],"Navigation item.\u0004Traffic":["תעבורה"],"Navigation item.\u0004Sharing":["שיתוף"],"Navigation item.\u0004At A Glance":["מבט כללי"],"Navigation item.\u0004Plans":["תוכניות"],"Navigation item.\u0004Writing":["כותב"],"Navigation item.\u0004Reset Options (dev only)":["אפשרויות איפוס (גרסאות מפתחים בלבד)"],"Navigation item.\u0004Security":["אבטחה"],"Navigation item.\u0004At a Glance":["מבט כללי"],"Search term.\u0004terms of service":["תנאי שימוש"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["נתונים"],"Search term.\u0004tracks":["רצועות"],"Search term.\u0004privacy":["פרטיות"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["שדרוג"],"Button caption\u0004Saving…":["שומר..."],"Button caption\u0004Save settings":["שמירת הגדרות"],"A heading for a block of related posts.\u0004Related":["קשור"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["תצוגה מקדימה"],"Short warning message\u0004Updates needed":["נדרשים עדכונים"],"Short label appearing near a paid feature configuration block.\u0004Paid":["בתשלום"],"A header for a preview area in the configuration screen.\u0004Preview":["תצוגה מקדימה"],"Ads header\u0004Ads":["פרסומות"],"Dashboard widget header\u0004Site connection":["חיבור האתר"],"Dashboard widget header\u0004Account connection":["חיבור החשבון"],"A caption for a small button to fix security issues.\u0004Threats":["איומים"],"A caption for a small button to fix security issues.\u0004FIX":["תיקון"],"Short warning message about new threats found.\u0004Threats found!":["נמצאו איומים!"],"Short message informing user that the site is secure.\u0004Secure":["מאובטח"],"Caption for a button to set up a feature.\u0004Set up":["הגדרה"],"verb\u0004Copy":["העתק"],"Shorthand for Privacy Policy.\u0004Privacy":["פרטיות"],"Shorthand for Terms of Service.\u0004Terms":["תנאים"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["איתור באגים"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["תגובות זבל נחסמו."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-hr-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-hr-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 55fd7e40..00000000
--- a/plugins/jetpack/languages/json/jetpack-hr-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"hr"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":[""],"Manage Subscription":[""],"Your site is being backed up.":[""],"You need to enter your server credentials to finish configuring Jetpack Backup.":[""],"Jetpack Backup is being configured for your site.":[""],"Daily Backups":[""],"Just looking for backups? We've got you covered.":[""],"Solutions":[""],"Included in your {{planLink}}Professional Plan{{/planLink}}":[""],"Included in your {{planLink}}Premium Plan{{/planLink}}":[""],"Included in your {{planLink}}Personal Plan{{/planLink}}":[""],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":[""],"Always-on backups ensure you never lose your site.":[""],"My Products":[""],"My Plan":[""],"Jetpack Backup {{em}}Real-Time{{/em}}":[""],"Your data is being securely backed up as you edit.":[""],"Jetpack Backup {{em}}Daily{{/em}}":[""],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":[""],"Jetpack Premium":[""],"Jetpack Personal":[""],"Jetpack Free":[""],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":[""],"Jetpack has many powerful tools that can help you achieve your goals":[""]," We’ve highlighted some of the features you rely on below.":[""],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":[""],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":[""],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":[""],"Disable":[""],"Are you sure you want to disconnect and deactivate?":[""],"Are you sure you want to disconnect?":[""],"Disable Jetpack":[""],"We back up your website with every change you make, making it easy to fix your mistakes.":[""],"Automated Real-time Backups":[""],"We back up your website every day, so you never have to worry about your data again.":[""],"Automated Daily Backups":[""],"View Your Backups":[""],"A Jetpack Site securely backed up with Jetpack Backup":[""],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Image Accelerator":[""],"Start with free":[""],"Now that you're set up, pick a plan that fits your needs.":[""],"Jetpack Backup":[""],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":[""],"Already have a key? {{a}}Activate Akismet{{/a}}":[""],"Verifying…":[""],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":[""],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":[""],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":[""],"Customize your SEO settings":[""],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":[""],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":[""],"Include a small chart in your admin bar with a 48-hour traffic snapshot":[""],"Expand to update settings for how visits are counted and manage who can view this information.":[""],"You can customize the sharing buttons and choose which services to display.":[""],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":[""],"Find threats early so we can help fix them fast.":[""],"Replace your site's basic search with customizable search that helps visitors find answers faster.":[""],"Never worry about losing your site – automatic backups keep your content safe.":[""],"Protect":[""],"Scan":[""],"Automatically clear spam from your comments and forms so you can get back to your business.":[""],"Anti-spam":[""],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":[""],"Log in to the WordPress mobile app":[""],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":[""],"Email me a link to log in to the app":[""],"Send your new posts to this email address:":[""],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":[""],"Generate shortened URLs for simpler sharing.":[""],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":[""],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":[""],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":[""],"Add sharing buttons to your posts and pages":[""],"Share your content to social media, reaching new audiences and increasing engagement.":[""],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":[""],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":[""],"Choose which plugins to auto-update":[""],"Upgrade Jetpack now":[""],"Monetize your site by running high quality ads.":[""],"Customize your social posting schedule.":[""],"Expand your audience with pro SEO tools.":[""],"Take your site to the next level!":[""],"Search support docs":[""],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":[""],"Start sharing":[""],"Optimized performance":[""],"Enable the “subscribe to comments” option on your comment form":[""],"Enable the “subscribe to site” option on your comment form":[""],"Manage advanced comment settings and grow your audience with email subscriptions.":[""],"Comment form introduction":[""],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":[""],"Failed to send login email":[""],"Login email sent":[""],"Sending login email…":[""],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":[""],"Allow readers to like individual comments.":[""],"Enable comment likes.":[""],"Allow readers to use markdown in comments.":[""],"Show Gravatar hovercards alongside comments.":[""],"Complete Jetpack Setup":[""],"Your Jetpack setup progress":[""],"View your setup checklist":[""],"Yearly":[""],"Monthly":[""],"About Jetpack":[""],"Enable widget visibility controls to display widgets only on particular posts or pages":[""],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":[""],"Make extra widgets available for use on your site including subscription forms and Twitter streams":[""],"Enhance CSS customization panel":[""],"Writing":[""],"Compose using shortcodes to embed media from popular sites":[""],"Traffic":[""],"You need to enter your server credentials to finish configuring Backups and Scan.":[""],"Awaiting credentials":[""],"Backups and Scan are being configured for your site.":[""],"Provisioning":[""],"Action needed":[""],"Setting up":[""],"Discussion":[""],"We are configuring your site protection.":[""],"View your site's backups":[""],"We are backing up your site in real-time.":[""],"Enter credentials":[""],"You need to enter your server's credentials to finish the setup.":[""],"We are configuring your site's backups.":[""],"View site activity":[""],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":[""],"Explore our Jetpack plans":[""],"Support documentation":[""],"Chat bubbles representing getting in touch with support":[""],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":[""],"Increase traffic to your site":[""],"Explore free themes":[""],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":[""],"A wide variety of themes and tools to customize a site":[""],"Set up your site security":[""],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":[""],"Site stats showing an evolution in traffic and engagement":[""],"A hand holding a loupe":[""],"A chart showing an healthy increase in earnings":[""],"Interface showing a chronological list of changes and updates in a site":[""],"A cloud with multiple types of content floating around it":[""],"A folder holding real comments":[""],"Make your site faster":[""],"Load pages faster by serving your images from our global network of servers.":[""],"A fast and performant website":[""],"A secure site, locked and protected by Jetpack":[""],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":[""],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":[""],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":[""],"Add Like buttons to your posts and pages":[""],"When visitors enjoy your content, let them show it with a Like.":[""],"Create account":[""],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":[""],"Compose content the way you want to and streamline your publishing experience.":[""],"Add a portfolio item":[""],"Add a testimonial":[""],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":[""],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":[""],"Error enabling Site accelerator. %(error)s":[""],"Site accelerator is now speeding up your site!":[""],"Enabling Site accelerator…":[""],"Error disabling site accelerator. %(error)s":[""],"Site accelerator is no longer speeding up your site!":[""],"Disabling site accelerator…":[""],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":[""],"High-speed, high-definition video hosting with no third-party ads.":[""],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":[""],"Marketing Automation":[""],"Activate Jetpack Search":[""],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":[""],"Start earning":[""],"WordAds lets you earn money by displaying promotional content. Start earning today.":[""],"Spam is automatically blocked from your comments.":[""],"Browse premium themes":[""],"Access hundreds of beautifully designed premium themes at no extra cost.":[""],"Try a premium theme":[""],"View settings":[""],"Create a Jetpack account to view your email followers":[""],"Manage security settings":[""],"Jetpack is ready for the new WordPress editor":[""],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":[""],"Build your Jetpack site with blocks":[""],"A new editor? Yes! {{a}}Learn more{{/a}}.":[""],"The features you rely on, adapted for the new WordPress editor.":[""],"Take me to the new editor":[""],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":[""],"New in Jetpack!":[""],"Speed up static file load times":[""],"Speed up image load times":[""],"Enable site accelerator":[""],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":[""],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":["Manualno verificiraj"],"Verify with Google":["Verificiraj s Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":["ili"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":["Spam filtriranje i prioritetna podrška."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Kada su oglasi uključeni, Jetpack automatski generira korisnički ads.txt skrojen za vašu web-stranicu."],"Custom ads.txt entries":["Unosi korisničkog ads.txt"],"Privacy information":["Informacije o privatnosti"],"Enable Lazy Loading for images":["Uključi Učitavanje s odgodom za slike"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Učitavanje slika s odgodom poboljšava brzinu vaše web-stranice i kreira uglađeno iskustvo gledanja. Slike će se učitavati kako posjetitelji pomiču stranicu na zaslonu, umjesto da se sve učitaju odjednom."],"Performance & speed":["Performanse i brzina"],"Enable high-speed, ad-free video player":["Uključi brzi video reproduktor bez oglasa"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Sadržaj koji objavite učinite privlačnijim s visoko kvalitetnim videom. S Jetpack Video možete prilagoditi video reproduktor i isporučiti video koji je brzi, bez oglasa i brendiranja vašim posjetiteljima. Video je pohranjen na našim WordPress.com poslužiteljima i zauzimaju mjesto na vašem hostingu!"],"Video":["Video"],"Carousel color scheme":["Paleta boja vrtuljka"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif podaci prikazuju posjetiteljima dodatne tehničke detalje fotografije, poput žarišne duljine, otvor objektiva i ISO."],"Show photo Exif metadata in carousel (when available)":["Prikaži Exif meta podatke fotografije u vrtuljku (kad su dostupni)"],"Display images in a full-screen carousel gallery":["Prikaži slike u galerijskom vrtuljku pune veličine zaslona"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Kreirajte galerijski vrtuljak pune veličine zaslona za slike u vašim objavama i stranicama. Galerijski vrtuljci su optimizirani za mobilne uređaje i potiču posjetitelje na interakciju s slikama."],"Portfolios shortcode: [portfolio]":["Portfolio kratki kod: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Upotrijebite {{portfolioLink}}portfolio{{/portfolioLink}} na web-stranici kako bi prikazali vaše najbolje radove. Ako vaša tema ne podržava Jetpack Portfolio, i dalje možete upotrijebiti jednostavan kratki kod kako bi ih prikazali na web-stranici."],"Testimonials shortcode: [testimonials]":["Preporuka kratki kod: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Dodajte {{testimonialLink}}preporuke{{/testimonialLink}} na web-stranicu kako bi privukli nove klijente. Ako vaša tema ne podržava Jetpack Preporuke, i dalje možete upotrijebiti jednostavan kratki kod kako bi ih prikazali na web-stranici."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Trenutno tražilice ne mogu pristupiti web-stranici. Ako želite učinit web-stranicu pristupačnom, provjerite {{a}}postavke Čitanja{{/a}} i uključite \"Vidljivost tražilicama\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Dobre vijesti: Jetpack automatski šalje vašu mapu stranica na indeksiranje svim značajnim tražilicama."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Mape stranice su zapisi koje koriste tražilice poput Google i Bing kako bi indeksirali web-stranicu. Mogu pomoći poboljšati ranking u rezultatima pretrage. Kada ovo uključite, Jetpack će kreirati mape stranica i automatski ih ažurirati kada se sadržaj promijeni na web-stranici."],"Configure related posts in the Customizer":["Konfigurirajte povezane objave u Prilagođivaču"],"Highlight related content with a heading":["Istakni povezani sadržaj s zaglavljem"],"View security scan details":["Pogledaj detalje sigurnosnog skeniranja"],"Test your site’s compatibility with Jetpack.":["Testirajte kompatibilnost vaše web-stranice s Jetpackom."],"Show a thumbnail image where available":["Prikaži sličicu gdje je to dostupno."],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Za više informacija o tome kako određene Jetpack značajke koriste podatke i prate aktivnosti, pogledajte naš {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Koristimo druge alate za praćenje, uključujući i alate trećih strana. {{cookiePolicyLink}}Pročitajte o njima{{/cookiePolicyLink}} i kako ih kontrolirati."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Ove informacije pomažu nam poboljšati naše proizvode, učiniti naš marketing više relevantnijim, personalizirati vaše WordPress.com iskustvo, i još puno toga opisanoga u našim {{pp}}pravilima privatnosti{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Podijelite informacije o vašem korištenju servisa s našim alatom za analitiku dok ste prijavljeni u WordPress.com račun. {{cookiePolicyLink}}Saznajte više{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Ovom značajkom upravlja administrator web-stranice. {{link}}Saznajte više{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Ovu značajku je onemogućio administrator web-stranice. {{link}}Saznajte više{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Ovu značajku je omogućio administrator web-stranice. {{link}}Saznajte više{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s je onemogućio administrator web-stranice. {{link}}Saznajte više{{/link}}."],"This feature has been disabled by a site administrator.":["Ovu značajku je onemogućio administrator web-stranice."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s je onemogućio administrator web-stranice."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Možete prikazati dodatne oglase koristeći Ad widget. {{link}}Isprobajte!{{/link}}"],"Configure your notification settings":["Konfigurirajte postavke obavijesti"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack Pretraživanje je moćna zamjena za funkcionalnost pretraživanja koja je ugrađena u WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Datoteke vaše web-stranice redovno se skeniraju u potrazi za sumnjivim modifikacijama koje bi mogle kompromitirati vašu sigurnost i podatke."],"Plugin needs updating.":["Dodatak treba ažurirati.","Dodatka treba ažurirati.","Dodataka treba ažurirati."],"%(number)s":["%(number)s","%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack Ažuriranje dodataka omogućuju vam odabir dodataka koje želite automatski ažurirati."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack će optimizirati vaše slike i poslužiti ih s poslužitelja koji je najbliži posjetitelju. Korištenje naše globalne mreže za dostavu sadržaja poboljšati će brzinu učitavanja web-stranice."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack praćenje nedostupnosti nadzirati će vašu web-stranicu i obavijestiti će vas čim nedostupnost bude detektirana."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack Sigurnosne kopije omogućuju vam jednostavno vraćanje na prethodno stanje ili preuzimanje sigurnosne kopije u željenom trenutku."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Aktivira laganu temu, kompatibilnu s mobilnim uređajima koja će biti prikazan posjetiteljima na mobilnim uređajima."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Automatski učitava sljedeću objavu kada se čitatelj približi dnu stranice."],"Allows you to publish new posts by sending an email to a special address.":["Omogućuje vam objavljivanje novih objava slanjem e-pošte na specijalnu adresu."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Dodajte alatnu traku s poveznicama na sve vaše web-stranice, obavijestima, vašim WordPress.com profilom i Čitačem."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Pruža neophodne skrivene oznake potrebne za verifikaciju vaše WordPress web-stranice s različitim servisima."],"Displays information on your site activity, including visitors and popular posts or pages.":["Prikazuje informacije o aktivnosti vaše web-stranice, uključujući posjetitelje i popularne objave ili stranice."],"Allows you to optimize your site and its content for better results in search engines.":["Omogućuje vam optimiziranje vaše web-stranice i sadržaja za bolje rezultate u tražilicama."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrira vašu web-stranicu s Google Analytics, platformom koja pruža uvid u promet, posjetitelje i konverzije web-stranice."],"Displays high-quality ads on your site that allow you to earn income.":["Prikazuje visoko kvalitetne oglase na vašoj web-stranici, koji vam omogućuju zaradu."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Omogućuje vam da automatski dijelite svoj najnoviji sadržaj na društvenim mrežama, uključujući Facebook i Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Dodajte lajk dugmad vašem sadržaju kako bi posjetitelji izrazili njihovu zahvalu ili užitak konzumiranja sadržaja."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Omogućuje registriranim korisnicima prijavu na vašu web-stranicu koristeći WordPress.com račun."],"Protects your site from traditional and distributed brute force login attacks.":["Štiti vašu web-stranicu od tradicionalnih i distribuiranih napada sirovom snagom na formu za prijavu."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Kreira sigurnosnu kopiju vaše web-stranice na globalnim WordPress.com poslužiteljima, omogućujući vam vraćanje na prethodno stanje u slučaju greške."],"Removes spam from comments and contact forms.":["Uklanja spam iz komentara i kontakt formi."],"We are committed to your privacy and security. ":["Predani smo očuvanju vaše privatnosti i sigurnosti."],"View all Jetpack plans":["Pogledaj sve Jetpack planove"],"Manage your plan":["Upravljanje planom"],"Your Plan":["Vaš plan"],"You’re currently on Jetpack %(plan)s.":["Trenutno koristite Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Omogućuje čitateljima da se pretplate na vaše objave ili komentare, i primaju obavijesti o novom sadržaju putem e-pošte."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Zamjenjuje standardnu WordPress formu za komentare s novim sistemom za komentiranje koji uključuje prijavu putem društvenih mreža."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Aktiviraj{{/a}} kako bi zamijenili ugrađenu WordPress pretragu s Jetpack Pretragom, poboljšanim iskustvom pretraživanja."],"Add Search (Jetpack) Widget":["Dodaj Pretraga (Jetpack) widget"],"Jetpack Search is powering search on your site.":["Jetpack Pretraga pogoni pretraživanje na vašoj web-stranici."],"Manage your plugins":["Upravljajte dodacima"],"Moderate comments":["Moderirajte komentare"],"Error updating privacy settings. %(error)s":["Greška pri ažuriranju postavki privatnosti. %(error)s"],"Updated privacy settings.":["Postavke privatnosti su ažurirane."],"Updating privacy settings…":["Ažuriranje postavki privatnosti…"],"Add Jetpack Search Widget":["Dodaj Jetpack Widget pretrage"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Dodajte Jetpack widget pretrage u bočnu traku kako bi konfigurirali filtere pretraživanja."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Potpuno sigurnosno okružje, alati za marketing i zaradu, neograničena video pohrana, neograničene teme, poboljšana pretraga i prioritetna podrška."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Potpuno sigurnosno okružje, alati za marketing i zaradu, neograničena video pohrana i prioritetna podrška."],"Daily backups, spam filtering, and priority support.":["Dnevne sigurnosne kopije, filtriranje spama i prioritetna podrška."],"Always-on security":["Konstantna sigurnost"],"Activate video hosting":["Aktiviraj video hosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Sigurnosne kopije u realnom vremenu svih podataka web-stranice s neograničenim prostorom za pohranu, vraćanjem na prethodno stanje jednim klikom, automatsko sigurnosno skeniranje i prioritetna podrška."],"Design the perfect website":["Dizajnirajte savršenu web-stranicu"],"Set up Jetpack":["Postavite Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Trenutne sigurnosne kopije svih podataka web-stranice s neograničenim prostorom za pohranu, vraćanje jednim klikom i automatsko sigurnosno skeniranje."],"Jetpack Search":["Jetpack pretraga"],"Jetpack version %(version)s":["Jetpack inačica %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Za vašu web-stranicu se kreira sigurnosna kopija u realnom vremenu i regularno se skenira za sigurnosne prijetnje."],"Daily backup of all your site data with unlimited space and one-click restores":["Dnevne sigurnosne kopije svih podataka vaše web-stranice s neograničenim prostorom za pohranu i vraćanjem jednim klikom."],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Dnevne sigurnosne kopije svih podataka vaše web-stranice s neograničenim prostorom za pohranu, vraćanjem jednim klikom, automatskim sigurnosnim skeniranjem i prioritetna podrška"],"View your security activity":["Pregledajte sigurnosne aktivnosti"]," (powered by VaultPress).":[" (pokreće VaultPress)."],"Customize Search Widget":["Prilagodite widget Pretrage"],"Please correct the issue below and try again.":["Popravite problem naveden ispod i pokušajte ponovno.","Popravite probleme navedene ispod i pokušajte ponovno.","Popravite probleme navedene ispod i pokušajte ponovno."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Brinemo se da vaša web-stranica bude slobodna od sigurnosnih prijetnji. Obavijestiti ćemo vas ako pronađemo koju."],"Jetpack version":["Jetpack inačica"],"Activity":["Aktivnost"],"{{a}}View details{{/a}}":["{{a}}Prikaži detalje{{/a}}"],"Monetize your site with ads":["Monetizirajte svoju web-stranicu s oglasima"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Klikom na dugme ispod, slažete se s našim {{tosLink}}Uvjetima Usluge{{/tosLink}} i da ćete {{shareDetailsLink}}dijeliti pojedinosti{{/shareDetailsLink}} s WordPress.com."],"Jetpack Stats People":["Jetpack statistika ljudi"],"Hello there! Your stats have been activated.":["Pozdrav! Aktivirana vam je statistika."],"Just give us a little time to collect data so we can display it for you here.":["Dopustite malo vremena kako bi se prikupili podaci koje možemo ovdje prikazati."],"Okay, got it!":["Shvaćam!"],"Display ads below posts on":["Prikaži oglase ispod objava na"],"Additional ad placements":["Dodatna mjesta za oglase"],"Top of each page":["Na vrhu svake stranice"],"Second ad below post":["Drugi oglas ispod objave"],"Archives":["Arhiva"],"Stars":["Zvjezdice"],"Jupiter":["Jupiter"],"Schedule posts":["Tempiranje objava"],"Activate Publicize":["Aktiviraj Publiciranje"],"Your site is backed up.":["Napravljena je sigurnosna kopija za vašu web-stranicu."],"Get WordPress Apps for every device":["Nabavite WordPress aplikaciju za svaki uređaj"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Upravljajte svojim web-stranicama s jedne nadzorne ploče: objavljuje sadržaj, pratite statistiku, moderirajte komentare i još puno toga od bilo kuda u svijetu."],"Create address":["Kreiraj adresu"],"Automatically share your posts to social networks":["Automatski podijelite svoje objave na društvenim mrežama"],"Updating settings…":["Ažuriranje postavki..."],"Updating Post by Email address…":["Ažuriranje Objava putem adrese e-pošte..."],"Your paid plan gives you access to prioritized Jetpack support.":["Vaš plaćeni plan vam omogućuje pristup prioritetnoj Jetpack korisničkoj podršci."],"You have paid for backups but they're not yet active.":["Platili ste za sigurnosne kopije ali još nisu aktivne."],"You have paid for backups and security scanning but they’re not yet active.":["Platili ste za sigurnosne kopije i sigurnosno skeniranje ali još nisu aktivni."],"Click \"Set Up\" to finish installation.":["Kliknite \"Postavljanje\" za završetka instalacije."],"Checking site status…":["Provjera statusa web-stranice..."],"Pages":["Stranice"],"Access the full list of Jetpack modules available on your site.":["Pristupite cijeloj listi dostupnih Jetpack modula na vašoj web-stranici."],"We're here to help":["Ovdje smo da vam pomognemo"],"Jetpack comes with free, basic support for all users.":["Jetpack dolazi s besplatnom, osnovnom podrškom za sve korisnike."],"Ask a question":["Postavite pitanje"],"Search our support site":["Pretražite našu web-stranicu za podršku"],"Get a faster resolution to your support questions.":["Dobijte brze odgovore na vaša pitanja za podršku."],"Host fast, high-quality, ad-free video.":["Hostajte brzi, visoko kvalitetni video bez oglasa."],"Generate income with high-quality ads.":["Generirajte prihod s visoko kvalitetnim oglasima."],"Real-time site backups and automatic threat resolution.":["Trenutne sigurnosne kopije i automatska zaštita od prijetnja."],"Protect against data loss, malware, and malicious attacks.":["Zaštiti te se od gubitka podataka, malwarea, i zloćudnih napada."],"Protect your site from spam.":["Zaštitite web-stranicu od spama."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Ova web-stranica nije povezana s WordPress.com. Pitajte administratora web-stranice da poveže."],"An Automattic Airline":["An Automattic Airline"],"Manage site connection":["Upravljanje konekcijom web-stranice"],"Connect your account to WordPress.com to view more stats":["Spojite svoj račun s WordPress.com kako bi dobili više statistike"],"Theme enhancements":["Poboljšanja teme"],"Load more posts using the default theme behavior":["Učitajte više objava koristeći ponašanje izvorne teme"],"Load more posts in page with a button":["Učitajte više objava na stranici s dugmetom"],"Load more posts as the reader scrolls down":["Učitajte više objava dok se stranice pomiče"],"Theme support required.":["Potrebna je podrška teme."],"Learn more about adding support for Infinite Scroll to your theme.":["Saznajte više o dodavanju podrške vašoj temi za beskonačno pomicanje."],"Show excerpts instead of full posts on front page and archive pages":["Upotrijebite sažetke umjesto prikaza cijele objave na početnoj stranici i stranicama arhiva"],"Show featured images":["Prikaži istaknute slike"],"Enable the WordPress.com toolbar":["Omogući WordPress.com alatnu traku"],"Writing tools available to you will be shown here when an administrator enables them.":["Dostupni alati za pisanje biti će prikazani ovdje kada ih administrator omogući."],"Portfolios":["Portfolio"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Imajte na umu da {{b}}verificiranje vaše web-stranice s ovim servisima nije potrebno{{/b}} kako bi tražilice indeksirale vašu web-stranicu. Kako bi upotrijebili ove napredne alate tražilica i verificirali vašu web-stranicu s servisom, zalijepite HTML kod oznake ispod. Pročitajte {{support}}cijele upute{{/support}} ako imate problema. Podržani servisi verifikacije: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, i {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generiraj XML mape stranica"],"The image helps collect stats, but should work when hidden.":["Slika pomaže u skupljanju statistike, ali trebala bi funkcionirati kada se skrivena."],"Count logged in page views from":["Broji preglede stranica prijavljenog korisnika"],"Allow stats reports to be viewed by":["Dopustite prikaz izvještaja statistike korisniku"],"In \"Upgrade\"":["u \"Nadogradi\""],"Configure your Google Analytics settings":["Konfigurirajte postavke Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Prikaži oglase na prvom članku početne stranice ili na kraju svake stranice i objave. Postavite dodatne oglase na vrhu vaše web-stranice i svakom widgetu području kako bi povećali svoju zaradu."],"Enable ads and display an ad below each post":["Uključi oglase i prikaži oglas ispod svake objave"],"Configure your sharing buttons":["Konfigurirajte dugmad za dijeljenje sadržaja"],"Connect your social media accounts":["Spojite račune društvenih mreža"],"Match accounts using email addresses":["Upari račune koristeći adresu e-pošte"],"Require accounts to use WordPress.com Two-Step Authentication":["Zahtijevaj da računi koriste WordPress.com autentifikaciju s dvije provjere"],"Add to whitelist":["Dodaj u bijelu listu"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Možete dodati IP adresu ili seriju adresa u bijelu listu kako bi spriječili da ih Jetpack ikad blokira. Dozvoljene su IPv4 i IPv6. Kako bi naveli raspon adresa, unesite najniži i najvišu vrijednost odvojene crticom. Primjer: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Vaša web-stranica je zaštićena i ima sigurnosnu kopiju."],"Checking your spam protection…":["Provjera vaše spam zaštite..."],"Fetching key…":["Dohvaćanje ključa..."],"Your site needs an Antispam key.":["Vaša web-stranice treba Antispam ključ."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Pojavio se problem s vašim Antispam API ključem. {{a}}Saznajte više{{/a}}."],"Your site is not protected from spam.":["Vaša web-stranica nije zaštićena od spama."],"Your Antispam key is valid.":["Vaš Antispam ključ je ispravan."],"Your site is protected from spam.":["Vaša web-stranica je zaštićena od spama."],"Checking key…":["Provjera ključa..."],"Your API key":["Vaš API ključ"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Ako već nemate API ključ, onda {{a}}ovdje nabavite svoj API ključ{{/a}}, i biti ćete provedeni kroz proces dobivanja ključa."],"No search results found for %(term)s":["Nema rezultata pretrage za %(term)s"],"Enter a search term to find settings or close search.":["Upišite pojam za pretragu kako bi pronašli postavke ili zatvorite pretraživanje."],"Connections":["Konekcije"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Vaša web-stranica je trenutno u Razvojnom načinu rada, stoga se ne možete spojiti s WordPress.com."],"Your site is connected to WordPress.com.":["Vaša web-stranica je spojena s WordPress.com."],"You are the Jetpack owner.":["Vi ste Jetpack vlasnik."],"Connected as {{span}}%(username)s{{/span}}":["Spojeni kao {{span}}%(username)s{{/span}}"],"View your Email Followers":["Pregledajte svoje e-pošta pratitelje"],"Color scheme":["Paleta boja"],"Enable Markdown use for comments.":["Uključi Markdown upotrebu u komentarima."],"Updated settings.":["Postavke ažurirane."],"Error updating settings. %(error)s":["Greška pri ažuriranju postavki. %(error)s"],"Regenerated Post by Email address.":["Regenerirana Objava putem adrese e-pošte."],"Error regenerating Post by Email address. %(error)s":["Greška pri regeneriranju Objava putem adrese e-pošte. %(error)s"],"Updated settings. Refreshing page…":["Ažuriranje postavki. Osvježavanje stranice..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Trenutno u {{a}}Razvojnom okružju{{/a}} (neke mogućnosti su onemogućene) zbog: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}jetpack_development_mode filter je aktivan{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}JETPACK_DEV_DEBUG konstanta je definirana{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}URL-u vaše web-stranice nedostaje točka (npr. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics je besplatna usluga koja nadopunjuje našu {{a}}ugrađenu statistiku{{/a}} s drugačijim uvidima u promet web-stranice. WordPress.com statika i Google Analytics drugačije metode identificiranja i praćenja aktivnosti na vašoj web-stranici, stoga je normalno da prikazuju malo drugačije ukupne rezultate posjetitelja, pregleda, itd."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Google Analytics konfiguracija"],"Activate Google Analytics":["Aktiviraj Google Analytics"],"Download the free apps":["Preuzmite besplatne aplikacije"],"Upgrade Focus: VideoPress For Weddings":["Fokus nadogradnje: VideoPress za vjenčanja"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Sada možete konfigurirati srodne objave u Prilagodniku. {{ExternalLink}}Isprobajte!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Po izvornim postavkama oglasi su prikazani na kraju svake stranice, objave, ili prvog članka na vašoj početnoj stranici, Također, možete ih dodati na vrh vaše web-stranice i u bilo koje widget područje kako bi povećali zaradu!"],"Display an ad unit at the top of your site.":["Prikaži oglasnu jedinicu na vrhu web-stranice."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Aktiviranjem oglasa, slažete se s Automattic Ads {{link}}Uvjetima usluge{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Vaš poslužitelj nije dobro konfiguriran, što znači da Jetpack zaštita ne može efektivno zaštiti vašu web-stranicu."],"In \"Mobile\"":["U \"Mobile\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Konfigurirajte postavke obavijesti Monitora na WordPress.com{{/link}}"],"View your earnings":["Pogledajte svoju zaradu"],"Configure site SEO":["Konfiguriraj SEO web-stranice"],"Activate SEO tools":["Aktiviraj SEO alate"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["ZA početak, kliknite na 'Dodaj medijski zapis' u vašem uređivaču objava i prenesite video; mi ćemo se pobrinuti za ostalo!"],"Video Hosting":["Video Hosting"],"SEO Tools":["SEO Alati"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Napredni SEO alati koji će pomoći da se lakše pronađe vaša web-stranica kada ljudi traže relevantni sadržaj."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Najlakši načini za prijenos videa bez oglasa i logotipa (unbranded) na vašu web-stranicu. Možete dobiti uvid u statistiku video reprodukcije i dijeljenja, dok je sam reproduktor (player) lagan i prilagodljiv."],"You are running Jetpack on a staging server.":["Koristite Jetpack na pripremnom poslužitelju."],"More Info":["Više informacija"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Upravljajte vidljivošću Lajkova iz postavki modula Dijeljenje{{/a}}"],"Your current IP: %(ip)s":["Vaša trenutni IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Na ovoj kartici postoje nespremljene postavke koje će se izgubiti ako ju zatvorite. Nastaviti?"],"This will reset all Jetpack options, are you sure?":["Ovo će resetirati sve Jetpack opcije, jeste li sigurni?"],"Search for a Jetpack feature.":["Pretraga Jetpak mogućnosti."],"Configure your Security Scans":["Konfigurirajte Sigurnosna skeniranja"],"Subscriber":["Pretplatnik"],"Big iPhone/iPad Update Now Available":["Veliko iPhone/iPad ažuriranje je sada dostupno"],"The WordPress for Android App Gets a Big Facelift":["Aplikacija WordPress za Android dobila je veliko poboljšanje"],"WordPress.com Likes are:":["WordPress.com lajkovi su:"],"A few catchy words to motivate your visitors to comment.":["Par privlačnih riječi kojima ćete motivirati vaše čitatelje na komentiranje."],"Hide the stats smiley face image":["Sakrij ikonu smješka statistike"],"Whitelisted IP addresses":["IP adrese u bijeloj listi"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Prikaži promo za WordPress mobilne aplikacije u podnožju mobilne teme."],"Copied!":["Kopirano!"],"Highlight and copy the following text to your clipboard:":["Označite i kopirajte sljedeći tekst:"],"Regenerate address":["Regeneriranje adrese"],"Cheatin' uh?":["Varamo, jeli?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Možete li nam reći zašto niste dovršili spajanje s Jetpackom u ovom {{a}}upitniku s dva pitanja{{/a}}?{{/p}}{{p}}Spajanje s Jetpackom je potrebno kako bi radile naše besplatne funkcije sigurnosti i prometa.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Dobro došli u {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Vaš Jetpack je već spojen."],"You're fueled up and ready to go, Jetpack is now active.":["Sve je spremno za korištenje, Jetpack je aktiviran."],"You're fueled up and ready to go.":["Sve je spremno za korištenje."],"You are currently running a development version of Jetpack.":["Trenutno koristite razvojnu inačicu Jetpacka."],"Submit Beta feedback":["Pošaljite Beta povratnu informaciju"],"What would you like to see on your Jetpack Dashboard?":["Što bi željeli vidjeti na svojoj Jetpack Nadzornoj ploči?"],"Let us know!":["Dojavite nam!"],"Saving…":["Snimanje..."],"Save Settings":["Spremi postavke"],"Jetpack Stats Icon":["Jetpack Ikona statistike"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Aktiviraj Statistiku web-stranice{{/a}} kako bi vidjeli detaljnu statistiku, lajkove, pratitelje, pretplatnike i još puno toga! {{a1}}Saznajte više{{/a1}}"],"Activate Site Stats":["Aktiviraj Statistiku web-stranice"],"Site Backups":["Sigurnosne kopije web-stranice"],"Upgrade":["Ažuriranje"],"ACTIVE":["AKTIVNO"],"View your spam stats":["Pregled spam statistike"],"View your security dashboard":["Pregled nadzorne ploče sigurnosti"],"Real-Time Backups":["Trenutne Sigurnosne kopije"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Vaša web-stranica je trenutno u Razvojnom načinu rada, stoga se ne možete spojiti s WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Povežite svoj račun s WordPress.com kako bi maksimalno iskoristili Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Za automatsko, opsežno sigurnosno skeniranje sigurnosnih prijetnji, {{a}}instalirajte i aktivirajte{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack aktivno blokira zloćudne pokušaje prijave. Podaci će se uskoro ovdje prikazati."],"Total malicious attacks blocked on your site.":["Ukupan broj blokiranih zloćudnih napada na vašu web-stranicu."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Aktivna zaštita{{/a}} za zaštitu vaše web-stranice od zloćudnih pokušaja prijave."],"All plugins are up-to-date. Awesome work!":["Svi dodaci su ažurirani. Odličan posao!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack nadzire vašu web-stranicu. Ako nam se učini da web-stranice nije online, poslati ćemo vam poruku e-poštom."],"Security":["Sigurnost"],"Performance":["Performanse"],"Backup":["Sigurnosne kopije"],"{{a}}View backup details{{/a}}.":["{{a}}Pregledaj detalje sigurnosne kopije{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Za automatsku sigurnosnu kopiju cijele web-stranice napravite {{a}}instalirajte i aktivirajte{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Nedostupno u Razvojnom načinu rada."],"Unavailable in Dev Mode":["Nedostupno u razvojnom modu"],"Activating %(slug)s…":["Aktiviranje %(slug)s…"],"%(slug)s has been activated.":["%(slug)s je aktivirano."],"%(slug)s failed to activate. %(error)s":["%(slug)s nije se uspjelo aktivirati. %(error)s"],"Deactivating %(slug)s…":["Deaktiviranje %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s je deaktivirano."],"%(slug)s failed to deactivate. %(error)s":["Neuspjela deaktivacija %(slug)s. %(error)s"],"Updating %(slug)s settings…":["Ažuriranje postavki %(slug)s..."],"Updated %(slug)s settings.":["%(slug)s postavke ažurirane."],"Error updating %(slug)s settings. %(error)s":["Greška pri ažuriranju %(slug)s postavki. %(error)s"],"Updating %(slug)s address…":["Ažuriranje %(slug)s adrese."],"Regenerated %(slug)s address .":["Regenerirana %(slug)s adresa."],"Error regenerating %(slug)s address. %(error)s":["Greška u regeneriranju %(slug)s adrese. %(error)s"],"Resetting Jetpack options…":["Resetiranje Jetpack opcija..."],"Options reset.":["Reset opcija."],"Options failed to reset.":["Opcije nisu uspješno resetirane."],"There was an error disconnecting Jetpack. Error: %(error)s":["Dogodila se greška pri odspjajanju Jetpacka. Error: %(error)s"],"Unlinking from WordPress.com":["Odspajanje od WordPress.com."],"Unlinked from WordPress.com.":["Odspojen od WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Greška pri odspajanju od WordPress.com. %(error)s"],"At A Glance":["Kratki pregled"],"Dashboard":["Nadzorna ploča"],"Automattic's Privacy Policy":["Automattic Polica Privatnosti"],"WordPress.com Terms of Service":["WordPress.com Uvjeti Usluge"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Uključite automatsko ažuriranje dodataka{{/a}}"],"Plugin Updates":["Ažuriranja dodataka"],"No threats found, you're good to go!":["Nisu pronađene prijetnje, nastavite bez briga!"],"{{a}}Contact Support{{/a}}":["{{a}}Kontaktiraj podrišku{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Pogledaj detalje na VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s prijetnja pronađena.","Uh oh, %(number)s prijetnje pronađene.","Uh oh, %(number)s prijetnja pronađeno."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Aktiviraj Monitor{{/a}} za primanje obavijesti e-poštom ako vaša web-stranica postane nedostupna."],"Loading…":["Učitavanje..."],"Downtime monitor":["Nadzor dostupnosti"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Pogledajte više statistike na WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Prikaži detaljnu statistiku{{/button}}"],"All-time comments":["Svi komentari"],"All-time views":["Svi pregledi"],"%(number)s View":["%(number)s pregled","%(number)s pregleda","%(number)s pregleda"],"Best overall day":["Najposjećeniji dan"],"Views today":["Pregleda danas"],"Months":["Mjeseci"],"Weeks":["Tjedana"],"Days":["Dana"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Nešto se dogodilo prilikom učitavanja statistike. Pokušajte ponovno kasnije ili {{a}}odmah pregledajte statistiku na WordPress.com{{/a}}"],"Click to view detailed stats.":["Kliknite za pregled detaljne statistike."],"Views: %(numberOfViews)s":["Pregleda: %(numberOfViews)s"],"Week of %(date)s":["Tjedan %(date)s"],"Site Security":["Sigurnost web-stranice"],"Link to WordPress.com":["Povezivanje s WordPress.com"],"Unlink me from WordPress.com":["Odspajanje s WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Dogodio se problem s spajanjem Jetpacka. Kliknite ponovno na \"Poveži se s WordPress.com\""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Dogodio se problem s spajanjem Jetpacka; deaktivirajte a zatim reaktivirajte Jetpack dodatak, i ponovno se spojite."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Trebate ostati prijavljeni na vašem WordPress blogu dok autorizirate Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Vaš Jetpack ima problema.{{/s}} Ispričavamo se zbog neugodnosti. Pokušajte ponovno kasnije, ako se problem nastavi, kontaktirajte podršku s ovom porukom: %(error_key)s"],"Disconnecting Jetpack":["Odspoji Jetpack"],"Learn more":["Saznaj Više"],"Posts":["Objave"],"Front page":["Početna stranica"],"Upload videos":["Prenesi video"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Prikaži srodni sadržaj ispod objava"],"Related":["Srodno"],"Disconnect":["Odspojeni"],"Save":["Spremi"],"Media":["Media"],"Mobile Theme":["Tema za Mobitele"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX je moćan markup jezik za pisanje kompleksnih matematičkih jednadžbi, formula, itd."],"Site Stats":["Statistike stranice"],"Sharing":["Dijeljenje "],"Testimonials":["Preporuke"],"Cancel":["Odustani"],"Comments":["Komentari"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack ne može kontaktirati WordPress.com: %(error_key)s. Ovo obično znači da je nešto krivo konfigurirano na vašem web hostu."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com trenutno ima neke probleme i ne može aktivirati vaš Jetpack. Molimo vas da pokušate kasnije. "],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Vaš Jetpack ima problem.{{/s}} Povezivanje ove web-stranice s WordPress.com nije moguće. Ovo obično znači da vaša stranica nije javno dostupna (localhost). "],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Vaša web-stranica mora biti javno dostupan da bi mogao koristiti Jetpack: %(error_key)s"],"Edit":["Uredi"],"Connected":["Spojeno"],"Activate":["Aktiviraj"],"Active":["Aktivno"],"Settings":["Postavke"],"Learn More":["Saznaj više"],"Disconnect Jetpack":["Odspoji Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":[""],"Settings header\u0004Anti-spam":[""],"Settings header\u0004WP.me Shortlinks":[""],"Settings header\u0004Auto-update plugins":[""],"Settings header\u0004Widgets":[""],"Settings header\u0004Downtime monitoring":["Praćenje nedostupnosti"],"Settings header\u0004Privacy Settings":["Postavke privatnosti"],"Settings header\u0004WordPress.com toolbar":["WordPress.com alatna traka"],"Settings header\u0004Composing":["Sastavljanje"],"Settings header\u0004Site stats":["Statistika web-stranice"],"Settings header\u0004Search engine optimization":["Optimizacija za tražilice (SEO)"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Dugmad za dijeljenje"],"Settings header\u0004Publicize connections":["Konekcije Publiciranja"],"Settings header\u0004Like buttons":["Dugmad 'Sviđanje'"],"Settings header\u0004Brute force attack protection":["Zaštita od napada sirovom snagom"],"Settings header\u0004Backups and security scanning":["Sigurnosne kopije i sigurnosno skeniranje"],"Notice in the empty statistics chart\u0004No activity this period":[""],"Settings header, noun.\u0004WordPress.com login":[""],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":[""],"A caption for a button to cancel an action.\u0004Cancel":[""],"Link to learn more about Jetpack.\u0004About":[""],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Navigation item.\u0004Performance":[""],"Navigation item.\u0004My Plan":[""],"Navigation item.\u0004Dev Tools":["Razvojni alati"],"Navigation item.\u0004Settings":["Postavke"],"Navigation item.\u0004Discussion":["Rasprava"],"Navigation item.\u0004Traffic":["Promet"],"Navigation item.\u0004Sharing":["Dijeljenje"],"Navigation item.\u0004At A Glance":["Kratki pregled"],"Navigation item.\u0004Plans":["Planovi"],"Navigation item.\u0004Writing":["Pisanje"],"Navigation item.\u0004Reset Options (dev only)":["Reset opcije (samo dev inačice)"],"Navigation item.\u0004Security":["Sigurnost"],"Navigation item.\u0004At a Glance":["Kratki pregled"],"Search term.\u0004terms of service":["uvjeti korištenja"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["tracks"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Nadogradnja"],"Button caption\u0004Saving…":["Spremanje..."],"Button caption\u0004Save settings":["Spremi postavke"],"A heading for a block of related posts.\u0004Related":["Povezano"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Pretpregled"],"Short warning message\u0004Updates needed":["Potrebne nadogradnje"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Plaćeno"],"A header for a preview area in the configuration screen.\u0004Preview":["Pretpregled"],"Ads header\u0004Ads":["Oglasi"],"Dashboard widget header\u0004Site connection":["Konekcija web-stranice"],"Dashboard widget header\u0004Account connection":["Konekcija računa"],"A caption for a small button to fix security issues.\u0004Threats":["Prijetnje"],"A caption for a small button to fix security issues.\u0004FIX":["POPRAVAK"],"Short warning message about new threats found.\u0004Threats found!":["Pronađene prijetnje!"],"Short message informing user that the site is secure.\u0004Secure":["Osigurano"],"Caption for a button to set up a feature.\u0004Set up":["Postavi"],"verb\u0004Copy":["Kopija"],"Shorthand for Privacy Policy.\u0004Privacy":["Privatnost"],"Shorthand for Terms of Service.\u0004Terms":["Uvjeti"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Ispravljanje grešaka"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Blokirani spam komentari."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-hu_HU-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-hu_HU-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 7b363fb5..00000000
--- a/plugins/jetpack/languages/json/jetpack-hu_HU-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Manually Verify ":[""],"Verify with Google":[""],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":[""],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Custom ads.txt entries":[""],"Privacy information":[""],"Enable Lazy Loading for images":[""],"Performance & speed":[""],"Enable high-speed, ad-free video player":[""],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":[""],"Video":[""],"Carousel color scheme":[""],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":[""],"Show photo Exif metadata in carousel (when available)":[""],"Display images in a full-screen carousel gallery":[""],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":[""],"Portfolios shortcode: [portfolio]":[""],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":[""],"Testimonials shortcode: [testimonials]":[""],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":[""],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":[""],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":[""],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":[""],"Configure related posts in the Customizer":[""],"Highlight related content with a heading":[""],"View security scan details":[""],"Show a thumbnail image where available":[""],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":[""],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":[""],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":[""],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":[""],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator.":[""],"%(moduleName)s has been disabled by a site administrator.":[""],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":[""],"Configure your notification settings":[""],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":[""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":[""],"Plugin needs updating.":["","Plugins need updating."],"%(number)s":["","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":[""],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":[""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":[""],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":[""],"Loads the next posts automatically when the reader approaches the bottom of the page.":[""],"Allows you to publish new posts by sending an email to a special address.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":[""],"Displays information on your site activity, including visitors and popular posts or pages.":[""],"Allows you to optimize your site and its content for better results in search engines.":[""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":[""],"Displays high-quality ads on your site that allow you to earn income.":[""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":[""],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":[""],"Allows registered users to log in to your site with their WordPress.com accounts.":[""],"Protects your site from traditional and distributed brute force login attacks.":[""],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":[""],"Removes spam from comments and contact forms.":[""],"We are committed to your privacy and security. ":[""],"View all Jetpack plans":[""],"Manage your plan":[""],"Your Plan":[""],"You’re currently on Jetpack %(plan)s.":[""],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":[""],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":[""],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":[""],"Add Search (Jetpack) Widget":[""],"Jetpack Search is powering search on your site.":[""],"Manage your plugins":[""],"Moderate comments":[""],"Error updating privacy settings. %(error)s":[""],"Updated privacy settings.":[""],"Updating privacy settings…":[""],"Add Jetpack Search Widget":[""],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":[""],"Daily backups, spam filtering, and priority support.":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"Design the perfect website":[""],"Set up Jetpack":[""],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":[""],"Jetpack Search":[""],"Jetpack version %(version)s":[""],"Your site is being backed up in real time and regularly scanned for security threats.":[""],"Daily backup of all your site data with unlimited space and one-click restores":[""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"View your security activity":[""]," (powered by VaultPress).":[""],"Customize Search Widget":[""],"Please correct the issue below and try again.":["","Please correct the issues listed below and try again."],"We are making sure your site stays free of security threats. You will be notified if we find one.":[""],"Jetpack version":["Jetpack verzió"],"Activity":["Aktivitás"],"{{a}}View details{{/a}}":[""],"Monetize your site with ads":[""],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":[""],"Jetpack Stats People":[""],"Hello there! Your stats have been activated.":[""],"Just give us a little time to collect data so we can display it for you here.":[""],"Okay, got it!":[""],"Display ads below posts on":[""],"Additional ad placements":[""],"Top of each page":[""],"Second ad below post":[""],"Archives":[""],"Stars":[""],"Jupiter":[""],"Activate Publicize":[""],"Your site is backed up.":[""],"Get WordPress Apps for every device":["Töltsük le a WordPress alkalmazásokat minden eszközre"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Kezeljük az összes oldalunkat egyetlen vezérlőpultról, legyen az: tartalmak publikálása, statisztikák megtekintése, hozzászólások moderálása, és még sok minden a világ bármely tájáról."],"Create address":["Cím létrehozása"],"Automatically share your posts to social networks":["Automatikus megosztás a közösségi oldalakon"],"Updating settings…":["Beállítások frissítése..."],"Updating Post by Email address…":["Bejegyzés frissítése Emailen keresztül..."],"Your paid plan gives you access to prioritized Jetpack support.":[""],"You have paid for backups but they're not yet active.":[""],"You have paid for backups and security scanning but they’re not yet active.":[""],"Click \"Set Up\" to finish installation.":[""],"Checking site status…":[""],"Pages":["Oldalak"],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":["Megosztási gombok testreszabása"],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":["Google Analítikák"],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Download the free apps":[""],"Upgrade Focus: VideoPress For Weddings":["Fókusz frissítése: A VideoPress esküvők részére"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":["SEO eszközök"],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":["További információ"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}A kedvelési lehetőségek láthatóságát a Megosztás modul beállításainál kezelhetjük{{/a}}"],"Your current IP: %(ip)s":["Jelenlegi IP címünk: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["El nem mentett változások vannak ezen a lapon, amik elvesznek, ha elnavigálunk. Biztosan ezt szeretnénk?"],"This will reset all Jetpack options, are you sure?":["Ezzel minden Jetpack beállítás elveszik. Biztosan folytatni szeretnénk?"],"Search for a Jetpack feature.":["Keresés a Jetpack funkciók között."],"Configure your Security Scans":[""],"Subscriber":["Feliratkozó"],"Big iPhone/iPad Update Now Available":["A nagy iPhone/iPad frissítés már elérhető"],"The WordPress for Android App Gets a Big Facelift":["A WordPress for Android App kapott egy arculat átalakítást"],"WordPress.com Likes are:":["WordPress.com kedvelői:"],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":["Engedélyezett lista IP-címei"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":["Sikeres másolás."],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":["Csalunk, csalunk?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Üdvözöljük a {{s}}Jetpack %(jetpack_version)s{{/s}} verziójában!"],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":["Mit szeretnénk látni a Jetpack vezérlőpultján?"],"Let us know!":["Tudassa velünk!"],"Saving…":["Mentése..."],"Save Settings":["Beállítások mentése"],"Jetpack Stats Icon":["Jetpack statisztikák ikon"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Honlap statisztikák bekapcsolása{{/a}} által láthatjuk honlapunk részletes statisztikáját, kedvelőit, követőit, feliratkozóit, és így tovább egyéb statisztikai adatokat! {{a1}}További információk erről{{/a1}}"],"Activate Site Stats":["Honlap statisztikák bekapcsolása"],"Upgrade":["Előfizetés"],"ACTIVE":["BEKAPCSOLT"],"View your spam stats":["Spam statisztikák megtekintése"],"View your security dashboard":["Biztonsági vezérlőpult megtekintése"],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":["Minden bővítmény naprakész. Szép munka!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":["Biztonság"],"Performance":["Teljesítmény"],"{{a}}View backup details{{/a}}.":["{{a}}Biztonsági mentés további részleteinek megtekintése{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"Activating %(slug)s…":["%(slug)s bekapcsolása…"],"%(slug)s has been activated.":["%(slug)s be lett kapcsolva."],"%(slug)s failed to activate. %(error)s":["%(slug)s modult nem sikerült aktiválni. %(error)s"],"Deactivating %(slug)s…":["%(slug)s kikapcsolása…"],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":["%(slug)s beállítások frissítése..."],"Updated %(slug)s settings.":["%(slug)s beállítások frissítve."],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":["Beállítások visszaállítása folyamatban..."],"Options reset.":["Beállítások visszaállítása"],"Options failed to reset.":["Beállításokat nem sikerült visszaállítani."],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":["Elválasztása a WordPress.com fiókunktól."],"Unlinked from WordPress.com.":["Elválasztva a WordPress.com fiókunktól."],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":["Áttekintés"],"Dashboard":["Vezérlőpult"],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":["WordPress.com szolgáltatás feltételei"],"Plugin Updates":["Bővítmény frissítések"],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":["{{a}}Kapcsolat a támogatáshoz{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Részletek megtekintése a VaultPress.com honlapján{{/a}}"],"Uh oh, %(number)s threat found.":["Uh! Sajnos, %(number)s fenyegetés található.","Uh! Sajnos, %(number)s fenyegetés található."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":[""],"Loading…":["Betöltés..."],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Még több statisztika a WordPress.com oldalán {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Régi típusú statisztikai oldal megtekintése{{/button}}"],"All-time comments":["Eddigi hozzászólások"],"All-time views":["Eddigi megtekintés"],"%(number)s View":["%(number)s megtekintés","%(number)s megtekintés"],"Best overall day":["Összesített legjobb nap"],"Views today":["Mai megtekintések"],"Months":["Havi"],"Weeks":["Heti"],"Days":["Napi"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":["Részletes statisztika megtekintéséhez kattintsunk ide."],"Views: %(numberOfViews)s":["Megtekintés: %(numberOfViews)s"],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":["Kapcsolat megszakítása köztem és a WordPress.com között"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":["Jetpack leválasztása"],"Learn more":["Bővebben"],"Posts":["Bejegyzés"],"Front page":["Kezdőoldal"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Kapcsolódó tartalom mutatása a bejegyzések után"],"Related":["Kapcsolódó bejegyzések"],"Disconnect":["Szétkapcsolás"],"Save":["Mentés"],"Media":["Médiatár"],"Site Stats":["Statisztika"],"Sharing":["Megosztás"],"Testimonials":["Vélemények"],"Cancel":["Megszakítás"],"Comments":["Hozzászólások"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack nem tud kapcsolódni a WordPress.com-hoz: %(error_key)s. Ez gyakran azt jelenti, hogy a kiszolgálódon valami rosszul van beállítva."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com most nem tudja kiszolgálni a Jetpacket. Próbáld újra később."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Hiba lépett fel a Jetpack használata közben.{{/s}} Nem lehet a WordPress.com honlaphoz kapcsolódni. Ez annyit jelent, hogy valószínűleg a weboldalunk nem érhető el nyilvánosan (pl. saját gépünkről fut)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["A webhelyünknek nyilvánosan elérhetőnek kell lennie, a Jetpack használatához: %(error_key)s"],"Edit":["Szerkesztés"],"Connected":["Kapcsolódva"],"Activate":["Bekapcsol"],"Active":["Aktív"],"Settings":["Beállítások"],"Learn More":["Bővebben"],"Disconnect Jetpack":["Jetpack leválasztása"],"Test your site’s compatibility with Jetpack.":["Honlap Jetpack kompatibilitás ellenőrzése."],"Settings header\u0004Downtime monitoring":[""],"Settings header\u0004Privacy Settings":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":["Megosztási gombok"],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"Search term.\u0004terms of service":[""],"Search term.\u0004tos":[""],"Search term.\u0004gdpr":[""],"Search term.\u0004data":[""],"Search term.\u0004tracks":[""],"Search term.\u0004privacy":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"A heading for a block of related posts.\u0004Related":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":["Megosztás"],"Navigation item.\u0004At A Glance":["Áttekintés"],"Navigation item.\u0004Plans":["Csomagok"],"Navigation item.\u0004Writing":["Írás"],"Navigation item.\u0004Reset Options (dev only)":["Beállítások visszaállítása (csak fejlesztői verzió)"],"Navigation item.\u0004Security":["Biztonság"],"Navigation item.\u0004At a Glance":["Áttekintés"],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":["Másolás"],"Shorthand for Privacy Policy.\u0004Privacy":["Adatvédelem"],"Shorthand for Terms of Service.\u0004Terms":["Szolgáltatás feltételei"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Hibakeresés"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Spam hozzászólás blokkolva."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-id_ID-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-id_ID-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 2584f0ed..00000000
--- a/plugins/jetpack/languages/json/jetpack-id_ID-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n > 1;","lang":"id"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Paket %(planName)s Anda termasuk %(featureName)s. Sepertinya Anda juga membeli produk %(productName)s. Pertimbangkan untuk menghapus %(productName)s."],"real-time backups":["pencadangan real-time"],"daily backups":["pencadangan harian"],"Renews on %s.":["Diperpanjang pada %s."],"Purchased on %s.":["Dibeli pada %s."],"Select a backup option:":["Tentukan pilihan pencadangan:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Upgrade ke %(name)s seharga {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Anda menghemat {{savings /}} dengan membayar tahunan"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Cepat, ini {{s}}harga perkenalan dengan waktu Terbatas!{{/s}}"],"Up to %(percent)d%% off!":["Diskon hingga %(percent)d%%!"],"per month":["per bulan"],"per year":["per tahun"],"Which backup option is best for me?":["Pilihan pencadangan mana yang terbaik untuk saya?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Kelola Langganan"],"Your site is being backed up.":["Situs Anda sedang dicadangkan."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Anda perlu memasukkan kredensial server untuk menyelesaikan konfigurasi Pencadangan Jetpack."],"Jetpack Backup is being configured for your site.":["Pencadangan Jetpack sedang dikonfigurasikan untuk situs Anda."],"Daily Backups":["Pencadangan Harian"],"Just looking for backups? We've got you covered.":["Mencari pencadangan? Kami punya solusinya."],"Solutions":["Solusi"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Disertakan dalam {{planLink}}Paket Professional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Disertakan dalam {{planLink}}Paket Premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Disertakan dalam {{planLink}}Paket Personal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Pencadangan yang selalu aktif memastikan Anda tidak akan kehilangan situs. Perubahan Anda akan tersimpan selagi Anda menyunting dan arsip pencadangan yang Anda miliki tidak terbatas."],"Always-on backups ensure you never lose your site.":["Pencadangan yang selalu aktif memastikan Anda tidak akan kehilangan situs."],"My Products":["Produk Saya"],"My Plan":["Paket Saya"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Pencadangan Jetpack {{em}}Real-Time{{/em}}"],"Your data is being securely backed up as you edit.":["Data Anda dicadangkan dengan aman selagi Anda menyunting."],"Jetpack Backup {{em}}Daily{{/em}}":["Pencadangan Jetpack {{em}}Harian{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Data Anda dicadangkan dengan aman setiap hari dengan arsip 30 hari."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Premium Jetpack"],"Jetpack Personal":["Pribadi Jetpack"],"Jetpack Free":["Jetpack Gratis"],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Ada pertanyaan? Kami akan dengan senang hati membantu! {{a}}Kirim pertanyaan kepada tim dukungan Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack memiliki banyak alat canggih yang bisa membantu Anda mencapai tujuan"]," We’ve highlighted some of the features you rely on below.":[" Kami telah menyoroti beberapa fitur andalan di bawah ini."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack saat ini mendukung fitur di situs Anda. Begitu Jetpack dinonaktifkan, fitur-fitur ini tidak akan lagi tersedia dan situs Anda mungkin tidak lagi berfungsi dengan cara yang sama."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack saat ini mendukung fitur di situs Anda. Begitu Jetpack diputus, fitur-fitur ini tidak akan lagi tersedia dan situs Anda mungkin tidak lagi berfungsi dengan cara yang sama."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Tingkatkan lalu lintas Anda dengan {{a}}publikasi dan berbagi{{/a}} otomatis di media sosial"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Blokir {{a}}peretasan kata sandi{{/a}} dan dapatkan pemberitahuan langsung jika situs Anda tidak aktif"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Tingkatkan kecepatan situs Anda dan berikan {{a}}CDN kami{{/a}} untuk gambar siap pakai di perangkat seluler"],"Disable":["Nonaktifkan"],"Are you sure you want to disconnect and deactivate?":["Anda yakin ingin memutus sambungan atau menonaktifkan?"],"Are you sure you want to disconnect?":["Anda yakin ingin memutus sambungan?"],"Disable Jetpack":["Nonaktifkan Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Kami mencadangkan situs web Anda dengan setiap perubahan yang Anda lakukan, sehingga memudahkan dalam memperbaiki kesalahan."],"Automated Real-time Backups":["Pencadangan Real-time Otomatis"],"We back up your website every day, so you never have to worry about your data again.":["Kami mencadangkan situs web Anda setiap hari, sehingga Anda tidak perlu khawatir lagi dengan data Anda."],"Automated Daily Backups":["Pencadangan Harian Otomatis"],"View Your Backups":["Lihat Cadangan Anda"],"A Jetpack Site securely backed up with Jetpack Backup":["Situs Jetpack dicadangkan dengan aman menggunakan Cadangan Jetpack"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Gunakan sintaks Markdown untuk membuat konten dengan tautan, daftar, dan gaya lainnya. Pengaturan ini mengaktifkan fungsi Markdown di Penyunting Klasik serta blok Penyunting Klasik."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Aktifkan{{/a}} untuk mengoptimalkan ukuran gambar dan memuat gambar dari jaringan server global Jetpack yang cepat. Hal ini meningkatkan performa situs di perangkat desktop dan seluler."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack mengoptimalkan ukuran gambar dan kecepatan pengunduhan menggunakan jaringan server global kami yang cepat. Hal ini meningkatkan performa situs di perangkat desktop dan seluler."],"Image Accelerator":["Akselerator Gambar"],"Start with free":["Mulai gratis"],"Now that you're set up, pick a plan that fits your needs.":["Setelah situs siap, pilih paket yang sesuai dengan kebutuhan Anda."],"Jetpack Backup":["Pencadangan Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Paket Jetpack Anda menyediakan perlindungan anti-spam melalui Akismet. Klik 'siapkan' untuk mengaktifkannya di situs Anda."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Sudah punya kunci? {{a}}Aktifkan Akismet{{/a}}"],"Verifying…":["Memverifikasi…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Naikkan peringkat situs Anda di mesin pencari dengan alat SEO andal dari Jetpack Premium atau Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Hadirkan kemampuan memuat yang cepat dan tampilan yang ringkas untuk perangkat seluler. Pengunjung masih akan melihat tema reguler Anda pada ukuran layar lainnya."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Hadirkan pengalaman membaca yang lancar dan bebas gangguan dengan memuat lebih banyak konten saat pengunjung menggulir ke bawah halaman arsip Anda."],"Customize your SEO settings":["Sesuaikan pengaturan SEO Anda"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Tentukan sendiri bagaimana mesin pencari merepresentasikan situs Anda. Dengan alat SEO dari Jetpack, Anda dapat mempratinjau tampilan konten Anda di mesin pencari populer dan mengubah item seperti nama situs dan slogan dalam hitungan detik."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Tambahkan tombol berbagi sehingga pengunjung bisa membagikan pos dan halaman Anda ke media sosial dengan dua kali klik cepat."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Sertakan bagan kecil di bilah admin, berisi snapshot lalu lintas selama 48 jam"],"Expand to update settings for how visits are counted and manage who can view this information.":["Perluas pengaturan pembaruan terkait bagaimana kunjungan dihitung dan kelola siapa yang dapat melihat informasi ini."],"You can customize the sharing buttons and choose which services to display.":["Anda bisa menyesuaikan tombol berbagi dan memilih layanan apa yang ingin ditampilkan."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Situs Anda dilindungi oleh Jetpack. Anda akan diberi tahu jika ada yang perlu diwaspadai."],"Find threats early so we can help fix them fast.":["Temukan ancaman lebih awal sehingga kami dapat membantu memperbaikinya dengan cepat."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Ganti pencarian dasar situs Anda dengan pencarian yang dapat disesuaikan, yang membantu pengunjung menemukan jawaban dengan lebih cepat."],"Never worry about losing your site – automatic backups keep your content safe.":["Tak perlu khawatir kehilangan situs – pencadangan otomatis menjaga konten Anda tetap aman."],"Protect":["Proteksi"],"Scan":["Pindai"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Bersihkan spam secara otomatis dari komentar dan formulir sehingga Anda bisa kembali fokus dengan bisnis."],"Anti-spam":["Anti-Spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Hubungkan situs Anda ke Google Analytics dalam waktu singkat dengan Jetpack Premium atau Professional."],"Log in to the WordPress mobile app":["Login ke aplikasi seluler WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Login ke aplikasi WordPress dengan mudah dalam satu klik pada tautan yang kami kirim ke alamat email di akun Anda."],"Email me a link to log in to the app":["Kirimi saya tautan melalui email untuk login ke aplikasi"],"Send your new posts to this email address:":["Kirimkan pos baru Anda ke alamat email ini:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Memposting lewat email adalah cara cepat memublikasikan pos baru tanpa harus mengunjungi situs Anda. Kami akan membuat alamat email yang unik untuk Anda mengirim konten, yang nantinya akan muncul di situs Anda sebagaimana pos lainnya."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["Bilah peralatan WordPress.com menggantikan bilah peralatan admin asal WordPress. Bilah peralatan ini menawarkan akses sekali klik ke pemberitahuan, profil WordPress.com, serta situs web Jetpack dan WordPress.com Anda yang lain. Anda juga bisa mengetahui kabar terbaru situs yang Anda ikuti di Pembaca."],"Verify site ownership with third party services":["Verifikasi kepemilikan situs dengan layanan pihak ketiga"],"Generate shortened URLs for simpler sharing.":["Buat URL singkat agar lebih mudah saat berbagi."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Pastikan para pengunjung Anda terhubung ke konten terkait di bawah setiap pos. Pengaturan ini tidak berlaku untuk {{a}}pos terkait yang ditambahkan menggunakan penyunting blok{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Fitur ini membantu pengunjung menemukan lebih banyak konten Anda dengan menampilkan pos terkait di bawah setiap pos."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack akan otomatis membuat {{link1}}ads.txt{{/link1}} kustom yang disesuaikan untuk situs Anda. Jika Anda perlu memasukkan entri tambahan untuk jaringan lain, masukkan di kolom di bawah ini, satu entri per baris. {{link2}}Lihat di sini untuk detail selengkapnya{{/link2}}."],"Add sharing buttons to your posts and pages":["Tambahkan tombol berbagi pada pos dan halaman Anda"],"Share your content to social media, reaching new audiences and increasing engagement.":["Bagikan konten Anda ke media sosial, dan dapatkan pemirsa baru serta interaksi yang meningkat."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Dapatkan pemberitahuan jika situs Anda offline. Akan kami beri tahu juga jika situs dicadangkan."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Dengan Jetpack, Anda bisa memilih agar plugin Anda diperbarui secara otomatis bersama setiap rilis plugin baru. Anda akan langsung mendapatkan keamanan dan perbaikan bug terbaru, memastikan situs Anda tetap aman."],"Choose which plugins to auto-update":["Pilih plugin mana yang ingin diperbarui otomatis"],"Upgrade Jetpack now":["Upgrade Jetpack sekarang"],"Monetize your site by running high quality ads.":["Dapatkan penghasilan dari situs Anda dengan menjalankan iklan kualitas tinggi."],"Customize your social posting schedule.":["Sesuaikan jadwal pos sosial Anda."],"Expand your audience with pro SEO tools.":["Perluas pemirsa Anda dengan alat SEO profesional."],"Take your site to the next level!":["Jadikan situs Anda lebih baik!"],"Search support docs":["Cari dokumen pendukung"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Perlu bantuan? Pelajari cara memulai, menyesuaikan situs, menggunakan penggalan kode lanjutan, dan sebagainya."],"Start sharing":["Mulai berbagi"],"Optimized performance":["Performa dioptimalkan"],"Enable the “subscribe to comments” option on your comment form":["Aktifkan pilihan “berlangganan komentar” di formulir komentar"],"Enable the “subscribe to site” option on your comment form":["Aktifkan pilihan “berlangganan situs” di formulir komentar"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Kelola pengaturan lanjutan komentar dan perbanyak pemirsa Anda dengan langganan email."],"Comment form introduction":["Pengenalan formulir komentar"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Antispam Jetpack didukung oleh Akismet. Pengiriman formulir kontak dan komentar akan diperiksa terhadap database spam global kami."],"Failed to send login email":["Gagal mengirim email login"],"Login email sent":["Email login terkirim"],"Sending login email…":["Mengirim email login…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Khawatir dengan keamanan? Dapatkan pencadangan, perbaikan keamanan otomatis, dan banyak lainnya: {{a}}Upgrade sekarang{{/a}}"],"Allow readers to like individual comments.":["Mengizinkan pembaca menyukai komentar individual."],"Enable comment likes.":["Aktifkan suka pada komentar."],"Allow readers to use markdown in comments.":["Mengizinkan pembaca menggunakan markdown pada komentar."],"Show Gravatar hovercards alongside comments.":["Menampilkan kartu hover Gravatar bersama komentar."],"Complete Jetpack Setup":["Menyelesaikan Penyiapan Jetpack"],"Your Jetpack setup progress":["Kemajuan penyiapan Jetpack Anda"],"View your setup checklist":["Lihat daftar periksa penyiapan Anda"],"Yearly":["Tahunan"],"Monthly":["Bulanan"],"About Jetpack":["Tentang Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Aktifkan kontrol visibilitas widget untuk menampilkan widget hanya pada pos atau halaman tertentu"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Visibilitas widget memungkinkan Anda menentukan widget yang muncul di halaman, sehingga Anda dapat menyesuaikan konten widget dengan baik."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Jadikan widget tambahan tersedia untuk digunakan di situs Anda, termasuk formulir langganan dan aliran Twitter"],"Enhance CSS customization panel":["Meningkatkan panel kustomisasi CSS"],"Writing":["Menulis"],"Compose using shortcodes to embed media from popular sites":["Tulis menggunakan shortcode untuk menyematkan media dari situs populer"],"Traffic":["Lalu Lintas"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Anda perlu memasukkan kredensial server untuk menyelesaikan konfigurasi Pencadangan dan Pemindaian."],"Awaiting credentials":["Menunggu kredensial"],"Backups and Scan are being configured for your site.":["Pencadangan dan Pemindaian sedang dikonfigurasi untuk situs Anda."],"Provisioning":["Penetapan"],"Action needed":["Perlu tindakan"],"Setting up":["Menyiapkan"],"Discussion":["Diskusi"],"We are configuring your site protection.":["Kami sedang mengonfigurasi perlindungan situs Anda."],"View your site's backups":["Lihat pencadangan situs Anda"],"We are backing up your site in real-time.":["Kami mencadangkan situs Anda secara real-time."],"Enter credentials":["Masukkan kredensial"],"You need to enter your server's credentials to finish the setup.":["Anda perlu memasukkan kredensial server untuk menyelesaikan penyiapan."],"We are configuring your site's backups.":["Kami sedang mengonfigurasi pencadangan situs Anda."],"View site activity":["Lihat aktivitas situs Anda"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack menyimpan catatan lengkap atas semua yang terjadi di situs Anda, menyingkirkan segala ketidakpastian dari pengelolaan situs, debug, dan perbaikan."],"Explore our Jetpack plans":["Jelajahi paket Jetpack kami"],"Support documentation":["Dokumen pendukung"],"Chat bubbles representing getting in touch with support":["Gelembung obrolan mewakili komunikasi dengan pihak dukungan"],"Site activity":["Aktivitas situs"],"Reach a wider audience by automatically sharing your posts on social media.":["Jangkau audiens yang lebih luas dengan membagikan postingan di media sosial secara otomatis."],"Increase traffic to your site":["Tingkatkan lalu lintas ke situs Anda"],"Explore free themes":["Jelajahi tema gratis"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Dapatkan akses tidak terbatas ke ratusan tema profesional, dan sesuaikan situs Anda seperti yang Anda suka."],"A wide variety of themes and tools to customize a site":["Berbagai macam tema dan alat untuk menyesuaikan situs"],"Set up your site security":["Siapkan keamanan situs Anda"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Cegah serangan login, dan dapatkan pemberitahuan instan ketika ada masalah terkait situs Anda."],"Site stats showing an evolution in traffic and engagement":["Statistik situs menunjukkan evolusi pada lalu lintas dan keterlibatan"],"A hand holding a loupe":["Tangan memegang kaca pembesar"],"A chart showing an healthy increase in earnings":["Bagan menunjukkan kenaikan pendapatan yang sehat"],"Interface showing a chronological list of changes and updates in a site":["Antarmuka menunjukkan daftar perubahan dan pembaruan kronologis pada sebuah situs"],"A cloud with multiple types of content floating around it":["Awan dengan beberapa jenis konten yang melayang di sekitarnya"],"A folder holding real comments":["Folder yang menyimpan komentar nyata"],"Make your site faster":["Jadikan situs Anda lebih cepat"],"Load pages faster by serving your images from our global network of servers.":["Muat halaman lebih cepat dengan menayangkan gambar dari jaringan server kami di seluruh dunia."],"A fast and performant website":["Situs web yang berfungsi dengan cepat"],"A secure site, locked and protected by Jetpack":["Situs yang aman, dikunci, dan dilindungi oleh Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Menyalin pos, halaman, Testimonial, dan Portofolio yang ada. Semua konten akan disalin termasuk teks, gambar andalan, pengaturan berbagi, dan lainnya."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Situs ini tidak dapat disambungkan ke WordPress.com karena melanggar {{a}}Ketentuan Layanan{{/a}} kami."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Sambungkan situs web Anda ke jaringan media sosial yang Anda gunakan dan bagikan konten Anda di semua akun sosial dengan sekali klik. Pos yang Anda publikasikan akan muncul di semua akun yang terhubung."],"Add Like buttons to your posts and pages":["Tambahkan tombol Suka ke pos dan halaman Anda"],"When visitors enjoy your content, let them show it with a Like.":["Saat pengunjung menyukai konten Anda, biarkan mereka menunjukkannya dengan tanda Suka."],"Create account":["Buat akun"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack mendukung situs Anda, namun untuk mengakses semua fiturnya, Anda perlu membuat akun."],"Compose content the way you want to and streamline your publishing experience.":["Susun konten sesuai keinginan Anda dan sederhanakan proses publikasi."],"Add a portfolio item":["Tambahkan item portofolio"],"Add a testimonial":["Tambahkan testimonial"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maksimalkan visibilitas situs Anda di mesin pencarian dan lihat statistik kunjungan secara real-time."],"Create a Jetpack account to use this feature":["Buat akun Jetpack agar dapat menggunakan fitur ini"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack akan terus memantau situs Anda, dan mengirimkan pemberitahuan saat waktu tidak aktif terdeteksi."],"Error enabling Site accelerator. %(error)s":["Terjadi error saat mengaktifkan Akselerator situs. %(error)s"],"Site accelerator is now speeding up your site!":["Akselerator situs mempercepat situs Anda!"],"Enabling Site accelerator…":["Mengaktifkan Akselerator situs…"],"Error disabling site accelerator. %(error)s":["Terjadi error saat menonaktifkan Akselerator situs. %(error)s"],"Site accelerator is no longer speeding up your site!":["Akselerator situs sudah tidak mempercepat situs Anda!"],"Disabling site accelerator…":["Menonaktifkan akselerator situs…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Muat halaman lebih cepat, optimalkan gambar, dan hadirkan pengalaman yang lebih cepat bagi pengunjung."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Lengkapi statistik WordPress.com Anda dengan pengamatan mendalam dari Google terkait pengunjung dan pola kunjungan."],"High-speed, high-definition video hosting with no third-party ads.":["Hosting video definisi dan kecepatan tinggi tanpa iklan pihak ketiga."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Jadwalkan tweet, pos Facebook, dan pos media sosial lainnya tanpa batas di awal."],"Marketing Automation":["Otomatisasi Pemasaran"],"Activate Jetpack Search":["Aktifkan Pencarian Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Menggantikan pencarian asal WordPress dengan hasil dan penyaringan yang lebih baik, didukung oleh Elasticsearch."],"Start earning":["Mulai meraih hasil"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds memungkinkan Anda menghasilkan uang dengan menampilkan konten promosi. Mulai meraih hasil sekarang juga."],"Spam is automatically blocked from your comments.":["Spam diblokir secara otomatis dari kolom komentar Anda."],"Browse premium themes":["Jelajahi tema premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Akses ratusan tema premium dengan desain menawan tanpa biaya tambahan."],"Try a premium theme":["Coba tema premium"],"View settings":["Lihat pengaturan"],"Create a Jetpack account to view your email followers":["Buat akun Jetpack untuk melihat pengikut email Anda"],"Manage security settings":["Kelola pengaturan keamanan"],"Jetpack is ready for the new WordPress editor":["Jetpack siap digunakan dalam penyunting WordPress baru"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Hari ini, kami memperkenalkan gelombang awal dari blok spesifik dari Jetpack yang dibuat khusus untuk pengalaman penyunting baru: Tombol Pembayaran Simpel, Formulir, Peta, dan Markdown."],"Build your Jetpack site with blocks":["Buat situs Jetpack dengan blok"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Penyunting baru? Ya! {{a}}Pelajari selengkapnya{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Fitur yang dapat diandalkan, diadaptasi untuk penyunting WordPress baru."],"Take me to the new editor":["Bawa saya ke penyunting baru"],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":["Terjadi error saat menguji Jetpack. Error: %(error)s"],"New in Jetpack!":["Baru di Jetpack!"],"Speed up static file load times":["Mempercepat waktu pemuatan file statis"],"Speed up image load times":["Mempercepat waktu pemuatan gambar"],"Enable site accelerator":["Aktifkan akselerator situs"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Muat halaman lebih cepat dengan mengizinkan Jetpack mengoptimalkan gambar dan menyajikan gambar serta file statis Anda (seperti CSS dan JavaScript) Anda dari jaringan server global kami."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Tambahkan satu lapis keamanan untuk situs web Anda dengan mengaktifkan autentikasi yang aman dan login ke WordPress.com. Jika Anda memiliki beberapa situs dengan pilihan ini diaktifkan, Anda dapat login ke setiap situs tersebut dengan kredensial yang sama."],"View your site activity":["Lihat aktivitas situs Anda"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Lihat daftar kronologis semua perubahan dan pembaruan terhadap situs Anda dengan cara yang tertata dan mudah dibaca."],"Manually Verify ":["Verifikasi Manual "],"Verify with Google":["Verifikasi dengan Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google akan mengirimkan email berisi aktivitas tertentu yang terjadi pada situs Anda, termasuk indikasi bahwa situs Anda telah {{a1}}diretas{{/a1}}, atau masalah saat {{a2}}menelusuri atau mengindeks{{/a2}} situs Anda."],"or":["atau"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Memantau lalu lintas kunjungan dan performa situs Anda dari {{a}}Konsol Pencarian Google{{/a}}."],"Your site is verified with Google":["Situs Anda diverifikasi dengan Google"],"Site failed to verify: %(error)s":["Situs gagal memverifikasi: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Tambahkan pencarian yang lebih cepat dan canggih ke situs Anda dengan Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Ganti pencarian bawaan WordPress dengan Pencarian Jetpack untuk merasakan pengalaman pencarian yang canggih"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Pencarian Jetpack menggantikan pencarian bawaan dengan pencarian yang cepat, dapat diukur, dapat disesuaikan, dan sangat relevan yang dihosting di cloud WordPress.com. Hasilnya: Pengguna Anda akan menemukan konten yang mereka inginkan, lebih cepat."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["Pencarian bawaan WordPress cocok untuk situs yang tidak memiliki banyak konten. Namun seiring berkembangnya situs, pencarian menjadi lambat dan memberikan hasil yang kurang relevan."],"Jetpack Search supports many customizations.":["Pencarian Jetpack mendukung banyak kustomisasi."],"Site is verified":["Situs diverifikasi"],"Spam filtering and priority support.":["Penyaringan spam dan dukungan prioritas."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Apabila iklan diaktifkan, Jetpack akan otomatis membuat ads.txt kustom yang disesuaikan untuk situs Anda."],"Custom ads.txt entries":["Entri ads.txt kustom"],"Privacy information":["Informasi privasi"],"Enable Lazy Loading for images":["Aktifkan Lazy Loading untuk gambar"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Lazy-loading untuk gambar akan meningkatkan kecepatan situs Anda dan menghasilkan pengalaman penayangan yang lebih lancar. Gambar akan dimuat saat pengunjung menggulir layar, bukannya sekaligus di awal."],"Performance & speed":["Performa & kecepatan"],"Enable high-speed, ad-free video player":["Aktifkan pemutar video berkecepatan tinggi dan bebas iklan"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Jadikan konten yang Anda publikasikan lebih memikat dengan video resolusi tinggi. Dengan Jetpack Video, Anda dapat menyesuaikan pemutar media dan menyajikan video berkecepatan tinggi, bebas iklan, dan tanpa cap kepada pengunjung situs. Video dihosting di server WordPress.com dan tidak mengurangi ruang dari paket hosting Anda!"],"Video":["Video"],"Carousel color scheme":["Skema warna karusel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Data Exif menampilkan detail teknis tambahan dari suatu foto kepada pemirsa, seperti panjang fokus, apertur, dan ISO."],"Show photo Exif metadata in carousel (when available)":["Tampilkan metadata Exif foto dalam karusel (jika tersedia)"],"Display images in a full-screen carousel gallery":["Tampilkan gambar dalam galeri karusel layar penuh"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Buat slideshow karusel layar penuh untuk gambar di pos dan halaman Anda. Galeri karusel cocok untuk tampilan seluler dan mendorong pengunjung situs untuk berinteraksi dengan foto."],"Portfolios shortcode: [portfolio]":["Shortcode portofolio: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Gunakan {{portfolioLink}}portofolio{{/portfolioLink}} di situs untuk memajang karya terbaik Anda. Jika tema Anda tidak mendukung Jetpack Portfolios, Anda masih bisa menggunakan Shortcode yang simpel untuk menampilkannya di situs."],"Testimonials shortcode: [testimonials]":["Shortcode testimoni: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Tambahkan {{testimonialLink}}testimoni{{/testimonialLink}} ke situs web Anda untuk menarik pelanggan baru. Jika tema Anda tidak mendukung Jetpack Testimonials, Anda masih bisa menggunakan shortcode yang simpel untuk menampilkannya di situs."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Mesin pencari tidak dapat mengakses situs Anda saat ini. Jika ingin menjadikan situs Anda dapat diakses, periksa {{a}}Pengaturan pembacaan{{/a}} dan aktifkan \"Visibilitas Mesin Pencari\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Kabar baik: Jetpack mengirimkan peta situs Anda secara otomatis ke semua mesin pencari besar untuk pengindeksan."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Peta situs adalah file yang digunakan mesin pencari seperti Google atau Bing untuk mengindeks situs web. Hal ini dapat membantu meningkatkan peringkat Anda di hasil pencarian. Jika fitur ini diaktifkan, Jetpack akan membuat peta situs dan memperbaruinya secara otomatis saat konten di situs Anda berubah."],"Configure related posts in the Customizer":["Konfigurasikan pos terkait di Customizer"],"Highlight related content with a heading":["Soroti konten terkait dengan judul"],"View security scan details":["Lihat detail pemindaian keamanan"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Tampilkan gambar mini jika tersedia"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Untuk informasi selengkapnya tentang seberapa spesifik fitur Jetpack menggunakan data dan melacak aktivitas, lihat {{privacyCenterLink}}Pusat Kebijakan{{/privacyCenterLink}} kami."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Kami menggunakan alat pelacakan lainnya, termasuk beberapa dari pihak ketiga. {{cookiePolicyLink}}Baca tentang hal ini{{/cookiePolicyLink}} dan cara mengontrolnya."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Informasi ini membantu kami menyempurnakan produk, membuat pemasaran kepada Anda jadi lebih relevan, menyesuaikan pengalaman WordPress.com Anda, dan lainnya seperti yang dijelaskan dalam {{pp}}kebijakan privasi{{/pp}} kami."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Berbagi informasi dengan alat analitik kami tentang penggunaan layanan Anda saat sudah login ke akun WordPress.com Anda. {{cookiePolicyLink}}Pelajari selengkapnya{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Fitur ini dikelola oleh administrator situs. {{link}}Pelajari selengkapnya{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Fitur ini telah dinonaktifkan oleh administrator situs. {{link}}Pelajari selengkapnya{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Fitur ini telah diaktifkan oleh administrator situs. {{link}}Pelajari selengkapnya{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s telah dinonaktifkan oleh administrator situs. {{link}}Pelajari selengkapnya{{/link}}."],"This feature has been disabled by a site administrator.":["Fitur ini telah dinonaktifkan oleh administrator situs."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s telah dinonaktifkan oleh administrator situs."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Anda dapat meletakkan iklan tambahan menggunakan widget Iklan. {{link}}Cobalah!{{/link}}"],"Configure your notification settings":["Konfigurasikan pengaturan pemberitahuan Anda"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Pencarian Jetpack adalah alat yang andal untuk kemampuan pencarian yang disertakan dalam WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["File situs Anda dipindai secara teratur untuk modifikasi tidak sah atau mencurigakan yang dapat menggangu keamanan data Anda."],"Plugin needs updating.":["Plugin perlu diperbarui.","Plugin perlu diperbarui."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Pembaruan Plugin Jetpack memungkinkan Anda memilih plugin mana yang akan diperbarui secara otomatis."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack akan mengoptimalkan gambar Anda dan menyajikannya dari lokasi server yang terdekat dengan pengunjung situs. Dengan menggunakan jaringan pengiriman konten global, kami akan meningkatkan kecepatan pemuatan situs Anda."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Pemantauan downtime Jetpack akan memantau situs Anda secara terus-menerus dan memperingatkan Anda saat downtime terdeteksi."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Pencadangan Jetpack memungkinkan Anda memulihkan dan mengunduh cadangan dengan mudah dari waktu tertentu."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Mengaktifkan tema yang ringan dan ramah perangkat seluler yang akan ditampilkan ke pengunjung pada perangkat seluler."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Memuat pos berikutnya secara otomatis saat pembaca hampir sampai di bagian bawah halaman."],"Allows you to publish new posts by sending an email to a special address.":["Memungkinkan Anda untuk memublikasikan pos dengan mengirim email ke alamat khusus."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Menambahkan bilah peralatan dengan tautan ke semua situs, pemberitahuan, profil WordPress.com Anda, dan Pembaca."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Menyediakan tag tersembunyi yang diperlukan untuk memverifikasi situs WordPress Anda dengan berbagai layanan."],"Displays information on your site activity, including visitors and popular posts or pages.":["Menampilkan informasi pada aktivitas situs Anda, termasuk pengunjung, dan pos atau halaman populer."],"Allows you to optimize your site and its content for better results in search engines.":["Memungkinkan Anda mengoptimalkan situs dan kontennya untuk hasil yang lebih baik di mesin pencari."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Mengintegrasikan situs WordPress Anda dengan Google Analytics, platform yang menawarkan wawasan lalu lintas, pengunjung, dan konversi Anda."],"Displays high-quality ads on your site that allow you to earn income.":["Menampilkan iklan berkualitas tinggi di situs Anda yang memungkinkan Anda meraih pendapatan."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Memungkinkan Anda membagikan konten terbaru secara otomatis di situs media sosial, termasuk Facebook dan Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Menambahkan tombol suka ke konten Anda sehingga pengunjung dapat menunjukkan apresiasi atau kesenangan mereka."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Memungkinkan pengguna yang terdaftar untuk login ke situs Anda dengan akun WordPress.com mereka."],"Protects your site from traditional and distributed brute force login attacks.":["Melindungi situs Anda dari serangan login paksa tradisional dan didistribusikan."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Mencadangkan situs Anda ke server WordPress.com global, memungkinkan Anda memulihkan konten saat dalam keadaan darurat atau error."],"Removes spam from comments and contact forms.":["Menghapus spam dari komentar dan formulir kontak."],"We are committed to your privacy and security. ":["Kami berkomitmen untuk privasi dan keamanan Anda. "],"View all Jetpack plans":["Tampilkan semua paket Jetpack"],"Manage your plan":["Kelola paket Anda"],"Your Plan":["Paket Anda"],"You’re currently on Jetpack %(plan)s.":["Anda saat ini sedang menggunakan %(plan)s Jetpack."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Memungkinkan pengguna berlangganan pos dan komentar Anda serta menerima pemberitahuan konten baru melalui email."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Menggantikan formulir komentar standar WordPress dengan sistem komentar baru yang mencakup pilihan login media sosial."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Aktifkan{{/a}} untuk mengganti pencarian bawaan WordPress dengan Pencarian Jetpack untuk merasakan pengalaman pencarian yang canggih."],"Add Search (Jetpack) Widget":["Tambahkan Widget Pencarian (Jetpack)"],"Jetpack Search is powering search on your site.":["Pencarian Jetpack mendukung pencarian pada situs Anda."],"Manage your plugins":["Kelola plugin Anda"],"Moderate comments":["Moderasi komentar"],"Error updating privacy settings. %(error)s":["Terjadi error saat memperbarui pengaturan privasi %(error)s"],"Updated privacy settings.":["Pengaturan privasi yang diperbarui."],"Updating privacy settings…":["Memperbarui pengaturan privasi…"],"Add Jetpack Search Widget":["Tambahkan Widget Pencarian Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Tambahkan widget Pencarian Jetpack ke bilah sisi Anda untuk mengonfigurasi pengurutan dan penyaring."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suite keamanan penuh, alat otomatisasi pemasaran dan pendapatan, hosting video dan tema tanpa batas, pencarian yang ditingkatkan, dan dukungan prioritas."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suite keamanan penuh, alat otomatisasi pemasaran dan pendapatan, hosting video tanpa batas, dan dukungan prioritas."],"Daily backups, spam filtering, and priority support.":["Pencadangan harian, penyaringan spam, dan dukungan prioritas."],"Always-on security":[""],"Activate video hosting":["Aktifkan hosting video"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Pencadangan real-time untuk semua data situs Anda dengan ruang penyimpanan tanpa batas, pemulihan sekali klik, pemindaian keamanan otomatis, dan dukungan prioritas."],"Design the perfect website":["Desain situs web yang sempurna"],"Set up Jetpack":["Siapkan Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Pencadangan real-time untuk semua data situs dengan ruang penyimpanan tanpa batas, pemulihan sekali klik, dan pemindaian keamanan otomatis."],"Jetpack Search":["Pencarian Jetpack"],"Jetpack version %(version)s":["Jetpack versi %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Situs Anda telah dicadangkan secara real time dan dipindai secara berkala untuk mendeteksi ancaman keamanan."],"Daily backup of all your site data with unlimited space and one-click restores":["Pencadangan harian untuk semua data situs Anda dengan ruang penyimpanan tanpa batas dan pemulihan sekali klik"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Pencadangan real-time untuk semua data situs Anda dengan ruang penyimpanan tanpa batas, pemulihan sekali klik, pemindaian keamanan otomatis, dan resolusi ancaman sekali klik."],"View your security activity":["Lihat aktivitas keamanan Anda"]," (powered by VaultPress).":[" (didukung oleh VaultPress)."],"Customize Search Widget":["Penyesuaian Widget Pencarian"],"Please correct the issue below and try again.":["Perbaiki masalah di bawah ini dan coba lagi.","Perbaiki masalah yang dicantumkan di bawah ini dan coba lagi."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Kami akan memastikan situs Anda bebas dari ancaman keamanan. Kami akan memberi tahu Anda jika menemukan ancaman keamanan."],"Jetpack version":["Versi Jetpack"],"Activity":["Aktivitas"],"{{a}}View details{{/a}}":["{{a}}Lihat detail{{/a}}"],"Monetize your site with ads":["Monetisasi situs Anda dengan iklan"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Dengan mengeklik tombol di bawah, Anda menyetujui {{tosLink}}Ketentuan Layanan{{/tosLink}} kami dan bersedia {{shareDetailsLink}}membagikan detail{{/shareDetailsLink}} kepada WordPress.com."],"Jetpack Stats People":["Pengamat Statistik Jetpack"],"Hello there! Your stats have been activated.":["Halo! Statistik Anda telah diaktifkan."],"Just give us a little time to collect data so we can display it for you here.":["Beri kami waktu untuk mengumpulkan data sehingga kami bisa menampilkannya untuk Anda di sini."],"Okay, got it!":["Oke, mengerti!"],"Display ads below posts on":["Tampilkan iklan di bawah pos pada"],"Additional ad placements":["Penempatan iklan tambahan"],"Top of each page":["Di bagian atas setiap halaman"],"Second ad below post":["Iklan kedua di bawah pos"],"Archives":["Arsip"],"Stars":["Bintang"],"Jupiter":["Jupiter"],"Schedule posts":["Jadwalkan pos"],"Activate Publicize":["Aktifkan Fitur Publikasikan"],"Your site is backed up.":["Situs Anda telah dicadangkan."],"Get WordPress Apps for every device":["Dapatkan Aplikasi WordPress untuk perangkat apa pun"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Kelola semua situs Anda dari satu dasbor: publikasikan konten, lacak statistik, moderasi komentar, dan banyak lagi lainnya dari mana pun Anda berada."],"Create address":["Buat alamat"],"Automatically share your posts to social networks":["Membagikan pos secara otomatis ke jaringan sosial"],"Updating settings…":["Memperbarui pengaturan…"],"Updating Post by Email address…":["Memperbarui Pos menurut Alamat email…"],"Your paid plan gives you access to prioritized Jetpack support.":["Paket berbayar Anda memberikan akses ke dukungan Jetpack prioritas."],"You have paid for backups but they're not yet active.":["Anda telah membayar untuk pencadangan, tetapi belum aktif."],"You have paid for backups and security scanning but they’re not yet active.":["Anda telah membayar untuk pencadangan dan pemindaian keamanan, tetapi belum aktif."],"Click \"Set Up\" to finish installation.":["Klik \"Siapkan\" untuk menyelesaikan penginstalan."],"Checking site status…":["Memeriksa status situs…"],"Pages":["Halaman"],"Access the full list of Jetpack modules available on your site.":["Akses daftar lengkap modul Jetpack yang tersedia pada situs Anda."],"We're here to help":["Kami siap membantu"],"Jetpack comes with free, basic support for all users.":["Jetpack hadir dengan dukungan dasar gratis untuk semua pengguna."],"Ask a question":["Ajukan pertanyaan"],"Search our support site":["Cari di situs dukungan kami"],"Get a faster resolution to your support questions.":["Dapatkan resolusi cepat untuk pertanyaan Anda terkait dukungan."],"Host fast, high-quality, ad-free video.":["Host video dengan cepat, berkualitas tinggi, dan bebas iklan."],"Generate income with high-quality ads.":["Hasilkan pendapatan dengan iklan berkualitas tinggi."],"Real-time site backups and automatic threat resolution.":["Pencadangan situs real-time dan resolusi ancaman otomatis."],"Protect against data loss, malware, and malicious attacks.":["Melindungi terhadap kehilangan data, malware, dan serangan berbahaya."],"Protect your site from spam.":["Melindungi situs Anda dari spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Situs ini tidak tersambung ke WordPress.com. Silakan minta administrator situs untuk menyambungkan."],"An Automattic Airline":["Persembahan dari Automattic"],"Manage site connection":["Kelola sambungan situs"],"Connect your account to WordPress.com to view more stats":["Sambungkan akun Anda ke WordPress.com untuk melihat lebih banyak statistik"],"Theme enhancements":["Peningkatan tema"],"Load more posts using the default theme behavior":["Muat lebih banyak pos dengan perilaku tema asal"],"Load more posts in page with a button":["Muat lebih banyak pos dalam halaman dengan tombol"],"Load more posts as the reader scrolls down":["Muat lebih banyak pos selagi pembaca menggulir halaman ke bawah"],"Theme support required.":["Dukungan tema diperlukan."],"Learn more about adding support for Infinite Scroll to your theme.":["Pelajari lebih lanjut mengenai cara menambahkan dukungan Guliran Tak Terbatas ke tema Anda."],"Show excerpts instead of full posts on front page and archive pages":["Tampilkan kutipan dan bukan keseluruhan pos di halaman depan dan halaman arsip"],"Show featured images":["Tampilkan gambar unggulan"],"Enable the WordPress.com toolbar":["Aktifkan bilah peralatan WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Peralatan menulis yang tersedia untuk Anda akan ditampilkan di sini ketika administrator mengaktifkannya."],"Portfolios":["Portofolio"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Penting dicatat bahwa {{b}}verifikasi situs web Anda dengan layanan ini tidak diperlukan{{/b}} agar situs Anda diindeks dengan mesin pencarian. Untuk menggunakan alat mesin pencarian canggih ini dan memverifikasi situs Anda dengan sebuah layanan, tempelkan kode Tag HTML di bawah. Baca {{support}}petunjuk lengkapnya{{/support}} jika Anda mengalami masalah. Layanan verifikasi yang didukung: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, dan {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Membuat peta situs XML"],"The image helps collect stats, but should work when hidden.":["Gambar ini membantu mengumpulkan statistik, tetapi masih dapat berfungsi bila disembunyikan."],"Count logged in page views from":["Hitung penayangan halaman login dari"],"Allow stats reports to be viewed by":["Memungkinkan laporan statistik untuk dilihat oleh"],"In \"Upgrade\"":["Di \"Upgrade\""],"Configure your Google Analytics settings":["Konfigurasikan pengaturan Google Analytics Anda"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Tampilkan iklan pada artikel pertama di halaman beranda atau pada akhir setiap halaman dan pos. Letakkan iklan tambahan di bagian atas situs Anda dan di area widget untuk meningkatkan pendapatan."],"Enable ads and display an ad below each post":["Aktifkan iklan dan tampilkan iklan di bawah setiap pos"],"Configure your sharing buttons":["Konfigurasikan tombol berbagi Anda"],"Connect your social media accounts":["Sambungkan akun media sosial Anda"],"Match accounts using email addresses":["Cocokkan akun menggunakan alamat email"],"Require accounts to use WordPress.com Two-Step Authentication":["Minta akun untuk menggunakan Autentikasi Dua Langkah WordPress.com"],"Add to whitelist":["Tambahkan ke daftar putih"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Anda dapat membuat daftar putih untuk alamat IP atau serangkaian alamat agar tidak diblokir oleh Jetpack. IPv4 dan IPv6 diterima. Untuk menentukan rentang, masukkan nilai rendah dan nilai tinggi yang dipisahkan oleh tanda hubung. Misalnya: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Situs Anda telah dicadangkan dan bebas dari ancaman."],"Checking your spam protection…":["Memeriksa perlindungan spam Anda…"],"Fetching key…":["Mengambil kunci…"],"Your site needs an Antispam key.":["Situs Anda memerlukan kunci Antispam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Ada masalah dengan kunci API Antispam Anda. {{a}}Pelajari selengkapnya{{/a}}."],"Your site is not protected from spam.":["Situs Anda tidak terlindungi dari spam."],"Your Antispam key is valid.":["Kunci Antispam Anda valid."],"Your site is protected from spam.":["Situs Anda terlindungi dari spam."],"Checking key…":["Memeriksa kunci…"],"Your API key":["Kunci API Anda"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Jika Anda belum memiliki kunci API, {{a}}dapatkan kunci API Anda di sini{{/a}}, dan Anda akan dipandu untuk melalui proses mendapatkan kunci API."],"No search results found for %(term)s":["Tidak menemukan hasil pencarian untuk %(term)s"],"Enter a search term to find settings or close search.":["Masukkan istilah pencarian untuk menemukan pengaturan atau tutup pencarian."],"Connections":["Sambungan"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Situs Anda berada dalam Mode Pengembangan sehingga tidak dapat disambungkan ke WordPress.com."],"Your site is connected to WordPress.com.":["Situs Anda tersambung ke WordPress.com."],"You are the Jetpack owner.":["Anda adalah pemilik Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Tersambung sebagai {{span}}%(username)s{{/span}}"],"View your Email Followers":["Lihat Pengikut Email Anda"],"Color scheme":["Skema warna"],"Enable Markdown use for comments.":["Aktifkan penggunaan Markdown untuk komentar."],"Updated settings.":["Pengaturan diperbarui."],"Error updating settings. %(error)s":["Error saat memperbarui pengaturan. %(error)s"],"Regenerated Post by Email address.":["Membuat Ulang Pos dengan Alamat email."],"Error regenerating Post by Email address. %(error)s":["Error saat membuat ulang Pos dengan Alamat email. %(error)s"],"Updated settings. Refreshing page…":["Pengaturan diperbarui. Menyegarkan halaman…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Saat ini dalam {{a}}Mode Pengembangan{{/a}} (beberapa fitur dinonaktifkan) karena:"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Penyaring jetpack_development_mode aktif{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Konstanta JETPACK_DEV_DEBUG didefinisikan{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Ada titik yang hilang pada URL situs Anda (contohnya, http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics adalah layanan gratis yang melengkapi {{a}}statistik built-in{{/a}} kami dengan insight yang berbeda ke trafik Anda. Statistik WordPress.com dan Google Analytics menggunakan motode yang berbeda untuk mengidentifikasi dan melacak aktivitas pada situs Anda, sehingga secara normal mereka akan menampilkan sedikit perbedaan jumlah kunjungan, views, dll."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Konfigurasikan Google Analytics"],"Activate Google Analytics":["Aktifkan Google Analytics"],"Download the free apps":["Unduh Aplikasi Gratisnya"],"Upgrade Focus: VideoPress For Weddings":["Fokus Upgrade: VideoPress Untuk Pernikahan"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Kini Anda juga dapat mengonfigurasi pos terkait di Customizer. {{ExternalLink}}Cobalah!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Sebagai pengaturan asal, iklan ditampilkan di akhir setiap halaman, pos, atau artikel pertama di halaman depan Anda. Anda juga bisa menambahkannya di atas situs dan ke segala area widget untuk meningkatkan pendapatan!"],"Display an ad unit at the top of your site.":["Tampilkan unit iklan di bagian atas situs."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Dengan mengaktifkan iklan, berarti Anda menyetujui {{link}}Ketentuan Layanan{{/link}} Iklan Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Ada kesalahan konfigurasi pada server Anda, sehingga Jetpack Protect tidak bisa melindungi situs secara efektif."],"In \"Mobile\"":["Di \"Mobile\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Konfigurasikan pengaturan Pemberitahuan monitor di WordPress.com{{/link}}"],"View your earnings":["Lihat pendapatan Anda"],"Configure site SEO":["Konfigurasi SEO situs"],"Activate SEO tools":["Aktifkan alat SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Untuk memulai, klik Tambah Media di penyunting pos Anda dan unggah video; kami akan menangani selebihnya!"],"Video Hosting":["Hosting Video"],"SEO Tools":["Alat SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Alat SEO tingkat lanjut untuk membantu agar situs Anda muncul saat orang mencari konten yang relevan."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Cara termudah untuk mengunggah video bebas iklan dan tanpa merek ke situs Anda. Anda mendapatkan statistik pemutaran dan pembagian video, selain itu pemutarnya ringan dan responsif."],"You are running Jetpack on a staging server.":["Anda sedang menjalankan Jetpack di server staging."],"More Info":["Informasi Selengkapnya"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Kelola keterlihatan Suka dari Pengaturan Modul Berbagi{{/a}}"],"Your current IP: %(ip)s":["IP Anda Saat Ini: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Ada pengaturan yang belum disimpan di tab ini yang akan hilang jika Anda menutupnya. Lanjutkan?"],"This will reset all Jetpack options, are you sure?":["Tindakan ini akan mengatur ulang semua pilihan Jetpack. Anda yakin?"],"Search for a Jetpack feature.":["Cari fitur Jetpack."],"Configure your Security Scans":["Konfigurasikan Pemindaian Keamanan Anda"],"Subscriber":["Pelanggan"],"Big iPhone/iPad Update Now Available":["Tersedia Pembaruan Besar untuk iPhone/iPad"],"The WordPress for Android App Gets a Big Facelift":["Desain WordPress untuk Aplikasi Android Mengalami Perubahan Besar"],"WordPress.com Likes are:":["Tombol Suka WordPress.com:"],"A few catchy words to motivate your visitors to comment.":["Beberapa kata menarik untuk memikat pengunjung memberikan komentar."],"Hide the stats smiley face image":["Menyembunyikan gambar smiley statistik"],"Whitelisted IP addresses":["Alamat IP dalam daftar putih"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Menampilkan iklan untuk aplikasi seluler WordPress di footer tema seluler"],"Copied!":["Telah disalin!"],"Highlight and copy the following text to your clipboard:":["Sorot dan salin teks berikut ke clipboard:"],"Regenerate address":["Buat ulang alamat"],"Cheatin' uh?":["Curang ya?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Apakah Anda bersedia memberi tahu kami alasan Anda tidak mengisi koneksi Jetpack dalam {{a}}survei 2 pertanyaan{{/a}} ini?{{/p}}{{p}}Koneksi Jetpack diperlukan agar fitur-fitur keamanan dan lalu lintas gratis kami dapat berfungsi.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Selamat datang di {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Jetpack Anda telah tersambung."],"You're fueled up and ready to go, Jetpack is now active.":["Bahan bakar telah terisi dan siap meluncur, Jetpack telah aktif."],"You're fueled up and ready to go.":["Bahan bakar telah terisi dan siap meluncur."],"You are currently running a development version of Jetpack.":["Saat ini Anda menjalankan Jetpack versi pengembangan."],"Submit Beta feedback":["Kirim umpan balik Beta"],"What would you like to see on your Jetpack Dashboard?":["Apa yang ingin Anda lihat di Dasbor Jetpack?"],"Let us know!":["Beri tahu kami!"],"Saving…":["Menyimpan…"],"Save Settings":["Simpan Pengaturan"],"Jetpack Stats Icon":["Ikon Statistik Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Aktifkan Statistik Situs{{/a}} untuk melihat detail statistik, jumlah suka, pengikut, pelanggan, dan lainnya! {{a1}}Pelajari Selengkapnya{{/a1}}"],"Activate Site Stats":["Aktifkan Statistik Situs"],"Site Backups":["Cadangan Situs"],"Upgrade":["Upgrade"],"ACTIVE":["AKTIF"],"View your spam stats":["Lihat statistik spam Anda"],"View your security dashboard":["Lihat dasbor keamanan Anda"],"Real-Time Backups":["Pencadangan Real-time"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Situs berada dalam Mode Pengembangan sehingga tidak dapat terhubung ke WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Tautkan akun Anda ke WordPress.com untuk memanfaatkan Jetpack semaksimal mungkin."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Untuk pemindaian ancaman keamanan yang otomatis dan komprehensif, {{a}}instal dan aktifkan{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack secara aktif memblokir upaya login berbahaya. Data akan ditampilkan di sini sebentar lagi!"],"Total malicious attacks blocked on your site.":["Total serangan berbahaya yang diblokir pada situs Anda."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Aktifkan Perlindungan{{/a}} untuk memastikan situs Anda terlindung dari upaya masuk berbahaya."],"All plugins are up-to-date. Awesome work!":["Semua plugin sudah terbaru. Kerja bagus!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":["Keamanan"],"Performance":["Performa"],"Backup":[""],"{{a}}View backup details{{/a}}.":["{{a}}Lihat detail cadangan{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Untuk mencadangkan seluruh situs secara otomatis, silakan {{a}}instal dan aktifkan{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Tidak tersedia dalam Mode Pengembangan."],"Unavailable in Dev Mode":["Tidak tersedia dalam Mode Pengembangan"],"Activating %(slug)s…":["Mengaktifkan %(slug)s…"],"%(slug)s has been activated.":["%(slug)s telah diaktifkan."],"%(slug)s failed to activate. %(error)s":["%(slug)s gagal diaktifkan. %(error)s"],"Deactivating %(slug)s…":["Menonaktifkan %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s telah dinonaktifkan."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s gagal dinonaktifkan. %(error)s"],"Updating %(slug)s settings…":["Memperbarui pengaturan %(slug)s…"],"Updated %(slug)s settings.":["Pengaturan %(slug)s diperbarui."],"Error updating %(slug)s settings. %(error)s":["Error saat memperbarui pengaturan %(slug)s. %(error)s"],"Updating %(slug)s address…":["Memperbarui alamat %(slug)s…"],"Regenerated %(slug)s address .":["Membuat ulang alamat %(slug)s."],"Error regenerating %(slug)s address. %(error)s":["Error saat membuat ulang alamat %(slug)s. %(error)s"],"Resetting Jetpack options…":["Mengatur ulang pilihan Jetpack…"],"Options reset.":["Pilihan diatur ulang."],"Options failed to reset.":["Pilihan gagal diatur ulang."],"There was an error disconnecting Jetpack. Error: %(error)s":["Terjadi error saat memutus sambungan Jetpack. Error: %(error)s"],"Unlinking from WordPress.com":["Menghapus tautan dari WordPress.com"],"Unlinked from WordPress.com.":["Tautan dihapus dari WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Error saat menghapus tautan dari WordPress.com. %(error)s"],"At A Glance":["Selayang Pandang"],"Dashboard":["Dasbor"],"Automattic's Privacy Policy":["Kebijakan Privasi Automattic"],"WordPress.com Terms of Service":["Ketentuan Layanan WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Aktifkan pembaruan plugin otomatis.{{/a}}"],"Plugin Updates":["Pembaruan Plugin"],"No threats found, you're good to go!":["Tidak ada ancaman, Anda aman dan siap melanjutkan!"],"{{a}}Contact Support{{/a}}":["{{a}}Hubungi dukungan{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Lihat rinciannya di VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Ups, ada %(number)s ancaman.","Ups, ada %(number)s ancaman."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Aktifkan Monitor{{/a}} untuk menerima email pemberitahuan jika situs Anda tidak aktif."],"Loading…":["Memuat…"],"Downtime monitor":["Pemantauan downtime"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Lihat Statistik Selengkapnya di WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Lihat Statistik Lama{{/button}}"],"All-time comments":["Komentar sepanjang waktu"],"All-time views":["Tampilan sepanjang waktu"],"%(number)s View":["%(number)s Tampilan","%(number)s Tampilan"],"Best overall day":["Terbaik sepanjang hari"],"Views today":["Tampilan hari ini"],"Months":["Bulan"],"Weeks":["Minggu"],"Days":["Hari"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Terjadi sesuatu saat memuat statistik. Coba lagi nanti atau {{a}}lihat statistik Anda sekarang di WordPress.com{{/a}}"],"Click to view detailed stats.":["Klik untuk melihat statistik terperinci."],"Views: %(numberOfViews)s":["Tampilan: %(numberOfViews)s"],"Week of %(date)s":["Minggu dari %(date)s"],"Site Security":["Keamanan Situs"],"Link to WordPress.com":["Tautkan ke WordPress.com"],"Unlink me from WordPress.com":["Hapus tautan saya dari WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Ada masalah dalam menyambungkan Jetpack Anda. Harap klik lagi “Sambungkan ke WordPress.com”."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Kami mengalami masalah dalam menyambungkan Jetpack; nonaktifkan dulu lalu aktifkan kembali plugin Jetpack, lalu sambungkan kembali."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Anda harus tetap masuk di blog WordPress saat Anda mengotorisasi Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Jetpack Anda mengalami masalah.{{/s}} Kami mohon maaf atas ketidaknyamanan ini. Harap coba lagi nanti. Jika masalah berlanjut, hubungi dukungan dengan pesan ini: %(error_key)s"],"Disconnecting Jetpack":["Putuskan Jetpack"],"Learn more":["Pelajari Lebih Lanjut"],"Posts":["Tulisan"],"Front page":["Halaman depan"],"Upload videos":["Unggah video"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Tampilkan konten terkait di bawah pos"],"Related":["Terkait"],"Disconnect":["Putuskan hubungan"],"Save":["Simpan"],"Media":["Media"],"Mobile Theme":["Tema Seluler"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX adalah bahasa markup yang sangat berguna untuk menulis persamaan dan rumus matematika yang kompleks."],"Site Stats":["Statistik Situs"],"Sharing":["Berbagi"],"Testimonials":["Testimoni-testimoni"],"Cancel":["Batal"],"Comments":["Komentar"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack tidak dapat menghubungi WordPress.com: %(error_key)s. Hal ini biasanya berarti ada sesuatu yang tidak dikonfigurasi dengan benar pada host web Anda."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com sedang mengalami masalah dan tidak dapat menyalakan Jetpack Anda. Silahkan coba kembali lain waktu."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Jetpack Anda mengalami masalah.{{/s}} Situs ini tidak dapat disambungkan dengan WordPress.com. Ini berarti bahwa situs Anda tidak dapat diakses secara publik (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Situs web Anda perlu dapat diakses secara publik untuk menggunakan Jetpack: %(error_key)s"],"Edit":["Sunting"],"Connected":["Terhubung"],"Activate":["Aktifkan"],"Active":["Aktif"],"Settings":["Pengaturan"],"Learn More":["Pelajari Lebih Lanjut"],"Disconnect Jetpack":["Putus dengan Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Catatan:{{/b}} Fitur ini dihentikan dan akan dihapus dari Jetpack pada bulan Maret. {{link}}Pelajari selengkapnya{{/link}}"],"Settings header\u0004Jetpack Backup":["Pencadangan Jetpack"],"Settings header\u0004Anti-spam":["Anti-Spam"],"Settings header\u0004WP.me Shortlinks":["Tautan Pendek WP.me"],"Settings header\u0004Auto-update plugins":["Perbarui otomatis plugin"],"Settings header\u0004Widgets":["Widget"],"Settings header\u0004Downtime monitoring":["Pemantauan waktu tidak aktif"],"Settings header\u0004Privacy Settings":["Pengaturan Privasi"],"Settings header\u0004WordPress.com toolbar":["Bilah peralatan WordPress.com"],"Settings header\u0004Composing":["Menulis"],"Settings header\u0004Site stats":["Statistik situs"],"Settings header\u0004Search engine optimization":["Optimasi mesin pencari"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Tombol berbagi"],"Settings header\u0004Publicize connections":["Sambungan Publikasikan"],"Settings header\u0004Like buttons":["Tombol suka"],"Settings header\u0004Brute force attack protection":["Perlindungan terhadap serangan paksa"],"Settings header\u0004Backups and security scanning":["Pencadangan dan pemindaian keamanan"],"Notice in the empty statistics chart\u0004No activity this period":["Tidak ada aktivitas dalam periode ini"],"Settings header, noun.\u0004WordPress.com login":["Login WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Kirim tautan"],"A caption for a button to cancel an action.\u0004Cancel":["Batal"],"Link to learn more about Jetpack.\u0004About":["Tentang"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Modul"],"Navigation item.\u0004Performance":["Performa"],"Navigation item.\u0004My Plan":["Paket Saya"],"Navigation item.\u0004Dev Tools":["Alat Pengembang"],"Navigation item.\u0004Settings":["Pengaturan"],"Navigation item.\u0004Discussion":["Diskusi"],"Navigation item.\u0004Traffic":["Lalu Lintas"],"Navigation item.\u0004Sharing":["Berbagi"],"Navigation item.\u0004At A Glance":["Selayang Pandang"],"Navigation item.\u0004Plans":["Paket"],"Navigation item.\u0004Writing":["Tulisan"],"Navigation item.\u0004Reset Options (dev only)":["Reset Pilihan (khusus pengembang)"],"Navigation item.\u0004Security":["Keamanan"],"Navigation item.\u0004At a Glance":["Selayang Pandang"],"Search term.\u0004terms of service":["Ketentuan layanan"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["pelacakan"],"Search term.\u0004privacy":["privasi"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Upgrade"],"Button caption\u0004Saving…":["Menyimpan…"],"Button caption\u0004Save settings":["Simpan pengaturan"],"A heading for a block of related posts.\u0004Related":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Pratinjau"],"Short warning message\u0004Updates needed":["Memerlukan pembaruan"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Berbayar"],"A header for a preview area in the configuration screen.\u0004Preview":["Pratinjau"],"Ads header\u0004Ads":["Iklan"],"Dashboard widget header\u0004Site connection":["Sambungan situs"],"Dashboard widget header\u0004Account connection":["Sambungan akun"],"A caption for a small button to fix security issues.\u0004Threats":["Ancaman"],"A caption for a small button to fix security issues.\u0004FIX":["PERBAIKI"],"Short warning message about new threats found.\u0004Threats found!":["Ancaman ditemukan!"],"Short message informing user that the site is secure.\u0004Secure":["Aman"],"Caption for a button to set up a feature.\u0004Set up":["Siapkan"],"verb\u0004Copy":["Salin"],"Shorthand for Privacy Policy.\u0004Privacy":["Privasi"],"Shorthand for Terms of Service.\u0004Terms":["Ketentuan"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Debug"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Komentar spam diblokir."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-is_IS-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-is_IS-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 0f7372a5..00000000
--- a/plugins/jetpack/languages/json/jetpack-is_IS-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=(n % 100 != 1 && n % 100 != 21 && n % 100 != 31 && n % 100 != 41 && n % 100 != 51 && n % 100 != 61 && n % 100 != 71 && n % 100 != 81 && n % 100 != 91);","lang":"is"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Stilla Google Analytics"],"Activate Google Analytics":["Virkja Google Analytics"],"Upgrade Focus: VideoPress For Weddings":["Uppfræsla: VideoPress fyrir brúðkaup"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":["Í \"Farsíma\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":["Skoðaðu tekjurnar þínar"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":["Tól til leitarvélabestunar"],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":["Frekari upplýsingar"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":["Áskrifandi"],"Big iPhone/iPad Update Now Available":["Stór iPhone/iPad uppfærsla nú í boði"],"The WordPress for Android App Gets a Big Facelift":["WordPress forritið fyrir Android fær stóra andlitslyftingu"],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":["Afritað!"],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":["Endurgera netfang"],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":["Vista..."],"Save Settings":["Vista stillingar"],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":["Virkja tölfræði"],"Upgrade":["Uppfærsla"],"ACTIVE":["VIRKT"],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":["Öryggi"],"Performance":["Afköst"],"{{a}}View backup details{{/a}}.":["{{a}}Skoða ítarupplýsingar öryggisafrits{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":["Fljótt á litið"],"Dashboard":["Stjórnborð"],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Skoða nánar á VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":["Hleð..."],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["%(number)s fletting","%(number)s flettingar"],"Best overall day":[""],"Views today":[""],"Months":["Mánuðir"],"Weeks":["Vikur"],"Days":["Dagar"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":["Aftengi Jetpack"],"Learn more":["Lesa meira"],"Posts":["Færslur"],"Front page":["Forsíða"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":[""],"Related":["Tengt efni"],"Disconnect":["Aftengja"],"Save":["Vista"],"Media":["Skrár"],"Site Stats":["Tölfræðir"],"Sharing":["Deiling"],"Testimonials":["Reynslusögur"],"Cancel":["Hætta við"],"Comments":["Skilaboð"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Breyta "],"Connected":["Tengd"],"Activate":["Virkja"],"Active":["Virkir"],"Settings":["Stillingar"],"Learn More":["Lesa meira"],"Disconnect Jetpack":["Aftengja Jetpack"],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":["Fljótt á litið"],"Navigation item.\u0004Plans":["Áskriftarleiðir"],"Navigation item.\u0004Writing":["Ritun"],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":["Öryggi"],"Navigation item.\u0004At a Glance":["Fljótt á litið"],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":["Afrita"],"Shorthand for Privacy Policy.\u0004Privacy":["Friðhelgi"],"Shorthand for Terms of Service.\u0004Terms":["Skilmálar"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Aflúsa"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-it_IT-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-it_IT-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 0946d650..00000000
--- a/plugins/jetpack/languages/json/jetpack-it_IT-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"it"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Il tuo piano %(planName)s comprende %(featureName)s. Sembra che tu abbia anche acquistato il prodotto %(productName)s. Valuta di rimuovere %(productName)s."],"real-time backups":[""],"daily backups":[""],"Renews on %s.":["Si rinnova il giorno %s."],"Purchased on %s.":["Acquisto effettuato in data %s."],"Select a backup option:":["Seleziona un'opzione di backup:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Passa a %(name)s a {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Pagando annualmente risparmi {{savings /}}"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Affrettati, ci sono {{s}}prezzi introduttivi a tempo limitato!{{/s}}"],"Up to %(percent)d%% off!":["Fino al %(percent)d%% di sconto!"],"per month":["al mese"],"per year":["all'anno"],"Which backup option is best for me?":["Qual è la migliore opzione di backup per me?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Gestisci abbonamento"],"Your site is being backed up.":["Il tuo sito è sottoposto a backup."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Devi inserire le credenziali server per terminare la configurazione di Backup Jetpack."],"Jetpack Backup is being configured for your site.":["Backup Jetpack è in fase di configurazione per il sito."],"Daily Backups":["Backup giornalieri"],"Just looking for backups? We've got you covered.":["Stai cercando backup? Ce ne occupiamo noi."],"Solutions":["Soluzioni"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Funzione inclusa nel {{planLink}}piano Professional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Funzione inclusa nel {{planLink}}piano Premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Funzione inclusa nel {{planLink}}piano Personal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["I backup sempre attivi ti danno la garanzia che non perderai mai il tuo sito. Le modifiche vengono salvate mentre le apporti e hai archivi di backup illimitati."],"Always-on backups ensure you never lose your site.":["I backup sempre attivi ti danno la garanzia che non perderai mai il tuo sito."],"My Products":["I miei Prodotti"],"My Plan":["Il mio piano"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Backup Jetpack {{em}}in tempo reale{{/em}}"],"Your data is being securely backed up as you edit.":["Mentre apporti le modifiche, viene effettuato il backup sicuro dei tuoi dati."],"Jetpack Backup {{em}}Daily{{/em}}":["Backup Jetpack {{em}}giornaliero{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Ogni giorno viene effettuato il backup dei tuoi dati con un archivio di 30 giorni."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack Gratuito"],"Expired on %s.":["Scaduto il %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Hai una domanda? Saremmo felici di aiutarti. {{a}}Invia una domanda al team di supporto di Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack ha molti strumenti potenti che possono aiutarti a conseguire i tuoi obiettivi"]," We’ve highlighted some of the features you rely on below.":[" Di seguito abbiamo evidenziato alcune delle funzionalità sulle quali fai affidamento."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Al momento, Jetpack migliora le funzionalità sul tuo sito. Una volta disabilitato Jetpack, queste funzionalità non saranno più disponibili e il tuo sito potrebbe non funzionare più allo stesso modo."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Al momento, Jetpack migliora le funzionalità sul tuo sito. Una volta disconnesso Jetpack, queste funzionalità non saranno più disponibili e il tuo sito potrebbe non funzionare più allo stesso modo."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Fai aumentare il traffico con le funzionalità di {{a}}pubblicazione e condivisione{{/a}} automatizzate"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Blocca {{a}}attacchi di forza bruta{{/a}} e ricevi notifiche immediate se il tuo sito non è attivo"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Accelera il tuo sito e fornisci immagini predisposte per i dispositivi mobili con {{a}}la nostra CDN{{/a}}"],"Disable":["Disabilita"],"Are you sure you want to disconnect and deactivate?":["Desideri effettuare la disconnessione e la disattivazione?"],"Are you sure you want to disconnect?":["Desideri effettuare la disconnessione?"],"Disable Jetpack":["Disabilita Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Effettuiamo il backup del tuo sito web con ogni modifica che apporti, in modo da rendere più semplice la correzione degli errori."],"Automated Real-time Backups":["Backup automatizzati in tempo reale"],"We back up your website every day, so you never have to worry about your data again.":["Effettuiamo il backup del tuo sito web ogni giorno, quindi non dovrai più preoccuparti dei dati."],"Automated Daily Backups":["Backup giornalieri automatizzati"],"View Your Backups":["Visualizza i tuoi backup"],"A Jetpack Site securely backed up with Jetpack Backup":["Un sito Jetpack con backup sicuro grazie a Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Usa la sintassi Markdown per comporre contenuti con link, elenchi e altri stili. Questa impostazione abilita il Markdown nell'editor classico e all'interno di un blocco dell'editor classico."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Attiva{{/a}} per ottimizzare le dimensioni e il caricamento delle immagini dalla rapida rete globale di server di Jetpack. Questa funzione migliora le prestazioni del tuo sito su desktop e dispositivi mobili."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack sta ottimizzando le dimensioni e la velocità di download delle tue immagini usando la nostra rapida rete globale di server. Questa funzione migliora le prestazioni del tuo sito su desktop e dispositivi mobili."],"Image Accelerator":["Acceleratore di immagini"],"Start with free":["Inizia gratuitamente"],"Now that you're set up, pick a plan that fits your needs.":["Ora che hai completato l'impostazione, scegli un piano che soddisfa le tue esigenze."],"Jetpack Backup":["Backup Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Il tuo piano Jetpack fornisce protezione anti-spam tramite Akismet. Fai clic su \"imposta\" per abilitarlo sul tuo sito."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Hai già un codice? {{a}}Attiva Akismet{{/a}}"],"Verifying…":["Verifica in corso..."],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Migliora il posizionamento nei motori di ricerca con i potenti strumenti SEO di Jetpack Premium o Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Dai al tuo sito un aspetto semplificato e rapido da caricare per i dispositivi mobili. I visitatori continueranno a vedere il tema regolare su schermi di altre dimensioni."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Crea un'esperienza di lettura semplice e fluida caricando più contenuti mentre i visitatori scorrono verso il fondo delle pagine di archivio."],"Customize your SEO settings":["Personalizza le impostazioni SEO"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Assumi il controllo della visualizzazione del tuo sito fornita dai motori di ricerca. Gli strumenti SEO di Jetpack ti consentono di visualizzare in anteprima i tuoi contenuti sui motori di ricerca più popolari e di modificare nel giro di pochi secondi elementi come il nome del sito e la tagline."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Aggiungi i pulsanti di condivisione in modo che i visitatori possano condividere i tuoi articoli e le tue pagine sui social media con un paio di rapidi clic."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Includi un piccolo grafico nella barra di amministrazione con istantanee di 48 ore di traffico"],"Expand to update settings for how visits are counted and manage who can view this information.":["Espandi per aggiornare le impostazioni per le modalità di conteggio delle visite e decidi quali utenti possono vedere queste informazioni."],"You can customize the sharing buttons and choose which services to display.":["Puoi personalizzare i pulsanti di condivisione e scegliere quali sono i servizi da visualizzare."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Il tuo sito è protetto da Jetpack. Ti verranno inviate notifiche in caso sia necessaria la tua attenzione."],"Find threats early so we can help fix them fast.":["Trova prima le minacce in modo che possiamo aiutarti a eliminarle rapidamente."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Rimpiazza la tua ricerca di base del sito con una ricerca personalizzabile che aiuta i visitatori a trovare prima le risposte che cercano."],"Never worry about losing your site – automatic backups keep your content safe.":["Non preoccuparti di perdere il tuo sito: i backup automatici mantengono al sicuro i tuoi contenuti."],"Protect":["Protezione"],"Scan":["Scansione"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Lo spam viene automaticamente eliminato dai commenti e dai moduli in modo che tu possa tornare al tuo lavoro."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Collega il tuo sito a Google Analytics in pochi secondi con Jetpack Premium o Professional."],"Log in to the WordPress mobile app":["Accedi all'app WordPress per dispositivi mobili"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Accedi facilmente all'app WordPress.com facendo clic sul link che invieremo all'indirizzo e-mail indicato nel tuo account."],"Email me a link to log in to the app":["Inviami un'e-mail con il link per l'accesso all'app"],"Send your new posts to this email address:":["Invia i tuoi nuovi articoli a questo indirizzo e-mail:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["la pubblicazione tramite e-mail è un modo rapido per pubblicare nuovi articoli senza visitare il tuo sito. Genereremo un indirizzo e-mail unico per l'invio dei tuoi contenuti, che verrà poi visualizzato sul tuo sito come un qualsiasi altro articolo."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["La barra degli strumenti di WordPress.com sostituisce la barra degli strumenti di amministrazione di WordPress predefinita. Offre l'accesso con un clic alle notifiche, al profilo WordPress.com e agli altri siti web Jetpack e WordPress.com. Puoi anche raggiungere i siti che segui nel Reader."],"Verify site ownership with third party services":["Verifica la proprietà del sito con i servizi di terze parti"],"Generate shortened URLs for simpler sharing.":["Genera URL abbreviati per una condivisione più semplice."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Coinvolgi i tuoi visitatori con contenuti correlati alla fine di ogni articolo. Queste impostazioni non saranno applicate agli {{a}}articoli correlati aggiunti usando l'editor dei blocchi{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Questa funzione aiuta i visitatori a trovare altri tuoi contenuti visualizzando gli articoli correlati alla fine di ogni articolo."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack genera automaticamente un file {{link1}}ads.txt{{/link1}} personalizzato su misura per il tuo sito. Se hai bisogno di ulteriori voci per altre reti, aggiungile nello spazio di seguito, una per riga. {{link2}}Controlla qui per ulteriori dettagli{{/link2}}."],"Add sharing buttons to your posts and pages":["Aggiungi i pulsanti per la condivisione agli articoli e alle pagine"],"Share your content to social media, reaching new audiences and increasing engagement.":["Condividi i tuoi contenuti sui social media, raggiungendo nuovi segmenti di pubblico e aumentando il coinvolgimento."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Ricevi avvisi se il tuo sito è offline. Ti faremo sapere anche quando è stato eseguito il backup."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Con Jetpack puoi scegliere di aggiornare automaticamente i plugin con ogni nuova versione del plugin. Avrai subito le ultime correzioni di sicurezza e di bug, assicurandoti che il sito sia sempre al sicuro."],"Choose which plugins to auto-update":["Scegli quali plugin aggiornare automaticamente"],"Upgrade Jetpack now":["Aggiorna Jetpack ora"],"Monetize your site by running high quality ads.":["Fai fruttare il tuo sito con annunci pubblicitari di elevata qualità."],"Customize your social posting schedule.":["Personalizza il tuo programma di pubblicazione sui social."],"Expand your audience with pro SEO tools.":["Amplia il tuo pubblico con strumenti SEO professionali."],"Take your site to the next level!":["Fai fare un salto di qualità al tuo sito!"],"Search support docs":["Cerca documenti di supporto"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Serve aiuto? Scopri come iniziare, personalizzare il tuo sito, utilizzare snippet di codice avanzati e altro ancora."],"Start sharing":["Inizia a condividere"],"Optimized performance":["Prestazioni ottimizzate"],"Enable the “subscribe to comments” option on your comment form":["Abilita l'opzione \"Iscriviti per commentare\" sul tuo modulo dei commenti"],"Enable the “subscribe to site” option on your comment form":["Abilita l'opzione \"Iscriviti al sito\" sul tuo modulo dei commenti"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Gestisci le impostazioni avanzate dei commenti e aumenta il tuo pubblico con gli abbonamenti e-mail."],"Comment form introduction":["Introduzione al modulo dei commenti"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Anti-spam Jetpack fornito da Akismet. I commenti e gli invii tramite il modulo di contatto vengono controllati a fronte del nostro database anti-spam mondiale."],"Failed to send login email":["Invio dell'e-mail di accesso non riuscito"],"Login email sent":["E-mail di accesso inviata"],"Sending login email…":["Invio dell'e-mail di accesso in corso..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Preoccupato della sicurezza? Ottieni backup, correzioni automatiche della sicurezza e altro ancora: {{a}}Aggiorna ora{{/a}}"],"Allow readers to like individual comments.":["Consenti ai lettori di mettere Mi piace a commenti individuali."],"Enable comment likes.":["Abilita i Mi piace ai commenti."],"Allow readers to use markdown in comments.":["Consenti ai lettori di usare Markdown nei commenti."],"Show Gravatar hovercards alongside comments.":["Mostra le Hovercard di Gravatar insieme ai commenti."],"Complete Jetpack Setup":["Completa la configurazione di Jetpack"],"Your Jetpack setup progress":["Processo di configurazione di Jetpack"],"View your setup checklist":["Visualizza la checklist di configurazione"],"Yearly":["Annuale"],"Monthly":["Mensile"],"About Jetpack":["Informazioni su Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Abilita i comandi di visibilità widget per visualizzare i widget solo su determinati articoli o pagine"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["La visibilità del widget consente di decidere quale widget verrà visualizzato su determinate pagine, in moda da personalizzare i contenuti del widget."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Rendi disponibili widget aggiuntivi da utilizzare sul tuo sito, inclusi moduli di abbonamento e flussi Twitter"],"Enhance CSS customization panel":["Migliora il pannello di personalizzazione CSS"],"Writing":["Scrittura"],"Compose using shortcodes to embed media from popular sites":["Componi utilizzando gli shortcode per incorporare contenuti multimediali da siti popolari"],"Traffic":["Traffico"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Devi inserire le credenziali del server per terminare la configurazione di Backup e scansione."],"Awaiting credentials":["In attesa delle credenziali"],"Backups and Scan are being configured for your site.":["Backup e scansione è stato configurato per il tuo sito."],"Provisioning":["Provisioning"],"Action needed":["Azione necessaria"],"Setting up":["Impostazione"],"Discussion":["Discussione"],"We are configuring your site protection.":["Stiamo configurando la protezione del tuo sito."],"View your site's backups":["Visualizza i backup del tuo sito"],"We are backing up your site in real-time.":["Stiamo effettuando il backup del tuo sito in tempo reale."],"Enter credentials":["Inserisci le credenziali"],"You need to enter your server's credentials to finish the setup.":["Devi inserire le credenziali del server per terminare la configurazione."],"We are configuring your site's backups.":["Stiamo configurando i backup del tuo sito."],"View site activity":["Visualizza l'attività del sito"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack conserva un record completo di tutto ciò che accade sul tuo sito, eliminando le incertezze del ripristino, del debugging e della gestione del sito."],"Explore our Jetpack plans":["Esplora i piani Jetpack"],"Support documentation":["Documentazione di supporto"],"Chat bubbles representing getting in touch with support":["Fumetti di chat per entrare in contatto con il supporto"],"Site activity":["Attività del sito"],"Reach a wider audience by automatically sharing your posts on social media.":["Raggiungere un pubblico più vasto grazie alla condivisione degli articoli sui social media."],"Increase traffic to your site":["Aumenta il traffico verso il tuo sito"],"Explore free themes":["Esplora i temi gratuiti"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Ottieni un accesso illimitato a centinaia di temi professionali e personalizza il tuo sito come desideri."],"A wide variety of themes and tools to customize a site":["Una vasta gamma di temi e strumenti per personalizzare un sito"],"Set up your site security":["Configura la sicurezza del sito"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Previeni attacchi di login e ricevi notifiche istantanee quando si verifica un problema con il tuo sito."],"Site stats showing an evolution in traffic and engagement":["Statistiche del sito che indicano l’evoluzione di traffico e coinvolgimento"],"A hand holding a loupe":["Una mano con una lente di ingrandimento"],"A chart showing an healthy increase in earnings":["Un grafico che mostra un sano incremento dei guadagni"],"Interface showing a chronological list of changes and updates in a site":["Interfaccia che mostra un elenco cronologico di modifiche e aggiornamenti al sito"],"A cloud with multiple types of content floating around it":["Una nuvola circondata da diversi tipi di contenuti"],"A folder holding real comments":["Una cartella con commenti reali"],"Make your site faster":["Rendi il tuo sito più veloce"],"Load pages faster by serving your images from our global network of servers.":["Carica le pagine più velocemente prendendo le immagini dalla nostra rete globale di server."],"A fast and performant website":["Un sito web veloce e performante"],"A secure site, locked and protected by Jetpack":["Un sito sicuro, bloccato e protetto da Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplica portfolio, testimonianze, pagine e articoli esistenti. Tutto il contenuto sarà copiato, tra cui testo, immagini in primo piano, impostazioni di condivisione e altro ancora."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Questo sito non può essere connesso a WordPress.com poiché viola i nostri {{a}}Termini di Servizio{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Connetti il tuo sito web alle reti dei social media che utilizzi e condividi i tuoi contenuti tramite tutti i tuoi account in un solo clic. Quando pubblichi un articolo, questo apparirà su tutti gli account connessi."],"Add Like buttons to your posts and pages":["Aggiungi i pulsanti Mi piace agli articoli e alle pagine"],"When visitors enjoy your content, let them show it with a Like.":["Fa in modo che i visitatori dimostrino con un Mi piace che apprezzano i tuoi contenuti."],"Create account":["Crea account"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack sta potenziando il tuo sito, ma per accedere a tutte le funzionalità avrai bisogno di creare un account."],"Compose content the way you want to and streamline your publishing experience.":["Componi i contenuti nel modo che preferisci e semplifica la tua esperienza di pubblicazione."],"Add a portfolio item":["Aggiungi un elemento al portfolio"],"Add a testimonial":["Aggiungi una testimonianza"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Massimizza la visibilità del tuo sito nei motori di ricerca e visualizza le statistiche del traffico in tempo reale."],"Create a Jetpack account to use this feature":["Crea un account Jetpack per utilizzare questa funzionalità"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack monitorerà continuamente il tuo sito e ti avviserà quando viene rilevato un periodo di inattività."],"Error enabling Site accelerator. %(error)s":["Errore durante l'attivazione dell'acceleratore del sito. %(error)s"],"Site accelerator is now speeding up your site!":["L'acceleratore del sito sta ora velocizzando il tuo sito."],"Enabling Site accelerator…":["Attivazione dell'acceleratore del sito…"],"Error disabling site accelerator. %(error)s":["Errore durante la disattivazione dell'acceleratore del sito. %(error)s"],"Site accelerator is no longer speeding up your site!":["L'acceleratore del sito non velocizzerà più il tuo sito."],"Disabling site accelerator…":["Disattivazione dell'acceleratore del sito…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Carica le pagine più velocemente, ottimizza le immagini e velocizza l'esperienza dei visitatori."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Integra le statistiche di WordPress.com e gli approfondimenti di Google con gli schemi dei visitatori e del traffico."],"High-speed, high-definition video hosting with no third-party ads.":["Hosting video ad alta definizione ed elevata velocità senza pubblicità di terze parti."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Programma in anticipo i tweet illimitati e gli articoli su Facebook e su altri social network."],"Marketing Automation":["Automazione del marketing"],"Activate Jetpack Search":["Attiva Ricerca Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Sostituisci la ricerca predefinita di WordPress con risultati e filtraggio personalizzato di Elasticsearch."],"Start earning":["Inizia a guadagnare"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds consente di guadagnare denaro grazie alla visualizzazione di contenuti promozionali. Inizia a guadagnare oggi."],"Spam is automatically blocked from your comments.":["Lo spam viene automaticamente bloccato dai tuoi commenti."],"Browse premium themes":["Esplora i temi premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Accedi a centinaia di temi Premium perfettamente progettati senza costi extra."],"Try a premium theme":["Prova un tema premium"],"View settings":["Visualizza le impostazioni"],"Create a Jetpack account to view your email followers":["Crea un account Jetpack per visualizzare i tuoi follower tramite e-mail"],"Manage security settings":["Gestisci le impostazioni di sicurezza"],"Jetpack is ready for the new WordPress editor":["Jetpack è pronto per il nuovo editor di WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Oggi abbiamo introdotto la prima serie di blocchi specifici Jetpack, progettati appositamente per l'esperienza con il nuovo editor: Semplici pulsanti di pagamento, moduli, mappe e Markdown."],"Build your Jetpack site with blocks":["Crea il tuo sito Jetpack con i blocchi"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Un nuovo editor? Sì! {{a}}Scopri di più{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Le funzioni che già conosci, adattate al tuo nuovo editor WordPress."],"Take me to the new editor":["Portami al nuovo editor"],"Testing Jetpack Connection":["Sto testando la connessione a Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["Si &egrave; verificato un errore durante il test di Jetpack. Errore: %(error)s"],"New in Jetpack!":["Novità in Jetpack!"],"Speed up static file load times":["Velocizza i tempi di caricamento dei file statici"],"Speed up image load times":["Velocizza i tempi di caricamento delle immagini"],"Enable site accelerator":["Attiva l'acceleratore del sito"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Carica più velocemente le pagine consentendo a Jetpack di ottimizzare le immagini e di servirsi di immagini e file statici (come CSS e JavaScript) dalla nostra rete di server."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Aggiungi un ulteriore livello di sicurezza al tuo sito web abilitando l'accesso e l'autenticazione di sicurezza di WordPress.com. Se hai più siti con questa opzione abilitata, potrai accedere a ognuno di loro con le stesse credenziali."],"View your site activity":["Visualizza l’attività del sito"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Visualizza un elenco cronologico di tutte le modifiche e di tutti gli aggiornamenti al sito in un maniera organizzata e leggibile."],"Manually Verify ":["Verifica manualmente "],"Verify with Google":["Verifica con Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google ti invierà una e-mail su alcuni eventi che si verificano con il tuo sito, incluse indicazioni nel caso in cui il tuo sito web {{a1}}sia vittima di hacker{{/a1}} o per problemi di {{a2}}indicizzazione{{/a2}} del sito."],"or":["o"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitora le prestazioni e il traffico del tuo sito da {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Il tuo sito è stato verificato con Google."],"Site failed to verify: %(error)s":["Impossibile verificare il sito: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Aggiungi al tuo sito una ricerca più veloce e avanzata, grazie a Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Sostituisci la ricerca integrata WordPress con la ricerca Jetpack, un’esperienza di ricerca avanzata"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Ricerca Jetpack sostituisce la ricerca integrata con una veloce, scalabile, personalizzabile e altamente pertinente ospitata nel cloud WordPress.com. Il risultato: i tuoi utenti trovano il contenuto che desiderano, più velocemente."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["La ricerca integrata di WordPress è perfetta per siti senza molto contenuto. Man mano però che il sito cresce, le ricerche rallentano e restituiscono risultati meno pertinenti."],"Jetpack Search supports many customizations.":["La ricerca Jetpack supporta diverse personalizzazioni."],"Site is verified":["Il sito è verificato"],"Spam filtering and priority support.":["Filtro antispam e supporto prioritario."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Quando sono attivi gli annunci pubblicitari, Jetpack genera automaticamente un file ads.txt personalizzato su misura per il tuo sito."],"Custom ads.txt entries":["Personalizza le voci di ads.txt"],"Privacy information":["Informazioni sulla privacy"],"Enable Lazy Loading for images":["Abilitazione del caricamento lento delle immagini"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Le immagini a caricamento lento migliorano la velocità del tuo sito e creano un'esperienza visiva più fluida. Le immagini vengono caricate nel momento in cui i visitatori scorrono la schermata verso il basso, invece che tutte in una volta."],"Performance & speed":["Prestazioni e velocità"],"Enable high-speed, ad-free video player":["Abilitazione del lettore per video ad alta velocità e senza pubblicità"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Rendi più coinvolgente il contenuto che pubblichi con video ad alta risoluzione. Con Jetpack Video puoi personalizzare il tuo lettore multimediale e offrire video ad alta velocità, senza pubblicità e senza marchio ai tuoi visitatori. I video sono ospitati sui nostri server WordPress.com e non viene sottratto spazio dal tuo piano di hosting!"],"Video":["Video"],"Carousel color scheme":["Schema colori carosello"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["I dati Exif mostrano ai visitatori dettagli tecnici aggiuntivi di una foto, come la lunghezza focale, l'apertura e l'ISO."],"Show photo Exif metadata in carousel (when available)":["Mostra i metadati Exif delle foto nel carosello, quando disponibile."],"Display images in a full-screen carousel gallery":["Mostra le immagini in una galleria a schermo intero del carosello."],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Crea le presentazioni del carosello a schermo intero per le immagini nei tuoi articoli e nelle tue pagine. Le gallerie del carosello sono fruibili anche da dispositivo mobile e incoraggiano i visitatori del sito a interagire con le tue foto."],"Portfolios shortcode: [portfolio]":["Shortcode del portfolio: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Utilizza i {{portfolioLink}}portfolio{{/portfolioLink}} sul tuo sito per presentare i tuoi lavori migliori. Se il tema non supporta Jetpack Portfolios, puoi sempre usare un semplice shortcode per mostrarli sul tuo sito."],"Testimonials shortcode: [testimonials]":["Shortcode delle testimonianze: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Aggiungi {{testimonialLink}}le testimonianze{{/testimonialLink}} al tuo sito web per attirare nuovi clienti. Se il tema non supporta Jetpack Testimonials, puoi sempre usare un semplice shortcode per mostrarli sul tuo sito."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Al momento, i motori di ricerca non possono accedere al tuo sito. Se desideri rendere il tuo sito accessibile, controlla le{{a}}Impostazioni lettura{{/a}} e attiva la \"Visibilità ai motori di ricerca\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Buone notizie! Jetpack sta inviando automaticamente la tua sitemap a tutti i principali motori di ricerca per l'indicizzazione."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Le sitemap sono file che i motori di ricerca come Google o Bing utilizzano per indicizzare il tuo sito web. Possono aiutare a migliorare il tuo posizionamento nei risultati di ricerca. Quando abiliti questa funzione, Jetpack crea sitemap per te e le aggiorna automaticamente quando il contenuto del tuo sito cambia."],"Configure related posts in the Customizer":["Configura gli articoli correlati nell'utilità di personalizzazione"],"Highlight related content with a heading":["Evidenzia il contenuto correlato con un'intestazione"],"View security scan details":["Visualizza i dettagli della scansione di sicurezza"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Visualizza un'immagine in miniatura se disponibile"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Per informazioni su come le specifiche funzioni Jetpack utilizzano i dati e tracciano l’attività, fai riferimento al nostro {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Utilizziamo altri strumenti di tracciamento, compresi alcuni di terzi. {{cookiePolicyLink}}Leggi le informazioni sugli strumenti{{/cookiePolicyLink}} e come controllarli."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Queste informazioni ci aiutano a migliorare i prodotti, offrire proposte di marketing più pertinenti, personalizzare l’esperienza WordPress.com e molto altro, come indicato nel dettaglio nella nostra {{pp}}informativa sulla privacy{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Condividi informazioni con il nostro strumento di analisi relativamente al tuo uso dei servizi mentre sei connesso con il tuo account WordPress.com. {{cookiePolicyLink}}Scopri di più{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Questa caratteristica viene gestita da un amministratore del sito. {{link}}Scopri di più{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Questa caratteristica è stata disabilitata da un amministratore del sito. {{link}}Scopri di più{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Questa caratteristica è stata abilitata da un amministratore del sito. {{link}}Scopri di più{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Il modulo %(moduleName)s è stato disabilitato da un amministratore del sito. {{link}}Scopri di più{{/link}}."],"This feature has been disabled by a site administrator.":["Questa caratteristica è stata disabilitata da un amministratore del sito."],"%(moduleName)s has been disabled by a site administrator.":["Il modulo %(moduleName)s è stato disabilitato da un amministratore del sito."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Puoi inserire ulteriori annunci attraverso il widget Pubblicità. {{link}}Provalo!{{/link}}"],"Configure your notification settings":["Configura le impostazioni di notifica"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Ricerca di Jetpack è una potente sostituzione della funzionalità di ricerca incorporata in WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["I file del sito vengono regolarmente controllati per rilevare eventuali modifiche non autorizzate o sospette che potrebbero compromettere la sicurezza e i dati."],"Plugin needs updating.":["Il plugin deve essere aggiornato.","I plugin devono essere aggiornati."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Aggiornamenti plugin di Jetpack consente di scegliere quali plugin aggiornare automaticamente."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack ottimizzerà le tue immagini e le servirà dalla posizione server più vicina ai visitatori. L'utilizzo della nostra rete globale di distribuzione dei contenuti migliorerà la velocità di caricamento del tuo sito."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["La funzione di monitoraggio dell'inattività di Jetpack controllerà costantemente il tuo sito e ti avviserà quando viene rilevato un periodo di inattività."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["I backup Jetpack consentono di ripristinare facilmente o eseguire il download di un backup di un momento specifico."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Permette di ottenere un tema leggero e pensato per la fruizione mobile che verrà visualizzato dagli utenti che si servono di dispositivi mobili."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Carica automaticamente i post successivi quando il lettore si avvicina a fine pagina."],"Allows you to publish new posts by sending an email to a special address.":["Consente di pubblicare nuovi post inviando un'e-mail a un indirizzo particolare."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Aggiunge una barra degli strumenti con link a tutti i siti, notifiche, il tuo profilo WordPress.com e il lettore."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Fornisce i tag nascosti necessari per verificare il sito WordPress con diverse servizi."],"Displays information on your site activity, including visitors and popular posts or pages.":["Visualizza le informazioni sull’attività del sito, inclusi i visitatori e pagine o post popolari."],"Allows you to optimize your site and its content for better results in search engines.":["Consente di ottimizzare il sito e i relativi contenuti per risultati migliori nei motori di ricerca."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integra il tuo sito WordPress con Google Analytics, una piattaforma che offre approfondimenti su traffico, visitatori e conversioni."],"Displays high-quality ads on your site that allow you to earn income.":["Visualizza sul sito annunci di alta qualità che permettono di ottenere guadagni."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Consente di condividere automaticamente i contenuti più recenti sui siti di social media, tra cui Facebook e Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Aggiunge al contenuto i pulsanti Like, in modo che i visitatori possano mostrare apprezzamento."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permette agli utenti registrati di accedere al sito con i loro account WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protegge il sito da attacchi di accesso forzato tradizionali o distribuiti."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Esegue il backup del sito sui server WordPress.com globali, consentendo di ripristinare i contenuti in caso di emergenza o di errore."],"Removes spam from comments and contact forms.":["Rimuove lo spam da commenti e form di contatto."],"We are committed to your privacy and security. ":["Ci impegniamo per la tua sicurezza e la tua privacy. "],"View all Jetpack plans":["Visualizza tutti i piani Jetpack"],"Manage your plan":["Gestisci il tuo piano"],"Your Plan":["Il tuo piano"],"You’re currently on Jetpack %(plan)s.":["Attualmente utilizzi Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Consente ai lettori di iscriversi ai tuoi articoli o commenti e ricevi notifiche dei nuovi contenuti tramite e-mail."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Sostituisce il form di commento WordPress standard con un nuovo sistema di commento che include le opzioni di accesso con i social media."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Attivala{{/a}} per sostituire la ricerca integrata di WordPress con la funzionalità di ricerca di Jetpack, un'esperienza di ricerca migliorata."],"Add Search (Jetpack) Widget":["Aggiungi il widget di ricerca (Jetpack)"],"Jetpack Search is powering search on your site.":["La ricerca Jetpack migliora la ricerca sul tuo sito."],"Manage your plugins":["Gestisci i plugin"],"Moderate comments":["Modera commenti"],"Error updating privacy settings. %(error)s":["Errore durante l'aggiornamento delle impostazioni della privacy %(error)s"],"Updated privacy settings.":["Impostazioni della privacy aggiornate."],"Updating privacy settings…":["Aggiornamento delle impostazioni della privacy..."],"Add Jetpack Search Widget":["Aggiungi il widget di ricerca di Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Aggiungi il widget di ricerca di Jetpack alla tua barra laterale per configurare filtri e ordinamento."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suite di sicurezza completa, strumenti di automazione del marketing e delle entrate, hosting video illimitato, temi infiniti, ricerca avanzata e supporto prioritario."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suite di sicurezza completa, strumenti di automazione del marketing e delle entrate, hosting video illimitato e supporto prioritario."],"Daily backups, spam filtering, and priority support.":["Backup quotidiani, filtro antispam e supporto prioritario."],"Always-on security":[""],"Activate video hosting":["Attiva l'hosting video"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Backup in tempo reale di tutti i dati del tuo sito con spazio illimitato, ripristini con un clic, scansione di sicurezza automatica e supporto prioritario."],"Design the perfect website":["Progetta il sito web perfetto"],"Set up Jetpack":["Configura Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Backup in tempo reale di tutti i dati del tuo sito con spazio illimitato, ripristini con un clic e scansione di sicurezza automatica."],"Jetpack Search":["Ricerca Jetpack"],"Jetpack version %(version)s":["Versione di Jetpack %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Per il tuo sito vengono effettuati il backup in tempo reale e la scansione regolare di minacce alla sicurezza."],"Daily backup of all your site data with unlimited space and one-click restores":["Backup giornaliero di tutti i dati del tuo sito con spazio illimitato e ripristini con un clic"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Backup in tempo reale di tutti i dati del tuo sito con spazio illimitato, ripristini con un clic, scansione di sicurezza automatica e risoluzione delle minacce con un clic."],"View your security activity":["Visualizza la tua attività di sicurezza"]," (powered by VaultPress).":[" (funziona con VaultPress)."],"Customize Search Widget":["Personalizza widget di ricerca"],"Please correct the issue below and try again.":["Risolvi il problema riportato di seguito e riprova.","Risolvi i problemi riportati di seguito e riprova."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Ci stiamo assicurando che il tuo sito rimanga privo di minacce alla sicurezza. Qualora ne trovassimo una, riceverai una notifica."],"Jetpack version":["Versione di Jetpack"],"Activity":["Attività"],"{{a}}View details{{/a}}":["{{a}}Vedi dettagli{{/a}}"],"Monetize your site with ads":["Monetizza il tuo sito con gli ads"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Cliccando qui sotto, accetti i nostri {{tosLink}}Termini di servizio{{/tosLink}} e la {{shareDetailsLink}}condivisione delle informazioni{{/shareDetailsLink}} con WordPress.com"],"Jetpack Stats People":["Persone che osservano le statistiche Jetpack"],"Hello there! Your stats have been activated.":["Ciao, Le tue statistiche sono state attivate."],"Just give us a little time to collect data so we can display it for you here.":["Concedici del tempo per raccogliere tutti i dati in modo tale da visualizzarli qui."],"Okay, got it!":["Ok, fatto!"],"Display ads below posts on":["Visualizza pubblicità sotto gli articoli su"],"Additional ad placements":["Posizionamenti aggiuntivi della pubblicità"],"Top of each page":["Parte superiore di ogni pagina"],"Second ad below post":["Seconda pubblicità sotto l'articolo"],"Archives":["Archivi"],"Stars":["Stelle"],"Jupiter":["Giove"],"Schedule posts":["Programma articoli"],"Activate Publicize":["Attiva Pubblicizza"],"Your site is backed up.":["Il tuo sito è stato sottoposto a backup."],"Get WordPress Apps for every device":["Usa WordPress Apps per tutti i dispositivi"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gestisci i tuoi siti da una singola dashboard: pubblica contenuti, traccia le statistiche, modera i commenti, e tante altre cose da qualsiasi parte del mondo tu ti trovi."],"Create address":["Crea indirizzo"],"Automatically share your posts to social networks":["Condividi automaticamente i tuoi articoli sui social network"],"Updating settings…":["Aggiornamento impostazioni in corso…"],"Updating Post by Email address…":["Aggiornamento indirizzo Post by Email in corso…"],"Your paid plan gives you access to prioritized Jetpack support.":["Il tuo piano a pagamento ti consente l'accesso al supporto Jetpack prioritario."],"You have paid for backups but they're not yet active.":["Hai pagato per i backup, ma non sono ancora attivi."],"You have paid for backups and security scanning but they’re not yet active.":["Hai pagato per i backup e la scansione di sicurezza, ma non sono ancora attivi.."],"Click \"Set Up\" to finish installation.":["Fai clic su \"Imposta\" per completare l'installazione."],"Checking site status…":["Controllo dello stato del sito in corso…"],"Pages":["Pagine"],"Access the full list of Jetpack modules available on your site.":["Accedi all'elenco completo dei moduli di Jetpack disponibile sul tuo sito."],"We're here to help":["Siamo qui per aiutarti"],"Jetpack comes with free, basic support for all users.":["Jetpack viene fornito con supporto di base gratuito per tutti gli utenti."],"Ask a question":["Fai una domanda"],"Search our support site":["Cerca il nostro sito di supporto"],"Get a faster resolution to your support questions.":["Ottieni una risoluzione più veloce alle tue domande al supporto."],"Host fast, high-quality, ad-free video.":["Host video rapido, di alta qualità e senza pubblicità."],"Generate income with high-quality ads.":["Genera dei guadagni con pubblicità di alta qualità."],"Real-time site backups and automatic threat resolution.":["Backup del sito in tempo reale e risoluzione automatica delle minacce."],"Protect against data loss, malware, and malicious attacks.":["Protezione contro la perdita dei dati, attacchi dannosi e di malware."],"Protect your site from spam.":["Proteggi il tuo sito dallo spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Questo sito non è collegato a WordPress.Com. Chiedi all'amministratore del sito di collegarlo."],"An Automattic Airline":["An Automattic Airline"],"Manage site connection":["Gestisci connessione sito"],"Connect your account to WordPress.com to view more stats":["Collega il tuo account a WordPress.com per visualizzare più statistiche"],"Theme enhancements":["Miglioramento dei temi"],"Load more posts using the default theme behavior":["Carica altri articoli utilizzando la modalità di funzionamento del tema predefinito"],"Load more posts in page with a button":["Carica più articoli nella pagina tramite un bottone"],"Load more posts as the reader scrolls down":["Carica più articoli mentre il lettore scorre verso il basso"],"Theme support required.":["Supporto del tema richiesto."],"Learn more about adding support for Infinite Scroll to your theme.":["Scopri di più riguardo l'aggiunta del supporto per lo scroll infinito nel tuo tema."],"Show excerpts instead of full posts on front page and archive pages":["Mostra degli estratti invece di articoli completi sulla pagina iniziale e sulle pagine di archivio"],"Show featured images":["Mostra le immagini in primo piano"],"Enable the WordPress.com toolbar":["Attiva la barra degli strumenti di WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Gli strumenti di scrittura disponibili verranno mostrati qui una volta attivati dall'amministratore."],"Portfolios":["Portfolio"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Nota che {{b}}la verifica del sito con questi servizi non è necessaria{{/b}} per l'indicizzazione del sito stesso da parte dei motori di ricerca. Per utilizzare questi strumenti avanzati per i motori di ricerca e verificare il sito con un servizio, incolla di seguito il codice del tag HTML. In caso di problemi, leggi le {{support}}istruzioni complete{{/support}}. Servizi di verifica supportati: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} e {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Genera sitemap XML"],"The image helps collect stats, but should work when hidden.":["L'immagine aiuta a raccogliere dati statistici, ma dovrebbe funzionare anche quando è nascosta"],"Count logged in page views from":["Count logged in page views from"],"Allow stats reports to be viewed by":["Permetti che i report delle statistiche siano viste da"],"In \"Upgrade\"":["In \"Aggiornamento\""],"Configure your Google Analytics settings":["Configura le tue impostazioni di Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Mostra le pubblicità nel primo articolo della tua home page o alla fine di ogni pagina e post. Puoi sistemare altri ads in aggiunta nella parte superiore del tuo sito e in ogni area widget, così da aumentare i guadagni."],"Enable ads and display an ad below each post":["Attiva gli ads e mostra una pubblicità sotto ogni post"],"Configure your sharing buttons":["Configura i pulsanti di condivisione"],"Connect your social media accounts":["Collega i tuoi account di social media"],"Match accounts using email addresses":["Accoppia gli account usando gli indirizzi email"],"Require accounts to use WordPress.com Two-Step Authentication":["Richiede gli account per usare l'autenticazione a due fattori di WordPress.com"],"Add to whitelist":["Aggiungi alla whitelist"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Facendo il whitelist di un indirizzo IP o di una serie di indirizzi fai in modo che questi non vengano mai bloccati da Jetpack. IPv4 e IPv6 sono accettati. Per specificare un range di IP, inserisci o specifica un determinato range, inserisci il valore più basso e quello più alto separato da un dash (\"-\"). Per esempio: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Il back up del sito è stato fatto. Il tuo sito non presenta nessuna minaccia."],"Checking your spam protection…":["Controllo della protezione spam..."],"Fetching key…":["Recupero chiave..."],"Your site needs an Antispam key.":["Il tuo sito ha bisogno di una chiave Antispam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Si è verificato un problema con la tua chiave API Antispam. {{a}}Scopri di più{{/a}}."],"Your site is not protected from spam.":["Il tuo sito non è protetto dallo spam."],"Your Antispam key is valid.":["La tua chiave Antispam è valida."],"Your site is protected from spam.":["Il tuo sito è protetto dallo spam."],"Checking key…":["Controllo chiave..."],"Your API key":["La tua chiave API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Se non hai ancora una chiave API, {{a}}puoi ottenerla cliccando qui{{/a}}, dove inizierai la procedura per richiederne una. "],"No search results found for %(term)s":["Nessun risultato trovato per %(term)s"],"Enter a search term to find settings or close search.":["Cerca un termine per trovare impostazioni o una ricerca simile"],"Connections":["Connessioni"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Il tuo sito è in Modalità Sviluppo, pertanto non può essere connesso a WordPress.com."],"Your site is connected to WordPress.com.":["Il tuo sito è collegato a WordPress.com."],"You are the Jetpack owner.":["Sei il proprietario di questo piano Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Connesso come {{span}}%(username)s{{/span}}"],"View your Email Followers":["Controlla i tuoi Email Follower "],"Color scheme":["Schema di colori"],"Enable Markdown use for comments.":["Abilita l'uso di Markdown per i commenti."],"Updated settings.":["Impostazioni aggiornate. "],"Error updating settings. %(error)s":["Errore nell'aggiornamento delle impostazioni. %(error)s"],"Regenerated Post by Email address.":["Post rigenerati dall'indirizzo email."],"Error regenerating Post by Email address. %(error)s":["Errore nel rigenerare il post dall'indirizzo email. %(error)s"],"Updated settings. Refreshing page…":["Impostazioni salvate. Ricaricando la pagina... "],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Attualmente in {{a}}Modalità di sviluppo{{/a}} (alcune funzioni sono disabilitate) perché: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{li}}Il filtro jetpack_development_mode è attivo{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}La costante JETPACK_DEV_DEBUG è definita{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}All'URL del tuo sito manca un punto (es. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics è un servizio gratuito che completa la nostra {{a}}built-in stats{{/a}} con diversi approfondimenti sul tuo traffico. Le statistiche di WordPress.com e Google Analytics usano metodi diversi per identificare e tracciare l'attività sul tuo sito, i quali di norma mostrano numeri totali delle visite leggermente diversi, come anche delle visualizzazioni, ecc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configura Google Analytics"],"Activate Google Analytics":["Attiva Google Analytics"],"Download the free apps":["Scarica le app gratuite"],"Upgrade Focus: VideoPress For Weddings":["Punti principali dell'aggiornamento: VideoPress per matrimoni"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Ora puoi configurare gli articoli correlati nel Personalizza. {{ExternalLink}}Provalo!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["In modo predefinito, gli annunci sono mostrati alla fine di ogni pagina, articolo, o del primo articolo nella tua pagina iniziale. Puoi anche aggiungerli in testa al tuo sito o a qualsiasi area widget per incrementare i tuoi guadagni!"],"Display an ad unit at the top of your site.":["Mostra una pubblicità in cima al tuo sito, all'inizio della schermata."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Attivando gli ads, accetti i {{link}}Termini del Servizio{{/link}} di Automattic Ads."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Il tuo server non è configurato bene, il che significa che Jetpack Protect non riesce efficacemente a proteggere il tuo sito. "],"In \"Mobile\"":["In \"Mobile\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configura le impostazioni di notifica di Monitor su WordPress.com{{/link}}"],"View your earnings":["Guarda i tuoi guadagni"],"Configure site SEO":["Configura il sito con la SEO"],"Activate SEO tools":["Attiva strumenti SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Per iniziare, clicca su Aggiungi Media nel editor di scrittura del post e carica un video; il resto lo facciamo noi!"],"Video Hosting":["Video Hosting"],"SEO Tools":["Strumenti SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Strumenti SEO avanzati per aiutarti a far trovare il tuo sito quando la gente cerca contenuti rilevanti. "],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Il modo più facile per caricare video ad-free e senza \"marche\" sul tuo sito. Ottieni statistiche su quante volte i video sono stati visti e condivisi. Il player usato è responsivo e leggero."],"You are running Jetpack on a staging server.":["Jetpack sta girando su un server di staging."],"More Info":["Maggiori Informazioni"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Gestisci la visibilità dei Like dalle impostazioni del modulo Condivisione{{/a}}"],"Your current IP: %(ip)s":["Il tuo IP attuale: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Ci sono delle impostazioni non salvate che verrano perse se abbandoni qui. Vuoi procedere?"],"This will reset all Jetpack options, are you sure?":["Questa azione resetterà le opzioni di Jetpack, confermi?"],"Search for a Jetpack feature.":["Cerca una funzionalità di Jetpack."],"Configure your Security Scans":["Configura le tue Scansioni di Sicurezza"],"Subscriber":["Subscriber"],"Big iPhone/iPad Update Now Available":["Ora disponibile un importante aggiornamento per iPhone/iPad"],"The WordPress for Android App Gets a Big Facelift":["The WordPress for Android App Gets a Big Facelift"],"WordPress.com Likes are:":["I Mi Piace di WordPress.com sono:"],"A few catchy words to motivate your visitors to comment.":["Poche parole convincenti per motivare i visitatori a commentare."],"Hide the stats smiley face image":["Nascondi l'immagine dello smiley nelle statistiche"],"Whitelisted IP addresses":["Indirizzi IP nella whitelist"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Mostra un messaggio promozionale dell'app mobile di WordPress, visualizzato nel footer del tema mobile."],"Copied!":["Copiato!"],"Highlight and copy the following text to your clipboard:":["Evidenzia e copia il seguente testo nei tuoi appunti:"],"Regenerate address":["Rigenera indirizzi"],"Cheatin' uh?":["Cheatin' uh?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Ci puoi dire perché non ti è stato possibile completare la connessione con Jetpack in questo {{a}}2 questionario{{/a}}?{{/p}}{{p}}Una connessione con Jetpack è richiesta affinché la nostra funzionalità gratuita per la sicurezza e il traffico funzioni.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Benvenuto alla {{s}}Jetpack %(jetpack_version)s{{/s}}! "],"Your Jetpack is already connected.":["Jetpack è già connesso."],"You're fueled up and ready to go, Jetpack is now active.":["Tutto è stato sistemato e sei pronto a partire, adesso Jetpack è attivo."],"You're fueled up and ready to go.":["Sei carico e pronto a proseguire."],"You are currently running a development version of Jetpack.":["Stai eseguendo una versione di sviluppo di Jetpack."],"Submit Beta feedback":["Invia il tuo feedback"],"What would you like to see on your Jetpack Dashboard?":["Che cosa ti piacerebbe vedere nella tua bacheca Jetpack?"],"Let us know!":["Faccelo sapere!"],"Saving…":["Salvataggio in corso..."],"Save Settings":["Salva impostazioni"],"Jetpack Stats Icon":["Icona delle statistiche di Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Attiva le Statistiche del Sito{{/a}} per vedere statistiche dettagliate, likes, follower, subscriber e molto altro! {{a1}}Leggi di più{{/a1}}"],"Activate Site Stats":["Attiva Statistiche Sito"],"Site Backups":["Backup del sito"],"Upgrade":["Aggiorna"],"ACTIVE":["ATTIVO"],"View your spam stats":["Guarda le statistiche dello spam"],"View your security dashboard":["Guarda la tua bacheca riguardo la sicurezza"],"Real-Time Backups":["Backup in tempo reale"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Questo sito è in modalità sviluppatore, quindi non può connettersi a WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Collega il tuo account a WordPress.com per ottenere il massimo da Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Per una scansione automatica e completa delle minacce alla sicurezza, {a}}installa e attiva{{/ a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack sta attivamente bloccando tentativi di login dannosi. I dati a riguardo ti appariranno qui molto presto!"],"Total malicious attacks blocked on your site.":["Totale degli attacchi malevoli bloccati sul tuo sito."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Attiva Protect{{/a}} per mantenere il tuo sito protetto da tentativi di sign in dannosi."],"All plugins are up-to-date. Awesome work!":["Tutti i plugin sono aggiornati. Ottimo lavoro!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack sta monitorando il tuo sito. Se pensiamo che il tuo sito non sia raggiungibile, riceverai una mail."],"Security":["Sicurezza"],"Performance":["Prestazioni"],"Backup":["Backup"],"{{a}}View backup details{{/a}}.":["{{a}}Visualizza i dettagli del backup{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Per fare il backup automatico di tutto il tuo sito {{a}}installa e attiva{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Non disponibile in Dev Mode."],"Unavailable in Dev Mode":["Non disponibile in Dev Mode"],"Activating %(slug)s…":["Attivando %(slug)s…"],"%(slug)s has been activated.":["%(slug)s è stato attivato."],"%(slug)s failed to activate. %(error)s":["Errore nell'attivazione di %(slug)s. %(error)s"],"Deactivating %(slug)s…":["Disattivazione di %(slug)s in corso..."],"%(slug)s has been deactivated.":["%(slug)s è stato disattivato."],"%(slug)s failed to deactivate. %(error)s":["Errore nella disattivazione di %(slug)s. %(error)s"],"Updating %(slug)s settings…":["Attivando le impostazioni per %(slug)s ..."],"Updated %(slug)s settings.":["Impostazioni per %(slug)s attive."],"Error updating %(slug)s settings. %(error)s":["Errore aggiornando %(slug)s impostazioni. %(error)s"],"Updating %(slug)s address…":["Aggiornando %(slug)s indirizzi…"],"Regenerated %(slug)s address .":["%(slug)s indirizzi rigenerati."],"Error regenerating %(slug)s address. %(error)s":["Errore rigenerando %(slug)s indirizzi. %(error)s"],"Resetting Jetpack options…":["Resettando le opzioni di Jetpack..."],"Options reset.":["Opzioni di reset."],"Options failed to reset.":["Le opzioni hanno fallito il reset."],"There was an error disconnecting Jetpack. Error: %(error)s":["Si è verificato un errore nel disconnettere Jetpack. Errore: %(error)s"],"Unlinking from WordPress.com":["Scollegando WordPress.com"],"Unlinked from WordPress.com.":["WordPress.com è scollegato."],"Error unlinking from WordPress.com. %(error)s":["Errore scollegando WordPress.com. %(error)s"],"At A Glance":["A colpo d'occhio"],"Dashboard":["Bacheca"],"Automattic's Privacy Policy":["Privacy Policy di Automattic"],"WordPress.com Terms of Service":["Termini del Servizio di WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Attiva gli aggiornamenti automatici del plugin.{{/a}}"],"Plugin Updates":["Aggiornamenti plugin"],"No threats found, you're good to go!":["Nessuna minaccia trovata, tutto apposto!"],"{{a}}Contact Support{{/a}}":["{{a}}Contatta il supporto{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Visualizza dettagli su VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Ops, %(number)s minaccia trovata.","Ops, %(number)s minacce trovate."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Attiva Monitor{{/a}} per ricevere notifiche se il tuo sito va offline."],"Loading…":["Caricando..."],"Downtime monitor":["Monitoraggio dei tempi di inattività"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}} Visualizza più statistiche su WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Mostra statistiche dettagliate{{/button}}"],"All-time comments":["Tutti i commenti"],"All-time views":["Visualizzazione All-time"],"%(number)s View":["%(number)s View","%(number)s Views"],"Best overall day":["Miglior giorno complessivo"],"Views today":["Visualizzazioni odierne"],"Months":["Mesi"],"Weeks":["Settimane"],"Days":["Giorni"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["È successo qualcosa caricando le statistiche. Prova di nuovo tra un po' {{a}}guarda le tue statistiche ora su WordPress.com{{/a}}"],"Click to view detailed stats.":["Fai clic per visualizzare le statistiche dettagliate."],"Views: %(numberOfViews)s":["Visualizzazioni: %(numberOfViews)s"],"Week of %(date)s":["Week of %(date)s"],"Site Security":["Sicurezza del sito"],"Link to WordPress.com":["Collega a WordPress.com"],"Unlink me from WordPress.com":["Scollegami da WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["C'è stato un problema nella connessione Jetpack. Fai clic di nuovo su \"Collega Jetpack\"."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["C'è stato un problema con la connessione Jetpack; disattiva e poi riattiva il plugin Jetpack, poi riprova a connetterti."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Devi essere connesso al tuo blog WordPress durante l'autorizzazione di Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Jetpack ha riscontrato un errore tecnico.{{/s}} Ci scusiamo per l'inconveniente. Riprova più tardi e, se il problema persiste, contatta il supporto con questo messaggio: %(error_key)s"],"Disconnecting Jetpack":["Disconnessione di Jetpack in corso"],"Learn more":["Per saperne di più"],"Posts":["Articoli"],"Front page":["Home page"],"Upload videos":["Carica video"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Mostra i contenuti correlati dopo i post"],"Related":["Correlati"],"Disconnect":["Disconnetti"],"Save":["Salva"],"Media":["Media"],"Mobile Theme":["Tema mobile"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX è un potente linguaggio di markup per scrivere equazioni matematiche e formule."],"Site Stats":["Statistiche Sito"],"Sharing":["Condivisione"],"Testimonials":["Testimonianze"],"Cancel":["Annulla"],"Comments":["Commenti"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack non riesce a contattare WordPress.com: %(error_key)s. Di solito questo significa che c'è un errore nella configurazione del tuo web host."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["Al momento WordPress.com ha dei problemi e non può alimentare il tuo Jetpack. Riprova più tardi."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Jetpack ha riscontrato un errore tecnico.{{/s}} Non è possibile collegare questo sito con WordPress.com. Di solito questo significa che il tuo sito non è accessibile pubblicamente (il tuo localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Per poter utilizzare Jetpack il tuo sito deve avere permessi di accesso pubblico: %(error_key)s"],"Edit":["Modifica"],"Connected":["Collegato"],"Activate":["Attiva"],"Active":["Attivo"],"Settings":["Impostazioni"],"Learn More":["Per saperne di più"],"Disconnect Jetpack":["Disconnetti Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Nota:{{/b}} è in corso la disattivazione di questa funzionalità e verrà rimossa da Jetpack a marzo. {{link}}Per saperne di più{{/link}}"],"Settings header\u0004Jetpack Backup":["Backup Jetpack"],"Settings header\u0004Anti-spam":["Antispam"],"Settings header\u0004WP.me Shortlinks":["Shortlink di WP.me"],"Settings header\u0004Auto-update plugins":["Aggiorna automaticamente i plugin"],"Settings header\u0004Widgets":["Widget"],"Settings header\u0004Downtime monitoring":["Monitoraggio dei tempi di inattività"],"Settings header\u0004Privacy Settings":["Impostazioni della privacy"],"Settings header\u0004WordPress.com toolbar":["Barra degli strumenti di WordPress.com"],"Settings header\u0004Composing":["Creazione "],"Settings header\u0004Site stats":["Statistiche del sito"],"Settings header\u0004Search engine optimization":["Ottimizzazione motori di ricerca"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Bottoni di condivisione"],"Settings header\u0004Publicize connections":["Connessioni di Publicize"],"Settings header\u0004Like buttons":["Pulsanti Like"],"Settings header\u0004Brute force attack protection":["Protezione da attacchi di forza bruta"],"Settings header\u0004Backups and security scanning":["Backup e scan di sicurezza"],"Notice in the empty statistics chart\u0004No activity this period":["Nessuna attività per questo periodo"],"Settings header, noun.\u0004WordPress.com login":["Accesso a WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Invia link"],"A caption for a button to cancel an action.\u0004Cancel":["Annulla"],"Link to learn more about Jetpack.\u0004About":["Informazioni"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Moduli"],"Navigation item.\u0004Performance":["Performance"],"Navigation item.\u0004My Plan":["Il mio piano"],"Navigation item.\u0004Dev Tools":["Strumenti per gli sviluppatori"],"Navigation item.\u0004Settings":["Impostazioni"],"Navigation item.\u0004Discussion":["Discussione"],"Navigation item.\u0004Traffic":["Traffico"],"Navigation item.\u0004Sharing":["Condivisione"],"Navigation item.\u0004At A Glance":["A prima vista"],"Navigation item.\u0004Plans":["Abbonamenti"],"Navigation item.\u0004Writing":["Scrittura"],"Navigation item.\u0004Reset Options (dev only)":["Opzioni Reset (solo per sviluppatori)"],"Navigation item.\u0004Security":["Sicurezza"],"Navigation item.\u0004At a Glance":["In sintesi"],"Search term.\u0004terms of service":["termini di servizio"],"Search term.\u0004tos":["ToS (Termini di Servizio)"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["dati"],"Search term.\u0004tracks":["tracce"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Aggiorna"],"Button caption\u0004Saving…":["Salvataggio in corso…"],"Button caption\u0004Save settings":["Salva le impostazioni"],"A heading for a block of related posts.\u0004Related":["Correlati"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Anteprima"],"Short warning message\u0004Updates needed":["Update necessari"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Paid"],"A header for a preview area in the configuration screen.\u0004Preview":["Anteprima"],"Ads header\u0004Ads":["Ads"],"Dashboard widget header\u0004Site connection":["Sito connesso"],"Dashboard widget header\u0004Account connection":["Connessione dell'account"],"A caption for a small button to fix security issues.\u0004Threats":["Minacce"],"A caption for a small button to fix security issues.\u0004FIX":["FIX"],"Short warning message about new threats found.\u0004Threats found!":["Minacce rilevate!"],"Short message informing user that the site is secure.\u0004Secure":["Sicuro"],"Caption for a button to set up a feature.\u0004Set up":["Configura"],"verb\u0004Copy":["Copia"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacy"],"Shorthand for Terms of Service.\u0004Terms":["Termini"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Debug"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Commenti spam bloccati."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ja-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ja-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 1bf28162..00000000
--- a/plugins/jetpack/languages/json/jetpack-ja-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"ja_JP"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["ご利用の %(planName)s プランには、%(featureName)s が含まれています。%(productName)s 製品も購入されているようです。%(productName)s を削除することを検討してください。"],"real-time backups":["リアルタイムのバックアップ"],"daily backups":["日次バックアップ"],"Renews on %s.":["更新日 : %s"],"Purchased on %s.":["購入日 : %s"],"Select a backup option:":["バックアップオプションを選択 :"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["%(billingTimeFrame)sで{{price/}}の%(name)sにアップグレードしましょう"],"You are saving {{savings /}} by paying yearly":["年払いにすると{{savings /}}を節約できます"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["こちらは、{{s}}期間限定初回価格{{/s}}ですのでお急ぎください"],"Up to %(percent)d%% off!":["最大%(percent)d%% オフ !"],"per month":["/ 月"],"per year":["/ 年"],"Which backup option is best for me?":["最適なバックアップオプションはどれですか ?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["購読を管理する"],"Your site is being backed up.":["サイトはバックアップされています。"],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Jetpack バックアップの設定を完了するには、サーバーのログイン情報を入力する必要があります。"],"Jetpack Backup is being configured for your site.":["サイト用に Jetpack バックアップを設定しています。"],"Daily Backups":["日次バックアップ"],"Just looking for backups? We've got you covered.":["バックアップが必要ですか ?それでしたら、我々にお任せください。"],"Solutions":["ソリューション"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["ご利用の{{planLink}}プロフェッショナルプラン{{/planLink}}に含まれています"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["ご利用の{{planLink}}プレミアムプラン{{/planLink}}に含まれています"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["ご利用の{{planLink}}パーソナルプラン{{/planLink}}に含まれています"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["常時バックアップされるため、サイトが失われることはありません。変更内容は編集中に保存され、バックアップのアーカイブは無制限に利用できます。"],"Always-on backups ensure you never lose your site.":["常時バックアップされるため、サイトが失われることはありません。"],"My Products":["自分の商品"],"My Plan":["自分のプラン"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack バックアップ{{em}}リアルタイム{{/em}}"],"Your data is being securely backed up as you edit.":["データは編集時に安全にバックアップされます。"],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack バックアップ{{em}}日次{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["データは30日間のアーカイブに毎日安全にバックアップされます。"],"Jetpack Professional":["Jetpack プロフェッショナルプラン"],"Jetpack Premium":["Jetpack プレミアムプラン"],"Jetpack Personal":["Jetpack パーソナルプラン"],"Jetpack Free":["Jetpack 無料プラン"],"Expired on %s.":["%s に期限が切れました。"],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["質問がある場合いつでもお問い合わせください。{{a}}Jetpack サポートチームに質問をする。{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["目標達成に役立つ強力なツールが多数用意されている Jetpack"]," We’ve highlighted some of the features you rely on below.":["信頼できる機能を以下にご紹介します。"],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack は現在、あなたのサイトに機能を提供しています。Jetpack を無効にすると、これらの機能は使用できなくなり、サイトがこれまでと同じように機能しなくなる可能性があります。"],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack は現在、あなたのサイトに機能を提供しています。Jetpack 連携を解除すると、これらの機能は使用できなくなり、サイトがこれまでと同じように機能しなくなる可能性があります。"],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["自動化されたソーシャル{{a}}パブリッシングとシェア{{/a}}機能でトラフィックを増やす"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["{{a}}総当たり攻撃{{/a}}をブロックし、サイトがダウンした場合は直ちに通知を受けられる"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["サイトをスピードアップし、{{a}}CDN{{/a}} でモバイル対応画像を提供"],"Disable":["無効化"],"Are you sure you want to disconnect and deactivate?":["連携を解除して無効化してもよいですか ?"],"Are you sure you want to disconnect?":["連携を解除してもよいですか ?"],"Disable Jetpack":["Jetpack を無効にする"],"We back up your website with every change you make, making it easy to fix your mistakes.":["変更を加えるたびにサイトがバックアップされるため、間違った場合でも簡単に修正できます。"],"Automated Real-time Backups":["自動リアルタイムバックアップ"],"We back up your website every day, so you never have to worry about your data again.":["サイトは日々バックアップされます。今後はデータを心配する必要がなくなります。"],"Automated Daily Backups":["自動日次バックアップ"],"View Your Backups":["バックアップを表示"],"A Jetpack Site securely backed up with Jetpack Backup":["Jetpack サイトは Jetpack バックアップによって安全にバックアップされます。"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Markdown 構文を使用して、リンク、リスト、その他のスタイルを含むコンテンツを作成します。この設定により旧エディター内と旧エディターブロック内で Markdown が可能になります。"],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}有効{{/a}}にすると、画像の容量が最適化され、Jetpack の高速でグローバルなサーバーネットワークから画像が読み込まれます。これにより、デスクトップとモバイルデバイスでサイトのパフォーマンスが向上します。"],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack はその高速でグローバルなサーバーネットワークを使用して、画像の容量とダウンロード速度を最適化します。これにより、デスクトップとモバイルデバイスでサイトのパフォーマンスが向上します。"],"Image Accelerator":["画像アクセラレーター"],"Start with free":["無料プランでスタート"],"Now that you're set up, pick a plan that fits your needs.":["設定が完了しました。ニーズに合ったプランを選択してください。"],"Jetpack Backup":["Jetpack バックアップ"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["ご利用の Jetpack プランには、Akismet によるスパム対策が組み込まれています。「設定」をクリックすると、目的のサイトで有効になります。"],"Already have a key? {{a}}Activate Akismet{{/a}}":["すでにキーを取得済みの場合 :{{a}}Akismet を有効化{{/a}}"],"Verifying…":["認証中…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Jetpack プレミアムまたはプロフェッショナルプランの強力な SEO ツールを使用して、検索エンジンでの表示順位を上げます。"],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["モバイルデバイスでも高速で読み込め、整然とした見やすい画面のサイトにしましょう。訪問者の画面サイズに合わせ、標準テーマを表示します。"],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["アーカイブページの画面下部に向かって記事をスクロールするたび、続きのコンテンツを読み込む方式で、訪問者が間断なくスムーズに記事を読み進められます。"],"Customize your SEO settings":["SEO 設定をカスタマイズ"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["検索エンジンでサイトを表現する方法をコントロールします。Jetpack の SEO ツールを使用すると、一般的な検索エンジンでコンテンツがどのように表示されるかをプレビューして、サイト名やタグラインなどをすぐに変更できます。"],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["共有ボタンを追加しておくと、ソーシャルメディアの投稿やページを訪問者が数クリックで共有できます。"],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["48時間分のトラフィックのスナップショットを反映した小さいグラフを管理バーに組み込みます"],"Expand to update settings for how visits are counted and manage who can view this information.":["展開すると、訪問回数のカウント方法の設定を更新し、この情報を表示できるユーザーを管理できます。"],"You can customize the sharing buttons and choose which services to display.":["共有ボタンのカスタマイズや表示するサービスの選択ができます。"],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["サイトは Jetpack で保護されています。重要な情報があるとき、通知を受けます。"],"Find threats early so we can help fix them fast.":["すばやく脅威を修正できるように早期に脅威を検出します。"],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["ベーシックな検索から、訪問者が望む情報をより短時間で見つけられるカスタマイズ可能な検索に、サイトの検索機能を置換します。"],"Never worry about losing your site – automatic backups keep your content safe.":["サイトを失う心配はありません。自動バックアップでコンテンツを安全に保管できます。"],"Protect":["保護"],"Scan":["スキャン"],"Automatically clear spam from your comments and forms so you can get back to your business.":["コメントやフォームからスパムを自動的に取り除き、ビジネスを再開できます。"],"Anti-spam":["スパム対策"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Jetpack のプレミアムプランまたはプロフェッショナルプランでは、サイトと Google アナリティクスを数秒で統合できます。"],"Log in to the WordPress mobile app":["WordPress モバイルアプリにログイン"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["お使いのアカウントのメールアドレスに送信されたリンクをクリックすると、WordPress.com のアプリに簡単にログインできます。"],"Email me a link to log in to the app":["アプリにログインするリンクをメールで受け取る"],"Send your new posts to this email address:":["このメールアドレスに新しい投稿を送信します。"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["メールによる投稿は、サイトを開かずに新しい投稿を公開できる簡単な方法です。コンテンツの送信先の専用のメールアドレスが作成されます。送信したコンテンツは、他の投稿と同じようにサイトに表示されます。"],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["WordPress.com ツールバーは、デフォルトの WordPress 管理ツールバーの代わりに使用できます。WordPress.com ツールバーを使用すると、通知、WordPress.com プロフィール、Jetpack、WordPress.com の他のサイトにワンクリックでアクセスできます。また、Reader でフォローしているサイトの更新を確認できます。"],"Verify site ownership with third party services":["サードパーティーのサービスを使用して、サイトの所有権を確認します。"],"Generate shortened URLs for simpler sharing.":["共有しやすい短縮 URL を生成します。"],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["訪問者の関心を保つために、それぞれの投稿の下に関連するコンテンツを表示します。これらの設定は{{a}}ブロックエディターを使用して追加された関連記事{{/a}}には適用されません。"],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["この機能は、それぞれの投稿の下に関連記事を表示することにより、訪問者がコンテンツを見つけやすくするものです。"],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack はサイトに応じてカスタムの {{link1}}ads.txt{{/link1}} を自動生成します。他のネットワークの追加エントリーが必要な場合は、下のスペースに1行ずつ追加してください。{{link2}}詳細については、こちらを参照してください{{/link2}}。"],"Add sharing buttons to your posts and pages":["投稿とページに共有ボタンを追加"],"Share your content to social media, reaching new audiences and increasing engagement.":["コンテンツをソーシャルメディアで共有することにより、新規訪問者を獲得し、ファンを増やします。"],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["サイトがオフラインになった場合にアラートを受信します。復旧の予定についても通知されます。"],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Jetpack では、新しいリリースごとにお使いのプラグインを自動でアップデートするよう選択できます。最新のセキュリティとバグの修正が適用されるため、サイトの安全性が保たれます。"],"Choose which plugins to auto-update":["自動でアップデートするプラグインを選択"],"Upgrade Jetpack now":["Jetpack を今すぐアップグレード"],"Monetize your site by running high quality ads.":["訴求力の高い広告を表示してサイトを収益化します。"],"Customize your social posting schedule.":["ソーシャルメディアへの投稿のスケジュールをカスタマイズできます。"],"Expand your audience with pro SEO tools.":["プロ向けの SEO ツールにより、訪問者数を増加させます。"],"Take your site to the next level!":["サイトを次のレベルに高めたいですか ?"],"Search support docs":["サポートドキュメントを検索"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["サポートが必要ですか ?基本的な使用方法、サイトのカスタマイズ、高度なコードスニペットの使用など、お問い合わせください。"],"Start sharing":["共有を開始"],"Optimized performance":["パフォーマンスを最適化"],"Enable the “subscribe to comments” option on your comment form":["コメントフォームの「subscribe to comments」オプションを有効化"],"Enable the “subscribe to site” option on your comment form":["コメントフォームの「subscribe to site」オプションを有効化"],"Manage advanced comment settings and grow your audience with email subscriptions.":["高度なコメント設定を管理し、メール購読を利用して訪問者数を増加させます。"],"Comment form introduction":["紹介からのコメント"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack アンチスパムは Akismet から提供されています。コメントとお問い合わせフォームの送信をスパムのグローバルデータベースに照らし合わせてチェックします。"],"Failed to send login email":["ログインメールを送信できませんでした"],"Login email sent":["ログインメールを送信しました"],"Sending login email…":["ログインメールを送信中…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["セキュリティを懸念されていますか ?バックアップ、セキュリティと修正の自動アップデートなどをご利用ください。{{a}}今すぐアップグレード{{/a}}"],"Allow readers to like individual comments.":["読者に個々のコメントへの「いいね !」を許可する。"],"Enable comment likes.":["コメントへの「いいね !」を有効にする。"],"Allow readers to use markdown in comments.":["読者がコメント内で Markdown を使用できるようにする。"],"Show Gravatar hovercards alongside comments.":["コメントと一緒に Gravatar ホバーカードを表示する。"],"Complete Jetpack Setup":["Jetpack のセットアップを完了する"],"Your Jetpack setup progress":["Jetpack セットアップの進行状況"],"View your setup checklist":["設定チェックリストを表示"],"Yearly":["年ごと"],"Monthly":["月ごと"],"About Jetpack":["Jetpack について"],"Enable widget visibility controls to display widgets only on particular posts or pages":["ウィジェット表示のコントロール機能を有効化して、特定の投稿やページだけにウィジェットを表示させる"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["ウィジェットの表示機能により、どのウィジェットをどのページに表示するか決定し、ウィジェットのコンテンツを細かく調整できます。"],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["購読フォームや Twitter ストリームなどの追加ウィジェットがサイトで使用可能に"],"Enhance CSS customization panel":["CSS カスタマイズパネルを強化"],"Writing":["執筆"],"Compose using shortcodes to embed media from popular sites":["ショートコードを使って作成し、人気サイトからメディアを埋め込む"],"Traffic":["トラフィック"],"You need to enter your server credentials to finish configuring Backups and Scan.":["バックアップとスキャンの設定を完了するには、サーバーの認証情報を入力する必要があります。"],"Awaiting credentials":["認証情報を待っています"],"Backups and Scan are being configured for your site.":["サイト用にバックアップとスキャンを設定しています。"],"Provisioning":["プロビジョニング"],"Action needed":["必要な行動"],"Setting up":["設定中..."],"Discussion":["ディスカッション"],"We are configuring your site protection.":["サイト保護を設定しています。"],"View your site's backups":["サイトのバックアップを表示"],"We are backing up your site in real-time.":["WordPress はリアルタイムでサイトをバックアップしています。"],"Enter credentials":["認証情報を入力する"],"You need to enter your server's credentials to finish the setup.":["セットアップを完了するには、サーバーの認証情報を入力する必要があります。"],"We are configuring your site's backups.":["サイトのバックアップを設定しています。"],"View site activity":["サイトアクティビティを表示"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack は、サイトで発生したことをすべて完全に記録し、勘に頼ることなくサイト管理、デバッグ、修理を実行します。"],"Explore our Jetpack plans":[""],"Support documentation":["サポートドキュメンテーション"],"Chat bubbles representing getting in touch with support":["サポートとの連絡を表すチャットのふきだし"],"Site activity":["サイトアクティビティ"],"Reach a wider audience by automatically sharing your posts on social media.":["ソーシャルメディアで投稿を自動的に共有することで、より幅広いユーザーを獲得します。"],"Increase traffic to your site":["サイトのトラフィックを増やす"],"Explore free themes":["無料テーマを見る"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["何百ものプロフェッショナルなテーマに無制限にアクセスして、好きなようにサイトをカスタマイズしましょう。"],"A wide variety of themes and tools to customize a site":["サイトをカスタマイズするためのさまざまなテーマとツール"],"Set up your site security":["サイトのセキュリティを設定"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["ログイン攻撃を防ぎ、サイトで問題が発生するとすぐに通知を受け取ります。"],"Site stats showing an evolution in traffic and engagement":["トラフィックとエンゲージメントの進化を示すサイト統計情報"],"A hand holding a loupe":["ルーペを持っている手"],"A chart showing an healthy increase in earnings":["収益が順調に増加していることを示すグラフ"],"Interface showing a chronological list of changes and updates in a site":["サイトの変更と更新を時系列のリストで示すインターフェース"],"A cloud with multiple types of content floating around it":["周囲に複数の種類のコンテンツが浮かんでいるクラウド"],"A folder holding real comments":["実際のコメントが入っているフォルダー"],"Make your site faster":["サイトをさらに高速にする"],"Load pages faster by serving your images from our global network of servers.":["WordPress.com のグローバルサーバーネットワークから画像を配信することで、ページの読み込みを高速にします。"],"A fast and performant website":["高速で高性能なサイト"],"A secure site, locked and protected by Jetpack":["Jetpack でロックおよび保護された安全なサイト"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["既存の投稿、ページ、推薦文、ポートフォリオを複製します。テキスト、アイキャッチ画像、共有設定など、すべてのコンテンツがコピーされます。"],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["このサイトは{{a}}利用規約{{/a}}に違反しているため、WordPress.com にリンクできません。"],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["サイトをソーシャルメディアネットワークに接続すると、クリックひとつですべてのソーシャルアカウントにコンテンツをシェアできます。投稿すると、すべての接続済みアカウントに表示されます。"],"Add Like buttons to your posts and pages":["投稿とページに「いいね」ボタンを追加"],"When visitors enjoy your content, let them show it with a Like.":["「いいね」ボタン付きでコンテンツを訪問者に表示しましょう。"],"Create account":["アカウントを作成"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack はサイトの強化に役立つ優れものですが、そのすべての機能にアクセスするには、アカウントの作成が必要です。"],"Compose content the way you want to and streamline your publishing experience.":["思いどおりにコンテンツをカスタマイズし、サイト公開までの手順を合理化できます。"],"Add a portfolio item":["ポートフォリオ項目の追加"],"Add a testimonial":["推薦文を追加"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["検索エンジンにおけるサイトの上位表示を最大化し、リアルタイムのトラフィック統計を表示できます。"],"Create a Jetpack account to use this feature":["Jetpackアカウントを作成して機能を利用する"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack はサイトを継続的にモニタリングし、ダウンタイムが検出されたら即座にアラートを送信します。"],"Error enabling Site accelerator. %(error)s":["サイトアクセラレータの有効化中にエラーが発生しました。%(error)s"],"Site accelerator is now speeding up your site!":["サイトアクセラレータでサイトが高速化されています。"],"Enabling Site accelerator…":["サイトアクセラレータを有効化しています…"],"Error disabling site accelerator. %(error)s":["サイトアクセラレータの無効化中にエラーが発生しました。%(error)s"],"Site accelerator is no longer speeding up your site!":["サイトアクセラレータによるサイトの高速化が無効となっています。"],"Disabling site accelerator…":["サイトアクセラレータを無効化しています…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["より迅速にページをロードし、画像を最適化することで、閲覧者がスムーズにサイトを利用できるようにします。"],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Google による読者とトラフィックパターンの詳細な観察により、WordPress.com の統計機能が補完されます。"],"High-speed, high-definition video hosting with no third-party ads.":["第三者の広告なしの、高速、高精細度動画。"],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["無制限のツイート、Facebook 投稿、その他のソーシャル投稿を事前に予約します。"],"Marketing Automation":["マーケティングの自動化"],"Activate Jetpack Search":["Jetpack 検索の有効化"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["デフォルトの WordPress 検索に代わって Elasticsearch によるこの検索機能を使用すると、結果とフィルター機能が向上します。"],"Start earning":["収益の獲得を開始"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds を利用すると、プロモーションコンテンツを表示して収益を得ることができます。収益の獲得を今すぐ開始してください。"],"Spam is automatically blocked from your comments.":["コメントへのスパムを自動的にブロックします。"],"Browse premium themes":["プレミアムテーマの参照"],"Access hundreds of beautifully designed premium themes at no extra cost.":["美しいデザインのプレミアムテーマが何百も備わっており、追加料金なしで利用できます。"],"Try a premium theme":["プレミアムテーマをお試しください"],"View settings":["設定の表示"],"Create a Jetpack account to view your email followers":["Jetpack アカウントを作成してメールフォロワーを表示"],"Manage security settings":["セキュリティ設定の管理"],"Jetpack is ready for the new WordPress editor":["新しい WordPress エディターで Jetpack が利用できるようになりました"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["本日は、Jatpack 固有のブロックの第一弾をご紹介します。これはシンプルな支払いボタン、フォーム、マップ、値引きといった、新しいエディターエクスペリエンス専用に構築されています。"],"Build your Jetpack site with blocks":["ブロックを使用して Jetpack サイトを構築"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["新しいエディターとは何でしょうか?はい。{{a}}さらに詳しく{{/a}}。"],"The features you rely on, adapted for the new WordPress editor.":["新しい WordPress エディターに適応した、頼りになる機能です。"],"Take me to the new editor":["新しいエディターにご案内"],"Testing Jetpack Connection":["Jetpack 連携をテスト中"],"There was an error testing Jetpack. Error: %(error)s":["Jetpack のテストに失敗しました。エラー: %(error)s"],"New in Jetpack!":["Jetpack の新機能 !"],"Speed up static file load times":["静的ファイルの読み込みをスピードアップ"],"Speed up image load times":["画像の読み込みをスピードアップ"],"Enable site accelerator":["サイトアクセラレーターを有効化"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Jetpack で画像を最適化し、WordPress.com のサーバーによるグローバルネットワークから画像と静的ファイル (CSS や JavaScript など) を配信するようにすることで、ページの読み込みを高速化できます。"],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":["サイトのアクティビティを表示"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["サイトの変更と更新を新しいものから順にわかりやすくリストします。"],"Manually Verify ":["手動で検証"],"Verify with Google":["Google で検証"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["サイトが{{a1}}ハッキング{{/a1}}されているという通知や、サイトの{{a2}}クローリングやインデックス{{/a2}}に関する問題など、サイトで発生した特定の問題に関して Google からメールが送られます。"],"or":["または"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["{{a}}Google Search Console{{/a}} からサイトのトラフィックおよびパフォーマンスをモニターします。"],"Your site is verified with Google":["サイトは Google によって検証されました"],"Site failed to verify: %(error)s":["サイトの検証に失敗しました:%(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Jetpack プロ版をご利用いただくと、より高速で高度な検索をサイトで実現できます。"],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["WordPress のビルトイン検索機能を、高度な検索エクスペリエンスである Jetpack 検索に置き換える"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack 検索はビルトイン検索に代わるもので、WordPress.com クラウドによってホストされる、高速かつスケーラブルで、カスタマイズ可能であり、より関連性の高い検索を実現します。結果:ユーザーが必要なコンテンツを短時間で見つけられます。"],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["ビルトイン WordPress 検索は、コンテンツがそれほど多くはないサイトに向いています。しかし、サイトの規模が大きくなるにつれて、検索速度が低下し、結果の関連性も低下します。"],"Jetpack Search supports many customizations.":["Jetpack 検索は多くのカスタマイズをサポートしています。"],"Site is verified":["サイトが検証されました"],"Spam filtering and priority support.":["スパムフィルターと優先サポート。"],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["広告を有効にすると、Jetpack はご利用のサイト用に作成されたカスタムの ads.txt を自動生成します。"],"Custom ads.txt entries":["カスタム ads.txt エントリー"],"Privacy information":["プライバシーに関する情報"],"Enable Lazy Loading for images":["画像の遅延読み込みを有効にする"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["画像の遅延読み込みによって、サイトの速度が向上し、よりスムーズな閲覧エクスペリエンスが実現します。画像は、まとめてではなく、訪問者が画面をスクロールダウンすると読み込まれます。"],"Performance & speed":["パフォーマンスおよびスピード"],"Enable high-speed, ad-free video player":["広告非表示の高速動画プレーヤーを有効にする"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["公開するコンテンツを高解像度の動画でより魅力的にします。Jetpack 動画を使用すると、メディアプレーヤーをカスタマイズし、広告非表示の、高速でブランド名の付けられていない動画を訪問者に配信できます。動画は WordPress.com サーバーでホストされるため、ホスティングプランからスペースが消費されることはありません。"],"Video":["動画"],"Carousel color scheme":["カルーセルの配色"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif データは、写真の焦点距離、絞り、ISO などの他の技術的な情報を閲覧者に表示します。"],"Show photo Exif metadata in carousel (when available)":["写真の Exif メタデータが存在する場合カルーセルに表示する"],"Display images in a full-screen carousel gallery":["画像を全画面のカルーセルギャラリーで表示する"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["投稿やページにある画像の全画面カルーセルスライドショーを作成します。カルーセルギャラリーはモバイルに対応しており、サイト訪問者が写真を操作するよう促します。"],"Portfolios shortcode: [portfolio]":["ポートフォリオショートコード: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["サイトの{{portfolioLink}}ポートフォリオ{{/portfolioLink}}を使用して、最高傑作を表示します。テーマが Jetpack ポートフォリオをサポートしていない場合は、引き続きシンプルなショートコードを使用してサイトに表示することができます。"],"Testimonials shortcode: [testimonials]":["推薦文のショートコード: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["サイトに{{testimonialLink}}推薦文{{/testimonialLink}}を追加して、新規顧客を引き付けます。テーマが Jetpack 推薦文をサポートしていない場合は、引き続きシンプルなショートコードを使用してサイトに表示することができます。"],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["検索エンジンでは現在サイトにアクセスできません。サイトにアクセスできるようにするには、{{a}}表示設定{{/a}}を確認して、「検索エンジンでの表示」を有効にします。"],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["嬉しいお知らせ:Jetpack は、インデックス用にすべての主要な検索エンジンに対して自動的にサイトマップを送信しています。"],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["サイトマップは、Google または Bing などの検索エンジンがサイトをインデックスするのに使用するファイルです。検索結果のランキングを上げるのに役立ちます。この機能を有効にすると、Jetpack はサイトマップを作成し、サイトのコンテンツが変更されると自動的に更新します。"],"Configure related posts in the Customizer":["カスタマイザーにある関連記事を設定する"],"Highlight related content with a heading":["見出し付きの関連記事をハイライト表示する"],"View security scan details":["セキュリティスキャンの詳細を表示"],"Test your site’s compatibility with Jetpack.":["サイトが Jetpack に対応しているか確認します。"],"Show a thumbnail image where available":["使用可能な場合はサムネイル画像を表示します"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["特定の Jetpack 機能によるデータの使用方法とアクティビティの追跡方法の詳細については、{{privacyCenterLink}}プライバシーセンター{{/privacyCenterLink}}を参照してください。"],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["サードパーティのものを含め、他の追跡ツールを使用します。それらについての{{cookiePolicyLink}}詳細{{/cookiePolicyLink}}と設定方法についてお読みください。"],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["この情報は、製品を改善し、マーケティングをより関連性の高いものとし、WordPress.com の利用をパーソナライズするのに役立ちます。さらに詳しくは、{{pp}}個人情報保護方針{{/pp}}をご覧ください。"],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["WordPress.com アカウントへのログイン中のサービス利用の情報を分析ツールと共有してください。{{cookiePolicyLink}}さらに詳しく{{/cookiePolicyLink}}。"],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["この機能はサイト管理者によって管理されています。{{link}}さらに詳しく{{/link}}。"],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["この機能はサイト管理者によって無効化されています。{{link}}さらに詳しく{{/link}}。"],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["この機能はサイト管理者によって有効化されています。{{link}}さらに詳しく{{/link}}。"],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s はサイト管理者によって無効化されています。{{link}}さらに詳しく{{/link}}。"],"This feature has been disabled by a site administrator.":["この機能はサイト管理者によって無効化されています。"],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s はサイト管理者によって無効化されています。"],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["広告ウィジェットを使用して、さらに広告を追加できます。{{link}}お試しください !{{/link}}"],"Configure your notification settings":["通知の設定を構成"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["WordPress に組み込まれた検索機能の代わりに、強力な Jetpack 検索を使用できます。"],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["サイトのファイルが定期的にスキャンされて、セキュリティやデータを侵害する可能性がある不正な変更や疑わしい変更の有無が調べられます。"],"Plugin needs updating.":["プラグインの更新が必要です。"],"%(number)s":["%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack のプラグイン更新を使用して、自動的に更新するプラグインを選択できます。"],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack が画像を最適化し、訪問者に最も近いところにあるから画像を提供します。WordPress.com のグローバルコンテンツ配信ネットワークを使用すると、サイトの読み込み速度が向上します。"],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack のダウンタイムモニターはサイトを継続的に監視し、ダウンした場合すぐにアラートを送ります。"],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack のバックアップを使用すると、特定の時点のバックアップを簡単に復元またはダウンロードできます。"],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["モバイル端末の訪問者に表示される、軽量なモバイル対応テーマを有効にします。"],"Loads the next posts automatically when the reader approaches the bottom of the page.":["ページの末尾に近づいたら、次の投稿を自動的に読み込みます。"],"Allows you to publish new posts by sending an email to a special address.":["特殊なアドレスにメールを送信することにより、新しい投稿を公開できるようにします。"],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["自分のサイト、通知、WordPress.com プロフィール、Reader へのリンクを組み込んだツールバーを追加します。"],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["WordPress サイトと様々なサービスを検証するために必要な隠しタグを提供します。"],"Displays information on your site activity, including visitors and popular posts or pages.":["訪問者や、人気の投稿とページなど、サイトアクティビティの情報を表示します。"],"Allows you to optimize your site and its content for better results in search engines.":["サイトとコンテンツが検索エンジンで最善の結果を得られるようにするため最適化できるようにします。"],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["WordPress サイトを、トラフィック、訪問者、変換に対する統計概要を提供するプラットフォームである Google Analytics と統合します。"],"Displays high-quality ads on your site that allow you to earn income.":["サイトに高品質の広告を表示し、収益を得られるようにします。"],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["最新のコンテンツを Facebook や Twitter などのソーシャルメディアサイトで自動共有できるようにします。"],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["コンテンツに「いいね」ボタンを追加し、訪問者が評価を表示できるようにします。"],"Allows registered users to log in to your site with their WordPress.com accounts.":["登録ユーザーが WordPress.com アカウントを使ってサイトにログインできるようにします。"],"Protects your site from traditional and distributed brute force login attacks.":["総当たりログイン攻撃 (典型的、分散型の両方) からサイトを保護します。"],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["サイトをグローバル WordPress.com サーバーにバックアップし、緊急時やエラー発生時にコンテンツを復元できるようにします。"],"Removes spam from comments and contact forms.":["コメントやお問合せフォームからスパムを削除します。"],"We are committed to your privacy and security. ":["あなたのプライバシーとセキュリティの保護をお約束します。"],"View all Jetpack plans":["Jetpack プランをすべて表示"],"Manage your plan":["プランの管理"],"Your Plan":["自分のプラン"],"You’re currently on Jetpack %(plan)s.":["現在 Jetpack %(plan)s をご利用になっています。"],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["読者が投稿やコメントを購読し、新しいコンテンツの通知メールを受け取れるようにします。"],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["標準 WordPress コメントフォームを、ソーシャルメディアログインオプションを組み込んだ新しいコメントシステムに切り替えます。"],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["Jetpack 検索を{{a}}有効化{{/a}}することで、WordPress の組み込み検索機能を高度な検索エクスペリエンスで置き換えられます。"],"Add Search (Jetpack) Widget":["検索 (Jetpack) ウィジェットを追加"],"Jetpack Search is powering search on your site.":["Jetpack 検索はサイトの検索を強化します。"],"Manage your plugins":["プラグインの管理"],"Moderate comments":["コメントを承認"],"Error updating privacy settings. %(error)s":["プライバシー設定の更新中にエラーが発生しました。%(error)s"],"Updated privacy settings.":["プライバシー設定を更新しました。"],"Updating privacy settings…":["プライバシー設定の更新中..."],"Add Jetpack Search Widget":["Jetpack 検索ウィジェットを追加"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Jetpack 検索ウィジェットをサイドバーに追加して、並べ替えとフィルターを設定します。"],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["フルセキュリティスイート、マーケティングと収益の自動化ツール、無制限動画ホスティング、テーマ無制限利用、高度な検索、優先サポート。"],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["フルセキュリティスイート、マーケティングと収益の自動化ツール、無制限動画ホスティング、優先サポート。"],"Daily backups, spam filtering, and priority support.":["日次バックアップ、スパムフィルター、優先サポート。"],"Always-on security":[""],"Activate video hosting":["動画ホスティングを有効化"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["サイトのすべてのデータの容量無制限でのリアルタイムバックアップ、ワンクリック復元、自動的なセキュリティスキャン、優先サポート。"],"Design the perfect website":["パーフェクトなサイトをデザイン"],"Set up Jetpack":["Jetpack を設定"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["サイトのすべてのデータの容量無制限でのリアルタイムバックアップ、ワンクリック復元、自動的なセキュリティスキャン。"],"Jetpack Search":["Jetpack 検索"],"Jetpack version %(version)s":["Jetpack バージョン %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["サイトのバックアップがリアルタイムで実行され、セキュリティの脅威がないかどうかを確認するサイトのスキャンが定期的に実行されます。"],"Daily backup of all your site data with unlimited space and one-click restores":["容量無制限でサイトのすべてのデータを毎日バックアップでき、ワンクリックで復元できます。"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["容量無制限でサイトのすべてのデータをリアルタイムにバックアップでき、ワンクリックで復元できます。また、自動セキュリティスキャンやワンクリックの脅威解決も含まれます。"],"View your security activity":["セキュリティアクティビティを表示"]," (powered by VaultPress).":["(Powered by VaultPress)。"],"Customize Search Widget":["検索ウィジェットのカスタマイズ"],"Please correct the issue below and try again.":["下記の問題を解決してから、もう一度お試しください。"],"We are making sure your site stays free of security threats. You will be notified if we find one.":["このサイトにセキュリティ面での脅威がないよう監視しています。問題を検出した場合は通知します。"],"Jetpack version":["Jetpack バージョン"],"Activity":["アクティビティ"],"{{a}}View details{{/a}}":["{{a}}詳細を表示{{/a}}"],"Monetize your site with ads":["広告でサイトを収益化する"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["下のボタンをクリックすると、{{tosLink}}利用規約{{/tosLink}}および WordPress.com と{{shareDetailsLink}}詳細情報を共有する{{/shareDetailsLink}}ことに同意したものとみなされます。"],"Jetpack Stats People":["人に関する Jetpack の統計情報"],"Hello there! Your stats have been activated.":["こんにちは !お客様のサイトが有効化されました。"],"Just give us a little time to collect data so we can display it for you here.":["ここに表示するデータを収集するまでの間、少々お待ちください。"],"Okay, got it!":["完了しました !"],"Display ads below posts on":["投稿の下に広告を表示"],"Additional ad placements":["追加広告の表示場所"],"Top of each page":["各ページの上部に表示"],"Second ad below post":["2番目の広告を投稿の下に表示"],"Archives":["アーカイブ"],"Stars":["星"],"Jupiter":["木星"],"Schedule posts":["投稿を予約"],"Activate Publicize":["パブリサイズを有効にする"],"Your site is backed up.":["サイトはバックアップ済みです。"],"Get WordPress Apps for every device":["すべての端末に WordPress アプリを"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["ひとつのダッシュボードからすべてのサイトを管理できます。コンテンツの公開、統計情報の追跡、コメントの承認など、さまざまな操作を世界中のどこからでも実行できます。"],"Create address":["アドレスを作成"],"Automatically share your posts to social networks":["投稿をソーシャルネットワークに自動共有"],"Updating settings…":["設定を更新中..."],"Updating Post by Email address…":["メール投稿のアドレスを更新中..."],"Your paid plan gives you access to prioritized Jetpack support.":["現在ご利用の有料プランでは、Jetpack 優先サポートにアクセスできます。"],"You have paid for backups but they're not yet active.":["バックアップに対するお支払いが完了していますが、まだ有効化されていません。"],"You have paid for backups and security scanning but they’re not yet active.":["バックアップとセキュリティスキャンに対するお支払いが完了していますが、まだ有効化されていません。"],"Click \"Set Up\" to finish installation.":["「セットアップ」をクリックしてインストールを完了してください。"],"Checking site status…":["サイトのステータスを確認中…"],"Pages":["固定ページ"],"Access the full list of Jetpack modules available on your site.":["お使いのサイトで使用可能な Jetpack モジュールの全一覧にアクセスします。"],"We're here to help":["サポートスタッフがお答えします"],"Jetpack comes with free, basic support for all users.":["Jetpack にはすべてのユーザーが利用できる無料の基本サポートが付いています。"],"Ask a question":["質問する"],"Search our support site":["サポートサイトを検索"],"Get a faster resolution to your support questions.":["問題に対して優先サポートを受ける。"],"Host fast, high-quality, ad-free video.":["広告非表示の高速高品質動画をホスト。"],"Generate income with high-quality ads.":["高品質な広告で収益を得ましょう。"],"Real-time site backups and automatic threat resolution.":["リアルタイムのサイトバックアップと、セキュリティの脅威に対する自動解決。"],"Protect against data loss, malware, and malicious attacks.":["データロス、マルウェア、悪意のある攻撃から保護。"],"Protect your site from spam.":["サイトをスパムから保護。"],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["このサイトは WordPress.com に接続していません。サイト管理者に接続を依頼してください。"],"An Automattic Airline":["Automattic Airline"],"Manage site connection":["サイト接続の管理"],"Connect your account to WordPress.com to view more stats":["アカウントを WordPress.com に接続してさらに統計情報を表示"],"Theme enhancements":["テーマの拡張"],"Load more posts using the default theme behavior":["デフォルトのテーマ動作を使用して投稿をさらに読み込む"],"Load more posts in page with a button":["ボタンを使ってページの投稿をさらに読み込む"],"Load more posts as the reader scrolls down":["読者のスクロールに合わせて投稿をさらに読み込む"],"Theme support required.":["テーマのサポートが必要です。"],"Learn more about adding support for Infinite Scroll to your theme.":["テーマに Infinite Scroll のサポートを追加することについて詳しく読む。"],"Show excerpts instead of full posts on front page and archive pages":["ホームページとアーカイブページに投稿の全文ではなく抜粋を表示します"],"Show featured images":["アイキャッチ画像を表示"],"Enable the WordPress.com toolbar":["WordPress.com ツールバーを有効化"],"Writing tools available to you will be shown here when an administrator enables them.":["管理者が有効化すると、使用できる作成ツールがここに表示されます。"],"Portfolios":["ポートフォリオ"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["検索エンジンでサイトがインデックスされるようにするには、{{b}}各サービスでサイトを認証する必要はありません{{/b}}。高度な検索エンジンツールを使用し、サービスでサイトを認証するには、下に HTML タグコードを貼り付けてください。問題がある場合は、{{support}}詳細な手順{{/support}}をお読みください。対応認証サービス:{{google}}Google Search Console{{/google}}、{{bing}}Bing Webmaster Center{{/bing}}、{{pinterest}}Pinterest Site Verification{{/pinterest}}、{{yandex}}Yandex.Webmaster{{/yandex}}。"],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["XML サイトマップを生成"],"The image helps collect stats, but should work when hidden.":["画像は統計収集に役立ちますが、非表示時でも機能するはずです。"],"Count logged in page views from":["次の場所からログインして閲覧したページビューの数"],"Allow stats reports to be viewed by":["統計レポートの閲覧を許可するユーザー"],"In \"Upgrade\"":["「アップグレード」内"],"Configure your Google Analytics settings":["Google アナリティクスの設定を構成します"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["広告をホームページの最初の記事または各ページや投稿の最後に表示します。収益をアップさせるには、さらに広告をサイトの先頭とウィジェット領域にも配置します。"],"Enable ads and display an ad below each post":["広告を有効にし、各投稿の下に広告を表示する"],"Configure your sharing buttons":["共有ボタンを設定する"],"Connect your social media accounts":["ソーシャルメディアアカウントを接続する"],"Match accounts using email addresses":["メールアドレスと一致するアカウントを検索する"],"Require accounts to use WordPress.com Two-Step Authentication":["アカウントに WordPress.com 二段階認証を必須とする"],"Add to whitelist":["ホワイトリストに追加"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["ホワイトリストに IP アドレスを登録することで、それらが Jetpack にブロックされないようにできます。IPv4 と IPv6 を使用できます。範囲を指定するには、ダッシュで区切られた下限値と上限値を入力してください。例: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["サイトはバックアップされ、脅威はありません。"],"Checking your spam protection…":["スパム保護を確認しています…"],"Fetching key…":["キーを取得しています…"],"Your site needs an Antispam key.":["サイトにはスパム対策キーが必要です。"],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["お使いのスパム対策 API キーに問題があります。{{a}}さらに詳しく{{/a}}。"],"Your site is not protected from spam.":["サイトはスパムから保護されていません。"],"Your Antispam key is valid.":["お使いのスパム対策キーは有効です。"],"Your site is protected from spam.":["サイトはスパムから保護されています。"],"Checking key…":["キーを確認しています…"],"Your API key":["お使いの API キー"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["まだ API キーをお持ちでない場合は、{{a}}ここで API キーを入手{{/a}}してください。画面の指示に従ってキーを入手してください。"],"No search results found for %(term)s":["%(term)s の検索結果は0件でした"],"Enter a search term to find settings or close search.":["検索語を入力して設定を検索するか、検索を終了してください。"],"Connections":["接続"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["サイトは開発モードになっているため、WordPress.com に接続できません。"],"Your site is connected to WordPress.com.":["サイトは WordPress.com に接続しています。"],"You are the Jetpack owner.":["Jetpack の所有者です。"],"Connected as {{span}}%(username)s{{/span}}":["{{span}}%(username)s{{/span}} として接続"],"View your Email Followers":["メールフォロワーを表示"],"Color scheme":["配色"],"Enable Markdown use for comments.":["コメントの Markdown 記法を有効化する。"],"Updated settings.":["設定が更新されました。"],"Error updating settings. %(error)s":["設定の更新中にエラーが発生しました (%(error)s)。"],"Regenerated Post by Email address.":["メール投稿アドレスが再生成されました。"],"Error regenerating Post by Email address. %(error)s":["メール投稿アドレスの再生成中にエラーが発生しました。%(error)s"],"Updated settings. Refreshing page…":["設定が更新されました。ページを再読み込み中…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["現在、以下の理由により{{a}}開発モード{{/a}}になっています (一部の機能は無効): {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}jetpack_development_mode フィルターが有効{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}JETPACK_DEV_DEBUG 定数が定義済み{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}サイト URL にドットが含まれない (例: http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google アナリティクスは、{{a}}ビルトインの統計情報機能{{/a}}を補完する無料のサービスです。WordPress.com 統計情報と Google アナリティクスでは、異なる方法を使ってサイトのアクティビティを特定し、追跡しています。そのため、訪問数や表示数などの合計が少しずつ異なって表示されるのが普通です。"],"Google Analytics":["Google アナリティクス"],"Configure Google Analytics":["Google アナリティクスを設定"],"Activate Google Analytics":["Google アナリティクスを有効化"],"Download the free apps":["無料アプリをダウンロード"],"Upgrade Focus: VideoPress For Weddings":["アップグレードフォーカス: ウェディング向け VideoPress"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}カスタマイザーでも関連記事の設定ができるようになりました。{{ExternalLink}}お試しください。{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["デフォルトでは、広告はすべての投稿・固定ページの最後、またはフロントページの最初の記事に表示されます。収益を高めるため、サイトの上部やお好みのウィジェットエリアに広告を追加することもできます。"],"Display an ad unit at the top of your site.":["サイトの上部に広告ユニットを表示。"],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["広告を有効化すると、Automattic の{{link}}利用規約{{/link}}に同意したものとみなされます。"],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["サーバーの構成に誤りがあるため、Jetpack プロテクトがサイトを効果的に保護できません。"],"In \"Mobile\"":["「モバイル」で"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}WordPress.com 上でモニター通知を設定{{/link}}"],"View your earnings":["収益を表示"],"Configure site SEO":["サイトの SEO を設定"],"Activate SEO tools":["SEO ツールを有効化"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["開始するにあたり、投稿エディターで「メディアを追加」をクリックして動画をアップロードしてください。あとは WordPress.com にお任せください。"],"Video Hosting":["動画ホスティング"],"SEO Tools":["SEO ツール"],"Advanced SEO tools to help your site get found when people search for relevant content.":["高度な SEO ツールがあれば、関連するコンテンツを探している読者にサイトを見つけてもらいやすくなります。"],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["広告やブランディングのない動画をサイトにアップロードする最も簡単な方法です。動画の再生と共有に関する統計情報を取得でき、プレーヤーは軽量・レスポンシブ対応です。"],"You are running Jetpack on a staging server.":["ステージングサーバーで Jetpack を実行中です。"],"More Info":["詳しい情報"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}「共有」モジュール設定で「いいね」の表示状態を管理{{/a}}"],"Your current IP: %(ip)s":["現在の IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["タブを離れると失われてしまう未保存の変更があります。続行しますか ?"],"This will reset all Jetpack options, are you sure?":["Jetpack のすべての設定がリセットされます。本当に実行しますか ?"],"Search for a Jetpack feature.":["Jetpack の機能を検索しましょう。"],"Configure your Security Scans":["セキュリティスキャンを設定"],"Subscriber":["購読者"],"Big iPhone/iPad Update Now Available":["iPhone/iPad の大幅なアップデートが利用できるようになりました"],"The WordPress for Android App Gets a Big Facelift":["WordPress for Android アプリが大幅リニューアル"],"WordPress.com Likes are:":["WordPress.com「いいね」ボタン:"],"A few catchy words to motivate your visitors to comment.":["訪問者にコメントを促すメッセージです。"],"Hide the stats smiley face image":["統計のスマイル画像を非表示"],"Whitelisted IP addresses":["ホワイトリストに登録された IP アドレス"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["WordPress モバイルアプリの広告をモバイルテーマのフッターに表示"],"Copied!":["コピーしました。"],"Highlight and copy the following text to your clipboard:":["以下のテキストをハイライトして、クリップボードにコピーします:"],"Regenerate address":["アドレスを再生成"],"Cheatin' uh?":["間違った操作を行われたようです。"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}この{{a}}2問のアンケート{{/a}}で Jetpack 連携を完了しなかった理由を教えていただけますか ?{{/p}}{{p}}無料のセキュリティおよびトラフィック機能をご利用いただくには、Jetpack 連携が必要です。{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["{{s}}Jetpack %(jetpack_version)s{{/s}} へようこそ !"],"Your Jetpack is already connected.":["Jetpack はすでに正常に連携されています。"],"You're fueled up and ready to go, Jetpack is now active.":["準備ができました ! Jetpack は有効になっています。"],"You're fueled up and ready to go.":["準備ができました !"],"You are currently running a development version of Jetpack.":["現在、Jetpack の開発バージョンを実行しています。"],"Submit Beta feedback":["ベータ版へのフィードバックを送信"],"What would you like to see on your Jetpack Dashboard?":["Jetpack ダッシュボードに何が表示されるとよいでしょうか ?"],"Let us know!":["ご意見をお聞かせください !"],"Saving…":["保存中..."],"Save Settings":["設定を保存"],"Jetpack Stats Icon":["Jetpack 統計アイコン"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}サイトの統計情報を有効化{{/a}}して、詳しい統計情報、「いいね」、フォロワー、購読者などの情報を確認しましょう。{{a1}}さらに詳しく{{/a1}}"],"Activate Site Stats":["サイトの統計情報を有効化"],"Site Backups":["サイトのバックアップ"],"Upgrade":["アップグレード"],"ACTIVE":["有効"],"View your spam stats":["スパム統計情報を表示"],"View your security dashboard":["セキュリティダッシュボードを表示する"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["サイトは開発モードになっているため、WordPress.com と連携できません。"],"Link your account to WordPress.com to get the most out of Jetpack.":["Jetpack を最大限ご活用いただくため、アカウントを WordPress.com とリンクさせましょう。"],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["セキュリティ脅威の包括的な自動スキャンをご利用いただくには、VaultPress を{{a}}インストールおよび有効化{{/a}}してください。"],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack は悪意のあるログイン試行をブロックしています。間もなくこちらに日付が表示されます !"],"Total malicious attacks blocked on your site.":["サイトでブロックされた悪意のある攻撃の合計数。"],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}プロテクト機能を有効化{{/a}}して、悪意のあるログイン試行からサイトを常に保護しましょう。"],"All plugins are up-to-date. Awesome work!":["すべてのプラグインは最新です。素晴らしいです !"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack がサイトを監視中です。サイトがダウンしていると判断した場合には、メールをお送りします。"],"Security":["セキュリティ"],"Performance":["パフォーマンス"],"Backup":["バックアップ"],"{{a}}View backup details{{/a}}.":["{{a}}バックアップの詳細を表示{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["サイト全体を自動でバックアップするには、VaultPress を{{a}}インストールおよび有効化{{/a}}してください。"],"Unavailable in Dev Mode.":["開発モードではご利用いただけません。"],"Unavailable in Dev Mode":["開発モードではご利用いただけません"],"Activating %(slug)s…":["%(slug)s を有効化中…"],"%(slug)s has been activated.":["%(slug)s が有効化されました。"],"%(slug)s failed to activate. %(error)s":["%(slug)s の有効化に失敗しました。%(error)s"],"Deactivating %(slug)s…":["%(slug)s を無効化中…"],"%(slug)s has been deactivated.":["%(slug)s が無効化されました。"],"%(slug)s failed to deactivate. %(error)s":["%(slug)s の無効化に失敗しました。%(error)s"],"Updating %(slug)s settings…":["%(slug)s の設定を更新中…"],"Updated %(slug)s settings.":["%(slug)s の設定を更新しました。"],"Error updating %(slug)s settings. %(error)s":["%(slug)s の設定の更新中にエラーが発生しました。%(error)s"],"Updating %(slug)s address…":["%(slug)s のアドレスを更新中…"],"Regenerated %(slug)s address .":["%(slug)s のアドレスが再生成されました。"],"Error regenerating %(slug)s address. %(error)s":["%(slug)s のアドレスの再生成中にエラーが発生しました。%(error)s"],"Resetting Jetpack options…":["Jetpack オプションをリセット中…"],"Options reset.":["オプションのリセットが完了しました。"],"Options failed to reset.":["オプションのリセットに失敗しました。"],"There was an error disconnecting Jetpack. Error: %(error)s":["Jetpack との連携を解除中にエラーが発生しました。エラー: %(error)s"],"Unlinking from WordPress.com":["WordPress.com とのリンクを解除中"],"Unlinked from WordPress.com.":["WordPress.com とのリンクが解除されました。"],"Error unlinking from WordPress.com. %(error)s":["WordPress.com とのリンクを解除中にエラーが発生しました。%(error)s"],"At A Glance":["概要"],"Dashboard":["ダッシュボード"],"Automattic's Privacy Policy":["Automattic 社のプライバシーポリシー"],"WordPress.com Terms of Service":["WordPress.com 利用規約"],"{{a}}Turn on plugin autoupdates.{{/a}}":[""],"Plugin Updates":["プラグイン更新"],"No threats found, you're good to go!":["脅威は見つかりませんでした。問題ありません。"],"{{a}}Contact Support{{/a}}":["{{a}}サポート{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}VaultPress.com で詳細を確認する{{/a}}"],"Uh oh, %(number)s threat found.":["%(number)s個の脅威が見つかりました。"],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}モニターを有効化{{/a}}すると、サイトがダウンした場合にメールを受け取れます。"],"Loading…":["読み込み中…"],"Downtime monitor":["ダウンタイム監視"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}WordPress.com で詳しい統計情報を表示{{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}詳しい統計情報を表示{{/button}}"],"All-time comments":["全期間中のコメント数"],"All-time views":["全期間中の閲覧数"],"%(number)s View":["%(number)s回"],"Best overall day":["最高"],"Views today":["今日の閲覧数"],"Months":["月"],"Weeks":["週"],"Days":["日"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["統計情報のロード中に異常が発生しました。あとで再試行するか、{{a}}WordPress.com ですぐに統計情報を表示します{{/a}}"],"Click to view detailed stats.":["クリックして詳細な統計情報を表示"],"Views: %(numberOfViews)s":["閲覧数: %(numberOfViews)s"],"Week of %(date)s":["%(date)sの週"],"Site Security":["サイトセキュリティ"],"Link to WordPress.com":["WordPress.com へのリンク"],"Unlink me from WordPress.com":["WordPress.com へのリンク解除"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Jetpack との連携時に問題が発生しました。「WordPress.com と連携」をもう一度クリックしてください。"],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Jetpack との連携時に問題が発生しました。Jetpack を無効にしてから再び有効にした後、再度連携してください。"],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Jetpack 認証では WordPress ブログにログインしたままであることが必要です。"],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Jetpack にエラーが発生しています。{{/s}}ご不便をおかけして申し訳ございません。しばらく経ってからもう一度お試しください。エラーが続く場合は、次のメッセージを含めてサポートにご連絡ください。%(error_key)s"],"Disconnecting Jetpack":["Jetpack 連携を解除中"],"Learn more":["さらに詳しく"],"Posts":["投稿"],"Front page":["フロントページ"],"Upload videos":["動画をアップロード"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["投稿の後に関連コンテンツを表示"],"Related":["関連"],"Disconnect":["連携を解除"],"Save":["保存"],"Media":["メディア"],"Mobile Theme":["モバイル用テーマ"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX は、複雑な方程式や数式を入力するのに適したパワフルなマークアップ言語です。"],"Site Stats":["サイト統計情報"],"Sharing":["共有"],"Testimonials":["推薦文"],"Cancel":["キャンセル"],"Comments":["コメント"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack は WordPress.com と連携できませんでした: %(error_key)s。これは通常、Web ホスト上の何らかの設定が間違っていることを意味しています。"],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com 側の問題により現在 Jetpack をご利用いただけません。後ほどもう一度お試しください。"],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Jetpack にエラーが発生しています。{{/s}}このサイトを WordPress.com に連携できません。これは通常、お使いのサイトが公開されていないことを意味しています (localhost)。"],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Jetpack を利用するには、サイトが公開されていて、アクセス制限がかかっていない必要があります: %(error_key)s"],"Edit":["編集"],"Connected":["連携済み"],"Activate":["有効化"],"Active":["有効"],"Settings":["設定"],"Learn More":["詳細を読む"],"Disconnect Jetpack":["Jetpack 連携を解除"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}注意 :{{/b}} この機能は3月に廃止され Jetpack から削除されます。{{link}}さらに詳しく{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack バックアップ"],"Settings header\u0004Anti-spam":["スパム対策"],"Settings header\u0004WP.me Shortlinks":["WP.me 短縮リンク"],"Settings header\u0004Auto-update plugins":["プラグインを自動でアップデート"],"Settings header\u0004Widgets":["ウィジェット"],"Settings header\u0004Downtime monitoring":["ダウンタイムのモニター"],"Settings header\u0004Privacy Settings":["プライバシー設定"],"Settings header\u0004WordPress.com toolbar":["WordPress.com ツールバー"],"Settings header\u0004Composing":["作成"],"Settings header\u0004Site stats":["サイト統計情報"],"Settings header\u0004Search engine optimization":["検索エンジンの最適化"],"Settings header\u0004Google Analytics":["Google アナリティクス"],"Settings header\u0004Sharing buttons":["共有ボタン"],"Settings header\u0004Publicize connections":["パブリサイズの接続"],"Settings header\u0004Like buttons":["「いいね」ボタン"],"Settings header\u0004Brute force attack protection":["総当たり攻撃からの保護"],"Settings header\u0004Backups and security scanning":["バックアップとセキュリティスキャン"],"Notice in the empty statistics chart\u0004No activity this period":["この期間のアクティビティはありません"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com へのログイン"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["リンクを送信"],"A caption for a button to cancel an action.\u0004Cancel":["キャンセル"],"Link to learn more about Jetpack.\u0004About":["Jetpack について"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["モジュール"],"Navigation item.\u0004Performance":["パフォーマンス"],"Navigation item.\u0004My Plan":["自分のプラン"],"Navigation item.\u0004Dev Tools":["開発ツール"],"Navigation item.\u0004Settings":["設定"],"Navigation item.\u0004Discussion":["ディスカッション"],"Navigation item.\u0004Traffic":["トラフィック"],"Navigation item.\u0004Sharing":["共有"],"Navigation item.\u0004At A Glance":["概要"],"Navigation item.\u0004Plans":["プラン"],"Navigation item.\u0004Writing":["執筆"],"Navigation item.\u0004Reset Options (dev only)":["オプションをリセット (開発版のみ)"],"Navigation item.\u0004Security":["セキュリティ"],"Navigation item.\u0004At a Glance":["概要"],"Search term.\u0004terms of service":["利用規約"],"Search term.\u0004tos":["TOS"],"Search term.\u0004gdpr":["GDPR"],"Search term.\u0004data":["データ"],"Search term.\u0004tracks":["トラック"],"Search term.\u0004privacy":["プライバシー"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["アップグレード"],"Button caption\u0004Saving…":["保存中..."],"Button caption\u0004Save settings":["設定を保存"],"A heading for a block of related posts.\u0004Related":["関連"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["プレビュー"],"Short warning message\u0004Updates needed":["更新が必要"],"Short label appearing near a paid feature configuration block.\u0004Paid":["有料"],"A header for a preview area in the configuration screen.\u0004Preview":["プレビュー"],"Ads header\u0004Ads":["広告"],"Dashboard widget header\u0004Site connection":["サイト接続"],"Dashboard widget header\u0004Account connection":["アカウント接続"],"A caption for a small button to fix security issues.\u0004Threats":["脅威"],"A caption for a small button to fix security issues.\u0004FIX":["修正"],"Short warning message about new threats found.\u0004Threats found!":["脅威が見つかりました !"],"Short message informing user that the site is secure.\u0004Secure":["安全です"],"Caption for a button to set up a feature.\u0004Set up":["セットアップ"],"verb\u0004Copy":["コピー"],"Shorthand for Privacy Policy.\u0004Privacy":["プライバシー"],"Shorthand for Terms of Service.\u0004Terms":["利用規約"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["デバッグ"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["スパムコメントがブロックされました。"]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ka_GE-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ka_GE-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index d52db3ab..00000000
--- a/plugins/jetpack/languages/json/jetpack-ka_GE-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"ka_GE"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":[""],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":[""],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":[""],"Posts":[""],"Front page":[""],"Pinterest":[""],"Google":[""],"Show related content after posts":[""],"Related":[""],"Disconnect":[""],"Save":[""],"Media":[""],"Site Stats":[""],"Sharing":[""],"Testimonials":[""],"Cancel":[""],"Comments":[""],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["რედაქტირება"],"Connected":[""],"Activate":[""],"Active":[""],"Settings":[""],"Learn More":[""],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ko_KR-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ko_KR-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index eefc5130..00000000
--- a/plugins/jetpack/languages/json/jetpack-ko_KR-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"ko_KR"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["%(planName)s 요금제에 %(featureName)s 기능이 포함됩니다. %(productName)s 제품도 구입하신 것 같습니다. %(productName)s 제품을 제거해 보세요."],"real-time backups":["실시간 백업"],"daily backups":["일일 백업"],"Renews on %s.":["%s에 갱신됩니다."],"Purchased on %s.":["%s에 구매했습니다."],"Select a backup option:":["백업 옵션을 선택하세요."],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["{{price/}}/%(billingTimeFrame)s의 가격으로 %(name)s(으)로 업그레이드"],"You are saving {{savings /}} by paying yearly":["연간 결제로 {{savings /}}의 금액을 절약합니다."],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["서두르세요. {{s}}한정된 기간에만 적용되는 출시 특가입니다!{{/s}}"],"Up to %(percent)d%% off!":["최대 %(percent)d%% 할인됩니다!"],"per month":["매월"],"per year":["연간"],"Which backup option is best for me?":["다음 중 나에게 가장 적합한 백업 옵션은 무엇인가요?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}~{{higherPrice/}}"],"Manage Subscription":["구독 관리"],"Your site is being backed up.":["사이트가 백업되었습니다."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["젯팩 백업 구성을 마치려면 서버 자격 증명을 입력해야 합니다."],"Jetpack Backup is being configured for your site.":["사이트에 젯팩 백업을 구성 중입니다."],"Daily Backups":["일일 백업"],"Just looking for backups? We've got you covered.":["백업을 찾고 계십니까? 필요한 기능이 모두 준비되어 있습니다."],"Solutions":["솔루션"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["{{planLink}}프로 요금제{{/planLink}}에 포함"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["{{planLink}}프리미엄 요금제{{/planLink}}에 포함"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["{{planLink}}개인 요금제{{/planLink}}에 포함"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["상시 백업은 사이트 손실을 방지합니다. 변경 사항은 편집 시 저장되고 무제한의 백업 아카이브를 보유할 수 있습니다."],"Always-on backups ensure you never lose your site.":["상시 백업은 사이트 손실을 방지합니다."],"My Products":["내 제품"],"My Plan":["내 요금제"],"Jetpack Backup {{em}}Real-Time{{/em}}":["젯팩 백업 {{em}}실시간{{/em}}"],"Your data is being securely backed up as you edit.":["편집하는 동안 데이터가 안전하게 백업됩니다."],"Jetpack Backup {{em}}Daily{{/em}}":["젯팩 백업 {{em}}일일{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["데이터가 매일 안전하게 백업되며 30일 동안 보관됩니다."],"Jetpack Professional":["젯팩 프로"],"Jetpack Premium":["젯팩 프리미엄"],"Jetpack Personal":["젯팩 개인"],"Jetpack Free":["무료 젯팩"],"Expired on %s.":["만료 날짜: %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["문의 사항이 있으십니까? 저희가 도와드리겠습니다! {{a}}젯팩 지원팀에 질문을 보내세요.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["젯팩에는 목표 달성에 도움이 될 수 있는 여러 강력한 도구가 있습니다."]," We’ve highlighted some of the features you rely on below.":[" 아래에 사용자가 사용하는 기능 중 일부를 강조 표시했습니다."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["현재 젯팩에서 사이트의 기능을 강화 중입니다. 젯팩을 비활성화하면 더는 이러한 기능을 사용할 수 없으며 사이트가 동일한 방식으로 작동하지 않을 수 있습니다."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["현재 젯팩에서 사이트의 기능을 강화 중입니다. 젯팩을 연결 해제하면 더는 이러한 기능을 사용할 수 없으며 사이트가 동일한 방식으로 작동하지 않을 수 있습니다."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["자동화 소셜 {{a}}공개 및 공유{{/a}}를 통한 트래픽 증가"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["{{a}}무차별 공격 대입{{/a}}을 차단하고 사이트 중단 시 즉시 알림 수신"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["{{a}}CDN{{/a}}을 통한 사이트 속도 증가 및 모바일 지원 이미지 제공"],"Disable":["비활성화"],"Are you sure you want to disconnect and deactivate?":["연결 해제하고 비활성화하시겠습니까?"],"Are you sure you want to disconnect?":["연결 해제하시겠습니까?"],"Disable Jetpack":["젯팩 사용 안 함"],"We back up your website with every change you make, making it easy to fix your mistakes.":["변경 사항이 있을 때마다 웹사이트를 백업하므로 실수를 쉽게 해결할 수 있습니다."],"Automated Real-time Backups":["자동화된 실시간 백업"],"We back up your website every day, so you never have to worry about your data again.":["귀하의 웹사이트를 매일 백업하므로 데이터에 대해 다시 걱정할 필요가 없습니다."],"Automated Daily Backups":["자동화된 일일 백업"],"View Your Backups":["백업 보기"],"A Jetpack Site securely backed up with Jetpack Backup":["젯팩 사이트가 젯팩 백업으로 안전하게 백업됨"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["마크다운 문법을 사용하여 링크, 목록 및 기타 스타일이 포함된 콘텐츠를 만들 수 있습니다. 이 설정을 통해 구 버전 편집기 블록뿐만 아니라 구 버전 편집기에서 마크다운을 사용할 수 있습니다."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}} 활성화{{/a}}하여 젯팩의 빠른 글로벌 서버 네트워크에서 이미지 크기를 최적화하고 이미지를 로드합니다. 이렇게 하면 데스크톱 및 모바일 장치에서 사이트 성능이 향상됩니다."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["젯팩은 빠른 글로벌 서버 네트워크를 사용하여 이미지 크기와 다운로드 속도를 최적화합니다. 이렇게 하면 데스크톱 및 모바일 장치에서 사이트 성능이 향상됩니다."],"Image Accelerator":["이미지 가속기"],"Start with free":["무료로 시작"],"Now that you're set up, pick a plan that fits your needs.":["설정했으면 요구에 맞는 요금제를 선택합니다."],"Jetpack Backup":["젯팩 백업"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["젯팩 요금제는 아키스밋을 통해 스팸 방지 보호 기능을 제공합니다. 사이트에서 '설정'을 클릭하여 활성화하세요."],"Already have a key? {{a}}Activate Akismet{{/a}}":["이미 키가 있나요? {{a}}아키스밋 활성화{{/a}}"],"Verifying…":["확인 중…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["젯팩 프리미엄 또는 프로페셔널의 강력한 SEO 도구로 검색 엔진 순위를 높이세요."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["모바일 장치에서 사이트가 빠르게 로드되고 깔끔하게 보이도록 만드세요. 다른 화면 크기에서도 방문자가 일반 테마를 계속 볼 수 있습니다."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["방문자가 아카이브 페이지 맨 아래로 스크롤하면 콘텐츠를 추가로 로드하여 중단 없이 원활하게 읽을 수 있는 환경을 만드세요."],"Customize your SEO settings":["SEO 설정 사용자 정의"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["검색 엔진이 회원님의 사이트를 나타내는 방식을 관리하세요. 젯팩의 SEO 도구를 사용하면 인기 있는 검색 엔진에서 컨텐츠가 어떻게 표시되는지 미리보고 사이트 이름 및 태그라인과 같은 항목을 몇 초 안에 변경할 수 있습니다."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["공유 버튼을 추가하면 방문자가 회원님의 글과 페이지를 몇 번의 클릭으로 소셜 미디어에 빠르게 공유할 수 있습니다."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["관리 바에 48시간 트래픽 스냅샷이 있는 작은 차트 포함"],"Expand to update settings for how visits are counted and manage who can view this information.":["방문 횟수를 계산하고 이 정보를 볼 수 있는 사용자를 관리하는 방법에 대한 설정을 업데이트하려면 확장합니다."],"You can customize the sharing buttons and choose which services to display.":["공유 단추를 사용자 정의하고 표시할 서비스를 선택할 수 있습니다."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["회원님 사이트는 젯팩으로 보호됩니다. 주의할 사항이 있으면 알림을 보내드립니다."],"Find threats early so we can help fix them fast.":["위협을 조기에 발견하여 신속하게 해결할 수 있습니다."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["사이트의 기본 검색을 사용자 정의 가능한 검색으로 바꾸어 방문자가 더 빨리 답변을 찾도록 도움을 줍니다."],"Never worry about losing your site – automatic backups keep your content safe.":["자동 백업으로 콘텐츠를 안전하게 유지하므로 사이트 콘텐츠가 손실될 위험이 없습니다."],"Protect":["보호"],"Scan":["스캔"],"Automatically clear spam from your comments and forms so you can get back to your business.":["댓글과 양식에서 스팸을 자동으로 삭제하므로 중요한 일에 집중할 수 있습니다."],"Anti-spam":["스팸 방지"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Jetpack 프리미엄 또는 프로를 사용하여 몇 초 안에 사이트를 Google 웹로그 분석에 연결하세요."],"Log in to the WordPress mobile app":["워드프레스 모바일 앱에 로그인하세요."],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["계정의 이메일 주소로 보내드린 링크를 클릭하여 워드프레스 앱에 쉽게 로그인하세요."],"Email me a link to log in to the app":["앱에 로그인할 수 있는 링크를 이메일로 보내기"],"Send your new posts to this email address:":["이 이메일 주소로 새 글을 보내주세요."],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["이메일로 게시를 사용하면 사이트를 방문하지 않고 새 글을 빠르게 게시할 수 있습니다. 콘텐츠를 보내서 사이트에 다른 글처럼 표시하는 데 사용할 고유한 이메일 주소를 생성할 것입니다."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["워드프레스닷컴 도구 모음은 기본 워드프레스 관리 도구 모음을 대체합니다. 이 도구 모음을 사용하면 한 번의 클릭으로 알림, 워드프레스닷컴 프로필뿐 아니라 다른 젯팩 및 워드프레스닷컴 웹사이트에 액세스할 수 있습니다. 리더에서 팔로우하는 사이트의 새 글도 확인할 수 있습니다."],"Verify site ownership with third party services":["타사 서비스로 사이트 소유권 확인"],"Generate shortened URLs for simpler sharing.":["더 간단히 공유하기 위해 약식 URL을 생성하세요."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["방문자가 각 글 하단의 관련 콘텐츠에 계속 참여할 수 있도록 하세요. 이 설정은 {{a}}블록 에디터를 사용하여 추가된 관련 글{{/a}}에는 적용되지 않습니다."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["이 기능을 사용하면 방문자가 각 글 하단에 관련 글을 표시하여 더 많은 콘텐츠를 찾을 수 있습니다."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack은 사이트에 맞게 사용자 정의된 {{link1}} ads.txt {{/link1}}를 자동으로 생성합니다. 다른 네트워크에 대한 항목을 추가해야 하는 경우 아래 공간에서 한 줄에 하나씩 추가하세요. {{link2}}자세한 내용은 여기를 확인하세요{{/link2}}."],"Add sharing buttons to your posts and pages":["글 및 페이지에 공유 버튼 추가"],"Share your content to social media, reaching new audiences and increasing engagement.":["소셜 미디어에 콘텐츠를 공유하여 새로운 독자와 연결하고 참여를 늘리세요."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["사이트가 오프라인 상태가 되면 알림을 받습니다. 백업될 때도 알려드립니다."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Jetpack에서는 새로운 플러그인 릴리스가 있을 때마다 플러그인을 자동으로 업데이트하도록 선택할 수 있습니다. 최신 보안 및 버그 수정을 즉시 얻을 수 있으므로 사이트가 안전하게 유지됩니다."],"Choose which plugins to auto-update":["자동 업데이트할 플러그인 선택"],"Upgrade Jetpack now":["지금 Jetpack 업그레이드"],"Monetize your site by running high quality ads.":["고품질 광고를 게재하여 사이트에서 수익을 창출하세요."],"Customize your social posting schedule.":["소셜 게시 일정을 사용자 정의하세요."],"Expand your audience with pro SEO tools.":["프로 SEO 도구로 독자를 늘리세요."],"Take your site to the next level!":["사이트를 한 단계 발전시키세요."],"Search support docs":["지원 문서 검색"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["도움이 필요하세요? 시작하기, 사이트 사용자 정의, 고급 코드 스니핏 사용 등에 관해 알아보세요."],"Start sharing":["공유 시작"],"Optimized performance":["최적화된 성능"],"Enable the “subscribe to comments” option on your comment form":["댓글 양식에서 '댓글 구독'옵션 사용"],"Enable the “subscribe to site” option on your comment form":["댓글 양식에서 '사이트 구독 옵션 사용"],"Manage advanced comment settings and grow your audience with email subscriptions.":["고급 댓글 설정을 관리하고 이메일 구독을 통해 독자를 늘리세요."],"Comment form introduction":["댓글 양식 소개"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack 스팸 방지는 Akismet에서 제공합니다. 댓글 및 문의 양식 제출은 글로벌 스팸 데이터베이스를 기준으로 확인됩니다."],"Failed to send login email":["로그인 이메일을 보내지 못함"],"Login email sent":["로그인 이메일 보냄"],"Sending login email…":["로그인 이메일을 보내는 중…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["보안이 걱정되시나요? 백업, 자동 보안 수정 등을 이용하세요. {{a}}지금 업그레이드{{/a}}"],"Allow readers to like individual comments.":["독자가 개별 댓글에 좋아요를 달 수 있도록 허용합니다."],"Enable comment likes.":["댓글 좋아요를 활성화합니다."],"Allow readers to use markdown in comments.":["독자가 댓글에서 마크다운을 사용하도록 허용합니다."],"Show Gravatar hovercards alongside comments.":["댓글과 함께 Gravatar 호버카드를 표시합니다."],"Complete Jetpack Setup":["전체 젯팩 설치"],"Your Jetpack setup progress":["젯팩 설치 진행"],"View your setup checklist":["설치 체크리스트 보기"],"Yearly":["매년"],"Monthly":["매월"],"About Jetpack":["젯팩 정보"],"Enable widget visibility controls to display widgets only on particular posts or pages":["특정 글이나 페이지에만 위젯을 표시하는 위젯 가시성 컨트롤 사용"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["위젯 가시성을 이용하여 어떤 페이지에 어떤 위젯을 표시할지 결정할 수 있으므로 위젯 콘텐츠를 세부적으로 조정할 수 있습니다."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["구독 양식 및 트위터 스트림을 포함하여 사이트에서 사용할 수 있는 추가 위젯 만들기"],"Enhance CSS customization panel":["CSS 사용자 정의 패널 기능 향상"],"Writing":["쓰기"],"Compose using shortcodes to embed media from popular sites":["인기 있는 사이트의 미디어를 임베드하는 쇼트코드를 사용하여 작성"],"Traffic":["트래픽"],"You need to enter your server credentials to finish configuring Backups and Scan.":["백업 및 스캔 구성을 마치려면 서버 자격 증명을 입력해야 합니다."],"Awaiting credentials":["자격 증명을 기다리는 중"],"Backups and Scan are being configured for your site.":["사이트에서 백업 및 스캔을 구성하고 있습니다."],"Provisioning":["프로비저닝"],"Action needed":["필요한 조치"],"Setting up":["설정"],"Discussion":["토론"],"We are configuring your site protection.":["회원님의 사이트 보호를 구성하고 있습니다."],"View your site's backups":["사이트 백업 보기"],"We are backing up your site in real-time.":["회원님의 사이트를 실시간으로 백업하고 있습니다."],"Enter credentials":["자격 증명 입력"],"You need to enter your server's credentials to finish the setup.":["설치를 마치려면 서버의 자격 증명을 입력해야 합니다."],"We are configuring your site's backups.":["사이트의 백업을 구성하고 있습니다."],"View site activity":["사이트 활동 보기"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["젯팩은 사이트 관리, 디버깅 및 복구 작업에서 추측을 통해 사이트에서 발생하는 모든 일을 완벽하게 기록합니다."],"Explore our Jetpack plans":[""],"Support documentation":["지원 설명서"],"Chat bubbles representing getting in touch with support":["지원팀에 문의를 나타내는 채팅 버블"],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":["소셜 미디어에 글을 자동으로 공유하여 폭넓은 대상에 다가가세요."],"Increase traffic to your site":["사이트 트래픽 늘리기"],"Explore free themes":["무료 테마 둘러보기"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["수백 가지 전문 테마에 무제한으로 액세스하고 원하는 방식으로 사이트를 사용자 정의하세요."],"A wide variety of themes and tools to customize a site":["사이트를 사용자 정의할 다양한 테마 및 도구"],"Set up your site security":["사이트 보안 설정"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["로그인 공격을 방지하고, 사이트에 문제가 있는 경우 즉시 알림을 받습니다."],"Site stats showing an evolution in traffic and engagement":["트래픽 및 참여의 발전을 보여주는 사이트 통계"],"A hand holding a loupe":["루페를 잡고 있는 손"],"A chart showing an healthy increase in earnings":["수입 증가를 보여주는 차트"],"Interface showing a chronological list of changes and updates in a site":["사이트의 변경 사항 및 업데이트 목록을 시간 순서대로 보여주는 인터페이스"],"A cloud with multiple types of content floating around it":["주위에 여러 유형의 콘텐츠가 있는 클라우드"],"A folder holding real comments":["실제 댓글이 있는 폴더"],"Make your site faster":["사이트 속도 빠르게 하기"],"Load pages faster by serving your images from our global network of servers.":["당사의 글로벌 서버 네트워크를 통해 이미지를 제공하여 페이지를 빠르게 로드하세요."],"A fast and performant website":["빠르고 효과적인 웹사이트"],"A secure site, locked and protected by Jetpack":["젯팩에서 차단하고 보호하는 안전한 사이트"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["기존 글, 페이지, 추천 글, 포트폴리오를 복제하세요. 텍스트, 추천 이미지, 공유 설정 등을 포함한 모든 콘텐츠가 복사됩니다."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["이 사이트는 {{a}}서비스 약관{{/a}}을 위반하므로 워드프레스닷컴에 연결할 수 없습니다."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["한 번의 클릭만으로 회원님이 사용하는 소셜 미디어 네트워크에 웹사이트를 연결하고 모든 소셜 계정에서 콘텐츠를 공유합니다. 글을 발행하면 연결된 모든 계정에 표시됩니다."],"Add Like buttons to your posts and pages":["글 및 페이지에 좋아요 버튼 추가"],"When visitors enjoy your content, let them show it with a Like.":["방문자가 회원님의 콘텐츠가 마음에 들면 좋아요 버튼을 누를 수 있습니다."],"Create account":["계정 만들기"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["젯팩은 사이트를 제어하지만, 계정을 만드는 데 필요한 모든 기능에 액세스하려면 젯팩을 사용해야 합니다."],"Compose content the way you want to and streamline your publishing experience.":["원하는 방식으로 콘텐츠를 작성하고 게시 환경을 간소화하세요."],"Add a portfolio item":["포트폴리오 항목 추가"],"Add a testimonial":["추천 글 추가"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["검색 엔진에서 사이트의 가시성을 극대화하고 트래픽 통계를 실시간으로 확인하세요."],"Create a Jetpack account to use this feature":["이 기능을 사용하려면 젯팩 계정을 만드세요."],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["젯팩은 지속적으로 사이트를 모니터링하여 다운시간이 감지되면 알려줍니다."],"Error enabling Site accelerator. %(error)s":["사이트 가속기를 활성화하는 중에 오류가 발생했습니다. %(error)s"],"Site accelerator is now speeding up your site!":["사이트 가속기가 이제 사이트 속도를 높입니다."],"Enabling Site accelerator…":["사이트 가속기 활성화…"],"Error disabling site accelerator. %(error)s":["사이트 가속기를 비활성화하는 중에 오류가 발생했습니다. %(error)s"],"Site accelerator is no longer speeding up your site!":["사이트 가속기가 더 이상 사이트 속도를 높이지 않습니다."],"Disabling site accelerator…":["사이트 가속기 비활성화…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["페이지를 빠르게 로드하고, 이미지를 최적화하고, 방문자의 환경 속도를 높일 수 있습니다."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["방문자 및 트래픽 패턴에 대한 Google의 상세 분석으로 워드프레스닷컴의 통계를 보완하세요."],"High-speed, high-definition video hosting with no third-party ads.":["타사 광고가 없는 고속, 고화질 비디오를 호스팅하세요."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["무제한 트윗, 페이스북 글 및 기타 소셜 글을 미리 예약하세요."],"Marketing Automation":["마케팅 자동화"],"Activate Jetpack Search":["젯팩 검색 활성화"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["기본 워드프레스 검색을 Elasticsearch로 운영되는 향상된 검색 및 필터링으로 교체하세요."],"Start earning":["수익 발생 시작"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds를 사용해 광고 콘텐츠를 게시하여 수익을 얻을 수 있습니다. 오늘부터 수익을 얻으세요."],"Spam is automatically blocked from your comments.":["스팸은 댓글에서 자동으로 차단됩니다."],"Browse premium themes":["프리미엄 테마 찾아보기"],"Access hundreds of beautifully designed premium themes at no extra cost.":["아름답게 디자인된 수백 개의 프리미엄 테마를 추가 비용 없이 이용하세요."],"Try a premium theme":["프리미엄 테마 체험"],"View settings":["보기 설정"],"Create a Jetpack account to view your email followers":["이메일 팔로워를 보려면 젯팩 계정을 만드세요."],"Manage security settings":["보안 설정 관리"],"Jetpack is ready for the new WordPress editor":["젯팩이 새로운 워드프레스 편집기를 사용할 준비가 되었습니다."],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["바로 오늘 새로운 편집기 환경을 위해 특별히 구축된 첫 번째 젯팩 고유의 블록을 소개합니다. 간편한 결제 버튼, 양식, 지도 및 마크다운."],"Build your Jetpack site with blocks":["블록으로 젯팩 사이트 구축"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["새로운 편집기인가요? 그렇습니다! {{a}}자세히 알아보세요{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["새로운 워드프레스 편집기에 맞추어 사용할 수 있는 기능입니다."],"Take me to the new editor":["새 편집기로 이동"],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":["젯팩을 테스트하는 동안 오류가 발생했습니다. 오류: %(error)s"],"New in Jetpack!":["젯팩의 새 기능!"],"Speed up static file load times":["정적 파일 로드 시간이 빨라짐"],"Speed up image load times":["이미지 로드 시간이 빨라짐"],"Enable site accelerator":["사이트 가속기 활성화"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["젯팩에서 이미지를 최적화하고 글로벌 서버 네트워크에서 이미지와 정적 파일(예: CSS 및 자바스크립트)을 제공할 수 있도록 하여 페이지를 빠르게 로드합니다."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":["사이트 활동 보기"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["사이트의 모든 변경 사항과 업데이트를 읽기 편하게 구성한 연대순 목록으로 볼 수 있습니다."],"Manually Verify ":["수동으로 확인 "],"Verify with Google":["Google에서 확인"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google에서 웹사이트 {{a1}}해킹{{/a1}} 또는 사이트의 {{a2}}크롤링 또는 인덱싱{{/a2}} 문제 안내를 비롯한 사이트에서 발생하는 특정 이벤트에 대한 이메일을 보냅니다."],"or":["또는"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["{{a}}Google 검색 콘솔 {{/a}}에서 사이트의 트래픽 및 성능을 모니터링합니다."],"Your site is verified with Google":["사이트가 Google에서 확인되었습니다."],"Site failed to verify: %(error)s":["사이트 확인 실패: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["젯팩 전문가로 더욱 빠르고 진보된 검색 기능을 사이트에 추가하세요."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["워드프레스의 기본 검색을 향상된 검색 환경인 젯팩 검색으로 바꾸기"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["젯팩 검색은 기본 검색 기능을 워드프레스닷컴 클라우드에 호스팅된 빠르고 확장 및 사용자 정의 가능하며 관련성 높은 검색 기능으로 바꿉니다. 결과적으로 사용자는 원하는 콘텐츠를 더 빠르게 찾을 수 있습니다."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["기본 워드프레스 검색 기능은 콘텐츠가 많지 않은 사이트에 효과적입니다. 그러나 사이트 규모가 커지면 검색이 느려지고 관련성이 낮은 결과가 반환됩니다."],"Jetpack Search supports many customizations.":["젯팩 검색은 다양한 사용자 정의를 지원합니다."],"Site is verified":["사이트가 확인되었습니다."],"Spam filtering and priority support.":["스팸 필터링 및 우선 지원."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["광고가 활성화되면 젯팩은 사이트에 맞게 사용자 정의된 ads.txt를 자동으로 생성합니다."],"Custom ads.txt entries":["사용자 정의 ads.txt 항목"],"Privacy information":["개인 정보"],"Enable Lazy Loading for images":["이미지에 Lazy 로드 사용"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Lazy 로드 이미지는 사이트의 속도를 개선하고 더 원활한 보기 환경을 제공합니다. 이미지는 한꺼번에 로드되는 것이 아니라 방문자가 화면을 아래로 스크롤하면 로드됩니다."],"Performance & speed":["성능 및 속도"],"Enable high-speed, ad-free video player":["광고 없는 고속 비디오 플레이어 사용"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["고해상도 비디오로 게시하는 콘텐츠를 더 매력적으로 만듭니다. 젯팩 비디오를 통해 미디어 플레이어를 사용자 정의하고 광고 없는 고속 무브랜드 비디오를 방문자에게 제공할 수 있습니다. 비디오는 당사 워드프레스닷컴 서버에서 호스팅되며 회원님의 호스팅 요금제에서 공간을 차감하지 않습니다!"],"Video":["비디오"],"Carousel color scheme":["캐러젤 색 구성표"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif 데이터는 방문자에게 초점 거리, 조리개 및 ISO와 같은 사진의 추가 기술 세부정보를 표시합니다."],"Show photo Exif metadata in carousel (when available)":["캐러젤에 사진 Exif 메타데이터 보이기(가능한 경우)"],"Display images in a full-screen carousel gallery":["전체 화면 캐러젤 갤러리에 이미지 표시"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["글과 페이지의 이미지에 대한 전체 화면 캐러젤 슬라이드쇼를 만듭니다. 캐러젤 갤러리는 모바일 친화적이며 사이트 방문자가 회원님의 사진과 상호 작용하도록 권장합니다."],"Portfolios shortcode: [portfolio]":["포트폴리오 쇼트코드: [포트폴리오]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["사이트에서 {{portfolioLink}}포트폴리오{{/portfolioLink}}를 사용하여 최고의 제품을 보여줍니다. 테마가 젯팩 포트폴리오를 지원하지 않는 경우에도 계속해서 간단한 쇼트코드를 사용하여 사이트에 표시할 수 있습니다."],"Testimonials shortcode: [testimonials]":["추천 글 쇼트코드: [추천 글]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["웹사이트에 {{testimonialLink}}추천 글{{/testimonialLink}}을 추가하여 새로운 고객의 관심을 끕니다. 테마가 젯팩 추천 글을 지원하지 않는 경우에도 계속해서 간단한 쇼트코드를 사용하여 사이트에 표시할 수 있습니다."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["현재 검색 엔진이 회원님의 사이트에 액세스할 수 없습니다. 사이트를 액세스할 수 있도록 하려면 {{a}}읽기 설정{{/a}}을 확인하고 \"검색 엔진 접근 여부\"를 켭니다."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["좋은 소식: 젯팩이 인덱싱을 위해 회원님의 사이트맵을 모든 주요 검색 엔진으로 자동으로 보내고 있습니다."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["사이트맵은 Google 또는 Bing과 같은 검색 엔진에서 웹사이트를 인덱싱하는 데 사용하는 파일입니다. 사이트맵은 검색 결과에서 순위를 높이는 데 도움이 될 수 있습니다. 이 기능을 사용하면 젯팩이 사이트맵을 만들고 사이트 콘텐츠가 변경되면 자동으로 사이트맵을 업데이트합니다."],"Configure related posts in the Customizer":["사용자 정의 기능에서 관련 글 구성"],"Highlight related content with a heading":["헤딩으로 관련 콘텐츠 강조 표시"],"View security scan details":["보안 검사 세부정보 보기"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["가능한 경우 썸네일 이미지를 표시합니다."],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["특정 젯팩 기능에서 데이터를 사용하고 활동을 추적하는 방법에 대한 자세한 내용은 {{privacyCenterLink}}개인정보취급방침 페이지{{/privacyCenterLink}}를 참조하세요."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["워드프레스는 타사 제품을 포함한 다른 추적 도구를 사용합니다. {{cookiePolicyLink}}이 도구에 대해 읽고{{/cookiePolicyLink}} 제어하는 방법에 대해 알아보세요."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["이 정보는 {{pp}}개인정보 취급방침{{/pp}}에 명시된 것처럼 제품을 개선하고, 보다 관련된 마케팅을 제공하며, 워드프레스닷컴 환경을 개인 설정하는 데 도움을 줍니다."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["워드프레스닷컴 계정에 로그인되어 있는 동안 이용하는 서비스에 대한 정보를 워드프레스의 분석 도구와 공유합니다. {{cookiePolicyLink}}자세히 알아보세요{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["사이트 관리자가 이 기능을 관리하고 있습니다. {{link}}자세히 알아보세요{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["사이트 관리자가 이 기능을 비활성화했습니다. {{link}}자세히 알아보세요{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["사이트 관리자가 이 기능을 활성화했습니다. {{link}}자세히 알아보세요{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["사이트 관리자가 %(moduleName)s(을)를 비활성화했습니다. {{link}}자세히 알아보세요{{/link}}."],"This feature has been disabled by a site administrator.":["사이트 관리자가 이 기능을 비활성화했습니다."],"%(moduleName)s has been disabled by a site administrator.":["사이트 관리자가 %(moduleName)s(을)를 비활성화했습니다."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Ad 위젯을 사용하여 광고를 추가할 수 있습니다. {{link}}시도해 보세요!{{/link}}"],"Configure your notification settings":["알림 설정 구성"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["젯팩의 검색 모듈은 워드프레스에 내장된 검색 기능을 대체하는 강력한 기능입니다."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["고객님 사이트의 파일을 정기적으로 점검하여 보안성 및 데이터를 훼손할 수 있는 무단 수정 또는 의심스러운 수정이 있는지를 확인합니다."],"Plugin needs updating.":["플러그인을 업데이트해야 합니다."],"%(number)s":["%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["젯팩의 플러그인 업데이트를 통해 자동으로 업데이트할 플러그인을 선택할 수 있습니다."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["젯팩은 회원님의 이미지를 최적화하며 방문자에게 가장 가까운 서버 위치에서 이미지를 제공합니다. 글로벌 콘텐츠 제공 네트워크를 사용하면 사이트의 로드 속도가 향상됩니다."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["젯팩의 다운타임 모니터는 고객님 사이트를 계속 모니터링하고, 다운타임이 감지되는 순간 경고 메시지를 보냅니다."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["젯팩 백업을 통해 특정 순간부터 백업을 쉽게 복원 또는 다운로드할 수 있습니다."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["모바일 장치에서 방문자에게 표시할 경량 모바일 친화적 테마를 사용합니다."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["리더가 페이지 맨 아래에 접근하면 자동으로 다음 글을 로드합니다."],"Allows you to publish new posts by sending an email to a special address.":["특정한 주소로 이메일을 보내 새 글을 공개합니다."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["모든 회원님의 사이트, 알림, 워드프레스닷컴 프로필 및 리더에 대한 링크가 있는 도구 모음을 추가합니다."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["다양한 서비스로 워드프레스 사이트를 확인하는 데 필요한 숨겨진 태그를 제공합니다."],"Displays information on your site activity, including visitors and popular posts or pages.":["방문자 및 인기 있는 글 또는 페이지를 비롯한 회원님의 사이트 활동에 대한 정보를 표시합니다."],"Allows you to optimize your site and its content for better results in search engines.":["검색 엔진에서 더 나은 결과를 위해 회원님의 사이트 및 해당 콘텐츠를 최적화할 수 있게 해줍니다."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["워드프레스 사이트를 회원님의 트래픽, 방문자 및 전환에 인사이트를 제공하는 플랫폼인 Google 웹로그 분석과 통합합니다."],"Displays high-quality ads on your site that allow you to earn income.":["수입을 올릴 수 있도록 회원님의 사이트에 고품질 광고를 표시합니다."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["페이스북, Twitter 등의 소셜 미디어 사이트에서 회원님의 최신 콘텐츠를 자동으로 공유할 수 있게 해줍니다."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["방문자가 호감이나 즐거움을 표시할 수 있도록 회원님의 콘텐츠에 좋아요 버튼을 추가합니다."],"Allows registered users to log in to your site with their WordPress.com accounts.":["등록된 사용자가 자신의 워드프레스닷컴 계정으로 회원님의 사이트에 로그인할 수 있게 해줍니다."],"Protects your site from traditional and distributed brute force login attacks.":["기존의 분산 무차별 로그인 공격 대입으로부터 회원님의 사이트를 보호합니다."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["회원님의 사이트를 글로벌 워드프레스닷컴 서버에 백업하여 비상 상황 또는 오류 발생 시 회원님의 콘텐츠를 복원할 수 있습니다."],"Removes spam from comments and contact forms.":["댓글 및 문의 양식에서 스팸을 제거합니다."],"We are committed to your privacy and security. ":["당사는 회원님의 개인정보 보호 및 보안을 위해 최선을 노력을 다하고 있습니다. "],"View all Jetpack plans":["모든 젯팩 요금제 보기"],"Manage your plan":["요금제 관리"],"Your Plan":["회원님의 요금제"],"You’re currently on Jetpack %(plan)s.":["회원님은 현재 젯팩 %(plan)s을(를) 사용하고 있습니다."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["독자가 글이나 댓글을 구독하여 이메일을 통해 새 콘텐츠에 대한 알림을 받을 수 있게 해줍니다."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["표준 워드프레스 댓글 양식을 소셜 미디어 로그인 옵션을 포함하는 새로운 댓글 시스템으로 바꿉니다."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["워드프레스에 내장된 검색을 향상된 검색 환경인 젯팩의 검색으로 바꾸려면 {{a}}활성화{{/a}}합니다."],"Add Search (Jetpack) Widget":["검색(젯팩) 위젯 추가"],"Jetpack Search is powering search on your site.":["젯팩 검색은 사이트에서 검색을 강화합니다."],"Manage your plugins":["플러그인 관리"],"Moderate comments":["댓글 검토"],"Error updating privacy settings. %(error)s":["개인정보 설정을 업데이트하는 동안 오류가 발생했습니다. %(error)s"],"Updated privacy settings.":["개인정보 설정을 업데이트했습니다."],"Updating privacy settings…":["개인정보 설정을 업데이트하는 중..."],"Add Jetpack Search Widget":["젯팩 검색 위젯 추가"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["정렬 및 필터를 구성하려면 젯팩 검색 위젯을 사이드바에 추가하세요."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["전체 보안 제품군, 마케팅 및 수익 자동화 도구, 무제한 비디오 호스팅, 무제한 테마, 향상된 검색 및 우선 지원."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["전체 보안 제품군, 마케팅 및 수익 자동화 도구, 무제한 비디오 호스팅 및 우선 지원."],"Daily backups, spam filtering, and priority support.":["일일 백업, 스팸 필터링 및 우선 지원."],"Always-on security":["상시 보안"],"Activate video hosting":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["무제한 공간, 원클릭 복원, 자동화된 보안 검사 및 우선 지원으로 모든 사이트 데이터를 실시간으로 백업하세요."],"Design the perfect website":["완벽한 웹 사이트 디자인"],"Set up Jetpack":["젯팩 설정"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["무제한 공간, 원클릭 복원, 자동화된 보안 검사로 모든 사이트 데이터를 실시간 백업합니다."],"Jetpack Search":["젯팩 검색"],"Jetpack version %(version)s":["젯팩 버전 %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["보안 위협을 위해 고객님의 사이트를 실시간으로 백업하고 정기적으로 스캔합니다."],"Daily backup of all your site data with unlimited space and one-click restores":["무제한 공간 및 원클릭 복원으로 모든 사이트 데이터의 일일 백업 제공"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["무제한 공간, 원클릭 복원, 자동 보안 검사, 원클릭 위협 해결로 모든 사이트 데이터를 실시간 백업합니다."],"View your security activity":["보안 활동 보기"]," (powered by VaultPress).":[" (VaultPress에서 제공)"],"Customize Search Widget":["검색 위젯 사용자 정의"],"Please correct the issue below and try again.":["아래 나열된 문제를 수정하고 다시 시도해 주세요."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["사이트에 보안 위협이 없는지 확인 중입니다. 찾으면 알려드리겠습니다."],"Jetpack version":["젯팩 버전"],"Activity":["활동"],"{{a}}View details{{/a}}":["{{a}}상세 보기{{/a}}"],"Monetize your site with ads":["광고로 사이트 수익 창출"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["아래 버튼을 클릭하면 {{tosLink}}서비스 약관{{/tosLink}} 및 워드프레스닷컴과의 {{shareDetailsLink}}세부 정보 공유{{/shareDetailsLink}}에 동의하는 것입니다"],"Jetpack Stats People":["젯팩 사용자 통계"],"Hello there! Your stats have been activated.":["안녕하세요? 통계가 활성화되었습니다."],"Just give us a little time to collect data so we can display it for you here.":["여기에 표시할 데이터를 수집하는 동안 잠시 기다려 주세요."],"Okay, got it!":["이제 되었습니다."],"Display ads below posts on":["글 아래에 광고 표시"],"Additional ad placements":["추가 광고 배치 공간"],"Top of each page":["각 페이지 상단"],"Second ad below post":["글 아래에 다른 광고"],"Archives":["아카이브"],"Stars":["별"],"Jupiter":["목성"],"Schedule posts":[""],"Activate Publicize":["배포 기능 활성화"],"Your site is backed up.":["사이트가 백업되었습니다."],"Get WordPress Apps for every device":["어느 기기에서나 워드프레스 앱 이용"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["단일 알림판에서 사이트를 모두 관리합니다. 전 세계 어디서나 콘텐츠를 공개하고, 통계를 추적하고, 댓글을 검토합니다."],"Create address":["주소 만들기"],"Automatically share your posts to social networks":["글을 소셜 네트워크에 자동으로 공유"],"Updating settings…":["설정 업데이트 중…"],"Updating Post by Email address…":["이메일 주소로 글 업데이트 중…"],"Your paid plan gives you access to prioritized Jetpack support.":["유료 요금제를 통해 우선순위가 높은 젯팩 지원을 받으실 수 있습니다."],"You have paid for backups but they're not yet active.":["백업을 구매하셨지만, 아직 활성화되지 않았습니다."],"You have paid for backups and security scanning but they’re not yet active.":["백업 및 보안 검사를 구매하셨지만, 아직 활성화되지 않았습니다."],"Click \"Set Up\" to finish installation.":["설치를 마치려면 \"설정\"을 클릭하세요."],"Checking site status…":["사이트 상태 확인 중…"],"Pages":["페이지"],"Access the full list of Jetpack modules available on your site.":["사이트에서 사용할 수 있는 전체 젯팩 모듈 목록에 액세스합니다."],"We're here to help":["저희가 도와드리겠습니다."],"Jetpack comes with free, basic support for all users.":["젯팩은 모든 사용자에게 무료 지원을 제공합니다."],"Ask a question":["질문하기"],"Search our support site":["지원 사이트 검색"],"Get a faster resolution to your support questions.":["지원 관련 질문에 대해 신속하게 해결 방법을 얻으세요."],"Host fast, high-quality, ad-free video.":["광고가 없는 빠른 고화질 비디오를 호스팅합니다."],"Generate income with high-quality ads.":["고품질의 광고로 수익을 생성하세요."],"Real-time site backups and automatic threat resolution.":["실시간 사이트 백업 및 자동 위협 해결 기능을 제공합니다."],"Protect against data loss, malware, and malicious attacks.":["데이터 손실, 악성 코드 및 악의적인 공격으로부터 보호합니다."],"Protect your site from spam.":["스팸으로부터 사이트를 보호합니다."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["이 사이트는 워드프레스닷컴과 연결되어 있지 않습니다. 연결하려면 사이트 관리자에게 요청하세요."],"An Automattic Airline":["Automattic 항공사"],"Manage site connection":["사이트 연결 관리"],"Connect your account to WordPress.com to view more stats":["계정을 워드프레스닷컴에 연결하여 통계 더 보기"],"Theme enhancements":["테마 기능 향상"],"Load more posts using the default theme behavior":["기본 테마 동작을 사용하여 더 많은 글 로드"],"Load more posts in page with a button":["버튼을 사용하여 페이지에 더 많은 글 로드"],"Load more posts as the reader scrolls down":["리더가 아래로 스크롤될 때 더 많은 글 로드"],"Theme support required.":["테마 지원이 필요합니다."],"Learn more about adding support for Infinite Scroll to your theme.":["테마에 무한 스크롤 기능을 추가하는 것에 대해 더 알아보세요."],"Show excerpts instead of full posts on front page and archive pages":["프론트 페이지와 아카이브 페이지에 전체 글 대신 요약문 표시"],"Show featured images":["추천 이미지 표시"],"Enable the WordPress.com toolbar":["워드프레스닷컴 도구 모음 사용"],"Writing tools available to you will be shown here when an administrator enables them.":["관리자가 쓰기 도구를 활성화한 경우 사용 가능한 쓰기 도구가 여기에 표시됩니다."],"Portfolios":["포트폴리오"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["검색 엔진에서 {{b}}사이트를 검색할 수 있게 하기 위해서 이 서비스를 이용하여 {{/b}}사이트를 확인할 필요는 없습니다. 이 고급 검색 엔진 도구를 사용하여 서비스로 사이트를 확인하려면 아래의 HTML 태그 코드를 붙여넣으세요. 문제가 있으면 {{support}}전체 지침{{/support}}을 읽어 보세요. 지원되는 확인 서비스: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, {{yandex}}Yandex.Webmaster{{/yandex}}"],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["XML 사이트맵 생성"],"The image helps collect stats, but should work when hidden.":["이미지는 통계를 수집하는 데 유용하지만 숨긴 상태에서도 작동합니다."],"Count logged in page views from":["로그인된 페이지 조회수"],"Allow stats reports to be viewed by":["통계 보고서를 볼 수 있는 사람"],"In \"Upgrade\"":["\"업그레이드\"에서"],"Configure your Google Analytics settings":["Google 웹로그 분석 설정 구성"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["홈 페이지의 첫 번째 글 또는 모든 페이지와 글 끝에 광고를 표시하세요. 수입을 늘리기 위해 광고를 사이트 상단 및 위젯 영역에 추가할 수도 있습니다."],"Enable ads and display an ad below each post":["광고 활성화 및 각 글 아래에 광고 표시"],"Configure your sharing buttons":["공유 버튼 구성"],"Connect your social media accounts":["소셜 미디어 계정 연결"],"Match accounts using email addresses":["이메일 주소를 사용하여 계정 일치"],"Require accounts to use WordPress.com Two-Step Authentication":["워드프레스닷컴 2단계 인증을 사용하려면 계정이 필요합니다."],"Add to whitelist":["화이트리스트에 추가"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["젯팩에서 차단하지 않도록 하나 이상의 IP 주소를 화이트리스트에 추가할 수 있습니다. IPv4 및 IPv6를 사용할 수 있습니다. 범위를 지정하려면 낮은 값과 높은 값을 대시로 구분하여 입력하세요. 예: 12.12.12.1~12.12.12.100"],"Your site is backed up and threat-free.":["사이트가 백업되었고 위협으로부터 안전합니다."],"Checking your spam protection…":["스팸 방지 검사 중…"],"Fetching key…":["키 가져오는 중…"],"Your site needs an Antispam key.":["사이트에 안티스팸 키가 필요합니다."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["안티스팸 API 키에 문제가 있습니다. {{a}}자세히 알아보세요{{/a}}."],"Your site is not protected from spam.":["사이트가 스팸으로부터 보호되어 있지 않습니다."],"Your Antispam key is valid.":["안티스팸 키가 유효합니다."],"Your site is protected from spam.":["사이트가 스팸으로부터 보호되어 있습니다."],"Checking key…":["키 확인 중…"],"Your API key":["API 키"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["API 키가 없는 경우 {{a}}여기에서 API 키를 받은 후{{/a}} 키를 얻는 방법에 대한 설명을 받을 수 있습니다."],"No search results found for %(term)s":["%(term)s에 대한 검색 결과가 없습니다."],"Enter a search term to find settings or close search.":["검색어를 입력하여 설정을 찾거나 검색을 종료합니다."],"Connections":["연결"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["사이트가 개발 모드에 있으므로 워드프레스닷컴에 연결할 수 없습니다."],"Your site is connected to WordPress.com.":["사이트가 워드프레스닷컴에 연결되어 있습니다."],"You are the Jetpack owner.":["젯팩 소유자입니다."],"Connected as {{span}}%(username)s{{/span}}":["{{span}}%(username)s{{/span}}(으)로 연결됨"],"View your Email Followers":["이메일 팔로워 보기"],"Color scheme":["색상표"],"Enable Markdown use for comments.":["댓글에 마크다운을 사용하려면 활성화하세요."],"Updated settings.":["설정을 업데이트했습니다."],"Error updating settings. %(error)s":["설정을 업데이트하는 중에 오류가 발생했습니다. %(error)s"],"Regenerated Post by Email address.":["이메일 주소로 재생성된 글"],"Error regenerating Post by Email address. %(error)s":["이메일 주소로 글을 재생성하는 중에 오류가 발생했습니다. %(error)s"],"Updated settings. Refreshing page…":["설정을 업데이트했습니다. 페이지를 새로 고치는 중…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["현재 {{a}}개발 모드{{/a}}(일부 기능을 사용할 수 없음)인 이유:"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}jetpack_development_mode 필터가 활성화됨{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}JETPACK_DEV_DEBUG 상수가 정의되어 있음{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}사이트 URL에 점이 없음(예: http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["구글 애널리틱스는 트래픽을 또 다른 관점에서 파악하여 워드프레스의 {{a}}내장된 통계{{/a}}를 보완하는 무료 서비스입니다. 워드프레스닷컴 통계와 구글 애널리틱스는 각자 다른 방법을 사용해 사이트의 활동을 식별하고 추적하므로 방문, 조회 등에 대한 합계가 조금 다르게 표시됩니다."],"Google Analytics":["Google 웹로그 분석"],"Configure Google Analytics":["Google 웹로그 분석 구성"],"Activate Google Analytics":["Google 웹로그 분석 활성화"],"Download the free apps":["무료 앱 다운로드"],"Upgrade Focus: VideoPress For Weddings":["업그레이드 핵심: 웨딩용 비디오프레스"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}사용자 정의 기능에서 관련된 글을 구성할 수도 있습니다. {{ExternalLink}}시도해 보세요!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["기본적으로 광고는 모든 페이지, 글 또는 첫 페이지의 첫 번째 문서에 표시됩니다. 수입을 늘리기 위해 광고를 사이트 상단 및 위젯 영역에 추가할 수도 있습니다."],"Display an ad unit at the top of your site.":["사이트 상단에 광고 유닛을 표시합니다."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["광고를 활성화하면 자동 광고 {{link}}서비스 약관{{/link}}에 동의하는 것입니다."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["서버가 잘못 구성되었습니다. 즉, Jetpack Protect에서 사이트를 효율적으로 보호할 수 없습니다."],"In \"Mobile\"":["\"모바일\"에서"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}워드프레스닷컴에서 모니터 알림 설정 구성{{/link}}"],"View your earnings":["수입 보기"],"Configure site SEO":[""],"Activate SEO tools":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["시작하려면 글 에디터에서 미디어 추가를 클릭하고 비디오를 업로드하세요. 나머지는 당사에서 처리합니다!"],"Video Hosting":["비디오 호스팅"],"SEO Tools":["SEO 도구"],"Advanced SEO tools to help your site get found when people search for relevant content.":["사람들이 관련 콘텐츠를 검색할 때 사이트가 검색되도록 하는 고급 SEO 도구입니다."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["광고 없는 비디오 및 브랜드 없는 비디오를 사이트에 업로드하는 가장 쉬운 방법입니다. 비디오 재생에 대한 통계를 얻을 수 있으며, 플레이어는 간단한 반응형입니다."],"You are running Jetpack on a staging server.":["스테이징 서버에서 젯팩을 실행하고 있습니다."],"More Info":["자세한 정보"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}공유 모듈 설정에서 좋아요 표시 여부 관리{{/a}}"],"Your current IP: %(ip)s":["현재 IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["지금 닫을 경우 이 탭에서 저장하지 않은 설정이 손실됩니다. 계속하시겠습니까?"],"This will reset all Jetpack options, are you sure?":["모든 젯팩 옵션이 초기화됩니다. 계속하시겠습니까?"],"Search for a Jetpack feature.":["젯팩 기능을 검색합니다."],"Configure your Security Scans":["보안 검사 구성"],"Subscriber":["구독자"],"Big iPhone/iPad Update Now Available":["iPhone/iPad 업데이트 지금 이용 가능"],"The WordPress for Android App Gets a Big Facelift":["대대적으로 업데이트된 Android 앱용 워드프레스"],"WordPress.com Likes are:":["워드프레스닷컴 좋아요:"],"A few catchy words to motivate your visitors to comment.":["방문자가 댓글을 달도록 관심을 끄는 몇 가지 단어입니다."],"Hide the stats smiley face image":["통계 웃는 얼굴 이미지 숨기기"],"Whitelisted IP addresses":["화이트리스트에 포함된 IP 주소"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["모바일 테마 푸터에 워드프레스 모바일 앱에 대한 프로모션 표시"],"Copied!":["복사되었습니다!"],"Highlight and copy the following text to your clipboard:":["다음 텍스트를 강조 표시 후 클립보드로 복사:"],"Regenerate address":["주소 재생성"],"Cheatin' uh?":["속임수를 쓰고 계시나요?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}이 {{a}}2문항짜리 설문 조사{{/a}}에서 젯팩 연결을 완료하지 않은 이유를 설명해 주시겠습니까?{{/p}}{{p}}무료 보안 및 트래픽 기능이 작동하려면 젯팩 연결이 필수입니다.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["{{s}}젯팩%(jetpack_version)s{{/s}}에 오신 것을 환영합니다!"],"Your Jetpack is already connected.":["젯팩이 이미 연결되었습니다."],"You're fueled up and ready to go, Jetpack is now active.":["연료가 채워졌으니 이제 출발하세요. 젯팩이 이제 활성화되었습니다."],"You're fueled up and ready to go.":["연료가 채워졌으니 이제 출발하세요."],"You are currently running a development version of Jetpack.":["현재 젯팩 개발 버전이 실행 중입니다."],"Submit Beta feedback":["베타 피드백 제출"],"What would you like to see on your Jetpack Dashboard?":["젯팩 알림판에서 무엇을 보고 싶으신가요?"],"Let us know!":["알려주세요!"],"Saving…":["저장 중..."],"Save Settings":["설정 저장"],"Jetpack Stats Icon":["젯팩 통계 아이콘"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["세부 통계, 좋아요, 팔로워, 구독자 등을 보려면 {{a}}사이트 통계를 활성화{{/a}}하세요! {{a1}}더 알아보기{{/a1}}"],"Activate Site Stats":["사이트 통계 활성화"],"Site Backups":[""],"Upgrade":["업그레이드"],"ACTIVE":["활성"],"View your spam stats":["스팸 통계 보기"],"View your security dashboard":["보안 알림판 보기"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["사이트가 개발 모드에 있으므로 워드프레스닷컴에 연결할 수 없습니다."],"Link your account to WordPress.com to get the most out of Jetpack.":["젯팩을 최대한 활용하려면 계정을 워드프레스닷컴에 연결하세요."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["자동화된 포괄적인 보안 위협 검사를 위해 VaultPress를 {{a}}설치 및 활성화{{/a}}하세요."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["젯팩이 악의적인 로그인 시도를 차단 중입니다. 데이터가 곧 여기에 표시됩니다!"],"Total malicious attacks blocked on your site.":["사이트에서 차단된 총 악의적인 공격 수입니다."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["악의적인 로그인 시도로부터 사이트를 보호하려면 {{a}}보호를 활성화{{/a}}하세요."],"All plugins are up-to-date. Awesome work!":["모든 플러그인이 최신 상태입니다. 멋진 작업입니다!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["젯팩이 사이트를 모니터링합니다. 사이트가 다운된 상태라고 생각되면 이메일을 받게 됩니다."],"Security":["보안"],"Performance":["성능"],"Backup":[""],"{{a}}View backup details{{/a}}.":["{{a}}백업 세부 사항을 확인{{/a}}합니다."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["전체 사이트를 자동으로 백업하려면 VaultPress를 {{a}}설치하고 활성화{{/a}}하세요."],"Unavailable in Dev Mode.":["개발 모드에서 사용할 수 없습니다."],"Unavailable in Dev Mode":["개발 모드에서 사용할 수 없음"],"Activating %(slug)s…":["%(slug)s 활성화 중..."],"%(slug)s has been activated.":["%(slug)s이(가) 활성화되었습니다."],"%(slug)s failed to activate. %(error)s":["%(slug)s을(를) 활성화하지 못했습니다. %(error)s"],"Deactivating %(slug)s…":["%(slug)s 비활성화 중…"],"%(slug)s has been deactivated.":["%(slug)s이(가) 비활성화되었습니다."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s을(를) 비활성화하지 못했습니다. %(error)s"],"Updating %(slug)s settings…":["%(slug)s 설정 업데이트 중…"],"Updated %(slug)s settings.":["%(slug)s 설정을 업데이트했습니다."],"Error updating %(slug)s settings. %(error)s":["%(slug)s 설정을 업데이트하는 동안 오류가 발생했습니다. %(error)s"],"Updating %(slug)s address…":["%(slug)s 주소 업데이트 중…"],"Regenerated %(slug)s address .":["%(slug)s 주소를 재생성했습니다."],"Error regenerating %(slug)s address. %(error)s":["%(slug)s 주소를 재생성하는 중 오류가 발생했습니다. %(error)s"],"Resetting Jetpack options…":["젯팩 옵션 재설정 중…"],"Options reset.":["옵션이 재설정되었습니다."],"Options failed to reset.":["옵션을 재설정하지 못했습니다."],"There was an error disconnecting Jetpack. Error: %(error)s":["젯팩 연결을 해제하는 동안 오류가 발생했습니다. 오류: %(error)s"],"Unlinking from WordPress.com":["워드프레스닷컴에서 링크 해제"],"Unlinked from WordPress.com.":["워드프레스닷컴에서 링크 해제되었습니다."],"Error unlinking from WordPress.com. %(error)s":["워드프레스닷컴에서 링크 해제하는 동안 오류가 발생했습니다. %(error)s"],"At A Glance":["둘러보기"],"Dashboard":["알림판"],"Automattic's Privacy Policy":["Automattic's 개인정보 보호정책"],"WordPress.com Terms of Service":["워드프레스닷컴 서비스 약관"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}플러그인 자동 업데이트를 켭니다.{{/a}}"],"Plugin Updates":["플러그인 업데이트"],"No threats found, you're good to go!":["위협이 발견되지 않았으므로, 이동할 수 있습니다!"],"{{a}}Contact Support{{/a}}":["{{a}}지원팀에 문의{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}VaultPress.com에서 세부 사항 보기{{/a}}"],"Uh oh, %(number)s threat found.":["%(number)s 위협을 발견했습니다."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["사이트가 다운된 경우 이메일 알림을 받으려면 {{a}}Monitor를 활성화{{/a}}하세요."],"Loading…":["로드 중..."],"Downtime monitor":[""],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}워드프레스닷컴에서 추가 통계 보기 {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}이전 통계 보기{{/button}}"],"All-time comments":["최고 댓글"],"All-time views":["모든 시간 보기"],"%(number)s View":["%(number)s 보기"],"Best overall day":["전반적으로 최상의 날"],"Views today":["오늘 보기"],"Months":["월"],"Weeks":["주"],"Days":["일"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["통계를 로드하는 동안 문제가 발생했습니다. 나중에 다시 시도하거나 {{a}}워드프레스닷컴에서 통계를 보세요{{/a}}"],"Click to view detailed stats.":["세부 통계를 보려면 클릭하세요."],"Views: %(numberOfViews)s":["보기: %(numberOfViews)s"],"Week of %(date)s":["%(date)s번째 주"],"Site Security":["사이트 보안"],"Link to WordPress.com":["워드프레스닷컴에 연결"],"Unlink me from WordPress.com":["워드프레스닷컴에서 링크 해제"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["젯팩을 연결하는 데 문제가 발생했습니다. \"워드프레스닷컴 연결하기\"를 다시 클릭하세요."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["젯팩을 연결하는 데 문제가 발생했습니다. 젯팩 플러그인을 비활성화했다가 재활성화한 후 다시 연결하세요."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["젯팩에 권한을 주려면 워드프레스 블로그에 로그인되어 있어야 합니다."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}젯팩에 문제가 있습니다.{{/s}} 불편을 드려 죄송합니다. 나중에 다시 시도하세요. 문제가 계속되면 다음 메시지로 지원팀에 문의하세요. %(error_key)s"],"Disconnecting Jetpack":["젯팩 연결 해제 중"],"Learn more":["더 알아보기"],"Posts":["글"],"Front page":["전면 페이지"],"Upload videos":[""],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["글 다음에 관련 콘텐츠 보이기"],"Related":["관련"],"Disconnect":["연결 끊기"],"Save":["저장하기"],"Media":["미디어"],"Mobile Theme":["모바일 테마"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTex는 복잡한 수학 방정식 및 공식을 작성하기 위한 강력한 마크업 언어입니다."],"Site Stats":["사이트 통계"],"Sharing":["공유"],"Testimonials":["추천 글"],"Cancel":["취소"],"Comments":["댓글"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["젯팩이 워드프레스닷컴에 연결할 수 없습니다. %(error_key)s. 이는 웹 호스트에서 설정이 잘못되었다는 것을 의미합니다."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["워드프레스닷컴이 지금 문제가 있어서 젯팩을 도울 수 없습니다. 나중에 다시 해보세요."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}젯팩에 문제가 있습니다.{{/s}} 이 사이트를 워드프레스닷컴과 연결할 수 없습니다. 즉, 고객님의 사이트에 공개적으로 액세스할 수 없습니다(localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["젯팩을 사용하려면 고객님의 웹사이트에 공개적으로 액세스할 수 있어야 합니다. %(error_key)s"],"Edit":["편집"],"Connected":["연결됨"],"Activate":["활성화"],"Active":["활성"],"Settings":["설정"],"Learn More":["더 알아보기"],"Disconnect Jetpack":["Jetpack 분리"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}참고:{{/b}} 이 기능의 사용이 중지되며 3월에 젯팩에서 제거됩니다. {{link}}더 알아보기{{/link}}"],"Settings header\u0004Jetpack Backup":["젯팩 백업"],"Settings header\u0004Anti-spam":["스팸 방지"],"Settings header\u0004WP.me Shortlinks":["WP.me 단축 링크"],"Settings header\u0004Auto-update plugins":["플러그인 자동 업데이트"],"Settings header\u0004Widgets":["위젯"],"Settings header\u0004Downtime monitoring":["다운시간 모니터링"],"Settings header\u0004Privacy Settings":["프라이버시 설정"],"Settings header\u0004WordPress.com toolbar":["워드프레스닷컴 도구 모음"],"Settings header\u0004Composing":["작성"],"Settings header\u0004Site stats":["사이트 통계"],"Settings header\u0004Search engine optimization":["검색 엔진 최적화"],"Settings header\u0004Google Analytics":["Google 웹로그 분석"],"Settings header\u0004Sharing buttons":["공유 버튼"],"Settings header\u0004Publicize connections":["배포 기능 연결"],"Settings header\u0004Like buttons":["좋아요 버튼"],"Settings header\u0004Brute force attack protection":["무차별 공격 대입 보호"],"Settings header\u0004Backups and security scanning":["백업 및 보안 검사"],"Notice in the empty statistics chart\u0004No activity this period":["이 기간에 활동이 없음"],"Settings header, noun.\u0004WordPress.com login":["워드프레스닷컴 로그인"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["링크 전송"],"A caption for a button to cancel an action.\u0004Cancel":["취소"],"Link to learn more about Jetpack.\u0004About":["정보"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["모듈"],"Navigation item.\u0004Performance":["성능"],"Navigation item.\u0004My Plan":["내 요금제"],"Navigation item.\u0004Dev Tools":["개발자 도구"],"Navigation item.\u0004Settings":["설정"],"Navigation item.\u0004Discussion":["토론"],"Navigation item.\u0004Traffic":["트래픽"],"Navigation item.\u0004Sharing":["공유"],"Navigation item.\u0004At A Glance":["둘러보기"],"Navigation item.\u0004Plans":["요금제"],"Navigation item.\u0004Writing":["쓰기"],"Navigation item.\u0004Reset Options (dev only)":["옵션 재설정(개발자 버전 전용)"],"Navigation item.\u0004Security":["보안"],"Navigation item.\u0004At a Glance":["둘러보기"],"Search term.\u0004terms of service":["서비스 약관"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["데이터"],"Search term.\u0004tracks":["트랙"],"Search term.\u0004privacy":["개인정보"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["업그레이드"],"Button caption\u0004Saving…":["저장 중…"],"Button caption\u0004Save settings":["설정 저장"],"A heading for a block of related posts.\u0004Related":["관련"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["미리보기"],"Short warning message\u0004Updates needed":["업데이트 필요"],"Short label appearing near a paid feature configuration block.\u0004Paid":["유료"],"A header for a preview area in the configuration screen.\u0004Preview":["미리보기"],"Ads header\u0004Ads":["광고"],"Dashboard widget header\u0004Site connection":["사이트 연결"],"Dashboard widget header\u0004Account connection":["계정 연결"],"A caption for a small button to fix security issues.\u0004Threats":["위협"],"A caption for a small button to fix security issues.\u0004FIX":["해결"],"Short warning message about new threats found.\u0004Threats found!":["위협이 발견되었습니다!"],"Short message informing user that the site is secure.\u0004Secure":["보안"],"Caption for a button to set up a feature.\u0004Set up":["설정"],"verb\u0004Copy":["복사"],"Shorthand for Privacy Policy.\u0004Privacy":["개인 정보"],"Shorthand for Terms of Service.\u0004Terms":["용어"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["디버그"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["스팸 댓글이 차단되었습니다."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-lt_LT-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-lt_LT-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index f668f296..00000000
--- a/plugins/jetpack/languages/json/jetpack-lt_LT-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"lt"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Sužinokite daugiau"],"Posts":["Įrašai"],"Front page":[""],"Pinterest":[""],"Google":[""],"Show related content after posts":["Rodyti susijusio turinio po pranešimų"],"Related":["Susiję straipsniai"],"Disconnect":["Atsijungti"],"Save":["Išsaugoti"],"Media":["Failai"],"Site Stats":["Puslapio statistika"],"Sharing":["Dalinimasis"],"Testimonials":[""],"Cancel":["Atšaukti"],"Comments":["Komentarai"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Redaguoti"],"Connected":["Prisijungta"],"Activate":["Įjungti"],"Active":[""],"Settings":["Nuostatos"],"Learn More":["Sužinokite daugiau"],"Disconnect Jetpack":["Atjunkite Jetpack"],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-lv-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-lv-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 40203499..00000000
--- a/plugins/jetpack/languages/json/jetpack-lv-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);","lang":"lv"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":["Abonoments"],"Big iPhone/iPad Update Now Available":["Liels iPhone/iPad atjauninājums ir pieejams"],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":["Krāpjamies, ja ?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":["Jūsu Jetpack jau ir savienots."],"You're fueled up and ready to go, Jetpack is now active.":["Jūs esat uzpildīts un gatavs doties, Jetpack tagad ir aktīvs."],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":["Ļaujiet mums zināt!"],"Saving…":["Saglabā..."],"Save Settings":["Saglabāt Iestatījumus"],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":["Aktīvo vietņu statistika"],"Upgrade":[""],"ACTIVE":["AKTĪVS"],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":[""],"Posts":[""],"Front page":[""],"Pinterest":[""],"Google":[""],"Show related content after posts":[""],"Related":[""],"Disconnect":[""],"Save":["Saglabāt"],"Media":[""],"Site Stats":["Portāla statistika"],"Sharing":[""],"Testimonials":["Atsauksmes"],"Cancel":["Atcelt"],"Comments":[""],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Labot"],"Connected":[""],"Activate":["Aktivizēt"],"Active":["Aktīvs"],"Settings":["Uzstādījumi"],"Learn More":["Uzzināt vairāk"],"Disconnect Jetpack":["Atslēgt Jetpack"],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-mk_MK-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-mk_MK-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index a9a03149..00000000
--- a/plugins/jetpack/languages/json/jetpack-mk_MK-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n==1 || n%10==1 ? 0 : 1;","lang":"mk"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Повеќе..."],"Posts":["Написи"],"Front page":[""],"Pinterest":[""],"Google":[""],"Show related content after posts":[""],"Related":[""],"Disconnect":[""],"Save":["Зачувај"],"Media":["Мултимедија"],"Site Stats":["Статистика"],"Sharing":["Споделување"],"Testimonials":[""],"Cancel":["Откажи"],"Comments":["Коментари"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["Моментално WordPress.com има проблеми и Jetpack е оневозможен. Ве молам обидете се подоцна."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Уреди"],"Connected":[""],"Activate":["Активирај"],"Active":[""],"Settings":["Поставувања"],"Learn More":["Повеќе..."],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ms_MY-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ms_MY-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index f8a79094..00000000
--- a/plugins/jetpack/languages/json/jetpack-ms_MY-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"ms"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":[""],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":[""],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":[""],"Posts":["Kiriman"],"Front page":[""],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":[""],"Related":["Berkaitan"],"Disconnect":[""],"Save":["Simpan"],"Media":["Media"],"Site Stats":["Statistik Laman"],"Sharing":[""],"Testimonials":["Testimoni"],"Cancel":["Batal"],"Comments":["Komentar"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Ubah"],"Connected":[""],"Activate":["Aktifkan"],"Active":["Aktif"],"Settings":["Tetapan"],"Learn More":[""],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-my_MM-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-my_MM-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 8431b75d..00000000
--- a/plugins/jetpack/languages/json/jetpack-my_MM-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;"},"Disconnect Jetpack":[""],"Disconnecting Jetpack":[""],"Learn more":[""],"Front page":["ရှေ့စာမျက်နှာ"],"Posts":["စာမူများ"],"Site Stats":[""],"Save":["သိမ်းပါ"],"Disconnect":[""],"Related":[""],"Show related content after posts":[""],"Google":[""],"Pinterest":[""],"Mobile Theme":[""],"Comments":["မှတ်ချက်များ"],"Media":["မီဒီယာ"],"Sharing":[""],"Cancel":["ပယ်ဖျက်"],"Testimonials":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"Learn More":[""],"Settings":["သတ်မှတ်ချက်များ"],"Active":["အသက်ဝင်ပြီး"],"Activate":["စတင် အလုပ်လုပ်ပါ"],"Connected":[""],"Edit":["ပြုပြင်ပါ"]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-nb_NO-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-nb_NO-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index f3bc75a3..00000000
--- a/plugins/jetpack/languages/json/jetpack-nb_NO-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"nb_NO"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":["Fornyes den %s."],"Purchased on %s.":["Kjøpt den %s."],"Select a backup option:":["Velg sikkerhetskopi-alternativ:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Oppgrader til %(name)s for {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Du sparer {{savings /}} ved å betale årlig"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Skynd deg, dette er {{s}}tidsbegrensede innledningspriser{{/s}}"],"Up to %(percent)d%% off!":["Opp til %(percent)d%% avslag!"],"per month":["pr. måned"],"per year":["pr. år"],"Which backup option is best for me?":["Hvilket sikkerhetskopi-alternativ er best for meg?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Behandle abonnement"],"Your site is being backed up.":["Ditt nettsted blir sikkerhetskopiert."],"You need to enter your server credentials to finish configuring Jetpack Backup.":[""],"Jetpack Backup is being configured for your site.":["Jetpack sikkerhetskopiering er satt opp for ditt nettsted."],"Daily Backups":["Daglige sikkerhetskopier"],"Just looking for backups? We've got you covered.":["Ser du bare etter sikkerhetskopier? Vi har dekket deg."],"Solutions":["Løsninger"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Inkludert i din {{planLink}}Professjonelle pakke{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Inkludert i din {{planLink}}Premium-pakke{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Inkludert i din {{planLink}}Personlige pakke{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":[""],"Always-on backups ensure you never lose your site.":[""],"My Products":["Mine produkter"],"My Plan":["Min pakke"],"Jetpack Backup {{em}}Real-Time{{/em}}":[""],"Your data is being securely backed up as you edit.":[""],"Jetpack Backup {{em}}Daily{{/em}}":[""],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":["Jetpack Profesjonell"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personlig"],"Jetpack Free":["Jetpack Gratis"],"Expired on %s.":["Utløpte %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Har du et spørsmål? Vi vil gjerne hjelpe! {{a}}Send et spørsmål til brukerstøttegruppen hos Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack har mange kraftige verktøy som kan hjelpe deg nå dine mål"]," We’ve highlighted some of the features you rely on below.":[" Vi har uthevet noen av funksjonene du bruker nedenfor."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack driver for tiden funksjoner på ditt nettsted. Straks du deaktiverer Jetpack vil disse funksjonene ikke lenger være tilgjengelige og ditt nettsted vil kanskje ikke lenger fungere på samme måte."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack driver for tiden funksjoner på ditt nettsted. Straks du kobler fra Jetpack vil disse funksjonene ikke lenger være tilgjengelige og ditt nettsted vil kanskje ikke lenger fungere på samme måte."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Øk din trafikk med automatisk sosial {{a}}publisering og deling{{/a}}"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Blokkér {{a}}brute force-angrep{{/a}} og få øyeblikkelig varsel om ditt nettsted er nede"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Få fart på ditt nettsted og levér mobilvennlige bilder med {{a}}vårt CDN{{/a}}"],"Disable":["Deaktiver"],"Are you sure you want to disconnect and deactivate?":["Er du sikker på at du vil koble fra og deaktivere?"],"Are you sure you want to disconnect?":["Er du sikker på at du vil koble fra?"],"Disable Jetpack":["Deaktiver Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Vi sikkerhetskopierer ditt nettsted for hver endring du gjør, noe som gjør det enkelt å rette opp dine feiltrinn."],"Automated Real-time Backups":["Automatiske sanntids sikkerhetskopieringer"],"We back up your website every day, so you never have to worry about your data again.":["Vi sikkerhetskopierer ditt nettsted hver dag, så du slipper å bekymre deg for dine data igjen."],"Automated Daily Backups":["Automatiske daglige sikkerhetskopier"],"View Your Backups":["Se dine sikkerhetskopier"],"A Jetpack Site securely backed up with Jetpack Backup":["Et Jetpack-nettsted trygt sikkerhetskopiert med Jetpack Sikkerhetskopi"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Aktiver{{/a}} for å optimalisere bildestørrelser og laste bilder fra Jetpack's raske global nettverk av servere. Dette forbedrer ytelsen på nettstedet ditt på skrivebords- og mobile enheter."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack optimaliserer dine bilder og deres nedlastingshastighet gjennom vårt raske, globale nettverk av servere. Dette forbedre ytelsen på ditt nettsted på skrivebords- og mobile enheter."],"Image Accelerator":["Bildeaksellerator"],"Start with free":["Start med gratis."],"Now that you're set up, pick a plan that fits your needs.":["Nå som du er klar, velg en pakke som passer dine behov."],"Jetpack Backup":["Jetpack sikkerhetskopi"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Din Jetpack abonnementspakke tilbyr antispam-beskyttelse gjennom Akismet. Klikk 'sett opp' for å aktivere det på ditt nettsted."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Har du allerede en nøkkel? {{a}}Aktiver Akismet{{/a}}"],"Verifying…":["Verifiserer..."],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Få opp på din søkemotor-rangering med kraftige SEO-verktøy i Jetpack Premium eller Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Gi ditt nettsted et hurtiglastet og strømlinjeformet utseende på mobile enheter. Besøkende vil se ditt vanlige tema på andre skjermstørrelser."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Skap en jevn, uavbrutt leseopplevelse ved å laste mer innhold når besøkende ruller ned til bunnen av dine arkivsider."],"Customize your SEO settings":["Tilpass dine SEO-innstillinger"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Ta kontroll med hvordan søkemotorer presenterer ditt nettsted. Med Jetpacks SEO-verktøy kan du forhåndsvise hvordan ditt innhold vil se ut på populære søkemotorer og endre elementer som nettstedstittel og slagord på sekunder."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Legg til delingsknapper slik at besøkende kan dele dine innlegg og sider på sosiale medier med et par raske klikk."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Inkluder et lite diagram på din verktøyrad med et 24-timers øyeblikksbilde"],"Expand to update settings for how visits are counted and manage who can view this information.":["Utvid for å oppdatere innstillinger for hvordan besøkende telles og bestem hvem som kan se denne informasjonen."],"You can customize the sharing buttons and choose which services to display.":["Du kan tilpasse delingsknappene og velge hvilke tjenester å vise."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Ditt nettsted er beskyttet av Jetpack. Du vil bli varslet om det trenger oppmerksomhet."],"Find threats early so we can help fix them fast.":["Oppdage trusler tidlig slik at vi raskt kan hjelpe med å rette dem."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Erstatt ditt nettsteds grunnleggende søkefunksjon med et tilpassbart søk som hjelper besøkende il raskere å finne svar."],"Never worry about losing your site – automatic backups keep your content safe.":["Bekymre deg aldri for å miste ditt nettsted - automatiske sikkerhetskopier holder innholdet ditt trygt."],"Protect":["Beskytt"],"Scan":["Skann"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Fjern spam automatisk fra dine kommentarer slik at du kan holde på med din virksomhet."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Koble siden din til Google Analytics på sekunder med Jetpack Premium eller Professional."],"Log in to the WordPress mobile app":["Logg inn i WordPress-mobilappen"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Logg inn i WordPress.com-appen enkelt ved å følge lenken vi sender til e-postadressen knyttet til din konto."],"Email me a link to log in to the app":["Send meg en innloggingslenke til appen på epost"],"Send your new posts to this email address:":["Send dine nye innlegg til denne epost-adressen:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["WordPress-com-verktøylinjen erstatter den standard admin-verktøylinjen i WordPress. Den tilbyr ett-klikks tilgang til varslinger, WordPress.com-profilen din og andre Jetpack- og WordPress.com-nettsider. Du kan også følge med på nettsteder du følger med Leser."],"Verify site ownership with third party services":["Bekreft nettstedseierskap overfor tredjepartstjenester"],"Generate shortened URLs for simpler sharing.":["Genererer kortere URLer for enklere deling."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Hold dine besøkende engasjert med relatert innhold i bunnen av hvert innlegg. Disse innstillingene vil ikke brukes for {{a}}relaterte innlegg lagt til i blokkredigeringen{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Funksjonen hjelper besøkende finne mer av ditt innhold ved å vise relaterte innlegg i bunnen av hvert innlegg."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":[""],"Add sharing buttons to your posts and pages":["Legg til delingsknapper på dine innlegg og sider"],"Share your content to social media, reaching new audiences and increasing engagement.":["Del ditt innhold på sosiale medier, nå ut til nytt publikum og få økt engasjement."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Få varsler om ditt nettsted går ned. Vi vil også informere deg når det er oppe igjen."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Med Jetpack kan du velge å få alle dine utvidelser automatisk oppdatert for hver nye utgivelse. Du vil få de siste sikkerhets- og feilfiksene med én gang, som sørger for å holde ditt nettsted sikkert."],"Choose which plugins to auto-update":["Velg hvilke utvidelser å oppgradere automatisk"],"Upgrade Jetpack now":["Oppgrader Jetpack nå"],"Monetize your site by running high quality ads.":["Tjen penger på ditt nettsted ved å vise annonser av høy kvalitet."],"Customize your social posting schedule.":["Tilpass din plan for å publisering i sosiale medier."],"Expand your audience with pro SEO tools.":["Utvid ditt publikum med pro SEO-verktøy."],"Take your site to the next level!":["Da ditt nettsted til neste nivå!"],"Search support docs":["Søk brukerstøttedokumenter"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Trenger du hjelp? Lær om å komme i gang, tilpasse ditt nettsted, bruke avanserte kodesnutter og mer."],"Start sharing":["Start å dele"],"Optimized performance":["Optimalisert ytelse"],"Enable the “subscribe to comments” option on your comment form":["Skru på alternativet \"abonner på kommntarer\" i ditt kommentarskjema"],"Enable the “subscribe to site” option on your comment form":["Skru på alternativet \"abonner på nettstedet\" i ditt kommentarskjema"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Behandle avanserte kommentar-innstillinger og utvid ditt publikum med e-postabonnementer."],"Comment form introduction":["Introduksjon for kommentarfeltet"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack anti-spam drevet av Akismet. Kommentarer og kontakt-innsending blir sjekket mot en global database med spam."],"Failed to send login email":["Mislyktes å sende e-post for innlogging"],"Login email sent":["E-post for innlogging sendt"],"Sending login email…":["Sender e-post for innlogging..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Bekymret for sikkerhet? Få sikkerhetskopier, automatiske sikkerhetsfikser og mer: {{a}}Oppgrader nå{{/a}}"],"Allow readers to like individual comments.":["La lesere like individuelle kommentarer."],"Enable comment likes.":["Slå på kommentarliking"],"Allow readers to use markdown in comments.":["La lesere bruke markdown i sine kommentarer."],"Show Gravatar hovercards alongside comments.":["Vis Gravatar-svevekort ved siden av kommentarer."],"Complete Jetpack Setup":["Fullfør Jetpack-oppsettet"],"Your Jetpack setup progress":["Fremdriften av ditt Jeptack-oppsett"],"View your setup checklist":["Se din sjekkliste for oppsettet"],"Yearly":["Årlig"],"Monthly":["Månedlig"],"About Jetpack":["Om Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Skru på mulighet for widget-synlighet for å vise widgeter bare på bestemte innlegg eller sider."],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Widget-synlighet lar deg avgjøre hvilke widgeter som vises på hvilke sider, slik at du nøyaktig kan skreddersy widget-innholdet."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Gjør ekstra widgeter tilgjengelige for bruk på nettstedet dit, inkludert abonnementsskjemaer og Twitter-strømmer."],"Enhance CSS customization panel":["Forbedre panelet for CSS-tilpasninger"],"Writing":["Skriving"],"Compose using shortcodes to embed media from popular sites":["Komponer innhold ved å bruke kortkoder for å bygge inn medieinnhold fra populære nettsteder."],"Traffic":["Trafikk"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Du må angi innlogingsinformasjon til din server for å fullføre konfigureringen av sikkerhetskopier og skanning."],"Awaiting credentials":["Venter på innloggingsinformasjon"],"Backups and Scan are being configured for your site.":["Sikkerhetskopier og skanning er konfigurert for ditt nettsted."],"Provisioning":["Klargjøring"],"Action needed":["Handling påkrevet"],"Setting up":["Setter opp"],"Discussion":["Diskusjon"],"We are configuring your site protection.":["Vi konfigurerer beskyttelsen for ditt nettsted."],"View your site's backups":["Se sikkerhetskopiene for nettstedet"],"We are backing up your site in real-time.":["Vi sikkerhetskopierer ditt nettsted i sanntid."],"Enter credentials":["Oppgi innloggingsopplysninger"],"You need to enter your server's credentials to finish the setup.":["Du må oppgi innloggingsinformasjon til din server for å fullføre oppsettet."],"We are configuring your site's backups.":["Vi konfigurerer sikkerhetskopier for ditt nettsted."],"View site activity":["Vis nettstedsaktivitet"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack holder fullstendig oversikt over alt som skjer på ditt nettsted, noe som fjerner gjetninger fra nettstedsadministrasjon, feilsøking og feilretting."],"Explore our Jetpack plans":["Utforsk våre Jetpack abonnementspakker"],"Support documentation":["Brukerstøtte-dokumentasjon"],"Chat bubbles representing getting in touch with support":["Pratebobler for å komme i kontakt med brukerstøtte"],"Site activity":["Nettstedsaktivitet"],"Reach a wider audience by automatically sharing your posts on social media.":["Nå ut til et bredere publikum ved automatisk å dele dine innlegg på sosiale medier."],"Increase traffic to your site":["Øk trafikken på ditt nettsted"],"Explore free themes":["Utforsk gratis temaer"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Få ubegrenset tilgang til hundrevis av profesjonelle temaer og tilpass ditt nettsted akkurat som du liker det."],"A wide variety of themes and tools to customize a site":["Et bredt utvalg av temaer og verktøy for å tilpasse et nettsted"],"Set up your site security":["Sett opp sikkerhet på nettstedet"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Forhindre innloggingsangrep og få øyeblikkelige varsler om det er et problem på ditt nettsted."],"Site stats showing an evolution in traffic and engagement":["Netstedsstatistikk som viser utvikling av trafikk og engasjement"],"A hand holding a loupe":["En hånd som holder en lupe"],"A chart showing an healthy increase in earnings":["Et diagram som som viser sunn økning i inntjeningen"],"Interface showing a chronological list of changes and updates in a site":["Brukergrensesnitt som viser en kronologisk liste over endringer og oppdateringer på et nettsted"],"A cloud with multiple types of content floating around it":["En sky med flere typer innhold som flyter rundt den"],"A folder holding real comments":["En mappe som innholder ekte kommentarer"],"Make your site faster":["Gjør ditt nettsted raskere"],"Load pages faster by serving your images from our global network of servers.":["Last sider raskere ved å få dine bilder levert fra vårt globale nettverk av servere."],"A fast and performant website":["Et raskt nettsted med god ytelse"],"A secure site, locked and protected by Jetpack":["Et sikkert nettsted og beskyttet av Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Kopier eksisterende innlegg, sider, anbefalinger og portefølje. Alt innholdet vil bli kopiert, inkludert tekst, fremhevet bilde, delingsinstillinger og mer."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Dette nettstedet kan ikke kobles til WordPress.com fordi det bryter med våre {{a}}tjenestevilkår{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Koble ditt nettsted til de sosiale medianettverk du bruker og del ditt innhold til alle dine sosiale konti med et enkelt klikk. Når du publiserer et innlegg vil det dukke opp på alle tilkoblede konti."],"Add Like buttons to your posts and pages":["Legg til Liker-knapper på innlegg og sider"],"When visitors enjoy your content, let them show it with a Like.":["La besøkende har glede av ditt innhold, la dem vise det med en Liker."],"Create account":["Opprett en konto"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack gir kraft til ditt nettsted, men for å få tilgang til alle funksjonene trenger du å opprette en konto."],"Compose content the way you want to and streamline your publishing experience.":["Sett sammen innhold på den måten du ønsker og strømlinjeform dine publiseringsopplevelse."],"Add a portfolio item":["Legg til et portefølje-element"],"Add a testimonial":["Legg til en omtale"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Gjør dit nettsted maksimalt synlig i søkemotorer og vis trafikkdata i sanntid."],"Create a Jetpack account to use this feature":["Opprett en Jetpack-konto for å bruke denne funksjonen"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack vil kontinuerlig overvåke ditt nettsted og varsle deg straks nedetid blir oppdaget."],"Error enabling Site accelerator. %(error)s":["Feil ved aktivering av nettstedsakselerator. %(error)s"],"Site accelerator is now speeding up your site!":["Nettstedsakselerator får nå fart på nettstedet ditt!"],"Enabling Site accelerator…":["Aktiverer nettstedakselerator..."],"Error disabling site accelerator. %(error)s":["Feil ved deaktivering av nettstedsakselerator. %(error)s"],"Site accelerator is no longer speeding up your site!":["Nettstedakselerator gir ikke lenger fart til nettstedet ditt!"],"Disabling site accelerator…":["Deaktiverer nettstedsakselerator..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Last sider raskere, optimaliser bilder og øk farten på dine besøkendes opplevelse."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Komplementer statistikken fra WordPress.com med Googles detaljerte innsyn i dine besøkende og trafikkmønstre."],"High-speed, high-definition video hosting with no third-party ads.":["Høyhastighets-, høydefinisjons video-hosting uten tredjeparts annonser."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Planlegg ubegrenset Twitter-oppdateringer, Facebook-innlegg og andre sosiale innlegg på forhånd."],"Marketing Automation":["Automatisering av markedsføring"],"Activate Jetpack Search":["Aktiver Jetpack Søk"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Bytt ut standard WordPress-søk med bedre resultater og filtrering drevet av Elasticsearch."],"Start earning":["Start tjene penger"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds lar deg tjene penger ved å vise salgsfremmende innhold. Start å tjene i dag."],"Spam is automatically blocked from your comments.":["Spam blir automatisk blokkert fra ditt dine kommentarer."],"Browse premium themes":["Bla gjennom premium-temaer"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Få tilgang til hundrevis av nydelig utformede premium-temaer uten ekstra kostnad."],"Try a premium theme":["Prøv et premium-tema"],"View settings":["Se på innstillinger"],"Create a Jetpack account to view your email followers":["Opprett en Jetpack-konto for å se dine e-postfølgere"],"Manage security settings":["Behandle dine sikkerhetsinnstillinger"],"Jetpack is ready for the new WordPress editor":["Jetpack er klar for det nye redigeringsverktøyet i WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["I dag introduserer vi den første bølgen av Jetpack-spesifikke blokker bygget spesifikt for den nye redigeringsopplevelsen. Knapp for Simple Payment, skjema, kart og markdown."],"Build your Jetpack site with blocks":["Bygg ditt Jetpack-nettsted med blokker"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Et nytt redigeringsverktøy? Ja! {{a}}Lær mer{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["De funksjonene du regner med, overført til det nye redigeringsverktøyet for WordPress."],"Take me to the new editor":["Ta meg til det nye redigeringsverktøyet"],"Testing Jetpack Connection":["Tester Jetpack-tilkoblingen"],"There was an error testing Jetpack. Error: %(error)s":["Det oppsto en feil ved testing av Jetpack. Feil: %(error)s"],"New in Jetpack!":["Nytt i Jetpack!"],"Speed up static file load times":["Få fart på lasting av statiske filer"],"Speed up image load times":["Få fart på lasting av bilder"],"Enable site accelerator":["Aktiver nettstedsakselleratoren"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Last sider raskere ved å tillate Jetpack å optimalisere dine bilder og levere dine bilder og statiske filer (som CSS og Javascript) fra vårt globale nettverk av servere."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Legg til et ekstra lag med sikkerhet til ditt nettsted ved å aktivere innlogging og sikker autensering via WordPress.com. Hvis du har flere nettsteder med dette alternativet aktivert vil du kunne logge inn på alle disse med samme legitimasjon."],"View your site activity":["Vis aktiviteten på ditt nettsted"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Vis en kronologisk oversikt over alle endringer og oppdateringer på ditt nettsted på en organisert og lesbar måte."],"Manually Verify ":["Verifiser manualt"],"Verify with Google":["Verifiser med Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google vil sende deg e-post om visse hendelser på ditt nettsted, inkludert indikasjoner på at ditt nettsted har blitt {{a1}}hacket{{/a1}}, eller problemer med {{a2}}gjennomsøking eller indeksering{{/a2}} av ditt nettsted."],"or":["eller"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Følg med på trafikken og ytelsen på ditt nettsted fra {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Ditt nettsted er verifisert hos Google"],"Site failed to verify: %(error)s":["Nettstedet kunne ikke verifiseres: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Legg til raskere og mer avansert søking til ditt nettsted, med Jetpack Profesjonell."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Bytt ut det innebygde søket i WordPress med Jetpack-søk, en avansert søkeopplevelse."],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack-søk erstatter det innebygde søket med et raskt, skalerbart, tilpassbart og høyst relevant søk drevet av nettskyen til WordPress.com. Resultatet: Dine brukere finner det innholdet de ønsker, raskere."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["Det innebygde WordPress-søket er flott for nettsteder med ikke så mye innhold. Men etterhvert som ditt nettsted vokser blir søk tregere og gir mindre relevante resultater."],"Jetpack Search supports many customizations.":["Jetpack støtter mange tilpasninger."],"Site is verified":["Nettstedet er verifisert"],"Spam filtering and priority support.":["Spam-filtrering og prioritert brukerstøtte."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Når annonser er aktivert vil Jetpack automatiske generere en tilpasset ads.txt-fil skreddersydd for ditt nettsted."],"Custom ads.txt entries":["Tilpassede oppføringer for ads.txt"],"Privacy information":["Informasjon om personvern"],"Enable Lazy Loading for images":["Aktiver lat lasting av bilder"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Lat lasting av bilder forbedrer hastigheten på ditt nettsted og skaper en jevnere visningsopplevelse. Bilder vil lastes etter hvert som besøkende ruller ned på siden i stedet for alle på én gang."],"Performance & speed":["Ytelse og hastighet"],"Enable high-speed, ad-free video player":["Aktiver en hurtig, reklamefri videoavspiller"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Gjør innholdet du publiserer mer engasjerende med høyoppløselig video. Med Jetpack Video kan du tilpasse din medieavspiller og levere høyhastighets-, reklamefrie og umerkede videoer til dine besøkende. Videoene ligger på våre servere på WordPress.com og tar ikke opp plass hos din nettvert eller på ditt webhotell."],"Video":["Video"],"Carousel color scheme":["Fargeskjema for karusell"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif-data viser seerne ekstra tekniske detaljer om et foto, som brennvidde, blenderåpning og filmhastighet (ISO)."],"Show photo Exif metadata in carousel (when available)":["Vis exif-data for foto i karusell (når tilgjengelig)"],"Display images in a full-screen carousel gallery":["Vis bilder i et fullskjerms karusell-galleri"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Lag fullskjerms karusell-lysbildevisning for bildene i dine innlegg og sider. Karusell-gallerier er mobilvennlige og oppmuntrer besøkende til å samhandle med bildene dine."],"Portfolios shortcode: [portfolio]":["Kortkode for portefølje: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Bruk {{portfolioLink}}porteføljer{{/portfolioLink}} på ditt nettsted for å vise frem dine beste arbeider. Hvis ditt tema ikke støtter Jetpacks porteføljer kan du likevel bruke en enkel kortkode for å vise dem på ditt nettsted."],"Testimonials shortcode: [testimonials]":["Kortkode for anbefalinger: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Legg til {{testimonialLink}}anbefalinger{{/testimonialLink}} på ditt nettsted for å tiltrekke nye kunder. Hvis ditt tema ikke støtter Jetpacks anbefalinger kan du likevel bruke en enkel kortkode for å vise dem på ditt nettsted. "],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Søkemotorer kan for øyeblikket ikke få tilgang til ditt nettsted. Hvis du ønsker å gjøre ditt nettsted tilgjengelig sjekk {{a}}Innstillinger for lesing{{/a}} og skru på \"Synlighet for søkemotorer\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Gode nyheter: Jetpack sender automatisk ditt nettkart til alle større søkemotorer for indeksering."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Nettkart er dokumenter som søkemotorer som Google og Bing bruker for å indeksere din nettside. De kan hjelpe til med å forbedre din rangering i søkeresultater. Når du aktiverer denne funksjonen vil Jetpack opprette nettkart for deg og oppdatere dem automatisk når innholdet på nettstedet ditt endres."],"Configure related posts in the Customizer":["Konfigurer relaterte innlegg i Tilpasseren"],"Highlight related content with a heading":["Fremhev relatert innhold med en topptekst"],"View security scan details":["Vis detaljer fra sikkerhets-skanning"],"Test your site’s compatibility with Jetpack.":["Sjekk ditt nettsteds kompatibilitet med Jetpack."],"Show a thumbnail image where available":["Vis et miniatyrbilde når tilgjengelig"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["For mer informasjon om hvordan hver Jetpack-funksjon bruker data og sporer aktiviter, vennligst se vårt {{privacyCenterLink}}personvernsenter{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Vi bruker andre sporingsverktøy, inkludert noen fra tredjepart. {{cookiePolicyLink}}Les om disse{{/cookiePolicyLink}} og hvordan kontrollere dem."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Denne informasjonen hjelper oss med å forbedre våre produkter, gjøre markedsføring overfor deg mer relevant, tilpasse din opplevelse av WordPress.com og mer til, som beskrevet i detalj i vår {{pp}}personvernerklæring{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Del informasjon med vårt analyseverktøyom din bruk av tjenester når du er logget inn på din konto hos WordPress.com. {{cookiePolicyLink}}Lær mer om dette{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Denne funksjonen blir behandlet av en administrator. {{link}}Lær mer{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Denne funksjonen hare blitt deaktivert av en administrator. {{link}}Lær mer{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Denne funksjonen har blitt aktivert av en administrator. {{link}}Lær mer{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s har blitt deaktivert av en administrator. {{link}}Lær mer{{/link}}."],"This feature has been disabled by a site administrator.":["Denne funksjonen har blitt deaktivert av en administrator."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s har blitt deaktivert av en administrator."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Du kan legge ut flere annonser med annonse-widgeten. {{link}}Prøv den!{{/link}}"],"Configure your notification settings":["Konfigurer dine innstillinger for varslinger"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpacks søkemodul er en kraftfull erstatning for søkemulighetene som er innebygget i WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Filene på ditt nettsted blir regelmessig undersøkt for uautoriserte eller mistenkelige endringer som kunne kompromittere din sikkerhet eller data."],"Plugin needs updating.":["Utvidelse trenger oppdatering.","Utvidelser trenger oppdatering."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpacks utvidelsesoppdateringer lar deg velge hvilke utvidelser som oppdateres automatisk."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack vil optimalisere dine bilder og levere dem fra en serverplassering nær dine besøkende. Bruk av vårt globale nettverk vil øke hastigheten ved lasting av dine sider."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpacks nedetidsovervåking vil holde øye med ditt nettsted og varsle deg straks nedetid oppdages."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpacks sikkerhetskopier lar deg enkelt legge tilbake eller laste ned en sikkerhetskopi fra et bestemt tidspunkt."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Aktiverer et lettvekts, mobilvennlig tema som vil vises til besøkende på mobile enheter."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Laster neste innlegg automatisk når leseren nærmer seg bunnen av siden."],"Allows you to publish new posts by sending an email to a special address.":["Tillater deg å publisere innlegg ved å sende e-post til en spesiell adresse."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Gir de nødvendige, skjulte merkene som trengs for å verifisere ditt nettsted opp mot forskjellige tjenester."],"Displays information on your site activity, including visitors and popular posts or pages.":["Viser informasjon om aktiviteten på ditt nettsted, inkludert besøkende og populære innlegg og sider."],"Allows you to optimize your site and its content for better results in search engines.":["Lar deg optimalisere ditt nettsted og innholdet for bedre resultater i søkemotorer."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrerer ditt WordPress-nettsted med Google Analytics, en plattform som tilbyr innsikter i din trafikk, besøkende og konverteringer."],"Displays high-quality ads on your site that allow you to earn income.":["Vis annonser av høy kvalitet på dine sider og som tillater deg å få inntekt fra den."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Tillater deg automatisk å dele ditt nyeste innhold på sosiale medier, inkludert Facbook og Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Legger til Liker-knapp under ditt innhold slik at besøkende kan vise sin anerkjennelse og fornøyelse."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Tillater registrerte brukere å logge inn på ditt nettsted med sine WordPress.com-konti."],"Protects your site from traditional and distributed brute force login attacks.":["Beskytter ditt nettsted mot tradisjonelle og distribuerte rå makt-angrep."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Sikkerhetskopierer ditt nettsted til de globale WordPress.com-serverne, tillater deg å legge tilbake innholdet i et nødstilfelle eller ved feil."],"Removes spam from comments and contact forms.":["Fjerner spam fra kommentarer og kontaktskjema."],"We are committed to your privacy and security. ":["Vi er forpliktet på ditt personvern og sikkerhet."],"View all Jetpack plans":["Vis alle Jetpacks abonnementspakker"],"Manage your plan":["Behandle din abonnementspakke"],"Your Plan":["Din abonnementspakke"],"You’re currently on Jetpack %(plan)s.":["Du har for tiden på pakken Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Tillater lesere å abonnere på dine innlegg og/eller kommentarer og motta varsling om nytt innhold via e-post."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Erstatter standard WordPress kommentarskjema med et nytt kommentarsystem som inkluderer alternativer for å logge på med sine sosiale media-konti."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Aktiver{{/a}} for å erstatte det innebygde søket i WordPress med en en forbedret søkeopplevelse."],"Add Search (Jetpack) Widget":["Legg til søkewidget fra Jetpack"],"Jetpack Search is powering search on your site.":["Jetpack-søk driver søkesystemet på ditt nettsted."],"Manage your plugins":["Behandle dine utvidelser"],"Moderate comments":["Moderer kommentarer"],"Error updating privacy settings. %(error)s":["Feil ved oppdatering av personverninnstillingene. %(error)s"],"Updated privacy settings.":["Personvern-innstillinger oppdatert."],"Updating privacy settings…":["Oppdaterer personverninnstillingene&hellip;"],"Add Jetpack Search Widget":["Legg til ajax-drevet søkewidget"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Legger til en søkewidget i din sidekolonne for å konfigurere avanserte søkefiltre."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Full sikkerhetspakke, markedsføring og verktøy for automatisering av inntjening, ubegrenset video-hosting, ubegrenset med temaer, forbedret søk og prioritert brukerstøtte."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Full sikkerhetspakke, markedsføring og verktøy for automatisering av inntjening, ubegrenset video-hosting og prioritert brukerstøtte."],"Daily backups, spam filtering, and priority support.":["Daglige sikkerhetskopier, spam-filtrering og prioritert brukerstøtte."],"Always-on security":["Alltid på-sikkerhet"],"Activate video hosting":["Aktiver video-hosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Sanntids sikkerhetskopiering av alle dine nettsteds-data med ubegrenset plass, ett-klikks tilbakelegging, automatisert sikkerhetskontroll og prioritert brukerstøtte"],"Design the perfect website":["Utform det perfekte nettsted"],"Set up Jetpack":["Sett opp Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Sanntid sikkerhetskopiering av alle data på nettstedet med ubegrenset plass, ett-klikks tilbakelegging og automatisert sikkerhetskontroll."],"Jetpack Search":["Jetpack Søk"],"Jetpack version %(version)s":["Jetpack versjon %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Ditt nettsted blir sikkerhetskopiert i sanntid og regelmessig skannet for sikkerhetstrusler."],"Daily backup of all your site data with unlimited space and one-click restores":["Daglig sikkerhetskopi av alle dine data med ubegrenset plass og ett-klikks tilbakelegging."],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Daglig sikkerhetskopi av alle dine data med ubegrenset plass, ett-klikks tilbakelegging, automatisert sikkerhets-skanning og prioritert brukerstøtte."],"View your security activity":["Vis din sikkerhetsaktivitet"]," (powered by VaultPress).":["(drevet at VaultPress)."],"Customize Search Widget":["Tilpass søke-widget"],"Please correct the issue below and try again.":["Vennligst korriger problemet nedenfor og prøv igjen.","Vennligst korriger problemene vist nedenfor og prøv igjen."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Vi passer på at ditt nettsted forblir fritt for sikkerhetstrusler. Vi vil varsle deg hvis vi finner noe."],"Jetpack version":["Jetpack-versjon"],"Activity":["Aktivitet"],"{{a}}View details{{/a}}":["{{a}}Vis detaljer{{/a}}"],"Monetize your site with ads":["Tjen penger på ditt nettsted med annonser"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Ved å klikke på knappen under godtar du våre {{tosLink}}tjenstevilkår{{/tosLink}} og å {{shareDetailsLink}}dele detaljer{{/shareDetailsLink}} med WordPress.com."],"Jetpack Stats People":["Jetpacks statstikk-folk"],"Hello there! Your stats have been activated.":["Hei! Din statistikk er aktivert."],"Just give us a little time to collect data so we can display it for you here.":["Bare gi oss litt tid til å samle data slik at vi kan vise deg dem her."],"Okay, got it!":["Okay, skjønner!"],"Display ads below posts on":["Vis annonser under innlegg på"],"Additional ad placements":["Flere plasseringer for annonser"],"Top of each page":["Toppen av hver side"],"Second ad below post":["Annonse nr 2 under innlegg"],"Archives":["Arkiver"],"Stars":["Stjerner"],"Jupiter":["Jupiter"],"Schedule posts":["Planlegg innlegg"],"Activate Publicize":["Aktiver Publiser"],"Your site is backed up.":["Ditt nettsted er sikkerhetskopiert."],"Get WordPress Apps for every device":["Skaff deg WordPress-apper for enhver enhet"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Behandle alle dine nettsteder fra ett enkelt kontrollpanel: Publiser innhold, følg statistkk, moderer kommentarer og mye annet, fra hvor som helst i verden."],"Create address":["Opprett adresse"],"Automatically share your posts to social networks":["Del dine innlegg automatisk til sosiale medier"],"Updating settings…":["Oppdaterer innstillinger&hellip;"],"Updating Post by Email address…":["Oppdaterer adressen for Publiser med e-post..."],"Your paid plan gives you access to prioritized Jetpack support.":["Din betalte abonnementspakke gir deg tilgang til prioritert brukerstøtte fra Jetpack."],"You have paid for backups but they're not yet active.":["Du har betalt for sikkerhetskopier, men de er ennå ikke aktive."],"You have paid for backups and security scanning but they’re not yet active.":["Du har betalt for sikkerhetskopier og sikkerhetsgjennomsøking, men de er ikke ennå aktive."],"Click \"Set Up\" to finish installation.":["Klikk \"Sett opp\" for å avslutte installasjonen."],"Checking site status…":["Sjekker nettstedets status&hellip;"],"Pages":["Sider"],"Access the full list of Jetpack modules available on your site.":["Vis full liste over Jetpack-moduler på nettstedet ditt."],"We're here to help":["Vi er her for å hjelpe"],"Jetpack comes with free, basic support for all users.":["Jetpack kommer med gratis, grunnleggende støtte for alle brukere."],"Ask a question":["Still et spørsmål"],"Search our support site":["Søk på vår støtteside"],"Get a faster resolution to your support questions.":["Få raskere svar på dine spørsmål."],"Host fast, high-quality, ad-free video.":["Lagre hurtig, høykvalitets reklamefri video."],"Generate income with high-quality ads.":["Tjen penger på annonser av høy kvalitet."],"Real-time site backups and automatic threat resolution.":["Sanntids sikkerhetskopiering av nettstedet og automatisk beskyttelse mot trusler."],"Protect against data loss, malware, and malicious attacks.":["Beskytt mot datatap, skadelig programvare og ondsinnede angrep."],"Protect your site from spam.":["Beskytt ditt nettsted mot spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Nettstedet er ikke koblet til WordPress.com. Vennligst spør administratoren om å koble til."],"An Automattic Airline":["Et Automattic flyselskap"],"Manage site connection":["Behandle nettstedets tilkobling"],"Connect your account to WordPress.com to view more stats":["Koble din konto til WordPress.com for å se mer statistikk"],"Theme enhancements":["Forbedringer av tema"],"Load more posts using the default theme behavior":["Lat inn flere innlegg med temaets standard oppførsel"],"Load more posts in page with a button":["Last inn flere innlegg med en knapp"],"Load more posts as the reader scrolls down":["Last inn flere innlegg når leseren ruller nedover"],"Theme support required.":["Støtte i temaet er nødvendig."],"Learn more about adding support for Infinite Scroll to your theme.":["Les mer om støtte for ubegrenset rulling i ditt tema."],"Show excerpts instead of full posts on front page and archive pages":["Bruk utdrag i stedet for hele innlegg på forsiden og på arkivsider"],"Show featured images":["Vis fremhevede bilder"],"Enable the WordPress.com toolbar":["Aktiver verktøylinjen fra WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Skrive-verktøy tilgjengelig for deg når administrator aktiverer dem"],"Portfolios":["Porteføljer"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Merk at {{b}}verifisering mot disse tjenestene ikke er nødvendig{{/b}} for at ditt nettsted skal indekseres av søkemotorene. For å bruke disse avanserte søkemotor-verktøyene og verifisere et nettsted en tjenesten,lim inn HTML merke-koden nedenfor. Les {{support}}fulle instruksjoner{{/support}} hvis du får problemer. Støttede verifiseringstjenester: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Tools{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} og {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generer XML nettkart"],"The image helps collect stats, but should work when hidden.":["Bildet hjelper til med å samle statistikk, men skulle virke også når skjult."],"Count logged in page views from":["Tell sidevisninger av innloggede fra"],"Allow stats reports to be viewed by":["Till at at statistikken kan sees av"],"In \"Upgrade\"":["I \"Oppgradering\""],"Configure your Google Analytics settings":["Konfigurer dine innstillinger for Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Vis annonse på den første artikkelen på din hjemmeside eller på slutten av hver side og innlegg. Plasser ytterligere annonser i toppen av ditt nettsted, og på ethvert widget-område, for å øke din inntjening."],"Enable ads and display an ad below each post":["Aktiver annonser og vis en annonse under hvert innlegg"],"Configure your sharing buttons":["Konfigurer dine delingsknapper"],"Connect your social media accounts":["Koble til dine konti på sosiale media"],"Match accounts using email addresses":["Koble kontoer ved å bruke e-postadresser"],"Require accounts to use WordPress.com Two-Step Authentication":["Krev at kontoene bruker WordPress.com tofaktor autensering"],"Add to whitelist":["Legg til på hvitlisten"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Du kan hvitliste en IP-adresse eller en serie adresser fra å noen gang å bli blokkert av Jetpack. IPv4 of IPv6 er godtatt. For å angi et intervall, legg inn den start- og sluttverdien adskilt med bindestrek. Eksempel: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Ditt nettsted er sikkerhetskopiert og fritt for trusler."],"Checking your spam protection…":["Sjekker din spam-beskyttelse&hellip;"],"Fetching key…":["Henter nøkkel&hellip;"],"Your site needs an Antispam key.":["Ditt nettsted trenger en nøkkel for anti-spam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Det er et problem med din API-nøkkel for anti-spam. {{a}}Lær mer{{/a}}."],"Your site is not protected from spam.":["Ditt nettsted er ikke beskyttet mot spam."],"Your Antispam key is valid.":["Din nøkkel for anti-spam er ikke gyldig."],"Your site is protected from spam.":["Ditt nettsted er beskyttet mot spam."],"Checking key…":["Sjekker nøkkel&hellip;"],"Your API key":["Din API-nøkkel"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Hvis du allerede har en API-nøkkel kan du {{a}}be om din API key her{{/a}}, og du vil ledet gjennom prosessen for å få en."],"No search results found for %(term)s":["Ingen søkeresultater funnet for %(term)s"],"Enter a search term to find settings or close search.":["Oppgi en søkeuttrykk for å finne innstillinger eller lukk søk."],"Connections":["Oppkoblinger"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Ditt nettsted er i utviklingsmodus, så det kan ikke kobles til WordPress.com."],"Your site is connected to WordPress.com.":["Ditt nettsted er koblet til WordPress.com"],"You are the Jetpack owner.":["Du er Jetpack-eieren."],"Connected as {{span}}%(username)s{{/span}}":["Tilkoblet som {{span}}%(username)s{{/span}}"],"View your Email Followers":["Vis dine e-postfølgere"],"Color scheme":["Fargeskjema"],"Enable Markdown use for comments.":["Aktiver Markdown for kommentarer."],"Updated settings.":["Innstillinger oppdatert."],"Error updating settings. %(error)s":["Feil ved oppdatering av innstillinger. %(error)s"],"Regenerated Post by Email address.":["Gjenopprettet adresse for Publiser med e-post."],"Error regenerating Post by Email address. %(error)s":["Feil ved gjenoppretting av adresse for Publiser med e-post %(error)s"],"Updated settings. Refreshing page…":["Innstillinger oppdatert. Oppfrisker siden&hellip;"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["For tiden i {{a}}utviklingsmodus{{/a}} (noen funksjoner er deaktivert) fordi: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Filteret jetpack_development_mode er aktivt{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Konstanten JETPACK_DEV_DEBUG er definert{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Din nettsteds-URL mangler punktum (f.eks. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics er en gratis tjeneste som komplementerer vår {{a}}innebygde statistikk{{/a}} med forskjellinge innsikter i din trafikk. Statistikk fra WordPress.com stats og Google Analytics bruker ulike metoder for å identifisere og spore aktivitet på ditt nettsted, slik at de vil normal vise litt forskjellige totaler for besøk, visninger osv."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Konfigurer Google Analytics"],"Activate Google Analytics":["Aktiver Google Analytics"],"Download the free apps":["Last ned gratis-appene"],"Upgrade Focus: VideoPress For Weddings":["Fokus for oppgradering: VideoPress for bryllup"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Du kan nå også konfigurere relaterte innlegg i tilpasseren. {{ExternalLink}}Prøv det!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Som standard blir annonser vist på slutten av hvert side, innlegg eller første innlegg på forsiden. Du kan også legge dem på toppen av alle nettsidene og til ethvert widget-område du har, for ytterligere å øke inntjeningen din."],"Display an ad unit at the top of your site.":["Vis en annonseblokk på toppen av sidene."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Ved å aktivere annonser aksepterer du {{link}}tjenestevilkårene{{/link}} for Automattic annonseprogram."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Din server/webhotell er feilkonfigurert, noe som betyr at Jetpacks beskyttelsesmodul ikke effektivt kan beskytte ditt nettsted."],"In \"Mobile\"":["I \"Mobil\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Tilpass dine innstillinger for varsler fra overvåkingen på WordPress.com{{/link}}"],"View your earnings":["Vis din inntjening"],"Configure site SEO":["Konfigurer SEO for nettstedet"],"Activate SEO tools":["Aktiver SEO-verktøy"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["For å komme i gang klikker du Legg til media i din editor og laster opp en video. Vi tar oss av resten!"],"Video Hosting":["Video-hosting"],"SEO Tools":["SEO-verktøy"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Avanserte SEO-verktøy for å hjelpe ditt nettsted med å bli funnet når folk søker etter relevant innhold."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":["Du kjører Jetpack i et utviklingsmiljø."],"More Info":["Mer informasjon"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Bestem synligheten for likinger fra innstillinger for deling{{/a}}"],"Your current IP: %(ip)s":["Din nåværende IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Det er innstillinger i denne fanen som vil gå tapt om du forlater den. Fortsette?"],"This will reset all Jetpack options, are you sure?":["Dette vil tilbakestille alle Jetpack-innstillingene. Er du sikker?"],"Search for a Jetpack feature.":["Søk etter en Jetpack-modul."],"Configure your Security Scans":["Konfigurer dine sikkerhets-skanninger"],"Subscriber":["Abonnent"],"Big iPhone/iPad Update Now Available":["En stor oppdatering for iPhone/iPad er nå tilgjengelig"],"The WordPress for Android App Gets a Big Facelift":["Appen WordPress for Android får en stor ansiktsløfting/oppgradering"],"WordPress.com Likes are:":["Likinger fra WordPress.com er:"],"A few catchy words to motivate your visitors to comment.":["Noen få fangende ord for å motivere dine besøkende til å kommentere."],"Hide the stats smiley face image":["Skjul statistikkens lille smilefjes"],"Whitelisted IP addresses":["Hvitlistede IP-adresser"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Vis en annonse for WordPress mobil-apper i sidebunnen til nettstedet, når mobil-temaet er i bruk"],"Copied!":["Kopiert!"],"Highlight and copy the following text to your clipboard:":["Merk og kopier følgende tekst til utklippstavlen:"],"Regenerate address":["Regenerer adresse"],"Cheatin' uh?":["Jukser vi?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Kune du være grei og fortelle oss hvorfor du ikke fullførte oppkoblingen av Jetpack, i denne {{a}}spørreundersøkelsen med 2 spørsmål{{/a}}?{{/p}}{{p}}Oppkobling av Jetpack er nødvendig for vår gratis sikkerhets- og trafikk-funksjoner.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Velkommen til {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Din Jetpack er allrede oppkoblet."],"You're fueled up and ready to go, Jetpack is now active.":["Du er tanket opp og klar til å kjøre. Jetpack er nå aktiv,"],"You're fueled up and ready to go.":["Du er tanket opp og klar til å kjøre,"],"You are currently running a development version of Jetpack.":["Du kjører for tiden en utviklingsversjon av Jetpack."],"Submit Beta feedback":["Send inn tilbakemelding om beta-utgivelse"],"What would you like to see on your Jetpack Dashboard?":["Hva ville du likt å se på ditt Jetpack-kontrollpanel?"],"Let us know!":["La oss få høre!"],"Saving…":["Lagrer…"],"Save Settings":["Lagre innstillinger"],"Jetpack Stats Icon":["Ikon for Jetpack nettstedstatistikk"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Aktiver Nettstedstatistikk{{/a}} for å se detaljert besøkstatistikk, likinger, følgere, abonnenter og mer! {{a1}}Lær mer{{/a1}}"],"Activate Site Stats":["Aktiver nettstedstatistikk"],"Site Backups":["Sikkerhetskopier av nettstedet"],"Upgrade":["Oppgrader"],"ACTIVE":["AKTIV"],"View your spam stats":["Vis din useriøs-statistikk"],"View your security dashboard":["Vis ditt sikkerhets-kontrollpanel"],"Real-Time Backups":["Sanntids sikkerhetskopier"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Ditt nettsted er i utviklermodus så du kan ikke koble til WordPress.com"],"Link your account to WordPress.com to get the most out of Jetpack.":["Koble din brukerkonto til WordPress.com for å få mest ut av Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["For automatisk, omfattende skanning etter sikkerhetstrusler, vennligst {{a}}installer og aktiver{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack blokkerer nå aktivt uønskede innloggingsforsøk. Dat vil vises her snart!"],"Total malicious attacks blocked on your site.":["Totalt antall angrep blokkert på ditt nettsted."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Aktiver beskyttelse{{/a}} for å holde ditt nettsted beskyttet mot ondsinnede innloggingsforsøk.."],"All plugins are up-to-date. Awesome work!":["Alle utvidelser oppdatert. Godt gjort!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack overvåker nettstedet ditt. Hvis vi tror ditt nettsted er nede vil du motta en e-post."],"Security":["Sikkerhet"],"Performance":["Ytelse"],"Backup":["Sikkerhetskopi"],"{{a}}View backup details{{/a}}.":["{{a}}Vis detaljer om sikkerhetskopi{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["For automatisk å sikkerhetskopiere hele nettstedet, venligst {{a}}installer og aktiver{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Utilgjengelig i utviklermodus"],"Unavailable in Dev Mode":["Ikke tilgjengelig i utviklingsmodus"],"Activating %(slug)s…":["Aktiverer %(slug)s…"],"%(slug)s has been activated.":["%(slug)s har blitt aktivert."],"%(slug)s failed to activate. %(error)s":["%(slug)s fikk feil ved aktivering. %(error)s"],"Deactivating %(slug)s…":["Deaktiverer %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s har blitt deaktivert."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s hadde feil ved deaktivering. %(error)s"],"Updating %(slug)s settings…":["Oppdaterer innstillinger for %(slug)s&hellip;"],"Updated %(slug)s settings.":["Oppdaterte innstillinger for %(slug)s."],"Error updating %(slug)s settings. %(error)s":["Feil ved oppdatering av innstillinger for %(slug)s. %(error)s"],"Updating %(slug)s address…":["Oppdaterer adresse for %(slug)s&hellip;"],"Regenerated %(slug)s address .":["Regenererte adressen for %(slug)s."],"Error regenerating %(slug)s address. %(error)s":["Feil ved regenerering av adressen for %(slug)s. %(error)s"],"Resetting Jetpack options…":["Tilbakestilling av innstillinger for Jetpack..."],"Options reset.":["Innstillinger tilbakestilt."],"Options failed to reset.":["Innstillingene kunne ikke tilbakestilles."],"There was an error disconnecting Jetpack. Error: %(error)s":["Det oppsto en feil ved frakobling av Jetpack. Feil: %(error)s"],"Unlinking from WordPress.com":["Kobler fra WordPress.com"],"Unlinked from WordPress.com.":["Frakoblet WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Feil ved sletting fra WordPress.com. %(error)s"],"At A Glance":["På et øyeblikk"],"Dashboard":["Kontrollpanel"],"Automattic's Privacy Policy":["Automattics personvernerklæring"],"WordPress.com Terms of Service":["Tjenestevilkår for WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Skru på automatiske oppdateringer for utvidelser.{{/a}}"],"Plugin Updates":["Oppdateringer av utvidelser"],"No threats found, you're good to go!":["Ingen trusler funnet. Du er klar til å gå!"],"{{a}}Contact Support{{/a}}":["{{a}}Kontakt brukerstøtten{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Vis detaljer på VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh, %(number)s trussel funnet.","Uh oh, %(number)s trusler funnet."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Aktiver overvåking{{/a}} for å motta varsler i tilfelle ditt nettsted går ned."],"Loading…":["Laster..."],"Downtime monitor":["Overvåking av nedetid"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Vis mer staistikk på WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Vis detaljert statistikk{{/button}}"],"All-time comments":["Kommentarer til all tid"],"All-time views":["Visninger til all tid"],"%(number)s View":["%(number)s visning","%(number)s visninger"],"Best overall day":["Beste dag"],"Views today":["Visninger i dag"],"Months":["Måneder"],"Weeks":["Uker"],"Days":["Dager"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Noe uventet hende ved lastingen av staistikken. Vennligst prøv igjen senere eller {{a}}vis din statistikk på WordPress.com nå{{/a}}"],"Click to view detailed stats.":["Klikk for å se detaljert statistikk."],"Views: %(numberOfViews)s":["Visninger: %(numberOfViews)s"],"Week of %(date)s":["Uken med %(date)"],"Site Security":["Nettstedsikkerhet"],"Link to WordPress.com":["Koble til WordPress.com"],"Unlink me from WordPress.com":["Koble meg fra WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Det oppsto et problem med å koble opp Jetpack. Vennligst klikk \"Koble til WordPress.com\" igjen."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Vi har hatt et et problem med Jetpack. Deaktiver, deretter reaktiver utvidelsen Jetpack av WordPress.com. Koble så til igjen."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Du må forbli innlogget på ditt WordPress-nettsted mens du godkjenner Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Din Jetpack har en svikt.{{/s}} Vi beklager uleiligheten. Vennligst prøv igjen senere, og hvis problemet fortsetter, kontakt brukerstøtte med denne meldingen: %(error_key)s"],"Disconnecting Jetpack":["Frakobler Jetpack"],"Learn more":["Lær mer"],"Posts":["Innlegg"],"Front page":["Forsiden"],"Upload videos":["Last opp videoer"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Vis relatert innhold etter innlegg"],"Related":["Relatert"],"Disconnect":["Koble fra"],"Save":["Lagre"],"Media":["Medier"],"Mobile Theme":["Mobiltilpasset tema"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTex er et kraftfull oppmerkingsspråk for å skrive komplekse matematiske likninger og formler."],"Site Stats":["Nettstedsstatistikk"],"Sharing":["Deling"],"Testimonials":["Anbefalinger"],"Cancel":["Avbryt"],"Comments":["Kommentarer"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack kunne i koble til WordPress.com: %(error_key)s. Dette skyldes vanligvis at noe er satt opp feil hos ditt nettvert eller på din server."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com har for øyeblikket problemer og er ute av stand til å gi drivstoff til din Jetpack. Vennligst prøv igjen senere."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}Din Jetpack har en feil.{{/s}} Det er ikke mulig å koble dette nettstedet til WordPress.com. Dette betyr vanligvis at nettstedet ditt ikke er offentlig tilgjengelig (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Ditt nettsted må være offentlig tilgjengelig for å bruk Jetpack: %(error_key)s"],"Edit":["Rediger"],"Connected":["Tilkoblet"],"Activate":["Aktiver"],"Active":["Aktiv"],"Settings":["Innstillinger"],"Learn More":["Lær mer"],"Disconnect Jetpack":["Frakoble Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Merk:{{/b}} Denne funksjonen avvikles og blir fjernet fra Jetpack i mars. {{link}}Lær mer{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack sikkerhetskopi"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["Kortlenker fra WP.me"],"Settings header\u0004Auto-update plugins":["Oppgrader utvidelser automatisk"],"Settings header\u0004Widgets":["Widgeter"],"Settings header\u0004Downtime monitoring":["Overvåking av nedetid"],"Settings header\u0004Privacy Settings":["Innstillinger for personvern"],"Settings header\u0004WordPress.com toolbar":["Verktøylinje fra WordPress.com"],"Settings header\u0004Composing":["Komposisjon"],"Settings header\u0004Site stats":["Nettsted-statistikk"],"Settings header\u0004Search engine optimization":["Søkemotoroptimalisering"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Delingsknapper"],"Settings header\u0004Publicize connections":["Tilkoblinger for Publiser"],"Settings header\u0004Like buttons":["Liker-knapper"],"Settings header\u0004Brute force attack protection":["Beskyttelse mot rå makt-angrep"],"Settings header\u0004Backups and security scanning":["Sikkerhetskopier og sikkerhetsovervåking"],"Notice in the empty statistics chart\u0004No activity this period":["Ingen aktivitet denne eprsioden"],"Settings header, noun.\u0004WordPress.com login":["WordPress-com-innlogging"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Send lenke"],"A caption for a button to cancel an action.\u0004Cancel":["Avbryt"],"Link to learn more about Jetpack.\u0004About":["Om"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Moduler"],"Navigation item.\u0004Performance":["Ytelse"],"Navigation item.\u0004My Plan":["Min pakke"],"Navigation item.\u0004Dev Tools":["Utviklerverktøy"],"Navigation item.\u0004Settings":["Innstillinger"],"Navigation item.\u0004Discussion":["Diskusjon"],"Navigation item.\u0004Traffic":["Trafikk"],"Navigation item.\u0004Sharing":["Deling"],"Navigation item.\u0004At A Glance":["På et øyeblikk"],"Navigation item.\u0004Plans":["Pakker"],"Navigation item.\u0004Writing":["Skriving"],"Navigation item.\u0004Reset Options (dev only)":["Tilbakestill alternativer (kun dev)"],"Navigation item.\u0004Security":["Sikkerhet"],"Navigation item.\u0004At a Glance":["På et øyeblikk"],"Search term.\u0004terms of service":["tjenestevilkår"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["sporing"],"Search term.\u0004privacy":["personvern"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Oppgrader"],"Button caption\u0004Saving…":["Lagrer&hellip;"],"Button caption\u0004Save settings":["Lagre innstillinger"],"A heading for a block of related posts.\u0004Related":["Relatert"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Forhåndsvisning"],"Short warning message\u0004Updates needed":["Oppdateringer nødvendig"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Betalt"],"A header for a preview area in the configuration screen.\u0004Preview":["Forhåndsvis"],"Ads header\u0004Ads":["Annonser"],"Dashboard widget header\u0004Site connection":["Tilkobling av nettstedet"],"Dashboard widget header\u0004Account connection":["Tilkobling av konto"],"A caption for a small button to fix security issues.\u0004Threats":["Trusler"],"A caption for a small button to fix security issues.\u0004FIX":["FIKS"],"Short warning message about new threats found.\u0004Threats found!":["Trusler funnet!"],"Short message informing user that the site is secure.\u0004Secure":["Sikker"],"Caption for a button to set up a feature.\u0004Set up":["Sett opp"],"verb\u0004Copy":["Kopier"],"Shorthand for Privacy Policy.\u0004Privacy":["Personvern"],"Shorthand for Terms of Service.\u0004Terms":["Brukerbetingelser"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Feilsøk"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Useriøse kommentarer blokkert."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-nl_NL-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-nl_NL-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index c59618ef..00000000
--- a/plugins/jetpack/languages/json/jetpack-nl_NL-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Je %(planName)s abonnement bevat %(featureName)s. Het lijkt erop alsof je ook het product %(productName)s hebt aangeschaft. Overweeg om %(productName)s te verwijderen."],"real-time backups":["realtime back-ups"],"daily backups":["dagelijkse back-ups"],"Renews on %s.":["Wordt verlengd op %s."],"Purchased on %s.":["Aangeschaft op %s."],"Select a backup option:":["Selecteer een back-upoptie:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Upgrade naar %(name)s voor {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["U bespaart {{savings /}} door per jaar te betalen"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Wees er snel bij; dit zijn {{s}}introductieprijzen voor beperkte tijd!{{/s}}"],"Up to %(percent)d%% off!":["Tot %(percent)d%% korting!"],"per month":["per maand"],"per year":["per jaar"],"Which backup option is best for me?":["Welke back-upoptie is voor mij de beste keuze?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Abonnement beheren"],"Your site is being backed up.":["Er wordt een back-up gemaakt van je site."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Je moet de inloggegevens voor je site invoeren om de configuratie van Jetpack Backup af te ronden."],"Jetpack Backup is being configured for your site.":["Jetpack Backup wordt geconfigureerd voor je site."],"Daily Backups":["Dagelijkse back-ups"],"Just looking for backups? We've got you covered.":["Alleen op zoek naar back-ups? Wij kunnen je hierbij helpen."],"Solutions":["Oplossingen"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Inbegrepen bij je {{planLink}}Professional-abonnement{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Inbegrepen bij je {{planLink}}Premium-abonnement{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Inbegrepen bij je {{planLink}}Personal-abonnement{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Met altijd actieve back-ups ben je ervan verzekerd dat je sitegegevens nooit verloren gaan. Je wijzigingen worden opgeslagen terwijl je je site bewerkt en je kunt profiteren van onbeperkte back-uparchieven."],"Always-on backups ensure you never lose your site.":["Met altijd actieve back-ups ben je ervan verzekerd dat je sitegegevens nooit verloren gaan."],"My Products":["Mijn producten"],"My Plan":["Mijn abonnement"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack {{em}}Realtime{{/em}} back-ups"],"Your data is being securely backed up as you edit.":["Er wordt een veilige back-up van je gegevens gemaakt terwijl je bewerkt."],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack {{em}}Dagelijkse{{/em}} back-ups"],"Your data is being securely backed up every day with a 30-day archive.":["Er wordt iedere dag een veilige back-up van je gegevens gemaakt met een archief van 30 dagen."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Persoonlijk"],"Jetpack Free":["Jetpack Gratis"],"Expired on %s.":["Verlopen op %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Heb je nog vragen? Wij helpen je graag! {{a}}Stuur een vraag naar het Jetpack-ondersteuningsteam.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack bevat veel krachtige tools die je helpen je doelen te bereiken"]," We’ve highlighted some of the features you rely on below.":[" We hebben een aantal handige functies hieronder gemarkeerd."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack verbetert momenteel functies op je site. Zodra je Jetpack uitschakelt, zijn deze functies niet meer beschikbaar en werkt je site mogelijk niet meer op dezelfde manier."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack verbetert momenteel functies op je site. Zodra je Jetpack loskoppelt, zijn deze functies niet meer beschikbaar en werkt je site mogelijk niet meer op dezelfde manier."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Verhoog je bezoekersaantallen met automatisch {{a}}publiceren en delen{{/a}} via social media"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Blokkeer {{a}}brute force-aanvallen{{/a}} en ontvang direct meldingen wanneer je site offline is"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Versnel je site en plaats afbeeldingen die op mobiele apparaten bekeken kunnen worden met {{a}}ons CDN{{/a}}"],"Disable":["Uitschakelen"],"Are you sure you want to disconnect and deactivate?":["Weet je zeker dat je wilt loskoppelen en deactiveren?"],"Are you sure you want to disconnect?":["Weet je zeker dat je wilt loskoppelen?"],"Disable Jetpack":["Jetpack uitschakelen"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Bij elke wijziging die je aanbrengt, maken we een back-up van je website, zodat je je fouten eenvoudig kunt terugdraaien."],"Automated Real-time Backups":["Automatische realtime back-ups"],"We back up your website every day, so you never have to worry about your data again.":["We maken elke dag een back-up van je website, zodat je je nooit meer zorgen hoeft te maken over je gegevens."],"Automated Daily Backups":["Automatische dagelijkse back-ups"],"View Your Backups":["Bekijk je back-ups"],"A Jetpack Site securely backed up with Jetpack Backup":["Er is een back-up van je Jetpack-site gemaakt met Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Gebruik Markdown syntax om inhoud op te stellen met links, lijsten en andere stijlen. Deze instelling maakt Markdown mogelijk in de Klassieke editor en binnen een blok voor Klassieke editor."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activeer{{/a}} deze functie om de resolutie van afbeeldingen en het laden van afbeeldingen via het snelle, globale servernetwerk van Jetpack te optimaliseren. Hiermee worden de prestaties van je site op desktop- en mobiele apparaten verbeterd."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack optimaliseert de resolutie en downloadsnelheid van je afbeeldingen via ons snelle, globale servernetwerk. Hiermee worden de prestaties van je site op desktop- en mobiele apparaten verbeterd."],"Image Accelerator":["Afbeeldingsversneller"],"Start with free":["Begin gratis"],"Now that you're set up, pick a plan that fits your needs.":["Nu je alles hebt ingesteld, kun je een abonnement kiezen dat bij je behoeften past."],"Jetpack Backup":["Jetpack back-up"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Je Jetpack-abonnement biedt bescherming tegen spam via Akismet. Klik op Instellen om deze op je site te activeren."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Heb je al een sleutel? {{a}}Akismet activeren{{/a}}"],"Verifying…":["Bezig met verifiëren …"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Word sneller gevonden in zoekmachines met de effectieve SEO-hulpmiddelen in Jetpack Premium of Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Geef je site een snel ladende, gestroomlijnde look voor mobiele apparaten. Bezoekers zien je reguliere thema nog steeds op andere schermformaten."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Creëer een vloeiende, ononderbroken leeservaring door meer inhoud te laden terwijl bezoekers naar de onderkant van je archiefpagina's scrollen."],"Customize your SEO settings":["Pas je SEO-instellingen aan"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Neem de leiding over de manier waarop je site door zoekmachines wordt weergegeven. Met de SEO-hulpmiddelen van Jetpack kun je vooraf zien hoe je inhoud eruit komt te zien in populaire zoekmachines, en kun je items zoals de naam van je site en slogan veranderen in slechts een paar seconden."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Voeg deelknoppen toe zodat bezoekers je berichten en pagina's met een paar muisklikken via social media kunnen delen."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Voeg een kleine grafiek toe aan je toolbar, met een 48-uurs overzicht van bezoekersaantallen"],"Expand to update settings for how visits are counted and manage who can view this information.":["Vouw het menu uit om instellingen voor het tellen van bezoekers bij te werken en te beheren wie deze informatie kan inzien."],"You can customize the sharing buttons and choose which services to display.":["Je kunt de deelknoppen aanpassen en kiezen welke services moeten worden weergegeven."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Je site wordt beschermd door Jetpack. Als iets je aandacht nodig heeft, ontvang je een melding."],"Find threats early so we can help fix them fast.":["Spoor bedreigingen snel op, zodat wij je snel kunnen helpen ze te verwijderen."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Vervang de standaard zoekfunctie van je site door een aanpasbare zoekfunctie die bezoekers helpt om sneller antwoorden te vinden."],"Never worry about losing your site – automatic backups keep your content safe.":["Maak je nooit zorgen dat je je site verliest. Met automatische back-ups wordt de veiligheid van je site gegarandeerd."],"Protect":["Beveiligen"],"Scan":["Scannen"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Verwijder spam automatisch uit reacties en formulieren, zodat jij je alleen op je eigen werk hoeft te richten."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Koppel je site binnen enkele seconden aan Google Analytics met een Jetpack Premium of Professional abonnement."],"Log in to the WordPress mobile app":["Log in op de mobiele WordPress-app"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Log eenvoudig in op de WordPress-app door op de link te klikken die we naar het e-mailadres op je account hebben verzonden."],"Email me a link to log in to the app":["E-mail me een link om in te loggen op de app"],"Send your new posts to this email address:":["Stuur je nieuwe berichten naar dit e-mailadres:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Door berichten via e-mail te plaatsen, kun je ze sneller publiceren zonder dat je je site hoeft te bezoeken. We genereren een uniek e-mailadres voor je waar je je content naartoe kunt sturen, waarna je bericht op dezelfde manier op je site verschijnt als elk ander bericht."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["De WordPress.com toolbar vervangt de standaard WordPress admin toolbar. Hiermee krijg je met één druk op de knop toegang tot meldingen, je WordPress.com-profiel en je overige Jetpack- en WordPress.com-websites. Je kunt ook de sites bekijken die je in de Reader volgt."],"Verify site ownership with third party services":["Verifieer het eigenaarschap van een site met externe services"],"Generate shortened URLs for simpler sharing.":["Genereer ingekorte URL's zodat je ze eenvoudiger kunt delen."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Houd je bezoekers betrokken met gerelateerde content onderaan elk bericht. Deze instellingen zijn niet van toepassing op {{a}}gerelateerde berichten die toegevoegd zijn met de blokeditor{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["De functie helpt bezoekers meer van je content te vinden door gerelateerde berichten onderaan elk bericht weer te geven."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack genereert automatisch een aangepaste {{link1}}ads.txt{{/link1}} voor je site. Als je extra items wil toevoegen voor andere netwerken, voeg deze dan hieronder toe (één per regel). {{link2}}Kijk hier voor meer informatie{{/link2}}."],"Add sharing buttons to your posts and pages":["Voeg deelknoppen toe aan je berichten en pagina's"],"Share your content to social media, reaching new audiences and increasing engagement.":["Deel je content op social media, zodat je een breder publiek bereikt en de betrokkenheid verbetert."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Ontvang meldingen wanneer je site offline gaat. We laten het je ook weten als hij weer bereikbaar is."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Met Jetpack kun je ervoor kiezen om je plugins automatisch te laten bijwerken bij elke nieuwe plugin-release. Je ontvangt direct de nieuwste beveiligingsupdates en bugfixes, zodat je site veilig blijft."],"Choose which plugins to auto-update":["Kies welke plugins automatisch moeten worden bijgewerkt"],"Upgrade Jetpack now":["Upgrade Jetpack nu"],"Monetize your site by running high quality ads.":["Verdien geld aan je site door hoogwaardige advertenties te laten zien."],"Customize your social posting schedule.":["Pas je schema voor berichten op social media aan."],"Expand your audience with pro SEO tools.":["Breid je publiek uit met professionele SEO-tools."],"Take your site to the next level!":["Til jouw site naar een hoger niveau!"],"Search support docs":["Zoek naar hulpdocumenten"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Heb je hulp nodig? Ontdek hoe je aan de slag gaat, hoe je je site aanpast, hoe je geavanceerde samenvattingen met code gebruikt en nog veel meer."],"Start sharing":["Begin met delen"],"Optimized performance":["Geoptimaliseerde prestaties"],"Enable the “subscribe to comments” option on your comment form":["Schakel de optie 'abonneren op reacties' op je reactieformulier in"],"Enable the “subscribe to site” option on your comment form":["Schakel de optie 'abonneren op site' op je reactieformulier in"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Beheer geavanceerde opmerkingsinstellingen en breid je publiek uit met e-mailabonnementen."],"Comment form introduction":["Introductie reactieformulier"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam, mogelijk gemaakt door Akismet. Ingevulde reactie- en contactformulieren worden gecontroleerd op basis van onze wereldwijde spamdatabase."],"Failed to send login email":["E-mail voor inloggen verzenden mislukt"],"Login email sent":["E-mail voor inloggen verzonden"],"Sending login email…":["E-mail voor inloggen wordt verzonden..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Maak je je zorgen om de veiligheid van je site? Ontvang back-ups, automatische beveiligingsoplossingen en meer: {{a}}Upgrade nu{{/a}}"],"Allow readers to like individual comments.":["Bied lezers de mogelijkheid om afzonderlijke reacties te liken."],"Enable comment likes.":["Likes op reacties ingeschakeld."],"Allow readers to use markdown in comments.":["Bied lezers de mogelijkheid om opmaak te gebruiken in reacties."],"Show Gravatar hovercards alongside comments.":["Toon Gravatar-hovercards naast reacties."],"Complete Jetpack Setup":["Jetpack-configuratie voltooien"],"Your Jetpack setup progress":["Vooruitgang van je Jetpack-configuratie"],"View your setup checklist":["Bekijk je configuratie-checklist"],"Yearly":["Jaarlijks"],"Monthly":["Maandelijks"],"About Jetpack":["Over Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Zichtbaarheidsknoppen voor widgets inschakelen om widgets weer te geven in bepaalde berichten of pagina's"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Met widget-zichtbaarheid kun je bepalen welke widgets op welke pagina's moeten worden weergegeven, dus kun je de widgetcontent nu nog nauwkeuriger afstellen."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Maak extra widgets beschikbaar voor gebruik op je site, zoals abonnementsformulieren en Twitter-streams"],"Enhance CSS customization panel":["CSS-aanpassingsscherm verbeteren"],"Writing":["Schrijven"],"Compose using shortcodes to embed media from popular sites":["Opstellen met shortcode om media te embedden vanaf populaire sites"],"Traffic":["Bezoekersaantallen"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Je moet de inloggegevens van je server invoeren om de configuratie van back-ups en scannen af te ronden."],"Awaiting credentials":["Wachten op inloggegevens"],"Backups and Scan are being configured for your site.":["Back-ups en Scannen worden geconfigureerd voor je site."],"Provisioning":["Levering"],"Action needed":["Actie noodzakelijk"],"Setting up":["Instellen"],"Discussion":["Reacties"],"We are configuring your site protection.":["We configureren de bescherming van je site."],"View your site's backups":["Bekijk de back-ups van je site"],"We are backing up your site in real-time.":["Er wordt een real-time back-up van je site gemaakt."],"Enter credentials":["Voer inloggegevens in"],"You need to enter your server's credentials to finish the setup.":["Je moet de inloggegevens van je server invoeren om de instelling af te ronden."],"We are configuring your site's backups.":["We configureren de back-ups van je site."],"View site activity":["Site-activiteit bekijken"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack houdt een volledig dossier bij van alles wat er op je site gebeurt, zodat je nooit meer hoeft te twijfelen over site-management, debugging en reparaties."],"Explore our Jetpack plans":["Ontdek onze Jetpack-abonnementen"],"Support documentation":["Ondersteuningsdocumentatie"],"Chat bubbles representing getting in touch with support":["Tekstballonnen die staan voor het contact opnemen met ondersteuning"],"Site activity":["Site-activiteit"],"Reach a wider audience by automatically sharing your posts on social media.":["Bereik een groter publiek door je berichten automatisch te delen op social media."],"Increase traffic to your site":["Verhoog de bezoekersaantallen van je site"],"Explore free themes":["Ontdek gratis thema's"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Krijg onbeperkt toegang tot honderden professionele thema's en personaliseer je site precies zoals jij dat wilt."],"A wide variety of themes and tools to customize a site":["Veel verschillende thema's en tools om een site te personaliseren"],"Set up your site security":["Beveilig je site"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Voorkom inlogaanvallen en ontvang direct een melding als er een probleem is met je site."],"Site stats showing an evolution in traffic and engagement":["Sitestatistieken die de ontwikkeling van de bezoekersaantallen en betrokkenheid tonen"],"A hand holding a loupe":["Een hand die een vergrootglas vasthoudt"],"A chart showing an healthy increase in earnings":["Een grafiek die een verhoging van de inkomsten aangeeft"],"Interface showing a chronological list of changes and updates in a site":["Interface van een chronologische lijst met wijzigingen en updates van een site"],"A cloud with multiple types of content floating around it":["Een cloud waar meerdere contenttypes omheen zweven"],"A folder holding real comments":["Een map met daarin echte reacties"],"Make your site faster":["Maak je site sneller"],"Load pages faster by serving your images from our global network of servers.":["Laat pagina's sneller laden door je afbeeldingen beschikbaar te stellen via ons globale servernetwerk."],"A fast and performant website":["Een snelle en succesvolle website"],"A secure site, locked and protected by Jetpack":["Een veilige site, beveiligd en beschermd door Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Kopieer bestaande berichten, pagina's, testimonials en portfolio's. Alle content wordt gekopieerd, inclusief tekst, aanbevolen afbeeldingen, instellingen voor delen en meer."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Deze site kan niet worden gekoppeld aan WordPress.com omdat de site onze {{a}}Servicevoorwaarden{{/a}} schendt."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Koppel je website aan de socialmedianetwerken waarvan je gebruikmaakt en deel je content met al je socialmedia-accounts met één druk op de knop. Wanneer je een bericht publiceert, wordt dit op alle gekoppelde accounts weergegeven."],"Add Like buttons to your posts and pages":["Voeg like-knoppen toe aan je berichten en pagina's."],"When visitors enjoy your content, let them show it with a Like.":["Wanneer bezoekers je content leuk vinden, kunnen ze dit aangeven met een like."],"Create account":["Account maken"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Je site is gebaseerd op Jetpack, maar om van alle functies gebruik te kunnen maken heb je een account nodig."],"Compose content the way you want to and streamline your publishing experience.":["Stel op jouw manier content op en stroomlijn je publiceer-ervaring."],"Add a portfolio item":["Een portfolio-item toevoegen"],"Add a testimonial":["Een testimonial toevoegen"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maak je site maximaal vindbaar in zoekmachines en bekijk real-time verkeersstatistieken."],"Create a Jetpack account to use this feature":["Creëer een Jetpack-account om deze functie te gebruiken"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack houdt je site doorlopend in de gaten en stuurt je een waarschuwing wanneer je site offline lijkt te zijn."],"Error enabling Site accelerator. %(error)s":["Fout bij inschakelen siteversneller. %(error)s"],"Site accelerator is now speeding up your site!":["Siteversneller verhoogt nu de snelheid van je site!"],"Enabling Site accelerator…":["Siteversneller inschakelen..."],"Error disabling site accelerator. %(error)s":["Fout bij uitschakelen siteversneller. %(error)s"],"Site accelerator is no longer speeding up your site!":["Siteversneller verhoogt nu niet langer de snelheid van je site!"],"Disabling site accelerator…":["Siteversneller uitschakelen..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Pagina's sneller laden, afbeeldingen optimaliseren en je bezoekerservaring verbeteren."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Vul de statistieken van WordPress.com aan met een gedetailleerd overzicht van Google, waarin je bezoekers en verkeer worden weergegeven."],"High-speed, high-definition video hosting with no third-party ads.":["Videohosting op hoge snelheid en met hoge resolutie, zonder advertenties van derden."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Onbeperkt tweets, Facebook-berichten en andere social media-berichten van tevoren inplannen."],"Marketing Automation":["Geautomatiseerde marketing"],"Activate Jetpack Search":["Jetpack Search activeren"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Vervang de standaard WordPress-zoekfunctie door betere resultaten en filters, mogelijk gemaakt door Elasticsearch."],"Start earning":["Begin met verdienen"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["Met WordAds kun je geld verdienen door promotionele content te tonen. Begin vandaag met verdienen"],"Spam is automatically blocked from your comments.":["Spam wordt automatisch geblokkeerd voor je reacties."],"Browse premium themes":["Zoek door premium thema's"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Krijg toegang tot honderden prachtige premium-thema's zonder extra kosten."],"Try a premium theme":["Probeer een premium-thema"],"View settings":["Geef instellingen weer"],"Create a Jetpack account to view your email followers":["Creëer een Jetpack-account om je e-mailvolgers te bekijken"],"Manage security settings":["Je beveiligingsinstellingen beheren"],"Jetpack is ready for the new WordPress editor":["Jetpack is klaar voor de nieuwe WordPress-editor"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["We introduceren vandaag de eerste lading Jetpack-specifieke blokken, die speciaal voor de nieuwe editor-ervaring zijn ontwikkeld: de knop Eenvoudige betalingen, Formulier, Kaart en Markering."],"Build your Jetpack site with blocks":["Breid je Jetpack-site uit met blokken"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Een nieuwe editor? Ja! {{a}}Meer informatie{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["De functies waarop je vertrouwt, aangepast aan de nieuwe WordPress-editor."],"Take me to the new editor":["Breng me naar de nieuwe editor"],"Testing Jetpack Connection":["Jetpack-verbinding testen"],"There was an error testing Jetpack. Error: %(error)s":["Er is een fout opgetreden bij het testen van Jetpack. Fout: %(error)s"],"New in Jetpack!":["Nieuw in Jetpack!"],"Speed up static file load times":["Laadtijden van statische bestanden versnellen"],"Speed up image load times":["Laadtijden van afbeeldingen versnellen"],"Enable site accelerator":["Siteversneller inschakelen"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Laat pagina's sneller laden door Jetpack in staat te stellen om je afbeeldingen te optimaliseren en je afbeeldingen en statische bestanden (zoals CSS en JavaScript) beschikbaar te stellen via ons wereldwijde servernetwerk."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Voeg een extra beveiligingslaag aan je website toe door inloggen via WordPress.com en beveiligde authenticatie in te schakelen. Als je meerdere sites hebt met deze optie ingeschakeld, dan kun je op al je sites inloggen met dezelfde inloggegevens."],"View your site activity":["Bekijk de activiteit op je site"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Bekijk een chronologische lijst waarop alle wijzigingen en updates van je site op een georganiseerde, overzichtelijke manier staan vermeld."],"Manually Verify ":["Handmatig verifiëren "],"Verify with Google":["Verifiëren met Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google stuurt een e-mail over bepaalde gebeurtenissen die plaatsvinden op je site, zoals indicaties dat je website {{a1}}gehackt is{{/a1}}, of problemen met {{a2}}het afspeuren of indexeren{{/a2}} van je site."],"or":["of"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Controleer de bezoekersaantallen en prestaties van je site via de {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Je site is geverifieerd met Google"],"Site failed to verify: %(error)s":["Site kon niet geverifieerd worden: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Voeg een snellere, geavanceerdere zoekfunctie toe aan je site met Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Vervang de standaard WordPress-zoekmachine door Jetpack Search, voor een geavanceerde zoekervaring"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Search vervangt de ingebouwde zoekfunctie door een snelle, schaalbare, personaliseerbare en zeer relevante zoekfunctie in de WordPress.com-cloud. Het resultaat: Je gebruikers vinden de content die ze zoeken sneller."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["De ingebouwde WordPress-zoekfunctie is een goede optie voor sites zonder veel content. Maar naarmate je site groter wordt, worden zoekopdrachten langzamer en geven ze minder relevante resultaten."],"Jetpack Search supports many customizations.":["Jetpack Search ondersteunt een groot aantal aanpassingen."],"Site is verified":["Site is geverifieerd"],"Spam filtering and priority support.":["Spamfilters en ondersteuning met prioriteit."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Wanneer advertenties zijn uitgeschakeld, genereert Jetpack automatisch een aangepaste ads.txt voor je site."],"Custom ads.txt entries":["Aangepaste ads.txt-items"],"Privacy information":["Privacy informatie"],"Enable Lazy Loading for images":["Lazy-loading voor afbeeldingen inschakelen"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Met lazy-loading van afbeeldingen neemt de snelheid van je site toe en wordt je site vloeiender weergegeven. In plaats van dat alle afbeeldingen tegelijkertijd worden geladen, worden ze geladen wanneer bezoekers naar de onderkant van het scherm scrollen."],"Performance & speed":["Performance & snelheid"],"Enable high-speed, ad-free video player":["Razendsnelle videospeler zonder advertenties"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Maak de content die je publiceert nog interessanter met video's op hoge resolutie. Met Jetpack Video kun je je mediaspeler personaliseren en razendsnelle video's, zonder advertenties en merken, aan je bezoekers tonen. Video's worden op onze WordPress.com-servers gehost en nemen geen ruimte van je hostingabonnement in beslag!"],"Video":["Video"],"Carousel color scheme":["Carousel-kleurenschema"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif-data geeft bezoekers meer informatie over de technische gegevens van een foto, zoals de brandpuntsafstand, belichtingstijd en ISO."],"Show photo Exif metadata in carousel (when available)":["Toon Exif-metadata van foto's in Carousel (indien beschikbaar)"],"Display images in a full-screen carousel gallery":["Geef afbeeldingen in een Carousel-galerij op volledige schermgrootte weer"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Maak Carousel-diavoorstellingen op volledige schermgrootte voor de afbeeldingen in je berichten en pagina's. Carousel-galerijen zijn geschikt voor mobiel en moedigen bezoekers van je site aan om je foto's te bekijken."],"Portfolios shortcode: [portfolio]":["Shortcode voor portfolio's: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Gebruik {{portfolioLink}}portfolio's{{/portfolioLink}} op je site om je meesterwerken tentoon te stellen. Als je thema geen Jetpack-portfolio's ondersteunt, kun je nog altijd een eenvoudige shortcode gebruiken om ze op je site weer te geven."],"Testimonials shortcode: [testimonials]":["Shortcode voor testimonials: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Voeg {{testimonialLink}}testimonials{{/testimonialLink}} toe aan je website om nieuwe klanten te trekken. Als je thema geen Jetpack-testimonials ondersteunt, kun je nog altijd een eenvoudige shortcode gebruiken om ze op je site weer te geven."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Zoekmachines hebben op dit moment geen toegang tot je site. Controleer je {{a}}Reading-instellingen{{/a}} en zet de \"Zichtbaarheid voor zoekmachines\" aan om je site toegankelijk te maken."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Goed nieuws: Jetpack stuurt je sitemap automatisch naar alle belangrijke zoekmachines voor indexering."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Sitemaps zijn bestanden die zoekmachines zoals Google of Bing gebruiken om je website te indexeren. Ze kunnen je helpen je vermelding in zoekmachines te verbeteren. Wanneer je deze functie inschakelt, zorgt Jetpack dat je sitemaps worden aangemaakt en automatisch worden bijgewerkt wanneer de content op je site wordt gewijzigd."],"Configure related posts in the Customizer":["Gerelateerde berichten in het aanpassingsmenu configureren"],"Highlight related content with a heading":["Gerelateerde content met een koptekst markeren"],"View security scan details":["Details van beveiligingsscan weergeven"],"Test your site’s compatibility with Jetpack.":["Test de compatibiliteit van je site met Jetpack."],"Show a thumbnail image where available":["Geef een miniatuurafbeelding weer, indien beschikbaar"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Voor meer informatie over hoe specifieke Jetpack-functies gegevens gebruiken en activiteit bijhouden, kun je ons {{privacyCenterLink}}Privacy-centrum{{/privacyCenterLink}} raadplegen."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["We gebruiken ook andere tracking-tools, waaronder een aantal van derden. {{cookiePolicyLink}}Lees hier meer over de tools{{/cookiePolicyLink}} en hoe je ze kunt beheren."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Deze informatie helpt ons onze producten te verbeteren, marketing relevanter te maken en de WordPress.com-ervaring op je af te stemmen. Je vindt hierover meer informatie in ons {{pp}}privacybeleid{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Deel informatie met onze analysetool over hoe je services gebruikt terwijl je bent ingelogd op je WordPress.com-account. {{cookiePolicyLink}}Meer informatie{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Deze functie wordt beheerd door een sitebeheerder. {{link}}Meer informatie{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Deze functie is uitgeschakeld door een sitebeheerder. {{link}}Meer informatie{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Deze functie is ingeschakeld door een sitebeheerder. {{link}}Meer informatie{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s is uitgeschakeld door een sitebeheerder. {{link}}Meer informatie{{/link}}."],"This feature has been disabled by a site administrator.":["Deze functie is uitgeschakeld door een sitebeheerder."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s is uitgeschakeld door een sitebeheerder."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Met de Ad-widget kun je meer advertenties plaatsen. {{link}}Probeer het eens!{{/link}}"],"Configure your notification settings":["Configureer je meldingsinstellingen"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack Search is een krachtige vervanging voor de standaard zoekfunctie van WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["De bestanden op je site worden regelmatig gescand op ongeautoriseerde of verdachte aanpassingen die je beveiliging en gegevens kunnen aantasten."],"Plugin needs updating.":["Plugin moeten worden bijgewerkt.","Plugins moeten worden bijgewerkt."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Met Plugin Updates van Jetpack kun je zelf bepalen welke plugins automatisch worden bijgewerkt."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack optimaliseert je afbeeldingen en stelt ze beschikbaar vanaf de serverlocatie die zich het dichtst bij je bezoekers bevindt. Als je ons wereldwijde Content Delivery Network gebruikt, wordt je site sneller geladen."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["De downtime-bewaking van Jetpack houdt je site voortdurend in de gaten en stuurt je een waarschuwing wanneer je site offline lijkt te zijn."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Met Jetpack Backups kun je je site eenvoudig herstellen of een back-up van een specifiek moment downloaden."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Hiermee wordt een eenvoudig thema voor mobiele apparaten ingeschakeld dat wordt weergegeven voor bezoekers die mobiele apparaten gebruiken."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Laadt automatisch de volgende berichten wanneer de lezer de onderkant van de pagina bereikt."],"Allows you to publish new posts by sending an email to a special address.":["Stelt je in staat om nieuwe berichten te plaatsen door een e-mail naar een speciaal adres te sturen."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Voegt een werkbalk met links naar al je sites, meldingen, je WordPress.com-profiel en de Reader toe."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Geeft je de vereiste verborgen tags die nodig zijn om je WordPress-site door verschillende services te laten verifiëren."],"Displays information on your site activity, including visitors and popular posts or pages.":["Geeft informatie over activiteit op je site weer, waaronder de bezoekersaantallen en populaire berichten of pagina's."],"Allows you to optimize your site and its content for better results in search engines.":["Geeft je de mogelijkheid om je site en de content op je site te optimaliseren voor betere zoekmachineresultaten."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integreert je WordPress-site met Google Analytics, een platform dat je inzicht biedt in je bezoekersaantallen, bezoekers en klanten."],"Displays high-quality ads on your site that allow you to earn income.":["Geeft hoogwaardige advertenties weer op je site, zodat je geld kunt verdienen."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Stelt je in staat om automatisch je nieuwste content via socialmedianetwerken, zoals Facebook en Twitter, te delen."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Voegt Like-knoppen toe aan je content, zodat bezoekers hun waardering of plezier kunnen tonen."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Biedt geregistreerde gebruikers de mogelijkheid om in te loggen op je site met hun WordPress.com-accounts."],"Protects your site from traditional and distributed brute force login attacks.":["Beschermt de site tegen traditionele en verspreide brute force-aanvallen."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Maakt back-ups van je site op de algemene servers van WordPress.com, zodat je je content kunt herstellen in geval van nood of bij fouten."],"Removes spam from comments and contact forms.":["Verwijdert spam uit reacties en contactformulieren."],"We are committed to your privacy and security. ":["Je privacy en veiligheid zijn voor ons van groot belang. "],"View all Jetpack plans":["Bekijk alle Jetpack-abonnementen"],"Manage your plan":["Beheer je abonnement"],"Your Plan":["Jouw abonnement"],"You’re currently on Jetpack %(plan)s.":["Je maakt momenteel gebruik van Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Laat lezers zich abonneren op je berichten of reacties en ontvang meldingen over nieuwe content via e-mail."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Vervangt het standaard WordPress-reactieformulier door een nieuw reactiesysteem dat het mogelijk maakt om in te loggen via social media."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Activeer deze{{/a}} om de standaardzoekfunctie van WordPress te vervangen door een verbeterde zoekfunctie."],"Add Search (Jetpack) Widget":["Search-widget (Jetpack) toevoegen"],"Jetpack Search is powering search on your site.":["Jetpack Search verbetert de zoekfunctie op je site."],"Manage your plugins":["Je plugins beheren"],"Moderate comments":["Reacties beheren"],"Error updating privacy settings. %(error)s":["Fout bij het bijwerken van privacy-instellingen. %(error)s"],"Updated privacy settings.":["Privacy-instellingen bijwerken."],"Updating privacy settings…":["Privacy-instellingen worden bijgewerkt ..."],"Add Jetpack Search Widget":["Voeg Jetpack zoekwidget toe"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Voeg de Jetpack Search widget toe aan je zijbalk om geavanceerde zoekfilters en sortering in te stellen."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Volledige beveiligingspakket, marketing- en hulpmiddelen voor automatische inkomsten, onbeperkte video-hosting, onbeperkte thema's, uitgebreid zoeken en prioriteitsondersteuning."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Volledig beveiligingspakket, marketing- en hulpmiddelen voor automatische inkomsten, onbeperkte video-hosting en prioriteitsondersteuning."],"Daily backups, spam filtering, and priority support.":["Dagelijkse backups, spamfilter en prioriteitsondersteuning."],"Always-on security":["Permanente beveiliging"],"Activate video hosting":["Activeer videohosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Realtime back-up van alle data op je site met onbeperkte ruimte, herstel in één klik, automatische beveiligingsscans en ondersteuning met prioriteit."],"Design the perfect website":["Ontwerp de perfecte website"],"Set up Jetpack":["Jetpack instellen"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Realtime back-up van alle data op je site met onbeperkte ruimte, herstel met één druk op de knop en automatische beveiligingsscans."],"Jetpack Search":["Jetpack Search"],"Jetpack version %(version)s":["Jetpack versie %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Jouw website wordt live geback-upt en regelmatig gescand op beveiligingsbedreigingen."],"Daily backup of all your site data with unlimited space and one-click restores":["Dagelijkse back-ups van al jouw site data met onbeperkte ruimte en herstellen met een enkele klik"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Realtime backup van al jouw site data met onbeperkte ruimte, één-klik herstel, automatische beveiligingsscan en ondersteuning met voorrang"],"View your security activity":["Toon jouw beveiligingsactiviteit"]," (powered by VaultPress).":[" (aangedreven door VaultPress)."],"Customize Search Widget":["Pas zoek widget aan"],"Please correct the issue below and try again.":["Los het probleem hieronder op en probeer het nogmaals.","Los de problemen hieronder op en probeer het nogmaals."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["We zorgen ervoor dat je website vrij blijft van beveiligingsbedreigingen. We informeren je als we er één vinden."],"Jetpack version":["Jetpack versie"],"Activity":["Activiteit"],"{{a}}View details{{/a}}":["{{a}}Bekijk details{{/a}}"],"Monetize your site with ads":["Geld verdienen met je site door middel van advertenties"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Door op onderstaande knop te klikken, ga je akkoord met onze {{tosLink}}servicevoorwaarden{{/tosLink}} en met het {{shareDetailsLink}}delen van informatie{{/shareDetailsLink}} met WordPress.com."],"Jetpack Stats People":["Mensen bekijken Jetpack-statistieken"],"Hello there! Your stats have been activated.":["Hallo! Je statistieken zijn geactiveerd."],"Just give us a little time to collect data so we can display it for you here.":["Geeft ons even de tijd om data te verzamelen. We geven ze vervolgens hier voor je weer."],"Okay, got it!":["OK, ik snap het!"],"Display ads below posts on":["Geef advertenties weer onder berichten op"],"Additional ad placements":["Aanvullende advertentielocaties"],"Top of each page":["Bovenzijde van elke pagina"],"Second ad below post":["Tweede advertentie onder bericht"],"Archives":["Archieven"],"Stars":["Sterren"],"Jupiter":["Jupiter"],"Schedule posts":["Berichten inplannen"],"Activate Publicize":["Publicize activeren"],"Your site is backed up.":["Er is een back-up gemaakt van je site."],"Get WordPress Apps for every device":["Download WordPress-apps voor elk apparaat"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Beheer al je sites vanuit één dashboard: publiceer inhoud, volg statistieken, beheer reacties en nog veel meer, waar je ook bent."],"Create address":["Adres aanmaken"],"Automatically share your posts to social networks":["Deel je berichten automatisch via social media"],"Updating settings…":["Instellingen worden bijgewerkt..."],"Updating Post by Email address…":["Bericht wordt bijgewerkt via e-mailadres..."],"Your paid plan gives you access to prioritized Jetpack support.":["Met je betaalde abonnement ontvang je Jetpack-ondersteuning met prioriteit."],"You have paid for backups but they're not yet active.":["Je hebt betaald voor back-ups, maar deze zijn nog niet actief."],"You have paid for backups and security scanning but they’re not yet active.":["Je hebt betaald voor back-ups en beveiligingsscans, maar deze zijn nog niet actief."],"Click \"Set Up\" to finish installation.":["Klik op 'Instellen' om de installatie af te ronden."],"Checking site status…":["De status van je site wordt gecontroleerd…"],"Pages":["Pagina's"],"Access the full list of Jetpack modules available on your site.":["Bekijk de volledige lijst met Jetpack-modules die beschikbaar zijn voor je site."],"We're here to help":["Wij zijn er om te helpen"],"Jetpack comes with free, basic support for all users.":["Jetpack beschikt over gratis basisondersteuning voor alle gebruikers."],"Ask a question":["Stel een vraag"],"Search our support site":["Doorzoek onze ondersteuningssite"],"Get a faster resolution to your support questions.":["Regel een snellere oplossing op je vragen aan de klantenservice."],"Host fast, high-quality, ad-free video.":["Host snelle, hoogwaardige video's zonder advertenties."],"Generate income with high-quality ads.":["Verdien geld aan hoogwaardige advertenties."],"Real-time site backups and automatic threat resolution.":["Back-ups van je site in realtime en automatische oplossing van bedreigingen."],"Protect against data loss, malware, and malicious attacks.":["Bescherming tegen dataverlies, malware en schadelijke aanvallen."],"Protect your site from spam.":["Bescherm je site tegen spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Deze site is niet gekoppeld aan WordPress.com. Vraag de sitebeheerder om deze te koppelen."],"An Automattic Airline":["Een Automattic-luchtvaartmaatschappij"],"Manage site connection":["Siteverbinding beheren"],"Connect your account to WordPress.com to view more stats":["Koppel je account aan WordPress.com om meer statistieken te bekijken"],"Theme enhancements":["Themaverbeteringen"],"Load more posts using the default theme behavior":["Laad meer berichten met het standaardgedrag voor thema's"],"Load more posts in page with a button":["Laad meer berichten op pagina's met een knop"],"Load more posts as the reader scrolls down":["Laad meer berichten zodra de lezer naar beneden scrolt"],"Theme support required.":["Ondersteuning van thema's vereist."],"Learn more about adding support for Infinite Scroll to your theme.":["Meer informatie over support voor oneindig scrollen toevoegen aan je thema."],"Show excerpts instead of full posts on front page and archive pages":["Gebruik samenvattingen op je voorpagina en archiefpagina's in plaats van volledige berichten"],"Show featured images":["Aanbevolen afbeeldingen weergeven"],"Enable the WordPress.com toolbar":["De WordPress.com-werkbalk inschakelen"],"Writing tools available to you will be shown here when an administrator enables them.":["De schrijftools die je kunt gebruiken, worden hier weergegeven wanneer een beheerder ze inschakelt."],"Portfolios":["Portfolio's"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Let op: {{b}}het verifiëren van je site is niet noodzakelijk{{/b}} om je site te laten indexeren door zoekmachines. Plak hieronder de HTML Tag-code om deze geavanceerde zoekmachine-tools te gebruiken en je site te laten verifiëren door een service. Lees de {{support}}volledige instructies{{/support}} als het niet lukt. Ondersteunde verificatieservices: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} en {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["XML-sitemaps genereren"],"The image helps collect stats, but should work when hidden.":["Met de afbeelding kun je statistieken verzamelen, maar hij werkt nog steeds wanneer hij verborgen is."],"Count logged in page views from":["Aantal ingelogde paginaweergaven van"],"Allow stats reports to be viewed by":["Toestaan dat statistiekrapporten worden weergegeven door"],"In \"Upgrade\"":["In 'Upgrade'"],"Configure your Google Analytics settings":["Instellingen van je Google Analytics configureren."],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Geef advertenties weer bij het eerste artikel op je homepage of aan het einde van elke pagina en elk bericht. Je kunt ook extra advertenties toevoegen bovenaan je site en aan elk widget-gebied om je inkomsten te verhogen."],"Enable ads and display an ad below each post":["Advertenties inschakelen en een advertentie onder elk bericht weergeven"],"Configure your sharing buttons":["Je deelknoppen configureren"],"Connect your social media accounts":["Koppel je social media-accounts"],"Match accounts using email addresses":["Accounts overeenstemmen met e-mailadressen"],"Require accounts to use WordPress.com Two-Step Authentication":["Vereis van accounts dat ze gebruikmaken van de tweevoudige authenticatie van WordPress.com"],"Add to whitelist":["Toevoegen aan whitelist"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Door een IP-adres of een reeks IP-adressen op een whitelist te plaatsen, kunnen ze nooit door Jetpack worden geblokkeerd. IPv4 en IPv6 zijn acceptabel. Stel een bereik in door de hoge en lage waarde in te voeren met een streepje ertussen. Voorbeeld: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Er is een back-up gemaakt van je site en hij is gecontroleerd op bedreigingen."],"Checking your spam protection…":["Je spambescherming wordt gecontroleerd…"],"Fetching key…":["Sleutel wordt opgehaald…"],"Your site needs an Antispam key.":["Je site heeft een Antispam-sleutel nodig."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Er is een probleem met je Antispam API-sleutel. {{a}}Meer informatie{{/a}}."],"Your site is not protected from spam.":["Je site wordt niet beschermd tegen spam."],"Your Antispam key is valid.":["Je Antispam-sleutel is geldig."],"Your site is protected from spam.":["Je site wordt beschermd tegen spam."],"Checking key…":["Sleutel wordt gecontroleerd…"],"Your API key":["Je API-sleutel"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Als je nog geen API-sleutel heb, {{a}}haal je API-sleutel dan hier op{{/a}}. Je wordt vervolgens door de stappen geleid om er een te halen."],"No search results found for %(term)s":["Geen resultaten gevonden voor %(term)s"],"Enter a search term to find settings or close search.":["Voer een zoekterm in om instellingen te vinden of sluit de zoekopdracht af."],"Connections":["Verbindingen"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Je site is in ontwikkelingsmodus, waardoor deze niet kan worden gekoppeld aan WordPress.com."],"Your site is connected to WordPress.com.":["Je site is gekoppeld aan WordPress.com."],"You are the Jetpack owner.":["Jij bent de eigenaar van Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Verbonden als {{span}}%(username)s{{/span}}"],"View your Email Followers":["Bekijk je e-mailvolgers"],"Color scheme":["Kleurenschema"],"Enable Markdown use for comments.":["Het gebruik van Snelle stijl voor reacties inschakelen."],"Updated settings.":["Bijgewerkte instellingen."],"Error updating settings. %(error)s":["Fout tijdens bijwerken instellingen. %(fout)en)"],"Regenerated Post by Email address.":["Opnieuw gegenereerd bericht per e-mailadres"],"Error regenerating Post by Email address. %(error)s":["Fout bij opnieuw genereren bericht per e-mailadres %(error)s"],"Updated settings. Refreshing page…":["Bijgewerkte instellingen. Pagina wordt vernieuwd…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Op dit moment in {{a}}ontwikkel modus{{/a}} (sommige functies zijn uitgeschakeld) omdat: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Het jetpack_development_mode filter is actief{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}De JETPACK_DEV_DEBUG constante is gedefinieerd{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Je site-URL mist een punt (bijv. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics is een gratis service die een aanvulling kan zijn op onze {{a}}ingebouwde statistieken{{/a}} met verschillende inzichten in je verkeer. WordPress.com statistieken en Google Analytics gebruiken verschillende methoden om activiteit op je site te identificeren en te volgen, dus ze tonen normaal gesproken kleine verschillen in het totale aantal bezoeken, weergaven etc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configureer Google Analytics"],"Activate Google Analytics":["Activeer Google Analytics"],"Download the free apps":["Download de gratis apps"],"Upgrade Focus: VideoPress For Weddings":["Upgradefocus: VideoPress voor bruiloften"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Je kunt nu ook gerelateerde berichten configureren in het Aanpassingsmenu. {{ExternalLink}}Probeer het uit!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Advertenties worden standaard weergegeven aan het einde van elke pagina, elk bericht of bij het eerste artikel op je voorpagina. Je kunt ze ook toevoegen bovenaan je site en aan elk widget-gebied om je inkomsten te verhogen!"],"Display an ad unit at the top of your site.":["Geef een advertentie weer aan de bovenkant van je site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Door advertenties te activeren, ga je akkoord met de {{link}}Servicevoorwaarden{{/link}} van Automattic Ads."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Je server is niet goed geconfigureerd. Hierdoor kan Jetpack Protect je site niet effectief beschermen."],"In \"Mobile\"":["In 'Mobiel'"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configureer je meldingsinstellingen van Monitor op WordPress.com{{/link}}"],"View your earnings":["Bekijk je inkomsten"],"Configure site SEO":["SEO van site configureren"],"Activate SEO tools":["SEO-hulpmiddelen activeren"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Klik op Media toevoegen in je bericht-editor en upload een video; wij doen de rest."],"Video Hosting":["Videohosting"],"SEO Tools":["SEO-hulpmiddelen"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Geavanceerde SEO-hulpmiddelen om je te helpen je site te laten vinden wanneer mensen naar relevante inhoud zoeken."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["De eenvoudigste manier om video's zonder advertenties en merken naar je site te uploaden. Je ontvangt statistieken over hoe vaak je video is afgespeeld en gedeeld. Bovendien is het programma niet veeleisend en zeer responsief."],"You are running Jetpack on a staging server.":["Je voert Jetpack uit op een staging server."],"More Info":["Meer info"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Beheer de zichtbaarheid van Likes via de instellingen van de Sharing-module{{/a}}"],"Your current IP: %(ip)s":["Je huidige IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Er zijn niet-opgeslagen instellingen in dit tabblad die verloren gaan als je dit verlaat. Doorgaan?"],"This will reset all Jetpack options, are you sure?":["Hierdoor worden alle Jetpack-opties hersteld. Zeker weten?"],"Search for a Jetpack feature.":["Zoeken naar Jetpack-functie."],"Configure your Security Scans":["Configureer je beveiligingsscans"],"Subscriber":["Abonnee"],"Big iPhone/iPad Update Now Available":["Grote update voor iPhone/iPad nu beschikbaar"],"The WordPress for Android App Gets a Big Facelift":["De WordPress voor Android-app krijgt een grote update"],"WordPress.com Likes are:":["De Likes van WordPress.com zijn:"],"A few catchy words to motivate your visitors to comment.":["Een aantal treffende woorden om je lezers te motiveren om te reageren."],"Hide the stats smiley face image":["Verberg de smiley-afbeelding van statistieken"],"Whitelisted IP addresses":["IP-adressen op whitelist"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Toon een promotie voor de mobiele apps van WordPress in de voettekst van het mobiele thema"],"Copied!":["Gekopieerd"],"Highlight and copy the following text to your clipboard:":["Selecteer en kopieer de volgende tekst naar je klembord:"],"Regenerate address":["Adres opnieuw genereren"],"Cheatin' uh?":["Wil je valsspelen?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Kun je ons via dit {{a}}onderzoek met 2 vragen{{/a}} vertellen waarom je de Jetpack-verbinding niet hebt voltooid?{{/p}}{{p}}Er is een Jetpack-verbinding vereist om onze beveiligings- en bezoekersfuncties te laten werken.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Welkom bij {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Je hebt Jetpack al gekoppeld."],"You're fueled up and ready to go, Jetpack is now active.":["Klaar voor lancering: Jetpack is nu actief."],"You're fueled up and ready to go.":["Klaar voor lancering."],"You are currently running a development version of Jetpack.":["Je voert op dit moment een ontwikkelingsversie van Jetpack uit."],"Submit Beta feedback":["Verzend beta-feedback"],"What would you like to see on your Jetpack Dashboard?":["Wat zou je nog willen zien op je dashboard van Jetpack?"],"Let us know!":["Laat het ons weten!"],"Saving…":["Opslaan…"],"Save Settings":["Instellingen opslaan"],"Jetpack Stats Icon":["Pictogram Jetpack-statistieken"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activeer sitestatistieken{{/a}} om gedetailleerde statistieken, likes, volgers, abonnees en nog veel meer te bekijken! {{a1}}Meer informatie{{/a1}}"],"Activate Site Stats":["Activeer sitestatistieken"],"Site Backups":["Back-ups van site"],"Upgrade":["Upgraden"],"ACTIVE":["ACTIEF"],"View your spam stats":["Bekijk je spamstatistieken"],"View your security dashboard":["Bekijk je beveiligingsdashboard"],"Real-Time Backups":["Real-time backups"],"The site is in Development Mode, so you can not connect to WordPress.com.":["De site is in ontwikkelingsmodus, dus je kunt geen verbinding maken met WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Koppel je account aan WordPress.com om het meeste uit Jetpack te halen."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["{{a}}Installeer en activeer {{/a}} VaultPress voor geautomatiseerde, uitgebreide beveiligingsscans tegen bedreigingen."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack blokkeert schadelijke inlogpogingen nu automatisch. Binnenkort worden hier gegevens weergegeven!"],"Total malicious attacks blocked on your site.":["Totaal aantal schadelijke aanvallen geblokkeerd op je site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activeer Protect{{/a}} om je site te beschermen tegen schadelijke inlogpogingen."],"All plugins are up-to-date. Awesome work!":["Alle plugins zijn bijgewerkt. Geweldig."],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack controleert je site. Als we vermoeden dat je site offline is, ontvang je een e-mail."],"Security":["Beveiliging"],"Performance":["Prestaties"],"Backup":["Backup"],"{{a}}View backup details{{/a}}.":["{{a}}Informatie over back-ups weergeven{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["{{a}}Installeer en activeer {{/a}} VaultPress om automatisch back-ups te maken van je hele site."],"Unavailable in Dev Mode.":["Niet beschikbaar in ontwikkelingsmodus."],"Unavailable in Dev Mode":["Niet beschikbaar in ontwikkelingsmodus"],"Activating %(slug)s…":["%(slug)s wordt geactiveerd…"],"%(slug)s has been activated.":["%(slug)s is geactiveerd."],"%(slug)s failed to activate. %(error)s":["%(slug)s kon niet worden geactiveerd. %(error)s"],"Deactivating %(slug)s…":["%(slug)s wordt gedeactiveerd…"],"%(slug)s has been deactivated.":["%(slug)s is gedeactiveerd."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s kon niet worden gedeactiveerd. %(error)s"],"Updating %(slug)s settings…":["Instellingen van %(slug)s worden bijgewerkt…"],"Updated %(slug)s settings.":["Instellingen van %(slug)s bijgewerkt…"],"Error updating %(slug)s settings. %(error)s":["Fout bij het bijwerken van de instellingen voor %(slug)s. %(error)s"],"Updating %(slug)s address…":["Adres van %(slug)s wordt bijgewerkt…"],"Regenerated %(slug)s address .":["Adres van %(slug)s opnieuw gegenereerd."],"Error regenerating %(slug)s address. %(error)s":["Fout bij het opnieuw genereren van %(slug)s-adres. %(error)s"],"Resetting Jetpack options…":["Jetpack-opties worden hersteld..."],"Options reset.":["Opties hersteld."],"Options failed to reset.":["Opties konden niet worden hersteld."],"There was an error disconnecting Jetpack. Error: %(error)s":["Er is een fout opgetreden bij het verbreken van de verbinding met Jetpack-servers. Fout: %(error)s"],"Unlinking from WordPress.com":["Ontkoppelen van WordPress.com."],"Unlinked from WordPress.com.":["Ontkoppeld van WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Fout bij het ontkoppelen van WordPress.com. %(error)s"],"At A Glance":["In één oogopslag"],"Dashboard":["Dashboard"],"Automattic's Privacy Policy":["Privacybeleid van Automattic"],"WordPress.com Terms of Service":["Algemene voorwaarden van WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Schakel automatische updates voor plugins in{{/a}}"],"Plugin Updates":["Plugin-updates"],"No threats found, you're good to go!":["Geen bedreigingen gevonden, alles gaat naar wens!"],"{{a}}Contact Support{{/a}}":["{{a}}Neem contact op met ondersteuning{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Bekijk details op VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Oh oh, %(number)s bedreiging aangetroffen.","Oh oh, %(number)s bedreigingen aangetroffen."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activeer monitor{{/a}} om meldingen via e-mail te ontvangen als je site offline is."],"Loading…":["Laden..."],"Downtime monitor":["Downtime-bewaking"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Meer statistieken weergeven op WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Gedetailleerde statistieken weergeven{{/button}}"],"All-time comments":["Totaal aantal reacties"],"All-time views":["Totaal aantal weergaven"],"%(number)s View":["%(number)s weergave","%(number)s weergaven"],"Best overall day":["Beste dag in totaal"],"Views today":["Aantal weergaven vandaag"],"Months":["Maanden"],"Weeks":["Weken"],"Days":["Dagen"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Er is een fout opgetreden tijdens het laden van de statistieken. Probeer het later opnieuw of {{a}}bekijk je statistieken nu op WordPress.com{{/a}}"],"Click to view detailed stats.":["Klik om gedetailleerde statistieken weer te geven."],"Views: %(numberOfViews)s":["Weergaven: %(numberOfViews)s"],"Week of %(date)s":["Week van %(date)s"],"Site Security":["Sitebeveiliging"],"Link to WordPress.com":["Koppelen aan WordPress.com"],"Unlink me from WordPress.com":["Ontkoppel mij van WordPress.com."],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Er ging iets mis bij het maken van een verbinding voor Jetpack. Klik nogmaals op &#8220;Verbinden met WordPress.com&#8221;."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["We hebben een probleem ervaren bij het verbinden van Jetpack. Deactiveer dan de Jetpack plugin, heractiveer deze daarna en maak daarna opnieuw een verbinding. "],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Je moet ingelogd blijven in je WordPress blog terwijl je Jetpack autoriseert."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Er ging iets fout in Jetpack.{{/s}} Sorry voor het ongemak. Probeer het later opnieuw. Als het probleem aanhoudt, kun je contact opnemen met support met vermelding van dit bericht: %(error_key)s"],"Disconnecting Jetpack":["Jetpack wordt losgekoppeld"],"Learn more":["Meer weten"],"Posts":["Berichten"],"Front page":["Startpagina"],"Upload videos":["Upload video's"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Toon gerelateerde content na berichten"],"Related":["Gerelateerd"],"Disconnect":["Verbinding verbreken"],"Save":["Opslaan"],"Media":["Media"],"Mobile Theme":["Mobiel thema"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX is een krachtige opmaaktaal voor het schrijven van ingewikkelde wiskundige vergelijkingen en formules."],"Site Stats":["Site Stats"],"Sharing":["Delen"],"Testimonials":["Aanbevelingen"],"Cancel":["Annuleren"],"Comments":["Reacties"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack kon geen verbinding maken met WordPress.com: %(error_key)s. Dit betekent meestal dat er iets niet goed geconfigureerd is bij je webhost."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com ondervindt momenteel problemen en kan Jetpack niet opstarten. Probeer het later nogmaals."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Jetpack heeft een probleem.{{/s}} Verbinden van deze website met WordPress.com is niet mogelijk. Dit betekent gewoonlijk dat de site niet publiekelijk toegankelijk is (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["De website moet toegankelijk zijn voor publiek om gebruik te kunnen maken van Jetpack: %(error_key)s"],"Edit":["Bewerken"],"Connected":["Verbonden"],"Activate":["Activeren"],"Active":["Actief"],"Settings":["Instellingen"],"Learn More":["Kom meer te weten"],"Disconnect Jetpack":["Jetpack loskoppelen"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Opmerking:{{/b}} Deze functie raakt verouderd en wordt in maart van Jetpack verwijderd. {{link}}Meer informatie{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack back-up"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["WP.me-shortlinks"],"Settings header\u0004Auto-update plugins":["Plugins automatisch bijwerken"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Downtime-bewaking"],"Settings header\u0004Privacy Settings":["Privacyinstellingen"],"Settings header\u0004WordPress.com toolbar":["WordPress.com-werkbalk"],"Settings header\u0004Composing":["Opstellen"],"Settings header\u0004Site stats":["Sitestatistieken"],"Settings header\u0004Search engine optimization":["Zoekmachineoptimalisatie"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Deelknoppen"],"Settings header\u0004Publicize connections":["Publicize-koppelingen"],"Settings header\u0004Like buttons":["Like-knoppen"],"Settings header\u0004Brute force attack protection":["Bescherming tegen brute force-aanvallen"],"Settings header\u0004Backups and security scanning":["Back-ups en beveiligingsscans"],"Notice in the empty statistics chart\u0004No activity this period":["Geen activiteiten deze periode"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com-login"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Stuur link"],"A caption for a button to cancel an action.\u0004Cancel":["Annuleren"],"Link to learn more about Jetpack.\u0004About":["Over"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Modules"],"Navigation item.\u0004Performance":["Prestatie"],"Navigation item.\u0004My Plan":["Mijn abonnement"],"Navigation item.\u0004Dev Tools":["Ontwikkelaarstools"],"Navigation item.\u0004Settings":["Instellingen"],"Navigation item.\u0004Discussion":["Reacties"],"Navigation item.\u0004Traffic":["Verkeer"],"Navigation item.\u0004Sharing":["Delen"],"Navigation item.\u0004At A Glance":["In één oogopslag"],"Navigation item.\u0004Plans":["Abonnementen"],"Navigation item.\u0004Writing":["Schrijven"],"Navigation item.\u0004Reset Options (dev only)":["Opties opnieuw instellen (alleen ontwikkelingsversies)"],"Navigation item.\u0004Security":["Beveiliging"],"Navigation item.\u0004At a Glance":["In één oogopslag"],"Search term.\u0004terms of service":["servicevoorwaarden"],"Search term.\u0004tos":["voorwaarden service"],"Search term.\u0004gdpr":["avg"],"Search term.\u0004data":["gegevens"],"Search term.\u0004tracks":["bijhouden"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Upgraden"],"Button caption\u0004Saving…":["Opslaan…"],"Button caption\u0004Save settings":["Instellingen opslaan"],"A heading for a block of related posts.\u0004Related":["Gerelateerd"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Voorbeeld bekijken"],"Short warning message\u0004Updates needed":["Updates vereist"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Betaald"],"A header for a preview area in the configuration screen.\u0004Preview":["Voorbeeld bekijken"],"Ads header\u0004Ads":["Advertenties"],"Dashboard widget header\u0004Site connection":["Verbinding site"],"Dashboard widget header\u0004Account connection":["Verbinding account"],"A caption for a small button to fix security issues.\u0004Threats":["Bedreigingen"],"A caption for a small button to fix security issues.\u0004FIX":["Oplossen"],"Short warning message about new threats found.\u0004Threats found!":["Bedreigingen gevonden."],"Short message informing user that the site is secure.\u0004Secure":["Veilig"],"Caption for a button to set up a feature.\u0004Set up":["Instellen"],"verb\u0004Copy":["Kopiëren"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacy"],"Shorthand for Terms of Service.\u0004Terms":["Voorwaarden"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Foutopsporing"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Spamreacties geblokkeerd."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-nl_NL_formal-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-nl_NL_formal-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 6139f348..00000000
--- a/plugins/jetpack/languages/json/jetpack-nl_NL_formal-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"":{"po-revision-date":"2016-03-22 15:35:08+0000","mime-version":"1.0","content-type":"text/plain; charset=UTF-8","content-transfer-encoding":"8bit","plural-forms":"nplurals=2; plural=n != 1;","x-generator":"GlotPress/2.4.0-alpha","language":"nl","project-id-version":"Plugins - Jetpack by WordPress.com - Development (trunk)"},"We're here to help":[null,""],"Jetpack comes with free, basic support for all users.":[null,""],"Ask a question":[null,""],"Search our support site":[null,""],"Get a faster resolution to your support questions.":[null,""],"Host fast, high-quality, ad-free video.":[null,""],"Generate income with high-quality ads.":[null,""],"Real-time site backups and automatic threat resolution.":[null,""],"Protect against data loss, malware, and malicious attacks.":[null,""],"Integrate easily with Google Analytics.":[null,""],"Help your content get found and shared with SEO tools.":[null,""],"Protect your site from spam.":[null,""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[null,""],"Spam filtering":[null,""],"Daily, automated malware scanning":[null,""],"13Gb of high-speed video hosting":[null,""],"Daily, automated backups (unlimited storage)":[null,""],"Daily, automated malware scanning with automated resolution":[null,""],"Priority WordPress and security support":[null,""],"Unlimited high-speed video hosting":[null,""],"SEO preview tools":[null,""],"Site stats, related content, and sharing tools":[null,""],"Brute force attack protection and uptime monitoring":[null,""],"Unlimited, high-speed image hosting":[null,""],"By disconnecting %(siteName)s from WordPress.com you will no longer have access to the following:":[null,""],"Read more about Jetpack benefits":[null,""],"An Automattic Airline":[null,""],"Manage site connection":[null,""],"Connect your account to WordPress.com to view more stats":[null,""],"Theme enhancements":[null,""],"Load more posts using the default theme behavior":[null,""],"Load more posts in page with a button":[null,""],"Load more posts as the reader scrolls down":[null,""],"Theme support required.":[null,""],"Learn more about adding support for Infinite Scroll to your theme.":[null,""],"Use excerpts instead of full posts on front page and archive pages":[null,""],"Show featured images":[null,""],"Must be enabled to use tiled galleries.":[null,""],"Enable the WordPress.com toolbar":[null,""],"The WordPress.com toolbar replaces the default admin bar and offers quick links to the Reader, all your sites, your WordPress.com profile, and notifications. Centralize your WordPress experience with a single global toolbar.":[null,""],"Writing tools available to you will be shown here when an administrator enables them.":[null,""],"Portfolios":[null,""],"Add, organize, and display {{portfolioLink}}portfolios{{/portfolioLink}}. If your theme doesn’t support portfolios yet, you can display them using the shortcode ( [portfolios] )":[null,""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[null,""],"Bing":[null,""],"Yandex":[null,""],"Generate XML sitemaps":[null,""],"Your sitemap is automatically sent to all major search engines for indexing.":[null,""],"Your site is not currently accessible to search engines. You might have \"Search Engine Visibility\" disabled in your {{a}}Reading Settings{{/a}}.":[null,""],"Collecting valuable traffic stats and insights":[null,""],"The image helps collect stats, but should work when hidden.":[null,""],"Count logged in page views from":[null,""],"Allow stats reports to be viewed by":[null,""],"You can tweak these settings if you'd like more advanced control. Read more about what you can do to {{a}}optimize your site's SEO{{/a}}.":[null,""],"Configure your SEO settings":[null,""],"In \"Upgrade\"":[null,""],"Configure your Google Analytics settings":[null,""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[null,""],"Enable ads and display an ad below each post":[null,""],"Display an additional ad at the top of each page":[null,""],"Configure your sharing buttons":[null,""],"Sharing buttons can be added to your posts so that your users can share your content to their social networks and show their support.":[null,""],"Connect your social media accounts":[null,""],"Connect your user account to WordPress.com to use this feature":[null,""],"Publicize lets you connect your site to various social networking services. Once connected to a service, you can share your posts with that service automatically.":[null,""],"Allow readers to show their appreciation of your posts by adding a like button to your content":[null,""],"Match accounts using email addresses":[null,""],"Require accounts to use WordPress.com Two-Step Authentication":[null,""],"Add to whitelist":[null,""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[null,""],"Your site is backed up and threat-free.":[null,""],"Checking your spam protection…":[null,""],"Fetching key…":[null,""],"Your site needs an Antispam key.":[null,""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[null,""],"Your site is not protected from spam.":[null,""],"Your Antispam key is valid.":[null,""],"Your site is protected from spam.":[null,""],"Checking key…":[null,""],"Your API key":[null,""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[null,""],"No search results found for %(term)s":[null,""],"Enter a search term to find settings or close search.":[null,""],"Connections":[null,""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[null,""],"Your site is connected to WordPress.com.":[null,""],"You are the Jetpack owner.":[null,""],"Connected as {{span}}%(username)s{{/span}}":[null,""],"View your Email Followers":[null,""],"Connect your user account to WordPress.com to view your email followers":[null,""],"Color scheme":[null,""],"Enable Markdown use for comments.":[null,""],"router There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"Updated settings.":[null,""],"Error updating settings. %(error)s":[null,""],"Regenerated Post by Email address.":[null,""],"Error regenerating Post by Email address. %(error)s":[null,""],"Updated settings. Refreshing page…":[null,""],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because:":[null,""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[null,""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[null,""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[null,""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[null,""],"Configure Google Analytics settings.":[null,""],"Image of WordPress login screen protected by Jetpack":[null,""],"Google Analytics":[null,""],"Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.":[null,""],"Configure Google Analytics":[null,""],"Activate Google Analytics":[null,""],"Download the Free Apps":[null,""],"Upgrade Focus: VideoPress For Weddings":[null,""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[null,""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[null,""],"Display an ad unit at the top of your site.":[null,""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[null,""],"Image of managing your sites themes on your WordPress.com dashboard":[null,""],"Image of managing your sites plugins on your WordPress.com dashboard":[null,""],"Image of the new post editor on your WordPress.com dashboard":[null,""],"Image of your sites stats on your WordPress.com dashboard":[null,""],"Image of your WordPress.com reader":[null,""],"Example of three devices to use the WordPress apps. An iPhone, Android phone, and a apple laptop computer.":[null,""],"Download the free WordPress app for your iPhone":[null,""],"Download the free WordPress app for your Android based phone":[null,""],"Download the free WordPress app for your apple computer":[null,""],"Download the free WordPress app for your PC ":[null,""],"Download the free WordPress app for your Linux machine":[null,""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[null,""],"Upgrade to a paid plan to unlock world-class security, spam protection tools, priority support, SEO and monetization tools.":[null,""],"Ads":[null,""],"Earn income by allowing Jetpack to display high quality ads (powered by WordAds).":[null,""],"Activate Ads":[null,""],"Income generation from ads":[null,""],"Premium traffic and monetization tools":[null,""],"The Jetpack Premium plan now offers you the ability to generate income from your site by showing high-quality paid ads to your visitors. Professional plan customers also benefit from SEO tools to help optimize search engine traffic.":[null,""],"We support all Jetpack users, regardless of plan. But customers on a paid subscription enjoy priority support so that security issues are identified and fixed for you as soon as possible. ":[null,""],"In \"Mobile\"":[null,""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[null,""],"View your earnings":[null,""],"Activate VideoPress":[null,""],"Upload Videos Now":[null,""],"Make sure your site is easily found on search engines with SEO tools for your content and social posts.":[null,""],"Activate this module to use the advanced SEO tools.":[null,""],"How much is your website worth?":[null,""],"For less than the price of a coffee a month you can rest easy knowing your hard work (or livelihood) is backed up.":[null,""],"Configure Site SEO":[null,""],"Activate SEO Tools":[null,""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[null,""],"Introducing our most affordable backups and security plan yet":[null,""],"The Personal Plan keeps your data, site, and hard work safe.":[null,""],"Your site is on the Jetpack Personal plan":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), and unlimited storage.":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), unlimited backup storage, security scanning, 13Gb of ad-free video hosting, income generation from ads, and priority support.":[null,""],"You get spam-protection, real-time backups (unlimited archive), unlimited backup storage, security scanning, unlimited ad-free video hosting, income generation from ads, SEO tools, and priority support.":[null,""],"Daily backup of all your site data with unlimited space and one-click restores (powered by VaultPress).":[null,""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support (powered by VaultPress).":[null,""],"Backups & Security Scanning":[null,""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, one-click threat resolution, and priority support (powered by VaultPress).":[null,""],"13Gb of fast, optimized, and ad-free video hosting for your site (powered by VideoPress).":[null,""],"Video Hosting":[null,""],"Fast, optimized, ad-free, and unlimited video hosting for your site (powered by VideoPress).":[null,""],"SEO Tools":[null,""],"Advanced SEO tools to help your site get found when people search for relevant content.":[null,""],"Daily and on-demand security scanning":[null,""],"Real-time backups and one-click threat resolution":[null,""],"Unlimited and ad-free video hosting":[null,""],"Need more? Running a business site?":[null,""],"If your site is important to you, consider protecting and improving it with some of our advanced features: ":[null,""],"On-demand security scanning":[null,""],"Advanced SEO tools":[null,""],"Configure your SEO settings.":[null,""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[null,""],"You are running Jetpack on a staging server.":[null,""],"More Info":[null,""],"Search your content.":[null,""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[null,""],"Your current IP: %(ip)s":[null,""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,""],"This will reset all Jetpack options, are you sure?":[null,""],"Search for a Jetpack feature.":[null,""],"Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.":[null,""],"You can see the information about security scanning in the \"At a Glance\" section.":[null,""],"Configure your Security Scans":[null,""],"This module has no configuration options":[null,""],"Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch.":[null,""],"Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.":[null,""],"{{link}}Configure your %(module_slug)s Settings {{/link}}":[null,""],"Subscriber":[null,""],"Big iPhone/iPad Update Now Available":[null,""],"The WordPress for Android App Gets a Big Facelift":[null,""],"WordPress.com Likes are:":[null,""],"Comments headline":[null,""],"A few catchy words to motivate your readers to comment.":[null,""],"Show a \"follow blog\" option in the comment form":[null,""],"Show a \"follow comments\" option in the comment form":[null,""],"Put a chart showing 48 hours of views in the admin bar":[null,""],"Hide the stats smiley face image":[null,""],"Whitelisted IP addresses":[null,""],"Show photo metadata (Exif) in carousel, when available":[null,""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[null,""],"Copied!":[null,""],"Highlight and copy the following text to your clipboard:":[null,""],"Regenerate address":[null,""],"Automatically proofread content when: ":[null,""],"A post or page is first published":[null,""],"A post or page is updated":[null,""],"Automatic Language Detection":[null,""],"The proofreader supports English, French, German, Portuguese and Spanish.":[null,""],"Enable proofreading for the following grammar and style rules: ":[null,""],"Add a phrase":[null,""],"Cheatin' uh?":[null,""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[null,""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[null,""],"Your Jetpack is already connected.":[null,""],"You're fueled up and ready to go, Jetpack is now active.":[null,""],"You're fueled up and ready to go.":[null,""],"You are currently running a development version of Jetpack.":[null,""],"Submit Beta feedback":[null,""],"You, %(userName)s, are not connected to WordPress.com.":[null,""],"What would you like to see on your Jetpack Dashboard?":[null,""],"Let us know!":[null,""],"Welcome to Jetpack":[null,""],"Please connect to or create a WordPress.com account to start using Jetpack. This will enable powerful security, traffic, and customization services.":[null,""],"No account? Create one for free…":[null,""],"Saving…":[null,""],"Save Settings":[null,""],"Jetpack Stats Icon":[null,""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[null,""],"Activate Site Stats":[null,""],"Security Scanning":[null,""],"Upgrade":[null,""],"ACTIVE":[null,""],"Hackers, botnets and spammers attack websites indiscriminately. Their goal is to attack everywhere and often. Our goal is to help you prepare by blocking these threats, and in worst-case-scenarios we'll be here to help you restore your site to its former glory.":[null,""],"Your site is on the Free Jetpack Plan":[null,""],"Your site is on the Jetpack Premium plan":[null,""],"Your site is on the Jetpack Professional plan":[null,""],"Your site is on Development Mode":[null,""],"Once you connect, you can upgrade to a paid plan in order to unlock world-class security, spam protection tools, and priority support.":[null,""],"State-of-the-art spam defense powered by Akismet.":[null,""],"View your spam stats":[null,""],"Configure Akismet":[null,""],"View your security dashboard":[null,""],"Configure VaultPress":[null,""],"Real-time backups":[null,""],"One-click threat resolution":[null,""],"Compare Plans":[null,""],"Maximum grade security":[null,""],"Real-time backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense, and brute-force login protection - all in one place and optimized for WordPress.":[null,""],"Bulletproof spam filtering protects your brand, your readers, and improves SEO. Malware scanning helps maintain peace of mind and keeps your backend safe from intruders.":[null,""],"Enjoy priority support":[null,""],"The site is in Development Mode, so you can not connect to WordPress.com.":[null,""],"Link your account to WordPress.com to get the most out of Jetpack.":[null,""],"Powerful WordPress.com features on every device.":[null,""],"Manage all your sites from a single dashboard.":[null,""],"Feel the performance":[null,""],"All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around.":[null,""],"Bulk and automatic updates":[null,""],"Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.":[null,""],"Focus on your Writing":[null,""],"Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.":[null,""],"Try the New Editor":[null,""],"Connect with your Visitors":[null,""],"Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.":[null,""],"View Your Stats":[null,""],"Connect with the Community":[null,""],"The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.":[null,""],"Launch Reader":[null,""],"Inspiration strikes any time, anywhere.":[null,""],"Get WordPress apps for any screen.":[null,""],"In Your Pocket":[null,""],"Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.":[null,""],"WordPress.com in the App Store":[null,""],"WordPress.com in Google Play":[null,""],"On Your Desktop":[null,""],"A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.":[null,""],"WordPress.com for Mac OS X":[null,""],"WordPress.com for Windows":[null,""],"WordPress.com for Linux":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.":[null,""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[null,""],"Total malicious attacks blocked on your site.":[null,""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[null,""],"All plugins are up-to-date. Awesome work!":[null,""],"{{a}}Activate Manage{{/a}} to turn on auto updates and manage your plugins from WordPress.com.":[null,""],"Jetpack is improving and optimizing your image speed.":[null,""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[null,""],"Security":[null,""],"Performance":[null,""],"Backups":[null,""],"{{a}}View backup details{{/a}}.":[null,""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[null,""],"Unavailable in Dev Mode.":[null,""],"Spam Protection":[null,""],"For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.":[null,""],"For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.":[null,""],"Invalid key":[null,""],"Unavailable in Dev Mode":[null,""],"Activating recommended features…":[null,""],"Recommended features active.":[null,""],"Recommended features failed to activate. %(error)s":[null,""],"%(slug)s has been activated.":[null,""],"%(slug)s failed to activate. %(error)s":[null,""],"%(slug)s has been deactivated.":[null,""],"%(slug)s failed to deactivate. %(error)s":[null,""],"Updating %(slug)s settings…":[null,""],"Updated %(slug)s settings.":[null,""],"Error updating %(slug)s settings. %(error)s":[null,""],"Updating %(slug)s address…":[null,""],"Regenerated %(slug)s address .":[null,""],"Error regenerating %(slug)s address. %(error)s":[null,""],"Resetting Jetpack options…":[null,""],"Options reset.":[null,""],"Options failed to reset.":[null,""],"There was an error disconnecting Jetpack. Error: %(error)s":[null,""],"Unlinking from WordPress.com":[null,""],"Unlinked from WordPress.com.":[null,""],"Error unlinking from WordPress.com. %(error)s":[null,""],"At A Glance":[null,""],"Clichés":[null,""],"Dashboard":[null,""],"Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.":[null,""],"Automattic's Privacy Policy":[null,""],"WordPress.com Terms of Service":[null,""],"{{a}}Activate Site Verification{{/a}} to verify your site and increase ranking with Google, Bing, and Pinterest.":[null,""],"Site Verification Tools are active. Ensure your site is verified with Google, Bing, and Pinterest for more accurate indexing and ranking. {{a}}Verify now{{/a}}":[null,""],"Site Verification Tools":[null,""],"{{a}}Activate Photon{{/a}} to enhance the performance and speed of your images.":[null,""],"Image Performance %(photon)s":[null,""],"{{a}}Activate Manage and turn on auto updates{{/a}}":[null,""],"{{a}}Turn on plugin auto updates{{/a}}":[null,""],"Plugin Updates":[null,""],"To automatically back up your entire site, please {{a}}upgrade your account.{{/a}}.":[null,""],"Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.":[null,""],"No threats found, you're good to go!":[null,""],"{{a}}Contact Support{{/a}}":[null,""],"{{a}}View details at VaultPress.com{{/a}}":[null,""],"{{a}}Activate Monitor{{/a}} to receive notifications if your site goes down.":[null,""],"Loading…":[null,""],"Downtime Monitoring":[null,""],"{{button}}View more stats on WordPress.com {{/button}}":[null,""],"{{button}}View detailed stats{{/button}}":[null,""],"All-time comments":[null,""],"All-time views":[null,""],"Best overall day":[null,""],"Views today":[null,""],"Months":[null,""],"Weeks":[null,""],"Days":[null,""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[null,""],"Click to view detailed stats.":[null,""],"Views: %(numberOfViews)s":[null,""],"Week of %(date)s":[null,""],"Manage security on WordPress.com":[null,""],"Skip this step":[null,""],"Skip the Jetpack Jumpstart process":[null,""],"Features can be activated or deactivated at any time.":[null,""],"Jetpack's recommended features include:":[null,""],"Activate Recommended Features":[null,""],"Quickly enhance your site by activating Jetpack's recommended features.":[null,""],"Jump Start your Site":[null,""],"Link to WordPress.com":[null,""],"Unlink me from WordPress.com":[null,""],"Join the millions of users who rely on Jetpack to enhance and secure their sites. We're passionate about WordPress and here to make your life easier.":[null,""],"Jetpack is supported by some of the most technical and passionate people in the community. They're located around the globe and ready to help you.":[null,""],"Did we mention free, professional support?":[null,""],"Jetpack utilizes the state-of-the-art WordPress.com content delivery network to load your gorgeous imagery super fast. Optimized for any device, and its completely free.":[null,""],"Lightning fast, optimized images":[null,""],"Never fall behind on a security release or waste time updating multiple sites.":[null,""],"Automatic site updates.":[null,""],"Live site monitoring.":[null,""],"Gain peace of mind with Protect, the tool that has blocked billions of login attacks across millions of sites.":[null,""],"Block site attacks.":[null,""],"Jetpack blocks malicious log in attempts, lets you know if your site goes down, and can automatically update your plugins, so you don’t have to worry.":[null,""],"Site security and peace of mind":[null,""],"Jetpack harnesses the power of WordPress.com to show you detailed insights about your visitors, what they’re reading, and where they’re coming from.":[null,""],"Keep visitors engaged by giving them more to share and read with Related Posts.":[null,""],"Increase page views.":[null,""],"Give visitors the tools to share and subscribe to your content.":[null,""],"Build a community.":[null,""],"Sharing & Like Buttons":[null,""],"Automated social marketing.":[null,""],"Jetpack has many traffic and engagement tools to help you get more viewers to your site and keep them there.":[null,""],"Manage Plugins":[null,""],"Stress less. Monitor will send you real-time alerts if your site ever goes down.":[null,""],"Track your growth":[null,""],"Use Publicize to automatically share your posts with friends, followers, and the world.":[null,""],"Drive more traffic to your site":[null,""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[null,""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[null,""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[null,""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[null,""],"Disconnecting Jetpack":[null,"Jetpack wordt losgekoppeld"],"Learn more":[null,"Meer weten"],"Pinterest":[null,"Pinterest"],"Google":[null,"Google"],"Show related content after posts":[null,"Toon gerelateerde content na berichten"],"Use a large and visually striking layout":[null,"Gebruik een grote en visueel opvallende layout"],"Show a \"Related\" header to more clearly separate the related section from posts":[null,"Toon een 'Gerelateerde' header om duidelijker de gerelateerde sectie te scheiden van berichten"],"Related":[null,"Gerelateerd"],"Email Address":[null,"E-mailadres"],"Media":[null,"Media"],"Site Stats":[null,"Site Stats"],"Testimonials":[null,"Beoordelingen"],"Comments":[null,"Reacties"],"Ignored Phrases":[null,"Genegeerde zinnen"],"Use automatically detected language to proofread posts and pages":[null,"Gebruik de automatisch gedetecteerde taal om berichten en pagina's te proeflezen."],"Redundant Phrases":[null,"Overbodige zinnen"],"Phrases to Avoid":[null,"Te vermijden zinnen"],"Passive Voice":[null,"Passieve stem"],"Jargon":[null,"Jargon"],"Hidden Verbs":[null,"Verborgen werkwoorden"],"Double Negatives":[null,"Dubbele ontkenningen"],"Diacritical Marks":[null,"Diacritische tekens"],"Complex Phrases":[null,"Complexe zinnen"],"Bias Language":[null,"Voorkeurstaal"],"English Options":[null,"Engelse opties"],"Proofreading":[null,"Proeflezen"],"Connect Jetpack":[null,"Jetpack verbinden"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[null,""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[null,"WordPress.com ondervindt momenteel problemen en kan Jetpack niet opstarten. Probeer het later nogmaals."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[null,""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[null,""],"You have successfully disconnected Jetpack":[null,""],"Active":[null,"Actief"],"Settings":[null,"Instellingen"],"Learn More":[null,"Kom meer te weten"],"Disconnect Jetpack":[null,"Jetpack loskoppelen"],"Test your site’s compatibility with Jetpack.":[null,""]} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-nn_NO-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-nn_NO-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 861a165b..00000000
--- a/plugins/jetpack/languages/json/jetpack-nn_NO-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"nn_NO"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Les meir"],"Posts":["Innlegg"],"Front page":["Framside"],"Pinterest":[""],"Google":["Google"],"Show related content after posts":["Vis liknande innhald etter innlegg"],"Related":["LIknande innhald"],"Disconnect":["Kople frå"],"Save":["Lagre"],"Media":["Media"],"Site Stats":["Sidestatistikk"],"Sharing":["Dele"],"Testimonials":[""],"Cancel":["Avbryt"],"Comments":["kommentarar"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Rediger"],"Connected":["Tilkopla"],"Activate":["Slå på"],"Active":["Aktiv"],"Settings":["Innstillingar"],"Learn More":["Les meir"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-pl_PL-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-pl_PL-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 30667ebb..00000000
--- a/plugins/jetpack/languages/json/jetpack-pl_PL-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"pl"},"Manually Verify ":["Sprawdź ręcznie "],"Verify with Google":["Sprawdź z Google "],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":["lub"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitoruj ruch i skuteczność swojej witryny z {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Twoja witryna jest zweryfikowana z Google"],"Site failed to verify: %(error)s":["Nieudana weryfikacja witryny: %(błąd)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Dodaj szybsze i bardziej zaawansowane wyszukiwanie do swojej witryny za pomocą Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Zmień wbudowaną w WordPressa wyszukiwarkę na posiadającą więcej możliwości wyszukiwarkę Jetpacka"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":["Witryna jest zweryfikowana"],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Custom ads.txt entries":[""],"Privacy information":[""],"Enable Lazy Loading for images":[""],"Performance & speed":[""],"Enable high-speed, ad-free video player":[""],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":[""],"Video":[""],"Carousel color scheme":[""],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":[""],"Show photo Exif metadata in carousel (when available)":[""],"Display images in a full-screen carousel gallery":[""],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":[""],"Portfolios shortcode: [portfolio]":[""],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":[""],"Testimonials shortcode: [testimonials]":[""],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":[""],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":[""],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":[""],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":[""],"Configure related posts in the Customizer":[""],"Highlight related content with a heading":[""],"View security scan details":[""],"Show a thumbnail image where available":[""],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":[""],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":[""],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":[""],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":[""],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Ta opcja została wyłączona przez administratora. {{link}}Dowiedz się więcej{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Ta opcja została włączona przez administratora. {{link}}Dowiedz się więcej{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[""],"This feature has been disabled by a site administrator.":[""],"%(moduleName)s has been disabled by a site administrator.":[""],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Możesz dodać dodatkowe reklamy używając widżetu Reklama. {{link}}Wypróbuj to już teraz!{{/link}}"],"Configure your notification settings":["Skonfiguruj ustawienia powiadomień"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Wyszukiwarka Jetpacka posiada dużo więcej możliwości niż ta wbudowana w WordPressa."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":[""],"Plugin needs updating.":["Wtyczka wymaga aktualizacji.","Wtyczki wymagają aktualizacji.","Wtyczek wymaga aktualizacji."],"%(number)s":["","%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Aktualizator Wtyczek Jetpack pozwala wybrać wtyczki, które zostaną automatycznie zaktualizowane."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":[""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":[""],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Włącz lżejszy, przyjazny telefonom szablon, który wyświetli się użytkownikom korzystającym z bloga na telefonach."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Załaduj kolejne wpisy automatycznie, gdy czytający dojdzie do końca strony."],"Allows you to publish new posts by sending an email to a special address.":["Pozwala Ci publikować nowe wpisy przez wysłanie e-maila na specjalny adres."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":[""],"Displays information on your site activity, including visitors and popular posts or pages.":[""],"Allows you to optimize your site and its content for better results in search engines.":[""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":[""],"Displays high-quality ads on your site that allow you to earn income.":[""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":[""],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":[""],"Allows registered users to log in to your site with their WordPress.com accounts.":[""],"Protects your site from traditional and distributed brute force login attacks.":["Ochroń swoją stronę przed atakami typu brute force."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":[""],"Removes spam from comments and contact forms.":["Usuń spam z komentarzy i formularzy kontaktowych."],"We are committed to your privacy and security. ":[""],"View all Jetpack plans":["Zobacz wszystkie plany Jetpacka"],"Manage your plan":["Zarządzaj swoim planem"],"Your Plan":["Twój plan"],"You’re currently on Jetpack %(plan)s.":[""],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Zezwól czytelnikom na subskrypcję wpisów lub komentarzy, aby mogli otrzymywać na e-mail powiadomienia o nowych treściach."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Zamień domyślny formularz komentowania WordPress nowym systemem komentowania, który posiada opcje logowania przy pomocy mediów społecznościowych."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Włącz{{/a}}, aby zamienić wbudowaną w WordPressa wyszukiwarkę na posiadającą więcej możliwości wyszukiwarkę Jetpacka."],"Add Search (Jetpack) Widget":["Dodaj Widżet Szukaj (Jetpack)"],"Jetpack Search is powering search on your site.":["Wyszukiwarka Jetpack jest bardziej rozbudowaną wyszukiwarką."],"Manage your plugins":["Zarządzaj swoimi wtyczkami"],"Moderate comments":["Moderuj komentarze"],"Error updating privacy settings. %(error)s":["Błąd przy aktualizacji ustawień prywatności. %(error)s"],"Updated privacy settings.":["Zaktualizowano ustawienia prywatności."],"Updating privacy settings…":["Aktualizacja ustawień prywatności..."],"Add Jetpack Search Widget":["Dodaj Widżet Szukaj (Jetpack)"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":[""],"Daily backups, spam filtering, and priority support.":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"Design the perfect website":["Zaprojektuj swoją idealną stronę"],"Set up Jetpack":["Skonfiguruj Jetpacka"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":[""],"Jetpack Search":["Wyszukiwarka Jetpack"],"Jetpack version %(version)s":[""],"Your site is being backed up in real time and regularly scanned for security threats.":[""],"Daily backup of all your site data with unlimited space and one-click restores":[""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":[""],"View your security activity":[""]," (powered by VaultPress).":[" (powered by VaultPress)."],"Customize Search Widget":["Dostosuj widget wyszukiwania"],"Please correct the issue below and try again.":["Popraw poniższy problem i spróbuj ponownie.","Popraw problemy wymienione poniżej i spróbuj ponownie.","Liczba pojedyncza: \nLiczba mnoga: "],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Dbamy o to, aby Twoja witryna była wolna od zagrożeń bezpieczeństwa. Otrzymasz powiadomienie, jeśli jakieś znajdziemy."],"Jetpack version":["Wersja Jetpacka"],"Activity":["Aktywność"],"{{a}}View details{{/a}}":["{{a}}Zobacz szczegóły{{/a}}"],"Monetize your site with ads":["Zarabiaj na swojej witrynie dzięki reklamom"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":[""],"Jetpack Stats People":[""],"Hello there! Your stats have been activated.":[""],"Just give us a little time to collect data so we can display it for you here.":[""],"Okay, got it!":[""],"Display ads below posts on":["Wyświetl reklamy poniżej wpisów na"],"Additional ad placements":["Umiejscowienie dodatkowej reklamy"],"Top of each page":["Na górze każdej strony"],"Second ad below post":["Druga reklama poniżej wpisu"],"Archives":["Archiwa"],"Stars":[""],"Jupiter":[""],"Activate Publicize":[""],"Your site is backed up.":[""],"Get WordPress Apps for every device":["Otrzymaj aplikację WordPress na każde urządzenie"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Zarządzaj wszystkimi swoimi stronami z pojedynczego kokpitu: publikuj zawartość, śledź statystykę, nadzoruj komentarze, i dużo więcej z każdego zakątka świata."],"Create address":["Utwórz adres"],"Automatically share your posts to social networks":["Automatycznie przekazuj wpisy na portale społecznościowe"],"Updating settings…":["Uaktualnianie ustawień..."],"Updating Post by Email address…":["Uaktualnianie wpisów przez e-mail..."],"Your paid plan gives you access to prioritized Jetpack support.":["Twój płatny plan Jetpacka daje ci dostęp do priorytetowego wsparcia technicznego."],"You have paid for backups but they're not yet active.":[""],"You have paid for backups and security scanning but they’re not yet active.":[""],"Click \"Set Up\" to finish installation.":["Kliknij \"Skonfiguruj Jetpacka\", aby zakończyć instalację."],"Checking site status…":["Sprawdzanie statusu witryny..."],"Pages":["Strony"],"Access the full list of Jetpack modules available on your site.":["Zdobądź dostęp do wszystkich modułów Jetpack dostępnych na twojej witrynie."],"We're here to help":["Chętnie ci pomożemy"],"Jetpack comes with free, basic support for all users.":["Jetpack oferuje darmową pomoc techniczną dla wszystkich użytkowników."],"Ask a question":["Zadaj pytanie"],"Search our support site":["Przeszukaj naszą witrynę pomocy technicznej"],"Get a faster resolution to your support questions.":["Otrzymaj szybsze rozwiązanie swoich pytań."],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":["Zarabiaj na wysokiej jakości reklamach."],"Real-time site backups and automatic threat resolution.":["Kopie zapasowe w czasie rzeczywistym i automatyczna ochrona przed zagrożeniami."],"Protect against data loss, malware, and malicious attacks.":["Chroń przed utratą danych, złośliwym oprogramowaniem i atakami."],"Protect your site from spam.":["Chroń swoją witrynę przed spamem."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Ta witryna nie jest podłączona z WordPress.com. Poproś administratora witryny, aby ją podłączył."],"An Automattic Airline":["Automatic"],"Manage site connection":["Zarządzaj połączeniami witryny"],"Connect your account to WordPress.com to view more stats":["Podłącz swoje konto WordPress.com i zobacz więcej statystyk "],"Theme enhancements":["Ulepszenia motywu"],"Load more posts using the default theme behavior":["Załaduj więcej wpisów używając domyślnych ustawień motywu"],"Load more posts in page with a button":["Załaduj więcej wpisów na stronie przy pomocy przycisku"],"Load more posts as the reader scrolls down":["Załaduj więcej wpisów w trakcie przewijania strony"],"Theme support required.":["Wymagane wsparcie ze strony motywu."],"Learn more about adding support for Infinite Scroll to your theme.":["Dowiedz się więcej, jak dodać w swoim motywie wsparcie dla Niekończącego się Przewijania."],"Show featured images":["Pokazuj obrazki wyróżniające"],"Enable the WordPress.com toolbar":["Włącz pasek narzędzi WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["W tym miejscu pojawią się dodatkowe narzędzia pisania po włączeniu ich przez administratora."],"Portfolios":["Portfolio"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["{{b}}Weryfikacja twojej witryny na tych serwisach{{/b}} nie jest wymagana do tego, żeby została ona zindeksowana przez wyszukiwarki. Żeby używać tych zaawansowanych narzędzi wyszukiwarek i zweryfikować swoją witrynę, wklej kod HTML poniżej. Przeczytaj {{support}}pełne instrukcje{{/support}} jeżeli nie wiesz jak to zrobić. Wspierane serwisy: {{google}}Google Search Console{{/google}}, {{bing}}Bing -\n Narzędzia dla Webmasterów{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} i {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Wygeneruj mapy strony XML"],"The image helps collect stats, but should work when hidden.":["Obrazek pomaga zbierać dane do statystyk ale powinien być ukryty."],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":["Konfiguruj ustawienia Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":["Włącz reklamy i wyświetlaj je poniżej każdego wpisu"],"Configure your sharing buttons":["Konfiguruj przyciski udostępniania"],"Connect your social media accounts":["Połącz swoje konta mediów społecznościowych"],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":["Dodaj do białej listy"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":["Sprawdzanie ochrony antyspamowej..."],"Fetching key…":["Pobieranie klucza..."],"Your site needs an Antispam key.":["Twoja strona potrzebuje klucza Antispam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Wystąpił problem z twoim kluczem Antispam. {{a}}Dowiedz się więcej{{/a}}."],"Your site is not protected from spam.":["Twoja witryna nie jest zabezpieczona przed spamem."],"Your Antispam key is valid.":["Twój klucz antyspamowy jest poprawny."],"Your site is protected from spam.":["Twoja witryna jest chroniona przed spamem."],"Checking key…":["Sprawdzam klucz..."],"Your API key":["Twój klucz API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":["Nie znaleziono frazy %(term)s"],"Enter a search term to find settings or close search.":[""],"Connections":["Połączenia"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Twoja witryna znajduje się w trybie rozwojowym, dlatego nie można jej połączyć z WordPress.com."],"Your site is connected to WordPress.com.":["Twoja witryna jest połączona z WordPress.com."],"You are the Jetpack owner.":["Jetpack należy do ciebie."],"Connected as {{span}}%(username)s{{/span}}":["Połączony jako {{span}}%(username)s{{/span}}"],"View your Email Followers":[""],"Color scheme":["Schemat kolorów"],"Enable Markdown use for comments.":["Zezwalaj na używanie składni Markdown w komentarzach."],"Updated settings.":["Zapisano ustawienia."],"Error updating settings. %(error)s":["Wystąpiły błędy przy uaktualnianiu ustawień. %(error)s"],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":["Zaktualizowano ustawienia. Odświeżanie strony..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Aktualnie w {{a}}Trybie Programisty{{/a}} (niektóre opcje są wyłączone), ponieważ: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Filtr jetpack_development_mode jest aktywny{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}W adresie twojej witryny brakuje kropki (np. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Konfiguruj Google Analytics"],"Activate Google Analytics":["Włącz Google Analytics"],"Download the free apps":["Pobierz darmowe aplikacje"],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":["Wyświetl reklamę na górze witryny."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Twój serwer jest źle skonfigurowany, przez co Ochrona Jetpacka nie może efektywnie chronić twojej witryny."],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":["Zobacz swoje zarobki"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":["Hosting Wideo"],"SEO Tools":["Narzędzia SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":["Więcej informacji"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Zarządzaj widocznością polubień z Modułu Udostępniania{{/a}}"],"Your current IP: %(ip)s":["Twoje obecne IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Są pewne niezapisane ustawienia na tej karcie, które zostaną utracone jeśli opuścisz ją. Kontynuować?"],"This will reset all Jetpack options, are you sure?":["To zresetuje wszystkie ustawienia Jetpacka, czy na pewno to zrobić?"],"Search for a Jetpack feature.":["Szukaj funkcji Jetpacka."],"Configure your Security Scans":["Konfiguruj swoje skanowanie bezpieczeństwa"],"Subscriber":["Subskrybent"],"Big iPhone/iPad Update Now Available":["Duża aktualizacja iPhona/iPada jest teraz dostępna"],"The WordPress for Android App Gets a Big Facelift":["W WordPressie dla Androida była duża aktualizacja wyglądu"],"WordPress.com Likes are:":["WordPress.com Likes są:"],"Hide the stats smiley face image":["Ukryj statystyki uśmieszków (smiley face image)"],"Whitelisted IP addresses":["Biała lista adresów IP"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":["Skopiowane!"],"Highlight and copy the following text to your clipboard:":["Podświetl i skopiuj niniejszy tekst do schowka:"],"Regenerate address":["Wygeneruj ponownie adresy"],"Cheatin' uh?":["Oszukujesz?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Witamy w {{s}}Jetpacku %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Twój Jetpack jest teraz podłączony."],"You're fueled up and ready to go, Jetpack is now active.":["Masz już wartościowe narzędzia i jesteś gotowy aby działać. Jetpack jest teraz włączony."],"You're fueled up and ready to go.":["Masz już wartościowe narzędzia i jesteś gotowy aby działać. "],"You are currently running a development version of Jetpack.":["Korzystasz obecnie z niestabilnej (rozwojowej) wersji Jetpacka."],"Submit Beta feedback":["Wpisz i wyślij informację zwrotną"],"What would you like to see on your Jetpack Dashboard?":["Co chciałbyś zobaczyć w kokpicie Jetpacka?"],"Let us know!":["Daj nam znać!"],"Saving…":["Zapisywanie..."],"Save Settings":["Zapisz ustawienia"],"Jetpack Stats Icon":["Ikona Statystyk Jetpacka"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Aktywuj statystyki strony{{/a}} aby zobaczyć szczegółowe statystyki, polubień, śledzących, subskrybentów i innych!, {{a1}}Zobacz więcej{{/a1}}"],"Activate Site Stats":["Aktywuj statystyki strony"],"Upgrade":["Ulepsz"],"ACTIVE":["WŁĄCZ"],"View your spam stats":["Pokaż statystyki spamu"],"View your security dashboard":["Zobacz swój kokpit bezpieczeństwa"],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":["Połącz swoje konto z WordPress.com, aby jak najlepiej wykorzystać Jetpacka."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":["Wszystkie zablokowane ataki na witrynę"],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":["Wszystkie wtyczki są aktualne. Świetna robota!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack monitoruje twoją witrynę. Jeśli będziemy przekonani, że twoja witryna nie działa otrzymasz od nas e-mail."],"Security":["Zabezpieczenia"],"Performance":["Wydajność"],"{{a}}View backup details{{/a}}.":["{{a}}Zobacz szczegóły kopii zapasowych{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"Activating %(slug)s…":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"Deactivating %(slug)s…":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":["Opcje zresetowane."],"Options failed to reset.":["Błąd resetowania opcji."],"There was an error disconnecting Jetpack. Error: %(error)s":["Wystąpił błąd podczas odłączania Jetpacka. Błąd: %(error)s"],"Unlinking from WordPress.com":["Odłącz od WordPress.com"],"Unlinked from WordPress.com.":["Odłączony od WordPress.com"],"Error unlinking from WordPress.com. %(error)s":["Błąd odłączania od WordPress.com. %(error)s"],"At A Glance":["W skrócie"],"Dashboard":["Kokpit"],"Automattic's Privacy Policy":["Polityka prywatności Automatic"],"WordPress.com Terms of Service":["Warunki świadczenia usług WordPress.com"],"Plugin Updates":["Aktualizacje wtyczek"],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":["{{a}}Kontakt z pomocą techniczną{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":[""],"Loading…":["Wczytywanie..."],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Zobacz bardziej szczegółowe statystyki na WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Zobacz szczegółowe statystyki{{/button}}"],"All-time comments":["Łącznie komentarzy"],"All-time views":["Łącznie wyświetleń"],"%(number)s View":["%(number) wyświetlenie","%(number) wyświetlenia","%(number) wyświetleń"],"Best overall day":["Najlepszy dzień dotychczas"],"Views today":["Wyświetleń dzisiaj"],"Months":["Miesiące"],"Weeks":["Tygodnie"],"Days":["Dni"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Coś się stało podczas ładowania statystyk. Spróbuj ponownie później albo {{a}}zobacz statystyki na WordPress.com{{/a}}"],"Click to view detailed stats.":["Kliknij aby zobaczyć szczegółowe statystyki."],"Views: %(numberOfViews)s":["Wyświetleń: %(numberOfViews)"],"Week of %(date)s":["Tydzień z %(date)s"],"Site Security":["Zabezpieczenia witryny"],"Link to WordPress.com":["Połącz z WordPress.com"],"Unlink me from WordPress.com":["Odłącz od WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Musisz pozostać zalogowany do twojego bloga WordPress w czasie gdy autoryzujesz Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":["Odłączenie Jetpacka"],"Learn more":["Dowiedz się więcej"],"Posts":["Wpisy"],"Front page":["Strona główna"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Pokaż pokrewne treści za wpisami"],"Related":["Podobne"],"Disconnect":[""],"Save":["Zapisz"],"Media":["Media"],"Site Stats":["Statystyki witryny"],"Sharing":["Dzielenie się"],"Testimonials":["Referencje"],"Cancel":["Anuluj"],"Comments":["Komentarze"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Edytuj"],"Connected":["Połączony"],"Activate":["Włącz"],"Active":["Aktywne"],"Settings":["Ustawienia"],"Learn More":["Dowiedz się więcej"],"Disconnect Jetpack":["Odłącz Jetpacka"],"Test your site’s compatibility with Jetpack.":["Testuj kompatybilność swojej witryny z Jetpackiem."],"Settings header\u0004Downtime monitoring":["Monitoring czasu niedostępności strony"],"Settings header\u0004Privacy Settings":["Ustawienia prywatności"],"Settings header\u0004WordPress.com toolbar":["Pasek narzędzi WordPress.com"],"Settings header\u0004Composing":["Kompozycja"],"Settings header\u0004Site stats":["Statystyki witryny"],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Przyciski udostępniania"],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":["Przyciski polubień"],"Settings header\u0004Brute force attack protection":["Ochrona przed atakami brute force"],"Settings header\u0004Backups and security scanning":["Kopie bezpieczeństwa i skanowanie bezpieczeństwa"],"Search term.\u0004terms of service":[""],"Search term.\u0004tos":[""],"Search term.\u0004gdpr":[""],"Search term.\u0004data":[""],"Search term.\u0004tracks":[""],"Search term.\u0004privacy":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Przejdź na wyższy plan"],"Button caption\u0004Saving…":["Zapisuję..."],"Button caption\u0004Save settings":["Zapisz ustawienia"],"A heading for a block of related posts.\u0004Related":["Powiązane"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Podgląd"],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":["Ustawienia"],"Navigation item.\u0004Discussion":["Dyskusja"],"Navigation item.\u0004Traffic":["Statystyki"],"Navigation item.\u0004Sharing":["Udostępnianie"],"Navigation item.\u0004At A Glance":["W skrócie"],"Navigation item.\u0004Plans":["Plany"],"Navigation item.\u0004Writing":["Pisanie"],"Navigation item.\u0004Reset Options (dev only)":["Zresetuj ustawienia (tylko wersja deweloperska)"],"Navigation item.\u0004Security":["Bezpieczeństwo"],"Navigation item.\u0004At a Glance":["W skrócie"],"Short warning message\u0004Updates needed":["Wymagana aktualizacja"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Płatne"],"A header for a preview area in the configuration screen.\u0004Preview":["Podgląd"],"Ads header\u0004Ads":["Reklamy"],"Dashboard widget header\u0004Site connection":["Połączenia witryny"],"Dashboard widget header\u0004Account connection":["Połączone konto"],"A caption for a small button to fix security issues.\u0004Threats":["Zagrożenia"],"A caption for a small button to fix security issues.\u0004FIX":["NAPRAW"],"Short warning message about new threats found.\u0004Threats found!":["Wykryto zagrożenie!"],"Short message informing user that the site is secure.\u0004Secure":["Bezpieczna"],"Caption for a button to set up a feature.\u0004Set up":["Skonfiguruj"],"verb\u0004Copy":["Kopiuj"],"Shorthand for Privacy Policy.\u0004Privacy":["Prywatność"],"Shorthand for Terms of Service.\u0004Terms":["Zasady"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-pt-ao-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-pt-ao-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 27f8186e..00000000
--- a/plugins/jetpack/languages/json/jetpack-pt-ao-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"pt_AO"},"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":[""],"Jetpack has many powerful tools that can help you achieve your goals":[""]," We’ve highlighted some of the features you rely on below.":[""],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":[""],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":[""],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":[""],"Disable":[""],"Are you sure you want to disconnect and deactivate?":[""],"Are you sure you want to disconnect?":[""],"Disable Jetpack":[""],"We back up your website with every change you make, making it easy to fix your mistakes.":[""],"Automated Real-time Backups":[""],"We back up your website every day, so you never have to worry about your data again.":[""],"Automated Daily Backups":[""],"View Your Backups":[""],"A Jetpack Site securely backed up with Jetpack Backup":[""],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Image Accelerator":[""],"Start with free":[""],"Now that you're set up, pick a plan that fits your needs.":[""],"Jetpack Backup":[""],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":[""],"Already have a key? {{a}}Activate Akismet{{/a}}":[""],"Verifying…":["Verificando…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Aumente sua classificação no mecanismo de pesquisa com as poderosas ferramentas de SEO do Jetpack Premium ou Profissional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Ofereça um site com um visual simplificado e carregamento rápido para dispositivos móveis. Os visitantes ainda verão seu tema padrão em outros tamanhos de tela."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Crie uma experiência de leitura suave e ininterrupta, ao carregar mais conteúdo à medida que os visitantes navegam até o final das suas páginas de arquivo."],"Customize your SEO settings":["Personalize suas opções de SEO"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Tenha controle da maneira como os mecanismos de pesquisa representam seu site. Com as ferramentas SEO do Jetpack, você pode visualizar a aparência de seu conteúdo nos mecanismos de pesquisa populares e alterar itens como o nome do seu site e a tagline em segundos."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Adicionar botões de compartilhamento para que seus visitantes possam compartilhar páginas e posts nas redes sociais com apenas alguns cliques."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Adicionar um pequeno gráfico na barra administrativa com o tráfego das últimas 48 horas"],"Expand to update settings for how visits are counted and manage who can view this information.":["Expandir para atualizar as configurações de como as visitas são contadas e gerenciar quem pode ver essa informação."],"You can customize the sharing buttons and choose which services to display.":["Você pode personalizar os botões de compartilhamento e escolher quais serviços são exibidos."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Seu site é protegido pelo Jetpack. Você receberá uma notificação se algo precisar de sua atenção."],"Find threats early so we can help fix them fast.":["Encontrar ameaças para que possamos corrigi-las rapidamente."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Substitua a pesquisa básica de seu site por uma pesquisa personalizável que ajuda seus visitantes a encontrarem respostas mais rapidamente."],"Never worry about losing your site – automatic backups keep your content safe.":["Não se preocupe em perder seu site. Backups automáticos mantêm seu conteúdo em segurança."],"Protect":["Proteger"],"Scan":["Examinar"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Limpar spam automaticamente de seus comentários e formulários para que você possa focar em seu conteúdo."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Conecte seu site ao Google Analytics em segundos, com o Jetpack Premium ou o Profissional."],"Log in to the WordPress mobile app":["Faça login no aplicativo para dispositivos móveis do WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Acesse o aplicativo do WordPress.com com facilidade clicando no link que enviaremos ao endereço de e-mail de sua conta."],"Email me a link to log in to the app":["Enviar por e-mail um link para fazer login no aplicativo"],"Send your new posts to this email address:":["Enviar seus novos posts para este endereço de e-mail:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Publicar por e-mail é uma forma rápida de publicar novos posts sem acessar o site. Vamos gerar um endereço de e-mail exclusivo para envio do seu conteúdo, que será então exibido no seu site como qualquer outro post."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["A barra de ferramentas do WordPress.com substituirá a barra de ferramentas padrão do administrador do WordPress. Ela proporciona o acesso com apenas um clique às notificações, ao seu perfil no WordPress.com e aos demais sites do Jetpack e do WordPress.com. É possível se manter atualizado sobre os sites que você segue, com o Leitor."],"Verify site ownership with third party services":["Confirme a propriedade do site junto a serviços de terceiros"],"Generate shortened URLs for simpler sharing.":["Gere URLs abreviadas para um compartilhamento simplificado."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Mantenha o interesse dos seus visitantes com conteúdo relacionado na parte inferior de cada post. Essas configurações não serão aplicadas aos {{a}}posts relacionados, que foram adicionados usando o editor de blocos{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["A funcionalidade ajuda os visitantes a descobrir mais sobre o seu conteúdo ao exibir posts relacionados na parte inferior de cada post."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["O Jetpack gera automaticamente um {{link1}}ads.txt{{/link1}} personalizado, ideal para o seu site. Caso precise adicionar mais entradas para outras redes, inclua uma em cada linha no espaço abaixo. {{link2}}Marque aqui para obter mais detalhes{{/link2}}."],"Add sharing buttons to your posts and pages":["Adicione botões de compartilhamento aos seus posts e páginas"],"Share your content to social media, reaching new audiences and increasing engagement.":["Compartilhe seu conteúdo nas redes sociais, atingindo novos públicos e aumentando a interação."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Receba alertas, caso seu site fique offline. Vamos informá-lo assim que ele voltar também."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Com o Jetpack, é possível optar pela atualização automática dos plugins a cada nova versão. Você receberá as correções de segurança e de bugs de imediato, garantindo assim a segurança do seu site."],"Choose which plugins to auto-update":["Selecionar quais plugins serão atualizados automaticamente"],"Upgrade Jetpack now":["Faça já o upgrade do Jetpack"],"Monetize your site by running high quality ads.":["Monetize o seu site veiculando publicidade de alta qualidade."],"Customize your social posting schedule.":["Personalize o cronograma dos seus posts nas redes sociais."],"Expand your audience with pro SEO tools.":["Amplie o seu público com ferramentas profissionais de SEO."],"Take your site to the next level!":["Eleve o seu site a um novo patamar!"],"Search support docs":["Buscar documentos de suporte"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Precisa de ajuda? Saiba mais sobre como começar, personalizar seu site, usar snippets de códigos avançados e muito mais."],"Start sharing":["Comece a compartilhar"],"Optimized performance":["Desempenho otimizado"],"Enable the “subscribe to comments” option on your comment form":["Habilite a opção “assinar os comentários” no formulário de comentários"],"Enable the “subscribe to site” option on your comment form":["Habilite a opção “assinar o site” no formulário de comentários"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Gerencie as configurações avançadas dos comentários e aumente o seu público com as assinaturas por e-mail."],"Comment form introduction":["Introdução ao formulário de comentários"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Antispam do Jetpack, fornecido pela Akismet. O envio de comentários e dos formulários de contato será comparado com o nosso banco de dados global sobre spam."],"Failed to send login email":["Falha ao enviar e-mail de login"],"Login email sent":["E-mail de login enviado"],"Sending login email…":["Enviando e-mail de login..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Preocupado com a segurança? Obtenha backups, correções automáticas de segurança e muito mais: {{a}}Faça já o upgrade{{/a}}"],"Allow readers to like individual comments.":["Permita que leitores curtam comentários."],"Enable comment likes.":["Ativar curtidas de comentários."],"Allow readers to use markdown in comments.":["Permita que leitores usem Markdown nos comentários."],"Show Gravatar hovercards alongside comments.":["Mostrar cartões do Gravatar nos comentários."],"Complete Jetpack Setup":["Concluir configuração do Jetpack"],"Your Jetpack setup progress":["Andamento da configuração do Jetpack"],"View your setup checklist":["Veja sua lista de verificação"],"Yearly":["Anual"],"Monthly":["Mensal"],"About Jetpack":["Sobre o Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Ative os controles de visibilidade de widgets para exibi-los apenas em certas páginas ou posts"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Com a visibilidade de widgets, você decide quais widgets aparecem em quais páginas para poder personalizar o conteúdo deles."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Disponibilize mais widgets para usar no seu site, incluindo streaming do Twitter e formulários de assinatura"],"Enhance CSS customization panel":["Aprimore o painel de personalização CSS"],"Writing":["Escrever"],"Compose using shortcodes to embed media from popular sites":["Crie usando códigos abreviados para mídia incorporada a partir de sites populares"],"Traffic":["Tráfego"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Você deve digitar suas credenciais do servidor para terminar a configuração de Backup e verificação."],"Awaiting credentials":["Aguardando credenciais"],"Backups and Scan are being configured for your site.":["Backup e verificação está sendo configurado para seu site."],"Provisioning":["Provisionamento"],"Action needed":["Ação necessária"],"Setting up":["Configuração"],"Discussion":["Discussão"],"We are configuring your site protection.":["Estamos configurando a proteção do seu site."],"View your site's backups":["Ver os backups do seu site"],"We are backing up your site in real-time.":["Estamos fazendo backup do seu site em tempo real."],"Enter credentials":["Insira as credenciais"],"You need to enter your server's credentials to finish the setup.":["Você deve inserir suas credenciais do servidor para terminar a configuração."],"We are configuring your site's backups.":["Estamos configurando os backups do seu site."],"View site activity":["Ver a atividade do site"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["O Jetpack mantém um registro completo de tudo o que acontece no seu site, o que evita suposições relacionadas ao reparo, depuração e gerenciamento do site."],"Explore our Jetpack plans":[""],"Support documentation":["Documentação de suporte"],"Chat bubbles representing getting in touch with support":["Os balões de chat representam o contato com o suporte"],"Site activity":["Atividade do site"],"Reach a wider audience by automatically sharing your posts on social media.":["Alcance um público maior compartilhando automaticamente os seus posts nas redes sociais."],"Increase traffic to your site":["Aumente as visitas em seu site"],"Explore free themes":["Explore os temas gratuitos"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Receba acesso ilimitado a centenas de temas profissionais e personalize o seu site exatamente como quiser."],"A wide variety of themes and tools to customize a site":["Uma grande variedade de temas e ferramentas para personalizar um site"],"Set up your site security":["Configure a segurança do seu site"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Evite os ataques aos logins e receba notificações instantâneas quando houver um problema no seu site."],"Site stats showing an evolution in traffic and engagement":["As estatísticas do site mostram uma evolução no tráfego e no engajamento"],"A hand holding a loupe":["Uma mão segurando uma lupa"],"A chart showing an healthy increase in earnings":["Um gráfico mostrando um bom aumento nos lucros"],"Interface showing a chronological list of changes and updates in a site":["Interface mostrando uma lista cronológica de alterações e atualizações de um site"],"A cloud with multiple types of content floating around it":["Uma nuvem repleta de vários tipos de conteúdos flutuando ao redor"],"A folder holding real comments":["Uma pasta contendo comentários reais"],"Make your site faster":["Torne seu site mais rápido"],"Load pages faster by serving your images from our global network of servers.":["Carregue páginas com maior rapidez, exibindo suas imagens a partir da nossa rede global de servidores."],"A fast and performant website":["Um site rápido e com excelente desempenho"],"A secure site, locked and protected by Jetpack":["Um site seguro, protegido e resguardado pelo Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplique posts, páginas, testemunhos e portfólios existentes. Todo o conteúdo será copiado incluindo texto, imagem destacada, configurações de compartilhamento etc."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Esse site não pode ser conectado ao WordPress.com por que viola nossos {{a}}Termos de serviço{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Conecte seu site às redes sociais que você usa e compartilhe seu conteúdo em todas suas contas com um único clique. Quando você publica um post, ele será compartilhado em todas suas contas conectadas."],"Add Like buttons to your posts and pages":["Adicionar botões de curtida em seus posts e páginas"],"When visitors enjoy your content, let them show it with a Like.":["Quando os visitantes gostarem de seu conteúdo, deixe que eles mostrem isso com uma curtida."],"Create account":["Criar conta"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["O Jetpack equipa o seu site mas, para acessar todos os seus recursos, é preciso criar uma conta."],"Compose content the way you want to and streamline your publishing experience.":["Crie conteúdos como quiser e otimize a experiência de publicá-los."],"Add a portfolio item":["Adicione um item ao portfólio"],"Add a testimonial":["Adicione um depoimento"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximize a visibilidade do seu site em mecanismos de busca e visualize estatísticas de tráfego em tempo real."],"Create a Jetpack account to use this feature":["Crie uma conta no Jetpack para usar esse recurso"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["O Jetpack fará o monitoramento contínuo do seu site e o alertará quando um momento de inoperância for detectado."],"Error enabling Site accelerator. %(error)s":["Erro ao habilitar o Acelerador de sites. %(error)s"],"Site accelerator is now speeding up your site!":["O Acelerador de sites deixou seu site muito mais rápido!"],"Enabling Site accelerator…":["Habilitando o Acelerador de sites..."],"Error disabling site accelerator. %(error)s":["Erro ao desabilitar o Acelerador de sites. %(error)s"],"Site accelerator is no longer speeding up your site!":["O Acelerador de sites deixou de acelerar seu site!"],"Disabling site accelerator…":["Desabilitando o Acelerador de sites..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Carregue páginas, otimize imagens com mais rapidez e acelere a experiência dos seus visitantes."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complemente as estatísticas do WordPress.com com uma análise mais detalhada do Google de seus visitantes e seus padrões de tráfego."],"High-speed, high-definition video hosting with no third-party ads.":["Hospedagem de vídeos em alta velocidade e alta definição, sem publicidade de terceiros."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Agende tweets, publicações no Facebook e posts em outras redes sociais sem limitações."],"Marketing Automation":["Automação de Marketing"],"Activate Jetpack Search":["Ative a busca do Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Substitua a busca padrão do WordPress por resultados e filtros melhores com a tecnologia Elasticsearch."],"Start earning":["Comece já a lucrar"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["O WordAds permite que você ganhe dinheiro com a exibição de conteúdo promocional. Comece a lucrar hoje mesmo."],"Spam is automatically blocked from your comments.":["Todo spam é bloqueado automaticamente nos seus comentários."],"Browse premium themes":["Navegue pelos temas premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Acesse centenas de temas premium com belos designs sem custo adicional."],"Try a premium theme":["Experimente um tema premium"],"View settings":["Exibir configurações"],"Create a Jetpack account to view your email followers":["Crie uma conta do Jetpack para visualizar os seguidores dos seus e-mails"],"Manage security settings":["Gerencie as configurações de segurança"],"Jetpack is ready for the new WordPress editor":["O Jetpack está pronto para o novo editor do WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Hoje, estamos lançando os primeiros blocos específicos do Jetpack criados para a experiência com o novo editor: Botão Pagamento simples, Formulário, Mapa e Markdown."],"Build your Jetpack site with blocks":["Desenvolva seu site do Jetpack com blocos"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Um novo editor? Sim! {{a}}Saiba mais{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Os recursos nos quais você confia, adaptados para o editor do WordPress."],"Take me to the new editor":["Ir para o novo editor"],"Testing Jetpack Connection":["Testando a conexão do Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["Ocorreu um erro ao testar o Jetpack. Erro: %(error)s"],"New in Jetpack!":["Novidades no Jetpack!"],"Speed up static file load times":["Acelerar o carregamento de arquivos estáticos"],"Speed up image load times":["Acelerar o carregamento de imagens"],"Enable site accelerator":["Ativar acelerador de site"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Carregue páginas com mais rapidez, ao permitir que o Jetpack otimize e transmita suas imagens e arquivos estáticos (como o CSS e o JavaScript) da nossa rede global de servidores."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Adicione uma camada extra de segurança ao seu site, ativando o login e a autenticação segura do WordPress.com. Caso tenha diversos sites com esta opção ativada, será possível fazer login em todos eles com as mesmas credenciais."],"View your site activity":["Ver as atividades do site"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Visualize uma lista cronológica de todas as alterações e atualizações do seu site de forma organizada e legível."],"Manually Verify ":["Verificar manualmente "],"Verify with Google":["Verificar com o Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["O Google enviará um e-mail sobre determinados eventos que ocorrem com seu site, incluindo indícios de que o site foi {{a1}}invadido{{/a1}}, ou sobre problemas {{a2}}de pesquisa ou indexação{{/a2}} do seu site."],"or":["ou"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitore o tráfego e o desempenho do seu site pelo {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Seu site foi verificado com o Google"],"Site failed to verify: %(error)s":["Não foi possível verificar o site: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Adicione uma busca mais rápida e avançada ao seu site com o Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Substitua a pesquisa integrada do WordPress pela Busca do Jetpack, uma experiência de busca avançada"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["A Busca do Jetpack substitui a pesquisa integrada por um recurso de busca rápido, escalável, personalizável e altamente relevante que fica hospedado na nuvem do WordPress.com. O resultado: seus usuários encontram o conteúdo desejado mais rapidamente."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["A busca integrada do WordPress é ótima para sites sem muito conteúdo. No entanto, conforme seu site cresce, as buscas ficam lentas e retornam menos resultados relevantes."],"Jetpack Search supports many customizations.":["A Busca do Jetpack oferece suporte para várias personalizações."],"Site is verified":["O site foi verificado"],"Spam filtering and priority support.":["Filtro de spam e suporte prioritário."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Quando os anúncios são ativados, o Jetpack gera automaticamente um ads.txt personalizado para seu site."],"Custom ads.txt entries":["Entradas de ads.txt personalizados"],"Privacy information":["Informações de privacidade"],"Enable Lazy Loading for images":["Ativar o carregamento lento de imagens"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["O carregamento lento de imagens aumentará a velocidade do seu site e criará uma exibição mais suave. As fotos carregarão conforme o usuário rolar a página para baixo, em vez de todas carregarem de uma vez."],"Performance & speed":["Desempenho e velocidade"],"Enable high-speed, ad-free video player":["Ative um reprodutor de vídeo de alta velocidade e sem publicidade"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Faça com que o conteúdo que você publica seja mais interessante com um vídeo de alta resolução. Com o Jetpack Vídeo você personaliza seu reprodutor de mídia e fornece vídeos de alta velocidade e sem publicidade aos visitantes. Os vídeos são hospedados nos servidores do WordPress.com e não reduzem o espaço do seu plano de hospedagem!"],"Video":["Vídeo"],"Carousel color scheme":["Esquema de cores do carrossel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Os dados Exif mostram aos visualizadores mais detalhes técnicos de uma foto, como a distância focal, abertura e ISO."],"Show photo Exif metadata in carousel (when available)":["Mostre metadados Exif de fotos no carrossel, quando disponível."],"Display images in a full-screen carousel gallery":["Exiba imagens em tela cheia em uma galeria do carrossel"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Crie apresentações em carrosséis em tela cheia para imagens em seus posts e suas páginas. As galerias do carrossel são compatíveis com dispositivos móveis e incentivam visitantes a interagirem com suas fotos."],"Portfolios shortcode: [portfolio]":["Código abreviado dos portfólios: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Use os {{portfolioLink}}portfólios{{/portfolioLink}} do nosso site para exibir o que tem de melhor. Caso seus temas não sejam compatíveis com o Jetpack Portfólios, você ainda pode usar um código abreviado simples para exibi-los no seu site."],"Testimonials shortcode: [testimonials]":["Código abreviado dos depoimentos: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Inclua {{testimonialLink}}depoimentos{{/testimonialLink}} no seu site para atrair novos clientes. Caso seus temas não sejam compatíveis com o Jetpack Depoimentos, você ainda pode usar um código abreviado simples para exibi-los no seu site."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Os mecanismos de busca não podem acessar seu site no momento. Caso queira tornar seu site acessível, confira as {{a}}configurações de leitura{{/a}} e ative a opção \"Visibilidade do mecanismo de busca\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Boas notícias: o Jetpack está enviando automaticamente seu sitemap a todos os principais mecanismos de busca para indexação."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Os sitemaps são arquivos que os mecanismos de busca, como o Google ou o Bing, usam. Eles podem ajudar a melhorar sua posição nos resultados de busca. Ao ativar este recurso, o Jetpack cria sitemaps para você e atualiza-os automaticamente assim que o conteúdo no seu site for alterado."],"Configure related posts in the Customizer":["Configure posts relacionados no Personalizador"],"Highlight related content with a heading":["Destaque o conteúdo relacionado com um cabeçalho"],"View security scan details":["Visualize detalhes da verificação de segurança"],"Show a thumbnail image where available":["Exibir uma miniatura de imagem quando disponível"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Para obter mais informações sobre como funcionalidades específicas do Jetpack usam dados e monitoram atividades, consulte nosso {{privacyCenterLink}}Centro de privacidade{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Utilizamos outras ferramentas de controle, incluindo algumas de terceiros. {{cookiePolicyLink}}Leia mais sobre isso{{/cookiePolicyLink}} e sobre como controlá-los."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Essas informações nos ajudam a aprimorar nossos produtos, tornar o marketing mais relevante para você, personalizar sua experiência no WordPress.com e muito mais, conforme detalhado em nossa {{pp}}política de privacidade{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Compartilhe informações sobre seu uso dos serviços com nossa ferramenta de análise enquanto permanece conectado em sua conta do WordPress.com. {{cookiePolicyLink}}Saiba mais{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Este recurso está sendo gerenciado por um administrador do site. {{link}}Saiba mais{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Este recurso foi desabilitado por um administrador do site. {{link}}Saiba mais{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Este recurso foi habilitado por um administrador do site. {{link}}Saiba mais{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s foi desabilitado por um administrador do site. {{link}}Saiba mais{{/link}}."],"This feature has been disabled by a site administrator.":["Este recurso foi desabilitado por um administrador do site."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s foi desabilitado por um administrador do site."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["É possível posicionar anúncios usando o widget de anúncios. {{link}}Faça um teste!{{/link}}"],"Configure your notification settings":["Defina suas configurações de notificação"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["A Busca do Jetpack é uma ótima substituição da capacidade de pesquisa criada no WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Os arquivos do seu site são verificados com frequência à procura de modificações não autorizadas ou suspeitas que possam comprometer seus dados e sua segurança."],"Plugin needs updating.":["O plugin precisa ser atualizado.","Os plugins precisam ser atualizados."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["As Atualizações de plugin do Jetpack permitem que você escolha quais plugins atualizar automaticamente."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["O Jetpack otimizará e fornecerá suas imagens a partir do local de servidor mais próximo dos seus visitantes. Usar a nossa rede de distribuição de conteúdo global aumentará a velocidade de carregamento do seu site."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["O monitoramento do período de inatividade do Jetpack monitorará seu site e o alertará sempre que um período de inatividade for detectado."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Os Backups do Jetpack permitem que você restaure ou faça download de um backup com facilidade a partir de um momento específico."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Permite um tema leve que será exibido para os visitantes em dispositivos móveis."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Carrega os próximos posts automaticamente, conforme o leitor se aproxima do final da página."],"Allows you to publish new posts by sending an email to a special address.":["Permite que você faça novas publicações ao enviar um e-mail para um endereço específico."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Adiciona uma barra de ferramentas com links para todos os seus sites, notificações, seu perfil WordPress.com e o Leitor."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Fornece as tags ocultas necessárias para a verificação do seu site WordPress com vários serviços."],"Displays information on your site activity, including visitors and popular posts or pages.":["Exibe informações sobre a atividade no seu site, como visitantes e posts/páginas populares."],"Allows you to optimize your site and its content for better results in search engines.":["Permite a otimização do seu site e conteúdo para melhores resultados nos mecanismos de busca."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integra seu site do WordPress ao Google Analytics, uma plataforma que oferece informações sobre tráfego, visitantes e conversões."],"Displays high-quality ads on your site that allow you to earn income.":["Exibe anúncios em alta qualidade no seu site, permitindo que você lucre."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Permite o compartilhamento automático do seu conteúdo mais recente em redes sociais, como o Facebook e o Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Adiciona botões de curtida ao seu conteúdo para que os visitantes possam mostrar que gostaram dele."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permite que os usuários registrados possam fazer login no seu site com as contas deles do WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protege seu site de ataques tradicionais e distribuídos de login de força bruta."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Faz backup do seu site em servidores globais do WordPress.com, permitindo que você restaure o conteúdo em caso de emergência ou erro."],"Removes spam from comments and contact forms.":["Remove mensagens de spam dos comentários e formulários de contato."],"We are committed to your privacy and security. ":["Temos um compromisso com sua privacidade e segurança. "],"View all Jetpack plans":["Ver todos os planos do Jetpack"],"Manage your plan":["Gerenciar seu plano"],"Your Plan":["Seu plano"],"You’re currently on Jetpack %(plan)s.":["Você atualmente está no Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permite que os leitores assinem para ver seus posts e comentários, bem como receber notificações de novo conteúdo por e-mail."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Substitui o formato padrão de comentário do WordPress por um novo sistema, que inclui opções de login nas redes sociais."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Ative{{/a}} para substituir a busca integrada do WordPress pela avançada Busca do Jetpack."],"Add Search (Jetpack) Widget":["Adicionar widget de busca (Jetpack)"],"Jetpack Search is powering search on your site.":["A busca no seu site usa a busca do Jetpack."],"Manage your plugins":["Gerenciar seus plugins"],"Moderate comments":["Moderar comentários"],"Error updating privacy settings. %(error)s":["Erro ao atualizar as configurações de privacidade. %(error)s"],"Updated privacy settings.":["Configurações de privacidade atualizadas."],"Updating privacy settings…":["Configurações de privacidade atualizadas..."],"Add Jetpack Search Widget":["Adicione o widget de busca do Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Adicione o widget de Busca do Jetpack à barra lateral para configurar filtros e classificação."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Pacote de segurança completo, ferramentas de automação de receita e marketing, hospedagem ilimitada de vídeo, inúmeros temas, pesquisa avançada e suporte prioritário."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Pacote de segurança completo, ferramentas de automação de receita e marketing, hospedagem ilimitada de vídeo."],"Daily backups, spam filtering, and priority support.":["Backups diários, filtragem de spam e suporte prioritário."],"Always-on security":["Segurança em tempo integral"],"Activate video hosting":["Ativar hospedagem de vídeo"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Backup em tempo real de todos os dados do seu site com espaço ilimitado, restaurações com apenas um clique, verificação de segurança automatizada e suporte prioritário"],"Design the perfect website":["Crie o site perfeito"],"Set up Jetpack":["Configurar o Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Graças às restaurações com espaço ilimitado em apenas um clique e à verificação de segurança automatizada, você obtém backup em tempo real de todos os dados do seu site."],"Jetpack Search":["Pesquisa do Jetpack"],"Your site is being backed up in real time and regularly scanned for security threats.":["O backup do seu site está sendo feito em tempo real e escaneado regularmente contra ameaças de segurança."],"Daily backup of all your site data with unlimited space and one-click restores":["Backup diário de todas as informações do seu site com espaço ilimitado e restaurações com apenas um clique"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Backup diário de todos os dados de seu site com espaço ilimitado, restauração com um clique, verificação de segurança automática e prioridade no suporte"],"View your security activity":["Visualizar suas atividades de segurança"]," (powered by VaultPress).":["(mantido por VaultPress)."],"Customize Search Widget":["Widget de busca personalizado"],"Please correct the issue below and try again.":["Corrija o problema abaixo e tente de novo. ","Corrija os problemas abaixo e tente de novo. "],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Nós estamos verificando se seus sites estão livres de ameaças de segurança. Você será notificado se encontrarmos alguma."],"Jetpack version":["Versão do Jetpack"],"Activity":["Atividade"],"{{a}}View details{{/a}}":["{{a}}Ver detalhes{{/a}}"],"Monetize your site with ads":["Monetize seu site com anúncios"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Ao clicar no botão abaixo, você concorda com nossos {{tosLink}}Termos de Serviço{{/tosLink}} e em {{shareDetailsLink}}compartilhar informações{{/shareDetailsLink}} com o WordPress.com."],"Jetpack Stats People":["Pessoas que observam as estatísticas do Jetpack"],"Hello there! Your stats have been activated.":["Olá! Suas estatísticas foram ativadas."],"Just give us a little time to collect data so we can display it for you here.":["Aguarde alguns momentos, para que possamos coletar alguns dados e exibi-los aqui para você."],"Okay, got it!":["Ok, entendido!"],"Display ads below posts on":["Exibir publicidade abaixo dos posts em"],"Additional ad placements":["Posicionamentos adicionais de anúncios"],"Top of each page":["Topo de cada página"],"Second ad below post":["Segundo anúncio abaixo do post"],"Archives":["Arquivo"],"Stars":["Estrelas"],"Jupiter":["Jupiter"],"Schedule posts":["Agendar posts"],"Activate Publicize":["Ativar Publicize"],"Your site is backed up.":["O backup de seu site foi concluído."],"Get WordPress Apps for every device":["Use os aplicativos WordPress em qualquer dispositivo"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gerencie todos os seus sites em um único painel: publique conteúdo, monitore estatísticas, modere comentários e muito mais de qualquer lugar do mundo."],"Create address":["Criar endereço"],"Automatically share your posts to social networks":["Compartilhe seus posts automaticamente em redes sociais"],"Updating settings…":["Atualizando configurações..."],"Updating Post by Email address…":["Atualizando endereço para publicar por e-mail..."],"Your paid plan gives you access to prioritized Jetpack support.":["Seu plano pago dá acesso a suporte com prioridade do Jetpack."],"You have paid for backups but they're not yet active.":["Você pagou por backups, mas eles ainda não estão ativos."],"You have paid for backups and security scanning but they’re not yet active.":["Você pagou por backups e escaneamento de segurança, mas eles ainda não estão ativos."],"Click \"Set Up\" to finish installation.":["Clique em configurar para finalizar a instalação."],"Checking site status…":["Verificando status do site..."],"Pages":["Páginas"],"Access the full list of Jetpack modules available on your site.":["Acesse a lista completa dos módulos do Jetpack disponíveis em seu site."],"We're here to help":["Estamos aqui para ajudar"],"Jetpack comes with free, basic support for all users.":["Jetpack oferece suporte básico e gratuito a todos os usuários."],"Ask a question":["Faça uma pergunta"],"Search our support site":["Pesquise nosso site de suporte"],"Get a faster resolution to your support questions.":["Receba uma solução mais rápida para suas questões de suporte."],"Host fast, high-quality, ad-free video.":["Hospede vídeos com rapidez, alta qualidade e sem anúncios."],"Generate income with high-quality ads.":["Gere renda com anúncios de alta qualidade."],"Real-time site backups and automatic threat resolution.":["Backups de site em tempo real e resolução automática de ameaças."],"Protect against data loss, malware, and malicious attacks.":["Evite perda de dados, malware e ataques maliciosos."],"Protect your site from spam.":["Proteja seu site contra spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Este site não está conectado ao WordPress.com Solicite ao administrador do site para se conectar."],"Manage site connection":["Gerenciar conexão do site"],"Connect your account to WordPress.com to view more stats":["Conecte sua conta ao WordPress.com para ver mais estatísticas"],"Theme enhancements":["Melhorias de tema"],"Load more posts using the default theme behavior":["Carregar mais posts usando o comportamento padrão do tema"],"Load more posts in page with a button":["Carregar mais posts na página com um botão"],"Load more posts as the reader scrolls down":["Carregar mais posts à medida que o leitor rolar a página"],"Theme support required.":["Necessário ter suporte no tema."],"Learn more about adding support for Infinite Scroll to your theme.":["Saiba mais sobre como adicionar suporte para abBarra de rolagem infinita ao seu tema."],"Show excerpts instead of full posts on front page and archive pages":["Mostrar resumo de posts ao invés do conteúdo completo na página inicial e arquivo."],"Show featured images":["Exiba imagens destacadas"],"Enable the WordPress.com toolbar":["Habilitar a barra de ferramentas do WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Ferramentas de escrita disponíveis aparecerão aqui quando o administrador as habilitar."],"Portfolios":["Portfólios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Observe que {{b}}não é necessário verificar o seu site com estes serviços{{/b}} para que ele seja indexado pelos mecanismos de busca. Para usar estas ferramentas avançadas de mecanismos de buscas e verificar o seu site com um serviço, cole o código da Tag HTML abaixo. Leia as {{support}}instruções completas{{/support}} se estiver com dificuldades. Serviços de verificação compatíveis: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} e {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Gerar mapas do site em XML"],"The image helps collect stats, but should work when hidden.":["A imagem ajuda a recolher estatísticas, mas deve funcionar mesmo estando oculta."],"Count logged in page views from":["Contar as visualizações dos seguintes usuários logados:"],"Allow stats reports to be viewed by":["Permitir que os relatórios de estatísticas sejam visualizados por"],"In \"Upgrade\"":["Em \"Atualizações\""],"Configure your Google Analytics settings":["Informe suas configurações do Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Exiba anúncios no primeiro artigo de sua página inicial ou no fim de cada página e post. Insira anúncios adicionais na parte superior do site e nas áreas de widget para aumentar os ganhos."],"Enable ads and display an ad below each post":["Habilite os anúncios e exiba um anúncio sob cada post"],"Configure your sharing buttons":["Configure os botões de compartilhamento"],"Connect your social media accounts":["Conecte suas contas de redes sociais"],"Match accounts using email addresses":["Vincular contas usando endereços de e-mail"],"Require accounts to use WordPress.com Two-Step Authentication":["Exigir que as contas usem a autenticação em duas etapas do WordPress.com"],"Add to whitelist":["Adicionar à lista de permissões"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["A inserção de um endereço de IP ou de vários endereços na lista de permissões evita que eles sejam bloqueados pelo Jetpack. IPv4 e IPv6 são aceitos. Para especificar um intervalo de IPs, insira o menor e o maior valor separados por um traço. Exemplo: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Seu site tem uma cópia de segurança e está livre de ameaças."],"Checking your spam protection…":["Verificando sua proteção contra spam…"],"Fetching key…":["Obtendo chave…"],"Your site needs an Antispam key.":["Seu site precisa de uma chave contra spam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Há um problema com sua chave de API contra spam. {{a}}Saiba mais{{/a}}."],"Your site is not protected from spam.":["Seu site não tem proteção contra spam."],"Your Antispam key is valid.":["Sua chave contra spam é válida."],"Your site is protected from spam.":["Seu site tem proteção contra spam."],"Checking key…":["Verificando a chave…"],"Your API key":["Sua chave API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Caso você ainda não tenha uma chave de API, {{a}}obtenha sua chave de API aqui{{/a}} e você será guiado pelo processo para cadastrar uma chave."],"No search results found for %(term)s":["Nenhum resultado de busca encontrado para %(term)s"],"Enter a search term to find settings or close search.":["Insira um termo de busca para encontrar as configurações ou fechar a busca."],"Connections":["Conexões"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Seu site está no modo de desenvolvimento, portanto, você não pode se conectar ao WordPress.com."],"Your site is connected to WordPress.com.":["Seu site está conectado ao WordPress.com."],"You are the Jetpack owner.":["Você é o proprietário do Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Conectado como {{span}}%(username)s{{/span}}"],"View your Email Followers":["Veja seus seguidores de e-mail"],"Color scheme":["Combinação de cores"],"Enable Markdown use for comments.":["Habilite o Markdown para comentários."],"Updated settings.":["Configurações atualizadas."],"Error updating settings. %(error)s":["Erro ao atualizar as configurações. %(error)s"],"Regenerated Post by Email address.":["Endereço para publicar por e-mail recuperado."],"Error regenerating Post by Email address. %(error)s":["Erro ao recuperar endereço para publicar por e-mail. %(error)s"],"Updated settings. Refreshing page…":["Configurações atualizadas. Atualizando a página…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Está no {{a}}Modo de desenvolvimento{{/a}} e algumas funções estão desativadas porque: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}O filtro jetpack_development_mode filter está ativo{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}A constante JETPACK_DEV_DEBUG está definida{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}A URL do seu site está em um ponto (ex.: http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["O Google Analytics é um serviço gratuito que complementa as {{a}}estatísticas incorporadas do WordPress.com{{/a}} com diferentes visões sobre os acessos que você recebe. As estatísticas do WordPress.com e do Google Analytics usam métodos diferentes para identificar e monitorar as atividades no seu site, então elas geralmente mostram totais ligeiramente diferenciados referentes aos seus acessos, visualizações, etc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configure Google Analytics"],"Activate Google Analytics":["Ative o Google Analytics"],"Download the free apps":["Fazer download dos aplicativos gratuitos"],"Upgrade Focus: VideoPress For Weddings":["Foco da atualização: VideoPress para casamentos"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Agora você também pode configurar os posts relacionados no Personalizador. {{ExternalLink}}Experimente!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Por padrão, a publicidade é mostrada ao final de cada página, post ou no primeiro artigo da sua página inicial. Você também pode adicioná-los na parte superior do seu site e nas áreas de widget para aumentar seus lucros!"],"Display an ad unit at the top of your site.":["Mostre uma unidade de publicidade na parte superior do seu site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Ao ativar a publicidade, você concorda com os {{link}}Termos de Serviço{{/link}} de publicidade da Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Seu servidor está configurado de forma incorreta, o que significa que o Jetpack Protect não pode proteger o seu site de forma eficaz."],"In \"Mobile\"":["Em “Móvel”"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Definir as configurações de notificação do Monitor no WordPress.com{{/link}}"],"View your earnings":["Visualizar seus ganhos"],"Configure site SEO":["Configure o SEO do site"],"Activate SEO tools":["Ativar ferramentas de SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Para iniciar, clique em Adicionar mídia no seu editor de post e carregue um vídeo. Nós cuidaremos do resto!"],"Video Hosting":["Hospedagem de vídeo"],"SEO Tools":["Ferramentas de SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Ferramentas de SEO avançadas para ajudar o seu site a ser encontrado quando as pessoas buscarem conteúdo relevante."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["A maneira mais fácil de enviar vídeos sem anúncios e sem marcas para o seu site. Você obtém estatísticas de reprodução e compartilhamento dos vídeos e o player é leve e responsivo."],"You are running Jetpack on a staging server.":["Você está rodando o Jetpack em um servidor de teste."],"More Info":["Mais informações"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Gerencie a visibilidade das curtidas em \"Configurações do módulo de compartilhamento\"{{/a}}"],"Your current IP: %(ip)s":["Seu IP atual: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Existem configurações não salvas nesta aba que serão perdidas se você sair. Continuar?"],"This will reset all Jetpack options, are you sure?":["Isso redefinirá todas as opções do Jetpack. Você tem certeza?"],"Search for a Jetpack feature.":["Pesquisar por um recurso do Jetpack."],"Configure your Security Scans":["Configurar suas verificações de segurança"],"Subscriber":["Assinante"],"Big iPhone/iPad Update Now Available":["Um agrande atualização para iPhone/iPad está disponível"],"The WordPress for Android App Gets a Big Facelift":["O aplicativo WordPress para Android foi melhorado"],"WordPress.com Likes are:":["Curtidas do WordPress.com estão:"],"A few catchy words to motivate your visitors to comment.":["Algumas palavras cativantes para motivar seus visitantes a comentarem."],"Hide the stats smiley face image":["Ocultar emoticons das estatísticas"],"Whitelisted IP addresses":["Endereços IP na lista de permissões"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Mostrar um anúncio dos aplicativos do WordPress no rodapé do tema para dispositivos móveis"],"Copied!":["Copiado!"],"Highlight and copy the following text to your clipboard:":["Destaque e copie o seguinte texto para a área de transferência:"],"Regenerate address":["Regenerar endereço"],"Cheatin' uh?":["Trapaceando, é?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Você se importaria de nos dizer por que não concluiu a conexão com o Jetpack nesta {{a}}pesquisa de 2 perguntas{{/a}}?{{/p}}{{p}}Uma conexão com o Jetpack é necessária para que nossos recursos gratuitos de segurança e tráfego funcionem.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bem-vindo ao {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Seu Jetpack já está conectado."],"You're fueled up and ready to go, Jetpack is now active.":["Você está abastecido e pronto para decolar. Jetpack está ativo agora."],"You're fueled up and ready to go.":["Você está abastecido e pronto para decolar."],"You are currently running a development version of Jetpack.":["Você está usando uma versão de desenvolvimento do Jetpack."],"Submit Beta feedback":["Enviar opinião sobre o beta"],"What would you like to see on your Jetpack Dashboard?":["O que você gostaria de ver no seu painel do Jetpack?"],"Let us know!":["Nos avise!"],"Saving…":["Salvando..."],"Save Settings":["Salvar configurações"],"Jetpack Stats Icon":["Ícone de estatísticas do Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Ative as estatísticas do site{{/a}} para ver estatísticas detalhadas, curtidas, seguidores, assinantes e muito mais! {{a1}}Saiba mais{{/a1}}"],"Activate Site Stats":["Ativar estatísticas do site"],"Site Backups":["Backups do site"],"Upgrade":["Atualização"],"ACTIVE":["ATIVO"],"View your spam stats":["Ver suas estatísticas de spam"],"View your security dashboard":["Ver seu painel de segurança"],"The site is in Development Mode, so you can not connect to WordPress.com.":["O site está no Modo de desenvolvimento, portanto, você não pode se conectar ao WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Conecte sua conta ao WordPress.com para ter o melhor o Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Para fazer a varredura abrangente e automatizada de ameaças de segurança, {{a}}instale e ative{{/a}} o VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["O Jetpack está bloqueando ativamente tentativas de login mal-intencionadas. Os dados serão exibidos aqui em breve!"],"Total malicious attacks blocked on your site.":["Total de ataques mal-intencionados bloqueados no seu site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Ative a proteção{{/a}} para manter seu site protegido contra tentativas de login mal intencionadas."],"All plugins are up-to-date. Awesome work!":["Todos os plugins estão atualizados. Ótimo trabalho!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["O Jetpack está monitorando seu site. Se acharmos que seu site está fora do ar, você receberá um e-mail."],"Security":["Segurança"],"Performance":["Performance"],"Backup":["Backup"],"{{a}}View backup details{{/a}}.":["{{a}}Ver detalhes do backup{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Para fazer o backup de todo o seu site automaticamente, {{a}}instale e ative{{/a}} o VaultPress."],"Unavailable in Dev Mode.":["Indisponível no Modo de desenvolvedor."],"Unavailable in Dev Mode":["Indisponível no modo de desenvolvimento"],"Activating %(slug)s…":["Ativando %(slug)s…"],"%(slug)s has been activated.":["%(slug)s foi atualizado."],"%(slug)s failed to activate. %(error)s":["%(slug)s não foi ativado. %(error)s"],"Deactivating %(slug)s…":["Desativando %(slug)s..."],"%(slug)s has been deactivated.":["%(slug)s foi desativado."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s não foi desativado. %(error)s"],"Updating %(slug)s settings…":["Atualizando configurações de %(slug)s..."],"Updated %(slug)s settings.":["Configurações de %(slug)s atualizadas."],"Error updating %(slug)s settings. %(error)s":["Erro atualizando configurações de %(slug)s. %(error)s"],"Updating %(slug)s address…":["Atualizando endereço %(slug)s…"],"Regenerated %(slug)s address .":["Endereço %(slug)s regenerado."],"Error regenerating %(slug)s address. %(error)s":["Error ao gerar o endereço de %(slug)s. %(error)s"],"Resetting Jetpack options…":["Redefinindo opções do Jetpack..."],"Options reset.":["Opções redefinidas."],"Options failed to reset.":["As opções não foram redefinidas."],"There was an error disconnecting Jetpack. Error: %(error)s":["Houve um erro ao desconectar o Jetpack. Erro: %(error)s"],"Unlinking from WordPress.com":["Desvinculando do WordPress.com"],"Unlinked from WordPress.com.":["Desvinculado do WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Erro ao desvincular do WordPress.com. %(error)s"],"At A Glance":["Resumo"],"Dashboard":["Painel"],"Automattic's Privacy Policy":["Política de Privacidade da Automattic"],"WordPress.com Terms of Service":["Termos de Serviço do WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Ative as atualizações automáticas de plugin{{/a}}"],"Plugin Updates":["Atualizações de plugin"],"No threats found, you're good to go!":["Nenhuma ameaça encontrada. Tudo sob controle!"],"{{a}}Contact Support{{/a}}":["{{a}}Contatar o Suporte{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Veja os detalhes no VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Ops, %(number)s ameaça encontrada.","Ops, %(number)s ameaças encontradas."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Ative o monitoramento{{/a}} para receber notificações por e-mail se o site ficar fora do ar."],"Loading…":["Carregando..."],"Downtime monitor":["Monitoramento do período de inatividade"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Ver mais estatísticas em WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Visualizar estatísticas detalhadas{{/button}}"],"All-time comments":["Comentários até o momento"],"All-time views":["Visualizações até o momento"],"%(number)s View":["%(number)s visualização","%(number)s visualizações"],"Best overall day":["Melhor dia em geral"],"Views today":["Visualizações hoje"],"Months":["Meses"],"Weeks":["Semanas"],"Days":["Dias"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Algo aconteceu durante o carregamento das estatísticas. Tente novamente mais tarde ou {{a}}visualize suas estatísticas agora no WordPress.com{{/a}}"],"Click to view detailed stats.":["Clique para ver as estatísticas detalhadas."],"Views: %(numberOfViews)s":["Visualizações: %(numberOfViews)s"],"Week of %(date)s":["Semana de %(date)s"],"Site Security":["Segurança do site"],"Link to WordPress.com":["Linkar para WordPress.com"],"Unlink me from WordPress.com":["Me desconectar do WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Ocorreu um problema ao conectar o Jetpack. Clique em \"Conectar-se ao WordPress.com\" novamente."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Houve um problema de conexão com o Jetpack, desative e reative o plugin Jetpack e então conecte novamente."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Você deve permanecer logado no seu blog WordPress enquanto autoriza o Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Seu Jetpack tem alguma falha.{{/s}} Pedimos desculpa pela inconveniência. Tente novamente mais tarde, se o problema persistir, entre em contato com o suporte com esta mensagem: %(error_key)s"],"Disconnecting Jetpack":["Desconectando o Jetpack"],"Learn more":["Saiba mais"],"Posts":["Posts"],"Front page":["Página inicial"],"Upload videos":["Enviar vídeos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Mostrar conteúdo relacionado após posts"],"Related":["Relacionado"],"Disconnect":["Desconectar"],"Save":["Guardar"],"Media":["Multimédia"],"Mobile Theme":["Tema para móvel"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX é uma linguagem poderosa de marcação para escrever equações matemáticas complexas e fórmulas."],"Site Stats":["Estatísticas do site"],"Sharing":["Compartilhar"],"Testimonials":["Depoimentos"],"Cancel":["Cancelar"],"Comments":["Comentários"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["O Jetpack não conseguiu contatar o WordPress.com: %(error_key)s. Isso em geral significa que algo está configurado incorretamente no host da Web."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["O WordPress.com está com problemas e está incapaz de acionar seu Jetpack. Tente novamente mais tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Seu Jetpack tem uma falha.{{/s}} Não é possível conectar este site ao WordPress.com. Isso em geral significa que seu site não está publicamente acessível (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Seu site precisa ser acessível ao público para usar o Jetpack: %(error_key)s"],"Edit":["Editar"],"Connected":["Conectado"],"Activate":["Ativar"],"Active":["Ativo"],"Settings":["Opções"],"Learn More":["Saiba mais"],"Disconnect Jetpack":["Desconectar Jetpack"],"Notice in the empty statistics chart\u0004No activity this period":[""],"Settings header\u0004WP.me Shortlinks":["Links abreviados WP.me"],"Settings header\u0004Auto-update plugins":["Atualizar automaticamente os plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Monitoramento do período de inatividade"],"Settings header\u0004Privacy Settings":["Configurações de privacidade"],"Settings header\u0004WordPress.com toolbar":["Barra de ferramentas do WordPress.com"],"Settings header\u0004Composing":["Escrita"],"Settings header\u0004Site stats":["Estatísticas do site"],"Settings header\u0004Search engine optimization":["Otimização para mecanismo de busca"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Botões de compartilhamento"],"Settings header\u0004Publicize connections":["Conexões do Publicize"],"Settings header\u0004Like buttons":["Botões de curtida"],"Settings header\u0004Brute force attack protection":["Proteção contra ataques de força bruta"],"Settings header\u0004Backups and security scanning":["Backups e verificação de segurança"],"Settings header, noun.\u0004WordPress.com login":["Acessar com WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Enviar link"],"A caption for a button to cancel an action.\u0004Cancel":["Cancelar"],"Navigation item.\u0004Performance":["Desempenho"],"Navigation item.\u0004My Plan":["Meu plano"],"Navigation item.\u0004Dev Tools":["Ferramentas de desenvolvimento"],"Navigation item.\u0004Settings":["Configurações"],"Navigation item.\u0004Discussion":["Discussão"],"Navigation item.\u0004Traffic":["Tráfego"],"Navigation item.\u0004Sharing":["Compartilhamento"],"Navigation item.\u0004At A Glance":["Resumo"],"Navigation item.\u0004Plans":["Planos"],"Navigation item.\u0004Writing":["Escrita"],"Navigation item.\u0004Reset Options (dev only)":["Redefinir opções (somente as versões de desenvolvedor)"],"Navigation item.\u0004Security":["Segurança"],"Navigation item.\u0004At a Glance":["Resumo"],"Search term.\u0004terms of service":["termos de serviço"],"Search term.\u0004tos":["tds"],"Search term.\u0004gdpr":["rgpd"],"Search term.\u0004data":["dados"],"Search term.\u0004tracks":["rastros"],"Search term.\u0004privacy":["privacidade"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Atualizar"],"Button caption\u0004Saving…":["Salvando..."],"Button caption\u0004Save settings":["Salvar configurações"],"A heading for a block of related posts.\u0004Related":["Relacionados"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Visualizar"],"Short warning message\u0004Updates needed":["Atualizações necessárias"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Pago"],"A header for a preview area in the configuration screen.\u0004Preview":["Visualizar"],"Ads header\u0004Ads":["Anúncios"],"Dashboard widget header\u0004Site connection":["Conexão do site"],"Dashboard widget header\u0004Account connection":["Conexão da conta"],"A caption for a small button to fix security issues.\u0004Threats":["Ameaças"],"A caption for a small button to fix security issues.\u0004FIX":["Corrigir"],"Short warning message about new threats found.\u0004Threats found!":["Ameaças encontradas!"],"Short message informing user that the site is secure.\u0004Secure":["Protegido"],"Caption for a button to set up a feature.\u0004Set up":["Configurar"],"verb\u0004Copy":["Copiar"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Comentários de spam bloqueados."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-pt_BR-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-pt_BR-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 9c05c813..00000000
--- a/plugins/jetpack/languages/json/jetpack-pt_BR-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=(n > 1);","lang":"pt_BR"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Seu Plano %(planName)s inclui %(featureName)s. Parece que você já adquiriu o produto %(productName)s. Pense na remoção de %(productName)s."],"real-time backups":["backups em tempo real"],"daily backups":["backups diários"],"Renews on %s.":["Será renovado(a) em %s."],"Purchased on %s.":["Adquirido(a) em %s."],"Select a backup option:":["Selecione uma opção de backup:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Fazer upgrade para %(name)s por {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Você economiza {{savings /}} ao pagar anualmente"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Corra! Esses preços iniciais estão disponíveis {{s}}por tempo limitado.{{/s}}"],"Up to %(percent)d%% off!":["Até %(percent)d%% de desconto!"],"per month":["por mês"],"per year":["por ano"],"Which backup option is best for me?":["Qual opção de backup é a melhor para mim?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Gerenciar assinatura"],"Your site is being backed up.":["O backup está sendo realizado no seu site."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Insira as credenciais do servidor para concluir a configuração do Backup do Jetpack."],"Jetpack Backup is being configured for your site.":["O Backup do Jetpack está sendo configurado para o seu site."],"Daily Backups":["Backups diários"],"Just looking for backups? We've got you covered.":["Procurando por backups? Temos a solução."],"Solutions":["Soluções"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Incluído no {{planLink}}Plano Profissional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Incluído no {{planLink}}Plano Premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Incluído no {{planLink}}Plano Pessoal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Backups sempre ativos garantem a segurança do seu site. Suas alterações são salvas à medida que você edita e você tem arquivamentos de backup ilimitados."],"Always-on backups ensure you never lose your site.":["Backups sempre ativos garantem a segurança do seu site."],"My Products":["Meus produtos"],"My Plan":["Meu plano"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Backup em tempo real {{em}}do Jetpack{{/em}}"],"Your data is being securely backed up as you edit.":["O backup dos seus dados está sendo feito com segurança enquanto você edita."],"Jetpack Backup {{em}}Daily{{/em}}":["Backup diário {{em}}do Jetpack{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["O backup dos seus dados estão sendo feito com segurança todos os dias com um arquivo de 30 dias."],"Jetpack Professional":["Jetpack Profissional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Plano Pessoal do Jetpack"],"Jetpack Free":["Jetpack gratuito"],"Expired on %s.":["Expirou em %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Dúvidas? Será um prazer ajudar! {{a}}Envie uma pergunta à equipe de suporte do Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["O Jetpack tem muitas ferramentas avançadas que podem ajudar você a alcançar suas metas"]," We’ve highlighted some of the features you rely on below.":[" Destacamos abaixo alguns dos recursos que você confia."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["No momento, o seu site usa recursos do Jetpack. Caso você desative o Jetpack, esses recursos não estarão mais disponíveis e seu site pode não funcionar da mesma maneira."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["No momento, o seu site usa recursos do Jetpack. Caso você desconecte o Jetpack, esses recursos não estarão mais disponíveis e seu site pode não funcionar da mesma maneira."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Aumente seu tráfego ao automatizar {{a}}as publicações e os compartilhamentos{{/a}}"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Bloqueie {{a}}ataques de força bruta{{/a}} e receba notificações imediatas se seu site estiver inativo"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Acelere seu site e forneça imagens prontas para celular com {{a}}a nossa CDN{{/a}}"],"Disable":["Desativar"],"Are you sure you want to disconnect and deactivate?":["Tem certeza de que deseja desconectar e desativar?"],"Are you sure you want to disconnect?":["Tem certeza de que deseja desconectar?"],"Disable Jetpack":["Desativar o Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Criamos um backup de seu site com todas as alterações feitas para que seja mais fácil corrigir algum erro."],"Automated Real-time Backups":["Backups automáticos em tempo real"],"We back up your website every day, so you never have to worry about your data again.":["Criamos um backup diário de seu site para que você não se preocupe mais com seu conteúdo."],"Automated Daily Backups":["Backups diários automáticos"],"View Your Backups":["Ver seus backups"],"A Jetpack Site securely backed up with Jetpack Backup":["Um site Jetpack seguro com backup feito pelo Backup do Jetpack"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Use marcação Markdown para criar conteúdo com links, listas e outros estilos. Esta opção ativa o Markdown no editor clássico e no bloco editor clássico."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Ativar{{/a}} para melhorar o carregamento de imagens usando os servidores do Jetpack. Isso melhora o desempenho de seu site em computadores e dispositivos móveis."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["O Jetpack está melhorando o tamanho de suas imagens e velocidade de carregamento usando nossos servidores. Isso melhora o desempenho de seu site em computadores e dispositivos móveis."],"Image Accelerator":["Acelerador de imagem"],"Start with free":["Comece gratuitamente"],"Now that you're set up, pick a plan that fits your needs.":["Agora que você fez a configuração, escolha um plano que atenda às suas necessidades."],"Jetpack Backup":["Backup do Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Seu plano do Jetpack oferece proteção anti-spam por meio do Akismet. Clique em Configurar para ativá-la em seu site."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Já tem uma chave? {{a}}Ativar Akismet{{/a}}"],"Verifying…":["Verificando…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Aumente sua classificação no mecanismo de busca com as poderosas ferramentas de SEO do Jetpack Premium ou Profissional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Ofereça um site com visual simplificado e carregamento rápido para dispositivos móveis. Os visitantes ainda verão seu tema padrão em outros tamanhos de tela."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Crie uma experiência de leitura tranquila e ininterrupta, ao carregar mais conteúdo à medida que os visitantes navegam até o final das suas páginas de arquivo."],"Customize your SEO settings":["Personalize suas configurações de SEO"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Tenha controle da maneira como os mecanismos de pesquisa representam seu site. Com as ferramentas SEO do Jetpack, você pode visualizar a aparência de seu conteúdo nos mecanismos de pesquisa populares e alterar itens como o nome do seu site e a tagline em segundos."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Adicionar botões de compartilhamento para que seus visitantes possam compartilhar páginas e posts nas redes sociais com apenas alguns cliques."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Adicionar um pequeno gráfico na barra administrativa com o tráfego das últimas 48 horas"],"Expand to update settings for how visits are counted and manage who can view this information.":["Expandir para atualizar as configurações de como as visitas são contadas e gerenciar quem pode ver essa informação."],"You can customize the sharing buttons and choose which services to display.":["Você pode personalizar os botões de compartilhamento e escolher quais serviços são exibidos."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Seu site é protegido pelo Jetpack. Você receberá uma notificação se algo precisar de sua atenção."],"Find threats early so we can help fix them fast.":["Encontrar ameaças para que possamos corrigi-las rapidamente."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Substitua a pesquisa básica de seu site por uma pesquisa personalizável que ajuda seus visitantes a encontrarem respostas mais rapidamente."],"Never worry about losing your site – automatic backups keep your content safe.":["Não se preocupe em perder seu site. Backups automáticos mantêm seu conteúdo em segurança."],"Protect":["Proteger"],"Scan":["Examinar"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Limpar spam automaticamente de seus comentários e formulários para que você possa focar em seu conteúdo."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Conecte seu site ao Google Analytics em segundos, com o Jetpack Premium ou o Profissional."],"Log in to the WordPress mobile app":["Faça login no aplicativo para dispositivos móveis do WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Acesse o aplicativo do WordPress.com com facilidade clicando no link que enviaremos ao endereço de e-mail de sua conta."],"Email me a link to log in to the app":["Enviar por e-mail um link para fazer login no aplicativo"],"Send your new posts to this email address:":["Enviar seus novos posts para este endereço de e-mail:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Publicar por e-mail é uma forma rápida de publicar novos posts sem acessar o site. Vamos gerar um endereço de e-mail exclusivo para envio do seu conteúdo, que será então exibido no seu site como qualquer outro post."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["A barra de ferramentas do WordPress.com substitui a barra de ferramentas padrão do administrador do WordPress. Ela proporciona o acesso com um clique a notificações, seu perfil do WordPress.com e outros sites do Jetpack e do WordPress.com. Você também pode acompanhar os sites que segue no leitor."],"Verify site ownership with third party services":["Confirme a propriedade do site junto a serviços de terceiros"],"Generate shortened URLs for simpler sharing.":["Gere URLs abreviadas para um compartilhamento simplificado."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Mantenha o interesse dos seus visitantes com conteúdo relacionado na parte inferior de cada post. Essas configurações não serão aplicadas aos {{a}}posts relacionados, que foram adicionados usando o editor de blocos{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["A funcionalidade ajuda os visitantes a descobrir mais sobre o seu conteúdo ao exibir posts relacionados na parte inferior de cada post."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["O Jetpack gera automaticamente um {{link1}}ads.txt{{/link1}} personalizado, ideal para o seu site. Caso precise adicionar mais entradas para outras redes, inclua uma em cada linha no espaço abaixo. {{link2}}Marque aqui para obter mais detalhes{{/link2}}."],"Add sharing buttons to your posts and pages":["Adicione botões de compartilhamento aos seus posts e páginas"],"Share your content to social media, reaching new audiences and increasing engagement.":["Compartilhe seu conteúdo nas redes sociais, atingindo novos públicos e aumentando a interação."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Receba alertas, caso seu site fique offline. Vamos informá-lo assim que ele voltar também."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Com o Jetpack, é possível optar pela atualização automática dos plugins a cada nova versão. Você receberá as correções de segurança e de bugs de imediato, garantindo assim a segurança do seu site."],"Choose which plugins to auto-update":["Selecionar quais plugins serão atualizados automaticamente"],"Upgrade Jetpack now":["Faça já o upgrade do Jetpack"],"Monetize your site by running high quality ads.":["Monetize o seu site veiculando publicidade de alta qualidade."],"Customize your social posting schedule.":["Personalize o cronograma dos seus posts nas redes sociais."],"Expand your audience with pro SEO tools.":["Amplie o seu público com ferramentas profissionais de SEO."],"Take your site to the next level!":["Eleve o seu site a um novo patamar!"],"Search support docs":["Buscar documentos de suporte"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Precisa de ajuda? Saiba mais sobre como começar, personalizar seu site, usar snippets de códigos avançados e muito mais."],"Start sharing":["Comece a compartilhar"],"Optimized performance":["Desempenho otimizado"],"Enable the “subscribe to comments” option on your comment form":["Habilite a opção “assinar os comentários” no formulário de comentários"],"Enable the “subscribe to site” option on your comment form":["Habilite a opção “assinar o site” no formulário de comentários"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Gerencie as configurações avançadas dos comentários e aumente o seu público com as assinaturas por e-mail."],"Comment form introduction":["Introdução ao formulário de comentários"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Antispam do Jetpack, fornecido pela Akismet. O envio de comentários e dos formulários de contato será comparado com o nosso banco de dados global sobre spam."],"Failed to send login email":["Falha ao enviar e-mail de login"],"Login email sent":["E-mail de login enviado"],"Sending login email…":["Enviando e-mail de login..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Preocupado com a segurança? Obtenha backups, correções automáticas de segurança e muito mais: {{a}}Faça já o upgrade{{/a}}"],"Allow readers to like individual comments.":["Permita que leitores curtam comentários."],"Enable comment likes.":["Ativar curtidas de comentários."],"Allow readers to use markdown in comments.":["Permita que leitores usem Markdown nos comentários."],"Show Gravatar hovercards alongside comments.":["Mostrar cartões do Gravatar nos comentários."],"Complete Jetpack Setup":["Concluir configuração do Jetpack"],"Your Jetpack setup progress":["Andamento da configuração do Jetpack"],"View your setup checklist":["Veja sua lista de verificação"],"Yearly":["Anual"],"Monthly":["Mensal"],"About Jetpack":["Sobre o Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Ative os controles de visibilidade de widgets para exibi-los apenas em certas páginas ou posts"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Com a visibilidade de widgets, você decide quais widgets aparecem em quais páginas para poder personalizar o conteúdo deles."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Disponibilize mais widgets para usar no seu site, incluindo streaming do Twitter e formulários de assinatura"],"Enhance CSS customization panel":["Aprimore o painel de personalização CSS"],"Writing":["Escrever"],"Compose using shortcodes to embed media from popular sites":["Crie usando códigos abreviados para mídia incorporada a partir de sites populares"],"Traffic":["Tráfego"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Você deve digitar suas credenciais do servidor para terminar a configuração de Backup e verificação."],"Awaiting credentials":["Aguardando credenciais"],"Backups and Scan are being configured for your site.":["Backup e verificação está sendo configurado para seu site."],"Provisioning":["Provisionamento"],"Action needed":["Ação necessária"],"Setting up":["Configuração"],"Discussion":["Discussão"],"We are configuring your site protection.":["Estamos configurando a proteção do seu site."],"View your site's backups":["Ver os backups do seu site"],"We are backing up your site in real-time.":["Estamos fazendo backup do seu site em tempo real."],"Enter credentials":["Insira as credenciais"],"You need to enter your server's credentials to finish the setup.":["Você deve inserir suas credenciais do servidor para terminar a configuração."],"We are configuring your site's backups.":["Estamos configurando os backups do seu site."],"View site activity":["Ver a atividade do site"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["O Jetpack mantém um registro completo de tudo o que acontece no seu site, o que evita suposições relacionadas ao reparo, depuração e gerenciamento do site."],"Explore our Jetpack plans":["Explore nossos planos do Jetpack"],"Support documentation":["Documentação de suporte"],"Chat bubbles representing getting in touch with support":["Os balões de chat representam o contato com o suporte"],"Site activity":["Atividade do site"],"Reach a wider audience by automatically sharing your posts on social media.":["Alcance um público maior compartilhando automaticamente os seus posts nas redes sociais."],"Increase traffic to your site":["Aumente as visitas em seu site"],"Explore free themes":["Explore os temas gratuitos"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Receba acesso ilimitado a centenas de temas profissionais e personalize o seu site exatamente como quiser."],"A wide variety of themes and tools to customize a site":["Uma grande variedade de temas e ferramentas para personalizar um site"],"Set up your site security":["Configure a segurança do seu site"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Evite os ataques aos logins e receba notificações instantâneas quando houver um problema no seu site."],"Site stats showing an evolution in traffic and engagement":["As estatísticas do site mostram uma evolução no tráfego e no engajamento"],"A hand holding a loupe":["Uma mão segurando uma lupa"],"A chart showing an healthy increase in earnings":["Um gráfico mostrando um bom aumento nos lucros"],"Interface showing a chronological list of changes and updates in a site":["Interface mostrando uma lista cronológica de alterações e atualizações de um site"],"A cloud with multiple types of content floating around it":["Uma nuvem repleta de vários tipos de conteúdos flutuando ao redor"],"A folder holding real comments":["Uma pasta contendo comentários reais"],"Make your site faster":["Torne seu site mais rápido"],"Load pages faster by serving your images from our global network of servers.":["Carregue páginas com maior rapidez, exibindo suas imagens a partir da nossa rede global de servidores."],"A fast and performant website":["Um site rápido e com excelente desempenho"],"A secure site, locked and protected by Jetpack":["Um site seguro, protegido e resguardado pelo Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Duplique posts, páginas, testemunhos e portfólios existentes. Todo o conteúdo será copiado incluindo texto, imagem destacada, configurações de compartilhamento etc."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Esse site não pode ser conectado ao WordPress.com por que viola nossos {{a}}Termos de serviço{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Conecte seu site às redes sociais que você usa e compartilhe seu conteúdo em todas suas contas com um único clique. Quando você publica um post, ele será compartilhado em todas suas contas conectadas."],"Add Like buttons to your posts and pages":["Adicionar botões de curtida em seus posts e páginas"],"When visitors enjoy your content, let them show it with a Like.":["Quando os visitantes gostarem de seu conteúdo, deixe que eles mostrem isso com uma curtida."],"Create account":["Criar conta"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["O Jetpack equipa o seu site mas, para acessar todos os seus recursos, é preciso criar uma conta."],"Compose content the way you want to and streamline your publishing experience.":["Crie conteúdos como quiser e otimize a experiência de publicá-los."],"Add a portfolio item":["Adicione um item ao portfólio"],"Add a testimonial":["Adicione um depoimento"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximize a visibilidade do seu site em mecanismos de busca e visualize estatísticas de tráfego em tempo real."],"Create a Jetpack account to use this feature":["Crie uma conta no Jetpack para usar esse recurso"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["O Jetpack fará o monitoramento contínuo do seu site e o alertará quando um momento de inoperância for detectado."],"Error enabling Site accelerator. %(error)s":["Erro ao habilitar o Acelerador de sites. %(error)s"],"Site accelerator is now speeding up your site!":["O Acelerador de sites deixou seu site muito mais rápido!"],"Enabling Site accelerator…":["Habilitando o Acelerador de sites..."],"Error disabling site accelerator. %(error)s":["Erro ao desabilitar o Acelerador de sites. %(error)s"],"Site accelerator is no longer speeding up your site!":["O Acelerador de sites deixou de acelerar seu site!"],"Disabling site accelerator…":["Desabilitando o Acelerador de sites..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Carregue páginas, otimize imagens com mais rapidez e acelere a experiência dos seus visitantes."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Complemente as estatísticas do WordPress.com com uma análise mais detalhada do Google de seus visitantes e seus padrões de tráfego."],"High-speed, high-definition video hosting with no third-party ads.":["Hospedagem de vídeos em alta velocidade e alta definição, sem publicidade de terceiros."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Agende tweets, publicações no Facebook e posts em outras redes sociais sem limitações."],"Marketing Automation":["Automação de Marketing"],"Activate Jetpack Search":["Ative a busca do Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Substitua a busca padrão do WordPress por resultados e filtros melhores com a tecnologia Elasticsearch."],"Start earning":["Comece já a lucrar"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["O WordAds permite que você ganhe dinheiro com a exibição de conteúdo promocional. Comece a lucrar hoje mesmo."],"Spam is automatically blocked from your comments.":["Todo spam é bloqueado automaticamente nos seus comentários."],"Browse premium themes":["Navegue pelos temas premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Acesse centenas de temas premium com belos designs sem custo adicional."],"Try a premium theme":["Experimente um tema premium"],"View settings":["Exibir configurações"],"Create a Jetpack account to view your email followers":["Crie uma conta do Jetpack para visualizar os seguidores dos seus e-mails"],"Manage security settings":["Gerencie as configurações de segurança"],"Jetpack is ready for the new WordPress editor":["O Jetpack está pronto para o novo editor do WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Hoje, estamos lançando os primeiros blocos específicos do Jetpack criados para a experiência com o novo editor: Botão Pagamento simples, Formulário, Mapa e Markdown."],"Build your Jetpack site with blocks":["Desenvolva seu site do Jetpack com blocos"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Um novo editor? Sim! {{a}}Saiba mais{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Os recursos nos quais você confia, adaptados para o editor do WordPress."],"Take me to the new editor":["Ir para o novo editor"],"Testing Jetpack Connection":["Testando a conexão do Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["Ocorreu um erro ao testar o Jetpack. Erro: %(error)s"],"New in Jetpack!":["Novidades no Jetpack!"],"Speed up static file load times":["Acelerar o carregamento de arquivos estáticos"],"Speed up image load times":["Acelerar o carregamento de imagens"],"Enable site accelerator":["Ativar acelerador de site"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Carregue páginas com mais rapidez, ao permitir que o Jetpack otimize e transmita suas imagens e arquivos estáticos (como o CSS e o JavaScript) da nossa rede global de servidores."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Adicione uma camada extra de segurança ao seu site, ativando o login e a autenticação segura do WordPress.com. Caso tenha diversos sites com esta opção ativada, será possível fazer login em todos eles com as mesmas credenciais."],"View your site activity":["Ver as atividades do site"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Visualize uma lista cronológica de todas as alterações e atualizações do seu site de forma organizada e legível."],"Manually Verify ":["Verificar manualmente "],"Verify with Google":["Verificar com o Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["O Google enviará um e-mail sobre determinados eventos que ocorrem com seu site, incluindo indícios de que o site foi {{a1}}invadido{{/a1}}, ou sobre problemas {{a2}}de pesquisa ou indexação{{/a2}} do seu site."],"or":["ou"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitore o tráfego e o desempenho do seu site pelo {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Seu site foi verificado com o Google"],"Site failed to verify: %(error)s":["Não foi possível verificar o site: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Adicione uma busca mais rápida e avançada ao seu site com o Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Substitua a pesquisa integrada do WordPress pela Busca do Jetpack, uma experiência de busca avançada"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["A Busca do Jetpack substitui a pesquisa integrada por um recurso de busca rápido, escalável, personalizável e altamente relevante que fica hospedado na nuvem do WordPress.com. O resultado: seus usuários encontram o conteúdo desejado mais rapidamente."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["A busca integrada do WordPress é ótima para sites sem muito conteúdo. No entanto, conforme seu site cresce, as buscas ficam lentas e retornam menos resultados relevantes."],"Jetpack Search supports many customizations.":["A Busca do Jetpack oferece suporte para várias personalizações."],"Site is verified":["O site foi verificado"],"Spam filtering and priority support.":["Filtro de spam e suporte prioritário."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Quando os anúncios são ativados, o Jetpack gera automaticamente um ads.txt personalizado para seu site."],"Custom ads.txt entries":["Entradas de ads.txt personalizados"],"Privacy information":["Informações de privacidade"],"Enable Lazy Loading for images":["Ativar o carregamento lento de imagens"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["O carregamento lento de imagens aumentará a velocidade do seu site e criará uma exibição mais suave. As fotos carregarão conforme o usuário rolar a página para baixo, em vez de todas carregarem de uma vez."],"Performance & speed":["Desempenho e velocidade"],"Enable high-speed, ad-free video player":["Ative um reprodutor de vídeo de alta velocidade e sem publicidade"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Faça com que o conteúdo que você publica seja mais interessante com um vídeo de alta resolução. Com o Jetpack Vídeo você personaliza seu reprodutor de mídia e fornece vídeos de alta velocidade e sem publicidade aos visitantes. Os vídeos são hospedados nos servidores do WordPress.com e não reduzem o espaço do seu plano de hospedagem!"],"Video":["Vídeo"],"Carousel color scheme":["Esquema de cores do carrossel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Os dados Exif mostram aos visualizadores mais detalhes técnicos de uma foto, como a distância focal, abertura e ISO."],"Show photo Exif metadata in carousel (when available)":["Mostre metadados Exif de fotos no carrossel, quando disponível."],"Display images in a full-screen carousel gallery":["Exiba imagens em tela cheia em uma galeria do carrossel"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Crie apresentações em carrosséis em tela cheia para imagens em seus posts e suas páginas. As galerias do carrossel são compatíveis com dispositivos móveis e incentivam visitantes a interagirem com suas fotos."],"Portfolios shortcode: [portfolio]":["Código abreviado dos portfólios: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Use os {{portfolioLink}}portfólios{{/portfolioLink}} do nosso site para exibir o que tem de melhor. Caso seus temas não sejam compatíveis com o Jetpack Portfólios, você ainda pode usar um código abreviado simples para exibi-los no seu site."],"Testimonials shortcode: [testimonials]":["Código abreviado dos depoimentos: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Inclua {{testimonialLink}}depoimentos{{/testimonialLink}} no seu site para atrair novos clientes. Caso seus temas não sejam compatíveis com o Jetpack Depoimentos, você ainda pode usar um código abreviado simples para exibi-los no seu site."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Os mecanismos de busca não podem acessar seu site no momento. Caso queira tornar seu site acessível, confira as {{a}}configurações de leitura{{/a}} e ative a opção \"Visibilidade do mecanismo de busca\"."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Boas notícias: o Jetpack está enviando automaticamente seu sitemap a todos os principais mecanismos de busca para indexação."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Os sitemaps são arquivos que os mecanismos de busca, como o Google ou o Bing, usam. Eles podem ajudar a melhorar sua posição nos resultados de busca. Ao ativar este recurso, o Jetpack cria sitemaps para você e atualiza-os automaticamente assim que o conteúdo no seu site for alterado."],"Configure related posts in the Customizer":["Configure posts relacionados no Personalizador"],"Highlight related content with a heading":["Destaque o conteúdo relacionado com um cabeçalho"],"View security scan details":["Visualize detalhes da verificação de segurança"],"Test your site’s compatibility with Jetpack.":["Teste a compatibilidade do seu site com o Jetpack."],"Show a thumbnail image where available":["Exibir uma miniatura de imagem quando disponível"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Para obter mais informações sobre como funcionalidades específicas do Jetpack usam dados e monitoram atividades, consulte nosso {{privacyCenterLink}}Centro de privacidade{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Utilizamos outras ferramentas de controle, incluindo algumas de terceiros. {{cookiePolicyLink}}Leia mais sobre isso{{/cookiePolicyLink}} e sobre como controlá-los."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Essas informações nos ajudam a aprimorar nossos produtos, tornar o marketing mais relevante para você, personalizar sua experiência no WordPress.com e muito mais, conforme detalhado em nossa {{pp}}política de privacidade{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Compartilhe informações sobre seu uso dos serviços com nossa ferramenta de análise enquanto permanece conectado em sua conta do WordPress.com. {{cookiePolicyLink}}Saiba mais{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Este recurso está sendo gerenciado por um administrador do site. {{link}}Saiba mais{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Este recurso foi desabilitado por um administrador do site. {{link}}Saiba mais{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Este recurso foi habilitado por um administrador do site. {{link}}Saiba mais{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s foi desabilitado por um administrador do site. {{link}}Saiba mais{{/link}}."],"This feature has been disabled by a site administrator.":["Este recurso foi desabilitado por um administrador do site."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s foi desabilitado por um administrador do site."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["É possível posicionar anúncios usando o widget de anúncios. {{link}}Faça um teste!{{/link}}"],"Configure your notification settings":["Defina suas configurações de notificação"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["A Busca do Jetpack é uma ótima substituição da capacidade de pesquisa criada no WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Os arquivos do seu site são verificados com frequência à procura de modificações não autorizadas ou suspeitas que possam comprometer seus dados e sua segurança."],"Plugin needs updating.":["O plugin precisa ser atualizado.","Os plugins precisam ser atualizados."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["As Atualizações de plugin do Jetpack permitem que você escolha quais plugins atualizar automaticamente."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["O Jetpack otimizará e fornecerá suas imagens a partir do local de servidor mais próximo dos seus visitantes. Usar a nossa rede de distribuição de conteúdo global aumentará a velocidade de carregamento do seu site."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["O monitoramento do período de inatividade do Jetpack monitorará seu site e o alertará sempre que um período de inatividade for detectado."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Os Backups do Jetpack permitem que você restaure ou faça download de um backup com facilidade a partir de um momento específico."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Permite um tema leve que será exibido para os visitantes em dispositivos móveis."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Carrega os próximos posts automaticamente, conforme o leitor se aproxima do final da página."],"Allows you to publish new posts by sending an email to a special address.":["Permite que você faça novas publicações ao enviar um e-mail para um endereço específico."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Adiciona uma barra de ferramentas com links para todos os seus sites, notificações, seu perfil WordPress.com e o Leitor."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Fornece as tags ocultas necessárias para a verificação do seu site WordPress com vários serviços."],"Displays information on your site activity, including visitors and popular posts or pages.":["Exibe informações sobre a atividade no seu site, como visitantes e posts/páginas populares."],"Allows you to optimize your site and its content for better results in search engines.":["Permite a otimização do seu site e conteúdo para melhores resultados nos mecanismos de busca."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integra seu site do WordPress ao Google Analytics, uma plataforma que oferece informações sobre tráfego, visitantes e conversões."],"Displays high-quality ads on your site that allow you to earn income.":["Exibe anúncios em alta qualidade no seu site, permitindo que você lucre."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Permite o compartilhamento automático do seu conteúdo mais recente em redes sociais, como o Facebook e o Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Adiciona botões de curtida ao seu conteúdo para que os visitantes possam mostrar que gostaram dele."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permite que os usuários registrados possam fazer login no seu site com as contas deles do WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Protege seu site de ataques tradicionais e distribuídos de login de força bruta."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Faz backup do seu site em servidores globais do WordPress.com, permitindo que você restaure o conteúdo em caso de emergência ou erro."],"Removes spam from comments and contact forms.":["Remove mensagens de spam dos comentários e formulários de contato."],"We are committed to your privacy and security. ":["Temos um compromisso com sua privacidade e segurança. "],"View all Jetpack plans":["Ver todos os planos do Jetpack"],"Manage your plan":["Gerenciar seu plano"],"Your Plan":["Seu plano"],"You’re currently on Jetpack %(plan)s.":["Você atualmente está no Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permite que os leitores assinem para ver seus posts e comentários, bem como receber notificações de novo conteúdo por e-mail."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Substitui o formato padrão de comentário do WordPress por um novo sistema, que inclui opções de login nas redes sociais."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Ative{{/a}} para substituir a busca integrada do WordPress pela avançada Busca do Jetpack."],"Add Search (Jetpack) Widget":["Adicionar widget de busca (Jetpack)"],"Jetpack Search is powering search on your site.":["A busca no seu site usa a busca do Jetpack."],"Manage your plugins":["Gerenciar seus plugins"],"Moderate comments":["Moderar comentários"],"Error updating privacy settings. %(error)s":["Erro ao atualizar as configurações de privacidade. %(error)s"],"Updated privacy settings.":["Configurações de privacidade atualizadas."],"Updating privacy settings…":["Configurações de privacidade atualizadas..."],"Add Jetpack Search Widget":["Adicione o widget de busca do Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Adicione o widget de Busca do Jetpack à barra lateral para configurar filtros e classificação."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Pacote de segurança completo, ferramentas de automação de receita e marketing, hospedagem ilimitada de vídeo, inúmeros temas, pesquisa avançada e suporte prioritário."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Pacote de segurança completo, ferramentas de automação de receita e marketing, hospedagem ilimitada de vídeo."],"Daily backups, spam filtering, and priority support.":["Backups diários, filtragem de spam e suporte prioritário."],"Always-on security":["Segurança em tempo integral"],"Activate video hosting":["Ativar hospedagem de vídeo"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Backup em tempo real de todos os dados do seu site com espaço ilimitado, restaurações com apenas um clique, verificação de segurança automatizada e suporte prioritário"],"Design the perfect website":["Crie o site perfeito"],"Set up Jetpack":["Configurar o Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Graças às restaurações com espaço ilimitado em apenas um clique e à verificação de segurança automatizada, você obtém backup em tempo real de todos os dados do seu site."],"Jetpack Search":["Pesquisa do Jetpack"],"Jetpack version %(version)s":["Versão do Jetpack %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["O backup do seu site está sendo feito em tempo real e escaneado regularmente contra ameaças de segurança."],"Daily backup of all your site data with unlimited space and one-click restores":["Backup diário de todas as informações do seu site com espaço ilimitado e restaurações com apenas um clique"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Backup diário de todos os dados de seu site com espaço ilimitado, restauração com um clique, verificação de segurança automática e prioridade no suporte"],"View your security activity":["Visualizar suas atividades de segurança"]," (powered by VaultPress).":["(mantido por VaultPress)."],"Customize Search Widget":["Widget de busca personalizado"],"Please correct the issue below and try again.":["Corrija o problema abaixo e tente de novo. ","Corrija os problemas abaixo e tente de novo. "],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Nós estamos verificando se seus sites estão livres de ameaças de segurança. Você será notificado se encontrarmos alguma."],"Jetpack version":["Versão do Jetpack"],"Activity":["Atividade"],"{{a}}View details{{/a}}":["{{a}}Ver detalhes{{/a}}"],"Monetize your site with ads":["Monetize seu site com anúncios"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Ao clicar no botão abaixo, você concorda com nossos {{tosLink}}Termos de Serviço{{/tosLink}} e em {{shareDetailsLink}}compartilhar informações{{/shareDetailsLink}} com o WordPress.com."],"Jetpack Stats People":["Pessoas que observam as estatísticas do Jetpack"],"Hello there! Your stats have been activated.":["Olá! Suas estatísticas foram ativadas."],"Just give us a little time to collect data so we can display it for you here.":["Aguarde alguns momentos, para que possamos coletar alguns dados e exibi-los aqui para você."],"Okay, got it!":["Ok, entendido!"],"Display ads below posts on":["Exibir publicidade abaixo dos posts em"],"Additional ad placements":["Posicionamentos adicionais de anúncios"],"Top of each page":["Topo de cada página"],"Second ad below post":["Segundo anúncio abaixo do post"],"Archives":["Arquivos"],"Stars":["Estrelas"],"Jupiter":["Jupiter"],"Schedule posts":["Agendar posts"],"Activate Publicize":["Ativar Publicize"],"Your site is backed up.":["O backup de seu site foi concluído."],"Get WordPress Apps for every device":["Use os aplicativos WordPress em qualquer dispositivo"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Gerencie todos os seus sites em um único painel: publique conteúdo, monitore estatísticas, modere comentários e muito mais de qualquer lugar do mundo."],"Create address":["Criar endereço"],"Automatically share your posts to social networks":["Compartilhe seus posts automaticamente em redes sociais"],"Updating settings…":["Atualizando configurações..."],"Updating Post by Email address…":["Atualizando endereço para publicar por e-mail..."],"Your paid plan gives you access to prioritized Jetpack support.":["Seu plano pago dá acesso a suporte com prioridade do Jetpack."],"You have paid for backups but they're not yet active.":["Você pagou por backups, mas eles ainda não estão ativos."],"You have paid for backups and security scanning but they’re not yet active.":["Você pagou por backups e escaneamento de segurança, mas eles ainda não estão ativos."],"Click \"Set Up\" to finish installation.":["Clique em configurar para finalizar a instalação."],"Checking site status…":["Verificando status do site..."],"Pages":["Páginas"],"Access the full list of Jetpack modules available on your site.":["Acesse a lista completa dos módulos do Jetpack disponíveis em seu site."],"We're here to help":["Estamos aqui para ajudar"],"Jetpack comes with free, basic support for all users.":["Jetpack oferece suporte básico e gratuito a todos os usuários."],"Ask a question":["Faça uma pergunta"],"Search our support site":["Pesquise nosso site de suporte"],"Get a faster resolution to your support questions.":["Receba uma solução mais rápida para suas questões de suporte."],"Host fast, high-quality, ad-free video.":["Hospede vídeos com rapidez, alta qualidade e sem anúncios."],"Generate income with high-quality ads.":["Gere renda com anúncios de alta qualidade."],"Real-time site backups and automatic threat resolution.":["Backups de site em tempo real e resolução automática de ameaças."],"Protect against data loss, malware, and malicious attacks.":["Evite perda de dados, malware e ataques maliciosos."],"Protect your site from spam.":["Proteja seu site contra spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Este site não está conectado ao WordPress.com Solicite ao administrador do site para se conectar."],"An Automattic Airline":["Uma companhia aérea da Automattic"],"Manage site connection":["Gerenciar conexão do site"],"Connect your account to WordPress.com to view more stats":["Conecte sua conta ao WordPress.com para ver mais estatísticas"],"Theme enhancements":["Melhorias de tema"],"Load more posts using the default theme behavior":["Carregar mais posts usando o comportamento padrão do tema"],"Load more posts in page with a button":["Carregar mais posts na página com um botão"],"Load more posts as the reader scrolls down":["Carregar mais posts à medida que o leitor rolar a página"],"Theme support required.":["Necessário ter suporte no tema."],"Learn more about adding support for Infinite Scroll to your theme.":["Saiba mais sobre como adicionar suporte para abBarra de rolagem infinita ao seu tema."],"Show excerpts instead of full posts on front page and archive pages":["Mostrar resumo de posts ao invés do conteúdo completo na página inicial e arquivo."],"Show featured images":["Exiba imagens destacadas"],"Enable the WordPress.com toolbar":["Habilitar a barra de ferramentas do WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Ferramentas de escrita disponíveis aparecerão aqui quando o administrador as habilitar."],"Portfolios":["Portfólios"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Observe que {{b}}não é necessário verificar o seu site com estes serviços{{/b}} para que ele seja indexado pelos mecanismos de busca. Para usar estas ferramentas avançadas de mecanismos de buscas e verificar o seu site com um serviço, cole o código da Tag HTML abaixo. Leia as {{support}}instruções completas{{/support}} se estiver com dificuldades. Serviços de verificação compatíveis: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} e {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Gerar mapas do site em XML"],"The image helps collect stats, but should work when hidden.":["A imagem ajuda a recolher estatísticas, mas deve funcionar mesmo estando oculta."],"Count logged in page views from":["Contar as visualizações dos seguintes usuários logados:"],"Allow stats reports to be viewed by":["Permitir que os relatórios de estatísticas sejam visualizados por"],"In \"Upgrade\"":["Em \"Atualizações\""],"Configure your Google Analytics settings":["Informe suas configurações do Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Exiba anúncios no primeiro artigo de sua página inicial ou no fim de cada página e post. Insira anúncios adicionais na parte superior do site e nas áreas de widget para aumentar os ganhos."],"Enable ads and display an ad below each post":["Habilite os anúncios e exiba um anúncio sob cada post"],"Configure your sharing buttons":["Configure os botões de compartilhamento"],"Connect your social media accounts":["Conecte suas contas de redes sociais"],"Match accounts using email addresses":["Vincular contas usando endereços de e-mail"],"Require accounts to use WordPress.com Two-Step Authentication":["Exigir que as contas usem a autenticação em duas etapas do WordPress.com"],"Add to whitelist":["Adicionar à lista de permissões"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["A inserção de um endereço de IP ou de vários endereços na lista de permissões evita que eles sejam bloqueados pelo Jetpack. IPv4 e IPv6 são aceitos. Para especificar um intervalo de IPs, insira o menor e o maior valor separados por um traço. Exemplo: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Seu site tem uma cópia de segurança e está livre de ameaças."],"Checking your spam protection…":["Verificando sua proteção contra spam…"],"Fetching key…":["Obtendo chave…"],"Your site needs an Antispam key.":["Seu site precisa de uma chave contra spam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Há um problema com sua chave de API contra spam. {{a}}Saiba mais{{/a}}."],"Your site is not protected from spam.":["Seu site não tem proteção contra spam."],"Your Antispam key is valid.":["Sua chave contra spam é válida."],"Your site is protected from spam.":["Seu site tem proteção contra spam."],"Checking key…":["Verificando a chave…"],"Your API key":["Sua chave API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Caso você ainda não tenha uma chave de API, {{a}}obtenha sua chave de API aqui{{/a}} e você será guiado pelo processo para cadastrar uma chave."],"No search results found for %(term)s":["Nenhum resultado de busca encontrado para %(term)s"],"Enter a search term to find settings or close search.":["Insira um termo de busca para encontrar as configurações ou fechar a busca."],"Connections":["Conexões"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Seu site está no modo de desenvolvimento, portanto, você não pode se conectar ao WordPress.com."],"Your site is connected to WordPress.com.":["Seu site está conectado ao WordPress.com."],"You are the Jetpack owner.":["Você é o proprietário do Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Conectado como {{span}}%(username)s{{/span}}"],"View your Email Followers":["Veja seus seguidores de e-mail"],"Color scheme":["Combinação de cores"],"Enable Markdown use for comments.":["Habilite o Markdown para comentários."],"Updated settings.":["Configurações atualizadas."],"Error updating settings. %(error)s":["Erro ao atualizar as configurações. %(error)s"],"Regenerated Post by Email address.":["Endereço para publicar por e-mail recuperado."],"Error regenerating Post by Email address. %(error)s":["Erro ao recuperar endereço para publicar por e-mail. %(error)s"],"Updated settings. Refreshing page…":["Configurações atualizadas. Atualizando a página…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Está no {{a}}Modo de desenvolvimento{{/a}} e algumas funções estão desativadas porque: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}O filtro jetpack_development_mode filter está ativo{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}A constante JETPACK_DEV_DEBUG está definida{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}A URL do seu site está em um ponto (ex.: http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["O Google Analytics é um serviço gratuito que complementa as {{a}}estatísticas incorporadas do Wordpress.com{{/a}} com diferentes visões sobre os acessos que você recebe. As estatísticas do WordPress.com e do Google Analytics usam métodos diferentes para identificar e monitorar as atividades no seu site, então elas geralmente mostram totais ligeiramente diferenciados referentes aos seus acessos, visualizações, etc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configure Google Analytics"],"Activate Google Analytics":["Ative o Google Analytics"],"Download the free apps":["Fazer download dos aplicativos gratuitos"],"Upgrade Focus: VideoPress For Weddings":["Foco da atualização: VideoPress para casamentos"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Agora você também pode configurar os posts relacionados no Personalizador. {{ExternalLink}}Experimente!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Por padrão, a publicidade é mostrada ao final de cada página, post ou no primeiro artigo da sua página inicial. Você também pode adicioná-los na parte superior do seu site e nas áreas de widget para aumentar seus lucros!"],"Display an ad unit at the top of your site.":["Mostre uma unidade de publicidade na parte superior do seu site."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Ao ativar a publicidade, você concorda com os {{link}}Termos de Serviço{{/link}} de publicidade da Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Seu servidor está configurado de forma incorreta, o que significa que o Jetpack Protect não pode proteger o seu site de forma eficaz."],"In \"Mobile\"":["Em “Móvel”"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Definir as configurações de notificação do Monitor no WordPress.com{{/link}}"],"View your earnings":["Visualizar seus ganhos"],"Configure site SEO":["Configure o SEO do site"],"Activate SEO tools":["Ativar ferramentas de SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Para iniciar, clique em Adicionar mídia no seu editor de post e carregue um vídeo. Nós cuidaremos do resto!"],"Video Hosting":["Hospedagem de vídeo"],"SEO Tools":["Ferramentas de SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Ferramentas de SEO avançadas para ajudar o seu site a ser encontrado quando as pessoas buscarem conteúdo relevante."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["A maneira mais fácil de enviar vídeos sem anúncios e sem marcas para o seu site. Você obtém estatísticas de reprodução e compartilhamento dos vídeos e o player é leve e responsivo."],"You are running Jetpack on a staging server.":["Você está rodando o Jetpack em um servidor de teste."],"More Info":["Mais informações"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Gerencie a visibilidade das curtidas em \"Configurações do módulo de compartilhamento\"{{/a}}"],"Your current IP: %(ip)s":["Seu IP atual: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Existem configurações não salvas nesta aba que serão perdidas se você sair. Continuar?"],"This will reset all Jetpack options, are you sure?":["Isso redefinirá todas as opções do Jetpack. Você tem certeza?"],"Search for a Jetpack feature.":["Pesquisar por um recurso do Jetpack."],"Configure your Security Scans":["Configurar suas verificações de segurança"],"Subscriber":["Assinante"],"Big iPhone/iPad Update Now Available":["Um agrande atualização para iPhone/iPad está disponível"],"The WordPress for Android App Gets a Big Facelift":["O aplicativo WordPress para Android foi melhorado"],"WordPress.com Likes are:":["Curtidas do WordPress.com estão:"],"A few catchy words to motivate your visitors to comment.":["Algumas palavras cativantes para motivar seus visitantes a comentarem."],"Hide the stats smiley face image":["Ocultar emoticons das estatísticas"],"Whitelisted IP addresses":["Endereços IP na lista de permissões"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Mostrar um anúncio dos aplicativos do WordPress no rodapé do tema para dispositivos móveis"],"Copied!":["Copiado!"],"Highlight and copy the following text to your clipboard:":["Destaque e copie o seguinte texto para a área de transferência:"],"Regenerate address":["Regenerar endereço"],"Cheatin' uh?":["Trapaceando, é?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Você se importaria de nos dizer por que não concluiu a conexão com o Jetpack nesta {{a}}pesquisa de 2 perguntas{{/a}}?{{/p}}{{p}}Uma conexão com o Jetpack é necessária para que nossos recursos gratuitos de segurança e tráfego funcionem.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bem-vindo ao {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Seu Jetpack já está conectado."],"You're fueled up and ready to go, Jetpack is now active.":["Você está abastecido e pronto para decolar. Jetpack está ativo agora."],"You're fueled up and ready to go.":["Você está abastecido e pronto para decolar."],"You are currently running a development version of Jetpack.":["Você está usando uma versão de desenvolvimento do Jetpack."],"Submit Beta feedback":["Enviar opinião sobre o beta"],"What would you like to see on your Jetpack Dashboard?":["O que você gostaria de ver no seu painel do Jetpack?"],"Let us know!":["Nos avise!"],"Saving…":["Salvando..."],"Save Settings":["Salvar configurações"],"Jetpack Stats Icon":["Ícone de estatísticas do Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Ative as estatísticas do site{{/a}} para ver estatísticas detalhadas, curtidas, seguidores, assinantes e muito mais! {{a1}}Saiba mais{{/a1}}"],"Activate Site Stats":["Ativar estatísticas do site"],"Site Backups":["Backups do site"],"Upgrade":["Atualização"],"ACTIVE":["ATIVO"],"View your spam stats":["Ver suas estatísticas de spam"],"View your security dashboard":["Ver seu painel de segurança"],"Real-Time Backups":["Backups em tempo real"],"The site is in Development Mode, so you can not connect to WordPress.com.":["O site está no Modo de desenvolvimento, portanto, você não pode se conectar ao WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Conecte sua conta ao WordPress.com para ter o melhor o Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Para fazer a varredura abrangente e automatizada de ameaças de segurança, {{a}}instale e ative{{/a}} o VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["O Jetpack está bloqueando ativamente tentativas de login mal-intencionadas. Os dados serão exibidos aqui em breve!"],"Total malicious attacks blocked on your site.":["Total de ataques mal-intencionados bloqueados no seu site."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Ative a proteção{{/a}} para manter seu site protegido contra tentativas de login mal intencionadas."],"All plugins are up-to-date. Awesome work!":["Todos os plugins estão atualizados. Ótimo trabalho!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["O Jetpack está monitorando seu site. Se acharmos que seu site está fora do ar, você receberá um e-mail."],"Security":["Segurança"],"Performance":["Performance"],"Backup":["Backup"],"{{a}}View backup details{{/a}}.":["{{a}}Ver detalhes do backup{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Para fazer o backup de todo o seu site automaticamente, {{a}}instale e ative{{/a}} o VaultPress."],"Unavailable in Dev Mode.":["Indisponível no Modo de desenvolvedor."],"Unavailable in Dev Mode":["Indisponível no modo de desenvolvimento"],"Activating %(slug)s…":["Ativando %(slug)s…"],"%(slug)s has been activated.":["%(slug)s foi atualizado."],"%(slug)s failed to activate. %(error)s":["%(slug)s não foi ativado. %(error)s"],"Deactivating %(slug)s…":["Desativando %(slug)s..."],"%(slug)s has been deactivated.":["%(slug)s foi desativado."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s não foi desativado. %(error)s"],"Updating %(slug)s settings…":["Atualizando configurações de %(slug)s..."],"Updated %(slug)s settings.":["Configurações de %(slug)s atualizadas."],"Error updating %(slug)s settings. %(error)s":["Erro atualizando configurações de %(slug)s. %(error)s"],"Updating %(slug)s address…":["Atualizando endereço %(slug)s…"],"Regenerated %(slug)s address .":["Endereço %(slug)s regenerado."],"Error regenerating %(slug)s address. %(error)s":["Error ao gerar o endereço de %(slug)s. %(error)s"],"Resetting Jetpack options…":["Redefinindo opções do Jetpack..."],"Options reset.":["Opções redefinidas."],"Options failed to reset.":["As opções não foram redefinidas."],"There was an error disconnecting Jetpack. Error: %(error)s":["Houve um erro ao desconectar o Jetpack. Erro: %(error)s"],"Unlinking from WordPress.com":["Desvinculando do WordPress.com"],"Unlinked from WordPress.com.":["Desvinculado do WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Erro ao desvincular do WordPress.com. %(error)s"],"At A Glance":["Resumo"],"Dashboard":["Painel"],"Automattic's Privacy Policy":["Política de Privacidade da Automattic"],"WordPress.com Terms of Service":["Termos de Serviço do WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Ative as atualizações automáticas de plugin{{/a}}"],"Plugin Updates":["Atualizações de plugin"],"No threats found, you're good to go!":["Nenhuma ameaça encontrada. Tudo sob controle!"],"{{a}}Contact Support{{/a}}":["{{a}}Contatar o Suporte{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Veja os detalhes no VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Ops, %(number)s ameaça encontrada.","Ops, %(number)s ameaças encontradas."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Ative o monitoramento{{/a}} para receber notificações por e-mail se o site ficar fora do ar."],"Loading…":["Carregando..."],"Downtime monitor":["Monitoramento do período de inatividade"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Ver mais estatísticas em WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Visualizar estatísticas detalhadas{{/button}}"],"All-time comments":["Comentários até o momento"],"All-time views":["Visualizações até o momento"],"%(number)s View":["%(number)s visualização","%(number)s visualizações"],"Best overall day":["Melhor dia em geral"],"Views today":["Visualizações hoje"],"Months":["Meses"],"Weeks":["Semanas"],"Days":["Dias"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Algo aconteceu durante o carregamento das estatísticas. Tente novamente mais tarde ou {{a}}visualize suas estatísticas agora no WordPress.com{{/a}}"],"Click to view detailed stats.":["Clique para ver as estatísticas detalhadas."],"Views: %(numberOfViews)s":["Visualizações: %(numberOfViews)s"],"Week of %(date)s":["Semana de %(date)s"],"Site Security":["Segurança do site"],"Link to WordPress.com":["Linkar para WordPress.com"],"Unlink me from WordPress.com":["Me desconectar do WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Ocorreu um problema ao conectar o Jetpack. Clique em \"Conectar-se ao WordPress.com\" novamente."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Houve um problema de conexão com o Jetpack, desative e reative o plugin Jetpack e então conecte novamente."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Você deve permanecer logado no seu blog WordPress enquanto autoriza o Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Seu Jetpack tem alguma falha.{{/s}} Pedimos desculpa pela inconveniência. Tente novamente mais tarde, se o problema persistir, entre em contato com o suporte com esta mensagem: %(error_key)s"],"Disconnecting Jetpack":["Desconectando o Jetpack"],"Learn more":["Saiba mais"],"Posts":["Posts"],"Front page":["Página inicial"],"Upload videos":["Enviar vídeos"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Mostrar conteúdo relacionado após posts"],"Related":["Relacionado"],"Disconnect":["Desconectar"],"Save":["Salvar"],"Media":["Mídia"],"Mobile Theme":["Tema para móvel"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX é uma linguagem poderosa de marcação para escrever equações matemáticas complexas e fórmulas."],"Site Stats":["Estatísticas do site"],"Sharing":["Compartilhar"],"Testimonials":["Depoimentos"],"Cancel":["Cancelar"],"Comments":["Comentários"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["O Jetpack não conseguiu contatar o WordPress.com: %(error_key)s. Isso em geral significa que algo está configurado incorretamente no host da Web."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["O WordPress.com está com problemas e está incapaz de acionar seu Jetpack. Tente novamente mais tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Seu Jetpack tem uma falha.{{/s}} Não é possível conectar este site ao WordPress.com. Isso em geral significa que seu site não está publicamente acessível (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Seu site precisa ser acessível ao público para usar o Jetpack: %(error_key)s"],"Edit":["Editar"],"Connected":["Conectado"],"Activate":["Ativar"],"Active":["Ativo"],"Settings":["Configurações"],"Learn More":["Saiba mais"],"Disconnect Jetpack":["Desconectar Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Observação:{{/b}} essa funcionalidade se tornará obsoleta e será removida do Jetpack em março. {{link}}Saiba mais{{/link}}"],"Settings header\u0004Jetpack Backup":["Backup do Jetpack"],"Settings header\u0004Anti-spam":["Antispam"],"Settings header\u0004WP.me Shortlinks":["Links abreviados WP.me"],"Settings header\u0004Auto-update plugins":["Atualizar automaticamente os plugins"],"Settings header\u0004Widgets":["Widgets"],"Settings header\u0004Downtime monitoring":["Monitoramento do período de inatividade"],"Settings header\u0004Privacy Settings":["Configurações de privacidade"],"Settings header\u0004WordPress.com toolbar":["Barra de ferramentas do WordPress.com"],"Settings header\u0004Composing":["Escrita"],"Settings header\u0004Site stats":["Estatísticas do site"],"Settings header\u0004Search engine optimization":["Otimização para mecanismo de busca"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Botões de compartilhamento"],"Settings header\u0004Publicize connections":["Conexões do Publicize"],"Settings header\u0004Like buttons":["Botões de curtida"],"Settings header\u0004Brute force attack protection":["Proteção contra ataques de força bruta"],"Settings header\u0004Backups and security scanning":["Backups e verificação de segurança"],"Notice in the empty statistics chart\u0004No activity this period":["Nenhuma atividade no período"],"Settings header, noun.\u0004WordPress.com login":["Acessar com WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Enviar link"],"A caption for a button to cancel an action.\u0004Cancel":["Cancelar"],"Link to learn more about Jetpack.\u0004About":["Sobre"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Módulos"],"Navigation item.\u0004Performance":["Desempenho"],"Navigation item.\u0004My Plan":["Meu plano"],"Navigation item.\u0004Dev Tools":["Ferramentas de desenvolvimento"],"Navigation item.\u0004Settings":["Configurações"],"Navigation item.\u0004Discussion":["Discussão"],"Navigation item.\u0004Traffic":["Tráfego"],"Navigation item.\u0004Sharing":["Compartilhamento"],"Navigation item.\u0004At A Glance":["Resumo"],"Navigation item.\u0004Plans":["Planos"],"Navigation item.\u0004Writing":["Escrita"],"Navigation item.\u0004Reset Options (dev only)":["Redefinir opções (somente as versões de desenvolvedor)"],"Navigation item.\u0004Security":["Segurança"],"Navigation item.\u0004At a Glance":["Resumo"],"Search term.\u0004terms of service":["termos de serviço"],"Search term.\u0004tos":["tds"],"Search term.\u0004gdpr":["rgpd"],"Search term.\u0004data":["dados"],"Search term.\u0004tracks":["rastros"],"Search term.\u0004privacy":["privacidade"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Atualizar"],"Button caption\u0004Saving…":["Salvando..."],"Button caption\u0004Save settings":["Salvar configurações"],"A heading for a block of related posts.\u0004Related":["Relacionados"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Visualizar"],"Short warning message\u0004Updates needed":["Atualizações necessárias"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Pago"],"A header for a preview area in the configuration screen.\u0004Preview":["Visualizar"],"Ads header\u0004Ads":["Anúncios"],"Dashboard widget header\u0004Site connection":["Conexão do site"],"Dashboard widget header\u0004Account connection":["Conexão da conta"],"A caption for a small button to fix security issues.\u0004Threats":["Ameaças"],"A caption for a small button to fix security issues.\u0004FIX":["Corrigir"],"Short warning message about new threats found.\u0004Threats found!":["Ameaças encontradas!"],"Short message informing user that the site is secure.\u0004Secure":["Protegido"],"Caption for a button to set up a feature.\u0004Set up":["Configurar"],"verb\u0004Copy":["Copiar"],"Shorthand for Privacy Policy.\u0004Privacy":["Privacidade"],"Shorthand for Terms of Service.\u0004Terms":["Termos"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Depurar"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Comentários de spam bloqueados."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-pt_PT-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-pt_PT-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index e43745a2..00000000
--- a/plugins/jetpack/languages/json/jetpack-pt_PT-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"pt"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":["Procurar por uma funcionalidade do Jetpack."],"Configure your Security Scans":[""],"Subscriber":["Subscritor"],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":["Copiado!"],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":["A fazer batota?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Saber Mais"],"Posts":["Artigos"],"Front page":["Página inicial"],"Pinterest":[""],"Google":[""],"Show related content after posts":["Mostrar conteúdo relacionado depois dos artigos"],"Related":["Relacionado"],"Disconnect":["Desligar"],"Save":["Guardar"],"Media":["Media"],"Site Stats":["Estatísticas do site"],"Sharing":["Partilha"],"Testimonials":["Testemunhos"],"Cancel":["Cancelar"],"Comments":["Comentários"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["O WordPress.com está de momento com problemas e é incapaz de dar combustível ao Jetpack. Por favor, tente novamente mais tarde."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Editar"],"Connected":[""],"Activate":["Activar"],"Active":["Activos"],"Settings":["Opções"],"Learn More":["Saber mais"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":["Copiar"],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ro_RO-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ro_RO-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index f16c3b0b..00000000
--- a/plugins/jetpack/languages/json/jetpack-ro_RO-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);","lang":"ro"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Planul tău %(planName)s include %(featureName)s. Se pare că ai cumpărat și %(productName)s. Ia în considerare înlăturarea %(productName)s."],"real-time backups":["copii de siguranță în timp real"],"daily backups":["copii de siguranță zilnice"],"Renews on %s.":["Reînnoiri pe %s."],"Purchased on %s.":["Cumpărat pe %s."],"Select a backup option:":["Selectează o opțiune pentru copiile de siguranță:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Actualizează la %(name)s pentru {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Economisești {{savings /}} dacă plătești anual"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Grăbește-te, acestea sunt {{s}}prețuri promoționale pentru o perioadă scurtă de timp!{{/s}}"],"Up to %(percent)d%% off!":["Reducere de până la %(percent)d%%!"],"per month":["pe lună"],"per year":["pe an"],"Which backup option is best for me?":["Care opțiune pentru copii de siguranță este cea mai bună pentru mine?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Administrează abonamentul"],"Your site is being backed up.":["Situl tău are acum copii de siguranță."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Pentru a termina configurarea copiilor de siguranță Jetpack, trebuie să introduci datele de conectare la server. "],"Jetpack Backup is being configured for your site.":["Copiile de siguranță Jetpack sunt configurate acum pentru situl tău."],"Daily Backups":["Copii de siguranță zilnice"],"Just looking for backups? We've got you covered.":["Cauți doar copii de siguranță? Ți le oferim."],"Solutions":["Soluții"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Incluse în {{planLink}}planul Professional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Incluse în {{planLink}}planul Premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Incluse în {{planLink}}planul Personal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Copiile de siguranță permanente garantează că nu-ți pierzi niciodată situl. Modificările sunt salvate pe măsură ce editezi și ai arhive nelimitate pentru copiile de siguranță."],"Always-on backups ensure you never lose your site.":["Copiile de siguranță permanente garantează că nu-ți pierzi niciodată situl."],"My Products":["Produsele mele"],"My Plan":["Planul meu"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Copii de siguranță Jetpack {{em}}în timp real{{/em}}"],"Your data is being securely backed up as you edit.":["Datele tale sunt în siguranță prin copii de siguranță pe măsură ce editezi."],"Jetpack Backup {{em}}Daily{{/em}}":["Copii de siguranță Jetpack {{em}}zilnic{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Datele tale sunt în siguranță prin copii de siguranță zilnice arhivate pentru ultimele 30 de zile."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack gratuit"],"Expired on %s.":["A expirat pe %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Ai o întrebare? Ne-ar plăcea să ajutăm! {{a}}Trimite întrebarea echipei de suport Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack are multe instrumente puternice care te pot ajuta să-ți atingi obiectivele"]," We’ve highlighted some of the features you rely on below.":["Am evidențiat mai jos câteva dintre funcționalitățile pe care te bazezi."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["În prezent, Jetpack propulsează mai multe funcționalități pe situl tău. După ce dezactivezi Jetpack, aceste funcționalități nu vor mai fi disponibile și este posibil ca situl tău să nu mai funcționeze la fel."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["În prezent, Jetpack propulsează mai multe funcționalități pe situl tău. După ce deconectezi Jetpack, aceste funcționalități nu vor mai fi disponibile și este posibil ca situl tău să nu mai funcționeze la fel."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Îți crește traficul prin {{a}}publicarea și partajarea{{/a}} automată pe rețelele sociale."],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Blochează {{a}}atacurile cu forță-brută{{/a}} și te notifică imediat dacă situl tău cade"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Îți accelerează situl și oferă imagini pregătite pentru dispozitivele mobile cu {{a}}CDN-ul nostru{{/a}}"],"Disable":["Dezactivează"],"Are you sure you want to disconnect and deactivate?":["Sigur vrei să deconectezi și să dezactivezi?"],"Are you sure you want to disconnect?":["Sigur vrei să deconectezi?"],"Disable Jetpack":["Dezactivează Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Îți facem copii de siguranță ale sitului tău web la fiecare modificare pe care o faci, astfel facilităm corectarea greșelilor."],"Automated Real-time Backups":["Copii de siguranță automate, în timp real"],"We back up your website every day, so you never have to worry about your data again.":["Îți facem copii de siguranță ale sitului tău web în fiecare zi, deci nu trebuie să-ți mai faci griji vreodată pentru datele tale."],"Automated Daily Backups":["Copii de siguranță automate, zilnic"],"View Your Backups":["Vezi copiile tale de siguranță"],"A Jetpack Site securely backed up with Jetpack Backup":["Un sit Jetpack este menținut în siguranță cu Copii de siguranță Jetpack"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Folosește sintaxa Markdown pentru a scrie conținut cu legături, liste și alte stiluri. Această setare activează Markdown în Editorul clasic, precum și în blocul Editor clasic."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Activează{{/a}} pentru a optimiza dimensiunile imaginilor și pentru a încărca imaginile din rețeaua de servere globală și rapidă de la Jetpack. Îți îmbunătățește performanța sitului pe desktop și pe dispozitivele mobile."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack îți optimizează dimensiunile imaginilor și viteza lor de descărcare folosind rețeaua noastră de servere globală și rapidă. Îți îmbunătățește performanța sitului pe desktop și pe dispozitivele mobile."],"Image Accelerator":["Accelerator de imagini"],"Start with free":["Începe cu planul gratuit"],"Now that you're set up, pick a plan that fits your needs.":["Acum, după inițializare, alege un plan care se potrivește cu cerințele tale."],"Jetpack Backup":["Copii de siguranță Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Planul tău Jetpack oferă protecție anti-spam prin Akismet. Dă clic pe „Inițializează” pentru a o activa pe situl tău."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Ai deja o cheie? {{a}}Activează Akismet{{/a}}"],"Verifying…":["Verific…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Îți îmbunătățești poziția în clasificările motoarelor de căutare cu instrumentele SEO puternice din Jetpack Premium sau Jetpack Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Oferă sitului tău un aspect elegant și simplificat, cu o încărcare rapidă, pentru dispozitivele mobile. Vizitatorii vor vedea în continuare tema ta actuală pe alte dimensiuni de ecran."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Creează o experiență mai plăcută și neîntreruptă la citire încărcând mai mult conținut, pe măsură ce vizitatorii derulează în jos paginile tale de arhivă."],"Customize your SEO settings":["Personalizează-ți setările SEO"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Ai control asupra modului în care motoarele de căutare îți prezintă situl. Cu instrumentele SEO de la Jetpack, poți previzualiza cum va arăta conținutul tău pe motoarele de căutare populare și modifica în câteva secunde mai multe elemente, cum ar fi numele și sloganul sitului."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Adaugă butoane de partajare, astfel vizitatorii pot să-ți partajeze articolele și paginile pe media socială cu câteva clicuri rapide."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Include o diagramă mică în bara de administrare cu un instantaneu al traficului din ultimele 48 de ore"],"Expand to update settings for how visits are counted and manage who can view this information.":["Extinde pentru a actualiza setările despre cum sunt înregistrate vizitele și pentru a administra cine poate vedea aceste informații."],"You can customize the sharing buttons and choose which services to display.":["Poți să personalizezi butoanele de partajare și să alegi ce servicii să afișezi."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Situl tău este protejat de Jetpack. Vei primi notificări dacă ceva are nevoie de atenție."],"Find threats early so we can help fix them fast.":["Găsește amenințările neîntârziat, deci putem să te ajutăm să le securizezi rapid."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Înlocuiește căutarea de bază pe situl tău cu o căutare personalizabilă care îi ajută pe vizitatori să găsească răspunsurile mult mai repede."],"Never worry about losing your site – automatic backups keep your content safe.":["Nu îți mai faci griji cu privire la pierderea sitului - copiile de siguranță automate îți păstrează conținutul în siguranță."],"Protect":["Protecție"],"Scan":["Scanare"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Șterge automat spamul din comentariile și formularele tale pentru a putea să-ți desfășori activitățile normal."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Îți conectezi situl la Google Analytics în câteva secunde cu Jetpack Premium sau Jetpack Professional."],"Log in to the WordPress mobile app":["Autentifică-te în aplicația WordPress pentru mobil"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Te autentifici cu ușurință în aplicația WordPress pentru mobil dând clic pe legătura pe care o vom trimite la adresa de email a contului tău."],"Email me a link to log in to the app":["Trimite-mi o legătură prin email pentru autentificare în aplicație"],"Send your new posts to this email address:":["Trimite articolele noi la această adresă de email:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Publicarea via email este o modalitate rapidă de a publica articole noi fără a intra direct pe sit. Îți vom genera o adresă de email unică pentru a trimite conținutul, apoi el va apărea pe sit la fel ca oricare alt articol."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["Bara de unelte WordPress.com înlocuiește bara de unelte WordPress implicită pentru administrare. Ea oferă acces cu un singur clic la notificări, la profilul tău WordPress.com și la celelalte situri web Jetpack și WordPress.com. De asemenea, poți vedea siturile pe care le urmărești în Cititor."],"Verify site ownership with third party services":["Confirmă proprietatea asupra sitului cu serviciile unor părți terțe"],"Generate shortened URLs for simpler sharing.":["Generează URL-uri mai scurte pentru o partajare mai simplă."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Îți angrenezi vizitatorii cu un conținut similar publicat sub fiecare articol. Aceste setări nu se vor aplica pentru {{a}}articolele similare adăugate prin folosirea editorului de blocuri{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Această funcționalitate îți ajută vizitatorii să găsească mai mult conținut prin afișarea articolelor similare sub fiecare articol."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack generează automat un {{link1}}ads.txt{{/link1}} personalizat, adecvat pentru situl tău. Dacă trebuie să adaugi intrări suplimentare pentru alte rețele, adaugă-le în spațiul de mai jos, câte una pe linie."],"Add sharing buttons to your posts and pages":["Adaugă butoane de partajare în articolele și paginile tale."],"Share your content to social media, reaching new audiences and increasing engagement.":["Îți partajează conținutul pe media socială, atrăgând vizitatori noi și intensificând angrenarea publicului."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Primești alerte dacă situl tău este offline. Te vom anunța și când este din nou online."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Cu Jetpack poți alege să-ți actualizezi automat modulele când sunt lansate versiuni noi ale lor. Vei beneficia imediat de cele mai recente soluții de securitate și corecții de erori, astfel te asiguri că situl tău este mereu în siguranță."],"Choose which plugins to auto-update":["Alege modulele care să fie actualizate automat"],"Upgrade Jetpack now":["Actualizează Jetpack acum"],"Monetize your site by running high quality ads.":["Câștigi bani din situl tău difuzând reclame de înaltă calitate."],"Customize your social posting schedule.":["Îți personalizezi programul de publicare pe media socială."],"Expand your audience with pro SEO tools.":["Îți mărești audiența cu instrumente SEO profesionale."],"Take your site to the next level!":["Du-ți situl la nivelul următor!"],"Search support docs":["Caută în documentația pentru suport"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Ai nevoie de ajutor? Află cum să începi și să-ți personalizezi situl, folosind fragmente de cod avansate și multe altele."],"Start sharing":["Începe partajarea"],"Optimized performance":["Performanță optimizată"],"Enable the “subscribe to comments” option on your comment form":["Activează opțiunea „abonare la comentarii” în formularul tău de comentarii"],"Enable the “subscribe to site” option on your comment form":["Activează opțiunea „abonare la sit” în formularul tău de comentarii"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Administrează setările avansate pentru comentarii și îți crești audiența cu abonamente prin email."],"Comment form introduction":["Prezentare formular de comentarii"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Anti-spam Jetpack propulsat de Akismet. Comentariile și trimiterile formularului de contact sunt verificate cu ajutorul bazei noastre de date anti-spam la nivel global."],"Failed to send login email":["Trimiterea emailului de autentificare a eșuat"],"Login email sent":["Emailul de autentificare a fost trimis"],"Sending login email…":["Trimit emailul de autentificare..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Îți faci griji despre securitate? Ai copii de siguranță, corecții automate pentru securitate și multe altele: {{a}}Actualizează acum{{/a}}"],"Allow readers to like individual comments.":["Permite cititorilor să aprecieze comentariile altor persoane."],"Enable comment likes.":["Activează aprecierile la comentarii."],"Allow readers to use markdown in comments.":["Permite cititorilor să folosească markdown în comentarii."],"Show Gravatar hovercards alongside comments.":["Arată cărțile de vizită Gravatar pentru autorii comentariilor."],"Complete Jetpack Setup":["Finalizează inițializarea Jetpack"],"Your Jetpack setup progress":["Progresul de inițializare Jetpack"],"View your setup checklist":["Vezi lista de verificări pentru inițializare"],"Yearly":["Anual"],"Monthly":["Lunar"],"About Jetpack":["Despre Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Activează comenzile referitoare la vizibilitate piesă pentru a afișa piesele numai în anumite articole sau pagini"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Vizibilitate piesă îți permite să decizi care piese să apară pe paginile tale, astfel poți ajusta cu finețe conținutul pieselor."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Face ca piesele suplimentare să fie disponibile pentru utilizare pe situl tău, inclusiv formulare de abonare și fluxuri Twitter"],"Enhance CSS customization panel":["Îmbunătățește panoul de personalizare CSS"],"Writing":["Scriere"],"Compose using shortcodes to embed media from popular sites":["Redactezi folosind scurtcoduri pentru a îngloba elemente media de pe situri populare"],"Traffic":["Trafic"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Trebuie să introduci datele de conectare la server pentru a finaliza configurarea copiilor de siguranță și scanărilor."],"Awaiting credentials":["Aștept datele de conectare"],"Backups and Scan are being configured for your site.":["Copiile de siguranță și scanările sunt configurate pentru situl tău."],"Provisioning":["Furnizare"],"Action needed":["Acțiunea este necesară"],"Setting up":["Configurare"],"Discussion":["Discuții"],"We are configuring your site protection.":["Configurăm protecția sitului."],"View your site's backups":["Vezi copiile de siguranță ale sitului tău"],"We are backing up your site in real-time.":["Îți facem copii de siguranță ale sitului în timp real."],"Enter credentials":["Introdu datele de conectare"],"You need to enter your server's credentials to finish the setup.":["Trebuie să introduci datele de conectare la server pentru a finaliza inițializarea."],"We are configuring your site's backups.":["Îți configurăm copiile de siguranță ale sitului."],"View site activity":["Vezi activități sit"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack păstrează o evidență completă a tot ce se întâmplă pe situl tău, eliminând supozițiile legate de managementul sitului, depanare și reparare."],"Explore our Jetpack plans":["Examinează planurile noastre Jetpack"],"Support documentation":["Documentație pentru suport"],"Chat bubbles representing getting in touch with support":["Baloane de discuții reprezentând contactarea suportului"],"Site activity":["Activitate sit"],"Reach a wider audience by automatically sharing your posts on social media.":["Ai o audiență mai mare prin partajarea automată a articolelor pe media socială."],"Increase traffic to your site":["Îți crești traficul pe sit"],"Explore free themes":["Explorează temele gratuite"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Ai acces nelimitat la sute de teme profesionale și îți personalizezi situl exact așa cum vrei."],"A wide variety of themes and tools to customize a site":["O mare varietate de teme și instrumente pentru a personaliza un sit"],"Set up your site security":["Inițializează securitatea sitului"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Împiedică atacurile de autentificare și primești imediat notificări când există o problemă cu situl tău."],"Site stats showing an evolution in traffic and engagement":["Statistici sit care arată o evoluție a traficului și angrenarea vizitatorilor"],"A hand holding a loupe":["O mână care ține o lupă"],"A chart showing an healthy increase in earnings":["Un grafic care arată o creștere sănătoasă a veniturilor"],"Interface showing a chronological list of changes and updates in a site":["Interfață care arată o listă cronologică a modificărilor și actualizărilor într-un sit"],"A cloud with multiple types of content floating around it":["Un nor cu mai multe tipuri de conținut care plutesc în jur"],"A folder holding real comments":["Un dosar care conține comentarii reale"],"Make your site faster":["Fă-ți situl mai rapid"],"Load pages faster by serving your images from our global network of servers.":["Încarcă paginile mai repede prin servirea imaginilor din rețeaua noastră globală de servere."],"A fast and performant website":["Un sit web rapid și performant"],"A secure site, locked and protected by Jetpack":["Un sit securizat, în siguranță și protejat de Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Face un duplicat al articolelor, paginilor, testimonialelor și portofoliilor existente. Tot conținutul va fi copiat, inclusiv textele, imaginile recomandate, setările de partajare și celelalte."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Acest sit nu poate fi conectat la WordPress.com deoarece încalcă {{a}}Termenii de utilizare ai serviciului{{/a}} nostru."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Conectează-ți situl web la rețelele din media socială pe care le folosești și îți partajezi conținutul în toate conturile sociale cu un singur clic. Când publici un articol, el va apărea pe toate conturile conectate."],"Add Like buttons to your posts and pages":["Adaugă butoane de apreciere în articolele și paginile tale"],"When visitors enjoy your content, let them show it with a Like.":["Când vizitatorii îți savurează conținutul, permite-le să se manifeste cu o Apreciere."],"Create account":["Creează un cont"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack îți propulsează situl, dar pentru a accesa toate funcționalitățile sale va trebui să-ți creezi un cont."],"Compose content the way you want to and streamline your publishing experience.":["Îți scrii conținutul așa cum vrei și simplifici experiența de publicare."],"Add a portfolio item":["Adaugă un portofoliu"],"Add a testimonial":["Adaugă un testimonial"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Poți maximiza vizibilitatea sitului în motoarele de căutare și să vizualizezi statisticile de trafic în timp real."],"Create a Jetpack account to use this feature":["Creează un cont Jetpack pentru a utiliza această funcționalitate"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack îți va monitoriza continuu situl și te avertizează când este detectată o perioadă de nefuncționare."],"Error enabling Site accelerator. %(error)s":["Eroare la activarea acceleratorului de situri. %(error)s"],"Site accelerator is now speeding up your site!":["Acum acceleratorul de situri îți accelerează situl!"],"Enabling Site accelerator…":["Activez acceleratorului de situri..."],"Error disabling site accelerator. %(error)s":["Eroare la dezactivarea acceleratorului de situri. %(error)s"],"Site accelerator is no longer speeding up your site!":["Acceleratorul de situri nu îți mai accelerează situl!"],"Disabling site accelerator…":["Dezactivez acceleratorului de situri..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Încarcă paginile mai repede, optimizează imaginile și accelerează experiența vizitatorilor."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Completează statisticile WordPress.com cu vizualizarea aprofundată a lui Google asupra vizitatorilor și șabloanelor de trafic."],"High-speed, high-definition video hosting with no third-party ads.":["Găzduire video de mare viteză, de înaltă definiție, fără reclame de la terți."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Programezi nelimitat, în avans, twituri, articole pe Facebook și pe alte rețele sociale."],"Marketing Automation":["Automatizare marketing"],"Activate Jetpack Search":["Activează căutarea Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Înlocuiește căutarea implicită WordPress cu o căutare propulsată de Elasticsearch, cu rezultate mai bune și o filtrare superioară."],"Start earning":["Începe să câștigi"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds îți permite să câștigi bani prin afișare de conținut promoțional. Începe să câștigi de azi."],"Spam is automatically blocked from your comments.":["Spamul este blocat automat în comentariile tale."],"Browse premium themes":["Răsfoiește teme premium"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Ai acces la sute de teme premium, proiectate frumos, fără niciun cost suplimentar."],"Try a premium theme":["Încearcă o temă premium"],"View settings":["Vezi setările"],"Create a Jetpack account to view your email followers":["Creează un cont Jetpack pentru a-ți vedea urmăritorii prin email"],"Manage security settings":["Administrează setările de securitate"],"Jetpack is ready for the new WordPress editor":["Jetpack este pregătit pentru noul editor WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Astăzi, prezentăm primul val de blocuri de la Jetpack construite special pentru noua experiență de editare: buton Plăți simple, Formular, Hartă și Markdown."],"Build your Jetpack site with blocks":["Construiește-ți situl Jetpack cu blocuri"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Un editor nou? Da! {{a}}Află mai mult{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Funcționalitățile pe care te bazezi, adaptate pentru noul editor WordPress."],"Take me to the new editor":["Du-mă la noul editor"],"Testing Jetpack Connection":["Testez conexiunea Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["A fost o eroare la testarea Jetpack. Eroare: %(error)s"],"New in Jetpack!":["Noutăți la Jetpack!"],"Speed up static file load times":["Accelerează timpii de încărcare a fișierelor statice"],"Speed up image load times":["Accelerează timpii de încărcare a imaginilor"],"Enable site accelerator":["Activează acceleratorul de situri"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Paginile se încarcă mai repede dacă îi permiți lui Jetpack să-ți optimizeze imaginile și să servească imaginile și fișierele statice (cum ar fi CSS și JavaScript) din rețeaua noastră globală de servere."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Adaugă un nivel suplimentar de securitate pe situl tău web prin activarea autentificării WordPress.com și a autentificării securizate. Dacă ai mai multe situri cu această opțiune activată, vei putea să te autentifici pe fiecare cu aceleași date de conectare."],"View your site activity":["Vezi activitățile de pe situl tău"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Vezi o listă cronologică a tuturor modificărilor și actualizărilor făcute pe situl tău într-un mod organizat, lizibil."],"Manually Verify ":["Confirmare manuală"],"Verify with Google":["Confirmare cu Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google îți va trimite emailuri dacă apar anumite evenimente pe situl tău, inclusiv pentru indicii că situl web a fost {{a1}}atacat{{/a1}} sau probleme la {{a2}}accesarea cu crawlere sau indexarea{{/a2}} sitului."],"or":["sau"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Monitorizează traficul și performanța sitului tău din {{a}}Consola de căutare Google{{/a}}."],"Your site is verified with Google":["Situl tău este confirmat cu Google"],"Site failed to verify: %(error)s":["Situl a eșuat la confirmare: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Adaugă o căutare pe sit mai rapidă, mult mai avansată, cu Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Înlocuiește căutarea nativă din WordPress cu Căutarea Jetpack, o experiență de căutare avansată"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Căutarea Jetpack înlocuiește căutarea nativă cu o căutare mai rapidă, extensibilă, personalizabilă și extrem de relevantă, găzduită în WordPress.com cloud. Rezultatul: utilizatorii tăi găsesc mai repede conținutul dorit."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["Căutarea nativă din WordPress este bună pentru siturile care nu au mult conținut. Pe măsură ce siturile se dezvoltă, căutările devin lente și afișează rezultate mai puțin relevante."],"Jetpack Search supports many customizations.":["Căutarea Jetpack are multe personalizări."],"Site is verified":["Situl este verificat"],"Spam filtering and priority support.":["Filtrare spam și suport prioritar."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Când reclamele sunt activate, Jetpack generează automat un ads.txt personalizat adaptat pentru situl tău."],"Custom ads.txt entries":["Intrări ads.txt personalizate"],"Privacy information":["Informații despre confidențialitate"],"Enable Lazy Loading for images":["Activează încărcarea lentă pentru imagini"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Imaginile încărcate lent îmbunătățesc viteza sitului și creează o experiență de vizionare mai fluentă. Imaginile vor fi încărcate pe măsură ce vizitatorii derulează în jos pe ecran, în loc să fie încărcate toate odată."],"Performance & speed":["Performanță și viteză"],"Enable high-speed, ad-free video player":["Activează playerul video de mare viteză, fără reclame"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Îți face conținutul pe care îl publici mai atractiv cu videouri de înaltă rezoluție. Cu Video Jetpack poți să-ți personalizezi playerul media și să oferi vizitatorilor videouri de mare viteză, fără reclame și mărci comerciale. Videourile sunt găzduite pe serverele noastre WordPress.com și nu reduc spațiul din planul de găzduire!"],"Video":["Video"],"Carousel color scheme":["Schemă de culori carusel"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Datele Exif arată vizitatorilor detaliile tehnice suplimentare ale unei fotografii, cum ar fi distanța focală, unghiulația și ISO."],"Show photo Exif metadata in carousel (when available)":["Arată metadatele Exif ale fotografiilor în carusel (când sunt disponibile)"],"Display images in a full-screen carousel gallery":["Afișează imagini în galerii de carusele pe ecran complet"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Creează prezentări în carusele pe ecran complet pentru imaginile din articolele și paginile tale. Galeriile de carusele sunt prietenoase pentru mobil și încurajează vizitatorii sitului să interacționeze cu fotografiile tale."],"Portfolios shortcode: [portfolio]":["Scurtcod portofolii: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Folosește {{portfolioLink}}portofolii{{/portfolioLink}} pe situl tău pentru a prezenta ceea ce ai realizat. Dacă tema ta nu suportă portofoliile Jetpack, poți folosi un scurtcod simplu pentru a le afișa pe sit."],"Testimonials shortcode: [testimonials]":["Scurtcod testimoniale: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Adaugă {{testimonialLink}}testimoniale{{/testimonialLink}} pe situl tău web pentru a atrage clienți noi. Dacă tema ta nu suportă testimonialele Jetpack, poți folosi un scurtcod simplu pentru a le afișa pe sit."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["În acest moment motoarele de căutare nu-ți pot accesa situl. Dacă vrei să-ți faci situl accesibil, du-te la {{a}}setări Afișare{{/a}} și activează „Vizibilitate pentru motoare de căutare”."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Vești bune: Jetpack trimite automat harta sit la toate motoarele de căutare importante pentru indexare."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Hărțile sit sunt fișiere pe care motoarele de căutare, precum Google sau Bing, le folosesc pentru a-ți indexa situl. Ele pot ajuta să-ți îmbunătățești clasarea în rezultatele de căutare. Când activezi această funcționalitate, Jetpack va crea hărți sit pentru tine și le va actualiza automat când se modifică conținutul sitului tău."],"Configure related posts in the Customizer":["Configurează articolele similare în Personalizator"],"Highlight related content with a heading":["Evidențiază conținutul similar cu un subtitlu"],"View security scan details":["Vezi detalii scanare de securitate"],"Test your site’s compatibility with Jetpack.":["Testează compatibilitatea sitului tău cu Jetpack."],"Show a thumbnail image where available":["Arată o imagine miniatură, unde este disponibilă"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Pentru mai multe informații despre cum funcționalitățile Jetpack folosesc datele și urmăresc activitatea, te rog consultă {{privacyCenterLink}}Centru nostru pentru confidențialitate{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Folosim și alte instrumente de urmărire, inclusiv unele de la terți. {{cookiePolicyLink}}Citește despre ele{{/cookiePolicyLink}} și despre cum le controlăm."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Aceste informații ne ajută să ne îmbunătățim produsele, să facem un marketing mai relevant pentru tine, să-ți personalizăm experiența WordPress.com și altele, așa cum am detaliat în {{pp}}politica noastră de confidențialitate{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Partajează informații cu instrumentul nostru de analitice despre utilizarea serviciilor în timp ce ești autentificat în contul tău WordPress.com. {{cookiePolicyLink}}Află mai mult{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Această funcționalitate este administrată de un administrator al sitului. {{link}}Află mai mult{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Această funcționalitate a fost dezactivată de un administrator al sitului. {{link}}Află mai mult{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Această funcționalitate a fost activată de un administrator al sitului. {{link}}Află mai mult{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s a fost dezactivată de un administrator al sitului. {{link}}Află mai mult{{/link}}."],"This feature has been disabled by a site administrator.":["Această funcționalitate a fost dezactivată de un administrator al sitului."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s a fost dezactivată de un administrator al sitului."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Poți plasa reclame suplimentare folosind piesa Reclame. {{link}}Încearcă!{{/link}}"],"Configure your notification settings":["Configurează-ți setările pentru notificări"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Căutarea Jetpack este un înlocuitor puternic pentru capabilitatea nativă de căutare din WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Fișierele sitului tău sunt scanate regulat pentru modificări neautorizate sau suspecte care ți-ar putea compromite securitatea și datele."],"Plugin needs updating.":["Modulul necesită actualizare.","Modulele necesită actualizare.","Modulele necesită actualizare."],"%(number)s":["%(number)s","%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Actualizări module de la Jetpack îți permite să alegi care module se actualizează automat."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack îți va optimiza imaginile și le va servi de la serverul care este cel mai aproape de vizitatorii tăi. Folosirea rețelei noastre globale de livrare a conținutului îți va crește viteza de încărcare a sitului."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Monitorul Jetpack pentru perioadele de nefuncționare îți va monitoriza continuu situl și te avertizează în momentul când este detectată o perioadă de nefuncționare."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Copiile de siguranță Jetpack îți permit să restaurezi sau să descarci cu ușurință o copie de siguranță făcută la un anumit moment."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Activează o temă ușoară, prietenoasă pentru mobil, care va fi afișată vizitatorilor pe dispozitive mobile."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Încarcă automat articolele următoare când cititorul se apropie de partea de jos a paginii."],"Allows you to publish new posts by sending an email to a special address.":["Permite să publici articole noi prin trimiterea unui email la o adresă specială."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Adaugă o bară de unelte cu legături la toate siturile tale, la notificări, la profilul tău WordPress.com și la Cititor."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Oferă tagurile ascunse necesare pentru a-ți verifica situl WordPress cu diverse servicii."],"Displays information on your site activity, including visitors and popular posts or pages.":["Afișează informații despre activitatea sitului tău, inclusiv numărul de vizitatori și articolele sau paginile populare."],"Allows you to optimize your site and its content for better results in search engines.":["Permite să-ți optimizezi situl și conținutul lui pentru rezultate mai bune în motoarele de căutare."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrează situl tău WordPress cu Google Analytics, o platformă care oferă perspective despre trafic, vizitatori și conversii."],"Displays high-quality ads on your site that allow you to earn income.":["Afișează reclame de înaltă calitate pe situl tău care îți permit să câștigi bani."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Permite să-ți partajezi automat cel mai nou conținut pe siturile de media socială, inclusiv pe Facebook și Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Adaugă butoane de apreciere la conținutul tău, astfel vizitatorii pot să-și arate aprecierea sau bucuria."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Permite utilizatorilor înregistrați să se autentifice pe situl tău cu conturile lor WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Îți protejează situl împotriva atacurilor de autentificare cu forță-brută, atât de obișnuite și de răspândite."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Îți face copii de siguranță ale sitului pe serverele WordPress.com globale, permițând să-ți restaurezi conținutul în caz de urgență sau în urma unei erori."],"Removes spam from comments and contact forms.":["Înlătură spamul din comentarii și formularele de contact."],"We are committed to your privacy and security. ":["Contribuim la confidențialitatea și securitatea ta."],"View all Jetpack plans":["Vezi toate planurile Jetpack"],"Manage your plan":["Administrează-ți planul"],"Your Plan":["Planul tău"],"You’re currently on Jetpack %(plan)s.":["Acum folosești %(plan)s Jetpack."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Permite cititorilor să se aboneze la articolele sau comentariile tale și să primească notificări prin email când apare conținut nou."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Înlocuiește formularul WordPress standard de comentarii cu un nou sistem de comentarii care include opțiuni de autentificare în media socială."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Activează{{/a}} pentru a înlocui căutarea nativă din WordPress cu Căutarea Jetpack, o experiență de căutare avansată."],"Add Search (Jetpack) Widget":["Adaugă piesa Căutare (Jetpack)"],"Jetpack Search is powering search on your site.":["Căutare Jetpack propulsează căutarea pe situl tău."],"Manage your plugins":["Administrează-ți modulele"],"Moderate comments":["Moderează comentariile"],"Error updating privacy settings. %(error)s":["Eroare la actualizarea setărilor de confidențialitate. %(error)s"],"Updated privacy settings.":["Setări de confidențialitate actualizate."],"Updating privacy settings…":["Actualizez setările de confidențialitate..."],"Add Jetpack Search Widget":["Adaugă piesa Căutare Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Adaugă piesa Căutare Jetpack în bara ta laterală pentru a configura sortarea și filtrele."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suită completă de securitate, instrumente de automatizare pentru marketing și venituri, găzduire video nelimitată, teme nelimitate, căutare îmbunătățită și suport prioritar."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suită completă de securitate, instrumente de automatizare pentru marketing și venituri, găzduire video nelimitată și suport prioritar."],"Daily backups, spam filtering, and priority support.":["Copii de siguranță zilnice, filtrare spam și suport prioritar."],"Always-on security":["Întotdeauna în siguranță"],"Activate video hosting":["Activează găzduire video"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copii de siguranță în timp real pentru toate datele sitului tău cu spațiu de stocare nelimitat, restaurări printr-un singur clic, scanare de securitate automată și suport prioritar."],"Design the perfect website":["Proiectează situl web perfect"],"Set up Jetpack":["Inițializează Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Copii de siguranță în timp real a tuturor datelor sitului cu spațiu nelimitat, restaurări printr-un singur clic și scanare de securitate automată."],"Jetpack Search":["Căutare Jetpack"],"Jetpack version %(version)s":["Jetpack versiunea %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Se fac copii de siguranță ale sitului tău în timp real și este scanat periodic pentru amenințări de securitate."],"Daily backup of all your site data with unlimited space and one-click restores":["Copii de siguranță zilnice ale tuturor datelor sitului tău cu spațiu de stocare nelimitat și restaurări printr-un singur clic"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Copii de siguranță zilnice ale tuturor datelor sitului cu spațiu de stocare nelimitat, restaurări printr-un singur clic, scanare automată de securitate și suport prioritar"],"View your security activity":["Vezi activitatea de securitate"]," (powered by VaultPress).":[" (propulsate de VaultPress)."],"Customize Search Widget":["Personalizează piesa Căutare"],"Please correct the issue below and try again.":["Te rog corectează problema de mai jos și încearcă din nou.","Te rog corectează problemele enumerate de mai jos și încearcă din nou.","Te rog corectează problemele enumerate de mai jos și încearcă din nou."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Ne asigurăm că situl tău nu are nicio amenințare de securitate. Vei fi notificat dacă găsim vreuna."],"Jetpack version":["Versiune Jetpack"],"Activity":["Activitate"],"{{a}}View details{{/a}}":["{{a}}Vezi detalii{{/a}}"],"Monetize your site with ads":["Generezi bani cu situl tău prin reclame"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Dând clic pe butonul de mai jos, ești de acord cu {{a}}termenii noștri de utilizare ai serviciului{{/a}} și să {{shareDetailsLink}}partajezi detalii{{/shareDetailsLink}} cu WordPress.com."],"Jetpack Stats People":["Statistici Jetpack despre persoane"],"Hello there! Your stats have been activated.":["Bună! Statisticile tale au fost activate."],"Just give us a little time to collect data so we can display it for you here.":["Doar acordă-ne ceva timp pentru a colecta date pentru a putea să le afișăm aici."],"Okay, got it!":["OK, am înțeles!"],"Display ads below posts on":["Afișează reclame sub articole"],"Additional ad placements":["Locuri suplimentare de plasare a anunțurilor"],"Top of each page":["În partea de sus a fiecărei pagini"],"Second ad below post":["Al doilea anunț sub articole"],"Archives":["Arhive"],"Stars":["Stele"],"Jupiter":["Jupiter"],"Schedule posts":["Programează articole"],"Activate Publicize":["Activează Publicitate"],"Your site is backed up.":["Situl tău are copie de siguranță."],"Get WordPress Apps for every device":["Ai aplicații WordPress pentru fiecare dispozitiv"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Administrează-ți toate siturile dintr-un singur panou de control: publici conținut, urmărești statistici, moderezi comentarii și multe altele de oriunde în lume."],"Create address":["Creează adresă"],"Automatically share your posts to social networks":["Partajează automat articolele tale pe rețele sociale"],"Updating settings…":["Actualizez setările..."],"Updating Post by Email address…":["Actualizez adresa Publicare via email..."],"Your paid plan gives you access to prioritized Jetpack support.":["Planul tău plătit îți oferă acces la suportul prioritar Jetpack."],"You have paid for backups but they're not yet active.":["Ai plătit pentru copii de siguranță dar ele nu sunt încă active."],"You have paid for backups and security scanning but they’re not yet active.":["Ai plătit pentru copii de siguranță și scanare de securitate dar ele nu sunt încă active."],"Click \"Set Up\" to finish installation.":["Dă clic pe „Inițializează” pentru a termina instalarea."],"Checking site status…":["Verific starea sitului..."],"Pages":["Pagini"],"Access the full list of Jetpack modules available on your site.":["Accesează lista completă a extensiilor Jetpack disponibile pe situl tău."],"We're here to help":["Suntem aici pentru a ajuta"],"Jetpack comes with free, basic support for all users.":["Jetpack vine cu suport gratuit, de bază, pentru toți utilizatorii."],"Ask a question":["Pune o întrebare"],"Search our support site":["Caută pe situl nostru pentru suport"],"Get a faster resolution to your support questions.":["Obții o rezolvare mai rapidă la întrebările de suport."],"Host fast, high-quality, ad-free video.":["Găzduiești videouri rapid, de înaltă calitate, fără anunțuri."],"Generate income with high-quality ads.":["Câștigi bani cu reclame de înaltă calitate."],"Real-time site backups and automatic threat resolution.":["Copii de siguranță sit în timp real și rezolvarea automată a amenințărilor."],"Protect against data loss, malware, and malicious attacks.":["Protejează împotriva pierderii de date, malware și atacurilor rău intenționate."],"Protect your site from spam.":["Îți protejează situl de spam."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Acest sit nu este conectat la WordPress.com. Te rog cere-i administratorului sitului să-l conecteze."],"An Automattic Airline":["O linie aeriană Automattic"],"Manage site connection":["Administrează conexiune sit"],"Connect your account to WordPress.com to view more stats":["Conectează-ți contul la WordPress.com pentru a vizualiza mai multe statistici"],"Theme enhancements":["Îmbunătățiri temă"],"Load more posts using the default theme behavior":["Încarcă mai multe articole folosind comportamentul implicit al temei"],"Load more posts in page with a button":["Încarcă mai multe articole în pagină cu un buton"],"Load more posts as the reader scrolls down":["Încarcă mai multe articole pe măsură ce cititorul derulează în jos"],"Theme support required.":["Suportul temei este esențial."],"Learn more about adding support for Infinite Scroll to your theme.":["Află mai mult despre adăugarea suportului pentru Derulare infinită în teme ta."],"Show excerpts instead of full posts on front page and archive pages":["Folosește rezumate în loc de articole complete în pagina din față și în paginile arhivă"],"Show featured images":["Arată imagini reprezentative"],"Enable the WordPress.com toolbar":["Activează bara de instrumente WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Instrumentele de scris disponibile vor fi arătate aici când un administrator le activează."],"Portfolios":["Portofolii"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Reține că {{b}}verificarea sitului cu aceste servicii nu este necesară{{/b}} pentru ca situl tău să fie indexat de motoarele de căutare. Pentru a folosi aceste instrumente avansate pentru motoarele de căutare și a-ți confirma situl cu un serviciu, plasează codul tagului HTML mai jos. Dacă ai probleme, citește {{support}}instrucțiunile complete{{/support}}. Servicii de verificare acceptate: {{google}}Consolă de căutare Google{{/google}}, {{bing}}Centru webmasteri Bing{{/bing}}, {{pinterest}}Verificare sit Pinterest{{/pinterest}} și {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generează hărți sit XML"],"The image helps collect stats, but should work when hidden.":["Imaginea ajută la colectarea statisticilor, dar ar trebui să funcționeze când este ascunsă."],"Count logged in page views from":["Număr vizualizări pagină de autentificare de la"],"Allow stats reports to be viewed by":["Permite ca rapoartele statistici să fie vizualizate de"],"In \"Upgrade\"":["În „Actualizare”"],"Configure your Google Analytics settings":["Configurează-ți setările Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Arată reclame în primul articol din prima ta pagină sau la sfârșitul fiecărei pagini și fiecărui articol. Plasează reclame suplimentare în partea de sus a sitului și în orice zonă asamblabilă pentru a-ți crește câștigurile."],"Enable ads and display an ad below each post":["Activează reclamele și afișează o reclamă sub fiecare articol"],"Configure your sharing buttons":["Configurează-ți butoanele de partajare"],"Connect your social media accounts":["Conectează-ți conturile media socială"],"Match accounts using email addresses":["Leagă conturile folosind adrese de email"],"Require accounts to use WordPress.com Two-Step Authentication":["Necesită conturi pentru a folosi autentificarea în-doi-pași WordPress.com"],"Add to whitelist":["Adaugă în lista albă"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Poți trece în lista albă o adresă IP sau o serie de adrese împiedicându-le de a fi blocate vreodată de către Jetpack. IPv4 și IPv6 sunt acceptate. Pentru a specifica un interval, introdu valoarea mică și valoarea mare separate printr-o liniuță. Exemplu: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Situl tău are copie de siguranță și nu-i amenințat."],"Checking your spam protection…":["Îți verific protecția spam..."],"Fetching key…":["Aduc cheia..."],"Your site needs an Antispam key.":["Situl tău are nevoie de o cheie anti-spam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Există o problemă cu cheia ta anti-spam. {{a}}Află mai mult{{/a}}."],"Your site is not protected from spam.":["Situl tău nu este protejat împotriva spamului."],"Your Antispam key is valid.":["Cheia ta anti-spam este validă."],"Your site is protected from spam.":["Situl tău este protejat împotriva spamului."],"Checking key…":["Verific cheia..."],"Your API key":["Cheia ta API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Dacă nu ai deja o cheie API, atunci {{a}}obține-ți cheia API aici{{/a}} și vei fi ghidat prin procesul de a obține una."],"No search results found for %(term)s":["Niciun rezultat de căutare găsit pentru %(term)s"],"Enter a search term to find settings or close search.":["Introdu un termen de căutare pentru a găsi setările sau închide căutarea."],"Connections":["Conexiuni"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Situl tău este în Modul dezvoltare, deci nu poate fi conectat la WordPress.com."],"Your site is connected to WordPress.com.":["Situl tău este conectat la WordPress.com."],"You are the Jetpack owner.":["Ești proprietarul Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Conectat ca {{span}}%(username)s{{/span}}"],"View your Email Followers":["Vezi urmăritorii tăi prin email"],"Color scheme":["Schemă de culori"],"Enable Markdown use for comments.":["Activează folosirea Markdown pentru comentarii."],"Updated settings.":["Setări actualizate."],"Error updating settings. %(error)s":["Eroare la actualizarea setărilor. %(error)s"],"Regenerated Post by Email address.":["Adresă Publicare via email regenerată."],"Error regenerating Post by Email address. %(error)s":["Eroare la regenerarea adresei Publicare via email. %(error)s"],"Updated settings. Refreshing page…":["Setări actualizate. Reîmprospătez pagina..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Acum în {{a}}mod dezvoltare{{/a}} (unele funcționalități sunt dezactivate) deoarece: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Filtrul jetpack_development_mode este activ{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Constanta JETPACK_DEV_DEBUG este definită{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}URL-ul sitului tău nu are un punct (de exemplu: http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics este un serviciu gratuit care completează {{a}}statisticile noastre native{{/a}} cu diferite perspective pentru trafic. Statisticile WordPress.com și Google Analytics folosesc metode diferite pentru a identifica și urmări activitatea pe situl tău, prin urmare ele vor apărea în mod normal ușor diferit ca sumă totală pentru vizite, vizualizări, etc."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Configurează Google Analytics"],"Activate Google Analytics":["Activează Google Analytics"],"Download the free apps":["Descarcă aplicațiile gratuite"],"Upgrade Focus: VideoPress For Weddings":["Actualizare în atenție: VideoPress pentru nunți"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Acum poți configura, de asemenea, articolele similare în personalizator. {{ExternalLink}}Încearcă!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Reclamele sunt afișate implicit la sfârșitul fiecărei pagini, fiecărui articol sau după primul articol din pagina din față. Poți să le adaugi, de asemenea, în partea de sus a sitului și în orice zonă asamblabilă pentru a-ți crește câștigurile!"],"Display an ad unit at the top of your site.":["Afișează o unitate de anunțuri în partea de sus a sitului."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Prin activarea reclamelor, ești de acord cu {{link}}termenii de utilizare ai serviciului{{/link}} Reclame de la Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Serverul tău este configurat incorect, asta înseamnă că Protecție Jetpack nu poate să-ți protejeze în mod eficient situl."],"In \"Mobile\"":["În \"Mobil\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Configurează-ți setările de notificare pentru Monitor pe WordPress.com{{/link}}"],"View your earnings":["Vizualizează-ți câștigurile"],"Configure site SEO":["Configurează SEO pentru sit"],"Activate SEO tools":["Activează instrumentele SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Pentru a începe, dă clic pe Adaugă media în editorul tău de articol și încarcă un video; vom avea grijă de restul!"],"Video Hosting":["Găzduire video"],"SEO Tools":["Instrumente SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Instrumente SEO avansate pentru a-ți ajuta situl să fie găsit când oamenii caută un conținut relevant."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Cel mai simplu mod de a încărca videouri fără anunțuri și nume de brand pe situl tău. Obții statistici despre redarea și partajarea videoului și playerul este ușor și responsiv."],"You are running Jetpack on a staging server.":["Rulezi Jetpack pe un server de pregătire."],"More Info":["Mai multe informații"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Administrează vizibilitate aprecieri din setările extensiei Partajare{{/a}}"],"Your current IP: %(ip)s":["IP-ul tău actual: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Există setări nesalvate în această filă care se vor pierde dacă o părăsești. Continui?"],"This will reset all Jetpack options, are you sure?":["Acest lucru va reseta toate opțiunile Jetpack, ești sigur?"],"Search for a Jetpack feature.":["Caută o funcționalitate Jetpack."],"Configure your Security Scans":["Configurează-ți scanările de securitate"],"Subscriber":["Abonat"],"Big iPhone/iPad Update Now Available":["Este disponibilă o importantă actualizare pentru iPhone/iPad"],"The WordPress for Android App Gets a Big Facelift":["Aplicația WordPress pentru Android primește o mare îmbunătățire vizuală"],"WordPress.com Likes are:":["Aprecierile WordPress.com sunt:"],"A few catchy words to motivate your visitors to comment.":["Câteva cuvinte atrăgătoare pentru a-ți motiva vizitatorii să comenteze."],"Hide the stats smiley face image":["Ascunde imaginea față zâmbitoare din statistici"],"Whitelisted IP addresses":["Adrese IP din lista albă"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Arată o reclamă în aplicațiile pentru mobil WordPress în subsolul temei pentru mobil"],"Copied!":["Copiat!"],"Highlight and copy the following text to your clipboard:":["Evidențiază și copiază următorul text în clipboard-ul tău:"],"Regenerate address":["Regenerează adresa"],"Cheatin' uh?":["Trișezi cumva?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Te superi dacă ne spui de ce nu ai finalizat conexiunea Jetpack în aceste {{a}}2 sondaje cu întrebări{{/a}}?{{/p}}{{p}}Este necesară o conexiune Jetpack pentru ca funcționalitățile noastre gratuite de securitate și de trafic să funcționeze.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Bine ai venit la {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Jetpack-ul tău este deja conectat."],"You're fueled up and ready to go, Jetpack is now active.":["Ești plin de energie și gata să pornești, Jetpack este activ acum."],"You're fueled up and ready to go.":["Ești plin de energie și gata să pornești."],"You are currently running a development version of Jetpack.":["Acum rulezi o versiune de dezvoltare a Jetpack."],"Submit Beta feedback":["Trimite impresii beta"],"What would you like to see on your Jetpack Dashboard?":["Ce ai vrea să vezi în panoul tău de control Jetpack?"],"Let us know!":["Anunță-ne!"],"Saving…":["Se salvează..."],"Save Settings":["Salvează setările"],"Jetpack Stats Icon":["Icon statistici Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Activează statistici sit{{/a}} pentru a vedea statistici detaliate, aprecieri, urmăritori, abonați, și altele! {{a1}}Află mai multe{{/a1}}"],"Activate Site Stats":["Activează statistici sit"],"Site Backups":["Copii de siguranță sit"],"Upgrade":["Actualizează"],"ACTIVE":["ACTIV"],"View your spam stats":["Vizualizează-ți statisticile spam"],"View your security dashboard":["Vizualizează-ți panoul control de securitate"],"Real-Time Backups":["Copii de siguranță în timp real"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Situl este în Mod dezvoltare, deci nu te poți conecta la WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Leagă-ți contul la WordPress.com pentru a obține maximum de la Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Pentru scanarea automată, comprehensivă a amenințărilor de securitate, te rog {{a}}instalează și activează{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack blochează în mod activ încercările de autentificare ostile. Datele vor afișa aici în curând!"],"Total malicious attacks blocked on your site.":["Total încercări de autentificare ostile blocate pe situl tău."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Activează Protecție{{/a}} pentru a-ți păstra situl protejat împotriva încercărilor de autentificare ostile."],"All plugins are up-to-date. Awesome work!":["Toate modulele sunt actualizate. Foarte bine!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack îți monitorizează situl. Dacă ni se pare că situl tău a căzut, vei primi un email."],"Security":["Securitate"],"Performance":["Performanță"],"Backup":["Copii de siguranță"],"{{a}}View backup details{{/a}}.":["{{a}}Vezi detalii copie de siguranță{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Pentru a-ți face automat o copie de rezervă a întregului sit, te rog {{a}}instalează și activează{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Indisponibil în Mod dezvoltare"],"Unavailable in Dev Mode":["Indisponibil în Mod dezvoltare"],"Activating %(slug)s…":["Se activează %(slug)s…"],"%(slug)s has been activated.":["%(slug)s a fost activat."],"%(slug)s failed to activate. %(error)s":["%(slug)s a eșuat la activare. %(error)s"],"Deactivating %(slug)s…":["Se dezactivează %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s a fost dezactivat."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s a eșuat la dezactivare. %(error)s"],"Updating %(slug)s settings…":["Se actualizează setările %(slug)s..."],"Updated %(slug)s settings.":["Setări %(slug)s actualizate."],"Error updating %(slug)s settings. %(error)s":["Eroare la actualizarea setărilor %(slug)s. %(error)s"],"Updating %(slug)s address…":["Se actualizează adresa %(slug)s..."],"Regenerated %(slug)s address .":["Adresa %(slug)s regenerată."],"Error regenerating %(slug)s address. %(error)s":["Eroare la regenerarea adresei %(slug)s. %(error)s"],"Resetting Jetpack options…":["Se resetează opțiunile Jetpack..."],"Options reset.":["Opțiuni resetate."],"Options failed to reset.":["Opțiunile au eșuat la resetare."],"There was an error disconnecting Jetpack. Error: %(error)s":["A fost o eroare la deconectarea Jetpack. Eroare: %(error)s"],"Unlinking from WordPress.com":["Anulare legătură de la WordPress.com"],"Unlinked from WordPress.com.":["Legătură anulată de la WordPress.com."],"Error unlinking from WordPress.com. %(error)s":["Eroare la anularea legăturii de la WordPress.com. %(error)s"],"At A Glance":["Dintr-o privire"],"Dashboard":["Panou control"],"Automattic's Privacy Policy":["Politica de confidențialitate Automattic"],"WordPress.com Terms of Service":["Termenii de utilizare a serviciului WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Activează actualizările automate pentru module.{{/a}}"],"Plugin Updates":["Actualizări module"],"No threats found, you're good to go!":["Nicio amenințare găsită, foarte bine!"],"{{a}}Contact Support{{/a}}":["{{a}}Contactează suportul{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Vezi detalii la VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Aoleu, %(number)s amenințare găsită.","Aoleu, %(number)s amenințări găsite.","Aoleu, %(number)s de amenințări găsite."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Activează Monitorul{{/a}} pentru a primi notificări prin email când situl tău cade."],"Loading…":["Se încarcă..."],"Downtime monitor":["Monitorizare perioade de nefuncționare"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Vezi mai multe statistici pe WordPress.com{{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Vezi statistici detaliate{{/button}}"],"All-time comments":["Total comentarii"],"All-time views":["Total vizualizări"],"%(number)s View":["%(number)s vizualizare","%(number)s vizualizări","%(number)s de vizualizări"],"Best overall day":["Cea mai bună zi în ansamblu"],"Views today":["Vizualizări astăzi"],"Months":["Luni"],"Weeks":["Săptămâni"],"Days":["Zile"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["S-a întâmplat ceva în timpul încărcării statisticilor. Te rog încearcă din nou mai târziu sau {{a}}vizualizează-ți statisticile acum pe WordPress.com{{/a}}"],"Click to view detailed stats.":["Dă clic pentru a vedea statistici detaliate."],"Views: %(numberOfViews)s":["Vizualizări: %(numberOfViews)s"],"Week of %(date)s":["Săptămână de %(date)s"],"Site Security":["Securitate sit"],"Link to WordPress.com":["Legătură la WordPress.com"],"Unlink me from WordPress.com":["Anulează-mi legătura de la WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Am fost o problemă la conectarea Jetpack; Te rog dă clic din nou pe „Conectare la WordPress.com”."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Am avut o problemă la conectarea Jetpack; dezactivează și reactivează modulul Jetpack, apoi conectează-te din nou."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Trebuie să stai autentificat(ă) în blogul tău WordPress în timp ce îți autorizezi Jetpack-ul."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Jetpack-ul tău are o scăpare.{{/s}} Ne pare rău pentru neplăcerile create. Te rog reîncearcă mai târziu, iar dacă problema persistă te rog contactează suportul cu acest mesaj: %(error_key)s"],"Disconnecting Jetpack":["Deconectare Jetpack"],"Learn more":["Află mai multe"],"Posts":["Articole"],"Front page":["Pagina din față"],"Upload videos":["Încarcă videouri"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Arată conținutul similar după articole"],"Related":["Similare"],"Disconnect":["Deconectare"],"Save":["Salvează"],"Media":["Media"],"Mobile Theme":["Temă pentru mobile"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX este un limbaj markup puternic pentru scrierea ecuațiilor și formulelor matematice complexe."],"Site Stats":["Statistici sit"],"Sharing":["Partajare"],"Testimonials":["Testimoniale"],"Cancel":["Anulare"],"Comments":["Comentarii"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack nu a putut contacta WordPress.com: %(error_key)s. De obicei, înseamnă că ceva nu este configurat corect pe gazda ta web."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["Momentan WordPress.com are o problemă și nu se poate conecta cu Jetpack. Te rugăm să încerci din nou mai târziu."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Jetpack-ul tău are o scăpare.{{/s}} Conectarea acestui sit cu WordPress.com nu este posibilă. De obicei, asta înseamnă că situl tău nu este accesibil publicului (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Situl tău web trebuie să fie accesibil publicului pentru a folosi Jetpack: %(error_key)s"],"Edit":["Editare"],"Connected":["Conectat"],"Activate":["Activează"],"Active":["Activă"],"Settings":["Setări"],"Learn More":["Află mai mult"],"Disconnect Jetpack":["Deconectează Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Notă:{{/b}} această funcționalitate va fi retrasă și înlăturată din Jetpack în luna martie. {{link}}Află mai multe.{{/link}}"],"Settings header\u0004Jetpack Backup":["Copii de siguranță Jetpack"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["Legături scurte WP.me"],"Settings header\u0004Auto-update plugins":["Actualizează automat modulele"],"Settings header\u0004Widgets":["Piese"],"Settings header\u0004Downtime monitoring":["Monitorizare perioade de nefuncționare"],"Settings header\u0004Privacy Settings":["Setări de confidențialitate"],"Settings header\u0004WordPress.com toolbar":["Bară de instrumente WordPress.com"],"Settings header\u0004Composing":["Redactare"],"Settings header\u0004Site stats":["Statistici sit"],"Settings header\u0004Search engine optimization":["Optimizare pentru motoarele de căutare"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Butoane de partajare"],"Settings header\u0004Publicize connections":["Conexiuni Publicitate"],"Settings header\u0004Like buttons":["Butoane de apreciere"],"Settings header\u0004Brute force attack protection":["Protecție împotriva atacurilor cu forță-brută"],"Settings header\u0004Backups and security scanning":["Copii de siguranță și scanare de securitate"],"Notice in the empty statistics chart\u0004No activity this period":["Nicio activitate în această perioadă"],"Settings header, noun.\u0004WordPress.com login":["Autentificare WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Trimite legătura"],"A caption for a button to cancel an action.\u0004Cancel":["Anulează"],"Link to learn more about Jetpack.\u0004About":["Despre"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Extensii"],"Navigation item.\u0004Performance":["Performanță"],"Navigation item.\u0004My Plan":["Planul meu"],"Navigation item.\u0004Dev Tools":["Instrumente de dezvoltare"],"Navigation item.\u0004Settings":["Setări"],"Navigation item.\u0004Discussion":["Discuții"],"Navigation item.\u0004Traffic":["Trafic"],"Navigation item.\u0004Sharing":["Partajare"],"Navigation item.\u0004At A Glance":["Dintr-o privire"],"Navigation item.\u0004Plans":["Planuri"],"Navigation item.\u0004Writing":["Scriere"],"Navigation item.\u0004Reset Options (dev only)":["Opțiuni resetare (numai pentru versiuni de dezvoltare)"],"Navigation item.\u0004Security":["Securitate"],"Navigation item.\u0004At a Glance":["Dintr-o privire"],"Search term.\u0004terms of service":["termenii de utilizare ai serviciului"],"Search term.\u0004tos":["TUS"],"Search term.\u0004gdpr":["GDPR (Regulamentul general privind protecția datelor)"],"Search term.\u0004data":["date"],"Search term.\u0004tracks":["căi"],"Search term.\u0004privacy":["confidențialitate"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Actualizează"],"Button caption\u0004Saving…":["Salvez..."],"Button caption\u0004Save settings":["Salvează setările"],"A heading for a block of related posts.\u0004Related":["Similare"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Previzualizare"],"Short warning message\u0004Updates needed":["Actualizări necesare"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Plătită"],"A header for a preview area in the configuration screen.\u0004Preview":["Previzualizare"],"Ads header\u0004Ads":["Reclame"],"Dashboard widget header\u0004Site connection":["Conexiune sit"],"Dashboard widget header\u0004Account connection":["Conexiune cont"],"A caption for a small button to fix security issues.\u0004Threats":["Amenințări"],"A caption for a small button to fix security issues.\u0004FIX":["CORECTEAZĂ"],"Short warning message about new threats found.\u0004Threats found!":["Amenințări găsite"],"Short message informing user that the site is secure.\u0004Secure":["Sigur"],"Caption for a button to set up a feature.\u0004Set up":["Inițializează"],"verb\u0004Copy":["Copiază"],"Shorthand for Privacy Policy.\u0004Privacy":["Confidențialitate"],"Shorthand for Terms of Service.\u0004Terms":["Termeni"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Depanare"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Comentarii spam blocate."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ru_RU-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ru_RU-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 63b28258..00000000
--- a/plugins/jetpack/languages/json/jetpack-ru_RU-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"ru"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Ваш тарифный план %(planName)s включает %(featureName)s. Похоже, вы также приобрели продукт %(productName)s. Подумайте об удалении %(productName)s."],"real-time backups":["резервное копирование в режиме реального времени"],"daily backups":["ежедневное резервное копирование"],"Renews on %s.":["Дата продления: %s."],"Purchased on %s.":["Дата приобретения: %s."],"Select a backup option:":["Выберите вариант резервного копирования:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Перейти на %(name)s за {{price/}}: %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["За счет предоплаты вы экономите {{savings /}}"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Успейте приобрести, {{s}}пока цена не стала выше!{{/s}}"],"Up to %(percent)d%% off!":["Скидка до %(percent)d%%!"],"per month":["за месяц"],"per year":["в год"],"Which backup option is best for me?":["Какой вариант лучше всего мне подходит?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}–{{higherPrice/}}"],"Manage Subscription":["Управление подписками"],"Your site is being backed up.":["Идет резервное копирование сайта."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Введите учетные данные сервера, чтобы завершить настройку резервного копирования Jetpack."],"Jetpack Backup is being configured for your site.":["Идет настройка резервного копирования Jetpack для вашего сайта."],"Daily Backups":["Ежедневное резервное копирование"],"Just looking for backups? We've got you covered.":["Ищите возможность резервного копирования? Мы позаботимся об этом."],"Solutions":["Решения"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Включено в {{planLink}}тарифный план Professional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Включено в {{planLink}}тарифный план Premium{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Включено в {{planLink}}тарифный план Personal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["С постоянно включенным резервным копированием вы никогда не потеряете свой сайт. Все изменения сохраняются сразу же, а размер архива резервных копий не ограничен."],"Always-on backups ensure you never lose your site.":["С постоянно включенным резервным копированием вы никогда не потеряете свой сайт."],"My Products":["Мои продукты"],"My Plan":["Мой тарифный план"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Резервное копирование Jetpack {{em}}в реальном времени{{/em}}"],"Your data is being securely backed up as you edit.":["Во время редактирования создается резервная копия ваших данных."],"Jetpack Backup {{em}}Daily{{/em}}":["Резервное копирование Jetpack {{em}}ежедневное{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Ваши данные ежедневно сохраняются в резервной копии, которая хранится 30 дней."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Бесплатная версия Jetpack"],"Expired on %s.":["Срок действия истёк %s"],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Есть вопрос? Нам нравится оказывать поддержку! {{a}}Отправьте вопрос команде поддержки Jetpack.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack имеет много мощных инструментов, которые могут помочь вам достичь ваших целей"]," We’ve highlighted some of the features you rely on below.":["Ниже мы выделили некоторые функции, на которые вы можете рассчитывать."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack в настоящее время обеспечивает определённые функции на вашем сайте. Как только вы отключите Jetpack, эти функции больше не будут доступны, и ваш сайт может перестать полноценно функционировать."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack в настоящее время обеспечивает определённые функции на вашем сайте. Как только вы отключите Jetpack, эти функции больше не будут доступны, и ваш сайт может перестать полноценно функционировать."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Растите свой трафик при помощи автоматической {{a}}публикации{{/a}} в соцсетях"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Блокируйте {{a}}брутфорс-атаки{{/a}} и получайте немедленные уведомления, если ваш сайт перестаёт работать"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Ускорьте свой сайт и обеспечьте посетителям изображения, адаптированные под мобильные устройства при помощи {{a}}нашего CDN{{/a}}"],"Disable":["Отключить"],"Are you sure you want to disconnect and deactivate?":["Вы действительно намерены произвести отключение и деактивацию?"],"Are you sure you want to disconnect?":["Вы действительно намерены произвести отключение?"],"Disable Jetpack":["Отключить Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Мы сохраняем ваш сайт после каждого изменения, это легко позволит исправить ошибки."],"Automated Real-time Backups":["Автоматические резервные копии в реальном времени"],"We back up your website every day, so you never have to worry about your data again.":["Сохраняйте ежедневные резервные копии вашего сайта, чтобы никогда больше не беспокоиться о сохранности данных."],"Automated Daily Backups":["Автоматические ежедневные резервные копии"],"View Your Backups":["Просмотр резервных копий"],"A Jetpack Site securely backed up with Jetpack Backup":["Резервная копия сайта создана Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Используйте синтаксис Markdown для создания контента со ссылками, списками и прочими стилями. Эта опция включает Markdown как в классическом редакторе, так и в блоке классического редактора."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Активируйте{{/a}} для оптимизации размеров изображений и их доставки через быструю глобальную сеть серверов Jetpack. Это улучшит производительность вашего сайта на компьютерах и мобильных устройствах."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack оптимизирует размер ваших изображений и скорость загрузки, используя быструю глобальную сеть серверов. Это улучшает производительность вашего сайта на компьютерах и мобильных устройствах."],"Image Accelerator":["Ускоритель изображений"],"Start with free":["Попробуйте бесплатную версию"],"Now that you're set up, pick a plan that fits your needs.":["Теперь, когда у вас все в порядке, выберите тарифный план, который вам подходит."],"Jetpack Backup":["Резервное копирование Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Ваш тарифный план Jetpack предоставляет защиту от спама через Akismet. Нажмите 'установить', чтобы включить его на вашем сайте."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Уже есть ключ? {{a}}Активировать Akismet{{/a}}"],"Verifying…":["Проверка..."],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Повысьте свои позиции в поисковых системах при помощи SEO-инструментов в Jetpack Premium и Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Сделайте свой сайт быстрее и удобнее на мобильных устройствах. Посетители будут видеть интерфейс установленной темы на больших экранах."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Предоставьте своим посетителям опыт плавного непрерывного чтения больше контента при прокрутке экрана вниз на страницах архивов."],"Customize your SEO settings":["Изменяйте свои SEO-настройки"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Контролируйте то, как поисковые системы видят ваш сайт. При помощи SEO-инструментов Jetpack’а вы можете взглянуть на то как содержимое вашего сайта представляется популярным поисковым системам и мгновенно менять различные элементы, такие как название и краткое описание сайта."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Создать кнопку \"Поделиться\", чтобы посетители могли распространять ваши записи и страницы в соцсетях парой кликов."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Включает небольшой график в административной панели, отображающий состояние трафика за последние 48 часов"],"Expand to update settings for how visits are counted and manage who can view this information.":["Разверните, чтобы обновить настройки подсчета посещений и управления доступом к этой информации."],"You can customize the sharing buttons and choose which services to display.":["Вы можете настроить социальные кнопки и выбрать какие сервисы отображать."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Ваш сайт защищён Jetpack. Вы будете проинформированы, если что-то потребует вашего внимания."],"Find threats early so we can help fix them fast.":["Раннее обнаружение угроз для быстрого предотвращения проблем."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Замена базового механизма поиска по сайту более продвинутой версией, которая позволяет пользователям находить нужную информацию быстрее."],"Never worry about losing your site – automatic backups keep your content safe.":["Не беспокойтесь о потере своего сайта – автоматическое создание резервных копий сохраняет ваше содержимое в безопасности."],"Protect":["Защита"],"Scan":["Сканирование"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Автоматически чистить комментарии и формы от спама, в то время как вы можете заниматься более важными делами."],"Anti-spam":["Антиспам"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Подключение сайта к Google Analytics занимает считанные секунды, если вы пользователь тарифного плана Jetpack Premium или Professional."],"Log in to the WordPress mobile app":["Войдите в мобильное приложение WordPress"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["С помощью ссылки из письма, отправленного на указанный в учетной записи адрес эл. почты, можно легко войти в приложение WordPress."],"Email me a link to log in to the app":["Отправить ссылку для входа в приложение"],"Send your new posts to this email address:":["Отправляйте новые публикации на этот адрес эл. почты:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Публикация по эл. посте позволяет размещать записи, не заходя на сайт. Для вас будет сгенерирован уникальный адрес эл. почты. Отправляйте материалы на него, и они будут опубликованы на сайте как любые другие записи."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["Панель инструментов WordPress.com приходит на замену панели инструментов администратора WordPress. С помощью нее можно одним нажатием перейти к уведомлениям, профилю WordPress.com и другим сайтам Jetpack и WordPress.com. Узнать последние новости сайтов, на которые вы подписаны, можно в разделе \"Чтиво\"."],"Verify site ownership with third party services":["Подтвердите права собственности на сайт у сторонних поставщиков услуг"],"Generate shortened URLs for simpler sharing.":["Создавайте короткие URL-адреса для простой отправки ссылок другим пользователям."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Используйте раздел похожего содержимого под каждой публикацией, чтобы удержать внимание посетителей. Эти параметры не распространяются на {{a}}похожие публикации, добавленные с помощью редактора блоков{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Благодаря этой функции в конце каждой публикации отображается подборка похожего содержимого, позволяя читателю получить больше информации по теме."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack автоматически создает файл {{link1}}ads.txt{{/link1}} с учетом особенностей вашего сайта. Если необходимо дополнить список записями для других сетей, введите их в поле ниже по одной на строку. {{link2}}Нажмите сюда, чтобы узнать больше{{/link2}}."],"Add sharing buttons to your posts and pages":["Добавление кнопок \"Поделиться\" в записи и на страницы"],"Share your content to social media, reaching new audiences and increasing engagement.":["Публикуйте записи в социальных сетях для привлечения новых посетителей и повышения активности читателей."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Получайте уведомления о прекращении работы сайта и восстановлении его работы."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["С Jetpack можно включить автоматическое обновление плагинов сразу после выхода новых версий. Это позволит сразу исправлять ошибки и устранять уязвимости, обеспечивая безопасность сайта."],"Choose which plugins to auto-update":["Выберите плагины для автоматического обновления"],"Upgrade Jetpack now":["Обновите Jetpack прямо сейчас"],"Monetize your site by running high quality ads.":["Монетизируйте сайт за счет показов качественной рекламы."],"Customize your social posting schedule.":["Настройте расписание публикации записей в социальных сетях."],"Expand your audience with pro SEO tools.":["Увеличьте количество читателей с помощью профессиональной поисковой оптимизации."],"Take your site to the next level!":["Перейдите на следующий уровень"],"Search support docs":["Поиск по документам поддержки"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Нужна помощь? Узнайте больше о начале работы, настройке сайта, использовании фрагментов кода и многом другом."],"Start sharing":["Начать публикацию"],"Optimized performance":["Оптимизированная производительность"],"Enable the “subscribe to comments” option on your comment form":["Добавьте в форму для комментирования возможность подписаться на комментарии."],"Enable the “subscribe to site” option on your comment form":["Добавьте в форму для комментирования возможность подписаться на сайт."],"Manage advanced comment settings and grow your audience with email subscriptions.":["Настраивайте дополнительные параметры комментирования и используйте рассылку по эл. почте, чтобы расширить круг читателей."],"Comment form introduction":["О форме для комментирования"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Система защиты от спама Jetpack с помощью модуля Akismet. Комментарии и текст из форм связи сверяются с глобальной базой данных для борьбы со спамом."],"Failed to send login email":["Сбой отправки эл. сообщения для входа в систему"],"Login email sent":["Сообщение для входа в систему отправлено"],"Sending login email…":["Отправка сообщения для входа..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Волнуетесь о безопасности? Получите доступ к резервному копированию, автоматическим функциям безопасности и многому другому: {{a}}Перейти на платную подписку{{/a}}"],"Allow readers to like individual comments.":["Разрешить посетителям отмечать \"нравится\" отдельные комментарии."],"Enable comment likes.":["Включить \"нравится\" для комментариев."],"Allow readers to use markdown in comments.":["Разрешить посетителям использовать разметку в комментариях."],"Show Gravatar hovercards alongside comments.":["Показывать всплывающие карточки Gravatar в комментариях."],"Complete Jetpack Setup":["Завершить установку Jetpack"],"Your Jetpack setup progress":["Ход настройки Jetpack"],"View your setup checklist":["Посмотреть чек-лист настройки"],"Yearly":["Ежегодно"],"Monthly":["Ежемесячно"],"About Jetpack":["О Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["В разделе управления видимостью виджетов настройте отображение виджетов только для определенных записей и страниц"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Функция видимости виджетов позволяет определить, какие виджеты на каких страницах появятся, чтобы добиться максимального соответствия размещаемого в них содержимого."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Получите дополнительные виджеты для размещения на своем сайте, в том числе формы подписки и ленты Twitter"],"Enhance CSS customization panel":["Улучшите панель настройки CSS"],"Writing":["Написание"],"Compose using shortcodes to embed media from popular sites":["Создавайте записи с помощью шорткодов для добавления медиафайлов с популярных сайтов"],"Traffic":["Трафик"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Вам необходимо ввести учетные данные для сервера, чтобы завершить настройку службы резервного копирования и проверки безопасности."],"Awaiting credentials":["Ожидание ввода учетных данных"],"Backups and Scan are being configured for your site.":["Для вашего сайта настраиваются параметры службы резервного копирования и проверки безопасности."],"Provisioning":["Предоставление"],"Action needed":["Необходимо действие"],"Setting up":["Настройка"],"Discussion":["Обсуждение"],"We are configuring your site protection.":["Мы настраиваем параметры безопасности вашего сайта."],"View your site's backups":["Просмотр резервных копий вашего сайта"],"We are backing up your site in real-time.":["Выполняется резервное копирование вашего сайта в реальном времени."],"Enter credentials":["Введите учётные данные"],"You need to enter your server's credentials to finish the setup.":["Вам необходимо ввести учетные данные для сервера, чтобы завершить настройку."],"We are configuring your site's backups.":["Мы настраиваем параметры резервного копирования вашего сайта."],"View site activity":["Просмотреть действия на вашем сайте"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack сохраняет данные обо всем, что происходит на вашем сайте, на основе которых можно принимать уверенные решения по управлению сайтом, отладке и устранению неполадок."],"Explore our Jetpack plans":["Просмотр тарифных планов Jetpack"],"Support documentation":["Справочная документация"],"Chat bubbles representing getting in touch with support":["Пузыри чата, символизирующие диалог со службой поддержки"],"Site activity":["Активность на сайте"],"Reach a wider audience by automatically sharing your posts on social media.":["Расширьте аудиторию, настроив автоматическую публикацию своих записей в социальных сетях."],"Increase traffic to your site":["Повысьте посещаемость своего сайта"],"Explore free themes":["Пользуйтесь бесплатными темами"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Получите неограниченный доступ к сотням профессиональных тем и настройте сайт так, как задумали."],"A wide variety of themes and tools to customize a site":["Широкий выбор тем и инструментов для настройки сайта"],"Set up your site security":["Настройте безопасность своего сайта"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Предотвращайте атаки методом перебора, мгновенно получайте уведомления о неполадках на сайте."],"Site stats showing an evolution in traffic and engagement":["Статистика сайта, отображающая рост посещаемости и пользовательской активности"],"A hand holding a loupe":["Рука, держащая лупу"],"A chart showing an healthy increase in earnings":["Таблица роста доходов"],"Interface showing a chronological list of changes and updates in a site":["Интерфейс с хронологическим списком изменений и обновлений сайта"],"A cloud with multiple types of content floating around it":["Облако с различными типами контента вокруг него"],"A folder holding real comments":["Папка с реальными комментариями"],"Make your site faster":["Ускорьте работу сайта"],"Load pages faster by serving your images from our global network of servers.":["Ускорьте загрузку страниц, размещая свои изображения в нашей сети серверов по всему миру."],"A fast and performant website":["Быстрый и производительный сайт"],"A secure site, locked and protected by Jetpack":["Безопасный сайт под защитой Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Клонируйте имеющиеся записи, страницы, отзывы и портфолио. Все содержимое будет скопировано, включая тексты, изображения записи, настройки возможности поделиться и другое."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Ваш сайт нарушает наши {{a}}условия обслуживания{{/a}} и поэтому не может быть подключен к WordPress.com."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Подключите ваш сайт к используемым вами социальным сетям и делитесь содержимым используя ваши учетные записи в соцсетях одним нажатием. При публикации записи она появится во всех подключенных учетных записях."],"Add Like buttons to your posts and pages":["Добавьте кнопки \"Нравится\" к вашим страницам и записям"],"When visitors enjoy your content, let them show it with a Like.":["Дайте возможность посетителям оценить понравившееся содержимое."],"Create account":["Создать учётную запись"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack поддерживает работу вашего сайта, но чтобы получить доступ ко всем его возможностям, необходимо создать учетную запись."],"Compose content the way you want to and streamline your publishing experience.":["Организуйте содержимое согласно своим пожеланиям и упростите процесс публикации."],"Add a portfolio item":["Добавить элемент портфолио"],"Add a testimonial":["Добавить отзыв"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Улучшите позиции своего сайта в поисковых системах и просматривайте статистику посещений в реальном времени."],"Create a Jetpack account to use this feature":["Для использования этой функции создайте учетную запись Jetpack"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack постоянно отслеживает работу вашего сайта и отправляет уведомления о простоях в момент их возникновения."],"Error enabling Site accelerator. %(error)s":["Ошибка при включении ускорителя сайта. %(error)s"],"Site accelerator is now speeding up your site!":["Ускоритель начал работу на вашем сайте!"],"Enabling Site accelerator…":["Включение ускорителя сайта..."],"Error disabling site accelerator. %(error)s":["Ошибка при выключении ускорителя сайта. %(error)s"],"Site accelerator is no longer speeding up your site!":["Ускоритель на вашем сайте выключен!"],"Disabling site accelerator…":["Выключение ускорителя сайта..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Быстрая загрузка страниц, оптимизация изображений и комфорт посетителей."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Дополните статистику WordPress.com с помощью всестороннего анализа Google, раскрывающего тенденции посещаемости вашего сайта."],"High-speed, high-definition video hosting with no third-party ads.":["Высокоскоростное размещение видео высокого качества без сторонней рекламы."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Заблаговременное планирование публикации неограниченного числа твитов, записей в Facebook и других социальных сетях."],"Marketing Automation":["Автоматизация маркетинга"],"Activate Jetpack Search":["Активировать поиск Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Замените стандартный поиск WordPress на службу поиска на основе Elasticsearch, которая обеспечивает улучшенные результаты и фильтрацию."],"Start earning":["Начните зарабатывать"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["Участвуя в программе WordAds, вы получаете деньги за показ рекламного содержимого на ваших сайтах. Начните зарабатывать прямо сегодня."],"Spam is automatically blocked from your comments.":["В комментариях выполняется автоматическая блокировка спама."],"Browse premium themes":["Просмотр премиум-тем"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Доступ к сотням великолепных бесплатных премиум-тем."],"Try a premium theme":["Попробуйте премиум-тему"],"View settings":["Показать настройки"],"Create a Jetpack account to view your email followers":["Создайте учётную запись Jetpack, чтобы просмотреть список всех подписчиков по эл. почте"],"Manage security settings":["Управление настройками безопасности"],"Jetpack is ready for the new WordPress editor":["Jetpack готов к использованию с новым редактором WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Сегодня мы представляем несколько первых блоков для Jetpack, разработанных специально для работы в новом редакторе: простую кнопку оплаты, форму, карту и язык разметки Markdown."],"Build your Jetpack site with blocks":["Создайте сайт с Jetpack из блоков"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Новый редактор? Да! Подробнее{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Надёжные функции, оптимизированные для нового редактора WordPress."],"Take me to the new editor":["Перейти в новый редактор"],"Testing Jetpack Connection":["Проверка подключения Jetpack"],"There was an error testing Jetpack. Error: %(error)s":["При проверке Jetpack произошла ошибка. Ошибка: %(error)s"],"New in Jetpack!":["Новое в Jetpack!"],"Speed up static file load times":["Ускорьте время загрузки статических файлов"],"Speed up image load times":["Ускорьте время загрузки изображений"],"Enable site accelerator":["Включить ускоритель сайта"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Ускорьте загрузку страниц, разрешив Jetpack оптимизировать изображения и использовать глобальную сеть серверов WordPress для предоставления изображений и статических файлов (например, CSS и JavaScript)."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Повысьте безопасность своего сайта, включив систему защищённой аутентификации WordPress.com. Если включить эту функцию на мультисайте, можно будет авторизоваться на всех подсайтах под одной учётной записью."],"View your site activity":["Посмотреть активность вашего сайта"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Посмотреть хронологический список всех изменений и обновлений сайта в понятном, удобном для чтения виде."],"Manually Verify ":["Подтвердить вручную"],"Verify with Google":["Подтвердить через Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google будет уведомлять по эл.почте о некоторых событиях на вашем сайте, включая проблемы если ваш сайт был {{a1}}взломан{{/a1}}, или проблемы с {{a2}}обходом или индексацией{{/a2}} вашего сайта."],"or":["или"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Следите за трафиком и производительностью сайта из {{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Ваш сайт был подтвержден Google"],"Site failed to verify: %(error)s":["Ошибка подтверждения сайта: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Добавьте быстрый, улучшенный поиск на ваш сайт с Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Замените встроенный поиск WordPress улучшенным поиском Jetpack"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Поиск Jetpack заменяет встроенный поиск быстрым, масштабируемым, настраиваемым и очень релевантным поиском работающим в облаке WordPress.com. Как результат - ваши пользователи будут находить то что им нужно, быстрее."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["Встроенный поиск WordPress отлично работает на сайтах с небольшим количеством содержимого, но по мере роста поиск становится медленнее и возвращает менее релевантные результаты."],"Jetpack Search supports many customizations.":["Поиск Jetpack поддерживает множество настроек."],"Site is verified":["Сайт подтвержден"],"Spam filtering and priority support.":["Фильтрация спама и приоритетная поддержка."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["При включении рекламы Jetpack автоматически создает пользовательский ads.txt специально для вашего сайта."],"Custom ads.txt entries":["Пользовательские записи ads.txt"],"Privacy information":["Информация о конфиденциальности"],"Enable Lazy Loading for images":["Включить ленивую загрузку изображений"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Ленивая загрузка изображений улучшает скорость вашего сайта и ощущения от его просмотра. Изображения будут загружаться при прокрутке страницы, вместо того, чтобы загрузиться всем сразу."],"Performance & speed":["Производительность и скорость"],"Enable high-speed, ad-free video player":["Включить быстрый видео-плеер без рекламы"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Сделайте публикуемое вами содержимое более захватывающим с видео высокого разрешения. С Jetpack Video вы можете настраивать ваш видео проигрыватель и отдавать видео без рекламы, водяных знаков на высокой скорости вашим посетителям. Видеофайлы хранятся на серверах WordPress.com и не занимают место на вашем хостинге!"],"Video":["Видео"],"Carousel color scheme":["Цветовая схема карусели"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["EXIF данные показывают дополнительные технические детали о фото, например фокусное расстояние, апертуру и ISO."],"Show photo Exif metadata in carousel (when available)":["Показывать EXIF метаданные фотографий в карусели (если доступно)"],"Display images in a full-screen carousel gallery":["Показывать изображения в полноэкраной галерее-карусели"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Создавайте полноэкранные слайд-шоу на страницах сайта и в записях. Галереи изображений в виде карусели совместимы с мобильными устройствами и побуждают посетителей сайта просматривать ваши фотографии."],"Portfolios shortcode: [portfolio]":["Шорткод для портфолио: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Используйте функцию {{portfolioLink}}портфолио{{/portfolioLink}}, чтобы демонстрировать свои работы. Если ваша тема не поддерживает портфолио Jetpack, вы можете воспользоваться простым кодом для размещения их на своём сайте."],"Testimonials shortcode: [testimonials]":["Шорткод для благодарностей: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Добавляйте на сайт {{testimonialLink}}отзывы{{/testimonialLink}}, чтобы привлекать новых клиентов. Если ваша тема не поддерживает отзывы Jetpack, вы можете воспользоваться простым кодом для размещения их на своём сайте."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["В настоящий момент у поисковых систем нет доступа к вашему сайту. Если вы хотите предоставить им доступ, зайдите в {{a}}Настройки чтения{{/a}} и включите опцию «Видимость для поисковых систем»."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Хорошие новости: Jetpack автоматически посылает вашу карту сайта на все значимые поисковые системы для индексации."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Карты сайта - файлы, используемые поисковыми системами типа Google или Яндекс для индексирования вашего сайта. Они могут улучшить ранжировку вашего сайта в результатах поиска. При включении этой возможности, Jetpack будет создавать карты сайта и обновлять их автоматически при изменении содержимого сайта."],"Configure related posts in the Customizer":["Настройте связанные записи в интерфейсе настройки"],"Highlight related content with a heading":["Выделите связанное содержимое заголовком"],"View security scan details":["Посмотреть подробности сканирования безопасности"],"Test your site’s compatibility with Jetpack.":["Проверьте совместимость вашего сайта с Jetpack."],"Show a thumbnail image where available":["Показывать изображение миниатюры, если доступно"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Чтобы получить дополнительную информацию о том, как конкретные инструменты Jetpack используют данные и отслеживают активность пользователей, перейдите в {{privacyCenterLink}}Центр конфиденциальности{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Мы используем и другие средства сбора информации, в том числе средства сторонних разработчиков. {{cookiePolicyLink}}Здесь можно больше узнать о них{{/cookiePolicyLink}} и об управлении ими."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Эти сведения помогают нам улучшать продукты, предлагать более полезную рекламу, настраивать WordPress.com согласно вашим предпочтениям и не только. Дополнительную информацию см. в нашей {{pp}}политике конфиденциальности{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Позвольте нашей аналитической программе собрать информацию о том, как вы используете наши услуги после входа в учётную запись WordPress.com. {{cookiePolicyLink}}Подробнее{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Управление этой функцией выполняется администратором сайта. {{link}} Подробнее{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Эта функция отключена администратором сайта. {{link}}Подробнее{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Эта функция включена администратором сайта. {{link}}Подробнее{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":[" отключен администратором сайта. {{link}}Подробнее{{/link}}."],"This feature has been disabled by a site administrator.":["Эта функция отключена администратором сайта."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s отключен администратором сайта."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Используйте виджет «Реклама» для размещения дополнительных объявлений. {{link}}Попробуйте!{{/link}}"],"Configure your notification settings":["Настройте параметры уведомлений"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Модуль поиска Jetpack — это эффективная замена встроенной функции поиска WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Файлы на вашем сайте проходят регулярную проверку на предмет несанкционированных и подозрительных изменений, которые могут нести угрозу вашей безопасности и данным."],"Plugin needs updating.":["Необходимо обновить плагин.","Необходимо обновить плагины.","Необходимо обновить плагины."],"%(number)s":["%(number)s","%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Средство обновления плагинов Jetpack позволяет выбрать плагины, которые будут обновляться автоматически."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack оптимизирует ваши изображения и будет предоставлять их посетителям вашего сайта с ближайшего к ним сервера. Наша международная сеть предоставления содержимого значительно повысит скорость загрузки вашего сайта."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Средство мониторинга простоев Jetpack отслеживает работу вашего сайта и отправляет уведомления о простоях."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Средство резервного копирования Jetpack позволяет с легкостью восстановить сайт или загрузить резервную копию на определенный момент времени."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Включает специальную тему для мобильных устройств, не требовательную к ресурсам, которая будет отображаться на соответствующих устройствах ваших пользователей."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Автоматически загружает следующие записи, когда пользователь приближается к нижней части страницы."],"Allows you to publish new posts by sending an email to a special address.":["Даёт возможность публиковать новые записи путём отправки электронного письма на особый адрес."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Добавляет панель инструментов со ссылками на все ваши сайты, уведомления, профиль WordPress.com и ленту раздела \"Чтиво\"."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Предоставляет необходимые скрытые теги, которые нужны для проверки подлинности вашего сайта WordPress с помощью различных служб."],"Displays information on your site activity, including visitors and popular posts or pages.":["Отображает информацию об активности вашего сайта, включая сведения о посещениях, популярных записях или страницах."],"Allows you to optimize your site and its content for better results in search engines.":["Позволяет оптимизировать сайт и его содержимое, чтобы улучшить его позиции в результатах поиска."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Интегрирует ваш сайт WordPress с платформой Google Analytics, которая позволяет анализировать посещаемость, аудиторию и показатели конверсии сайта."],"Displays high-quality ads on your site that allow you to earn income.":["Показывает на вашем сайте рекламные объявления высокого качества, которые дают вам возможность зарабатывать."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Позволяет автоматически делиться новым содержимым вашего сайта в социальных сетях, в том числе в Facebook и Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Добавляет к содержимому вашего сайта кнопки \"Нравится\", чтобы пользователи могли выразить одобрение или удовольствие."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Предоставляет зарегистрированным пользователям возможность входить на ваш сайт с использованием их учётных записей WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["Защищает ваш сайт от традиционных и распределённых атак методом перебора пароля."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Создаёт резервные копии вашего сайта на серверах глобальной сети WordPress.com. Вы сможете восстановить содержимое в случае сбоя или ошибки."],"Removes spam from comments and contact forms.":["Удаляет спам из комментариев и контактных форм."],"We are committed to your privacy and security. ":["Мы заботимся о вашей приватности и безопасности."],"View all Jetpack plans":["Посмотреть все тарифы Jetpack"],"Manage your plan":["Управление вашим тарифом"],"Your Plan":["Ваш тариф"],"You’re currently on Jetpack %(plan)s.":["Вы сейчас используете Jetpack %(plan)."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Разрешите читателям подписываться на записи и комментарии, получать уведомления о новом содержимом по эл.почте."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Замена стандартной формы комментариев WordPress новой, включающей возможности входа через соцсети."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Активируйте{{/a}} для замены встроенного поиска WordPress улучшенным."],"Add Search (Jetpack) Widget":["Добавить виджет поиска (Jetpack)"],"Jetpack Search is powering search on your site.":["Поиск на вашем сайте обеспечивается Jetpack."],"Manage your plugins":["Управление плагинами"],"Moderate comments":["Модерирование комментариев"],"Error updating privacy settings. %(error)s":["Ошибка обновления настроек приватности. %(error)"],"Updated privacy settings.":["Настройки приватности обновлены."],"Updating privacy settings…":["Обновление настроек приватности..."],"Add Jetpack Search Widget":["Добавить виджет поиска Jetpack"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Чтобы добавить расширенные фильтры поиска, добавьте виджет поиска Jetpack на боковую панель."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Полный набор средств безопасности, средства автоматизации маркетинга и автоматизации сайта, неограниченный объём хранилища для размещения видео, неограниченное число тем, улучшенный поиск и поддержка в приоритетном режиме."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Полный набор средств безопасности, средства автоматизации маркетинга и автоматизации сайта, неограниченный объём хранилища для размещения видео и поддержка в приоритетном режиме."],"Daily backups, spam filtering, and priority support.":["Ежедневное резервирование, фильтрация спама и поддержка в приоритетном режиме."],"Always-on security":["Непрерывная защита"],"Activate video hosting":["Активировать видеохостинг"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Резервное копирование данных вашего сайта в реальном времени с неограниченным объёмом хранилища, возможностью восстановления в одно нажатие, автоматической проверкой безопасности и поддержкой в приоритетном режиме"],"Design the perfect website":["Создайте дизайн совершенного сайта"],"Set up Jetpack":["Настроить Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Резервное копирование в реальном времени с неограниченным местом для хранения, восстановлением в одно нажатие и автоматической проверкой безопасности."],"Jetpack Search":["Поиск Jetpack"],"Jetpack version %(version)s":["Jetpack %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Резервное копирование вашего сайта производится в режиме реального времени, он также регулярно проверяется на угрозы безопасности."],"Daily backup of all your site data with unlimited space and one-click restores":["Ежедневное резервное копирование данных вашего сайта, с неограниченным местом для хранения и восстановлением в одно нажатие"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Ежедневное резервное копирование данных вашего сайта, с неограниченным местом для хранения и восстановлением в одно нажатие, автоматической проверкой безопасности и приоритетной поддержкой"],"View your security activity":["Посмотреть активность по безопасности"]," (powered by VaultPress).":[" (работает с VaultPress)."],"Customize Search Widget":["Настроить виджет поиска"],"Please correct the issue below and try again.":["Пожалуйста исправьте проблему ниже и попробуйте еще.","Пожалуйста исправьте проблемы ниже и попробуйте еще.","Пожалуйста исправьте проблемы ниже и попробуйте еще."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Мы делаем так, что ваш сайт будет чист от проблем с безопасностью. Мы уведомим вас если найдем что-либо."],"Jetpack version":["Версия Jetpack"],"Activity":["Активность"],"{{a}}View details{{/a}}":["{{a}}Посмотреть подробности{{/a}}"],"Monetize your site with ads":["Монетизировать ваш сайт с помощью рекламы"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Подключая ваш сайт, вы соглашаетесь с нашими замечательными {{tosLink}}Правилами пользования{{/tosLink}} и с {{shareDetailsLink}}обменом данными{{/shareDetailsLink}} с WordPress.com"],"Jetpack Stats People":["Jetpack статистика по людям"],"Hello there! Your stats have been activated.":["Привет! Ваша статистика активирована"],"Just give us a little time to collect data so we can display it for you here.":["Просто дайте нам немного времени на сбор данных, чтобы мы могли показать их здесь."],"Okay, got it!":["Ясно, понятно!"],"Display ads below posts on":["Показывать рекламу ниже записи для"],"Additional ad placements":["Размещение дополнительной рекламы"],"Top of each page":["Наверху каждой страницы"],"Second ad below post":["Вторая реклама ниже записи"],"Archives":["Архивы"],"Stars":["Звезды"],"Jupiter":["Юпитер"],"Schedule posts":["Запланировать записи"],"Activate Publicize":["Активировать Publicize"],"Your site is backed up.":["Резервная копия вашего сайта создана."],"Get WordPress Apps for every device":["Получите приложение WordPress для любого устройства"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Управлять всеми вашими сайтами с единой консоли: публиковать содержимое, отслеживать статистику, модерировать комментарии и много больше, с любой точки Земли."],"Create address":["Создать адрес"],"Automatically share your posts to social networks":["Автоматически делиться вашими записями в соцсетях"],"Updating settings…":["Обновляем настройки..."],"Updating Post by Email address…":["Обновление записи по адресу эл.почты..."],"Your paid plan gives you access to prioritized Jetpack support.":["Ваш платный тариф дает вам возможность приоритетной поддержки Jetpack."],"You have paid for backups but they're not yet active.":["Вы заплатили за резервные копии но они еще не активны."],"You have paid for backups and security scanning but they’re not yet active.":["Вы заплатили за резервные копии и проверку безопасности но они еще не активны."],"Click \"Set Up\" to finish installation.":["Нажмите \"Установить\" для завершения установки."],"Checking site status…":["Проверка статуса сайта..."],"Pages":["Страницы"],"Access the full list of Jetpack modules available on your site.":["Доступ к полному списку модулей Jetpack доступных на вашем сайте."],"We're here to help":["Мы здесь для того чтобы помочь"],"Jetpack comes with free, basic support for all users.":["Jetpack поставляется с бесплатной основной поддержкой для всех пользователей."],"Ask a question":["Задать вопрос"],"Search our support site":["Поискать на сайте поддержки"],"Get a faster resolution to your support questions.":["Получите быстрое решение ваших вопросов в поддержку."],"Host fast, high-quality, ad-free video.":["Размещайте высококачественные видео без рекламы на быстром хостинге"],"Generate income with high-quality ads.":["Получайте доход от качественной рекламы."],"Real-time site backups and automatic threat resolution.":["Резервные копии в реальном времени и автоматическое решение угроз безопасности."],"Protect against data loss, malware, and malicious attacks.":["Защита от потери данных, вредоносного ПО и атак."],"Protect your site from spam.":["Защитите свой сайт от спама."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Этот сайт не подключен к WordPress.com. Пожалуйста попросите администратора сайта сделать это."],"An Automattic Airline":["Авиалиния Automattic"],"Manage site connection":["Управление подключением сайта"],"Connect your account to WordPress.com to view more stats":["Подключите ваш аккаунт к WordPress.com для подробной статистики"],"Theme enhancements":["Улучшения темы"],"Load more posts using the default theme behavior":["Загружать больше записей используя поведение темы по умолчанию"],"Load more posts in page with a button":["Загружать больше записей на странице кнопкой"],"Load more posts as the reader scrolls down":["Загружать больше записей при прокрутке вниз"],"Theme support required.":["Требуется поддержка темы."],"Learn more about adding support for Infinite Scroll to your theme.":["Узнайте больше о добавлении бесконечной прокрутки к вашей теме."],"Show excerpts instead of full posts on front page and archive pages":["Отображать отрывок вместо полной записи на главной и страницах архивов"],"Show featured images":["Показывать изображения записи"],"Enable the WordPress.com toolbar":["Включить панель инструментов WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Инструменты для редактирования доступные вам будут показаны здесь когда администратор включит их."],"Portfolios":["Портфолио"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Обратите внимание, что для индексации поисковыми системами {{b}}подтверждение подлинности вашего сайта с помощью этих служб не требуется{{/b}}. Чтобы использовать эти расширенные возможности поисковых систем и подтвердить подлинность своего сайта с помощью той или иной службы, вставьте HTML-код тега в поле ниже. Если у вас возникли проблемы, прочтите {{support}}инструкции полностью{{/support}}. Поддерживаемые службы проверки: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, и {{yandex}}Яндекс.Вебмастер{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Генерировать XML карту сайта"],"The image helps collect stats, but should work when hidden.":["Изображение помогает собирать статистику, но может работать и будучи скрытым."],"Count logged in page views from":["Учитывать просмотры страниц от"],"Allow stats reports to be viewed by":["Разрешить просмотр статистики"],"In \"Upgrade\"":["В разделе «Платные услуги»"],"Configure your Google Analytics settings":["Настройки Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Показывать рекламу в первой статье на главной странице или в конце каждой страницы и записи. Чтобы увеличить свой доход, поместите дополнительную рекламу в верхней части сайта или в любой области для виджетов."],"Enable ads and display an ad below each post":["Включить рекламу и показывать ее внизу каждой записи"],"Configure your sharing buttons":["Конфигурация кнопок \"Поделиться\""],"Connect your social media accounts":["Подключить ваши аккаунты в соцсетях"],"Match accounts using email addresses":["Сопоставить учетные записи, используя адреса электронной почты"],"Require accounts to use WordPress.com Two-Step Authentication":["Требовать использования 2-факторной авторизации WordPress.com"],"Add to whitelist":["Добавить в белый список"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Вы можете добавить один или несколько IP-адресов в список разрешённых, чтобы плагин Jetpack их никогда не блокировал. Можно указывать адреса IPv4 и IPv6. Чтобы указать диапазон, введите минимальное и максимальное значения, разделённые тире. Пример: 12.12.12.1–12.12.12.100"],"Your site is backed up and threat-free.":["Ваш сайт безопасен и резервная копия сделана."],"Checking your spam protection…":["Проверка защиты от спама..."],"Fetching key…":["Получение ключа..."],"Your site needs an Antispam key.":["Сайту требуется антиспам ключ."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Возникла проблема с антиспам API ключем. {{a}}Подробнее{{/a}}."],"Your site is not protected from spam.":["Ваш сайт не защищен от спама."],"Your Antispam key is valid.":["Ваш антиспам ключ действителен."],"Your site is protected from spam.":["Ваш сайт защищен от спама."],"Checking key…":["Проверка ключа..."],"Your API key":["Ваш API ключ"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Если у вас еще нет API ключа, {{a}}получите его здесь{{/a}} с руководством в процессе получения."],"No search results found for %(term)s":["Нет результатов поиска для %(term)"],"Enter a search term to find settings or close search.":["Введите поисковый запрос, чтобы найти настройки, или закройте поиск."],"Connections":["Подключения"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Ваш сайт в режиме разработки, он не может быть подключен к WordPress.com."],"Your site is connected to WordPress.com.":["Ваш сайт подключен к WordPress.com."],"You are the Jetpack owner.":["Вы владелец Jetpack."],"Connected as {{span}}%(username)s{{/span}}":["Подключение от {{span}}%(username)s{{/span}}"],"View your Email Followers":["Посмотреть подписчиков по эл.почте"],"Color scheme":["Цветовая схема"],"Enable Markdown use for comments.":["Разрешить использовать разметку для комментариев."],"Updated settings.":["Настройки обновлены"],"Error updating settings. %(error)s":["Ошибка обновления настроек. %(error)s"],"Regenerated Post by Email address.":["Пересоздание записи по адресу эл.почты."],"Error regenerating Post by Email address. %(error)s":["Во время повторного создания адреса для публикации записи по электронной почте произошла ошибка. %(error)s"],"Updated settings. Refreshing page…":["Настройки сохранены. Обновляем страницу..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Используется {{a}}Режим разработки{{/a}} (некоторые возможности отключены) потому что: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}jetpack_development_mode фильтр активен{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Назначена константа JETPACK_DEV_DEBUG{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}в адресе сайта нет точки (напр. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics это бесплатный сервис дополняющий нашу {{a}}встроенную статистику{{/a}} несколько другим взглядом на ваш трафик. Статистика WordPress.com и Google Analytics используют разные методы для идентификации и отслеживания активности на сайте, так что это нормально если они будут показывать несколько разные значения визитов, просмотров и.т.д."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Настроить Google Analytics"],"Activate Google Analytics":["Активировать Google Analytics"],"Download the free apps":["Загрузить бесплатные приложения"],"Upgrade Focus: VideoPress For Weddings":["Акцент обновления: VideoPress для свадеб"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Можно также настроить связанные записи в разделе «Конфигуратор». {{ExternalLink}}Попробуйте!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["По умолчанию рекламные сообщения размещаются в конце каждой страницы, записи или первой статьи на главной странице. Вы можете добавить их в верхнюю часть страницы или в любую область для виджетов, чтобы увеличить свой доход!"],"Display an ad unit at the top of your site.":["Разместить рекламу в верхней части сайта."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Активируя рекламу вы соглашестесь с {{link}}Условиями Использования{{/link}} рекламы Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Для вашего сервера заданы неправильные настройки, поэтому Jetpack Protect не может эффективно защищать ваш сайт."],"In \"Mobile\"":["В разделе «Для мобильных устройств»"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Измените настройки уведомлений об отслеживаемых событиях на WordPress.com{{/link}}"],"View your earnings":["Посмотреть ваши доходы"],"Configure site SEO":["Настроить SEO сайта"],"Activate SEO tools":["Активировать SEO инструменты"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Чтобы начать нажмите на \"Добавить медиафайл\" в редакторе записей и загрузите видео, мы позаботимся об остальном!"],"Video Hosting":["Видео хостинг"],"SEO Tools":["SEO инструменты"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Расширенные инструменты поисковой оптимизации для ускоренного нахождения вашего сайта по соответствующим запросам."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Простейший способ добавить свободное от рекламы и фирменной символики видео на сайт. Вы сможете отслеживать статистику просмотров видео и ссылок на него. Проигрыватель отличается высокой скоростью и удобством управления."],"You are running Jetpack on a staging server.":["Jetpack работает на тестовом сервере."],"More Info":["Больше информации"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Управление видимости отметок \"нравится\" в настройках модуля \"поделиться\"{{/a}}"],"Your current IP: %(ip)s":["Ваш текущий IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Остались несохранённые настройки, которые будут потеряны, если вы покинете эту вкладку. Всё равно покинуть?"],"This will reset all Jetpack options, are you sure?":["Это сбросит все настройки Jetpack! Вы уверены?"],"Search for a Jetpack feature.":["Найдите компонент Jetpack."],"Configure your Security Scans":["Настройка проверок безопасности"],"Subscriber":["Подписчик"],"Big iPhone/iPad Update Now Available":["Доступно большое обновление для iPhone и iPad"],"The WordPress for Android App Gets a Big Facelift":["Грандиозное обновление приложения WordPress для Android"],"WordPress.com Likes are:":["Отметки «Нравится» в WordPress.com:"],"A few catchy words to motivate your visitors to comment.":["Несколько привлекающих внимание слов, чтобы побудить читателей оставлять комментарии."],"Hide the stats smiley face image":["Скрыть смайлик статистики"],"Whitelisted IP addresses":["Разрешенные IP-адреса"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Показывать рекламу для мобильных приложений WordPress в нижней части темы мобильных приложений"],"Copied!":["Скопировано!"],"Highlight and copy the following text to your clipboard:":["Выделите и скопируйте в буфер обмена следующий текст:"],"Regenerate address":["Создать адрес заново"],"Cheatin' uh?":["Жульничаем?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Расскажите, почему вы не завершили подключение Jetpack, ответив на эти {{a}}2 вопроса{{/a}}?{{/p}}{{p}}Подключение Jetpack необходимо для работы наших бесплатных функций безопасности и управления трафиком.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Добро пожаловать в {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Jetpack уже подключен."],"You're fueled up and ready to go, Jetpack is now active.":["Jetpack активирован. Теперь можно приступать к работе."],"You're fueled up and ready to go.":["Теперь можно приступать к работе."],"You are currently running a development version of Jetpack.":["Сейчас вы работаете в тестовой версии Jetpack."],"Submit Beta feedback":["Отправить отзыв"],"What would you like to see on your Jetpack Dashboard?":["Что бы вы хотели видеть в консоли Jetpack?"],"Let us know!":["Свяжитесь с нами!"],"Saving…":["Сохранение…"],"Save Settings":["Сохранить настройки"],"Jetpack Stats Icon":["Значок статистики Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Активируйте статистику сайта{{/a}}, чтобы видеть отметки «Нравится», читателей, подписчиков и другие сведения. {{a1}}Подробнее{{/a1}}"],"Activate Site Stats":["Активация статистики сайта"],"Site Backups":["Резервные копии сайта"],"Upgrade":["Обновление"],"ACTIVE":["АКТИВНА"],"View your spam stats":["Просмотр статистики спама"],"View your security dashboard":["Просмотр консоли безопасности"],"Real-Time Backups":["Резервное копирование в режиме реального времени"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Сайт находится в режиме разработки, поэтому его нельзя подключить к WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Привяжите учетную запись к WordPress.com для максимально эффективного использования Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Для автоматизированной комплексной проверки наличия угроз безопасности {{a}}установите и активируйте{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack активно блокирует несанкционированные попытки входа. Данные здесь скоро появятся!"],"Total malicious attacks blocked on your site.":["Общее число вредоносных атак, заблокированных на сайте."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Активируйте защиту{{/a}}, чтобы обезопасить сайт от несанкционированных попыток входа."],"All plugins are up-to-date. Awesome work!":["Все плагины уже обновлены. Превосходная работа!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack выполняет мониторинг сайта. Если нам покажется, что ваш сайт не работает, вы получите сообщение по электронной почте."],"Security":["Безопасность"],"Performance":["Производительность"],"Backup":["Резервные копии"],"{{a}}View backup details{{/a}}.":["{{a}}Просмотр сведений о резервной копии{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Для автоматического резервного копирования всего сайта {{a}}установите и активируйте{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Недоступно в режиме разработки."],"Unavailable in Dev Mode":["Недоступно в режиме разработки"],"Activating %(slug)s…":["Активация %(slug)s…"],"%(slug)s has been activated.":["Функция %(slug)s активирована."],"%(slug)s failed to activate. %(error)s":["Не удалось активировать %(slug)s. %(error)s"],"Deactivating %(slug)s…":["Деактивация %(slug)s…"],"%(slug)s has been deactivated.":["Функция %(slug)s деактивирована."],"%(slug)s failed to deactivate. %(error)s":["Не удалось деактивировать %(slug)s. %(error)s"],"Updating %(slug)s settings…":["Обновление настроек %(slug)s…"],"Updated %(slug)s settings.":["Обновлены настройки %(slug)s."],"Error updating %(slug)s settings. %(error)s":["Ошибка при обновлении настроек %(slug)s. %(error)s"],"Updating %(slug)s address…":["Обновление адреса %(slug)s…"],"Regenerated %(slug)s address .":["Повторно создан адрес %(slug)s."],"Error regenerating %(slug)s address. %(error)s":["Ошибка регенерации адреса %(slug)s. %(error)s"],"Resetting Jetpack options…":["Сброс параметров Jetpack…"],"Options reset.":["Параметры сброшены."],"Options failed to reset.":["Не удалось сбросить параметры."],"There was an error disconnecting Jetpack. Error: %(error)s":["При отключении Jetpack произошла ошибка. Ошибка: %(error)s"],"Unlinking from WordPress.com":["Отмена привязки к WordPress.com."],"Unlinked from WordPress.com.":["Привязка к WordPress.com отменена."],"Error unlinking from WordPress.com. %(error)s":["При отмене привязки к WordPress.com произошла ошибка. %(error)s"],"At A Glance":["Краткий обзор"],"Dashboard":["Консоль"],"Automattic's Privacy Policy":["Политика конфиденциальности Automattic"],"WordPress.com Terms of Service":["Условия предоставления услуг WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Включить автоматическое обновление плагинов.{{/a}}"],"Plugin Updates":["Обновления плагинов"],"No threats found, you're good to go!":["Угрозы не обнаружены, продолжайте работу!"],"{{a}}Contact Support{{/a}}":["{{a}}Обратиться в службу поддержки{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Просмотр подробных сведений на VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Внимание, обнаружена %(number)s угроза.","Внимание, обнаружены %(number)s угрозы.","Внимание, обнаружены %(number)s угрозы."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Активируйте мониторинг{{/a}}, чтобы получать уведомления, когда сайт не работает."],"Loading…":["Загрузка..."],"Downtime monitor":["Мониторинг доступности сайта"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Просмотреть подробную статистику на WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Подробная статистика{{/button}}"],"All-time comments":["Комментарии за всё время"],"All-time views":["Просмотры за всё время"],"%(number)s View":["%(number)s просмотр","%(number)s просмотра","%(number)s просмотров"],"Best overall day":["Наибольшее число просмотров за день"],"Views today":["Просмотров сегодня"],"Months":["Мес."],"Weeks":["Нед."],"Days":["Дн."],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["При загрузке статистики произошла ошибка. Повторите попытку позже или {{a}}просмотрите статистику сейчас на WordPress.com{{/a}}"],"Click to view detailed stats.":["Нажмите для просмотра подробной статистики."],"Views: %(numberOfViews)s":["Просмотры: %(numberOfViews)s"],"Week of %(date)s":["Неделя %(date)s"],"Site Security":["Безопасность сайта"],"Link to WordPress.com":["Привязать к WordPress.com"],"Unlink me from WordPress.com":["Отменить мою привязку к WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["При подключении Jetpack произошла ошибка. Нажмите «Подключение к WordPress.com» еще раз."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["При подключении Jetpack возникла проблема. Деактивируйте этот плагин, затем активируйте и подключите снова."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Не выходите из учётной записи в своем блоге WordPress, пока идёт авторизация Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Сбой в работе Jetpack.{{/s}} Приносим извинения за неудобства. Повторите попытку позже. Если устранить неполадку не удастся, отправьте в службу поддержки следующее сообщение. %(error_key)s"],"Disconnecting Jetpack":["Отключение Jetpack"],"Learn more":["Подробнее"],"Posts":["Записи"],"Front page":["Главная страница"],"Upload videos":["Загрузить видео"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Показывать похожее содержимое под записями"],"Related":["Похожее"],"Disconnect":["Отсоединиться"],"Save":["Сохранить"],"Media":["Медиафайлы"],"Mobile Theme":["Мобильная тема"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX — это эффективный язык разметки для написания сложных математических уравнений, формул и многого другого."],"Site Stats":["Статистика сайта"],"Sharing":["Поделиться"],"Testimonials":["Отзывы"],"Cancel":["Отмена"],"Comments":["Комментарии"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack не смог подключиться к WordPress.com: . Обычно это происходит из-за неправильных настроек на веб-узле."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["На WordPress.com сейчас проблемы и \"заправить\" ваш Jetpack невозможно. Пожалуйста, попробуйте снова через некоторое время."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Сбой в работе Jetpack.{{/s}} Невозможно подключить этот сайт к WordPress.com. Обычно это означает, что ваш сайт не является общедоступным (размещен на локальном узле)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Ваш сайт должен быть общедоступным, чтобы иметь возможность использовать Jetpack: %(error_key)s"],"Edit":["Изменить"],"Connected":["Подключен"],"Activate":["Активировать"],"Active":["Активно"],"Settings":["Настройки"],"Learn More":["Подробнее"],"Disconnect Jetpack":["Отключить Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Примечание.{{/b}} Эта функция будет отключена и удалена из пакета Jetpack в марте. {{link}}Подробнее{{/link}}"],"Settings header\u0004Jetpack Backup":["Резервное копирование Jetpack"],"Settings header\u0004Anti-spam":["Защита от спама"],"Settings header\u0004WP.me Shortlinks":["Короткие ссылки WP.me"],"Settings header\u0004Auto-update plugins":["Автоматические обновление плагинов"],"Settings header\u0004Widgets":["Виджеты"],"Settings header\u0004Downtime monitoring":["Мониторинг простоев"],"Settings header\u0004Privacy Settings":["Настройки приватности"],"Settings header\u0004WordPress.com toolbar":["Панель инструментов WordPress.com"],"Settings header\u0004Composing":["Создание записи"],"Settings header\u0004Site stats":["Статистика сайта"],"Settings header\u0004Search engine optimization":["Оптимизация для поисковых систем"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Кнопки \"Поделиться\""],"Settings header\u0004Publicize connections":["Подключения для публикации записей в социальных сетях"],"Settings header\u0004Like buttons":["Кнопки \"Нравится\""],"Settings header\u0004Brute force attack protection":["Защита от атак подбора"],"Settings header\u0004Backups and security scanning":["Резервирование и безопасность"],"Notice in the empty statistics chart\u0004No activity this period":["Нет активности за этот период"],"Settings header, noun.\u0004WordPress.com login":["Авторизация на WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Отправить ссылку"],"A caption for a button to cancel an action.\u0004Cancel":["Отмена"],"Link to learn more about Jetpack.\u0004About":["О Jetpack"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Модули"],"Navigation item.\u0004Performance":["Производительность"],"Navigation item.\u0004My Plan":["Мой тарифный план"],"Navigation item.\u0004Dev Tools":["Разработка"],"Navigation item.\u0004Settings":["Настройки"],"Navigation item.\u0004Discussion":["Обсуждение"],"Navigation item.\u0004Traffic":["Трафик"],"Navigation item.\u0004Sharing":["Поделиться"],"Navigation item.\u0004At A Glance":["Краткий обзор"],"Navigation item.\u0004Plans":["Тарифные планы"],"Navigation item.\u0004Writing":["Написание"],"Navigation item.\u0004Reset Options (dev only)":["Сброс параметров (только для версий разработки)"],"Navigation item.\u0004Security":["Безопасность"],"Navigation item.\u0004At a Glance":["Краткий обзор"],"Search term.\u0004terms of service":["условия использования "],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["данные"],"Search term.\u0004tracks":["отслеживание"],"Search term.\u0004privacy":["приватность"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Улучшить"],"Button caption\u0004Saving…":["Сохранение..."],"Button caption\u0004Save settings":["Сохранить настройки"],"A heading for a block of related posts.\u0004Related":["Похожие записи"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Предпросмотр"],"Short warning message\u0004Updates needed":["Требуется обновление"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Платно"],"A header for a preview area in the configuration screen.\u0004Preview":["Предпросмотр"],"Ads header\u0004Ads":["Реклама"],"Dashboard widget header\u0004Site connection":["Подключение сайта"],"Dashboard widget header\u0004Account connection":["Подключение аккаунта"],"A caption for a small button to fix security issues.\u0004Threats":["Угрозы"],"A caption for a small button to fix security issues.\u0004FIX":["Исправить"],"Short warning message about new threats found.\u0004Threats found!":["Найдены угрозы!"],"Short message informing user that the site is secure.\u0004Secure":["Безопасно"],"Caption for a button to set up a feature.\u0004Set up":["Настроить"],"verb\u0004Copy":["Копировать"],"Shorthand for Privacy Policy.\u0004Privacy":["Политика конфиденциальности"],"Shorthand for Terms of Service.\u0004Terms":["Условия"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Отладка"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Спам в комментариях заблокирован."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-sa_IN-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-sa_IN-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index d9d3725c..00000000
--- a/plugins/jetpack/languages/json/jetpack-sa_IN-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;"},"Disconnect Jetpack":[""],"Disconnecting Jetpack":[""],"Learn more":[""],"Front page":[""],"Posts":[""],"Site Stats":[""],"Save":[""],"Disconnect":[""],"Related":[""],"Show related content after posts":[""],"Google":[""],"Pinterest":[""],"Mobile Theme":[""],"Comments":[""],"Media":[""],"Sharing":[""],"Cancel":[""],"Testimonials":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"Learn More":[""],"Settings":[""],"Active":[""],"Activate":[""],"Connected":[""],"Edit":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-si_LK-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-si_LK-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 4ec4bbd8..00000000
--- a/plugins/jetpack/languages/json/jetpack-si_LK-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"si_LK"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["තවත් ඉගෙනගන්න"],"Posts":["ලිපි"],"Front page":["මුල් පිටුව"],"Pinterest":[""],"Google":[""],"Show related content after posts":["ලිපි වලට පසුව ඒවාට අදාළ අන්තර්ගතයන් පෙන්වන්න."],"Related":[""],"Disconnect":["විසන්ධි කරන්න"],"Save":["සුරකින්න"],"Media":["මාධ්‍යය"],"Site Stats":[""],"Sharing":[""],"Testimonials":[""],"Cancel":["අවලංගු කරන්න"],"Comments":["ප්‍රතිචාර"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["සංස්කරණය"],"Connected":["සම්බන්ධිතයි"],"Activate":["සක්‍රිය කරන්න"],"Active":["සක්‍රිය"],"Settings":["සැකසුම්"],"Learn More":["තවත් ඉගෙනගන්න"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-sk_SK-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-sk_SK-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index f202dd86..00000000
--- a/plugins/jetpack/languages/json/jetpack-sk_SK-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;","lang":"sk"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":[""],"Manage Subscription":[""],"Your site is being backed up.":[""],"You need to enter your server credentials to finish configuring Jetpack Backup.":[""],"Jetpack Backup is being configured for your site.":[""],"Daily Backups":[""],"Just looking for backups? We've got you covered.":[""],"Solutions":[""],"Included in your {{planLink}}Professional Plan{{/planLink}}":[""],"Included in your {{planLink}}Premium Plan{{/planLink}}":[""],"Included in your {{planLink}}Personal Plan{{/planLink}}":[""],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":[""],"Always-on backups ensure you never lose your site.":[""],"My Products":[""],"My Plan":[""],"Jetpack Backup {{em}}Real-Time{{/em}}":[""],"Your data is being securely backed up as you edit.":[""],"Jetpack Backup {{em}}Daily{{/em}}":[""],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":[""],"Jetpack Premium":[""],"Jetpack Personal":[""],"Jetpack Free":[""],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":[""],"Jetpack has many powerful tools that can help you achieve your goals":[""]," We’ve highlighted some of the features you rely on below.":[""],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":[""],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":[""],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":[""],"Disable":[""],"Are you sure you want to disconnect and deactivate?":[""],"Are you sure you want to disconnect?":[""],"Disable Jetpack":[""],"We back up your website with every change you make, making it easy to fix your mistakes.":[""],"Automated Real-time Backups":[""],"We back up your website every day, so you never have to worry about your data again.":[""],"Automated Daily Backups":[""],"View Your Backups":[""],"A Jetpack Site securely backed up with Jetpack Backup":[""],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Image Accelerator":[""],"Start with free":[""],"Now that you're set up, pick a plan that fits your needs.":[""],"Jetpack Backup":[""],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":[""],"Already have a key? {{a}}Activate Akismet{{/a}}":[""],"Verifying…":[""],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":[""],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":[""],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":[""],"Customize your SEO settings":[""],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":[""],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":[""],"Include a small chart in your admin bar with a 48-hour traffic snapshot":[""],"Expand to update settings for how visits are counted and manage who can view this information.":[""],"You can customize the sharing buttons and choose which services to display.":[""],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":[""],"Find threats early so we can help fix them fast.":[""],"Replace your site's basic search with customizable search that helps visitors find answers faster.":[""],"Never worry about losing your site – automatic backups keep your content safe.":[""],"Protect":[""],"Scan":[""],"Automatically clear spam from your comments and forms so you can get back to your business.":[""],"Anti-spam":[""],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":[""],"Log in to the WordPress mobile app":[""],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":[""],"Email me a link to log in to the app":[""],"Send your new posts to this email address:":[""],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":[""],"Generate shortened URLs for simpler sharing.":[""],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":[""],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":[""],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":[""],"Add sharing buttons to your posts and pages":[""],"Share your content to social media, reaching new audiences and increasing engagement.":[""],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":[""],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":[""],"Choose which plugins to auto-update":[""],"Upgrade Jetpack now":[""],"Monetize your site by running high quality ads.":[""],"Customize your social posting schedule.":[""],"Expand your audience with pro SEO tools.":[""],"Take your site to the next level!":[""],"Search support docs":[""],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":[""],"Start sharing":[""],"Optimized performance":[""],"Enable the “subscribe to comments” option on your comment form":[""],"Enable the “subscribe to site” option on your comment form":[""],"Manage advanced comment settings and grow your audience with email subscriptions.":[""],"Comment form introduction":[""],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":[""],"Failed to send login email":[""],"Login email sent":[""],"Sending login email…":[""],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":[""],"Allow readers to like individual comments.":[""],"Enable comment likes.":[""],"Allow readers to use markdown in comments.":[""],"Show Gravatar hovercards alongside comments.":[""],"Complete Jetpack Setup":[""],"Your Jetpack setup progress":[""],"View your setup checklist":[""],"Yearly":[""],"Monthly":[""],"About Jetpack":[""],"Enable widget visibility controls to display widgets only on particular posts or pages":[""],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":[""],"Make extra widgets available for use on your site including subscription forms and Twitter streams":[""],"Enhance CSS customization panel":[""],"Writing":[""],"Compose using shortcodes to embed media from popular sites":[""],"Traffic":[""],"You need to enter your server credentials to finish configuring Backups and Scan.":[""],"Awaiting credentials":[""],"Backups and Scan are being configured for your site.":[""],"Provisioning":[""],"Action needed":[""],"Setting up":[""],"Discussion":[""],"We are configuring your site protection.":[""],"View your site's backups":[""],"We are backing up your site in real-time.":[""],"Enter credentials":[""],"You need to enter your server's credentials to finish the setup.":[""],"We are configuring your site's backups.":[""],"View site activity":[""],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":[""],"Explore our Jetpack plans":[""],"Support documentation":[""],"Chat bubbles representing getting in touch with support":[""],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":[""],"Increase traffic to your site":[""],"Explore free themes":[""],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":[""],"A wide variety of themes and tools to customize a site":[""],"Set up your site security":[""],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":[""],"Site stats showing an evolution in traffic and engagement":[""],"A hand holding a loupe":[""],"A chart showing an healthy increase in earnings":[""],"Interface showing a chronological list of changes and updates in a site":[""],"A cloud with multiple types of content floating around it":[""],"A folder holding real comments":[""],"Make your site faster":[""],"Load pages faster by serving your images from our global network of servers.":[""],"A fast and performant website":[""],"A secure site, locked and protected by Jetpack":[""],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":[""],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":[""],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":[""],"Add Like buttons to your posts and pages":[""],"When visitors enjoy your content, let them show it with a Like.":[""],"Create account":[""],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":[""],"Compose content the way you want to and streamline your publishing experience.":[""],"Add a portfolio item":[""],"Add a testimonial":[""],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":[""],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":[""],"Error enabling Site accelerator. %(error)s":[""],"Site accelerator is now speeding up your site!":[""],"Enabling Site accelerator…":[""],"Error disabling site accelerator. %(error)s":[""],"Site accelerator is no longer speeding up your site!":[""],"Disabling site accelerator…":[""],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":[""],"High-speed, high-definition video hosting with no third-party ads.":[""],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":[""],"Marketing Automation":[""],"Activate Jetpack Search":[""],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":[""],"Start earning":[""],"WordAds lets you earn money by displaying promotional content. Start earning today.":[""],"Spam is automatically blocked from your comments.":[""],"Browse premium themes":[""],"Access hundreds of beautifully designed premium themes at no extra cost.":[""],"Try a premium theme":[""],"View settings":[""],"Create a Jetpack account to view your email followers":[""],"Manage security settings":[""],"Jetpack is ready for the new WordPress editor":[""],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":[""],"Build your Jetpack site with blocks":[""],"A new editor? Yes! {{a}}Learn more{{/a}}.":[""],"The features you rely on, adapted for the new WordPress editor.":[""],"Take me to the new editor":[""],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":[""],"New in Jetpack!":[""],"Speed up static file load times":[""],"Speed up image load times":[""],"Enable site accelerator":[""],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":[""],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":[""],"Verify with Google":[""],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":[""],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Custom ads.txt entries":[""],"Privacy information":[""],"Enable Lazy Loading for images":[""],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":[""],"Performance & speed":[""],"Enable high-speed, ad-free video player":[""],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":[""],"Video":[""],"Carousel color scheme":[""],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":[""],"Show photo Exif metadata in carousel (when available)":[""],"Display images in a full-screen carousel gallery":[""],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":[""],"Portfolios shortcode: [portfolio]":[""],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":[""],"Testimonials shortcode: [testimonials]":[""],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":[""],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":[""],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":[""],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":[""],"Configure related posts in the Customizer":[""],"Highlight related content with a heading":[""],"View security scan details":[""],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":[""],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":[""],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":[""],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":[""],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":[""],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Táto funkcia je spravovaná administrátorom webovej stránky. {{link}}Dozvedieť sa viac{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Táto funkcia bola zakázaná administrátorom webovej stránky. {{link}}Dozvedieť sa viac{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Táto funkcia bola povolená administrátorom webovej stránky. {{link}}Dozvedieť sa viac{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Modul %(moduleName)s bol zakázaný administrátorom webovej stránky. {{link}}Dozvedieť sa viac{{/link}}."],"This feature has been disabled by a site administrator.":["Táto funkcia bola zakázaná administrátorom webovej stránky."],"%(moduleName)s has been disabled by a site administrator.":["Modul %(moduleName)s bol zakázany administrátorom webovej stránky."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Použitím widgetu Ad môžete umiestniť ďalšie reklamy. {{link}}Vyskúšajte!{{/link}}"],"Configure your notification settings":["Nakonfigurujte nastavenia svojich notifikácií"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":[""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Súbory vašej webovej stránky sú pravidelne kontrolované proti neoprávneným a podozrivým zmenám, ktoré by mohli kompromitovať vašu bezpečnosť a dáta."],"Plugin needs updating.":["Plugin vyžaduje aktualizáciu.","Pluginy vyžadujú aktualizáciu.","Pluginov vyžaduje aktualizáciu."],"%(number)s":["%(number)s","%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":[""],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":[""],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack monitor výpadkov bude neustále kontrolovať vašu webovú stránku a kontaktuje vás hneď, ako zistí výpadok."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":[""],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":[""],"Loads the next posts automatically when the reader approaches the bottom of the page.":[""],"Allows you to publish new posts by sending an email to a special address.":[""],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":[""],"Displays information on your site activity, including visitors and popular posts or pages.":[""],"Allows you to optimize your site and its content for better results in search engines.":[""],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":[""],"Displays high-quality ads on your site that allow you to earn income.":[""],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":[""],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":[""],"Allows registered users to log in to your site with their WordPress.com accounts.":[""],"Protects your site from traditional and distributed brute force login attacks.":[""],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":[""],"Removes spam from comments and contact forms.":[""],"We are committed to your privacy and security. ":[""],"View all Jetpack plans":[""],"Manage your plan":[""],"Your Plan":[""],"You’re currently on Jetpack %(plan)s.":[""],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":[""],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":[""],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":[""],"Add Search (Jetpack) Widget":[""],"Jetpack Search is powering search on your site.":[""],"Manage your plugins":[""],"Moderate comments":[""],"Error updating privacy settings. %(error)s":[""],"Updated privacy settings.":[""],"Updating privacy settings…":[""],"Add Jetpack Search Widget":["Pridať widget Jetpack vyhľadávanie"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":[""],"Daily backups, spam filtering, and priority support.":["Denné zálohovanie, filtrovanie spamu a prioritná podpora."],"Always-on security":["Neustále zabezpečenie"],"Activate video hosting":["Aktivovať video hosting"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Okamžité zálohovanie všetkých webových stránok s neobmedzeným priestorom, obnoveniami na jedno kliknutie, zautomatizované skenovanie zabezpečenia a prioritná podpora."],"Design the perfect website":["Navrhnite úžasnú webovú stránku"],"Set up Jetpack":["Nainštalovať Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Okamžité zálohovanie všetkých webových stránok s neobmedzeným priestorom, obnovením na jedno kliknutie a zautomatizovaným skenovaním zabezpečenia."],"Jetpack Search":["Vyhľadávač Jetpack"],"Jetpack version %(version)s":["Jetpack verzia %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Vaša webová stránka je zálohovaná v reálnom čase a pravidelne kontrolovaná proti bezpečnostným hrozbám."],"Daily backup of all your site data with unlimited space and one-click restores":["Denná záloha všetkých dát na vašej webovej stránke s neobmedzeným úložiskom a obnovou na jedno kliknutie"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Denná záloha všetkých dát na vašej webovej stránke s neobmedzeným úložiskom, obnovy na jedno kliknutie, automatická kontrola zabezpečenia a prioritná podpora"],"View your security activity":["Zobrazte svoju bezpečnostnú aktivitu"]," (powered by VaultPress).":["(poháňané modulom VaultPress)."],"Customize Search Widget":["Prispôsobiť widget vyhľadávania"],"Please correct the issue below and try again.":["Opravte problém nižšie a skúste to znova.","Opravte problémy nižšie a skúste to znova.","Opravte problémy nižšie a skúste to znova."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Snažíme sa, aby vaša webová stránka zostala bez bezpečnostných hrozieb. Budete informovaní, ak nejakú nájdeme."],"Jetpack version":["Jetpack verzia"],"Activity":["Aktivita"],"{{a}}View details{{/a}}":["{{a}}Zobraziť podrobnosti{{/a}}"],"Monetize your site with ads":["Speňažte svoju webovú stránku pomocou reklám"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Pripojením svojich webových stránok, súhlasíte s našimi fascinujúcimi {{tosLink}}Zmluvnými podmienkami{{/ tosLink}} a s {{shareDetailsLink}}podrobnosťami o zdieľaní{{/ shareDetailsLink}} s WordPress.com"],"Jetpack Stats People":["Jetpack Štatistiky Ľudí"],"Hello there! Your stats have been activated.":["Ahoj! Vaše štatistiky boli aktivované."],"Just give us a little time to collect data so we can display it for you here.":["Dajte nám trochu času na zhromažďovanie údajov, aby sme si ich tu mohli zobraziť."],"Okay, got it!":["OK, mám to!"],"Display ads below posts on":["Zobrazovať reklamy pod článkami na "],"Additional ad placements":["Dodatočné umiestnenie reklamy"],"Top of each page":["Horná časť každej stránky"],"Second ad below post":["Druhá reklama pod článkom"],"Archives":["Archívy"],"Stars":["Hviezdy"],"Jupiter":["Jupiter"],"Schedule posts":["Plánovanie článkov"],"Activate Publicize":["Aktivovať modul Publicize"],"Your site is backed up.":["Vaša stránka je zálohovaná."],"Get WordPress Apps for every device":["Stiahnite si WordPress aplikácie pre všetky zariadenia "],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Spravujte všetky vaše webové stránky z jednej nástenky: zverejňujte obsah, sledujte štatistiky, spravujte komentáre a využívajte mnoho ďalších funkcií odkiaľkoľvek na svete"],"Create address":["Vytvoriť adresu "],"Automatically share your posts to social networks":["Automaticky zdieľajte vaše články na sociálnych sieťach"],"Updating settings…":["Aktualizácia nastavení…"],"Updating Post by Email address…":["Aktualizácia článku e-mailovou adresou…"],"Your paid plan gives you access to prioritized Jetpack support.":["Váš platený paušál vám poskytuje prístup k prioritnej podpore."],"You have paid for backups but they're not yet active.":["Zakúpili ste si funkcionalitu zálohovania, ale zatiaľ nie je aktívna."],"You have paid for backups and security scanning but they’re not yet active.":["Zakúpili ste si funkcionalitu zálohovania a automatickej kontroly zabezpečenia, ale zatiaľ nie sú aktívne."],"Click \"Set Up\" to finish installation.":["Kliknite na \"Nastaviť\" k dokončeniu inštalácie."],"Checking site status…":["Kontroluje sa stav webovej stránky…"],"Pages":["Stránky"],"Access the full list of Jetpack modules available on your site.":["Získajte prístup k úplnému zoznamu Jetpack modulov dostupných na vašej webovej stránke."],"We're here to help":["Sme tu, aby sme vám pomohli "],"Jetpack comes with free, basic support for all users.":["Jetpack je dodávaný s bezplatnou základnou podporou pre všetkých používateľov."],"Ask a question":["Položiť otázku"],"Search our support site":["Prehľadávať našu webovú stránku podpory"],"Get a faster resolution to your support questions.":["Získajte rýchlejšie riešenia na vaše otázky týkajúce sa podpory."],"Host fast, high-quality, ad-free video.":["Hosťujte rýchle, vysokokvalitné vidá bez reklám."],"Generate income with high-quality ads.":["Zarábajte vkladaním vysoko kvalitných reklám."],"Real-time site backups and automatic threat resolution.":["Zálohovanie webovej stránky v reálnom čase a automatické riešenie hrozieb."],"Protect against data loss, malware, and malicious attacks.":["Chráni pred stratou dát, malvérom a škodlivými útokmi."],"Protect your site from spam.":["Chráňte svoju webovú stránku pred spamom."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Táto webová stránka nie je pripojená k WordPress.com. Požiadajte administrátora webovej stránky vytvorenie pripojenia."],"An Automattic Airline":[""],"Manage site connection":["Spravovať pripojenie webovej stránky"],"Connect your account to WordPress.com to view more stats":["Pre zobrazenie ďalších štatistík pripojte váš účet k WordPress.com"],"Theme enhancements":["Vylepšenia témy"],"Load more posts using the default theme behavior":["Načítať viac článkov pomocou predvoleného správania témy"],"Load more posts in page with a button":["Načítať viac článkov na stránke pomocou tlačidla"],"Load more posts as the reader scrolls down":["Načítať viac článkov, keď sa čitateľ posúva nadol"],"Theme support required.":["Je potrebná podpora témy."],"Learn more about adding support for Infinite Scroll to your theme.":["Dozvedieť sa viac o pridávaní podpory pre Nekonečné skrolovanie na vašu tému."],"Show excerpts instead of full posts on front page and archive pages":[""],"Show featured images":["Zobraziť ilustračné obrázky"],"Enable the WordPress.com toolbar":["Povoliť panel nástrojov WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Nástroje na písanie, ktoré máte k dispozícii, sa zobrazia tu, keď ich administrátor povolí."],"Portfolios":["Portfóliá"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Všimnite si, že {{b}}overovanie webovej stránky týmito službami nie je potrebné{{/b}}, aby webová stránka bola indexovaná vyhľadávacím nástrojom. Prilepte nižšie uvedený HTML kód značky, pokiaľ chcete využiť pokročilé vyhľadávacie nástroje a overiť webovú stránku so službou. Keď problémy pretrvávajú, prečítajte si {{support}}celkové inštrukcie {{/support}}. Podporované služby overovania: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, a {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generovať XML mapy stránok"],"The image helps collect stats, but should work when hidden.":["Obrázok pomáha zhromažďovať štatistiky, ale mal by fungovať, ak je skrytý."],"Count logged in page views from":["Spočítať náhľady prihlásenia na stránku z"],"Allow stats reports to be viewed by":["Povoliť záznamy štatisky komu"],"In \"Upgrade\"":["V kategórii \"Aktualizácie\" "],"Configure your Google Analytics settings":["Nakonfigurujte svoje Google Analytics nastavenia"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Zobraziť reklamy v prvom článku úvodnej stránky alebo na konci každej stránky a článku. Umiestnite dodatočné reklamy na vrch webovej stránky a do hocijakej oblasti widget, čím zarobíte viac."],"Enable ads and display an ad below each post":["Povoľte reklamy a zobrazte reklamu pod každým článkom"],"Configure your sharing buttons":["Nakonfigurujte svoje tlačidlá zdieľania"],"Connect your social media accounts":["Pripojte svoje účty sociálnych médií"],"Match accounts using email addresses":["Spárovať účty použitím e-mailových adries"],"Require accounts to use WordPress.com Two-Step Authentication":["Vyžadovať účty pre použitie dvojcestného overenia WordPress.com"],"Add to whitelist":["Pridať na zoznam povelených"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Môžete zadať zoznam IP adries alebo sériu adries, ktoré im bránia zablokovať Jetpack. IPv4 a IPv6 sú prijateľné. Ak chcete určiť rozsah, zadajte nízku hodnotu a vysokú hodnotu oddelenú pomlčkou. Príklad: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Vaša webová stránka je zálohovaná a bez ohrozenia."],"Checking your spam protection…":["Kontroluje sa vaša ochrana proti spamu…"],"Fetching key…":["Načítava sa kľúč…"],"Your site needs an Antispam key.":["Vaša webová stránka potrebuje kľúč služby Antispam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Vyskytol sa problém s API kľúčom služby Antispam. {{a}}Dozvedieť sa viac{{/a}}."],"Your site is not protected from spam.":["Vaša webová stránka nie je chránená pred spamom."],"Your Antispam key is valid.":["Váš kľúč služby Antispam je platný."],"Your site is protected from spam.":["Vaša webová stránka je chránená pred spamom."],"Checking key…":["Kontroluje sa kľúč…"],"Your API key":["Váš API kľúč"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Pokiaľ ešte nemáte svoj API kľúč, potom {{a}} získajte svoj API kľúč tu {{a}}. Naviguje vás to preocesom získania kľúča."],"No search results found for %(term)s":["Neboli nájdené žiadne výsledky vyhľadávania pre %(term)s"],"Enter a search term to find settings or close search.":["Pre nájdenie nastavení zadajte hľadaný výraz alebo zavrite vyhľadávanie."],"Connections":["Pripojenia"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Vaša webová stránka je vo vývojárskom režime, a preto nemôže byť pripojená k WordPress.com."],"Your site is connected to WordPress.com.":["Vaša webová stránka je pripojená na WordPress.com."],"You are the Jetpack owner.":["Ste Jetpack vlastník."],"Connected as {{span}}%(username)s{{/span}}":["Pripojený ako {{span}}%(username)s{{/span}}"],"View your Email Followers":["Zobraziť vašich e-mailových odberateľov"],"Color scheme":["Farebná schéma"],"Enable Markdown use for comments.":["Povoliť používanie jazyka Markdown pri komentároch."],"Updated settings.":["Nastavenia boli aktualizované."],"Error updating settings. %(error)s":["Pri aktualizácii nastavení sa vyskytla chyba. %(error)s"],"Regenerated Post by Email address.":["Novo vygenerovaná adresa služby Zverejniť cez e-mail."],"Error regenerating Post by Email address. %(error)s":["Pri generovaní novej adresy služby Zverejniť cez e-mail sa vyskytla chyba. %(error)s"],"Updated settings. Refreshing page…":["Nastavenia boli aktualizované. Obnovuje sa stránka..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Momentálne používate {{a}}Vývojový mód{{/a}} (niektoré funkcie sú zakázané), pretože: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Máte aktivovaný filter jetpack_development_mode{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Máte zadefinovanú konštantu JETPACK_DEV_DEBUG{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}V URL adrese vašej webovej stránky chýba bodka (napr. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics je bezplatná služba, ktorá dopĺňa naše {{a}}vstavané štatistiky{{/a}} s rôznymi pohľadmi na vašu návštevnosť. Štatistiky WordPress.com a Google Analytics používajú rozdielne metódy na identifikáciu a sledovanie aktivity na vašich webových stránkach, takže bežne budú ukazovať odlišné súčty vašich návštev, zobrazení, atď."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Nakonfigurujte Google Analytics"],"Activate Google Analytics":["Aktivovať Google Analytics"],"Download the free apps":["Stiahnite si bezplatné aplikácie"],"Upgrade Focus: VideoPress For Weddings":["Zameranie aktualizácie: VideoPress pre svadby"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Odteraz tiež môžete nakonfigurovať súvisiace články cez Možnosti prispôsobenia. {{ExternalLink}}Vyskúšajte!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["V predvolenom nastavení sa reklamy zobrazujú na konci každej stránky, článku alebo prvého článku na vašej titulnej stránke. Pre zvýšenie vašich zárobkov ich tiež môžete pridať na vrch vašej webovej stránky a do akejkoľvek oblasti pre widgety!"],"Display an ad unit at the top of your site.":["Zobraziť reklamu na vrchu vašej webovej stránky."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Aktivováciou reklamy súhlasíťe s {{link}}podmienkami služby{{/link}} Automattic Ads. "],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Modul Ochrana nedokáže efektívne chrániť vašu webovú stránku kvôli nesprávnej konfigurácii vášho servera."],"In \"Mobile\"":["V \"mobilnom telefóne\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Nakonfigujte vaše nastavenia notifikácií z monitoringu na WordPress.com{{/link}}"],"View your earnings":["Zobraziť vaše zárobky"],"Configure site SEO":["Konfigurovať SEO "],"Activate SEO tools":["Aktivovať SEO nástroje"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Pre začatie kliknite na tlačidlo Pridať súbor v editore článkov a nahrajte video; o ostatné sa už postaráme my!"],"Video Hosting":["Video hosting"],"SEO Tools":["SEO nástroje"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Pokročilé SEO nástroje, ktoré pomáhajú ľuďom nájsť vašu webovú stránku, keď hľadajú relevantný obsah."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Najjednoduchší spôsob nahrania neznačkových videí bez reklám na vašu webovú stránku. Budete dostávať štatistiky o prehrávaní a zdieľaní a prehrávač je jednoduchý a responzívny."],"You are running Jetpack on a staging server.":["Používate Jetpack na staging serveri."],"More Info":["Viac informácií"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Spravujte viditelnosť lajkov prostredníctvom nastavení modulu zdieľania.{{/a}}"],"Your current IP: %(ip)s":["Vaša aktuálna IP adresa: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Na tejto záložke sú neuložené nastavenia, ktoré budú stratené, ak odídete. Pokračovať?"],"This will reset all Jetpack options, are you sure?":["Všetky Jetpack nastavenia budú resetnuté, ste si istý?"],"Search for a Jetpack feature.":["Prehľadávať Jetpack funkcie."],"Configure your Security Scans":["Konfigurovať vašu kontrolu zabezpečenia"],"Subscriber":["Odberateľ"],"Big iPhone/iPad Update Now Available":["Veľká aktualizácia pre iPhone/iPad je už dostupná"],"The WordPress for Android App Gets a Big Facelift":["Aplikácia WordPress pre Android dostala úplne nový vzhľad"],"WordPress.com Likes are:":["Lajky WordPress.com sú"],"A few catchy words to motivate your visitors to comment.":["Zopár chytľavých slov, na motiváciu vašich návštevníkov komentovať."],"Hide the stats smiley face image":["Skryť obrázok smajlíka v štatistikách"],"Whitelisted IP addresses":["IP adresy na whitelist zozname"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Zobraziť reklamu na WordPress mobilné aplikácie v pätičke mobilnej témy"],"Copied!":["Skopírované!"],"Highlight and copy the following text to your clipboard:":["Zvýrazniť a skopírovať nasledovný text do vašej schránky:"],"Regenerate address":["Vygenerovať novú adresu"],"Cheatin' uh?":["Klamete?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Boli by ste nám ochotný v nasledovnom {{a}}krátkom prieskume{{/a}}prezradiť, prečo ste nedokončili Jetpack pripojenie?{{/p}}{{p}}Jetpack pripojenie je nevyhnutné pre fungovanie našich bezplatných funkcií zabezpečenia a návštevnosti.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Víta vás {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Váš Jetpack je už pripojený."],"You're fueled up and ready to go, Jetpack is now active.":["Všetko je nastavené, pripravené a Jetpack aktívny."],"You're fueled up and ready to go.":["Všetko je nastavené a pripravené."],"You are currently running a development version of Jetpack.":["Momentálne používate vývojovú verziu pluginu Jetpack."],"Submit Beta feedback":["Odoslať spätnú väzbu na beta verziu"],"What would you like to see on your Jetpack Dashboard?":["Čo by ste radi videli na Jetpack nástenke?"],"Let us know!":["Dajte nám vedieť!"],"Saving…":["Ukladá sa..."],"Save Settings":["Uložiť nastavenie"],"Jetpack Stats Icon":["Ikona Jetpack štatistík"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Aktivujte modul Štatistiky{{/a}}, aby ste videli detailné štatistiky o lajkoch, odberateľoch a ďalších parametroch! {{a1}}Dozvedieť sa viac{{/a1}}"],"Activate Site Stats":["Aktivovať modul Štatistiky"],"Site Backups":["Zálohy webovej stránky"],"Upgrade":["Vylepšiť"],"ACTIVE":["AKTÍVNY"],"View your spam stats":["Zobraziť vaše spamové štatistiky"],"View your security dashboard":["Zobraziť vašu nástenku zabezpečenia"],"Real-Time Backups":["Zálohy v reálnom čase"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Webová stránka je vo vývojovom móde, a preto sa nemôžete pripojiť na WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Ak chcete využívať Jepack naplno, pripojte váš účet na WordPress.com."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Pre automatizované a komplexné skenovanie bezpečnostných hrozieb {{a}}nainštalujte a aktivujte{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack aktívne blokuje zlomyseľné pokusy o prihlásenie. Čoskoro tu uvidíte konkrétne údaje!"],"Total malicious attacks blocked on your site.":["Celkový počet zlomyseľných útokov zablokovaných na vašej webovej stránke."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Aktivujte modul Ochrana{{/a}}, aby ste chránili vašu webovú stránku pred zlomyseľnými pokusmi o prihlásenie."],"All plugins are up-to-date. Awesome work!":["Všetky pluginy sú aktuálne. Skvelá práca!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack monitoruje vašu webovú stránku. Ak máme podozrenie, že je vaša webová stránka nedostupná, dostanete o tom e-mail."],"Security":["Zabezpečenie"],"Performance":["Výkon"],"Backup":["Záloha"],"{{a}}View backup details{{/a}}.":["{{a}}Zobraziť detaily zálohy{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Pre automatické zálohovanie celej vašej webovej stránky {{a}}nainštalujte a aktivujte{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Nedostupné vo vývojovom móde."],"Unavailable in Dev Mode":["Nedostupné vo vývojovom móde"],"Activating %(slug)s…":["Aktivujú sa %(slug)s…"],"%(slug)s has been activated.":["%(slug)s boli aktivované."],"%(slug)s failed to activate. %(error)s":["%(slug)s sa nepodarilo aktivovať. %(error)s"],"Deactivating %(slug)s…":["Deaktivujú sa %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s boli deaktivované."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s sa nepodarilo deaktivovať. %(error)s"],"Updating %(slug)s settings…":["Aktualizujú sa nastavenia pre %(slug)s..."],"Updated %(slug)s settings.":["Nastavenia pre %(slug)s boli aktualizované."],"Error updating %(slug)s settings. %(error)s":["Vyskytla sa chyba pri aktualizovaní nastavení pre %(slug)s. %(error)s"],"Updating %(slug)s address…":["Aktualizuje sa adresa pre %(slug)s..."],"Regenerated %(slug)s address .":["Bola vygenerovaná nová adresa pre %(slug)s."],"Error regenerating %(slug)s address. %(error)s":["Vyskytla sa chyba pri generovaní novej adresy pre %(slug)s. %(error)s"],"Resetting Jetpack options…":["Resetujú sa Jetpack nastavenia..."],"Options reset.":["Nastavenia boli resetnuté."],"Options failed to reset.":["Nepodarilo sa resetnúť nastavenia."],"There was an error disconnecting Jetpack. Error: %(error)s":["Nastala chyba pri odpájaní pluginu Jetpack. Chyba: %(error)s"],"Unlinking from WordPress.com":["Prebieha odpájanie z WordPress.com"],"Unlinked from WordPress.com.":["Odpojenie z WordPress.com bolo úspešné."],"Error unlinking from WordPress.com. %(error)s":["Vyskytla sa chyba pri odpájaní z WordPress.com. %(error)s"],"At A Glance":["Na prvý pohľad"],"Dashboard":["Nástenka"],"Automattic's Privacy Policy":["Ochrana osobných údajov v Automattic"],"WordPress.com Terms of Service":["Podmienky poskytovania služby WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Zapnúť automatické aktualizácie pluginu.{{/a}}"],"Plugin Updates":["Aktualizácie pluginov"],"No threats found, you're good to go!":["Neboli nájdené žiadne hrozby, môžete pokračovať!"],"{{a}}Contact Support{{/a}}":["{{a}}Kontaktovať podporu{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Zobraziť detaily na VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Och, bola nájdená %(number)s hrozba.","Och, boli nájdené %(number)s hrozby.","Och, bolo nájdených %(number)s hrozieb."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["Pre dostávanie e-mailových notifikácií v prípade výpadku vašej webovej stránky {{a}}aktivujte monitoring{{/a}}."],"Loading…":["Načítava sa..."],"Downtime monitor":["Monitoring výpadkov"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Zobraziť viac štatistík na WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Zobraziť detailné štatistiky{{/button}}"],"All-time comments":["Celkový počet komentárov"],"All-time views":["Celkový počet zobrazení"],"%(number)s View":["%(number)s zobrazenie","%(number)s zobrazenia","%(number)s zobrazení"],"Best overall day":["Najlepší deň doteraz"],"Views today":["Dnešné zobrazenia"],"Months":["Mesiace"],"Weeks":["Týždne"],"Days":["Dni"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Počas načítavania štatistík sa niečo pokazilo. Skúste to znova neskôr alebo {{a}}si pozrite vaše štatistiky teraz na WordPress.com{{/a}}"],"Click to view detailed stats.":["Pre zobrazenie detailných štatistík kliknite sem."],"Views: %(numberOfViews)s":["Počet zobrazení: %(numberOfViews)s"],"Week of %(date)s":["Týždeň s dátumami %(date)s"],"Site Security":["Zabezpečenie webovej stránky"],"Link to WordPress.com":["Pripoj ma na WordPress.com"],"Unlink me from WordPress.com":["Odpoj ma z WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Počas pripájania pluginu Jetpack sa vyskytol problém. Kliknite znova na &#8220;Pripojiť k WordPress.com&#8221;."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Počas pripájania pluginu Jetpack sa vyskytol problém. Deaktivujte a znovu aktivujte Jetpack a skúste sa pripojiť znova."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Počas overovania pluginu Jetpack musíte zostať prihlásený vo vašom WordPress blogu."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Váš Jetpack má poruchu.{{/s}} Ospravedlňujeme sa za vzniknuté nepríjemnosti. Skúste to znova neskôr a ak váš problém pretrváva, kontaktujte podporu a poskytnite im nasledovnú chybovú hlášku: %(error_key)s"],"Disconnecting Jetpack":["Odpájanie pluginu Jetpack"],"Learn more":["Dozvedieť sa viac"],"Posts":["Články"],"Front page":["Titulná stránka"],"Upload videos":["Nahrať video"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Zobraziť súvisiaci obsah pod článkami"],"Related":["Súvisiace"],"Disconnect":["Odpojiť"],"Save":["Uložiť"],"Media":["Multimédiá"],"Mobile Theme":["Mobilná téma"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX je silný značkovací jazyk pre písanie komplexných matematických rovníc, vzorcov a podobne."],"Site Stats":["Štatistiky"],"Sharing":["Zdieľanie"],"Testimonials":["Odporúčania"],"Cancel":["Zrušiť"],"Comments":["Komentáre"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack sa nedokáže spojiť s WordPress.com servermi: %(error_key)s. Táto chyba zvyčajne znamená chybu v konfigurácii na vašom hostingu."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com má momentálne problémy a nie je schopný komunikovať s pluginom Jetpack. Skúste to znova neskôr."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Váš Jetpack má poruchu.{{/s}} Pripojenie tejto webovej stránky na WordPress.com nie je možné. Zvyčajne to znamená, že vaša webová stránka nie je verejne prístupná (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Vaša webová stránka musí byť dostupná verejne, aby mohla využívať Jetpack: %(error_key)s"],"Edit":["Upraviť"],"Connected":["Pripojený"],"Activate":["Aktivovať"],"Active":["Aktívny"],"Settings":["Nastavenia"],"Learn More":["Dozvedieť sa viac"],"Disconnect Jetpack":["Odpojiť Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":[""],"Settings header\u0004Anti-spam":[""],"Settings header\u0004WP.me Shortlinks":[""],"Settings header\u0004Auto-update plugins":[""],"Settings header\u0004Widgets":[""],"Settings header\u0004Downtime monitoring":["Monitoring výpadkov"],"Settings header\u0004Privacy Settings":[""],"Settings header\u0004WordPress.com toolbar":["Panel nástrojov WordPress.com"],"Settings header\u0004Composing":["Tvorenie"],"Settings header\u0004Site stats":["Štatistiky webovej stránky"],"Settings header\u0004Search engine optimization":["Optimalizácia pre vyhľadávače"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Tlačidlá zdieľania"],"Settings header\u0004Publicize connections":["Pripojenia modulu Publicize"],"Settings header\u0004Like buttons":["Tlačidlá lajkov"],"Settings header\u0004Brute force attack protection":["Ochrana proti útokom hrubou silou"],"Settings header\u0004Backups and security scanning":["Zálohovanie a bezpečnostné skenovanie"],"Notice in the empty statistics chart\u0004No activity this period":[""],"Settings header, noun.\u0004WordPress.com login":[""],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":[""],"A caption for a button to cancel an action.\u0004Cancel":[""],"Link to learn more about Jetpack.\u0004About":[""],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Navigation item.\u0004Performance":[""],"Navigation item.\u0004My Plan":[""],"Navigation item.\u0004Dev Tools":["Vývojárske nástroje"],"Navigation item.\u0004Settings":["Nastavenia"],"Navigation item.\u0004Discussion":["Diskusia"],"Navigation item.\u0004Traffic":["Návštevnosť"],"Navigation item.\u0004Sharing":["Zdieľanie"],"Navigation item.\u0004At A Glance":["Na prvý pohľad"],"Navigation item.\u0004Plans":["Paušály"],"Navigation item.\u0004Writing":["Písanie"],"Navigation item.\u0004Reset Options (dev only)":["Resetnúť nastavenia (len pre vývojárske verzie)"],"Navigation item.\u0004Security":["Zabezpečenie"],"Navigation item.\u0004At a Glance":["Na prvý pohľad"],"Search term.\u0004terms of service":["Podmienky poskytovania služby"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["tracks"],"Search term.\u0004privacy":["privacy"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Zakúpiť"],"Button caption\u0004Saving…":["Ukladá sa..."],"Button caption\u0004Save settings":["Uložiť nastavenia"],"A heading for a block of related posts.\u0004Related":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Náhľad"],"Short warning message\u0004Updates needed":["Je potrebné nainštalovať aktualizácie"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Platené"],"A header for a preview area in the configuration screen.\u0004Preview":["Náhľad"],"Ads header\u0004Ads":["Reklamy"],"Dashboard widget header\u0004Site connection":["Pripojenie webovej stránky"],"Dashboard widget header\u0004Account connection":["Pripojenie účtu"],"A caption for a small button to fix security issues.\u0004Threats":["Hrozby"],"A caption for a small button to fix security issues.\u0004FIX":["OPRAVIŤ"],"Short warning message about new threats found.\u0004Threats found!":["Boli nájdené hrozby!"],"Short message informing user that the site is secure.\u0004Secure":["Zabezpečená"],"Caption for a button to set up a feature.\u0004Set up":["Nastaviť"],"verb\u0004Copy":["Kopírovať"],"Shorthand for Privacy Policy.\u0004Privacy":["Ochrana osobných údajov"],"Shorthand for Terms of Service.\u0004Terms":["Podmienky"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Ladenie"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["spamových správ bolo zablokovaných."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-sl_SI-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-sl_SI-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index c8c6d7cd..00000000
--- a/plugins/jetpack/languages/json/jetpack-sl_SI-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"},"Disconnect Jetpack":[""],"Disconnecting Jetpack":[""],"Learn more":[""],"Site Stats":[""],"Front page":[""],"Posts":[""],"Mobile Theme":[""],"Comments":[""],"Media":[""],"Save":["Shrani"],"Disconnect":[""],"Related":[""],"Show related content after posts":[""],"Google":[""],"Pinterest":[""],"Testimonials":[""],"Sharing":[""],"Cancel":["Prekliči"],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"Activate":["Aktiviraj"],"Connected":["Povezan"],"Edit":["Uredi"],"Learn More":[""],"Settings":[""],"Active":["Aktiven"]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-sq-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-sq-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 1a400ec1..00000000
--- a/plugins/jetpack/languages/json/jetpack-sq-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"sq_AL"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Plani juaj %(planName)s përfshin %(featureName)s. Duket se keni blerë edhe produktin %(productName)s. Shihni mundësinë e heqjes së %(productName)s."],"real-time backups":["kopjeruajtje të atypëratyshme"],"daily backups":["kopjeruajtje të përditshme"],"Renews on %s.":["Rinovohet më %s."],"Purchased on %s.":["Blerë më %s."],"Select a backup option:":["Përzgjidhni një mundësi kopjeruajtjeje:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Përmirësojeni me %(name)s për {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Po kurseni {{savings /}} duke paguar herët"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Nxitoni, këto janë {{s}}çmime prezantuese, për një kohë të kufizuar!{{/s}}"],"Up to %(percent)d%% off!":["Deri %(percent)d%% më pak!"],"per month":["në muaj"],"per year":["në vit"],"Which backup option is best for me?":["Cila mundësi kopjeruajtjeje është më e mira për mua?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Administroni Pajtim"],"Your site is being backed up.":["Sajti juaj po kopjeruhet."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Lypset të jepni kredencialet tuaja për te shërbyesi që të përfundojë formësimi i Kopjeruajtjeve Jetpack."],"Jetpack Backup is being configured for your site.":["Kopjeruajtja Jetpack për sajtin tuaj po formësohet."],"Daily Backups":["Kopjeruajtje të Përditshme"],"Just looking for backups? We've got you covered.":["Po shihni thjesht për kopjeruajtje? Jua kemi gati edhe këtë."],"Solutions":["Zgjidhje"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["E përfshirë në {{planLink}}Planin tuaj Profesional{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["E përfshirë në {{planLink}}Planin tuaj Me Pagesë{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["E përfshirë në {{planLink}}Planin tuaj Personal{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Kopjeruajtjet përherë aktive garantojnë që të mos e humbni kurrë sajtin tuaj. Ndryshimet tuaja ruhen dora-dorës që përpunoni diçka dhe keni arkiva të pakufizuar kopjeruajtjesh."],"Always-on backups ensure you never lose your site.":["Kopjeruajtjet përherë aktive garantojnë që të mos e humbni kurrë sajtin tuaj."],"My Products":["Produktet e Mi"],"My Plan":["Plani Im"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Kopjeruajtje Jetpack e {{em}}e AtypërAtyshme{{/em}}"],"Your data is being securely backed up as you edit.":["Të dhënat tuaja kopjeruhen në mënyrë të sigurt dora-dorës që përpunoni."],"Jetpack Backup {{em}}Daily{{/em}}":["Kopjeruajtje Jetpack e {{em}}Përditshme{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Të dhënat tuaja kopjeruhen në mënyrë të sigurt çdo ditë te një arkiv tridhjetëditor."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Me Pagesë"],"Jetpack Personal":["Jetpack Personal"],"Jetpack Free":["Jetpack Falas"],"Expired on %s.":["Ka skaduar më %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Keni ndonjë pyetje? Duam fort t’ju ndihmojmë! {{a}}Dërgojani pytjen ekipit të asistencës për Jetpack-un.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack-u ka mjaft mjete të fuqishme që mund t’ju ndihmojnë të arrini synimet tuaja"]," We’ve highlighted some of the features you rely on below.":[" Më poshtë kemi theksuar disa nga veçoritë te të cilat bazoheni."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack-u është duke mbajtur në punë veçori në sajtin tuaj. Pasi ta çaktivizoni Jetpack-un, këto veçori s’do të mund të përdoren dhe sajti juaj mund të mos funksionojë si tani."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack-u është duke mbajtur në punë veçori në sajtin tuaj. Pasi ta shkëputni Jetpack-un, këto veçori s’do të mund të përdoren dhe sajti juaj mund të mos funksionojë si tani."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Shtoni trafikun në sajtin tuaj përmes {{a}}publikimesh dhe ndarjesh me të tjerë{{/a}} në rrjete shoqërore në mënyrë të automatizuar"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Bllokoni {{a}}sulme hyrjesh me zor{{/a}} dhe merrni njoftim të menjëhershëm kur sajti nxirret nga funksionimi"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Përshpejtojeni sajtin tuaj dhe ofroni figura të gatshme për shfaqje në celular, përmes {{a}}CDN-së tonë{{/a}}"],"Disable":["Çaktivizoje"],"Are you sure you want to disconnect and deactivate?":["Jeni i sigurt se doni të shkëputet dhe të çaktivizohet?"],"Are you sure you want to disconnect?":["Jeni i sigurt se doni të shkëputet?"],"Disable Jetpack":["Çaktivizoje Jetpack-un"],"We back up your website with every change you make, making it easy to fix your mistakes.":["E kopjeruajmë sajtin tuaj pas çdo ndryshimi që bëni, duke e bërë të lehtë ndreqjen e gabimeve tuaja."],"Automated Real-time Backups":["Kopjeruajtje të Automatizuar të Atypëratyshëm"],"We back up your website every day, so you never have to worry about your data again.":["E kopjeruajmë sajtin tuaj çdo ditë, që të mos ju duhet të çani më kokën mbi të dhënat tuaja."],"Automated Daily Backups":["Kopjeruajtje të Përditshme të Automatizuara"],"View Your Backups":["Shihni Kopjeruajtjet Tuaja"],"A Jetpack Site securely backed up with Jetpack Backup":["Një Sajt Jetpack i kopjeruajtur me siguri me Kopjeruajtje Jetpack"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Përdorni sintaksë Markdown për të hartuar lëndë me lidhje, lista dhe elementë të tjerë stili. Ky rregullim aktivizon Markdown te Përpunuesi Klasik, si edhe brenda një blloku Përpunuesi Klasik."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Aktivizojeni{{/a}} që të optimizohen madhësitë e figurave dhe që ato të ngarkohen që nga rrjeti i shpejtë global i shërbyesve Jetpack. Kjo përmirëson funksionimin e sajtit tuaj në desktop dhe në pajisje celulare."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack-u po i optimizon madhësitë e figurave tuaja dhe shpejtësinë e shkarkimit për to duke përdorur rrjetin tonë të shpejtë global të shërbyesve. Kjo përmirëson funksionimin e sajtit tuaj në desktop dhe në pajisje celulare."],"Image Accelerator":["Përshpejtues Figurash"],"Start with free":["Fillojani me atë falas"],"Now that you're set up, pick a plan that fits your needs.":["Tani që jeni sistemuar, zgjidhni një plan që puqet me nevojat tuaja."],"Jetpack Backup":["Kopjeruajtje Jetpack"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Plani juaj Jetpack furnizon mbrojtje kundër mesazhesh të padëshiruar përmes Akismet-it. Klikoni mbi 'ujdiseni' që të aktivizohet në sajtin tuaj."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Keni tashmë një kyç? {{a}}Aktivizoni Akismet-in{{/a}}"],"Verifying…":["Po verifikohet…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Fuqizoni radhitjen tuaj nga motorë kërkimesh, përmes mjetesh të fuqishme SEO te Jetpack Premium ose ai Profesional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Jepini sajtit tuaj ngarkim më të shpejtë, pamje më të hajthët, për pajisje celulare. Në madhësi të tjera ekranesh, vizitorët prapë do të shohin temën tuaj të zakonshme."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Ofroni lexim të rrjedhshëm, të pandërprerë, përmes ngarkimit të më tepër lënde, dora-dorës që vizitorët rrëshqasin drejt fundit të faqeve tuaja të arkivit."],"Customize your SEO settings":["Përshtatni rregullimet tuaja për SEO"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Merrni në dorë kontrollin e mënyrës se si motorët e kërkimeve paraqesin sajtin tuaj. Me mjetet SEO të Jetpack-ut mund të parashihni se si do të duket lënda juaj në motorë të njohur kërkimesh dhe të ndryshoni brenda pak sekondash elementë të tillë si emri i sajtit tuaj dhe motoja e tij."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Shtoni butona ndarjesh me të tjerë, që kështu vizitorët të mund të ndajnë në media shoqërore postime dhe faqe tuajat me një a dy klikime të shpejta."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Përfshini te shtylla juaj e përgjegjësi një grafik të vockël me një pamje të trafikut gjatë 48 orëve"],"Expand to update settings for how visits are counted and manage who can view this information.":["Zgjerojeni që të përditësoni rregullimet se si numërohen dhe administrohen ata që mund të shohin këto të dhëna."],"You can customize the sharing buttons and choose which services to display.":["Butonat e ndarjeve me të tjerë mund t’i përshtatni dhe të zgjidhni cilat shërbimet të shfaqen."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Sajti juaj mbrohet me Jetpack. Nëse ka diçka që lyp vëmendje, do të njoftoheni."],"Find threats early so we can help fix them fast.":["Gjejini në kohë kërcënimet, që të mund të ndihmojmë të zgjidhen shpejt."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Zëvendësoni kërkimin elementar të sajtit tuaj me kërkim që mund të përshtatet, çka i ndihmon vizitorët të gjejnë përgjigje më shpejt."],"Never worry about losing your site – automatic backups keep your content safe.":["Mos u shqetësoni më se mos humbni sajtin tuaj – kopjeruajtjet e automatizuara e mbajnë të parrezik lëndën tuaj."],"Protect":["Mbrojeni"],"Scan":["Skanoje"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Pastroni automatikisht mesazhe të padëshiruar nga komentet dhe formularët, që kështu të mund të merreni me punët tuaja."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Lidheni sajtin tuaj me Google Analytics brenda pak sekondash, përmes Jetpack Premium ose Professional."],"Log in to the WordPress mobile app":["Bëni hyrjen që nga aplikacionin WordPress për celular"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Hyni me lehtësi në aplikacionin WordPress duke klikuar lidhjen që do t’ju dërgojmë te adresa email në llogarinë tuaj."],"Email me a link to log in to the app":["Dërgomëni me email një lidhje hyrjeje te aplikacioni"],"Send your new posts to this email address:":["Dërgojini postimet tuaja të reja te kjo adresë email:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Postimi përmes email-i është një rrugë e shpejtë për të botuar postime të reja pa vizituar sajtin tuaj. Do të prodhojmë për ju një adresë email unike ku të dërgoni lëndë tuajën, e cila mandej shfaqet në sajtin tuaj si çfarëdo postimi tjetër."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["Paneli WordPress.com zëvendëson panelin parazgjedhje të përgjegjësit në WordPress. Ofron hyrje me një klikim te njoftime, te profili juaj WordPress.com dhe sajte të tjerë tuajt Jetpack dhe WordPress.com. Mund të shihni edhe të rejat në sajte që ndiqni në Lexues."],"Verify site ownership with third party services":["Verifikoni pronësi sajti me shërbime palë të treta"],"Generate shortened URLs for simpler sharing.":["Prodhoni URL të shkurtuara për ndarje më të lehtë me të tjerët."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Mbajini aktivë vizitorët tuaj me lëndë të përafërt në fund të çdo postimi. Këto rregullime nuk do të zbatohen mbi {{a}}postime të përafërta të shtuara duke përdorur përpunuesin me blloqe{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Veçoria i ndihmon vizitorët të gjejnë më tepër nga lënda juaj, duke shfaqur postime të afërta në fund të çdo postimi."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack-u prodhon automatikisht një {{link1}}ads.txt{{/link1}} qepur enkas për sajtin tuaj. Nëse ju duhet të shtoni zëra të tjerë për rrjete të tjerë, ju lutemi, shtojini në hapësirën më poshtë, një për rresht. {{link2}}Për më tepër hollësi, shihni këtu{{/link2}}."],"Add sharing buttons to your posts and pages":["Shtoni te postimet dhe faqet tuaja butona për ndarjen e tyre me të tjerë"],"Share your content to social media, reaching new audiences and increasing engagement.":["Ndani lëndë tuajën me të tjerë në media shoqërore, duke mbërritur te publik i ri dhe duke shtuar tërheqjen e tij."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Merrni sinjalizime, nëse sajti juaj del jashtë funksionimi. Do t’ju njoftojmë edhe kur rikthehet në punë."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Me Jetpack-un mund të zgjidhni vetëpërditësimin e shtojcave e tuaja fill pas çdo hedhje të re në qarkullim të shtojcës. Do të merrni menjëherë ndreqjet më të freskëta të sigurisë dhe të metave, duke garantuar që sajti juaj të jetë i parrezikuar."],"Choose which plugins to auto-update":["Zgjidhni cilat shtojca të vetëpërditësohen"],"Upgrade Jetpack now":["Përmirësoje Jetpack Tani"],"Monetize your site by running high quality ads.":["Përfitoni vlera monetare nga sajti juaj përmes reklamash cilësie të lartë."],"Customize your social posting schedule.":["Përshtatni planifikimin e postimeve tuaja në rrjete shoqërorë."],"Expand your audience with pro SEO tools.":["Zgjerojeni publikun tuaj me mjete profesionale SEO."],"Take your site to the next level!":["Ngrijeni sajtin një shkallë më lart!"],"Search support docs":["Kërkoni te dokumentime asistence"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Ju duhet ndihmë? Mësoni rreth si t’ia fillohet, rreth përshtatjes së sajtit tuaj, përdorimit të copëzave të thelluara të kodit, etj."],"Start sharing":["Filloni të ndani me të tjerët"],"Optimized performance":["Funksionim i optimizuar"],"Enable the “subscribe to comments” option on your comment form":["Aktivizoni mundësinë “pajtohuni te komentet” te formulari juaj i komenteve"],"Enable the “subscribe to site” option on your comment form":["Aktivizoni mundësinë “pajtohuni te sajti” te formulari juaj i komenteve"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Administroni rregullime të thelluara komentesh dhe shtoni publikun tuaj përmes pajtimeve me email."],"Comment form introduction":["Hyrje në formularë komentesh"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam bazuar në Akismet. Parashtrimet e komenteve dhe të formularëve të kontakteve kontrollohen përkundër bazës tonë globale të të dhënave për mesazhe të padëshiruar."],"Failed to send login email":["S’u arrit të dërgohej email hyrjeje"],"Login email sent":["Email-i i hyrjes u dërgua"],"Sending login email…":["Po dërgohet email hyrjeje…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Në merak për sigurinë? Merrni kopjeruajtje, ndreqje të automatizuara të sigurisë, etj: {{a}}Përmirësojeni tani{{/a}}"],"Allow readers to like individual comments.":["Lejoju lexuesve të pëlqejnë komente individuale."],"Enable comment likes.":["Aktivizo pëlqime komentesh."],"Allow readers to use markdown in comments.":["Lejojuni përdoruesve të përdorin formatim Markdown në komente."],"Show Gravatar hovercards alongside comments.":["Shfaq skeda Gravatari krah komentesh."],"Complete Jetpack Setup":["Plotësoni Ujdisjen e Jetpack-ut"],"Your Jetpack setup progress":["Ecuria e ujdisjes së Jetpack-ut tuaj"],"View your setup checklist":["Shihni listën e hapave tuaj"],"Yearly":["Vjetore"],"Monthly":["Mujore"],"About Jetpack":["Mbi Jetpack-un"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Aktivizoni dukshmëri widget-esh që të shfaqen widget-e vetëm në postime apo faqe të caktuara"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Dukshmëria e widget-eve ju lejon të vendosni cilët widget-e duken dhe te cilat faqe, që kështu të përimtoni lëndën e lidhur me widget-et."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Ofroni për përdorim në sajtin tuaj widget-e ekstra, përfshi formularë pajtimesh dhe rrjedha Twitter"],"Enhance CSS customization panel":["Thelloni më tej panelin e përshtatjes së CSS-së"],"Writing":["Të shkruarit"],"Compose using shortcodes to embed media from popular sites":["Hartoni duke përdorur kode të shkurtër për të trupëzuar media nga sajte popullorë"],"Traffic":["Trafik"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Lypset të jepni kredencialet tuaja për te shërbyesi që të përfundojë formësimi i Kopjeruajtjeve dhe Kontrolleve."],"Awaiting credentials":["Në pritje të kredencialeve"],"Backups and Scan are being configured for your site.":["Kopjeruajtjet dhe Kontrollet për sajtin tuaj po formësohen."],"Provisioning":["“Fedora %(rel)s më jep bar"],"Action needed":["Lypset veprim"],"Setting up":["Po rregullohet"],"Discussion":["Diskutim"],"We are configuring your site protection.":["Po formësojmë mbrojtjen e sajtit tuaj."],"View your site's backups":["Shihni kopjeruajtjet e sajtit tuaj"],"We are backing up your site in real-time.":["Për sajtin tuaj po bëjmë kopjeruajtje të atypëratyshme."],"Enter credentials":["Jepni kredenciale"],"You need to enter your server's credentials to finish the setup.":["Që të përfundojë ujdisja, lypset të jepni kredencialet tuaja për te shërbyesi."],"We are configuring your site's backups.":["Po formësojmë kopjeruajtjet e sajtit tuaj."],"View site activity":["Shihni veprimtari sajti"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack-u ruan një regjistër të plotë të gjithçkaje që ndodh në sajtin tuaj, duke mos lënë vend për hamendësime gjatë administrimit, diagnostikimit dhe ndreqjes së sajtit tuaj."],"Explore our Jetpack plans":["Eksploroni planet tona Jetpack"],"Support documentation":["Dokumentim asistence"],"Chat bubbles representing getting in touch with support":["Flluska fjalosjesh që ilustrojnë lidhjen me asistencën"],"Site activity":["Veprimtari sajti"],"Reach a wider audience by automatically sharing your posts on social media.":["Mbërrini te më shumë publik, përmes ndarjes së vetvetishme me të tjerët të postimeve tuaja në media shoqërore."],"Increase traffic to your site":["Shtoni trafikun në sajtin tuaj"],"Explore free themes":["Eksploroni tema falas"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Merrni hyrje të pakufizuar në qindra tema personale, dhe përshtateni sajtin tuaj saktësisht si e doni."],"A wide variety of themes and tools to customize a site":["Një larmi e madhe temash dhe mjetesh për përshtatjen e një sajti"],"Set up your site security":["Ujdisni sigurinë e sajtit tuaj"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Parandaloni sulme për hyrje dhe merrni njoftime të menjëhershme, kur ka një problem me sajtin tuaj."],"Site stats showing an evolution in traffic and engagement":["Statistika sajti ku shfaqet ecuri trafiku dhe angazhimi"],"A hand holding a loupe":["Një dorë që mban një lupë"],"A chart showing an healthy increase in earnings":["Grafik që shfaq një shtim të shëndetshëm në fitime"],"Interface showing a chronological list of changes and updates in a site":["Ndërfaqe ku shfaqet një listë kronologjike ndryshimesh dhe përditësimesh në një sajt"],"A cloud with multiple types of content floating around it":["Një re me lloje të shumta lënde pezull përreth"],"A folder holding real comments":["Dosje që përmban komente të njëmendta"],"Make your site faster":["Bëjeni sajtin tuaj më të shpejtë"],"Load pages faster by serving your images from our global network of servers.":["Ngarkojini faqet më shpejt, duke i shërbyer figurat tuaja që prej shërbyesve të rrjetit tonë global."],"A fast and performant website":["Sajt i shpejtë dhe që punon"],"A secure site, locked and protected by Jetpack":["Sajt i siguruar, i kyçur dhe i mbrojtur nga Jetpack-u"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Përsëdytni postime, faqe, Dëshmi dhe portofolë ekzistues. Do të kopjohet krejt lënda e tyre, përfshi tekst, figura të zgjedhura, rregullime ndarjeje me të tjerët, etj."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Ky sajt s’mund të lidhet te WordPress.com, ngaqë cenon {{a}}Kushtet tona të Shërbimit{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Lidheni sajtin tuaj te rrjete mediash shoqërore që përdorni dhe ndajeni lëndën tuaj me të tjerët në krejt llogaritë tuaja shoqërore me një klikim të vetëm. Kur botoni një postim, do të duket në krejt llogaritë tuaja të lidhura."],"Add Like buttons to your posts and pages":["Shtoni te postimet dhe faqet tuaja butona Pëlqimi"],"When visitors enjoy your content, let them show it with a Like.":["Kur vizitorëve u pëlqen lënda juaj, lërini ta shfaqin me një Pëlqim."],"Create account":["Krijo llogari"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack-u po e fuqizon sajtin tuaj, por për të përdorur krejt veçoritë e tij, ju duhet të krijoni një llogari."],"Compose content the way you want to and streamline your publishing experience.":["Hartoni lëndë sipas mënyrë që doni dhe thjeshtoni punën tuaj me botimet."],"Add a portfolio item":["Shtoni objekt portofoli"],"Add a testimonial":["Shtoni një përshtypje"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maksimizoni dukshmërinë e sajtit tuaj për motorët e kërkimeve dhe shihni aty për aty statistika trafiku."],"Create a Jetpack account to use this feature":["Që të përdorni këtë veçori, krijoni një llogari Jetpack"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack-u do të mbikëqyrë vazhdimisht sajtin tuaj, dhe do t’ju njoftojë kur të pikasë mosfunksionim."],"Error enabling Site accelerator. %(error)s":["Gabim gjatë aktivizimi të përshpejtuesit të Sajtit. %(error)s"],"Site accelerator is now speeding up your site!":["Përshpejtuesi i sajtit tani po e përshpejton sajtin tuaj!"],"Enabling Site accelerator…":["Po aktivizohet përshpejtues Sajti…"],"Error disabling site accelerator. %(error)s":["Gabim gjatë çaktivizimit të përshpejtuesit të sajtit. %(error)s"],"Site accelerator is no longer speeding up your site!":["Përshpejtuesi i sajtit s’e përshpejton më sajtin tuaj!"],"Disabling site accelerator…":["Po çaktivizohet përshpejtues sajti…"],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Ngarkoni faqet më shpejt, optimizoni figurat, dhe përshpejtoni funksionimin për vizitorët tuaj."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Plotësojini statistika e WordPress.com-it me vështrimin e thelluar të Google-it mbi vizitorët tuaj dhe rregullsitë e trafikut."],"High-speed, high-definition video hosting with no third-party ads.":["Video HD, me shpejtësi transmetimi të lartë, pa reklama nga palë të treta."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Planifikoni që më parë botimin për një numër të pakufizuar postimesh në Twitter, Facebook apo shërbime të tjera."],"Marketing Automation":["Automatizim Marketingu"],"Activate Jetpack Search":["Aktivizoni Kërkimin Me Jetpack"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Zëvendësoni mekanizmin parazgjedhje WordPress të kërkimeve me përfundime dhe filtrim më të mirë të bazuar në Elasticsearch."],"Start earning":["Filloni të fitoni"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds ju lë të fitoni para përmes shfaqjes së lëndës promocionale. Filloni të fitoni që sot."],"Spam is automatically blocked from your comments.":["Mesazhet e padëshiruar bllokohen automatikisht në komentet tuaja."],"Browse premium themes":["Shfletoni temat me pagesë"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Përdorni, pa kosto shtesë, këdo nga qindra temat me pagesë të hartuara hijshëm."],"Try a premium theme":["Provoni një nga temat me pagesë"],"View settings":["Shihni rregullimet"],"Create a Jetpack account to view your email followers":["Që të shihni ndjekësit tuaj me email, krijoni një llogari Jetpack"],"Manage security settings":["Administroni rregullime sigurie"],"Jetpack is ready for the new WordPress editor":["Jetpack-u është gati për përpunuesin e ri në WordPress"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Sot sjellim valën e parë të blloqeve të posaçëm për Jetpack-un, krijuar enkas për mënyrën e re të përpunimeve: butona Simple Payment, Form, Map, dhe Markdown."],"Build your Jetpack site with blocks":["Krijoni sajtin tuaj Jetpack përmes blloqesh"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Përpunues i ri? Po! {{a}}Mësoni më tepër{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Veçoritë që përdorni, përshtatur për përpunuesin e ri në WordPress."],"Take me to the new editor":["Shpjemë te përpunuesi i ri"],"Testing Jetpack Connection":["Po kontrollohet Lidhja me Jetpack-un"],"There was an error testing Jetpack. Error: %(error)s":["Pati një gabim gjatë testimit të jetpack-ut. Gabim: %(error)s"],"New in Jetpack!":["E re në Jetpack!"],"Speed up static file load times":["Përshpejtoni kohët e ngarkimit të kartelave statike"],"Speed up image load times":["Përshpejtoni kohët e ngarkimit të figurave"],"Enable site accelerator":["Aktivizoni përshpejtues sajti"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Ngarkojini faqet më shpejtë, përmes lejimit të Jetpack-ut të optimizojë figurat tuaja dhe t’i shërbejë ato dhe kartelat statike (të tilla si ato CSS dhe JavaScript) nga rrjeti ynë global i shërbyesve."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Shtojini sajtit tuaj një shkallë sigurie ekstra duke aktivizuar hyrje dhe mirëfilltësim të sigurt që nga WordPress.com-i. Nëse keni sajte të shumtë me këtë mundësi të aktivizuar, do të jeni në gjendje të hyni në cilindo prej tyre me të njëjtat kredenciale."],"View your site activity":["Shihni veprimtari në sajtin tuaj"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Shihni një listë kronologjike të krejt ndryshimeve dhe përditësimeve të sajtit tuaj, në një mënyrë të sistemuar dhe të kuptueshme."],"Manually Verify ":["Verifikojeni Dorazi "],"Verify with Google":["Verifikojeni me Google-in"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google-i do t’ju dërgojë email lidhur me disa akte që ndodhin në sajtin tuaj, përfshi tregues se sajti juaj është {{a1}}hack-uar{{/a1}}, ose probleme me {{a2}}kapjen ose indeksimin{{/a2}} e sajtit tuaj."],"or":["ose"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Vëzhgoni trafikun dhe funksionimin e sajtit tuaj që nga {{a}}Konsol Kërkimesh Google{{/a}}."],"Your site is verified with Google":["Sajti juaj është verifikuar me Google"],"Site failed to verify: %(error)s":["Dështoi verifikimi i sajtit: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Shtoni te sajti juaj kërkim më të shpejtë, më të thelluar, përmes paketës Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Zëvendësoni mekanizmin e brendshëm WordPress të kërkimeve me Kërkim Me Jetpack, një mekanizëm i thelluar kërkimesh"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Search zëvendëson kërkimin e brendshëm me një kërkim të shpejtë, të përshkallëzueshëm, të personalizueshëm dhe me përfundime me kuptim, të strehuar në renë WordPress.com. Përfundimi: Përdoruesit tuaj gjejnë lëndën që duan, më shpejt."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["Mekanizmi i i brendshëm i WordPress-it për kërkime është i dobishëm për sajte pa shumë lëndë. Por dora-dorës që sajti juaj zmadhohet, kërkimet ngadalësohen dhe japin përfundime më pak të sakta."],"Jetpack Search supports many customizations.":["Jetpack Search mbulon mjaft personalizime."],"Site is verified":["Sajti është verifikuar"],"Spam filtering and priority support.":["Filtrim mesazhesh të padëshiruar dhe asistencë me përparësi."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Kur reklamat janë të aktivizuara, Jetpack-u prodhon vetvetiu një ads.txt të përshtatur enkas për sajtin tuaj."],"Custom ads.txt entries":["Zëra vetjakë ads.txt"],"Privacy information":["Informacion Privatësie"],"Enable Lazy Loading for images":["Aktivizo \"Lazy-load\" për figurat"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Funksioni <em>lazy-loading</em> për figurat do të përmirësojë shpejtësinë e sajtit tuaj dhe krijojë për përdoruesin pamje të rrjedhshme. Figurat do të ngarkohen dora-dorës që vizitorët rrëshqasin poshtë nëpër ekran, në vend se të tëra njëherësh."],"Performance & speed":["Performancë & shpejtësi"],"Enable high-speed, ad-free video player":["Aktivizo lojtës videosh të shpejtë, pa reklama"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Bëjeni më tërheqëse lëndën që botoni, përmes videosh <em>high-resolution</em>. Me Jetpack Video mund të përshtatni lojtësin tuaj të mediave dhe t’u jepni vizitorëve tuaj video të shpejta, pa reklama dhe pa marka. Videot depozitohen te shërbyesit tanë WordPress.com dhe nuk zënë vend te plani juaj i strehimit në shërbyes!"],"Video":["Video"],"Carousel color scheme":["Skemë ngjyrash Rrotullameje"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Të dhënat Exif u shfaqin parësve hollësi teknike shtesë të një fotoje, të tilla si rrezja vatrore, hapja e diafragmës, dhe ISO."],"Show photo Exif metadata in carousel (when available)":["Shfaq te rrotullamja tejtëdhëna fotosh Exif (në pastë)"],"Display images in a full-screen carousel gallery":["Te galeria rrotullame figurat shfaqi në madhësi të plotë"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Krijoni rrotullame diapozitivash sa krejt ekrani për figurat në postime dhe faqe tuajat. Galeritë rrotullame janë të përshtatshme për celularin dhe i nxitin vizitorët e sajtit të ndërveprojnë me fotot tuaja."],"Portfolios shortcode: [portfolio]":["Kod i shkurtër për portofola: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Përdorni në sajtin tuaj {{portfolioLink}}portofole{{/portfolioLink}}, për të nxjerrë në pah ajkën e punës tuaj. Nëse tema juaj grafike nuk mbulon Jetpack Portfolios, për shfaqjen e tyre në sajtin tuaj mundeni prapëseprapë të përdorni një kod të shkurtër."],"Testimonials shortcode: [testimonials]":["Kod i shkurtër për përshtypje: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Shtoni te sajti juaj {{testimonialLink}}përshtypje{{/testimonialLink}} që të tërhiqni klientë të rinj. Nëse tema juaj grafike nuk mbulon Jetpack Testimonials, për shfaqjen e tyre në sajtin tuaj mundeni prapëseprapë të përdorni një kod të shkurtër."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Motorët e kërkimit s’mund të përdorin sajtin tuaj këtë çast. Nëse doni ta bëni sajtin tuaj të përdorshëm prej tyre, shihni {{a}}rregullimet tuaja për Lexim{{/a}} dhe kalojeni \"Dukshmëri Për Motorë Kërkimesh\" në vlerën <em>on</em>."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Lajme të mira: Jetpack-u po e dërgon hartën e sajtit tuaj vetvetiu te krejt motorët kryesorë të kërkimeve, për indeksim."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Hartat e sajteve janë kartela që motorë kërkimi, të tillë si Google ose Bing i përdorin për të indeksuar sajtin tuaj. Ato mund të ndihmojnë të përmirësohet vendi juaj në renditje përfundimesh kërkimesh. Kur e aktivizoni këtë veçori, Jetpack-u do të krijojë për ju harta sajti dhe do t’i përditësojë ato vetvetiu kur lënda në sajt ndryshon."],"Configure related posts in the Customizer":["Formësoni postime të afërta te Përshtatësi"],"Highlight related content with a heading":["Nxirre në pah lëndën e përafërt përmes një stili kryesh"],"View security scan details":["Shihni hollësi kontrolli sigurie"],"Test your site’s compatibility with Jetpack.":["Provoni përputhshmërinë mes sajtit tuaj dhe Jetpack-ut."],"Show a thumbnail image where available":["Shfaq një figurë miniaturë kur të ketë"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Për më tepër të dhëna se si veçori të caktuara të Jetpack-ut përdorin të dhëna dhe gjurmojnë veprimtari, ju lutemi, shihni te {{privacyCenterLink}}Qendra jonë e Privatësisë{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Përdorim mjete të tjera gjurmimi, përfshi disa të tillë nga palë të treta. {{cookiePolicyLink}}Lexoni rreth tyre{{/cookiePolicyLink}} dhe se si t’i mbani nën kontroll."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Këto të dhëna na ndihmojnë të përmirësojmë produktet tona, ta bëjmë marketingun më specifik për ju, më personal punimin tuaj në WordPress.com, etj, siç përshkruhet hollësisht te {{pp}}rregullat tona mbi privatësinë{{/p}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Ndani me mjetin tonë të analizave të Dhëna rreth përdorimit tuaj të shërbimeve, teksa jeni i futur në llogarinë tuaj WordPress.com. {{cookiePolicyLink}}Mësoni më tepër{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Kjo veçori administrohet nga një përgjegjës sajti. {{link}}Mësoni më tepër{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Kjo veçori është çaktivizuar nga një përgjegjës sajti. {{link}}Mësoni më tepër{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Kjo veçori është aktivizuar nga një përgjegjës sajti. {{link}}Mësoni më tepër{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s është çaktivizuar nga një përgjegjës sajti. {{link}}Mësoni më tepër{{/link}}."],"This feature has been disabled by a site administrator.":["Kjo veçori është çaktivizuar nga një përgjegjës sajti."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s është çaktivizuar nga një përgjegjës sajti."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Reklama shtesë mund të vendosni duke përdorur widget-in Shtoni. {{link}}Provojeni!{{/link}}"],"Configure your notification settings":["Formësoni rregullimet për njoftime"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Moduli Jetpack për Kërkime është një zëvendësim i fuqishëm i mekanizmit të brendshëm për kërkime të vetë WordPress-it."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Kartelat e sajtit tuaj kontrollohen rregullisht për modifikime të paautorizuara ose të dyshimta që mund të cenojnë sigurinë dhe të dhënat tuaja."],"Plugin needs updating.":["Shtojca lyp përditësim.","Shtojcat lypin përditësim."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Përditësimi i Shtojcave nga Jetpack-u ju lejon të zgjidhni cilat shtojca përditësohen vetvetiu."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack-u do t’i optimizojë figurat tuaja dhe shërbejë ato nga vendndodhje shërbyesi më afër vizitorëve tuaj. Përdorimi i rrjetit tonë global të shpërndarjes së lëndës do të fuqizojë shpejtësinë e ngarkimit të sajtit tuaj."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Mbikëqyrësi Jetpack i mosfunksionimit do të vëzhgojë sajtin tuaj dhe do t’ju njoftojë në çastin kur të pikaset një i tillë."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Kopjeruajtjet Jetpack ju lejojnë të riktheni apo shkarkoni lehtësisht një kopjeruajtje të bërë në një kohë të caktuar."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Aktivizon një temë të peshës së lehtë, të përshtatshme për celular, që do t’u shfaqet vizitorëve në pajisje celulare."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Ngarkon vetvetiu postimet pasuese, kur lexuesi i afrohet fundit të faqes."],"Allows you to publish new posts by sending an email to a special address.":["Ju lejon të botoni postime të reja duke i dërguar si email te një adresë speciale."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Shton një panel me lidhje te krejt sajtet tuaja, njoftime, profili juaj WordPress.com, dhe Lexuesi."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Furnizon etiketat e nevojshme të fshehura që duhen për të verifikuar sajtin tuaj WordPress me shërbime të ndryshme."],"Displays information on your site activity, including visitors and popular posts or pages.":["Shfaq të dhëna mbi veprimtarinë në sajtin tuaj, përfshi vizitorë dhe postime ose faqe popullore."],"Allows you to optimize your site and its content for better results in search engines.":["Ju lejon të optimizoni sajtin tuaj dhe lëndën e tij për përfundime më të mira kërkimi në motorë kërkimesh."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integron sajtin tuaj WordPress me Google Analytics, një platformë që ofron ndjekje të prirjeve të trafikut tuaj, vizitorëve dhe shndërrimeve të vizitave."],"Displays high-quality ads on your site that allow you to earn income.":["Shfaq në sajtin tuaj reklama cilësore, që ju lejojnë të fitoni të ardhura."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Ju lejon të ndani vetvetiu me të tjerët në sajte mediash shoqërore lëndë tuajën të re, përfshi Facebook dhe Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Shton te lënda juaj butona pëlqimi, që kështu vizitorët të mund të shpalosin vlerësimin apo ngazëllimin e tyre."],"Allows registered users to log in to your site with their WordPress.com accounts.":["U lejon përdoruesve të regjistruar të bëjnë hyrjen në sajtin tuaj përmes llogarive të tyre WordPress.com."],"Protects your site from traditional and distributed brute force login attacks.":["E mbron sajtin tuaj nga sulme tradicionale, dhe nga ata <em>brute force</em> me shpërndarje, ndaj hyrjes."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["E kopjeruan sajtin tuaj te shërbyesit globalë WordPress.com, duke ju lejuar të riktheni lëndën tuaj, në rast urgjence apo gabimi."],"Removes spam from comments and contact forms.":["Heq mesazhe të padëshiruar nga formularë komentesh dhe kontakti."],"We are committed to your privacy and security. ":["Jemi të përkushtuar për privatësinë dhe sigurinë tuaj. "],"View all Jetpack plans":["Shihni krejt planet Jetpack"],"Manage your plan":["Administroni planin tuaj"],"Your Plan":["Plani Juaj"],"You’re currently on Jetpack %(plan)s.":["Gjendeni nën Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["U lejon lexuesve të pajtohen te postimet apo komentet tuaja, dhe të marrin njoftime email mbi lëndë të re."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Zëvendëson formularin standard WordPress të komenteve me një sistem të ri komentesh që përfshin mundësi hyrjeje që nga media shoqërore."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Aktivizojeni{{/a}} që mekanizmi i brendshëm WordPress i kërkimeve të zëvendësohet me Jetpack Search, një funksion i thelluar kërkimesh."],"Add Search (Jetpack) Widget":["Shtoni Widget-in (Jetpack) Search"],"Jetpack Search is powering search on your site.":["Kërkimi në sajtin tuaj ngrihet mbi Jetpack Search."],"Manage your plugins":["Administroni shtojcat tuaja"],"Moderate comments":["Moderoni komentet"],"Error updating privacy settings. %(error)s":["Gabim në përditësim rregullimesh privatësie. (%(error)s)"],"Updated privacy settings.":["Rregullimet e privatësisë u përditësuan."],"Updating privacy settings…":["Po përditësohen rregullime privatësie…"],"Add Jetpack Search Widget":["Shtoni Widget-in Jetpack Search"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Që të formësoni renditje dhe filtrim, shtoni widget-in Jetpack Search te anështylla juaj."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Suitë e plotë sigurie, mjete automatizimi marketingu dhe të ardhurash, strehim videosh i pakufizuar, tema grafike të panumërta, kërkim i thelluar, dhe asistencë me përparësi."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Suitë e plotë sigurie, mjete automatizimi marketingu dhe të ardhurash, strehim videosh i pakufizuar, dhe asistencë me përparësi."],"Daily backups, spam filtering, and priority support.":["Kopjeruajtje të përditshme, filtrim mesazhesh të padëshiruar, dhe asistencë me përparësi."],"Always-on security":["Siguri përherë zgjuar"],"Activate video hosting":["Aktivizoni strehim videosh"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Kopjeruajtje e atypëratyshme e krejt të dhënave të sajtit tuaj, pa kufizim hapësire, rikthime me një klikim, kontrolle të automatizuar sigurie, dhe asistencë me përparësi"],"Design the perfect website":["Skiconi sajtin e përsosur"],"Set up Jetpack":["Rregulloni Jetpack-un"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Kopjeruajtje e atypëratyshme, pa kufizim hapësire, e krejt të dhënave të sajtit tuaj, rikthime me një klikim, dhe kontrolle të automatizuar sigurie."],"Jetpack Search":["Kërkim Jetpack"],"Jetpack version %(version)s":["Version Jetpack-u %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Për sajtin tuaj tani krijohen kopjeruajtje të atypëratyshme dhe kontrollohet për kërcënime të sigurisë."],"Daily backup of all your site data with unlimited space and one-click restores":["Kopjeruajtje të përditshme e krejt të dhënave të sajtit tuaj, pa kufizime hapësire për to dhe rikthime me një klikim"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Kopjeruajtje të përditshme e krejt të dhënave të sajtit tuaj, pa kufizim hapësire, rikthime me një klikim, kontrolle të automatizuar sigurie, dhe asistencë me përparësi"],"View your security activity":["Shihni veprimtarinë tuaj të sigurisë"]," (powered by VaultPress).":[" (bazuar në VaultPress)."],"Customize Search Widget":["Përshtateni Widget-in e Kërkimeve"],"Please correct the issue below and try again.":["Ju lutemi, ndreqni problemin e mëposhtëm dhe riprovoni.","Ju lutemi, ndreqni problemet e mëposhtëm dhe riprovoni."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Po bëjmë të mundur që sajti juaj të jetë i lirë nga kërcënime sigurie. Nëse gjejmë ndonjë, do t’ju njoftojmë."],"Jetpack version":["Version Jetpack-u"],"Activity":["Veprimtari"],"{{a}}View details{{/a}}":["{{a}}Shihni hollësitë{{/a}}"],"Monetize your site with ads":["Monetarizoni sajtin tuaj me reklama"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Duke klikuar mbi butonin më poshtë, pajtoheni me {{tosLink}}Kushtet tona të Shërbimit{{/tosLink}} dhe me {{shareDetailsLink}}dhënie hollësish{{/shareDetailsLink}} te WordPress.com-i."],"Jetpack Stats People":[""],"Hello there! Your stats have been activated.":["Tungjatjeta juaj! Statistikat për ju janë aktivizuar."],"Just give us a little time to collect data so we can display it for you here.":["Thjesht na jepni pak kohë të mbledhim të dhëna që kështu të mund t’i shfaqim për ju."],"Okay, got it!":["OK, e mora vesh!"],"Display ads below posts on":["Shfaq reklama nën postime te"],"Additional ad placements":["Vendosje reklamash shtesë"],"Top of each page":["Në krye të çdo faqeje"],"Second ad below post":["Reklama e dytë nën postim"],"Archives":["Arkiva"],"Stars":["Yje"],"Jupiter":["Jupiter"],"Schedule posts":["Vini postime në plan"],"Activate Publicize":["Aktivizoni Publicizimet"],"Your site is backed up.":["Sajti juaj është i kopjeruajtur."],"Get WordPress Apps for every device":["Merrni Aplikacione WordPress për çdo pajisje"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Administroni krejt sajtet tuaj nga një pult i vetëm: botoni lëndë, ndiqni statistika, moderoni komente, dhe kaq shumë gjëra, prej ngado në botë."],"Create address":["Krijoje adresën"],"Automatically share your posts to social networks":["Ndajini postimet tuaja automatikisht me të tjerët në rrjete shoqërore"],"Updating settings…":["Po përditësohen rregullimet…"],"Updating Post by Email address…":["Përditësim Postimi sipas adrese Email…"],"Your paid plan gives you access to prioritized Jetpack support.":["Plani që keni paguar ju lejon për Jetpack-un asistencë me përparësi."],"You have paid for backups but they're not yet active.":["Keni paguar për kopjeruajtje, por ato s’janë ende aktive."],"You have paid for backups and security scanning but they’re not yet active.":["Keni paguar për kopjeruajtje dhe kontrolle sigurie, por ato s’janë ende aktive."],"Click \"Set Up\" to finish installation.":["Klikoni mbi \"Rregulloje\" që të përfundohet instalimi."],"Checking site status…":["Po kontrollohet gjendje sajti…"],"Pages":["Faqe"],"Access the full list of Jetpack modules available on your site.":["Shihni listën e plotë të moduleve Jetpack që keni në sajtin tuaj."],"We're here to help":["Për ndihmë, na keni këtu"],"Jetpack comes with free, basic support for all users.":["Jetpack-u vjen me asistencë bazë falas, për krejt përdoruesit."],"Ask a question":["Bëni një pyetje"],"Search our support site":["Kërkoni te sajti ynë i asistencës"],"Get a faster resolution to your support questions.":["Merrni një zgjidhje më të shpejtë për pyetjet tuaja ndaj asistencës."],"Host fast, high-quality, ad-free video.":["Strehoni video me cilësi të lartë, pa reklama, dhe të shpejta."],"Generate income with high-quality ads.":["Prodhoni të ardhura, me reklama të cilësisë së lartë."],"Real-time site backups and automatic threat resolution.":["Kopjeruajtje sajti të atypëratyshme dhe shmangie e vetvetishme kërcënimesh."],"Protect against data loss, malware, and malicious attacks.":["Mbrohuni nga humbje të dhënash, malware, dhe sulme dashakeqe."],"Protect your site from spam.":["Mbrojeni sajtin tuaj nga mesazhet e padëshiruar."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Ky sajt s’është lidhur me WordPress.com-in. Ju lutemi, kërkojini përgjegjësi të sajtit që ta lidhë."],"An Automattic Airline":["Linjë Ajrore nga <span>Automattic</span>"],"Manage site connection":["Administroni lidhje sajti"],"Connect your account to WordPress.com to view more stats":["Që të shihni më tepër statistika, lidheni llogarinë tuaj me WordPress.com-in"],"Theme enhancements":["Thellime teme grafike"],"Load more posts using the default theme behavior":["Ngarko më tepër postime duke përdorur sjelljen parazgjedhje të temës"],"Load more posts in page with a button":["Ngarko më tepër postime në një faqe me një buton"],"Load more posts as the reader scrolls down":["Ngarko më tepër postime teksa lexuesi zbret më poshtë në faqe"],"Theme support required.":["Lypset mbulim teme."],"Learn more about adding support for Infinite Scroll to your theme.":["Mësoni më tepër mbi shtimin te tema juaj të mbulimit për Rrëshqitje Pa Fund."],"Show excerpts instead of full posts on front page and archive pages":["Në vend se postime të plota, te faqja ballore dhe te faqe arkivash shfaqni copëza"],"Show featured images":["Shfaq figura të zgjedhura"],"Enable the WordPress.com toolbar":["Aktivizoni panelin WordPress.com"],"Writing tools available to you will be shown here when an administrator enables them.":["Këtu do të shfaqen mjetet e shkrimit që mund të përdorni, kur t’i aktivizojë një përgjegjës."],"Portfolios":["Portofole"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Kini parasysh se, që sajti juaj të indeksohet nga motorë kërkimesh, {{b}}verifikimi i tij me këto shërbime s’është i nevojshëm{{/b}}. Që të përdorni këto mjete të përparuara motorësh kërkimi dhe që të verifikoni sajtin tuaj me një shërbim, ngjitni më poshtë kodin HTML Tag. Nëse keni probleme, lexoni {{support}}udhëzimet e plota{{/support}}. Shërbime verifikimi të mbuluara: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Prodhoni harta XMl sajtesh"],"The image helps collect stats, but should work when hidden.":["Figura ndihmon të grumbullohen statistika, por duhet të punojë kur është e fshehur."],"Count logged in page views from":["Numëroni parje faqesh nga përdorues të futur"],"Allow stats reports to be viewed by":["Lejoni parje raporte statistikash nga"],"In \"Upgrade\"":["Te \"Përmirësojeni\""],"Configure your Google Analytics settings":["Formësoni rregullimet për Google Analytics"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Shfaqni reklama në artikullin e parë te faqja juaj hyrëse ose në fund të çdo faqeje dhe postimi. Vendosni reklama shtesë në krye të sajtit tuaj dhe te çdo fushë widget-esh, që të shtoni të ardhurat."],"Enable ads and display an ad below each post":["Aktivizo reklamat dhe shfaq një reklamë nën çdo postim"],"Configure your sharing buttons":["Formësoni butonat tuaj për ndarje me të tjerët"],"Connect your social media accounts":["Lidhni llogaritë tuaja prej mediash shoqërore"],"Match accounts using email addresses":["Përputhjet për llogari kërkoji sipas adresash email-i"],"Require accounts to use WordPress.com Two-Step Authentication":["Pyet për llogari përdorimi të Mirëfilltësimit Dyhapësh të WordPress.com-it"],"Add to whitelist":["Shtoje në listë lejimesh"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Për të penguar përgjithmonë bllokimin e tyre nga Jetpack-u, një adresë ose seri adresash IP mund t’i vendosni në një listë lejimesh. Janë të pranueshme adresa të llojit IPv4 dhe IPv6. Që të jepni një interval vlerash, jepni vlerën e ulët dhe të lartë, ndarë nga një vijë. Për shembull: 12.12.12.1–12.12.12.100"],"Your site is backed up and threat-free.":["Sajti juaj është i kopjeruajtur dhe i pakërcënuar."],"Checking your spam protection…":["Po kontrollohet mbrojtja juaj kundër mesazhesh të padëshiruar…"],"Fetching key…":["Po sillen kyçi…"],"Your site needs an Antispam key.":["Sajti juaj lyp një kyç Antispam."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Ka një problem me kyçin tuaj për API-n Antispam. {{a}}Mësoni më tepër{{/a}}."],"Your site is not protected from spam.":["Sajti juaj nuk mbrohet nga mesazhet e padëshiruar."],"Your Antispam key is valid.":["Kyçi juaj Antispam është i vlefshëm."],"Your site is protected from spam.":["Sajti juaj mbrohet nga mesazhet e padëshiruar."],"Checking key…":["Po kontrollohet kyçi…"],"Your API key":["Kyçi juaj API"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Nëse s’keni ende një kyç API, atëherë {{a}}merreni kyçin tuaj API këtu{{/a}}, dhe do të udhëhiqeni përmes procesit të marrjes së një të tilli."],"No search results found for %(term)s":["S’u gjetën përfundime kërkimi për %(term)s"],"Enter a search term to find settings or close search.":["Jepni një term kërkimi që të gjenden rregullime ose mbylleni kërkimin."],"Connections":["Lidhje"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Sajti juaj gjendet nën Mënyrën Zhvillim, ndaj s’mund të lidhet te WordPress.com-i."],"Your site is connected to WordPress.com.":["Sajti juaj është i lidhur me WordPress.com-in."],"You are the Jetpack owner.":["Jeni i zoti i Jetpack-ut."],"Connected as {{span}}%(username)s{{/span}}":["I lidhur si {{span}}%(username)s{{/span}}"],"View your Email Followers":["Shihni Ndjekësit tuaj Me Email"],"Color scheme":["Skemë ngjyrash"],"Enable Markdown use for comments.":["Aktivizoni Markdown për komente."],"Updated settings.":["U përditësuan rregullimet."],"Error updating settings. %(error)s":["Gabim në përditësim rregullimesh. %(error)s"],"Regenerated Post by Email address.":["U riprodhua Postimi sipas adresës Email."],"Error regenerating Post by Email address. %(error)s":["Gabim në riprodhimin e Postimit sipas adresës Email. %(error)s"],"Updated settings. Refreshing page…":["Rregullimet u përditësuan. Po rifreskohet faqja…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Hëpërhë nën {{a}}Mënyrën Zhvillim{{/a}} (disa veçori janë të çaktivizuara) ngaqë: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Filtri jetpack_development_mode është aktiv{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Konstantja JETPACK_DEV_DEBUG është e përkufizuar{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}URL-së së sajtit tuaj i mungon (p.sh. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics është një shërbim falas që plotëson {{a}}mekanizmin tonë të brendshëm të statistikave{{/a}} me tendenca të ndryshme në trafikun tuaj. Statistikat WordPress.com dhe Google Analytics përdorin metoda të ndryshme për të identifikuar dhe ndjekur veprimtarinë në sajtin tuaj, ndaj ato normalisht do të japin vlera paksa të ndryshme për vizitat, parjet, etj."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Formësoni Google Analytics"],"Activate Google Analytics":["Aktivizoni Google Analytics"],"Download the free apps":["Shkarkoni aplikacionet falas"],"Upgrade Focus: VideoPress For Weddings":["Përmirësoni Focus-in: VideoPress Për Dasma"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Postime të afërta mund të formësoni gjithashtu edhe te Përshtatësi. {{ExternalLink}}Provojeni!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Si parazgjedhje, reklamat shfaqen në fund të çdo faqeje, postimi, ose të artikullit të parë në faqen tuaj hyrëse. Mund t’i vendosni edhe në krye të sajtit tuaj dhe te cilado zonë widget-esh, që të shtoni të ardhurat tuaja!"],"Display an ad unit at the top of your site.":["Shfaqni një njësi reklamash në krye të sajtit tuaj."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Duke pranuar reklama, pajtoheni me {{link}}Kushtet e Shërbimit{{/link}} për Reklama nga Automattic."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Shërbyesi juaj është i keqformësuar, që do të thotë se Jetpack Protect s’është në gjendje ta mbrojë me efektshmëri sajtin tuaj."],"In \"Mobile\"":["Te \"Celular\""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Formësoni rregullimet për njoftime Monitor në WordPress.com{{/link}}"],"View your earnings":["Shihni fitimet tuaja"],"Configure site SEO":["Formësoni SEO sajti"],"Activate SEO tools":["Aktivizoni mjete SEO"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Që t’ia filloni. klikoni mbi Shtoni Media, te përpunuesi i postimeve tuaja dhe ngarkoni një video; për të tjerat kujdesemi ne!"],"Video Hosting":["Strehim Videosh"],"SEO Tools":["Mjete SEO"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Mjete të thelluara SEO që të ndihmojnë në gjetjen e sajtit tuaj kur njerëzit kërkojnë për lëndë që lidhet me të."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Mënyra më e lehtë për të ngarkuar te sajti juaj video pa reklama dhe që s’i përkasin ndonjë marke. Përfitoni statistika mbi luajtjen dhe ndarjen me të tjerët të videove dhe lojtësi është i peshës së lehtë dhe reagues."],"You are running Jetpack on a staging server.":["Po e xhironi Jetpack-un në një shërbyes provash."],"More Info":["Më Tepër të Dhëna"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Administroni dukshmëri Pëlqimesh, që nga Rregullimet për Modulin e Ndarjeve Me të Tjerë{{/a}}"],"Your current IP: %(ip)s":["IP-ja Juaj e Tanishme: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Në këtë skedë ka rregullime të paruajtura, që do të humbasin, nëse dilni prej saj. Të vazhdohet?"],"This will reset all Jetpack options, are you sure?":["Kështu do të kthehen në fillimet krejt mundësitë Jetpack, jeni i sigurt?"],"Search for a Jetpack feature.":["Kërkoni për një veçori Jetpack-u."],"Configure your Security Scans":["Formësoni Kontrollet tuaj të Sigurisë"],"Subscriber":["Pajtimtar"],"Big iPhone/iPad Update Now Available":["Gati Tani një Përditësim i Madh për iPhone/iPad"],"The WordPress for Android App Gets a Big Facelift":["Aplikacioni WordPress për Android Ndërron Pamjen Goxha"],"WordPress.com Likes are:":["Pëlqimet te WordPress.com janë:"],"A few catchy words to motivate your visitors to comment.":["Pak fjalë karrem për të motivuar lexuesit tuaj të komentojnë."],"Hide the stats smiley face image":["Fshihe figurën me fytyrat e emotikonëve për statistika"],"Whitelisted IP addresses":["Adresa IP të lejuara"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Shfaqni te fundfaqja e temës për celular një reklamë për aplikacione WordPress për celular"],"Copied!":["U kopjua!"],"Highlight and copy the following text to your clipboard:":["Theksojeni dhe kopjojeni tekstin vijues te e papastra juaj:"],"Regenerate address":["Riprodhoje adresën"],"Cheatin' uh?":["Po bëni me hile, hë?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}A ju mbetet qejfi të na thoni pse s’e plotësuat lidhjen e Jetpack-ut, përmes këtij {{a}}pyetësori me 2 pyetje{{/a}}?{{/p}}{{p}}Që të funksionojnë veçoritë tona për siguri falas dhe trafik, lypset lidhje e Jetpack-ut.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Mirë se vini te {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Jetpack-u juaj është i lidhur tashmë."],"You're fueled up and ready to go, Jetpack is now active.":["E keni serbatorin plot dhe jeni gati për udhë, Jetpack-u tani është aktiv."],"You're fueled up and ready to go.":["E keni serbatorin plot dhe jeni gati për udhë."],"You are currently running a development version of Jetpack.":["Jeni duke xhiruar një version zhvillim të Jetpack-ut."],"Submit Beta feedback":["Parashtroni përshtypje për versionin Beta"],"What would you like to see on your Jetpack Dashboard?":["Ç’do të donit të shihnit te Pulti i JetPack-ut tuaj?"],"Let us know!":["Na e bëni të ditur!"],"Saving…":["Po ruhet…"],"Save Settings":["Ruaji Rregullimet"],"Jetpack Stats Icon":["Ikonë Statistikash Jetpack"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Aktivizoni Statistika Sajti{{/a}} që të shihni statistika të hollësishme, pëlqime, ndjekës, pajtimtarë, etj! {{a1}}Mësoni më tepër{{/a1}}"],"Activate Site Stats":["Aktivizoni Statistika Sajti"],"Site Backups":["Kopjeruajtje Sajti"],"Upgrade":["Përmirësojeni"],"ACTIVE":["AKTIVE"],"View your spam stats":["Shihni statistika tuaja mbi mesazhe të padëshiruar"],"View your security dashboard":["Shihni pultin tuaj të sigurisë"],"Real-Time Backups":["Kopjeruajtje të Atypëratyshme"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Sajti gjendet nën Mënyrën Zhvillim, ndaj s&#mund të lidheni te WordPress.com-i."],"Link your account to WordPress.com to get the most out of Jetpack.":["Lidheni llogarinë tuaj me WordPress.com-in, që të përfitoni maksimumin prej Jetpack-ut."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Për kontroll të plotë, të automatizuar, për kërcënime sigurie, ju lutemi, {{a}}instaloni dhe aktivizoni{{/a}} VaultPress-in."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack-u po bllokon në mënyrë aktive përpjekje dashakeqe për hyrje. Të dhënat do të shfaqen këtë së afërmi!"],"Total malicious attacks blocked on your site.":["Sulme dashakeqës të bllokuar në sajtin tuaj gjithsej."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Aktivizoni Protect-in{{/a}} që ta mbani sajtin tuaj të mbrojtur nga përpjekje hyrjesh dashakeqe."],"All plugins are up-to-date. Awesome work!":["Krejt shtojcat janë të përditësuara. Punë e paqme!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack-u po e mbikëqyr sajtin tuaj. Nëse na duket se sajti juaj është jashtë funksionimi, do të merrni një email."],"Security":["Siguri"],"Performance":["Performancë"],"Backup":["Kopjeruajtje"],"{{a}}View backup details{{/a}}.":["{{a}}Shihni hollësi kopjeruajtjeje{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Që të kopjeruhet vetvetiu krejt sajti juaj, ju lutemi, {{a}}instaloni dhe aktivizoni{{/a}} VaultPress-in."],"Unavailable in Dev Mode.":["S’mund të kihet nën mënyrën Dev."],"Unavailable in Dev Mode":["S’mund të kihet nën mënyrën Dev"],"Activating %(slug)s…":["Po aktivizohet %(slug)s…"],"%(slug)s has been activated.":["%(slug)s është aktivizuar."],"%(slug)s failed to activate. %(error)s":["Dështoi aktivizimi i %(slug)s. %(error)s"],"Deactivating %(slug)s…":["Po çaktivizohet %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s u çaktivizua."],"%(slug)s failed to deactivate. %(error)s":["Dështoi çaktivizimi i %(slug)s. %(error)s"],"Updating %(slug)s settings…":["Po përditësohen rregullimet për %(slug)s…"],"Updated %(slug)s settings.":["U përditësuan rregullimet për %(slug)s."],"Error updating %(slug)s settings. %(error)s":["Gabim në përditësimin e rregullimeve për %(slug)s. %(error)s"],"Updating %(slug)s address…":["Po përditësohet adresa për %(slug)s…"],"Regenerated %(slug)s address .":["U riprodhua adresa për %(slug)s ."],"Error regenerating %(slug)s address. %(error)s":["Gabim në riprodhimin e adresës %(slug)s. %(error)s"],"Resetting Jetpack options…":["Po rikthehen në fillimet mundësitë për Jetpack-un…"],"Options reset.":["Mundësitë u rikthyen te parazgjedhjet."],"Options failed to reset.":["Dështoi rikthimi i mundësive te parazgjedhjet."],"There was an error disconnecting Jetpack. Error: %(error)s":["Pati një gabim gjatë shkëputjes së jetpack-ut. Gabim: %(error)s"],"Unlinking from WordPress.com":["Po shkëputet nga WordPress.Com-i"],"Unlinked from WordPress.com.":["U shkëput nga WordPress.Com-i."],"Error unlinking from WordPress.com. %(error)s":["Gabim gjatë heqjes së lidhjes nga WordPress.com. %(error)s"],"At A Glance":["Me një Vështrim"],"Dashboard":["Pult"],"Automattic's Privacy Policy":["Rregulla Privatësie te Automattic"],"WordPress.com Terms of Service":["Kushte Shërbimi te WordPress.com"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Aktivizoni vetëpërditësime shtojcash.{{/a}}"],"Plugin Updates":["Përditësime Shtojcash"],"No threats found, you're good to go!":["S’u gjetën rreziqe, jeni gati të vazhdoni!"],"{{a}}Contact Support{{/a}}":["{{a}}Lidhuni Me Ata të Asistencës{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Shihni hollësitë te VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Uh oh, u gjet %(number)s rrezik.","Uh oh, u gjet %(number)s rreziqe."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Aktivizoni Monitor-in{{/a}} që të merrni njoftime me email, nëse sajti juaj del jashtë funksionimi."],"Loading…":["Po ngarkohet…"],"Downtime monitor":["Mbikëqyrje për ndalesa funksionimi"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Shihni më tepër statistika te WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Shihni statistika të hollësishme{{/button}}"],"All-time comments":["Komente gjatë krejt kohës"],"All-time views":["Parje gjatë krejt kohës"],"%(number)s View":["%(number)s Parje","%(number)s Parje"],"Best overall day":["Dita më e mirë"],"Views today":["Parje sot"],"Months":["Muaj"],"Weeks":["Javë"],"Days":["Ditë"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Diç ndodhi gjatë ngarkimit të statistikave. Ju lutemi, provoni më vonë ose {{a}}shihini statistikat tuaja te WordPress.com{{/a}}"],"Click to view detailed stats.":["Klikoni që të shihni statistika të hollësishme."],"Views: %(numberOfViews)s":["Parje: %(numberOfViews)s"],"Week of %(date)s":["Java e %(date)s"],"Site Security":["Siguri Sajti"],"Link to WordPress.com":["Lidhje për te WordPress.com"],"Unlink me from WordPress.com":["Shkëputmë WordPress.com-i"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Pati një problem me lidhjen e Jetpack-ut tuaj. Ju lutemi, riklikoni mbi \"Lidhe me WordPress.com-in\"."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Patëm një problem me lidhjen e Jetpack-ut; çaktivizojeni dhe mandej riaktivizojeni shtojcën Jetpack, mandej rilidheni."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Lypset të qëndroni i futur në blogun tuaj WordPress teksa autorizoni Jetpack-un."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Jetpack-u juaj ka një kleçkë.{{/s}} Na vjen keq për ngatërresën. Ju lutemi, riprovoni më vonë; nëse problemi vazhdon, ju lutemi, lidhuni me ata të asistencës me këtë mesazh: %(error_key)s"],"Disconnecting Jetpack":["Po shkëputet Jetpack-u"],"Learn more":["Mësoni më tepër"],"Posts":["Postime"],"Front page":["Faqja ballore"],"Upload videos":["Ngarkoni video"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Shfaq lëndë të afërt pas postimesh"],"Related":["Të afërta"],"Disconnect":["Shkëputu"],"Save":["Ruaje"],"Media":["Media"],"Mobile Theme":["Temë Celulari"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX është një gjuhë e fuqishme markup, për shkrime ekuacionesh matematike të ndërlikuar, formula, etj."],"Site Stats":["Statistika Sajti"],"Sharing":["Ndarje me të tjerët"],"Testimonials":["Dëshmi"],"Cancel":["Anuloje"],"Comments":["Komente"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack-u s’u lidh dot me WordPress.com-in: %(error_key)s. Zakonisht kjo vjen kur diçka te strehuesi juaj web s’është formësuar si duhet."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com po ka probleme dhe s’është në gjendje të mbushë serbatorin e Jetpack-ut tuaj. Ju lutemi, riprovoni më vonë."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Jetpack-u juaj ka një parregullsi.{{/s}} Lidhja e këtij sajti me WordPress.com-in s’është e mundur. Zakonisht kjo vjen kur sajti juaj nuk hapet dot nga përdoruesit (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Që të përdorë Jetpack-un, sajti juaj web duhet të jetë i përdorshëm publikisht: %(error_key)s"],"Edit":["Përpunoni"],"Connected":["I lidhur"],"Activate":["Aktivizoje"],"Active":["Aktive"],"Settings":["Rregullime"],"Learn More":["Mësoni Më Tepër"],"Disconnect Jetpack":["Shkëputeni Jetpack-un"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Shënim:{{/b}} Kjo veçori po nxirret në pension dhe do të hiqet nga Jetpack-u në Mars. {{link}}Mësoni më tepër{{/link}}"],"Settings header\u0004Jetpack Backup":["Kopjeruajtje Jetpack"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["Lidhje të Shkurtuara WP.me"],"Settings header\u0004Auto-update plugins":["Vetëpërditëso shtojca"],"Settings header\u0004Widgets":["Widget-e"],"Settings header\u0004Downtime monitoring":["Mbikëqyrje për ndalesa funksionimi"],"Settings header\u0004Privacy Settings":["Rregullime Privatësie"],"Settings header\u0004WordPress.com toolbar":["Panel WordPress.com"],"Settings header\u0004Composing":["Hartim Mesazhesh"],"Settings header\u0004Site stats":["Statistika sajti"],"Settings header\u0004Search engine optimization":["Optimizim motorësh kërkimesh"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Butona ndarjesh me të tjerët"],"Settings header\u0004Publicize connections":["Lidhje Publicize"],"Settings header\u0004Like buttons":["Butona pëlqimesh"],"Settings header\u0004Brute force attack protection":["Mbrojtje nga sulme <em>brute force</em>"],"Settings header\u0004Backups and security scanning":["Kopjeruajtje dhe kontrolle sigurie"],"Notice in the empty statistics chart\u0004No activity this period":["S’ka veprimtari për këtë periudhë"],"Settings header, noun.\u0004WordPress.com login":["Hyrje me WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Dërgo lidhje"],"A caption for a button to cancel an action.\u0004Cancel":["Anuloje"],"Link to learn more about Jetpack.\u0004About":["Rreth"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Module"],"Navigation item.\u0004Performance":["Funksionim"],"Navigation item.\u0004My Plan":["Plani Im"],"Navigation item.\u0004Dev Tools":["Mjete Zhvilluesi"],"Navigation item.\u0004Settings":["Rregullime"],"Navigation item.\u0004Discussion":["Diskutim"],"Navigation item.\u0004Traffic":["Trafik"],"Navigation item.\u0004Sharing":["Ndarje Me të Tjerët"],"Navigation item.\u0004At A Glance":["Me një Vështrim"],"Navigation item.\u0004Plans":["Plane"],"Navigation item.\u0004Writing":["Të shkruarit"],"Navigation item.\u0004Reset Options (dev only)":["Mundësi Rikthimi Në Fillimet (vetëm versione dev)"],"Navigation item.\u0004Security":["Siguri"],"Navigation item.\u0004At a Glance":["Me një Vështrim"],"Search term.\u0004terms of service":["kushte shërbimit"],"Search term.\u0004tos":["pl"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["të dhëna"],"Search term.\u0004tracks":["pjesë"],"Search term.\u0004privacy":["privatësi"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Përmirësojeni"],"Button caption\u0004Saving…":["Po ruhet…"],"Button caption\u0004Save settings":["Ruaji rregullimet"],"A heading for a block of related posts.\u0004Related":["Të afërta"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Paraparje"],"Short warning message\u0004Updates needed":["Lypsen përditësime"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Me pagesë"],"A header for a preview area in the configuration screen.\u0004Preview":["Paraparje"],"Ads header\u0004Ads":["Reklama"],"Dashboard widget header\u0004Site connection":["Lidhje sajti"],"Dashboard widget header\u0004Account connection":["Lidhje llogarie"],"A caption for a small button to fix security issues.\u0004Threats":["Rreziqe"],"A caption for a small button to fix security issues.\u0004FIX":["NDREQE"],"Short warning message about new threats found.\u0004Threats found!":["U gjetën rreziqe!"],"Short message informing user that the site is secure.\u0004Secure":["I sigurt"],"Caption for a button to set up a feature.\u0004Set up":["Rregullojeni"],"verb\u0004Copy":["Kopjoje"],"Shorthand for Privacy Policy.\u0004Privacy":["Privatësi"],"Shorthand for Terms of Service.\u0004Terms":["Kushte"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Diagnostikim"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["U bllokuan komente të padëshiruar."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-sr_RS-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-sr_RS-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index b43effde..00000000
--- a/plugins/jetpack/languages/json/jetpack-sr_RS-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"sr_RS"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Управљајте прегледношћу лајкова помоћу модула за подешавање подела{{/a}}"],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Постоје незапамћене измене у овом табу, које ће бити изгубљене ако га напустите. Наставити?"],"This will reset all Jetpack options, are you sure?":["Ово ће ресетовати све Jetpack опције, да ли сте сигурни?"],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Сазнај више"],"Posts":["Чланци"],"Front page":["Почетна страница"],"Pinterest":["Пинтерест"],"Google":["Google"],"Show related content after posts":[""],"Related":[""],"Disconnect":["Прекини везу"],"Save":["Сачувај"],"Media":["Садржај"],"Site Stats":["Статистике веб места"],"Sharing":["Дељење"],"Testimonials":["Сведочанства"],"Cancel":["Одустани"],"Comments":["Коментари"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Уреди"],"Connected":["Повезан"],"Activate":["Укључи"],"Active":["Укључено"],"Settings":["Подешавања"],"Learn More":["Сазнај више"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-sv_SE-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-sv_SE-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 14c38c6f..00000000
--- a/plugins/jetpack/languages/json/jetpack-sv_SE-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["Ditt %(planName)s-paket inkluderar %(featureName)s. Det verkar som du även köpt produkten %(productName)s. Överväg att ta bort %(productName)s."],"real-time backups":["säkerhetskopieringar i realtid"],"daily backups":["dagliga säkerhetskopieringar"],"Renews on %s.":["Förnyas %s."],"Purchased on %s.":["Köptes %s"],"Select a backup option:":["Välj ett säkerhetskopieringsalternativ:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["Uppgradera till %(name)s för {{price/}} %(billingTimeFrame)s"],"You are saving {{savings /}} by paying yearly":["Du sparar {{savings /}} genom att betala årligen"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Skynda dig, de här {{s}}introduktionspriserna gäller under en begränsad tid!{{/s}}"],"Up to %(percent)d%% off!":["Upp till %(percent)d%% i rabatt!"],"per month":["per månad"],"per year":["per år"],"Which backup option is best for me?":["Vilket säkerhetskopieringsalternativ är bäst för mig?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Hantera prenumeration"],"Your site is being backed up.":["Din webbplats säkerhetskopieras."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Du behöver ange autentiseringsuppgifterna för din server för slutföra konfigurationen av Jetpack-säkerhetskopia."],"Jetpack Backup is being configured for your site.":["Jetpack-säkerhetskopia konfigureras för din webbplats."],"Daily Backups":["Dagliga säkerhetskopieringar"],"Just looking for backups? We've got you covered.":["Är du bara ute efter säkerhetskopior? Vi har lösningen."],"Solutions":["Lösningar"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["Ingår i ditt {{planLink}}Professional-paket{{/planLink}}"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["Ingår i ditt {{planLink}}Premium-paket{{/planLink}}"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["Ingår i ditt {{planLink}}Personal-paket{{/planLink}}"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Säkerhetskopieringar som alltid är på säkerställer att du aldrig blir av med din webbplats. Dina ändringar sparas medan du redigerar och du har obegränsat med säkerhetskopieringsarkiv."],"Always-on backups ensure you never lose your site.":["Säkerhetskopieringar som alltid är på säkerställer att du aldrig blir av med din webbplats."],"My Products":["Mina produkter"],"My Plan":["Mitt paket"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack-säkerhetskopia {{em}}Realtid{{/em}}"],"Your data is being securely backed up as you edit.":["Dina data säkerhetskopieras säkert medan du redigerar."],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack-säkerhetskopia {{em}}Daglig{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Dina data säkerhetskopieras säkert med ett 30-dagars arkiv."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpacks Premium"],"Jetpack Personal":["Jetpacks Personal"],"Jetpack Free":["Jetpack Free"],"Expired on %s.":["Löper ut %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Har du några frågor? Vi hjälper gärna till! {{a}}Skicka en fråga till Jetpack-supportteamet.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack har flera kraftfulla verktyg som kan hjälpa dig att uppnå dina mål"]," We’ve highlighted some of the features you rely on below.":[" Vi går igenom några att de funktionerna du förlitar dig på nedan."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack driver för tillfället funktioner på din webbplats. När du inaktiverar Jetpack, kommer de här funktionerna inte längre att vara tillgängliga och din webbplats kanske inte längre fungerar på samma sätt."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack driver för tillfället funktioner på din webbplats. När du kopplar från Jetpack, kommer de här funktionerna inte längre att vara tillgängliga och din webbplats kanske inte längre fungerar på samma sätt."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Öka din trafik med automatiserad {{a}}publicering och delning{{/a}} på sociala medier"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["Blockera {{a}}råstyrkeattacker{{/a}} och bli meddelad omedelbart om din webbplats ligger nere"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["Snabba upp din webbplats och erbjud bilder som är mobilredo med {{a}}vår CDN{{/a}}"],"Disable":["Inaktivera"],"Are you sure you want to disconnect and deactivate?":["Är du säker på att du koppla från och inaktivera?"],"Are you sure you want to disconnect?":["Är du säker på att du vill koppla från?"],"Disable Jetpack":["Inaktivera Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Vi säkerhetskopierar din webbplats vid varje ändring du gör, vilket gör det enkelt att rätta till dina misstag."],"Automated Real-time Backups":["Automatiserade säkerhetskopieringar i realtid"],"We back up your website every day, so you never have to worry about your data again.":["Vi säkerhetskopierar din webbplats varje dag, så du behöver aldrig oroa dig för dina data igen."],"Automated Daily Backups":["Automatiserade dagliga säkerhetskopieringar"],"View Your Backups":["Visa dina säkerhetskopior"],"A Jetpack Site securely backed up with Jetpack Backup":["En Jetpack-webbplats säkerhetskopierad med Jetpack Backup"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Använd Markdown-syntax för att komponera innehåll med länkar, listor och andra stilar. Den här inställningen aktiverar Markdown i den klassiska redigeraren samt inuti ett block i den klassiska redigeraren."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}Aktivera{{/a}} för att optimera bildstorlekar och läsa in bilder från Jetpacks snabba globala nätverk av servrar. Det förbättrar din webbplats prestanda på stationära och mobila enheter."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack optimerar bildstorlekar och hämtningshastighet med vårt snabba globala nätverk av servrar. Det förbättrar din webbplats prestanda på stationära och mobila enheter."],"Image Accelerator":["Bildaccelerator"],"Start with free":["Starta med Free"],"Now that you're set up, pick a plan that fits your needs.":["När du nu har ställt in kan du välja ett paket som passar dina behov."],"Jetpack Backup":["Jetpack-säkerhetskopia"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Ditt Jetpack-paket inkluderar skydd mot skräpport via Akismet. Klicka på ”konfigurera” för att aktivera det på din webbplats."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Har du redan en nyckel? {{a}}Aktivera Akismet{{/a}}"],"Verifying…":["Kontrollerar ..."],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Förbättra din sökmotorrankning med de kraftfulla verktygen för sökmotorsoptimering i Jetpack Premium eller Professional."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Ge din webbplats ett snabbt laddande och effektivt utseende för mobila enheter. Besökare ser fortfarande ditt vanliga tema på andra skärmstorlekar."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Skapa en snygg, oavbruten läsupplevelse genom att läsa in mer innehåll när besökare bläddrar till slutet av dina arkivsidor."],"Customize your SEO settings":["Anpassa dina SEO-inställningar"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Ta kontroll över hur sökmotorer visar din webbplats. Med Jetpacks verktyg för sökmotoroptimering kan du förhandsgranska hur ditt innehåll kommer att se ut på populära sökmotorer och ändra saker som din webbplats namn och tagline på bara sekunder."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Lägg till delningsknappar så att besökare kan dela dina inlägg och sidor på sociala medier med ett par snabba klick."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Inkludera ett litet diagram i ditt adminfält med en ögonblicksbild över trafiken de senaste 48 timmarna."],"Expand to update settings for how visits are counted and manage who can view this information.":["Expandera för att uppdatera inställningarna för hur besök räknas och hantera vem som kan se den här informationen."],"You can customize the sharing buttons and choose which services to display.":["Du kan anpassa delningsknapparna och välja vilka tjänster som ska visas."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Din webbplats är skyddad av Jetpack. Du kommer att bli underrättad om något behöver uppmärksamhet."],"Find threats early so we can help fix them fast.":["Hitta hot tidigt så att vi kan hjälpa till att åtgärda dem snabbt."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Ersätt webbplatsens grundläggande sökning med anpassningsbar sökning som hjälper besökare att hitta svar snabbare."],"Never worry about losing your site – automatic backups keep your content safe.":["Sluta oroa dig för att förlora din webbplats – med automatiska säkerhetskopior är ditt innehåll säkert."],"Protect":["Skydda"],"Scan":["Skanna"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Rensa automatiskt skräppost från dina kommentarer och formulär, så att du kan ägna dig åt viktigare saker."],"Anti-spam":["Anti-spam"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Anslut din webbplats till Google Analytics på endast några sekunder med Jetpack Premium eller Professional."],"Log in to the WordPress mobile app":["Logga in på WordPress mobilapp"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Logga enkelt in i WordPress-appen genom att klicka på länken vi skickar till e-postadressen på ditt konto."],"Email me a link to log in to the app":["Skicka en länk till mig per e-post för att logga in på appen"],"Send your new posts to this email address:":["Skicka dina nya inlägg till den här e-postadressen:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["Publicering via e-post är ett snabbt sätt att publicera nya inlägg utan att besöka din webbplats. Vi kommer att skapa en unik e-postadress som du kan skicka ditt innehåll till. Det kommer sedan att publiceras på din webbplats precis som vilket inlägg som helst."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["WordPress.com-verktygsfältet ersätter standardverktygsfältet för administratörer på WordPress. Det ger åtkomst till aviseringar, din WordPress.com-profil och dina andra Jetpack- och WordPress.com-webbplatser. Du kan också läsa det senaste från de webbplatser som du följer i Reader."],"Verify site ownership with third party services":["Bekräfta att du äger webbplatsen gentemot tredjeparter"],"Generate shortened URLs for simpler sharing.":["Skapa kortare webbadresser för enklare delning."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Bibehåll besökarnas intresse med relaterat innehåll längst ner på varje inlägg. Dessa inställningar gäller inte {{a}}relaterade inlägg som läggs till med blockredigeraren{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Med den här funktionen hittar besökarna mer av ditt innehåll genom att visa relaterade inlägg längst ner på varje inlägg."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack genererar automatiskt en anpassad {{link1}}ads.txt{{/link1}} som är skräddarsydd för din webbplats. Om du behöver lägga till ytterligare poster för andra nätverk så lägger du till dem i utrymmet nedan, en per rad. {{link2}}Läs här för mer information{{/link2}}."],"Add sharing buttons to your posts and pages":["Lägg till delningsknappar i dina inlägg och sidor"],"Share your content to social media, reaching new audiences and increasing engagement.":["Dela ditt innehåll på sociala medier och nå ut till nya målgrupper och engagera fler personer."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Få aviseringar om din webbplats är nere. Vi informerar dig också när de är igång igen."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Med Jetpack kan du välja att uppdatera dina tillägg automatiskt vid lanseringen av varje nytt tillägg. Du får de senaste säkerhetsuppdateringarna och buggfixarna direkt, så att din webbplats alltid är säker."],"Choose which plugins to auto-update":["Välj vilka tillägg som ska uppdateras automatiskt"],"Upgrade Jetpack now":["Uppgradera Jetpack nu"],"Monetize your site by running high quality ads.":["Tjäna pengar på din webbplats genom att visa reklam av hög kvalitet."],"Customize your social posting schedule.":["Anpassa ditt schema för inlägg på sociala medier."],"Expand your audience with pro SEO tools.":["Utöka din målgrupp med professionella verktyg för sökmotorsoptimering."],"Take your site to the next level!":["Ta din webbplats till nästa nivå!"],"Search support docs":["Sök supportdokument"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Behöver du hjälp? Lär dig om att komma igång, anpassa din webbplats, använda avancerade kodsegment med mera."],"Start sharing":["Börja dela"],"Optimized performance":["Optimerad prestanda"],"Enable the “subscribe to comments” option on your comment form":["Aktivera alternativet ”prenumerera på kommentarer” i ditt kommentarsformulär"],"Enable the “subscribe to site” option on your comment form":["Aktivera alternativet ”prenumerera på webbplats” i ditt kommentarsformulär"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Hantera avancerade inställningar för kommentarer och få en större målgrupp med e-postprenumerationer."],"Comment form introduction":["Introduktion till kommentarsformulär"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack Anti-spam från Akismet. Kommentarer och inlägg i kontaktformuläret granskas mot vår globala skräppostdatabas."],"Failed to send login email":["Det gick inte att skicka e-post för inloggning"],"Login email sent":["E-post för inloggning har skickats"],"Sending login email…":["Skickar e-post för inloggning..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Oroad för säkerheten? Få säkerhetskopiering, automatiska säkerhetsuppdateringar med mera: {{a}}Uppgradera nu{{/a}}"],"Allow readers to like individual comments.":["Tillåt läsare att gilla enskilda kommentarer."],"Enable comment likes.":["Aktivera gilla-funktionen på kommentarer."],"Allow readers to use markdown in comments.":["Låt läsarna använda märkspråk i kommentarer."],"Show Gravatar hovercards alongside comments.":["Visa Gravatar-hovercards vid kommentarer."],"Complete Jetpack Setup":["Slutför installationen av Jetpack"],"Your Jetpack setup progress":["Ditt Jetpack-konfigurationsförlopp"],"View your setup checklist":["Visa kontrolllistan för konfiguration"],"Yearly":["Årligen"],"Monthly":["Månadsvis"],"About Jetpack":["Om Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Aktivera widgetvisningskontroller så att de endast visas på vissa inlägg eller sidor"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Med widgetvisning kan du bestämma vilka widgetar som ska visas på vilka sidor så att du kan finanpassa widgetinnehållet."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Gör extra widgetar tillgängliga för användning på din webbplats, inklusive prenumerationsformulär och twitterflöden."],"Enhance CSS customization panel":["Utvidga CSS-anpassningspanelen"],"Writing":["Skriva"],"Compose using shortcodes to embed media from popular sites":["Skriv med kortkod för att bädda in media från populära webbplatser"],"Traffic":["Trafik"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Du behöver ange autentiseringsuppgifterna för din server för att kunna slutföra konfiguration av Säkerhetskopiera & Skanna."],"Awaiting credentials":["Väntar autentiseringsuppgifter"],"Backups and Scan are being configured for your site.":["Säkerhetskopiera & Skanna konfigureras för din webbplats."],"Provisioning":["Etablering"],"Action needed":["Åtgärd behövs"],"Setting up":["Installation"],"Discussion":["Diskussion"],"We are configuring your site protection.":["Vi konfigurerar skyddet för din webbplats."],"View your site's backups":["Visa din webbplats säkerhetskopior"],"We are backing up your site in real-time.":["Vi säkerhetskopierar din webbplats i realtid."],"Enter credentials":["Ange autentiseringsuppgifter"],"You need to enter your server's credentials to finish the setup.":["Du behöver ange autentiseringsuppgifterna för din server för att slutföra installationen."],"We are configuring your site's backups.":["Vi konfigurerar din webbplats säkerhetskopior."],"View site activity":["Visa webbplatsaktivitet"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack håller ett fullständigt register över allt som händer på din webbplats, vilket gör att du slipper gissa när det kommer till webbplatshantering, felsökning och reparation."],"Explore our Jetpack plans":["Utforska våra Jetpack-paket"],"Support documentation":["Supportdokumentation"],"Chat bubbles representing getting in touch with support":["Använd talbubblorna för att kontakta supporten"],"Site activity":["Webbplatsaktivitet"],"Reach a wider audience by automatically sharing your posts on social media.":["Nå ut till en större målgrupp genom att dela dina inlägg automatiskt på sociala medier."],"Increase traffic to your site":["Öka trafiken till din webbplats"],"Explore free themes":["Utforska gratisteman"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Få obegränsad åtkomst till hundratals professionella teman och anpassa din webbplats precis som du vill ha den."],"A wide variety of themes and tools to customize a site":["Ett brett urval av teman och verktyg för att anpassa en webbplats"],"Set up your site security":["Ställ in webbplatssäkerhet"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Förhindra inloggningsattacker och få aviseringar omedelbart när problem uppstår med din webbplats."],"Site stats showing an evolution in traffic and engagement":["Webbplatsstatistik visar utvecklingen av trafik och användning"],"A hand holding a loupe":["En hand som håller ett förstoringsglas"],"A chart showing an healthy increase in earnings":["En tabell som visar goda ökade intäkter"],"Interface showing a chronological list of changes and updates in a site":["Ett gränssnitt som visar en kronologisk lista över ändringar och uppdateringar på en webbplats"],"A cloud with multiple types of content floating around it":["Ett moln med många typer av innehåll som svävar omkring det"],"A folder holding real comments":["En mapp som innehåller verkliga kommentarer"],"Make your site faster":["Gör din webbplats snabbare"],"Load pages faster by serving your images from our global network of servers.":["Ladda sidor snabbare genom att lägga upp dina bilder från vårt globala servernätverk."],"A fast and performant website":["En snabb och högpresterande webbplats"],"A secure site, locked and protected by Jetpack":["En säker webbplats som är låst och skyddad av Jetpack"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Kopiera befintliga inlägg, sidor, omdömen och portföljer. Allt innehåll kommer att kopieras, inklusive text, utvalda bilder, delningsinställningar, med mera."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Den här webbplatsen kan inte anslutas till WordPress.com eftersom den bryter mot våra {{a}}Användarvillkor{{/a}}."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Anslut din webbplats till de sociala medier du använder och dela innehållet på alla dina sociala konton med ett enda klick. När du publicerar ett inlägg visas det på alla anslutna konton."],"Add Like buttons to your posts and pages":["Lägg till Gilla-knappar i dina inlägg och sidor"],"When visitors enjoy your content, let them show it with a Like.":["När besökare gillar ditt innehåll, låt dem visa det med ett Gilla-tryck."],"Create account":["Skapa konto"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack ger kraft åt din webbplats, men för att få åtkomst till alla dess funktioner behöver du skapa ett konto."],"Compose content the way you want to and streamline your publishing experience.":["Skapa innehåll på det sätt som du önskar och strömlinjeforma din publiceringsupplevelse."],"Add a portfolio item":["Lägg till ett portföljobjekt"],"Add a testimonial":["Lägg till ett omdöme"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Maximera synligheten för din webbplats i sökmotorer och se statistik över trafiken i realtid."],"Create a Jetpack account to use this feature":["Skapa ett Jetpack-konto för att använda denna funktion"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack övervakar din webbplats kontinuerligt och varnar dig direkt när ett driftstopp upptäcks."],"Error enabling Site accelerator. %(error)s":["Ett fel uppstod vid aktiveringen av webbplatsacceleratorn. %(error)s"],"Site accelerator is now speeding up your site!":["Webbplatsacceleratorn kommer nu göra din webbplats snabbare!"],"Enabling Site accelerator…":["Aktiverar webbplatsacceleratorn..."],"Error disabling site accelerator. %(error)s":["Ett fel uppstod vid inaktiveringen av webbplatsacceleratorn. %(error)s"],"Site accelerator is no longer speeding up your site!":["Webbplatsacceleratorn ökar inte längre hastigheten för din webbplats!"],"Disabling site accelerator…":["Inaktivering av webbplatsacceleratorn."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Ladda sidor snabbare, optimera bilder och skapa en snabbare upplevelse för dina besökare."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Komplettera statistiken från WordPress.com med Googles djupgående analys av dina besökare och deras trafikmönster."],"High-speed, high-definition video hosting with no third-party ads.":["Högupplöst videovisning med hög hastighet, utan annonser från tredje part."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Tidsinställ obegränsat med tweets, Facebook-inlägg och andra sociala inlägg i förväg."],"Marketing Automation":["Automatiserad marknadsföring"],"Activate Jetpack Search":["Aktivera Jetpack-sökning"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Ersätt WordPress standardsökning med bättre resultat och filtrering via Elasticsearch."],"Start earning":["Börja tjäna pengar"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds gör att du kan tjäna pengar genom att visa reklaminnehåll. Börja tjäna pengar idag."],"Spam is automatically blocked from your comments.":["Skräppost blockeras automatiskt från dina kommentarer."],"Browse premium themes":["Bläddra bland premiumteman."],"Access hundreds of beautifully designed premium themes at no extra cost.":["Få tillgång till hundratals vackert designade premium-teman utan extra kostnad."],"Try a premium theme":["Testa ett premiumtema"],"View settings":["Visa inställningar"],"Create a Jetpack account to view your email followers":["Skapa ett Jetpack-konto för att visa dina prenumeranter av e-post"],"Manage security settings":["Hantera säkerhetsinställningar"],"Jetpack is ready for the new WordPress editor":["Jetpack är redo för den nya WordPress-redigeraren"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["I dag introducerar vi den första vågen av Jetpack-specifika block som har utformats särskilt för den nya redigeraren: Enkel betalningsknapp, formulär, karta och Markdown."],"Build your Jetpack site with blocks":["Bygg din Jetpack-webbplats med block"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["En ny redigerare? Ja! {{a}}Läs mer{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Funktionerna du förlitar dig på har anpassats till en ny WordPress-redigerare."],"Take me to the new editor":["Ta mig till den nya redigeraren"],"Testing Jetpack Connection":["Testar Jetpack-anslutning"],"There was an error testing Jetpack. Error: %(error)s":["Det uppstod ett fel när Jetpack testades. Fel: %(error)s"],"New in Jetpack!":["Nytt i Jetpack!"],"Speed up static file load times":["Snabba upp laddningstiderna för statiska filer"],"Speed up image load times":["Snabba upp laddningstiderna för bilder"],"Enable site accelerator":["Aktivera webbplatsacceleratorn"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Ladda sidor snabbare genom att tillåta Jetpack att optimera dina bilder och servera dina bilder och statiska filer (såsom CSS och JavaScript) från vårt globala servernätverk."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["Lägg till ett extra säkerhetslager för din webbplats genom att aktivera WordPress.com-inloggning och säker autentisering. Om du har flera webbplatser med det här alternativet aktiverat kan du logga in på alla med samma uppgifter."],"View your site activity":["Visa din webbplatsaktivitet"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Visa en kronologisk lista över alla ändringar och uppdateringar på din webbplats på ett organiserat, läsbart sätt."],"Manually Verify ":["Verifiera manuellt"],"Verify with Google":["Verifiera med Google"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google kommer att skicka e-post om vissa händelser på din webbplats, inklusive indikationer på att din webbplats har blivit {{a1}}hackad{{/a1}}, eller problem med {{a2}}indexeringen av{{/a2}} din webbplats."],"or":["eller"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["Övervaka din webbplats trafik och prestanda från{{a}}Google Search Console{{/a}}."],"Your site is verified with Google":["Din webbplats är verifierad med Google"],"Site failed to verify: %(error)s":["Webbplats kunde inte verifieras: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Lägg till snabbare och mer avancerad sökning för din webbplats med Jetpack Professional."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["Ersätt WordPress inbyggda sökfunktion med Jetpack Sök, en avancerat sökupplevelse"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Sök ersätter den inbyggda sökningen med en snabb, skalbar, anpassningsbar och mycket relevant sökningsvärd i WordPress.com-molnet. Resultatet: Dina användare hittar det innehåll de vill ha, snabbare."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["Den inbyggda WordPress-sökningen är utmärkt för webbplatser som inte har så mycket innehåll. Men när din webbplats växer blir sökningarna saktare och returnerar mindre relevanta resultat."],"Jetpack Search supports many customizations.":["Jetpack Sök stöder många anpassningar."],"Site is verified":["Webbplats är verifierad"],"Spam filtering and priority support.":["Skräppostfiltrering och prioriterad support."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["När annonser är aktiverade genererar Jetpack automatiskt en anpassad ads.txt som är skräddarsydd för din webbplats."],"Custom ads.txt entries":["Anpassade ads.txt-poster"],"Privacy information":["Integritetsinformation"],"Enable Lazy Loading for images":["Aktivera ”Lazy Load” för bilder"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["”Lazy load” av bilder snabbar upp din webbplats och skapar en jämnare visningsupplevelse. Bilder laddas in allteftersom besökaren bläddrar nedåt på skärmen, istället för alla på en gång."],"Performance & speed":["Prestanda och hastighet"],"Enable high-speed, ad-free video player":["Aktivera snabb, reklamfri videospelare"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Gör innehållet du publicerar mer engagerande med högupplöst video. Med Jetpack Video kan du anpassa din mediaspelare och leverera snabba, reklamfria och varumärkesfria videor till dina besökare. Videor lagras på våra WordPress.com-servrar och upptar inte något utrymme på ditt webbhotell!"],"Video":["Video"],"Carousel color scheme":["Karusellfärgschema"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif-data visar besökare ytterligare tekniska detaljer för en bild, såsom brännvidd, bländare och ISO."],"Show photo Exif metadata in carousel (when available)":["Visa Exif-metadata för bild i karusellvisning (när de är tillgängliga)"],"Display images in a full-screen carousel gallery":["Visa bilder i ett karusellgalleri i fullskärm."],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Skapa karusellbildspel i fullskärm för bilderna i dina inlägg och på dina sidor. Karusellgallerier är mobilvänliga och uppmanar webbplatsbesökare att interagera med dina bilder."],"Portfolios shortcode: [portfolio]":["Portfolio-kortkod: [portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["Använd {{portfolioLink}}portfolior{{/portfolioLink}} på din webbplats för att visa upp ditt bästa arbete. Om ditt tema inte har stöd för Jetpack-portfolior kan du ändå visa dem på din webbplats med hjälp av en enkel kortkod."],"Testimonials shortcode: [testimonials]":["Kortkod för omdömen: [testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Lägg till {{testimonialLink}}omdömen{{/testimonialLink}} på din webbplats för att locka nya kunder. Om ditt tema inte har stöd för Jetpack-omdömen kan du ändå visa dem på din webbplats med hjälp av en enkel kortkod."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Sökmotorer kan inte komma åt din webbplats för tillfället. Om du vill göra din webbplats tillgänglig, kontrollera dina {{a}}inställningar för Läsaren{{/a}} och slå på ”Synlighet i sökmotorer”."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["Goda nyheter: Jetpack skickar automatiskt din webbplatskarta till alla större sökmotorer för indexering."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Webbplatskartor är filer som sökmotorer som Google eller Bing använder för att indexera din webbplats. De kan hjälpa till att förbättra din rankning i sökresultat. När du aktiverar den här funktionen skapar Jetpack webbplatskartor åt dig och uppdaterar dem automatiskt när innehållet på din webbplats ändras."],"Configure related posts in the Customizer":["Konfigurera relaterade inlägg i Anpassa"],"Highlight related content with a heading":["Framhåll relaterat innehåll med en rubrik"],"View security scan details":["Visa säkerhetsskanningsdetaljer"],"Test your site’s compatibility with Jetpack.":["Testa din webbplats kompatibilitet med Jetpack."],"Show a thumbnail image where available":["Visa miniatyrbilder om de finns"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["För mer information om hur specifika Jetpack-funktioner använder data- och spårningsaktiviteter se vårt {{privacyCenterLink}}Integritetscenter{{/privacyCenterLink}}."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Vi använder andra spårningsverktyg, inklusive några från tredje part. {{cookiePolicyLink}}Läs om dessa{{/cookiePolicyLink}} och hur man kontrollerar dem."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Denna information hjälper oss att förbättra våra produkter, göra vår marknadsföring gentemot dig mer relevant, anpassa din WordPress.com-upplevelse och mycket mer, enligt vår {{pp}}sekretesspolicy{{/pp}}."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["Dela information med våra analysverktyg om din användning av tjänster när du är inloggad på ditt WordPress.com-konto. {{cookiePolicyLink}}Läs mer{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Den här funktionen hanteras av en administratör. {{link}}Läs mer{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Den här funktionen har inaktiverats av en administratör. {{link}}Läs mer{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Den här funktionen har aktiverats av en administratör. {{link}}Läs mer{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName) har inaktiverats av en administratör. {{link}}Läs mer{{/link}}."],"This feature has been disabled by a site administrator.":["Den här funktionen har inaktiverats av en administratör."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName) har inaktiverats av en administratör."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Du kan lägga till ytterligare annonser med Ad-widgeten. {{link}}Prova det!{{/link}}"],"Configure your notification settings":["Konfigurera dina notisinställningar"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack-sökning är en kraftfull ersättning för sökfunktionen inbyggd i WordPress."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Filerna på din webbplats söks regelbundet igenom efter obehöriga eller misstänksamma ändringar som kan kompromettera din säkerhet och data."],"Plugin needs updating.":["Tillägg behöver uppdateras.","Tillägg behöver uppdateras."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpacks tillägg Updates låter dig välja vilka tillägg som ska uppdateras automatiskt."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack kommer att optimera dina bilder och leverera dem från den server som finns närmast dina besökare. Användningen av vårt globala nätverk för innehållsdistribution får din webbplats att laddas snabbare."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpacks driftstoppsövervakning håller koll på din webbplats och och varnar dig direkt när ett driftstopp upptäcks."],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack Backups låter dig enkelt återställa eller ladda ner en säkerhetskopia från ett specifikt tillfälle."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Aktiverar ett mobilvänligt tema som väger lite och som kommer att visas för besökare på mobila enheter."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Laddar nästa inlägg automatiskt när läsaren närmar sig slutet på sidan."],"Allows you to publish new posts by sending an email to a special address.":["Gör att du kan publicera nya inlägg genom att skicka ett e-postmeddelande till en särskild adress."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Lägger till ett verktygsfält med länkar till alla dina webbplatser, meddelanden, din WordPress.com-profil och Läsaren."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["Tillhandahåller de nödvändiga, dolda taggar som behövs för att verifiera din WordPress-webbplats med olika tjänster."],"Displays information on your site activity, including visitors and popular posts or pages.":["Visar information om aktiviteten på din webbplats, inklusive besökare och populära inlägg eller sidor."],"Allows you to optimize your site and its content for better results in search engines.":["Gör att du kan optimera din webbplats och dess innehåll för bättre resultat i sökmotorer."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["Integrerar din WordPress-webbplats med Google Analytics, en plattform som erbjuder insikter om din trafik, besökare och konverteringar."],"Displays high-quality ads on your site that allow you to earn income.":["Visa annonser av hög kvalitet på din webbplats som gör att du kan skapa intäkter."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Gör så att du automatiskt kan dela ditt senaste innehåll på sociala medier, inklusive Facebook och Twitter."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Lägger till gilla-knappar i ditt innehåll så att besökare kan visa sin uppskattning."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Gör så att registrerade användare kan logga in på din webbplats med sina WordPress.com-konton."],"Protects your site from traditional and distributed brute force login attacks.":["Skyddar din webbplats från traditionella och distribuerade brute force-inloggningsattacker."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Säkerhetskopierar din webbplats till de globala WordPress.com-servrarna, så att du kan återställa innehållet i händelse av en nödsituation eller ett fel."],"Removes spam from comments and contact forms.":["Tar bort skräppost från kommentarer och kontaktformulär."],"We are committed to your privacy and security. ":["Vi är engagerade i din integritet och säkerhet. "],"View all Jetpack plans":["Visa alla Jetpack-paket"],"Manage your plan":["Hantera ditt paket"],"Your Plan":["Ditt paket"],"You’re currently on Jetpack %(plan)s.":["Du är för närvarande på Jetpack %(plan)s."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Gör att användare kan prenumerera på dina inlägg eller kommentarer och ta emot notiser om nytt innehåll via e-post."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Ersätter WordPress standardformulär för kommentarer med ett nytt kommentarssystem som innehåller inloggningsalternativ för sociala medier."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}Aktivera{{/a}} för att ersätta WordPress inbyggda sökfunktion med Jetpack Sök, en avancerad sökupplevelse"],"Add Search (Jetpack) Widget":["Lägg till Sökwidget (Jetpack)"],"Jetpack Search is powering search on your site.":["Jetpack Sök förbättrar sökningen på din webbplats."],"Manage your plugins":["Hantera dina tillägg"],"Moderate comments":["Moderera kommentarer"],"Error updating privacy settings. %(error)s":["Fel vid uppdatering av integritetsinställningar. %(error)s"],"Updated privacy settings.":["Uppdaterade integritetsinställningar"],"Updating privacy settings…":["Uppdaterar integritetsinställningar ..."],"Add Jetpack Search Widget":["Lägg till Jetpack sökwidget"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Lägg till Jetpack-sök widget i din sidopanel för att konfigurera sortering och filter."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Fullständigt säkerhetspaket, marknadsförings- och intäktsautomatiseringsverktyg, obegränsat videohotell, obegränsade teman, förbättrad sökning och prioriterad support."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Fullständigt säkerhetspaket, marknadsförings- och intäktsautomatiseringsverktyg, obegränsat videohotell och prioriterad support."],"Daily backups, spam filtering, and priority support.":["Daglig säkerhetskopiering, skräppostfiltrering och prioriterad support."],"Always-on security":["Ständigt aktiv säkerhet"],"Activate video hosting":["Aktivera videohotell"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Säkerhetskopiering av alla dina webbplatsdata i realtid med obegränsat utrymme, återställning med ett klick, automatisk säkerhetsskanning och prioriterad support"],"Design the perfect website":["Designa den perfekta webbplatsen"],"Set up Jetpack":["Konfigurera Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Säkerhetskopiera alla dina webbplatsdata i realtid med obegränsat utrymme, återställning med ett klick och automatisk säkerhetsskanning."],"Jetpack Search":["Jetpack Sök"],"Jetpack version %(version)s":["Jetpack version %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Din webbplats säkerhetskopieras i realtid och skannas regelbundet igenom efter säkerhetshot."],"Daily backup of all your site data with unlimited space and one-click restores":["Dagliga säkerhetskopior av alla din webbplatsdata med obegränsat utrymme och återställningar med ett klick"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Daglig säkerhetskopiering av alla dina data med obegränsat utrymme, återställningar med ett klick, automatisk säkerhetsskanning och prioriterad support"],"View your security activity":["Visa din säkerhetsaktivitet"]," (powered by VaultPress).":["(drivs av VaultPress)."],"Customize Search Widget":["Anpassa sökwidgeten"],"Please correct the issue below and try again.":["Vänligen åtgärda problemet nedan och försök igen.","Vänligen åtgärda problemen nedan och försök igen."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Vi ser till att din webbplats är fri från säkerhetshot. Du kommer att meddelas om vi hittar ett."],"Jetpack version":["Jetpack version"],"Activity":["Aktivitet"],"{{a}}View details{{/a}}":["{{a}}Visa detaljer{{/a}}"],"Monetize your site with ads":["Tjäna pengar på din webbplats med hjälp av annonser"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Genom att klicka på knappen nedan godkänner du våra {{tosLink}}användarvillkor{{/tosLink}} och att {{shareDetailsLink}}dela detaljer{{/shareDetailsLink}} med WordPress.com."],"Jetpack Stats People":["Jetpack-statistik personer"],"Hello there! Your stats have been activated.":["Hallå där! Din statistik har aktiverats."],"Just give us a little time to collect data so we can display it for you here.":["Ge oss lite mer tid att samla in data så att vi kan visa det för dig här."],"Okay, got it!":["Ok, jag fattar!"],"Display ads below posts on":["Visa annonser under inlägg på"],"Additional ad placements":["Ytterligare annonsplaceringar"],"Top of each page":["Längst upp på varje sida"],"Second ad below post":["Andra annonsen under inlägg"],"Archives":["Arkiv"],"Stars":["Stjärnor"],"Jupiter":["Jupiter"],"Schedule posts":["Schemalägg inlägg"],"Activate Publicize":["Aktivera ”offentliggör”"],"Your site is backed up.":["Din webbplats är säkerhetskopierad."],"Get WordPress Apps for every device":["Hämta WordPress-appar för alla enheter."],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Hantera alla dina webbplatser från en enda adminpanel: publicera innehåll, följ statistik, moderera kommentarer och mycket mer, var som helst ifrån."],"Create address":["Skapa adress"],"Automatically share your posts to social networks":["Dela dina inlägg automatiskt på sociala nätverk"],"Updating settings…":["Uppdaterar inställningar…"],"Updating Post by Email address…":["Uppdaterar adress för Inlägg via e-post…"],"Your paid plan gives you access to prioritized Jetpack support.":["Ditt betalpaket ger dig tillgång till prioriterad Jetpack-support."],"You have paid for backups but they're not yet active.":["Du har betalat för säkerhetskopieringar men de är inte aktiverade ännu."],"You have paid for backups and security scanning but they’re not yet active.":["Du har betalat för säkerhetskopieringar och säkerhetsskanning men de är inte aktiverade ännu."],"Click \"Set Up\" to finish installation.":["Klicka på \"Konfigurera\" för att slutföra installationen."],"Checking site status…":["Kontrollerar webbplatsens status…"],"Pages":["Sidor"],"Access the full list of Jetpack modules available on your site.":["Få den fullständiga förteckningen över Jetpack-moduler som finns tillgängliga på din webbplats."],"We're here to help":["Vi finns här för att hjälpa"],"Jetpack comes with free, basic support for all users.":["Jetpack levereras med gratis, grundläggande support för alla användare."],"Ask a question":["Ställ en fråga"],"Search our support site":["Sök på vår supportwebbplats"],"Get a faster resolution to your support questions.":["Få svar snabbare på dina supportfrågor."],"Host fast, high-quality, ad-free video.":["Snabb, reklamfri videolagring med hög kvalitet."],"Generate income with high-quality ads.":["Skapa inkomster med annonser av hög kvalitet."],"Real-time site backups and automatic threat resolution.":["Säkerhetskopiering av webbplatsen i realtid och automatisk lösning på säkerhetsproblem."],"Protect against data loss, malware, and malicious attacks.":["Skydd mot dataförlust, skadlig programvara och skadliga attacker."],"Protect your site from spam.":["Skydda din webbplats mot skräppost."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Denna webbplats är inte ansluten till WordPress.com. Be att webbplatsadministratören ansluter."],"An Automattic Airline":["Från Automattic, naturligtvis"],"Manage site connection":["Hantera webbplatsanslutning"],"Connect your account to WordPress.com to view more stats":["Anslut ditt konto till WordPress.com för att visa mer statistik"],"Theme enhancements":["Temaförbättringar"],"Load more posts using the default theme behavior":["Ladda fler inlägg med hjälp av standardtemats beteende"],"Load more posts in page with a button":["Ladda fler inlägg på sidan med en knapp"],"Load more posts as the reader scrolls down":["Ladda fler inlägg när besökaren bläddrar nedåt"],"Theme support required.":["Temasupport behövs."],"Learn more about adding support for Infinite Scroll to your theme.":["Läs mer om att lägga till stöd för oändlig bläddring i ditt tema."],"Show excerpts instead of full posts on front page and archive pages":["Visa utdrag istället för hela inlägg på startsida och arkivsidor"],"Show featured images":["Visa utvalda bilder"],"Enable the WordPress.com toolbar":["Aktivera WordPress.com-verktygsfältet"],"Writing tools available to you will be shown here when an administrator enables them.":["De skrivverktyg som finns tillgängliga för dig kommer att visas här när en administratör aktiverar dem."],"Portfolios":["Portföljer"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Observera att {{b}}verifiering av din webbplats med dessa tjänster inte är nödvändig{{/b}} för att din webbplats ska indexeras av sökmotorer. Klistra in HTML-etikettkoden nedan om du vill använda dessa avancerade sökmotorverktyg och verifiera din webbplats med en tjänst. Läs de {{support}}fullständiga instruktionerna{{/support}} om du får problem. Verifieringstjänster som stöds: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}} och {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["Generera XML-webbplatskartor"],"The image helps collect stats, but should work when hidden.":["Bilden hjälper till att samla statistik, men bör fungera även när den är dold."],"Count logged in page views from":["Räkna inloggade sidvisningar från"],"Allow stats reports to be viewed by":["Tillåt att statistikrapporter visas för"],"In \"Upgrade\"":["I \"Uppgradera\""],"Configure your Google Analytics settings":["Konfigurera dina Google Analytics-inställningar"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Visa annonser i den första artikeln på din startsida eller i slutet på varje sida och inlägg. Placera fler annonser längst upp på din webbplats och i alla widget-områden för att öka dina inkomster."],"Enable ads and display an ad below each post":["Aktivera annonser och visa en annons under varje inlägg"],"Configure your sharing buttons":["Konfigurera dina delningsknappar"],"Connect your social media accounts":["Anslut dina konton för sociala media"],"Match accounts using email addresses":["Koppla samman konton med hjälp av e-postadresser"],"Require accounts to use WordPress.com Two-Step Authentication":["Kräv att konton använder WordPress.com tvåstegs-autentisering"],"Add to whitelist":["Lägg till i vitlistan"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Du kan vitlista en IP-adress eller en serie adresser för att hindra dem från att någonsin blockeras av Jetpack. IPv4 och IPv6 kan användas. Ange ett intervall genom att ange det lägsta värdet och det högsta värdet åtskilda med ett bindestreck. Exempel: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Din webbplats är säkerhetskopierad och fri från hot."],"Checking your spam protection…":["Kontrollerar ditt spamskydd…"],"Fetching key…":["Hämtar nyckel…"],"Your site needs an Antispam key.":["Din webbplats behöver en Antispam-nyckel."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Det är problem med din Antispam API-nyckel. {{a}}Läs mer{{/a}}."],"Your site is not protected from spam.":["Din sida är inte skyddad mot spam."],"Your Antispam key is valid.":["Din Antispam-nyckel är giltig."],"Your site is protected from spam.":["Din sida är skyddad från spam."],"Checking key…":["Kontrollerar nyckel…"],"Your API key":["Din API-nyckel"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Om du inte redan har en API-nyckel kan du {{a}}hämta din API-nyckel här{{/a}}, och du kommer att guidas genom processen för att få den."],"No search results found for %(term)s":["Inga sökresultat hittades för %(term)s"],"Enter a search term to find settings or close search.":["Skriv in ett sökord för att hitta inställningar eller avsluta sökningen."],"Connections":["Anslutningar"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Din webbplats är i Utvecklingsläge, så den kan inte anslutas till WordPress.com."],"Your site is connected to WordPress.com.":["Din webbplats är ansluten till WordPress.com."],"You are the Jetpack owner.":["Du är Jetpack-ägaren."],"Connected as {{span}}%(username)s{{/span}}":["Ansluten som {{span}}%(username)s{{/span}}"],"View your Email Followers":["Visa dina e-postföljare"],"Color scheme":["Färgschema"],"Enable Markdown use for comments.":["Aktivera Markdown-användning för kommentarer."],"Updated settings.":["Uppdaterade inställningar."],"Error updating settings. %(error)s":["Fel vid uppdatering av inställningar. %(error)s"],"Regenerated Post by Email address.":["Adress för Inlägg via e-post har genererats igen."],"Error regenerating Post by Email address. %(error)s":["Fel uppstod när adress för Inlägg via e-post skulle genereras igen. %(error)s"],"Updated settings. Refreshing page…":["Uppdaterade inställningar. Uppdaterar sida …"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["För närvarande i {{a}}utvecklingsläge{{/a}} (vissa funktioner är blockerade) eftersom: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}Filtret jetpack_development_mode är aktivt{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}Konstanten JETPACK_DEV_DEBUG är definierad{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Det finns ingen punkt i URL:en för din webbplats (t.ex. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics är en gratistjänst som kompletterar vår {{a}}inbyggda statistik{{/a}} genom att visa olika saker om dina besökare. Statistiken från WordPress.com stats och Google Analytics använder olika metoder för att identifiera och spåra aktivitet på din webbplats, så normalt kommer de att visa något olika uppgifter för antal besök, sidvisningar o.s.v."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Konfigurera Google Analytics"],"Activate Google Analytics":["Aktivera Google Analytics"],"Download the free apps":["Ladda ner gratisapparna"],"Upgrade Focus: VideoPress For Weddings":["Uppgraderingsfokus: VideoPress för bröllop"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Nu kan du också konfigurera relaterade inlägg i Anpassa. {{ExternalLink}}Testa!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Annonser visas som standard i slutet av varje sida, inlägg eller i den första artikeln på din startsida. Du kan även lägga till dem längst upp på din webbplats och i alla widget-områden för att öka dina inkomster!"],"Display an ad unit at the top of your site.":["Visa en annonsenhet högst upp på din webbplats."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Genom att aktivera annonser godkänner du Automattic Ads {{link}}användarvillkor{{/link}}."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Din server är felkonfigurerad. Det gör att Jetpack Protect inte kan skydda sin webbplats effektivt."],"In \"Mobile\"":["Under ”Mobilt”"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}Konfigurera inställningarna för dina Monitor-meddelanden på WordPress.com{{/link}}"],"View your earnings":["Visa dina inkomster"],"Configure site SEO":["Konfigurera SEO för webbplats"],"Activate SEO tools":["Aktivera SEO-verktyg"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["För att komma igång klickar du på Lägg till media i din inläggsredigerare och laddar upp en video. Vi tar hand om resten!"],"Video Hosting":["Videovisning"],"SEO Tools":["SEO-verktyg"],"Advanced SEO tools to help your site get found when people search for relevant content.":["Avancerade verktyg för sökmotoroptimering som hjälper till så att din webbplats hittas när personer söker efter relevant innehåll."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Det enklaste sättet att ladda upp reklamfria och omärkta videoklipp på din webbplats. Du får statistik över videouppspelning och delningar, spelaren väger lite och är responsiv."],"You are running Jetpack on a staging server.":["Du kör Jetpack på en mellanserver."],"More Info":["Mer info"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Hantera synlighet för gilla-markeringar i inställningarna för delningsmodulen{{/a}}"],"Your current IP: %(ip)s":["Din aktuella IP: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Det finns inställningar på den här fliken som inte sparats och de kommer förloras om du lämnar den. Fortsätta?"],"This will reset all Jetpack options, are you sure?":["Detta kommer att återställa alla Jetpack-alternativ, är du säker?"],"Search for a Jetpack feature.":["Sök efter en Jetpack-funktion."],"Configure your Security Scans":["Konfigurera dina säkerhetsskanningar"],"Subscriber":["Prenumerant"],"Big iPhone/iPad Update Now Available":["Stor iPhone/iPad-uppdatering finns nu tillgänglig"],"The WordPress for Android App Gets a Big Facelift":["WordPress för Android får en rejäl ansiktslyftning"],"WordPress.com Likes are:":["WordPress.com Gillar är:"],"A few catchy words to motivate your visitors to comment.":["Några välfunna ord för att motivera dina läsare att kommentera."],"Hide the stats smiley face image":["Dölj smileyn från statistiken"],"Whitelisted IP addresses":["Vitlistade IP-adresser"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Visa en annons för WordPress mobilappar i sidfoten på mobiltemat"],"Copied!":["Kopierad!"],"Highlight and copy the following text to your clipboard:":["Markera och kopiera följande text till dina urklipp:"],"Regenerate address":["Återbilda adress"],"Cheatin' uh?":["Fuskar du?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Vill du berätta varför du inte slutförde Jetpack-anslutningen via detta {{a}}formulär med två frågor{{/a}}?{{/p}}{{p}}En Jetpack-anslutning krävs för att våra kostnadsfria säkerhets- och trafikfunktioner ska fungera.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["Välkommen till {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["Jetpack är redan anslutet."],"You're fueled up and ready to go, Jetpack is now active.":["Tanken är full och du är redo att köra, nu är Jetpack aktiverat."],"You're fueled up and ready to go.":["Tanken är full och du är redo att köra."],"You are currently running a development version of Jetpack.":["Du kör för närvarande en utvecklingsversion av Jetpack."],"Submit Beta feedback":["Ge oss beta-feedback"],"What would you like to see on your Jetpack Dashboard?":["Vad skulle du vilja se på din Jetpack-adminpanel?"],"Let us know!":["Låt oss veta!"],"Saving…":["Sparar..."],"Save Settings":["Spara inställningar"],"Jetpack Stats Icon":["Jetpack statistikikon"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}Aktivera webbplatsstatistik{{/a}} för att se detaljerad statistik, Gilla-markeringar, följare, prenumeranter och mycket mer! {{a1}}Läs mer{{/a1}}"],"Activate Site Stats":["Aktivera webbplatsstatistik"],"Site Backups":["Säkerhetskopiering av webbplats"],"Upgrade":["Uppgradera"],"ACTIVE":["AKTIV"],"View your spam stats":["Visa din skräppoststatistik"],"View your security dashboard":["Visa din säkerhetspanel"],"Real-Time Backups":["Säkerhetskopieringar i realtid"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Webbplatsen är i Utvecklingsläge, så du kan inte ansluta till WordPress.com."],"Link your account to WordPress.com to get the most out of Jetpack.":["Länka ditt konto till WordPress.com för att få ut mesta möjliga ur Jetpack."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["För automatisk, omfattande skanning efter säkerhetshot, {{a}}installera och aktivera{{/a}} VaultPress."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack blockerar skadliga inloggningsförsök aktivt. Information kommer snart att visas här!"],"Total malicious attacks blocked on your site.":["Totalt antal skadliga attacker blockerade på din webbplats."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}Aktivera Protect{{/a}} för att skydda din webbplats mot inloggningsförsök från utomstående."],"All plugins are up-to-date. Awesome work!":["Alla tillägg är uppdaterade. Bra jobbat!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack övervakar din webbplats. Om vi tror att din webbplats är nere får du ett e-postmeddelande."],"Security":["Säkerhet"],"Performance":["Prestanda"],"Backup":["Säkerhetskopiering"],"{{a}}View backup details{{/a}}.":["{{a}}Visa information om säkerhetskopiering{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["För att säkerhetskopiera hela din webbplats automatiskt, {{a}}installera och aktivera{{/a}} VaultPress."],"Unavailable in Dev Mode.":["Ej tillgängligt i utvecklingsläge."],"Unavailable in Dev Mode":["Ej tillgängligt i utvecklingsläge"],"Activating %(slug)s…":["Aktiverar %(slug)s…"],"%(slug)s has been activated.":["%(slug)s har aktiverats."],"%(slug)s failed to activate. %(error)s":["%(slug)s kunde inte aktiveras. %(error)s"],"Deactivating %(slug)s…":["Inaktiverar %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s har inaktiverats."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s kunde inte inaktiveras. %(error)s"],"Updating %(slug)s settings…":["Uppdaterar %(slug)s inställningar…"],"Updated %(slug)s settings.":["Uppdaterat inställningar för %(slug)s."],"Error updating %(slug)s settings. %(error)s":["Fel vid uppdatering av inställningarna %(slug)s. %(error)s"],"Updating %(slug)s address…":["Uppdaterar %(slug)s adress …"],"Regenerated %(slug)s address .":["Återbildade %(slug)s adress."],"Error regenerating %(slug)s address. %(error)s":["Fel vid återbildning av %(slug)sadress. %(error)s"],"Resetting Jetpack options…":["Återställer Jetpack-alternativ…"],"Options reset.":["Alternativ återställda."],"Options failed to reset.":["Alternativ kunde inte återställas."],"There was an error disconnecting Jetpack. Error: %(error)s":["Ett fel uppstod när Jetpack kopplades från. Fel: %(error)s"],"Unlinking from WordPress.com":["Länkning till WordPress.com tas bort."],"Unlinked from WordPress.com.":["Länkning till WordPress.com borttagen."],"Error unlinking from WordPress.com. %(error)s":["Fel vid borttagning av länkning till WordPress.com. %(error)s"],"At A Glance":["I korthet"],"Dashboard":["Adminpanel"],"Automattic's Privacy Policy":["Automattics sekretesspolicy"],"WordPress.com Terms of Service":["WordPress.com användarvillkor"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Slå på automatiska uppdateringar för tillägget.{{/a}}"],"Plugin Updates":["Uppdateringar för tillägg"],"No threats found, you're good to go!":["Inga hot hittades, du är klar att köra!"],"{{a}}Contact Support{{/a}}":["{{a}}Kontakta supporten{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Visa information på VaultPress.com{{/a}}"],"Uh oh, %(number)s threat found.":["Aj då, %(number)s hot hittat.","Aj då, %(number)s hot hittade."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}Aktivera Övervakning{{/a}} för att få e-postmeddelanden om din webbplats går ner."],"Loading…":["Laddar in ..."],"Downtime monitor":["Driftstoppsövervakning"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}Visa mer statistik på WordPress.com {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Visa detaljerad statistik{{/button}}"],"All-time comments":["Kommentarer totalt"],"All-time views":["Visningar totalt"],"%(number)s View":["%(number)s Visning","%(number)s Visningar"],"Best overall day":["Bästa dag totalt"],"Views today":["Visningar i dag"],"Months":["Månader"],"Weeks":["Veckor"],"Days":["Dagar"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["Något inträffade när statistiken laddades. Försök igen senare eller {{a}}se din statistik nu på WordPress.com{{/a}}"],"Click to view detailed stats.":["Klicka för att se detaljerad statistik."],"Views: %(numberOfViews)s":["Visningar: %(numberOfViews)s"],"Week of %(date)s":["Vecka %(date)s"],"Site Security":["Webbplatssäkerhet"],"Link to WordPress.com":["Länk till WordPress.com"],"Unlink me from WordPress.com":["Ta bort länkning till WordPress.com"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Vi hade problem med att ansluta Jetpack. Klicka på \"Anslut till WordPress.com\" igen."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Vi hade problem med att ansluta Jetpack, inaktivera och återaktivera Jetpack-tillägget och anslut därefter igen."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Du måste fortsätta att vara inloggad på din WordPress-blogg medan du auktoriserar Jetpack."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Det finns en bugg i din Jetpack.{{/s}} Vi ber om ursäkt för besväret. Försök igen senare. Om problemet kvarstår kontakta vår supportavdelning med detta meddelande: %(error_key)s"],"Disconnecting Jetpack":["Kopplar bort Jetpack"],"Learn more":["Läs mer"],"Posts":["Inlägg"],"Front page":["Startsida"],"Upload videos":["Ladda upp videoklipp"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Visa relaterat innehåll efter inlägg"],"Related":["Relaterade"],"Disconnect":["Koppla från"],"Save":["Spara"],"Media":["Media"],"Mobile Theme":["Mobiltema"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX är ett kraftfullt märkspråk för att skriva komplexa matematiska ekvationer, formler osv."],"Site Stats":["Statistik för webbplats"],"Sharing":["Delning"],"Testimonials":["Omdömen"],"Cancel":["Avbryt"],"Comments":["Kommentarer"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack får inte kontakt med WordPress.com. %(error_key)s. Det betyder oftast att något är felaktigt konfigurerat på din webbserver."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com har stött på problem och kan inte få fart på din Jetpack. Försök igen senare."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Det finns en bugg i din Jetpack.{{/s}} Det är inte möjligt att ansluta den här webbplatsen till WordPress.com. Det betyder vanligtvis att din webbplats inte är offentligt åtkomlig (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Din webbplats behöver vara offentlig åtkomlig för att du ska kunna använda Jetpack: %(error_key)s"],"Edit":["Redigera"],"Connected":["Ansluten"],"Activate":["Aktivera"],"Active":["Aktiv"],"Settings":["Inställningar"],"Learn More":["Läs mer"],"Disconnect Jetpack":["Koppla från Jetpack"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Obs!{{/b}} Den här funktionen kommer att dras in och tas bort från Jetpack i mars. {{link}}Läs mer{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack-säkerhetskopia"],"Settings header\u0004Anti-spam":["Anti-spam"],"Settings header\u0004WP.me Shortlinks":["Kortlänkar för WP.me"],"Settings header\u0004Auto-update plugins":["Automatisk uppdatering av tillägg"],"Settings header\u0004Widgets":["Widgetar"],"Settings header\u0004Downtime monitoring":["Driftstoppsövervakning"],"Settings header\u0004Privacy Settings":["Integritetsinställningar"],"Settings header\u0004WordPress.com toolbar":["WordPress.com-verktygsfält"],"Settings header\u0004Composing":["Komposition"],"Settings header\u0004Site stats":["Webbplatsstatistik"],"Settings header\u0004Search engine optimization":["Sökmotoroptimering"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Delningsknappar"],"Settings header\u0004Publicize connections":["Publiceringsanslutningar"],"Settings header\u0004Like buttons":["Gilla-knappar"],"Settings header\u0004Brute force attack protection":["Skydd mot brute force-attacker"],"Settings header\u0004Backups and security scanning":["Säkerhetskopieringar och säkerhetsskanning"],"Notice in the empty statistics chart\u0004No activity this period":["Ingen aktivitet denna period"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com-inloggning"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Skicka länk"],"A caption for a button to cancel an action.\u0004Cancel":["Avbryt"],"Link to learn more about Jetpack.\u0004About":["Om"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Moduler"],"Navigation item.\u0004Performance":["Prestanda"],"Navigation item.\u0004My Plan":["Mitt paket"],"Navigation item.\u0004Dev Tools":["Utvecklingsverktyg"],"Navigation item.\u0004Settings":["Inställningar"],"Navigation item.\u0004Discussion":["Diskussion"],"Navigation item.\u0004Traffic":["Trafik"],"Navigation item.\u0004Sharing":["Delning"],"Navigation item.\u0004At A Glance":["I korthet"],"Navigation item.\u0004Plans":["Paket"],"Navigation item.\u0004Writing":["Skriva"],"Navigation item.\u0004Reset Options (dev only)":["Återställ alternativ (endast utvecklingsversioner)"],"Navigation item.\u0004Security":["Säkerhet"],"Navigation item.\u0004At a Glance":["I korthet"],"Search term.\u0004terms of service":["användarvillkor"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["data"],"Search term.\u0004tracks":["spårning"],"Search term.\u0004privacy":["integritet"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Uppgradera"],"Button caption\u0004Saving…":["Sparar…"],"Button caption\u0004Save settings":["Spara inställningar"],"A heading for a block of related posts.\u0004Related":["Relaterad"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Förhandsvisa"],"Short warning message\u0004Updates needed":["Uppdateringar behövs"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Betald"],"A header for a preview area in the configuration screen.\u0004Preview":["Förhandsvisning"],"Ads header\u0004Ads":["Annonser"],"Dashboard widget header\u0004Site connection":["Webbplatsanslutning"],"Dashboard widget header\u0004Account connection":["Kontoanslutning"],"A caption for a small button to fix security issues.\u0004Threats":["Hot"],"A caption for a small button to fix security issues.\u0004FIX":["FIXA"],"Short warning message about new threats found.\u0004Threats found!":["Hot upptäckta!"],"Short message informing user that the site is secure.\u0004Secure":["Säker"],"Caption for a button to set up a feature.\u0004Set up":["Konfigurera"],"verb\u0004Copy":["Kopiera"],"Shorthand for Privacy Policy.\u0004Privacy":["Integritet"],"Shorthand for Terms of Service.\u0004Terms":["Villkor"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Felsök"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["Spamkommentarer blockerade."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-te-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-te-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 47fc630e..00000000
--- a/plugins/jetpack/languages/json/jetpack-te-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"te"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":["మాకు తెలియజేయండి!"],"Saving…":["భద్రమవుతోంది…"],"Save Settings":["అమరికలను భద్రపరచు"],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":["నెలలు"],"Weeks":["వారాలు"],"Days":["రోజులు"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["మరింత తెలుసుకోండి"],"Posts":["టపాలు"],"Front page":["మొదటి పేజీ"],"Pinterest":[""],"Google":["గూగుల్"],"Show related content after posts":[""],"Related":[""],"Disconnect":[""],"Save":["భద్రపరచు"],"Media":["మాధ్యమాలు"],"Site Stats":["సైటు గణాంకాలు"],"Sharing":["పంచుకోవడం"],"Testimonials":[""],"Cancel":["రద్దుచేయి"],"Comments":["వ్యాఖ్యలు"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["మార్చు"],"Connected":[""],"Activate":["చేతనం"],"Active":["సచేతనము గా"],"Settings":["అమరికలు"],"Learn More":["మరింత తెలుసుకోండి"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-th-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-th-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index 5c2ebe23..00000000
--- a/plugins/jetpack/languages/json/jetpack-th-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"th"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":[""],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":[""],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["ดูเพิ่มเติม"],"Posts":["เรื่อง"],"Front page":["หน้าแรก"],"Pinterest":[""],"Google":[""],"Show related content after posts":[""],"Related":[""],"Disconnect":[""],"Save":["บันทึก"],"Media":["ไฟล์สื่อ"],"Site Stats":[""],"Sharing":[""],"Testimonials":[""],"Cancel":["ยกเลิก"],"Comments":["ความเห็น"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["แก้ไข"],"Connected":[""],"Activate":["ใช้งาน"],"Active":["เคลื่อนไหว"],"Settings":["ตั้งค่า"],"Learn More":["ดูเพิ่มเติม"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-tr_TR-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-tr_TR-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index c7b91c19..00000000
--- a/plugins/jetpack/languages/json/jetpack-tr_TR-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=(n > 1);","lang":"tr"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["%(planName)s Paketiniz, %(featureName)s özelliğini içeriyor. %(productName)s ürününü de satın almışsınız. %(productName)s ürününü kaldırmanız gerekli olabilir."],"real-time backups":["gerçek zamanlı yedeklemeler"],"daily backups":["günlük yedeklemeler"],"Renews on %s.":["Yenilenme tarihi: %s"],"Purchased on %s.":["Satın alındığı tarih: %s"],"Select a backup option:":["Bir yedekleme seçeneği belirleyin:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["{{price/}} %(billingTimeFrame)s için %(name)s ürününe güncelleme"],"You are saving {{savings /}} by paying yearly":["Yıllık ödeme yaparak {{savings /}} kadar parayı biriktirmiş oluyorsunuz."],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["Acele edin, bunlar {{s}}Sınırlı bir süre için tanıtım fiyatlarıdır!{{/s}}"],"Up to %(percent)d%% off!":["%(percent)d%% kadar indirim!"],"per month":["aylık"],"per year":["yıllık"],"Which backup option is best for me?":["Benim için en uygun yedekleme seçeneği hangisidir?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["Abonelikleri Yönetin"],"Your site is being backed up.":["Siteniz yedekleniyor."],"You need to enter your server credentials to finish configuring Jetpack Backup.":["Jetpack Backup yapılandırmasını tamamlamak için sunucunuzun kimlik bilgilerini girmeniz gerekir."],"Jetpack Backup is being configured for your site.":["Jetpack Backup sitenizi yapılandırıyor."],"Daily Backups":["Günlük Yedeklemeler"],"Just looking for backups? We've got you covered.":["Yalnızca yedekleme mi istiyorsunuz? Çözümünüz bizde."],"Solutions":["Çözümler"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["{{planLink}}Profesyonel Paketinize{{/planLink}} dahildir"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["{{planLink}}Premium Paketinize{{/planLink}} dahildir"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["{{planLink}}Kişisel Paketinize{{/planLink}} dahildir"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["Her zaman açık yedekleme ile sitenizi hiçbir zaman kaybetmeyin. Düzenleme yaptıkça değişiklikleriniz kaydedilir ve sınırsız yedekleme arşiviniz olur."],"Always-on backups ensure you never lose your site.":["Her zaman açık yedekleme ile sitenizi hiçbir zaman kaybetmeyin."],"My Products":["Ürünlerim"],"My Plan":["Paketim"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack Yedeklemesi {{em}}Gerçek Zamanlı{{/em}}"],"Your data is being securely backed up as you edit.":["Siz verilerinizi düzenlerken güvenli bir şekilde yedekleniyor."],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack Yedeklemesi {{em}}Günlük{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["Verileriniz her gün 30 günlük bir arşivle güvenli bir şekilde yedekleniyor."],"Jetpack Professional":["Jetpack Professional"],"Jetpack Premium":["Jetpack Premium"],"Jetpack Personal":["Jetpack Kişisel"],"Jetpack Free":["Jetpack Ücretsiz"],"Expired on %s.":["Şu tarihte süresi doldu: %s."],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["Sorunuz mu var? Yardımcı olmaktan mutluluk duyarız! {{a}}Jetpack destek ekibine bir soru gönderin.{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack, hedeflerinize ulaşmanıza yardımcı olabilecek pek çok güçlü araca sahiptir"]," We’ve highlighted some of the features you rely on below.":[" Güvendiğiniz bazı özellikleri aşağıda sıraladık."],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack şu anda sitenizdeki özellikleri destekliyor. Jetpack’i devre dışı bırakırsanız bu özellikler artık kullanılamayacak. Bu durumda siteniz aynı şekilde çalışmaya devam edemeyebilir."],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack şu anda sitenizdeki özellikleri destekliyor. Jetpack’in bağlantısını keserseniz bu özellikler artık kullanılamayacak. Bu durumda siteniz aynı şekilde çalışmaya devam edemeyebilir."],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["Otomatik sosyal {{a}}yayımlama ve paylaşma{{/a}} ile trafiğinizi artırın"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["{{a}}Deneme yanılma saldırılarını{{/a}} engelleyin ve siteniz kapanırsa anında bildirim alın"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["{{a}}CDN'imiz sayesinde{{/a}} sitenizi hızlandırın ve mobil görünüme uygun resimler sağlayın"],"Disable":["Etkisizleştir"],"Are you sure you want to disconnect and deactivate?":["Bağlantıyı kesmek ve devre dışı bırakmak istediğinizden emin misiniz?"],"Are you sure you want to disconnect?":["Bağlantıyı kesmek istediğinizden emin misiniz?"],"Disable Jetpack":["Jetpack’i devre dışı bırak"],"We back up your website with every change you make, making it easy to fix your mistakes.":["Hatalarınızı düzeltmeyi kolaylaştırmak için, yaptığınız her değişiklikte web sitenizi yedekleriz."],"Automated Real-time Backups":["Otomatik Gerçek Zamanlı Yedeklemeler"],"We back up your website every day, so you never have to worry about your data again.":["Web sitenizi her gün yedekleriz, böylece bir daha verileriniz için endişelenmenize gerek kalmaz."],"Automated Daily Backups":["Otomatik Günlük Yedeklemeler"],"View Your Backups":["Yedeklerinizi Görüntüleyin"],"A Jetpack Site securely backed up with Jetpack Backup":["Jetpack Yedeklemesi ile güvenli bir şekilde yedeklenen bir Jetpack Sitesi"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["Bağlantılar, listeler ve diğer stillerle içerik derlemek için Markdown söz dizimini kullanın. Bu ayar Klasik Düzenleyici’nin yanı sıra bir Klasik Düzenleyici blokunda Markdown’ı etkinleştirir."],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Görüntü boyutlarını optimize etmek ve Jetpack'in hızlı küresel sunucu ağından görüntüleri yüklemek için {{a}}etkinleştirin{{/a}}. Bu, sitenizin masaüstü ve mobil cihazlardaki performansını artırır."],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack, hızlı küresel sunucu ağımızı kullanarak görüntü boyutlarınızı optimize ediyor ve indirme hızını arttırıyor. Bu, sitenizin masaüstü ve mobil cihazlardaki performansını artırır."],"Image Accelerator":["Görüntü Hızlandırıcı"],"Start with free":["Ücretsiz paketle başlayın"],"Now that you're set up, pick a plan that fits your needs.":["Artık hazır olduğunuza göre, ihtiyaçlarınıza uygun bir paket seçin."],"Jetpack Backup":["Jetpack Yedeklemesi"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["Jetpack paketiniz Akismet üzerinden anti-spam koruması sağlamaktadır. Bunu sitenizde etkinleştirmek için “kur”a tıklayın."],"Already have a key? {{a}}Activate Akismet{{/a}}":["Zaten bir anahtarınız var mı? {{a}}Akismet'i Etkinleştir{{/a}}"],"Verifying…":["Doğrulanıyor…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["Jetpack Premium veya Profesyonel paketindeki güçlü SEO araçlarıyla arama motoru sıralamanızı yükseltin."],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["Mobil cihazlar için sitenize hızlı yüklenen ve düzenli bir görünüm kazandırın. Ziyaretçiler diğer ekran boyutlarında standart temanızı görürler."],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["Ziyaretçiler arşiv sayfalarının altına doğru ilerlerken daha fazla içerik yüklenmesini sağlayarak sorunsuz ve kesintisiz bir okuma deneyimi yaratın."],"Customize your SEO settings":["SEO ayarlarınızı özelleştirin"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["Arama motorlarının sitenizi temsil etme biçimini kontrol altına alın. Jetpack’in SEO araçlarını kullanarak, içeriğinizin popüler arama motorlarında nasıl görüneceğini öğrenmek için önizleme yapabilir, site adınız ve etiket satırınız gibi öğeleri saniyeler içinde değiştirebilirsiniz."],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["Ziyaretçilerin gönderilerinizi ve sayfalarınızı sadece birkaç tıklama ile sosyal medyada paylaşabilmesi için paylaşım düğmeleri ekleyin."],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["Yönetim çubuğunuza 48 saatlik anlık trafik görüntüsünün de bulunduğu küçük bir tablo ekleyin"],"Expand to update settings for how visits are counted and manage who can view this information.":["Ayarları, ziyaretlerin nasıl sayıldığı ve bu bilgiyi kimlerin görebileceğini kapsayacak şekilde güncelleyin."],"You can customize the sharing buttons and choose which services to display.":["Paylaşım düğmelerini özelleştirebilir ve hangi hizmetlerin görüntüleneceğini seçebilirsiniz."],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["Siteniz, Jetpack tarafından korunuyor. İlgilenilmesi gereken bir konu olursa size bilgi verilecektir."],"Find threats early so we can help fix them fast.":["Hızla düzeltmenize yardım edebilmemiz için tehditleri erkenden tespit edin."],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["Sitenizin temel arama özelliğini, ziyaretçilerin yanıtları daha hızlı bulabilecekleri özelleştirilebilir arama ile değiştirin."],"Never worry about losing your site – automatic backups keep your content safe.":["Asla sitenizi kaybetmekten endişelenmeyin. İçeriğiniz otomatik yedekleme sayesinde güvende olur."],"Protect":["Koruma"],"Scan":["Tarama"],"Automatically clear spam from your comments and forms so you can get back to your business.":["Yorumlarınızdaki ve formlarınızdaki istenmeyen içeriği otomatik temizleyerek yeniden işinize odaklanın."],"Anti-spam":["İstenmeyen içerik koruması"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["Jetpack Premium veya Professional ile sitenizi saniyeler içinde Google Analytics'e saniyeler içinde bağlayın."],"Log in to the WordPress mobile app":["WordPress mobil uygulamasında oturum açın"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["Hesabınızdaki e-posta adresine göndereceğimiz bağlantıya tıklayarak WordPress uygulamasında kolayca oturum açın."],"Email me a link to log in to the app":["Uygulamada oturum açmak için bana bir e-posta gönder"],"Send your new posts to this email address:":["Yeni yazılarınızı şu e-posta adresine gönderin:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["E-posta ile gönderme seçeneği, sitenizi ziyaret etmeden yeni yazılar yayımlamanın hızlı bir yoludur. İçeriğinizi göndermeniz için size benzersiz bir e-posta adresi oluşturacağız. Bu e-posta adresi tıpkı tüm diğer yazılar gibi sitenizde görünecektir."],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":["Üçüncü taraf hizmetlerle site sahipliğini doğrulayın"],"Generate shortened URLs for simpler sharing.":["Daha kolay paylaşım için kısaltılmış URL'ler oluşturun."],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["Her yazının altında yer alan alakalı içerikle ziyaretçilerinizin ilgisini çekin. Bu ayarlar, {{a}} blok düzenleyici kullanılarak eklenen alakalı yazılar için geçerli değildir{{/a}}."],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["Bu özellik her yazının altında alakalı yazılar göstererek ziyaretçilerin size ait daha fazla içerik bulmalarına yardımcı olur."],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack otomatik olarak sitenize özel bir {{link1}}ads.txt{{/link1}} dosyası oluşturur. Diğer ağlar için daha fazla giriş eklemeniz gerekiyorsa lütfen bunları aşağıdaki alana her satıra bir tane gelecek şekilde ekleyin. {{link2}}Daha fazla bilgi için buraya göz atın{{/link2}}."],"Add sharing buttons to your posts and pages":["Yazılarınıza ve sayfalarınıza paylaşma düğmeleri ekleyin"],"Share your content to social media, reaching new audiences and increasing engagement.":["İçeriğinizi sosyal medyada paylaşın, yeni kitlelere ulaşın ve katılımı artırın."],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["Siteniz kullanım dışı kalırsa uyarı alın. Siteniz yeniden çalışmaya başladığında da haberdar olun."],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["Jetpack sayesinde eklentilerinizin, her yeni eklenti sürümüyle otomatik olarak güncellenmesini tercih edebilirsiniz. En son güvenlik ve hata düzeltmelerini hemen alacak ve sitenizin güvende kalmasını sağlayacaksınız."],"Choose which plugins to auto-update":["Otomatik güncellenecek eklentileri seçin"],"Upgrade Jetpack now":["Jetpack'i şimdi yükselt"],"Monetize your site by running high quality ads.":["Yüksek kaliteli reklamlar yayınlayarak sitenizden gelir elde edin."],"Customize your social posting schedule.":["Sosyal medya gönderilerinizin zamanlamasını özelleştirin."],"Expand your audience with pro SEO tools.":["Profesyonel SEO araçlarıyla kitlenizi genişletin."],"Take your site to the next level!":["Sitenizi bir üst seviyeye çıkarın!"],"Search support docs":["Destek belgelerinde arama yap"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["Yardıma mı ihtiyacınız var? Başlama, sitenizi özelleştirme, gelişmiş kod parçacıkları kullanma ve çok daha fazlası hakkında bilgi edinin."],"Start sharing":["Paylaşmaya başlayın"],"Optimized performance":["Optimize edilmiş performans"],"Enable the “subscribe to comments” option on your comment form":["Yorum formunuzda \"yorumlara abone ol\" seçeneğini etkinleştirin"],"Enable the “subscribe to site” option on your comment form":["Yorum formunuzda \"siteye abone ol\" seçeneğini etkinleştirin"],"Manage advanced comment settings and grow your audience with email subscriptions.":["Gelişmiş yorum ayarlarını yönetin ve e-posta abonelikleriyle kitlenizi genişletin."],"Comment form introduction":["Yorum formu tanıtımı"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Akismet tarafından desteklenen Jetpack Anti-spam. Yorumlar ve iletişim formu gönderimleri, küresel spam veritabanımızla karşılaştırılarak kontrol edilir."],"Failed to send login email":["Oturum açma e-postası gönderilemedi"],"Login email sent":["Oturum açma e-postası gönderildi"],"Sending login email…":["Oturum açma e-postası gönderiliyor..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["Güvenlik konusunda endişeleriniz mi var? Yedeklemeler, otomatik güvenlik düzeltmeleri ve daha fazlasını edinin: {{a}}Şimdi yükselt{{/a}}"],"Allow readers to like individual comments.":["Okuyucuların yorumları ayrı ayrı beğenmesine izin verin."],"Enable comment likes.":["Yorum beğenilerini etkinleştirin."],"Allow readers to use markdown in comments.":["Okuyucuların yorumlarda Markdown’ı kullanmasına izin verin."],"Show Gravatar hovercards alongside comments.":["Yorumların yanında Gravatar hovercard’ları gösterin."],"Complete Jetpack Setup":["Jetpack Kurulumunu Tamamlayın"],"Your Jetpack setup progress":["Jetpack kurulumunuzun ilerlemesi"],"View your setup checklist":["Kurulum kontrol listenizi görüntüleyin"],"Yearly":["Yıllık"],"Monthly":["Aylık"],"About Jetpack":["Jetpack Hakkında"],"Enable widget visibility controls to display widgets only on particular posts or pages":["Bileşenleri yalnızca belirli gönderilerde veya sayfalarda görüntülemek için bileşen görünürlüğü kontrollerini etkinleştirin"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["Bileşen görünürlüğü, bileşen içeriğini ayrıntılı şekilde tasarlayabilmeniz için hangi sayfalarda hangi bileşenlerin görüneceğine karar vermenizi sağlar."],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["Abonelik formları ve Twitter akışları dahil olmak üzere ekstra bileşenleri sitenizde kullanılabilir hale getirin"],"Enhance CSS customization panel":["CSS özelleştirme panelini zenginleştirin"],"Writing":["Yazma"],"Compose using shortcodes to embed media from popular sites":["Popüler sitelerden ortamları gömülü hale getirmek için kısa kodlar kullanarak oluşturun"],"Traffic":["Trafik"],"You need to enter your server credentials to finish configuring Backups and Scan.":["Yedeklemeler ve Taramalar'ı yapılandırmayı bitirmek için sunucunuzun kimlik bilgilerini girmeniz gerekir."],"Awaiting credentials":["Kimlik bilgileri bekleniyor"],"Backups and Scan are being configured for your site.":["Yedeklemeler ve Tarama, siteniz için yapılandırılıyor."],"Provisioning":["Hazırlanıyor"],"Action needed":["Eylem gerekli"],"Setting up":["Kuruluyor"],"Discussion":["Tartışma"],"We are configuring your site protection.":["Sitenizin korumasını yapılandırıyoruz."],"View your site's backups":["Sitenizin yedeklemelerini görüntüleyin"],"We are backing up your site in real-time.":["Sitenizi gerçek zamanlı olarak yedekliyoruz."],"Enter credentials":["Kimlik bilgilerini girin"],"You need to enter your server's credentials to finish the setup.":["Kurulumu bitirmek için sunucunuzun kimlik bilgilerini girmeniz gerekir."],"We are configuring your site's backups.":["Sitenizin yedeklemelerini yapılandırıyoruz."],"View site activity":["Site aktivitesini görüntüleyin"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack, sitenizde gerçekleşen her şeyin eksiksiz bir kaydını tutarak, site yönetimi, hata ayıklama ve onarma işlemlerinde tahmin unsurunu ortadan kaldırır."],"Explore our Jetpack plans":["Jetpack paketlerimizi keşfedin"],"Support documentation":["Destek belgeleri"],"Chat bubbles representing getting in touch with support":["Destekle iletişime geçmeyi temsil eden konuşma balonları"],"Site activity":["Site etkinliği"],"Reach a wider audience by automatically sharing your posts on social media.":["Sosyal medyada otomatik olarak paylaşım yaparak daha geniş bir kitleye ulaşın."],"Increase traffic to your site":["Sitenizin trafiğini artırın"],"Explore free themes":["Ücretsiz temaları keşfedin"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["Yüzlerce profesyonel temaya sınırsız erişim elde edin ve sitenizi tam istediğiniz gibi özelleştirin."],"A wide variety of themes and tools to customize a site":["Site özelleştirmek için çok çeşitli temalar ve araçlar"],"Set up your site security":["Sitenizin güvenliğini oluşturun"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["Oturum açma saldırılarını önleyin ve sitenizde bir sorun olduğunda anlık bildirimler alın."],"Site stats showing an evolution in traffic and engagement":["Trafik ve etkileşimdeki gelişmeyi gönderen site istatistikleri"],"A hand holding a loupe":["Büyüteç tutan bir el"],"A chart showing an healthy increase in earnings":["Kazançta sağlıklı bir artış gösteren grafik"],"Interface showing a chronological list of changes and updates in a site":["Bir sitedeki değişikliklerin ve güncellemelerin kronolojik listesini gösteren arayüz"],"A cloud with multiple types of content floating around it":["Etrafında çeşitli türde içerik bulunan bulut"],"A folder holding real comments":["Gerçek yorumları içeren bir klasör"],"Make your site faster":["Sitenizi hızlandırın"],"Load pages faster by serving your images from our global network of servers.":["Görsellerinizi küresel sunucu ağımızdan sunarak sayfaları daha hızlı yükleyin."],"A fast and performant website":["Hızlı ve yüksek performanslı web sitesi"],"A secure site, locked and protected by Jetpack":["Jetpack tarafından kilitlenen ve korunan güvenli bir site"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["Mevcut gönderileri, sayfaları, Görüşleri ve Portföyleri çoğaltın. Metinler, öne çıkan resimler ve paylaşım ayarları dahil olmak üzere tüm içerik kopyalanır."],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["Bu site, {{a}}Hizmet Koşullarımızı{{/a}} ihlal ettiğinden WordPress.com’a bağlanamıyor."],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["Web sitenizi, kullandığınız sosyal medya ağlarına bağlayın ve içeriğinizi tek bir tıkla tüm sosyal hesaplarınızda paylaşın. Bir gönderi yayımladığınızda bu, bağlı olan tüm hesaplarda görünür."],"Add Like buttons to your posts and pages":["Gönderilerinize ve sayfalarınıza Beğen düğmeleri ekleyin"],"When visitors enjoy your content, let them show it with a Like.":["İçeriğinizi beğendiklerini göstermeleri için ziyaretçilere bir Beğen düğmesi sağlayın."],"Create account":["Hesap oluştur"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack, sitenizi destekler ancak tüm özelliklerine erişmek için hesap oluşturmanız gerekir."],"Compose content the way you want to and streamline your publishing experience.":["Dilediğiniz şekilde içerik oluşturun ve gönderi yayımlama deneyiminize kolaylık katın."],"Add a portfolio item":["Portföy öğesi ekleme"],"Add a testimonial":["Görüş ekleme"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["Sitenizin arama motorlarındaki görünürlüğünü maksimuma çıkarın ve trafik istatistiklerini gerçek zamanlı olarak görüntüleyin."],"Create a Jetpack account to use this feature":["Bu özelliği kullanmak için bir Jetpack hesabı oluşturun"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack, sitenizi sürekli olarak izler ve kullanım dışı kalma durumu tespit edildiği anda sizi uyarır."],"Error enabling Site accelerator. %(error)s":["Site hızlandırıcısı etkinleştirilirken hata oluştu. %(error)s"],"Site accelerator is now speeding up your site!":["Site hızlandırıcısı artık sitenizi hızlandırıyor!"],"Enabling Site accelerator…":["Site hızlandırıcısı etkinleştiriliyor..."],"Error disabling site accelerator. %(error)s":["Site hızlandırıcısı devre dışı bırakılırken hata oluştu. %(error)s"],"Site accelerator is no longer speeding up your site!":["Site hızlandırıcısı artık sitenizi hızlandırmıyor!"],"Disabling site accelerator…":["Site hızlandırıcısı devre dışı bırakılıyor..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["Sayfaları daha hızlı yükleyin, görselleri optimize edin ve ziyaretçilerinizin deneyimine hız katın."],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["Google’ın ziyaretçilerinize ve trafik düzenlerinize ayrıntılı bakışıyla WordPress.com'un istatistiklerini tamamlayın."],"High-speed, high-definition video hosting with no third-party ads.":["Üçüncü taraf reklamların olmadığı yüksek hızlı ve yüksek tanımlı video barındırma olanağı."],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["Sınırsız sayıda tweet, Facebook gönderisi ve diğer sosyal medya platformlarındaki paylaşımı önceden zamanlayın."],"Marketing Automation":["Pazarlama Otomasyonu"],"Activate Jetpack Search":["Jetpack Araması’nı Etkinleştir"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["Varsayılan WordPress aramasını, Elasticsearch'ün sunduğu daha iyi sonuçlar ve filtreleme özelliğiyle değiştirin."],"Start earning":["Kazanmaya başlayın"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds, promosyon içeriği görüntüleyerek para kazanmanızı sağlar. Kazanmaya bugün başlayın."],"Spam is automatically blocked from your comments.":["Yorumlarınızdaki istenmeyen içerikler otomatik olarak engellenir."],"Browse premium themes":["Premium temalara göz atın"],"Access hundreds of beautifully designed premium themes at no extra cost.":["Hoş tasarımlı binlerce premium temaya ek ücret ödemeden erişin."],"Try a premium theme":["Premium tema deneyin"],"View settings":["Ayarları görüntüle"],"Create a Jetpack account to view your email followers":["E-posta takipçilerinizi görüntülemek için bir Jetpack hesabı oluşturun"],"Manage security settings":["Güvenlik ayarlarını yönetin"],"Jetpack is ready for the new WordPress editor":["Jetpack yeni WordPress düzenleyicisi için hazır"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["Bugün, yeni düzenleyici deneyimi için özel olarak oluşturulan, Jetpack'e özel blokların ilk dalgasını tanıtıyoruz: Basit Ödeme düğmesi, Form, Harita ve Markdown."],"Build your Jetpack site with blocks":["Bloklarla Jetpack sitenizi oluşturun"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["Yeni bir düzenleyici mi? Evet! {{a}}Daha fazla bilgi edinin{{/a}}."],"The features you rely on, adapted for the new WordPress editor.":["Yararlandığınız özellikler yeni WordPress düzenleyicisine uyarlandı."],"Take me to the new editor":["Beni yeni düzenleyiciye götür"],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":["Jetpack test edilirken hata oluştu. Hata: %(error)s"],"New in Jetpack!":["Jetpack'te Yenilik!"],"Speed up static file load times":["Statik dosya yükleme sürelerini hızlandırın"],"Speed up image load times":["Görsel yükleme sürelerini hızlandırın"],"Enable site accelerator":["Site hızlandırıcısını etkinleştirin"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["Jetpack'in görsellerinizi optimize etmesine, görsellerinizi ve statik dosyalarınızı (CSS ve JavaScript gibi) küresel sunucu ağımızdan sunmasına izin vererek sayfaları daha hızlı yükleyin."],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["WordPress.com girişini ve güvenli kimlik doğrulamayı etkinleştirerek web sitenize fazladan bir güvenlik katmanı ekleyin. Bu seçeneğin etkin olduğu birden fazla siteniz varsa bunların her birinde aynı kimlik bilgileriyle oturum açabilirsiniz."],"View your site activity":["Site etkinliğinizi görüntüleyin"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["Sitenizde yaptığınız tüm değişikliklerin ve güncellemelerin kronolojik listesini düzenli ve okunaklı şekilde görüntüleyin."],"Manually Verify ":["El ile Doğrula "],"Verify with Google":["Google ile Doğrula"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google, sitenizin {{a1}}ele geçirildiğinin{{/a1}} belirtileri veya sitenizin {{a2}}haritalama ya da endeksleme{{/a2}} sorunları da dahil olmak üzere sitenizde gerçekleşen belirli olaylar hakkında size e-posta gönderecek."],"or":["veya"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["{{a}}Google Search Console{{/a}} üzerinden sitenizin trafiğini ve performansını izleyin."],"Your site is verified with Google":["Siteniz Google ile doğrulandı."],"Site failed to verify: %(error)s":["Site doğrulanamadı: %(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["Jetpack Profesyonel ile sitenizde yapılan aramaları daha hızlı ve daha gelişmiş hale getirin."],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["WordPress yerleşik aramasını gelişmiş bir arama deneyimi olan Jetpack Araması ile değiştirin"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Araması, WordPress.com bulutunda barındırılan hızlı, ölçeklenebilir, özelleştirilebilir ve ilgi oranı yüksek bir aramayla yerleşik arama işlevinin yerini alıyor. Sonuç: Kullanıcılarınız istedikleri içeriği daha hızlı bulur."],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["Yerleşik WordPress araması çok fazla içerik barındırmayan siteler için mükemmeldir. Ancak siteniz büyüdükçe aramalar yavaşlar ve ilgi oranı daha düşük sonuçları gösterir."],"Jetpack Search supports many customizations.":["Jetpack Araması birçok özelleştirmeyi destekler."],"Site is verified":["Site doğrulandı"],"Spam filtering and priority support.":["İstenmeyen e-posta filtrelemesi ve öncelikli destek."],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["Reklamlar etkinleştirildiğinde Jetpack otomatik olarak sitenize özel bir ads.txt dosyası oluşturur."],"Custom ads.txt entries":["Özel ads.txt girişleri"],"Privacy information":["Gizlilik bilgileri"],"Enable Lazy Loading for images":["Resimler için Geç Yüklemeyi etkinleştirin"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":["Geç yüklenen resimler, sitenizin hızını yükseltir ve daha sorunsuz bir görüntüleme deneyimi sunar. Resimlerin tümü aynı anda değil, ziyaretçileriniz ekranı aşağı kaydırdıkça yüklenir."],"Performance & speed":["Performans ve hız"],"Enable high-speed, ad-free video player":["Yüksek hızlı, reklamsız video oynatıcısını etkinleştirin"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["Yüksek çözünürlüklü video ile yayımladığınız içeriği daha ilgi çekici kılın. Jetpack Video ile medya oynatıcınızı özelleştirebilir ve ziyaretçilerinize yüksek hızlı, reklamsız ve markasız videolar sunabilirsiniz. Videolarınızı WordPress.com sunucularımızda barındırıyor ve barındırma paketinizden alan eksiltmiyoruz!"],"Video":["Video"],"Carousel color scheme":["Carousel renk düzeni"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif verileri, izleyicilere bir fotoğrafın odak uzaklığı, diyafram açıklığı ve ISO değeri gibi ek teknik ayrıntılarını gösterir."],"Show photo Exif metadata in carousel (when available)":["Mevcut olduğunda fotoğraf Exif meta verilerini Carousel'de gösterin."],"Display images in a full-screen carousel gallery":["Resimleri tam ekran bir Carousel galerisinde görüntüleyin"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["Gönderilerinizdeki ve sayfalarınızdaki resimler için tam ekran Carousel slayt gösterileri oluşturun. Carousel galerileri mobil desteklidir ve sitenizin ziyaretçilerini fotoğraflarınızla etkileşimde bulunmaları için teşvik eder."],"Portfolios shortcode: [portfolio]":["Portföy kısa kodu: [portföy]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["En iyi işlerinizi sitenizde sergilemek için {{portfolioLink}}portföyleri{{/portfolioLink}} kullanın. Temanız Jetpack Portföyleri’ni desteklemiyorsa, sitenizde görüntülemek için basit bir kısa kod kullanabilirsiniz."],"Testimonials shortcode: [testimonials]":["Görüşler kısa kodu: [görüşler]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["Web sitenize {{testimonialLink}}görüşler{{/testimonialLink}} ekleyerek yeni müşterilerin dikkatini çekin. Temanız Jetpack Görüşleri’ni desteklemiyorsa, sitenizde görüntülemek için basit bir kısa kod kullanabilirsiniz."],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["Şu anda arama motorları sitenize erişim sağlayamaz. Sitenizi erişilebilir hale getirmek istiyorsanız, {{a}}Okuma ayarlarınızı{{/a}} kontrol edin ve \"Arama Motoru Görünürlüğü\"nü açın."],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["İyi haber: Jetpack site haritanızı otomatik olarak tüm büyük arama motorlarına dizine eklenmesi için gönderiyor."],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["Site haritaları, Google veya Bing gibi arama motorlarının web sitenizi dizine eklemek için kullandığı dosyalardır. Arama sonuçlarındaki sıralamanızı yükseltmenize yardımcı olabilirler. Bu özelliği etkinleştirdiğinizde, Jetpack sizin için site haritaları oluşturur ve sitenizdeki içerik değiştiğinde bunları otomatik olarak günceller."],"Configure related posts in the Customizer":["Özelleştirici’deki ilgili gönderileri yapılandırın"],"Highlight related content with a heading":["İlgili içeriği bir başlık ile vurgulayın"],"View security scan details":["Güvenlik taraması ayrıntılarını görüntüleyin"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["Mevcut olduğunda küçük resim göster"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["Belirli Jetpack özelliklerinin verileri ve izleme etkinliğini nasıl kullandıkları hakkında daha fazla bilgi için lütfen {{privacyCenterLink}}Gizlilik Merkezimize{{/privacyCenterLink}} bakın."],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["Üçüncü taraflara ait olanlar dahil diğer izleme araçlarını kullanıyoruz. Bunlar ve nasıl kontrol edilecekleri {{cookiePolicyLink}}hakkında bilgi alın{{/cookiePolicyLink}}."],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["Bu bilgiler, ürünlerimizi geliştirmemize, pazarlamayı sizin için daha alakalı hale getirmemize, WordPress.com deneyiminizi kişiselleştirmemize ve ayrıntılı olarak {{pp}}gizlilik politikamızda{{/pp}} belirttiğimiz şekilde daha fazlasına yardımcı olur."],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["WordPress.com hesabınızda oturum açmış durumdayken hizmetlerini kullanımınız hakkında bilgileri analiz aracımızla paylaşın. {{cookiePolicyLink}}Daha fazla bilgi edinin{{/cookiePolicyLink}}."],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["Bu özellik bir site yöneticisi tarafından yönetiliyor. {{link}}Daha fazla bilgi edinin{{/link}}."],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["Bu özellik bir site yöneticisi tarafından devre dışı bırakıldı. {{link}}Daha fazla bilgi edinin{{/link}}."],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["Bu özellik bir site yöneticisi tarafından etkinleştirildi. {{link}}Daha fazla bilgi edinin{{/link}}."],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["%(moduleName)s bir site yöneticisi tarafından devre dışı bırakıldı. {{link}}Daha fazla bilgi edinin{{/link}}."],"This feature has been disabled by a site administrator.":["Bu özellik bir site yöneticisi tarafından devre dışı bırakıldı."],"%(moduleName)s has been disabled by a site administrator.":["%(moduleName)s bir site yöneticisi tarafından devre dışı bırakıldı."],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["Reklam bileşenini kullanarak ek reklamlar yerleştirebilirsiniz. {{link}}Deneyin!{{/link}}"],"Configure your notification settings":["Bildirim ayarlarınızı yapılandırın"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack’in Arama modülü, WordPress'teki arama özelliği için güçlü bir ikamedir."],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["Sitenizin dosyaları güvenliğinizi ve verilerinizi tehlikeye düşürebilecek yetkisiz veya şüpheli değiştirmelere karşı düzenli olarak taranır."],"Plugin needs updating.":["Eklentinin güncellenmesi gerekiyor.","Eklentilerin güncellenmesi gerekiyor."],"%(number)s":["%(number)s","%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack’in Eklenti Güncellemeleri hangi eklentilerin otomatik olarak güncelleneceğini seçmenizi sağlar."],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack resimlerinizi optimize eder ve bunları ziyaretçilerinize en yakın sunucu konumundan sunar. Global içerik sağlama ağımızı kullanmak sitenizin yüklenme hızını artıracak."],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":[""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack Yedeklemeleri belirli bir andaki yedeklemeyi kolayca geri yüklemenizi veya indirmenizi sağlar."],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["Mobil cihaz kullanan ziyaretçilere görüntülenecek, hafif ve cep telefonuna uygun bir tema sunar."],"Loads the next posts automatically when the reader approaches the bottom of the page.":["Okuyucu sayfanın alt kısmına ulaştığında sonraki gönderiyi otomatik olarak yükler."],"Allows you to publish new posts by sending an email to a special address.":["Özel bir adrese e-posta göndererek yeni gönderiler yayınlayabilmenizi sağlar."],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["Tüm siteleriniz, bildirimleriniz, WordPress.com profiliniz ve Okuyucu bağlantılarını içeren bir araç çubuğu ekler."],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["WordPress sitenizi çeşitli hizmetlerle doğrulamak için gerekli gizli etiketleri sunar."],"Displays information on your site activity, including visitors and popular posts or pages.":["Sitenizde ziyaretçiler, popüler gönderiler veya sayfalar gibi etkinlikler hakkında bilgi görüntüler."],"Allows you to optimize your site and its content for better results in search engines.":["Sitenizi ve içeriklerini arama motorlarında daha iyi sonuçlar almak için iyileştirebilmenizi sağlar."],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["WordPress sitenizi trafik, ziyaretçiler ve dönüştürme işlemleriyle ilgili bilgi sunan bir platform olan Google Analytics ile tümleştirir."],"Displays high-quality ads on your site that allow you to earn income.":["Sitenizde, kazanç elde etmenizi sağlayan yüksek kaliteli reklamlar görüntüler."],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["Facebook ve Twitter dâhil sosyal medya sitelerinde en yeni içerikleri otomatik olarak paylaşabilmenizi sağlar."],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["Ziyaretçilerinizin teşekkürlerini veya beğenilerini ifade edebilmeleri için içeriklerinize beğeni düğmeleri ekler."],"Allows registered users to log in to your site with their WordPress.com accounts.":["Kayıtlı kullanıcıların kendi WordPress.com hesaplarıyla sitenizde oturum açabilmesini sağlar."],"Protects your site from traditional and distributed brute force login attacks.":["Sitenizi sıradan ve dağıtılmış deneme yanılma saldırılarına karşı korur."],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["Sitenizi küresel WordPress.com sunucularında yedekleyerek acil durumla karşılaşıldığında veya hata alındığında içeriklerinizi geri yükleyebilmenizi sağlar."],"Removes spam from comments and contact forms.":["Yorum ve iletişim formlarından istenmeyen içerikleri kaldırır."],"We are committed to your privacy and security. ":["Gizliliğiniz ve güvenliğiniz bizim için önemlidir. "],"View all Jetpack plans":["Tüm Jetpack paketlerini görüntüleyin"],"Manage your plan":["Paketinizi yönetme"],"Your Plan":["Paketiniz"],"You’re currently on Jetpack %(plan)s.":["Şu anda Jetpack %(plan)s paketine sahipsiniz."],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["Okuyucuların gönderilerinize veya yorumlarınıza abone olabilmelerini ve yeni içerikler hakkında e-postayla bildirim almalarını sağlar."],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["Standart WordPress yorumlarını, sosyal medyada oturum açma seçenekleri içeren yeni bir yorum sistemiyle değiştirir."],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["Yerleşik WordPress aramasını, gelişmiş bir arama deneyimi olan Jetpack Arama modülüyle değiştirmek için bu seçeneği {{a}}etkinleştirin{{/a}}."],"Add Search (Jetpack) Widget":["Arama (Jetpack) Bileşeni Ekle"],"Jetpack Search is powering search on your site.":["Jetpack Araması, sitenizdeki arama özelliğini güçlendirir."],"Manage your plugins":["Eklentilerinizi yönetin"],"Moderate comments":["Yorumları yönetin"],"Error updating privacy settings. %(error)s":["Gizlilik ayarları güncellenirken hata oluştu. %(error)s"],"Updated privacy settings.":["Gizlilik ayarları güncellendi."],"Updating privacy settings…":["Gizlilik ayarları güncelleniyor…"],"Add Jetpack Search Widget":["Jetpack Arama Bileşeni Ekle"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["Sıralamayı ve filtreleri yapılandırmak için kenar çubuğunuza Jetpack Arama bileşenini ekleyin."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["Tam güvenlik paketi, pazarlama ve gelir otomasyon araçları, sınırsız video barındırma, sınırsız temalar, gelişmiş arama ve öncelikli destek."],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["Tam güvenlik paketi, pazarlama ve gelir otomasyon araçları, sınırsız video barındırma ve öncelikli destek."],"Daily backups, spam filtering, and priority support.":["Günlük yedeklemeler, istenmeyen e-posta filtreleme ve öncelikli destek."],"Always-on security":["Her zaman etkin güvenlik"],"Activate video hosting":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Sınırsız alan, tek tıkla geri yükleme, otomatik güvenlik taramaları ve öncelikli destek ile sitenizdeki verilerin tamamı gerçek zamanlı olarak yedeklenir."],"Design the perfect website":["Mükemmel web sitesini tasarlayın"],"Set up Jetpack":["Jetpack'i Kur"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["Sınırsız alan, tek tıkla geri yükleme, otomatik güvenlik taramaları ile sitenizdeki verilerin tamamı gerçek zamanlı olarak yedeklenir."],"Jetpack Search":["Jetpack Araması"],"Jetpack version %(version)s":["Jetpack versiyonu %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["Siteniz gerçek zamanlı olarak yedekleniyor ve güvenlik tehditlerine karşı düzenli olarak taranıyor."],"Daily backup of all your site data with unlimited space and one-click restores":["Sınırsız alan ve tek tıkla geri yükleme olanağı ile sitenizin tamamı günlük olarak yedeklenir."],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["Sınırsız alan, tek tıkla geri yükleme, otomatik güvenlik taramaları ve tek tıkla tehdit çözümleme ile sitenizdeki verilerin tamamı gerçek zamanlı olarak yedeklenir."],"View your security activity":["Güvenlik etkinliğinizi görüntüleyin"]," (powered by VaultPress).":[" (VaultPress tarafından desteklenir)."],"Customize Search Widget":["Arama Bileşenini Kişiselleştir"],"Please correct the issue below and try again.":["Lütfen aşağıdaki sorunu çözüp tekrar deneyin.","Lütfen aşağıda listelenen sorunları çözüp tekrar deneyin."],"We are making sure your site stays free of security threats. You will be notified if we find one.":["Sitenizin güvenlik tehditlerine karşı güvende kalmasını sağlıyoruz. Bir tane bulursak bilgilendirileceksiniz."],"Jetpack version":["Jetpack versiyonu"],"Activity":["Etkinlik"],"{{a}}View details{{/a}}":["{{a}}Detayları görüntüle{{/a}}"],"Monetize your site with ads":["Reklamlarla sitenizden para kazanın"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["Sitenizi bağlayarak {{tosLink}}hizmet koşullarımızı{{/tosLink}} ve WordPress.com ile {{shareDetailsLink}}bilgi paylaşımını{{/shareDetailsLink}} kabul etmiş olursunuz."],"Jetpack Stats People":["Jetpack Kişi İstatistikleri"],"Hello there! Your stats have been activated.":["Merhaba! İstatistikleriniz etkinleştirildi."],"Just give us a little time to collect data so we can display it for you here.":["Verilerinizi görüntüleyebilmek için topluyoruz, lütfen kısa bir süre bekleyin."],"Okay, got it!":["Tamam, anladım!"],"Display ads below posts on":["Şuradaki gönderilerin altında reklam görüntüle:"],"Additional ad placements":["Ek reklam yerleştirmeleri"],"Top of each page":["Her sayfanın başı"],"Second ad below post":["Gönderilerin altında ikinci reklam"],"Archives":["Arşivler"],"Stars":["Yıldızlar"],"Jupiter":["Jüpiter"],"Schedule posts":[""],"Activate Publicize":["Duyuru’yu Etkinleştirme"],"Your site is backed up.":["Siteniz yedeklendi."],"Get WordPress Apps for every device":["Her cihaz için WordPress Uygulamalarını edinin."],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["Tüm sitelerinizi tek bir panodan yönetin: Dünyanın her yerinden içerik yayımlayın, istatistikleri izleyin, yorumları yönetin ve çok daha fazlasını yapın."],"Create address":["Adres oluştur"],"Automatically share your posts to social networks":["YAzılarınızı otomatik olarak sosyal ağlarda paylaşın"],"Updating settings…":["Ayarlar güncelleniyor…"],"Updating Post by Email address…":["Gönderi E-posta adresi ile güncelleniyor..."],"Your paid plan gives you access to prioritized Jetpack support.":["Ücretli paketiniz size, öncelik verilmiş Jetpack destek erişimi sağlıyor."],"You have paid for backups but they're not yet active.":["Yedeklemeler için ödeme yaptınız ancak henüz etkin değiller."],"You have paid for backups and security scanning but they’re not yet active.":["Yedekleme ve güvenlik taraması için ödeme yaptınız ancak henüz etkin değiller."],"Click \"Set Up\" to finish installation.":["Yüklemeyi tamamlamak için \"Ayarla\" düğmesine tıklayın."],"Checking site status…":["Site durumu kontrol ediliyor…"],"Pages":["Sayfalar"],"Access the full list of Jetpack modules available on your site.":["Sitenizde bulunan eksiksiz Jetpack modül listesine erişin."],"We're here to help":["Size yardım etmek için buradayız"],"Jetpack comes with free, basic support for all users.":["Jetpack tüm kullanıcılar için ücretsiz, temel bir destek ile gelir."],"Ask a question":["Soru sorun"],"Search our support site":["Destek sitemizde arama yapın"],"Get a faster resolution to your support questions.":["Destek ile ilgili sorularınıza daha hızlı çözüm alın."],"Host fast, high-quality, ad-free video.":["Hızlı, yüksek kaliteli, reklamsız video barındırın."],"Generate income with high-quality ads.":["Yüksek kaliteli reklamlarla gelir elde edin."],"Real-time site backups and automatic threat resolution.":["Gerçek zamanlı site yedeklemeleri ve otomatik tehdit çözümleme."],"Protect against data loss, malware, and malicious attacks.":["Veri kaybına, zararlı yazılımlara ve kötü amaçlı saldırılara karşı korunun."],"Protect your site from spam.":["Sitenizi istenmeyen içeriklerden koruyun."],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["Bu site WordPress.com'a bağlı değil. Lütfen bağlaması için site yöneticisine bildirin."],"An Automattic Airline":["Bir Automattic Hava Yolu"],"Manage site connection":["Site bağlantısını yönet"],"Connect your account to WordPress.com to view more stats":["Daha fazla istatistik görüntülemek için hesabınızı WordPress.com'a bağlayın"],"Theme enhancements":["Tema güçlendirmeleri"],"Load more posts using the default theme behavior":["Varsayılan tema davranışını kullanarak daha fazla gönderi yükleyin"],"Load more posts in page with a button":["Tek bir düğmeyle sayfaya daha fazla gönderi yükleyin"],"Load more posts as the reader scrolls down":["Okuyucu sayfayı aşağı kaydırırken daha fazla gönderi yükleyin"],"Theme support required.":["Tema desteği gereklidir."],"Learn more about adding support for Infinite Scroll to your theme.":["Temanıza Sınırsız Kaydırma desteği ekleme hakkında daha fazla bilgi edinin."],"Show excerpts instead of full posts on front page and archive pages":["Ana sayfa ve arşiv sayfalarında tam gönderiler yerine alıntılar gösterin"],"Show featured images":["Öne çıkan görselleri göster"],"Enable the WordPress.com toolbar":["WordPress.com araç çubuğunu etkinleştirin"],"Writing tools available to you will be shown here when an administrator enables them.":["Yönetici etkinleştirdiğinde kullanabileceğiniz yazma araçları burada gösterilecektir."],"Portfolios":["Portföyler"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["Unutmayın; sitenizin arama motorları tarafından indekslenmesi için {{b}}sitenizi bu hizmetlerle doğrulamanız gerekli değildir{{/b}}. Bu gelişmiş arama motoru araçlarını kullanmak ve sitenizi bir hizmetle doğrulamak için aşağıdaki HTML Etiket kodunu yapıştırın. Sorunla karşılaşırsanız {{support}}ayrıntılı yönergeleri{{/support}} okuyun. Desteklenen doğrulama hizmetleri: {{google}}Google Arama Konsolu{{/google}}, {{bing}}Bing Webmaster Merkezi{{/bing}}, {{pinterest}}Pinterest Site Doğrulama{{/pinterest}} ve {{yandex}}Yandex.Webmaster{{/yandex}}."],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["XML site haritalarını oluştur"],"The image helps collect stats, but should work when hidden.":["Görsel, istatistiklerin toplanmasına yardımcı olur ama gizlenmiş olsa bile çalışması gerekir."],"Count logged in page views from":["Oturum açmış şu grubun sayfa görüntülemelerini sayın:"],"Allow stats reports to be viewed by":["Şu grubun istatistik raporlarını görüntülemesine izin verin:"],"In \"Upgrade\"":["\"Yükseltme\" içinde"],"Configure your Google Analytics settings":["Google Analytics ayarlarınızı yapılandırın"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["Reklamları ana sayfanızdaki ilk makalede veya her sayfa ve gönderinin sonunda görüntüleyin. Gelirlerinizi artırmak için ek reklamları sitenizin üst kısmına veya herhangi bir bileşen alanına yerleştirin."],"Enable ads and display an ad below each post":["Reklamları etkinleştirin ve her yazı altında bir reklam görüntüleyin"],"Configure your sharing buttons":["Paylaşım düğmelerinizi yapılandırın"],"Connect your social media accounts":["Sosyal medya hesaplarınızı bağlayın"],"Match accounts using email addresses":["E-posta adreslerini kullanarak hesapları eşleştir"],"Require accounts to use WordPress.com Two-Step Authentication":["Hesapların WordPress.com iki adımlı kimlik doğrulama kullanmasını zorunlu tut"],"Add to whitelist":["Güvenilir adresler listesine ekle"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["Jetpack tarafından daima engellenmelerini önleyen bir IP adresini veya bir dizi adresi güvenilir adresler listesine ekleyebilirsiniz. IPv4 ve IPv6 kabul edilebilir niteliktedir. Bir aralık belirtmek için aralarına tire ekleyerek düşük ve yüksek değerleri girin. Örnek: 12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["Siteniz yedeklendi ve tehlikelere karşı korunuyor."],"Checking your spam protection…":["İstenmeyen içerik korumanız kontrol ediliyor..."],"Fetching key…":["Anahtar alınıyor…"],"Your site needs an Antispam key.":["Siteniz bir Antispam anahtarına ihtiyaç duyuyor."],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["Antispam API anahtarınızla ilgili bir sorun var. {{a}}Daha fazla bilgi edinin{{/a}}."],"Your site is not protected from spam.":["Siteniz istenmeyen içeriğe karşı korunmuyor."],"Your Antispam key is valid.":["Antispam anahtarınız geçerli."],"Your site is protected from spam.":["Siteniz istenmeyen içeriğe karşı korunuyor."],"Checking key…":["Anahtar kontrol ediliyor…"],"Your API key":["API anahtarınız"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["Bir API anahtarınız yoksa {{a}}API anahtarınızı buradan alabilirsiniz{{/a}}, ardından anahtar edinme süreci boyunca yönlendirileceksiniz."],"No search results found for %(term)s":["%(term)s için hiçbir sonuç bulunamadı"],"Enter a search term to find settings or close search.":["Ayarları bulmak için bir arama terimi girin veya aramayı kapatın."],"Connections":["Bağlantılar"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["Siteniz Geliştirme Modu’nda, bu nedenle WordPress.com’a bağlanamaz."],"Your site is connected to WordPress.com.":["Siteniz WordPress.com'a bağlı."],"You are the Jetpack owner.":["Jetpack sahibi sizsiniz."],"Connected as {{span}}%(username)s{{/span}}":["{{span}}%(username)s{{/span}} olarak bağlanıldı"],"View your Email Followers":["E-posta Takipçilerinizi görüntüleyin"],"Color scheme":["Renk düzeni"],"Enable Markdown use for comments.":["Yorumlar için Markdown’ı etkinleştirin."],"Updated settings.":["Ayarlar güncellendi."],"Error updating settings. %(error)s":["Ayarlar güncellenirken hata oluştu. %(error)"],"Regenerated Post by Email address.":["E-posta adresi ile yazı yeniden oluşturuldu."],"Error regenerating Post by Email address. %(error)s":["E-posta adresi ile yazı yeniden oluşturulurken hata oluştu. %(error)s"],"Updated settings. Refreshing page…":["Ayarlar güncellendi. Sayfa yenileniyor…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["Şu anda {{a}}Geliştirme Modu{{/a}}‘nda (bazı özellikler devre dışı) çünkü: {{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}jetpack_development_mode filtresi etkin{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}JETPACK_DEV_DEBUG sabiti tanımlı{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}Sitenizin URL’sinde bir nokta eksik (ör. http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics, {{a}}yerleşik istatistiklerimizi{{/a}} trafiğinize ilişkin farklı görüşlerle tamamlayan ücretsiz bir hizmettir. WordPress.com istatistikleri ve Google Analytics, sitenizdeki etkinlikleri tanımlamak ve izlemek için farklı yöntemler kullanır. Bu nedenle, normal olarak toplam ziyaret, görüntüleme vb. sayılarını biraz farklı şekilde gösterir."],"Google Analytics":["Google Analytics"],"Configure Google Analytics":["Google Analytics Ayarları"],"Activate Google Analytics":["Google Analytics Etkinleştir"],"Download the free apps":["Ücretsiz uygulamaları indir"],"Upgrade Focus: VideoPress For Weddings":["Yükseltme Odağı: Düğünler İçin VideoPress"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}Şimdi Özelleştiricideki ilgili gönderileri yapılandırabilirsiniz. {{ExternalLink}}Deneyin!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["Varsayılan reklamlar her sayfanın, gönderinin sonunda veya ön sayfanızdaki ilk makalenin sonunda gösterilir. Bununla birlikte reklamları sitenizin üstüne ve herhangi bir bileşen alanına ekleyerek gelirinizi artırabilirsiniz!"],"Display an ad unit at the top of your site.":["Sitenizin üst kısmında bir reklam birimi gösterin."],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["Reklamları etkinleştirerek Otomatik Reklam {{link}}Hizmet Şartlarını{{/link}} kabul etmiş olursunuz."],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["Sunucunuz yanlış yapılandırılmış, bu nedenle Jetpack Protect sitenizi etkin bir şekilde koruyamıyor."],"In \"Mobile\"":["\"Mobil\" içinde"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["WordPress.com'da İzleme bildirim ayarlarınızı yapılandırın"],"View your earnings":["Kazancınızı görüntüleyin"],"Configure site SEO":[""],"Activate SEO tools":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["Başlamak için gönderi düzenleyicinizde Medya Ekle’ye tıklayıp karşıya bir video yükleyin; gerisini biz hallederiz!"],"Video Hosting":["Video Barındırma"],"SEO Tools":["SEO Araçları"],"Advanced SEO tools to help your site get found when people search for relevant content.":["İlgili içeriği arayan kişilerin sitenizi bulmasına yardımcı olacak gelişmiş SEO araçları."],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["Sitenize reklam ve marka içermeyen videolar yüklemenin en kolay yolu. Video oynatma ve video paylaşımları ile ilgili istatistikler alırsınız. Ayrıca oynatıcı hafif ve hızlıdır."],"You are running Jetpack on a staging server.":["Jetpack’i prova sunucusu üzerinde çalıştırıyorsunuz."],"More Info":["Daha Fazla Bilgi"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}Paylaşım Modülü Ayarları’ndan Beğeni görünürlüğünü yönetin{{/a}}"],"Your current IP: %(ip)s":["Geçerli IP adresiniz: %(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["Bu sekmede kaydedilmemiş ayarlar var ve ayrılmanız durumunda bu ayarlar kaybolacak. Devam etmek istiyor musunuz?"],"This will reset all Jetpack options, are you sure?":["Bunu yaptığınızda tüm Jetpack seçenekleri sıfırlanacak; emin misiniz?"],"Search for a Jetpack feature.":["Jetpack özelliği arayın."],"Configure your Security Scans":["Güvenlik Taramalarınızı Yapılandırın"],"Subscriber":["Abone"],"Big iPhone/iPad Update Now Available":["Büyük iPhone/iPad Güncellemesi İndirilmeye Hazır"],"The WordPress for Android App Gets a Big Facelift":["Android için WordPress Uygulaması Büyük Bir Görsel Gelişim Yaşadı"],"WordPress.com Likes are:":["WordPress.com Beğenileri:"],"A few catchy words to motivate your visitors to comment.":["Akılda kalıcı birkaç sözcükle ziyaretçilerinizi yorum yapmaya teşvik edin."],"Hide the stats smiley face image":["İstatistik yüz ifadesi görselini gizleyin"],"Whitelisted IP addresses":["Güvenilir adresler listesindeki IP adresleri"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["Mobil temanın alt bilgi kısmında WordPress mobil uygulamaları için bir tanıtım gösterin"],"Copied!":["Kopyalandı!"],"Highlight and copy the following text to your clipboard:":["Aşağıdaki metni vurgulayıp panonuza kopyalayın:"],"Regenerate address":["Adresi yeniden oluşturun"],"Cheatin' uh?":["Hile mi yapıyorsunuz?"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}Bu {{a}}2 soruluk anketi{{/a}} yanıtlayarak Jetpack bağlantısını neden tamamlamadığınızı açıklayabilir misiniz?{{/p}}{{p}}Jetpack bağlantısı, ücretsiz güvenlik ve trafik özelliklerimizin çalışabilmesi için gereklidir.{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["{{s}}Jetpack %(jetpack_version)s{{/s}} dünyasına hoş geldiniz!"],"Your Jetpack is already connected.":["Jetpack'iniz zaten bağlı."],"You're fueled up and ready to go, Jetpack is now active.":["Her şey tamam, harekete hazırsınız. Jetpack artık etkin."],"You're fueled up and ready to go.":["Her şey tamam, harekete hazırsınız."],"You are currently running a development version of Jetpack.":["Şu anda Jetpack’in geliştirme sürümünü çalıştırıyorsunuz."],"Submit Beta feedback":["Beta geri bildirimi gönder"],"What would you like to see on your Jetpack Dashboard?":["Jetpack Panonuzda neler görmek istersiniz?"],"Let us know!":["Bize haber verin!"],"Saving…":["Kaydediliyor…"],"Save Settings":["Ayarları Kaydet"],"Jetpack Stats Icon":["Jetpack İstatistikleri Simgesi"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["Ayrıntılı istatistikler, beğeniler, takipçiler, aboneler ve daha fazlasını görmek için {{a}}Site İstatistiklerini Etkinleştirin{{/a}}! {{a1}}Daha Fazla Bilgi Edinin{{/a1}}"],"Activate Site Stats":["Site İstatistiklerini Etkinleştir"],"Site Backups":["Site Yedeklemeleri"],"Upgrade":["Yükselt"],"ACTIVE":["ETKİN"],"View your spam stats":["İstenmeyen posta istatistiklerinizi görüntüleyin"],"View your security dashboard":["Güvenlik panonuzu görüntüleyin"],"Real-Time Backups":["Gerçek Zamanlı Yedeklemeler"],"The site is in Development Mode, so you can not connect to WordPress.com.":["Site, Geliştirme Modu’nda, bu nedenle WordPress.com’a bağlanamazsınız."],"Link your account to WordPress.com to get the most out of Jetpack.":["Jetpack’ten maksimum verim alabilmek için hesabınızı WordPress.com’a bağlayın."],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["Güvenlik tehditlerinin otomatik ve kapsamlı olarak taranması için lütfen VaultPress’i {{a}}yükleyip etkinleştirin{{/a}}."],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack etkin olarak kötü amaçlı oturum açma denemelerini engelliyor. Yakında burada veriler görüntülenecek!"],"Total malicious attacks blocked on your site.":["Kötü amaçlı saldırı sitenizde engellendi."],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["Sitenizi kötü amaçlı oturum açma denemelerine karşı korumak için {{a}}Protect’i etkinleştirin{{/a}}."],"All plugins are up-to-date. Awesome work!":["Tüm eklentiler güncel. Harika bir iş!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack sitenizi izliyor. Sitenizin kullanım dışı olduğunu düşünürsek bir e-posta alırsınız."],"Security":["Güvenlik"],"Performance":["Performans"],"Backup":["Yedekleme"],"{{a}}View backup details{{/a}}.":["{{a}}Yedekleme ayrıntılarını görüntüleyin{{/a}}."],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["Tüm sitenizi otomatik olarak yedeklemek için lütfen VaultPress’i {{a}}yükleyip etkinleştirin{{/a}}."],"Unavailable in Dev Mode.":["Geliştirme Modu’nda kullanılamaz."],"Unavailable in Dev Mode":["Geliştirme Modu’nda kullanılamaz"],"Activating %(slug)s…":["%(slug)s etkinleştiriliyor…"],"%(slug)s has been activated.":["%(slug)s etkinleştirildi."],"%(slug)s failed to activate. %(error)s":["%(slug)s etkinleştirilemedi. %(error)s"],"Deactivating %(slug)s…":["%(slug)s devre dışı bırakılıyor…"],"%(slug)s has been deactivated.":["%(slug)s devre dışı bırakıldı."],"%(slug)s failed to deactivate. %(error)s":["%(slug)s devre dışı bırakılamadı. %(error)s"],"Updating %(slug)s settings…":["%(slug)s ayarları güncelleniyor…"],"Updated %(slug)s settings.":["%(slug)s ayarları güncellendi."],"Error updating %(slug)s settings. %(error)s":["%(slug)s ayarları güncellenirken hata oluştu. %(error)s"],"Updating %(slug)s address…":["%(slug)s adresi güncelleniyor…"],"Regenerated %(slug)s address .":["%(slug)s adresi yeniden oluşturuldu."],"Error regenerating %(slug)s address. %(error)s":["%(slug) adresi yeniden oluşturulurken hata oluştu. %(error)s"],"Resetting Jetpack options…":["Jetpack seçenekleri sıfırlanıyor…"],"Options reset.":["Seçenekler sıfırlandı."],"Options failed to reset.":["Seçenekler sıfırlanamadı."],"There was an error disconnecting Jetpack. Error: %(error)s":["Jetpack bağlantısı kesilirken bir hata oluştu. Hata: %(error)s"],"Unlinking from WordPress.com":["WordPress.com bağlantısı kaldırılıyor"],"Unlinked from WordPress.com.":["WordPress.com bağlantısı kaldırıldı."],"Error unlinking from WordPress.com. %(error)s":["WordPress.com bağlantısı kaldırılırken hata oluştu. %(error)s"],"At A Glance":["Bir Bakışta"],"Dashboard":["Pano"],"Automattic's Privacy Policy":["Automattic'in Gizlilik İlkesi"],"WordPress.com Terms of Service":["WordPress.com Hizmet Koşulları"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}Otomatik eklenti güncellemelerini açın.{{/a}}"],"Plugin Updates":["Eklenti Güncellemeleri"],"No threats found, you're good to go!":["Tehdit bulunmadı, çekinmeden devam edin!"],"{{a}}Contact Support{{/a}}":["{{a}}Destek Birimine Başvurun{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}Ayrıntıları VaultPress.com’da görüntüleyin{{/a}}"],"Uh oh, %(number)s threat found.":["Eyvah, %(number)s tehdit bulundu.","Eyvah, %(number)s tehdit bulundu."],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["Siteniz çökerse bildirimler almak için {{a}}Monitor’ı etkinleştirin{{/a}}."],"Loading…":["Yükleniyor…"],"Downtime monitor":["Kullanım dışı kalma izleme"],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}WordPress.com'da daha fazla istatistik görüntüle {{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}Detaylı istatistikleri görüntüle{{/button}}"],"All-time comments":["Tüm zamanlarda toplam yorum sayısı"],"All-time views":["Tüm zamanlarda toplam görüntüleme sayısı"],"%(number)s View":["%(number)s Görüntüleme","%(number)s Görüntüleme"],"Best overall day":["Toplamda en iyi gün"],"Views today":["Bugünkü görüntüleme sayısı"],"Months":["Ay"],"Weeks":["Hafta"],"Days":["Gün"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["İstatistikler yüklenirken bir sorun yaşandı. Lütfen daha sonra tekrar deneyin veya {{a}}istatistiklerinizi şimdi WordPress.com’da görüntüleyin{{/a}}"],"Click to view detailed stats.":["Ayrıntılı istatistikleri görüntülemek için tıklayın."],"Views: %(numberOfViews)s":["Görüntülemeler: %(numberOfViews)s"],"Week of %(date)s":["%(date)s haftası"],"Site Security":["Site Güvenliği"],"Link to WordPress.com":["WordPress.com'a bağlan"],"Unlink me from WordPress.com":["WordPress.com bağlantımı kaldır"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["Jetpack'inize bağlanırken bir sorun oluştu. Lütfen \"WordPress.com'a bağlan\" seçeneğine yeniden tıklayın."],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["Jetpack'e bağlanırken bir sorun yaşadık. Jetpack eklentisini devre dışı bırakıp yeniden etkinleştirin, ardından tekrar bağlanın."],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["Jetpack'i yetkilendirirken WordPress blogunuzda oturum açmış olmanız gerekir."],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}Jetpack'inizde bir hata var.{{/s}} Bu rahatsızlıktan dolayı özür dileriz. Lütfen daha sonra yeniden deneyin. Sorun hâlâ devam ediyorsa lütfen şu mesajla desteğe başvurun: %(error_key)s"],"Disconnecting Jetpack":["Jetpack Bağlantısı Kesiliyor"],"Learn more":["Daha Fazla Bilgi"],"Posts":["Yazılar"],"Front page":["Ön sayfa"],"Upload videos":["Video yükle"],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["Yazılardan sonra ilgili içeriği göster"],"Related":["İlgili"],"Disconnect":["Bağlantıyı kes"],"Save":["Kaydet"],"Media":["Ortam"],"Mobile Theme":["Mobil Tema"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX, karmaşık matematik denklemleri ve formüller yazmaya yönelik güçlü bir biçimlendirme dilidir."],"Site Stats":["Site İstatistikleri"],"Sharing":["Paylaşma"],"Testimonials":["Görüşler"],"Cancel":["Vazgeç"],"Comments":["Yorumlar"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack, WordPress.com ile iletişim kuramadı: %(error_key)s. Bu genellikle, web sunucunuzda bir şeylerin yanlış yapılandırıldığı anlamına gelir."],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com şu anda sorun yaşıyor ve Jetpack'inizi destekleyemiyor. Lütfen daha sonra tekrar deneyin."],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}Jetpack'inizde bir hata var.{{/s}} Bu site ile WordPress.com arasında bağlantı kurmak mümkün değil. Bu genellikle, sitenizin herkesin erişimine açık olmadığı anlamına gelir (localhost)."],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["Jetpack'in kullanılabilmesi için web sitenizin herkesin erişimine açık olması gerekir: %(error_key)s"],"Edit":["Düzenle"],"Connected":["Bağlanıldı"],"Activate":["Etkinleştir"],"Active":["Etkin"],"Settings":["Ayarlar"],"Learn More":["Daha Fazla Bilgi"],"Disconnect Jetpack":["Jetpack Bağlantısını Kes"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}Not:{{/b}} Bu özellik, Mart ayında kullanımdan kaldırılacak ve Jetpack’ten çıkarılacak. {{link}}Daha fazla bilgi{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack Yedeklemesi"],"Settings header\u0004Anti-spam":["İstenmeyen içerik koruması"],"Settings header\u0004WP.me Shortlinks":["WP.me Kısa Bağlantıları"],"Settings header\u0004Auto-update plugins":["Otomatik güncellenen eklentiler"],"Settings header\u0004Widgets":["Bileşenler"],"Settings header\u0004Downtime monitoring":["Kullanım dışı kalma izleme"],"Settings header\u0004Privacy Settings":["Gizlilik Ayarları"],"Settings header\u0004WordPress.com toolbar":["WordPress.com araç çubuğu"],"Settings header\u0004Composing":["Derleniyor"],"Settings header\u0004Site stats":["Site istatistikleri"],"Settings header\u0004Search engine optimization":["Arama motoru optimizasyonu"],"Settings header\u0004Google Analytics":["Google Analytics"],"Settings header\u0004Sharing buttons":["Paylaşım düğmeleri"],"Settings header\u0004Publicize connections":["Bağlantıları duyurun"],"Settings header\u0004Like buttons":["Beğenme düğmeleri"],"Settings header\u0004Brute force attack protection":["Deneme yanılma saldırılarına karşı koruma"],"Settings header\u0004Backups and security scanning":["Yedeklemeler ve güvenlik taraması"],"Notice in the empty statistics chart\u0004No activity this period":["Bu dönemde hiç etkinlik yok"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com’a giriş yapma"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["Bağlantı gönder"],"A caption for a button to cancel an action.\u0004Cancel":["İptal"],"Link to learn more about Jetpack.\u0004About":["Hakkında"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["Modüller"],"Navigation item.\u0004Performance":["Performans"],"Navigation item.\u0004My Plan":["Paketim"],"Navigation item.\u0004Dev Tools":["Geliştirme araçları"],"Navigation item.\u0004Settings":["Ayarlar"],"Navigation item.\u0004Discussion":["Tartışma"],"Navigation item.\u0004Traffic":["Trafik"],"Navigation item.\u0004Sharing":["Paylaşma"],"Navigation item.\u0004At A Glance":["Bir Bakışta"],"Navigation item.\u0004Plans":["Paketler"],"Navigation item.\u0004Writing":["Yazma"],"Navigation item.\u0004Reset Options (dev only)":["Sıfırlama seçenekleri (yalnızca geliştirme sürümleri için)"],"Navigation item.\u0004Security":["Güvenlik"],"Navigation item.\u0004At a Glance":["Bir Bakışta"],"Search term.\u0004terms of service":["hizmet koşulları"],"Search term.\u0004tos":["hk"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["veri"],"Search term.\u0004tracks":["izlemeler"],"Search term.\u0004privacy":["gizlilik"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["Yükselt"],"Button caption\u0004Saving…":["Kaydediliyor…"],"Button caption\u0004Save settings":["Ayarları kaydet"],"A heading for a block of related posts.\u0004Related":["Benzer"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["Ön izleme"],"Short warning message\u0004Updates needed":["Güncellemelerin yapılması gerekiyor"],"Short label appearing near a paid feature configuration block.\u0004Paid":["Ücretli"],"A header for a preview area in the configuration screen.\u0004Preview":["Ön izleme"],"Ads header\u0004Ads":["Reklamlar"],"Dashboard widget header\u0004Site connection":["Site bağlantısı"],"Dashboard widget header\u0004Account connection":["Hesap bağlantısı"],"A caption for a small button to fix security issues.\u0004Threats":["Tehditler"],"A caption for a small button to fix security issues.\u0004FIX":["DÜZELT"],"Short warning message about new threats found.\u0004Threats found!":["Tehditler bulundu!"],"Short message informing user that the site is secure.\u0004Secure":["Güvenli"],"Caption for a button to set up a feature.\u0004Set up":["Ayarla"],"verb\u0004Copy":["Kopyala"],"Shorthand for Privacy Policy.\u0004Privacy":["Gizlilik"],"Shorthand for Terms of Service.\u0004Terms":["Koşullar"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["Hata ayıklama"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["İstenmeyen yorumlar engellendi."]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-uk-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-uk-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index c7b264f1..00000000
--- a/plugins/jetpack/languages/json/jetpack-uk-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"uk_UA"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found.","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Дізнатись більше"],"Posts":["Публікації"],"Front page":[""],"Pinterest":[""],"Google":[""],"Show related content after posts":["Показувати пов’язаний вміст після записів"],"Related":["Пов’язано"],"Disconnect":["Роз’єднати"],"Save":["Зберегти"],"Media":["Медіафайли"],"Site Stats":["Статистика"],"Sharing":["Поділитись"],"Testimonials":["Рекомендації"],"Cancel":["Скасувати"],"Comments":["Коментарі"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Редагувати"],"Connected":["З’єднано"],"Activate":["Активувати"],"Active":["Активний"],"Settings":["Налаштування"],"Learn More":["Дізнатись більше"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-ur-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-ur-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index d4c294ae..00000000
--- a/plugins/jetpack/languages/json/jetpack-ur-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=2; plural=n != 1;","lang":"ur_PK"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":["","Uh oh, %(number)s threats found."],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":["","%(number)s Views"],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":[""],"Posts":["تحریریں"],"Front page":[""],"Pinterest":[""],"Google":[""],"Show related content after posts":[""],"Related":[""],"Disconnect":[""],"Save":["محفوظ کریں"],"Media":[""],"Site Stats":[""],"Sharing":[""],"Testimonials":[""],"Cancel":["مسترد"],"Comments":["تبصرے"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["تدوین"],"Connected":[""],"Activate":["فعال کریں"],"Active":[""],"Settings":[""],"Learn More":[""],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-vi-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-vi-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index aa3e270f..00000000
--- a/plugins/jetpack/languages/json/jetpack-vi-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"vi_VN"},"Pages":[""],"Access the full list of Jetpack modules available on your site.":[""],"We're here to help":[""],"Jetpack comes with free, basic support for all users.":[""],"Ask a question":[""],"Search our support site":[""],"Get a faster resolution to your support questions.":[""],"Host fast, high-quality, ad-free video.":[""],"Generate income with high-quality ads.":[""],"Real-time site backups and automatic threat resolution.":[""],"Protect against data loss, malware, and malicious attacks.":[""],"Protect your site from spam.":[""],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":[""],"An Automattic Airline":[""],"Manage site connection":[""],"Connect your account to WordPress.com to view more stats":[""],"Theme enhancements":[""],"Load more posts using the default theme behavior":[""],"Load more posts in page with a button":[""],"Load more posts as the reader scrolls down":[""],"Theme support required.":[""],"Learn more about adding support for Infinite Scroll to your theme.":[""],"Show featured images":[""],"Enable the WordPress.com toolbar":[""],"Writing tools available to you will be shown here when an administrator enables them.":[""],"Portfolios":[""],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":[""],"Bing":[""],"Yandex":[""],"Generate XML sitemaps":[""],"The image helps collect stats, but should work when hidden.":[""],"Count logged in page views from":[""],"Allow stats reports to be viewed by":[""],"In \"Upgrade\"":[""],"Configure your Google Analytics settings":[""],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":[""],"Enable ads and display an ad below each post":[""],"Configure your sharing buttons":[""],"Connect your social media accounts":[""],"Match accounts using email addresses":[""],"Require accounts to use WordPress.com Two-Step Authentication":[""],"Add to whitelist":[""],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[""],"Your site is backed up and threat-free.":[""],"Checking your spam protection…":[""],"Fetching key…":[""],"Your site needs an Antispam key.":[""],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":[""],"Your site is not protected from spam.":[""],"Your Antispam key is valid.":[""],"Your site is protected from spam.":[""],"Checking key…":[""],"Your API key":[""],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":[""],"No search results found for %(term)s":[""],"Enter a search term to find settings or close search.":[""],"Connections":[""],"Your site is in Development Mode, so it can not be connected to WordPress.com.":[""],"Your site is connected to WordPress.com.":[""],"You are the Jetpack owner.":[""],"Connected as {{span}}%(username)s{{/span}}":[""],"View your Email Followers":[""],"Color scheme":[""],"Enable Markdown use for comments.":[""],"Updated settings.":[""],"Error updating settings. %(error)s":[""],"Regenerated Post by Email address.":[""],"Error regenerating Post by Email address. %(error)s":[""],"Updated settings. Refreshing page…":[""],"{{li}}The jetpack_development_mode filter is active{{/li}}":[""],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":[""],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":[""],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":[""],"Google Analytics":[""],"Configure Google Analytics":[""],"Activate Google Analytics":[""],"Upgrade Focus: VideoPress For Weddings":[""],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":[""],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":[""],"Display an ad unit at the top of your site.":[""],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":[""],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":[""],"In \"Mobile\"":[""],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":[""],"View your earnings":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":[""],"Video Hosting":[""],"SEO Tools":[""],"Advanced SEO tools to help your site get found when people search for relevant content.":[""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[""],"You are running Jetpack on a staging server.":[""],"More Info":[""],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[""],"Your current IP: %(ip)s":[""],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[""],"This will reset all Jetpack options, are you sure?":[""],"Search for a Jetpack feature.":[""],"Configure your Security Scans":[""],"Subscriber":[""],"Big iPhone/iPad Update Now Available":[""],"The WordPress for Android App Gets a Big Facelift":[""],"WordPress.com Likes are:":[""],"Hide the stats smiley face image":[""],"Whitelisted IP addresses":[""],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":[""],"Copied!":[""],"Highlight and copy the following text to your clipboard:":[""],"Regenerate address":[""],"Cheatin' uh?":[""],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[""],"Your Jetpack is already connected.":[""],"You're fueled up and ready to go, Jetpack is now active.":[""],"You're fueled up and ready to go.":[""],"You are currently running a development version of Jetpack.":[""],"Submit Beta feedback":[""],"What would you like to see on your Jetpack Dashboard?":[""],"Let us know!":[""],"Saving…":[""],"Save Settings":[""],"Jetpack Stats Icon":[""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[""],"Activate Site Stats":[""],"Upgrade":[""],"ACTIVE":[""],"View your spam stats":[""],"View your security dashboard":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":[""],"Link your account to WordPress.com to get the most out of Jetpack.":[""],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":[""],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":[""],"Total malicious attacks blocked on your site.":[""],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":[""],"All plugins are up-to-date. Awesome work!":[""],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":[""],"Security":[""],"Performance":[""],"{{a}}View backup details{{/a}}.":[""],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":[""],"Unavailable in Dev Mode.":[""],"Unavailable in Dev Mode":[""],"%(slug)s has been activated.":[""],"%(slug)s failed to activate. %(error)s":[""],"%(slug)s has been deactivated.":[""],"%(slug)s failed to deactivate. %(error)s":[""],"Updating %(slug)s settings…":[""],"Updated %(slug)s settings.":[""],"Error updating %(slug)s settings. %(error)s":[""],"Updating %(slug)s address…":[""],"Regenerated %(slug)s address .":[""],"Error regenerating %(slug)s address. %(error)s":[""],"Resetting Jetpack options…":[""],"Options reset.":[""],"Options failed to reset.":[""],"There was an error disconnecting Jetpack. Error: %(error)s":[""],"Unlinking from WordPress.com":[""],"Unlinked from WordPress.com.":[""],"Error unlinking from WordPress.com. %(error)s":[""],"At A Glance":[""],"Dashboard":[""],"Automattic's Privacy Policy":[""],"WordPress.com Terms of Service":[""],"Plugin Updates":[""],"No threats found, you're good to go!":[""],"{{a}}Contact Support{{/a}}":[""],"{{a}}View details at VaultPress.com{{/a}}":[""],"Uh oh, %(number)s threat found.":[""],"Loading…":[""],"{{button}}View more stats on WordPress.com {{/button}}":[""],"{{button}}View detailed stats{{/button}}":[""],"All-time comments":[""],"All-time views":[""],"%(number)s View":[""],"Best overall day":[""],"Views today":[""],"Months":[""],"Weeks":[""],"Days":[""],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":[""],"Click to view detailed stats.":[""],"Views: %(numberOfViews)s":[""],"Week of %(date)s":[""],"Site Security":[""],"Link to WordPress.com":[""],"Unlink me from WordPress.com":[""],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":[""],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":[""],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":[""],"Disconnecting Jetpack":[""],"Learn more":["Học thêm"],"Posts":["Bài viết"],"Front page":[""],"Pinterest":["Pinterest"],"Google":[""],"Show related content after posts":["Hiện nội dung liên quan sau các bài đăng"],"Related":["Có liên quan"],"Disconnect":[""],"Save":["Lưu lại"],"Media":["Phương tiện"],"Site Stats":[""],"Sharing":[""],"Testimonials":[""],"Cancel":["Hủy bỏ"],"Comments":["Phản hồi"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":[""],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":[""],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":[""],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":[""],"Edit":["Sửa"],"Connected":["Đã kết nối"],"Activate":["Kích hoạt"],"Active":["Hoạt động"],"Settings":["Cài đặt"],"Learn More":["Xem thêm"],"Disconnect Jetpack":[""],"Test your site’s compatibility with Jetpack.":[""],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":[""],"Button caption\u0004Saving…":[""],"Button caption\u0004Save settings":[""],"Noun, a header for a preview block in a configuration screen.\u0004Preview":[""],"Navigation item.\u0004Dev Tools":[""],"Navigation item.\u0004Settings":[""],"Navigation item.\u0004Discussion":[""],"Navigation item.\u0004Traffic":[""],"Navigation item.\u0004Sharing":[""],"Navigation item.\u0004At A Glance":[""],"Navigation item.\u0004Plans":[""],"Navigation item.\u0004Writing":[""],"Navigation item.\u0004Reset Options (dev only)":[""],"Navigation item.\u0004Security":[""],"Navigation item.\u0004At a Glance":[""],"Short warning message\u0004Updates needed":[""],"Short label appearing near a paid feature configuration block.\u0004Paid":[""],"Settings header\u0004WordPress.com toolbar":[""],"Settings header\u0004Composing":[""],"Settings header\u0004Site stats":[""],"Settings header\u0004Search engine optimization":[""],"Settings header\u0004Google Analytics":[""],"Settings header\u0004Sharing buttons":[""],"Settings header\u0004Publicize connections":[""],"Settings header\u0004Like buttons":[""],"Settings header\u0004Brute force attack protection":[""],"Settings header\u0004Backups and security scanning":[""],"A header for a preview area in the configuration screen.\u0004Preview":[""],"Ads header\u0004Ads":[""],"Dashboard widget header\u0004Site connection":[""],"Dashboard widget header\u0004Account connection":[""],"A caption for a small button to fix security issues.\u0004Threats":[""],"A caption for a small button to fix security issues.\u0004FIX":[""],"Short warning message about new threats found.\u0004Threats found!":[""],"Short message informing user that the site is secure.\u0004Secure":[""],"Caption for a button to set up a feature.\u0004Set up":[""],"verb\u0004Copy":[""],"Shorthand for Privacy Policy.\u0004Privacy":[""],"Shorthand for Terms of Service.\u0004Terms":[""],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":[""],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":[""]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-zh_CN-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-zh_CN-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index fad51bd7..00000000
--- a/plugins/jetpack/languages/json/jetpack-zh_CN-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"zh_CN"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["您的 %(planName)s 套餐包含 %(featureName)s。您似乎还购买了 %(productName)s 产品。考虑删除 %(productName)s。"],"real-time backups":["实时备份"],"daily backups":["日常备份"],"Renews on %s.":["续订日期:%s。"],"Purchased on %s.":["购买日期:%s。"],"Select a backup option:":["选择备份选项:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["升级到 %(name)s,%(billingTimeFrame)s只需 {{price/}}"],"You are saving {{savings /}} by paying yearly":["如果按年支付,您会节省 {{savings /}}"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["赶快行动,{{s}}推广价格限时提供,过期不候!{{/s}}"],"Up to %(percent)d%% off!":["最多可优惠 %(percent)d%%!"],"per month":["每月"],"per year":["每年"],"Which backup option is best for me?":["哪个备份选项最适合我?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}}-{{higherPrice/}}"],"Manage Subscription":["管理订阅"],"Your site is being backed up.":["正在备份您的站点。"],"You need to enter your server credentials to finish configuring Jetpack Backup.":["您需要输入服务器凭据才能完成 Jetpack 备份的配置。"],"Jetpack Backup is being configured for your site.":["正在为您的站点配置 Jetpack 备份。"],"Daily Backups":["每日备份"],"Just looking for backups? We've got you covered.":["只想查找备份?我们可以助您一臂之力。"],"Solutions":["解决方案"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["包含在您的{{planLink}}专业版套餐{{/planLink}}中"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["包含在您的{{planLink}}高级版套餐{{/planLink}}中"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["包含在您的{{planLink}}个人版套餐{{/planLink}}中"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["持续备份确保您永远不会丢失站点。您可以一边编辑一边保存所做的更改,并且您会获得无限量的备份存档。"],"Always-on backups ensure you never lose your site.":["持续备份确保您永远不会丢失站点。"],"My Products":["我的产品"],"My Plan":["我的套餐"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack 备份{{em}}实时备份{{/em}}"],"Your data is being securely backed up as you edit.":["您的数据已在您编辑的过程中安全备份。"],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack 备份{{em}}每日备份{{/em}}"],"Your data is being securely backed up every day with a 30-day archive.":["您的数据每日都会进行安全备份,并存档 30 天。"],"Jetpack Professional":["Jetpack 专业版"],"Jetpack Premium":["Jetpack 高级版"],"Jetpack Personal":["Jetpack 个人版"],"Jetpack Free":["Jetpack 免费版"],"Expired on %s.":["已于 %s 到期。"],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["有问题?我们很乐意提供帮助!{{a}}向 Jetpack 支持团队发送问题。{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack 有许多功能强大的工具可以帮助您实现目标"]," We’ve highlighted some of the features you rely on below.":["我们重点介绍了以下您所依赖的一些功能。"],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack 当前正在为您站点上的功能提供支持。禁用 Jetpack 后,这些功能将无法再使用,并且您的站点可能无法再照常运行。"],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack 当前正在为您站点上的功能提供支持。断开 Jetpack 后,这些功能将无法再使用,并且您的站点可能无法再照常运行。"],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["通过自动进行社交{{a}}发布和共享{{/a}}来增加流量"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["阻止{{a}}强力攻击{{/a}},并在您的站点出现故障时立即收到通知"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["借助{{a}}我们的 CDN{{/a}},加快您站点的加载速度,并提供可在移动设备上查看的图片"],"Disable":["禁用"],"Are you sure you want to disconnect and deactivate?":["是否确定要断开连接并取消激活?"],"Are you sure you want to disconnect?":["是否确定要断开连接?"],"Disable Jetpack":["禁用 Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["我们为您的网站备份您所做的每次更改,以便轻松修正您的错误。"],"Automated Real-time Backups":["自动实时备份"],"We back up your website every day, so you never have to worry about your data again.":["我们每天为您备份网站,因此您不必再担忧您的数据。"],"Automated Daily Backups":["自动每日备份"],"View Your Backups":["查看您的备份"],"A Jetpack Site securely backed up with Jetpack Backup":["凭借 Jetpack 备份安全备份 Jetpack 站点"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["使用 Markdown 语法编写包含链接、列表和其他样式的内容。此设置可在经典编辑器和经典编辑器区块内启用 Markdown。"],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}激活{{/a}}以优化图像尺寸,并通过 Jetpack 的高速全球服务器网络加载图像。这将改善您的站点在桌面和移动设备上的性能。"],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack 使用我们的高速全球服务器网络优化图像尺寸和下载速度。这将改善您的站点在桌面和移动设备上的性能。"],"Image Accelerator":["图像加速器"],"Start with free":["从免费版开始"],"Now that you're set up, pick a plan that fits your needs.":["您已设置完毕,请选择符合您需求的套餐。"],"Jetpack Backup":["Jetpack 备份"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["您的 Jetpack 套餐通过 Akismet 提供反垃圾邮件保护。点击“设置”以在您的站点启用。"],"Already have a key? {{a}}Activate Akismet{{/a}}":["已有密钥?{{a}}激活 Akismet{{/a}}"],"Verifying…":["正在验证…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["在 Jetpack 高级版套餐或专业版套餐中,借助功能强大的 SEO 工具提高搜索引擎排名"],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["给您的站点带来可在移动设备上快速加载的简洁外观。访客仍将在其他大小的屏幕上看到您的常规主题。"],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["通过在访客滚动到档案页面底部时加载更多内容,创造流畅、无中断的阅读体验。"],"Customize your SEO settings":["定制您的 SEO 设置"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["控制搜索引擎呈现站点的方式。借助 Jetpack 的 SEO 工具,您可以预览您的内容在热门搜索引擎上是如何显示的,并能在几秒钟内改变您的站点名称和标语等项目。"],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["添加共享按钮,以便访客通过几次快速点击就可以在社交媒体上共享您的文章和页面。"],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["您的管理员栏中包含一个小图表,显示 48 小时流量快照"],"Expand to update settings for how visits are counted and manage who can view this information.":["展开以更新计算访问次数的设置,并管理可以查看此信息的人员。"],"You can customize the sharing buttons and choose which services to display.":["您可以定制共享按钮,还可以选择要显示的服务。"],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["您的站点受 Jetpack 保护。如有需要特别注意的事项,您会收到通知。"],"Find threats early so we can help fix them fast.":["及早发现威胁,以便我们帮助您快速解决这些威胁。"],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["使用可定制的搜索功能替换您站点上的基本搜索功能,帮助访客更快找到答案。"],"Never worry about losing your site – automatic backups keep your content safe.":["再也不用担心站点丢失,自动备份功能会保全您的内容。"],"Protect":["保护"],"Scan":["扫描"],"Automatically clear spam from your comments and forms so you can get back to your business.":["自动从评论和表单中清除垃圾邮件,以便您的业务恢复正常。"],"Anti-spam":["反垃圾邮件"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["借助 Jetpack 高级版或专业版,数秒之内即可将您的站点关联到 Google Analytics(分析)"],"Log in to the WordPress mobile app":["登录 WordPress 移动应用程序"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["我们将向您帐户上的电子邮件地址发送一个链接,点击该链接即可轻松登录 WordPress 应用程序。"],"Email me a link to log in to the app":["通过电子邮件向我发送应用程序登录链接"],"Send your new posts to this email address:":["将您的新文章发送到此电子邮件地址:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["“通过电子邮件发布”是发布新文章的一种快速方式,无需访问您的站点。我们会为您生成专用电子邮件地址,用于发送您的内容,这些内容随后将在您的站点上显示,与其他文章一样。"],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["WordPress.com 工具栏会取代默认的 WordPress 管理工具栏。通过此工具栏,您可以一键访问通知、您的 WordPress.com 个人资料以及其他 Jetpack 和 WordPress.com 网站。您还可以在阅读器中及时了解您关注的站点。"],"Verify site ownership with third party services":["使用第三方服务验证站点所有权"],"Generate shortened URLs for simpler sharing.":["生成缩短网址以简化分享。"],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["确保您的访客参与每篇文章底部的相关内容。这些设置不适用于{{a}}使用区块编辑器添加的相关文章{{/a}}。"],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["此功能通过在每篇文章底部显示相关文章来帮助访客找到更多内容。"],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack 根据您的站点自动生成自定义 {{link1}}ads.txt{{/link1}}。如果您需要为其他网络添加额外的条目,请将其填在下面的空白处(每行一个)。{{link2}}在此处查看更多详细信息{{/link2}}。"],"Add sharing buttons to your posts and pages":["在文章和页面中添加“分享”按钮"],"Share your content to social media, reaching new audiences and increasing engagement.":["将您的内容分享到社交媒体,吸引新的受众并提高参与度。"],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["站点脱机时收到警告。站点重新联机时,我们也会通知您。"],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["借助 Jetpack,您可以选择在每个新插件发布时自动更新插件。您将立即获得最新的安全性和错误修复,确保您的站点安全可靠。"],"Choose which plugins to auto-update":["选择要自动更新的插件"],"Upgrade Jetpack now":["立即升级 Jetpack"],"Monetize your site by running high quality ads.":["投放优质广告,通过站点获益。"],"Customize your social posting schedule.":["自定义您的社交发布时间表。"],"Expand your audience with pro SEO tools.":["使用专业的搜索引擎优化工具来扩大您的受众。"],"Take your site to the next level!":["升级您的站点!"],"Search support docs":["搜索支持文档"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["需要帮助?了解如何入门、自定义您的站点、使用高级代码段等。"],"Start sharing":["开始分享"],"Optimized performance":["优化性能"],"Enable the “subscribe to comments” option on your comment form":["启用评论表单上的“订阅评论”选项"],"Enable the “subscribe to site” option on your comment form":["启用评论表单上的“订阅站点”选项"],"Manage advanced comment settings and grow your audience with email subscriptions.":["管理高级评论设置,并通过电子邮件订阅增加受众。"],"Comment form introduction":["评论表单简介"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack 反垃圾邮件由 Akismet 提供。根据我们的全球垃圾内容数据库,检查评论和联系表单提交内容。"],"Failed to send login email":["无法发送登录电子邮件"],"Login email sent":["登录电子邮件已发送"],"Sending login email…":["正在发送登录电子邮件…"],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["担心安全问题?获取备份,自动修复安全问题等:{{a}}立即升级{{/a}}"],"Allow readers to like individual comments.":["允许阅读者点赞个人评论。"],"Enable comment likes.":["启用评论点赞功能。"],"Allow readers to use markdown in comments.":["允许阅读者在评论中使用 Markdown。"],"Show Gravatar hovercards alongside comments.":["显示 Gravatar 悬浮卡以及评论。"],"Complete Jetpack Setup":["完成 Jetpack 设置"],"Your Jetpack setup progress":["您的 Jetpack 设置进度"],"View your setup checklist":["查看您的设置清单"],"Yearly":["每年"],"Monthly":["每月"],"About Jetpack":["关于 Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["启用小组件可见性控件,以仅在特定文章或页面上显示小组件"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["通过小组件可见性,您可以决定在哪些页面上显示哪些小组件,因此您可以精准定制小组件的内容。"],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["添加可在站点上使用的其他小组件,包括订阅表单和 Twitter 流"],"Enhance CSS customization panel":["改进 CSS 定制面板"],"Writing":["撰写"],"Compose using shortcodes to embed media from popular sites":["使用短代码撰写,以从热门站点嵌入媒体"],"Traffic":["流量"],"You need to enter your server credentials to finish configuring Backups and Scan.":["您需要输入服务器凭据才能完成备份和扫描的配置。"],"Awaiting credentials":["等待凭据"],"Backups and Scan are being configured for your site.":["已为您的站点配置备份和扫描。"],"Provisioning":["配置"],"Action needed":["需采取行动"],"Setting up":["设置"],"Discussion":["讨论"],"We are configuring your site protection.":["我们正在配置您的站点保护。"],"View your site's backups":["查看您的站点的备份"],"We are backing up your site in real-time.":["我们正在对您的站点进行实时备份。"],"Enter credentials":["输入凭据"],"You need to enter your server's credentials to finish the setup.":["您需要输入服务器凭据才能完成设置。"],"We are configuring your site's backups.":["我们正在配置您的站点的备份。"],"View site activity":["查看站点活动"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack 会完整记录站点上发生的一切,因此在站点管理、调试和修复中省去了猜测工作。"],"Explore our Jetpack plans":["了解我们的 Jetpack 套餐"],"Support documentation":["支持文档"],"Chat bubbles representing getting in touch with support":["表示可以获取帮助的弹出对话框"],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":["通过在社交媒体上自动分享文章来扩大受众群体。"],"Increase traffic to your site":["增加站点的流量"],"Explore free themes":["了解免费主题"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["无限制访问数百款专业主题,并根据您的喜好准确定制站点。"],"A wide variety of themes and tools to customize a site":["用于定制站点的丰富主题和工具"],"Set up your site security":["设置站点安全"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["防止遭受登录攻击,并在您的站点出现问题时即时接收通知。"],"Site stats showing an evolution in traffic and engagement":["显示流量和参与度变化情况的站点统计数据"],"A hand holding a loupe":["握着放大镜的手"],"A chart showing an healthy increase in earnings":["显示收入正常增加的图表"],"Interface showing a chronological list of changes and updates in a site":["显示站点更改和更新列表(按时间顺序排列)的界面"],"A cloud with multiple types of content floating around it":["周围漂浮多个内容类型的云"],"A folder holding real comments":["包含真实评论的文件夹"],"Make your site faster":["加快站点运行速度"],"Load pages faster by serving your images from our global network of servers.":["通过我们的全球服务器网络提供图片,加快页面加载速度。"],"A fast and performant website":["快速、高性能的网站"],"A secure site, locked and protected by Jetpack":["由 Jetpack 锁定并提供保护的安全站点"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["复制现有文章、页面、好评和作品集。包括文本、推荐图片、共享设置等在内的所有内容都将被复制。"],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["此站点违反了我们的{{a}}服务条款{{/a}},因此无法连接到 WordPress.com。"],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["只需点击一下,即可将您的网站连接到您使用的社交媒体网络,并在您的所有社交帐户中共享内容。在您发布文章时,文章会出现在所有关联的帐户中。"],"Add Like buttons to your posts and pages":["在文章和页面中添加“赞”按钮"],"When visitors enjoy your content, let them show it with a Like.":["如果访客喜欢您的内容,让他们可以通过点赞来表达喜爱。"],"Create account":["创建帐户"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["Jetpack 正在为您的站点提供支持,但您将需要创建帐户才能访问其全部功能。"],"Compose content the way you want to and streamline your publishing experience.":["按照您喜欢的方式编写内容,并简化发布流程。"],"Add a portfolio item":["添加文件夹项"],"Add a testimonial":["添加评价"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["尽可能提升您的站点在搜索引擎中的曝光度,并实时查看流量统计数据。"],"Create a Jetpack account to use this feature":["创建 Jetpack 帐户即可使用此功能"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack 会持续监控您的站点,并在检测到停机时间时提醒您。"],"Error enabling Site accelerator. %(error)s":["启用站点加速器时出错。%(error)s"],"Site accelerator is now speeding up your site!":["站点加速器正在为您的站点加速!"],"Enabling Site accelerator…":["正在启用站点加速器..."],"Error disabling site accelerator. %(error)s":["停用站点加速器时出错。%(error)s"],"Site accelerator is no longer speeding up your site!":["站点加速器已停止为您的站点加速!"],"Disabling site accelerator…":["正在停用站点加速器..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["提高页面加载速度、优化图片质量,并为访客提供更快的浏览体验。"],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["利用 Google 对您的访客和流量模式的深度解析,完善 WordPress.com 的统计信息。"],"High-speed, high-definition video hosting with no third-party ads.":["高速高清的视频托管,没有第三方广告。"],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["提前预发布无限量推文、Facebook 帖子和其他社交媒体文章。"],"Marketing Automation":["市场营销自动化"],"Activate Jetpack Search":["激活 Jetpack 搜索"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["使用由 Elasticsearch 提供支持的更好的结果和过滤功能替换默认的 WordPress 搜索。"],"Start earning":["开始赚取收益"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["通过 WordAds,您可以展示促销内容,进而赚取收益。立即开始赚取收益。"],"Spam is automatically blocked from your comments.":["系统会自动屏蔽评论中的垃圾评论。"],"Browse premium themes":["浏览高级套餐主题"],"Access hundreds of beautifully designed premium themes at no extra cost.":["无需额外费用,即可访问上百个设计精美的高级版主题。"],"Try a premium theme":["试用高级套餐主题"],"View settings":["查看设置"],"Create a Jetpack account to view your email followers":["创建 Jetpack 帐户,查看电子邮件粉丝"],"Manage security settings":["管理安全设置"],"Jetpack is ready for the new WordPress editor":["Jetpack 已为新的 WordPress 编辑器做好准备"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["现在,我们将介绍专为新的编辑器体验而打造的首批 Jetpack 专有区块:“简单付款”按钮、表单、映射和 Markdown。"],"Build your Jetpack site with blocks":["借助区块打造您的 Jetpack 站点"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["想要一个新编辑器吗?是的!{{a}}了解详情{{/a}}。"],"The features you rely on, adapted for the new WordPress editor.":["您所依赖的功能已针对新的 WordPress 编辑器进行调整。"],"Take me to the new editor":["查看新的编辑器"],"Testing Jetpack Connection":["测试 Jetpack 连接"],"There was an error testing Jetpack. Error: %(error)s":["测试 Jetpack 时出错。错误:%(error)s"],"New in Jetpack!":["Jetpack 新功能!"],"Speed up static file load times":["提高静态文件的加载速度"],"Speed up image load times":["提高图片的加载速度"],"Enable site accelerator":["启用站点加速器"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["允许 Jetpack 优化您的图片以提高页面加载速度,并通过我们的全球服务器网络提供您的图片和静态文件(例如,CSS 和 JavaScript)。"],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":["查看您的站点活动"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["以有序且易读的方式查看按时间顺序排列的站点所有更改和更新列表。"],"Manually Verify ":["手动验证"],"Verify with Google":["通过 Google 验证"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google 会通过电子邮件发送您的站点上发生的特定事件,包括您的网站{{a1}}遭到入侵{{/a1}}的迹象,或有关{{a2}}抓取或索引{{/a2}}您的站点时遇到的问题。"],"or":["或"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["通过 {{a}}Google Search Console{{/a}} 监控您站点的流量和性能。"],"Your site is verified with Google":["您的站点已通过 Google 验证"],"Site failed to verify: %(error)s":["站点验证失败:%(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["借助 Jetpack 专业版套餐,为您的站点添加更快、更高级的搜索。"],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["使用 Jetpack 搜索的高级搜索体验替换 WordPress 内置搜索"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack 搜索利用 WordPress.com 云中托管的快速、可扩展、可自定义且可返回高度相关结果的搜索体验替换内置搜索。结果是:您的用户能够更快地找到他们想要的内容。"],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["内置 WordPress 搜索更适合没有太多内容的站点。但随着站点的不断发展,搜索速度会变慢并会返回不太相关的结果。"],"Jetpack Search supports many customizations.":["Jetpack 搜索支持许多自定义设置。"],"Site is verified":["站点已验证"],"Spam filtering and priority support.":["垃圾邮件过滤和优先支持。"],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["当启用广告时,Jetpack 将根据您的站点自动生成一个自定义的 ads.txt。"],"Custom ads.txt entries":["自定义 ads.txt 条目"],"Privacy information":["隐私信息"],"Enable Lazy Loading for images":["为图像启用延迟加载功能"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":[""],"Performance & speed":["性能和速度"],"Enable high-speed, ad-free video player":["启用高速且无广告的视频播放器"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["借助高分辨率视频,确保您发布的内容更具吸引力。借助 Jetpack 视频,您可以定制媒体播放器,向访客提供高速、无广告、无品牌信息的视频。视频托管在我们的 WordPress.com 服务器上,不会占用您的托管套餐空间!"],"Video":["视频"],"Carousel color scheme":["轮播配色方案"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif 数据向浏览者显示照片的其他技术详细信息,例如焦距、光圈和 ISO。"],"Show photo Exif metadata in carousel (when available)":["采用轮播方式显示照片 Exif 元数据(如果可以)"],"Display images in a full-screen carousel gallery":["在全屏轮播图库中显示图像"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["在文章和页面中创建图像的全屏轮播幻灯片。轮播图库适合移动应用,便于站点访客与照片进行交互。"],"Portfolios shortcode: [portfolio]":["文件夹短代码:[portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["在您的站点上使用{{portfolioLink}}文件夹{{/portfolioLink}}来展示您的优秀作品。如果您的主题不支持 Jetpack 文件夹,您仍可以使用简单的短代码在站点上显示这些内容。"],"Testimonials shortcode: [testimonials]":["好评短代码:[testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["向您的网站添加{{testimonialLink}}好评{{/testimonialLink}}以吸引新客户。如果您的主题不支持 Jetpack 好评,您仍可以使用简单的短代码在站点上显示这些内容。"],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["搜索引擎目前无法访问您的站点。如果希望放开站点的访问权限,请查看{{a}}阅读设置{{/a}}并打开“搜索引擎可见性”。"],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["好消息:Jetpack 会自动将您的站点地图发送至所有主要的搜索引擎,以便编入索引。"],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["站点地图是 Google 或 Bing 等搜索引擎用于将您的网站编入索引的文件。站点地图有助于改善您的网站在搜索结果中的排名。启用此功能后,Jetpack 将为您创建站点地图,并在站点上的内容发生更改时自动进行更新。"],"Configure related posts in the Customizer":["在定制器中配置相关文章"],"Highlight related content with a heading":["使用标题高亮显示相关内容"],"View security scan details":["查看安全扫描详情"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["在可用的地方显示缩略图"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["要详细了解 Jetpack 特定功能如何使用数据和跟踪活动,请访问我们的{{privacyCenterLink}}隐私中心{{/privacyCenterLink}}。"],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["我们使用其他跟踪工具,其中包括来自第三方的工具。{{cookiePolicyLink}}了解这些隐私政策{{/cookiePolicyLink}}及其控制方法。"],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["该信息有助于我们改善产品、开展与您更加相关的营销活动、个性化您的 WordPress.com 体验等,更多详情参阅{{pp}}隐私政策{{/pp}}。"],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["登录到您的 WordPress.com 帐户时,使用分析工具共享关于您使用服务的信息。{{cookiePolicyLink}}了解详情{{/cookiePolicyLink}}。"],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["此功能由站点管理员进行管理。{{link}}了解详情{{/link}}。"],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["站点管理员已禁用此功能。{{link}}了解详情{{/link}}。"],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["站点管理员已启用此功能。{{link}}了解详情{{/link}}。"],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["站点管理员已禁用 %(moduleName)s。{{link}}了解详情{{/link}}。"],"This feature has been disabled by a site administrator.":["站点管理员已禁用此功能。"],"%(moduleName)s has been disabled by a site administrator.":["站点管理员已禁用 %(moduleName)s。"],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["您可以使用 Ad 小组件投放更多广告。{{link}}试试看!{{/link}}"],"Configure your notification settings":["配置您的通知设置"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack 搜索提供强大的搜索功能,取代了 WordPress 内置的搜索功能。"],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["系统会定期扫描您站点的文件,以识别未经授权或可疑的修改,防范安全和数据威胁。"],"Plugin needs updating.":["需要更新的插件。"],"%(number)s":["%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack 的插件更新功能可让您选择要自动更新哪些插件。"],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack 将优化您的图像,并通过距离访客最近的服务器位置提供。使用我们的全球内容交付网络将大大提升您站点的加载速度。"],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack 的停机时间监控会持续监控您的站点,并在检测到停机时提醒您。"],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack 备份功能可让您轻松还原至特定时刻,或下载特定时刻的备份文件。"],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["为使用移动设备的访客启用适合移动设备的简洁主题。"],"Loads the next posts automatically when the reader approaches the bottom of the page.":["当读者接近页面底部时,自动加载接下来的文章。"],"Allows you to publish new posts by sending an email to a special address.":["允许您通过向特殊地址发送电子邮件,发布新文章。"],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["添加工具栏,其中包含指向您的所有站点、通知、WordPress.com 个人资料和阅读器的链接。"],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["提供所需的隐藏式标签,以便向各种服务验证您的 WordPress 站点。"],"Displays information on your site activity, including visitors and popular posts or pages.":["展示与网站活动有关的信息,包括与访客和热门文章或页面有关的信息。"],"Allows you to optimize your site and its content for better results in search engines.":["允许您优化站点和内容,以便在搜索引擎中取得更好的效果。"],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["将您 WordPress 站点与 Google Analytics(分析)集成,Google Analytics(分析)可以提供流量、访客和转化方面的数据洞见。"],"Displays high-quality ads on your site that allow you to earn income.":["在您的站点上展示高质量广告,帮助您实现创收。"],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["允许您自动在社交媒体站点(包括 Facebook 和 Twitter)上分享最新内容。"],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["在内容中添加“点赞”按钮,以便访客表达欣赏或喜爱之情。"],"Allows registered users to log in to your site with their WordPress.com accounts.":["允许注册用户使用 WordPress.com 帐户登录您的站点。"],"Protects your site from traditional and distributed brute force login attacks.":["保护您的站点免遭传统的分布式暴力破解登录攻击。"],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["将您的站点备份到全球范围内的 WordPress.com 服务器中,以便在发生紧急情况或出现错误时恢复内容。"],"Removes spam from comments and contact forms.":["移除评论和联系表单中的垃圾内容。"],"We are committed to your privacy and security. ":["我们致力于保护您的隐私和安全。"],"View all Jetpack plans":["查看所有 Jetpack 套餐"],"Manage your plan":["管理您的套餐"],"Your Plan":["您的套餐"],"You’re currently on Jetpack %(plan)s.":["您目前的套餐是 Jetpack %(plan)s。"],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["允许读者订阅文章或评论,并通过电子邮件接收与新内容有关的通知。"],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["包含社交媒体登录选项的新评论系统取代了标准的 WordPress 评论表单。"],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}激活{{/a}}即可使用 Jetpack 搜索的高级搜索体验替换 WordPress 内置搜索。"],"Add Search (Jetpack) Widget":["添加搜索 (Jetpack) 小组件"],"Jetpack Search is powering search on your site.":["Jetpack 搜索为您的站点提供搜索功能。"],"Manage your plugins":["管理您的插件"],"Moderate comments":["审阅评论"],"Error updating privacy settings. %(error)s":["更新隐私设置时出错。%(error)s"],"Updated privacy settings.":["更新后的隐私设置。"],"Updating privacy settings…":["正在更新隐私设置…"],"Add Jetpack Search Widget":["添加 Jetpack 搜索小组件"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["将 Jetpack 搜索小组件添加到边栏以配置排序和过滤器。"],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["全套安全套件、营销和收益自动化工具、无限的视频托管、无限量的主题、增强型搜索和优先支持。"],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["全套安全套件、营销和收益自动化工具、无限的视频托管和优先支持。"],"Daily backups, spam filtering, and priority support.":["日常备份、垃圾邮件过滤和优先支持。"],"Always-on security":[""],"Activate video hosting":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["借助无限的存储空间、一键式恢复、自动安全扫描和优先支持,您可以实时备份站点的所有数据。"],"Design the perfect website":["设计精美的网站"],"Set up Jetpack":["设置 Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["借助无限的存储空间、一键式恢复和自动安全扫描,您可以实时备份所有站点数据。"],"Jetpack Search":["Jetpack 搜索"],"Jetpack version %(version)s":["Jetpack 版本 %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["系统正在对您的站点进行实时备份,并定期扫描安全威胁。"],"Daily backup of all your site data with unlimited space and one-click restores":["借助无限的存储空间和一键式恢复,您可以每天备份所有站点数据。"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["借助无限的存储空间、一键式恢复、自动安全扫描和一键式威胁解决方案,您可以实时备份所有站点数据。"],"View your security activity":["查看您的安全活动"]," (powered by VaultPress).":["(由VaultPress提供)。"],"Customize Search Widget":["自定义搜索小组件"],"Please correct the issue below and try again.":["请更正下列问题,然后重试。"],"We are making sure your site stays free of security threats. You will be notified if we find one.":["我们始终确保您的站点不会受到安全威胁。我们会在发现威胁时通知您。"],"Jetpack version":["Jetpack版本"],"Activity":["活动"],"{{a}}View details{{/a}}":["{{a}}查看详细信息{{/a}}"],"Monetize your site with ads":["通过在站点上投放广告获利"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["点击下方按钮即表示您同意我们的{{tosLink}}服务条款{{/tosLink}},并与 WordPress.com {{shareDetailsLink}}共享详细信息{{/shareDetailsLink}}。"],"Jetpack Stats People":["Jetpack 统计查看者"],"Hello there! Your stats have been activated.":["您好!您的统计功能已激活。"],"Just give us a little time to collect data so we can display it for you here.":["请稍候片刻,正在收集数据,稍后会在此处显示相关数据。"],"Okay, got it!":["好,可以了!"],"Display ads below posts on":["在文章下方显示广告"],"Additional ad placements":["其他广告位置"],"Top of each page":["每个页面顶部"],"Second ad below post":["文章下方的第二条广告"],"Archives":["存档"],"Stars":["星级"],"Jupiter":["木星"],"Schedule posts":[""],"Activate Publicize":["激活 Publicize"],"Your site is backed up.":["您的站点已备份。"],"Get WordPress Apps for every device":["为每个设备获取 WordPress 应用"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["通过单个控制面板管理所有站点:随时随地发布内容、跟踪统计信息、审核评论等等。"],"Create address":["创建地址"],"Automatically share your posts to social networks":["自动将您的文章共享到社交网络"],"Updating settings…":["正在更新设置…"],"Updating Post by Email address…":["正在更新“通过电子邮件发布”地址…"],"Your paid plan gives you access to prioritized Jetpack support.":["付费套餐可为您提供获取 Jetpack 优先支持的权限。"],"You have paid for backups but they're not yet active.":["您已购买备份功能,但这些功能尚未激活。"],"You have paid for backups and security scanning but they’re not yet active.":["您已购买备份和安全扫描功能,但这些功能尚未激活。"],"Click \"Set Up\" to finish installation.":["单击“设置”以完成安装。"],"Checking site status…":["正在检查站点状态…"],"Pages":["页面"],"Access the full list of Jetpack modules available on your site.":["访问您站点上可用的 Jetpack 模块的完整列表。"],"We're here to help":["我们随时为您提供帮助"],"Jetpack comes with free, basic support for all users.":["Jetpack 自带面向所有用户的免费的基本支持。"],"Ask a question":["提问"],"Search our support site":["搜索我们的支持站点"],"Get a faster resolution to your support questions.":["更快速地解决您的支持问题。"],"Host fast, high-quality, ad-free video.":["快速、优质、无广告的视频托管。"],"Generate income with high-quality ads.":["通过优质广告获得收益。"],"Real-time site backups and automatic threat resolution.":["实时备份站点和自动解决威胁。"],"Protect against data loss, malware, and malicious attacks.":["保护数据免遭丢失、恶意软件和可疑攻击的威胁。"],"Protect your site from spam.":["保护您的站点免遭垃圾邮件侵扰。"],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["此站点未连接至 WordPress.com。请要求站点管理员进行连接。"],"An Automattic Airline":["一条 Automattic 线路"],"Manage site connection":["管理站点连接"],"Connect your account to WordPress.com to view more stats":["将您的帐户连接至 WordPress.com 以查看更多统计信息"],"Theme enhancements":["主题增强"],"Load more posts using the default theme behavior":["使用默认主题行为加载更多文章"],"Load more posts in page with a button":["使用按钮在页面中加载更多文章"],"Load more posts as the reader scrolls down":["在读者向下滚动页面时加载更多文章"],"Theme support required.":["需要主题支持。"],"Learn more about adding support for Infinite Scroll to your theme.":["详细了解如何在主题中添加“无限滚动”支持。"],"Show excerpts instead of full posts on front page and archive pages":["在首页和存档页面上显示摘录,而非完整文章"],"Show featured images":["显示特色图片"],"Enable the WordPress.com toolbar":["启用 WordPress.com 工具栏"],"Writing tools available to you will be shown here when an administrator enables them.":["如果管理员启用了您可使用的撰写工具,相关工具将显示在此处。"],"Portfolios":["组合"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["请注意,要让搜索引擎将您的站点编入索引,{{b}}无需使用这些服务验证您的站点{{/b}}。要使用这些高级搜索引擎工具并使用某服务验证您的站点,请将 HTML 标签代码复制粘贴到以下位置。如有问题,请阅读{{support}}完整说明{{/support}}。支持的验证服务:{{google}}Google Search Console{{/google}}、{{bing}}Bing Webmaster Center{{/bing}}、{{pinterest}}Pinterest Site Verification{{/pinterest}} 和 {{yandex}}Yandex.Webmaster{{/yandex}}。"],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["生成 XML 站点地图"],"The image helps collect stats, but should work when hidden.":["该图片有助于收集统计信息,但在隐藏状态下,仍应继续发挥作用。"],"Count logged in page views from":["计算由用户查看已登录页面的次数:"],"Allow stats reports to be viewed by":["允许以下用户查看统计报告:"],"In \"Upgrade\"":["在“升级”中"],"Configure your Google Analytics settings":["配置 Google Analytics(分析)设置"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["在主页的第一篇文章或每页和每篇文章的最后显示广告。在站点的顶部和任何小组件区域放置其他广告,以增加收益。"],"Enable ads and display an ad below each post":["启用广告功能,并在每篇文章下显示广告。"],"Configure your sharing buttons":["配置共享按钮"],"Connect your social media accounts":["连接社交媒体帐户"],"Match accounts using email addresses":["使用电子邮件地址匹配帐户"],"Require accounts to use WordPress.com Two-Step Authentication":["要求帐户使用 WordPress.com 两步验证"],"Add to whitelist":["添加到白名单"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["您可以将一个 IP 地址或一系列地址加入白名单,以防止 Jetpack 将其屏蔽。IPv4 和 IPv6 都可以。如要指定范围,请输入最小值和最大值,使用破折号隔开。示例:12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["您的站点已备份且不存在任何威胁。"],"Checking your spam protection…":["正在检查垃圾邮件保护…"],"Fetching key…":["正在获取密钥…"],"Your site needs an Antispam key.":["您的站点需要 Antispam 密钥。"],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["您的 Antispam API 密钥存在问题。{{a}}了解详情{{/a}}。"],"Your site is not protected from spam.":["您的站点未开启垃圾邮件保护。"],"Your Antispam key is valid.":["您的 Antispam 密钥有效。"],"Your site is protected from spam.":["您的站点已开启垃圾邮件保护。"],"Checking key…":["正在检查密钥…"],"Your API key":["您的 API 密钥"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["如果您没有 API 密钥,则{{a}}点击此处获取 API 密钥{{/a}},系统会指导您完成获取密钥的流程。"],"No search results found for %(term)s":["未找到与 %(term)s 相符的搜索结果"],"Enter a search term to find settings or close search.":["输入搜索条件以查找设置或关闭搜索。"],"Connections":["连接"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["您的站点处于开发模式,因此无法连接到 WordPress.com。"],"Your site is connected to WordPress.com.":["您的站点已连接至 WordPress.com。"],"You are the Jetpack owner.":["您是 Jetpack 所有者。"],"Connected as {{span}}%(username)s{{/span}}":["已使用 {{span}}%(username)s{{/span}} 的身份进行连接"],"View your Email Followers":["查看您的电子邮件粉丝"],"Color scheme":["配色方案"],"Enable Markdown use for comments.":["针对评论启用 Markdown。"],"Updated settings.":["已更新设置。"],"Error updating settings. %(error)s":["更新设置时出错。%(error)s"],"Regenerated Post by Email address.":["已重新生成“通过电子邮件发布”地址。"],"Error regenerating Post by Email address. %(error)s":["重新生成“通过电子邮件发布”地址时出错。%(error)s"],"Updated settings. Refreshing page…":["已更新设置。正在刷新页面…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["目前处于{{a}}开发模式{{/a}}(部分功能已被禁用),原因如下:{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}jetpack_development_mode 过滤器处于活跃状态{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}JETPACK_DEV_DEBUG 常数已定义{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}您的站点 URL 缺少点(例如 http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics(分析)是一种免费服务,它可利用对流量的不同数据分析补充我们的{{a}}内置统计信息{{/a}}。WordPress.com 统计功能和 Google Analytics(分析)分别采用不同的方法来识别和跟踪您站点上的活动,因此它们显示的总访问次数、阅读次数等信息往往会有细微差别。"],"Google Analytics":["Google Analytics(分析)"],"Configure Google Analytics":["配置 Google Analytics(分析)"],"Activate Google Analytics":["激活 Google Analytics(分析)"],"Download the free apps":["下载免费应用程序"],"Upgrade Focus: VideoPress For Weddings":["升级重点:婚礼 VideoPress"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}您现在还可以在定制器中配置相关文章。{{ExternalLink}}试试看吧!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["默认情况下,广告显示在每页、每篇文章或首页第一篇文章的最后。您还可以向站点顶部和任何小组件区域添加广告,以增加收入!"],"Display an ad unit at the top of your site.":["在您的站点顶部显示一个广告。"],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["激活广告即表示,您同意 Automattic 广告{{link}}服务条款{{/link}}。"],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["您的服务器配置错误,这意味着 Jetpack Protect 无法有效保护您的站点。"],"In \"Mobile\"":["在“手机”中"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}在 WordPress.com 上配置 Monitor 通知设置{{/link}}"],"View your earnings":["查看您的收入"],"Configure site SEO":[""],"Activate SEO tools":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["首先,点击文章编辑器中的“添加媒体”并上传视频,其余工作交给我们就可以!"],"Video Hosting":["视频托管"],"SEO Tools":["搜索引擎优化工具"],"Advanced SEO tools to help your site get found when people search for relevant content.":["高级搜索引擎优化工具有助于人们在搜索相关内容时找到您的站点。"],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["将无广告、无品牌信息的视频上传到您站点的最简单方法。获取有关视频播放和共享的统计信息,并且播放器是轻量级的,响应迅速。"],"You are running Jetpack on a staging server.":["您正在暂存服务器上运行 Jetpack。"],"More Info":["更多信息"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}通过共享模块设置管理赞的可见性{{/a}}"],"Your current IP: %(ip)s":["您当前的 IP:%(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["此选项卡中存在未保存的设置,退出后,相应设置将会丢失。继续?"],"This will reset all Jetpack options, are you sure?":["这将重置所有 Jetpack 选项,您确定吗?"],"Search for a Jetpack feature.":["搜索 Jetpack 功能。"],"Configure your Security Scans":["配置您的安全扫描"],"Subscriber":["订阅者"],"Big iPhone/iPad Update Now Available":["iPhone/iPad 现在有重要更新"],"The WordPress for Android App Gets a Big Facelift":["Android 版 WordPress 应用程序外观有大变动"],"WordPress.com Likes are:":["WordPress.com 点赞:"],"A few catchy words to motivate your visitors to comment.":["能鼓励您的访客发表评论的几个抢眼词语。"],"Hide the stats smiley face image":["隐藏统计笑脸图片"],"Whitelisted IP addresses":["已加入白名单的 IP 地址"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["在移动主题的页脚中显示针对 WordPress 移动应用程序的广告"],"Copied!":["已复制!"],"Highlight and copy the following text to your clipboard:":["高亮显示以下文本并将其复制到剪贴板:"],"Regenerate address":["重新生成地址"],"Cheatin' uh?":["您的攻击行为已被记录。"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}能否在这个{{a}}包含 2 个问题的调查问卷{{/a}}中告诉我们您为什么没有完成 Jetpack 连接?{{/p}}{{p}}必须有 Jetpack 连接,我们免费的安全和流量功能才能正常运行。{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["欢迎使用 {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["您的 Jetpack 已连接。"],"You're fueled up and ready to go, Jetpack is now active.":["Jetpack 现已激活,您已准备充分,随时可以开始。"],"You're fueled up and ready to go.":["您已准备充分,随时可以开始。"],"You are currently running a development version of Jetpack.":["您目前使用的是 Jetpack 的开发版本。"],"Submit Beta feedback":["提交测试版反馈"],"What would you like to see on your Jetpack Dashboard?":["您希望在 Jetpack 控制面板上看到哪些内容?"],"Let us know!":["请告诉我们!"],"Saving…":["正在保存..."],"Save Settings":["保存设置"],"Jetpack Stats Icon":["Jetpack 统计图标"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}激活站点统计{{/a}}以查看详细统计、赞、粉丝、订阅者等更多信息!{{a1}}了解详情{{/a1}}"],"Activate Site Stats":["激活站点统计"],"Site Backups":["站点备份"],"Upgrade":["升级"],"ACTIVE":["有效"],"View your spam stats":["查看您的垃圾内容统计信息"],"View your security dashboard":["查看您的安全控制面板"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["此站点处于开发模式,因此您无法连接到 WordPress.com。"],"Link your account to WordPress.com to get the most out of Jetpack.":["将您的帐户链接到 WordPress.com 以充分利用 Jetpack。"],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["为了自动全面地扫描安全威胁,请{{a}}安装并激活 {{/a}} VaultPress。"],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack 正在积极地拦截恶意登录尝试。数据将很快显示在此处!"],"Total malicious attacks blocked on your site.":["在您的站点上拦截的恶意攻击总数。"],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}激活 Protect{{/a}} 保护您的站点免受恶意登录尝试的侵害。"],"All plugins are up-to-date. Awesome work!":["所有插件都是最新的。太棒了!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack 正在监控您的站点。如果我们认为您的站点有故障,您将会收到电子邮件。"],"Security":["安全性"],"Performance":["性能"],"Backup":[""],"{{a}}View backup details{{/a}}.":["{{a}}查看备份详细信息{{/a}}。"],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["要自动备份整个站点,请{{a}}安装并激活{{/a}} VaultPress。"],"Unavailable in Dev Mode.":["在开发模式中不可用。"],"Unavailable in Dev Mode":["在开发模式中不可用"],"Activating %(slug)s…":["正在激活 %(slug)s…"],"%(slug)s has been activated.":["%(slug)s 已激活。"],"%(slug)s failed to activate. %(error)s":["激活 %(slug)s 失败。%(error)s"],"Deactivating %(slug)s…":["正在停用 %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s 已停用。"],"%(slug)s failed to deactivate. %(error)s":["未能停用 %(slug)s。%(error)s"],"Updating %(slug)s settings…":["正在更新 %(slug)s 设置…"],"Updated %(slug)s settings.":["已更新 %(slug)s 设置。"],"Error updating %(slug)s settings. %(error)s":["更新 %(slug)s 设置时出错。%(error)s"],"Updating %(slug)s address…":["正在更新 %(slug)s 地址…"],"Regenerated %(slug)s address .":["已重新生成 %(slug)s 地址。"],"Error regenerating %(slug)s address. %(error)s":["重新生成 %(slug)s 地址时出错。%(error)s"],"Resetting Jetpack options…":["正在重置 Jetpack 选项…"],"Options reset.":["选项已重置。"],"Options failed to reset.":["未能重置选项。"],"There was an error disconnecting Jetpack. Error: %(error)s":["断开 Jetpack 连接时出错。错误:%(error)s"],"Unlinking from WordPress.com":["正在与 WordPress.com 取消关联"],"Unlinked from WordPress.com.":["已与 WordPress.com 取消关联。"],"Error unlinking from WordPress.com. %(error)s":["取消与 WordPress.com 的关联时出错。%(error)s"],"At A Glance":["概览"],"Dashboard":["控制面板"],"Automattic's Privacy Policy":["Automattic 的隐私政策"],"WordPress.com Terms of Service":["WordPress.com 服务条款"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}打开插件自动更新功能。{{/a}}"],"Plugin Updates":["插件更新"],"No threats found, you're good to go!":["未找到威胁,您可以继续操作!"],"{{a}}Contact Support{{/a}}":["{{a}}联系支持人员{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}在 VaultPress.com 中查看详细信息{{/a}}"],"Uh oh, %(number)s threat found.":["糟糕,找到 %(number)s 个威胁。"],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}激活 Monitor{{/a}},以便在您的站点出现故障时接收电子邮件通知。"],"Loading…":["正在加载…"],"Downtime monitor":[""],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}查看 WordPress.com 上的更多精彩内容{{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}查看旧统计数据{{/button}}"],"All-time comments":["所有时间的评论"],"All-time views":["所有时间的浏览"],"%(number)s View":["%(number)s 次浏览"],"Best overall day":["总体情况最好的一天"],"Views today":["今天的浏览量"],"Months":["月"],"Weeks":["周"],"Days":["天"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["加载统计信息时出错。请稍后重试或{{a}}立即在 WordPress.com 上查看统计信息{{/a}}"],"Click to view detailed stats.":["点击以查看详细统计信息。"],"Views: %(numberOfViews)s":["浏览次数:%(numberOfViews)s"],"Week of %(date)s":["%(date)s 周"],"Site Security":["站点安全"],"Link to WordPress.com":["关联到 WordPress.com"],"Unlink me from WordPress.com":["取消我与 WordPress.com 的关联"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["连接您的 Jetpack 时出现问题。请再次点击“连接至 WordPress.com”。"],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["连接 Jetpack 时出现问题;请停用 Jetpack 插件后再重新激活,然后再次连接。"],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["您必须在为 Jetpack 授权时登录到您的 WordPress 博客。"],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}您的 Jetpack 有问题。{{/s}}我们对由此带来的不便深感歉意。请稍后重试,如果问题仍然存在,请联系支持人员并提供以下信息:%(error_key)s"],"Disconnecting Jetpack":["断开 Jetpack"],"Learn more":["了解更多"],"Posts":["日志"],"Front page":["首页"],"Upload videos":[""],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["在博文后显示相关内容"],"Related":["相关"],"Disconnect":["断开连接"],"Save":["保存"],"Media":["媒体"],"Mobile Theme":["手机主题"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX 是一种强大标记语言,可用于撰写复杂的数学公式和方程式。"],"Site Stats":["网站统计"],"Sharing":["共享"],"Testimonials":["褒奖"],"Cancel":["取消"],"Comments":["评论"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack 无法与 WordPress.com 通信:%(error_key)s。这通常表示您的 Web 主机上存在某些错误配置。"],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com 当前存在问题,无法为您的 Jetpack 提供支持。请稍后重试。"],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}您的 Jetpack 有问题。{{/s}}无法将此站点与 WordPress.com 连接。这通常表示您的站点不可公开访问(本地主机)。"],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["您的网站必须能公开访问才能使用 Jetpack:%(error_key)s"],"Edit":["编辑"],"Connected":["已连接"],"Activate":["启用"],"Active":["已激活"],"Settings":["设置"],"Learn More":["了解更多"],"Disconnect Jetpack":["断开 Jetpack 连接"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}注意:{{/b}} 此功能已停用,并将在 3 月份从 Jetpack 中删除。{{link}}了解更多{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack 备份"],"Settings header\u0004Anti-spam":["反垃圾邮件"],"Settings header\u0004WP.me Shortlinks":["WP.me 短链接"],"Settings header\u0004Auto-update plugins":["自动更新插件"],"Settings header\u0004Widgets":["小组件"],"Settings header\u0004Downtime monitoring":["停机时间监控"],"Settings header\u0004Privacy Settings":["隐私设置"],"Settings header\u0004WordPress.com toolbar":["WordPress.com 工具栏"],"Settings header\u0004Composing":["撰写"],"Settings header\u0004Site stats":["站点统计信息"],"Settings header\u0004Search engine optimization":["搜索引擎优化"],"Settings header\u0004Google Analytics":["Google Analytics(分析)"],"Settings header\u0004Sharing buttons":["共享按钮"],"Settings header\u0004Publicize connections":["Publicize 连接"],"Settings header\u0004Like buttons":["“赞”按钮"],"Settings header\u0004Brute force attack protection":["强力攻击保护"],"Settings header\u0004Backups and security scanning":["备份和安全扫描"],"Notice in the empty statistics chart\u0004No activity this period":["这段时间内没有任何活动"],"Settings header, noun.\u0004WordPress.com login":["WordPress.com 登录信息"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["发送链接"],"A caption for a button to cancel an action.\u0004Cancel":["取消"],"Link to learn more about Jetpack.\u0004About":["关于"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["模块"],"Navigation item.\u0004Performance":["性能"],"Navigation item.\u0004My Plan":["我的套餐"],"Navigation item.\u0004Dev Tools":["开发者工具"],"Navigation item.\u0004Settings":["设置"],"Navigation item.\u0004Discussion":["讨论"],"Navigation item.\u0004Traffic":["流量"],"Navigation item.\u0004Sharing":["共享"],"Navigation item.\u0004At A Glance":["概览"],"Navigation item.\u0004Plans":["套餐"],"Navigation item.\u0004Writing":["撰写"],"Navigation item.\u0004Reset Options (dev only)":["重置选项(仅限开发版本)"],"Navigation item.\u0004Security":["安全性"],"Navigation item.\u0004At a Glance":["概览"],"Search term.\u0004terms of service":["服务条款"],"Search term.\u0004tos":["服务条款"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["数据"],"Search term.\u0004tracks":["跟踪"],"Search term.\u0004privacy":["隐私"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["升级"],"Button caption\u0004Saving…":["正在保存..."],"Button caption\u0004Save settings":["保存设置"],"A heading for a block of related posts.\u0004Related":["相关文章"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["预览"],"Short warning message\u0004Updates needed":["需要更新"],"Short label appearing near a paid feature configuration block.\u0004Paid":["已付"],"A header for a preview area in the configuration screen.\u0004Preview":["预览"],"Ads header\u0004Ads":["广告"],"Dashboard widget header\u0004Site connection":["站点连接"],"Dashboard widget header\u0004Account connection":["帐户连接"],"A caption for a small button to fix security issues.\u0004Threats":["威胁"],"A caption for a small button to fix security issues.\u0004FIX":["修复"],"Short warning message about new threats found.\u0004Threats found!":["发现威胁!"],"Short message informing user that the site is secure.\u0004Secure":["安全"],"Caption for a button to set up a feature.\u0004Set up":["设置"],"verb\u0004Copy":["复制"],"Shorthand for Privacy Policy.\u0004Privacy":["隐私权"],"Shorthand for Terms of Service.\u0004Terms":["条款"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["调试"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["垃圾评论已拦截。"]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-zh_HK-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-zh_HK-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index ff5ac556..00000000
--- a/plugins/jetpack/languages/json/jetpack-zh_HK-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"zh_HK"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":[""],"real-time backups":[""],"daily backups":[""],"Renews on %s.":[""],"Purchased on %s.":[""],"Select a backup option:":[""],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":[""],"You are saving {{savings /}} by paying yearly":[""],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":[""],"Up to %(percent)d%% off!":[""],"per month":[""],"per year":[""],"Which backup option is best for me?":[""],"{{smallerPrice/}}-{{higherPrice/}}":[""],"Manage Subscription":[""],"Your site is being backed up.":[""],"You need to enter your server credentials to finish configuring Jetpack Backup.":[""],"Jetpack Backup is being configured for your site.":[""],"Daily Backups":[""],"Just looking for backups? We've got you covered.":[""],"Solutions":[""],"Included in your {{planLink}}Professional Plan{{/planLink}}":[""],"Included in your {{planLink}}Premium Plan{{/planLink}}":[""],"Included in your {{planLink}}Personal Plan{{/planLink}}":[""],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":[""],"Always-on backups ensure you never lose your site.":[""],"My Products":[""],"My Plan":[""],"Jetpack Backup {{em}}Real-Time{{/em}}":[""],"Your data is being securely backed up as you edit.":[""],"Jetpack Backup {{em}}Daily{{/em}}":[""],"Your data is being securely backed up every day with a 30-day archive.":[""],"Jetpack Professional":[""],"Jetpack Premium":[""],"Jetpack Personal":[""],"Jetpack Free":[""],"Expired on %s.":[""],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":[""],"Jetpack has many powerful tools that can help you achieve your goals":[""]," We’ve highlighted some of the features you rely on below.":[""],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":[""],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":[""],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":[""],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":[""],"Disable":[""],"Are you sure you want to disconnect and deactivate?":[""],"Are you sure you want to disconnect?":[""],"Disable Jetpack":[""],"We back up your website with every change you make, making it easy to fix your mistakes.":[""],"Automated Real-time Backups":[""],"We back up your website every day, so you never have to worry about your data again.":[""],"Automated Daily Backups":[""],"View Your Backups":[""],"A Jetpack Site securely backed up with Jetpack Backup":[""],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":[""],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":[""],"Image Accelerator":[""],"Start with free":[""],"Now that you're set up, pick a plan that fits your needs.":[""],"Jetpack Backup":[""],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":[""],"Already have a key? {{a}}Activate Akismet{{/a}}":[""],"Verifying…":[""],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":[""],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":[""],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":[""],"Customize your SEO settings":[""],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":[""],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":[""],"Include a small chart in your admin bar with a 48-hour traffic snapshot":[""],"Expand to update settings for how visits are counted and manage who can view this information.":[""],"You can customize the sharing buttons and choose which services to display.":[""],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":[""],"Find threats early so we can help fix them fast.":[""],"Replace your site's basic search with customizable search that helps visitors find answers faster.":[""],"Never worry about losing your site – automatic backups keep your content safe.":[""],"Protect":[""],"Scan":[""],"Automatically clear spam from your comments and forms so you can get back to your business.":[""],"Anti-spam":[""],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":[""],"Log in to the WordPress mobile app":[""],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":[""],"Email me a link to log in to the app":[""],"Send your new posts to this email address:":[""],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":[""],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":[""],"Verify site ownership with third party services":[""],"Generate shortened URLs for simpler sharing.":[""],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":[""],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":[""],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":[""],"Add sharing buttons to your posts and pages":[""],"Share your content to social media, reaching new audiences and increasing engagement.":[""],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":[""],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":[""],"Choose which plugins to auto-update":[""],"Upgrade Jetpack now":[""],"Monetize your site by running high quality ads.":[""],"Customize your social posting schedule.":[""],"Expand your audience with pro SEO tools.":[""],"Take your site to the next level!":[""],"Search support docs":[""],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":[""],"Start sharing":[""],"Optimized performance":[""],"Enable the “subscribe to comments” option on your comment form":[""],"Enable the “subscribe to site” option on your comment form":[""],"Manage advanced comment settings and grow your audience with email subscriptions.":[""],"Comment form introduction":[""],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":[""],"Failed to send login email":[""],"Login email sent":[""],"Sending login email…":[""],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":[""],"Allow readers to like individual comments.":[""],"Enable comment likes.":[""],"Allow readers to use markdown in comments.":[""],"Show Gravatar hovercards alongside comments.":[""],"Complete Jetpack Setup":[""],"Your Jetpack setup progress":[""],"View your setup checklist":[""],"Yearly":[""],"Monthly":[""],"About Jetpack":[""],"Enable widget visibility controls to display widgets only on particular posts or pages":[""],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":[""],"Make extra widgets available for use on your site including subscription forms and Twitter streams":[""],"Enhance CSS customization panel":[""],"Writing":[""],"Compose using shortcodes to embed media from popular sites":[""],"Traffic":[""],"You need to enter your server credentials to finish configuring Backups and Scan.":[""],"Awaiting credentials":[""],"Backups and Scan are being configured for your site.":[""],"Provisioning":[""],"Action needed":[""],"Setting up":[""],"Discussion":[""],"We are configuring your site protection.":[""],"View your site's backups":[""],"We are backing up your site in real-time.":[""],"Enter credentials":[""],"You need to enter your server's credentials to finish the setup.":[""],"We are configuring your site's backups.":[""],"View site activity":[""],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":[""],"Explore our Jetpack plans":[""],"Support documentation":[""],"Chat bubbles representing getting in touch with support":[""],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":[""],"Increase traffic to your site":[""],"Explore free themes":[""],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":[""],"A wide variety of themes and tools to customize a site":[""],"Set up your site security":[""],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":[""],"Site stats showing an evolution in traffic and engagement":[""],"A hand holding a loupe":[""],"A chart showing an healthy increase in earnings":[""],"Interface showing a chronological list of changes and updates in a site":[""],"A cloud with multiple types of content floating around it":[""],"A folder holding real comments":[""],"Make your site faster":[""],"Load pages faster by serving your images from our global network of servers.":[""],"A fast and performant website":[""],"A secure site, locked and protected by Jetpack":[""],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":[""],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":[""],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":[""],"Add Like buttons to your posts and pages":[""],"When visitors enjoy your content, let them show it with a Like.":[""],"Create account":[""],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":[""],"Compose content the way you want to and streamline your publishing experience.":[""],"Add a portfolio item":[""],"Add a testimonial":[""],"Maximize your site’s visibility in search engines and view traffic stats in real time.":[""],"Create a Jetpack account to use this feature":[""],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":[""],"Error enabling Site accelerator. %(error)s":[""],"Site accelerator is now speeding up your site!":[""],"Enabling Site accelerator…":[""],"Error disabling site accelerator. %(error)s":[""],"Site accelerator is no longer speeding up your site!":[""],"Disabling site accelerator…":[""],"Load pages faster, optimize images, and speed up your visitors’ experience.":[""],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":[""],"High-speed, high-definition video hosting with no third-party ads.":[""],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":[""],"Marketing Automation":[""],"Activate Jetpack Search":[""],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":[""],"Start earning":[""],"WordAds lets you earn money by displaying promotional content. Start earning today.":[""],"Spam is automatically blocked from your comments.":[""],"Browse premium themes":[""],"Access hundreds of beautifully designed premium themes at no extra cost.":[""],"Try a premium theme":[""],"View settings":[""],"Create a Jetpack account to view your email followers":[""],"Manage security settings":[""],"Jetpack is ready for the new WordPress editor":[""],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":[""],"Build your Jetpack site with blocks":[""],"A new editor? Yes! {{a}}Learn more{{/a}}.":[""],"The features you rely on, adapted for the new WordPress editor.":[""],"Take me to the new editor":[""],"Testing Jetpack Connection":[""],"There was an error testing Jetpack. Error: %(error)s":[""],"New in Jetpack!":[""],"Speed up static file load times":[""],"Speed up image load times":[""],"Enable site accelerator":[""],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":[""],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":[""],"View your site activity":[""],"View a chronological list of all the changes and updates to your site in an organized, readable way.":[""],"Manually Verify ":[""],"Verify with Google":[""],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":[""],"or":[""],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":[""],"Your site is verified with Google":[""],"Site failed to verify: %(error)s":[""],"Add faster, more advanced searching to your site with Jetpack Professional.":[""],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":[""],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":[""],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":[""],"Jetpack Search supports many customizations.":[""],"Site is verified":[""],"Spam filtering and priority support.":[""],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":[""],"Custom ads.txt entries":[""],"Privacy information":["隱私權資訊"],"Enable Lazy Loading for images":["啟用延緩載入圖片功能"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":[""],"Performance & speed":["效能與速度"],"Enable high-speed, ad-free video player":["啟用高速的無廣告影片播放器"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["加入高解析度影片,讓你發佈的內容更加吸引。你可以透過 Jetpack 影片自訂媒體播放器,為訪客呈現高速、無廣告和品牌牌示的影片。WordPress.com 伺服器會託管你的影片,而且不會佔用你的託管方案空間!"],"Video":["影片"],"Carousel color scheme":["隨選顏色配置"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif 資料會為讀者顯示相片的額外技術詳細資料,例如焦距、光圈和 ISO。"],"Show photo Exif metadata in carousel (when available)":["在資料可用時,於隨選區顯示相片 Exif 中繼資料"],"Display images in a full-screen carousel gallery":["在全螢幕隨選區圖庫中顯示圖片"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["為你文章和頁面中的圖片建立全螢幕隨選區投影片。隨選區圖庫適用於行動裝置,同時鼓勵訪客與你的相片互動。"],"Portfolios shortcode: [portfolio]":["作品集簡碼:[作品集]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["在你的網站上使用{{portfolioLink}}作品集{{/portfolioLink}}來展示你的佳作。如果你的佈景主題不支援 Jetpack 個人作品集,你仍然可以使用簡單的簡碼在網站上展示你的作品。"],"Testimonials shortcode: [testimonials]":["證言簡碼:[證言]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["在你的網站中加入{{testimonialLink}}證言{{/testimonialLink}}來吸引新的顧客。如果你的佈景主題不支援 Jetpack 證言,你仍然可以使用簡單的簡碼在網站上顯示證言。"],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["搜尋引擎目前無法存取你的網站。若要讓訪客存取你的網站,請檢查你的{{a}}閱讀設定{{/a}}並開啟「搜尋引擎可見度」。"],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["好消息:Jetpack 已自動將你的網站地圖傳送給所有主要搜尋引擎進行索引。"],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["網站地圖是 Google 或 Bing 等搜尋引擎索引你網站所使用的檔案。網站地圖可以協助改善網站在搜尋結果中的排名。啟用這項功能後,Jetpack 會建立你的網站地圖,並在網站內容變更時自動更新。"],"Configure related posts in the Customizer":["在自訂工具中設定相關文章"],"Highlight related content with a heading":["反白標示含有標題的相關內容"],"View security scan details":["檢視安全性掃描詳細資料"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["顯示可用的縮圖圖片"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["若需關於特定 Jetpack 功能如何使用資料和追蹤活動的詳細資訊,請參閱我們的{{privacyCenterLink}}隱私權中心{{/privacyCenterLink}}。"],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["我們會使用其他的追蹤工具,包括由第三方所提供的追蹤工具。{{cookiePolicyLink}}瞭解相關資訊{{/cookiePolicyLink}}及其管理方式。"],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["這類資訊有助我們改進產品、提供與你更加相關的行銷活動、帶來更為個人化的 WordPress.com 使用體驗;若要瞭解更多詳細內容,請參見我們的{{pp}}「隱私權政策」{{/pp}}。"],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["在登入你的 WordPress.com 帳號時,請將你的服務使用情況相關資訊與我們的分析工具分享。{{cookiePolicyLink}}瞭解更多資訊{{/cookiePolicyLink}}。"],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["這個功能是由網站管理員所管理。{{link}}瞭解更多{{/link}}。"],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["這個功能已由網站管理員停用。{{link}}瞭解更多{{/link}}。"],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["這個功能已由網站管理員啟用。{{link}}瞭解更多{{/link}}。"],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["網站管理員已停用 %(moduleName)s。{{link}}瞭解更多{{/link}}。"],"This feature has been disabled by a site administrator.":["這個功能已由網站管理員停用。"],"%(moduleName)s has been disabled by a site administrator.":["網站管理員已停用 %(moduleName)s。"],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["您可以使用廣告小工具刊登其他廣告。{{link}}立即試用!{{/link}}"],"Configure your notification settings":["調整你的通知設定"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":[""],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["系統會定期對你網站的檔案進行掃描,確認是否有可能會損害你安全性和資料的未授權或可疑的。"],"Plugin needs updating.":["外掛程式需要更新。"],"%(number)s":["%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack 的外掛程式更新可讓您選擇要自動更新的外掛程式。"],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack 會最佳化你的圖片,並從與訪客距離最近的伺服器提供圖片。使用我們的全球內容傳遞網路可大幅提升網站的載入速度。"],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":[""],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack 備份功能可讓您輕鬆復原或下載特定時刻的備份。"],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["啟用輕量且適用於手機的佈景主題,以顯示在訪客的行動裝置上。"],"Loads the next posts automatically when the reader approaches the bottom of the page.":["讀者閱讀到網頁底部時,可自動載入後續文章。"],"Allows you to publish new posts by sending an email to a special address.":["讓你可透過寄信至特定電子郵件地址來發佈新文章。"],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":[""],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["提供所需的隱藏標籤,以便將你的 WordPress 網站與多項服務進行驗證。"],"Displays information on your site activity, including visitors and popular posts or pages.":["顯示網站活動相關資訊,包括訪客身分以及熱門文章或頁面。"],"Allows you to optimize your site and its content for better results in search engines.":["讓你最佳化你的網站和內容,在搜尋引擎中顯示較佳結果。"],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["將你的 WordPress 網站與 Google Analytics 整合 (Google Analytics 是一個可提供關於流量、訪客和轉換洞察報告的平台)。"],"Displays high-quality ads on your site that allow you to earn income.":["在你的網站上顯示高品質廣告,讓你賺取收入。"],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["讓你將最新內容自動分享至社交媒體網站,包括 Facebook 和 Twitter。"],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["新增「讚」按鈕至你的內容,讓訪客能夠表達欣賞或高興的感受。"],"Allows registered users to log in to your site with their WordPress.com accounts.":["讓已註冊使用者能夠透過其 WordPress.com 帳號登入你的網站。"],"Protects your site from traditional and distributed brute force login attacks.":["保護你的網站不受傳統和分散式暴力破解攻擊。"],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["將你的網站備份至全球的 WordPress.com 伺服器,讓你在發生緊急情況或錯誤時還原內容。"],"Removes spam from comments and contact forms.":["從留言和聯絡表單移除垃圾留言。"],"We are committed to your privacy and security. ":["我們致力維護你的隱私權及安全。"],"View all Jetpack plans":["檢視所有 Jetpack 方案"],"Manage your plan":["管理你的方案"],"Your Plan":["你的方案"],"You’re currently on Jetpack %(plan)s.":["你目前使用的 Jetpack 方案為 %(plan)s。"],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["允許讀者訂閱你的文章和留言,並透過電子郵件接收新內容的通知。"],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["使用包含社交媒體登入選項的全新留言系統,取代標準的 WordPress 留言表單。"],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":[""],"Add Search (Jetpack) Widget":["新增搜尋 (Jetpack) 小工具"],"Jetpack Search is powering search on your site.":["「Jetpack 搜尋」為你的網站提供搜尋功能。"],"Manage your plugins":["管理你的外掛程式"],"Moderate comments":["審核留言"],"Error updating privacy settings. %(error)s":["更新隱私設定時發生錯誤。%(error)s"],"Updated privacy settings.":["已更新隱私設定。"],"Updating privacy settings…":["正在更新隱私設定…"],"Add Jetpack Search Widget":["新增 Jetpack 搜尋小工具"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":[""],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["完整安全性套件、行銷與營收自動化工具、無限影片託管、無限使用佈景主題、增強的搜尋功能及優先支援。"],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["完整安全性套件、行銷與營收自動化工具、無限影片託管及優先支援。"],"Daily backups, spam filtering, and priority support.":["每日備份、過濾垃圾訊息和優先支援。"],"Always-on security":[""],"Activate video hosting":[""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["透過無限空間、一鍵復原、自動安全掃描功能及優先支援服務,即時備份所有網站資料。"],"Design the perfect website":["設計完美的網站"],"Set up Jetpack":["設定 Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["透過無限制空間、一鍵復原以及自動安全掃描功能,即時備份所有網站資料。"],"Jetpack Search":["Jetpack 搜尋"],"Jetpack version %(version)s":["Jetpack 版本 %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["你的網站已即時備份,並定期執行安全性威脅掃描。"],"Daily backup of all your site data with unlimited space and one-click restores":["透過無限制的空間每日備份所有網站資料,還有一鍵復原"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["透過無限制的空間即時備份所有網站資料、一鍵復原、自動安全性掃描、一鍵排除所有威脅及優先支援服務。"],"View your security activity":["檢視你的安全性活動"]," (powered by VaultPress).":[" (powered by VaultPress)。"],"Customize Search Widget":["自訂搜尋小工具"],"Please correct the issue below and try again.":["請更正以下列出的問題,然後再試一次。"],"We are making sure your site stays free of security threats. You will be notified if we find one.":["我們會確保你的網站遠離安全性威脅。如果我們發現安全性威脅,你將收到通知。"],"Jetpack version":["Jetpack 版本 "],"Activity":["活動"],"{{a}}View details{{/a}}":["{{a}}檢視詳情{{/a}}"],"Monetize your site with ads":["透過廣告為你的網站營利"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":[""],"Jetpack Stats People":["Jetpack 統計使用者"],"Hello there! Your stats have been activated.":["你好!你的統計功能已啟用。"],"Just give us a little time to collect data so we can display it for you here.":["請稍候片刻,待我們收集完資料,很快就會在這裡顯示統計資料。"],"Okay, got it!":["我知道了!"],"Display ads below posts on":["在文章下方顯示廣告"],"Additional ad placements":["其他廣告版位"],"Top of each page":["每個頁面的頂端"],"Second ad below post":["文章下方第二則廣告"],"Archives":["彙整"],"Stars":["恆星"],"Jupiter":["木星"],"Schedule posts":[""],"Activate Publicize":["啟用 Publicize"],"Your site is backed up.":["你的網站已備份。"],"Get WordPress Apps for every device":["下載適用於各種裝置的 WordPress 應用程式"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["從單一控制台管理所有網站:無論你身在何處,都可以發表內容、追蹤統計數據、審核留言,還能使用其他許多功能。"],"Create address":["建立位址"],"Automatically share your posts to social networks":["自動將你的文章分享到社交網站"],"Updating settings…":["正在更新設定…"],"Updating Post by Email address…":["正在透過電子郵件地址更新文章…"],"Your paid plan gives you access to prioritized Jetpack support.":["你的付費方案給予你優先的 Jetpack 支援。"],"You have paid for backups but they're not yet active.":["你已購買備份功能,但尚未啟用。"],"You have paid for backups and security scanning but they’re not yet active.":["你已購買備份及安全掃描功能,但尚未啟用。"],"Click \"Set Up\" to finish installation.":["按一下「設定」以完成安裝。"],"Checking site status…":["正在檢查網站狀態…"],"Pages":["頁面"],"Access the full list of Jetpack modules available on your site.":["存取您網站上可用的 Jetpack 完整模組清單。"],"We're here to help":["我們樂意提供協助"],"Jetpack comes with free, basic support for all users.":["Jetpack 為所有使用者提供免費的基本支援。"],"Ask a question":["提出疑問"],"Search our support site":["搜尋我們的支援網站"],"Get a faster resolution to your support questions.":["讓您的支援問題更快獲得解決。"],"Host fast, high-quality, ad-free video.":["託管快速、高品質、無廣告的影片。"],"Generate income with high-quality ads.":["以高品質廣告賺取收入。"],"Real-time site backups and automatic threat resolution.":["即時網站備份與自動排除威脅。"],"Protect against data loss, malware, and malicious attacks.":["防禦資料遺失、惡意軟體及惡意攻擊。"],"Protect your site from spam.":["保護您的網站不受垃圾訊息攻擊。"],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["此網站未與 WordPress.com 連結。請要求網站管理員連結。"],"An Automattic Airline":["一個 Automattic 主公司"],"Manage site connection":["管理網站連結"],"Connect your account to WordPress.com to view more stats":["將您的帳戶與 WordPress.com 連結,即可查看更多統計資料"],"Theme enhancements":["佈景主題增強項目"],"Load more posts using the default theme behavior":["使用預設佈景主題行為載入更多文章"],"Load more posts in page with a button":["使用按鈕在頁面中載入更多文章"],"Load more posts as the reader scrolls down":["隨著讀者向下捲動頁面載入更多文章"],"Theme support required.":["需要佈景主題支援。"],"Learn more about adding support for Infinite Scroll to your theme.":["可於佈景主題中加入無限捲動支援。立即深入瞭解。"],"Show excerpts instead of full posts on front page and archive pages":[""],"Show featured images":["顯示特色圖片"],"Enable the WordPress.com toolbar":["啟用 WordPress.com 工具列"],"Writing tools available to you will be shown here when an administrator enables them.":["管理員啟用撰寫工具時,您的可用撰寫工具會顯示在這裡。"],"Portfolios":["作品集"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["請注意,{{b}}不一定要使用這些服務驗證你的網站{{/b}},才可以讓搜尋引擎將你的網站加入索引。若要使用進階搜尋引擎工具,並以提供的服務驗證你的網站,請在下方貼上 HTML 標籤程式碼。如果遇到任何問題,請閱讀{{support}}完整指示{{/support}}。支援的驗證服務:{{google}}Google Search Console{{/google}}、{{bing}}Bing Webmaster Center{{/bing}}、{{pinterest}}Pinterest Site Verification{{/pinterest}} 及 {{yandex}}Yandex.Webmaster{{/yandex}}。"],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["產生 XML 網站地圖"],"The image helps collect stats, but should work when hidden.":["圖片有助於蒐集統計資料,但隱藏時應正常運作。"],"Count logged in page views from":["計算從下列時間起算的登入頁面瀏覽量:"],"Allow stats reports to be viewed by":["可查看統計報告的使用者:"],"In \"Upgrade\"":["在「升級」中"],"Configure your Google Analytics settings":["調整你的 Google Analytics (分析) 設定"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["在首頁的第一篇文章或每個頁面及文章的結尾顯示廣告。將其他廣告放在網站頂端及任何小工具區域,以增加你的收入。"],"Enable ads and display an ad below each post":["啟用廣告並在每篇文章底下顯示廣告"],"Configure your sharing buttons":["設定你的分享按鈕"],"Connect your social media accounts":["連結你的社交媒體帳戶"],"Match accounts using email addresses":["使用電子郵件地址比對帳戶"],"Require accounts to use WordPress.com Two-Step Authentication":["需要帳戶才能使用 WordPress.com 兩步驟驗證"],"Add to whitelist":["新增至允許清單"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["你可在允許清單中新增 IP 位址或一系列的位址,以避免這些位址受到 Jetpack 封鎖。可接受 IPv4 和 IPv6。若要指定範圍,請輸入最低值及最高值,並以破折號分隔。範例:12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["你的網站已備份,並已排除所有威脅。"],"Checking your spam protection…":["正在檢查你的垃圾訊息防護…"],"Fetching key…":["正在擷取金鑰…"],"Your site needs an Antispam key.":["你的網站需要 Antispam 金鑰。"],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["你的 Antispam API 金鑰發生問題。{{a}}瞭解更多{{/a}}。"],"Your site is not protected from spam.":["你的網站未啟用垃圾訊息防護。"],"Your Antispam key is valid.":["你的 Antispam 金鑰有效。"],"Your site is protected from spam.":["你的網站已啟用垃圾訊息防護。"],"Checking key…":["正在檢查金鑰…"],"Your API key":["你的 API 金鑰"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["如果你還沒有 API 金鑰,則請{{a}}到這裡取得你的 API 金鑰{{/a}},系統會引導你完成申請程序。"],"No search results found for %(term)s":["找不到「%(term)s」的搜尋結果"],"Enter a search term to find settings or close search.":["輸入搜尋字詞以尋找設定或關閉搜尋。"],"Connections":["連結"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["你的網站目前為開發模式,因此無法連結 WordPress.com。"],"Your site is connected to WordPress.com.":["你的網站已與 WordPress.com 連結。"],"You are the Jetpack owner.":["你是 Jetpack 擁有者。"],"Connected as {{span}}%(username)s{{/span}}":["已以 {{span}}%(username)s{{/span}} 的身分連結"],"View your Email Followers":["查看你的電子郵件關注者"],"Color scheme":["顏色配置"],"Enable Markdown use for comments.":["啟用 Markdown 的留言功能。"],"Updated settings.":["已更新設定。"],"Error updating settings. %(error)s":["更新設定時發生錯誤。(%個錯誤)"],"Regenerated Post by Email address.":["透過電子郵件地址重新產生文章。"],"Error regenerating Post by Email address. %(error)s":["透過電子郵件地址重新產生文章時發生錯誤。%(error)s"],"Updated settings. Refreshing page…":["已更新設定。正在重新整理頁面…"],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["目前處於{{a}}開發模式{{/a}} (已停用部分功能),因為:{{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}已啟用 jetpack_development_mode 篩選{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}已定義 JETPACK_DEV_DEBUG 常數{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}你的網站 URL 少了一個點 (例如:http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics 這項免費服務可使用流量中的不同洞察報告來補充{{a}}內建統計資料{{/a}}。WordPress.com 統計資料與 Google Analytics 會透過不同方法來識別及追蹤你網站上的活動,所以它們顯示的總點閱次數、總瀏覽次數等資料通常會有些微差異。"],"Google Analytics":["Google 分析"],"Configure Google Analytics":["設定 Google Analytics"],"Activate Google Analytics":["啟用 Google Analytics"],"Download the free apps":["下載免費Apps"],"Upgrade Focus: VideoPress For Weddings":["升級重點:婚禮適用的 VideoPress"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}你現在可以在自訂工具中設定相關文章。{{ExternalLink}}試試看!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["預設情況下,廣告會顯示在每個頁面、文章,或首頁第一篇文章的底部。你可以將廣告新增到網站頂端或任何小工具區域,以增加你的收入!"],"Display an ad unit at the top of your site.":["在網站頂端顯示廣告單元。"],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["啟用廣告,即代表你同意 Automattic Ads 的{{link}}服務條款{{/link}}。"],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["你的伺服器設定有誤,這代表 Jetpack Protect 無法有效保護你的網站。"],"In \"Mobile\"":["在「行動」中"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}設定你在 WordPress.com 的 Monitor 通知設定{{/link}}"],"View your earnings":["查看你的收入"],"Configure site SEO":[""],"Activate SEO tools":[""],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["若要開始使用,請按一下文章編輯器的「新增媒體」並上傳影片,剩下的工作就交給我們處理!"],"Video Hosting":["影片託管"],"SEO Tools":["SEO 工具"],"Advanced SEO tools to help your site get found when people search for relevant content.":["進階 SEO 工具有助於讓你的網站顯示在使用者的相關內容搜尋結果中。"],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["在網站上傳無廣告和無品牌影片最輕鬆的方式。你可獲得影片播放和分享次數的統計資料,而且播放器為輕量型且回應靈敏。"],"You are running Jetpack on a staging server.":["你正在暫存伺服器上執行 Jetpack。"],"More Info":["更多資訊"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}從「分享模組設定」管理按讚次數的可見度{{/a}}"],"Your current IP: %(ip)s":["你目前的IP:%(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["本分頁中有未儲存的設定,如果離開,這些設定便會遺失。要繼續嗎?"],"This will reset all Jetpack options, are you sure?":["這樣會重設所有的 Jetpack 選項,你確定嗎?"],"Search for a Jetpack feature.":["搜尋 Jetpack 功能。"],"Configure your Security Scans":["設定安全性掃描"],"Subscriber":["訂閱者"],"Big iPhone/iPad Update Now Available":["有重大的 iPhone/iPad 更新可供使用"],"The WordPress for Android App Gets a Big Facelift":["Android 專用的 WordPress 應用程式已全面翻新"],"WordPress.com Likes are:":["WordPress.com 按讚功能:"],"A few catchy words to motivate your visitors to comment.":[""],"Hide the stats smiley face image":["隱藏統計資料笑臉圖片"],"Whitelisted IP addresses":["在允許清單中的 IP 位址"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["在手機佈景主題的頁尾對 WordPress 行動應用程式顯示一則促銷活動"],"Copied!":["已複製!"],"Highlight and copy the following text to your clipboard:":["將以下文字反白標示,複製貼到你的剪貼簿:"],"Regenerate address":["重新產生位址"],"Cheatin' uh?":["喂!別偷跑喔!"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}你願意告訴我們為什麼未在這份{{a}}含有 2 個問題的調查{{/a}}中完成 Jetpack 連結嗎?{{/p}}{{p}}我們的免費安全性與流量功能需要 Jetpack 連結才能運作。{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["歡迎使用 {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["你的 Jetpack 已連結。"],"You're fueled up and ready to go, Jetpack is now active.":["你已準備就緒,Jetpack 現已啟用。"],"You're fueled up and ready to go.":["你已準備就緒。"],"You are currently running a development version of Jetpack.":["你目前執行的是開發版本的 Jetpack。"],"Submit Beta feedback":["送出測試版意見回饋"],"What would you like to see on your Jetpack Dashboard?":["你希望你的 Jetpack 控制台顯示哪些內容?"],"Let us know!":["請讓我們知道!"],"Saving…":["儲存中…"],"Save Settings":["儲存設定"],"Jetpack Stats Icon":["Jetpack 統計圖示"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}啟用網站統計{{/a}}可查看詳細的統計資料、讚數、關注者和訂閱者等內容!{{a1}}瞭解詳情{{/a1}}"],"Activate Site Stats":["啟用網站統計"],"Site Backups":["網站備份"],"Upgrade":["升級"],"ACTIVE":["啟用中"],"View your spam stats":["檢視垃圾評論統計資料"],"View your security dashboard":["檢視安全性控制台"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["網站目前為開發模式,因此你無法連結 WordPress.com。"],"Link your account to WordPress.com to get the most out of Jetpack.":["將帳戶連結到 WordPress.com 即可更完善地運用 Jetpack 的功能。"],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["如需自動且全面的安全性威脅掃描,請{{a}}安裝並啟用{{/a}} VaultPress。"],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack 正在主動阻擋惡意登入嘗試。這裡很快就會顯示資料!"],"Total malicious attacks blocked on your site.":["你網站阻擋的惡意攻擊總計。"],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}啟用 Protect{{/a}} 可防止你的網站受到惡意登入嘗試的侵擾。"],"All plugins are up-to-date. Awesome work!":["所有外掛程式都是最新版本。做得好!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack 正在監控你的網站。如果我們發現你的網站停機,你就會收到一封電子郵件。"],"Security":["安全性"],"Performance":["效能"],"Backup":[""],"{{a}}View backup details{{/a}}.":["{{a}}檢視備份詳細資料{{/a}}。"],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["若要自動備份整個網站,請{{a}}安裝並啟用{{/a}} VaultPress。"],"Unavailable in Dev Mode.":["開發模式中無法使用。"],"Unavailable in Dev Mode":["開發模式中無法使用"],"Activating %(slug)s…":["正在啟用 %(slug)s…"],"%(slug)s has been activated.":["%(slug)s 已啟用。"],"%(slug)s failed to activate. %(error)s":["%(slug)s 無法啟用。%(error)s"],"Deactivating %(slug)s…":["正在停用 %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s 已停用。"],"%(slug)s failed to deactivate. %(error)s":["%(slug)s 無法停用。%(error)s"],"Updating %(slug)s settings…":["正在更新 %(slug)s 設定…"],"Updated %(slug)s settings.":["已更新 %(slug)s 設定。"],"Error updating %(slug)s settings. %(error)s":["更新 %(slug)s 設定時發生錯誤。%(error)s"],"Updating %(slug)s address…":["正在更新 %(slug)s 位址…"],"Regenerated %(slug)s address .":["已重新產生 %(slug)s 位址。"],"Error regenerating %(slug)s address. %(error)s":["重新產生 %(slug)s 位址時發生錯誤。%(error)s"],"Resetting Jetpack options…":["正在重設 Jetpack 選項…"],"Options reset.":["選項已重設。"],"Options failed to reset.":["無法重設選項。"],"There was an error disconnecting Jetpack. Error: %(error)s":["中斷 Jetpack 連結時發生錯誤。錯誤:%(error)s"],"Unlinking from WordPress.com":["正在從 WordPress.com 取消連結"],"Unlinked from WordPress.com.":["已從 WordPress.com 取消連結。"],"Error unlinking from WordPress.com. %(error)s":["從 WordPress.com 取消連結時發生錯誤。%(error)s"],"At A Glance":["總覽"],"Dashboard":["控制台"],"Automattic's Privacy Policy":["Automattic 的隱私權保護政策"],"WordPress.com Terms of Service":["WordPress.com 服務條款"],"{{a}}Turn on plugin autoupdates.{{/a}}":[""],"Plugin Updates":["外掛程式更新"],"No threats found, you're good to go!":["沒有找到威脅,你可以開始使用了!"],"{{a}}Contact Support{{/a}}":["{{a}}聯絡支援團隊{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}到 VaultPress.com 檢視詳細資料{{/a}}"],"Uh oh, %(number)s threat found.":["糟糕,找到了 %(number)s 個威脅。"],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}啟用監控{{/a}}可在網站停機時接收通知。"],"Loading…":["載入中…"],"Downtime monitor":[""],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}檢視更多 WordPress.com 統計資料{{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}檢視舊版統計{{/button}}"],"All-time comments":["全時段評論次數"],"All-time views":["全時段瀏覽次數"],"%(number)s View":["%(number)s 次瀏覽"],"Best overall day":["全天最佳"],"Views today":["今天的瀏覽次數"],"Months":["月"],"Weeks":["週"],"Days":["天"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["載入統計資料時發生問題。請稍後再試,或立即到 WordPress.com {{a}}檢視你的統計資料{{/a}}"],"Click to view detailed stats.":["按一下可檢視詳細的統計資料。"],"Views: %(numberOfViews)s":["瀏覽次數:%(numberOfViews)s"],"Week of %(date)s":["%(date)s 當週"],"Site Security":["網站安全"],"Link to WordPress.com":["連結到 WordPress.com"],"Unlink me from WordPress.com":["中斷我和 WordPress.com 的連結"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["連結 Jetpack 時發生問題。請再按一次「連結 WordPress.com」。"],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["我們在連接 Jetpack 時發生問題。請停用 Jetpack 外掛程式並重新啟用,然後重新連接一次。"],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["授權 Jetpack 期間,你必須保持登入自己的 WordPress 網誌。"],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}你的 Jetpack 發生故障。{{/s}}造成不便,敬請見諒。請稍後再試一次,如果持續發生此問題,請聯絡支援團隊並附上這段訊息:%(error_key)s"],"Disconnecting Jetpack":["正在中斷與 Jetpack 的連結"],"Learn more":["瞭解更多"],"Posts":["文章"],"Front page":["首頁頁面"],"Upload videos":[""],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["顯示文章之後的相關內容"],"Related":["相關"],"Disconnect":["關閉連結"],"Save":["儲存"],"Media":["媒體"],"Mobile Theme":[""],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":[""],"Site Stats":["網誌統計"],"Sharing":["分享"],"Testimonials":["證言"],"Cancel":["取消"],"Comments":["評論"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack 無法聯繫 WordPress.com:%(error_key)s。這通常代表著你網路主機的設定不正確。"],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com目前有問題,無法啟動你Jetpack。請稍後再試。"],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}你的 Jetpack 發生故障。{{/s}}無法將此網站連結到 WordPress.com。這通常代表你的網站並未允許公開存取 (localhost)。"],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["你的網站必須允許公開存取才能使用 Jetpack:%(error_key)s"],"Edit":["編輯"],"Connected":["已連結"],"Activate":["啟用"],"Active":["執行套用"],"Settings":["設定"],"Learn More":["瞭解更多"],"Disconnect Jetpack":["中斷與 Jetpack 的連線"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":[""],"Settings header\u0004Jetpack Backup":[""],"Settings header\u0004Anti-spam":[""],"Settings header\u0004WP.me Shortlinks":[""],"Settings header\u0004Auto-update plugins":[""],"Settings header\u0004Widgets":[""],"Settings header\u0004Downtime monitoring":["停機時間監控"],"Settings header\u0004Privacy Settings":["隱私設定"],"Settings header\u0004WordPress.com toolbar":["WordPress.com 工具列"],"Settings header\u0004Composing":["撰寫"],"Settings header\u0004Site stats":["網站統計資料"],"Settings header\u0004Search engine optimization":["搜尋引擎最佳化"],"Settings header\u0004Google Analytics":["Google Analytics (分析)"],"Settings header\u0004Sharing buttons":["分享按鈕"],"Settings header\u0004Publicize connections":["Publicize 連結"],"Settings header\u0004Like buttons":["「讚」按鈕"],"Settings header\u0004Brute force attack protection":["暴力破解密碼攻擊防護"],"Settings header\u0004Backups and security scanning":["備份與安全掃描"],"Notice in the empty statistics chart\u0004No activity this period":[""],"Settings header, noun.\u0004WordPress.com login":[""],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":[""],"A caption for a button to cancel an action.\u0004Cancel":[""],"Link to learn more about Jetpack.\u0004About":[""],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":[""],"Navigation item.\u0004Performance":[""],"Navigation item.\u0004My Plan":[""],"Navigation item.\u0004Dev Tools":["開發工具"],"Navigation item.\u0004Settings":["設定"],"Navigation item.\u0004Discussion":["討論"],"Navigation item.\u0004Traffic":["流量"],"Navigation item.\u0004Sharing":["分享"],"Navigation item.\u0004At A Glance":["總覽"],"Navigation item.\u0004Plans":["方案"],"Navigation item.\u0004Writing":["撰寫"],"Navigation item.\u0004Reset Options (dev only)":["重設選項 (僅限開發人員版本)"],"Navigation item.\u0004Security":["安全性"],"Navigation item.\u0004At a Glance":["總覽"],"Search term.\u0004terms of service":["服務條款"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["資料"],"Search term.\u0004tracks":["追蹤"],"Search term.\u0004privacy":["隱私權"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["升級"],"Button caption\u0004Saving…":["正在儲存…"],"Button caption\u0004Save settings":["儲存設定"],"A heading for a block of related posts.\u0004Related":["相關"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["預覽"],"Short warning message\u0004Updates needed":["需要更新"],"Short label appearing near a paid feature configuration block.\u0004Paid":["付費"],"A header for a preview area in the configuration screen.\u0004Preview":["預覽"],"Ads header\u0004Ads":["廣告"],"Dashboard widget header\u0004Site connection":["網站連結"],"Dashboard widget header\u0004Account connection":["帳戶連結"],"A caption for a small button to fix security issues.\u0004Threats":["威脅"],"A caption for a small button to fix security issues.\u0004FIX":["修正"],"Short warning message about new threats found.\u0004Threats found!":["找到威脅!"],"Short message informing user that the site is secure.\u0004Secure":["安全"],"Caption for a button to set up a feature.\u0004Set up":["設定"],"verb\u0004Copy":["複製"],"Shorthand for Privacy Policy.\u0004Privacy":["隱私權"],"Shorthand for Terms of Service.\u0004Terms":["條款"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["偵錯"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["垃圾評論已封鎖。"]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/json/jetpack-zh_TW-1bac79e646a8bf4081a5011ab72d5807.json b/plugins/jetpack/languages/json/jetpack-zh_TW-1bac79e646a8bf4081a5011ab72d5807.json
deleted file mode 100644
index ac3d4851..00000000
--- a/plugins/jetpack/languages/json/jetpack-zh_TW-1bac79e646a8bf4081a5011ab72d5807.json
+++ /dev/null
@@ -1 +0,0 @@
-{"locale_data":{"jetpack":{"":{"domain":"jetpack","plural_forms":"nplurals=1; plural=0;","lang":"zh_TW"},"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.":["你的 %(planName)s 方案包括 %(featureName)s。你似乎也購買了 %(productName)s 產品。請考慮移除 %(productName)s。"],"real-time backups":["即時備份"],"daily backups":["每日備份"],"Renews on %s.":["更新時間︰%s。"],"Purchased on %s.":["購買時間:%s。"],"Select a backup option:":["選擇一個備份選項:"],"Upgrade to %(name)s for {{price/}} %(billingTimeFrame)s":["升級至 %(name)s,每%(billingTimeFrame)s只要 {{price/}}"],"You are saving {{savings /}} by paying yearly":["選擇年費方案可省下 {{savings /}}"],"Hurry, these are {{s}}Limited time introductory prices!{{/s}}":["請加快腳步,千萬別錯過這波{{s}}限時促銷價!{{/s}}"],"Up to %(percent)d%% off!":["最高可享 %(percent)d%% 折扣優惠!"],"per month":["每月"],"per year":["每年"],"Which backup option is best for me?":["哪個備份選項最適合我?"],"{{smallerPrice/}}-{{higherPrice/}}":["{{smallerPrice/}} - {{higherPrice/}}"],"Manage Subscription":["管理訂閱"],"Your site is being backed up.":["正在備份你的網站。"],"You need to enter your server credentials to finish configuring Jetpack Backup.":["你需要輸入伺服器憑證,才能完成 Jetpack 備份設定。"],"Jetpack Backup is being configured for your site.":["正在設定你網站的 Jetpack 備份。"],"Daily Backups":["每日備份"],"Just looking for backups? We've got you covered.":["只是想備份資料?我們提供你需要的服務。"],"Solutions":["解決方案"],"Included in your {{planLink}}Professional Plan{{/planLink}}":["包含在你的{{planLink}}專業版方案{{/planLink}}內"],"Included in your {{planLink}}Premium Plan{{/planLink}}":["包含在你的{{planLink}}進階版方案{{/planLink}}內"],"Included in your {{planLink}}Personal Plan{{/planLink}}":["包含在你的{{planLink}}個人版方案{{/planLink}}內"],"Always-on backups ensure you never lose your site. Your changes are saved as you edit and you have unlimited backup archives.":["全年無休的備份服務可確保你永遠不會失去自己的網站。在你編輯時立即儲存變更,同時提供無限的備份封存。"],"Always-on backups ensure you never lose your site.":["全年無休的備份服務可確保你永遠不會失去自己的網站。"],"My Products":["我的產品"],"My Plan":["我的方案"],"Jetpack Backup {{em}}Real-Time{{/em}}":["Jetpack {{em}}即時{{/em}}備份"],"Your data is being securely backed up as you edit.":["系統會在你編輯時安全備份資料。"],"Jetpack Backup {{em}}Daily{{/em}}":["Jetpack {{em}}每日{{/em}}備份"],"Your data is being securely backed up every day with a 30-day archive.":["系統會每天安全備份資料,並保留 30 天的封存。"],"Jetpack Professional":["Jetpack 專業版"],"Jetpack Premium":["Jetpack 進階版"],"Jetpack Personal":["Jetpack 個人版"],"Jetpack Free":["Jetpack 免費版"],"Expired on %s.":["已於 %s 到期。"],"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}":["有任何疑問嗎?我們十分樂意提供協助!{{a}}傳送問題給 Jetpack 支援團隊。{{/a}}"],"Jetpack has many powerful tools that can help you achieve your goals":["Jetpack 包含許多強大工具,能協助你達成目標"]," We’ve highlighted some of the features you rely on below.":["下文中特別列出一些你需要的功能。"],"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack 目前正為你的網站提供各種功能。若停用 Jetpack,你將無法繼續使用這些功能,且你的網站將無法按照原本的方式運作。"],"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.":["Jetpack 目前正為你的網站提供各種功能。若中斷與 Jetpack 的連結,你將無法繼續使用這些功能,且你的網站將無法按照原本的方式運作。"],"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}":["自動在社交網路{{a}}發佈及分享{{/a}}內容,藉此提高流量"],"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down":["阻擋{{a}}暴力破解密碼攻擊{{/a}},並在你的網站停止運作時立刻通知你"],"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}":["透過{{a}}我們的 CDN{{/a}} 加速網站效能,並提供適用於行動裝置的圖片"],"Disable":["停用"],"Are you sure you want to disconnect and deactivate?":["確定要中斷連結並停用?"],"Are you sure you want to disconnect?":["確定要中斷連結?"],"Disable Jetpack":["停用 Jetpack"],"We back up your website with every change you make, making it easy to fix your mistakes.":["我們會備份你在網站上所做的所有變更,讓你輕鬆修正錯誤。"],"Automated Real-time Backups":["自動即時備份"],"We back up your website every day, so you never have to worry about your data again.":["我們每天都會備份你的網站,你再也不必因為資料提心吊膽。"],"Automated Daily Backups":["自動每日備份"],"View Your Backups":["檢視你的備份"],"A Jetpack Site securely backed up with Jetpack Backup":["Jetpack 網站會由 Jetpack Backup 備份,安全有保障"],"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.":["使用 Markdown 語法撰寫含有連結、清單和其他樣式的內容。本設定在傳統編輯器和傳統編輯器區塊內都能啟用 Markdown。"],"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.":["{{a}}啟用{{/a}}即可透過 Jetpack 快速的全球伺服器網路,享有最佳化的圖片大小和載入速度。這可改善你的網站在桌上型電腦及行動裝置上的效能。"],"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.":["Jetpack 可透過使用我們快速的全球伺服器網路,為你提供最佳化的圖片大小和下載速度。這可改善你的網站在桌上型電腦及行動裝置上的效能。"],"Image Accelerator":["圖片加速器"],"Start with free":["免費開始使用"],"Now that you're set up, pick a plan that fits your needs.":["現在你已經完成設定,請選擇一項適合你需求的方案。"],"Jetpack Backup":["Jetpack 備份"],"Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.":["你的 Jetpack 方案透過 Akismet 提供反垃圾郵件防護。按一下「設定」即可在網站上啟用。"],"Already have a key? {{a}}Activate Akismet{{/a}}":["已經有金鑰?{{a}}啟用 Akismet{{/a}}"],"Verifying…":["正在驗證…"],"Boost your search engine ranking with the powerful SEO tools in Jetpack Premium or Professional.":["透過 Jetpack 進階版或專業版中強大的 SEO 工具,提升你的搜尋引擎排名。"],"Give your site a fast-loading, streamlined look for mobile devices. Visitors will still see your regular theme on other screen sizes.":["讓你的網站能夠在行動裝置上快速載入,並且享有精簡外觀。訪客仍可在其他螢幕尺寸上看到你平時的佈景主題。"],"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.":["往封存頁面底部捲動即可載入更多內容,為訪客創造流暢、不間斷的閱讀體驗。"],"Customize your SEO settings":["自訂你的 SEO 設定"],"Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.":["掌控搜尋引擎呈現你網站的方式。你可以使用 Jetpack 的 SEO 工具來預覽內容在熱門搜尋引擎上顯示的方式,且幾秒內即可變更網站名稱和標語等項目。"],"Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.":["新增分享按鈕,讓訪客快速點按幾下就能在社交媒體上分享您的文章和頁面。"],"Include a small chart in your admin bar with a 48-hour traffic snapshot":["在管理員列中附上一個小圖表及 48 小時流量快照"],"Expand to update settings for how visits are counted and manage who can view this information.":["展開即可更新造訪次數計算方式的設定,並管理有權查看此資訊的人員。"],"You can customize the sharing buttons and choose which services to display.":["您可以自訂分享按鈕並選擇要顯示的服務。"],"Your site is protected by Jetpack. You’ll be notified if anything needs attention.":["你的網站已由 Jetpack 防護。如有任何需要注意的事項,我們將會通知您。"],"Find threats early so we can help fix them fast.":["及早發現威脅,有助我們快速修正問題。"],"Replace your site's basic search with customizable search that helps visitors find answers faster.":["使用可自訂搜尋取代網站的基本搜尋,協助訪客更快找到答案。"],"Never worry about losing your site – automatic backups keep your content safe.":["不必再擔心失去網站,自動備份可確保內容安全無虞。"],"Protect":["保護"],"Scan":["掃描"],"Automatically clear spam from your comments and forms so you can get back to your business.":["自動清除留言和表單中的垃圾郵件,讓您專心處理事務。"],"Anti-spam":["反垃圾郵件"],"Connect your site to Google Analytics in seconds with Jetpack Premium or Professional.":["透過 Jetpack 進階版或專業版,只要短短幾秒鐘,即可將你的網站連結至 Google Analytics。"],"Log in to the WordPress mobile app":["登入 WordPress 行動應用程式"],"Easily log in to the WordPress app by clicking the link we'll send to the email address on your account.":["我們會將連結傳送至你帳戶中的電子郵件地址,按一下連結就能輕鬆登入 WordPress 應用程式。"],"Email me a link to log in to the app":["將登入應用程式所需的連結透過電子郵件寄給我"],"Send your new posts to this email address:":["將你的新文章傳送至此電子郵件地址:"],"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.":["只要透過電子郵件發表文章,不須造訪網站即可快速發佈新文章。我們會產生一個獨一無二的電子郵件地址,當你將內容傳送至該地址時,內容就會出現在你的網站上,就和一般文章一樣。"],"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.":["WordPress.com 工具列會取代預設的 WordPress 管理員工具列。只要按一下工具列,即可存取通知、WordPress.com 個人檔案,以及你其他的 Jetpack 與 WordPress.com 網站。你也可以掌握讀取器中關注的網站最新內容。"],"Verify site ownership with third party services":["透過第三方服務驗證網站所有權"],"Generate shortened URLs for simpler sharing.":["產生簡短的 URL,更方便分享。"],"Keep your visitors engaged with related content at the bottom of each post. These settings won't apply to {{a}}related posts added using the block editor{{/a}}.":["在每篇的文章底端,透過相關內容吸引訪客繼續瀏覽。這些設定不適用於{{a}}使用區塊編輯器新增的相關文章{{/a}}。"],"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.":["此功能會在每篇文章的底端顯示相關文章,協助訪客進一步探索你的內容。"],"Jetpack automatically generates a custom {{link1}}ads.txt{{/link1}} tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. {{link2}}Check here for more details{{/link2}}.":["Jetpack 會自動產生為您的網站量身訂做的自訂 {{link1}}ads.txt{{/link1}}。如果你需要為其他網路新增其他項目,請在下方空白處,於每行新增一個項目。{{link2}}查看此處瞭解更多詳細資訊{{/link2}}。"],"Add sharing buttons to your posts and pages":["將分享按鈕新增至文章和頁面"],"Share your content to social media, reaching new audiences and increasing engagement.":["在社交媒體上分享你的內容,觸及新的讀者並增加互動。"],"Get alerts if your site goes offline. We’ll let you know when it’s back up, too.":["在你的網站離線時收到通知。網站備份時,我們也會通知你。"],"With Jetpack you can choose to have your plugins auto-updated with each new plugin release. You’ll get the latest security and bug fixes right away, ensuring your site stays secure.":["有了 Jetpack,你就可以在新的外掛程式推出時,自動更新外掛程式。你會立刻獲得最新的安全性和錯誤修正,確保你的網站安全無虞。"],"Choose which plugins to auto-update":["選擇要自動更新的外掛程式"],"Upgrade Jetpack now":["立即升級 Jetpack"],"Monetize your site by running high quality ads.":["投放高品質的廣告,以透過網站獲利。"],"Customize your social posting schedule.":["自訂你的社交媒體文章排程。"],"Expand your audience with pro SEO tools.":["透過專業的 SEO 工具增加讀者。"],"Take your site to the next level!":["讓網站更上一層樓!"],"Search support docs":["搜尋支援文件"],"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.":["需要協助嗎?瞭解如何開始使用、自訂網站、使用進階程式碼片段等等。"],"Start sharing":["開始分享"],"Optimized performance":["最佳化效能"],"Enable the “subscribe to comments” option on your comment form":["在留言表單中啟用「訂閱留言」選項"],"Enable the “subscribe to site” option on your comment form":["在留言表單中啟用「訂閱網站」選項"],"Manage advanced comment settings and grow your audience with email subscriptions.":["管理進階留言設定,並透過電子郵件訂閱增加讀者。"],"Comment form introduction":["留言表單簡介"],"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.":["Jetpack 反垃圾郵件功能 (採用 Akismet 提供的技術)。系統會透過全球垃圾郵件資料庫,檢查我們的留言和聯絡表單。"],"Failed to send login email":["無法傳送登入電子郵件"],"Login email sent":["登入電子郵件已送出"],"Sending login email…":["正在傳送登入電子郵件..."],"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}":["為了安全性而操心嗎?獲得備份、自動安全性修正和其他功能:{{a}}立即升級{{/a}}"],"Allow readers to like individual comments.":["允許讀者對個人留言按讚。"],"Enable comment likes.":["啟用留言按讚功能。"],"Allow readers to use markdown in comments.":["允許讀者在留言中使用 Markdown。"],"Show Gravatar hovercards alongside comments.":["在留言旁邊顯示 Gravatar 懸浮大頭貼。"],"Complete Jetpack Setup":["完成 Jetpack 設定"],"Your Jetpack setup progress":["Jetpack 設定進度"],"View your setup checklist":["檢視你的設定檢查清單"],"Yearly":["每年"],"Monthly":["每月"],"About Jetpack":["關於 Jetpack"],"Enable widget visibility controls to display widgets only on particular posts or pages":["啟用小工具可見度控制,僅在特定文章或頁面顯示小工具"],"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.":["小工具可見度能讓你決定要在哪些頁面上顯示哪些小工具,微調小工具內容。"],"Make extra widgets available for use on your site including subscription forms and Twitter streams":["這讓你可以在網站上提供額外的小工具,包括訂閱表單和 Twitter 串流"],"Enhance CSS customization panel":["強化 CSS 自訂面板功能"],"Writing":["寫作"],"Compose using shortcodes to embed media from popular sites":["使用簡碼撰寫,從熱門網站嵌入媒體"],"Traffic":["流量"],"You need to enter your server credentials to finish configuring Backups and Scan.":["你需要輸入伺服器憑證,才能完成備份和掃描的設定。"],"Awaiting credentials":["正在等待憑證"],"Backups and Scan are being configured for your site.":["正在為你的網站設定備份和掃描項目。"],"Provisioning":["正在佈建"],"Action needed":["需要採取的行動"],"Setting up":["正在設定"],"Discussion":["討論"],"We are configuring your site protection.":["我們正在設定你的網站防護。"],"View your site's backups":["檢視你的網站備份"],"We are backing up your site in real-time.":["我們正在即時備份你的網站。"],"Enter credentials":["輸入憑證"],"You need to enter your server's credentials to finish the setup.":["你需要輸入伺服器的憑證才能完成設定。"],"We are configuring your site's backups.":["我們正在設定你的網站備份。"],"View site activity":["檢視網站活動"],"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.":["Jetpack 可以完整記錄網站上發生的所有事件,從而釐清問題所在,使網站管理、偵錯和修復作業更加順利。"],"Explore our Jetpack plans":[""],"Support documentation":["支援文件"],"Chat bubbles representing getting in touch with support":["代表與支援團隊取得聯繫的聊天泡泡"],"Site activity":[""],"Reach a wider audience by automatically sharing your posts on social media.":["自動在社交媒體分享文章,藉此接觸更多對象。"],"Increase traffic to your site":["提高網站流量"],"Explore free themes":["探索免費佈景主題"],"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.":["無限制存取數百種專業佈景主題,並完全按照你的需求來自訂網站。"],"A wide variety of themes and tools to customize a site":["適用於自訂網站的各種佈景主題和工具"],"Set up your site security":["設定網站安全性"],"Prevent login attacks, and get instant notifications when there’s an issue with your site.":["防範登入攻擊,並且在網站發生問題時收到即時通知。"],"Site stats showing an evolution in traffic and engagement":["網站統計資料顯示流量和互動的演進情況。"],"A hand holding a loupe":["手持放大鏡"],"A chart showing an healthy increase in earnings":["圖表顯示收益成長狀況良好。"],"Interface showing a chronological list of changes and updates in a site":["介面顯示依時間順序排列的網站變更和更新清單"],"A cloud with multiple types of content floating around it":["周圍飄浮著包含不同類型內容的雲端"],"A folder holding real comments":["包含真實留言的資料夾"],"Make your site faster":["更快速地建立你的網站"],"Load pages faster by serving your images from our global network of servers.":["透過我們的全球伺服器網路提供圖片,進而縮短載入頁面的時間。"],"A fast and performant website":["快速的高效能網站"],"A secure site, locked and protected by Jetpack":["由 Jetpack 鎖定並提供防護的安全網站"],"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.":["重複現有的文章、頁面、證言和作品集。將複製包含文字、特色圖片、共用設定等在內的所有內容。"],"This site can't be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.":["此網站違反我們的{{a}}服務條款{{/a}},因此無法連結至 WordPress.com。"],"Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.":["將網站連結至你使用的社交媒體網站,只要按一下滑鼠,就能在所有社交帳號中分享你的內容。發表文章後,文章便會出現在所有已連結的帳號上。"],"Add Like buttons to your posts and pages":["將「讚」按鈕新增至文章和頁面"],"When visitors enjoy your content, let them show it with a Like.":["如果訪客喜歡你的內容,讓他們按「讚」表達。"],"Create account":["建立帳號"],"Jetpack is powering your site, but to access all of its features you’ll need to create an account.":["你的網站採用 Jetpack 技術,但你必須建立帳號才能使用全部功能。"],"Compose content the way you want to and streamline your publishing experience.":["隨心所欲撰寫內容,體驗更簡便的發佈流程。"],"Add a portfolio item":["新增作品集項目"],"Add a testimonial":["新增證言"],"Maximize your site’s visibility in search engines and view traffic stats in real time.":["在搜尋引擎中充分提升網站的可見度,以及即時檢視流量統計資料。"],"Create a Jetpack account to use this feature":["你必須建立 Jetpack 帳號才能使用此功能"],"Jetpack will continuously monitor your site, and alert you the moment downtime is detected.":["Jetpack 會持續監控你的網站,並在偵測到停機時發出警示。"],"Error enabling Site accelerator. %(error)s":["啟用網站加速器時發生錯誤。%(error)s"],"Site accelerator is now speeding up your site!":["網站加速器正在為你的網站加速!"],"Enabling Site accelerator…":["正在啟用網站加速器..."],"Error disabling site accelerator. %(error)s":["停用網站加速器時發生錯誤。%(error)s"],"Site accelerator is no longer speeding up your site!":["網站加速器無法繼續為你的網站加速!"],"Disabling site accelerator…":["正在停用網站加速器..."],"Load pages faster, optimize images, and speed up your visitors’ experience.":["加快頁面載入速度,最佳化影像品質,為訪客提供更快速的瀏覽體驗。"],"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.":["透過 Google 深入分析你的訪客和流量模式,補充 WordPress.com 的統計資料。"],"High-speed, high-definition video hosting with no third-party ads.":["裝載高速度、高畫質且沒有第三方廣告的影片。"],"Schedule unlimited tweets, Facebook posts, and other social posts in advance.":["預先排程 Twitter 推文、Facebook 文章和其他社交文章,數量沒有限制。"],"Marketing Automation":["自動化行銷"],"Activate Jetpack Search":["啟用 Jetpack Search"],"Replace the default WordPress search with better results and filtering powered by Elasticsearch.":["使用 Elasticsearch 提供的服務,讓更優異的搜尋和篩選功能取代預設的 WordPress 搜尋。"],"Start earning":["開始獲利"],"WordAds lets you earn money by displaying promotional content. Start earning today.":["WordAds 可為你刊登宣傳內容,進而賺取收入。今天開始賺取收入。"],"Spam is automatically blocked from your comments.":["系統將自動封鎖留言中的垃圾訊息。"],"Browse premium themes":["瀏覽進階版佈景主題"],"Access hundreds of beautifully designed premium themes at no extra cost.":["不必額外付費,就能享有數百款精心設計的進階版佈景主題。"],"Try a premium theme":["嘗試使用進階版佈景主題"],"View settings":["檢視設定"],"Create a Jetpack account to view your email followers":["建立 Jetpack 帳號即可檢視電子郵件關注者"],"Manage security settings":["管理安全性設定"],"Jetpack is ready for the new WordPress editor":["全新 WordPress 編輯器已可使用 Jetpack"],"Today, we are introducing the first wave of Jetpack-specific blocks built specifically for the new editor experience: Simple Payment button, Form, Map, and Markdown.":["我們會在今天推出第一波 Jetpack 專用區塊,讓你獲得全新的編輯器體驗。輕鬆付款按鈕、表單、地圖和 Markdown。"],"Build your Jetpack site with blocks":["使用區塊打造 Jetpack 網站"],"A new editor? Yes! {{a}}Learn more{{/a}}.":["全新編輯器?沒錯!{{a}}瞭解更多{{/a}}。"],"The features you rely on, adapted for the new WordPress editor.":["針對全新 WordPress 編輯器調整你常用的功能。"],"Take me to the new editor":["立即使用全新編輯器"],"Testing Jetpack Connection":["測試 Jetpack 連結"],"There was an error testing Jetpack. Error: %(error)s":["測試 Jetpack 時發生錯誤。錯誤:%(error)s"],"New in Jetpack!":["Jetpack 全新內容!"],"Speed up static file load times":["加速靜態檔案載入時間"],"Speed up image load times":["加速影像載入時間"],"Enable site accelerator":["啟用網站加速器"],"Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.":["透過我們的全球伺服器網路提供圖片和靜態檔案 (如 CSS 和 JavaScript),讓 Jetpack 最佳化你的圖片,藉此來加快載入頁面的速度。"],"Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.":["藉由啟用 WordPress.com 登入和安全驗證,為你的網站安全提供多一層安全防護。如果在多個網站上啟用這個選項,就能使用相同的憑證登入每個網站。"],"View your site activity":["檢視你的網站活動"],"View a chronological list of all the changes and updates to your site in an organized, readable way.":["檢視依時間排列的清單,透過有條不紊、一目了然的方式瞭解網站所有變更和更新。"],"Manually Verify ":["手動驗證"],"Verify with Google":["使用 Google 驗證"],"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.":["Google 會以電子郵件通知你網站發生的某些事件,包括網站已{{a1}}遭到入侵{{/a1}}的跡象,或對網站{{a2}}進行編目或建立索引{{/a2}}時發生問題。"],"or":["或"],"Monitor your site's traffic and performance from the {{a}}Google Search Console{{/a}}.":["從 {{a}}Google Search Console{{/a}} 監控網站的流量。"],"Your site is verified with Google":["你的網站已透過 Google 驗證"],"Site failed to verify: %(error)s":["網站無法驗證:%(error)s"],"Add faster, more advanced searching to your site with Jetpack Professional.":["選擇 Jetpack 專業版方案,為你的網站加入速度更快的進階搜尋功能。"],"Replace WordPress built-in search with Jetpack Search, an advanced search experience":["以 Jetpack 搜尋取代 WordPress 內建搜尋功能,獲得進階的搜尋體驗"],"Jetpack Search replaces the built-in search with a fast, scalable, customizable, and highly-relevant search hosted in the WordPress.com cloud. The result: Your users find the content they want, faster.":["Jetpack Search 取代了內建搜尋功能,可快速搜尋託管在 WordPress.com 雲端上的內容,不但可擴充、可自訂,而且結果高度相關。讓你的使用者更快找到他們想要的內容。"],"The built-in WordPress search is great for sites without much content. But as your site grows, searches slow down and return less relevant results.":["內建 WordPress 搜尋功能適合內容較少的網站,但隨著你的網站逐漸成長,搜尋速度就會變慢,而且會傳回較少相關的搜尋結果。"],"Jetpack Search supports many customizations.":["Jetpack Search 支援許多自訂內容,"],"Site is verified":["網站已完成驗證"],"Spam filtering and priority support.":["過濾垃圾訊息和優先支援。"],"When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.":["啟用廣告後,Jetpack 會自動產生為您的網站量身訂做的自訂 ads.txt。"],"Custom ads.txt entries":["自訂 ads.txt 項目"],"Privacy information":["隱私權資訊"],"Enable Lazy Loading for images":["啟用延緩載入圖片功能"],"Lazy-loading images will improve your site’s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.":[""],"Performance & speed":["效能與速度"],"Enable high-speed, ad-free video player":["啟用高速的無廣告影片播放器"],"Make the content you publish more engaging with high-resolution video. With Jetpack Video you can customize your media player and deliver high-speed, ad-free, and unbranded videos to your visitors. Videos are hosted on our WordPress.com servers and do not subtract space from your hosting plan!":["加入高解析度影片,讓你發佈的內容更加吸引。你可以透過 Jetpack 影片自訂媒體播放器,為訪客呈現高速、無廣告和品牌牌示的影片。WordPress.com 伺服器會託管你的影片,而且不會佔用你的託管方案空間!"],"Video":["影片"],"Carousel color scheme":["隨選顏色配置"],"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.":["Exif 資料會為讀者顯示相片的額外技術詳細資料,例如焦距、光圈和 ISO。"],"Show photo Exif metadata in carousel (when available)":["在資料可用時,於隨選區顯示相片 Exif 中繼資料"],"Display images in a full-screen carousel gallery":["在全螢幕隨選區圖庫中顯示圖片"],"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.":["為你文章和頁面中的圖片建立全螢幕隨選區投影片。隨選區圖庫適用於行動裝置,同時鼓勵訪客與你的相片互動。"],"Portfolios shortcode: [portfolio]":["作品集簡碼:[portfolio]"],"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.":["在你的網站上使用{{portfolioLink}}作品集{{/portfolioLink}}來展示你的佳作。如果你的佈景主題不支援 Jetpack 個人作品集,你仍然可以使用簡單的簡碼在網站上展示你的作品。"],"Testimonials shortcode: [testimonials]":["證言簡碼:[testimonials]"],"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.":["在你的網站中加入{{testimonialLink}}證言{{/testimonialLink}}來吸引新的顧客。如果你的佈景主題不支援 Jetpack 證言,你仍然可以使用簡單的簡碼在網站上顯示證言。"],"Search engines can't access your site at the moment. If you'd like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \"Search Engine Visibility\" on.":["搜尋引擎目前無法存取你的網站。若要讓訪客存取你的網站,請檢查你的{{a}}閱讀設定{{/a}}並開啟「搜尋引擎可見度」。"],"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.":["好消息:Jetpack 已自動將你的網站地圖傳送給所有主要搜尋引擎進行索引。"],"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.":["網站地圖是 Google 或 Bing 等搜尋引擎索引你網站所使用的檔案。網站地圖可以協助改善網站在搜尋結果中的排名。啟用這項功能後,Jetpack 會建立你的網站地圖,並在網站內容變更時自動更新。"],"Configure related posts in the Customizer":["在自訂工具中設定相關文章"],"Highlight related content with a heading":["反白標示含有標題的相關內容"],"View security scan details":["檢視安全性掃描詳細資料"],"Test your site’s compatibility with Jetpack.":[""],"Show a thumbnail image where available":["顯示可用的縮圖圖片"],"For more information on how specific Jetpack features use data and track activity, please refer to our {{privacyCenterLink}}Privacy Center{{/privacyCenterLink}}.":["若需關於特定 Jetpack 功能如何使用資料和追蹤活動的詳細資訊,請參閱我們的{{privacyCenterLink}}隱私權中心{{/privacyCenterLink}}。"],"We use other tracking tools, including some from third parties. {{cookiePolicyLink}}Read about these{{/cookiePolicyLink}} and how to control them.":["我們會使用其他的追蹤工具,包括由第三方所提供的追蹤工具。{{cookiePolicyLink}}瞭解相關資訊{{/cookiePolicyLink}}及其管理方式。"],"This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our {{pp}}privacy policy{{/pp}}.":["這類資訊有助我們改進產品、提供與你更加相關的行銷活動、帶來更為個人化的 WordPress.com 使用體驗;若要瞭解更多詳細內容,請參見我們的{{pp}}「隱私權政策」{{/pp}}。"],"Share information with our analytics tool about your use of services while logged in to your WordPress.com account. {{cookiePolicyLink}}Learn more{{/cookiePolicyLink}}.":["在登入你的 WordPress.com 帳號時,請將你的服務使用情況相關資訊與我們的分析工具分享。{{cookiePolicyLink}}瞭解更多資訊{{/cookiePolicyLink}}。"],"This feature is being managed by a site administrator. {{link}}Learn more{{/link}}.":["這個功能是由網站管理員所管理。{{link}}瞭解更多{{/link}}。"],"This feature has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["這個功能已由網站管理員停用。{{link}}瞭解更多{{/link}}。"],"This feature has been enabled by a site administrator. {{link}}Learn more{{/link}}.":["這個功能已由網站管理員啟用。{{link}}瞭解更多{{/link}}。"],"%(moduleName)s has been disabled by a site administrator. {{link}}Learn more{{/link}}.":["網站管理員已停用 %(moduleName)s。{{link}}瞭解更多{{/link}}。"],"This feature has been disabled by a site administrator.":["這個功能已由網站管理員停用。"],"%(moduleName)s has been disabled by a site administrator.":["網站管理員已停用 %(moduleName)s。"],"You can place additional ads using the Ad widget. {{link}}Try it out!{{/link}}":["您可以使用廣告小工具刊登其他廣告。{{link}}立即試用!{{/link}}"],"Configure your notification settings":["調整你的通知設定"],"Jetpack Search is a powerful replacement for the search capability built into WordPress.":["Jetpack Search 功能強大,可用來取代 WordPress 內建的搜尋功能。"],"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.":["系統會定期對你網站的檔案進行掃描,確認是否有可能會損害你安全性和資料的未授權或可疑的。"],"Plugin needs updating.":["外掛程式需要更新。"],"%(number)s":["%(number)s"],"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.":["Jetpack 的外掛程式更新可讓您選擇要自動更新的外掛程式。"],"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.":["Jetpack 會最佳化你的圖片,並從與訪客距離最近的伺服器提供圖片。使用我們的全球內容傳遞網路可大幅提升網站的載入速度。"],"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.":["Jetpack 的停機時間監控功能可持續監控你的網站,並在偵測到停機現象時立即向你發出警示。"],"Jetpack Backups allow you to easily restore or download a backup from a specific moment.":["Jetpack 備份功能可讓您輕鬆復原或下載特定時刻的備份。"],"Enables a lightweight, mobile-friendly theme that will be displayed to visitors on mobile devices.":["啟用輕量且適用於手機的佈景主題,以顯示在訪客的行動裝置上。"],"Loads the next posts automatically when the reader approaches the bottom of the page.":["讀者閱讀到網頁底部時,可自動載入後續文章。"],"Allows you to publish new posts by sending an email to a special address.":["讓你可透過寄信至特定電子郵件地址來發佈新文章。"],"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.":["新增包含所有網站、通知、WordPress.com 個人檔案和讀取器連結的工具列。"],"Provides the necessary hidden tags needed to verify your WordPress site with various services.":["提供所需的隱藏標籤,以便將你的 WordPress 網站與多項服務進行驗證。"],"Displays information on your site activity, including visitors and popular posts or pages.":["顯示網站活動相關資訊,包括訪客身分以及熱門文章或頁面。"],"Allows you to optimize your site and its content for better results in search engines.":["讓你最佳化你的網站和內容,在搜尋引擎中顯示較佳結果。"],"Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.":["將你的 WordPress 網站與 Google Analytics 整合 (Google Analytics 是一個可提供關於流量、訪客和轉換洞察報告的平台)。"],"Displays high-quality ads on your site that allow you to earn income.":["在你的網站上顯示高品質廣告,讓你賺取收入。"],"Allows you to automatically share your newest content on social media sites, including Facebook and Twitter.":["讓你將最新內容自動分享至社交媒體網站,包括 Facebook 和 Twitter。"],"Adds like buttons to your content so that visitors can show their appreciation or enjoyment.":["新增「讚」按鈕至你的內容,讓訪客能夠表達欣賞或高興的感受。"],"Allows registered users to log in to your site with their WordPress.com accounts.":["讓已註冊使用者能夠透過其 WordPress.com 帳號登入你的網站。"],"Protects your site from traditional and distributed brute force login attacks.":["保護你的網站不受傳統和分散式暴力破解攻擊。"],"Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.":["將你的網站備份至全球的 WordPress.com 伺服器,讓你在發生緊急情況或錯誤時還原內容。"],"Removes spam from comments and contact forms.":["從留言和聯絡表單移除垃圾留言。"],"We are committed to your privacy and security. ":["我們致力維護你的隱私權及安全。"],"View all Jetpack plans":["檢視所有 Jetpack 方案"],"Manage your plan":["管理你的方案"],"Your Plan":["你的方案"],"You’re currently on Jetpack %(plan)s.":["你目前使用的 Jetpack 方案為 %(plan)s。"],"Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.":["允許讀者訂閱你的文章和留言,並透過電子郵件接收新內容的通知。"],"Replaces the standard WordPress comment form with a new comment system that includes social media login options.":["使用包含社交媒體登入選項的全新留言系統,取代標準的 WordPress 留言表單。"],"{{a}}Activate{{/a}} to replace the WordPress built-in search with Jetpack Search, an advanced search experience.":["{{a}}啟用{{/a}}以 Jetpack 搜尋取代 WordPress 內建搜尋功能,獲得進階的搜尋體驗。"],"Add Search (Jetpack) Widget":["新增搜尋 (Jetpack) 小工具"],"Jetpack Search is powering search on your site.":["「Jetpack 搜尋」為你的網站提供搜尋功能。"],"Manage your plugins":["管理你的外掛程式"],"Moderate comments":["審核留言"],"Error updating privacy settings. %(error)s":["更新隱私設定時發生錯誤。%(error)s"],"Updated privacy settings.":["已更新隱私設定。"],"Updating privacy settings…":["正在更新隱私設定…"],"Add Jetpack Search Widget":["新增 Jetpack 搜尋小工具"],"Add the Jetpack Search widget to your sidebar to configure sorting and filters.":["將 Jetpack 搜尋小工具新增到側邊欄以設定排序和篩選條件。"],"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, enhanced search, and priority support.":["完整安全性套件、行銷與營收自動化工具、無限影片託管、無限使用佈景主題、增強的搜尋功能及優先支援。"],"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.":["完整安全性套件、行銷與營收自動化工具、無限影片託管及優先支援。"],"Daily backups, spam filtering, and priority support.":["每日備份、過濾垃圾訊息和優先支援。"],"Always-on security":["全年無休的安全防護"],"Activate video hosting":["啟用視訊託管"],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["透過無限空間、一鍵復原、自動安全掃描功能及優先支援服務,即時備份所有網站資料。"],"Design the perfect website":["設計完美的網站"],"Set up Jetpack":["設定 Jetpack"],"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.":["透過無限制空間、一鍵復原以及自動安全掃描功能,即時備份所有網站資料。"],"Jetpack Search":["Jetpack 搜尋"],"Jetpack version %(version)s":["Jetpack 版本 %(version)s"],"Your site is being backed up in real time and regularly scanned for security threats.":["你的網站已即時備份,並定期執行安全性威脅掃描。"],"Daily backup of all your site data with unlimited space and one-click restores":["透過無限制的空間每日備份所有網站資料,還有一鍵復原"],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support":["透過無限制的空間即時備份所有網站資料、一鍵復原、自動安全性掃描、一鍵排除所有威脅及優先支援服務。"],"View your security activity":["檢視安全性活動"]," (powered by VaultPress).":["(由 VaultPress 建置)。"],"Customize Search Widget":["自訂搜尋小工具"],"Please correct the issue below and try again.":["請更正以下列出的問題,然後再試一次。"],"We are making sure your site stays free of security threats. You will be notified if we find one.":["我們會確保你的網站遠離安全性威脅。如果我們發現安全性威脅,你將收到通知。"],"Jetpack version":["Jetpack 版本"],"Activity":["活動"],"{{a}}View details{{/a}}":["{{a}}查看詳細資訊{{/a}}"],"Monetize your site with ads":["利用網站廣告獲利"],"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.":["按下方按鈕,即表示你同意我們的{{tosLink}}服務條款{{/tosLink}},並同意與 WordPress.com {{shareDetailsLink}}分享詳細資料{{/shareDetailsLink}}。"],"Jetpack Stats People":["Jetpack 統計使用者"],"Hello there! Your stats have been activated.":["你好!你的統計功能已啟用。"],"Just give us a little time to collect data so we can display it for you here.":["請稍候片刻,待我們收集完資料,很快就會在這裡顯示統計資料。"],"Okay, got it!":["了解!"],"Display ads below posts on":["在文章下方顯示廣告"],"Additional ad placements":["其他廣告版位"],"Top of each page":["每個頁面的頂端"],"Second ad below post":["文章下方的第二則廣告"],"Archives":["封存"],"Stars":["星星"],"Jupiter":["木星"],"Schedule posts":[""],"Activate Publicize":["啟用 Publicize"],"Your site is backed up.":["你的網站已備份。"],"Get WordPress Apps for every device":["下載適用於各種裝置的 WordPress 應用程式"],"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.":["從單一儀表板管理所有網站:無論你身在何處,都可以發表內容、追蹤統計數據、審核留言,還能使用其他許多功能。"],"Create address":["建立位址"],"Automatically share your posts to social networks":["自動將你的文章分享到社交網站"],"Updating settings…":["正在更新設定..."],"Updating Post by Email address…":["正在透過電子郵件地址更新文章..."],"Your paid plan gives you access to prioritized Jetpack support.":["你的付費方案給予你優先的 Jetpack 支援。"],"You have paid for backups but they're not yet active.":["你已購買備份功能,但尚未啟用。"],"You have paid for backups and security scanning but they’re not yet active.":["你已購買備份及安全掃描功能,但尚未啟用。"],"Click \"Set Up\" to finish installation.":["按一下「設定」以完成安裝。"],"Checking site status…":["正在檢查網站狀態..."],"Pages":["頁面"],"Access the full list of Jetpack modules available on your site.":["存取您網站上可用的 Jetpack 完整模組清單。"],"We're here to help":["我們樂意提供協助"],"Jetpack comes with free, basic support for all users.":["Jetpack 為所有使用者提供免費的基本支援。"],"Ask a question":["提出疑問"],"Search our support site":["搜尋我們的支援網站"],"Get a faster resolution to your support questions.":["讓您的支援問題更快獲得解決。"],"Host fast, high-quality, ad-free video.":["託管快速、高品質、無廣告的影片。"],"Generate income with high-quality ads.":["以高品質廣告賺取收入。"],"Real-time site backups and automatic threat resolution.":["即時網站備份與自動排除威脅。"],"Protect against data loss, malware, and malicious attacks.":["防禦資料遺失、惡意軟體及惡意攻擊。"],"Protect your site from spam.":["保護您的網站不受垃圾訊息攻擊。"],"This site is not connected to WordPress.com. Please ask the site administrator to connect.":["此網站未與 WordPress.com 連結。請要求網站管理員連結。"],"An Automattic Airline":["一個 Automattic 主公司"],"Manage site connection":["管理網站連結"],"Connect your account to WordPress.com to view more stats":["將您的帳號與 WordPress.com 連結,即可查看更多統計資料"],"Theme enhancements":["佈景主題增強項目"],"Load more posts using the default theme behavior":["使用預設佈景主題行為載入更多文章"],"Load more posts in page with a button":["使用按鈕在頁面中載入更多文章"],"Load more posts as the reader scrolls down":["隨著讀者向下捲動頁面載入更多文章"],"Theme support required.":["需要佈景主題支援。"],"Learn more about adding support for Infinite Scroll to your theme.":["可於佈景主題中加入無限捲動支援。立即深入瞭解。"],"Show excerpts instead of full posts on front page and archive pages":["在首頁和封存頁面顯示摘要而非全文"],"Show featured images":["顯示特色圖片"],"Enable the WordPress.com toolbar":["啟用 WordPress.com 工具列"],"Writing tools available to you will be shown here when an administrator enables them.":["管理員啟用撰寫工具時,您的可用撰寫工具會顯示在這裡。"],"Portfolios":["作品集"],"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.":["請注意,{{b}}不一定要使用這些服務驗證你的網站{{/b}},才可以讓搜尋引擎將你的網站加入索引。若要使用進階搜尋引擎工具,並以提供的服務驗證你的網站,請在下方貼上 HTML 標籤程式碼。如果遇到任何問題,請閱讀{{support}}完整指示{{/support}}。支援的驗證服務:{{google}}Google Search Console{{/google}}、{{bing}}Bing Webmaster Center{{/bing}}、{{pinterest}}Pinterest Site Verification{{/pinterest}} 及 {{yandex}}Yandex.Webmaster{{/yandex}}。"],"Bing":["Bing"],"Yandex":["Yandex"],"Generate XML sitemaps":["產生 XML 網站地圖"],"The image helps collect stats, but should work when hidden.":["圖片有助於蒐集統計資料,但隱藏時應正常運作。"],"Count logged in page views from":["計算從下列時間起算的登入頁面瀏覽量:"],"Allow stats reports to be viewed by":["可查看統計報告的使用者:"],"In \"Upgrade\"":["在「升級」中"],"Configure your Google Analytics settings":["調整你的 Google Analytics (分析) 設定"],"Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.":["在首頁的第一篇文章或每個頁面及文章的結尾顯示廣告。將其他廣告放在網站頂端及任何小工具區域,以增加你的收入。"],"Enable ads and display an ad below each post":["啟用廣告並在每篇文章底下顯示廣告"],"Configure your sharing buttons":["設定你的分享按鈕"],"Connect your social media accounts":["連結你的社交媒體帳號"],"Match accounts using email addresses":["使用電子郵件地址比對帳號"],"Require accounts to use WordPress.com Two-Step Authentication":["需要帳號才能使用 WordPress.com 兩步驟驗證"],"Add to whitelist":["新增至允許清單"],"You may whitelist an IP address or series of addresses preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":["你可在允許清單中新增 IP 位址或一系列的位址,以避免這些位址受到 Jetpack 封鎖。可接受 IPv4 和 IPv6。若要指定範圍,請輸入最低值及最高值,並以破折號分隔。範例:12.12.12.1-12.12.12.100"],"Your site is backed up and threat-free.":["你的網站已備份,並已排除所有威脅。"],"Checking your spam protection…":["正在檢查你的垃圾訊息防護..."],"Fetching key…":["正在擷取金鑰..."],"Your site needs an Antispam key.":["你的網站需要 Antispam 金鑰。"],"There's a problem with your Antispam API key. {{a}}Learn more{{/a}}.":["你的 Antispam API 金鑰發生問題。{{a}}瞭解更多{{/a}}。"],"Your site is not protected from spam.":["你的網站未啟用垃圾訊息防護。"],"Your Antispam key is valid.":["你的 Antispam 金鑰有效。"],"Your site is protected from spam.":["你的網站已啟用垃圾訊息防護。"],"Checking key…":["正在檢查金鑰..."],"Your API key":["你的 API 金鑰"],"If you don't already have an API key, then {{a}}get your API key here{{/a}}, and you'll be guided through the process of getting one.":["如果你還沒有 API 金鑰,則請{{a}}到這裡取得你的 API 金鑰{{/a}},系統會引導你完成申請程序。"],"No search results found for %(term)s":["找不到「%(term)s」的搜尋結果"],"Enter a search term to find settings or close search.":["輸入搜尋字詞以尋找設定或關閉搜尋。"],"Connections":["連結"],"Your site is in Development Mode, so it can not be connected to WordPress.com.":["你的網站目前為開發模式,因此無法連結 WordPress.com。"],"Your site is connected to WordPress.com.":["你的網站已與 WordPress.com 連結。"],"You are the Jetpack owner.":["你是 Jetpack 擁有者。"],"Connected as {{span}}%(username)s{{/span}}":["已以 {{span}}%(username)s{{/span}} 的身分連結"],"View your Email Followers":["查看你的電子郵件關注者"],"Color scheme":["顏色配置"],"Enable Markdown use for comments.":["啟用 Markdown 的留言功能。"],"Updated settings.":["已更新設定。"],"Error updating settings. %(error)s":["更新設定時發生錯誤。%(error)s"],"Regenerated Post by Email address.":["透過電子郵件地址重新產生文章。"],"Error regenerating Post by Email address. %(error)s":["透過電子郵件地址重新產生文章時發生錯誤。%(error)s"],"Updated settings. Refreshing page…":["已更新設定。正在重新整理頁面..."],"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}":["目前處於{{a}}開發模式{{/a}} (已停用部分功能),因為:{{reasons/}}"],"{{li}}The jetpack_development_mode filter is active{{/li}}":["{{li}}已啟用 jetpack_development_mode 篩選{{/li}}"],"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}":["{{li}}已定義 JETPACK_DEV_DEBUG 常數{{/li}}"],"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}":["{{li}}你的網站 URL 少了一個點 (例如:http://localhost){{/li}}"],"Google Analytics is a free service that complements our {{a}}built-in stats{{/a}} with different insights into your traffic. WordPress.com stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.":["Google Analytics 這項免費服務可使用流量中的不同洞察報告來補充{{a}}內建統計資料{{/a}}。WordPress.com 統計資料與 Google Analytics 會透過不同方法來識別及追蹤你網站上的活動,所以它們顯示的總點閱次數、總瀏覽次數等資料通常會有些微差異。"],"Google Analytics":["Google 分析"],"Configure Google Analytics":["設定 Google Analytics"],"Activate Google Analytics":["啟用 Google Analytics"],"Download the free apps":["下載免費 App"],"Upgrade Focus: VideoPress For Weddings":["升級重點:婚禮適用的 VideoPress"],"{{span}}You can now also configure related posts in the Customizer. {{ExternalLink}}Try it out!{{/ExternalLink}}{{/span}}":["{{span}}你現在可以在自訂工具中設定相關文章。{{ExternalLink}}試試看!{{/ExternalLink}}{{/span}}"],"By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!":["預設情況下,廣告會顯示在每個頁面、文章,或首頁第一篇文章的底部。你可以將廣告新增到網站頂端或任何小工具區域,以增加你的收入!"],"Display an ad unit at the top of your site.":["在網站頂端顯示廣告單元。"],"By activating ads, you agree to the Automattic Ads {{link}}Terms of Service{{/link}}.":["啟用廣告,即代表你同意 Automattic Ads 的{{link}}服務條款{{/link}}。"],"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.":["你的伺服器設定有誤,這代表 Jetpack Protect 無法有效保護你的網站。"],"In \"Mobile\"":["在「行動」中"],"{{link}}Configure your Monitor notification settings on WordPress.com{{/link}}":["{{link}}設定你在 WordPress.com 的 Monitor 通知設定{{/link}}"],"View your earnings":["查看你的收入"],"Configure site SEO":[""],"Activate SEO tools":["啟用 SEO 工具"],"To get started, click on Add Media in your post editor and upload a video; we’ll take care of the rest!":["若要開始使用,請按一下文章編輯器的「新增媒體」並上傳影片,剩下的工作就交給我們處理!"],"Video Hosting":["影片託管"],"SEO Tools":["SEO 工具"],"Advanced SEO tools to help your site get found when people search for relevant content.":["進階 SEO 工具有助於讓你的網站顯示在使用者的相關內容搜尋結果中。"],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":["在網站上傳無廣告和無品牌影片最輕鬆的方式。你可獲得影片播放和分享次數的統計資料,而且播放器為輕量型且回應靈敏。"],"You are running Jetpack on a staging server.":["你正在暫存伺服器上執行 Jetpack。"],"More Info":["更多資訊"],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":["{{a}}從「分享模組設定」管理按讚次數的可見度{{/a}}"],"Your current IP: %(ip)s":["你目前的IP:%(ip)s"],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":["本分頁中有未儲存的設定,如果離開,這些設定便會遺失。要繼續嗎?"],"This will reset all Jetpack options, are you sure?":["這樣會重設所有的 Jetpack 選項,你確定嗎?"],"Search for a Jetpack feature.":["搜尋 Jetpack 功能。"],"Configure your Security Scans":["設定安全性掃描"],"Subscriber":["訂閱者"],"Big iPhone/iPad Update Now Available":["有重大的 iPhone/iPad 更新可供使用"],"The WordPress for Android App Gets a Big Facelift":["Android 專用的 WordPress 應用程式已全面翻新"],"WordPress.com Likes are:":["WordPress.com 按讚功能:"],"A few catchy words to motivate your visitors to comment.":["使用一些吸引人的字詞,鼓勵訪客留言。"],"Hide the stats smiley face image":["隱藏統計資料笑臉圖片"],"Whitelisted IP addresses":["在允許清單中的 IP 位址"],"Show an ad for the WordPress mobile apps in the footer of the mobile theme":["在手機佈景主題的頁尾對 WordPress 行動應用程式顯示一則促銷活動"],"Copied!":["已複製!"],"Highlight and copy the following text to your clipboard:":["將以下文字反白標示,複製貼到你的剪貼簿:"],"Regenerate address":["重新產生位址"],"Cheatin' uh?":["喂!別偷跑喔!"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":["{{p}}你願意告訴我們為什麼未在這份{{a}}含有 2 個問題的調查{{/a}}中完成 Jetpack 連結嗎?{{/p}}{{p}}我們的免費安全性與流量功能需要 Jetpack 連結才能運作。{{/p}}"],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":["歡迎使用 {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":["你的 Jetpack 已連結。"],"You're fueled up and ready to go, Jetpack is now active.":["你已準備就緒,Jetpack 現已啟用。"],"You're fueled up and ready to go.":["你已準備就緒!"],"You are currently running a development version of Jetpack.":["你目前執行的是開發版本的 Jetpack。"],"Submit Beta feedback":["送出測試版意見回饋"],"What would you like to see on your Jetpack Dashboard?":["你希望你的 Jetpack 儀表板顯示哪些內容?"],"Let us know!":["請讓我們知道!"],"Saving…":["儲存中…"],"Save Settings":["儲存設定"],"Jetpack Stats Icon":["Jetpack 統計圖示"],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":["{{a}}啟用網站統計{{/a}}可查看詳細的統計資料、讚數、關注者和訂閱者等內容!{{a1}}瞭解詳情{{/a1}}"],"Activate Site Stats":["啟用網站統計"],"Site Backups":["網站備份"],"Upgrade":["升級"],"ACTIVE":["啟用中"],"View your spam stats":["檢視垃圾迴響統計資料"],"View your security dashboard":["檢視安全性控制台"],"Real-Time Backups":[""],"The site is in Development Mode, so you can not connect to WordPress.com.":["網站目前為開發模式,因此你無法連結 WordPress.com。"],"Link your account to WordPress.com to get the most out of Jetpack.":["將帳號連結到 WordPress.com 即可更完善地運用 Jetpack 的功能。"],"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.":["如需自動且全面的安全性威脅掃描,請{{a}}安裝並啟用{{/a}} VaultPress。"],"Jetpack is actively blocking malicious login attempts. Data will display here soon!":["Jetpack 正在主動阻擋惡意登入嘗試。這裡很快就會顯示資料!"],"Total malicious attacks blocked on your site.":["你網站阻擋的惡意攻擊總計。"],"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.":["{{a}}啟用 Protect{{/a}} 可防止你的網站受到惡意登入嘗試的侵擾。"],"All plugins are up-to-date. Awesome work!":["所有外掛程式都是最新版本。做得好!"],"Jetpack is monitoring your site. If we think your site is down, you will receive an email.":["Jetpack 正在監控你的網站。如果我們發現你的網站停機,你就會收到一封電子郵件。"],"Security":["安全性"],"Performance":["效能"],"Backup":[""],"{{a}}View backup details{{/a}}.":["{{a}}檢視備份詳細資料{{/a}}。"],"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.":["若要自動備份整個網站,請{{a}}安裝並啟用{{/a}} VaultPress。"],"Unavailable in Dev Mode.":["開發模式中無法使用。"],"Unavailable in Dev Mode":["開發模式中無法使用"],"Activating %(slug)s…":["正在啟用 %(slug)s…"],"%(slug)s has been activated.":["%(slug)s 已啟用。"],"%(slug)s failed to activate. %(error)s":["%(slug)s 無法啟用。%(error)s"],"Deactivating %(slug)s…":["正在停用 %(slug)s…"],"%(slug)s has been deactivated.":["%(slug)s 已停用。"],"%(slug)s failed to deactivate. %(error)s":["%(slug)s 無法停用。%(error)s"],"Updating %(slug)s settings…":["正在更新 %(slug)s 設定…"],"Updated %(slug)s settings.":["已更新 %(slug)s 設定。"],"Error updating %(slug)s settings. %(error)s":["更新 %(slug)s 設定時發生錯誤。%(error)s"],"Updating %(slug)s address…":["正在更新 %(slug)s 位址…"],"Regenerated %(slug)s address .":["已重新產生 %(slug)s 位址。"],"Error regenerating %(slug)s address. %(error)s":["重新產生 %(slug)s 位址時發生錯誤。%(error)s"],"Resetting Jetpack options…":["正在重設 Jetpack 選項…"],"Options reset.":["選項已重設。"],"Options failed to reset.":["無法重設選項。"],"There was an error disconnecting Jetpack. Error: %(error)s":["中斷 Jetpack 連結時發生錯誤。錯誤:%(error)s"],"Unlinking from WordPress.com":["正在從 WordPress.com 取消連結"],"Unlinked from WordPress.com.":["已從 WordPress.com 取消連結。"],"Error unlinking from WordPress.com. %(error)s":["從 WordPress.com 取消連結時發生錯誤。%(error)s"],"At A Glance":["總覽"],"Dashboard":["儀表板"],"Automattic's Privacy Policy":["Automattic 的隱私權保護政策"],"WordPress.com Terms of Service":["WordPress.com 服務條款"],"{{a}}Turn on plugin autoupdates.{{/a}}":["{{a}}開啟外掛程式自動更新。{{/a}}"],"Plugin Updates":["外掛程式更新"],"No threats found, you're good to go!":["沒有找到威脅,你可以開始使用了!"],"{{a}}Contact Support{{/a}}":["{{a}}聯絡支援團隊{{/a}}"],"{{a}}View details at VaultPress.com{{/a}}":["{{a}}到 VaultPress.com 檢視詳細資料{{/a}}"],"Uh oh, %(number)s threat found.":["糟糕,找到了 %(number)s 個威脅。"],"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.":["{{a}}啟用監控{{/a}}可在網站停機時接收電子郵件通知。"],"Loading…":["載入中…"],"Downtime monitor":[""],"{{button}}View more stats on WordPress.com {{/button}}":["{{button}}檢視更多 WordPress.com 統計資料{{/button}}"],"{{button}}View detailed stats{{/button}}":["{{button}}檢視詳細的統計資料{{/button}}"],"All-time comments":["全時段迴響次數"],"All-time views":["全時段瀏覽次數"],"%(number)s View":["%(number)s 次瀏覽"],"Best overall day":["全天最佳"],"Views today":["今天的瀏覽次數"],"Months":["月"],"Weeks":["週"],"Days":["天"],"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}":["載入統計資料時發生問題。請稍後再試,或立即到 WordPress.com {{a}}檢視你的統計資料{{/a}}"],"Click to view detailed stats.":["按一下可檢視詳細的統計資料。"],"Views: %(numberOfViews)s":["瀏覽次數:%(numberOfViews)s"],"Week of %(date)s":["%(date)s 當週"],"Site Security":["網站安全"],"Link to WordPress.com":["連結到 WordPress.com"],"Unlink me from WordPress.com":["中斷我和 WordPress.com 的連結"],"There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.":["連結 Jetpack 時發生問題。請再按一次「連結 WordPress.com」。"],"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.":["我們在連接 Jetpack 時發生問題。請停用 Jetpack 外掛程式並重新啟用,然後重新連接一次。"],"You need to stay logged in to your WordPress blog while you authorize Jetpack.":["授權 Jetpack 期間,你必須保持登入自己的 WordPress 網誌。"],"{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s":["{{s}}你的 Jetpack 發生故障。{{/s}}造成不便,敬請見諒。請稍後再試一次,如果持續發生此問題,請聯絡支援團隊並附上這段訊息:%(error_key)s"],"Disconnecting Jetpack":["正在中斷與 Jetpack 的連結"],"Learn more":["瞭解更多"],"Posts":["文章"],"Front page":["首頁頁面"],"Upload videos":[""],"Pinterest":["Pinterest"],"Google":["Google"],"Show related content after posts":["顯示文章之後的相關內容"],"Related":["相關"],"Disconnect":["關閉連結"],"Save":["儲存"],"Media":["媒體"],"Mobile Theme":["手機版主題"],"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.":["LaTeX 是強大的標記語言,能夠編寫複雜的數學公式與方程式。"],"Site Stats":["網誌統計"],"Sharing":["分享"],"Testimonials":["證言"],"Cancel":["取消"],"Comments":["迴響"],"Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.":["Jetpack 無法聯繫 WordPress.com:%(error_key)s。這通常代表著你網路主機的設定不正確。"],"WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.":["WordPress.com目前有問題,無法啟動你Jetpack。請稍後再試。"],"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).":["{{s}}你的 Jetpack 發生故障。{{/s}}無法將此網站連結到 WordPress.com。這通常代表你的網站並未允許公開存取 (localhost)。"],"Your website needs to be publicly accessible to use Jetpack: %(error_key)s":["你的網站必須允許公開存取才能使用 Jetpack:%(error_key)s"],"Edit":["編輯"],"Connected":["已連結"],"Activate":["啟用"],"Active":["執行套用"],"Settings":["設定"],"Learn More":["瞭解更多"],"Disconnect Jetpack":["中斷與 Jetpack 的連線"],"Link leads to a support document.\u0004{{b}}Note:{{/b}} This feature is being retired and will be removed from Jetpack in March. {{link}}Learn more{{/link}}":["{{b}}請注意︰{{/b}}此功能會在 3 月遭到淘汰,並從 Jetpack 中移除。{{link}}瞭解詳情{{/link}}"],"Settings header\u0004Jetpack Backup":["Jetpack 備份"],"Settings header\u0004Anti-spam":["反垃圾郵件"],"Settings header\u0004WP.me Shortlinks":["WP.me 短網址"],"Settings header\u0004Auto-update plugins":["自動更新外掛程式"],"Settings header\u0004Widgets":["小工具"],"Settings header\u0004Downtime monitoring":["停機時間監控"],"Settings header\u0004Privacy Settings":["隱私設定"],"Settings header\u0004WordPress.com toolbar":["WordPress.com 工具列"],"Settings header\u0004Composing":["撰寫"],"Settings header\u0004Site stats":["網站統計資料"],"Settings header\u0004Search engine optimization":["搜尋引擎最佳化"],"Settings header\u0004Google Analytics":["Google Analytics (分析)"],"Settings header\u0004Sharing buttons":["分享按鈕"],"Settings header\u0004Publicize connections":["Publicize 連結"],"Settings header\u0004Like buttons":["「讚」按鈕"],"Settings header\u0004Brute force attack protection":["暴力破解密碼攻擊防護"],"Settings header\u0004Backups and security scanning":["備份與安全掃描"],"Notice in the empty statistics chart\u0004No activity this period":["此期間沒有任何活動"],"Settings header, noun.\u0004WordPress.com login":["登入 WordPress.com"],"A caption for a button to log in to the WordPress mobile app.\u0004Send link":["傳送連結"],"A caption for a button to cancel an action.\u0004Cancel":["取消"],"Link to learn more about Jetpack.\u0004About":["關於"],"Navigation item. Noun. Links to a list of modules for Jetpack.\u0004Modules":["模組"],"Navigation item.\u0004Performance":["效能"],"Navigation item.\u0004My Plan":["我的方案"],"Navigation item.\u0004Dev Tools":["開發工具"],"Navigation item.\u0004Settings":["設定"],"Navigation item.\u0004Discussion":["討論"],"Navigation item.\u0004Traffic":["流量"],"Navigation item.\u0004Sharing":["分享"],"Navigation item.\u0004At A Glance":["總覽"],"Navigation item.\u0004Plans":["方案"],"Navigation item.\u0004Writing":["撰寫"],"Navigation item.\u0004Reset Options (dev only)":["重設選項 (僅限開發人員版本)"],"Navigation item.\u0004Security":["安全性"],"Navigation item.\u0004At a Glance":["總覽"],"Search term.\u0004terms of service":["服務條款"],"Search term.\u0004tos":["tos"],"Search term.\u0004gdpr":["gdpr"],"Search term.\u0004data":["資料"],"Search term.\u0004tracks":["追蹤"],"Search term.\u0004privacy":["隱私權"],"A caption for a button to upgrade an existing paid feature to a higher tier.\u0004Upgrade":["升級"],"Button caption\u0004Saving…":["正在儲存..."],"Button caption\u0004Save settings":["儲存設定"],"A heading for a block of related posts.\u0004Related":["相關文章"],"Noun, a header for a preview block in a configuration screen.\u0004Preview":["預覽"],"Short warning message\u0004Updates needed":["需要更新"],"Short label appearing near a paid feature configuration block.\u0004Paid":["付費"],"A header for a preview area in the configuration screen.\u0004Preview":["預覽"],"Ads header\u0004Ads":["廣告"],"Dashboard widget header\u0004Site connection":["網站連結"],"Dashboard widget header\u0004Account connection":["帳號連結"],"A caption for a small button to fix security issues.\u0004Threats":["威脅"],"A caption for a small button to fix security issues.\u0004FIX":["修正"],"Short warning message about new threats found.\u0004Threats found!":["找到威脅!"],"Short message informing user that the site is secure.\u0004Secure":["安全"],"Caption for a button to set up a feature.\u0004Set up":["設定"],"verb\u0004Copy":["複製"],"Shorthand for Privacy Policy.\u0004Privacy":["隱私權"],"Shorthand for Terms of Service.\u0004Terms":["條款"],"Navigation item. Noun. Links to a debugger tool for Jetpack.\u0004Debug":["偵錯"],"Example: \"412 Spam comments blocked\"\u0004Spam comments blocked.":["垃圾迴響已封鎖。"]}}} \ No newline at end of file
diff --git a/plugins/jetpack/languages/readme.txt b/plugins/jetpack/languages/readme.txt
deleted file mode 100644
index 54e30e10..00000000
--- a/plugins/jetpack/languages/readme.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-=== How To Translate Jetpack ===
-
-== Who translates Jetpack? How can I get involved? ==
-
-Anyone can help by suggesting new translations [here](https://translate.wordpress.org/projects/wp-plugins/jetpack/).
-
-Once you've suggested a new translation, a GlotPress validator will review it. They will then approve, reject, or change your suggestions. Once your changes get approved, they are automatically shipped to all Jetpack users using WordPress in your language.
-
-== How does GlotPress work? ==
-
-You can find detailed GlotPress documentation on [this page](https://en.support.wordpress.com/glotpress/).
-
-== I want to change translations locally. Where can I download the .PO file for my language? ==
-
-You'll find options to create a .PO file and export translations at the bottom of each language page in GlotPress.
diff --git a/plugins/jetpack/load-jetpack.php b/plugins/jetpack/load-jetpack.php
index fa7ba5af..d9db2d91 100644
--- a/plugins/jetpack/load-jetpack.php
+++ b/plugins/jetpack/load-jetpack.php
@@ -48,7 +48,7 @@ require_once JETPACK__PLUGIN_DIR . 'class.photon.php';
require_once JETPACK__PLUGIN_DIR . 'functions.photon.php';
require_once JETPACK__PLUGIN_DIR . 'functions.global.php';
require_once JETPACK__PLUGIN_DIR . 'functions.compat.php';
-require_once JETPACK__PLUGIN_DIR . 'functions.gallery.php';
+require_once JETPACK__PLUGIN_DIR . 'class-jetpack-gallery-settings.php';
require_once JETPACK__PLUGIN_DIR . 'functions.cookies.php';
require_once JETPACK__PLUGIN_DIR . 'require-lib.php';
require_once JETPACK__PLUGIN_DIR . 'class.jetpack-autoupdate.php';
@@ -82,6 +82,7 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
}
require_once JETPACK__PLUGIN_DIR . '_inc/lib/class.core-rest-api-endpoints.php';
+require_once JETPACK__PLUGIN_DIR . '_inc/blogging-prompts.php';
add_action( 'updating_jetpack_version', array( 'Jetpack', 'do_version_bump' ), 10, 2 );
add_filter( 'is_jetpack_site', '__return_true' );
diff --git a/plugins/jetpack/locales.php b/plugins/jetpack/locales.php
index a7314247..39dcf9d3 100644
--- a/plugins/jetpack/locales.php
+++ b/plugins/jetpack/locales.php
@@ -1,2396 +1,13 @@
<?php
-
-if ( ! class_exists( 'GP_Locale' ) ) :
-
-class GP_Locale {
- public $english_name;
- public $native_name;
- public $text_direction = 'ltr';
- public $lang_code_iso_639_1 = null;
- public $lang_code_iso_639_2 = null;
- public $lang_code_iso_639_3 = null;
- public $country_code;
- public $wp_locale;
- public $slug;
- public $nplurals = 2;
- public $plural_expression = 'n != 1';
- public $google_code = null;
- public $preferred_sans_serif_font_family = null;
- public $facebook_locale = null;
- // TODO: days, months, decimals, quotes
-
- private $_index_for_number;
-
- public function __construct( $args = array() ) {
- foreach( $args as $key => $value ) {
- $this->$key = $value;
- }
- }
-
- public static function __set_state( $state ) {
- return new GP_Locale( $state );
- }
-
- /**
- * Make deprecated properties checkable for backwards compatibility.
- *
- * @param string $name Property to check if set.
- * @return bool Whether the property is set.
- */
- public function __isset( $name ) {
- if ( 'rtl' == $name ) {
- return isset( $this->text_direction );
- }
- }
-
- /**
- * Make deprecated properties readable for backwards compatibility.
- *
- * @param string $name Property to get.
- * @return mixed Property.
- */
- public function __get( $name ) {
- if ( 'rtl' == $name ) {
- return ( 'rtl' === $this->text_direction );
- }
- }
-
- public function combined_name() {
- /* translators: combined name for locales: 1: name in English, 2: native name */
- return sprintf( _x( '%1$s/%2$s', 'locales', 'jetpack' ), $this->english_name, $this->native_name );
- }
-
- public function numbers_for_index( $index, $how_many = 3, $test_up_to = 1000 ) {
- $numbers = array();
-
- for( $number = 0; $number < $test_up_to; ++$number ) {
- if ( $this->index_for_number( $number ) == $index ) {
- $numbers[] = $number;
-
- if ( count( $numbers ) >= $how_many ) {
- break;
- }
- }
- }
-
- return $numbers;
- }
-
- public function index_for_number( $number ) {
- if ( ! isset( $this->_index_for_number ) ) {
- $gettext = new Gettext_Translations;
- $expression = $gettext->parenthesize_plural_exression( $this->plural_expression );
- $this->_index_for_number = $gettext->make_plural_form_function( $this->nplurals, $expression );
- }
-
- $f = $this->_index_for_number;
-
- return $f( $number );
- }
-
-}
-
-endif;
-
-if ( ! class_exists( 'GP_Locales' ) ) :
-
-class GP_Locales {
-
- public $locales = array();
-
- public function __construct() {
- $aa = new GP_Locale();
- $aa->english_name = 'Afar';
- $aa->native_name = 'Afaraf';
- $aa->lang_code_iso_639_1 = 'aa';
- $aa->lang_code_iso_639_2 = 'aar';
- $aa->slug = 'aa';
-
- $ae = new GP_Locale();
- $ae->english_name = 'Avestan';
- $ae->native_name = 'Avesta';
- $ae->lang_code_iso_639_1 = 'ae';
- $ae->lang_code_iso_639_2 = 'ave';
- $ae->slug = 'ae';
-
- $af = new GP_Locale();
- $af->english_name = 'Afrikaans';
- $af->native_name = 'Afrikaans';
- $af->lang_code_iso_639_1 = 'af';
- $af->lang_code_iso_639_2 = 'afr';
- $af->country_code = 'za';
- $af->wp_locale = 'af';
- $af->slug = 'af';
- $af->google_code = 'af';
- $af->facebook_locale = 'af_ZA';
-
- $ak = new GP_Locale();
- $ak->english_name = 'Akan';
- $ak->native_name = 'Akan';
- $ak->lang_code_iso_639_1 = 'ak';
- $ak->lang_code_iso_639_2 = 'aka';
- $ak->wp_locale = 'ak';
- $ak->slug = 'ak';
- $ak->facebook_locale = 'ak_GH';
-
- $am = new GP_Locale();
- $am->english_name = 'Amharic';
- $am->native_name = 'አማርኛ';
- $am->lang_code_iso_639_1 = 'am';
- $am->lang_code_iso_639_2 = 'amh';
- $am->country_code = 'et';
- $am->wp_locale = 'am';
- $am->slug = 'am';
- $am->facebook_locale = 'am_ET';
-
- $an = new GP_Locale();
- $an->english_name = 'Aragonese';
- $an->native_name = 'Aragonés';
- $an->lang_code_iso_639_1 = 'an';
- $an->lang_code_iso_639_2 = 'arg';
- $an->country_code = 'es';
- $an->slug = 'an';
-
- $ar = new GP_Locale();
- $ar->english_name = 'Arabic';
- $ar->native_name = 'العربية';
- $ar->lang_code_iso_639_1 = 'ar';
- $ar->lang_code_iso_639_2 = 'ara';
- $ar->wp_locale = 'ar';
- $ar->slug = 'ar';
- $ar->nplurals = 6;
- $ar->plural_expression = 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5';
- $ar->text_direction = 'rtl';
- $ar->preferred_sans_serif_font_family = 'Tahoma';
- $ar->google_code = 'ar';
- $ar->facebook_locale = 'ar_AR';
-
- $arq = new GP_Locale();
- $arq->english_name = 'Algerian Arabic';
- $arq->native_name = 'الدارجة الجزايرية';
- $arq->lang_code_iso_639_1 = 'ar';
- $arq->lang_code_iso_639_3 = 'arq';
- $arq->country_code = 'dz';
- $arq->wp_locale = 'arq';
- $arq->slug = 'arq';
- $arq->nplurals = 6;
- $arq->plural_expression = 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5';
- $arq->text_direction = 'rtl';
-
- $ary = new GP_Locale();
- $ary->english_name = 'Moroccan Arabic';
- $ary->native_name = 'العربية المغربية';
- $ary->lang_code_iso_639_1 = 'ar';
- $ary->lang_code_iso_639_3 = 'ary';
- $ary->country_code = 'ma';
- $ary->wp_locale = 'ary';
- $ary->slug = 'ary';
- $ary->nplurals = 6;
- $ary->plural_expression = 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5';
- $ary->text_direction = 'rtl';
-
- $as = new GP_Locale();
- $as->english_name = 'Assamese';
- $as->native_name = 'অসমীয়া';
- $as->lang_code_iso_639_1 = 'as';
- $as->lang_code_iso_639_2 = 'asm';
- $as->lang_code_iso_639_3 = 'asm';
- $as->country_code = 'in';
- $as->wp_locale = 'as';
- $as->slug = 'as';
- $as->facebook_locale = 'as_IN';
-
- $ast = new GP_Locale();
- $ast->english_name = 'Asturian';
- $ast->native_name = 'Asturianu';
- $ast->lang_code_iso_639_2 = 'ast';
- $ast->lang_code_iso_639_3 = 'ast';
- $ast->country_code = 'es';
- $ast->wp_locale = 'ast';
- $ast->slug = 'ast';
-
- $av = new GP_Locale();
- $av->english_name = 'Avaric';
- $av->native_name = 'авар мацӀ';
- $av->lang_code_iso_639_1 = 'av';
- $av->lang_code_iso_639_2 = 'ava';
- $av->slug = 'av';
-
- $ay = new GP_Locale();
- $ay->english_name = 'Aymara';
- $ay->native_name = 'aymar aru';
- $ay->lang_code_iso_639_1 = 'ay';
- $ay->lang_code_iso_639_2 = 'aym';
- $ay->slug = 'ay';
- $ay->nplurals = 1;
- $ay->plural_expression = '0';
- $ay->facebook_locale = 'ay_BO';
-
- $az = new GP_Locale();
- $az->english_name = 'Azerbaijani';
- $az->native_name = 'Azərbaycan dili';
- $az->lang_code_iso_639_1 = 'az';
- $az->lang_code_iso_639_2 = 'aze';
- $az->country_code = 'az';
- $az->wp_locale = 'az';
- $az->slug = 'az';
- $az->google_code = 'az';
- $az->facebook_locale = 'az_AZ';
-
- $azb = new GP_Locale();
- $azb->english_name = 'South Azerbaijani';
- $azb->native_name = 'گؤنئی آذربایجان';
- $azb->lang_code_iso_639_1 = 'az';
- $azb->lang_code_iso_639_3 = 'azb';
- $azb->country_code = 'ir';
- $azb->wp_locale = 'azb';
- $azb->slug = 'azb';
- $azb->text_direction = 'rtl';
-
- $az_tr = new GP_Locale();
- $az_tr->english_name = 'Azerbaijani (Turkey)';
- $az_tr->native_name = 'Azərbaycan Türkcəsi';
- $az_tr->lang_code_iso_639_1 = 'az';
- $az_tr->lang_code_iso_639_2 = 'aze';
- $az_tr->country_code = 'tr';
- $az_tr->wp_locale = 'az_TR';
- $az_tr->slug = 'az-tr';
-
- $ba = new GP_Locale();
- $ba->english_name = 'Bashkir';
- $ba->native_name = 'башҡорт теле';
- $ba->lang_code_iso_639_1 = 'ba';
- $ba->lang_code_iso_639_2 = 'bak';
- $ba->wp_locale = 'ba';
- $ba->slug = 'ba';
-
- $bal = new GP_Locale();
- $bal->english_name = 'Catalan (Balear)';
- $bal->native_name = 'Català (Balear)';
- $bal->lang_code_iso_639_2 = 'bal';
- $bal->country_code = 'es';
- $bal->wp_locale = 'bal';
- $bal->slug = 'bal';
-
- $bcc = new GP_Locale();
- $bcc->english_name = 'Balochi Southern';
- $bcc->native_name = 'بلوچی مکرانی';
- $bcc->lang_code_iso_639_3 = 'bcc';
- $bcc->country_code = 'pk';
- $bcc->wp_locale = 'bcc';
- $bcc->slug = 'bcc';
- $bcc->nplurals = 1;
- $bcc->plural_expression = '0';
- $bcc->text_direction = 'rtl';
-
- $be = new GP_Locale();
- $be->english_name = 'Belarusian';
- $be->native_name = 'Беларуская мова';
- $be->lang_code_iso_639_1 = 'be';
- $be->lang_code_iso_639_2 = 'bel';
- $be->country_code = 'by';
- $be->wp_locale = 'bel';
- $be->slug = 'bel';
- $be->nplurals = 3;
- $be->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
- $be->google_code = 'be';
- $be->facebook_locale = 'be_BY';
-
- $bg = new GP_Locale();
- $bg->english_name = 'Bulgarian';
- $bg->native_name = 'Български';
- $bg->lang_code_iso_639_1 = 'bg';
- $bg->lang_code_iso_639_2 = 'bul';
- $bg->country_code = 'bg';
- $bg->wp_locale = 'bg_BG';
- $bg->slug = 'bg';
- $bg->google_code = 'bg';
- $bg->facebook_locale = 'bg_BG';
-
- $bh = new GP_Locale();
- $bh->english_name = 'Bihari';
- $bh->native_name = 'भोजपुरी';
- $bh->lang_code_iso_639_1 = 'bh';
- $bh->lang_code_iso_639_2 = 'bih';
- $bh->slug = 'bh';
-
- $bi = new GP_Locale();
- $bi->english_name = 'Bislama';
- $bi->native_name = 'Bislama';
- $bi->lang_code_iso_639_1 = 'bi';
- $bi->lang_code_iso_639_2 = 'bis';
- $bi->country_code = 'vu';
- $bi->slug = 'bi';
-
- $bm = new GP_Locale();
- $bm->english_name = 'Bambara';
- $bm->native_name = 'Bamanankan';
- $bm->lang_code_iso_639_1 = 'bm';
- $bm->lang_code_iso_639_2 = 'bam';
- $bm->slug = 'bm';
-
- $bn_bd = new GP_Locale();
- $bn_bd->english_name = 'Bengali';
- $bn_bd->native_name = 'বাংলা';
- $bn_bd->lang_code_iso_639_1 = 'bn';
- $bn_bd->country_code = 'bn';
- $bn_bd->wp_locale = 'bn_BD';
- $bn_bd->slug = 'bn';
- $bn_bd->google_code = 'bn';
- $bn_bd->facebook_locale = 'bn_IN';
-
- $bo = new GP_Locale();
- $bo->english_name = 'Tibetan';
- $bo->native_name = 'བོད་ཡིག';
- $bo->lang_code_iso_639_1 = 'bo';
- $bo->lang_code_iso_639_2 = 'tib';
- $bo->wp_locale = 'bo';
- $bo->slug = 'bo';
- $bo->nplurals = 1;
- $bo->plural_expression = '0';
-
- $br = new GP_Locale();
- $br->english_name = 'Breton';
- $br->native_name = 'Brezhoneg';
- $br->lang_code_iso_639_1 = 'br';
- $br->lang_code_iso_639_2 = 'bre';
- $br->lang_code_iso_639_3 = 'bre';
- $br->country_code = 'fr';
- $br->wp_locale = 'bre';
- $br->slug = 'br';
- $br->nplurals = 2;
- $br->plural_expression = '(n > 1)';
- $br->facebook_locale = 'br_FR';
-
- $bs = new GP_Locale();
- $bs->english_name = 'Bosnian';
- $bs->native_name = 'Bosanski';
- $bs->lang_code_iso_639_1 = 'bs';
- $bs->lang_code_iso_639_2 = 'bos';
- $bs->country_code = 'ba';
- $bs->wp_locale = 'bs_BA';
- $bs->slug = 'bs';
- $bs->nplurals = 3;
- $bs->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
- $bs->google_code = 'bs';
- $bs->facebook_locale = 'bs_BA';
-
- $ca = new GP_Locale();
- $ca->english_name = 'Catalan';
- $ca->native_name = 'Català';
- $ca->lang_code_iso_639_1 = 'ca';
- $ca->lang_code_iso_639_2 = 'cat';
- $ca->wp_locale = 'ca';
- $ca->slug = 'ca';
- $ca->google_code = 'ca';
- $ca->facebook_locale = 'ca_ES';
-
- $ce = new GP_Locale();
- $ce->english_name = 'Chechen';
- $ce->native_name = 'Нохчийн мотт';
- $ce->lang_code_iso_639_1 = 'ce';
- $ce->lang_code_iso_639_2 = 'che';
- $ce->slug = 'ce';
-
- $ceb = new GP_Locale();
- $ceb->english_name = 'Cebuano';
- $ceb->native_name = 'Cebuano';
- $ceb->lang_code_iso_639_2 = 'ceb';
- $ceb->lang_code_iso_639_3 = 'ceb';
- $ceb->country_code = 'ph';
- $ceb->wp_locale = 'ceb';
- $ceb->slug = 'ceb';
- $ceb->facebook_locale = 'cx_PH';
-
- $ch = new GP_Locale();
- $ch->english_name = 'Chamorro';
- $ch->native_name = 'Chamoru';
- $ch->lang_code_iso_639_1 = 'ch';
- $ch->lang_code_iso_639_2 = 'cha';
- $ch->slug = 'ch';
-
- $ckb = new GP_Locale();
- $ckb->english_name = 'Kurdish (Sorani)';
- $ckb->native_name = 'كوردی‎';
- $ckb->lang_code_iso_639_1 = 'ku';
- $ckb->lang_code_iso_639_3 = 'ckb';
- $ckb->country_code = 'iq';
- $ckb->wp_locale = 'ckb';
- $ckb->slug = 'ckb';
- $ckb->text_direction = 'rtl';
- $ckb->facebook_locale = 'cb_IQ';
-
- $co = new GP_Locale();
- $co->english_name = 'Corsican';
- $co->native_name = 'Corsu';
- $co->lang_code_iso_639_1 = 'co';
- $co->lang_code_iso_639_2 = 'cos';
- $co->country_code = 'it';
- $co->wp_locale = 'co';
- $co->slug = 'co';
-
- $cr = new GP_Locale();
- $cr->english_name = 'Cree';
- $cr->native_name = 'ᓀᐦᐃᔭᐍᐏᐣ';
- $cr->lang_code_iso_639_1 = 'cr';
- $cr->lang_code_iso_639_2 = 'cre';
- $cr->country_code = 'ca';
- $cr->slug = 'cr';
-
- $cs = new GP_Locale();
- $cs->english_name = 'Czech';
- $cs->native_name = 'Čeština';
- $cs->lang_code_iso_639_1 = 'cs';
- $cs->lang_code_iso_639_2 = 'ces';
- $cs->country_code = 'cz';
- $cs->wp_locale = 'cs_CZ';
- $cs->slug = 'cs';
- $cs->nplurals = 3;
- $cs->plural_expression = '(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2';
- $cs->google_code = 'cs';
- $cs->facebook_locale = 'cs_CZ';
-
- $csb = new GP_Locale();
- $csb->english_name = 'Kashubian';
- $csb->native_name = 'Kaszëbsczi';
- $csb->lang_code_iso_639_2 = 'csb';
- $csb->slug = 'csb';
- $csb->nplurals = 3;
- $csb->plural_expression = 'n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2';
-
- $cu = new GP_Locale();
- $cu->english_name = 'Church Slavic';
- $cu->native_name = 'ѩзыкъ словѣньскъ';
- $cu->lang_code_iso_639_1 = 'cu';
- $cu->lang_code_iso_639_2 = 'chu';
- $cu->slug = 'cu';
-
- $cv = new GP_Locale();
- $cv->english_name = 'Chuvash';
- $cv->native_name = 'чӑваш чӗлхи';
- $cv->lang_code_iso_639_1 = 'cv';
- $cv->lang_code_iso_639_2 = 'chv';
- $cv->country_code = 'ru';
- $cv->slug = 'cv';
-
- $cy = new GP_Locale();
- $cy->english_name = 'Welsh';
- $cy->native_name = 'Cymraeg';
- $cy->lang_code_iso_639_1 = 'cy';
- $cy->lang_code_iso_639_2 = 'cym';
- $cy->country_code = 'gb';
- $cy->wp_locale = 'cy';
- $cy->slug = 'cy';
- $cy->nplurals = 4;
- $cy->plural_expression = '(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3';
- $cy->google_code = 'cy';
- $cy->facebook_locale = 'cy_GB';
-
- $da = new GP_Locale();
- $da->english_name = 'Danish';
- $da->native_name = 'Dansk';
- $da->lang_code_iso_639_1 = 'da';
- $da->lang_code_iso_639_2 = 'dan';
- $da->country_code = 'dk';
- $da->wp_locale = 'da_DK';
- $da->slug = 'da';
- $da->google_code = 'da';
- $da->facebook_locale = 'da_DK';
-
- $de = new GP_Locale();
- $de->english_name = 'German';
- $de->native_name = 'Deutsch';
- $de->lang_code_iso_639_1 = 'de';
- $de->country_code = 'de';
- $de->wp_locale = 'de_DE';
- $de->slug = 'de';
- $de->google_code = 'de';
- $de->facebook_locale = 'de_DE';
-
- $de_ch = new GP_Locale();
- $de_ch->english_name = 'German (Switzerland)';
- $de_ch->native_name = 'Deutsch (Schweiz)';
- $de_ch->lang_code_iso_639_1 = 'de';
- $de_ch->country_code = 'ch';
- $de_ch->wp_locale = 'de_CH';
- $de_ch->slug = 'de-ch';
- $de_ch->google_code = 'de';
-
- $dv = new GP_Locale();
- $dv->english_name = 'Dhivehi';
- $dv->native_name = 'ދިވެހި';
- $dv->lang_code_iso_639_1 = 'dv';
- $dv->lang_code_iso_639_2 = 'div';
- $dv->country_code = 'mv';
- $dv->wp_locale = 'dv';
- $dv->slug = 'dv';
- $dv->text_direction = 'rtl';
-
- $dzo = new GP_Locale();
- $dzo->english_name = 'Dzongkha';
- $dzo->native_name = 'རྫོང་ཁ';
- $dzo->lang_code_iso_639_1 = 'dz';
- $dzo->lang_code_iso_639_2 = 'dzo';
- $dzo->country_code = 'bt';
- $dzo->wp_locale = 'dzo';
- $dzo->slug = 'dzo';
- $dzo->nplurals = 1;
- $dzo->plural_expression = '0';
-
- $ewe = new GP_Locale();
- $ewe->english_name = 'Ewe';
- $ewe->native_name = 'Eʋegbe';
- $ewe->lang_code_iso_639_1 = 'ee';
- $ewe->lang_code_iso_639_2 = 'ewe';
- $ewe->lang_code_iso_639_3 = 'ewe';
- $ewe->country_code = 'gh';
- $ewe->wp_locale = 'ewe';
- $ewe->slug = 'ee';
-
- $el_po = new GP_Locale();
- $el_po->english_name = 'Greek (Polytonic)';
- $el_po->native_name = 'Greek (Polytonic)'; // TODO
- $el_po->country_code = 'gr';
- $el_po->slug = 'el-po';
-
- $el = new GP_Locale();
- $el->english_name = 'Greek';
- $el->native_name = 'Ελληνικά';
- $el->lang_code_iso_639_1 = 'el';
- $el->lang_code_iso_639_2 = 'ell';
- $el->country_code = 'gr';
- $el->wp_locale = 'el';
- $el->slug = 'el';
- $el->google_code = 'el';
- $el->facebook_locale = 'el_GR';
-
- $emoji = new GP_Locale();
- $emoji->english_name = 'Emoji';
- $emoji->native_name = "\xf0\x9f\x8c\x8f\xf0\x9f\x8c\x8d\xf0\x9f\x8c\x8e (Emoji)";
- $emoji->lang_code_iso_639_2 = 'art';
- $emoji->wp_locale = 'art_xemoji';
- $emoji->slug = 'art-xemoji';
- $emoji->nplurals = 1;
- $emoji->plural_expression = '0';
-
- $en = new GP_Locale();
- $en->english_name = 'English';
- $en->native_name = 'English';
- $en->lang_code_iso_639_1 = 'en';
- $en->country_code = 'us';
- $en->wp_locale = 'en_US';
- $en->slug = 'en';
- $en->google_code = 'en';
- $en->facebook_locale = 'en_US';
-
- $en_au = new GP_Locale();
- $en_au->english_name = 'English (Australia)';
- $en_au->native_name = 'English (Australia)';
- $en_au->lang_code_iso_639_1 = 'en';
- $en_au->lang_code_iso_639_2 = 'eng';
- $en_au->lang_code_iso_639_3 = 'eng';
- $en_au->country_code = 'au';
- $en_au->wp_locale = 'en_AU';
- $en_au->slug = 'en-au';
- $en_au->google_code = 'en';
-
- $en_ca = new GP_Locale();
- $en_ca->english_name = 'English (Canada)';
- $en_ca->native_name = 'English (Canada)';
- $en_ca->lang_code_iso_639_1 = 'en';
- $en_ca->lang_code_iso_639_2 = 'eng';
- $en_ca->lang_code_iso_639_3 = 'eng';
- $en_ca->country_code = 'ca';
- $en_ca->wp_locale = 'en_CA';
- $en_ca->slug = 'en-ca';
- $en_ca->google_code = 'en';
-
- $en_gb = new GP_Locale();
- $en_gb->english_name = 'English (UK)';
- $en_gb->native_name = 'English (UK)';
- $en_gb->lang_code_iso_639_1 = 'en';
- $en_gb->lang_code_iso_639_2 = 'eng';
- $en_gb->lang_code_iso_639_3 = 'eng';
- $en_gb->country_code = 'gb';
- $en_gb->wp_locale = 'en_GB';
- $en_gb->slug = 'en-gb';
- $en_gb->google_code = 'en';
- $en_gb->facebook_locale = 'en_GB';
-
- $en_nz = new GP_Locale();
- $en_nz->english_name = 'English (New Zealand)';
- $en_nz->native_name = 'English (New Zealand)';
- $en_nz->lang_code_iso_639_1 = 'en';
- $en_nz->lang_code_iso_639_2 = 'eng';
- $en_nz->lang_code_iso_639_3 = 'eng';
- $en_nz->country_code = 'nz';
- $en_nz->wp_locale = 'en_NZ';
- $en_nz->slug = 'en-nz';
- $en_nz->google_code = 'en';
-
- $en_za = new GP_Locale();
- $en_za->english_name = 'English (South Africa)';
- $en_za->native_name = 'English (South Africa)';
- $en_za->lang_code_iso_639_1 = 'en';
- $en_za->lang_code_iso_639_2 = 'eng';
- $en_za->lang_code_iso_639_3 = 'eng';
- $en_za->country_code = 'za';
- $en_za->wp_locale = 'en_ZA';
- $en_za->slug = 'en-za';
- $en_za->google_code = 'en';
-
- $eo = new GP_Locale();
- $eo->english_name = 'Esperanto';
- $eo->native_name = 'Esperanto';
- $eo->lang_code_iso_639_1 = 'eo';
- $eo->lang_code_iso_639_2 = 'epo';
- $eo->wp_locale = 'eo';
- $eo->slug = 'eo';
- $eo->google_code = 'eo';
- $eo->facebook_locale = 'eo_EO';
-
- $es = new GP_Locale();
- $es->english_name = 'Spanish (Spain)';
- $es->native_name = 'Español';
- $es->lang_code_iso_639_1 = 'es';
- $es->lang_code_iso_639_2 = 'spa';
- $es->lang_code_iso_639_3 = 'spa';
- $es->country_code = 'es';
- $es->wp_locale = 'es_ES';
- $es->slug = 'es';
- $es->google_code = 'es';
- $es->facebook_locale = 'es_ES';
-
- $es_ar = new GP_Locale();
- $es_ar->english_name = 'Spanish (Argentina)';
- $es_ar->native_name = 'Español de Argentina';
- $es_ar->lang_code_iso_639_1 = 'es';
- $es_ar->lang_code_iso_639_2 = 'spa';
- $es_ar->lang_code_iso_639_3 = 'spa';
- $es_ar->country_code = 'ar';
- $es_ar->wp_locale = 'es_AR';
- $es_ar->slug = 'es-ar';
- $es_ar->google_code = 'es';
- $es_ar->facebook_locale = 'es_LA';
-
- $es_cl = new GP_Locale();
- $es_cl->english_name = 'Spanish (Chile)';
- $es_cl->native_name = 'Español de Chile';
- $es_cl->lang_code_iso_639_1 = 'es';
- $es_cl->lang_code_iso_639_2 = 'spa';
- $es_cl->lang_code_iso_639_3 = 'spa';
- $es_cl->country_code = 'cl';
- $es_cl->wp_locale = 'es_CL';
- $es_cl->slug = 'es-cl';
- $es_cl->google_code = 'es';
- $es_cl->facebook_locale = 'es_CL';
-
- $es_co = new GP_Locale();
- $es_co->english_name = 'Spanish (Colombia)';
- $es_co->native_name = 'Español de Colombia';
- $es_co->lang_code_iso_639_1 = 'es';
- $es_co->lang_code_iso_639_2 = 'spa';
- $es_co->lang_code_iso_639_3 = 'spa';
- $es_co->country_code = 'co';
- $es_co->wp_locale = 'es_CO';
- $es_co->slug = 'es-co';
- $es_co->google_code = 'es';
- $es_co->facebook_locale = 'es_CO';
-
- $es_cr = new GP_Locale();
- $es_cr->english_name = 'Spanish (Costa Rica)';
- $es_cr->native_name = 'Español de Costa Rica';
- $es_cr->lang_code_iso_639_1 = 'es';
- $es_cr->lang_code_iso_639_2 = 'spa';
- $es_cr->lang_code_iso_639_3 = 'spa';
- $es_cr->country_code = 'cr';
- $es_cr->wp_locale = 'es_CR';
- $es_cr->slug = 'es-cr';
-
- $es_gt = new GP_Locale();
- $es_gt->english_name = 'Spanish (Guatemala)';
- $es_gt->native_name = 'Español de Guatemala';
- $es_gt->lang_code_iso_639_1 = 'es';
- $es_gt->lang_code_iso_639_2 = 'spa';
- $es_gt->lang_code_iso_639_3 = 'spa';
- $es_gt->country_code = 'gt';
- $es_gt->wp_locale = 'es_GT';
- $es_gt->slug = 'es-gt';
- $es_gt->google_code = 'es';
- $es_gt->facebook_locale = 'es_LA';
-
- $es_mx = new GP_Locale();
- $es_mx->english_name = 'Spanish (Mexico)';
- $es_mx->native_name = 'Español de México';
- $es_mx->lang_code_iso_639_1 = 'es';
- $es_mx->lang_code_iso_639_2 = 'spa';
- $es_mx->lang_code_iso_639_3 = 'spa';
- $es_mx->country_code = 'mx';
- $es_mx->wp_locale = 'es_MX';
- $es_mx->slug = 'es-mx';
- $es_mx->google_code = 'es';
- $es_mx->facebook_locale = 'es_MX';
-
- $es_pe = new GP_Locale();
- $es_pe->english_name = 'Spanish (Peru)';
- $es_pe->native_name = 'Español de Perú';
- $es_pe->lang_code_iso_639_1 = 'es';
- $es_pe->lang_code_iso_639_2 = 'spa';
- $es_pe->lang_code_iso_639_3 = 'spa';
- $es_pe->country_code = 'pe';
- $es_pe->wp_locale = 'es_PE';
- $es_pe->slug = 'es-pe';
- $es_pe->google_code = 'es';
- $es_pe->facebook_locale = 'es_LA';
-
- $es_pr = new GP_Locale();
- $es_pr->english_name = 'Spanish (Puerto Rico)';
- $es_pr->native_name = 'Español de Puerto Rico';
- $es_pr->lang_code_iso_639_1 = 'es';
- $es_pr->lang_code_iso_639_2 = 'spa';
- $es_pr->lang_code_iso_639_3 = 'spa';
- $es_pr->country_code = 'pr';
- $es_pr->wp_locale = 'es_PR';
- $es_pr->slug = 'es-pr';
- $es_pr->google_code = 'es';
- $es_pr->facebook_locale = 'es_LA';
-
- $es_us = new GP_Locale();
- $es_us->english_name = 'Spanish (US)';
- $es_us->native_name = 'Español de los Estados Unidos';
- $es_us->lang_code_iso_639_1 = 'es';
- $es_us->lang_code_iso_639_2 = 'spa';
- $es_us->lang_code_iso_639_3 = 'spa';
- $es_us->country_code = 'us';
- $es_us->slug = 'es-us';
-
- $es_ve = new GP_Locale();
- $es_ve->english_name = 'Spanish (Venezuela)';
- $es_ve->native_name = 'Español de Venezuela';
- $es_ve->lang_code_iso_639_1 = 'es';
- $es_ve->lang_code_iso_639_2 = 'spa';
- $es_ve->lang_code_iso_639_3 = 'spa';
- $es_ve->country_code = 've';
- $es_ve->wp_locale = 'es_VE';
- $es_ve->slug = 'es-ve';
- $es_ve->google_code = 'es';
- $es_ve->facebook_locale = 'es_VE';
-
- $et = new GP_Locale();
- $et->english_name = 'Estonian';
- $et->native_name = 'Eesti';
- $et->lang_code_iso_639_1 = 'et';
- $et->lang_code_iso_639_2 = 'est';
- $et->country_code = 'ee';
- $et->wp_locale = 'et';
- $et->slug = 'et';
- $et->google_code = 'et';
- $et->facebook_locale = 'et_EE';
-
- $eu = new GP_Locale();
- $eu->english_name = 'Basque';
- $eu->native_name = 'Euskara';
- $eu->lang_code_iso_639_1 = 'eu';
- $eu->lang_code_iso_639_2 = 'eus';
- $eu->country_code = 'es';
- $eu->wp_locale = 'eu';
- $eu->slug = 'eu';
- $eu->google_code = 'eu';
- $eu->facebook_locale = 'eu_ES';
-
- $fa = new GP_Locale();
- $fa->english_name = 'Persian';
- $fa->native_name = 'فارسی';
- $fa->lang_code_iso_639_1 = 'fa';
- $fa->lang_code_iso_639_2 = 'fas';
- $fa->wp_locale = 'fa_IR';
- $fa->slug = 'fa';
- $fa->nplurals = 1;
- $fa->plural_expression = '0';
- $fa->text_direction = 'rtl';
- $fa->google_code = 'fa';
- $fa->facebook_locale = 'fa_IR';
-
- $fa_af = new GP_Locale();
- $fa_af->english_name = 'Persian (Afghanistan)';
- $fa_af->native_name = '(فارسی (افغانستان';
- $fa_af->lang_code_iso_639_1 = 'fa';
- $fa_af->lang_code_iso_639_2 = 'fas';
- $fa_af->wp_locale = 'fa_AF';
- $fa_af->slug = 'fa-af';
- $fa_af->nplurals = 1;
- $fa_af->plural_expression = '0';
- $fa_af->text_direction = 'rtl';
- $fa_af->google_code = 'fa';
-
- $ff_sn = new GP_Locale();
- $ff_sn->english_name = 'Fulah';
- $ff_sn->native_name = 'Pulaar';
- $ff_sn->lang_code_iso_639_1 = 'ff';
- $ff_sn->lang_code_iso_639_2 = 'fuc';
- $ff_sn->country_code = 'sn';
- $ff_sn->wp_locale = 'fuc';
- $ff_sn->slug = 'fuc';
- $ff_sn->plural_expression = 'n!=1';
-
- $fi = new GP_Locale();
- $fi->english_name = 'Finnish';
- $fi->native_name = 'Suomi';
- $fi->lang_code_iso_639_1 = 'fi';
- $fi->lang_code_iso_639_2 = 'fin';
- $fi->country_code = 'fi';
- $fi->wp_locale = 'fi';
- $fi->slug = 'fi';
- $fi->google_code = 'fi';
- $fi->facebook_locale = 'fi_FI';
-
- $fj = new GP_Locale();
- $fj->english_name = 'Fijian';
- $fj->native_name = 'Vosa Vakaviti';
- $fj->lang_code_iso_639_1 = 'fj';
- $fj->lang_code_iso_639_2 = 'fij';
- $fj->country_code = 'fj';
- $fj->slug = 'fj';
-
- $fo = new GP_Locale();
- $fo->english_name = 'Faroese';
- $fo->native_name = 'Føroyskt';
- $fo->lang_code_iso_639_1 = 'fo';
- $fo->lang_code_iso_639_2 = 'fao';
- $fo->country_code = 'fo';
- $fo->wp_locale = 'fo';
- $fo->slug = 'fo';
- $fo->facebook_locale = 'fo_FO';
-
- $fr = new GP_Locale();
- $fr->english_name = 'French (France)';
- $fr->native_name = 'Français';
- $fr->lang_code_iso_639_1 = 'fr';
- $fr->country_code = 'fr';
- $fr->wp_locale = 'fr_FR';
- $fr->slug = 'fr';
- $fr->nplurals = 2;
- $fr->plural_expression = 'n > 1';
- $fr->google_code = 'fr';
- $fr->facebook_locale = 'fr_FR';
-
- $fr_be = new GP_Locale();
- $fr_be->english_name = 'French (Belgium)';
- $fr_be->native_name = 'Français de Belgique';
- $fr_be->lang_code_iso_639_1 = 'fr';
- $fr_be->lang_code_iso_639_2 = 'fra';
- $fr_be->country_code = 'be';
- $fr_be->wp_locale = 'fr_BE';
- $fr_be->slug = 'fr-be';
-
- $fr_ca = new GP_Locale();
- $fr_ca->english_name = 'French (Canada)';
- $fr_ca->native_name = 'Français du Canada';
- $fr_ca->lang_code_iso_639_1 = 'fr';
- $fr_ca->lang_code_iso_639_2 = 'fra';
- $fr_ca->country_code = 'ca';
- $fr_ca->wp_locale = 'fr_CA';
- $fr_ca->slug = 'fr-ca';
- $fr_ca->facebook_locale = 'fr_CA';
-
- $fr_ch = new GP_Locale();
- $fr_ch->english_name = 'French (Switzerland)';
- $fr_ch->native_name = 'Français de Suisse';
- $fr_ch->lang_code_iso_639_1 = 'fr';
- $fr_ch->lang_code_iso_639_2 = 'fra';
- $fr_ch->country_code = 'ch';
- $fr_ch->slug = 'fr-ch';
-
- $frp = new GP_Locale();
- $frp->english_name = 'Arpitan';
- $frp->native_name = 'Arpitan';
- $frp->lang_code_iso_639_3 = 'frp';
- $frp->country_code = 'fr';
- $frp->wp_locale = 'frp';
- $frp->slug = 'frp';
- $frp->nplurals = 2;
- $frp->plural_expression = 'n > 1';
-
- $fur = new GP_Locale();
- $fur->english_name = 'Friulian';
- $fur->native_name = 'Friulian';
- $fur->lang_code_iso_639_2 = 'fur';
- $fur->lang_code_iso_639_3 = 'fur';
- $fur->country_code = 'it';
- $fur->wp_locale = 'fur';
- $fur->slug = 'fur';
-
- $fy = new GP_Locale();
- $fy->english_name = 'Frisian';
- $fy->native_name = 'Frysk';
- $fy->lang_code_iso_639_1 = 'fy';
- $fy->lang_code_iso_639_2 = 'fry';
- $fy->country_code = 'nl';
- $fy->wp_locale = 'fy';
- $fy->slug = 'fy';
- $fy->facebook_locale = 'fy_NL';
-
- $ga = new GP_Locale();
- $ga->english_name = 'Irish';
- $ga->native_name = 'Gaelige';
- $ga->lang_code_iso_639_1 = 'ga';
- $ga->lang_code_iso_639_2 = 'gle';
- $ga->country_code = 'ie';
- $ga->slug = 'ga';
- $ga->wp_locale = 'ga';
- $ga->nplurals = 5;
- $ga->plural_expression = 'n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4';
- $ga->google_code = 'ga';
- $ga->facebook_locale = 'ga_IE';
-
- $gd = new GP_Locale();
- $gd->english_name = 'Scottish Gaelic';
- $gd->native_name = 'Gàidhlig';
- $gd->lang_code_iso_639_1 = 'gd';
- $gd->lang_code_iso_639_2 = 'gla';
- $gd->lang_code_iso_639_3 = 'gla';
- $gd->country_code = 'gb';
- $gd->wp_locale = 'gd';
- $gd->slug = 'gd';
- $gd->nplurals = 4;
- $gd->plural_expression = '(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3';
- $gd->google_code = 'gd';
-
- $gl = new GP_Locale();
- $gl->english_name = 'Galician';
- $gl->native_name = 'Galego';
- $gl->lang_code_iso_639_1 = 'gl';
- $gl->lang_code_iso_639_2 = 'glg';
- $gl->country_code = 'es';
- $gl->wp_locale = 'gl_ES';
- $gl->slug = 'gl';
- $gl->google_code = 'gl';
- $gl->facebook_locale = 'gl_ES';
-
- $gn = new GP_Locale();
- $gn->english_name = 'Guaraní';
- $gn->native_name = 'Avañe\'ẽ';
- $gn->lang_code_iso_639_1 = 'gn';
- $gn->lang_code_iso_639_2 = 'grn';
- $gn->wp_locale = 'gn';
- $gn->slug = 'gn';
-
- $gsw = new GP_Locale();
- $gsw->english_name = 'Swiss German';
- $gsw->native_name = 'Schwyzerdütsch';
- $gsw->lang_code_iso_639_2 = 'gsw';
- $gsw->lang_code_iso_639_3 = 'gsw';
- $gsw->country_code = 'ch';
- $gsw->wp_locale = 'gsw';
- $gsw->slug = 'gsw';
-
- $gu = new GP_Locale();
- $gu->english_name = 'Gujarati';
- $gu->native_name = 'ગુજરાતી';
- $gu->lang_code_iso_639_1 = 'gu';
- $gu->lang_code_iso_639_2 = 'guj';
- $gu->wp_locale = 'gu';
- $gu->slug = 'gu';
- $gu->google_code = 'gu';
- $gu->facebook_locale = 'gu_IN';
-
- $ha = new GP_Locale();
- $ha->english_name = 'Hausa (Arabic)';
- $ha->native_name = 'هَوُسَ';
- $ha->lang_code_iso_639_1 = 'ha';
- $ha->lang_code_iso_639_2 = 'hau';
- $ha->slug = 'ha';
- $ha->text_direction = 'rtl';
- $ha->google_code = 'ha';
-
- $hat = new GP_Locale();
- $hat->english_name = 'Haitian Creole';
- $hat->native_name = 'Kreyol ayisyen';
- $hat->lang_code_iso_639_1 = 'ht';
- $hat->lang_code_iso_639_2 = 'hat';
- $hat->lang_code_iso_639_3 = 'hat';
- $hat->country_code = 'ht';
- $hat->wp_locale = 'hat';
- $hat->slug = 'hat';
-
- $hau = new GP_Locale();
- $hau->english_name = 'Hausa';
- $hau->native_name = 'Harshen Hausa';
- $hau->lang_code_iso_639_1 = 'ha';
- $hau->lang_code_iso_639_2 = 'hau';
- $hau->lang_code_iso_639_3 = 'hau';
- $hau->country_code = 'ng';
- $hau->wp_locale = 'hau';
- $hau->slug = 'hau';
- $hau->google_code = 'ha';
- $hau->facebook_locale = 'ha_NG';
-
- $haw = new GP_Locale();
- $haw->english_name = 'Hawaiian';
- $haw->native_name = 'Ōlelo Hawaiʻi';
- $haw->lang_code_iso_639_2 = 'haw';
- $haw->country_code = 'us';
- $haw->wp_locale = 'haw_US';
- $haw->slug = 'haw';
-
- $haz = new GP_Locale();
- $haz->english_name = 'Hazaragi';
- $haz->native_name = 'هزاره گی';
- $haz->lang_code_iso_639_3 = 'haz';
- $haz->country_code = 'af';
- $haz->wp_locale = 'haz';
- $haz->slug = 'haz';
- $haz->text_direction = 'rtl';
-
- $he = new GP_Locale();
- $he->english_name = 'Hebrew';
- $he->native_name = 'עִבְרִית';
- $he->lang_code_iso_639_1 = 'he';
- $he->country_code = 'il';
- $he->wp_locale = 'he_IL';
- $he->slug = 'he';
- $he->text_direction = 'rtl';
- $he->google_code = 'iw';
- $he->facebook_locale = 'he_IL';
-
- $hi = new GP_Locale();
- $hi->english_name = 'Hindi';
- $hi->native_name = 'हिन्दी';
- $hi->lang_code_iso_639_1 = 'hi';
- $hi->lang_code_iso_639_2 = 'hin';
- $hi->country_code = 'in';
- $hi->wp_locale = 'hi_IN';
- $hi->slug = 'hi';
- $hi->google_code = 'hi';
- $hi->facebook_locale = 'hi_IN';
-
- $hr = new GP_Locale();
- $hr->english_name = 'Croatian';
- $hr->native_name = 'Hrvatski';
- $hr->lang_code_iso_639_1 = 'hr';
- $hr->lang_code_iso_639_2 = 'hrv';
- $hr->country_code = 'hr';
- $hr->wp_locale = 'hr';
- $hr->slug = 'hr';
- $hr->nplurals = 3;
- $hr->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
- $hr->google_code = 'hr';
- $hr->facebook_locale = 'hr_HR';
-
- $hu = new GP_Locale();
- $hu->english_name = 'Hungarian';
- $hu->native_name = 'Magyar';
- $hu->lang_code_iso_639_1 = 'hu';
- $hu->lang_code_iso_639_2 = 'hun';
- $hu->country_code = 'hu';
- $hu->wp_locale = 'hu_HU';
- $hu->slug = 'hu';
- $hu->google_code = 'hu';
- $hu->facebook_locale = 'hu_HU';
-
- $hy = new GP_Locale();
- $hy->english_name = 'Armenian';
- $hy->native_name = 'Հայերեն';
- $hy->lang_code_iso_639_1 = 'hy';
- $hy->lang_code_iso_639_2 = 'hye';
- $hy->country_code = 'am';
- $hy->wp_locale = 'hy';
- $hy->slug = 'hy';
- $hy->google_code = 'hy';
- $hy->facebook_locale = 'hy_AM';
-
- $ia = new GP_Locale();
- $ia->english_name = 'Interlingua';
- $ia->native_name = 'Interlingua';
- $ia->lang_code_iso_639_1 = 'ia';
- $ia->lang_code_iso_639_2 = 'ina';
- $ia->slug = 'ia';
-
- $id = new GP_Locale();
- $id->english_name = 'Indonesian';
- $id->native_name = 'Bahasa Indonesia';
- $id->lang_code_iso_639_1 = 'id';
- $id->lang_code_iso_639_2 = 'ind';
- $id->country_code = 'id';
- $id->wp_locale = 'id_ID';
- $id->slug = 'id';
- $id->nplurals = 2;
- $id->plural_expression = 'n > 1';
- $id->google_code = 'id';
- $id->facebook_locale = 'id_ID';
-
- $ido = new GP_Locale();
- $ido->english_name = 'Ido';
- $ido->native_name = 'Ido';
- $ido->lang_code_iso_639_1 = 'io';
- $ido->lang_code_iso_639_2 = 'ido';
- $ido->lang_code_iso_639_3 = 'ido';
- $ido->wp_locale = 'ido';
- $ido->slug = 'ido';
-
- $ike = new GP_Locale();
- $ike->english_name = 'Inuktitut';
- $ike->native_name = 'ᐃᓄᒃᑎᑐᑦ';
- $ike->lang_code_iso_639_1 = 'iu';
- $ike->lang_code_iso_639_2 = 'iku';
- $ike->country_code = 'ca';
- $ike->slug = 'ike';
-
- $ilo = new GP_Locale();
- $ilo->english_name = 'Iloko';
- $ilo->native_name = 'Pagsasao nga Iloko';
- $ilo->lang_code_iso_639_2 = 'ilo';
- $ilo->country_code = 'ph';
- $ilo->slug = 'ilo';
-
- $is = new GP_Locale();
- $is->english_name = 'Icelandic';
- $is->native_name = 'Íslenska';
- $is->lang_code_iso_639_1 = 'is';
- $is->lang_code_iso_639_2 = 'isl';
- $is->country_code = 'is';
- $is->slug = 'is';
- $is->wp_locale = 'is_IS';
- $is->nplurals = 2;
- $is->plural_expression = '(n % 100 != 1 && n % 100 != 21 && n % 100 != 31 && n % 100 != 41 && n % 100 != 51 && n % 100 != 61 && n % 100 != 71 && n % 100 != 81 && n % 100 != 91)';
- $is->google_code = 'is';
- $is->facebook_locale = 'is_IS';
-
- $it = new GP_Locale();
- $it->english_name = 'Italian';
- $it->native_name = 'Italiano';
- $it->lang_code_iso_639_1 = 'it';
- $it->lang_code_iso_639_2 = 'ita';
- $it->country_code = 'it';
- $it->wp_locale = 'it_IT';
- $it->slug = 'it';
- $it->google_code = 'it';
- $it->facebook_locale = 'it_IT';
-
- $ja = new GP_Locale();
- $ja->english_name = 'Japanese';
- $ja->native_name = '日本語';
- $ja->lang_code_iso_639_1 = 'ja';
- $ja->country_code = 'jp';
- $ja->wp_locale = 'ja';
- $ja->slug = 'ja';
- $ja->google_code = 'ja';
- $ja->facebook_locale = 'ja_JP';
- $ja->nplurals = 1;
- $ja->plural_expression = '0';
-
- $jv = new GP_Locale();
- $jv->english_name = 'Javanese';
- $jv->native_name = 'Basa Jawa';
- $jv->lang_code_iso_639_1 = 'jv';
- $jv->lang_code_iso_639_2 = 'jav';
- $jv->country_code = 'id';
- $jv->wp_locale = 'jv_ID';
- $jv->slug = 'jv';
- $jv->google_code = 'jw';
- $jv->facebook_locale = 'jv_ID';
-
- $ka = new GP_Locale();
- $ka->english_name = 'Georgian';
- $ka->native_name = 'ქართული';
- $ka->lang_code_iso_639_1 = 'ka';
- $ka->lang_code_iso_639_2 = 'kat';
- $ka->country_code = 'ge';
- $ka->wp_locale = 'ka_GE';
- $ka->slug = 'ka';
- $ka->nplurals = 1;
- $ka->plural_expression = '0';
- $ka->google_code = 'ka';
- $ka->facebook_locale = 'ka_GE';
-
- $kab = new GP_Locale();
- $kab->english_name = 'Kabyle';
- $kab->native_name = 'Taqbaylit';
- $kab->lang_code_iso_639_2 = 'kab';
- $kab->lang_code_iso_639_3 = 'kab';
- $kab->country_code = 'dz';
- $kab->wp_locale = 'kab';
- $kab->slug = 'kab';
- $kab->nplurals = 2;
- $kab->plural_expression = '(n > 1)';
-
- $kal = new GP_Locale();
- $kal->english_name = 'Greenlandic';
- $kal->native_name = 'Kalaallisut';
- $kal->lang_code_iso_639_1 = 'kl';
- $kal->lang_code_iso_639_2 = 'kal';
- $kal->lang_code_iso_639_3 = 'kal';
- $kal->country_code = 'gl';
- $kal->wp_locale = 'kal';
- $kal->slug = 'kal';
-
- $kin = new GP_Locale();
- $kin->english_name = 'Kinyarwanda';
- $kin->native_name = 'Ikinyarwanda';
- $kin->lang_code_iso_639_1 = 'rw';
- $kin->lang_code_iso_639_2 = 'kin';
- $kin->lang_code_iso_639_3 = 'kin';
- $kin->wp_locale = 'kin';
- $kin->country_code = 'rw';
- $kin->slug = 'kin';
- $kin->facebook_locale = 'rw_RW';
-
- $kk = new GP_Locale();
- $kk->english_name = 'Kazakh';
- $kk->native_name = 'Қазақ тілі';
- $kk->lang_code_iso_639_1 = 'kk';
- $kk->lang_code_iso_639_2 = 'kaz';
- $kk->country_code = 'kz';
- $kk->wp_locale = 'kk';
- $kk->slug = 'kk';
- $kk->google_code = 'kk';
- $kk->facebook_locale = 'kk_KZ';
-
- $km = new GP_Locale();
- $km->english_name = 'Khmer';
- $km->native_name = 'ភាសាខ្មែរ';
- $km->lang_code_iso_639_1 = 'km';
- $km->lang_code_iso_639_2 = 'khm';
- $km->country_code = 'kh';
- $km->wp_locale = 'km';
- $km->slug = 'km';
- $km->nplurals = 1;
- $km->plural_expression = '0';
- $km->google_code = 'km';
- $km->facebook_locale = 'km_KH';
-
- $kmr = new GP_Locale();
- $kmr->english_name = 'Kurdish (Kurmanji)';
- $kmr->native_name = 'Kurdî';
- $kmr->lang_code_iso_639_1 = 'ku';
- $kmr->lang_code_iso_639_3 = 'kmr';
- $kmr->country_code = 'tr';
- $kmr->slug = 'kmr';
- $kmr->facebook_locale = 'ku_TR';
-
- $kn = new GP_Locale();
- $kn->english_name = 'Kannada';
- $kn->native_name = 'ಕನ್ನಡ';
- $kn->lang_code_iso_639_1 = 'kn';
- $kn->lang_code_iso_639_2 = 'kan';
- $kn->country_code = 'in';
- $kn->wp_locale = 'kn';
- $kn->slug = 'kn';
- $kn->google_code = 'kn';
- $kn->facebook_locale = 'kn_IN';
-
- $ko = new GP_Locale();
- $ko->english_name = 'Korean';
- $ko->native_name = '한국어';
- $ko->lang_code_iso_639_1 = 'ko';
- $ko->lang_code_iso_639_2 = 'kor';
- $ko->country_code = 'kr';
- $ko->wp_locale = 'ko_KR';
- $ko->slug = 'ko';
- $ko->nplurals = 1;
- $ko->plural_expression = '0';
- $ko->google_code = 'ko';
- $ko->facebook_locale = 'ko_KR';
-
- $ks = new GP_Locale();
- $ks->english_name = 'Kashmiri';
- $ks->native_name = 'कश्मीरी';
- $ks->lang_code_iso_639_1 = 'ks';
- $ks->lang_code_iso_639_2 = 'kas';
- $ks->slug = 'ks';
-
- $kir = new GP_Locale();
- $kir->english_name = 'Kyrgyz';
- $kir->native_name = 'Кыргызча';
- $kir->lang_code_iso_639_1 = 'ky';
- $kir->lang_code_iso_639_2 = 'kir';
- $kir->lang_code_iso_639_3 = 'kir';
- $kir->country_code = 'kg';
- $kir->wp_locale = 'kir';
- $kir->slug = 'kir';
- $kir->nplurals = 1;
- $kir->plural_expression = '0';
- $kir->google_code = 'ky';
-
- $la = new GP_Locale();
- $la->english_name = 'Latin';
- $la->native_name = 'Latine';
- $la->lang_code_iso_639_1 = 'la';
- $la->lang_code_iso_639_2 = 'lat';
- $la->slug = 'la';
- $la->google_code = 'la';
- $la->facebook_locale = 'la_VA';
-
- $lb = new GP_Locale();
- $lb->english_name = 'Luxembourgish';
- $lb->native_name = 'Lëtzebuergesch';
- $lb->lang_code_iso_639_1 = 'lb';
- $lb->country_code = 'lu';
- $lb->wp_locale = 'lb_LU';
- $lb->slug = 'lb';
-
- $li = new GP_Locale();
- $li->english_name = 'Limburgish';
- $li->native_name = 'Limburgs';
- $li->lang_code_iso_639_1 = 'li';
- $li->lang_code_iso_639_2 = 'lim';
- $li->lang_code_iso_639_3 = 'lim';
- $li->country_code = 'nl';
- $li->wp_locale = 'li';
- $li->slug = 'li';
- $li->facebook_locale = 'li_NL';
-
- $lin = new GP_Locale();
- $lin->english_name = 'Lingala';
- $lin->native_name = 'Ngala';
- $lin->lang_code_iso_639_1 = 'ln';
- $lin->lang_code_iso_639_2 = 'lin';
- $lin->country_code = 'cd';
- $lin->wp_locale = 'lin';
- $lin->slug = 'lin';
- $lin->nplurals = 2;
- $lin->plural_expression = 'n>1';
- $lin->facebook_locale = 'ln_CD';
-
- $lmo = new GP_Locale();
- $lmo->english_name = 'Lombard';
- $lmo->native_name = 'Lombardo';
- $lmo->lang_code_iso_639_3 = 'lmo';
- $lmo->country_code = 'it';
- $lmo->wp_locale = 'lmo';
- $lmo->slug = 'lmo';
-
- $lo = new GP_Locale();
- $lo->english_name = 'Lao';
- $lo->native_name = 'ພາສາລາວ';
- $lo->lang_code_iso_639_1 = 'lo';
- $lo->lang_code_iso_639_2 = 'lao';
- $lo->country_code = 'LA';
- $lo->wp_locale = 'lo';
- $lo->slug = 'lo';
- $lo->nplurals = 1;
- $lo->plural_expression = '0';
- $lo->google_code = 'lo';
- $lo->facebook_locale = 'lo_LA';
-
- $lt = new GP_Locale();
- $lt->english_name = 'Lithuanian';
- $lt->native_name = 'Lietuvių kalba';
- $lt->lang_code_iso_639_1 = 'lt';
- $lt->lang_code_iso_639_2 = 'lit';
- $lt->country_code = 'lt';
- $lt->wp_locale = 'lt_LT';
- $lt->slug = 'lt';
- $lt->nplurals = 3;
- $lt->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)';
- $lt->google_code = 'lt';
- $lt->facebook_locale = 'lt_LT';
-
- $lug = new GP_Locale();
- $lug->english_name = 'Luganda';
- $lug->native_name = 'Oluganda';
- $lug->lang_code_iso_639_1 = 'lg';
- $lug->lang_code_iso_639_2 = 'lug';
- $lug->lang_code_iso_639_3 = 'lug';
- $lug->country_code = 'ug';
- $lug->wp_locale = 'lug';
- $lug->slug = 'lug';
-
- $lv = new GP_Locale();
- $lv->english_name = 'Latvian';
- $lv->native_name = 'Latviešu valoda';
- $lv->lang_code_iso_639_1 = 'lv';
- $lv->lang_code_iso_639_2 = 'lav';
- $lv->country_code = 'lv';
- $lv->wp_locale = 'lv';
- $lv->slug = 'lv';
- $lv->nplurals = 3;
- $lv->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)';
- $lv->google_code = 'lv';
- $lv->facebook_locale = 'lv_LV';
-
- $me = new GP_Locale();
- $me->english_name = 'Montenegrin';
- $me->native_name = 'Crnogorski jezik';
- $me->lang_code_iso_639_1 = 'me';
- $me->country_code = 'me';
- $me->wp_locale = 'me_ME';
- $me->slug = 'me';
- $me->nplurals = 3;
- $me->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
-
- $mfe = new GP_Locale();
- $mfe->english_name = 'Mauritian Creole';
- $mfe->native_name = 'Kreol Morisien';
- $mfe->lang_code_iso_639_3 = 'mfe';
- $mfe->country_code = 'mu';
- $mfe->wp_locale = 'mfe';
- $mfe->slug = 'mfe';
- $mfe->nplurals = 1;
- $mfe->plural_expression = '0';
-
- $mg = new GP_Locale();
- $mg->english_name = 'Malagasy';
- $mg->native_name = 'Malagasy';
- $mg->lang_code_iso_639_1 = 'mg';
- $mg->lang_code_iso_639_2 = 'mlg';
- $mg->country_code = 'mg';
- $mg->wp_locale = 'mg_MG';
- $mg->slug = 'mg';
- $mg->google_code = 'mg';
- $mg->facebook_locale = 'mg_MG';
-
- $mhr = new GP_Locale();
- $mhr->english_name = 'Mari (Meadow)';
- $mhr->native_name = 'Олык марий';
- $mhr->lang_code_iso_639_3 = 'mhr';
- $mhr->country_code = 'ru';
- $mhr->slug = 'mhr';
-
- $mk = new GP_Locale();
- $mk->english_name = 'Macedonian';
- $mk->native_name = 'Македонски јазик';
- $mk->lang_code_iso_639_1 = 'mk';
- $mk->lang_code_iso_639_2 = 'mkd';
- $mk->country_code = 'mk';
- $mk->wp_locale = 'mk_MK';
- $mk->slug = 'mk';
- $mk->nplurals = 2;
- $mk->plural_expression = 'n==1 || n%10==1 ? 0 : 1';
- $mk->google_code = 'mk';
- $mk->facebook_locale = 'mk_MK';
-
- $ml = new GP_Locale();
- $ml->english_name = 'Malayalam';
- $ml->native_name = 'മലയാളം';
- $ml->lang_code_iso_639_1 = 'ml';
- $ml->lang_code_iso_639_2 = 'mal';
- $ml->country_code = 'in';
- $ml->wp_locale = 'ml_IN';
- $ml->slug = 'ml';
- $ml->google_code = 'ml';
- $ml->facebook_locale = 'ml_IN';
-
- $mlt = new GP_Locale();
- $mlt->english_name = 'Maltese';
- $mlt->native_name = 'Malti';
- $mlt->lang_code_iso_639_1 = 'mt';
- $mlt->lang_code_iso_639_2 = 'mlt';
- $mlt->lang_code_iso_639_3 = 'mlt';
- $mlt->country_code = 'mt';
- $mlt->wp_locale = 'mlt';
- $mlt->slug = 'mlt';
- $mlt->nplurals = 4;
- $mlt->plural_expression = '(n==1 ? 0 : n==0 || ( n%100>1 && n%100<11) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)';
- $mlt->google_code = 'mt';
- $mlt->facebook_locale = 'mt_MT';
-
- $mn = new GP_Locale();
- $mn->english_name = 'Mongolian';
- $mn->native_name = 'Монгол';
- $mn->lang_code_iso_639_1 = 'mn';
- $mn->lang_code_iso_639_2 = 'mon';
- $mn->country_code = 'mn';
- $mn->wp_locale = 'mn';
- $mn->slug = 'mn';
- $mn->google_code = 'mn';
- $mn->facebook_locale = 'mn_MN';
-
- $mr = new GP_Locale();
- $mr->english_name = 'Marathi';
- $mr->native_name = 'मराठी';
- $mr->lang_code_iso_639_1 = 'mr';
- $mr->lang_code_iso_639_2 = 'mar';
- $mr->wp_locale = 'mr';
- $mr->slug = 'mr';
- $mr->google_code = 'mr';
- $mr->facebook_locale = 'mr_IN';
-
- $mri = new GP_Locale();
- $mri->english_name = 'Maori';
- $mri->native_name = 'Te Reo Māori';
- $mri->lang_code_iso_639_1 = 'mi';
- $mri->lang_code_iso_639_3 = 'mri';
- $mri->country_code = 'nz';
- $mri->slug = 'mri';
- $mri->wp_locale = 'mri';
- $mri->nplurals = 2;
- $mri->plural_expression = '(n > 1)';
- $mri->google_code = 'mi';
-
- $mrj = new GP_Locale();
- $mrj->english_name = 'Mari (Hill)';
- $mrj->native_name = 'Кырык мары';
- $mrj->lang_code_iso_639_3 = 'mrj';
- $mrj->country_code = 'ru';
- $mrj->slug = 'mrj';
-
- $ms = new GP_Locale();
- $ms->english_name = 'Malay';
- $ms->native_name = 'Bahasa Melayu';
- $ms->lang_code_iso_639_1 = 'ms';
- $ms->lang_code_iso_639_2 = 'msa';
- $ms->wp_locale = 'ms_MY';
- $ms->slug = 'ms';
- $ms->nplurals = 1;
- $ms->plural_expression = '0';
- $ms->google_code = 'ms';
- $ms->facebook_locale = 'ms_MY';
-
- $mwl = new GP_Locale();
- $mwl->english_name = 'Mirandese';
- $mwl->native_name = 'Mirandés';
- $mwl->lang_code_iso_639_2 = 'mwl';
- $mwl->slug = 'mwl';
-
- $my = new GP_Locale();
- $my->english_name = 'Myanmar (Burmese)';
- $my->native_name = 'ဗမာစာ';
- $my->lang_code_iso_639_1 = 'my';
- $my->lang_code_iso_639_2 = 'mya';
- $my->country_code = 'mm';
- $my->wp_locale = 'my_MM';
- $my->slug = 'mya';
- $my->google_code = 'my';
-
- $ne = new GP_Locale();
- $ne->english_name = 'Nepali';
- $ne->native_name = 'नेपाली';
- $ne->lang_code_iso_639_1 = 'ne';
- $ne->lang_code_iso_639_2 = 'nep';
- $ne->country_code = 'np';
- $ne->wp_locale = 'ne_NP';
- $ne->slug = 'ne';
- $ne->google_code = 'ne';
- $ne->facebook_locale = 'ne_NP';
-
- $nb = new GP_Locale();
- $nb->english_name = 'Norwegian (Bokmål)';
- $nb->native_name = 'Norsk bokmål';
- $nb->lang_code_iso_639_1 = 'nb';
- $nb->lang_code_iso_639_2 = 'nob';
- $nb->country_code = 'no';
- $nb->wp_locale = 'nb_NO';
- $nb->slug = 'nb';
- $nb->google_code = 'no';
- $nb->facebook_locale = 'nb_NO';
-
- $nl = new GP_Locale();
- $nl->english_name = 'Dutch';
- $nl->native_name = 'Nederlands';
- $nl->lang_code_iso_639_1 = 'nl';
- $nl->lang_code_iso_639_2 = 'nld';
- $nl->country_code = 'nl';
- $nl->wp_locale = 'nl_NL';
- $nl->slug = 'nl';
- $nl->google_code = 'nl';
- $nl->facebook_locale = 'nl_NL';
-
- $nl_be = new GP_Locale();
- $nl_be->english_name = 'Dutch (Belgium)';
- $nl_be->native_name = 'Nederlands (België)';
- $nl_be->lang_code_iso_639_1 = 'nl';
- $nl_be->lang_code_iso_639_2 = 'nld';
- $nl_be->country_code = 'be';
- $nl_be->wp_locale = 'nl_BE';
- $nl_be->slug = 'nl-be';
- $nl_be->google_code = 'nl';
-
- $nn = new GP_Locale();
- $nn->english_name = 'Norwegian (Nynorsk)';
- $nn->native_name = 'Norsk nynorsk';
- $nn->lang_code_iso_639_1 = 'nn';
- $nn->lang_code_iso_639_2 = 'nno';
- $nn->country_code = 'no';
- $nn->wp_locale = 'nn_NO';
- $nn->slug = 'nn';
- $nn->google_code = 'no';
- $nn->facebook_locale = 'nn_NO';
-
- $no = new GP_Locale();
- $no->english_name = 'Norwegian';
- $no->native_name = 'Norsk';
- $no->lang_code_iso_639_1 = 'no';
- $no->lang_code_iso_639_2 = 'nor';
- $no->country_code = 'no';
- $no->slug = 'no';
- $no->google_code = 'no';
-
- $oci = new GP_Locale();
- $oci->english_name = 'Occitan';
- $oci->native_name = 'Occitan';
- $oci->lang_code_iso_639_1 = 'oc';
- $oci->lang_code_iso_639_2 = 'oci';
- $oci->country_code = 'fr';
- $oci->wp_locale = 'oci';
- $oci->slug = 'oci';
- $oci->nplurals = 2;
- $oci->plural_expression = '(n > 1)';
-
- $orm = new GP_Locale();
- $orm->english_name = 'Oromo';
- $orm->native_name = 'Afaan Oromo';
- $orm->lang_code_iso_639_1 = 'om';
- $orm->lang_code_iso_639_2 = 'orm';
- $orm->lang_code_iso_639_3 = 'orm';
- $orm->slug = 'orm';
- $orm->plural_expression = '(n > 1)';
-
- $ory = new GP_Locale();
- $ory->english_name = 'Oriya';
- $ory->native_name = 'ଓଡ଼ିଆ';
- $ory->lang_code_iso_639_1 = 'or';
- $ory->lang_code_iso_639_2 = 'ory';
- $ory->country_code = 'in';
- $ory->wp_locale = 'ory';
- $ory->slug = 'ory';
- $ory->facebook_locale = 'or_IN';
-
- $os = new GP_Locale();
- $os->english_name = 'Ossetic';
- $os->native_name = 'Ирон';
- $os->lang_code_iso_639_1 = 'os';
- $os->lang_code_iso_639_2 = 'oss';
- $os->wp_locale = 'os';
- $os->slug = 'os';
-
- $pa = new GP_Locale();
- $pa->english_name = 'Punjabi';
- $pa->native_name = 'ਪੰਜਾਬੀ';
- $pa->lang_code_iso_639_1 = 'pa';
- $pa->lang_code_iso_639_2 = 'pan';
- $pa->country_code = 'in';
- $pa->wp_locale = 'pa_IN';
- $pa->slug = 'pa';
- $pa->google_code = 'pa';
- $pa->facebook_locale = 'pa_IN';
-
- $pap = new GP_Locale();
- $pap->english_name = 'Papiamento';
- $pap->native_name = 'Papiamentu';
- $pap->lang_code_iso_639_2 = 'pap';
- $pap->lang_code_iso_639_3 = 'pap';
- $pap->country_code = 'cw';
- $pap->wp_locale = 'pap';
- $pap->slug = 'pap';
-
- $pirate = new GP_Locale();
- $pirate->english_name = 'English (Pirate)';
- $pirate->native_name = 'English (Pirate)';
- $pirate->lang_code_iso_639_2 = 'art';
- $pirate->wp_locale = 'art_xpirate';
- $pirate->slug = 'pirate';
- $pirate->google_code = 'xx-pirate';
- $pirate->facebook_locale = 'en_PI';
-
- $pl = new GP_Locale();
- $pl->english_name = 'Polish';
- $pl->native_name = 'Polski';
- $pl->lang_code_iso_639_1 = 'pl';
- $pl->lang_code_iso_639_2 = 'pol';
- $pl->country_code = 'pl';
- $pl->wp_locale = 'pl_PL';
- $pl->slug = 'pl';
- $pl->nplurals = 3;
- $pl->plural_expression = '(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
- $pl->google_code = 'pl';
- $pl->facebook_locale = 'pl_PL';
-
- $pt_br = new GP_Locale();
- $pt_br->english_name = 'Portuguese (Brazil)';
- $pt_br->native_name = 'Português do Brasil';
- $pt_br->lang_code_iso_639_1 = 'pt';
- $pt_br->lang_code_iso_639_2 = 'por';
- $pt_br->country_code = 'br';
- $pt_br->wp_locale = 'pt_BR';
- $pt_br->slug = 'pt-br';
- $pt_br->nplurals = 2;
- $pt_br->plural_expression = '(n > 1)';
- $pt_br->google_code = 'pt-BR';
- $pt_br->facebook_locale = 'pt_BR';
-
- $pt = new GP_Locale();
- $pt->english_name = 'Portuguese (Portugal)';
- $pt->native_name = 'Português';
- $pt->lang_code_iso_639_1 = 'pt';
- $pt->country_code = 'pt';
- $pt->wp_locale = 'pt_PT';
- $pt->slug = 'pt';
- $pt->google_code = 'pt-PT';
- $pt->facebook_locale = 'pt_PT';
-
- $ps = new GP_Locale();
- $ps->english_name = 'Pashto';
- $ps->native_name = 'پښتو';
- $ps->lang_code_iso_639_1 = 'ps';
- $ps->lang_code_iso_639_2 = 'pus';
- $ps->country_code = 'af';
- $ps->wp_locale = 'ps';
- $ps->slug = 'ps';
- $ps->text_direction = 'rtl';
- $ps->facebook_locale = 'ps_AF';
-
- $rhg = new GP_Locale();
- $rhg->english_name = 'Rohingya';
- $rhg->native_name = 'Ruáinga';
- $rhg->lang_code_iso_639_3 = 'rhg';
- $rhg->country_code = 'mm';
- $rhg->wp_locale = 'rhg';
- $rhg->slug = 'rhg';
- $rhg->nplurals = 1;
- $rhg->plural_expression = '0';
-
- $ro = new GP_Locale();
- $ro->english_name = 'Romanian';
- $ro->native_name = 'Română';
- $ro->lang_code_iso_639_1 = 'ro';
- $ro->lang_code_iso_639_2 = 'ron';
- $ro->country_code = 'ro';
- $ro->wp_locale = 'ro_RO';
- $ro->slug = 'ro';
- $ro->nplurals = 3;
- $ro->plural_expression = '(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2)';
- $ro->google_code = 'ro';
- $ro->facebook_locale = 'ro_RO';
-
- $roh = new GP_Locale();
- $roh->english_name = 'Romansh';
- $roh->native_name = 'Rumantsch';
- $roh->lang_code_iso_639_2 = 'rm';
- $roh->lang_code_iso_639_3 = 'roh';
- $roh->country_code = 'ch';
- $roh->wp_locale = 'roh';
- $roh->slug = 'roh';
-
- $ru = new GP_Locale();
- $ru->english_name = 'Russian';
- $ru->native_name = 'Русский';
- $ru->lang_code_iso_639_1 = 'ru';
- $ru->lang_code_iso_639_2 = 'rus';
- $ru->country_code = 'ru';
- $ru->wp_locale = 'ru_RU';
- $ru->slug = 'ru';
- $ru->nplurals = 3;
- $ru->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
- $ru->google_code = 'ru';
- $ru->facebook_locale = 'ru_RU';
-
- $rue = new GP_Locale();
- $rue->english_name = 'Rusyn';
- $rue->native_name = 'Русиньскый';
- $rue->lang_code_iso_639_3 = 'rue';
- $rue->wp_locale = 'rue';
- $rue->slug = 'rue';
- $rue->nplurals = 3;
- $rue->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
-
- $rup = new GP_Locale();
- $rup->english_name = 'Aromanian';
- $rup->native_name = 'Armãneashce';
- $rup->lang_code_iso_639_2 = 'rup';
- $rup->lang_code_iso_639_3 = 'rup';
- $rup->country_code = 'mk';
- $rup->wp_locale = 'rup_MK';
- $rup->slug = 'rup';
-
- $sah = new GP_Locale();
- $sah->english_name = 'Sakha';
- $sah->native_name = 'Сахалыы';
- $sah->lang_code_iso_639_2 = 'sah';
- $sah->lang_code_iso_639_3 = 'sah';
- $sah->country_code = 'ru';
- $sah->wp_locale = 'sah';
- $sah->slug = 'sah';
-
- $sa_in = new GP_Locale();
- $sa_in->english_name = 'Sanskrit';
- $sa_in->native_name = 'भारतम्';
- $sa_in->lang_code_iso_639_1 = 'sa';
- $sa_in->lang_code_iso_639_2 = 'san';
- $sa_in->lang_code_iso_639_3 = 'san';
- $sa_in->country_code = 'in';
- $sa_in->wp_locale = 'sa_IN';
- $sa_in->slug = 'sa-in';
- $sa_in->facebook_locale = 'sa_IN';
-
- $scn = new GP_Locale();
- $scn->english_name = 'Sicilian';
- $scn->native_name = 'Sicilianu';
- $scn->lang_code_iso_639_3 = 'scn';
- $scn->country_code = 'it';
- $scn->wp_locale = 'scn';
- $scn->slug = 'scn';
-
- $si = new GP_Locale();
- $si->english_name = 'Sinhala';
- $si->native_name = 'සිංහල';
- $si->lang_code_iso_639_1 = 'si';
- $si->lang_code_iso_639_2 = 'sin';
- $si->country_code = 'lk';
- $si->wp_locale = 'si_LK';
- $si->slug = 'si';
- $si->google_code = 'si';
- $si->facebook_locale = 'si_LK';
-
- $sk = new GP_Locale();
- $sk->english_name = 'Slovak';
- $sk->native_name = 'Slovenčina';
- $sk->lang_code_iso_639_1 = 'sk';
- $sk->lang_code_iso_639_2 = 'slk';
- $sk->country_code = 'sk';
- $sk->slug = 'sk';
- $sk->wp_locale = 'sk_SK';
- $sk->nplurals = 3;
- $sk->plural_expression = '(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2';
- $sk->google_code = 'sk';
- $sk->facebook_locale = 'sk_SK';
-
- $skr = new GP_Locale();
- $skr->english_name = 'Saraiki';
- $skr->native_name = 'سرائیکی';
- $skr->lang_code_iso_639_3 = 'skr';
- $skr->country_code = 'pk';
- $skr->wp_locale = 'skr';
- $skr->slug = 'skr';
- $skr->nplurals = 2;
- $skr->plural_expression = '(n > 1)';
- $skr->text_direction = 'rtl';
-
- $sl = new GP_Locale();
- $sl->english_name = 'Slovenian';
- $sl->native_name = 'Slovenščina';
- $sl->lang_code_iso_639_1 = 'sl';
- $sl->lang_code_iso_639_2 = 'slv';
- $sl->country_code = 'si';
- $sl->wp_locale = 'sl_SI';
- $sl->slug = 'sl';
- $sl->nplurals = 4;
- $sl->plural_expression = '(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)';
- $sl->google_code = 'sl';
- $sl->facebook_locale = 'sl_SI';
-
- $sna = new GP_Locale();
- $sna->english_name = 'Shona';
- $sna->native_name = 'ChiShona';
- $sna->lang_code_iso_639_1 = 'sn';
- $sna->lang_code_iso_639_3 = 'sna';
- $sna->country_code = 'zw';
- $sna->wp_locale = 'sna';
- $sna->slug = 'sna';
-
- $snd = new GP_Locale();
- $snd->english_name = 'Sindhi';
- $snd->native_name = 'سنڌي';
- $snd->lang_code_iso_639_1 = 'sd';
- $snd->lang_code_iso_639_2 = 'sd';
- $snd->lang_code_iso_639_3 = 'snd';
- $snd->country_code = 'pk';
- $snd->wp_locale = 'snd';
- $snd->slug = 'snd';
- $snd->text_direction = 'rtl';
-
- $so = new GP_Locale();
- $so->english_name = 'Somali';
- $so->native_name = 'Afsoomaali';
- $so->lang_code_iso_639_1 = 'so';
- $so->lang_code_iso_639_2 = 'som';
- $so->lang_code_iso_639_3 = 'som';
- $so->country_code = 'so';
- $so->wp_locale = 'so_SO';
- $so->slug = 'so';
- $so->google_code = 'so';
- $so->facebook_locale = 'so_SO';
-
- $sq = new GP_Locale();
- $sq->english_name = 'Albanian';
- $sq->native_name = 'Shqip';
- $sq->lang_code_iso_639_1 = 'sq';
- $sq->lang_code_iso_639_2 = 'sqi';
- $sq->wp_locale = 'sq';
- $sq->country_code = 'al';
- $sq->slug = 'sq';
- $sq->google_code = 'sq';
- $sq->facebook_locale = 'sq_AL';
-
- $sq_xk = new GP_Locale();
- $sq_xk->english_name = 'Shqip (Kosovo)';
- $sq_xk->native_name = 'Për Kosovën Shqip';
- $sq_xk->lang_code_iso_639_1 = 'sq';
- $sq_xk->country_code = 'xk'; // Temporary country code until Kosovo is assigned an ISO code.
- $sq_xk->wp_locale = 'sq_XK';
- $sq_xk->slug = 'sq-xk';
-
- $sr = new GP_Locale();
- $sr->english_name = 'Serbian';
- $sr->native_name = 'Српски језик';
- $sr->lang_code_iso_639_1 = 'sr';
- $sr->lang_code_iso_639_2 = 'srp';
- $sr->country_code = 'rs';
- $sr->wp_locale = 'sr_RS';
- $sr->slug = 'sr';
- $sr->nplurals = 3;
- $sr->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
- $sr->google_code = 'sr';
- $sr->facebook_locale = 'sr_RS';
-
- $srd = new GP_Locale();
- $srd->english_name = 'Sardinian';
- $srd->native_name = 'Sardu';
- $srd->lang_code_iso_639_1 = 'sc';
- $srd->lang_code_iso_639_2 = 'srd';
- $srd->country_code = 'it';
- $srd->wp_locale = 'srd';
- $srd->slug = 'srd';
- $srd->facebook_locale = 'sc_IT';
-
- $ssw = new GP_Locale();
- $ssw->english_name = 'Swati';
- $ssw->native_name = 'SiSwati';
- $ssw->lang_code_iso_639_1 = 'ss';
- $ssw->lang_code_iso_639_2 = 'ssw';
- $ssw->lang_code_iso_639_3 = 'ssw';
- $ssw->country_code = 'sz';
- $ssw->wp_locale = 'ssw';
- $ssw->slug = 'ssw';
-
- $su = new GP_Locale();
- $su->english_name = 'Sundanese';
- $su->native_name = 'Basa Sunda';
- $su->lang_code_iso_639_1 = 'su';
- $su->lang_code_iso_639_2 = 'sun';
- $su->country_code = 'id';
- $su->wp_locale = 'su_ID';
- $su->slug = 'su';
- $su->nplurals = 1;
- $su->plural_expression = '0';
- $su->google_code = 'su';
-
- $sv = new GP_Locale();
- $sv->english_name = 'Swedish';
- $sv->native_name = 'Svenska';
- $sv->lang_code_iso_639_1 = 'sv';
- $sv->lang_code_iso_639_2 = 'swe';
- $sv->country_code = 'se';
- $sv->wp_locale = 'sv_SE';
- $sv->slug = 'sv';
- $sv->google_code = 'sv';
- $sv->facebook_locale = 'sv_SE';
-
- $sw = new GP_Locale();
- $sw->english_name = 'Swahili';
- $sw->native_name = 'Kiswahili';
- $sw->lang_code_iso_639_1 = 'sw';
- $sw->lang_code_iso_639_2 = 'swa';
- $sw->wp_locale = 'sw';
- $sw->slug = 'sw';
- $sw->google_code = 'sw';
- $sw->facebook_locale = 'sw_KE';
-
- $syr = new GP_Locale();
- $syr->english_name = 'Syriac';
- $syr->native_name = 'Syriac';
- $syr->lang_code_iso_639_3 = 'syr';
- $syr->country_code = 'iq';
- $syr->wp_locale = 'syr';
- $syr->slug = 'syr';
-
- $szl = new GP_Locale();
- $szl->english_name = 'Silesian';
- $szl->native_name = 'Ślōnskŏ gŏdka';
- $szl->lang_code_iso_639_3 = 'szl';
- $szl->country_code = 'pl';
- $szl->wp_locale = 'szl';
- $szl->slug = 'szl';
- $szl->nplurals = 3;
- $szl->plural_expression = '(n==1 ? 0 : n%10>=2 && n%10<=4 && n%100==20 ? 1 : 2)';
- $szl->facebook_locale = 'sz_PL';
-
- $ta = new GP_Locale();
- $ta->english_name = 'Tamil';
- $ta->native_name = 'தமிழ்';
- $ta->lang_code_iso_639_1 = 'ta';
- $ta->lang_code_iso_639_2 = 'tam';
- $ta->country_code = 'in';
- $ta->wp_locale = 'ta_IN';
- $ta->slug = 'ta';
- $ta->google_code = 'ta';
- $ta->facebook_locale = 'ta_IN';
-
- $ta_lk = new GP_Locale();
- $ta_lk->english_name = 'Tamil (Sri Lanka)';
- $ta_lk->native_name = 'தமிழ்';
- $ta_lk->lang_code_iso_639_1 = 'ta';
- $ta_lk->lang_code_iso_639_2 = 'tam';
- $ta_lk->country_code = 'lk';
- $ta_lk->wp_locale = 'ta_LK';
- $ta_lk->slug = 'ta-lk';
- $ta_lk->google_code = 'ta';
-
- $tah = new GP_Locale();
- $tah->english_name = 'Tahitian';
- $tah->native_name = 'Reo Tahiti';
- $tah->lang_code_iso_639_1 = 'ty';
- $tah->lang_code_iso_639_2 = 'tah';
- $tah->lang_code_iso_639_3 = 'tah';
- $tah->country_code = 'fr';
- $tah->wp_locale = 'tah';
- $tah->slug = 'tah';
- $tah->nplurals = 2;
- $tah->plural_expression = '(n > 1)';
-
- $te = new GP_Locale();
- $te->english_name = 'Telugu';
- $te->native_name = 'తెలుగు';
- $te->lang_code_iso_639_1 = 'te';
- $te->lang_code_iso_639_2 = 'tel';
- $te->wp_locale = 'te';
- $te->slug = 'te';
- $te->google_code = 'te';
- $te->facebook_locale = 'te_IN';
-
- $tg = new GP_Locale();
- $tg->english_name = 'Tajik';
- $tg->native_name = 'Тоҷикӣ';
- $tg->lang_code_iso_639_1 = 'tg';
- $tg->lang_code_iso_639_2 = 'tgk';
- $tah->country_code = 'tj';
- $tg->wp_locale = 'tg';
- $tg->slug = 'tg';
- $tg->google_code = 'tg';
- $tg->facebook_locale = 'tg_TJ';
-
- $th = new GP_Locale();
- $th->english_name = 'Thai';
- $th->native_name = 'ไทย';
- $th->lang_code_iso_639_1 = 'th';
- $th->lang_code_iso_639_2 = 'tha';
- $th->wp_locale = 'th';
- $th->slug = 'th';
- $th->nplurals = 1;
- $th->plural_expression = '0';
- $th->google_code = 'th';
- $th->facebook_locale = 'th_TH';
-
- $tir = new GP_Locale();
- $tir->english_name = 'Tigrinya';
- $tir->native_name = 'ትግርኛ';
- $tir->lang_code_iso_639_1 = 'ti';
- $tir->lang_code_iso_639_2 = 'tir';
- $tir->country_code = 'er';
- $tir->wp_locale = 'tir';
- $tir->slug = 'tir';
- $tir->nplurals = 1;
- $tir->plural_expression = '0';
-
- $tlh = new GP_Locale();
- $tlh->english_name = 'Klingon';
- $tlh->native_name = 'TlhIngan';
- $tlh->lang_code_iso_639_2 = 'tlh';
- $tlh->slug = 'tlh';
- $tlh->nplurals = 1;
- $tlh->plural_expression = '0';
- $tlh->facebook_locale = 'tl_ST';
-
- $tl = new GP_Locale();
- $tl->english_name = 'Tagalog';
- $tl->native_name = 'Tagalog';
- $tl->lang_code_iso_639_1 = 'tl';
- $tl->lang_code_iso_639_2 = 'tgl';
- $tl->country_code = 'ph';
- $tl->wp_locale = 'tl';
- $tl->slug = 'tl';
- $tl->google_code = 'tl';
- $tl->facebook_locale = 'tl_PH';
-
- $tr = new GP_Locale();
- $tr->english_name = 'Turkish';
- $tr->native_name = 'Türkçe';
- $tr->lang_code_iso_639_1 = 'tr';
- $tr->lang_code_iso_639_2 = 'tur';
- $tr->country_code = 'tr';
- $tr->wp_locale = 'tr_TR';
- $tr->slug = 'tr';
- $tr->nplurals = 2;
- $tr->plural_expression = '(n > 1)';
- $tr->google_code = 'tr';
- $tr->facebook_locale = 'tr_TR';
-
- $tt_ru = new GP_Locale();
- $tt_ru->english_name = 'Tatar';
- $tt_ru->native_name = 'Татар теле';
- $tt_ru->lang_code_iso_639_1 = 'tt';
- $tt_ru->lang_code_iso_639_2 = 'tat';
- $tt_ru->country_code = 'ru';
- $tt_ru->wp_locale = 'tt_RU';
- $tt_ru->slug = 'tt';
- $tt_ru->nplurals = 1;
- $tt_ru->plural_expression = '0';
- $tt_ru->facebook_locale = 'tt_RU';
-
- $tuk = new GP_Locale();
- $tuk->english_name = 'Turkmen';
- $tuk->native_name = 'Türkmençe';
- $tuk->lang_code_iso_639_1 = 'tk';
- $tuk->lang_code_iso_639_2 = 'tuk';
- $tuk->country_code = 'tm';
- $tuk->wp_locale = 'tuk';
- $tuk->slug = 'tuk';
- $tuk->nplurals = 2;
- $tuk->plural_expression = '(n > 1)';
- $tuk->facebook_locale = 'tk_TM';
-
- $twd = new GP_Locale();
- $twd->english_name = 'Tweants';
- $twd->native_name = 'Twents';
- $twd->lang_code_iso_639_3 = 'twd';
- $twd->country_code = 'nl';
- $twd->wp_locale = 'twd';
- $twd->slug = 'twd';
-
- $tzm = new GP_Locale();
- $tzm->english_name = 'Tamazight (Central Atlas)';
- $tzm->native_name = 'ⵜⴰⵎⴰⵣⵉⵖⵜ';
- $tzm->lang_code_iso_639_2 = 'tzm';
- $tzm->country_code = 'ma';
- $tzm->wp_locale = 'tzm';
- $tzm->slug = 'tzm';
- $tzm->nplurals = 2;
- $tzm->plural_expression = '(n > 1)';
-
- $udm = new GP_Locale();
- $udm->english_name = 'Udmurt';
- $udm->native_name = 'Удмурт кыл';
- $udm->lang_code_iso_639_2 = 'udm';
- $udm->slug = 'udm';
-
- $ug = new GP_Locale();
- $ug->english_name = 'Uighur';
- $ug->native_name = 'ئۇيغۇرچە';
- $ug->lang_code_iso_639_1 = 'ug';
- $ug->lang_code_iso_639_2 = 'uig';
- $ug->country_code = 'cn';
- $ug->wp_locale = 'ug_CN';
- $ug->slug = 'ug';
- $ug->text_direction = 'rtl';
-
- $uk = new GP_Locale();
- $uk->english_name = 'Ukrainian';
- $uk->native_name = 'Українська';
- $uk->lang_code_iso_639_1 = 'uk';
- $uk->lang_code_iso_639_2 = 'ukr';
- $uk->country_code = 'ua';
- $uk->wp_locale = 'uk';
- $uk->slug = 'uk';
- $uk->nplurals = 3;
- $uk->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
- $uk->google_code = 'uk';
- $uk->facebook_locale = 'uk_UA';
-
- $ur = new GP_Locale();
- $ur->english_name = 'Urdu';
- $ur->native_name = 'اردو';
- $ur->lang_code_iso_639_1 = 'ur';
- $ur->lang_code_iso_639_2 = 'urd';
- $ur->country_code = 'pk';
- $ur->wp_locale = 'ur';
- $ur->slug = 'ur';
- $ur->text_direction = 'rtl';
- $ur->google_code = 'ur';
- $ur->facebook_locale = 'ur_PK';
-
- $uz = new GP_Locale();
- $uz->english_name = 'Uzbek';
- $uz->native_name = 'O‘zbekcha';
- $uz->lang_code_iso_639_1 = 'uz';
- $uz->lang_code_iso_639_2 = 'uzb';
- $uz->country_code = 'uz';
- $uz->wp_locale = 'uz_UZ';
- $uz->slug = 'uz';
- $uz->nplurals = 1;
- $uz->plural_expression = '0';
- $uz->google_code = 'uz';
- $uz->facebook_locale = 'uz_UZ';
-
- $vec = new GP_Locale();
- $vec->english_name = 'Venetian';
- $vec->native_name = 'Vèneta';
- $vec->lang_code_iso_639_2 = 'roa';
- $vec->lang_code_iso_639_3 = 'vec';
- $vec->country_code = 'it';
- $vec->slug = 'vec';
-
- $vi = new GP_Locale();
- $vi->english_name = 'Vietnamese';
- $vi->native_name = 'Tiếng Việt';
- $vi->lang_code_iso_639_1 = 'vi';
- $vi->lang_code_iso_639_2 = 'vie';
- $vi->country_code = 'vn';
- $vi->wp_locale = 'vi';
- $vi->slug = 'vi';
- $vi->nplurals = 1;
- $vi->plural_expression = '0';
- $vi->google_code = 'vi';
- $vi->facebook_locale = 'vi_VN';
-
- $wa = new GP_Locale();
- $wa->english_name = 'Walloon';
- $wa->native_name = 'Walon';
- $wa->lang_code_iso_639_1 = 'wa';
- $wa->lang_code_iso_639_2 = 'wln';
- $wa->country_code = 'be';
- $wa->wp_locale = 'wa';
- $wa->slug = 'wa';
-
- $xho = new GP_Locale();
- $xho->english_name = 'Xhosa';
- $xho->native_name = 'isiXhosa';
- $xho->lang_code_iso_639_1 = 'xh';
- $xho->lang_code_iso_639_2 = 'xho';
- $xho->lang_code_iso_639_3 = 'xho';
- $xho->country_code = 'za';
- $xho->wp_locale = 'xho';
- $xho->slug = 'xho';
- $xho->google_code = 'xh';
- $xho->facebook_locale = 'xh_ZA';
-
- $xmf = new GP_Locale();
- $xmf->english_name = 'Mingrelian';
- $xmf->native_name = 'მარგალური ნინა';
- $xmf->lang_code_iso_639_3 = 'xmf';
- $xmf->country_code = 'ge';
- $xmf->wp_locale = 'xmf';
- $xmf->slug = 'xmf';
-
- $yi = new GP_Locale();
- $yi->english_name = 'Yiddish';
- $yi->native_name = 'ייִדיש';
- $yi->lang_code_iso_639_1 = 'yi';
- $yi->lang_code_iso_639_2 = 'yid';
- $yi->slug = 'yi';
- $yi->text_direction = 'rtl';
- $yi->google_code = 'yi';
-
- $yor = new GP_Locale();
- $yor->english_name = 'Yoruba';
- $yor->native_name = 'Yorùbá';
- $yor->lang_code_iso_639_1 = 'yo';
- $yor->lang_code_iso_639_2 = 'yor';
- $yor->lang_code_iso_639_3 = 'yor';
- $yor->country_code = 'ng';
- $yor->wp_locale = 'yor';
- $yor->slug = 'yor';
- $yor->google_code = 'yo';
- $yor->facebook_locale = 'yo_NG';
-
- $zh_cn = new GP_Locale();
- $zh_cn->english_name = 'Chinese (China)';
- $zh_cn->native_name = '简体中文';
- $zh_cn->lang_code_iso_639_1 = 'zh';
- $zh_cn->lang_code_iso_639_2 = 'zho';
- $zh_cn->country_code = 'cn';
- $zh_cn->wp_locale = 'zh_CN';
- $zh_cn->slug = 'zh-cn';
- $zh_cn->nplurals = 1;
- $zh_cn->plural_expression = '0';
- $zh_cn->google_code = 'zh-CN';
- $zh_cn->facebook_locale = 'zh_CN';
-
- $zh_hk = new GP_Locale();
- $zh_hk->english_name = 'Chinese (Hong Kong)';
- $zh_hk->native_name = '香港中文版 ';
- $zh_hk->lang_code_iso_639_1 = 'zh';
- $zh_hk->lang_code_iso_639_2 = 'zho';
- $zh_hk->country_code = 'hk';
- $zh_hk->wp_locale = 'zh_HK';
- $zh_hk->slug = 'zh-hk';
- $zh_hk->nplurals = 1;
- $zh_hk->plural_expression = '0';
- $zh_hk->facebook_locale = 'zh_HK';
-
- $zh_sg = new GP_Locale();
- $zh_sg->english_name = 'Chinese (Singapore)';
- $zh_sg->native_name = '中文';
- $zh_sg->lang_code_iso_639_1 = 'zh';
- $zh_sg->lang_code_iso_639_2 = 'zho';
- $zh_sg->country_code = 'sg';
- $zh_sg->wp_locale = 'zh_SG';
- $zh_sg->slug = 'zh-sg';
- $zh_sg->nplurals = 1;
- $zh_sg->plural_expression = '0';
-
- $zh_tw = new GP_Locale();
- $zh_tw->english_name = 'Chinese (Taiwan)';
- $zh_tw->native_name = '繁體中文';
- $zh_tw->lang_code_iso_639_1 = 'zh';
- $zh_tw->lang_code_iso_639_2 = 'zho';
- $zh_tw->country_code = 'tw';
- $zh_tw->slug = 'zh-tw';
- $zh_tw->wp_locale= 'zh_TW';
- $zh_tw->nplurals = 1;
- $zh_tw->plural_expression = '0';
- $zh_tw->google_code = 'zh-TW';
- $zh_tw->facebook_locale = 'zh_TW';
-
- $zh = new GP_Locale();
- $zh->english_name = 'Chinese';
- $zh->native_name = '中文';
- $zh->lang_code_iso_639_1 = 'zh';
- $zh->lang_code_iso_639_2 = 'zho';
- $zh->slug = 'zh';
- $zh->nplurals = 1;
- $zh->plural_expression = '0';
-
- $zul = new GP_Locale();
- $zul->english_name = 'Zulu';
- $zul->native_name = 'isiZulu';
- $zul->lang_code_iso_639_1 = 'zu';
- $zul->lang_code_iso_639_2 = 'zul';
- $zul->lang_code_iso_639_3 = 'zul';
- $zul->country_code = 'za';
- $zul->wp_locale = 'zul';
- $zul->slug = 'zul';
- $zul->google_code = 'zu';
-
- foreach( get_defined_vars() as $locale ) {
- $this->locales[ $locale->slug ] = $locale;
- }
- }
-
- public static function &instance() {
- if ( ! isset( $GLOBALS['gp_locales'] ) )
- $GLOBALS['gp_locales'] = new GP_Locales;
-
- return $GLOBALS['gp_locales'];
- }
-
- public static function locales() {
- $instance = GP_Locales::instance();
- return $instance->locales;
- }
-
- public static function exists( $slug ) {
- $instance = GP_Locales::instance();
- return isset( $instance->locales[ $slug ] );
- }
-
- public static function by_slug( $slug ) {
- $instance = GP_Locales::instance();
- return isset( $instance->locales[ $slug ] )? $instance->locales[ $slug ] : null;
- }
-
- public static function by_field( $field_name, $field_value ) {
- $instance = GP_Locales::instance();
- $result = false;
-
- foreach( $instance->locales() as $locale ) {
- if ( isset( $locale->$field_name ) && $locale->$field_name == $field_value ) {
- $result = $locale;
- break;
- }
- }
-
- return $result;
- }
-}
-
-endif;
+/**
+ * Duplicated from the GlotPress/GlotPress-WP project.
+ *
+ * @package automattic/jetpack
+ */
+
+/**
+ * Import file from compat package.
+ *
+ * @deprecated Please use 'projects/packages/compat/lib/locales.php' instead.
+ */
+require_once JETPACK__PLUGIN_DIR . 'jetpack_vendor/automattic/jetpack-compat/lib/locales.php';
diff --git a/plugins/jetpack/modules/.eslintrc.js b/plugins/jetpack/modules/.eslintrc.js
deleted file mode 100644
index 527bbeab..00000000
--- a/plugins/jetpack/modules/.eslintrc.js
+++ /dev/null
@@ -1,40 +0,0 @@
-module.exports = {
- plugins: [ 'es5' ],
- extends: [ 'eslint:recommended', 'plugin:es5/no-es2015' ],
- env: {
- browser: true,
- jquery: true,
- },
- globals: {
- _: false,
- Backbone: false,
- // jQuery: false,
- wp: false,
- },
- parserOptions: {
- ecmaVersion: 5,
- },
- rules: {
- // TODO: maybe fix the above warnings
- eqeqeq: 'warn',
- curly: 'warn',
- 'no-console': 'warn',
- 'no-empty': 'warn',
- 'no-unused-vars': 'warn',
- 'es5/no-es6-methods': 0, // TODO: maybe disable it on line/file basis
- 'no-useless-escape': 0,
- 'no-control-regex': 0,
- 'no-unused-expressions': 'warn',
-
- 'es5/no-block-scoping': [ 'error' ],
- 'no-caller': 'error',
- 'no-cond-assign': [ 'error', 'except-parens' ],
- 'no-eq-null': 'error',
- 'no-irregular-whitespace': 'error',
- 'no-trailing-spaces': 'error',
- 'no-undef': 'error',
- // 'one-var': [ 'error', 'always' ],
- quotes: [ 'warn', 'single', { avoidEscape: true } ],
- 'wrap-iife': [ 'error', 'any' ],
- },
-};
diff --git a/plugins/jetpack/modules/after-the-deadline.php b/plugins/jetpack/modules/after-the-deadline.php
deleted file mode 100644
index 88c13090..00000000
--- a/plugins/jetpack/modules/after-the-deadline.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-/**
- * Deprecated. No longer needed.
- *
- * @package Jetpack
- */
diff --git a/plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php b/plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php
index 080cf508..b704b92c 100644
--- a/plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php
+++ b/plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php
@@ -100,7 +100,7 @@ class Jetpack_Calypsoify {
* @return string
*/
private function get_calypso_origin() {
- $origin = ! empty( $_GET['origin'] ) ? $_GET['origin'] : 'https://wordpress.com'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $origin = ! empty( $_GET['origin'] ) ? wp_unslash( $_GET['origin'] ) : 'https://wordpress.com'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
$allowed = array(
'http://calypso.localhost:3000',
'http://127.0.0.1:41050', // Desktop App.
@@ -124,7 +124,7 @@ class Jetpack_Calypsoify {
$post_type = $screen->post_type;
$site_suffix = ( new Status() )->get_site_suffix();
- if ( is_null( $post_id ) ) {
+ if ( $post_id === null ) {
// E.g. posts or pages have no special suffix. CPTs are in the `types/{cpt}` format.
$post_type_suffix = ( 'post' === $post_type || 'page' === $post_type )
? "/${post_type}s/"
@@ -192,25 +192,25 @@ class Jetpack_Calypsoify {
public function is_page_gutenberg() {
// phpcs:disable WordPress.Security.NonceVerification.Recommended
// Disabling WordPress.Security.NonceVerification.Recommended because this function fires within admin_init and this is only changing display.
- $page = wp_basename( esc_url( $_SERVER['REQUEST_URI'] ) );
+ $page = isset( $_SERVER['REQUEST_URI'] ) ? wp_basename( esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) : '';
if ( false !== strpos( $page, 'post-new.php' ) && empty( $_GET['post_type'] ) ) {
return true;
}
- if ( false !== strpos( $page, 'post-new.php' ) && isset( $_GET['post_type'] ) && $this->is_post_type_gutenberg( $_GET['post_type'] ) ) {
+ if ( false !== strpos( $page, 'post-new.php' ) && isset( $_GET['post_type'] ) && $this->is_post_type_gutenberg( sanitize_key( $_GET['post_type'] ) ) ) {
return true;
}
if ( false !== strpos( $page, 'post.php' ) ) {
- $post = get_post( $_GET['post'] );
+ $post = get_post( isset( $_GET['post'] ) ? intval( $_GET['post'] ) : null );
if ( isset( $post ) && isset( $post->post_type ) && $this->is_post_type_gutenberg( $post->post_type ) ) {
return true;
}
}
if ( false !== strpos( $page, 'revision.php' ) ) {
- $post = get_post( $_GET['revision'] );
+ $post = get_post( isset( $_GET['revision'] ) ? intval( $_GET['revision'] ) : null );
$parent = get_post( $post->post_parent );
if ( isset( $parent ) && isset( $parent->post_type ) && $this->is_post_type_gutenberg( $parent->post_type ) ) {
return true;
diff --git a/plugins/jetpack/modules/calypsoify/class.jetpack-calypsoify.php b/plugins/jetpack/modules/calypsoify/class.jetpack-calypsoify.php
deleted file mode 100644
index 36db8ea8..00000000
--- a/plugins/jetpack/modules/calypsoify/class.jetpack-calypsoify.php
+++ /dev/null
@@ -1,507 +0,0 @@
-<?php
-/**
- * This is Calypso skin of the wp-admin interface that is conditionally triggered via the ?calypsoify=1 param.
- * Ported from an internal Automattic plugin.
- */
-class Jetpack_Calypsoify {
-
- /**
- * Singleton instance of `Jetpack_Calypsoify`.
- *
- * @var object
- */
- public static $instance = false;
-
- /**
- * Is Calypsoify enabled, based on any value of `calypsoify` user meta.
- *
- * @var bool
- */
- public $is_calypsoify_enabled = false;
-
- private function __construct() {
- add_action( 'wp_loaded', array( $this, 'setup' ) );
- }
-
- public static function getInstance() {
- if ( ! self::$instance ) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- public function setup() {
- $this->is_calypsoify_enabled = 1 == (int) get_user_meta( get_current_user_id(), 'calypsoify', true );
- add_action( 'admin_init', array( $this, 'check_param' ), 4 );
-
- if ( $this->is_calypsoify_enabled ) {
- add_action( 'admin_init', array( $this, 'setup_admin' ), 6 );
- add_action( 'admin_menu', array( $this, 'remove_core_menus' ), 100 );
- add_action( 'admin_menu', array( $this, 'add_custom_menus' ), 101 );
- }
-
- // Make this always available -- in case calypsoify gets toggled off.
- add_action( 'wp_ajax_jetpack_toggle_autoupdate', array( $this, 'jetpack_toggle_autoupdate' ) );
- add_filter( 'handle_bulk_actions-plugins', array( $this, 'handle_bulk_actions_plugins' ), 10, 3 );
- }
-
- public function setup_admin() {
- // Masterbar is currently required for this to work properly. Mock the instance of it
- if ( ! Jetpack::is_module_active( 'masterbar' ) ) {
- $this->mock_masterbar_activation();
- }
-
- if ( $this->is_page_gutenberg() ) {
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_for_gutenberg' ), 100 );
- return;
- }
-
- add_action( 'admin_init', array( $this, 'check_page' ) );
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ), 100 );
- add_action( 'in_admin_header', array( $this, 'insert_sidebar_html' ) );
- add_action( 'wp_before_admin_bar_render', array( $this, 'modify_masterbar' ), 100000 );
-
- add_filter( 'get_user_option_admin_color', array( $this, 'admin_color_override' ) );
-
- add_action( 'manage_plugins_columns', array( $this, 'manage_plugins_columns_header' ) );
- add_action( 'manage_plugins_custom_column', array( $this, 'manage_plugins_custom_column' ), 10, 2 );
- add_filter( 'bulk_actions-plugins', array( $this, 'bulk_actions_plugins' ) );
-
- add_action( 'current_screen', array( $this, 'attach_views_filter' ) );
-
- if ( 'plugins.php' === basename( $_SERVER['PHP_SELF'] ) ) {
- add_action( 'admin_notices', array( $this, 'plugins_admin_notices' ) );
- }
- }
-
- public function manage_plugins_columns_header( $columns ) {
- if ( current_user_can( 'jetpack_manage_autoupdates' ) ) {
- $columns['autoupdate'] = __( 'Automatic Update', 'jetpack' );
- }
- return $columns;
- }
-
- public function manage_plugins_custom_column( $column_name, $slug ) {
- static $repo_plugins = array();
-
- if ( ! current_user_can( 'jetpack_manage_autoupdates' ) ) {
- return;
- }
-
- if ( empty( $repo_plugins ) ) {
- $repo_plugins = self::get_dotorg_repo_plugins();
- }
-
- $autoupdating_plugins = Jetpack_Options::get_option( 'autoupdate_plugins', array() );
- // $autoupdating_plugins_translations = Jetpack_Options::get_option( 'autoupdate_plugins_translations', array() );
- if ( 'autoupdate' === $column_name ) {
- if ( ! in_array( $slug, $repo_plugins ) ) {
- return;
- }
- // Shamelessly swiped from https://github.com/Automattic/wp-calypso/blob/59bdfeeb97eda4266ad39410cb0a074d2c88dbc8/client/components/forms/form-toggle
- ?>
-
- <span class="form-toggle__wrapper">
- <input
- id="autoupdate_plugin-toggle-<?php echo esc_attr( $slug ) ?>"
- name="autoupdate_plugins[<?php echo esc_attr( $slug ) ?>]"
- value="autoupdate"
- class="form-toggle autoupdate-toggle"
- type="checkbox"
- <?php checked( in_array( $slug, $autoupdating_plugins ) ); ?>
- readonly
- data-slug="<?php echo esc_attr( $slug ); ?>"
- />
- <label class="form-toggle__label" for="autoupdate_plugin-toggle-<?php echo esc_attr( $slug ) ?>">
- <span class="form-toggle__switch" role="checkbox"></span>
- <span class="form-toggle__label-content"><?php /* */ ?></span>
- </label>
- </span>
-
- <?php
- }
- }
-
- public static function get_dotorg_repo_plugins() {
- $plugins = get_site_transient( 'update_plugins' );
- return array_merge( array_keys( $plugins->response ), array_keys( $plugins->no_update ) );
- }
-
- public function bulk_actions_plugins( $bulk_actions ) {
- $bulk_actions['jetpack_enable_plugin_autoupdates'] = __( 'Enable Automatic Updates', 'jetpack' );
- $bulk_actions['jetpack_disable_plugin_autoupdates'] = __( 'Disable Automatic Updates', 'jetpack' );
- return $bulk_actions;
- }
-
- public function handle_bulk_actions_plugins( $redirect_to, $action, $slugs ) {
- $redirect_to = remove_query_arg( array( 'jetpack_enable_plugin_autoupdates', 'jetpack_disable_plugin_autoupdates' ), $redirect_to );
- if ( in_array( $action, array( 'jetpack_enable_plugin_autoupdates', 'jetpack_disable_plugin_autoupdates' ) ) ) {
- $list = Jetpack_Options::get_option( 'autoupdate_plugins', array() );
- $initial_qty = sizeof( $list );
-
- if ( 'jetpack_enable_plugin_autoupdates' === $action ) {
- $list = array_unique( array_merge( $list, $slugs ) );
- } elseif ( 'jetpack_disable_plugin_autoupdates' === $action ) {
- $list = array_diff( $list, $slugs );
- }
-
- Jetpack_Options::update_option( 'autoupdate_plugins', $list );
- $redirect_to = add_query_arg( $action, absint( sizeof( $list ) - $initial_qty ), $redirect_to );
- }
- return $redirect_to;
- }
-
- public function plugins_admin_notices() {
- if ( ! empty( $_GET['jetpack_enable_plugin_autoupdates'] ) ) {
- $qty = (int) $_GET['jetpack_enable_plugin_autoupdates'];
- printf( '<div id="message" class="updated fade"><p>' . _n( 'Enabled automatic updates on %d plugin.', 'Enabled automatic updates on %d plugins.', $qty, 'jetpack' ) . '</p></div>', $qty );
- } elseif ( ! empty( $_GET['jetpack_disable_plugin_autoupdates'] ) ) {
- $qty = (int) $_GET['jetpack_disable_plugin_autoupdates'];
- printf( '<div id="message" class="updated fade"><p>' . _n( 'Disabled automatic updates on %d plugin.', 'Disabled automatic updates on %d plugins.', $qty, 'jetpack' ) . '</p></div>', $qty );
- }
- }
-
- public function jetpack_toggle_autoupdate() {
- if ( ! current_user_can( 'jetpack_manage_autoupdates' ) ) {
- wp_send_json_error();
- return;
- }
-
- $type = $_POST['type'];
- $slug = $_POST['slug'];
- $active = 'false' !== $_POST['active'];
-
- check_ajax_referer( "jetpack_toggle_autoupdate-{$type}" );
-
- if ( ! in_array( $type, array( 'plugins', 'plugins_translations' ) ) ) {
- wp_send_json_error();
- return;
- }
-
- $jetpack_option_name = "autoupdate_{$type}";
-
- $list = Jetpack_Options::get_option( $jetpack_option_name, array() );
-
- if ( $active ) {
- $list = array_unique( array_merge( $list, (array) $slug ) );
- } else {
- $list = array_diff( $list, (array) $slug );
- }
-
- Jetpack_Options::update_option( $jetpack_option_name, $list );
-
- wp_send_json_success( $list );
- }
-
- public function admin_color_override( $color ) {
- return 'fresh';
- }
-
- public function mock_masterbar_activation() {
- include_once JETPACK__PLUGIN_DIR . 'modules/masterbar/masterbar.php';
- new A8C_WPCOM_Masterbar;
- }
-
- public function remove_core_menus() {
- remove_menu_page( 'edit.php?post_type=feedback' );
- remove_menu_page( 'index.php' );
- remove_menu_page( 'jetpack' );
- remove_menu_page( 'edit.php' );
- remove_menu_page( 'upload.php' );
- remove_menu_page( 'edit.php?post_type=page' );
- remove_menu_page( 'edit-comments.php' );
- remove_menu_page( 'themes.php' );
- remove_menu_page( 'plugins.php' );
- remove_menu_page( 'users.php' );
- remove_menu_page( 'tools.php' );
- remove_menu_page( 'link-manager.php' );
-
- // Core settings pages
- remove_submenu_page( 'options-general.php', 'options-general.php' );
- remove_submenu_page( 'options-general.php', 'options-writing.php' );
- remove_submenu_page( 'options-general.php', 'options-reading.php' );
- remove_submenu_page( 'options-general.php', 'options-discussion.php' );
- remove_submenu_page( 'options-general.php', 'options-media.php' );
- remove_submenu_page( 'options-general.php', 'options-permalink.php' );
- remove_submenu_page( 'options-general.php', 'privacy.php' );
- remove_submenu_page( 'options-general.php', 'sharing' );
- }
-
- public function add_custom_menus() {
- global $menu, $submenu;
-
- if ( isset( $_GET['post_type'] ) && 'feedback' === $_GET['post_type'] ) {
- // there is currently no gridicon for feedback, so using dashicon.
- add_menu_page( __( 'Feedback', 'jetpack' ), __( 'Feedback', 'jetpack' ), 'edit_pages', 'edit.php?post_type=feedback', '', 'dashicons-feedback', 1 );
- remove_menu_page( 'options-general.php' );
- remove_submenu_page( 'edit.php?post_type=feedback', 'feedback-export' );
- } else {
- add_menu_page( __( 'Manage Plugins', 'jetpack' ), __( 'Manage Plugins', 'jetpack' ), 'activate_plugins', 'plugins.php', '', $this->installed_plugins_icon(), 1 );
- // Count the settings page submenus, if it's zero then don't show this.
- if ( empty( $submenu['options-general.php'] ) ) {
- remove_menu_page( 'options-general.php' );
- } else {
- // Rename and make sure the plugin settings menu is always last.
- // Sneaky plugins seem to override this otherwise.
- // Settings is always key 80.
- $menu[80][0] = __( 'Plugin Settings', 'jetpack' );
- $menu[ max( array_keys( $menu ) ) + 1 ] = $menu[80];
- unset( $menu[80] );
- }
- }
- }
-
- public function enqueue() {
- wp_enqueue_style( 'calypsoify_wpadminmods_css', plugin_dir_url( __FILE__ ) . 'style.min.css', false, JETPACK__VERSION );
- wp_style_add_data( 'calypsoify_wpadminmods_css', 'rtl', 'replace' );
- wp_style_add_data( 'calypsoify_wpadminmods_css', 'suffix', '.min' );
-
- wp_enqueue_script( 'calypsoify_wpadminmods_js', plugin_dir_url( __FILE__ ) . 'mods.js', false, JETPACK__VERSION );
- wp_localize_script( 'calypsoify_wpadminmods_js', 'CalypsoifyOpts', array(
- 'nonces' => array(
- 'autoupdate_plugins' => wp_create_nonce( 'jetpack_toggle_autoupdate-plugins' ),
- 'autoupdate_plugins_translations' => wp_create_nonce( 'jetpack_toggle_autoupdate-plugins_translations' ),
- )
- ) );
- }
-
- public function enqueue_for_gutenberg() {
- wp_enqueue_style( 'calypsoify_wpadminmods_css', plugin_dir_url( __FILE__ ) . 'style-gutenberg.min.css', false, JETPACK__VERSION );
- wp_style_add_data( 'calypsoify_wpadminmods_css', 'rtl', 'replace' );
- wp_style_add_data( 'calypsoify_wpadminmods_css', 'suffix', '.min' );
-
- wp_enqueue_script( 'calypsoify_wpadminmods_js', plugin_dir_url( __FILE__ ) . 'mods-gutenberg.js', false, JETPACK__VERSION );
- wp_localize_script(
- 'calypsoify_wpadminmods_js',
- 'calypsoifyGutenberg',
- array(
- 'closeUrl' => $this->get_close_gutenberg_url(),
- 'manageReusableBlocksUrl' => $this->get_calypso_origin() . '/types/wp_block' . $this->get_site_suffix(),
- )
- );
- }
-
- public function insert_sidebar_html() {
- $heading = ( isset( $_GET['post_type'] ) && 'feedback' === $_GET['post_type'] ) ? __( 'Feedback', 'jetpack' ) : __( 'Plugins', 'jetpack' );
- ?>
- <a href="<?php echo esc_url( 'https://wordpress.com/stats/day/' . Jetpack::build_raw_urls( home_url() ) ); ?>" id="calypso-sidebar-header">
- <svg class="gridicon gridicons-chevron-left" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586"></path></g></svg>
-
- <ul>
- <li id="calypso-sitename"><?php bloginfo( 'name' ); ?></li>
- <li id="calypso-plugins"><?php echo esc_html( $heading ); ?></li>
- </ul>
- </a>
- <?php
- }
-
- public function modify_masterbar() {
- global $wp_admin_bar;
-
- // Add proper links to masterbar top sections.
- $my_sites_node = (object) $wp_admin_bar->get_node( 'blog' );
- $my_sites_node->href = 'https://wordpress.com/stats/day/' . Jetpack::build_raw_urls( home_url() );
- $wp_admin_bar->add_node( $my_sites_node );
-
- $reader_node = (object) $wp_admin_bar->get_node( 'newdash' );
- $reader_node->href = 'https://wordpress.com/read';
- $wp_admin_bar->add_node( $reader_node );
-
- $me_node = (object) $wp_admin_bar->get_node( 'my-account' );
- $me_node->href = 'https://wordpress.com/me';
- $wp_admin_bar->add_node( $me_node );
- }
-
- private function installed_plugins_icon() {
- $svg = '<svg class="gridicon gridicons-plugins" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 24"><g><path d="M16 8V3c0-.552-.448-1-1-1s-1 .448-1 1v5h-4V3c0-.552-.448-1-1-1s-1 .448-1 1v5H5v4c0 2.79 1.637 5.193 4 6.317V22h6v-3.683c2.363-1.124 4-3.527 4-6.317V8h-3z" fill="black"></path></g></svg>';
-
- return 'data:image/svg+xml;base64,' . base64_encode( $svg );
- }
-
- /**
- * Returns the Calypso domain that originated the current request.
- *
- * @return string
- */
- private function get_calypso_origin() {
- $origin = ! empty( $_GET['origin'] ) ? $_GET['origin'] : 'https://wordpress.com';
- $whitelist = array(
- 'http://calypso.localhost:3000',
- 'http://127.0.0.1:41050', // Desktop App
- 'https://wpcalypso.wordpress.com',
- 'https://horizon.wordpress.com',
- 'https://wordpress.com',
- );
- return in_array( $origin, $whitelist ) ? $origin : 'https://wordpress.com';
-
- function get_site_suffix() {
- if ( class_exists( 'Jetpack' ) && method_exists( 'Jetpack', 'build_raw_urls' ) ) {
- $site_suffix = Jetpack::build_raw_urls( home_url() );
- } elseif ( class_exists( 'WPCOM_Masterbar' ) && method_exists( 'WPCOM_Masterbar', 'get_calypso_site_slug' ) ) {
- $site_suffix = WPCOM_Masterbar::get_calypso_site_slug( get_current_blog_id() );
- }
-
- if ( $site_suffix ) {
- return "/${site_suffix}";
- }
- return '';
- }
- }
-
- /**
- * Returns the site slug suffix to be used as part of the Calypso URLs. It already
- * includes the slash separator at the beginning.
- *
- * @example "https://wordpress.com/block-editor" . $this->get_site_suffix()
- *
- * @return string
- */
- private function get_site_suffix() {
- if ( class_exists( 'Jetpack' ) && method_exists( 'Jetpack', 'build_raw_urls' ) ) {
- $site_suffix = Jetpack::build_raw_urls( home_url() );
- } elseif ( class_exists( 'WPCOM_Masterbar' ) && method_exists( 'WPCOM_Masterbar', 'get_calypso_site_slug' ) ) {
- $site_suffix = WPCOM_Masterbar::get_calypso_site_slug( get_current_blog_id() );
- }
-
- if ( $site_suffix ) {
- return "/${site_suffix}";
- }
- return '';
- }
-
- /**
- * Returns the Calypso URL that displays either the current post type list (if no args
- * are supplied) or the classic editor for the current post (if a post ID is supplied).
- *
- * @param int|null $post_id
- * @return string
- */
- public function get_calypso_url( $post_id = null ) {
- $screen = get_current_screen();
- $post_type = $screen->post_type;
- if ( is_null( $post_id ) ) {
- // E.g. `posts`, `pages`, or `types/some_custom_post_type`
- $post_type_suffix = ( 'post' === $post_type || 'page' === $post_type )
- ? "/${post_type}s"
- : "/types/${post_type}";
- $post_suffix = '';
- } else {
- $post_type_suffix = ( 'post' === $post_type || 'page' === $post_type )
- ? "/${post_type}"
- : "/edit/${post_type}";
- $post_suffix = "/${post_id}";
- }
-
- return $this->get_calypso_origin() . $post_type_suffix . $this->get_site_suffix() . $post_suffix;
- }
-
- /**
- * Returns the URL to be used on the block editor close button for going back to the
- * Calypso post list.
- *
- * @return string
- */
- public function get_close_gutenberg_url() {
- return $this->get_calypso_url();
- }
-
- /**
- * Returns the URL for switching the user's editor to the Calypso (WordPress.com Classic) editor.
- *
- * @return string
- */
- public function get_switch_to_classic_editor_url() {
- return add_query_arg(
- 'set-editor',
- 'classic',
- $this->is_calypsoify_enabled ? $this->get_calypso_url( get_the_ID() ) : false
- );
- }
-
- public function check_param() {
- if ( isset( $_GET['calypsoify'] ) ) {
- if ( 1 == (int) $_GET['calypsoify'] ) {
- update_user_meta( get_current_user_id(), 'calypsoify', 1 );
- } else {
- update_user_meta( get_current_user_id(), 'calypsoify', 0 );
- }
-
- $page = remove_query_arg( 'calypsoify', wp_basename( $_SERVER['REQUEST_URI'] ) );
-
- wp_safe_redirect( admin_url( $page ) );
- }
- }
-
- public function check_page() {
- // If the user hits plain /wp-admin/ then disable Calypso styles.
- $page = wp_basename( esc_url( $_SERVER['REQUEST_URI'] ) );
-
- if ( false !== strpos( 'index.php', $page ) || false !== strpos( 'wp-admin', $page ) ) {
- update_user_meta( get_current_user_id(), 'calypsoify', 0 );
- wp_safe_redirect( admin_url() );
- die;
- }
- }
-
- /**
- * Return whether a post type should display the Gutenberg/block editor.
- *
- * @since 6.7.0
- */
- public function is_post_type_gutenberg( $post_type ) {
- return use_block_editor_for_post_type( $post_type );
- }
-
- public function is_page_gutenberg() {
- $page = wp_basename( esc_url( $_SERVER['REQUEST_URI'] ) );
-
- if ( false !== strpos( $page, 'post-new.php' ) && empty ( $_GET['post_type'] ) ) {
- return true;
- }
-
- if ( false !== strpos( $page, 'post-new.php' ) && isset( $_GET['post_type'] ) && $this->is_post_type_gutenberg( $_GET['post_type'] ) ) {
- return true;
- }
-
- if ( false !== strpos( $page, 'post.php' ) ) {
- $post = get_post( $_GET['post'] );
- if ( isset( $post ) && isset( $post->post_type ) && $this->is_post_type_gutenberg( $post->post_type ) ) {
- return true;
- }
- }
-
- if ( false !== strpos( $page, 'revision.php' ) ) {
- $post = get_post( $_GET['revision'] );
- $parent = get_post( $post->post_parent );
- if ( isset( $parent ) && isset( $parent->post_type ) && $this->is_post_type_gutenberg( $parent->post_type ) ) {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Attach a WP_List_Table views filter to all screens.
- */
- public function attach_views_filter( $current_screen ) {
- add_filter( "views_{$current_screen->id}", array( $this, 'filter_views' ) );
- }
-
- /**
- * Remove the parentheses from list table view counts when Calypsofied.
- *
- * @param array $views Array of views. See: WP_List_Table::get_views().
- * @return array Filtered views.
- */
- public function filter_views( $views ) {
- foreach ( $views as $id => $view ) {
- $views[ $id ] = preg_replace( '/<span class="count">\((\d+)\)<\/span>/', '<span class="count">$1</span>', $view );
- }
-
- return $views;
- }
-}
-
-$Jetpack_Calypsoify = Jetpack_Calypsoify::getInstance();
diff --git a/plugins/jetpack/modules/calypsoify/style-gutenberg-rtl.min.css b/plugins/jetpack/modules/calypsoify/style-gutenberg-rtl.min.css
index 8c771d0a..3d51177b 100644
--- a/plugins/jetpack/modules/calypsoify/style-gutenberg-rtl.min.css
+++ b/plugins/jetpack/modules/calypsoify/style-gutenberg-rtl.min.css
@@ -1,3 +1 @@
-/* Do not modify this file directly. It is compiled SASS code. */
-.components-button.is-default{color:#3c434a;border-color:#c3c4c7;background:#fff;box-shadow:none;border-width:1px 1px 2px}.components-button.is-default:hover{background:#fff;border-color:#a7aaad;box-shadow:none;color:#3c434a}.components-button.is-default:focus:enabled{background:#fff;color:#3c434a;border-color:#2271b1;box-shadow:0 0 0 2px #5198d9}.components-button.is-default:active:enabled{background:#fff;border-color:#c3c4c7;border-width:2px 1px 1px;box-shadow:none}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#646970;background-color:#fff;border-color:#646970;text-shadow:none}.components-button.is-primary{background:#c9356e;border-color:#8c1749;box-shadow:none;color:#fff;text-shadow:none}.components-button.is-primary:focus:enabled{background:#e34c84;border-color:#c9356e;color:#fff;box-shadow:0 0 0 2px #eb6594}.components-button.is-primary:hover{box-shadow:none;background:#e34c84;border-color:#8c1749;color:#fff}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 2px #eb6594}.components-button.is-primary:active:enabled{background:#e34c84;border-color:#8c1749;box-shadow:inset 0 1px 0 #8c1749}.components-button.is-primary:disabled,.components-button.is-primary[aria-disabled=true]{color:#646970;background:#fff;border-color:#646970;text-shadow:none}.components-button.is-primary:disabled:hover,.components-button.is-primary:disabled:focus,.components-button.is-primary:disabled:active,.components-button.is-primary[aria-disabled=true]:hover,.components-button.is-primary[aria-disabled=true]:focus,.components-button.is-primary[aria-disabled=true]:active{color:#646970;background-color:#fff;border-color:#646970;box-shadow:none}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg, #c9356e 28%, #ab235a 28%, #ab235a 72%, #c9356e 72%);border-color:#8c1749}.components-button.is-link{color:#2271b1}.components-button.is-link:hover,.components-button.is-link:active{color:#0a4b78}.components-button.is-link:focus{color:#0a4b78;box-shadow:0 0 0 2px #5198d9}.components-button.is-link.is-destructive{color:#e65054}.components-button.is-busy{background-image:repeating-linear-gradient(45deg, #646970, #fff 11px, #fff 10px, #646970 20px)}.components-button.is-tertiary{color:#2271b1}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#0a4b78}.edit-post-sidebar__panel-tab.is-active{border-color:#2271b1}.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus{border-color:#2271b1;box-shadow:0 0 0 2px #5198d9}.edit-post-sidebar input[type=checkbox]:checked{background:#2271b1;border-color:#2271b1}a{color:#2271b1}a:active,a:hover{color:#0a4b78}a:focus{color:#0a4b78;box-shadow:none;outline:thin dotted}.wp-toolbar .revision-php{margin-top:-32px}.revision-php{background:#f6f7f7}.revision-php #wpadminbar,.revision-php #adminmenumain,.revision-php #wp-admin-bar-menu-toggle{display:none}.revision-php #wpcontent{margin-right:0 !important}.revision-php #wpbody{padding-top:0}.revision-php #screen-meta-links{display:none !important}.revision-php #wpfooter{display:none !important}.revision-tickmarks{margin-top:8px}.revisions-controls{height:118px}.revisions-controls .author-card .avatar{border-radius:50%;height:38px;margin-top:4px;width:38px}.revisions-controls .author-card .author-info{line-height:20px;margin-top:4px}.comparing-two-revisions .revisions-controls{height:176px}.revisions-meta{margin-top:28px}.diff-meta{min-height:46px}.revision-toggle-compare-mode label{vertical-align:top}.revisions-tooltip{transform:translateY(-36px)}
-/*# sourceMappingURL=style-gutenberg-rtl.min.css.map */
+.components-button.is-default{background:#fff;border-color:#c3c4c7;border-width:1px 1px 2px;box-shadow:none;color:#3c434a}.components-button.is-default:hover{background:#fff;border-color:#a7aaad;box-shadow:none;color:#3c434a}.components-button.is-default:focus:enabled{background:#fff;border-color:#2271b1;box-shadow:0 0 0 2px #5198d9;color:#3c434a}.components-button.is-default:active:enabled{background:#fff;border-color:#c3c4c7;border-width:2px 1px 1px;box-shadow:none}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{background-color:#fff;border-color:#646970;color:#646970;text-shadow:none}.components-button.is-primary{background:#c9356e;border-color:#8c1749;box-shadow:none;color:#fff;text-shadow:none}.components-button.is-primary:focus:enabled{background:#e34c84;border-color:#c9356e;color:#fff}.components-button.is-primary:hover{background:#e34c84;border-color:#8c1749;box-shadow:none;color:#fff}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 2px #eb6594}.components-button.is-primary:active:enabled{background:#e34c84;border-color:#8c1749;box-shadow:inset 0 1px 0 #8c1749}.components-button.is-primary:disabled,.components-button.is-primary[aria-disabled=true]{background:#fff;border-color:#646970;color:#646970;text-shadow:none}.components-button.is-primary:disabled:active,.components-button.is-primary:disabled:focus,.components-button.is-primary:disabled:hover,.components-button.is-primary[aria-disabled=true]:active,.components-button.is-primary[aria-disabled=true]:focus,.components-button.is-primary[aria-disabled=true]:hover{background-color:#fff;border-color:#646970;box-shadow:none;color:#646970}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#c9356e 28%,#ab235a 0,#ab235a 72%,#c9356e 0);border-color:#8c1749}.components-button.is-link{color:#2271b1}.components-button.is-link:active,.components-button.is-link:hover{color:#0a4b78}.components-button.is-link:focus{box-shadow:0 0 0 2px #5198d9;color:#0a4b78}.components-button.is-link.is-destructive{color:#e65054}.components-button.is-busy{background-image:repeating-linear-gradient(45deg,#646970,#fff 11px,#fff 0,#646970 20px)}.components-button.is-tertiary{color:#2271b1}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#0a4b78}.edit-post-sidebar__panel-tab.is-active{border-color:#2271b1}.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus{border-color:#2271b1;box-shadow:0 0 0 2px #5198d9}.edit-post-sidebar input[type=checkbox]:checked{background:#2271b1;border-color:#2271b1}a{color:#2271b1}a:active,a:focus,a:hover{color:#0a4b78}a:focus{box-shadow:none;outline:thin dotted}.wp-toolbar .revision-php{margin-top:-32px}.revision-php{background:#f6f7f7}.revision-php #adminmenumain,.revision-php #wp-admin-bar-menu-toggle,.revision-php #wpadminbar{display:none}.revision-php #wpcontent{margin-right:0!important}.revision-php #wpbody{padding-top:0}.revision-php #screen-meta-links,.revision-php #wpfooter{display:none!important}.revision-tickmarks{margin-top:8px}.revisions-controls{height:118px}.revisions-controls .author-card .avatar{border-radius:50%;height:38px;margin-top:4px;width:38px}.revisions-controls .author-card .author-info{line-height:20px;margin-top:4px}.comparing-two-revisions .revisions-controls{height:176px}.revisions-meta{margin-top:28px}.diff-meta{min-height:46px}.revision-toggle-compare-mode label{vertical-align:top}.revisions-tooltip{transform:translateY(-36px)} \ No newline at end of file
diff --git a/plugins/jetpack/modules/calypsoify/style-gutenberg.min.css b/plugins/jetpack/modules/calypsoify/style-gutenberg.min.css
index 157ff68f..5f49e01a 100644
--- a/plugins/jetpack/modules/calypsoify/style-gutenberg.min.css
+++ b/plugins/jetpack/modules/calypsoify/style-gutenberg.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is compiled SASS code. */
-.components-button.is-default{color:#3c434a;border-color:#c3c4c7;background:#fff;box-shadow:none;border-width:1px 1px 2px}.components-button.is-default:hover{background:#fff;border-color:#a7aaad;box-shadow:none;color:#3c434a}.components-button.is-default:focus:enabled{background:#fff;color:#3c434a;border-color:#2271b1;box-shadow:0 0 0 2px #5198d9}.components-button.is-default:active:enabled{background:#fff;border-color:#c3c4c7;border-width:2px 1px 1px;box-shadow:none}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#646970;background-color:#fff;border-color:#646970;text-shadow:none}.components-button.is-primary{background:#c9356e;border-color:#8c1749;box-shadow:none;color:#fff;text-shadow:none}.components-button.is-primary:focus:enabled{background:#e34c84;border-color:#c9356e;color:#fff;box-shadow:0 0 0 2px #eb6594}.components-button.is-primary:hover{box-shadow:none;background:#e34c84;border-color:#8c1749;color:#fff}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 2px #eb6594}.components-button.is-primary:active:enabled{background:#e34c84;border-color:#8c1749;box-shadow:inset 0 1px 0 #8c1749}.components-button.is-primary:disabled,.components-button.is-primary[aria-disabled=true]{color:#646970;background:#fff;border-color:#646970;text-shadow:none}.components-button.is-primary:disabled:hover,.components-button.is-primary:disabled:focus,.components-button.is-primary:disabled:active,.components-button.is-primary[aria-disabled=true]:hover,.components-button.is-primary[aria-disabled=true]:focus,.components-button.is-primary[aria-disabled=true]:active{color:#646970;background-color:#fff;border-color:#646970;box-shadow:none}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg, #c9356e 28%, #ab235a 28%, #ab235a 72%, #c9356e 72%);border-color:#8c1749}.components-button.is-link{color:#2271b1}.components-button.is-link:hover,.components-button.is-link:active{color:#0a4b78}.components-button.is-link:focus{color:#0a4b78;box-shadow:0 0 0 2px #5198d9}.components-button.is-link.is-destructive{color:#e65054}.components-button.is-busy{background-image:repeating-linear-gradient(-45deg, #646970, #fff 11px, #fff 10px, #646970 20px)}.components-button.is-tertiary{color:#2271b1}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#0a4b78}.edit-post-sidebar__panel-tab.is-active{border-color:#2271b1}.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus{border-color:#2271b1;box-shadow:0 0 0 2px #5198d9}.edit-post-sidebar input[type=checkbox]:checked{background:#2271b1;border-color:#2271b1}a{color:#2271b1}a:active,a:hover{color:#0a4b78}a:focus{color:#0a4b78;box-shadow:none;outline:thin dotted}.wp-toolbar .revision-php{margin-top:-32px}.revision-php{background:#f6f7f7}.revision-php #wpadminbar,.revision-php #adminmenumain,.revision-php #wp-admin-bar-menu-toggle{display:none}.revision-php #wpcontent{margin-left:0 !important}.revision-php #wpbody{padding-top:0}.revision-php #screen-meta-links{display:none !important}.revision-php #wpfooter{display:none !important}.revision-tickmarks{margin-top:8px}.revisions-controls{height:118px}.revisions-controls .author-card .avatar{border-radius:50%;height:38px;margin-top:4px;width:38px}.revisions-controls .author-card .author-info{line-height:20px;margin-top:4px}.comparing-two-revisions .revisions-controls{height:176px}.revisions-meta{margin-top:28px}.diff-meta{min-height:46px}.revision-toggle-compare-mode label{vertical-align:top}.revisions-tooltip{transform:translateY(-36px)} \ No newline at end of file
+.components-button.is-default{background:#fff;border-color:#c3c4c7;border-width:1px 1px 2px;box-shadow:none;color:#3c434a}.components-button.is-default:hover{background:#fff;border-color:#a7aaad;box-shadow:none;color:#3c434a}.components-button.is-default:focus:enabled{background:#fff;border-color:#2271b1;box-shadow:0 0 0 2px #5198d9;color:#3c434a}.components-button.is-default:active:enabled{background:#fff;border-color:#c3c4c7;border-width:2px 1px 1px;box-shadow:none}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{background-color:#fff;border-color:#646970;color:#646970;text-shadow:none}.components-button.is-primary{background:#c9356e;border-color:#8c1749;box-shadow:none;color:#fff;text-shadow:none}.components-button.is-primary:focus:enabled{background:#e34c84;border-color:#c9356e;color:#fff}.components-button.is-primary:hover{background:#e34c84;border-color:#8c1749;box-shadow:none;color:#fff}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 2px #eb6594}.components-button.is-primary:active:enabled{background:#e34c84;border-color:#8c1749;box-shadow:inset 0 1px 0 #8c1749}.components-button.is-primary:disabled,.components-button.is-primary[aria-disabled=true]{background:#fff;border-color:#646970;color:#646970;text-shadow:none}.components-button.is-primary:disabled:active,.components-button.is-primary:disabled:focus,.components-button.is-primary:disabled:hover,.components-button.is-primary[aria-disabled=true]:active,.components-button.is-primary[aria-disabled=true]:focus,.components-button.is-primary[aria-disabled=true]:hover{background-color:#fff;border-color:#646970;box-shadow:none;color:#646970}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#c9356e 28%,#ab235a 0,#ab235a 72%,#c9356e 0);border-color:#8c1749}.components-button.is-link{color:#2271b1}.components-button.is-link:active,.components-button.is-link:hover{color:#0a4b78}.components-button.is-link:focus{box-shadow:0 0 0 2px #5198d9;color:#0a4b78}.components-button.is-link.is-destructive{color:#e65054}.components-button.is-busy{background-image:repeating-linear-gradient(-45deg,#646970,#fff 11px,#fff 0,#646970 20px)}.components-button.is-tertiary{color:#2271b1}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#0a4b78}.edit-post-sidebar__panel-tab.is-active{border-color:#2271b1}.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus{border-color:#2271b1;box-shadow:0 0 0 2px #5198d9}.edit-post-sidebar input[type=checkbox]:checked{background:#2271b1;border-color:#2271b1}a{color:#2271b1}a:active,a:focus,a:hover{color:#0a4b78}a:focus{box-shadow:none;outline:thin dotted}.wp-toolbar .revision-php{margin-top:-32px}.revision-php{background:#f6f7f7}.revision-php #adminmenumain,.revision-php #wp-admin-bar-menu-toggle,.revision-php #wpadminbar{display:none}.revision-php #wpcontent{margin-left:0!important}.revision-php #wpbody{padding-top:0}.revision-php #screen-meta-links,.revision-php #wpfooter{display:none!important}.revision-tickmarks{margin-top:8px}.revisions-controls{height:118px}.revisions-controls .author-card .avatar{border-radius:50%;height:38px;margin-top:4px;width:38px}.revisions-controls .author-card .author-info{line-height:20px;margin-top:4px}.comparing-two-revisions .revisions-controls{height:176px}.revisions-meta{margin-top:28px}.diff-meta{min-height:46px}.revision-toggle-compare-mode label{vertical-align:top}.revisions-tooltip{transform:translateY(-36px)} \ No newline at end of file
diff --git a/plugins/jetpack/modules/calypsoify/style-rtl.min.css b/plugins/jetpack/modules/calypsoify/style-rtl.min.css
index 979971fd..5fe69eb5 100644
--- a/plugins/jetpack/modules/calypsoify/style-rtl.min.css
+++ b/plugins/jetpack/modules/calypsoify/style-rtl.min.css
@@ -1,3 +1 @@
-/* Do not modify this file directly. It is compiled SASS code. */
-body,#wp-content-editor-tools{background:#f6f7f7}#wpwrap{top:14px}#wp-admin-bar-notes #wpnt-notes-unread-count.wpn-unread{background-image:none !important;background-color:#eb6594 !important;border:none !important}#adminmenu #collapse-menu,#adminmenu .wp-menu-separator,#screen-meta-links,.wp-submenu,#toplevel_page_jetpack{display:none}.wp-menu-open .wp-submenu{display:block}#adminmenuwrap,#adminmenuback,#adminmenu{background:#fff}#adminmenuback{border-left:1px solid #f6f7f7}#adminmenu,#adminmenuwrap,#adminmenuback,#adminmenu .wp-submenu{width:272px}#adminmenu{margin-top:71px}#adminmenu .wp-submenu{padding:0}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .opensub .wp-submenu,#adminmenu .opensub .wp-submenu:after,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:transparent !important}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus,#adminmenu li.wp-menu-open{background:transparent}#adminmenu a:hover{background-color:#f6f7f7 !important}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{padding:5px 5px 5px 0}#adminmenu .wp-has-current-submenu ul>li>a{padding:7px 46px 7px 12px;font-size:15px;font-weight:400 !important}#adminmenu a.wp-has-current-submenu:after,#adminmenu>li.current>a.current:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border:none}#adminmenu .dashicons,#adminmenu .dashicons-before:before{width:24px;height:24px;font-size:24px}#adminmenu a{color:#2c3338 !important}#adminmenu li.current>a{background:#e9eff5 !important}#adminmenu div.wp-menu-image:before{color:#646970 !important}#adminmenu li a:hover div.wp-menu-image:before{color:#2c3338 !important}#adminmenu li.current a div.wp-menu-image:before{color:#2271b1 !important}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu{background:transparent}#adminmenu div.wp-menu-image.svg{filter:brightness(0.4)}#adminmenu li a:hover div.wp-menu-image.svg,#adminmenu li.current div.wp-menu-image.svg{filter:brightness(0.25)}#adminmenu li.current div.wp-menu-image:before,#adminmenu li.current a,#adminmenu li.current .wp-menu-name{color:#2271b1 !important}#adminmenu div.wp-menu-name{color:#646970;font-size:15px;padding:9px 41px 8px 0;font-weight:600}#adminmenu li a:hover div.wp-menu-name{color:#2c3338}#adminmenu li.menu-top{min-height:46px}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background-color:#2271b1}.no-js li.wp-has-current-submenu:hover .wp-submenu{background:transparent !important}#wpcontent,#wpfooter{margin-right:272px}#toplevel_page_plugins div.wp-menu-image.svg,#toplevel_page_plugin-install div.wp-menu-image.svg{background-size:24px auto}#toplevel_page_plugins div.wp-menu-image.svg{position:relative;right:-2px}#calypso-sidebar-header{border-bottom:1px solid #646970;position:fixed;top:47px;right:0;width:272px;height:65px;background:#fff;z-index:10000}#calypso-sidebar-header svg{float:right;position:relative;right:10px;top:23px}#calypso-sidebar-header ul{float:right;position:relative;right:15px}#calypso-sidebar-header ul li{margin:0}#calypso-sidebar-header ul li#calypso-sitename{font-size:12px;color:#646970;overflow:hidden;white-space:nowrap;width:225px}@media screen and (max-width: 782px){#calypso-sidebar-header ul li#calypso-sitename{width:150px}}#calypso-sidebar-header ul li#calypso-sitename:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(to left, rgba(255, 255, 255, 0), #fff 90%);top:0px;bottom:0px;left:0px;right:auto;width:20%;height:auto}#calypso-sidebar-header ul li#calypso-plugins{font-weight:bold;color:#2c3338;font-size:16px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .opensub .wp-submenu:after,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:transparent !important}.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:7px 46px 7px 12px;font-size:14px}.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head{background:#e9eff5}.folded #adminmenu .wp-submenu .wp-submenu-head{padding:14px 11px 14px 4px}.folded #adminmenu a.menu-top{padding-right:1px}.folded #wpcontent #calypso-sidebar-header{width:36px}.folded #wpcontent #calypso-sidebar-header svg{right:6px}.folded #wpcontent #calypso-sidebar-header ul{display:none}.folded .no-js li.wp-has-current-submenu:hover .wp-submenu{background:#f6f7f7 !important}.folded #toplevel_page_plugins div.wp-menu-image.svg{position:relative;right:-2px}@media only screen and (max-width: 960px){#calypso-sidebar-header{width:36px}#calypso-sidebar-header ul{display:none}#calypso-sidebar-header svg{right:6px}#adminmenu a.menu-top{padding-right:1px}}@media screen and (max-width: 782px){#calypso-sidebar-header{position:absolute;display:none;width:190px;top:-14px}.wp-responsive-open #calypso-sidebar-header{display:block}#calypso-sidebar-header ul{display:block}.auto-fold #adminmenu .wp-menu-name{margin-right:0}.auto-fold #adminmenu{top:-14px}#adminmenu .wp-submenu,.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#fff !important}.auto-fold #adminmenu li.selected div.wp-menu-image.svg{filter:brightness(100)}.auto-fold #adminmenu li.selected div.wp-menu-image:before,.auto-fold #adminmenu li.selected div.wp-menu-name{color:#2271b1 !important}#wpadminbar .quicklinks>ul>li>a,#wpadminbar .quicklinks>ul>li>.ab-empty-item{padding:0 15px !important}#wpadminbar li#wp-admin-bar-ab-new-post a{padding:7px 15px !important}}@media screen and (max-width: 600px){#calypso-sidebar-header{top:32px}.auto-fold #adminmenu{top:32px}}@media screen and (max-width: 480px){#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before{margin-top:4px !important}#wpadminbar #wp-admin-bar-newdash>a.ab-item:before{margin-top:6px !important}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{top:-5px !important;margin-right:-12px !important}}.nav-tab-wrapper,.wrap h2.nav-tab-wrapper{margin:10px 0 25px;background:#fff;border:1px solid rgba(200,215,225,.5)}.nav-tab{border:none;background:none;font-weight:400;padding:3px 13px 12px;color:#2271b1}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{background:transparent;box-shadow:none}.nav-tab:first-child{margin-right:0}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active{border-bottom:2px solid #3c434a;color:#2c3338}#wpadminbar{background:#006088;-webkit-box-shadow:none;-mozilla-box-shadow:none;border-bottom:1px solid #0a4b78;height:46px;position:fixed}#wpadminbar .ab-top-menu>li>.ab-item{font-size:14px}#wpadminbar .ab-top-menu>li.hover>.ab-item{background:#004e6e !important;color:#fff}#wpadminbar *{line-height:46px}#wpadminbar .quicklinks a,#wpadminbar .quicklinks .ab-empty-item,#wpadminbar .shortlink-input{height:46px}#wpadminbar .quicklinks>ul>li>a{padding:0 15px}#wpadminbar .quicklinks>ul>li.current>a{background:#004966}#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar .ab-top-menu>li.ab-hover>.ab-item{background:transparent !important}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item{background:#004e6e !important;color:#fff}#wpadminbar .ab-top-menu>li.my-sites>.ab-item,#wpadminbar .ab-top-menu>li.my-sites.hover>.ab-item,#wpadminbar .ab-top-menu>li.my-sites.ab-hover>.ab-item{background:#002c40 !important}#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before,#wpadminbar #wp-admin-bar-newdash>a.ab-item:before{margin-top:13px}#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before{top:-2px !important}#wpadminbar ul li#wp-admin-bar-ab-new-post{border-radius:3px}#wpadminbar ul li#wp-admin-bar-ab-new-post a{padding:6px 15px;color:#2271b1 !important}#wpadminbar ul li#wp-admin-bar-ab-new-post a span{color:#2271b1 !important;font-size:14px !important;margin-left:4px;margin-right:6px}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before,#wpadminbar ul li#wp-admin-bar-ab-new-post a:after{background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="0" fill="none" width="24" height="24"/><g><path fill="%230087be" d="M21 14v5c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h5v2H5v14h14v-5h2z"/><path fill="%230087be" d="M21 7h-4V3h-2v4h-4v2h4v4h2V9h4"/></g></svg>') !important}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{margin-right:-6px}#wpadminbar ul li#wp-admin-bar-ab-new-post:hover,#wpadminbar ul li#wp-admin-bar-ab-new-post:hover>.ab-item{background:#f6f7f7 !important;opacity:1;border-radius:3px !important}#wpadminbar li#wp-admin-bar-blog.menupop>.ab-sub-wrapper,#wpadminbar li#wp-admin-bar-newdash.menupop>.ab-sub-wrapper,#wpadminbar li#wp-admin-bar-my-account.menupop>.ab-sub-wrapper{display:none !important}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar{margin-left:-1px;margin-right:9px}#wpadminbar li#wp-admin-bar-notes.active,#wpadminbar li#wp-admin-bar-notes.active>.ab-item{background:#002c40 !important}#wpadminbar li#wp-admin-bar-notes>#wpnt-notes-panel2{top:46px}#wpadminbar .ab-top-menu>li.ab-active>.ab-item,#wpadminbar>#wp-toolbar .wpnt-show span.noticon,#wpadminbar #wp-admin-bar-notes.wpnt-show .noticon{color:#fff !important}#wpadminbar .ab-active>a.ab-item:before,#wpadminbar #wp-admin-bar-notes.active .noticon-bell:before{filter:brightness(100) !important}#wpadminbar .quicklinks>ul>li#wp-admin-bar-notes>a.ab-item span.noticon,#wpadminbar>#wp-toolbar span.noticon,#wpadminbar #wp-admin-bar-notes .noticon{top:10px}#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon,#wpadminbar .ab-icon,#wpadminbar .ab-item:before{font-size:24px;line-height:1.45}#wpadminbar li#wp-admin-bar-recovery-mode{background-color:#b26200 !important}body #wp-admin-bar-notes>.ab-item{padding:0 15px !important}#wpadminbar ul li#wp-admin-bar-ab-new-post{top:5px !important}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{display:none}.wrap{margin:20px 15px 25px 30px}@media screen and (max-width: 782px){.wrap{margin:10px 7px 10px 18px}}.subsubsub,.wp-filter{margin:10px 0 25px;background:#fff;border:1px solid rgba(200,215,225,.5);width:100%;box-shadow:none;padding:0}.subsubsub a,.filter-links li>a{padding:10px 15px;display:inline-block;font-size:14px;margin:0;color:#2271b1;border-bottom:2px solid #fff;outline:none}.subsubsub a:focus,.filter-links li>a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.subsubsub a:hover,.filter-links li>a:hover{color:#0a4b78;background-color:#e9eff5}.subsubsub a:hover:not(.current),.filter-links li>a:hover:not(.current){border-color:#e9eff5}.filter-links li>a{padding:16px}.subsubsub a.current,.filter-links .current{border-bottom:2px solid #3c434a}@media only screen and (max-width: 480px){.filter-links,.filter-links li,.filter-links li a{display:block}.filter-links li>a{font-size:16px}}.count{display:inline-block;padding:1px 6px;border:solid 1px #8e9196;border-radius:12px;font-size:11px;font-weight:bold;line-height:14px;color:#646970;text-align:center;margin-right:2px}.plugins-php .plugins a{color:#2271b1}.plugins-php .plugins a:hover,.plugins-php .plugins a:focus{color:#0a4b78}.plugins-php .plugins a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.plugins-php .plugins a.delete{color:#d63638}.plugins-php .plugins a.delete:hover,.plugins-php .plugins a.delete:focus{color:#8a2424}.plugins-php .plugins a.delete:focus{box-shadow:0 0 0 1px #d63638,0 0 2px 1px #f86368}.plugins-php .tablenav{clear:none;float:right;margin-bottom:15px}.plugins-php .tablenav .one-page .displaying-num{display:none}.plugins-php .bulkactions select:focus{border-color:#2271b1;box-shadow:0 0 2px #5198d9}.plugins-php p.search-box{margin-top:5px}.plugins-php p.search-box .wp-filter-search:focus{border-color:#2271b1;box-shadow:0 0 2px #5198d9}.plugins-php .plugin-update-tr.active td,.plugins-php .plugins .active th{border-right:4px solid #2271b1}.plugins-php .plugins .active th,.plugins-php .plugins .active td,.plugins-php .plugins .active th.check-column,.plugins-php .plugin-update-tr.active td{background-color:#e9eff5}.wrap .wp-heading-inline+.page-title-action,.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{background:#c9356e;border-color:#8c1749;color:#fff;border-style:solid;border-width:1px 1px 2px;cursor:pointer;display:inline-block;margin:0 0 0 5px;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:middle;box-sizing:border-box;font-size:13px;line-height:21px;border-radius:4px;padding:2px 10px 2px;margin-bottom:2px;-webkit-appearance:none;appearance:none}.wrap .wp-heading-inline+.page-title-action:hover,.wrap .add-new-h2:hover,.wrap .add-new-h2:active:hover,.wrap .page-title-action:hover,.wrap .page-title-action:active:hover{background-color:#e34c84}.wrap .wp-heading-inline+.page-title-action:focus,.wrap .add-new-h2:focus,.wrap .add-new-h2:active:focus,.wrap .page-title-action:focus,.wrap .page-title-action:active:focus{box-shadow:0 0 0 2px #eb6594;background-color:#e34c84}.wp-core-ui .button{background:#fff}.wp-core-ui .button:focus{border-color:#2271b1;box-shadow:0 0 3px #5198d9}.wp-core-ui .button-primary{background:#2271b1;border-color:#0a4b78;color:#fff;text-shadow:none}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background-color:#3582c4}.ui-tabs-nav li,.wp-switch-editor{background-color:#f6f7f7 !important}.plugin-card a,.popular-tags a,.filter-links>li>a{color:#2271b1}.plugin-card a:hover,.plugin-card a:focus,.popular-tags a:hover,.popular-tags a:focus,.filter-links>li>a:hover,.filter-links>li>a:focus{color:#0a4b78}.plugin-card a:focus,.popular-tags a:focus,.filter-links>li>a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.plugin-card-bottom,.alternate,.striped>tbody>:nth-child(odd),ul.striped>:nth-child(odd),.ui-tabs-panel,.ui-tabs-nav li.ui-tabs-active,.ui-tabs-nav li.ui-tabs-active:hover,div.mce-toolbar-grp,.html-active .switch-html,.tmce-active .switch-tmce,#post-status-info,.quicktags-toolbar,#major-publishing-actions{background-color:#fff;border-color:#d7e1e9}.wp-filter .search-form{margin-left:10px}@media only screen and (max-width: 1000px){.wp-filter .search-form{margin-right:10px}}@media only screen and (max-width: 782px){.wp-filter .search-form input[type=search].wp-filter-search{padding:5px}}@media only screen and (max-width: 480px){.wp-filter .search-form.search-plugins{align-items:center;display:flex}.wp-filter .search-form.search-plugins .wp-filter-search{flex:0 1 auto;max-width:none;width:100%}.wp-filter .search-form select{flex-shrink:0}.wp-filter .search-form>label{flex:1 1 auto}}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{position:relative;display:inline-block;border-radius:12px;box-sizing:border-box;padding:2px;width:40px;height:24px;vertical-align:middle;align-self:flex-start;outline:0;cursor:pointer;transition:all .4s ease,box-shadow 0s}.form-toggle__switch:before,.form-toggle__switch:after{position:relative;display:block;content:"";width:20px;height:20px}.form-toggle__switch:after{right:0;border-radius:50%;background:#fff;transition:all .2s ease}.form-toggle__switch:before{display:none}.accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #2271b1}.form-toggle__label{cursor:pointer}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-right:12px}.accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #2271b1}.accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #5198d9}.form-toggle+.form-toggle__label .form-toggle__switch{background:#a7aaad}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#c3c4c7}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#2271b1}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#5198d9}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{opacity:.25;cursor:default}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#2271b1}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#c3c4c7}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;width:24px;height:16px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after{width:12px;height:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{right:8px}
-/*# sourceMappingURL=style-rtl.min.css.map */
+#wp-content-editor-tools,body{background:#f6f7f7}#wpwrap{top:14px}#wp-admin-bar-notes #wpnt-notes-unread-count.wpn-unread{background-color:#eb6594!important;background-image:none!important;border:none!important}#adminmenu #collapse-menu,#adminmenu .wp-menu-separator,#screen-meta-links,#toplevel_page_jetpack,.wp-submenu{display:none}.wp-menu-open .wp-submenu{display:block}#adminmenu,#adminmenuback,#adminmenuwrap{background:#fff}#adminmenuback{border-left:1px solid #f6f7f7}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:272px}#adminmenu{margin-top:71px}#adminmenu .wp-submenu{padding:0}#adminmenu .opensub .wp-submenu,#adminmenu .opensub .wp-submenu:after,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:transparent!important}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li.wp-menu-open,#adminmenu li>a.menu-top:focus{background:transparent}#adminmenu a:hover{background-color:#f6f7f7!important}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{padding:5px 5px 5px 0}#adminmenu .wp-has-current-submenu ul>li>a{font-size:15px;font-weight:400!important;padding:7px 46px 7px 12px}#adminmenu a.wp-has-current-submenu:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu>li.current>a.current:after{border:none}#adminmenu .dashicons,#adminmenu .dashicons-before:before{font-size:24px;height:24px;width:24px}#adminmenu a{color:#2c3338!important}#adminmenu li.current>a{background:#e9eff5!important}#adminmenu div.wp-menu-image:before{color:#646970!important}#adminmenu li a:hover div.wp-menu-image:before{color:#2c3338!important}#adminmenu li.current a div.wp-menu-image:before{color:#2271b1!important}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu{background:transparent}#adminmenu div.wp-menu-image.svg{filter:brightness(.4)}#adminmenu li a:hover div.wp-menu-image.svg,#adminmenu li.current div.wp-menu-image.svg{filter:brightness(.25)}#adminmenu li.current .wp-menu-name,#adminmenu li.current a,#adminmenu li.current div.wp-menu-image:before{color:#2271b1!important}#adminmenu div.wp-menu-name{color:#646970;font-size:15px;font-weight:600;padding:9px 41px 8px 0}#adminmenu li a:hover div.wp-menu-name{color:#2c3338}#adminmenu li.menu-top{min-height:46px}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background-color:#2271b1}.no-js li.wp-has-current-submenu:hover .wp-submenu{background:transparent!important}#wpcontent,#wpfooter{margin-right:272px}#toplevel_page_plugin-install div.wp-menu-image.svg,#toplevel_page_plugins div.wp-menu-image.svg{background-size:24px auto}#toplevel_page_plugins div.wp-menu-image.svg{position:relative;right:-2px}#calypso-sidebar-header{background:#fff;border-bottom:1px solid #646970;height:65px;position:fixed;right:0;top:47px;width:272px;z-index:10000}#calypso-sidebar-header svg{float:right;position:relative;right:10px;top:23px}#calypso-sidebar-header ul{float:right;position:relative;right:15px}#calypso-sidebar-header ul li{margin:0}#calypso-sidebar-header ul li#calypso-sitename{color:#646970;font-size:12px;overflow:hidden;white-space:nowrap;width:225px}@media screen and (max-width:782px){#calypso-sidebar-header ul li#calypso-sitename{width:150px}}#calypso-sidebar-header ul li#calypso-sitename:after{-webkit-touch-callout:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:0;pointer-events:none;position:absolute;right:auto;top:0;-webkit-user-select:none;user-select:none;width:20%}#calypso-sidebar-header ul li#calypso-plugins{color:#2c3338;font-size:16px;font-weight:700}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .opensub .wp-submenu:after,.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:transparent!important}.folded #adminmenu li.menu-top .wp-submenu>li>a{font-size:14px;padding:7px 46px 7px 12px}.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head{background:#e9eff5}.folded #adminmenu .wp-submenu .wp-submenu-head{padding:14px 11px 14px 4px}.folded #adminmenu a.menu-top{padding-right:1px}.folded #wpcontent #calypso-sidebar-header{width:36px}.folded #wpcontent #calypso-sidebar-header svg{right:6px}.folded #wpcontent #calypso-sidebar-header ul{display:none}.folded .no-js li.wp-has-current-submenu:hover .wp-submenu{background:#f6f7f7!important}.folded #toplevel_page_plugins div.wp-menu-image.svg{position:relative;right:-2px}@media only screen and (max-width:960px){#calypso-sidebar-header{width:36px}#calypso-sidebar-header ul{display:none}#calypso-sidebar-header svg{right:6px}#adminmenu a.menu-top{padding-right:1px}}@media screen and (max-width:782px){#calypso-sidebar-header{display:none;position:absolute;top:-14px;width:190px}#calypso-sidebar-header ul,.wp-responsive-open #calypso-sidebar-header{display:block}.auto-fold #adminmenu .wp-menu-name{margin-right:0}.auto-fold #adminmenu{top:-14px}#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{background:#fff!important}.auto-fold #adminmenu li.selected div.wp-menu-image.svg{filter:brightness(100)}.auto-fold #adminmenu li.selected div.wp-menu-image:before,.auto-fold #adminmenu li.selected div.wp-menu-name{color:#2271b1!important}#wpadminbar .quicklinks>ul>li>.ab-empty-item,#wpadminbar .quicklinks>ul>li>a{padding:0 15px!important}#wpadminbar li#wp-admin-bar-ab-new-post a{padding:7px 15px!important}}@media screen and (max-width:600px){#calypso-sidebar-header,.auto-fold #adminmenu{top:32px}}@media screen and (max-width:480px){#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before{margin-top:4px!important}#wpadminbar #wp-admin-bar-newdash>a.ab-item:before{margin-top:6px!important}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{margin-right:-12px!important;top:-5px!important}}.nav-tab-wrapper,.wrap h2.nav-tab-wrapper{background:#fff;border:1px solid rgba(200,215,225,.5);margin:10px 0 25px}.nav-tab{background:none;border:none;color:#2271b1;font-weight:400;padding:3px 13px 12px}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{background:transparent;box-shadow:none}.nav-tab:first-child{margin-right:0}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active{border-bottom:2px solid #3c434a;color:#2c3338}#wpadminbar{background:#006088;border-bottom:1px solid #0a4b78;-webkit-box-shadow:none;-mozilla-box-shadow:none;height:46px;position:fixed}#wpadminbar .ab-top-menu>li>.ab-item{font-size:14px}#wpadminbar .ab-top-menu>li.hover>.ab-item{background:#004e6e!important;color:#fff}#wpadminbar *{line-height:46px}#wpadminbar .quicklinks .ab-empty-item,#wpadminbar .quicklinks a,#wpadminbar .shortlink-input{height:46px}#wpadminbar .quicklinks>ul>li>a{padding:0 15px}#wpadminbar .quicklinks>ul>li.current>a{background:#004966}#wpadminbar .ab-top-menu>li.ab-hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:transparent!important}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item{background:#004e6e!important;color:#fff}#wpadminbar .ab-top-menu>li.my-sites.ab-hover>.ab-item,#wpadminbar .ab-top-menu>li.my-sites.hover>.ab-item,#wpadminbar .ab-top-menu>li.my-sites>.ab-item{background:#002c40!important}#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before,#wpadminbar #wp-admin-bar-newdash>a.ab-item:before{margin-top:13px}#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before{top:-2px!important}#wpadminbar ul li#wp-admin-bar-ab-new-post{border-radius:3px}#wpadminbar ul li#wp-admin-bar-ab-new-post a{color:#2271b1!important;padding:6px 15px}#wpadminbar ul li#wp-admin-bar-ab-new-post a span{color:#2271b1!important;font-size:14px!important;margin-left:4px;margin-right:6px}#wpadminbar ul li#wp-admin-bar-ab-new-post a:after,#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="0" fill="none" width="24" height="24"/><g><path fill="%230087be" d="M21 14v5c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h5v2H5v14h14v-5h2z"/><path fill="%230087be" d="M21 7h-4V3h-2v4h-4v2h4v4h2V9h4"/></g></svg>')!important}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{margin-right:-6px}#wpadminbar ul li#wp-admin-bar-ab-new-post:hover,#wpadminbar ul li#wp-admin-bar-ab-new-post:hover>.ab-item{background:#f6f7f7!important;border-radius:3px!important;opacity:1}#wpadminbar li#wp-admin-bar-blog.menupop>.ab-sub-wrapper,#wpadminbar li#wp-admin-bar-my-account.menupop>.ab-sub-wrapper,#wpadminbar li#wp-admin-bar-newdash.menupop>.ab-sub-wrapper{display:none!important}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar{margin-left:-1px;margin-right:9px}#wpadminbar li#wp-admin-bar-notes.active,#wpadminbar li#wp-admin-bar-notes.active>.ab-item{background:#002c40!important}#wpadminbar li#wp-admin-bar-notes>#wpnt-notes-panel2{top:46px}#wpadminbar #wp-admin-bar-notes.wpnt-show .noticon,#wpadminbar .ab-top-menu>li.ab-active>.ab-item,#wpadminbar>#wp-toolbar .wpnt-show span.noticon{color:#fff!important}#wpadminbar #wp-admin-bar-notes.active .noticon-bell:before,#wpadminbar .ab-active>a.ab-item:before{filter:brightness(100)!important}#wpadminbar #wp-admin-bar-notes .noticon,#wpadminbar .quicklinks>ul>li#wp-admin-bar-notes>a.ab-item span.noticon,#wpadminbar>#wp-toolbar span.noticon{top:10px}#wpadminbar .ab-icon,#wpadminbar .ab-item:before,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon{font-size:24px;line-height:1.45}#wpadminbar li#wp-admin-bar-recovery-mode{background-color:#b26200!important}body #wp-admin-bar-notes>.ab-item{padding:0 15px!important}#wpadminbar ul li#wp-admin-bar-ab-new-post{top:5px!important}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{display:none}.wrap{margin:20px 15px 25px 30px}@media screen and (max-width:782px){.wrap{margin:10px 7px 10px 18px}}.subsubsub,.wp-filter{background:#fff;border:1px solid rgba(200,215,225,.5);box-shadow:none;margin:10px 0 25px;padding:0;width:100%}.filter-links li>a,.subsubsub a{border-bottom:2px solid #fff;color:#2271b1;display:inline-block;font-size:14px;margin:0;outline:none;padding:10px 15px}.filter-links li>a:focus,.subsubsub a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.filter-links li>a:hover,.subsubsub a:hover{background-color:#e9eff5;color:#0a4b78}.filter-links li>a:hover:not(.current),.subsubsub a:hover:not(.current){border-color:#e9eff5}.filter-links li>a{padding:16px}.filter-links .current,.subsubsub a.current{border-bottom:2px solid #3c434a}@media only screen and (max-width:480px){.filter-links,.filter-links li,.filter-links li a{display:block}.filter-links li>a{font-size:16px}}.count{border:1px solid #8e9196;border-radius:12px;color:#646970;display:inline-block;font-size:11px;font-weight:700;line-height:14px;margin-right:2px;padding:1px 6px;text-align:center}.plugins-php .plugins a{color:#2271b1}.plugins-php .plugins a:focus,.plugins-php .plugins a:hover{color:#0a4b78}.plugins-php .plugins a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.plugins-php .plugins a.delete{color:#d63638}.plugins-php .plugins a.delete:focus,.plugins-php .plugins a.delete:hover{color:#8a2424}.plugins-php .plugins a.delete:focus{box-shadow:0 0 0 1px #d63638,0 0 2px 1px #f86368}.plugins-php .tablenav{clear:none;float:right;margin-bottom:15px}.plugins-php .tablenav .one-page .displaying-num{display:none}.plugins-php .bulkactions select:focus{border-color:#2271b1;box-shadow:0 0 2px #5198d9}.plugins-php p.search-box{margin-top:5px}.plugins-php p.search-box .wp-filter-search:focus{border-color:#2271b1;box-shadow:0 0 2px #5198d9}.plugins-php .plugin-update-tr.active td,.plugins-php .plugins .active th{border-right:4px solid #2271b1}.plugins-php .plugin-update-tr.active td,.plugins-php .plugins .active td,.plugins-php .plugins .active th,.plugins-php .plugins .active th.check-column{background-color:#e9eff5}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active,.wrap .wp-heading-inline+.page-title-action{-webkit-appearance:none;appearance:none;background:#c9356e;border:solid #8c1749;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:13px;font-weight:500;line-height:21px;margin:0 0 2px 5px;outline:0;overflow:hidden;padding:2px 10px;text-decoration:none;text-overflow:ellipsis;vertical-align:middle}.wrap .add-new-h2:active:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:active:hover,.wrap .page-title-action:hover,.wrap .wp-heading-inline+.page-title-action:hover{background-color:#e34c84}.wrap .add-new-h2:active:focus,.wrap .add-new-h2:focus,.wrap .page-title-action:active:focus,.wrap .page-title-action:focus,.wrap .wp-heading-inline+.page-title-action:focus{background-color:#e34c84;box-shadow:0 0 0 2px #eb6594}.wp-core-ui .button{background:#fff}.wp-core-ui .button:focus{border-color:#2271b1;box-shadow:0 0 3px #5198d9}.wp-core-ui .button-primary{background:#2271b1;border-color:#0a4b78;color:#fff;text-shadow:none}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background-color:#3582c4}.ui-tabs-nav li,.wp-switch-editor{background-color:#f6f7f7!important}.filter-links>li>a,.plugin-card a,.popular-tags a{color:#2271b1}.filter-links>li>a:focus,.filter-links>li>a:hover,.plugin-card a:focus,.plugin-card a:hover,.popular-tags a:focus,.popular-tags a:hover{color:#0a4b78}.filter-links>li>a:focus,.plugin-card a:focus,.popular-tags a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}#major-publishing-actions,#post-status-info,.alternate,.html-active .switch-html,.plugin-card-bottom,.quicktags-toolbar,.striped>tbody>:nth-child(odd),.tmce-active .switch-tmce,.ui-tabs-nav li.ui-tabs-active,.ui-tabs-nav li.ui-tabs-active:hover,.ui-tabs-panel,div.mce-toolbar-grp,ul.striped>:nth-child(odd){background-color:#fff;border-color:#d7e1e9}.wp-filter .search-form{margin-left:10px}@media only screen and (max-width:1000px){.wp-filter .search-form{margin-right:10px}}@media only screen and (max-width:782px){.wp-filter .search-form input[type=search].wp-filter-search{padding:5px}}@media only screen and (max-width:480px){.wp-filter .search-form.search-plugins{align-items:center;display:flex}.wp-filter .search-form.search-plugins .wp-filter-search{flex:0 1 auto;max-width:none;width:100%}.wp-filter .search-form select{flex-shrink:0}.wp-filter .search-form>label{flex:1 1 auto}}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{align-self:flex-start;border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;right:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #2271b1}.form-toggle__label{cursor:pointer}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-right:12px}.accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #2271b1}.accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #5198d9}.form-toggle+.form-toggle__label .form-toggle__switch{background:#a7aaad}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#c3c4c7}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#2271b1}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#5198d9}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#2271b1}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#c3c4c7}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{right:8px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/calypsoify/style.min.css b/plugins/jetpack/modules/calypsoify/style.min.css
index c9cb7517..ec532fd1 100644
--- a/plugins/jetpack/modules/calypsoify/style.min.css
+++ b/plugins/jetpack/modules/calypsoify/style.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is compiled SASS code. */
-body,#wp-content-editor-tools{background:#f6f7f7}#wpwrap{top:14px}#wp-admin-bar-notes #wpnt-notes-unread-count.wpn-unread{background-image:none !important;background-color:#eb6594 !important;border:none !important}#adminmenu #collapse-menu,#adminmenu .wp-menu-separator,#screen-meta-links,.wp-submenu,#toplevel_page_jetpack{display:none}.wp-menu-open .wp-submenu{display:block}#adminmenuwrap,#adminmenuback,#adminmenu{background:#fff}#adminmenuback{border-right:1px solid #f6f7f7}#adminmenu,#adminmenuwrap,#adminmenuback,#adminmenu .wp-submenu{width:272px}#adminmenu{margin-top:71px}#adminmenu .wp-submenu{padding:0}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .opensub .wp-submenu,#adminmenu .opensub .wp-submenu:after,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:transparent !important}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus,#adminmenu li.wp-menu-open{background:transparent}#adminmenu a:hover{background-color:#f6f7f7 !important}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{padding:5px 0 5px 5px}#adminmenu .wp-has-current-submenu ul>li>a{padding:7px 12px 7px 46px;font-size:15px;font-weight:400 !important}#adminmenu a.wp-has-current-submenu:after,#adminmenu>li.current>a.current:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border:none}#adminmenu .dashicons,#adminmenu .dashicons-before:before{width:24px;height:24px;font-size:24px}#adminmenu a{color:#2c3338 !important}#adminmenu li.current>a{background:#e9eff5 !important}#adminmenu div.wp-menu-image:before{color:#646970 !important}#adminmenu li a:hover div.wp-menu-image:before{color:#2c3338 !important}#adminmenu li.current a div.wp-menu-image:before{color:#2271b1 !important}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu{background:transparent}#adminmenu div.wp-menu-image.svg{filter:brightness(0.4)}#adminmenu li a:hover div.wp-menu-image.svg,#adminmenu li.current div.wp-menu-image.svg{filter:brightness(0.25)}#adminmenu li.current div.wp-menu-image:before,#adminmenu li.current a,#adminmenu li.current .wp-menu-name{color:#2271b1 !important}#adminmenu div.wp-menu-name{color:#646970;font-size:15px;padding:9px 0 8px 41px;font-weight:600}#adminmenu li a:hover div.wp-menu-name{color:#2c3338}#adminmenu li.menu-top{min-height:46px}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background-color:#2271b1}.no-js li.wp-has-current-submenu:hover .wp-submenu{background:transparent !important}#wpcontent,#wpfooter{margin-left:272px}#toplevel_page_plugins div.wp-menu-image.svg,#toplevel_page_plugin-install div.wp-menu-image.svg{background-size:24px auto}#toplevel_page_plugins div.wp-menu-image.svg{position:relative;left:-2px}#calypso-sidebar-header{border-bottom:1px solid #646970;position:fixed;top:47px;left:0;width:272px;height:65px;background:#fff;z-index:10000}#calypso-sidebar-header svg{float:left;position:relative;left:10px;top:23px}#calypso-sidebar-header ul{float:left;position:relative;left:15px}#calypso-sidebar-header ul li{margin:0}#calypso-sidebar-header ul li#calypso-sitename{font-size:12px;color:#646970;overflow:hidden;white-space:nowrap;width:225px}@media screen and (max-width: 782px){#calypso-sidebar-header ul li#calypso-sitename{width:150px}}#calypso-sidebar-header ul li#calypso-sitename:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(to right, rgba(255, 255, 255, 0), #fff 90%);top:0px;bottom:0px;right:0px;left:auto;width:20%;height:auto}#calypso-sidebar-header ul li#calypso-plugins{font-weight:bold;color:#2c3338;font-size:16px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .opensub .wp-submenu:after,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:transparent !important}.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:7px 12px 7px 46px;font-size:14px}.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head{background:#e9eff5}.folded #adminmenu .wp-submenu .wp-submenu-head{padding:14px 4px 14px 11px}.folded #adminmenu a.menu-top{padding-left:1px}.folded #wpcontent #calypso-sidebar-header{width:36px}.folded #wpcontent #calypso-sidebar-header svg{left:6px}.folded #wpcontent #calypso-sidebar-header ul{display:none}.folded .no-js li.wp-has-current-submenu:hover .wp-submenu{background:#f6f7f7 !important}.folded #toplevel_page_plugins div.wp-menu-image.svg{position:relative;left:-2px}@media only screen and (max-width: 960px){#calypso-sidebar-header{width:36px}#calypso-sidebar-header ul{display:none}#calypso-sidebar-header svg{left:6px}#adminmenu a.menu-top{padding-left:1px}}@media screen and (max-width: 782px){#calypso-sidebar-header{position:absolute;display:none;width:190px;top:-14px}.wp-responsive-open #calypso-sidebar-header{display:block}#calypso-sidebar-header ul{display:block}.auto-fold #adminmenu .wp-menu-name{margin-left:0}.auto-fold #adminmenu{top:-14px}#adminmenu .wp-submenu,.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#fff !important}.auto-fold #adminmenu li.selected div.wp-menu-image.svg{filter:brightness(100)}.auto-fold #adminmenu li.selected div.wp-menu-image:before,.auto-fold #adminmenu li.selected div.wp-menu-name{color:#2271b1 !important}#wpadminbar .quicklinks>ul>li>a,#wpadminbar .quicklinks>ul>li>.ab-empty-item{padding:0 15px !important}#wpadminbar li#wp-admin-bar-ab-new-post a{padding:7px 15px !important}}@media screen and (max-width: 600px){#calypso-sidebar-header{top:32px}.auto-fold #adminmenu{top:32px}}@media screen and (max-width: 480px){#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before{margin-top:4px !important}#wpadminbar #wp-admin-bar-newdash>a.ab-item:before{margin-top:6px !important}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{top:-5px !important;margin-left:-12px !important}}.nav-tab-wrapper,.wrap h2.nav-tab-wrapper{margin:10px 0 25px;background:#fff;border:1px solid rgba(200,215,225,.5)}.nav-tab{border:none;background:none;font-weight:400;padding:3px 13px 12px;color:#2271b1}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{background:transparent;box-shadow:none}.nav-tab:first-child{margin-left:0}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active{border-bottom:2px solid #3c434a;color:#2c3338}#wpadminbar{background:#006088;-webkit-box-shadow:none;-mozilla-box-shadow:none;border-bottom:1px solid #0a4b78;height:46px;position:fixed}#wpadminbar .ab-top-menu>li>.ab-item{font-size:14px}#wpadminbar .ab-top-menu>li.hover>.ab-item{background:#004e6e !important;color:#fff}#wpadminbar *{line-height:46px}#wpadminbar .quicklinks a,#wpadminbar .quicklinks .ab-empty-item,#wpadminbar .shortlink-input{height:46px}#wpadminbar .quicklinks>ul>li>a{padding:0 15px}#wpadminbar .quicklinks>ul>li.current>a{background:#004966}#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar .ab-top-menu>li.ab-hover>.ab-item{background:transparent !important}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item{background:#004e6e !important;color:#fff}#wpadminbar .ab-top-menu>li.my-sites>.ab-item,#wpadminbar .ab-top-menu>li.my-sites.hover>.ab-item,#wpadminbar .ab-top-menu>li.my-sites.ab-hover>.ab-item{background:#002c40 !important}#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before,#wpadminbar #wp-admin-bar-newdash>a.ab-item:before{margin-top:13px}#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before{top:-2px !important}#wpadminbar ul li#wp-admin-bar-ab-new-post{border-radius:3px}#wpadminbar ul li#wp-admin-bar-ab-new-post a{padding:6px 15px;color:#2271b1 !important}#wpadminbar ul li#wp-admin-bar-ab-new-post a span{color:#2271b1 !important;font-size:14px !important;margin-right:4px;margin-left:6px}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before,#wpadminbar ul li#wp-admin-bar-ab-new-post a:after{background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="0" fill="none" width="24" height="24"/><g><path fill="%230087be" d="M21 14v5c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h5v2H5v14h14v-5h2z"/><path fill="%230087be" d="M21 7h-4V3h-2v4h-4v2h4v4h2V9h4"/></g></svg>') !important}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{margin-left:-6px}#wpadminbar ul li#wp-admin-bar-ab-new-post:hover,#wpadminbar ul li#wp-admin-bar-ab-new-post:hover>.ab-item{background:#f6f7f7 !important;opacity:1;border-radius:3px !important}#wpadminbar li#wp-admin-bar-blog.menupop>.ab-sub-wrapper,#wpadminbar li#wp-admin-bar-newdash.menupop>.ab-sub-wrapper,#wpadminbar li#wp-admin-bar-my-account.menupop>.ab-sub-wrapper{display:none !important}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar{margin-right:-1px;margin-left:9px}#wpadminbar li#wp-admin-bar-notes.active,#wpadminbar li#wp-admin-bar-notes.active>.ab-item{background:#002c40 !important}#wpadminbar li#wp-admin-bar-notes>#wpnt-notes-panel2{top:46px}#wpadminbar .ab-top-menu>li.ab-active>.ab-item,#wpadminbar>#wp-toolbar .wpnt-show span.noticon,#wpadminbar #wp-admin-bar-notes.wpnt-show .noticon{color:#fff !important}#wpadminbar .ab-active>a.ab-item:before,#wpadminbar #wp-admin-bar-notes.active .noticon-bell:before{filter:brightness(100) !important}#wpadminbar .quicklinks>ul>li#wp-admin-bar-notes>a.ab-item span.noticon,#wpadminbar>#wp-toolbar span.noticon,#wpadminbar #wp-admin-bar-notes .noticon{top:10px}#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon,#wpadminbar .ab-icon,#wpadminbar .ab-item:before{font-size:24px;line-height:1.45}#wpadminbar li#wp-admin-bar-recovery-mode{background-color:#b26200 !important}body #wp-admin-bar-notes>.ab-item{padding:0 15px !important}#wpadminbar ul li#wp-admin-bar-ab-new-post{top:5px !important}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{display:none}.wrap{margin:20px 30px 25px 15px}@media screen and (max-width: 782px){.wrap{margin:10px 18px 10px 7px}}.subsubsub,.wp-filter{margin:10px 0 25px;background:#fff;border:1px solid rgba(200,215,225,.5);width:100%;box-shadow:none;padding:0}.subsubsub a,.filter-links li>a{padding:10px 15px;display:inline-block;font-size:14px;margin:0;color:#2271b1;border-bottom:2px solid #fff;outline:none}.subsubsub a:focus,.filter-links li>a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.subsubsub a:hover,.filter-links li>a:hover{color:#0a4b78;background-color:#e9eff5}.subsubsub a:hover:not(.current),.filter-links li>a:hover:not(.current){border-color:#e9eff5}.filter-links li>a{padding:16px}.subsubsub a.current,.filter-links .current{border-bottom:2px solid #3c434a}@media only screen and (max-width: 480px){.filter-links,.filter-links li,.filter-links li a{display:block}.filter-links li>a{font-size:16px}}.count{display:inline-block;padding:1px 6px;border:solid 1px #8e9196;border-radius:12px;font-size:11px;font-weight:bold;line-height:14px;color:#646970;text-align:center;margin-left:2px}.plugins-php .plugins a{color:#2271b1}.plugins-php .plugins a:hover,.plugins-php .plugins a:focus{color:#0a4b78}.plugins-php .plugins a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.plugins-php .plugins a.delete{color:#d63638}.plugins-php .plugins a.delete:hover,.plugins-php .plugins a.delete:focus{color:#8a2424}.plugins-php .plugins a.delete:focus{box-shadow:0 0 0 1px #d63638,0 0 2px 1px #f86368}.plugins-php .tablenav{clear:none;float:left;margin-bottom:15px}.plugins-php .tablenav .one-page .displaying-num{display:none}.plugins-php .bulkactions select:focus{border-color:#2271b1;box-shadow:0 0 2px #5198d9}.plugins-php p.search-box{margin-top:5px}.plugins-php p.search-box .wp-filter-search:focus{border-color:#2271b1;box-shadow:0 0 2px #5198d9}.plugins-php .plugin-update-tr.active td,.plugins-php .plugins .active th{border-left:4px solid #2271b1}.plugins-php .plugins .active th,.plugins-php .plugins .active td,.plugins-php .plugins .active th.check-column,.plugins-php .plugin-update-tr.active td{background-color:#e9eff5}.wrap .wp-heading-inline+.page-title-action,.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{background:#c9356e;border-color:#8c1749;color:#fff;border-style:solid;border-width:1px 1px 2px;cursor:pointer;display:inline-block;margin:0 5px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:middle;box-sizing:border-box;font-size:13px;line-height:21px;border-radius:4px;padding:2px 10px 2px;margin-bottom:2px;-webkit-appearance:none;appearance:none}.wrap .wp-heading-inline+.page-title-action:hover,.wrap .add-new-h2:hover,.wrap .add-new-h2:active:hover,.wrap .page-title-action:hover,.wrap .page-title-action:active:hover{background-color:#e34c84}.wrap .wp-heading-inline+.page-title-action:focus,.wrap .add-new-h2:focus,.wrap .add-new-h2:active:focus,.wrap .page-title-action:focus,.wrap .page-title-action:active:focus{box-shadow:0 0 0 2px #eb6594;background-color:#e34c84}.wp-core-ui .button{background:#fff}.wp-core-ui .button:focus{border-color:#2271b1;box-shadow:0 0 3px #5198d9}.wp-core-ui .button-primary{background:#2271b1;border-color:#0a4b78;color:#fff;text-shadow:none}.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background-color:#3582c4}.ui-tabs-nav li,.wp-switch-editor{background-color:#f6f7f7 !important}.plugin-card a,.popular-tags a,.filter-links>li>a{color:#2271b1}.plugin-card a:hover,.plugin-card a:focus,.popular-tags a:hover,.popular-tags a:focus,.filter-links>li>a:hover,.filter-links>li>a:focus{color:#0a4b78}.plugin-card a:focus,.popular-tags a:focus,.filter-links>li>a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.plugin-card-bottom,.alternate,.striped>tbody>:nth-child(odd),ul.striped>:nth-child(odd),.ui-tabs-panel,.ui-tabs-nav li.ui-tabs-active,.ui-tabs-nav li.ui-tabs-active:hover,div.mce-toolbar-grp,.html-active .switch-html,.tmce-active .switch-tmce,#post-status-info,.quicktags-toolbar,#major-publishing-actions{background-color:#fff;border-color:#d7e1e9}.wp-filter .search-form{margin-right:10px}@media only screen and (max-width: 1000px){.wp-filter .search-form{margin-left:10px}}@media only screen and (max-width: 782px){.wp-filter .search-form input[type=search].wp-filter-search{padding:5px}}@media only screen and (max-width: 480px){.wp-filter .search-form.search-plugins{align-items:center;display:flex}.wp-filter .search-form.search-plugins .wp-filter-search{flex:0 1 auto;max-width:none;width:100%}.wp-filter .search-form select{flex-shrink:0}.wp-filter .search-form>label{flex:1 1 auto}}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{position:relative;display:inline-block;border-radius:12px;box-sizing:border-box;padding:2px;width:40px;height:24px;vertical-align:middle;align-self:flex-start;outline:0;cursor:pointer;transition:all .4s ease,box-shadow 0s}.form-toggle__switch:before,.form-toggle__switch:after{position:relative;display:block;content:"";width:20px;height:20px}.form-toggle__switch:after{left:0;border-radius:50%;background:#fff;transition:all .2s ease}.form-toggle__switch:before{display:none}.accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #2271b1}.form-toggle__label{cursor:pointer}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-left:12px}.accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #2271b1}.accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #5198d9}.form-toggle+.form-toggle__label .form-toggle__switch{background:#a7aaad}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#c3c4c7}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#2271b1}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{left:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#5198d9}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{opacity:.25;cursor:default}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#2271b1}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#c3c4c7}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;width:24px;height:16px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after{width:12px;height:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{left:8px} \ No newline at end of file
+#wp-content-editor-tools,body{background:#f6f7f7}#wpwrap{top:14px}#wp-admin-bar-notes #wpnt-notes-unread-count.wpn-unread{background-color:#eb6594!important;background-image:none!important;border:none!important}#adminmenu #collapse-menu,#adminmenu .wp-menu-separator,#screen-meta-links,#toplevel_page_jetpack,.wp-submenu{display:none}.wp-menu-open .wp-submenu{display:block}#adminmenu,#adminmenuback,#adminmenuwrap{background:#fff}#adminmenuback{border-right:1px solid #f6f7f7}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:272px}#adminmenu{margin-top:71px}#adminmenu .wp-submenu{padding:0}#adminmenu .opensub .wp-submenu,#adminmenu .opensub .wp-submenu:after,#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:transparent!important}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li.wp-menu-open,#adminmenu li>a.menu-top:focus{background:transparent}#adminmenu a:hover{background-color:#f6f7f7!important}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{padding:5px 0 5px 5px}#adminmenu .wp-has-current-submenu ul>li>a{font-size:15px;font-weight:400!important;padding:7px 12px 7px 46px}#adminmenu a.wp-has-current-submenu:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu>li.current>a.current:after{border:none}#adminmenu .dashicons,#adminmenu .dashicons-before:before{font-size:24px;height:24px;width:24px}#adminmenu a{color:#2c3338!important}#adminmenu li.current>a{background:#e9eff5!important}#adminmenu div.wp-menu-image:before{color:#646970!important}#adminmenu li a:hover div.wp-menu-image:before{color:#2c3338!important}#adminmenu li.current a div.wp-menu-image:before{color:#2271b1!important}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu{background:transparent}#adminmenu div.wp-menu-image.svg{filter:brightness(.4)}#adminmenu li a:hover div.wp-menu-image.svg,#adminmenu li.current div.wp-menu-image.svg{filter:brightness(.25)}#adminmenu li.current .wp-menu-name,#adminmenu li.current a,#adminmenu li.current div.wp-menu-image:before{color:#2271b1!important}#adminmenu div.wp-menu-name{color:#646970;font-size:15px;font-weight:600;padding:9px 0 8px 41px}#adminmenu li a:hover div.wp-menu-name{color:#2c3338}#adminmenu li.menu-top{min-height:46px}#adminmenu .awaiting-mod,#adminmenu .update-plugins{background-color:#2271b1}.no-js li.wp-has-current-submenu:hover .wp-submenu{background:transparent!important}#wpcontent,#wpfooter{margin-left:272px}#toplevel_page_plugin-install div.wp-menu-image.svg,#toplevel_page_plugins div.wp-menu-image.svg{background-size:24px auto}#toplevel_page_plugins div.wp-menu-image.svg{left:-2px;position:relative}#calypso-sidebar-header{background:#fff;border-bottom:1px solid #646970;height:65px;left:0;position:fixed;top:47px;width:272px;z-index:10000}#calypso-sidebar-header svg{float:left;left:10px;position:relative;top:23px}#calypso-sidebar-header ul{float:left;left:15px;position:relative}#calypso-sidebar-header ul li{margin:0}#calypso-sidebar-header ul li#calypso-sitename{color:#646970;font-size:12px;overflow:hidden;white-space:nowrap;width:225px}@media screen and (max-width:782px){#calypso-sidebar-header ul li#calypso-sitename{width:150px}}#calypso-sidebar-header ul li#calypso-sitename:after{-webkit-touch-callout:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);bottom:0;content:"";display:block;height:auto;left:auto;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;width:20%}#calypso-sidebar-header ul li#calypso-plugins{color:#2c3338;font-size:16px;font-weight:700}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .opensub .wp-submenu:after,.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:transparent!important}.folded #adminmenu li.menu-top .wp-submenu>li>a{font-size:14px;padding:7px 12px 7px 46px}.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head{background:#e9eff5}.folded #adminmenu .wp-submenu .wp-submenu-head{padding:14px 4px 14px 11px}.folded #adminmenu a.menu-top{padding-left:1px}.folded #wpcontent #calypso-sidebar-header{width:36px}.folded #wpcontent #calypso-sidebar-header svg{left:6px}.folded #wpcontent #calypso-sidebar-header ul{display:none}.folded .no-js li.wp-has-current-submenu:hover .wp-submenu{background:#f6f7f7!important}.folded #toplevel_page_plugins div.wp-menu-image.svg{left:-2px;position:relative}@media only screen and (max-width:960px){#calypso-sidebar-header{width:36px}#calypso-sidebar-header ul{display:none}#calypso-sidebar-header svg{left:6px}#adminmenu a.menu-top{padding-left:1px}}@media screen and (max-width:782px){#calypso-sidebar-header{display:none;position:absolute;top:-14px;width:190px}#calypso-sidebar-header ul,.wp-responsive-open #calypso-sidebar-header{display:block}.auto-fold #adminmenu .wp-menu-name{margin-left:0}.auto-fold #adminmenu{top:-14px}#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{background:#fff!important}.auto-fold #adminmenu li.selected div.wp-menu-image.svg{filter:brightness(100)}.auto-fold #adminmenu li.selected div.wp-menu-image:before,.auto-fold #adminmenu li.selected div.wp-menu-name{color:#2271b1!important}#wpadminbar .quicklinks>ul>li>.ab-empty-item,#wpadminbar .quicklinks>ul>li>a{padding:0 15px!important}#wpadminbar li#wp-admin-bar-ab-new-post a{padding:7px 15px!important}}@media screen and (max-width:600px){#calypso-sidebar-header,.auto-fold #adminmenu{top:32px}}@media screen and (max-width:480px){#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before{margin-top:4px!important}#wpadminbar #wp-admin-bar-newdash>a.ab-item:before{margin-top:6px!important}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{margin-left:-12px!important;top:-5px!important}}.nav-tab-wrapper,.wrap h2.nav-tab-wrapper{background:#fff;border:1px solid rgba(200,215,225,.5);margin:10px 0 25px}.nav-tab{background:none;border:none;color:#2271b1;font-weight:400;padding:3px 13px 12px}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{background:transparent;box-shadow:none}.nav-tab:first-child{margin-left:0}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active{border-bottom:2px solid #3c434a;color:#2c3338}#wpadminbar{background:#006088;border-bottom:1px solid #0a4b78;-webkit-box-shadow:none;-mozilla-box-shadow:none;height:46px;position:fixed}#wpadminbar .ab-top-menu>li>.ab-item{font-size:14px}#wpadminbar .ab-top-menu>li.hover>.ab-item{background:#004e6e!important;color:#fff}#wpadminbar *{line-height:46px}#wpadminbar .quicklinks .ab-empty-item,#wpadminbar .quicklinks a,#wpadminbar .shortlink-input{height:46px}#wpadminbar .quicklinks>ul>li>a{padding:0 15px}#wpadminbar .quicklinks>ul>li.current>a{background:#004966}#wpadminbar .ab-top-menu>li.ab-hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{background:transparent!important}#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item{background:#004e6e!important;color:#fff}#wpadminbar .ab-top-menu>li.my-sites.ab-hover>.ab-item,#wpadminbar .ab-top-menu>li.my-sites.hover>.ab-item,#wpadminbar .ab-top-menu>li.my-sites>.ab-item{background:#002c40!important}#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before,#wpadminbar #wp-admin-bar-newdash>a.ab-item:before{margin-top:13px}#wpadminbar #wp-admin-bar-blog.my-sites>a.ab-item:before{top:-2px!important}#wpadminbar ul li#wp-admin-bar-ab-new-post{border-radius:3px}#wpadminbar ul li#wp-admin-bar-ab-new-post a{color:#2271b1!important;padding:6px 15px}#wpadminbar ul li#wp-admin-bar-ab-new-post a span{color:#2271b1!important;font-size:14px!important;margin-left:6px;margin-right:4px}#wpadminbar ul li#wp-admin-bar-ab-new-post a:after,#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="0" fill="none" width="24" height="24"/><g><path fill="%230087be" d="M21 14v5c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h5v2H5v14h14v-5h2z"/><path fill="%230087be" d="M21 7h-4V3h-2v4h-4v2h4v4h2V9h4"/></g></svg>')!important}#wpadminbar ul li#wp-admin-bar-ab-new-post a:before{margin-left:-6px}#wpadminbar ul li#wp-admin-bar-ab-new-post:hover,#wpadminbar ul li#wp-admin-bar-ab-new-post:hover>.ab-item{background:#f6f7f7!important;border-radius:3px!important;opacity:1}#wpadminbar li#wp-admin-bar-blog.menupop>.ab-sub-wrapper,#wpadminbar li#wp-admin-bar-my-account.menupop>.ab-sub-wrapper,#wpadminbar li#wp-admin-bar-newdash.menupop>.ab-sub-wrapper{display:none!important}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar{margin-left:9px;margin-right:-1px}#wpadminbar li#wp-admin-bar-notes.active,#wpadminbar li#wp-admin-bar-notes.active>.ab-item{background:#002c40!important}#wpadminbar li#wp-admin-bar-notes>#wpnt-notes-panel2{top:46px}#wpadminbar #wp-admin-bar-notes.wpnt-show .noticon,#wpadminbar .ab-top-menu>li.ab-active>.ab-item,#wpadminbar>#wp-toolbar .wpnt-show span.noticon{color:#fff!important}#wpadminbar #wp-admin-bar-notes.active .noticon-bell:before,#wpadminbar .ab-active>a.ab-item:before{filter:brightness(100)!important}#wpadminbar #wp-admin-bar-notes .noticon,#wpadminbar .quicklinks>ul>li#wp-admin-bar-notes>a.ab-item span.noticon,#wpadminbar>#wp-toolbar span.noticon{top:10px}#wpadminbar .ab-icon,#wpadminbar .ab-item:before,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon{font-size:24px;line-height:1.45}#wpadminbar li#wp-admin-bar-recovery-mode{background-color:#b26200!important}body #wp-admin-bar-notes>.ab-item{padding:0 15px!important}#wpadminbar ul li#wp-admin-bar-ab-new-post{top:5px!important}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{display:none}.wrap{margin:20px 30px 25px 15px}@media screen and (max-width:782px){.wrap{margin:10px 18px 10px 7px}}.subsubsub,.wp-filter{background:#fff;border:1px solid rgba(200,215,225,.5);box-shadow:none;margin:10px 0 25px;padding:0;width:100%}.filter-links li>a,.subsubsub a{border-bottom:2px solid #fff;color:#2271b1;display:inline-block;font-size:14px;margin:0;outline:none;padding:10px 15px}.filter-links li>a:focus,.subsubsub a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.filter-links li>a:hover,.subsubsub a:hover{background-color:#e9eff5;color:#0a4b78}.filter-links li>a:hover:not(.current),.subsubsub a:hover:not(.current){border-color:#e9eff5}.filter-links li>a{padding:16px}.filter-links .current,.subsubsub a.current{border-bottom:2px solid #3c434a}@media only screen and (max-width:480px){.filter-links,.filter-links li,.filter-links li a{display:block}.filter-links li>a{font-size:16px}}.count{border:1px solid #8e9196;border-radius:12px;color:#646970;display:inline-block;font-size:11px;font-weight:700;line-height:14px;margin-left:2px;padding:1px 6px;text-align:center}.plugins-php .plugins a{color:#2271b1}.plugins-php .plugins a:focus,.plugins-php .plugins a:hover{color:#0a4b78}.plugins-php .plugins a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}.plugins-php .plugins a.delete{color:#d63638}.plugins-php .plugins a.delete:focus,.plugins-php .plugins a.delete:hover{color:#8a2424}.plugins-php .plugins a.delete:focus{box-shadow:0 0 0 1px #d63638,0 0 2px 1px #f86368}.plugins-php .tablenav{clear:none;float:left;margin-bottom:15px}.plugins-php .tablenav .one-page .displaying-num{display:none}.plugins-php .bulkactions select:focus{border-color:#2271b1;box-shadow:0 0 2px #5198d9}.plugins-php p.search-box{margin-top:5px}.plugins-php p.search-box .wp-filter-search:focus{border-color:#2271b1;box-shadow:0 0 2px #5198d9}.plugins-php .plugin-update-tr.active td,.plugins-php .plugins .active th{border-left:4px solid #2271b1}.plugins-php .plugin-update-tr.active td,.plugins-php .plugins .active td,.plugins-php .plugins .active th,.plugins-php .plugins .active th.check-column{background-color:#e9eff5}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active,.wrap .wp-heading-inline+.page-title-action{-webkit-appearance:none;appearance:none;background:#c9356e;border:solid #8c1749;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-size:13px;font-weight:500;line-height:21px;margin:0 5px 2px 0;outline:0;overflow:hidden;padding:2px 10px;text-decoration:none;text-overflow:ellipsis;vertical-align:middle}.wrap .add-new-h2:active:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:active:hover,.wrap .page-title-action:hover,.wrap .wp-heading-inline+.page-title-action:hover{background-color:#e34c84}.wrap .add-new-h2:active:focus,.wrap .add-new-h2:focus,.wrap .page-title-action:active:focus,.wrap .page-title-action:focus,.wrap .wp-heading-inline+.page-title-action:focus{background-color:#e34c84;box-shadow:0 0 0 2px #eb6594}.wp-core-ui .button{background:#fff}.wp-core-ui .button:focus{border-color:#2271b1;box-shadow:0 0 3px #5198d9}.wp-core-ui .button-primary{background:#2271b1;border-color:#0a4b78;color:#fff;text-shadow:none}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background-color:#3582c4}.ui-tabs-nav li,.wp-switch-editor{background-color:#f6f7f7!important}.filter-links>li>a,.plugin-card a,.popular-tags a{color:#2271b1}.filter-links>li>a:focus,.filter-links>li>a:hover,.plugin-card a:focus,.plugin-card a:hover,.popular-tags a:focus,.popular-tags a:hover{color:#0a4b78}.filter-links>li>a:focus,.plugin-card a:focus,.popular-tags a:focus{box-shadow:0 0 0 1px #2271b1,0 0 2px 1px #5198d9}#major-publishing-actions,#post-status-info,.alternate,.html-active .switch-html,.plugin-card-bottom,.quicktags-toolbar,.striped>tbody>:nth-child(odd),.tmce-active .switch-tmce,.ui-tabs-nav li.ui-tabs-active,.ui-tabs-nav li.ui-tabs-active:hover,.ui-tabs-panel,div.mce-toolbar-grp,ul.striped>:nth-child(odd){background-color:#fff;border-color:#d7e1e9}.wp-filter .search-form{margin-right:10px}@media only screen and (max-width:1000px){.wp-filter .search-form{margin-left:10px}}@media only screen and (max-width:782px){.wp-filter .search-form input[type=search].wp-filter-search{padding:5px}}@media only screen and (max-width:480px){.wp-filter .search-form.search-plugins{align-items:center;display:flex}.wp-filter .search-form.search-plugins .wp-filter-search{flex:0 1 auto;max-width:none;width:100%}.wp-filter .search-form select{flex-shrink:0}.wp-filter .search-form>label{flex:1 1 auto}}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{align-self:flex-start;border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-block;height:24px;outline:0;padding:2px;position:relative;transition:all .4s ease,box-shadow 0s;vertical-align:middle;width:40px}.form-toggle__switch:after,.form-toggle__switch:before{content:"";display:block;height:20px;position:relative;width:20px}.form-toggle__switch:after{background:#fff;border-radius:50%;left:0;transition:all .2s ease}.form-toggle__switch:before{display:none}.accessible-focus .form-toggle__switch:focus{box-shadow:0 0 0 2px #2271b1}.form-toggle__label{cursor:pointer}.is-disabled .form-toggle__label{cursor:default}.form-toggle__label .form-toggle__label-content{flex:0 1 100%;margin-left:12px}.accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #2271b1}.accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #5198d9}.form-toggle+.form-toggle__label .form-toggle__switch{background:#a7aaad}.form-toggle:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#c3c4c7}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#2271b1}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{left:16px}.form-toggle:checked:not(:disabled)+.form-toggle__label:hover .form-toggle__switch{background:#5198d9}.form-toggle:disabled+label.form-toggle__label span.form-toggle__switch{cursor:default;opacity:.25}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#2271b1}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#c3c4c7}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;height:16px;width:24px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{height:12px;width:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{left:8px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/carousel.php b/plugins/jetpack/modules/carousel.php
index fda08752..bc9e672c 100644
--- a/plugins/jetpack/modules/carousel.php
+++ b/plugins/jetpack/modules/carousel.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Module Name: Carousel
* Module Description: Display images and galleries in a gorgeous, full-screen browsing experience
@@ -11,6 +10,11 @@
* Module Tags: Photos and Videos
* Feature: Appearance
* Additional Search Queries: gallery, carousel, diaporama, slideshow, images, lightbox, exif, metadata, image
+ *
+ * @package automattic/jetpack
*/
-include dirname( __FILE__ ) . '/carousel/jetpack-carousel.php';
+/**
+ * Require the jetpack-carousel module code
+ */
+require __DIR__ . '/carousel/jetpack-carousel.php';
diff --git a/plugins/jetpack/modules/carousel/images/arrows-2x.png b/plugins/jetpack/modules/carousel/images/arrows-2x.png
deleted file mode 100644
index 01214f2e..00000000
--- a/plugins/jetpack/modules/carousel/images/arrows-2x.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/carousel/images/arrows.png b/plugins/jetpack/modules/carousel/images/arrows.png
deleted file mode 100644
index 9251dce1..00000000
--- a/plugins/jetpack/modules/carousel/images/arrows.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/carousel/images/carousel-likereblog-2x.png b/plugins/jetpack/modules/carousel/images/carousel-likereblog-2x.png
deleted file mode 100644
index 1dd594fe..00000000
--- a/plugins/jetpack/modules/carousel/images/carousel-likereblog-2x.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/carousel/images/carousel-likereblog.png b/plugins/jetpack/modules/carousel/images/carousel-likereblog.png
deleted file mode 100644
index e4cd0596..00000000
--- a/plugins/jetpack/modules/carousel/images/carousel-likereblog.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/carousel/images/carousel-link-2x.png b/plugins/jetpack/modules/carousel/images/carousel-link-2x.png
deleted file mode 100644
index 9939ecba..00000000
--- a/plugins/jetpack/modules/carousel/images/carousel-link-2x.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/carousel/images/carousel-link.png b/plugins/jetpack/modules/carousel/images/carousel-link.png
deleted file mode 100644
index 225348db..00000000
--- a/plugins/jetpack/modules/carousel/images/carousel-link.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/carousel/images/carousel-sprite-2x.png b/plugins/jetpack/modules/carousel/images/carousel-sprite-2x.png
deleted file mode 100644
index 85d0e3f3..00000000
--- a/plugins/jetpack/modules/carousel/images/carousel-sprite-2x.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/carousel/images/carousel-sprite.png b/plugins/jetpack/modules/carousel/images/carousel-sprite.png
deleted file mode 100644
index 41ad9c8d..00000000
--- a/plugins/jetpack/modules/carousel/images/carousel-sprite.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/carousel/jetpack-carousel-rtl.css b/plugins/jetpack/modules/carousel/jetpack-carousel-rtl.css
index 75b412e6..5ec82d9a 100644
--- a/plugins/jetpack/modules/carousel/jetpack-carousel-rtl.css
+++ b/plugins/jetpack/modules/carousel/jetpack-carousel-rtl.css
@@ -1 +1 @@
-:root{--jp-carousel-primary-color:#fff;--jp-carousel-primary-subtle-color:#999;--jp-carousel-bg-color:#000;--jp-carousel-bg-faded-color:#222;--jp-carousel-border-color:#3a3a3a}:root .jp-carousel-light{--jp-carousel-primary-color:#000;--jp-carousel-primary-subtle-color:#646970;--jp-carousel-bg-color:#fff;--jp-carousel-bg-faded-color:#fbfbfb;--jp-carousel-border-color:#dcdcde}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{background-image:none}[data-carousel-extra]:not(.jp-carousel-wrap) img,[data-carousel-extra]:not(.jp-carousel-wrap) img+figcaption{cursor:pointer}.jp-carousel-wrap *{line-height:inherit}.jp-carousel-wrap.swiper-container{height:auto;width:100vw}.jp-carousel-overlay .swiper-zoom-container{background-size:200%;background-repeat:no-repeat;background-position:center}.jp-carousel-overlay .swiper-slide.swiper-slide-next .swiper-zoom-container img,.jp-carousel-overlay .swiper-slide.swiper-slide-prev .swiper-zoom-container img{transition:none!important}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{opacity:.5;transition:.5s opacity ease-out;height:initial;width:initial;padding:20px 40px;background-image:none}.jp-carousel-overlay .swiper-button-next:hover,.jp-carousel-overlay .swiper-button-prev:hover{opacity:1}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:none}.jp-carousel-overlay .swiper-button-next svg,.jp-carousel-overlay .swiper-button-prev svg{height:30px;width:28px;background:var(--jp-carousel-bg-color);border-radius:4px}.jp-carousel-overlay{font-family:'Helvetica Neue',sans-serif!important;z-index:2147483647;overflow-x:hidden;overflow-y:auto;direction:rtl;position:fixed;top:0;left:0;bottom:0;right:0;background:var(--jp-carousel-bg-color)}.jp-carousel-overlay *{box-sizing:border-box}.jp-carousel-overlay h1:before,.jp-carousel-overlay h2:before,.jp-carousel-overlay h3:before{content:none;display:none}.jp-carousel-overlay .swiper-container .swiper-button-prev{right:0;left:auto}.jp-carousel-overlay .swiper-container .swiper-button-next{left:0;right:auto}.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-prev{transform:scaleX(-1)}.jp-carousel-container{display:grid;grid-template-rows:1fr 64px;height:100%}.jp-carousel-hide-controls .jp-carousel-container{grid-template-rows:1fr}.jp-carousel-hide-controls .swiper-wrapper{margin-top:-32px}.jp-carousel-hide-controls .jp-swiper-button-next,.jp-carousel-hide-controls .jp-swiper-button-prev{margin-top:-54px}.jp-carousel-msg{font-family:'Open Sans',sans-serif;font-style:normal;display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:center;margin:25px 2px 0 20px;background-color:var(--jp-carousel-primary-color);border-right:4px solid #ffba00;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.jp-carousel-info{display:flex;flex-direction:column;text-align:right!important;-webkit-font-smoothing:subpixel-antialiased!important;z-index:100;background-color:var(--jp-carousel-bg-color);transition:opacity .2s ease-out;opacity:1}.jp-carousel-hide-controls .jp-carousel-info{visibility:hidden;height:0;overflow:hidden}.jp-carousel-info-footer{position:relative;background-color:var(--jp-carousel-bg-color);height:64px;display:flex;align-items:center;justify-content:space-between;width:100vw}.jp-carousel-info-extra{display:none;background-color:var(--jp-carousel-bg-color);padding:35px;width:100vw;border-top:1px solid var(--jp-carousel-bg-faded-color)}.jp-carousel-title-and-caption{margin-bottom:15px}.jp-carousel-info-extra.jp-carousel-show{display:block}.jp-carousel-info ::selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-info ::-moz-selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-photo-info{right:0!important;width:100%!important}.jp-carousel-comments-wrapper{padding:0;width:100%!important;display:none}.jp-carousel-comments-wrapper.jp-carousel-show{display:block}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:none}.jp-carousel-transitions .jp-carousel-photo-info{transition:.4s ease-out}.jp-carousel-buttons{margin:-18px -20px 15px;padding:8px 10px;border-bottom:1px solid #222;background:#222;text-align:center}div.jp-carousel-buttons a{border:none!important;color:var(--jp-carousel-primary-subtle-color);font:normal 11px/1.2em 'Helvetica Neue',sans-serif!important;letter-spacing:0!important;padding:5px 0 5px 2px;text-decoration:none!important;text-shadow:none!important;vertical-align:middle;-webkit-font-smoothing:subpixel-antialiased}div.jp-carousel-buttons a:hover{color:var(--jp-carousel-primary-color);border:none!important}.jp-carousel-transitions div.jp-carousel-buttons a:hover{transition:none!important}.jp-carousel-slide,.jp-carousel-slide img{transform:translate3d(0,0,0)}.jp-carousel-close-hint{cursor:default;letter-spacing:0!important;position:fixed;top:20px;left:30px;padding:10px;text-align:left;width:45px;height:45px;z-index:15;color:var(--jp-carousel-primary-color);cursor:pointer;transition:opacity .2s ease-out}.jp-carousel-transitions .jp-carousel-close-hint{transition:color .2s linear}.jp-carousel-close-hint svg{padding:3px 2px;background:var(--jp-carousel-bg-color);border-radius:4px}.jp-carousel-close-hint:hover{color:var(--jp-carousel-primary-color)}.jp-carousel-close-hint:hover span{border-color:var(--jp-carousel-primary-color)}.jp-carousel-pagination-container{flex:1;margin:0 35px 0 15px}.jp-carousel-pagination,.jp-swiper-pagination{color:var(--jp-carousel-primary-color);font-size:15px;font-weight:400;white-space:nowrap;display:none;position:static!important}.jp-carousel-pagination-container .swiper-pagination{text-align:right;line-height:8px}.jp-carousel-pagination{padding-right:5px}.jp-swiper-pagination .swiper-pagination-bullet{background:var(--jp-carousel-primary-subtle-color);margin:0 9px}.jp-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background:var(--jp-carousel-primary-color)}.jp-swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active){background:var(--jp-carousel-primary-color);opacity:.5}.jp-carousel-info-footer .jp-carousel-photo-title-container{flex-basis:50vw;flex:4;justify-content:center;overflow:hidden;margin:0}.jp-carousel-photo-caption,.jp-carousel-photo-title{background:100% 0!important;border:none!important;display:inline-block;font:normal 20px/1.3em 'Helvetica Neue',sans-serif;line-height:normal;letter-spacing:0!important;margin:0 0 10px 0;padding:0;overflow:hidden;text-shadow:none!important;text-transform:none!important;color:var(--jp-carousel-primary-color)}.jp-carousel-info-footer .jp-carousel-photo-caption{text-align:center;font-size:15px;white-space:nowrap;color:var(--jp-carousel-primary-subtle-color);cursor:pointer;margin:0;text-overflow:ellipsis}.jp-carousel-info-footer .jp-carousel-photo-caption p{margin:0}.jp-carousel-photo-title{font-size:32px;margin-bottom:2px}.jp-carousel-photo-description{color:var(--jp-carousel-primary-subtle-color);font-size:16px;margin:25px 0;width:100%}.jp-carousel-photo-description{overflow:hidden;overflow-wrap:break-word}.jp-carousel-photo-description p{color:var(--jp-carousel-primary-subtle-color);line-height:1.4;margin-bottom:0}.jp-carousel-comments p a,.jp-carousel-info h2 a,.jp-carousel-photo-description p a{color:var(--jp-carousel-primary-color)!important;border:none!important;text-decoration:underline!important;font-weight:400!important;font-style:normal!important}.jp-carousel-photo-description p b,.jp-carousel-photo-description p strong{font-weight:700;color:var(--jp-carousel-primary-subtle-color)}.jp-carousel-photo-description p em,.jp-carousel-photo-description p i{font-style:italic;color:var(--jp-carousel-primary-subtle-color)}.jp-carousel-comments p a:hover,.jp-carousel-info h2 a:hover,.jp-carousel-photo-description p a:hover{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-photo-description p:empty{display:none}.jp-carousel-comments-wrapper h1:after,.jp-carousel-comments-wrapper h1:before,.jp-carousel-photo-info h1:after,.jp-carousel-photo-info h1:before{content:none!important}.jp-carousel-caption{font-size:14px;font-weight:400;margin:0}.jp-carousel-image-meta{color:var(--jp-carousel-primary-color);font-size:13px;font:12px/1.4 'Helvetica Neue',sans-serif!important;width:100%;display:none}.jp-carousel-image-meta.jp-carousel-show{display:block}.jp-carousel-image-meta h5,.jp-carousel-image-meta li{font-family:'Helvetica Neue',sans-serif!important;position:inherit!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;background:100% 0!important;border:none!important;font-weight:400!important;line-height:1.3em!important}.jp-carousel-image-meta ul{margin:0!important;padding:0!important;list-style:none!important}.jp-carousel-image-meta li{width:48%!important;display:inline-block!important;vertical-align:top!important;margin:0 0 15px 2%!important;color:var(--jp-carousel-primary-color)!important;font-size:13px!important}.jp-carousel-image-meta h5{color:var(--jp-carousel-primary-subtle-color)!important;text-transform:uppercase!important;font-size:10px!important;margin:0 0 2px!important;letter-spacing:.1em!important}a.jp-carousel-image-download{display:inline-block;clear:both;color:var(--jp-carousel-primary-subtle-color);line-height:1;font-weight:400;font-size:14px;text-decoration:none}a.jp-carousel-image-download svg{display:inline-block;vertical-align:middle;margin:0 3px;padding-bottom:2px}a.jp-carousel-image-download span.photo-size{font-size:11px;border-radius:1em;margin-right:2px;display:inline-block}a.jp-carousel-image-download span.photo-size-times{padding:0 2px 0 1px}.jp-carousel-comments{font:15px/1.7 'Helvetica Neue',sans-serif!important;font-weight:400;background:none transparent;width:100%;bottom:10px;margin-top:20px}.jp-carousel-comments p a:active,.jp-carousel-comments p a:focus,.jp-carousel-comments p a:hover{color:var(--jp-carousel-primary-color)!important}.jp-carousel-comment{background:none transparent;color:var(--jp-carousel-primary-subtle-color);overflow:auto;width:100%;display:flex}.jp-carousel-comment+.jp-carousel-comment{margin-top:20px}.jp-carousel-comment:last-of-type{margin-bottom:20px}.jp-carousel-comment p{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-comment .comment-author{font-size:15px;font-weight:500;padding:0;width:auto;display:inline;float:none;border:none;margin:0}.jp-carousel-comment .comment-author a{color:var(--jp-carousel-primary-color)}.jp-carousel-comment .comment-gravatar{float:none;margin-left:10px}.jp-carousel-comment .comment-content{border:none;padding:0}.jp-carousel-comment .avatar{margin:0;border-radius:4px;border:none!important;padding:0!important;background-color:transparent!important;min-width:64px;min-height:64px;width:64px;height:64px}.jp-carousel-comment .comment-date{color:var(--jp-carousel-primary-subtle-color);font-size:11px;border-bottom:1px solid var(--jp-carousel-bg-faded-color);margin-bottom:6px}#jp-carousel-comment-form{margin:0 0 10px!important;width:100%}#jp-carousel-comment-form.jp-carousel-is-disabled{opacity:.5;pointer-events:none}textarea#jp-carousel-comment-form-comment-field{background:var(--jp-carousel-bg-faded-color);border:1px solid var(--jp-carousel-border-color);color:var(--jp-carousel-primary-subtle-color);font:16px/1.4 'Helvetica Neue',sans-serif!important;width:100%;padding:10px 10px 5px;margin:0;float:none;height:147px;box-shadow:inset -2px 2px 2px rgba(0,0,0,.1);border-radius:3px;overflow:hidden;box-sizing:border-box}textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder{color:#555}textarea#jp-carousel-comment-form-comment-field:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder{color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-loading-overlay{display:none;position:fixed;top:0;bottom:0;right:0;left:0}#jp-carousel-loading-wrapper{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw}#jp-carousel-library-loading,#jp-carousel-library-loading:after{border-radius:50%;width:40px;height:40px}#jp-carousel-library-loading{float:right;margin:22px 10px 0 0;font-size:10px;position:relative;text-indent:-9999em;border-top:8px solid rgba(255,255,255,.2);border-left:8px solid rgba(255,255,255,.2);border-bottom:8px solid rgba(255,255,255,.2);border-right:8px solid var(--jp-carousel-primary-color);transform:translateZ(0);animation:load8 1.1s infinite linear}#jp-carousel-comment-form-spinner,#jp-carousel-comment-form-spinner:after{border-radius:50%;width:20px;height:20px}#jp-carousel-comment-form-spinner{display:none;float:right;margin:22px 10px 0 0;font-size:10px;position:absolute;text-indent:-9999em;border-top:4px solid rgba(255,255,255,.2);border-left:4px solid rgba(255,255,255,.2);border-bottom:4px solid rgba(255,255,255,.2);border-right:4px solid var(--jp-carousel-primary-color);transform:translateZ(0);animation:load8 1.1s infinite linear;margin:0 auto;top:calc(50% - 15px);right:0;bottom:0;left:0}@keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(-360deg)}}.jp-carousel-info-content-wrapper{max-width:800px;margin:auto}#jp-carousel-comment-form-submit-and-info-wrapper{display:none;overflow:hidden;width:100%}#jp-carousel-comment-form-commenting-as input{background:var(--jp-carousel-bg-color);border:1px solid var(--jp-carousel-border-color);color:var(--jp-carousel-primary-subtle-color);font:16px/1.4 'Helvetica Neue',sans-serif!important;padding:10px;float:right;box-shadow:inset -2px 2px 2px rgba(0,0,0,.2);border-radius:2px;width:285px}#jp-carousel-comment-form-commenting-as input:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-comment-form-commenting-as p{font:400 13px/1.7 'Helvetica Neue',sans-serif!important;margin:22px 0 0;float:right}#jp-carousel-comment-form-commenting-as fieldset{float:right;border:none;margin:20px 0 0 0;padding:0;clear:both}#jp-carousel-comment-form-commenting-as label{font:400 13px/1.7 'Helvetica Neue',sans-serif!important;margin:0 0 3px 20px;float:right;width:100px}#jp-carousel-comment-form-button-submit{margin-top:20px;margin-right:auto;display:block;border:solid 1px var(--jp-carousel-primary-color);background:var(--jp-carousel-bg-color);border-radius:3px;padding:8px 16px;font-size:14px;color:var(--jp-carousel-primary-color)}#jp-carousel-comment-form-button-submit:active,#jp-carousel-comment-form-button-submit:focus{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-bg-color)}#jp-carousel-comment-form-container{margin-bottom:15px;width:100%;margin-top:20px;color:var(--jp-carousel-primary-subtle-color);position:relative;overflow:hidden}#jp-carousel-comment-post-results{display:none;overflow:auto;width:100%}#jp-carousel-comment-post-results span{display:block;text-align:center;margin-top:20px;width:100%;overflow:auto;padding:1em 0;box-sizing:border-box;border-radius:2px;font:13px/1.4 'Helvetica Neue',sans-serif!important;border:1px solid var(--jp-carousel-border-color);box-shadow:inset 0 0 5px 0 rgba(0,0,0,.2)}.jp-carousel-comment-post-error{color:#df4926}#jp-carousel-comments-closed{display:none;color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-comments-loading{font:400 15px/1.7 'Helvetica Neue',sans-serif!important;display:none;color:var(--jp-carousel-primary-subtle-color);text-align:right;margin-bottom:20px;width:100%;bottom:10px;margin-top:20px}.jp-carousel-photo-icons-container{flex:1;display:block;text-align:left;margin:0 30px 0 20px;white-space:nowrap}.jp-carousel-icon-btn{padding:16px;text-decoration:none;border:none;background:100% 0;display:inline-block;height:64px}.jp-carousel-icon{border:none;pointer-events:none;display:inline-block;line-height:0;font-weight:400;font-style:normal;border-radius:4px;width:31px;padding:4px 3px 3px}.jp-carousel-icon svg{display:inline-block}.jp-carousel-overlay rect{fill:var(--jp-carousel-primary-color)}.jp-carousel-selected .jp-carousel-icon{background:var(--jp-carousel-primary-color)}.jp-carousel-selected rect{fill:var(--jp-carousel-bg-color)}.jp-carousel-icon-comments.jp-carousel-show{display:inline-block}.jp-carousel-icon .jp-carousel-has-comments-indicator{display:none;font-size:12px;vertical-align:top;margin-right:-16px;line-height:1;padding:2px 4px;border-radius:4px;background:var(--jp-carousel-primary-color);color:var(--jp-carousel-bg-color);font-weight:400;font-family:'Helvetica Neue',sans-serif!important;position:relative}.jp-carousel-selected .jp-carousel-icon .jp-carousel-has-comments-indicator{background:var(--jp-carousel-bg-color);color:var(--jp-carousel-primary-color)}.jp-carousel-has-comments-indicator.jp-carousel-show{display:inline-block}@media only screen and (max-width:760px){.jp-carousel-overlay .swiper-container .swiper-button-next,.jp-carousel-overlay .swiper-container .swiper-button-prev{display:none!important}.jp-carousel-buttons{display:none!important}.jp-carousel-image-meta{float:none!important;width:100%!important;box-sizing:border-box;margin-right:0}.jp-carousel-close-hint{font-size:26px!important;position:fixed!important;top:10px;left:10px}.admin-bar .jp-carousel-close-hint{top:40px}.jp-carousel-slide img{opacity:1}.jp-carousel-wrap{background-color:var(--jp-carousel-bg-color)}.jp-carousel-fadeaway{display:none}.jp-carousel-info>.jp-carousel-photo-info{display:none}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:block}.jp-carousel-caption{overflow:visible!important}.jp-carousel-info-footer .jp-carousel-photo-title-container{display:none}.jp-carousel-photo-icons-container{margin:0 0 0 10px;white-space:nowrap}.jp-carousel-icon-btn{padding-right:20px}.jp-carousel-pagination{padding-right:5px}.jp-carousel-pagination-container{margin-right:25px}.jp-carousel-comment .avatar{min-width:48px}#jp-carousel-comment-form-commenting-as fieldset,#jp-carousel-comment-form-commenting-as input{width:100%;float:none}} \ No newline at end of file
+:root{--jp-carousel-primary-color:#fff;--jp-carousel-primary-subtle-color:#999;--jp-carousel-bg-color:#000;--jp-carousel-bg-faded-color:#222;--jp-carousel-border-color:#3a3a3a}:root .jp-carousel-light{--jp-carousel-primary-color:#000;--jp-carousel-primary-subtle-color:#646970;--jp-carousel-bg-color:#fff;--jp-carousel-bg-faded-color:#fbfbfb;--jp-carousel-border-color:#dcdcde}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev{background-image:none}[data-carousel-extra]:not(.jp-carousel-wrap) img,[data-carousel-extra]:not(.jp-carousel-wrap) img+figcaption{cursor:pointer}.jp-carousel-wrap *{line-height:inherit}.jp-carousel-wrap.swiper-container{height:auto;width:100vw}.jp-carousel-overlay .swiper-zoom-container{background-position:50%;background-repeat:no-repeat;background-size:200%}.jp-carousel-overlay .swiper-slide.swiper-slide-next .swiper-zoom-container img,.jp-carousel-overlay .swiper-slide.swiper-slide-prev .swiper-zoom-container img{transition:none!important}.jp-carousel-overlay .swiper-button-next,.jp-carousel-overlay .swiper-button-prev{background-image:none;height:auto;opacity:.5;padding:20px 40px;transition:opacity .5s ease-out;width:auto}.jp-carousel-overlay .swiper-button-next:hover,.jp-carousel-overlay .swiper-button-prev:hover{opacity:1}.jp-carousel-overlay .swiper-button-next:after,.jp-carousel-overlay .swiper-button-prev:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after,.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after{content:none}.jp-carousel-overlay .swiper-button-next svg,.jp-carousel-overlay .swiper-button-prev svg{background:var(--jp-carousel-bg-color);border-radius:4px;height:30px;width:28px}.jp-carousel-overlay{background:var(--jp-carousel-bg-color);bottom:0;direction:rtl;font-family:Helvetica Neue,sans-serif!important;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;z-index:2147483647}.jp-carousel-overlay *{box-sizing:border-box}.jp-carousel-overlay h1:before,.jp-carousel-overlay h2:before,.jp-carousel-overlay h3:before{content:none;display:none}.jp-carousel-overlay .swiper-container .swiper-button-prev{left:auto;right:0}.jp-carousel-overlay .swiper-container .swiper-button-next{left:0;right:auto}.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-next,.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-prev{transform:scaleX(-1)}.jp-carousel-container{display:grid;grid-template-rows:1fr 64px;height:100%}.jp-carousel-hide-controls .jp-carousel-container{grid-template-rows:1fr}.jp-carousel-hide-controls .swiper-wrapper{margin-top:-32px}.jp-carousel-hide-controls .jp-swiper-button-next,.jp-carousel-hide-controls .jp-swiper-button-prev{margin-top:-54px}.jp-carousel-msg{background-color:var(--jp-carousel-primary-color);border-right:4px solid #ffba00;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);display:inline-block;font-family:Open Sans,sans-serif;font-size:14px;font-style:normal;line-height:19px;margin:25px 2px 0 20px;padding:11px 15px;text-align:center}.jp-carousel-info{-webkit-font-smoothing:subpixel-antialiased!important;background-color:var(--jp-carousel-bg-color);display:flex;flex-direction:column;opacity:1;text-align:right!important;transition:opacity .2s ease-out;z-index:100}.jp-carousel-hide-controls .jp-carousel-info{height:0;overflow:hidden;visibility:hidden}.jp-carousel-info-footer{align-items:center;display:flex;height:64px;justify-content:space-between;position:relative}.jp-carousel-info-extra,.jp-carousel-info-footer{background-color:var(--jp-carousel-bg-color);width:100vw}.jp-carousel-info-extra{border-top:1px solid var(--jp-carousel-bg-faded-color);display:none;padding:35px}.jp-carousel-title-and-caption{margin-bottom:15px}.jp-carousel-info-extra.jp-carousel-show{display:block}.jp-carousel-info ::selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-info ::-moz-selection{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-primary-color)}.jp-carousel-photo-info{right:0!important;width:100%!important}.jp-carousel-comments-wrapper{display:none;padding:0;width:100%!important}.jp-carousel-comments-wrapper.jp-carousel-show{display:block}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:none}.jp-carousel-transitions .jp-carousel-photo-info{transition:.4s ease-out}.jp-carousel-buttons{background:#222;border-bottom:1px solid #222;margin:-18px -20px 15px;padding:8px 10px;text-align:center}div.jp-carousel-buttons a{-webkit-font-smoothing:subpixel-antialiased;border:none!important;color:var(--jp-carousel-primary-subtle-color);font:normal 11px/1.2em Helvetica Neue,sans-serif!important;letter-spacing:0!important;padding:5px 0 5px 2px;text-decoration:none!important;text-shadow:none!important;vertical-align:middle}div.jp-carousel-buttons a:hover{border:none!important;color:var(--jp-carousel-primary-color)}.jp-carousel-transitions div.jp-carousel-buttons a:hover{transition:none!important}.jp-carousel-slide,.jp-carousel-slide img{transform:translateZ(0)}.jp-carousel-close-hint{color:var(--jp-carousel-primary-color);cursor:default;cursor:pointer;height:45px;left:30px;letter-spacing:0!important;padding:10px;position:fixed;text-align:left;top:20px;transition:opacity .2s ease-out;width:45px;z-index:15}.jp-carousel-transitions .jp-carousel-close-hint{transition:color .2s linear}.jp-carousel-close-hint svg{background:var(--jp-carousel-bg-color);border-radius:4px;padding:3px 2px}.jp-carousel-close-hint:hover{color:var(--jp-carousel-primary-color)}.jp-carousel-close-hint:hover span{border-color:var(--jp-carousel-primary-color)}.jp-carousel-pagination-container{flex:1;margin:0 35px 0 15px}.jp-carousel-pagination,.jp-swiper-pagination{color:var(--jp-carousel-primary-color);display:none;font-size:15px;font-weight:400;position:static!important;white-space:nowrap}.jp-carousel-pagination-container .swiper-pagination{line-height:8px;text-align:right}.jp-carousel-pagination{padding-right:5px}.jp-swiper-pagination .swiper-pagination-bullet{background:var(--jp-carousel-primary-subtle-color);margin:0 9px}.jp-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background:var(--jp-carousel-primary-color)}.jp-swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active){background:var(--jp-carousel-primary-color);opacity:.5}.jp-carousel-info-footer .jp-carousel-photo-title-container{flex-basis:50vw;flex:4;justify-content:center;margin:0;overflow:hidden}.jp-carousel-photo-caption,.jp-carousel-photo-title{background:none!important;border:none!important;color:var(--jp-carousel-primary-color);display:inline-block;font:normal 20px/1.3em Helvetica Neue,sans-serif;letter-spacing:0!important;line-height:normal;margin:0 0 10px;overflow:hidden;padding:0;text-shadow:none!important;text-transform:none!important}.jp-carousel-info-footer .jp-carousel-photo-caption{color:var(--jp-carousel-primary-subtle-color);cursor:pointer;font-size:15px;margin:0;text-align:center;text-overflow:ellipsis;white-space:nowrap}.jp-carousel-info-footer .jp-carousel-photo-caption p{margin:0}.jp-carousel-photo-title{font-size:32px;margin-bottom:2px}.jp-carousel-photo-description{color:var(--jp-carousel-primary-subtle-color);font-size:16px;margin:25px 0;overflow:hidden;overflow-wrap:break-word;width:100%}.jp-carousel-photo-description p{color:var(--jp-carousel-primary-subtle-color);line-height:1.4;margin-bottom:0}.jp-carousel-comments p a,.jp-carousel-info h2 a,.jp-carousel-photo-description p a{border:none!important;color:var(--jp-carousel-primary-color)!important;font-style:normal!important;font-weight:400!important;text-decoration:underline!important}.jp-carousel-photo-description p b,.jp-carousel-photo-description p strong{color:var(--jp-carousel-primary-subtle-color);font-weight:700}.jp-carousel-photo-description p em,.jp-carousel-photo-description p i{color:var(--jp-carousel-primary-subtle-color);font-style:italic}.jp-carousel-comments p a:hover,.jp-carousel-info h2 a:hover,.jp-carousel-photo-description p a:hover{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-photo-description p:empty{display:none}.jp-carousel-comments-wrapper h1:after,.jp-carousel-comments-wrapper h1:before,.jp-carousel-photo-info h1:after,.jp-carousel-photo-info h1:before{content:none!important}.jp-carousel-caption{font-size:14px;font-weight:400;margin:0}.jp-carousel-image-meta{color:var(--jp-carousel-primary-color);display:none;font-size:13px;font:12px/1.4 Helvetica Neue,sans-serif!important;width:100%}.jp-carousel-image-meta.jp-carousel-show{display:block}.jp-carousel-image-meta h5,.jp-carousel-image-meta li{background:none!important;border:none!important;bottom:auto!important;font-family:Helvetica Neue,sans-serif!important;font-weight:400!important;left:auto!important;line-height:1.3em!important;position:inherit!important;right:auto!important;top:auto!important}.jp-carousel-image-meta ul{list-style:none!important;margin:0!important;padding:0!important}.jp-carousel-image-meta li{color:var(--jp-carousel-primary-color)!important;display:inline-block!important;font-size:13px!important;margin:0 0 15px 2%!important;vertical-align:top!important;width:48%!important}.jp-carousel-image-meta h5{color:var(--jp-carousel-primary-subtle-color)!important;font-size:10px!important;letter-spacing:.1em!important;margin:0 0 2px!important;text-transform:uppercase!important}a.jp-carousel-image-download{clear:both;color:var(--jp-carousel-primary-subtle-color);display:inline-block;font-size:14px;font-weight:400;line-height:1;text-decoration:none}a.jp-carousel-image-download svg{display:inline-block;margin:0 3px;padding-bottom:2px;vertical-align:middle}a.jp-carousel-image-download span.photo-size{border-radius:1em;display:inline-block;font-size:11px;margin-right:2px}a.jp-carousel-image-download span.photo-size-times{padding:0 2px 0 1px}.jp-carousel-comments{background:none transparent;bottom:10px;font:15px/1.7 Helvetica Neue,sans-serif!important;font-weight:400;margin-top:20px;width:100%}.jp-carousel-comments p a:active,.jp-carousel-comments p a:focus,.jp-carousel-comments p a:hover{color:var(--jp-carousel-primary-color)!important}.jp-carousel-comment{background:none transparent;color:var(--jp-carousel-primary-subtle-color);display:flex;overflow:auto;width:100%}.jp-carousel-comment+.jp-carousel-comment{margin-top:20px}.jp-carousel-comment:last-of-type{margin-bottom:20px}.jp-carousel-comment p{color:var(--jp-carousel-primary-subtle-color)!important}.jp-carousel-comment .comment-author{border:none;display:inline;float:none;font-size:15px;font-weight:500;margin:0;padding:0;width:auto}.jp-carousel-comment .comment-author a{color:var(--jp-carousel-primary-color)}.jp-carousel-comment .comment-gravatar{float:none;margin-left:10px}.jp-carousel-comment .comment-content{border:none;padding:0}.jp-carousel-comment .avatar{background-color:transparent!important;border:none!important;border-radius:4px;height:64px;margin:0;min-height:64px;min-width:64px;padding:0!important;width:64px}.jp-carousel-comment .comment-date{border-bottom:1px solid var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color);font-size:11px;margin-bottom:6px}#jp-carousel-comment-form{margin:0 0 10px!important;width:100%}#jp-carousel-comment-form.jp-carousel-is-disabled{opacity:.5;pointer-events:none}textarea#jp-carousel-comment-form-comment-field{background:var(--jp-carousel-bg-faded-color);border:1px solid var(--jp-carousel-border-color);border-radius:3px;box-shadow:inset -2px 2px 2px rgba(0,0,0,.1);box-sizing:border-box;color:var(--jp-carousel-primary-subtle-color);float:none;font:16px/1.4 Helvetica Neue,sans-serif!important;height:147px;margin:0;overflow:hidden;padding:10px 10px 5px;width:100%}textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder{color:#555}textarea#jp-carousel-comment-form-comment-field:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder{color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-loading-overlay{bottom:0;display:none;left:0;position:fixed;right:0;top:0}#jp-carousel-loading-wrapper{align-items:center;display:flex;height:100vh;justify-content:center;width:100vw}#jp-carousel-library-loading,#jp-carousel-library-loading:after{border-radius:50%;height:40px;width:40px}#jp-carousel-library-loading{animation:load8 1.1s linear infinite;border:8px solid hsla(0,0%,100%,.2);border-right:8px solid var(--jp-carousel-primary-color);float:right;font-size:10px;margin:22px 10px 0 0;position:relative;text-indent:-9999em;transform:translateZ(0)}#jp-carousel-comment-form-spinner,#jp-carousel-comment-form-spinner:after{border-radius:50%;height:20px;width:20px}#jp-carousel-comment-form-spinner{animation:load8 1.1s linear infinite;border:4px solid hsla(0,0%,100%,.2);border-right:4px solid var(--jp-carousel-primary-color);bottom:0;display:none;float:right;font-size:10px;left:0;margin:0 auto;position:absolute;right:0;text-indent:-9999em;top:calc(50% - 15px);transform:translateZ(0)}@keyframes load8{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.jp-carousel-info-content-wrapper{margin:auto;max-width:800px}#jp-carousel-comment-form-submit-and-info-wrapper{display:none;overflow:hidden;width:100%}#jp-carousel-comment-form-commenting-as input{background:var(--jp-carousel-bg-color);border:1px solid var(--jp-carousel-border-color);border-radius:2px;box-shadow:inset -2px 2px 2px rgba(0,0,0,.2);color:var(--jp-carousel-primary-subtle-color);float:right;font:16px/1.4 Helvetica Neue,sans-serif!important;padding:10px;width:285px}#jp-carousel-comment-form-commenting-as input:focus{background:var(--jp-carousel-bg-faded-color);color:var(--jp-carousel-primary-subtle-color)}#jp-carousel-comment-form-commenting-as p{float:right;font:400 13px/1.7 Helvetica Neue,sans-serif!important;margin:22px 0 0}#jp-carousel-comment-form-commenting-as fieldset{border:none;clear:both;float:right;margin:20px 0 0;padding:0}#jp-carousel-comment-form-commenting-as label{float:right;font:400 13px/1.7 Helvetica Neue,sans-serif!important;margin:0 0 3px 20px;width:100px}#jp-carousel-comment-form-button-submit{background:var(--jp-carousel-bg-color);border:1px solid var(--jp-carousel-primary-color);border-radius:3px;color:var(--jp-carousel-primary-color);display:block;font-size:14px;margin-right:auto;margin-top:20px;padding:8px 16px}#jp-carousel-comment-form-button-submit:active,#jp-carousel-comment-form-button-submit:focus{background:var(--jp-carousel-primary-color);color:var(--jp-carousel-bg-color)}#jp-carousel-comment-form-container{color:var(--jp-carousel-primary-subtle-color);margin-bottom:15px;margin-top:20px;overflow:hidden;position:relative;width:100%}#jp-carousel-comment-post-results{display:none;overflow:auto;width:100%}#jp-carousel-comment-post-results span{border:1px solid var(--jp-carousel-border-color);border-radius:2px;box-shadow:inset 0 0 5px 0 rgba(0,0,0,.2);box-sizing:border-box;display:block;font:13px/1.4 Helvetica Neue,sans-serif!important;margin-top:20px;overflow:auto;padding:1em 0;text-align:center;width:100%}.jp-carousel-comment-post-error{color:#df4926}#jp-carousel-comments-closed,#jp-carousel-comments-loading{color:var(--jp-carousel-primary-subtle-color);display:none}#jp-carousel-comments-loading{bottom:10px;font:400 15px/1.7 Helvetica Neue,sans-serif!important;margin-bottom:20px;margin-top:20px;text-align:right;width:100%}.jp-carousel-photo-icons-container{display:block;flex:1;margin:0 30px 0 20px;text-align:left;white-space:nowrap}.jp-carousel-icon-btn{background:none;border:none;display:inline-block;height:64px;padding:16px;text-decoration:none}.jp-carousel-icon{border:none;border-radius:4px;font-style:normal;font-weight:400;line-height:0;padding:4px 3px 3px;pointer-events:none;width:31px}.jp-carousel-icon,.jp-carousel-icon svg{display:inline-block}.jp-carousel-overlay rect{fill:var(--jp-carousel-primary-color)}.jp-carousel-selected .jp-carousel-icon{background:var(--jp-carousel-primary-color)}.jp-carousel-selected rect{fill:var(--jp-carousel-bg-color)}.jp-carousel-icon-comments.jp-carousel-show{display:inline-block}.jp-carousel-icon .jp-carousel-has-comments-indicator{background:var(--jp-carousel-primary-color);border-radius:4px;color:var(--jp-carousel-bg-color);display:none;font-family:Helvetica Neue,sans-serif!important;font-size:12px;font-weight:400;line-height:1;margin-right:-16px;padding:2px 4px;position:relative;vertical-align:top}.jp-carousel-selected .jp-carousel-icon .jp-carousel-has-comments-indicator{background:var(--jp-carousel-bg-color);color:var(--jp-carousel-primary-color)}.jp-carousel-has-comments-indicator.jp-carousel-show{display:inline-block}@media only screen and (max-width:760px){.jp-carousel-buttons,.jp-carousel-overlay .swiper-container .swiper-button-next,.jp-carousel-overlay .swiper-container .swiper-button-prev{display:none!important}.jp-carousel-image-meta{box-sizing:border-box;float:none!important;margin-right:0;width:100%!important}.jp-carousel-close-hint{font-size:26px!important;left:10px;position:fixed!important;top:10px}.admin-bar .jp-carousel-close-hint{top:40px}.jp-carousel-slide img{opacity:1}.jp-carousel-wrap{background-color:var(--jp-carousel-bg-color)}.jp-carousel-fadeaway,.jp-carousel-info>.jp-carousel-photo-info{display:none}.jp-carousel-comments-wrapper>.jp-carousel-photo-info{display:block}.jp-carousel-caption{overflow:visible!important}.jp-carousel-info-footer .jp-carousel-photo-title-container{display:none}.jp-carousel-photo-icons-container{margin:0 0 0 10px;white-space:nowrap}.jp-carousel-icon-btn{padding-right:20px}.jp-carousel-pagination{padding-right:5px}.jp-carousel-pagination-container{margin-right:25px}.jp-carousel-comment .avatar{min-width:48px}#jp-carousel-comment-form-commenting-as fieldset,#jp-carousel-comment-form-commenting-as input{float:none;width:100%}} \ No newline at end of file
diff --git a/plugins/jetpack/modules/carousel/jetpack-carousel.php b/plugins/jetpack/modules/carousel/jetpack-carousel.php
index 45ed2975..d357b946 100644
--- a/plugins/jetpack/modules/carousel/jetpack-carousel.php
+++ b/plugins/jetpack/modules/carousel/jetpack-carousel.php
@@ -1,39 +1,71 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Module: Jetpack Carousel
+ *
+ * @package automattic/jetpack
+ */
+
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Status;
-/*
-Plugin Name: Jetpack Carousel
-Plugin URL: https://wordpress.com/
-Description: Transform your standard image galleries into an immersive full-screen experience.
-Version: 0.1
-Author: Automattic
-
-Released under the GPL v.2 license.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-*/
+/**
+ * Jetpack_Carousel class.
+ */
class Jetpack_Carousel {
-
+ /**
+ * Defines Carousel pre-built widths
+ *
+ * @var array
+ */
public $prebuilt_widths = array( 370, 700, 1000, 1200, 1400, 2000 );
+ /**
+ * Represents whether or not this is the first load of Carousel on a page. Default is true.
+ *
+ * @var bool
+ */
public $first_run = true;
+ /**
+ * Determines whether or not to set in the gallery. Default is false.
+ *
+ * @deprecated since 10.8
+ *
+ * @var bool
+ */
public $in_gallery = false;
+ /**
+ * Determines whether the Jetpack class and method exists. Default is true.
+ *
+ * @var bool
+ */
public $in_jetpack = true;
+ /**
+ * Determines whether or not a single image gallery is enabled. Default is false.
+ *
+ * @var bool
+ */
public $single_image_gallery_enabled = false;
+ /**
+ * Determines whether images that link to themselves should be replaced with a one image gallery. Default is false.
+ *
+ * @var bool
+ */
public $single_image_gallery_enabled_media_file = false;
- function __construct() {
+ /**
+ * Constructor.
+ */
+ public function __construct() {
add_action( 'init', array( $this, 'init' ) );
}
- function init() {
+ /**
+ * Initialize class
+ */
+ public function init() {
if ( $this->maybe_disable_jp_carousel() ) {
return;
}
@@ -44,11 +76,11 @@ class Jetpack_Carousel {
$this->single_image_gallery_enabled_media_file = $this->maybe_enable_jp_carousel_single_images_media_file();
if ( is_admin() ) {
- // Register the Carousel-related related settings
+ // Register the Carousel-related related settings.
add_action( 'admin_init', array( $this, 'register_settings' ), 5 );
if ( ! $this->in_jetpack ) {
- if ( 0 == $this->test_1or0_option( get_option( 'carousel_enable_it' ), true ) ) {
- return; // Carousel disabled, abort early, but still register setting so user can switch it back on
+ if ( 0 === $this->test_1or0_option( get_option( 'carousel_enable_it' ), true ) ) {
+ return; // Carousel disabled, abort early, but still register setting so user can switch it back on.
}
}
// If in admin, register the ajax endpoints.
@@ -58,8 +90,8 @@ class Jetpack_Carousel {
add_action( 'wp_ajax_nopriv_post_attachment_comment', array( $this, 'post_attachment_comment' ) );
} else {
if ( ! $this->in_jetpack ) {
- if ( 0 == $this->test_1or0_option( get_option( 'carousel_enable_it' ), true ) ) {
- return; // Carousel disabled, abort early
+ if ( 0 === $this->test_1or0_option( get_option( 'carousel_enable_it' ), true ) ) {
+ return; // Carousel disabled, abort early.
}
}
// If on front-end, do the Carousel thang.
@@ -73,7 +105,7 @@ class Jetpack_Carousel {
* @param array $this->prebuilt_widths Array of default widths.
*/
$this->prebuilt_widths = apply_filters( 'jp_carousel_widths', $this->prebuilt_widths );
- // below: load later than other callbacks hooked it (e.g. 3rd party plugins handling gallery shortcode)
+ // below: load later than other callbacks hooked it (e.g. 3rd party plugins handling gallery shortcode).
add_filter( 'post_gallery', array( $this, 'check_if_shortcode_processed_and_enqueue_assets' ), 1000, 2 );
add_filter( 'post_gallery', array( $this, 'set_in_gallery' ), -1000 );
add_filter( 'gallery_style', array( $this, 'add_data_to_container' ) );
@@ -86,11 +118,18 @@ class Jetpack_Carousel {
}
if ( $this->in_jetpack ) {
- Jetpack::enable_module_configurable( dirname( dirname( __FILE__ ) ) . '/carousel.php' );
+ Jetpack::enable_module_configurable( dirname( __DIR__ ) . '/carousel.php' );
}
}
- function maybe_disable_jp_carousel() {
+ /**
+ * Returns the value of the applied jp_carousel_maybe_disable filter
+ *
+ * @since 1.6.0
+ *
+ * @return bool - Should Carousel be disabled? Default to false.
+  */
+ public function maybe_disable_jp_carousel() {
/**
* Allow third-party plugins or themes to disable Carousel.
*
@@ -103,7 +142,14 @@ class Jetpack_Carousel {
return apply_filters( 'jp_carousel_maybe_disable', false );
}
- function maybe_disable_jp_carousel_single_images() {
+ /**
+ * Returns the value of the applied jp_carousel_maybe_disable_single_images filter
+ *
+ * @since 4.5.0
+ *
+ * @return bool - Should Carousel be disabled for single images? Default to false.
+ */
+ public function maybe_disable_jp_carousel_single_images() {
/**
* Allow third-party plugins or themes to disable Carousel for single images.
*
@@ -116,7 +162,14 @@ class Jetpack_Carousel {
return apply_filters( 'jp_carousel_maybe_disable_single_images', false );
}
- function maybe_enable_jp_carousel_single_images_media_file() {
+ /**
+ * Returns the value of the applied jp_carousel_load_for_images_linked_to_file filter
+ *
+ * @since 4.5.0
+ *
+ * @return bool - Should Carousel be enabled for single images linking to 'Media File'? Default to false.
+ */
+ public function maybe_enable_jp_carousel_single_images_media_file() {
/**
* Allow third-party plugins or themes to enable Carousel
* for single images linking to 'Media File' (full size image).
@@ -130,7 +183,16 @@ class Jetpack_Carousel {
return apply_filters( 'jp_carousel_load_for_images_linked_to_file', false );
}
- function asset_version( $version ) {
+ /**
+ * Returns the value of the applied jp_carousel_asset_version filter
+ *
+ * @since 1.6.0
+ *
+ * @param string $version Asset version.
+ *
+ * @return string
+ */
+ public function asset_version( $version ) {
/**
* Filter the version string used when enqueuing Carousel assets.
*
@@ -143,17 +205,36 @@ class Jetpack_Carousel {
return apply_filters( 'jp_carousel_asset_version', $version );
}
- function display_bail_message( $output = '' ) {
- // Displays a message on top of gallery if carousel has bailed
+ /**
+ * Displays a message on top of gallery if carousel has bailed.
+ *
+ * @param string $output Gallery shortcode output.
+ *
+ * @return string Shortcode output with bail message prepended.
+ */
+ public function display_bail_message( $output = '' ) {
$message = '<div class="jp-carousel-msg"><p>';
$message .= __( 'Jetpack\'s Carousel has been disabled, because another plugin or your theme is overriding the [gallery] shortcode.', 'jetpack' );
$message .= '</p></div>';
- // put before gallery output
+ // put before gallery output.
$output = $message . $output;
return $output;
}
- function check_if_shortcode_processed_and_enqueue_assets( $output ) {
+ /**
+ * Determine whether Carousel is enabled, and adjust filters and enqueue assets accordingly.
+ *
+ * If no other filter hook produced output for the gallery shortcode or something returns true for
+ * the `jp_carousel_force_enable` filter, Carousel is enabled and we queue our assets. Otherwise
+ * it's disabled and we remove some of our subsequent filter hooks.
+ *
+ * @since 1.9.0
+ *
+ * @param string $output Gallery shortcode output.
+ *
+ * @return string Gallery shortcode output.
+ */
+ public function check_if_shortcode_processed_and_enqueue_assets( $output ) {
if (
class_exists( 'Jetpack_AMP_Support' )
&& Jetpack_AMP_Support::is_amp_request()
@@ -194,7 +275,7 @@ class Jetpack_Carousel {
* @module carousel
*
* @since 1.6.0
- **/
+ */
do_action( 'jp_carousel_thumbnails_shown' );
$this->enqueue_assets();
@@ -211,7 +292,7 @@ class Jetpack_Carousel {
*
* @return string $content Post content.
*/
- function check_content_for_blocks( $content ) {
+ public function check_content_for_blocks( $content ) {
if (
class_exists( 'Jetpack_AMP_Support' )
&& Jetpack_AMP_Support::is_amp_request()
@@ -226,7 +307,10 @@ class Jetpack_Carousel {
return $content;
}
- function enqueue_assets() {
+ /**
+ * Enqueueing Carousel assets.
+ */
+ public function enqueue_assets() {
if ( $this->first_run ) {
wp_enqueue_script(
'jetpack-carousel',
@@ -247,7 +331,7 @@ class Jetpack_Carousel {
);
wp_localize_script( 'jetpack-carousel', 'jetpackSwiperLibraryPath', $swiper_library_path );
- // Note: using home_url() instead of admin_url() for ajaxurl to be sure to get same domain on wpcom when using mapped domains (also works on self-hosted)
+ // Note: using home_url() instead of admin_url() for ajaxurl to be sure to get same domain on wpcom when using mapped domains (also works on self-hosted).
// Also: not hardcoding path since there is no guarantee site is running on site root in self-hosted context.
$is_logged_in = is_user_logged_in();
$comment_registration = (int) get_option( 'comment_registration' );
@@ -260,7 +344,6 @@ class Jetpack_Carousel {
'nonce' => wp_create_nonce( 'carousel_nonce' ),
'display_exif' => $this->test_1or0_option( Jetpack_Options::get_option_and_ensure_autoload( 'carousel_display_exif', true ) ),
'display_comments' => $this->test_1or0_option( Jetpack_Options::get_option_and_ensure_autoload( 'carousel_display_comments', true ) ),
- 'display_geo' => $this->test_1or0_option( Jetpack_Options::get_option_and_ensure_autoload( 'carousel_display_geo', true ) ),
'single_image_gallery' => $this->single_image_gallery_enabled,
'single_image_gallery_media_file' => $this->single_image_gallery_enabled_media_file,
'background_color' => $this->carousel_background_color_sanitize( Jetpack_Options::get_option_and_ensure_autoload( 'carousel_background_color', '' ) ),
@@ -268,7 +351,12 @@ class Jetpack_Carousel {
'post_comment' => __( 'Post Comment', 'jetpack' ),
'write_comment' => __( 'Write a Comment...', 'jetpack' ),
'loading_comments' => __( 'Loading Comments...', 'jetpack' ),
- 'download_original' => sprintf( __( 'View full size <span class="photo-size">%1$s<span class="photo-size-times">&times;</span>%2$s</span>', 'jetpack' ), '{0}', '{1}' ),
+ 'download_original' => sprintf(
+ /* translators: %1s is the full-size image width, and %2s is the height. */
+ __( 'View full size <span class="photo-size">%1$s<span class="photo-size-times">&times;</span>%2$s</span>', 'jetpack' ),
+ '{0}',
+ '{1}'
+ ),
'no_comment_text' => __( 'Please be sure to submit some text with your comment.', 'jetpack' ),
'no_comment_email' => __( 'Please provide an email address to comment.', 'jetpack' ),
'no_comment_author' => __( 'Please provide your name to comment.', 'jetpack' ),
@@ -568,7 +656,16 @@ class Jetpack_Carousel {
<?php
}
- function set_in_gallery( $output ) {
+ /**
+ * Sets the "in_gallery" flag when the first gallery is encountered (unless in AMP mode).
+ *
+ * @deprecated since 10.8
+ *
+ * @param string $output Gallery shortcode output. Passed through unchanged.
+ *
+ * @return string
+ */
+ public function set_in_gallery( $output ) {
if (
class_exists( 'Jetpack_AMP_Support' )
&& Jetpack_AMP_Support::is_amp_request()
@@ -586,10 +683,10 @@ class Jetpack_Carousel {
* @see add_data_to_images()
* @see wp_make_content_images_responsive() in wp-includes/media.php
*
- * @param string $content HTML content of the post
- * @return string Modified HTML content of the post
+ * @param string $content HTML content of the post.
+ * @return string
*/
- function add_data_img_tags_and_enqueue_assets( $content ) {
+ public function add_data_img_tags_and_enqueue_assets( $content ) {
if (
class_exists( 'Jetpack_AMP_Support' )
&& Jetpack_AMP_Support::is_amp_request()
@@ -649,7 +746,18 @@ class Jetpack_Carousel {
return $content;
}
- function add_data_to_images( $attr, $attachment = null ) {
+ /**
+ * Adds the data attributes themselves to img tags.
+ *
+ * @see add_data_img_tags_and_enqueue_assets()
+ * @see https://developer.wordpress.org/reference/functions/wp_get_attachment_image/ Documentation about wp_get_attachment_image
+ *
+ * @param string[] $attr Array of attribute values for the image markup, keyed by attribute name.
+ * @param WP_Post $attachment Image attachment post.
+ *
+ * @return string[] Modified image attributes.
+ */
+ public function add_data_to_images( $attr, $attachment = null ) {
if (
class_exists( 'Jetpack_AMP_Support' )
&& Jetpack_AMP_Support::is_amp_request()
@@ -695,21 +803,12 @@ class Jetpack_Carousel {
$attachment_desc = ! empty( $attachment ) ? wpautop( wptexturize( $attachment->post_content ) ) : '';
$attachment_caption = ! empty( $attachment ) ? wpautop( wptexturize( $attachment->post_excerpt ) ) : '';
- // Not yet providing geo-data, need to "fuzzify" for privacy
- if ( ! empty( $img_meta ) ) {
- foreach ( $img_meta as $k => $v ) {
- if ( 'latitude' == $k || 'longitude' == $k ) {
- unset( $img_meta[ $k ] );
- }
- }
- }
-
- // See https://github.com/Automattic/jetpack/issues/2765
+ // See https://github.com/Automattic/jetpack/issues/2765.
if ( isset( $img_meta['keywords'] ) ) {
unset( $img_meta['keywords'] );
}
- $img_meta = json_encode( array_map( 'strval', array_filter( $img_meta, 'is_scalar' ) ) );
+ $img_meta = wp_json_encode( array_map( 'strval', array_filter( $img_meta, 'is_scalar' ) ) );
$attr['data-attachment-id'] = $attachment_id;
$attr['data-permalink'] = esc_attr( get_permalink( $attachment_id ) );
@@ -726,7 +825,14 @@ class Jetpack_Carousel {
return $attr;
}
- function add_data_to_container( $html ) {
+ /**
+ * Add additional attributes to the Gallery container HTML.
+ *
+ * @param string $html The HTML to which the additional attributes are added.
+ *
+ * @return string
+ */
+ public function add_data_to_container( $html ) {
global $post;
if (
class_exists( 'Jetpack_AMP_Support' )
@@ -791,7 +897,7 @@ class Jetpack_Carousel {
return preg_replace_callback(
'#(<a[^>]* href=(["\']?)(\S+)\2>)\s*(<img[^>]*)(class=(["\']?)[^>]*wp-image-[0-9]+[^>]*\6.*>)\s*</a>#is',
- static function( $matches ) {
+ static function ( $matches ) {
if ( ! preg_match( '#\.\w+$#', $matches[3] ) ) {
// The a[href] doesn't end in a file extension like .jpeg, so this is not a link to the media file, and should get a lightbox.
return $matches[4] . ' data-amp-lightbox="true" lightbox="true" ' . $matches[5]; // https://github.com/ampproject/amp-wp/blob/1094ea03bd5dc92889405a47a8c41de1a88908de/includes/sanitizers/class-amp-img-sanitizer.php#L419.
@@ -803,7 +909,12 @@ class Jetpack_Carousel {
);
}
- function get_attachment_comments() {
+ /**
+ * Retrieves comment information
+ *
+ * @return string
+ */
+ public function get_attachment_comments() {
if ( ! headers_sent() ) {
header( 'Content-type: text/javascript' );
}
@@ -819,8 +930,10 @@ class Jetpack_Carousel {
*/
do_action( 'jp_carousel_check_blog_user_privileges' );
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended -- we do not need to verify the nonce for this public request for publicly accessible data (as checked below).
$attachment_id = ( isset( $_REQUEST['id'] ) ) ? (int) $_REQUEST['id'] : 0;
$offset = ( isset( $_REQUEST['offset'] ) ) ? (int) $_REQUEST['offset'] : 0;
+ // phpcs:enable
if ( ! $attachment_id ) {
wp_send_json_error(
@@ -895,7 +1008,7 @@ class Jetpack_Carousel {
$comments = get_comments(
array(
'status' => 'approve',
- 'order' => ( 'asc' == get_option( 'comment_order' ) ) ? 'ASC' : 'DESC',
+ 'order' => ( 'asc' === get_option( 'comment_order' ) ) ? 'ASC' : 'DESC',
'number' => 10,
'offset' => $offset,
'post_id' => $attachment_id,
@@ -920,37 +1033,40 @@ class Jetpack_Carousel {
);
}
- die( json_encode( $out ) );
+ die( wp_json_encode( $out ) );
}
- function post_attachment_comment() {
+ /**
+ * Adds a new comment to the database
+ */
+ public function post_attachment_comment() {
if ( ! headers_sent() ) {
header( 'Content-type: text/javascript' );
}
- if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'carousel_nonce' ) ) {
- die( json_encode( array( 'error' => __( 'Nonce verification failed.', 'jetpack' ) ) ) );
+ if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'carousel_nonce' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- WP Core doesn't unslash or sanitize nonces either
+ die( wp_json_encode( array( 'error' => __( 'Nonce verification failed.', 'jetpack' ) ) ) );
}
- $_blog_id = (int) $_POST['blog_id'];
- $_post_id = (int) $_POST['id'];
- $comment = $_POST['comment'];
+ $_blog_id = isset( $_POST['blog_id'] ) ? (int) $_POST['blog_id'] : 0;
+ $_post_id = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0;
+ $comment = isset( $_POST['comment'] ) ? filter_var( wp_unslash( $_POST['comment'] ) ) : null;
if ( empty( $_blog_id ) ) {
- die( json_encode( array( 'error' => __( 'Missing target blog ID.', 'jetpack' ) ) ) );
+ die( wp_json_encode( array( 'error' => __( 'Missing target blog ID.', 'jetpack' ) ) ) );
}
if ( empty( $_post_id ) ) {
- die( json_encode( array( 'error' => __( 'Missing target post ID.', 'jetpack' ) ) ) );
+ die( wp_json_encode( array( 'error' => __( 'Missing target post ID.', 'jetpack' ) ) ) );
}
if ( empty( $comment ) ) {
- die( json_encode( array( 'error' => __( 'No comment text was submitted.', 'jetpack' ) ) ) );
+ die( wp_json_encode( array( 'error' => __( 'No comment text was submitted.', 'jetpack' ) ) ) );
}
- // Used in context like NewDash
+ // Used in context like NewDash.
$switched = false;
- if ( is_multisite() && $_blog_id != get_current_blog_id() ) {
+ if ( is_multisite() && get_current_blog_id() !== $_blog_id ) {
switch_to_blog( $_blog_id );
$switched = true;
}
@@ -962,7 +1078,7 @@ class Jetpack_Carousel {
if ( $switched ) {
restore_current_blog();
}
- die( json_encode( array( 'error' => __( 'Comments on this post are closed.', 'jetpack' ) ) ) );
+ die( wp_json_encode( array( 'error' => __( 'Comments on this post are closed.', 'jetpack' ) ) ) );
}
if ( is_user_logged_in() ) {
@@ -976,35 +1092,37 @@ class Jetpack_Carousel {
if ( $switched ) {
restore_current_blog();
}
- die( json_encode( array( 'error' => __( 'Sorry, but we could not authenticate your request.', 'jetpack' ) ) ) );
+ die( wp_json_encode( array( 'error' => __( 'Sorry, but we could not authenticate your request.', 'jetpack' ) ) ) );
}
} else {
$user_id = 0;
- $display_name = $_POST['author'];
- $email = $_POST['email'];
- $url = $_POST['url'];
+ $display_name = isset( $_POST['author'] ) ? sanitize_text_field( wp_unslash( $_POST['author'] ) ) : null;
+ $email = isset( $_POST['email'] ) ? wp_unslash( $_POST['email'] ) : null; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Checked or sanitized below.
+ $url = isset( $_POST['url'] ) ? esc_url_raw( wp_unslash( $_POST['url'] ) ) : null;
if ( get_option( 'require_name_email' ) ) {
if ( empty( $display_name ) ) {
if ( $switched ) {
restore_current_blog();
}
- die( json_encode( array( 'error' => __( 'Please provide your name.', 'jetpack' ) ) ) );
+ die( wp_json_encode( array( 'error' => __( 'Please provide your name.', 'jetpack' ) ) ) );
}
if ( empty( $email ) ) {
if ( $switched ) {
restore_current_blog();
}
- die( json_encode( array( 'error' => __( 'Please provide an email address.', 'jetpack' ) ) ) );
+ die( wp_json_encode( array( 'error' => __( 'Please provide an email address.', 'jetpack' ) ) ) );
}
if ( ! is_email( $email ) ) {
if ( $switched ) {
restore_current_blog();
}
- die( json_encode( array( 'error' => __( 'Please provide a valid email address.', 'jetpack' ) ) ) );
+ die( wp_json_encode( array( 'error' => __( 'Please provide a valid email address.', 'jetpack' ) ) ) );
}
+ } else {
+ $email = $email !== null ? sanitize_email( $email ) : null;
}
}
@@ -1035,12 +1153,12 @@ class Jetpack_Carousel {
do_action( 'jp_carousel_post_attachment_comment' );
$comment_status = wp_get_comment_status( $comment_id );
- if ( true == $switched ) {
+ if ( $switched ) {
restore_current_blog();
}
die(
- json_encode(
+ wp_json_encode(
array(
'comment_id' => $comment_id,
'comment_status' => $comment_status,
@@ -1049,7 +1167,10 @@ class Jetpack_Carousel {
);
}
- function register_settings() {
+ /**
+ * Register Carousel settings
+ */
+ public function register_settings() {
add_settings_section( 'carousel_section', __( 'Image Gallery Carousel', 'jetpack' ), array( $this, 'carousel_section_callback' ), 'media' );
if ( ! $this->in_jetpack ) {
@@ -1066,31 +1187,53 @@ class Jetpack_Carousel {
add_settings_field( 'carousel_display_comments', __( 'Comments', 'jetpack' ), array( $this, 'carousel_display_comments_callback' ), 'media', 'carousel_section' );
register_setting( 'media', 'carousel_display_comments', array( $this, 'carousel_display_comments_sanitize' ) );
- // No geo setting yet, need to "fuzzify" data first, for privacy
- // add_settings_field('carousel_display_geo', __( 'Geolocation', 'jetpack' ), array( $this, 'carousel_display_geo_callback' ), 'media', 'carousel_section' );
- // register_setting( 'media', 'carousel_display_geo', array( $this, 'carousel_display_geo_sanitize' ) );
}
- // Fulfill the settings section callback requirement by returning nothing
- function carousel_section_callback() {
- return;
+ /**
+ * Fulfill the settings section callback requirement by returning nothing.
+ */
+ public function carousel_section_callback() {
}
- function test_1or0_option( $value, $default_to_1 = true ) {
- if ( true == $default_to_1 ) {
- // Binary false (===) of $value means it has not yet been set, in which case we do want to default sites to 1
+ /**
+ * Tests if a value is set
+ *
+ * @param mixed $value The value passed into this function with which to test.
+ * @param bool $default_to_1 Default is true.
+ *
+ * @return bool
+ */
+ public function test_1or0_option( $value, $default_to_1 = true ) {
+ if ( $default_to_1 ) {
+ // Boolean false (===) of $value means it has not yet been set, in which case we do want to default to 1.
if ( false === $value ) {
$value = 1;
}
}
- return ( 1 == $value ) ? 1 : 0;
+ return ( 1 == $value ) ? 1 : 0; // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
}
- function sanitize_1or0_option( $value ) {
- return ( 1 == $value ) ? 1 : 0;
+ /**
+ * Ensures the value returned is in the correct format.
+ *
+ * @see test_1or0_option()
+ * @param mixed $value The value returned from the test_1or0_option function.
+ *
+ * @return int
+ */
+ public function sanitize_1or0_option( $value ) {
+ return ( 1 == $value ) ? 1 : 0; // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
}
- function settings_checkbox( $name, $label_text, $extra_text = '', $default_to_checked = true ) {
+ /**
+ * Outputs a settings checkbox.
+ *
+ * @param string $name - For name attribute.
+ * @param string $label_text - For label attribute.
+ * @param string $extra_text - Additional checkbox description text. Defaults to empty.
+ * @param bool $default_to_checked - If the checkbox is checked. Default is true.
+ */
+ public function settings_checkbox( $name, $label_text, $extra_text = '', $default_to_checked = true ) {
if ( empty( $name ) ) {
return;
}
@@ -1098,14 +1241,21 @@ class Jetpack_Carousel {
echo '<fieldset>';
echo '<input type="checkbox" name="' . esc_attr( $name ) . '" id="' . esc_attr( $name ) . '" value="1" ';
checked( '1', $option );
- echo '/> <label for="' . esc_attr( $name ) . '">' . $label_text . '</label>';
+ echo '/> <label for="' . esc_attr( $name ) . '">' . wp_kses_post( $label_text ) . '</label>';
if ( ! empty( $extra_text ) ) {
- echo '<p class="description">' . $extra_text . '</p>';
+ echo '<p class="description">' . wp_kses_post( $extra_text ) . '</p>';
}
echo '</fieldset>';
}
- function settings_select( $name, $values, $extra_text = '' ) {
+ /**
+ * Output a selection list options
+ *
+ * @param string $name - For name attribute.
+ * @param string $values - For the different option values.
+ * @param string $extra_text - Additional option section description text. Defaults to empty.
+ */
+ public function settings_select( $name, $values, $extra_text = '' ) {
if ( empty( $name ) || ! is_array( $values ) || empty( $values ) ) {
return;
}
@@ -1119,12 +1269,15 @@ class Jetpack_Carousel {
}
echo '</select>';
if ( ! empty( $extra_text ) ) {
- echo '<p class="description">' . $extra_text . '</p>';
+ echo '<p class="description">' . wp_kses_post( $extra_text ) . '</p>';
}
echo '</fieldset>';
}
- function carousel_display_exif_callback() {
+ /**
+ * Callback for checkbox and label of field that allows to toggle exif display.
+ */
+ public function carousel_display_exif_callback() {
$this->settings_checkbox( 'carousel_display_exif', __( 'Show photo metadata (<a href="https://en.wikipedia.org/wiki/Exchangeable_image_file_format" rel="noopener noreferrer" target="_blank">Exif</a>) in carousel, when available.', 'jetpack' ) );
}
@@ -1135,7 +1288,14 @@ class Jetpack_Carousel {
$this->settings_checkbox( 'carousel_display_comments', esc_html__( 'Show comments area in carousel', 'jetpack' ) );
}
- function carousel_display_exif_sanitize( $value ) {
+ /**
+ * Sanitize input for the `carousel_display_exif` setting.
+ *
+ * @param mixed $value User input setting value.
+ *
+ * @return number Sanitized value, only 1 or 0.
+ */
+ public function carousel_display_exif_sanitize( $value ) {
return $this->sanitize_1or0_option( $value );
}
@@ -1150,34 +1310,47 @@ class Jetpack_Carousel {
return $this->sanitize_1or0_option( $value );
}
- function carousel_display_geo_callback() {
- $this->settings_checkbox( 'carousel_display_geo', __( 'Show map of photo location in carousel, when available.', 'jetpack' ) );
- }
-
- function carousel_display_geo_sanitize( $value ) {
- return $this->sanitize_1or0_option( $value );
- }
-
- function carousel_background_color_callback() {
+ /**
+ * Callback for the Carousel background color.
+ */
+ public function carousel_background_color_callback() {
$this->settings_select(
- 'carousel_background_color', array(
+ 'carousel_background_color',
+ array(
'black' => __( 'Black', 'jetpack' ),
'white' => __( 'White', 'jetpack' ),
)
);
}
- function carousel_background_color_sanitize( $value ) {
- return ( 'white' == $value ) ? 'white' : 'black';
+ /**
+ * Sanitizing the Carousel backgound color selection.
+ *
+ * @param string $value The color string to sanitize.
+ *
+ * @return string Sanitized value, 'white' or 'black'.
+ */
+ public function carousel_background_color_sanitize( $value ) {
+ return ( 'white' === $value ) ? 'white' : 'black';
}
- function carousel_enable_it_callback() {
+ /**
+ * Callback to display text for the carousel_enable_it settings field.
+ */
+ public function carousel_enable_it_callback() {
$this->settings_checkbox( 'carousel_enable_it', __( 'Display images in full-size carousel slideshow.', 'jetpack' ) );
}
- function carousel_enable_it_sanitize( $value ) {
+ /**
+ * Sanitize input for the `carousel_enable_it` setting.
+ *
+ * @param mixed $value User input.
+ *
+ * @return number Sanitized value, only 1 or 0.
+ */
+ public function carousel_enable_it_sanitize( $value ) {
return $this->sanitize_1or0_option( $value );
}
}
-new Jetpack_Carousel;
+new Jetpack_Carousel();
diff --git a/plugins/jetpack/modules/carousel/rtl/jetpack-carousel-rtl.css b/plugins/jetpack/modules/carousel/rtl/jetpack-carousel-rtl.css
deleted file mode 100644
index a9ad0fdb..00000000
--- a/plugins/jetpack/modules/carousel/rtl/jetpack-carousel-rtl.css
+++ /dev/null
@@ -1,1134 +0,0 @@
-/* This file was automatically generated on Jul 30 2015 22:37:09 */
-
-[data-carousel-extra] {
- cursor: pointer; /* adds a cursor when the carousel takes effect */
-}
-
-.jp-carousel-wrap * {
- line-height:inherit; /* prevent declarations of line-height in the universal selector */
-}
-
-.jp-carousel-overlay {
- background: #000;
-}
-
-div.jp-carousel-fadeaway {
- background: -moz-linear-gradient(bottom, rgba(0,0,0,0.5), rgba(0,0,0,0));
- background: -webkit-gradient(linear, right bottom, right top, from(rgba(0,0,0,0.5)), to(rgba(0,0,0,0)));
- position: fixed;
- bottom: 0;
- z-index: 2147483647;
- width: 100%;
- height: 15px;
-}
-
-.jp-carousel-next-button span,
-.jp-carousel-previous-button span {
- background: url(.././images/arrows.png) no-repeat center center;
- background-size: 200px 126px;
-}
-
-.jp-carousel-msg {
- font-family: "Open Sans", sans-serif;
- font-style: normal;
- display: inline-block;
- line-height: 19px;
- padding: 11px 15px;
- font-size: 14px;
- text-align: center;
- margin: 25px 2px 0 20px;
- background-color: #fff;
- border-right: 4px solid #ffba00;
- -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
- box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
-}
-
-@media
-only screen and (-webkit-min-device-pixel-ratio: 1.5),
-only screen and (-o-min-device-pixel-ratio: 3/2),
-only screen and (min--moz-device-pixel-ratio: 1.5),
-only screen and (min-device-pixel-ratio: 1.5) {
- .jp-carousel-next-button span,
- .jp-carousel-previous-button span {
- background-image: url(.././images/arrows-2x.png);
- }
-}
-
-.jp-carousel-wrap {
- font-family: "Helvetica Neue", sans-serif !important;
-}
-
-.jp-carousel-info {
- position: absolute;
- bottom: 0;
- text-align: right !important;
- -webkit-font-smoothing: subpixel-antialiased !important;
-}
-
-.jp-carousel-info ::selection {
- background: #68c9e8; /* Safari */
- color: #fff;
- }
-
-.jp-carousel-info ::-moz-selection {
- background: #68c9e8; /* Firefox */
- color: #fff;
-}
-
-.jp-carousel-photo-info {
- position: relative;
- right: 25%;
- width: 50%;
-}
-
-.jp-carousel-transitions .jp-carousel-photo-info {
- -webkit-transition: 400ms ease-out;
- -moz-transition: 400ms ease-out;
- -o-transition: 400ms ease-out;
- transition: 400ms ease-out;
-}
-
-.jp-carousel-info h2 {
- background: none !important;
- border: none !important;
- color: #999;
- display: block !important;
- font: normal 13px/1.25em "Helvetica Neue", sans-serif !important;
- letter-spacing: 0 !important;
- margin: 7px 0 0 0 !important;
- padding: 10px 0 0 !important;
- overflow: hidden;
- text-align: right;
- text-shadow: none !important;
- text-transform: none !important;
- -webkit-font-smoothing: subpixel-antialiased;
-}
-
-.jp-carousel-next-button,
-.jp-carousel-previous-button {
- text-indent: -9999px;
- overflow: hidden;
- cursor: pointer;
-}
-
-.jp-carousel-next-button span,
-.jp-carousel-previous-button span {
- position: absolute;
- top: 0;
- bottom: 0;
- width: 82px;
- zoom: 1;
- filter: alpha(opacity=20);
- opacity: 0.2;
-}
-
-.jp-carousel-transitions .jp-carousel-next-button span,
-.jp-carousel-transitions .jp-carousel-previous-button span {
- -webkit-transition: 500ms opacity ease-out;
- -moz-transition: 500ms opacity ease-out;
- -o-transition: 500ms opacity ease-out;
- transition: 500ms opacity ease-out;
-}
-
-.jp-carousel-next-button:hover span,
-.jp-carousel-previous-button:hover span {
- filter: alpha(opacity=60);
- opacity: 0.6;
-}
-.jp-carousel-next-button span {
- background-position: -110px center;
- left: 0;
-}
-
-.jp-carousel-previous-button span {
- background-position: -10px center;
- right:0;
-}
-
-.jp-carousel-buttons {
- margin:-18px -20px 15px;
- padding:8px 10px;
- border-bottom:1px solid #222;
- background: #222;
- text-align: center;
-}
-
-div.jp-carousel-buttons a {
- border: none !important;
- color: #999;
- font: normal 11px/1.2em "Helvetica Neue", sans-serif !important;
- letter-spacing: 0 !important;
- padding: 5px 0 5px 2px;
- text-decoration: none !important;
- text-shadow: none !important;
- vertical-align: middle;
- -webkit-font-smoothing: subpixel-antialiased;
-}
-
-div.jp-carousel-buttons a:hover {
- color: #68c9e8;
- border: none !important;
-}
-
-.jp-carousel-transitions div.jp-carousel-buttons a:hover {
- -webkit-transition: none !important;
- -moz-transition: none !important;
- -o-transition: none !important;
- transition: none !important;
-}
-
-.jp-carousel-slide, .jp-carousel-slide img, .jp-carousel-next-button,
-.jp-carousel-previous-button {
- -webkit-transform:translate3d(0, 0, 0);
- -moz-transform:translate3d(0, 0, 0);
- -o-transform:translate3d(0, 0, 0);
- -ms-transform:translate3d(0, 0, 0);
-}
-
-.jp-carousel-slide {
- position:fixed;
- width:0;
- bottom:0;
- background-color:#000;
- border-radius:2px;
- -webkit-border-radius:2px;
- -moz-border-radius:2px;
- -ms-border-radius:2px;
- -o-border-radius:2px;
-}
-
-.jp-carousel-transitions .jp-carousel-slide {
- -webkit-transition: 300ms ease-out;
- -moz-transition: 300ms ease-out;
- -o-transition: 300ms ease-out;
- transition: 300ms ease-out;
-}
-
-.jp-carousel-slide.selected {
- position: absolute !important;
- filter: alpha(opacity=100);
- opacity: 1;
-}
-
-.jp-carousel-slide {
- filter: alpha(opacity=25);
- opacity: 0.25;
-}
-
-.jp-carousel-slide img {
- display: block;
- width: 100% !important;
- height: 100% !important;
- max-width: 100% !important;
- max-height: 100% !important;
- background: none !important;
- border: none !important;
- padding: 0 !important;
- -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.1);
- -moz-box-shadow: 0 2px 8px rgba(0,0,0,0.1);
- box-shadow: 0 2px 8px rgba(0,0,0,0.1);
- zoom: 1;
-}
-
-.jp-carousel-transitions .jp-carousel-slide {
- -webkit-transition: opacity 400ms linear;
- -moz-transition: opacity 400ms linear;
- -o-transition: opacity 400ms linear;
- transition: opacity 400ms linear;
-}
-
-.jp-carousel-close-hint {
- color: #999;
- cursor: default;
- letter-spacing: 0 !important;
- padding:0.35em 0 0;
- position: absolute;
- text-align: right;
- width: 90%;
-}
-
-.jp-carousel-transitions .jp-carousel-close-hint {
- -webkit-transition: color 200ms linear;
- -moz-transition: color 200ms linear;
- -o-transition: color 200ms linear;
- transition: color 200ms linear;
-}
-
-.jp-carousel-close-hint span {
- cursor: pointer;
- background-color: black;
- background-color: rgba(0,0,0,0.8);
- display: block;
- height: 22px;
- font: 400 24px/1 "Helvetica Neue", sans-serif !important;
- line-height: 22px;
- margin: 0 0.4em 0 0;
- text-align: center;
- vertical-align: middle;
- width: 22px;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border-radius: 4px;
-}
-
-.jp-carousel-transitions .jp-carousel-close-hint span {
- -webkit-transition: border-color 200ms linear;
- -moz-transition: border-color 200ms linear;
- -o-transition: border-color 200ms linear;
- transition: border-color 200ms linear;
-}
-
-.jp-carousel-close-hint:hover {
- cursor: default;
- color: #fff;
-}
-
-.jp-carousel-close-hint:hover span {
- border-color: #fff;
-}
-
-div.jp-carousel-buttons a.jp-carousel-reblog,
-div.jp-carousel-buttons a.jp-carousel-commentlink,
-a.jp-carousel-image-download {
- background: url(.././images/carousel-sprite.png?5) no-repeat;
- background-size: 16px 200px;
-}
-
-div.jp-carousel-buttons a.jp-carousel-reblog,
-div.jp-carousel-buttons a.jp-carousel-commentlink {
- margin: 0 0 0 14px !important;
-}
-
-div.jp-carousel-buttons a.jp-carousel-reblog.reblogged {
- background-color: #303030;
- padding-left: 8px !important;
- border-radius: 2px;
- border-radius: 2px;
- -webkit-border-radius:2px;
- -moz-border-radius:2px;
- -ms-border-radius:2px;
- -o-border-radius:2px;
-}
-
-div.jp-carousel-buttons a.jp-carousel-reblog.reblogged {
- margin: 0 -12px 0 2px !important;
-}
-
-div.jp-carousel-buttons a.jp-carousel-reblog,
-div.jp-carousel-buttons a.jp-carousel-reblog.reblogged:hover {
- background-position: 6px -36px;
- padding-left: auto !important;
- padding-right: 26px !important;
- color: #999;
-}
-
-div.jp-carousel-buttons a.jp-carousel-commentlink {
- background-position: 0px -156px;
- padding-right: 19px !important;
-}
-
-div.jp-carousel-buttons a.jp-carousel-reblog.reblogged:hover {
- cursor: default;
-}
-
-div.jp-carousel-buttons a.jp-carousel-reblog:hover {
- background-position: 6px -56px;
- color: #68c9e8;
-}
-
-@media
-only screen and (-webkit-min-device-pixel-ratio: 1.5),
-only screen and (-o-min-device-pixel-ratio: 3/2),
-only screen and (min--moz-device-pixel-ratio: 1.5),
-only screen and (min-device-pixel-ratio: 1.5) {
- div.jp-carousel-buttons a.jp-carousel-reblog,
- div.jp-carousel-buttons a.jp-carousel-commentlink,
- a.jp-carousel-image-download {
- background-image: url(.././images/carousel-sprite-2x.png?5);
- }
-}
-
-/* reblog */
-div#carousel-reblog-box {
- background: #222;
- background: -moz-linear-gradient(bottom, #222, #333);
- background: -webkit-gradient(linear, right bottom, right top, from(#222), to(#333));
- padding: 3px 0 0;
- display: none;
- margin: 5px auto 0;
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
- border-radius: 2px;
- -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.9);
- -moz-box-shadow: 0 0 20px rgba(0,0,0,0.9);
- box-shadow: 0 0 20px rgba(0,0,0,0.9);
- height: 74px;
- width: 565px;
-}
-
-#carousel-reblog-box textarea {
- background: #999;
- font: 13px/1.4 "Helvetica Neue", sans-serif !important;
- color: #444;
- padding: 3px 6px;
- width: 370px;
- height: 48px;
- float: right;
- margin: 6px 9px 0 9px;
- border: 1px solid #666;
- -webkit-box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
- box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
- border-radius: 2px;
-}
-
-#carousel-reblog-box textarea:focus {
- background: #ccc;
- color: #222;
-}
-
-#carousel-reblog-box label {
- color: #aaa;
- font-size: 11px;
- padding-left: 2px;
- padding-right: 2px;
- display: inline;
- font-weight: normal;
-}
-
-#carousel-reblog-box select {
- width: 110px;
- padding: 0;
- font-size: 12px;
- font-family: "Helvetica Neue", sans-serif !important;
- background: #333;
- color: #eee;
- border: 1px solid #444;
- margin-top:5px;
-}
-
-#carousel-reblog-box .submit,
-#wrapper #carousel-reblog-box p.response {
- float: right;
- width: 154px;
- padding-top: 0;
- padding-right: 1px;
- overflow: hidden;
- height: 34px;
- margin:3px 2px 0 0 !important;
-}
-
-#wrapper #carousel-reblog-box p.response {
- font-size: 13px;
- clear: none;
- padding-right: 2px;
- height: 34px;
- color: #aaa;
-}
-
-#carousel-reblog-box input#carousel-reblog-submit, #jp-carousel-comment-form-button-submit {
- font: 13px/24px "Helvetica Neue", sans-serif !important;
- margin-top: 8px;
- padding: 0 10px !important;
- border-radius: 1em;
- height: 24px;
- color: #333;
- cursor:pointer;
- font-weight: normal;
- background: #aaa;
- background: -moz-linear-gradient(bottom, #aaa, #ccc);
- background: -webkit-gradient(linear, right bottom, right top, from(#aaa), to(#ccc));
- border: 1px solid #444;
-}
-
-#carousel-reblog-box input#carousel-reblog-submit:hover, #jp-carousel-comment-form-button-submit:hover {
- background: #ccc;
- background: -moz-linear-gradient(bottom, #ccc, #eee);
- background: -webkit-gradient(linear, right bottom, right top, from(#ccc), to(#eee));
-}
-
-#carousel-reblog-box .canceltext {
- color: #aaa;
- font-size: 11px;
- line-height: 24px;
-}
-
-#carousel-reblog-box .canceltext a {
- color: #fff;
-}
-/* reblog end */
-
-
-/** Title and Desc Start **/
-.jp-carousel-titleanddesc {
- border-top: 1px solid #222;
- color: #999;
- font-size: 15px;
- padding-top: 24px;
- margin-bottom: 20px;
- font-weight:400;
-}
-.jp-carousel-titleanddesc-title {
- font: 300 1.5em/1.1 "Helvetica Neue", sans-serif !important;
- text-transform: none !important; /* prevents uppercase from leaking through */
- color: #fff;
- margin: 0 0 15px;
- padding:0;
-}
-
-.jp-carousel-titleanddesc-desc p {
- color: #999;
- line-height:1.4;
- margin-bottom: 0.75em;
-}
-
-.jp-carousel-titleanddesc p a,
-.jp-carousel-comments p a,
-.jp-carousel-info h2 a {
- color: #fff !important;
- border: none !important;
- text-decoration: underline !important;
- font-weight: normal !important;
- font-style: normal !important;
-}
-
-.jp-carousel-titleanddesc p strong,
-.jp-carousel-titleanddesc p b {
- font-weight: bold;
- color: #999;
-}
-
-.jp-carousel-titleanddesc p em,
-.jp-carousel-titleanddesc p i {
- font-style: italic;
- color: #999;
-}
-
-
-.jp-carousel-titleanddesc p a:hover,
-.jp-carousel-comments p a:hover,
-.jp-carousel-info h2 a:hover {
- color: #68c9e8 !important;
-}
-
-.jp-carousel-titleanddesc p:empty {
- display: none;
-}
-
-.jp-carousel-photo-info h1:before,
-.jp-carousel-photo-info h1:after,
-.jp-carousel-left-column-wrapper h1:before,
-.jp-carousel-left-column-wrapper h1:after {
- content:none !important;
-}
-/** Title and Desc End **/
-
-/** Meta Box Start **/
-.jp-carousel-image-meta {
- background: #111;
- border: 1px solid #222;
- color: #fff;
- font-size: 13px;
- font: 12px/1.4 "Helvetica Neue", sans-serif !important;
- overflow: hidden;
- padding: 18px 20px;
- width: 209px !important;
-}
-
-.jp-carousel-image-meta li,
-.jp-carousel-image-meta h5 {
- font-family: "Helvetica Neue", sans-serif !important;
- position: inherit !important;
- top: auto !important;
- left: auto !important;
- right: auto !important;
- bottom: auto !important;
- background: none !important;
- border: none !important;
- font-weight: 400 !important;
- line-height: 1.3em !important;
-}
-
-.jp-carousel-image-meta ul {
- margin: 0 !important;
- padding: 0 !important;
- list-style: none !important;
-}
-
-.jp-carousel-image-meta li {
- width: 48% !important;
- float: right !important;
- margin: 0 0 15px 2% !important;
- color: #fff !important;
- font-size:13px !important;
-}
-
-.jp-carousel-image-meta h5 {
- color: #999 !important;
- text-transform: uppercase !important;
- font-size:10px !important;
- margin:0 0 2px !important;
- letter-spacing: 0.1em !important;
-}
-
-a.jp-carousel-image-download {
- padding-right: 23px;
- display: inline-block;
- clear: both;
- color: #999;
- line-height: 1;
- font-weight: 400;
- font-size: 13px;
- text-decoration: none;
- background-position: 0 -82px;
-}
-
-a.jp-carousel-image-download span.photo-size {
- font-size: 11px;
- border-radius: 1em;
- margin-right: 2px;
- display: inline-block;
-}
-
-a.jp-carousel-image-download span.photo-size-times {
- padding: 0 2px 0 1px;
-}
-
-a.jp-carousel-image-download:hover {
- background-position: 0 -122px;
- color: #68c9e8;
- border: none !important;
-}
-
-/** Meta Box End **/
-
-/** GPS Map Start **/
-.jp-carousel-image-map {
- position: relative;
- margin: -20px -20px 20px;
- border-bottom: 1px solid rgba( 255, 255, 255, 0.17 );
- height: 154px;
-}
-
-.jp-carousel-image-map img.gmap-main {
- -moz-border-radius-topleft: 6px;
- border-top-right-radius: 6px;
- border-left: 1px solid rgba( 255, 255, 255, 0.17 );
-}
-.jp-carousel-image-map div.gmap-topright {
- width: 94px;
- height: 154px;
- position: absolute;
- top: 0;
- left: 0;
-}
-.jp-carousel-image-map div.imgclip {
- overflow: hidden;
- -moz-border-radius-topright: 6px;
- border-top-left-radius: 6px;
-}
-.jp-carousel-image-map div.gmap-topright img {
- margin-right: -40px;
-}
-.jp-carousel-image-map img.gmap-bottomright {
- position: absolute;
- top: 96px;
- left: 0;
-}
-
-/** Comments Start **/
-.jp-carousel-comments {
- font: 15px/1.7 "Helvetica Neue", sans-serif !important;
- font-weight: 400;
- background:none transparent;
-}
-
-.jp-carousel-comments p a:hover, .jp-carousel-comments p a:focus, .jp-carousel-comments p a:active {
- color: #68c9e8 !important;
-}
-
-.jp-carousel-comment {
- background:none transparent;
- color: #999;
- margin-bottom: 20px;
- clear:right;
- overflow: auto;
- width: 100%
-}
-
-.jp-carousel-comment p {
- color: #999 !important;
-}
-
-.jp-carousel-comment .comment-author {
- font-size: 13px;
- font-weight:400;
- padding:0;
- width:auto;
- display: inline;
- float:none;
- border:none;
- margin:0;
-}
-
-.jp-carousel-comment .comment-author a {
- color: #fff;
-}
-
-.jp-carousel-comment .comment-gravatar {
- float:right;
-}
-
-.jp-carousel-comment .comment-content {
- border:none;
- margin-right:85px;
- padding: 0;
-}
-
-.jp-carousel-comment .avatar {
- margin:0 0 0 20px;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border-radius: 4px;
- border: none !important;
- padding: 0 !important;
- background-color: transparent !important;
-}
-
-.jp-carousel-comment .comment-date {
- color:#999;
- margin-top: 4px;
- font-size:11px;
- display: inline;
- float: left;
- /*clear: right;*/
-}
-
-#jp-carousel-comment-form {
- margin:0 0 10px !important;
- float: right;
- width: 100%;
-}
-
-textarea#jp-carousel-comment-form-comment-field {
- background: rgba(34,34,34,0.9);
- border: 1px solid #3a3a3a;
- color: #aaa;
- font: 15px/1.4 "Helvetica Neue", sans-serif !important;
- width: 100%;
- padding: 10px 10px 5px;
- margin: 0;
- float: none;
- height: 147px;
- -webkit-box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
- box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- border-radius: 3px;
- overflow: hidden;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder {
- color: #555;
-}
-
-textarea#jp-carousel-comment-form-comment-field:focus {
- background: #ccc;
- color: #222;
-}
-
-textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder {
- color: #aaa;
-}
-
-#jp-carousel-comment-form-spinner {
- color: #fff;
- margin:22px 10px 0 0;
- display: block;
- width: 20px;
- height: 20px;
- float: right;
-}
-
-#jp-carousel-comment-form-submit-and-info-wrapper {
- display: none;
- /*margin-bottom:15px;*/
- overflow: hidden;
- width: 100%
-}
-
-#jp-carousel-comment-form-commenting-as {
-}
-
-#jp-carousel-comment-form-commenting-as input {
- background: rgba(34,34,34,0.9);
- border: 1px solid #3a3a3a;
- color: #aaa;
- font: 13px/1.4 "Helvetica Neue", sans-serif !important;
- padding: 3px 6px;
- float: right;
- -webkit-box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
- box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
- border-radius: 2px;
- width:285px;
-}
-
-#jp-carousel-comment-form-commenting-as input:focus {
- background: #ccc;
- color: #222;
-}
-
-#jp-carousel-comment-form-commenting-as p {
- font: 400 13px/1.7 "Helvetica Neue", sans-serif !important;
- margin:22px 0 0;
- float: right;
-}
-
-#jp-carousel-comment-form-commenting-as fieldset {
- float:right;
- border:none;
- margin:20px 0 0 0;
- padding:0;
-}
-
-#jp-carousel-comment-form-commenting-as fieldset {
- clear: both;
-}
-
-#jp-carousel-comment-form-commenting-as label {
- font: 400 13px/1.7 "Helvetica Neue", sans-serif !important;
- margin:0 0 3px 20px;
- float:right;
- width:100px;
-}
-
-#jp-carousel-comment-form-button-submit {
- margin-top: 20px;
- float:left;
-}
-
-#js-carousel-comment-form-container {
- margin-bottom:15px;
- overflow: auto;
- width: 100%;
-}
-
-#jp-carousel-comment-form-container {
- margin-bottom:15px;
- overflow: auto;
- width: 100%;
-}
-
-#jp-carousel-comment-post-results {
- display: none;
- overflow:auto;
- width:100%;
-}
-
-#jp-carousel-comment-post-results span {
- display:block;
- text-align: center;
- margin-top:20px;
- width: 100%;
- overflow: auto;
- padding: 1em 0;
- box-sizing: border-box;
- background: rgba( 0, 0, 0, 0.7 );
- border-radius: 2px;
- font: 13px/1.4 "Helvetica Neue", sans-serif !important;
- border: 1px solid rgba( 255, 255, 255, 0.17 );
- -webkit-box-shadow: inset 0px 5px 5px 0px rgba(0, 0, 0, 1);
- box-shadow: inset 0px 5px 5px 0px rgba(0, 0, 0, 1);
-}
-
-.jp-carousel-comment-post-error {
- color:#DF4926;
-}
-
-.jp-carousel-comment-post-success {
- /*color:#21759B;*/
-}
-
-#jp-carousel-comments-closed {
- display: none;
- color: #999;
-}
-
-#jp-carousel-comments-loading {
- font: 400 15px/1.7 "Helvetica Neue", sans-serif !important;
- display: none;
- color: #999;
- text-align: right;
- margin-bottom: 20px;
-}
-
-
-/* ----- Light variant ----- */
-
-.jp-carousel-light .jp-carousel-overlay {
- background: #fff;
-}
-
-.jp-carousel-light .jp-carousel-next-button:hover span,
-.jp-carousel-light .jp-carousel-previous-button:hover span {
- opacity: 0.8;
-}
-
-.jp-carousel-light .jp-carousel-close-hint:hover,
-.jp-carousel-light .jp-carousel-titleanddesc div {
- color: #000 !important;
-}
-
-.jp-carousel-light .jp-carousel-comments p a,
-.jp-carousel-light .jp-carousel-comment .comment-author a,
-.jp-carousel-light .jp-carousel-titleanddesc p a,
-.jp-carousel-light .jp-carousel-titleanddesc p a,
-.jp-carousel-light .jp-carousel-comments p a,
-.jp-carousel-light .jp-carousel-info h2 a {
- color: #1e8cbe !important;
-}
-
-.jp-carousel-light .jp-carousel-comments p a:hover,
-.jp-carousel-light .jp-carousel-comment .comment-author a:hover,
-.jp-carousel-light .jp-carousel-titleanddesc p a:hover,
-.jp-carousel-light .jp-carousel-titleanddesc p a:hover,
-.jp-carousel-light .jp-carousel-comments p a:hover,
-.jp-carousel-light .jp-carousel-info h2 a:hover {
- color: #f1831e !important;
-}
-
-.jp-carousel-light .jp-carousel-info h2,
-.jp-carousel-light .jp-carousel-titleanddesc,
-.jp-carousel-light .jp-carousel-titleanddesc p,
-.jp-carousel-light .jp-carousel-comment,
-.jp-carousel-light .jp-carousel-comment p,
-.jp-carousel-light div.jp-carousel-buttons a,
-.jp-carousel-light .jp-carousel-titleanddesc p strong,
-.jp-carousel-light .jp-carousel-titleanddesc p b,
-.jp-carousel-light .jp-carousel-titleanddesc p em,
-.jp-carousel-light .jp-carousel-titleanddesc p i {
- color: #666;
-}
-
-.jp-carousel-light .jp-carousel-buttons {
- border-bottom-color: #f0f0f0;
- background: #f5f5f5;
-}
-
-.jp-carousel-light div.jp-carousel-buttons a:hover {
- text-decoration: none;
- color: #f1831e;
-}
-
-.jp-carousel-light div.jp-carousel-buttons a.jp-carousel-reblog,
-.jp-carousel-light div.jp-carousel-buttons a.jp-carousel-reblog:hover {
- background-position: 4px -56px;
- padding-right: 24px !important;
-}
-
-.jp-carousel-light div.jp-carousel-buttons a.jp-carousel-reblog.reblogged {
- background-color: #2ea2cc;
- color: #fff;
-}
-
-.jp-carousel-light div.jp-carousel-buttons a.jp-carousel-commentlink {
- background-position: 0px -176px;
-}
-
-.jp-carousel-light div.jp-carousel-buttons a.jp-carousel-reblog.reblogged {
- background-position: 5px -36px;
-}
-
-.jp-carousel-light div#carousel-reblog-box {
- background: #eee;
- background: -moz-linear-gradient(bottom, #ececec, #f7f7f7);
- background: -webkit-gradient(linear, right bottom, right top, from(#ececec), to(#f7f7f7));
- -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
- -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.1);
- box-shadow: 0 2px 10px rgba(0,0,0,0.1);
- border:1px solid #ddd;
-}
-
-.jp-carousel-light #carousel-reblog-box textarea {
- border: 1px inset #ccc;
- color: #666;
- border: 1px solid #cfcfcf;
- background: #fff;
-}
-
-.jp-carousel-light #carousel-reblog-box .canceltext {
- color: #888;
-}
-
-.jp-carousel-light #carousel-reblog-box .canceltext a {
- color: #666;
-}
-
-.jp-carousel-light #carousel-reblog-box select {
- background: #eee;
- color: #333;
- border: 1px solid #aaa;
-}
-
-.jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit, #jp-carousel-comment-form-button-submit {
- color: #333;
- background: #fff;
- background: -moz-linear-gradient(bottom, #ddd, #fff);
- background: -webkit-gradient(linear, right bottom, right top, from(#ddd), to(#fff));
- border: 1px solid #aaa;
-}
-
-.jp-carousel-light .jp-carousel-image-meta {
- background: #fafafa;
- border: 1px solid #eee;
- border-top-color: #f5f5f5;
- border-right-color: #f5f5f5;
- color: #333;
-}
-
-.jp-carousel-light .jp-carousel-image-meta li {
- color: #000 !important;
-}
-
-.jp-carousel-light .jp-carousel-close-hint {
- color: #ccc;
-}
-
-.jp-carousel-light .jp-carousel-close-hint span {
- background-color: white;
- border-color: #ccc;
-}
-
-.jp-carousel-light #jp-carousel-comment-form-comment-field::-webkit-input-placeholder {
- color: #aaa;
-}
-
-.jp-carousel-light #jp-carousel-comment-form-comment-field:focus {
- color: #333;
-}
-
-.jp-carousel-light #jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder {
- color: #ddd;
-}
-
-.jp-carousel-light a.jp-carousel-image-download {
- background-position: 0 -122px;
-}
-
-.jp-carousel-light a.jp-carousel-image-download:hover {
- background-position: 0 -122px;
- color: #f1831e;
-}
-
-.jp-carousel-light textarea#jp-carousel-comment-form-comment-field {
- background: #fbfbfb;
- color: #333;
- border: 1px solid #dfdfdf;
- -webkit-box-shadow: inset 2px 2px 2px rgba(0,0,0,0.1);
- box-shadow: inset 2px 2px 2px rgba(0,0,0,0.1);
-}
-
-.jp-carousel-light #jp-carousel-comment-form-commenting-as input {
- background: #fbfbfb;
- border: 1px solid #dfdfdf;
- color: #333;
- -webkit-box-shadow: inset 2px 2px 2px rgba(0,0,0,0.1);
- box-shadow: inset 2px 2px 2px rgba(0,0,0,0.1);
-}
-
-.jp-carousel-light #jp-carousel-comment-form-commenting-as input:focus {
- background: #fbfbfb;
- color: #333;
-}
-
-.jp-carousel-light #jp-carousel-comment-post-results span {
- background: #f7f7f7;
- border:1px solid #dfdfdf;
- -webkit-box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.05);
-}
-
-.jp-carousel-light .jp-carousel-slide {
- background-color:#fff;
-}
-
-.jp-carousel-light .jp-carousel-titleanddesc {
- border-top: 1px solid #eee;
-}
-
-.jp-carousel-light .jp-carousel-fadeaway {
- background: -moz-linear-gradient(bottom, rgba(255,255,255,0.75), rgba(255,255,255,0));
- background: -webkit-gradient(linear, right bottom, right top, from(rgba(255,255,255,0.75)), to(rgba(255,255,255,0)));
-}
-
-/* Small screens */
-@media only screen and (max-width: 760px) {
-
- .jp-carousel-info {
- margin: 0 10px !important;
- }
-
- .jp-carousel-next-button, .jp-carousel-previous-button {
- display: none !important;
- }
-
- .jp-carousel-buttons {
- display: none !important;
- }
-
- .jp-carousel-image-meta {
- float: none !important;
- width: 100% !important;
- -moz-box-sizing:border-box;
- -webkit-box-sizing:border-box;
- box-sizing: border-box;
- }
-
- .jp-carousel-close-hint {
- font-weight: 800 !important;
- font-size: 26px !important;
- position: fixed !important;
- top: -10px;
- }
-
- .jp-carousel-slide img {
- filter: alpha(opacity=100);
- opacity: 1;
- }
-
- .jp-carousel-wrap {
- background-color: #000;
- }
-
- .jp-carousel-fadeaway {
- display: none;
- }
-
- #jp-carousel-comment-form-container {
- display: none !important;
- }
-
- .jp-carousel-titleanddesc {
- padding-top: 0 !important;
- border: none !important;
- }
- .jp-carousel-titleanddesc-title {
- font-size: 1em !important;
- }
-
- .jp-carousel-left-column-wrapper {
- padding: 0;
- width: 100% !important;
- }
-
- .jp-carousel-photo-info {
- right: 0 !important;
- width: 100% !important;
- }
-}
diff --git a/plugins/jetpack/modules/cloudflare-analytics/cloudflare-analytics.php b/plugins/jetpack/modules/cloudflare-analytics/cloudflare-analytics.php
index 63b2a814..ee57cc08 100644
--- a/plugins/jetpack/modules/cloudflare-analytics/cloudflare-analytics.php
+++ b/plugins/jetpack/modules/cloudflare-analytics/cloudflare-analytics.php
@@ -25,6 +25,7 @@ function insert_tracking_id() {
&& ( class_exists( 'Jetpack_AMP_Support' ) && ! \Jetpack_AMP_Support::is_amp_request() )
&& ( ( defined( 'IS_WPCOM' ) && IS_WPCOM ) || ( new Host() )->is_woa_site() )
) {
+ // phpcs:disable WordPress.WP.EnqueuedResources.NonEnqueuedScript
printf(
"<!-- Jetpack Cloudflare Web Analytics -->
<script defer
@@ -34,6 +35,7 @@ function insert_tracking_id() {
<!-- End Jetpack Cloudflare Web Analytics -->\r\n",
esc_html( $option['code'] )
);
+ // phpcs:enable WordPress.WP.EnqueuedResources.NonEnqueuedScript
}
}
add_action( 'wp_footer', __NAMESPACE__ . '\insert_tracking_id', 999 );
diff --git a/plugins/jetpack/modules/comments.php b/plugins/jetpack/modules/comments.php
index 6da9f924..1e28523b 100644
--- a/plugins/jetpack/modules/comments.php
+++ b/plugins/jetpack/modules/comments.php
@@ -1,14 +1,14 @@
<?php
/**
* Module Name: Comments
- * Module Description: Let visitors use a WordPress.com, Twitter, Facebook, or Google account to comment
+ * Module Description: Let visitors use a WordPress.com, Twitter, or Facebook account to comment
* First Introduced: 1.4
* Sort Order: 20
* Requires Connection: Yes
* Auto Activate: No
* Module Tags: Social
* Feature: Engagement
- * Additional Search Queries: comments, comment, facebook, twitter, google+, social
+ * Additional Search Queries: comments, comment, facebook, twitter, social
*
* @package automattic/jetpack
*/
diff --git a/plugins/jetpack/modules/comments/admin.php b/plugins/jetpack/modules/comments/admin.php
index 59300465..208b7ee7 100644
--- a/plugins/jetpack/modules/comments/admin.php
+++ b/plugins/jetpack/modules/comments/admin.php
@@ -1,26 +1,41 @@
-<?php
-
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack comments admin menu file.
+ *
+ * @package automattic/jetpack
+ */
+/**
+ * Class Jetpack_Comments_Settings
+ * This class represents the comments settings functionality.
+ */
class Jetpack_Comments_Settings {
/** Variables *************************************************************/
/**
- * The Jetpack Coments singleton
+ * The Jetpack Comments singleton
+ *
+ * @var Highlander_Comments_Base
*/
public $jetpack_comments;
/**
- * The default comment form greeting
+ * The default comment form greeting - blank to start with
+ *
* @var string
*/
- public $default_greeting = ''; // Set in constructor
+ public $default_greeting = ''; // Set in constructor.
/**
- * The default comment form color scheme
+ * The default comment form color scheme - an empty array to start with
+ *
* @var string
*/
public $color_schemes = array();
+ /**
+ * Initialize class
+ */
public static function init() {
static $instance = false;
@@ -31,25 +46,31 @@ class Jetpack_Comments_Settings {
return $instance;
}
+ /**
+ * Constructor
+ *
+ * @param Highlander_Comments_Base $jetpack_comments The Jetpack Comments singleton.
+ */
public function __construct( Highlander_Comments_Base $jetpack_comments ) {
$this->jetpack_comments = $jetpack_comments;
- // Setup settings
+ // Setup settings.
add_action( 'admin_init', array( $this, 'add_settings' ) );
$this->setup_globals();
}
- /** Private Methods *******************************************************/
+ /** Private Methods ****************************************************** */
/**
* Set any global variables or class variables
+ *
* @since JetpackComments (1.4)
*/
protected function setup_globals() {
- // Default option values
+ // Default option values.
$this->default_greeting = __( 'Leave a Reply', 'jetpack' );
- // Possible color schemes
+ // Possible color schemes.
$this->color_schemes = array(
'light' => __( 'Light', 'jetpack' ),
'dark' => __( 'Dark', 'jetpack' ),
@@ -57,7 +78,7 @@ class Jetpack_Comments_Settings {
);
}
- /** Settings **************************************************************/
+ /** Settings ************************************************************* */
/**
* Add the Jetpack settings to WordPress's discussions page
@@ -66,7 +87,7 @@ class Jetpack_Comments_Settings {
*/
public function add_settings() {
- // Create the section
+ // Create the section.
add_settings_section(
'jetpack_comment_form',
__( 'Comments', 'jetpack' ),
@@ -74,8 +95,9 @@ class Jetpack_Comments_Settings {
'discussion'
);
- /** Clever Greeting ***************************************************/
-
+ /**
+ * Clever Greeting
+ */
add_settings_field(
'highlander_comment_form_prompt',
__( 'Greeting Text', 'jetpack' ),
@@ -90,8 +112,9 @@ class Jetpack_Comments_Settings {
array( $this, 'comment_form_greeting_sanitize' )
);
- /** Color Scheme ******************************************************/
-
+ /**
+ * Color Scheme
+ */
add_settings_field(
'jetpack_comment_form_color_scheme',
__( 'Color Scheme', 'jetpack' ),
@@ -113,11 +136,11 @@ class Jetpack_Comments_Settings {
* @since JetpackComments (1.4)
*/
public function comment_form_settings_section() {
- ?>
+ ?>
- <p id="jetpack-comments-settings"><?php _e( 'Adjust your Comments form with a clever greeting and color-scheme.', 'jetpack' ); ?></p>
+ <p id="jetpack-comments-settings"><?php esc_html_e( 'Adjust your Comments form with a clever greeting and color-scheme.', 'jetpack' ); ?></p>
- <?php
+ <?php
}
/**
@@ -127,27 +150,27 @@ class Jetpack_Comments_Settings {
*/
public function comment_form_greeting_setting() {
- // The greeting
+ // The greeting.
$greeting = get_option( 'highlander_comment_form_prompt', $this->default_greeting );
?>
<input type="text" name="highlander_comment_form_prompt" id="jetpack-comment-form-greeting" value="<?php echo esc_attr( $greeting ); ?>" class="regular-text">
- <p class="description"><?php _e( 'A few catchy words to motivate your readers to comment', 'jetpack' ); ?></p>
+ <p class="description"><?php esc_html_e( 'A few catchy words to motivate your readers to comment', 'jetpack' ); ?></p>
- <?php
+ <?php
}
/**
* Sanitize the clever comment greeting
*
* @since JetpackComments (1.4)
- * @param type $val
+ * @param string $val The contact form greeting string.
* @return string
*/
- function comment_form_greeting_sanitize( $val ) {
+ public function comment_form_greeting_sanitize( $val ) {
- // Delete if empty or the default
- if ( empty( $val ) || ( $this->default_greeting == $val ) ) {
+ // Delete if empty or the default.
+ if ( empty( $val ) || ( $this->default_greeting === $val ) ) {
delete_option( 'highlander_comment_form_prompt' );
return false;
}
@@ -156,24 +179,24 @@ class Jetpack_Comments_Settings {
}
/**
- * Color Scheme Setting
+ * Comment Form Color Scheme Setting
*
* @since JetpackComments (1.4)
*/
public function comment_form_color_scheme_setting() {
- // The color scheme
+ // The color scheme.
$scheme = get_option( 'jetpack_comment_form_color_scheme', $this->jetpack_comments->default_color_scheme );
?>
<fieldset>
- <legend class="screen-reader-text"><?php _e( 'Color Scheme', 'jetpack' ); ?></legend>
+ <legend class="screen-reader-text"><?php esc_html_e( 'Color Scheme', 'jetpack' ); ?></legend>
<?php foreach ( $this->color_schemes as $key => $label ) : ?>
<label>
- <input type="radio" name="jetpack_comment_form_color_scheme" id="jetpack-comment-form-color-scheme" value="<?php echo $key; ?>" <?php checked( $scheme, $key ); ?>>
- <?php echo $label; ?>
+ <input type="radio" name="jetpack_comment_form_color_scheme" id="jetpack-comment-form-color-scheme" value="<?php echo esc_attr( $key ); ?>" <?php checked( $scheme, $key ); ?>>
+ <?php echo esc_attr( $label ); ?>
</label>
<br />
@@ -181,23 +204,23 @@ class Jetpack_Comments_Settings {
</fieldset>
- <?php
+ <?php
}
/**
* Sanitize the color scheme
*
* @since JetpackComments (1.4)
- * @param type $val
+ * @param string $val The color scheme string.
* @return string
*/
public function comment_form_color_scheme_sanitize( $val ) {
- // Delete the option if it's...
+ // Delete the option if it's unknown, or the default.
if (
- empty( $val ) || ! in_array( $val, array_keys( $this->color_schemes ) ) // ... unknown
+ empty( $val ) || ! array_key_exists( $val, $this->color_schemes )
||
- $val == $this->jetpack_comments->default_color_scheme // ... or the default
+ $val === $this->jetpack_comments->default_color_scheme
) {
delete_option( 'jetpack_comment_form_color_scheme' );
return false;
diff --git a/plugins/jetpack/modules/comments/base.php b/plugins/jetpack/modules/comments/base.php
index f6f9834a..df3e462a 100644
--- a/plugins/jetpack/modules/comments/base.php
+++ b/plugins/jetpack/modules/comments/base.php
@@ -1,10 +1,18 @@
-<?php
-
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack comments base file - where the code shared between WP.com Highlander and Jetpack Highlander is defined
+ *
+ * @package automattic/jetpack
+ */
/**
* All the code shared between WP.com Highlander and Jetpack Highlander
*/
class Highlander_Comments_Base {
- function __construct() {
+
+ /**
+ * Constructor
+ */
+ public function __construct() {
$this->setup_globals();
$this->setup_actions();
$this->setup_filters();
@@ -12,24 +20,27 @@ class Highlander_Comments_Base {
/**
* Set any global variables or class variables
+ *
* @since JetpackComments (1.4)
*/
protected function setup_globals() {}
/**
* Setup actions for methods in this class
+ *
* @since JetpackComments (1.4)
*/
protected function setup_actions() {
- // Before a comment is posted
+ // Before a comment is posted.
add_action( 'pre_comment_on_post', array( $this, 'allow_logged_out_user_to_comment_as_external' ) );
- // After a comment is posted
+ // After a comment is posted.
add_action( 'comment_post', array( $this, 'set_comment_cookies' ) );
}
/**
* Setup filters for methods in this class
+ *
* @since JetpackComments (1.4)
*/
protected function setup_filters() {
@@ -41,38 +52,42 @@ class Highlander_Comments_Base {
* Is this a Highlander POST request?
* Optionally restrict to one or more credentials slug (facebook, twitter, ...)
*
- * @param string Comment credentials slug
- * @param ...
+ * @param mixed ...$args Comments credentials slugs.
* @return false|string false if it's not a Highlander POST request. The matching credentials slug if it is.
*/
- function is_highlander_comment_post( ...$args ) {
+ public function is_highlander_comment_post( ...$args ) {
+
+ // phpcs:disable WordPress.Security.NonceVerification.Missing -- Nonce verification should happen in Jetpack_Comments::pre_comment_on_post(). Internal ref for details: p1645643468937519/1645189749.180299-slack-C02HQGKMFJ8
if ( empty( $_POST['hc_post_as'] ) ) {
return false;
}
+ $hc_post_as = wp_unslash( $_POST['hc_post_as'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized here by comparing against known values.
+ // phpcs:enable WordPress.Security.NonceVerification.Missing
if ( $args ) {
foreach ( $args as $id_source ) {
- if ( $id_source === $_POST['hc_post_as'] ) {
+ if ( $id_source === $hc_post_as ) {
return $id_source;
}
}
return false;
}
-
- return is_string( $_POST['hc_post_as'] ) && in_array( $_POST['hc_post_as'], $this->id_sources ) ? $_POST['hc_post_as'] : false;
+ return is_string( $hc_post_as ) && in_array( $hc_post_as, $this->id_sources, true ) ? $hc_post_as : false;
}
/**
* Signs an array of scalars with the self-hosted blog's Jetpack Token
*
- * @param array $parameters
- * @param string $key
+ * If parameter values are not scalars a WP_Error is returned, otherwise a keyed hash value is returned using the HMAC method.
+ *
+ * @param array $parameters Comment parameters.
+ * @param string $key Key used for generating the HMAC variant of the message digest.
* @return string HMAC
*/
- static function sign_remote_comment_parameters( $parameters, $key ) {
+ public static function sign_remote_comment_parameters( $parameters, $key ) {
unset(
- $parameters['sig'], // Don't sign the signature
- $parameters['replytocom'] // This parameter is unsigned - it changes dynamically as the comment form moves from parent comment to parent comment
+ $parameters['sig'], // Don't sign the signature.
+ $parameters['replytocom'] // This parameter is unsigned - it changes dynamically as the comment form moves from parent comment to parent comment.
);
ksort( $parameters );
@@ -89,18 +104,18 @@ class Highlander_Comments_Base {
return hash_hmac( 'sha1', implode( ':', $signing ), $key );
}
- /*
- * After commenting as a guest while logged in, the user needs to see both:
+ /**
+ * Adds comment author email and whether the comment is approved to the comments array
*
+ * After commenting as a guest while logged in, the user needs to see both:
* ( user_id = blah AND comment_approved = 0 )
- * and
- * ( comment_author_email = blah AND comment_approved = 0 )
+ * and ( comment_author_email = blah AND comment_approved = 0 )
+ * Core only does the first since the user is logged in, so this adds the second to the comments array.
*
- * Core only does the first since the user is logged in.
- *
- * Add the second to the comments array.
- */
- function comments_array( $comments ) {
+ * @param array $comments All comment data.
+ * @return array A modified array of comment data.
+ */
+ public function comments_array( $comments ) {
global $wpdb, $post;
$commenter = $this->get_current_commenter();
@@ -137,12 +152,12 @@ class Highlander_Comments_Base {
* Comment sort comparator: comment_date_gmt
*
* @since JetpackComments (1.4)
- * @param object $a
- * @param object $b
+ * @param object $a The first comment to compare dates with.
+ * @param object $b The second comment to compare dates with.
* @return int
*/
public function sort_comments_by_comment_date_gmt( $a, $b ) {
- if ( $a->comment_date_gmt == $b->comment_date_gmt ) {
+ if ( $a->comment_date_gmt === $b->comment_date_gmt ) {
return 0;
}
@@ -156,22 +171,22 @@ class Highlander_Comments_Base {
* @return array Commenters information from cookie
*/
protected function get_current_commenter() {
- // Defaults
+ // Defaults.
$user_id = 0;
$comment_author = '';
$comment_author_email = '';
$comment_author_url = '';
if ( isset( $_COOKIE[ 'comment_author_' . COOKIEHASH ] ) ) {
- $comment_author = $_COOKIE[ 'comment_author_' . COOKIEHASH ];
+ $comment_author = sanitize_text_field( wp_unslash( $_COOKIE[ 'comment_author_' . COOKIEHASH ] ) );
}
if ( isset( $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] ) ) {
- $comment_author_email = $_COOKIE[ 'comment_author_email_' . COOKIEHASH ];
+ $comment_author_email = sanitize_email( wp_unslash( $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] ) );
}
if ( isset( $_COOKIE[ 'comment_author_url_' . COOKIEHASH ] ) ) {
- $comment_author_url = $_COOKIE[ 'comment_author_url_' . COOKIEHASH ];
+ $comment_author_url = esc_url_raw( wp_unslash( $_COOKIE[ 'comment_author_url_' . COOKIEHASH ] ) );
}
if ( is_user_logged_in() ) {
@@ -187,10 +202,9 @@ class Highlander_Comments_Base {
* Overrides WordPress' core comment_registration option to treat these commenters as "registered" (verified) users.
*
* @since JetpackComments (1.4)
- * @return If no
*/
- function allow_logged_out_user_to_comment_as_external() {
- if ( ! $this->is_highlander_comment_post( 'facebook', 'twitter', 'googleplus' ) ) {
+ public function allow_logged_out_user_to_comment_as_external() {
+ if ( ! $this->is_highlander_comment_post( 'facebook', 'twitter' ) ) {
return;
}
@@ -204,22 +218,22 @@ class Highlander_Comments_Base {
* Respects comment_registration option.
*
* @since JetpackComments (1.4)
- * @param array $comment_data
- * @return int
+ * @param array $comment_data All data for a specific comment.
+ * @return array Modified comment data, or an error if the required fields or a valid email address are not entered.
*/
- function allow_logged_in_user_to_comment_as_guest( $comment_data ) {
- // Bail if user registration is allowed
+ public function allow_logged_in_user_to_comment_as_guest( $comment_data ) {
+ // Bail if user registration is allowed.
if ( get_option( 'comment_registration' ) ) {
return $comment_data;
}
- // Bail if user is not logged in or not a post request
- if ( 'POST' != strtoupper( $_SERVER['REQUEST_METHOD'] ) || ! is_user_logged_in() ) {
+ // Bail if user is not logged in or not a post request.
+ if ( ! isset( $_SERVER['REQUEST_METHOD'] ) || 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) || ! is_user_logged_in() ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- simple comparison
return $comment_data;
}
- // Bail if this is not a guest or external service credentialed request
- if ( ! $this->is_highlander_comment_post( 'guest', 'facebook', 'twitter', 'googleplus' ) ) {
+ // Bail if this is not a guest or external service credentialed request.
+ if ( ! $this->is_highlander_comment_post( 'guest', 'facebook', 'twitter' ) ) {
return $comment_data;
}
@@ -230,16 +244,18 @@ class Highlander_Comments_Base {
'comment_author_email' => 'user_email',
'comment_author_url' => 'user_url',
) as $comment_field => $user_field ) {
- if ( $comment_data[ $comment_field ] != addslashes( $user->$user_field ) ) {
- return $comment_data; // some other plugin already did something funky
+ if ( addslashes( $user->$user_field ) !== $comment_data[ $comment_field ] ) {
+ return $comment_data; // some other plugin already did something funky.
}
}
+ // phpcs:disable WordPress.Security.NonceVerification.Missing -- Nonce verification should happen in Jetpack_Comments::pre_comment_on_post()
+ // phpcs:disable WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitization too
if ( get_option( 'require_name_email' ) ) {
- if ( 6 > strlen( $_POST['email'] ) || empty( $_POST['author'] ) ) {
- wp_die( __( 'Error: please fill the required fields (name, email).', 'jetpack' ), 400 );
- } elseif ( ! is_email( $_POST['email'] ) ) {
- wp_die( __( 'Error: please enter a valid email address.', 'jetpack' ), 400 );
+ if ( isset( $_POST['email'] ) && 6 > strlen( wp_unslash( $_POST['email'] ) ) || empty( $_POST['author'] ) ) {
+ wp_die( esc_html__( 'Error: please fill the required fields (name, email).', 'jetpack' ), 400 );
+ } elseif ( ! isset( $_POST['email'] ) || ! is_email( wp_unslash( $_POST['email'] ) ) ) {
+ wp_die( esc_html__( 'Error: please enter a valid email address.', 'jetpack' ), 400 );
}
}
@@ -249,15 +265,17 @@ class Highlander_Comments_Base {
'comment_author_email' => 'email',
'comment_author_url' => 'url',
) as $comment_field => $post_field ) {
- if ( $comment_data[ $comment_field ] != $_POST[ $post_field ] && 'url' != $post_field ) {
+ if ( ( ! isset( $_POST[ $post_field ] ) || $comment_data[ $comment_field ] !== $_POST[ $post_field ] ) && 'url' !== $post_field ) {
$author_change = true;
}
- $comment_data[ $comment_field ] = $_POST[ $post_field ];
+ $comment_data[ $comment_field ] = isset( $_POST[ $post_field ] ) ? wp_unslash( $_POST[ $post_field ] ) : null;
}
+ // phpcs:enable WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
- // Mark as guest comment if name or email were changed
+ // Mark as guest comment if name or email were changed.
if ( $author_change ) {
- $comment_data['user_id'] = $comment_data['user_ID'] = 0;
+ $comment_data['user_ID'] = 0;
+ $comment_data['user_id'] = $comment_data['user_ID'];
}
return $comment_data;
@@ -267,11 +285,10 @@ class Highlander_Comments_Base {
* Set the comment cookies or bail if comment is invalid
*
* @since JetpackComments (1.4)
- * @param type $comment_id
- * @return If comment is invalid
+ * @param int $comment_id The comment ID.
*/
public function set_comment_cookies( $comment_id ) {
- // Get comment and bail if it's invalid somehow
+ // Get comment and bail if it's invalid somehow.
$comment = get_comment( $comment_id );
if ( empty( $comment ) || is_wp_error( $comment ) ) {
return;
@@ -282,14 +299,14 @@ class Highlander_Comments_Base {
return;
}
- // Set comment author cookies
+ // Set comment author cookies.
// phpcs:ignore WordPress.WP.CapitalPDangit
- if ( ( 'wordpress' != $id_source ) && is_user_logged_in() ) {
+ if ( ( 'wordpress' !== $id_source ) && is_user_logged_in() ) {
/** This filter is already documented in core/wp-includes/comment-functions.php */
$comment_cookie_lifetime = apply_filters( 'comment_cookie_lifetime', 30000000 );
- setcookie( 'comment_author_' . COOKIEHASH, $comment->comment_author, time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN );
- setcookie( 'comment_author_email_' . COOKIEHASH, $comment->comment_author_email, time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN );
- setcookie( 'comment_author_url_' . COOKIEHASH, esc_url( $comment->comment_author_url ), time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN );
+ setcookie( 'comment_author_' . COOKIEHASH, $comment->comment_author, time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), true );
+ setcookie( 'comment_author_email_' . COOKIEHASH, $comment->comment_author_email, time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), true );
+ setcookie( 'comment_author_url_' . COOKIEHASH, esc_url( $comment->comment_author_url ), time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), true );
}
}
@@ -297,8 +314,8 @@ class Highlander_Comments_Base {
* Get an avatar from Photon
*
* @since JetpackComments (1.4)
- * @param string $url
- * @param int $size
+ * @param string $url The avatar URL.
+ * @param int $size The avatar size.
* @return string
*/
protected function photon_avatar( $url, $size ) {
diff --git a/plugins/jetpack/modules/comments/comments.php b/plugins/jetpack/modules/comments/comments.php
index 368f1633..494f4793 100644
--- a/plugins/jetpack/modules/comments/comments.php
+++ b/plugins/jetpack/modules/comments/comments.php
@@ -1,6 +1,11 @@
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Module: Comments
+ *
+ * @package automattic/jetpack
+ */
-require dirname( __FILE__ ) . '/base.php';
+require __DIR__ . '/base.php';
use Automattic\Jetpack\Connection\Tokens;
/**
@@ -15,19 +20,22 @@ class Jetpack_Comments extends Highlander_Comments_Base {
/** Variables *************************************************************/
/**
- * Possible comment form sources
+ * Possible comment form sources - empty array as default
+ *
* @var array
*/
public $id_sources = array();
/**
- * URL
+ * Remote comment URL - empty string as default
+ *
* @var string
*/
public $signed_url = '';
/**
- * The default comment form color scheme
+ * The default comment form color scheme - default is light
+ *
* @var string
* @see ::set_default_color_theme_based_on_theme_settings()
*/
@@ -35,11 +43,14 @@ class Jetpack_Comments extends Highlander_Comments_Base {
/** Methods ***************************************************************/
+ /**
+ * Initialize class
+ */
public static function init() {
static $instance = false;
if ( ! $instance ) {
- $instance = new Jetpack_Comments;
+ $instance = new Jetpack_Comments();
}
return $instance;
@@ -53,7 +64,7 @@ class Jetpack_Comments extends Highlander_Comments_Base {
public function __construct() {
parent::__construct();
- // Comments is loaded
+ // Comments is loaded.
/**
* Fires after the Jetpack_Comments object has been instantiated
@@ -63,11 +74,14 @@ class Jetpack_Comments extends Highlander_Comments_Base {
* @since 1.4.0
*
* @param array $jetpack_comments_loaded First element in array of type Jetpack_Comments
- **/
+ */
do_action_ref_array( 'jetpack_comments_loaded', array( $this ) );
add_action( 'after_setup_theme', array( $this, 'set_default_color_theme_based_on_theme_settings' ), 100 );
}
+ /**
+ * Set the default comments color theme based on theme settings
+ */
public function set_default_color_theme_based_on_theme_settings() {
if ( function_exists( 'twentyeleven_get_theme_options' ) ) {
$theme_options = twentyeleven_get_theme_options();
@@ -75,8 +89,8 @@ class Jetpack_Comments extends Highlander_Comments_Base {
} else {
$theme_color_scheme = get_theme_mod( 'color_scheme', 'transparent' );
}
- // Default for $theme_color_scheme is 'transparent' just so it doesn't match 'light' or 'dark'
- // The default for Jetpack's color scheme is still defined above as 'light'
+ // Default for $theme_color_scheme is 'transparent' just so it doesn't match 'light' or 'dark'.
+ // The default for Jetpack's color scheme is still defined above as 'light'.
if ( false !== stripos( $theme_color_scheme, 'light' ) ) {
$this->default_color_scheme = 'light';
@@ -89,12 +103,15 @@ class Jetpack_Comments extends Highlander_Comments_Base {
/**
* Set any global variables or class variables
+ *
+ * This is primarily defining the comment form sources.
+ *
* @since JetpackComments (1.4)
*/
protected function setup_globals() {
parent::setup_globals();
- // Sources
+ // Sources.
$this->id_sources = array(
'guest',
'jetpack',
@@ -106,27 +123,29 @@ class Jetpack_Comments extends Highlander_Comments_Base {
/**
* Setup actions for methods in this class
+ *
* @since JetpackComments (1.4)
*/
protected function setup_actions() {
parent::setup_actions();
- // Selfishly remove everything from the existing comment form
+ // Selfishly remove everything from the existing comment form.
remove_all_actions( 'comment_form_before' );
- // Selfishly add only our actions back to the comment form
+ // Selfishly add only our actions back to the comment form.
add_action( 'comment_form_before', array( $this, 'comment_form_before' ) );
add_action( 'comment_form_after', array( $this, 'comment_form_after' ), 1 ); // Set very early since we remove everything outputed before our action.
- // Before a comment is posted
+ // Before a comment is posted.
add_action( 'pre_comment_on_post', array( $this, 'pre_comment_on_post' ), 1 );
- // After a comment is posted
+ // After a comment is posted.
add_action( 'comment_post', array( $this, 'add_comment_meta' ) );
}
/**
* Setup filters for methods in this class
+ *
* @since 1.6.2
*/
protected function setup_filters() {
@@ -141,20 +160,19 @@ class Jetpack_Comments extends Highlander_Comments_Base {
*
* @since JetpackComments (1.4)
*
- * @param string $avatar Current avatar URL
- * @param string $comment Comment for the avatar
- * @param int $size Size of the avatar
- * @param string $default Not used
+ * @param string $avatar Current avatar URL.
+ * @param string $comment Comment for the avatar.
+ * @param int $size Size of the avatar.
*
* @return string New avatar
*/
- public function get_avatar( $avatar, $comment, $size, $default ) {
+ public function get_avatar( $avatar, $comment, $size ) {
if ( ! isset( $comment->comment_post_ID ) || ! isset( $comment->comment_ID ) ) {
- // it's not a comment - bail
+ // it's not a comment - bail.
return $avatar;
}
- // Detect whether it's a Facebook or Twitter avatar
+ // Detect whether it's a Facebook or Twitter avatar.
$foreign_avatar = get_comment_meta( $comment->comment_ID, 'hc_avatar', true );
$foreign_avatar_hostname = wp_parse_url( $foreign_avatar, PHP_URL_HOST );
if ( ! $foreign_avatar_hostname ||
@@ -162,7 +180,7 @@ class Jetpack_Comments extends Highlander_Comments_Base {
return $avatar;
}
- // Return the FB or Twitter avatar
+ // Return the Facebook or Twitter avatar.
return preg_replace( '#src=([\'"])[^\'"]+\\1#', 'src=\\1' . esc_url( set_url_scheme( $this->photon_avatar( $foreign_avatar, $size ), 'https' ) ) . '\\1', $avatar );
}
@@ -170,6 +188,9 @@ class Jetpack_Comments extends Highlander_Comments_Base {
/**
* Start capturing the core comment_form() output
+ *
+ * Comment form output will only be captured if comments are enabled - we return otherwise.
+ *
* @since JetpackComments (1.4)
*/
public function comment_form_before() {
@@ -187,7 +208,7 @@ class Jetpack_Comments extends Highlander_Comments_Base {
return;
}
- // Add some JS to the footer
+ // Add some JS to the footer.
add_action( 'wp_footer', array( $this, 'watch_comment_parent' ), 100 );
ob_start();
@@ -205,10 +226,10 @@ class Jetpack_Comments extends Highlander_Comments_Base {
return;
}
- // Throw it all out and drop in our replacement
+ // Throw it all out and drop in our replacement.
ob_end_clean();
- // If users are required to be logged in, and they're not, then we don't need to do anything else
+ // If users are required to be logged in, and they're not, then we don't need to do anything else.
if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) {
/**
* Changes the log in to comment prompt.
@@ -219,12 +240,20 @@ class Jetpack_Comments extends Highlander_Comments_Base {
*
* @param string $var Default is "You must log in to post a comment."
*/
- echo '<p class="must-log-in">' . sprintf( apply_filters( 'jetpack_must_log_in_to_comment', __( 'You must <a href="%s">log in</a> to post a comment.', 'jetpack' ) ), wp_login_url( get_permalink() . '#respond' ) ) . '</p>';
-
+ echo '<p class="must-log-in">' . wp_kses_post(
+ sprintf(
+ apply_filters(
+ 'jetpack_must_log_in_to_comment',
+ /* translators: %s is the wp-login URL for the site */
+ __( 'You must <a href="%s">log in</a> to post a comment.', 'jetpack' )
+ ),
+ wp_login_url( get_permalink() . '#respond' )
+ )
+ ) . '</p>';
return;
}
- if ( in_array( 'subscriptions', Jetpack::get_active_modules() ) ) {
+ if ( in_array( 'subscriptions', Jetpack::get_active_modules(), true ) ) {
$stb_enabled = get_option( 'stb_enabled', 1 );
$stb_enabled = empty( $stb_enabled ) ? 0 : 1;
@@ -236,15 +265,16 @@ class Jetpack_Comments extends Highlander_Comments_Base {
}
$params = array(
- 'blogid' => Jetpack_Options::get_option( 'id' ),
- 'postid' => get_the_ID(),
- 'comment_registration' => ( get_option( 'comment_registration' ) ? '1' : '0' ), // Need to explicitly send a '1' or a '0' for these
- 'require_name_email' => ( get_option( 'require_name_email' ) ? '1' : '0' ),
- 'stc_enabled' => $stc_enabled,
- 'stb_enabled' => $stb_enabled,
- 'show_avatars' => ( get_option( 'show_avatars' ) ? '1' : '0' ),
- 'avatar_default' => get_option( 'avatar_default' ),
- 'greeting' => get_option( 'highlander_comment_form_prompt', __( 'Leave a Reply', 'jetpack' ) ),
+ 'blogid' => Jetpack_Options::get_option( 'id' ),
+ 'postid' => get_the_ID(),
+ 'comment_registration' => ( get_option( 'comment_registration' ) ? '1' : '0' ), // Need to explicitly send a '1' or a '0' for these.
+ 'require_name_email' => ( get_option( 'require_name_email' ) ? '1' : '0' ),
+ 'stc_enabled' => $stc_enabled,
+ 'stb_enabled' => $stb_enabled,
+ 'show_avatars' => ( get_option( 'show_avatars' ) ? '1' : '0' ),
+ 'avatar_default' => get_option( 'avatar_default' ),
+ 'greeting' => get_option( 'highlander_comment_form_prompt', __( 'Leave a Reply', 'jetpack' ) ),
+ 'jetpack_comments_nonce' => wp_create_nonce( 'jetpack_comments_nonce-' . get_the_ID() ),
/**
* Changes the comment form prompt.
*
@@ -254,13 +284,17 @@ class Jetpack_Comments extends Highlander_Comments_Base {
*
* @param string $var Default is "Leave a Reply to %s."
*/
- 'greeting_reply' => apply_filters( 'jetpack_comment_form_prompt_reply', __( 'Leave a Reply to %s', 'jetpack' ) ),
- 'color_scheme' => get_option( 'jetpack_comment_form_color_scheme', $this->default_color_scheme ),
- 'lang' => get_locale(),
- 'jetpack_version' => JETPACK__VERSION,
+ 'greeting_reply' => apply_filters(
+ 'jetpack_comment_form_prompt_reply',
+ /* translators: %s is the displayed username of the post (or comment) author */
+ __( 'Leave a Reply to %s', 'jetpack' )
+ ),
+ 'color_scheme' => get_option( 'jetpack_comment_form_color_scheme', $this->default_color_scheme ),
+ 'lang' => get_locale(),
+ 'jetpack_version' => JETPACK__VERSION,
);
- // Extra parameters for logged in user
+ // Extra parameters for logged in user.
if ( is_user_logged_in() ) {
$current_user = wp_get_current_user();
$params['hc_post_as'] = 'jetpack';
@@ -296,21 +330,22 @@ class Jetpack_Comments extends Highlander_Comments_Base {
}
}
- $signature = Jetpack_Comments::sign_remote_comment_parameters( $params, $blog_token->secret );
+ $signature = self::sign_remote_comment_parameters( $params, $blog_token->secret );
if ( is_wp_error( $signature ) ) {
$signature = 'error';
}
- $params['sig'] = $signature;
- $url_origin = 'https://jetpack.wordpress.com';
- $url = "{$url_origin}/jetpack-comment/?" . http_build_query( $params );
- $url = "{$url}#parent=" . urlencode( set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ) );
+ $params['sig'] = $signature;
+ $url_origin = 'https://jetpack.wordpress.com';
+ $url = "{$url_origin}/jetpack-comment/?" . http_build_query( $params );
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sniff misses the esc_url_raw.
+ $url = "{$url}#parent=" . rawurlencode( esc_url_raw( set_url_scheme( 'http://' . ( isset( $_SERVER['HTTP_HOST'] ) ? wp_unslash( $_SERVER['HTTP_HOST'] ) : '' ) . ( isset( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : '' ) ) ) );
$this->signed_url = $url;
- $height = $params['comment_registration'] || is_user_logged_in() ? '315' : '430'; // Iframe can be shorter if we're not allowing guest commenting
- $transparent = ( $params['color_scheme'] == 'transparent' ) ? 'true' : 'false';
+ $height = $params['comment_registration'] || is_user_logged_in() ? '315' : '430'; // Iframe can be shorter if we're not allowing guest commenting.
+ $transparent = ( 'transparent' === $params['color_scheme'] ) ? 'true' : 'false';
- if ( isset( $_GET['replytocom'] ) ) {
- $url .= '&replytocom=' . (int) $_GET['replytocom'];
+ if ( isset( $_GET['replytocom'] ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $url .= '&replytocom=' . (int) $_GET['replytocom']; //phpcs:ignore WordPress.Security.NonceVerification.Recommended
}
/**
@@ -324,7 +359,7 @@ class Jetpack_Comments extends Highlander_Comments_Base {
*/
$show_greeting = apply_filters( 'jetpack_comment_form_display_greeting', true );
- // The actual iframe (loads comment form from Jetpack server)
+ // The actual iframe (loads comment form from Jetpack server).
$is_amp = Jetpack_AMP_Support::is_amp_request();
?>
@@ -361,7 +396,7 @@ class Jetpack_Comments extends Highlander_Comments_Base {
document.addEventListener('DOMContentLoaded', function () {
var commentForms = document.getElementsByClassName('jetpack_remote_comment');
for (var i = 0; i < commentForms.length; i++) {
- commentForms[i].allowTransparency = <?php echo $transparent; ?>;
+ commentForms[i].allowTransparency = <?php echo esc_html( $transparent ); ?>;
commentForms[i].scrolling = 'no';
}
});
@@ -371,7 +406,7 @@ class Jetpack_Comments extends Highlander_Comments_Base {
</form>
</div>
- <?php // Below is required for comment reply JS to work ?>
+ <?php // Below is required for comment reply JS to work. ?>
<input type="hidden" name="comment_parent" id="comment_parent" value="" />
@@ -381,6 +416,8 @@ class Jetpack_Comments extends Highlander_Comments_Base {
/**
* Add some JS to wp_footer to watch for hierarchical reply parent change
*
+ * If AMP is enabled, we don't make any changes.
+ *
* @since JetpackComments (1.4)
*/
public function watch_comment_parent() {
@@ -461,7 +498,7 @@ class Jetpack_Comments extends Highlander_Comments_Base {
// Do the post message bit after the dom has loaded.
document.addEventListener( 'DOMContentLoaded', function () {
- var iframe_url = <?php echo json_encode( esc_url_raw( $url_origin ) ); ?>;
+ var iframe_url = <?php echo wp_json_encode( esc_url_raw( $url_origin ) ); ?>;
if ( window.postMessage ) {
if ( document.addEventListener ) {
window.addEventListener( 'message', function ( event ) {
@@ -492,44 +529,49 @@ class Jetpack_Comments extends Highlander_Comments_Base {
/**
* Verify the hash included in remote comments.
*
- * @since JetpackComments (1.4)
+ * If the Jetpack token is missing we return nothing,
+ * and if the token is unknown or invalid, or comments not allowed, an error is returned.
*
- * @param type $comment Not used
+ * @since JetpackComments (1.4)
*/
- public function pre_comment_on_post( $comment ) {
+ public function pre_comment_on_post() {
$post_array = stripslashes_deep( $_POST );
- // Bail if missing the Jetpack token
+ // Bail if missing the Jetpack token.
if ( ! isset( $post_array['sig'] ) || ! isset( $post_array['token_key'] ) ) {
unset( $_POST['hc_post_as'] );
return;
}
+ if ( empty( $post_array['jetpack_comments_nonce'] ) || ! wp_verify_nonce( $post_array['jetpack_comments_nonce'], "jetpack_comments_nonce-{$post_array['comment_post_ID']}" ) ) {
+ wp_die( esc_html__( 'Nonce verification failed.', 'jetpack' ), 400 );
+ }
+
if ( false !== strpos( $post_array['hc_avatar'], '.gravatar.com' ) ) {
$post_array['hc_avatar'] = htmlentities( $post_array['hc_avatar'] );
}
$blog_token = ( new Tokens() )->get_access_token( false, $post_array['token_key'] );
if ( ! $blog_token ) {
- wp_die( __( 'Unknown security token.', 'jetpack' ), 400 );
+ wp_die( esc_html__( 'Unknown security token.', 'jetpack' ), 400 );
}
- $check = Jetpack_Comments::sign_remote_comment_parameters( $post_array, $blog_token->secret );
+ $check = self::sign_remote_comment_parameters( $post_array, $blog_token->secret );
if ( is_wp_error( $check ) ) {
- wp_die( $check );
+ wp_die( esc_html( $check ) );
}
- // Bail if token is expired or not valid
+ // Bail if token is expired or not valid.
if ( ! hash_equals( $check, $post_array['sig'] ) ) {
- wp_die( __( 'Invalid security token.', 'jetpack' ), 400 );
+ wp_die( esc_html__( 'Invalid security token.', 'jetpack' ), 400 );
}
/** This filter is documented in modules/comments/comments.php */
if ( ! apply_filters( 'jetpack_comment_form_enabled_for_' . get_post_type( $post_array['comment_post_ID'] ), true ) ) {
// In case the comment POST is legit, but the comments are
- // now disabled, we don't allow the comment
+ // now disabled, we don't allow the comment.
- wp_die( __( 'Comments are not allowed.', 'jetpack' ), 403 );
+ wp_die( esc_html__( 'Comments are not allowed.', 'jetpack' ), 403 );
}
}
@@ -541,54 +583,61 @@ class Jetpack_Comments extends Highlander_Comments_Base {
*
* @since JetpackComments (1.4)
*
- * @param type $comment_id
+ * @param int $comment_id The comment ID.
*/
public function add_comment_meta( $comment_id ) {
$comment_meta = array();
+ // phpcs:disable WordPress.Security.NonceVerification.Missing
switch ( $this->is_highlander_comment_post() ) {
case 'facebook':
$comment_meta['hc_post_as'] = 'facebook';
- $comment_meta['hc_avatar'] = stripslashes( $_POST['hc_avatar'] );
- $comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
+ $comment_meta['hc_avatar'] = isset( $_POST['hc_avatar'] ) ? filter_var( wp_unslash( $_POST['hc_avatar'] ) ) : null;
+ $comment_meta['hc_foreign_user_id'] = isset( $_POST['hc_userid'] ) ? filter_var( wp_unslash( $_POST['hc_userid'] ) ) : null;
break;
case 'twitter':
$comment_meta['hc_post_as'] = 'twitter';
- $comment_meta['hc_avatar'] = stripslashes( $_POST['hc_avatar'] );
- $comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
+ $comment_meta['hc_avatar'] = isset( $_POST['hc_avatar'] ) ? filter_var( wp_unslash( $_POST['hc_avatar'] ) ) : null;
+ $comment_meta['hc_foreign_user_id'] = isset( $_POST['hc_userid'] ) ? filter_var( wp_unslash( $_POST['hc_userid'] ) ) : null;
break;
// phpcs:ignore WordPress.WP.CapitalPDangit
case 'wordpress':
// phpcs:ignore WordPress.WP.CapitalPDangit
$comment_meta['hc_post_as'] = 'wordpress';
- $comment_meta['hc_avatar'] = stripslashes( $_POST['hc_avatar'] );
- $comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
- $comment_meta['hc_wpcom_id_sig'] = stripslashes( $_POST['hc_wpcom_id_sig'] ); //since 1.9
+ $comment_meta['hc_avatar'] = isset( $_POST['hc_avatar'] ) ? filter_var( wp_unslash( $_POST['hc_avatar'] ) ) : null;
+ $comment_meta['hc_foreign_user_id'] = isset( $_POST['hc_userid'] ) ? filter_var( wp_unslash( $_POST['hc_userid'] ) ) : null;
+ $comment_meta['hc_wpcom_id_sig'] = isset( $_POST['hc_wpcom_id_sig'] ) ? filter_var( wp_unslash( $_POST['hc_wpcom_id_sig'] ) ) : null; // since 1.9.
break;
case 'jetpack':
$comment_meta['hc_post_as'] = 'jetpack';
- $comment_meta['hc_avatar'] = stripslashes( $_POST['hc_avatar'] );
- $comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
+ $comment_meta['hc_avatar'] = isset( $_POST['hc_avatar'] ) ? filter_var( wp_unslash( $_POST['hc_avatar'] ) ) : null;
+ $comment_meta['hc_foreign_user_id'] = isset( $_POST['hc_userid'] ) ? filter_var( wp_unslash( $_POST['hc_userid'] ) ) : null;
break;
}
+ // phpcs:enable WordPress.Security.NonceVerification.Missing
- // Bail if no extra comment meta
+ // Bail if no extra comment meta.
if ( empty( $comment_meta ) ) {
return;
}
- // Loop through extra meta and add values
+ // Loop through extra meta and add values.
foreach ( $comment_meta as $key => $value ) {
add_comment_meta( $comment_id, $key, $value, true );
}
}
- function capture_comment_post_redirect_to_reload_parent_frame( $url ) {
- if ( ! isset( $_GET['for'] ) || 'jetpack' != $_GET['for'] ) {
+ /**
+ * POST the submitted comment to the iframe
+ *
+ * @param string $url The comment URL origin.
+ */
+ public function capture_comment_post_redirect_to_reload_parent_frame( $url ) {
+ if ( ! isset( $_GET['for'] ) || 'jetpack' !== $_GET['for'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
return $url;
}
?>
@@ -597,7 +646,17 @@ class Jetpack_Comments extends Highlander_Comments_Base {
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
- <title><?php printf( __( 'Submitting Comment%s', 'jetpack' ), '&hellip;' ); ?></title>
+ <title>
+ <?php
+ wp_kses_post(
+ printf(
+ /* translators: %s is replaced by an ellipsis */
+ __( 'Submitting Comment%s', 'jetpack' ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ '&hellip;'
+ )
+ );
+ ?>
+ </title>
<style type="text/css">
body {
display: table;
@@ -648,13 +707,23 @@ class Jetpack_Comments extends Highlander_Comments_Base {
</style>
</head>
<body>
- <h1><?php printf( __( 'Submitting Comment%s', 'jetpack' ), '<span id="ellipsis" class="hidden">&hellip;</span>' ); ?></h1>
+ <h1>
+ <?php
+ wp_kses_post(
+ printf(
+ /* translators: %s is replaced by HTML markup to include an ellipsis */
+ __( 'Submitting Comment%s', 'jetpack' ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ '<span id="ellipsis" class="hidden">&hellip;</span>'
+ )
+ );
+ ?>
+ </h1>
<script type="text/javascript">
try {
- window.parent.location = <?php echo json_encode( $url ); ?>;
+ window.parent.location = <?php echo wp_json_encode( $url ); ?>;
window.parent.location.reload(true);
} catch (e) {
- window.location = <?php echo json_encode( $url ); ?>;
+ window.location = <?php echo wp_json_encode( $url ); ?>;
window.location.reload(true);
}
ellipsis = document.getElementById('ellipsis');
diff --git a/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.css b/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.css
index 463d8191..7406319c 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.css
@@ -1,764 +1,741 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
+@charset "UTF-8";
/* ==========================================================================
** Normalize
** ======================================================================== */
-
html {
- direction: rtl;
+ direction: rtl;
}
body {
- font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
- font-size: 16px;
- line-height: 1.4em;
- margin: 0;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+ font-size: 16px;
+ line-height: 1.4em;
+ margin: 0;
}
/* Links */
a,
a:visited {
- color: #0087be;
- text-decoration: none;
+ color: #0087be;
+ text-decoration: none;
}
a:hover,
a:focus,
a:active {
- color: $link-highlight;
+ /* Not defined here? */
+ /* color: $link-highlight; */
}
/* ==========================================================================
** Card
** ======================================================================= */
-
.card,
body {
- display: block;
- position: relative;
- margin: 0 auto 10px auto;
- padding: 16px;
- box-sizing: border-box;
- background: white;
- box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
+ display: block;
+ position: relative;
+ margin: 0 auto 10px auto;
+ padding: 16px;
+ box-sizing: border-box;
+ background: white;
+ box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
}
body {
- margin: 0;
- background: #f6f7f7;
+ margin: 0;
+ background: #f6f7f7;
}
.card:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
}
.card:hover,
.card:focus {
- box-shadow: 0 0 0 1px #999, 0 1px 2px #e9eff3;
+ box-shadow: 0 0 0 1px #999, 0 1px 2px #e9eff3;
}
.card .delete-field {
- display: block;
- float: left;
+ display: block;
+ float: left;
}
-@media ( min-width: 481px ) {
- .card {
- margin-bottom: 16px;
- padding: 24px;
- }
- body {
- padding: 24px;
- }
-}
+@media (min-width: 481px) {
+ .card {
+ margin-bottom: 16px;
+ padding: 24px;
+ }
+ body {
+ padding: 24px;
+ }
+}
.card.is-compact {
- margin-bottom: 1px;
+ margin-bottom: 1px;
}
-@media ( min-width: 481px ) {
- .card.is-compact {
- margin-bottom: 1px;
- padding: 16px 24px;
- }
+@media (min-width: 481px) {
+ .card.is-compact {
+ margin-bottom: 1px;
+ padding: 16px 24px;
+ }
}
-
.card > div {
- margin-top: 24px;
+ margin-top: 24px;
}
.card > div:first-child {
- margin-top: 0;
+ margin-top: 0;
}
-
/* ==========================================================================
** Labels
** ======================================================================= */
-
label {
- display: block;
- font-size: 14px;
- font-weight: 600;
- margin-bottom: 5px;
- margin-top: 8px;
+ display: block;
+ font-size: 14px;
+ font-weight: 600;
+ margin-bottom: 5px;
+ margin-top: 8px;
}
label:first-of-type {
- margin-top: 4px;
+ margin-top: 4px;
}
-
/* ==========================================================================
** Text Inputs
** ======================================================================= */
-
-input[type="text"],
-input[type="tel"],
-input[type="email"],
-input[type="url"] {
- border-radius: 0;
- -webkit-appearance: none;
- appearance: none;
- box-sizing: border-box;
- margin: 0;
- padding: 7px 14px;
- width: 100%;
- color: #2e4453;
- font-size: 16px;
- line-height: 1.5;
- border: 1px solid #c8d7e1;
- background-color: #fff;
- transition: all .15s ease-in-out;
- box-shadow: none;
-}
-
-input[type="text"]::placeholder,
-input[type="tel"]::placeholder,
-input[type="email"]::placeholder,
-input[type="url"]::placeholder {
- color: #87a6bc;
-}
-
-input[type="text"]:hover,
-input[type="tel"]:hover,
-input[type="email"]:hover,
-input[type="url"]:hover {
- border-color: #a8bece;
-}
-
-input[type="text"]:focus,
-input[type="tel"]:focus,
-input[type="email"]:focus,
-input[type="url"]:focus {
- border-color: #0087be;
- outline: none;
- box-shadow: 0 0 0 2px #78dcfa;
-}
-
-input[type="text"]:focus::-ms-clear,
-input[type="tel"]:focus::-ms-clear,
-input[type="email"]:focus::-ms-clear,
-input[type="url"]:focus::-ms-clear {
- display: none;
-}
-
-input[type="text"]:disabled,
-input[type="tel"]:disabled,
-input[type="email"]:disabled,
-input[type="url"]:disabled {
- background: #f3f6f8;
- border-color: #e9eff3;
- color: #a8bece;
- -webkit-text-fill-color: #a8bece;
-}
-
-input[type="text"]:disabled:hover,
-input[type="tel"]:disabled:hover,
-input[type="email"]:disabled:hover,
-input[type="url"]:disabled:hover {
- cursor: default;
-}
-
-input[type="text"]:disabled::placeholder,
-input[type="tel"]:disabled::placeholder,
-input[type="email"]:disabled::placeholder,
-input[type="url"]:disabled::placeholder {
- color: #a8bece;
+input[type=text],
+input[type=tel],
+input[type=email],
+input[type=url] {
+ border-radius: 0;
+ -webkit-appearance: none;
+ appearance: none;
+ box-sizing: border-box;
+ margin: 0;
+ padding: 7px 14px;
+ width: 100%;
+ color: #2e4453;
+ font-size: 16px;
+ line-height: 1.5;
+ border: 1px solid #c8d7e1;
+ background-color: #fff;
+ transition: all 0.15s ease-in-out;
+ box-shadow: none;
+}
+
+input[type=text]::placeholder,
+input[type=tel]::placeholder,
+input[type=email]::placeholder,
+input[type=url]::placeholder {
+ color: #87a6bc;
+}
+
+input[type=text]:hover,
+input[type=tel]:hover,
+input[type=email]:hover,
+input[type=url]:hover {
+ border-color: #a8bece;
+}
+
+input[type=text]:focus,
+input[type=tel]:focus,
+input[type=email]:focus,
+input[type=url]:focus {
+ border-color: #0087be;
+ outline: none;
+ box-shadow: 0 0 0 2px #78dcfa;
+}
+
+input[type=text]:focus::-ms-clear,
+input[type=tel]:focus::-ms-clear,
+input[type=email]:focus::-ms-clear,
+input[type=url]:focus::-ms-clear {
+ display: none;
+}
+
+input[type=text]:disabled,
+input[type=tel]:disabled,
+input[type=email]:disabled,
+input[type=url]:disabled {
+ background: #f3f6f8;
+ border-color: #e9eff3;
+ color: #a8bece;
+ -webkit-text-fill-color: #a8bece;
+}
+
+input[type=text]:disabled:hover,
+input[type=tel]:disabled:hover,
+input[type=email]:disabled:hover,
+input[type=url]:disabled:hover {
+ cursor: default;
+}
+
+input[type=text]:disabled::placeholder,
+input[type=tel]:disabled::placeholder,
+input[type=email]:disabled::placeholder,
+input[type=url]:disabled::placeholder {
+ color: #a8bece;
}
-
/* ==========================================================================
** Textareas
** ======================================================================= */
-
textarea {
- border-radius: 0;
- -webkit-appearance: none;
- appearance: none;
- box-sizing: border-box;
- margin: 0;
- padding: 7px 14px;
- height: 92px;
- width: 100%;
- color: #2e4453;
- font-size: 16px;
- line-height: 1.5;
- border: 1px solid #c8d7e1;
- background-color: #fff;
- transition: all .15s ease-in-out;
- box-shadow: none;
+ border-radius: 0;
+ -webkit-appearance: none;
+ appearance: none;
+ box-sizing: border-box;
+ margin: 0;
+ padding: 7px 14px;
+ height: 92px;
+ width: 100%;
+ color: #2e4453;
+ font-size: 16px;
+ line-height: 1.5;
+ border: 1px solid #c8d7e1;
+ background-color: #fff;
+ transition: all 0.15s ease-in-out;
+ box-shadow: none;
}
textarea::placeholder {
- color: #87a6bc;
+ color: #87a6bc;
}
textarea:hover {
- border-color: #a8bece;
+ border-color: #a8bece;
}
textarea:focus {
- border-color: #0087be;
- outline: none;
- box-shadow: 0 0 0 2px #78dcfa;
+ border-color: #0087be;
+ outline: none;
+ box-shadow: 0 0 0 2px #78dcfa;
}
textarea:focus::-ms-clear {
- display: none;
+ display: none;
}
textarea:disabled {
- background: #f3f6f8;
- border-color: #e9eff3;
- color: #a8bece;
- -webkit-text-fill-color: #a8bece;
+ background: #f3f6f8;
+ border-color: #e9eff3;
+ color: #a8bece;
+ -webkit-text-fill-color: #a8bece;
}
textarea:disabled:hover {
- cursor: default;
+ cursor: default;
}
textarea:disabled::placeholder {
- color: #a8bece;
+ color: #a8bece;
}
-
/* ==========================================================================
** Checkboxes
** ======================================================================= */
-
.checkbox,
-input[type="checkbox"] {
- -webkit-appearance: none;
- display: inline-block;
- box-sizing: border-box;
- margin: 2px 0 0;
- padding: 7px 14px;
- width: 16px;
- height: 16px;
- float: right;
- outline: 0;
- padding: 0;
- box-shadow: none;
- background-color: #fff;
- border: 1px solid #c8d7e1;
- color: #2e4453;
- font-size: 16px;
- line-height: 0;
- text-align: center;
- vertical-align: middle;
- appearance: none;
- transition: all .15s ease-in-out;
- clear: none;
- cursor: pointer;
+input[type=checkbox] {
+ -webkit-appearance: none;
+ display: inline-block;
+ box-sizing: border-box;
+ margin: 2px 0 0;
+ padding: 7px 14px;
+ width: 16px;
+ height: 16px;
+ float: right;
+ outline: 0;
+ padding: 0;
+ box-shadow: none;
+ background-color: #fff;
+ border: 1px solid #c8d7e1;
+ color: #2e4453;
+ font-size: 16px;
+ line-height: 0;
+ text-align: center;
+ vertical-align: middle;
+ appearance: none;
+ transition: all 0.15s ease-in-out;
+ clear: none;
+ cursor: pointer;
}
.checkbox:checked:before,
-input[type="checkbox"]:checked:before {
- content: '\f147';
- font-family: Dashicons;
- margin: -3px -4px 0 0;
- float: right;
- display: inline-block;
- vertical-align: middle;
- width: 16px;
- font-size: 20px;
- line-height: 1;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- speak: none;
- color: #00aadc;
+input[type=checkbox]:checked:before {
+ content: "\f147";
+ font-family: Dashicons;
+ margin: -3px -4px 0 0;
+ float: right;
+ display: inline-block;
+ vertical-align: middle;
+ width: 16px;
+ font-size: 20px;
+ line-height: 1;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ speak: none;
+ color: #00aadc;
}
.checkbox:disabled:checked:before,
-input[type="checkbox"]:disabled:checked:before {
- color: #a8bece;
+input[type=checkbox]:disabled:checked:before {
+ color: #a8bece;
}
.checkbox:hover,
-input[type="checkbox"]:hover {
- border-color: #a8bece;
+input[type=checkbox]:hover {
+ border-color: #a8bece;
}
.checkbox:focus,
-input[type="checkbox"]:focus {
- border-color: #0087be;
- outline: none;
- box-shadow: 0 0 0 2px #78dcfa;
+input[type=checkbox]:focus {
+ border-color: #0087be;
+ outline: none;
+ box-shadow: 0 0 0 2px #78dcfa;
}
.checkbox:disabled,
-input[type="checkbox"]:disabled {
- background: #f3f6f8;
- border-color: #e9eff3;
- color: #a8bece;
- opacity: 1;
+input[type=checkbox]:disabled {
+ background: #f3f6f8;
+ border-color: #e9eff3;
+ color: #a8bece;
+ opacity: 1;
}
.checkbox:disabled:hover,
-input[type="checkbox"]:disabled:hover {
- cursor: default;
+input[type=checkbox]:disabled:hover {
+ cursor: default;
}
.checkbox + span,
-input[type="checkbox"] + span {
- display: block;
- font-weight: normal;
- margin-right: 24px;
+input[type=checkbox] + span {
+ display: block;
+ font-weight: normal;
+ margin-right: 24px;
}
-
/* ==========================================================================
** Radio buttons
** ======================================================================== */
-
.radio-button,
input[type=radio] {
- color: #2e4453;
- font-size: 16px;
- border: 1px solid #c8d7e1;
- background-color: #fff;
- transition: all .15s ease-in-out;
- box-sizing: border-box;
- -webkit-appearance: none;
- clear: none;
- cursor: pointer;
- display: inline-block;
- line-height: 0;
- height: 16px;
- margin: 2px 0 0 4px;
- float: right;
- outline: 0;
- padding: 0;
- text-align: center;
- vertical-align: middle;
- width: 16px;
- min-width: 16px;
- appearance: none;
- border-radius: 50%;
- line-height: 10px;
+ color: #2e4453;
+ font-size: 16px;
+ border: 1px solid #c8d7e1;
+ background-color: #fff;
+ transition: all 0.15s ease-in-out;
+ box-sizing: border-box;
+ -webkit-appearance: none;
+ clear: none;
+ cursor: pointer;
+ display: inline-block;
+ line-height: 0;
+ height: 16px;
+ margin: 2px 0 0 4px;
+ float: right;
+ outline: 0;
+ padding: 0;
+ text-align: center;
+ vertical-align: middle;
+ width: 16px;
+ min-width: 16px;
+ appearance: none;
+ border-radius: 50%;
+ line-height: 10px;
}
.radio-button:hover,
-input[type="radio"]:hover {
- border-color: #a8bece;
+input[type=radio]:hover {
+ border-color: #a8bece;
}
.radio-button:focus,
-input[type="radio"]:focus {
- border-color: #0087be;
- outline: none;
- box-shadow: 0 0 0 2px #78dcfa;
+input[type=radio]:focus {
+ border-color: #0087be;
+ outline: none;
+ box-shadow: 0 0 0 2px #78dcfa;
}
.radio-button:focus::-ms-clear,
-input[type="radio"]:focus::-ms-clear {
- display: none;
+input[type=radio]:focus::-ms-clear {
+ display: none;
}
.radio-button:checked:before,
-input[type="radio"]:checked:before {
- float: right;
- display: inline-block;
- content: '\2022';
- margin: 3px;
- width: 8px;
- height: 8px;
- text-indent: -9999px;
- background: #00aadc;
- vertical-align: middle;
- border-radius: 50%;
- animation: grow .2s ease-in-out;
+input[type=radio]:checked:before {
+ float: right;
+ display: inline-block;
+ content: "•";
+ margin: 3px;
+ width: 8px;
+ height: 8px;
+ text-indent: -9999px;
+ background: #00aadc;
+ vertical-align: middle;
+ border-radius: 50%;
+ animation: grow 0.2s ease-in-out;
}
.radio-button:disabled,
-input[type="radio"]:disabled {
- background: #f3f6f8;
- border-color: #e9eff3;
- color: #a8bece;
- opacity: 1;
- -webkit-text-fill-color: #a8bece;
+input[type=radio]:disabled {
+ background: #f3f6f8;
+ border-color: #e9eff3;
+ color: #a8bece;
+ opacity: 1;
+ -webkit-text-fill-color: #a8bece;
}
.radio-button:disabled:hover,
-input[type="radio"]:disabled:hover {
- cursor: default;
+input[type=radio]:disabled:hover {
+ cursor: default;
}
.radio-button:disabled::placeholder,
-input[type="radio"]:disabled::placeholder {
- color: #a8bece;
+input[type=radio]:disabled::placeholder {
+ color: #a8bece;
}
.radio-button:disabled:checked::before,
-input[type="radio"]:disabled:checked:before {
- background: #e9eff3;
+input[type=radio]:disabled:checked:before {
+ background: #e9eff3;
}
.radio-button + span,
-input[type="radio"] + span {
- display: block;
- font-weight: normal;
- margin-right: 24px;
+input[type=radio] + span {
+ display: block;
+ font-weight: normal;
+ margin-right: 24px;
}
@keyframes grow {
- 0% {
- transform: scale(0.3);
- }
-
- 60% {
- transform: scale(1.15);
- }
-
- 100% {
- transform: scale(1);
- }
+ 0% {
+ transform: scale(0.3);
+ }
+ 60% {
+ transform: scale(1.15);
+ }
+ 100% {
+ transform: scale(1);
+ }
}
-
@keyframes grow {
- 0% {
- transform: scale(0.3);
- }
-
- 60% {
- transform: scale(1.15);
- }
-
- 100% {
- transform: scale(1);
- }
+ 0% {
+ transform: scale(0.3);
+ }
+ 60% {
+ transform: scale(1.15);
+ }
+ 100% {
+ transform: scale(1);
+ }
}
-
-
/* ==========================================================================
** Selects
** ======================================================================== */
-
select {
- background: #fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;
- border-color: #c8d7e1;
- border-style: solid;
- border-radius: 4px;
- border-width: 1px 1px 2px;
- color: #2e4453;
- cursor: pointer;
- display: inline-block;
- margin: 0;
- outline: 0;
- overflow: hidden;
- font-size: 14px;
- line-height: 21px;
- font-weight: 600;
- text-overflow: ellipsis;
- text-decoration: none;
- vertical-align: top;
- white-space: nowrap;
- box-sizing: border-box;
- /* Aligns the text to the 8px baseline grid and adds padding on right to allow for the arrow. */
- padding: 7px 14px 9px 32px;
- -webkit-appearance: none;
- appearance: none;
+ background: #fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;
+ border-color: #c8d7e1;
+ border-style: solid;
+ border-radius: 4px;
+ border-width: 1px 1px 2px;
+ color: #2e4453;
+ cursor: pointer;
+ display: inline-block;
+ margin: 0;
+ outline: 0;
+ overflow: hidden;
+ font-size: 14px;
+ line-height: 21px;
+ font-weight: 600;
+ text-overflow: ellipsis;
+ text-decoration: none;
+ vertical-align: top;
+ white-space: nowrap;
+ box-sizing: border-box;
+ /* Aligns the text to the 8px baseline grid and adds padding on right to allow for the arrow. */
+ padding: 7px 14px 9px 32px;
+ -webkit-appearance: none;
+ appearance: none;
}
select:hover {
- background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
}
select:focus {
- background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);
- border-color: #00aadc;
- box-shadow: 0 0 0 2px #78dcfa;
- outline: 0;
- -moz-outline:none;
- -moz-user-focus:ignore;
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);
+ border-color: #00aadc;
+ box-shadow: 0 0 0 2px #78dcfa;
+ outline: 0;
+ -moz-outline: none;
+ -moz-user-focus: ignore;
}
select:disabled,
select:hover:disabled {
- background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;;
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;
}
select.is-compact {
- min-width: 0;
- padding: 0 6px 2px 20px;
- margin: 0 4px;
- background-position: left 5px center;
- background-size: 12px 12px;
+ min-width: 0;
+ padding: 0 6px 2px 20px;
+ margin: 0 4px;
+ background-position: left 5px center;
+ background-size: 12px 12px;
}
/* Make it display:block when it follows a label */
label select,
label + select {
- display: block;
- min-width: 200px;
+ display: block;
+ min-width: 200px;
}
label select.is-compact,
label + select.is-compact {
- display: inline-block;
- min-width: 0;
+ display: inline-block;
+ min-width: 0;
}
/* IE: Remove the default arrow */
select::-ms-expand {
- display: none;
+ display: none;
}
/* IE: Remove default background and color styles on focus */
select::-ms-value {
- background: none;
- color: #2e4453;
+ background: none;
+ color: #2e4453;
}
/* Firefox: Remove the focus outline, see http://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002 */
select:-moz-focusring {
- color: transparent;
- text-shadow: 0 0 0 #2e4453;
+ color: transparent;
+ text-shadow: 0 0 0 #2e4453;
}
-
/* ==========================================================================
** Buttons
** ======================================================================== */
-
-input[type="submit"] {
- padding: 0;
- font-size: 14px;
- -webkit-appearance: none;
- appearance: none;
- vertical-align: baseline;
- background: white;
- border-color: #c8d7e1;
- border-style: solid;
- border-width: 1px 1px 2px;
- color: #2e4453;
- cursor: pointer;
- display: inline-block;
- margin: 24px 0 0;
- outline: 0;
- overflow: hidden;
- font-weight: 500;
- text-overflow: ellipsis;
- text-decoration: none;
- vertical-align: top;
- box-sizing: border-box;
- font-size: 14px;
- line-height: 21px;
- border-radius: 4px;
- padding: 7px 14px 9px;
- -webkit-appearance: none;
- appearance: none;
+input[type=submit] {
+ padding: 0;
+ font-size: 14px;
+ -webkit-appearance: none;
+ appearance: none;
+ vertical-align: baseline;
+ background: white;
+ border-color: #c8d7e1;
+ border-style: solid;
+ border-width: 1px 1px 2px;
+ color: #2e4453;
+ cursor: pointer;
+ display: inline-block;
+ margin: 24px 0 0;
+ outline: 0;
+ overflow: hidden;
+ font-weight: 500;
+ text-overflow: ellipsis;
+ text-decoration: none;
+ vertical-align: top;
+ box-sizing: border-box;
+ font-size: 14px;
+ line-height: 21px;
+ border-radius: 4px;
+ padding: 7px 14px 9px;
+ -webkit-appearance: none;
+ appearance: none;
}
-input[type="submit"]:hover {
- border-color: #a8bece;
- color: #2e4453;
+input[type=submit]:hover {
+ border-color: #a8bece;
+ color: #2e4453;
}
-input[type="submit"]:active {
- border-width: 2px 1px 1px;
+input[type=submit]:active {
+ border-width: 2px 1px 1px;
}
-input[type="submit"]:visited {
- color: #2e4453;
+input[type=submit]:visited {
+ color: #2e4453;
}
-input[type="submit"][disabled],
-input[type="submit"]:disabled {
- color: #e9eff3;
- background: white;
- border-color: #e9eff3;
- cursor: default;
+input[type=submit][disabled],
+input[type=submit]:disabled {
+ color: #e9eff3;
+ background: white;
+ border-color: #e9eff3;
+ cursor: default;
}
-input[type="submit"][disabled]:active,
-input[type="submit"]:disabled:active {
- border-width: 1px 1px 2px;
+input[type=submit][disabled]:active,
+input[type=submit]:disabled:active {
+ border-width: 1px 1px 2px;
}
-input[type="submit"]:focus {
- border-color: #00aadc;
- box-shadow: 0 0 0 2px #78dcfa;
+input[type=submit]:focus {
+ border-color: #00aadc;
+ box-shadow: 0 0 0 2px #78dcfa;
}
-input[type="submit"].hidden {
- display: none;
+input[type=submit].hidden {
+ display: none;
}
-input[type="submit"] .gridicon {
- position: relative;
- top: 4px;
- margin-top: -2px;
- width: 18px;
- height: 18px;
+input[type=submit] .gridicon {
+ position: relative;
+ top: 4px;
+ margin-top: -2px;
+ width: 18px;
+ height: 18px;
}
-input[type="submit"].button-primary {
- background: #00aadc;
- border-color: #008ab3;
- color: white;
+input[type=submit].button-primary {
+ background: #00aadc;
+ border-color: #008ab3;
+ color: white;
}
-input[type="submit"].button-primary:hover,
-input[type="submit"].button-primary:focus {
- border-color: #005082;
- color: white;
+input[type=submit].button-primary:hover,
+input[type=submit].button-primary:focus {
+ border-color: #005082;
+ color: white;
}
-input[type="submit"].button-primary[disabled],
-input[type="submit"].button-primary:disabled {
- background: #bceefd;
- border-color: #8cc9e2;
- color: white;
+input[type=submit].button-primary[disabled],
+input[type=submit].button-primary:disabled {
+ background: #bceefd;
+ border-color: #8cc9e2;
+ color: white;
}
-input[type="submit"].button-primary {
- color: white;
+input[type=submit].button-primary {
+ color: white;
}
-
/* ==========================================================================
** Inline editor styles
** ======================================================================== */
-
-
.ui-sortable-handle {
- cursor: move;
+ cursor: move;
}
.grunion-section-header {
- font-size: 21px;
- margin-top: 32px;
- font-weight: 600;
+ font-size: 21px;
+ margin-top: 32px;
+ font-weight: 600;
}
.grunion-form-settings:hover {
- box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
+ box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
}
.grunion-section-header:first-child {
- margin-top: 0;
+ margin-top: 0;
}
.grunion-type-options {
- display: flex;
- flex-wrap: wrap;
+ display: flex;
+ flex-wrap: wrap;
}
.grunion-type {
- flex-grow: 0;
- flex-shrink: 0;
+ flex-grow: 0;
+ flex-shrink: 0;
}
.grunion-type select {
- -webkit-appearance: none;
- width: 100%;
+ -webkit-appearance: none;
+ width: 100%;
}
.grunion-required {
- padding: 27px 16px 0 0;
- flex-grow: 0;
- flex-shrink: 0;
+ padding: 27px 16px 0 0;
+ flex-grow: 0;
+ flex-shrink: 0;
}
.grunion-options {
- padding-top: 16px;
+ padding-top: 16px;
}
.grunion-options ol {
- list-style: none;
- padding: 0;
- margin: 8px 0 0;
+ list-style: none;
+ padding: 0;
+ margin: 8px 0 0;
}
.grunion-options li {
- display: flex;
- margin-bottom: 16px;
+ display: flex;
+ margin-bottom: 16px;
}
.grunion-field-edit .grunion-options {
- display: none;
+ display: none;
}
.delete-option,
.delete-field {
- color: #0087be;
- text-decoration: none;
- width: 40px;
- line-height: 40px;
- font-size: 21px;
- text-align: center;
- font-weight: 600;
+ color: #0087be;
+ text-decoration: none;
+ width: 40px;
+ line-height: 40px;
+ font-size: 21px;
+ text-align: center;
+ font-weight: 600;
}
.delete-field {
- position: absolute;
- top: 0;
- left: 0;
+ position: absolute;
+ top: 0;
+ left: 0;
}
.grunion-controls {
- display: flex;
- flex-wrap: wrap;
+ display: flex;
+ flex-wrap: wrap;
}
.grunion-update-controls {
- text-align: left;
- flex-grow: 1;
+ text-align: left;
+ flex-grow: 1;
}
#add-field {
- flex-grow: 0;
+ flex-grow: 0;
}
.delete-option:before,
.delete-field:before {
- font-family: Dashicons;
-/* content: "\f158"; /* This is the bolder X */
- content: "\f335"; /* This is the thinner X */
- display: inline-block;
- speak: none;
+ font-family: Dashicons;
+ /* content: "\f158"; /* This is the bolder X */
+ content: "\f335";
+ /* This is the thinner X */
+ display: inline-block;
+ speak: none;
}
.grunion-field-edit.grunion-field-checkbox-multiple .grunion-options,
.grunion-field-edit.grunion-field-radio .grunion-options,
.grunion-field-edit.grunion-field-select .grunion-options {
- display: block;
+ display: block;
}
.screen-reader-text {
- position: absolute;
- margin: -1px;
- padding: 0;
- height: 1px;
- width: 1px;
- overflow: hidden;
- clip: rect(0 0 0 0);
- border: 0;
- word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
+ position: absolute;
+ margin: -1px;
+ padding: 0;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(0 0 0 0);
+ border: 0;
+ word-wrap: normal !important;
+ /* many screen reader and browser combinations announce broken words as they would appear visually */
}
diff --git a/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.min.css b/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.min.css
index 5b888096..78da53a0 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.min.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.min.css
@@ -1 +1 @@
-html{direction:rtl}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.4em;margin:0}a,a:visited{color:#0087be;text-decoration:none}a:active,a:focus,a:hover{color:$link-highlight}.card,body{display:block;position:relative;margin:0 auto 10px auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}body{margin:0;background:#f6f7f7}.card:after{content:".";display:block;height:0;clear:both;visibility:hidden}.card:focus,.card:hover{box-shadow:0 0 0 1px #999,0 1px 2px #e9eff3}.card .delete-field{display:block;float:left}@media (min-width:481px){.card{margin-bottom:16px;padding:24px}body{padding:24px}}.card.is-compact{margin-bottom:1px}@media (min-width:481px){.card.is-compact{margin-bottom:1px;padding:16px 24px}}.card>div{margin-top:24px}.card>div:first-child{margin-top:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:5px;margin-top:8px}label:first-of-type{margin-top:4px}input[type=email],input[type=tel],input[type=text],input[type=url]{border-radius:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}input[type=email]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=url]::placeholder{color:#87a6bc}input[type=email]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=url]:hover{border-color:#a8bece}input[type=email]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}input[type=email]:focus::-ms-clear,input[type=tel]:focus::-ms-clear,input[type=text]:focus::-ms-clear,input[type=url]:focus::-ms-clear{display:none}input[type=email]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}input[type=email]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=url]:disabled:hover{cursor:default}input[type=email]:disabled::placeholder,input[type=tel]:disabled::placeholder,input[type=text]:disabled::placeholder,input[type=url]:disabled::placeholder{color:#a8bece}textarea{border-radius:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}textarea::placeholder{color:#87a6bc}textarea:hover{border-color:#a8bece}textarea:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}textarea:focus::-ms-clear{display:none}textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}textarea:disabled:hover{cursor:default}textarea:disabled::placeholder{color:#a8bece}.checkbox,input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.checkbox:checked:before,input[type=checkbox]:checked:before{content:'\f147';font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.checkbox:disabled:checked:before,input[type=checkbox]:disabled:checked:before{color:#a8bece}.checkbox:hover,input[type=checkbox]:hover{border-color:#a8bece}.checkbox:focus,input[type=checkbox]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}.checkbox:disabled,input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.checkbox:disabled:hover,input[type=checkbox]:disabled:hover{cursor:default}.checkbox+span,input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.radio-button,input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;appearance:none;border-radius:50%;line-height:10px}.radio-button:hover,input[type=radio]:hover{border-color:#a8bece}.radio-button:focus,input[type=radio]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}.radio-button:focus::-ms-clear,input[type=radio]:focus::-ms-clear{display:none}.radio-button:checked:before,input[type=radio]:checked:before{float:right;display:inline-block;content:'\2022';margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.radio-button:disabled,input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.radio-button:disabled:hover,input[type=radio]:disabled:hover{cursor:default}.radio-button:disabled::placeholder,input[type=radio]:disabled::placeholder{color:#a8bece}.radio-button:disabled:checked::before,input[type=radio]:disabled:checked:before{background:#e9eff3}.radio-button+span,input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}100%{transform:scale(1)}}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}100%{transform:scale(1)}}select{background:#fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;border-color:#c8d7e1;border-style:solid;border-radius:4px;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:7px 14px 9px 32px;-webkit-appearance:none;appearance:none}select:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==)}select:focus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}select:disabled,select:hover:disabled{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center}select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}label select,label+select{display:block;min-width:200px}label select.is-compact,label+select.is-compact{display:inline-block;min-width:0}select::-ms-expand{display:none}select::-ms-value{background:0 0;color:#2e4453}select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}input[type=submit]{padding:0;font-size:14px;-webkit-appearance:none;appearance:none;vertical-align:baseline;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;appearance:none}input[type=submit]:hover{border-color:#a8bece;color:#2e4453}input[type=submit]:active{border-width:2px 1px 1px}input[type=submit]:visited{color:#2e4453}input[type=submit]:disabled,input[type=submit][disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}input[type=submit]:disabled:active,input[type=submit][disabled]:active{border-width:1px 1px 2px}input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}input[type=submit].hidden{display:none}input[type=submit] .gridicon{position:relative;top:4px;margin-top:-2px;width:18px;height:18px}input[type=submit].button-primary{background:#00aadc;border-color:#008ab3;color:#fff}input[type=submit].button-primary:focus,input[type=submit].button-primary:hover{border-color:#005082;color:#fff}input[type=submit].button-primary:disabled,input[type=submit].button-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}input[type=submit].button-primary{color:#fff}.ui-sortable-handle{cursor:move}.grunion-section-header{font-size:21px;margin-top:32px;font-weight:600}.grunion-form-settings:hover{box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.grunion-section-header:first-child{margin-top:0}.grunion-type-options{display:flex;flex-wrap:wrap}.grunion-type{flex-grow:0;flex-shrink:0}.grunion-type select{-webkit-appearance:none;width:100%}.grunion-required{padding:27px 16px 0 0;flex-grow:0;flex-shrink:0}.grunion-options{padding-top:16px}.grunion-options ol{list-style:none;padding:0;margin:8px 0 0}.grunion-options li{display:flex;margin-bottom:16px}.grunion-field-edit .grunion-options{display:none}.delete-field,.delete-option{color:#0087be;text-decoration:none;width:40px;line-height:40px;font-size:21px;text-align:center;font-weight:600}.delete-field{position:absolute;top:0;left:0}.grunion-controls{display:flex;flex-wrap:wrap}.grunion-update-controls{text-align:left;flex-grow:1}#add-field{flex-grow:0}.delete-field:before,.delete-option:before{font-family:Dashicons;content:"\f335";display:inline-block;speak:none}.grunion-field-edit.grunion-field-checkbox-multiple .grunion-options,.grunion-field-edit.grunion-field-radio .grunion-options,.grunion-field-edit.grunion-field-select .grunion-options{display:block}.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important} \ No newline at end of file
+@charset "UTF-8";html{direction:rtl}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em}a,a:visited{color:#0087be;text-decoration:none}.card,body{background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3;box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}body{background:#f6f7f7;margin:0}.card:after{clear:both;content:".";display:block;height:0;visibility:hidden}.card:focus,.card:hover{box-shadow:0 0 0 1px #999,0 1px 2px #e9eff3}.card .delete-field{display:block;float:left}@media (min-width:481px){.card{margin-bottom:16px}.card,body{padding:24px}}.card.is-compact{margin-bottom:1px}@media (min-width:481px){.card.is-compact{margin-bottom:1px;padding:16px 24px}}.card>div{margin-top:24px}.card>div:first-child{margin-top:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:5px;margin-top:8px}label:first-of-type{margin-top:4px}input[type=email],input[type=tel],input[type=text],input[type=url]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:0;box-shadow:none;box-sizing:border-box;color:#2e4453;font-size:16px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}input[type=email]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=url]::placeholder{color:#87a6bc}input[type=email]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=url]:hover{border-color:#a8bece}input[type=email]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}input[type=email]:focus::-ms-clear,input[type=tel]:focus::-ms-clear,input[type=text]:focus::-ms-clear,input[type=url]:focus::-ms-clear{display:none}input[type=email]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=url]:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece}input[type=email]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=url]:disabled:hover{cursor:default}input[type=email]:disabled::placeholder,input[type=tel]:disabled::placeholder,input[type=text]:disabled::placeholder,input[type=url]:disabled::placeholder{color:#a8bece}textarea{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:0;box-shadow:none;box-sizing:border-box;color:#2e4453;font-size:16px;height:92px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}textarea::placeholder{color:#87a6bc}textarea:hover{border-color:#a8bece}textarea:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}textarea:focus::-ms-clear{display:none}textarea:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece}textarea:disabled:hover{cursor:default}textarea:disabled::placeholder{color:#a8bece}.checkbox,input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;box-shadow:none;box-sizing:border-box;clear:none;color:#2e4453;cursor:pointer;display:inline-block;float:right;font-size:16px;height:16px;line-height:0;margin:2px 0 0;outline:0;padding:0;text-align:center;transition:all .15s ease-in-out;vertical-align:middle;width:16px}.checkbox:checked:before,input[type=checkbox]:checked:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc;content:"\f147";display:inline-block;float:right;font-family:Dashicons;font-size:20px;line-height:1;margin:-3px -4px 0 0;vertical-align:middle;width:16px}.checkbox:disabled:checked:before,input[type=checkbox]:disabled:checked:before{color:#a8bece}.checkbox:hover,input[type=checkbox]:hover{border-color:#a8bece}.checkbox:focus,input[type=checkbox]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.checkbox:disabled,input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.checkbox:disabled:hover,input[type=checkbox]:disabled:hover{cursor:default}.checkbox+span,input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.radio-button,input[type=radio]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:50%;box-sizing:border-box;clear:none;color:#2e4453;cursor:pointer;display:inline-block;float:right;font-size:16px;height:16px;line-height:0;line-height:10px;margin:2px 0 0 4px;min-width:16px;outline:0;padding:0;text-align:center;transition:all .15s ease-in-out;vertical-align:middle;width:16px}.radio-button:hover,input[type=radio]:hover{border-color:#a8bece}.radio-button:focus,input[type=radio]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.radio-button:focus::-ms-clear,input[type=radio]:focus::-ms-clear{display:none}.radio-button:checked:before,input[type=radio]:checked:before{animation:grow .2s ease-in-out;background:#00aadc;border-radius:50%;content:"•";display:inline-block;float:right;height:8px;margin:3px;text-indent:-9999px;vertical-align:middle;width:8px}.radio-button:disabled,input[type=radio]:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.radio-button:disabled:hover,input[type=radio]:disabled:hover{cursor:default}.radio-button:disabled::placeholder,input[type=radio]:disabled::placeholder{color:#a8bece}.radio-button:disabled:checked:before,input[type=radio]:disabled:checked:before{background:#e9eff3}.radio-button+span,input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}select{-webkit-appearance:none;appearance:none;background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border:solid #c8d7e1;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#2e4453;cursor:pointer;display:inline-block;font-size:14px;font-weight:600;line-height:21px;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px 32px;text-decoration:none;text-overflow:ellipsis;vertical-align:top;white-space:nowrap}select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}select:focus{-moz-user-focus:ignore;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none}select:disabled,select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}select.is-compact{background-position:left 5px center;background-size:12px 12px;margin:0 4px;min-width:0;padding:0 6px 2px 20px}label select,label+select{display:block;min-width:200px}label select.is-compact,label+select.is-compact{display:inline-block;min-width:0}select::-ms-expand{display:none}select::-ms-value{background:none;color:#2e4453}select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}input[type=submit]{-webkit-appearance:none;appearance:none;background:#fff;border:solid #c8d7e1;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#2e4453;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;line-height:21px;margin:24px 0 0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:baseline;vertical-align:top}input[type=submit]:hover{border-color:#a8bece;color:#2e4453}input[type=submit]:active{border-width:2px 1px 1px}input[type=submit]:visited{color:#2e4453}input[type=submit]:disabled,input[type=submit][disabled]{background:#fff;border-color:#e9eff3;color:#e9eff3;cursor:default}input[type=submit]:disabled:active,input[type=submit][disabled]:active{border-width:1px 1px 2px}input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}input[type=submit].hidden{display:none}input[type=submit] .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}input[type=submit].button-primary{background:#00aadc;border-color:#008ab3}input[type=submit].button-primary:focus,input[type=submit].button-primary:hover{border-color:#005082;color:#fff}input[type=submit].button-primary:disabled,input[type=submit].button-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}input[type=submit].button-primary{color:#fff}.ui-sortable-handle{cursor:move}.grunion-section-header{font-size:21px;font-weight:600;margin-top:32px}.grunion-form-settings:hover{box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.grunion-section-header:first-child{margin-top:0}.grunion-type-options{display:flex;flex-wrap:wrap}.grunion-type{flex-grow:0;flex-shrink:0}.grunion-type select{-webkit-appearance:none;width:100%}.grunion-required{flex-grow:0;flex-shrink:0;padding:27px 16px 0 0}.grunion-options{padding-top:16px}.grunion-options ol{list-style:none;margin:8px 0 0;padding:0}.grunion-options li{display:flex;margin-bottom:16px}.grunion-field-edit .grunion-options{display:none}.delete-field,.delete-option{color:#0087be;font-size:21px;font-weight:600;line-height:40px;text-align:center;text-decoration:none;width:40px}.delete-field{left:0;position:absolute;top:0}.grunion-controls{display:flex;flex-wrap:wrap}.grunion-update-controls{flex-grow:1;text-align:left}#add-field{flex-grow:0}.delete-field:before,.delete-option:before{speak:none;content:"\f335";display:inline-block;font-family:Dashicons}.grunion-field-edit.grunion-field-checkbox-multiple .grunion-options,.grunion-field-edit.grunion-field-radio .grunion-options,.grunion-field-edit.grunion-field-select .grunion-options{display:block}.screen-reader-text{clip:rect(0 0 0 0);word-wrap:normal!important;border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.css b/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.css
index 596406ea..ebef84d9 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.css
@@ -23,7 +23,8 @@ a:visited {
a:hover,
a:focus,
a:active {
- color: $link-highlight;
+ /* Not defined here? */
+ /* color: $link-highlight; */
}
/* ==========================================================================
diff --git a/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.min.css b/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.min.css
index eb5a1fa2..426d8045 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.min.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-html{direction:ltr}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.4em;margin:0}a,a:visited{color:#0087be;text-decoration:none}a:active,a:focus,a:hover{color:$link-highlight}.card,body{display:block;position:relative;margin:0 auto 10px auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}body{margin:0;background:#f6f7f7}.card:after{content:".";display:block;height:0;clear:both;visibility:hidden}.card:focus,.card:hover{box-shadow:0 0 0 1px #999,0 1px 2px #e9eff3}.card .delete-field{display:block;float:right}@media (min-width:481px){.card{margin-bottom:16px;padding:24px}body{padding:24px}}.card.is-compact{margin-bottom:1px}@media (min-width:481px){.card.is-compact{margin-bottom:1px;padding:16px 24px}}.card>div{margin-top:24px}.card>div:first-child{margin-top:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:5px;margin-top:8px}label:first-of-type{margin-top:4px}input[type=email],input[type=tel],input[type=text],input[type=url]{border-radius:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}input[type=email]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=url]::placeholder{color:#87a6bc}input[type=email]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=url]:hover{border-color:#a8bece}input[type=email]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}input[type=email]:focus::-ms-clear,input[type=tel]:focus::-ms-clear,input[type=text]:focus::-ms-clear,input[type=url]:focus::-ms-clear{display:none}input[type=email]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}input[type=email]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=url]:disabled:hover{cursor:default}input[type=email]:disabled::placeholder,input[type=tel]:disabled::placeholder,input[type=text]:disabled::placeholder,input[type=url]:disabled::placeholder{color:#a8bece}textarea{border-radius:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}textarea::placeholder{color:#87a6bc}textarea:hover{border-color:#a8bece}textarea:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}textarea:focus::-ms-clear{display:none}textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}textarea:disabled:hover{cursor:default}textarea:disabled::placeholder{color:#a8bece}.checkbox,input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.checkbox:checked:before,input[type=checkbox]:checked:before{content:'\f147';font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.checkbox:disabled:checked:before,input[type=checkbox]:disabled:checked:before{color:#a8bece}.checkbox:hover,input[type=checkbox]:hover{border-color:#a8bece}.checkbox:focus,input[type=checkbox]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}.checkbox:disabled,input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.checkbox:disabled:hover,input[type=checkbox]:disabled:hover{cursor:default}.checkbox+span,input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.radio-button,input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;appearance:none;border-radius:50%;line-height:10px}.radio-button:hover,input[type=radio]:hover{border-color:#a8bece}.radio-button:focus,input[type=radio]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}.radio-button:focus::-ms-clear,input[type=radio]:focus::-ms-clear{display:none}.radio-button:checked:before,input[type=radio]:checked:before{float:left;display:inline-block;content:'\2022';margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.radio-button:disabled,input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.radio-button:disabled:hover,input[type=radio]:disabled:hover{cursor:default}.radio-button:disabled::placeholder,input[type=radio]:disabled::placeholder{color:#a8bece}.radio-button:disabled:checked::before,input[type=radio]:disabled:checked:before{background:#e9eff3}.radio-button+span,input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}100%{transform:scale(1)}}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}100%{transform:scale(1)}}select{background:#fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center;border-color:#c8d7e1;border-style:solid;border-radius:4px;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:7px 32px 9px 14px;-webkit-appearance:none;appearance:none}select:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==)}select:focus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}select:disabled,select:hover:disabled{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center}select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}label select,label+select{display:block;min-width:200px}label select.is-compact,label+select.is-compact{display:inline-block;min-width:0}select::-ms-expand{display:none}select::-ms-value{background:0 0;color:#2e4453}select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}input[type=submit]{padding:0;font-size:14px;-webkit-appearance:none;appearance:none;vertical-align:baseline;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;appearance:none}input[type=submit]:hover{border-color:#a8bece;color:#2e4453}input[type=submit]:active{border-width:2px 1px 1px}input[type=submit]:visited{color:#2e4453}input[type=submit]:disabled,input[type=submit][disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}input[type=submit]:disabled:active,input[type=submit][disabled]:active{border-width:1px 1px 2px}input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}input[type=submit].hidden{display:none}input[type=submit] .gridicon{position:relative;top:4px;margin-top:-2px;width:18px;height:18px}input[type=submit].button-primary{background:#00aadc;border-color:#008ab3;color:#fff}input[type=submit].button-primary:focus,input[type=submit].button-primary:hover{border-color:#005082;color:#fff}input[type=submit].button-primary:disabled,input[type=submit].button-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}input[type=submit].button-primary{color:#fff}.ui-sortable-handle{cursor:move}.grunion-section-header{font-size:21px;margin-top:32px;font-weight:600}.grunion-form-settings:hover{box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.grunion-section-header:first-child{margin-top:0}.grunion-type-options{display:flex;flex-wrap:wrap}.grunion-type{flex-grow:0;flex-shrink:0}.grunion-type select{-webkit-appearance:none;width:100%}.grunion-required{padding:27px 0 0 16px;flex-grow:0;flex-shrink:0}.grunion-options{padding-top:16px}.grunion-options ol{list-style:none;padding:0;margin:8px 0 0}.grunion-options li{display:flex;margin-bottom:16px}.grunion-field-edit .grunion-options{display:none}.delete-field,.delete-option{color:#0087be;text-decoration:none;width:40px;line-height:40px;font-size:21px;text-align:center;font-weight:600}.delete-field{position:absolute;top:0;right:0}.grunion-controls{display:flex;flex-wrap:wrap}.grunion-update-controls{text-align:right;flex-grow:1}#add-field{flex-grow:0}.delete-field:before,.delete-option:before{font-family:Dashicons;content:"\f335";display:inline-block;speak:none}.grunion-field-edit.grunion-field-checkbox-multiple .grunion-options,.grunion-field-edit.grunion-field-radio .grunion-options,.grunion-field-edit.grunion-field-select .grunion-options{display:block}.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important} \ No newline at end of file
+@charset "UTF-8";html{direction:ltr}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em}a,a:visited{color:#0087be;text-decoration:none}.card,body{background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3;box-sizing:border-box;display:block;margin:0 auto 10px;padding:16px;position:relative}body{background:#f6f7f7;margin:0}.card:after{clear:both;content:".";display:block;height:0;visibility:hidden}.card:focus,.card:hover{box-shadow:0 0 0 1px #999,0 1px 2px #e9eff3}.card .delete-field{display:block;float:right}@media (min-width:481px){.card{margin-bottom:16px}.card,body{padding:24px}}.card.is-compact{margin-bottom:1px}@media (min-width:481px){.card.is-compact{margin-bottom:1px;padding:16px 24px}}.card>div{margin-top:24px}.card>div:first-child{margin-top:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:5px;margin-top:8px}label:first-of-type{margin-top:4px}input[type=email],input[type=tel],input[type=text],input[type=url]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:0;box-shadow:none;box-sizing:border-box;color:#2e4453;font-size:16px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}input[type=email]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=url]::placeholder{color:#87a6bc}input[type=email]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=url]:hover{border-color:#a8bece}input[type=email]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}input[type=email]:focus::-ms-clear,input[type=tel]:focus::-ms-clear,input[type=text]:focus::-ms-clear,input[type=url]:focus::-ms-clear{display:none}input[type=email]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=url]:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece}input[type=email]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=url]:disabled:hover{cursor:default}input[type=email]:disabled::placeholder,input[type=tel]:disabled::placeholder,input[type=text]:disabled::placeholder,input[type=url]:disabled::placeholder{color:#a8bece}textarea{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:0;box-shadow:none;box-sizing:border-box;color:#2e4453;font-size:16px;height:92px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}textarea::placeholder{color:#87a6bc}textarea:hover{border-color:#a8bece}textarea:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}textarea:focus::-ms-clear{display:none}textarea:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece}textarea:disabled:hover{cursor:default}textarea:disabled::placeholder{color:#a8bece}.checkbox,input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;box-shadow:none;box-sizing:border-box;clear:none;color:#2e4453;cursor:pointer;display:inline-block;float:left;font-size:16px;height:16px;line-height:0;margin:2px 0 0;outline:0;padding:0;text-align:center;transition:all .15s ease-in-out;vertical-align:middle;width:16px}.checkbox:checked:before,input[type=checkbox]:checked:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc;content:"\f147";display:inline-block;float:left;font-family:Dashicons;font-size:20px;line-height:1;margin:-3px 0 0 -4px;vertical-align:middle;width:16px}.checkbox:disabled:checked:before,input[type=checkbox]:disabled:checked:before{color:#a8bece}.checkbox:hover,input[type=checkbox]:hover{border-color:#a8bece}.checkbox:focus,input[type=checkbox]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.checkbox:disabled,input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.checkbox:disabled:hover,input[type=checkbox]:disabled:hover{cursor:default}.checkbox+span,input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.radio-button,input[type=radio]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:50%;box-sizing:border-box;clear:none;color:#2e4453;cursor:pointer;display:inline-block;float:left;font-size:16px;height:16px;line-height:0;line-height:10px;margin:2px 4px 0 0;min-width:16px;outline:0;padding:0;text-align:center;transition:all .15s ease-in-out;vertical-align:middle;width:16px}.radio-button:hover,input[type=radio]:hover{border-color:#a8bece}.radio-button:focus,input[type=radio]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}.radio-button:focus::-ms-clear,input[type=radio]:focus::-ms-clear{display:none}.radio-button:checked:before,input[type=radio]:checked:before{animation:grow .2s ease-in-out;background:#00aadc;border-radius:50%;content:"•";display:inline-block;float:left;height:8px;margin:3px;text-indent:-9999px;vertical-align:middle;width:8px}.radio-button:disabled,input[type=radio]:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.radio-button:disabled:hover,input[type=radio]:disabled:hover{cursor:default}.radio-button:disabled::placeholder,input[type=radio]:disabled::placeholder{color:#a8bece}.radio-button:disabled:checked:before,input[type=radio]:disabled:checked:before{background:#e9eff3}.radio-button+span,input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}select{-webkit-appearance:none;appearance:none;background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border:solid #c8d7e1;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#2e4453;cursor:pointer;display:inline-block;font-size:14px;font-weight:600;line-height:21px;margin:0;outline:0;overflow:hidden;padding:7px 32px 9px 14px;text-decoration:none;text-overflow:ellipsis;vertical-align:top;white-space:nowrap}select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}select:focus{-moz-user-focus:ignore;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none}select:disabled,select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}select.is-compact{background-position:right 5px center;background-size:12px 12px;margin:0 4px;min-width:0;padding:0 20px 2px 6px}label select,label+select{display:block;min-width:200px}label select.is-compact,label+select.is-compact{display:inline-block;min-width:0}select::-ms-expand{display:none}select::-ms-value{background:none;color:#2e4453}select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}input[type=submit]{-webkit-appearance:none;appearance:none;background:#fff;border:solid #c8d7e1;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#2e4453;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;line-height:21px;margin:24px 0 0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:baseline;vertical-align:top}input[type=submit]:hover{border-color:#a8bece;color:#2e4453}input[type=submit]:active{border-width:2px 1px 1px}input[type=submit]:visited{color:#2e4453}input[type=submit]:disabled,input[type=submit][disabled]{background:#fff;border-color:#e9eff3;color:#e9eff3;cursor:default}input[type=submit]:disabled:active,input[type=submit][disabled]:active{border-width:1px 1px 2px}input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}input[type=submit].hidden{display:none}input[type=submit] .gridicon{height:18px;margin-top:-2px;position:relative;top:4px;width:18px}input[type=submit].button-primary{background:#00aadc;border-color:#008ab3}input[type=submit].button-primary:focus,input[type=submit].button-primary:hover{border-color:#005082;color:#fff}input[type=submit].button-primary:disabled,input[type=submit].button-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}input[type=submit].button-primary{color:#fff}.ui-sortable-handle{cursor:move}.grunion-section-header{font-size:21px;font-weight:600;margin-top:32px}.grunion-form-settings:hover{box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.grunion-section-header:first-child{margin-top:0}.grunion-type-options{display:flex;flex-wrap:wrap}.grunion-type{flex-grow:0;flex-shrink:0}.grunion-type select{-webkit-appearance:none;width:100%}.grunion-required{flex-grow:0;flex-shrink:0;padding:27px 0 0 16px}.grunion-options{padding-top:16px}.grunion-options ol{list-style:none;margin:8px 0 0;padding:0}.grunion-options li{display:flex;margin-bottom:16px}.grunion-field-edit .grunion-options{display:none}.delete-field,.delete-option{color:#0087be;font-size:21px;font-weight:600;line-height:40px;text-align:center;text-decoration:none;width:40px}.delete-field{position:absolute;right:0;top:0}.grunion-controls{display:flex;flex-wrap:wrap}.grunion-update-controls{flex-grow:1;text-align:right}#add-field{flex-grow:0}.delete-field:before,.delete-option:before{speak:none;content:"\f335";display:inline-block;font-family:Dashicons}.grunion-field-edit.grunion-field-checkbox-multiple .grunion-options,.grunion-field-edit.grunion-field-radio .grunion-options,.grunion-field-edit.grunion-field-select .grunion-options{display:block}.screen-reader-text{clip:rect(0 0 0 0);word-wrap:normal!important;border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/contact-form/css/editor-style-rtl.css b/plugins/jetpack/modules/contact-form/css/editor-style-rtl.css
index 57bf5234..a7e87f93 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-style-rtl.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-style-rtl.css
@@ -1,554 +1,530 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
+@charset "UTF-8";
/* ==========================================================================
** Normalize
** ======================================================================== */
-
body,
label {
- font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
- font-size: 16px;
- line-height: 1.4em;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+ font-size: 16px;
+ line-height: 1.4em;
}
/* ==========================================================================
** Card
** ======================================================================= */
-
.card {
- display: block;
- position: relative;
- margin: 0 auto;
- padding: 16px;
- box-sizing: border-box;
- background: white;
- box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
+ display: block;
+ position: relative;
+ margin: 0 auto;
+ padding: 16px;
+ box-sizing: border-box;
+ background: white;
+ box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
}
.card:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
}
-@media ( min-width: 481px ) {
- .card {
- padding: 24px;
- }
+@media (min-width: 481px) {
+ .card {
+ padding: 24px;
+ }
}
-
.card > div {
- margin-top: 24px;
+ margin-top: 24px;
}
.card > div:first-child {
- margin-top: 0;
+ margin-top: 0;
}
-
/* ==========================================================================
** Labels
** ======================================================================= */
-
label {
- display: block;
- font-size: 14px;
- font-weight: 600;
- margin-bottom: 5px;
+ display: block;
+ font-size: 14px;
+ font-weight: 600;
+ margin-bottom: 5px;
}
-
/* ==========================================================================
** Text Inputs
** ======================================================================= */
-
-input[type="text"],
-input[type="tel"],
-input[type="email"],
-input[type="url"] {
- border-radius: 0;
- -webkit-appearance: none;
- appearance: none;
- box-sizing: border-box;
- margin: 0;
- padding: 7px 14px;
- width: 100%;
- color: #2e4453;
- font-size: 16px;
- line-height: 1.5;
- border: 1px solid #c8d7e1;
- background-color: #fff;
- transition: all .15s ease-in-out;
- box-shadow: none;
-}
-
-input[type="text"]::placeholder,
-input[type="tel"]::placeholder,
-input[type="email"]::placeholder,
-input[type="url"]::placeholder {
- color: #87a6bc;
-}
-
-input[type="text"]:hover,
-input[type="tel"]:hover,
-input[type="email"]:hover,
-input[type="url"]:hover {
- border-color: #a8bece;
-}
-
-input[type="text"]:focus,
-input[type="tel"]:focus,
-input[type="email"]:focus,
-input[type="url"]:focus {
- border-color: #0087be;
- outline: none;
- box-shadow: 0 0 0 2px #78dcfa;
-}
-
-input[type="text"]:focus::-ms-clear,
-input[type="tel"]:focus::-ms-clear,
-input[type="email"]:focus::-ms-clear,
-input[type="url"]:focus::-ms-clear {
- display: none;
-}
-
-input[type="text"]:disabled,
-input[type="tel"]:disabled,
-input[type="email"]:disabled,
-input[type="url"]:disabled {
- background: #f3f6f8;
- border-color: #e9eff3;
- color: #a8bece;
- -webkit-text-fill-color: #a8bece;
-}
-
-input[type="text"]:disabled:hover,
-input[type="tel"]:disabled:hover,
-input[type="email"]:disabled:hover,
-input[type="url"]:disabled:hover {
- cursor: default;
-}
-
-input[type="text"]:disabled::placeholder,
-input[type="tel"]:disabled::placeholder,
-input[type="email"]:disabled::placeholder,
-input[type="url"]:disabled::placeholder {
- color: #a8bece;
+input[type=text],
+input[type=tel],
+input[type=email],
+input[type=url] {
+ border-radius: 0;
+ -webkit-appearance: none;
+ appearance: none;
+ box-sizing: border-box;
+ margin: 0;
+ padding: 7px 14px;
+ width: 100%;
+ color: #2e4453;
+ font-size: 16px;
+ line-height: 1.5;
+ border: 1px solid #c8d7e1;
+ background-color: #fff;
+ transition: all 0.15s ease-in-out;
+ box-shadow: none;
+}
+
+input[type=text]::placeholder,
+input[type=tel]::placeholder,
+input[type=email]::placeholder,
+input[type=url]::placeholder {
+ color: #87a6bc;
+}
+
+input[type=text]:hover,
+input[type=tel]:hover,
+input[type=email]:hover,
+input[type=url]:hover {
+ border-color: #a8bece;
+}
+
+input[type=text]:focus,
+input[type=tel]:focus,
+input[type=email]:focus,
+input[type=url]:focus {
+ border-color: #0087be;
+ outline: none;
+ box-shadow: 0 0 0 2px #78dcfa;
+}
+
+input[type=text]:focus::-ms-clear,
+input[type=tel]:focus::-ms-clear,
+input[type=email]:focus::-ms-clear,
+input[type=url]:focus::-ms-clear {
+ display: none;
+}
+
+input[type=text]:disabled,
+input[type=tel]:disabled,
+input[type=email]:disabled,
+input[type=url]:disabled {
+ background: #f3f6f8;
+ border-color: #e9eff3;
+ color: #a8bece;
+ -webkit-text-fill-color: #a8bece;
+}
+
+input[type=text]:disabled:hover,
+input[type=tel]:disabled:hover,
+input[type=email]:disabled:hover,
+input[type=url]:disabled:hover {
+ cursor: default;
+}
+
+input[type=text]:disabled::placeholder,
+input[type=tel]:disabled::placeholder,
+input[type=email]:disabled::placeholder,
+input[type=url]:disabled::placeholder {
+ color: #a8bece;
}
-
/* ==========================================================================
** Textareas
** ======================================================================= */
-
textarea {
- border-radius: 0;
- -webkit-appearance: none;
- appearance: none;
- box-sizing: border-box;
- margin: 0;
- padding: 7px 14px;
- height: 92px;
- width: 100%;
- color: #2e4453;
- font-size: 16px;
- line-height: 1.5;
- border: 1px solid #c8d7e1;
- background-color: #fff;
- transition: all .15s ease-in-out;
- box-shadow: none;
+ border-radius: 0;
+ -webkit-appearance: none;
+ appearance: none;
+ box-sizing: border-box;
+ margin: 0;
+ padding: 7px 14px;
+ height: 92px;
+ width: 100%;
+ color: #2e4453;
+ font-size: 16px;
+ line-height: 1.5;
+ border: 1px solid #c8d7e1;
+ background-color: #fff;
+ transition: all 0.15s ease-in-out;
+ box-shadow: none;
}
textarea::placeholder {
- color: #87a6bc;
+ color: #87a6bc;
}
textarea:hover {
- border-color: #a8bece;
+ border-color: #a8bece;
}
textarea:focus {
- border-color: #0087be;
- outline: none;
- box-shadow: 0 0 0 2px #78dcfa;
+ border-color: #0087be;
+ outline: none;
+ box-shadow: 0 0 0 2px #78dcfa;
}
textarea:focus::-ms-clear {
- display: none;
+ display: none;
}
textarea:disabled {
- background: #f3f6f8;
- border-color: #e9eff3;
- color: #a8bece;
- -webkit-text-fill-color: #a8bece;
+ background: #f3f6f8;
+ border-color: #e9eff3;
+ color: #a8bece;
+ -webkit-text-fill-color: #a8bece;
}
textarea:disabled:hover {
- cursor: default;
+ cursor: default;
}
textarea:disabled::placeholder {
- color: #a8bece;
+ color: #a8bece;
}
-
/* ==========================================================================
** Checkboxes
** ======================================================================= */
-
-input[type="checkbox"] {
- -webkit-appearance: none;
- display: inline-block;
- box-sizing: border-box;
- margin: 2px 0 0;
- padding: 7px 14px;
- width: 16px;
- height: 16px;
- float: right;
- outline: 0;
- padding: 0;
- box-shadow: none;
- background-color: #fff;
- border: 1px solid #c8d7e1;
- color: #2e4453;
- font-size: 16px;
- line-height: 0;
- text-align: center;
- vertical-align: middle;
- appearance: none;
- transition: all .15s ease-in-out;
- clear: none;
- cursor: pointer;
-}
-
-input[type="checkbox"]:checked:before {
- content: '\f147';
- font-family: Dashicons;
- margin: -3px -4px 0 0;
- float: right;
- display: inline-block;
- vertical-align: middle;
- width: 16px;
- font-size: 20px;
- line-height: 1;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- speak: none;
- color: #00aadc;
-}
-
-input[type="checkbox"]:disabled:checked:before {
- color: #a8bece;
-}
-
-input[type="checkbox"]:hover {
- border-color: #a8bece;
-}
-
-input[type="checkbox"]:focus {
- border-color: #0087be;
- outline: none;
- box-shadow: 0 0 0 2px #78dcfa;
-}
-
-input[type="checkbox"]:disabled {
- background: #f3f6f8;
- border-color: #e9eff3;
- color: #a8bece;
- opacity: 1;
-}
-
-input[type="checkbox"]:disabled:hover {
- cursor: default;
-}
-
-input[type="checkbox"] + span {
- display: block;
- font-weight: normal;
- margin-right: 24px;
+input[type=checkbox] {
+ -webkit-appearance: none;
+ display: inline-block;
+ box-sizing: border-box;
+ margin: 2px 0 0;
+ padding: 7px 14px;
+ width: 16px;
+ height: 16px;
+ float: right;
+ outline: 0;
+ padding: 0;
+ box-shadow: none;
+ background-color: #fff;
+ border: 1px solid #c8d7e1;
+ color: #2e4453;
+ font-size: 16px;
+ line-height: 0;
+ text-align: center;
+ vertical-align: middle;
+ appearance: none;
+ transition: all 0.15s ease-in-out;
+ clear: none;
+ cursor: pointer;
+}
+
+input[type=checkbox]:checked:before {
+ content: "\f147";
+ font-family: Dashicons;
+ margin: -3px -4px 0 0;
+ float: right;
+ display: inline-block;
+ vertical-align: middle;
+ width: 16px;
+ font-size: 20px;
+ line-height: 1;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ speak: none;
+ color: #00aadc;
+}
+
+input[type=checkbox]:disabled:checked:before {
+ color: #a8bece;
+}
+
+input[type=checkbox]:hover {
+ border-color: #a8bece;
+}
+
+input[type=checkbox]:focus {
+ border-color: #0087be;
+ outline: none;
+ box-shadow: 0 0 0 2px #78dcfa;
+}
+
+input[type=checkbox]:disabled {
+ background: #f3f6f8;
+ border-color: #e9eff3;
+ color: #a8bece;
+ opacity: 1;
+}
+
+input[type=checkbox]:disabled:hover {
+ cursor: default;
+}
+
+input[type=checkbox] + span {
+ display: block;
+ font-weight: normal;
+ margin-right: 24px;
}
-
/* ==========================================================================
** Radio buttons
** ======================================================================== */
-
input[type=radio] {
- color: #2e4453;
- font-size: 16px;
- border: 1px solid #c8d7e1;
- background-color: #fff;
- transition: all .15s ease-in-out;
- box-sizing: border-box;
- -webkit-appearance: none;
- clear: none;
- cursor: pointer;
- display: inline-block;
- line-height: 0;
- height: 16px;
- margin: 2px 0 0 4px;
- float: right;
- outline: 0;
- padding: 0;
- text-align: center;
- vertical-align: middle;
- width: 16px;
- min-width: 16px;
- appearance: none;
- border-radius: 50%;
- line-height: 10px;
+ color: #2e4453;
+ font-size: 16px;
+ border: 1px solid #c8d7e1;
+ background-color: #fff;
+ transition: all 0.15s ease-in-out;
+ box-sizing: border-box;
+ -webkit-appearance: none;
+ clear: none;
+ cursor: pointer;
+ display: inline-block;
+ line-height: 0;
+ height: 16px;
+ margin: 2px 0 0 4px;
+ float: right;
+ outline: 0;
+ padding: 0;
+ text-align: center;
+ vertical-align: middle;
+ width: 16px;
+ min-width: 16px;
+ appearance: none;
+ border-radius: 50%;
+ line-height: 10px;
}
-input[type="radio"]:hover {
- border-color: #a8bece;
+input[type=radio]:hover {
+ border-color: #a8bece;
}
-input[type="radio"]:focus {
- border-color: #0087be;
- outline: none;
- box-shadow: 0 0 0 2px #78dcfa;
+input[type=radio]:focus {
+ border-color: #0087be;
+ outline: none;
+ box-shadow: 0 0 0 2px #78dcfa;
}
-input[type="radio"]:focus::-ms-clear {
- display: none;
+input[type=radio]:focus::-ms-clear {
+ display: none;
}
-input[type="radio"]:checked:before {
- float: right;
- display: inline-block;
- content: '\2022';
- margin: 3px;
- width: 8px;
- height: 8px;
- text-indent: -9999px;
- background: #00aadc;
- vertical-align: middle;
- border-radius: 50%;
- animation: grow .2s ease-in-out;
+input[type=radio]:checked:before {
+ float: right;
+ display: inline-block;
+ content: "•";
+ margin: 3px;
+ width: 8px;
+ height: 8px;
+ text-indent: -9999px;
+ background: #00aadc;
+ vertical-align: middle;
+ border-radius: 50%;
+ animation: grow 0.2s ease-in-out;
}
-input[type="radio"]:disabled {
- background: #f3f6f8;
- border-color: #e9eff3;
- color: #a8bece;
- opacity: 1;
- -webkit-text-fill-color: #a8bece;
+input[type=radio]:disabled {
+ background: #f3f6f8;
+ border-color: #e9eff3;
+ color: #a8bece;
+ opacity: 1;
+ -webkit-text-fill-color: #a8bece;
}
-input[type="radio"]:disabled:hover {
- cursor: default;
+input[type=radio]:disabled:hover {
+ cursor: default;
}
-input[type="radio"]:disabled::placeholder {
- color: #a8bece;
+input[type=radio]:disabled::placeholder {
+ color: #a8bece;
}
-input[type="radio"]:disabled:checked:before {
- background: #e9eff3;
+input[type=radio]:disabled:checked:before {
+ background: #e9eff3;
}
-input[type="radio"] + span {
- display: block;
- font-weight: normal;
- margin-right: 24px;
+input[type=radio] + span {
+ display: block;
+ font-weight: normal;
+ margin-right: 24px;
}
@keyframes grow {
- 0% {
- transform: scale(0.3);
- }
-
- 60% {
- transform: scale(1.15);
- }
-
- 100% {
- transform: scale(1);
- }
+ 0% {
+ transform: scale(0.3);
+ }
+ 60% {
+ transform: scale(1.15);
+ }
+ 100% {
+ transform: scale(1);
+ }
}
-
@keyframes grow {
- 0% {
- transform: scale(0.3);
- }
-
- 60% {
- transform: scale(1.15);
- }
-
- 100% {
- transform: scale(1);
- }
+ 0% {
+ transform: scale(0.3);
+ }
+ 60% {
+ transform: scale(1.15);
+ }
+ 100% {
+ transform: scale(1);
+ }
}
-
-
/* ==========================================================================
** Selects
** ======================================================================== */
-
select {
- background: #fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;
- border-color: #c8d7e1;
- border-style: solid;
- border-radius: 4px;
- border-width: 1px 1px 2px;
- color: #2e4453;
- cursor: pointer;
- display: inline-block;
- margin: 0;
- outline: 0;
- overflow: hidden;
- font-size: 14px;
- line-height: 21px;
- font-weight: 600;
- text-overflow: ellipsis;
- text-decoration: none;
- vertical-align: top;
- white-space: nowrap;
- box-sizing: border-box;
- /* Aligns the text to the 8px baseline grid and adds padding on right to allow for the arrow. */
- padding: 7px 14px 9px 32px;
- -webkit-appearance: none;
- appearance: none;
+ background: #fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;
+ border-color: #c8d7e1;
+ border-style: solid;
+ border-radius: 4px;
+ border-width: 1px 1px 2px;
+ color: #2e4453;
+ cursor: pointer;
+ display: inline-block;
+ margin: 0;
+ outline: 0;
+ overflow: hidden;
+ font-size: 14px;
+ line-height: 21px;
+ font-weight: 600;
+ text-overflow: ellipsis;
+ text-decoration: none;
+ vertical-align: top;
+ white-space: nowrap;
+ box-sizing: border-box;
+ /* Aligns the text to the 8px baseline grid and adds padding on right to allow for the arrow. */
+ padding: 7px 14px 9px 32px;
+ -webkit-appearance: none;
+ appearance: none;
}
select:hover {
- background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
}
select:focus {
- background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);
- border-color: #00aadc;
- box-shadow: 0 0 0 2px #78dcfa;
- outline: 0;
- -moz-outline:none;
- -moz-user-focus:ignore;
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);
+ border-color: #00aadc;
+ box-shadow: 0 0 0 2px #78dcfa;
+ outline: 0;
+ -moz-outline: none;
+ -moz-user-focus: ignore;
}
select:disabled,
select:hover:disabled {
- background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;;
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;
}
select.is-compact {
- min-width: 0;
- padding: 0 6px 2px 20px;
- margin: 0 4px;
- background-position: left 5px center;
- background-size: 12px 12px;
+ min-width: 0;
+ padding: 0 6px 2px 20px;
+ margin: 0 4px;
+ background-position: left 5px center;
+ background-size: 12px 12px;
}
/* Make it display:block when it follows a label */
label select,
label + select {
- display: block;
- min-width: 200px;
+ display: block;
+ min-width: 200px;
}
label select.is-compact,
label + select.is-compact {
- display: inline-block;
- min-width: 0;
+ display: inline-block;
+ min-width: 0;
}
/* IE: Remove the default arrow */
select::-ms-expand {
- display: none;
+ display: none;
}
/* IE: Remove default background and color styles on focus */
select::-ms-value {
- background: none;
- color: #2e4453;
+ background: none;
+ color: #2e4453;
}
/* Firefox: Remove the focus outline, see http://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002 */
select:-moz-focusring {
- color: transparent;
- text-shadow: 0 0 0 #2e4453;
+ color: transparent;
+ text-shadow: 0 0 0 #2e4453;
}
-
/* ==========================================================================
** Buttons
** ======================================================================== */
-
-input[type="submit"] {
- padding: 0;
- font-size: 14px;
- -webkit-appearance: none;
- appearance: none;
- vertical-align: baseline;
- background: white;
- border-color: #c8d7e1;
- border-style: solid;
- border-width: 1px 1px 2px;
- color: #2e4453;
- cursor: pointer;
- display: inline-block;
- margin: 24px 0 0;
- outline: 0;
- overflow: hidden;
- font-weight: 500;
- text-overflow: ellipsis;
- text-decoration: none;
- vertical-align: top;
- box-sizing: border-box;
- font-size: 14px;
- line-height: 21px;
- border-radius: 4px;
- padding: 7px 14px 9px;
- -webkit-appearance: none;
- appearance: none;
-}
-
-input[type="submit"]:hover {
- border-color: #a8bece;
- color: #2e4453;
-}
-
-input[type="submit"]:active {
- border-width: 2px 1px 1px;
-}
-
-input[type="submit"]:visited {
- color: #2e4453;
-}
-
-input[type="submit"][disabled],
-input[type="submit"]:disabled {
- color: #e9eff3;
- background: white;
- border-color: #e9eff3;
- cursor: default;
-}
-
-input[type="submit"][disabled]:active,
-input[type="submit"]:disabled:active {
- border-width: 1px 1px 2px;
-}
-
-input[type="submit"]:focus {
- border-color: #00aadc;
- box-shadow: 0 0 0 2px #78dcfa;
+input[type=submit] {
+ padding: 0;
+ font-size: 14px;
+ -webkit-appearance: none;
+ appearance: none;
+ vertical-align: baseline;
+ background: white;
+ border-color: #c8d7e1;
+ border-style: solid;
+ border-width: 1px 1px 2px;
+ color: #2e4453;
+ cursor: pointer;
+ display: inline-block;
+ margin: 24px 0 0;
+ outline: 0;
+ overflow: hidden;
+ font-weight: 500;
+ text-overflow: ellipsis;
+ text-decoration: none;
+ vertical-align: top;
+ box-sizing: border-box;
+ font-size: 14px;
+ line-height: 21px;
+ border-radius: 4px;
+ padding: 7px 14px 9px;
+ -webkit-appearance: none;
+ appearance: none;
+}
+
+input[type=submit]:hover {
+ border-color: #a8bece;
+ color: #2e4453;
+}
+
+input[type=submit]:active {
+ border-width: 2px 1px 1px;
+}
+
+input[type=submit]:visited {
+ color: #2e4453;
+}
+
+input[type=submit][disabled],
+input[type=submit]:disabled {
+ color: #e9eff3;
+ background: white;
+ border-color: #e9eff3;
+ cursor: default;
+}
+
+input[type=submit][disabled]:active,
+input[type=submit]:disabled:active {
+ border-width: 1px 1px 2px;
+}
+
+input[type=submit]:focus {
+ border-color: #00aadc;
+ box-shadow: 0 0 0 2px #78dcfa;
}
/* ==========================================================================
** Preview styles
** ======================================================================== */
-
.wpview.wpview-wrap[data-wpview-type=contact-form] iframe.inline-edit-contact-form {
- width: 100%;
- min-height: 500px;
- border: 0;
- overflow: hidden;
- margin-bottom: 0;
- display: block;
+ width: 100%;
+ min-height: 500px;
+ border: 0;
+ overflow: hidden;
+ margin-bottom: 0;
+ display: block;
}
.contact-submit.contact-submit {
- margin-top: 0;
- margin-bottom: 0;
+ margin-top: 0;
+ margin-bottom: 0;
}
diff --git a/plugins/jetpack/modules/contact-form/css/editor-style-rtl.min.css b/plugins/jetpack/modules/contact-form/css/editor-style-rtl.min.css
index 62703fbb..1ca0e5b1 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-style-rtl.min.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-style-rtl.min.css
@@ -1 +1 @@
-body,label{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.4em}.card{display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.card{padding:24px}}.card>div{margin-top:24px}.card>div:first-child{margin-top:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}input[type=email],input[type=tel],input[type=text],input[type=url]{border-radius:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}input[type=email]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=url]::placeholder{color:#87a6bc}input[type=email]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=url]:hover{border-color:#a8bece}input[type=email]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}input[type=email]:focus::-ms-clear,input[type=tel]:focus::-ms-clear,input[type=text]:focus::-ms-clear,input[type=url]:focus::-ms-clear{display:none}input[type=email]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}input[type=email]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=url]:disabled:hover{cursor:default}input[type=email]:disabled::placeholder,input[type=tel]:disabled::placeholder,input[type=text]:disabled::placeholder,input[type=url]:disabled::placeholder{color:#a8bece}textarea{border-radius:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}textarea::placeholder{color:#87a6bc}textarea:hover{border-color:#a8bece}textarea:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}textarea:focus::-ms-clear{display:none}textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}textarea:disabled:hover{cursor:default}textarea:disabled::placeholder{color:#a8bece}input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}input[type=checkbox]:checked:before{content:'\f147';font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}input[type=checkbox]:disabled:checked:before{color:#a8bece}input[type=checkbox]:hover{border-color:#a8bece}input[type=checkbox]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}input[type=checkbox]:disabled:hover{cursor:default}input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;appearance:none;border-radius:50%;line-height:10px}input[type=radio]:hover{border-color:#a8bece}input[type=radio]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}input[type=radio]:focus::-ms-clear{display:none}input[type=radio]:checked:before{float:right;display:inline-block;content:'\2022';margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}input[type=radio]:disabled:hover{cursor:default}input[type=radio]:disabled::placeholder{color:#a8bece}input[type=radio]:disabled:checked:before{background:#e9eff3}input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}100%{transform:scale(1)}}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}100%{transform:scale(1)}}select{background:#fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;border-color:#c8d7e1;border-style:solid;border-radius:4px;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:7px 14px 9px 32px;-webkit-appearance:none;appearance:none}select:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==)}select:focus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}select:disabled,select:hover:disabled{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center}select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}label select,label+select{display:block;min-width:200px}label select.is-compact,label+select.is-compact{display:inline-block;min-width:0}select::-ms-expand{display:none}select::-ms-value{background:0 0;color:#2e4453}select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}input[type=submit]{padding:0;font-size:14px;-webkit-appearance:none;appearance:none;vertical-align:baseline;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;appearance:none}input[type=submit]:hover{border-color:#a8bece;color:#2e4453}input[type=submit]:active{border-width:2px 1px 1px}input[type=submit]:visited{color:#2e4453}input[type=submit]:disabled,input[type=submit][disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}input[type=submit]:disabled:active,input[type=submit][disabled]:active{border-width:1px 1px 2px}input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.wpview.wpview-wrap[data-wpview-type=contact-form] iframe.inline-edit-contact-form{width:100%;min-height:500px;border:0;overflow:hidden;margin-bottom:0;display:block}.contact-submit.contact-submit{margin-top:0;margin-bottom:0} \ No newline at end of file
+@charset "UTF-8";body,label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em}.card{background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3;box-sizing:border-box;display:block;margin:0 auto;padding:16px;position:relative}.card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media (min-width:481px){.card{padding:24px}}.card>div{margin-top:24px}.card>div:first-child{margin-top:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}input[type=email],input[type=tel],input[type=text],input[type=url]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:0;box-shadow:none;box-sizing:border-box;color:#2e4453;font-size:16px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}input[type=email]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=url]::placeholder{color:#87a6bc}input[type=email]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=url]:hover{border-color:#a8bece}input[type=email]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}input[type=email]:focus::-ms-clear,input[type=tel]:focus::-ms-clear,input[type=text]:focus::-ms-clear,input[type=url]:focus::-ms-clear{display:none}input[type=email]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=url]:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece}input[type=email]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=url]:disabled:hover{cursor:default}input[type=email]:disabled::placeholder,input[type=tel]:disabled::placeholder,input[type=text]:disabled::placeholder,input[type=url]:disabled::placeholder{color:#a8bece}textarea{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:0;box-shadow:none;box-sizing:border-box;color:#2e4453;font-size:16px;height:92px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}textarea::placeholder{color:#87a6bc}textarea:hover{border-color:#a8bece}textarea:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}textarea:focus::-ms-clear{display:none}textarea:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece}textarea:disabled:hover{cursor:default}textarea:disabled::placeholder{color:#a8bece}input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;box-shadow:none;box-sizing:border-box;clear:none;color:#2e4453;cursor:pointer;font-size:16px;height:16px;line-height:0;margin:2px 0 0;outline:0;padding:0;text-align:center;transition:all .15s ease-in-out}input[type=checkbox],input[type=checkbox]:checked:before{display:inline-block;float:right;vertical-align:middle;width:16px}input[type=checkbox]:checked:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc;content:"\f147";font-family:Dashicons;font-size:20px;line-height:1;margin:-3px -4px 0 0}input[type=checkbox]:disabled:checked:before{color:#a8bece}input[type=checkbox]:hover{border-color:#a8bece}input[type=checkbox]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}input[type=checkbox]:disabled:hover{cursor:default}input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}input[type=radio]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:50%;box-sizing:border-box;clear:none;color:#2e4453;cursor:pointer;display:inline-block;float:right;font-size:16px;height:16px;line-height:0;line-height:10px;margin:2px 0 0 4px;min-width:16px;outline:0;padding:0;text-align:center;transition:all .15s ease-in-out;vertical-align:middle;width:16px}input[type=radio]:hover{border-color:#a8bece}input[type=radio]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}input[type=radio]:focus::-ms-clear{display:none}input[type=radio]:checked:before{animation:grow .2s ease-in-out;background:#00aadc;border-radius:50%;content:"•";display:inline-block;float:right;height:8px;margin:3px;text-indent:-9999px;vertical-align:middle;width:8px}input[type=radio]:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}input[type=radio]:disabled:hover{cursor:default}input[type=radio]:disabled::placeholder{color:#a8bece}input[type=radio]:disabled:checked:before{background:#e9eff3}input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}select{-webkit-appearance:none;appearance:none;background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border:solid #c8d7e1;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#2e4453;cursor:pointer;display:inline-block;font-size:14px;font-weight:600;line-height:21px;margin:0;outline:0;overflow:hidden;padding:7px 14px 9px 32px;text-decoration:none;text-overflow:ellipsis;vertical-align:top;white-space:nowrap}select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}select:focus{-moz-user-focus:ignore;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none}select:disabled,select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}select.is-compact{background-position:left 5px center;background-size:12px 12px;margin:0 4px;min-width:0;padding:0 6px 2px 20px}label select,label+select{display:block;min-width:200px}label select.is-compact,label+select.is-compact{display:inline-block;min-width:0}select::-ms-expand{display:none}select::-ms-value{background:none;color:#2e4453}select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}input[type=submit]{-webkit-appearance:none;appearance:none;background:#fff;border:solid #c8d7e1;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#2e4453;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;line-height:21px;margin:24px 0 0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:baseline;vertical-align:top}input[type=submit]:hover{border-color:#a8bece;color:#2e4453}input[type=submit]:active{border-width:2px 1px 1px}input[type=submit]:visited{color:#2e4453}input[type=submit]:disabled,input[type=submit][disabled]{background:#fff;border-color:#e9eff3;color:#e9eff3;cursor:default}input[type=submit]:disabled:active,input[type=submit][disabled]:active{border-width:1px 1px 2px}input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.wpview.wpview-wrap[data-wpview-type=contact-form] iframe.inline-edit-contact-form{border:0;display:block;margin-bottom:0;min-height:500px;overflow:hidden;width:100%}.contact-submit.contact-submit{margin-bottom:0;margin-top:0} \ No newline at end of file
diff --git a/plugins/jetpack/modules/contact-form/css/editor-style.min.css b/plugins/jetpack/modules/contact-form/css/editor-style.min.css
index 67a63821..230ee125 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-style.min.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-style.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-body,label{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.4em}.card{display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.card{padding:24px}}.card>div{margin-top:24px}.card>div:first-child{margin-top:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}input[type=email],input[type=tel],input[type=text],input[type=url]{border-radius:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}input[type=email]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=url]::placeholder{color:#87a6bc}input[type=email]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=url]:hover{border-color:#a8bece}input[type=email]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}input[type=email]:focus::-ms-clear,input[type=tel]:focus::-ms-clear,input[type=text]:focus::-ms-clear,input[type=url]:focus::-ms-clear{display:none}input[type=email]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}input[type=email]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=url]:disabled:hover{cursor:default}input[type=email]:disabled::placeholder,input[type=tel]:disabled::placeholder,input[type=text]:disabled::placeholder,input[type=url]:disabled::placeholder{color:#a8bece}textarea{border-radius:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}textarea::placeholder{color:#87a6bc}textarea:hover{border-color:#a8bece}textarea:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}textarea:focus::-ms-clear{display:none}textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}textarea:disabled:hover{cursor:default}textarea:disabled::placeholder{color:#a8bece}input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}input[type=checkbox]:checked:before{content:'\f147';font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}input[type=checkbox]:disabled:checked:before{color:#a8bece}input[type=checkbox]:hover{border-color:#a8bece}input[type=checkbox]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}input[type=checkbox]:disabled:hover{cursor:default}input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;appearance:none;border-radius:50%;line-height:10px}input[type=radio]:hover{border-color:#a8bece}input[type=radio]:focus{border-color:#0087be;outline:0;box-shadow:0 0 0 2px #78dcfa}input[type=radio]:focus::-ms-clear{display:none}input[type=radio]:checked:before{float:left;display:inline-block;content:'\2022';margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}input[type=radio]:disabled:hover{cursor:default}input[type=radio]:disabled::placeholder{color:#a8bece}input[type=radio]:disabled:checked:before{background:#e9eff3}input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}100%{transform:scale(1)}}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}100%{transform:scale(1)}}select{background:#fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center;border-color:#c8d7e1;border-style:solid;border-radius:4px;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:7px 32px 9px 14px;-webkit-appearance:none;appearance:none}select:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==)}select:focus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}select:disabled,select:hover:disabled{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center}select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}label select,label+select{display:block;min-width:200px}label select.is-compact,label+select.is-compact{display:inline-block;min-width:0}select::-ms-expand{display:none}select::-ms-value{background:0 0;color:#2e4453}select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}input[type=submit]{padding:0;font-size:14px;-webkit-appearance:none;appearance:none;vertical-align:baseline;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;appearance:none}input[type=submit]:hover{border-color:#a8bece;color:#2e4453}input[type=submit]:active{border-width:2px 1px 1px}input[type=submit]:visited{color:#2e4453}input[type=submit]:disabled,input[type=submit][disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}input[type=submit]:disabled:active,input[type=submit][disabled]:active{border-width:1px 1px 2px}input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.wpview.wpview-wrap[data-wpview-type=contact-form] iframe.inline-edit-contact-form{width:100%;min-height:500px;border:0;overflow:hidden;margin-bottom:0;display:block}.contact-submit.contact-submit{margin-top:0;margin-bottom:0} \ No newline at end of file
+@charset "UTF-8";body,label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em}.card{background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3;box-sizing:border-box;display:block;margin:0 auto;padding:16px;position:relative}.card:after{clear:both;content:".";display:block;height:0;visibility:hidden}@media (min-width:481px){.card{padding:24px}}.card>div{margin-top:24px}.card>div:first-child{margin-top:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}input[type=email],input[type=tel],input[type=text],input[type=url]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:0;box-shadow:none;box-sizing:border-box;color:#2e4453;font-size:16px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}input[type=email]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=url]::placeholder{color:#87a6bc}input[type=email]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=url]:hover{border-color:#a8bece}input[type=email]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}input[type=email]:focus::-ms-clear,input[type=tel]:focus::-ms-clear,input[type=text]:focus::-ms-clear,input[type=url]:focus::-ms-clear{display:none}input[type=email]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=url]:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece}input[type=email]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=url]:disabled:hover{cursor:default}input[type=email]:disabled::placeholder,input[type=tel]:disabled::placeholder,input[type=text]:disabled::placeholder,input[type=url]:disabled::placeholder{color:#a8bece}textarea{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:0;box-shadow:none;box-sizing:border-box;color:#2e4453;font-size:16px;height:92px;line-height:1.5;margin:0;padding:7px 14px;transition:all .15s ease-in-out;width:100%}textarea::placeholder{color:#87a6bc}textarea:hover{border-color:#a8bece}textarea:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}textarea:focus::-ms-clear{display:none}textarea:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece}textarea:disabled:hover{cursor:default}textarea:disabled::placeholder{color:#a8bece}input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;box-shadow:none;box-sizing:border-box;clear:none;color:#2e4453;cursor:pointer;font-size:16px;height:16px;line-height:0;margin:2px 0 0;outline:0;padding:0;text-align:center;transition:all .15s ease-in-out}input[type=checkbox],input[type=checkbox]:checked:before{display:inline-block;float:left;vertical-align:middle;width:16px}input[type=checkbox]:checked:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc;content:"\f147";font-family:Dashicons;font-size:20px;line-height:1;margin:-3px 0 0 -4px}input[type=checkbox]:disabled:checked:before{color:#a8bece}input[type=checkbox]:hover{border-color:#a8bece}input[type=checkbox]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}input[type=checkbox]:disabled:hover{cursor:default}input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}input[type=radio]{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c8d7e1;border-radius:50%;box-sizing:border-box;clear:none;color:#2e4453;cursor:pointer;display:inline-block;float:left;font-size:16px;height:16px;line-height:0;line-height:10px;margin:2px 4px 0 0;min-width:16px;outline:0;padding:0;text-align:center;transition:all .15s ease-in-out;vertical-align:middle;width:16px}input[type=radio]:hover{border-color:#a8bece}input[type=radio]:focus{border-color:#0087be;box-shadow:0 0 0 2px #78dcfa;outline:none}input[type=radio]:focus::-ms-clear{display:none}input[type=radio]:checked:before{animation:grow .2s ease-in-out;background:#00aadc;border-radius:50%;content:"•";display:inline-block;float:left;height:8px;margin:3px;text-indent:-9999px;vertical-align:middle;width:8px}input[type=radio]:disabled{-webkit-text-fill-color:#a8bece;background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}input[type=radio]:disabled:hover{cursor:default}input[type=radio]:disabled::placeholder{color:#a8bece}input[type=radio]:disabled:checked:before{background:#e9eff3}input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}select{-webkit-appearance:none;appearance:none;background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border:solid #c8d7e1;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#2e4453;cursor:pointer;display:inline-block;font-size:14px;font-weight:600;line-height:21px;margin:0;outline:0;overflow:hidden;padding:7px 32px 9px 14px;text-decoration:none;text-overflow:ellipsis;vertical-align:top;white-space:nowrap}select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}select:focus{-moz-user-focus:ignore;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none}select:disabled,select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNiAxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2WiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}select.is-compact{background-position:right 5px center;background-size:12px 12px;margin:0 4px;min-width:0;padding:0 20px 2px 6px}label select,label+select{display:block;min-width:200px}label select.is-compact,label+select.is-compact{display:inline-block;min-width:0}select::-ms-expand{display:none}select::-ms-value{background:none;color:#2e4453}select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}input[type=submit]{-webkit-appearance:none;appearance:none;background:#fff;border:solid #c8d7e1;border-radius:4px;border-width:1px 1px 2px;box-sizing:border-box;color:#2e4453;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;line-height:21px;margin:24px 0 0;outline:0;overflow:hidden;padding:7px 14px 9px;text-decoration:none;text-overflow:ellipsis;vertical-align:baseline;vertical-align:top}input[type=submit]:hover{border-color:#a8bece;color:#2e4453}input[type=submit]:active{border-width:2px 1px 1px}input[type=submit]:visited{color:#2e4453}input[type=submit]:disabled,input[type=submit][disabled]{background:#fff;border-color:#e9eff3;color:#e9eff3;cursor:default}input[type=submit]:disabled:active,input[type=submit][disabled]:active{border-width:1px 1px 2px}input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.wpview.wpview-wrap[data-wpview-type=contact-form] iframe.inline-edit-contact-form{border:0;display:block;margin-bottom:0;min-height:500px;overflow:hidden;width:100%}.contact-submit.contact-submit{margin-bottom:0;margin-top:0} \ No newline at end of file
diff --git a/plugins/jetpack/modules/contact-form/css/editor-ui-rtl.css b/plugins/jetpack/modules/contact-form/css/editor-ui-rtl.css
index f5f33a42..381bc812 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-ui-rtl.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-ui-rtl.css
@@ -1,19 +1,18 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
i.mce-i-grunion {
- font-size: 20px;
- font-family: dashicons;
+ font-size: 20px;
+ font-family: dashicons;
}
i.mce-i-grunion:before,
.jetpack-contact-form-icon:before {
- content: '\f175';
- vertical-align: top;
+ content: "\f175";
+ vertical-align: top;
}
.jetpack-contact-form-icon {
- opacity: 0.7;
- vertical-align: text-top;
- display: inline-block;
- height: 18px;
- font: 18px/1 dashicons;
+ opacity: 0.7;
+ vertical-align: text-top;
+ display: inline-block;
+ height: 18px;
+ font: 18px/1 dashicons;
}
diff --git a/plugins/jetpack/modules/contact-form/css/editor-ui-rtl.min.css b/plugins/jetpack/modules/contact-form/css/editor-ui-rtl.min.css
index e9eb7c4d..65a5b650 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-ui-rtl.min.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-ui-rtl.min.css
@@ -1 +1 @@
-i.mce-i-grunion{font-size:20px;font-family:dashicons}.jetpack-contact-form-icon:before,i.mce-i-grunion:before{content:'\f175';vertical-align:top}.jetpack-contact-form-icon{opacity:.7;vertical-align:text-top;display:inline-block;height:18px;font:18px/1 dashicons} \ No newline at end of file
+i.mce-i-grunion{font-family:dashicons;font-size:20px}.jetpack-contact-form-icon:before,i.mce-i-grunion:before{content:"\f175";vertical-align:top}.jetpack-contact-form-icon{display:inline-block;font:18px/1 dashicons;height:18px;opacity:.7;vertical-align:text-top} \ No newline at end of file
diff --git a/plugins/jetpack/modules/contact-form/css/editor-ui.min.css b/plugins/jetpack/modules/contact-form/css/editor-ui.min.css
index 2ca28137..65a5b650 100644
--- a/plugins/jetpack/modules/contact-form/css/editor-ui.min.css
+++ b/plugins/jetpack/modules/contact-form/css/editor-ui.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-i.mce-i-grunion{font-size:20px;font-family:dashicons}.jetpack-contact-form-icon:before,i.mce-i-grunion:before{content:'\f175';vertical-align:top}.jetpack-contact-form-icon{opacity:.7;vertical-align:text-top;display:inline-block;height:18px;font:18px/1 dashicons} \ No newline at end of file
+i.mce-i-grunion{font-family:dashicons;font-size:20px}.jetpack-contact-form-icon:before,i.mce-i-grunion:before{content:"\f175";vertical-align:top}.jetpack-contact-form-icon{display:inline-block;font:18px/1 dashicons;height:18px;opacity:.7;vertical-align:text-top} \ No newline at end of file
diff --git a/plugins/jetpack/modules/contact-form/css/grunion-rtl.css b/plugins/jetpack/modules/contact-form/css/grunion-rtl.css
index 071add9e..adfb9192 100644
--- a/plugins/jetpack/modules/contact-form/css/grunion-rtl.css
+++ b/plugins/jetpack/modules/contact-form/css/grunion-rtl.css
@@ -1 +1 @@
-.contact-form .clear-form{clear:both}.contact-form input::placeholder{transition:opacity .3s ease-out}.contact-form input:hover::placeholder{opacity:.5}.contact-form input:focus::placeholder{opacity:.3}.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{box-sizing:border-box;margin-bottom:1.5em;width:100%;padding:14px 7px}.contact-form select{margin-bottom:1.5em;padding:14px 7px;min-width:150px}.contact-form textarea{box-sizing:border-box;float:none;height:200px;margin-bottom:1.5em;width:100%;padding:7px;font:inherit}.contact-form input[type=checkbox],.contact-form input[type=radio]{float:none;margin:0 5px 0 .75rem}.contact-form input[type=checkbox]{top:0;margin-right:0}.contact-form label{margin-bottom:.25em;float:none;font-weight:700;display:block}.contact-form label.consent-implicit input{display:none}.contact-form label.checkbox,.contact-form label.checkbox-multiple,.contact-form label.radio{margin-bottom:.25em;float:none;font-weight:400;display:inline-flex;align-items:center}.contact-form .grunion-field-checkbox-multiple-wrap,.contact-form .grunion-field-checkbox-wrap,.contact-form .grunion-field-consent-wrap,.contact-form .grunion-field-radio-wrap{margin-bottom:1em}.contact-form label span{font-size:85%;margin-right:.25em;font-weight:400}.contact-form-submission{margin-bottom:4em;padding:1.5em 1em}.contact-form-submission p{margin:0 auto;word-wrap:break-word}.form-errors .form-error-message{color:red}.textwidget .contact-form input[type=email],.textwidget .contact-form input[type=tel],.textwidget .contact-form input[type=text],.textwidget .contact-form input[type=url],.textwidget .contact-form textarea,.wp-block-column .contact-form input[type=email],.wp-block-column .contact-form input[type=tel],.wp-block-column .contact-form input[type=text],.wp-block-column .contact-form input[type=url],.wp-block-column .contact-form textarea{width:100%}#jetpack-check-feedback-spam{margin:1px 0 0 8px}.jetpack-check-feedback-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form{display:flex;flex-wrap:wrap;justify-content:flex-start;flex-direction:row}.wp-block-jetpack-button,.wp-block-jetpack-contact-form .grunion-field-wrap{flex:0 0 100%}.wp-block-jetpack-button button{padding:20px 30px;border:inherit;font:inherit}.wp-block-jetpack-button.alignright button{float:left}.wp-block-jetpack-contact-form .grunion-field-wrap{border-left:15px solid transparent}.wp-block-jetpack-contact-form .grunion-field-width-25-wrap{flex:0 0 25%}.wp-block-jetpack-contact-form .grunion-field-width-50-wrap{flex:0 0 50%}.wp-block-jetpack-contact-form .grunion-field-width-75-wrap{flex:0 0 75%}.grunion-field-checkbox-wrap,.grunion-field-consent-wrap{align-self:center}@media only screen and (min-width:600px){.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{width:50%}.wp-block-jetpack-contact-form input[type=email],.wp-block-jetpack-contact-form input[type=tel],.wp-block-jetpack-contact-form input[type=text],.wp-block-jetpack-contact-form input[type=url]{width:100%}}.jetpack-empty-spam-container{display:inline-block}.jetpack-empty-spam{display:inline-block}.jetpack-empty-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form .wp-block-spacer{width:100%} \ No newline at end of file
+.contact-form .clear-form{clear:both}.contact-form input{font:inherit}.contact-form input::placeholder{transition:opacity .3s ease-out}.contact-form input:hover::placeholder{opacity:.5}.contact-form input:focus::placeholder{opacity:.3}.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{box-sizing:border-box;margin-bottom:1.5em;padding:14px 7px;width:100%}.contact-form select{margin-bottom:1.5em;min-width:150px;padding:14px 7px}.contact-form textarea{box-sizing:border-box;float:none;font:inherit;height:200px;margin-bottom:1.5em;padding:7px;width:100%}.contact-form input[type=checkbox],.contact-form input[type=radio]{float:none;margin:0 5px 0 .75rem}.contact-form input[type=checkbox]{margin-right:0;top:0}.contact-form label{display:block;float:none;font-weight:700;margin-bottom:.25em}.contact-form label.consent-implicit input{display:none}.contact-form label.checkbox,.contact-form label.checkbox-multiple,.contact-form label.radio{align-items:center;display:inline-flex;float:none;font-weight:400;margin-bottom:.25em}.contact-form .grunion-field-checkbox-multiple-wrap,.contact-form .grunion-field-checkbox-wrap,.contact-form .grunion-field-consent-wrap,.contact-form .grunion-field-radio-wrap{margin-bottom:1em}.contact-form label span{font-size:85%;font-weight:400;margin-right:.25em}.contact-form-submission{margin-bottom:4em;padding:1.5em 1em}.contact-form-submission p{word-wrap:break-word;margin:0 auto}.form-errors .form-error-message{color:red}.textwidget .contact-form input[type=email],.textwidget .contact-form input[type=tel],.textwidget .contact-form input[type=text],.textwidget .contact-form input[type=url],.textwidget .contact-form textarea,.wp-block-column .contact-form input[type=email],.wp-block-column .contact-form input[type=tel],.wp-block-column .contact-form input[type=text],.wp-block-column .contact-form input[type=url],.wp-block-column .contact-form textarea{width:100%}#jetpack-check-feedback-spam{margin:1px 0 0 8px}.jetpack-check-feedback-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-button,.wp-block-jetpack-contact-form .grunion-field-wrap{flex:0 0 100%}.wp-block-jetpack-button.alignright button{float:left}.wp-block-jetpack-contact-form .grunion-field-wrap{border-left:15px solid transparent}.wp-block-jetpack-contact-form .grunion-field-width-25-wrap{flex:0 0 25%}.wp-block-jetpack-contact-form .grunion-field-width-50-wrap{flex:0 0 50%}.wp-block-jetpack-contact-form .grunion-field-width-75-wrap{flex:0 0 75%}.grunion-field-checkbox-wrap,.grunion-field-consent-wrap{align-self:center}@media only screen and (min-width:600px){.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=text],.contact-form input[type=url]{width:50%}.wp-block-jetpack-contact-form input[type=email],.wp-block-jetpack-contact-form input[type=tel],.wp-block-jetpack-contact-form input[type=text],.wp-block-jetpack-contact-form input[type=url]{width:100%}}.jetpack-empty-spam,.jetpack-empty-spam-container{display:inline-block}.jetpack-empty-spam-spinner{display:inline-block;margin-top:7px}.wp-block-jetpack-contact-form .wp-block-spacer{width:100%} \ No newline at end of file
diff --git a/plugins/jetpack/modules/contact-form/css/grunion.css b/plugins/jetpack/modules/contact-form/css/grunion.css
index be46a132..c2f55447 100644
--- a/plugins/jetpack/modules/contact-form/css/grunion.css
+++ b/plugins/jetpack/modules/contact-form/css/grunion.css
@@ -2,6 +2,10 @@
clear: both;
}
+.contact-form input {
+ font: inherit;
+}
+
.contact-form input::placeholder {
transition: opacity 0.3s ease-out;
}
@@ -131,12 +135,6 @@
flex: 0 0 100%;
}
-.wp-block-jetpack-button button {
- padding: 20px 30px;
- border: inherit;
- font: inherit;
-}
-
.wp-block-jetpack-button.alignright button {
float: right;
}
@@ -200,4 +198,4 @@
/* Make sure the set height of the Spacer block nested inside the Contact Form block is respected */
.wp-block-jetpack-contact-form .wp-block-spacer {
width: 100%;
-} \ No newline at end of file
+}
diff --git a/plugins/jetpack/modules/contact-form/grunion-contact-form.php b/plugins/jetpack/modules/contact-form/grunion-contact-form.php
index 3eaa34c3..5a64fbf1 100644
--- a/plugins/jetpack/modules/contact-form/grunion-contact-form.php
+++ b/plugins/jetpack/modules/contact-form/grunion-contact-form.php
@@ -161,7 +161,7 @@ class Grunion_Contact_Form_Plugin {
// Export to CSV feature
if ( is_admin() ) {
- add_action( 'admin_init', array( $this, 'download_feedback_as_csv' ) );
+ add_action( 'admin_post_feedback_export', array( $this, 'download_feedback_as_csv' ) );
add_action( 'admin_footer-edit.php', array( $this, 'export_form' ) );
}
add_action( 'admin_menu', array( $this, 'admin_menu' ) );
@@ -510,13 +510,17 @@ class Grunion_Contact_Form_Plugin {
*
* Conditionally attached to `template_redirect`
*/
- function process_form_submission() {
- // Add a filter to replace tokens in the subject field with sanitized field values
+ public function process_form_submission() {
+ // Add a filter to replace tokens in the subject field with sanitized field values.
add_filter( 'contact_form_subject', array( $this, 'replace_tokens_with_input' ), 10, 2 );
- $id = stripslashes( $_POST['contact-form-id'] );
- $hash = isset( $_POST['contact-form-hash'] ) ? $_POST['contact-form-hash'] : '';
+ // phpcs:disable WordPress.Security.NonceVerification.Missing
+ $id = isset( $_POST['contact-form-id'] ) ? wp_unslash( $_POST['contact-form-id'] ) : null;
+ $id = is_string( $id ) ? $id : null;
+ $hash = isset( $_POST['contact-form-hash'] ) ? wp_unslash( $_POST['contact-form-hash'] ) : null;
+ $hash = is_string( $hash ) ? $hash : null;
$hash = preg_replace( '/[^\da-f]/i', '', $hash );
+ // phpcs:enable
if ( ! is_string( $id ) || ! is_string( $hash ) ) {
return false;
@@ -2532,13 +2536,13 @@ class Grunion_Contact_Form extends Crunion_Contact_Form_Shortcode {
$form->fields[] = $field;
}
- if (
+ if ( // phpcs:disable WordPress.Security.NonceVerification.Missing
isset( $_POST['action'] ) && 'grunion-contact-form' === $_POST['action']
&&
isset( $_POST['contact-form-id'] ) && $form->get_attribute( 'id' ) == $_POST['contact-form-id']
&&
- isset( $_POST['contact-form-hash'] ) && hash_equals( $form->hash, $_POST['contact-form-hash'] )
- ) {
+ isset( $_POST['contact-form-hash'] ) && is_string( $_POST['contact-form-hash'] ) && hash_equals( $form->hash, $_POST['contact-form-hash'] )
+ ) { // phpcs:enable
// If we're processing a POST submission for this contact form, validate the field value so we can show errors as necessary.
$field->validate();
}
diff --git a/plugins/jetpack/modules/copy-post.php b/plugins/jetpack/modules/copy-post.php
index 3aea777d..676845a1 100644
--- a/plugins/jetpack/modules/copy-post.php
+++ b/plugins/jetpack/modules/copy-post.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Module Name: Copy Post
* Module Description: Enable the option to copy entire posts and pages, including tags and settings
@@ -9,6 +9,8 @@
* Module Tags: Writing
* Feature: Writing
* Additional Search Queries: copy, duplicate
+ *
+ * @package automattic/jetpack
*/
/**
@@ -29,7 +31,7 @@ class Jetpack_Copy_Post {
return;
}
- if ( ! empty( $_GET['jetpack-copy'] ) && 'post-new.php' === $GLOBALS['pagenow'] ) {
+ if ( ! empty( $_GET['jetpack-copy'] ) && 'post-new.php' === $GLOBALS['pagenow'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- update_post_data() handles access check.
add_action( 'wp_insert_post', array( $this, 'update_post_data' ), 10, 3 );
add_filter( 'pre_option_default_post_format', '__return_empty_string' );
}
@@ -49,7 +51,12 @@ class Jetpack_Copy_Post {
return;
}
- $source_post = get_post( $_GET['jetpack-copy'] );
+ // Shouldn't happen, since this filter is only added when the value isn't empty, but check anyway.
+ if ( empty( $_GET['jetpack-copy'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ return;
+ }
+
+ $source_post = get_post( intval( $_GET['jetpack-copy'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( ! $source_post instanceof WP_Post ||
! $this->user_can_access_post( $source_post->ID ) ||
! $this->validate_post_type( $source_post ) ) {
@@ -316,8 +323,8 @@ class Jetpack_Copy_Post {
);
// Insert the Copy action before the Trash action.
- $edit_offset = array_search( 'trash', array_keys( $actions ), true );
- $updated_actions = array_merge(
+ $edit_offset = array_search( 'trash', array_keys( $actions ), true );
+ $updated_actions = array_merge(
array_slice( $actions, 0, $edit_offset ),
$edit_action,
array_slice( $actions, $edit_offset )
diff --git a/plugins/jetpack/modules/custom-content-types.php b/plugins/jetpack/modules/custom-content-types.php
index eb53741d..6c3d62ca 100644
--- a/plugins/jetpack/modules/custom-content-types.php
+++ b/plugins/jetpack/modules/custom-content-types.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Module Name: Custom content types
* Module Description: Display different types of content on your site with custom content types.
@@ -10,20 +9,30 @@
* Sort Order: 34
* Feature: Writing
* Additional Search Queries: cpt, custom post types, portfolio, portfolios, testimonial, testimonials
+ *
+ * @package automattic/jetpack
*/
use Automattic\Jetpack\Redirect;
+/**
+ * Load Portfolio CPT.
+ */
function jetpack_load_custom_post_types() {
- include dirname( __FILE__ ) . "/custom-post-types/portfolios.php";
+ include __DIR__ . '/custom-post-types/portfolios.php';
}
+/**
+ * Make module configurable.
+ */
function jetpack_custom_post_types_loaded() {
Jetpack::enable_module_configurable( __FILE__ );
}
add_action( 'jetpack_modules_loaded', 'jetpack_custom_post_types_loaded' );
-// Add Settings Section for CPT
+/**
+ * Add Settings Section for CPT
+ */
function jetpack_cpt_settings_api_init() {
add_settings_section(
'jetpack_cpt_section',
@@ -34,7 +43,7 @@ function jetpack_cpt_settings_api_init() {
}
add_action( 'admin_init', 'jetpack_cpt_settings_api_init' );
-/*
+/**
* Settings Description
*/
function jetpack_cpt_section_callback() {
diff --git a/plugins/jetpack/modules/custom-css.php b/plugins/jetpack/modules/custom-css.php
index 3ba63055..cbe70694 100644
--- a/plugins/jetpack/modules/custom-css.php
+++ b/plugins/jetpack/modules/custom-css.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Module Name: Custom CSS
@@ -12,6 +12,9 @@
* Additional Search Queries: css, customize, custom, style, editor, less, sass, preprocessor, font, mobile, appearance, theme, stylesheet
*/
+/**
+ * Load custom CSS
+ */
function jetpack_load_custom_css() {
// If WordPress has the core version of Custom CSS, load our new version.
// @see https://core.trac.wordpress.org/changeset/38829
@@ -20,32 +23,34 @@ function jetpack_load_custom_css() {
wp_die( 'Please run a SVN up to get the latest version of trunk, or update to at least 4.7 RC1' );
}
if ( ! Jetpack_Options::get_option( 'custom_css_4.7_migration' ) ) {
- include_once dirname( __FILE__ ) . '/custom-css/migrate-to-core.php';
- }
-
- // TODO: DELETE THIS
- else {
+ include_once __DIR__ . '/custom-css/migrate-to-core.php';
+ } else { // TODO: DELETE THIS.
if ( defined( 'WP_CLI' ) && WP_CLI ) {
- function jetpack_custom_css_undo_data_migration_cli() {
- Jetpack_Options::delete_option( 'custom_css_4.7_migration' );
- WP_CLI::success( __( 'Option deleted, re-migrate via `wp jetpack custom-css migrate`.', 'jetpack' ) );
- }
- WP_CLI::add_command( 'jetpack custom-css undo-migrate', 'jetpack_custom_css_undo_data_migration_cli' );
+ WP_CLI::add_command(
+ 'jetpack custom-css undo-migrate',
+ function () {
+ Jetpack_Options::delete_option( 'custom_css_4.7_migration' );
+ WP_CLI::success( __( 'Option deleted, re-migrate via `wp jetpack custom-css migrate`.', 'jetpack' ) );
+ }
+ );
}
}
- // TODO: END DELETE THIS
+ // TODO: END DELETE THIS.
- include_once dirname( __FILE__ ) . '/custom-css/custom-css/preprocessors.php';
- include_once dirname( __FILE__ ) . '/custom-css/custom-css-4.7.php';
+ include_once __DIR__ . '/custom-css/custom-css/preprocessors.php';
+ include_once __DIR__ . '/custom-css/custom-css-4.7.php';
return;
}
- include_once dirname( __FILE__ ) . "/custom-css/custom-css.php";
+ include_once __DIR__ . '/custom-css/custom-css.php';
add_action( 'init', array( 'Jetpack_Custom_CSS', 'init' ) );
}
add_action( 'jetpack_modules_loaded', 'custom_css_loaded' );
+/**
+ * Enable CSS module.
+ */
function custom_css_loaded() {
Jetpack::enable_module_configurable( __FILE__ );
add_filter( 'jetpack_module_configuration_url_custom-css', 'jetpack_custom_css_configuration_url' );
@@ -56,13 +61,14 @@ function custom_css_loaded() {
* Overrides default configuration url
*
* @uses admin_url
+ *
+ * @param string $default_url - the default URL.
* @return string module settings URL
*/
-function jetpack_custom_css_configuration_url( $default_url ) {
+function jetpack_custom_css_configuration_url( $default_url ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return Jetpack_Custom_CSS_Enhancements::customizer_link(
array( 'return_url' => wp_get_referer() )
);
}
-
jetpack_load_custom_css();
diff --git a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy_ctype.php b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-ctype.php
index 37e87f7d..a94b39bf 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy_ctype.php
+++ b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-ctype.php
@@ -1,5 +1,4 @@
<?php
-
/**
* CSSTidy - CSS Parser and Optimiser
*
@@ -27,20 +26,28 @@
* @author Nikolay Matsievsky (speed at webo dot name) 2009-2010
* @version 1.0
*/
-/* ctype_space Check for whitespace character(s) */
-if (!function_exists('ctype_space')) {
- function ctype_space($text) {
- return!preg_match("/[^\s\r\n\t\f]/", $text);
- }
+if ( ! function_exists( 'ctype_space' ) ) {
+ /**
+ * Check for whitespace character(s).
+ *
+ * @param string $text - the text.
+ */
+ function ctype_space( $text ) {
+ return ! preg_match( "/[^\s\r\n\t\f]/", $text );
+ }
}
-/* ctype_alpha Check for alphabetic character(s) */
-if (!function_exists('ctype_alpha')) {
- function ctype_alpha($text) {
- return preg_match("/[a-zA-Z]/", $text);
- }
+if ( ! function_exists( 'ctype_alpha' ) ) {
+ /**
+ * Check for alphabetic character(s)
+ *
+ * @param string $text - the text.
+ */
+ function ctype_alpha( $text ) {
+ return preg_match( '/[a-zA-Z]/', $text );
+ }
}
-?>
+
diff --git a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-optimise.php b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-optimise.php
new file mode 100644
index 00000000..0889b015
--- /dev/null
+++ b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-optimise.php
@@ -0,0 +1,1007 @@
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * CSSTidy - CSS Parser and Optimiser
+ *
+ * CSS Optimising Class
+ * This class optimises CSS data generated by csstidy.
+ *
+ * Copyright 2005, 2006, 2007 Florian Schmitz
+ *
+ * This file is part of CSSTidy.
+ *
+ * CSSTidy is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
+ * (at your option) any later version.
+ *
+ * CSSTidy is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ * @license https://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
+ * @package csstidy
+ * @author Florian Schmitz (floele at gmail dot com) 2005-2007
+ * @author Brett Zamir (brettz9 at yahoo dot com) 2007
+ * @author Nikolay Matsievsky (speed at webo dot name) 2009-2010
+ */
+
+/**
+ * CSS Optimising Class
+ *
+ * This class optimises CSS data generated by csstidy.
+ *
+ * @package csstidy
+ * @author Florian Schmitz (floele at gmail dot com) 2005-2006
+ * @version 1.0
+ */
+class csstidy_optimise { // phpcs:ignore
+ /**
+ * Constructor
+ *
+ * @param array $css contains the class csstidy.
+ * @access private
+ * @version 1.0
+ */
+ public function __construct( &$css ) {
+ $this->parser = & $css;
+ $this->css = & $css->css;
+ $this->sub_value = & $css->sub_value;
+ $this->at = & $css->at;
+ $this->selector = & $css->selector;
+ $this->property = & $css->property;
+ $this->value = & $css->value;
+ }
+
+ /**
+ * Call constructor function.
+ *
+ * @param object $css - the CSS.
+ */
+ public function csstidy_optimise( &$css ) {
+ $this->__construct( $css );
+ }
+
+ /**
+ * Optimises $css after parsing
+ *
+ * @access public
+ * @version 1.0
+ */
+ public function postparse() {
+ if ( $this->parser->get_cfg( 'preserve_css' ) ) {
+ return;
+ }
+
+ if ( $this->parser->get_cfg( 'merge_selectors' ) === 2 ) {
+ foreach ( $this->css as $medium => $value ) {
+ $this->merge_selectors( $this->css[ $medium ] );
+ }
+ }
+
+ if ( $this->parser->get_cfg( 'discard_invalid_selectors' ) ) {
+ foreach ( $this->css as $medium => $value ) {
+ $this->discard_invalid_selectors( $this->css[ $medium ] );
+ }
+ }
+
+ if ( $this->parser->get_cfg( 'optimise_shorthands' ) > 0 ) {
+ foreach ( $this->css as $medium => $value ) {
+ foreach ( $value as $selector => $value1 ) {
+ $this->css[ $medium ][ $selector ] = self::merge_4value_shorthands( $this->css[ $medium ][ $selector ] );
+
+ if ( $this->parser->get_cfg( 'optimise_shorthands' ) < 2 ) {
+ continue;
+ }
+
+ $this->css[ $medium ][ $selector ] = self::merge_font( $this->css[ $medium ][ $selector ] );
+
+ if ( $this->parser->get_cfg( 'optimise_shorthands' ) < 3 ) {
+ continue;
+ }
+
+ $this->css[ $medium ][ $selector ] = self::merge_bg( $this->css[ $medium ][ $selector ] );
+ if ( empty( $this->css[ $medium ][ $selector ] ) ) {
+ unset( $this->css[ $medium ][ $selector ] );
+ }
+ }
+ }
+ }
+ }
+
+ /**
+ * Optimises values
+ *
+ * @access public
+ * @version 1.0
+ */
+ public function value() {
+ $shorthands = & $GLOBALS['csstidy']['shorthands'];
+
+ // optimise shorthand properties.
+ if ( isset( $shorthands[ $this->property ] ) ) {
+ $temp = self::shorthand( $this->value ); // FIXME - move.
+ if ( $temp !== $this->value ) {
+ $this->parser->log( 'Optimised shorthand notation (' . $this->property . '): Changed "' . $this->value . '" to "' . $temp . '"', 'Information' );
+ }
+ $this->value = $temp;
+ }
+
+ // Remove whitespace at ! important.
+ if ( $this->value !== $this->compress_important( $this->value ) ) {
+ $this->parser->log( 'Optimised !important', 'Information' );
+ }
+ }
+
+ /**
+ * Optimises shorthands
+ *
+ * @access public
+ * @version 1.0
+ */
+ public function shorthands() {
+ $shorthands = & $GLOBALS['csstidy']['shorthands'];
+
+ if ( ! $this->parser->get_cfg( 'optimise_shorthands' ) || $this->parser->get_cfg( 'preserve_css' ) ) {
+ return;
+ }
+
+ if ( $this->property === 'font' && $this->parser->get_cfg( 'optimise_shorthands' ) > 1 ) {
+ $this->css[ $this->at ][ $this->selector ]['font'] = '';
+ $this->parser->merge_css_blocks( $this->at, $this->selector, self::dissolve_short_font( $this->value ) );
+ }
+ if ( $this->property === 'background' && $this->parser->get_cfg( 'optimise_shorthands' ) > 2 ) {
+ $this->css[ $this->at ][ $this->selector ]['background'] = '';
+ $this->parser->merge_css_blocks( $this->at, $this->selector, self::dissolve_short_bg( $this->value ) );
+ }
+ if ( isset( $shorthands[ $this->property ] ) ) {
+ $this->parser->merge_css_blocks( $this->at, $this->selector, self::dissolve_4value_shorthands( $this->property, $this->value ) );
+ if ( is_array( $shorthands[ $this->property ] ) ) {
+ $this->css[ $this->at ][ $this->selector ][ $this->property ] = '';
+ }
+ }
+ }
+
+ /**
+ * Optimises a sub-value
+ *
+ * @access public
+ * @version 1.0
+ */
+ public function subvalue() {
+ $replace_colors = & $GLOBALS['csstidy']['replace_colors'];
+
+ $this->sub_value = trim( $this->sub_value );
+ if ( $this->sub_value === '' ) {
+ return;
+ }
+
+ $important = '';
+ if ( csstidy::is_important( $this->sub_value ) ) {
+ $important = '!important';
+ }
+ $this->sub_value = csstidy::gvw_important( $this->sub_value );
+
+ // Compress font-weight.
+ if ( $this->property === 'font-weight' && $this->parser->get_cfg( 'compress_font-weight' ) ) {
+ if ( $this->sub_value === 'bold' ) {
+ $this->sub_value = '700';
+ $this->parser->log( 'Optimised font-weight: Changed "bold" to "700"', 'Information' );
+ } elseif ( $this->sub_value === 'normal' ) {
+ $this->sub_value = '400';
+ $this->parser->log( 'Optimised font-weight: Changed "normal" to "400"', 'Information' );
+ }
+ }
+
+ $temp = $this->compress_numbers( $this->sub_value );
+ if ( strcasecmp( $temp, $this->sub_value ) !== 0 ) {
+ if ( strlen( $temp ) > strlen( $this->sub_value ) ) {
+ $this->parser->log( 'Fixed invalid number: Changed "' . $this->sub_value . '" to "' . $temp . '"', 'Warning' );
+ } else {
+ $this->parser->log( 'Optimised number: Changed "' . $this->sub_value . '" to "' . $temp . '"', 'Information' );
+ }
+ $this->sub_value = $temp;
+ }
+ if ( $this->parser->get_cfg( 'compress_colors' ) ) {
+ $temp = $this->cut_color( $this->sub_value );
+ if ( $temp !== $this->sub_value ) {
+ if ( isset( $replace_colors[ $this->sub_value ] ) ) {
+ $this->parser->log( 'Fixed invalid color name: Changed "' . $this->sub_value . '" to "' . $temp . '"', 'Warning' );
+ } else {
+ $this->parser->log( 'Optimised color: Changed "' . $this->sub_value . '" to "' . $temp . '"', 'Information' );
+ }
+ $this->sub_value = $temp;
+ }
+ }
+ $this->sub_value .= $important;
+ }
+
+ /**
+ * Compresses shorthand values. Example: margin:1px 1px 1px 1px -> margin:1px
+ *
+ * @param string $value - the value.
+ * @access public
+ * @return string
+ * @version 1.0
+ */
+ public static function shorthand( $value ) {
+ $important = '';
+ if ( csstidy::is_important( $value ) ) {
+ $values = csstidy::gvw_important( $value );
+ $important = '!important';
+ } else {
+ $values = $value;
+ }
+
+ $values = explode( ' ', $values );
+ switch ( count( $values ) ) {
+ case 4:
+ if ( $values[0] === $values[1] && $values[0] === $values[2] && $values[0] === $values[3] ) {
+ return $values[0] . $important;
+ } elseif ( $values[1] === $values[3] && $values[0] === $values[2] ) {
+ return $values[0] . ' ' . $values[1] . $important;
+ } elseif ( $values[1] === $values[3] ) {
+ return $values[0] . ' ' . $values[1] . ' ' . $values[2] . $important;
+ }
+ break;
+
+ case 3:
+ if ( $values[0] === $values[1] && $values[0] === $values[2] ) {
+ return $values[0] . $important;
+ } elseif ( $values[0] === $values[2] ) {
+ return $values[0] . ' ' . $values[1] . $important;
+ }
+ break;
+
+ case 2:
+ if ( $values[0] === $values[1] ) {
+ return $values[0] . $important;
+ }
+ break;
+ }
+
+ return $value;
+ }
+
+ /**
+ * Removes unnecessary whitespace in ! important
+ *
+ * @param string $string - the string.
+ * @return string
+ * @access public
+ * @version 1.1
+ */
+ public function compress_important( &$string ) {
+ if ( csstidy::is_important( $string ) ) {
+ $string = csstidy::gvw_important( $string ) . ' !important'; }
+ return $string;
+ }
+
+ /**
+ * Color compression function. Converts all rgb() values to #-values and uses the short-form if possible. Also replaces 4 color names by #-values.
+ *
+ * @param string $color - the color.
+ * @return string
+ * @version 1.1
+ */
+ public function cut_color( $color ) {
+ $replace_colors = & $GLOBALS['csstidy']['replace_colors'];
+
+ // an example: rgb(0,0,0) -> #000000 (or #000 in this case later).
+ if ( strtolower( substr( $color, 0, 4 ) ) === 'rgb(' ) {
+ $color_tmp = substr( $color, 4, strlen( $color ) - 5 );
+ $color_tmp = explode( ',', $color_tmp );
+ for ( $i = 0, $l = count( $color_tmp ); $i < $l; $i++ ) {
+ $color_tmp[ $i ] = trim( $color_tmp[ $i ] );
+ if ( substr( $color_tmp[ $i ], -1 ) === '%' ) {
+ $color_tmp[ $i ] = round( ( 255 * $color_tmp[ $i ] ) / 100 );
+ }
+ if ( $color_tmp[ $i ] > 255 ) {
+ $color_tmp[ $i ] = 255;
+ }
+ }
+ $color = '#';
+ for ( $i = 0; $i < 3; $i++ ) {
+ if ( $color_tmp[ $i ] < 16 ) {
+ $color .= '0' . dechex( $color_tmp[ $i ] );
+ } else {
+ $color .= dechex( $color_tmp[ $i ] );
+ }
+ }
+ }
+
+ // Fix bad color names.
+ if ( isset( $replace_colors[ strtolower( $color ) ] ) ) {
+ $color = $replace_colors[ strtolower( $color ) ];
+ }
+
+ // #aabbcc -> #abc
+ if ( strlen( $color ) === 7 ) {
+ $color_temp = strtolower( $color );
+ if ( $color_temp[0] === '#' && $color_temp[1] === $color_temp[2] && $color_temp[3] === $color_temp[4] && $color_temp[5] === $color_temp[6] ) {
+ $color = '#' . $color[1] . $color[3] . $color[5];
+ }
+ }
+
+ switch ( strtolower( $color ) ) {
+ /* color name -> hex code */
+ case 'black':
+ return '#000';
+ case 'fuchsia':
+ return '#f0f';
+ case 'white':
+ return '#fff';
+ case 'yellow':
+ return '#ff0';
+
+ /* hex code -> color name */
+ case '#800000':
+ return 'maroon';
+ case '#ffa500':
+ return 'orange';
+ case '#808000':
+ return 'olive';
+ case '#800080':
+ return 'purple';
+ case '#008000':
+ return 'green';
+ case '#000080':
+ return 'navy';
+ case '#008080':
+ return 'teal';
+ case '#c0c0c0':
+ return 'silver';
+ case '#808080':
+ return 'gray';
+ case '#f00':
+ return 'red';
+ }
+
+ return $color;
+ }
+
+ /**
+ * Compresses numbers (ie. 1.0 becomes 1 or 1.100 becomes 1.1 )
+ *
+ * @param string $subvalue - the subvalue.
+ * @return string
+ * @version 1.2
+ */
+ public function compress_numbers( $subvalue ) {
+ $unit_values = & $GLOBALS['csstidy']['unit_values'];
+ $color_values = & $GLOBALS['csstidy']['color_values'];
+
+ // for font:1em/1em sans-serif...;.
+ if ( $this->property === 'font' ) {
+ $temp = explode( '/', $subvalue );
+ } else {
+ $temp = array( $subvalue );
+ }
+
+ for ( $l = 0, $m = count( $temp ); $l < $m; $l++ ) {
+ // if we are not dealing with a number at this point, do not optimise anything.
+ $number = $this->analyse_css_number( $temp[ $l ] );
+ if ( $number === false ) {
+ return $subvalue;
+ }
+
+ // Fix bad colors.
+ if ( in_array( $this->property, $color_values, true ) ) {
+ if ( strlen( $temp[ $l ] ) === 3 || strlen( $temp[ $l ] ) === 6 ) {
+ $temp[ $l ] = '#' . $temp[ $l ];
+ } else {
+ $temp[ $l ] = '0';
+ }
+ continue;
+ }
+
+ if ( abs( $number[0] ) > 0 ) {
+ if ( $number[1] === '' && in_array( $this->property, $unit_values, true ) ) {
+ $number[1] = 'px';
+ }
+ } else {
+ $number[1] = '';
+ }
+
+ $temp[ $l ] = $number[0] . $number[1];
+ }
+
+ return ( ( count( $temp ) > 1 ) ? $temp[0] . '/' . $temp[1] : $temp[0] );
+ }
+
+ /**
+ * Checks if a given string is a CSS valid number. If it is,
+ * an array containing the value and unit is returned
+ *
+ * @param string $string - the string we're checking.
+ * @return array ('unit' if unit is found or '' if no unit exists, number value) or false if no number
+ */
+ public function analyse_css_number( $string ) {
+ // most simple checks first
+ if ( $string === '' || ctype_alpha( $string[0] ) ) {
+ return false;
+ }
+
+ $units = & $GLOBALS['csstidy']['units'];
+ $return = array( 0, '' );
+
+ $return[0] = (float) $string;
+ if ( abs( $return[0] ) > 0 && abs( $return[0] ) < 1 ) {
+ // Removes the initial `0` from a decimal number, e.g., `0.7 => .7` or `-0.666 => -.666`.
+ if ( ! $this->parser->get_cfg( 'preserve_leading_zeros' ) ) {
+ if ( $return[0] < 0 ) {
+ $return[0] = '-' . ltrim( substr( $return[0], 1 ), '0' );
+ } else {
+ $return[0] = ltrim( $return[0], '0' );
+ }
+ }
+ }
+
+ // Look for unit and split from value if exists
+ foreach ( $units as $unit ) {
+ $expect_unit_at = strlen( $string ) - strlen( $unit );
+ $unit_in_string = stristr( $string, $unit );
+ if ( ! $unit_in_string ) { // mb_strpos() fails with "false"
+ continue;
+ }
+ $actual_position = strpos( $string, $unit_in_string );
+ if ( $expect_unit_at === $actual_position ) {
+ $return[1] = $unit;
+ $string = substr( $string, 0, - strlen( $unit ) );
+ break;
+ }
+ }
+ if ( ! is_numeric( $string ) ) {
+ return false;
+ }
+ return $return;
+ }
+
+ /**
+ * Merges selectors with same properties. Example: a{color:red} b{color:red} -> a,b{color:red}
+ * Very basic and has at least one bug. Hopefully there is a replacement soon.
+ *
+ * @param array $array - the selector array.
+ * @access public
+ * @version 1.2
+ */
+ public function merge_selectors( &$array ) {
+ $css = $array;
+ foreach ( $css as $key => $value ) {
+ if ( ! isset( $css[ $key ] ) ) {
+ continue;
+ }
+ $newsel = '';
+
+ // Check if properties also exist in another selector.
+ $keys = array();
+ // PHP bug (?) without $css = $array; here.
+ foreach ( $css as $selector => $vali ) {
+ if ( $selector === $key ) {
+ continue;
+ }
+
+ if ( $css[ $key ] === $vali ) {
+ $keys[] = $selector;
+ }
+ }
+
+ if ( ! empty( $keys ) ) {
+ $newsel = $key;
+ unset( $css[ $key ] );
+ foreach ( $keys as $selector ) {
+ unset( $css[ $selector ] );
+ $newsel .= ',' . $selector;
+ }
+ $css[ $newsel ] = $value;
+ }
+ }
+ $array = $css;
+ }
+
+ /**
+ * Removes invalid selectors and their corresponding rule-sets as
+ * defined by 4.1.7 in REC-CSS2. This is a very rudimentary check
+ * and should be replaced by a full-blown parsing algorithm or
+ * regular expression
+ *
+ * @version 1.4
+ *
+ * @param array $array - selector array.
+ */
+ public function discard_invalid_selectors( &$array ) {
+ foreach ( $array as $selector => $decls ) {
+ $ok = true;
+ $selectors = array_map( 'trim', explode( ',', $selector ) );
+ foreach ( $selectors as $s ) {
+ $simple_selectors = preg_split( '/\s*[+>~\s]\s*/', $s );
+ foreach ( $simple_selectors as $ss ) {
+ if ( $ss === '' ) {
+ $ok = false;
+ }
+ // could also check $ss for internal structure, but that probably would be too slow.
+ }
+ }
+ if ( ! $ok ) {
+ unset( $array[ $selector ] );
+ }
+ }
+ }
+
+ /**
+ * Dissolves properties like padding:10px 10px 10px to padding-top:10px;padding-bottom:10px;...
+ *
+ * @param string $property - the property.
+ * @param string $value - the value.
+ * @return array
+ * @version 1.0
+ * @see merge_4value_shorthands()
+ */
+ public static function dissolve_4value_shorthands( $property, $value ) {
+ $shorthands = & $GLOBALS['csstidy']['shorthands'];
+ if ( ! is_array( $shorthands[ $property ] ) ) {
+ $return = array();
+ $return[ $property ] = $value;
+ return $return;
+ }
+
+ $important = '';
+ if ( csstidy::is_important( $value ) ) {
+ $value = csstidy::gvw_important( $value );
+ $important = '!important';
+ }
+ $values = explode( ' ', $value );
+
+ $return = array();
+ if ( count( $values ) === 4 ) {
+ for ( $i = 0; $i < 4; $i++ ) {
+ $return[ $shorthands[ $property ][ $i ] ] = $values[ $i ] . $important;
+ }
+ } elseif ( count( $values ) === 3 ) {
+ $return[ $shorthands[ $property ][0] ] = $values[0] . $important;
+ $return[ $shorthands[ $property ][1] ] = $values[1] . $important;
+ $return[ $shorthands[ $property ][3] ] = $values[1] . $important;
+ $return[ $shorthands[ $property ][2] ] = $values[2] . $important;
+ } elseif ( count( $values ) === 2 ) {
+ for ( $i = 0; $i < 4; $i++ ) {
+ $return[ $shorthands[ $property ][ $i ] ] = ( ( $i % 2 !== 0 ) ) ? $values[1] . $important : $values[0] . $important;
+ }
+ } else {
+ for ( $i = 0; $i < 4; $i++ ) {
+ $return[ $shorthands[ $property ][ $i ] ] = $values[0] . $important;
+ }
+ }
+
+ return $return;
+ }
+
+ /**
+ * Explodes a string as explode() does, however, not if $sep is escaped or within a string.
+ *
+ * @param string $sep - seperator.
+ * @param string $string - the string.
+ * @return array
+ * @version 1.0
+ */
+ public static function explode_ws( $sep, $string ) {
+ $status = 'st';
+ $to = '';
+
+ $output = array();
+ $num = 0;
+ for ( $i = 0, $len = strlen( $string ); $i < $len; $i++ ) {
+ switch ( $status ) {
+ case 'st':
+ if ( $string[ $i ] === $sep && ! csstidy::escaped( $string, $i ) ) {
+ ++$num;
+ } elseif ( $string[ $i ] === '"' || $string[ $i ] === '\'' || $string[ $i ] === '(' && ! csstidy::escaped( $string, $i ) ) {
+ $status = 'str';
+ $to = ( $string[ $i ] === '(' ) ? ')' : $string[ $i ];
+ ( isset( $output[ $num ] ) ) ? $output[ $num ] .= $string[ $i ] : $output[ $num ] = $string[ $i ];
+ } else {
+ ( isset( $output[ $num ] ) ) ? $output[ $num ] .= $string[ $i ] : $output[ $num ] = $string[ $i ];
+ }
+ break;
+
+ case 'str':
+ if ( $string[ $i ] === $to && ! csstidy::escaped( $string, $i ) ) {
+ $status = 'st';
+ }
+ ( isset( $output[ $num ] ) ) ? $output[ $num ] .= $string[ $i ] : $output[ $num ] = $string[ $i ];
+ break;
+ }
+ }
+
+ if ( isset( $output[0] ) ) {
+ return $output;
+ } else {
+ return array( $output );
+ }
+ }
+
+ /**
+ * Merges Shorthand properties again, the opposite of dissolve_4value_shorthands()
+ *
+ * @param array $array - the property array.
+ * @return array
+ * @version 1.2
+ * @see dissolve_4value_shorthands()
+ */
+ public static function merge_4value_shorthands( $array ) {
+ $return = $array;
+ $shorthands = & $GLOBALS['csstidy']['shorthands'];
+
+ foreach ( $shorthands as $key => $value ) {
+ if ( isset( $array[ $value[0] ] ) && isset( $array[ $value[1] ] )
+ && isset( $array[ $value[2] ] ) && isset( $array[ $value[3] ] ) && $value !== 0 ) {
+ $return[ $key ] = '';
+
+ $important = '';
+ for ( $i = 0; $i < 4; $i++ ) {
+ $val = $array[ $value[ $i ] ];
+ if ( csstidy::is_important( $val ) ) {
+ $important = '!important';
+ $return[ $key ] .= csstidy::gvw_important( $val ) . ' ';
+ } else {
+ $return[ $key ] .= $val . ' ';
+ }
+ unset( $return[ $value[ $i ] ] );
+ }
+ $return[ $key ] = self::shorthand( trim( $return[ $key ] . $important ) );
+ }
+ }
+ return $return;
+ }
+
+ /**
+ * Dissolve background property
+ *
+ * @param string $str_value - the string value.
+ * @return array
+ * @version 1.0
+ * @see merge_bg()
+ * @todo full CSS 3 compliance
+ */
+ public static function dissolve_short_bg( $str_value ) {
+ $have = array();
+ // don't try to explose background gradient !
+ if ( stripos( $str_value, 'gradient(' ) !== false ) {
+ return array( 'background' => $str_value );
+ }
+
+ $background_prop_default = & $GLOBALS['csstidy']['background_prop_default'];
+ $repeat = array( 'repeat', 'repeat-x', 'repeat-y', 'no-repeat', 'space' );
+ $attachment = array( 'scroll', 'fixed', 'local' );
+ $clip = array( 'border', 'padding' );
+ $origin = array( 'border', 'padding', 'content' );
+ $pos = array( 'top', 'center', 'bottom', 'left', 'right' );
+ $important = '';
+ $return = array(
+ 'background-image' => null,
+ 'background-size' => null,
+ 'background-repeat' => null,
+ 'background-position' => null,
+ 'background-attachment' => null,
+ 'background-clip' => null,
+ 'background-origin' => null,
+ 'background-color' => null,
+ );
+
+ if ( csstidy::is_important( $str_value ) ) {
+ $important = ' !important';
+ $str_value = csstidy::gvw_important( $str_value );
+ }
+
+ $str_value = self::explode_ws( ',', $str_value );
+ for ( $i = 0, $l = count( $str_value ); $i < $l; $i++ ) {
+ $have['clip'] = false;
+ $have['pos'] = false;
+ $have['color'] = false;
+ $have['bg'] = false;
+
+ if ( is_array( $str_value[ $i ] ) ) {
+ $str_value[ $i ] = $str_value[ $i ][0];
+ }
+ $str_value[ $i ] = self::explode_ws( ' ', trim( $str_value[ $i ] ) );
+
+ for ( $j = 0, $k = count( $str_value[ $i ] ); $j < $k; $j++ ) {
+ if ( $have['bg'] === false && ( substr( $str_value[ $i ][ $j ], 0, 4 ) === 'url(' || $str_value[ $i ][ $j ] === 'none' ) ) {
+ $return['background-image'] .= $str_value[ $i ][ $j ] . ',';
+ $have['bg'] = true;
+ } elseif ( in_array( $str_value[ $i ][ $j ], $repeat, true ) ) {
+ $return['background-repeat'] .= $str_value[ $i ][ $j ] . ',';
+ } elseif ( in_array( $str_value[ $i ][ $j ], $attachment, true ) ) {
+ $return['background-attachment'] .= $str_value[ $i ][ $j ] . ',';
+ } elseif ( in_array( $str_value[ $i ][ $j ], $clip, true ) && ! $have['clip'] ) {
+ $return['background-clip'] .= $str_value[ $i ][ $j ] . ',';
+ $have['clip'] = true;
+ } elseif ( in_array( $str_value[ $i ][ $j ], $origin, true ) ) {
+ $return['background-origin'] .= $str_value[ $i ][ $j ] . ',';
+ } elseif ( $str_value[ $i ][ $j ][0] === '(' ) {
+ $return['background-size'] .= substr( $str_value[ $i ][ $j ], 1, -1 ) . ',';
+ } elseif ( in_array( $str_value[ $i ][ $j ], $pos, true ) || is_numeric( $str_value[ $i ][ $j ][0] ) || $str_value[ $i ][ $j ][0] === null || $str_value[ $i ][ $j ][0] === '-' || $str_value[ $i ][ $j ][0] === '.' ) {
+ $return['background-position'] .= $str_value[ $i ][ $j ];
+ if ( ! $have['pos'] ) {
+ $return['background-position'] .= ' ';
+ } else {
+ $return['background-position'] .= ',';
+ }
+ $have['pos'] = true;
+ } elseif ( ! $have['color'] ) {
+ $return['background-color'] .= $str_value[ $i ][ $j ] . ',';
+ $have['color'] = true;
+ }
+ }
+ }
+
+ foreach ( $background_prop_default as $bg_prop => $default_value ) {
+ if ( $return[ $bg_prop ] !== null ) {
+ $return[ $bg_prop ] = substr( $return[ $bg_prop ], 0, -1 ) . $important;
+ } else {
+ $return[ $bg_prop ] = $default_value . $important;
+ }
+ }
+ return $return;
+ }
+
+ /**
+ * Merges all background properties
+ *
+ * @param array $input_css - inputted CSS.
+ * @return array
+ * @version 1.0
+ * @see dissolve_short_bg()
+ * @todo full CSS 3 compliance
+ */
+ public static function merge_bg( $input_css ) {
+ $background_prop_default = & $GLOBALS['csstidy']['background_prop_default'];
+ // Max number of background images. CSS3 not yet fully implemented.
+ $number_of_values = @max( count( self::explode_ws( ',', $input_css['background-image'] ) ), count( self::explode_ws( ',', $input_css['background-color'] ) ), 1 ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
+ // Array with background images to check if BG image exists.
+ $bg_img_array = @self::explode_ws( ',', csstidy::gvw_important( $input_css['background-image'] ) ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
+ $new_bg_value = '';
+ $important = '';
+
+ // if background properties is here and not empty, don't try anything.
+ if ( isset( $input_css['background'] ) && $input_css['background'] ) {
+ return $input_css;
+ }
+
+ for ( $i = 0; $i < $number_of_values; $i++ ) {
+ foreach ( $background_prop_default as $bg_property => $default_value ) {
+ // Skip if property does not exist
+ if ( ! isset( $input_css[ $bg_property ] ) ) {
+ continue;
+ }
+
+ $cur_value = $input_css[ $bg_property ];
+ // skip all optimisation if gradient() somewhere.
+ if ( stripos( $cur_value, 'gradient(' ) !== false ) {
+ return $input_css;
+ }
+
+ // Skip some properties if there is no background image.
+ if ( ( ! isset( $bg_img_array[ $i ] ) || $bg_img_array[ $i ] === 'none' )
+ && ( $bg_property === 'background-size' || $bg_property === 'background-position'
+ || $bg_property === 'background-attachment' || $bg_property === 'background-repeat' ) ) {
+ continue;
+ }
+
+ // Remove !important.
+ if ( csstidy::is_important( $cur_value ) ) {
+ $important = ' !important';
+ $cur_value = csstidy::gvw_important( $cur_value );
+ }
+
+ // Do not add default values.
+ if ( $cur_value === $default_value ) {
+ continue;
+ }
+
+ $temp = self::explode_ws( ',', $cur_value );
+
+ if ( isset( $temp[ $i ] ) ) {
+ if ( $bg_property === 'background-size' ) {
+ $new_bg_value .= '(' . $temp[ $i ] . ') ';
+ } else {
+ $new_bg_value .= $temp[ $i ] . ' ';
+ }
+ }
+ }
+
+ $new_bg_value = trim( $new_bg_value );
+ if ( $i !== $number_of_values - 1 ) {
+ $new_bg_value .= ',';
+ }
+ }
+
+ // Delete all background-properties.
+ foreach ( $background_prop_default as $bg_property => $default_value ) {
+ unset( $input_css[ $bg_property ] );
+ }
+
+ // Add new background property.
+ if ( $new_bg_value !== '' ) {
+ $input_css['background'] = $new_bg_value . $important;
+ } elseif ( isset( $input_css['background'] ) ) {
+ $input_css['background'] = 'none';
+ }
+
+ return $input_css;
+ }
+
+ /**
+ * Dissolve font property
+ *
+ * @param string $str_value - the string value.
+ * @return array
+ * @version 1.3
+ * @see merge_font()
+ */
+ public static function dissolve_short_font( $str_value ) {
+ $have = array();
+ $font_prop_default = & $GLOBALS['csstidy']['font_prop_default'];
+ $font_weight = array( 'normal', 'bold', 'bolder', 'lighter', '100', '200', '300', '400', '500', '600', '700', '800', '900' );
+ $font_variant = array( 'normal', 'small-caps' );
+ $font_style = array( 'normal', 'italic', 'oblique' );
+ $important = '';
+ $return = array(
+ 'font-style' => null,
+ 'font-variant' => null,
+ 'font-weight' => null,
+ 'font-size' => null,
+ 'line-height' => null,
+ 'font-family' => null,
+ );
+
+ if ( csstidy::is_important( $str_value ) ) {
+ $important = '!important';
+ $str_value = csstidy::gvw_important( $str_value );
+ }
+
+ $have['style'] = false;
+ $have['variant'] = false;
+ $have['weight'] = false;
+ $have['size'] = false;
+ // Detects if font-family consists of several words w/o quotes.
+ $multiwords = false;
+
+ // Workaround with multiple font-family.
+ $str_value = self::explode_ws( ',', trim( $str_value ) );
+
+ $str_value[0] = self::explode_ws( ' ', trim( $str_value[0] ) );
+
+ for ( $j = 0, $k = count( $str_value[0] ); $j < $k; $j++ ) {
+ if ( $have['weight'] === false && in_array( $str_value[0][ $j ], $font_weight, true ) ) {
+ $return['font-weight'] = $str_value[0][ $j ];
+ $have['weight'] = true;
+ } elseif ( $have['variant'] === false && in_array( $str_value[0][ $j ], $font_variant, true ) ) {
+ $return['font-variant'] = $str_value[0][ $j ];
+ $have['variant'] = true;
+ } elseif ( $have['style'] === false && in_array( $str_value[0][ $j ], $font_style, true ) ) {
+ $return['font-style'] = $str_value[0][ $j ];
+ $have['style'] = true;
+ } elseif ( $have['size'] === false && ( is_numeric( $str_value[0][ $j ][0] ) || $str_value[0][ $j ][0] === null || $str_value[0][ $j ][0] === '.' ) ) {
+ $size = self::explode_ws( '/', trim( $str_value[0][ $j ] ) );
+ $return['font-size'] = $size[0];
+ if ( isset( $size[1] ) ) {
+ $return['line-height'] = $size[1];
+ } else {
+ $return['line-height'] = ''; // don't add 'normal' !
+ }
+ $have['size'] = true;
+ } else {
+ if ( isset( $return['font-family'] ) ) {
+ $return['font-family'] .= ' ' . $str_value[0][ $j ];
+ $multiwords = true;
+ } else {
+ $return['font-family'] = $str_value[0][ $j ];
+ }
+ }
+ }
+ // add quotes if we have several qords in font-family.
+ if ( $multiwords !== false ) {
+ $return['font-family'] = '"' . $return['font-family'] . '"';
+ }
+ $i = 1;
+ while ( isset( $str_value[ $i ] ) ) {
+ $return['font-family'] .= ',' . trim( $str_value[ $i ] );
+ $i++;
+ }
+
+ // Fix for 100 and more font-size.
+ if ( $have['size'] === false && isset( $return['font-weight'] ) &&
+ is_numeric( $return['font-weight'][0] )
+ ) {
+ $return['font-size'] = $return['font-weight'];
+ unset( $return['font-weight'] );
+ }
+
+ foreach ( $font_prop_default as $font_prop => $default_value ) {
+ if ( $return[ $font_prop ] !== null ) {
+ $return[ $font_prop ] = $return[ $font_prop ] . $important;
+ } else {
+ $return[ $font_prop ] = $default_value . $important;
+ }
+ }
+ return $return;
+ }
+
+ /**
+ * Merges all fonts properties
+ *
+ * @param array $input_css - input CSS.
+ * @return array
+ * @version 1.3
+ * @see dissolve_short_font()
+ */
+ public static function merge_font( $input_css ) {
+ $font_prop_default = & $GLOBALS['csstidy']['font_prop_default'];
+ $new_font_value = '';
+ $important = '';
+ // Skip if not font-family and font-size set.
+ if ( isset( $input_css['font-family'] ) && isset( $input_css['font-size'] ) ) {
+ // fix several words in font-family - add quotes.
+ if ( isset( $input_css['font-family'] ) ) {
+ $families = explode( ',', $input_css['font-family'] );
+ $result_families = array();
+ foreach ( $families as $family ) {
+ $family = trim( $family );
+ $len = strlen( $family );
+ if ( strpos( $family, ' ' ) &&
+ ! ( ( $family[0] === '"' && $family[ $len - 1 ] === '"' ) ||
+ ( $family[0] === "'" && $family[ $len - 1 ] === "'" ) ) ) {
+ $family = '"' . $family . '"';
+ }
+ $result_families[] = $family;
+ }
+ $input_css['font-family'] = implode( ',', $result_families );
+ }
+ foreach ( $font_prop_default as $font_property => $default_value ) {
+
+ // Skip if property does not exist.
+ if ( ! isset( $input_css[ $font_property ] ) ) {
+ continue;
+ }
+
+ $cur_value = $input_css[ $font_property ];
+
+ // Skip if default value is used.
+ if ( $cur_value === $default_value ) {
+ continue;
+ }
+
+ // Remove !important.
+ if ( csstidy::is_important( $cur_value ) ) {
+ $important = '!important';
+ $cur_value = csstidy::gvw_important( $cur_value );
+ }
+
+ $new_font_value .= $cur_value;
+ // Add delimiter.
+ $new_font_value .= ( $font_property === 'font-size' &&
+ isset( $input_css['line-height'] ) ) ? '/' : ' ';
+ }
+
+ $new_font_value = trim( $new_font_value );
+
+ // Delete all font-properties.
+ foreach ( $font_prop_default as $font_property => $default_value ) {
+ if ( $font_property !== 'font' || ! $new_font_value ) {
+ unset( $input_css[ $font_property ] );
+ }
+ }
+
+ // Add new font property.
+ if ( $new_font_value !== '' ) {
+ $input_css['font'] = $new_font_value . $important;
+ }
+ }
+
+ return $input_css;
+ }
+
+}
diff --git a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-print.php b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-print.php
new file mode 100644
index 00000000..5ce9de5b
--- /dev/null
+++ b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-print.php
@@ -0,0 +1,432 @@
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * CSSTidy - CSS Parser and Optimiser
+ *
+ * CSS Printing class
+ * This class prints CSS data generated by csstidy.
+ *
+ * Copyright 2005, 2006, 2007 Florian Schmitz
+ *
+ * This file is part of CSSTidy.
+ *
+ * CSSTidy is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
+ * (at your option) any later version.
+ *
+ * CSSTidy is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ * @license https://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
+ * @package csstidy
+ * @author Florian Schmitz (floele at gmail dot com) 2005-2007
+ * @author Brett Zamir (brettz9 at yahoo dot com) 2007
+ * @author Cedric Morin (cedric at yterium dot com) 2010
+ */
+
+/**
+ * CSS Printing class
+ *
+ * This class prints CSS data generated by csstidy.
+ *
+ * @package csstidy
+ * @author Florian Schmitz (floele at gmail dot com) 2005-2006
+ * @version 1.0.1
+ */
+class csstidy_print { // phpcs:ignore
+
+ /**
+ * Saves the input CSS string
+ *
+ * @var string
+ * @access private
+ */
+ public $input_css = '';
+ /**
+ * Saves the formatted CSS string
+ *
+ * @var string
+ * @access public
+ */
+ public $output_css = '';
+ /**
+ * Saves the formatted CSS string (plain text)
+ *
+ * @var string
+ * @access public
+ */
+ public $output_css_plain = '';
+
+ /**
+ * Constructor
+ *
+ * @param array $css contains the class csstidy.
+ * @access private
+ * @version 1.0
+ */
+ public function __construct( &$css ) {
+ $this->parser = & $css;
+ $this->css = & $css->css;
+ $this->template = & $css->template;
+ $this->tokens = & $css->tokens;
+ $this->charset = & $css->charset;
+ $this->import = & $css->import;
+ $this->namespace = & $css->namespace;
+ }
+
+ /**
+ * Call constructor function.
+ *
+ * @param object $css - the CSS we're working with.
+ */
+ public function csstidy_print( &$css ) {
+ $this->__construct( $css );
+ }
+
+ /**
+ * Resets output_css and output_css_plain (new css code)
+ *
+ * @access private
+ * @version 1.0
+ */
+ public function _reset() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
+ $this->output_css = '';
+ $this->output_css_plain = '';
+ }
+
+ /**
+ * Returns the CSS code as plain text
+ *
+ * @param string $default_media default @media to add to selectors without any @media.
+ * @return string
+ * @access public
+ * @version 1.0
+ */
+ public function plain( $default_media = '' ) {
+ $this->_print( true, $default_media );
+ return $this->output_css_plain;
+ }
+
+ /**
+ * Returns the formatted CSS code
+ *
+ * @param string $default_media default @media to add to selectors without any @media.
+ * @return string
+ * @access public
+ * @version 1.0
+ */
+ public function formatted( $default_media = '' ) {
+ $this->_print( false, $default_media );
+ return $this->output_css;
+ }
+
+ /**
+ * Returns the formatted CSS code to make a complete webpage
+ *
+ * @param string $doctype shorthand for the document type.
+ * @param bool $externalcss indicates whether styles to be attached internally or as an external stylesheet.
+ * @param string $title title to be added in the head of the document.
+ * @param string $lang two-letter language code to be added to the output.
+ * @return string
+ * @access public
+ * @version 1.4
+ */
+ public function formatted_page( $doctype = 'xhtml1.1', $externalcss = true, $title = '', $lang = 'en' ) {
+ switch ( $doctype ) {
+ case 'xhtml1.0strict':
+ $doctype_output = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
+ break;
+ case 'xhtml1.1':
+ default:
+ $doctype_output = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
+ break;
+ }
+ $cssparsed = '';
+ $output = '';
+ $this->output_css_plain = & $output;
+
+ $output .= $doctype_output . "\n" . '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . $lang . '"';
+ $output .= ( $doctype === 'xhtml1.1' ) ? '>' : ' lang="' . $lang . '">';
+ $output .= "\n<head>\n <title>$title</title>";
+
+ if ( $externalcss ) {
+ $output .= "\n <style type=\"text/css\">\n";
+ $cssparsed = file_get_contents( 'cssparsed.css' ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
+ $output .= $cssparsed; // Adds an invisible BOM or something, but not in css_optimised.php
+ $output .= "\n</style>";
+ } else {
+ $output .= "\n" . ' <link rel="stylesheet" type="text/css" href="cssparsed.css" />'; // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet
+ // }
+ }
+ $output .= "\n</head>\n<body><code id=\"copytext\">";
+ $output .= $this->formatted();
+ $output .= '</code>' . "\n" . '</body></html>';
+ return $this->output_css_plain;
+ }
+
+ /**
+ * Returns the formatted CSS Code and saves it into $this->output_css and $this->output_css_plain
+ *
+ * @param bool $plain plain text or not.
+ * @param string $default_media default @media to add to selectors without any @media.
+ * @access private
+ * @version 2.0
+ */
+ public function _print( $plain = false, $default_media = '' ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore -- print is a reserved word anyway.
+ if ( $this->output_css && $this->output_css_plain ) {
+ return;
+ }
+
+ $output = '';
+ if ( ! $this->parser->get_cfg( 'preserve_css' ) ) {
+ $this->convert_raw_css( $default_media );
+ }
+
+ $template = & $this->template;
+
+ if ( $plain ) {
+ $template = array_map( 'strip_tags', $template );
+ }
+
+ if ( $this->parser->get_cfg( 'timestamp' ) ) {
+ array_unshift( $this->tokens, array( COMMENT, ' CSSTidy ' . $this->parser->version . ': ' . gmdate( 'r' ) . ' ' ) );
+ }
+
+ if ( ! empty( $this->charset ) ) {
+ $output .= $template[0] . '@charset ' . $template[5] . $this->charset . $template[6];
+ }
+
+ if ( ! empty( $this->import ) ) {
+ for ( $i = 0, $size = count( $this->import ); $i < $size; $i++ ) {
+ $import_components = explode( ' ', $this->import[ $i ] );
+ if ( substr( $import_components[0], 0, 4 ) === 'url(' && substr( $import_components[0], -1, 1 ) === ')' ) {
+ $import_components[0] = '\'' . trim( substr( $import_components[0], 4, -1 ), "'\"" ) . '\'';
+ $this->import[ $i ] = implode( ' ', $import_components );
+ $this->parser->log( 'Optimised @import : Removed "url("', 'Information' );
+ }
+ $output .= $template[0] . '@import ' . $template[5] . $this->import[ $i ] . $template[6];
+ }
+ }
+ if ( ! empty( $this->namespace ) ) {
+ if ( substr( $this->namespace, 0, 4 ) === 'url(' && substr( $this->namespace, -1, 1 ) === ')' ) {
+ $this->namespace = '\'' . substr( $this->namespace, 4, -1 ) . '\'';
+ $this->parser->log( 'Optimised @namespace : Removed "url("', 'Information' );
+ }
+ $output .= $template[0] . '@namespace ' . $template[5] . $this->namespace . $template[6];
+ }
+
+ $output .= $template[13];
+ $in_at_out = '';
+ $out = & $output;
+
+ foreach ( $this->tokens as $key => $token ) {
+ switch ( $token[0] ) {
+ case AT_START:
+ $out .= $template[0] . $this->htmlsp( $token[1], $plain ) . $template[1];
+ $out = & $in_at_out;
+ break;
+
+ case SEL_START:
+ if ( $this->parser->get_cfg( 'lowercase_s' ) ) {
+ $token[1] = strtolower( $token[1] );
+ }
+ $out .= ( $token[1][0] !== '@' ) ? $template[2] . $this->htmlsp( $token[1], $plain ) : $template[0] . $this->htmlsp( $token[1], $plain );
+ $out .= $template[3];
+ break;
+
+ case PROPERTY:
+ if ( $this->parser->get_cfg( 'case_properties' ) === 2 ) {
+ $token[1] = strtoupper( $token[1] );
+ } elseif ( $this->parser->get_cfg( 'case_properties' ) === 1 ) {
+ $token[1] = strtolower( $token[1] );
+ }
+ $out .= $template[4] . $this->htmlsp( $token[1], $plain ) . ':' . $template[5];
+ break;
+
+ case VALUE:
+ $out .= $this->htmlsp( $token[1], $plain );
+ if ( $this->seeknocomment( $key, 1 ) === SEL_END && $this->parser->get_cfg( 'remove_last_;' ) ) {
+ $out .= str_replace( ';', '', $template[6] );
+ } else {
+ $out .= $template[6];
+ }
+ break;
+
+ case SEL_END:
+ $out .= $template[7];
+ if ( $this->seeknocomment( $key, 1 ) !== AT_END ) {
+ $out .= $template[8];
+ }
+ break;
+
+ case AT_END:
+ $out = & $output;
+ $out .= $template[10] . str_replace( "\n", "\n" . $template[10], $in_at_out );
+ $in_at_out = '';
+ $out .= $template[9];
+ break;
+
+ case COMMENT:
+ $out .= $template[11] . '/*' . $this->htmlsp( $token[1], $plain ) . '*/' . $template[12];
+ break;
+ }
+ }
+
+ $output = trim( $output );
+
+ if ( ! $plain ) {
+ $this->output_css = $output;
+ $this->_print( true );
+ } else {
+ // If using spaces in the template, don't want these to appear in the plain output
+ $this->output_css_plain = str_replace( '&#160;', '', $output );
+ }
+ }
+
+ /**
+ * Gets the next token type which is $move away from $key, excluding comments
+ *
+ * @param integer $key current position.
+ * @param integer $move move this far.
+ * @return mixed a token type
+ * @access private
+ * @version 1.0
+ */
+ public function seeknocomment( $key, $move ) {
+ $go = ( $move > 0 ) ? 1 : -1;
+ for ( $i = $key + 1; abs( $key - $i ) - 1 < abs( $move ); $i += $go ) { // phpcs:ignore Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed
+ if ( ! isset( $this->tokens[ $i ] ) ) {
+ return;
+ }
+ if ( $this->tokens[ $i ][0] === COMMENT ) {
+ ++$move;
+ continue;
+ }
+ return $this->tokens[ $i ][0];
+ }
+ }
+
+ /**
+ * Converts $this->css array to a raw array ($this->tokens)
+ *
+ * @param string $default_media default @media to add to selectors without any @media.
+ * @access private
+ * @version 1.0
+ */
+ public function convert_raw_css( $default_media = '' ) {
+ $this->tokens = array();
+
+ foreach ( $this->css as $medium => $val ) {
+ if ( $this->parser->get_cfg( 'sort_selectors' ) ) {
+ ksort( $val );
+ }
+ if ( (int) $medium < DEFAULT_AT ) {
+ $this->parser->_add_token( AT_START, $medium, true );
+ } elseif ( $default_media ) {
+ $this->parser->_add_token( AT_START, $default_media, true );
+ }
+
+ foreach ( $val as $selector => $vali ) {
+ if ( $this->parser->get_cfg( 'sort_properties' ) ) {
+ ksort( $vali );
+ }
+ $this->parser->_add_token( SEL_START, $selector, true );
+
+ foreach ( $vali as $property => $valj ) {
+ $this->parser->_add_token( PROPERTY, $property, true );
+ $this->parser->_add_token( VALUE, $valj, true );
+ }
+
+ $this->parser->_add_token( SEL_END, $selector, true );
+ }
+
+ if ( (int) $medium < DEFAULT_AT ) {
+ $this->parser->_add_token( AT_END, $medium, true );
+ } elseif ( $default_media ) {
+ $this->parser->_add_token( AT_END, $default_media, true );
+ }
+ }
+ }
+
+ /**
+ * Same as htmlspecialchars, only that chars are not replaced if $plain !== true. This makes print_code() cleaner.
+ *
+ * @param string $string - the string we're converting.
+ * @param bool $plain - plain text or not.
+ * @return string
+ * @see csstidy_print::_print()
+ * @access private
+ * @version 1.0
+ */
+ public function htmlsp( $string, $plain ) {
+ if ( ! $plain ) {
+ return htmlspecialchars( $string, ENT_QUOTES, 'utf-8' );
+ }
+ return $string;
+ }
+
+ /**
+ * Get compression ratio
+ *
+ * @access public
+ * @return float
+ * @version 1.2
+ */
+ public function get_ratio() {
+ if ( ! $this->output_css_plain ) {
+ $this->formatted();
+ }
+ return round( ( strlen( $this->input_css ) - strlen( $this->output_css_plain ) ) / strlen( $this->input_css ), 3 ) * 100;
+ }
+
+ /**
+ * Get difference between the old and new code in bytes and prints the code if necessary.
+ *
+ * @access public
+ * @return string
+ * @version 1.1
+ */
+ public function get_diff() {
+ if ( ! $this->output_css_plain ) {
+ $this->formatted();
+ }
+
+ $diff = strlen( $this->output_css_plain ) - strlen( $this->input_css );
+
+ if ( $diff > 0 ) {
+ return '+' . $diff;
+ } elseif ( $diff === 0 ) {
+ return '+-' . $diff;
+ }
+
+ return $diff;
+ }
+
+ /**
+ * Get the size of either input or output CSS in KB
+ *
+ * @param string $loc default is "output".
+ * @access public
+ * @return integer
+ * @version 1.0
+ */
+ public function size( $loc = 'output' ) {
+ if ( $loc === 'output' && ! $this->output_css ) {
+ $this->formatted();
+ }
+
+ if ( $loc === 'input' ) {
+ return ( strlen( $this->input_css ) / 1000 );
+ } else {
+ return ( strlen( $this->output_css_plain ) / 1000 );
+ }
+ }
+
+}
diff --git a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php
index 106a770b..f7286d27 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php
+++ b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* CSSTidy - CSS Parser and Optimiser
*
@@ -28,63 +28,69 @@
* @author Nikolay Matsievsky (speed at webo dot name) 2009-2010
* @author Cedric Morin (cedric at yterium dot com) 2010
*/
+
+// phpcs:disable WordPress.PHP.NoSilencedErrors.Discouraged
+
/**
* Defines ctype functions if required
*
* @version 1.0
*/
-require_once( dirname( __FILE__ ) . '/class.csstidy_ctype.php' );
+require_once __DIR__ . '/class.csstidy-ctype.php';
/**
* Various CSS data needed for correct optimisations etc.
*
* @version 1.3
*/
-require( dirname( __FILE__ ) . '/data.inc.php' );
+require __DIR__ . '/data.inc.php';
/**
* Contains a class for printing CSS code
*
* @version 1.0
*/
-require( dirname( __FILE__ ) . '/class.csstidy_print.php' );
+require __DIR__ . '/class.csstidy-print.php';
/**
* Contains a class for optimising CSS code
*
* @version 1.0
*/
-require( dirname( __FILE__ ) . '/class.csstidy_optimise.php' );
+require __DIR__ . '/class.csstidy-optimise.php';
/**
* CSS Parser class
- *
* This class represents a CSS parser which reads CSS code and saves it in an array.
* In opposite to most other CSS parsers, it does not use regular expressions and
* thus has full CSS2 support and a higher reliability.
* Additional to that it applies some optimisations and fixes to the CSS code.
* An online version should be available here: https://cdburnerxp.se/cssparse/css_optimiser.php
+ *
* @package csstidy
* @author Florian Schmitz (floele at gmail dot com) 2005-2006
* @version 1.3.1
*/
-class csstidy {
+class csstidy { // phpcs:ignore
/**
* Saves the parsed CSS. This array is empty if preserve_css is on.
+ *
* @var array
* @access public
*/
public $css = array();
/**
* Saves the parsed CSS (raw)
+ *
* @var array
* @access private
*/
public $tokens = array();
/**
* Printer class
+ *
* @see csstidy_print
* @var object
* @access public
@@ -92,6 +98,7 @@ class csstidy {
public $print;
/**
* Optimiser class
+ *
* @see csstidy_optimise
* @var object
* @access private
@@ -99,30 +106,35 @@ class csstidy {
public $optimise;
/**
* Saves the CSS charset (@charset)
+ *
* @var string
* @access private
*/
public $charset = '';
/**
* Saves all @import URLs
+ *
* @var array
* @access private
*/
public $import = array();
/**
* Saves the namespace
+ *
* @var string
* @access private
*/
public $namespace = '';
/**
* Contains the version of csstidy
+ *
* @var string
* @access private
*/
public $version = '1.3';
/**
* Stores the settings
+ *
* @var array
* @access private
*/
@@ -144,30 +156,35 @@ class csstidy {
public $status = 'is';
/**
* Saves the current at rule (@media)
+ *
* @var string
* @access private
*/
public $at = '';
/**
* Saves the current selector
+ *
* @var string
* @access private
*/
public $selector = '';
/**
* Saves the current property
+ *
* @var string
* @access private
*/
public $property = '';
/**
* Saves the position of , in selectors
+ *
* @var array
* @access private
*/
public $sel_separate = array();
/**
* Saves the current value
+ *
* @var string
* @access private
*/
@@ -179,12 +196,14 @@ class csstidy {
* background:url(foo.png) red no-repeat;
* "url(foo.png)", "red", and "no-repeat" are subvalues,
* separated by whitespace
+ *
* @var string
* @access private
*/
public $sub_value = '';
/**
* Array which saves all subvalues for a property.
+ *
* @var array
* @see sub_value
* @access private
@@ -192,13 +211,21 @@ class csstidy {
public $sub_value_arr = array();
/**
* Saves the stack of characters that opened the current strings
+ *
* @var array
* @access private
*/
public $str_char = array();
+ /**
+ * Current strings.
+ *
+ * @var array
+ * @access private
+ */
public $cur_string = array();
/**
* Status from which the parser switched to ic or instr
+ *
* @var array
* @access private
*/
@@ -206,30 +233,35 @@ class csstidy {
/**
/**
* =true if in invalid at-rule
+ *
* @var bool
* @access private
*/
public $invalid_at = false;
/**
* =true if something has been added to the current selector
+ *
* @var bool
* @access private
*/
public $added = false;
/**
* Array which saves the message log
+ *
* @var array
* @access private
*/
public $log = array();
/**
* Saves the line number
+ *
* @var integer
* @access private
*/
public $line = 1;
/**
* Marks if we need to leave quotes for a string
+ *
* @var array
* @access private
*/
@@ -237,125 +269,137 @@ class csstidy {
/**
* List of tokens
+ *
* @var string
*/
- public $tokens_list = "";
+ public $tokens_list = '';
/**
- * Loads standard template and sets default settings
+ * Loads standard template and sets default settings.
+ *
* @access private
* @version 1.3
*/
- function __construct() {
- $this->settings['remove_bslash'] = true;
- $this->settings['compress_colors'] = true;
+ public function __construct() {
+ $this->settings['remove_bslash'] = true;
+ $this->settings['compress_colors'] = true;
$this->settings['compress_font-weight'] = true;
- $this->settings['lowercase_s'] = false;
+ $this->settings['lowercase_s'] = false;
+
/*
- 1 common shorthands optimization
- 2 + font property optimization
- 3 + background property optimization
+ 1 common shorthands optimization
+ 2 + font property optimization
+ 3 + background property optimization
*/
$this->settings['optimise_shorthands'] = 1;
- $this->settings['remove_last_;'] = true;
+ $this->settings['remove_last_;'] = true;
/* rewrite all properties with low case, better for later gzip OK, safe*/
$this->settings['case_properties'] = 1;
- /* sort properties in alpabetic order, better for later gzip
+
+ /*
+ * sort properties in alpabetic order, better for later gzip
* but can cause trouble in case of overiding same propertie or using hack
*/
$this->settings['sort_properties'] = false;
+
/*
- 1, 3, 5, etc -- enable sorting selectors inside @media: a{}b{}c{}
- 2, 5, 8, etc -- enable sorting selectors inside one CSS declaration: a,b,c{}
- preserve order by default cause it can break functionnality
+ 1, 3, 5, etc -- enable sorting selectors inside @media: a{}b{}c{}
+ 2, 5, 8, etc -- enable sorting selectors inside one CSS declaration: a,b,c{}
+ preserve order by default cause it can break functionnality
*/
$this->settings['sort_selectors'] = 0;
/* is dangeroues to be used: CSS is broken sometimes */
$this->settings['merge_selectors'] = 0;
/* preserve or not browser hacks */
- $this->settings['discard_invalid_selectors'] = false;
+ $this->settings['discard_invalid_selectors'] = false;
$this->settings['discard_invalid_properties'] = false;
- $this->settings['css_level'] = 'CSS2.1';
- $this->settings['preserve_css'] = false;
- $this->settings['timestamp'] = false;
- $this->settings['template'] = ''; // say that propertie exist
- $this->set_cfg('template','default'); // call load_template
+ $this->settings['css_level'] = 'CSS2.1';
+ $this->settings['preserve_css'] = false;
+ $this->settings['timestamp'] = false;
+ $this->settings['template'] = ''; // say that propertie exist.
+ $this->set_cfg( 'template', 'default' ); // call load_template.
/* Tells csstidy_optimise to keep leading zeros on decimal numbers, e.g., 0.7 */
$this->settings['preserve_leading_zeros'] = false;
- $this->optimise = new csstidy_optimise($this);
+ $this->optimise = new csstidy_optimise( $this );
$this->tokens_list = & $GLOBALS['csstidy']['tokens'];
}
- function csstidy() {
+ /**
+ * Call the construct function.
+ */
+ public function csstidy() {
$this->__construct();
}
/**
* Get the value of a setting.
- * @param string $setting
+ *
+ * @param string $setting - the settings.
* @access public
* @return mixed
* @version 1.0
*/
- function get_cfg($setting) {
- if (isset($this->settings[$setting])) {
- return $this->settings[$setting];
+ public function get_cfg( $setting ) {
+ if ( isset( $this->settings[ $setting ] ) ) {
+ return $this->settings[ $setting ];
}
return false;
}
/**
* Load a template
- * @param string $template used by set_cfg to load a template via a configuration setting
+ *
+ * @param string $template used by set_cfg to load a template via a configuration setting.
* @access private
* @version 1.4
*/
- function _load_template($template) {
- switch ($template) {
+ public function _load_template( $template ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
+ switch ( $template ) {
case 'default':
- $this->load_template('default');
+ $this->load_template( 'default' );
break;
case 'highest':
- $this->load_template('highest_compression');
+ $this->load_template( 'highest_compression' );
break;
case 'high':
- $this->load_template('high_compression');
+ $this->load_template( 'high_compression' );
break;
case 'low':
- $this->load_template('low_compression');
+ $this->load_template( 'low_compression' );
break;
default:
- $this->load_template($template);
+ $this->load_template( $template );
break;
}
}
/**
* Set the value of a setting.
- * @param string $setting
- * @param mixed $value
+ *
+ * @param string $setting - the setting.
+ * @param mixed $value - the value we're setting.
* @access public
* @return bool
* @version 1.0
*/
- function set_cfg($setting, $value=null) {
- if (is_array($setting) && $value === null) {
- foreach ($setting as $setprop => $setval) {
- $this->settings[$setprop] = $setval;
+ public function set_cfg( $setting, $value = null ) {
+ if ( is_array( $setting ) && null === $value ) {
+ foreach ( $setting as $setprop => $setval ) {
+ $this->settings[ $setprop ] = $setval;
}
- if (array_key_exists('template', $setting)) {
- $this->_load_template($this->settings['template']);
+ if ( array_key_exists( 'template', $setting ) ) {
+ $this->_load_template( $this->settings['template'] );
}
return true;
- } else if (isset($this->settings[$setting]) && $value !== '') {
- $this->settings[$setting] = $value;
- if ($setting === 'template') {
- $this->_load_template($this->settings['template']);
+ } elseif ( isset( $this->settings[ $setting ] ) && '' !== $value ) {
+ $this->settings[ $setting ] = $value;
+ if ( 'template' === $setting ) {
+ $this->_load_template( $this->settings['template'] );
}
return true;
}
@@ -364,481 +408,482 @@ class csstidy {
/**
* Adds a token to $this->tokens
- * @param mixed $type
- * @param string $data
- * @param bool $do add a token even if preserve_css is off
+ *
+ * @param mixed $type - the type.
+ * @param string $data - data.
+ * @param bool $do add a token even if preserve_css is off.
* @access private
* @version 1.0
*/
- function _add_token($type, $data, $do = false) {
- if ($this->get_cfg('preserve_css') || $do) {
- $this->tokens[] = array($type, ($type == COMMENT) ? $data : trim($data));
+ public function _add_token( $type, $data, $do = false ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
+ if ( $this->get_cfg( 'preserve_css' ) || $do ) {
+ $this->tokens[] = array( $type, ( COMMENT === $type ) ? $data : trim( $data ) );
}
}
/**
* Add a message to the message log
- * @param string $message
- * @param string $type
- * @param integer $line
+ *
+ * @param string $message - the message.
+ * @param string $type - the type of message.
+ * @param integer $line - the line.
* @access private
* @version 1.0
*/
- function log($message, $type, $line = -1) {
- if ($line === -1) {
+ public function log( $message, $type, $line = -1 ) {
+ if ( -1 === $line ) {
$line = $this->line;
}
$line = (int) $line;
- $add = array('m' => $message, 't' => $type);
- if (!isset($this->log[$line]) || !in_array($add, $this->log[$line])) {
- $this->log[$line][] = $add;
+ $add = array(
+ 'm' => $message,
+ 't' => $type,
+ );
+ if ( ! isset( $this->log[ $line ] ) || ! in_array( $add, $this->log[ $line ], true ) ) {
+ $this->log[ $line ][] = $add;
}
}
/**
* Parse unicode notations and find a replacement character
- * @param string $string
- * @param integer $i
+ *
+ * @param string $string - a string.
+ * @param integer $i - counting integer.
* @access private
* @return string
* @version 1.2
*/
- function _unicode(&$string, &$i) {
+ public function _unicode( &$string, &$i ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
++$i;
- $add = '';
+ $add = '';
$replaced = false;
- while ($i < strlen($string) && (ctype_xdigit($string[$i]) || ctype_space($string[$i])) && strlen($add) < 6) {
- $add .= $string[$i];
+ while ( $i < strlen( $string ) && ( ctype_xdigit( $string[ $i ] ) || ctype_space( $string[ $i ] ) ) && strlen( $add ) < 6 ) { // phpcs:ignore Squiz.PHP.DisallowSizeFunctionsInLoops.Found
+ $add .= $string[ $i ];
- if (ctype_space($string[$i])) {
+ if ( ctype_space( $string[ $i ] ) ) {
break;
}
$i++;
}
- if (hexdec($add) > 47 && hexdec($add) < 58 || hexdec($add) > 64 && hexdec($add) < 91 || hexdec($add) > 96 && hexdec($add) < 123) {
- $this->log('Replaced unicode notation: Changed \\' . $add . ' to ' . chr(hexdec($add)), 'Information');
- $add = chr(hexdec($add));
+ if ( hexdec( $add ) > 47 && hexdec( $add ) < 58 || hexdec( $add ) > 64 && hexdec( $add ) < 91 || hexdec( $add ) > 96 && hexdec( $add ) < 123 ) {
+ $this->log( 'Replaced unicode notation: Changed \\' . $add . ' to ' . chr( hexdec( $add ) ), 'Information' );
+ $add = chr( hexdec( $add ) );
$replaced = true;
} else {
- $add = trim('\\' . $add);
+ $add = trim( '\\' . $add );
}
- if (@ctype_xdigit($string[$i + 1]) && ctype_space($string[$i])
- && !$replaced || !ctype_space($string[$i])) {
+ if ( @ctype_xdigit( $string[ $i + 1 ] ) && ctype_space( $string[ $i ] )
+ && ! $replaced || ! ctype_space( $string[ $i ] ) ) {
$i--;
}
- if ($add !== '\\' || !$this->get_cfg('remove_bslash') || strpos($this->tokens_list, $string[$i + 1]) !== false) {
+ if ( '\\' !== $add || ! $this->get_cfg( 'remove_bslash' ) || strpos( $this->tokens_list, $string[ $i + 1 ] ) !== false ) {
return $add;
}
- if ($add === '\\') {
- $this->log('Removed unnecessary backslash', 'Information');
+ if ( '\\' === $add ) {
+ $this->log( 'Removed unnecessary backslash', 'Information' );
}
return '';
}
/**
* Write formatted output to a file
- * @param string $filename
- * @param string $doctype when printing formatted, is a shorthand for the document type
- * @param bool $externalcss when printing formatted, indicates whether styles to be attached internally or as an external stylesheet
- * @param string $title when printing formatted, is the title to be added in the head of the document
- * @param string $lang when printing formatted, gives a two-letter language code to be added to the output
+ *
+ * @param string $filename - the file na,e.
+ * @param string $doctype when printing formatted, is a shorthand for the document type.
+ * @param bool $externalcss when printing formatted, indicates whether styles to be attached internally or as an external stylesheet.
+ * @param string $title when printing formatted, is the title to be added in the head of the document.
+ * @param string $lang when printing formatted, gives a two-letter language code to be added to the output.
* @access public
* @version 1.4
*/
- function write_page($filename, $doctype='xhtml1.1', $externalcss=true, $title='', $lang='en') {
- $this->write($filename, true);
+ public function write_page( $filename, $doctype = 'xhtml1.1', $externalcss = true, $title = '', $lang = 'en' ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ $this->write( $filename, true );
}
/**
* Write plain output to a file
- * @param string $filename
- * @param bool $formatted whether to print formatted or not
- * @param string $doctype when printing formatted, is a shorthand for the document type
- * @param bool $externalcss when printing formatted, indicates whether styles to be attached internally or as an external stylesheet
- * @param string $title when printing formatted, is the title to be added in the head of the document
- * @param string $lang when printing formatted, gives a two-letter language code to be added to the output
- * @param bool $pre_code whether to add pre and code tags around the code (for light HTML formatted templates)
+ *
+ * @param string $filename the file name.
+ * @param bool $formatted whether to print formatted or not.
+ * @param string $doctype when printing formatted, is a shorthand for the document type.
+ * @param bool $externalcss when printing formatted, indicates whether styles to be attached internally or as an external stylesheet.
+ * @param string $title when printing formatted, is the title to be added in the head of the document.
+ * @param string $lang when printing formatted, gives a two-letter language code to be added to the output.
+ * @param bool $pre_code whether to add pre and code tags around the code (for light HTML formatted templates).
* @access public
* @version 1.4
*/
- function write($filename, $formatted=false, $doctype='xhtml1.1', $externalcss=true, $title='', $lang='en', $pre_code=true) {
- $filename .= ( $formatted) ? '.xhtml' : '.css';
+ public function write( $filename, $formatted = false, $doctype = 'xhtml1.1', $externalcss = true, $title = '', $lang = 'en', $pre_code = true ) {
+ $filename .= ( $formatted ) ? '.xhtml' : '.css';
- if (!is_dir('temp')) {
- $madedir = mkdir('temp');
- if (!$madedir) {
- print 'Could not make directory "temp" in ' . dirname(__FILE__);
+ if ( ! is_dir( 'temp' ) ) {
+ $madedir = mkdir( 'temp' );
+ if ( ! $madedir ) {
+ print 'Could not make directory "temp" in ' . __DIR__;
exit;
}
}
- $handle = fopen('temp/' . $filename, 'w');
- if ($handle) {
- if (!$formatted) {
- fwrite($handle, $this->print->plain());
+ $handle = fopen( 'temp/' . $filename, 'w' ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fopen
+ if ( $handle ) {
+ if ( ! $formatted ) {
+ fwrite( $handle, $this->print->plain() ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fwrite
} else {
- fwrite($handle, $this->print->formatted_page($doctype, $externalcss, $title, $lang, $pre_code));
+ fwrite( $handle, $this->print->formatted_page( $doctype, $externalcss, $title, $lang, $pre_code ) ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fwrite
}
}
- fclose($handle);
+ fclose( $handle ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fclose
}
/**
* Loads a new template
- * @param string $content either filename (if $from_file == true), content of a template file, "high_compression", "highest_compression", "low_compression", or "default"
- * @param bool $from_file uses $content as filename if true
+ *
+ * @param string $content either filename (if $from_file == true), content of a template file, "high_compression", "highest_compression", "low_compression", or "default".
+ * @param bool $from_file uses $content as filename if true.
* @access public
* @version 1.1
* @see http://csstidy.sourceforge.net/templates.php
*/
- function load_template($content, $from_file=true) {
+ public function load_template( $content, $from_file = true ) {
$predefined_templates = & $GLOBALS['csstidy']['predefined_templates'];
- if ($content === 'high_compression' || $content === 'default' || $content === 'highest_compression' || $content === 'low_compression') {
- $this->template = $predefined_templates[$content];
+ if ( 'high_compression' === $content || 'default' === $content || 'highest_compression' === $content || 'low_compression' === $content ) {
+ $this->template = $predefined_templates[ $content ];
return;
}
-
- if ($from_file) {
- $content = strip_tags(file_get_contents($content), '<span>');
+ if ( $from_file ) {
+ $content = strip_tags( file_get_contents( $content ), '<span>' ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
}
- $content = str_replace("\r\n", "\n", $content); // Unify newlines (because the output also only uses \n)
- $template = explode('|', $content);
+ $content = str_replace( "\r\n", "\n", $content ); // Unify newlines (because the output also only uses \n).
+ $template = explode( '|', $content );
- for ($i = 0; $i < count($template); $i++) {
- $this->template[$i] = $template[$i];
- }
+ $this->template = array_replace( $this->template, $template );
}
/**
* Starts parsing from URL
- * @param string $url
+ *
+ * @param string $url - the URL.
* @access public
* @version 1.0
*/
- function parse_from_url($url) {
- return $this->parse(@file_get_contents($url));
+ public function parse_from_url( $url ) {
+ return $this->parse( @file_get_contents( $url ) ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
}
/**
* Checks if there is a token at the current position
- * @param string $string
- * @param integer $i
+ *
+ * @param string $string - the string we're checking.
+ * @param integer $i - an int.
* @access public
* @version 1.11
*/
- function is_token(&$string, $i) {
- return (strpos($this->tokens_list, $string[$i]) !== false && !csstidy::escaped($string, $i));
+ public function is_token( &$string, $i ) {
+ return ( strpos( $this->tokens_list, $string[ $i ] ) !== false && ! self::escaped( $string, $i ) );
}
/**
* Parses CSS in $string. The code is saved as array in $this->css
- * @param string $string the CSS code
+ *
+ * @param string $string the CSS code.
* @access public
* @return bool
* @version 1.1
*/
- function parse($string) {
- // Temporarily set locale to en_US in order to handle floats properly
- $old = @setlocale(LC_ALL, 0);
- @setlocale(LC_ALL, 'C');
+ public function parse( $string ) {
+ // Temporarily set locale to en_US in order to handle floats properly.
+ $old = @setlocale( LC_ALL, 0 );
+ @setlocale( LC_ALL, 'C' );
- // PHP bug? Settings need to be refreshed in PHP4
- $this->print = new csstidy_print($this);
- //$this->optimise = new csstidy_optimise($this);
+ // PHP bug? Settings need to be refreshed in PHP4.
+ $this->print = new csstidy_print( $this );
- $all_properties = & $GLOBALS['csstidy']['all_properties'];
- $at_rules = & $GLOBALS['csstidy']['at_rules'];
+ $at_rules = & $GLOBALS['csstidy']['at_rules'];
$quoted_string_properties = & $GLOBALS['csstidy']['quoted_string_properties'];
- $this->css = array();
+ $this->css = array();
$this->print->input_css = $string;
- $string = str_replace("\r\n", "\n", $string) . ' ';
- $cur_comment = '';
+ $string = str_replace( "\r\n", "\n", $string ) . ' ';
+ $cur_comment = '';
- for ($i = 0, $size = strlen($string); $i < $size; $i++) {
- if ($string[$i] === "\n" || $string[$i] === "\r") {
+ for ( $i = 0, $size = strlen( $string ); $i < $size; $i++ ) {
+ if ( "\n" === $string[ $i ] || "\r" === $string[ $i ] ) {
++$this->line;
}
- switch ($this->status) {
+ switch ( $this->status ) {
/* Case in at-block */
case 'at':
- if (csstidy::is_token($string, $i)) {
- if ($string[$i] === '/' && @$string[$i + 1] === '*') {
+ if ( self::is_token( $string, $i ) ) {
+ if ( '/' === $string[ $i ] && '*' === @$string[ $i + 1 ] ) {
$this->status = 'ic';
++$i;
$this->from[] = 'at';
- } elseif ($string[$i] === '{') {
+ } elseif ( '{' === $string[ $i ] ) {
$this->status = 'is';
- $this->at = $this->css_new_media_section($this->at);
- $this->_add_token(AT_START, $this->at);
- } elseif ($string[$i] === ',') {
- $this->at = trim($this->at) . ',';
- } elseif ($string[$i] === '\\') {
- $this->at .= $this->_unicode($string, $i);
- }
- // fix for complicated media, i.e @media screen and (-webkit-min-device-pixel-ratio:1.5)
- // '/' is included for ratios in Opera: (-o-min-device-pixel-ratio: 3/2)
- elseif (in_array($string[$i], array('(', ')', ':', '.', '/'))) {
- $this->at .= $string[$i];
+ $this->at = $this->css_new_media_section( $this->at );
+ $this->_add_token( AT_START, $this->at );
+ } elseif ( ',' === $string[ $i ] ) {
+ $this->at = trim( $this->at ) . ',';
+ } elseif ( '\\' === $string[ $i ] ) {
+ $this->at .= $this->_unicode( $string, $i );
+ } elseif ( in_array( $string[ $i ], array( '(', ')', ':', '.', '/' ), true ) ) {
+ // fix for complicated media, i.e @media screen and (-webkit-min-device-pixel-ratio:1.5)
+ // '/' is included for ratios in Opera: (-o-min-device-pixel-ratio: 3/2).
+ $this->at .= $string[ $i ];
}
} else {
- $lastpos = strlen($this->at) - 1;
- if (!( (ctype_space($this->at[$lastpos]) || csstidy::is_token($this->at, $lastpos) && $this->at[$lastpos] === ',') && ctype_space($string[$i]))) {
- $this->at .= $string[$i];
+ $lastpos = strlen( $this->at ) - 1;
+ if ( ! ( ( ctype_space( $this->at[ $lastpos ] ) || self::is_token( $this->at, $lastpos ) && ',' === $this->at[ $lastpos ] ) && ctype_space( $string[ $i ] ) ) ) {
+ $this->at .= $string[ $i ];
}
}
break;
/* Case in-selector */
case 'is':
- if (csstidy::is_token($string, $i)) {
- if ($string[$i] === '/' && @$string[$i + 1] === '*' && trim($this->selector) == '') {
+ if ( self::is_token( $string, $i ) ) {
+ if ( '/' === $string[ $i ] && '*' === @$string[ $i + 1 ] && '' === trim( $this->selector ) ) {
$this->status = 'ic';
++$i;
$this->from[] = 'is';
- } elseif ($string[$i] === '@' && trim($this->selector) == '') {
- // Check for at-rule
+ } elseif ( '@' === $string[ $i ] && '' === trim( $this->selector ) ) {
+ // Check for at-rule.
$this->invalid_at = true;
- foreach ($at_rules as $name => $type) {
- if (!strcasecmp(substr($string, $i + 1, strlen($name)), $name)) {
- ($type === 'at') ? $this->at = '@' . $name : $this->selector = '@' . $name;
- $this->status = $type;
- $i += strlen($name);
- $this->invalid_at = false;
+ foreach ( $at_rules as $name => $type ) {
+ if ( ! strcasecmp( substr( $string, $i + 1, strlen( $name ) ), $name ) ) {
+ ( 'at' === $type ) ? $this->at = '@' . $name : $this->selector = '@' . $name;
+ $this->status = $type;
+ $i += strlen( $name );
+ $this->invalid_at = false;
}
}
- if ($this->invalid_at) {
- $this->selector = '@';
+ if ( $this->invalid_at ) {
+ $this->selector = '@';
$invalid_at_name = '';
- for ($j = $i + 1; $j < $size; ++$j) {
- if (!ctype_alpha($string[$j])) {
+ for ( $j = $i + 1; $j < $size; ++$j ) {
+ if ( ! ctype_alpha( $string[ $j ] ) ) {
break;
}
- $invalid_at_name .= $string[$j];
+ $invalid_at_name .= $string[ $j ];
}
- $this->log('Invalid @-rule: ' . $invalid_at_name . ' (removed)', 'Warning');
+ $this->log( 'Invalid @-rule: ' . $invalid_at_name . ' (removed)', 'Warning' );
}
- } elseif (($string[$i] === '"' || $string[$i] === "'")) {
- $this->cur_string[] = $string[$i];
- $this->status = 'instr';
- $this->str_char[] = $string[$i];
- $this->from[] = 'is';
+ } elseif ( ( '"' === $string[ $i ] || "'" === $string[ $i ] ) ) {
+ $this->cur_string[] = $string[ $i ];
+ $this->status = 'instr';
+ $this->str_char[] = $string[ $i ];
+ $this->from[] = 'is';
/* fixing CSS3 attribute selectors, i.e. a[href$=".mp3" */
- $this->quoted_string[] = ($string[$i - 1] == '=' );
- } elseif ($this->invalid_at && $string[$i] === ';') {
+ $this->quoted_string[] = ( '=' === $string[ $i - 1 ] );
+ } elseif ( $this->invalid_at && ';' === $string[ $i ] ) {
$this->invalid_at = false;
- $this->status = 'is';
- } elseif ($string[$i] === '{') {
+ $this->status = 'is';
+ } elseif ( '{' === $string[ $i ] ) {
$this->status = 'ip';
- if($this->at == '') {
- $this->at = $this->css_new_media_section(DEFAULT_AT);
+ if ( '' === $this->at ) {
+ $this->at = $this->css_new_media_section( DEFAULT_AT );
}
- $this->selector = $this->css_new_selector($this->at,$this->selector);
- $this->_add_token(SEL_START, $this->selector);
+ $this->selector = $this->css_new_selector( $this->at, $this->selector );
+ $this->_add_token( SEL_START, $this->selector );
$this->added = false;
- } elseif ($string[$i] === '}') {
- $this->_add_token(AT_END, $this->at);
- $this->at = '';
- $this->selector = '';
+ } elseif ( '}' === $string[ $i ] ) {
+ $this->_add_token( AT_END, $this->at );
+ $this->at = '';
+ $this->selector = '';
$this->sel_separate = array();
- } elseif ($string[$i] === ',') {
- $this->selector = trim($this->selector) . ',';
- $this->sel_separate[] = strlen($this->selector);
- } elseif ($string[$i] === '\\') {
- $this->selector .= $this->_unicode($string, $i);
- } elseif ($string[$i] === '*' && @in_array($string[$i + 1], array('.', '#', '[', ':'))) {
- // remove unnecessary universal selector, FS#147
+ } elseif ( ',' === $string[ $i ] ) {
+ $this->selector = trim( $this->selector ) . ',';
+ $this->sel_separate[] = strlen( $this->selector );
+ } elseif ( '\\' === $string[ $i ] ) {
+ $this->selector .= $this->_unicode( $string, $i );
+ } elseif ( '*' === $string[ $i ] && @in_array( $string[ $i + 1 ], array( '.', '#', '[', ':' ), true ) ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedElseif
+ // remove unnecessary universal selector, FS#147.
} else {
- $this->selector .= $string[$i];
+ $this->selector .= $string[ $i ];
}
} else {
- $lastpos = strlen($this->selector) - 1;
- if ($lastpos == -1 || !( (ctype_space($this->selector[$lastpos]) || csstidy::is_token($this->selector, $lastpos) && $this->selector[$lastpos] === ',') && ctype_space($string[$i]))) {
- $this->selector .= $string[$i];
- }
- else if (ctype_space($string[$i]) && $this->get_cfg('preserve_css') && !$this->get_cfg('merge_selectors')) {
- $this->selector .= $string[$i];
+ $lastpos = strlen( $this->selector ) - 1;
+ if ( -1 === $lastpos || ! ( ( ctype_space( $this->selector[ $lastpos ] ) || self::is_token( $this->selector, $lastpos ) && ',' === $this->selector[ $lastpos ] ) && ctype_space( $string[ $i ] ) ) ) {
+ $this->selector .= $string[ $i ];
+ } elseif ( ctype_space( $string[ $i ] ) && $this->get_cfg( 'preserve_css' ) && ! $this->get_cfg( 'merge_selectors' ) ) {
+ $this->selector .= $string[ $i ];
}
}
break;
/* Case in-property */
case 'ip':
- if (csstidy::is_token($string, $i)) {
- if (($string[$i] === ':' || $string[$i] === '=') && $this->property != '') {
+ if ( self::is_token( $string, $i ) ) {
+ if ( ( ':' === $string[ $i ] || '=' === $string[ $i ] ) && '' !== $this->property ) {
$this->status = 'iv';
- if (!$this->get_cfg('discard_invalid_properties') || csstidy::property_is_valid($this->property)) {
- $this->property = $this->css_new_property($this->at,$this->selector,$this->property);
- $this->_add_token(PROPERTY, $this->property);
+ if ( ! $this->get_cfg( 'discard_invalid_properties' ) || self::property_is_valid( $this->property ) ) {
+ $this->property = $this->css_new_property( $this->at, $this->selector, $this->property );
+ $this->_add_token( PROPERTY, $this->property );
}
- } elseif ($string[$i] === '/' && @$string[$i + 1] === '*' && $this->property == '') {
+ } elseif ( '/' === $string[ $i ] && '*' === @$string[ $i + 1 ] && '' === $this->property ) {
$this->status = 'ic';
++$i;
$this->from[] = 'ip';
- } elseif ($string[$i] === '}') {
+ } elseif ( '}' === $string[ $i ] ) {
$this->explode_selectors();
- $this->status = 'is';
+ $this->status = 'is';
$this->invalid_at = false;
- $this->_add_token(SEL_END, $this->selector);
+ $this->_add_token( SEL_END, $this->selector );
$this->selector = '';
$this->property = '';
- } elseif ($string[$i] === ';') {
+ } elseif ( ';' === $string[ $i ] ) {
$this->property = '';
- } elseif ($string[$i] === '\\') {
- $this->property .= $this->_unicode($string, $i);
+ } elseif ( '\\' === $string[ $i ] ) {
+ $this->property .= $this->_unicode( $string, $i );
+ } elseif ( '' === $this->property && ! ctype_space( $string[ $i ] ) ) {
+ // else this is dumb IE a hack, keep it.
+ $this->property .= $string[ $i ];
}
- // else this is dumb IE a hack, keep it
- elseif ($this->property=='' AND !ctype_space($string[$i])) {
- $this->property .= $string[$i];
- }
- }
- elseif (!ctype_space($string[$i])) {
- $this->property .= $string[$i];
+ } elseif ( ! ctype_space( $string[ $i ] ) ) {
+ $this->property .= $string[ $i ];
}
break;
/* Case in-value */
case 'iv':
- $pn = (($string[$i] === "\n" || $string[$i] === "\r") && $this->property_is_next($string, $i + 1) || $i == strlen($string) - 1);
- if ((csstidy::is_token($string, $i) || $pn) && (!($string[$i] == ',' && !ctype_space($string[$i+1])))) {
- if ($string[$i] === '/' && @$string[$i + 1] === '*') {
+ $pn = ( ( "\n" === $string[ $i ] || "\r" === $string[ $i ] ) && $this->property_is_next( $string, $i + 1 ) || strlen( $string ) - 1 === $i );
+ if ( ( self::is_token( $string, $i ) || $pn ) && ( ! ( ',' === $string[ $i ] && ! ctype_space( $string[ $i + 1 ] ) ) ) ) {
+ if ( '/' === $string[ $i ] && '*' === @$string[ $i + 1 ] ) {
$this->status = 'ic';
++$i;
$this->from[] = 'iv';
- } elseif (($string[$i] === '"' || $string[$i] === "'" || $string[$i] === '(')) {
- $this->cur_string[] = $string[$i];
- $this->str_char[] = ($string[$i] === '(') ? ')' : $string[$i];
- $this->status = 'instr';
- $this->from[] = 'iv';
- $this->quoted_string[] = in_array(strtolower($this->property), $quoted_string_properties);
- } elseif ($string[$i] === ',') {
- $this->sub_value = trim($this->sub_value) . ',';
- } elseif ($string[$i] === '\\') {
- $this->sub_value .= $this->_unicode($string, $i);
- } elseif ($string[$i] === ';' || $pn) {
- if ($this->selector[0] === '@' && isset($at_rules[substr($this->selector, 1)]) && $at_rules[substr($this->selector, 1)] === 'iv') {
+ } elseif ( ( '"' === $string[ $i ] || "'" === $string[ $i ] || '(' === $string[ $i ] ) ) {
+ $this->cur_string[] = $string[ $i ];
+ $this->str_char[] = ( '(' === $string[ $i ] ) ? ')' : $string[ $i ];
+ $this->status = 'instr';
+ $this->from[] = 'iv';
+ $this->quoted_string[] = in_array( strtolower( $this->property ), $quoted_string_properties, true );
+ } elseif ( ',' === $string[ $i ] ) {
+ $this->sub_value = trim( $this->sub_value ) . ',';
+ } elseif ( '\\' === $string[ $i ] ) {
+ $this->sub_value .= $this->_unicode( $string, $i );
+ } elseif ( ';' === $string[ $i ] || $pn ) {
+ if ( '@' === $this->selector[0] && isset( $at_rules[ substr( $this->selector, 1 ) ] ) && 'iv' === $at_rules[ substr( $this->selector, 1 ) ] ) {
$this->status = 'is';
- switch ($this->selector) {
+ switch ( $this->selector ) {
case '@charset':
/* Add quotes to charset */
- $this->sub_value_arr[] = '"' . trim($this->sub_value) . '"';
- $this->charset = $this->sub_value_arr[0];
+ $this->sub_value_arr[] = '"' . trim( $this->sub_value ) . '"';
+ $this->charset = $this->sub_value_arr[0];
break;
case '@namespace':
/* Add quotes to namespace */
- $this->sub_value_arr[] = '"' . trim($this->sub_value) . '"';
- $this->namespace = implode(' ', $this->sub_value_arr);
+ $this->sub_value_arr[] = '"' . trim( $this->sub_value ) . '"';
+ $this->namespace = implode( ' ', $this->sub_value_arr );
break;
case '@import':
- $this->sub_value = trim($this->sub_value);
+ $this->sub_value = trim( $this->sub_value );
- if (empty($this->sub_value_arr)) {
+ if ( empty( $this->sub_value_arr ) ) {
// Quote URLs in imports only if they're not already inside url() and not already quoted.
- if (substr($this->sub_value, 0, 4) != 'url(') {
- if (!($this->sub_value[0] == substr($this->sub_value, -1) && in_array($this->sub_value[0], array("'", '"')))) {
+ if ( substr( $this->sub_value, 0, 4 ) !== 'url(' ) {
+ if ( ! ( substr( $this->sub_value, -1 ) === $this->sub_value[0] && in_array( $this->sub_value[0], array( "'", '"' ), true ) ) ) {
$this->sub_value = '"' . $this->sub_value . '"';
}
}
}
$this->sub_value_arr[] = $this->sub_value;
- $this->import[] = implode(' ', $this->sub_value_arr);
+ $this->import[] = implode( ' ', $this->sub_value_arr );
break;
}
$this->sub_value_arr = array();
- $this->sub_value = '';
- $this->selector = '';
- $this->sel_separate = array();
+ $this->sub_value = '';
+ $this->selector = '';
+ $this->sel_separate = array();
} else {
$this->status = 'ip';
}
- } elseif ($string[$i] !== '}') {
- $this->sub_value .= $string[$i];
+ } elseif ( '}' !== $string[ $i ] ) {
+ $this->sub_value .= $string[ $i ];
}
- if (($string[$i] === '}' || $string[$i] === ';' || $pn) && !empty($this->selector)) {
- if ($this->at == '') {
- $this->at = $this->css_new_media_section(DEFAULT_AT);
+ if ( ( '}' === $string[ $i ] || ';' === $string[ $i ] || $pn ) && ! empty( $this->selector ) ) {
+ if ( '' === $this->at ) {
+ $this->at = $this->css_new_media_section( DEFAULT_AT );
}
- // case settings
- if ($this->get_cfg('lowercase_s')) {
- $this->selector = strtolower($this->selector);
+ // case settings.
+ if ( $this->get_cfg( 'lowercase_s' ) ) {
+ $this->selector = strtolower( $this->selector );
}
- $this->property = strtolower($this->property);
+ $this->property = strtolower( $this->property );
$this->optimise->subvalue();
- if ($this->sub_value != '') {
- if (substr($this->sub_value, 0, 6) == 'format') {
- $format_strings = csstidy::parse_string_list(substr($this->sub_value, 7, -1));
- if (!$format_strings) {
- $this->sub_value = "";
- }
- else {
- $this->sub_value = "format(";
-
- foreach ($format_strings as $format_string) {
- $this->sub_value .= '"' . str_replace('"', '\\"', $format_string) . '",';
+ if ( '' !== $this->sub_value ) {
+ if ( substr( $this->sub_value, 0, 6 ) === 'format' ) {
+ $format_strings = self::parse_string_list( substr( $this->sub_value, 7, -1 ) );
+ if ( ! $format_strings ) {
+ $this->sub_value = '';
+ } else {
+ $this->sub_value = 'format(';
+
+ foreach ( $format_strings as $format_string ) {
+ $this->sub_value .= '"' . str_replace( '"', '\\"', $format_string ) . '",';
}
- $this->sub_value = substr($this->sub_value, 0, -1) . ")";
+ $this->sub_value = substr( $this->sub_value, 0, -1 ) . ')';
}
}
- if ($this->sub_value != '') {
+ if ( '' !== $this->sub_value ) {
$this->sub_value_arr[] = $this->sub_value;
}
$this->sub_value = '';
}
- $this->value = array_shift($this->sub_value_arr);
- while(count($this->sub_value_arr)){
- //$this->value .= (substr($this->value,-1,1)==','?'':' ').array_shift($this->sub_value_arr);
- $this->value .= ' '.array_shift($this->sub_value_arr);
+ $this->value = array_shift( $this->sub_value_arr );
+ while ( $this->sub_value_arr ) {
+ $this->value .= ' ' . array_shift( $this->sub_value_arr );
}
$this->optimise->value();
- $valid = csstidy::property_is_valid($this->property);
- if ((!$this->invalid_at || $this->get_cfg('preserve_css')) && (!$this->get_cfg('discard_invalid_properties') || $valid)) {
- $this->css_add_property($this->at, $this->selector, $this->property, $this->value);
- $this->_add_token(VALUE, $this->value);
+ $valid = self::property_is_valid( $this->property );
+ if ( ( ! $this->invalid_at || $this->get_cfg( 'preserve_css' ) ) && ( ! $this->get_cfg( 'discard_invalid_properties' ) || $valid ) ) {
+ $this->css_add_property( $this->at, $this->selector, $this->property, $this->value );
+ $this->_add_token( VALUE, $this->value );
$this->optimise->shorthands();
}
- if (!$valid) {
- if ($this->get_cfg('discard_invalid_properties')) {
- $this->log('Removed invalid property: ' . $this->property, 'Warning');
+ if ( ! $valid ) {
+ if ( $this->get_cfg( 'discard_invalid_properties' ) ) {
+ $this->log( 'Removed invalid property: ' . $this->property, 'Warning' );
} else {
- $this->log('Invalid property in ' . strtoupper($this->get_cfg('css_level')) . ': ' . $this->property, 'Warning');
+ $this->log( 'Invalid property in ' . strtoupper( $this->get_cfg( 'css_level' ) ) . ': ' . $this->property, 'Warning' );
}
}
- $this->property = '';
+ $this->property = '';
$this->sub_value_arr = array();
- $this->value = '';
+ $this->value = '';
}
- if ($string[$i] === '}') {
+ if ( '}' === $string[ $i ] ) {
$this->explode_selectors();
- $this->_add_token(SEL_END, $this->selector);
- $this->status = 'is';
+ $this->_add_token( SEL_END, $this->selector );
+ $this->status = 'is';
$this->invalid_at = false;
- $this->selector = '';
+ $this->selector = '';
}
- } elseif (!$pn) {
- $this->sub_value .= $string[$i];
+ } elseif ( ! $pn ) {
+ $this->sub_value .= $string[ $i ];
- if (ctype_space($string[$i]) || $string[$i] == ',') {
+ if ( ctype_space( $string[ $i ] ) || ',' === $string[ $i ] ) {
$this->optimise->subvalue();
- if ($this->sub_value != '') {
+ if ( '' !== $this->sub_value ) {
$this->sub_value_arr[] = $this->sub_value;
- $this->sub_value = '';
+ $this->sub_value = '';
}
}
}
@@ -846,35 +891,35 @@ class csstidy {
/* Case in string */
case 'instr':
- $_str_char = $this->str_char[count($this->str_char)-1];
- $_cur_string = $this->cur_string[count($this->cur_string)-1];
- $temp_add = $string[$i];
+ $_str_char = $this->str_char[ count( $this->str_char ) - 1 ];
+ $_cur_string = $this->cur_string[ count( $this->cur_string ) - 1 ];
+ $temp_add = $string[ $i ];
// Add another string to the stack. Strings can't be nested inside of quotes, only parentheses, but
// parentheticals can be nested more than once.
- if ($_str_char === ")" && ($string[$i] === "(" || $string[$i] === '"' || $string[$i] === '\'') && !csstidy::escaped($string, $i)) {
- $this->cur_string[] = $string[$i];
- $this->str_char[] = $string[$i] == "(" ? ")" : $string[$i];
- $this->from[] = 'instr';
- $this->quoted_string[] = !($string[$i] === "(");
+ if ( ')' === $_str_char && ( '(' === $string[ $i ] || '"' === $string[ $i ] || '\'' === $string[ $i ] ) && ! self::escaped( $string, $i ) ) {
+ $this->cur_string[] = $string[ $i ];
+ $this->str_char[] = $string[ $i ] === '(' ? ')' : $string[ $i ];
+ $this->from[] = 'instr';
+ $this->quoted_string[] = ! ( '(' === $string[ $i ] );
continue 2;
}
- if ($_str_char !== ")" && ($string[$i] === "\n" || $string[$i] === "\r") && !($string[$i - 1] === '\\' && !csstidy::escaped($string, $i - 1))) {
- $temp_add = "\\A";
- $this->log('Fixed incorrect newline in string', 'Warning');
+ if ( ')' !== $_str_char && ( "\n" === $string[ $i ] || "\r" === $string[ $i ] ) && ! ( '\\' === $string[ $i - 1 ] && ! self::escaped( $string, $i - 1 ) ) ) {
+ $temp_add = '\\A';
+ $this->log( 'Fixed incorrect newline in string', 'Warning' );
}
$_cur_string .= $temp_add;
- if ($string[$i] === $_str_char && !csstidy::escaped($string, $i)) {
- $_quoted_string = array_pop($this->quoted_string);
+ if ( $string[ $i ] === $_str_char && ! self::escaped( $string, $i ) ) {
+ $_quoted_string = array_pop( $this->quoted_string );
- $this->status = array_pop($this->from);
+ $this->status = array_pop( $this->from );
- if (!preg_match('|[' . implode('', $GLOBALS['csstidy']['whitespace']) . ']|uis', $_cur_string) && $this->property !== 'content') {
- if (!$_quoted_string) {
- if ($_str_char !== ')') {
+ if ( ! preg_match( '|[' . implode( '', $GLOBALS['csstidy']['whitespace'] ) . ']|uis', $_cur_string ) && 'content' !== $this->property ) {
+ if ( ! $_quoted_string ) {
+ if ( ')' !== $_str_char ) {
// Convert properties like
// font-family: 'Arial';
// to
@@ -882,51 +927,57 @@ class csstidy {
// or
// url("abc")
// to
- // url(abc)
- $_cur_string = substr($_cur_string, 1, -1);
+ // url(abc).
+ $_cur_string = substr( $_cur_string, 1, -1 );
}
} else {
$_quoted_string = false;
}
}
- array_pop($this->cur_string);
- array_pop($this->str_char);
+ array_pop( $this->cur_string );
+ array_pop( $this->str_char );
- if ($_str_char === ")") {
- $_cur_string = "(" . trim(substr($_cur_string, 1, -1)) . ")";
+ if ( ')' === $_str_char ) {
+ $_cur_string = '(' . trim( substr( $_cur_string, 1, -1 ) ) . ')';
}
- if ($this->status === 'iv') {
- if (!$_quoted_string){
- if (strpos($_cur_string,',')!==false)
- // we can on only remove space next to ','
- $_cur_string = implode(',',array_map('trim',explode(',',$_cur_string)));
- // and multiple spaces (too expensive)
- if (strpos($_cur_string,' ')!==false)
- $_cur_string = preg_replace(",\s+,"," ",$_cur_string);
- }
+ if ( 'iv' === $this->status ) {
+ // phpcs:disable Squiz.PHP.CommentedOutCode.Found, Squiz.Commenting.BlockComment.NoNewLine
+ // WPCOM hack: prevents CSSTidy from removing spaces after commas inside
+ // declaration's values.
+ // For more information, see D74626-code.
+ /*if ( ! $_quoted_string ) {
+ if ( strpos( $_cur_string, ',' ) !== false ) {
+ // we can on only remove space next to ','.
+ $_cur_string = implode( ',', array_map( 'trim', explode( ',', $_cur_string ) ) );
+ }
+ // and multiple spaces (too expensive).
+ if ( strpos( $_cur_string, ' ' ) !== false ) {
+ $_cur_string = preg_replace( ',\s+,', ' ', $_cur_string );
+ }
+ }*/
+ // phpcs:enable Squiz.PHP.CommentedOutCode.Found, Squiz.Commenting.BlockComment.NoNewLine
$this->sub_value .= $_cur_string;
- } elseif ($this->status === 'is') {
+ } elseif ( 'is' === $this->status ) {
$this->selector .= $_cur_string;
- } elseif ($this->status === 'instr') {
- $this->cur_string[count($this->cur_string)-1] .= $_cur_string;
+ } elseif ( 'instr' === $this->status ) {
+ $this->cur_string[ count( $this->cur_string ) - 1 ] .= $_cur_string;
}
- }
- else {
- $this->cur_string[count($this->cur_string)-1] = $_cur_string;
+ } else {
+ $this->cur_string[ count( $this->cur_string ) - 1 ] = $_cur_string;
}
break;
/* Case in-comment */
case 'ic':
- if ($string[$i] === '*' && $string[$i + 1] === '/') {
- $this->status = array_pop($this->from);
+ if ( '*' === $string[ $i ] && '/' === $string[ $i + 1 ] ) {
+ $this->status = array_pop( $this->from );
$i++;
- $this->_add_token(COMMENT, $cur_comment);
+ $this->_add_token( COMMENT, $cur_comment );
$cur_comment = '';
} else {
- $cur_comment .= $string[$i];
+ $cur_comment .= $string[ $i ];
}
break;
}
@@ -936,38 +987,39 @@ class csstidy {
$this->print->_reset();
- @setlocale(LC_ALL, $old); // Set locale back to original setting
+ @setlocale( LC_ALL, $old ); // Set locale back to original setting.
- return!(empty($this->css) && empty($this->import) && empty($this->charset) && empty($this->tokens) && empty($this->namespace));
+ return ! ( empty( $this->css ) && empty( $this->import ) && empty( $this->charset ) && empty( $this->tokens ) && empty( $this->namespace ) );
}
/**
* Explodes selectors
+ *
* @access private
* @version 1.0
*/
- function explode_selectors() {
- // Explode multiple selectors
- if ($this->get_cfg('merge_selectors') === 1) {
- $new_sels = array();
- $lastpos = 0;
- $this->sel_separate[] = strlen($this->selector);
- foreach ($this->sel_separate as $num => $pos) {
- if ($num == count($this->sel_separate) - 1) {
- $pos += 1;
+ public function explode_selectors() {
+ // Explode multiple selectors.
+ if ( $this->get_cfg( 'merge_selectors' ) === 1 ) {
+ $new_sels = array();
+ $lastpos = 0;
+ $this->sel_separate[] = strlen( $this->selector );
+ foreach ( $this->sel_separate as $num => $pos ) {
+ if ( count( $this->sel_separate ) - 1 === $num ) {
+ ++$pos;
}
- $new_sels[] = substr($this->selector, $lastpos, $pos - $lastpos - 1);
- $lastpos = $pos;
+ $new_sels[] = substr( $this->selector, $lastpos, $pos - $lastpos - 1 );
+ $lastpos = $pos;
}
- if (count($new_sels) > 1) {
- foreach ($new_sels as $selector) {
- if (isset($this->css[$this->at][$this->selector])) {
- $this->merge_css_blocks($this->at, $selector, $this->css[$this->at][$this->selector]);
+ if ( count( $new_sels ) > 1 ) {
+ foreach ( $new_sels as $selector ) {
+ if ( isset( $this->css[ $this->at ][ $this->selector ] ) ) {
+ $this->merge_css_blocks( $this->at, $selector, $this->css[ $this->at ][ $this->selector ] );
}
}
- unset($this->css[$this->at][$this->selector]);
+ unset( $this->css[ $this->at ][ $this->selector ] );
}
}
$this->sel_separate = array();
@@ -975,37 +1027,39 @@ class csstidy {
/**
* Checks if a character is escaped (and returns true if it is)
- * @param string $string
- * @param integer $pos
+ *
+ * @param string $string - the string.
+ * @param integer $pos - the position.
* @access public
* @return bool
* @version 1.02
*/
- static function escaped(&$string, $pos) {
- return!(@($string[$pos - 1] !== '\\') || csstidy::escaped($string, $pos - 1));
+ public static function escaped( &$string, $pos ) {
+ return ! ( @( '\\' !== $string[ $pos - 1 ] ) || self::escaped( $string, $pos - 1 ) );
}
/**
* Adds a property with value to the existing CSS code
- * @param string $media
- * @param string $selector
- * @param string $property
- * @param string $new_val
+ *
+ * @param string $media - the media.
+ * @param string $selector - the selector.
+ * @param string $property - the property.
+ * @param string $new_val - new value.
* @access private
* @version 1.2
*/
- function css_add_property($media, $selector, $property, $new_val) {
- if ($this->get_cfg('preserve_css') || trim($new_val) == '') {
+ public function css_add_property( $media, $selector, $property, $new_val ) {
+ if ( $this->get_cfg( 'preserve_css' ) || '' === trim( $new_val ) ) {
return;
}
$this->added = true;
- if (isset($this->css[$media][$selector][$property])) {
- if ((csstidy::is_important($this->css[$media][$selector][$property]) && csstidy::is_important($new_val)) || !csstidy::is_important($this->css[$media][$selector][$property])) {
- $this->css[$media][$selector][$property] = trim($new_val);
+ if ( isset( $this->css[ $media ][ $selector ][ $property ] ) ) {
+ if ( ( self::is_important( $this->css[ $media ][ $selector ][ $property ] ) && self::is_important( $new_val ) ) || ! self::is_important( $this->css[ $media ][ $selector ][ $property ] ) ) {
+ $this->css[ $media ][ $selector ][ $property ] = trim( $new_val );
}
} else {
- $this->css[$media][$selector][$property] = trim($new_val);
+ $this->css[ $media ][ $selector ][ $property ] = trim( $new_val );
}
}
@@ -1015,29 +1069,30 @@ class csstidy {
* else rename it with extra spaces
* to avoid merging
*
- * @param string $media
+ * @param string $media - the media.
* @return string
*/
- function css_new_media_section($media){
- if($this->get_cfg('preserve_css')) {
+ public function css_new_media_section( $media ) {
+ if ( $this->get_cfg( 'preserve_css' ) ) {
return $media;
}
- // if the last @media is the same as this
- // keep it
- if (!$this->css OR !is_array($this->css) OR empty($this->css)){
+ // if the last @media is the same as this keep it.
+ if ( ! $this->css || ! is_array( $this->css ) || empty( $this->css ) ) {
return $media;
}
- end($this->css);
+ end( $this->css );
$at = current( $this->css );
- if ($at == $media){
+ if ( $at === $media ) {
return $media;
}
- while (isset($this->css[$media]))
- if (is_numeric($media))
+ while ( isset( $this->css[ $media ] ) ) {
+ if ( is_numeric( $media ) ) {
$media++;
- else
- $media .= " ";
+ } else {
+ $media .= ' ';
+ }
+ }
return $media;
}
@@ -1048,34 +1103,37 @@ class csstidy {
* except if merging is required,
* or last selector is the same (merge siblings)
*
- * never merge @font-face
+ * Never merge @font-face
*
- * @param string $media
- * @param string $selector
+ * @param string $media - the media.
+ * @param string $selector - the selector.
* @return string
*/
- function css_new_selector($media,$selector){
- if($this->get_cfg('preserve_css')) {
+ public function css_new_selector( $media, $selector ) {
+ if ( $this->get_cfg( 'preserve_css' ) ) {
return $selector;
}
- $selector = trim($selector);
- if (strncmp($selector,"@font-face",10)!=0){
- if ($this->settings['merge_selectors'] != false)
+ $selector = trim( $selector );
+ if ( strncmp( $selector, '@font-face', 10 ) !== 0 ) {
+ if ( $this->settings['merge_selectors'] ) {
return $selector;
+ }
- if (!$this->css OR !isset($this->css[$media]) OR !$this->css[$media])
+ if ( ! $this->css || ! isset( $this->css[ $media ] ) || ! $this->css[ $media ] ) {
return $selector;
+ }
- // if last is the same, keep it
- end($this->css[$media]);
- $sel = current( $this->css[$media] );
- if ($sel == $selector){
+ // if last is the same, keep it.
+ end( $this->css[ $media ] );
+ $sel = current( $this->css[ $media ] );
+ if ( $sel === $selector ) {
return $selector;
}
}
- while (isset($this->css[$media][$selector]))
- $selector .= " ";
+ while ( isset( $this->css[ $media ][ $selector ] ) ) {
+ $selector .= ' ';
+ }
return $selector;
}
@@ -1084,63 +1142,68 @@ class csstidy {
* If already references in this selector,
* rename it with extra space to avoid override
*
- * @param string $media
- * @param string $selector
- * @param string $property
+ * @param string $media - the media.
+ * @param string $selector - the selector.
+ * @param string $property - the property.
* @return string
*/
- function css_new_property($media, $selector, $property){
- if($this->get_cfg('preserve_css')) {
+ public function css_new_property( $media, $selector, $property ) {
+ if ( $this->get_cfg( 'preserve_css' ) ) {
return $property;
}
- if (!$this->css OR !isset($this->css[$media][$selector]) OR !$this->css[$media][$selector])
+ if ( ! $this->css || ! isset( $this->css[ $media ][ $selector ] ) || ! $this->css[ $media ][ $selector ] ) {
return $property;
+ }
- while (isset($this->css[$media][$selector][$property]))
- $property .= " ";
+ while ( isset( $this->css[ $media ][ $selector ][ $property ] ) ) {
+ $property .= ' ';
+ }
return $property;
}
/**
* Adds CSS to an existing media/selector
- * @param string $media
- * @param string $selector
- * @param array $css_add
+ *
+ * @param string $media - the media.
+ * @param string $selector - the selector.
+ * @param array $css_add - css being added.
* @access private
* @version 1.1
*/
- function merge_css_blocks($media, $selector, $css_add) {
- foreach ($css_add as $property => $value) {
- $this->css_add_property($media, $selector, $property, $value, false);
+ public function merge_css_blocks( $media, $selector, $css_add ) {
+ foreach ( $css_add as $property => $value ) {
+ $this->css_add_property( $media, $selector, $property, $value, false );
}
}
/**
* Checks if $value is !important.
- * @param string $value
+ *
+ * @param string $value - the value.
* @return bool
* @access public
* @version 1.0
*/
- static function is_important(&$value) {
- return (!strcasecmp(substr(str_replace($GLOBALS['csstidy']['whitespace'], '', $value), -10, 10), '!important'));
+ public static function is_important( &$value ) {
+ return ( ! strcasecmp( substr( str_replace( $GLOBALS['csstidy']['whitespace'], '', $value ), -10, 10 ), '!important' ) );
}
/**
* Returns a value without !important
- * @param string $value
+ *
+ * @param string $value - the value.
* @return string
* @access public
* @version 1.0
*/
- static function gvw_important($value) {
- if (csstidy::is_important($value)) {
- $value = trim($value);
- $value = substr($value, 0, -9);
- $value = trim($value);
- $value = substr($value, 0, -1);
- $value = trim($value);
+ public static function gvw_important( $value ) {
+ if ( self::is_important( $value ) ) {
+ $value = trim( $value );
+ $value = substr( $value, 0, -9 );
+ $value = trim( $value );
+ $value = substr( $value, 0, -1 );
+ $value = trim( $value );
return $value;
}
return $value;
@@ -1148,22 +1211,23 @@ class csstidy {
/**
* Checks if the next word in a string from pos is a CSS property
- * @param string $istring
- * @param integer $pos
+ *
+ * @param string $istring - if it's a string.
+ * @param integer $pos - position.
* @return bool
* @access private
* @version 1.2
*/
- function property_is_next($istring, $pos) {
+ public function property_is_next( $istring, $pos ) {
$all_properties = & $GLOBALS['csstidy']['all_properties'];
- $istring = substr($istring, $pos, strlen($istring) - $pos);
- $pos = strpos($istring, ':');
- if ($pos === false) {
+ $istring = substr( $istring, $pos, strlen( $istring ) - $pos );
+ $pos = strpos( $istring, ':' );
+ if ( false === $pos ) {
return false;
}
- $istring = strtolower(trim(substr($istring, 0, $pos)));
- if (isset($all_properties[$istring])) {
- $this->log('Added semicolon to the end of declaration', 'Warning');
+ $istring = strtolower( trim( substr( $istring, 0, $pos ) ) );
+ if ( isset( $all_properties[ $istring ] ) ) {
+ $this->log( 'Added semicolon to the end of declaration', 'Warning' );
return true;
}
return false;
@@ -1171,75 +1235,75 @@ class csstidy {
/**
* Checks if a property is valid
- * @param string $property
+ *
+ * @param string $property - the property.
* @return bool;
* @access public
* @version 1.0
*/
- function property_is_valid($property) {
- $property = strtolower($property);
- if (in_array(trim($property), $GLOBALS['csstidy']['multiple_properties'])) $property = trim($property);
+ public function property_is_valid( $property ) {
+ $property = strtolower( $property );
+ if ( in_array( trim( $property ), $GLOBALS['csstidy']['multiple_properties'], true ) ) {
+ $property = trim( $property );
+ }
$all_properties = & $GLOBALS['csstidy']['all_properties'];
- return (isset($all_properties[$property]) && strpos($all_properties[$property], strtoupper($this->get_cfg('css_level'))) !== false );
+ return ( isset( $all_properties[ $property ] ) && strpos( $all_properties[ $property ], strtoupper( $this->get_cfg( 'css_level' ) ) ) !== false );
}
/**
* Accepts a list of strings (e.g., the argument to format() in a @font-face src property)
* and returns a list of the strings. Converts things like:
*
- * format(abc) => format("abc")
+ * Format(abc) => format("abc")
* format(abc def) => format("abc","def")
* format(abc "def") => format("abc","def")
* format(abc, def, ghi) => format("abc","def","ghi")
* format("abc",'def') => format("abc","def")
* format("abc, def, ghi") => format("abc, def, ghi")
*
- * @param string
+ * @param string $value - the value.
* @return array
*/
+ public function parse_string_list( $value ) {
+ $value = trim( $value );
- function parse_string_list($value) {
- $value = trim($value);
-
- // Case: empty
- if (!$value) return array();
+ // Case: if it's empty.
+ if ( ! $value ) {
+ return array();
+ }
$strings = array();
- $in_str = false;
- $current_string = "";
-
- for ($i = 0, $_len = strlen($value); $i < $_len; $i++) {
- if (($value[$i] == "," || $value[$i] === " ") && $in_str === true) {
- $in_str = false;
- $strings[] = $current_string;
- $current_string = "";
- }
- else if ($value[$i] == '"' || $value[$i] == "'"){
- if ($in_str === $value[$i]) {
- $strings[] = $current_string;
- $in_str = false;
- $current_string = "";
+ $in_str = false;
+ $current_string = '';
+
+ for ( $i = 0, $_len = strlen( $value ); $i < $_len; $i++ ) {
+ if ( ( ',' === $value[ $i ] || ' ' === $value[ $i ] ) && true === $in_str ) {
+ $in_str = false;
+ $strings[] = $current_string;
+ $current_string = '';
+ } elseif ( '"' === $value[ $i ] || "'" === $value[ $i ] ) {
+ if ( $in_str === $value[ $i ] ) {
+ $strings[] = $current_string;
+ $in_str = false;
+ $current_string = '';
continue;
+ } elseif ( ! $in_str ) {
+ $in_str = $value[ $i ];
}
- else if (!$in_str) {
- $in_str = $value[$i];
- }
- }
- else {
- if ($in_str){
- $current_string .= $value[$i];
- }
- else {
- if (!preg_match("/[\s,]/", $value[$i])) {
- $in_str = true;
- $current_string = $value[$i];
+ } else {
+ if ( $in_str ) {
+ $current_string .= $value[ $i ];
+ } else {
+ if ( ! preg_match( '/[\s,]/', $value[ $i ] ) ) {
+ $in_str = true;
+ $current_string = $value[ $i ];
}
}
}
}
- if ($current_string) {
+ if ( $current_string ) {
$strings[] = $current_string;
}
diff --git a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy_optimise.php b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy_optimise.php
deleted file mode 100644
index 5f4a3843..00000000
--- a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy_optimise.php
+++ /dev/null
@@ -1,943 +0,0 @@
-<?php
-
-/**
- * CSSTidy - CSS Parser and Optimiser
- *
- * CSS Optimising Class
- * This class optimises CSS data generated by csstidy.
- *
- * Copyright 2005, 2006, 2007 Florian Schmitz
- *
- * This file is part of CSSTidy.
- *
- * CSSTidy is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * CSSTidy is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
- *
- * @license https://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
- * @package csstidy
- * @author Florian Schmitz (floele at gmail dot com) 2005-2007
- * @author Brett Zamir (brettz9 at yahoo dot com) 2007
- * @author Nikolay Matsievsky (speed at webo dot name) 2009-2010
- */
-
-/**
- * CSS Optimising Class
- *
- * This class optimises CSS data generated by csstidy.
- *
- * @package csstidy
- * @author Florian Schmitz (floele at gmail dot com) 2005-2006
- * @version 1.0
- */
-class csstidy_optimise {
- /**
- * Constructor
- * @param array $css contains the class csstidy
- * @access private
- * @version 1.0
- */
- function __construct(&$css) {
- $this->parser = & $css;
- $this->css = & $css->css;
- $this->sub_value = & $css->sub_value;
- $this->at = & $css->at;
- $this->selector = & $css->selector;
- $this->property = & $css->property;
- $this->value = & $css->value;
- }
-
- function csstidy_optimise(&$css) {
- $this->__construct($css);
- }
-
- /**
- * Optimises $css after parsing
- * @access public
- * @version 1.0
- */
- function postparse() {
- if ($this->parser->get_cfg('preserve_css')) {
- return;
- }
-
- if ($this->parser->get_cfg('merge_selectors') === 2) {
- foreach ($this->css as $medium => $value) {
- $this->merge_selectors($this->css[$medium]);
- }
- }
-
- if ($this->parser->get_cfg('discard_invalid_selectors')) {
- foreach ($this->css as $medium => $value) {
- $this->discard_invalid_selectors($this->css[$medium]);
- }
- }
-
- if ($this->parser->get_cfg('optimise_shorthands') > 0) {
- foreach ($this->css as $medium => $value) {
- foreach ($value as $selector => $value1) {
- $this->css[$medium][$selector] = csstidy_optimise::merge_4value_shorthands($this->css[$medium][$selector]);
-
- if ($this->parser->get_cfg('optimise_shorthands') < 2) {
- continue;
- }
-
- $this->css[$medium][$selector] = csstidy_optimise::merge_font($this->css[$medium][$selector]);
-
- if ($this->parser->get_cfg('optimise_shorthands') < 3) {
- continue;
- }
-
- $this->css[$medium][$selector] = csstidy_optimise::merge_bg($this->css[$medium][$selector]);
- if (empty($this->css[$medium][$selector])) {
- unset($this->css[$medium][$selector]);
- }
- }
- }
- }
- }
-
- /**
- * Optimises values
- * @access public
- * @version 1.0
- */
- function value() {
- $shorthands = & $GLOBALS['csstidy']['shorthands'];
-
- // optimise shorthand properties
- if (isset($shorthands[$this->property])) {
- $temp = csstidy_optimise::shorthand($this->value); // FIXME - move
- if ($temp != $this->value) {
- $this->parser->log('Optimised shorthand notation (' . $this->property . '): Changed "' . $this->value . '" to "' . $temp . '"', 'Information');
- }
- $this->value = $temp;
- }
-
- // Remove whitespace at ! important
- if ($this->value != $this->compress_important($this->value)) {
- $this->parser->log('Optimised !important', 'Information');
- }
- }
-
- /**
- * Optimises shorthands
- * @access public
- * @version 1.0
- */
- function shorthands() {
- $shorthands = & $GLOBALS['csstidy']['shorthands'];
-
- if (!$this->parser->get_cfg('optimise_shorthands') || $this->parser->get_cfg('preserve_css')) {
- return;
- }
-
- if ($this->property === 'font' && $this->parser->get_cfg('optimise_shorthands') > 1) {
- $this->css[$this->at][$this->selector]['font']='';
- $this->parser->merge_css_blocks($this->at, $this->selector, csstidy_optimise::dissolve_short_font($this->value));
- }
- if ($this->property === 'background' && $this->parser->get_cfg('optimise_shorthands') > 2) {
- $this->css[$this->at][$this->selector]['background']='';
- $this->parser->merge_css_blocks($this->at, $this->selector, csstidy_optimise::dissolve_short_bg($this->value));
- }
- if (isset($shorthands[$this->property])) {
- $this->parser->merge_css_blocks($this->at, $this->selector, csstidy_optimise::dissolve_4value_shorthands($this->property, $this->value));
- if (is_array($shorthands[$this->property])) {
- $this->css[$this->at][$this->selector][$this->property] = '';
- }
- }
- }
-
- /**
- * Optimises a sub-value
- * @access public
- * @version 1.0
- */
- function subvalue() {
- $replace_colors = & $GLOBALS['csstidy']['replace_colors'];
-
- $this->sub_value = trim($this->sub_value);
- if ($this->sub_value == '') { // caution : '0'
- return;
- }
-
- $important = '';
- if (csstidy::is_important($this->sub_value)) {
- $important = '!important';
- }
- $this->sub_value = csstidy::gvw_important($this->sub_value);
-
- // Compress font-weight
- if ($this->property === 'font-weight' && $this->parser->get_cfg('compress_font-weight')) {
- if ($this->sub_value === 'bold') {
- $this->sub_value = '700';
- $this->parser->log('Optimised font-weight: Changed "bold" to "700"', 'Information');
- } else if ($this->sub_value === 'normal') {
- $this->sub_value = '400';
- $this->parser->log('Optimised font-weight: Changed "normal" to "400"', 'Information');
- }
- }
-
- $temp = $this->compress_numbers($this->sub_value);
- if (strcasecmp($temp, $this->sub_value) !== 0) {
- if (strlen($temp) > strlen($this->sub_value)) {
- $this->parser->log('Fixed invalid number: Changed "' . $this->sub_value . '" to "' . $temp . '"', 'Warning');
- } else {
- $this->parser->log('Optimised number: Changed "' . $this->sub_value . '" to "' . $temp . '"', 'Information');
- }
- $this->sub_value = $temp;
- }
- if ($this->parser->get_cfg('compress_colors')) {
- $temp = $this->cut_color($this->sub_value);
- if ($temp !== $this->sub_value) {
- if (isset($replace_colors[$this->sub_value])) {
- $this->parser->log('Fixed invalid color name: Changed "' . $this->sub_value . '" to "' . $temp . '"', 'Warning');
- } else {
- $this->parser->log('Optimised color: Changed "' . $this->sub_value . '" to "' . $temp . '"', 'Information');
- }
- $this->sub_value = $temp;
- }
- }
- $this->sub_value .= $important;
- }
-
- /**
- * Compresses shorthand values. Example: margin:1px 1px 1px 1px -> margin:1px
- * @param string $value
- * @access public
- * @return string
- * @version 1.0
- */
- static function shorthand($value) {
- $important = '';
- if (csstidy::is_important($value)) {
- $values = csstidy::gvw_important($value);
- $important = '!important';
- }
- else
- $values = $value;
-
- $values = explode(' ', $values);
- switch (count($values)) {
- case 4:
- if ($values[0] == $values[1] && $values[0] == $values[2] && $values[0] == $values[3]) {
- return $values[0] . $important;
- } elseif ($values[1] == $values[3] && $values[0] == $values[2]) {
- return $values[0] . ' ' . $values[1] . $important;
- } elseif ($values[1] == $values[3]) {
- return $values[0] . ' ' . $values[1] . ' ' . $values[2] . $important;
- }
- break;
-
- case 3:
- if ($values[0] == $values[1] && $values[0] == $values[2]) {
- return $values[0] . $important;
- } elseif ($values[0] == $values[2]) {
- return $values[0] . ' ' . $values[1] . $important;
- }
- break;
-
- case 2:
- if ($values[0] == $values[1]) {
- return $values[0] . $important;
- }
- break;
- }
-
- return $value;
- }
-
- /**
- * Removes unnecessary whitespace in ! important
- * @param string $string
- * @return string
- * @access public
- * @version 1.1
- */
- function compress_important(&$string) {
- if (csstidy::is_important($string)) {
- $string = csstidy::gvw_important($string) . ' !important'; }
- return $string;
- }
-
- /**
- * Color compression function. Converts all rgb() values to #-values and uses the short-form if possible. Also replaces 4 color names by #-values.
- * @param string $color
- * @return string
- * @version 1.1
- */
- function cut_color($color) {
- $replace_colors = & $GLOBALS['csstidy']['replace_colors'];
-
- // rgb(0,0,0) -> #000000 (or #000 in this case later)
- if (strtolower(substr($color, 0, 4)) === 'rgb(') {
- $color_tmp = substr($color, 4, strlen($color) - 5);
- $color_tmp = explode(',', $color_tmp);
- for ($i = 0; $i < count($color_tmp); $i++) {
- $color_tmp[$i] = trim($color_tmp[$i]);
- if (substr($color_tmp[$i], -1) === '%') {
- $color_tmp[$i] = round((255 * $color_tmp[$i]) / 100);
- }
- if ($color_tmp[$i] > 255)
- $color_tmp[$i] = 255;
- }
- $color = '#';
- for ($i = 0; $i < 3; $i++) {
- if ($color_tmp[$i] < 16) {
- $color .= '0' . dechex($color_tmp[$i]);
- } else {
- $color .= dechex($color_tmp[$i]);
- }
- }
- }
-
- // Fix bad color names
- if (isset($replace_colors[strtolower($color)])) {
- $color = $replace_colors[strtolower($color)];
- }
-
- // #aabbcc -> #abc
- if (strlen($color) == 7) {
- $color_temp = strtolower($color);
- if ($color_temp[0] === '#' && $color_temp[1] == $color_temp[2] && $color_temp[3] == $color_temp[4] && $color_temp[5] == $color_temp[6]) {
- $color = '#' . $color[1] . $color[3] . $color[5];
- }
- }
-
- switch (strtolower($color)) {
- /* color name -> hex code */
- case 'black': return '#000';
- case 'fuchsia': return '#f0f';
- case 'white': return '#fff';
- case 'yellow': return '#ff0';
-
- /* hex code -> color name */
- case '#800000': return 'maroon';
- case '#ffa500': return 'orange';
- case '#808000': return 'olive';
- case '#800080': return 'purple';
- case '#008000': return 'green';
- case '#000080': return 'navy';
- case '#008080': return 'teal';
- case '#c0c0c0': return 'silver';
- case '#808080': return 'gray';
- case '#f00': return 'red';
- }
-
- return $color;
- }
-
- /**
- * Compresses numbers (ie. 1.0 becomes 1 or 1.100 becomes 1.1 )
- * @param string $subvalue
- * @return string
- * @version 1.2
- */
- function compress_numbers($subvalue) {
- $unit_values = & $GLOBALS['csstidy']['unit_values'];
- $color_values = & $GLOBALS['csstidy']['color_values'];
-
- // for font:1em/1em sans-serif...;
- if ($this->property === 'font') {
- $temp = explode('/', $subvalue);
- } else {
- $temp = array($subvalue);
- }
- for ($l = 0; $l < count($temp); $l++) {
- // if we are not dealing with a number at this point, do not optimise anything
- $number = $this->AnalyseCssNumber($temp[$l]);
- if ($number === false) {
- return $subvalue;
- }
-
- // Fix bad colors
- if (in_array($this->property, $color_values)) {
- if (strlen($temp[$l]) == 3 || strlen($temp[$l]) == 6) {
- $temp[$l] = '#' . $temp[$l];
- }
- else {
- $temp[$l] = "0";
- }
- continue;
- }
-
- if (abs($number[0]) > 0) {
- if ($number[1] == '' && in_array($this->property, $unit_values, true)) {
- $number[1] = 'px';
- }
- } else {
- $number[1] = '';
- }
-
- $temp[$l] = $number[0] . $number[1];
- }
-
- return ((count($temp) > 1) ? $temp[0] . '/' . $temp[1] : $temp[0]);
- }
-
- /**
- * Checks if a given string is a CSS valid number. If it is,
- * an array containing the value and unit is returned
- * @param string $string
- * @return array ('unit' if unit is found or '' if no unit exists, number value) or false if no number
- */
- function AnalyseCssNumber($string) {
- // most simple checks first
- if (strlen($string) == 0 || ctype_alpha($string[0])) {
- return false;
- }
-
- $units = & $GLOBALS['csstidy']['units'];
- $return = array(0, '');
-
- $return[0] = (float) $string;
- if (abs($return[0]) > 0 && abs($return[0]) < 1) {
- // Removes the initial `0` from a decimal number, e.g., `0.7 => .7` or `-0.666 => -.666`.
- if ( ! $this->parser->get_cfg( 'preserve_leading_zeros' ) ) {
- if ( $return[0] < 0 ) {
- $return[0] = '-' . ltrim( substr( $return[0], 1 ), '0' );
- } else {
- $return[0] = ltrim( $return[0], '0' );
- }
- }
- }
-
- // Look for unit and split from value if exists
- foreach ($units as $unit) {
- $expectUnitAt = strlen($string) - strlen($unit);
- if (!($unitInString = stristr($string, $unit))) { // mb_strpos() fails with "false"
- continue;
- }
- $actualPosition = strpos($string, $unitInString);
- if ($expectUnitAt === $actualPosition) {
- $return[1] = $unit;
- $string = substr($string, 0, - strlen($unit));
- break;
- }
- }
- if (!is_numeric($string)) {
- return false;
- }
- return $return;
- }
-
- /**
- * Merges selectors with same properties. Example: a{color:red} b{color:red} -> a,b{color:red}
- * Very basic and has at least one bug. Hopefully there is a replacement soon.
- * @param array $array
- * @return array
- * @access public
- * @version 1.2
- */
- function merge_selectors(&$array) {
- $css = $array;
- foreach ($css as $key => $value) {
- if (!isset($css[$key])) {
- continue;
- }
- $newsel = '';
-
- // Check if properties also exist in another selector
- $keys = array();
- // PHP bug (?) without $css = $array; here
- foreach ($css as $selector => $vali) {
- if ($selector == $key) {
- continue;
- }
-
- if ($css[$key] === $vali) {
- $keys[] = $selector;
- }
- }
-
- if (!empty($keys)) {
- $newsel = $key;
- unset($css[$key]);
- foreach ($keys as $selector) {
- unset($css[$selector]);
- $newsel .= ',' . $selector;
- }
- $css[$newsel] = $value;
- }
- }
- $array = $css;
- }
-
- /**
- * Removes invalid selectors and their corresponding rule-sets as
- * defined by 4.1.7 in REC-CSS2. This is a very rudimentary check
- * and should be replaced by a full-blown parsing algorithm or
- * regular expression
- * @version 1.4
- */
- function discard_invalid_selectors(&$array) {
- $invalid = array('+' => true, '~' => true, ',' => true, '>' => true);
- foreach ($array as $selector => $decls) {
- $ok = true;
- $selectors = array_map('trim', explode(',', $selector));
- foreach ($selectors as $s) {
- $simple_selectors = preg_split('/\s*[+>~\s]\s*/', $s);
- foreach ($simple_selectors as $ss) {
- if ($ss === '')
- $ok = false;
- // could also check $ss for internal structure,
- // but that probably would be too slow
- }
- }
- if (!$ok)
- unset($array[$selector]);
- }
- }
-
- /**
- * Dissolves properties like padding:10px 10px 10px to padding-top:10px;padding-bottom:10px;...
- * @param string $property
- * @param string $value
- * @return array
- * @version 1.0
- * @see merge_4value_shorthands()
- */
- static function dissolve_4value_shorthands($property, $value) {
- $shorthands = & $GLOBALS['csstidy']['shorthands'];
- if (!is_array($shorthands[$property])) {
- $return[$property] = $value;
- return $return;
- }
-
- $important = '';
- if (csstidy::is_important($value)) {
- $value = csstidy::gvw_important($value);
- $important = '!important';
- }
- $values = explode(' ', $value);
-
-
- $return = array();
- if (count($values) == 4) {
- for ($i = 0; $i < 4; $i++) {
- $return[$shorthands[$property][$i]] = $values[$i] . $important;
- }
- } elseif (count($values) == 3) {
- $return[$shorthands[$property][0]] = $values[0] . $important;
- $return[$shorthands[$property][1]] = $values[1] . $important;
- $return[$shorthands[$property][3]] = $values[1] . $important;
- $return[$shorthands[$property][2]] = $values[2] . $important;
- } elseif (count($values) == 2) {
- for ($i = 0; $i < 4; $i++) {
- $return[$shorthands[$property][$i]] = (($i % 2 != 0)) ? $values[1] . $important : $values[0] . $important;
- }
- } else {
- for ($i = 0; $i < 4; $i++) {
- $return[$shorthands[$property][$i]] = $values[0] . $important;
- }
- }
-
- return $return;
- }
-
- /**
- * Explodes a string as explode() does, however, not if $sep is escaped or within a string.
- * @param string $sep seperator
- * @param string $string
- * @return array
- * @version 1.0
- */
- static function explode_ws($sep, $string) {
- $status = 'st';
- $to = '';
-
- $output = array();
- $num = 0;
- for ($i = 0, $len = strlen($string); $i < $len; $i++) {
- switch ($status) {
- case 'st':
- if ($string[$i] == $sep && !csstidy::escaped($string, $i)) {
- ++$num;
- } elseif ($string[$i] === '"' || $string[$i] === '\'' || $string[$i] === '(' && !csstidy::escaped($string, $i)) {
- $status = 'str';
- $to = ($string[$i] === '(') ? ')' : $string[$i];
- (isset($output[$num])) ? $output[$num] .= $string[$i] : $output[$num] = $string[$i];
- } else {
- (isset($output[$num])) ? $output[$num] .= $string[$i] : $output[$num] = $string[$i];
- }
- break;
-
- case 'str':
- if ($string[$i] == $to && !csstidy::escaped($string, $i)) {
- $status = 'st';
- }
- (isset($output[$num])) ? $output[$num] .= $string[$i] : $output[$num] = $string[$i];
- break;
- }
- }
-
- if (isset($output[0])) {
- return $output;
- } else {
- return array($output);
- }
- }
-
- /**
- * Merges Shorthand properties again, the opposite of dissolve_4value_shorthands()
- * @param array $array
- * @return array
- * @version 1.2
- * @see dissolve_4value_shorthands()
- */
- static function merge_4value_shorthands($array) {
- $return = $array;
- $shorthands = & $GLOBALS['csstidy']['shorthands'];
-
- foreach ($shorthands as $key => $value) {
- if (isset($array[$value[0]]) && isset($array[$value[1]])
- && isset($array[$value[2]]) && isset($array[$value[3]]) && $value !== 0) {
- $return[$key] = '';
-
- $important = '';
- for ($i = 0; $i < 4; $i++) {
- $val = $array[$value[$i]];
- if (csstidy::is_important($val)) {
- $important = '!important';
- $return[$key] .= csstidy::gvw_important($val) . ' ';
- } else {
- $return[$key] .= $val . ' ';
- }
- unset($return[$value[$i]]);
- }
- $return[$key] = csstidy_optimise::shorthand(trim($return[$key] . $important));
- }
- }
- return $return;
- }
-
- /**
- * Dissolve background property
- * @param string $str_value
- * @return array
- * @version 1.0
- * @see merge_bg()
- * @todo full CSS 3 compliance
- */
- static function dissolve_short_bg($str_value) {
- $have = array();
- // don't try to explose background gradient !
- if (stripos($str_value, "gradient(")!==FALSE)
- return array('background'=>$str_value);
-
- $background_prop_default = & $GLOBALS['csstidy']['background_prop_default'];
- $repeat = array('repeat', 'repeat-x', 'repeat-y', 'no-repeat', 'space');
- $attachment = array('scroll', 'fixed', 'local');
- $clip = array('border', 'padding');
- $origin = array('border', 'padding', 'content');
- $pos = array('top', 'center', 'bottom', 'left', 'right');
- $important = '';
- $return = array('background-image' => null, 'background-size' => null, 'background-repeat' => null, 'background-position' => null, 'background-attachment' => null, 'background-clip' => null, 'background-origin' => null, 'background-color' => null);
-
- if (csstidy::is_important($str_value)) {
- $important = ' !important';
- $str_value = csstidy::gvw_important($str_value);
- }
-
- $str_value = csstidy_optimise::explode_ws(',', $str_value);
- for ($i = 0; $i < count($str_value); $i++) {
- $have['clip'] = false;
- $have['pos'] = false;
- $have['color'] = false;
- $have['bg'] = false;
-
- if (is_array($str_value[$i])) {
- $str_value[$i] = $str_value[$i][0];
- }
- $str_value[$i] = csstidy_optimise::explode_ws(' ', trim($str_value[$i]));
-
- for ($j = 0; $j < count($str_value[$i]); $j++) {
- if ($have['bg'] === false && (substr($str_value[$i][$j], 0, 4) === 'url(' || $str_value[$i][$j] === 'none')) {
- $return['background-image'] .= $str_value[$i][$j] . ',';
- $have['bg'] = true;
- } elseif (in_array($str_value[$i][$j], $repeat, true)) {
- $return['background-repeat'] .= $str_value[$i][$j] . ',';
- } elseif (in_array($str_value[$i][$j], $attachment, true)) {
- $return['background-attachment'] .= $str_value[$i][$j] . ',';
- } elseif (in_array($str_value[$i][$j], $clip, true) && !$have['clip']) {
- $return['background-clip'] .= $str_value[$i][$j] . ',';
- $have['clip'] = true;
- } elseif (in_array($str_value[$i][$j], $origin, true)) {
- $return['background-origin'] .= $str_value[$i][$j] . ',';
- } elseif ($str_value[$i][$j][0] === '(') {
- $return['background-size'] .= substr($str_value[$i][$j], 1, -1) . ',';
- } elseif (in_array($str_value[$i][$j], $pos, true) || is_numeric($str_value[$i][$j][0]) || $str_value[$i][$j][0] === null || $str_value[$i][$j][0] === '-' || $str_value[$i][$j][0] === '.') {
- $return['background-position'] .= $str_value[$i][$j];
- if (!$have['pos'])
- $return['background-position'] .= ' '; else
- $return['background-position'].= ',';
- $have['pos'] = true;
- }
- elseif (!$have['color']) {
- $return['background-color'] .= $str_value[$i][$j] . ',';
- $have['color'] = true;
- }
- }
- }
-
- foreach ($background_prop_default as $bg_prop => $default_value) {
- if ($return[$bg_prop] !== null) {
- $return[$bg_prop] = substr($return[$bg_prop], 0, -1) . $important;
- }
- else
- $return[$bg_prop] = $default_value . $important;
- }
- return $return;
- }
-
- /**
- * Merges all background properties
- * @param array $input_css
- * @return array
- * @version 1.0
- * @see dissolve_short_bg()
- * @todo full CSS 3 compliance
- */
- static function merge_bg($input_css) {
- $background_prop_default = & $GLOBALS['csstidy']['background_prop_default'];
- // Max number of background images. CSS3 not yet fully implemented
- $number_of_values = @max(count(csstidy_optimise::explode_ws(',', $input_css['background-image'])), count(csstidy_optimise::explode_ws(',', $input_css['background-color'])), 1);
- // Array with background images to check if BG image exists
- $bg_img_array = @csstidy_optimise::explode_ws(',', csstidy::gvw_important($input_css['background-image']));
- $new_bg_value = '';
- $important = '';
-
- // if background properties is here and not empty, don't try anything
- if (isset($input_css['background']) AND $input_css['background'])
- return $input_css;
-
- for ($i = 0; $i < $number_of_values; $i++) {
- foreach ($background_prop_default as $bg_property => $default_value) {
- // Skip if property does not exist
- if (!isset($input_css[$bg_property])) {
- continue;
- }
-
- $cur_value = $input_css[$bg_property];
- // skip all optimisation if gradient() somewhere
- if (stripos($cur_value, "gradient(")!==FALSE)
- return $input_css;
-
- // Skip some properties if there is no background image
- if ((!isset($bg_img_array[$i]) || $bg_img_array[$i] === 'none')
- && ($bg_property === 'background-size' || $bg_property === 'background-position'
- || $bg_property === 'background-attachment' || $bg_property === 'background-repeat')) {
- continue;
- }
-
- // Remove !important
- if (csstidy::is_important($cur_value)) {
- $important = ' !important';
- $cur_value = csstidy::gvw_important($cur_value);
- }
-
- // Do not add default values
- if ($cur_value === $default_value) {
- continue;
- }
-
- $temp = csstidy_optimise::explode_ws(',', $cur_value);
-
- if (isset($temp[$i])) {
- if ($bg_property === 'background-size') {
- $new_bg_value .= '(' . $temp[$i] . ') ';
- } else {
- $new_bg_value .= $temp[$i] . ' ';
- }
- }
- }
-
- $new_bg_value = trim($new_bg_value);
- if ($i != $number_of_values - 1)
- $new_bg_value .= ',';
- }
-
- // Delete all background-properties
- foreach ($background_prop_default as $bg_property => $default_value) {
- unset($input_css[$bg_property]);
- }
-
- // Add new background property
- if ($new_bg_value !== '')
- $input_css['background'] = $new_bg_value . $important;
- elseif(isset ($input_css['background']))
- $input_css['background'] = 'none';
-
- return $input_css;
- }
-
- /**
- * Dissolve font property
- * @param string $str_value
- * @return array
- * @version 1.3
- * @see merge_font()
- */
- static function dissolve_short_font($str_value) {
- $have = array();
- $font_prop_default = & $GLOBALS['csstidy']['font_prop_default'];
- $font_weight = array('normal', 'bold', 'bolder', 'lighter', 100, 200, 300, 400, 500, 600, 700, 800, 900);
- $font_variant = array('normal', 'small-caps');
- $font_style = array('normal', 'italic', 'oblique');
- $important = '';
- $return = array('font-style' => null, 'font-variant' => null, 'font-weight' => null, 'font-size' => null, 'line-height' => null, 'font-family' => null);
-
- if (csstidy::is_important($str_value)) {
- $important = '!important';
- $str_value = csstidy::gvw_important($str_value);
- }
-
- $have['style'] = false;
- $have['variant'] = false;
- $have['weight'] = false;
- $have['size'] = false;
- // Detects if font-family consists of several words w/o quotes
- $multiwords = false;
-
- // Workaround with multiple font-family
- $str_value = csstidy_optimise::explode_ws(',', trim($str_value));
-
- $str_value[0] = csstidy_optimise::explode_ws(' ', trim($str_value[0]));
-
- for ($j = 0; $j < count($str_value[0]); $j++) {
- if ($have['weight'] === false && in_array($str_value[0][$j], $font_weight)) {
- $return['font-weight'] = $str_value[0][$j];
- $have['weight'] = true;
- } elseif ($have['variant'] === false && in_array($str_value[0][$j], $font_variant)) {
- $return['font-variant'] = $str_value[0][$j];
- $have['variant'] = true;
- } elseif ($have['style'] === false && in_array($str_value[0][$j], $font_style)) {
- $return['font-style'] = $str_value[0][$j];
- $have['style'] = true;
- } elseif ($have['size'] === false && (is_numeric($str_value[0][$j][0]) || $str_value[0][$j][0] === null || $str_value[0][$j][0] === '.')) {
- $size = csstidy_optimise::explode_ws('/', trim($str_value[0][$j]));
- $return['font-size'] = $size[0];
- if (isset($size[1])) {
- $return['line-height'] = $size[1];
- } else {
- $return['line-height'] = ''; // don't add 'normal' !
- }
- $have['size'] = true;
- } else {
- if (isset($return['font-family'])) {
- $return['font-family'] .= ' ' . $str_value[0][$j];
- $multiwords = true;
- } else {
- $return['font-family'] = $str_value[0][$j];
- }
- }
- }
- // add quotes if we have several qords in font-family
- if ($multiwords !== false) {
- $return['font-family'] = '"' . $return['font-family'] . '"';
- }
- $i = 1;
- while (isset($str_value[$i])) {
- $return['font-family'] .= ',' . trim($str_value[$i]);
- $i++;
- }
-
- // Fix for 100 and more font-size
- if ($have['size'] === false && isset($return['font-weight']) &&
- is_numeric($return['font-weight'][0])) {
- $return['font-size'] = $return['font-weight'];
- unset($return['font-weight']);
- }
-
- foreach ($font_prop_default as $font_prop => $default_value) {
- if ($return[$font_prop] !== null) {
- $return[$font_prop] = $return[$font_prop] . $important;
- }
- else
- $return[$font_prop] = $default_value . $important;
- }
- return $return;
- }
-
- /**
- * Merges all fonts properties
- * @param array $input_css
- * @return array
- * @version 1.3
- * @see dissolve_short_font()
- */
- static function merge_font($input_css) {
- $font_prop_default = & $GLOBALS['csstidy']['font_prop_default'];
- $new_font_value = '';
- $important = '';
- // Skip if not font-family and font-size set
- if (isset($input_css['font-family']) && isset($input_css['font-size'])) {
- // fix several words in font-family - add quotes
- if (isset($input_css['font-family'])) {
- $families = explode(",", $input_css['font-family']);
- $result_families = array();
- foreach ($families as $family) {
- $family = trim($family);
- $len = strlen($family);
- if (strpos($family, " ") &&
- !(($family[0] == '"' && $family[$len - 1] == '"') ||
- ($family[0] == "'" && $family[$len - 1] == "'"))) {
- $family = '"' . $family . '"';
- }
- $result_families[] = $family;
- }
- $input_css['font-family'] = implode(",", $result_families);
- }
- foreach ($font_prop_default as $font_property => $default_value) {
-
- // Skip if property does not exist
- if (!isset($input_css[$font_property])) {
- continue;
- }
-
- $cur_value = $input_css[$font_property];
-
- // Skip if default value is used
- if ($cur_value === $default_value) {
- continue;
- }
-
- // Remove !important
- if (csstidy::is_important($cur_value)) {
- $important = '!important';
- $cur_value = csstidy::gvw_important($cur_value);
- }
-
- $new_font_value .= $cur_value;
- // Add delimiter
- $new_font_value .= ( $font_property === 'font-size' &&
- isset($input_css['line-height'])) ? '/' : ' ';
- }
-
- $new_font_value = trim($new_font_value);
-
- // Delete all font-properties
- foreach ($font_prop_default as $font_property => $default_value) {
- if ($font_property!=='font' OR !$new_font_value)
- unset($input_css[$font_property]);
- }
-
- // Add new font property
- if ($new_font_value !== '') {
- $input_css['font'] = $new_font_value . $important;
- }
- }
-
- return $input_css;
- }
-
-}
diff --git a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy_print.php b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy_print.php
deleted file mode 100644
index 80b6c990..00000000
--- a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy_print.php
+++ /dev/null
@@ -1,410 +0,0 @@
-<?php
-/**
- * CSSTidy - CSS Parser and Optimiser
- *
- * CSS Printing class
- * This class prints CSS data generated by csstidy.
- *
- * Copyright 2005, 2006, 2007 Florian Schmitz
- *
- * This file is part of CSSTidy.
- *
- * CSSTidy is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * CSSTidy is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
- *
- * @license https://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
- * @package csstidy
- * @author Florian Schmitz (floele at gmail dot com) 2005-2007
- * @author Brett Zamir (brettz9 at yahoo dot com) 2007
- * @author Cedric Morin (cedric at yterium dot com) 2010
- */
-
-/**
- * CSS Printing class
- *
- * This class prints CSS data generated by csstidy.
- *
- * @package csstidy
- * @author Florian Schmitz (floele at gmail dot com) 2005-2006
- * @version 1.0.1
- */
-class csstidy_print {
-
- /**
- * Saves the input CSS string
- * @var string
- * @access private
- */
- public $input_css = '';
- /**
- * Saves the formatted CSS string
- * @var string
- * @access public
- */
- public $output_css = '';
- /**
- * Saves the formatted CSS string (plain text)
- * @var string
- * @access public
- */
- public $output_css_plain = '';
-
- /**
- * Constructor
- * @param array $css contains the class csstidy
- * @access private
- * @version 1.0
- */
- function __construct(&$css) {
- $this->parser = & $css;
- $this->css = & $css->css;
- $this->template = & $css->template;
- $this->tokens = & $css->tokens;
- $this->charset = & $css->charset;
- $this->import = & $css->import;
- $this->namespace = & $css->namespace;
- }
-
- function csstidy_print(&$css) {
- $this->__construct($css);
- }
-
- /**
- * Resets output_css and output_css_plain (new css code)
- * @access private
- * @version 1.0
- */
- function _reset() {
- $this->output_css = '';
- $this->output_css_plain = '';
- }
-
- /**
- * Returns the CSS code as plain text
- * @param string $default_media default @media to add to selectors without any @media
- * @return string
- * @access public
- * @version 1.0
- */
- function plain($default_media='') {
- $this->_print(true, $default_media);
- return $this->output_css_plain;
- }
-
- /**
- * Returns the formatted CSS code
- * @param string $default_media default @media to add to selectors without any @media
- * @return string
- * @access public
- * @version 1.0
- */
- function formatted($default_media='') {
- $this->_print(false, $default_media);
- return $this->output_css;
- }
-
- /**
- * Returns the formatted CSS code to make a complete webpage
- * @param string $doctype shorthand for the document type
- * @param bool $externalcss indicates whether styles to be attached internally or as an external stylesheet
- * @param string $title title to be added in the head of the document
- * @param string $lang two-letter language code to be added to the output
- * @return string
- * @access public
- * @version 1.4
- */
- function formatted_page($doctype='xhtml1.1', $externalcss=true, $title='', $lang='en') {
- switch ($doctype) {
- case 'xhtml1.0strict':
- $doctype_output = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
- break;
- case 'xhtml1.1':
- default:
- $doctype_output = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
- break;
- }
-
- $output = $cssparsed = '';
- $this->output_css_plain = & $output;
-
- $output .= $doctype_output . "\n" . '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . $lang . '"';
- $output .= ( $doctype === 'xhtml1.1') ? '>' : ' lang="' . $lang . '">';
- $output .= "\n<head>\n <title>$title</title>";
-
- if ($externalcss) {
- $output .= "\n <style type=\"text/css\">\n";
- $cssparsed = file_get_contents('cssparsed.css');
- $output .= $cssparsed; // Adds an invisible BOM or something, but not in css_optimised.php
- $output .= "\n</style>";
- } else {
- $output .= "\n" . ' <link rel="stylesheet" type="text/css" href="cssparsed.css" />';
-// }
- }
- $output .= "\n</head>\n<body><code id=\"copytext\">";
- $output .= $this->formatted();
- $output .= '</code>' . "\n" . '</body></html>';
- return $this->output_css_plain;
- }
-
- /**
- * Returns the formatted CSS Code and saves it into $this->output_css and $this->output_css_plain
- * @param bool $plain plain text or not
- * @param string $default_media default @media to add to selectors without any @media
- * @access private
- * @version 2.0
- */
- function _print($plain = false, $default_media='') {
- if ($this->output_css && $this->output_css_plain) {
- return;
- }
-
- $output = '';
- if (!$this->parser->get_cfg('preserve_css')) {
- $this->_convert_raw_css($default_media);
- }
-
- $template = & $this->template;
-
- if ($plain) {
- $template = array_map('strip_tags', $template);
- }
-
- if ($this->parser->get_cfg('timestamp')) {
- array_unshift($this->tokens, array(COMMENT, ' CSSTidy ' . $this->parser->version . ': ' . date('r') . ' '));
- }
-
- if (!empty($this->charset)) {
- $output .= $template[0] . '@charset ' . $template[5] . $this->charset . $template[6];
- }
-
- if (!empty($this->import)) {
- for ($i = 0, $size = count($this->import); $i < $size; $i++) {
- $import_components = explode(' ', $this->import[$i]);
- if (substr($import_components[0], 0, 4) === 'url(' && substr($import_components[0], -1, 1) === ')') {
- $import_components[0] = '\'' . trim(substr($import_components[0], 4, -1), "'\"") . '\'';
- $this->import[$i] = implode(' ', $import_components);
- $this->parser->log('Optimised @import : Removed "url("', 'Information');
- }
- $output .= $template[0] . '@import ' . $template[5] . $this->import[$i] . $template[6];
- }
- }
- if (!empty($this->namespace)) {
- if (substr($this->namespace, 0, 4) === 'url(' && substr($this->namespace, -1, 1) === ')') {
- $this->namespace = '\'' . substr($this->namespace, 4, -1) . '\'';
- $this->parser->log('Optimised @namespace : Removed "url("', 'Information');
- }
- $output .= $template[0] . '@namespace ' . $template[5] . $this->namespace . $template[6];
- }
-
- $output .= $template[13];
- $in_at_out = '';
- $out = & $output;
-
- foreach ($this->tokens as $key => $token) {
- switch ($token[0]) {
- case AT_START:
- $out .= $template[0] . $this->_htmlsp($token[1], $plain) . $template[1];
- $out = & $in_at_out;
- break;
-
- case SEL_START:
- if ($this->parser->get_cfg('lowercase_s'))
- $token[1] = strtolower($token[1]);
- $out .= ( $token[1][0] !== '@') ? $template[2] . $this->_htmlsp($token[1], $plain) : $template[0] . $this->_htmlsp($token[1], $plain);
- $out .= $template[3];
- break;
-
- case PROPERTY:
- if ($this->parser->get_cfg('case_properties') === 2) {
- $token[1] = strtoupper($token[1]);
- } elseif ($this->parser->get_cfg('case_properties') === 1) {
- $token[1] = strtolower($token[1]);
- }
- $out .= $template[4] . $this->_htmlsp($token[1], $plain) . ':' . $template[5];
- break;
-
- case VALUE:
- $out .= $this->_htmlsp($token[1], $plain);
- if ($this->_seeknocomment($key, 1) == SEL_END && $this->parser->get_cfg('remove_last_;')) {
- $out .= str_replace(';', '', $template[6]);
- } else {
- $out .= $template[6];
- }
- break;
-
- case SEL_END:
- $out .= $template[7];
- if ($this->_seeknocomment($key, 1) != AT_END)
- $out .= $template[8];
- break;
-
- case AT_END:
- $out = & $output;
- $out .= $template[10] . str_replace("\n", "\n" . $template[10], $in_at_out);
- $in_at_out = '';
- $out .= $template[9];
- break;
-
- case COMMENT:
- $out .= $template[11] . '/*' . $this->_htmlsp($token[1], $plain) . '*/' . $template[12];
- break;
- }
- }
-
- $output = trim($output);
-
- if (!$plain) {
- $this->output_css = $output;
- $this->_print(true);
- } else {
- // If using spaces in the template, don't want these to appear in the plain output
- $this->output_css_plain = str_replace('&#160;', '', $output);
- }
- }
-
- /**
- * Gets the next token type which is $move away from $key, excluding comments
- * @param integer $key current position
- * @param integer $move move this far
- * @return mixed a token type
- * @access private
- * @version 1.0
- */
- function _seeknocomment($key, $move) {
- $go = ($move > 0) ? 1 : -1;
- for ($i = $key + 1; abs($key - $i) - 1 < abs($move); $i += $go) {
- if (!isset($this->tokens[$i])) {
- return;
- }
- if ($this->tokens[$i][0] == COMMENT) {
- $move += 1;
- continue;
- }
- return $this->tokens[$i][0];
- }
- }
-
- /**
- * Converts $this->css array to a raw array ($this->tokens)
- * @param string $default_media default @media to add to selectors without any @media
- * @access private
- * @version 1.0
- */
- function _convert_raw_css($default_media='') {
- $this->tokens = array();
-
- foreach ($this->css as $medium => $val) {
- if ($this->parser->get_cfg('sort_selectors'))
- ksort($val);
- if ( (int) $medium < DEFAULT_AT ) {
- $this->parser->_add_token(AT_START, $medium, true);
- }
- elseif ($default_media) {
- $this->parser->_add_token(AT_START, $default_media, true);
- }
-
- foreach ($val as $selector => $vali) {
- if ($this->parser->get_cfg('sort_properties'))
- ksort($vali);
- $this->parser->_add_token(SEL_START, $selector, true);
-
- foreach ($vali as $property => $valj) {
- $this->parser->_add_token(PROPERTY, $property, true);
- $this->parser->_add_token(VALUE, $valj, true);
- }
-
- $this->parser->_add_token(SEL_END, $selector, true);
- }
-
- if ( (int) $medium < DEFAULT_AT ) {
- $this->parser->_add_token(AT_END, $medium, true);
- }
- elseif ($default_media) {
- $this->parser->_add_token(AT_END, $default_media, true);
- }
- }
- }
-
- /**
- * Same as htmlspecialchars, only that chars are not replaced if $plain !== true. This makes print_code() cleaner.
- * @param string $string
- * @param bool $plain
- * @return string
- * @see csstidy_print::_print()
- * @access private
- * @version 1.0
- */
- function _htmlsp($string, $plain) {
- if (!$plain) {
- return htmlspecialchars($string, ENT_QUOTES, 'utf-8');
- }
- return $string;
- }
-
- /**
- * Get compression ratio
- * @access public
- * @return float
- * @version 1.2
- */
- function get_ratio() {
- if (!$this->output_css_plain) {
- $this->formatted();
- }
- return round((strlen($this->input_css) - strlen($this->output_css_plain)) / strlen($this->input_css), 3) * 100;
- }
-
- /**
- * Get difference between the old and new code in bytes and prints the code if necessary.
- * @access public
- * @return string
- * @version 1.1
- */
- function get_diff() {
- if (!$this->output_css_plain) {
- $this->formatted();
- }
-
- $diff = strlen($this->output_css_plain) - strlen($this->input_css);
-
- if ($diff > 0) {
- return '+' . $diff;
- } elseif ($diff == 0) {
- return '+-' . $diff;
- }
-
- return $diff;
- }
-
- /**
- * Get the size of either input or output CSS in KB
- * @param string $loc default is "output"
- * @access public
- * @return integer
- * @version 1.0
- */
- function size($loc = 'output') {
- if ($loc === 'output' && !$this->output_css) {
- $this->formatted();
- }
-
- if ($loc === 'input') {
- return (strlen($this->input_css) / 1000);
- } else {
- return (strlen($this->output_css_plain) / 1000);
- }
- }
-
-}
diff --git a/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.css b/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.css
index 522433be..f04a746e 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.css
+++ b/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.css
@@ -1,119 +1,146 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-@import url("./cssparsed.css");
+code#copytext {
+ white-space: pre;
+ font-family: Verdana;
+}
+
+.at {
+ color: darkblue;
+}
+
+.format {
+ color: gray;
+}
+
+.property {
+ color: green;
+}
+.selector {
+ color: blue;
+}
+
+.value {
+ color: red;
+ right: 500px;
+}
+
+.comment {
+ color: orange;
+}
html, body {
-font:0.8em Verdana,Helvetica,sans-serif;
-background:#F8F8F6;
+ font: 0.8em Verdana, Helvetica, sans-serif;
+ background: #F8F8F6;
}
code {
-font-size:1.2em;
+ font-size: 1.2em;
}
div#rightcol {
-padding-right:32em;
+ padding-right: 32em;
}
fieldset {
-display:block;
-margin:0.5em 0;
-padding:1em;
-border:solid #7284AB 2px;
+ display: block;
+ margin: 0.5em 0;
+ padding: 1em;
+ border: solid #7284AB 2px;
}
+
fieldset.code_output {
-display:inline;
+ display: inline;
}
h1 {
-font-size:2em;
+ font-size: 2em;
}
small {
-font-size:0.7em;
+ font-size: 0.7em;
}
fieldset#field_input {
-float:right;
-margin:0 0 1em 0.5em;
+ float: right;
+ margin: 0 0 1em 0.5em;
}
-fieldset#options,fieldset#code_layout {
-width:31em;
+fieldset#options, fieldset#code_layout {
+ width: 31em;
}
input#submit {
-clear:both;
-display:block;
-margin:1em;
+ clear: both;
+ display: block;
+ margin: 1em;
}
select {
-margin:2px 0 0;
+ margin: 2px 0 0;
}
label.block {
-display:block;
+ display: block;
}
legend {
-background:#c4E1C3;
-padding:2px 4px;
-border:dashed 1px;
+ background: #c4E1C3;
+ padding: 2px 4px;
+ border: dashed 1px;
}
textarea#css_text {
-width:27em;
-height:370px;
-display:block;
-margin-left:1em;
+ width: 27em;
+ height: 370px;
+ display: block;
+ margin-left: 1em;
}
.help {
-cursor:help;
+ cursor: help;
}
p.important {
-border:solid 1px red;
-font-weight:bold;
-padding:1em;
-background:white;
+ border: solid 1px red;
+ font-weight: bold;
+ padding: 1em;
+ background: white;
}
p {
-margin:1em 0;
+ margin: 1em 0;
}
dl {
-padding-right:0.5em;
+ padding-right: 0.5em;
}
dt {
-font-weight:bold;
-margin:0;
-float:right;
-clear:both;
-height:1.5em;
+ font-weight: bold;
+ margin: 0;
+ float: right;
+ clear: both;
+ height: 1.5em;
}
dd {
-margin:0 4em 0 0;
-height:1.5em;
+ margin: 0 4em 0 0;
+ height: 1.5em;
}
fieldset#messages {
-background:white;
-padding:0 1em 0 0;
+ background: white;
+ padding: 0 1em 0 0;
}
fieldset#messages div {
-height:10em;
-overflow:auto;
+ height: 10em;
+ overflow: auto;
}
dd.Warning {
-color:orange;
+ color: orange;
}
dd.Information {
-color:green;
+ color: green;
}
diff --git a/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.min.css b/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.min.css
index 02da7f4c..cea0e4f0 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.min.css
+++ b/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.min.css
@@ -1 +1 @@
-code#copytext{white-space:pre;font-family:Verdana}.at{color:#00008b}.format{color:gray}.property{color:green}.selector{color:#00f}.value{color:red;left:500px}.comment{color:orange}body,html{font:.8em Verdana,Helvetica,sans-serif;background:#f8f8f6}code{font-size:1.2em}div#rightcol{padding-right:32em}fieldset{display:block;margin:.5em 0;padding:1em;border:solid #7284ab 2px}fieldset.code_output{display:inline}h1{font-size:2em}small{font-size:.7em}fieldset#field_input{float:right;margin:0 0 1em .5em}fieldset#code_layout,fieldset#options{width:31em}input#submit{clear:both;display:block;margin:1em}select{margin:2px 0 0}label.block{display:block}legend{background:#c4e1c3;padding:2px 4px;border:dashed 1px}textarea#css_text{width:27em;height:370px;display:block;margin-left:1em}.help{cursor:help}p.important{border:solid 1px red;font-weight:700;padding:1em;background:#fff}p{margin:1em 0}dl{padding-right:.5em}dt{font-weight:700;margin:0;float:right;clear:both;height:1.5em}dd{margin:0 4em 0 0;height:1.5em}fieldset#messages{background:#fff;padding:0 1em 0 0}fieldset#messages div{height:10em;overflow:auto}dd.Warning{color:orange}dd.Information{color:green} \ No newline at end of file
+code#copytext{font-family:Verdana;white-space:pre}.at{color:#00008b}.format{color:gray}.property{color:green}.selector{color:blue}.value{color:red;right:500px}.comment{color:orange}body,html{background:#f8f8f6;font:.8em Verdana,Helvetica,sans-serif}code{font-size:1.2em}div#rightcol{padding-right:32em}fieldset{border:2px solid #7284ab;display:block;margin:.5em 0;padding:1em}fieldset.code_output{display:inline}h1{font-size:2em}small{font-size:.7em}fieldset#field_input{float:right;margin:0 0 1em .5em}fieldset#code_layout,fieldset#options{width:31em}input#submit{clear:both;display:block;margin:1em}select{margin:2px 0 0}label.block{display:block}legend{background:#c4e1c3;border:1px dashed;padding:2px 4px}textarea#css_text{display:block;height:370px;margin-left:1em;width:27em}.help{cursor:help}p.important{background:#fff;border:1px solid red;font-weight:700;padding:1em}p{margin:1em 0}dl{padding-right:.5em}dt{clear:both;float:right;font-weight:700;margin:0}dd,dt{height:1.5em}dd{margin:0 4em 0 0}fieldset#messages{background:#fff;padding:0 1em 0 0}fieldset#messages div{height:10em;overflow:auto}dd.Warning{color:orange}dd.Information{color:green} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-css/csstidy/cssparse.min.css b/plugins/jetpack/modules/custom-css/csstidy/cssparse.min.css
index fa4927e5..74aaa8ba 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/cssparse.min.css
+++ b/plugins/jetpack/modules/custom-css/csstidy/cssparse.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-code#copytext{white-space:pre;font-family:Verdana}.at{color:#00008b}.format{color:gray}.property{color:green}.selector{color:#00f}.value{color:red;left:500px}.comment{color:orange}body,html{font:.8em Verdana,Helvetica,sans-serif;background:#f8f8f6}code{font-size:1.2em}div#rightcol{padding-left:32em}fieldset{display:block;margin:.5em 0;padding:1em;border:solid #7284ab 2px}fieldset.code_output{display:inline}h1{font-size:2em}small{font-size:.7em}fieldset#field_input{float:left;margin:0 .5em 1em 0}fieldset#code_layout,fieldset#options{width:31em}input#submit{clear:both;display:block;margin:1em}select{margin:2px 0 0}label.block{display:block}legend{background:#c4e1c3;padding:2px 4px;border:dashed 1px}textarea#css_text{width:27em;height:370px;display:block;margin-right:1em}.help{cursor:help}p.important{border:solid 1px red;font-weight:700;padding:1em;background:#fff}p{margin:1em 0}dl{padding-left:.5em}dt{font-weight:700;margin:0;float:left;clear:both;height:1.5em}dd{margin:0 0 0 4em;height:1.5em}fieldset#messages{background:#fff;padding:0 0 0 1em}fieldset#messages div{height:10em;overflow:auto}dd.Warning{color:orange}dd.Information{color:green} \ No newline at end of file
+code#copytext{font-family:Verdana;white-space:pre}.at{color:#00008b}.format{color:gray}.property{color:green}.selector{color:blue}.value{color:red;left:500px}.comment{color:orange}body,html{background:#f8f8f6;font:.8em Verdana,Helvetica,sans-serif}code{font-size:1.2em}div#rightcol{padding-left:32em}fieldset{border:2px solid #7284ab;display:block;margin:.5em 0;padding:1em}fieldset.code_output{display:inline}h1{font-size:2em}small{font-size:.7em}fieldset#field_input{float:left;margin:0 .5em 1em 0}fieldset#code_layout,fieldset#options{width:31em}input#submit{clear:both;display:block;margin:1em}select{margin:2px 0 0}label.block{display:block}legend{background:#c4e1c3;border:1px dashed;padding:2px 4px}textarea#css_text{display:block;height:370px;margin-right:1em;width:27em}.help{cursor:help}p.important{background:#fff;border:1px solid red;font-weight:700;padding:1em}p{margin:1em 0}dl{padding-left:.5em}dt{clear:both;float:left;font-weight:700;margin:0}dd,dt{height:1.5em}dd{margin:0 0 0 4em}fieldset#messages{background:#fff;padding:0 0 0 1em}fieldset#messages div{height:10em;overflow:auto}dd.Warning{color:orange}dd.Information{color:green} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.css b/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.css
index d765e2d7..5b8877af 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.css
+++ b/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.css
@@ -1,30 +1,29 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
code#copytext {
- white-space: pre;
- font-family: Verdana;
+ white-space: pre;
+ font-family: Verdana;
}
.at {
-color:darkblue;
+ color: darkblue;
}
.format {
-color:gray;
+ color: gray;
}
.property {
-color:green;
+ color: green;
}
.selector {
-color:blue;
+ color: blue;
}
.value {
-color:red;
-right: 500px;
+ color: red;
+ right: 500px;
}
.comment {
-color:orange;
-} \ No newline at end of file
+ color: orange;
+}
diff --git a/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.min.css b/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.min.css
index ba9903d0..99cd80fd 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.min.css
+++ b/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.min.css
@@ -1 +1 @@
-code#copytext{white-space:pre;font-family:Verdana}.at{color:#00008b}.format{color:gray}.property{color:green}.selector{color:#00f}.value{color:red;right:500px}.comment{color:orange} \ No newline at end of file
+code#copytext{font-family:Verdana;white-space:pre}.at{color:#00008b}.format{color:gray}.property{color:green}.selector{color:blue}.value{color:red;right:500px}.comment{color:orange} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-css/csstidy/cssparsed.min.css b/plugins/jetpack/modules/custom-css/csstidy/cssparsed.min.css
index db96935e..76b00200 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/cssparsed.min.css
+++ b/plugins/jetpack/modules/custom-css/csstidy/cssparsed.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-code#copytext{white-space:pre;font-family:Verdana}.at{color:#00008b}.format{color:gray}.property{color:green}.selector{color:#00f}.value{color:red;left:500px}.comment{color:orange} \ No newline at end of file
+code#copytext{font-family:Verdana;white-space:pre}.at{color:#00008b}.format{color:gray}.property{color:green}.selector{color:blue}.value{color:red;left:500px}.comment{color:orange} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-css/csstidy/data-wp.inc.php b/plugins/jetpack/modules/custom-css/csstidy/data-wp.inc.php
index f0f7376f..518a5bb6 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/data-wp.inc.php
+++ b/plugins/jetpack/modules/custom-css/csstidy/data-wp.inc.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
unset( $GLOBALS['csstidy']['all_properties']['binding'] );
@@ -6,14 +6,14 @@ $GLOBALS['csstidy']['all_properties']['text-size-adjust'] = 'CSS3.0';
// Support browser prefixes for properties only in the latest CSS draft
foreach ( $GLOBALS['csstidy']['all_properties'] as $property => $levels ) {
- if ( strpos( $levels, "," ) === false ) {
- $GLOBALS['csstidy']['all_properties']['-moz-' . $property] = $levels;
- $GLOBALS['csstidy']['all_properties']['-webkit-' . $property] = $levels;
- $GLOBALS['csstidy']['all_properties']['-ms-' . $property] = $levels;
- $GLOBALS['csstidy']['all_properties']['-o-' . $property] = $levels;
- $GLOBALS['csstidy']['all_properties']['-khtml-' . $property] = $levels;
+ if ( strpos( $levels, ',' ) === false ) {
+ $GLOBALS['csstidy']['all_properties'][ '-moz-' . $property ] = $levels;
+ $GLOBALS['csstidy']['all_properties'][ '-webkit-' . $property ] = $levels;
+ $GLOBALS['csstidy']['all_properties'][ '-ms-' . $property ] = $levels;
+ $GLOBALS['csstidy']['all_properties'][ '-o-' . $property ] = $levels;
+ $GLOBALS['csstidy']['all_properties'][ '-khtml-' . $property ] = $levels;
- if ( in_array( $property, $GLOBALS['csstidy']['unit_values'] ) ) {
+ if ( in_array( $property, $GLOBALS['csstidy']['unit_values'], true ) ) {
$GLOBALS['csstidy']['unit_values'][] = '-moz-' . $property;
$GLOBALS['csstidy']['unit_values'][] = '-webkit-' . $property;
$GLOBALS['csstidy']['unit_values'][] = '-ms-' . $property;
@@ -21,7 +21,7 @@ foreach ( $GLOBALS['csstidy']['all_properties'] as $property => $levels ) {
$GLOBALS['csstidy']['unit_values'][] = '-khtml-' . $property;
}
- if ( in_array( $property, $GLOBALS['csstidy']['color_values'] ) ) {
+ if ( in_array( $property, $GLOBALS['csstidy']['color_values'], true ) ) {
$GLOBALS['csstidy']['color_values'][] = '-moz-' . $property;
$GLOBALS['csstidy']['color_values'][] = '-webkit-' . $property;
$GLOBALS['csstidy']['color_values'][] = '-ms-' . $property;
@@ -36,7 +36,7 @@ $GLOBALS['csstidy']['multiple_properties'][] = 'display';
// Allow vendor prefixes for any property that is allowed to be used multiple times inside a single selector
foreach ( $GLOBALS['csstidy']['multiple_properties'] as $property ) {
- if ( '-' != $property[0] ) {
+ if ( '-' !== $property[0] ) {
$GLOBALS['csstidy']['multiple_properties'][] = '-o-' . $property;
$GLOBALS['csstidy']['multiple_properties'][] = '-ms-' . $property;
$GLOBALS['csstidy']['multiple_properties'][] = '-webkit-' . $property;
@@ -51,52 +51,52 @@ foreach ( $GLOBALS['csstidy']['multiple_properties'] as $property ) {
* @see https://developer.mozilla.org/en/CSS/CSS_animations
*/
$GLOBALS['csstidy']['at_rules']['-webkit-keyframes'] = 'at';
-$GLOBALS['csstidy']['at_rules']['-moz-keyframes'] = 'at';
-$GLOBALS['csstidy']['at_rules']['-ms-keyframes'] = 'at';
-$GLOBALS['csstidy']['at_rules']['-o-keyframes'] = 'at';
+$GLOBALS['csstidy']['at_rules']['-moz-keyframes'] = 'at';
+$GLOBALS['csstidy']['at_rules']['-ms-keyframes'] = 'at';
+$GLOBALS['csstidy']['at_rules']['-o-keyframes'] = 'at';
/**
* Non-standard viewport rule.
*/
-$GLOBALS['csstidy']['at_rules']['viewport'] = 'is';
+$GLOBALS['csstidy']['at_rules']['viewport'] = 'is';
$GLOBALS['csstidy']['at_rules']['-webkit-viewport'] = 'is';
-$GLOBALS['csstidy']['at_rules']['-moz-viewport'] = 'is';
-$GLOBALS['csstidy']['at_rules']['-ms-viewport'] = 'is';
+$GLOBALS['csstidy']['at_rules']['-moz-viewport'] = 'is';
+$GLOBALS['csstidy']['at_rules']['-ms-viewport'] = 'is';
/**
* Non-standard CSS properties. They're not part of any spec, but we say
* they're in all of them so that we can support them.
*/
-$GLOBALS['csstidy']['all_properties']['-webkit-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['-moz-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['-ms-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['filter'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scrollbar-face-color'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['-ms-interpolation-mode'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-rendering'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['-webkit-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['-moz-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['-ms-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['filter'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scrollbar-face-color'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['-ms-interpolation-mode'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-rendering'] = 'CSS2.0,CSS2.1,CSS3.0';
$GLOBALS['csstidy']['all_properties']['-webkit-transform-origin-x'] = 'CSS3.0';
$GLOBALS['csstidy']['all_properties']['-webkit-transform-origin-y'] = 'CSS3.0';
$GLOBALS['csstidy']['all_properties']['-webkit-transform-origin-z'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['-webkit-font-smoothing'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['-moz-osx-font-smoothing'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['-font-smooth'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['-o-object-fit'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['object-fit'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['-o-object-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['object-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-overflow'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['zoom'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['pointer-events'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-feature-settings'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-kerning'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-language-override'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-synthesis'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-variant-alternates'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-variant-caps'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-variant-east-asian'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-variant-ligatures'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-variant-numeric'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-variant-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-variation-settings'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['line-height-step'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['-webkit-font-smoothing'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['-moz-osx-font-smoothing'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['-font-smooth'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['-o-object-fit'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['object-fit'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['-o-object-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['object-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-overflow'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['zoom'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['pointer-events'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-feature-settings'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-kerning'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-language-override'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-synthesis'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-variant-alternates'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-variant-caps'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-variant-east-asian'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-variant-ligatures'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-variant-numeric'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-variant-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-variation-settings'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['line-height-step'] = 'CSS3.0';
diff --git a/plugins/jetpack/modules/custom-css/csstidy/data.inc.php b/plugins/jetpack/modules/custom-css/csstidy/data.inc.php
index 882749ba..f6de9994 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/data.inc.php
+++ b/plugins/jetpack/modules/custom-css/csstidy/data.inc.php
@@ -20,18 +20,17 @@
*
* @license https://opensource.org/licenses/gpl-license.php GNU Public License
* @package csstidy
- * @author Florian Schmitz (floele at gmail dot com) 2005
- * @author Nikolay Matsievsky (speed at webo dot name) 2010
+ * @author Florian Schmitz (floele at gmail dot com) 2005, Nikolay Matsievsky (speed at webo dot name) 2010
*/
-define('AT_START', 1);
-define('AT_END', 2);
-define('SEL_START', 3);
-define('SEL_END', 4);
-define('PROPERTY', 5);
-define('VALUE', 6);
-define('COMMENT', 7);
-define('DEFAULT_AT', 41);
+define( 'AT_START', 1 );
+define( 'AT_END', 2 );
+define( 'SEL_START', 3 );
+define( 'SEL_END', 4 );
+define( 'PROPERTY', 5 );
+define( 'VALUE', 6 );
+define( 'COMMENT', 7 );
+define( 'DEFAULT_AT', 41 );
/**
* All whitespace allowed in CSS
@@ -39,7 +38,7 @@ define('DEFAULT_AT', 41);
* @global array $GLOBALS['csstidy']['whitespace']
* @version 1.0
*/
-$GLOBALS['csstidy']['whitespace'] = array(' ',"\n","\t","\r","\x0B");
+$GLOBALS['csstidy']['whitespace'] = array( ' ', "\n", "\t", "\r", "\x0B" );
/**
* All CSS tokens used by csstidy
@@ -56,7 +55,7 @@ $GLOBALS['csstidy']['tokens'] = '/@}{;:=\'"(,\\!$%&)*+.<>?[]^`|~';
* @global array $GLOBALS['csstidy']['units']
* @version 1.0
*/
-$GLOBALS['csstidy']['units'] = array('in','cm','mm','pt','pc','px','rem','em','%','ex','gd','vw','vh','vm','deg','grad','rad','ms','s','khz','hz');
+$GLOBALS['csstidy']['units'] = array( 'in', 'cm', 'mm', 'pt', 'pc', 'px', 'rem', 'em', '%', 'ex', 'gd', 'vw', 'vh', 'vm', 'deg', 'grad', 'rad', 'ms', 's', 'khz', 'hz' );
/**
* Available at-rules
@@ -64,9 +63,18 @@ $GLOBALS['csstidy']['units'] = array('in','cm','mm','pt','pc','px','rem','em','%
* @global array $GLOBALS['csstidy']['at_rules']
* @version 1.0
*/
-$GLOBALS['csstidy']['at_rules'] = array('page' => 'is','font-face' => 'is','charset' => 'iv', 'import' => 'iv','namespace' => 'iv','media' => 'at','keyframes' => 'at', 'supports' => 'at');
+$GLOBALS['csstidy']['at_rules'] = array(
+ 'page' => 'is',
+ 'font-face' => 'is',
+ 'charset' => 'iv',
+ 'import' => 'iv',
+ 'namespace' => 'iv',
+ 'media' => 'at',
+ 'keyframes' => 'at',
+ 'supports' => 'at',
+);
- /**
+/**
* Properties that need a value with unit
*
* @todo CSS3 properties
@@ -74,11 +82,51 @@ $GLOBALS['csstidy']['at_rules'] = array('page' => 'is','font-face' => 'is','char
* @global array $GLOBALS['csstidy']['unit_values']
* @version 1.2
*/
-$GLOBALS['csstidy']['unit_values'] = array ('background', 'background-position', 'background-size', 'border', 'border-top', 'border-right', 'border-bottom', 'border-left', 'border-width',
- 'border-top-width', 'border-right-width', 'border-left-width', 'border-bottom-width', 'bottom', 'border-spacing', 'column-gap', 'column-width',
- 'font-size', 'height', 'left', 'margin', 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', 'max-height',
- 'max-width', 'min-height', 'min-width', 'outline', 'outline-width', 'padding', 'padding-top', 'padding-right',
- 'padding-bottom', 'padding-left', 'perspective', 'right', 'top', 'text-indent', 'letter-spacing', 'word-spacing', 'width');
+$GLOBALS['csstidy']['unit_values'] = array(
+ 'background',
+ 'background-position',
+ 'background-size',
+ 'border',
+ 'border-top',
+ 'border-right',
+ 'border-bottom',
+ 'border-left',
+ 'border-width',
+ 'border-top-width',
+ 'border-right-width',
+ 'border-left-width',
+ 'border-bottom-width',
+ 'bottom',
+ 'border-spacing',
+ 'column-gap',
+ 'column-width',
+ 'font-size',
+ 'height',
+ 'left',
+ 'margin',
+ 'margin-top',
+ 'margin-right',
+ 'margin-bottom',
+ 'margin-left',
+ 'max-height',
+ 'max-width',
+ 'min-height',
+ 'min-width',
+ 'outline',
+ 'outline-width',
+ 'padding',
+ 'padding-top',
+ 'padding-right',
+ 'padding-bottom',
+ 'padding-left',
+ 'perspective',
+ 'right',
+ 'top',
+ 'text-indent',
+ 'letter-spacing',
+ 'word-spacing',
+ 'width',
+);
/**
* Properties that allow <color> as value
@@ -88,7 +136,7 @@ $GLOBALS['csstidy']['unit_values'] = array ('background', 'background-position',
* @global array $GLOBALS['csstidy']['color_values']
* @version 1.0
*/
-$GLOBALS['csstidy']['color_values'] = array();
+$GLOBALS['csstidy']['color_values'] = array();
$GLOBALS['csstidy']['color_values'][] = 'background-color';
$GLOBALS['csstidy']['color_values'][] = 'border-color';
$GLOBALS['csstidy']['color_values'][] = 'border-top-color';
@@ -108,15 +156,15 @@ $GLOBALS['csstidy']['color_values'][] = 'column-rule-color';
* @see merge_bg()
* @version 1.0
*/
-$GLOBALS['csstidy']['background_prop_default'] = array();
-$GLOBALS['csstidy']['background_prop_default']['background-image'] = 'none';
-$GLOBALS['csstidy']['background_prop_default']['background-size'] = 'auto';
-$GLOBALS['csstidy']['background_prop_default']['background-repeat'] = 'repeat';
-$GLOBALS['csstidy']['background_prop_default']['background-position'] = '0 0';
+$GLOBALS['csstidy']['background_prop_default'] = array();
+$GLOBALS['csstidy']['background_prop_default']['background-image'] = 'none';
+$GLOBALS['csstidy']['background_prop_default']['background-size'] = 'auto';
+$GLOBALS['csstidy']['background_prop_default']['background-repeat'] = 'repeat';
+$GLOBALS['csstidy']['background_prop_default']['background-position'] = '0 0';
$GLOBALS['csstidy']['background_prop_default']['background-attachment'] = 'scroll';
-$GLOBALS['csstidy']['background_prop_default']['background-clip'] = 'border';
-$GLOBALS['csstidy']['background_prop_default']['background-origin'] = 'padding';
-$GLOBALS['csstidy']['background_prop_default']['background-color'] = 'transparent';
+$GLOBALS['csstidy']['background_prop_default']['background-clip'] = 'border';
+$GLOBALS['csstidy']['background_prop_default']['background-origin'] = 'padding';
+$GLOBALS['csstidy']['background_prop_default']['background-color'] = 'transparent';
/**
* Default values for the font properties
@@ -125,13 +173,13 @@ $GLOBALS['csstidy']['background_prop_default']['background-color'] = 'transparen
* @see merge_fonts()
* @version 1.3
*/
-$GLOBALS['csstidy']['font_prop_default'] = array();
-$GLOBALS['csstidy']['font_prop_default']['font-style'] = 'normal';
+$GLOBALS['csstidy']['font_prop_default'] = array();
+$GLOBALS['csstidy']['font_prop_default']['font-style'] = 'normal';
$GLOBALS['csstidy']['font_prop_default']['font-variant'] = 'normal';
-$GLOBALS['csstidy']['font_prop_default']['font-weight'] = 'normal';
-$GLOBALS['csstidy']['font_prop_default']['font-size'] = '';
-$GLOBALS['csstidy']['font_prop_default']['line-height'] = '';
-$GLOBALS['csstidy']['font_prop_default']['font-family'] = '';
+$GLOBALS['csstidy']['font_prop_default']['font-weight'] = 'normal';
+$GLOBALS['csstidy']['font_prop_default']['font-size'] = '';
+$GLOBALS['csstidy']['font_prop_default']['line-height'] = '';
+$GLOBALS['csstidy']['font_prop_default']['font-family'] = '';
/**
* A list of non-W3C color names which get replaced by their hex-codes
@@ -140,133 +188,133 @@ $GLOBALS['csstidy']['font_prop_default']['font-family'] = '';
* @see cut_color()
* @version 1.0
*/
-$GLOBALS['csstidy']['replace_colors'] = array();
-$GLOBALS['csstidy']['replace_colors']['aliceblue'] = '#f0f8ff';
-$GLOBALS['csstidy']['replace_colors']['antiquewhite'] = '#faebd7';
-$GLOBALS['csstidy']['replace_colors']['aquamarine'] = '#7fffd4';
-$GLOBALS['csstidy']['replace_colors']['azure'] = '#f0ffff';
-$GLOBALS['csstidy']['replace_colors']['beige'] = '#f5f5dc';
-$GLOBALS['csstidy']['replace_colors']['bisque'] = '#ffe4c4';
-$GLOBALS['csstidy']['replace_colors']['blanchedalmond'] = '#ffebcd';
-$GLOBALS['csstidy']['replace_colors']['blueviolet'] = '#8a2be2';
-$GLOBALS['csstidy']['replace_colors']['brown'] = '#a52a2a';
-$GLOBALS['csstidy']['replace_colors']['burlywood'] = '#deb887';
-$GLOBALS['csstidy']['replace_colors']['cadetblue'] = '#5f9ea0';
-$GLOBALS['csstidy']['replace_colors']['chartreuse'] = '#7fff00';
-$GLOBALS['csstidy']['replace_colors']['chocolate'] = '#d2691e';
-$GLOBALS['csstidy']['replace_colors']['coral'] = '#ff7f50';
-$GLOBALS['csstidy']['replace_colors']['cornflowerblue'] = '#6495ed';
-$GLOBALS['csstidy']['replace_colors']['cornsilk'] = '#fff8dc';
-$GLOBALS['csstidy']['replace_colors']['crimson'] = '#dc143c';
-$GLOBALS['csstidy']['replace_colors']['cyan'] = '#00ffff';
-$GLOBALS['csstidy']['replace_colors']['darkblue'] = '#00008b';
-$GLOBALS['csstidy']['replace_colors']['darkcyan'] = '#008b8b';
-$GLOBALS['csstidy']['replace_colors']['darkgoldenrod'] = '#b8860b';
-$GLOBALS['csstidy']['replace_colors']['darkgray'] = '#a9a9a9';
-$GLOBALS['csstidy']['replace_colors']['darkgreen'] = '#006400';
-$GLOBALS['csstidy']['replace_colors']['darkkhaki'] = '#bdb76b';
-$GLOBALS['csstidy']['replace_colors']['darkmagenta'] = '#8b008b';
-$GLOBALS['csstidy']['replace_colors']['darkolivegreen'] = '#556b2f';
-$GLOBALS['csstidy']['replace_colors']['darkorange'] = '#ff8c00';
-$GLOBALS['csstidy']['replace_colors']['darkorchid'] = '#9932cc';
-$GLOBALS['csstidy']['replace_colors']['darkred'] = '#8b0000';
-$GLOBALS['csstidy']['replace_colors']['darksalmon'] = '#e9967a';
-$GLOBALS['csstidy']['replace_colors']['darkseagreen'] = '#8fbc8f';
-$GLOBALS['csstidy']['replace_colors']['darkslateblue'] = '#483d8b';
-$GLOBALS['csstidy']['replace_colors']['darkslategray'] = '#2f4f4f';
-$GLOBALS['csstidy']['replace_colors']['darkturquoise'] = '#00ced1';
-$GLOBALS['csstidy']['replace_colors']['darkviolet'] = '#9400d3';
-$GLOBALS['csstidy']['replace_colors']['deeppink'] = '#ff1493';
-$GLOBALS['csstidy']['replace_colors']['deepskyblue'] = '#00bfff';
-$GLOBALS['csstidy']['replace_colors']['dimgray'] = '#696969';
-$GLOBALS['csstidy']['replace_colors']['dodgerblue'] = '#1e90ff';
-$GLOBALS['csstidy']['replace_colors']['feldspar'] = '#d19275';
-$GLOBALS['csstidy']['replace_colors']['firebrick'] = '#b22222';
-$GLOBALS['csstidy']['replace_colors']['floralwhite'] = '#fffaf0';
-$GLOBALS['csstidy']['replace_colors']['forestgreen'] = '#228b22';
-$GLOBALS['csstidy']['replace_colors']['gainsboro'] = '#dcdcdc';
-$GLOBALS['csstidy']['replace_colors']['ghostwhite'] = '#f8f8ff';
-$GLOBALS['csstidy']['replace_colors']['gold'] = '#ffd700';
-$GLOBALS['csstidy']['replace_colors']['goldenrod'] = '#daa520';
-$GLOBALS['csstidy']['replace_colors']['greenyellow'] = '#adff2f';
-$GLOBALS['csstidy']['replace_colors']['honeydew'] = '#f0fff0';
-$GLOBALS['csstidy']['replace_colors']['hotpink'] = '#ff69b4';
-$GLOBALS['csstidy']['replace_colors']['indianred'] = '#cd5c5c';
-$GLOBALS['csstidy']['replace_colors']['indigo'] = '#4b0082';
-$GLOBALS['csstidy']['replace_colors']['ivory'] = '#fffff0';
-$GLOBALS['csstidy']['replace_colors']['khaki'] = '#f0e68c';
-$GLOBALS['csstidy']['replace_colors']['lavender'] = '#e6e6fa';
-$GLOBALS['csstidy']['replace_colors']['lavenderblush'] = '#fff0f5';
-$GLOBALS['csstidy']['replace_colors']['lawngreen'] = '#7cfc00';
-$GLOBALS['csstidy']['replace_colors']['lemonchiffon'] = '#fffacd';
-$GLOBALS['csstidy']['replace_colors']['lightblue'] = '#add8e6';
-$GLOBALS['csstidy']['replace_colors']['lightcoral'] = '#f08080';
-$GLOBALS['csstidy']['replace_colors']['lightcyan'] = '#e0ffff';
+$GLOBALS['csstidy']['replace_colors'] = array();
+$GLOBALS['csstidy']['replace_colors']['aliceblue'] = '#f0f8ff';
+$GLOBALS['csstidy']['replace_colors']['antiquewhite'] = '#faebd7';
+$GLOBALS['csstidy']['replace_colors']['aquamarine'] = '#7fffd4';
+$GLOBALS['csstidy']['replace_colors']['azure'] = '#f0ffff';
+$GLOBALS['csstidy']['replace_colors']['beige'] = '#f5f5dc';
+$GLOBALS['csstidy']['replace_colors']['bisque'] = '#ffe4c4';
+$GLOBALS['csstidy']['replace_colors']['blanchedalmond'] = '#ffebcd';
+$GLOBALS['csstidy']['replace_colors']['blueviolet'] = '#8a2be2';
+$GLOBALS['csstidy']['replace_colors']['brown'] = '#a52a2a';
+$GLOBALS['csstidy']['replace_colors']['burlywood'] = '#deb887';
+$GLOBALS['csstidy']['replace_colors']['cadetblue'] = '#5f9ea0';
+$GLOBALS['csstidy']['replace_colors']['chartreuse'] = '#7fff00';
+$GLOBALS['csstidy']['replace_colors']['chocolate'] = '#d2691e';
+$GLOBALS['csstidy']['replace_colors']['coral'] = '#ff7f50';
+$GLOBALS['csstidy']['replace_colors']['cornflowerblue'] = '#6495ed';
+$GLOBALS['csstidy']['replace_colors']['cornsilk'] = '#fff8dc';
+$GLOBALS['csstidy']['replace_colors']['crimson'] = '#dc143c';
+$GLOBALS['csstidy']['replace_colors']['cyan'] = '#00ffff';
+$GLOBALS['csstidy']['replace_colors']['darkblue'] = '#00008b';
+$GLOBALS['csstidy']['replace_colors']['darkcyan'] = '#008b8b';
+$GLOBALS['csstidy']['replace_colors']['darkgoldenrod'] = '#b8860b';
+$GLOBALS['csstidy']['replace_colors']['darkgray'] = '#a9a9a9';
+$GLOBALS['csstidy']['replace_colors']['darkgreen'] = '#006400';
+$GLOBALS['csstidy']['replace_colors']['darkkhaki'] = '#bdb76b';
+$GLOBALS['csstidy']['replace_colors']['darkmagenta'] = '#8b008b';
+$GLOBALS['csstidy']['replace_colors']['darkolivegreen'] = '#556b2f';
+$GLOBALS['csstidy']['replace_colors']['darkorange'] = '#ff8c00';
+$GLOBALS['csstidy']['replace_colors']['darkorchid'] = '#9932cc';
+$GLOBALS['csstidy']['replace_colors']['darkred'] = '#8b0000';
+$GLOBALS['csstidy']['replace_colors']['darksalmon'] = '#e9967a';
+$GLOBALS['csstidy']['replace_colors']['darkseagreen'] = '#8fbc8f';
+$GLOBALS['csstidy']['replace_colors']['darkslateblue'] = '#483d8b';
+$GLOBALS['csstidy']['replace_colors']['darkslategray'] = '#2f4f4f';
+$GLOBALS['csstidy']['replace_colors']['darkturquoise'] = '#00ced1';
+$GLOBALS['csstidy']['replace_colors']['darkviolet'] = '#9400d3';
+$GLOBALS['csstidy']['replace_colors']['deeppink'] = '#ff1493';
+$GLOBALS['csstidy']['replace_colors']['deepskyblue'] = '#00bfff';
+$GLOBALS['csstidy']['replace_colors']['dimgray'] = '#696969';
+$GLOBALS['csstidy']['replace_colors']['dodgerblue'] = '#1e90ff';
+$GLOBALS['csstidy']['replace_colors']['feldspar'] = '#d19275';
+$GLOBALS['csstidy']['replace_colors']['firebrick'] = '#b22222';
+$GLOBALS['csstidy']['replace_colors']['floralwhite'] = '#fffaf0';
+$GLOBALS['csstidy']['replace_colors']['forestgreen'] = '#228b22';
+$GLOBALS['csstidy']['replace_colors']['gainsboro'] = '#dcdcdc';
+$GLOBALS['csstidy']['replace_colors']['ghostwhite'] = '#f8f8ff';
+$GLOBALS['csstidy']['replace_colors']['gold'] = '#ffd700';
+$GLOBALS['csstidy']['replace_colors']['goldenrod'] = '#daa520';
+$GLOBALS['csstidy']['replace_colors']['greenyellow'] = '#adff2f';
+$GLOBALS['csstidy']['replace_colors']['honeydew'] = '#f0fff0';
+$GLOBALS['csstidy']['replace_colors']['hotpink'] = '#ff69b4';
+$GLOBALS['csstidy']['replace_colors']['indianred'] = '#cd5c5c';
+$GLOBALS['csstidy']['replace_colors']['indigo'] = '#4b0082';
+$GLOBALS['csstidy']['replace_colors']['ivory'] = '#fffff0';
+$GLOBALS['csstidy']['replace_colors']['khaki'] = '#f0e68c';
+$GLOBALS['csstidy']['replace_colors']['lavender'] = '#e6e6fa';
+$GLOBALS['csstidy']['replace_colors']['lavenderblush'] = '#fff0f5';
+$GLOBALS['csstidy']['replace_colors']['lawngreen'] = '#7cfc00';
+$GLOBALS['csstidy']['replace_colors']['lemonchiffon'] = '#fffacd';
+$GLOBALS['csstidy']['replace_colors']['lightblue'] = '#add8e6';
+$GLOBALS['csstidy']['replace_colors']['lightcoral'] = '#f08080';
+$GLOBALS['csstidy']['replace_colors']['lightcyan'] = '#e0ffff';
$GLOBALS['csstidy']['replace_colors']['lightgoldenrodyellow'] = '#fafad2';
-$GLOBALS['csstidy']['replace_colors']['lightgrey'] = '#d3d3d3';
-$GLOBALS['csstidy']['replace_colors']['lightgreen'] = '#90ee90';
-$GLOBALS['csstidy']['replace_colors']['lightpink'] = '#ffb6c1';
-$GLOBALS['csstidy']['replace_colors']['lightsalmon'] = '#ffa07a';
-$GLOBALS['csstidy']['replace_colors']['lightseagreen'] = '#20b2aa';
-$GLOBALS['csstidy']['replace_colors']['lightskyblue'] = '#87cefa';
-$GLOBALS['csstidy']['replace_colors']['lightslateblue'] = '#8470ff';
-$GLOBALS['csstidy']['replace_colors']['lightslategray'] = '#778899';
-$GLOBALS['csstidy']['replace_colors']['lightsteelblue'] = '#b0c4de';
-$GLOBALS['csstidy']['replace_colors']['lightyellow'] = '#ffffe0';
-$GLOBALS['csstidy']['replace_colors']['limegreen'] = '#32cd32';
-$GLOBALS['csstidy']['replace_colors']['linen'] = '#faf0e6';
-$GLOBALS['csstidy']['replace_colors']['magenta'] = '#ff00ff';
-$GLOBALS['csstidy']['replace_colors']['mediumaquamarine'] = '#66cdaa';
-$GLOBALS['csstidy']['replace_colors']['mediumblue'] = '#0000cd';
-$GLOBALS['csstidy']['replace_colors']['mediumorchid'] = '#ba55d3';
-$GLOBALS['csstidy']['replace_colors']['mediumpurple'] = '#9370d8';
-$GLOBALS['csstidy']['replace_colors']['mediumseagreen'] = '#3cb371';
-$GLOBALS['csstidy']['replace_colors']['mediumslateblue'] = '#7b68ee';
-$GLOBALS['csstidy']['replace_colors']['mediumspringgreen'] = '#00fa9a';
-$GLOBALS['csstidy']['replace_colors']['mediumturquoise'] = '#48d1cc';
-$GLOBALS['csstidy']['replace_colors']['mediumvioletred'] = '#c71585';
-$GLOBALS['csstidy']['replace_colors']['midnightblue'] = '#191970';
-$GLOBALS['csstidy']['replace_colors']['mintcream'] = '#f5fffa';
-$GLOBALS['csstidy']['replace_colors']['mistyrose'] = '#ffe4e1';
-$GLOBALS['csstidy']['replace_colors']['moccasin'] = '#ffe4b5';
-$GLOBALS['csstidy']['replace_colors']['navajowhite'] = '#ffdead';
-$GLOBALS['csstidy']['replace_colors']['oldlace'] = '#fdf5e6';
-$GLOBALS['csstidy']['replace_colors']['olivedrab'] = '#6b8e23';
-$GLOBALS['csstidy']['replace_colors']['orangered'] = '#ff4500';
-$GLOBALS['csstidy']['replace_colors']['orchid'] = '#da70d6';
-$GLOBALS['csstidy']['replace_colors']['palegoldenrod'] = '#eee8aa';
-$GLOBALS['csstidy']['replace_colors']['palegreen'] = '#98fb98';
-$GLOBALS['csstidy']['replace_colors']['paleturquoise'] = '#afeeee';
-$GLOBALS['csstidy']['replace_colors']['palevioletred'] = '#d87093';
-$GLOBALS['csstidy']['replace_colors']['papayawhip'] = '#ffefd5';
-$GLOBALS['csstidy']['replace_colors']['peachpuff'] = '#ffdab9';
-$GLOBALS['csstidy']['replace_colors']['peru'] = '#cd853f';
-$GLOBALS['csstidy']['replace_colors']['pink'] = '#ffc0cb';
-$GLOBALS['csstidy']['replace_colors']['plum'] = '#dda0dd';
-$GLOBALS['csstidy']['replace_colors']['powderblue'] = '#b0e0e6';
-$GLOBALS['csstidy']['replace_colors']['rosybrown'] = '#bc8f8f';
-$GLOBALS['csstidy']['replace_colors']['royalblue'] = '#4169e1';
-$GLOBALS['csstidy']['replace_colors']['saddlebrown'] = '#8b4513';
-$GLOBALS['csstidy']['replace_colors']['salmon'] = '#fa8072';
-$GLOBALS['csstidy']['replace_colors']['sandybrown'] = '#f4a460';
-$GLOBALS['csstidy']['replace_colors']['seagreen'] = '#2e8b57';
-$GLOBALS['csstidy']['replace_colors']['seashell'] = '#fff5ee';
-$GLOBALS['csstidy']['replace_colors']['sienna'] = '#a0522d';
-$GLOBALS['csstidy']['replace_colors']['skyblue'] = '#87ceeb';
-$GLOBALS['csstidy']['replace_colors']['slateblue'] = '#6a5acd';
-$GLOBALS['csstidy']['replace_colors']['slategray'] = '#708090';
-$GLOBALS['csstidy']['replace_colors']['snow'] = '#fffafa';
-$GLOBALS['csstidy']['replace_colors']['springgreen'] = '#00ff7f';
-$GLOBALS['csstidy']['replace_colors']['steelblue'] = '#4682b4';
-$GLOBALS['csstidy']['replace_colors']['tan'] = '#d2b48c';
-$GLOBALS['csstidy']['replace_colors']['thistle'] = '#d8bfd8';
-$GLOBALS['csstidy']['replace_colors']['tomato'] = '#ff6347';
-$GLOBALS['csstidy']['replace_colors']['turquoise'] = '#40e0d0';
-$GLOBALS['csstidy']['replace_colors']['violet'] = '#ee82ee';
-$GLOBALS['csstidy']['replace_colors']['violetred'] = '#d02090';
-$GLOBALS['csstidy']['replace_colors']['wheat'] = '#f5deb3';
-$GLOBALS['csstidy']['replace_colors']['whitesmoke'] = '#f5f5f5';
-$GLOBALS['csstidy']['replace_colors']['yellowgreen'] = '#9acd32';
+$GLOBALS['csstidy']['replace_colors']['lightgrey'] = '#d3d3d3';
+$GLOBALS['csstidy']['replace_colors']['lightgreen'] = '#90ee90';
+$GLOBALS['csstidy']['replace_colors']['lightpink'] = '#ffb6c1';
+$GLOBALS['csstidy']['replace_colors']['lightsalmon'] = '#ffa07a';
+$GLOBALS['csstidy']['replace_colors']['lightseagreen'] = '#20b2aa';
+$GLOBALS['csstidy']['replace_colors']['lightskyblue'] = '#87cefa';
+$GLOBALS['csstidy']['replace_colors']['lightslateblue'] = '#8470ff';
+$GLOBALS['csstidy']['replace_colors']['lightslategray'] = '#778899';
+$GLOBALS['csstidy']['replace_colors']['lightsteelblue'] = '#b0c4de';
+$GLOBALS['csstidy']['replace_colors']['lightyellow'] = '#ffffe0';
+$GLOBALS['csstidy']['replace_colors']['limegreen'] = '#32cd32';
+$GLOBALS['csstidy']['replace_colors']['linen'] = '#faf0e6';
+$GLOBALS['csstidy']['replace_colors']['magenta'] = '#ff00ff';
+$GLOBALS['csstidy']['replace_colors']['mediumaquamarine'] = '#66cdaa';
+$GLOBALS['csstidy']['replace_colors']['mediumblue'] = '#0000cd';
+$GLOBALS['csstidy']['replace_colors']['mediumorchid'] = '#ba55d3';
+$GLOBALS['csstidy']['replace_colors']['mediumpurple'] = '#9370d8';
+$GLOBALS['csstidy']['replace_colors']['mediumseagreen'] = '#3cb371';
+$GLOBALS['csstidy']['replace_colors']['mediumslateblue'] = '#7b68ee';
+$GLOBALS['csstidy']['replace_colors']['mediumspringgreen'] = '#00fa9a';
+$GLOBALS['csstidy']['replace_colors']['mediumturquoise'] = '#48d1cc';
+$GLOBALS['csstidy']['replace_colors']['mediumvioletred'] = '#c71585';
+$GLOBALS['csstidy']['replace_colors']['midnightblue'] = '#191970';
+$GLOBALS['csstidy']['replace_colors']['mintcream'] = '#f5fffa';
+$GLOBALS['csstidy']['replace_colors']['mistyrose'] = '#ffe4e1';
+$GLOBALS['csstidy']['replace_colors']['moccasin'] = '#ffe4b5';
+$GLOBALS['csstidy']['replace_colors']['navajowhite'] = '#ffdead';
+$GLOBALS['csstidy']['replace_colors']['oldlace'] = '#fdf5e6';
+$GLOBALS['csstidy']['replace_colors']['olivedrab'] = '#6b8e23';
+$GLOBALS['csstidy']['replace_colors']['orangered'] = '#ff4500';
+$GLOBALS['csstidy']['replace_colors']['orchid'] = '#da70d6';
+$GLOBALS['csstidy']['replace_colors']['palegoldenrod'] = '#eee8aa';
+$GLOBALS['csstidy']['replace_colors']['palegreen'] = '#98fb98';
+$GLOBALS['csstidy']['replace_colors']['paleturquoise'] = '#afeeee';
+$GLOBALS['csstidy']['replace_colors']['palevioletred'] = '#d87093';
+$GLOBALS['csstidy']['replace_colors']['papayawhip'] = '#ffefd5';
+$GLOBALS['csstidy']['replace_colors']['peachpuff'] = '#ffdab9';
+$GLOBALS['csstidy']['replace_colors']['peru'] = '#cd853f';
+$GLOBALS['csstidy']['replace_colors']['pink'] = '#ffc0cb';
+$GLOBALS['csstidy']['replace_colors']['plum'] = '#dda0dd';
+$GLOBALS['csstidy']['replace_colors']['powderblue'] = '#b0e0e6';
+$GLOBALS['csstidy']['replace_colors']['rosybrown'] = '#bc8f8f';
+$GLOBALS['csstidy']['replace_colors']['royalblue'] = '#4169e1';
+$GLOBALS['csstidy']['replace_colors']['saddlebrown'] = '#8b4513';
+$GLOBALS['csstidy']['replace_colors']['salmon'] = '#fa8072';
+$GLOBALS['csstidy']['replace_colors']['sandybrown'] = '#f4a460';
+$GLOBALS['csstidy']['replace_colors']['seagreen'] = '#2e8b57';
+$GLOBALS['csstidy']['replace_colors']['seashell'] = '#fff5ee';
+$GLOBALS['csstidy']['replace_colors']['sienna'] = '#a0522d';
+$GLOBALS['csstidy']['replace_colors']['skyblue'] = '#87ceeb';
+$GLOBALS['csstidy']['replace_colors']['slateblue'] = '#6a5acd';
+$GLOBALS['csstidy']['replace_colors']['slategray'] = '#708090';
+$GLOBALS['csstidy']['replace_colors']['snow'] = '#fffafa';
+$GLOBALS['csstidy']['replace_colors']['springgreen'] = '#00ff7f';
+$GLOBALS['csstidy']['replace_colors']['steelblue'] = '#4682b4';
+$GLOBALS['csstidy']['replace_colors']['tan'] = '#d2b48c';
+$GLOBALS['csstidy']['replace_colors']['thistle'] = '#d8bfd8';
+$GLOBALS['csstidy']['replace_colors']['tomato'] = '#ff6347';
+$GLOBALS['csstidy']['replace_colors']['turquoise'] = '#40e0d0';
+$GLOBALS['csstidy']['replace_colors']['violet'] = '#ee82ee';
+$GLOBALS['csstidy']['replace_colors']['violetred'] = '#d02090';
+$GLOBALS['csstidy']['replace_colors']['wheat'] = '#f5deb3';
+$GLOBALS['csstidy']['replace_colors']['whitesmoke'] = '#f5f5f5';
+$GLOBALS['csstidy']['replace_colors']['yellowgreen'] = '#9acd32';
/**
* A list of all shorthand properties that are divided into four properties and/or have four subvalues
@@ -277,12 +325,12 @@ $GLOBALS['csstidy']['replace_colors']['yellowgreen'] = '#9acd32';
* @see merge_4value_shorthands()
* @version 1.0
*/
-$GLOBALS['csstidy']['shorthands'] = array();
-$GLOBALS['csstidy']['shorthands']['border-color'] = array('border-top-color','border-right-color','border-bottom-color','border-left-color');
-$GLOBALS['csstidy']['shorthands']['border-style'] = array('border-top-style','border-right-style','border-bottom-style','border-left-style');
-$GLOBALS['csstidy']['shorthands']['border-width'] = array('border-top-width','border-right-width','border-bottom-width','border-left-width');
-$GLOBALS['csstidy']['shorthands']['margin'] = array('margin-top','margin-right','margin-bottom','margin-left');
-$GLOBALS['csstidy']['shorthands']['padding'] = array('padding-top','padding-right','padding-bottom','padding-left');
+$GLOBALS['csstidy']['shorthands'] = array();
+$GLOBALS['csstidy']['shorthands']['border-color'] = array( 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color' );
+$GLOBALS['csstidy']['shorthands']['border-style'] = array( 'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style' );
+$GLOBALS['csstidy']['shorthands']['border-width'] = array( 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width' );
+$GLOBALS['csstidy']['shorthands']['margin'] = array( 'margin-top', 'margin-right', 'margin-bottom', 'margin-left' );
+$GLOBALS['csstidy']['shorthands']['padding'] = array( 'padding-top', 'padding-right', 'padding-bottom', 'padding-left' );
$GLOBALS['csstidy']['shorthands']['-moz-border-radius'] = 0;
/**
@@ -293,363 +341,367 @@ $GLOBALS['csstidy']['shorthands']['-moz-border-radius'] = 0;
* @version 1.0
* @see csstidy::property_is_next()
*/
-$GLOBALS['csstidy']['all_properties']['align-content'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['align-items'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['align-self'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['alignment-adjust'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['alignment-baseline'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['animation'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['animation-delay'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['animation-direction'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['animation-duration'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['animation-fill-mode'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['animation-iteration-count'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['animation-name'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['animation-play-state'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['animation-timing-function'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['appearance'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['azimuth'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['backface-visibility'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['background'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['background-attachment'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['background-clip'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['background-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['background-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['background-origin'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['background-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['background-repeat'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['background-size'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['baseline-shift'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['binding'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['bleed'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['bookmark-label'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['bookmark-level'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['bookmark-state'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['bookmark-target'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-bottom-color'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-bottom-left-radius'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-bottom-right-radius'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-bottom-style'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-bottom-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-collapse'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-image'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-image-outset'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-image-repeat'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-image-slice'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-image-source'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-image-width'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-left-color'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-left-style'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-left-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-radius'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-right-color'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-right-style'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-right-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-spacing'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-top-color'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-top-left-radius'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-top-right-radius'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-top-style'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-top-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['border-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['bottom'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['box-decoration-break'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['box-shadow'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['box-sizing'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['break-after'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['break-before'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['break-inside'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['caption-side'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['clear'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['clip'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['clip-path'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['color-profile'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['column-count'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['column-fill'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['column-gap'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['column-rule'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['column-rule-color'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['column-rule-style'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['column-rule-width'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['column-span'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['column-width'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['columns'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['content'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['counter-increment'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['counter-reset'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['crop'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['cue'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['cue-after'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['cue-before'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['cursor'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['direction'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['display'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['dominant-baseline'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['drop-initial-after-adjust'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['drop-initial-after-align'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['drop-initial-before-adjust'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['drop-initial-before-align'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['drop-initial-size'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['drop-initial-value'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['elevation'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['empty-cells'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['fill'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['fit'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['fit-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-align'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-basis'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-direction'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-flow'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-grow'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-line-pack'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-order'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-pack'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-shrink'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['flex-wrap'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['float'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['float-offset'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-family'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-size'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-size-adjust'] = 'CSS2.0,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-stretch'] = 'CSS2.0,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-variant'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['font-weight'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-area'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-auto-columns'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-auto-flow'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-auto-rows'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-column'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-columns'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-column-end'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-column-gap'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-column-start'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-gap'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-row'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-rows'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-row-end'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-row-gap'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-row-start'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-template'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-template-areas'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-template-columns'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['grid-template-rows'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['hanging-punctuation'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['hyphenate-after'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['hyphenate-before'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['hyphenate-character'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['hyphenate-lines'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['hyphenate-resource'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['hyphens'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['icon'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['image-orientation'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['image-rendering'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['image-resolution'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['inline-box-align'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['justify-content'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['justify-items'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['justify-self'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['left'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['letter-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['line-break'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['line-height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['line-stacking'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['line-stacking-ruby'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['line-stacking-shift'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['line-stacking-strategy'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['list-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['list-style-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['list-style-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['list-style-type'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['margin'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['margin-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['margin-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['margin-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['margin-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['marker-offset'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['marks'] = 'CSS2.0,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['marquee-direction'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['marquee-loop'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['marquee-play-count'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['marquee-speed'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['marquee-style'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['mask-clip'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['mask-composite'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['mask-image'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['mask-mode'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['mask-origin'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['mask-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['mask-repeat'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['mask-size'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['max-height'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['max-width'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['min-height'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['min-width'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['move-to'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['nav-down'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['nav-index'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['nav-left'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['nav-right'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['nav-up'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['object-fit'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['object-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['opacity'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['order'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['orphans'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['outline'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['outline-color'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['outline-offset'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['outline-style'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['outline-width'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['overflow'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['overflow-style'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['overflow-wrap'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['overflow-x'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['overflow-y'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['padding'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['padding-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['padding-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['padding-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['padding-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['page'] = 'CSS2.0,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['page-break-after'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['page-break-before'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['page-break-inside'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['page-policy'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['pause'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['pause-after'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['pause-before'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['perspective'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['perspective-origin'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['phonemes'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['pitch'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['pitch-range'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['play-during'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['position'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['presentation-level'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['punctuation-trim'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['quotes'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['rendering-intent'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['resize'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['rest'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['rest-after'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['rest-before'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['richness'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['right'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['rotation'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['rotation-point'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['ruby-align'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['ruby-overhang'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['ruby-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['ruby-span'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-behavior'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-block'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-block-end'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-block-start'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-bottom'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-inline'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-inline-end'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-inline-start'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-left'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-right'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-margin-top'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding-block'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding-block-end'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding-block-start'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding-bottom'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding-inline'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding-inline-end'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['accent-color'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['align-content'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['align-items'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['align-self'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['alignment-adjust'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['alignment-baseline'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['animation'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['animation-delay'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['animation-direction'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['animation-duration'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['animation-fill-mode'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['animation-iteration-count'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['animation-name'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['animation-play-state'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['animation-timing-function'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['appearance'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['aspect-ratio'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['azimuth'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['backface-visibility'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['background'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['background-attachment'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['background-clip'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['background-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['background-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['background-origin'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['background-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['background-repeat'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['background-size'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['baseline-shift'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['binding'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['bleed'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['bookmark-label'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['bookmark-level'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['bookmark-state'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['bookmark-target'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-bottom-color'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-bottom-left-radius'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-bottom-right-radius'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-bottom-style'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-bottom-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-collapse'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-image'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-image-outset'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-image-repeat'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-image-slice'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-image-source'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-image-width'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-left-color'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-left-style'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-left-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-radius'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-right-color'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-right-style'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-right-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-spacing'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-top-color'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-top-left-radius'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-top-right-radius'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-top-style'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-top-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['border-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['bottom'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['box-decoration-break'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['box-shadow'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['box-sizing'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['break-after'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['break-before'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['break-inside'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['caption-side'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['clear'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['clip'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['clip-path'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['color-profile'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['column-count'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['column-fill'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['column-gap'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['column-rule'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['column-rule-color'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['column-rule-style'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['column-rule-width'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['column-span'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['column-width'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['columns'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['content'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['counter-increment'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['counter-reset'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['crop'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['cue'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['cue-after'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['cue-before'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['cursor'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['direction'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['display'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['dominant-baseline'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['drop-initial-after-adjust'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['drop-initial-after-align'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['drop-initial-before-adjust'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['drop-initial-before-align'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['drop-initial-size'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['drop-initial-value'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['elevation'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['empty-cells'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['fill'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['fit'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['fit-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-align'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-basis'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-direction'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-flow'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-grow'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-line-pack'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-order'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-pack'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-shrink'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['flex-wrap'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['float'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['float-offset'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-family'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-size'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-size-adjust'] = 'CSS2.0,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-stretch'] = 'CSS2.0,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-variant'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['font-weight'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['gap'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-area'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-auto-columns'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-auto-flow'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-auto-rows'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-column'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-columns'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-column-end'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-column-gap'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-column-start'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-gap'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-row'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-rows'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-row-end'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-row-gap'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-row-start'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-template'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-template-areas'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-template-columns'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['grid-template-rows'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['hanging-punctuation'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['hyphenate-after'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['hyphenate-before'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['hyphenate-character'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['hyphenate-lines'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['hyphenate-resource'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['hyphens'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['icon'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['image-orientation'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['image-rendering'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['image-resolution'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['inline-box-align'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['justify-content'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['justify-items'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['justify-self'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['left'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['letter-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['line-break'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['line-height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['line-stacking'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['line-stacking-ruby'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['line-stacking-shift'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['line-stacking-strategy'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['list-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['list-style-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['list-style-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['list-style-type'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['margin'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['margin-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['margin-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['margin-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['margin-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['marker-offset'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['marks'] = 'CSS2.0,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['marquee-direction'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['marquee-loop'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['marquee-play-count'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['marquee-speed'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['marquee-style'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['mask-clip'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['mask-composite'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['mask-image'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['mask-mode'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['mask-origin'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['mask-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['mask-repeat'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['mask-size'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['max-height'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['max-width'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['min-height'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['min-width'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['move-to'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['nav-down'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['nav-index'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['nav-left'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['nav-right'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['nav-up'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['object-fit'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['object-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['opacity'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['order'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['orphans'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['outline'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['outline-color'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['outline-offset'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['outline-style'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['outline-width'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['overflow'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['overflow-style'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['overflow-wrap'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['overflow-x'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['overflow-y'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['padding'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['padding-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['padding-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['padding-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['padding-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['page'] = 'CSS2.0,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['page-break-after'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['page-break-before'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['page-break-inside'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['page-policy'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['pause'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['pause-after'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['pause-before'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['perspective'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['perspective-origin'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['phonemes'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['pitch'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['pitch-range'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['play-during'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['position'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['presentation-level'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['punctuation-trim'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['quotes'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['rendering-intent'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['resize'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['rest'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['rest-after'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['rest-before'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['richness'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['right'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['rotation'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['rotation-point'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['ruby-align'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['ruby-overhang'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['ruby-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['ruby-span'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-behavior'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-block'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-block-end'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-block-start'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-bottom'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-inline'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-inline-end'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-inline-start'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-left'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-right'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-margin-top'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding-block'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding-block-end'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding-block-start'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding-bottom'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding-inline'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding-inline-end'] = 'CSS3.0';
$GLOBALS['csstidy']['all_properties']['scroll-padding-inline-start'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding-left'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding-right'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-padding-top'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-snap-align'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['scroll-snap-stop'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['size'] = 'CSS2.0,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['speak'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['speak-header'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['speak-numeral'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['speak-punctuation'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['speech-rate'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['src'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['stress'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['string-set'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['stroke'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['tab-size'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['table-layout'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['target'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['target-name'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['target-new'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['target-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-align-last'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-decoration'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-decoration-color'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-decoration-line'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-decoration-skip'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-decoration-style'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-emphasis'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-emphasis-color'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-emphasis-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-emphasis-style'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-height'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-indent'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-justify'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-outline'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-shadow'] = 'CSS2.0,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-space-collapse'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-transform'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-underline-position'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['text-wrap'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['top'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['transform'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['transform-origin'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['transform-style'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['transition'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['transition-delay'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['transition-duration'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['transition-property'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['transition-timing-function'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['unicode-bidi'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['vertical-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['visibility'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['voice-balance'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['voice-duration'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['voice-family'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['voice-pitch'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['voice-pitch-range'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['voice-rate'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['voice-stress'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['voice-volume'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['volume'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['white-space'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['widows'] = 'CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['word-break'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['word-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
-$GLOBALS['csstidy']['all_properties']['word-wrap'] = 'CSS3.0';
-$GLOBALS['csstidy']['all_properties']['z-index'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding-left'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding-right'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-padding-top'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-snap-align'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['scroll-snap-stop'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['size'] = 'CSS2.0,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['speak'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['speak-header'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['speak-numeral'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['speak-punctuation'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['speech-rate'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['src'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['stress'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['string-set'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['stroke'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['tab-size'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['table-layout'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['target'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['target-name'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['target-new'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['target-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-align-last'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-decoration'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-decoration-color'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-decoration-line'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-decoration-skip'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-decoration-style'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-emphasis'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-emphasis-color'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-emphasis-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-emphasis-style'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-height'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-indent'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-justify'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-outline'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-shadow'] = 'CSS2.0,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-space-collapse'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-transform'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-underline-offset'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-underline-position'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['text-wrap'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['top'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['transform'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['transform-origin'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['transform-style'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['transition'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['transition-delay'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['transition-duration'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['transition-property'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['transition-timing-function'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['unicode-bidi'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['vertical-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['visibility'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['voice-balance'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['voice-duration'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['voice-family'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['voice-pitch'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['voice-pitch-range'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['voice-rate'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['voice-stress'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['voice-volume'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['volume'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['white-space'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['widows'] = 'CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['word-break'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['word-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
+$GLOBALS['csstidy']['all_properties']['word-wrap'] = 'CSS3.0';
+$GLOBALS['csstidy']['all_properties']['z-index'] = 'CSS2.0,CSS2.1,CSS3.0';
/**
* An array containing all properties that can accept a quoted string as a value.
*
* @global array $GLOBALS['csstidy']['quoted_string_properties']
*/
-$GLOBALS['csstidy']['quoted_string_properties'] = array('content', 'font', 'font-family', 'quotes');
+$GLOBALS['csstidy']['quoted_string_properties'] = array( 'content', 'font', 'font-family', 'quotes' );
/**
* An array containing all properties that can be defined multiple times without being overwritten.
@@ -666,23 +718,23 @@ $GLOBALS['csstidy']['multiple_properties'] = array_merge( $GLOBALS['csstidy']['c
* @version 1.0
* @see csstidy::load_template()
*/
-$GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="at">'; //string before @rule
-$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span> <span class="format">{</span>'."\n"; //bracket after @-rule
-$GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="selector">'; //string before selector
-$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span> <span class="format">{</span>'."\n"; //bracket after selector
-$GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="property">'; //string before property
-$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span><span class="value">'; //string after property+before value
-$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span><span class="format">;</span>'."\n"; //string after value
-$GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="format">}</span>'; //closing bracket - selector
-$GLOBALS['csstidy']['predefined_templates']['default'][] = "\n\n"; //space between blocks {...}
-$GLOBALS['csstidy']['predefined_templates']['default'][] = "\n".'<span class="format">}</span>'. "\n\n"; //closing bracket @-rule
-$GLOBALS['csstidy']['predefined_templates']['default'][] = ''; //indent in @-rule
+$GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="at">'; // string before @rule
+$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span> <span class="format">{</span>' . "\n"; // bracket after @-rule
+$GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="selector">'; // string before selector
+$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span> <span class="format">{</span>' . "\n"; // bracket after selector
+$GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="property">'; // string before property
+$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span><span class="value">'; // string after property+before value
+$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span><span class="format">;</span>' . "\n"; // string after value
+$GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="format">}</span>'; // closing bracket - selector
+$GLOBALS['csstidy']['predefined_templates']['default'][] = "\n\n"; // space between blocks {...}
+$GLOBALS['csstidy']['predefined_templates']['default'][] = "\n" . '<span class="format">}</span>' . "\n\n"; // closing bracket @-rule
+$GLOBALS['csstidy']['predefined_templates']['default'][] = ''; // indent in @-rule
$GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="comment">'; // before comment
-$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span>'."\n"; // after comment
+$GLOBALS['csstidy']['predefined_templates']['default'][] = '</span>' . "\n"; // after comment
$GLOBALS['csstidy']['predefined_templates']['default'][] = "\n"; // after last line @-rule
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="at">';
-$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span> <span class="format">{</span>'."\n";
+$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span> <span class="format">{</span>' . "\n";
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="selector">';
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span><span class="format">{</span>';
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="property">';
@@ -690,7 +742,7 @@ $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span><spa
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span><span class="format">;</span>';
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="format">}</span>';
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = "\n";
-$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = "\n". '<span class="format">}'."\n".'</span>';
+$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = "\n" . '<span class="format">}' . "\n" . '</span>';
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '';
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="comment">'; // before comment
$GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span>'; // after comment
@@ -712,18 +764,18 @@ $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '</span>'
$GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '';
$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '<span class="at">';
-$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span> <span class="format">{</span>'."\n";
+$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span> <span class="format">{</span>' . "\n";
$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '<span class="selector">';
-$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span>'."\n".'<span class="format">{</span>'."\n";
+$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span>' . "\n" . '<span class="format">{</span>' . "\n";
$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = ' <span class="property">';
$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span><span class="value">';
-$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span><span class="format">;</span>'."\n";
+$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span><span class="format">;</span>' . "\n";
$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '<span class="format">}</span>';
$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = "\n\n";
-$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = "\n".'<span class="format">}</span>'."\n\n";
+$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = "\n" . '<span class="format">}</span>' . "\n\n";
$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = ' ';
$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '<span class="comment">'; // before comment
-$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span>'."\n"; // after comment
+$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span>' . "\n"; // after comment
$GLOBALS['csstidy']['predefined_templates']['low_compression'][] = "\n";
-require dirname( __FILE__ ) . '/data-wp.inc.php';
+require __DIR__ . '/data-wp.inc.php';
diff --git a/plugins/jetpack/modules/custom-css/csstidy/lang.inc.php b/plugins/jetpack/modules/custom-css/csstidy/lang.inc.php
index 0a3ad014..f35bc8d8 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/lang.inc.php
+++ b/plugins/jetpack/modules/custom-css/csstidy/lang.inc.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Localization of CSS Optimiser Interface of CSSTidy
*
@@ -22,33 +21,32 @@
*
* @license https://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
* @package csstidy
- * @author Florian Schmitz (floele at gmail dot com) 2005-2007
- * @author Brett Zamir (brettz9 at yahoo dot com) 2007
+ * @author Florian Schmitz (floele at gmail dot com) 2005-2007, Brett Zamir (brettz9 at yahoo dot com) 2007
*/
-if ( isset( $_GET['lang'] ) ) {
- $l = $_GET['lang'];
+if ( isset( $_GET['lang'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site, determening language for translations.
+ $l = sanitize_text_field( wp_unslash( $_GET['lang'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site, determining language for translations.
} elseif ( isset( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) ) {
- $l = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
+ $l = filter_var( wp_unslash( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) );
$l = strtolower( substr( $l, 0, 2 ) );
} else {
$l = '';
}
-$l = ( in_array( $l, array( 'de', 'fr', 'zh' ) ) ) ? $l : 'en';
+$l = ( in_array( $l, array( 'de', 'fr', 'zh' ), true ) ) ? $l : 'en';
// note 5 in all but French, and 40 in all are orphaned
-$lang = array();
-$lang['en'][0] = 'CSS Formatter and Optimiser/Optimizer (based on CSSTidy ';
-$lang['en'][1] = 'CSS Formatter and Optimiser';
-$lang['en'][2] = '(based on';
-$lang['en'][3] = '(plaintext)';
-$lang['en'][4] = 'Important Note:';
-$lang['en'][6] = 'Your code should be well-formed. This is <strong>not a validator</strong> which points out errors in your CSS code. To make sure that your code is valid, use the <a href="https://jigsaw.w3.org/css-validator/">W3C Validator</a>.';
-$lang['en'][7] = 'all comments are removed';
-$lang['en'][8] = 'CSS Input:';
-$lang['en'][9] = 'CSS-Code:';
+$lang = array();
+$lang['en'][0] = 'CSS Formatter and Optimiser/Optimizer (based on CSSTidy ';
+$lang['en'][1] = 'CSS Formatter and Optimiser';
+$lang['en'][2] = '(based on';
+$lang['en'][3] = '(plaintext)';
+$lang['en'][4] = 'Important Note:';
+$lang['en'][6] = 'Your code should be well-formed. This is <strong>not a validator</strong> which points out errors in your CSS code. To make sure that your code is valid, use the <a href="https://jigsaw.w3.org/css-validator/">W3C Validator</a>.';
+$lang['en'][7] = 'all comments are removed';
+$lang['en'][8] = 'CSS Input:';
+$lang['en'][9] = 'CSS-Code:';
$lang['en'][10] = 'CSS from URL:';
$lang['en'][11] = 'Code Layout:';
$lang['en'][12] = 'Compression&#160;(code&#160;layout):';
@@ -106,16 +104,15 @@ $lang['en'][64] = 'Code';
$lang['en'][65] = 'CSS to style CSS output';
$lang['en'][66] = 'You need to go to about:config in your URL bar, select \'signed.applets.codebase_principal_support\' in the filter field, and set its value to true in order to use this feature; however, be aware that doing so increases security risks.';
-
-$lang['de'][0] = 'CSS Formatierer und Optimierer (basierend auf CSSTidy ';
-$lang['de'][1] = 'CSS Formatierer und Optimierer';
-$lang['de'][2] = '(basierend auf';
-$lang['de'][3] = '(Textversion)';
-$lang['de'][4] = 'Wichtiger Hinweis:';
-$lang['de'][6] = 'Der CSS Code sollte wohlgeformt sein. Der CSS Code wird <strong>nicht auf Gültigkeit überprüft</strong>. Um sicherzugehen dass dein Code valide ist, benutze den <a href="https://jigsaw.w3.org/css-validator/">W3C Validierungsservice</a>.';
-$lang['de'][7] = 'alle Kommentare werden entfernt';
-$lang['de'][8] = 'CSS Eingabe:';
-$lang['de'][9] = 'CSS-Code:';
+$lang['de'][0] = 'CSS Formatierer und Optimierer (basierend auf CSSTidy ';
+$lang['de'][1] = 'CSS Formatierer und Optimierer';
+$lang['de'][2] = '(basierend auf';
+$lang['de'][3] = '(Textversion)';
+$lang['de'][4] = 'Wichtiger Hinweis:';
+$lang['de'][6] = 'Der CSS Code sollte wohlgeformt sein. Der CSS Code wird <strong>nicht auf Gültigkeit überprüft</strong>. Um sicherzugehen dass dein Code valide ist, benutze den <a href="https://jigsaw.w3.org/css-validator/">W3C Validierungsservice</a>.';
+$lang['de'][7] = 'alle Kommentare werden entfernt';
+$lang['de'][8] = 'CSS Eingabe:';
+$lang['de'][9] = 'CSS-Code:';
$lang['de'][10] = 'CSS von URL:';
$lang['de'][11] = 'Code Layout:';
$lang['de'][12] = 'Komprimierung&#160;(Code&#160;Layout):';
@@ -173,16 +170,15 @@ $lang['de'][64] = 'Code';
$lang['de'][65] = 'CSS to style CSS output';
$lang['de'][66] = 'You need to go to about:config in your URL bar, select \'signed.applets.codebase_principal_support\' in the filter field, and set its value to true in order to use this feature; however, be aware that doing so increases security risks.';
-
-$lang['fr'][0] = 'CSS Formatteur et Optimiseur (basé sur CSSTidy ';
-$lang['fr'][1] = 'CSS Formatteur et Optimiseur';
-$lang['fr'][2] = '(basé sur ';
-$lang['fr'][3] = '(Version texte)';
-$lang['fr'][4] = 'Note Importante&#160;:';
-$lang['fr'][6] = 'Votre code doit être valide. Ce n’est <strong>pas un validateur</strong> qui signale les erreurs dans votre code CSS. Pour être sûr que votre code est correct, utilisez le validateur&#160;: <a href="https://jigsaw.w3.org/css-validator/">W3C Validator</a>.';
-$lang['fr'][7] = 'tous les commentaires sont enlevés';
-$lang['fr'][8] = 'Champ CSS&#160;:';
-$lang['fr'][9] = 'Code CSS&#160;:';
+$lang['fr'][0] = 'CSS Formatteur et Optimiseur (basé sur CSSTidy ';
+$lang['fr'][1] = 'CSS Formatteur et Optimiseur';
+$lang['fr'][2] = '(basé sur ';
+$lang['fr'][3] = '(Version texte)';
+$lang['fr'][4] = 'Note Importante&#160;:';
+$lang['fr'][6] = 'Votre code doit être valide. Ce n’est <strong>pas un validateur</strong> qui signale les erreurs dans votre code CSS. Pour être sûr que votre code est correct, utilisez le validateur&#160;: <a href="https://jigsaw.w3.org/css-validator/">W3C Validator</a>.';
+$lang['fr'][7] = 'tous les commentaires sont enlevés';
+$lang['fr'][8] = 'Champ CSS&#160;:';
+$lang['fr'][9] = 'Code CSS&#160;:';
$lang['fr'][10] = 'CSS en provenance d’une URL&#160;:<br />';
$lang['fr'][11] = 'Mise en page du code&#160;:';
$lang['fr'][12] = 'Compression (mise en page du code)&#160;:';
@@ -240,16 +236,15 @@ $lang['fr'][64] = 'Code';
$lang['fr'][65] = 'CSS pour colorier la sortie CSS';
$lang['fr'][66] = 'Vous devez aller dans about:config dans votre barre d’adresse, selectionner \'signed.applets.codebase_principal_support\' dans le champ Filtre et attribuez-lui la valeur \'true\' pour utiliser cette fonctionnalité; toutefois, soyez conscient que cela augmente les risques de sécurité.';
-
-$lang['zh'][0] = 'CSS整形與最佳化工具(使用 CSSTidy ';
-$lang['zh'][1] = 'CSS整形與最佳化工具';
-$lang['zh'][2] = '(使用';
-$lang['zh'][3] = '(純文字)';
-$lang['zh'][4] = '重要事項:';
-$lang['zh'][6] = '你的原始碼必須是良構的(well-formed). 這個工具<strong>沒有內建驗證器(validator)</strong>. 驗證器能夠指出你CSS原始碼裡的錯誤. 請使用 <a href="https://jigsaw.w3.org/css-validator/">W3C 驗證器</a>, 確保你的原始碼合乎規範.';
-$lang['zh'][7] = '所有註解都移除了';
-$lang['zh'][8] = 'CSS 輸入:';
-$lang['zh'][9] = 'CSS 原始碼:';
+$lang['zh'][0] = 'CSS整形與最佳化工具(使用 CSSTidy ';
+$lang['zh'][1] = 'CSS整形與最佳化工具';
+$lang['zh'][2] = '(使用';
+$lang['zh'][3] = '(純文字)';
+$lang['zh'][4] = '重要事項:';
+$lang['zh'][6] = '你的原始碼必須是良構的(well-formed). 這個工具<strong>沒有內建驗證器(validator)</strong>. 驗證器能夠指出你CSS原始碼裡的錯誤. 請使用 <a href="https://jigsaw.w3.org/css-validator/">W3C 驗證器</a>, 確保你的原始碼合乎規範.';
+$lang['zh'][7] = '所有註解都移除了';
+$lang['zh'][8] = 'CSS 輸入:';
+$lang['zh'][9] = 'CSS 原始碼:';
$lang['zh'][10] = 'CSS 檔案網址(URL):';
$lang['zh'][11] = '原始碼規劃:';
$lang['zh'][12] = '壓縮程度(原始碼規劃):';
diff --git a/plugins/jetpack/modules/custom-css/custom-css-4.7.php b/plugins/jetpack/modules/custom-css/custom-css-4.7.php
index cdce3444..af635fcc 100644
--- a/plugins/jetpack/modules/custom-css/custom-css-4.7.php
+++ b/plugins/jetpack/modules/custom-css/custom-css-4.7.php
@@ -1,6 +1,7 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Assets;
+use Automattic\Jetpack\Blocks;
/**
* Alternate Custom CSS source for 4.7 compat.
@@ -20,12 +21,11 @@ class Jetpack_Custom_CSS_Enhancements {
*/
public static function add_hooks() {
add_action( 'init', array( __CLASS__, 'init' ) );
- add_action( 'admin_menu', array( __CLASS__, 'admin_menu' ) );
add_action( 'customize_controls_enqueue_scripts', array( __CLASS__, 'customize_controls_enqueue_scripts' ) );
add_action( 'customize_register', array( __CLASS__, 'customize_register' ) );
add_filter( 'map_meta_cap', array( __CLASS__, 'map_meta_cap' ), 20, 2 );
add_action( 'customize_preview_init', array( __CLASS__, 'customize_preview_init' ) );
- add_filter( '_wp_post_revision_fields', array( __CLASS__, '_wp_post_revision_fields' ), 10, 2 );
+ add_filter( '_wp_post_revision_fields', array( __CLASS__, 'wp_post_revision_fields' ), 10, 2 );
add_action( 'load-revision.php', array( __CLASS__, 'load_revision_php' ) );
add_action( 'wp_enqueue_scripts', array( __CLASS__, 'wp_enqueue_scripts' ) );
@@ -46,30 +46,49 @@ class Jetpack_Custom_CSS_Enhancements {
add_action( 'template_redirect', array( __CLASS__, 'set_content_width' ) );
add_action( 'admin_init', array( __CLASS__, 'set_content_width' ) );
- // Stuff?
+ // Remove the Customizer link from the menu to avoid additional confusion if the site is a FSE themed site.
+ if ( wp_is_block_theme() || Blocks::is_fse_theme() ) {
+ if ( isset( $_SERVER['REQUEST_URI'] ) ) {
+ add_action(
+ 'admin_menu',
+ function () {
+ remove_submenu_page(
+ 'themes.php',
+ add_query_arg(
+ 'return',
+ rawurlencode( remove_query_arg( wp_removable_query_args(), wp_unslash( $_SERVER['REQUEST_URI'] ) ) ), // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
+ 'customize.php'
+ )
+ );
+ }
+ );
+ }
+ }
}
/**
* Things that we do on init.
*/
public static function init() {
- $min = '.min';
- if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
- $min = '';
- }
- wp_register_style( 'jetpack-codemirror', plugins_url( 'custom-css/css/codemirror.css', __FILE__ ), array(), '20120905' );
- wp_register_style( 'jetpack-customizer-css', plugins_url( 'custom-css/css/customizer-control.css', __FILE__ ), array(), '20140728' );
- wp_register_script( 'jetpack-codemirror', plugins_url( 'custom-css/js/codemirror.min.js', __FILE__ ), array(), '3.16', true );
+ wp_register_style( 'jetpack-codemirror', plugins_url( 'custom-css/css/codemirror.css', __FILE__ ), array(), '20120905' );
+ wp_register_style( 'jetpack-customizer-css', plugins_url( 'custom-css/css/customizer-control.css', __FILE__ ), array(), '20140728' );
+ wp_register_script( 'jetpack-codemirror', plugins_url( 'custom-css/js/codemirror.min.js', __FILE__ ), array(), '3.16', true );
- $src = Assets::get_file_url_for_environment(
+ $src = Assets::get_file_url_for_environment(
'_inc/build/custom-css/custom-css/js/core-customizer-css.core-4.9.min.js',
'modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js'
);
- wp_register_script( 'jetpack-customizer-css', $src, array(
- 'customize-controls',
- 'underscore'
- ), JETPACK__VERSION, true );
+ wp_register_script(
+ 'jetpack-customizer-css',
+ $src,
+ array(
+ 'customize-controls',
+ 'underscore',
+ ),
+ JETPACK__VERSION,
+ true
+ );
wp_register_script(
'jetpack-customizer-css-preview',
@@ -86,7 +105,7 @@ class Jetpack_Custom_CSS_Enhancements {
remove_action( 'wp_head', 'wp_custom_css_cb', 101 );
add_action( 'wp_head', array( __CLASS__, 'wp_custom_css_cb' ), 101 );
- if ( isset( $_GET['custom-css'] ) ) {
+ if ( isset( $_GET['custom-css'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site.
self::print_linked_custom_css();
}
}
@@ -104,7 +123,7 @@ class Jetpack_Custom_CSS_Enhancements {
public static function print_linked_custom_css() {
header( 'Content-type: text/css' );
header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + YEAR_IN_SECONDS ) . ' GMT' );
- echo wp_get_custom_css();
+ echo wp_get_custom_css(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
exit;
}
@@ -131,33 +150,6 @@ class Jetpack_Custom_CSS_Enhancements {
}
/**
- * Handle our admin menu item and legacy page declaration.
- */
- public static function admin_menu() {
- // Add in our legacy page to support old bookmarks and such.
- add_submenu_page( null, __( 'CSS', 'jetpack' ), __( 'Additional CSS', 'jetpack' ), 'edit_theme_options', 'editcss', array( __CLASS__, 'admin_page' ) );
-
- // Add in our new page slug that will redirect to the customizer.
- $hook = add_theme_page( __( 'CSS', 'jetpack' ), __( 'Additional CSS', 'jetpack' ), 'edit_theme_options', 'editcss-customizer-redirect', array( __CLASS__, 'admin_page' ) );
- add_action( "load-{$hook}", array( __CLASS__, 'customizer_redirect' ) );
- }
-
- /**
- * Handle the redirect for the customizer. This is necessary because
- * we can't directly add customizer links to the admin menu.
- *
- * There is a core patch in trac that would make this unnecessary.
- *
- * @link https://core.trac.wordpress.org/ticket/39050
- */
- public static function customizer_redirect() {
- wp_safe_redirect( self::customizer_link( array(
- 'return_url' => wp_get_referer(),
- ) ) );
- exit;
- }
-
- /**
* Shows Preprocessor code in the Revisions screen, and ensures that post_content_filtered
* is maintained on revisions
*
@@ -166,7 +158,7 @@ class Jetpack_Custom_CSS_Enhancements {
*
* @return array $fields Modified array to include post_content_filtered.
*/
- public static function _wp_post_revision_fields( $fields, $post ) {
+ public static function wp_post_revision_fields( $fields, $post ) {
// None of the fields in $post are required to be passed in this filter.
if ( ! isset( $post['post_type'], $post['ID'] ) ) {
return $fields;
@@ -175,10 +167,10 @@ class Jetpack_Custom_CSS_Enhancements {
// If we're passed in a revision, go get the main post instead.
if ( 'revision' === $post['post_type'] ) {
$main_post_id = wp_is_post_revision( $post['ID'] );
- $post = get_post( $main_post_id, ARRAY_A );
+ $post = get_post( $main_post_id, ARRAY_A );
}
if ( 'custom_css' === $post['post_type'] ) {
- $fields['post_content'] = __( 'CSS', 'jetpack' );
+ $fields['post_content'] = __( 'CSS', 'jetpack' );
$fields['post_content_filtered'] = __( 'Preprocessor', 'jetpack' );
}
return $fields;
@@ -243,7 +235,7 @@ class Jetpack_Custom_CSS_Enhancements {
* Partial for use in the Customizer.
*/
public static function echo_custom_css_partial() {
- echo wp_get_custom_css();
+ echo wp_get_custom_css(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
/**
@@ -257,11 +249,11 @@ class Jetpack_Custom_CSS_Enhancements {
* If we ever add back in a non-Customizer CSS editor, this would be the place.
*/
public static function admin_page() {
- $post = null;
+ $post = null;
$stylesheet = null;
- if ( isset( $_GET['id'] ) ) {
- $post_id = absint( $_GET['id'] );
- $post = get_post( $post_id );
+ if ( isset( $_GET['id'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site.
+ $post_id = absint( $_GET['id'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site
+ $post = get_post( $post_id );
if ( $post instanceof WP_Post && 'custom_css' === $post->post_type ) {
$stylesheet = $post->post_title;
}
@@ -272,7 +264,7 @@ class Jetpack_Custom_CSS_Enhancements {
<h1>
<?php
if ( $post ) {
- printf( 'Custom CSS for &#8220;%1$s&#8221;', wp_get_theme( $stylesheet )->Name );
+ printf( 'Custom CSS for &#8220;%1$s&#8221;', wp_get_theme( $stylesheet )->Name ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
} else {
esc_html_e( 'Custom CSS', 'jetpack' );
}
@@ -350,9 +342,12 @@ class Jetpack_Custom_CSS_Enhancements {
* @return string
*/
public static function customizer_link( $args = array() ) {
- $args = wp_parse_args( $args, array(
- 'return_url' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ),
- ) );
+ $args = wp_parse_args(
+ $args,
+ array(
+ 'return_url' => isset( $_SERVER['REQUEST_URI'] ) ? rawurlencode( filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) : '',
+ )
+ );
return add_query_arg(
array(
@@ -377,26 +372,31 @@ class Jetpack_Custom_CSS_Enhancements {
$content_help = __( 'Set a different content 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 content width for the <strong>%1$s</strong> theme is %2$d pixel.', ' The default content width for the <strong>%1$s</strong> 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(),
- 'revisionsUrl' => self::get_revisions_url(),
- 'cssHelpUrl' => '//en.support.wordpress.com/custom-design/editing-css/',
- 'l10n' => array(
- 'mode' => __( 'Start Fresh', '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' ),
- ),
- ));
+ 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(),
+ 'revisionsUrl' => self::get_revisions_url(),
+ 'cssHelpUrl' => '//en.support.wordpress.com/custom-design/editing-css/',
+ 'l10n' => array(
+ 'mode' => __( 'Start Fresh', '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' ),
+ ),
+ )
+ );
}
/**
@@ -447,7 +447,7 @@ class Jetpack_Custom_CSS_Enhancements {
*/
public static function get_themes() {
$themes = wp_get_themes( array( 'errors' => null ) );
- $all = array();
+ $all = array();
foreach ( $themes as $theme ) {
$all[ $theme->name ] = $theme->stylesheet;
}
@@ -460,19 +460,21 @@ class Jetpack_Custom_CSS_Enhancements {
* @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();
+ $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 );
+ $label = array_search( $stylesheet, $themes, true );
if ( ! $label ) {
continue;
@@ -493,10 +495,14 @@ class Jetpack_Custom_CSS_Enhancements {
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() ),
- ));
+ 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() ),
+ )
+ );
}
}
@@ -509,56 +515,55 @@ class Jetpack_Custom_CSS_Enhancements {
* @return mixed|string
*/
public static function sanitize_css( $css, $args = array() ) {
- $args = wp_parse_args( $args, array(
- 'force' => false,
- 'preprocessor' => null,
- ) );
+ $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 = 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( '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', dirname( __FILE__ ) . '/csstidy/wordpress-standard.tpl' );
+ $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';
- }
+ $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( '<=', '&lt;=', $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( '&gt;', '>', $css ); // kses replaces lone '>' with &gt;
- // Why both KSES and strip_tags? Because we just added some '>'.
- $css = strip_tags( $css );
-
- if ( $css != $prev ) {
- $warnings[] = 'kses found stuff';
- }
+ $prev = $css;
+ // Why KSES instead of strip_tags? Who knows?
+ $css = wp_kses_split( $css, array(), array() );
+ $css = str_replace( '&gt;', '>', $css ); // kses replaces lone '>' with &gt;
+ // 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.
@@ -605,7 +610,7 @@ class Jetpack_Custom_CSS_Enhancements {
*
* @return mixed|void
*/
- static function style_filter( $current ) {
+ public static function style_filter( $current ) {
if ( is_admin() ) {
return $current;
} elseif ( self::is_freetrial() && ( ! self::is_preview() || ! current_user_can( 'switch_themes' ) ) ) {
@@ -623,10 +628,10 @@ class Jetpack_Custom_CSS_Enhancements {
*
* @return mixed The truthiness of this value determines whether the stylesheet should be skipped.
*/
- static function skip_stylesheet() {
+ 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 ( ! is_null( $skip_stylesheet ) ) {
+ if ( $skip_stylesheet !== null ) {
return $skip_stylesheet;
}
@@ -677,22 +682,31 @@ class Jetpack_Custom_CSS_Enhancements {
* 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[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[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' ),
- ) );
+ $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 ) {
@@ -710,7 +724,7 @@ class Jetpack_Custom_CSS_Enhancements {
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(
+ $types = array(
'default' => 'text/css',
'less' => 'text/x-less',
'sass' => 'text/x-scss',
@@ -725,31 +739,40 @@ class Jetpack_Custom_CSS_Enhancements {
}
}
- $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', '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]',
- ) );
+ $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', '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.
@@ -773,13 +796,16 @@ class Jetpack_Custom_CSS_Enhancements {
$preprocessor_choices[ $preprocessor_key ] = $processor['name'];
}
- $wp_customize->add_control( 'jetpack_css_preprocessors_control', array(
- 'type' => 'select',
- 'choices' => $preprocessor_choices,
- 'label' => __( 'Preprocessor', 'jetpack' ),
- 'section' => 'custom_css',
- 'settings' => 'jetpack_custom_css[preprocessor]',
- ) );
+ $wp_customize->add_control(
+ 'jetpack_css_preprocessors_control',
+ array(
+ 'type' => 'select',
+ 'choices' => $preprocessor_choices,
+ 'label' => __( 'Preprocessor', 'jetpack' ),
+ 'section' => 'custom_css',
+ 'settings' => 'jetpack_custom_css[preprocessor]',
+ )
+ );
}
}
@@ -787,16 +813,18 @@ class Jetpack_Custom_CSS_Enhancements {
/**
* The callback to handle sanitizing the CSS. Takes different arguments, hence the proxy function.
*
- * @param mixed $css Value of the setting.
- * @param WP_Customize_Setting $setting WP_Customize_Setting instance.
+ * @param mixed $css Value of the setting.
*
* @return mixed|string
*/
- public static function sanitize_css_callback( $css, $setting ) {
+ 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(),
- ) );
+ return self::sanitize_css(
+ $css,
+ array(
+ 'preprocessor' => $wp_customize->get_setting( 'jetpack_custom_css[preprocessor]' )->value(),
+ )
+ );
}
/**
@@ -882,13 +910,12 @@ class Jetpack_Custom_CSS_Enhancements {
* 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.
- * @param WP_Customize_Custom_CSS_Setting $setting Custom CSS Setting.
+ * @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, $setting ) {
+ 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'] ) ) {
@@ -906,7 +933,7 @@ class Jetpack_Custom_CSS_Enhancements {
if ( isset( $preprocessors[ $preprocessor ] ) ) {
$args['post_content_filtered'] = $css;
- $args['post_content'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css );
+ $args['post_content'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css );
}
return $args;
@@ -915,12 +942,11 @@ class Jetpack_Custom_CSS_Enhancements {
/**
* Filter to handle the processing of preprocessed css on save.
*
- * @param array $args Custom CSS options.
- * @param string $stylesheet Original CSS to be updated.
+ * @param array $args Custom CSS options.
*
* @return mixed
*/
- public static function update_custom_css_data( $args, $stylesheet ) {
+ 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'] ) ) {
@@ -929,16 +955,16 @@ class Jetpack_Custom_CSS_Enhancements {
/** This filter is documented in modules/custom-css/custom-css.php */
$preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );
- $preprocessor = $jetpack_custom_css['preprocessor'];
+ $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'] );
+ $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 );
+ 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
}
}
@@ -955,7 +981,7 @@ class Jetpack_Custom_CSS_Enhancements {
*
* @return array
*/
- static function editor_max_image_size( $dims, $size = 'medium', $context = null ) {
+ public static function editor_max_image_size( $dims, $size = 'medium', $context = null ) {
list( $width, $height ) = $dims;
if ( 'large' === $size && 'edit' === $context ) {
@@ -972,7 +998,7 @@ class Jetpack_Custom_CSS_Enhancements {
*
* @return int
*/
- static function jetpack_content_width( $content_width ) {
+ public static function jetpack_content_width( $content_width ) {
$custom_content_width = 0;
$jetpack_custom_css = get_theme_mod( 'jetpack_custom_css', array() );
@@ -992,9 +1018,9 @@ class Jetpack_Custom_CSS_Enhancements {
* 'template_redirect' action and
* 'admin_init' action
*/
- static function set_content_width() {
+ 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() ) {
+ if ( isset( $_GET['page'] ) && 'editcss' === $_GET['page'] && is_admin() ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- nothing is changed on the site.
return;
}
@@ -1050,7 +1076,7 @@ class Jetpack_Custom_CSS_Enhancements {
$stylesheet = $post->post_title;
?>
<script type="text/html" id="tmpl-other-themes-switcher">
- <?php self::revisions_switcher_box( $stylesheet ); ?>
+ <?php self::revisions_switcher_box( $stylesheet ); ?>
</script>
<style>
.other-themes-wrap {
@@ -1121,7 +1147,11 @@ class Jetpack_Custom_CSS_Enhancements {
?>
<option value="<?php echo esc_url( add_query_arg( 'id', $data['post']->ID, menu_page_url( 'editcss', 0 ) ) ); ?>" <?php disabled( $stylesheet, $theme_stylesheet ); ?>>
<?php echo esc_html( $data['label'] ); ?>
- <?php printf( esc_html__( '(modified %s ago)', 'jetpack' ), human_time_diff( strtotime( $data['post']->post_modified_gmt ) ) ); ?></option>
+ <?php
+ // translators: how long ago the stylesheet was modified.
+ printf( esc_html__( '(modified %s ago)', 'jetpack' ), human_time_diff( strtotime( $data['post']->post_modified_gmt ) ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ ?>
+ </option>
<?php
continue;
}
@@ -1129,7 +1159,11 @@ class Jetpack_Custom_CSS_Enhancements {
?>
<option value="<?php echo esc_url( get_edit_post_link( $revision->ID ) ); ?>" <?php disabled( $stylesheet, $theme_stylesheet ); ?>>
<?php echo esc_html( $data['label'] ); ?>
- <?php printf( esc_html__( '(modified %s ago)', 'jetpack' ), human_time_diff( strtotime( $data['post']->post_modified_gmt ) ) ); ?></option>
+ <?php
+ // translators: how long ago the stylesheet was modified.
+ printf( esc_html__( '(modified %s ago)', 'jetpack' ), human_time_diff( strtotime( $data['post']->post_modified_gmt ) ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ ?>
+ </option>
<?php
}
?>
@@ -1152,17 +1186,17 @@ if ( ! function_exists( 'safecss_class' ) ) :
return;
}
- require_once( dirname( __FILE__ ) . '/csstidy/class.csstidy.php' );
+ require_once __DIR__ . '/csstidy/class.csstidy.php';
/**
* Class safecss
*/
- class safecss extends csstidy_optimise {
+ class safecss extends csstidy_optimise { // phpcs:ignore
/**
* Optimises $css after parsing.
*/
- function postparse() {
+ public function postparse() { // phpcs:ignore MediaWiki.Usage.NestedFunctions.NestedFunction
/** This action is documented in modules/custom-css/custom-css.php */
do_action( 'csstidy_optimize_postparse', $this );
@@ -1173,7 +1207,7 @@ if ( ! function_exists( 'safecss_class' ) ) :
/**
* Optimises a sub-value.
*/
- function subvalue() {
+ public function subvalue() { // phpcs:ignore MediaWiki.Usage.NestedFunctions.NestedFunction
/** This action is documented in modules/custom-css/custom-css.php */
do_action( 'csstidy_optimize_subvalue', $this );
diff --git a/plugins/jetpack/modules/custom-css/custom-css.php b/plugins/jetpack/modules/custom-css/custom-css.php
index 179fef4d..6bd2d296 100644
--- a/plugins/jetpack/modules/custom-css/custom-css.php
+++ b/plugins/jetpack/modules/custom-css/custom-css.php
@@ -1,11 +1,18 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Assets;
-use Automattic\Jetpack\Redirect;
use Automattic\Jetpack\Device_Detection\User_Agent_Info;
+use Automattic\Jetpack\Redirect;
+/**
+ * Custom CSS class.
+ */
class Jetpack_Custom_CSS {
- static function init() {
+
+ /**
+ * Initialize the class.
+ */
+ public static function init() {
add_action( 'switch_theme', array( __CLASS__, 'reset' ) );
add_action( 'wp_restore_post_revision', array( __CLASS__, 'restore_revision' ), 10, 2 );
@@ -19,8 +26,9 @@ class Jetpack_Custom_CSS {
add_action( 'template_redirect', array( __CLASS__, 'set_content_width' ) );
add_action( 'admin_init', array( __CLASS__, 'set_content_width' ) );
- if ( ! is_admin() )
+ if ( ! is_admin() ) {
add_filter( 'stylesheet_uri', array( __CLASS__, 'style_filter' ) );
+ }
define(
'SAFECSS_USE_ACE',
@@ -28,6 +36,7 @@ class Jetpack_Custom_CSS {
! User_Agent_Info::is_ipad() &&
/**
* Should the Custom CSS module use ACE to process CSS.
+ *
* @see https://ace.c9.io/
*
* @module custom-css
@@ -41,40 +50,45 @@ class Jetpack_Custom_CSS {
// Register safecss as a custom post_type
// Explicit capability definitions are largely unnecessary because the posts are manipulated in code via an options page, managing CSS revisions does check the capabilities, so let's ensure that the proper caps are checked.
- register_post_type( 'safecss', array(
- // These are the defaults
- // 'exclude_from_search' => true,
- // 'public' => false,
- // 'publicly_queryable' => false,
- // 'show_ui' => false,
- 'supports' => array( 'revisions' ),
- 'label' => 'Custom CSS',
- 'can_export' => false,
- 'rewrite' => false,
- 'capabilities' => array(
- 'edit_post' => 'edit_theme_options',
- 'read_post' => 'read',
- 'delete_post' => 'edit_theme_options',
- 'edit_posts' => 'edit_theme_options',
- 'edit_others_posts' => 'edit_theme_options',
- 'publish_posts' => 'edit_theme_options',
- 'read_private_posts' => 'read'
+ register_post_type(
+ 'safecss',
+ array(
+ /**
+ * These are the defaults
+ * 'exclude_from_search' => true,
+ * 'public' => false,
+ * 'publicly_queryable' => false,
+ * 'show_ui' => false,
+ */
+ 'supports' => array( 'revisions' ),
+ 'label' => 'Custom CSS',
+ 'can_export' => false,
+ 'rewrite' => false,
+ 'capabilities' => array(
+ 'edit_post' => 'edit_theme_options',
+ 'read_post' => 'read',
+ 'delete_post' => 'edit_theme_options',
+ 'edit_posts' => 'edit_theme_options',
+ 'edit_others_posts' => 'edit_theme_options',
+ 'publish_posts' => 'edit_theme_options',
+ 'read_private_posts' => 'read',
+ ),
)
- ) );
+ );
// Short-circuit WP if this is a CSS stylesheet request
if ( isset( $_GET['custom-css'] ) ) {
header( 'Content-Type: text/css', true, 200 );
- header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + 31536000) . ' GMT' ); // 1 year
- Jetpack_Custom_CSS::print_css();
+ header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + 31536000 ) . ' GMT' ); // 1 year
+ self::print_css();
exit;
}
add_action( 'admin_enqueue_scripts', array( 'Jetpack_Custom_CSS', 'enqueue_scripts' ) );
- if ( isset( $_GET['page'] ) && 'editcss' == $_GET['page'] && is_admin() ) {
+ if ( isset( $_GET['page'] ) && 'editcss' === $_GET['page'] && is_admin() ) {
// Do migration routine if necessary
- Jetpack_Custom_CSS::upgrade();
+ self::upgrade();
/**
* Allows additional work when migrating safecss from wp_options to wp_post.
@@ -90,6 +104,7 @@ class Jetpack_Custom_CSS {
* Never embed the style in the head on wpcom.
* Yes, this filter should be added to an unsynced file on wpcom, but
* there is no good syntactically-correct location to put it yet.
+ *
* @link https://github.com/Automattic/jetpack/commit/a1be114e9179f64d147124727a58e2cf76c7e5a1#commitcomment-7763921
*/
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
@@ -103,45 +118,39 @@ class Jetpack_Custom_CSS {
add_filter( 'jetpack_content_width', array( 'Jetpack_Custom_CSS', 'jetpack_content_width' ) );
add_filter( 'editor_max_image_size', array( 'Jetpack_Custom_CSS', 'editor_max_image_size' ), 10, 3 );
- if ( !current_user_can( 'switch_themes' ) && !is_super_admin() )
+ if ( ! current_user_can( 'switch_themes' ) && ! is_super_admin() ) {
return;
+ }
add_action( 'admin_menu', array( 'Jetpack_Custom_CSS', 'menu' ) );
- if ( isset( $_POST['safecss'] ) && false == strstr( $_SERVER[ 'REQUEST_URI' ], 'options.php' ) ) {
+ if ( isset( $_POST['safecss'] ) && ( ! isset( $_SERVER['REQUEST_URI'] ) || false === strstr( filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ), 'options.php' ) ) ) {
check_admin_referer( 'safecss' );
- $save_result = self::save( array(
- 'css' => stripslashes( $_POST['safecss'] ),
- 'is_preview' => isset( $_POST['action'] ) && $_POST['action'] == 'preview',
- 'preprocessor' => isset( $_POST['custom_css_preprocessor'] ) ? $_POST['custom_css_preprocessor'] : '',
- 'add_to_existing' => isset( $_POST['add_to_existing'] ) ? $_POST['add_to_existing'] == 'true' : true,
- 'content_width' => isset( $_POST['custom_content_width'] ) ? $_POST['custom_content_width'] : false,
- ) );
+ $save_result = self::save(
+ array(
+ 'css' => filter_var( wp_unslash( $_POST['safecss'] ) ),
+ 'is_preview' => isset( $_POST['action'] ) && $_POST['action'] === 'preview',
+ 'preprocessor' => isset( $_POST['custom_css_preprocessor'] ) ? sanitize_key( $_POST['custom_css_preprocessor'] ) : '',
+ 'add_to_existing' => isset( $_POST['add_to_existing'] ) ? $_POST['add_to_existing'] === 'true' : true,
+ 'content_width' => isset( $_POST['custom_content_width'] ) ? intval( $_POST['custom_content_width'] ) : false,
+ )
+ );
- if ( $_POST['action'] == 'preview' ) {
+ if ( $_POST['action'] === 'preview' ) {
wp_safe_redirect( add_query_arg( 'csspreview', 'true', get_option( 'home' ) ) );
exit;
}
- if ( $save_result )
+ if ( $save_result ) {
add_action( 'admin_notices', array( 'Jetpack_Custom_CSS', 'saved_message' ) );
- }
-
- // Prevent content filters running on CSS when restoring revisions
- if ( isset( $_REQUEST[ 'action' ] ) && 'restore' === $_REQUEST[ 'action' ] && false !== strstr( $_SERVER[ 'REQUEST_URI' ], 'revision.php' ) ) {
- $parent_post = get_post( wp_get_post_parent_id( (int) $_REQUEST['revision'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated
- if ( $parent_post && ! is_wp_error( $parent_post ) && 'safecss' === $parent_post->post_type ) {
- // Remove wp_filter_post_kses, this causes CSS escaping issues
- remove_filter( 'content_save_pre', 'wp_filter_post_kses' );
- remove_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' );
- remove_all_filters( 'content_save_pre' );
}
}
// Modify all internal links so that preview state persists
- if ( Jetpack_Custom_CSS::is_preview() )
+ if ( self::is_preview() ) {
ob_start( array( 'Jetpack_Custom_CSS', 'buffer' ) );
+ }
}
/**
@@ -158,11 +167,11 @@ class Jetpack_Custom_CSS {
*/
public static function save( $args = array() ) {
$defaults = array(
- 'css' => '',
- 'is_preview' => false,
- 'preprocessor' => '',
+ 'css' => '',
+ 'is_preview' => false,
+ 'preprocessor' => '',
'add_to_existing' => true,
- 'content_width' => false,
+ 'content_width' => false,
);
$args = wp_parse_args( $args, $defaults );
@@ -180,11 +189,6 @@ class Jetpack_Custom_CSS {
$args['content_width'] = false;
}
- // Remove wp_filter_post_kses, this causes CSS escaping issues
- remove_filter( 'content_save_pre', 'wp_filter_post_kses' );
- remove_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' );
- remove_all_filters( 'content_save_pre' );
-
/**
* Fires prior to saving custom css values. Necessitated because the
* core WordPress save_pre filters were removed:
@@ -197,11 +201,11 @@ class Jetpack_Custom_CSS {
*
* @param array $args {
* Array of custom CSS arguments.
- * @type string $css The CSS (or LESS or Sass).
- * @type bool $is_preview Whether this CSS is preview or published.
- * @type string preprocessor Which CSS preprocessor to use.
- * @type bool $add_to_existing Whether this CSS replaces the theme's CSS or supplements it.
- * @type int $content_width A custom $content_width to go along with this CSS.
+ * @type string $css The CSS (or LESS or Sass).
+ * @type bool $is_preview Whether this CSS is preview or published.
+ * @type string preprocessor Which CSS preprocessor to use.
+ * @type bool $add_to_existing Whether this CSS replaces the theme's CSS or supplements it.
+ * @type int $content_width A custom $content_width to go along with this CSS.
* }
*/
do_action( 'safecss_save_pre', $args );
@@ -209,39 +213,41 @@ class Jetpack_Custom_CSS {
$warnings = array();
safecss_class();
- $csstidy = new csstidy();
+ $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( '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', dirname( __FILE__ ) . '/csstidy/wordpress-standard.tpl' );
-
- $css = $orig = $args['css'];
+ $csstidy->set_cfg( 'css_level', 'CSS3.0' );
+ $csstidy->set_cfg( 'preserve_css', true );
+ $csstidy->set_cfg( 'template', __DIR__ . '/csstidy/wordpress-standard.tpl' );
- $css = preg_replace( '/\\\\([0-9a-fA-F]{4})/', '\\\\\\\\$1', $prev = $css );
+ $prev = $args['css'];
+ $css = preg_replace( '/\\\\([0-9a-fA-F]{4})/', '\\\\\\\\$1', $prev );
// prevent content: '\3434' from turning into '\\3434'
$css = str_replace( array( '\'\\\\', '"\\\\' ), array( '\'\\', '"\\' ), $css );
- if ( $css != $prev )
+ if ( $css !== $prev ) {
$warnings[] = 'preg_replace found stuff';
+ }
// Some people put weird stuff in their CSS, KSES tends to be greedy
$css = str_replace( '<=', '&lt;=', $css );
// Why KSES instead of strip_tags? Who knows?
- $css = wp_kses_split( $prev = $css, array(), array() );
- $css = str_replace( '&gt;', '>', $css ); // kses replaces lone '>' with &gt;
+ $prev = $css;
+ $css = wp_kses_split( $prev, array(), array() );
+ $css = str_replace( '&gt;', '>', $css ); // kses replaces lone '>' with &gt;
// Why both KSES and strip_tags? Because we just added some '>'.
- $css = strip_tags( $css );
+ $css = strip_tags( $css ); // phpcs:ignore WordPress.WP.AlternativeFunctions.strip_tags_strip_tags
- if ( $css != $prev )
+ if ( $css !== $prev ) {
$warnings[] = 'kses found stuff';
+ }
// if we're not using a preprocessor
if ( ! $args['preprocessor'] ) {
@@ -279,14 +285,15 @@ class Jetpack_Custom_CSS {
$css = $csstidy->print->plain();
}
- if ( $args['add_to_existing'] )
+ if ( $args['add_to_existing'] ) {
$add_to_existing = 'yes';
- else
+ } else {
$add_to_existing = 'no';
+ }
- if ( $args['is_preview'] || Jetpack_Custom_CSS::is_freetrial() ) {
+ if ( $args['is_preview'] || self::is_freetrial() ) {
// Save the CSS
- $safecss_revision_id = Jetpack_Custom_CSS::save_revision( $css, true, $args['preprocessor'] );
+ $safecss_revision_id = self::save_revision( $css, true, $args['preprocessor'] );
// Cache Buster
update_option( 'safecss_preview_rev', (int) get_option( 'safecss_preview_rev' ) + 1 );
@@ -313,9 +320,9 @@ class Jetpack_Custom_CSS {
}
// Save the CSS
- $safecss_post_id = Jetpack_Custom_CSS::save_revision( $css, false, $args['preprocessor'] );
+ $safecss_post_id = self::save_revision( $css, false, $args['preprocessor'] );
- $safecss_post_revision = Jetpack_Custom_CSS::get_current_revision();
+ $safecss_post_revision = self::get_current_revision();
update_option( 'safecss_rev', (int) get_option( 'safecss_rev' ) + 1 );
@@ -340,11 +347,12 @@ class Jetpack_Custom_CSS {
*
* @return array
*/
- static function get_post() {
- $custom_css_post_id = Jetpack_Custom_CSS::post_id();
+ public static function get_post() {
+ $custom_css_post_id = self::post_id();
- if ( $custom_css_post_id )
+ if ( $custom_css_post_id ) {
return get_post( $custom_css_post_id, ARRAY_A );
+ }
return array();
}
@@ -354,7 +362,7 @@ class Jetpack_Custom_CSS {
*
* @return int|bool The post ID if it exists; false otherwise.
*/
- static function post_id() {
+ public static function post_id() {
/**
* Filter the ID of the post where Custom CSS is stored, before the ID is retrieved.
*
@@ -368,32 +376,36 @@ class Jetpack_Custom_CSS {
* @param null null The ID to return instead of the normal ID.
*/
$custom_css_post_id = apply_filters( 'jetpack_custom_css_pre_post_id', null );
- if ( ! is_null( $custom_css_post_id ) ) {
+ if ( $custom_css_post_id !== null ) {
return $custom_css_post_id;
}
$custom_css_post_id = wp_cache_get( 'custom_css_post_id' );
if ( false === $custom_css_post_id ) {
- $custom_css_posts = get_posts( array(
- 'posts_per_page' => 1,
- 'post_type' => 'safecss',
- 'post_status' => 'publish',
- 'orderby' => 'date',
- 'order' => 'DESC'
- ) );
+ $custom_css_posts = get_posts(
+ array(
+ 'posts_per_page' => 1,
+ 'post_type' => 'safecss',
+ 'post_status' => 'publish',
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ )
+ );
- if ( count( $custom_css_posts ) > 0 )
+ if ( count( $custom_css_posts ) > 0 ) {
$custom_css_post_id = $custom_css_posts[0]->ID;
- else
+ } else {
$custom_css_post_id = 0;
+ }
// Save post_id=0 to note that no safecss post exists.
wp_cache_set( 'custom_css_post_id', $custom_css_post_id );
}
- if ( ! $custom_css_post_id )
+ if ( ! $custom_css_post_id ) {
return false;
+ }
return $custom_css_post_id;
}
@@ -403,14 +415,21 @@ class Jetpack_Custom_CSS {
*
* @return object
*/
- static function get_current_revision() {
- $safecss_post = Jetpack_Custom_CSS::get_post();
+ public static function get_current_revision() {
+ $safecss_post = self::get_post();
if ( empty( $safecss_post ) ) {
return false;
}
- $revisions = wp_get_post_revisions( $safecss_post['ID'], array( 'posts_per_page' => 1, 'orderby' => 'date', 'order' => 'DESC' ) );
+ $revisions = wp_get_post_revisions(
+ $safecss_post['ID'],
+ array(
+ 'posts_per_page' => 1,
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ )
+ );
// Empty array if no revisions exist
if ( empty( $revisions ) ) {
@@ -427,45 +446,50 @@ class Jetpack_Custom_CSS {
* Save new revision of CSS
* Checks to see if content was modified before really saving
*
- * @param string $css
- * @param bool $is_preview
+ * @param string $css - the CSS.
+ * @param bool $is_preview - if we're in preview mode.
+ * @param string $preprocessor - what preprocessor we're using.
+ *
* @return bool|int If nothing was saved, returns false. If a post
* or revision was saved, returns the post ID.
*/
- static function save_revision( $css, $is_preview = false, $preprocessor = '' ) {
- $safecss_post = Jetpack_Custom_CSS::get_post();
+ public static function save_revision( $css, $is_preview = false, $preprocessor = '' ) {
+ $safecss_post = self::get_post();
- $compressed_css = Jetpack_Custom_CSS::minify( $css, $preprocessor );
+ $compressed_css = self::minify( $css, $preprocessor );
// If null, there was no original safecss record, so create one
- if ( null == $safecss_post ) {
- if ( ! $css )
+ if ( ! $safecss_post ) {
+ if ( ! $css ) {
return false;
+ }
- $post = array();
- $post['post_content'] = wp_slash( $css );
- $post['post_title'] = 'safecss';
- $post['post_status'] = 'publish';
- $post['post_type'] = 'safecss';
+ $post = array();
+ $post['post_content'] = wp_slash( $css );
+ $post['post_title'] = 'safecss';
+ $post['post_status'] = 'publish';
+ $post['post_type'] = 'safecss';
$post['post_content_filtered'] = wp_slash( $compressed_css );
// Set excerpt to current theme, for display in revisions list
- $current_theme = wp_get_theme();
- $post['post_excerpt'] = $current_theme->Name;
+ $current_theme = wp_get_theme();
+ $post['post_excerpt'] = $current_theme->Name; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ add_filter( 'wp_insert_post_data', array( __CLASS__, 'restore_unsafe_postcss_content' ), 9, 3 );
// Insert the CSS into wp_posts
$post_id = wp_insert_post( $post );
+ remove_filter( 'wp_insert_post_data', array( __CLASS__, 'restore_unsafe_postcss_content' ), 9 );
wp_cache_set( 'custom_css_post_id', $post_id );
return $post_id;
}
// Update CSS in post array with new value passed to this function
- $safecss_post['post_content'] = $css;
+ $safecss_post['post_content'] = $css;
$safecss_post['post_content_filtered'] = $compressed_css;
// Set excerpt to current theme, for display in revisions list
- $current_theme = wp_get_theme();
- $safecss_post['post_excerpt'] = $current_theme->Name;
+ $current_theme = wp_get_theme();
+ $safecss_post['post_excerpt'] = $current_theme->Name; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
// Don't carry over last revision's timestamps, otherwise revisions all have matching timestamps
unset( $safecss_post['post_date'] );
@@ -475,18 +499,54 @@ class Jetpack_Custom_CSS {
// Do not update post if we are only saving a preview
if ( false === $is_preview ) {
- $safecss_post['post_content'] = wp_slash( $safecss_post['post_content'] );
+ $safecss_post['post_content'] = wp_slash( $safecss_post['post_content'] );
$safecss_post['post_content_filtered'] = wp_slash( $safecss_post['post_content_filtered'] );
+ add_filter( 'wp_insert_post_data', array( __CLASS__, 'restore_unsafe_postcss_content' ), 9, 3 );
$post_id = wp_update_post( $safecss_post );
+ remove_filter( 'wp_insert_post_data', array( __CLASS__, 'restore_unsafe_postcss_content' ), 9 );
wp_cache_set( 'custom_css_post_id', $post_id );
return $post_id;
+ } elseif ( ! defined( 'DOING_MIGRATE' ) ) {
+ add_filter( 'wp_insert_post_data', array( __CLASS__, 'restore_unsafe_postcss_content' ), 9, 3 );
+ $revision = _wp_put_post_revision( $safecss_post );
+ remove_filter( 'wp_insert_post_data', array( __CLASS__, 'restore_unsafe_postcss_content' ), 9 );
+ return $revision;
}
- else if ( ! defined( 'DOING_MIGRATE' ) ) {
- return _wp_put_post_revision( $safecss_post );
+ }
+
+ /**
+ * Restore Unsafe Post CSS Content.
+ *
+ * @param array $data The post data being filtered.
+ * @param array $postarray Unused.
+ * @param array $unsanitized The unsanitized post data.
+ *
+ * @return array Post data.
+ */
+ public static function restore_unsafe_postcss_content( $data, $postarray, $unsanitized ) {
+ $replace_content =
+ isset( $data['post_type'] ) &&
+ isset( $unsanitized['post_content'] ) &&
+ (
+ 'safecss' === $data['post_type'] ||
+ (
+ 'revision' === $data['post_type'] &&
+ ! empty( $data['post_parent'] ) &&
+ 'safecss' === get_post_type( $data['post_parent'] )
+ )
+ );
+ if ( $replace_content ) {
+ $data['post_content'] = $unsanitized['post_content'];
}
+ return $data;
}
- static function skip_stylesheet() {
+ /**
+ * Prevent the stylesheet from being enqued.
+ *
+ * @return bool
+ */
+ public static function skip_stylesheet() {
/**
* Prevent the Custom CSS stylesheet from being enqueued.
*
@@ -500,19 +560,19 @@ class Jetpack_Custom_CSS {
if ( null !== $skip_stylesheet ) {
return $skip_stylesheet;
- } elseif ( Jetpack_Custom_CSS::is_customizer_preview() ) {
+ } elseif ( self::is_customizer_preview() ) {
return false;
} else {
- if ( Jetpack_Custom_CSS::is_preview() ) {
- $safecss_post = Jetpack_Custom_CSS::get_current_revision();
+ if ( self::is_preview() ) {
+ $safecss_post = self::get_current_revision();
- if ( $safecss_post )
- return (bool) ( get_post_meta( $safecss_post['ID'], 'custom_css_add', true ) == 'no' );
- else
- return (bool) ( get_option( 'safecss_preview_add' ) == 'no' );
- }
- else {
- $custom_css_post_id = Jetpack_Custom_CSS::post_id();
+ if ( $safecss_post ) {
+ return (bool) ( get_post_meta( $safecss_post['ID'], 'custom_css_add', true ) === 'no' );
+ } else {
+ return (bool) ( get_option( 'safecss_preview_add' ) === 'no' );
+ }
+ } else {
+ $custom_css_post_id = self::post_id();
if ( $custom_css_post_id ) {
$custom_css_add = get_post_meta( $custom_css_post_id, 'custom_css_add', true );
@@ -520,17 +580,23 @@ class Jetpack_Custom_CSS {
// It is possible for the CSS to be stored in a post but for the safecss_add option
// to have not been upgraded yet if the user hasn't opened their Custom CSS editor
// since October 2012.
- if ( ! empty( $custom_css_add ) )
+ if ( ! empty( $custom_css_add ) ) {
return (bool) ( $custom_css_add === 'no' );
+ }
}
- return (bool) ( Jetpack_Options::get_option_and_ensure_autoload( 'safecss_add', '' ) == 'no' );
+ return (bool) ( Jetpack_Options::get_option_and_ensure_autoload( 'safecss_add', '' ) === 'no' );
}
}
}
- static function is_preview() {
- return isset( $_GET['csspreview'] ) && $_GET['csspreview'] === 'true';
+ /**
+ * Checks if we're in a preview mode.
+ *
+ * @return bool
+ */
+ public static function is_preview() {
+ return isset( $_GET['csspreview'] ) && $_GET['csspreview'] === 'true'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site.
}
/**
@@ -538,20 +604,23 @@ class Jetpack_Custom_CSS {
* 'template_redirect' action and
* 'admin_init' action
*/
- static function set_content_width(){
+ public static function set_content_width() {
// Don't apply this filter on the Edit CSS page
- if ( isset( $_GET ) && isset( $_GET['page'] ) && 'editcss' == $_GET['page'] && is_admin() ) {
+ if ( isset( $_GET ) && isset( $_GET['page'] ) && 'editcss' === $_GET['page'] && is_admin() ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- nothing changing on the site, it's not applying a filter if set.
return;
}
$GLOBALS['content_width'] = Jetpack::get_content_width();
}
- /*
+ /**
* False when the site has the Custom Design upgrade.
* Used only on WordPress.com.
+ *
+ * @return bool
+ * @todo see if we can remove this, I don't believe WordPress.com uses free trials anymore.
*/
- static function is_freetrial() {
+ public static function is_freetrial() {
/**
* Determine if a WordPress.com site uses a Free trial of the Custom Design Upgrade.
* Used only on WordPress.com.
@@ -565,20 +634,37 @@ class Jetpack_Custom_CSS {
return apply_filters( 'safecss_is_freetrial', false );
}
- static function get_preprocessor_key() {
- $safecss_post = Jetpack_Custom_CSS::get_current_revision();
+ /**
+ * Get the preprocessor key.
+ *
+ * @return string|false
+ */
+ public static function get_preprocessor_key() {
+ $safecss_post = self::get_current_revision();
return get_post_meta( $safecss_post['ID'], 'custom_css_preprocessor', true );
}
- static function get_preprocessor() {
+ /**
+ * Get the prepocessor.
+ *
+ * @return string|null
+ */
+ public static function get_preprocessor() {
/** This filter is documented in modules/custom-css/custom-css.php */
- $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );
+ $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );
$selected_preprocessor_key = self::get_preprocessor_key();
- $selected_preprocessor = isset( $preprocessors[ $selected_preprocessor_key ] ) ? $preprocessors[ $selected_preprocessor_key ] : null;
+ $selected_preprocessor = isset( $preprocessors[ $selected_preprocessor_key ] ) ? $preprocessors[ $selected_preprocessor_key ] : null;
return $selected_preprocessor;
}
- static function get_css( $compressed = false ) {
+ /**
+ * Get the CSS.
+ *
+ * @param boolean $compressed - if the CSS is compressed.
+ *
+ * @return string
+ */
+ public static function get_css( $compressed = false ) {
/**
* Filter the Custom CSS returned.
* Can be used to return an error, or no CSS at all.
@@ -591,21 +677,22 @@ class Jetpack_Custom_CSS {
*/
$default_css = apply_filters( 'safecss_get_css_error', false );
- if ( $default_css !== false )
+ if ( $default_css !== false ) {
return $default_css;
+ }
- $option = ( Jetpack_Custom_CSS::is_preview() || Jetpack_Custom_CSS::is_freetrial() ) ? 'safecss_preview' : 'safecss';
- $css = '';
+ $option = ( self::is_preview() || self::is_freetrial() ) ? 'safecss_preview' : 'safecss';
+ $css = '';
- if ( 'safecss' == $option ) {
+ if ( 'safecss' === $option ) {
// Don't bother checking for a migrated 'safecss' option if it never existed.
if ( false === get_option( 'safecss' ) || get_option( 'safecss_revision_migrated' ) ) {
- $safecss_post = Jetpack_Custom_CSS::get_post();
+ $safecss_post = self::get_post();
if ( ! empty( $safecss_post ) ) {
$css = ( $compressed && $safecss_post['post_content_filtered'] ) ? $safecss_post['post_content_filtered'] : $safecss_post['post_content'];
}
} else {
- $current_revision = Jetpack_Custom_CSS::get_current_revision();
+ $current_revision = self::get_current_revision();
if ( false === $current_revision ) {
$css = '';
} else {
@@ -616,15 +703,14 @@ class Jetpack_Custom_CSS {
// Fix for un-migrated Custom CSS
if ( empty( $safecss_post ) ) {
$_css = get_option( 'safecss' );
- if ( !empty( $_css ) ) {
+ if ( ! empty( $_css ) ) {
$css = $_css;
}
}
- }
- else if ( 'safecss_preview' == $option ) {
- $safecss_post = Jetpack_Custom_CSS::get_current_revision();
- $css = $safecss_post['post_content'];
- $css = Jetpack_Custom_CSS::minify( $css, get_post_meta( $safecss_post['ID'], 'custom_css_preprocessor', true ) );
+ } elseif ( 'safecss_preview' === $option ) {
+ $safecss_post = self::get_current_revision();
+ $css = $safecss_post['post_content'];
+ $css = self::minify( $css, get_post_meta( $safecss_post['ID'], 'custom_css_preprocessor', true ) );
}
$css = str_replace( array( '\\\00BB \\\0020', '\0BB \020', '0BB 020' ), '\00BB \0020', $css );
@@ -643,7 +729,14 @@ class Jetpack_Custom_CSS {
return $css;
}
- static function replace_insecure_urls( $css ) {
+ /**
+ * Replace insecure URLs.
+ *
+ * @param string $css - the CSS.
+ *
+ * @return string
+ */
+ public static function replace_insecure_urls( $css ) {
if ( ! function_exists( '_sa_get_frontend_https_url_replacement_map' ) ) {
return $css;
}
@@ -652,7 +745,10 @@ class Jetpack_Custom_CSS {
return str_replace( $http_urls, $secure_urls, $css );
}
- static function print_css() {
+ /**
+ * Print the CSS.
+ */
+ public static function print_css() {
/**
* Fires right before printing the custom CSS inside the <head> element.
@@ -662,16 +758,26 @@ class Jetpack_Custom_CSS {
* @since 1.7.0
*/
do_action( 'safecss_print_pre' );
- $css = Jetpack_Custom_CSS::get_css( true );
- echo self::replace_insecure_urls( $css );
+ $css = self::get_css( true );
+ echo self::replace_insecure_urls( $css ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
- static function should_we_inline_custom_css( $should_we, $css ) {
- // If the CSS is less than 2,000 characters, inline it! otherwise return what was passed in.
+ /**
+ * If the CSS is less than 2,000 characters, inline it! otherwise return what was passed in.
+ *
+ * @param bool $should_we if we should inline the CSS.
+ * @param string $css - the CSS object.
+ *
+ * @return bool
+ */
+ public static function should_we_inline_custom_css( $should_we, $css ) {
return ( strlen( $css ) < 2000 ) ? true : $should_we;
}
- static function link_tag() {
+ /**
+ * Add the link tag to inline CSS.
+ */
+ public static function link_tag() {
global $blog_id, $current_blog;
if (
@@ -690,24 +796,26 @@ class Jetpack_Custom_CSS {
return;
}
- if ( ! is_super_admin() && isset( $current_blog ) && ( 1 == $current_blog->spam || 1 == $current_blog->deleted ) )
+ if ( ! is_super_admin() && isset( $current_blog ) && ( $current_blog->spam || $current_blog->deleted ) ) {
return;
+ }
- if ( Jetpack_Custom_CSS::is_customizer_preview() )
+ if ( self::is_customizer_preview() ) {
return;
+ }
$css = '';
- $option = Jetpack_Custom_CSS::is_preview() ? 'safecss_preview' : 'safecss';
+ $option = self::is_preview() ? 'safecss_preview' : 'safecss';
- if ( 'safecss' == $option ) {
+ if ( 'safecss' === $option ) {
if ( Jetpack_Options::get_option_and_ensure_autoload( 'safecss_revision_migrated', '0' ) ) {
- $safecss_post = Jetpack_Custom_CSS::get_post();
+ $safecss_post = self::get_post();
if ( ! empty( $safecss_post['post_content'] ) ) {
$css = $safecss_post['post_content'];
}
} else {
- $current_revision = Jetpack_Custom_CSS::get_current_revision();
+ $current_revision = self::get_current_revision();
if ( ! empty( $current_revision['post_content'] ) ) {
$css = $current_revision['post_content'];
@@ -717,24 +825,25 @@ class Jetpack_Custom_CSS {
// Fix for un-migrated Custom CSS
if ( empty( $safecss_post ) ) {
$_css = Jetpack_Options::get_option_and_ensure_autoload( 'safecss', '' );
- if ( !empty( $_css ) ) {
+ if ( ! empty( $_css ) ) {
$css = $_css;
}
}
}
- if ( 'safecss_preview' == $option ) {
- $safecss_post = Jetpack_Custom_CSS::get_current_revision();
+ if ( 'safecss_preview' === $option ) {
+ $safecss_post = self::get_current_revision();
- if ( !empty( $safecss_post['post_content'] ) ) {
+ if ( ! empty( $safecss_post['post_content'] ) ) {
$css = $safecss_post['post_content'];
}
}
$css = str_replace( array( '\\\00BB \\\0020', '\0BB \020', '0BB 020' ), '\00BB \0020', $css );
- if ( $css == '' )
+ if ( $css === '' ) {
return;
+ }
if (
/**
@@ -750,7 +859,7 @@ class Jetpack_Custom_CSS {
apply_filters( 'safecss_embed_style', false, $css )
) {
- echo "\r\n" . '<style id="custom-css-css">' . Jetpack_Custom_CSS::get_css( true ) . "</style>\r\n";
+ echo "\r\n" . '<style id="custom-css-css">' . self::get_css( true ) . "</style>\r\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
} else {
@@ -772,11 +881,12 @@ class Jetpack_Custom_CSS {
*/
$href = apply_filters( 'safecss_href', $href, $blog_id );
- if ( Jetpack_Custom_CSS::is_preview() )
+ if ( self::is_preview() ) {
$href = add_query_arg( 'csspreview', 'true', $href );
+ }
?>
- <link rel="stylesheet" id="custom-css-css" type="text/css" href="<?php echo esc_url( $href ); ?>" />
+ <link rel="stylesheet" id="custom-css-css" type="text/css" href="<?php echo esc_url( $href ); // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet ?>" />
<?php
}
@@ -791,10 +901,17 @@ class Jetpack_Custom_CSS {
do_action( 'safecss_link_tag_post' );
}
- static function style_filter( $current ) {
- if ( Jetpack_Custom_CSS::is_freetrial() && ( ! Jetpack_Custom_CSS::is_preview() || ! current_user_can( 'switch_themes' ) ) )
+ /**
+ * Filter the default blank Custom CSS URL.
+ *
+ * @param string $current - the current CSS.
+ *
+ * @return string
+ */
+ public static function style_filter( $current ) {
+ if ( self::is_freetrial() && ( ! self::is_preview() || ! current_user_can( 'switch_themes' ) ) ) {
return $current;
- else if ( Jetpack_Custom_CSS::skip_stylesheet() )
+ } elseif ( self::skip_stylesheet() ) {
/**
* Filter the default blank Custom CSS URL.
*
@@ -805,18 +922,34 @@ class Jetpack_Custom_CSS {
* @param string $url Default blank Custom CSS URL.
*/
return apply_filters( 'safecss_style_filter_url', plugins_url( 'custom-css/css/blank.css', __FILE__ ) );
+ }
return $current;
}
- static function buffer( $html ) {
- $html = str_replace( '</body>', Jetpack_Custom_CSS::preview_flag(), $html );
+ /**
+ * Buffer the HTML.
+ *
+ * @param string $html - the HTML.
+ *
+ * @return string
+ */
+ public static function buffer( $html ) {
+ $html = str_replace( '</body>', self::preview_flag(), $html );
return preg_replace_callback( '!href=([\'"])(.*?)\\1!', array( 'Jetpack_Custom_CSS', 'preview_links' ), $html );
}
- static function preview_links( $matches ) {
- if ( 0 !== strpos( $matches[2], get_option( 'home' ) ) )
+ /**
+ * Preview links.
+ *
+ * @param array $matches - the matches.
+ *
+ * @return string
+ */
+ public static function preview_links( $matches ) {
+ if ( 0 !== strpos( $matches[2], get_option( 'home' ) ) ) {
return $matches[0];
+ }
$link = wp_specialchars_decode( $matches[2] );
$link = add_query_arg( 'csspreview', 'true', $link );
@@ -827,9 +960,10 @@ class Jetpack_Custom_CSS {
/**
* Places a black bar above every preview page
*/
- static function preview_flag() {
- if ( is_admin() )
+ public static function preview_flag() {
+ if ( is_admin() ) {
return;
+ }
$message = esc_html__( 'Preview: changes must be saved or they will be lost', 'jetpack' );
/**
@@ -844,7 +978,7 @@ class Jetpack_Custom_CSS {
$message = apply_filters( 'safecss_preview_message', $message );
$preview_flag_js = "var flag = document.createElement('div');
- flag.innerHTML = " . json_encode( $message ) . ";
+ flag.innerHTML = " . wp_json_encode( $message ) . ";
flag.style.background = '#FF6600';
flag.style.color = 'white';
flag.style.textAlign = 'center';
@@ -876,12 +1010,14 @@ class Jetpack_Custom_CSS {
return $preview_flag_js;
}
- static function menu() {
- $parent = 'themes.php';
- $title = __( 'Additional CSS', 'jetpack' );
- $hook = add_theme_page( $title, $title, 'edit_theme_options', 'editcss', array( 'Jetpack_Custom_CSS', 'admin' ) );
+ /**
+ * Add the additional CSS menu.
+ */
+ public static function menu() {
+ $title = __( 'Additional CSS', 'jetpack' );
+ $hook = add_theme_page( $title, $title, 'edit_theme_options', 'editcss', array( 'Jetpack_Custom_CSS', 'admin' ) );
- add_action( "load-revision.php", array( 'Jetpack_Custom_CSS', 'prettify_post_revisions' ) );
+ add_action( 'load-revision.php', array( 'Jetpack_Custom_CSS', 'prettify_post_revisions' ) );
add_action( "load-$hook", array( 'Jetpack_Custom_CSS', 'update_title' ) );
}
@@ -889,34 +1025,53 @@ class Jetpack_Custom_CSS {
* Adds a menu item in the appearance section for this plugin's administration
* page. Also adds hooks to enqueue the CSS and JS for the admin page.
*/
- static function update_title() {
+ public static function update_title() {
global $title;
- $title = __( 'CSS', 'jetpack' );
+ $title = __( 'CSS', 'jetpack' ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
}
- static function prettify_post_revisions() {
+ /**
+ * Prettify the post revision.
+ */
+ public static function prettify_post_revisions() {
add_filter( 'the_title', array( 'Jetpack_Custom_CSS', 'post_title' ), 10, 2 );
}
- static function post_title( $title, $post_id ) {
- if ( !$post_id = (int) $post_id ) {
+ /**
+ * Get the post title.
+ *
+ * @param string $title - the post title.
+ * @param int $post_id - the post ID.
+ *
+ * @return string
+ */
+ public static function post_title( $title, $post_id ) {
+ $post_id = (int) $post_id;
+ if ( ! $post_id ) {
return $title;
}
- if ( !$post = get_post( $post_id ) ) {
+ $post = get_post( $post_id );
+ if ( ! $post ) {
return $title;
}
- if ( 'safecss' != $post->post_type ) {
+ if ( 'safecss' !== $post->post_type ) {
return $title;
}
return __( 'Custom CSS Stylesheet', 'jetpack' );
}
- static function enqueue_scripts( $hook ) {
- if ( 'appearance_page_editcss' != $hook )
+ /**
+ * Enqueue scripts.
+ *
+ * @param string $hook - the hook.
+ */
+ public static function enqueue_scripts( $hook ) {
+ if ( 'appearance_page_editcss' !== $hook ) {
return;
+ }
wp_enqueue_script( 'postbox' );
wp_enqueue_script(
@@ -929,7 +1084,7 @@ class Jetpack_Custom_CSS {
'20130325',
true
);
- wp_enqueue_style( 'custom-css-editor', plugins_url( 'custom-css/css/css-editor.css', __FILE__ ) );
+ wp_enqueue_style( 'custom-css-editor', plugins_url( 'custom-css/css/css-editor.css', __FILE__ ) ); // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion
if ( defined( 'SAFECSS_USE_ACE' ) && SAFECSS_USE_ACE ) {
wp_register_style( 'jetpack-css-codemirror', plugins_url( 'custom-css/css/codemirror.css', __FILE__ ), array(), '20120905' );
@@ -949,18 +1104,25 @@ class Jetpack_Custom_CSS {
}
}
- static function saved_message() {
- echo '<div id="message" class="updated fade"><p><strong>' . __( 'Stylesheet saved.', 'jetpack' ) . '</strong></p></div>';
+ /**
+ * Render the saved message.
+ */
+ public static function saved_message() {
+ echo '<div id="message" class="updated fade"><p><strong>' . esc_html__( 'Stylesheet saved.', 'jetpack' ) . '</strong></p></div>';
}
- static function admin() {
+ /**
+ * Render the admin page.
+ */
+ public static function admin() {
add_meta_box( 'submitdiv', __( 'Publish', 'jetpack' ), array( __CLASS__, 'publish_box' ), 'editcss', 'side' );
add_action( 'custom_css_submitbox_misc_actions', array( __CLASS__, 'content_width_settings' ) );
- $safecss_post = Jetpack_Custom_CSS::get_post();
+ $safecss_post = self::get_post();
- if ( ! empty( $safecss_post ) && 0 < $safecss_post['ID'] && wp_get_post_revisions( $safecss_post['ID'], array( 'posts_per_page' => 1 ) ) )
+ if ( ! empty( $safecss_post ) && 0 < $safecss_post['ID'] && wp_get_post_revisions( $safecss_post['ID'], array( 'posts_per_page' => 1 ) ) ) {
add_meta_box( 'revisionsdiv', __( 'CSS Revisions', 'jetpack' ), array( __CLASS__, 'revisions_meta_box' ), 'editcss', 'side' );
+ }
?>
<div class="wrap">
<?php
@@ -975,9 +1137,9 @@ class Jetpack_Custom_CSS {
do_action( 'custom_design_header' );
?>
- <h1><?php _e( 'CSS Stylesheet Editor', 'jetpack' ); ?></h1>
+ <h1><?php esc_html_e( 'CSS Stylesheet Editor', 'jetpack' ); ?></h1>
<form id="safecssform" action="" method="post">
- <?php wp_nonce_field( 'safecss' ) ?>
+ <?php wp_nonce_field( 'safecss' ); ?>
<?php wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
<input type="hidden" name="action" value="save" />
@@ -993,15 +1155,28 @@ class Jetpack_Custom_CSS {
*
* @param string $str Intro text appearing above the Custom CSS editor.
*/
- echo apply_filters( 'safecss_intro_text', __( 'New to CSS? Start with a <a href="https://www.htmldog.com/guides/css/beginner/" rel="noopener noreferrer" target="_blank">beginner tutorial</a>. Questions?
- Ask in the <a href="https://wordpress.org/support/forum/themes-and-templates" rel="noopener noreferrer" target="_blank">Themes and Templates forum</a>.', 'jetpack' ) );
- ?></p>
- <p class="css-support"><?php echo __( 'Note: Custom CSS will be reset when changing themes.', 'jetpack' ); ?></p>
+ echo apply_filters( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ 'safecss_intro_text',
+ __(
+ 'New to CSS? Start with a <a href="https://www.htmldog.com/guides/css/beginner/" rel="noopener noreferrer" target="_blank">beginner tutorial</a>. Questions?
+ Ask in the <a href="https://wordpress.org/support/forum/themes-and-templates" rel="noopener noreferrer" target="_blank">Themes and Templates forum</a>.',
+ 'jetpack'
+ )
+ );
+ ?>
+ </p>
+ <p class="css-support"><?php echo esc_html__( 'Note: Custom CSS will be reset when changing themes.', 'jetpack' ); ?></p>
<div id="post-body" class="metabox-holder columns-2">
<div id="post-body-content">
<div class="postarea">
- <textarea id="safecss" name="safecss"<?php if ( SAFECSS_USE_ACE ) echo ' class="hide-if-js"'; ?>><?php echo esc_textarea( Jetpack_Custom_CSS::get_css() ); ?></textarea>
+ <textarea id="safecss" name="safecss"
+ <?php
+ if ( SAFECSS_USE_ACE ) {
+ echo ' class="hide-if-js"';
+ }
+ ?>
+ ><?php echo esc_textarea( self::get_css() ); ?></textarea>
<div class="clear"></div>
</div>
</div>
@@ -1019,22 +1194,34 @@ class Jetpack_Custom_CSS {
/**
* Content width setting callback
*/
- static function content_width_settings() {
- $safecss_post = Jetpack_Custom_CSS::get_current_revision();
+ public static function content_width_settings() {
+ $safecss_post = self::get_current_revision();
$custom_content_width = get_post_meta( $safecss_post['ID'], 'content_width', true );
// If custom content width hasn't been overridden and the theme has a content_width value, use that as a default.
- if ( $custom_content_width <= 0 && ! empty( $GLOBALS['content_width'] ) )
+ if ( $custom_content_width <= 0 && ! empty( $GLOBALS['content_width'] ) ) {
$custom_content_width = $GLOBALS['content_width'];
+ }
- if ( ! $custom_content_width || ( isset( $GLOBALS['content_width'] ) && $custom_content_width == $GLOBALS['content_width'] ) )
+ if ( ! $custom_content_width || ( isset( $GLOBALS['content_width'] ) && $custom_content_width == $GLOBALS['content_width'] ) ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
$custom_content_width = '';
+ }
?>
<div class="misc-pub-section">
<label><?php esc_html_e( 'Media Width:', 'jetpack' ); ?></label>
- <span id="content-width-display" data-default-text="<?php esc_attr_e( 'Default', 'jetpack' ); ?>" data-custom-text="<?php esc_attr_e( '%s px', 'jetpack' ); ?>"><?php echo $custom_content_width ? sprintf( esc_html__( '%s px', 'jetpack' ), $custom_content_width ) : esc_html_e( 'Default', 'jetpack' ); ?></span>
+ <span id="content-width-display" data-default-text="<?php esc_attr_e( 'Default', 'jetpack' ); ?>" data-custom-text="
+ <?php
+ // translators: the custom content width.
+ esc_attr_e( '%s px', 'jetpack' );
+ ?>
+ ">
+ <?php
+ // translators: the custom content width.
+ echo esc_html( $custom_content_width ? sprintf( __( '%s px', 'jetpack' ), $custom_content_width ) : __( 'Default', 'jetpack' ) );
+ ?>
+ </span>
<a class="edit-content-width hide-if-no-js" href="#content-width"><?php echo esc_html_e( 'Edit', 'jetpack' ); ?></a>
<div id="content-width-select" class="hide-if-js">
<input type="hidden" name="custom_content_width" id="custom_content_width" value="<?php echo esc_attr( $custom_content_width ); ?>" />
@@ -1042,7 +1229,7 @@ class Jetpack_Custom_CSS {
<?php
printf( /* translators: %1$s is replaced with an input field for numbers. */
- __( 'Limit width to %1$s pixels for full size images. (<a href="%2$s" rel="noopener noreferrer" target="_blank">More info</a>.)', 'jetpack' ),
+ wp_kses_post( __( 'Limit width to %1$s pixels for full size images. (<a href="%2$s" rel="noopener noreferrer" target="_blank">More info</a>.)', 'jetpack' ) ),
'<input type="text" id="custom_content_width_visible" value="' . esc_attr( $custom_content_width ) . '" size="4" />',
/**
* Filter the Custom CSS limited width's support doc URL.
@@ -1064,7 +1251,7 @@ class Jetpack_Custom_CSS {
if (
! empty( $GLOBALS['content_width'] )
- && $custom_content_width != $GLOBALS['content_width']
+ && $custom_content_width != $GLOBALS['content_width'] // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
) {
$current_theme = wp_get_theme()->Name;
@@ -1095,7 +1282,7 @@ class Jetpack_Custom_CSS {
</div>
<script type="text/javascript">
jQuery( function ( $ ) {
- var defaultContentWidth = <?php echo isset( $GLOBALS['content_width'] ) ? json_encode( (int) $GLOBALS['content_width'] ) : 0; ?>;
+ var defaultContentWidth = <?php echo isset( $GLOBALS['content_width'] ) ? wp_json_encode( (int) $GLOBALS['content_width'] ) : 0; ?>;
$( '.edit-content-width' ).bind( 'click', function ( e ) {
e.preventDefault();
@@ -1140,7 +1327,10 @@ class Jetpack_Custom_CSS {
<?php
}
- static function publish_box() {
+ /**
+ * Render the publish box.
+ */
+ public static function publish_box() {
?>
<div id="minor-publishing">
<div id="misc-publishing-actions">
@@ -1158,9 +1348,9 @@ class Jetpack_Custom_CSS {
$preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );
if ( ! empty( $preprocessors ) ) {
- $safecss_post = Jetpack_Custom_CSS::get_current_revision();
+ $safecss_post = self::get_current_revision();
$selected_preprocessor_key = get_post_meta( $safecss_post['ID'], 'custom_css_preprocessor', true );
- $selected_preprocessor = isset( $preprocessors[$selected_preprocessor_key] ) ? $preprocessors[$selected_preprocessor_key] : null;
+ $selected_preprocessor = isset( $preprocessors[ $selected_preprocessor_key ] ) ? $preprocessors[ $selected_preprocessor_key ] : null;
?>
<div class="misc-pub-section">
@@ -1174,7 +1364,7 @@ class Jetpack_Custom_CSS {
<?php
foreach ( $preprocessors as $preprocessor_key => $preprocessor ) {
- ?>
+ ?>
<option value="<?php echo esc_attr( $preprocessor_key ); ?>" <?php selected( $selected_preprocessor_key, $preprocessor_key ); ?>><?php echo esc_html( $preprocessor['name'] ); ?></option>
<?php
}
@@ -1188,9 +1378,9 @@ class Jetpack_Custom_CSS {
<?php
}
- $safecss_post = Jetpack_Custom_CSS::get_current_revision();
+ $safecss_post = self::get_current_revision();
- $add_css = ( get_post_meta( $safecss_post['ID'], 'custom_css_add', true ) != 'no' );
+ $add_css = ( get_post_meta( $safecss_post['ID'], 'custom_css_add', true ) !== 'no' );
?>
<div class="misc-pub-section">
@@ -1202,13 +1392,15 @@ class Jetpack_Custom_CSS {
<p>
<label>
<input type="radio" name="add_to_existing_display" value="true" <?php checked( $add_css ); ?>/>
- <?php _e( 'Add-on CSS <b>(Recommended)</b>', 'jetpack' ); ?>
+ <?php echo wp_kses( __( 'Add-on CSS <b>(Recommended)</b>', 'jetpack' ), array( 'b' => array() ) ); ?>
</label>
<br />
<label>
<input type="radio" name="add_to_existing_display" value="false" <?php checked( ! $add_css ); ?>/>
- <?php printf(
- __( 'Replace <a href="%s">theme\'s CSS</a> <b>(Advanced)</b>', 'jetpack' ),
+ <?php
+ printf(
+ // translators: the theme's stylesheet URL.
+ wp_kses_post( __( 'Replace <a href="%s">theme\'s CSS</a> <b>(Advanced)</b>', 'jetpack' ) ),
/**
* Filter the theme's stylesheet URL.
*
@@ -1218,8 +1410,9 @@ class Jetpack_Custom_CSS {
*
* @param string $url Active theme's stylesheet URL. Default to get_stylesheet_uri().
*/
- apply_filters( 'safecss_theme_stylesheet_url', get_stylesheet_uri() )
- ); ?>
+ esc_url( apply_filters( 'safecss_theme_stylesheet_url', get_stylesheet_uri() ) )
+ );
+ ?>
</label>
</p>
<a class="save-css-mode hide-if-no-js button" href="#css-mode"><?php esc_html_e( 'OK', 'jetpack' ); ?></a>
@@ -1241,9 +1434,9 @@ class Jetpack_Custom_CSS {
</div>
</div>
<div id="major-publishing-actions">
- <input type="button" class="button" id="preview" name="preview" value="<?php esc_attr_e( 'Preview', 'jetpack' ) ?>" />
+ <input type="button" class="button" id="preview" name="preview" value="<?php esc_attr_e( 'Preview', 'jetpack' ); ?>" />
<div id="publishing-action">
- <input type="submit" class="button-primary" id="save" name="save" value="<?php ( Jetpack_Custom_CSS::is_freetrial() ) ? esc_attr_e( 'Save &amp; Buy Upgrade', 'jetpack' ) : esc_attr_e( 'Save Stylesheet', 'jetpack' ); ?>" />
+ <input type="submit" class="button-primary" id="save" name="save" value="<?php ( self::is_freetrial() ) ? esc_attr_e( 'Save &amp; Buy Upgrade', 'jetpack' ) : esc_attr_e( 'Save Stylesheet', 'jetpack' ); ?>" />
</div>
</div>
<?php
@@ -1254,7 +1447,7 @@ class Jetpack_Custom_CSS {
* Called by safecss_admin
*
* @global $post
- * @param array $safecss_post
+ * @param array $safecss_post - the safecss array.
* @uses wp_revisions_to_keep
* @uses WP_Query
* @uses wp_post_revision_title
@@ -1262,11 +1455,12 @@ class Jetpack_Custom_CSS {
* @uses add_query_arg
* @uses menu_page_url
* @uses wp_reset_query
- * @return string
+ *
+ * @todo can this be removed? The revision page seems to work via the customizer now.
*/
- static function revisions_meta_box( $safecss_post ) {
+ public static function revisions_meta_box( $safecss_post ) {
- $show_all_revisions = isset( $_GET['show_all_rev'] );
+ $show_all_revisions = isset( $_GET['show_all_rev'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- nothing on the site is changing
if ( function_exists( 'wp_revisions_to_keep' ) ) {
$max_revisions = wp_revisions_to_keep( (object) $safecss_post );
@@ -1276,62 +1470,71 @@ class Jetpack_Custom_CSS {
$posts_per_page = $show_all_revisions ? $max_revisions : 6;
- $revisions = new WP_Query( array(
- 'posts_per_page' => $posts_per_page,
- 'post_type' => 'revision',
- 'post_status' => 'inherit',
- 'post_parent' => $safecss_post['ID'],
- 'orderby' => 'date',
- 'order' => 'DESC'
- ) );
+ $revisions = new WP_Query(
+ array(
+ 'posts_per_page' => $posts_per_page,
+ 'post_type' => 'revision',
+ 'post_status' => 'inherit',
+ 'post_parent' => $safecss_post['ID'],
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ )
+ );
- if ( $revisions->have_posts() ) { ?>
- <ul class="post-revisions"><?php
+ if ( $revisions->have_posts() ) {
+ ?>
+ <ul class="post-revisions">
+ <?php
global $post;
while ( $revisions->have_posts() ) :
$revisions->the_post();
- ?><li>
+ ?>
+ <li>
<?php
- echo wp_post_revision_title( $post );
+ echo wp_post_revision_title( $post ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- if ( ! empty( $post->post_excerpt ) )
- echo ' (' . esc_html( $post->post_excerpt ) . ')';
+ if ( ! empty( $post->post_excerpt ) ) {
+ echo ' (' . esc_html( $post->post_excerpt ) . ')';
+ }
?>
- </li><?php
+ </li>
+ <?php
endwhile;
- ?></ul><?php
+ ?>
+ </ul>
+ <?php
- if ( $revisions->found_posts > 6 && !$show_all_revisions ) {
+ if ( $revisions->found_posts > 6 && ! $show_all_revisions ) {
?>
<br>
- <a href="<?php echo add_query_arg( 'show_all_rev', 'true', menu_page_url( 'editcss', false ) ); ?>"><?php esc_html_e( 'Show all', 'jetpack' ); ?></a>
+ <a href="<?php echo esc_url( add_query_arg( 'show_all_rev', 'true', menu_page_url( 'editcss', false ) ) ); ?>"><?php esc_html_e( 'Show all', 'jetpack' ); ?></a>
<?php
}
}
- wp_reset_query();
+ wp_reset_postdata();
}
/**
* Hook in init at priority 11 to disable custom CSS.
*/
- static function disable() {
+ public static function disable() {
remove_action( 'wp_head', array( 'Jetpack_Custom_CSS', 'link_tag' ), 101 );
- remove_filter( 'stylesheet_uri', array( 'Jetpack_Custom_CSS', 'style_filter' ) );
+ remove_filter( 'stylesheet_uri', array( 'Jetpack_Custom_CSS', 'style_filter' ) );
}
/**
* Reset all aspects of Custom CSS on a theme switch so that changing
* themes is a sure-fire way to get a clean start.
*/
- static function reset() {
- $safecss_post_id = Jetpack_Custom_CSS::save_revision( '' );
- $safecss_revision = Jetpack_Custom_CSS::get_current_revision();
+ public static function reset() {
+ $safecss_post_id = self::save_revision( '' );
+ $safecss_revision = self::get_current_revision();
update_option( 'safecss_rev', (int) get_option( 'safecss_rev' ) + 1 );
@@ -1349,38 +1552,53 @@ class Jetpack_Custom_CSS {
delete_option( 'safecss_preview_add' );
}
- static function is_customizer_preview() {
- if ( isset ( $GLOBALS['wp_customize'] ) )
+ /**
+ * Checks of we're in the customizer.
+ *
+ * @return bool
+ */
+ public static function is_customizer_preview() {
+ if ( isset( $GLOBALS['wp_customize'] ) ) {
return ! $GLOBALS['wp_customize']->is_theme_active();
+ }
return false;
}
- static function minify( $css, $preprocessor = '' ) {
- if ( ! $css )
+ /**
+ * Handle minifying CSS.
+ *
+ * @param string $css - the CSS.
+ * @param string $preprocessor - the preprocessor we want to use.
+ *
+ * @return string
+ */
+ public static function minify( $css, $preprocessor = '' ) {
+ if ( ! $css ) {
return '';
+ }
if ( $preprocessor ) {
/** This filter is documented in modules/custom-css/custom-css.php */
$preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );
- if ( isset( $preprocessors[$preprocessor] ) ) {
- $css = call_user_func( $preprocessors[$preprocessor]['callback'], $css );
+ if ( isset( $preprocessors[ $preprocessor ] ) ) {
+ $css = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css );
}
}
safecss_class();
- $csstidy = new csstidy();
+ $csstidy = new csstidy();
$csstidy->optimise = new safecss( $csstidy );
- $csstidy->set_cfg( 'remove_bslash', false );
- $csstidy->set_cfg( 'compress_colors', true );
- $csstidy->set_cfg( 'compress_font-weight', true );
- $csstidy->set_cfg( 'remove_last_;', true );
- $csstidy->set_cfg( 'case_properties', true );
+ $csstidy->set_cfg( 'remove_bslash', false );
+ $csstidy->set_cfg( 'compress_colors', true );
+ $csstidy->set_cfg( 'compress_font-weight', true );
+ $csstidy->set_cfg( 'remove_last_;', true );
+ $csstidy->set_cfg( 'case_properties', true );
$csstidy->set_cfg( 'discard_invalid_properties', true );
- $csstidy->set_cfg( 'css_level', 'CSS3.0' );
- $csstidy->set_cfg( 'template', 'highest');
+ $csstidy->set_cfg( 'css_level', 'CSS3.0' );
+ $csstidy->set_cfg( 'template', 'highest' );
$csstidy->parse( $css );
return $csstidy->print->plain();
@@ -1389,18 +1607,22 @@ class Jetpack_Custom_CSS {
/**
* When restoring a SafeCSS post revision, also copy over the
* content_width and custom_css_add post metadata.
+ *
+ * @param int $_post_id - the post ID.
+ * @param int $_revision_id - the revision ID.
*/
- static function restore_revision( $_post_id, $_revision_id ) {
+ public static function restore_revision( $_post_id, $_revision_id ) {
$_post = get_post( $_post_id );
- if ( 'safecss' != $_post->post_type )
+ if ( 'safecss' !== $_post->post_type ) {
return;
+ }
- $safecss_revision = Jetpack_Custom_CSS::get_current_revision();
+ $safecss_revision = self::get_current_revision();
- $content_width = get_post_meta( $_revision_id, 'content_width', true );
+ $content_width = get_post_meta( $_revision_id, 'content_width', true );
$custom_css_add = get_post_meta( $_revision_id, 'custom_css_add', true );
- $preprocessor = get_post_meta( $_revision_id, 'custom_css_preprocessor', true );
+ $preprocessor = get_post_meta( $_revision_id, 'custom_css_preprocessor', true );
update_metadata( 'post', $safecss_revision['ID'], 'content_width', $content_width );
update_metadata( 'post', $safecss_revision['ID'], 'custom_css_add', $custom_css_add );
@@ -1418,10 +1640,8 @@ class Jetpack_Custom_CSS {
/**
* Migration routine for moving safecss from wp_options to wp_posts to support revisions
- *
- * @return void
*/
- static function upgrade() {
+ public static function upgrade() {
$css = get_option( 'safecss' );
if ( get_option( 'safecss_revision_migrated' ) ) {
@@ -1433,17 +1653,18 @@ class Jetpack_Custom_CSS {
// Remove the async actions from publish_post
remove_action( 'publish_post', 'queue_publish_post' );
- $post = array();
+ $post = array();
$post['post_content'] = $css;
- $post['post_title'] = 'safecss';
- $post['post_status'] = 'publish';
- $post['post_type'] = 'safecss';
+ $post['post_title'] = 'safecss';
+ $post['post_status'] = 'publish';
+ $post['post_type'] = 'safecss';
// Insert the CSS into wp_posts
$post_id = wp_insert_post( $post );
// Check for errors
- if ( !$post_id or is_wp_error( $post_id ) )
- die( $post_id->get_error_message() );
+ if ( ! $post_id || is_wp_error( $post_id ) ) {
+ die( $post_id->get_error_message() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ }
// Delete safecss option
delete_option( 'safecss' );
@@ -1452,26 +1673,28 @@ class Jetpack_Custom_CSS {
unset( $css );
// Check if we have already done this
- if ( !get_option( 'safecss_revision_migrated' ) ) {
+ if ( ! get_option( 'safecss_revision_migrated' ) ) {
define( 'DOING_MIGRATE', true );
// Get hashes of safecss post and current revision
- $safecss_post = Jetpack_Custom_CSS::get_post();
+ $safecss_post = self::get_post();
- if ( empty( $safecss_post ) )
+ if ( empty( $safecss_post ) ) {
return;
+ }
$safecss_post_hash = md5( $safecss_post['post_content'] );
- $current_revision = Jetpack_Custom_CSS::get_current_revision();
+ $current_revision = self::get_current_revision();
- if ( null == $current_revision )
+ if ( null === $current_revision ) {
return;
+ }
$current_revision_hash = md5( $current_revision['post_content'] );
// If hashes are not equal, set safecss post with content from current revision
if ( $safecss_post_hash !== $current_revision_hash ) {
- Jetpack_Custom_CSS::save_revision( $current_revision['post_content'] );
+ self::save_revision( $current_revision['post_content'] );
// Reset post_content to display the migrated revsion
$safecss_post['post_content'] = $current_revision['post_content'];
}
@@ -1480,7 +1703,7 @@ class Jetpack_Custom_CSS {
update_option( 'safecss_revision_migrated', time() );
}
- $newest_safecss_post = Jetpack_Custom_CSS::get_current_revision();
+ $newest_safecss_post = self::get_current_revision();
if ( $newest_safecss_post ) {
if ( get_option( 'safecss_content_width' ) ) {
@@ -1503,7 +1726,7 @@ class Jetpack_Custom_CSS {
/**
* Adds a filter to the redirect location in `wp-admin/revisions.php`.
*/
- static function add_revision_redirect() {
+ public static function add_revision_redirect() {
add_filter( 'wp_redirect', array( __CLASS__, 'revision_redirect' ) );
}
@@ -1513,13 +1736,13 @@ class Jetpack_Custom_CSS {
* @param string $location The path to redirect to.
* @return string
*/
- static function revision_redirect( $location ) {
+ public static function revision_redirect( $location ) {
$post = get_post();
- if ( ! empty( $post->post_type ) && 'safecss' == $post->post_type ) {
+ if ( ! empty( $post->post_type ) && 'safecss' === $post->post_type ) {
$location = 'themes.php?page=editcss';
- if ( 'edit.php' == $location ) {
+ if ( 'edit.php' === $location ) {
$location = '';
}
}
@@ -1527,22 +1750,33 @@ class Jetpack_Custom_CSS {
return $location;
}
- static function revision_post_link( $post_link, $post_id, $context ) {
- if ( !$post_id = (int) $post_id ) {
+ /**
+ * The revision post link.
+ *
+ * @param string $post_link - the post link.
+ * @param int $post_id - the post ID.
+ * @param string $context - the context.
+ *
+ * @return string
+ */
+ public static function revision_post_link( $post_link, $post_id, $context ) {
+ $post_id = (int) $post_id;
+ if ( ! $post_id ) {
return $post_link;
}
- if ( !$post = get_post( $post_id ) ) {
+ $post = get_post( $post_id );
+ if ( ! $post ) {
return $post_link;
}
- if ( 'safecss' != $post->post_type ) {
+ if ( 'safecss' !== $post->post_type ) {
return $post_link;
}
$post_link = admin_url( 'themes.php?page=editcss' );
- if ( 'display' == $context ) {
+ if ( 'display' === $context ) {
return esc_url( $post_link );
}
@@ -1552,45 +1786,69 @@ class Jetpack_Custom_CSS {
/**
* When on the edit screen, make sure the custom content width
* setting is applied to the large image size.
+ *
+ * @param array $dims - the width and height dimensions.
+ * @param string $size - the size.
+ * @param string $context - the context in which we're applying dimensions.
+ *
+ * @return array
*/
- static function editor_max_image_size( $dims, $size = 'medium', $context = null ) {
+ public static function editor_max_image_size( $dims, $size = 'medium', $context = null ) {
list( $width, $height ) = $dims;
- if ( 'large' == $size && 'edit' == $context )
+ 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 - the content width in pixels.
+ *
+ * @return int
*/
- static function jetpack_content_width( $content_width ) {
+ public static function jetpack_content_width( $content_width ) {
$custom_content_width = 0;
- if ( Jetpack_Custom_CSS::is_preview() ) {
- $safecss_post = Jetpack_Custom_CSS::get_current_revision();
+ if ( self::is_preview() ) {
+ $safecss_post = self::get_current_revision();
$custom_content_width = (int) get_post_meta( $safecss_post['ID'], 'content_width', true );
- } else if ( ! Jetpack_Custom_CSS::is_freetrial() ) {
- $custom_css_post_id = Jetpack_Custom_CSS::post_id();
- if ( $custom_css_post_id )
+ } elseif ( ! self::is_freetrial() ) {
+ $custom_css_post_id = self::post_id();
+ if ( $custom_css_post_id ) {
$custom_content_width = (int) get_post_meta( $custom_css_post_id, 'content_width', true );
+ }
}
- if ( $custom_content_width > 0 )
+ if ( $custom_content_width > 0 ) {
$content_width = $custom_content_width;
+ }
return $content_width;
}
}
-class Jetpack_Safe_CSS {
- static function filter_attr( $css, $element = 'div' ) {
+/**
+ * The Safe CSS Class.
+ */
+class Jetpack_Safe_CSS { // phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound, Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
+ /**
+ * Filter attriburtes.
+ *
+ * @param string $css - the CSS.
+ * @param string $element - the HTML element.
+ *
+ * @return string
+ */
+ public static function filter_attr( $css, $element = 'div' ) {
safecss_class();
$css = $element . ' {' . $css . '}';
- $csstidy = new csstidy();
+ $csstidy = new csstidy();
$csstidy->optimise = new safecss( $csstidy );
$csstidy->set_cfg( 'remove_bslash', false );
$csstidy->set_cfg( 'compress_colors', false );
@@ -1610,66 +1868,87 @@ class Jetpack_Safe_CSS {
$css = $csstidy->print->plain();
- $css = str_replace( array( "\n","\r","\t" ), '', $css );
+ $css = str_replace( array( "\n", "\r", "\t" ), '', $css );
preg_match( "/^{$element}\s*{(.*)}\s*$/", $css, $matches );
- if ( empty( $matches[1] ) )
+ if ( empty( $matches[1] ) ) {
return '';
+ }
return $matches[1];
}
}
if ( ! function_exists( 'safecss_class' ) ) :
-function safecss_class() {
- // Wrapped so we don't need the parent class just to load the plugin
- if ( class_exists('safecss') )
- return;
-
- require_once( dirname( __FILE__ ) . '/csstidy/class.csstidy.php' );
+ /**
+ * Setup safecss class.
+ */
+ function safecss_class() {
+ // Wrapped so we don't need the parent class just to load the plugin
+ if ( class_exists( 'safecss' ) ) {
+ return;
+ }
- class safecss extends csstidy_optimise {
+ require_once __DIR__ . '/csstidy/class.csstidy.php';
- function postparse() {
+ /**
+ * Safe CSS Class.
+ */
+ class safecss extends csstidy_optimise { // phpcs:ignore
/**
- * Fires after parsing the css.
- *
- * @module custom-css
- *
- * @since 1.8.0
- *
- * @param obj $this CSSTidy object.
+ * Add action to fire after parsing CSS.
*/
- do_action( 'csstidy_optimize_postparse', $this );
+ public function postparse() { // phpcs:ignore MediaWiki.Usage.NestedFunctions.NestedFunction
- return parent::postparse();
- }
+ /**
+ * Fires after parsing the css.
+ *
+ * @module custom-css
+ *
+ * @since 1.8.0
+ *
+ * @param obj $this CSSTidy object.
+ */
+ do_action( 'csstidy_optimize_postparse', $this );
- function subvalue() {
+ return parent::postparse();
+ }
/**
- * Fires before optimizing the Custom CSS subvalue.
- *
- * @module custom-css
- *
- * @since 1.8.0
- *
- * @param obj $this CSSTidy object.
- **/
- do_action( 'csstidy_optimize_subvalue', $this );
+ * Handle subvalue action.
+ */
+ public function subvalue() { // phpcs:ignore MediaWiki.Usage.NestedFunctions.NestedFunction
+
+ /**
+ * Fires before optimizing the Custom CSS subvalue.
+ *
+ * @module custom-css
+ *
+ * @since 1.8.0
+ *
+ * @param obj $this CSSTidy object.
+ */
+ do_action( 'csstidy_optimize_subvalue', $this );
- return parent::subvalue();
+ return parent::subvalue();
+ }
}
}
-}
endif;
if ( ! function_exists( 'safecss_filter_attr' ) ) {
+
+ /**
+ * Filter safecss attriburtes.
+ *
+ * @param string $css - the CSS.
+ * @param string $element - the HTML element.
+ */
function safecss_filter_attr( $css, $element = 'div' ) {
return Jetpack_Safe_CSS::filter_attr( $css, $element );
}
}
-include_once dirname( __FILE__ ) . '/custom-css/preprocessors.php';
+require_once __DIR__ . '/custom-css/preprocessors.php';
diff --git a/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.css b/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.css
index 9d3bbc7b..a88da0ad 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.css
+++ b/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.css
@@ -1,40 +1,44 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
/* NOAUTORTL */
.rtl .CodeMirror {
- direction: rtl; /* code should always be written left to right */
+ direction: rtl;
+ /* code should always be written left to right */
}
+
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: 400px;
}
+
.CodeMirror-scroll {
/* Set scrolling behavior here */
overflow: auto;
}
/* PADDING */
-
.CodeMirror-lines {
- padding: 4px 0; /* Vertical padding around content */
+ padding: 4px 0;
+ /* Vertical padding around content */
}
+
.CodeMirror pre {
- padding: 0 4px; /* Horizontal padding of content */
+ padding: 0 4px;
+ /* Horizontal padding of content */
}
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
- background-color: white; /* The little square between H and V scrollbars */
+ background-color: white;
+ /* The little square between H and V scrollbars */
}
/* GUTTER */
-
.CodeMirror-gutters {
border-left: 1px solid #dcdcde;
background-color: #f6f7f7;
white-space: nowrap;
}
-.CodeMirror-linenumbers {}
+
.CodeMirror-linenumber {
padding: 0 5px 0 3px;
min-width: 20px;
@@ -43,69 +47,160 @@
}
/* CURSOR */
-
.CodeMirror div.CodeMirror-cursor {
border-right: 1px solid black;
z-index: 3;
}
+
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
border-right: 1px solid silver;
}
+
.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
width: auto;
border: 0;
background: #7e7;
z-index: 1;
}
-/* Can style cursor different in overwrite (non-insert) mode */
-.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {}
-.cm-tab { display: inline-block; }
+/* Can style cursor different in overwrite (non-insert) mode */
+.cm-tab {
+ display: inline-block;
+}
/* DEFAULT THEME */
+.cm-s-default .cm-keyword {
+ color: #708;
+}
-.cm-s-default .cm-keyword {color: #708;}
-.cm-s-default .cm-atom {color: #219;}
-.cm-s-default .cm-number {color: #164;}
-.cm-s-default .cm-def {color: #00f;}
-.cm-s-default .cm-variable {color: black;}
-.cm-s-default .cm-variable-2 {color: #05a;}
-.cm-s-default .cm-variable-3 {color: #085;}
-.cm-s-default .cm-property {color: black;}
-.cm-s-default .cm-operator {color: black;}
-.cm-s-default .cm-comment {color: #a50;}
-.cm-s-default .cm-string {color: #a11;}
-.cm-s-default .cm-string-2 {color: #f50;}
-.cm-s-default .cm-meta {color: #555;}
-.cm-s-default .cm-error {color: #f00;}
-.cm-s-default .cm-qualifier {color: #555;}
-.cm-s-default .cm-builtin {color: #30a;}
-.cm-s-default .cm-bracket {color: #997;}
-.cm-s-default .cm-tag {color: #170;}
-.cm-s-default .cm-attribute {color: #00c;}
-.cm-s-default .cm-header {color: blue;}
-.cm-s-default .cm-quote {color: #090;}
-.cm-s-default .cm-hr {color: #999;}
-.cm-s-default .cm-link {color: #00c;}
-
-.cm-negative {color: #d44;}
-.cm-positive {color: #292;}
-.cm-header, .cm-strong {font-weight: bold;}
-.cm-em {font-style: italic;}
-.cm-link {text-decoration: underline;}
-
-.cm-invalidchar {color: #f00;}
-
-div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
-div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
-.CodeMirror-activeline-background {background: #e8f2ff;}
+.cm-s-default .cm-atom {
+ color: #219;
+}
-/* STOP */
+.cm-s-default .cm-number {
+ color: #164;
+}
+
+.cm-s-default .cm-def {
+ color: #00f;
+}
+
+.cm-s-default .cm-variable {
+ color: black;
+}
+
+.cm-s-default .cm-variable-2 {
+ color: #05a;
+}
+
+.cm-s-default .cm-variable-3 {
+ color: #085;
+}
+
+.cm-s-default .cm-property {
+ color: black;
+}
+
+.cm-s-default .cm-operator {
+ color: black;
+}
+
+.cm-s-default .cm-comment {
+ color: #a50;
+}
+
+.cm-s-default .cm-string {
+ color: #a11;
+}
+
+.cm-s-default .cm-string-2 {
+ color: #f50;
+}
+
+.cm-s-default .cm-meta {
+ color: #555;
+}
+
+.cm-s-default .cm-error {
+ color: #f00;
+}
+
+.cm-s-default .cm-qualifier {
+ color: #555;
+}
+
+.cm-s-default .cm-builtin {
+ color: #30a;
+}
+
+.cm-s-default .cm-bracket {
+ color: #997;
+}
+
+.cm-s-default .cm-tag {
+ color: #170;
+}
+
+.cm-s-default .cm-attribute {
+ color: #00c;
+}
+.cm-s-default .cm-header {
+ color: blue;
+}
+
+.cm-s-default .cm-quote {
+ color: #090;
+}
+
+.cm-s-default .cm-hr {
+ color: #999;
+}
+
+.cm-s-default .cm-link {
+ color: #00c;
+}
+
+.cm-negative {
+ color: #d44;
+}
+
+.cm-positive {
+ color: #292;
+}
+
+.cm-header, .cm-strong {
+ font-weight: bold;
+}
+
+.cm-em {
+ font-style: italic;
+}
+
+.cm-link {
+ text-decoration: underline;
+}
+
+.cm-invalidchar {
+ color: #f00;
+}
+
+div.CodeMirror span.CodeMirror-matchingbracket {
+ color: #0f0;
+}
+
+div.CodeMirror span.CodeMirror-nonmatchingbracket {
+ color: #f22;
+}
+
+.CodeMirror-activeline-background {
+ background: #e8f2ff;
+}
+
+/* STOP */
/* The rest of this file contains styles related to the mechanics of
the editor. You probably shouldn't touch them. */
-
.CodeMirror {
line-height: 1;
position: relative;
@@ -117,12 +212,16 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror-scroll {
/* 30px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
- margin-bottom: -30px; margin-left: -30px;
- padding-bottom: 30px; padding-left: 30px;
+ margin-bottom: -30px;
+ margin-left: -30px;
+ padding-bottom: 30px;
+ padding-left: 30px;
height: 100%;
- outline: none; /* Prevent dragging from highlighting the element */
+ outline: none;
+ /* Prevent dragging from highlighting the element */
position: relative;
}
+
.CodeMirror-sizer {
position: relative;
}
@@ -135,28 +234,39 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
z-index: 6;
display: none;
}
+
.CodeMirror-vscrollbar {
- left: 0; top: 0;
+ left: 0;
+ top: 0;
overflow-x: hidden;
overflow-y: scroll;
}
+
.CodeMirror-hscrollbar {
- bottom: 0; right: 0;
+ bottom: 0;
+ right: 0;
overflow-y: hidden;
overflow-x: scroll;
}
+
.CodeMirror-scrollbar-filler {
- left: 0; bottom: 0;
+ left: 0;
+ bottom: 0;
}
+
.CodeMirror-gutter-filler {
- right: 0; bottom: 0;
+ right: 0;
+ bottom: 0;
}
.CodeMirror-gutters {
- position: absolute; right: 0; top: 0;
+ position: absolute;
+ right: 0;
+ top: 0;
padding-bottom: 30px;
z-index: 3;
}
+
.CodeMirror-gutter {
white-space: normal;
height: 100%;
@@ -164,9 +274,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
margin-bottom: -32px;
display: inline-block;
/* Hack to make IE7 behave */
- *zoom:1;
- *display:inline;
+ *zoom: 1;
+ *display: inline;
}
+
.CodeMirror-gutter-elt {
position: absolute;
cursor: default;
@@ -176,8 +287,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror-lines {
cursor: text;
}
+
.CodeMirror pre {
- /* Reset some styles that the rest of the page might have set */ border-radius: 0;
+ /* Reset some styles that the rest of the page might have set */
+ border-radius: 0;
border-width: 0;
background: transparent;
font-family: inherit;
@@ -191,23 +304,30 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
position: relative;
overflow: visible;
}
+
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
}
+
.CodeMirror-code pre {
border-left: 30px solid transparent;
width: -moz-fit-content;
width: fit-content;
}
+
.CodeMirror-wrap .CodeMirror-code pre {
border-left: none;
width: auto;
}
+
.CodeMirror-linebackground {
position: absolute;
- right: 0; left: 0; top: 0; bottom: 0;
+ right: 0;
+ left: 0;
+ top: 0;
+ bottom: 0;
z-index: 0;
}
@@ -217,20 +337,21 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
overflow: auto;
}
-.CodeMirror-widget {
-}
-
.CodeMirror-wrap .CodeMirror-scroll {
overflow-x: hidden;
}
.CodeMirror-measure {
position: absolute;
- width: 100%; height: 0px;
+ width: 100%;
+ height: 0px;
overflow: hidden;
visibility: hidden;
}
-.CodeMirror-measure pre { position: static; }
+
+.CodeMirror-measure pre {
+ position: static;
+}
.CodeMirror div.CodeMirror-cursor {
position: absolute;
@@ -238,20 +359,28 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
border-left: none;
width: 0;
}
+
.CodeMirror-focused div.CodeMirror-cursor {
visibility: visible;
}
-.CodeMirror-selected { background: #d9d9d9; }
-.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
+.CodeMirror-selected {
+ background: #d9d9d9;
+}
+
+.CodeMirror-focused .CodeMirror-selected {
+ background: #d7d4f0;
+}
.cm-searching {
background: #ffa;
- background: rgba(255, 255, 0, .4);
+ background: rgba(255, 255, 0, 0.4);
}
/* IE7 hack to prevent it from returning funny offsetTops on the spans */
-.CodeMirror span { *vertical-align: text-bottom; }
+.CodeMirror span {
+ *vertical-align: text-bottom;
+}
@media print {
/* Hide the cursor when printing */
diff --git a/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.min.css b/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.min.css
index 2a42c1c6..ea4ffc54 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.min.css
+++ b/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.min.css
@@ -1 +1 @@
-.rtl .CodeMirror{direction:rtl}.CodeMirror{font-family:monospace;height:400px}.CodeMirror-scroll{overflow:auto}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-left:1px solid #dcdcde;background-color:#f6f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 5px 0 3px;min-width:20px;text-align:left;color:#999}.CodeMirror div.CodeMirror-cursor{border-right:1px solid #000;z-index:3}.CodeMirror div.CodeMirror-secondarycursor{border-right:1px solid silver}.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor{width:auto;border:0;background:#7e7;z-index:1}.cm-tab{display:inline-block}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable{color:#000}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-property{color:#000}.cm-s-default .cm-operator{color:#000}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta{color:#555}.cm-s-default .cm-error{color:red}.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-invalidchar{color:red}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{line-height:1;position:relative;overflow:hidden;background:#fff;color:#000}.CodeMirror-scroll{margin-bottom:-30px;margin-left:-30px;padding-bottom:30px;padding-left:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{left:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;right:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{left:0;bottom:0}.CodeMirror-gutter-filler{right:0;bottom:0}.CodeMirror-gutters{position:absolute;right:0;top:0;padding-bottom:30px;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;padding-bottom:30px;margin-bottom:-32px;display:inline-block}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text}.CodeMirror pre{border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-code pre{border-left:30px solid transparent;width:-moz-fit-content;width:fit-content}.CodeMirror-wrap .CodeMirror-code pre{border-left:none;width:auto}.CodeMirror-linebackground{position:absolute;right:0;left:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-wrap .CodeMirror-scroll{overflow-x:hidden}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-measure pre{position:static}.CodeMirror div.CodeMirror-cursor{position:absolute;visibility:hidden;border-left:none;width:0}.CodeMirror-focused div.CodeMirror-cursor{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}@media print{.CodeMirror div.CodeMirror-cursor{visibility:hidden}} \ No newline at end of file
+.rtl .CodeMirror{direction:rtl}.CodeMirror{font-family:monospace;height:400px}.CodeMirror-scroll{overflow:auto}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f6f7f7;border-left:1px solid #dcdcde;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 5px 0 3px;text-align:left}.CodeMirror div.CodeMirror-cursor{border-right:1px solid #000;z-index:3}.CodeMirror div.CodeMirror-secondarycursor{border-right:1px solid silver}.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor{background:#7e7;border:0;width:auto;z-index:1}.cm-tab{display:inline-block}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable{color:#000}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-operator,.cm-s-default .cm-property{color:#000}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta{color:#555}.cm-s-default .cm-error{color:red}.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-invalidchar{color:red}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;color:#000;line-height:1;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-30px;margin-left:-30px;outline:none;padding-bottom:30px;padding-left:30px;position:relative}.CodeMirror-sizer{position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{left:0;overflow-x:hidden;overflow-y:scroll;top:0}.CodeMirror-hscrollbar{bottom:0;overflow-x:scroll;overflow-y:hidden;right:0}.CodeMirror-scrollbar-filler{bottom:0;left:0}.CodeMirror-gutter-filler{bottom:0;right:0}.CodeMirror-gutters{padding-bottom:30px;position:absolute;right:0;top:0;z-index:3}.CodeMirror-gutter{*zoom:1;display:inline-block;*display:inline;height:100%;margin-bottom:-32px;padding-bottom:30px;white-space:normal}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-lines{cursor:text}.CodeMirror pre{word-wrap:normal;background:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;z-index:2}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-code pre{border-left:30px solid transparent;width:-moz-fit-content;width:fit-content}.CodeMirror-wrap .CodeMirror-code pre{border-left:none;width:auto}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{overflow:auto;position:relative;z-index:2}.CodeMirror-wrap .CodeMirror-scroll{overflow-x:hidden}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-measure pre{position:static}.CodeMirror div.CodeMirror-cursor{border-left:none;position:absolute;visibility:hidden;width:0}.CodeMirror-focused div.CodeMirror-cursor{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.CodeMirror span{*vertical-align:text-bottom}@media print{.CodeMirror div.CodeMirror-cursor{visibility:hidden}} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-css/custom-css/css/codemirror.min.css b/plugins/jetpack/modules/custom-css/custom-css/css/codemirror.min.css
index d2c39eef..097c7c6c 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/css/codemirror.min.css
+++ b/plugins/jetpack/modules/custom-css/custom-css/css/codemirror.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.rtl .CodeMirror{direction:ltr}.CodeMirror{font-family:monospace;height:400px}.CodeMirror-scroll{overflow:auto}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #dcdcde;background-color:#f6f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999}.CodeMirror div.CodeMirror-cursor{border-left:1px solid #000;z-index:3}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor{width:auto;border:0;background:#7e7;z-index:1}.cm-tab{display:inline-block}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable{color:#000}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-property{color:#000}.cm-s-default .cm-operator{color:#000}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta{color:#555}.cm-s-default .cm-error{color:red}.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-invalidchar{color:red}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{line-height:1;position:relative;overflow:hidden;background:#fff;color:#000}.CodeMirror-scroll{margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;padding-right:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;padding-bottom:30px;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;padding-bottom:30px;margin-bottom:-32px;display:inline-block}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text}.CodeMirror pre{border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-code pre{border-right:30px solid transparent;width:-moz-fit-content;width:fit-content}.CodeMirror-wrap .CodeMirror-code pre{border-right:none;width:auto}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-wrap .CodeMirror-scroll{overflow-x:hidden}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-measure pre{position:static}.CodeMirror div.CodeMirror-cursor{position:absolute;visibility:hidden;border-right:none;width:0}.CodeMirror-focused div.CodeMirror-cursor{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}@media print{.CodeMirror div.CodeMirror-cursor{visibility:hidden}} \ No newline at end of file
+.rtl .CodeMirror{direction:ltr}.CodeMirror{font-family:monospace;height:400px}.CodeMirror-scroll{overflow:auto}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f6f7f7;border-right:1px solid #dcdcde;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right}.CodeMirror div.CodeMirror-cursor{border-left:1px solid #000;z-index:3}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor{background:#7e7;border:0;width:auto;z-index:1}.cm-tab{display:inline-block}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable{color:#000}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-operator,.cm-s-default .cm-property{color:#000}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta{color:#555}.cm-s-default .cm-error{color:red}.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-invalidchar{color:red}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;color:#000;line-height:1;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-30px;margin-right:-30px;outline:none;padding-bottom:30px;padding-right:30px;position:relative}.CodeMirror-sizer{position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{left:0;padding-bottom:30px;position:absolute;top:0;z-index:3}.CodeMirror-gutter{*zoom:1;display:inline-block;*display:inline;height:100%;margin-bottom:-32px;padding-bottom:30px;white-space:normal}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-lines{cursor:text}.CodeMirror pre{word-wrap:normal;background:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;z-index:2}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-code pre{border-right:30px solid transparent;width:-moz-fit-content;width:fit-content}.CodeMirror-wrap .CodeMirror-code pre{border-right:none;width:auto}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{overflow:auto;position:relative;z-index:2}.CodeMirror-wrap .CodeMirror-scroll{overflow-x:hidden}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-measure pre{position:static}.CodeMirror div.CodeMirror-cursor{border-right:none;position:absolute;visibility:hidden;width:0}.CodeMirror-focused div.CodeMirror-cursor{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.CodeMirror span{*vertical-align:text-bottom}@media print{.CodeMirror div.CodeMirror-cursor{visibility:hidden}} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-css/custom-css/css/css-editor-rtl.css b/plugins/jetpack/modules/custom-css/custom-css/css/css-editor-rtl.css
index a8202fb2..fb9b95b9 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/css/css-editor-rtl.css
+++ b/plugins/jetpack/modules/custom-css/custom-css/css/css-editor-rtl.css
@@ -1,33 +1,32 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
#revision-field-post_title, #revision-field-post_excerpt {
- display: none;
+ display: none;
}
#safecssform {
- position: relative;
+ position: relative;
}
#poststuff {
- padding-top: 0;
+ padding-top: 0;
}
#safecss {
- min-height: 250px;
- width: 100%;
+ min-height: 250px;
+ width: 100%;
}
.misc-pub-section > span {
- font-weight: bold;
+ font-weight: bold;
}
.misc-pub-section > div {
- margin-top: 3px;
+ margin-top: 3px;
}
+
#safecss-ace .ace_gutter {
- z-index: 1;
+ z-index: 1;
}
-#post-body-content{
- margin-bottom: 20px;
+#post-body-content {
+ margin-bottom: 20px;
}
-
diff --git a/plugins/jetpack/modules/custom-css/custom-css/css/css-editor.min.css b/plugins/jetpack/modules/custom-css/custom-css/css/css-editor.min.css
index 6245c019..62eb4809 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/css/css-editor.min.css
+++ b/plugins/jetpack/modules/custom-css/custom-css/css/css-editor.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
#revision-field-post_excerpt,#revision-field-post_title{display:none}#safecssform{position:relative}#poststuff{padding-top:0}#safecss{min-height:250px;width:100%}.misc-pub-section>span{font-weight:700}.misc-pub-section>div{margin-top:3px}#safecss-ace .ace_gutter{z-index:1}#post-body-content{margin-bottom:20px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror-rtl.css b/plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror-rtl.css
index 649fb168..77af38b5 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror-rtl.css
+++ b/plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror-rtl.css
@@ -1,7 +1,6 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
.CodeMirror, #safecss {
- font-family: Consolas, Monaco, monospace;
- font-size: 12px;
- line-height: 16px;
- min-height: 300px;
-} \ No newline at end of file
+ font-family: Consolas, Monaco, monospace;
+ font-size: 12px;
+ line-height: 16px;
+ min-height: 300px;
+}
diff --git a/plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror.min.css b/plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror.min.css
index 024ae478..8dce7dda 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror.min.css
+++ b/plugins/jetpack/modules/custom-css/custom-css/css/use-codemirror.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
#safecss,.CodeMirror{font-family:Consolas,Monaco,monospace;font-size:12px;line-height:16px;min-height:300px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-css/custom-css/preprocessors.php b/plugins/jetpack/modules/custom-css/custom-css/preprocessors.php
index 7d561b3d..6cea6b06 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/preprocessors.php
+++ b/plugins/jetpack/modules/custom-css/custom-css/preprocessors.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* CSS preprocessor registration.
@@ -15,16 +15,15 @@
* @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'
+ 'name' => 'LESS',
+ 'callback' => 'jetpack_less_css_preprocess',
);
$preprocessors['sass'] = array(
- 'name' => 'Sass (SCSS Syntax)',
- 'callback' => 'jetpack_sass_css_preprocess'
+ 'name' => 'Sass (SCSS Syntax)',
+ 'callback' => 'jetpack_sass_css_preprocess',
);
return $preprocessors;
@@ -32,8 +31,13 @@ function jetpack_register_css_preprocessors( $preprocessors ) {
add_filter( 'jetpack_custom_css_preprocessors', 'jetpack_register_css_preprocessors' );
+/**
+ * Compile less prepocessors?
+ *
+ * @param string $less - less.
+ */
function jetpack_less_css_preprocess( $less ) {
- require_once( dirname( __FILE__ ) . '/preprocessors/lessc.inc.php' );
+ require_once __DIR__ . '/preprocessors/lessc.inc.php';
$compiler = new lessc();
@@ -44,8 +48,13 @@ function jetpack_less_css_preprocess( $less ) {
}
}
+/**
+ * Compile sass prepocessors?
+ *
+ * @param string $sass - sass.
+ */
function jetpack_sass_css_preprocess( $sass ) {
- require_once( dirname( __FILE__ ) . '/preprocessors/scss.inc.php' );
+ require_once __DIR__ . '/preprocessors/scss.inc.php';
$compiler = new scssc();
$compiler->setFormatter( 'scss_formatter' );
@@ -55,4 +64,4 @@ function jetpack_sass_css_preprocess( $sass ) {
} catch ( Exception $e ) {
return $sass;
}
-} \ No newline at end of file
+}
diff --git a/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php b/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php
index 4bdd2766..ce0a4e48 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php
+++ b/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php
@@ -1,5 +1,4 @@
-<?php
-
+<?php // phpcs:disable -- Copy-pasted library. Not reformatting to facilitate identification of actual changes.
/**
* lessphp v0.5.0
* https://leafo.net/lessphp
diff --git a/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php b/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php
index d057c0ee..69b2fa84 100644
--- a/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php
+++ b/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:disable -- Copy-pasted library. Not reformatting to facilitate identification of actual changes.
/**
* SCSS compiler written in PHP
*
@@ -1631,7 +1631,7 @@ class scssc {
foreach ($args as $arg) {
list($key, $value) = $arg;
- $key = $key[1];
+ $key = isset( $key[1] ) ? $key[1] : null;
if (empty($key)) {
$posArgs[] = $value;
} else {
diff --git a/plugins/jetpack/modules/custom-css/migrate-to-core.php b/plugins/jetpack/modules/custom-css/migrate-to-core.php
index d26092b4..c902dc2a 100644
--- a/plugins/jetpack/modules/custom-css/migrate-to-core.php
+++ b/plugins/jetpack/modules/custom-css/migrate-to-core.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Migration from Jetpack Custom CSS to WordPress' Core CSS.
*
@@ -18,7 +18,7 @@ class Jetpack_Custom_CSS_Data_Migration {
add_action( 'init', array( __CLASS__, 'register_legacy_post_type' ) );
add_action( 'admin_init', array( __CLASS__, 'do_migration' ) );
- include_once( dirname( __FILE__ ) . '/custom-css.php' );
+ include_once __DIR__ . '/custom-css.php';
if ( ! is_admin() ) {
add_action( 'init', array( 'Jetpack_Custom_CSS', 'init' ) );
}
@@ -38,15 +38,15 @@ class Jetpack_Custom_CSS_Data_Migration {
}
/** This filter is documented in modules/custom-css/custom-css.php */
- $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );
- $core_css_post = wp_get_custom_css_post();
- $jetpack_css_post = self::get_post();
+ $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );
+ $core_css_post = wp_get_custom_css_post();
+ $jetpack_css_post = self::get_post();
if ( ! $jetpack_css_post ) {
return;
}
- $revisions = self::get_all_revisions();
+ $revisions = self::get_all_revisions();
// Migrate the settings from revision meta to theme mod.
$options = self::get_options( $jetpack_css_post->ID );
@@ -63,11 +63,11 @@ class Jetpack_Custom_CSS_Data_Migration {
return null;
}
- $revisions = array_reverse( $revisions );
- $themes = Jetpack_Custom_CSS_Enhancements::get_themes();
- $migrated = array();
+ $revisions = array_reverse( $revisions );
+ $themes = Jetpack_Custom_CSS_Enhancements::get_themes();
+ $migrated = array();
- foreach ( $revisions as $post_id => $post ) {
+ foreach ( $revisions as $post ) {
// Jetpack had stored the theme Name, not the stylesheet directory, for ... reasons.
// Get the stylesheet. If null, the theme is no longer available. Skip.
$stylesheet = isset( $themes[ $post->post_excerpt ] ) ? $themes[ $post->post_excerpt ] : null;
@@ -75,10 +75,10 @@ class Jetpack_Custom_CSS_Data_Migration {
continue;
}
- $migrated[] = $post->ID;
+ $migrated[] = $post->ID;
$preprocessor = get_post_meta( $post->ID, 'custom_css_preprocessor', true );
- $css = $post->post_content;
- $pre = '';
+ $css = $post->post_content;
+ $pre = '';
// Do a revision by revision parsing.
if ( $preprocessor && isset( $preprocessors[ $preprocessor ] ) ) {
@@ -87,10 +87,13 @@ class Jetpack_Custom_CSS_Data_Migration {
}
kses_remove_filters();
- wp_update_custom_css_post( $css, array(
- 'stylesheet' => $stylesheet,
- 'preprocessed' => $pre,
- ) );
+ wp_update_custom_css_post(
+ $css,
+ array(
+ 'stylesheet' => $stylesheet,
+ 'preprocessed' => $pre,
+ )
+ );
kses_init();
}
@@ -113,9 +116,12 @@ class Jetpack_Custom_CSS_Data_Migration {
$css .= $jetpack_css_post->post_content;
}
- wp_update_custom_css_post( $css, array(
- 'preprocessed' => $pre,
- ) );
+ wp_update_custom_css_post(
+ $css,
+ array(
+ 'preprocessed' => $pre,
+ )
+ );
}
Jetpack::log( 'custom_css_4.7_migration', count( $migrated ) . 'revisions migrated' );
@@ -131,21 +137,24 @@ class Jetpack_Custom_CSS_Data_Migration {
}
// Register safecss as a custom post_type
// Explicit capability definitions are largely unnecessary because the posts are manipulated in code via an options page, managing CSS revisions does check the capabilities, so let's ensure that the proper caps are checked.
- register_post_type( 'safecss', array(
- 'label' => 'Custom CSS',
- 'supports' => array( 'revisions' ),
- 'can_export' => false,
- 'rewrite' => false,
- 'capabilities' => array(
- 'edit_post' => 'edit_theme_options',
- 'read_post' => 'read',
- 'delete_post' => 'edit_theme_options',
- 'edit_posts' => 'edit_theme_options',
- 'edit_others_posts' => 'edit_theme_options',
- 'publish_posts' => 'edit_theme_options',
- 'read_private_posts' => 'read',
- ),
- ) );
+ register_post_type(
+ 'safecss',
+ array(
+ 'label' => 'Custom CSS',
+ 'supports' => array( 'revisions' ),
+ 'can_export' => false,
+ 'rewrite' => false,
+ 'capabilities' => array(
+ 'edit_post' => 'edit_theme_options',
+ 'read_post' => 'read',
+ 'delete_post' => 'edit_theme_options',
+ 'edit_posts' => 'edit_theme_options',
+ 'edit_others_posts' => 'edit_theme_options',
+ 'publish_posts' => 'edit_theme_options',
+ 'read_private_posts' => 'read',
+ ),
+ )
+ );
}
/**
@@ -158,20 +167,22 @@ class Jetpack_Custom_CSS_Data_Migration {
public static function get_post() {
/** This filter is documented in modules/custom-css/custom-css.php */
$custom_css_post_id = apply_filters( 'jetpack_custom_css_pre_post_id', null );
- if ( ! is_null( $custom_css_post_id ) ) {
+ if ( $custom_css_post_id !== null ) {
return get_post( $custom_css_post_id );
}
$custom_css_post_id = wp_cache_get( 'custom_css_post_id' );
if ( false === $custom_css_post_id ) {
- $custom_css_posts = get_posts( array(
- 'posts_per_page' => 1,
- 'post_type' => 'safecss',
- 'post_status' => 'publish',
- 'orderby' => 'date',
- 'order' => 'DESC',
- ) );
+ $custom_css_posts = get_posts(
+ array(
+ 'posts_per_page' => 1,
+ 'post_type' => 'safecss',
+ 'post_status' => 'publish',
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ )
+ );
$custom_css_post_id = 0;
if ( count( $custom_css_posts ) > 0 ) {
@@ -201,11 +212,14 @@ class Jetpack_Custom_CSS_Data_Migration {
return array();
}
- $revisions = wp_get_post_revisions( $post->ID, array(
- 'posts_per_page' => -1,
- 'orderby' => 'date',
- 'order' => 'DESC',
- ) );
+ $revisions = wp_get_post_revisions(
+ $post->ID,
+ array(
+ 'posts_per_page' => -1,
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ )
+ );
return $revisions;
}
@@ -221,7 +235,7 @@ class Jetpack_Custom_CSS_Data_Migration {
*/
public static function get_options( $post_id = null ) {
if ( empty( $post_id ) ) {
- $post = self::get_post();
+ $post = self::get_post();
$post_id = $post->ID;
}
@@ -235,7 +249,7 @@ class Jetpack_Custom_CSS_Data_Migration {
return array(
'preprocessor' => isset( $meta['custom_css_preprocessor'][0] ) ? $meta['custom_css_preprocessor'][0] : '',
'replace' => $replace,
- 'content_width' => isset( $meta['content_width'][0] ) ? $meta['content_width'][0] : '',
+ 'content_width' => isset( $meta['content_width'][0] ) ? $meta['content_width'][0] : '',
);
}
}
diff --git a/plugins/jetpack/modules/custom-post-types/comics.php b/plugins/jetpack/modules/custom-post-types/comics.php
index fdbf62b7..7357c523 100644
--- a/plugins/jetpack/modules/custom-post-types/comics.php
+++ b/plugins/jetpack/modules/custom-post-types/comics.php
@@ -1,15 +1,29 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Create and manage comics with this Custom Post Type.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
+/**
+ * Create a jetpack-comic CPT.
+ */
class Jetpack_Comic {
const POST_TYPE = 'jetpack-comic';
- static function init() {
+ /**
+ * Initialize the class.
+ *
+ * @return self
+ */
+ public static function init() {
static $instance = false;
- if ( ! $instance )
+ if ( ! $instance ) {
$instance = new Jetpack_Comic();
+ }
return $instance;
}
@@ -23,7 +37,7 @@ class Jetpack_Comic {
* If no theme support is found there is no need to hook into
* WordPress. We'll just return early instead.
*/
- function __construct() {
+ public function __construct() {
// Make sure the post types are loaded for imports
add_action( 'import_start', array( $this, 'register_post_types' ) );
@@ -34,8 +48,9 @@ class Jetpack_Comic {
add_action( 'restapi_theme_init', array( $this, 'maybe_register_post_types' ) );
// Return early if theme does not support Jetpack Comic.
- if ( ! ( $this->site_supports_comics() ) )
+ if ( ! ( $this->site_supports_comics() ) ) {
return;
+ }
$this->register_post_types();
@@ -78,22 +93,27 @@ class Jetpack_Comic {
add_action( 'admin_notices', array( $this, 'bulk_edit_notices' ) );
}
+ /**
+ * Enqueue JavaScript in the footer.
+ *
+ * @return void
+ */
public function admin_footer() {
$post_type = get_post_type();
?>
<script type="text/javascript">
jQuery( document ).ready( function( $ ) {
- <?php if ( ! $post_type || 'post' == $post_type ) { ?>
+ <?php if ( ! $post_type || 'post' === $post_type ) { ?>
$( '<option>' )
.val( 'post2comic' )
- .text( <?php echo json_encode( __( 'Convert to Comic', 'jetpack' ) ); ?> )
+ .text( <?php echo wp_json_encode( __( 'Convert to Comic', 'jetpack' ) ); ?> )
.appendTo( "select[name='action'], select[name='action2']" );
<?php } ?>
- <?php if ( ! $post_type || self::POST_TYPE == $post_type ) { ?>
+ <?php if ( ! $post_type || self::POST_TYPE === $post_type ) { ?>
$( '<option>' )
.val( 'comic2post' )
- .text( <?php echo json_encode( __( 'Convert to Post', 'jetpack' ) ); ?> )
+ .text( <?php echo wp_json_encode( __( 'Convert to Post', 'jetpack' ) ); ?> )
.appendTo( "select[name='action'], select[name='action2']" );
<?php } ?>
@@ -105,34 +125,38 @@ class Jetpack_Comic {
/**
* Handle the "Convert to [Post|Comic]" bulk action.
+ *
+ * @return void
*/
public function bulk_edit() {
- if ( empty( $_REQUEST['post'] ) )
+ if ( empty( $_REQUEST['post'] ) ) {
return;
+ }
$wp_list_table = _get_list_table( 'WP_Posts_List_Table' );
- $action = $wp_list_table->current_action();
+ $action = $wp_list_table->current_action();
check_admin_referer( 'bulk-posts' );
- if ( 'post2comic' == $action || 'comic2post' == $action ) {
- if ( ! current_user_can( 'publish_posts' ) )
- wp_die( __( 'You are not allowed to make this change.', 'jetpack' ) );
+ if ( 'post2comic' === $action || 'comic2post' === $action ) {
+ if ( ! current_user_can( 'publish_posts' ) ) {
+ wp_die( esc_html__( 'You are not allowed to make this change.', 'jetpack' ) );
+ }
$post_ids = array_map( 'intval', $_REQUEST['post'] );
$modified_count = 0;
foreach ( $post_ids as $post_id ) {
- $destination_post_type = ( $action == 'post2comic' ) ? self::POST_TYPE : 'post';
- $origin_post_type = ( $destination_post_type == 'post' ) ? self::POST_TYPE : 'post';
+ $destination_post_type = ( $action === 'post2comic' ) ? self::POST_TYPE : 'post';
+ $origin_post_type = ( $destination_post_type === 'post' ) ? self::POST_TYPE : 'post';
if ( current_user_can( 'edit_post', $post_id ) ) {
$post = get_post( $post_id );
// Only convert posts that are post => comic or comic => post.
// (e.g., Ignore comic => comic, page => post, etc. )
- if ( $post->post_type != $destination_post_type && $post->post_type == $origin_post_type ) {
+ if ( $post->post_type !== $destination_post_type && $post->post_type === $origin_post_type ) {
$post_type_object = get_post_type_object( $destination_post_type );
if ( current_user_can( $post_type_object->cap->publish_posts ) ) {
@@ -145,11 +169,20 @@ class Jetpack_Comic {
$sendback = remove_query_arg( array( 'exported', 'untrashed', 'deleted', 'ids' ), wp_get_referer() );
- if ( ! $sendback )
+ if ( ! $sendback ) {
$sendback = add_query_arg( array( 'post_type', get_post_type() ), admin_url( 'edit.php' ) );
+ }
- $pagenum = $wp_list_table->get_pagenum();
- $sendback = add_query_arg( array( 'paged' => $pagenum, 'post_type_changed' => $modified_count ), $sendback );
+ $pagenum = $wp_list_table->get_pagenum();
+ $bulk_edit_comics_nonce = wp_create_nonce( 'bulk-edit-comics-nonce' );
+ $sendback = add_query_arg(
+ array(
+ 'paged' => $pagenum,
+ 'post_type_changed' => $modified_count,
+ 'bulk_edit_comics_nonce' => $bulk_edit_comics_nonce,
+ ),
+ $sendback
+ );
wp_safe_redirect( $sendback );
exit();
@@ -158,17 +191,45 @@ class Jetpack_Comic {
/**
* Show the post conversion success notice.
+ *
+ * @return void
*/
public function bulk_edit_notices() {
global $pagenow;
- if ( 'edit.php' == $pagenow && ! empty( $_GET['post_type_changed'] ) ) {
- ?><div id="message" class="updated below-h2 jetpack-comic-post-type-conversion" style="display: none;"><p><?php
- printf( _n( 'Post converted.', '%s posts converted', $_GET['post_type_changed'], 'jetpack' ), number_format_i18n( $_GET['post_type_changed'] ) );
- ?></p></div><?php
+ if (
+ empty( $_GET['bulk_edit_comics_nonce'] )
+ || ! wp_verify_nonce( sanitize_key( $_GET['bulk_edit_comics_nonce'] ), 'bulk-edit-comics-nonce' )
+ ) {
+ return;
+ }
+
+ $number_posts_changed = isset( $_GET['post_type_changed'] )
+ ? (int) $_GET['post_type_changed']
+ : 0;
+
+ if ( 'edit.php' === $pagenow && $number_posts_changed ) {
+ ?>
+ <div id="message" class="updated below-h2 jetpack-comic-post-type-conversion" style="display: none;"><p>
+ <?php
+ echo esc_html(
+ sprintf(
+ /* Translators: placeholder is a number. */
+ _n( '%s post converted.', '%s posts converted', (int) $number_posts_changed, 'jetpack' ),
+ number_format_i18n( $number_posts_changed )
+ )
+ );
+ ?>
+ </p></div>
+ <?php
}
}
+ /**
+ * Enqueue scripts and styles.
+ *
+ * @return void
+ */
public function register_scripts() {
wp_enqueue_style( 'jetpack-comics-style', plugins_url( 'comics/comics.css', __FILE__ ), array(), JETPACK__VERSION );
wp_style_add_data( 'jetpack-comics-style', 'rtl', 'replace' );
@@ -203,70 +264,89 @@ class Jetpack_Comic {
}
}
+ /**
+ * Enqueue stylesheet in the admin.
+ */
public function admin_enqueue_scripts() {
- wp_enqueue_style( 'jetpack-comics-admin', plugins_url( 'comics/admin.css', __FILE__ ) );
+ wp_enqueue_style( 'jetpack-comics-admin', plugins_url( 'comics/admin.css', __FILE__ ), array(), JETPACK__VERSION );
}
+ /**
+ * Register the post types if the theme supports them.
+ */
public function maybe_register_post_types() {
// Return early if theme does not support Jetpack Comic.
- if ( ! ( $this->site_supports_comics() ) )
+ if ( ! ( $this->site_supports_comics() ) ) {
return;
+ }
$this->register_post_types();
}
- function register_post_types() {
+ /**
+ * Register our CPT.
+ */
+ public function register_post_types() {
if ( post_type_exists( self::POST_TYPE ) ) {
return;
}
- register_post_type( self::POST_TYPE, array(
- 'description' => __( 'Comics', 'jetpack' ),
- 'labels' => array(
- 'name' => esc_html__( 'Comics', 'jetpack' ),
- 'singular_name' => esc_html__( 'Comic', 'jetpack' ),
- 'menu_name' => esc_html__( 'Comics', 'jetpack' ),
- 'all_items' => esc_html__( 'All Comics', 'jetpack' ),
- 'add_new' => esc_html__( 'Add New', 'jetpack' ),
- 'add_new_item' => esc_html__( 'Add New Comic', 'jetpack' ),
- 'edit_item' => esc_html__( 'Edit Comic', 'jetpack' ),
- 'new_item' => esc_html__( 'New Comic', 'jetpack' ),
- 'view_item' => esc_html__( 'View Comic', 'jetpack' ),
- 'search_items' => esc_html__( 'Search Comics', 'jetpack' ),
- 'not_found' => esc_html__( 'No Comics found', 'jetpack' ),
- 'not_found_in_trash' => esc_html__( 'No Comics found in Trash', 'jetpack' ),
- 'filter_items_list' => esc_html__( 'Filter comics list', 'jetpack' ),
- 'items_list_navigation' => esc_html__( 'Comics list navigation', 'jetpack' ),
- 'items_list' => esc_html__( 'Comics list', 'jetpack' ),
- ),
- 'supports' => array(
- 'title',
- 'editor',
- 'thumbnail',
- 'comments',
- 'revisions',
- 'publicize', // Jetpack
- 'subscriptions', // wpcom
- 'shortlinks', // Jetpack
- ),
- 'rewrite' => array(
- 'slug' => 'comic',
- 'with_front' => false,
- ),
- 'taxonomies' => array(
- 'category',
- 'post_tag',
- ),
- // Only make the type public for sites that support Comics.
- 'public' => true,
- 'menu_position' => 5, // below Posts
- 'map_meta_cap' => true,
- 'has_archive' => true,
- 'query_var' => 'comic',
- 'show_in_rest' => true,
- ) );
+ register_post_type(
+ self::POST_TYPE,
+ array(
+ 'description' => __( 'Comics', 'jetpack' ),
+ 'labels' => array(
+ 'name' => esc_html__( 'Comics', 'jetpack' ),
+ 'singular_name' => esc_html__( 'Comic', 'jetpack' ),
+ 'menu_name' => esc_html__( 'Comics', 'jetpack' ),
+ 'all_items' => esc_html__( 'All Comics', 'jetpack' ),
+ 'add_new' => esc_html__( 'Add New', 'jetpack' ),
+ 'add_new_item' => esc_html__( 'Add New Comic', 'jetpack' ),
+ 'edit_item' => esc_html__( 'Edit Comic', 'jetpack' ),
+ 'new_item' => esc_html__( 'New Comic', 'jetpack' ),
+ 'view_item' => esc_html__( 'View Comic', 'jetpack' ),
+ 'search_items' => esc_html__( 'Search Comics', 'jetpack' ),
+ 'not_found' => esc_html__( 'No Comics found', 'jetpack' ),
+ 'not_found_in_trash' => esc_html__( 'No Comics found in Trash', 'jetpack' ),
+ 'filter_items_list' => esc_html__( 'Filter comics list', 'jetpack' ),
+ 'items_list_navigation' => esc_html__( 'Comics list navigation', 'jetpack' ),
+ 'items_list' => esc_html__( 'Comics list', 'jetpack' ),
+ ),
+ 'supports' => array(
+ 'title',
+ 'editor',
+ 'thumbnail',
+ 'comments',
+ 'revisions',
+ 'publicize', // Jetpack
+ 'subscriptions', // wpcom
+ 'shortlinks', // Jetpack
+ ),
+ 'rewrite' => array(
+ 'slug' => 'comic',
+ 'with_front' => false,
+ ),
+ 'taxonomies' => array(
+ 'category',
+ 'post_tag',
+ ),
+ // Only make the type public for sites that support Comics.
+ 'public' => true,
+ 'menu_position' => 5, // below Posts
+ 'map_meta_cap' => true,
+ 'has_archive' => true,
+ 'query_var' => 'comic',
+ 'show_in_rest' => true,
+ )
+ );
}
+ /**
+ * Add a Preview colunm to the Comic CPT admin view.
+ *
+ * @param array $columns An array of column names.
+ * @return array Updated `$columns`.
+ */
public function manage_posts_columns( $columns ) {
$new_columns = array(
'preview-jetpack-comic' => __( 'Preview', 'jetpack' ),
@@ -274,8 +354,14 @@ class Jetpack_Comic {
return array_merge( array_slice( $columns, 0, 2 ), $new_columns, array_slice( $columns, 2 ) );
}
+ /**
+ * Display the post's featured image in column.
+ *
+ * @param string $column_name The name of the column to display.
+ * @param int $post_ID The current post ID.
+ */
public function manage_posts_custom_column( $column_name, $post_ID ) {
- if ( 'preview-jetpack-comic' == $column_name && has_post_thumbnail( $post_ID ) ) {
+ if ( 'preview-jetpack-comic' === $column_name && has_post_thumbnail( $post_ID ) ) {
echo get_the_post_thumbnail( $post_ID, 'jetpack-comic-thumb' );
}
}
@@ -288,38 +374,78 @@ class Jetpack_Comic {
*
* @see https://core.trac.wordpress.org/ticket/19744
* @param string $permalink The existing (possibly pretty) permalink.
+ *
+ * @return string The permalink to use.
*/
public function custom_permalink_for_feedbag( $permalink ) {
global $post;
- if ( ! empty( $GLOBALS['is_feedbag_rss_script'] ) && self::POST_TYPE == $post->post_type ) {
- $permalink = home_url( add_query_arg( array( 'p' => $post->ID, 'post_type' => self::POST_TYPE ), '?' ) );
+ if ( ! empty( $GLOBALS['is_feedbag_rss_script'] ) && self::POST_TYPE === $post->post_type ) {
+ $permalink = home_url(
+ add_query_arg(
+ array(
+ 'p' => $post->ID,
+ 'post_type' => self::POST_TYPE,
+ ),
+ '?'
+ )
+ );
}
return $permalink;
}
- /*
+ /**
* Update messages for the Comic admin.
+ *
+ * @param array $messages Existing post update messages.
+ *
+ * @return array $messages Amended post update messages.
*/
- function updated_messages( $messages ) {
+ public function updated_messages( $messages ) {
global $post;
$messages['jetpack-comic'] = array(
0 => '', // Unused. Messages start at index 1.
- 1 => sprintf( __( 'Comic updated. <a href="%s">View comic</a>', 'jetpack'), esc_url( get_permalink( $post->ID ) ) ),
+ 1 => sprintf(
+ /* Translators: link to comic item's page. */
+ __( 'Comic updated. <a href="%s">View comic</a>', 'jetpack' ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
2 => esc_html__( 'Custom field updated.', 'jetpack' ),
3 => esc_html__( 'Custom field deleted.', 'jetpack' ),
4 => esc_html__( 'Comic updated.', 'jetpack' ),
/* translators: %s: date and time of the revision */
- 5 => isset( $_GET['revision'] ) ? sprintf( esc_html__( 'Comic restored to revision from %s', 'jetpack'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
- 6 => sprintf( __( 'Comic published. <a href="%s">View comic</a>', 'jetpack' ), esc_url( get_permalink( $post->ID ) ) ),
+ 5 => isset( $_GET['revision'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling.
+ ? sprintf(
+ /* Translators: link to comic item's page. */
+ esc_html__( 'Comic restored to revision from %s', 'jetpack' ),
+ wp_post_revision_title( (int) $_GET['revision'], false ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling.
+ )
+ : false,
+ 6 => sprintf(
+ /* Translators: link to comic item's page. */
+ __( 'Comic published. <a href="%s">View comic</a>', 'jetpack' ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
7 => esc_html__( 'Comic saved.', 'jetpack' ),
- 8 => sprintf( __( 'Comic submitted. <a target="_blank" href="%s">Preview comic</a>', 'jetpack'), esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) ),
- 9 => sprintf( __( 'Comic scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview comic</a>', 'jetpack' ),
- // translators: Publish box date format, see https://php.net/date
- date_i18n( __( 'M j, Y @ G:i', 'jetpack' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post->ID) ) ),
- 10 => sprintf( __( 'Comic draft updated. <a target="_blank" href="%s">Preview comic</a>', 'jetpack' ), esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) ),
+ 8 => sprintf(
+ /* Translators: link to portfolio item's page. */
+ __( 'Comic submitted. <a target="_blank" href="%s">Preview comic</a>', 'jetpack' ),
+ esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) )
+ ),
+ 9 => sprintf(
+ /* Translators: link to comic item's page. */
+ __( 'Comic scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview comic</a>', 'jetpack' ),
+ // translators: Publish box date format, see https://php.net/date
+ date_i18n( __( 'M j, Y @ G:i', 'jetpack' ), strtotime( $post->post_date ) ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
+ 10 => sprintf(
+ /* Translators: link to comic item's page. */
+ __( 'Comic draft updated. <a target="_blank" href="%s">Preview comic</a>', 'jetpack' ),
+ esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) )
+ ),
);
return $messages;
@@ -327,32 +453,45 @@ class Jetpack_Comic {
/**
* Should this Custom Post Type be made available?
+ *
+ * @return bool
*/
public function site_supports_comics() {
- /**
- * @todo: Extract this out into a wpcom only file.
- */
- if ( 'blog-rss.php' == substr( $_SERVER['PHP_SELF'], -12 ) && count( $_SERVER['argv'] ) > 1 ) {
- // blog-rss.php isn't run in the context of the target blog when the init action fires,
- // so check manually whether the target blog supports comics.
- switch_to_blog( $_SERVER['argv'][1] );
- // The add_theme_support( 'jetpack-comic' ) won't fire on switch_to_blog, so check for Panel manually.
- $supports_comics = ( ( function_exists( 'site_vertical' ) && 'comics' == site_vertical() )
- || current_theme_supports( self::POST_TYPE )
- || get_stylesheet() == 'pub/panel' );
- restore_current_blog();
-
- /** This action is documented in modules/custom-post-types/nova.php */
- return (bool) apply_filters( 'jetpack_enable_cpt', $supports_comics, self::POST_TYPE );
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ $php_self = isset( $_SERVER['PHP_SELF'] )
+ ? sanitize_text_field( wp_unslash( $_SERVER['PHP_SELF'] ) )
+ : '';
+ $blog_ids = isset( $_SERVER['argv'] )
+ ? array_map( 'intval', (array) wp_unslash( $_SERVER['argv'] ) )
+ : array();
+
+ if (
+ ! empty( $php_self )
+ && 'blog-rss.php' === substr( $php_self, -12 )
+ && count( $blog_ids ) > 1
+ ) {
+ // blog-rss.php isn't run in the context of the target blog when the init action fires,
+ // so check manually whether the target blog supports comics.
+ switch_to_blog( $blog_ids[1] );
+ // The add_theme_support( 'jetpack-comic' ) won't fire on switch_to_blog, so check for Panel manually.
+ $supports_comics = ( ( function_exists( 'site_vertical' ) && 'comics' === site_vertical() )
+ || current_theme_supports( self::POST_TYPE )
+ || get_stylesheet() === 'pub/panel' );
+ restore_current_blog();
+
+ /** This action is documented in modules/custom-post-types/nova.php */
+ return (bool) apply_filters( 'jetpack_enable_cpt', $supports_comics, self::POST_TYPE );
+ }
}
$supports_comics = false;
/**
* If we're on WordPress.com, and it has the menu site vertical.
+ *
* @todo: Extract this out into a wpcom only file.
*/
- if ( function_exists( 'site_vertical' ) && 'comics' == site_vertical() ) {
+ if ( function_exists( 'site_vertical' ) && 'comics' === site_vertical() ) {
$supports_comics = true;
}
@@ -373,25 +512,31 @@ class Jetpack_Comic {
/**
* Anywhere that a feed is displaying posts, show comics too.
*
- * @param WP_Query $query
+ * @param WP_Query $query The current query.
+ *
+ * @return void
*/
public function include_in_feeds( $query ) {
- if ( ! $query->is_feed() )
+ if ( ! $query->is_feed() ) {
return;
+ }
// Don't modify the query if the post type isn't public.
- if ( ! get_post_type_object( 'jetpack-comic' )->public )
+ if ( ! get_post_type_object( 'jetpack-comic' )->public ) {
return;
+ }
$query_post_types = $query->get( 'post_type' );
- if ( empty( $query_post_types ) )
+ if ( empty( $query_post_types ) ) {
$query_post_types = 'post';
+ }
- if ( ! is_array( $query_post_types ) )
+ if ( ! is_array( $query_post_types ) ) {
$query_post_types = array( $query_post_types );
+ }
- if ( in_array( 'post', $query_post_types ) ) {
+ if ( in_array( 'post', $query_post_types, true ) ) {
$query_post_types[] = self::POST_TYPE;
$query->set( 'post_type', $query_post_types );
}
@@ -405,17 +550,21 @@ class Jetpack_Comic {
header( 'Content-Type: application/json' );
- if ( ! wp_verify_nonce( $_REQUEST['nonce'], 'jetpack_comic_upload_nonce' ) )
- die( json_encode( array( 'error' => __( 'Invalid or expired nonce.', 'jetpack' ) ) ) );
+ if (
+ empty( $_REQUEST['nonce'] )
+ || ! wp_verify_nonce( sanitize_key( $_REQUEST['nonce'] ), 'jetpack_comic_upload_nonce' )
+ ) {
+ die( wp_json_encode( array( 'error' => __( 'Invalid or expired nonce.', 'jetpack' ) ) ) );
+ }
$_POST['action'] = 'wp_handle_upload';
- $image_id_arr = array();
+ $image_id_arr = array();
$image_error_arr = array();
$i = 0;
- while ( isset( $_FILES['image_' . $i ] ) ) {
+ while ( isset( $_FILES[ 'image_' . $i ] ) ) {
// Create attachment for the image.
$image_id = media_handle_upload( "image_$i", 0 );
@@ -429,38 +578,48 @@ class Jetpack_Comic {
$i++;
}
- if ( count( $image_id_arr ) == 0 ) {
+ if ( count( $image_id_arr ) === 0 ) {
// All image uploads failed.
$rv = array( 'error' => '' );
- foreach ( $image_error_arr as $error )
+ foreach ( $image_error_arr as $error ) {
$rv['error'] .= $error[1] . "\n";
- }
- else {
- if ( count( $image_id_arr ) == 1 ) {
+ }
+ } else {
+ if ( count( $image_id_arr ) === 1 ) {
$image_id = $image_id_arr[0];
// Get the image
- $image_src = get_the_guid( $image_id );
+ $image_src = get_the_guid( $image_id );
$image_dims = wp_get_attachment_image_src( $image_id, 'full' );
// Take off 10px of width to account for padding and border. @todo make this smarter.
- if ( $content_width )
+ if ( $content_width ) {
$image_width = $content_width - 10;
- else
+ } else {
$image_width = $image_dims[1] - 10;
+ }
- $post_content = '<a href="' . esc_attr( $image_src ) .'"><img src="' . esc_attr( $image_src ) . '?w=' . esc_attr( $image_width ) . '" alt="' . esc_attr( $_FILES['image_0']['name'] ) . '" class="size-full wp-image alignnone" id="i-' . esc_attr( $image_id ) . '" data-filename="' . esc_attr( $_FILES['image_0']['name'] ) . '" /></a>';
- }
- else {
+ $image_name = isset( $_FILES['image_0']['name'] )
+ ? sanitize_file_name( wp_unslash( $_FILES['image_0']['name'] ) )
+ : '';
+ $post_content = sprintf(
+ '<a href="%1$s"><img src="%1$s?w=%2$d" alt="%3$s" class="size-full wp-image alignnone" id="%4$s" data-filename="%3$s"/></a>',
+ esc_url( $image_src ),
+ esc_attr( $image_width ),
+ esc_attr( $image_name ),
+ esc_attr( $image_id )
+ );
+ } else {
$post_content = '[gallery ids="' . esc_attr( implode( ',', $image_id_arr ) ) . '"]';
}
// Create a new post with the image(s)
- $post_id = wp_insert_post( array(
+ $post_id = wp_insert_post(
+ array(
'post_content' => $post_content,
- 'post_type' => 'jetpack-comic',
- 'post_status' => 'draft',
+ 'post_type' => 'jetpack-comic',
+ 'post_status' => 'draft',
),
true
);
@@ -473,34 +632,51 @@ class Jetpack_Comic {
foreach ( $image_id_arr as $image_id ) {
wp_delete_post( $image_id, true );
}
- }
- else {
+ } else {
foreach ( $image_id_arr as $image_id ) {
- wp_update_post( array(
- 'ID' => $image_id,
- 'post_parent' => $post_id
- ) );
+ wp_update_post(
+ array(
+ 'ID' => $image_id,
+ 'post_parent' => $post_id,
+ )
+ );
}
- if ( current_theme_supports( 'post-thumbnails' ) && count( $image_id_arr ) == 1 )
+ if ( current_theme_supports( 'post-thumbnails' ) && count( $image_id_arr ) === 1 ) {
set_post_thumbnail( $post_id, $image_id_arr[0] );
+ }
- $rv = array( 'url' => add_query_arg( array( 'post' => $post_id, 'action' => 'edit' ), admin_url( 'post.php' ) ) );
+ $rv = array(
+ 'url' => add_query_arg(
+ array(
+ 'post' => $post_id,
+ 'action' => 'edit',
+ ),
+ admin_url( 'post.php' )
+ ),
+ );
}
}
- die( json_encode( $rv ) );
+ die( wp_json_encode( $rv ) );
}
+ /**
+ * Add comic posts to the tag and category pages.
+ *
+ * @param WP_Query $query Post query.
+ *
+ * @return WP_Query
+ */
public function add_posts_to_loop( $query ) {
- // Add comic posts to the tag and category pages.
if ( ! is_admin() && $query->is_main_query() && ( $query->is_category() || $query->is_tag() ) ) {
$post_types = $query->get( 'post_type' );
- if ( ! $post_types || 'post' == $post_types )
+ if ( ! $post_types || 'post' === $post_types ) {
$post_types = array( 'post', self::POST_TYPE );
- else if ( is_array( $post_types ) )
+ } elseif ( is_array( $post_types ) ) {
$post_types[] = self::POST_TYPE;
+ }
$query->set( 'post_type', $post_types );
}
@@ -510,6 +686,10 @@ class Jetpack_Comic {
/**
* Add to REST API post type allowed list.
+ *
+ * @param array $post_types Array of post types to add to the allowed list.
+ *
+ * @return array
*/
public function allow_rest_api_type( $post_types ) {
$post_types[] = self::POST_TYPE;
@@ -520,20 +700,33 @@ class Jetpack_Comic {
add_action( 'init', array( 'Jetpack_Comic', 'init' ) );
-
+/**
+ * Custom welcome email for WordPress.com sites in the Comic vertical.
+ *
+ * @param string $welcome_email Body of the email.
+ * @param int $blog_id Site ID.
+ * @param int $user_id User ID.
+ * @param string $password User password, or "N/A" if the user account is not new.
+ * @param string $title Site title.
+ * @param array $meta Signup meta data. By default, contains the requested privacy setting and lang id.
+ *
+ * @return string
+ */
function comics_welcome_email( $welcome_email, $blog_id, $user_id, $password, $title, $meta ) {
- if ( ( isset( $meta['vertical'] ) && 'comics' == $meta['vertical'] ) || has_blog_sticker( 'vertical-comics', $blog_id ) ) {
- return __( "Welcome! Ready to publish your first strip?
+ if ( ( isset( $meta['vertical'] ) && 'comics' === $meta['vertical'] ) || has_blog_sticker( 'vertical-comics', $blog_id ) ) {
+ return __(
+ "Welcome! Ready to publish your first strip?
Your webcomic's new site is ready to go. Get started by <a href=\"BLOG_URLwp-admin/customize.php#title\">setting your comic's title and tagline</a> so your readers know what it's all about.
Looking for more help with setting up your site? Check out the WordPress.com <a href=\"https://learn.wordpress.com/\" target=\"_blank\">beginner's tutorial</a> and the <a href=\"https://en.support.wordpress.com/comics/\" target=\"_blank\">guide to comics on WordPress.com</a>. Dive right in by <a href=\"BLOG_URLwp-admin/customize.php#title\">publishing your first strip!</a>
Lots of laughs,
-The WordPress.com Team", 'jetpack' );
+The WordPress.com Team",
+ 'jetpack'
+ );
}
return $welcome_email;
}
-
add_filter( 'update_welcome_email_pre_replacement', 'comics_welcome_email', 10, 6 );
diff --git a/plugins/jetpack/modules/custom-post-types/comics/comics-rtl.css b/plugins/jetpack/modules/custom-post-types/comics/comics-rtl.css
index bcf00642..8f13c819 100644
--- a/plugins/jetpack/modules/custom-post-types/comics/comics-rtl.css
+++ b/plugins/jetpack/modules/custom-post-types/comics/comics-rtl.css
@@ -1,54 +1,53 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
#jetpack-comic-drop-zone .dragging, #jetpack-comic-drop-zone .uploading {
- margin-top: 200px;
- display: none;
+ margin-top: 200px;
+ display: none;
}
/* Display the appropriate loading message for each upload state. */
body.dragging #jetpack-comic-drop-zone .dragging, body.uploading #jetpack-comic-drop-zone .uploading {
- display: block;
+ display: block;
}
body.uploading #jetpack-comic-drop-zone .uploading .spinner,
body.uploading #jetpack-comic-drop-zone .uploading .spinner:after {
- border-radius: 50%;
- width: 60px;
- height: 60px;
+ border-radius: 50%;
+ width: 60px;
+ height: 60px;
}
+
body.uploading #jetpack-comic-drop-zone .uploading .spinner {
- display: block;
- margin: 15px auto;
- font-size: 10px;
- position: relative;
- text-indent: -9999em;
- border-top: 1.1em solid rgba(255, 255, 255, 0.2);
- border-left: 1.1em solid rgba(255, 255, 255, 0.2);
- border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
- border-right: 1.1em solid #ffffff;
- transform: translateZ(0);
- animation: load8 1.1s infinite linear;
+ display: block;
+ margin: 15px auto;
+ font-size: 10px;
+ position: relative;
+ text-indent: -9999em;
+ border-top: 1.1em solid rgba(255, 255, 255, 0.2);
+ border-left: 1.1em solid rgba(255, 255, 255, 0.2);
+ border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
+ border-right: 1.1em solid #ffffff;
+ transform: translateZ(0);
+ animation: load8 1.1s infinite linear;
}
@keyframes load8 {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(-360deg);
- }
+ 0% {
+ transform: rotate(0deg);
+ }
+ 100% {
+ transform: rotate(-360deg);
+ }
}
-
/* Add the drop zone overlay. */
body.dragging #jetpack-comic-drop-zone, body.uploading #jetpack-comic-drop-zone {
- background: rgba( 0, 86, 132, 0.9 );
- border: 1px dashed #fff;
- color: #fff;
- display: block;
- font-size: 30px;
- position: fixed;
- top: 10px;
- right: 10px;
- left: 10px;
- bottom: 10px;
- text-align: center;
- z-index: 99999;
+ background: rgba(0, 86, 132, 0.9);
+ border: 1px dashed #fff;
+ color: #fff;
+ display: block;
+ font-size: 30px;
+ position: fixed;
+ top: 10px;
+ right: 10px;
+ left: 10px;
+ bottom: 10px;
+ text-align: center;
+ z-index: 99999;
}
diff --git a/plugins/jetpack/modules/custom-post-types/comics/comics-rtl.min.css b/plugins/jetpack/modules/custom-post-types/comics/comics-rtl.min.css
index 16adbc17..27096f46 100644
--- a/plugins/jetpack/modules/custom-post-types/comics/comics-rtl.min.css
+++ b/plugins/jetpack/modules/custom-post-types/comics/comics-rtl.min.css
@@ -1 +1 @@
-#jetpack-comic-drop-zone .dragging,#jetpack-comic-drop-zone .uploading{margin-top:200px;display:none}body.dragging #jetpack-comic-drop-zone .dragging,body.uploading #jetpack-comic-drop-zone .uploading{display:block}body.uploading #jetpack-comic-drop-zone .uploading .spinner,body.uploading #jetpack-comic-drop-zone .uploading .spinner:after{border-radius:50%;width:60px;height:60px}body.uploading #jetpack-comic-drop-zone .uploading .spinner{display:block;margin:15px auto;font-size:10px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid #fff;transform:translateZ(0);animation:load8 1.1s infinite linear}@keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(-360deg)}}body.dragging #jetpack-comic-drop-zone,body.uploading #jetpack-comic-drop-zone{background:rgba(0,86,132,.9);border:1px dashed #fff;color:#fff;display:block;font-size:30px;position:fixed;top:10px;right:10px;left:10px;bottom:10px;text-align:center;z-index:99999} \ No newline at end of file
+#jetpack-comic-drop-zone .dragging,#jetpack-comic-drop-zone .uploading{display:none;margin-top:200px}body.dragging #jetpack-comic-drop-zone .dragging,body.uploading #jetpack-comic-drop-zone .uploading{display:block}body.uploading #jetpack-comic-drop-zone .uploading .spinner,body.uploading #jetpack-comic-drop-zone .uploading .spinner:after{border-radius:50%;height:60px;width:60px}body.uploading #jetpack-comic-drop-zone .uploading .spinner{animation:load8 1.1s linear infinite;border:1.1em solid hsla(0,0%,100%,.2);border-right-color:#fff;display:block;font-size:10px;margin:15px auto;position:relative;text-indent:-9999em;transform:translateZ(0)}@keyframes load8{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}body.dragging #jetpack-comic-drop-zone,body.uploading #jetpack-comic-drop-zone{background:rgba(0,86,132,.9);border:1px dashed #fff;bottom:10px;color:#fff;display:block;font-size:30px;left:10px;position:fixed;right:10px;text-align:center;top:10px;z-index:99999} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-post-types/comics/comics.min.css b/plugins/jetpack/modules/custom-post-types/comics/comics.min.css
index 08b5f1fc..278477a3 100644
--- a/plugins/jetpack/modules/custom-post-types/comics/comics.min.css
+++ b/plugins/jetpack/modules/custom-post-types/comics/comics.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-#jetpack-comic-drop-zone .dragging,#jetpack-comic-drop-zone .uploading{margin-top:200px;display:none}body.dragging #jetpack-comic-drop-zone .dragging,body.uploading #jetpack-comic-drop-zone .uploading{display:block}body.uploading #jetpack-comic-drop-zone .uploading .spinner,body.uploading #jetpack-comic-drop-zone .uploading .spinner:after{border-radius:50%;width:60px;height:60px}body.uploading #jetpack-comic-drop-zone .uploading .spinner{display:block;margin:15px auto;font-size:10px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid #fff;transform:translateZ(0);animation:load8 1.1s infinite linear}@keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.dragging #jetpack-comic-drop-zone,body.uploading #jetpack-comic-drop-zone{background:rgba(0,86,132,.9);border:1px dashed #fff;color:#fff;display:block;font-size:30px;position:fixed;top:10px;left:10px;right:10px;bottom:10px;text-align:center;z-index:99999} \ No newline at end of file
+#jetpack-comic-drop-zone .dragging,#jetpack-comic-drop-zone .uploading{display:none;margin-top:200px}body.dragging #jetpack-comic-drop-zone .dragging,body.uploading #jetpack-comic-drop-zone .uploading{display:block}body.uploading #jetpack-comic-drop-zone .uploading .spinner,body.uploading #jetpack-comic-drop-zone .uploading .spinner:after{border-radius:50%;height:60px;width:60px}body.uploading #jetpack-comic-drop-zone .uploading .spinner{animation:load8 1.1s linear infinite;border:1.1em solid hsla(0,0%,100%,.2);border-left-color:#fff;display:block;font-size:10px;margin:15px auto;position:relative;text-indent:-9999em;transform:translateZ(0)}@keyframes load8{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}body.dragging #jetpack-comic-drop-zone,body.uploading #jetpack-comic-drop-zone{background:rgba(0,86,132,.9);border:1px dashed #fff;bottom:10px;color:#fff;display:block;font-size:30px;left:10px;position:fixed;right:10px;text-align:center;top:10px;z-index:99999} \ No newline at end of file
diff --git a/plugins/jetpack/modules/custom-post-types/nova.php b/plugins/jetpack/modules/custom-post-types/nova.php
index e4d7f00b..78d7fa5b 100644
--- a/plugins/jetpack/modules/custom-post-types/nova.php
+++ b/plugins/jetpack/modules/custom-post-types/nova.php
@@ -1,36 +1,39 @@
-<?php
-
-use Automattic\Jetpack\Assets;
-
-/*
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Manage restaurant menus from your WordPress site,
+ * via a new "nova" CPT.
+ *
* Put the following code in your theme's Food Menu Page Template to customize the markup of the menu.
+ *
+ * if ( class_exists( 'Nova_Restaurant' ) ) {
+ * Nova_Restaurant::init( array(
+ * 'menu_tag' => 'section',
+ * 'menu_class' => 'menu-items',
+ * 'menu_header_tag' => 'header',
+ * 'menu_header_class' => 'menu-group-header',
+ * 'menu_title_tag' => 'h1',
+ * 'menu_title_class' => 'menu-group-title',
+ * 'menu_description_tag' => 'div',
+ * 'menu_description_class' => 'menu-group-description',
+ * ) );
+ * }
+ *
+ * @todo
+ * - Bulk/Quick edit response of Menu Item rows is broken.
+ * - Drag and Drop reordering.
+ *
+ * @package automattic/jetpack
+ */
-if ( class_exists( 'Nova_Restaurant' ) ) {
- Nova_Restaurant::init( array(
- 'menu_tag' => 'section',
- 'menu_class' => 'menu-items',
- 'menu_header_tag' => 'header',
- 'menu_header_class' => 'menu-group-header',
- 'menu_title_tag' => 'h1',
- 'menu_title_class' => 'menu-group-title',
- 'menu_description_tag' => 'div',
- 'menu_description_class' => 'menu-group-description',
- ) );
-}
-
-*/
-
-/* @todo
-
-Bulk/Quick edit response of Menu Item rows is broken.
-
-Drag and Drop reordering.
-*/
+use Automattic\Jetpack\Assets;
+/**
+ * Create the new Nova CPT.
+ */
class Nova_Restaurant {
const MENU_ITEM_POST_TYPE = 'nova_menu_item';
const MENU_ITEM_LABEL_TAX = 'nova_menu_item_label';
- const MENU_TAX = 'nova_menu';
+ const MENU_TAX = 'nova_menu';
/**
* Version number used when enqueuing all resources (css and js).
@@ -39,6 +42,11 @@ class Nova_Restaurant {
*/
public $version = '20210303';
+ /**
+ * Default markup for the menu items.
+ *
+ * @var array
+ */
protected $default_menu_item_loop_markup = array(
'menu_tag' => 'section',
'menu_class' => 'menu-items',
@@ -50,14 +58,38 @@ class Nova_Restaurant {
'menu_description_class' => 'menu-group-description',
);
+ /**
+ * Array of markup for the menu items.
+ *
+ * @var array
+ */
protected $menu_item_loop_markup = array();
+
+ /**
+ * Last term ID of a loop of menu items.
+ *
+ * @var bool|int
+ */
protected $menu_item_loop_last_term_id = false;
+
+ /**
+ * Current term ID of a loop of menu items.
+ *
+ * @var bool|int
+ */
protected $menu_item_loop_current_term = false;
- static function init( $menu_item_loop_markup = array() ) {
+ /**
+ * Initialize class.
+ *
+ * @param array $menu_item_loop_markup Array of markup for the menu items.
+ *
+ * @return self
+ */
+ public static function init( $menu_item_loop_markup = array() ) {
static $instance = false;
- if ( !$instance ) {
+ if ( ! $instance ) {
$instance = new Nova_Restaurant();
}
@@ -68,18 +100,23 @@ class Nova_Restaurant {
return $instance;
}
- function __construct() {
- if ( ! $this->site_supports_nova() )
+ /**
+ * Constructor.
+ * Hook into WordPress to create CPT and utilities if needed.
+ */
+ public function __construct() {
+ if ( ! $this->site_supports_nova() ) {
return;
+ }
$this->register_taxonomies();
$this->register_post_types();
- add_action( 'admin_menu', array( $this, 'add_admin_menus' ) );
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_nova_styles' ) );
- add_action( 'admin_head', array( $this, 'set_custom_font_icon' ) );
+ add_action( 'admin_menu', array( $this, 'add_admin_menus' ) );
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_nova_styles' ) );
+ add_action( 'admin_head', array( $this, 'set_custom_font_icon' ) );
// Always sort menu items correctly
- add_action( 'parse_query', array( $this, 'sort_menu_item_queries_by_menu_order' ) );
+ add_action( 'parse_query', array( $this, 'sort_menu_item_queries_by_menu_order' ) );
add_filter( 'posts_results', array( $this, 'sort_menu_item_queries_by_menu_taxonomy' ), 10, 2 );
add_action( 'wp_insert_post', array( $this, 'add_post_meta' ) );
@@ -89,22 +126,26 @@ class Nova_Restaurant {
// Only output our Menu Item Loop Markup on a real blog view. Not feeds, XML-RPC, admin, etc.
add_filter( 'template_include', array( $this, 'setup_menu_item_loop_markup__in_filter' ) );
- add_filter( 'enter_title_here', array( $this, 'change_default_title' ) );
- add_filter( 'post_updated_messages', array( $this, 'updated_messages' ) );
- add_filter( 'dashboard_glance_items', array( $this, 'add_to_dashboard' ) );
+ add_filter( 'enter_title_here', array( $this, 'change_default_title' ) );
+ add_filter( 'post_updated_messages', array( $this, 'updated_messages' ) );
+ add_filter( 'dashboard_glance_items', array( $this, 'add_to_dashboard' ) );
}
/**
- * Should this Custom Post Type be made available?
- */
- function site_supports_nova() {
+ * Should this Custom Post Type be made available?
+ *
+ * @return bool
+ */
+ private function site_supports_nova() {
// If we're on WordPress.com, and it has the menu site vertical.
- if ( function_exists( 'site_vertical' ) && 'nova_menu' == site_vertical() )
+ if ( function_exists( 'site_vertical' ) && 'nova_menu' === site_vertical() ) {
return true;
+ }
// Else, if the current theme requests it.
- if ( current_theme_supports( self::MENU_ITEM_POST_TYPE ) )
+ if ( current_theme_supports( self::MENU_ITEM_POST_TYPE ) ) {
return true;
+ }
// Otherwise, say no unless something wants to filter us to say yes.
/**
@@ -120,201 +161,244 @@ class Nova_Restaurant {
return (bool) apply_filters( 'jetpack_enable_cpt', false, self::MENU_ITEM_POST_TYPE );
}
-/* Setup */
+ /* Setup */
/**
* Register Taxonomies and Post Type
*/
- function register_taxonomies() {
+ private function register_taxonomies() {
if ( ! taxonomy_exists( self::MENU_ITEM_LABEL_TAX ) ) {
- register_taxonomy( self::MENU_ITEM_LABEL_TAX, self::MENU_ITEM_POST_TYPE, array(
- 'labels' => array(
- /* translators: this is about a food menu */
- 'name' => __( 'Menu Item Labels', 'jetpack' ),
- /* translators: this is about a food menu */
- 'singular_name' => __( 'Menu Item Label', 'jetpack' ),
- /* translators: this is about a food menu */
- 'search_items' => __( 'Search Menu Item Labels', 'jetpack' ),
- 'popular_items' => __( 'Popular Labels', 'jetpack' ),
- /* translators: this is about a food menu */
- 'all_items' => __( 'All Menu Item Labels', 'jetpack' ),
- /* translators: this is about a food menu */
- 'edit_item' => __( 'Edit Menu Item Label', 'jetpack' ),
- /* translators: this is about a food menu */
- 'view_item' => __( 'View Menu Item Label', 'jetpack' ),
- /* translators: this is about a food menu */
- 'update_item' => __( 'Update Menu Item Label', 'jetpack' ),
- /* translators: this is about a food menu */
- 'add_new_item' => __( 'Add New Menu Item Label', 'jetpack' ),
- /* translators: this is about a food menu */
- 'new_item_name' => __( 'New Menu Item Label Name', 'jetpack' ),
- 'separate_items_with_commas' => __( 'For example, spicy, favorite, etc. <br /> Separate Labels with commas', 'jetpack' ),
- 'add_or_remove_items' => __( 'Add or remove Labels', 'jetpack' ),
- 'choose_from_most_used' => __( 'Choose from the most used Labels', 'jetpack' ),
- 'items_list_navigation' => __( 'Menu item label list navigation', 'jetpack' ),
- 'items_list' => __( 'Menu item labels list', 'jetpack' ),
- ),
- 'no_tagcloud' => __( 'No Labels found', 'jetpack' ),
- 'hierarchical' => false,
- ) );
+ register_taxonomy(
+ self::MENU_ITEM_LABEL_TAX,
+ self::MENU_ITEM_POST_TYPE,
+ array(
+ 'labels' => array(
+ /* translators: this is about a food menu */
+ 'name' => __( 'Menu Item Labels', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'singular_name' => __( 'Menu Item Label', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'search_items' => __( 'Search Menu Item Labels', 'jetpack' ),
+ 'popular_items' => __( 'Popular Labels', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'all_items' => __( 'All Menu Item Labels', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'edit_item' => __( 'Edit Menu Item Label', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'view_item' => __( 'View Menu Item Label', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'update_item' => __( 'Update Menu Item Label', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'add_new_item' => __( 'Add New Menu Item Label', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'new_item_name' => __( 'New Menu Item Label Name', 'jetpack' ),
+ 'separate_items_with_commas' => __( 'For example, spicy, favorite, etc. <br /> Separate Labels with commas', 'jetpack' ),
+ 'add_or_remove_items' => __( 'Add or remove Labels', 'jetpack' ),
+ 'choose_from_most_used' => __( 'Choose from the most used Labels', 'jetpack' ),
+ 'items_list_navigation' => __( 'Menu item label list navigation', 'jetpack' ),
+ 'items_list' => __( 'Menu item labels list', 'jetpack' ),
+ ),
+ 'no_tagcloud' => __( 'No Labels found', 'jetpack' ),
+ 'hierarchical' => false,
+ )
+ );
}
if ( ! taxonomy_exists( self::MENU_TAX ) ) {
- register_taxonomy( self::MENU_TAX, self::MENU_ITEM_POST_TYPE, array(
- 'labels' => array(
+ register_taxonomy(
+ self::MENU_TAX,
+ self::MENU_ITEM_POST_TYPE,
+ array(
+ 'labels' => array(
+ /* translators: this is about a food menu */
+ 'name' => __( 'Menu Sections', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'singular_name' => __( 'Menu Section', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'search_items' => __( 'Search Menu Sections', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'all_items' => __( 'All Menu Sections', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'parent_item' => __( 'Parent Menu Section', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'parent_item_colon' => __( 'Parent Menu Section:', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'edit_item' => __( 'Edit Menu Section', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'view_item' => __( 'View Menu Section', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'update_item' => __( 'Update Menu Section', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'add_new_item' => __( 'Add New Menu Section', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'new_item_name' => __( 'New Menu Sections Name', 'jetpack' ),
+ 'items_list_navigation' => __( 'Menu section list navigation', 'jetpack' ),
+ 'items_list' => __( 'Menu section list', 'jetpack' ),
+ ),
+ 'rewrite' => array(
+ 'slug' => 'menu',
+ 'with_front' => false,
+ 'hierarchical' => true,
+ ),
+ 'hierarchical' => true,
+ 'show_tagcloud' => false,
+ 'query_var' => 'menu',
+ )
+ );
+ }
+ }
+
+ /**
+ * Register our Post Type.
+ */
+ private function register_post_types() {
+ if ( post_type_exists( self::MENU_ITEM_POST_TYPE ) ) {
+ return;
+ }
+
+ register_post_type(
+ self::MENU_ITEM_POST_TYPE,
+ array(
+ 'description' => __( "Items on your restaurant's menu", 'jetpack' ),
+
+ 'labels' => array(
/* translators: this is about a food menu */
- 'name' => __( 'Menu Sections', 'jetpack' ),
+ 'name' => __( 'Menu Items', 'jetpack' ),
/* translators: this is about a food menu */
- 'singular_name' => __( 'Menu Section', 'jetpack' ),
+ 'singular_name' => __( 'Menu Item', 'jetpack' ),
/* translators: this is about a food menu */
- 'search_items' => __( 'Search Menu Sections', 'jetpack' ),
+ 'menu_name' => __( 'Food Menus', 'jetpack' ),
/* translators: this is about a food menu */
- 'all_items' => __( 'All Menu Sections', 'jetpack' ),
+ 'all_items' => __( 'Menu Items', 'jetpack' ),
/* translators: this is about a food menu */
- 'parent_item' => __( 'Parent Menu Section', 'jetpack' ),
+ 'add_new' => __( 'Add One Item', 'jetpack' ),
/* translators: this is about a food menu */
- 'parent_item_colon' => __( 'Parent Menu Section:', 'jetpack' ),
+ 'add_new_item' => __( 'Add Menu Item', 'jetpack' ),
/* translators: this is about a food menu */
- 'edit_item' => __( 'Edit Menu Section', 'jetpack' ),
+ 'edit_item' => __( 'Edit Menu Item', 'jetpack' ),
/* translators: this is about a food menu */
- 'view_item' => __( 'View Menu Section', 'jetpack' ),
+ 'new_item' => __( 'New Menu Item', 'jetpack' ),
/* translators: this is about a food menu */
- 'update_item' => __( 'Update Menu Section', 'jetpack' ),
+ 'view_item' => __( 'View Menu Item', 'jetpack' ),
/* translators: this is about a food menu */
- 'add_new_item' => __( 'Add New Menu Section', 'jetpack' ),
+ 'search_items' => __( 'Search Menu Items', 'jetpack' ),
/* translators: this is about a food menu */
- 'new_item_name' => __( 'New Menu Sections Name', 'jetpack' ),
- 'items_list_navigation' => __( 'Menu section list navigation', 'jetpack' ),
- 'items_list' => __( 'Menu section list', 'jetpack' ),
+ 'not_found' => __( 'No Menu Items found', 'jetpack' ),
+ /* translators: this is about a food menu */
+ 'not_found_in_trash' => __( 'No Menu Items found in Trash', 'jetpack' ),
+ 'filter_items_list' => __( 'Filter menu items list', 'jetpack' ),
+ 'items_list_navigation' => __( 'Menu item list navigation', 'jetpack' ),
+ 'items_list' => __( 'Menu items list', 'jetpack' ),
),
- 'rewrite' => array(
- 'slug' => 'menu',
- 'with_front' => false,
- 'hierarchical' => true,
+ 'supports' => array(
+ 'title',
+ 'editor',
+ 'thumbnail',
+ 'excerpt',
),
- 'hierarchical' => true,
- 'show_tagcloud' => false,
- 'query_var' => 'menu',
- ) );
- }
- }
-
- function register_post_types() {
- if ( post_type_exists( self::MENU_ITEM_POST_TYPE ) ) {
- return;
- }
-
- register_post_type( self::MENU_ITEM_POST_TYPE, array(
- 'description' => __( "Items on your restaurant's menu", 'jetpack' ),
-
- 'labels' => array(
- /* translators: this is about a food menu */
- 'name' => __( 'Menu Items', 'jetpack' ),
- /* translators: this is about a food menu */
- 'singular_name' => __( 'Menu Item', 'jetpack' ),
- /* translators: this is about a food menu */
- 'menu_name' => __( 'Food Menus', 'jetpack' ),
- /* translators: this is about a food menu */
- 'all_items' => __( 'Menu Items', 'jetpack' ),
- /* translators: this is about a food menu */
- 'add_new' => __( 'Add One Item', 'jetpack' ),
- /* translators: this is about a food menu */
- 'add_new_item' => __( 'Add Menu Item', 'jetpack' ),
- /* translators: this is about a food menu */
- 'edit_item' => __( 'Edit Menu Item', 'jetpack' ),
- /* translators: this is about a food menu */
- 'new_item' => __( 'New Menu Item', 'jetpack' ),
- /* translators: this is about a food menu */
- 'view_item' => __( 'View Menu Item', 'jetpack' ),
- /* translators: this is about a food menu */
- 'search_items' => __( 'Search Menu Items', 'jetpack' ),
- /* translators: this is about a food menu */
- 'not_found' => __( 'No Menu Items found', 'jetpack' ),
- /* translators: this is about a food menu */
- 'not_found_in_trash' => __( 'No Menu Items found in Trash', 'jetpack' ),
- 'filter_items_list' => __( 'Filter menu items list', 'jetpack' ),
- 'items_list_navigation' => __( 'Menu item list navigation', 'jetpack' ),
- 'items_list' => __( 'Menu items list', 'jetpack' ),
- ),
- 'supports' => array(
- 'title',
- 'editor',
- 'thumbnail',
- 'excerpt',
- ),
- 'rewrite' => array(
- 'slug' => 'item',
- 'with_front' => false,
- 'feeds' => false,
- 'pages' => false,
- ),
- 'register_meta_box_cb' => array( $this, 'register_menu_item_meta_boxes' ),
-
- 'public' => true,
- 'show_ui' => true, // set to false to replace with custom UI
- 'menu_position' => 20, // below Pages
- 'capability_type' => 'page',
- 'map_meta_cap' => true,
- 'has_archive' => false,
- 'query_var' => 'item',
- ) );
+ 'rewrite' => array(
+ 'slug' => 'item',
+ 'with_front' => false,
+ 'feeds' => false,
+ 'pages' => false,
+ ),
+ 'register_meta_box_cb' => array( $this, 'register_menu_item_meta_boxes' ),
+
+ 'public' => true,
+ 'show_ui' => true, // set to false to replace with custom UI
+ 'menu_position' => 20, // below Pages
+ 'capability_type' => 'page',
+ 'map_meta_cap' => true,
+ 'has_archive' => false,
+ 'query_var' => 'item',
+ )
+ );
}
-
/**
* Update messages for the Menu Item admin.
+ *
+ * @param array $messages Existing post update messages.
+ *
+ * @return array $messages Updated post update messages.
*/
- function updated_messages( $messages ) {
+ public function updated_messages( $messages ) {
global $post;
- $messages[self::MENU_ITEM_POST_TYPE] = array(
+ $messages[ self::MENU_ITEM_POST_TYPE ] = array(
0 => '', // Unused. Messages start at index 1.
- /* translators: this is about a food menu */
- 1 => sprintf( __( 'Menu item updated. <a href="%s">View item</a>', 'jetpack' ), esc_url( get_permalink( $post->ID ) ) ),
+ 1 => sprintf(
+ /* translators: this is about a food menu. Placeholder is a link to the food menu. */
+ __( 'Menu item updated. <a href="%s">View item</a>', 'jetpack' ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
2 => esc_html__( 'Custom field updated.', 'jetpack' ),
3 => esc_html__( 'Custom field deleted.', 'jetpack' ),
/* translators: this is about a food menu */
4 => esc_html__( 'Menu item updated.', 'jetpack' ),
- /* translators: %s: date and time of the revision */
- 5 => isset( $_GET['revision'] ) ? sprintf( esc_html__( 'Menu item restored to revision from %s', 'jetpack' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
- /* translators: this is about a food menu */
- 6 => sprintf( __( 'Menu item published. <a href="%s">View item</a>', 'jetpack' ), esc_url( get_permalink( $post->ID ) ) ),
+ 5 => isset( $_GET['revision'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling.
+ ? sprintf(
+ /* translators: %s: date and time of the revision */
+ esc_html__( 'Menu item restored to revision from %s', 'jetpack' ),
+ wp_post_revision_title( (int) $_GET['revision'], false ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling.
+ )
+ : false,
+ 6 => sprintf(
+ /* translators: this is about a food menu. Placeholder is a link to the food menu. */
+ __( 'Menu item published. <a href="%s">View item</a>', 'jetpack' ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
/* translators: this is about a food menu */
7 => esc_html__( 'Menu item saved.', 'jetpack' ),
- /* translators: this is about a food menu */
- 8 => sprintf( __( 'Menu item submitted. <a target="_blank" href="%s">Preview item</a>', 'jetpack' ), esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) ),
- /* translators: this is about a food menu */
- 9 => sprintf( __( 'Menu item scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview item</a>', 'jetpack' ),
- // translators: Publish box date format, see https://php.net/date
- date_i18n( __( 'M j, Y @ G:i', 'jetpack' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post->ID) ) ),
- /* translators: this is about a food menu */
- 10 => sprintf( __( 'Menu item draft updated. <a target="_blank" href="%s">Preview item</a>', 'jetpack' ), esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) ),
+ 8 => sprintf(
+ /* translators: this is about a food menu */
+ __( 'Menu item submitted. <a target="_blank" href="%s">Preview item</a>', 'jetpack' ),
+ esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) )
+ ),
+ 9 => sprintf(
+ /* translators: this is about a food menu. 1. Publish box date format, see https://php.net/date 2. link to the food menu. */
+ __( 'Menu item scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview item</a>', 'jetpack' ),
+ /* translators: Publish box date format, see https://php.net/date */
+ date_i18n( __( 'M j, Y @ G:i', 'jetpack' ), strtotime( $post->post_date ) ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
+ 10 => sprintf(
+ /* translators: this is about a food menu. Placeholder is a link to the food menu. */
+ __( 'Menu item draft updated. <a target="_blank" href="%s">Preview item</a>', 'jetpack' ),
+ esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) )
+ ),
);
return $messages;
}
-
/**
- * Nova Styles and Scripts
+ * Nova styles and scripts.
+ *
+ * @param string $hook Page hook.
+ *
+ * @return void
*/
- function enqueue_nova_styles( $hook ) {
+ public function enqueue_nova_styles( $hook ) {
global $post_type;
$pages = array( 'edit.php', 'post.php', 'post-new.php' );
- if ( in_array( $hook, $pages ) && $post_type == self::MENU_ITEM_POST_TYPE ) {
- wp_enqueue_style( 'nova-style', plugins_url( 'css/nova.css', __FILE__ ), array(), $this->version );
+ if ( in_array( $hook, $pages, true ) && $post_type === self::MENU_ITEM_POST_TYPE ) {
+ wp_enqueue_style( 'nova-style', plugins_url( 'css/nova.css', __FILE__ ), array(), $this->version );
}
- wp_enqueue_style( 'nova-font', plugins_url( 'css/nova-font.css', __FILE__ ), array(), $this->version );
+ wp_enqueue_style( 'nova-font', plugins_url( 'css/nova-font.css', __FILE__ ), array(), $this->version );
}
-
/**
* Change ‘Enter Title Here’ text for the Menu Item.
+ *
+ * @param string $title Default title placeholder text.
+ *
+ * @return string
*/
- function change_default_title( $title ) {
- if ( self::MENU_ITEM_POST_TYPE == get_post_type() ) {
+ public function change_default_title( $title ) {
+ if ( self::MENU_ITEM_POST_TYPE === get_post_type() ) {
/* translators: this is about a food menu */
$title = esc_html__( "Enter the menu item's name here", 'jetpack' );
}
@@ -322,11 +406,12 @@ class Nova_Restaurant {
return $title;
}
-
/**
* Add to Dashboard At A Glance
+ *
+ * @return void
*/
- function add_to_dashboard() {
+ public function add_to_dashboard() {
$number_menu_items = wp_count_posts( self::MENU_ITEM_POST_TYPE );
if ( current_user_can( 'administrator' ) ) {
@@ -365,18 +450,21 @@ class Nova_Restaurant {
);
}
- echo '<li class="nova-menu-count">' . $number_menu_items_published . '</li>';
+ echo '<li class="nova-menu-count">' . $number_menu_items_published . '</li>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- we escape things above.
}
-
/**
- * Query
+ * If the WP query for our menu items.
+ *
+ * @param WP_Query $query WP Query.
+ *
+ * @return bool
*/
- function is_menu_item_query( $query ) {
+ private function is_menu_item_query( $query ) {
if (
- ( isset( $query->query_vars['taxonomy'] ) && self::MENU_TAX == $query->query_vars['taxonomy'] )
+ ( isset( $query->query_vars['taxonomy'] ) && self::MENU_TAX === $query->query_vars['taxonomy'] )
||
- ( isset( $query->query_vars['post_type'] ) && self::MENU_ITEM_POST_TYPE == $query->query_vars['post_type'] )
+ ( isset( $query->query_vars['post_type'] ) && self::MENU_ITEM_POST_TYPE === $query->query_vars['post_type'] )
) {
return true;
}
@@ -384,25 +472,40 @@ class Nova_Restaurant {
return false;
}
- function sort_menu_item_queries_by_menu_order( $query ) {
+ /**
+ * Custom sort the menu item queries by menu order.
+ *
+ * @param WP_Query $query WP Query.
+ *
+ * @return void
+ */
+ public function sort_menu_item_queries_by_menu_order( $query ) {
if ( ! $this->is_menu_item_query( $query ) ) {
return;
}
$query->query_vars['orderby'] = 'menu_order';
- $query->query_vars['order'] = 'ASC';
+ $query->query_vars['order'] = 'ASC';
// For now, just turn off paging so we can sort by taxonmy later
// If we want paging in the future, we'll need to add the taxonomy sort here (or at least before the DB query is made)
$query->query_vars['posts_per_page'] = -1;
}
- function sort_menu_item_queries_by_menu_taxonomy( $posts, $query ) {
- if ( !$posts ) {
+ /**
+ * Custom sort the menu item queries by menu taxonomies.
+ *
+ * @param WP_Post[] $posts Array of post objects.
+ * @param WP_Query $query The WP_Query instance.
+ *
+ * @return WP_Post[]
+ */
+ public function sort_menu_item_queries_by_menu_taxonomy( $posts, $query ) {
+ if ( ! $posts ) {
return $posts;
}
- if ( !$this->is_menu_item_query( $query ) ) {
+ if ( ! $this->is_menu_item_query( $query ) ) {
return $posts;
}
@@ -410,26 +513,26 @@ class Nova_Restaurant {
foreach ( $posts as $post ) {
$term = $this->get_menu_item_menu_leaf( $post->ID );
- if ( !$term || is_wp_error( $term ) ) {
+ if ( ! $term || is_wp_error( $term ) ) {
$term_id = 0;
} else {
$term_id = $term->term_id;
}
- if ( !isset( $grouped_by_term["$term_id"] ) ) {
- $grouped_by_term["$term_id"] = array();
+ if ( ! isset( $grouped_by_term[ "$term_id" ] ) ) {
+ $grouped_by_term[ "$term_id" ] = array();
}
- $grouped_by_term["$term_id"][] = $post;
+ $grouped_by_term[ "$term_id" ][] = $post;
}
$term_order = get_option( 'nova_menu_order', array() );
$return = array();
foreach ( $term_order as $term_id ) {
- if ( isset( $grouped_by_term["$term_id"] ) ) {
- $return = array_merge( $return, $grouped_by_term["$term_id"] );
- unset( $grouped_by_term["$term_id"] );
+ if ( isset( $grouped_by_term[ "$term_id" ] ) ) {
+ $return = array_merge( $return, $grouped_by_term[ "$term_id" ] );
+ unset( $grouped_by_term[ "$term_id" ] );
}
}
@@ -440,11 +543,12 @@ class Nova_Restaurant {
return $return;
}
-
/**
- * Add Many Items
+ * Add new "Add many items" submenu, custom colunmns, and custom bulk actions.
+ *
+ * @return void
*/
- function add_admin_menus() {
+ public function add_admin_menus() {
$hook = add_submenu_page(
'edit.php?post_type=' . self::MENU_ITEM_POST_TYPE,
__( 'Add Many Items', 'jetpack' ),
@@ -454,17 +558,21 @@ class Nova_Restaurant {
array( $this, 'add_many_new_items_page' )
);
- add_action( "load-$hook", array( $this, 'add_many_new_items_page_load' ) );
+ add_action( "load-$hook", array( $this, 'add_many_new_items_page_load' ) );
add_action( 'current_screen', array( $this, 'current_screen_load' ) );
- //Adjust 'Add Many Items' submenu position
- if ( isset( $GLOBALS['submenu']['edit.php?post_type=' . self::MENU_ITEM_POST_TYPE] ) ) {
- $submenu_item = array_pop( $GLOBALS['submenu']['edit.php?post_type=' . self::MENU_ITEM_POST_TYPE] );
- $GLOBALS['submenu']['edit.php?post_type=' . self::MENU_ITEM_POST_TYPE][11] = $submenu_item;
- ksort( $GLOBALS['submenu']['edit.php?post_type=' . self::MENU_ITEM_POST_TYPE] );
+ /*
+ * Adjust 'Add Many Items' submenu position
+ * We're making changes to the menu global, but no other choice unfortunately.
+ * phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
+ */
+ if ( isset( $GLOBALS['submenu'][ 'edit.php?post_type=' . self::MENU_ITEM_POST_TYPE ] ) ) {
+ $submenu_item = array_pop( $GLOBALS['submenu'][ 'edit.php?post_type=' . self::MENU_ITEM_POST_TYPE ] );
+ $GLOBALS['submenu'][ 'edit.php?post_type=' . self::MENU_ITEM_POST_TYPE ][11] = $submenu_item;
+ ksort( $GLOBALS['submenu'][ 'edit.php?post_type=' . self::MENU_ITEM_POST_TYPE ] );
}
-
+ // phpcs:enable WordPress.WP.GlobalVariablesOverride.Prohibited
$this->setup_menu_item_columns();
@@ -480,22 +588,28 @@ class Nova_Restaurant {
);
}
-
/**
* Custom Nova Icon CSS
+ *
+ * @return void
*/
- function set_custom_font_icon() {
- ?>
+ public function set_custom_font_icon() {
+ ?>
<style type="text/css">
#menu-posts-nova_menu_item .wp-menu-image:before {
font-family: 'nova-font' !important;
content: '\e603' !important;
}
</style>
- <?php
+ <?php
}
- function current_screen_load() {
+ /**
+ * Load Nova menu management tools on the CPT admin screen.
+ *
+ * @return void
+ */
+ public function current_screen_load() {
$screen = get_current_screen();
if ( 'edit-nova_menu_item' !== $screen->id ) {
return;
@@ -505,90 +619,143 @@ class Nova_Restaurant {
add_filter( 'admin_notices', array( $this, 'admin_notices' ) );
}
-/* Edit Items List */
+ /* Edit Items List */
- function admin_notices() {
- if ( isset( $_GET['nova_reordered'] ) )
- /* translators: this is about a food menu */
- printf( '<div class="updated"><p>%s</p></div>', __( 'Menu Items re-ordered.', 'jetpack' ) );
+ /**
+ * Display a notice in wp-admin after items have been changed.
+ *
+ * @return void
+ */
+ public function admin_notices() {
+ if ( isset( $_GET['nova_reordered'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- this is only displaying a message with no dynamic values.
+ printf(
+ '<div class="updated"><p>%s</p></div>',
+ /* translators: this is about a food menu */
+ esc_html__( 'Menu Items re-ordered.', 'jetpack' )
+ );
+ }
}
- function no_title_sorting( $columns ) {
- if ( isset( $columns['title'] ) )
+ /**
+ * Do not allow sorting by title.
+ *
+ * @param array $columns An array of sortable columns.
+ *
+ * @return array $columns.
+ */
+ public function no_title_sorting( $columns ) {
+ if ( isset( $columns['title'] ) ) {
unset( $columns['title'] );
+ }
return $columns;
}
- function setup_menu_item_columns() {
+ /**
+ * Set up custom columns for our Nova menu.
+ *
+ * @return void
+ */
+ private function setup_menu_item_columns() {
add_filter( sprintf( 'manage_edit-%s_sortable_columns', self::MENU_ITEM_POST_TYPE ), array( $this, 'no_title_sorting' ) );
add_filter( sprintf( 'manage_%s_posts_columns', self::MENU_ITEM_POST_TYPE ), array( $this, 'menu_item_columns' ) );
add_action( sprintf( 'manage_%s_posts_custom_column', self::MENU_ITEM_POST_TYPE ), array( $this, 'menu_item_column_callback' ), 10, 2 );
}
- function menu_item_columns( $columns ) {
+ /**
+ * Add custom columns to the Nova menu item list.
+ *
+ * @param array $columns An array of columns.
+ *
+ * @return array $columns.
+ */
+ public function menu_item_columns( $columns ) {
unset( $columns['date'], $columns['likes'] );
$columns['thumbnail'] = __( 'Thumbnail', 'jetpack' );
- $columns['labels'] = __( 'Labels', 'jetpack' );
- $columns['price'] = __( 'Price', 'jetpack' );
- $columns['order'] = __( 'Order', 'jetpack' );
+ $columns['labels'] = __( 'Labels', 'jetpack' );
+ $columns['price'] = __( 'Price', 'jetpack' );
+ $columns['order'] = __( 'Order', 'jetpack' );
return $columns;
}
- function menu_item_column_callback( $column, $post_id ) {
+ /**
+ * Display custom data in each new custom column we created.
+ *
+ * @param string $column The name of the column to display.
+ * @param int $post_id The current post ID.
+ *
+ * @return void
+ */
+ public function menu_item_column_callback( $column, $post_id ) {
$screen = get_current_screen();
switch ( $column ) {
case 'thumbnail':
echo get_the_post_thumbnail( $post_id, array( 50, 50 ) );
break;
- case 'labels' :
+ case 'labels':
$this->list_admin_labels( $post_id );
break;
- case 'price' :
+ case 'price':
$this->display_price( $post_id );
break;
- case 'order' :
+ case 'order':
$url = admin_url( $screen->parent_file );
- $up_url = add_query_arg( array(
- 'action' => 'move-item-up',
- 'post_id' => (int) $post_id,
- ), wp_nonce_url( $url, 'nova_move_item_up_' . $post_id ) );
+ $up_url = add_query_arg(
+ array(
+ 'action' => 'move-item-up',
+ 'post_id' => (int) $post_id,
+ ),
+ wp_nonce_url( $url, 'nova_move_item_up_' . $post_id )
+ );
- $down_url = add_query_arg( array(
- 'action' => 'move-item-down',
- 'post_id' => (int) $post_id,
- ), wp_nonce_url( $url, 'nova_move_item_down_' . $post_id ) );
- $menu_item = get_post($post_id);
+ $down_url = add_query_arg(
+ array(
+ 'action' => 'move-item-down',
+ 'post_id' => (int) $post_id,
+ ),
+ wp_nonce_url( $url, 'nova_move_item_down_' . $post_id )
+ );
+ $menu_item = get_post( $post_id );
$this->get_menu_by_post_id( $post_id );
- if ( $term_id = $this->get_menu_by_post_id( $post_id ) ) {
+ $term_id = $this->get_menu_by_post_id( $post_id );
+ if ( $term_id ) {
$term_id = $term_id->term_id;
}
- ?>
- <input type="hidden" class="menu-order-value" name="nova_order[<?php echo (int) $post_id ?>]" value="<?php echo esc_attr( $menu_item->menu_order ) ?>" />
- <input type="hidden" class='nova-menu-term' name="nova_menu_term[<?php echo (int) $post_id ?>]" value="<?php echo esc_attr( $term_id ); ?>">
+ ?>
+ <input type="hidden" class="menu-order-value" name="nova_order[<?php echo (int) $post_id; ?>]" value="<?php echo esc_attr( $menu_item->menu_order ); ?>" />
+ <input type="hidden" class='nova-menu-term' name="nova_menu_term[<?php echo (int) $post_id; ?>]" value="<?php echo esc_attr( $term_id ); ?>">
<span class="hide-if-js">
&nbsp; &nbsp; &mdash; <a class="nova-move-item-up" data-post-id="<?php echo (int) $post_id; ?>" href="<?php echo esc_url( $up_url ); ?>">up</a>
<br />
&nbsp; &nbsp; &mdash; <a class="nova-move-item-down" data-post-id="<?php echo (int) $post_id; ?>" href="<?php echo esc_url( $down_url ); ?>">down</a>
</span>
- <?php
+ <?php
break;
}
}
- function get_menu_by_post_id( $post_id = null ) {
- if ( ! $post_id )
+ /**
+ * Get menu item by post ID.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return bool|WP_Term
+ */
+ private function get_menu_by_post_id( $post_id = null ) {
+ if ( ! $post_id ) {
return false;
+ }
$terms = get_the_terms( $post_id, self::MENU_TAX );
- if ( ! is_array( $terms ) )
+ if ( ! is_array( $terms ) ) {
return false;
+ }
return array_pop( $terms );
}
@@ -596,50 +763,78 @@ class Nova_Restaurant {
/**
* Fires on a menu edit page. We might have drag-n-drop reordered
*/
- function maybe_reorder_menu_items() {
- // make sure we clicked our button
- if ( ! ( isset( $_REQUEST['menu_reorder_submit'] ) && $_REQUEST['menu_reorder_submit'] === __( 'Save New Order', 'jetpack' ) ) )
+ private function maybe_reorder_menu_items() {
+ // make sure we clicked our button.
+ if (
+ empty( $_REQUEST['menu_reorder_submit'] )
+ || __( 'Save New Order', 'jetpack' ) !== $_REQUEST['menu_reorder_submit']
+ ) {
return;
- ;
+ }
- // make sure we have the nonce
- if ( ! ( isset( $_REQUEST['drag-drop-reorder'] ) && wp_verify_nonce( $_REQUEST['drag-drop-reorder'], 'drag-drop-reorder' ) ) )
+ // make sure we have the nonce.
+ if (
+ empty( $_REQUEST['drag-drop-reorder'] )
+ || ! wp_verify_nonce( sanitize_key( $_REQUEST['drag-drop-reorder'] ), 'drag-drop-reorder' )
+ ) {
return;
+ }
- $term_pairs = array_map( 'absint', $_REQUEST['nova_menu_term'] );
+ // make sure we have data to work with.
+ if ( empty( $_REQUEST['nova_menu_term'] ) || empty( $_REQUEST['nova_order'] ) ) {
+ return;
+ }
+
+ $term_pairs = array_map( 'absint', $_REQUEST['nova_menu_term'] );
$order_pairs = array_map( 'absint', $_REQUEST['nova_order'] );
- foreach( $order_pairs as $ID => $menu_order ) {
- $ID = absint( $ID );
- unset( $order_pairs[$ID] );
- if ( $ID < 0 )
+ foreach ( $order_pairs as $id => $menu_order ) {
+ $id = absint( $id );
+ unset( $order_pairs[ $id ] );
+ if ( $id < 0 ) {
continue;
+ }
- $post = get_post( $ID );
- if ( ! $post )
+ $post = get_post( $id );
+ if ( ! $post ) {
continue;
+ }
// save a write if the order hasn't changed
- if ( $menu_order != $post->menu_order )
- wp_update_post( compact( 'ID', 'menu_order' ) );
+ if ( (int) $menu_order !== $post->menu_order ) {
+ $args = array(
+ 'ID' => $id,
+ 'menu_order' => $menu_order,
+ );
+ wp_update_post( $args );
+ }
// save a write if the term hasn't changed
- if ( $term_pairs[$ID] != $this->get_menu_by_post_id( $ID )->term_id )
- wp_set_object_terms( $ID, $term_pairs[$ID], self::MENU_TAX );
-
+ if ( (int) $term_pairs[ $id ] !== $this->get_menu_by_post_id( $id )->term_id ) {
+ wp_set_object_terms( $id, $term_pairs[ $id ], self::MENU_TAX );
+ }
}
- $redirect = add_query_arg( array(
- 'post_type' => self::MENU_ITEM_POST_TYPE,
- 'nova_reordered' => '1'
- ), admin_url( 'edit.php' ) );
+ $redirect = add_query_arg(
+ array(
+ 'post_type' => self::MENU_ITEM_POST_TYPE,
+ 'nova_reordered' => '1',
+ ),
+ admin_url( 'edit.php' )
+ );
wp_safe_redirect( $redirect );
exit;
}
- function edit_menu_items_page_load() {
- if ( isset( $_GET['action'] ) ) {
+ /**
+ * Handle changes to menu items.
+ * (process actions, update data, enqueue necessary scripts).
+ *
+ * @return void
+ */
+ private function edit_menu_items_page_load() {
+ if ( isset( $_GET['action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- we process the form and check nonces in handle_menu_item_actions.
$this->handle_menu_item_actions();
}
@@ -656,161 +851,191 @@ class Nova_Restaurant {
true
);
- wp_localize_script( 'nova-drag-drop', '_novaDragDrop', array(
- 'nonce' => wp_create_nonce( 'drag-drop-reorder' ),
- 'nonceName' => 'drag-drop-reorder',
- 'reorder' => __( 'Save New Order', 'jetpack' ),
- 'reorderName' => 'menu_reorder_submit'
- ) );
+ wp_localize_script(
+ 'nova-drag-drop',
+ '_novaDragDrop',
+ array(
+ 'nonce' => wp_create_nonce( 'drag-drop-reorder' ),
+ 'nonceName' => 'drag-drop-reorder',
+ 'reorder' => __( 'Save New Order', 'jetpack' ),
+ 'reorderName' => 'menu_reorder_submit',
+ )
+ );
add_action( 'the_post', array( $this, 'show_menu_titles_in_menu_item_list' ) );
}
- function handle_menu_item_actions() {
- $action = (string) $_GET['action'];
+ /**
+ * Process actions to move menu items around.
+ *
+ * @return void
+ */
+ private function handle_menu_item_actions() {
+ if ( isset( $_GET['action'] ) ) {
+ $action = (string) wp_unslash( $_GET['action'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- we check for nonces below, and check against specific strings in switch statement.
+ } else {
+ return;
+ }
switch ( $action ) {
- case 'move-item-up' :
- case 'move-item-down' :
- $reorder = false;
-
- $post_id = (int) $_GET['post_id'];
+ case 'move-item-up':
+ case 'move-item-down':
+ $reorder = false;
- $term = $this->get_menu_item_menu_leaf( $post_id );
+ if ( empty( $_GET['post_id'] ) ) {
+ break;
+ }
- // Get all posts in that term
- $query = new WP_Query( array(
- 'taxonomy' => self::MENU_TAX,
- 'term' => $term->slug,
- ) );
+ $post_id = (int) $_GET['post_id'];
- $order = array();
- foreach ( $query->posts as $post ) {
- $order[] = $post->ID;
- }
+ $term = $this->get_menu_item_menu_leaf( $post_id );
- if ( 'move-item-up' == $action ) {
- check_admin_referer( 'nova_move_item_up_' . $post_id );
+ // Get all posts in that term.
+ $query = new WP_Query(
+ array(
+ 'taxonomy' => self::MENU_TAX,
+ 'term' => $term->slug,
+ )
+ );
- $first_post_id = $order[0];
- if ( $post_id == $first_post_id ) {
- break;
+ $order = array();
+ foreach ( $query->posts as $post ) {
+ $order[] = $post->ID;
}
- foreach ( $order as $menu_order => $order_post_id ) {
- if ( $post_id != $order_post_id ) {
- continue;
+ if ( 'move-item-up' === $action ) {
+ check_admin_referer( 'nova_move_item_up_' . $post_id );
+
+ $first_post_id = $order[0];
+ if ( $post_id === $first_post_id ) {
+ break;
}
- $swap_post_id = $order[$menu_order - 1];
- $order[$menu_order - 1] = $post_id;
- $order[$menu_order] = $swap_post_id;
+ foreach ( $order as $menu_order => $order_post_id ) {
+ if ( $post_id !== $order_post_id ) {
+ continue;
+ }
- $reorder = true;
- break;
- }
- } else {
- check_admin_referer( 'nova_move_item_down_' . $post_id );
+ $swap_post_id = $order[ $menu_order - 1 ];
+ $order[ $menu_order - 1 ] = $post_id;
+ $order[ $menu_order ] = $swap_post_id;
- $last_post_id = end( $order );
- if ( $post_id == $last_post_id ) {
- break;
- }
+ $reorder = true;
+ break;
+ }
+ } else {
+ check_admin_referer( 'nova_move_item_down_' . $post_id );
- foreach ( $order as $menu_order => $order_post_id ) {
- if ( $post_id != $order_post_id ) {
- continue;
+ $last_post_id = end( $order );
+ if ( $post_id === $last_post_id ) {
+ break;
}
- $swap_post_id = $order[$menu_order + 1];
- $order[$menu_order + 1] = $post_id;
- $order[$menu_order] = $swap_post_id;
+ foreach ( $order as $menu_order => $order_post_id ) {
+ if ( $post_id !== $order_post_id ) {
+ continue;
+ }
- $reorder = true;
- }
- }
+ $swap_post_id = $order[ $menu_order + 1 ];
+ $order[ $menu_order + 1 ] = $post_id;
+ $order[ $menu_order ] = $swap_post_id;
- if ( $reorder ) {
- foreach ( $order as $menu_order => $ID ) {
- wp_update_post( compact( 'ID', 'menu_order' ) );
+ $reorder = true;
+ }
}
- }
- break;
- case 'move-menu-up' :
- case 'move-menu-down' :
- $reorder = false;
+ if ( $reorder ) {
+ foreach ( $order as $menu_order => $id ) {
+ wp_update_post( compact( 'id', 'menu_order' ) );
+ }
+ }
- $term_id = (int) $_GET['term_id'];
+ break;
+ case 'move-menu-up':
+ case 'move-menu-down':
+ $reorder = false;
- $terms = $this->get_menus();
+ if ( empty( $_GET['term_id'] ) ) {
+ break;
+ }
- $order = array();
- foreach ( $terms as $term ) {
- $order[] = $term->term_id;
- }
+ $term_id = (int) $_GET['term_id'];
- if ( 'move-menu-up' == $action ) {
- check_admin_referer( 'nova_move_menu_up_' . $term_id );
+ $terms = $this->get_menus();
- $first_term_id = $order[0];
- if ( $term_id == $first_term_id ) {
- break;
+ $order = array();
+ foreach ( $terms as $term ) {
+ $order[] = $term->term_id;
}
- foreach ( $order as $menu_order => $order_term_id ) {
- if ( $term_id != $order_term_id ) {
- continue;
+ if ( 'move-menu-up' === $action ) {
+ check_admin_referer( 'nova_move_menu_up_' . $term_id );
+
+ $first_term_id = $order[0];
+ if ( $term_id === $first_term_id ) {
+ break;
}
- $swap_term_id = $order[$menu_order - 1];
- $order[$menu_order - 1] = $term_id;
- $order[$menu_order] = $swap_term_id;
+ foreach ( $order as $menu_order => $order_term_id ) {
+ if ( $term_id !== $order_term_id ) {
+ continue;
+ }
- $reorder = true;
- break;
- }
- } else {
- check_admin_referer( 'nova_move_menu_down_' . $term_id );
+ $swap_term_id = $order[ $menu_order - 1 ];
+ $order[ $menu_order - 1 ] = $term_id;
+ $order[ $menu_order ] = $swap_term_id;
- $last_term_id = end( $order );
- if ( $term_id == $last_term_id ) {
- break;
- }
+ $reorder = true;
+ break;
+ }
+ } else {
+ check_admin_referer( 'nova_move_menu_down_' . $term_id );
- foreach ( $order as $menu_order => $order_term_id ) {
- if ( $term_id != $order_term_id ) {
- continue;
+ $last_term_id = end( $order );
+ if ( $term_id === $last_term_id ) {
+ break;
}
- $swap_term_id = $order[$menu_order + 1];
- $order[$menu_order + 1] = $term_id;
- $order[$menu_order] = $swap_term_id;
+ foreach ( $order as $menu_order => $order_term_id ) {
+ if ( $term_id !== $order_term_id ) {
+ continue;
+ }
- $reorder = true;
+ $swap_term_id = $order[ $menu_order + 1 ];
+ $order[ $menu_order + 1 ] = $term_id;
+ $order[ $menu_order ] = $swap_term_id;
+
+ $reorder = true;
+ }
}
- }
- if ( $reorder ) {
- update_option( 'nova_menu_order', $order );
- }
+ if ( $reorder ) {
+ update_option( 'nova_menu_order', $order );
+ }
- break;
- default :
- return;
+ break;
+ default:
+ return;
}
- $redirect = add_query_arg( array(
- 'post_type' => self::MENU_ITEM_POST_TYPE,
- 'nova_reordered' => '1'
- ), admin_url( 'edit.php' ) );
+ $redirect = add_query_arg(
+ array(
+ 'post_type' => self::MENU_ITEM_POST_TYPE,
+ 'nova_reordered' => '1',
+ ),
+ admin_url( 'edit.php' )
+ );
wp_safe_redirect( $redirect );
exit;
}
- /*
+ /**
* Add menu title rows to the list table
+ *
+ * @param WP_Post $post The Post object.
+ *
+ * @return void
*/
- function show_menu_titles_in_menu_item_list( $post ) {
+ public function show_menu_titles_in_menu_item_list( $post ) {
global $wp_list_table;
static $last_term_id = false;
@@ -823,13 +1048,13 @@ class Nova_Restaurant {
return;
}
- if ( is_null( $term_id ) ) {
+ if ( $term_id === null ) {
$last_term_id = null;
- $term_name = '';
+ $term_name = '';
$parent_count = 0;
} else {
$last_term_id = $term->term_id;
- $term_name = $term->name;
+ $term_name = $term->name;
$parent_count = 0;
$current_term = $term;
while ( $current_term->parent ) {
@@ -844,46 +1069,63 @@ class Nova_Restaurant {
$url = admin_url( $screen->parent_file );
- $up_url = add_query_arg( array(
- 'action' => 'move-menu-up',
- 'term_id' => (int) $term_id,
- ), wp_nonce_url( $url, 'nova_move_menu_up_' . $term_id ) );
+ $up_url = add_query_arg(
+ array(
+ 'action' => 'move-menu-up',
+ 'term_id' => (int) $term_id,
+ ),
+ wp_nonce_url( $url, 'nova_move_menu_up_' . $term_id )
+ );
- $down_url = add_query_arg( array(
- 'action' => 'move-menu-down',
- 'term_id' => (int) $term_id,
- ), wp_nonce_url( $url, 'nova_move_menu_down_' . $term_id ) );
+ $down_url = add_query_arg(
+ array(
+ 'action' => 'move-menu-down',
+ 'term_id' => (int) $term_id,
+ ),
+ wp_nonce_url( $url, 'nova_move_menu_down_' . $term_id )
+ );
-?>
- <tr class="no-items menu-label-row" data-term_id="<?php echo esc_attr( $term_id ) ?>">
+ ?>
+ <tr class="no-items menu-label-row" data-term_id="<?php echo esc_attr( $term_id ); ?>">
<td class="colspanchange" colspan="<?php echo (int) $non_order_column_count; ?>">
- <h3><?php
- echo str_repeat( ' &mdash; ', (int) $parent_count );
+ <h3>
+ <?php
+ echo str_repeat( ' &mdash; ', (int) $parent_count ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- nothing to escape here.
- if ( $term instanceof WP_Term ) {
- echo esc_html( sanitize_term_field( 'name', $term_name, $term_id, self::MENU_TAX, 'display' ) );
- edit_term_link( __( 'edit', 'jetpack' ), '<span class="edit-nova-section"><span class="dashicon dashicon-edit"></span>', '</span>', $term );
+ if ( $term instanceof WP_Term ) {
+ echo esc_html( sanitize_term_field( 'name', $term_name, $term_id, self::MENU_TAX, 'display' ) );
+ edit_term_link( __( 'edit', 'jetpack' ), '<span class="edit-nova-section"><span class="dashicon dashicon-edit"></span>', '</span>', $term );
- } else {
- _e( 'Uncategorized' , 'jetpack' );
- }
- ?></h3>
+ } else {
+ esc_html_e( 'Uncategorized', 'jetpack' );
+ }
+ ?>
+ </h3>
</td>
<td>
<?php if ( $term instanceof WP_Term ) { ?>
- <a class="nova-move-menu-up" title="<?php esc_attr_e( 'Move menu section up', 'jetpack' ); ?>" href="<?php echo esc_url( $up_url ); ?>"><?php esc_html_e( 'UP', 'jetpack' ); ?></a>
+ <a class="nova-move-menu-up" title="<?php esc_attr_e( 'Move menu section up', 'jetpack' ); ?>" href="<?php echo esc_url( $up_url ); ?>"><?php echo esc_html_x( 'UP', 'indicates movement (up or down)', 'jetpack' ); ?></a>
<br />
- <a class="nova-move-menu-down" title="<?php esc_attr_e( 'Move menu section down', 'jetpack' ); ?>" href="<?php echo esc_url( $down_url ); ?>"><?php esc_html_e( 'DOWN', 'jetpack' ); ?></a>
+ <a class="nova-move-menu-down" title="<?php esc_attr_e( 'Move menu section down', 'jetpack' ); ?>" href="<?php echo esc_url( $down_url ); ?>"><?php echo esc_html_x( 'DOWN', 'indicates movement (up or down)', 'jetpack' ); ?></a>
<?php } ?>
</td>
</tr>
-<?php
+ <?php
}
-/* Edit Many Items */
+ /* Edit Many Items */
- function add_many_new_items_page_load() {
- if ( 'POST' === strtoupper( $_SERVER['REQUEST_METHOD'] ) ) {
+ /**
+ * Handle form submissions that aim to add many menu items at once.
+ * (process posted data and enqueue necessary script).
+ *
+ * @return void
+ */
+ public function add_many_new_items_page_load() {
+ if (
+ isset( $_SERVER['REQUEST_METHOD'] )
+ && 'POST' === strtoupper( sanitize_text_field( wp_unslash( $_SERVER['REQUEST_METHOD'] ) ) )
+ ) {
$this->process_form_request();
exit;
}
@@ -891,7 +1133,12 @@ class Nova_Restaurant {
$this->enqueue_many_items_scripts();
}
- function enqueue_many_items_scripts() {
+ /**
+ * Enqueue script to create many items at once.
+ *
+ * @return void
+ */
+ public function enqueue_many_items_scripts() {
wp_enqueue_script(
'nova-many-items',
Assets::get_file_url_for_environment(
@@ -904,12 +1151,17 @@ class Nova_Restaurant {
);
}
- function process_form_request() {
- if ( !isset( $_POST['nova_title'] ) || !is_array( $_POST['nova_title'] ) ) {
+ /**
+ * Process form request to create many items at once.
+ *
+ * @return void
+ */
+ private function process_form_request() {
+ if ( ! isset( $_POST['nova_title'] ) || ! is_array( $_POST['nova_title'] ) ) {
return;
}
- $is_ajax = !empty( $_POST['ajax'] );
+ $is_ajax = ! empty( $_POST['ajax'] );
if ( $is_ajax ) {
check_ajax_referer( 'nova_many_items' );
@@ -917,37 +1169,54 @@ class Nova_Restaurant {
check_admin_referer( 'nova_many_items' );
}
- foreach ( array_keys( $_POST['nova_title'] ) as $key ) :
- // $_POST is already slashed
+ /*
+ * $_POST is already slashed
+ * phpcs:disable WordPress.Security.ValidatedSanitizedInput.MissingUnslash
+ */
+ foreach ( array_keys( $_POST['nova_title'] ) as $key ) : // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- we sanitize below.
$post_details = array(
'post_status' => 'publish',
'post_type' => self::MENU_ITEM_POST_TYPE,
- 'post_content' => $_POST['nova_content'][$key],
- 'post_title' => $_POST['nova_title'][$key],
+ 'post_content' => ! empty( $_POST['nova_content'] ) && ! empty( $_POST['nova_content'][ $key ] )
+ ? sanitize_text_field( $_POST['nova_content'][ $key ] )
+ : '',
+ 'post_title' => isset( $_POST['nova_title'][ $key ] )
+ ? sanitize_title( $_POST['nova_title'][ $key ] )
+ : '',
'tax_input' => array(
- self::MENU_ITEM_LABEL_TAX => $_POST['nova_labels'][$key],
- self::MENU_TAX => isset( $_POST['nova_menu_tax'] ) ? $_POST['nova_menu_tax'] : null,
+ self::MENU_ITEM_LABEL_TAX => isset( $_POST['nova_labels'][ $key ] )
+ ? sanitize_meta( self::MENU_ITEM_LABEL_TAX, $_POST['nova_labels'][ $key ], 'term' )
+ : null,
+ self::MENU_TAX => isset( $_POST['nova_menu_tax'] )
+ ? sanitize_meta( self::MENU_TAX, $_POST['nova_menu_tax'], 'term' )
+ : null,
),
);
$post_id = wp_insert_post( $post_details );
- if ( !$post_id || is_wp_error( $post_id ) ) {
+ if ( ! $post_id || is_wp_error( $post_id ) ) {
continue;
}
- $this->set_price( $post_id, isset( $_POST['nova_price'][$key] ) ? stripslashes( $_POST['nova_price'][$key] ) : '' );
+ $this->set_price(
+ $post_id,
+ isset( $_POST['nova_price'][ $key ] )
+ ? sanitize_meta( 'nova_price', $_POST['nova_price'][ $key ], 'post' )
+ : ''
+ );
+ // phpcs:enable WordPress.Security.ValidatedSanitizedInput.MissingUnslash
if ( $is_ajax ) :
- $post = get_post( $post_id );
- $GLOBALS['post'] = $post;
+ $post = get_post( $post_id );
+ $GLOBALS['post'] = $post; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
setup_postdata( $post );
-?>
+ ?>
<td><?php the_title(); ?></td>
<td class="nova-price"><?php $this->display_price(); ?></td>
<td><?php $this->list_labels( $post_id ); ?></td>
<td><?php the_content(); ?></td>
-<?php
+ <?php
endif;
endforeach;
@@ -960,28 +1229,59 @@ class Nova_Restaurant {
exit;
}
- function add_many_new_items_page() {
-?>
+ /**
+ * Admin page contents for adding many menu items at once.
+ *
+ * @return void
+ */
+ public function add_many_new_items_page() {
+ ?>
<div class="wrap">
<h2><?php esc_html_e( 'Add Many Items', 'jetpack' ); ?></h2>
- <p><?php _e( 'Use the <kbd>TAB</kbd> key on your keyboard to move between colums and the <kbd>ENTER</kbd> or <kbd>RETURN</kbd> key to save each row and move on to the next.', 'jetpack' ); ?></p>
+ <p>
+ <?php
+ echo wp_kses(
+ __( 'Use the <kbd>TAB</kbd> key on your keyboard to move between colums and the <kbd>ENTER</kbd> or <kbd>RETURN</kbd> key to save each row and move on to the next.', 'jetpack' ),
+ array(
+ 'kbd' => array(),
+ )
+ );
+ ?>
+ </p>
<form method="post" action="" enctype="multipart/form-data">
- <p><h3><?php esc_html_e( 'Add to section:', 'jetpack' ); ?> <?php wp_dropdown_categories( array(
- 'id' => 'nova-menu-tax',
- 'name' => 'nova_menu_tax',
- 'taxonomy' => self::MENU_TAX,
- 'hide_empty' => false,
- 'hierarchical' => true,
- ) ); ?></h3></p>
+ <p>
+ <h3><?php esc_html_e( 'Add to section:', 'jetpack' ); ?>
+ <?php
+ wp_dropdown_categories(
+ array(
+ 'id' => 'nova-menu-tax',
+ 'name' => 'nova_menu_tax',
+ 'taxonomy' => self::MENU_TAX,
+ 'hide_empty' => false,
+ 'hierarchical' => true,
+ )
+ );
+ ?>
+ </h3></p>
<table class="many-items-table wp-list-table widefat">
<thead>
<tr>
<th scope="col"><?php esc_html_e( 'Name', 'jetpack' ); ?></th>
<th scope="col" class="nova-price"><?php esc_html_e( 'Price', 'jetpack' ); ?></th>
- <th scope="col"><?php _e( 'Labels: <small>spicy, favorite, etc. <em>Separate Labels with commas</em></small>', 'jetpack' ); ?></th>
+ <th scope="col">
+ <?php
+ echo wp_kses(
+ __( 'Labels: <small>spicy, favorite, etc. <em>Separate Labels with commas</em></small>', 'jetpack' ),
+ array(
+ 'small' => array(),
+ 'em' => array(),
+ )
+ );
+ ?>
+ </th>
<th scope="col"><?php esc_html_e( 'Description', 'jetpack' ); ?></th>
</tr>
</thead>
@@ -1003,7 +1303,7 @@ class Nova_Restaurant {
</tbody>
<tfoot>
<tr>
- <th><a class="button button-secondary nova-new-row"><span class="dashicon dashicon-plus"></span> <?php esc_html_e( 'New Row' , 'jetpack' ); ?></a></th>
+ <th><a class="button button-secondary nova-new-row"><span class="dashicon dashicon-plus"></span> <?php esc_html_e( 'New Row', 'jetpack' ); ?></a></th>
<th class="nova-price"></th>
<th></th>
<th></th>
@@ -1017,57 +1317,96 @@ class Nova_Restaurant {
</p>
</form>
</div>
-<?php
+ <?php
}
-/* Edit One Item */
+ /* Edit One Item */
- function register_menu_item_meta_boxes() {
+ /**
+ * Create admin meta box to save price for a menu item,
+ * and add script to add extra checkboxes to the UI.
+ *
+ * @return void
+ */
+ public function register_menu_item_meta_boxes() {
wp_enqueue_script( 'nova-menu-checkboxes' );
- add_meta_box( 'menu_item_price', __( 'Price', 'jetpack' ), array( $this, 'menu_item_price_meta_box' ), null, 'side', 'high' );
+ add_meta_box(
+ 'menu_item_price',
+ __( 'Price', 'jetpack' ),
+ array( $this, 'menu_item_price_meta_box' ),
+ null,
+ 'side',
+ 'high'
+ );
}
- function menu_item_price_meta_box( $post, $meta_box ) {
- $price = $this->get_price( $post->ID );
-?>
- <label for="nova-price-<?php echo (int) $post->ID; ?>" class="screen-reader-text"><?php esc_html_e( 'Price', 'jetpack' ); ?></label>
- <input type="text" id="nova-price-<?php echo (int) $post->ID; ?>" class="widefat" name="nova_price[<?php echo (int) $post->ID; ?>]" value="<?php echo esc_attr( $price ); ?>" />
-<?php
+ /**
+ * Meta box to edit the price of a menu item.
+ *
+ * @param WP_Post $post The post object.
+ *
+ * @return void
+ */
+ public function menu_item_price_meta_box( $post ) {
+ printf(
+ '<label for="nova-price-%1$s" class="screen-reader-text">%2$s</label><input type="text" id="nova-price-%1$s" class="widefat" name="nova_price[%1$s]" value="%3$s" />',
+ (int) $post->ID,
+ esc_html__( 'Price', 'jetpack' ),
+ esc_attr( $this->get_price( (int) $post->ID ) )
+ );
}
- function add_post_meta( $post_id ) {
- if ( !isset( $_POST['nova_price'][$post_id] ) ) {
+ /**
+ * Save the price of a menu item.
+ *
+ * @param int $post_id Post ID.
+ */
+ public function add_post_meta( $post_id ) {
+ if ( ! isset( $_POST['nova_price'][ $post_id ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- nonce handling happens via core, since we hook into wp_insert_post.
return;
}
- $this->set_price( $post_id, stripslashes( $_POST['nova_price'][$post_id] ) );
+ $this->set_price(
+ $post_id,
+ sanitize_meta( 'nova_price', wp_unslash( $_POST['nova_price'][ $post_id ] ), 'post' ) // phpcs:ignore WordPress.Security.NonceVerification.Missing -- nonce handling happens via core, since we hook into wp_insert_post.
+ );
}
-/* Data */
+ /* Data */
- function get_menus( $args = array() ) {
- $args = wp_parse_args( $args, array(
- 'hide_empty' => false,
- ) );
+ /**
+ * Get ordered array of menu items.
+ *
+ * @param array $args Optional argumments.
+ *
+ * @return array
+ */
+ private function get_menus( $args = array() ) {
+ $args = wp_parse_args(
+ $args,
+ array(
+ 'hide_empty' => false,
+ )
+ );
$terms = get_terms( self::MENU_TAX, $args );
- if ( !$terms || is_wp_error( $terms ) ) {
+ if ( ! $terms || is_wp_error( $terms ) ) {
return array();
}
$terms_by_id = array();
foreach ( $terms as $term ) {
- $terms_by_id["{$term->term_id}"] = $term;
+ $terms_by_id[ "{$term->term_id}" ] = $term;
}
$term_order = get_option( 'nova_menu_order', array() );
$return = array();
foreach ( $term_order as $term_id ) {
- if ( isset( $terms_by_id["$term_id"] ) ) {
- $return[] = $terms_by_id["$term_id"];
- unset( $terms_by_id["$term_id"] );
+ if ( isset( $terms_by_id[ "$term_id" ] ) ) {
+ $return[] = $terms_by_id[ "$term_id" ];
+ unset( $terms_by_id[ "$term_id" ] );
}
}
@@ -1078,8 +1417,15 @@ class Nova_Restaurant {
return $return;
}
- function get_menu_item_menu_leaf( $post_id ) {
- // Get first menu taxonomy "leaf"
+ /**
+ * Get first menu taxonomy "leaf".
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return bool|WP_Term|WP_Error|null
+ */
+ private function get_menu_item_menu_leaf( $post_id ) {
+ // Get first menu taxonomy "leaf".
$term_ids = wp_get_object_terms( $post_id, self::MENU_TAX, array( 'fields' => 'ids' ) );
foreach ( $term_ids as $term_id ) {
@@ -1097,54 +1443,100 @@ class Nova_Restaurant {
}
- function list_labels( $post_id = 0 ) {
+ /**
+ * Get a list of the labels linked to a menu item.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return void
+ */
+ private function list_labels( $post_id = 0 ) {
$post = get_post( $post_id );
echo get_the_term_list( $post->ID, self::MENU_ITEM_LABEL_TAX, '', _x( ', ', 'Nova label separator', 'jetpack' ), '' );
}
- function list_admin_labels( $post_id = 0 ) {
- $post = get_post( $post_id );
+ /**
+ * Get a list of the labels linked to a menu item, with links to manage them.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return void
+ */
+ private function list_admin_labels( $post_id = 0 ) {
+ $post = get_post( $post_id );
$labels = get_the_terms( $post->ID, self::MENU_ITEM_LABEL_TAX );
- if ( !empty( $labels ) ) {
+ if ( ! empty( $labels ) ) {
$out = array();
foreach ( $labels as $label ) {
- $out[] = sprintf( '<a href="%s">%s</a>',
- esc_url( add_query_arg( array(
- 'post_type' => self::MENU_ITEM_POST_TYPE,
- 'taxonomy' => self::MENU_ITEM_LABEL_TAX,
- 'term' => $label->slug
- ), 'edit.php' ) ),
- esc_html( sanitize_term_field( 'name', $label->name, $label->term_id, self::MENU_ITEM_LABEL_TAX, 'display' ) )
+ $out[] = sprintf(
+ '<a href="%s">%s</a>',
+ esc_url(
+ add_query_arg(
+ array(
+ 'post_type' => self::MENU_ITEM_POST_TYPE,
+ 'taxonomy' => self::MENU_ITEM_LABEL_TAX,
+ 'term' => $label->slug,
+ ),
+ 'edit.php'
+ )
+ ),
+ esc_html(
+ sanitize_term_field( 'name', $label->name, $label->term_id, self::MENU_ITEM_LABEL_TAX, 'display' )
+ )
);
}
- echo join( _x( ', ', 'Nova label separator', 'jetpack' ), $out );
+ echo join( _x( ', ', 'Nova label separator', 'jetpack' ), $out ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- we build $out ourselves and escape things there.
} else {
esc_html_e( 'No Labels', 'jetpack' );
}
}
- function set_price( $post_id = 0, $price = '' ) {
- $post = get_post( $post_id );
-
- return update_post_meta( $post->ID, 'nova_price', $price );
+ /**
+ * Update post meta with the price defined in meta box.
+ *
+ * @param int $post_id Post ID.
+ * @param string $price Price.
+ *
+ * @return int|bool
+ */
+ private function set_price( $post_id = 0, $price = '' ) {
+ return update_post_meta( $post_id, 'nova_price', $price );
}
- function get_price( $post_id = 0 ) {
- $post = get_post( $post_id );
-
- return get_post_meta( $post->ID, 'nova_price', true );
+ /**
+ * Get the price of a menu item.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return bool|string
+ */
+ private function get_price( $post_id = 0 ) {
+ return get_post_meta( $post_id, 'nova_price', true );
}
- function display_price( $post_id = 0 ) {
+ /**
+ * Echo the price of a menu item.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return void
+ */
+ private function display_price( $post_id = 0 ) {
echo esc_html( $this->get_price( $post_id ) );
}
-/* Menu Item Loop Markup */
-
- /* Does not support nested loops */
+ /* Menu Item Loop Markup */
- function get_menu_item_loop_markup( $field = null ) {
+ /**
+ * Get markup for a menu item.
+ * Note: Does not support nested loops.
+ *
+ * @param null|string $field The field to get the value for.
+ *
+ * @return array
+ */
+ private function get_menu_item_loop_markup( $field = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return $this->menu_item_loop_markup;
}
@@ -1153,10 +1545,11 @@ class Nova_Restaurant {
* Attached to the 'template_include' *filter*,
* which fires only during a real blog view (not in admin, feeds, etc.)
*
- * @param string Template File
+ * @param string $template Template File.
+ *
* @return string Template File. VERY Important.
*/
- function setup_menu_item_loop_markup__in_filter( $template ) {
+ public function setup_menu_item_loop_markup__in_filter( $template ) {
add_action( 'loop_start', array( $this, 'start_menu_item_loop' ) );
return $template;
@@ -1166,10 +1559,12 @@ class Nova_Restaurant {
* If the Query is a Menu Item Query, start outputing the Menu Item Loop Marku
* Attached to the 'loop_start' action.
*
- * @param WP_Query
+ * @param WP_Query $query Post query.
+ *
+ * @return void
*/
- function start_menu_item_loop( $query ) {
- if ( !$this->is_menu_item_query( $query ) ) {
+ public function start_menu_item_loop( $query ) {
+ if ( ! $this->is_menu_item_query( $query ) ) {
return;
}
@@ -1184,9 +1579,11 @@ class Nova_Restaurant {
* Outputs the Menu Item Loop Marku
* Attached to the 'the_post' action.
*
- * @param WP_Post
+ * @param WP_Post $post Post object.
+ *
+ * @return void
*/
- function menu_item_loop_each_post( $post ) {
+ public function menu_item_loop_each_post( $post ) {
$this->menu_item_loop_current_term = $this->get_menu_item_menu_leaf( $post->ID );
if ( false === $this->menu_item_loop_last_term_id ) {
@@ -1194,7 +1591,7 @@ class Nova_Restaurant {
$this->menu_item_loop_open_element( 'menu' ); // Start a new menu section
$this->menu_item_loop_header(); // Output the menu's header
- } elseif ( $this->menu_item_loop_last_term_id != $this->menu_item_loop_current_term->term_id ) {
+ } elseif ( $this->menu_item_loop_last_term_id !== $this->menu_item_loop_current_term->term_id ) {
// We're not at the very beginning but still need to start a new menu section. End the previous menu section first.
$this->menu_item_loop_close_element( 'menu' ); // End the previous menu section
@@ -1209,10 +1606,12 @@ class Nova_Restaurant {
* If the Query is a Menu Item Query, stop outputing the Menu Item Loop Marku
* Attached to the 'loop_end' action.
*
- * @param WP_Query
+ * @param WP_Query $query Post query.
+ *
+ * @return void
*/
- function stop_menu_item_loop( $query ) {
- if ( !$this->is_menu_item_query( $query ) ) {
+ public function stop_menu_item_loop( $query ) {
+ if ( ! $this->is_menu_item_query( $query ) ) {
return;
}
@@ -1225,8 +1624,10 @@ class Nova_Restaurant {
/**
* Outputs the Menu Group Header
+ *
+ * @return void
*/
- function menu_item_loop_header() {
+ private function menu_item_loop_header() {
$this->menu_item_loop_open_element( 'menu_header' );
$this->menu_item_loop_open_element( 'menu_title' );
echo esc_html( $this->menu_item_loop_current_term->name ); // @todo tax filter
@@ -1243,8 +1644,10 @@ class Nova_Restaurant {
* Outputs a Menu Item Markup element opening tag
*
* @param string $field - Menu Item Markup settings field.
+ *
+ * @return void
*/
- function menu_item_loop_open_element( $field ) {
+ private function menu_item_loop_open_element( $field ) {
$markup = $this->get_menu_item_loop_markup();
/**
* Filter a menu item's element opening tag.
@@ -1258,9 +1661,9 @@ class Nova_Restaurant {
* @param array $markup Array of markup elements for the menu item.
* @param false|object $term Taxonomy term for current menu item.
*/
- echo apply_filters(
+ echo apply_filters( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- it's escaped in menu_item_loop_class.
'jetpack_nova_menu_item_loop_open_element',
- '<' . tag_escape( $markup["{$field}_tag"] ) . $this->menu_item_loop_class( $markup["{$field}_class"] ) . ">\n",
+ '<' . tag_escape( $markup[ "{$field}_tag" ] ) . $this->menu_item_loop_class( $markup[ "{$field}_class" ] ) . ">\n",
$field,
$markup,
$this->menu_item_loop_current_term
@@ -1270,9 +1673,11 @@ class Nova_Restaurant {
/**
* Outputs a Menu Item Markup element closing tag
*
- * @param string $field - Menu Item Markup settings field
+ * @param string $field - Menu Item Markup settings field.
+ *
+ * @return void
*/
- function menu_item_loop_close_element( $field ) {
+ private function menu_item_loop_close_element( $field ) {
$markup = $this->get_menu_item_loop_markup();
/**
* Filter a menu item's element closing tag.
@@ -1286,9 +1691,9 @@ class Nova_Restaurant {
* @param array $markup Array of markup elements for the menu item.
* @param false|object $term Taxonomy term for current menu item.
*/
- echo apply_filters(
+ echo apply_filters( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- tag_escape is used.
'jetpack_nova_menu_item_loop_close_element',
- '</' . tag_escape( $markup["{$field}_tag"] ) . ">\n",
+ '</' . tag_escape( $markup[ "{$field}_tag" ] ) . ">\n",
$field,
$markup,
$this->menu_item_loop_current_term
@@ -1299,9 +1704,10 @@ class Nova_Restaurant {
* Returns a Menu Item Markup element's class attribute.
*
* @param string $class Class name.
- * @return string HTML class attribute with leading whitespace.
+ *
+ * @return string HTML class attribute with leading whitespace.
*/
- function menu_item_loop_class( $class ) {
+ private function menu_item_loop_class( $class ) {
if ( ! $class ) {
return '';
}
diff --git a/plugins/jetpack/modules/custom-post-types/portfolios.php b/plugins/jetpack/modules/custom-post-types/portfolios.php
index 2fda4bd7..2fc0432c 100644
--- a/plugins/jetpack/modules/custom-post-types/portfolios.php
+++ b/plugins/jetpack/modules/custom-post-types/portfolios.php
@@ -1,5 +1,13 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Register a portfolio post type and handle displaying it anywhere on the site.
+ *
+ * @package automattic/jetpack
+ */
+
+/**
+ * Jetpack Portfolio.
+ */
class Jetpack_Portfolio {
const CUSTOM_POST_TYPE = 'jetpack-portfolio';
const CUSTOM_TAXONOMY_TYPE = 'jetpack-portfolio-type';
@@ -7,13 +15,14 @@ class Jetpack_Portfolio {
const OPTION_NAME = 'jetpack_portfolio';
const OPTION_READING_SETTING = 'jetpack_portfolio_posts_per_page';
- public $version = '0.1';
-
- static function init() {
+ /**
+ * Initialize class.
+ */
+ public static function init() {
static $instance = false;
if ( ! $instance ) {
- $instance = new Jetpack_Portfolio;
+ $instance = new Jetpack_Portfolio();
}
return $instance;
@@ -25,72 +34,87 @@ class Jetpack_Portfolio {
* Setup user option for enabling CPT
* If user has CPT enabled, show in admin
*/
- function __construct() {
- // Add an option to enable the CPT
- add_action( 'admin_init', array( $this, 'settings_api_init' ) );
+ public function __construct() {
+ // Add an option to enable the CPT.
+ add_action( 'admin_init', array( $this, 'settings_api_init' ) );
- // Check on theme switch if theme supports CPT and setting is disabled
- add_action( 'after_switch_theme', array( $this, 'activation_post_type_support' ) );
+ // Check on theme switch if theme supports CPT and setting is disabled.
+ add_action( 'after_switch_theme', array( $this, 'activation_post_type_support' ) );
- // Make sure the post types are loaded for imports
- add_action( 'import_start', array( $this, 'register_post_types' ) );
+ // Make sure the post types are loaded for imports.
+ add_action( 'import_start', array( $this, 'register_post_types' ) );
// Add to REST API post type allowed list.
- add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_portfolio_rest_api_type' ) );
+ add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_portfolio_rest_api_type' ) );
- $setting = Jetpack_Options::get_option_and_ensure_autoload( self::OPTION_NAME, '0' );
+ // If called via REST API, we need to register later in lifecycle.
+ add_action( 'restapi_theme_init', array( $this, 'maybe_register_cpt' ) );
+
+ $this->maybe_register_cpt();
+ }
+
+ /**
+ * Registers the custom post types and adds action/filter handlers, but
+ * only if the site supports it
+ */
+ public function maybe_register_cpt() {
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ $setting = get_option( self::OPTION_NAME, '0' );
+ } else {
+ $setting = Jetpack_Options::get_option_and_ensure_autoload( self::OPTION_NAME, '0' );
+ }
- // Bail early if Portfolio option is not set and the theme doesn't declare support
+ // Bail early if Portfolio option is not set and the theme doesn't declare support.
if ( empty( $setting ) && ! $this->site_supports_custom_post_type() ) {
return;
}
- // CPT magic
+ // CPT magic.
$this->register_post_types();
- add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 );
- add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 );
- add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE), array( $this, 'flush_rules_on_first_project' ) );
- add_action( 'after_switch_theme', array( $this, 'flush_rules_on_switch' ) );
+ add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 );
+ add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 );
+ add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE ), array( $this, 'flush_rules_on_first_project' ) );
+ add_action( 'after_switch_theme', array( $this, 'flush_rules_on_switch' ) );
- // Admin Customization
- add_filter( 'post_updated_messages', array( $this, 'updated_messages' ) );
- add_filter( sprintf( 'manage_%s_posts_columns', self::CUSTOM_POST_TYPE), array( $this, 'edit_admin_columns' ) );
- add_filter( sprintf( 'manage_%s_posts_custom_column', self::CUSTOM_POST_TYPE), array( $this, 'image_column' ), 10, 2 );
- add_action( 'customize_register', array( $this, 'customize_register' ) );
+ // Admin Customization.
+ add_filter( 'post_updated_messages', array( $this, 'updated_messages' ) );
+ add_filter( sprintf( 'manage_%s_posts_columns', self::CUSTOM_POST_TYPE ), array( $this, 'edit_admin_columns' ) );
+ add_filter( sprintf( 'manage_%s_posts_custom_column', self::CUSTOM_POST_TYPE ), array( $this, 'image_column' ), 10, 2 );
+ add_action( 'customize_register', array( $this, 'customize_register' ) );
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- // Track all the things
- add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'new_activation_stat_bump' ) );
- add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'update_option_stat_bump' ), 11, 2 );
- add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE), array( $this, 'new_project_stat_bump' ) );
+ // Track all the things.
+ add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'new_activation_stat_bump' ) );
+ add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'update_option_stat_bump' ), 11, 2 );
+ add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE ), array( $this, 'new_project_stat_bump' ) );
}
add_image_size( 'jetpack-portfolio-admin-thumb', 50, 50, true );
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
- // register jetpack_portfolio shortcode and portfolio shortcode (legacy)
- add_shortcode( 'portfolio', array( $this, 'portfolio_shortcode' ) );
- add_shortcode( 'jetpack_portfolio', array( $this, 'portfolio_shortcode' ) );
+ // register jetpack_portfolio shortcode and portfolio shortcode (legacy).
+ add_shortcode( 'portfolio', array( $this, 'portfolio_shortcode' ) );
+ add_shortcode( 'jetpack_portfolio', array( $this, 'portfolio_shortcode' ) );
- // Adjust CPT archive and custom taxonomies to obey CPT reading setting
- add_filter( 'infinite_scroll_settings', array( $this, 'infinite_scroll_click_posts_per_page' ) );
- add_filter( 'infinite_scroll_results', array( $this, 'infinite_scroll_results' ), 10, 3 );
+ // Adjust CPT archive and custom taxonomies to obey CPT reading setting.
+ add_filter( 'infinite_scroll_settings', array( $this, 'infinite_scroll_click_posts_per_page' ) );
+ add_filter( 'infinite_scroll_results', array( $this, 'infinite_scroll_results' ), 10, 3 );
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- // Add to Dotcom XML sitemaps
- add_filter( 'wpcom_sitemap_post_types', array( $this, 'add_to_sitemap' ) );
+ // Add to Dotcom XML sitemaps.
+ add_filter( 'wpcom_sitemap_post_types', array( $this, 'add_to_sitemap' ) );
} else {
- // Add to Jetpack XML sitemap
- add_filter( 'jetpack_sitemap_post_types', array( $this, 'add_to_sitemap' ) );
+ // Add to Jetpack XML sitemap.
+ add_filter( 'jetpack_sitemap_post_types', array( $this, 'add_to_sitemap' ) );
}
- // Adjust CPT archive and custom taxonomies to obey CPT reading setting
- add_filter( 'pre_get_posts', array( $this, 'query_reading_setting' ) );
+ // Adjust CPT archive and custom taxonomies to obey CPT reading setting.
+ add_filter( 'pre_get_posts', array( $this, 'query_reading_setting' ) );
- // If CPT was enabled programatically and no CPT items exist when user switches away, disable
+ // If CPT was enabled programatically and no CPT items exist when user switches away, disable.
if ( $setting && $this->site_supports_custom_post_type() ) {
- add_action( 'switch_theme', array( $this, 'deactivation_post_type_support' ) );
+ add_action( 'switch_theme', array( $this, 'deactivation_post_type_support' ) );
}
}
@@ -98,9 +122,9 @@ class Jetpack_Portfolio {
* Add a checkbox field in 'Settings' > 'Writing'
* for enabling CPT functionality.
*
- * @return null
+ * @return void
*/
- function settings_api_init() {
+ public function settings_api_init() {
add_settings_field(
self::OPTION_NAME,
'<span class="cpt-options">' . __( 'Portfolio Projects', 'jetpack' ) . '</span>',
@@ -114,7 +138,7 @@ class Jetpack_Portfolio {
'intval'
);
- // Check if CPT is enabled first so that intval doesn't get set to NULL on re-registering
+ // Check if CPT is enabled first so that intval doesn't get set to NULL on re-registering.
if ( get_option( self::OPTION_NAME, '0' ) || current_theme_supports( self::CUSTOM_POST_TYPE ) ) {
register_setting(
'writing',
@@ -128,24 +152,41 @@ class Jetpack_Portfolio {
* HTML code to display a checkbox true/false option
* for the Portfolio CPT setting.
*
- * @return html
+ * @return void
*/
- function setting_html() {
+ public function setting_html() {
if ( current_theme_supports( self::CUSTOM_POST_TYPE ) ) : ?>
- <p><?php printf( /* translators: %s is the name of a custom post type such as "jetpack-portfolio" */ __( 'Your theme supports <strong>%s</strong>', 'jetpack' ), self::CUSTOM_POST_TYPE ); ?></p>
+ <p>
+ <?php
+ echo wp_kses(
+ sprintf(
+ /* translators: %s is the name of a custom post type such as "jetpack-portfolio" */
+ __( 'Your theme supports <strong>%s</strong>', 'jetpack' ),
+ esc_attr( self::CUSTOM_POST_TYPE )
+ ),
+ array(
+ 'strong' => array(),
+ )
+ );
+ ?>
+ </p>
<?php else : ?>
<label for="<?php echo esc_attr( self::OPTION_NAME ); ?>">
<input name="<?php echo esc_attr( self::OPTION_NAME ); ?>" id="<?php echo esc_attr( self::OPTION_NAME ); ?>" <?php echo checked( get_option( self::OPTION_NAME, '0' ), true, false ); ?> type="checkbox" value="1" />
<?php esc_html_e( 'Enable Portfolio Projects for this site.', 'jetpack' ); ?>
<a target="_blank" href="https://en.support.wordpress.com/portfolios/"><?php esc_html_e( 'Learn More', 'jetpack' ); ?></a>
</label>
- <?php endif;
+ <?php
+ endif;
if ( get_option( self::OPTION_NAME, '0' ) || current_theme_supports( self::CUSTOM_POST_TYPE ) ) :
- printf( '<p><label for="%1$s">%2$s</label></p>',
+ printf(
+ '<p><label for="%1$s">%2$s</label></p>',
esc_attr( self::OPTION_READING_SETTING ),
- /* translators: %1$s is replaced with an input field for numbers */
- sprintf( __( 'Portfolio pages display at most %1$s projects', 'jetpack' ),
- sprintf( '<input name="%1$s" id="%1$s" type="number" step="1" min="1" value="%2$s" class="small-text" />',
+ sprintf(
+ /* translators: %1$s is replaced with an input field for numbers */
+ __( 'Portfolio pages display at most %1$s projects', 'jetpack' ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- the placeholder contains HTML.
+ sprintf(
+ '<input name="%1$s" id="%1$s" type="number" step="1" min="1" value="%2$s" class="small-text" />',
esc_attr( self::OPTION_READING_SETTING ),
esc_attr( get_option( self::OPTION_READING_SETTING, '10' ) )
)
@@ -154,17 +195,20 @@ class Jetpack_Portfolio {
endif;
}
- /*
- * Bump Portfolio > New Activation stat
+ /**
+ * Bump Portfolio > New Activation stat.
*/
- function new_activation_stat_bump() {
+ public function new_activation_stat_bump() {
bump_stats_extras( 'portfolios', 'new-activation' );
}
- /*
- * Bump Portfolio > Option On/Off stats to get total active
+ /**
+ * Bump Portfolio > Option On/Off stats to get total active.
+ *
+ * @param mixed $old The old option value.
+ * @param mixed $new The new option value.
*/
- function update_option_stat_bump( $old, $new ) {
+ public function update_option_stat_bump( $old, $new ) {
if ( empty( $old ) && ! empty( $new ) ) {
bump_stats_extras( 'portfolios', 'option-on' );
}
@@ -174,17 +218,17 @@ class Jetpack_Portfolio {
}
}
- /*
- * Bump Portfolio > Published Projects stat when projects are published
+ /**
+ * Bump Portfolio > Published Projects stat when projects are published.
*/
- function new_project_stat_bump() {
+ public function new_project_stat_bump() {
bump_stats_extras( 'portfolios', 'published-projects' );
}
/**
- * Should this Custom Post Type be made available?
- */
- function site_supports_custom_post_type() {
+ * Should this Custom Post Type be made available?
+ */
+ private function site_supports_custom_post_type() {
// If the current theme requests it.
if ( current_theme_supports( self::CUSTOM_POST_TYPE ) || get_option( self::OPTION_NAME, '0' ) ) {
return true;
@@ -195,17 +239,17 @@ class Jetpack_Portfolio {
return (bool) apply_filters( 'jetpack_enable_cpt', false, self::CUSTOM_POST_TYPE );
}
- /*
+ /**
* Flush permalinks when CPT option is turned on/off
*/
- function flush_rules_on_enable() {
+ public function flush_rules_on_enable() {
flush_rewrite_rules();
}
- /*
+ /**
* Count published projects and flush permalinks when first projects is published
*/
- function flush_rules_on_first_project() {
+ public function flush_rules_on_first_project() {
$projects = get_transient( 'jetpack-portfolio-count-cache' );
if ( false === $projects ) {
@@ -218,10 +262,10 @@ class Jetpack_Portfolio {
}
}
- /*
+ /**
* Flush permalinks when CPT supported theme is activated
*/
- function flush_rules_on_switch() {
+ public function flush_rules_on_switch() {
if ( current_theme_supports( self::CUSTOM_POST_TYPE ) ) {
flush_rewrite_rules();
}
@@ -230,7 +274,7 @@ class Jetpack_Portfolio {
/**
* On plugin/theme activation, check if current theme supports CPT
*/
- static function activation_post_type_support() {
+ public static function activation_post_type_support() {
if ( current_theme_supports( self::CUSTOM_POST_TYPE ) ) {
update_option( self::OPTION_NAME, '1' );
}
@@ -239,13 +283,15 @@ class Jetpack_Portfolio {
/**
* On theme switch, check if CPT item exists and disable if not
*/
- function deactivation_post_type_support() {
- $portfolios = get_posts( array(
- 'fields' => 'ids',
- 'posts_per_page' => 1,
- 'post_type' => self::CUSTOM_POST_TYPE,
- 'suppress_filters' => false
- ) );
+ public function deactivation_post_type_support() {
+ $portfolios = get_posts(
+ array(
+ 'fields' => 'ids',
+ 'posts_per_page' => 1,
+ 'post_type' => self::CUSTOM_POST_TYPE,
+ 'suppress_filters' => false,
+ )
+ );
if ( empty( $portfolios ) ) {
update_option( self::OPTION_NAME, '0' );
@@ -255,139 +301,180 @@ class Jetpack_Portfolio {
/**
* Register Post Type
*/
- function register_post_types() {
+ public function register_post_types() {
if ( post_type_exists( self::CUSTOM_POST_TYPE ) ) {
return;
}
- register_post_type( self::CUSTOM_POST_TYPE, array(
- 'labels' => array(
- 'name' => esc_html__( 'Projects', 'jetpack' ),
- 'singular_name' => esc_html__( 'Project', 'jetpack' ),
- 'menu_name' => esc_html__( 'Portfolio', 'jetpack' ),
- 'all_items' => esc_html__( 'All Projects', 'jetpack' ),
- 'add_new' => esc_html__( 'Add New', 'jetpack' ),
- 'add_new_item' => esc_html__( 'Add New Project', 'jetpack' ),
- 'edit_item' => esc_html__( 'Edit Project', 'jetpack' ),
- 'new_item' => esc_html__( 'New Project', 'jetpack' ),
- 'view_item' => esc_html__( 'View Project', 'jetpack' ),
- 'search_items' => esc_html__( 'Search Projects', 'jetpack' ),
- 'not_found' => esc_html__( 'No Projects found', 'jetpack' ),
- 'not_found_in_trash' => esc_html__( 'No Projects found in Trash', 'jetpack' ),
- 'filter_items_list' => esc_html__( 'Filter projects list', 'jetpack' ),
- 'items_list_navigation' => esc_html__( 'Project list navigation', 'jetpack' ),
- 'items_list' => esc_html__( 'Projects list', 'jetpack' ),
- ),
- 'supports' => array(
- 'title',
- 'editor',
- 'thumbnail',
- 'author',
- 'comments',
- 'publicize',
- 'wpcom-markdown',
- 'revisions',
- 'excerpt',
- 'custom-fields',
- 'newspack_blocks',
- ),
- 'rewrite' => array(
- 'slug' => 'portfolio',
- 'with_front' => false,
- 'feeds' => true,
- 'pages' => true,
- ),
- 'public' => true,
- 'show_ui' => true,
- 'menu_position' => 20, // below Pages
- 'menu_icon' => 'dashicons-portfolio', // 3.8+ dashicon option
- 'capability_type' => 'page',
- 'map_meta_cap' => true,
- 'taxonomies' => array( self::CUSTOM_TAXONOMY_TYPE, self::CUSTOM_TAXONOMY_TAG ),
- 'has_archive' => true,
- 'query_var' => 'portfolio',
- 'show_in_rest' => true,
- ) );
-
- register_taxonomy( self::CUSTOM_TAXONOMY_TYPE, self::CUSTOM_POST_TYPE, array(
- 'hierarchical' => true,
- 'labels' => array(
- 'name' => esc_html__( 'Project Types', 'jetpack' ),
- 'singular_name' => esc_html__( 'Project Type', 'jetpack' ),
- 'menu_name' => esc_html__( 'Project Types', 'jetpack' ),
- 'all_items' => esc_html__( 'All Project Types', 'jetpack' ),
- 'edit_item' => esc_html__( 'Edit Project Type', 'jetpack' ),
- 'view_item' => esc_html__( 'View Project Type', 'jetpack' ),
- 'update_item' => esc_html__( 'Update Project Type', 'jetpack' ),
- 'add_new_item' => esc_html__( 'Add New Project Type', 'jetpack' ),
- 'new_item_name' => esc_html__( 'New Project Type Name', 'jetpack' ),
- 'parent_item' => esc_html__( 'Parent Project Type', 'jetpack' ),
- 'parent_item_colon' => esc_html__( 'Parent Project Type:', 'jetpack' ),
- 'search_items' => esc_html__( 'Search Project Types', 'jetpack' ),
- 'items_list_navigation' => esc_html__( 'Project type list navigation', 'jetpack' ),
- 'items_list' => esc_html__( 'Project type list', 'jetpack' ),
- ),
- 'public' => true,
- 'show_ui' => true,
- 'show_in_nav_menus' => true,
- 'show_in_rest' => true,
- 'show_admin_column' => true,
- 'query_var' => true,
- 'rewrite' => array( 'slug' => 'project-type' ),
- ) );
-
- register_taxonomy( self::CUSTOM_TAXONOMY_TAG, self::CUSTOM_POST_TYPE, array(
- 'hierarchical' => false,
- 'labels' => array(
- 'name' => esc_html__( 'Project Tags', 'jetpack' ),
- 'singular_name' => esc_html__( 'Project Tag', 'jetpack' ),
- 'menu_name' => esc_html__( 'Project Tags', 'jetpack' ),
- 'all_items' => esc_html__( 'All Project Tags', 'jetpack' ),
- 'edit_item' => esc_html__( 'Edit Project Tag', 'jetpack' ),
- 'view_item' => esc_html__( 'View Project Tag', 'jetpack' ),
- 'update_item' => esc_html__( 'Update Project Tag', 'jetpack' ),
- 'add_new_item' => esc_html__( 'Add New Project Tag', 'jetpack' ),
- 'new_item_name' => esc_html__( 'New Project Tag Name', 'jetpack' ),
- 'search_items' => esc_html__( 'Search Project Tags', 'jetpack' ),
- 'popular_items' => esc_html__( 'Popular Project Tags', 'jetpack' ),
- 'separate_items_with_commas' => esc_html__( 'Separate tags with commas', 'jetpack' ),
- 'add_or_remove_items' => esc_html__( 'Add or remove tags', 'jetpack' ),
- 'choose_from_most_used' => esc_html__( 'Choose from the most used tags', 'jetpack' ),
- 'not_found' => esc_html__( 'No tags found.', 'jetpack' ),
- 'items_list_navigation' => esc_html__( 'Project tag list navigation', 'jetpack' ),
- 'items_list' => esc_html__( 'Project tag list', 'jetpack' ),
- ),
- 'public' => true,
- 'show_ui' => true,
- 'show_in_nav_menus' => true,
- 'show_in_rest' => true,
- 'show_admin_column' => true,
- 'query_var' => true,
- 'rewrite' => array( 'slug' => 'project-tag' ),
- ) );
+ register_post_type(
+ self::CUSTOM_POST_TYPE,
+ array(
+ 'labels' => array(
+ 'name' => esc_html__( 'Projects', 'jetpack' ),
+ 'singular_name' => esc_html__( 'Project', 'jetpack' ),
+ 'menu_name' => esc_html__( 'Portfolio', 'jetpack' ),
+ 'all_items' => esc_html__( 'All Projects', 'jetpack' ),
+ 'add_new' => esc_html__( 'Add New', 'jetpack' ),
+ 'add_new_item' => esc_html__( 'Add New Project', 'jetpack' ),
+ 'edit_item' => esc_html__( 'Edit Project', 'jetpack' ),
+ 'new_item' => esc_html__( 'New Project', 'jetpack' ),
+ 'view_item' => esc_html__( 'View Project', 'jetpack' ),
+ 'search_items' => esc_html__( 'Search Projects', 'jetpack' ),
+ 'not_found' => esc_html__( 'No Projects found', 'jetpack' ),
+ 'not_found_in_trash' => esc_html__( 'No Projects found in Trash', 'jetpack' ),
+ 'filter_items_list' => esc_html__( 'Filter projects list', 'jetpack' ),
+ 'items_list_navigation' => esc_html__( 'Project list navigation', 'jetpack' ),
+ 'items_list' => esc_html__( 'Projects list', 'jetpack' ),
+ ),
+ 'supports' => array(
+ 'title',
+ 'editor',
+ 'thumbnail',
+ 'author',
+ 'post-formats',
+ 'comments',
+ 'publicize',
+ 'wpcom-markdown',
+ 'revisions',
+ 'excerpt',
+ 'custom-fields',
+ 'newspack_blocks',
+ ),
+ 'rewrite' => array(
+ 'slug' => 'portfolio',
+ 'with_front' => false,
+ 'feeds' => true,
+ 'pages' => true,
+ ),
+ 'public' => true,
+ 'show_ui' => true,
+ 'menu_position' => 20, // below Pages.
+ 'menu_icon' => 'dashicons-portfolio', // 3.8+ dashicon option.
+ 'capability_type' => 'page',
+ 'map_meta_cap' => true,
+ 'taxonomies' => array( self::CUSTOM_TAXONOMY_TYPE, self::CUSTOM_TAXONOMY_TAG ),
+ 'has_archive' => true,
+ 'query_var' => 'portfolio',
+ 'show_in_rest' => true,
+ )
+ );
+
+ register_taxonomy(
+ self::CUSTOM_TAXONOMY_TYPE,
+ self::CUSTOM_POST_TYPE,
+ array(
+ 'hierarchical' => true,
+ 'labels' => array(
+ 'name' => esc_html__( 'Project Types', 'jetpack' ),
+ 'singular_name' => esc_html__( 'Project Type', 'jetpack' ),
+ 'menu_name' => esc_html__( 'Project Types', 'jetpack' ),
+ 'all_items' => esc_html__( 'All Project Types', 'jetpack' ),
+ 'edit_item' => esc_html__( 'Edit Project Type', 'jetpack' ),
+ 'view_item' => esc_html__( 'View Project Type', 'jetpack' ),
+ 'update_item' => esc_html__( 'Update Project Type', 'jetpack' ),
+ 'add_new_item' => esc_html__( 'Add New Project Type', 'jetpack' ),
+ 'new_item_name' => esc_html__( 'New Project Type Name', 'jetpack' ),
+ 'parent_item' => esc_html__( 'Parent Project Type', 'jetpack' ),
+ 'parent_item_colon' => esc_html__( 'Parent Project Type:', 'jetpack' ),
+ 'search_items' => esc_html__( 'Search Project Types', 'jetpack' ),
+ 'items_list_navigation' => esc_html__( 'Project type list navigation', 'jetpack' ),
+ 'items_list' => esc_html__( 'Project type list', 'jetpack' ),
+ ),
+ 'public' => true,
+ 'show_ui' => true,
+ 'show_in_nav_menus' => true,
+ 'show_in_rest' => true,
+ 'show_admin_column' => true,
+ 'query_var' => true,
+ 'rewrite' => array( 'slug' => 'project-type' ),
+ )
+ );
+
+ register_taxonomy(
+ self::CUSTOM_TAXONOMY_TAG,
+ self::CUSTOM_POST_TYPE,
+ array(
+ 'hierarchical' => false,
+ 'labels' => array(
+ 'name' => esc_html__( 'Project Tags', 'jetpack' ),
+ 'singular_name' => esc_html__( 'Project Tag', 'jetpack' ),
+ 'menu_name' => esc_html__( 'Project Tags', 'jetpack' ),
+ 'all_items' => esc_html__( 'All Project Tags', 'jetpack' ),
+ 'edit_item' => esc_html__( 'Edit Project Tag', 'jetpack' ),
+ 'view_item' => esc_html__( 'View Project Tag', 'jetpack' ),
+ 'update_item' => esc_html__( 'Update Project Tag', 'jetpack' ),
+ 'add_new_item' => esc_html__( 'Add New Project Tag', 'jetpack' ),
+ 'new_item_name' => esc_html__( 'New Project Tag Name', 'jetpack' ),
+ 'search_items' => esc_html__( 'Search Project Tags', 'jetpack' ),
+ 'popular_items' => esc_html__( 'Popular Project Tags', 'jetpack' ),
+ 'separate_items_with_commas' => esc_html__( 'Separate tags with commas', 'jetpack' ),
+ 'add_or_remove_items' => esc_html__( 'Add or remove tags', 'jetpack' ),
+ 'choose_from_most_used' => esc_html__( 'Choose from the most used tags', 'jetpack' ),
+ 'not_found' => esc_html__( 'No tags found.', 'jetpack' ),
+ 'items_list_navigation' => esc_html__( 'Project tag list navigation', 'jetpack' ),
+ 'items_list' => esc_html__( 'Project tag list', 'jetpack' ),
+ ),
+ 'public' => true,
+ 'show_ui' => true,
+ 'show_in_nav_menus' => true,
+ 'show_in_rest' => true,
+ 'show_admin_column' => true,
+ 'query_var' => true,
+ 'rewrite' => array( 'slug' => 'project-tag' ),
+ )
+ );
+
+ register_taxonomy_for_object_type( 'post_format', self::CUSTOM_POST_TYPE );
}
/**
* Update messages for the Portfolio admin.
+ *
+ * @param array $messages Existing post update messages.
*/
- function updated_messages( $messages ) {
+ public function updated_messages( $messages ) {
global $post;
- $messages[self::CUSTOM_POST_TYPE] = array(
+ $messages[ self::CUSTOM_POST_TYPE ] = array(
0 => '', // Unused. Messages start at index 1.
- 1 => sprintf( __( 'Project updated. <a href="%s">View item</a>', 'jetpack'), esc_url( get_permalink( $post->ID ) ) ),
+ 1 => sprintf(
+ /* Translators: link to portfolio item's page. */
+ __( 'Project updated. <a href="%s">View item</a>', 'jetpack' ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
2 => esc_html__( 'Custom field updated.', 'jetpack' ),
3 => esc_html__( 'Custom field deleted.', 'jetpack' ),
4 => esc_html__( 'Project updated.', 'jetpack' ),
- /* translators: %s: date and time of the revision */
- 5 => isset( $_GET['revision'] ) ? sprintf( esc_html__( 'Project restored to revision from %s', 'jetpack'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
- 6 => sprintf( __( 'Project published. <a href="%s">View project</a>', 'jetpack' ), esc_url( get_permalink( $post->ID ) ) ),
+ 5 => isset( $_GET['revision'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling.
+ ? sprintf(
+ /* translators: %s: date and time of the revision */
+ esc_html__( 'Project restored to revision from %s', 'jetpack' ),
+ wp_post_revision_title( (int) $_GET['revision'], false ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling.
+ )
+ : false,
+ 6 => sprintf(
+ /* Translators: link to portfolio item's page. */
+ __( 'Project published. <a href="%s">View project</a>', 'jetpack' ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
7 => esc_html__( 'Project saved.', 'jetpack' ),
- 8 => sprintf( __( 'Project submitted. <a target="_blank" href="%s">Preview project</a>', 'jetpack'), esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) ),
- 9 => sprintf( __( 'Project scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview project</a>', 'jetpack' ),
- // translators: Publish box date format, see https://php.net/date
- date_i18n( __( 'M j, Y @ G:i', 'jetpack' ), strtotime( $post->post_date ) ), esc_url( get_permalink( $post->ID ) ) ),
- 10 => sprintf( __( 'Project item draft updated. <a target="_blank" href="%s">Preview project</a>', 'jetpack' ), esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) ),
+ 8 => sprintf(
+ /* Translators: link to portfolio item's page. */
+ __( 'Project submitted. <a target="_blank" href="%s">Preview project</a>', 'jetpack' ),
+ esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) )
+ ),
+ 9 => sprintf(
+ /* Translators: 1: Publishing date and time. 2. Link to portfolio's item page. */
+ __( 'Project scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview project</a>', 'jetpack' ),
+ /* translators: Publish box date format, see https://php.net/date */
+ date_i18n( __( 'M j, Y @ G:i', 'jetpack' ), strtotime( $post->post_date ) ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
+ 10 => sprintf(
+ /* Translators: link to portfolio item's page. */
+ __( 'Project item draft updated. <a target="_blank" href="%s">Preview project</a>', 'jetpack' ),
+ esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) )
+ ),
);
return $messages;
@@ -396,13 +483,15 @@ class Jetpack_Portfolio {
/**
* Change ‘Title’ column label
* Add Featured Image column
+ *
+ * @param array $columns An array of column names.
*/
- function edit_admin_columns( $columns ) {
- // change 'Title' to 'Project'
+ public function edit_admin_columns( $columns ) {
+ // change 'Title' to 'Project'.
$columns['title'] = __( 'Project', 'jetpack' );
if ( current_theme_supports( 'post-thumbnails' ) ) {
- // add featured image before 'Project'
- $columns = array_slice( $columns, 0, 1, true ) + array( 'thumbnail' => '' ) + array_slice( $columns, 1, NULL, true );
+ // add featured image before 'Project'.
+ $columns = array_slice( $columns, 0, 1, true ) + array( 'thumbnail' => '' ) + array_slice( $columns, 1, null, true );
}
return $columns;
@@ -410,93 +499,129 @@ class Jetpack_Portfolio {
/**
* Add featured image to column
+ *
+ * @param string $column The name of the column to display.
+ * @param int $post_id The current post ID.
*/
- function image_column( $column, $post_id ) {
- global $post;
- switch ( $column ) {
- case 'thumbnail':
- echo get_the_post_thumbnail( $post_id, 'jetpack-portfolio-admin-thumb' );
- break;
+ public function image_column( $column, $post_id ) {
+ if ( 'thumbnail' !== $column ) {
+ return;
}
+
+ echo get_the_post_thumbnail( $post_id, 'jetpack-portfolio-admin-thumb' );
}
/**
* Adjust image column width
+ *
+ * @param string $hook Page hook.
*/
- function enqueue_admin_styles( $hook ) {
+ public function enqueue_admin_styles( $hook ) {
$screen = get_current_screen();
- if ( 'edit.php' == $hook && self::CUSTOM_POST_TYPE == $screen->post_type && current_theme_supports( 'post-thumbnails' ) ) {
+ if (
+ 'edit.php' === $hook
+ && self::CUSTOM_POST_TYPE === $screen->post_type
+ && current_theme_supports( 'post-thumbnails' )
+ ) {
wp_add_inline_style( 'wp-admin', '.manage-column.column-thumbnail { width: 50px; } @media screen and (max-width: 360px) { .column-thumbnail{ display:none; } }' );
}
}
/**
* Adds portfolio section to the Customizer.
+ *
+ * @param WP_Customize_Manager $wp_customize Customizer instance.
*/
- function customize_register( $wp_customize ) {
+ public function customize_register( $wp_customize ) {
$options = get_theme_support( self::CUSTOM_POST_TYPE );
if ( ( ! isset( $options[0]['title'] ) || true !== $options[0]['title'] ) && ( ! isset( $options[0]['content'] ) || true !== $options[0]['content'] ) && ( ! isset( $options[0]['featured-image'] ) || true !== $options[0]['featured-image'] ) ) {
return;
}
- $wp_customize->add_section( 'jetpack_portfolio', array(
- 'title' => esc_html__( 'Portfolio', 'jetpack' ),
- 'theme_supports' => self::CUSTOM_POST_TYPE,
- 'priority' => 130,
- ) );
+ $wp_customize->add_section(
+ 'jetpack_portfolio',
+ array(
+ 'title' => esc_html__( 'Portfolio', 'jetpack' ),
+ 'theme_supports' => self::CUSTOM_POST_TYPE,
+ 'priority' => 130,
+ )
+ );
if ( isset( $options[0]['title'] ) && true === $options[0]['title'] ) {
- $wp_customize->add_setting( 'jetpack_portfolio_title', array(
- 'default' => esc_html__( 'Projects', 'jetpack' ),
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_text_field',
- 'sanitize_js_callback' => 'sanitize_text_field',
- ) );
+ $wp_customize->add_setting(
+ 'jetpack_portfolio_title',
+ array(
+ 'default' => esc_html__( 'Projects', 'jetpack' ),
+ 'type' => 'option',
+ 'sanitize_callback' => 'sanitize_text_field',
+ 'sanitize_js_callback' => 'sanitize_text_field',
+ )
+ );
- $wp_customize->add_control( 'jetpack_portfolio_title', array(
- 'section' => 'jetpack_portfolio',
- 'label' => esc_html__( 'Portfolio Archive Title', 'jetpack' ),
- 'type' => 'text',
- ) );
+ $wp_customize->add_control(
+ 'jetpack_portfolio_title',
+ array(
+ 'section' => 'jetpack_portfolio',
+ 'label' => esc_html__( 'Portfolio Archive Title', 'jetpack' ),
+ 'type' => 'text',
+ )
+ );
}
if ( isset( $options[0]['content'] ) && true === $options[0]['content'] ) {
- $wp_customize->add_setting( 'jetpack_portfolio_content', array(
- 'default' => '',
- 'type' => 'option',
- 'sanitize_callback' => 'wp_kses_post',
- 'sanitize_js_callback' => 'wp_kses_post',
- ) );
+ $wp_customize->add_setting(
+ 'jetpack_portfolio_content',
+ array(
+ 'default' => '',
+ 'type' => 'option',
+ 'sanitize_callback' => 'wp_kses_post',
+ 'sanitize_js_callback' => 'wp_kses_post',
+ )
+ );
- $wp_customize->add_control( 'jetpack_portfolio_content', array(
- 'section' => 'jetpack_portfolio',
- 'label' => esc_html__( 'Portfolio Archive Content', 'jetpack' ),
- 'type' => 'textarea',
- ) );
+ $wp_customize->add_control(
+ 'jetpack_portfolio_content',
+ array(
+ 'section' => 'jetpack_portfolio',
+ 'label' => esc_html__( 'Portfolio Archive Content', 'jetpack' ),
+ 'type' => 'textarea',
+ )
+ );
}
if ( isset( $options[0]['featured-image'] ) && true === $options[0]['featured-image'] ) {
- $wp_customize->add_setting( 'jetpack_portfolio_featured_image', array(
- 'default' => '',
- 'type' => 'option',
- 'sanitize_callback' => 'attachment_url_to_postid',
- 'sanitize_js_callback' => 'attachment_url_to_postid',
- 'theme_supports' => 'post-thumbnails',
- ) );
+ $wp_customize->add_setting(
+ 'jetpack_portfolio_featured_image',
+ array(
+ 'default' => '',
+ 'type' => 'option',
+ 'sanitize_callback' => 'attachment_url_to_postid',
+ 'sanitize_js_callback' => 'attachment_url_to_postid',
+ 'theme_supports' => 'post-thumbnails',
+ )
+ );
- $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'jetpack_portfolio_featured_image', array(
- 'section' => 'jetpack_portfolio',
- 'label' => esc_html__( 'Portfolio Archive Featured Image', 'jetpack' ),
- ) ) );
+ $wp_customize->add_control(
+ new WP_Customize_Image_Control(
+ $wp_customize,
+ 'jetpack_portfolio_featured_image',
+ array(
+ 'section' => 'jetpack_portfolio',
+ 'label' => esc_html__( 'Portfolio Archive Featured Image', 'jetpack' ),
+ )
+ )
+ );
}
}
/**
* Follow CPT reading setting on CPT archive and taxonomy pages
+ *
+ * @param WP_Query $query A WP_Query instance.
*/
- function query_reading_setting( $query ) {
+ public function query_reading_setting( $query ) {
if ( ( ! is_admin() || ( is_admin() && defined( 'DOING_AJAX' ) && DOING_AJAX ) )
&& $query->is_main_query()
&& ( $query->is_post_type_archive( self::CUSTOM_POST_TYPE )
@@ -507,10 +632,12 @@ class Jetpack_Portfolio {
}
}
- /*
+ /**
* If Infinite Scroll is set to 'click', use our custom reading setting instead of core's `posts_per_page`.
+ *
+ * @param array $settings Array of Infinite Scroll settings.
*/
- function infinite_scroll_click_posts_per_page( $settings ) {
+ public function infinite_scroll_click_posts_per_page( $settings ) {
global $wp_query;
if ( ( ! is_admin() || ( is_admin() && defined( 'DOING_AJAX' ) && DOING_AJAX ) )
@@ -519,24 +646,30 @@ class Jetpack_Portfolio {
|| $wp_query->is_tax( self::CUSTOM_TAXONOMY_TYPE )
|| $wp_query->is_tax( self::CUSTOM_TAXONOMY_TAG ) )
) {
- $settings['posts_per_page'] = get_option( self::OPTION_READING_SETTING, $settings['posts_per_page'] );
+ $settings['posts_per_page'] = get_option( self::OPTION_READING_SETTING, $settings['posts_per_page'] ); // phpcs:ignore WordPress.WP.PostsPerPage.posts_per_page_posts_per_page
}
return $settings;
}
- /*
+ /**
* Filter the results of infinite scroll to make sure we get `lastbatch` right.
+ *
+ * @param array $results Array of Infinite Scroll results.
+ * @param array $query_args Array of main query arguments.
+ * @param WP_Query $query WP Query.
*/
- function infinite_scroll_results( $results, $query_args, $query ) {
+ public function infinite_scroll_results( $results, $query_args, $query ) {
$results['lastbatch'] = $query_args['paged'] >= $query->max_num_pages;
return $results;
}
/**
* Add CPT to Dotcom sitemap
+ *
+ * @param array $post_types Array of post types included in sitemap.
*/
- function add_to_sitemap( $post_types ) {
+ public function add_to_sitemap( $post_types ) {
$post_types[] = self::CUSTOM_POST_TYPE;
return $post_types;
@@ -544,8 +677,10 @@ class Jetpack_Portfolio {
/**
* Add to REST API post type allowed list.
+ *
+ * @param array $post_types Array of post types to add to the allowed list. Default to `array( 'post', 'page', 'revision' )`.
*/
- function allow_portfolio_rest_api_type( $post_types ) {
+ public function allow_portfolio_rest_api_type( $post_types ) {
$post_types[] = self::CUSTOM_POST_TYPE;
return $post_types;
@@ -555,39 +690,44 @@ class Jetpack_Portfolio {
* Our [portfolio] shortcode.
* Prints Portfolio data styled to look good on *any* theme.
*
+ * @param array $atts Shortcode attributes.
+ *
* @return portfolio_shortcode_html
*/
- static function portfolio_shortcode( $atts ) {
- // Default attributes
- $atts = shortcode_atts( array(
- 'display_types' => true,
- 'display_tags' => true,
- 'display_content' => true,
- 'display_author' => false,
- 'show_filter' => false,
- 'include_type' => false,
- 'include_tag' => false,
- 'columns' => 2,
- 'showposts' => -1,
- 'order' => 'asc',
- 'orderby' => 'date',
- ), $atts, 'portfolio' );
-
- // A little sanitization
- if ( $atts['display_types'] && 'true' != $atts['display_types'] ) {
- $atts['display_types'] = false;
- }
-
- if ( $atts['display_tags'] && 'true' != $atts['display_tags'] ) {
- $atts['display_tags'] = false;
- }
+ public static function portfolio_shortcode( $atts ) {
+ // Default attributes.
+ $atts = shortcode_atts(
+ array(
+ 'display_types' => true,
+ 'display_tags' => true,
+ 'display_content' => true, // Can be false, true, or full.
+ 'display_author' => false,
+ 'show_filter' => false,
+ 'include_type' => false,
+ 'include_tag' => false,
+ 'columns' => 2,
+ 'showposts' => -1,
+ 'order' => 'asc',
+ 'orderby' => 'date',
+ ),
+ $atts,
+ 'portfolio'
+ );
- if ( $atts['display_author'] && 'true' != $atts['display_author'] ) {
- $atts['display_author'] = false;
- }
+ /*
+ * A little sanitization for our shortcode attributes aiming to use booleans.
+ * Attributes can be booleans (from the default values) or strings.
+ */
+ foreach ( $atts as $attribute_name => $attribute_value ) {
+ if ( preg_match( '#^(?:display_|show_)#i', $attribute_name ) ) {
+ // display_content is a special case.
+ if ( 'display_content' === $attribute_name && 'full' === $attribute_value ) {
+ $atts['display_content'] = 'full';
+ continue;
+ }
- if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) {
- $atts['display_content'] = false;
+ $atts[ $attribute_name ] = self::sanitize_boolean_attribute( $attribute_value );
+ }
}
if ( $atts['include_type'] ) {
@@ -602,11 +742,10 @@ class Jetpack_Portfolio {
$atts['showposts'] = (int) $atts['showposts'];
-
if ( $atts['order'] ) {
$atts['order'] = urldecode( $atts['order'] );
$atts['order'] = strtoupper( $atts['order'] );
- if ( 'DESC' != $atts['order'] ) {
+ if ( 'DESC' !== $atts['order'] ) {
$atts['order'] = 'ASC';
}
}
@@ -614,11 +753,11 @@ class Jetpack_Portfolio {
if ( $atts['orderby'] ) {
$atts['orderby'] = urldecode( $atts['orderby'] );
$atts['orderby'] = strtolower( $atts['orderby'] );
- $allowed_keys = array( 'author', 'date', 'title', 'rand' );
+ $allowed_keys = array( 'author', 'date', 'title', 'rand' );
$parsed = array();
- foreach ( explode( ',', $atts['orderby'] ) as $portfolio_index_number => $orderby ) {
- if ( ! in_array( $orderby, $allowed_keys ) ) {
+ foreach ( explode( ',', $atts['orderby'] ) as $orderby ) {
+ if ( ! in_array( $orderby, $allowed_keys, true ) ) {
continue;
}
$parsed[] = $orderby;
@@ -631,7 +770,7 @@ class Jetpack_Portfolio {
}
}
- // enqueue shortcode styles when shortcode is used
+ // enqueue shortcode styles when shortcode is used.
if ( ! wp_style_is( 'jetpack-portfolio-style', 'enqueued' ) ) {
wp_enqueue_style( 'jetpack-portfolio-style', plugins_url( 'css/portfolio-shortcode.css', __FILE__ ), array(), '20140326' );
}
@@ -640,48 +779,74 @@ class Jetpack_Portfolio {
}
/**
+ * Sanitizes an attribute value.
+ * Attributes can be booleans (from the default values) or strings.
+ *
+ * @since 11.0
+ *
+ * @param bool|string $attr Shortcode attribute value.
+ *
+ * @return bool
+ */
+ private static function sanitize_boolean_attribute( $attr ) {
+ if ( $attr && 'true' == $attr ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
* Query to retrieve entries from the Portfolio post_type.
*
+ * @param array $atts Shortcode attributes.
+ *
* @return object
*/
- static function portfolio_query( $atts ) {
- // Default query arguments
+ private static function portfolio_query( $atts ) {
+ // Default query arguments.
$default = array(
'order' => $atts['order'],
'orderby' => $atts['orderby'],
'posts_per_page' => $atts['showposts'],
);
- $args = wp_parse_args( $atts, $default );
- $args['post_type'] = self::CUSTOM_POST_TYPE; // Force this post type
+ $args = wp_parse_args( $atts, $default );
+ $args['post_type'] = self::CUSTOM_POST_TYPE; // Force this post type.
- if ( false != $atts['include_type'] || false != $atts['include_tag'] ) {
+ if ( $atts['include_type'] || $atts['include_tag'] ) {
$args['tax_query'] = array();
}
- // If 'include_type' has been set use it on the main query
- if ( false != $atts['include_type'] ) {
- array_push( $args['tax_query'], array(
- 'taxonomy' => self::CUSTOM_TAXONOMY_TYPE,
- 'field' => 'slug',
- 'terms' => $atts['include_type'],
- ) );
+ // If 'include_type' has been set use it on the main query.
+ if ( $atts['include_type'] ) {
+ array_push(
+ $args['tax_query'],
+ array(
+ 'taxonomy' => self::CUSTOM_TAXONOMY_TYPE,
+ 'field' => 'slug',
+ 'terms' => $atts['include_type'],
+ )
+ );
}
- // If 'include_tag' has been set use it on the main query
- if ( false != $atts['include_tag'] ) {
- array_push( $args['tax_query'], array(
- 'taxonomy' => self::CUSTOM_TAXONOMY_TAG,
- 'field' => 'slug',
- 'terms' => $atts['include_tag'],
- ) );
+ // If 'include_tag' has been set use it on the main query.
+ if ( $atts['include_tag'] ) {
+ array_push(
+ $args['tax_query'],
+ array(
+ 'taxonomy' => self::CUSTOM_TAXONOMY_TAG,
+ 'field' => 'slug',
+ 'terms' => $atts['include_tag'],
+ )
+ );
}
- if ( false != $atts['include_type'] && false != $atts['include_tag'] ) {
+ if ( $atts['include_type'] && $atts['include_tag'] ) {
$args['tax_query']['relation'] = 'AND';
}
- // Run the query and return
+ // Run the query and return.
$query = new WP_Query( $args );
return $query;
}
@@ -690,52 +855,57 @@ class Jetpack_Portfolio {
* The Portfolio shortcode loop.
*
* @todo add theme color styles
+ *
+ * @param array $atts Shortcode attributes.
+ *
* @return html
*/
- static function portfolio_shortcode_html( $atts ) {
-
- $query = self::portfolio_query( $atts );
+ private static function portfolio_shortcode_html( $atts ) {
+ $query = self::portfolio_query( $atts );
$portfolio_index_number = 0;
ob_start();
- // If we have posts, create the html
- // with hportfolio markup
+ /*
+ * If we have posts, create the html
+ * with portfolio markup
+ */
if ( $query->have_posts() ) {
-
- // Render styles
- //self::themecolor_styles();
-
- ?>
+ /*
+ * Render styles
+ * See self::themecolor_styles();
+ */
+ ?>
<div class="jetpack-portfolio-shortcode column-<?php echo esc_attr( $atts['columns'] ); ?>">
- <?php // open .jetpack-portfolio
+ <?php
+ // open .jetpack-portfolio.
// Construct the loop...
while ( $query->have_posts() ) {
$query->the_post();
$post_id = get_the_ID();
?>
- <div class="portfolio-entry <?php echo esc_attr( self::get_project_class( $portfolio_index_number, $atts['columns'] ) ); ?>">
+ <div class="portfolio-entry <?php echo esc_attr( self::get_project_class( $portfolio_index_number, (int) $atts['columns'] ) ); ?>">
<header class="portfolio-entry-header">
<?php
- // Featured image
- echo self::get_portfolio_thumbnail_link( $post_id );
+ // Featured image.
+ echo self::get_portfolio_thumbnail_link( $post_id ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped in method.
?>
- <h2 class="portfolio-entry-title"><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></h2>
+ <h2 class="portfolio-entry-title"><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute() ); ?>"><?php the_title(); ?></a></h2>
<div class="portfolio-entry-meta">
<?php
- if ( false != $atts['display_types'] ) {
- echo self::get_project_type( $post_id );
+ if ( $atts['display_types'] ) {
+ echo self::get_project_type( $post_id ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped in method.
}
- if ( false != $atts['display_tags'] ) {
- echo self::get_project_tags( $post_id );
+ if ( $atts['display_tags'] ) {
+ echo self::get_project_tags( $post_id ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped in method.
}
- if ( false != $atts['display_author'] ) {
- echo self::get_project_author( $post_id );
+ if ( $atts['display_author'] ) {
+ echo self::get_project_author( $post_id ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped in method.
}
?>
</div>
@@ -743,74 +913,77 @@ class Jetpack_Portfolio {
</header>
<?php
- // The content
- if ( false !== $atts['display_content'] ) {
+ // The content.
+ if ( $atts['display_content'] ) {
add_filter( 'wordads_inpost_disable', '__return_true', 20 );
if ( 'full' === $atts['display_content'] ) {
- ?>
+ ?>
<div class="portfolio-entry-content"><?php the_content(); ?></div>
- <?php
+ <?php
} else {
- ?>
+ ?>
<div class="portfolio-entry-content"><?php the_excerpt(); ?></div>
- <?php
+ <?php
}
remove_filter( 'wordads_inpost_disable', '__return_true', 20 );
}
?>
</div><!-- close .portfolio-entry -->
- <?php $portfolio_index_number++;
- } // end of while loop
+ <?php
+ $portfolio_index_number++;
+ } // end of while loop.
wp_reset_postdata();
?>
</div><!-- close .jetpack-portfolio -->
- <?php
- } else { ?>
- <p><em><?php _e( 'Your Portfolio Archive currently has no entries. You can start creating them on your dashboard.', 'jetpack' ); ?></p></em>
- <?php
+ <?php
+ } else {
+ ?>
+ <p><em><?php esc_html_e( 'Your Portfolio Archive currently has no entries. You can start creating them on your dashboard.', 'jetpack' ); ?></p></em>
+ <?php
}
$html = ob_get_clean();
- // If there is a [portfolio] within a [portfolio], remove the shortcode
- if ( has_shortcode( $html, 'portfolio' ) ){
+ // If there is a [portfolio] within a [portfolio], remove the shortcode.
+ if ( has_shortcode( $html, 'portfolio' ) ) {
remove_shortcode( 'portfolio' );
}
- // Return the HTML block
+ // Return the HTML block.
return $html;
}
/**
* Individual project class
*
+ * @param int $portfolio_index_number Index number when looping through Portfolio items.
+ * @param int $columns Number of columns in shortcode output.
* @return string
*/
- static function get_project_class( $portfolio_index_number, $columns ) {
+ private static function get_project_class( $portfolio_index_number, $columns ) {
$project_types = wp_get_object_terms( get_the_ID(), self::CUSTOM_TAXONOMY_TYPE, array( 'fields' => 'slugs' ) );
- $class = array();
+ $class = array();
- $class[] = 'portfolio-entry-column-'.$columns;
- // add a type- class for each project type
+ $class[] = 'portfolio-entry-column-' . $columns;
+ // add a type- class for each project type.
foreach ( $project_types as $project_type ) {
$class[] = 'type-' . esc_html( $project_type );
}
- if( $columns > 1) {
- if ( ( $portfolio_index_number % 2 ) == 0 ) {
+ if ( $columns > 1 ) {
+ if ( ( $portfolio_index_number % 2 ) === 0 ) {
$class[] = 'portfolio-entry-mobile-first-item-row';
} else {
$class[] = 'portfolio-entry-mobile-last-item-row';
}
}
- // add first and last classes to first and last items in a row
- if ( ( $portfolio_index_number % $columns ) == 0 ) {
+ // add first and last classes to first and last items in a row.
+ if ( ( $portfolio_index_number % $columns ) === 0 ) {
$class[] = 'portfolio-entry-first-item-row';
- } elseif ( ( $portfolio_index_number % $columns ) == ( $columns - 1 ) ) {
+ } elseif ( ( $portfolio_index_number % $columns ) === ( $columns - 1 ) ) {
$class[] = 'portfolio-entry-last-item-row';
}
-
/**
* Filter the class applied to project div in the portfolio
*
@@ -821,27 +994,33 @@ class Jetpack_Portfolio {
* @param string $class class name of the div.
* @param int $portfolio_index_number iterator count the number of columns up starting from 0.
* @param int $columns number of columns to display the content in.
- *
*/
- return apply_filters( 'portfolio-project-post-class', implode( " ", $class ) , $portfolio_index_number, $columns );
+ return apply_filters(
+ 'portfolio-project-post-class', // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
+ implode( ' ', $class ),
+ $portfolio_index_number,
+ $columns
+ );
}
/**
* Displays the project type that a project belongs to.
*
+ * @param int $post_id Post ID.
+ *
* @return html
*/
- static function get_project_type( $post_id ) {
+ private static function get_project_type( $post_id ) {
$project_types = get_the_terms( $post_id, self::CUSTOM_TAXONOMY_TYPE );
- // If no types, return empty string
+ // If no types, return empty string.
if ( empty( $project_types ) || is_wp_error( $project_types ) ) {
return;
}
- $html = '<div class="project-types"><span>' . __( 'Types', 'jetpack' ) . ':</span>';
+ $html = '<div class="project-types"><span>' . __( 'Types:', 'jetpack' ) . '</span>';
$types = array();
- // Loop thorugh all the types
+ // Loop through all the types.
foreach ( $project_types as $project_type ) {
$project_type_link = get_term_link( $project_type, self::CUSTOM_TAXONOMY_TYPE );
@@ -851,7 +1030,7 @@ class Jetpack_Portfolio {
$types[] = '<a href="' . esc_url( $project_type_link ) . '" rel="tag">' . esc_html( $project_type->name ) . '</a>';
}
- $html .= ' '.implode( ', ', $types );
+ $html .= ' ' . implode( ', ', $types );
$html .= '</div>';
return $html;
@@ -860,19 +1039,21 @@ class Jetpack_Portfolio {
/**
* Displays the project tags that a project belongs to.
*
+ * @param int $post_id Post ID.
+ *
* @return html
*/
- static function get_project_tags( $post_id ) {
+ private static function get_project_tags( $post_id ) {
$project_tags = get_the_terms( $post_id, self::CUSTOM_TAXONOMY_TAG );
- // If no tags, return empty string
+ // If no tags, return empty string.
if ( empty( $project_tags ) || is_wp_error( $project_tags ) ) {
return false;
}
- $html = '<div class="project-tags"><span>' . __( 'Tags', 'jetpack' ) . ':</span>';
+ $html = '<div class="project-tags"><span>' . __( 'Tags:', 'jetpack' ) . '</span>';
$tags = array();
- // Loop thorugh all the tags
+ // Loop through all the tags.
foreach ( $project_tags as $project_tag ) {
$project_tag_link = get_term_link( $project_tag, self::CUSTOM_TAXONOMY_TYPE );
@@ -882,7 +1063,7 @@ class Jetpack_Portfolio {
$tags[] = '<a href="' . esc_url( $project_tag_link ) . '" rel="tag">' . esc_html( $project_tag->name ) . '</a>';
}
- $html .= ' '. implode( ', ', $tags );
+ $html .= ' ' . implode( ', ', $tags );
$html .= '</div>';
return $html;
@@ -893,10 +1074,11 @@ class Jetpack_Portfolio {
*
* @return html
*/
- static function get_project_author() {
- $html = '<div class="project-author">';
- /* translators: %1$s is link to author posts, %2$s is author display name */
- $html .= sprintf( __( '<span>Author:</span> <a href="%1$s">%2$s</a>', 'jetpack' ),
+ private static function get_project_author() {
+ $html = '<div class="project-author">';
+ $html .= sprintf(
+ /* translators: %1$s is link to author posts, %2$s is author display name */
+ __( '<span>Author:</span> <a href="%1$s">%2$s</a>', 'jetpack' ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_html( get_the_author() )
);
@@ -908,9 +1090,11 @@ class Jetpack_Portfolio {
/**
* Display the featured image if it's available
*
+ * @param int $post_id Post ID.
+ *
* @return html
*/
- static function get_portfolio_thumbnail_link( $post_id ) {
+ private static function get_portfolio_thumbnail_link( $post_id ) {
if ( has_post_thumbnail( $post_id ) ) {
/**
* Change the Portfolio thumbnail size.
@@ -928,6 +1112,6 @@ class Jetpack_Portfolio {
add_action( 'init', array( 'Jetpack_Portfolio', 'init' ) );
-// Check on plugin activation if theme supports CPT
-register_activation_hook( __FILE__, array( 'Jetpack_Portfolio', 'activation_post_type_support' ) );
+// Check on plugin activation if theme supports CPT.
+register_activation_hook( __FILE__, array( 'Jetpack_Portfolio', 'activation_post_type_support' ) );
add_action( 'jetpack_activate_module_custom-content-types', array( 'Jetpack_Portfolio', 'activation_post_type_support' ) );
diff --git a/plugins/jetpack/modules/custom-post-types/testimonial.php b/plugins/jetpack/modules/custom-post-types/testimonial.php
index 1e839c76..59031486 100644
--- a/plugins/jetpack/modules/custom-post-types/testimonial.php
+++ b/plugins/jetpack/modules/custom-post-types/testimonial.php
@@ -1,17 +1,30 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Register a Testimonial post type and handle displaying it anywhere on the site.
+ *
+ * @package automattic/jetpack
+ * @phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+ * @phpcs:disable MediaWiki.Usage.NestedFunctions.NestedFunction
+ */
+
+/**
+ * Add a Testimonial CPT, and display it with a shortcode
+ */
class Jetpack_Testimonial {
const CUSTOM_POST_TYPE = 'jetpack-testimonial';
const OPTION_NAME = 'jetpack_testimonial';
const OPTION_READING_SETTING = 'jetpack_testimonial_posts_per_page';
- public $version = '0.1';
-
- static function init() {
+ /**
+ * Initialize class.
+ *
+ * @return self
+ */
+ public static function init() {
static $instance = false;
if ( ! $instance ) {
- $instance = new Jetpack_Testimonial;
+ $instance = new Jetpack_Testimonial();
}
return $instance;
@@ -23,12 +36,12 @@ class Jetpack_Testimonial {
* Setup user option for enabling CPT.
* If user has CPT enabled, show in admin.
*/
- function __construct() {
+ public function __construct() {
// Make sure the post types are loaded for imports
- add_action( 'import_start', array( $this, 'register_post_types' ) );
+ add_action( 'import_start', array( $this, 'register_post_types' ) );
// If called via REST API, we need to register later in lifecycle
- add_action( 'restapi_theme_init', array( $this, 'maybe_register_cpt' ) );
+ add_action( 'restapi_theme_init', array( $this, 'maybe_register_cpt' ) );
// Add to REST API post type allowed list.
add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_cpt_rest_api_type' ) );
@@ -40,7 +53,7 @@ class Jetpack_Testimonial {
* Registers the custom post types and adds action/filter handlers, but
* only if the site supports it
*/
- function maybe_register_cpt() {
+ public function maybe_register_cpt() {
// Add an option to enable the CPT
add_action( 'admin_init', array( $this, 'settings_api_init' ) );
@@ -60,50 +73,50 @@ class Jetpack_Testimonial {
// CPT magic
$this->register_post_types();
- add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 );
- add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 );
- add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE ), array( $this, 'flush_rules_on_first_testimonial' ) );
- add_action( 'after_switch_theme', array( $this, 'flush_rules_on_switch' ) );
+ add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 );
+ add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 );
+ add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE ), array( $this, 'flush_rules_on_first_testimonial' ) );
+ add_action( 'after_switch_theme', array( $this, 'flush_rules_on_switch' ) );
// Admin Customization
- add_filter( 'enter_title_here', array( $this, 'change_default_title' ) );
- add_filter( sprintf( 'manage_%s_posts_columns', self::CUSTOM_POST_TYPE), array( $this, 'edit_title_column_label' ) );
- add_filter( 'post_updated_messages', array( $this, 'updated_messages' ) );
- add_action( 'customize_register', array( $this, 'customize_register' ) );
+ add_filter( 'enter_title_here', array( $this, 'change_default_title' ) );
+ add_filter( sprintf( 'manage_%s_posts_columns', self::CUSTOM_POST_TYPE ), array( $this, 'edit_title_column_label' ) );
+ add_filter( 'post_updated_messages', array( $this, 'updated_messages' ) );
+ add_action( 'customize_register', array( $this, 'customize_register' ) );
// Only add the 'Customize' sub-menu if the theme supports it.
if ( is_admin() && current_theme_supports( self::CUSTOM_POST_TYPE ) && ! empty( self::count_testimonials() ) ) {
- add_action( 'admin_menu', array( $this, 'add_customize_page' ) );
+ add_action( 'admin_menu', array( $this, 'add_customize_page' ) );
}
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
// Track all the things
- add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'new_activation_stat_bump' ) );
- add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'update_option_stat_bump' ), 11, 2 );
- add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE), array( $this, 'new_testimonial_stat_bump' ) );
+ add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'new_activation_stat_bump' ) );
+ add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'update_option_stat_bump' ), 11, 2 );
+ add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE ), array( $this, 'new_testimonial_stat_bump' ) );
// Add to Dotcom XML sitemaps
- add_filter( 'wpcom_sitemap_post_types', array( $this, 'add_to_sitemap' ) );
+ add_filter( 'wpcom_sitemap_post_types', array( $this, 'add_to_sitemap' ) );
} else {
// Add to Jetpack XML sitemap
- add_filter( 'jetpack_sitemap_post_types', array( $this, 'add_to_sitemap' ) );
+ add_filter( 'jetpack_sitemap_post_types', array( $this, 'add_to_sitemap' ) );
}
// Adjust CPT archive and custom taxonomies to obey CPT reading setting
- add_filter( 'pre_get_posts', array( $this, 'query_reading_setting' ), 20 );
- add_filter( 'infinite_scroll_settings', array( $this, 'infinite_scroll_click_posts_per_page' ) );
+ add_filter( 'pre_get_posts', array( $this, 'query_reading_setting' ), 20 );
+ add_filter( 'infinite_scroll_settings', array( $this, 'infinite_scroll_click_posts_per_page' ) );
// Register [jetpack_testimonials] always and
// register [testimonials] if [testimonials] isn't already set
- add_shortcode( 'jetpack_testimonials', array( $this, 'jetpack_testimonial_shortcode' ) );
+ add_shortcode( 'jetpack_testimonials', array( $this, 'jetpack_testimonial_shortcode' ) );
if ( ! shortcode_exists( 'testimonials' ) ) {
- add_shortcode( 'testimonials', array( $this, 'jetpack_testimonial_shortcode' ) );
+ add_shortcode( 'testimonials', array( $this, 'jetpack_testimonial_shortcode' ) );
}
// If CPT was enabled programatically and no CPT items exist when user switches away, disable
if ( $setting && $this->site_supports_custom_post_type() ) {
- add_action( 'switch_theme', array( $this, 'deactivation_post_type_support' ) );
+ add_action( 'switch_theme', array( $this, 'deactivation_post_type_support' ) );
}
}
@@ -111,9 +124,9 @@ class Jetpack_Testimonial {
* Add a checkbox field in 'Settings' > 'Writing'
* for enabling CPT functionality.
*
- * @return null
+ * @return void
*/
- function settings_api_init() {
+ public function settings_api_init() {
add_settings_field(
self::OPTION_NAME,
'<span class="cpt-options">' . __( 'Testimonials', 'jetpack' ) . '</span>',
@@ -128,7 +141,7 @@ class Jetpack_Testimonial {
'intval'
);
- // Check if CPT is enabled first so that intval doesn't get set to NULL on re-registering
+ // Check if CPT is enabled first so that intval doesn't get set to NULL on re-registering.
if ( $this->site_supports_custom_post_type() ) {
register_setting(
'writing',
@@ -142,25 +155,29 @@ class Jetpack_Testimonial {
* HTML code to display a checkbox true/false option
* for the CPT setting.
*
- * @return html
+ * @return void
*/
- function setting_html() {
+ public function setting_html() {
if ( current_theme_supports( self::CUSTOM_POST_TYPE ) ) : ?>
- <p><?php printf( __( 'Your theme supports Testimonials', 'jetpack' ) ); ?></p>
+ <p><?php esc_html_e( 'Your theme supports Testimonials', 'jetpack' ); ?></p>
<?php else : ?>
<label for="<?php echo esc_attr( self::OPTION_NAME ); ?>">
<input name="<?php echo esc_attr( self::OPTION_NAME ); ?>" id="<?php echo esc_attr( self::OPTION_NAME ); ?>" <?php echo checked( get_option( self::OPTION_NAME, '0' ), true, false ); ?> type="checkbox" value="1" />
<?php esc_html_e( 'Enable Testimonials for this site.', 'jetpack' ); ?>
<a target="_blank" href="https://en.support.wordpress.com/testimonials/"><?php esc_html_e( 'Learn More', 'jetpack' ); ?></a>
</label>
- <?php endif;
+ <?php
+ endif;
if ( $this->site_supports_custom_post_type() ) :
- printf( '<p><label for="%1$s">%2$s</label></p>',
+ printf(
+ '<p><label for="%1$s">%2$s</label></p>',
esc_attr( self::OPTION_READING_SETTING ),
- /* translators: %1$s is replaced with an input field for numbers */
- sprintf( __( 'Testimonial pages display at most %1$s testimonials', 'jetpack' ),
- sprintf( '<input name="%1$s" id="%1$s" type="number" step="1" min="1" value="%2$s" class="small-text" />',
+ sprintf(
+ /* translators: %1$s is replaced with an input field for numbers */
+ esc_html__( 'Testimonial pages display at most %1$s testimonials', 'jetpack' ),
+ sprintf(
+ '<input name="%1$s" id="%1$s" type="number" step="1" min="1" value="%2$s" class="small-text" />',
esc_attr( self::OPTION_READING_SETTING ),
esc_attr( get_option( self::OPTION_READING_SETTING, '10' ) )
)
@@ -172,7 +189,7 @@ class Jetpack_Testimonial {
/**
* Should this Custom Post Type be made available?
*/
- function site_supports_custom_post_type() {
+ private function site_supports_custom_post_type() {
// If the current theme requests it.
if ( current_theme_supports( self::CUSTOM_POST_TYPE ) || get_option( self::OPTION_NAME, '0' ) ) {
return true;
@@ -185,8 +202,11 @@ class Jetpack_Testimonial {
/**
* Add to REST API post type allowed list.
+ *
+ * @param array $post_types Array of allowed post types.
+ * @return array `$post_types` with our type added.
*/
- function allow_cpt_rest_api_type( $post_types ) {
+ public function allow_cpt_rest_api_type( $post_types ) {
$post_types[] = self::CUSTOM_POST_TYPE;
return $post_types;
@@ -195,15 +215,18 @@ class Jetpack_Testimonial {
/**
* Bump Testimonial > New Activation stat
*/
- function new_activation_stat_bump() {
+ public function new_activation_stat_bump() {
/** This action is documented in modules/widgets/social-media-icons.php */
do_action( 'jetpack_bump_stats_extras', 'testimonials', 'new-activation' );
}
/**
* Bump Testimonial > Option On/Off stats to get total active
+ *
+ * @param mixed $old The old option value.
+ * @param mixed $new The new option value.
*/
- function update_option_stat_bump( $old, $new ) {
+ public function update_option_stat_bump( $old, $new ) {
if ( empty( $old ) && ! empty( $new ) ) {
/** This action is documented in modules/widgets/social-media-icons.php */
do_action( 'jetpack_bump_stats_extras', 'testimonials', 'option-on' );
@@ -218,22 +241,22 @@ class Jetpack_Testimonial {
/**
* Bump Testimonial > Published Testimonials stat when testimonials are published
*/
- function new_testimonial_stat_bump() {
+ public function new_testimonial_stat_bump() {
/** This action is documented in modules/widgets/social-media-icons.php */
- do_action ( 'jetpack_bump_stats_extras', 'testimonials', 'published-testimonials' );
+ do_action( 'jetpack_bump_stats_extras', 'testimonials', 'published-testimonials' );
}
- /*
+ /**
* Flush permalinks when CPT option is turned on/off
*/
- function flush_rules_on_enable() {
+ public function flush_rules_on_enable() {
flush_rewrite_rules();
}
- /*
+ /**
* Count published testimonials and flush permalinks when first testimonial is published
*/
- function flush_rules_on_first_testimonial() {
+ public function flush_rules_on_first_testimonial() {
$testimonials = get_transient( 'jetpack-testimonial-count-cache' );
if ( false === $testimonials ) {
@@ -246,10 +269,10 @@ class Jetpack_Testimonial {
}
}
- /*
+ /**
* Flush permalinks when CPT supported theme is activated
*/
- function flush_rules_on_switch() {
+ public function flush_rules_on_switch() {
if ( current_theme_supports( self::CUSTOM_POST_TYPE ) ) {
flush_rewrite_rules();
}
@@ -258,7 +281,7 @@ class Jetpack_Testimonial {
/**
* On plugin/theme activation, check if current theme supports CPT
*/
- static function activation_post_type_support() {
+ public static function activation_post_type_support() {
if ( current_theme_supports( self::CUSTOM_POST_TYPE ) ) {
update_option( self::OPTION_NAME, '1' );
}
@@ -267,13 +290,15 @@ class Jetpack_Testimonial {
/**
* On theme switch, check if CPT item exists and disable if not
*/
- function deactivation_post_type_support() {
- $portfolios = get_posts( array(
- 'fields' => 'ids',
- 'posts_per_page' => 1,
- 'post_type' => self::CUSTOM_POST_TYPE,
- 'suppress_filters' => false
- ) );
+ public function deactivation_post_type_support() {
+ $portfolios = get_posts(
+ array(
+ 'fields' => 'ids',
+ 'posts_per_page' => 1,
+ 'post_type' => self::CUSTOM_POST_TYPE,
+ 'suppress_filters' => false,
+ )
+ );
if ( empty( $portfolios ) ) {
update_option( self::OPTION_NAME, '0' );
@@ -283,78 +308,109 @@ class Jetpack_Testimonial {
/**
* Register Post Type
*/
- function register_post_types() {
+ public function register_post_types() {
if ( post_type_exists( self::CUSTOM_POST_TYPE ) ) {
return;
}
- register_post_type( self::CUSTOM_POST_TYPE, array(
- 'description' => __( 'Customer Testimonials', 'jetpack' ),
- 'labels' => array(
- 'name' => esc_html__( 'Testimonials', 'jetpack' ),
- 'singular_name' => esc_html__( 'Testimonial', 'jetpack' ),
- 'menu_name' => esc_html__( 'Testimonials', 'jetpack' ),
- 'all_items' => esc_html__( 'All Testimonials', 'jetpack' ),
- 'add_new' => esc_html__( 'Add New', 'jetpack' ),
- 'add_new_item' => esc_html__( 'Add New Testimonial', 'jetpack' ),
- 'edit_item' => esc_html__( 'Edit Testimonial', 'jetpack' ),
- 'new_item' => esc_html__( 'New Testimonial', 'jetpack' ),
- 'view_item' => esc_html__( 'View Testimonial', 'jetpack' ),
- 'search_items' => esc_html__( 'Search Testimonials', 'jetpack' ),
- 'not_found' => esc_html__( 'No Testimonials found', 'jetpack' ),
- 'not_found_in_trash' => esc_html__( 'No Testimonials found in Trash', 'jetpack' ),
- 'filter_items_list' => esc_html__( 'Filter Testimonials list', 'jetpack' ),
- 'items_list_navigation' => esc_html__( 'Testimonial list navigation', 'jetpack' ),
- 'items_list' => esc_html__( 'Testimonials list', 'jetpack' ),
- ),
- 'supports' => array(
- 'title',
- 'editor',
- 'thumbnail',
- 'page-attributes',
- 'revisions',
- 'excerpt',
- 'newspack_blocks',
- ),
- 'rewrite' => array(
- 'slug' => 'testimonial',
- 'with_front' => false,
- 'feeds' => false,
- 'pages' => true,
- ),
- 'public' => true,
- 'show_ui' => true,
- 'menu_position' => 20, // below Pages
- 'menu_icon' => 'dashicons-testimonial',
- 'capability_type' => 'page',
- 'map_meta_cap' => true,
- 'has_archive' => true,
- 'query_var' => 'testimonial',
- 'show_in_rest' => true,
- ) );
+ register_post_type(
+ self::CUSTOM_POST_TYPE,
+ array(
+ 'description' => __( 'Customer Testimonials', 'jetpack' ),
+ 'labels' => array(
+ 'name' => esc_html__( 'Testimonials', 'jetpack' ),
+ 'singular_name' => esc_html__( 'Testimonial', 'jetpack' ),
+ 'menu_name' => esc_html__( 'Testimonials', 'jetpack' ),
+ 'all_items' => esc_html__( 'All Testimonials', 'jetpack' ),
+ 'add_new' => esc_html__( 'Add New', 'jetpack' ),
+ 'add_new_item' => esc_html__( 'Add New Testimonial', 'jetpack' ),
+ 'edit_item' => esc_html__( 'Edit Testimonial', 'jetpack' ),
+ 'new_item' => esc_html__( 'New Testimonial', 'jetpack' ),
+ 'view_item' => esc_html__( 'View Testimonial', 'jetpack' ),
+ 'search_items' => esc_html__( 'Search Testimonials', 'jetpack' ),
+ 'not_found' => esc_html__( 'No Testimonials found', 'jetpack' ),
+ 'not_found_in_trash' => esc_html__( 'No Testimonials found in Trash', 'jetpack' ),
+ 'filter_items_list' => esc_html__( 'Filter Testimonials list', 'jetpack' ),
+ 'items_list_navigation' => esc_html__( 'Testimonial list navigation', 'jetpack' ),
+ 'items_list' => esc_html__( 'Testimonials list', 'jetpack' ),
+ ),
+ 'supports' => array(
+ 'title',
+ 'editor',
+ 'thumbnail',
+ 'page-attributes',
+ 'revisions',
+ 'excerpt',
+ 'newspack_blocks',
+ ),
+ 'rewrite' => array(
+ 'slug' => 'testimonial',
+ 'with_front' => false,
+ 'feeds' => false,
+ 'pages' => true,
+ ),
+ 'public' => true,
+ 'show_ui' => true,
+ 'menu_position' => 20, // below Pages
+ 'menu_icon' => 'dashicons-testimonial',
+ 'capability_type' => 'page',
+ 'map_meta_cap' => true,
+ 'has_archive' => true,
+ 'query_var' => 'testimonial',
+ 'show_in_rest' => true,
+ )
+ );
}
/**
* Update messages for the Testimonial admin.
+ *
+ * @param array $messages Existing post update messages.
+ * @return array Updated `$messages`.
*/
- function updated_messages( $messages ) {
+ public function updated_messages( $messages ) {
global $post;
$messages[ self::CUSTOM_POST_TYPE ] = array(
0 => '', // Unused. Messages start at index 1.
- 1 => sprintf( __( 'Testimonial updated. <a href="%s">View testimonial</a>', 'jetpack'), esc_url( get_permalink( $post->ID ) ) ),
+ 1 => sprintf(
+ /* Translators: link to Testimonial item's page. */
+ __( 'Testimonial updated. <a href="%s">View testimonial</a>', 'jetpack' ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
2 => esc_html__( 'Custom field updated.', 'jetpack' ),
3 => esc_html__( 'Custom field deleted.', 'jetpack' ),
4 => esc_html__( 'Testimonial updated.', 'jetpack' ),
- /* translators: %s: date and time of the revision */
- 5 => isset( $_GET['revision'] ) ? sprintf( esc_html__( 'Testimonial restored to revision from %s', 'jetpack'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
- 6 => sprintf( __( 'Testimonial published. <a href="%s">View testimonial</a>', 'jetpack' ), esc_url( get_permalink( $post->ID ) ) ),
+ 5 => isset( $_GET['revision'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling.
+ ? sprintf(
+ /* translators: %s: date and time of the revision */
+ esc_html__( 'Testimonial restored to revision from %s', 'jetpack' ),
+ wp_post_revision_title( (int) $_GET['revision'], false ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling.
+ )
+ : false,
+ 6 => sprintf(
+ /* Translators: link to Testimonial item's page. */
+ __( 'Testimonial published. <a href="%s">View testimonial</a>', 'jetpack' ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
7 => esc_html__( 'Testimonial saved.', 'jetpack' ),
- 8 => sprintf( __( 'Testimonial submitted. <a target="_blank" href="%s">Preview testimonial</a>', 'jetpack'), esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) ),
- 9 => sprintf( __( 'Testimonial scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview testimonial</a>', 'jetpack' ),
+ 8 => sprintf(
+ /* Translators: link to Testimonial item's page. */
+ __( 'Testimonial submitted. <a target="_blank" href="%s">Preview testimonial</a>', 'jetpack' ),
+ esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) )
+ ),
+ 9 => sprintf(
+ /* Translators: 1: Publishing date and time. 2. Link to testimonial's item page. */
+ __( 'Testimonial scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview testimonial</a>', 'jetpack' ),
// translators: Publish box date format, see https://php.net/date
- date_i18n( __( 'M j, Y @ G:i', 'jetpack' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post->ID) ) ),
- 10 => sprintf( __( 'Testimonial draft updated. <a target="_blank" href="%s">Preview testimonial</a>', 'jetpack' ), esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) ),
+ date_i18n( __( 'M j, Y @ G:i', 'jetpack' ), strtotime( $post->post_date ) ),
+ esc_url( get_permalink( $post->ID ) )
+ ),
+ 10 => sprintf(
+ /* Translators: link to Testimonial item's page. */
+ __( 'Testimonial draft updated. <a target="_blank" href="%s">Preview testimonial</a>', 'jetpack' ),
+ esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) )
+ ),
);
return $messages;
@@ -362,9 +418,12 @@ class Jetpack_Testimonial {
/**
* Change ‘Enter Title Here’ text for the Testimonial.
+ *
+ * @param string $title Placeholder text. Default 'Add title'.
+ * @return string Replacement title.
*/
- function change_default_title( $title ) {
- if ( self::CUSTOM_POST_TYPE == get_post_type() ) {
+ public function change_default_title( $title ) {
+ if ( self::CUSTOM_POST_TYPE === get_post_type() ) {
$title = esc_html__( "Enter the customer's name here", 'jetpack' );
}
@@ -373,8 +432,11 @@ class Jetpack_Testimonial {
/**
* Change ‘Title’ column label on all Testimonials page.
+ *
+ * @param array $columns An array of column names.
+ * @return array Updated array.
*/
- function edit_title_column_label( $columns ) {
+ public function edit_title_column_label( $columns ) {
$columns['title'] = esc_html__( 'Customer Name', 'jetpack' );
return $columns;
@@ -382,8 +444,10 @@ class Jetpack_Testimonial {
/**
* Follow CPT reading setting on CPT archive page
+ *
+ * @param WP_Query $query A WP_Query instance.
*/
- function query_reading_setting( $query ) {
+ public function query_reading_setting( $query ) {
if ( ! is_admin()
&& $query->is_main_query()
&& $query->is_post_type_archive( self::CUSTOM_POST_TYPE )
@@ -392,14 +456,17 @@ class Jetpack_Testimonial {
}
}
- /*
+ /**
* If Infinite Scroll is set to 'click', use our custom reading setting instead of core's `posts_per_page`.
+ *
+ * @param array $settings Array of Infinite Scroll settings.
+ * @return array Updated `$settings`.
*/
- function infinite_scroll_click_posts_per_page( $settings ) {
+ public function infinite_scroll_click_posts_per_page( $settings ) {
global $wp_query;
if ( ! is_admin() && true === $settings['click_handle'] && $wp_query->is_post_type_archive( self::CUSTOM_POST_TYPE ) ) {
- $settings['posts_per_page'] = get_option( self::OPTION_READING_SETTING, $settings['posts_per_page'] );
+ $settings['posts_per_page'] = get_option( self::OPTION_READING_SETTING, $settings['posts_per_page'] ); // phpcs:ignore WordPress.WP.PostsPerPage.posts_per_page_posts_per_page
}
return $settings;
@@ -407,28 +474,29 @@ class Jetpack_Testimonial {
/**
* Add CPT to Dotcom sitemap
+ *
+ * @param array $post_types Array of post types included in sitemap.
+ * @return array Updated `$post_types`.
*/
- function add_to_sitemap( $post_types ) {
+ public function add_to_sitemap( $post_types ) {
$post_types[] = self::CUSTOM_POST_TYPE;
return $post_types;
}
- function set_testimonial_option() {
- $testimonials = wp_count_posts( self::CUSTOM_POST_TYPE );
- $published_testimonials = $testimonials->publish;
-
- update_option( self::OPTION_NAME, $published_testimonials );
- }
-
- function count_testimonials() {
+ /**
+ * Count the number of published testimonials.
+ *
+ * @return int
+ */
+ private function count_testimonials() {
$testimonials = get_transient( 'jetpack-testimonial-count-cache' );
if ( false === $testimonials ) {
$testimonials = (int) wp_count_posts( self::CUSTOM_POST_TYPE )->publish;
if ( ! empty( $testimonials ) ) {
- set_transient( 'jetpack-testimonial-count-cache', $testimonials, 60*60*12 );
+ set_transient( 'jetpack-testimonial-count-cache', $testimonials, 60 * 60 * 12 );
}
}
@@ -438,63 +506,95 @@ class Jetpack_Testimonial {
/**
* Adds a submenu link to the Customizer.
*/
- function add_customize_page() {
+ public function add_customize_page() {
add_submenu_page(
'edit.php?post_type=' . self::CUSTOM_POST_TYPE,
esc_html__( 'Customize Testimonials Archive', 'jetpack' ),
esc_html__( 'Customize', 'jetpack' ),
'edit_theme_options',
- add_query_arg( array(
- 'url' => urlencode( home_url( '/testimonial/' ) ),
- 'autofocus[section]' => 'jetpack_testimonials'
- ), 'customize.php' )
+ add_query_arg(
+ array(
+ 'url' => rawurlencode( home_url( '/testimonial/' ) ),
+ 'autofocus[section]' => 'jetpack_testimonials',
+ ),
+ 'customize.php'
+ )
);
}
/**
* Adds testimonial section to the Customizer.
+ *
+ * @param WP_Customize_Manager $wp_customize Customizer instance.
*/
- function customize_register( $wp_customize ) {
+ public function customize_register( $wp_customize ) {
jetpack_testimonial_custom_control_classes();
- $wp_customize->add_section( 'jetpack_testimonials', array(
- 'title' => esc_html__( 'Testimonials', 'jetpack' ),
- 'theme_supports' => self::CUSTOM_POST_TYPE,
- 'priority' => 130,
- ) );
-
- $wp_customize->add_setting( 'jetpack_testimonials[page-title]', array(
- 'default' => esc_html__( 'Testimonials', 'jetpack' ),
- 'sanitize_callback' => array( 'Jetpack_Testimonial_Title_Control', 'sanitize_content' ),
- 'sanitize_js_callback' => array( 'Jetpack_Testimonial_Title_Control', 'sanitize_content' ),
- ) );
- $wp_customize->add_control( 'jetpack_testimonials[page-title]', array(
- 'section' => 'jetpack_testimonials',
- 'label' => esc_html__( 'Testimonial Archive Title', 'jetpack' ),
- 'type' => 'text',
- ) );
-
- $wp_customize->add_setting( 'jetpack_testimonials[page-content]', array(
- 'default' => '',
- 'sanitize_callback' => array( 'Jetpack_Testimonial_Textarea_Control', 'sanitize_content' ),
- 'sanitize_js_callback' => array( 'Jetpack_Testimonial_Textarea_Control', 'sanitize_content' ),
- ) );
- $wp_customize->add_control( new Jetpack_Testimonial_Textarea_Control( $wp_customize, 'jetpack_testimonials[page-content]', array(
- 'section' => 'jetpack_testimonials',
- 'settings' => 'jetpack_testimonials[page-content]',
- 'label' => esc_html__( 'Testimonial Archive Content', 'jetpack' ),
- ) ) );
-
- $wp_customize->add_setting( 'jetpack_testimonials[featured-image]', array(
- 'default' => '',
- 'sanitize_callback' => 'attachment_url_to_postid',
- 'sanitize_js_callback' => 'attachment_url_to_postid',
- 'theme_supports' => 'post-thumbnails',
- ) );
- $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'jetpack_testimonials[featured-image]', array(
- 'section' => 'jetpack_testimonials',
- 'label' => esc_html__( 'Testimonial Archive Featured Image', 'jetpack' ),
- ) ) );
+ $wp_customize->add_section(
+ 'jetpack_testimonials',
+ array(
+ 'title' => esc_html__( 'Testimonials', 'jetpack' ),
+ 'theme_supports' => self::CUSTOM_POST_TYPE,
+ 'priority' => 130,
+ )
+ );
+
+ $wp_customize->add_setting(
+ 'jetpack_testimonials[page-title]',
+ array(
+ 'default' => esc_html__( 'Testimonials', 'jetpack' ),
+ 'sanitize_callback' => array( 'Jetpack_Testimonial_Title_Control', 'sanitize_content' ),
+ 'sanitize_js_callback' => array( 'Jetpack_Testimonial_Title_Control', 'sanitize_content' ),
+ )
+ );
+ $wp_customize->add_control(
+ 'jetpack_testimonials[page-title]',
+ array(
+ 'section' => 'jetpack_testimonials',
+ 'label' => esc_html__( 'Testimonial Archive Title', 'jetpack' ),
+ 'type' => 'text',
+ )
+ );
+
+ $wp_customize->add_setting(
+ 'jetpack_testimonials[page-content]',
+ array(
+ 'default' => '',
+ 'sanitize_callback' => array( 'Jetpack_Testimonial_Textarea_Control', 'sanitize_content' ),
+ 'sanitize_js_callback' => array( 'Jetpack_Testimonial_Textarea_Control', 'sanitize_content' ),
+ )
+ );
+ $wp_customize->add_control(
+ new Jetpack_Testimonial_Textarea_Control(
+ $wp_customize,
+ 'jetpack_testimonials[page-content]',
+ array(
+ 'section' => 'jetpack_testimonials',
+ 'settings' => 'jetpack_testimonials[page-content]',
+ 'label' => esc_html__( 'Testimonial Archive Content', 'jetpack' ),
+ )
+ )
+ );
+
+ $wp_customize->add_setting(
+ 'jetpack_testimonials[featured-image]',
+ array(
+ 'default' => '',
+ 'sanitize_callback' => 'attachment_url_to_postid',
+ 'sanitize_js_callback' => 'attachment_url_to_postid',
+ 'theme_supports' => 'post-thumbnails',
+ )
+ );
+ $wp_customize->add_control(
+ new WP_Customize_Image_Control(
+ $wp_customize,
+ 'jetpack_testimonials[featured-image]',
+ array(
+ 'section' => 'jetpack_testimonials',
+ 'label' => esc_html__( 'Testimonial Archive Featured Image', 'jetpack' ),
+ )
+ )
+ );
// The featured image control doesn't display properly in the Customizer unless we coerce
// it back into a URL sooner, since that's what WP_Customize_Upload_Control::to_json() expects
@@ -503,6 +603,12 @@ class Jetpack_Testimonial {
}
}
+ /**
+ * Add Featured image to theme mod if necessary.
+ *
+ * @param array $opt The value of the current theme modification.
+ * @return array Updated `$opt`.
+ */
public function coerce_testimonial_image_to_url( $opt ) {
if ( ! $opt || ! is_array( $opt ) ) {
return $opt;
@@ -521,25 +627,35 @@ class Jetpack_Testimonial {
* Our [testimonial] shortcode.
* Prints Testimonial data styled to look good on *any* theme.
*
- * @return jetpack_testimonial_shortcode_html
- */
- static function jetpack_testimonial_shortcode( $atts ) {
- // Default attributes
- $atts = shortcode_atts( array(
- 'display_content' => true,
- 'image' => true,
- 'columns' => 1,
- 'showposts' => -1,
- 'order' => 'asc',
- 'orderby' => 'menu_order,date',
- ), $atts, 'testimonial' );
-
- // A little sanitization
- if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) {
+ * @param array $atts Shortcode attributes.
+ *
+ * @return string HTML from `self::jetpack_testimonial_shortcode_html()`.
+ */
+ public static function jetpack_testimonial_shortcode( $atts ) {
+ // Default attributes.
+ $atts = shortcode_atts(
+ array(
+ 'display_content' => true, // Can be false, true, or full.
+ 'image' => true,
+ 'columns' => 1,
+ 'showposts' => -1,
+ 'order' => 'asc',
+ 'orderby' => 'menu_order,date',
+ ),
+ $atts,
+ 'testimonial'
+ );
+
+ // A little sanitization.
+ if (
+ $atts['display_content']
+ && 'true' != $atts['display_content'] // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
+ && 'full' !== $atts['display_content']
+ ) {
$atts['display_content'] = false;
}
- if ( $atts['image'] && 'true' != $atts['image'] ) {
+ if ( $atts['image'] && 'true' != $atts['image'] ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
$atts['image'] = false;
}
@@ -550,7 +666,7 @@ class Jetpack_Testimonial {
if ( $atts['order'] ) {
$atts['order'] = urldecode( $atts['order'] );
$atts['order'] = strtoupper( $atts['order'] );
- if ( 'DESC' != $atts['order'] ) {
+ if ( 'DESC' !== $atts['order'] ) {
$atts['order'] = 'ASC';
}
}
@@ -558,18 +674,18 @@ class Jetpack_Testimonial {
if ( $atts['orderby'] ) {
$atts['orderby'] = urldecode( $atts['orderby'] );
$atts['orderby'] = strtolower( $atts['orderby'] );
- $allowed_keys = array( 'author', 'date', 'title', 'menu_order', 'rand' );
+ $allowed_keys = array( 'author', 'date', 'title', 'menu_order', 'rand' );
$parsed = array();
- foreach ( explode( ',', $atts['orderby'] ) as $testimonial_index_number => $orderby ) {
- if ( ! in_array( $orderby, $allowed_keys ) ) {
+ foreach ( explode( ',', $atts['orderby'] ) as $orderby ) {
+ if ( ! in_array( $orderby, $allowed_keys, true ) ) {
continue;
}
$parsed[] = $orderby;
}
if ( empty( $parsed ) ) {
- unset($atts['orderby']);
+ unset( $atts['orderby'] );
} else {
$atts['orderby'] = implode( ' ', $parsed );
}
@@ -586,9 +702,11 @@ class Jetpack_Testimonial {
/**
* The Testimonial shortcode loop.
*
- * @return html
+ * @param array $atts Shortcode attributes.
+ *
+ * @return string html
*/
- static function jetpack_testimonial_shortcode_html( $atts ) {
+ private static function jetpack_testimonial_shortcode_html( $atts ) {
// Default query arguments
$defaults = array(
'order' => $atts['order'],
@@ -596,9 +714,9 @@ class Jetpack_Testimonial {
'posts_per_page' => $atts['showposts'],
);
- $args = wp_parse_args( $atts, $defaults );
+ $args = wp_parse_args( $atts, $defaults );
$args['post_type'] = self::CUSTOM_POST_TYPE; // Force this post type
- $query = new WP_Query( $args );
+ $query = new WP_Query( $args );
$testimonial_index_number = 0;
@@ -609,8 +727,7 @@ class Jetpack_Testimonial {
?>
<div class="jetpack-testimonial-shortcode column-<?php echo esc_attr( $atts['columns'] ); ?>">
- <?php // open .jetpack-testimonial-shortcode
-
+ <?php
// Construct the loop...
while ( $query->have_posts() ) {
$query->the_post();
@@ -621,21 +738,21 @@ class Jetpack_Testimonial {
// The content
if ( false !== $atts['display_content'] ) {
if ( 'full' === $atts['display_content'] ) {
- ?>
+ ?>
<div class="testimonial-entry-content"><?php the_content(); ?></div>
- <?php
+ <?php
} else {
- ?>
+ ?>
<div class="testimonial-entry-content"><?php the_excerpt(); ?></div>
- <?php
+ <?php
}
}
?>
- <span class="testimonial-entry-title">&#8213; <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></span>
+ <span class="testimonial-entry-title">&#8213; <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute() ); ?>"><?php the_title(); ?></a></span>
<?php
// Featured image
if ( false !== $atts['image'] ) :
- echo self::get_testimonial_thumbnail_link( $post_id );
+ echo self::get_testimonial_thumbnail_link( $post_id ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped in method.
endif;
?>
</div><!-- close .testimonial-entry -->
@@ -646,10 +763,11 @@ class Jetpack_Testimonial {
wp_reset_postdata();
?>
</div><!-- close .jetpack-testimonial-shortcode -->
- <?php
- } else { ?>
- <p><em><?php _e( 'Your Testimonial Archive currently has no entries. You can start creating them on your dashboard.', 'jetpack' ); ?></p></em>
- <?php
+ <?php
+ } else {
+ ?>
+ <p><em><?php esc_html_e( 'Your Testimonial Archive currently has no entries. You can start creating them on your dashboard.', 'jetpack' ); ?></p></em>
+ <?php
}
$html = ob_get_clean();
@@ -660,15 +778,19 @@ class Jetpack_Testimonial {
/**
* Individual testimonial class
*
+ * @param int $testimonial_index_number iterator count the number of columns up starting from 0.
+ * @param int $columns number of columns to display the content in.
+ * @param bool $image has a thumbnail or not.
+ *
* @return string
*/
- static function get_testimonial_class( $testimonial_index_number, $columns, $image ) {
+ private static function get_testimonial_class( $testimonial_index_number, $columns, $image ) {
$class = array();
- $class[] = 'testimonial-entry-column-'.$columns;
+ $class[] = 'testimonial-entry-column-' . $columns;
- if( $columns > 1) {
- if ( ( $testimonial_index_number % 2 ) == 0 ) {
+ if ( $columns > 1 ) {
+ if ( ( $testimonial_index_number % 2 ) === 0 ) {
$class[] = 'testimonial-entry-mobile-first-item-row';
} else {
$class[] = 'testimonial-entry-mobile-last-item-row';
@@ -676,9 +798,9 @@ class Jetpack_Testimonial {
}
// add first and last classes to first and last items in a row
- if ( ( $testimonial_index_number % $columns ) == 0 ) {
+ if ( ( $testimonial_index_number % $columns ) === 0 ) {
$class[] = 'testimonial-entry-first-item-row';
- } elseif ( ( $testimonial_index_number % $columns ) == ( $columns - 1 ) ) {
+ } elseif ( ( $testimonial_index_number % $columns ) === ( $columns - 1 ) ) {
$class[] = 'testimonial-entry-last-item-row';
}
@@ -698,17 +820,18 @@ class Jetpack_Testimonial {
* @param int $testimonial_index_number iterator count the number of columns up starting from 0.
* @param int $columns number of columns to display the content in.
* @param boolean $image has a thumbnail or not.
- *
*/
- return apply_filters( 'testimonial-entry-post-class', implode( " ", $class ) , $testimonial_index_number, $columns, $image );
+ return apply_filters( 'testimonial-entry-post-class', implode( ' ', $class ), $testimonial_index_number, $columns, $image ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
}
/**
* Display the featured image if it's available
*
- * @return html
+ * @param int $post_id Post ID.
+ *
+ * @return string html
*/
- static function get_testimonial_thumbnail_link( $post_id ) {
+ private static function get_testimonial_thumbnail_link( $post_id ) {
if ( has_post_thumbnail( $post_id ) ) {
/**
* Change the thumbnail size for the Testimonial CPT.
@@ -724,32 +847,63 @@ class Jetpack_Testimonial {
}
}
+/**
+ * Additional Testimonial customizer options.
+ */
function jetpack_testimonial_custom_control_classes() {
+ /**
+ * Clean the title parameter.
+ */
class Jetpack_Testimonial_Title_Control extends WP_Customize_Control {
+ /**
+ * Sanitize content passed to control.
+ *
+ * @param string $value Control value.
+ * @return string Sanitized value.
+ */
public static function sanitize_content( $value ) {
- if ( '' != $value )
+ if ( '' != $value ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
$value = trim( convert_chars( wptexturize( $value ) ) );
+ }
return $value;
}
}
+ /**
+ * Clean textarea content.
+ */
class Jetpack_Testimonial_Textarea_Control extends WP_Customize_Control {
+ /**
+ * Control type.
+ *
+ * @var string
+ */
public $type = 'textarea';
+ /**
+ * Render the control's content.
+ */
public function render_content() {
?>
<label>
<span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
<textarea rows="5" style="width:100%;" <?php $this->link(); ?>><?php echo esc_textarea( $this->value() ); ?></textarea>
</label>
- <?php
+ <?php
}
+ /**
+ * Sanitize content passed to control.
+ *
+ * @param string $value Control value.
+ * @return string Sanitized value.
+ */
public static function sanitize_content( $value ) {
- if ( ! empty( $value ) )
+ if ( ! empty( $value ) ) {
/** This filter is already documented in core. wp-includes/post-template.php */
$value = apply_filters( 'the_content', $value );
+ }
$value = preg_replace( '@<div id="jp-post-flair"([^>]+)?>(.+)?</div>@is', '', $value ); // Strip WPCOM and Jetpack post flair if included in content
@@ -761,5 +915,5 @@ function jetpack_testimonial_custom_control_classes() {
add_action( 'init', array( 'Jetpack_Testimonial', 'init' ) );
// Check on plugin activation if theme supports CPT
-register_activation_hook( __FILE__, array( 'Jetpack_Testimonial', 'activation_post_type_support' ) );
+register_activation_hook( __FILE__, array( 'Jetpack_Testimonial', 'activation_post_type_support' ) );
add_action( 'jetpack_activate_module_custom-content-types', array( 'Jetpack_Testimonial', 'activation_post_type_support' ) );
diff --git a/plugins/jetpack/modules/enhanced-distribution.php b/plugins/jetpack/modules/enhanced-distribution.php
index 43c7f31d..85e7772a 100644
--- a/plugins/jetpack/modules/enhanced-distribution.php
+++ b/plugins/jetpack/modules/enhanced-distribution.php
@@ -9,11 +9,15 @@
* Module Tags: Writing
* Feature: Engagement
* Additional Search Queries: google, seo, firehose, search, broadcast, broadcasting
+ *
+ * @package automattic/jetpack
*/
-// In case it's active prior to upgrading to 1.9
+/**
+ * In case it's active prior to upgrading to '1.9'.
+ */
function jetpack_enhanced_distribution_before_activate_default_modules() {
- $old_version = Jetpack_Options::get_option( 'old_version' );
+ $old_version = Jetpack_Options::get_option( 'old_version' );
list( $old_version ) = explode( ':', $old_version );
if ( version_compare( $old_version, '1.9-something', '>=' ) ) {
@@ -25,43 +29,53 @@ function jetpack_enhanced_distribution_before_activate_default_modules() {
add_action( 'jetpack_before_activate_default_modules', 'jetpack_enhanced_distribution_before_activate_default_modules' );
-/**
- * If a request has ?get_freshly_pressed_data=true appended
- * to the end, then let's provide the necessary data back via JSON.
- */
-if ( isset( $_GET['get_freshly_pressed_data'] ) ) {
- add_action( 'template_redirect', 'jetpack_get_freshly_pressed_data' );
+if ( isset( $_GET['get_freshly_pressed_data'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ /**
+ * If a request has ?get_freshly_pressed_data=true appended
+ * to the end, then let's provide the necessary data back via JSON.
+ */
function jetpack_get_freshly_pressed_data() {
if ( is_single() ) {
- wp_send_json_success( array(
- 'blog_id' => Jetpack_Options::get_option( 'id' ),
- 'post_id' => get_the_ID(),
- ) );
+ wp_send_json_success(
+ array(
+ 'blog_id' => Jetpack_Options::get_option( 'id' ),
+ 'post_id' => get_the_ID(),
+ )
+ );
} else {
- wp_send_json_error( array(
- 'message' => 'Not Singular',
- ) );
+ wp_send_json_error(
+ array(
+ 'message' => 'Not Singular',
+ )
+ );
}
}
+ add_action( 'template_redirect', 'jetpack_get_freshly_pressed_data' );
}
-add_action( 'rss_head', 'jetpack_enhanced_distribution_feed_id' );
-add_action( 'rss_item', 'jetpack_enhanced_distribution_post_id' );
+add_action( 'rss_head', 'jetpack_enhanced_distribution_feed_id' );
+add_action( 'rss_item', 'jetpack_enhanced_distribution_post_id' );
add_action( 'rss2_head', 'jetpack_enhanced_distribution_feed_id' );
add_action( 'rss2_item', 'jetpack_enhanced_distribution_post_id' );
-function jetpack_enhanced_distribution_feed_id(){
- (int) $id = Jetpack_Options::get_option( 'id' );
+/**
+ * Output feed identifier based on blog ID.
+ */
+function jetpack_enhanced_distribution_feed_id() {
+ $id = (int) Jetpack_Options::get_option( 'id' );
if ( $id > 0 ) {
$output = sprintf( '<site xmlns="com-wordpress:feed-additions:1">%d</site>', $id );
- echo $output;
+ echo $output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
-function jetpack_enhanced_distribution_post_id(){
- $id = get_the_ID();
+/**
+ * Output feed item identifier based on current post ID.
+ */
+function jetpack_enhanced_distribution_post_id() {
+ $id = (int) get_the_ID();
if ( $id ) {
$output = sprintf( '<post-id xmlns="com-wordpress:feed-additions:1">%d</post-id>', $id );
- echo $output;
+ echo $output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
diff --git a/plugins/jetpack/modules/geo-location.php b/plugins/jetpack/modules/geo-location.php
index 4d3e255c..59fb2c0d 100644
--- a/plugins/jetpack/modules/geo-location.php
+++ b/plugins/jetpack/modules/geo-location.php
@@ -1,22 +1,38 @@
<?php
+/**
+ * Module: geo-location
+ *
+ * @package automattic/jetpack
+ */
+
+/**
+ * Adds support for geo-location features.
+ */
-require_once dirname( __FILE__ ) . '/geo-location/class.jetpack-geo-location.php';
+require_once __DIR__ . '/geo-location/class.jetpack-geo-location.php';
/**
- * Geo-location shortcode for display of location data associated with a post.
+ * Geo-location shortcode callback for display of location data associated with a post.
*
* Usage with current global $post:
* [geo-location]
*
* Usage with specific post ID:
* [geo-location post=5]
+ *
+ * @param array $attributes Shortcode attributes.
*/
-add_shortcode( 'geo-location', 'jetpack_geo_shortcode' );
-
function jetpack_geo_shortcode( $attributes ) {
- $attributes = shortcode_atts( array( 'post' => null, 'id' => null ), $attributes );
+ $attributes = shortcode_atts(
+ array(
+ 'post' => null,
+ 'id' => null,
+ ),
+ $attributes
+ );
return jetpack_geo_get_location( $attributes['post'] ? $attributes['post'] : $attributes['id'] );
}
+add_shortcode( 'geo-location', 'jetpack_geo_shortcode' );
/**
* Get the geo-location data associated with the supplied post ID, if it's available
@@ -26,11 +42,11 @@ function jetpack_geo_shortcode( $attributes ) {
* If you do not supply a value for $post_id, the global $post will be used, if
* available.
*
- * @param integer|null $post_id
+ * @param integer|null $post_id Post ID.
*
* @return array|null
*/
-function jetpack_geo_get_data( $post_id = null) {
+function jetpack_geo_get_data( $post_id = null ) {
$geo = Jetpack_Geo_Location::init();
if ( ! $post_id ) {
@@ -46,7 +62,7 @@ function jetpack_geo_get_data( $post_id = null) {
return array(
'latitude' => $meta_values['latitude'],
'longitude' => $meta_values['longitude'],
- 'label' => $meta_values['label']
+ 'label' => $meta_values['label'],
);
}
@@ -57,12 +73,12 @@ function jetpack_geo_get_data( $post_id = null) {
* If you do not supply a value for $post_id, the global $post will be used, if
* available.
*
- * @param integer|null $post_id
+ * @param integer|null $post_id Post ID.
*
* @return void
*/
function jetpack_geo_display_location( $post_id = null ) {
- echo jetpack_geo_get_location( $post_id );
+ echo jetpack_geo_get_location( $post_id ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped in `Jetpack_Geo_Location::get_location_label`.
}
/**
@@ -72,7 +88,7 @@ function jetpack_geo_display_location( $post_id = null ) {
* If you do not supply a value for $post_id, the global $post will be used, if
* available.
*
- * @param integer|null $post_id
+ * @param integer|null $post_id Post ID.
*
* @return string
*/
diff --git a/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php b/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php
index c16ce422..17f56433 100644
--- a/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php
+++ b/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Adds support for geo-location features.
@@ -31,6 +31,11 @@
* add_filter( 'jetpack_geo_location_display', 'your_filter_function_name', 10, 2);
*/
class Jetpack_Geo_Location {
+ /**
+ * Jetpack_Geo_Location singleton instance.
+ *
+ * @var Jetpack_Geo_Location|null
+ */
private static $instance;
/**
@@ -42,8 +47,11 @@ class Jetpack_Geo_Location {
*/
private static $style_enqueued = false;
+ /**
+ * Jetpack_Geo_Location instance init.
+ */
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new Jetpack_Geo_Location();
}
@@ -57,6 +65,9 @@ class Jetpack_Geo_Location {
self::$instance = null;
}
+ /**
+ * Jetpack_Geo_Location class constructor.
+ */
public function __construct() {
add_action( 'init', array( $this, 'wordpress_init' ) );
add_action( 'wp_head', array( $this, 'wp_head' ) );
@@ -122,7 +133,7 @@ class Jetpack_Geo_Location {
/**
* Filter "public" input to always be either 1 or 0.
*
- * @param mixed $public
+ * @param mixed $public Value to normalize.
*
* @return int
*/
@@ -133,7 +144,7 @@ class Jetpack_Geo_Location {
/**
* Filter geo coordinates and normalize them to floats with 7 digits of precision.
*
- * @param mixed $coordinate
+ * @param mixed $coordinate Latitude or longitude coordinate.
*
* @return float|null
*/
@@ -197,7 +208,7 @@ class Jetpack_Geo_Location {
* Note that we cannot render the microformat in the context of an excerpt because tags are stripped
* in that context, making our microformat data visible.
*
- * @param string $content
+ * @param string $content Current post content.
*
* @return string
*/
@@ -286,7 +297,7 @@ class Jetpack_Geo_Location {
* If we're rendering a single post and public geo-location data is available for it,
* include the human-friendly location label in the output.
*
- * @param string $content
+ * @param string $content Current post content.
*
* @return string
*/
@@ -303,7 +314,7 @@ class Jetpack_Geo_Location {
* supplied post ID. If no post ID is given, we'll use the global $post variable, if
* it is available.
*
- * @param integer|null $post_id
+ * @param integer|null $post_id Post ID.
*
* @return string
*/
@@ -356,6 +367,8 @@ class Jetpack_Geo_Location {
}
/**
+ * Retrieve geo-location post_meta data for the specified post ID.
+ *
* This method always returns an array with the following structure:
*
* array(is_public => bool, latitude => float, longitude => float, label => string, is_populated => bool)
@@ -367,7 +380,7 @@ class Jetpack_Geo_Location {
* Mocking this method during testing can also be useful for testing output and logic in various
* hook functions.
*
- * @param integer $post_id
+ * @param integer $post_id Post ID.
*
* @return array A predictably structured array representing the meta values for the supplied post ID.
*/
@@ -391,8 +404,8 @@ class Jetpack_Geo_Location {
* This function wraps get_post_meta() to enable us to keep the "geo_" prefix isolated to a single
* location in the code and to assist in mocking during testing.
*
- * @param integer $post_id
- * @param string $meta_field_name
+ * @param integer $post_id Post ID.
+ * @param string $meta_field_name The meta field to retrieve.
*
* @return mixed
*/
diff --git a/plugins/jetpack/modules/google-analytics.php b/plugins/jetpack/modules/google-analytics.php
index 0a606327..bd62094d 100644
--- a/plugins/jetpack/modules/google-analytics.php
+++ b/plugins/jetpack/modules/google-analytics.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Module Name: Google Analytics
* Module Description: Set up Google Analytics without touching a line of code.
@@ -10,6 +9,9 @@
* Feature: Engagement
* Additional Search Queries: webmaster, google, analytics, console
* Plans: business, premium, security, complete
+ *
+ * @package automattic/jetpack
*/
-include dirname( __FILE__ ) . "/google-analytics/wp-google-analytics.php";
+// Load main Jetpack_Google_Analytics class.
+require __DIR__ . '/google-analytics/wp-google-analytics.php';
diff --git a/plugins/jetpack/modules/google-analytics/classes/class-jetpack-google-amp-analytics.php b/plugins/jetpack/modules/google-analytics/classes/class-jetpack-google-amp-analytics.php
index daa369b1..896f194b 100644
--- a/plugins/jetpack/modules/google-analytics/classes/class-jetpack-google-amp-analytics.php
+++ b/plugins/jetpack/modules/google-analytics/classes/class-jetpack-google-amp-analytics.php
@@ -118,7 +118,7 @@ class Jetpack_Google_AMP_Analytics {
* Send the stored events to GA.
*/
public function amp_send_ga_events() {
- if ( 'GET' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) ) {
+ if ( ! isset( $_SERVER['REQUEST_METHOD'] ) || 'GET' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash -- Simple comparison
return;
}
diff --git a/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-legacy.php b/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-legacy.php
index f78040b1..e86a3bc8 100644
--- a/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-legacy.php
+++ b/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-legacy.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Jetpack_Google_Analytics_Legacy hooks and enqueues support for ga.js
@@ -15,7 +15,13 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
+/**
+ * Jetpack_Google_Analytics_Legacy hooks and enqueues support for ga.js
+ */
class Jetpack_Google_Analytics_Legacy {
+ /**
+ * Jetpack_Google_Analytics_Legacy constructor.
+ */
public function __construct() {
add_filter( 'jetpack_wga_classic_custom_vars', array( $this, 'jetpack_wga_classic_anonymize_ip' ) );
add_filter( 'jetpack_wga_classic_custom_vars', array( $this, 'jetpack_wga_classic_track_purchases' ) );
@@ -30,8 +36,8 @@ class Jetpack_Google_Analytics_Legacy {
* @param array $track - Must have ['data'] and ['code'].
* @return string - Tracking URL
*/
- private function _get_url( $track ) {
- $site_url = ( is_ssl() ? 'https://' : 'http://' ) . sanitize_text_field( wp_unslash( $_SERVER['HTTP_HOST'] ) ); // Input var okay.
+ private function get_url( $track ) {
+ $site_url = ( is_ssl() ? 'https://' : 'http://' ) . sanitize_text_field( wp_unslash( isset( $_SERVER['HTTP_HOST'] ) ? $_SERVER['HTTP_HOST'] : '' ) );
foreach ( $track as $k => $value ) {
if ( strpos( strtolower( $value ), strtolower( $site_url ) ) === 0 ) {
$track[ $k ] = substr( $track[ $k ], strlen( $site_url ) );
@@ -50,7 +56,7 @@ class Jetpack_Google_Analytics_Legacy {
$track[ $k ] = trim( $track[ $k ], '_' );
}
$char = ( strpos( $track['data'], '?' ) === false ) ? '?' : '&amp;';
- return str_replace( "'", "\'", "/{$track['code']}/{$track['data']}{$char}referer=" . rawurlencode( isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : '' ) ); // Input var okay.
+ return str_replace( "'", "\'", "/{$track['code']}/{$track['data']}{$char}referer=" . rawurlencode( isset( $_SERVER['HTTP_REFERER'] ) ? esc_url_raw( wp_unslash( $_SERVER['HTTP_REFERER'] ) ) : '' ) );
}
/**
@@ -100,15 +106,15 @@ class Jetpack_Google_Analytics_Legacy {
$custom_vars[] = "_gaq.push(['_trackEvent', '404', document.location.href, document.referrer]);";
} elseif (
is_search()
- && isset( $_REQUEST['s'] )
+ && isset( $_REQUEST['s'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Function renders client-side JS, no site actions.
) {
// Set track for searches, if it's a search, and we are supposed to.
- $track['data'] = sanitize_text_field( wp_unslash( $_REQUEST['s'] ) ); // Input var okay.
+ $track['data'] = sanitize_text_field( wp_unslash( $_REQUEST['s'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Function renders client-side JS, no site actions.
$track['code'] = 'search';
}
if ( ! empty( $track ) ) {
- $track['url'] = $this->_get_url( $track );
+ $track['url'] = $this->get_url( $track );
// adjust the code that we output, account for both types of tracking.
$track['url'] = esc_js( str_replace( '&', '&amp;', $track['url'] ) );
$custom_vars[] = "_gaq.push(['_trackPageview','{$track['url']}']);";
@@ -138,7 +144,7 @@ class Jetpack_Google_Analytics_Legacy {
})();
</script>
<!-- End Jetpack Google Analytics -->\r\n",
- implode( "\r\n", $custom_vars )
+ implode( "\r\n", $custom_vars ) // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Additional elements added to the classic Google Analytics script.
);
}
@@ -194,8 +200,8 @@ class Jetpack_Google_Analytics_Legacy {
* Used to filter in the anonymize IP snippet to the custom vars array for classic analytics
* Ref https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApi_gat#_gat._anonymizelp
*
- * @param array custom vars to be filtered
- * @return array possibly updated custom vars
+ * @param array $custom_vars Custom vars to be filtered.
+ * @return array Possibly updated custom vars.
*/
public function jetpack_wga_classic_anonymize_ip( $custom_vars ) {
if ( Jetpack_Google_Analytics_Options::anonymize_ip_is_enabled() ) {
@@ -208,8 +214,8 @@ class Jetpack_Google_Analytics_Legacy {
/**
* Used to filter in the order details to the custom vars array for classic analytics
*
- * @param array custom vars to be filtered
- * @return array possibly updated custom vars
+ * @param array $custom_vars Custom vars to be filtered.
+ * @return array Possibly updated custom vars.
*/
public function jetpack_wga_classic_track_purchases( $custom_vars ) {
global $wp;
@@ -230,15 +236,17 @@ class Jetpack_Google_Analytics_Legacy {
$minimum_woocommerce_active = class_exists( 'WooCommerce' ) && version_compare( WC_VERSION, '3.0', '>=' );
if ( $minimum_woocommerce_active && is_order_received_page() ) {
$order_id = isset( $wp->query_vars['order-received'] ) ? $wp->query_vars['order-received'] : 0;
- if ( 0 < $order_id && 1 != get_post_meta( $order_id, '_ga_tracked', true ) ) {
+ if ( 0 < $order_id && 1 !== (int) get_post_meta( $order_id, '_ga_tracked', true ) ) {
$order = new WC_Order( $order_id );
- // [ '_add_Trans', '123', 'Site Title', '21.00', '1.00', '5.00', 'Snohomish', 'WA', 'USA' ]
+ /**
+ * [ '_add_Trans', '123', 'Site Title', '21.00', '1.00', '5.00', 'Snohomish', 'WA', 'USA' ]
+ */
array_push(
$custom_vars,
sprintf(
'_gaq.push( %s );',
- json_encode(
+ wp_json_encode(
array(
'_addTrans',
(string) $order->get_order_number(),
@@ -264,7 +272,7 @@ class Jetpack_Google_Analytics_Legacy {
$custom_vars,
sprintf(
'_gaq.push( %s );',
- json_encode(
+ wp_json_encode(
array(
'_addItem',
(string) $order->get_order_number(),
@@ -308,7 +316,7 @@ class Jetpack_Google_Analytics_Legacy {
if ( is_product() ) { // product page
global $product;
- $product_sku_or_id = $product->get_sku() ? $product->get_sku() : '#' + $product->get_id();
+ $product_sku_or_id = $product->get_sku() ? $product->get_sku() : '#' . $product->get_id();
wc_enqueue_js(
"$( '.single_add_to_cart_button' ).click( function() {
_gaq.push(['_trackEvent', 'Products', 'Add to Cart', '#" . esc_js( $product_sku_or_id ) . "']);
diff --git a/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-options.php b/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-options.php
index b6e208b7..e84ab748 100644
--- a/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-options.php
+++ b/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-options.php
@@ -1,70 +1,130 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileNames
/**
-* Jetpack_Google_Analytics_Options provides a single interface to module options
-*
-* @author allendav
-*/
+ * Jetpack_Google_Analytics_Options provides a single interface to module options
+ *
+ * @author allendav
+ */
/**
-* Bail if accessed directly
-*/
+ * Bail if accessed directly
+ */
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
+/**
+ * Jetpack_Google_Analytics_Options main class.
+ */
class Jetpack_Google_Analytics_Options {
+ /**
+ * Get the Google Analytics tracking ID.
+ *
+ * @param string $option_name Nested 'jetpack_wga' option value to retrieve.
+ * @param mixed $default Default value if $option is not set.
+ * @return mixed Option value or `$default`.
+ */
public static function get_option( $option_name, $default = false ) {
$o = get_option( 'jetpack_wga' );
return isset( $o[ $option_name ] ) ? $o[ $option_name ] : $default;
}
+ /**
+ * Get the analytics tracking code.
+ *
+ * @return string
+ */
public static function get_tracking_code() {
return self::get_option( 'code', '' );
}
+ /**
+ * Check if the tracking code is set.
+ *
+ * @return bool
+ */
public static function has_tracking_code() {
$code = self::get_tracking_code();
return ! empty( $code );
}
- // Options used by both legacy and universal analytics
+ /**
+ * Get the 'anonymize_ip' option used by both legacy and universal analytics.
+ *
+ * @return bool
+ */
public static function anonymize_ip_is_enabled() {
- return self::get_option( 'anonymize_ip' );
+ return (bool) self::get_option( 'anonymize_ip' );
}
- // eCommerce options used by both legacy and universal analytics
+ /**
+ * Get the 'ec_track_purchases' eCommerce option used by both legacy and universal analytics
+ *
+ * @return bool
+ */
public static function track_purchases_is_enabled() {
- return self::get_option( 'ec_track_purchases' );
+ return (bool) self::get_option( 'ec_track_purchases' );
}
+ /**
+ * Get the 'ec_track_add_to_cart' analytics option.
+ *
+ * @return bool
+ */
public static function track_add_to_cart_is_enabled() {
- return self::get_option( 'ec_track_add_to_cart' );
+ return (bool) self::get_option( 'ec_track_add_to_cart' );
}
- // Enhanced eCommerce options
+ /**
+ * Get the 'enh_ec_tracking' analytics option.
+ *
+ * @return bool
+ */
public static function enhanced_ecommerce_tracking_is_enabled() {
- return self::get_option( 'enh_ec_tracking' );
+ return (bool) self::get_option( 'enh_ec_tracking' );
}
+ /**
+ * Get the 'enh_ec_track_remove_from_cart' analytics option.
+ *
+ * @return bool
+ */
public static function track_remove_from_cart_is_enabled() {
- return self::get_option( 'enh_ec_track_remove_from_cart' );
+ return (bool) self::get_option( 'enh_ec_track_remove_from_cart' );
}
+ /**
+ * Get the 'enh_ec_track_prod_impression' analytics option.
+ *
+ * @return bool
+ */
public static function track_product_impressions_is_enabled() {
- return self::get_option( 'enh_ec_track_prod_impression' );
+ return (bool) self::get_option( 'enh_ec_track_prod_impression' );
}
+ /**
+ * Get the 'enh_ec_track_prod_click' analytics option.
+ *
+ * @return bool
+ */
public static function track_product_clicks_is_enabled() {
- return self::get_option( 'enh_ec_track_prod_click' );
+ return (bool) self::get_option( 'enh_ec_track_prod_click' );
}
+ /**
+ * Get the 'enh_ec_track_prod_detail_view' analytics option.
+ *
+ * @return bool
+ */
public static function track_product_detail_view_is_enabled() {
- return self::get_option( 'enh_ec_track_prod_detail_view' );
+ return (bool) self::get_option( 'enh_ec_track_prod_detail_view' );
}
+ /**
+ * Get the 'enh_ec_track_checkout_started' analytics option.
+ *
+ * @return bool
+ */
public static function track_checkout_started_is_enabled() {
- return self::get_option( 'enh_ec_track_checkout_started' );
+ return (bool) self::get_option( 'enh_ec_track_checkout_started' );
}
}
-
diff --git a/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-universal.php b/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-universal.php
index 268f72ef..ea80b904 100644
--- a/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-universal.php
+++ b/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-universal.php
@@ -1,21 +1,26 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
-* Jetpack_Google_Analytics_Universal hooks and and enqueues support for analytics.js
-* https://developers.google.com/analytics/devguides/collection/analyticsjs/
-* https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce
-*
-* @author allendav
-*/
+ * Jetpack_Google_Analytics_Universal hooks and and enqueues support for analytics.js
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce
+ *
+ * @author allendav
+ */
/**
-* Bail if accessed directly
-*/
+ * Bail if accessed directly
+ */
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
+/**
+ * Jetpack_Google_Analytics_Universal main class.
+ */
class Jetpack_Google_Analytics_Universal {
+ /**
+ * Jetpack_Google_Analytics_Universal constructor.
+ */
public function __construct() {
add_filter( 'jetpack_wga_universal_commands', array( $this, 'maybe_anonymize_ip' ) );
add_filter( 'jetpack_wga_universal_commands', array( $this, 'maybe_track_purchases' ) );
@@ -37,6 +42,9 @@ class Jetpack_Google_Analytics_Universal {
add_action( 'wp_footer', array( $this, 'send_pageview_in_footer' ), 24 );
}
+ /**
+ * Hook for the `wp_head` action to output the analytics code.
+ */
public function wp_head() {
$tracking_code = Jetpack_Google_Analytics_Options::get_tracking_code();
if ( empty( $tracking_code ) ) {
@@ -66,6 +74,7 @@ class Jetpack_Google_Analytics_Universal {
*/
$universal_commands = apply_filters( 'jetpack_wga_universal_commands', array() );
+ // phpcs:disable WordPress.WP.EnqueuedResources.NonEnqueuedScript -- Script is added to wp_head.
$async_code = "
<!-- Jetpack Google Analytics -->
<script>
@@ -76,15 +85,21 @@ class Jetpack_Google_Analytics_Universal {
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<!-- End Jetpack Google Analytics -->
- ";
+ "; // phpcs:enable WordPress.WP.EnqueuedResources.NonEnqueuedScript
$async_code = str_replace( '%tracking_id%', $tracking_code, $async_code );
$universal_commands_string = implode( "\r\n", $universal_commands );
- $async_code = str_replace( '%universal_commands%', $universal_commands_string, $async_code );
+ $async_code = str_replace( '%universal_commands%', $universal_commands_string, $async_code );
- echo "$async_code\r\n";
+ echo "$async_code\r\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
+ /**
+ * Check if the 'anonymize_ip' option should be added to the universal Google Analytics queue (ga) commands.
+ *
+ * @param array $command_array Array of commands.
+ * @return array `$command_array` with the additional command conditionally added.
+ */
public function maybe_anonymize_ip( $command_array ) {
if ( Jetpack_Google_Analytics_Options::anonymize_ip_is_enabled() ) {
array_push( $command_array, "ga( 'set', 'anonymizeIp', true );" );
@@ -93,6 +108,14 @@ class Jetpack_Google_Analytics_Universal {
return $command_array;
}
+ /**
+ * Process purchase tracking options for the universal Google Analytics queue (ga) commands.
+ *
+ * May also update post meta to indicate the order has been tracked.
+ *
+ * @param array $command_array Array of commands.
+ * @return array `$command_array` with additional commands conditionally added.
+ */
public function maybe_track_purchases( $command_array ) {
global $wp;
@@ -114,47 +137,47 @@ class Jetpack_Google_Analytics_Universal {
}
$order_id = isset( $wp->query_vars['order-received'] ) ? $wp->query_vars['order-received'] : 0;
- if ( 0 == $order_id ) {
+ if ( 0 === (int) $order_id ) {
return $command_array;
}
// A 1 indicates we've already tracked this order - don't do it again
- if ( 1 == get_post_meta( $order_id, '_ga_tracked', true ) ) {
+ if ( 1 === (int) get_post_meta( $order_id, '_ga_tracked', true ) ) {
return $command_array;
}
- $order = new WC_Order( $order_id );
+ $order = new WC_Order( $order_id );
$order_currency = $order->get_currency();
- $command = "ga( 'set', '&cu', '" . esc_js( $order_currency ) . "' );";
+ $command = "ga( 'set', '&cu', '" . esc_js( $order_currency ) . "' );";
array_push( $command_array, $command );
// Order items
if ( $order->get_items() ) {
foreach ( $order->get_items() as $item ) {
- $product = $order->get_product_from_item( $item );
+ $product = $order->get_product_from_item( $item );
$product_sku_or_id = Jetpack_Google_Analytics_Utils::get_product_sku_or_id( $product );
$item_details = array(
- 'id' => $product_sku_or_id,
- 'name' => $item['name'],
+ 'id' => $product_sku_or_id,
+ 'name' => $item['name'],
'category' => Jetpack_Google_Analytics_Utils::get_product_categories_concatenated( $product ),
- 'price' => $order->get_item_total( $item ),
+ 'price' => $order->get_item_total( $item ),
'quantity' => $item['qty'],
);
- $command = "ga( 'ec:addProduct', " . wp_json_encode( $item_details ) . " );";
+ $command = "ga( 'ec:addProduct', " . wp_json_encode( $item_details ) . ' );';
array_push( $command_array, $command );
}
}
// Order summary
$summary = array(
- 'id' => $order->get_order_number(),
+ 'id' => $order->get_order_number(),
'affiliation' => get_bloginfo( 'name' ),
- 'revenue' => $order->get_total(),
- 'tax' => $order->get_total_tax(),
- 'shipping' => $order->get_total_shipping()
+ 'revenue' => $order->get_total(),
+ 'tax' => $order->get_total_tax(),
+ 'shipping' => $order->get_total_shipping(),
);
- $command = "ga( 'ec:setAction', 'purchase', " . wp_json_encode( $summary ) . " );";
+ $command = "ga( 'ec:setAction', 'purchase', " . wp_json_encode( $summary ) . ' );';
array_push( $command_array, $command );
update_post_meta( $order_id, '_ga_tracked', 1 );
@@ -162,6 +185,9 @@ class Jetpack_Google_Analytics_Universal {
return $command_array;
}
+ /**
+ * Enqueue add-to-cart click tracking script, if enabled.
+ */
public function add_to_cart() {
if ( ! Jetpack_Google_Analytics_Options::track_add_to_cart_is_enabled() ) {
return;
@@ -174,7 +200,7 @@ class Jetpack_Google_Analytics_Universal {
global $product;
$product_sku_or_id = Jetpack_Google_Analytics_Utils::get_product_sku_or_id( $product );
- $selector = ".single_add_to_cart_button";
+ $selector = '.single_add_to_cart_button';
wc_enqueue_js(
"$( '" . esc_js( $selector ) . "' ).click( function() {
@@ -190,6 +216,9 @@ class Jetpack_Google_Analytics_Universal {
);
}
+ /**
+ * Enqueue add-to-cart click tracking script for looped product views, if enabled.
+ */
public function loop_add_to_cart() {
if ( ! Jetpack_Google_Analytics_Options::track_add_to_cart_is_enabled() ) {
return;
@@ -204,7 +233,7 @@ class Jetpack_Google_Analytics_Universal {
return;
}
- $selector = ".add_to_cart_button:not(.product_type_variable, .product_type_grouped)";
+ $selector = '.add_to_cart_button:not(.product_type_variable, .product_type_grouped)';
wc_enqueue_js(
"$( '" . esc_js( $selector ) . "' ).click( function() {
@@ -221,6 +250,9 @@ class Jetpack_Google_Analytics_Universal {
);
}
+ /**
+ * Enqueue remove-from-cart click tracking script, if enabled.
+ */
public function remove_from_cart() {
if ( ! Jetpack_Google_Analytics_Options::enhanced_ecommerce_tracking_is_enabled() ) {
return;
@@ -273,6 +305,9 @@ class Jetpack_Google_Analytics_Universal {
return $url;
}
+ /**
+ * Enqueue listing impression tracking script, if enabled.
+ */
public function listing_impression() {
if ( ! Jetpack_Google_Analytics_Options::enhanced_ecommerce_tracking_is_enabled() ) {
return;
@@ -282,25 +317,28 @@ class Jetpack_Google_Analytics_Universal {
return;
}
- if ( isset( $_GET['s'] ) ) {
- $list = "Search Results";
+ if ( isset( $_GET['s'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- No site actions, just GA options being set.
+ $list = 'Search Results';
} else {
- $list = "Product List";
+ $list = 'Product List';
}
global $product, $woocommerce_loop;
$product_sku_or_id = Jetpack_Google_Analytics_Utils::get_product_sku_or_id( $product );
$item_details = array(
- 'id' => $product_sku_or_id,
- 'name' => $product->get_title(),
+ 'id' => $product_sku_or_id,
+ 'name' => $product->get_title(),
'category' => Jetpack_Google_Analytics_Utils::get_product_categories_concatenated( $product ),
- 'list' => $list,
- 'position' => $woocommerce_loop['loop']
+ 'list' => $list,
+ 'position' => $woocommerce_loop['loop'],
);
- wc_enqueue_js( "ga( 'ec:addImpression', " . wp_json_encode( $item_details ) . " );" );
+ wc_enqueue_js( "ga( 'ec:addImpression', " . wp_json_encode( $item_details ) . ' );' );
}
+ /**
+ * Enqueue listing click tracking script, if enabled.
+ */
public function listing_click() {
if ( ! Jetpack_Google_Analytics_Options::enhanced_ecommerce_tracking_is_enabled() ) {
return;
@@ -310,22 +348,22 @@ class Jetpack_Google_Analytics_Universal {
return;
}
- if ( isset( $_GET['s'] ) ) {
- $list = "Search Results";
+ if ( isset( $_GET['s'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- No site actions, just GA options being set.
+ $list = 'Search Results';
} else {
- $list = "Product List";
+ $list = 'Product List';
}
global $product, $woocommerce_loop;
$product_sku_or_id = Jetpack_Google_Analytics_Utils::get_product_sku_or_id( $product );
- $selector = ".products .post-" . esc_js( $product->get_id() ) . " a";
+ $selector = '.products .post-' . esc_js( $product->get_id() ) . ' a';
$item_details = array(
- 'id' => $product_sku_or_id,
- 'name' => $product->get_title(),
+ 'id' => $product_sku_or_id,
+ 'name' => $product->get_title(),
'category' => Jetpack_Google_Analytics_Utils::get_product_categories_concatenated( $product ),
- 'position' => $woocommerce_loop['loop']
+ 'position' => $woocommerce_loop['loop'],
);
wc_enqueue_js(
@@ -341,6 +379,9 @@ class Jetpack_Google_Analytics_Universal {
);
}
+ /**
+ * Enqueue product detail view tracking script, if enabled.
+ */
public function product_detail() {
if ( ! Jetpack_Google_Analytics_Options::enhanced_ecommerce_tracking_is_enabled() ) {
return;
@@ -354,17 +395,20 @@ class Jetpack_Google_Analytics_Universal {
$product_sku_or_id = Jetpack_Google_Analytics_Utils::get_product_sku_or_id( $product );
$item_details = array(
- 'id' => $product_sku_or_id,
- 'name' => $product->get_title(),
+ 'id' => $product_sku_or_id,
+ 'name' => $product->get_title(),
'category' => Jetpack_Google_Analytics_Utils::get_product_categories_concatenated( $product ),
- 'price' => $product->get_price()
+ 'price' => $product->get_price(),
);
wc_enqueue_js(
- "ga( 'ec:addProduct', " . wp_json_encode( $item_details ) . " );" .
+ "ga( 'ec:addProduct', " . wp_json_encode( $item_details ) . ' );' .
"ga( 'ec:setAction', 'detail' );"
);
}
+ /**
+ * Enqueue post-checkout tracking script, if enabled.
+ */
public function checkout_process() {
if ( ! Jetpack_Google_Analytics_Options::enhanced_ecommerce_tracking_is_enabled() ) {
return;
@@ -375,24 +419,24 @@ class Jetpack_Google_Analytics_Universal {
}
$universal_commands = array();
- $cart = WC()->cart->get_cart();
+ $cart = WC()->cart->get_cart();
foreach ( $cart as $cart_item_key => $cart_item ) {
/**
* This filter is already documented in woocommerce/templates/cart/cart.php
*/
- $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
+ $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
$product_sku_or_id = Jetpack_Google_Analytics_Utils::get_product_sku_or_id( $product );
$item_details = array(
- 'id' => $product_sku_or_id,
- 'name' => $product->get_title(),
+ 'id' => $product_sku_or_id,
+ 'name' => $product->get_title(),
'category' => Jetpack_Google_Analytics_Utils::get_product_categories_concatenated( $product ),
- 'price' => $product->get_price(),
- 'quantity' => $cart_item[ 'quantity' ]
+ 'price' => $product->get_price(),
+ 'quantity' => $cart_item['quantity'],
);
- array_push( $universal_commands, "ga( 'ec:addProduct', " . wp_json_encode( $item_details ) . " );" );
+ array_push( $universal_commands, "ga( 'ec:addProduct', " . wp_json_encode( $item_details ) . ' );' );
}
array_push( $universal_commands, "ga( 'ec:setAction','checkout' );" );
@@ -400,6 +444,11 @@ class Jetpack_Google_Analytics_Universal {
wc_enqueue_js( implode( "\r\n", $universal_commands ) );
}
+ /**
+ * Enqueue pageview event in footer of all pages.
+ *
+ * Action hook added with later priority to come after all of the above tracking.
+ */
public function send_pageview_in_footer() {
if ( ! Jetpack_Google_Analytics_Options::has_tracking_code() ) {
return;
diff --git a/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-utils.php b/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-utils.php
index 807461de..ceabc8ff 100644
--- a/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-utils.php
+++ b/plugins/jetpack/modules/google-analytics/classes/wp-google-analytics-utils.php
@@ -1,22 +1,25 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
-* Jetpack_Google_Analytics_Options provides a single interface to module options
-*
-* @author allendav
-*/
+ * Jetpack_Google_Analytics_Options provides a single interface to module options
+ *
+ * @author allendav
+ */
/**
-* Bail if accessed directly
-*/
+ * Bail if accessed directly
+ */
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
+/**
+ * Jetpack_Google_Analytics_Utils main class.
+ */
class Jetpack_Google_Analytics_Utils {
/**
* Gets product categories or varation attributes as a formatted concatenated string
- * @param WC_Product
+ *
+ * @param WC_Product $product Product to get categories/variations for.
* @return string
*/
public static function get_product_categories_concatenated( $product ) {
@@ -32,21 +35,22 @@ class Jetpack_Google_Analytics_Utils {
if ( is_array( $variation_data ) && ! empty( $variation_data ) ) {
$line = wc_get_formatted_variation( $variation_data, true );
} else {
- $out = array();
+ $out = array();
$categories = get_the_terms( $product->get_id(), 'product_cat' );
if ( $categories ) {
foreach ( $categories as $category ) {
$out[] = $category->name;
}
}
- $line = join( "/", $out );
+ $line = join( '/', $out );
}
return $line;
}
/**
* Gets a product's SKU with fallback to just ID. IDs are prepended with a hash symbol.
- * @param WC_Product
+ *
+ * @param WC_Product $product Product to get SKU/ID for.
* @return string
*/
public static function get_product_sku_or_id( $product ) {
@@ -60,4 +64,4 @@ class Jetpack_Google_Analytics_Utils {
return $product->get_sku() ? $product->get_sku() : '#' . $product->get_id();
}
-} \ No newline at end of file
+}
diff --git a/plugins/jetpack/modules/google-analytics/wp-google-analytics.php b/plugins/jetpack/modules/google-analytics/wp-google-analytics.php
index 7915fb9b..c60b72d8 100644
--- a/plugins/jetpack/modules/google-analytics/wp-google-analytics.php
+++ b/plugins/jetpack/modules/google-analytics/wp-google-analytics.php
@@ -1,49 +1,53 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
/*
- Copyright 2006 Aaron D. Campbell (email : wp_plugins@xavisys.com)
+ Copyright 2006 Aaron D. Campbell (email : wp_plugins@xavisys.com)
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/**
- * Jetpack_Google_Analytics is the class that handles ALL of the plugin functionality.
- * It helps us avoid name collisions
- * https://codex.wordpress.org/Writing_a_Plugin#Avoiding_Function_Name_Collisions
- */
-
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
-require_once( plugin_basename( 'classes/wp-google-analytics-utils.php' ) );
-require_once( plugin_basename( 'classes/wp-google-analytics-options.php' ) );
-require_once( plugin_basename( 'classes/wp-google-analytics-legacy.php' ) );
-require_once( plugin_basename( 'classes/wp-google-analytics-universal.php' ) );
+require_once plugin_basename( 'classes/wp-google-analytics-utils.php' );
+require_once plugin_basename( 'classes/wp-google-analytics-options.php' );
+require_once plugin_basename( 'classes/wp-google-analytics-legacy.php' );
+require_once plugin_basename( 'classes/wp-google-analytics-universal.php' );
require_once plugin_basename( 'classes/class-jetpack-google-amp-analytics.php' );
+/**
+ * Jetpack_Google_Analytics is the class that handles ALL of the plugin functionality.
+ * It helps us avoid name collisions
+ * https://codex.wordpress.org/Writing_a_Plugin#Avoiding_Function_Name_Collisions
+ */
class Jetpack_Google_Analytics {
/**
- * @var Jetpack_Google_Analytics - Static property to hold our singleton instance
+ * Jetpack_Google_Analytics singleton instance.
+ *
+ * @var Jetpack_Google_Analytics
*/
- static $instance = false;
+ public static $instance = false;
/**
- * @var Static property to hold concrete analytics impl that does the work (universal or legacy)
+ * Property to hold concrete analytics implementation that does the work (universal or legacy).
+ *
+ * @var Static
*/
- static $analytics = false;
+ public static $analytics = false;
/**
* This is our constructor, which is private to force the use of get_instance()
@@ -66,7 +70,7 @@ class Jetpack_Google_Analytics {
*/
public static function get_instance() {
if ( ! self::$instance ) {
- self::$instance = new self;
+ self::$instance = new self();
}
return self::$instance;
diff --git a/plugins/jetpack/modules/google-fonts.php b/plugins/jetpack/modules/google-fonts.php
new file mode 100644
index 00000000..7d9f91fe
--- /dev/null
+++ b/plugins/jetpack/modules/google-fonts.php
@@ -0,0 +1,107 @@
+<?php
+/**
+ * Module Name: Google Fonts (Beta)
+ * Module Description: A selection of Google fonts for block enabled themes. This feature is still being developed.
+ * Sort Order: 1
+ * Recommendation Order: 2
+ * First Introduced: 10.8.0
+ * Requires Connection: No
+ * Auto Activate: No
+ * Module Tags: Fonts, Recommended
+ * Feature: Writing
+ * Additional Search Queries: fonts, webfonts, typography
+ *
+ * @package automattic/jetpack
+ */
+
+/**
+ * Curated list of Google Fonts
+ * See https://wp.me/p9Jlb4-22P
+ */
+const JETPACK_GOOGLE_FONTS_LIST = array(
+ 'Arvo',
+ 'Bodoni Moda',
+ 'Cabin',
+ 'Chivo',
+ 'Courier Prime',
+ 'DM Sans',
+ 'Domine',
+ 'EB Garamond',
+ 'Fira Sans',
+ 'IBM Plex Sans',
+ 'IBM Plex Mono',
+ 'Inter',
+ 'Josefin Sans',
+ 'Jost',
+ 'Libre Baskerville',
+ 'Libre Franklin',
+ 'Literata',
+ 'Lora',
+ 'Merriweather',
+ 'Montserrat',
+ 'Newsreader',
+ 'Nunito',
+ 'Open Sans',
+ 'Overpass',
+ 'Playfair Display',
+ 'Poppins',
+ 'Raleway',
+ 'Roboto',
+ 'Roboto Slab',
+ 'Rubik',
+ 'Source Sans Pro',
+ 'Source Serif Pro',
+ 'Space Mono',
+ 'Texturina',
+ 'Work Sans',
+);
+
+/**
+ * Register a curated selection of Google Fonts.
+ *
+ * @return void
+ */
+function jetpack_add_google_fonts_provider() {
+ if ( ! function_exists( 'wp_register_webfont_provider' ) || ! function_exists( 'wp_register_webfonts' ) ) {
+ return;
+ }
+
+ wp_register_webfont_provider( 'jetpack-google-fonts', '\Automattic\Jetpack\Fonts\Google_Fonts_Provider' );
+
+ /**
+ * Curated list of Google Fonts.
+ *
+ * @module google-fonts
+ *
+ * @since 10.8
+ *
+ * @param array $fonts_to_register Array of Google Font names to register.
+ */
+ $fonts_to_register = apply_filters( 'jetpack_google_fonts_list', JETPACK_GOOGLE_FONTS_LIST );
+
+ foreach ( $fonts_to_register as $font_family ) {
+ wp_register_webfonts(
+ array(
+ array(
+ 'font-family' => $font_family,
+ 'font-weight' => '100 900',
+ 'font-style' => 'normal',
+ 'font-display' => 'fallback',
+ 'provider' => 'jetpack-google-fonts',
+ ),
+ array(
+ 'font-family' => $font_family,
+ 'font-weight' => '100 900',
+ 'font-style' => 'italic',
+ 'font-display' => 'fallback',
+ 'provider' => 'jetpack-google-fonts',
+ ),
+ )
+ );
+ }
+}
+add_action( 'after_setup_theme', 'jetpack_add_google_fonts_provider' );
+
+add_filter( 'wp_resource_hints', '\Automattic\Jetpack\Fonts\Utils::font_source_resource_hint', 10, 2 );
+add_filter( 'pre_render_block', '\Automattic\Jetpack\Fonts\Introspectors\Blocks::enqueue_block_fonts', 10, 2 );
+add_action( 'init', '\Automattic\Jetpack\Fonts\Introspectors\Global_Styles::enqueue_global_styles_fonts' );
diff --git a/plugins/jetpack/modules/gravatar-hovercards.php b/plugins/jetpack/modules/gravatar-hovercards.php
index 9e7bf1e8..c8d75624 100644
--- a/plugins/jetpack/modules/gravatar-hovercards.php
+++ b/plugins/jetpack/modules/gravatar-hovercards.php
@@ -10,19 +10,24 @@
* Module Tags: Social, Appearance
* Feature: Appearance
* Additional Search Queries: gravatar, hovercards
+ *
+ * @package automattic/jetpack
*/
define( 'GROFILES__CACHE_BUSTER', gmdate( 'YW' ) );
+/**
+ * Actions that are run on init.
+ */
function grofiles_hovercards_init() {
- add_filter( 'get_avatar', 'grofiles_get_avatar', 10, 2 );
- add_action( 'wp_enqueue_scripts', 'grofiles_attach_cards' );
- add_action( 'wp_footer', 'grofiles_extra_data' );
- add_action( 'admin_init', 'grofiles_add_settings' );
-
- add_action( 'load-index.php', 'grofiles_admin_cards' );
- add_action( 'load-users.php', 'grofiles_admin_cards' );
- add_action( 'load-edit-comments.php', 'grofiles_admin_cards' );
+ add_filter( 'get_avatar', 'grofiles_get_avatar', 10, 2 );
+ add_action( 'wp_enqueue_scripts', 'grofiles_attach_cards' );
+ add_action( 'wp_footer', 'grofiles_extra_data' );
+ add_action( 'admin_init', 'grofiles_add_settings' );
+
+ add_action( 'load-index.php', 'grofiles_admin_cards' );
+ add_action( 'load-users.php', 'grofiles_admin_cards' );
+ add_action( 'load-edit-comments.php', 'grofiles_admin_cards' );
add_action( 'load-options-discussion.php', 'grofiles_admin_cards_forced' );
add_filter( 'jetpack_module_configuration_url_gravatar-hovercards', 'gravatar_hovercards_configuration_url' );
@@ -30,6 +35,9 @@ function grofiles_hovercards_init() {
add_filter( 'get_comment_author_url', 'grofiles_amp_comment_author_url', 10, 2 );
}
+/**
+ * Set configuration page URL.
+ */
function gravatar_hovercards_configuration_url() {
return admin_url( 'options-discussion.php#show_avatars' );
}
@@ -44,11 +52,12 @@ add_action( 'jetpack_modules_loaded', 'grofiles_hovercards_init' );
* @todo - always print HTML, hide via CSS/JS if !show_avatars
*/
function grofiles_add_settings() {
- if ( !get_option( 'show_avatars' ) )
+ if ( ! get_option( 'show_avatars' ) ) {
return;
+ }
- add_settings_field( 'gravatar_disable_hovercards', __( 'Gravatar Hovercards', 'jetpack' ), 'grofiles_setting_callback', 'discussion', 'avatars' );
- register_setting( 'discussion', 'gravatar_disable_hovercards', 'grofiles_hovercard_option_sanitize' );
+ add_settings_field( 'gravatar_disable_hovercards', __( 'Gravatar Hovercards', 'jetpack' ), 'grofiles_setting_callback', 'discussion', 'avatars' );
+ register_setting( 'discussion', 'gravatar_disable_hovercards', 'grofiles_hovercard_option_sanitize' );
}
/**
@@ -57,10 +66,14 @@ function grofiles_add_settings() {
function grofiles_setting_callback() {
global $current_user;
- $checked = 'disabled' == get_option( 'gravatar_disable_hovercards' ) ? '' : 'checked="checked" ';
+ $option = get_option( 'gravatar_disable_hovercards' );
+ printf(
+ "<label id='gravatar-hovercard-options'><input %s name='gravatar_disable_hovercards' id='gravatar_disable_hovercards' type='checkbox' value='enabled' class='code'/>%s</label>",
+ checked( $option, 'enabled', false ),
+ esc_html__( 'View people\'s profiles when you mouse over their Gravatars', 'jetpack' )
+ );
- echo "<label id='gravatar-hovercard-options'><input {$checked}name='gravatar_disable_hovercards' id='gravatar_disable_hovercards' type='checkbox' value='enabled' class='code' /> " . __( "View people's profiles when you mouse over their Gravatars", 'jetpack' ) . "</label>";
-?>
+ ?>
<style type="text/css">
#grav-profile-example img {
float: left;
@@ -86,22 +99,29 @@ jQuery( function($) {
} );
// ]]>
</script>
- <p id="grav-profile-example" class="hide-if-no-js"<?php if ( !$checked ) echo ' style="display:none"'; ?>><?php echo get_avatar( $current_user->ID, 64 ); ?> <span><?php _e( 'Put your mouse over your Gravatar to check out your profile.', 'jetpack' ); ?> <br class="clear" /></span></p>
-<?php
+ <p id="grav-profile-example" class="hide-if-no-js"
+ <?php
+ if ( 'disabled' === $option ) {
+ echo ' style="display:none"';}
+ ?>
+ >
+ <?php echo get_avatar( $current_user->ID, 64 ); ?> <span><?php esc_html_e( 'Put your mouse over your Gravatar to check out your profile.', 'jetpack' ); ?> <br class="clear" /></span></p>
+ <?php
}
/**
* Sanitation filter for Gravatar Hovercard setting
+ *
+ * @param string $val Disabled or enabled.
*/
function grofiles_hovercard_option_sanitize( $val ) {
- if ( 'disabled' == $val ) {
+ if ( 'disabled' === $val ) {
return $val;
}
return $val ? 'enabled' : 'disabled';
}
-
/* Hovercard Display */
/**
@@ -116,18 +136,18 @@ function grofiles_hovercard_option_sanitize( $val ) {
function grofiles_gravatars_to_append( $author = null ) {
static $authors = array();
- // Get
- if ( is_null( $author ) ) {
+ // Get.
+ if ( $author === null ) {
return array_keys( $authors );
}
- // Set
+ // Set.
if ( is_numeric( $author ) ) {
$author = (int) $author;
}
- $authors[$author] = true;
+ $authors[ $author ] = true;
}
/**
@@ -154,7 +174,7 @@ function grofiles_amp_comment_author_url( $url, $id ) {
* Attached to the 'get_avatar' filter.
*
* @param string $avatar The <img/> element of the avatar.
- * @param mixed $author User ID, email address, user login, comment object, user object, post object
+ * @param mixed $author User ID, email address, user login, comment object, user object, post object.
*
* @return string The <img/> element of the avatar.
*/
@@ -163,14 +183,16 @@ function grofiles_get_avatar( $avatar, $author ) {
if ( is_numeric( $author ) ) {
grofiles_gravatars_to_append( $author );
- } else if ( is_string( $author ) ) {
+ } elseif ( is_string( $author ) ) {
if ( false !== strpos( $author, '@' ) ) {
grofiles_gravatars_to_append( $author );
} else {
- if ( $user = get_user_by( 'slug', $author ) )
+ $user = get_user_by( 'slug', $author );
+ if ( $user ) {
grofiles_gravatars_to_append( $user->ID );
+ }
}
- } else if ( isset( $author->comment_type ) ) {
+ } elseif ( isset( $author->comment_type ) ) {
if ( $is_amp ) {
if ( 1 === preg_match( '/avatar\/([a-zA-Z0-9]+)\?/', $avatar, $email_hash ) ) {
$email_hash = $email_hash[1];
@@ -205,15 +227,17 @@ function grofiles_get_avatar( $avatar, $author ) {
return $avatar;
}
- if ( '' != $author->comment_type && 'comment' != $author->comment_type )
+ if ( '' !== $author->comment_type && 'comment' !== $author->comment_type ) {
return $avatar;
- if ( $author->user_id )
+ }
+ if ( $author->user_id ) {
grofiles_gravatars_to_append( $author->user_id );
- else
+ } else {
grofiles_gravatars_to_append( $author->comment_author_email );
- } else if ( isset( $author->user_login ) ) {
+ }
+ } elseif ( isset( $author->user_login ) ) {
grofiles_gravatars_to_append( $author->ID );
- } else if ( isset( $author->post_author ) ) {
+ } elseif ( isset( $author->post_author ) ) {
grofiles_gravatars_to_append( $author->post_author );
}
@@ -226,7 +250,6 @@ function grofiles_get_avatar( $avatar, $author ) {
* @todo is_singular() only?
*/
function grofiles_attach_cards() {
- global $blog_id;
// Is the display of Avatars disabled?
if ( ! get_option( 'show_avatars' ) ) {
@@ -234,7 +257,7 @@ function grofiles_attach_cards() {
}
// Is the display of Gravatar Hovercards disabled?
- if ( 'disabled' == Jetpack_Options::get_option_and_ensure_autoload( 'gravatar_disable_hovercards', '0' ) ) {
+ if ( 'disabled' === Jetpack_Options::get_option_and_ensure_autoload( 'gravatar_disable_hovercards', '0' ) ) {
return;
}
@@ -247,31 +270,41 @@ function grofiles_attach_cards() {
$cu = wp_get_current_user();
$my_hash = md5( $cu->user_email );
} elseif ( ! empty( $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] ) ) {
- $my_hash = md5( $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] );
+ $my_hash = md5( filter_var( wp_unslash( $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] ) ) );
} else {
$my_hash = '';
}
wp_localize_script( 'wpgroho', 'WPGroHo', compact( 'my_hash' ) );
}
}
-
+/**
+ * Add hovercards on Discussion settings panel.
+ */
function grofiles_attach_cards_forced() {
add_filter( 'pre_option_gravatar_disable_hovercards', 'grofiles_force_gravatar_enable_hovercards' );
grofiles_attach_cards();
}
-
+/**
+ * Set hovercards as enabled on Discussion settings panel.
+ */
function grofiles_force_gravatar_enable_hovercards() {
return 'enabled';
}
-
+/**
+ * Add script to admin footer on Discussion settings panel.
+ */
function grofiles_admin_cards_forced() {
add_action( 'admin_footer', 'grofiles_attach_cards_forced' );
}
-
+/**
+ * Add script to admin footer.
+ */
function grofiles_admin_cards() {
add_action( 'admin_footer', 'grofiles_attach_cards' );
}
-
+/**
+ * Dequeue the FE assets when there are no gravatars on the page to be displayed.
+ */
function grofiles_extra_data() {
$authors = grofiles_gravatars_to_append();
@@ -279,15 +312,15 @@ function grofiles_extra_data() {
wp_dequeue_script( 'grofiles-cards' );
wp_dequeue_script( 'wpgroho' );
} else {
-?>
+ ?>
<div style="display:none">
-<?php
+ <?php
foreach ( $authors as $author ) {
grofiles_hovercards_data_html( $author );
}
-?>
+ ?>
</div>
-<?php
+ <?php
}
}
@@ -296,7 +329,7 @@ function grofiles_extra_data() {
*
* @since 5.5.0 Add support for a passed WP_User object
*
- * @param int|string|WP_User $author User ID, email address, or a WP_User object
+ * @param int|string|WP_User $author User ID, email address, or a WP_User object.
*/
function grofiles_hovercards_data_html( $author ) {
$data = grofiles_hovercards_data( $author );
@@ -315,16 +348,15 @@ function grofiles_hovercards_data_html( $author ) {
if ( ! $hash ) {
return;
}
-?>
- <div class="grofile-hash-map-<?php echo $hash; ?>">
-<?php foreach ( $data as $key => $value ) : ?>
+ ?>
+ <div class="grofile-hash-map-<?php echo esc_attr( $hash ); ?>">
+ <?php foreach ( $data as $key => $value ) : ?>
<span class="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $value ); ?></span>
<?php endforeach; ?>
</div>
-<?php
+ <?php
}
-
/* API */
/**
@@ -350,18 +382,20 @@ function grofiles_hovercards_data_callbacks() {
/**
* Keyed JSON object containing all profile data provided by registered callbacks
*
- * @param int|strung $author User ID or email address
+ * @param int|strung $author User ID or email address.
*
* @return array( data_key => data, ... )
*/
function grofiles_hovercards_data( $author ) {
$r = array();
foreach ( grofiles_hovercards_data_callbacks() as $key => $callback ) {
- if ( !is_callable( $callback ) )
+ if ( ! is_callable( $callback ) ) {
continue;
+ }
$data = call_user_func( $callback, $author, $key );
- if ( !is_null( $data ) )
- $r[$key] = $data;
+ if ( $data !== null ) {
+ $r[ $key ] = $data;
+ }
}
return $r;
diff --git a/plugins/jetpack/modules/infinite-scroll.php b/plugins/jetpack/modules/infinite-scroll.php
index 7674217f..4f050867 100644
--- a/plugins/jetpack/modules/infinite-scroll.php
+++ b/plugins/jetpack/modules/infinite-scroll.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Module Name: Infinite Scroll
* Module Description: Automatically load new content when a visitor scrolls
@@ -16,12 +16,17 @@
*/
class Jetpack_Infinite_Scroll_Extras {
/**
- * Class variables
+ * Class variable singleton.
+ *
+ * @var Jetpack_Infinite_Scroll_Extras
*/
- // Oh look, a singleton
- private static $__instance = null;
+ private static $instance = null;
- // Option names
+ /**
+ * Option names.
+ *
+ * @var string
+ */
private $option_name_google_analytics = 'infinite_scroll_google_analytics';
/**
@@ -30,17 +35,17 @@ class Jetpack_Infinite_Scroll_Extras {
* @return object
*/
public static function instance() {
- if ( ! is_a( self::$__instance, 'Jetpack_Infinite_Scroll_Extras' ) )
- self::$__instance = new Jetpack_Infinite_Scroll_Extras;
+ if ( ! self::$instance instanceof Jetpack_Infinite_Scroll_Extras ) {
+ self::$instance = new Jetpack_Infinite_Scroll_Extras();
+ }
- return self::$__instance;
+ return self::$instance;
}
/**
* Register actions and filters
*
* @uses add_action, add_filter
- * @return null
*/
private function __construct() {
add_action( 'jetpack_modules_loaded', array( $this, 'action_jetpack_modules_loaded' ) );
@@ -59,7 +64,6 @@ class Jetpack_Infinite_Scroll_Extras {
*
* @uses Jetpack::enable_module_configurable
* @action jetpack_modules_loaded
- * @return null
*/
public function action_jetpack_modules_loaded() {
Jetpack::enable_module_configurable( __FILE__ );
@@ -70,9 +74,12 @@ class Jetpack_Infinite_Scroll_Extras {
*
* @uses add_settings_field, __, register_setting
* @action admin_init
- * @return null
*/
public function action_admin_init() {
+ if ( ! Jetpack_Plan::supports( 'google-analytics' ) ) {
+ return;
+ }
+
add_settings_field( $this->option_name_google_analytics, '<span id="infinite-scroll-google-analytics">' . __( 'Use Google Analytics with Infinite Scroll', 'jetpack' ) . '</span>', array( $this, 'setting_google_analytics' ), 'reading' );
register_setting( 'reading', $this->option_name_google_analytics, array( $this, 'sanitize_boolean_value' ) );
}
@@ -81,17 +88,16 @@ class Jetpack_Infinite_Scroll_Extras {
* Render Google Analytics option
*
* @uses checked, get_option, __
- * @return html
*/
public function setting_google_analytics() {
- echo '<label><input name="infinite_scroll_google_analytics" type="checkbox" value="1" ' . checked( true, (bool) get_option( $this->option_name_google_analytics, false ), false ) . ' /> ' . esc_html__( 'Track each scroll load (7 posts by default) as a page view in Google Analytics', 'jetpack' ) . '</label>';
+ echo '<label><input name="infinite_scroll_google_analytics" type="checkbox" value="1" ' . checked( true, (bool) get_option( $this->option_name_google_analytics, false ), false ) . ' /> ' . esc_html__( 'Track each scroll load (7 posts by default) as a page view in Google Analytics', 'jetpack' ) . '</label>';
echo '<p class="description">' . esc_html__( 'Check the box above to record each new set of posts loaded via Infinite Scroll as a page view in Google Analytics.', 'jetpack' ) . '</p>';
}
/**
* Sanitize value as a boolean
*
- * @param mixed $value
+ * @param mixed $value - the value we're sanitizing.
* @return bool
*/
public function sanitize_boolean_value( $value ) {
@@ -108,23 +114,24 @@ class Jetpack_Infinite_Scroll_Extras {
* @action setup_theme
* @return null
*/
- function action_after_setup_theme() {
+ public function action_after_setup_theme() {
$theme = wp_get_theme();
- if ( ! is_a( $theme, 'WP_Theme' ) && ! is_array( $theme ) )
+ if ( ! $theme instanceof WP_Theme && ! is_array( $theme ) ) {
return;
+ }
/** This filter is already documented in modules/infinite-scroll/infinity.php */
- $customization_file = apply_filters( 'infinite_scroll_customization_file', dirname( __FILE__ ) . "/infinite-scroll/themes/{$theme['Stylesheet']}.php", $theme['Stylesheet'] );
+ $customization_file = apply_filters( 'infinite_scroll_customization_file', __DIR__ . "/infinite-scroll/themes/{$theme['Stylesheet']}.php", $theme['Stylesheet'] );
if ( is_readable( $customization_file ) ) {
- require_once( $customization_file );
- }
- elseif ( ! empty( $theme['Template'] ) ) {
- $customization_file = dirname( __FILE__ ) . "/infinite-scroll/themes/{$theme['Template']}.php";
+ require_once $customization_file;
+ } elseif ( ! empty( $theme['Template'] ) ) {
+ $customization_file = __DIR__ . "/infinite-scroll/themes/{$theme['Template']}.php";
- if ( is_readable( $customization_file ) )
- require_once( $customization_file );
+ if ( is_readable( $customization_file ) ) {
+ require_once $customization_file;
+ }
}
}
@@ -133,19 +140,22 @@ class Jetpack_Infinite_Scroll_Extras {
*
* @uses Jetpack::get_active_modules, is_user_logged_in, stats_get_options, Jetpack_Options::get_option, get_option, JETPACK__API_VERSION, JETPACK__VERSION
* @filter infinite_scroll_js_settings
+ *
+ * @param array $settings - the settings.
* @return array
*/
public function filter_infinite_scroll_js_settings( $settings ) {
// Provide WP Stats info for tracking Infinite Scroll loads
// Abort if Stats module isn't active
- if ( in_array( 'stats', Jetpack::get_active_modules() ) ) {
+ if ( in_array( 'stats', Jetpack::get_active_modules(), true ) ) {
// Abort if user is logged in but logged-in users shouldn't be tracked.
if ( is_user_logged_in() && function_exists( 'stats_get_options' ) ) {
- $stats_options = stats_get_options();
+ $stats_options = stats_get_options();
$track_loggedin_users = isset( $stats_options['reg_users'] ) ? (bool) $stats_options['reg_users'] : false;
- if ( ! $track_loggedin_users )
+ if ( ! $track_loggedin_users ) {
return $settings;
+ }
}
// We made it this far, so gather the data needed to track IS views
@@ -153,14 +163,15 @@ class Jetpack_Infinite_Scroll_Extras {
// Pagetype parameter
$settings['stats'] .= '&x_pagetype=infinite';
- if ( 'click' == $settings['type'] )
+ if ( 'click' === $settings['type'] ) {
$settings['stats'] .= '-click';
+ }
$settings['stats'] .= '-jetpack';
}
- // Check if Google Analytics tracking is requested
- $settings['google_analytics'] = (bool) Jetpack_Options::get_option_and_ensure_autoload( $this->option_name_google_analytics, 0 );
+ // Check if Google Analytics tracking is requested.
+ $settings['google_analytics'] = Jetpack_Plan::supports( 'google-analytics' ) && Jetpack_Options::get_option_and_ensure_autoload( $this->option_name_google_analytics, 0 );
return $settings;
}
@@ -222,7 +233,7 @@ Jetpack_Infinite_Scroll_Extras::instance();
/**
* Load main IS file
*/
-require_once( dirname( __FILE__ ) . "/infinite-scroll/infinity.php" );
+require_once __DIR__ . '/infinite-scroll/infinity.php';
/**
* Remove the IS annotation loading function bundled with the IS plugin in favor of the Jetpack-specific version in Jetpack_Infinite_Scroll_Extras::action_after_setup_theme();
diff --git a/plugins/jetpack/modules/infinite-scroll/infinity.php b/plugins/jetpack/modules/infinite-scroll/infinity.php
index a26419d7..aab990db 100644
--- a/plugins/jetpack/modules/infinite-scroll/infinity.php
+++ b/plugins/jetpack/modules/infinite-scroll/infinity.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Redirect;
@@ -12,6 +12,7 @@ Author: Automattic
Author URI: https://automattic.com/
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
+Text Domain: jetpack
*/
/**
@@ -28,9 +29,8 @@ class The_Neverending_Home_Page {
* Register actions and filters, plus parse IS settings
*
* @uses add_action, add_filter, self::get_settings
- * @return null
*/
- function __construct() {
+ public function __construct() {
add_action( 'pre_get_posts', array( $this, 'posts_per_page_query' ) );
add_action( 'admin_init', array( $this, 'settings_api_init' ) );
add_action( 'template_redirect', array( $this, 'action_template_redirect' ) );
@@ -57,10 +57,29 @@ class The_Neverending_Home_Page {
/**
* Initialize our static variables
*/
- static $the_time = null;
- static $settings = null; // Don't access directly, instead use self::get_settings().
- static $option_name_enabled = 'infinite_scroll';
+ /**
+ * The time.
+ *
+ * @var null - I don't think this is used?
+ */
+ public static $the_time = null;
+
+ /**
+ * Settings.
+ *
+ * Don't access directly, instead use self::get_settings().
+ *
+ * @var array
+ */
+ public static $settings = null;
+
+ /**
+ * The enabled option name.
+ *
+ * @var string
+ */
+ public static $option_name_enabled = 'infinite_scroll';
/**
* Parse IS settings provided by theme
@@ -68,23 +87,23 @@ class The_Neverending_Home_Page {
* @uses get_theme_support, infinite_scroll_has_footer_widgets, sanitize_title, add_action, get_option, wp_parse_args, is_active_sidebar
* @return object
*/
- static function get_settings() {
- if ( is_null( self::$settings ) ) {
+ public static function get_settings() {
+ if ( self::$settings === null ) {
$css_pattern = '#[^A-Z\d\-_]#i';
- $settings = $defaults = array(
+ $defaults = array(
'type' => 'scroll', // scroll | click
'requested_type' => 'scroll', // store the original type for use when logic overrides it
'footer_widgets' => false, // true | false | sidebar_id | array of sidebar_ids -- last two are checked with is_active_sidebar
'container' => 'content', // container html id
- 'wrapper' => true, // true | false | html class
+ 'wrapper' => true, // true | false | html class -- the html class.
'render' => false, // optional function, otherwise the `content` template part will be used
'footer' => true, // boolean to enable or disable the infinite footer | string to provide an html id to derive footer width from
'footer_callback' => false, // function to be called to render the IS footer, in place of the default
- 'posts_per_page' => false, // int | false to set based on IS type
+ 'posts_per_page' => false, // phpcs:ignore WordPress.WP.PostsPerPage.posts_per_page_posts_per_page -- int | false to set based on IS type
'click_handle' => true, // boolean to enable or disable rendering the click handler div. If type is click and this is false, page must include its own trigger with the HTML ID `infinite-handle`.
);
-
+ $settings = $defaults;
// Validate settings passed through add_theme_support()
$_settings = get_theme_support( 'infinite-scroll' );
@@ -93,69 +112,76 @@ class The_Neverending_Home_Page {
if ( isset( $_settings[0] ) && is_array( $_settings[0] ) ) {
foreach ( $_settings[0] as $key => $value ) {
switch ( $key ) {
- case 'type' :
- if ( in_array( $value, array( 'scroll', 'click' ) ) )
- $settings[ $key ] = $settings['requested_type'] = $value;
+ case 'type':
+ if ( in_array( $value, array( 'scroll', 'click' ), true ) ) {
+ $settings['requested_type'] = $value;
+ $settings[ $key ] = $settings['requested_type'];
+ }
break;
- case 'footer_widgets' :
- if ( is_string( $value ) )
+ case 'footer_widgets':
+ if ( is_string( $value ) ) {
$settings[ $key ] = sanitize_title( $value );
- elseif ( is_array( $value ) )
+ } elseif ( is_array( $value ) ) {
$settings[ $key ] = array_map( 'sanitize_title', $value );
- elseif ( is_bool( $value ) )
+ } elseif ( is_bool( $value ) ) {
$settings[ $key ] = $value;
+ }
break;
- case 'container' :
- case 'wrapper' :
- if ( 'wrapper' == $key && is_bool( $value ) ) {
+ case 'container':
+ case 'wrapper':
+ if ( 'wrapper' === $key && is_bool( $value ) ) {
$settings[ $key ] = $value;
} else {
$value = preg_replace( $css_pattern, '', $value );
- if ( ! empty( $value ) )
+ if ( ! empty( $value ) ) {
$settings[ $key ] = $value;
+ }
}
break;
- case 'render' :
+ case 'render':
if ( false !== $value && is_callable( $value ) ) {
$settings[ $key ] = $value;
}
break;
- case 'footer' :
+ case 'footer':
if ( is_bool( $value ) ) {
$settings[ $key ] = $value;
} elseif ( is_string( $value ) ) {
$value = preg_replace( $css_pattern, '', $value );
- if ( ! empty( $value ) )
+ if ( ! empty( $value ) ) {
$settings[ $key ] = $value;
+ }
}
break;
- case 'footer_callback' :
- if ( is_callable( $value ) )
+ case 'footer_callback':
+ if ( is_callable( $value ) ) {
$settings[ $key ] = $value;
- else
+ } else {
$settings[ $key ] = false;
+ }
break;
- case 'posts_per_page' :
- if ( is_numeric( $value ) )
+ case 'posts_per_page':
+ if ( is_numeric( $value ) ) {
$settings[ $key ] = (int) $value;
+ }
break;
- case 'click_handle' :
+ case 'click_handle':
if ( is_bool( $value ) ) {
$settings[ $key ] = $value;
}
@@ -173,8 +199,9 @@ class The_Neverending_Home_Page {
$settings['container'] = preg_replace( $css_pattern, '', $_settings[0] );
// Wrap IS elements?
- if ( isset( $_settings[1] ) )
+ if ( isset( $_settings[1] ) ) {
$settings['wrapper'] = (bool) $_settings[1];
+ }
}
}
@@ -187,7 +214,7 @@ class The_Neverending_Home_Page {
if ( function_exists( 'infinite_scroll_has_footer_widgets' ) ) {
$settings['footer_widgets'] = (bool) infinite_scroll_has_footer_widgets();
} elseif ( is_array( $settings['footer_widgets'] ) ) {
- $sidebar_ids = $settings['footer_widgets'];
+ $sidebar_ids = $settings['footer_widgets'];
$settings['footer_widgets'] = false;
foreach ( $sidebar_ids as $sidebar_id ) {
@@ -215,17 +242,19 @@ class The_Neverending_Home_Page {
$settings['footer_widgets'] = apply_filters( 'infinite_scroll_has_footer_widgets', $settings['footer_widgets'] );
// Finally, after all of the sidebar checks and filtering, ensure that a boolean value is present, otherwise set to default of `false`.
- if ( ! is_bool( $settings['footer_widgets'] ) )
+ if ( ! is_bool( $settings['footer_widgets'] ) ) {
$settings['footer_widgets'] = false;
+ }
// Ensure that IS is enabled and no footer widgets exist if the IS type isn't already "click".
- if ( 'click' != $settings['type'] ) {
+ if ( 'click' !== $settings['type'] ) {
// Check the setting status
$disabled = '' === get_option( self::$option_name_enabled ) ? true : false;
// Footer content or Reading option check
- if ( $settings['footer_widgets'] || $disabled )
+ if ( $settings['footer_widgets'] || $disabled ) {
$settings['type'] = 'click';
+ }
}
// Force display of the click handler and attendant bits when the type isn't `click`
@@ -256,7 +285,7 @@ class The_Neverending_Home_Page {
* @uses self::wp_query, self::get_settings, apply_filters
* @return int
*/
- static function posts_per_page() {
+ public static function posts_per_page() {
$posts_per_page = self::get_settings()->posts_per_page ? self::get_settings()->posts_per_page : self::wp_query()->get( 'posts_per_page' );
$posts_per_page_core_option = get_option( 'posts_per_page' );
@@ -295,7 +324,7 @@ class The_Neverending_Home_Page {
* @uses apply_filters
* @return object
*/
- static function wp_query() {
+ public static function wp_query() {
global $wp_the_query;
/**
* Filter the Infinite Scroll query object.
@@ -312,7 +341,7 @@ class The_Neverending_Home_Page {
/**
* Has infinite scroll been triggered?
*/
- static function got_infinity() {
+ public static function got_infinity() {
/**
* Filter the parameter used to check if Infinite Scroll has been triggered.
*
@@ -322,13 +351,13 @@ class The_Neverending_Home_Page {
*
* @param bool isset( $_GET[ 'infinity' ] ) Return true if the "infinity" parameter is set.
*/
- return apply_filters( 'infinite_scroll_got_infinity', isset( $_GET[ 'infinity' ] ) );
+ return apply_filters( 'infinite_scroll_got_infinity', isset( $_GET['infinity'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site.
}
/**
* Is this guaranteed to be the last batch of posts?
*/
- static function is_last_batch() {
+ public static function is_last_batch() {
/**
* Override whether or not this is the last batch for a request
*
@@ -345,11 +374,11 @@ class The_Neverending_Home_Page {
return $override;
}
- $entries = (int) self::wp_query()->found_posts;
+ $entries = (int) self::wp_query()->found_posts;
$posts_per_page = self::posts_per_page();
// This is to cope with an issue in certain themes or setups where posts are returned but found_posts is 0.
- if ( 0 == $entries ) {
+ if ( 0 === $entries ) {
return (bool) ( count( self::wp_query()->posts ) < $posts_per_page );
}
$paged = max( 1, self::wp_query()->get( 'paged' ) );
@@ -371,12 +400,16 @@ class The_Neverending_Home_Page {
/**
* The more tag will be ignored by default if the blog page isn't our homepage.
* Let's force the $more global to false.
+ *
+ * @param array $array - the_post array.
+ * @return array
*/
- function preserve_more_tag( $array ) {
+ public function preserve_more_tag( $array ) {
global $more;
- if ( self::got_infinity() )
- $more = 0; //0 = show content up to the more tag. Add more link.
+ if ( self::got_infinity() ) {
+ $more = 0; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited -- 0 = show content up to the more tag. Add more link.
+ }
return $array;
}
@@ -391,13 +424,15 @@ class The_Neverending_Home_Page {
* @action admin_init
* @return null
*/
- function settings_api_init() {
- if ( ! current_theme_supports( 'infinite-scroll' ) )
+ public function settings_api_init() {
+ if ( ! current_theme_supports( 'infinite-scroll' ) ) {
return;
+ }
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
// This setting is no longer configurable in wp-admin on WordPress.com -- leave a pointer
- add_settings_field( self::$option_name_enabled,
+ add_settings_field(
+ self::$option_name_enabled,
'<span id="infinite-scroll-options">' . esc_html__( 'Infinite Scroll Behavior', 'jetpack' ) . '</span>',
array( $this, 'infinite_setting_html_calypso_placeholder' ),
'reading'
@@ -410,7 +445,10 @@ class The_Neverending_Home_Page {
register_setting( 'reading', self::$option_name_enabled, 'esc_attr' );
}
- function infinite_setting_html_calypso_placeholder() {
+ /**
+ * Render the redirect link to the infinite scroll settings in Calypso.
+ */
+ public function infinite_setting_html_calypso_placeholder() {
$details = get_blog_details();
$writing_url = Redirect::get_url( 'calypso-settings-writing', array( 'site' => $details->domain ) );
echo '<span>' . sprintf(
@@ -425,14 +463,14 @@ class The_Neverending_Home_Page {
* HTML code to display a checkbox true/false option
* for the infinite_scroll setting.
*/
- function infinite_setting_html() {
- $notice = '<em>' . __( 'We&rsquo;ve changed this option to a click-to-scroll version for you since you have footer widgets in Appearance &rarr; Widgets, or your theme uses click-to-scroll as the default behavior.', 'jetpack' ) . '</em>';
+ public function infinite_setting_html() {
// If the blog has footer widgets, show a notice instead of the checkbox
- if ( self::get_settings()->footer_widgets || 'click' == self::get_settings()->requested_type ) {
- echo '<label>' . $notice . '</label>';
+ if ( self::get_settings()->footer_widgets || 'click' === self::get_settings()->requested_type ) {
+ echo '<label><em>' . esc_html__( 'We&rsquo;ve changed this option to a click-to-scroll version for you since you have footer widgets in Appearance &rarr; Widgets, or your theme uses click-to-scroll as the default behavior.', 'jetpack' ) . '</em></label>';
} else {
echo '<label><input name="infinite_scroll" type="checkbox" value="1" ' . checked( 1, '' !== get_option( self::$option_name_enabled ), false ) . ' /> ' . esc_html__( 'Check to load posts as you scroll. Uncheck to show clickable button to load posts', 'jetpack' ) . '</label>';
+ // translators: the number of posts to show on each page load.
echo '<p class="description">' . esc_html( sprintf( _n( 'Shows %s post on each load.', 'Shows %s posts on each load.', self::posts_per_page(), 'jetpack' ), number_format_i18n( self::posts_per_page() ) ) ) . '</p>';
}
}
@@ -444,16 +482,18 @@ class The_Neverending_Home_Page {
* @action template_redirect
* @return null
*/
- function action_template_redirect() {
+ public function action_template_redirect() {
// Check that we support infinite scroll, and are on the home page.
- if ( ! current_theme_supports( 'infinite-scroll' ) || ! self::archive_supports_infinity() )
+ if ( ! current_theme_supports( 'infinite-scroll' ) || ! self::archive_supports_infinity() ) {
return;
+ }
$id = self::get_settings()->container;
// Check that we have an id.
- if ( empty( $id ) )
+ if ( empty( $id ) ) {
return;
+ }
// AMP infinite scroll functionality will start on amp_load_hooks().
if ( class_exists( 'Jetpack_AMP_Support' ) && Jetpack_AMP_Support::is_amp_request() ) {
@@ -521,15 +561,16 @@ class The_Neverending_Home_Page {
*
* @return string
*/
- function body_class() {
+ public function body_class() {
$classes = '';
// Do not add infinity-scroll class if disabled through the Reading page
$disabled = '' === get_option( self::$option_name_enabled ) ? true : false;
- if ( ! $disabled || 'click' == self::get_settings()->type ) {
+ if ( ! $disabled || 'click' === self::get_settings()->type ) {
$classes = 'infinite-scroll';
- if ( 'scroll' == self::get_settings()->type )
+ if ( 'scroll' === self::get_settings()->type ) {
$classes .= ' neverending';
+ }
}
return $classes;
@@ -543,20 +584,20 @@ class The_Neverending_Home_Page {
* @uses self::has_only_title_matching_posts
* @return array
*/
- function get_excluded_posts() {
+ public function get_excluded_posts() {
$excluded_posts = array();
- //loop through posts returned by wp_query call
- foreach( self::wp_query()->get_posts() as $post ) {
+ // loop through posts returned by wp_query call
+ foreach ( self::wp_query()->get_posts() as $post ) {
- $orderby = isset( self::wp_query()->query_vars['orderby'] ) ? self::wp_query()->query_vars['orderby'] : '';
+ $orderby = isset( self::wp_query()->query_vars['orderby'] ) ? self::wp_query()->query_vars['orderby'] : '';
$post_date = ( ! empty( $post->post_date ) ? $post->post_date : false );
if ( 'modified' === $orderby || false === $post_date ) {
$post_date = $post->post_modified;
}
- //in case all posts initially displayed match the keyword by title we add em all to excluded posts array
- //else, we add only posts which are older than last_post_date param as newer are natually excluded by last_post_date condition in the SQL query
+ // in case all posts initially displayed match the keyword by title we add em all to excluded posts array
+ // else, we add only posts which are older than last_post_date param as newer are natually excluded by last_post_date condition in the SQL query
if ( self::has_only_title_matching_posts() || $post_date <= self::get_last_post_date() ) {
array_push( $excluded_posts, $post->ID );
}
@@ -571,18 +612,18 @@ class The_Neverending_Home_Page {
* @uses self::get_excluded_posts
* @return array
*/
- function get_query_vars() {
+ public function get_query_vars() {
$query_vars = self::wp_query()->query_vars;
- //applies to search page only
+ // applies to search page only
if ( true === self::wp_query()->is_search() ) {
- //set post__not_in array in query_vars in case it does not exists
+ // set post__not_in array in query_vars in case it does not exists
if ( false === isset( $query_vars['post__not_in'] ) ) {
$query_vars['post__not_in'] = array();
}
- //get excluded posts
+ // get excluded posts
$excluded = self::get_excluded_posts();
- //merge them with other post__not_in posts (eg.: sticky posts)
+ // merge them with other post__not_in posts (eg.: sticky posts)
$query_vars['post__not_in'] = array_merge( $query_vars['post__not_in'], $excluded );
}
return $query_vars;
@@ -595,17 +636,17 @@ class The_Neverending_Home_Page {
* @uses self::wp_query
* @return bool
*/
- function has_only_title_matching_posts() {
+ public function has_only_title_matching_posts() {
- //apply following logic for search page results only
+ // apply following logic for search page results only
if ( false === self::wp_query()->is_search() ) {
return false;
}
- //grab the last posts in the stack as if the last one is title-matching the rest is title-matching as well
+ // grab the last posts in the stack as if the last one is title-matching the rest is title-matching as well
$post = end( self::wp_query()->posts );
- //code inspired by WP_Query class
+ // code inspired by WP_Query class
if ( preg_match_all( '/".*?("|$)|((?<=[\t ",+])|^)[^\t ",+]+/', self::wp_query()->get( 's' ), $matches ) ) {
$search_terms = self::wp_query()->query_vars['search_terms'];
// if the search string has only short terms or stopwords, or is 10+ terms long, match it as sentence
@@ -616,7 +657,7 @@ class The_Neverending_Home_Page {
$search_terms = array( self::wp_query()->get( 's' ) );
}
- //actual testing. As search query combines multiple keywords with AND, it's enough to check if any of the keywords is present in the title
+ // actual testing. As search query combines multiple keywords with AND, it's enough to check if any of the keywords is present in the title
$term = current( $search_terms );
if ( ! empty( $term ) && false !== strpos( $post->post_title, $term ) ) {
return true;
@@ -636,21 +677,22 @@ class The_Neverending_Home_Page {
* @uses self::wp_query
* @return string 'Y-m-d H:i:s' or false
*/
- function get_last_post_date() {
- if ( self::got_infinity() )
+ public function get_last_post_date() {
+ if ( self::got_infinity() ) {
return;
+ }
if ( ! self::wp_query()->have_posts() ) {
return null;
}
- //In case there are only title-matching posts in the initial WP_Query result, we don't want to use the last_post_date param yet
+ // In case there are only title-matching posts in the initial WP_Query result, we don't want to use the last_post_date param yet
if ( true === self::has_only_title_matching_posts() ) {
return false;
}
- $post = end( self::wp_query()->posts );
- $orderby = isset( self::wp_query()->query_vars['orderby'] ) ?
+ $post = end( self::wp_query()->posts );
+ $orderby = isset( self::wp_query()->query_vars['orderby'] ) ?
self::wp_query()->query_vars['orderby'] : '';
$post_date = ( ! empty( $post->post_date ) ? $post->post_date : false );
switch ( $orderby ) {
@@ -668,13 +710,14 @@ class The_Neverending_Home_Page {
* Returns the appropriate `wp_posts` table field for a given query's
* 'orderby' parameter, if applicable.
*
- * @param optional object $query
+ * @param object $query - an optional query object.
* @uses self::wp_query
* @return string or false
*/
- function get_query_sort_field( $query = null ) {
- if ( empty( $query ) )
+ public function get_query_sort_field( $query = null ) {
+ if ( empty( $query ) ) {
$query = self::wp_query();
+ }
$orderby = isset( $query->query_vars['orderby'] ) ? $query->query_vars['orderby'] : '';
@@ -695,23 +738,23 @@ class The_Neverending_Home_Page {
* and we're sorting by post date.
*
* @global $wpdb
- * @param string $where
- * @param object $query
+ * @param string $where - the where clause.
+ * @param object $query - the query.
* @uses apply_filters
* @filter posts_where
* @return string
*/
- function query_time_filter( $where, $query ) {
+ public function query_time_filter( $where, $query ) {
if ( self::got_infinity() ) {
global $wpdb;
$sort_field = self::get_query_sort_field( $query );
- if ( 'post_date' !== $sort_field || 'DESC' !== $_REQUEST['query_args']['order'] ) {
+ if ( 'post_date' !== $sort_field || 'DESC' !== $_REQUEST['query_args']['order'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotValidated -- no changes made to the site.
return $where;
}
- $query_before = sanitize_text_field( wp_unslash( $_REQUEST['query_before'] ) );
+ $query_before = sanitize_text_field( wp_unslash( $_REQUEST['query_before'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotValidated -- no changes made to the site.
if ( empty( $query_before ) ) {
return $where;
@@ -732,8 +775,8 @@ class The_Neverending_Home_Page {
* @param string $operator @deprecated Query operator.
* @param string $last_post_date @deprecated Last Post Date timestamp.
*/
- $operator = 'ASC' === $_REQUEST['query_args']['order'] ? '>' : '<';
- $last_post_date = sanitize_text_field( wp_unslash( $_REQUEST['last_post_date'] ) );
+ $operator = 'ASC' === $_REQUEST['query_args']['order'] ? '>' : '<'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotValidated -- no changes to the site.
+ $last_post_date = sanitize_text_field( wp_unslash( $_REQUEST['last_post_date'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotValidated -- no changes to the site.
$where .= apply_filters( 'infinite_scroll_posts_where', $clause, $query, $operator, $last_post_date );
}
@@ -743,13 +786,13 @@ class The_Neverending_Home_Page {
/**
* Let's overwrite the default post_per_page setting to always display a fixed amount.
*
- * @param object $query
+ * @param object $query - the query.
* @uses is_admin, self::archive_supports_infinity, self::get_settings
- * @return null
*/
- function posts_per_page_query( $query ) {
- if ( ! is_admin() && self::archive_supports_infinity() && $query->is_main_query() )
+ public function posts_per_page_query( $query ) {
+ if ( ! is_admin() && self::archive_supports_infinity() && $query->is_main_query() ) {
$query->set( 'posts_per_page', self::posts_per_page() );
+ }
}
/**
@@ -759,7 +802,7 @@ class The_Neverending_Home_Page {
* @uses self::get_settings
* @return bool
*/
- function has_wrapper() {
+ public function has_wrapper() {
return (bool) self::get_settings()->wrapper;
}
@@ -770,7 +813,7 @@ class The_Neverending_Home_Page {
* @uses home_url, add_query_arg, apply_filters
* @return string
*/
- function ajax_url() {
+ public function ajax_url() {
$base_url = set_url_scheme( home_url( '/' ) );
$ajaxurl = add_query_arg( array( 'infinity' => 'scrolling' ), $base_url );
@@ -790,17 +833,18 @@ class The_Neverending_Home_Page {
/**
* Our own Ajax response, avoiding calling admin-ajax
*/
- function ajax_response() {
+ public function ajax_response() {
// Only proceed if the url query has a key of "Infinity"
- if ( ! self::got_infinity() )
+ if ( ! self::got_infinity() ) {
return false;
+ }
// This should already be defined below, but make sure.
if ( ! defined( 'DOING_AJAX' ) ) {
define( 'DOING_AJAX', true );
}
- @header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
+ @header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
send_nosniff_header();
/**
@@ -820,7 +864,7 @@ class The_Neverending_Home_Page {
* Previously, JS settings object was unnecessarily output in the document head.
* When the hook was changed, the method name no longer made sense.
*/
- function action_wp_head() {
+ public function action_wp_head() {
$this->action_wp_footer_settings();
}
@@ -830,9 +874,8 @@ class The_Neverending_Home_Page {
* @global $wp_rewrite
* @uses self::get_settings, esc_js, esc_url_raw, self::has_wrapper, __, apply_filters, do_action, self::get_query_vars
* @action wp_footer
- * @return string
*/
- function action_wp_footer_settings() {
+ public function action_wp_footer_settings() {
global $wp_rewrite;
global $currentday;
@@ -906,19 +949,20 @@ class The_Neverending_Home_Page {
'use_trailing_slashes' => $wp_rewrite->use_trailing_slashes,
'parameters' => self::get_request_parameters(),
),
- 'query_args' => self::get_query_vars(),
- 'query_before' => current_time( 'mysql' ),
- 'last_post_date' => self::get_last_post_date(),
- 'body_class' => self::body_class(),
- 'loading_text' => esc_js( __( 'Loading new page', 'jetpack' ) ),
+ 'query_args' => self::get_query_vars(),
+ 'query_before' => current_time( 'mysql' ),
+ 'last_post_date' => self::get_last_post_date(),
+ 'body_class' => self::body_class(),
+ 'loading_text' => esc_js( __( 'Loading new page', 'jetpack' ) ),
);
// Optional order param
- if ( isset( $_REQUEST['order'] ) ) {
- $order = strtoupper( $_REQUEST['order'] );
+ if ( isset( $_REQUEST['order'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site.
+ $order = strtoupper( sanitize_text_field( wp_unslash( $_REQUEST['order'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site.
- if ( in_array( $order, array( 'ASC', 'DESC' ) ) )
+ if ( in_array( $order, array( 'ASC', 'DESC' ), true ) ) {
$js_settings['order'] = $order;
+ }
}
/**
@@ -943,15 +987,13 @@ class The_Neverending_Home_Page {
?>
<script type="text/javascript">
- //<![CDATA[
- var infiniteScroll = JSON.parse( decodeURIComponent( '<?php echo
- rawurlencode( json_encode( array( 'settings' => $js_settings ) ) );
- ?>' ) );
- //]]>
+ var infiniteScroll = <?php echo wp_json_encode( array( 'settings' => $js_settings ), JSON_HEX_TAG ); ?>;
</script>
<?php
}
+ // phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
+
/**
* Build path data for current request.
* Used for Google Analytics and pushState history tracking.
@@ -968,23 +1010,26 @@ class The_Neverending_Home_Page {
global $wp;
// If called too early, bail
- if ( ! isset( $wp->request ) )
+ if ( ! isset( $wp->request ) ) {
return false;
+ }
// Determine path for paginated version of current request
- if ( false != preg_match( '#' . $wp_rewrite->pagination_base . '/\d+/?$#i', $wp->request ) )
- $path = preg_replace( '#' . $wp_rewrite->pagination_base . '/\d+$#i', $wp_rewrite->pagination_base . '/%d', $wp->request );
- else
+ if ( preg_match( '#' . preg_quote( $wp_rewrite->pagination_base, '#' ) . '/\d+/?$#i', $wp->request ) ) {
+ $path = preg_replace( '#' . preg_quote( $wp_rewrite->pagination_base, '#' ) . '/\d+$#i', $wp_rewrite->pagination_base . '/%d', $wp->request );
+ } else {
$path = $wp->request . '/' . $wp_rewrite->pagination_base . '/%d';
+ }
// Slashes everywhere we need them
- if ( 0 !== strpos( $path, '/' ) )
+ if ( 0 !== strpos( $path, '/' ) ) {
$path = '/' . $path;
+ }
$path = user_trailingslashit( $path );
} else {
// Clean up raw $_REQUEST input
- $path = array_map( 'sanitize_text_field', $_REQUEST );
+ $path = array_map( 'sanitize_text_field', wp_unslash( $_REQUEST ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- seems this is used for Google Analytics and browser history tracking.
$path = array_filter( $path );
$path['paged'] = '%d';
@@ -1001,10 +1046,11 @@ class The_Neverending_Home_Page {
* @return string
*/
private function get_request_parameters() {
- $uri = $_SERVER[ 'REQUEST_URI' ];
+ $uri = isset( $_SERVER['REQUEST_URI'] ) ? sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ) : '';
$uri = preg_replace( '/^[^?]*(\?.*$)/', '$1', $uri, 1, $count );
- if ( $count != 1 )
+ if ( $count !== 1 ) {
return '';
+ }
return $uri;
}
@@ -1014,9 +1060,8 @@ class The_Neverending_Home_Page {
*
* @global $wp_scripts, $wp_styles
* @action wp_footer
- * @return string
*/
- function action_wp_footer() {
+ public function action_wp_footer() {
global $wp_scripts, $wp_styles;
$scripts = is_a( $wp_scripts, 'WP_Scripts' ) ? $wp_scripts->done : array();
@@ -1043,7 +1088,8 @@ class The_Neverending_Home_Page {
*/
$styles = apply_filters( 'infinite_scroll_existing_stylesheets', $styles );
- ?><script type="text/javascript">
+ ?>
+ <script type="text/javascript">
(function() {
var extend = function(out) {
out = out || {};
@@ -1077,18 +1123,22 @@ class The_Neverending_Home_Page {
/**
* Identify additional scripts required by the latest set of IS posts and provide the necessary data to the IS response handler.
*
+ * @param array $results - the results.
+ * @param array $query_args - Array of Query arguments.
+ * @param array $wp_query - the WP query.
* @global $wp_scripts
* @uses sanitize_text_field, add_query_arg
* @filter infinite_scroll_results
* @return array
*/
- function filter_infinite_scroll_results( $results, $query_args, $wp_query ) {
+ public function filter_infinite_scroll_results( $results, $query_args, $wp_query ) {
// Don't bother unless there are posts to display
- if ( 'success' != $results['type'] )
+ if ( 'success' !== $results['type'] ) {
return $results;
+ }
// Parse and sanitize the script handles already output
- $initial_scripts = isset( $_REQUEST['scripts'] ) && is_array( $_REQUEST['scripts'] ) ? array_map( 'sanitize_text_field', $_REQUEST['scripts'] ) : false;
+ $initial_scripts = isset( $_REQUEST['scripts'] ) && is_array( $_REQUEST['scripts'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_REQUEST['scripts'] ) ) : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no site changes made.
if ( is_array( $initial_scripts ) ) {
global $wp_scripts;
@@ -1134,17 +1184,20 @@ class The_Neverending_Home_Page {
$src = $wp_scripts->registered[ $handle ]->src;
// Take base_url into account
- if ( strpos( $src, 'http' ) !== 0 )
+ if ( strpos( $src, 'http' ) !== 0 ) {
$src = $wp_scripts->base_url . $src;
+ }
// Version and additional arguments
- if ( null === $wp_scripts->registered[ $handle ]->ver )
+ if ( null === $wp_scripts->registered[ $handle ]->ver ) {
$ver = '';
- else
+ } else {
$ver = $wp_scripts->registered[ $handle ]->ver ? $wp_scripts->registered[ $handle ]->ver : $wp_scripts->default_version;
+ }
- if ( isset( $wp_scripts->args[ $handle ] ) )
- $ver = $ver ? $ver . '&amp;' . $wp_scripts->args[$handle] : $wp_scripts->args[$handle];
+ if ( isset( $wp_scripts->args[ $handle ] ) ) {
+ $ver = $ver ? $ver . '&amp;' . $wp_scripts->args[ $handle ] : $wp_scripts->args[ $handle ];
+ }
// Full script source with version info
$script_data['src'] = add_query_arg( 'ver', $ver, $src );
@@ -1156,8 +1209,9 @@ class The_Neverending_Home_Page {
}
// Expose additional script data to filters, but only include in final `$results` array if needed.
- if ( ! isset( $results['scripts'] ) )
+ if ( ! isset( $results['scripts'] ) ) {
$results['scripts'] = array();
+ }
/**
* Filter the additional scripts required by the latest set of IS posts.
@@ -1181,11 +1235,12 @@ class The_Neverending_Home_Page {
$wp_query
);
- if ( empty( $results['scripts'] ) )
- unset( $results['scripts' ] );
+ if ( empty( $results['scripts'] ) ) {
+ unset( $results['scripts'] );
+ }
// Parse and sanitize the style handles already output
- $initial_styles = isset( $_REQUEST['styles'] ) && is_array( $_REQUEST['styles'] ) ? array_map( 'sanitize_text_field', $_REQUEST['styles'] ) : false;
+ $initial_styles = isset( $_REQUEST['styles'] ) && is_array( $_REQUEST['styles'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_REQUEST['styles'] ) ) : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( is_array( $initial_styles ) ) {
global $wp_styles;
@@ -1199,30 +1254,34 @@ class The_Neverending_Home_Page {
foreach ( $new_styles as $handle ) {
// Abort if somehow the handle doesn't correspond to a registered stylesheet
- if ( ! isset( $wp_styles->registered[ $handle ] ) )
+ if ( ! isset( $wp_styles->registered[ $handle ] ) ) {
continue;
+ }
// Provide basic style data
$style_data = array(
'handle' => $handle,
- 'media' => 'all'
+ 'media' => 'all',
);
// Base source
$src = $wp_styles->registered[ $handle ]->src;
// Take base_url into account
- if ( strpos( $src, 'http' ) !== 0 )
+ if ( strpos( $src, 'http' ) !== 0 ) {
$src = $wp_styles->base_url . $src;
+ }
// Version and additional arguments
- if ( null === $wp_styles->registered[ $handle ]->ver )
+ if ( null === $wp_styles->registered[ $handle ]->ver ) {
$ver = '';
- else
+ } else {
$ver = $wp_styles->registered[ $handle ]->ver ? $wp_styles->registered[ $handle ]->ver : $wp_styles->default_version;
+ }
- if ( isset($wp_styles->args[ $handle ] ) )
- $ver = $ver ? $ver . '&amp;' . $wp_styles->args[$handle] : $wp_styles->args[$handle];
+ if ( isset( $wp_styles->args[ $handle ] ) ) {
+ $ver = $ver ? $ver . '&amp;' . $wp_styles->args[ $handle ] : $wp_styles->args[ $handle ];
+ }
// Full stylesheet source with version info
$style_data['src'] = add_query_arg( 'ver', $ver, $src );
@@ -1230,17 +1289,21 @@ class The_Neverending_Home_Page {
// Parse stylesheet's conditional comments if present, converting to logic executable in JS
if ( isset( $wp_styles->registered[ $handle ]->extra['conditional'] ) && $wp_styles->registered[ $handle ]->extra['conditional'] ) {
// First, convert conditional comment operators to standard logical operators. %ver is replaced in JS with the IE version
- $style_data['conditional'] = str_replace( array(
- 'lte',
- 'lt',
- 'gte',
- 'gt'
- ), array(
- '%ver <=',
- '%ver <',
- '%ver >=',
- '%ver >',
- ), $wp_styles->registered[ $handle ]->extra['conditional'] );
+ $style_data['conditional'] = str_replace(
+ array(
+ 'lte',
+ 'lt',
+ 'gte',
+ 'gt',
+ ),
+ array(
+ '%ver <=',
+ '%ver <',
+ '%ver >=',
+ '%ver >',
+ ),
+ $wp_styles->registered[ $handle ]->extra['conditional']
+ );
// Next, replace any !IE checks. These shouldn't be present since WP's conditional stylesheet implementation doesn't support them, but someone could be _doing_it_wrong().
$style_data['conditional'] = preg_replace( '#!\s*IE(\s*\d+){0}#i', '1==2', $style_data['conditional'] );
@@ -1250,8 +1313,9 @@ class The_Neverending_Home_Page {
}
// Parse requested media context for stylesheet
- if ( isset( $wp_styles->registered[ $handle ]->args ) )
+ if ( isset( $wp_styles->registered[ $handle ]->args ) ) {
$style_data['media'] = esc_attr( $wp_styles->registered[ $handle ]->args );
+ }
// Add stylesheet to data that will be returned to IS JS
array_push( $results['styles'], $style_data );
@@ -1260,8 +1324,9 @@ class The_Neverending_Home_Page {
}
// Expose additional stylesheet data to filters, but only include in final `$results` array if needed.
- if ( ! isset( $results['styles'] ) )
+ if ( ! isset( $results['styles'] ) ) {
$results['styles'] = array();
+ }
/**
* Filter the additional styles required by the latest set of IS posts.
@@ -1285,8 +1350,9 @@ class The_Neverending_Home_Page {
$wp_query
);
- if ( empty( $results['styles'] ) )
- unset( $results['styles' ] );
+ if ( empty( $results['styles'] ) ) {
+ unset( $results['styles'] );
+ }
// Lastly, return the IS results array
return $results;
@@ -1299,32 +1365,37 @@ class The_Neverending_Home_Page {
* @global $wp_query
* @global $wp_the_query
* @uses current_theme_supports, get_option, self::wp_query, current_user_can, apply_filters, self::get_settings, add_filter, WP_Query, remove_filter, have_posts, wp_head, do_action, add_action, this::render, this::has_wrapper, esc_attr, wp_footer, sharing_register_post_for_share_counts, get_the_id
- * @return string or null
*/
- function query() {
- if ( ! isset( $_REQUEST['page'] ) || ! current_theme_supports( 'infinite-scroll' ) )
+ public function query() {
+ if ( ! isset( $_REQUEST['page'] ) || ! current_theme_supports( 'infinite-scroll' ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes to the site.
die;
+ }
- $page = (int) $_REQUEST['page'];
+ // @todo see if we should validate this nonce since we use it to form a query.
+ $page = (int) $_REQUEST['page']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- we're casting this to an int and not making changes to the site.
// Sanitize and set $previousday. Expected format: dd.mm.yy
- if ( preg_match( '/^\d{2}\.\d{2}\.\d{2}$/', $_REQUEST['currentday'] ) ) {
+ if ( isset( $_REQUEST['currentday'] ) && preg_match( '/^\d{2}\.\d{2}\.\d{2}$/', $_REQUEST['currentday'] ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput, WordPress.Security.NonceVerification.Recommended -- manually validating, no changes to site
global $previousday;
- $previousday = $_REQUEST['currentday'];
+ $previousday = $_REQUEST['currentday']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput
}
$post_status = array( 'publish' );
- if ( current_user_can( 'read_private_posts' ) )
+ if ( current_user_can( 'read_private_posts' ) ) {
array_push( $post_status, 'private' );
+ }
- $order = in_array( $_REQUEST['order'], array( 'ASC', 'DESC' ) ) ? $_REQUEST['order'] : 'DESC';
+ $order = isset( $_REQUEST['order'] ) && in_array( $_REQUEST['order'], array( 'ASC', 'DESC' ), true ) ? sanitize_text_field( wp_unslash( $_REQUEST['order'] ) ) : 'DESC'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes made to the site.
- $query_args = array_merge( self::wp_query()->query_vars, array(
- 'paged' => $page,
- 'post_status' => $post_status,
- 'posts_per_page' => self::posts_per_page(),
- 'order' => $order
- ) );
+ $query_args = array_merge(
+ self::wp_query()->query_vars,
+ array(
+ 'paged' => $page,
+ 'post_status' => $post_status,
+ 'posts_per_page' => self::posts_per_page(), // phpcs:ignore WordPress.WP.PostsPerPage.posts_per_page_posts_per_page
+ 'order' => $order,
+ )
+ );
// 4.0 ?s= compatibility, see https://core.trac.wordpress.org/ticket/11330#comment:50
if ( empty( $query_args['s'] ) && ! isset( self::wp_query()->query['s'] ) ) {
@@ -1349,7 +1420,9 @@ class The_Neverending_Home_Page {
add_filter( 'posts_where', array( $this, 'query_time_filter' ), 10, 2 );
- $GLOBALS['wp_the_query'] = $GLOBALS['wp_query'] = $infinite_scroll_query = new WP_Query();
+ $infinite_scroll_query = new WP_Query();
+ $GLOBALS['wp_the_query'] = $infinite_scroll_query;
+ $GLOBALS['wp_query'] = $infinite_scroll_query;
$infinite_scroll_query->query( $query_args );
@@ -1427,10 +1500,10 @@ class The_Neverending_Home_Page {
do_action( 'infinite_scroll_empty' );
$results['type'] = 'empty';
} elseif ( $this->has_wrapper() ) {
- $wrapper_classes = is_string( self::get_settings()->wrapper ) ? self::get_settings()->wrapper : 'infinite-wrap';
+ $wrapper_classes = is_string( self::get_settings()->wrapper ) ? self::get_settings()->wrapper : 'infinite-wrap';
$wrapper_classes .= ' infinite-view-' . $page;
- $wrapper_classes = trim( $wrapper_classes );
- $aria_label = sprintf(
+ $wrapper_classes = trim( $wrapper_classes );
+ $aria_label = sprintf(
/* translators: %1$s is the page count */
__( 'Page: %1$d.', 'jetpack' ),
$page
@@ -1446,17 +1519,17 @@ class The_Neverending_Home_Page {
ob_end_clean();
}
- if ( 'success' == $results['type'] ) {
+ if ( 'success' === $results['type'] ) {
global $currentday;
- $results['lastbatch'] = self::is_last_batch();
+ $results['lastbatch'] = self::is_last_batch();
$results['currentday'] = $currentday;
}
// Loop through posts to capture sharing data for new posts loaded via Infinite Scroll
- if ( 'success' == $results['type'] && function_exists( 'sharing_register_post_for_share_counts' ) ) {
+ if ( 'success' === $results['type'] && function_exists( 'sharing_register_post_for_share_counts' ) ) {
global $jetpack_sharing_counts;
- while( have_posts() ) {
+ while ( have_posts() ) {
the_post();
sharing_register_post_for_share_counts( get_the_ID() );
@@ -1491,18 +1564,18 @@ class The_Neverending_Home_Page {
* query vars, as well as taxonomy vars
*
* @global $wp
- * @param array $allowed_vars
+ * @param array $allowed_vars - the allowed variables array.
* @filter infinite_scroll_allowed_vars
* @return array
*/
- function allowed_query_vars( $allowed_vars ) {
+ public function allowed_query_vars( $allowed_vars ) {
global $wp;
$allowed_vars += $wp->public_query_vars;
$allowed_vars += $wp->private_query_vars;
$allowed_vars += $this->get_taxonomy_vars();
- foreach ( array_keys( $allowed_vars, 'paged' ) as $key ) {
+ foreach ( array_keys( $allowed_vars, 'paged', true ) as $key ) {
unset( $allowed_vars[ $key ] );
}
@@ -1515,13 +1588,14 @@ class The_Neverending_Home_Page {
* @global $wp_taxonomies
* @return array
*/
- function get_taxonomy_vars() {
+ public function get_taxonomy_vars() {
global $wp_taxonomies;
$taxonomy_vars = array();
- foreach ( $wp_taxonomies as $taxonomy => $t ) {
- if ( $t->query_var )
+ foreach ( $wp_taxonomies as $t ) {
+ if ( $t->query_var ) {
$taxonomy_vars[] = $t->query_var;
+ }
}
// still needed?
@@ -1533,11 +1607,11 @@ class The_Neverending_Home_Page {
/**
* Update the $query_args array with the parameters provided via AJAX/GET.
*
- * @param array $query_args
+ * @param array $query_args - the query args.
* @filter infinite_scroll_query_args
* @return array
*/
- function inject_query_args( $query_args ) {
+ public function inject_query_args( $query_args ) {
/**
* Filter the array of allowed Infinite Scroll query arguments.
*
@@ -1550,14 +1624,18 @@ class The_Neverending_Home_Page {
*/
$allowed_vars = apply_filters( 'infinite_scroll_allowed_vars', array(), $query_args );
- $query_args = array_merge( $query_args, array(
- 'suppress_filters' => false,
- ) );
+ $query_args = array_merge(
+ $query_args,
+ array(
+ 'suppress_filters' => false,
+ )
+ );
- if ( is_array( $_REQUEST[ 'query_args' ] ) ) {
- foreach ( $_REQUEST[ 'query_args' ] as $var => $value ) {
- if ( in_array( $var, $allowed_vars ) && ! empty( $value ) )
- $query_args[ $var ] = $value;
+ if ( isset( $_REQUEST['query_args'] ) && is_array( $_REQUEST['query_args'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no site changes.
+ foreach ( wp_unslash( $_REQUEST['query_args'] ) as $var => $value ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- no site changes, sanitized below.
+ if ( in_array( $var, $allowed_vars, true ) && ! empty( $value ) ) {
+ $query_args[ $var ] = filter_var( $value );
+ }
}
}
@@ -1569,9 +1647,8 @@ class The_Neverending_Home_Page {
*
* @uses have_posts, the_post, get_template_part, get_post_format
* @action infinite_scroll_render
- * @return string
*/
- function render() {
+ public function render() {
while ( have_posts() ) {
the_post();
@@ -1612,36 +1689,37 @@ class The_Neverending_Home_Page {
* @uses self::get_settings, self::archive_supports_infinity, self::default_footer
* @return string or null
*/
- function footer() {
+ public function footer() {
if ( class_exists( 'Jetpack_AMP_Support' ) && Jetpack_AMP_Support::is_amp_request() ) {
return;
}
// Bail if theme requested footer not show
- if ( false == self::get_settings()->footer )
+ if ( false === self::get_settings()->footer ) {
return;
+ }
// We only need the new footer for the 'scroll' type
- if ( 'scroll' != self::get_settings()->type || ! self::archive_supports_infinity() )
+ if ( 'scroll' !== self::get_settings()->type || ! self::archive_supports_infinity() ) {
return;
+ }
if ( self::is_last_batch() ) {
return;
}
// Display a footer, either user-specified or a default
- if ( false !== self::get_settings()->footer_callback && is_callable( self::get_settings()->footer_callback ) )
+ if ( false !== self::get_settings()->footer_callback && is_callable( self::get_settings()->footer_callback ) ) {
call_user_func( self::get_settings()->footer_callback, self::get_settings() );
- else
+ } else {
self::default_footer();
+ }
}
/**
* Render default IS footer
*
* @uses __, wp_get_theme, apply_filters, home_url, esc_attr, get_bloginfo, bloginfo
- * @return string
- *
*/
private function default_footer() {
if ( '' !== get_privacy_policy_url() ) {
@@ -1673,12 +1751,12 @@ class The_Neverending_Home_Page {
<div id="infinite-footer">
<div class="container">
<div class="blog-info">
- <a id="infinity-blog-title" href="<?php echo home_url( '/' ); ?>" rel="home">
+ <a id="infinity-blog-title" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<?php bloginfo( 'name' ); ?>
</a>
</div>
<div class="blog-credits">
- <?php echo $credits; ?>
+ <?php echo $credits; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
</div>
</div><!-- #infinite-footer -->
@@ -1689,7 +1767,7 @@ class The_Neverending_Home_Page {
* Ensure that IS doesn't interfere with Grunion by stripping IS query arguments from the Grunion redirect URL.
* When arguments are present, Grunion redirects to the IS AJAX endpoint.
*
- * @param string $url
+ * @param string $url - the Grunion redirect URL.
* @uses remove_query_arg
* @filter grunion_contact_form_redirect_url
* @return string
@@ -1697,14 +1775,17 @@ class The_Neverending_Home_Page {
public function filter_grunion_redirect_url( $url ) {
// Remove IS query args, if present
if ( false !== strpos( $url, 'infinity=scrolling' ) ) {
- $url = remove_query_arg( array(
- 'infinity',
- 'action',
- 'page',
- 'order',
- 'scripts',
- 'styles'
- ), $url );
+ $url = remove_query_arg(
+ array(
+ 'infinity',
+ 'action',
+ 'page',
+ 'order',
+ 'scripts',
+ 'styles',
+ ),
+ $url
+ );
}
return $url;
@@ -2000,14 +2081,15 @@ class The_Neverending_Home_Page {
protected static function amp_is_last_page() {
return 0 === static::amp_get_max_pages();
}
-};
+}
/**
* Initialize The_Neverending_Home_Page
*/
function the_neverending_home_page_init() {
- if ( ! current_theme_supports( 'infinite-scroll' ) )
+ if ( ! current_theme_supports( 'infinite-scroll' ) ) {
return;
+ }
new The_Neverending_Home_Page();
}
@@ -2038,10 +2120,11 @@ function the_neverending_home_page_theme_support() {
* @param string $str IS compatibility file path.
* @param string $theme_name Theme name.
*/
- $customization_file = apply_filters( 'infinite_scroll_customization_file', dirname( __FILE__ ) . "/themes/{$theme_name}.php", $theme_name );
+ $customization_file = apply_filters( 'infinite_scroll_customization_file', __DIR__ . "/themes/{$theme_name}.php", $theme_name );
- if ( is_readable( $customization_file ) )
- require_once( $customization_file );
+ if ( is_readable( $customization_file ) ) {
+ require_once $customization_file;
+ }
}
add_action( 'after_setup_theme', 'the_neverending_home_page_theme_support', 5 );
@@ -2055,7 +2138,7 @@ if ( The_Neverending_Home_Page::got_infinity() ) {
*/
if ( ! defined( 'DOING_AJAX' ) &&
isset( $_SERVER['HTTP_X_REQUESTED_WITH'] ) &&
- strtoupper( $_SERVER['HTTP_X_REQUESTED_WITH'] ) == 'XMLHTTPREQUEST'
+ strtoupper( sanitize_text_field( wp_unslash( $_SERVER['HTTP_X_REQUESTED_WITH'] ) ) ) === 'XMLHTTPREQUEST'
) {
define( 'DOING_AJAX', true );
}
diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.php b/plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.php
index 42a69b2d..f801cfc2 100644
--- a/plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.php
+++ b/plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.php
@@ -3,17 +3,22 @@
* Infinite Scroll Theme Assets
*
* Register support for @Twenty Eleven and enqueue relevant styles.
+ *
+ * @package jetpack
*/
/**
* Add theme support for infinity scroll
*/
function jetpack_twentyeleven_infinite_scroll_init() {
- add_theme_support( 'infinite-scroll', array(
- 'container' => 'content',
- 'footer' => 'page',
- 'footer_widgets' => jetpack_twentyeleven_has_footer_widgets(),
- ) );
+ add_theme_support(
+ 'infinite-scroll',
+ array(
+ 'container' => 'content',
+ 'footer' => 'page',
+ 'footer_widgets' => jetpack_twentyeleven_has_footer_widgets(),
+ )
+ );
}
add_action( 'init', 'jetpack_twentyeleven_infinite_scroll_init' );
@@ -33,12 +38,14 @@ add_action( 'wp_enqueue_scripts', 'jetpack_twentyeleven_infinite_scroll_enqueue_
*/
function jetpack_twentyeleven_has_footer_widgets() {
// Are any of the "Footer Area" sidebars active?
- if ( is_active_sidebar( 'sidebar-3' ) || is_active_sidebar( 'sidebar-4' ) || is_active_sidebar( 'sidebar-5' ) )
+ if ( is_active_sidebar( 'sidebar-3' ) || is_active_sidebar( 'sidebar-4' ) || is_active_sidebar( 'sidebar-5' ) ) {
return true;
+ }
// If we're on mobile and the Main Sidebar has widgets, it falls below the content, so we have footer widgets.
- if ( function_exists( 'jetpack_is_mobile' ) && jetpack_is_mobile() && is_active_sidebar( 'sidebar-1' ) )
+ if ( function_exists( 'jetpack_is_mobile' ) && jetpack_is_mobile() && is_active_sidebar( 'sidebar-1' ) ) {
return true;
+ }
return false;
}
diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentyfifteen.php b/plugins/jetpack/modules/infinite-scroll/themes/twentyfifteen.php
index d917dd56..fec19025 100644
--- a/plugins/jetpack/modules/infinite-scroll/themes/twentyfifteen.php
+++ b/plugins/jetpack/modules/infinite-scroll/themes/twentyfifteen.php
@@ -3,16 +3,21 @@
* Infinite Scroll Theme Assets
*
* Register support for Twenty Fifteen.
+ *
+ * @package jetpack
*/
/**
* Add theme support for infinite scroll
*/
function jetpack_twentyfifteen_infinite_scroll_init() {
- add_theme_support( 'infinite-scroll', array(
- 'container' => 'main',
- 'footer' => 'page',
- ) );
+ add_theme_support(
+ 'infinite-scroll',
+ array(
+ 'container' => 'main',
+ 'footer' => 'page',
+ )
+ );
}
add_action( 'after_setup_theme', 'jetpack_twentyfifteen_infinite_scroll_init' );
diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php b/plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php
index c9710abd..1ca9f606 100644
--- a/plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php
+++ b/plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php
@@ -3,6 +3,8 @@
* Infinite Scroll Theme Assets
*
* Register support for Twenty Fourteen.
+ *
+ * @package jetpack
*/
use Automattic\Jetpack\Device_Detection\User_Agent_Info;
@@ -11,11 +13,14 @@ use Automattic\Jetpack\Device_Detection\User_Agent_Info;
* Add theme support for infinite scroll
*/
function jetpack_twentyfourteen_infinite_scroll_init() {
- add_theme_support( 'infinite-scroll', array(
- 'container' => 'content',
- 'footer' => 'page',
- 'footer_widgets' => jetpack_twentyfourteen_has_footer_widgets(),
- ) );
+ add_theme_support(
+ 'infinite-scroll',
+ array(
+ 'container' => 'content',
+ 'footer' => 'page',
+ 'footer_widgets' => jetpack_twentyfourteen_has_footer_widgets(),
+ )
+ );
}
add_action( 'after_setup_theme', 'jetpack_twentyfourteen_infinite_scroll_init' );
@@ -31,9 +36,10 @@ function jetpack_twentyfourteen_has_footer_widgets() {
if ( function_exists( 'jetpack_is_mobile' ) ) {
if ( ( User_Agent_Info::is_ipad() && is_active_sidebar( 'sidebar-1' ) )
|| ( jetpack_is_mobile( '', true ) && ( is_active_sidebar( 'sidebar-1' ) || is_active_sidebar( 'sidebar-2' ) ) )
- || is_active_sidebar( 'sidebar-3' ) )
+ || is_active_sidebar( 'sidebar-3' ) ) {
return true;
+ }
}
return false;
diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentyseventeen.php b/plugins/jetpack/modules/infinite-scroll/themes/twentyseventeen.php
index ca4c64c7..f72811c9 100644
--- a/plugins/jetpack/modules/infinite-scroll/themes/twentyseventeen.php
+++ b/plugins/jetpack/modules/infinite-scroll/themes/twentyseventeen.php
@@ -3,18 +3,23 @@
* Infinite Scroll Theme Assets
*
* Register support for Twenty Seventeen.
+ *
+ * @package jetpack
*/
/**
* Add theme support for infinite scroll
*/
function jetpack_twentyseventeen_infinite_scroll_init() {
- add_theme_support( 'infinite-scroll', array(
- 'container' => 'main',
- 'render' => 'jetpack_twentyseventeen_infinite_scroll_render',
- 'footer' => 'content',
- 'footer_widgets' => jetpack_twentyseventeen_has_footer_widgets(),
- ) );
+ add_theme_support(
+ 'infinite-scroll',
+ array(
+ 'container' => 'main',
+ 'render' => 'jetpack_twentyseventeen_infinite_scroll_render',
+ 'footer' => 'content',
+ 'footer_widgets' => jetpack_twentyseventeen_has_footer_widgets(),
+ )
+ );
}
add_action( 'init', 'jetpack_twentyseventeen_infinite_scroll_init' );
@@ -37,8 +42,8 @@ function jetpack_twentyseventeen_infinite_scroll_render() {
*/
function jetpack_twentyseventeen_has_footer_widgets() {
if ( is_active_sidebar( 'sidebar-2' ) ||
- is_active_sidebar( 'sidebar-3' ) ||
- has_nav_menu( 'social' ) ) {
+ is_active_sidebar( 'sidebar-3' ) ||
+ has_nav_menu( 'social' ) ) {
return true;
}
diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentysixteen.php b/plugins/jetpack/modules/infinite-scroll/themes/twentysixteen.php
index df0c14e9..f05c86f5 100644
--- a/plugins/jetpack/modules/infinite-scroll/themes/twentysixteen.php
+++ b/plugins/jetpack/modules/infinite-scroll/themes/twentysixteen.php
@@ -3,17 +3,22 @@
* Infinite Scroll Theme Assets
*
* Register support for Twenty Sixteen.
+ *
+ * @package jetpack
*/
/**
* Add theme support for infinite scroll
*/
function jetpack_twentysixteen_infinite_scroll_init() {
- add_theme_support( 'infinite-scroll', array(
- 'container' => 'main',
- 'render' => 'jetpack_twentysixteen_infinite_scroll_render',
- 'footer' => 'content',
- ) );
+ add_theme_support(
+ 'infinite-scroll',
+ array(
+ 'container' => 'main',
+ 'render' => 'jetpack_twentysixteen_infinite_scroll_render',
+ 'footer' => 'content',
+ )
+ );
}
add_action( 'after_setup_theme', 'jetpack_twentysixteen_infinite_scroll_init' );
diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentyten.php b/plugins/jetpack/modules/infinite-scroll/themes/twentyten.php
index b6128707..cdc2621a 100644
--- a/plugins/jetpack/modules/infinite-scroll/themes/twentyten.php
+++ b/plugins/jetpack/modules/infinite-scroll/themes/twentyten.php
@@ -3,18 +3,23 @@
* Infinite Scroll Theme Assets
*
* Register support for @Twenty Ten and enqueue relevant styles.
+ *
+ * @package jetpack
*/
/**
* Add theme support for infinity scroll
*/
function jetpack_twentyten_infinite_scroll_init() {
- add_theme_support( 'infinite-scroll', array(
- 'container' => 'content',
- 'render' => 'jetpack_twentyten_infinite_scroll_render',
- 'footer' => 'wrapper',
- 'footer_widgets' => jetpack_twentyten_has_footer_widgets(),
- ) );
+ add_theme_support(
+ 'infinite-scroll',
+ array(
+ 'container' => 'content',
+ 'render' => 'jetpack_twentyten_infinite_scroll_render',
+ 'footer' => 'wrapper',
+ 'footer_widgets' => jetpack_twentyten_has_footer_widgets(),
+ )
+ );
}
add_action( 'init', 'jetpack_twentyten_infinite_scroll_init' );
@@ -45,7 +50,7 @@ add_action( 'wp_enqueue_scripts', 'jetpack_twentyten_infinite_scroll_enqueue_sty
function jetpack_twentyten_has_footer_widgets() {
if ( is_active_sidebar( 'first-footer-widget-area' ) ||
is_active_sidebar( 'second-footer-widget-area' ) ||
- is_active_sidebar( 'third-footer-widget-area' ) ||
+ is_active_sidebar( 'third-footer-widget-area' ) ||
is_active_sidebar( 'fourth-footer-widget-area' ) ) {
return true;
diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentythirteen.php b/plugins/jetpack/modules/infinite-scroll/themes/twentythirteen.php
index 803b31bb..bf13f065 100644
--- a/plugins/jetpack/modules/infinite-scroll/themes/twentythirteen.php
+++ b/plugins/jetpack/modules/infinite-scroll/themes/twentythirteen.php
@@ -3,17 +3,22 @@
* Infinite Scroll Theme Assets
*
* Register support for Twenty Thirteen.
+ *
+ * @package jetpack
*/
/**
* Add theme support for infinite scroll
*/
function jetpack_twentythirteen_infinite_scroll_init() {
- add_theme_support( 'infinite-scroll', array(
- 'container' => 'content',
- 'footer' => 'page',
- 'footer_widgets' => array( 'sidebar-1' ),
- ) );
+ add_theme_support(
+ 'infinite-scroll',
+ array(
+ 'container' => 'content',
+ 'footer' => 'page',
+ 'footer_widgets' => array( 'sidebar-1' ),
+ )
+ );
}
add_action( 'after_setup_theme', 'jetpack_twentythirteen_infinite_scroll_init' );
diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentytwelve.php b/plugins/jetpack/modules/infinite-scroll/themes/twentytwelve.php
index b8b17b3f..8edc335a 100644
--- a/plugins/jetpack/modules/infinite-scroll/themes/twentytwelve.php
+++ b/plugins/jetpack/modules/infinite-scroll/themes/twentytwelve.php
@@ -3,17 +3,22 @@
* Infinite Scroll Theme Assets
*
* Register support for Twenty Twelve and enqueue relevant styles.
+ *
+ * @package jetpack
*/
/**
* Add theme support for infinite scroll
*/
function jetpack_twentytwelve_infinite_scroll_init() {
- add_theme_support( 'infinite-scroll', array(
- 'container' => 'content',
- 'footer' => 'page',
- 'footer_widgets' => jetpack_twentytwelve_has_footer_widgets(),
- ) );
+ add_theme_support(
+ 'infinite-scroll',
+ array(
+ 'container' => 'content',
+ 'footer' => 'page',
+ 'footer_widgets' => jetpack_twentytwelve_has_footer_widgets(),
+ )
+ );
}
add_action( 'after_setup_theme', 'jetpack_twentytwelve_infinite_scroll_init' );
@@ -33,10 +38,11 @@ add_action( 'wp_enqueue_scripts', 'jetpack_twentytwelve_infinite_scroll_enqueue_
*/
function jetpack_twentytwelve_has_footer_widgets() {
if ( function_exists( 'jetpack_is_mobile' ) && jetpack_is_mobile() ) {
- if ( is_front_page() && ( is_active_sidebar( 'sidebar-2' ) || is_active_sidebar( 'sidebar-3' ) ) )
+ if ( is_front_page() && ( is_active_sidebar( 'sidebar-2' ) || is_active_sidebar( 'sidebar-3' ) ) ) {
return true;
- elseif ( is_active_sidebar( 'sidebar-1' ) )
+ } elseif ( is_active_sidebar( 'sidebar-1' ) ) {
return true;
+ }
}
return false;
diff --git a/plugins/jetpack/modules/latex.php b/plugins/jetpack/modules/latex.php
index 3257fdf3..3658e4df 100644
--- a/plugins/jetpack/modules/latex.php
+++ b/plugins/jetpack/modules/latex.php
@@ -9,6 +9,8 @@
* Module Tags: Writing
* Feature: Writing
* Additional Search Queries: latex, math, equation, equations, formula, code
+ *
+ * @package automattic/jetpack
*/
/**
@@ -21,6 +23,11 @@
* $latex [a, b]$ -> [latex][a, b][/latex]
*/
+/**
+ * Markup LaTeX content.
+ *
+ * @param string $content Post or comment contents to markup.
+ */
function latex_markup( $content ) {
$textarr = wp_html_split( $content );
@@ -35,7 +42,7 @@ function latex_markup( $content ) {
%ix';
foreach ( $textarr as &$element ) {
- if ( '' == $element || '<' === $element[0] ) {
+ if ( '' === $element || '<' === $element[0] ) {
continue;
}
@@ -49,36 +56,51 @@ function latex_markup( $content ) {
return implode( '', $textarr );
}
+/**
+ * Process LaTeX string to rendered image.
+ *
+ * @param array $matches Matched regex results.
+ */
function latex_src( $matches ) {
$latex = $matches[1];
$bg = latex_get_default_color( 'bg' );
$fg = latex_get_default_color( 'text', '000' );
- $s = 0;
-
+ $s = 0;
$latex = latex_entity_decode( $latex );
if ( preg_match( '/.+(&fg=[0-9a-f]{6}).*/i', $latex, $fg_matches ) ) {
- $fg = substr( $fg_matches[1], 4 );
+ $fg = substr( $fg_matches[1], 4 );
$latex = str_replace( $fg_matches[1], '', $latex );
}
if ( preg_match( '/.+(&bg=[0-9a-f]{6}).*/i', $latex, $bg_matches ) ) {
- $bg = substr( $bg_matches[1], 4 );
+ $bg = substr( $bg_matches[1], 4 );
$latex = str_replace( $bg_matches[1], '', $latex );
}
if ( preg_match( '/.+(&s=[0-9-]{1,2}).*/i', $latex, $s_matches ) ) {
- $s = (int) substr( $s_matches[1], 3 );
+ $s = (int) substr( $s_matches[1], 3 );
$latex = str_replace( $s_matches[1], '', $latex );
}
return latex_render( $latex, $fg, $bg, $s );
}
+/**
+ * Get the default color for an attribute.
+ *
+ * @param string $color Attribute to color (e.g. bg).
+ * @param string $default_color Default fallback color to use.
+ */
function latex_get_default_color( $color, $default_color = 'ffffff' ) {
global $themecolors;
- return isset($themecolors[$color]) ? $themecolors[$color] : $default_color;
+ return isset( $themecolors[ $color ] ) ? $themecolors[ $color ] : $default_color;
}
+/**
+ * Decode special characters in a LaTeX string.
+ *
+ * @param string $latex Character encoded content.
+ */
function latex_entity_decode( $latex ) {
return str_replace( array( '&lt;', '&gt;', '&quot;', '&#039;', '&#038;', '&amp;', "\n", "\r" ), array( '<', '>', '"', "'", '&', '&', ' ', ' ' ), $latex );
}
@@ -121,6 +143,9 @@ function latex_render( $latex, $fg, $bg, $s = 0 ) {
* and background, and 's' is for the font size.
*
* Example: [latex s=4 bg=00f fg=ff0]\LaTeX[/latex]
+ *
+ * @param array $atts Shortcode attributes.
+ * @param string $content Content to format.
*/
function latex_shortcode( $atts, $content = '' ) {
$attr = shortcode_atts(
@@ -137,15 +162,16 @@ function latex_shortcode( $atts, $content = '' ) {
}
/**
- * LaTeX needs to be untexturized
+ * LaTeX needs to be untexturized.
+ *
+ * @param array $shortcodes Array of shortcodes not to texturize.
*/
function latex_no_texturize( $shortcodes ) {
$shortcodes[] = 'latex';
return $shortcodes;
}
-
add_filter( 'no_texturize_shortcodes', 'latex_no_texturize' );
-add_filter( 'the_content', 'latex_markup', 9 ); // before wptexturize
-add_filter( 'comment_text', 'latex_markup', 9 ); // before wptexturize
+add_filter( 'the_content', 'latex_markup', 9 ); // Before wptexturize.
+add_filter( 'comment_text', 'latex_markup', 9 ); // Before wptexturize.
add_shortcode( 'latex', 'latex_shortcode' );
diff --git a/plugins/jetpack/modules/lazy-images.php b/plugins/jetpack/modules/lazy-images.php
index 9cb427fa..8ea372d8 100644
--- a/plugins/jetpack/modules/lazy-images.php
+++ b/plugins/jetpack/modules/lazy-images.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Module Name: Lazy Images
* Module Description: Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.
@@ -11,13 +10,14 @@
* Module Tags: Appearance, Recommended
* Feature: Appearance
* Additional Search Queries: mobile, theme, fast images, fast image, image, lazy, lazy load, lazyload, images, lazy images, thumbnail, image lazy load, lazy loading, load, loading
+ *
+ * @package automattic/jetpack
*/
/**
+ * The core of this module has been migrated to an standalone reusable package.
*
* @since 8.8
- *
- * The core of this module has been migrated to an standalone reusable package.
*/
/*
diff --git a/plugins/jetpack/modules/lazy-images/images/1x1.trans.gif b/plugins/jetpack/modules/lazy-images/images/1x1.trans.gif
deleted file mode 100644
index f191b280..00000000
--- a/plugins/jetpack/modules/lazy-images/images/1x1.trans.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/lazy-images/js/lazy-images.js b/plugins/jetpack/modules/lazy-images/js/lazy-images.js
deleted file mode 100644
index 1ddbc2c6..00000000
--- a/plugins/jetpack/modules/lazy-images/js/lazy-images.js
+++ /dev/null
@@ -1,868 +0,0 @@
-/* globals IntersectionObserver, jQuery */
-
-var jetpackLazyImagesModule = function( $ ) {
- var images,
- config = {
- // If the image gets within 200px in the Y axis, start the download.
- rootMargin: '200px 0px',
- threshold: 0.01
- },
- imageCount = 0,
- observer,
- image,
- i;
-
- $( document ).ready( function() {
- lazy_load_init();
-
- // Lazy load images that are brought in from Infinite Scroll
- $( 'body' ).bind( 'post-load', lazy_load_init );
-
- // Add event to provide optional compatibility for other code.
- $( 'body' ).bind( 'jetpack-lazy-images-load', lazy_load_init );
- } );
-
- function lazy_load_init() {
- images = document.querySelectorAll( 'img.jetpack-lazy-image:not(.jetpack-lazy-image--handled)' );
- imageCount = images.length;
-
- // If initialized, then disconnect the observer
- if ( observer ) {
- observer.disconnect();
- }
-
- // If we don't have support for intersection observer, loads the images immediately
- if ( ! ( 'IntersectionObserver' in window ) ) {
- loadImagesImmediately( images );
- } else {
- // It is supported, load the images
- observer = new IntersectionObserver( onIntersection, config );
-
- // foreach() is not supported in IE
- for ( i = 0; i < images.length; i++ ) {
- image = images[ i ];
- if ( image.getAttribute( 'data-lazy-loaded' ) ) {
- continue;
- }
-
- observer.observe( image );
- }
- }
- }
-
- /**
- * Load all of the images immediately
- * @param {NodeListOf<Element>} immediateImages List of lazy-loaded images to load immediately.
- */
- function loadImagesImmediately( immediateImages ) {
- var i;
-
- // foreach() is not supported in IE
- for ( i = 0; i < immediateImages.length; i++ ) {
- var image = immediateImages[ i ];
- applyImage( image );
- }
- }
-
- /**
- * On intersection
- * @param {array} entries List of elements being observed.
- */
- function onIntersection( entries ) {
- var i;
-
- // Disconnect if we've already loaded all of the images
- if ( imageCount === 0 ) {
- observer.disconnect();
- }
-
- // Loop through the entries
- for ( i = 0; i < entries.length; i++ ) {
- var entry = entries[ i ];
-
- // Are we in viewport?
- if ( entry.intersectionRatio > 0 ) {
- imageCount--;
-
- // Stop watching and load the image
- observer.unobserve( entry.target );
- applyImage( entry.target );
- }
- }
- }
-
- /**
- * Apply the image
- * @param {object} image The image object.
- */
- function applyImage( image ) {
- var theImage = $( image ),
- srcset,
- sizes,
- theClone;
-
- if ( ! theImage.length ) {
- return;
- }
-
- srcset = theImage.attr( 'data-lazy-srcset' );
- sizes = theImage.attr( 'data-lazy-sizes' );
- theClone = theImage.clone(true);
-
- // Remove lazy attributes from the clone.
- theClone.removeAttr( 'data-lazy-srcset' ),
- theClone.removeAttr( 'data-lazy-sizes' );
- theClone.removeAttr( 'data-lazy-src' );
-
- // Add the attributes we want on the finished image.
- theClone.addClass( 'jetpack-lazy-image--handled' );
- theClone.attr( 'data-lazy-loaded', 1 );
- if ( ! srcset ) {
- theClone.removeAttr( 'srcset' );
- } else {
- theClone.attr( 'srcset', srcset );
- }
- if ( sizes ) {
- theClone.attr( 'sizes', sizes );
- }
-
- theImage.replaceWith( theClone );
-
- // Fire an event so that third-party code can perform actions after an image is loaded.
- theClone.trigger( 'jetpack-lazy-loaded-image' );
- }
-};
-
-/**
- * The following is an Intersection observer polyfill which is licensed under
- * the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE and can be found at:
- * https://github.com/w3c/IntersectionObserver/tree/master/polyfill
- */
-
-/**
- * Copyright 2016 Google Inc. All Rights Reserved.
- *
- * Licensed under the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE.
- *
- * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
- *
- */
-
-(function(window, document) {
- 'use strict';
-
-
- // Exits early if all IntersectionObserver and IntersectionObserverEntry
- // features are natively supported.
- if ('IntersectionObserver' in window &&
- 'IntersectionObserverEntry' in window &&
- 'intersectionRatio' in window.IntersectionObserverEntry.prototype) {
-
- // Minimal polyfill for Edge 15's lack of `isIntersecting`
- // See: https://github.com/w3c/IntersectionObserver/issues/211
- if (!('isIntersecting' in window.IntersectionObserverEntry.prototype)) {
- Object.defineProperty(window.IntersectionObserverEntry.prototype,
- 'isIntersecting', {
- get: function () {
- return this.intersectionRatio > 0;
- }
- });
- }
- return;
- }
-
-
- /**
- * An IntersectionObserver registry. This registry exists to hold a strong
- * reference to IntersectionObserver instances currently observering a target
- * element. Without this registry, instances without another reference may be
- * garbage collected.
- */
- var registry = [];
-
-
- /**
- * Creates the global IntersectionObserverEntry constructor.
- * https://w3c.github.io/IntersectionObserver/#intersection-observer-entry
- * @param {Object} entry A dictionary of instance properties.
- * @constructor
- */
- function IntersectionObserverEntry(entry) {
- this.time = entry.time;
- this.target = entry.target;
- this.rootBounds = entry.rootBounds;
- this.boundingClientRect = entry.boundingClientRect;
- this.intersectionRect = entry.intersectionRect || getEmptyRect();
- this.isIntersecting = !!entry.intersectionRect;
-
- // Calculates the intersection ratio.
- var targetRect = this.boundingClientRect;
- var targetArea = targetRect.width * targetRect.height;
- var intersectionRect = this.intersectionRect;
- var intersectionArea = intersectionRect.width * intersectionRect.height;
-
- // Sets intersection ratio.
- if (targetArea) {
- this.intersectionRatio = intersectionArea / targetArea;
- } else {
- // If area is zero and is intersecting, sets to 1, otherwise to 0
- this.intersectionRatio = this.isIntersecting ? 1 : 0;
- }
- }
-
-
- /**
- * Creates the global IntersectionObserver constructor.
- * https://w3c.github.io/IntersectionObserver/#intersection-observer-interface
- * @param {Function} callback The function to be invoked after intersection
- * changes have queued. The function is not invoked if the queue has
- * been emptied by calling the `takeRecords` method.
- * @param {Object=} opt_options Optional configuration options.
- * @constructor
- */
- function IntersectionObserver(callback, opt_options) {
-
- var options = opt_options || {};
-
- if (typeof callback != 'function') {
- throw new Error('callback must be a function');
- }
-
- if (options.root && options.root.nodeType != 1) {
- throw new Error('root must be an Element');
- }
-
- // Binds and throttles `this._checkForIntersections`.
- this._checkForIntersections = throttle(
- this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT);
-
- // Private properties.
- this._callback = callback;
- this._observationTargets = [];
- this._queuedEntries = [];
- this._rootMarginValues = this._parseRootMargin(options.rootMargin);
-
- // Public properties.
- this.thresholds = this._initThresholds(options.threshold);
- this.root = options.root || null;
- this.rootMargin = this._rootMarginValues.map(function(margin) {
- return margin.value + margin.unit;
- }).join(' ');
- }
-
-
- /**
- * The minimum interval within which the document will be checked for
- * intersection changes.
- */
- IntersectionObserver.prototype.THROTTLE_TIMEOUT = 100;
-
-
- /**
- * The frequency in which the polyfill polls for intersection changes.
- * this can be updated on a per instance basis and must be set prior to
- * calling `observe` on the first target.
- */
- IntersectionObserver.prototype.POLL_INTERVAL = null;
-
- /**
- * Use a mutation observer on the root element
- * to detect intersection changes.
- */
- IntersectionObserver.prototype.USE_MUTATION_OBSERVER = true;
-
-
- /**
- * Starts observing a target element for intersection changes based on
- * the thresholds values.
- * @param {Element} target The DOM element to observe.
- */
- IntersectionObserver.prototype.observe = function(target) {
- var isTargetAlreadyObserved = this._observationTargets.some(function(item) {
- return item.element == target;
- });
-
- if (isTargetAlreadyObserved) {
- return;
- }
-
- if (!(target && target.nodeType == 1)) {
- throw new Error('target must be an Element');
- }
-
- this._registerInstance();
- this._observationTargets.push({element: target, entry: null});
- this._monitorIntersections();
- this._checkForIntersections();
- };
-
-
- /**
- * Stops observing a target element for intersection changes.
- * @param {Element} target The DOM element to observe.
- */
- IntersectionObserver.prototype.unobserve = function(target) {
- this._observationTargets =
- this._observationTargets.filter(function(item) {
-
- return item.element != target;
- });
- if (!this._observationTargets.length) {
- this._unmonitorIntersections();
- this._unregisterInstance();
- }
- };
-
-
- /**
- * Stops observing all target elements for intersection changes.
- */
- IntersectionObserver.prototype.disconnect = function() {
- this._observationTargets = [];
- this._unmonitorIntersections();
- this._unregisterInstance();
- };
-
-
- /**
- * Returns any queue entries that have not yet been reported to the
- * callback and clears the queue. This can be used in conjunction with the
- * callback to obtain the absolute most up-to-date intersection information.
- * @return {Array} The currently queued entries.
- */
- IntersectionObserver.prototype.takeRecords = function() {
- var records = this._queuedEntries.slice();
- this._queuedEntries = [];
- return records;
- };
-
-
- /**
- * Accepts the threshold value from the user configuration object and
- * returns a sorted array of unique threshold values. If a value is not
- * between 0 and 1 and error is thrown.
- * @private
- * @param {Array|number=} opt_threshold An optional threshold value or
- * a list of threshold values, defaulting to [0].
- * @return {Array} A sorted list of unique and valid threshold values.
- */
- IntersectionObserver.prototype._initThresholds = function(opt_threshold) {
- var threshold = opt_threshold || [0];
- if (!Array.isArray(threshold)) threshold = [threshold];
-
- return threshold.sort().filter(function(t, i, a) {
- if (typeof t != 'number' || isNaN(t) || t < 0 || t > 1) {
- throw new Error('threshold must be a number between 0 and 1 inclusively');
- }
- return t !== a[i - 1];
- });
- };
-
-
- /**
- * Accepts the rootMargin value from the user configuration object
- * and returns an array of the four margin values as an object containing
- * the value and unit properties. If any of the values are not properly
- * formatted or use a unit other than px or %, and error is thrown.
- * @private
- * @param {string=} opt_rootMargin An optional rootMargin value,
- * defaulting to '0px'.
- * @return {Array<Object>} An array of margin objects with the keys
- * value and unit.
- */
- IntersectionObserver.prototype._parseRootMargin = function(opt_rootMargin) {
- var marginString = opt_rootMargin || '0px';
- var margins = marginString.split(/\s+/).map(function(margin) {
- var parts = /^(-?\d*\.?\d+)(px|%)$/.exec(margin);
- if (!parts) {
- throw new Error('rootMargin must be specified in pixels or percent');
- }
- return {value: parseFloat(parts[1]), unit: parts[2]};
- });
-
- // Handles shorthand.
- margins[1] = margins[1] || margins[0];
- margins[2] = margins[2] || margins[0];
- margins[3] = margins[3] || margins[1];
-
- return margins;
- };
-
-
- /**
- * Starts polling for intersection changes if the polling is not already
- * happening, and if the page's visibilty state is visible.
- * @private
- */
- IntersectionObserver.prototype._monitorIntersections = function() {
- if (!this._monitoringIntersections) {
- this._monitoringIntersections = true;
-
- // If a poll interval is set, use polling instead of listening to
- // resize and scroll events or DOM mutations.
- if (this.POLL_INTERVAL) {
- this._monitoringInterval = setInterval(
- this._checkForIntersections, this.POLL_INTERVAL);
- }
- else {
- addEvent(window, 'resize', this._checkForIntersections, true);
- addEvent(document, 'scroll', this._checkForIntersections, true);
-
- if (this.USE_MUTATION_OBSERVER && 'MutationObserver' in window) {
- this._domObserver = new MutationObserver(this._checkForIntersections);
- this._domObserver.observe(document, {
- attributes: true,
- childList: true,
- characterData: true,
- subtree: true
- });
- }
- }
- }
- };
-
-
- /**
- * Stops polling for intersection changes.
- * @private
- */
- IntersectionObserver.prototype._unmonitorIntersections = function() {
- if (this._monitoringIntersections) {
- this._monitoringIntersections = false;
-
- clearInterval(this._monitoringInterval);
- this._monitoringInterval = null;
-
- removeEvent(window, 'resize', this._checkForIntersections, true);
- removeEvent(document, 'scroll', this._checkForIntersections, true);
-
- if (this._domObserver) {
- this._domObserver.disconnect();
- this._domObserver = null;
- }
- }
- };
-
-
- /**
- * Scans each observation target for intersection changes and adds them
- * to the internal entries queue. If new entries are found, it
- * schedules the callback to be invoked.
- * @private
- */
- IntersectionObserver.prototype._checkForIntersections = function() {
- var rootIsInDom = this._rootIsInDom();
- var rootRect = rootIsInDom ? this._getRootRect() : getEmptyRect();
-
- this._observationTargets.forEach(function(item) {
- var target = item.element;
- var targetRect = getBoundingClientRect(target);
- var rootContainsTarget = this._rootContainsTarget(target);
- var oldEntry = item.entry;
- var intersectionRect = rootIsInDom && rootContainsTarget &&
- this._computeTargetAndRootIntersection(target, rootRect);
-
- var newEntry = item.entry = new IntersectionObserverEntry({
- time: now(),
- target: target,
- boundingClientRect: targetRect,
- rootBounds: rootRect,
- intersectionRect: intersectionRect
- });
-
- if (!oldEntry) {
- this._queuedEntries.push(newEntry);
- } else if (rootIsInDom && rootContainsTarget) {
- // If the new entry intersection ratio has crossed any of the
- // thresholds, add a new entry.
- if (this._hasCrossedThreshold(oldEntry, newEntry)) {
- this._queuedEntries.push(newEntry);
- }
- } else {
- // If the root is not in the DOM or target is not contained within
- // root but the previous entry for this target had an intersection,
- // add a new record indicating removal.
- if (oldEntry && oldEntry.isIntersecting) {
- this._queuedEntries.push(newEntry);
- }
- }
- }, this);
-
- if (this._queuedEntries.length) {
- this._callback(this.takeRecords(), this);
- }
- };
-
-
- /**
- * Accepts a target and root rect computes the intersection between then
- * following the algorithm in the spec.
- * TODO(philipwalton): at this time clip-path is not considered.
- * https://w3c.github.io/IntersectionObserver/#calculate-intersection-rect-algo
- * @param {Element} target The target DOM element
- * @param {Object} rootRect The bounding rect of the root after being
- * expanded by the rootMargin value.
- * @return {?Object} The final intersection rect object or undefined if no
- * intersection is found.
- * @private
- */
- IntersectionObserver.prototype._computeTargetAndRootIntersection =
- function(target, rootRect) {
-
- // If the element isn't displayed, an intersection can't happen.
- if (window.getComputedStyle(target).display == 'none') return;
-
- var targetRect = getBoundingClientRect(target);
- var intersectionRect = targetRect;
- var parent = getParentNode(target);
- var atRoot = false;
-
- while (!atRoot) {
- var parentRect = null;
- var parentComputedStyle = parent.nodeType == 1 ?
- window.getComputedStyle(parent) : {};
-
- // If the parent isn't displayed, an intersection can't happen.
- if (parentComputedStyle.display == 'none') return;
-
- if (parent == this.root || parent == document) {
- atRoot = true;
- parentRect = rootRect;
- } else {
- // If the element has a non-visible overflow, and it's not the <body>
- // or <html> element, update the intersection rect.
- // Note: <body> and <html> cannot be clipped to a rect that's not also
- // the document rect, so no need to compute a new intersection.
- if (parent != document.body &&
- parent != document.documentElement &&
- parentComputedStyle.overflow != 'visible') {
- parentRect = getBoundingClientRect(parent);
- }
- }
-
- // If either of the above conditionals set a new parentRect,
- // calculate new intersection data.
- if (parentRect) {
- intersectionRect = computeRectIntersection(parentRect, intersectionRect);
-
- if (!intersectionRect) break;
- }
- parent = getParentNode(parent);
- }
- return intersectionRect;
- };
-
-
- /**
- * Returns the root rect after being expanded by the rootMargin value.
- * @return {Object} The expanded root rect.
- * @private
- */
- IntersectionObserver.prototype._getRootRect = function() {
- var rootRect;
- if (this.root) {
- rootRect = getBoundingClientRect(this.root);
- } else {
- // Use <html>/<body> instead of window since scroll bars affect size.
- var html = document.documentElement;
- var body = document.body;
- rootRect = {
- top: 0,
- left: 0,
- right: html.clientWidth || body.clientWidth,
- width: html.clientWidth || body.clientWidth,
- bottom: html.clientHeight || body.clientHeight,
- height: html.clientHeight || body.clientHeight
- };
- }
- return this._expandRectByRootMargin(rootRect);
- };
-
-
- /**
- * Accepts a rect and expands it by the rootMargin value.
- * @param {Object} rect The rect object to expand.
- * @return {Object} The expanded rect.
- * @private
- */
- IntersectionObserver.prototype._expandRectByRootMargin = function(rect) {
- var margins = this._rootMarginValues.map(function(margin, i) {
- return margin.unit == 'px' ? margin.value :
- margin.value * (i % 2 ? rect.width : rect.height) / 100;
- });
- var newRect = {
- top: rect.top - margins[0],
- right: rect.right + margins[1],
- bottom: rect.bottom + margins[2],
- left: rect.left - margins[3]
- };
- newRect.width = newRect.right - newRect.left;
- newRect.height = newRect.bottom - newRect.top;
-
- return newRect;
- };
-
-
- /**
- * Accepts an old and new entry and returns true if at least one of the
- * threshold values has been crossed.
- * @param {?IntersectionObserverEntry} oldEntry The previous entry for a
- * particular target element or null if no previous entry exists.
- * @param {IntersectionObserverEntry} newEntry The current entry for a
- * particular target element.
- * @return {boolean} Returns true if a any threshold has been crossed.
- * @private
- */
- IntersectionObserver.prototype._hasCrossedThreshold =
- function(oldEntry, newEntry) {
-
- // To make comparing easier, an entry that has a ratio of 0
- // but does not actually intersect is given a value of -1
- var oldRatio = oldEntry && oldEntry.isIntersecting ?
- oldEntry.intersectionRatio || 0 : -1;
- var newRatio = newEntry.isIntersecting ?
- newEntry.intersectionRatio || 0 : -1;
-
- // Ignore unchanged ratios
- if (oldRatio === newRatio) return;
-
- for (var i = 0; i < this.thresholds.length; i++) {
- var threshold = this.thresholds[i];
-
- // Return true if an entry matches a threshold or if the new ratio
- // and the old ratio are on the opposite sides of a threshold.
- if (threshold == oldRatio || threshold == newRatio ||
- threshold < oldRatio !== threshold < newRatio) {
- return true;
- }
- }
- };
-
-
- /**
- * Returns whether or not the root element is an element and is in the DOM.
- * @return {boolean} True if the root element is an element and is in the DOM.
- * @private
- */
- IntersectionObserver.prototype._rootIsInDom = function() {
- return !this.root || containsDeep(document, this.root);
- };
-
-
- /**
- * Returns whether or not the target element is a child of root.
- * @param {Element} target The target element to check.
- * @return {boolean} True if the target element is a child of root.
- * @private
- */
- IntersectionObserver.prototype._rootContainsTarget = function(target) {
- return containsDeep(this.root || document, target);
- };
-
-
- /**
- * Adds the instance to the global IntersectionObserver registry if it isn't
- * already present.
- * @private
- */
- IntersectionObserver.prototype._registerInstance = function() {
- if (registry.indexOf(this) < 0) {
- registry.push(this);
- }
- };
-
-
- /**
- * Removes the instance from the global IntersectionObserver registry.
- * @private
- */
- IntersectionObserver.prototype._unregisterInstance = function() {
- var index = registry.indexOf(this);
- if (index != -1) registry.splice(index, 1);
- };
-
-
- /**
- * Returns the result of the performance.now() method or null in browsers
- * that don't support the API.
- * @return {number} The elapsed time since the page was requested.
- */
- function now() {
- return window.performance && performance.now && performance.now();
- }
-
-
- /**
- * Throttles a function and delays its executiong, so it's only called at most
- * once within a given time period.
- * @param {Function} fn The function to throttle.
- * @param {number} timeout The amount of time that must pass before the
- * function can be called again.
- * @return {Function} The throttled function.
- */
- function throttle(fn, timeout) {
- var timer = null;
- return function () {
- if (!timer) {
- timer = setTimeout(function() {
- fn();
- timer = null;
- }, timeout);
- }
- };
- }
-
-
- /**
- * Adds an event handler to a DOM node ensuring cross-browser compatibility.
- * @param {Node} node The DOM node to add the event handler to.
- * @param {string} event The event name.
- * @param {Function} fn The event handler to add.
- * @param {boolean} opt_useCapture Optionally adds the even to the capture
- * phase. Note: this only works in modern browsers.
- */
- function addEvent(node, event, fn, opt_useCapture) {
- if (typeof node.addEventListener == 'function') {
- node.addEventListener(event, fn, opt_useCapture || false);
- }
- else if (typeof node.attachEvent == 'function') {
- node.attachEvent('on' + event, fn);
- }
- }
-
-
- /**
- * Removes a previously added event handler from a DOM node.
- * @param {Node} node The DOM node to remove the event handler from.
- * @param {string} event The event name.
- * @param {Function} fn The event handler to remove.
- * @param {boolean} opt_useCapture If the event handler was added with this
- * flag set to true, it should be set to true here in order to remove it.
- */
- function removeEvent(node, event, fn, opt_useCapture) {
- if (typeof node.removeEventListener == 'function') {
- node.removeEventListener(event, fn, opt_useCapture || false);
- }
- else if (typeof node.detatchEvent == 'function') {
- node.detatchEvent('on' + event, fn);
- }
- }
-
-
- /**
- * Returns the intersection between two rect objects.
- * @param {Object} rect1 The first rect.
- * @param {Object} rect2 The second rect.
- * @return {?Object} The intersection rect or undefined if no intersection
- * is found.
- */
- function computeRectIntersection(rect1, rect2) {
- var top = Math.max(rect1.top, rect2.top);
- var bottom = Math.min(rect1.bottom, rect2.bottom);
- var left = Math.max(rect1.left, rect2.left);
- var right = Math.min(rect1.right, rect2.right);
- var width = right - left;
- var height = bottom - top;
-
- return (width >= 0 && height >= 0) && {
- top: top,
- bottom: bottom,
- left: left,
- right: right,
- width: width,
- height: height
- };
- }
-
-
- /**
- * Shims the native getBoundingClientRect for compatibility with older IE.
- * @param {Element} el The element whose bounding rect to get.
- * @return {Object} The (possibly shimmed) rect of the element.
- */
- function getBoundingClientRect(el) {
- var rect;
-
- try {
- rect = el.getBoundingClientRect();
- } catch (err) {
- // Ignore Windows 7 IE11 "Unspecified error"
- // https://github.com/w3c/IntersectionObserver/pull/205
- }
-
- if (!rect) return getEmptyRect();
-
- // Older IE
- if (!(rect.width && rect.height)) {
- rect = {
- top: rect.top,
- right: rect.right,
- bottom: rect.bottom,
- left: rect.left,
- width: rect.right - rect.left,
- height: rect.bottom - rect.top
- };
- }
- return rect;
- }
-
-
- /**
- * Returns an empty rect object. An empty rect is returned when an element
- * is not in the DOM.
- * @return {Object} The empty rect.
- */
- function getEmptyRect() {
- return {
- top: 0,
- bottom: 0,
- left: 0,
- right: 0,
- width: 0,
- height: 0
- };
- }
-
- /**
- * Checks to see if a parent element contains a child elemnt (including inside
- * shadow DOM).
- * @param {Node} parent The parent element.
- * @param {Node} child The child element.
- * @return {boolean} True if the parent node contains the child node.
- */
- function containsDeep(parent, child) {
- var node = child;
- while (node) {
- if (node == parent) return true;
-
- node = getParentNode(node);
- }
- return false;
- }
-
-
- /**
- * Gets the parent node of an element or its host element if the parent node
- * is a shadow root.
- * @param {Node} node The node whose parent to get.
- * @return {Node|null} The parent node or null if no parent exists.
- */
- function getParentNode(node) {
- var parent = node.parentNode;
-
- if (parent && parent.nodeType == 11 && parent.host) {
- // If the parent is a shadow root, return the host element.
- return parent.host;
- }
- return parent;
- }
-
-
- // Exposes the constructors globally.
- window.IntersectionObserver = IntersectionObserver;
- window.IntersectionObserverEntry = IntersectionObserverEntry;
-
- }(window, document));
-
-// Let's kick things off now
-jetpackLazyImagesModule( jQuery );
diff --git a/plugins/jetpack/modules/lazy-images/lazy-images.php b/plugins/jetpack/modules/lazy-images/lazy-images.php
deleted file mode 100644
index c8092840..00000000
--- a/plugins/jetpack/modules/lazy-images/lazy-images.php
+++ /dev/null
@@ -1,355 +0,0 @@
-<?php
-
-use Automattic\Jetpack\Assets;
-
-class Jetpack_Lazy_Images {
- private static $__instance = null;
-
- /**
- * Singleton implementation
- *
- * @return object
- */
- public static function instance() {
- if ( is_null( self::$__instance ) ) {
- self::$__instance = new Jetpack_Lazy_Images();
- }
-
- return self::$__instance;
- }
-
- /**
- * Registers actions
- */
- private function __construct() {
- if ( is_admin() ) {
- return;
- }
-
- /**
- * Whether the lazy-images module should load.
- *
- * This filter is not prefixed with jetpack_ to provide a smoother migration
- * process from the WordPress Lazy Load plugin.
- *
- * @module lazy-images
- *
- * @since 5.6.0
- *
- * @param bool true Whether lazy image loading should occur.
- */
- if ( ! apply_filters( 'lazyload_is_enabled', true ) ) {
- return;
- }
-
- if ( Jetpack_AMP_Support::is_amp_request() ) {
- return;
- }
-
- add_action( 'wp_head', array( $this, 'setup_filters' ), 9999 ); // we don't really want to modify anything in <head> since it's mostly all metadata
- add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_assets' ) );
-
- // Do not lazy load avatar in admin bar
- add_action( 'admin_bar_menu', array( $this, 'remove_filters' ), 0 );
-
- add_filter( 'wp_kses_allowed_html', array( $this, 'allow_lazy_attributes' ) );
- add_action( 'wp_head', array( $this, 'add_nojs_fallback' ) );
- }
-
- public function setup_filters() {
- add_filter( 'the_content', array( $this, 'add_image_placeholders' ), PHP_INT_MAX ); // run this later, so other content filters have run, including image_add_wh on WP.com
- add_filter( 'post_thumbnail_html', array( $this, 'add_image_placeholders' ), PHP_INT_MAX );
- add_filter( 'get_avatar', array( $this, 'add_image_placeholders' ), PHP_INT_MAX );
- add_filter( 'widget_text', array( $this, 'add_image_placeholders' ), PHP_INT_MAX );
- add_filter( 'get_image_tag', array( $this, 'add_image_placeholders' ), PHP_INT_MAX);
- add_filter( 'wp_get_attachment_image_attributes', array( __CLASS__, 'process_image_attributes' ), PHP_INT_MAX );
- }
-
- public function remove_filters() {
- remove_filter( 'the_content', array( $this, 'add_image_placeholders' ), PHP_INT_MAX );
- remove_filter( 'post_thumbnail_html', array( $this, 'add_image_placeholders' ), PHP_INT_MAX );
- remove_filter( 'get_avatar', array( $this, 'add_image_placeholders' ), PHP_INT_MAX );
- remove_filter( 'widget_text', array( $this, 'add_image_placeholders' ), PHP_INT_MAX );
- remove_filter( 'get_image_tag', array( $this, 'add_image_placeholders' ), PHP_INT_MAX);
- remove_filter( 'wp_get_attachment_image_attributes', array( __CLASS__, 'process_image_attributes' ), PHP_INT_MAX );
- }
-
- /**
- * Ensure that our lazy image attributes are not filtered out of image tags.
- *
- * @param array $allowed_tags The allowed tags and their attributes.
- * @return array
- */
- public function allow_lazy_attributes( $allowed_tags ) {
- if ( ! isset( $allowed_tags['img'] ) ) {
- return $allowed_tags;
- }
-
- // But, if images are allowed, ensure that our attributes are allowed!
- $img_attributes = array_merge( $allowed_tags['img'], array(
- 'data-lazy-src' => 1,
- 'data-lazy-srcset' => 1,
- 'data-lazy-sizes' => 1,
- ) );
-
- $allowed_tags['img'] = $img_attributes;
-
- return $allowed_tags;
- }
-
- public function add_image_placeholders( $content ) {
- // Don't lazyload for feeds, previews
- if ( is_feed() || is_preview() ) {
- return $content;
- }
-
- // Don't lazy-load if the content has already been run through previously
- if ( false !== strpos( $content, 'data-lazy-src' ) ) {
- return $content;
- }
-
- // This is a pretty simple regex, but it works
- $content = preg_replace_callback( '#<(img)([^>]+?)(>(.*?)</\\1>|[\/]?>)#si', array( __CLASS__, 'process_image' ), $content );
-
- return $content;
- }
-
- /**
- * Returns true when a given string of classes contains a class signifying lazy images
- * should not process the image.
- *
- * @since 5.9.0
- *
- * @param string $classes A string of space-separated classes.
- * @return bool
- */
- public static function should_skip_image_with_blacklisted_class( $classes ) {
- $blacklisted_classes = array(
- 'skip-lazy',
- 'gazette-featured-content-thumbnail',
- );
-
- /**
- * Allow plugins and themes to tell lazy images to skip an image with a given class.
- *
- * @module lazy-images
- *
- * @since 5.9.0
- *
- * @param array An array of strings where each string is a class.
- */
- $blacklisted_classes = apply_filters( 'jetpack_lazy_images_blacklisted_classes', $blacklisted_classes );
-
- if ( ! is_array( $blacklisted_classes ) || empty( $blacklisted_classes ) ) {
- return false;
- }
-
- foreach ( $blacklisted_classes as $class ) {
- if ( false !== strpos( $classes, $class ) ) {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Processes images in content by acting as the preg_replace_callback
- *
- * @since 5.6.0
- *
- * @param array $matches
- *
- * @return string The image with updated lazy attributes
- */
- static function process_image( $matches ) {
- $old_attributes_str = $matches[2];
- $old_attributes_kses_hair = wp_kses_hair( $old_attributes_str, wp_allowed_protocols() );
-
- if ( empty( $old_attributes_kses_hair['src'] ) ) {
- return $matches[0];
- }
-
- $old_attributes = self::flatten_kses_hair_data( $old_attributes_kses_hair );
-
- // If we didn't add lazy attributes, just return the original image source.
- if ( ! empty( $old_attributes['class'] ) && false !== strpos( $old_attributes['class'], 'jetpack-lazy-image' ) ) {
- return $matches[0];
- }
-
- $new_attributes = self::process_image_attributes( $old_attributes );
- $new_attributes_str = self::build_attributes_string( $new_attributes );
-
- return sprintf( '<img %1$s><noscript>%2$s</noscript>', $new_attributes_str, $matches[0] );
- }
-
- /**
- * Given an array of image attributes, updates the `src`, `srcset`, and `sizes` attributes so
- * that they load lazily.
- *
- * @since 5.7.0
- *
- * @param array $attributes
- *
- * @return array The updated image attributes array with lazy load attributes
- */
- static function process_image_attributes( $attributes ) {
- if ( empty( $attributes['src'] ) ) {
- return $attributes;
- }
-
- if ( ! empty( $attributes['class'] ) && self::should_skip_image_with_blacklisted_class( $attributes['class'] ) ) {
- return $attributes;
- }
-
- /**
- * Allow plugins and themes to conditionally skip processing an image via its attributes.
- *
- * @module-lazy-images
- *
- * @deprecated 6.5.0 Use jetpack_lazy_images_skip_image_with_attributes instead.
- *
- * @since 5.9.0
- *
- * @param bool Default to not skip processing the current image.
- * @param array An array of attributes via wp_kses_hair() for the current image.
- */
- if ( apply_filters( 'jetpack_lazy_images_skip_image_with_atttributes', false, $attributes ) ) {
- return $attributes;
- }
-
- /**
- * Allow plugins and themes to conditionally skip processing an image via its attributes.
- *
- * @module-lazy-images
- *
- * @since 6.5.0 Filter name was updated from jetpack_lazy_images_skip_image_with_atttributes to correct typo.
- * @since 5.9.0
- *
- * @param bool Default to not skip processing the current image.
- * @param array An array of attributes via wp_kses_hair() for the current image.
- */
- if ( apply_filters( 'jetpack_lazy_images_skip_image_with_attributes', false, $attributes ) ) {
- return $attributes;
- }
-
- $old_attributes = $attributes;
-
- // Stash srcset and sizes in data attributes.
- foreach ( array( 'srcset', 'sizes' ) as $attribute ) {
- if ( isset( $old_attributes[ $attribute ] ) ) {
- $attributes[ "data-lazy-$attribute" ] = $old_attributes[ $attribute ];
- unset( $attributes[ $attribute ] );
- }
- }
-
- // We set this, adding the query arg so that it doesn't exactly equal the src attribute, so that photon JavaScript
- // will hold off on processing this image.
- $attributes['data-lazy-src'] = esc_url_raw( add_query_arg( 'is-pending-load', true, $attributes['src'] ) );
-
- $attributes['srcset'] = self::get_placeholder_image();
- $attributes['class'] = sprintf(
- '%s jetpack-lazy-image',
- empty( $old_attributes['class'] )
- ? ''
- : $old_attributes['class']
- );
-
- /**
- * Allow plugins and themes to override the attributes on the image before the content is updated.
- *
- * One potential use of this filter is for themes that set `height:auto` on the `img` tag.
- * With this filter, the theme could get the width and height attributes from the
- * $attributes array and then add a style tag that sets those values as well, which could
- * minimize reflow as images load.
- *
- * @module lazy-images
- *
- * @since 5.6.0
- *
- * @param array An array containing the attributes for the image, where the key is the attribute name
- * and the value is the attribute value.
- */
- return apply_filters( 'jetpack_lazy_images_new_attributes', $attributes );
- }
-
- /**
- * Adds JavaScript to check if the current browser supports JavaScript as well as some styles to hide lazy
- * images when the browser does not support JavaScript.
- *
- * @return void
- */
- public function add_nojs_fallback() {
- ?>
- <style type="text/css">
- /* If html does not have either class, do not show lazy loaded images. */
- html:not( .jetpack-lazy-images-js-enabled ):not( .js ) .jetpack-lazy-image {
- display: none;
- }
- </style>
- <script>
- document.documentElement.classList.add(
- 'jetpack-lazy-images-js-enabled'
- );
- </script>
- <?php
- }
-
- /**
- * Retrieves the placeholder image after running it through the lazyload_images_placeholder_image filter.
- *
- * @return string The placeholder image source.
- */
- private static function get_placeholder_image() {
- /**
- * Allows plugins and themes to modify the placeholder image.
- *
- * This filter is not prefixed with jetpack_ to provide a smoother migration
- * process from the WordPress Lazy Load plugin.
- *
- * @module lazy-images
- *
- * @since 5.6.0
- * @since 6.5.0 Default image is now a base64 encoded transparent gif.
- *
- * @param string The URL to the placeholder image
- */
- return apply_filters(
- 'lazyload_images_placeholder_image',
- 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'
- );
- }
-
- private static function flatten_kses_hair_data( $attributes ) {
- $flattened_attributes = array();
- foreach ( $attributes as $name => $attribute ) {
- $flattened_attributes[ $name ] = $attribute['value'];
- }
- return $flattened_attributes;
- }
-
- private static function build_attributes_string( $attributes ) {
- $string = array();
- foreach ( $attributes as $name => $value ) {
- if ( '' === $value ) {
- $string[] = sprintf( '%s', $name );
- } else {
- $string[] = sprintf( '%s="%s"', $name, esc_attr( $value ) );
- }
- }
- return implode( ' ', $string );
- }
-
- public function enqueue_assets() {
- wp_enqueue_script(
- 'jetpack-lazy-images',
- Assets::get_file_url_for_environment(
- '_inc/build/lazy-images/js/lazy-images.min.js',
- 'modules/lazy-images/js/lazy-images.js'
- ),
- array( 'jquery' ),
- JETPACK__VERSION,
- true
- );
- }
-}
diff --git a/plugins/jetpack/modules/likes/jetpack-likes-master-iframe.php b/plugins/jetpack/modules/likes/jetpack-likes-master-iframe.php
index 9ccca4c1..d520729b 100644
--- a/plugins/jetpack/modules/likes/jetpack-likes-master-iframe.php
+++ b/plugins/jetpack/modules/likes/jetpack-likes-master-iframe.php
@@ -1,10 +1,15 @@
<?php
+/**
+ * Jetpack likes iframe.
+ *
+ * @package jetpack
+ */
/**
* This function needs to get loaded after the like scripts get added to the page.
*/
function jetpack_likes_master_iframe() {
- $version = gmdate( 'YW' );
+ $version = gmdate( 'YW' );
$in_jetpack = ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ? false : true;
$_locale = get_locale();
@@ -18,10 +23,10 @@ function jetpack_likes_master_iframe() {
require_once JETPACK__GLOTPRESS_LOCALES_PATH;
$gp_locale = GP_Locales::by_field( 'wp_locale', $_locale );
- $_locale = isset( $gp_locale->slug ) ? $gp_locale->slug : '';
+ $_locale = isset( $gp_locale->slug ) ? $gp_locale->slug : '';
}
- $likes_locale = ( '' == $_locale || 'en' == $_locale ) ? '' : '&amp;lang=' . strtolower( $_locale );
+ $likes_locale = ( '' === $_locale || 'en' === $_locale ) ? '' : '&amp;lang=' . strtolower( $_locale );
$src = sprintf(
'https://widgets.wp.com/likes/master.html?ver=%1$s#ver=%1$s%2$s',
@@ -30,9 +35,9 @@ function jetpack_likes_master_iframe() {
);
/* translators: The value of %d is not available at the time of output */
- $likersText = wp_kses( __( '<span>%d</span> bloggers like this:', 'jetpack' ), array( 'span' => array() ) );
+ $likers_text = wp_kses( __( '<span>%d</span> bloggers like this:', 'jetpack' ), array( 'span' => array() ) );
?>
- <iframe src='<?php echo $src; ?>' scrolling='no' id='likes-master' name='likes-master' style='display:none;'></iframe>
- <div id='likes-other-gravatars'><div class="likes-text"><?php echo $likersText; ?></div><ul class="wpl-avatars sd-like-gravatars"></ul></div>
+ <iframe src='<?php echo esc_url( $src ); ?>' scrolling='no' id='likes-master' name='likes-master' style='display:none;'></iframe>
+ <div id='likes-other-gravatars'><div class="likes-text"><?php echo $likers_text; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></div><ul class="wpl-avatars sd-like-gravatars"></ul></div>
<?php
}
diff --git a/plugins/jetpack/modules/likes/jetpack-likes-settings.php b/plugins/jetpack/modules/likes/jetpack-likes-settings.php
index 0e373f58..a7a19b24 100644
--- a/plugins/jetpack/modules/likes/jetpack-likes-settings.php
+++ b/plugins/jetpack/modules/likes/jetpack-likes-settings.php
@@ -1,9 +1,16 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Sync\Settings;
+/**
+ * Jetpack likes settings class.
+ */
class Jetpack_Likes_Settings {
- function __construct() {
+
+ /**
+ * Constructor function.
+ */
+ public function __construct() {
$this->in_jetpack = ! ( defined( 'IS_WPCOM' ) && IS_WPCOM );
}
@@ -44,16 +51,18 @@ class Jetpack_Likes_Settings {
* @param string Likes metabox title. Default to "Likes".
*/
$title = apply_filters( 'likes_meta_box_title', __( 'Likes', 'jetpack' ) );
- foreach( $post_types as $post_type ) {
+ foreach ( $post_types as $post_type ) {
add_meta_box( 'likes_meta', $title, array( $this, 'meta_box_content' ), $post_type, 'side', 'default', array( '__back_compat_meta_box' => true ) );
}
}
/**
* Shows the likes option in the post screen metabox.
+ *
+ * @param object $post - the post object.
*/
public function meta_box_content( $post ) {
- $post_id = ! empty( $post->ID ) ? (int) $post->ID : get_the_ID();
+ $post_id = ! empty( $post->ID ) ? (int) $post->ID : get_the_ID();
$checked = true;
$disabled = ! $this->is_enabled_sitewide();
$switched_status = get_post_meta( $post_id, 'switch_like_status', true );
@@ -80,7 +89,9 @@ class Jetpack_Likes_Settings {
<?php esc_html_e( 'Show likes.', 'jetpack' ); ?>
</label>
<input type="hidden" name="wpl_like_status_hidden" value="1" />
- </p> <?php
+ <?php wp_nonce_field( 'likes-and-shares', '_likesharenonce' ); ?>
+ </p>
+ <?php
/**
* Fires after the Likes meta box content in the post editor.
*
@@ -95,6 +106,7 @@ class Jetpack_Likes_Settings {
/**
* Returns the current state of the "WordPress.com Likes are" option.
+ *
* @return boolean true if enabled sitewide, false if not
*/
public function is_enabled_sitewide() {
@@ -111,18 +123,27 @@ class Jetpack_Likes_Settings {
return (bool) apply_filters( 'wpl_is_enabled_sitewide', ! Jetpack_Options::get_option_and_ensure_autoload( 'disabled_likes', 0 ) );
}
+ /**
+ * Handle meta box saving.
+ *
+ * @param int $post_id - the post ID.
+ */
public function meta_box_save( $post_id ) {
- if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ) {
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
+ return $post_id;
+ }
+
+ if ( empty( $_POST['wpl_like_status_hidden'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- we're not changing anything on the site.
return $post_id;
}
- if ( empty( $_POST['wpl_like_status_hidden'] ) ) {
+ if ( ! isset( $_POST['_likesharenonce'] ) || ! wp_verify_nonce( $_POST['_likesharenonce'], 'likes-and-shares' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- WordPress core doesn't unslash or verify nonces either.
return $post_id;
}
- // Record sharing disable. Only needs to be done for WPCOM
+ // Record sharing disable. Only needs to be done for WPCOM.
if ( ! $this->in_jetpack ) {
- if ( isset( $_POST['post_type'] ) && in_array( $_POST['post_type'], get_post_types( array( 'public' => true ) ) ) ) {
+ if ( isset( $_POST['post_type'] ) && in_array( $_POST['post_type'], get_post_types( array( 'public' => true ) ), true ) ) {
if ( ! isset( $_POST['wpl_enable_post_sharing'] ) ) {
update_post_meta( $post_id, 'sharing_disabled', 1 );
} else {
@@ -131,8 +152,8 @@ class Jetpack_Likes_Settings {
}
}
- if ( 'post' == $_POST['post_type'] ) {
- if ( !current_user_can( 'edit_post', $post_id ) ) {
+ if ( 'post' === $_POST['post_type'] ) {
+ if ( ! current_user_can( 'edit_post', $post_id ) ) {
return $post_id;
}
}
@@ -140,14 +161,14 @@ class Jetpack_Likes_Settings {
// Record a change in like status for this post - only if it contradicts the
// site like setting. If it doesn't contradict, then we delete the new individual status.
if ( ! $this->is_enabled_sitewide() && ! empty( $_POST['wpl_enable_post_likes'] ) ) {
- // Likes turned on for individual posts. User wants to add the button to a single post
+ // Likes turned on for individual posts. User wants to add the button to a single post.
update_post_meta( $post_id, 'switch_like_status', 1 );
- } else if ( $this->is_enabled_sitewide() && empty( $_POST['wpl_enable_post_likes'] ) ) {
- // Likes turned on for all posts. User wants to remove the button from a single post
+ } elseif ( $this->is_enabled_sitewide() && empty( $_POST['wpl_enable_post_likes'] ) ) {
+ // Likes turned on for all posts. User wants to remove the button from a single post.
update_post_meta( $post_id, 'switch_like_status', 0 );
- } else if (
- ( ! $this->is_enabled_sitewide() && empty( $_POST['wpl_enable_post_likes'] ) ) ||
- ( $this->is_enabled_sitewide() && ! empty( $_POST['wpl_enable_post_likes'] ) )
+ } elseif (
+ ( ! $this->is_enabled_sitewide() && empty( $_POST['wpl_enable_post_likes'] ) ) ||
+ ( $this->is_enabled_sitewide() && ! empty( $_POST['wpl_enable_post_likes'] ) )
) {
// User wants to update the likes button status for an individual post, but the new status
// is the same as if they're asking for the default behavior according to the current Likes setting.
@@ -159,25 +180,29 @@ class Jetpack_Likes_Settings {
}
/**
- * WordPress.com: Metabox option for sharing (sharedaddy will handle this on the JP blog)
+ * WordPress.com: Metabox option for sharing (sharedaddy will handle this on the JP blog).
+ *
+ * @param object $post - the post object.
*/
public function sharing_meta_box_content( $post ) {
- $post_id = ! empty( $post->ID ) ? (int) $post->ID : get_the_ID();
- $disabled = get_post_meta( $post_id, 'sharing_disabled', true ); ?>
+ $post_id = ! empty( $post->ID ) ? (int) $post->ID : get_the_ID();
+ $disabled = get_post_meta( $post_id, 'sharing_disabled', true );
+ ?>
<p>
<label for="wpl_enable_post_sharing">
<input type="checkbox" name="wpl_enable_post_sharing" id="wpl_enable_post_sharing" value="1" <?php checked( ! $disabled ); ?>>
- <?php _e( 'Show sharing buttons.', 'jetpack' ); ?>
+ <?php esc_html_e( 'Show sharing buttons.', 'jetpack' ); ?>
</label>
<input type="hidden" name="wpl_sharing_status_hidden" value="1" />
- </p> <?php
+ </p>
+ <?php
}
/**
* Adds the 'sharing' menu to the settings menu.
* Only ran if sharedaddy and publicize are not already active.
*/
- function sharing_menu() {
+ public function sharing_menu() {
add_submenu_page( 'options-general.php', esc_html__( 'Sharing Settings', 'jetpack' ), esc_html__( 'Sharing', 'jetpack' ), 'manage_options', 'sharing', array( $this, 'sharing_page' ) );
}
@@ -186,8 +211,9 @@ class Jetpack_Likes_Settings {
* so we can display the setting.
* Only ran if sharedaddy and publicize are not already active.
*/
- function sharing_page() {
- $this->updated_message(); ?>
+ public function sharing_page() {
+ $this->updated_message();
+ ?>
<div class="wrap">
<div class="icon32" id="icon-options-general"><br /></div>
<h1><?php esc_html_e( 'Sharing Settings', 'jetpack' ); ?></h1>
@@ -196,14 +222,16 @@ class Jetpack_Likes_Settings {
do_action( 'pre_admin_screen_sharing' );
?>
<?php $this->sharing_block(); ?>
- </div> <?php
+ </div>
+ <?php
}
/**
* Returns the settings have been saved message.
*/
- function updated_message() {
- if ( isset( $_GET['update'] ) && $_GET['update'] == 'saved' ){
+ public function updated_message() {
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- ignoring since we are just displaying that the settings have been saved and not making any other changes to the site.
+ if ( isset( $_GET['update'] ) && 'saved' === $_GET['update'] ) {
echo '<div class="updated"><p>' . esc_html__( 'Settings have been saved', 'jetpack' ) . '</p></div>';
}
}
@@ -211,7 +239,8 @@ class Jetpack_Likes_Settings {
/**
* Returns just the "sharing buttons" w/ like option block, so it can be inserted into different sharing page contexts
*/
- function sharing_block() { ?>
+ public function sharing_block() {
+ ?>
<h2><?php esc_html_e( 'Sharing Buttons', 'jetpack' ); ?></h2>
<form method="post" action="">
<table class="form-table">
@@ -224,20 +253,19 @@ class Jetpack_Likes_Settings {
</table>
<p class="submit">
- <input type="submit" name="submit" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'jetpack' ); ?>" />
- </p>
-
- <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce( 'sharing-options' );?>" />
- </form> <?php
+ <input type="submit" name="submit" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'jetpack' ); ?>" />
+ <?php wp_nonce_field( 'sharing-options' ); ?>
+ </form>
+ <?php
}
/**
* Are likes enabled for this post?
*
- * @param int $post_id
+ * @param int $post_id - the post ID.
* @return bool
*/
- function is_post_likeable( $post_id = 0 ) {
+ public function is_post_likeable( $post_id = 0 ) {
$post = get_post( $post_id );
if ( ! $post || is_wp_error( $post ) ) {
return false;
@@ -264,7 +292,7 @@ class Jetpack_Likes_Settings {
*/
$last_modified_time = strtotime( $post->post_modified_gmt );
- $behavior_was_changed_at = strtotime( "2019-02-22 00:40:42" );
+ $behavior_was_changed_at = strtotime( '2019-02-22 00:40:42' );
if ( $this->in_jetpack || $last_modified_time > $behavior_was_changed_at ) {
/*
@@ -304,7 +332,7 @@ class Jetpack_Likes_Settings {
* Some of this code was taken and modified from sharing_display() to ensure
* similar logic and filters apply here, too.
*/
- function is_likes_visible() {
+ public function is_likes_visible() {
if ( Settings::is_syncing() ) {
return false;
}
@@ -332,7 +360,7 @@ class Jetpack_Likes_Settings {
$enabled = false;
}
- if ( in_array( 'get_the_excerpt', (array) $wp_current_filter ) ) {
+ if ( in_array( 'get_the_excerpt', (array) $wp_current_filter, true ) ) {
$enabled = false;
}
// Sharing Setting Overrides ****************************************
@@ -362,12 +390,12 @@ class Jetpack_Likes_Settings {
if ( $post instanceof WP_Post ) {
// Check that the post is a public, published post.
- if ( 'attachment' == $post->post_type ) {
+ if ( 'attachment' === $post->post_type ) {
$post_status = get_post_status( $post->post_parent );
} else {
$post_status = $post->post_status;
}
- if ( 'publish' != $post_status ) {
+ if ( 'publish' !== $post_status ) {
$enabled = false;
}
}
@@ -392,10 +420,10 @@ class Jetpack_Likes_Settings {
/**
* Are Post Likes enabled on single posts?
*
- * @param String $post_type custom post type identifier
+ * @param string $post_type custom post type identifier.
* @return bool
*/
- function is_single_post_enabled( $post_type = 'post' ) {
+ public function is_single_post_enabled( $post_type = 'post' ) {
$options = $this->get_options();
return (bool) apply_filters(
/**
@@ -410,7 +438,7 @@ class Jetpack_Likes_Settings {
* @param bool $enabled Are Post Likes enabled on single posts?
*/
"wpl_is_single_{$post_type}_disabled",
- (bool) in_array( $post_type, $options['show'] )
+ (bool) in_array( $post_type, $options['show'], true )
);
}
@@ -419,9 +447,9 @@ class Jetpack_Likes_Settings {
*
* @return array
*/
- function get_options() {
+ public function get_options() {
$setting = array();
- $setting['disabled'] = get_option( 'disabled_likes' );
+ $setting['disabled'] = get_option( 'disabled_likes' );
$sharing = get_option( 'sharing-options', array() );
// Default visibility settings
@@ -431,13 +459,13 @@ class Jetpack_Likes_Settings {
// Scalar check
} elseif ( is_scalar( $sharing['global']['show'] ) ) {
switch ( $sharing['global']['show'] ) {
- case 'posts' :
+ case 'posts':
$sharing['global']['show'] = array( 'post', 'page' );
break;
- case 'index' :
+ case 'index':
$sharing['global']['show'] = array( 'index' );
break;
- case 'posts-index' :
+ case 'posts-index':
$sharing['global']['show'] = array( 'post', 'page', 'index' );
break;
}
@@ -463,7 +491,7 @@ class Jetpack_Likes_Settings {
*
* @return bool
*/
- function is_index_enabled() {
+ public function is_index_enabled() {
$options = $this->get_options();
/**
* Filters whether Likes should be enabled on archive/front/search pages.
@@ -474,7 +502,7 @@ class Jetpack_Likes_Settings {
*
* @param bool $enabled Are Post Likes enabled on archive/front/search pages?
*/
- return (bool) apply_filters( 'wpl_is_index_disabled', (bool) in_array( 'index', $options['show'] ) );
+ return (bool) apply_filters( 'wpl_is_index_disabled', (bool) in_array( 'index', $options['show'], true ) );
}
/**
@@ -482,7 +510,7 @@ class Jetpack_Likes_Settings {
*
* @return bool
*/
- function is_single_page_enabled() {
+ public function is_single_page_enabled() {
$options = $this->get_options();
/**
* Filters whether Likes should be enabled on single pages.
@@ -493,7 +521,7 @@ class Jetpack_Likes_Settings {
*
* @param bool $enabled Are Post Likes enabled on single pages?
*/
- return (bool) apply_filters( 'wpl_is_single_page_disabled', (bool) in_array( 'page', $options['show'] ) );
+ return (bool) apply_filters( 'wpl_is_single_page_disabled', (bool) in_array( 'page', $options['show'], true ) );
}
/**
@@ -501,7 +529,7 @@ class Jetpack_Likes_Settings {
*
* @return bool
*/
- function is_attachment_enabled() {
+ public function is_attachment_enabled() {
$options = $this->get_options();
/**
* Filters whether Likes should be enabled on attachment pages.
@@ -512,13 +540,13 @@ class Jetpack_Likes_Settings {
*
* @param bool $enabled Are Post Likes enabled on attachment pages?
*/
- return (bool) apply_filters( 'wpl_is_attachment_disabled', (bool) in_array( 'attachment', $options['show'] ) );
+ return (bool) apply_filters( 'wpl_is_attachment_disabled', (bool) in_array( 'attachment', $options['show'], true ) );
}
/**
* The actual options block to be inserted into the sharing page.
*/
- function admin_settings_init() {
+ public function admin_settings_init() {
?>
<tr>
<th scope="row">
@@ -577,14 +605,15 @@ class Jetpack_Likes_Settings {
<?php endif; ?>
<?php endif; ?>
</tbody> <?php // closes the tbody attached to sharing_show_buttons_on_row_start... ?>
- <?php
+ <?php
}
/**
* Returns the current state of the "WordPress.com Reblogs are" option.
- * @return boolean true if enabled sitewide, false if not
+ *
+ * @return bool true if enabled sitewide, false if not
*/
- function reblogs_enabled_sitewide() {
+ public function reblogs_enabled_sitewide() {
/**
* Filters whether Reblogs are enabled by default on all posts.
* true if enabled sitewide, false if not.
@@ -601,9 +630,10 @@ class Jetpack_Likes_Settings {
/**
* Used for WPCOM ONLY. Comment likes are in their own module in Jetpack.
* Returns if comment likes are enabled. Defaults to 'off'
+ *
* @return boolean true if we should show comment likes, false if not
*/
- function is_comments_enabled() {
+ public function is_comments_enabled() {
/**
* Filters whether Comment Likes are enabled.
* true if enabled, false if not.
@@ -618,62 +648,63 @@ class Jetpack_Likes_Settings {
}
/**
- * Saves the setting in the database, bumps a stat on WordPress.com
+ * Saves the setting in the database.
*/
- function admin_settings_callback() {
+ public function admin_settings_callback() {
+ if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'sharing-options' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- WordPress core doesn't unslash or verify nonces either.
+ return;
+ }
+
// We're looking for these, and doing a dance to set some stats and save
// them together in array option.
- $new_state = ! empty( $_POST['wpl_default'] ) ? $_POST['wpl_default'] : 'on';
- $db_state = $this->is_enabled_sitewide();
+ if ( ! empty( $_POST['wpl_default'] ) ) {
+ $new_state = sanitize_text_field( wp_unslash( $_POST['wpl_default'] ) );
+ } else {
+ $new_state = 'on';
+ }
- $reblogs_new_state = ! empty( $_POST['jetpack_reblogs_enabled'] ) ? $_POST['jetpack_reblogs_enabled'] : 'on';
- $reblogs_db_state = $this->reblogs_enabled_sitewide();
- /** Default State *********************************************************/
+ if ( ! empty( $_POST['jetpack_reblogs_enabled'] ) ) {
+ $reblogs_new_state = sanitize_text_field( wp_unslash( $_POST['jetpack_reblogs_enabled'] ) );
+ } else {
+ $reblogs_new_state = 'on';
+ }
// Checked (enabled)
- switch( $new_state ) {
- case 'off' :
- if ( true == $db_state && ! $this->in_jetpack ) {
- $g_gif = file_get_contents( 'https://pixel.wp.com/g.gif?v=wpcom-no-pv&x_likes=disabled_likes' );
- }
+ switch ( $new_state ) {
+ case 'off':
update_option( 'disabled_likes', 1 );
break;
- case 'on' :
+ case 'on':
default:
- if ( false == $db_state && ! $this->in_jetpack ) {
- $g_gif = file_get_contents( 'https://pixel.wp.com/g.gif?v=wpcom-no-pv&x_likes=reenabled_likes' );
- }
delete_option( 'disabled_likes' );
break;
}
- switch( $reblogs_new_state ) {
- case 'off' :
- if ( true == $reblogs_db_state && ! $this->in_jetpack ) {
- $g_gif = file_get_contents( 'https://pixel.wp.com/g.gif?v=wpcom-no-pv&x_reblogs=disabled_reblogs' );
- }
+ switch ( $reblogs_new_state ) {
+ case 'off':
update_option( 'disabled_reblogs', 1 );
break;
- case 'on' :
+ case 'on':
default:
- if ( false == $reblogs_db_state && ! $this->in_jetpack ) {
- $g_gif = file_get_contents( 'https://pixel.wp.com/g.gif?v=wpcom-no-pv&x_reblogs=reenabled_reblogs' );
- }
delete_option( 'disabled_reblogs' );
break;
}
// WPCOM only: Comment Likes
if ( ! $this->in_jetpack ) {
- $new_comments_state = ! empty( $_POST['jetpack_comment_likes_enabled'] ) ? $_POST['jetpack_comment_likes_enabled'] : false;
- switch( (bool) $new_comments_state ) {
+ if ( ! empty( $_POST['jetpack_comment_likes_enabled'] ) ) {
+ $new_comments_state = sanitize_text_field( wp_unslash( $_POST['jetpack_comment_likes_enabled'] ) );
+ } else {
+ $new_comments_state = false;
+ }
+ switch ( (bool) $new_comments_state ) {
case true:
update_option( 'jetpack_comment_likes_enabled', 1 );
- break;
+ break;
case false:
default:
update_option( 'jetpack_comment_likes_enabled', 0 );
- break;
+ break;
}
}
}
@@ -681,9 +712,9 @@ class Jetpack_Likes_Settings {
/**
* Adds the admin update hook so we can save settings even if Sharedaddy is not enabled.
*/
- function process_update_requests_if_sharedaddy_not_loaded() {
- if ( isset( $_GET['page'] ) && ( $_GET['page'] == 'sharing.php' || $_GET['page'] == 'sharing' ) ) {
- if ( isset( $_POST['_wpnonce'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'sharing-options' ) ) {
+ public function process_update_requests_if_sharedaddy_not_loaded() {
+ if ( isset( $_GET['page'] ) && ( $_GET['page'] === 'sharing.php' || $_GET['page'] === 'sharing' ) ) {
+ if ( isset( $_POST['_wpnonce'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'sharing-options' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- WordPress core doesn't unslash or verify nonces either.
/** This action is documented in modules/sharedaddy/sharing.php */
do_action( 'sharing_admin_update' );
wp_safe_redirect( admin_url( 'options-general.php?page=sharing&update=saved' ) );
@@ -695,63 +726,71 @@ class Jetpack_Likes_Settings {
/**
* If sharedaddy is not loaded, we don't have the "Show buttons on" yet, so we need to add that since it affects likes too.
*/
- function admin_settings_showbuttonon_init() {
+ public function admin_settings_showbuttonon_init() {
/** This action is documented in modules/sharedaddy/sharing.php */
- echo apply_filters( 'sharing_show_buttons_on_row_start', '<tr valign="top">' );
+ echo apply_filters( 'sharing_show_buttons_on_row_start', '<tr valign="top">' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
- <th scope="row"><label><?php _e( 'Show buttons on', 'jetpack' ); ?></label></th>
+ <th scope="row"><label><?php esc_html_e( 'Show buttons on', 'jetpack' ); ?></label></th>
<td>
<?php
- $br = false;
+ $br = false;
$shows = array_values( get_post_types( array( 'public' => true ) ) );
array_unshift( $shows, 'index' );
$global = $this->get_options();
foreach ( $shows as $show ) :
- if ( 'index' == $show ) {
+ if ( 'index' === $show ) {
$label = __( 'Front Page, Archive Pages, and Search Results', 'jetpack' );
} else {
$post_type_object = get_post_type_object( $show );
- $label = $post_type_object->labels->name;
+ $label = $post_type_object->labels->name;
+ }
+
+ if ( $br ) {
+ echo '<br />';
}
?>
- <?php if ( $br ) echo '<br />'; ?><label><input type="checkbox"<?php checked( in_array( $show, $global['show'] ) ); ?> name="show[]" value="<?php echo esc_attr( $show ); ?>" /> <?php echo esc_html( $label ); ?></label>
- <?php $br = true; endforeach; ?>
+ <label><input type="checkbox"<?php checked( in_array( $show, $global['show'], true ) ); ?> name="show[]" value="<?php echo esc_attr( $show ); ?>" /> <?php echo esc_html( $label ); ?></label>
+ <?php
+ $br = true;
+ endforeach;
+ ?>
</td>
<?php
/** This action is documented in modules/sharedaddy/sharing.php */
- echo apply_filters( 'sharing_show_buttons_on_row_end', '</tr>' );
- ?>
- <?php
+ echo apply_filters( 'sharing_show_buttons_on_row_end', '</tr>' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
/**
* If sharedaddy is not loaded, we still need to save the the settings of the "Show buttons on" option.
*/
- function admin_settings_showbuttonon_callback() {
+ public function admin_settings_showbuttonon_callback() {
$options = get_option( 'sharing-options' );
- if ( !is_array( $options ) )
+ if ( ! is_array( $options ) ) {
$options = array();
+ }
- $shows = array_values( get_post_types( array( 'public' => true ) ) );
+ $shows = array_values( get_post_types( array( 'public' => true ) ) );
$shows[] = 'index';
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing -- triggered due to the 'sharing_admin_update' action, but the code in sharing.php checks for the nonce before firing the action.
$data = $_POST;
if ( isset( $data['show'] ) ) {
if ( is_scalar( $data['show'] ) ) {
switch ( $data['show'] ) {
- case 'posts' :
+ case 'posts':
$data['show'] = array( 'post', 'page' );
break;
- case 'index' :
+ case 'index':
$data['show'] = array( 'index' );
break;
- case 'posts-index' :
+ case 'posts-index':
$data['show'] = array( 'post', 'page', 'index' );
break;
}
}
- if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
+ $data['show'] = array_intersect( $data['show'], $shows );
+ if ( $data['show'] ) {
$options['global']['show'] = $data['show'];
}
} else {
diff --git a/plugins/jetpack/modules/markdown.php b/plugins/jetpack/modules/markdown.php
index 719095a6..ee83557d 100644
--- a/plugins/jetpack/modules/markdown.php
+++ b/plugins/jetpack/modules/markdown.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Module Name: Markdown
* Module Description: Write posts or pages in plain-text Markdown syntax
@@ -10,9 +9,12 @@
* Module Tags: Writing
* Feature: Writing
* Additional Search Queries: md, markdown
+ *
+ * @package automattic/jetpack
*/
-include dirname( __FILE__ ) . '/markdown/easy-markdown.php';
+// Require the markdown class file.
+require __DIR__ . '/markdown/easy-markdown.php';
/**
* Remove checkbox set in modules/markdown/easy-markdown.php.
diff --git a/plugins/jetpack/modules/markdown/easy-markdown.php b/plugins/jetpack/modules/markdown/easy-markdown.php
index 43e30de4..0abcddf3 100644
--- a/plugins/jetpack/modules/markdown/easy-markdown.php
+++ b/plugins/jetpack/modules/markdown/easy-markdown.php
@@ -1,13 +1,15 @@
-<?php
-
-/*
-Plugin Name: Easy Markdown
-Plugin URI: https://automattic.com/
-Description: Write in Markdown, publish in WordPress
-Version: 0.1
-Author: Matt Wiebe
-Author URI: https://automattic.com/
-*/
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Plugin URI: https://automattic.com/
+ * Plugin Name: Easy Markdown
+ * Description: Write in Markdown, publish in WordPress
+ * Version: 0.1
+ * Author: Matt Wiebe
+ * Author URI: https://automattic.com/
+ * Text Domain: jetpack
+ *
+ * @package automattic/jetpack
+ */
/**
* Copyright (c) Automattic. All rights reserved.
@@ -31,35 +33,61 @@ Author URI: https://automattic.com/
* **********************************************************************
*/
+/**
+ * WPCom_Markdown class.
+ */
class WPCom_Markdown {
-
- const POST_OPTION = 'wpcom_publish_posts_with_markdown';
- const COMMENT_OPTION = 'wpcom_publish_comments_with_markdown';
+ const POST_OPTION = 'wpcom_publish_posts_with_markdown';
+ const COMMENT_OPTION = 'wpcom_publish_comments_with_markdown';
const POST_TYPE_SUPPORT = 'wpcom-markdown';
- const IS_MD_META = '_wpcom_is_markdown';
+ const IS_MD_META = '_wpcom_is_markdown';
+ /**
+ * Our markdown parser.
+ *
+ * @var WPCom_GHF_Markdown_Parser
+ */
private static $parser;
+
+ /**
+ * An instance of the markdown class.
+ *
+ * @var WPCom_Markdown
+ */
private static $instance;
- // to ensure that our munged posts over xml-rpc are removed from the cache
+ /**
+ * To ensure that our munged posts over xml-rpc are removed from the cache.
+ *
+ * @var array
+ */
public $posts_to_uncache = array();
- private $monitoring = array( 'post' => array(), 'parent' => array() );
+ /**
+ * Posts and parents to monitor.
+ *
+ * @var array
+ */
+ private $monitoring = array(
+ 'post' => array(),
+ 'parent' => array(),
+ );
/**
* Yay singletons!
+ *
* @return object WPCom_Markdown instance
*/
public static function get_instance() {
- if ( ! self::$instance )
+ if ( ! self::$instance ) {
self::$instance = new self();
+ }
return self::$instance;
}
/**
* Kicks things off on `init` action
- * @return null
*/
public function load() {
$this->add_default_post_type_support();
@@ -76,10 +104,9 @@ class WPCom_Markdown {
/**
* If we're in a bulk edit session, unload so that we don't lose our markdown metadata
- * @return null
*/
public function maybe_unload_for_bulk_edit() {
- if ( isset( $_REQUEST['bulk_edit'] ) && $this->is_posting_enabled() ) {
+ if ( isset( $_REQUEST['bulk_edit'] ) && $this->is_posting_enabled() ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$this->unload_markdown_for_posts();
}
}
@@ -87,8 +114,9 @@ class WPCom_Markdown {
/**
* Called on init and fires on switch_blog to decide if our actions and filters
* should be running.
- * @param int|null $new_blog_id New blog ID
- * @param int|null $old_blog_id Old blog ID
+ *
+ * @param int|null $new_blog_id New blog ID.
+ * @param int|null $old_blog_id Old blog ID.
* @return null
*/
public function maybe_load_actions_and_filters( $new_blog_id = null, $old_blog_id = null ) {
@@ -98,7 +126,7 @@ class WPCom_Markdown {
return;
}
- // If this is a switch_to_blog call, and the blog isn't changing, we'll already be loaded
+ // If this is a switch_to_blog call, and the blog isn't changing, we'll already be loaded.
if ( $new_blog_id && $new_blog_id === $old_blog_id ) {
return;
}
@@ -118,7 +146,6 @@ class WPCom_Markdown {
/**
* Set up hooks for enabling Markdown conversion on posts
- * @return null
*/
public function load_markdown_for_posts() {
add_filter( 'wp_kses_allowed_html', array( $this, 'wp_kses_allowed_html' ), 10, 2 );
@@ -128,7 +155,7 @@ class WPCom_Markdown {
add_filter( 'edit_post_content', array( $this, 'edit_post_content' ), 10, 2 );
add_filter( 'edit_post_content_filtered', array( $this, 'edit_post_content_filtered' ), 10, 2 );
add_action( 'wp_restore_post_revision', array( $this, 'wp_restore_post_revision' ), 10, 2 );
- add_filter( '_wp_post_revision_fields', array( $this, '_wp_post_revision_fields' ) );
+ add_filter( '_wp_post_revision_fields', array( $this, 'wp_post_revision_fields' ) );
add_action( 'xmlrpc_call', array( $this, 'xmlrpc_actions' ) );
add_filter( 'content_save_pre', array( $this, 'preserve_code_blocks' ), 1 );
if ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) {
@@ -138,7 +165,6 @@ class WPCom_Markdown {
/**
* Removes hooks to disable Markdown conversion on posts
- * @return null
*/
public function unload_markdown_for_posts() {
remove_filter( 'wp_kses_allowed_html', array( $this, 'wp_kses_allowed_html' ) );
@@ -148,14 +174,13 @@ class WPCom_Markdown {
remove_filter( 'edit_post_content', array( $this, 'edit_post_content' ), 10, 2 );
remove_filter( 'edit_post_content_filtered', array( $this, 'edit_post_content_filtered' ), 10, 2 );
remove_action( 'wp_restore_post_revision', array( $this, 'wp_restore_post_revision' ), 10, 2 );
- remove_filter( '_wp_post_revision_fields', array( $this, '_wp_post_revision_fields' ) );
+ remove_filter( '_wp_post_revision_fields', array( $this, 'wp_post_revision_fields' ) );
remove_action( 'xmlrpc_call', array( $this, 'xmlrpc_actions' ) );
remove_filter( 'content_save_pre', array( $this, 'preserve_code_blocks' ), 1 );
}
/**
* Set up hooks for enabling Markdown conversion on comments
- * @return null
*/
protected function load_markdown_for_comments() {
// Use priority 9 so that Markdown runs before KSES, which can clean up
@@ -165,15 +190,13 @@ class WPCom_Markdown {
/**
* Removes hooks to disable Markdown conversion
- * @return null
*/
protected function unload_markdown_for_comments() {
remove_filter( 'pre_comment_content', array( $this, 'pre_comment_content' ), 9 );
}
/**
- * o2 does some of what we do. Let's take precedence.
- * @return null
+ * The o2 plugin does some of what we do. Let's take precedence.
*/
public function add_o2_helpers() {
if ( $this->is_posting_enabled() ) {
@@ -189,7 +212,8 @@ class WPCom_Markdown {
/**
* If Markdown is enabled for posts on this blog, filter the text for o2 previews
- * @param string $text Post text
+ *
+ * @param string $text Post text.
* @return string Post text transformed through the magic of Markdown
*/
public function o2_preview_post( $text ) {
@@ -201,7 +225,8 @@ class WPCom_Markdown {
/**
* If Markdown is enabled for comments on this blog, filter the text for o2 previews
- * @param string $text Comment text
+ *
+ * @param string $text Comment text.
* @return string Comment text transformed through the magic of Markdown
*/
public function o2_preview_comment( $text ) {
@@ -213,8 +238,9 @@ class WPCom_Markdown {
/**
* Escapes lists so that o2 doesn't trounce them
- * @param string $text Post/comment text
- * @return string Text escaped with HTML entity for asterisk
+ *
+ * @param string $text Post/comment text.
+ * @return string Text escaped with HTML entity for asterisk.
*/
public function o2_escape_lists( $text ) {
return preg_replace( '/^\\* /um', '&#42; ', $text );
@@ -222,7 +248,8 @@ class WPCom_Markdown {
/**
* Unescapes the token we inserted on o2_escape_lists
- * @param string $text Post/comment text with HTML entities for asterisks
+ *
+ * @param string $text Post/comment text with HTML entities for asterisks.
* @return string Text with the HTML entity removed
*/
public function o2_unescape_lists( $text ) {
@@ -231,8 +258,9 @@ class WPCom_Markdown {
/**
* Preserve code blocks from being munged by KSES before they have a chance
- * @param string $text post content
- * @return string post content with code blocks escaped
+ *
+ * @param string $text post content.
+ * @return string post content with code blocks escaped.
*/
public function preserve_code_blocks( $text ) {
return $this->get_parser()->codeblock_preserve( $text );
@@ -240,28 +268,28 @@ class WPCom_Markdown {
/**
* Remove KSES if it's there. Store the result to manually invoke later if needed.
- * @return null
*/
public function maybe_remove_kses() {
- // Filters return true if they existed before you removed them
- if ( $this->is_posting_enabled() )
+ // Filters return true if they existed before you removed them.
+ if ( $this->is_posting_enabled() ) {
$this->kses = remove_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' ) && remove_filter( 'content_save_pre', 'wp_filter_post_kses' );
+ }
}
/**
* Add our Writing and Discussion settings.
- * @return null
*/
public function register_setting() {
add_settings_field( self::POST_OPTION, __( 'Markdown', 'jetpack' ), array( $this, 'post_field' ), 'writing' );
- register_setting( 'writing', self::POST_OPTION, array( $this, 'sanitize_setting') );
+ register_setting( 'writing', self::POST_OPTION, array( $this, 'sanitize_setting' ) );
add_settings_field( self::COMMENT_OPTION, __( 'Markdown', 'jetpack' ), array( $this, 'comment_field' ), 'discussion' );
- register_setting( 'discussion', self::COMMENT_OPTION, array( $this, 'sanitize_setting') );
+ register_setting( 'discussion', self::COMMENT_OPTION, array( $this, 'sanitize_setting' ) );
}
/**
* Sanitize setting. Don't really want to store "on" value, so we'll store "1" instead!
- * @param string $input Value received by settings API via $_POST
+ *
+ * @param string $input Value received by settings API via $_POST.
* @return bool Cast to boolean.
*/
public function sanitize_setting( $input ) {
@@ -270,13 +298,11 @@ class WPCom_Markdown {
/**
* Prints HTML for the Writing setting
- * @return null
*/
public function post_field() {
printf(
- '<label><input name="%s" id="%s" type="checkbox"%s /> %s</label><p class="description">%s</p>',
- self::POST_OPTION,
- self::POST_OPTION,
+ '<label><input name="%1$s" id="%1$s" type="checkbox"%2$s /> %3$s</label><p class="description">%4$s</p>',
+ esc_attr( self::POST_OPTION ),
checked( $this->is_posting_enabled(), true, false ),
esc_html__( 'Use Markdown for posts and pages.', 'jetpack' ),
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.', 'jetpack' ) )
@@ -285,13 +311,11 @@ class WPCom_Markdown {
/**
* Prints HTML for the Discussion setting
- * @return null
*/
public function comment_field() {
printf(
- '<label><input name="%s" id="%s" type="checkbox"%s /> %s</label><p class="description">%s</p>',
- self::COMMENT_OPTION,
- self::COMMENT_OPTION,
+ '<label><input name="%1$s" id="%1$s" type="checkbox"%2$s /> %3$s</label><p class="description">%4$s</p>',
+ esc_attr( self::COMMENT_OPTION ),
checked( $this->is_commenting_enabled(), true, false ),
esc_html__( 'Use Markdown for comments.', 'jetpack' ),
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.', 'jetpack' ) )
@@ -300,6 +324,7 @@ class WPCom_Markdown {
/**
* Get the support url for Markdown
+ *
* @uses apply_filters
* @return string support url
*/
@@ -318,6 +343,7 @@ class WPCom_Markdown {
/**
* Is Mardown conversion for posts enabled?
+ *
* @return boolean
*/
public function is_posting_enabled() {
@@ -326,6 +352,7 @@ class WPCom_Markdown {
/**
* Is Markdown conversion for comments enabled?
+ *
* @return boolean
*/
public function is_commenting_enabled() {
@@ -334,7 +361,8 @@ class WPCom_Markdown {
/**
* Check if a $post_id has Markdown enabled
- * @param int $post_id A post ID.
+ *
+ * @param int $post_id A post ID.
* @return boolean
*/
public function is_markdown( $post_id ) {
@@ -344,7 +372,8 @@ class WPCom_Markdown {
/**
* Set Markdown as enabled on a post_id. We skip over update_postmeta so we
* can sneakily set metadata on post revisions, which we need.
- * @param int $post_id A post ID.
+ *
+ * @param int $post_id A post ID.
* @return bool The metadata was successfully set.
*/
protected function set_as_markdown( $post_id ) {
@@ -354,13 +383,14 @@ class WPCom_Markdown {
/**
* Get our Markdown parser object, optionally requiring all of our needed classes and
* instantiating our parser.
+ *
* @return object WPCom_GHF_Markdown_Parser instance.
*/
public function get_parser() {
if ( ! self::$parser ) {
jetpack_require_lib( 'markdown' );
- self::$parser = new WPCom_GHF_Markdown_Parser;
+ self::$parser = new WPCom_GHF_Markdown_Parser();
}
return self::$parser;
@@ -368,7 +398,6 @@ class WPCom_Markdown {
/**
* We don't want Markdown conversion all over the place.
- * @return null
*/
public function add_default_post_type_support() {
add_post_type_support( 'post', self::POST_TYPE_SUPPORT );
@@ -378,24 +407,33 @@ class WPCom_Markdown {
/**
* Figure out the post type of the post screen we're on
+ *
+ * @deprecated since 10.8
* @return string Current post_type
*/
protected function get_post_screen_post_type() {
+ _deprecated_function( __METHOD__, 'jetpack-10.8', '' );
+
global $pagenow;
- if ( 'post-new.php' === $pagenow )
- return ( isset( $_GET['post_type'] ) ) ? $_GET['post_type'] : 'post';
- if ( isset( $_GET['post'] ) ) {
- $post = get_post( (int) $_GET['post'] );
- if ( is_object( $post ) && isset( $post->post_type ) )
- return $post->post_type;
+ $post_type = filter_input( INPUT_GET, 'post_type', FILTER_UNSAFE_RAW );
+ $post_id = filter_input( INPUT_GET, 'post', FILTER_SANITIZE_NUMBER_INT );
+
+ if ( 'post-new.php' === $pagenow ) {
+ return ! empty( $post_type ) ? $post_type : 'post';
+ }
+
+ if ( $post_id ) {
+ $post_type = get_post_type( $post_id );
}
- return 'post';
+
+ return ! empty( $post_type ) ? $post_type : 'post';
}
/**
* Swap post_content and post_content_filtered for editing
- * @param string $content Post content
- * @param int $id post ID
+ *
+ * @param string $content Post content.
+ * @param int $id post ID.
* @return string Swapped content
*/
public function edit_post_content( $content, $id ) {
@@ -411,16 +449,18 @@ class WPCom_Markdown {
/**
* Swap post_content_filtered and post_content for editing
- * @param string $content Post content_filtered
- * @param int $id post ID
+ *
+ * @param string $content Post content_filtered.
+ * @param int $id post ID.
* @return string Swapped content
*/
public function edit_post_content_filtered( $content, $id ) {
- // if markdown was disabled, let's turn this off
+ // if markdown was disabled, let's turn this off.
if ( ! $this->is_posting_enabled() && $this->is_markdown( $id ) ) {
$post = get_post( $id );
- if ( $post && ! empty( $post->post_content_filtered ) )
+ if ( $post && ! empty( $post->post_content_filtered ) ) {
$content = '';
+ }
}
return $content;
}
@@ -428,7 +468,8 @@ class WPCom_Markdown {
/**
* Some tags are allowed to have a 'markdown' attribute, allowing them to contain Markdown.
* We need to tell KSES about those tags.
- * @param array $tags List of tags that KSES allows.
+ *
+ * @param array $tags List of tags that KSES allows.
* @param string $context The context that KSES is allowing these tags.
* @return array The tags that KSES allows, with our extra 'markdown' parameter where necessary.
*/
@@ -441,7 +482,7 @@ class WPCom_Markdown {
foreach ( $tags as $tag => $attributes ) {
if ( preg_match( $re, $tag ) ) {
$attributes['markdown'] = true;
- $tags[ $tag ] = $attributes;
+ $tags[ $tag ] = $attributes;
}
}
@@ -454,7 +495,7 @@ class WPCom_Markdown {
* to the schema instead.
*/
public function after_wp_tiny_mce() {
-?>
+ ?>
<script type="text/javascript">
jQuery( function() {
( 'undefined' !== typeof tinymce ) && tinymce.on( 'AddEditor', function( event ) {
@@ -468,12 +509,13 @@ jQuery( function() {
}, true );
} );
</script>
-<?php
+ <?php
}
/**
* Magic happens here. Markdown is converted and stored on post_content. Original Markdown is stored
* in post_content_filtered so that we can continue editing as Markdown.
+ *
* @param array $post_data The post data that will be inserted into the DB. Slashed.
* @param array $postarr All the stuff that was in $_POST.
* @return array $post_data with post_content and post_content_filtered modified
@@ -494,8 +536,8 @@ jQuery( function() {
}
// rejigger post_content and post_content_filtered
// revisions are already in the right place, except when we're restoring, but that's taken care of elsewhere
- // also prevent quick edit feature from overriding already-saved markdown (issue https://github.com/Automattic/jetpack/issues/636)
- if ( 'revision' !== $post_data['post_type'] && ! isset( $_POST['_inline_edit'] ) ) {
+ // also prevent quick edit feature from overriding already-saved markdown (issue https://github.com/Automattic/jetpack/issues/636).
+ if ( 'revision' !== $post_data['post_type'] && ! isset( $_POST['_inline_edit'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
/**
* Filter the original post content passed to Markdown.
*
@@ -506,25 +548,27 @@ jQuery( function() {
* @param string $post_data['post_content'] Untransformed post content.
*/
$post_data['post_content_filtered'] = apply_filters( 'wpcom_untransformed_content', $post_data['post_content'] );
- $post_data['post_content'] = $this->transform( $post_data['post_content'], array( 'id' => $post_id ) );
+ $post_data['post_content'] = $this->transform( $post_data['post_content'], array( 'id' => $post_id ) );
/** This filter is already documented in core/wp-includes/default-filters.php */
$post_data['post_content'] = apply_filters( 'content_save_pre', $post_data['post_content'] );
} elseif ( 0 === strpos( $post_data['post_name'], $post_data['post_parent'] . '-autosave' ) ) {
- // autosaves for previews are weird
+ // autosaves for previews are weird.
/** This filter is already documented in modules/markdown/easy-markdown.php */
$post_data['post_content_filtered'] = apply_filters( 'wpcom_untransformed_content', $post_data['post_content'] );
- $post_data['post_content'] = $this->transform( $post_data['post_content'], array( 'id' => $post_data['post_parent'] ) );
+ $post_data['post_content'] = $this->transform( $post_data['post_content'], array( 'id' => $post_data['post_parent'] ) );
/** This filter is already documented in core/wp-includes/default-filters.php */
$post_data['post_content'] = apply_filters( 'content_save_pre', $post_data['post_content'] );
}
- // set as markdown on the wp_insert_post hook later
- if ( $post_id )
+ // set as markdown on the wp_insert_post hook later.
+ if ( $post_id ) {
$this->monitoring['post'][ $post_id ] = true;
- else
+ } else {
$this->monitoring['content'] = wp_unslash( $post_data['post_content'] );
- if ( 'revision' === $postarr['post_type'] && $this->is_markdown( $postarr['post_parent'] ) )
+ }
+ if ( 'revision' === $postarr['post_type'] && $this->is_markdown( $postarr['post_parent'] ) ) {
$this->monitoring['parent'][ $postarr['post_parent'] ] = true;
+ }
return $post_data;
}
@@ -532,43 +576,53 @@ jQuery( function() {
/**
* Calls on wp_insert_post action, after wp_insert_post_data. This way we can
* still set postmeta on our revisions after it's all been deleted.
- * @param int $post_id The post ID that has just been added/updated
- * @return null
+ *
+ * @param int $post_id The post ID that has just been added/updated.
*/
public function wp_insert_post( $post_id ) {
$post_parent = get_post_field( 'post_parent', $post_id );
// this didn't have an ID yet. Compare the content that was just saved.
- if ( isset( $this->monitoring['content'] ) && $this->monitoring['content'] === get_post_field( 'post_content', $post_id ) ) {
+ if ( isset( $this->monitoring['content'] ) && get_post_field( 'post_content', $post_id ) === $this->monitoring['content'] ) {
unset( $this->monitoring['content'] );
$this->set_as_markdown( $post_id );
}
- if ( isset( $this->monitoring['post'][$post_id] ) ) {
- unset( $this->monitoring['post'][$post_id] );
+ if ( isset( $this->monitoring['post'][ $post_id ] ) ) {
+ unset( $this->monitoring['post'][ $post_id ] );
$this->set_as_markdown( $post_id );
- } elseif ( isset( $this->monitoring['parent'][$post_parent] ) ) {
- unset( $this->monitoring['parent'][$post_parent] );
+ } elseif ( isset( $this->monitoring['parent'][ $post_parent ] ) ) {
+ unset( $this->monitoring['parent'][ $post_parent ] );
$this->set_as_markdown( $post_id );
}
}
/**
* Run a comment through Markdown. Easy peasy.
- * @param string $content
+ *
+ * @param string $content - the content.
* @return string
*/
public function pre_comment_content( $content ) {
- return $this->transform( $content, array(
- 'id' => $this->comment_hash( $content ),
- ) );
+ return $this->transform(
+ $content,
+ array(
+ 'id' => $this->comment_hash( $content ),
+ )
+ );
}
+ /**
+ * Return a comment hash.
+ *
+ * @param string $content - the content of the comment.
+ */
protected function comment_hash( $content ) {
return 'c-' . substr( md5( $content ), 0, 8 );
}
/**
* Markdown conversion. Some DRYness for repetitive tasks.
- * @param string $text Content to be run through Markdown
+ *
+ * @param string $text Content to be run through Markdown.
* @param array $args Arguments, with keys:
* id: provide a string to prefix footnotes with a unique identifier
* unslash: when true, expects and returns slashed data
@@ -583,14 +637,18 @@ jQuery( function() {
return $text;
}
- $args = wp_parse_args( $args, array(
- 'id' => false,
- 'unslash' => true,
- 'decode_code_blocks' => ! $this->get_parser()->use_code_shortcode
- ) );
- // probably need to unslash
- if ( $args['unslash'] )
+ $args = wp_parse_args(
+ $args,
+ array(
+ 'id' => false,
+ 'unslash' => true,
+ 'decode_code_blocks' => ! $this->get_parser()->use_code_shortcode,
+ )
+ );
+ // probably need to unslash.
+ if ( $args['unslash'] ) {
$text = wp_unslash( $text );
+ }
/**
* Filter the content to be run through Markdown, before it's transformed by Markdown.
@@ -603,13 +661,13 @@ jQuery( function() {
* @param array $args Array of Markdown options.
*/
$text = apply_filters( 'wpcom_markdown_transform_pre', $text, $args );
- // ensure our paragraphs are separated
+ // ensure our paragraphs are separated.
$text = str_replace( array( '</p><p>', "</p>\n<p>" ), "</p>\n\n<p>", $text );
// visual editor likes to add <p>s. Buh-bye.
$text = $this->get_parser()->unp( $text );
- // sometimes we get an encoded > at start of line, breaking blockquotes
+ // sometimes we get an encoded > at start of line, breaking blockquotes.
$text = preg_replace( '/^&gt;/m', '>', $text );
- // prefixes are because we need to namespace footnotes by post_id
+ // prefixes are because we need to namespace footnotes by post_id.
$this->get_parser()->fn_id_prefix = $args['id'] ? $args['id'] . '-' : '';
// If we're not using the code shortcode, prevent over-encoding.
if ( $args['decode_code_blocks'] ) {
@@ -617,8 +675,8 @@ jQuery( function() {
}
// Transform it!
$text = $this->get_parser()->transform( $text );
- // Fix footnotes - kses doesn't like the : IDs it supplies
- $text = preg_replace( '/((id|href)="#?fn(ref)?):/', "$1-", $text );
+ // Fix footnotes - kses doesn't like the : IDs it supplies.
+ $text = preg_replace( '/((id|href)="#?fn(ref)?):/', '$1-', $text );
// Markdown inserts extra spaces to make itself work. Buh-bye.
$text = rtrim( $text );
/**
@@ -633,9 +691,10 @@ jQuery( function() {
*/
$text = apply_filters( 'wpcom_markdown_transform_post', $text, $args );
- // probably need to re-slash
- if ( $args['unslash'] )
+ // probably need to re-slash.
+ if ( $args['unslash'] ) {
$text = wp_slash( $text );
+ }
return $text;
}
@@ -643,10 +702,10 @@ jQuery( function() {
/**
* Shows Markdown in the Revisions screen, and ensures that post_content_filtered
* is maintained on revisions
- * @param array $fields Post fields pertinent to revisions
- * @return array Modified array to include post_content_filtered
+ *
+ * @param array $fields Post fields pertinent to revisions.
*/
- public function _wp_post_revision_fields( $fields ) {
+ public function wp_post_revision_fields( $fields ) {
$fields['post_content_filtered'] = __( 'Markdown content', 'jetpack' );
return $fields;
}
@@ -654,18 +713,18 @@ jQuery( function() {
/**
* Do some song and dance to keep all post_content and post_content_filtered content
* in the expected place when a post revision is restored.
- * @param int $post_id The post ID have a restore done to it
- * @param int $revision_id The revision ID being restored
- * @return null
+ *
+ * @param int $post_id The post ID have a restore done to it.
+ * @param int $revision_id The revision ID being restored.
*/
public function wp_restore_post_revision( $post_id, $revision_id ) {
if ( $this->is_markdown( $revision_id ) ) {
- $revision = get_post( $revision_id, ARRAY_A );
- $post = get_post( $post_id, ARRAY_A );
- $post['post_content'] = $revision['post_content_filtered']; // Yes, we put it in post_content, because our wp_insert_post_data() expects that
- // set this flag so we can restore the post_content_filtered on the last revision later
+ $revision = get_post( $revision_id, ARRAY_A );
+ $post = get_post( $post_id, ARRAY_A );
+ $post['post_content'] = $revision['post_content_filtered']; // Yes, we put it in post_content, because our wp_insert_post_data() expects that.
+ // set this flag so we can restore the post_content_filtered on the last revision later.
$this->monitoring['restore'] = true;
- // let's not make a revision of our fixing update
+ // let's not make a revision of our fixing update.
add_filter( 'wp_revisions_to_keep', '__return_false', 99 );
wp_update_post( $post );
$this->fix_latest_revision_on_restore( $post_id );
@@ -676,13 +735,13 @@ jQuery( function() {
/**
* We need to ensure the last revision has Markdown, not HTML in its post_content_filtered
* column after a restore.
+ *
* @param int $post_id The post ID that was just restored.
- * @return null
*/
protected function fix_latest_revision_on_restore( $post_id ) {
global $wpdb;
- $post = get_post( $post_id );
- $last_revision = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE post_type = 'revision' AND post_parent = %d ORDER BY ID DESC", $post->ID ) );
+ $post = get_post( $post_id );
+ $last_revision = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE post_type = 'revision' AND post_parent = %d ORDER BY ID DESC", $post->ID ) );
$last_revision->post_content_filtered = $post->post_content_filtered;
wp_insert_post( (array) $last_revision );
}
@@ -690,8 +749,8 @@ jQuery( function() {
/**
* Kicks off magic for an XML-RPC session. We want to keep editing Markdown
* and publishing HTML.
- * @param string $xmlrpc_method The current XML-RPC method
- * @return null
+ *
+ * @param string $xmlrpc_method The current XML-RPC method.
*/
public function xmlrpc_actions( $xmlrpc_method ) {
switch ( $xmlrpc_method ) {
@@ -707,20 +766,21 @@ jQuery( function() {
}
/**
- * metaWeblog.getPost and wp.getPage fire xmlrpc_call action *after* get_post() is called.
+ * Function metaWeblog.getPost and wp.getPage fire xmlrpc_call action *after* get_post() is called.
* So, we have to detect those methods and prime the post cache early.
+ *
* @return null
*/
protected function check_for_early_methods() {
- $raw_post_data = file_get_contents( "php://input" );
+ $raw_post_data = file_get_contents( 'php://input' );
if ( false === strpos( $raw_post_data, 'metaWeblog.getPost' )
&& false === strpos( $raw_post_data, 'wp.getPage' ) ) {
return;
}
- include_once( ABSPATH . WPINC . '/class-IXR.php' );
+ include_once ABSPATH . WPINC . '/class-IXR.php';
$message = new IXR_Message( $raw_post_data );
$message->parse();
- $post_id_position = 'metaWeblog.getPost' === $message->methodName ? 0 : 1;
+ $post_id_position = 'metaWeblog.getPost' === $message->methodName ? 0 : 1; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
$this->prime_post_cache( $message->params[ $post_id_position ] );
}
@@ -728,7 +788,7 @@ jQuery( function() {
* Prime the post cache with swapped post_content. This is a sneaky way of getting around
* the fact that there are no good hooks to call on the *.getPost xmlrpc methods.
*
- * @return null
+ * @param bool $post_id - the post ID that we're priming.
*/
private function prime_post_cache( $post_id = false ) {
global $wp_xmlrpc_server;
@@ -736,7 +796,7 @@ jQuery( function() {
$post_id = $wp_xmlrpc_server->message->params[3];
}
- // prime the post cache
+ // prime the post cache.
if ( $this->is_markdown( $post_id ) ) {
$post = get_post( $post_id );
if ( ! empty( $post->post_content_filtered ) ) {
@@ -746,7 +806,7 @@ jQuery( function() {
$this->posts_to_uncache[] = $post_id;
}
}
- // uncache munged posts if using a persistent object cache
+ // uncache munged posts if using a persistent object cache.
if ( wp_using_ext_object_cache() ) {
add_action( 'shutdown', array( $this, 'uncache_munged_posts' ) );
}
@@ -754,29 +814,28 @@ jQuery( function() {
/**
* Swaps `post_content_filtered` back to `post_content` for editing purposes.
- * @param object $post WP_Post object
- * @return object WP_Post object with swapped `post_content_filtered` and `post_content`
+ *
+ * @param object $post WP_Post object.
+ * @return object WP_Post object with swapped `post_content_filtered` and `post_content`.
*/
protected function swap_for_editing( $post ) {
$markdown = $post->post_content_filtered;
- // unencode encoded code blocks
+ // unencode encoded code blocks.
$markdown = $this->get_parser()->codeblock_restore( $markdown );
- // restore beginning of line blockquotes
- $markdown = preg_replace( '/^&gt; /m', '> ', $markdown );
+ // restore beginning of line blockquotes.
+ $markdown = preg_replace( '/^&gt; /m', '> ', $markdown );
$post->post_content_filtered = $post->post_content;
- $post->post_content = $markdown;
+ $post->post_content = $markdown;
return $post;
}
-
/**
* We munge the post cache to serve proper markdown content to XML-RPC clients.
* Uncache these after the XML-RPC session ends.
- * @return null
*/
public function uncache_munged_posts() {
// $this context gets lost in testing sometimes. Weird.
- foreach( WPCom_Markdown::get_instance()->posts_to_uncache as $post_id ) {
+ foreach ( self::get_instance()->posts_to_uncache as $post_id ) {
wp_cache_delete( $post_id, 'posts' );
}
}
@@ -784,8 +843,8 @@ jQuery( function() {
/**
* Since *.(get)?[Rr]ecentPosts calls get_posts with suppress filters on, we need to
* turn them back on so that we can swap things for editing.
- * @param object $wp_query WP_Query object
- * @return null
+ *
+ * @param object $wp_query WP_Query object.
*/
public function make_filterable( $wp_query ) {
$wp_query->set( 'suppress_filters', false );
@@ -794,16 +853,16 @@ jQuery( function() {
/**
* Swaps post_content and post_content_filtered for editing.
- * @param array $posts Posts returned by the just-completed query
- * @param object $wp_query Current WP_Query object
- * @return array Modified $posts
+ *
+ * @param array $posts Posts returned by the just-completed query.
+ * @return array Modified $posts
*/
- public function the_posts( $posts, $wp_query ) {
+ public function the_posts( $posts ) {
foreach ( $posts as $key => $post ) {
if ( $this->is_markdown( $post->ID ) && ! empty( $posts[ $key ]->post_content_filtered ) ) {
- $markdown = $posts[ $key ]->post_content_filtered;
+ $markdown = $posts[ $key ]->post_content_filtered;
$posts[ $key ]->post_content_filtered = $posts[ $key ]->post_content;
- $posts[ $key ]->post_content = $markdown;
+ $posts[ $key ]->post_content = $markdown;
}
}
return $posts;
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.css b/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.css
index 854a83b1..494ccf0f 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.css
+++ b/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.css
@@ -1,6 +1,5 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
#adminmenu {
- margin: 0;
+ margin: 0;
}
/**
@@ -8,64 +7,63 @@
*/
#wpcontent,
#wpfooter {
- margin-right: 272px;
+ margin-right: 272px;
}
#adminmenuback,
#adminmenuwrap,
#adminmenu,
#adminmenu .wp-submenu {
- width: 272px;
+ width: 272px;
}
#adminmenu .wp-submenu {
- right: 272px;
+ right: 272px;
}
#adminmenu .wp-not-current-submenu .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
- min-width: 272px;
+ min-width: 272px;
}
/**
* Fixes Gutenberg in not fullscreen mode.
*/
- @media (min-width: 783px) {
- .interface-interface-skeleton,
- .edit-post-layout .components-editor-notices__snackbar {
- right: 272px;
- }
+@media (min-width: 783px) {
+ .interface-interface-skeleton,
+.edit-post-layout .components-editor-notices__snackbar {
+ right: 272px;
+ }
}
-
@media (min-width: 961px) {
- .auto-fold .interface-interface-skeleton,
- .auto-fold .edit-post-layout .components-editor-notices__snackbar,
- .jp-dialogue-modern-full__container {
- right: 272px;
- }
+ .auto-fold .interface-interface-skeleton,
+.auto-fold .edit-post-layout .components-editor-notices__snackbar,
+.jp-dialogue-modern-full__container {
+ right: 272px;
+ }
- .global-notices {
- max-width: calc( 100% - 48px - 272px );
- }
+ .global-notices {
+ max-width: calc( 100% - 48px - 272px );
+ }
}
-
/**
* Jetpack logo
*/
-#adminmenu [class*="activity-log"] .wp-menu-image img {
- padding-top: 7px;
+#adminmenu [class*=activity-log] .wp-menu-image img {
+ padding-top: 7px;
}
/**
* Site Card
*/
#adminmenu .toplevel_page_site-card .wp-menu-name {
- margin-right: 40px; /* icon width (32) + padding (8). */
- padding: 0;
+ margin-right: 40px;
+ /* icon width (32) + padding (8). */
+ padding: 0;
}
#adminmenu li.toplevel_page_site-card a {
- padding: 10px 8px 10px 0;
+ padding: 10px 8px 10px 0;
}
/**
@@ -75,416 +73,448 @@
#adminmenu a.toplevel_page_site-notices:focus,
#adminmenu li.toplevel_page_site-notices:hover,
#adminmenu li.toplevel_page_site-notices:focus {
- background-color: inherit !important;
- color: inherit !important;
+ background-color: inherit !important;
+ color: inherit !important;
}
#adminmenu li.toplevel_page_site-notices .wp-menu-image {
- display: none;
+ display: none;
}
#adminmenu .toplevel_page_site-notices .wp-menu-image {
- border-radius: 2px;
- background-color: #fff;
+ border-radius: 2px;
+ background-color: #fff;
}
#adminmenu .toplevel_page_site-notices .wp-menu-image:before {
- content: '\f534';
- font-family: 'dashicons';
- font-size: 20px;
- line-height: 20px;
- background-color: #a7aaad;
- color: white;
- border-radius: 50%;
- margin: 5px;
- padding: 0;
+ content: "\f534";
+ font-family: "dashicons";
+ font-size: 20px;
+ line-height: 20px;
+ background-color: #a7aaad;
+ color: white;
+ border-radius: 50%;
+ margin: 5px;
+ padding: 0;
}
#adminmenu .toplevel_page_site-notices:hover .wp-menu-image:before {
- color: #fff;
+ color: #fff;
}
#adminmenu .toplevel_page_site-notices .upsell_banner {
- display: flex;
- flex-grow: 1;
- flex-wrap: nowrap;
- align-items: center;
- justify-content: space-between;
- position: relative;
- width: 100%;
- padding: 7px 12px;
- right: -28px;
- border-radius: 2px;
- font-size: 12px;
- line-height: 1.4;
- -webkit-hyphens: none;
- hyphens: none;
+ display: flex;
+ flex-grow: 1;
+ flex-wrap: nowrap;
+ align-items: center;
+ justify-content: space-between;
+ position: relative;
+ width: 100%;
+ padding: 7px 12px;
+ right: -28px;
+ border-radius: 2px;
+ font-size: 12px;
+ line-height: 1.4;
+ -webkit-hyphens: none;
+ hyphens: none;
}
#adminmenu .toplevel_page_site-notices .upsell_banner .banner__info {
- margin-left: 12px;
+ margin-left: 12px;
}
#adminmenu .toplevel_page_site-notices .upsell_banner .button {
- font-size: 12px;
- line-height: 12px;
- padding: 0 7px;
- border: 0;
- min-height: 26px;
+ font-size: 12px;
+ line-height: 12px;
+ padding: 0 7px;
+ border: 0;
+ min-height: 26px;
}
#adminmenu .toplevel_page_site-notices .upsell_banner svg.dismissible-card__close-icon {
- height: 24px;
- width: 24px;
- margin-right: 10px;
+ height: 24px;
+ width: 24px;
+ margin-right: 10px;
}
@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 {
- height: 50px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
+ .folded #adminmenu .toplevel_page_site-notices .wp-menu-image {
+ display: block;
+ width: 30px;
+ }
+
+ .folded #adminmenu .toplevel_page_site-notices {
+ height: 50px;
+ display: flex;
+ align-items: center;
+ 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 {
- height: 50px;
- display: flex;
- align-items: center;
- 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 {
+ height: 50px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
}
-
/* Prevent box-shadow at the top of the sidebar */
#adminmenu .site-switcher:hover,
#adminmenu .toplevel_page_site-card:hover,
#adminmenu .toplevel_page_site-notices:hover {
- box-shadow: none;
+ box-shadow: none;
}
/**
* Site icon inline-styles for height and width are defined in set_site_icon_inline_styles
*/
#adminmenu .toplevel_page_site-card .wp-menu-image {
- background-image: none;
- background-position: center;
- background-repeat: no-repeat;
- background-size: 18px 18px;
- transform: translateZ(0);
- transition-property: background-image,background-color;
- transition-duration: .2s;
+ background-image: none;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: 18px 18px;
+ transform: translateZ(0);
+ transition-property: background-image, background-color;
+ transition-duration: 0.2s;
}
#adminmenu a.toplevel_page_site-card:hover,
#adminmenu li.toplevel_page_site-card:hover {
- background-color: inherit;
+ background-color: inherit;
}
#adminmenu .toplevel_page_site-card img {
- opacity: initial;
+ opacity: initial;
}
#adminmenu .toplevel_page_site-card.has-site-icon img {
- padding: 0;
+ padding: 0;
}
#adminmenu .toplevel_page_site-card:hover div.wp-menu-image,
#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image {
- background-image: url("data:image/svg+xml,%3Csvg class='gridicon gridicons-house' height='24' width='24' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg%3E%3Cpath fill='%23fff' d='M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z'/%3E%3C/g%3E%3C/svg%3E%0A");
+ background-image: url("data:image/svg+xml,%3Csvg class=%27gridicon gridicons-house%27 height=%2724%27 width=%2724%27 xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cg%3E%3Cpath fill=%27%23fff%27 d=%27M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z%27/%3E%3C/g%3E%3C/svg%3E%0A");
}
#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image {
- background-color: #c3c4c7;
+ background-color: #c3c4c7;
}
#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image img[src^="data:image/svg"] {
- height: auto;
- padding-top: 7px;
- width: 18px;
+ height: auto;
+ padding-top: 7px;
+ width: 18px;
}
#adminmenu .toplevel_page_site-card:hover div.wp-menu-image img,
#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image img {
- display: none;
+ display: none;
}
.site__info .site__title {
- display: block;
- font-size: 14px;
- font-weight: 400;
- line-height: 1.3;
+ display: block;
+ font-size: 14px;
+ font-weight: 400;
+ line-height: 1.3;
}
.site__info .site__domain {
- display: block;
- max-width: 95%;
- font-size: 12px;
- line-height: 1.4;
- margin-top: 2px;
+ display: block;
+ max-width: 95%;
+ font-size: 12px;
+ line-height: 1.4;
+ margin-top: 2px;
}
.site__info .site__title,
.site__info .site__domain {
- overflow: hidden;
- white-space: nowrap;
+ overflow: hidden;
+ white-space: nowrap;
}
+
.site__info .site__title::after,
.site__info .site__domain::after {
- content: "";
- display: block;
- position: absolute;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- user-select: none;
- pointer-events: none;
- top: 0;
- bottom: 0;
- left: 0;
- right: auto;
- width: 20%;
- height: auto;
+ content: "";
+ display: block;
+ position: absolute;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ user-select: none;
+ pointer-events: none;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: auto;
+ width: 20%;
+ height: auto;
}
.site__info > .site__badge {
- font-size: 12px;
- border-radius: 12px;
- clear: both;
- display: inline-block;
- margin-top: 6px;
- margin-left: 3px;
- padding: 1px 10px;
+ font-size: 12px;
+ border-radius: 12px;
+ clear: both;
+ display: inline-block;
+ margin-top: 6px;
+ margin-left: 3px;
+ padding: 1px 10px;
}
/**
* Inline text in a menu title
*/
.inline-text {
- display: block !important;
- position: absolute;
- left: 20px;
- top: 50%;
- transform: translateY( -50% );
- opacity: 0.8;
+ display: block !important;
+ position: absolute;
+ left: 20px;
+ top: 50%;
+ transform: translateY(-50%);
+ opacity: 0.8;
}
/**
* Stats
*/
[class*="toplevel_page_https://wordpress.com/stats/day"] .sidebar-unified__sparkline {
- float: left;
- margin-left: 8px;
+ float: left;
+ margin-left: 8px;
}
/**
* Folded State
*/
.folded #adminmenu a.menu-top {
- height: 31px;
+ height: 31px;
}
.folded #adminmenu li.toplevel_page_site-card a {
- padding-right: 0;
+ padding-right: 0;
}
/* Auto-folding of the admin menu */
@media only screen and (max-width: 960px) {
- #adminmenu,
- #adminmenuwrap,
- #adminmenuback {
- width: 272px;
- }
+ #adminmenu,
+#adminmenuwrap,
+#adminmenuback {
+ width: 272px;
+ }
- .auto-fold #adminmenu a[class*="toplevel_page_http"].wp-first-item {
- height: auto;
- }
+ .auto-fold #adminmenu a[class*=toplevel_page_http].wp-first-item {
+ height: auto;
+ }
- .wp-responsive-open #adminmenu a.menu-top {
- height: auto;
- }
+ .wp-responsive-open #adminmenu a.menu-top {
+ height: auto;
+ }
- .auto-fold #adminmenu div.wp-menu-image {
- width: 36px;
- }
+ .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 a.menu-top {
+ height: 34px;
+ }
- .auto-fold #adminmenu li.toplevel_page_site-card a {
- height: 36px;
- padding-right: 1px;
- }
+ .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;
- }
+ #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 #wpbody {
+ left: inherit;
+ }
- .wp-responsive-open #wpcontent {
- margin-right: 272px;
- }
+ .wp-responsive-open #wpcontent {
+ margin-right: 272px;
+ }
- .auto-fold #adminmenu, .auto-fold #adminmenuback, .auto-fold #adminmenuwrap {
- width: 272px;
- }
+ .auto-fold #adminmenu, .auto-fold #adminmenuback, .auto-fold #adminmenuwrap {
+ width: 272px;
+ }
- .auto-fold #adminmenu a.site-switcher,
- #adminmenu a.site-switcher {
- font-size: 14px;
- }
+ .auto-fold #adminmenu a.site-switcher,
+#adminmenu a.site-switcher {
+ font-size: 14px;
+ }
}
-
@media only screen and (max-width: 660px) {
- #adminmenuback,
- #adminmenuwrap,
- #adminmenu,
- #adminmenu .wp-submenu,
- .auto-fold #adminmenu,
- .auto-fold #adminmenuback,
- .auto-fold #adminmenuwrap {
- width: 100%;
- z-index: 171;
- }
-
- .wp-responsive-open #wpcontent {
- margin-right: 0;
- }
-
- ul#adminmenu a.wp-has-current-submenu:after,
- ul#adminmenu>li.current>a.current:after,
- ul#adminmenu li:hover a.wp-has-current-submenu:after,
- .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
- display: none;
- }
-
- .auto-fold #adminmenu li.toplevel_page_site-card a {
- padding: 18px 12px 18px 0;
- }
+ #adminmenuback,
+#adminmenuwrap,
+#adminmenu,
+#adminmenu .wp-submenu,
+.auto-fold #adminmenu,
+.auto-fold #adminmenuback,
+.auto-fold #adminmenuwrap {
+ width: 100%;
+ z-index: 171;
+ }
+
+ .wp-responsive-open #wpcontent {
+ margin-right: 0;
+ }
+
+ ul#adminmenu a.wp-has-current-submenu:after,
+ul#adminmenu > li.current > a.current:after,
+ul#adminmenu li:hover a.wp-has-current-submenu:after,
+.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
+ display: none;
+ }
+
+ .auto-fold #adminmenu li.toplevel_page_site-card a {
+ padding: 18px 12px 18px 0;
+ }
}
-
/*
* Styles for the nav-unification prototype (see pbAPfg-O2)
* TODO: depending on project outcome move or delete styles
*/
#wpadminbar #wp-admin-bar-notes #wpnt-notes-unread-count.wpn-unread {
- top: 50%;
- right: 50%;
- transform: translate( 10px, -13px );
-
+ top: 50%;
+ right: 50%;
+ transform: translate(10px, -13px);
}
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar {
- transform: translateX( -1px );
+ transform: translateX(-1px);
}
#wpadminbar #wp-admin-bar-notes.active .noticon-bell:before {
- background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cmVjdCB4PSIwIiBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48Zz48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNNi4xNCAxNC45N2wyLjgyOCAyLjgyN2MtLjM2Mi4zNjItLjg2Mi41ODYtMS40MTQuNTg2LTEuMTA1IDAtMi0uODk1LTItMiAwLS41NTIuMjI0LTEuMDUyLjU4Ni0xLjQxNHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRjMi4zNC0yLjM0IDYuMTM1LTIuMzQgOC40NzUgMHMyLjM0IDYuMTM1IDAgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L2c+PC9zdmc+") !important;
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cmVjdCB4PSIwIiBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48Zz48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNNi4xNCAxNC45N2wyLjgyOCAyLjgyN2MtLjM2Mi4zNjItLjg2Mi41ODYtMS40MTQuNTg2LTEuMTA1IDAtMi0uODk1LTItMiAwLS41NTIuMjI0LTEuMDUyLjU4Ni0xLjQxNHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRjMi4zNC0yLjM0IDYuMTM1LTIuMzQgOC40NzUgMHMyLjM0IDYuMTM1IDAgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L2c+PC9zdmc+) !important;
}
#wpadminbar > #wp-toolbar .wpnt-show span.noticon,
#wpadminbar #wp-admin-bar-notes.wpnt-show .noticon {
- color: #ffffff;
+ color: #ffffff;
}
#wpadminbar .quicklinks ul#wp-admin-bar-root-default {
- padding-right: 0 !important;
+ padding-right: 0 !important;
}
#wpadminbar #wp-admin-bar-menu-toggle {
- display: none;
+ display: none;
}
@media screen and (max-width: 782px) {
- #wpadminbar #wp-toolbar > ul > li {
- display: block;
- }
-
- #wpadminbar .ab-top-menu > li > .ab-item {
- box-sizing: border-box;
- line-height: 32px;
- }
-
- #wpadminbar #wp-admin-bar-ab-new-post > .ab-item {
- box-sizing: inherit !important;
- }
-
- #wpadminbar #wp-admin-bar-my-account > .ab-item {
- padding: 7px 15px;
- width: auto;
- }
-
- #wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
- display: block;
- left: auto;
- right: auto;
- position: static;
- margin-top: 3px;
- top: 13px;
- }
-
- /* Hide debug bar. */
- #wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-debug-bar {
- display: none;
- }
+ #wpadminbar #wp-toolbar > ul > li {
+ display: block;
+ }
+
+ #wpadminbar .ab-top-menu > li > .ab-item {
+ box-sizing: border-box;
+ line-height: 32px;
+ }
+
+ #wpadminbar #wp-admin-bar-ab-new-post > .ab-item {
+ box-sizing: inherit !important;
+ }
+
+ #wpadminbar #wp-admin-bar-my-account > .ab-item {
+ padding: 7px 15px;
+ width: auto;
+ }
+
+ #wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
+ display: block;
+ left: auto;
+ right: auto;
+ position: static;
+ margin-top: 3px;
+ top: 13px;
+ }
+
+ /* Hide debug bar. */
+ #wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-debug-bar {
+ display: none;
+ }
+}
+@media screen and (max-width: 480px) {
+ #wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar > a {
+ width: auto;
+ }
+
+ #wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
+ margin-top: 12px;
+ }
+}
+/* Dashboard Switcher */
+#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 #0000001a;
+ padding: 3px;
+ position: absolute;
+ left: 20px;
+ top: 37px;
+ width: 215px;
+ z-index: 9999;
}
-@media screen and (max-width: 480px) {
- #wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar > a {
- width: auto;
- }
-
- #wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
- margin-top: 12px;
- }
+@media screen and (max-width: 782px) {
+ .screen-options-tab__dropdown {
+ left: 10px;
+ top: 47px;
+ }
}
-
-/* Fixes the order of screen options,
- * showing the dashboard switcher button always first.
-*/
-#adv-settings {
- display: flex;
- flex-direction: column;
+@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);
}
-/* Switcher should always be in the top */
-#adv-settings #dashboard-switcher {
- order: 0;
+.screen-switcher__button, a.screen-switcher__button {
+ background: transparent;
+ border: 1px solid #0000;
+ border-radius: 4px;
+ color: var(--color-text);
+ cursor: pointer;
+ display: inline-block;
+ font-size: 0.75rem;
+ line-height: normal;
+ text-decoration: none;
+ padding: 8px;
+ text-align: right;
}
-#adv-settings .dashboard-switcher-text {
- margin-top: 0;
+.screen-switcher__button:nth-child(2), a.screen-switcher__button:nth-child(2) {
+ border-color: var(--wp-admin-theme-color);
+ margin-bottom: 4px;
}
-#adv-settings .dashboard-switcher-button {
- padding: 3px 16px;
+.screen-switcher__button:last-child, a.screen-switcher__button:last-child {
+ margin-bottom: 0;
}
-/* Core registered options should be after the switcher */
-#adv-settings fieldset {
- order: 1;
+.screen-switcher__button strong, a.screen-switcher__button strong {
+ display: block;
+ font-size: 13px;
+ margin-bottom: 4px;
}
-/* Submit button should always be in the bottom */
-#adv-settings .submit {
- order: 2;
+.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);
}
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.min.css b/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.min.css
index 63bf1689..1dfbe353 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.min.css
+++ b/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,.auto-fold .interface-interface-skeleton,.jp-dialogue-modern-full__container{right:272px}.global-notices{max-width:calc(100% - 48px - 272px)}}#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{border-radius:2px;background-color:#fff}#adminmenu .toplevel_page_site-notices .wp-menu-image:before{content:'\f534';font-family:dashicons;font-size:20px;line-height:20px;background-color:#a7aaad;color:#fff;border-radius:50%;margin:5px;padding:0}#adminmenu .toplevel_page_site-notices:hover .wp-menu-image:before{color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner{display:flex;flex-grow:1;flex-wrap:nowrap;align-items:center;justify-content:space-between;position:relative;width:100%;padding:7px 12px;right:-28px;border-radius:2px;font-size:12px;line-height:1.4;-webkit-hyphens:none;hyphens:none}#adminmenu .toplevel_page_site-notices .upsell_banner .banner__info{margin-left:12px}#adminmenu .toplevel_page_site-notices .upsell_banner .button{font-size:12px;line-height:12px;padding:0 7px;border:0;min-height:26px}#adminmenu .toplevel_page_site-notices .upsell_banner svg.dismissible-card__close-icon{height:24px;width:24px;margin-right:10px}@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{height:50px;display:flex;align-items:center;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{height:50px;display:flex;align-items:center;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:center;background-repeat:no-repeat;background-size:18px 18px;transform:translateZ(0);transition-property:background-image,background-color;transition-duration:.2s}#adminmenu a.toplevel_page_site-card:hover,#adminmenu li.toplevel_page_site-card:hover{background-color:inherit}#adminmenu .toplevel_page_site-card img{opacity:initial}#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,%3Csvg class='gridicon gridicons-house' height='24' width='24' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg%3E%3Cpath fill='%23fff' d='M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z'/%3E%3C/g%3E%3C/svg%3E%0A")}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image{background-color:#c3c4c7}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image img[src^="data:image/svg"]{height:auto;padding-top: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;max-width:95%;font-size:12px;line-height:1.4;margin-top:2px}.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;-webkit-user-select:none;user-select:none;pointer-events:none;top:0;bottom:0;left:0;right:auto;width:20%;height:auto}.site__info>.site__badge{font-size:12px;border-radius:12px;clear:both;display:inline-block;margin-top:6px;margin-left:3px;padding:1px 10px}.inline-text{display:block!important;position:absolute;left:20px;top:50%;transform:translateY(-50%);opacity:.8}[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{height:auto}.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}}#wpadminbar #wp-admin-bar-notes #wpnt-notes-unread-count.wpn-unread{top:50%;right:50%;transform:translate(10px,-13px)}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar{transform:translateX(-1px)}#wpadminbar #wp-admin-bar-notes.active .noticon-bell:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cmVjdCB4PSIwIiBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48Zz48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNNi4xNCAxNC45N2wyLjgyOCAyLjgyN2MtLjM2Mi4zNjItLjg2Mi41ODYtMS40MTQuNTg2LTEuMTA1IDAtMi0uODk1LTItMiAwLS41NTIuMjI0LTEuMDUyLjU4Ni0xLjQxNHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRjMi4zNC0yLjM0IDYuMTM1LTIuMzQgOC40NzUgMHMyLjM0IDYuMTM1IDAgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L2c+PC9zdmc+)!important}#wpadminbar #wp-admin-bar-notes.wpnt-show .noticon,#wpadminbar>#wp-toolbar .wpnt-show span.noticon{color:#fff}#wpadminbar .quicklinks ul#wp-admin-bar-root-default{padding-right:0!important}#wpadminbar #wp-admin-bar-menu-toggle{display:none}@media screen and (max-width:782px){#wpadminbar #wp-toolbar>ul>li{display:block}#wpadminbar .ab-top-menu>li>.ab-item{box-sizing:border-box;line-height:32px}#wpadminbar #wp-admin-bar-ab-new-post>.ab-item{box-sizing:inherit!important}#wpadminbar #wp-admin-bar-my-account>.ab-item{padding:7px 15px;width:auto}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a img{display:block;left:auto;right:auto;position:static;margin-top:3px;top:13px}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-debug-bar{display:none}}@media screen and (max-width:480px){#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a{width:auto}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a img{margin-top:12px}}#adv-settings{display:flex;flex-direction:column}#adv-settings #dashboard-switcher{order:0}#adv-settings .dashboard-switcher-text{margin-top:0}#adv-settings .dashboard-switcher-button{padding:3px 16px}#adv-settings fieldset{order:1}#adv-settings .submit{order:2} \ 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,.auto-fold .interface-interface-skeleton,.jp-dialogue-modern-full__container{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 class='gridicon gridicons-house' height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M22 9 12 1 2 9v2h2v10h5v-4a3 3 0 1 1 6 0v4h5V11h2V9z'/%3E%3C/svg%3E")}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image{background-color:#c3c4c7}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image img[src^="data:image/svg"]{height:auto;padding-top: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{-webkit-touch-callout:none;bottom:0;content:"";display:block;height:auto;left:0;pointer-events:none;position:absolute;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}.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}}#wpadminbar #wp-admin-bar-notes #wpnt-notes-unread-count.wpn-unread{right:50%;top:50%;transform:translate(10px,-13px)}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar{transform:translateX(-1px)}#wpadminbar #wp-admin-bar-notes.active .noticon-bell:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgweiIvPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im02LjE0IDE0Ljk3IDIuODI4IDIuODI3YTIgMiAwIDEgMS0yLjgyOC0yLjgyOHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRhNS45OTMgNS45OTMgMCAwIDEgOC40NzUgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L3N2Zz4=)!important}#wpadminbar #wp-admin-bar-notes.wpnt-show .noticon,#wpadminbar>#wp-toolbar .wpnt-show span.noticon{color:#fff}#wpadminbar .quicklinks ul#wp-admin-bar-root-default{padding-right:0!important}#wpadminbar #wp-admin-bar-menu-toggle{display:none}@media screen and (max-width:782px){#wpadminbar #wp-toolbar>ul>li{display:block}#wpadminbar .ab-top-menu>li>.ab-item{box-sizing:border-box;line-height:32px}#wpadminbar #wp-admin-bar-ab-new-post>.ab-item{box-sizing:inherit!important}#wpadminbar #wp-admin-bar-my-account>.ab-item{padding:7px 15px;width:auto}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a img{display:block;left:auto;margin-top:3px;position:static;right:auto;top:13px}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-debug-bar{display:none}}@media screen and (max-width:480px){#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a{width:auto}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a img{margin-top:12px}}#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 #0000001a;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:transparent;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)} \ No newline at end of file
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.css b/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.css
index 92b762cb..72ddaf39 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.css
+++ b/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.css
@@ -456,33 +456,75 @@
}
}
-/* Fixes the order of screen options,
- * showing the dashboard switcher button always first.
-*/
-#adv-settings {
- display: flex;
- flex-direction: column;
+/* Dashboard Switcher */
+#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 #0000001a;
+ 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;
+ }
}
-/* Switcher should always be in the top */
-#adv-settings #dashboard-switcher {
- order: 0;
+@media screen and (max-width: 600px) {
+ .screen-options-tab__dropdown {
+ top: 93px;
+ }
}
-#adv-settings .dashboard-switcher-text {
- margin-top: 0;
+.screen-switcher:not(:hover) .screen-switcher__button:nth-child(2) > strong {
+ color:var(--wp-admin-theme-color)
}
-#adv-settings .dashboard-switcher-button {
- padding: 3px 16px;
+.screen-switcher__button, a.screen-switcher__button {
+ background: transparent;
+ border: 1px solid #0000;
+ border-radius: 4px;
+ color: var(--color-text);
+ cursor: pointer;
+ display: inline-block;
+ font-size: .75rem;
+ line-height: normal;
+ text-decoration: none;
+ padding: 8px;
+ text-align:left
}
-/* Core registered options should be after the switcher */
-#adv-settings fieldset {
- order: 1;
+.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
}
-/* Submit button should always be in the bottom */
-#adv-settings .submit {
- order: 2;
+.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)
}
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.js b/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.js
index ce385913..59f8764b 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.js
+++ b/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.js
@@ -5,6 +5,7 @@
var adminbar = document.querySelector( '#wpadminbar' );
var wpwrap = document.querySelector( '#wpwrap' );
var adminMenu = document.querySelector( '#adminmenu' );
+ var dismissClass = 'dismissible-card__close-icon';
if ( ! adminbar ) {
return;
@@ -59,9 +60,11 @@
} );
}
- const jitmDismissButton = adminMenu.querySelector( '.dismissible-card__close-icon' );
- if ( jitmDismissButton ) {
- jitmDismissButton.addEventListener( 'click', function ( event ) {
+ adminMenu.addEventListener( 'click', function ( event ) {
+ if (
+ event.target.classList.contains( dismissClass ) ||
+ event.target.closest( '.' + dismissClass )
+ ) {
event.preventDefault();
const siteNotice = document.getElementById( 'toplevel_page_site-notices' );
@@ -69,6 +72,8 @@
siteNotice.style.display = 'none';
}
+ const jitmDismissButton = event.target;
+
makeAjaxRequest(
'POST',
ajaxurl,
@@ -81,12 +86,32 @@
'&_ajax_nonce=' +
jetpackAdminMenu.jitmDismissNonce
);
- } );
- }
+ }
+ } );
+
+ makeAjaxRequest(
+ 'GET',
+ ajaxurl + '?action=upsell_nudge_jitm&_ajax_nonce=' + jetpackAdminMenu.upsellNudgeJitm,
+ undefined,
+ null,
+ function ( xhr ) {
+ try {
+ if ( xhr.readyState === XMLHttpRequest.DONE ) {
+ if ( xhr.status === 200 && xhr.responseText ) {
+ adminMenu
+ .querySelector( '#toplevel_page_site_card' )
+ .insertAdjacentHTML( 'afterend', xhr.responseText );
+ }
+ }
+ } catch ( error ) {
+ // On failure, we just won't display an upsell nudge
+ }
+ }
+ );
}
}
- function makeAjaxRequest( method, url, contentType, body ) {
+ function makeAjaxRequest( method, url, contentType, body = null, callback = null ) {
var xhr = new XMLHttpRequest();
xhr.open( method, url, true );
xhr.setRequestHeader( 'X-Requested-With', 'XMLHttpRequest' );
@@ -94,6 +119,11 @@
xhr.setRequestHeader( 'Content-Type', contentType );
}
xhr.withCredentials = true;
+ if ( callback ) {
+ xhr.onreadystatechange = function () {
+ callback( xhr );
+ };
+ }
xhr.send( body );
}
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.min.css b/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.min.css
index 1b50ea73..c06386d7 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.min.css
+++ b/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-#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,.auto-fold .interface-interface-skeleton,.jp-dialogue-modern-full__container{left:272px}.global-notices{max-width:calc(100% - 48px - 272px)}}#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{border-radius:2px;background-color:#fff}#adminmenu .toplevel_page_site-notices .wp-menu-image:before{content:'\f534';font-family:dashicons;font-size:20px;line-height:20px;background-color:#a7aaad;color:#fff;border-radius:50%;margin:5px;padding:0}#adminmenu .toplevel_page_site-notices:hover .wp-menu-image:before{color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner{display:flex;flex-grow:1;flex-wrap:nowrap;align-items:center;justify-content:space-between;position:relative;width:100%;padding:7px 12px;left:-28px;border-radius:2px;font-size:12px;line-height:1.4;-webkit-hyphens:none;hyphens:none}#adminmenu .toplevel_page_site-notices .upsell_banner .banner__info{margin-right:12px}#adminmenu .toplevel_page_site-notices .upsell_banner .button{font-size:12px;line-height:12px;padding:0 7px;border:0;min-height:26px}#adminmenu .toplevel_page_site-notices .upsell_banner svg.dismissible-card__close-icon{height:24px;width:24px;margin-left:10px}@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{height:50px;display:flex;align-items:center;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{height:50px;display:flex;align-items:center;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:center;background-repeat:no-repeat;background-size:18px 18px;transform:translateZ(0);transition-property:background-image,background-color;transition-duration:.2s}#adminmenu a.toplevel_page_site-card:hover,#adminmenu li.toplevel_page_site-card:hover{background-color:inherit}#adminmenu .toplevel_page_site-card img{opacity:initial}#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,%3Csvg class='gridicon gridicons-house' height='24' width='24' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg%3E%3Cpath fill='%23fff' d='M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z'/%3E%3C/g%3E%3C/svg%3E%0A")}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image{background-color:#c3c4c7}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image img[src^="data:image/svg"]{height:auto;padding-top: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;max-width:95%;font-size:12px;line-height:1.4;margin-top:2px}.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;-webkit-user-select:none;user-select:none;pointer-events:none;top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.site__info>.site__badge{font-size:12px;border-radius:12px;clear:both;display:inline-block;margin-top:6px;margin-right:3px;padding:1px 10px}.inline-text{display:block!important;position:absolute;right:20px;top:50%;transform:translateY(-50%);opacity:.8}[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{height:auto}.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}}#wpadminbar #wp-admin-bar-notes #wpnt-notes-unread-count.wpn-unread{top:50%;left:50%;transform:translate(-10px,-13px)}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar{transform:translateX(1px)}#wpadminbar #wp-admin-bar-notes.active .noticon-bell:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cmVjdCB4PSIwIiBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48Zz48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNNi4xNCAxNC45N2wyLjgyOCAyLjgyN2MtLjM2Mi4zNjItLjg2Mi41ODYtMS40MTQuNTg2LTEuMTA1IDAtMi0uODk1LTItMiAwLS41NTIuMjI0LTEuMDUyLjU4Ni0xLjQxNHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRjMi4zNC0yLjM0IDYuMTM1LTIuMzQgOC40NzUgMHMyLjM0IDYuMTM1IDAgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L2c+PC9zdmc+)!important}#wpadminbar #wp-admin-bar-notes.wpnt-show .noticon,#wpadminbar>#wp-toolbar .wpnt-show span.noticon{color:#fff}#wpadminbar .quicklinks ul#wp-admin-bar-root-default{padding-left:0!important}#wpadminbar #wp-admin-bar-menu-toggle{display:none}@media screen and (max-width:782px){#wpadminbar #wp-toolbar>ul>li{display:block}#wpadminbar .ab-top-menu>li>.ab-item{box-sizing:border-box;line-height:32px}#wpadminbar #wp-admin-bar-ab-new-post>.ab-item{box-sizing:inherit!important}#wpadminbar #wp-admin-bar-my-account>.ab-item{padding:7px 15px;width:auto}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a img{display:block;right:auto;left:auto;position:static;margin-top:3px;top:13px}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-debug-bar{display:none}}@media screen and (max-width:480px){#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a{width:auto}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a img{margin-top:12px}}#adv-settings{display:flex;flex-direction:column}#adv-settings #dashboard-switcher{order:0}#adv-settings .dashboard-switcher-text{margin-top:0}#adv-settings .dashboard-switcher-button{padding:3px 16px}#adv-settings fieldset{order:1}#adv-settings .submit{order:2} \ 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,.auto-fold .interface-interface-skeleton,.jp-dialogue-modern-full__container{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 class='gridicon gridicons-house' height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M22 9 12 1 2 9v2h2v10h5v-4a3 3 0 1 1 6 0v4h5V11h2V9z'/%3E%3C/svg%3E")}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image{background-color:#c3c4c7}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image img[src^="data:image/svg"]{height:auto;padding-top: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{-webkit-touch-callout:none;bottom:0;content:"";display:block;height:auto;left:auto;pointer-events:none;position:absolute;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}.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}}#wpadminbar #wp-admin-bar-notes #wpnt-notes-unread-count.wpn-unread{left:50%;top:50%;transform:translate(-10px,-13px)}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar{transform:translateX(1px)}#wpadminbar #wp-admin-bar-notes.active .noticon-bell:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgweiIvPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im02LjE0IDE0Ljk3IDIuODI4IDIuODI3YTIgMiAwIDEgMS0yLjgyOC0yLjgyOHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRhNS45OTMgNS45OTMgMCAwIDEgOC40NzUgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L3N2Zz4=)!important}#wpadminbar #wp-admin-bar-notes.wpnt-show .noticon,#wpadminbar>#wp-toolbar .wpnt-show span.noticon{color:#fff}#wpadminbar .quicklinks ul#wp-admin-bar-root-default{padding-left:0!important}#wpadminbar #wp-admin-bar-menu-toggle{display:none}@media screen and (max-width:782px){#wpadminbar #wp-toolbar>ul>li{display:block}#wpadminbar .ab-top-menu>li>.ab-item{box-sizing:border-box;line-height:32px}#wpadminbar #wp-admin-bar-ab-new-post>.ab-item{box-sizing:inherit!important}#wpadminbar #wp-admin-bar-my-account>.ab-item{padding:7px 15px;width:auto}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a img{display:block;left:auto;margin-top:3px;position:static;right:auto;top:13px}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-debug-bar{display:none}}@media screen and (max-width:480px){#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a{width:auto}#wpadminbar #wp-toolbar.quicklinks li#wp-admin-bar-my-account.with-avatar>a img{margin-top: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 #0000001a;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:transparent;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)} \ No newline at end of file
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/class-admin-menu.php b/plugins/jetpack/modules/masterbar/admin-menu/class-admin-menu.php
index 46b7f8bf..f49a6a5b 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/class-admin-menu.php
+++ b/plugins/jetpack/modules/masterbar/admin-menu/class-admin-menu.php
@@ -108,68 +108,6 @@ class Admin_Menu extends Base_Admin_Menu {
}
/**
- * Adds upsell nudge as a menu.
- *
- * @param object $nudge The $nudge object containing the content, CTA, link and tracks.
- */
- public function add_upsell_nudge( $nudge ) {
- $dismiss_button = '';
- if ( $nudge['dismissible'] ) {
- $dismiss_button = '<svg xmlns="http://www.w3.org/2000/svg" data-feature_class="%1$s" data-feature_id="%2$s" viewBox="0 0 24 24" class="gridicon gridicons-cross dismissible-card__close-icon" height="24" width="24"><g><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"></path></g></svg>';
- $dismiss_button = sprintf( $dismiss_button, esc_attr( $nudge['feature_class'] ), esc_attr( $nudge['id'] ) );
- }
-
- $message = '
-<div class="upsell_banner">
- <div class="banner__info">
- <div class="banner__title">%1$s</div>
- </div>
- <div class="banner__action">
- <button type="button" class="button">%2$s</button>
- </div>%3$s
-</div>';
-
- $message = sprintf(
- $message,
- wp_kses( $nudge['content'], array() ),
- wp_kses( $nudge['cta'], array() ),
- $dismiss_button
- );
-
- $menu_slug = $nudge['link'];
- if ( wp_startswith( $menu_slug, '/' ) ) {
- $menu_slug = 'https://wordpress.com' . $menu_slug;
- }
-
- add_menu_page( 'site-notices', $message, 'read', $menu_slug, null, null, 1 );
- add_filter( 'add_menu_classes', array( $this, 'set_site_notices_menu_class' ) );
- }
-
- /**
- * Adds a custom element class and id for Site Notices's menu item.
- *
- * @param array $menu Associative array of administration menu items.
- * @return array
- */
- public function set_site_notices_menu_class( array $menu ) {
- foreach ( $menu as $key => $menu_item ) {
- if ( 'site-notices' !== $menu_item[3] ) {
- continue;
- }
-
- $classes = ' toplevel_page_site-notices';
-
- if ( isset( $menu_item[4] ) ) {
- $menu[ $key ][4] = $menu_item[4] . $classes;
- $menu[ $key ][5] = 'toplevel_page_site-notices';
- break;
- }
- }
-
- return $menu;
- }
-
- /**
* Adds Inbox menu.
*/
public function add_inbox_menu() {
@@ -510,33 +448,58 @@ class Admin_Menu extends Base_Admin_Menu {
}
/**
- * Prepend a dashboard swithcer to the "Screen Options" box of the current page.
- * Callback for the 'screen_settings' filter (available in WP 3.0 and up).
- *
- * @param string $current The currently added panels in screen options.
- *
- * @return string The HTML code to append to "Screen Options"
+ * AJAX handler for retrieving the upsell nudge.
*/
- public function register_dashboard_switcher( $current ) {
- $menu_mappings = require __DIR__ . '/menu-mappings.php';
- $screen = $this->get_current_screen();
+ public function wp_ajax_upsell_nudge_jitm() {
+ check_ajax_referer( 'upsell_nudge_jitm' );
- // Let's show the switcher only in screens that we have a Calypso mapping to switch to.
- if ( ! isset( $menu_mappings[ $screen ] ) ) {
- return;
+ $nudge = $this->get_upsell_nudge();
+ if ( ! $nudge ) {
+ wp_die();
}
- $contents = sprintf(
- '<div id="dashboard-switcher"><h5>%s</h5><p class="dashboard-switcher-text">%s</p><a class="button button-primary dashboard-switcher-button" href="%s">%s</a></div>',
- __( 'Screen features', 'jetpack' ),
- __( 'Currently you are seeing the classic WP-Admin view of this page. Would you like to see the default WordPress.com view?', 'jetpack' ),
- add_query_arg( 'preferred-view', 'default' ),
- __( 'Use WordPress.com view', 'jetpack' )
- );
-
- // Prepend the Dashboard swither to the other custom panels.
- $current = $contents . $current;
+ $link = $nudge['link'];
+ if ( substr( $link, 0, 1 ) === '/' ) {
+ $link = 'https://wordpress.com' . $link;
+ }
+ ?>
+ <li class="wp-not-current-submenu menu-top menu-icon-generic toplevel_page_site-notices" id="toplevel_page_site-notices">
+ <a href="<?php echo esc_url( $link ); ?>" class="wp-not-current-submenu menu-top menu-icon-generic toplevel_page_site-notices">
+ <div class="wp-menu-arrow">
+ <div></div>
+ </div>
+ <div class="wp-menu-image dashicons-before dashicons-admin-generic" aria-hidden="true"><br></div>
+ <div class="wp-menu-name">
+ <div class="upsell_banner">
+ <div class="banner__info">
+ <div class="banner__title">
+ <?php echo wp_kses( $nudge['content'], array() ); ?>
+ </div>
+ </div>
+ <div class="banner__action">
+ <button type="button" class="button">
+ <?php echo wp_kses( $nudge['cta'], array() ); ?>
+ </button>
+ </div>
+ <?php if ( $nudge['dismissible'] ) : ?>
+ <svg xmlns="http://www.w3.org/2000/svg" data-feature_class="<?php echo esc_attr( $nudge['feature_class'] ); ?>" data-feature_id="<?php echo esc_attr( $nudge['id'] ); ?>" viewBox="0 0 24 24" class="gridicon gridicons-cross dismissible-card__close-icon" height="24" width="24"><g><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"></path></g></svg>
+ <?php endif; ?>
+ </div>
+ </div>
+ </a>
+ </li>
+ <?php
+ wp_die();
+ }
- return $current;
+ /**
+ * Returns the first available upsell nudge.
+ * Needs to be implemented separately for each child menu class.
+ * Empty by default.
+ *
+ * @return array
+ */
+ public function get_upsell_nudge() {
+ return array();
}
}
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/class-atomic-admin-menu.php b/plugins/jetpack/modules/masterbar/admin-menu/class-atomic-admin-menu.php
index b3bd7c64..f869ba71 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/class-atomic-admin-menu.php
+++ b/plugins/jetpack/modules/masterbar/admin-menu/class-atomic-admin-menu.php
@@ -27,6 +27,7 @@ class Atomic_Admin_Menu extends Admin_Menu {
add_action( 'admin_enqueue_scripts', array( $this, 'dequeue_scripts' ), 20 );
add_action( 'wp_ajax_sidebar_state', array( $this, 'ajax_sidebar_state' ) );
add_action( 'wp_ajax_jitm_dismiss', array( $this, 'wp_ajax_jitm_dismiss' ) );
+ add_action( 'wp_ajax_upsell_nudge_jitm', array( $this, 'wp_ajax_upsell_nudge_jitm' ) );
if ( ! $this->is_api_request ) {
add_filter( 'submenu_file', array( $this, 'override_the_theme_installer' ), 10, 2 );
@@ -72,11 +73,6 @@ class Atomic_Admin_Menu extends Admin_Menu {
if ( ! $this->is_api_request ) {
$this->add_browse_sites_link();
$this->add_site_card_menu();
- $nudge = $this->get_upsell_nudge();
- if ( $nudge ) {
- parent::add_upsell_nudge( $nudge );
- }
-
$this->add_new_site_link();
}
@@ -116,34 +112,36 @@ class Atomic_Admin_Menu extends Admin_Menu {
*/
public function add_plugins_menu() {
global $submenu;
+
+ // Calypso plugins screens link.
+ $plugins_slug = 'https://wordpress.com/plugins/' . $this->domain;
+
+ // Link to the Marketplace on sites that can't manage plugins.
if (
- isset( $submenu['plugins.php'] )
- /**
- * Whether to enable the marketplace feature entrypoint.
- * This filter is specific to WPCOM, that's why there is no
- * need to use `jetpack_` prefix.
- *
- * @use add_filter( 'wpcom_marketplace_enabled', '__return_true' );
- * @module masterbar
- * @since 10.3
- * @param bool $wpcom_marketplace_enabled Load the WordPress.com Marketplace feature. Default to false.
- */
- && apply_filters( 'wpcom_marketplace_enabled', false )
+ function_exists( 'wpcom_site_has_feature' ) &&
+ ! wpcom_site_has_feature( \WPCOM_Features::MANAGE_PLUGINS )
) {
- $plugins_submenu = $submenu['plugins.php'];
- $slug_to_update = 'plugin-install.php';
-
- // Move "Add New" plugin submenu ( `plugin-install.php` ) to the top position.
- foreach ( $plugins_submenu as $submenu_key => $submenu_keys ) {
- if ( $submenu_keys[2] === $slug_to_update ) {
- // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
- $submenu['plugins.php'] = array( $submenu_key => $plugins_submenu[ $submenu_key ] ) + $plugins_submenu;
- }
- }
+ add_menu_page( __( 'Plugins', 'jetpack' ), __( 'Plugins', 'jetpack' ), 'manage_options', $plugins_slug, null, 'dashicons-admin-plugins', '65' );
+ return;
+ }
+
+ if ( ! isset( $submenu['plugins.php'] ) ) {
+ return;
+ }
- $submenus_to_update = array( $slug_to_update => 'https://wordpress.com/plugins/' . $this->domain );
- $this->update_submenus( 'plugins.php', $submenus_to_update );
+ $plugins_submenu = $submenu['plugins.php'];
+
+ // Move "Add New" plugin submenu to the top position.
+ foreach ( $plugins_submenu as $submenu_key => $submenu_keys ) {
+ if ( 'plugin-install.php' === $submenu_keys[2] ) {
+ // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
+ $submenu['plugins.php'] = array( $submenu_key => $plugins_submenu[ $submenu_key ] ) + $plugins_submenu;
+ }
}
+
+ $submenus_to_update = array( 'plugin-install.php' => $plugins_slug );
+
+ $this->update_submenus( 'plugins.php', $submenus_to_update );
}
/**
@@ -353,8 +351,15 @@ class Atomic_Admin_Menu extends Admin_Menu {
2
);
}
+
add_submenu_page( 'options-general.php', esc_attr__( 'Hosting Configuration', 'jetpack' ), __( 'Hosting Configuration', 'jetpack' ), 'manage_options', 'https://wordpress.com/hosting-config/' . $this->domain, null, 11 );
- add_submenu_page( 'options-general.php', esc_attr__( 'Jetpack', 'jetpack' ), __( 'Jetpack', 'jetpack' ), 'manage_options', 'https://wordpress.com/settings/jetpack/' . $this->domain, null, 12 );
+
+ if (
+ function_exists( 'wpcom_site_has_feature' ) &&
+ wpcom_site_has_feature( \WPCOM_Features::ATOMIC )
+ ) {
+ add_submenu_page( 'options-general.php', esc_attr__( 'Jetpack', 'jetpack' ), __( 'Jetpack', 'jetpack' ), 'manage_options', 'https://wordpress.com/settings/jetpack/' . $this->domain, null, 12 );
+ }
// Page Optimize is active by default on all Atomic sites and registers a Settings > Performance submenu which
// would conflict with our own Settings > Performance that links to Calypso, so we hide it it since the Calypso
@@ -390,7 +395,7 @@ class Atomic_Admin_Menu extends Admin_Menu {
* Saves the sidebar state ( expanded / collapsed ) via an ajax request.
*/
public function ajax_sidebar_state() {
- $expanded = filter_var( $_REQUEST['expanded'], FILTER_VALIDATE_BOOLEAN ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $expanded = isset( $_REQUEST['expanded'] ) ? filter_var( wp_unslash( $_REQUEST['expanded'] ), FILTER_VALIDATE_BOOLEAN ) : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
Client::wpcom_json_api_request_as_user(
'/me/preferences',
'2',
@@ -410,7 +415,9 @@ class Atomic_Admin_Menu extends Admin_Menu {
public function wp_ajax_jitm_dismiss() {
check_ajax_referer( 'jitm_dismiss' );
$jitm = \Automattic\Jetpack\JITMS\JITM::get_instance();
- $jitm->dismiss( $_REQUEST['id'], $_REQUEST['feature_class'] );
+ if ( isset( $_REQUEST['id'] ) && isset( $_REQUEST['feature_class'] ) ) {
+ $jitm->dismiss( sanitize_text_field( wp_unslash( $_REQUEST['id'] ) ), sanitize_text_field( wp_unslash( $_REQUEST['feature_class'] ) ) );
+ }
wp_die();
}
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/class-base-admin-menu.php b/plugins/jetpack/modules/masterbar/admin-menu/class-base-admin-menu.php
index 5f3b1f51..5ffc2ecb 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/class-base-admin-menu.php
+++ b/plugins/jetpack/modules/masterbar/admin-menu/class-base-admin-menu.php
@@ -66,7 +66,7 @@ abstract class Base_Admin_Menu {
* Base_Admin_Menu constructor.
*/
protected function __construct() {
- $this->is_api_request = defined( 'REST_REQUEST' ) && REST_REQUEST || 0 === strpos( $_SERVER['REQUEST_URI'], '/?rest_route=%2Fwpcom%2Fv2%2Fadmin-menu' );
+ $this->is_api_request = defined( 'REST_REQUEST' ) && REST_REQUEST || isset( $_SERVER['REQUEST_URI'] ) && 0 === strpos( filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ), '/?rest_route=%2Fwpcom%2Fv2%2Fadmin-menu' );
$this->domain = ( new Status() )->get_site_suffix();
add_action( 'admin_menu', array( $this, 'reregister_menu_items' ), 99998 );
@@ -76,7 +76,8 @@ abstract class Base_Admin_Menu {
add_filter( 'admin_menu', array( $this, 'override_svg_icons' ), 99999 );
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ), 11 );
add_action( 'admin_head', array( $this, 'set_site_icon_inline_styles' ) );
- add_filter( 'screen_settings', array( $this, 'register_dashboard_switcher' ), 99999 );
+ add_action( 'in_admin_header', array( $this, 'add_dashboard_switcher' ) );
+ add_action( 'admin_footer', array( $this, 'dashboard_switcher_scripts' ) );
add_action( 'admin_menu', array( $this, 'handle_preferred_view' ), 99997 );
add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) );
}
@@ -279,7 +280,10 @@ abstract class Base_Admin_Menu {
wp_localize_script(
'jetpack-admin-menu',
'jetpackAdminMenu',
- array( 'jitmDismissNonce' => wp_create_nonce( 'jitm_dismiss' ) )
+ array(
+ 'upsellNudgeJitm' => wp_create_nonce( 'upsell_nudge_jitm' ),
+ 'jitmDismissNonce' => wp_create_nonce( 'jitm_dismiss' ),
+ )
);
}
@@ -544,6 +548,65 @@ abstract class Base_Admin_Menu {
}
/**
+ * Adds a dashboard switcher to the list of screen meta links of the current page.
+ */
+ public function add_dashboard_switcher() {
+ $menu_mappings = require __DIR__ . '/menu-mappings.php';
+ $screen = $this->get_current_screen();
+
+ // Let's show the switcher only in screens that we have a Calypso mapping to switch to.
+ if ( empty( $menu_mappings[ $screen ] ) ) {
+ return;
+ }
+ ?>
+ <div id="view-link-wrap" class="hide-if-no-js screen-meta-toggle">
+ <button type="button" id="view-link" class="button show-settings" aria-expanded="false"><?php echo esc_html_x( 'View', 'View options to switch between', 'jetpack' ); ?></button>
+ </div>
+ <div id="view-wrap" class="screen-options-tab__wrapper hide-if-no-js hidden" tabindex="-1">
+ <div class="screen-options-tab__dropdown" data-testid="screen-options-dropdown">
+ <div class="screen-switcher">
+ <a class="screen-switcher__button" href="<?php echo esc_url( add_query_arg( 'preferred-view', 'default' ) ); ?>" data-view="default">
+ <strong><?php esc_html_e( 'Default view', 'jetpack' ); ?></strong>
+ <?php esc_html_e( 'Our WordPress.com redesign for a better experience.', 'jetpack' ); ?>
+ </a>
+ <button class="screen-switcher__button" data-view="classic">
+ <strong><?php esc_html_e( 'Classic view', 'jetpack' ); ?></strong>
+ <?php esc_html_e( 'The classic WP-Admin WordPress interface.', 'jetpack' ); ?>
+ </button>
+ </div>
+ </div>
+ </div>
+ <?php
+ }
+
+ /**
+ * Adds a script to append the dashboard switcher to screen meta
+ */
+ public function dashboard_switcher_scripts() {
+ wp_add_inline_script(
+ 'common',
+ "(function( $ ) {
+ $( '#view-link-wrap' ).appendTo( '#screen-meta-links' );
+
+ var viewLink = $( '#view-link' );
+ var viewWrap = $( '#view-wrap' );
+
+ viewLink.on( 'click', function() {
+ viewWrap.toggle();
+ viewLink.toggleClass( 'screen-meta-active' );
+ } );
+
+ $( document ).on( 'mouseup', function( event ) {
+ if ( ! viewLink.is( event.target ) && ! viewWrap.is( event.target ) && viewWrap.has( event.target ).length === 0 ) {
+ viewWrap.hide();
+ viewLink.removeClass( 'screen-meta-active' );
+ }
+ });
+ })( jQuery );"
+ );
+ }
+
+ /**
* Sets the given view as preferred for the givens screen.
*
* @param string $screen Screen identifier.
@@ -600,17 +663,17 @@ abstract class Base_Admin_Menu {
public function get_current_screen() {
// phpcs:disable WordPress.Security.NonceVerification
global $pagenow;
- $screen = isset( $_REQUEST['screen'] ) ? $_REQUEST['screen'] : $pagenow;
+ $screen = isset( $_REQUEST['screen'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['screen'] ) ) : $pagenow;
if ( isset( $_GET['post_type'] ) ) {
- $screen = add_query_arg( 'post_type', $_GET['post_type'], $screen );
+ $screen = add_query_arg( 'post_type', sanitize_text_field( wp_unslash( $_GET['post_type'] ) ), $screen );
}
if ( isset( $_GET['taxonomy'] ) ) {
- $screen = add_query_arg( 'taxonomy', $_GET['taxonomy'], $screen );
+ $screen = add_query_arg( 'taxonomy', sanitize_text_field( wp_unslash( $_GET['taxonomy'] ) ), $screen );
}
if ( isset( $_GET['page'] ) ) {
- $screen = add_query_arg( 'page', $_GET['page'], $screen );
+ $screen = add_query_arg( 'page', sanitize_text_field( wp_unslash( $_GET['page'] ) ), $screen );
}
- return sanitize_text_field( wp_unslash( $screen ) );
+ return $screen;
// phpcs:enable WordPress.Security.NonceVerification
}
@@ -624,7 +687,7 @@ abstract class Base_Admin_Menu {
}
// phpcs:disable WordPress.Security.NonceVerification
- $preferred_view = $_GET['preferred-view'];
+ $preferred_view = sanitize_key( $_GET['preferred-view'] );
if ( ! in_array( $preferred_view, array( self::DEFAULT_VIEW, self::CLASSIC_VIEW ), true ) ) {
return;
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/class-dashboard-switcher-tracking.php b/plugins/jetpack/modules/masterbar/admin-menu/class-dashboard-switcher-tracking.php
index b3fe7cd8..b1fcda47 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/class-dashboard-switcher-tracking.php
+++ b/plugins/jetpack/modules/masterbar/admin-menu/class-dashboard-switcher-tracking.php
@@ -97,8 +97,8 @@ class Dashboard_Switcher_Tracking {
if ( class_exists( '\WPCOM_Store_API' ) ) {
// @todo: Maybe introduce a wrapper for this since we are duplicating it from WPCOM_Admin_Menu:253
$products = \WPCOM_Store_API::get_current_plan( \get_current_blog_id() );
- if ( array_key_exists( 'product_name_short', $products ) ) {
- return $products['product_name_short'];
+ if ( ! empty( $products['product_slug'] ) ) {
+ return $products['product_slug'];
}
}
@@ -107,8 +107,8 @@ class Dashboard_Switcher_Tracking {
// @todo: Maybe introduce a helper for this since we are duplicating it from Atomic_Admin_Menu:240
$products = Jetpack_Plan::get();
- if ( array_key_exists( 'product_name_short', $products ) ) {
- return $products['product_name_short'];
+ if ( ! empty( $products['product_slug'] ) ) {
+ return $products['product_slug'];
}
return 'N/A'; // maybe we should return free or null? At the moment we use it for passing it to the event.
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/class-wpcom-admin-menu.php b/plugins/jetpack/modules/masterbar/admin-menu/class-wpcom-admin-menu.php
index 12535a4e..89509683 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/class-wpcom-admin-menu.php
+++ b/plugins/jetpack/modules/masterbar/admin-menu/class-wpcom-admin-menu.php
@@ -30,6 +30,7 @@ class WPcom_Admin_Menu extends Admin_Menu {
add_action( 'wp_ajax_sidebar_state', array( $this, 'ajax_sidebar_state' ) );
add_action( 'wp_ajax_jitm_dismiss', array( $this, 'wp_ajax_jitm_dismiss' ) );
+ add_action( 'wp_ajax_upsell_nudge_jitm', array( $this, 'wp_ajax_upsell_nudge_jitm' ) );
add_action( 'admin_init', array( $this, 'sync_sidebar_collapsed_state' ) );
add_action( 'admin_menu', array( $this, 'remove_submenus' ), 140 ); // After hookpress hook at 130.
}
@@ -47,10 +48,6 @@ class WPcom_Admin_Menu extends Admin_Menu {
if ( ! $this->is_api_request ) {
$this->add_browse_sites_link();
$this->add_site_card_menu();
- $nudge = $this->get_upsell_nudge();
- if ( $nudge ) {
- parent::add_upsell_nudge( $nudge );
- }
$this->add_new_site_link();
}
@@ -88,10 +85,22 @@ class WPcom_Admin_Menu extends Admin_Menu {
}
/**
+ * Retrieve the number of blogs that the current user has.
+ *
+ * @return int
+ */
+ public function get_current_user_blog_count() {
+ if ( function_exists( '\get_blog_count_for_user' ) ) {
+ return \get_blog_count_for_user( get_current_user_id() );
+ }
+ return count( get_blogs_of_user( get_current_user_id() ) );
+ }
+
+ /**
* Adds the site switcher link if user has more than one site.
*/
public function add_browse_sites_link() {
- if ( count( get_blogs_of_user( get_current_user_id() ) ) < 2 ) {
+ if ( $this->get_current_user_blog_count() < 2 ) {
return;
}
@@ -123,7 +132,7 @@ class WPcom_Admin_Menu extends Admin_Menu {
* Adds a link to the menu to create a new site.
*/
public function add_new_site_link() {
- if ( count( get_blogs_of_user( get_current_user_id() ) ) > 1 ) {
+ if ( $this->get_current_user_blog_count() > 1 ) {
return;
}
@@ -384,7 +393,7 @@ class WPcom_Admin_Menu extends Admin_Menu {
* Saves the sidebar state ( expanded / collapsed ) via an ajax request.
*/
public function ajax_sidebar_state() {
- $expanded = filter_var( $_REQUEST['expanded'], FILTER_VALIDATE_BOOLEAN ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $expanded = isset( $_REQUEST['expanded'] ) ? filter_var( wp_unslash( $_REQUEST['expanded'] ), FILTER_VALIDATE_BOOLEAN ) : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$user_id = get_current_user_id();
$preferences = get_user_attribute( $user_id, 'calypso_preferences' );
if ( empty( $preferences ) ) {
@@ -410,7 +419,9 @@ class WPcom_Admin_Menu extends Admin_Menu {
public function wp_ajax_jitm_dismiss() {
check_ajax_referer( 'jitm_dismiss' );
require_lib( 'jetpack-jitm/jitm-engine' );
- JITM\Engine::dismiss( $_REQUEST['id'], $_REQUEST['feature_class'] );
+ if ( isset( $_REQUEST['id'] ) && isset( $_REQUEST['feature_class'] ) ) {
+ JITM\Engine::dismiss( sanitize_text_field( wp_unslash( $_REQUEST['id'] ) ), sanitize_text_field( wp_unslash( $_REQUEST['feature_class'] ) ) );
+ }
wp_die();
}
diff --git a/plugins/jetpack/modules/masterbar/admin-menu/load.php b/plugins/jetpack/modules/masterbar/admin-menu/load.php
index 412819ef..cedb92bb 100644
--- a/plugins/jetpack/modules/masterbar/admin-menu/load.php
+++ b/plugins/jetpack/modules/masterbar/admin-menu/load.php
@@ -23,7 +23,7 @@ function should_customize_nav( $admin_menu_class ) {
return false;
}
- $is_api_request = defined( 'REST_REQUEST' ) && REST_REQUEST || 0 === strpos( $_SERVER['REQUEST_URI'], '/?rest_route=%2Fwpcom%2Fv2%2Fadmin-menu' );
+ $is_api_request = defined( 'REST_REQUEST' ) && REST_REQUEST || isset( $_SERVER['REQUEST_URI'] ) && 0 === strpos( filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ), '/?rest_route=%2Fwpcom%2Fv2%2Fadmin-menu' );
// No nav customizations on WP Admin of Atomic sites when SSO is disabled.
if ( is_a( $admin_menu_class, Atomic_Admin_Menu::class, true ) && ! $is_api_request && ! \Jetpack::is_module_active( 'sso' ) ) {
diff --git a/plugins/jetpack/modules/masterbar/masterbar.php b/plugins/jetpack/modules/masterbar/masterbar.php
deleted file mode 100644
index 72c27800..00000000
--- a/plugins/jetpack/modules/masterbar/masterbar.php
+++ /dev/null
@@ -1,1392 +0,0 @@
-<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-
-use Automattic\Jetpack\Assets;
-use Automattic\Jetpack\Connection\Client;
-
-require_once dirname( __FILE__ ) . '/rtl-admin-bar.php';
-
-/**
- * Custom Admin bar displayed instead of the default WordPress admin bar.
- */
-class A8C_WPCOM_Masterbar {
- /**
- * Use for testing changes made to remotely enqueued scripts and styles on your sandbox.
- * If not set it will default to loading the ones from WordPress.com.
- *
- * @var string $sandbox_url
- */
- private $sandbox_url = '';
-
- /**
- * Current locale.
- *
- * @var string
- */
- private $locale;
-
- /**
- * Current User ID.
- *
- * @var int
- */
- private $user_id;
- /**
- * WordPress.com user data of the connected user.
- *
- * @var array
- */
- private $user_data;
- /**
- * WordPress.com username for the connected user.
- *
- * @var string
- */
- private $user_login;
- /**
- * WordPress.com email address for the connected user.
- *
- * @var string
- */
- private $user_email;
- /**
- * WordPress.com display name for the connected user.
- *
- * @var string
- */
- private $display_name;
- /**
- * Site URL sanitized for usage in WordPress.com slugs.
- *
- * @var string
- */
- private $primary_site_slug;
- /**
- * Text direction (ltr or rtl) based on connected WordPress.com user's interface settings.
- *
- * @var string
- */
- private $user_text_direction;
- /**
- * Number of sites owned by connected WordPress.com user.
- *
- * @var int
- */
- private $user_site_count;
-
- /**
- * Constructor
- */
- public function __construct() {
- add_action( 'admin_bar_init', array( $this, 'init' ) );
-
- // Post logout on the site, also log the user out of WordPress.com.
- add_action( 'wp_logout', array( $this, 'maybe_logout_user_from_wpcom' ) );
- }
-
- /**
- * Initialize our masterbar.
- */
- public function init() {
- $this->locale = $this->get_locale();
- $this->user_id = get_current_user_id();
-
- // Limit the masterbar to be shown only to connected Jetpack users.
- if ( ! Jetpack::is_user_connected( $this->user_id ) ) {
- return;
- }
-
- // Don't show the masterbar on WordPress mobile apps.
- if ( Jetpack_User_Agent_Info::is_mobile_app() ) {
- add_filter( 'show_admin_bar', '__return_false' );
- return;
- }
-
- // Disable the Masterbar on AMP views.
- if (
- class_exists( 'Jetpack_AMP_Support' )
- && Jetpack_AMP_Support::is_amp_request()
- ) {
- return;
- }
-
- Jetpack::dns_prefetch(
- array(
- '//s0.wp.com',
- '//s1.wp.com',
- '//s2.wp.com',
- '//0.gravatar.com',
- '//1.gravatar.com',
- '//2.gravatar.com',
- )
- );
-
- // Atomic only.
- if ( jetpack_is_atomic_site() ) {
- /*
- * override user setting that hides masterbar from site's front.
- * https://github.com/Automattic/jetpack/issues/7667
- */
- add_filter( 'show_admin_bar', '__return_true' );
- }
-
- $this->user_data = Jetpack::get_connected_user_data( $this->user_id );
- $this->user_login = $this->user_data['login'];
- $this->user_email = $this->user_data['email'];
- $this->display_name = $this->user_data['display_name'];
- $this->user_site_count = $this->user_data['site_count'];
-
- // Used to build menu links that point directly to Calypso.
- $this->primary_site_slug = Jetpack::build_raw_urls( get_home_url() );
-
- // Used for display purposes and for building WP Admin links.
- $this->primary_site_url = str_replace( '::', '/', $this->primary_site_slug );
-
- // We need to use user's setting here, instead of relying on current blog's text direction.
- $this->user_text_direction = $this->user_data['text_direction'];
-
- if ( $this->is_rtl() ) {
- // Extend core WP_Admin_Bar class in order to add rtl styles.
- add_filter( 'wp_admin_bar_class', array( $this, 'get_rtl_admin_bar_class' ) );
- }
- add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) );
-
- add_action( 'wp_before_admin_bar_render', array( $this, 'replace_core_masterbar' ), 99999 );
-
- add_action( 'wp_enqueue_scripts', array( $this, 'add_styles_and_scripts' ) );
- add_action( 'admin_enqueue_scripts', array( $this, 'add_styles_and_scripts' ) );
-
- add_action( 'wp_enqueue_scripts', array( $this, 'remove_core_styles' ) );
- add_action( 'admin_enqueue_scripts', array( $this, 'remove_core_styles' ) );
-
- if ( Jetpack::is_module_active( 'notes' ) && $this->is_rtl() ) {
- // Override Notification module to include RTL styles.
- add_action( 'a8c_wpcom_masterbar_enqueue_rtl_notification_styles', '__return_true' );
- }
- }
-
- /**
- * Log out from WordPress.com when logging out of the local site.
- */
- public function maybe_logout_user_from_wpcom() {
- /**
- * Whether we should sign out from wpcom too when signing out from the masterbar.
- *
- * @since 5.9.0
- *
- * @param bool $masterbar_should_logout_from_wpcom True by default.
- */
- $masterbar_should_logout_from_wpcom = apply_filters( 'jetpack_masterbar_should_logout_from_wpcom', true );
- if (
- // No need to check for a nonce here, it happens further up.
- isset( $_GET['context'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- && 'masterbar' === $_GET['context'] // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- && $masterbar_should_logout_from_wpcom
- ) {
- do_action( 'wp_masterbar_logout' );
- }
- }
-
- /**
- * Get class name for RTL sites.
- */
- public function get_rtl_admin_bar_class() {
- return 'RTL_Admin_Bar';
- }
-
- /**
- * Adds CSS classes to admin body tag.
- *
- * @since 5.1
- *
- * @param string $admin_body_classes CSS classes that will be added.
- *
- * @return string
- */
- public function admin_body_class( $admin_body_classes ) {
- return "$admin_body_classes jetpack-masterbar";
- }
-
- /**
- * Remove the default Admin Bar CSS.
- */
- public function remove_core_styles() {
- /*
- * Notifications need the admin bar styles,
- * so let's not remove them when the module is active.
- */
- if ( ! Jetpack::is_module_active( 'notes' ) ) {
- wp_dequeue_style( 'admin-bar' );
- }
- }
-
- /**
- * Check if the user settings are for an RTL language or not.
- */
- public function is_rtl() {
- return 'rtl' === $this->user_text_direction ? true : false;
- }
-
- /**
- * Enqueue our own CSS and JS to display our custom admin bar.
- */
- public function add_styles_and_scripts() {
-
- if ( $this->is_rtl() ) {
- wp_enqueue_style( 'a8c-wpcom-masterbar-rtl', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/rtl/wpcom-admin-bar-rtl.css' ), array(), JETPACK__VERSION );
- wp_enqueue_style( 'a8c-wpcom-masterbar-overrides-rtl', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/rtl/masterbar-rtl.css' ), array(), JETPACK__VERSION );
- } else {
- wp_enqueue_style( 'a8c-wpcom-masterbar', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/wpcom-admin-bar.css' ), array(), JETPACK__VERSION );
- wp_enqueue_style( 'a8c-wpcom-masterbar-overrides', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/masterbar.css' ), array(), JETPACK__VERSION );
- }
-
- // Local overrides.
- wp_enqueue_style( 'a8c_wpcom_css_override', plugins_url( 'overrides.css', __FILE__ ), array(), JETPACK__VERSION );
-
- if ( ! Jetpack::is_module_active( 'notes ' ) ) {
- // Masterbar is relying on some icons from noticons.css.
- wp_enqueue_style( 'noticons', $this->wpcom_static_url( '/i/noticons/noticons.css' ), array(), JETPACK__VERSION . '-' . gmdate( 'oW' ) );
- }
-
- wp_enqueue_script(
- 'jetpack-accessible-focus',
- Assets::get_file_url_for_environment( '_inc/build/accessible-focus.min.js', '_inc/accessible-focus.js' ),
- array(),
- JETPACK__VERSION,
- false
- );
- wp_enqueue_script(
- 'a8c_wpcom_masterbar_tracks_events',
- Assets::get_file_url_for_environment(
- '_inc/build/masterbar/tracks-events.min.js',
- 'modules/masterbar/tracks-events.js'
- ),
- array( 'jquery' ),
- JETPACK__VERSION,
- false
- );
-
- wp_enqueue_script(
- 'a8c_wpcom_masterbar_overrides',
- $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/masterbar.js' ),
- array( 'jquery' ),
- JETPACK__VERSION,
- false
- );
- }
-
- /**
- * Get base URL where our CSS and JS will come from.
- *
- * @param string $file File path for a static resource.
- */
- private function wpcom_static_url( $file ) {
- if ( ! empty( $this->sandbox_url ) ) {
- // For testing undeployed changes to remotely enqueued scripts and styles.
- return set_url_scheme( $this->sandbox_url . $file, 'https' );
- }
-
- $i = hexdec( substr( md5( $file ), - 1 ) ) % 2;
- $url = 'https://s' . $i . '.wp.com' . $file;
-
- return set_url_scheme( $url, 'https' );
- }
-
- /**
- * Remove the default admin bar items and replace it with our own admin bar.
- */
- public function replace_core_masterbar() {
- global $wp_admin_bar;
-
- if ( ! is_object( $wp_admin_bar ) ) {
- return false;
- }
-
- $this->clear_core_masterbar( $wp_admin_bar );
- $this->build_wpcom_masterbar( $wp_admin_bar );
- }
-
- /**
- * Remove all existing toolbar entries from core Masterbar
- *
- * @param WP_Admin_Bar $wp_admin_bar Admin Bar instance.
- */
- public function clear_core_masterbar( $wp_admin_bar ) {
- foreach ( $wp_admin_bar->get_nodes() as $node ) {
- $wp_admin_bar->remove_node( $node->id );
- }
- }
-
- /**
- * Add entries corresponding to WordPress.com Masterbar
- *
- * @param WP_Admin_Bar $wp_admin_bar Admin Bar instance.
- */
- public function build_wpcom_masterbar( $wp_admin_bar ) {
- // Menu groups.
- $this->wpcom_adminbar_add_secondary_groups( $wp_admin_bar );
-
- // Left part.
- $this->add_my_sites_submenu( $wp_admin_bar );
- $this->add_reader_submenu( $wp_admin_bar );
-
- // Right part.
- if ( Jetpack::is_module_active( 'notes' ) ) {
- $this->add_notifications( $wp_admin_bar );
- }
-
- $this->add_me_submenu( $wp_admin_bar );
- $this->add_write_button( $wp_admin_bar );
-
- // Recovery mode exit.
- if ( function_exists( 'wp_admin_bar_recovery_mode_menu' ) ) {
- wp_admin_bar_recovery_mode_menu( $wp_admin_bar );
- }
- }
-
- /**
- * Get WordPress.com current locale name.
- */
- public function get_locale() {
- $wpcom_locale = get_locale();
-
- if ( ! class_exists( 'GP_Locales' ) ) {
- if ( defined( 'JETPACK__GLOTPRESS_LOCALES_PATH' ) && file_exists( JETPACK__GLOTPRESS_LOCALES_PATH ) ) {
- require JETPACK__GLOTPRESS_LOCALES_PATH;
- }
- }
-
- if ( class_exists( 'GP_Locales' ) ) {
- $wpcom_locale_object = GP_Locales::by_field( 'wp_locale', get_locale() );
- if ( $wpcom_locale_object instanceof GP_Locale ) {
- $wpcom_locale = $wpcom_locale_object->slug;
- }
- }
-
- return $wpcom_locale;
- }
-
- /**
- * Add the Notifications menu item.
- *
- * @param WP_Admin_Bar $wp_admin_bar Admin Bar instance.
- */
- public function add_notifications( $wp_admin_bar ) {
- $wp_admin_bar->add_node(
- array(
- 'id' => 'notes',
- 'title' => '<span id="wpnt-notes-unread-count" class="wpnt-loading wpn-read"></span>
- <span class="screen-reader-text">' . esc_html__( 'Notifications', 'jetpack' ) . '</span>
- <span class="noticon noticon-bell"></span>',
- 'meta' => array(
- 'html' => '<div id="wpnt-notes-panel2" style="display:none" lang="' . esc_attr( $this->locale ) . '" dir="' . ( $this->is_rtl() ? 'rtl' : 'ltr' ) . '">' .
- '<div class="wpnt-notes-panel-header">' .
- '<span class="wpnt-notes-header">' .
- esc_html__( 'Notifications', 'jetpack' ) .
- '</span>' .
- '<span class="wpnt-notes-panel-link">' .
- '</span>' .
- '</div>' .
- '</div>',
- 'class' => 'menupop mb-trackable',
- ),
- 'parent' => 'top-secondary',
- )
- );
- }
-
- /**
- * Add the "Reader" menu item in the root default group.
- *
- * @param WP_Admin_Bar $wp_admin_bar Admin Bar instance.
- */
- public function add_reader_submenu( $wp_admin_bar ) {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'root-default',
- 'id' => 'newdash',
- 'title' => esc_html__( 'Reader', 'jetpack' ),
- 'href' => '#',
- 'meta' => array(
- 'class' => 'mb-trackable',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'newdash',
- 'id' => 'streams-header',
- 'title' => esc_html_x(
- 'Streams',
- 'Title for Reader sub-menu that contains followed sites, likes, and recommendations',
- 'jetpack'
- ),
- 'meta' => array(
- 'class' => 'ab-submenu-header',
- ),
- )
- );
-
- $following_title = $this->create_menu_item_pair(
- array(
- 'url' => 'https://wordpress.com/read',
- 'id' => 'wp-admin-bar-followed-sites',
- 'label' => esc_html__( 'Followed Sites', 'jetpack' ),
- ),
- array(
- 'url' => 'https://wordpress.com/following/edit',
- 'id' => 'wp-admin-bar-reader-followed-sites-manage',
- 'label' => esc_html__( 'Manage', 'jetpack' ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'newdash',
- 'id' => 'following',
- 'title' => $following_title,
- 'meta' => array( 'class' => 'inline-action' ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'newdash',
- 'id' => 'discover-discover',
- 'title' => esc_html__( 'Discover', 'jetpack' ),
- 'href' => 'https://wordpress.com/discover',
- 'meta' => array(
- 'class' => 'mb-icon-spacer',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'newdash',
- 'id' => 'discover-search',
- 'title' => esc_html__( 'Search', 'jetpack' ),
- 'href' => 'https://wordpress.com/read/search',
- 'meta' => array(
- 'class' => 'mb-icon-spacer',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'newdash',
- 'id' => 'discover-recommended-blogs',
- 'title' => esc_html__( 'Recommendations', 'jetpack' ),
- 'href' => 'https://wordpress.com/recommendations',
- 'meta' => array(
- 'class' => 'mb-icon-spacer',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'newdash',
- 'id' => 'my-activity-my-likes',
- 'title' => esc_html__( 'My Likes', 'jetpack' ),
- 'href' => 'https://wordpress.com/activities/likes',
- 'meta' => array(
- 'class' => 'mb-icon-spacer',
- ),
- )
- );
-
- }
-
- /**
- * Merge 2 menu items together into 2 link tags.
- *
- * @param array $primary Array of menu information.
- * @param array $secondary Array of menu information.
- */
- public function create_menu_item_pair( $primary, $secondary ) {
- $primary_class = 'ab-item ab-primary mb-icon';
- $secondary_class = 'ab-secondary';
-
- $primary_anchor = $this->create_menu_item_anchor( $primary_class, $primary['url'], $primary['label'], $primary['id'] );
- $secondary_anchor = $this->create_menu_item_anchor( $secondary_class, $secondary['url'], $secondary['label'], $secondary['id'] );
-
- return $primary_anchor . $secondary_anchor;
- }
-
- /**
- * Create a link tag based on information about a menu item.
- *
- * @param string $class Menu item CSS class.
- * @param string $url URL you go to when clicking on the menu item.
- * @param string $label Menu item title.
- * @param string $id Menu item slug.
- */
- public function create_menu_item_anchor( $class, $url, $label, $id ) {
- return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>';
- }
-
- /**
- * Add Secondary groups for submenu items.
- *
- * @param WP_Admin_Bar $wp_admin_bar Admin Bar instance.
- */
- public function wpcom_adminbar_add_secondary_groups( $wp_admin_bar ) {
- $wp_admin_bar->add_group(
- array(
- 'id' => 'root-default',
- 'meta' => array(
- 'class' => 'ab-top-menu',
- ),
- )
- );
-
- $wp_admin_bar->add_group(
- array(
- 'parent' => 'blog',
- 'id' => 'blog-secondary',
- 'meta' => array(
- 'class' => 'ab-sub-secondary',
- ),
- )
- );
-
- $wp_admin_bar->add_group(
- array(
- 'id' => 'top-secondary',
- 'meta' => array(
- 'class' => 'ab-top-secondary',
- ),
- )
- );
- }
-
- /**
- * Add User info menu item.
- *
- * @param WP_Admin_Bar $wp_admin_bar Admin Bar instance.
- */
- public function add_me_submenu( $wp_admin_bar ) {
- $user_id = get_current_user_id();
- if ( empty( $user_id ) ) {
- return;
- }
-
- $avatar = get_avatar( $this->user_email, 32, 'mm', '', array( 'force_display' => true ) );
- $class = empty( $avatar ) ? 'mb-trackable' : 'with-avatar mb-trackable';
-
- // Add the 'Me' menu.
- $wp_admin_bar->add_menu(
- array(
- 'id' => 'my-account',
- 'parent' => 'top-secondary',
- 'title' => $avatar . '<span class="ab-text">' . esc_html__( 'Me', 'jetpack' ) . '</span>',
- 'href' => '#',
- 'meta' => array(
- 'class' => $class,
- ),
- )
- );
-
- $id = 'user-actions';
- $wp_admin_bar->add_group(
- array(
- 'parent' => 'my-account',
- 'id' => $id,
- )
- );
-
- $settings_url = 'https://wordpress.com/me/account';
-
- $logout_url = wp_logout_url();
- $logout_url = add_query_arg( 'context', 'masterbar', $logout_url );
-
- $user_info = get_avatar( $this->user_email, 128, 'mm', '', array( 'force_display' => true ) );
- $user_info .= '<span class="display-name">' . $this->display_name . '</span>';
- $user_info .= '<a class="username" href="https://gravatar.com/' . $this->user_login . '">@' . $this->user_login . '</a>';
-
- $user_info .= sprintf(
- '<div><a href="%s" class="ab-sign-out">%s</a></div>',
- $logout_url,
- esc_html__( 'Sign Out', 'jetpack' )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'user-info',
- 'title' => $user_info,
- 'meta' => array(
- 'class' => 'user-info user-info-item',
- 'tabindex' => -1,
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'profile-header',
- 'title' => esc_html__( 'Profile', 'jetpack' ),
- 'meta' => array(
- 'class' => 'ab-submenu-header',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'my-profile',
- 'title' => esc_html__( 'My Profile', 'jetpack' ),
- 'href' => 'https://wordpress.com/me',
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'account-settings',
- 'title' => esc_html__( 'Account Settings', 'jetpack' ),
- 'href' => $settings_url,
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'billing',
- 'title' => esc_html__( 'Manage Purchases', 'jetpack' ),
- 'href' => 'https://wordpress.com/me/purchases',
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'security',
- 'title' => esc_html__( 'Security', 'jetpack' ),
- 'href' => 'https://wordpress.com/me/security',
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'notifications',
- 'title' => esc_html__( 'Notifications', 'jetpack' ),
- 'href' => 'https://wordpress.com/me/notifications',
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'special-header',
- 'title' => esc_html_x(
- 'Special',
- 'Title for Me sub-menu that contains Get Apps, Next Steps, and Help options',
- 'jetpack'
- ),
- 'meta' => array(
- 'class' => 'ab-submenu-header',
- ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'get-apps',
- 'title' => esc_html__( 'Get Apps', 'jetpack' ),
- 'href' => 'https://wordpress.com/me/get-apps',
- 'meta' => array(
- 'class' => 'mb-icon user-info-item',
- ),
- )
- );
-
- $help_link = 'https://jetpack.com/support/';
-
- if ( jetpack_is_atomic_site() ) {
- $help_link = 'https://wordpress.com/help';
- }
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => $id,
- 'id' => 'help',
- 'title' => esc_html__( 'Help', 'jetpack' ),
- 'href' => $help_link,
- 'meta' => array(
- 'class' => 'mb-icon user-info-item',
- ),
- )
- );
- }
-
- /**
- * Add Write Menu item.
- *
- * @param WP_Admin_Bar $wp_admin_bar Admin Bar instance.
- */
- public function add_write_button( $wp_admin_bar ) {
- $current_user = wp_get_current_user();
-
- $posting_blog_id = get_current_blog_id();
- if ( ! is_user_member_of_blog( get_current_user_id(), get_current_blog_id() ) ) {
- $posting_blog_id = $current_user->primary_blog;
- }
-
- $user_can_post = current_user_can_for_blog( $posting_blog_id, 'publish_posts' );
-
- if ( ! $posting_blog_id || ! $user_can_post ) {
- return;
- }
-
- $blog_post_page = 'https://wordpress.com/post/' . esc_attr( $this->primary_site_slug );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'top-secondary',
- 'id' => 'ab-new-post',
- 'href' => $blog_post_page,
- 'title' => '<span>' . esc_html__( 'Write', 'jetpack' ) . '</span>',
- 'meta' => array(
- 'class' => 'mb-trackable',
- ),
- )
- );
- }
-
- /**
- * Add the "My Site" menu item in the root default group.
- *
- * @param WP_Admin_Bar $wp_admin_bar Admin Bar instance.
- */
- public function add_my_sites_submenu( $wp_admin_bar ) {
- $current_user = wp_get_current_user();
-
- $blog_name = get_bloginfo( 'name' );
- if ( empty( $blog_name ) ) {
- $blog_name = $this->primary_site_slug;
- }
-
- if ( mb_strlen( $blog_name ) > 20 ) {
- $blog_name = mb_substr( html_entity_decode( $blog_name, ENT_QUOTES ), 0, 20 ) . '&hellip;';
- }
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'root-default',
- 'id' => 'blog',
- 'title' => _n( 'My Site', 'My Sites', $this->user_site_count, 'jetpack' ),
- 'href' => '#',
- 'meta' => array(
- 'class' => 'my-sites mb-trackable',
- ),
- )
- );
-
- if ( $this->user_site_count > 1 ) {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'blog',
- 'id' => 'switch-site',
- 'title' => esc_html__( 'Switch Site', 'jetpack' ),
- 'href' => 'https://wordpress.com/sites',
- )
- );
- } else {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'blog',
- 'id' => 'new-site',
- 'title' => esc_html__( '+ Add New WordPress', 'jetpack' ),
- 'href' => 'https://wordpress.com/start?ref=admin-bar-logged-in',
- )
- );
- }
-
- if ( is_user_member_of_blog( $current_user->ID ) ) {
- $blavatar = '';
- $class = 'current-site';
-
- if ( has_site_icon() ) {
- $src = get_site_icon_url();
- $blavatar = '<img class="avatar" src="' . esc_attr( $src ) . '" alt="Current site avatar">';
- $class = 'has-blavatar';
- }
-
- $blog_info = '<div class="ab-site-icon">' . $blavatar . '</div>';
- $blog_info .= '<span class="ab-site-title">' . esc_html( $blog_name ) . '</span>';
- $blog_info .= '<span class="ab-site-description">' . esc_html( $this->primary_site_url ) . '</span>';
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'blog',
- 'id' => 'blog-info',
- 'title' => $blog_info,
- 'href' => esc_url( trailingslashit( $this->primary_site_url ) ),
- 'meta' => array(
- 'class' => $class,
- ),
- )
- );
- }
-
- // Site Preview.
- if ( is_admin() ) {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'blog',
- 'id' => 'site-view',
- 'title' => __( 'View Site', 'jetpack' ),
- 'href' => home_url(),
- 'meta' => array(
- 'class' => 'mb-icon',
- 'target' => '_blank',
- ),
- )
- );
- }
-
- $this->add_my_home_submenu_item( $wp_admin_bar );
-
- // Stats.
- if ( Jetpack::is_module_active( 'stats' ) && current_user_can( 'view_stats' ) ) {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'blog',
- 'id' => 'blog-stats',
- 'title' => esc_html__( 'Stats', 'jetpack' ),
- 'href' => 'https://wordpress.com/stats/' . esc_attr( $this->primary_site_slug ),
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
- }
-
- if ( current_user_can( 'manage_options' ) ) {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'blog',
- 'id' => 'activity',
- 'title' => esc_html__( 'Activity', 'jetpack' ),
- 'href' => 'https://wordpress.com/activity-log/' . esc_attr( $this->primary_site_slug ),
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
- }
-
- // Add Calypso plans link and plan type indicator.
- if ( is_user_member_of_blog( $current_user->ID ) && current_user_can( 'manage_options' ) ) {
- $plans_url = 'https://wordpress.com/plans/' . esc_attr( $this->primary_site_slug );
- $label = esc_html__( 'Plan', 'jetpack' );
- $plan = Jetpack_Plan::get();
-
- $plan_title = $this->create_menu_item_pair(
- array(
- 'url' => $plans_url,
- 'id' => 'wp-admin-bar-plan',
- 'label' => $label,
- ),
- array(
- 'url' => $plans_url,
- 'id' => 'wp-admin-bar-plan-badge',
- 'label' => $plan['product_name_short'],
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'blog',
- 'id' => 'plan',
- 'title' => $plan_title,
- 'meta' => array(
- 'class' => 'inline-action',
- ),
- )
- );
- }
-
- // Publish group.
- $wp_admin_bar->add_group(
- array(
- 'parent' => 'blog',
- 'id' => 'publish',
- )
- );
-
- // Publish header.
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'publish',
- 'id' => 'publish-header',
- 'title' => esc_html_x( 'Manage', 'admin bar menu group label', 'jetpack' ),
- 'meta' => array(
- 'class' => 'ab-submenu-header',
- ),
- )
- );
-
- // Pages.
- $pages_title = $this->create_menu_item_pair(
- array(
- 'url' => 'https://wordpress.com/pages/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-edit-page',
- 'label' => esc_html__( 'Site Pages', 'jetpack' ),
- ),
- array(
- 'url' => 'https://wordpress.com/page/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-new-page-badge',
- 'label' => esc_html_x( 'Add', 'admin bar menu new item label', 'jetpack' ),
- )
- );
-
- if ( ! current_user_can( 'edit_pages' ) ) {
- $pages_title = $this->create_menu_item_anchor(
- 'ab-item ab-primary mb-icon',
- 'https://wordpress.com/pages/' . esc_attr( $this->primary_site_slug ),
- esc_html__( 'Site Pages', 'jetpack' ),
- 'wp-admin-bar-edit-page'
- );
- }
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'publish',
- 'id' => 'new-page',
- 'title' => $pages_title,
- 'meta' => array(
- 'class' => 'inline-action',
- ),
- )
- );
-
- // Blog Posts.
- $posts_title = $this->create_menu_item_pair(
- array(
- 'url' => 'https://wordpress.com/posts/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-edit-post',
- 'label' => esc_html__( 'Blog Posts', 'jetpack' ),
- ),
- array(
- 'url' => 'https://wordpress.com/post/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-new-post-badge',
- 'label' => esc_html_x( 'Add', 'admin bar menu new item label', 'jetpack' ),
- )
- );
-
- if ( ! current_user_can( 'edit_posts' ) ) {
- $posts_title = $this->create_menu_item_anchor(
- 'ab-item ab-primary mb-icon',
- 'https://wordpress.com/posts/' . esc_attr( $this->primary_site_slug ),
- esc_html__( 'Blog Posts', 'jetpack' ),
- 'wp-admin-bar-edit-post'
- );
- }
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'publish',
- 'id' => 'new-post',
- 'title' => $posts_title,
- 'meta' => array(
- 'class' => 'inline-action mb-trackable',
- ),
- )
- );
-
- // Comments.
- if ( current_user_can( 'moderate_comments' ) ) {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'publish',
- 'id' => 'comments',
- 'title' => __( 'Comments', 'jetpack' ),
- 'href' => 'https://wordpress.com/comments/' . esc_attr( $this->primary_site_slug ),
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
- }
-
- // Testimonials.
- if ( Jetpack::is_module_active( 'custom-content-types' ) && get_option( 'jetpack_testimonial' ) ) {
- $testimonials_title = $this->create_menu_item_pair(
- array(
- 'url' => 'https://wordpress.com/types/jetpack-testimonial/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-edit-testimonial',
- 'label' => esc_html__( 'Testimonials', 'jetpack' ),
- ),
- array(
- 'url' => 'https://wordpress.com/edit/jetpack-testimonial/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-new-testimonial',
- 'label' => esc_html_x( 'Add', 'Button label for adding a new item via the toolbar menu', 'jetpack' ),
- )
- );
-
- if ( ! current_user_can( 'edit_pages' ) ) {
- $testimonials_title = $this->create_menu_item_anchor(
- 'ab-item ab-primary mb-icon',
- 'https://wordpress.com/types/jetpack-testimonial/' . esc_attr( $this->primary_site_slug ),
- esc_html__( 'Testimonials', 'jetpack' ),
- 'wp-admin-bar-edit-testimonial'
- );
- }
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'publish',
- 'id' => 'new-jetpack-testimonial',
- 'title' => $testimonials_title,
- 'meta' => array(
- 'class' => 'inline-action',
- ),
- )
- );
- }
-
- // Portfolio.
- if ( Jetpack::is_module_active( 'custom-content-types' ) && get_option( 'jetpack_portfolio' ) ) {
- $portfolios_title = $this->create_menu_item_pair(
- array(
- 'url' => 'https://wordpress.com/types/jetpack-portfolio/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-edit-portfolio',
- 'label' => esc_html__( 'Portfolio', 'jetpack' ),
- ),
- array(
- 'url' => 'https://wordpress.com/edit/jetpack-portfolio/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-new-portfolio',
- 'label' => esc_html_x( 'Add', 'Button label for adding a new item via the toolbar menu', 'jetpack' ),
- )
- );
-
- if ( ! current_user_can( 'edit_pages' ) ) {
- $portfolios_title = $this->create_menu_item_anchor(
- 'ab-item ab-primary mb-icon',
- 'https://wordpress.com/types/jetpack-portfolio/' . esc_attr( $this->primary_site_slug ),
- esc_html__( 'Portfolio', 'jetpack' ),
- 'wp-admin-bar-edit-portfolio'
- );
- }
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'publish',
- 'id' => 'new-jetpack-portfolio',
- 'title' => $portfolios_title,
- 'meta' => array(
- 'class' => 'inline-action',
- ),
- )
- );
- }
-
- if ( current_user_can( 'edit_theme_options' ) ) {
- // Look and Feel group.
- $wp_admin_bar->add_group(
- array(
- 'parent' => 'blog',
- 'id' => 'look-and-feel',
- )
- );
-
- // Look and Feel header.
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'look-and-feel',
- 'id' => 'look-and-feel-header',
- 'title' => esc_html_x( 'Personalize', 'admin bar menu group label', 'jetpack' ),
- 'meta' => array(
- 'class' => 'ab-submenu-header',
- ),
- )
- );
-
- if ( is_admin() ) {
- // In wp-admin the `return` query arg will return to that page after closing the Customizer.
- $customizer_url = add_query_arg(
- array(
- 'return' => rawurlencode( site_url( $_SERVER['REQUEST_URI'] ) ),
- ),
- wp_customize_url()
- );
- } else {
- /*
- * On the frontend the `url` query arg will load that page in the Customizer
- * and also return to it after closing
- * non-home URLs won't work unless we undo domain mapping
- * since the Customizer preview is unmapped to always have HTTPS.
- */
- $current_page = '//' . $this->primary_site_slug . $_SERVER['REQUEST_URI'];
- $customizer_url = add_query_arg( array( 'url' => rawurlencode( $current_page ) ), wp_customize_url() );
- }
-
- $theme_title = $this->create_menu_item_pair(
- array(
- 'url' => $customizer_url,
- 'id' => 'wp-admin-bar-cmz',
- 'label' => esc_html_x( 'Customize', 'admin bar customize item label', 'jetpack' ),
- ),
- array(
- 'url' => 'https://wordpress.com/themes/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-themes',
- 'label' => esc_html__( 'Themes', 'jetpack' ),
- )
- );
- $meta = array(
- 'class' => 'mb-icon',
- 'class' => 'inline-action',
- );
- $href = false;
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'look-and-feel',
- 'id' => 'themes',
- 'title' => $theme_title,
- 'href' => $href,
- 'meta' => $meta,
- )
- );
- }
-
- if ( current_user_can( 'manage_options' ) ) {
- // Configuration group.
- $wp_admin_bar->add_group(
- array(
- 'parent' => 'blog',
- 'id' => 'configuration',
- )
- );
-
- // Configuration header.
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'configuration',
- 'id' => 'configuration-header',
- 'title' => esc_html_x( 'Configure', 'admin bar menu group label', 'jetpack' ),
- 'meta' => array(
- 'class' => 'ab-submenu-header',
- ),
- )
- );
-
- if ( Jetpack::is_module_active( 'publicize' ) || Jetpack::is_module_active( 'sharedaddy' ) ) {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'configuration',
- 'id' => 'sharing',
- 'title' => esc_html__( 'Sharing', 'jetpack' ),
- 'href' => 'https://wordpress.com/sharing/' . esc_attr( $this->primary_site_slug ),
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
- }
-
- $people_title = $this->create_menu_item_pair(
- array(
- 'url' => 'https://wordpress.com/people/team/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-people',
- 'label' => esc_html__( 'People', 'jetpack' ),
- ),
- array(
- 'url' => admin_url( 'user-new.php' ),
- 'id' => 'wp-admin-bar-people-add',
- 'label' => esc_html_x( 'Add', 'admin bar people item label', 'jetpack' ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'configuration',
- 'id' => 'users-toolbar',
- 'title' => $people_title,
- 'href' => false,
- 'meta' => array(
- 'class' => 'inline-action',
- ),
- )
- );
-
- $plugins_title = $this->create_menu_item_pair(
- array(
- 'url' => 'https://wordpress.com/plugins/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-plugins',
- 'label' => esc_html__( 'Plugins', 'jetpack' ),
- ),
- array(
- 'url' => 'https://wordpress.com/plugins/manage/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-plugins-add',
- 'label' => esc_html_x( 'Manage', 'Label for the button on the Masterbar to manage plugins', 'jetpack' ),
- )
- );
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'configuration',
- 'id' => 'plugins',
- 'title' => $plugins_title,
- 'href' => false,
- 'meta' => array(
- 'class' => 'inline-action',
- ),
- )
- );
-
- if ( jetpack_is_atomic_site() ) {
- $domain_title = $this->create_menu_item_pair(
- array(
- 'url' => 'https://wordpress.com/domains/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-domains',
- 'label' => esc_html__( 'Domains', 'jetpack' ),
- ),
- array(
- 'url' => 'https://wordpress.com/domains/add/' . esc_attr( $this->primary_site_slug ),
- 'id' => 'wp-admin-bar-domains-add',
- 'label' => esc_html_x( 'Add', 'Label for the button on the Masterbar to add a new domain', 'jetpack' ),
- )
- );
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'configuration',
- 'id' => 'domains',
- 'title' => $domain_title,
- 'href' => false,
- 'meta' => array(
- 'class' => 'inline-action',
- ),
- )
- );
- }
-
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'configuration',
- 'id' => 'blog-settings',
- 'title' => esc_html__( 'Settings', 'jetpack' ),
- 'href' => 'https://wordpress.com/settings/general/' . esc_attr( $this->primary_site_slug ),
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
-
- if ( ! is_admin() ) {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'configuration',
- 'id' => 'legacy-dashboard',
- 'title' => esc_html__( 'Dashboard', 'jetpack' ),
- 'href' => admin_url(),
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
- }
-
- // Restore dashboard menu toggle that is needed on mobile views.
- if ( is_admin() ) {
- $wp_admin_bar->add_menu(
- array(
- 'id' => 'menu-toggle',
- 'title' => '<span class="ab-icon"></span><span class="screen-reader-text">' . esc_html__( 'Menu', 'jetpack' ) . '</span>',
- 'href' => '#',
- )
- );
- }
-
- /**
- * Fires when menu items are added to the masterbar "My Sites" menu.
- *
- * @since 5.4.0
- */
- do_action( 'jetpack_masterbar' );
- }
- }
-
- /**
- * Calls the wpcom API to get the creation date of the site
- * and determine if it's eligible for the 'My Home' page.
- *
- * @return bool Whether the site has 'My Home' enabled.
- */
- private function is_my_home_enabled() {
- $my_home_enabled = get_transient( 'jetpack_my_home_enabled' );
-
- if ( false === $my_home_enabled ) {
- $site_id = Jetpack_Options::get_option( 'id' );
- $site_response = Client::wpcom_json_api_request_as_blog(
- sprintf( '/sites/%d', $site_id ) . '?force=wpcom&options=created_at',
- '1.1'
- );
-
- if ( is_wp_error( $site_response ) ) {
- return false;
- }
-
- $site_data = json_decode( wp_remote_retrieve_body( $site_response ) );
-
- $my_home_enabled = $site_data &&
- isset( $site_data->options->created_at ) &&
- ( new Datetime( '2019-08-06 00:00:00.000' ) ) <= ( new Datetime( $site_data->options->created_at ) )
- ? 1
- : 0;
-
- set_transient( 'jetpack_my_home_enabled', $my_home_enabled );
- }
-
- return (bool) $my_home_enabled;
- }
-
- /**
- * Adds "My Home" submenu item to sites that are eligible.
- *
- * @param WP_Admin_Bar $wp_admin_bar Admin Bar instance.
- * @return void
- */
- private function add_my_home_submenu_item( &$wp_admin_bar ) {
- if ( ! current_user_can( 'manage_options' ) || ! jetpack_is_atomic_site() ) {
- return;
- }
-
- if ( $this->is_my_home_enabled() ) {
- $wp_admin_bar->add_menu(
- array(
- 'parent' => 'blog',
- 'id' => 'my-home',
- 'title' => __( 'My Home', 'jetpack' ),
- 'href' => 'https://wordpress.com/home/' . esc_attr( $this->primary_site_slug ),
- 'meta' => array(
- 'class' => 'mb-icon',
- ),
- )
- );
- }
- }
-}
diff --git a/plugins/jetpack/modules/masterbar/masterbar/class-masterbar.php b/plugins/jetpack/modules/masterbar/masterbar/class-masterbar.php
index 260a38fd..487c59fa 100644
--- a/plugins/jetpack/modules/masterbar/masterbar/class-masterbar.php
+++ b/plugins/jetpack/modules/masterbar/masterbar/class-masterbar.php
@@ -439,7 +439,11 @@ class Masterbar {
}
}
- return $jetpack_locale;
+ if ( isset( $jetpack_locale ) ) {
+ return $jetpack_locale;
+ }
+
+ return 'en_US';
}
/**
@@ -1253,11 +1257,12 @@ class Masterbar {
)
);
+ $request_uri = isset( $_SERVER['REQUEST_URI'] ) ? filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ) : '';
if ( is_admin() ) {
// In wp-admin the `return` query arg will return to that page after closing the Customizer.
$customizer_url = add_query_arg(
array(
- 'return' => rawurlencode( site_url( $_SERVER['REQUEST_URI'] ) ),
+ 'return' => rawurlencode( site_url( $request_uri ) ),
),
wp_customize_url()
);
@@ -1268,7 +1273,7 @@ class Masterbar {
* non-home URLs won't work unless we undo domain mapping
* since the Customizer preview is unmapped to always have HTTPS.
*/
- $current_page = '//' . $this->primary_site_slug . $_SERVER['REQUEST_URI'];
+ $current_page = '//' . $this->primary_site_slug . $request_uri;
$customizer_url = add_query_arg( array( 'url' => rawurlencode( $current_page ) ), wp_customize_url() );
}
diff --git a/plugins/jetpack/modules/masterbar/nudges/additional-css/class-atomic-additional-css-manager.php b/plugins/jetpack/modules/masterbar/nudges/additional-css/class-atomic-additional-css-manager.php
index 5f6893d8..1787cfdd 100644
--- a/plugins/jetpack/modules/masterbar/nudges/additional-css/class-atomic-additional-css-manager.php
+++ b/plugins/jetpack/modules/masterbar/nudges/additional-css/class-atomic-additional-css-manager.php
@@ -41,7 +41,7 @@ class Atomic_Additional_CSS_Manager {
$nudge = new CSS_Customizer_Nudge(
$this->get_nudge_url(),
- __( 'Purchase a Business Plan to<br> activate CSS customization', 'jetpack' )
+ __( 'Purchase a Pro Plan to<br> activate CSS customization', 'jetpack' )
);
$wp_customize_manager->remove_control( 'custom_css' );
@@ -56,6 +56,6 @@ class Atomic_Additional_CSS_Manager {
* @return string
*/
private function get_nudge_url() {
- return '/checkout/' . $this->domain . '/business';
+ return '/checkout/' . $this->domain . '/pro';
}
}
diff --git a/plugins/jetpack/modules/masterbar/nudges/additional-css/class-wpcom-additional-css-manager.php b/plugins/jetpack/modules/masterbar/nudges/additional-css/class-wpcom-additional-css-manager.php
index 51fd3859..8fc60d34 100644
--- a/plugins/jetpack/modules/masterbar/nudges/additional-css/class-wpcom-additional-css-manager.php
+++ b/plugins/jetpack/modules/masterbar/nudges/additional-css/class-wpcom-additional-css-manager.php
@@ -38,9 +38,12 @@ class WPCOM_Additional_CSS_Manager {
* @param \WP_Customize_Manager $wp_customize_manager The core customize manager.
*/
public function register_nudge( \WP_Customize_Manager $wp_customize_manager ) {
+ $nudge_url = $this->get_nudge_url();
+ $nudge_text = __( 'Purchase a Pro Plan to<br> activate CSS customization', 'jetpack' );
+
$nudge = new CSS_Customizer_Nudge(
- $this->get_nudge_url(),
- __( 'Purchase a Premium Plan to<br> activate CSS customization', 'jetpack' ),
+ $nudge_url,
+ $nudge_text,
'jetpack_custom_css'
);
@@ -53,6 +56,6 @@ class WPCOM_Additional_CSS_Manager {
* @return string
*/
private function get_nudge_url() {
- return '/checkout/' . $this->domain . '/premium';
+ return '/checkout/' . $this->domain . '/pro';
}
}
diff --git a/plugins/jetpack/modules/masterbar/overrides.css b/plugins/jetpack/modules/masterbar/overrides.css
deleted file mode 100644
index d6a09be0..00000000
--- a/plugins/jetpack/modules/masterbar/overrides.css
+++ /dev/null
@@ -1,132 +0,0 @@
-/* Remove min-height from menu elements that was causing them to render incorrectly */
-.my-sites li {
- min-height: unset !important;
-}
-
-/* Overwrite a core style which breaks the overflow for .my-sites in Safari */
-#wpadminbar li.menupop.my-sites {
- overflow: visible;
-}
-
-/* Add a focus style for menu items */
-.accessible-focus #wpadminbar li.menupop a.ab-item:focus,
-.accessible-focus #wpadminbar li#wp-admin-bar-notes.menupop .ab-item:focus,
-.accessible-focus #wpadminbar ul li#wp-admin-bar-ab-new-post a:focus {
- -webkit-box-shadow: inset 2px 2px 0 #668eaa,
- inset -2px -2px 0 #668eaa;
- box-shadow: inset 2px 2px 0 #668eaa,
- inset -2px -2px 0 #668eaa;
-}
-
-/* Menu items in panels are inside `ab-empty-item` */
-.accessible-focus #wpadminbar li.menupop .ab-empty-item a.ab-item:focus,
-.accessible-focus #wpadminbar li.menupop .ab-empty-item a.ab-secondary:focus,
-.accessible-focus #wpadminbar li.menupop .ab-empty-item a.username:focus {
- -webkit-box-shadow: inset 2px 2px 0 #2e4354,
- inset -2px -2px 0 #2e4354;
- box-shadow: inset 2px 2px 0 #2e4354,
- inset -2px -2px 0 #2e4354;
-}
-
-.accessible-focus #wpadminbar .quicklinks li#wp-admin-bar-my-account #wp-admin-bar-user-info .ab-sign-out:focus {
- -webkit-box-shadow: inset 2px 2px 0 #2e4354,
- inset -2px -2px 0 #2e4354 !important;
- box-shadow: inset 2px 2px 0 #2e4354,
- inset -2px -2px 0 #2e4354 !important;
-}
-
-.accessible-focus #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus {
- background: transparent;
-}
-
-/* Hide the panels initially */
-#wpadminbar li#wp-admin-bar-blog.menupop > .ab-sub-wrapper, /* My Sites */
-#wpadminbar li#wp-admin-bar-newdash.menupop > .ab-sub-wrapper, /* Reader */
-#wpadminbar li#wp-admin-bar-my-account.menupop > .ab-sub-wrapper, /* Me */
-#wpadminbar li#wp-admin-bar-notes.menupop > #wpnt-notes-panel2 { /* Notifications */
- display: block !important;
-}
-
-/* Change notification icon the match the one on WP.com */
-#wp-admin-bar-notes .noticon-bell:before {
- content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cmVjdCB4PSIwIiBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48Zz48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNNi4xNCAxNC45N2wyLjgyOCAyLjgyN2MtLjM2Mi4zNjItLjg2Mi41ODYtMS40MTQuNTg2LTEuMTA1IDAtMi0uODk1LTItMiAwLS41NTIuMjI0LTEuMDUyLjU4Ni0xLjQxNHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRjMi4zNC0yLjM0IDYuMTM1LTIuMzQgOC40NzUgMHMyLjM0IDYuMTM1IDAgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L2c+PC9zdmc+") !important;
-}
-#wp-admin-bar-notes.active .noticon-bell:before {
- content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cmVjdCB4PSIwIiBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48Zz48cGF0aCBmaWxsPSIjMjMyODJkIiBkPSJNNi4xNCAxNC45N2wyLjgyOCAyLjgyN2MtLjM2Mi4zNjItLjg2Mi41ODYtMS40MTQuNTg2LTEuMTA1IDAtMi0uODk1LTItMiAwLS41NTIuMjI0LTEuMDUyLjU4Ni0xLjQxNHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRjMi4zNC0yLjM0IDYuMTM1LTIuMzQgOC40NzUgMHMyLjM0IDYuMTM1IDAgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L2c+PC9zdmc+") !important;
-}
-
-/* Fit width of sign out button to content */
-#wpadminbar .quicklinks li#wp-admin-bar-my-account #wp-admin-bar-user-info .ab-sign-out {
- display: inline-block;
-}
-
-/* Move the admin menu toggle in Gutenberg - https://github.com/Automattic/jetpack/issues/12320 */
-.jetpack-masterbar.post-new-php.block-editor-page #wpadminbar #wp-admin-bar-ab-new-post {
- display: none;
-}
-
-.jetpack-masterbar.post-new-php.block-editor-page #wpadminbar #wp-admin-bar-menu-toggle {
- top: -4px;
- position: relative;
-}
-
-.jetpack-masterbar.post-new-php.block-editor-page #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
- color: #fff !important;
- font-size: 28px;
-}
-
-.jetpack-masterbar #wpadminbar #wp-admin-bar-recovery-mode {
- background-color: #ca4a1f;
- color: #fff;
- margin-right: 1em;
-}
-
-@media screen and (max-width: 480px) {
- .jetpack-masterbar.post-new-php.block-editor-page #wp-toolbar ul li {
- flex: 1;
- width: auto !important;
- }
-
- .jetpack-masterbar.post-new-php.block-editor-page #wpadminbar ul#wp-admin-bar-root-default {
- width: 60%;
- }
-
- .jetpack-masterbar.post-new-php.block-editor-page #wpadminbar ul#wp-admin-bar-top-secondary {
- width: 40%;
- }
-
- .wp-admin.jetpack-masterbar.post-new-php.block-editor-page .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle {
- left: 0;
- }
-}
-
-@media screen and (max-width: 782px) {
- .wp-admin.jetpack-masterbar.post-new-php.block-editor-page .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle {
- left: 0 !important;
- }
-
- .jetpack-masterbar.post-new-php.block-editor-page #wp-toolbar,
- .jetpack-masterbar.post-new-php.block-editor-page #wp-toolbar ul {
- display: flex;
- }
-
- .jetpack-masterbar.post-new-php.block-editor-page #wpadminbar ul#wp-admin-bar-root-default {
- flex-grow: 1;
- }
-
- .jetpack-masterbar.post-new-php.block-editor-page #wpadminbar li#wp-admin-bar-menu-toggle {
- order: 1;
- }
-
- .jetpack-masterbar.post-new-php.block-editor-page #wpadminbar li#wp-admin-bar-blog {
- order: 2;
- }
-
- .jetpack-masterbar.post-new-php.block-editor-page #wpadminbar li#wp-admin-bar-newdash {
- order: 3;
- }
-
- .jetpack-masterbar #wpadminbar #wp-admin-bar-recovery-mode {
- display: none;
- }
-}
diff --git a/plugins/jetpack/modules/masterbar/rtl-admin-bar.php b/plugins/jetpack/modules/masterbar/rtl-admin-bar.php
deleted file mode 100644
index 539aa3fe..00000000
--- a/plugins/jetpack/modules/masterbar/rtl-admin-bar.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-
-if ( ! class_exists( 'WP_Admin_Bar' ) ) {
- require_once ABSPATH . '/wp-includes/class-wp-admin-bar.php';
-}
-
-/**
- * We are using this class to replace core WP_Admin_Bar in cases when
- * we need to override the default styles with rtl ones. This is
- * achieved by adding 'rtl' class to #wpadminbar div. Apart from that
- * the output of render method should be the same as the one of base class.
- */
-class RTL_Admin_Bar extends WP_Admin_Bar {
- /**
- * Display the admin bar.
- */
- public function render() {
- global $is_IE;
- $root = $this->_bind();
-
- // Add browser and RTL classes.
- // We have to do this here since admin bar shows on the front end.
- $class = 'nojq nojs rtl';
- if ( $is_IE ) {
- if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 7' ) ) {
- $class .= ' ie7';
- } elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 8' ) ) {
- $class .= ' ie8';
- } elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 9' ) ) {
- $class .= ' ie9';
- }
- } elseif ( wp_is_mobile() ) {
- $class .= ' mobile';
- }
-
- ?>
- <div id="wpadminbar" class="<?php echo esc_attr( $class ); ?>">
- <?php if ( ! is_admin() ) : ?>
- <a class="screen-reader-shortcut" href="#wp-toolbar" tabindex="1"><?php esc_html_e( 'Skip to toolbar', 'jetpack' ); ?></a>
- <?php endif; ?>
- <div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="<?php esc_attr_e( 'Toolbar', 'jetpack' ); ?>" tabindex="0">
- <?php
- foreach ( $root->children as $group ) :
- $this->_render_group( $group );
- endforeach;
- ?>
- </div>
- <?php if ( is_user_logged_in() ) : ?>
- <a class="screen-reader-shortcut" href="<?php echo esc_url( wp_logout_url() ); ?>"><?php esc_html_e( 'Log Out', 'jetpack' ); ?></a>
- <?php endif; ?>
- </div>
-
- <?php
- }
-}
diff --git a/plugins/jetpack/modules/masterbar/tracks-events.js b/plugins/jetpack/modules/masterbar/tracks-events.js
deleted file mode 100644
index 76bd6a23..00000000
--- a/plugins/jetpack/modules/masterbar/tracks-events.js
+++ /dev/null
@@ -1,160 +0,0 @@
-/*globals jQuery, JSON */
-( function( $ ) {
- var eventName = 'masterbar_click';
-
- var linksTracksEvents = {
- //top level items
- 'wp-admin-bar-blog': 'my_sites',
- 'wp-admin-bar-newdash': 'reader',
- 'wp-admin-bar-ab-new-post': 'write_button',
- 'wp-admin-bar-my-account': 'my_account',
- 'wp-admin-bar-notes': 'notifications',
- //my sites - top items
- 'wp-admin-bar-switch-site': 'my_sites_switch_site',
- 'wp-admin-bar-blog-info': 'my_sites_blog_info',
- 'wp-admin-bar-site-view': 'my_sites_view_site',
- 'wp-admin-bar-my-home': 'my_sites_my_home',
- 'wp-admin-bar-blog-stats': 'my_sites_blog_stats',
- 'wp-admin-bar-activity': 'my_sites_activity',
- 'wp-admin-bar-plan': 'my_sites_plan',
- 'wp-admin-bar-plan-badge': 'my_sites_plan_badge',
- //my sites - manage
- 'wp-admin-bar-edit-page': 'my_sites_manage_site_pages',
- 'wp-admin-bar-new-page-badge': 'my_sites_manage_add_page',
- 'wp-admin-bar-edit-post': 'my_sites_manage_blog_posts',
- 'wp-admin-bar-new-post-badge': 'my_sites_manage_add_new_post',
- 'wp-admin-bar-edit-attachment': 'my_sites_manage_media',
- 'wp-admin-bar-new-attachment-badge': 'my_sites_manage_add_media',
- 'wp-admin-bar-comments': 'my_sites_manage_comments',
- 'wp-admin-bar-edit-testimonial': 'my_sites_manage_testimonials',
- 'wp-admin-bar-new-testimonial': 'my_sites_manage_add_testimonial',
- 'wp-admin-bar-edit-portfolio': 'my_sites_manage_portfolio',
- 'wp-admin-bar-new-portfolio': 'my_sites_manage_add_portfolio',
- //my sites - personalize
- 'wp-admin-bar-themes': 'my_sites_personalize_themes',
- 'wp-admin-bar-cmz': 'my_sites_personalize_themes_customize',
- //my sites - configure
- 'wp-admin-bar-sharing': 'my_sites_configure_sharing',
- 'wp-admin-bar-people': 'my_sites_configure_people',
- 'wp-admin-bar-people-add': 'my_sites_configure_people_add_button',
- 'wp-admin-bar-plugins': 'my_sites_configure_plugins',
- 'wp-admin-bar-plugins-add': 'my_sites_configure_manage_plugins',
- 'wp-admin-bar-blog-settings': 'my_sites_configure_settings',
- //reader
- 'wp-admin-bar-followed-sites': 'reader_followed_sites',
- 'wp-admin-bar-reader-followed-sites-manage': 'reader_manage_followed_sites',
- 'wp-admin-bar-discover-discover': 'reader_discover',
- 'wp-admin-bar-discover-search': 'reader_search',
- 'wp-admin-bar-discover-recommended-blogs': 'reader_recommendations',
- 'wp-admin-bar-my-activity-my-likes': 'reader_my_likes',
- //account
- 'wp-admin-bar-user-info': 'my_account_user_name',
- // account - profile
- 'wp-admin-bar-my-profile': 'my_account_profile_my_profile',
- 'wp-admin-bar-account-settings': 'my_account_profile_account_settings',
- 'wp-admin-bar-billing': 'my_account_profile_manage_purchases',
- 'wp-admin-bar-security': 'my_account_profile_security',
- 'wp-admin-bar-notifications': 'my_account_profile_notifications',
- //account - special
- 'wp-admin-bar-get-apps': 'my_account_special_get_apps',
- 'wp-admin-bar-next-steps': 'my_account_special_next_steps',
- 'wp-admin-bar-help': 'my_account_special_help',
- };
-
- var notesTracksEvents = {
- openSite: function( data ) {
- return {
- clicked: 'masterbar_notifications_panel_site',
- site_id: data.siteId,
- };
- },
- openPost: function( data ) {
- return {
- clicked: 'masterbar_notifications_panel_post',
- site_id: data.siteId,
- post_id: data.postId,
- };
- },
- openComment: function( data ) {
- return {
- clicked: 'masterbar_notifications_panel_comment',
- site_id: data.siteId,
- post_id: data.postId,
- comment_id: data.commentId,
- };
- },
- };
-
- function parseJson( s, defaultValue ) {
- try {
- return JSON.parse( s );
- } catch ( e ) {
- return defaultValue;
- }
- }
-
- $( document ).ready( function() {
- var trackableLinks =
- '.mb-trackable .ab-item:not(div),' +
- '#wp-admin-bar-notes .ab-item,' +
- '#wp-admin-bar-user-info .ab-item,' +
- '.mb-trackable .ab-secondary';
-
- $( trackableLinks ).on( 'click touchstart', function( e ) {
- if ( ! window.jpTracksAJAX || 'function' !== typeof window.jpTracksAJAX.record_ajax_event ) {
- return;
- }
-
- var $target = $( e.target ),
- $parent = $target.closest( 'li' );
-
- if ( ! $target.is( 'a' ) ) {
- $target = $target.closest( 'a' );
- }
-
- if ( ! $parent || ! $target ) {
- return;
- }
-
- var trackingId = $target.attr( 'ID' ) || $parent.attr( 'ID' );
-
- if ( ! linksTracksEvents.hasOwnProperty( trackingId ) ) {
- return;
- }
- var eventProps = { clicked: linksTracksEvents[ trackingId ] };
-
- if ( $parent.hasClass( 'menupop' ) ) {
- window.jpTracksAJAX.record_ajax_event( eventName, 'click', eventProps );
- } else {
- e.preventDefault();
- window.jpTracksAJAX.record_ajax_event( eventName, 'click', eventProps ).always( function() {
- window.location = $target.attr( 'href' );
- } );
- }
- } );
- } );
-
- // listen for postMessage events from the notifications iframe
- $( window ).on( 'message', function( e ) {
- if ( ! window.jpTracksAJAX || 'function' !== typeof window.jpTracksAJAX.record_ajax_event ) {
- return;
- }
-
- var event = ! e.data && e.originalEvent.data ? e.originalEvent : e;
- if ( event.origin !== 'https://widgets.wp.com' ) {
- return;
- }
-
- var data = 'string' === typeof event.data ? parseJson( event.data, {} ) : event.data;
- if ( 'notesIframeMessage' !== data.type ) {
- return;
- }
-
- var eventData = notesTracksEvents[ data.action ];
- if ( ! eventData ) {
- return;
- }
-
- window.jpTracksAJAX.record_ajax_event( eventName, 'click', eventData( data ) );
- } );
-} )( jQuery );
diff --git a/plugins/jetpack/modules/masterbar/wp-posts-list/class-posts-list-page-notification.php b/plugins/jetpack/modules/masterbar/wp-posts-list/class-posts-list-page-notification.php
index b59ed2da..6149481e 100644
--- a/plugins/jetpack/modules/masterbar/wp-posts-list/class-posts-list-page-notification.php
+++ b/plugins/jetpack/modules/masterbar/wp-posts-list/class-posts-list-page-notification.php
@@ -67,7 +67,7 @@ class Posts_List_Page_Notification {
* @return Posts_List_Page_Notification
*/
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new self( \get_option( 'page_for_posts' ), \get_option( 'show_on_front' ), \get_option( 'page_on_front' ) );
}
diff --git a/plugins/jetpack/modules/memberships/class-jetpack-memberships.php b/plugins/jetpack/modules/memberships/class-jetpack-memberships.php
index ae8a3d8a..e2752b6d 100644
--- a/plugins/jetpack/modules/memberships/class-jetpack-memberships.php
+++ b/plugins/jetpack/modules/memberships/class-jetpack-memberships.php
@@ -108,8 +108,8 @@ class Jetpack_Memberships {
if ( ! self::$instance ) {
self::$instance = new self();
self::$instance->register_init_hook();
- // Yes, `personal-bundle` with a dash, `jetpack_personal` with an underscore. Check the v1.5 endpoint to verify.
- self::$required_plan = ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ? 'personal-bundle' : 'jetpack_personal';
+ // Yes, `pro-plan` with a dash, `jetpack_personal` with an underscore. Check the v1.5 endpoint to verify.
+ self::$required_plan = ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ? 'pro-plan' : 'jetpack_personal';
}
return self::$instance;
@@ -312,7 +312,7 @@ class Jetpack_Memberships {
$content = str_replace( 'recurring-payments-id', $block_id, $content );
$content = str_replace( 'wp-block-jetpack-recurring-payments', 'wp-block-jetpack-recurring-payments wp-block-button', $content );
$subscribe_url = $this->get_subscription_url( $plan_id );
- return str_replace( 'href="#"', 'href="' . $subscribe_url . '"', $content );
+ return preg_replace( '/(href=".*")/', 'href="' . $subscribe_url . '"', $content );
}
return $this->deprecated_render_button_v1( $attributes, $plan_id );
@@ -446,14 +446,8 @@ class Jetpack_Memberships {
* Whether the site's plan supports the Recurring Payments block.
*/
public static function is_supported_jetpack_recurring_payments() {
- // For WPCOM sites.
- if ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'has_any_blog_stickers' ) ) {
- $site_id = get_current_blog_id();
- return has_any_blog_stickers( array( 'personal-plan', 'premium-plan', 'business-plan', 'ecommerce-plan' ), $site_id );
- }
- // For Jetpack sites.
return (
- Jetpack::is_connection_ready() &&
+ ( ( defined( 'IS_WPCOM' ) && IS_WPCOM ) || Jetpack::is_connection_ready() ) &&
Jetpack_Plan::supports( 'recurring-payments' )
);
}
diff --git a/plugins/jetpack/modules/minileven.php b/plugins/jetpack/modules/minileven.php
deleted file mode 100644
index 0a12d167..00000000
--- a/plugins/jetpack/modules/minileven.php
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-/**
- * Module Name: Mobile Theme
- * Module Description: Enable the Jetpack Mobile theme
- * Sort Order: 21
- * Recommendation Order: 11
- * First Introduced: 1.8
- * Requires Connection: No
- * Auto Activate: No
- * Module Tags: Appearance, Mobile, Recommended
- * Feature: Appearance
- * Additional Search Queries: mobile, theme, minileven
- */
-
-function jetpack_load_minileven() {
- include dirname( __FILE__ ) . "/minileven/minileven.php";
-
- if ( Jetpack_Options::get_option_and_ensure_autoload( 'wp_mobile_app_promos', '0' ) != '1' )
- remove_action( 'wp_mobile_theme_footer', 'jetpack_mobile_app_promo' );
-}
-
-add_action( 'jetpack_modules_loaded', 'minileven_loaded' );
-
-function minileven_loaded() {
- Jetpack::enable_module_configurable( __FILE__ );
-}
-
-function minileven_theme_root( $theme_root ) {
- if ( jetpack_check_mobile() ) {
- return dirname( __FILE__ ) . '/minileven/theme';
- }
-
- return $theme_root;
-}
-
-add_filter( 'theme_root', 'minileven_theme_root' );
-
-function minileven_theme_root_uri( $theme_root_uri ) {
- if ( jetpack_check_mobile() ) {
- return plugins_url( 'modules/minileven/theme', dirname( __FILE__ ) );
- }
-
- return $theme_root_uri;
-}
-
-add_filter( 'theme_root_uri', 'minileven_theme_root_uri' );
-
-function minileven_enabled( $wp_mobile_disable_option ) {
- return true;
-}
-
-if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- add_filter( 'option_wp_mobile_disable', 'minileven_enabled' );
-}
-
-jetpack_load_minileven();
diff --git a/plugins/jetpack/modules/minileven/images/wp-app-devices.png b/plugins/jetpack/modules/minileven/images/wp-app-devices.png
deleted file mode 100644
index 2efefe20..00000000
--- a/plugins/jetpack/modules/minileven/images/wp-app-devices.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/minileven/minileven.php b/plugins/jetpack/modules/minileven/minileven.php
deleted file mode 100644
index d5402429..00000000
--- a/plugins/jetpack/modules/minileven/minileven.php
+++ /dev/null
@@ -1,360 +0,0 @@
-<?php
-
-// ********** modify blog option 'wp_mobile_template' manually to specify a theme (ex. 'vip/cnnmobile')
-
-// WordPress Mobile Edition
-//
-// Copyright (c) 2002-2008 Alex King
-// http://alexking.org/projects/wordpress
-//
-// Released under the GPL license
-// https://www.opensource.org/licenses/gpl-license.php
-//
-// **********************************************************************
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-// *****************************************************************
-
-/*
-Plugin Name: WordPress Mobile Edition
-Plugin URI: http://alexking.org/projects/wordpress
-Description: Show a mobile view of the post/page if the visitor is on a known mobile device. Questions on configuration, etc.? Make sure to read the README.
-Author: Alex King
-Author URI: http://alexking.org
-Version: 2.1a-WPCOM
-*/
-
-$_SERVER['REQUEST_URI'] = ( isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : $_SERVER['SCRIPT_NAME'] . (( isset($_SERVER['QUERY_STRING']) ? '?' . $_SERVER['QUERY_STRING'] : '')));
-
-function jetpack_check_mobile() {
- // allow mobile theme to be disabled via query string for testing during deprecation.
- if ( isset( $_GET['jetpack-preview'] ) && 'responsivetheme' === $_GET['jetpack-preview'] )
- return false;
- if ( ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) || ( defined('APP_REQUEST') && APP_REQUEST ) )
- return false;
- if ( !isset($_SERVER["HTTP_USER_AGENT"]) || (isset($_COOKIE['akm_mobile']) && $_COOKIE['akm_mobile'] == 'false') )
- return false;
- if ( jetpack_mobile_exclude() )
- return false;
- if ( 1 == Jetpack_Options::get_option_and_ensure_autoload( 'wp_mobile_disable', '0' ) )
- return false;
- if ( isset($_COOKIE['akm_mobile']) && $_COOKIE['akm_mobile'] == 'true' )
- return true;
-
- $is_mobile = jetpack_is_mobile();
-
- /**
- * Filter the Mobile check results.
- *
- * @module minileven
- *
- * @since 1.8.0
- *
- * @param bool $is_mobile Is the reader on a mobile device.
- */
- return apply_filters( 'jetpack_check_mobile', $is_mobile );
-}
-
-function jetpack_mobile_exclude() {
- $exclude = false;
- $pages_to_exclude = array(
- 'wp-admin',
- 'wp-comments-post.php',
- 'wp-mail.php',
- 'wp-login.php',
- 'wp-activate.php',
- );
- foreach ( $pages_to_exclude as $exclude_page ) {
- if ( strstr( strtolower( $_SERVER['REQUEST_URI'] ), $exclude_page ) )
- $exclude = true;
- }
-
- if ( defined( 'DOING_AJAX' ) && true === DOING_AJAX )
- $exclude = false;
-
- if ( isset( $GLOBALS['wp_customize'] ) )
- return true;
-
- return $exclude;
-}
-
-function wp_mobile_get_main_template() {
- remove_action( 'option_template', 'jetpack_mobile_template' );
- $template = get_option( 'template' );
- add_action( 'option_template', 'jetpack_mobile_template' );
- return $template;
-}
-
-function wp_mobile_get_main_stylesheet() {
- remove_action( 'option_stylesheet', 'jetpack_mobile_stylesheet' );
- $stylesheet = get_option( 'stylesheet' );
- add_action( 'option_stylesheet', 'jetpack_mobile_stylesheet' );
- return $stylesheet;
-}
-
-function jetpack_mobile_stylesheet( $theme ) {
- /**
- * Filter Jetpack's Mobile stylesheet.
- *
- * @module minileven
- *
- * @since 1.8.0
- *
- * @param string $theme Theme.
- */
- return apply_filters( 'jetpack_mobile_stylesheet', 'pub/minileven', $theme );
-}
-
-function jetpack_mobile_template( $theme ) {
- /**
- * Filter Jetpack's Mobile template.
- *
- * @module minileven
- *
- * @since 1.8.0
- *
- * @param string $theme Theme.
- */
- return apply_filters( 'jetpack_mobile_template', 'pub/minileven', $theme );
-}
-
-function jetpack_mobile_available() {
- /*
- * Create HTML markup with a link to "View Mobile Site".
- * The link adds "ak_action=accept_mobile" to the current URL.
- */
- global $wp;
- $url_params = array(
- 'ak_action' => 'accept_mobile',
- );
- if ( is_array( $_GET ) && ! empty( $_GET ) ) {
- $url_params[] = $_GET;
- }
- $target_url = home_url( add_query_arg( $url_params, $wp->request ) );
- $anchor = '<a href="' . esc_url( $target_url ) . '">' . __( 'View Mobile Site', 'jetpack' ) . '</a>';
- echo '<div class="jetpack-mobile-link" style="text-align:center;margin:10px 0;">' . $anchor . '</div>';
-}
-
-function jetpack_mobile_request_handler() {
- global $wpdb;
- if (isset($_GET['ak_action'])) {
- $url = wp_parse_url( get_bloginfo( 'url' ) );
- $domain = $url['host'];
- if (!empty($url['path'])) {
- $path = $url['path'];
- }
- else {
- $path = '/';
- }
- $redirect = false;
- switch ($_GET['ak_action']) {
- case 'reject_mobile':
- setcookie(
- 'akm_mobile'
- , 'false'
- , time() + 300000
- , $path
- , $domain
- );
- $redirect = true;
-
- /**
- * In Jetpack's Mobile theme, fires after the user taps on the link to display a full version of the site.
- *
- * @module minileven
- *
- * @since 1.8.0
- */
- do_action( 'mobile_reject_mobile' );
- break;
- case 'force_mobile':
- case 'accept_mobile':
- setcookie(
- 'akm_mobile'
- , 'true'
- , time() + 300000
- , $path
- , $domain
- );
- $redirect = true;
-
- /**
- * In Jetpack's Mobile theme, fires after the user taps on the link to go back from full site to mobile site.
- *
- * @module minileven
- *
- * @since 1.8.0
- */
- do_action( 'mobile_force_mobile' );
- break;
- }
- if ($redirect) {
- if ( isset( $_GET['redirect_to'] ) && $_GET['redirect_to'] ) {
- $go = urldecode( $_GET['redirect_to'] );
- } else {
- $go = remove_query_arg( array( 'ak_action' ) );
- }
- wp_safe_redirect( $go );
- exit;
- }
- }
-}
-add_action('init', 'jetpack_mobile_request_handler');
-
-function jetpack_mobile_theme_setup() {
- if ( jetpack_check_mobile() ) {
- // Redirect to download page if user clicked mobile app promo link in mobile footer
- if ( isset( $_GET['app-download'] ) ) {
- /**
- * Fires before you're redirected to download page if you clicked the mobile app promo link in mobile footer
- *
- * @module minileven
- *
- * @since 1.8.0
- *
- * @param string $_GET['app-download'] app-download URL parameter.
- */
- do_action( 'mobile_app_promo_download', $_GET['app-download'] );
-
- switch ( $_GET['app-download'] ) {
- case 'android':
- header( 'Location: market://search?q=pname:org.wordpress.android' );
- exit;
- break;
- case 'ios':
- header( 'Location: https://itunes.apple.com/us/app/wordpress/id335703880?mt=8' );
- exit;
- break;
- case 'blackberry':
- header( 'Location: http://blackberry.wordpress.org/download/' );
- exit;
- break;
- }
- }
-
- add_action('stylesheet', 'jetpack_mobile_stylesheet');
- add_action('template', 'jetpack_mobile_template');
- add_action('option_template', 'jetpack_mobile_template');
- add_action('option_stylesheet', 'jetpack_mobile_stylesheet');
-
- if ( class_exists( 'Jetpack_Custom_CSS' ) && method_exists( 'Jetpack_Custom_CSS', 'disable' ) && ! get_option( 'wp_mobile_custom_css' ) )
- add_action( 'init', array( 'Jetpack_Custom_CSS', 'disable' ), 11 );
-
- /**
- * Fires after Jetpack's mobile theme has been setup.
- *
- * @module minileven
- *
- * @since 1.8.0
- */
- do_action( 'mobile_setup' );
- }
-}
-
-// Need a hook after plugins_loaded (since this code won't be loaded in Jetpack
-// until then) but after init (because it has its own init hooks to add).
-add_action( 'setup_theme', 'jetpack_mobile_theme_setup' );
-
-if (isset($_COOKIE['akm_mobile']) && $_COOKIE['akm_mobile'] == 'false') {
- add_action('wp_footer', 'jetpack_mobile_available');
-}
-
-function jetpack_mobile_app_promo() {
- ?>
- <script type="text/javascript">
- if ( ! navigator.userAgent.match( /wp-(iphone|android|blackberry|nokia|windowsphone)/i ) ) {
- if ( ( navigator.userAgent.match( /iphone/i ) ) || ( navigator.userAgent.match( /ipod/i ) ) )
- document.write( '<span id="wpcom-mobile-app-promo" style="margin-top: 10px; font-size: 13px;"><strong>Now Available!</strong> <a href="/index.php?app-download=ios">Download WordPress for iOS</a></span><br /><br />' );
- else if ( ( navigator.userAgent.match( /android/i ) ) && ( null == navigator.userAgent.match( /playbook/i ) && null == navigator.userAgent.match( /bb10/i ) ) )
- document.write( '<span id="wpcom-mobile-app-promo" style="margin-top: 10px; font-size: 13px;"><strong>Now Available!</strong> <a href="/index.php?app-download=android">Download WordPress for Android</a></span><br /><br />' );
- else if ( ( navigator.userAgent.match( /blackberry/i ) ) || ( navigator.userAgent.match( /playbook/i ) ) || ( navigator.userAgent.match( /bb10/i ) ) )
- document.write( '<span id="wpcom-mobile-app-promo" style="margin-top: 10px; font-size: 13px;"><strong>Now Available!</strong> <a href="/index.php?app-download=blackberry">Download WordPress for BlackBerry</a></span><br /><br />' );
- }
- </script>
- <?php
-}
-
-add_action( 'wp_mobile_theme_footer', 'jetpack_mobile_app_promo' );
-
-/**
- * Adds an option to allow your Custom CSS to also be applied to the Mobile Theme.
- * It's disabled by default, but this should allow people who know what they're
- * doing to customize the mobile theme.
- */
-function jetpack_mobile_css_settings() {
- $mobile_css = get_option( 'wp_mobile_custom_css' );
-
- ?>
- <div class="misc-pub-section">
- <label><?php esc_html_e( 'Mobile-compatible:', 'jetpack' ); ?></label>
- <span id="mobile-css-display"><?php echo $mobile_css ? __( 'Yes', 'jetpack' ) : __( 'No', 'jetpack' ); ?></span>
- <a class="edit-mobile-css hide-if-no-js" href="#mobile-css"><?php echo esc_html_e( 'Edit', 'jetpack' ); ?></a>
- <div id="mobile-css-select" class="hide-if-js">
- <input type="hidden" name="mobile_css" id="mobile-css" value="<?php echo intval( $mobile_css ); ?>" />
- <label>
- <input type="checkbox" id="mobile-css-visible" <?php checked( get_option( 'wp_mobile_custom_css' ) ); ?> />
- <?php esc_html_e( 'Include this CSS in the Mobile Theme', 'jetpack' ); ?>
- </label>
- <p>
- <a class="save-mobile-css hide-if-no-js button" href="#mobile-css"><?php esc_html_e( 'OK', 'jetpack' ); ?></a>
- <a class="cancel-mobile-css hide-if-no-js" href="#mobile-css"><?php esc_html_e( 'Cancel', 'jetpack' ); ?></a>
- </p>
- </div>
- </div>
- <script type="text/javascript">
- jQuery( function ( $ ) {
- $( '.edit-mobile-css' ).bind( 'click', function ( e ) {
- e.preventDefault();
-
- $( '#mobile-css-select' ).slideDown();
- $( this ).hide();
- } );
-
- $( '.cancel-mobile-css' ).bind( 'click', function ( e ) {
- e.preventDefault();
-
- $( '#mobile-css-select' ).slideUp( function () {
- $( '.edit-mobile-css' ).show();
-
- $( '#mobile-css-visible' ).prop( 'checked', $( '#mobile-css' ).val() == '1' );
- } );
- } );
-
- $( '.save-mobile-css' ).bind( 'click', function ( e ) {
- e.preventDefault();
-
- $( '#mobile-css-select' ).slideUp();
- $( '#mobile-css-display' ).text( $( '#mobile-css-visible' ).prop( 'checked' ) ? 'Yes' : 'No' );
- $( '#mobile-css' ).val( $( '#mobile-css-visible' ).prop( 'checked' ) ? '1' : '0' );
- $( '.edit-mobile-css' ).show();
- } );
- } );
- </script>
- <?php
-}
-
-add_action( 'custom_css_submitbox_misc_actions', 'jetpack_mobile_css_settings' );
-
-function jetpack_mobile_customizer_controls( $wp_customize ) {
- $wp_customize->add_setting( 'wp_mobile_custom_css' , array(
- 'default' => true,
- 'transport' => 'postMessage',
- 'type' => 'option'
- ) );
-
- $wp_customize->add_control( 'jetpack_mobile_css_control', array(
- 'type' => 'checkbox',
- 'label' => __( 'Include this CSS in the Mobile Theme', 'jetpack' ),
- 'section' => 'jetpack_custom_css',
- 'settings' => 'wp_mobile_custom_css',
- ) );
-}
-
-add_action( 'jetpack_custom_css_customizer_controls', 'jetpack_mobile_customizer_controls' );
-
-function jetpack_mobile_save_css_settings() {
- update_option( 'wp_mobile_custom_css', isset( $_POST['mobile_css'] ) && ! empty( $_POST['mobile_css'] ) );
-}
-
-add_action( 'safecss_save_pre', 'jetpack_mobile_save_css_settings' );
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/comments.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/comments.php
deleted file mode 100644
index 55c35161..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/comments.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-/**
- * The template for displaying Comments.
- *
- * The area of the page that contains both current comments
- * and the comment form. The actual display of comments is
- * handled by a callback to minileven_comment() which is
- * located in the functions.php file.
- *
- * @package Minileven
- */
-?>
- <div id="comments">
- <?php if ( post_password_required() ) : ?>
- <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'jetpack' ); ?></p>
- </div><!-- #comments -->
- <?php
- /* Stop the rest of comments.php from being processed,
- * but don't kill the script entirely -- we still have
- * to fully load the template.
- */
- return;
- endif;
- ?>
-
- <?php // You can start editing here -- including this comment! ?>
-
- <?php comment_form(); ?>
-
- <?php if ( have_comments() ) : ?>
- <ol class="commentlist">
- <?php
- /* Loop through and list the comments. Tell wp_list_comments()
- * to use minileven_comment() to format the comments.
- * If you want to overload this in a child theme then you can
- * define minileven_comment() and that will be used instead.
- * See minileven_comment() in minileven/functions.php for more.
- */
- wp_list_comments( array( 'callback' => 'minileven_comment' ) );
- ?>
- </ol>
-
- <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
- <nav id="comment-nav-below">
- <h1 class="assistive-text"><?php _e( 'Comment navigation', 'jetpack' ); ?></h1>
- <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'jetpack' ) ); ?></div>
- <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'jetpack' ) ); ?></div>
- </nav>
- <?php endif; // check for comment navigation
- endif; // check for the existence of comments
- ?>
- </div><!-- #comments --> \ No newline at end of file
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/content-gallery.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/content-gallery.php
deleted file mode 100644
index 218949ea..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/content-gallery.php
+++ /dev/null
@@ -1,83 +0,0 @@
-<?php
-/**
- * The template for displaying posts in the Gallery Post Format on index and archive pages
- *
- * Learn more: http://codex.wordpress.org/Post_Formats
- *
- * @package Minileven
- */
-?>
-
-<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <div class="entry-heading">
- <?php if ( '1' == get_option( 'wp_mobile_featured_images' ) && minileven_show_featured_images() ) : ?>
- <div class="entry-thumbnail">
- <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'jetpack' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="minileven-featured-thumbnail"><?php the_post_thumbnail(); ?></a>
- </div><!-- .entry-thumbnail -->
- <?php endif; ?>
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
- <h3 class="entry-format"><?php _e( 'Gallery', 'jetpack' ); ?></h3>
- </div>
- </header><!-- .entry-header -->
-
- <div class="entry-content">
- <?php if ( is_single() || post_password_required() ) : ?>
- <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'jetpack' ) ); ?>
-
- <?php else : ?>
- <?php
- $images = minileven_get_gallery_images();
- if ( $images ) :
- $total_images = count( $images );
- $large_image = array_shift( $images );
- $thumb1_image = array_shift( $images );
- $thumb2_image = array_shift( $images );
- $thumb3_image = array_shift( $images );
-
- $image_img_tag = wp_get_attachment_image( (int) $large_image, 'large' );
- $thumb1_img_tag = wp_get_attachment_image( (int) $thumb1_image, 'thumbnail' );
- $thumb2_img_tag = wp_get_attachment_image( (int) $thumb2_image, 'thumbnail' );
- $thumb3_img_tag = wp_get_attachment_image( (int) $thumb3_image, 'thumbnail' );
- ?>
- <div class="img-gallery">
- <div class="gallery-large">
- <a href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
- </div><!-- .gallery-large -->
- <?php if ( 3 == $total_images ) : ?>
- <div class="gallery-thumbs-2">
- <a href="<?php the_permalink(); ?>" class="gallery-thumb-1"><?php echo $thumb1_img_tag; ?></a>
- <a href="<?php the_permalink(); ?>" class="gallery-thumb-2"><?php echo $thumb2_img_tag; ?></a>
- </div><!-- .gallery-thumbs -->
-
- <?php elseif ( 4 <= $total_images ) : ?>
- <div class="gallery-thumbs-3">
- <a href="<?php the_permalink(); ?>" class="gallery-thumb-1"><?php echo $thumb1_img_tag; ?></a>
- <a href="<?php the_permalink(); ?>" class="gallery-thumb-2"><?php echo $thumb2_img_tag; ?></a>
- <a href="<?php the_permalink(); ?>" class="gallery-thumb-3"><?php echo $thumb3_img_tag; ?></a>
- </div><!-- .gallery-thumbs -->
- </div><!-- .img-gallery -->
- <?php endif; ?>
-
- <p class="gallery-info"><em><?php printf( _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'jetpack' ),
- 'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'jetpack' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"',
- number_format_i18n( $total_images ) );
- ?></em></p>
-
- <?php endif; ?>
- <?php endif; ?>
-
- <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'jetpack' ) . '</span>', 'after' => '</div>' ) ); ?>
-</div><!-- .entry-content -->
-
- <footer class="entry-meta">
- <?php minileven_posted_on(); ?>
- <?php if ( comments_open() ) : ?>
- <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a Reply', 'jetpack' ) . '</span>', __( '<b>1</b> Reply', 'jetpack' ), __( '<b>%</b> Replies', 'jetpack' ) ); ?></span>
- <?php endif; // End if comments_open() ?>
-
- <?php edit_post_link( __( 'Edit', 'jetpack' ), '<span class="edit-link">', '</span>' ); ?>
- </footer><!-- #entry-meta -->
-</article><!-- #post-<?php the_ID(); ?> -->
-
-<?php comments_template( '', true ); ?>
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/content.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/content.php
deleted file mode 100644
index e434ea41..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/content.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-/**
- * The default template for displaying content
- *
- * @package Minileven
- */
-?>
-
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <?php if ( '1' == get_option( 'wp_mobile_featured_images' ) && minileven_show_featured_images() ) : ?>
- <div class="entry-thumbnail">
- <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'jetpack' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="minileven-featured-thumbnail"><?php the_post_thumbnail(); ?></a>
- </div><!-- .entry-thumbnail -->
- <?php endif; ?>
- <?php if ( is_sticky() ) : ?>
- <div class="entry-heading">
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
- <h3 class="entry-format"><?php _e( 'Featured', 'jetpack' ); ?></h3>
- <div>
- <?php else : ?>
- <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
- <?php endif; ?>
-
- <div class="entry-meta">
- <?php if ( is_singular() && is_multi_author() ) : ?>
- <span class="author-link">
- <?php _e( 'Posted by ', 'jetpack' ); ?>
- <?php the_author_posts_link(); ?>
- </span><!-- .author-link -->
- <?php endif; ?>
- </div><!-- .entry-meta -->
- </header><!-- .entry-header -->
-
- <div class="entry-content">
- <?php if ( '1' == get_option( 'wp_mobile_excerpt' ) && ( is_home() || is_search() || is_archive() ) ) : ?>
- <?php echo minileven_excerpt( 300 ); ?>
- <?php else : ?>
- <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'jetpack' ) ); ?>
- <?php endif; ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'jetpack' ) . '</span>', 'after' => '</div>' ) ); ?>
- </div><!-- .entry-content -->
-
- <footer class="entry-meta">
- <?php if ( 'post' == get_post_type() ) : ?>
- <?php minileven_posted_on(); ?>
- <?php endif; ?>
- <?php if ( comments_open() ) : ?>
- <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'jetpack' ) . '</span>', __( '<b>1</b> Reply', 'jetpack' ), __( '<b>%</b> Replies', 'jetpack' ) ); ?></span>
- <?php endif; // End if comments_open() ?>
- <?php edit_post_link( __( 'Edit', 'jetpack' ), '<span class="edit-link">', '</span>' ); ?>
- </footer><!-- #entry-meta -->
- </article><!-- #post-<?php the_ID(); ?> -->
-
- <?php if ( is_single() ) : ?>
- <nav id="nav-single">
- <h3 class="assistive-text"><?php _e( 'Post navigation', 'jetpack' ); ?></h3>
- <span class="nav-previous"><?php previous_post_link( '%link', __( '&laquo; Previous', 'jetpack' ) ); ?></span>
- <span class="nav-next"><?php next_post_link( '%link', __( 'Next &raquo;', 'jetpack' ) ); ?></span>
- </nav><!-- #nav-single -->
- <?php endif; ?>
-
- <?php comments_template( '', true ); ?>
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/footer.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/footer.php
deleted file mode 100644
index bab105bf..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/footer.php
+++ /dev/null
@@ -1,78 +0,0 @@
-<?php
-/**
- * The template for displaying the footer.
- *
- * Contains the closing of the id=main div and all content after
- *
- * @package Minileven
- */
-?>
-
- </div><!-- #main -->
-</div><!-- #page -->
-<?php get_sidebar(); ?>
-
-</div><!-- #wrapper -->
-
-<?php
- /**
- * Fires before the Mobile Theme's <footer> tag.
- *
- * @module minileven
- *
- * @since 3.7.0
- */
- do_action( 'jetpack_mobile_footer_before' );
-?>
-
-<footer id="colophon" role="contentinfo">
- <div id="site-generator">
-
- <?php
- /*
- * Construct "$target_url", which adds "ak_action=reject_mobile"
- * to the current URL.
- */
- global $wp;
- $url_params = array(
- 'ak_action' => 'reject_mobile',
- );
- if ( is_array( $_GET ) && ! empty( $_GET ) ) {
- $url_params[] = $_GET;
- }
- $target_url = home_url( add_query_arg( $url_params, $wp->request ) );
- ?>
-
- <a href="<?php echo esc_url( $target_url ); ?>"><?php _e( 'View Full Site', 'jetpack' ); ?></a>
- <br />
-
- <?php
- /**
- * Fires after the View Full Site link in the Mobile Theme's footer.
- *
- * By default, a promo to download the native apps is added to this action.
- *
- * @module minileven
- *
- * @since 1.8.0
- */
- do_action( 'wp_mobile_theme_footer' );
-
- /**
- * Fires before the credit links in the Mobile Theme's footer.
- *
- * @module minilven
- *
- * @since 1.8.0
- */
- do_action( 'minileven_credits' );
- ?>
-
- <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'jetpack' ) ); ?>" rel="noopener noreferrer" target="_blank" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'jetpack' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'jetpack' ), 'WordPress' ); ?></a>
- </div>
-</footer><!-- #colophon -->
-
-<?php wp_footer(); ?>
-
-</body>
-</html>
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php
deleted file mode 100644
index cd702872..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php
+++ /dev/null
@@ -1,275 +0,0 @@
-<?php
-
-use Automattic\Jetpack\Assets;
-
-/**
- * Minileven functions and definitions
- *
- * Sets up the theme and provides some helper functions. Some helper functions
- * are used in the theme as custom template tags. Others are attached to action and
- * filter hooks in WordPress to change core functionality.
- *
- * The first function, minileven_setup(), sets up the theme by registering support
- * for various features in WordPress, such as post thumbnails, navigation menus, and the like.
- *
- * @package Minileven
- */
-
-/**
- * Set the content width based on the theme's design and stylesheet.
- */
-if ( ! isset( $content_width ) )
- $content_width = 584;
-
-/**
- * Tell WordPress to run minileven_setup() when the 'after_setup_theme' hook is run.
- */
-add_action( 'after_setup_theme', 'minileven_setup' );
-
-if ( ! function_exists( 'minileven_setup' ) ):
-/**
- * Sets up theme defaults and registers support for various WordPress features.
- */
-function minileven_setup() {
- global $wp_version;
-
- /**
- * Custom template tags for this theme.
- */
- require( get_template_directory() . '/inc/template-tags.php' );
-
- /**
- * Custom functions that act independently of the theme templates
- */
- require( get_template_directory() . '/inc/tweaks.php' );
-
- /**
- * Implement the Custom Header functions
- */
- require( get_template_directory() . '/inc/custom-header.php' );
-
- /* Make Minileven available for translation.
- * Translations can be added to the /languages/ directory.
- * If you're building a theme based on Minileven, use a find and replace
- * to change 'minileven' to the name of your theme in all the template files.
- */
-/* Don't load a minileven textdomain, as it uses the Jetpack textdomain.
- load_theme_textdomain( 'minileven', get_template_directory() . '/languages' );
-*/
-
- // Add default posts and comments RSS feed links to <head>.
- add_theme_support( 'automatic-feed-links' );
-
- // This theme uses wp_nav_menu() in one location.
- register_nav_menu( 'primary', __( 'Primary Menu', 'jetpack' ) );
-
- // Add support for a variety of post formats
- add_theme_support( 'post-formats', array( 'gallery' ) );
-
- // Add support for custom backgrounds
- add_theme_support( 'custom-background' );
-
- // Add support for post thumbnails
- add_theme_support( 'post-thumbnails' );
-}
-endif; // minileven_setup
-
-/**
- * Enqueue scripts and styles
- */
-function minileven_scripts() {
- global $post;
-
- wp_enqueue_style( 'style', get_stylesheet_uri() );
- wp_enqueue_script(
- 'small-menu',
- Assets::get_file_url_for_environment(
- '_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js',
- 'modules/minileven/theme/pub/minileven/js/small-menu.js'
- ),
- array( 'jquery' ),
- '20120206',
- true
- );
-
- if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
- wp_enqueue_script( 'comment-reply' );
- }
-}
-add_action( 'wp_enqueue_scripts', 'minileven_scripts' );
-
-function minileven_fonts() {
-
- /* translators: If there are characters in your language that are not supported
- by Open Sans, translate this to 'off'. Do not translate into your own language. */
-
- if ( 'off' !== _x( 'on', 'Open Sans font: on or off', 'jetpack' ) ) {
-
- $opensans_subsets = 'latin,latin-ext';
-
- /* translators: To add an additional Open Sans character subset specific to your language, translate
- this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. */
- $opensans_subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)', 'jetpack' );
-
- if ( 'cyrillic' == $opensans_subset )
- $opensans_subsets .= ',cyrillic,cyrillic-ext';
- elseif ( 'greek' == $opensans_subset )
- $opensans_subsets .= ',greek,greek-ext';
- elseif ( 'vietnamese' == $opensans_subset )
- $opensans_subsets .= ',vietnamese';
-
- $opensans_query_args = array(
- 'family' => 'Open+Sans:200,200italic,300,300italic,400,400italic,600,600italic,700,700italic',
- 'subset' => $opensans_subsets,
- );
- wp_register_style( 'minileven-open-sans', add_query_arg( $opensans_query_args, "//fonts.googleapis.com/css" ), array(), null );
- }
-}
-add_action( 'init', 'minileven_fonts' );
-
-/**
- * Register our sidebars and widgetized areas.
- * @since Minileven 1.0
- */
-function minileven_widgets_init() {
- register_sidebar( array(
- 'name' => __( 'Main Sidebar', 'jetpack' ),
- 'id' => 'sidebar-1',
- 'before_widget' => '<aside id="%1$s" class="widget %2$s">',
- 'after_widget' => "</aside>",
- 'before_title' => '<h3 class="widget-title">',
- 'after_title' => '</h3>',
- ) );
-}
-add_action( 'widgets_init', 'minileven_widgets_init' );
-
-function minileven_posts_per_page() {
- return 5;
-}
-add_filter('pre_option_posts_per_page', 'minileven_posts_per_page');
-
-/**
- * Determine the currently active theme.
- */
-function minileven_actual_current_theme() {
- $removed = remove_action( 'option_stylesheet', 'jetpack_mobile_stylesheet' );
- $stylesheet = get_option( 'stylesheet' );
- if ( $removed )
- add_action( 'option_stylesheet', 'jetpack_mobile_stylesheet' );
-
- return $stylesheet;
-}
-
-/* This function grabs the location of the custom menus from the current theme. If no menu is set in a location
-* it will return a boolean "false". This function helps Minileven know which custom menu to display. */
-function minileven_get_menu_location() {
- $theme_slug = minileven_actual_current_theme();
- $mods = get_option( "theme_mods_{$theme_slug}" );
-
- if ( has_filter( 'jetpack_mobile_theme_menu' ) ) {
-
- /**
- * Filter the menu displayed in the Mobile Theme.
- *
- * @module minileven
- *
- * @since 3.4.0
- *
- * @param int $menu_id ID of the menu to display.
- */
- return array( 'primary' => apply_filters( 'jetpack_mobile_theme_menu', $menu_id ) );
- }
-
- if ( isset( $mods['nav_menu_locations'] ) && ! empty( $mods['nav_menu_locations'] ) )
- return $mods['nav_menu_locations'];
-
- return false;
-}
-
-/* This function grabs the custom background image from the user's current theme so that Minileven can display it. */
-function minileven_get_background() {
- $theme_slug = minileven_actual_current_theme();
- $mods = get_option( "theme_mods_$theme_slug" );
-
- if ( ! empty( $mods ) ) {
- return array(
- 'color' => isset( $mods['background_color'] ) ? $mods['background_color'] : null,
- 'image' => isset( $mods['background_image'] ) ? $mods['background_image'] : null,
- 'repeat' => isset( $mods['background_repeat'] ) ? $mods['background_repeat'] : null,
- 'position' => isset( $mods['background_position_x'] ) ? $mods['background_position_x'] : null,
- 'attachment' => isset( $mods['attachment'] ) ? $mods['attachment'] : null,
- );
- }
- return false;
-}
-
-/**
- * If the user has set a static front page, show all posts on the front page, instead of a static page.
- */
-if ( '1' == get_option( 'wp_mobile_static_front_page' ) )
- add_filter( 'pre_option_page_on_front', '__return_zero' );
-
-/**
- * Retrieves the IDs for images in a gallery.
- *
- * @uses get_post_galleries() first, if available. Falls back to shortcode parsing,
- * then as last option uses a get_posts() call.
- *
- * @return array List of image IDs from the post gallery.
- */
-function minileven_get_gallery_images() {
- $images = array();
-
- if ( function_exists( 'get_post_galleries' ) ) {
- $galleries = get_post_galleries( get_the_ID(), false );
- if ( isset( $galleries[0]['ids'] ) )
- $images = explode( ',', $galleries[0]['ids'] );
- } else {
- $pattern = get_shortcode_regex();
- preg_match( "/$pattern/s", get_the_content(), $match );
- $atts = shortcode_parse_atts( $match[3] );
- if ( isset( $atts['ids'] ) )
- $images = explode( ',', $atts['ids'] );
- }
-
- if ( ! $images ) {
- $images = get_posts( array(
- 'fields' => 'ids',
- 'numberposts' => 999,
- 'order' => 'ASC',
- 'orderby' => 'menu_order',
- 'post_mime_type' => 'image',
- 'post_parent' => get_the_ID(),
- 'post_type' => 'attachment',
- 'suppress_filters' => false,
- ) );
- }
-
- return $images;
-}
-
-/**
- * Allow plugins to filter where Featured Images are displayed.
- * Default has Featured Images disabled on single view and pages.
- *
- * @uses is_search()
- * @uses apply_filters()
- * @return bool
- */
-function minileven_show_featured_images() {
- $enabled = ( is_home() || is_search() || is_archive() ) ? true : false;
-
- /**
- * Filter where featured images are displayed in the Mobile Theme.
- *
- * By setting $enabled to true or false using functions like is_home() or
- * is_archive(), you can control where featured images are be displayed.
- *
- * @module minileven
- *
- * @since 3.2.0
- *
- * @param bool $enabled True if featured images should be displayed, false if not.
- */
- return (bool) apply_filters( 'minileven_show_featured_images', $enabled );
-}
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/header.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/header.php
deleted file mode 100644
index 2488a47f..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/header.php
+++ /dev/null
@@ -1,70 +0,0 @@
-<?php
-/**
- * The Header for our theme.
- *
- * Displays all of the <head> section and everything up till <div id="main">
- *
- * @package Minileven
- */
-?><!DOCTYPE html>
-<html <?php language_attributes(); ?>>
-<head>
-<meta charset="<?php bloginfo( 'charset' ); ?>" />
-<meta name="viewport" content="width=device-width" />
-<title><?php wp_title( '|', true, 'right' ); ?></title>
-<link rel="profile" href="http://gmpg.org/xfn/11" />
-<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
-<?php wp_head(); ?>
-</head>
-
-<body <?php body_class(); ?>>
-<div id="wrapper">
- <?php
- $location = minileven_get_menu_location(); // get the menu locations from the current theme in use
- ?>
- <div class="menu-search">
- <nav id="access" class="site-navigation main-navigation" role="navigation">
- <h3 class="menu-toggle"><?php _e( 'Menu', 'jetpack' ); ?></h3>
-
- <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?>
- <div class="skip-link"><a class="assistive-text" href="#content"><?php _e( 'Skip to primary content', 'jetpack' ); ?></a></div>
- <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */
- if ( false !== $location ) :
- $location_values = array_values( $location );
- $menu_id = array_shift( $location_values ); // acccess the ID of the menu assigned to that location. Using only the first menu ID returned in the array.
- wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => '', 'menu_class' => 'nav-menu', 'menu' => $menu_id ) );
- else: // if the $location variable is false, wp_page_menu() is shown instead.
- wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => '', 'menu_class' => 'nav-menu' ) );
- endif;
- ?>
- </nav><!-- #access -->
- <div class="search-form">
- <?php get_search_form(); ?>
- </div><!-- .search-form-->
- </div><!-- .menu-search-->
-
- <?php
- /**
- * Fires before Minileven header.
- *
- * @module minileven
- *
- * @since 3.4.0
- */
- do_action( 'jetpack_mobile_header_before' );
-
- if ( function_exists( 'minileven_header' ) )
- minileven_header();
-
- /**
- * Fires after Minileven header.
- *
- * @module minilven
- *
- * @since 3.4.0
- */
- do_action( 'jetpack_mobile_header_after' );
- ?>
-
- <div id="page" class="hfeed">
- <div id="main">
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/image.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/image.php
deleted file mode 100644
index 02032c2c..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/image.php
+++ /dev/null
@@ -1,108 +0,0 @@
-<?php
-/**
- * The template for displaying image attachments.
- *
- * @package Minileven
- */
-
-get_header(); ?>
-
- <div id="primary" class="image-attachment">
- <div id="content" role="main">
-
- <?php while ( have_posts() ) : the_post(); ?>
-
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <h1 class="entry-title"><?php the_title(); ?></h1>
- </header><!-- .entry-header -->
-
- <div class="entry-content">
-
- <div class="entry-attachment">
- <div class="attachment">
-<?php
- /**
- * Grab the IDs of all the image attachments in a gallery so we can get the URL of the next adjacent image in a gallery,
- * or the first image (if we're looking at the last image in a gallery), or, in a gallery of one, just the link to that image file
- */
- $attachments = array_values( get_children( array( 'post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID', 'suppress_filters' => false ) ) );
- foreach ( $attachments as $k => $attachment ) {
- if ( $attachment->ID == $post->ID )
- break;
- }
- $k++;
- // If there is more than 1 attachment in a gallery
- if ( count( $attachments ) > 1 ) {
- if ( isset( $attachments[ $k ] ) )
- // get the URL of the next image attachment
- $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
- else
- // or get the URL of the first image attachment
- $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID );
- } else {
- // or, if there's only 1 image, get the URL of the image
- $next_attachment_url = wp_get_attachment_url();
- }
-?>
- <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php
-
- /**
- * Filter the Mobile Theme image size.
- *
- * @module minileven
- *
- * @since 1.8.0
- *
- * @param int Image size in pixels.
- */
- $attachment_size = apply_filters( 'minileven_attachment_size', 848 );
- echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height.
- ?></a>
-
- <?php if ( ! empty( $post->post_excerpt ) ) : ?>
- <div class="entry-caption">
- <?php the_excerpt(); ?>
- </div>
- <?php endif; ?>
- </div><!-- .attachment -->
-
- </div><!-- .entry-attachment -->
-
- <div class="entry-description">
- <?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'jetpack' ) . '</span>', 'after' => '</div>' ) ); ?>
- </div><!-- .entry-description -->
-
- </div><!-- .entry-content -->
-
- <footer class="entry-meta">
- <div class="attachment-meta">
- <?php
- $metadata = wp_get_attachment_metadata();
- printf( __( '<span class="entry-gallery">&laquo; <a href="%1$s" title="Back to %2$s" rel="gallery">Back to Gallery</a></span>', 'jetpack' ),
- esc_url( get_permalink( $post->post_parent ) ),
- get_the_title( $post->post_parent )
- );
- ?>
- </div><!-- .attachment-meta-->
- <?php if ( comments_open() ) : ?>
- <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'jetpack' ) . '</span>', __( '<b>1</b> Reply', 'jetpack' ), __( '<b>%</b> Replies', 'jetpack' ) ); ?></span>
- <?php endif; // End if comments_open() ?>
- <?php edit_post_link( __( 'Edit', 'jetpack' ), '<span class="edit-link">', '</span>' ); ?>
- </footer><!-- #entry-meta -->
- </article><!-- #post-<?php the_ID(); ?> -->
-
- <nav id="nav-single">
- <h3 class="assistive-text"><?php _ex( 'Image navigation', 'next-saturday' , 'jetpack' ); ?></h3>
- <span class="nav-previous"><?php previous_image_link( false, __( '&laquo; Previous' , 'jetpack' ) ); ?></span>
- <span class="nav-next"><?php next_image_link( false, __( 'Next &raquo; ' , 'jetpack' ) ); ?></span>
- </nav><!-- #nav-single -->
-
- <?php comments_template(); ?>
-
- <?php endwhile; // end of the loop. ?>
-
- </div><!-- #content -->
- </div><!-- #primary -->
-<?php get_footer(); ?>
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/custom-header.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/custom-header.php
deleted file mode 100644
index dc8758b7..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/custom-header.php
+++ /dev/null
@@ -1,107 +0,0 @@
-<?php
-/**
- * @package Minileven
- * @since Minileven 2.0
- */
-
-/* This function grabs the custom header from the current theme so that Minileven can display it. */
-function minileven_get_header_image() {
- $theme_slug = minileven_actual_current_theme();
- $mods = get_option( "theme_mods_{$theme_slug}" );
-
- if ( isset( $mods['header_image'] ) && 'remove-header' != $mods['header_image'] && 'random-default-image' != $mods['header_image'] && 'random-uploaded-image' != $mods['header_image'] )
- return $mods['header_image'];
-
- return false;
-}
-
-/* This function determines whether or not the user is displaying the header on the current theme */
-function minileven_header_text_display() {
- $theme_slug = minileven_actual_current_theme();
- $mods = get_option( "theme_mods_{$theme_slug}" );
-
- if ( isset( $mods['header_textcolor'] ) )
- return $mods['header_textcolor'];
-
- return false;
-}
-
-/* This function determines how the header should be displayed. */
-function minileven_header() {
- $header_image = minileven_get_header_image();
- $header_text = minileven_header_text_display();
-
- if ( 'blank' != $header_text || false != $header_image ) : ?>
-
- <header id="branding" role="banner">
- <?php if ( 'blank' != $header_text ) : ?>
- <div class="site-branding">
- <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
- <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
- </div>
- <?php endif;
-
- if ( false !== $header_image ) : ?>
- <div id="header-img">
- <a href="<?php echo esc_url( home_url( '/' ) ); ?>">
- <img src="<?php echo $header_image; ?>" alt="" />
- </a>
- </div><!-- #header-img -->
- <?php endif; // end check for header image existence. ?>
- </header><!-- #branding -->
-<?php endif; // end check for both header text and header image
-}
-
-/* This function displays the custom background image or color, and custom text color */
-function minileven_show_background_and_header_color() {
- $background = minileven_get_background();
- $header_text = minileven_header_text_display();
-
- $style = '';
-
- if ( $background['color'] || $background['image'] ) :
- $style = $background['color'] ? "background-color: #$background[color];" : '';
-
- if ( $background['image'] ) :
- $image = " background-image: url('$background[image]');";
-
- if ( ! in_array( $background['repeat'], array( 'no-repeat', 'repeat-x', 'repeat-y', 'repeat' ) ) )
- $background['repeat'] = 'repeat';
- $repeat = " background-repeat: $background[repeat];";
-
- if ( ! in_array( $background['position'], array( 'center', 'right', 'left' ) ) )
- $background['position'] = 'left';
- $position = " background-position: top $background[position];";
-
- if ( ! in_array( $background['attachment'], array( 'fixed', 'scroll' ) ) )
- $background['attachment'] = 'scroll';
- $attachment = " background-attachment: $background[attachment];";
-
- $style .= $image . $repeat . $position . $attachment;
- endif;
- endif;
-?>
- <style type="text/css">
- <?php if ( $style ) { ?>
- body {
- <?php echo trim( $style ); ?>
- }
- <?php } ?>
- #page,
- #branding {
- margin: 0.6em 0.6em 0.8em;
- }
- #site-generator {
- border: 0;
- }
- <?php if ( 'blank' != $header_text && '1' != get_option( 'wp_mobile_header_color' ) ) : ?>
- /* If The user has set a header text color, use that */
- #site-title,
- #site-title a {
- color: #<?php echo $header_text; ?>;
- <?php endif; ?>
- }
- </style>
-<?php
-}
-add_action( 'wp_head', 'minileven_show_background_and_header_color' ); \ No newline at end of file
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.eot b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.eot
deleted file mode 100644
index 5a60506a..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.eot
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.svg b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.svg
deleted file mode 100644
index 3dce209e..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.svg
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
-<svg xmlns="http://www.w3.org/2000/svg">
-<metadata></metadata>
-<defs>
-<font id="genericonsregular" horiz-adv-x="2048" >
-<font-face units-per-em="2048" ascent="1638" descent="-410" />
-<missing-glyph horiz-adv-x="500" />
-<glyph unicode="&#x2000;" horiz-adv-x="1024" />
-<glyph unicode="&#x2001;" />
-<glyph unicode="&#x2002;" horiz-adv-x="1024" />
-<glyph unicode="&#x2003;" />
-<glyph unicode="&#x2004;" horiz-adv-x="682" />
-<glyph unicode="&#x2005;" horiz-adv-x="512" />
-<glyph unicode="&#x2006;" horiz-adv-x="341" />
-<glyph unicode="&#x2007;" horiz-adv-x="341" />
-<glyph unicode="&#x2008;" horiz-adv-x="256" />
-<glyph unicode="&#x2009;" horiz-adv-x="409" />
-<glyph unicode="&#x200a;" horiz-adv-x="113" />
-<glyph unicode="&#x202f;" horiz-adv-x="409" />
-<glyph unicode="&#x205f;" horiz-adv-x="512" />
-<glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
-<glyph unicode="&#xf100;" d="M512 512v128h768v-128h-768zM512 768v128h256v-128h-256zM512 1024v128h640v-128h-640zM512 1280v128h1024v-128h-1024zM896 768v128h640v-128h-640zM1280 1024v128h256v-128h-256z" />
-<glyph unicode="&#xf101;" d="M256 1024q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM768 1024q0 -106 75 -181t181 -75t181 75t75 181t-75 181t-181 75t-181 -75t-75 -181z" />
-<glyph unicode="&#xf102;" d="M128 384v896l512 128l128 256h512l128 -256h512v-1024h-1792zM256 1440v160h256v-96zM576 960q0 -185 131.5 -316.5t316.5 -131.5q186 0 317 131.5t131 316.5t-131 316.5t-317 131.5q-185 0 -316.5 -131.5t-131.5 -316.5zM704 960q0 133 93.5 226.5t226.5 93.5 t226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5t-226.5 93.5t-93.5 226.5z" />
-<glyph unicode="&#xf103;" d="M128 512v384h384v-384h-384zM128 1024v384h896v-384h-896zM640 512v384h384v-384h-384zM1152 512v896h896v-896h-896z" />
-<glyph unicode="&#xf104;" d="M512 384v1280l1152 -640z" />
-<glyph unicode="&#xf105;" d="M640 1408q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5q0 -124 -71.5 -222t-184.5 -138v-536l-256 -128v664q-113 40 -184.5 138t-71.5 222z" />
-<glyph unicode="&#xf106;" d="M384 640l128 768h512l-256 -768h-384zM1152 640l128 768h512l-256 -768h-384z" />
-<glyph unicode="&#xf107;" d="M376 852q0 108 72 204l160 128l96 -96l-160 -128q-48 -96 0 -192l96 -96q96 -48 192 0l128 160l96 -96l-128 -160q-96 -72 -204 -72t-180 72l-96 96q-72 72 -72 180zM736 960l352 352l96 -96l-352 -352zM864 1440l128 160q96 72 204 72t180 -72l96 -96q72 -72 72 -180 t-72 -204l-160 -128l-96 96l160 128q48 96 0 192l-96 96q-96 48 -192 0l-128 -160z" />
-<glyph unicode="&#xf108;" d="M0 1152v384q0 96 80 176t176 80h1024q96 0 176 -80t80 -176v-384q0 -96 -80 -176t-176 -80h-448l-448 -448v448h-128q-96 0 -176 80t-80 176zM768 640l128 128h384q168 0 276 108t108 276v384q96 0 176 -80t80 -176v-384q0 -96 -80 -176t-176 -80h-128v-448l-448 448 h-320z" />
-<glyph unicode="&#xf109;" d="M256 768v512h384l384 384v-1280l-384 384h-384zM1216 832q21 43 32 66.5t21.5 59.5t10.5 66t-10.5 66t-21.5 59.5t-32 66.5l96 96q96 -144 96 -288q0 -160 -96 -256zM1376 672q74 74 117 166t43 186t-43 186t-117 166l96 96q95 -71 143.5 -186.5t48.5 -261.5 t-48.5 -261.5t-143.5 -186.5z" />
-<glyph unicode="&#xf200;" d="M0 1024q0 212 79.5 402t216 326.5t326.5 216t402 79.5t402 -79.5t326.5 -216t216 -326.5t79.5 -402t-79.5 -402t-216 -326.5t-326.5 -216t-402 -79.5t-402 79.5t-326.5 216t-216 326.5t-79.5 402zM128 1024q0 -307 173.5 -536.5t466.5 -327.5v224q0 224 128 224 q-125 0 -213.5 16t-146.5 47t-91.5 83t-47 115.5t-13.5 154.5q0 100 25 187t71 133q-28 71 -28 143t14 109l14 36q7 0 18 -1t44 -7.5t63 -18.5t67 -38.5t64 -62.5q144 24 300 24t276 -24q27 36 60 62.5t60.5 38.5t51.5 18.5t38 7.5l14 1q4 -5 10 -14.5t19 -40.5t20 -63 t4 -78.5t-21 -91.5q96 -144 96 -320q0 -113 -21 -187.5t-75 -128t-147.5 -77t-236.5 -23.5q49 -25 72.5 -77.5t23.5 -146.5v-224q293 98 466.5 327.5t173.5 536.5q0 176 -73 341.5t-194.5 287t-287 194.5t-341.5 73t-341.5 -73t-287 -194.5t-194.5 -287t-73 -341.5z" />
-<glyph unicode="&#xf201;" d="M0 1024q0 206 82 395.5t219.5 327t327 219.5t395.5 82t395.5 -82t327 -219.5t219.5 -327t82 -395.5t-82 -395.5t-219.5 -327t-327 -219.5t-395.5 -82t-395.5 82t-327 219.5t-219.5 327t-82 395.5zM128 1024q0 -167 58 -319.5t166 -272.5q125 205 339 360t445 232 q-16 48 -80 176q-282 -86 -481.5 -111t-446.5 -1v-64zM160 1232q194 -22 444 14t388 82q-141 282 -320 528q-194 -85 -329.5 -247.5t-182.5 -376.5zM480 320q216 -192 544 -192q181 0 368 80q-33 300 -208 688q-222 -74 -410 -225.5t-294 -350.5zM832 1904 q102 -166 304 -512q6 2 86 31t118.5 45t108 47t122 64t93.5 69q-126 126 -290.5 199t-349.5 73q-32 0 -96 -8t-96 -8zM1200 1248q22 -29 36.5 -54.5t34 -67.5t25.5 -54q170 33 336 30t288 -30q-26 285 -160 464q-71 -57 -162 -104.5t-214.5 -100.5t-183.5 -83zM1344 928 q14 -27 43 -103t74.5 -231t74.5 -306q156 108 258 278t126 362q-276 46 -576 0z" />
-<glyph unicode="&#xf202;" d="M0 381q50 -6 100 -6q293 0 522 180q-137 2 -244.5 83t-147.5 208q44 -7 79 -7q57 0 110 15q-145 29 -241 144.5t-96 267.5v5q86 -48 191 -53q-86 58 -136.5 150t-50.5 200q0 113 57 211q158 -194 383 -310t483 -129q-11 49 -11 96q0 174 123 297t297 123q89 0 168.5 -35 t138.5 -97q142 27 266 102q-47 -150 -184 -233q124 15 241 66q-84 -127 -210 -217q2 -36 2 -55q0 -168 -49 -337t-150 -323.5t-241 -273.5t-336 -190t-420 -71q-351 0 -644 189z" />
-<glyph unicode="&#xf203;" d="M0 117q0 -48 34.5 -82.5t82.5 -34.5h1814q48 0 82.5 34.5t34.5 82.5v1814q0 48 -34.5 82.5t-82.5 34.5h-1814q-48 0 -82.5 -34.5t-34.5 -82.5v-1814zM900 969v303h222v258q0 78 26 147t77 124t136.5 87t194.5 32q55 0 108 -3t79 -6l26 -3l-7 -282h-193q-76 0 -101.5 -32 t-25.5 -101v-3v-2v-9v-207h329l-14 -303h-315v-841h-320v841h-222z" />
-<glyph unicode="&#xf204;" d="M640 969v303h222v258q0 78 26 147t77 124t136.5 87t194.5 32q55 0 108 -3t79 -6l26 -3l-7 -282h-193q-76 0 -101.5 -32t-25.5 -101v-3v-2v-9v-207h329l-14 -303h-315v-841h-320v841h-222z" />
-<glyph unicode="&#xf205;" d="M0 1024q0 208 81 397.5t218.5 327t327 218.5t397.5 81t398 -81t327 -218.5t218 -327t81 -397.5q0 -209 -81 -398.5t-218 -326.5t-326.5 -218t-398.5 -81q-208 0 -397.5 81t-327 218t-218.5 327t-81 398zM128 1024q0 -259 135.5 -473.5t359.5 -327.5l-421 1156 q-74 -168 -74 -355zM285 1530q4 0 13.5 -0.5t15.5 -0.5q70 0 127.5 2.5t80.5 4.5l22 3q29 2 46.5 -16t19.5 -40.5t-13 -43t-44 -24.5q-27 -4 -70 -8l295 -877l198 591l-104 283l-90 11q-38 2 -51.5 34t4.5 62t56 28q54 -10 201 -10q70 0 127.5 2.5t80.5 4.5l22 3 q38 2 56.5 -27t5 -60.5t-51.5 -36.5q-27 -4 -69 -8l293 -870l90 301q69 177 69 293q0 51 -14 107q-18 45 -40 81q-2 3 -15 24t-15.5 25t-13 22t-13 24.5t-10 22t-10 24.5t-6.5 22t-5 25t-1 24q0 63 42 110.5t106 49.5q-121 108 -274.5 168t-321.5 60q-226 0 -421 -105 t-318 -285zM772 165q123 -37 252 -37q152 0 296 51q0 1 -1 1l-1 2l-278 763zM1485 256q199 120 317 324t118 444q0 216 -99 409q4 -44 4 -68q0 -153 -69 -324z" />
-<glyph unicode="&#xf206;" d="M128 486v485q125 -127 330 -127q30 0 59 3q-32 -61 -32 -118q0 -33 13 -63t28.5 -48.5t45.5 -47.5q-18 0 -54.5 -0.5t-55.5 -0.5q-183 0 -334 -83zM128 1599v97q0 93 65.5 158.5t158.5 65.5h1344q93 0 158.5 -65.5t65.5 -158.5v-224h-280v280h-140v-280h-280v-140h280 v-280h140v280h280v-980q0 -93 -65.5 -158.5t-158.5 -65.5h-539q5 28 5 50q0 143 -46.5 230t-189.5 194q-3 2 -20.5 15t-25 19t-25.5 20t-27.5 22.5t-24 22t-23 23.5t-17 22t-12.5 22.5t-4 20.5q0 52 23 87t99 94q180 141 180 324q0 113 -45 204.5t-128 139.5h160l135 142 h-607q-127 0 -241.5 -49t-194.5 -132zM134 301q56 89 166.5 143.5t241.5 53.5q84 -1 158 -26q19 -13 62 -42.5t61 -42t48 -37t44.5 -41.5t29 -41.5t21.5 -49.5q7 -29 7 -66q0 -16 -1 -24h-620q-79 0 -140 49t-78 124zM228 1307q-21 161 50.5 269.5t194.5 104.5 q121 -4 215.5 -118.5t116.5 -277.5q21 -160 -43 -256t-187 -92q-125 4 -225.5 108t-121.5 262z" />
-<glyph unicode="&#xf207;" d="M384 1422q0 -58 40.5 -97.5t105.5 -39.5h1q67 0 108.5 39.5t41.5 97.5q-2 60 -42 98.5t-106 38.5q-67 0 -108 -39t-41 -98zM400 384h263v793h-263v-793zM809 384h264v443q0 45 8 64q16 40 50.5 68t85.5 28q133 0 133 -179v-424h264v455q0 175 -83.5 266t-220.5 91 q-50 0 -90.5 -12t-68.5 -34t-45 -41t-33 -44v112h-264v-793z" />
-<glyph unicode="&#xf208;" d="M128 384v1280q0 106 75 181t181 75h1280q106 0 181 -75t75 -181v-1280q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM384 1422q0 -58 40.5 -97.5t105.5 -39.5h1q67 0 108.5 39.5t41.5 97.5q-2 60 -42 98.5t-106 38.5q-67 0 -108 -39t-41 -98zM400 384h263 v793h-263v-793zM809 384h264v443q0 45 8 64q16 40 50.5 68t85.5 28q133 0 133 -179v-424h264v455q0 175 -83.5 266t-220.5 91q-50 0 -90.5 -12t-68.5 -34t-45 -41t-33 -44v112h-264v-793z" />
-<glyph unicode="&#xf209;" d="M171 1260q0 109 35.5 219t110 213t179 182t254 126.5t323.5 47.5q176 0 327.5 -60.5t253.5 -161t160 -231t58 -270.5q0 -246 -85 -443t-241 -309.5t-355 -112.5q-99 0 -186.5 46.5t-121.5 110.5q-73 -290 -89 -347q-34 -123 -127 -270l-149 54q-7 167 22 290l162 688 q-40 81 -40 200q0 139 70.5 232.5t172.5 93.5q83 0 127 -53.5t44 -135.5q0 -51 -18.5 -124t-49 -170t-44.5 -154q-23 -99 37.5 -171t161.5 -72q117 0 209.5 92t142 244.5t49.5 334.5q0 214 -139 349t-387 135q-139 0 -257.5 -49.5t-197 -133t-122.5 -193t-44 -229.5 q0 -147 83 -247q18 -21 21.5 -34t-3.5 -37q-16 -61 -25 -101q-7 -24 -24.5 -32t-39.5 1q-127 51 -192.5 181.5t-65.5 300.5z" />
-<glyph unicode="&#xf210;" d="M0 1024q0 208 81 398t218.5 327t327 218t397.5 81q209 0 398.5 -81t326.5 -218t218 -326.5t81 -398.5t-81 -398.5t-218 -326.5t-326.5 -218t-398.5 -81q-147 0 -290 42q74 116 103 219l72 282q28 -53 99 -90.5t151 -37.5q162 0 288.5 91.5t195.5 251t69 359.5 q0 114 -47 220t-130 187.5t-206.5 130.5t-265.5 49q-141 0 -262 -38.5t-205.5 -103t-145.5 -147.5t-89.5 -172.5t-28.5 -178.5q0 -138 53 -243.5t156 -147.5q18 -8 32.5 -1t18.5 26q2 9 10 41t11 41q5 19 2.5 30t-16.5 28q-68 78 -68 200q0 97 35.5 186t99.5 156.5t160 108 t209 40.5q201 0 313.5 -109.5t112.5 -283.5q0 -148 -40 -271.5t-115 -198t-169 -74.5q-82 0 -131.5 58.5t-30.5 138.5q11 46 35.5 125t39.5 138t15 101q0 66 -35.5 109.5t-102.5 43.5q-82 0 -139.5 -76t-57.5 -189q0 -43 8 -83.5t16 -59.5l9 -19q-113 -475 -132 -558 q-24 -97 -18 -235q-275 120 -444 374t-169 564z" />
-<glyph unicode="&#xf211;" d="M160 1024q0 -172 122 -294t294 -122t294 122t122 294t-122 294t-294 122t-294 -122t-122 -294zM1056 1024q0 -172 122 -294t294 -122t294 122t122 294t-122 294t-294 122t-294 -122t-122 -294z" />
-<glyph unicode="&#xf300;" d="M256 896v384q0 106 75 181t181 75h1024q106 0 181 -75t75 -181v-384q0 -106 -75 -181t-181 -75h-448l-448 -448v448h-128q-106 0 -181 75t-75 181z" />
-<glyph unicode="&#xf301;" d="M384 512v1024h384l64 -128h448v-128h-640l-128 -256h128l64 128h960l-256 -640h-1024z" />
-<glyph unicode="&#xf302;" d="M256 768l768 768h512v-512l-768 -768zM1152 1280q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5z" />
-<glyph unicode="&#xf303;" d="M256 1088q0 143 55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5t-55.5 -273.5t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5t-225 150t-150 225t-55.5 273.5zM384 1088q0 -117 45.5 -223.5t123 -184t184 -123t223.5 -45.5 t223.5 45.5t184 123t123 184t45.5 223.5t-45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5zM896 1062v474h128v-421l298 -298l-90 -91z" />
-<glyph unicode="&#xf304;" d="M512 384v256q0 159 112.5 271.5t271.5 112.5h256q159 0 271.5 -112.5t112.5 -271.5v-256h-1024zM768 1408q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181z" />
-<glyph unicode="&#xf305;" d="M256 384v1280h256v128h128v-128h640v128h128v-128h256v-1280h-1408zM384 640q0 -53 37.5 -90.5t90.5 -37.5h896q53 0 90.5 37.5t37.5 90.5v640q0 53 -37.5 90.5t-90.5 37.5h-896q-53 0 -90.5 -37.5t-37.5 -90.5v-640zM768 1216q0 26 19 45t45 19h128q26 0 45 -19t19 -45 v-512q0 -26 -19 -45t-45 -19t-45 19t-19 45v448h-64q-26 0 -45 19t-19 45z" />
-<glyph unicode="&#xf306;" d="M256 384v1280h256v128h128v-128h640v128h128v-128h256v-1280h-1408zM384 640q0 -53 37.5 -90.5t90.5 -37.5h896q53 0 90.5 37.5t37.5 90.5v640q0 53 -37.5 90.5t-90.5 37.5h-896q-53 0 -90.5 -37.5t-37.5 -90.5v-640zM768 1216q0 26 19 45t45 19h256h2h1h3 q22 -2 38.5 -18t19.5 -39v-2v-2v-1v-2q0 -5 -2 -15l-128 -512q-6 -26 -28.5 -40t-48.5 -7q-26 6 -40 28.5t-7 48.5l108 433h-174q-26 0 -45 19t-19 45z" />
-<glyph unicode="&#xf307;" d="M256 384v1280h256v128h128v-128h640v128h128v-128h256v-1280h-1408zM384 640q0 -53 37.5 -90.5t90.5 -37.5h896q53 0 90.5 37.5t37.5 90.5v640q0 53 -37.5 90.5t-90.5 37.5h-896q-53 0 -90.5 -37.5t-37.5 -90.5v-640zM512 640v128h128v-128h-128zM512 896v128h128v-128 h-128zM768 640v128h128v-128h-128zM768 896v128h128v-128h-128zM768 1152v128h128v-128h-128zM1024 640v128h128v-128h-128zM1024 896v128h128v-128h-128zM1024 1152v128h128v-128h-128zM1280 896v128h128v-128h-128zM1280 1152v128h128v-128h-128z" />
-<glyph unicode="&#xf400;" d="M256 1216q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5q0 -184 -111 -337l495 -495l-128 -128l-495 495q-153 -111 -337 -111q-117 0 -223.5 45.5t-184 123t-123 184t-45.5 223.5zM384 1216q0 -185 131.5 -316.5 t316.5 -131.5q186 0 317 131.5t131 316.5t-131 316.5t-317 131.5q-185 0 -316.5 -131.5t-131.5 -316.5z" />
-<glyph unicode="&#xf401;" d="M256 1216q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5q0 -184 -111 -337l495 -495l-128 -128l-495 495q-153 -111 -337 -111q-117 0 -223.5 45.5t-184 123t-123 184t-45.5 223.5zM384 1216q0 -185 131.5 -316.5 t316.5 -131.5q186 0 317 131.5t131 316.5t-131 316.5t-317 131.5q-185 0 -316.5 -131.5t-131.5 -316.5zM512 1152v128h640v-128h-640z" />
-<glyph unicode="&#xf402;" d="M256 1216q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5q0 -184 -111 -337l495 -495l-128 -128l-495 495q-153 -111 -337 -111q-117 0 -223.5 45.5t-184 123t-123 184t-45.5 223.5zM384 1216q0 -185 131.5 -316.5 t316.5 -131.5q186 0 317 131.5t131 316.5t-131 316.5t-317 131.5q-185 0 -316.5 -131.5t-131.5 -316.5zM512 1152v128h256v256h128v-256h256v-128h-256v-256h-128v256h-256z" />
-<glyph unicode="&#xf403;" d="M0 1024l506 506q101 103 234.5 160.5t283.5 57.5t283.5 -57.5t233.5 -159.5l507 -507l-506 -507q-101 -103 -234.5 -160t-283.5 -57t-283.5 57.5t-233.5 160.5zM272 1024l370 -371q77 -78 175.5 -119.5t206.5 -41.5t206 41.5t174 118.5l373 372l-371 371 q-158 161 -382 161q-108 0 -206.5 -41t-173.5 -119zM640 1024q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5zM1024 1152q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5 t-90.5 -37.5t-37.5 -90.5z" />
-<glyph unicode="&#xf404;" d="M0 1024l506 506q101 103 234.5 160.5t283.5 57.5q193 0 358 -95l-143 -143q-103 46 -215 46q-108 0 -206.5 -41t-173.5 -119l-372 -372l240 -240l-136 -136zM339 429l90 -90l1280 1280l-90 90zM640 1024q0 159 112.5 271.5t271.5 112.5q44 0 98 -14l-468 -468 q-14 54 -14 98zM666 395l143 143q103 -46 215 -46q108 0 206 41.5t174 118.5l373 372l-241 241l136 135l376 -376l-506 -507q-101 -103 -234.5 -160t-283.5 -57q-193 0 -358 95zM926 654l468 468q14 -54 14 -98q0 -159 -112.5 -271.5t-271.5 -112.5q-44 0 -98 14z" />
-<glyph unicode="&#xf405;" d="M640 768l320 320l-320 320l128 128l320 -320l320 320l128 -128l-320 -320l320 -320l-128 -128l-320 320l-320 -320z" />
-<glyph unicode="&#xf406;" d="M128 256l832 832l-832 832l128 128l832 -832l832 832l128 -128l-832 -832l832 -832l-128 -128l-832 832l-832 -832z" />
-<glyph unicode="&#xf407;" d="M384 1280q0 106 75 181t181 75h140q20 56 69.5 92t110.5 36q62 0 111 -35.5t69 -92.5h140q106 0 181 -75t75 -181h-128v-768q0 -53 -37.5 -90.5t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v768h-128zM640 576q0 -26 19 -45t45 -19t45 19t19 45v640q0 26 -19 45 t-45 19t-45 -19t-19 -45v-640zM896 576q0 -26 19 -45t45 -19t45 19t19 45v640q0 26 -19 45t-45 19t-45 -19t-19 -45v-640zM1152 576q0 -26 19 -45t45 -19t45 19t19 45v640q0 26 -19 45t-45 19t-45 -19t-19 -45v-640z" />
-<glyph unicode="&#xf408;" d="M256 1151l476 -330l-183 -535l475 332l475 -332l-183 535l476 329h-587l-181 535l-180 -534h-588z" />
-<glyph unicode="&#xf409;" d="M384 1024l640 640l640 -640l-128 -128l-512 512l-512 -512zM640 512v384l384 384l384 -384v-384h-256v384h-256v-384h-256z" />
-<glyph unicode="&#xf410;" d="M0 384l640 640l384 -384l384 384l640 -640h-2048zM0 512v1152l576 -576zM0 1792h2048l-1024 -1024zM1472 1088l576 576v-1152z" />
-<glyph unicode="&#xf411;" d="M384 384v448l896 896l448 -448l-896 -896h-448zM512 768l256 -256l128 128l-256 256zM685 941l96 -96l595 595l-96 96zM845 781l96 -96l595 595l-96 96z" />
-<glyph unicode="&#xf412;" d="M256 640v704l384 384v-704h640v448l640 -640l-640 -640v448h-1024z" />
-<glyph unicode="&#xf413;" d="M128 384q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181zM128 971v345q240 0 459 -94t377.5 -253.5t252.5 -379.5t94 -461h-345q0 170 -63.5 324t-181.5 273q-119 119 -272 182.5t-321 63.5zM129 1582v345q243 0 475 -64.5t428.5 -181 t362 -282.5t281 -363.5t180 -430.5t64.5 -477h-345q0 197 -52 385.5t-145.5 348t-227 294t-292 228t-346 146t-383.5 52.5z" />
-<glyph unicode="&#xf414;" d="M21 230q-57 102 31 244l760 1237q57 93 134.5 126.5t155 0t135.5 -126.5l759 -1237q88 -142 31 -244t-224 -102h-1557q-168 0 -225 102zM896 512q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5zM896 896 q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5v384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5v-384z" />
-<glyph unicode="&#xf415;" d="M128 1024h400q45 0 79.5 27.5t44.5 69.5q33 125 136.5 206t235.5 81q154 0 270 -114q38 -38 90.5 -38t90.5 38q37 38 37 91t-37 90q-88 89 -204.5 139t-246.5 50q-194 0 -353 -106t-234 -278h-309v-256zM536 663q0 -53 37 -90q89 -89 205 -139t246 -50q194 0 353 106 t234 278h309v256h-400q-45 0 -79.5 -27.5t-44.5 -69.5q-33 -125 -136.5 -206t-235.5 -81q-156 0 -269 115q-38 37 -91 37t-91 -38q-37 -38 -37 -91zM768 1024q0 -106 75 -181t181 -75t181 75t75 181t-75 181t-181 75t-181 -75t-75 -181z" />
-<glyph unicode="&#xf416;" d="M512 832v320h128v-320q0 -133 93.5 -226.5t226.5 -93.5t226.5 93.5t93.5 226.5v640q0 80 -56 136t-136 56t-136 -56t-56 -136v-512q0 -26 19 -45t45 -19t45 19t19 45v452h128v-452q0 -80 -56 -136t-136 -56t-136 56t-56 136v512q0 133 93.5 226.5t226.5 93.5t226.5 -93.5 t93.5 -226.5v-640q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5z" />
-<glyph unicode="&#xf417;" d="M384 1216q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5t-44.5 -222.5t-124.5 -185.5l-407 -406l-407 406q-80 80 -124.5 185.5t-44.5 222.5zM640 1216q0 -133 93.5 -226.5t226.5 -93.5t226.5 93.5t93.5 226.5t-93.5 226.5 t-226.5 93.5t-226.5 -93.5t-93.5 -226.5z" />
-<glyph unicode="&#xf418;" d="M608 1056l128 128l224 -192l448 512l128 -96l-512 -768h-128z" />
-<glyph unicode="&#xf419;" d="M0 256v256h2048v-256h-2048zM0 896v256h2048v-256h-2048zM0 1536v256h2048v-256h-2048z" />
-<glyph unicode="&#xf420;" d="M384 512l640 640l640 -640h-1280zM384 1280v128h1280v-128h-1280z" />
-<glyph unicode="&#xf421;" d="M384 896v256h1152v-256h-1152z" />
-<glyph unicode="&#xf422;" d="M384 512v1024h1152v-1024h-1152zM512 640h896v640h-896v-640z" />
-<glyph unicode="&#xf500;" d="M128 0l960 960l960 -960h-1920z" />
-<glyph unicode="&#xf501;" d="M0 128l960 960l-960 960v-1920z" />
-<glyph unicode="&#xf502;" d="M128 2048l960 -960l960 960h-1920z" />
-<glyph unicode="&#xf503;" d="M1088 1088l960 960v-1920z" />
-</font>
-</defs></svg> \ No newline at end of file
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.ttf b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.ttf
deleted file mode 100644
index 45228d9e..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.ttf
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.woff b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.woff
deleted file mode 100644
index a64be4b1..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.woff
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/template-tags.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/template-tags.php
deleted file mode 100644
index 6a398391..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/template-tags.php
+++ /dev/null
@@ -1,96 +0,0 @@
-<?php
-/**
- * Custom template tags for this theme.
- *
- * Eventually, some of the functionality here could be replaced by core features
- *
- * @package Minileven
- * @since Minileven 2.0
- */
-
-/**
- * Display navigation to next/previous pages when applicable
- */
-function minileven_content_nav( $nav_id ) {
- global $wp_query;
-
- if ( $wp_query->max_num_pages > 1 ) : ?>
- <nav id="<?php echo $nav_id; ?>">
- <h3 class="assistive-text"><?php _e( 'Post navigation', 'jetpack' ); ?></h3>
- <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&laquo;</span> Older', 'jetpack' ) ); ?></div>
- <div class="nav-next"><?php previous_posts_link( __( 'Newer <span class="meta-nav">&raquo;</span>', 'jetpack' ) ); ?></div>
- </nav><!-- #nav-above -->
- <?php endif;
-}
-
-/**
- * Template for comments and pingbacks.
- * Used as a callback by wp_list_comments() for displaying the comments.
- * @since Minileven 1.0
- */
-function minileven_comment( $comment, $args, $depth ) {
- $GLOBALS['comment'] = $comment;
- switch ( $comment->comment_type ) :
- case 'pingback' :
- case 'trackback' :
- ?>
- <li class="post pingback">
- <p><?php _e( 'Pingback:', 'jetpack' ); ?> <?php comment_author_link(); ?></p>
- <?php
- break;
- default :
- ?>
- <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">
- <article id="comment-<?php comment_ID(); ?>" class="comment">
- <footer class="comment-meta">
- <div class="comment-author vcard">
- <?php
- $avatar_size = 32;
- if ( '0' != $comment->comment_parent )
- $avatar_size = 24;
-
- echo get_avatar( $comment, $avatar_size );
-
- /* translators: 1: comment author, 2: date and time */
- printf( __( '%1$s on %2$s', 'jetpack' ),
- sprintf( '<span class="fn">%s</span>', get_comment_author_link() ),
- sprintf( '<a href="%1$s"><time pubdate datetime="%2$s">%3$s</time></a>',
- esc_url( get_comment_link( $comment->comment_ID ) ),
- get_comment_time( 'c' ),
- /* translators: 1: date, 2: time */
- sprintf( __( '%1$s at %2$s', 'jetpack' ), get_comment_date(), get_comment_time() )
- )
- );
- ?>
- </div><!-- .comment-author .vcard -->
-
- <?php if ( $comment->comment_approved == '0' ) : ?>
- <em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'jetpack' ); ?></em>
- <br />
- <?php endif; ?>
-
- </footer>
-
- <div class="comment-content"><?php comment_text(); ?></div>
- <div class="reply">
- <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'jetpack' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
- </div><!-- .reply -->
- </article><!-- #comment-## -->
-
- <?php
- break;
- endswitch;
-}
-
-/**
- * Prints HTML with meta information for the current post-date/time and author.
- * @since Minileven 1.0
- */
-function minileven_posted_on() {
- printf( __( '<span class="entry-date"><a href="%1$s" title="%2$s" rel="bookmark"><time datetime="%3$s" pubdate>%4$s</time></a></span>', 'jetpack' ),
- esc_url( get_permalink() ),
- esc_attr( get_the_time() ),
- esc_attr( get_the_date( 'c' ) ),
- esc_html( get_the_date() )
- );
-} \ No newline at end of file
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/tweaks.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/tweaks.php
deleted file mode 100644
index a0c664f5..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/tweaks.php
+++ /dev/null
@@ -1,103 +0,0 @@
-<?php
-/**
- * Custom functions that act independently of the theme templates
- *
- * Eventually, some of the functionality here could be replaced by core features
- *
- * @package Minileven
- * @since Minileven 2.0
- */
-
-/**
-* Sets the post excerpt length based on number of characters, without breaking words at the end
-*
-*/
-function minileven_excerpt( $count ) {
- $excerpt = get_the_content();
- $excerpt = strip_tags( $excerpt );
- $excerpt = strip_shortcodes( $excerpt );
- $excerpt = substr( $excerpt, 0, $count );
- $excerpt = substr( $excerpt, 0, strripos( $excerpt, " " ) );
- $excerpt = $excerpt . minileven_continue_reading_link();
- return $excerpt;
-}
-/**
-
-/**
- * Returns a "Continue Reading" link for excerpts
- */
-function minileven_continue_reading_link() {
- return ' &hellip; <a href="'. esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'jetpack' ) . '</a>';
-}
-
-/**
- * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and minileven_continue_reading_link().
- */
-function minileven_auto_excerpt_more( $more ) {
- return ' &hellip;' . minileven_continue_reading_link();
-}
-add_filter( 'excerpt_more', 'minileven_auto_excerpt_more' );
-
-/**
- * Adds a pretty "Continue Reading" link to custom post excerpts.
- *
- * To override this link in a child theme, remove the filter and add your own
- * function tied to the get_the_excerpt filter hook.
- */
-function minileven_custom_excerpt_more( $output ) {
- if ( has_excerpt() && ! is_attachment() ) {
- $output .= minileven_continue_reading_link();
- }
- return $output;
-}
-add_filter( 'get_the_excerpt', 'minileven_custom_excerpt_more' );
-
-/**
- * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link.
- */
-function minileven_page_menu_args( $args ) {
- $args['show_home'] = true;
- return $args;
-}
-add_filter( 'wp_page_menu_args', 'minileven_page_menu_args' );
-
-/**
- * Adds a custom class to the array of body classes, to allow Minileven to be targeted with Custom CSS.
- */
-function minileven_body_classes( $classes ) {
- $classes[] = 'mobile-theme';
- return $classes;
-}
-add_filter( 'body_class', 'minileven_body_classes' );
-
-/**
- * Filters wp_title to print a neat <title> tag based on what is being viewed.
- *
- * @since Minileven 2.0
- */
-function minileven_wp_title( $title, $sep ) {
- global $page, $paged;
-
- if ( is_feed() )
- return $title;
-
- // Add the blog name
- $title .= get_bloginfo( 'name' );
-
- // Add the blog description for the home/front page.
- $site_description = get_bloginfo( 'description', 'display' );
- if ( $site_description && ( is_home() || is_front_page() ) )
- $title .= " $sep $site_description";
-
- // Add a page number if necessary:
- if ( $paged >= 2 || $page >= 2 )
- $title .= " $sep " . sprintf( __( 'Page %s', 'jetpack' ), max( $paged, $page ) );
-
- return $title;
-}
-add_filter( 'wp_title', 'minileven_wp_title', 10, 2 );
-
-/**
- * Add theme support for Responsive Videos.
- */
-add_theme_support( 'jetpack-responsive-videos' ); \ No newline at end of file
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/index.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/index.php
deleted file mode 100644
index 14a1afdc..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/index.php
+++ /dev/null
@@ -1,75 +0,0 @@
-<?php
-/**
- * The main template file.
- *
- * This is the most generic template file in a WordPress theme
- * and one of the two required files for a theme (the other being style.css).
- * It is used to display a page when nothing more specific matches a query.
- * E.g., it puts together the home page when no home.php file exists.
- * Learn more: https://codex.wordpress.org/Template_Hierarchy
- *
- * @package Minileven
- */
-
-get_header(); ?>
-
- <div id="primary">
- <div id="content" role="main">
-
- <?php if ( is_archive() ) : ?>
- <header class="page-header">
- <h1 class="page-title">
- <?php if ( is_day() ) : ?>
- <?php printf( __( 'Daily Archives: %s', 'jetpack' ), '<span>' . get_the_date() . '</span>' ); ?>
- <?php elseif ( is_month() ) : ?>
- <?php printf( __( 'Monthly Archives: %s', 'jetpack' ), '<span>' . get_the_date( 'F Y' ) . '</span>' ); ?>
- <?php elseif ( is_year() ) : ?>
- <?php printf( __( 'Yearly Archives: %s', 'jetpack' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?>
- <?php elseif ( is_category() ) : ?>
- <?php printf( __( 'Posted in %s', 'jetpack' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?>
- <?php elseif ( is_tag() ) : ?>
- <?php printf( __( 'Tagged with %s', 'jetpack' ), '<span>' . single_tag_title( '', false ) . '</span>' ); ?>
- <?php elseif( is_author() ) : ?>
- <?php printf( __( 'Posted by %s', 'jetpack' ), '<span>' . get_the_author() . '</span>' ); ?>
- <?php else : ?>
- <?php _e( 'Blog Archives', 'jetpack' ); ?>
- <?php endif; ?>
- </h1>
- </header>
- <?php endif; ?>
-
- <?php if ( is_search() ) : ?>
- <header class="page-header">
- <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'jetpack' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
- </header>
- <?php endif; ?>
-
- <?php if ( have_posts() ) : // Start the loop ?>
- <?php while ( have_posts() ) : the_post(); ?>
-
- <?php get_template_part( 'content', get_post_format() ); ?>
-
- <?php endwhile; ?>
-
- <?php else : ?>
- <article id="post-0" class="post error404 not-found">
- <header class="entry-header">
- <h1 class="entry-title"><?php _e( 'Nothing Found', 'jetpack' ); ?></h1>
- </header><!-- .entry-header -->
-
- <div class="entry-content">
- <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'jetpack' ); ?></p>
- <?php get_search_form(); ?>
- </div><!-- .entry-content -->
- </article><!-- #post-0 -->
-
- <?php endif; ?>
-
- </div><!-- #content -->
-
- <?php minileven_content_nav( 'nav-below' ); ?>
-
- </div><!-- #primary -->
-
-<?php get_sidebar(); ?>
-<?php get_footer(); ?>
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/js/small-menu.js b/plugins/jetpack/modules/minileven/theme/pub/minileven/js/small-menu.js
deleted file mode 100644
index ee3c7a4d..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/js/small-menu.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * navigation.js
- *
- * Handles toggling the navigation menu for small screens.
- */
-( function() {
- var nav = document.getElementById( 'access' ),
- button,
- menu;
- if ( ! nav ) {
- return;
- }
- button = nav.getElementsByTagName( 'h3' )[ 0 ];
- menu = nav.getElementsByTagName( 'ul' )[ 0 ];
- if ( ! button ) {
- return;
- }
-
- // Hide button if menu is missing or empty.
- if ( ! menu || ! menu.childNodes.length ) {
- button.style.display = 'none';
- return;
- }
-
- button.onclick = function() {
- if ( -1 === menu.className.indexOf( 'nav-menu' ) ) {
- menu.className = 'nav-menu';
- }
-
- if ( -1 !== button.className.indexOf( 'toggled-on' ) ) {
- button.className = button.className.replace( ' toggled-on', '' );
- menu.className = menu.className.replace( ' toggled-on', '' );
- } else {
- button.className += ' toggled-on';
- menu.className += ' toggled-on';
- }
- };
-} )();
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/page.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/page.php
deleted file mode 100644
index 0b09197b..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/page.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-/**
- * The template for displaying all pages.
- *
- * This is the template that displays all pages by default.
- * Please note that this is the WordPress construct of pages
- * and that other 'pages' on your WordPress site will use a
- * different template.
- *
- * @package Minileven
- */
-
-get_header(); ?>
-
- <div id="primary">
- <div id="content" role="main">
-
- <?php while ( have_posts() ) : the_post(); ?>
-
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <?php if ( '1' == get_option( 'wp_mobile_featured_images' ) && minileven_show_featured_images() ) : ?>
- <div class="entry-thumbnail">
- <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'jetpack' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="minileven-featured-thumbnail"><?php the_post_thumbnail(); ?></a>
- </div><!-- .entry-thumbnail -->
- <?php endif; ?>
- <h1 class="entry-title"><?php the_title(); ?></h1>
- </header><!-- .entry-header -->
-
- <div class="entry-content">
- <?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'jetpack' ) . '</span>', 'after' => '</div>' ) ); ?>
- </div><!-- .entry-content -->
- <?php if ( is_user_logged_in() ) : ?>
- <footer class="entry-meta">
- <?php edit_post_link( __( 'Edit', 'jetpack' ), '<span class="edit-link">', '</span>' ); ?>
- </footer><!-- .entry-meta -->
- <?php endif; ?>
- </article><!-- #post-<?php the_ID(); ?> -->
-
- <?php comments_template( '', true ); ?>
-
- <?php endwhile; // end of the loop. ?>
-
- </div><!-- #content -->
- </div><!-- #primary -->
-<?php get_footer(); ?> \ No newline at end of file
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/rtl.css b/plugins/jetpack/modules/minileven/theme/pub/minileven/rtl.css
deleted file mode 100644
index b2839d74..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/rtl.css
+++ /dev/null
@@ -1,574 +0,0 @@
-/*
-Theme Name: Twenty Eleven
-
-Adding support for language written in a Right To Left (RTL) direction is easy -
-it's just a matter of overwriting all the horizontal positioning attributes
-of your CSS stylesheet in a separate stylesheet file named rtl.css.
-
-http://codex.wordpress.org/Right_to_Left_Language_Support
-
-*/
-
-/* =Reset reset
------------------------------------------------ */
-
-caption, th, td {
- text-align: right;
-}
-
-/* =Structure
------------------------------------------------ */
-
-body {
- direction:rtl;
- unicode-bidi:embed;
-}
-
-/* Showcase */
-.page-template-showcase-php section.recent-posts {
- float: left;
- margin: 0 31% 0 0;
-}
-.page-template-showcase-php #main .widget-area {
- float: right;
- margin: 0 0 0 -22.15%;
-}
-
-/* One column */
-
-.one-column article.feature-image.small .entry-summary a {
- left: auto;
- right: -9%;
-}
-
-/* Simplify the pullquotes and pull styles */
-.one-column.singular .entry-meta .edit-link a {
- right: 0px;
- left: auto;
-}
-/* Make sure we have room for our comment avatars */
-.one-column .commentlist > li.comment {
- margin-left: 0;
- margin-right: 102px;
-}
-/* Make sure the logo and search form don't collide */
-.one-column #branding #searchform {
- right: auto;
- left: 40px;
-}
-/* Talking avatars take up too much room at this size */
-.one-column .commentlist > li.comment {
- margin-right: 0;
-}
-.one-column .commentlist > li.comment .comment-meta,
-.one-column .commentlist > li.comment .comment-content {
- margin-right: 0;
- margin-left: 85px;
-}
-.one-column .commentlist .avatar {
- right: auto;
- left: 1.625em;
-}
-.one-column .commentlist .children .avatar {
- left: auto;
- right: 2.2em;
-}
-
-/* =Global
------------------------------------------------ */
-
-/* Text elements */
-p {
- margin-bottom: 1.625em;
-}
-ul, ol {
- margin: 0 2.5em 1.625em 0;
-}
-.ltr ul, ol {
- margin: 0 0 1.625em 2.5em;
-}
-blockquote {
- font-family: Arial, sans-serif;
-}
-blockquote em, blockquote i, blockquote cite {
- font-style: normal;
-}
-
-/* Forms */
-textarea {
- padding-left: 0;
- padding-right: 3px;
-}
-input#s {
- background-position: 97% 6px;
- padding: 4px 28px 4px 10px;
-}
-
-/* Assistive text */
-#access a.assistive-text:active,
-#access a.assistive-text:focus {
- left: auto;
- right: 7.6%;
-}
-
-/* =Header
------------------------------------------------ */
-
-#site-title {
- margin-right: 0;
- margin-left: 270px;
-}
-
-#site-description {
- margin: 0 0 3.65625em 270px;
-}
-
-/* =Menu
--------------------------------------------------------------- */
-
-#access {
- float: right;
-}
-#access ul {
- margin: 0 -0.8125em 0 0;
- padding-right: 0;
-}
-#access li {
- float: right;
-}
-#access ul ul {
- float: right;
- left: auto;
- right: 0;
-}
-#access ul ul ul {
- left: auto;
- right: 100%;
-}
-
-/* Search Form */
-#branding #searchform {
- right: auto;
- left: 7.6%;
- text-align: left;
-}
-#branding #s {
- float: left;
-}
-#branding .only-search + #access div {
- padding-right: 0;
- padding-left: 205px;
-}
-
-
-/* =Content
------------------------------------------------ */
-.entry-title,
-.entry-header .entry-meta {
- padding-right: 0;
- padding-left: 76px;
-}
-.entry-content td,
-.comment-content td {
- padding: 6px 0 6px 10px;
-}
-.page-link span {
- margin-right: 0;
- margin-left: 6px;
-}
-.entry-meta .edit-link a {
- float: left;
-}
-/* Images */
-
-.wp-caption .wp-caption-text,
-.gallery-caption {
- font-family: Arial, sans-serif;
-}
-.wp-caption .wp-caption-text {
- padding: 10px 40px 5px 0px;
-}
-.wp-caption .wp-caption-text:before {
- margin-right: 0;
- margin-left: 5px;
- left: auto;
- right: 10px;
-}
-#content .gallery-columns-4 .gallery-item {
- padding-right:0;
- padding-left:2%;
-}
-
-/* Author Info */
-.singular #author-info {
- margin: 2.2em -35.4% 0 -35.6%;
-}
-#author-avatar {
- float: right;
- margin-right: 0;
- margin-left: -78px;
-}
-#author-description {
- float: right;
- margin-left: 0;
- margin-right: 108px;
-}
-/* Comments link */
-.entry-header .comments-link a {
- background-image: url(images/comment-bubble-rtl.png);
- right: auto;
- left: 0;
-}
-
-/*
- Post Formats Headings
-*/
-.singular .entry-title,
-.singular .entry-header .entry-meta {
- padding-left: 0;
-}
-.singular .entry-header .entry-meta {
- left: auto;
- right: 0;
-}
-.singular .entry-meta .edit-link a {
- left: auto;
- right: 50px;
-}
-
-
-/* =Gallery
------------------------------------------------ */
-
-.format-gallery .gallery-thumb {
- float: right;
- margin: .375em 0 0 1.625em;
-}
-
-
-/* =Status
------------------------------------------------ */
-
-.format-status img.avatar {
- float: right;
- margin: 4px 0 2px 10px;
-}
-
-
-/* =Image
------------------------------------------------ */
-
-.indexed.format-image div.entry-meta {
- float: right;
-}
-/* =error404
-----------------------
-------------------------- */
-.error404 #main .widget {
- float: right;
- margin-right: auto;
- margin-left: 3.7%;
-}
-.error404 #main .widget_archive {
- margin-left: 0;
-}
-.error404 #main .widget_tag_cloud {
- margin-left: 0;
-}
-
-/* =Showcase
------------------------------------------------ */
-
-article.intro .edit-link a {
- right: auto;
- left: 20px;
-}
-
-/* Featured post */
-section.featured-post {
- float: right;
-}
-
-/* Small featured post */
-section.featured-post .attachment-small-feature {
- float: left;
- margin: 0 0 1.625em -8.9%;
- right: auto;
- left: -15px;
-}
-article.feature-image.small {
- float: right;
-}
-article.feature-image.small .entry-summary p a {
- left:auto;
- right: -23.8%;
- padding: 9px 85px 9px 26px;
-}
-
-/* Large featured post */
-section.feature-image.large .hentry {
- left:auto;
- right: 9%;
- margin: 1.625em 0 0 9%;
-}
-/* Featured Slider */
-.featured-posts .showcase-heading {
- padding-left: 0;
- padding-right: 8.9%;
-}
-.featured-posts section.featured-post {
- left: auto;
- right: 0;
-}
-#content .feature-slider {
- right: auto;
- left: 8.9%;
-}
-.feature-slider li {
- float: right;
-}
-/* Recent Posts */
-section.recent-posts .other-recent-posts a[rel="bookmark"] {
- float: right;
-}
-section.recent-posts .other-recent-posts .comments-link a,
-section.recent-posts .other-recent-posts .comments-link > span {
- padding: 0.3125em 1em 0.3125em 0;
- left: 0;
- text-align: left;
-}
-
-/* =Attachments
------------------------------------------------ */
-
-/* =Navigation
--------------------------------------------------------------- */
-
-.nav-previous {
- float: right;
-}
-.nav-next {
- float: left;
- text-align: left;
-}
-
-/* Singular navigation */
-#nav-single {
- float: left;
- text-align: left;
-}
-#nav-single .nav-next {
- padding-left: 0;
- padding-right: .5em;
-}
-
-
-/* =Widgets
------------------------------------------------ */
-
-.widget ul ul {
- margin-left: 0;
- margin-right: 1.5em;
-}
-
-/* Twitter */
-.widget_twitter .timesince {
- margin-right: 0;
- margin-left: -10px;
- text-align: left;
-}
-
-/* =Comments
------------------------------------------------ */
-
-.commentlist .children li.comment {
- border-left: none;
- border-right: 1px solid #ddd;
- -moz-border-radius: 3px 0 0 3px;
- border-radius: 3px 0 0 3px;
-}
-.commentlist .children li.comment .comment-meta {
- margin-left: 0;
- margin-right: 50px;
-}
-.commentlist .avatar {
- left: auto;
- right: -102px;
-}
-.commentlist > li:before {
- content: url(images/comment-arrow-rtl.png);
- left:auto;
- right: -21px;
-}
-.commentlist > li.pingback:before {
- content: '';
-}
-.commentlist .children .avatar {
- left: auto;
- right: 2.2em;
-}
-
-/* Post author highlighting */
-.commentlist > li.bypostauthor:before {
- content: url(images/comment-arrow-bypostauthor-rtl.png);
-}
-
-/* sidebar-page.php comments */
-/* Make sure we have room for our comment avatars */
-.page-template-sidebar-page-php .commentlist > li.comment,
-.page-template-sidebar-page-php.commentlist .pingback {
- margin-left: 0;
- margin-right: 102px;
-}
-
-/* Comment Form */
-#respond .comment-form-author label,
-#respond .comment-form-email label,
-#respond .comment-form-url label,
-#respond .comment-form-comment label {
- left: auto;
- right: 4px;
-}
-#respond .comment-form-author label,
-#respond .comment-form-email label,
-#respond .comment-form-url label,
-#respond .comment-form-comment label {
- -webkit-box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
- -moz-box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
- box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
-}
-#respond .comment-form-author .required,
-#respond .comment-form-email .required {
- left: auto;
- right: 75%;
-}
-#respond .form-submit {
- float: left;
-}
-#respond input#submit {
- left: auto;
- right: 30px;
- padding: 5px 22px 5px 42px;
-}
-#respond #cancel-comment-reply-link {
- margin-left: 0;
- margin-right: 10px;
-}
-#cancel-comment-reply-link {
- right: auto;
- left: 1.625em;
-}
-
-/* =Footer
------------------------------------------------ */
-
-/* Two Footer Widget Areas */
-#supplementary.two .widget-area {
- float: right;
- margin-right: 0;
- margin-left: 3.7%;
-}
-#supplementary.two .widget-area + .widget-area {
- margin-left: 0;
-}
-
-/* Three Footer Widget Areas */
-#supplementary.three .widget-area {
- float: right;
- margin-right: 0;
- margin-left: 3.7%;
-}
-#supplementary.three .widget-area + .widget-area + .widget-area {
- margin-left: 0;
-}
-
-/* Site Generator Line */
-#site-generator .sep {
- background-position: right center;
-}
-
-
-/* =Responsive Structure
------------------------------------------------ */
-
-@media (max-width: 800px) {
- /* Simplify the showcase template when small feature */
- section.featured-post .attachment-small-feature,
- .one-column section.featured-post .attachment-small-feature {
- float: right;
- }
- article.feature-image.small {
- float: left;
- }
- article.feature-image.small .entry-summary p a {
- right: 0;
- }
- .singular .entry-meta .edit-link a {
- left: auto;
- right: 0px;
- }
- /* Make sure we have room for our comment avatars */
- .commentlist > li.comment,
- .commentlist .pingback {
- margin-left: 0;
- margin-right: 102px;
- }
- /* No need to float footer widgets at this size */
- #colophon #supplementary .widget-area {
- margin-left: 0;
- }
- /* No need to float 404 widgets at this size */
- .error404 #main .widget {
- margin-left: 0;
- }
-}
-@media (max-width: 650px) {
- /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */
- #site-title,
- #site-description {
- margin-left: 0;
- }
- /* Talking avatars take up too much room at this size */
- .commentlist > li.comment,
- .commentlist > li.pingback {
- margin-right: 0 !important;
- }
- .commentlist .children .avatar {
- left: auto;
- right: 2.2em;
- }
- /* Use the available space in the smaller comment form */
- #respond .comment-form-author .required,
- #respond .comment-form-email .required {
- left: auto;
- right: 95%;
- }
- #content .gallery-columns-3 .gallery-item {
- padding-right: 0;
- padding-left:2%;
- }
-}
-@media (max-width: 450px) {
- #content .gallery-columns-2 .gallery-item {
- padding-right:0;
- padding-left:4%;
- }
-}
-
-/* =Print
------------------------------------------------ */
-
-@media print {
- #primary {
- float: right;
- }
- /* Comments */
- .commentlist .avatar {
- left: auto;
- right: 2.2em;
- }
- .commentlist li.comment .comment-meta {
- margin-left: 0;
- margin-right: 50px;
- }
-}
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/screenshot.png b/plugins/jetpack/modules/minileven/theme/pub/minileven/screenshot.png
deleted file mode 100644
index d735057f..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/screenshot.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/searchform.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/searchform.php
deleted file mode 100644
index b4fd79aa..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/searchform.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-/**
- * The template for displaying search forms in Minileven
- *
- * @package Minileven
- */
-?>
- <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
- <label for="s" class="assistive-text"><?php _e( 'Search', 'jetpack' ); ?></label>
- <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'jetpack' ); ?>" />
- <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'jetpack' ); ?>" />
- </form>
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/sidebar.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/sidebar.php
deleted file mode 100644
index 5d1a4a06..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/sidebar.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-/**
- * The Sidebar containing the main widget area.
- *
- * @package Minileven
- */
-?>
- <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
- <div id="secondary" class="widget-area" role="complementary">
- <?php dynamic_sidebar( 'sidebar-1' ); ?>
- </div><!-- #secondary .widget-area -->
- <?php endif; ?> \ No newline at end of file
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css b/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css
deleted file mode 100644
index d3727dc0..00000000
--- a/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css
+++ /dev/null
@@ -1,1588 +0,0 @@
-/*
-Theme Name: Minileven
-Theme URI: http://theme.wordpress.com
-Author: Automattic
-Author URI: http://theme.wordpress.com
-Description: The Minileven theme is a clean, lightweight mobile experience for your blog based on Twenty Eleven.
-Version: 2.0-wpcom
-License: GNU General Public License
-License URI: license.txt
-Tags: dark, light, white, black, gray, one-column, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, full-width-template, infinite-scroll, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, blog, bright, clean, contemporary, elegant, minimal, modern, photography, simple, tumblelog
-*/
-
-.image-attachment .entry-caption p {
- font-size: 0.769em;
- letter-spacing: 0.1em;
- line-height: 2.6;
- margin: 0 0 2.6em;
- text-transform: uppercase;
-}
-
-/* =Webfont, thanks to FontSquirrel.com for conversion!
--------------------------------------------------------------- */
-@font-face {
- font-family: 'Genericons';
- src: url('inc/fonts/genericons-regular-webfont.eot');
- src: url('inc/fonts/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
- url('inc/fonts/genericons-regular-webfont.woff') format('woff'),
- url('inc/fonts/genericons-regular-webfont.ttf') format('truetype'),
- url('inc/fonts/genericons-regular-webfont.svg#genericonsregular') format('svg');
- font-weight: normal;
- font-style: normal;
-
-}
-
-/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
--------------------------------------------------------------- */
-
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, font, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td {
- border: 0;
- font-family: inherit;
- font-size: 100%;
- font-style: inherit;
- font-weight: inherit;
- margin: 0;
- outline: 0;
- padding: 0;
- vertical-align: baseline;
-}
-:focus {/* remember to define focus styles! */
- outline: 0;
-}
-body {
- background: #fff;
- line-height: 1;
-}
-ol, ul {
- list-style: none;
-}
-a img {
- border: 0;
-}
-article, aside, details, figcaption, figure,
-footer, header, menu, nav, section {
- display: block;
-}
-
-
-/* =Global
------------------------------------------------ */
-
-body, input, textarea {
- color: #404040;
- font: 13px "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
- line-height: 1.625;
- word-wrap: break-word;
-}
-body {
- background: #f1f1f1;
- font-weight: 400;
-}
-#page,
-#branding {
- background: #fff;
- -moz-box-shadow: 0 1px 2px rgba( 0,0,0,0.075 );
- -webkit-box-shadow: 0 1px 2px rgba( 0,0,0,0.075 );
- box-shadow: 0 1px 2px rgba( 0,0,0,0.075 );
-}
-
-/* Headings */
-h1,h2,h3,h4,h5,h6 {
- clear: both;
-}
-hr {
- background-color: #ccc;
- border: 0;
- height: 1px;
- margin-bottom: 1.625em;
-}
-
-/* Text elements */
-p {
- margin-bottom: 1.0em;
-}
-ul, ol {
- margin: 0 0 1.625em 2.5em;
-}
-ul {
- list-style: square;
-}
-ol {
- list-style-type: decimal;
-}
-ul ul, ol ol, ul ol, ol ul {
- margin-bottom: 0;
-}
-dl {
- margin: 0 1.625em;
-}
-dt {
- font-weight: bold;
-}
-dd {
- margin-bottom: 1.625em;
-}
-strong {
- font-weight: bold;
-}
-cite, em, i {
- font-style: italic;
-}
-blockquote {
- font-style: italic;
- font-weight: normal;
- margin: 0;
-}
-blockquote em, blockquote i, blockquote cite {
- font-style: normal;
-}
-blockquote cite {
- color: #666;
- font-size: 0.800em;
- font-weight: 300;
- letter-spacing: 0.05em;
- text-transform: uppercase;
-}
-pre {
- background: #f4f4f4;
- font: 1em "Courier 10 Pitch", Courier, monospace;
- line-height: 1.5;
- margin-bottom: 1.625em;
- overflow: auto;
- padding: 0.75em 1.625em;
-}
-code, kbd {
- font: 1em Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
-}
-abbr, acronym, dfn {
- border-bottom: 1px dotted #666;
- cursor: help;
-}
-address {
- display: block;
- margin: 0 0 1.625em;
-}
-ins {
- background: #fff9c0;
- text-decoration: none;
-}
-sup,
-sub {
- font-size: 0.667em;
- height: 0;
- line-height: 1;
- position: relative;
- vertical-align: baseline;
-}
-sup {
- bottom: 1ex;
-}
-sub {
- top: .5ex;
-}
-
-/* Forms */
-input[type=text],
-input[type=email],
-input[type=password],
-textarea {
- background: #fafafa;
- -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
- box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
- border: 1px solid #ddd;
- color: #888;
-}
-input[type=text]:focus,
-input[type=email]:focus,
-textarea:focus {
- color: #373737;
-}
-textarea {
- padding-left: 3px;
- width: 98%;
-}
-input[type=text],
-input[type=email] {
- padding: 3px;
-}
-input#s {
- border-radius: 2px;
- height: 1.692em;
- line-height: 1.2;
- padding: 0.4em 0.6em 0.29em;
-}
-input#s:focus {
- padding-bottom: 0.3em;
-}
-input#searchsubmit {
- display: none;
-}
-input#s:focus,
-input[type=text]:focus,
-input[type=email]:focus,
-textarea:focus {
- font-size: 1.231em;
-}
-
-/* Links */
-a {
- color: #278dbc;
- text-decoration: none;
-}
-a:hover,
-.entry-title a:hover,
-.entry-meta .edit-link a:hover,
-.commentlist .edit-link a:hover,
-.entry-meta .comments-link a:hover {
- color: #7dcae7;
-}
-/* Assistive text */
-.assistive-text {
- clip: rect(1px, 1px, 1px, 1px);
- position: absolute !important;
- visibility: hidden;
-}
-
-
-/* =Structure
------------------------------------------------ */
-
-#page {
- margin: 0 auto;
- padding: 2.5%;
-}
-#branding {
- margin: 0.6em auto 0;
- padding: 2.5% 2.5% 1.5%;
-}
-
-#primary,
-#secondary {
- margin: 0 auto;
- width: auto;
-}
-#secondary {
- margin-top: 0.8em;
-}
-
-/* Alignment */
-.aligncenter,
-.alignleft,
-.alignright {
- clear: both;
- display: block;
- margin-left: auto;
- margin-right: auto;
-}
-
-/* Make sure embeds and iframes scale on smaller screens */
-embed,
-iframe,
-object {
- width: auto;
-}
-.jetpack-video-wrapper {
- margin-bottom: 1.0em;
-}
-
-/* Make sure the WordPress Video Shortcode scales on smaller screens */
-video {
- height: 100% !important;
- max-width: 100% !important;
- width: 100% !important;
-}
-.wp-video {
- width: 100% !important;
-}
-
-
-/* =Header
------------------------------------------------ */
-
-#branding .site-branding {
- margin-bottom: 1.3em;
-}
-#site-title,
-#site-description {
- clear: none;
-}
-#site-title a {
- color: #111;
- font-size: 1.846em;
- font-weight: bold;
- line-height: 1.3;
-}
-#site-description {
- color: #7a7a7a;
- font-size: 0.923em;
-}
-
-/* Header Image */
-#header-img {
- text-align: center;
-}
-header img {
- max-width: 100%;
- height: auto;
-}
-
-
-/* =Navigation and Search Form
------------------------------------------------ */
-
-.menu-search {
- background: #1e8cbe;
- -webkit-box-shadow: inset 0 -1px rgba(0, 86, 132, 0.8), 0 1px 3px rgba(0, 86, 132, 0.4);
- -moz-box-shadow: inset 0 -1px 0 rgba(0, 86, 132, 0.8), 0 1px 3px rgba(0, 86, 132, 0.4);
- box-shadow: inset 0 -1px 0 rgba(0, 86, 132, 0.8), 0 1px 3px rgba(0, 86, 132, 0.4);
- clear: both;
- height: 46px;
- width: 100%;
-}
-.menu-search:after {
- clear: both;
- content: "";
- display: block;
-}
-.menu-search,
-#access,
-.menu-toggle,
-#access .menu-label {
- height: 46px;
-}
-
-/* Small menu */
-#access {
- float: left;
- width: 60%;
-}
-.search-form {
- float: right;
- text-align: right;
- width: 39%;
-}
-.menu-toggle {
- cursor: pointer;
-}
-#access h3.toggled-on {
- opacity: 0.8;
-}
-#access ul.nav-menu {
- background: #fff;
- -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
- box-shadow: 0 0 2px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
- display: none;
- position: absolute;
- left: 0.5em;
- top: 3em;
- width: 100%;
- z-index: 99999;
-}
-.admin-bar #access ul.nav-menu {
- top: 6.6em;
-}
-.main-small-navigation .menu {
- background: #f9f9f9;
- border: 1px solid #e9e9e9;
- position: absolute;
- width: 100%;
-}
-#access ul.nav-menu:before {
- color: #fff;
- content: '\f500';
- display: inline-block;
- font: 0.9em/1 'Genericons';
- left: 49px;
- position: absolute;
- top: -11px;
- }
-#access ul li {
- border-bottom: 1px solid rgba( 0, 0, 0, 0.1 );
- padding: 1em 0.8em;
-}
-#access ul li:last-of-type {
- border: none;
-}
-#access ul ul li,
-#access ul ul ul li {
- border: none;
- padding-bottom: 0;
-}
-#access a {
- display: block;
- font-size: 1em;
-}
-#access ul {
- display: none;
- list-style: none;
- margin: 0;
- padding: 0.5em 0;
-}
-#access ul ul {
- display: block;
-}
-#access .sub-menu {
- margin: 0 0 0 15px;
-}
-#access .menu-toggle {
- clear: none;
- color: #fff;
- font-size: 1.077em;
- line-height: 2.5;
- padding: 0.3em 0 0 0.8em;
-}
-#access .menu-toggle:after {
- content: '\f502';
- cursor: pointer;
- display: inline-block;
- font: 0.7em/1 'Genericons';
- margin-left: 0.8em;
- margin-top: 1.7em;
- position: absolute;
-}
-#access .toggled-on:after {
- opacity: 0.8;
-}
-#access ul.nav-menu.toggled-on {
- display: inline-block;
-}
-.search-form #s {
- background: #006d9d;
- border: 1px solid #00587f;
- border-width: 0 0 0 1px;
- border-radius: 0;
- color: rgba( 255, 255, 255, 0.6 );
- font-size: 1em;
- height: 30px;
- margin-right: 0;
- padding: 0.6em;
- width: 80%;
-}
-
-
-/* =Content
------------------------------------------------ */
-
-.page-title {
- color: #666;
- font-size: 0.769em;
- font-weight: 300;
- letter-spacing: 0.1em;
- line-height: 2.6;
- margin-bottom: 1.2em;
- text-transform: uppercase;
-}
-.page-title a {
- font-size: 0.923em;
- font-weight: bold;
- letter-spacing: 0;
- text-transform: none;
-}
-.hentry,
-.no-results {
- clear: both;
- margin: 0 0 1.5em;
- padding: 0 0 2em;
- position: relative;
-}
-.hentry {
- border-bottom: 1px solid #ececec;
-}
-.hentry:last-child,
-.no-results,
-body.singular .hentry {
- border-bottom: none;
-}
-.blog .sticky .entry-header .entry-meta {
- clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
- clip: rect(1px, 1px, 1px, 1px);
- position: absolute !important;
-}
-.entry-title {
- clear: both;
- font-size: 1.538em;
- line-height: 1.260;
- word-wrap: break-word;
-}
-.featured-post .entry-title {
- font-size: 1.077em;
-}
-.entry-title,
-.entry-title a {
- color: #333;
- text-decoration: none;
-}
-.entry-meta {
- color: #666;
- clear: both;
- font-size: 0.923em;
- font-weight: 300;
- line-height: 1.385;
- overflow: hidden;
- padding: 0 0 0.6em 0;
-}
-.entry-meta .entry-date,
-.entry-meta .entry-gallery {
- display: block;
- float: left;
-}
-.entry-meta .author-link {
- display: block;
- margin-top: 0.7em;
-}
-.entry-meta .comments-link {
- display: block;
- float: right;
-}
-.entry-meta .edit-link a {
- margin-right: .5em;
-}
-.entry-meta .edit-link a,
-.commentlist .edit-link a,
-.entry-meta .comments-link a,
-a.comment-reply-link {
- color: #464646;
-}
-.entry-meta .edit-link a {
- float: right;
- text-decoration: none;
- padding: 0 0.615em;
-}
-.entry-meta .comments-link a:before,
-.entry-meta .edit-link a:before {
- display: inline-block;
- -webkit-font-smoothing: antialiased;
- font: normal 18px/1 'Genericons';
- margin-right: 0.1em;
- vertical-align: top;
-}
-.entry-meta .comments-link a:before {
- content: '\f300';
- font-family: Genericons;
-}
-.entry-meta .edit-link a:before,
-.commentlist .edit-link a:before {
- content: '\f411';
- font-family: Genericons;
-}
-.commentlist .edit-link a:before,
-.entry-meta .comments-link a:before,
-.entry-meta .edit-link a:before,
-a.comment-reply-link:before {
- color: #7bcbe4;
-}
-.entry-content {
- font-size: 1em;
- line-height: 1.538;
- margin: 1.286em 0;
- padding: 0;
-}
-.entry-content h1,
-.entry-content h2,
-.comment-content h1,
-.comment-content h2,
-.entry-content h3,
-.comment-content h3 {
- color: #000;
- margin: 0 0 .8125em;
-}
-.entry-content h1,
-.comment-content h1 {
- font-size: 1.5em;
- line-height: 2.9;
-}
-.entry-content h2,
-.comment-content h2 {
- font-size: 1.4em;
- line-height: 2.6;
-}
-.entry-content h3,
-.comment-content h3 {
- font-size: 1.3em;
- line-height: 2.3;
-}
-.entry-content table,
-.comment-content table {
- border-bottom: 1px solid #ddd;
- margin: 0 0 1.625em;
- width: 100%;
-}
-.entry-content th,
-.comment-content th {
- color: #666;
- font-size: 0.769em;
- font-weight: 500;
- letter-spacing: 0.1em;
- line-height: 2.6;
- text-transform: uppercase;
-}
-.entry-content td,
-.comment-content td {
- border-top: 1px solid #ddd;
- padding: 0.600em 1em 0.600em 0;
-}
-.entry-content #s {
- width: 75%;
-}
-.comment-content ul,
-.comment-content ol {
- margin-bottom: 1.625em;
-}
-.comment-content ul ul,
-.comment-content ol ol,
-.comment-content ul ol,
-.comment-content ol ul {
- margin-bottom: 0;
-}
-dl.gallery-item {
- margin: 0;
-}
-.page-link {
- clear: both;
- display: block;
- margin: 0 0 1em;
-}
-.page-link a {
- background: #278dbc;
- color: #fff;
- margin: 0;
- padding: 0.1em 0.231em;
- text-decoration: none;
-}
-.page-link span {
- margin-right: 0.462em;
-}
-
-/* Images */
-.entry-content img,
-.comment-content img,
-.widget img {
- height: auto;
- max-width: 100% !important; /* Fluid images for posts, comments, and widgets */
-}
-#content .gallery-columns-3 .gallery-item img,
-#content .gallery-columns-4 .gallery-item img,
-#content .gallery-columns-2 .gallery-item img {
- width: 100%;
- height: auto;
-}
-img[class*="align"],
-img[class*="wp-image-"],
-img[class*="attachment-"] {
- height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
-}
-img.size-full,
-img.size-large {
- max-width: 100%;
- width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
- height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
-}
-img.size-full,
-img.size-large,
-img.size-medium {
- display: block;
- margin: 0 auto;
-}
-.entry-content img.wp-smiley {
- border: none;
- margin-bottom: 0;
- margin-top: 0;
- padding: 0;
-}
-img.alignleft,
-img.alignright,
-img.aligncenter {
- margin-bottom: 1.625em;
-}
-p img,
-.wp-caption {
- margin-top: 0.4em;
-}
-.wp-caption {
- max-width: 96%;
-}
-.wp-caption img {
- display: block;
- margin: 0 auto;
- max-width: 98%;
-}
-.wp-caption .wp-caption-text,
-.gallery-caption {
- color: #999;
- font-size: 0.923em;
-}
-.wp-caption .wp-caption-text {
- margin-bottom: 0.6em;
- padding: 0.833em 0 0.417em 0;
- position: relative;
-}
-#content .gallery {
- margin: 0 auto 1.625em;
-}
-#content .gallery a img {
- border: none;
-}
-#content .gallery-columns-3 .gallery-item {
- width: 31%;
- padding-right: 2%;
-}
-#content .gallery-columns-4 .gallery-item {
- width: 23%;
- padding-right: 2%;
-}
-#content .gallery-columns-2 .gallery-item {
- width: 45%;
- padding-right: 4%;
-}
-
-
-/* Make sure embeds and iframes fit their containers */
-embed,
-iframe,
-object {
- max-width: 100%;
-}
-
-/* Password Protected Posts */
-.post-password-required .entry-header .comments-link {
- margin: 1.625em 0 0;
-}
-.post-password-required input[type=password] {
- margin: 0.8125em 0;
-}
-.post-password-required input[type=password]:focus {
- background: #f7f7f7;
-}
-
-
-/*
-Post Formats Headings
-To hide the headings, display: none the ".entry-header .entry-format" selector,
-and remove the padding rules below.
-*/
-.entry-header .entry-format {
- color: #666;
- font-size: 0.7em;
- font-weight: 300;
- letter-spacing: 0.1em;
- line-height: 2em;
- position: absolute;
- text-transform: uppercase;
- top: -5px;
-}
-.entry-header .entry-heading .entry-title {
- padding-top: 0.8em;
-}
-.entry-header .entry-heading {
- position: relative;
-}
-.entry-thumbnail {
- margin-bottom: 0.7em;
- text-align: center;
-}
-
-/* Singular content styles for Posts and Pages */
-.singular .hentry {
- padding: 1.625em 0 0;
- position: relative;
-}
-.page .hentry {
- padding-bottom: .7em;
-}
-.singular .entry-meta .edit-link a {
- bottom: auto;
- left: 0;
- position: absolute;
- right: auto;
- top: 40px;
-}
-.single-format-gallery .hentry {
- margin-bottom: 0;
-}
-.singular #author-info {
- margin: 2.2em -8.8% 0;
- padding: 1.538em 8.8%;
-}
-
-
-/* =Gallery Posts
------------------------------------------------ */
-
-#content .gallery {
- margin-bottom: 0;
-}
-.format-gallery img {
- margin: 0;
-}
-.format-gallery .gallery-large {
- line-height: 1.2em;
- margin: 0;
- width: 100%;
-}
-.format-gallery .gallery-thumbs-2,
- .format-gallery .gallery-thumbs-3 {
- overflow: hidden;
- width: 100%;
-}
-.format-gallery .gallery-thumbs-2 img {
- margin-right: 0.3%;
- max-width: 48%;
-}
-.format-gallery .gallery-thumbs-3 img {
- float: left;
- margin-left: 0.2%;
- max-width: 33%;
-}
-.format-gallery .gallery-large,
-.format-gallery .gallery-thumbs-2 img,
- .format-gallery .gallery-thumbs-3 img {
- display: inline-block;
-}
-.format-gallery .gallery-thumbs-3 .gallery-thumb-1 img {
- margin: 0;
-}
-.gallery-info {
- margin-top: 1.3em;
-}
-
-/* =Quote Posts
------------------------------------------------ */
-
-.format-quote blockquote {
- color: #555;
- font-size: 1.308em;
- margin: 0;
-}
-
-/* =error404
------------------------------------------------ */
-
-.error404 #main #searchform {
- background: #f9f9f9;
- border: 1px solid #ddd;
- border-width: 1px 0;
- margin: 0 -8.9% 1.625em;
- overflow: hidden;
- padding: 1.625em 8.9%;
-}
-.error404 #main #s {
- width: 95%;
-}
-.error404 .widgettitle {
- font-size: 0.769em;
- letter-spacing: 0.1em;
- line-height: 2.6em;
- text-transform: uppercase;
-}
-
-
-/* =Attachments
------------------------------------------------ */
-
-.image-attachment div.attachment {
- background: #f9f9f9;
- border: 1px solid #ddd;
- border-width: 1px 0;
- margin: 0 -8.9% 1.625em;
- overflow: hidden;
- padding: 1.625em 1.625em 0;
- text-align: center;
-}
-.image-attachment div.attachment img {
- display: block;
- height: auto;
- margin: 0 auto 1.625em;
- max-width: 100%;
-}
-.image-attachment div.attachment a img {
- border-color: #f9f9f9;
-}
-.image-attachment div.attachment a:focus img,
-.image-attachment div.attachment a:hover img,
-.image-attachment div.attachment a:active img {
- border-color: #ddd;
- background: #fff;
-}
-
-
-/* =Navigation
--------------------------------------------------------------- */
-
-#content nav {
- clear: both;
-}
-#nav-below,
-#nav-single {
- margin: 0 auto 1.9em;
- overflow: hidden;
- width: 100%;
-}
-.nav-previous {
- float: left;
- width: 48%;
-}
-.nav-next {
- float: right;
- width: 46%;
-}
-#nav-single {
- display: block;
- position: static;
-}
-#nav-single .nav-previous {
- margin-left: 0;
- width: 50%;
-}
-#nav-single .nav-next {
- margin-right: 0;
- width: 49%;
-}
-.nav-previous a,
-.nav-next a {
- background: #278dbc;
- color: #fff;
- display: block;
- font-size: 1.231em;
- padding: 1em 0;
- text-align: center;
- width: 100%;
-}
-#content nav .meta-nav {
- font-weight: normal;
-}
-#jp-post-flair {
- margin: 1em auto !important;
-}
-
-
-
-/* =Widget Area & Widgets
------------------------------------------------ */
-
-.widget-area {
- background: #f9f9f9;
- border-top: 1px solid #ddd;
- color: #666;
- font-size: 0.923em;
- padding: .6em 0.8em;
- -moz-box-shadow: 0 1px 2px rgba( 0,0,0,0.075 );
- -webkit-box-shadow: 0 1px 2px rgba( 0,0,0,0.075 );
- box-shadow: 0 1px 2px rgba( 0,0,0,0.075 );
-}
-.widget {
- border-bottom: 1px solid #ddd;
- clear: both;
- margin: 0;
- overflow: hidden;
- padding: 1em 0;
-}
-.widget:last-of-type {
- border: 0;
-}
-.widget-title {
- color: #666;
- font-size: 1.2em;
- font-weight: bold;
- line-height: 2em;
- margin-bottom: 0.5em;
-}
-.widget-title a {
- color: #666;
-}
-.widget ul {
- list-style: none;
- margin-bottom: 0;
- margin-left: 0;
-}
-.widget ul ul {
- margin-left: 1.5em;
-}
-.widget ul li {
- color: #777;
-}
-.widget a {
- font-weight: normal;
- text-decoration: none;
-}
-.widget a:hover,
-.widget a:focus,
-.widget a:active {
- text-decoration: underline;
-}
-
-/* Search Widget */
-.widget_search #s {
- width: 77%;
-}
-.widget_search #searchsubmit {
- background: #ddd;
- border: 1px solid #ccc;
- -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
- -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
- box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
- color: #888;
- line-height: 2.083em;
- position: relative;
- top: -2px;
-}
-.widget_search #searchsubmit:active {
- background: #278dbc;
- border-color: #0861a5;
- -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
- box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
- color: #bfddf3;
-}
-
-/* Twitter */
-.tweets {
- margin-left: 0;
-}
-.widget_twitter li {
- list-style-type: none;
- margin-bottom: 1.167em;
-}
-.widget_twitter .timesince {
- font-size: 0.917em;
- font-weight: normal;
- text-align: right;
-}
-
-/* RSS-Related Widgets */
-.widget_rss img {
- display: inline-block;
- margin: 0;
- vertical-align: middle;
-}
-.widget_rss .rss-date {
- font-size: 90%;
-}
-.widget_rss_links img,
-.widget_rss_links a:hover img,
-.widget_rss_links a:focus img,
-.widget_rss_links a:active img {
- background: transparent;
- border: none;
- padding: 0;
-}
-
-/* Calendar Widget */
-.widget_calendar #wp-calendar {
- color: #555;
- width: 95%;
- text-align: center;
-}
-.widget_calendar #wp-calendar caption,
-.widget_calendar #wp-calendar td,
-.widget_calendar #wp-calendar th {
- text-align: center;
-}
-.widget_calendar #wp-calendar caption {
- font-size: 11px;
- font-weight: 500;
- padding: 5px 0 3px 0;
- text-transform: uppercase;
-}
-.widget_calendar #wp-calendar th {
- background: #f4f4f4;
- border-top: 1px solid #ccc;
- border-bottom: 1px solid #ccc;
- font-weight: bold;
-}
-.widget_calendar #wp-calendar tfoot td {
- background: #f4f4f4;
- border-top: 1px solid #ccc;
- border-bottom: 1px solid #ccc;
-}
-
-/* Recent Comments */
-.widget_recent_comments td.recentcommentstexttop,
-.widget_recent_comments td.recentcommentstextend {
- vertical-align: top;
-}
-
-/* Authors Widget */
-.widget_authors ul {
- margin-left: 0;
-}
-.widget_authors li {
- background: none !important;
- overflow: hidden;
-}
-.widget_authors ul ul li {
- overflow: hidden;
-}
-.widget_authors img {
- float: left;
- padding-right: 0.833em;
- vertical-align: text-top;
-}
-
-/*Flickr Widget */
-.widget_flickr #flickr_badge_wrapper {
- background-color: transparent;
- border: none;
-}
-#flickr_badge_uber_wrapper a:hover,
-#flickr_badge_uber_wrapper a:link,
-#flickr_badge_uber_wrapper a:active,
-#flickr_badge_uber_wrapper a:visited {
- color: #278dbc !important;
-}
-
-
-/* =Comments
------------------------------------------------ */
-
-#comments {
- margin-top: 1.5em;
-}
-#comments-title {
- color: #000;
- font-size: 1.154em;
- font-weight: bold;
- line-height: 1em;
- padding: 1em 0;
-}
-#comment-nav-below {
- overflow: hidden;
-}
-.nopassword,
-.nocomments {
- color: #aaa;
- font-size: 1.846em;
- font-weight: 100;
- margin: 2em 0;
- text-align: center;
-}
-.commentlist {
- list-style: none;
- margin: 2em auto;
- width: 100%;
-}
-.commentlist > li.comment {
- border: 1px solid rgba(0, 0, 0, 0.1);
- border-width: 1px 0 0;
- clear: both;
- margin: 0 -2.5% 0.5em;
- overflow: hidden;
- padding: .8em;
- position: relative;
-}
-.commentlist > li.comment,
-.commentlist .pingback {
- width: auto;
-}
-
-/* Reblogs */
-.commentlist > li.reblog {
- border: 1px solid #eee;
- -moz-border-radius: 3px;
- border-radius: 3px;
- margin: 0 0 1.625em;
- padding: 1.625em;
- position: relative;
-}
-.commentlist .reblog .comment-meta {
- display: none;
-}
-.commentlist .reblog p:first-child {
- color: #999;
- font-size: 1em;
-}
-.commentlist .reblog p:first-child a {
- font-weight: bold;
-}
-.commentlist .pingback {
- border-top: 1px solid rgba( 0, 0, 0, 0.1 );
- margin: 0 -2.5% 0.5em;
-}
-.commentlist .pingback p {
- color: #c0c0c0;
- margin-bottom: 0;
- padding: 0.8em;
-}
-.commentlist .children {
- list-style: none;
- margin: 0;
-}
-.commentlist .children li.comment {
- background: #f9f9f9;
- border-top: 1px solid rgba( 0, 0, 0, 0.1 );
- clear: both;
- margin: 1.625em 0 0;
- overflow: hidden;
- padding: 1.625em 1.625em 0.5em;
- position: relative;
-}
-.comment-meta .fn {
- font-style: normal;
-}
-.comment-meta,
-.comment-content {
- margin-left: 4em;
-}
-.comment-meta {
- font-size: 0.923em;
-}
-.comment-content {
- margin-top: 1em;
-}
-.commentlist .children li.comment .comment-meta {
- line-height: 1.625;
- margin-left: 3.462em;
-}
-.commentlist .children li.comment .comment-content {
- margin: 1em 0 0 3.1em;
-}
-.comment-meta a:focus,
-.comment-meta a:active,
-.comment-meta a:hover {
-}
-.commentlist .avatar {
- background: transparent;
- display: block;
- padding: 0;
- position: absolute;
- left: 13px;
- top: 13px;
-}
-.commentlist .children .avatar {
- background: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- left: 2.2em;
- padding: 0;
- position: absolute;
- top: 2.2em;
-}
-.comment-actions {
- float: right;
- font-weight: 300;
- margin-bottom: 1em;
-}
-a.comment-reply-link:before {
- content: '\f412';
- display: inline-block;
- -webkit-font-smoothing: antialiased;
- font: normal 13px/1 'Genericons';
- margin: 0.2em 0.1em 0 0;
- vertical-align: top;
-}
-a.comment-reply-link {
- display: inline-block;
- font-size: 0.923em;
- padding: 0 0.615em;
- text-decoration: none;
-}
-a.comment-reply-link > span {
- display: inline-block;
- position: relative;
- top: -1px;
-}
-
-/* Comment Form */
-#respond {
- margin: 0 auto 1.625em;
- width: auto;
-}
-#respond input[type="text"],
-#respond textarea {
- background: #fff;
- position: relative;
- padding: 0.615em;
-}
-#respond .comment-form-author,
-#respond .comment-form-email,
-#respond .comment-form-url,
-#respond .comment-form-comment {
- position: relative;
-}
-#respond .comment-form-author label,
-#respond .comment-form-email label,
-#respond .comment-form-url label,
-#respond .comment-form-comment label {
- display: inline-block;
- font-size: 1.077em;
- padding: 0.154em 0 0;
- position: relative;
-}
-#respond textarea {
- resize: vertical;
- width: 95%;
-}
-#respond .comment-form-author .required,
-#respond .comment-form-email .required {
- color: #bd3500;
- font-size: 1.692em;
- font-weight: bold;
- left: 95%;
- position: absolute;
- top: 45px;
- z-index: 1;
-}
-#respond .comment-notes,
-#respond .logged-in-as {
- font-size: 0.8em;
- color: #666;
-}
-#respond .logged-in-as {
- margin-top: 1em;
-}
-#respond p {
- margin: 0.769em 0 0;
-}
-#respond .form-submit {
- margin: 0;
-}
-#respond input#submit {
- background-color: #2ea2cc;
- background-image: -moz-linear-gradient(top, #278dbc 0%, #0074a2 100%);
- background-image: -webkit-linear-gradient(top, #278dbc 0%,#0074a2 100%);
- background-image: -ms-linear-gradient(top, #278dbc 0%,#0074a2 100%);
- background-image: -o-linear-gradient(top, #278dbc 0%,#0074a2 100%);
- background-image: linear-gradient(top, #278dbc 0%,#0074a2 100%);
-
- -moz-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
- -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
- -o-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
- -ms-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
- box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
- border: none;
- -moz-border-radius: 2px 0 0 0;
- -webkit-border-radius: 2px 0 0 0;
- -o-border-radius: 2px 0 0 0;
- -ms-border-radius: 2px 0 0 0;
- border-radius: 2px;
- color: rgba( 255, 255, 255, 0.9 );
- cursor: pointer;
- font-size: 1em;
- margin: 0.462em 0;
- padding: 1em;
- left: 30px;
- text-shadow: 0 -1px 0 rgba(0,116,162,0.8);
-}
-#respond input#submit:hover {
- color: #fff;
- text-shadow: 0 -1px 0 rgb(0,116,162);
-
- background-image: -moz-linear-gradient(top, #2ea2cc 0%, #0074a2 100%);
- background-image: -webkit-linear-gradient(top, #2ea2cc 0%,#0074a2 100%);
- background-image: -o-linear-gradient(top, #2ea2cc 0%,#0074a2 100%);
- background-image: -ms-linear-gradient(top, #2ea2cc 0%,#0074a2 100%);
- background-image: linear-gradient(top, #2ea2cc 0%,#0074a2 100%);
-
- -moz-box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7);
- -webkit-box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7);
- -o-box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7);
- -ms-box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7);
- box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7);
-}
-#respond input#submit:active {
- color:rgba(255,255,255,.9);
- background-image: -moz-linear-gradient(top, #278dbc 0%, #0074a2 100%);
- background-image: -webkit-linear-gradient(top, #278dbc 0%,#0074a2 100%);
- background-image: -o-linear-gradient(top, #278dbc 0%,#0074a2 100%);
- background-image: -ms-linear-gradient(top, #278dbc 0%,#0074a2 100%);
- background-image: linear-gradient(top, #278dbc 0%,#0074a2 100%);
-
- -moz-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc;
- -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc;
- -o-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc;
- -ms-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc;
- box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc;
-}
-.commentlist #respond {
- margin: 1.625em 0 0;
- width: auto;
-}
-#respond .comment-subscription-form {
- margin: 6px 0;
-}
-#reply-title {
- font-size: 1.5em;
-}
-.comment #reply-title {
- margin-top: 1em;
-}
-#cancel-comment-reply-link {
- color: #bd3500;
- display: block;
- font-size: 0.6em;
- font-weight: 300;
- line-height: 2.2;
- margin-top: 0.4em;
- text-decoration: none;
-}
-#respond label {
- line-height: 2.2;
-}
-#respond input[type=text] {
- display: block;
- height: 1.846em;
- width: 95%;
-}
-#respond p {
- font-size: 0.923em;
-}
-p.comment-form-comment {
- margin: 0;
-}
-.form-allowed-tags {
- display: none;
-}
-
-
-/* =Footer
------------------------------------------------ */
-
-#colophon {
- background: #f1f1f1;
- clear: both;
- margin-bottom: -2em;
- padding-bottom: 1em;
-}
-
-/* Site Generator Line */
-#site-generator {
- border-top: 1px solid #ddd;
- font-size: 0.923em;
- line-height: 2.2;
- padding: 2.2em 0.5em;
- text-align: center;
-}
-#site-generator a {
- color: #278dbc;
-}
-#site-generator .sep {
- color: transparent;
- display: inline-block;
- height: 16px;
- line-height: 1.231;
- margin: 0 0.538em;
- text-indent: 40px; /* Push the separator just out of the way */
- width: 3.077em;
-}
-
-
-/* =WP.com
------------------------------------------------ */
-
-.entry-content .twitter-tweet-rendered {
- max-width: 100% !important; /* Override the Twitter embed fixed width */
-}
-.video-player {
- max-width: 100% !important;
-}
-.videopress-placeholder,
-.video-player img {
- max-width: 100% !important;
- height: auto !important;
-}
-.syntaxhighlighter {
- overflow: auto;
-}
-.single #content #wp-likebox,
-.page #content #wp-likebox {
- display: block;
-}
-#wpl-mustlogin {
- width: 240px !important;
- margin-left: -60px !important;
-}
-img.latex {
- display: inline;
-}
-
-/* WP.com comment form */
-#comments #respond {
- max-width: 75%;
- margin: 0 auto 15px;
-}
-.content #comments #respond,
-#comments .commentlist #respond {
- max-width: 100%;
-}
-#respond textarea {
- text-indent: 0;
-}
-.singular #content .wpl-likebox {
- width: 100%;
-}
-#comments #respond {
- max-width: 100%;
-}
-#wpstats {
- display: block;
- margin: -1.8em auto 0;
-}
-#wpstats2 {
- display: none;
-}
-
-/* Adjust the width of Crowdsignal polls */
-.PDS_Poll .pds-box,
-.CSS_Poll .css-box {
- width: 99% !important;
-}
-
-/* Infinite Scroll */
-.infinite-wrap {
- border-top: 1px solid #ececec;
- padding-top: 1.5em !important;
-}
-.infinite-scroll .hentry:last-of-type,
-.infinite-scroll .hentry.last-before-infinite {
- margin-bottom: 0;
-}
-.infinite-scroll #content {
- padding-bottom: 0.1em;
-}
-#infinite-handle span:before {
- display: none;
-}
-#infinite-handle span {
- background: #278dbc;
- border-radius: 2px;
- border: none;
- color: #fff;
- cursor: pointer;
- font-size: 14px;
- font-weight: 400;
- padding: 6px 26px;
- text-align: center;
-}
-#infinite-handle span:hover {
- background: #7dcae7;
-}
-
-/* Remove margins and padding on outer containers for super-tiny screens */
-@media only screen and (min-device-width: 100px) and (max-device-width: 300px) {
- #wrapper {
- margin: 0;
- padding: 0;
- }
- #access {
- padding: 0.385em 0;
- }
- #page,
- .widget-area,
- #main,
- #branding {
- width: 100%;
- margin: 0;
- }
- .widget-area {
- padding: 0.417em;
- }
-} \ No newline at end of file
diff --git a/plugins/jetpack/modules/mobile-push.php b/plugins/jetpack/modules/mobile-push.php
deleted file mode 100644
index a421f47d..00000000
--- a/plugins/jetpack/modules/mobile-push.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-/**
- * Deprecated. See notes.php for the new module
- *
- * @package Jetpack
- **/
diff --git a/plugins/jetpack/modules/module-headings.php b/plugins/jetpack/modules/module-headings.php
index 2da092a4..a1c42dd2 100644
--- a/plugins/jetpack/modules/module-headings.php
+++ b/plugins/jetpack/modules/module-headings.php
@@ -28,7 +28,7 @@ function jetpack_get_module_i18n( $key ) {
'comments' => array(
'name' => _x( 'Comments', 'Module Name', 'jetpack' ),
- 'description' => _x( 'Let visitors use a WordPress.com, Twitter, Facebook, or Google account to comment', 'Module Description', 'jetpack' ),
+ 'description' => _x( 'Let visitors use a WordPress.com, Twitter, or Facebook account to comment', 'Module Description', 'jetpack' ),
),
'contact-form' => array(
@@ -61,6 +61,11 @@ function jetpack_get_module_i18n( $key ) {
'description' => _x( 'Set up Google Analytics without touching a line of code.', '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' ),
+ ),
+
'gravatar-hovercards' => array(
'name' => _x( 'Gravatar Hovercards', 'Module Name', 'jetpack' ),
'description' => _x( 'Enable pop-up business cards over commenters’ Gravatars.', 'Module Description', 'jetpack' ),
@@ -127,7 +132,7 @@ function jetpack_get_module_i18n( $key ) {
),
'protect' => array(
- 'name' => _x( 'Protect', 'Module Name', 'jetpack' ),
+ 'name' => _x( 'Brute force protection', 'Module Name', 'jetpack' ),
'description' => _x( 'Enabling brute force protection will prevent bots and hackers from attempting to log in to your website with common username and password combinations.', 'Module Description', 'jetpack' ),
),
@@ -153,7 +158,7 @@ function jetpack_get_module_i18n( $key ) {
'sharedaddy' => array(
'name' => _x( 'Sharing', 'Module Name', 'jetpack' ),
- 'description' => _x( 'Add Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content.', 'Module Description', 'jetpack' ),
+ 'description' => _x( 'Add Twitter and Facebook buttons at the bottom of each post, making it easy for visitors to share your content.', 'Module Description', 'jetpack' ),
),
'shortcodes' => array(
@@ -206,6 +211,11 @@ function jetpack_get_module_i18n( $key ) {
'description' => _x( 'Save on hosting storage and bandwidth costs by streaming fast, ad-free video from our global network.', 'Module Description', 'jetpack' ),
),
+ 'waf' => array(
+ 'name' => _x( 'Firewall', 'Module Name', 'jetpack' ),
+ 'description' => _x( 'Protect your site with Jetpack\'s Web Application Firewall', 'Module Description', 'jetpack' ),
+ ),
+
'widget-visibility' => array(
'name' => _x( 'Widget Visibility', 'Module Name', 'jetpack' ),
'description' => _x( 'Control where widgets appear on your site.', 'Module Description', 'jetpack' ),
@@ -230,9 +240,6 @@ function jetpack_get_module_i18n( $key ) {
return isset( $modules[ $key ] ) ? $modules[ $key ] : null;
}
-// The lists of filenames below shouldn't be arbitrarily punctuated, but the sniff triggers anyway.
-// phpcs:disable Squiz.Commenting.InlineComment.InvalidEndChar
-
/**
* For a given module tag, return its translated version.
*
@@ -298,12 +305,12 @@ function jetpack_get_module_i18n_tag( $key ) {
// - modules/wordads.php
'Appearance' => _x( 'Appearance', 'Module Tag', 'jetpack' ),
- // Modules with `Developers` tag:
- // - modules/json-api.php
- // - modules/sso.php
- 'Developers' => _x( 'Developers', 'Module Tag', 'jetpack' ),
+ // Modules with `Fonts` tag:
+ // - modules/google-fonts.php
+ 'Fonts' => _x( 'Fonts', 'Module Tag', 'jetpack' ),
// Modules with `Recommended` tag:
+ // - modules/google-fonts.php
// - modules/lazy-images.php
// - modules/monitor.php
// - modules/photon-cdn.php
@@ -317,6 +324,11 @@ function jetpack_get_module_i18n_tag( $key ) {
// - modules/woocommerce-analytics.php
'Recommended' => _x( 'Recommended', 'Module Tag', 'jetpack' ),
+ // Modules with `Developers` tag:
+ // - modules/json-api.php
+ // - modules/sso.php
+ 'Developers' => _x( 'Developers', 'Module Tag', 'jetpack' ),
+
// Modules with `General` tag:
// - modules/masterbar.php
'General' => _x( 'General', 'Module Tag', 'jetpack' ),
@@ -329,6 +341,14 @@ function jetpack_get_module_i18n_tag( $key ) {
// Modules with `Site Stats` tag:
// - modules/stats.php
'Site Stats' => _x( 'Site Stats', 'Module Tag', 'jetpack' ),
+
+ // Modules with `Firewall` tag:
+ // - modules/waf.php
+ 'Firewall' => _x( 'Firewall', 'Module Tag', 'jetpack' ),
+
+ // Modules with `WAF` tag:
+ // - modules/waf.php
+ 'WAF' => _x( 'WAF', 'Module Tag', 'jetpack' ),
);
}
return ! empty( $module_tags[ $key ] ) ? $module_tags[ $key ] : '';
@@ -382,7 +402,7 @@ function jetpack_get_module_info( $key ) {
'comments' =>
array (
'name' => 'Comments',
- 'description' => 'Let visitors use a WordPress.com, Twitter, Facebook, or Google account to comment',
+ 'description' => 'Let visitors use a WordPress.com, Twitter, or Facebook account to comment',
'sort' => '20',
'recommendation_order' => '',
'introduced' => '1.4',
@@ -394,7 +414,7 @@ function jetpack_get_module_info( $key ) {
'auto_activate' => 'No',
'module_tags' => 'Social',
'feature' => 'Engagement',
- 'additional_search_queries' => 'comments, comment, facebook, twitter, google+, social',
+ 'additional_search_queries' => 'comments, comment, facebook, twitter, social',
'plan_classes' => '',
),
'contact-form' =>
@@ -505,6 +525,24 @@ function jetpack_get_module_info( $key ) {
'additional_search_queries' => 'webmaster, google, analytics, console',
'plan_classes' => 'business, premium, security, complete',
),
+ 'google-fonts' =>
+ array (
+ 'name' => 'Google Fonts (Beta)',
+ 'description' => 'A selection of Google fonts for block enabled themes. This feature is still being developed.',
+ 'sort' => '1',
+ 'recommendation_order' => '2',
+ 'introduced' => '10.8.0',
+ 'changed' => '',
+ 'deactivate' => '',
+ 'free' => '',
+ 'requires_connection' => 'No',
+ 'requires_user_connection' => '',
+ 'auto_activate' => 'No',
+ 'module_tags' => 'Fonts, Recommended',
+ 'feature' => 'Writing',
+ 'additional_search_queries' => 'fonts, webfonts, typography',
+ 'plan_classes' => '',
+ ),
'gravatar-hovercards' =>
array (
'name' => 'Gravatar Hovercards',
@@ -741,7 +779,7 @@ function jetpack_get_module_info( $key ) {
),
'protect' =>
array (
- 'name' => 'Protect',
+ 'name' => 'Brute force protection',
'description' => 'Enabling brute force protection will prevent bots and hackers from attempting to log in to your website with common username and password combinations.',
'sort' => '1',
'recommendation_order' => '4',
@@ -832,7 +870,7 @@ function jetpack_get_module_info( $key ) {
'sharedaddy' =>
array (
'name' => 'Sharing',
- 'description' => 'Add Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content.',
+ 'description' => 'Add Twitter and Facebook buttons at the bottom of each post, making it easy for visitors to share your content.',
'sort' => '7',
'recommendation_order' => '6',
'introduced' => '1.1',
@@ -862,7 +900,7 @@ function jetpack_get_module_info( $key ) {
'auto_activate' => 'No',
'module_tags' => 'Photos and Videos, Social, Writing, Appearance',
'feature' => 'Writing',
- 'additional_search_queries' => 'shortcodes, shortcode, embeds, media, bandcamp, dailymotion, facebook, flickr, google calendars, google maps, google+, polldaddy, recipe, recipes, scribd, slideshare, slideshow, slideshows, soundcloud, ted, twitter, vimeo, vine, youtube',
+ 'additional_search_queries' => 'shortcodes, shortcode, embeds, media, bandcamp, dailymotion, facebook, flickr, google calendars, google maps, polldaddy, recipe, recipes, scribd, slideshare, slideshow, slideshows, soundcloud, ted, twitter, vimeo, vine, youtube',
'plan_classes' => '',
),
'shortlinks' =>
@@ -1027,6 +1065,24 @@ function jetpack_get_module_info( $key ) {
'additional_search_queries' => 'video, videos, videopress, video gallery, video player, videoplayer, mobile video, vimeo, youtube, html5 video, stream',
'plan_classes' => '',
),
+ 'waf' =>
+ array (
+ 'name' => 'Firewall',
+ 'description' => 'Protect your site with Jetpack\'s Web Application Firewall',
+ 'sort' => '5',
+ 'recommendation_order' => '',
+ 'introduced' => '10.9',
+ 'changed' => '',
+ 'deactivate' => '',
+ 'free' => '',
+ 'requires_connection' => 'Yes',
+ 'requires_user_connection' => '',
+ 'auto_activate' => 'No',
+ 'module_tags' => 'Firewall, WAF',
+ 'feature' => 'Security',
+ 'additional_search_queries' => '',
+ 'plan_classes' => '',
+ ),
'widget-visibility' =>
array (
'name' => 'Widget Visibility',
diff --git a/plugins/jetpack/modules/module-info.php b/plugins/jetpack/modules/module-info.php
index e80c237d..132b59c0 100644
--- a/plugins/jetpack/modules/module-info.php
+++ b/plugins/jetpack/modules/module-info.php
@@ -191,7 +191,7 @@ add_filter( 'jetpack_learn_more_button_sharedaddy', 'sharedaddy_load_more_link'
*/
function sharedaddy_more_info() {
esc_html_e(
- 'Visitors can share your posts with Twitter, Facebook, Reddit, Digg, LinkedIn, Google+, print,
+ 'Visitors can share your posts with Twitter, Facebook, Reddit, Digg, LinkedIn, print,
and email. You can configure services to appear as icons, text, or both and some services like Twitter
have additional options.',
'jetpack'
@@ -873,3 +873,19 @@ function jetpack_more_info_copy_post() {
esc_html_e( 'Create a new post based on an existing post.', 'jetpack' );
}
add_action( 'jetpack_module_more_info_copy-post', 'jetpack_more_info_copy_post' );
+
+/**
+ * Google Fonts support link.
+ */
+function jetpack_google_fonts_more_link() {
+ echo esc_url( Redirect::get_url( 'jetpack-support-google-fonts' ) );
+}
+add_action( 'jetpack_learn_more_button_google-fonts', 'jetpack_google_fonts_more_link' );
+
+/**
+ * Google Fonts description.
+ */
+function jetpack_more_info_google_fonts() {
+ esc_html_e( 'A selection of Google fonts for block enabled themes. This feature is still being developed.', 'jetpack' );
+}
+add_action( 'jetpack_module_more_info_google-fonts', 'jetpack_more_info_google_fonts' );
diff --git a/plugins/jetpack/modules/monitor.php b/plugins/jetpack/modules/monitor.php
index 75f9e8ac..6d0083bc 100644
--- a/plugins/jetpack/modules/monitor.php
+++ b/plugins/jetpack/modules/monitor.php
@@ -114,7 +114,7 @@ class Jetpack_Monitor {
* Returns date of the last downtime.
*
* @since 4.0.0
- * @return date in YYYY-MM-DD HH:mm:ss format
+ * @return string date in YYYY-MM-DD HH:mm:ss format
*/
public function monitor_get_last_downtime() {
$xml = new Jetpack_IXR_Client();
diff --git a/plugins/jetpack/modules/photon-cdn.php b/plugins/jetpack/modules/photon-cdn.php
index f4e70e6a..232a1c8d 100644
--- a/plugins/jetpack/modules/photon-cdn.php
+++ b/plugins/jetpack/modules/photon-cdn.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Module Name: Asset CDN
* Module Description: Jetpack’s Site Accelerator loads your site faster by optimizing your images and serving your images and static files from our global network of servers.
@@ -10,14 +10,19 @@
* Module Tags: Photos and Videos, Appearance, Recommended
* Feature: Recommended, Appearance
* Additional Search Queries: site accelerator, accelerate, static, assets, javascript, css, files, performance, cdn, bandwidth, content delivery network, pagespeed, combine js, optimize css
+ *
+ * @package automattic/jetpack
*/
use Automattic\Jetpack\Assets;
-$GLOBALS['concatenate_scripts'] = false;
+$GLOBALS['concatenate_scripts'] = false; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
Assets::add_resource_hint( '//c0.wp.com', 'dns-prefetch' );
+/**
+ * Asset CDN module main class file.
+ */
class Jetpack_Photon_Static_Assets_CDN {
const CDN = 'https://c0.wp.com/';
@@ -61,7 +66,7 @@ class Jetpack_Photon_Static_Assets_CDN {
*
* @param array $values array( $version = core assets version, i.e. 4.9.8, $locale = desired locale )
*/
- list( $version, $locale ) = apply_filters(
+ list( $version, $locale ) = apply_filters( // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
'jetpack_cdn_core_version_and_locale',
array( $wp_version, get_locale() )
);
@@ -73,7 +78,7 @@ class Jetpack_Photon_Static_Assets_CDN {
continue;
}
$src = ltrim( str_replace( $site_url, '', $thing->src ), '/' );
- if ( self::is_js_or_css_file( $src ) && in_array( substr( $src, 0, 9 ), array( 'wp-admin/', 'wp-includ' ) ) ) {
+ if ( self::is_js_or_css_file( $src ) && in_array( substr( $src, 0, 9 ), array( 'wp-admin/', 'wp-includ' ), true ) ) {
$wp_scripts->registered[ $handle ]->src = sprintf( self::CDN . 'c/%1$s/%2$s', $version, $src );
$wp_scripts->registered[ $handle ]->ver = null;
}
@@ -83,7 +88,7 @@ class Jetpack_Photon_Static_Assets_CDN {
continue;
}
$src = ltrim( str_replace( $site_url, '', $thing->src ), '/' );
- if ( self::is_js_or_css_file( $src ) && in_array( substr( $src, 0, 9 ), array( 'wp-admin/', 'wp-includ' ) ) ) {
+ if ( self::is_js_or_css_file( $src ) && in_array( substr( $src, 0, 9 ), array( 'wp-admin/', 'wp-includ' ), true ) ) {
$wp_styles->registered[ $handle ]->src = sprintf( self::CDN . 'c/%1$s/%2$s', $version, $src );
$wp_styles->registered[ $handle ]->ver = null;
}
@@ -135,7 +140,7 @@ class Jetpack_Photon_Static_Assets_CDN {
*
* @return string The transformed local languages path.
*/
- public static function fix_local_script_translation_path( $file, $handle, $domain ) {
+ public static function fix_local_script_translation_path( $file, $handle, $domain ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
global $wp_scripts;
// This is a rewritten plugin URL, so load the language file from the plugins path.
@@ -237,7 +242,7 @@ class Jetpack_Photon_Static_Assets_CDN {
* @param array $assets The assets array for the plugin.
* @param string $version The version of the plugin being requested.
*/
- $assets = apply_filters( "jetpack_cdn_plugin_assets-{$plugin}", null, $version );
+ $assets = apply_filters( "jetpack_cdn_plugin_assets-{$plugin}", null, $version ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
if ( is_array( $assets ) ) {
return $assets;
}
@@ -301,13 +306,13 @@ class Jetpack_Photon_Static_Assets_CDN {
*/
public static function is_public_version( $version, $include_beta_and_rc = false ) {
if ( preg_match( '/^\d+(\.\d+)+$/', $version ) ) {
- // matches `1` `1.2` `1.2.3`.
+ /** Example matches: `1`, `1.2`, `1.2.3`. */
return true;
} elseif ( $include_beta_and_rc && preg_match( '/^\d+(\.\d+)+(-(beta|rc|pressable)\d?)$/i', $version ) ) {
- // matches `1.2.3` `1.2.3-beta` `1.2.3-pressable` `1.2.3-beta1` `1.2.3-rc` `1.2.3-rc2`.
+ /** Example matches: `1.2.3`, `1.2.3-beta`, `1.2.3-pressable`, `1.2.3-beta1`, `1.2.3-rc`, `1.2.3-rc2`. */
return true;
}
- // unrecognized version.
+ // Unrecognized version.
return false;
}
}
diff --git a/plugins/jetpack/modules/photon-cdn/jetpack-manifest.php b/plugins/jetpack/modules/photon-cdn/jetpack-manifest.php
index 8a179c92..371a93b9 100644
--- a/plugins/jetpack/modules/photon-cdn/jetpack-manifest.php
+++ b/plugins/jetpack/modules/photon-cdn/jetpack-manifest.php
@@ -5,7 +5,7 @@ $assets = array (
0 => '3rd-party/debug-bar/debug-bar.css',
1 => '3rd-party/debug-bar/debug-bar.js',
2 => '_inc/accessible-focus.js',
- 3 => '_inc/blocks/860.js',
+ 3 => '_inc/blocks/302.js',
4 => '_inc/blocks/business-hours/view.css',
5 => '_inc/blocks/business-hours/view.js',
6 => '_inc/blocks/business-hours/view.rtl.css',
@@ -125,409 +125,395 @@ $assets = array (
120 => '_inc/build/gallery-settings.min.js',
121 => '_inc/build/infinite-scroll/infinity-customizer.min.js',
122 => '_inc/build/infinite-scroll/infinity.min.js',
- 123 => '_inc/build/instant-search/407.js',
- 124 => '_inc/build/instant-search/jp-search-configure-main.css',
- 125 => '_inc/build/instant-search/jp-search-configure-main.js',
- 126 => '_inc/build/instant-search/jp-search-configure-main.rtl.css',
- 127 => '_inc/build/instant-search/jp-search-main.js',
- 128 => '_inc/build/instant-search/jp-search.chunk-main-payload.css',
- 129 => '_inc/build/instant-search/jp-search.chunk-main-payload.js',
- 130 => '_inc/build/instant-search/jp-search.chunk-main-payload.rtl.css',
- 131 => '_inc/build/jetpack-admin.min.js',
- 132 => '_inc/build/jetpack-connection-banner.min.js',
- 133 => '_inc/build/jetpack-deactivate-dialog.min.js',
- 134 => '_inc/build/jetpack-modules.min.js',
- 135 => '_inc/build/jetpack-modules.models.min.js',
- 136 => '_inc/build/jetpack-modules.views.min.js',
- 137 => '_inc/build/jetpack-recommendations-banner.min.js',
- 138 => '_inc/build/likes/post-count-jetpack.min.js',
- 139 => '_inc/build/likes/post-count.min.js',
- 140 => '_inc/build/likes/queuehandler.min.js',
- 141 => '_inc/build/masterbar/admin-color-schemes/colors/aquatic/colors.css',
- 142 => '_inc/build/masterbar/admin-color-schemes/colors/blue/colors.css',
- 143 => '_inc/build/masterbar/admin-color-schemes/colors/classic-blue/colors.css',
- 144 => '_inc/build/masterbar/admin-color-schemes/colors/classic-bright/colors.css',
- 145 => '_inc/build/masterbar/admin-color-schemes/colors/classic-dark/colors.css',
- 146 => '_inc/build/masterbar/admin-color-schemes/colors/coffee/colors.css',
- 147 => '_inc/build/masterbar/admin-color-schemes/colors/contrast/colors.css',
- 148 => '_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/colors.css',
- 149 => '_inc/build/masterbar/admin-color-schemes/colors/fresh/colors.css',
- 150 => '_inc/build/masterbar/admin-color-schemes/colors/light/colors.css',
- 151 => '_inc/build/masterbar/admin-color-schemes/colors/midnight/colors.css',
- 152 => '_inc/build/masterbar/admin-color-schemes/colors/modern/colors.css',
- 153 => '_inc/build/masterbar/admin-color-schemes/colors/nightfall/colors.css',
- 154 => '_inc/build/masterbar/admin-color-schemes/colors/ocean/colors.css',
- 155 => '_inc/build/masterbar/admin-color-schemes/colors/powder-snow/colors.css',
- 156 => '_inc/build/masterbar/admin-color-schemes/colors/sakura/colors.css',
- 157 => '_inc/build/masterbar/admin-color-schemes/colors/sunrise/colors.css',
- 158 => '_inc/build/masterbar/admin-color-schemes/colors/sunset/colors.css',
- 159 => '_inc/build/masterbar/admin-menu/admin-menu.min.js',
- 160 => '_inc/build/masterbar/masterbar/tracks-events.min.js',
- 161 => '_inc/build/masterbar/nudges/additional-css/js/additional-css.min.js',
- 162 => '_inc/build/photon/photon.min.js',
- 163 => '_inc/build/plugins-page.css',
- 164 => '_inc/build/plugins-page.js',
- 165 => '_inc/build/plugins-page.rtl.css',
- 166 => '_inc/build/polldaddy-shortcode.min.js',
- 167 => '_inc/build/related-posts/related-posts-customizer.min.js',
- 168 => '_inc/build/related-posts/related-posts.min.js',
- 169 => '_inc/build/scan/admin-bar-notice.min.js',
- 170 => '_inc/build/search-dashboard.css',
- 171 => '_inc/build/search-dashboard.js',
- 172 => '_inc/build/search-dashboard.rtl.css',
- 173 => '_inc/build/sharedaddy/admin-sharing.min.js',
- 174 => '_inc/build/sharedaddy/sharing.min.js',
- 175 => '_inc/build/shortcodes/js/brightcove.min.js',
- 176 => '_inc/build/shortcodes/js/jmpress.min.js',
- 177 => '_inc/build/shortcodes/js/main.min.js',
- 178 => '_inc/build/shortcodes/js/quiz.min.js',
- 179 => '_inc/build/shortcodes/js/recipes-printthis.min.js',
- 180 => '_inc/build/shortcodes/js/recipes.min.js',
- 181 => '_inc/build/shortcodes/js/slideshow-shortcode.min.js',
- 182 => '_inc/build/style.min.css',
- 183 => '_inc/build/style.min.rtl.css',
- 184 => '_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.js',
- 185 => '_inc/build/twitter-timeline.min.js',
- 186 => '_inc/build/videopress/js/editor-view.min.js',
- 187 => '_inc/build/videopress/js/gutenberg-video-upload.min.js',
- 188 => '_inc/build/videopress/js/media-video-widget-extensions.min.js',
- 189 => '_inc/build/videopress/js/videopress-plupload.min.js',
- 190 => '_inc/build/videopress/js/videopress-uploader.min.js',
- 191 => '_inc/build/widget-visibility/editor/index.js',
- 192 => '_inc/build/widget-visibility/widget-conditions/widget-conditions.min.js',
- 193 => '_inc/build/widgets/contact-info/contact-info-admin.min.js',
- 194 => '_inc/build/widgets/customizer-utils.min.js',
- 195 => '_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.js',
- 196 => '_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js',
- 197 => '_inc/build/widgets/gallery/js/admin.min.js',
- 198 => '_inc/build/widgets/gallery/js/gallery.min.js',
- 199 => '_inc/build/widgets/google-translate/google-translate.min.js',
- 200 => '_inc/build/widgets/milestone/admin.min.js',
- 201 => '_inc/build/widgets/milestone/milestone.min.js',
- 202 => '_inc/build/widgets/search/js/search-widget-admin.min.js',
- 203 => '_inc/build/widgets/search/js/search-widget.min.js',
- 204 => '_inc/build/widgets/simple-payments/customizer.min.js',
- 205 => '_inc/build/widgets/social-icons/social-icons-admin.min.js',
- 206 => '_inc/build/widgets/twitter-timeline-admin.min.js',
- 207 => '_inc/build/wordads/js/wordads-ccpa.min.js',
- 208 => '_inc/connect-button.js',
- 209 => '_inc/crowdsignal-shortcode.js',
- 210 => '_inc/crowdsignal-survey.js',
- 211 => '_inc/facebook-embed.js',
- 212 => '_inc/gallery-settings.js',
- 213 => '_inc/genericons/genericons.css',
- 214 => '_inc/genericons/genericons/genericons.css',
- 215 => '_inc/genericons/genericons/rtl/genericons-rtl.css',
- 216 => '_inc/jetpack-admin.js',
- 217 => '_inc/jetpack-connection-banner.js',
- 218 => '_inc/jetpack-deactivate-dialog.js',
- 219 => '_inc/jetpack-modules.js',
- 220 => '_inc/jetpack-modules.models.js',
- 221 => '_inc/jetpack-modules.views.js',
- 222 => '_inc/jetpack-recommendations-banner.js',
- 223 => '_inc/lib/debugger/jetpack-debugger-site-health.css',
- 224 => '_inc/lib/debugger/jetpack-debugger-site-health.js',
- 225 => '_inc/polldaddy-shortcode.js',
- 226 => '_inc/social-logos/social-logos.css',
- 227 => '_inc/social-logos/social-logos.min.css',
- 228 => '_inc/twitter-timeline.js',
- 229 => 'css/cleanslate-rtl.css',
- 230 => 'css/cleanslate-rtl.min.css',
- 231 => 'css/cleanslate.css',
- 232 => 'css/cleanslate.min.css',
- 233 => 'css/dashboard-widget-rtl.css',
- 234 => 'css/dashboard-widget-rtl.min.css',
- 235 => 'css/dashboard-widget.css',
- 236 => 'css/dashboard-widget.min.css',
- 237 => 'css/jetpack-admin-rtl.css',
- 238 => 'css/jetpack-admin-rtl.min.css',
- 239 => 'css/jetpack-admin.css',
- 240 => 'css/jetpack-admin.min.css',
- 241 => 'css/jetpack-banners-rtl.css',
- 242 => 'css/jetpack-banners-rtl.min.css',
- 243 => 'css/jetpack-banners.css',
- 244 => 'css/jetpack-banners.min.css',
- 245 => 'css/jetpack-connect-rtl.css',
- 246 => 'css/jetpack-connect-rtl.min.css',
- 247 => 'css/jetpack-connect.css',
- 248 => 'css/jetpack-connect.min.css',
- 249 => 'css/jetpack-deactivate-dialog-rtl.css',
- 250 => 'css/jetpack-deactivate-dialog-rtl.min.css',
- 251 => 'css/jetpack-deactivate-dialog.css',
- 252 => 'css/jetpack-deactivate-dialog.min.css',
- 253 => 'css/jetpack-icons-rtl.css',
- 254 => 'css/jetpack-icons-rtl.min.css',
- 255 => 'css/jetpack-icons.css',
- 256 => 'css/jetpack-icons.min.css',
- 257 => 'css/jetpack-recommendations-banner-rtl.css',
- 258 => 'css/jetpack-recommendations-banner-rtl.min.css',
- 259 => 'css/jetpack-recommendations-banner.css',
- 260 => 'css/jetpack-recommendations-banner.min.css',
- 261 => 'css/jetpack-rtl.css',
- 262 => 'css/jetpack.css',
- 263 => 'css/wordads-ccpa-rtl.css',
- 264 => 'css/wordads-ccpa-rtl.min.css',
- 265 => 'css/wordads-ccpa.css',
- 266 => 'css/wordads-ccpa.min.css',
- 267 => 'modules/calypsoify/mods-gutenberg.js',
- 268 => 'modules/calypsoify/mods.js',
- 269 => 'modules/calypsoify/style-gutenberg-rtl.min.css',
- 270 => 'modules/calypsoify/style-gutenberg.min.css',
- 271 => 'modules/calypsoify/style-rtl.min.css',
- 272 => 'modules/calypsoify/style.min.css',
- 273 => 'modules/carousel/jetpack-carousel-rtl.css',
- 274 => 'modules/carousel/jetpack-carousel.css',
- 275 => 'modules/carousel/jetpack-carousel.js',
- 276 => 'modules/carousel/swiper-bundle.css',
- 277 => 'modules/carousel/swiper-bundle.js',
- 278 => 'modules/comment-likes/admin-style.css',
- 279 => 'modules/comment-likes/comment-like-count.js',
- 280 => 'modules/contact-form/css/editor-inline-editing-style-rtl.css',
- 281 => 'modules/contact-form/css/editor-inline-editing-style-rtl.min.css',
- 282 => 'modules/contact-form/css/editor-inline-editing-style.css',
- 283 => 'modules/contact-form/css/editor-inline-editing-style.min.css',
- 284 => 'modules/contact-form/css/editor-style-rtl.css',
- 285 => 'modules/contact-form/css/editor-style-rtl.min.css',
- 286 => 'modules/contact-form/css/editor-style.css',
- 287 => 'modules/contact-form/css/editor-style.min.css',
- 288 => 'modules/contact-form/css/editor-ui-rtl.css',
- 289 => 'modules/contact-form/css/editor-ui-rtl.min.css',
- 290 => 'modules/contact-form/css/editor-ui.css',
- 291 => 'modules/contact-form/css/editor-ui.min.css',
- 292 => 'modules/contact-form/css/grunion-rtl.css',
- 293 => 'modules/contact-form/css/grunion.css',
- 294 => 'modules/contact-form/css/jquery-ui-datepicker.css',
- 295 => 'modules/contact-form/js/editor-view.js',
- 296 => 'modules/contact-form/js/grunion-admin.js',
- 297 => 'modules/contact-form/js/grunion-frontend.js',
- 298 => 'modules/contact-form/js/grunion.js',
- 299 => 'modules/contact-form/js/tinymce-plugin-form-button.js',
- 300 => 'modules/custom-css/csstidy/cssparse-rtl.css',
- 301 => 'modules/custom-css/csstidy/cssparse-rtl.min.css',
- 302 => 'modules/custom-css/csstidy/cssparse.css',
- 303 => 'modules/custom-css/csstidy/cssparse.min.css',
- 304 => 'modules/custom-css/csstidy/cssparsed-rtl.css',
- 305 => 'modules/custom-css/csstidy/cssparsed-rtl.min.css',
- 306 => 'modules/custom-css/csstidy/cssparsed.css',
- 307 => 'modules/custom-css/csstidy/cssparsed.min.css',
- 308 => 'modules/custom-css/custom-css/css/blank.css',
- 309 => 'modules/custom-css/custom-css/css/codemirror-rtl.css',
- 310 => 'modules/custom-css/custom-css/css/codemirror-rtl.min.css',
- 311 => 'modules/custom-css/custom-css/css/codemirror.css',
- 312 => 'modules/custom-css/custom-css/css/codemirror.min.css',
- 313 => 'modules/custom-css/custom-css/css/css-editor-rtl.css',
- 314 => 'modules/custom-css/custom-css/css/css-editor-rtl.min.css',
- 315 => 'modules/custom-css/custom-css/css/css-editor.css',
- 316 => 'modules/custom-css/custom-css/css/css-editor.min.css',
- 317 => 'modules/custom-css/custom-css/css/customizer-control.css',
- 318 => 'modules/custom-css/custom-css/css/rtl/codemirror-rtl.css',
- 319 => 'modules/custom-css/custom-css/css/use-codemirror-rtl.css',
- 320 => 'modules/custom-css/custom-css/css/use-codemirror-rtl.min.css',
- 321 => 'modules/custom-css/custom-css/css/use-codemirror.css',
- 322 => 'modules/custom-css/custom-css/css/use-codemirror.min.css',
- 323 => 'modules/custom-css/custom-css/js/codemirror.min.js',
- 324 => 'modules/custom-css/custom-css/js/core-customizer-css-preview.js',
- 325 => 'modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js',
- 326 => 'modules/custom-css/custom-css/js/core-customizer-css.js',
- 327 => 'modules/custom-css/custom-css/js/css-editor.js',
- 328 => 'modules/custom-css/custom-css/js/use-codemirror.js',
- 329 => 'modules/custom-post-types/comics/admin.css',
- 330 => 'modules/custom-post-types/comics/comics-rtl.css',
- 331 => 'modules/custom-post-types/comics/comics-rtl.min.css',
- 332 => 'modules/custom-post-types/comics/comics.css',
- 333 => 'modules/custom-post-types/comics/comics.js',
- 334 => 'modules/custom-post-types/comics/comics.min.css',
- 335 => 'modules/custom-post-types/comics/rtl/comics-rtl.css',
- 336 => 'modules/custom-post-types/css/edit-items.css',
- 337 => 'modules/custom-post-types/css/many-items.css',
- 338 => 'modules/custom-post-types/css/nova-font.css',
- 339 => 'modules/custom-post-types/css/nova.css',
- 340 => 'modules/custom-post-types/css/portfolio-shortcode.css',
- 341 => 'modules/custom-post-types/css/testimonial-shortcode.css',
- 342 => 'modules/custom-post-types/js/many-items.js',
- 343 => 'modules/custom-post-types/js/menu-checkboxes.js',
- 344 => 'modules/custom-post-types/js/nova-drag-drop.js',
- 345 => 'modules/gravatar/gravatar-hovercards-amp.css',
- 346 => 'modules/infinite-scroll/infinity-customizer.js',
- 347 => 'modules/infinite-scroll/infinity.css',
- 348 => 'modules/infinite-scroll/infinity.js',
- 349 => 'modules/infinite-scroll/themes/twentyeleven.css',
- 350 => 'modules/infinite-scroll/themes/twentyfifteen-rtl.css',
- 351 => 'modules/infinite-scroll/themes/twentyfifteen.css',
- 352 => 'modules/infinite-scroll/themes/twentyfourteen.css',
- 353 => 'modules/infinite-scroll/themes/twentyseventeen-rtl.css',
- 354 => 'modules/infinite-scroll/themes/twentyseventeen.css',
- 355 => 'modules/infinite-scroll/themes/twentysixteen-rtl.css',
- 356 => 'modules/infinite-scroll/themes/twentysixteen.css',
- 357 => 'modules/infinite-scroll/themes/twentyten.css',
- 358 => 'modules/infinite-scroll/themes/twentythirteen.css',
- 359 => 'modules/infinite-scroll/themes/twentytwelve.css',
- 360 => 'modules/likes/post-count-jetpack.js',
- 361 => 'modules/likes/post-count.js',
- 362 => 'modules/likes/queuehandler.js',
- 363 => 'modules/likes/style.css',
- 364 => 'modules/masterbar/admin-menu/admin-menu-rtl.css',
- 365 => 'modules/masterbar/admin-menu/admin-menu-rtl.min.css',
- 366 => 'modules/masterbar/admin-menu/admin-menu.css',
- 367 => 'modules/masterbar/admin-menu/admin-menu.js',
- 368 => 'modules/masterbar/admin-menu/admin-menu.min.css',
- 369 => 'modules/masterbar/inline-help/inline-help.css',
- 370 => 'modules/masterbar/masterbar/overrides.css',
- 371 => 'modules/masterbar/masterbar/tracks-events.js',
- 372 => 'modules/masterbar/nudges/additional-css/css/additional-css.css',
- 373 => 'modules/masterbar/nudges/additional-css/js/additional-css.js',
- 374 => 'modules/masterbar/wp-posts-list/wp-posts-list.css',
- 375 => 'modules/photon/photon.js',
- 376 => 'modules/plugin-search/plugin-search.css',
- 377 => 'modules/plugin-search/plugin-search.js',
- 378 => 'modules/post-by-email/post-by-email-rtl.css',
- 379 => 'modules/post-by-email/post-by-email-rtl.min.css',
- 380 => 'modules/post-by-email/post-by-email.css',
- 381 => 'modules/post-by-email/post-by-email.js',
- 382 => 'modules/post-by-email/post-by-email.min.css',
- 383 => 'modules/protect/protect-dashboard-widget-rtl.css',
- 384 => 'modules/protect/protect-dashboard-widget-rtl.min.css',
- 385 => 'modules/protect/protect-dashboard-widget.css',
- 386 => 'modules/protect/protect-dashboard-widget.min.css',
- 387 => 'modules/related-posts/related-posts-customizer.js',
- 388 => 'modules/related-posts/related-posts-rtl.css',
- 389 => 'modules/related-posts/related-posts.css',
- 390 => 'modules/related-posts/related-posts.js',
- 391 => 'modules/related-posts/rtl/related-posts-rtl.css',
- 392 => 'modules/scan/admin-bar-notice.js',
- 393 => 'modules/search/customize-controls/class-excluded-post-types-control.css',
- 394 => 'modules/search/customize-controls/class-excluded-post-types-control.js',
- 395 => 'modules/search/customize-controls/class-label-control.css',
- 396 => 'modules/search/customize-controls/customize-controls.js',
- 397 => 'modules/sharedaddy/admin-sharing-rtl.css',
- 398 => 'modules/sharedaddy/admin-sharing-rtl.min.css',
- 399 => 'modules/sharedaddy/admin-sharing.css',
- 400 => 'modules/sharedaddy/admin-sharing.js',
- 401 => 'modules/sharedaddy/admin-sharing.min.css',
- 402 => 'modules/sharedaddy/amp-sharing.css',
- 403 => 'modules/sharedaddy/sharing.css',
- 404 => 'modules/sharedaddy/sharing.js',
- 405 => 'modules/shortcodes/css/gravatar-amp.css',
- 406 => 'modules/shortcodes/css/quiz.css',
- 407 => 'modules/shortcodes/css/recipes-print-rtl.css',
- 408 => 'modules/shortcodes/css/recipes-print-rtl.min.css',
- 409 => 'modules/shortcodes/css/recipes-print.css',
- 410 => 'modules/shortcodes/css/recipes-print.min.css',
- 411 => 'modules/shortcodes/css/recipes-rtl.css',
- 412 => 'modules/shortcodes/css/recipes-rtl.min.css',
- 413 => 'modules/shortcodes/css/recipes.css',
- 414 => 'modules/shortcodes/css/recipes.min.css',
- 415 => 'modules/shortcodes/css/slideshow-shortcode-rtl.css',
- 416 => 'modules/shortcodes/css/slideshow-shortcode-rtl.min.css',
- 417 => 'modules/shortcodes/css/slideshow-shortcode.css',
- 418 => 'modules/shortcodes/css/slideshow-shortcode.min.css',
- 419 => 'modules/shortcodes/css/style.css',
- 420 => 'modules/shortcodes/js/brightcove.js',
- 421 => 'modules/shortcodes/js/jmpress.js',
- 422 => 'modules/shortcodes/js/jquery.cycle.min.js',
- 423 => 'modules/shortcodes/js/main.js',
- 424 => 'modules/shortcodes/js/quiz.js',
- 425 => 'modules/shortcodes/js/recipes-printthis.js',
- 426 => 'modules/shortcodes/js/recipes.js',
- 427 => 'modules/shortcodes/js/slideshow-shortcode.js',
- 428 => 'modules/simple-payments/paypal-express-checkout.js',
- 429 => 'modules/simple-payments/simple-payments.css',
- 430 => 'modules/sso/jetpack-sso-login-rtl.css',
- 431 => 'modules/sso/jetpack-sso-login-rtl.min.css',
- 432 => 'modules/sso/jetpack-sso-login.css',
- 433 => 'modules/sso/jetpack-sso-login.js',
- 434 => 'modules/sso/jetpack-sso-login.min.css',
- 435 => 'modules/subscriptions/subscriptions.css',
- 436 => 'modules/theme-tools/compat/twentyfifteen-rtl.css',
- 437 => 'modules/theme-tools/compat/twentyfifteen.css',
- 438 => 'modules/theme-tools/compat/twentyfourteen-rtl.css',
- 439 => 'modules/theme-tools/compat/twentyfourteen.css',
- 440 => 'modules/theme-tools/compat/twentynineteen-rtl.css',
- 441 => 'modules/theme-tools/compat/twentynineteen.css',
- 442 => 'modules/theme-tools/compat/twentysixteen-rtl.css',
- 443 => 'modules/theme-tools/compat/twentysixteen.css',
- 444 => 'modules/theme-tools/compat/twentytwenty-rtl.css',
- 445 => 'modules/theme-tools/compat/twentytwenty.css',
- 446 => 'modules/theme-tools/compat/twentytwentyone-rtl.css',
- 447 => 'modules/theme-tools/compat/twentytwentyone.css',
- 448 => 'modules/theme-tools/content-options/customizer.js',
- 449 => 'modules/theme-tools/js/suggest.js',
- 450 => 'modules/theme-tools/responsive-videos/responsive-videos.css',
- 451 => 'modules/theme-tools/responsive-videos/responsive-videos.js',
- 452 => 'modules/theme-tools/responsive-videos/responsive-videos.min.js',
- 453 => 'modules/theme-tools/site-logo/js/site-logo-header-text.js',
- 454 => 'modules/theme-tools/site-logo/js/site-logo-header-text.min.js',
- 455 => 'modules/theme-tools/social-menu/social-menu.css',
- 456 => 'modules/tiled-gallery/tiled-gallery/rtl/tiled-gallery-rtl.css',
- 457 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery-rtl.css',
- 458 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery.css',
- 459 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery.js',
- 460 => 'modules/videopress/css/editor-rtl.css',
- 461 => 'modules/videopress/css/editor-rtl.min.css',
- 462 => 'modules/videopress/css/editor.css',
- 463 => 'modules/videopress/css/editor.min.css',
- 464 => 'modules/videopress/css/videopress-editor-style-rtl.css',
- 465 => 'modules/videopress/css/videopress-editor-style-rtl.min.css',
- 466 => 'modules/videopress/css/videopress-editor-style.css',
- 467 => 'modules/videopress/css/videopress-editor-style.min.css',
- 468 => 'modules/videopress/js/editor-view.js',
- 469 => 'modules/videopress/js/gutenberg-video-upload.js',
- 470 => 'modules/videopress/js/media-video-widget-extensions.js',
- 471 => 'modules/videopress/js/videopress-plupload.js',
- 472 => 'modules/videopress/js/videopress-uploader.js',
- 473 => 'modules/videopress/videopress-admin-rtl.css',
- 474 => 'modules/videopress/videopress-admin-rtl.min.css',
- 475 => 'modules/videopress/videopress-admin.css',
- 476 => 'modules/videopress/videopress-admin.min.css',
- 477 => 'modules/widget-visibility/widget-conditions/rtl/widget-conditions-rtl.css',
- 478 => 'modules/widget-visibility/widget-conditions/widget-conditions-rtl.css',
- 479 => 'modules/widget-visibility/widget-conditions/widget-conditions-rtl.min.css',
- 480 => 'modules/widget-visibility/widget-conditions/widget-conditions.css',
- 481 => 'modules/widget-visibility/widget-conditions/widget-conditions.js',
- 482 => 'modules/widget-visibility/widget-conditions/widget-conditions.min.css',
- 483 => 'modules/widgets/authors/style.css',
- 484 => 'modules/widgets/contact-info/contact-info-admin.js',
- 485 => 'modules/widgets/contact-info/contact-info-map.css',
- 486 => 'modules/widgets/customizer-controls.css',
- 487 => 'modules/widgets/customizer-utils.js',
- 488 => 'modules/widgets/eu-cookie-law/eu-cookie-law-admin.js',
- 489 => 'modules/widgets/eu-cookie-law/eu-cookie-law.js',
- 490 => 'modules/widgets/eu-cookie-law/style.css',
- 491 => 'modules/widgets/facebook-likebox/style.css',
- 492 => 'modules/widgets/flickr/style.css',
- 493 => 'modules/widgets/gallery/css/admin-rtl.css',
- 494 => 'modules/widgets/gallery/css/admin-rtl.min.css',
- 495 => 'modules/widgets/gallery/css/admin.css',
- 496 => 'modules/widgets/gallery/css/admin.min.css',
- 497 => 'modules/widgets/gallery/css/rtl/admin-rtl.css',
- 498 => 'modules/widgets/gallery/js/admin.js',
- 499 => 'modules/widgets/gallery/js/gallery.js',
- 500 => 'modules/widgets/goodreads/css/goodreads.css',
- 501 => 'modules/widgets/goodreads/css/rtl/goodreads-rtl.css',
- 502 => 'modules/widgets/google-translate/google-translate.js',
- 503 => 'modules/widgets/gravatar-profile.css',
- 504 => 'modules/widgets/image-widget/style.css',
- 505 => 'modules/widgets/instagram/instagram.css',
- 506 => 'modules/widgets/milestone/admin.js',
- 507 => 'modules/widgets/milestone/milestone-widget.css',
- 508 => 'modules/widgets/milestone/milestone.js',
- 509 => 'modules/widgets/milestone/style-admin.css',
- 510 => 'modules/widgets/my-community/style.css',
- 511 => 'modules/widgets/search/css/search-widget-admin-ui.css',
- 512 => 'modules/widgets/search/css/search-widget-frontend.css',
- 513 => 'modules/widgets/search/js/search-widget-admin.js',
- 514 => 'modules/widgets/search/js/search-widget.js',
- 515 => 'modules/widgets/simple-payments/customizer.css',
- 516 => 'modules/widgets/simple-payments/customizer.js',
- 517 => 'modules/widgets/simple-payments/style.css',
- 518 => 'modules/widgets/social-icons/social-icons-admin.css',
- 519 => 'modules/widgets/social-icons/social-icons-admin.js',
- 520 => 'modules/widgets/social-icons/social-icons.css',
- 521 => 'modules/widgets/social-media-icons/style.css',
- 522 => 'modules/widgets/top-posts/style.css',
- 523 => 'modules/widgets/twitter-timeline-admin.js',
- 524 => 'modules/widgets/wordpress-post-widget/style.css',
- 525 => 'modules/wordads/css/style.css',
- 526 => 'modules/wordads/js/wordads-ccpa.js',
- 527 => 'modules/wpgroho.js',
+ 123 => '_inc/build/jetpack-admin.min.js',
+ 124 => '_inc/build/jetpack-connection-banner.min.js',
+ 125 => '_inc/build/jetpack-deactivate-dialog.min.js',
+ 126 => '_inc/build/jetpack-modules.min.js',
+ 127 => '_inc/build/jetpack-modules.models.min.js',
+ 128 => '_inc/build/jetpack-modules.views.min.js',
+ 129 => '_inc/build/jetpack-recommendations-banner.min.js',
+ 130 => '_inc/build/likes/post-count-jetpack.min.js',
+ 131 => '_inc/build/likes/post-count.min.js',
+ 132 => '_inc/build/likes/queuehandler.min.js',
+ 133 => '_inc/build/masterbar/admin-color-schemes/colors/aquatic/colors.css',
+ 134 => '_inc/build/masterbar/admin-color-schemes/colors/blue/colors.css',
+ 135 => '_inc/build/masterbar/admin-color-schemes/colors/classic-blue/colors.css',
+ 136 => '_inc/build/masterbar/admin-color-schemes/colors/classic-bright/colors.css',
+ 137 => '_inc/build/masterbar/admin-color-schemes/colors/classic-dark/colors.css',
+ 138 => '_inc/build/masterbar/admin-color-schemes/colors/coffee/colors.css',
+ 139 => '_inc/build/masterbar/admin-color-schemes/colors/contrast/colors.css',
+ 140 => '_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/colors.css',
+ 141 => '_inc/build/masterbar/admin-color-schemes/colors/fresh/colors.css',
+ 142 => '_inc/build/masterbar/admin-color-schemes/colors/light/colors.css',
+ 143 => '_inc/build/masterbar/admin-color-schemes/colors/midnight/colors.css',
+ 144 => '_inc/build/masterbar/admin-color-schemes/colors/modern/colors.css',
+ 145 => '_inc/build/masterbar/admin-color-schemes/colors/nightfall/colors.css',
+ 146 => '_inc/build/masterbar/admin-color-schemes/colors/ocean/colors.css',
+ 147 => '_inc/build/masterbar/admin-color-schemes/colors/powder-snow/colors.css',
+ 148 => '_inc/build/masterbar/admin-color-schemes/colors/sakura/colors.css',
+ 149 => '_inc/build/masterbar/admin-color-schemes/colors/sunrise/colors.css',
+ 150 => '_inc/build/masterbar/admin-color-schemes/colors/sunset/colors.css',
+ 151 => '_inc/build/masterbar/admin-menu/admin-menu.min.js',
+ 152 => '_inc/build/masterbar/masterbar/tracks-events.min.js',
+ 153 => '_inc/build/masterbar/nudges/additional-css/js/additional-css.min.js',
+ 154 => '_inc/build/photon/photon.min.js',
+ 155 => '_inc/build/plugins-page.css',
+ 156 => '_inc/build/plugins-page.js',
+ 157 => '_inc/build/plugins-page.rtl.css',
+ 158 => '_inc/build/polldaddy-shortcode.min.js',
+ 159 => '_inc/build/related-posts/related-posts-customizer.min.js',
+ 160 => '_inc/build/related-posts/related-posts.min.js',
+ 161 => '_inc/build/scan/admin-bar-notice.min.js',
+ 162 => '_inc/build/sharedaddy/admin-sharing.min.js',
+ 163 => '_inc/build/sharedaddy/sharing.min.js',
+ 164 => '_inc/build/shortcodes/js/brightcove.min.js',
+ 165 => '_inc/build/shortcodes/js/jmpress.min.js',
+ 166 => '_inc/build/shortcodes/js/main.min.js',
+ 167 => '_inc/build/shortcodes/js/quiz.min.js',
+ 168 => '_inc/build/shortcodes/js/recipes-printthis.min.js',
+ 169 => '_inc/build/shortcodes/js/recipes.min.js',
+ 170 => '_inc/build/shortcodes/js/slideshow-shortcode.min.js',
+ 171 => '_inc/build/style.min.css',
+ 172 => '_inc/build/style.min.rtl.css',
+ 173 => '_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.js',
+ 174 => '_inc/build/twitter-timeline.min.js',
+ 175 => '_inc/build/videopress/js/editor-view.min.js',
+ 176 => '_inc/build/videopress/js/gutenberg-video-upload.min.js',
+ 177 => '_inc/build/videopress/js/media-video-widget-extensions.min.js',
+ 178 => '_inc/build/videopress/js/test/test-gutenberg-video-upload.min.js',
+ 179 => '_inc/build/videopress/js/videopress-add-resumable-upload-support.min.js',
+ 180 => '_inc/build/videopress/js/videopress-plupload.min.js',
+ 181 => '_inc/build/videopress/js/videopress-token-bridge.min.js',
+ 182 => '_inc/build/videopress/js/videopress-uploader.min.js',
+ 183 => '_inc/build/widget-visibility/editor/index.css',
+ 184 => '_inc/build/widget-visibility/editor/index.js',
+ 185 => '_inc/build/widget-visibility/editor/index.rtl.css',
+ 186 => '_inc/build/widget-visibility/widget-conditions/widget-conditions.min.js',
+ 187 => '_inc/build/widgets/contact-info/contact-info-admin.min.js',
+ 188 => '_inc/build/widgets/customizer-utils.min.js',
+ 189 => '_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.js',
+ 190 => '_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js',
+ 191 => '_inc/build/widgets/gallery/js/admin.min.js',
+ 192 => '_inc/build/widgets/gallery/js/gallery.min.js',
+ 193 => '_inc/build/widgets/google-translate/google-translate.min.js',
+ 194 => '_inc/build/widgets/milestone/admin.min.js',
+ 195 => '_inc/build/widgets/milestone/milestone.min.js',
+ 196 => '_inc/build/widgets/simple-payments/customizer.min.js',
+ 197 => '_inc/build/widgets/social-icons/social-icons-admin.min.js',
+ 198 => '_inc/build/widgets/twitter-timeline-admin.min.js',
+ 199 => '_inc/build/wordads/js/wordads-ccpa.min.js',
+ 200 => '_inc/connect-button.js',
+ 201 => '_inc/crowdsignal-shortcode.js',
+ 202 => '_inc/crowdsignal-survey.js',
+ 203 => '_inc/facebook-embed.js',
+ 204 => '_inc/gallery-settings.js',
+ 205 => '_inc/genericons/genericons.css',
+ 206 => '_inc/genericons/genericons/genericons.css',
+ 207 => '_inc/genericons/genericons/rtl/genericons-rtl.css',
+ 208 => '_inc/jetpack-admin.js',
+ 209 => '_inc/jetpack-connection-banner.js',
+ 210 => '_inc/jetpack-deactivate-dialog.js',
+ 211 => '_inc/jetpack-modules.js',
+ 212 => '_inc/jetpack-modules.models.js',
+ 213 => '_inc/jetpack-modules.views.js',
+ 214 => '_inc/jetpack-recommendations-banner.js',
+ 215 => '_inc/lib/debugger/jetpack-debugger-site-health.css',
+ 216 => '_inc/lib/debugger/jetpack-debugger-site-health.js',
+ 217 => '_inc/polldaddy-shortcode.js',
+ 218 => '_inc/social-logos/social-logos.css',
+ 219 => '_inc/social-logos/social-logos.min.css',
+ 220 => '_inc/twitter-timeline.js',
+ 221 => 'css/cleanslate-rtl.css',
+ 222 => 'css/cleanslate-rtl.min.css',
+ 223 => 'css/cleanslate.css',
+ 224 => 'css/cleanslate.min.css',
+ 225 => 'css/dashboard-widget-rtl.css',
+ 226 => 'css/dashboard-widget-rtl.min.css',
+ 227 => 'css/dashboard-widget.css',
+ 228 => 'css/dashboard-widget.min.css',
+ 229 => 'css/jetpack-admin-rtl.css',
+ 230 => 'css/jetpack-admin-rtl.min.css',
+ 231 => 'css/jetpack-admin.css',
+ 232 => 'css/jetpack-admin.min.css',
+ 233 => 'css/jetpack-banners-rtl.css',
+ 234 => 'css/jetpack-banners-rtl.min.css',
+ 235 => 'css/jetpack-banners.css',
+ 236 => 'css/jetpack-banners.min.css',
+ 237 => 'css/jetpack-connect-rtl.css',
+ 238 => 'css/jetpack-connect-rtl.min.css',
+ 239 => 'css/jetpack-connect.css',
+ 240 => 'css/jetpack-connect.min.css',
+ 241 => 'css/jetpack-deactivate-dialog-rtl.css',
+ 242 => 'css/jetpack-deactivate-dialog-rtl.min.css',
+ 243 => 'css/jetpack-deactivate-dialog.css',
+ 244 => 'css/jetpack-deactivate-dialog.min.css',
+ 245 => 'css/jetpack-icons-rtl.css',
+ 246 => 'css/jetpack-icons-rtl.min.css',
+ 247 => 'css/jetpack-icons.css',
+ 248 => 'css/jetpack-icons.min.css',
+ 249 => 'css/jetpack-recommendations-banner-rtl.css',
+ 250 => 'css/jetpack-recommendations-banner-rtl.min.css',
+ 251 => 'css/jetpack-recommendations-banner.css',
+ 252 => 'css/jetpack-recommendations-banner.min.css',
+ 253 => 'css/jetpack-rtl.css',
+ 254 => 'css/jetpack.css',
+ 255 => 'css/wordads-ccpa-rtl.css',
+ 256 => 'css/wordads-ccpa-rtl.min.css',
+ 257 => 'css/wordads-ccpa.css',
+ 258 => 'css/wordads-ccpa.min.css',
+ 259 => 'modules/calypsoify/mods-gutenberg.js',
+ 260 => 'modules/calypsoify/mods.js',
+ 261 => 'modules/calypsoify/style-gutenberg-rtl.min.css',
+ 262 => 'modules/calypsoify/style-gutenberg.min.css',
+ 263 => 'modules/calypsoify/style-rtl.min.css',
+ 264 => 'modules/calypsoify/style.min.css',
+ 265 => 'modules/carousel/jetpack-carousel-rtl.css',
+ 266 => 'modules/carousel/jetpack-carousel.css',
+ 267 => 'modules/carousel/jetpack-carousel.js',
+ 268 => 'modules/carousel/swiper-bundle.css',
+ 269 => 'modules/carousel/swiper-bundle.js',
+ 270 => 'modules/comment-likes/admin-style.css',
+ 271 => 'modules/comment-likes/comment-like-count.js',
+ 272 => 'modules/contact-form/css/editor-inline-editing-style-rtl.css',
+ 273 => 'modules/contact-form/css/editor-inline-editing-style-rtl.min.css',
+ 274 => 'modules/contact-form/css/editor-inline-editing-style.css',
+ 275 => 'modules/contact-form/css/editor-inline-editing-style.min.css',
+ 276 => 'modules/contact-form/css/editor-style-rtl.css',
+ 277 => 'modules/contact-form/css/editor-style-rtl.min.css',
+ 278 => 'modules/contact-form/css/editor-style.css',
+ 279 => 'modules/contact-form/css/editor-style.min.css',
+ 280 => 'modules/contact-form/css/editor-ui-rtl.css',
+ 281 => 'modules/contact-form/css/editor-ui-rtl.min.css',
+ 282 => 'modules/contact-form/css/editor-ui.css',
+ 283 => 'modules/contact-form/css/editor-ui.min.css',
+ 284 => 'modules/contact-form/css/grunion-rtl.css',
+ 285 => 'modules/contact-form/css/grunion.css',
+ 286 => 'modules/contact-form/css/jquery-ui-datepicker.css',
+ 287 => 'modules/contact-form/js/editor-view.js',
+ 288 => 'modules/contact-form/js/grunion-admin.js',
+ 289 => 'modules/contact-form/js/grunion-frontend.js',
+ 290 => 'modules/contact-form/js/grunion.js',
+ 291 => 'modules/contact-form/js/tinymce-plugin-form-button.js',
+ 292 => 'modules/custom-css/csstidy/cssparse-rtl.css',
+ 293 => 'modules/custom-css/csstidy/cssparse-rtl.min.css',
+ 294 => 'modules/custom-css/csstidy/cssparse.css',
+ 295 => 'modules/custom-css/csstidy/cssparse.min.css',
+ 296 => 'modules/custom-css/csstidy/cssparsed-rtl.css',
+ 297 => 'modules/custom-css/csstidy/cssparsed-rtl.min.css',
+ 298 => 'modules/custom-css/csstidy/cssparsed.css',
+ 299 => 'modules/custom-css/csstidy/cssparsed.min.css',
+ 300 => 'modules/custom-css/custom-css/css/blank.css',
+ 301 => 'modules/custom-css/custom-css/css/codemirror-rtl.css',
+ 302 => 'modules/custom-css/custom-css/css/codemirror-rtl.min.css',
+ 303 => 'modules/custom-css/custom-css/css/codemirror.css',
+ 304 => 'modules/custom-css/custom-css/css/codemirror.min.css',
+ 305 => 'modules/custom-css/custom-css/css/css-editor-rtl.css',
+ 306 => 'modules/custom-css/custom-css/css/css-editor-rtl.min.css',
+ 307 => 'modules/custom-css/custom-css/css/css-editor.css',
+ 308 => 'modules/custom-css/custom-css/css/css-editor.min.css',
+ 309 => 'modules/custom-css/custom-css/css/customizer-control.css',
+ 310 => 'modules/custom-css/custom-css/css/rtl/codemirror-rtl.css',
+ 311 => 'modules/custom-css/custom-css/css/use-codemirror-rtl.css',
+ 312 => 'modules/custom-css/custom-css/css/use-codemirror-rtl.min.css',
+ 313 => 'modules/custom-css/custom-css/css/use-codemirror.css',
+ 314 => 'modules/custom-css/custom-css/css/use-codemirror.min.css',
+ 315 => 'modules/custom-css/custom-css/js/codemirror.min.js',
+ 316 => 'modules/custom-css/custom-css/js/core-customizer-css-preview.js',
+ 317 => 'modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js',
+ 318 => 'modules/custom-css/custom-css/js/core-customizer-css.js',
+ 319 => 'modules/custom-css/custom-css/js/css-editor.js',
+ 320 => 'modules/custom-css/custom-css/js/use-codemirror.js',
+ 321 => 'modules/custom-post-types/comics/admin.css',
+ 322 => 'modules/custom-post-types/comics/comics-rtl.css',
+ 323 => 'modules/custom-post-types/comics/comics-rtl.min.css',
+ 324 => 'modules/custom-post-types/comics/comics.css',
+ 325 => 'modules/custom-post-types/comics/comics.js',
+ 326 => 'modules/custom-post-types/comics/comics.min.css',
+ 327 => 'modules/custom-post-types/comics/rtl/comics-rtl.css',
+ 328 => 'modules/custom-post-types/css/edit-items.css',
+ 329 => 'modules/custom-post-types/css/many-items.css',
+ 330 => 'modules/custom-post-types/css/nova-font.css',
+ 331 => 'modules/custom-post-types/css/nova.css',
+ 332 => 'modules/custom-post-types/css/portfolio-shortcode.css',
+ 333 => 'modules/custom-post-types/css/testimonial-shortcode.css',
+ 334 => 'modules/custom-post-types/js/many-items.js',
+ 335 => 'modules/custom-post-types/js/menu-checkboxes.js',
+ 336 => 'modules/custom-post-types/js/nova-drag-drop.js',
+ 337 => 'modules/gravatar/gravatar-hovercards-amp.css',
+ 338 => 'modules/infinite-scroll/infinity-customizer.js',
+ 339 => 'modules/infinite-scroll/infinity.css',
+ 340 => 'modules/infinite-scroll/infinity.js',
+ 341 => 'modules/infinite-scroll/themes/twentyeleven.css',
+ 342 => 'modules/infinite-scroll/themes/twentyfifteen-rtl.css',
+ 343 => 'modules/infinite-scroll/themes/twentyfifteen.css',
+ 344 => 'modules/infinite-scroll/themes/twentyfourteen.css',
+ 345 => 'modules/infinite-scroll/themes/twentyseventeen-rtl.css',
+ 346 => 'modules/infinite-scroll/themes/twentyseventeen.css',
+ 347 => 'modules/infinite-scroll/themes/twentysixteen-rtl.css',
+ 348 => 'modules/infinite-scroll/themes/twentysixteen.css',
+ 349 => 'modules/infinite-scroll/themes/twentyten.css',
+ 350 => 'modules/infinite-scroll/themes/twentythirteen.css',
+ 351 => 'modules/infinite-scroll/themes/twentytwelve.css',
+ 352 => 'modules/likes/post-count-jetpack.js',
+ 353 => 'modules/likes/post-count.js',
+ 354 => 'modules/likes/queuehandler.js',
+ 355 => 'modules/likes/style.css',
+ 356 => 'modules/masterbar/admin-menu/admin-menu-rtl.css',
+ 357 => 'modules/masterbar/admin-menu/admin-menu-rtl.min.css',
+ 358 => 'modules/masterbar/admin-menu/admin-menu.css',
+ 359 => 'modules/masterbar/admin-menu/admin-menu.js',
+ 360 => 'modules/masterbar/admin-menu/admin-menu.min.css',
+ 361 => 'modules/masterbar/inline-help/inline-help.css',
+ 362 => 'modules/masterbar/masterbar/overrides.css',
+ 363 => 'modules/masterbar/masterbar/tracks-events.js',
+ 364 => 'modules/masterbar/nudges/additional-css/css/additional-css.css',
+ 365 => 'modules/masterbar/nudges/additional-css/js/additional-css.js',
+ 366 => 'modules/masterbar/wp-posts-list/wp-posts-list.css',
+ 367 => 'modules/photon/photon.js',
+ 368 => 'modules/plugin-search/plugin-search.css',
+ 369 => 'modules/plugin-search/plugin-search.js',
+ 370 => 'modules/post-by-email/post-by-email-rtl.css',
+ 371 => 'modules/post-by-email/post-by-email-rtl.min.css',
+ 372 => 'modules/post-by-email/post-by-email.css',
+ 373 => 'modules/post-by-email/post-by-email.js',
+ 374 => 'modules/post-by-email/post-by-email.min.css',
+ 375 => 'modules/protect/protect-dashboard-widget-rtl.css',
+ 376 => 'modules/protect/protect-dashboard-widget-rtl.min.css',
+ 377 => 'modules/protect/protect-dashboard-widget.css',
+ 378 => 'modules/protect/protect-dashboard-widget.min.css',
+ 379 => 'modules/related-posts/related-posts-customizer.js',
+ 380 => 'modules/related-posts/related-posts-rtl.css',
+ 381 => 'modules/related-posts/related-posts.css',
+ 382 => 'modules/related-posts/related-posts.js',
+ 383 => 'modules/related-posts/rtl/related-posts-rtl.css',
+ 384 => 'modules/scan/admin-bar-notice.js',
+ 385 => 'modules/sharedaddy/admin-sharing-rtl.css',
+ 386 => 'modules/sharedaddy/admin-sharing-rtl.min.css',
+ 387 => 'modules/sharedaddy/admin-sharing.css',
+ 388 => 'modules/sharedaddy/admin-sharing.js',
+ 389 => 'modules/sharedaddy/admin-sharing.min.css',
+ 390 => 'modules/sharedaddy/amp-sharing.css',
+ 391 => 'modules/sharedaddy/sharing.css',
+ 392 => 'modules/sharedaddy/sharing.js',
+ 393 => 'modules/shortcodes/css/gravatar-amp.css',
+ 394 => 'modules/shortcodes/css/quiz.css',
+ 395 => 'modules/shortcodes/css/recipes-print-rtl.css',
+ 396 => 'modules/shortcodes/css/recipes-print-rtl.min.css',
+ 397 => 'modules/shortcodes/css/recipes-print.css',
+ 398 => 'modules/shortcodes/css/recipes-print.min.css',
+ 399 => 'modules/shortcodes/css/recipes-rtl.css',
+ 400 => 'modules/shortcodes/css/recipes-rtl.min.css',
+ 401 => 'modules/shortcodes/css/recipes.css',
+ 402 => 'modules/shortcodes/css/recipes.min.css',
+ 403 => 'modules/shortcodes/css/slideshow-shortcode-rtl.css',
+ 404 => 'modules/shortcodes/css/slideshow-shortcode-rtl.min.css',
+ 405 => 'modules/shortcodes/css/slideshow-shortcode.css',
+ 406 => 'modules/shortcodes/css/slideshow-shortcode.min.css',
+ 407 => 'modules/shortcodes/css/style.css',
+ 408 => 'modules/shortcodes/js/brightcove.js',
+ 409 => 'modules/shortcodes/js/jmpress.js',
+ 410 => 'modules/shortcodes/js/jquery.cycle.min.js',
+ 411 => 'modules/shortcodes/js/main.js',
+ 412 => 'modules/shortcodes/js/quiz.js',
+ 413 => 'modules/shortcodes/js/recipes-printthis.js',
+ 414 => 'modules/shortcodes/js/recipes.js',
+ 415 => 'modules/shortcodes/js/slideshow-shortcode.js',
+ 416 => 'modules/simple-payments/paypal-express-checkout.js',
+ 417 => 'modules/simple-payments/simple-payments.css',
+ 418 => 'modules/sso/jetpack-sso-login-rtl.css',
+ 419 => 'modules/sso/jetpack-sso-login-rtl.min.css',
+ 420 => 'modules/sso/jetpack-sso-login.css',
+ 421 => 'modules/sso/jetpack-sso-login.js',
+ 422 => 'modules/sso/jetpack-sso-login.min.css',
+ 423 => 'modules/subscriptions/subscriptions.css',
+ 424 => 'modules/theme-tools/compat/twentyfifteen-rtl.css',
+ 425 => 'modules/theme-tools/compat/twentyfifteen.css',
+ 426 => 'modules/theme-tools/compat/twentyfourteen-rtl.css',
+ 427 => 'modules/theme-tools/compat/twentyfourteen.css',
+ 428 => 'modules/theme-tools/compat/twentynineteen-rtl.css',
+ 429 => 'modules/theme-tools/compat/twentynineteen.css',
+ 430 => 'modules/theme-tools/compat/twentysixteen-rtl.css',
+ 431 => 'modules/theme-tools/compat/twentysixteen.css',
+ 432 => 'modules/theme-tools/compat/twentytwenty-rtl.css',
+ 433 => 'modules/theme-tools/compat/twentytwenty.css',
+ 434 => 'modules/theme-tools/compat/twentytwentyone-rtl.css',
+ 435 => 'modules/theme-tools/compat/twentytwentyone.css',
+ 436 => 'modules/theme-tools/content-options/customizer.js',
+ 437 => 'modules/theme-tools/js/suggest.js',
+ 438 => 'modules/theme-tools/responsive-videos/responsive-videos.css',
+ 439 => 'modules/theme-tools/responsive-videos/responsive-videos.js',
+ 440 => 'modules/theme-tools/responsive-videos/responsive-videos.min.js',
+ 441 => 'modules/theme-tools/site-logo/js/site-logo-header-text.js',
+ 442 => 'modules/theme-tools/site-logo/js/site-logo-header-text.min.js',
+ 443 => 'modules/theme-tools/social-menu/social-menu.css',
+ 444 => 'modules/tiled-gallery/tiled-gallery/rtl/tiled-gallery-rtl.css',
+ 445 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery-rtl.css',
+ 446 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery.css',
+ 447 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery.js',
+ 448 => 'modules/videopress/css/editor-rtl.css',
+ 449 => 'modules/videopress/css/editor-rtl.min.css',
+ 450 => 'modules/videopress/css/editor.css',
+ 451 => 'modules/videopress/css/editor.min.css',
+ 452 => 'modules/videopress/css/videopress-editor-style-rtl.css',
+ 453 => 'modules/videopress/css/videopress-editor-style-rtl.min.css',
+ 454 => 'modules/videopress/css/videopress-editor-style.css',
+ 455 => 'modules/videopress/css/videopress-editor-style.min.css',
+ 456 => 'modules/videopress/js/editor-view.js',
+ 457 => 'modules/videopress/js/gutenberg-video-upload.js',
+ 458 => 'modules/videopress/js/media-video-widget-extensions.js',
+ 459 => 'modules/videopress/js/videopress-add-resumable-upload-support.js',
+ 460 => 'modules/videopress/js/videopress-plupload.js',
+ 461 => 'modules/videopress/js/videopress-token-bridge.js',
+ 462 => 'modules/videopress/js/videopress-uploader.js',
+ 463 => 'modules/videopress/videopress-admin-rtl.css',
+ 464 => 'modules/videopress/videopress-admin-rtl.min.css',
+ 465 => 'modules/videopress/videopress-admin.css',
+ 466 => 'modules/videopress/videopress-admin.min.css',
+ 467 => 'modules/widget-visibility/widget-conditions/rtl/widget-conditions-rtl.css',
+ 468 => 'modules/widget-visibility/widget-conditions/widget-conditions-rtl.css',
+ 469 => 'modules/widget-visibility/widget-conditions/widget-conditions-rtl.min.css',
+ 470 => 'modules/widget-visibility/widget-conditions/widget-conditions.css',
+ 471 => 'modules/widget-visibility/widget-conditions/widget-conditions.js',
+ 472 => 'modules/widget-visibility/widget-conditions/widget-conditions.min.css',
+ 473 => 'modules/widgets/authors/style.css',
+ 474 => 'modules/widgets/contact-info/contact-info-admin.js',
+ 475 => 'modules/widgets/contact-info/contact-info-map.css',
+ 476 => 'modules/widgets/customizer-controls.css',
+ 477 => 'modules/widgets/customizer-utils.js',
+ 478 => 'modules/widgets/eu-cookie-law/eu-cookie-law-admin.js',
+ 479 => 'modules/widgets/eu-cookie-law/eu-cookie-law.js',
+ 480 => 'modules/widgets/eu-cookie-law/style.css',
+ 481 => 'modules/widgets/facebook-likebox/style.css',
+ 482 => 'modules/widgets/flickr/style.css',
+ 483 => 'modules/widgets/gallery/css/admin-rtl.css',
+ 484 => 'modules/widgets/gallery/css/admin-rtl.min.css',
+ 485 => 'modules/widgets/gallery/css/admin.css',
+ 486 => 'modules/widgets/gallery/css/admin.min.css',
+ 487 => 'modules/widgets/gallery/css/rtl/admin-rtl.css',
+ 488 => 'modules/widgets/gallery/js/admin.js',
+ 489 => 'modules/widgets/gallery/js/gallery.js',
+ 490 => 'modules/widgets/goodreads/css/goodreads.css',
+ 491 => 'modules/widgets/goodreads/css/rtl/goodreads-rtl.css',
+ 492 => 'modules/widgets/google-translate/google-translate.js',
+ 493 => 'modules/widgets/gravatar-profile.css',
+ 494 => 'modules/widgets/image-widget/style.css',
+ 495 => 'modules/widgets/instagram/instagram.css',
+ 496 => 'modules/widgets/milestone/admin.js',
+ 497 => 'modules/widgets/milestone/milestone-widget.css',
+ 498 => 'modules/widgets/milestone/milestone.js',
+ 499 => 'modules/widgets/milestone/style-admin.css',
+ 500 => 'modules/widgets/my-community/style.css',
+ 501 => 'modules/widgets/simple-payments/customizer.css',
+ 502 => 'modules/widgets/simple-payments/customizer.js',
+ 503 => 'modules/widgets/simple-payments/style.css',
+ 504 => 'modules/widgets/social-icons/social-icons-admin.css',
+ 505 => 'modules/widgets/social-icons/social-icons-admin.js',
+ 506 => 'modules/widgets/social-icons/social-icons.css',
+ 507 => 'modules/widgets/social-media-icons/style.css',
+ 508 => 'modules/widgets/top-posts/style.css',
+ 509 => 'modules/widgets/twitter-timeline-admin.js',
+ 510 => 'modules/widgets/wordpress-post-widget/style.css',
+ 511 => 'modules/wordads/css/style.css',
+ 512 => 'modules/wordads/js/wordads-ccpa.js',
+ 513 => 'modules/wpgroho.js',
);
diff --git a/plugins/jetpack/modules/post-by-email/post-by-email-rtl.css b/plugins/jetpack/modules/post-by-email/post-by-email-rtl.css
index 46768086..ae71babf 100644
--- a/plugins/jetpack/modules/post-by-email/post-by-email-rtl.css
+++ b/plugins/jetpack/modules/post-by-email/post-by-email-rtl.css
@@ -1,7 +1,7 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
#jp-pbe-error {
- display: none;
+ display: none;
}
+
#post-by-email:target .jetpack-inline-message {
- background-color: #fff;
+ background-color: #fff;
}
diff --git a/plugins/jetpack/modules/post-by-email/post-by-email.min.css b/plugins/jetpack/modules/post-by-email/post-by-email.min.css
index bfb7b63f..a4e020bb 100644
--- a/plugins/jetpack/modules/post-by-email/post-by-email.min.css
+++ b/plugins/jetpack/modules/post-by-email/post-by-email.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
#jp-pbe-error{display:none}#post-by-email:target .jetpack-inline-message{background-color:#fff} \ No newline at end of file
diff --git a/plugins/jetpack/modules/protect.php b/plugins/jetpack/modules/protect.php
index bcbaf94c..e0073001 100644
--- a/plugins/jetpack/modules/protect.php
+++ b/plugins/jetpack/modules/protect.php
@@ -1,6 +1,6 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
- * Module Name: Protect
+ * Module Name: Brute force protection
* Module Description: Enabling brute force protection will prevent bots and hackers from attempting to log in to your website with common username and password combinations.
* Sort Order: 1
* Recommendation Order: 4
@@ -15,20 +15,93 @@
use Automattic\Jetpack\Constants;
-include_once JETPACK__PLUGIN_DIR . 'modules/protect/shared-functions.php';
+require_once JETPACK__PLUGIN_DIR . 'modules/protect/shared-functions.php';
+/**
+ * Jetpack project module class.
+ */
class Jetpack_Protect_Module {
- private static $__instance = null;
+ /**
+ * Instance of the class.
+ *
+ * @var Jetpack_Protect_Module()
+ */
+ private static $instance = null;
+
+ /**
+ * API Key.
+ *
+ * @var string
+ */
public $api_key;
+
+ /**
+ * API Key error.
+ *
+ * @var string
+ */
public $api_key_error;
+
+ /**
+ * Whitelisted ips
+ *
+ * @var array
+ */
public $whitelist;
+
+ /**
+ * Whitelist error.
+ *
+ * @var string
+ */
public $whitelist_error;
+
+ /**
+ * Whitelist saved
+ *
+ * @todo find out if this is even used.
+ *
+ * @var array
+ */
public $whitelist_saved;
+
+ /**
+ * The URI.
+ *
+ * @var string
+ */
private $local_host;
+
+ /**
+ * Last request.
+ *
+ * @todo find out if this is even used.
+ *
+ * @var string
+ */
public $last_request;
+
+ /**
+ * Response fetched from wp_remote_post()
+ *
+ * @var array
+ */
public $last_response_raw;
+
+ /**
+ * Last response.
+ *
+ * @todo find out if this is used.
+ * @var array
+ */
public $last_response;
+
+ /**
+ * Block login with math, default is 1.
+ *
+ * @var int
+ */
private $block_login_with_math;
/**
@@ -37,53 +110,53 @@ class Jetpack_Protect_Module {
* @return object
*/
public static function instance() {
- if ( ! is_a( self::$__instance, 'Jetpack_Protect_Module' ) ) {
- self::$__instance = new Jetpack_Protect_Module();
+ if ( ! is_a( self::$instance, 'Jetpack_Protect_Module' ) ) {
+ self::$instance = new Jetpack_Protect_Module();
}
- return self::$__instance;
+ return self::$instance;
}
/**
* Registers actions
*/
private function __construct() {
- add_action( 'jetpack_activate_module_protect', array ( $this, 'on_activation' ) );
- add_action( 'jetpack_deactivate_module_protect', array ( $this, 'on_deactivation' ) );
- add_action( 'jetpack_modules_loaded', array ( $this, 'modules_loaded' ) );
- add_action( 'login_form', array ( $this, 'check_use_math' ), 0 );
- add_filter( 'authenticate', array ( $this, 'check_preauth' ), 10, 3 );
- add_action( 'wp_login', array ( $this, 'log_successful_login' ), 10, 2 );
- add_action( 'wp_login_failed', array ( $this, 'log_failed_attempt' ) );
- add_action( 'admin_init', array ( $this, 'maybe_update_headers' ) );
- add_action( 'admin_init', array ( $this, 'maybe_display_security_warning' ) );
+ add_action( 'jetpack_activate_module_protect', array( $this, 'on_activation' ) );
+ add_action( 'jetpack_deactivate_module_protect', array( $this, 'on_deactivation' ) );
+ add_action( 'jetpack_modules_loaded', array( $this, 'modules_loaded' ) );
+ add_action( 'login_form', array( $this, 'check_use_math' ), 0 );
+ add_filter( 'authenticate', array( $this, 'check_preauth' ), 10, 3 );
+ add_action( 'wp_login', array( $this, 'log_successful_login' ), 10, 2 );
+ add_action( 'wp_login_failed', array( $this, 'log_failed_attempt' ) );
+ add_action( 'admin_init', array( $this, 'maybe_update_headers' ) );
+ add_action( 'admin_init', array( $this, 'maybe_display_security_warning' ) );
- // This is a backup in case $pagenow fails for some reason
- add_action( 'login_form', array ( $this, 'check_login_ability' ), 1 );
+ // This is a backup in case $pagenow fails for some reason.
+ add_action( 'login_form', array( $this, 'check_login_ability' ), 1 );
- // Load math fallback after math page form submission
- if ( isset( $_POST[ 'jetpack_protect_process_math_form' ] ) ) {
- include_once dirname( __FILE__ ) . '/protect/math-fallback.php';
- new Jetpack_Protect_Math_Authenticate;
+ // Load math fallback after math page form submission.
+ if ( isset( $_POST['jetpack_protect_process_math_form'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- POST request just determines if we need to use Math for Authentication.
+ include_once __DIR__ . '/protect/math-fallback.php';
+ new Jetpack_Protect_Math_Authenticate();
}
// Runs a script every day to clean up expired transients so they don't
- // clog up our users' databases
- require_once( JETPACK__PLUGIN_DIR . '/modules/protect/transient-cleanup.php' );
+ // clog up our users' databases.
+ require_once JETPACK__PLUGIN_DIR . '/modules/protect/transient-cleanup.php';
}
/**
* On module activation, try to get an api key
*/
public function on_activation() {
- if ( is_multisite() && is_main_site() && get_site_option( 'jetpack_protect_active', 0 ) == 0 ) {
+ if ( is_multisite() && is_main_site() && get_site_option( 'jetpack_protect_active', 0 ) == 0 ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
update_site_option( 'jetpack_protect_active', 1 );
}
update_site_option( 'jetpack_protect_activating', 'activating' );
- // Get BruteProtect's counter number
- Jetpack_Protect_Module::protect_call( 'check_key' );
+ // Get BruteProtect's counter number.
+ self::protect_call( 'check_key' );
}
/**
@@ -95,6 +168,9 @@ class Jetpack_Protect_Module {
}
}
+ /**
+ * Get the protect key,
+ */
public function maybe_get_protect_key() {
if ( get_site_option( 'jetpack_protect_activating', false ) && ! get_site_option( 'jetpack_protect_key', false ) ) {
$key = $this->get_protect_key();
@@ -109,23 +185,25 @@ class Jetpack_Protect_Module {
* Sends a "check_key" API call once a day. This call allows us to track IP-related
* headers for this server via the Protect API, in order to better identify the source
* IP for login attempts
+ *
+ * @param bool $force - if we're forcing the request.
*/
public function maybe_update_headers( $force = false ) {
$updated_recently = $this->get_transient( 'jpp_headers_updated_recently' );
if ( ! $force ) {
- if ( isset( $_GET['protect_update_headers'] ) ) {
+ if ( isset( $_GET['protect_update_headers'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- this doesn't change anything, just forces the once-a-day check to run via force if set.
$force = true;
}
}
// check that current user is admin so we prevent a lower level user from adding
- // a trusted header, allowing them to brute force an admin account
+ // a trusted header, allowing them to brute force an admin account.
if ( ( $updated_recently && ! $force ) || ! current_user_can( 'update_plugins' ) ) {
return;
}
- $response = Jetpack_Protect_Module::protect_call( 'check_key' );
+ $response = self::protect_call( 'check_key' );
$this->set_transient( 'jpp_headers_updated_recently', 1, DAY_IN_SECONDS );
if ( isset( $response['msg'] ) && $response['msg'] ) {
@@ -134,10 +212,13 @@ class Jetpack_Protect_Module {
}
+ /**
+ * Handle discplaying a security warning.
+ */
public function maybe_display_security_warning() {
if ( is_multisite() && current_user_can( 'manage_network' ) ) {
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
+ require_once ABSPATH . '/wp-admin/includes/plugin.php';
}
if ( ! is_plugin_active_for_network( plugin_basename( JETPACK__PLUGIN_FILE ) ) ) {
@@ -147,15 +228,21 @@ class Jetpack_Protect_Module {
}
}
+ /**
+ * Handles preparing the multisite notice.
+ */
public function prepare_jetpack_protect_multisite_notice() {
$dismissed = get_site_option( 'jetpack_dismissed_protect_multisite_banner' );
if ( $dismissed ) {
return;
}
- add_action( 'admin_notices', array ( $this, 'admin_jetpack_manage_notice' ) );
+ add_action( 'admin_notices', array( $this, 'admin_jetpack_manage_notice' ) );
}
+ /**
+ * Handle dismissing the multisite banner.
+ */
public function ajax_dismiss_handler() {
check_ajax_referer( 'jetpack_protect_multisite_banner_opt_out' );
@@ -184,7 +271,7 @@ class Jetpack_Protect_Module {
<?php esc_html_e( 'View Network Admin', 'jetpack' ); ?>
</a>
<a class="button" href="<?php echo esc_url( __( 'https://jetpack.com/support/multisite-protect', 'jetpack' ) ); ?>" target="_blank">
- <?php esc_html_e( 'Learn More' ); ?>
+ <?php esc_html_e( 'Learn More', 'jetpack' ); ?>
</a>
</p>
</div>
@@ -198,9 +285,11 @@ class Jetpack_Protect_Module {
{
_wpnonce: $( event.delegateTarget ).data( 'dismiss-nonce' ),
}
- ).fail( function( error ) { <?php
+ ).fail( function( error ) {
+ <?php
// A failure here is really strange, and there's not really anything a site owner can do to fix one.
- // Just log the error for now to help debugging. ?>
+ // Just log the error for now to help debugging.
+ ?>
if ( 'function' === typeof error.done && '-1' === error.responseText ) {
console.error( 'Notice dismissal failed: check_ajax_referer' );
@@ -221,23 +310,23 @@ class Jetpack_Protect_Module {
*/
public function get_protect_key() {
- $protect_blog_id = Jetpack_Protect_Module::get_main_blog_jetpack_id();
+ $protect_blog_id = self::get_main_blog_jetpack_id();
// If we can't find the the blog id, that means we are on multisite, and the main site never connected
- // the protect api key is linked to the main blog id - instruct the user to connect their main blog
+ // the protect api key is linked to the main blog id - instruct the user to connect their main blog.
if ( ! $protect_blog_id ) {
$this->api_key_error = __( 'Your main blog is not connected to WordPress.com. Please connect to get an API key.', 'jetpack' );
return false;
}
- $request = array (
+ $request = array(
'jetpack_blog_id' => $protect_blog_id,
'bruteprotect_api_key' => get_site_option( 'bruteprotect_api_key' ),
'multisite' => '0',
);
- // Send the number of blogs on the network if we are on multisite
+ // Send the number of blogs on the network if we are on multisite.
if ( is_multisite() ) {
$request['multisite'] = get_blog_count();
if ( ! $request['multisite'] ) {
@@ -246,14 +335,15 @@ class Jetpack_Protect_Module {
}
}
- // Request the key
+ // Request the key.
$xml = new Jetpack_IXR_Client();
$xml->query( 'jetpack.protect.requestKey', $request );
- // Hmm, can't talk to wordpress.com
+ // Hmm, can't talk to wordpress.com.
if ( $xml->isError() ) {
- $code = $xml->getErrorCode();
- $message = $xml->getErrorMessage();
+ $code = $xml->getErrorCode();
+ $message = $xml->getErrorMessage();
+ // Translators: The xml error code, and the xml error message.
$this->api_key_error = sprintf( __( 'Error connecting to WordPress.com. Code: %1$s, %2$s', 'jetpack' ), $code, $message );
return false;
@@ -261,14 +351,14 @@ class Jetpack_Protect_Module {
$response = $xml->getResponse();
- // Hmm. Can't talk to the protect servers ( api.bruteprotect.com )
+ // Hmm, can't talk to the protect servers ( api.bruteprotect.com ).
if ( ! isset( $response['data'] ) ) {
$this->api_key_error = __( 'No reply from Jetpack servers', 'jetpack' );
return false;
}
- // There was an issue generating the key
+ // There was an issue generating the key.
if ( empty( $response['success'] ) ) {
$this->api_key_error = $response['data'];
@@ -278,8 +368,8 @@ class Jetpack_Protect_Module {
// Key generation successful!
$active_plugins = Jetpack::get_active_plugins();
- // We only want to deactivate BruteProtect if we successfully get a key
- if ( in_array( 'bruteprotect/bruteprotect.php', $active_plugins ) ) {
+ // We only want to deactivate BruteProtect if we successfully get a key.
+ if ( in_array( 'bruteprotect/bruteprotect.php', $active_plugins, true ) ) {
Jetpack_Client_Server::deactivate_plugin( 'bruteprotect/bruteprotect.php', 'BruteProtect' );
}
@@ -294,9 +384,10 @@ class Jetpack_Protect_Module {
*
* Fires custom, plugable action jpp_log_failed_attempt with the IP
*
+ * @param string $login_user - the user attempting to log in.
* @return void
*/
- function log_failed_attempt( $login_user = null ) {
+ public function log_failed_attempt( $login_user = null ) {
/**
* Fires before every failed login attempt.
@@ -314,16 +405,15 @@ class Jetpack_Protect_Module {
if ( isset( $_COOKIE['jpp_math_pass'] ) ) {
- $transient = $this->get_transient( 'jpp_math_pass_' . $_COOKIE['jpp_math_pass'] );
+ $transient = $this->get_transient( 'jpp_math_pass_' . sanitize_key( $_COOKIE['jpp_math_pass'] ) );
$transient--;
if ( ! $transient || $transient < 1 ) {
- $this->delete_transient( 'jpp_math_pass_' . $_COOKIE['jpp_math_pass'] );
- setcookie( 'jpp_math_pass', 0, time() - DAY_IN_SECONDS, COOKIEPATH, COOKIE_DOMAIN, false );
+ $this->delete_transient( 'jpp_math_pass_' . sanitize_key( $_COOKIE['jpp_math_pass'] ) );
+ setcookie( 'jpp_math_pass', 0, time() - DAY_IN_SECONDS, COOKIEPATH, COOKIE_DOMAIN, false, true );
} else {
- $this->set_transient( 'jpp_math_pass_' . $_COOKIE['jpp_math_pass'], $transient, DAY_IN_SECONDS );
+ $this->set_transient( 'jpp_math_pass_' . sanitize_key( $_COOKIE['jpp_math_pass'] ), $transient, DAY_IN_SECONDS );
}
-
}
$this->protect_call( 'failed_attempt' );
}
@@ -339,28 +429,30 @@ class Jetpack_Protect_Module {
* Logs a successful login back to our servers, this allows us to make sure we're not blocking
* a busy IP that has a lot of good logins along with some forgotten passwords. Also saves current user's ip
* to the ip address whitelist
+ *
+ * @param string $user_login - the user loggign in.
+ * @param string $user - the user.
*/
public function log_successful_login( $user_login, $user = null ) {
if ( ! $user ) { // For do_action( 'wp_login' ) calls that lacked passing the 2nd arg.
$user = get_user_by( 'login', $user_login );
}
- $this->protect_call( 'successful_login', array ( 'roles' => $user->roles ) );
+ $this->protect_call( 'successful_login', array( 'roles' => $user->roles ) );
}
-
/**
* Checks for loginability BEFORE authentication so that bots don't get to go around the log in form.
*
* If we are using our math fallback, authenticate via math-fallback.php
*
- * @param string $user
- * @param string $username
- * @param string $password
+ * @param string $user - the user.
+ * @param string $username - the username.
+ * @param string $password - the password.
*
* @return string $user
*/
- function check_preauth( $user = 'Not Used By Protect', $username = 'Not Used By Protect', $password = 'Not Used By Protect' ) {
+ public function check_preauth( $user = 'Not Used By Protect', $username = 'Not Used By Protect', $password = 'Not Used By Protect' ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$allow_login = $this->check_login_ability( true );
$use_math = $this->get_transient( 'brute_use_math' );
@@ -368,8 +460,8 @@ class Jetpack_Protect_Module {
$this->block_with_math();
}
- if ( ( 1 == $use_math || 1 == $this->block_login_with_math ) && isset( $_POST['log'] ) ) {
- include_once dirname( __FILE__ ) . '/protect/math-fallback.php';
+ if ( ( 1 == $use_math || 1 == $this->block_login_with_math ) && isset( $_POST['log'] ) ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual, WordPress.Security.NonceVerification.Missing -- POST request just determines if we use math authentication.
+ include_once __DIR__ . '/protect/math-fallback.php';
Jetpack_Protect_Math_Authenticate::math_authenticate();
}
@@ -381,9 +473,9 @@ class Jetpack_Protect_Module {
*
* @return array
*/
- function get_headers() {
+ public function get_headers() {
$output = array();
- $ip_related_headers = array (
+ $ip_related_headers = array(
'GD_PHP_HANDLER',
'HTTP_AKAMAI_ORIGIN_HOP',
'HTTP_CF_CONNECTING_IP',
@@ -400,41 +492,41 @@ class Jetpack_Protect_Module {
'HTTP_X_IP_TRAIL',
'HTTP_X_REAL_IP',
'HTTP_X_VARNISH',
- 'REMOTE_ADDR'
+ 'REMOTE_ADDR',
);
foreach ( $ip_related_headers as $header ) {
if ( ! empty( $_SERVER[ $header ] ) ) {
- $output[ $header ] = $_SERVER[ $header ];
+ $output[ $header ] = wp_unslash( $_SERVER[ $header ] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
}
}
return $output;
}
- /*
+ /**
* Checks if the IP address has been whitelisted
*
- * @param string $ip
+ * @param string $ip - the IP address.
*
* @return bool
*/
- function ip_is_whitelisted( $ip ) {
- // If we found an exact match in wp-config
- if ( defined( 'JETPACK_IP_ADDRESS_OK' ) && JETPACK_IP_ADDRESS_OK == $ip ) {
+ public function ip_is_whitelisted( $ip ) {
+ // If we found an exact match in wp-config.
+ if ( defined( 'JETPACK_IP_ADDRESS_OK' ) && JETPACK_IP_ADDRESS_OK === $ip ) {
return true;
}
$whitelist = jetpack_protect_get_local_whitelist();
if ( is_multisite() ) {
- $whitelist = array_merge( $whitelist, get_site_option( 'jetpack_protect_global_whitelist', array () ) );
+ $whitelist = array_merge( $whitelist, get_site_option( 'jetpack_protect_global_whitelist', array() ) );
}
if ( ! empty( $whitelist ) ) :
foreach ( $whitelist as $item ) :
- // If the IPs are an exact match
- if ( ! $item->range && isset( $item->ip_address ) && $item->ip_address == $ip ) {
+ // If the IPs are an exact match.
+ if ( ! $item->range && isset( $item->ip_address ) && $item->ip_address === $ip ) {
return true;
}
@@ -452,11 +544,11 @@ class Jetpack_Protect_Module {
/**
* Checks the status for a given IP. API results are cached as transients
*
- * @param bool $preauth Whether or not we are checking prior to authorization
+ * @param bool $preauth - Whether or not we are checking prior to authorization.
*
* @return bool Either returns true, fires $this->kill_login, or includes a math fallback and returns false
*/
- function check_login_ability( $preauth = false ) {
+ public function check_login_ability( $preauth = false ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
/**
* JETPACK_ALWAYS_PROTECT_LOGIN will always disable the login page, and use a page provided by Jetpack.
@@ -466,19 +558,19 @@ class Jetpack_Protect_Module {
}
if ( $this->is_current_ip_whitelisted() ) {
- return true;
- }
+ return true;
+ }
$status = $this->get_cached_status();
if ( empty( $status ) ) {
// If we've reached this point, this means that the IP isn't cached.
- // Now we check with the Protect API to see if we should allow login
- $response = $this->protect_call( $action = 'check_ip' );
+ // Now we check with the Protect API to see if we should allow login.
+ $response = $this->protect_call( $action = 'check_ip' ); // phpcs:ignore Squiz.PHP.DisallowMultipleAssignments.Found
if ( isset( $response['math'] ) && ! function_exists( 'brute_math_authenticate' ) ) {
- include_once dirname( __FILE__ ) . '/protect/math-fallback.php';
- new Jetpack_Protect_Math_Authenticate;
+ include_once __DIR__ . '/protect/math-fallback.php';
+ new Jetpack_Protect_Math_Authenticate();
return false;
}
@@ -486,21 +578,24 @@ class Jetpack_Protect_Module {
$status = $response['status'];
}
- if ( 'blocked' == $status ) {
+ if ( 'blocked' === $status ) {
$this->block_with_math();
}
- if ( 'blocked-hard' == $status ) {
+ if ( 'blocked-hard' === $status ) {
$this->kill_login();
}
return true;
}
- function is_current_ip_whitelisted() {
+ /**
+ * Check if IP is whitelisted.
+ */
+ public function is_current_ip_whitelisted() {
$ip = jetpack_protect_get_ip();
- // Server is misconfigured and we can't get an IP
+ // Server is misconfigured and we can't get an IP.
if ( ! $ip && class_exists( 'Jetpack' ) ) {
Jetpack::deactivate_module( 'protect' );
ob_start();
@@ -533,29 +628,38 @@ class Jetpack_Protect_Module {
if ( $this->ip_is_whitelisted( $ip ) ) {
return true;
}
- }
-
- function has_login_ability() {
- if ( $this->is_current_ip_whitelisted() ) {
- return true;
- }
- $status = $this->get_cached_status();
- if ( empty( $status ) || $status === 'ok' ) {
- return true;
- }
- return false;
- }
-
- function get_cached_status() {
- $transient_name = $this->get_transient_name();
- $value = $this->get_transient( $transient_name );
+ }
+
+ /**
+ * Check if someone is able to login based on IP.
+ */
+ public function has_login_ability() {
+ if ( $this->is_current_ip_whitelisted() ) {
+ return true;
+ }
+ $status = $this->get_cached_status();
+ if ( empty( $status ) || 'ok' === $status ) {
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * Check the status of the cached transient.
+ */
+ public function get_cached_status() {
+ $transient_name = $this->get_transient_name();
+ $value = $this->get_transient( $transient_name );
if ( isset( $value['status'] ) ) {
- return $value['status'];
- }
- return '';
+ return $value['status'];
+ }
+ return '';
}
- function block_with_math() {
+ /**
+ * Check if we need to block with a math question to continue logging in.
+ */
+ public function block_with_math() {
/**
* By default, Protect will allow a user who has been blocked for too
* many failed logins to start answering math questions to continue logging in
@@ -580,27 +684,27 @@ class Jetpack_Protect_Module {
* @param bool true Should we fallback to the Math questions when an IP is blocked. Default to true.
*/
$allow_math_fallback_on_fail = apply_filters( 'jpp_use_captcha_when_blocked', true );
- if ( ! $allow_math_fallback_on_fail ) {
+ if ( ! $allow_math_fallback_on_fail ) {
$this->kill_login();
}
- include_once dirname( __FILE__ ) . '/protect/math-fallback.php';
- new Jetpack_Protect_Math_Authenticate;
+ include_once __DIR__ . '/protect/math-fallback.php';
+ new Jetpack_Protect_Math_Authenticate();
return false;
}
- /*
+ /**
* Kill a login attempt
*/
- function kill_login() {
+ public function kill_login() {
if (
isset( $_GET['action'], $_GET['_wpnonce'] ) &&
'logout' === $_GET['action'] &&
- wp_verify_nonce( $_GET['_wpnonce'], 'log-out' ) &&
+ wp_verify_nonce( $_GET['_wpnonce'], 'log-out' ) && // phpcs:ignore WordPress.Security.ValidatedSanitizedInput
wp_get_current_user()
) {
- // Allow users to logout
+ // Allow users to logout.
return;
}
@@ -616,16 +720,17 @@ class Jetpack_Protect_Module {
*/
do_action( 'jpp_kill_login', $ip );
- if( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) {
+ if ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) {
+ // translators: variable is the IP address that was flagged.
$die_string = sprintf( __( 'Your IP (%1$s) has been flagged for potential security violations.', 'jetpack' ), str_replace( 'http://', '', esc_url( 'http://' . $ip ) ) );
wp_die(
- $die_string,
- __( 'Login Blocked by Jetpack', 'jetpack' ),
- array ( 'response' => 403 )
+ $die_string, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- esc_url used when forming string.
+ esc_html__( 'Login Blocked by Jetpack', 'jetpack' ),
+ array( 'response' => 403 )
);
}
- require_once dirname( __FILE__ ) . '/protect/blocked-login-page.php';
+ require_once __DIR__ . '/protect/blocked-login-page.php';
$blocked_login_page = Jetpack_Protect_Blocked_Login_Page::instance( $ip );
if ( $blocked_login_page->is_blocked_user_valid() ) {
@@ -635,14 +740,14 @@ class Jetpack_Protect_Module {
$blocked_login_page->render_and_die();
}
- /*
+ /**
* Checks if the protect API call has failed, and if so initiates the math captcha fallback.
*/
public function check_use_math() {
$use_math = $this->get_transient( 'brute_use_math' );
if ( $use_math ) {
- include_once dirname( __FILE__ ) . '/protect/math-fallback.php';
- new Jetpack_Protect_Math_Authenticate;
+ include_once __DIR__ . '/protect/math-fallback.php';
+ new Jetpack_Protect_Math_Authenticate();
}
}
@@ -679,6 +784,9 @@ class Jetpack_Protect_Module {
return $id;
}
+ /**
+ * Checks the API key.
+ */
public function check_api_key() {
$response = $this->protect_call( 'check_key' );
@@ -688,11 +796,11 @@ class Jetpack_Protect_Module {
if ( isset( $response['error'] ) ) {
- if ( $response['error'] == 'Invalid API Key' ) {
+ if ( 'Invalid API Key' === $response['error'] ) {
$this->api_key_error = __( 'Your API key is invalid', 'jetpack' );
}
- if ( $response['error'] == 'API Key Required' ) {
+ if ( 'API Key Required' === $response['error'] ) {
$this->api_key_error = __( 'No API key', 'jetpack' );
}
}
@@ -705,12 +813,12 @@ class Jetpack_Protect_Module {
/**
* Calls over to the api using wp_remote_post
*
- * @param string $action 'check_ip', 'check_key', or 'failed_attempt'
- * @param array $request Any custom data to post to the api
+ * @param string $action - 'check_ip', 'check_key', or 'failed_attempt'.
+ * @param array $request - Any custom data to post to the api.
*
* @return array
*/
- function protect_call( $action = 'check_ip', $request = array () ) {
+ public function protect_call( $action = 'check_ip', $request = array() ) {
global $wp_version;
$api_key = $this->maybe_get_protect_key();
@@ -720,17 +828,16 @@ class Jetpack_Protect_Module {
$request['action'] = $action;
$request['ip'] = jetpack_protect_get_ip();
$request['host'] = $this->get_local_host();
- $request['headers'] = json_encode( $this->get_headers() );
+ $request['headers'] = wp_json_encode( $this->get_headers() );
$request['jetpack_version'] = constant( 'JETPACK__VERSION' );
- $request['wordpress_version'] = (string) $wp_version ;
+ $request['wordpress_version'] = (string) $wp_version;
$request['api_key'] = $api_key;
- $request['multisite'] = "0";
+ $request['multisite'] = '0';
if ( is_multisite() ) {
$request['multisite'] = get_blog_count();
}
-
/**
* Filter controls maximum timeout in waiting for reponse from Protect servers.
*
@@ -742,11 +849,11 @@ class Jetpack_Protect_Module {
*/
$timeout = apply_filters( 'jetpack_protect_connect_timeout', 30 );
- $args = array (
+ $args = array(
'body' => $request,
'user-agent' => $user_agent,
'httpversion' => '1.0',
- 'timeout' => absint( $timeout )
+ 'timeout' => absint( $timeout ),
);
$response_json = wp_remote_post( JETPACK_PROTECT__API_HOST, $args );
@@ -767,7 +874,7 @@ class Jetpack_Protect_Module {
$response['expire'] = time() + $response['seconds_remaining'];
$this->set_transient( $transient_name, $response, $response['seconds_remaining'] );
$this->delete_transient( 'brute_use_math' );
- } else { // Fallback to Math Captcha if no response from API host
+ } else { // Fallback to Math Captcha if no response from API host.
$this->set_transient( 'brute_use_math', 1, 600 );
$response['status'] = 'ok';
$response['math'] = true;
@@ -782,9 +889,12 @@ class Jetpack_Protect_Module {
return $response;
}
- function get_transient_name() {
+ /**
+ * Gets the transient name.
+ */
+ public function get_transient_name() {
$headers = $this->get_headers();
- $header_hash = md5( json_encode( $headers ) );
+ $header_hash = md5( wp_json_encode( $headers ) );
return 'jpp_li_' . $header_hash;
}
@@ -799,13 +909,13 @@ class Jetpack_Protect_Module {
*
* @param string $transient Transient name. Expected to not be SQL-escaped. Must be
* 45 characters or fewer in length.
- * @param mixed $value Transient value. Must be serializable if non-scalar.
- * Expected to not be SQL-escaped.
- * @param int $expiration Optional. Time until expiration in seconds. Default 0.
+ * @param mixed $value Transient value. Must be serializable if non-scalar.
+ * Expected to not be SQL-escaped.
+ * @param int $expiration Optional. Time until expiration in seconds. Default 0.
*
* @return bool False if value was not set and true if value was set.
*/
- function set_transient( $transient, $value, $expiration ) {
+ public function set_transient( $transient, $value, $expiration ) {
if ( is_multisite() && ! is_main_site() ) {
switch_to_blog( $this->get_main_blog_id() );
$return = set_transient( $transient, $value, $expiration );
@@ -825,7 +935,7 @@ class Jetpack_Protect_Module {
*
* @return bool true if successful, false otherwise
*/
- function delete_transient( $transient ) {
+ public function delete_transient( $transient ) {
if ( is_multisite() && ! is_main_site() ) {
switch_to_blog( $this->get_main_blog_id() );
$return = delete_transient( $transient );
@@ -845,7 +955,7 @@ class Jetpack_Protect_Module {
*
* @return mixed Value of transient.
*/
- function get_transient( $transient ) {
+ public function get_transient( $transient ) {
if ( is_multisite() && ! is_main_site() ) {
switch_to_blog( $this->get_main_blog_id() );
$return = get_transient( $transient );
@@ -857,12 +967,15 @@ class Jetpack_Protect_Module {
return get_transient( $transient );
}
- function get_local_host() {
+ /**
+ * Returns the local host.
+ */
+ public function get_local_host() {
if ( isset( $this->local_host ) ) {
return $this->local_host;
}
- $uri = 'http://' . strtolower( $_SERVER['HTTP_HOST'] );
+ $uri = 'http://' . strtolower( isset( $_SERVER['HTTP_HOST'] ) ? filter_var( wp_unslash( $_SERVER['HTTP_HOST'] ) ) : '' );
if ( is_multisite() ) {
$uri = network_home_url();
@@ -872,7 +985,7 @@ class Jetpack_Protect_Module {
$domain = $uridata['host'];
- // If we still don't have the site_url, get it
+ // If we still don't have the site_url, get it.
if ( ! $domain ) {
$uri = get_site_url( 1 );
$uridata = wp_parse_url( $uri );
diff --git a/plugins/jetpack/modules/protect/blocked-login-page.php b/plugins/jetpack/modules/protect/blocked-login-page.php
index f6789e4b..70778987 100644
--- a/plugins/jetpack/modules/protect/blocked-login-page.php
+++ b/plugins/jetpack/modules/protect/blocked-login-page.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore - WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Connection\Client;
use Automattic\Jetpack\Redirect;
@@ -10,15 +10,42 @@ use Automattic\Jetpack\Redirect;
* is available, or during the login_head hook.
*
* Class will only be instanciated if Protect has detected a hard blocked IP address.
- *
- *
*/
class Jetpack_Protect_Blocked_Login_Page {
- private static $__instance = null;
+ /**
+ * Instance of the class.
+ *
+ * @var Jetpack_Protect_Blocked_Login_Page
+ */
+ private static $instance = null;
+
+ /**
+ * Can send recovery emails. defaults to true.
+ *
+ * @var bool
+ */
public $can_send_recovery_emails;
+
+ /**
+ * The IP address.
+ *
+ * @var string
+ */
public $ip_address;
+
+ /**
+ * Valid blocked user ID.
+ *
+ * @var int
+ */
public $valid_blocked_user_id;
+
+ /**
+ * The email address.
+ *
+ * @var string
+ */
public $email_address;
/**
@@ -29,24 +56,30 @@ class Jetpack_Protect_Blocked_Login_Page {
*
* @var string string $HELP_URL
*/
- const HELP_URL = 'https://jetpack.com/support/security-features/#unblock';
+ const HELP_URL = 'https://jetpack.com/support/security-features/#unblock';
const HTTP_STATUS_CODE_TOO_MANY_REQUESTS = 429;
/**
* Singleton implementation
*
+ * @param string $ip_address - the IP address.
+ *
* @return object
*/
public static function instance( $ip_address ) {
- if ( ! is_a( self::$__instance, 'Jetpack_Protect_Blocked_Login_Page' ) ) {
- self::$__instance = new Jetpack_Protect_Blocked_Login_Page( $ip_address );
+ if ( ! is_a( self::$instance, 'Jetpack_Protect_Blocked_Login_Page' ) ) {
+ self::$instance = new Jetpack_Protect_Blocked_Login_Page( $ip_address );
}
- return self::$__instance;
+ return self::$instance;
}
-
- function __construct( $ip_address ) {
+ /**
+ * Singleton implementation
+ *
+ * @param string $ip_address - the IP address.
+ */
+ public function __construct( $ip_address ) {
/**
* Filter controls if an email recovery form is shown to blocked IPs.
*
@@ -81,13 +114,18 @@ class Jetpack_Protect_Blocked_Login_Page {
return Redirect::get_url( 'jetpack-support-security-features', array( 'anchor' => 'unblock' ) );
}
+ /**
+ * Add arguments to lost password redirect url.
+ *
+ * @param string $url - the URL.
+ */
public function add_args_to_lostpassword_redirect_url( $url ) {
if ( $this->valid_blocked_user_id ) {
$url = empty( $url ) ? wp_login_url() : $url;
$url = add_query_arg(
array(
- 'validate_jetpack_protect_recovery' => $_GET['validate_jetpack_protect_recovery'],
- 'user_id' => $_GET['user_id'],
+ 'validate_jetpack_protect_recovery' => isset( $_GET['validate_jetpack_protect_recovery'] ) ? filter_var( wp_unslash( $_GET['validate_jetpack_protect_recovery'] ) ) : null, // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nothing on the site is changed in response to this request.
+ 'user_id' => isset( $_GET['user_id'] ) ? (int) $_GET['user_id'] : null, // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nothing on the site is changed in response to this request.
'checkemail' => 'confirm',
),
$url
@@ -97,11 +135,17 @@ class Jetpack_Protect_Blocked_Login_Page {
return $url;
}
+ /**
+ * Add arguments to lost password redirect url.
+ *
+ * @param string $url - the URL.
+ * @param string $redirect - where to redirect to.
+ */
public function add_args_to_lostpassword_url( $url, $redirect ) {
if ( $this->valid_blocked_user_id ) {
$args = array(
- 'validate_jetpack_protect_recovery' => $_GET['validate_jetpack_protect_recovery'],
- 'user_id' => $_GET['user_id'],
+ 'validate_jetpack_protect_recovery' => isset( $_GET['validate_jetpack_protect_recovery'] ) ? filter_var( wp_unslash( $_GET['validate_jetpack_protect_recovery'] ) ) : null, // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nothing on the site is changed in response to this request.
+ 'user_id' => isset( $_GET['user_id'] ) ? (int) $_GET['user_id'] : null, // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nothing on the site is changed in response to this request.
'action' => 'lostpassword',
);
if ( ! empty( $redirect ) ) {
@@ -113,12 +157,19 @@ class Jetpack_Protect_Blocked_Login_Page {
return $url;
}
+ /**
+ * Add arguments to login post url.
+ *
+ * @param string $url - the URL.
+ * @param string $path - the path.
+ * @param string $scheme -the scheme(?).
+ */
public function add_args_to_login_post_url( $url, $path, $scheme ) {
if ( $this->valid_blocked_user_id && ( 'login_post' === $scheme || 'login' === $scheme ) ) {
$url = add_query_arg(
array(
- 'validate_jetpack_protect_recovery' => $_GET['validate_jetpack_protect_recovery'],
- 'user_id' => $_GET['user_id'],
+ 'validate_jetpack_protect_recovery' => isset( $_GET['validate_jetpack_protect_recovery'] ) ? filter_var( wp_unslash( $_GET['validate_jetpack_protect_recovery'] ) ) : null, // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nothing on the site is changed in response to this request.
+ 'user_id' => isset( $_GET['user_id'] ) ? (int) $_GET['user_id'] : null, // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nothing on the site is changed in response to this request.
),
$url
);
@@ -128,11 +179,18 @@ class Jetpack_Protect_Blocked_Login_Page {
return $url;
}
+ /**
+ * Add arguments to login post url.
+ *
+ * @param string $url - the URL.
+ * @param string $redirect - where we want to redirect to.
+ * @param string $force_reauth -if we're forcing reauthorization.
+ */
public function add_args_to_login_url( $url, $redirect, $force_reauth ) {
if ( $this->valid_blocked_user_id ) {
$args = array(
- 'validate_jetpack_protect_recovery' => $_GET['validate_jetpack_protect_recovery'],
- 'user_id' => $_GET['user_id'],
+ 'validate_jetpack_protect_recovery' => isset( $_GET['validate_jetpack_protect_recovery'] ) ? filter_var( wp_unslash( $_GET['validate_jetpack_protect_recovery'] ) ) : null, // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nothing on the site is changed in response to this request.
+ 'user_id' => isset( $_GET['user_id'] ) ? (int) $_GET['user_id'] : null, // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nothing on the site is changed in response to this request.
);
if ( ! empty( $redirect ) ) {
@@ -148,14 +206,22 @@ class Jetpack_Protect_Blocked_Login_Page {
return $url;
}
+ /**
+ * Check if user is blocked.
+ *
+ * @param string $user - the user.
+ */
public function check_valid_blocked_user( $user ) {
- if ( $this->valid_blocked_user_id && $this->valid_blocked_user_id != $user->ID ) {
+ if ( $this->valid_blocked_user_id && $this->valid_blocked_user_id != $user->ID ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
return new WP_Error( 'invalid_recovery_token', __( 'The recovery token is not valid for this user.', 'jetpack' ) );
}
return $user;
}
+ /**
+ * Check if user is valid.
+ */
public function is_blocked_user_valid() {
if ( ! $this->can_send_recovery_emails ) {
return false;
@@ -165,19 +231,25 @@ class Jetpack_Protect_Blocked_Login_Page {
return true;
}
- if ( ! isset( $_GET['validate_jetpack_protect_recovery'], $_GET['user_id'] ) ) {
+ if ( ! isset( $_GET['validate_jetpack_protect_recovery'], $_GET['user_id'] ) ) { // phpcs:ignore: WordPress.Security.NonceVerification.Recommended -- no changes made if this isn't set.
return false;
}
- if ( ! $this->is_valid_protect_recovery_key( $_GET['validate_jetpack_protect_recovery'], $_GET['user_id'] ) ) {
+ if ( ! $this->is_valid_protect_recovery_key( filter_var( wp_unslash( $_GET['validate_jetpack_protect_recovery'] ) ), (int) $_GET['user_id'] ) ) { // phpcs:ignore: WordPress.Security.NonceVerification.Recommended -- no changes made if this isn't set.
return false;
}
- $this->valid_blocked_user_id = (int) $_GET['user_id'];
+ $this->valid_blocked_user_id = (int) $_GET['user_id']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nothing on the site is changed in response to this request.
return true;
}
+ /**
+ * Checks if recovery key is valid.
+ *
+ * @param string $key - they recovery key.
+ * @param string $user_id - the User ID.
+ */
public function is_valid_protect_recovery_key( $key, $user_id ) {
$path = sprintf( '/sites/%d/protect/recovery/confirm', Jetpack::get_option( 'id' ) );
@@ -185,7 +257,7 @@ class Jetpack_Protect_Blocked_Login_Page {
$path,
'1.1',
array(
- 'method' => 'post'
+ 'method' => 'post',
),
array(
'token' => $key,
@@ -203,6 +275,9 @@ class Jetpack_Protect_Blocked_Login_Page {
return true;
}
+ /**
+ * Check if we should render the recovery form.
+ */
public function render_and_die() {
if ( ! $this->can_send_recovery_emails ) {
$this->render_blocked_login_message();
@@ -210,7 +285,7 @@ class Jetpack_Protect_Blocked_Login_Page {
return;
}
- if ( isset( $_GET['validate_jetpack_protect_recovery'] ) && $_GET['user_id'] ) {
+ if ( isset( $_GET['validate_jetpack_protect_recovery'] ) && ! empty( $_GET['user_id'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no site changes, just throws invalid token error.
$error = new WP_Error( 'invalid_token', __( "Oops, we couldn't validate the recovery token.", 'jetpack' ) );
$this->protect_die( $error );
@@ -220,7 +295,7 @@ class Jetpack_Protect_Blocked_Login_Page {
if (
isset( $_GET['jetpack-protect-recovery'] ) &&
isset( $_POST['_wpnonce'] ) &&
- wp_verify_nonce( $_POST['_wpnonce'], 'bypass-protect' )
+ wp_verify_nonce( $_POST['_wpnonce'], 'bypass-protect' ) // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- WP Core doesn't unstrip or sanitize nonces either.
) {
$this->process_recovery_email();
@@ -234,25 +309,34 @@ class Jetpack_Protect_Blocked_Login_Page {
$this->render_recovery_form();
}
+ /**
+ * Render the blocked login message.
+ */
public function render_blocked_login_message() {
$this->protect_die( $this->get_html_blocked_login_message() );
}
- function process_recovery_email() {
- $sent = $this->send_recovery_email();
+ /**
+ * Process sending a recovery email.
+ */
+ public function process_recovery_email() {
+ $sent = $this->send_recovery_email();
$show_recovery_form = true;
if ( is_wp_error( $sent ) ) {
if ( 'email_already_sent' === $sent->get_error_code() ) {
$show_recovery_form = false;
}
- $this->protect_die( $sent,null,true, $show_recovery_form );
+ $this->protect_die( $sent, null, true, $show_recovery_form );
} else {
$this->render_recovery_success();
}
}
- function send_recovery_email() {
- $email = isset( $_POST['email'] ) ? $_POST['email'] : '';
+ /**
+ * Send the recovery form.
+ */
+ public function send_recovery_email() {
+ $email = isset( $_POST['email'] ) ? wp_unslash( $_POST['email'] ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- only triggered after bypass-protect nonce check is done, and sanitization is checked on the next line.
if ( sanitize_email( $email ) !== $email || ! is_email( $email ) ) {
return new WP_Error( 'invalid_email', __( "Oops, looks like that's not the right email address. Please try again!", 'jetpack' ) );
}
@@ -264,16 +348,15 @@ class Jetpack_Protect_Blocked_Login_Page {
$this->email_address = $email;
$path = sprintf( '/sites/%d/protect/recovery/request', Jetpack::get_option( 'id' ) );
-
$response = Client::wpcom_json_api_request_as_blog(
$path,
'1.1',
array(
- 'method' => 'post'
+ 'method' => 'post',
),
array(
'user_id' => $user->ID,
- 'ip' => $this->ip_address
+ 'ip' => $this->ip_address,
)
);
@@ -281,65 +364,87 @@ class Jetpack_Protect_Blocked_Login_Page {
$result = json_decode( wp_remote_retrieve_body( $response ) );
if ( self::HTTP_STATUS_CODE_TOO_MANY_REQUESTS === $code ) {
+ // translators: email address the recovery instructions were sent to.
return new WP_Error( 'email_already_sent', sprintf( __( 'Recovery instructions were sent to %s. Check your inbox!', 'jetpack' ), $this->email_address ) );
- } else if ( is_wp_error( $result ) || empty( $result ) || isset( $result->error ) ) {
+ } elseif ( is_wp_error( $result ) || empty( $result ) || isset( $result->error ) ) {
return new WP_Error( 'email_send_error', __( 'Oops, we were unable to send a recovery email. Try again.', 'jetpack' ) );
}
return true;
}
- function protect_die( $content, $title = null, $back_link = false, $recovery_form = false ) {
+ /**
+ * Prevent login by locking the login page.
+ *
+ * @param string $content - the content of the page.
+ * @param string $title - the page title.
+ * @param string $back_link - the back link.
+ * @param string $recovery_form - the recovery form.
+ */
+ public function protect_die( $content, $title = null, $back_link = false, $recovery_form = false ) {
if ( empty( $title ) ) {
$title = __( 'Jetpack has locked your site\'s login page.', 'jetpack' );
}
if ( is_wp_error( $content ) ) {
- $svg = '<svg class="gridicon gridicons-notice" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><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-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"/></g></svg>';
- $content = '<span class="error"> '. $svg . $content->get_error_message() . '</span>';
+ $svg = '<svg class="gridicon gridicons-notice" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><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-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"/></g></svg>';
+ $content = '<span class="error"> ' . $svg . $content->get_error_message() . '</span>';
}
- $content = '<p>'. $content .'</p>';
+ $content = '<p>' . $content . '</p>';
// If for some reason the login pop up box show up in the wp-admin.
- if ( isset( $_GET['interim-login'] ) ) {
- $content = "<style>html{ background-color: #fff; } #error-message { margin:0 auto; padding: 1em; box-shadow: none; } </style>" . $content;
+ if ( isset( $_GET['interim-login'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- no changes to the site itself, just rendering an error message.
+ $content = '<style>html{ background-color: #fff; } #error-message { margin:0 auto; padding: 1em; box-shadow: none; } </style>' . $content;
}
$this->display_page( $title, $content, $back_link, $recovery_form );
}
- function render_recovery_form() {
+ /**
+ * Render the recovery form.
+ */
+ public function render_recovery_form() {
$content = $this->get_html_blocked_login_message();
$this->protect_die( $content, null, null, true );
}
- function render_recovery_success() {
+ /**
+ * Render the recovery instructions.
+ */
+ public function render_recovery_success() {
+ // translators: the email address the recovery email was sent to.
$this->protect_die( sprintf( __( 'Recovery instructions were sent to %s. Check your inbox!', 'jetpack' ), $this->email_address ) );
}
-
- function get_html_blocked_login_message() {
+ /**
+ * Get the HTML for the blocked login message.
+ */
+ public function get_html_blocked_login_message() {
$icon = '<svg class="gridicon gridicons-spam" style="fill:#d94f4f" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M17 2H7L2 7v10l5 5h10l5-5V7l-5-5zm-4 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"/></g></svg>';
- $ip = str_replace( 'http://', '', esc_url( 'http://' . $this->ip_address ) );
+ $ip = str_replace( 'http://', '', esc_url( 'http://' . $this->ip_address ) );
return sprintf(
- __( '<p>Your IP address <code>%2$s</code> has been flagged for potential security violations. You can unlock your login by sending yourself a special link via email. <a href="%3$s">Learn More</a></p>', 'jetpack' ),
+ // translators: the IP address that was flagged.
+ __( '<p>Your IP address <code>%2$s</code> has been flagged for potential security violations. You can unlock your login by sending yourself a special link via email. <a href="%3$s">Learn More</a></p>', 'jetpack' ), // phpcs:ignore WordPress.WP.I18n.NoHtmlWrappedStrings
$icon,
$ip,
esc_url( self::get_help_url() )
);
}
- function get_html_recovery_form() {
+ /**
+ * Get the HTML recovery form.
+ */
+ public function get_html_recovery_form() {
ob_start(); ?>
- <div>
- <form method="post" action="?jetpack-protect-recovery=true">
- <?php echo wp_nonce_field( 'bypass-protect' ); ?>
- <p><label for="email"><?php esc_html_e( 'Your email', 'jetpack' ); ?><br/></label>
- <input type="email" name="email" class="text-input"/>
- <input type="submit" class="button"
- value="<?php esc_attr_e( 'Send email', 'jetpack' ); ?>"/>
- </p>
- </form>
- </div>
+ <div>
+ <form method="post" action="?jetpack-protect-recovery=true">
+ <?php wp_nonce_field( 'bypass-protect' ); ?>
+ <p><label for="email"><?php esc_html_e( 'Your email', 'jetpack' ); ?><br/></label>
+ <input type="email" name="email" class="text-input"/>
+ <input type="submit" class="button"
+ value="<?php esc_attr_e( 'Send email', 'jetpack' ); ?>"/>
+ </p>
+ </form>
+ </div>
<?php
$contents = ob_get_contents();
@@ -348,7 +453,15 @@ class Jetpack_Protect_Blocked_Login_Page {
return $contents;
}
- function display_page( $title, $message, $back_button = false, $recovery_form = false ) {
+ /**
+ * Display the page.
+ *
+ * @param string $title - the page title.
+ * @param string $message - the message we're sending.
+ * @param string $back_button - the back button.
+ * @param string $recovery_form - the recovery form.
+ */
+ public function display_page( $title, $message, $back_button = false, $recovery_form = false ) {
if ( ! headers_sent() ) {
nocache_headers();
@@ -361,11 +474,15 @@ class Jetpack_Protect_Blocked_Login_Page {
}
?>
<!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists( 'language_attributes' ) && function_exists( 'is_rtl' ) ) {
+ <html xmlns="http://www.w3.org/1999/xhtml"
+ <?php
+ if ( function_exists( 'language_attributes' ) && function_exists( 'is_rtl' ) ) {
language_attributes();
} else {
- echo "dir='$text_direction'";
- } ?>>
+ echo "dir='$text_direction'"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ }
+ ?>
+ >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width">
@@ -376,7 +493,7 @@ class Jetpack_Protect_Blocked_Login_Page {
echo "<meta name='robots' content='noindex,nofollow' />\n";
}
?>
- <title><?php echo $title ?></title>
+ <title><?php echo esc_html( $title ); ?></title>
<style type="text/css">
html {
background: #f6f6f6;
@@ -573,14 +690,14 @@ class Jetpack_Protect_Blocked_Login_Page {
}
<?php
$rtl_class = '';
- if ( 'rtl' == $text_direction ) {
+ if ( 'rtl' === $text_direction ) {
$rtl_class = 'class="is-rtl"';
echo 'body { font-family: Tahoma, Arial; }';
}
?>
</style>
</head>
- <body id="error-page" <?php echo $rtl_class; ?>>
+ <body id="error-page" <?php echo $rtl_class; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
<h1 id="error-title"><?php echo esc_html( $title ); ?></h1>
<div id="error-message">
<svg id="image" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 250 134">
@@ -608,10 +725,12 @@ class Jetpack_Protect_Blocked_Login_Page {
<path fill="#86A6BD" d="M48.1,121.4l2.9-6.2c0.3-0.6,0.2-1.3-0.3-1.8c-1-1-1.5-2.5-1.2-4c0.3-1.7,1.7-3.1,3.4-3.4 c2.9-0.6,5.4,1.6,5.4,4.4c0,1.2-0.5,2.3-1.3,3.1c-0.5,0.5-0.6,1.2-0.3,1.8l2.9,6.2c0.1,0.2-0.1,0.5-0.3,0.5H48.4 C48.1,121.9,48,121.6,48.1,121.4"/>
</svg>
- <?php echo $message; ?>
- <?php if ( $recovery_form ) {
- echo $this->get_html_recovery_form();
- } ?>
+ <?php echo $message; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- message includes HTML that's marked up ourselves. ?>
+ <?php
+ if ( $recovery_form ) {
+ echo $this->get_html_recovery_form(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- content is escaped in the function.
+ }
+ ?>
</div>
<div id="error-footer">
<?php
@@ -633,7 +752,8 @@ class Jetpack_Protect_Blocked_Login_Page {
</a>
<?php
} else {
- $help_icon = '<svg class="gridicon gridicons-help" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 16h-2v-2h2v2zm0-4.14V15h-2v-2c0-.552.448-1 1-1 1.103 0 2-.897 2-2s-.897-2-2-2-2 .897-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.862-1.278 3.413-3 3.86z"/></g></svg>';?>
+ $help_icon = '<svg class="gridicon gridicons-help" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 16h-2v-2h2v2zm0-4.14V15h-2v-2c0-.552.448-1 1-1 1.103 0 2-.897 2-2s-.897-2-2-2-2 .897-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.862-1.278 3.413-3 3.86z"/></g></svg>';
+ ?>
<a href="<?php echo esc_url( self::get_help_url() ); ?>" rel="noopener noreferrer" target="_blank">
<?php
printf(
diff --git a/plugins/jetpack/modules/protect/math-fallback.php b/plugins/jetpack/modules/protect/math-fallback.php
index 9ee0d77c..84cff44a 100644
--- a/plugins/jetpack/modules/protect/math-fallback.php
+++ b/plugins/jetpack/modules/protect/math-fallback.php
@@ -1,14 +1,22 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
if ( ! class_exists( 'Jetpack_Protect_Math_Authenticate' ) ) {
- /*
+ /**
* The math captcha fallback if we can't talk to the Protect API
*/
class Jetpack_Protect_Math_Authenticate {
- static $loaded;
+ /**
+ * If the class is loaded.
+ *
+ * @var bool
+ */
+ public static $loaded;
- function __construct() {
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
if ( self::$loaded ) {
return;
@@ -18,11 +26,14 @@ if ( ! class_exists( 'Jetpack_Protect_Math_Authenticate' ) ) {
add_action( 'login_form', array( $this, 'math_form' ) );
- if( isset( $_POST[ 'jetpack_protect_process_math_form' ] ) ) {
+ if ( isset( $_POST['jetpack_protect_process_math_form'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- No changes made, just queues the math authenticator hook.
add_action( 'init', array( $this, 'process_generate_math_page' ) );
}
}
+ /**
+ * The timeout window.
+ */
private static function time_window() {
return ceil( time() / ( MINUTE_IN_SECONDS * 2 ) );
}
@@ -31,30 +42,30 @@ if ( ! class_exists( 'Jetpack_Protect_Math_Authenticate' ) ) {
* Verifies that a user answered the math problem correctly while logging in.
*
* @return bool Returns true if the math is correct
- * @throws Error if insuffient $_POST variables are present.
- * @throws Error message if the math is wrong
+ * @throws Error If insuffient $_POST variables are present.
+ * @throws Error Message if the math is wrong.
*/
- static function math_authenticate() {
- if( isset( $_COOKIE[ 'jpp_math_pass' ] ) ) {
+ public static function math_authenticate() {
+ if ( isset( $_COOKIE['jpp_math_pass'] ) ) {
$jetpack_protect = Jetpack_Protect_Module::instance();
- $transient = $jetpack_protect->get_transient( 'jpp_math_pass_' . $_COOKIE[ 'jpp_math_pass' ] );
+ $transient = $jetpack_protect->get_transient( 'jpp_math_pass_' . sanitize_key( $_COOKIE['jpp_math_pass'] ) );
- if( !$transient || $transient < 1 ) {
- Jetpack_Protect_Math_Authenticate::generate_math_page();
+ if ( ! $transient || $transient < 1 ) {
+ self::generate_math_page();
}
return true;
}
- $ans = isset( $_POST['jetpack_protect_num'] ) ? (int) $_POST['jetpack_protect_num'] : '' ;
- $correct_ans = isset( $_POST[ 'jetpack_protect_answer' ] ) ? $_POST[ 'jetpack_protect_answer' ] : '' ;
+ $ans = isset( $_POST['jetpack_protect_num'] ) ? (int) $_POST['jetpack_protect_num'] : ''; // phpcs:ignore WordPress.Security.NonceVerification.Missing -- answers are salted.
+ $correct_ans = isset( $_POST['jetpack_protect_answer'] ) ? sanitize_key( $_POST['jetpack_protect_answer'] ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Missing
- $time_window = Jetpack_Protect_Math_Authenticate::time_window();
+ $time_window = self::time_window();
$salt = get_site_option( 'jetpack_protect_key' ) . '|' . get_site_option( 'admin_email' ) . '|';
$salted_ans_1 = hash_hmac( 'sha1', $ans, $salt . $time_window );
$salted_ans_2 = hash_hmac( 'sha1', $ans, $salt . ( $time_window - 1 ) );
if ( ! $correct_ans || ! $ans ) {
- Jetpack_Protect_Math_Authenticate::generate_math_page();
+ self::generate_math_page();
} elseif ( ! hash_equals( $salted_ans_1, $correct_ans ) && ! hash_equals( $salted_ans_2, $correct_ans ) ) {
wp_die(
wp_kses(
@@ -75,48 +86,51 @@ if ( ! class_exists( 'Jetpack_Protect_Math_Authenticate' ) ) {
/**
* Creates an interim page to collect answers to a math captcha
*
- * @return none, execution stopped
+ * @param string $error - the error message.
*/
- static function generate_math_page( $error = false ) {
+ public static function generate_math_page( $error = false ) {
ob_start();
?>
<h2><?php esc_html_e( 'Please solve this math problem to prove that you are not a bot. Once you solve it, you will need to log in again.', 'jetpack' ); ?></h2>
- <?php if ($error): ?>
+ <?php if ( $error ) : ?>
<h3><?php esc_html_e( 'Your answer was incorrect, please try again.', 'jetpack' ); ?></h3>
<?php endif ?>
- <form action="<?php echo wp_login_url(); ?>" method="post" accept-charset="utf-8">
- <?php Jetpack_Protect_Math_Authenticate::math_form(); ?>
+ <form action="<?php echo esc_url( wp_login_url() ); ?>" method="post" accept-charset="utf-8">
+ <?php self::math_form(); ?>
<input type="hidden" name="jetpack_protect_process_math_form" value="1" id="jetpack_protect_process_math_form" />
<p><input type="submit" value="<?php esc_attr_e( 'Continue &rarr;', 'jetpack' ); ?>"></p>
</form>
- <?php
+ <?php
$mathpage = ob_get_contents();
ob_end_clean();
wp_die(
- $mathpage,
+ $mathpage, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- content is escaped.
'',
- array ( 'response' => 401 )
+ array( 'response' => 401 )
);
}
+ /**
+ * Generates the math page.
+ */
public function process_generate_math_page() {
- $ans = isset( $_POST['jetpack_protect_num'] ) ? (int)$_POST['jetpack_protect_num'] : '';
- $correct_ans = isset( $_POST[ 'jetpack_protect_answer' ] ) ? $_POST[ 'jetpack_protect_answer' ] : '' ;
+ $ans = isset( $_POST['jetpack_protect_num'] ) ? (int) $_POST['jetpack_protect_num'] : ''; // phpcs:ignore WordPress.Security.NonceVerification.Missing -- answers are salted.
+ $correct_ans = isset( $_POST['jetpack_protect_answer'] ) ? sanitize_key( $_POST['jetpack_protect_answer'] ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Missing
- $time_window = Jetpack_Protect_Math_Authenticate::time_window();
+ $time_window = self::time_window();
$salt = get_site_option( 'jetpack_protect_key' ) . '|' . get_site_option( 'admin_email' ) . '|';
$salted_ans_1 = hash_hmac( 'sha1', $ans, $salt . $time_window );
$salted_ans_2 = hash_hmac( 'sha1', $ans, $salt . ( $time_window - 1 ) );
if ( ! hash_equals( $salted_ans_1, $correct_ans ) && ! hash_equals( $salted_ans_2, $correct_ans ) ) {
- Jetpack_Protect_Math_Authenticate::generate_math_page(true);
+ self::generate_math_page( true );
} else {
- $temp_pass = substr( hash_hmac( 'sha1', rand( 1, 100000000 ), get_site_option( 'jetpack_protect_key' ) ), 5, 25 );
+ $temp_pass = substr( hash_hmac( 'sha1', wp_rand( 1, 100000000 ), get_site_option( 'jetpack_protect_key' ) ), 5, 25 );
$jetpack_protect = Jetpack_Protect_Module::instance();
$jetpack_protect->set_transient( 'jpp_math_pass_' . $temp_pass, 3, DAY_IN_SECONDS );
- setcookie('jpp_math_pass', $temp_pass, time() + DAY_IN_SECONDS, COOKIEPATH, COOKIE_DOMAIN, false);
+ setcookie( 'jpp_math_pass', $temp_pass, time() + DAY_IN_SECONDS, COOKIEPATH, COOKIE_DOMAIN, false, true );
remove_action( 'login_form', array( $this, 'math_form' ) );
return true;
}
@@ -127,37 +141,37 @@ if ( ! class_exists( 'Jetpack_Protect_Math_Authenticate' ) ) {
*
* @return VOID outputs html
*/
- static function math_form() {
- // Check if jpp_math_pass cookie is set and it matches valid transient
- if( isset( $_COOKIE[ 'jpp_math_pass' ] ) ) {
+ public static function math_form() {
+ // Check if jpp_math_pass cookie is set and it matches valid transient.
+ if ( isset( $_COOKIE['jpp_math_pass'] ) ) {
$jetpack_protect = Jetpack_Protect_Module::instance();
- $transient = $jetpack_protect->get_transient( 'jpp_math_pass_' . $_COOKIE[ 'jpp_math_pass' ] );
+ $transient = $jetpack_protect->get_transient( 'jpp_math_pass_' . sanitize_key( $_COOKIE['jpp_math_pass'] ) );
- if( $transient && $transient > 0 ) {
+ if ( $transient && $transient > 0 ) {
return '';
}
}
- $num1 = rand( 0, 10 );
- $num2 = rand( 1, 10 );
+ $num1 = wp_rand( 0, 10 );
+ $num2 = wp_rand( 1, 10 );
$ans = $num1 + $num2;
- $time_window = Jetpack_Protect_Math_Authenticate::time_window();
+ $time_window = self::time_window();
$salt = get_site_option( 'jetpack_protect_key' ) . '|' . get_site_option( 'admin_email' ) . '|';
$salted_ans = hash_hmac( 'sha1', $ans, $salt . $time_window );
?>
<div style="margin: 5px 0 20px;">
- <label for="jetpack_protect_answer">
+ <p style="font-size: 14px;">
<?php esc_html_e( 'Prove your humanity', 'jetpack' ); ?>
- </label>
+ </p>
<br/>
- <span style="vertical-align:super;">
+ <label for="jetpack_protect_answer" style="vertical-align:super;">
<?php echo esc_html( "$num1 &nbsp; + &nbsp; $num2 &nbsp; = &nbsp;" ); ?>
- </span>
- <input type="text" id="jetpack_protect_answer" name="jetpack_protect_num" value="" size="2" style="width:30px;height:25px;vertical-align:middle;font-size:13px;" class="input" />
+ </label>
+ <input type="number" id="jetpack_protect_answer" name="jetpack_protect_num" value="" size="2" style="width:50px;height:25px;vertical-align:middle;font-size:13px;" class="input" />
<input type="hidden" name="jetpack_protect_answer" value="<?php echo esc_attr( $salted_ans ); ?>" />
</div>
- <?php
+ <?php
}
}
diff --git a/plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.css b/plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.css
index b9131462..353e5106 100644
--- a/plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.css
+++ b/plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.css
@@ -1,117 +1,115 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
/* loads inline on wp-admin in order to reduce http requests */
-
#protect_dashboard_widget .inside {
- margin: 0;
- padding: 0;
- text-align: center;
+ margin: 0;
+ padding: 0;
+ text-align: center;
}
.jetpack-security * {
- box-sizing: border-box;
+ box-sizing: border-box;
}
/* alert msgs */
#protect_dashboard_widget .msg {
- color: #fff;
- text-align: center;
- padding: 10px;
+ color: #fff;
+ text-align: center;
+ padding: 10px;
}
#protect_dashboard_widget .msg.working {
- background: #7BAC48;
+ background: #7BAC48;
}
#protect_dashboard_widget .msg.attn {
- background: #d94f4f;
+ background: #d94f4f;
}
#protect_dashboard_widget .msg a {
- color: #fff;
- text-decoration: underline;
+ color: #fff;
+ text-decoration: underline;
}
#protect_dashboard_widget .msg a:hover {
- text-decoration: none;
+ text-decoration: none;
}
#protect_dashboard_widget .msg .dashicons {
- float: left;
- text-decoration: none;
- border-radius: 2px;
+ float: left;
+ text-decoration: none;
+ border-radius: 2px;
}
#protect_dashboard_widget .msg.working .dashicons {
- color: #609643;
+ color: #609643;
}
#protect_dashboard_widget .msg.working .dashicons:hover {
- background: #609643;
- color: #7BAC48;
+ background: #609643;
+ color: #7BAC48;
}
#protect_dashboard_widget .msg.attn .dashicons {
- color: #a93838;
+ color: #a93838;
}
#protect_dashboard_widget .msg.attn .dashicons:hover {
- background: #a93838;
- color: #d94f4f;
+ background: #a93838;
+ color: #d94f4f;
}
.blocked-attacks,
.file-scanning {
- position: relative;
+ position: relative;
}
.blocked-attacks {
- background: #f6f7f7;
- border-bottom: 1px #f0f0f1 solid;
- padding-bottom: 35px;
+ background: #f6f7f7;
+ border-bottom: 1px #f0f0f1 solid;
+ padding-bottom: 35px;
}
.jetpack-security-sharing {
- width: 60px;
- display: inline-block;
- position: absolute;
- left: 0;
- top: 10px;
+ width: 60px;
+ display: inline-block;
+ position: absolute;
+ left: 0;
+ top: 10px;
}
.jetpack-security-sharing a {
- color: #dcdcdc;
+ color: #dcdcdc;
}
.jetpack-security-sharing a:hover {
- color: #cdcbcb;
+ color: #cdcbcb;
}
.blocked-attacks h2,
.blocked-attacks h3 {
- color: #7BAC48;
- font-weight: 300;
+ color: #7BAC48;
+ font-weight: 300;
}
.blocked-attacks h2 {
- font-size: 4em;
- line-height: 110%;
- margin: 0;
- padding: 10px 12px 10px 12px;
+ font-size: 4em;
+ line-height: 110%;
+ margin: 0;
+ padding: 10px 12px 10px 12px;
}
.blocked-attacks h3 {
- font-size: 1.1em;
- line-height: 110%;
- padding: 0 12px 10px 12px;
- margin: 0;
+ font-size: 1.1em;
+ line-height: 110%;
+ padding: 0 12px 10px 12px;
+ margin: 0;
}
.jetpack-protect-logo {
- width: 50px;
- position: relative;
+ width: 50px;
+ position: relative;
}
.file-scanning {
- margin-top: -30px;
- padding: 0 12px;
+ margin-top: -30px;
+ padding: 0 12px;
}
diff --git a/plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.min.css b/plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.min.css
index 449b8b69..e5f23dc2 100644
--- a/plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.min.css
+++ b/plugins/jetpack/modules/protect/protect-dashboard-widget-rtl.min.css
@@ -1 +1 @@
-#protect_dashboard_widget .inside{margin:0;padding:0;text-align:center}.jetpack-security *{box-sizing:border-box}#protect_dashboard_widget .msg{color:#fff;text-align:center;padding:10px}#protect_dashboard_widget .msg.working{background:#7bac48}#protect_dashboard_widget .msg.attn{background:#d94f4f}#protect_dashboard_widget .msg a{color:#fff;text-decoration:underline}#protect_dashboard_widget .msg a:hover{text-decoration:none}#protect_dashboard_widget .msg .dashicons{float:left;text-decoration:none;border-radius:2px}#protect_dashboard_widget .msg.working .dashicons{color:#609643}#protect_dashboard_widget .msg.working .dashicons:hover{background:#609643;color:#7bac48}#protect_dashboard_widget .msg.attn .dashicons{color:#a93838}#protect_dashboard_widget .msg.attn .dashicons:hover{background:#a93838;color:#d94f4f}.blocked-attacks,.file-scanning{position:relative}.blocked-attacks{background:#f6f7f7;border-bottom:1px #f0f0f1 solid;padding-bottom:35px}.jetpack-security-sharing{width:60px;display:inline-block;position:absolute;left:0;top:10px}.jetpack-security-sharing a{color:#dcdcdc}.jetpack-security-sharing a:hover{color:#cdcbcb}.blocked-attacks h2,.blocked-attacks h3{color:#7bac48;font-weight:300}.blocked-attacks h2{font-size:4em;line-height:110%;margin:0;padding:10px 12px 10px 12px}.blocked-attacks h3{font-size:1.1em;line-height:110%;padding:0 12px 10px 12px;margin:0}.jetpack-protect-logo{width:50px;position:relative}.file-scanning{margin-top:-30px;padding:0 12px} \ No newline at end of file
+#protect_dashboard_widget .inside{margin:0;padding:0;text-align:center}.jetpack-security *{box-sizing:border-box}#protect_dashboard_widget .msg{color:#fff;padding:10px;text-align:center}#protect_dashboard_widget .msg.working{background:#7bac48}#protect_dashboard_widget .msg.attn{background:#d94f4f}#protect_dashboard_widget .msg a{color:#fff;text-decoration:underline}#protect_dashboard_widget .msg a:hover{text-decoration:none}#protect_dashboard_widget .msg .dashicons{border-radius:2px;float:left;text-decoration:none}#protect_dashboard_widget .msg.working .dashicons{color:#609643}#protect_dashboard_widget .msg.working .dashicons:hover{background:#609643;color:#7bac48}#protect_dashboard_widget .msg.attn .dashicons{color:#a93838}#protect_dashboard_widget .msg.attn .dashicons:hover{background:#a93838;color:#d94f4f}.blocked-attacks,.file-scanning{position:relative}.blocked-attacks{background:#f6f7f7;border-bottom:1px solid #f0f0f1;padding-bottom:35px}.jetpack-security-sharing{display:inline-block;left:0;position:absolute;top:10px;width:60px}.jetpack-security-sharing a{color:#dcdcdc}.jetpack-security-sharing a:hover{color:#cdcbcb}.blocked-attacks h2,.blocked-attacks h3{color:#7bac48;font-weight:300}.blocked-attacks h2{font-size:4em;line-height:110%;margin:0;padding:10px 12px}.blocked-attacks h3{font-size:1.1em;line-height:110%;margin:0;padding:0 12px 10px}.jetpack-protect-logo{position:relative;width:50px}.file-scanning{margin-top:-30px;padding:0 12px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/protect/protect-dashboard-widget.min.css b/plugins/jetpack/modules/protect/protect-dashboard-widget.min.css
index cc161dc0..6945fbdd 100644
--- a/plugins/jetpack/modules/protect/protect-dashboard-widget.min.css
+++ b/plugins/jetpack/modules/protect/protect-dashboard-widget.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-#protect_dashboard_widget .inside{margin:0;padding:0;text-align:center}.jetpack-security *{box-sizing:border-box}#protect_dashboard_widget .msg{color:#fff;text-align:center;padding:10px}#protect_dashboard_widget .msg.working{background:#7bac48}#protect_dashboard_widget .msg.attn{background:#d94f4f}#protect_dashboard_widget .msg a{color:#fff;text-decoration:underline}#protect_dashboard_widget .msg a:hover{text-decoration:none}#protect_dashboard_widget .msg .dashicons{float:right;text-decoration:none;border-radius:2px}#protect_dashboard_widget .msg.working .dashicons{color:#609643}#protect_dashboard_widget .msg.working .dashicons:hover{background:#609643;color:#7bac48}#protect_dashboard_widget .msg.attn .dashicons{color:#a93838}#protect_dashboard_widget .msg.attn .dashicons:hover{background:#a93838;color:#d94f4f}.blocked-attacks,.file-scanning{position:relative}.blocked-attacks{background:#f6f7f7;border-bottom:1px #f0f0f1 solid;padding-bottom:35px}.jetpack-security-sharing{width:60px;display:inline-block;position:absolute;right:0;top:10px}.jetpack-security-sharing a{color:#dcdcdc}.jetpack-security-sharing a:hover{color:#cdcbcb}.blocked-attacks h2,.blocked-attacks h3{color:#7bac48;font-weight:300}.blocked-attacks h2{font-size:4em;line-height:110%;margin:0;padding:10px 12px 10px 12px}.blocked-attacks h3{font-size:1.1em;line-height:110%;padding:0 12px 10px 12px;margin:0}.jetpack-protect-logo{width:50px;position:relative}.file-scanning{margin-top:-30px;padding:0 12px} \ No newline at end of file
+#protect_dashboard_widget .inside{margin:0;padding:0;text-align:center}.jetpack-security *{box-sizing:border-box}#protect_dashboard_widget .msg{color:#fff;padding:10px;text-align:center}#protect_dashboard_widget .msg.working{background:#7bac48}#protect_dashboard_widget .msg.attn{background:#d94f4f}#protect_dashboard_widget .msg a{color:#fff;text-decoration:underline}#protect_dashboard_widget .msg a:hover{text-decoration:none}#protect_dashboard_widget .msg .dashicons{border-radius:2px;float:right;text-decoration:none}#protect_dashboard_widget .msg.working .dashicons{color:#609643}#protect_dashboard_widget .msg.working .dashicons:hover{background:#609643;color:#7bac48}#protect_dashboard_widget .msg.attn .dashicons{color:#a93838}#protect_dashboard_widget .msg.attn .dashicons:hover{background:#a93838;color:#d94f4f}.blocked-attacks,.file-scanning{position:relative}.blocked-attacks{background:#f6f7f7;border-bottom:1px solid #f0f0f1;padding-bottom:35px}.jetpack-security-sharing{display:inline-block;position:absolute;right:0;top:10px;width:60px}.jetpack-security-sharing a{color:#dcdcdc}.jetpack-security-sharing a:hover{color:#cdcbcb}.blocked-attacks h2,.blocked-attacks h3{color:#7bac48;font-weight:300}.blocked-attacks h2{font-size:4em;line-height:110%;margin:0;padding:10px 12px}.blocked-attacks h3{font-size:1.1em;line-height:110%;margin:0;padding:0 12px 10px}.jetpack-protect-logo{position:relative;width:50px}.file-scanning{margin-top:-30px;padding:0 12px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/protect/shared-functions.php b/plugins/jetpack/modules/protect/shared-functions.php
index 1091260f..1ce9ba0c 100644
--- a/plugins/jetpack/modules/protect/shared-functions.php
+++ b/plugins/jetpack/modules/protect/shared-functions.php
@@ -1,7 +1,10 @@
<?php
/**
* These functions are shared by the Protect module and its related json-endpoints
+ *
+ * @package automattic/jetpack
*/
+
/**
* Returns an array of IP objects that will never be blocked by the Protect module
*
@@ -12,7 +15,7 @@
*/
function jetpack_protect_format_whitelist() {
$local_whitelist = jetpack_protect_get_local_whitelist();
- $formatted = array(
+ $formatted = array(
'local' => array(),
);
foreach ( $local_whitelist as $item ) {
@@ -161,11 +164,11 @@ function jetpack_protect_save_whitelist( $whitelist, $global = false ) {
function jetpack_protect_get_ip() {
$trusted_header_data = get_site_option( 'trusted_ip_header' );
if ( isset( $trusted_header_data->trusted_header ) && isset( $_SERVER[ $trusted_header_data->trusted_header ] ) ) {
- $ip = $_SERVER[ $trusted_header_data->trusted_header ];
+ $ip = wp_unslash( $_SERVER[ $trusted_header_data->trusted_header ] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- jetpack_clean_ip does it below.
$segments = $trusted_header_data->segments;
$reverse_order = $trusted_header_data->reverse;
} else {
- $ip = $_SERVER['REMOTE_ADDR'];
+ $ip = isset( $_SERVER['REMOTE_ADDR'] ) ? wp_unslash( $_SERVER['REMOTE_ADDR'] ) : null; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- jetpack_clean_ip does it below.
}
if ( ! $ip ) {
@@ -186,7 +189,7 @@ function jetpack_protect_get_ip() {
$the_one = $ip_count - $segments;
return jetpack_clean_ip( $ips[ $the_one ] );
} else {
- return jetpack_clean_ip( $_SERVER['REMOTE_ADDR'] );
+ return jetpack_clean_ip( isset( $_SERVER['REMOTE_ADDR'] ) ? wp_unslash( $_SERVER['REMOTE_ADDR'] ) : null ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- jetpack_clean_ip does it.
}
}
@@ -201,7 +204,7 @@ function jetpack_clean_ip( $ip ) {
// Some misconfigured servers give back extra info, which comes after "unless".
$ips = explode( ' unless ', $ip );
- $ip = $ips[0];
+ $ip = $ips[0];
$ip = strtolower( trim( $ip ) );
@@ -243,7 +246,7 @@ function jetpack_protect_ip_is_private( $ip ) {
'169.254.0.0|169.254.255.255', // Link-local address also referred to as Automatic Private IP Addressing.
'127.0.0.0|127.255.255.255', // localhost.
);
- $long_ip = ip2long( $ip );
+ $long_ip = ip2long( $ip );
if ( -1 !== $long_ip ) {
foreach ( $private_ip4_addresses as $pri_addr ) {
list ( $start, $end ) = explode( '|', $pri_addr );
diff --git a/plugins/jetpack/modules/protect/transient-cleanup.php b/plugins/jetpack/modules/protect/transient-cleanup.php
index 8f1c169d..de5f5764 100644
--- a/plugins/jetpack/modules/protect/transient-cleanup.php
+++ b/plugins/jetpack/modules/protect/transient-cleanup.php
@@ -1,8 +1,11 @@
<?php
-/*
-Adapted from Purge Transients by Seebz
-https://github.com/Seebz/Snippets/tree/master/Wordpress/plugins/purge-transients
-*/
+/**
+ * Adapted from Purge Transients by Seebz
+ * https://github.com/Seebz/Snippets/tree/master/Wordpress/plugins/purge-transients
+ *
+ * @package automattic/jetpack
+ */
+
if ( ! function_exists( 'jp_purge_transients' ) ) {
/**
@@ -10,7 +13,6 @@ if ( ! function_exists( 'jp_purge_transients' ) ) {
*
* @access public
* @param string $older_than (default: '1 hour') Older Than.
- * @return void
*/
function jp_purge_transients( $older_than = '1 hour' ) {
global $wpdb;
@@ -18,13 +20,12 @@ if ( ! function_exists( 'jp_purge_transients' ) ) {
if ( $older_than_time > time() || $older_than_time < 1 ) {
return false;
}
- $sql = $wpdb->prepare( "
- SELECT REPLACE(option_name, '_transient_timeout_jpp_', '') AS transient_name
- FROM {$wpdb->options}
- WHERE option_name LIKE '\_transient\_timeout\_jpp\__%%'
- AND option_value < %d
- ", $older_than_time );
- $transients = $wpdb->get_col( $sql );
+ $sql = $wpdb->prepare(
+ // phpcs:ignore WordPress.DB.PreparedSQLPlaceholders.LikeWildcardsInQuery
+ "SELECT REPLACE(option_name, '_transient_timeout_jpp_', '') AS transient_name FROM {$wpdb->options} WHERE option_name LIKE '\_transient\_timeout\_jpp\__%%' AND option_value < %d",
+ $older_than_time
+ );
+ $transients = $wpdb->get_col( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- $sql is prepared above.
$options_names = array();
foreach ( $transients as $transient ) {
$options_names[] = '_transient_jpp_' . $transient;
@@ -32,14 +33,16 @@ if ( ! function_exists( 'jp_purge_transients' ) ) {
}
if ( $options_names ) {
$option_names_string = implode( ', ', array_fill( 0, count( $options_names ), '%s' ) );
- $delete_sql = "DELETE FROM {$wpdb->options} WHERE option_name IN ($option_names_string)";
- $delete_sql = call_user_func_array( array( $wpdb, 'prepare' ), array_merge( array( $delete_sql ), $options_names ) );
- $result = $wpdb->query( $delete_sql );
+ $result = $wpdb->query(
+ $wpdb->prepare(
+ "DELETE FROM {$wpdb->options} WHERE option_name IN ($option_names_string)", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared,WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare -- the placeholders are set above.
+ $options_names
+ )
+ );
if ( ! $result ) {
return false;
}
}
- return;
}
}
diff --git a/plugins/jetpack/modules/publicize.php b/plugins/jetpack/modules/publicize.php
index dccc617b..ac860e24 100644
--- a/plugins/jetpack/modules/publicize.php
+++ b/plugins/jetpack/modules/publicize.php
@@ -33,30 +33,28 @@ class Jetpack_Publicize {
public function __construct() {
global $publicize_ui;
+ $this->modules = new Automattic\Jetpack\Modules();
$this->in_jetpack = ( class_exists( 'Jetpack' ) && method_exists( 'Jetpack', 'enable_module_configurable' ) ) ? true : false;
if ( $this->in_jetpack ) {
Jetpack::enable_module_configurable( __FILE__ );
- }
-
- require_once __DIR__ . '/publicize/publicize.php';
- if ( $this->in_jetpack ) {
- require_once __DIR__ . '/publicize/publicize-jetpack.php';
- } else {
- require_once dirname( __DIR__ ) . '/mu-plugins/keyring/keyring.php';
- require_once __DIR__ . '/publicize/publicize-wpcom.php';
- }
-
- require_once __DIR__ . '/publicize/ui.php';
- $publicize_ui = new Publicize_UI();
- $publicize_ui->in_jetpack = $this->in_jetpack;
+ if ( $this->modules->is_active( 'publicize' ) ) {
+ add_action(
+ 'jetpack_register_gutenberg_extensions',
+ function () {
+ global $publicize;
+ if ( $publicize->current_user_can_access_publicize_data() ) {
+ Jetpack_Gutenberg::set_extension_available( 'jetpack/publicize' );
+ } else {
+ Jetpack_Gutenberg::set_extension_unavailable( 'jetpack/publicize', 'unauthorized' );
+ }
+ }
+ );
+ }
- // Jetpack specific checks / hooks.
- if ( $this->in_jetpack ) {
// if sharedaddy isn't active, the sharing menu hasn't been added yet.
- $active = Jetpack::get_active_modules();
- if ( in_array( 'publicize', $active, true ) && ! in_array( 'sharedaddy', $active, true ) ) {
+ if ( $this->modules->is_active( 'publicize' ) && ! $this->modules->is_active( 'sharedaddy' ) ) {
add_action( 'admin_menu', array( &$publicize_ui, 'sharing_menu' ) );
}
@@ -93,28 +91,43 @@ class Jetpack_Publicize {
}
}
);
+ } else {
+ require_once __DIR__ . '/publicize/publicize.php';
+ require_once dirname( __DIR__ ) . '/mu-plugins/keyring/keyring.php';
+ require_once __DIR__ . '/publicize/publicize-wpcom.php';
+ require_once __DIR__ . '/publicize/ui.php';
+ $publicize_ui = new Publicize_UI();
}
+
+ $publicize_ui->in_jetpack = $this->in_jetpack;
}
}
-new Jetpack_Publicize();
+// On Jetpack, we instantiate Jetpack_Publicize only if the Publicize module is active.
+if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) {
-if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM ) && ! function_exists( 'publicize_init' ) ) {
- /**
- * Helper for grabbing a Publicize object from the "front-end" (non-admin) of
- * a site. Normally Publicize is only loaded in wp-admin, so there's a little
- * set up that you might need to do if you want to use it on the front end.
- * Just call this function and it returns a Publicize object.
- *
- * @return Publicize Object
- */
- function publicize_init() {
- global $publicize;
+ $modules = new Automattic\Jetpack\Modules();
- if ( ! class_exists( 'Publicize' ) ) {
- require_once __DIR__ . '/publicize/publicize.php';
- }
+ if ( $modules->is_active( 'publicize' ) ) {
+ new Jetpack_Publicize();
+ }
- return $publicize;
+ if ( ! function_exists( 'publicize_init' ) ) {
+ /**
+ * Helper for grabbing a Publicize object from the "front-end" (non-admin) of
+ * a site. Normally Publicize is only loaded in wp-admin, so there's a little
+ * set up that you might need to do if you want to use it on the front end.
+ * Just call this function and it returns a Publicize object.
+ *
+ * @return Publicize Object
+ */
+ function publicize_init() {
+ global $publicize;
+
+ return $publicize;
+ }
}
+} else {
+ // On wpcom, instantiate Jetpack_Publicize without any other checks.
+ new Jetpack_Publicize();
}
diff --git a/plugins/jetpack/modules/publicize/publicize-jetpack.php b/plugins/jetpack/modules/publicize/publicize-jetpack.php
index 6f618c62..da9a5b2c 100644
--- a/plugins/jetpack/modules/publicize/publicize-jetpack.php
+++ b/plugins/jetpack/modules/publicize/publicize-jetpack.php
@@ -1,13 +1,24 @@
-<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Publicize class.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Tokens;
use Automattic\Jetpack\Redirect;
+/**
+ * Extend the base class with Jetpack-specific functionality.
+ */
class Publicize extends Publicize_Base {
const CONNECTION_REFRESH_WAIT_TRANSIENT = 'jetpack_publicize_connection_refresh_wait';
- function __construct() {
+ /**
+ * Add hooks.
+ */
+ public function __construct() {
parent::__construct();
add_filter( 'jetpack_xmlrpc_unauthenticated_methods', array( $this, 'register_update_publicize_connections_xmlrpc_method' ) );
@@ -28,7 +39,7 @@ class Publicize extends Publicize_Base {
add_filter( 'jetpack_published_post_flags', array( $this, 'set_post_flags' ), 10, 2 );
- add_action( 'wp_insert_post', array( $this, 'save_publicized' ), 11, 3 );
+ add_action( 'wp_insert_post', array( $this, 'save_publicized' ), 11, 2 );
add_filter( 'jetpack_twitter_cards_site_tag', array( $this, 'enhaced_twitter_cards_site_tag' ) );
@@ -41,35 +52,43 @@ class Publicize extends Publicize_Base {
add_action( 'updating_jetpack_version', array( $this, 'init_refresh_transient' ) );
- include_once( JETPACK__PLUGIN_DIR . 'modules/publicize/enhanced-open-graph.php' );
-
jetpack_require_lib( 'class.jetpack-keyring-service-helper' );
}
- function add_disconnect_notice() {
+ /**
+ * Add a notice when a connection has been disconnected.
+ */
+ public function add_disconnect_notice() {
add_action( 'admin_notices', array( $this, 'display_disconnected' ) );
}
- function force_user_connection() {
+ /**
+ * Force user connection before showing the Publicize UI.
+ */
+ public function force_user_connection() {
global $current_user;
+
$user_token = ( new Tokens() )->get_access_token( $current_user->ID );
$is_user_connected = $user_token && ! is_wp_error( $user_token );
- // If the user is already connected via Jetpack, then we're good
+ // If the user is already connected via Jetpack, then we're good.
if ( $is_user_connected ) {
return;
}
- // If they're not connected, then remove the Publicize UI and tell them they need to connect first
+ // If they're not connected, then remove the Publicize UI and tell them they need to connect first.
global $publicize_ui;
remove_action( 'pre_admin_screen_sharing', array( $publicize_ui, 'admin_page' ) );
// Do we really need `admin_styles`? With the new admin UI, it's breaking some bits.
- // Jetpack::init()->admin_styles();
+ // Jetpack::init()->admin_styles();.
add_action( 'pre_admin_screen_sharing', array( $this, 'admin_page_warning' ), 1 );
}
- function admin_page_warning() {
+ /**
+ * Show a warning when Publicize does not have a connection.
+ */
+ public function admin_page_warning() {
$jetpack = Jetpack::init();
$blog_name = get_bloginfo( 'blogname' );
if ( empty( $blog_name ) ) {
@@ -80,16 +99,20 @@ class Publicize extends Publicize_Base {
<div id="message" class="updated jetpack-message jp-connect">
<div class="jetpack-wrap-container">
<div class="jetpack-text-container">
- <p><?php printf(
- /* translators: %s is the name of the blog */
- esc_html( wptexturize( __( "To use Publicize, you'll need to link your %s account to your WordPress.com account using the link below.", 'jetpack' ) ) ),
- '<strong>' . esc_html( $blog_name ) . '</strong>'
- ); ?></p>
+ <p>
+ <?php
+ printf(
+ /* translators: %s is the name of the blog */
+ esc_html( wptexturize( __( "To use Publicize, you'll need to link your %s account to your WordPress.com account using the link below.", 'jetpack' ) ) ),
+ '<strong>' . esc_html( $blog_name ) . '</strong>'
+ );
+ ?>
+ </p>
<p><?php echo esc_html( wptexturize( __( "If you don't have a WordPress.com account yet, you can sign up for free in just a few seconds.", 'jetpack' ) ) ); ?></p>
</div>
<div class="jetpack-install-container">
<p class="submit"><a
- href="<?php echo $jetpack->build_connect_url( false, menu_page_url( 'sharing', false ) ); ?>"
+ href="<?php echo esc_url( $jetpack->build_connect_url( false, menu_page_url( 'sharing', false ) ) ); ?>"
class="button-connector"
id="wpcom-connect"><?php esc_html_e( 'Link account with WordPress.com', 'jetpack' ); ?></a>
</p>
@@ -103,25 +126,52 @@ class Publicize extends Publicize_Base {
}
/**
- * Remove a Publicize connection
+ * Remove a Publicize Connection.
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param string $connection_id Connection ID.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @param bool $force_delete Whether to skip permissions checks.
+ * @return false|void False on failure. Void on success.
*/
- function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false ) {
+ public function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false ) {
return Jetpack_Keyring_Service_Helper::disconnect( $service_name, $connection_id, $_blog_id, $_user_id, $force_delete );
}
- function receive_updated_publicize_connections( $publicize_connections ) {
+ /**
+ * Set updated Publicize conntections.
+ *
+ * @param mixed $publicize_connections Updated connections.
+ * @return true
+ */
+ public function receive_updated_publicize_connections( $publicize_connections ) {
Jetpack_Options::update_option( 'publicize_connections', $publicize_connections );
return true;
}
- function register_update_publicize_connections_xmlrpc_method( $methods ) {
- return array_merge( $methods, array(
- 'jetpack.updatePublicizeConnections' => array( $this, 'receive_updated_publicize_connections' ),
- ) );
+ /**
+ * Add method to update Publicize connections.
+ *
+ * @param array $methods Array of registered methods.
+ * @return array
+ */
+ public function register_update_publicize_connections_xmlrpc_method( $methods ) {
+ return array_merge(
+ $methods,
+ array(
+ 'jetpack.updatePublicizeConnections' => array( $this, 'receive_updated_publicize_connections' ),
+ )
+ );
}
- function get_all_connections() {
+ /**
+ * Get a list of all connections.
+ *
+ * @return array
+ */
+ public function get_all_connections() {
$this->refresh_connections();
$connections = Jetpack_Options::get_option( 'publicize_connections' );
if ( isset( $connections['google_plus'] ) ) {
@@ -130,7 +180,15 @@ class Publicize extends Publicize_Base {
return $connections;
}
- function get_connections( $service_name, $_blog_id = false, $_user_id = false ) {
+ /**
+ * Get connections for a specific service.
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @return false|object[]|array[]
+ */
+ public function get_connections( $service_name, $_blog_id = false, $_user_id = false ) {
if ( false === $_user_id ) {
$_user_id = $this->user_id();
}
@@ -141,7 +199,7 @@ class Publicize extends Publicize_Base {
if ( ! empty( $connections ) && is_array( $connections ) ) {
if ( ! empty( $connections[ $service_name ] ) ) {
foreach ( $connections[ $service_name ] as $id => $connection ) {
- if ( 0 == $connection['connection_data']['user_id'] || $_user_id == $connection['connection_data']['user_id'] ) {
+ if ( $this->is_global_connection( $connection ) || $_user_id === (int) $connection['connection_data']['user_id'] ) {
$connections_to_return[ $id ] = $connection;
}
}
@@ -153,7 +211,12 @@ class Publicize extends Publicize_Base {
return false;
}
- function get_all_connections_for_user() {
+ /**
+ * Get all connections for a specific user.
+ *
+ * @return array|false
+ */
+ public function get_all_connections_for_user() {
$connections = $this->get_all_connections();
$connections_to_return = array();
@@ -174,33 +237,64 @@ class Publicize extends Publicize_Base {
return false;
}
- function get_connection_id( $connection ) {
+ /**
+ * Get the ID of a connection.
+ *
+ * @param array $connection The connection.
+ * @return string
+ */
+ public function get_connection_id( $connection ) {
return $connection['connection_data']['id'];
}
- function get_connection_unique_id( $connection ) {
+ /**
+ * Get the unique ID of a connection.
+ *
+ * @param array $connection The connection.
+ * @return string
+ */
+ public function get_connection_unique_id( $connection ) {
return $connection['connection_data']['token_id'];
}
- function get_connection_meta( $connection ) {
- $connection['user_id'] = $connection['connection_data']['user_id']; // Allows for shared connections
+ /**
+ * Get the meta of a connection.
+ *
+ * @param array $connection The connection.
+ * @return array
+ */
+ public function get_connection_meta( $connection ) {
+ $connection['user_id'] = $connection['connection_data']['user_id']; // Allows for shared connections.
return $connection;
}
- function admin_page_load() {
- if ( isset( $_GET['action'] ) && 'error' === $_GET['action'] ) {
- add_action( 'pre_admin_screen_sharing', array( $this, 'display_connection_error' ), 9 );
+ /**
+ * Show error on settings page if applicable.
+ */
+ public function admin_page_load() {
+ $action = isset( $_GET['action'] ) ? sanitize_text_field( wp_unslash( $_GET['action'] ) ) : null; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+
+ if ( 'error' === $action ) {
+ add_action( 'pre_admin_screen_sharing', array( $this, 'display_connection_error' ), 9 );
}
}
- function display_connection_error() {
+ /**
+ * Display an error message.
+ */
+ public function display_connection_error() {
$code = false;
- if ( isset( $_GET['service'] ) ) {
- $service_name = $_GET['service'];
- $error = sprintf( __( 'There was a problem connecting to %s to create an authorized connection. Please try again in a moment.', 'jetpack' ), Publicize::get_service_label( $service_name ) );
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended
+ $service = isset( $_GET['service'] ) ? sanitize_text_field( wp_unslash( $_GET['service'] ) ) : null;
+ $publicize_error = isset( $_GET['publicize_error'] ) ? sanitize_text_field( wp_unslash( $_GET['publicize_error'] ) ) : null;
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended
+
+ if ( $service ) {
+ /* translators: %s is the name of the Publicize service (e.g. Facebook, Twitter) */
+ $error = sprintf( __( 'There was a problem connecting to %s to create an authorized connection. Please try again in a moment.', 'jetpack' ), self::get_service_label( $service ) );
} else {
- if ( isset( $_GET['publicize_error'] ) ) {
- $code = strtolower( $_GET['publicize_error'] );
+ if ( $publicize_error ) {
+ $code = strtolower( $publicize_error );
switch ( $code ) {
case '400':
$error = __( 'An invalid request was made. This normally means that something intercepted or corrupted the request from your server to the Jetpack Server. Try again and see if it works this time.', 'jetpack' );
@@ -212,6 +306,7 @@ class Publicize extends Publicize_Base {
$error = __( 'No blog_id was included in your request. Please try disconnecting Jetpack from WordPress.com and then reconnecting it. Once you have done that, try connecting Publicize again.', 'jetpack' );
break;
case 'empty_state':
+ /* translators: %s is the URL of the Jetpack admin page */
$error = sprintf( __( 'No user information was included in your request. Please make sure that your user account has connected to Jetpack. Connect your user account by going to the <a href="%s">Jetpack page</a> within wp-admin.', 'jetpack' ), Jetpack::admin_url() );
break;
default:
@@ -222,42 +317,72 @@ class Publicize extends Publicize_Base {
$error = __( 'There was a problem connecting with Publicize. Please try again in a moment.', 'jetpack' );
}
}
- // Using the same formatting/style as Jetpack::admin_notices() error
+ // Using the same formatting/style as Jetpack::admin_notices() error.
?>
<div id="message" class="jetpack-message jetpack-err">
<div class="squeezer">
- <h2><?php echo wp_kses( $error, array( 'a' => array( 'href' => true ),
- 'code' => true,
- 'strong' => true,
- 'br' => true,
- 'b' => true
- ) ); ?></h2>
+ <h2>
+ <?php
+ echo wp_kses(
+ $error,
+ array(
+ 'a' => array(
+ 'href' => true,
+ ),
+ 'code' => true,
+ 'strong' => true,
+ 'br' => true,
+ 'b' => true,
+ )
+ );
+ ?>
+ </h2>
<?php if ( $code ) : ?>
- <p><?php printf( __( 'Error code: %s', 'jetpack' ), esc_html( stripslashes( $code ) ) ); ?></p>
+ <p>
+ <?php
+ printf(
+ /* translators: %s is the name of the error */
+ esc_html__( 'Error code: %s', 'jetpack' ),
+ esc_html( stripslashes( $code ) )
+ );
+ ?>
+ </p>
<?php endif; ?>
</div>
</div>
<?php
}
- function display_disconnected() {
+ /**
+ * Show a message that the connection has been removed.
+ */
+ public function display_disconnected() {
echo "<div class='updated'>\n";
echo '<p>' . esc_html( __( 'That connection has been removed.', 'jetpack' ) ) . "</p>\n";
echo "</div>\n\n";
}
- function globalization() {
- if ( 'on' == $_REQUEST['global'] ) {
- $globalize_connection = $_REQUEST['connection'];
- if ( ! current_user_can( $this->GLOBAL_CAP ) ) {
+ /**
+ * If applicable, globalize a connection.
+ *
+ * @param string $connection_id Connection ID.
+ */
+ public function globalization( $connection_id ) {
+ if ( isset( $_REQUEST['global'] ) && 'on' === $_REQUEST['global'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- nonce check happens earlier in the process before we get here
+ if ( ! current_user_can( $this->GLOBAL_CAP ) ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
return;
}
- $this->globalize_connection( $globalize_connection );
+ $this->globalize_connection( $connection_id );
}
}
- function globalize_connection( $connection_id ) {
+ /**
+ * Globalize a connection.
+ *
+ * @param string $connection_id Connection ID.
+ */
+ public function globalize_connection( $connection_id ) {
$xml = new Jetpack_IXR_Client();
$xml->query( 'jetpack.globalizePublicizeConnection', $connection_id, 'globalize' );
@@ -267,7 +392,12 @@ class Publicize extends Publicize_Base {
}
}
- function unglobalize_connection( $connection_id ) {
+ /**
+ * Unglobalize a connection.
+ *
+ * @param string $connection_id Connection ID.
+ */
+ public function unglobalize_connection( $connection_id ) {
$xml = new Jetpack_IXR_Client();
$xml->query( 'jetpack.globalizePublicizeConnection', $connection_id, 'unglobalize' );
@@ -322,15 +452,36 @@ class Publicize extends Publicize_Base {
set_transient( self::CONNECTION_REFRESH_WAIT_TRANSIENT, microtime( true ), $wait_time );
}
- function connect_url( $service_name, $for = 'publicize' ) {
+ /**
+ * Get the Publicize connect URL from Keyring.
+ *
+ * @param string $service_name Name of the service to get connect URL for.
+ * @param string $for What the URL is for. Default 'publicize'.
+ * @return string
+ */
+ public function connect_url( $service_name, $for = 'publicize' ) {
return Jetpack_Keyring_Service_Helper::connect_url( $service_name, $for );
}
- function refresh_url( $service_name, $for = 'publicize' ) {
+ /**
+ * Get the Publicize refresh URL from Keyring.
+ *
+ * @param string $service_name Name of the service to get refresh URL for.
+ * @param string $for What the URL is for. Default 'publicize'.
+ * @return string
+ */
+ public function refresh_url( $service_name, $for = 'publicize' ) {
return Jetpack_Keyring_Service_Helper::refresh_url( $service_name, $for );
}
- function disconnect_url( $service_name, $id ) {
+ /**
+ * Get the Publicize disconnect URL from Keyring.
+ *
+ * @param string $service_name Name of the service to get disconnect URL for.
+ * @param mixed $id ID of the conenction to disconnect.
+ * @return string
+ */
+ public function disconnect_url( $service_name, $id ) {
return Jetpack_Keyring_Service_Helper::disconnect_url( $service_name, $id );
}
@@ -340,42 +491,61 @@ class Publicize extends Publicize_Base {
* @since 2.0.0
* @since 6.6.0 Removed Path. Service closed October 2018.
*
- * @param string $filter Select the list of services that will be returned. Defaults to 'all', accepts 'connected'.
- *
+ * @param string $filter Select the list of services that will be returned. Defaults to 'all', accepts 'connected'.
+ * @param false|int $_blog_id Get services for a specific blog by ID, or set to false for current blog. Default false.
+ * @param false|int $_user_id Get services for a specific user by ID, or set to false for current user. Default false.
* @return array List of social networks.
*/
- function get_services( $filter = 'all', $_blog_id = false, $_user_id = false ) {
+ public function get_services( $filter = 'all', $_blog_id = false, $_user_id = false ) {
$services = array(
- 'facebook' => array(),
- 'twitter' => array(),
- 'linkedin' => array(),
- 'tumblr' => array(),
+ 'facebook' => array(),
+ 'twitter' => array(),
+ 'linkedin' => array(),
+ 'tumblr' => array(),
);
- if ( 'all' == $filter ) {
+ if ( 'all' === $filter ) {
return $services;
- } else {
- $connected_services = array();
- foreach ( $services as $service_name => $empty ) {
- $connections = $this->get_connections( $service_name, $_blog_id, $_user_id );
- if ( $connections ) {
- $connected_services[ $service_name ] = $connections;
- }
+ }
+
+ $connected_services = array();
+ foreach ( $services as $service_name => $empty ) {
+ $connections = $this->get_connections( $service_name, $_blog_id, $_user_id );
+ if ( $connections ) {
+ $connected_services[ $service_name ] = $connections;
}
- return $connected_services;
}
+ return $connected_services;
}
- function get_connection( $service_name, $id, $_blog_id = false, $_user_id = false ) {
- // Stub
+ /**
+ * Get a specific connection. Stub.
+ *
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param string $connection_id Connection ID.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @return void
+ */
+ public function get_connection( $service_name, $connection_id, $_blog_id = false, $_user_id = false ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ // Stub.
}
- function flag_post_for_publicize( $new_status, $old_status, $post ) {
+ /**
+ * Flag a post for Publicize after publishing.
+ *
+ * @param string $new_status New status of the post.
+ * @param string $old_status Old status of the post.
+ * @param WP_Post $post Post object.
+ */
+ public function flag_post_for_publicize( $new_status, $old_status, $post ) {
if ( ! $this->post_type_is_publicizeable( $post->post_type ) ) {
return;
}
- if ( 'publish' == $new_status && 'publish' != $old_status ) {
+ $should_publicize = $this->should_submit_post_pre_checks( $post );
+
+ if ( 'publish' === $new_status && 'publish' !== $old_status ) {
/**
* Determines whether a post being published gets publicized.
*
@@ -384,26 +554,32 @@ class Publicize extends Publicize_Base {
* @module publicize
*
* @since 4.1.0
+ * @since 10.9 No longer defaults to true. Adds checks to not publicize based on different contexts.
*
* @param bool $should_publicize Should the post be publicized? Default to true.
* @param WP_POST $post Current Post object.
*/
- $should_publicize = apply_filters( 'publicize_should_publicize_published_post', true, $post );
+ $should_publicize = apply_filters( 'publicize_should_publicize_published_post', $should_publicize, $post );
if ( $should_publicize ) {
- update_post_meta( $post->ID, $this->PENDING, true );
+ update_post_meta( $post->ID, $this->PENDING, true ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
}
}
}
- function test_connection( $service_name, $connection ) {
-
+ /**
+ * Test a connection.
+ *
+ * @param string $service_name Name of the service.
+ * @param array $connection Connection to be tested.
+ */
+ public function test_connection( $service_name, $connection ) {
$id = $this->get_connection_id( $connection );
$xml = new Jetpack_IXR_Client();
$xml->query( 'jetpack.testPublicizeConnection', $id );
- // Bail if all is well
+ // Bail if all is well.
if ( ! $xml->isError() ) {
return true;
}
@@ -411,10 +587,10 @@ class Publicize extends Publicize_Base {
$xml_response = $xml->getResponse();
$connection_test_message = $xml_response['faultString'];
- // Set up refresh if the user can
- $user_can_refresh = current_user_can( $this->GLOBAL_CAP );
+ // Set up refresh if the user can.
+ $user_can_refresh = current_user_can( $this->GLOBAL_CAP ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
if ( $user_can_refresh ) {
- $nonce = wp_create_nonce( "keyring-request-" . $service_name );
+ /* translators: %s is the name of a social media service */
$refresh_text = sprintf( _x( 'Refresh connection with %s', 'Refresh connection with {social media service}', 'jetpack' ), $this->get_service_label( $service_name ) );
$refresh_url = $this->refresh_url( $service_name );
}
@@ -422,7 +598,7 @@ class Publicize extends Publicize_Base {
$error_data = array(
'user_can_refresh' => $user_can_refresh,
'refresh_text' => $refresh_text,
- 'refresh_url' => $refresh_url
+ 'refresh_url' => $refresh_url,
);
return new WP_Error( 'pub_conn_test_failed', $connection_test_message, $error_data );
@@ -444,35 +620,50 @@ class Publicize extends Publicize_Base {
public function post_is_done_sharing( $post_id = null ) {
// Defaults to current post if $post_id is null.
$post = get_post( $post_id );
- if ( is_null( $post ) ) {
+ if ( $post === null ) {
return false;
}
- return 'publish' == $post->post_status || get_post_meta( $post->ID, $this->POST_DONE . 'all', true );
+ return 'publish' === $post->post_status || get_post_meta( $post->ID, $this->POST_DONE . 'all', true ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
}
/**
* Save a flag locally to indicate that this post has already been Publicized via the selected
* connections.
+ *
+ * @param int $post_ID Post ID.
+ * @param \WP_Post $post Post object.
*/
- function save_publicized( $post_ID, $post = null, $update = null ) {
- if ( is_null( $post ) ) {
+ public function save_publicized( $post_ID, $post = null ) {
+ if ( $post === null ) {
return;
}
- // Only do this when a post transitions to being published
+ // Only do this when a post transitions to being published.
+ // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
if ( get_post_meta( $post->ID, $this->PENDING ) && $this->post_type_is_publicizeable( $post->post_type ) ) {
delete_post_meta( $post->ID, $this->PENDING );
update_post_meta( $post->ID, $this->POST_DONE . 'all', true );
}
+ // phpcs:enable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
}
- function set_post_flags( $flags, $post ) {
+ /**
+ * Set post flags for Publicize.
+ *
+ * @param array $flags List of flags.
+ * @param \WP_Post $post Post object.
+ * @return array
+ */
+ public function set_post_flags( $flags, $post ) {
$flags['publicize_post'] = false;
if ( ! $this->post_type_is_publicizeable( $post->post_type ) ) {
return $flags;
}
+
+ $should_publicize = $this->should_submit_post_pre_checks( $post );
+
/** This filter is already documented in modules/publicize/publicize-jetpack.php */
- if ( ! apply_filters( 'publicize_should_publicize_published_post', true, $post ) ) {
+ if ( ! apply_filters( 'publicize_should_publicize_published_post', $should_publicize, $post ) ) {
return $flags;
}
@@ -488,25 +679,25 @@ class Publicize extends Publicize_Base {
}
/**
- * Options Code
+ * Render Facebook options.
*/
+ public function options_page_facebook() {
+ $connection_name = isset( $_REQUEST['connection'] ) ? filter_var( wp_unslash( $_REQUEST['connection'] ) ) : '';
+ // Nonce check.
+ check_admin_referer( 'options_page_facebook_' . $connection_name );
- function options_page_facebook() {
$connected_services = $this->get_all_connections();
- $connection = $connected_services['facebook'][ $_REQUEST['connection'] ];
+ $connection = $connected_services['facebook'][ $connection_name ];
$options_to_show = ( ! empty( $connection['connection_data']['meta']['options_responses'] ) ? $connection['connection_data']['meta']['options_responses'] : false );
- // Nonce check
- check_admin_referer( 'options_page_facebook_' . $_REQUEST['connection'] );
-
$pages = ( ! empty( $options_to_show[1]['data'] ) ? $options_to_show[1]['data'] : false );
- $page_selected = false;
+ $page_selected = false;
if ( ! empty( $connection['connection_data']['meta']['facebook_page'] ) ) {
$found = false;
- if ( $pages && isset( $pages->data ) && is_array( $pages->data ) ) {
+ if ( $pages && isset( $pages->data ) && is_array( $pages->data ) ) {
foreach ( $pages->data as $page ) {
- if ( $page->id == $connection['connection_data']['meta']['facebook_page'] ) {
+ if ( $page->id === (int) $connection['connection_data']['meta']['facebook_page'] ) {
$found = true;
break;
}
@@ -514,29 +705,40 @@ class Publicize extends Publicize_Base {
}
if ( $found ) {
- $page_selected = $connection['connection_data']['meta']['facebook_page'];
+ $page_selected = $connection['connection_data']['meta']['facebook_page'];
}
}
?>
<div id="thickbox-content">
-
<?php
ob_start();
Publicize_UI::connected_notice( 'Facebook' );
$update_notice = ob_get_clean();
if ( ! empty( $update_notice ) ) {
- echo $update_notice;
+ echo wp_kses_post( $update_notice );
}
$page_info_message = sprintf(
- __( 'Facebook supports Publicize connections to Facebook Pages, but not to Facebook Profiles. <a href="%s">Learn More about Publicize for Facebook</a>', 'jetpack' ),
+ wp_kses(
+ /* translators: %s is the link to the support page about using Facebook with Publicize */
+ __( 'Facebook supports Publicize connections to Facebook Pages, but not to Facebook Profiles. <a href="%s">Learn More about Publicize for Facebook</a>', 'jetpack' ),
+ array( 'a' => array( 'href' ) )
+ ),
esc_url( Redirect::get_url( 'jetpack-support-publicize-facebook' ) )
);
- if ( $pages ) : ?>
- <p><?php _e( 'Publicize to my <strong>Facebook Page</strong>:', 'jetpack' ); ?></p>
+ if ( $pages ) :
+ ?>
+ <p>
+ <?php
+ echo wp_kses(
+ __( 'Publicize to my <strong>Facebook Page</strong>:', 'jetpack' ),
+ array( 'strong' )
+ );
+ ?>
+ </p>
<table id="option-fb-fanpage">
<tbody>
@@ -544,20 +746,25 @@ class Publicize extends Publicize_Base {
<?php if ( ! ( $i % 2 ) ) : ?>
<tr>
<?php endif; ?>
- <td class="radio"><input type="radio" name="option" data-type="page"
- id="<?php echo esc_attr( $page['id'] ) ?>"
- value="<?php echo esc_attr( $page['id'] ) ?>" <?php checked( $page_selected && $page_selected == $page['id'], true ); ?> />
+ <td class="radio">
+ <input
+ type="radio"
+ name="option"
+ data-type="page"
+ id="<?php echo esc_attr( $page['id'] ); ?>"
+ value="<?php echo esc_attr( $page['id'] ); ?>"
+ <?php checked( $page_selected && (int) $page_selected === (int) $page['id'], true ); ?> />
</td>
- <td class="thumbnail"><label for="<?php echo esc_attr( $page['id'] ) ?>"><img
- src="<?php echo esc_url( str_replace( '_s', '_q', $page['picture']['data']['url'] ) ) ?>"
+ <td class="thumbnail"><label for="<?php echo esc_attr( $page['id'] ); ?>"><img
+ src="<?php echo esc_url( str_replace( '_s', '_q', $page['picture']['data']['url'] ) ); ?>"
width="50" height="50"/></label></td>
<td class="details">
- <label for="<?php echo esc_attr( $page['id'] ) ?>">
- <span class="name"><?php echo esc_html( $page['name'] ) ?></span><br/>
- <span class="category"><?php echo esc_html( $page['category'] ) ?></span>
+ <label for="<?php echo esc_attr( $page['id'] ); ?>">
+ <span class="name"><?php echo esc_html( $page['name'] ); ?></span><br/>
+ <span class="category"><?php echo esc_html( $page['category'] ); ?></span>
</label>
</td>
- <?php if ( ( $i % 2 ) || ( $i == count( $pages ) - 1 ) ): ?>
+ <?php if ( ( $i % 2 ) || ( count( $pages ) - 1 === $i ) ) : ?>
</tr>
<?php endif; ?>
<?php endforeach; ?>
@@ -565,53 +772,75 @@ class Publicize extends Publicize_Base {
</tbody>
</table>
- <?php Publicize_UI::global_checkbox( 'facebook', $_REQUEST['connection'] ); ?>
+ <?php Publicize_UI::global_checkbox( 'facebook', $connection_name ); ?>
<p style="text-align: center;">
- <input type="submit" value="<?php esc_attr_e( 'OK', 'jetpack' ) ?>"
- class="button fb-options save-options" name="save"
- data-connection="<?php echo esc_attr( $_REQUEST['connection'] ); ?>"
- rel="<?php echo wp_create_nonce( 'save_fb_token_' . $_REQUEST['connection'] ) ?>"/>
+ <input type="submit" value="<?php esc_attr_e( 'OK', 'jetpack' ); ?>"
+ class="button fb-options save-options" name="save"
+ data-connection="<?php echo esc_attr( $connection_name ); ?>"
+ rel="<?php echo esc_attr( wp_create_nonce( 'save_fb_token_' . $connection_name ) ); ?>"/>
</p><br/>
+ <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<p><?php echo $page_info_message; ?></p>
- <?php else: ?>
+ <?php else : ?>
<div>
+ <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<p><?php echo $page_info_message; ?></p>
- <p><?php printf( __( '<a class="button" href="%s" target="%s">Create a Facebook page</a> to get started.', 'jetpack' ), 'https://www.facebook.com/pages/creation/', '_blank noopener noreferrer' ); ?></p>
+ <p>
+ <?php
+ echo wp_kses(
+ sprintf(
+ /* translators: %1$s is the link to Facebook documentation to create a page, %2$s is the target of the link */
+ __( '<a class="button" href="%1$s" target="%2$s">Create a Facebook page</a> to get started.', 'jetpack' ),
+ 'https://www.facebook.com/pages/creation/',
+ '_blank noopener noreferrer'
+ ),
+ array( 'a' => array( 'class', 'href', 'target' ) )
+ );
+ ?>
+ </p>
</div>
<?php endif; ?>
</div>
<?php
}
- function options_save_facebook() {
- // Nonce check
- check_admin_referer( 'save_fb_token_' . $_REQUEST['connection'] );
+ /**
+ * Save Facebook options.
+ */
+ public function options_save_facebook() {
+ $connection_name = isset( $_REQUEST['connection'] ) ? filter_var( wp_unslash( $_REQUEST['connection'] ) ) : '';
+ // Nonce check.
+ check_admin_referer( 'save_fb_token_' . $connection_name );
+
+ if ( ! isset( $_POST['type'] ) || 'page' !== $_POST['type'] || ! isset( $_POST['selected_id'] ) ) {
+ return;
+ }
- // Check for a numeric page ID
- $page_id = $_POST['selected_id'];
+ // Check for a numeric page ID.
+ $page_id = $_POST['selected_id']; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- Manually validated just below
if ( ! ctype_digit( $page_id ) ) {
die( 'Security check' );
}
- if ( 'page' != $_POST['type'] || ! isset( $_POST['selected_id'] ) ) {
- return;
- }
-
- // Publish to Page
+ // Publish to Page.
$options = array(
'facebook_page' => $page_id,
- 'facebook_profile' => null
+ 'facebook_profile' => null,
);
- $this->set_remote_publicize_options( $_POST['connection'], $options );
+ $this->set_remote_publicize_options( $connection_name, $options );
}
- function options_page_tumblr() {
- // Nonce check
- check_admin_referer( 'options_page_tumblr_' . $_REQUEST['connection'] );
+ /**
+ * Render Tumblr options.
+ */
+ public function options_page_tumblr() {
+ $connection_name = isset( $_REQUEST['connection'] ) ? filter_var( wp_unslash( $_REQUEST['connection'] ) ) : '';
+ // Nonce check.
+ check_admin_referer( 'options_page_tumblr_' . $connection_name );
$connected_services = $this->get_all_connections();
- $connection = $connected_services['tumblr'][ $_POST['connection'] ];
+ $connection = $connected_services['tumblr'][ $connection_name ];
$options_to_show = $connection['connection_data']['meta']['options_responses'];
$request = $options_to_show[0];
@@ -621,22 +850,22 @@ class Publicize extends Publicize_Base {
if ( ! empty( $connection['connection_data']['meta']['tumblr_base_hostname'] ) ) {
foreach ( $blogs as $blog ) {
- if ( $connection['connection_data']['meta']['tumblr_base_hostname'] == $this->get_basehostname( $blog['url'] ) ) {
+ if ( $connection['connection_data']['meta']['tumblr_base_hostname'] === $this->get_basehostname( $blog['url'] ) ) {
$blog_selected = $connection['connection_data']['meta']['tumblr_base_hostname'];
break;
}
}
-
}
- // Use their Primary blog if they haven't selected one yet
+ // Use their Primary blog if they haven't selected one yet.
if ( ! $blog_selected ) {
foreach ( $blogs as $blog ) {
if ( $blog['primary'] ) {
$blog_selected = $this->get_basehostname( $blog['url'] );
}
}
- } ?>
+ }
+ ?>
<div id="thickbox-content">
@@ -646,90 +875,128 @@ class Publicize extends Publicize_Base {
$update_notice = ob_get_clean();
if ( ! empty( $update_notice ) ) {
- echo $update_notice;
+ echo wp_kses_post( $update_notice );
}
?>
- <p><?php _e( 'Publicize to my <strong>Tumblr blog</strong>:', 'jetpack' ); ?></p>
+ <p><?php echo wp_kses( __( 'Publicize to my <strong>Tumblr blog</strong>:', 'jetpack' ), array( 'strong' ) ); ?></p>
<ul id="option-tumblr-blog">
<?php
foreach ( $blogs as $blog ) {
- $url = $this->get_basehostname( $blog['url'] ); ?>
+ $url = $this->get_basehostname( $blog['url'] );
+ ?>
<li>
- <input type="radio" name="option" data-type="blog" id="<?php echo esc_attr( $url ) ?>"
- value="<?php echo esc_attr( $url ) ?>" <?php checked( $blog_selected == $url, true ); ?> />
- <label for="<?php echo esc_attr( $url ) ?>"><span
- class="name"><?php echo esc_html( $blog['title'] ) ?></span></label>
+ <input type="radio" name="option" data-type="blog" id="<?php echo esc_attr( $url ); ?>"
+ value="<?php echo esc_attr( $url ); ?>" <?php checked( $blog_selected === $url, true ); ?> />
+ <label for="<?php echo esc_attr( $url ); ?>"><span
+ class="name"><?php echo esc_html( $blog['title'] ); ?></span></label>
</li>
<?php } ?>
</ul>
- <?php Publicize_UI::global_checkbox( 'tumblr', $_REQUEST['connection'] ); ?>
+ <?php Publicize_UI::global_checkbox( 'tumblr', $connection_name ); ?>
<p style="text-align: center;">
- <input type="submit" value="<?php esc_attr_e( 'OK', 'jetpack' ) ?>"
- class="button tumblr-options save-options" name="save"
- data-connection="<?php echo esc_attr( $_REQUEST['connection'] ); ?>"
- rel="<?php echo wp_create_nonce( 'save_tumblr_blog_' . $_REQUEST['connection'] ) ?>"/>
+ <input type="submit" value="<?php esc_attr_e( 'OK', 'jetpack' ); ?>"
+ class="button tumblr-options save-options" name="save"
+ data-connection="<?php echo esc_attr( $connection_name ); ?>"
+ rel="<?php echo esc_attr( wp_create_nonce( 'save_tumblr_blog_' . $connection_name ) ); ?>"/>
</p> <br/>
</div>
<?php
}
- function get_basehostname( $url ) {
+ /**
+ * Get the hostname from a URL.
+ *
+ * @param string $url The URL to extract the hostname from.
+ * @return string|false|null
+ */
+ public function get_basehostname( $url ) {
return wp_parse_url( $url, PHP_URL_HOST );
}
- function options_save_tumblr() {
- // Nonce check
- check_admin_referer( 'save_tumblr_blog_' . $_REQUEST['connection'] );
- $options = array( 'tumblr_base_hostname' => $_POST['selected_id'] );
+ /**
+ * Save Tumblr options.
+ */
+ public function options_save_tumblr() {
+ $connection_name = isset( $_REQUEST['connection'] ) ? filter_var( wp_unslash( $_REQUEST['connection'] ) ) : '';
+ // Nonce check.
+ check_admin_referer( 'save_tumblr_blog_' . $connection_name );
+ $options = array( 'tumblr_base_hostname' => isset( $_POST['selected_id'] ) ? sanitize_text_field( wp_unslash( $_POST['selected_id'] ) ) : null );
- $this->set_remote_publicize_options( $_POST['connection'], $options );
+ $this->set_remote_publicize_options( $connection_name, $options );
}
- function set_remote_publicize_options( $id, $options ) {
+ /**
+ * Set remote Publicize options.
+ *
+ * @param int $id Connection ID.
+ * @param array $options Options to set.
+ */
+ public function set_remote_publicize_options( $id, $options ) {
$xml = new Jetpack_IXR_Client();
$xml->query( 'jetpack.setPublicizeOptions', $id, $options );
if ( ! $xml->isError() ) {
$response = $xml->getResponse();
Jetpack_Options::update_option( 'publicize_connections', $response );
- $this->globalization();
+ $this->globalization( $id );
}
}
- function options_page_twitter() {
+ /**
+ * Render the options page for Twitter.
+ */
+ public function options_page_twitter() {
Publicize_UI::options_page_other( 'twitter' );
}
- function options_page_linkedin() {
+ /**
+ * Render the options page for LinkedIn.
+ */
+ public function options_page_linkedin() {
Publicize_UI::options_page_other( 'linkedin' );
}
- function options_save_twitter() {
+ /**
+ * Save the options page for Twitter.
+ */
+ public function options_save_twitter() {
$this->options_save_other( 'twitter' );
}
- function options_save_linkedin() {
+ /**
+ * Save the options page for LinkedIn.
+ */
+ public function options_save_linkedin() {
$this->options_save_other( 'linkedin' );
}
- function options_save_other( $service_name ) {
- // Nonce check
- check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] );
- $this->globalization();
+ /**
+ * Save the options page for a service.
+ *
+ * @param string $service_name Name of the service to save options for.
+ */
+ public function options_save_other( $service_name ) {
+ $connection_name = isset( $_REQUEST['connection'] ) ? filter_var( wp_unslash( $_REQUEST['connection'] ) ) : '';
+ // Nonce check.
+ check_admin_referer( 'save_' . $service_name . '_token_' . $connection_name );
+
+ $this->globalization( $connection_name );
}
/**
* If there's only one shared connection to Twitter set it as twitter:site tag.
+ *
+ * @param string $tag Tag.
*/
- function enhaced_twitter_cards_site_tag( $tag ) {
+ public function enhaced_twitter_cards_site_tag( $tag ) {
$custom_site_tag = get_option( 'jetpack-twitter-cards-site-tag' );
if ( ! empty( $custom_site_tag ) ) {
return $tag;
@@ -740,8 +1007,8 @@ class Publicize extends Publicize_Base {
$connections = $this->get_connections( 'twitter' );
foreach ( $connections as $connection ) {
$connection_meta = $this->get_connection_meta( $connection );
- if ( 0 == $connection_meta['connection_data']['user_id'] ) {
- // If the connection is shared
+ if ( $this->is_global_connection( $connection_meta ) ) {
+ // If the connection is shared.
return $this->get_display_name( 'twitter', $connection );
}
}
@@ -749,17 +1016,32 @@ class Publicize extends Publicize_Base {
return $tag;
}
- function save_publicized_twitter_account( $submit_post, $post_id, $service_name, $connection ) {
- if ( 'twitter' == $service_name && $submit_post ) {
+ /**
+ * Save the Publicized Twitter account when publishing a post.
+ *
+ * @param bool $submit_post Should the post be publicized.
+ * @param int $post_id Post ID.
+ * @param string $service_name Service name.
+ * @param array $connection Array of connection details.
+ */
+ public function save_publicized_twitter_account( $submit_post, $post_id, $service_name, $connection ) {
+ if ( 'twitter' === $service_name && $submit_post ) {
$connection_meta = $this->get_connection_meta( $connection );
$publicize_twitter_user = get_post_meta( $post_id, '_publicize_twitter_user' );
- if ( empty( $publicize_twitter_user ) || 0 != $connection_meta['connection_data']['user_id'] ) {
+ if ( empty( $publicize_twitter_user ) || ! $this->is_global_connection( $connection_meta ) ) {
update_post_meta( $post_id, '_publicize_twitter_user', $this->get_display_name( 'twitter', $connection ) );
}
}
}
- function get_publicized_twitter_account( $account, $post_id ) {
+ /**
+ * Get the Twitter username.
+ *
+ * @param string $account Twitter username.
+ * @param int $post_id ID of the post.
+ * @return string
+ */
+ public function get_publicized_twitter_account( $account, $post_id ) {
if ( ! empty( $account ) ) {
return $account;
}
@@ -774,12 +1056,17 @@ class Publicize extends Publicize_Base {
/**
* Save the Publicized Facebook account when publishing a post
* Use only Personal accounts, not Facebook Pages
+ *
+ * @param bool $submit_post Should the post be publicized.
+ * @param int $post_id Post ID.
+ * @param string $service_name Service name.
+ * @param array $connection Array of connection details.
*/
- function save_publicized_facebook_account( $submit_post, $post_id, $service_name, $connection ) {
+ public function save_publicized_facebook_account( $submit_post, $post_id, $service_name, $connection ) {
$connection_meta = $this->get_connection_meta( $connection );
- if ( 'facebook' == $service_name && isset( $connection_meta['connection_data']['meta']['facebook_profile'] ) && $submit_post ) {
+ if ( 'facebook' === $service_name && isset( $connection_meta['connection_data']['meta']['facebook_profile'] ) && $submit_post ) {
$publicize_facebook_user = get_post_meta( $post_id, '_publicize_facebook_user' );
- if ( empty( $publicize_facebook_user ) || 0 != $connection_meta['connection_data']['user_id'] ) {
+ if ( empty( $publicize_facebook_user ) || ! $this->is_global_connection( $connection_meta ) ) {
$profile_link = $this->get_profile_link( 'facebook', $connection );
if ( false !== $profile_link ) {
diff --git a/plugins/jetpack/modules/publicize/publicize.php b/plugins/jetpack/modules/publicize/publicize.php
index 32d43d09..d211c5d1 100644
--- a/plugins/jetpack/modules/publicize/publicize.php
+++ b/plugins/jetpack/modules/publicize/publicize.php
@@ -1,28 +1,49 @@
-<?php
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Publicize_Base class.
+ *
+ * @package automattic/jetpack
+ */
+
// phpcs:disable WordPress.NamingConventions.ValidVariableName
use Automattic\Jetpack\Redirect;
use Automattic\Jetpack\Status;
+/**
+ * Base class for Publicize.
+ */
abstract class Publicize_Base {
/**
- * Services that are currently connected to the given user
- * through publicize.
- */
+ * Services that are currently connected to the given user
+ * through Publicize.
+ *
+ * @var array
+ */
public $connected_services = array();
/**
- * Services that are supported by publicize. They don't
- * necessarily need to be connected to the current user.
- */
+ * Services that are supported by publicize. They don't
+ * necessarily need to be connected to the current user.
+ *
+ * @var array
+ */
public $services;
/**
- * key names for post meta
- */
- public $ADMIN_PAGE = 'wpas';
- public $POST_MESS = '_wpas_mess';
+ * Post meta key for admin page.
+ *
+ * @var string
+ */
+ public $ADMIN_PAGE = 'wpas';
+
+ /**
+ * Post meta key for post message.
+ *
+ * @var string
+ */
+ public $POST_MESS = '_wpas_mess';
/**
* Post meta key for flagging when the post is a tweetstorm.
@@ -38,75 +59,135 @@ abstract class Publicize_Base {
*/
const POST_PUBLICIZE_FEATURE_ENABLED = '_wpas_feature_enabled';
- public $POST_SKIP = '_wpas_skip_'; // connection id appended to indicate that a connection should NOT be publicized to
- public $POST_DONE = '_wpas_done_'; // connection id appended to indicate a connection has already been publicized to
- public $USER_AUTH = 'wpas_authorize';
- public $USER_OPT = 'wpas_';
- public $PENDING = '_publicize_pending'; // ready for Publicize to do its thing
- public $POST_SERVICE_DONE = '_publicize_done_external'; // array of external ids where we've Publicized
+ /**
+ * Connection ID appended to indicate that a connection should NOT be publicized to.
+ *
+ * @var string
+ */
+ public $POST_SKIP = '_wpas_skip_';
+
+ /**
+ * Connection ID appended to indicate a connection has already been publicized to.
+ *
+ * @var string
+ */
+ public $POST_DONE = '_wpas_done_';
+
+ /**
+ * Prefix for user authorization (used in publicize-wpcom.php)
+ *
+ * @var string
+ */
+ public $USER_AUTH = 'wpas_authorize';
+
+ /**
+ * Prefix for user opt.
+ *
+ * @var string
+ */
+ public $USER_OPT = 'wpas_';
+
+ /**
+ * Ready for Publicize to do its thing.
+ *
+ * @var string
+ */
+ public $PENDING = '_publicize_pending';
+
+ /**
+ * Array of external IDs where we've Publicized.
+ *
+ * @var string
+ */
+ public $POST_SERVICE_DONE = '_publicize_done_external';
+
+ /**
+ * Default pieces of the message used in constructing the
+ * content pushed out to other social networks.
+ */
/**
- * default pieces of the message used in constructing the
- * content pushed out to other social networks
- */
+ * Default prefix.
+ *
+ * @var string
+ */
+ public $default_prefix = '';
- public $default_prefix = '';
+ /**
+ * Default message.
+ *
+ * @var string
+ */
public $default_message = '%title%';
- public $default_suffix = ' ';
+
+ /**
+ * Default suffix.
+ *
+ * @var string
+ */
+ public $default_suffix = ' ';
/**
* What WP capability is require to create/delete global connections?
* All users with this cap can un-globalize all other global connections, and globalize any of their own
* Globalized connections cannot be unselected by users without this capability when publishing
+ *
+ * @var string
*/
public $GLOBAL_CAP = 'publish_posts';
/**
- * Sets up the basics of Publicize
- */
- function __construct() {
- $this->default_message = self::build_sprintf( array(
- /**
- * Filter the default Publicize message.
- *
- * @module publicize
- *
- * @since 2.0.0
- *
- * @param string $this->default_message Publicize's default message. Default is the post title.
- */
- apply_filters( 'wpas_default_message', $this->default_message ),
- 'title',
- 'url',
- ) );
-
- $this->default_prefix = self::build_sprintf( array(
- /**
- * Filter the message prepended to the Publicize custom message.
- *
- * @module publicize
- *
- * @since 2.0.0
- *
- * @param string $this->default_prefix String prepended to the Publicize custom message.
- */
- apply_filters( 'wpas_default_prefix', $this->default_prefix ),
- 'url',
- ) );
-
- $this->default_suffix = self::build_sprintf( array(
- /**
- * Filter the message appended to the Publicize custom message.
- *
- * @module publicize
- *
- * @since 2.0.0
- *
- * @param string $this->default_suffix String appended to the Publicize custom message.
- */
- apply_filters( 'wpas_default_suffix', $this->default_suffix ),
- 'url',
- ) );
+ * Sets up the basics of Publicize.
+ */
+ public function __construct() {
+ $this->default_message = self::build_sprintf(
+ array(
+ /**
+ * Filter the default Publicize message.
+ *
+ * @module publicize
+ *
+ * @since 2.0.0
+ *
+ * @param string $this->default_message Publicize's default message. Default is the post title.
+ */
+ apply_filters( 'wpas_default_message', $this->default_message ),
+ 'title',
+ 'url',
+ )
+ );
+
+ $this->default_prefix = self::build_sprintf(
+ array(
+ /**
+ * Filter the message prepended to the Publicize custom message.
+ *
+ * @module publicize
+ *
+ * @since 2.0.0
+ *
+ * @param string $this->default_prefix String prepended to the Publicize custom message.
+ */
+ apply_filters( 'wpas_default_prefix', $this->default_prefix ),
+ 'url',
+ )
+ );
+
+ $this->default_suffix = self::build_sprintf(
+ array(
+ /**
+ * Filter the message appended to the Publicize custom message.
+ *
+ * @module publicize
+ *
+ * @since 2.0.0
+ *
+ * @param string $this->default_suffix String appended to the Publicize custom message.
+ */
+ apply_filters( 'wpas_default_suffix', $this->default_suffix ),
+ 'url',
+ )
+ );
/**
* Filter the capability to change global Publicize connection options.
@@ -123,17 +204,17 @@ abstract class Publicize_Base {
$this->GLOBAL_CAP = apply_filters( 'jetpack_publicize_global_connections_cap', $this->GLOBAL_CAP );
// stage 1 and 2 of 3-stage Publicize. Flag for Publicize on creation, save meta,
- // then check meta and publicize based on that. stage 3 implemented on wpcom
+ // then check meta and publicize based on that. stage 3 implemented on wpcom.
add_action( 'transition_post_status', array( $this, 'flag_post_for_publicize' ), 10, 3 );
- add_action( 'save_post', array( &$this, 'save_meta' ), 20, 2 );
+ add_action( 'save_post', array( $this, 'save_meta' ), 20, 2 );
- // Default checkbox state for each Connection
- add_filter( 'publicize_checkbox_default', array( $this, 'publicize_checkbox_default' ), 10, 4 );
+ // Default checkbox state for each Connection.
+ add_filter( 'publicize_checkbox_default', array( $this, 'publicize_checkbox_default' ), 10, 2 );
// Alter the "Post Publish" admin notice to mention the Connections we Publicized to.
add_filter( 'post_updated_messages', array( $this, 'update_published_message' ), 20, 1 );
- // Connection test callback
+ // Connection test callback.
add_action( 'wp_ajax_test_publicize_conns', array( $this, 'test_publicize_conns' ) );
add_action( 'init', array( $this, 'add_post_type_support' ) );
@@ -141,42 +222,40 @@ abstract class Publicize_Base {
add_action( 'jetpack_register_gutenberg_extensions', array( $this, 'register_gutenberg_extension' ) );
}
-/*
- * Services: Facebook, Twitter, etc.
- */
+ /**
+ * Services: Facebook, Twitter, etc.
+ */
/**
* Get services for the given blog and user.
*
* Can return all available services or just the ones with an active connection.
*
- * @param string $filter
- * 'all' (default) - Get all services available for connecting
- * 'connected' - Get all services currently connected
- * @param false|int $_blog_id The blog ID. Use false (default) for the current blog
- * @param false|int $_user_id The user ID. Use false (default) for the current user
+ * @param string $filter Type of filter.
+ * 'all' (default) - Get all services available for connecting.
+ * 'connected' - Get all services currently connected.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
* @return array
*/
- abstract function get_services( $filter = 'all', $_blog_id = false, $_user_id = false );
-
- function can_connect_service( $service_name ) {
- return true;
- }
+ abstract public function get_services( $filter = 'all', $_blog_id = false, $_user_id = false );
/**
* Does the given user have a connection to the service on the given blog?
*
- * @param string $service_name 'facebook', 'twitter', etc.
- * @param false|int $_blog_id The blog ID. Use false (default) for the current blog
- * @param false|int $_user_id The user ID. Use false (default) for the current user
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
* @return bool
*/
- function is_enabled( $service_name, $_blog_id = false, $_user_id = false ) {
- if ( !$_blog_id )
+ public function is_enabled( $service_name, $_blog_id = false, $_user_id = false ) {
+ if ( ! $_blog_id ) {
$_blog_id = $this->blog_id();
+ }
- if ( !$_user_id )
+ if ( ! $_user_id ) {
$_user_id = $this->user_id();
+ }
$connections = $this->get_connections( $service_name, $_blog_id, $_user_id );
return ( is_array( $connections ) && count( $connections ) > 0 ? true : false );
@@ -191,7 +270,7 @@ abstract class Publicize_Base {
* @param string $service_name 'facebook', 'twitter', etc.
* @return string
*/
- abstract function connect_url( $service_name );
+ abstract public function connect_url( $service_name );
/**
* Generates a Connection refresh URL.
@@ -202,7 +281,7 @@ abstract class Publicize_Base {
* @param string $service_name 'facebook', 'twitter', etc.
* @return string
*/
- abstract function refresh_url( $service_name );
+ abstract public function refresh_url( $service_name );
/**
* Generates a disconnection URL.
@@ -211,10 +290,10 @@ abstract class Publicize_Base {
* with the service.
*
* @param string $service_name 'facebook', 'twitter', etc.
- * @param string $connection_id Connection ID
+ * @param string $connection_id Connection ID.
* @return string
*/
- abstract function disconnect_url( $service_name, $connection_id );
+ abstract public function disconnect_url( $service_name, $connection_id );
/**
* Returns a display name for the Service
@@ -226,49 +305,46 @@ abstract class Publicize_Base {
switch ( $service_name ) {
case 'linkedin':
return 'LinkedIn';
- break;
case 'google_drive': // google-drive used to be called google_drive.
case 'google-drive':
return 'Google Drive';
- break;
case 'twitter':
case 'facebook':
case 'tumblr':
default:
return ucfirst( $service_name );
- break;
}
}
-/*
- * Connections: For each Service, there can be multiple connections
- * for a given user. For example, one user could be connected to Twitter
- * as both @jetpack and as @wordpressdotcom
- *
- * For historical reasons, Connections are represented as an object
- * on WordPress.com and as an array in Jetpack.
- */
+ /**
+ * Connections: For each Service, there can be multiple connections
+ * for a given user. For example, one user could be connected to Twitter
+ * as both @jetpack and as @wordpressdotcom
+ *
+ * For historical reasons, Connections are represented as an object
+ * on WordPress.com and as an array in Jetpack.
+ */
/**
* Get the active Connections of a Service
*
- * @param string $service_name 'facebook', 'twitter', etc.
- * @param false|int $_blog_id The blog ID. Use false (default) for the current blog
- * @param false|int $_user_id The user ID. Use false (default) for the current user
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
* @return false|object[]|array[] false if no connections exist
*/
- abstract function get_connections( $service_name, $_blog_id = false, $_user_id = false );
+ abstract public function get_connections( $service_name, $_blog_id = false, $_user_id = false );
/**
* Get a single Connection of a Service
*
- * @param string $service_name 'facebook', 'twitter', etc.
- * @param string $connection_id Connection ID
- * @param false|int $_blog_id The blog ID. Use false (default) for the current blog
- * @param false|int $_user_id The user ID. Use false (default) for the current user
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param string $connection_id Connection ID.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
* @return false|object[]|array[] false if no connections exist
*/
- abstract function get_connection( $service_name, $connection_id, $_blog_id = false, $_user_id = false );
+ abstract public function get_connection( $service_name, $connection_id, $_blog_id = false, $_user_id = false );
/**
* Get the Connection ID.
@@ -278,10 +354,10 @@ abstract class Publicize_Base {
* Via a quirk of history, ID is globally unique and unique_id
* is only unique per site.
*
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
* @return string
*/
- abstract function get_connection_id( $connection );
+ abstract public function get_connection_id( $connection );
/**
* Get the Connection unique_id
@@ -291,77 +367,88 @@ abstract class Publicize_Base {
* Via a quirk of history, ID is globally unique and unique_id
* is only unique per site.
*
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
* @return string
*/
- abstract function get_connection_unique_id( $connection );
+ abstract public function get_connection_unique_id( $connection );
/**
* Get the Connection's Meta data
*
- * @param object|array Connection
+ * @param object|array $connection Connection.
* @return array Connection Meta
*/
- abstract function get_connection_meta( $connection );
+ abstract public function get_connection_meta( $connection );
/**
* Disconnect a Connection
*
- * @param string $service_name 'facebook', 'twitter', etc.
- * @param string $connection_id Connection ID
- * @param false|int $_blog_id The blog ID. Use false (default) for the current blog
- * @param false|int $_user_id The user ID. Use false (default) for the current user
- * @param bool $force_delete Whether to skip permissions checks
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param string $connection_id Connection ID.
+ * @param false|int $_blog_id The blog ID. Use false (default) for the current blog.
+ * @param false|int $_user_id The user ID. Use false (default) for the current user.
+ * @param bool $force_delete Whether to skip permissions checks.
* @return false|void False on failure. Void on success.
*/
- abstract function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false );
+ abstract public function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false );
/**
* Globalizes a Connection
*
- * @param string $connection_id Connection ID
+ * @param string $connection_id Connection ID.
* @return bool Falsey on failure. Truthy on success.
*/
- abstract function globalize_connection( $connection_id );
+ abstract public function globalize_connection( $connection_id );
/**
* Unglobalizes a Connection
*
- * @param string $connection_id Connection ID
+ * @param string $connection_id Connection ID.
* @return bool Falsey on failure. Truthy on success.
*/
- abstract function unglobalize_connection( $connection_id );
+ abstract public function unglobalize_connection( $connection_id );
/**
* Returns an external URL to the Connection's profile
*
- * @param string $service_name 'facebook', 'twitter', etc.
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
* @return false|string False on failure. URL on success.
*/
- function get_profile_link( $service_name, $connection ) {
+ public function get_profile_link( $service_name, $connection ) {
$cmeta = $this->get_connection_meta( $connection );
if ( isset( $cmeta['connection_data']['meta']['link'] ) ) {
- if ( 'facebook' == $service_name && 0 === strpos( wp_parse_url( $cmeta['connection_data']['meta']['link'], PHP_URL_PATH ), '/app_scoped_user_id/' ) ) {
- // App-scoped Facebook user IDs are not usable profile links
+ if ( 'facebook' === $service_name && 0 === strpos( wp_parse_url( $cmeta['connection_data']['meta']['link'], PHP_URL_PATH ), '/app_scoped_user_id/' ) ) {
+ // App-scoped Facebook user IDs are not usable profile links.
return false;
}
return $cmeta['connection_data']['meta']['link'];
- } elseif ( 'facebook' == $service_name && isset( $cmeta['connection_data']['meta']['facebook_page'] ) ) {
+ }
+
+ if ( 'facebook' === $service_name && isset( $cmeta['connection_data']['meta']['facebook_page'] ) ) {
return 'https://facebook.com/' . $cmeta['connection_data']['meta']['facebook_page'];
- } elseif ( 'tumblr' == $service_name && isset( $cmeta['connection_data']['meta']['tumblr_base_hostname'] ) ) {
- return 'https://' . $cmeta['connection_data']['meta']['tumblr_base_hostname'];
- } elseif ( 'twitter' == $service_name ) {
- return 'https://twitter.com/' . substr( $cmeta['external_display'], 1 ); // Has a leading '@'
- } else if ( 'linkedin' == $service_name ) {
- if ( !isset( $cmeta['connection_data']['meta']['profile_url'] ) ) {
+ }
+
+ if ( 'tumblr' === $service_name && isset( $cmeta['connection_data']['meta']['tumblr_base_hostname'] ) ) {
+ return 'https://' . $cmeta['connection_data']['meta']['tumblr_base_hostname'];
+ }
+
+ if ( 'twitter' === $service_name ) {
+ return 'https://twitter.com/' . substr( $cmeta['external_display'], 1 ); // Has a leading '@'.
+ }
+
+ if ( 'linkedin' === $service_name ) {
+ if ( ! isset( $cmeta['connection_data']['meta']['profile_url'] ) ) {
return false;
}
$profile_url_query = wp_parse_url( $cmeta['connection_data']['meta']['profile_url'], PHP_URL_QUERY );
wp_parse_str( $profile_url_query, $profile_url_query_args );
+
+ $id = null;
+
if ( isset( $profile_url_query_args['key'] ) ) {
$id = $profile_url_query_args['key'];
} elseif ( isset( $profile_url_query_args['id'] ) ) {
@@ -370,34 +457,41 @@ abstract class Publicize_Base {
return false;
}
- return esc_url_raw( add_query_arg( 'id', urlencode( $id ), 'https://www.linkedin.com/profile/view' ) );
- } else {
- return false; // no fallback. we just won't link it
+ return esc_url_raw( add_query_arg( 'id', rawurlencode( $id ), 'https://www.linkedin.com/profile/view' ) );
}
+
+ return false; // no fallback. we just won't link it.
}
/**
* Returns a display name for the Connection
*
- * @param string $service_name 'facebook', 'twitter', etc.
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
* @return string
*/
- function get_display_name( $service_name, $connection ) {
+ public function get_display_name( $service_name, $connection ) {
$cmeta = $this->get_connection_meta( $connection );
if ( isset( $cmeta['connection_data']['meta']['display_name'] ) ) {
return $cmeta['connection_data']['meta']['display_name'];
- } elseif ( $service_name == 'tumblr' && isset( $cmeta['connection_data']['meta']['tumblr_base_hostname'] ) ) {
- return $cmeta['connection_data']['meta']['tumblr_base_hostname'];
- } elseif ( $service_name == 'twitter' ) {
+ }
+
+ if ( 'tumblr' === $service_name && isset( $cmeta['connection_data']['meta']['tumblr_base_hostname'] ) ) {
+ return $cmeta['connection_data']['meta']['tumblr_base_hostname'];
+ }
+
+ if ( 'twitter' === $service_name ) {
return $cmeta['external_display'];
- } else {
- $connection_display = $cmeta['external_display'];
- if ( empty( $connection_display ) )
- $connection_display = $cmeta['external_name'];
- return $connection_display;
}
+
+ $connection_display = $cmeta['external_display'];
+
+ if ( empty( $connection_display ) ) {
+ $connection_display = $cmeta['external_name'];
+ }
+
+ return $connection_display;
}
/**
@@ -419,60 +513,81 @@ abstract class Publicize_Base {
/**
* Whether the user needs to select additional options after connecting
*
- * @param string $service_name 'facebook', 'twitter', etc.
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param string $service_name 'facebook', 'twitter', etc.
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
* @return bool
*/
- function show_options_popup( $service_name, $connection ) {
+ public function show_options_popup( $service_name, $connection ) {
$cmeta = $this->get_connection_meta( $connection );
- // always show if no selection has been made for facebook
- if ( 'facebook' == $service_name && empty( $cmeta['connection_data']['meta']['facebook_profile'] ) && empty( $cmeta['connection_data']['meta']['facebook_page'] ) )
+ // Always show if no selection has been made for Facebook.
+ if ( 'facebook' === $service_name && empty( $cmeta['connection_data']['meta']['facebook_profile'] ) && empty( $cmeta['connection_data']['meta']['facebook_page'] ) ) {
return true;
+ }
- // always show if no selection has been made for tumblr
- if ( 'tumblr' == $service_name && empty ( $cmeta['connection_data']['meta']['tumblr_base_hostname'] ) )
+ // Always show if no selection has been made for Tumblr.
+ if ( 'tumblr' === $service_name && empty( $cmeta['connection_data']['meta']['tumblr_base_hostname'] ) ) {
return true;
+ }
// if we have the specific connection info..
- if ( isset( $_GET['id'] ) ) {
- if ( $cmeta['connection_data']['id'] == $_GET['id'] )
+ $id = ! empty( $_GET['id'] ) ? sanitize_text_field( wp_unslash( $_GET['id'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+
+ if ( $id ) {
+ if ( $cmeta['connection_data']['id'] === $id ) {
return true;
+ }
} else {
- // otherwise, just show if this is the completed step / first load
- if ( !empty( $_GET['action'] ) && 'completed' == $_GET['action'] && !empty( $_GET['service'] ) && $service_name == $_GET['service'] && ! in_array( $_GET['service'], array( 'facebook', 'tumblr' ) ) )
+ // Otherwise, just show if this is the completed step / first load.
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended
+ $is_completed = ! empty( $_GET['action'] ) && 'completed' === $_GET['action'];
+ $service = ! empty( $_GET['service'] ) ? sanitize_text_field( wp_unslash( $_GET['service'] ) ) : false;
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended
+
+ if ( $is_completed && $service_name === $service && ! in_array( $service, array( 'facebook', 'tumblr' ), true ) ) {
return true;
+ }
}
return false;
}
/**
+ * Check if a connection is global
+ *
+ * @param array $connection Connection data.
+ * @return bool Whether the connection is global.
+ */
+ public function is_global_connection( $connection ) {
+ return empty( $connection['connection_data']['user_id'] );
+ }
+
+ /**
* Whether the Connection is "valid" wrt Facebook's requirements.
*
* Must be connected to a Page (not a Profile).
* (Also returns true if we're in the middle of the connection process)
*
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
* @return bool
*/
- function is_valid_facebook_connection( $connection ) {
+ public function is_valid_facebook_connection( $connection ) {
if ( $this->is_connecting_connection( $connection ) ) {
return true;
}
$connection_meta = $this->get_connection_meta( $connection );
$connection_data = $connection_meta['connection_data'];
- return isset( $connection_data[ 'meta' ][ 'facebook_page' ] );
+ return isset( $connection_data['meta']['facebook_page'] );
}
/**
* LinkedIn needs to be reauthenticated to use v2 of their API.
* If it's using LinkedIn old API, it's an 'invalid' connection
*
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
* @return bool
*/
- function is_invalid_linkedin_connection( $connection ) {
+ public function is_invalid_linkedin_connection( $connection ) {
// LinkedIn API v1 included the profile link in the connection data.
$connection_meta = $this->get_connection_meta( $connection );
return isset( $connection_meta['connection_data']['meta']['profile_url'] );
@@ -481,20 +596,21 @@ abstract class Publicize_Base {
/**
* Whether the Connection currently being connected
*
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
* @return bool
*/
- function is_connecting_connection( $connection ) {
+ public function is_connecting_connection( $connection ) {
$connection_meta = $this->get_connection_meta( $connection );
$connection_data = $connection_meta['connection_data'];
- return isset( $connection_data[ 'meta' ]['options_responses'] );
+ return isset( $connection_data['meta']['options_responses'] );
}
/**
* AJAX Handler to run connection tests on all Connections
+ *
* @return void
*/
- function test_publicize_conns() {
+ public function test_publicize_conns() {
wp_send_json_success( $this->get_publicize_conns_test_results() );
}
@@ -514,7 +630,7 @@ abstract class Publicize_Base {
* @type string 'unique_id' ID string representing connection
* }
*/
- function get_publicize_conns_test_results() {
+ public function get_publicize_conns_test_results() {
$test_results = array();
foreach ( (array) $this->get_services( 'connected' ) as $service_name => $connections ) {
@@ -522,11 +638,11 @@ abstract class Publicize_Base {
$id = $this->get_connection_id( $connection );
- $connection_test_passed = true;
- $connection_test_message = __( 'This connection is working correctly.' , 'jetpack' );
- $user_can_refresh = false;
- $refresh_text = '';
- $refresh_url = '';
+ $connection_test_passed = true;
+ $connection_test_message = __( 'This connection is working correctly.', 'jetpack' );
+ $user_can_refresh = false;
+ $refresh_text = '';
+ $refresh_url = '';
$connection_test_result = true;
if ( method_exists( $this, 'test_connection' ) ) {
@@ -534,34 +650,35 @@ abstract class Publicize_Base {
}
if ( is_wp_error( $connection_test_result ) ) {
- $connection_test_passed = false;
+ $connection_test_passed = false;
$connection_test_message = $connection_test_result->get_error_message();
- $error_data = $connection_test_result->get_error_data();
+ $error_data = $connection_test_result->get_error_data();
$user_can_refresh = $error_data['user_can_refresh'];
- $refresh_text = $error_data['refresh_text'];
- $refresh_url = $error_data['refresh_url'];
+ $refresh_text = $error_data['refresh_text'];
+ $refresh_url = $error_data['refresh_url'];
}
- // Mark facebook profiles as deprecated
+ // Mark Facebook profiles as deprecated.
if ( 'facebook' === $service_name ) {
if ( ! $this->is_valid_facebook_connection( $connection ) ) {
- $connection_test_passed = false;
- $user_can_refresh = false;
+ $connection_test_passed = false;
+ $user_can_refresh = false;
$connection_test_message = __( 'Please select a Facebook Page to publish updates.', 'jetpack' );
}
}
- // LinkedIn needs reauthentication to be compatible with v2 of their API
+ // LinkedIn needs reauthentication to be compatible with v2 of their API.
if ( 'linkedin' === $service_name && $this->is_invalid_linkedin_connection( $connection ) ) {
- $connection_test_passed = 'must_reauth';
- $user_can_refresh = false;
+ $connection_test_passed = 'must_reauth';
+ $user_can_refresh = false;
$connection_test_message = esc_html__( 'Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.', 'jetpack' );
}
$unique_id = null;
+
if ( ! empty( $connection->unique_id ) ) {
$unique_id = $connection->unique_id;
- } else if ( ! empty( $connection['connection_data']['token_id'] ) ) {
+ } elseif ( ! empty( $connection['connection_data']['token_id'] ) ) {
$unique_id = $connection['connection_data']['token_id'];
}
@@ -584,11 +701,11 @@ abstract class Publicize_Base {
/**
* Run the connection test for the Connection
*
- * @param string $service_name 'facebook', 'twitter', etc.
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param string $service_name $service_name 'facebook', 'twitter', etc.
+ * @param object|array $connection The Connection object (WordPress.com) or array (Jetpack).
* @return WP_Error|true WP_Error on failure. True on success
*/
- abstract function test_connection( $service_name, $connection );
+ abstract public function test_connection( $service_name, $connection );
/**
* Retrieves current list of connections and applies filters.
@@ -641,14 +758,13 @@ abstract class Publicize_Base {
$unique_id = $this->get_connection_unique_id( $connection );
-
// Was this connection (OR, old-format service) already Publicized to?
$done = ! empty( $post ) && (
- // New flags
- 1 == get_post_meta( $post->ID, $this->POST_DONE . $unique_id, true )
+ // New flags.
+ 1 === (int) get_post_meta( $post->ID, $this->POST_DONE . $unique_id, true )
||
- // old flags
- 1 == get_post_meta( $post->ID, $this->POST_DONE . $service_name, true )
+ // Old flags.
+ 1 === (int) get_post_meta( $post->ID, $this->POST_DONE . $service_name, true )
);
/**
@@ -663,6 +779,7 @@ abstract class Publicize_Base {
* @param string $service_name Service name.
* @param array $connection_data Array of information about all Publicize details for the site.
*/
+ /* phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores */
if ( ! apply_filters( 'wpas_submit_post?', true, $post_id, $service_name, $connection_data ) ) {
continue;
}
@@ -672,13 +789,13 @@ abstract class Publicize_Base {
(
! empty( $post )
&&
- in_array( $post->post_status, array( 'publish', 'draft', 'future' ) )
+ in_array( $post->post_status, array( 'publish', 'draft', 'future' ), true )
&&
(
- // New flags
+ // New flags.
get_post_meta( $post->ID, $this->POST_SKIP . $unique_id, true )
||
- // Old flags
+ // Old flags.
get_post_meta( $post->ID, $this->POST_SKIP . $service_name )
)
)
@@ -713,7 +830,7 @@ abstract class Publicize_Base {
* If this is a global connection and this user doesn't have enough permissions to modify
* those connections, don't let them change it.
*/
- if ( ! $done && ( 0 == $connection_data['user_id'] && ! current_user_can( $this->GLOBAL_CAP ) ) ) {
+ if ( ! $done && $this->is_global_connection( $connection_meta ) && ! current_user_can( $this->GLOBAL_CAP ) ) {
$toggleable = false;
/**
@@ -746,7 +863,7 @@ abstract class Publicize_Base {
'enabled' => $enabled,
'done' => $done,
'toggleable' => $toggleable,
- 'global' => 0 == $connection_data['user_id'], // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison -- Other types can be used at times.
+ 'global' => 0 == $connection_data['user_id'], // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual,WordPress.PHP.StrictComparisons.LooseComparison -- Other types can be used at times.
);
}
}
@@ -781,7 +898,7 @@ abstract class Publicize_Base {
* @type string 'url' URL for adding connection to service.
* }
*/
- function get_available_service_data() {
+ public function get_available_service_data() {
$available_services = $this->get_services( 'all' );
$available_service_data = array();
@@ -796,21 +913,31 @@ abstract class Publicize_Base {
return $available_service_data;
}
-/*
- * Site Data
- */
+ /**
+ * Site Data
+ */
- function user_id() {
+ /**
+ * Get user ID.
+ *
+ * @return int The current user's ID, or 0 if no user is logged in.
+ */
+ public function user_id() {
return get_current_user_id();
}
- function blog_id() {
+ /**
+ * Get site ID.
+ *
+ * @return int Site ID.
+ */
+ public function blog_id() {
return get_current_blog_id();
}
-/*
- * Posts
- */
+ /**
+ * Posts
+ */
/**
* Checks old and new status to see if the post should be flagged as
@@ -818,26 +945,26 @@ abstract class Publicize_Base {
*
* Attached to the `transition_post_status` filter.
*
- * @param string $new_status
- * @param string $old_status
- * @param WP_Post $post
+ * @param string $new_status New status.
+ * @param string $old_status Old status.
+ * @param WP_Post $post Post object.
* @return void
*/
- abstract function flag_post_for_publicize( $new_status, $old_status, $post );
+ abstract public function flag_post_for_publicize( $new_status, $old_status, $post );
/**
* Ensures the Post internal post-type supports `publicize`
*
* This feature support flag is used by the REST API.
*/
- function add_post_type_support() {
+ public function add_post_type_support() {
add_post_type_support( 'post', 'publicize' );
}
/**
* Register the Publicize Gutenberg extension
*/
- function register_gutenberg_extension() {
+ public function register_gutenberg_extension() {
// TODO: The `gutenberg/available-extensions` endpoint currently doesn't accept a post ID,
// so we cannot pass one to `$this->current_user_can_access_publicize_data()`.
@@ -845,17 +972,16 @@ abstract class Publicize_Base {
Jetpack_Gutenberg::set_extension_available( 'jetpack/publicize' );
} else {
Jetpack_Gutenberg::set_extension_unavailable( 'jetpack/publicize', 'unauthorized' );
-
}
}
/**
* Can the current user access Publicize Data.
*
- * @param int $post_id. 0 for general access. Post_ID for specific access.
+ * @param int $post_id 0 for general access. Post_ID for specific access.
* @return bool
*/
- function current_user_can_access_publicize_data( $post_id = 0 ) {
+ public function current_user_can_access_publicize_data( $post_id = 0 ) {
/**
* Filter what user capability is required to use the publicize form on the edit post page. Useful if publish post capability has been removed from role.
*
@@ -877,12 +1003,10 @@ abstract class Publicize_Base {
/**
* Auth callback for the protected ->POST_MESS post_meta
*
- * @param bool $allowed
- * @param string $meta_key
- * @param int $object_id Post ID
+ * @param int $object_id Post ID.
* @return bool
*/
- function message_meta_auth_callback( $allowed, $meta_key, $object_id ) {
+ public function message_meta_auth_callback( $object_id ) {
return $this->current_user_can_access_publicize_data( $object_id );
}
@@ -891,7 +1015,7 @@ abstract class Publicize_Base {
*
* Registers for each post type that with `publicize` feature support.
*/
- function register_post_meta() {
+ public function register_post_meta() {
$message_args = array(
'type' => 'string',
'description' => __( 'The message to use instead of the title when sharing to Publicize Services', 'jetpack' ),
@@ -941,53 +1065,36 @@ abstract class Publicize_Base {
}
/**
- * Fires when a post is saved, checks conditions and saves state in postmeta so that it
- * can be picked up later by @see ::publicize_post() on WordPress.com codebase.
- *
- * Attached to the `save_post` action.
+ * Helper function to allow us to not publicize posts in certain contexts.
*
- * @param int $post_id
- * @param WP_Post $post
- * @return void
+ * @param WP_Post $post Post object.
*/
- function save_meta( $post_id, $post ) {
- $cron_user = null;
+ public function should_submit_post_pre_checks( $post ) {
$submit_post = true;
- if ( ! $this->post_type_is_publicizeable( $post->post_type ) )
- return;
-
- // Don't Publicize during certain contexts:
-
- // - import
- if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) {
+ if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) {
$submit_post = false;
}
- // - on quick edit, autosave, etc but do fire on p2, quickpress, and instapost ajax
if (
- defined( 'DOING_AJAX' )
- &&
- DOING_AJAX
- &&
- !did_action( 'p2_ajax' )
+ defined( 'DOING_AUTOSAVE' )
&&
- !did_action( 'wp_ajax_json_quickpress_post' )
- &&
- !did_action( 'wp_ajax_instapost_publish' )
- &&
- !did_action( 'wp_ajax_post_reblog' )
- &&
- !did_action( 'wp_ajax_press-this-save-post' )
+ DOING_AUTOSAVE
) {
$submit_post = false;
}
- // - bulk edit
- if ( isset( $_GET['bulk_edit'] ) ) {
+ // To prevent quick edits from getting publicized.
+ if ( did_action( 'wp_ajax_inline-save' ) ) {
$submit_post = false;
}
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended
+ if ( ! empty( $_GET['bulk_edit'] ) ) {
+ $submit_post = false;
+ }
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended
+
// - API/XML-RPC Test Posts
if (
(
@@ -1005,32 +1112,60 @@ abstract class Publicize_Base {
$submit_post = false;
}
- // only work with certain statuses (avoids inherits, auto drafts etc)
- if ( !in_array( $post->post_status, array( 'publish', 'draft', 'future' ) ) ) {
+ // Only work with certain statuses (avoids inherits, auto drafts etc).
+ if ( ! in_array( $post->post_status, array( 'publish', 'draft', 'future' ), true ) ) {
$submit_post = false;
}
- // don't publish password protected posts
+ // Don't publish password protected posts.
if ( '' !== $post->post_password ) {
$submit_post = false;
}
+ return $submit_post;
+ }
+
+ /**
+ * Fires when a post is saved, checks conditions and saves state in postmeta so that it
+ * can be picked up later by @see ::publicize_post() on WordPress.com codebase.
+ *
+ * Attached to the `save_post` action.
+ *
+ * @param int $post_id Post ID.
+ * @param WP_Post $post Post object.
+ */
+ public function save_meta( $post_id, $post ) {
+ $cron_user = null;
+ $submit_post = true;
+
+ if ( ! $this->post_type_is_publicizeable( $post->post_type ) ) {
+ return;
+ }
+
+ $submit_post = $this->should_submit_post_pre_checks( $post );
+
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- We're only checking if a value is set
+ $admin_page = isset( $_POST[ $this->ADMIN_PAGE ] ) ? $_POST[ $this->ADMIN_PAGE ] : null;
+
// Did this request happen via wp-admin?
$from_web = isset( $_SERVER['REQUEST_METHOD'] )
&&
- 'post' == strtolower( $_SERVER['REQUEST_METHOD'] )
+ 'post' === strtolower( sanitize_text_field( wp_unslash( $_SERVER['REQUEST_METHOD'] ) ) )
&&
- isset( $_POST[$this->ADMIN_PAGE] );
+ ! empty( $admin_page );
+
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing
+ $title = isset( $_POST['wpas_title'] ) ? sanitize_textarea_field( wp_unslash( $_POST['wpas_title'] ) ) : null;
- if ( ( $from_web || defined( 'POST_BY_EMAIL' ) ) && isset( $_POST['wpas_title'] ) ) {
- if ( empty( $_POST['wpas_title'] ) ) {
+ if ( ( $from_web || defined( 'POST_BY_EMAIL' ) ) && $title ) {
+ if ( empty( $title ) ) {
delete_post_meta( $post_id, $this->POST_MESS );
} else {
- update_post_meta( $post_id, $this->POST_MESS, trim( stripslashes( $_POST['wpas_title'] ) ) );
+ update_post_meta( $post_id, $this->POST_MESS, trim( stripslashes( $title ) ) );
}
}
- // change current user to provide context for get_services() if we're running during cron
+ // Change current user to provide context for get_services() if we're running during cron.
if ( defined( 'DOING_CRON' ) && DOING_CRON ) {
$cron_user = (int) $GLOBALS['user_ID'];
wp_set_current_user( $post->post_author );
@@ -1050,36 +1185,38 @@ abstract class Publicize_Base {
}
/** This action is documented in modules/publicize/ui.php */
- if ( false == apply_filters( 'wpas_submit_post?', $submit_post, $post_id, $service_name, $connection_data ) ) {
+ /* phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores */
+ if ( false === apply_filters( 'wpas_submit_post?', $submit_post, $post_id, $service_name, $connection_data ) ) {
delete_post_meta( $post_id, $this->PENDING );
continue;
}
- if ( !empty( $connection->unique_id ) )
+ if ( ! empty( $connection->unique_id ) ) {
$unique_id = $connection->unique_id;
- else if ( !empty( $connection['connection_data']['token_id'] ) )
+ } elseif ( ! empty( $connection['connection_data']['token_id'] ) ) {
$unique_id = $connection['connection_data']['token_id'];
+ }
- // This was a wp-admin request, so we need to check the state of checkboxes
+ // This was a wp-admin request, so we need to check the state of checkboxes.
if ( $from_web ) {
- // delete stray service-based post meta
+ // Delete stray service-based post meta.
delete_post_meta( $post_id, $this->POST_SKIP . $service_name );
- // We *unchecked* this stream from the admin page, or it's set to readonly, or it's a new addition
- if ( empty( $_POST[$this->ADMIN_PAGE]['submit'][$unique_id] ) ) {
+ // We *unchecked* this stream from the admin page, or it's set to readonly, or it's a new addition.
+ if ( empty( $admin_page['submit'][ $unique_id ] ) ) {
// Also make sure that the service-specific input isn't there.
// If the user connected to a new service 'in-page' then a hidden field with the service
// name is added, so we just assume they wanted to Publicize to that service.
- if ( empty( $_POST[$this->ADMIN_PAGE]['submit'][$service_name] ) ) {
- // Nothing seems to be checked, so we're going to mark this one to be skipped
+ if ( empty( $admin_page['submit'][ $service_name ] ) ) {
+ // Nothing seems to be checked, so we're going to mark this one to be skipped.
update_post_meta( $post_id, $this->POST_SKIP . $unique_id, 1 );
continue;
} else {
- // clean up any stray post meta
+ // Clean up any stray post meta.
delete_post_meta( $post_id, $this->POST_SKIP . $unique_id );
}
} else {
- // The checkbox for this connection is explicitly checked -- make sure we DON'T skip it
+ // The checkbox for this connection is explicitly checked -- make sure we DON'T skip it.
delete_post_meta( $post_id, $this->POST_SKIP . $unique_id );
}
}
@@ -1104,7 +1241,7 @@ abstract class Publicize_Base {
wp_set_current_user( $cron_user );
}
- // Next up will be ::publicize_post()
+ // Next up will be ::publicize_post().
}
/**
@@ -1113,7 +1250,7 @@ abstract class Publicize_Base {
*
* Attached to the `post_updated_messages` filter
*
- * @param string[] $messages
+ * @param string[] $messages Array of messages.
* @return string[]
*/
public function update_published_message( $messages ) {
@@ -1128,15 +1265,17 @@ abstract class Publicize_Base {
}
$view_post_link_html = '';
- $viewable = is_post_type_viewable( $post_type_object );
+ $viewable = is_post_type_viewable( $post_type_object );
if ( $viewable ) {
- $view_text = esc_html__( 'View post' ); // intentionally omitted domain
+ /* phpcs:ignore WordPress.WP.I18n.MissingArgDomain, WordPress.Utils.I18nTextDomainFixer.MissingArgDomain */
+ $view_text = esc_html__( 'View post' ); // Intentionally omitted domain.
- if ( 'jetpack-portfolio' == $post_type ) {
+ if ( 'jetpack-portfolio' === $post_type ) {
$view_text = esc_html__( 'View project', 'jetpack' );
}
- $view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>',
+ $view_post_link_html = sprintf(
+ ' <a href="%1$s">%2$s</a>',
esc_url( get_permalink( $post ) ),
$view_text
);
@@ -1153,7 +1292,7 @@ abstract class Publicize_Base {
/* translators: Service name is %1$s, and account name is %2$s. */
esc_html__( '%1$s (%2$s)', 'jetpack' ),
esc_html( $service_name ),
- esc_html( implode( ', ', $display_names ) )
+ esc_html( is_array( $display_names ) ? implode( ', ', $display_names ) : $display_names )
);
}
@@ -1163,7 +1302,7 @@ abstract class Publicize_Base {
implode( ', ', $labels )
) . $view_post_link_html;
- if ( $post_type == 'post' && class_exists('Jetpack_Subscriptions' ) ) {
+ if ( 'post' === $post_type && class_exists( 'Jetpack_Subscriptions' ) ) {
$subscription = Jetpack_Subscriptions::init();
if ( $subscription->should_email_post_to_subscribers( $post ) ) {
$messages['post'][6] = sprintf(
@@ -1188,23 +1327,24 @@ abstract class Publicize_Base {
*
* Only reliable just after the Post was published.
*
- * @param int $post_id
+ * @param int $post_id Post ID.
* @return string[] Array of Service display name => Connection display name
*/
- function get_publicizing_services( $post_id ) {
+ public function get_publicizing_services( $post_id ) {
$services = array();
foreach ( (array) $this->get_services( 'connected' ) as $service_name => $connections ) {
// services have multiple connections.
foreach ( $connections as $connection ) {
$unique_id = '';
- if ( ! empty( $connection->unique_id ) )
+ if ( ! empty( $connection->unique_id ) ) {
$unique_id = $connection->unique_id;
- else if ( ! empty( $connection['connection_data']['token_id'] ) )
+ } elseif ( ! empty( $connection['connection_data']['token_id'] ) ) {
$unique_id = $connection['connection_data']['token_id'];
+ }
// Did we skip this connection?
- if ( get_post_meta( $post_id, $this->POST_SKIP . $unique_id, true ) ) {
+ if ( get_post_meta( $post_id, $this->POST_SKIP . $unique_id, true ) ) {
continue;
}
$services[ $this->get_service_label( $service_name ) ][] = $this->get_display_name( $service_name, $connection );
@@ -1219,21 +1359,23 @@ abstract class Publicize_Base {
*
* Only valid prior to Publicizing a Post.
*
- * @param WP_Post $post
+ * @param WP_Post $post Post to check.
* @return bool
*/
- function post_is_publicizeable( $post ) {
- if ( ! $this->post_type_is_publicizeable( $post->post_type ) )
+ public function post_is_publicizeable( $post ) {
+ if ( ! $this->post_type_is_publicizeable( $post->post_type ) ) {
return false;
+ }
- // This is more a precaution. To only publicize posts that are published. (Mostly relevant for Jetpack sites)
+ // This is more a precaution. To only publicize posts that are published. (Mostly relevant for Jetpack sites).
if ( 'publish' !== $post->post_status ) {
return false;
}
- // If it's not flagged as ready, then abort. @see ::flag_post_for_publicize()
- if ( ! get_post_meta( $post->ID, $this->PENDING, true ) )
+ // If it's not flagged as ready, then abort. @see ::flag_post_for_publicize().
+ if ( ! get_post_meta( $post->ID, $this->PENDING, true ) ) {
return false;
+ }
return true;
}
@@ -1247,9 +1389,10 @@ abstract class Publicize_Base {
* @param string $post_type The post type to check.
* @return bool True if the post type can be Publicized.
*/
- function post_type_is_publicizeable( $post_type ) {
- if ( 'post' == $post_type )
+ public function post_type_is_publicizeable( $post_type ) {
+ if ( 'post' === $post_type ) {
return true;
+ }
return post_type_supports( $post_type, 'publicize' );
}
@@ -1260,47 +1403,63 @@ abstract class Publicize_Base {
*
* Attached to the `publicize_checkbox_default` filter
*
- * @param bool $checked
- * @param int $post_id
- * @param string $service_name 'facebook', 'twitter', etc
- * @param object|array The Connection object (WordPress.com) or array (Jetpack)
+ * @param bool $checked True if checkbox is checked, false otherwise.
+ * @param int $post_id Post ID to set checkbox for.
* @return bool
*/
- function publicize_checkbox_default( $checked, $post_id, $service_name, $connection ) {
- if ( 'publish' == get_post_status( $post_id ) ) {
+ public function publicize_checkbox_default( $checked, $post_id ) {
+ if ( 'publish' === get_post_status( $post_id ) ) {
return false;
}
return $checked;
}
-/*
- * Util
- */
+ /**
+ * Util
+ */
/**
* Converts a Publicize message template string into a sprintf format string
*
- * @param string[] $args
+ * @param string[] $args Array of arguments.
* 0 - The Publicize message template: 'Check out my post: %title% @ %url'
* ... - The template tags 'title', 'url', etc.
* @return string
*/
protected static function build_sprintf( $args ) {
- $search = array();
+ $search = array();
$replace = array();
foreach ( $args as $k => $arg ) {
- if ( 0 == $k ) {
+ if ( 0 === $k ) {
$string = $arg;
continue;
}
- $search[] = "%$arg%";
+ $search[] = "%$arg%";
$replace[] = "%$k\$s";
}
return str_replace( $search, $replace, $string );
}
+
+ /**
+ * Get Calypso URL for Publicize connections.
+ *
+ * @param string $source The idenfitier of the place the function is called from.
+ * @return string
+ */
+ public function publicize_connections_url( $source = 'calypso-marketing-connections' ) {
+ $allowed_sources = array( 'jetpack-social-connections-admin-page', 'jetpack-social-connections-classic-editor', 'calypso-marketing-connections' );
+ $source = in_array( $source, $allowed_sources, true ) ? $source : 'calypso-marketing-connections';
+ return Redirect::get_url( $source, array( 'site' => ( new Status() )->get_site_suffix() ) );
+ }
}
+/**
+ * Get Calypso URL for Publicize connections.
+ *
+ * @return string
+ */
function publicize_calypso_url() {
+ _deprecated_function( __METHOD__, '11.0', 'Publicize::publicize_connections_url' );
return Redirect::get_url( 'calypso-marketing-connections', array( 'site' => ( new Status() )->get_site_suffix() ) );
}
diff --git a/plugins/jetpack/modules/publicize/ui.php b/plugins/jetpack/modules/publicize/ui.php
index 156b25ef..6ffe3979 100644
--- a/plugins/jetpack/modules/publicize/ui.php
+++ b/plugins/jetpack/modules/publicize/ui.php
@@ -1,47 +1,59 @@
-<?php
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Publicize_UI class.
+ *
+ * @package automattic/jetpack
+ */
/**
-* Only user facing pieces of Publicize are found here.
-*/
+ * Only user facing pieces of Publicize are found here.
+ */
class Publicize_UI {
-
/**
- * Contains an instance of class 'publicize' which loads Keyring, sets up services, etc.
- */
+ * Contains an instance of class 'Publicize' which loads Keyring, sets up services, etc.
+ *
+ * @var Publicize Instance of Publicize
+ */
public $publicize;
/**
- * @var string URL to Sharing settings page in wordpress.com
+ * URL to Sharing settings page in wordpress.com
+ *
+ * @var string
*/
protected $publicize_settings_url = '';
/**
- * Hooks into WordPress to display the various pieces of UI and load our assets
- */
- function __construct() {
+ * Hooks into WordPress to display the various pieces of UI and load our assets
+ */
+ public function __construct() {
global $publicize;
- $this->publicize = $publicize = new Publicize;
+ $publicize = new Publicize();
+ $this->publicize = $publicize;
add_action( 'init', array( $this, 'init' ) );
}
- function init() {
- $this->publicize_settings_url = publicize_calypso_url();
+ /**
+ * Initialize UI-related functionality.
+ */
+ public function init() {
+ $this->publicize_settings_url = $this->publicize->publicize_connections_url();
// Show only to users with the capability required to manage their Publicize connections.
if ( ! $this->publicize->current_user_can_access_publicize_data() ) {
return;
}
- // assets (css, js)
+ // Assets (css, js).
if ( $this->in_jetpack ) {
add_action( 'load-settings_page_sharing', array( $this, 'load_assets' ) );
}
add_action( 'admin_head-post.php', array( $this, 'post_page_metabox_assets' ) );
add_action( 'admin_head-post-new.php', array( $this, 'post_page_metabox_assets' ) );
- // management of publicize (sharing screen, ajax/lightbox popup, and metabox on post screen)
+ // Management of publicize (sharing screen, ajax/lightbox popup, and metabox on post screen).
add_action( 'pre_admin_screen_sharing', array( $this, 'admin_page' ) );
add_action( 'post_submitbox_misc_actions', array( $this, 'post_page_metabox' ) );
}
@@ -49,7 +61,7 @@ class Publicize_UI {
/**
* If the ShareDaddy plugin is not active we need to add the sharing settings page to the menu still
*/
- function sharing_menu() {
+ public function sharing_menu() {
add_submenu_page(
'options-general.php',
esc_html__( 'Sharing Settings', 'jetpack' ),
@@ -60,14 +72,18 @@ class Publicize_UI {
);
}
- function wrapper_admin_page() {
+ /**
+ * Add admin page with wrapper.
+ */
+ public function wrapper_admin_page() {
Jetpack_Admin_Page::wrap_ui( array( $this, 'management_page' ) );
}
/**
* Management page to load if Sharedaddy is not active so the 'pre_admin_screen_sharing' action exists.
*/
- function management_page() { ?>
+ public function management_page() {
+ ?>
<div class="wrap">
<div class="icon32" id="icon-options-general"><br /></div>
<h1><?php esc_html_e( 'Sharing Settings', 'jetpack' ); ?></h1>
@@ -76,15 +92,15 @@ class Publicize_UI {
/** This action is documented in modules/sharedaddy/sharing.php */
do_action( 'pre_admin_screen_sharing' );
?>
-
- </div> <?php
+ </div>
+ <?php
}
/**
- * styling for the sharing screen and popups
+ * Styling for the sharing screen and popups
* JS for the options and switching
*/
- function load_assets() {
+ public function load_assets() {
Jetpack_Admin_Page::load_wrapper_styles();
}
@@ -92,22 +108,30 @@ class Publicize_UI {
* Lists the current user's publicized accounts for the blog
* looks exactly like Publicize v1 for now, UI and functionality updates will come after the move to keyring
*/
- function admin_page() {
+ public function admin_page() {
?>
- <h2 id="publicize"><?php esc_html_e( 'Publicize', 'jetpack' ) ?></h2>
- <p><?php esc_html_e( 'Connect social media services to automatically share new posts.', 'jetpack' ) ?></p>
- <h4><?php
+ <h2 id="publicize"><?php esc_html_e( 'Publicize', 'jetpack' ); ?></h2>
+ <p><?php esc_html_e( 'Connect social media services to automatically share new posts.', 'jetpack' ); ?></p>
+ <h4>
+ <?php
printf(
wp_kses(
+ /* translators: %s is the link to the Publicize page in Calypso */
__( "We've made some updates to Publicize. Please visit the <a href='%s' class='jptracks' data-jptracks-name='legacy_publicize_settings'>WordPress.com sharing page</a> to manage your publicize connections or use the button below.", 'jetpack' ),
- array( 'a' => array( 'href' => array(), 'class' => array(), 'data-jptracks-name' => array() ) )
+ array(
+ 'a' => array(
+ 'href' => array(),
+ 'class' => array(),
+ 'data-jptracks-name' => array(),
+ ),
+ )
),
- esc_url( publicize_calypso_url() )
+ esc_url( $this->publicize->publicize_connections_url() )
);
?>
</h4>
- <a href="<?php echo esc_url( publicize_calypso_url() ); ?>" class="button button-primary jptracks" data-jptracks-name='legacy_publicize_settings'><?php esc_html_e( 'Publicize Settings', 'jetpack' ); ?></a>
+ <a href="<?php echo esc_url( $this->publicize->publicize_connections_url() ); ?>" class="button button-primary jptracks" data-jptracks-name='legacy_publicize_settings'><?php esc_html_e( 'Publicize Settings', 'jetpack' ); ?></a>
<?php
}
@@ -115,10 +139,7 @@ class Publicize_UI {
* CSS for styling the publicize message box and counter that displays on the post page.
* There is also some JavaScript for length counting and some basic display effects.
*/
- function post_page_metabox_assets() {
- global $post;
- $user_id = empty( $post->post_author ) ? $GLOBALS['user_ID'] : $post->post_author;
-
+ public function post_page_metabox_assets() {
$default_prefix = $this->publicize->default_prefix;
$default_prefix = preg_replace( '/%([0-9])\$s/', "' + %\\1\$s + '", esc_js( $default_prefix ) );
@@ -129,7 +150,7 @@ class Publicize_UI {
$default_suffix = preg_replace( '/%([0-9])\$s/', "' + %\\1\$s + '", esc_js( $default_suffix ) );
$max_length = defined( 'JETPACK_PUBLICIZE_TWITTER_LENGTH' ) ? JETPACK_PUBLICIZE_TWITTER_LENGTH : 280;
- $max_length = $max_length - 24; // t.co link, space
+ $max_length = $max_length - 24; // t.co link, space.
?>
@@ -161,6 +182,7 @@ jQuery( function($) {
// Keep the postTitle and the placeholder in sync
postTitle.on( 'keyup', function( e ) {
var url = $( '#sample-permalink' ).text();
+ <?php // phpcs:ignore ?>
var defaultMessage = $.trim( '<?php printf( $default_prefix, 'url' ); printf( $default_message, 'e.currentTarget.value', 'url' ); printf( $default_suffix, 'url' ); ?>' )
.replace( /<[^>]+>/g,'');
@@ -322,7 +344,7 @@ jQuery( function($) {
+ testResult.connectionTestMessage
+ '</p><p>'
+ ' <a class="button" href="<?php echo esc_url( $this->publicize_settings_url ); ?>" rel="noopener noreferrer" target="_blank">'
- + '<?php echo esc_html( __( 'Update Your Sharing Settings' ,'jetpack' ) ); ?>'
+ + '<?php echo esc_html( __( 'Update Your Sharing Settings', 'jetpack' ) ); ?>'
+ '</a>'
+ '<p>';
@@ -408,12 +430,15 @@ jQuery( function($) {
font-size: 16px;
text-decoration: none;
}
-</style><?php
+</style>
+ <?php
}
/**
- * @param string $service_label Service's human-readable Label ("Facebook", "Twitter", ...)
- * @param string $display_name Connection's human-readable Username ("@jetpack", ...)
+ * Get the connection label.
+ *
+ * @param string $service_label Service's human-readable Label ("Facebook", "Twitter", ...).
+ * @param string $display_name Connection's human-readable Username ("@jetpack", ...).
* @return string
*/
private function connection_label( $service_label, $display_name ) {
@@ -430,7 +455,7 @@ jQuery( function($) {
*
* @return array Connections that must be reauthenticated
*/
- function get_must_reauth_connections() {
+ public function get_must_reauth_connections() {
$must_reauth = array();
$connections = $this->publicize->get_connections( 'linkedin' );
if ( is_array( $connections ) ) {
@@ -444,88 +469,92 @@ jQuery( function($) {
}
/**
- * Controls the metabox that is displayed on the post page
- * Allows the user to customize the message that will be sent out to the social network, as well as pick which
- * networks to publish to. Also displays the character counter and some other information.
- */
- function post_page_metabox() {
+ * Controls the metabox that is displayed on the post page
+ * Allows the user to customize the message that will be sent out to the social network, as well as pick which
+ * networks to publish to. Also displays the character counter and some other information.
+ */
+ public function post_page_metabox() {
global $post;
- if ( ! $this->publicize->post_type_is_publicizeable( $post->post_type ) )
+ if ( ! $this->publicize->post_type_is_publicizeable( $post->post_type ) ) {
return;
+ }
- $user_id = empty( $post->post_author ) ? $GLOBALS['user_ID'] : $post->post_author;
$connections_data = $this->publicize->get_filtered_connection_data();
$available_services = $this->publicize->get_services( 'all' );
- if ( ! is_array( $available_services ) )
+ if ( ! is_array( $available_services ) ) {
$available_services = array();
+ }
- if ( ! is_array( $connections_data ) )
+ if ( ! is_array( $connections_data ) ) {
$connections_data = array();
+ }
?>
<div id="publicize" class="misc-pub-section misc-pub-section-last">
<span id="publicize-title">
<?php
- esc_html_e( 'Publicize:', 'jetpack' );
+ esc_html_e( 'Publicize:', 'jetpack' );
- if ( 0 < count( $connections_data ) ) :
- $publicize_form = $this->get_metabox_form_connected( $connections_data );
+ if ( ! empty( $connections_data ) ) :
+ $publicize_form = $this->get_metabox_form_connected( $connections_data );
- $must_reauth = $this->get_must_reauth_connections();
- if ( ! empty( $must_reauth ) ) {
- foreach ( $must_reauth as $connection_name ) {
- ?>
- <span class="notice-warning publicize__notice-warning">
- <?php
- /* translators: %s is the name of a Pubilicize service like "LinkedIn" */
- printf( esc_html__(
+ $must_reauth = $this->get_must_reauth_connections();
+ if ( ! empty( $must_reauth ) ) {
+ foreach ( $must_reauth as $connection_name ) {
+ ?>
+ <span class="notice-warning publicize__notice-warning">
+ <?php
+ printf(
+ /* translators: %s is the name of a Publicize service like "LinkedIn" */
+ esc_html__(
'Your %s connection needs to be reauthenticated to continue working – head to Sharing to take care of it.',
'jetpack'
- ), $connection_name );
- ?>
- <a
- class="publicize-external-link"
- href="<?php echo publicize_calypso_url() ?>"
- target="_blank"
- >
- <span class="publicize-external-link__text"><?php esc_html_e( 'Go to Sharing settings', 'jetpack' ); ?></span>
- <span class="dashicons dashicons-external"></span>
- </a>
- </span>
- <?php
- }
- ?>
+ ),
+ $connection_name // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ );
+ ?>
+ <a
+ class="publicize-external-link"
+ href="<?php echo esc_url( $this->publicize->publicize_connections_url() ); ?>"
+ target="_blank"
+ >
+ <span class="publicize-external-link__text"><?php esc_html_e( 'Go to Sharing settings', 'jetpack' ); ?></span>
+ <span class="dashicons dashicons-external"></span>
+ </a>
+ </span>
<?php
}
+ }
- $labels = array();
- foreach ( $connections_data as $connection_data ) {
- if ( ! $connection_data['enabled'] ) {
- continue;
- }
+ $labels = array();
- $labels[] = sprintf(
- '<strong>%s</strong>',
- esc_html( $this->connection_label( $connection_data['service_label'], $connection_data['display_name'] ) )
- );
+ foreach ( $connections_data as $connection_data ) {
+ if ( ! $connection_data['enabled'] ) {
+ continue;
}
+ $labels[] = sprintf(
+ '<strong>%s</strong>',
+ esc_html( $this->connection_label( $connection_data['service_label'], $connection_data['display_name'] ) )
+ );
+ }
+
?>
+ <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- labels are already escaped above ?>
<span id="publicize-defaults"><?php echo join( ', ', $labels ); ?></span>
- <a href="#" id="publicize-form-edit"><?php esc_html_e( 'Edit', 'jetpack' ); ?></a>&nbsp;<a href="<?php echo esc_url( $this->publicize_settings_url ); ?>" rel="noopener noreferrer" target="_blank"><?php _e( 'Settings', 'jetpack' ); ?></a><br />
+ <a href="#" id="publicize-form-edit"><?php esc_html_e( 'Edit', 'jetpack' ); ?></a>&nbsp;<a href="<?php echo esc_url( $this->publicize->publicize_connections_url( 'jetpack-social-connections-classic-editor' ) ); ?>" rel="noopener noreferrer" target="_blank"><?php esc_html_e( 'Settings', 'jetpack' ); ?></a><br />
<?php
- else :
- $publicize_form = $this->get_metabox_form_disconnected( $available_services );
-
+ else :
+ $publicize_form = $this->get_metabox_form_disconnected( $available_services );
?>
- <strong><?php echo __( 'Not Connected', 'jetpack' ); ?></strong>
- <a href="#" id="publicize-disconnected-form-show"><?php esc_html_e( 'Edit', 'jetpack' ); ?></a><br />
+ <strong><?php esc_html_e( 'Not Connected', 'jetpack' ); ?></strong>
+ <a href="#" id="publicize-disconnected-form-show"><?php esc_html_e( 'Edit', 'jetpack' ); ?></a><br />
<?php
- endif;
+ endif;
?>
</span>
<?php
@@ -538,9 +567,10 @@ jQuery( function($) {
*
* @param string $publicize_form Publicize Details form appearing above Publish button in the editor.
*/
- echo apply_filters( 'publicize_form', $publicize_form );
+ echo apply_filters( 'publicize_form', $publicize_form ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Parts of the form are escaped individually in the code above.
?>
- </div> <?php // #publicize
+ </div>
+ <?php
}
/**
@@ -550,14 +580,13 @@ jQuery( function($) {
*
* @global WP_Post $post The current post instance being published.
*
- * @param array $connections_data
- *
+ * @param array $connections_data Array of connections.
* @return array {
* Array of content for generating connection form.
*
* @type string HTML content of form
* @type array {
- * Array of connection labels for active connections only.
+ * Array of connection labels for active connections only.
*
* @type string Connection label string.
* }
@@ -566,7 +595,7 @@ jQuery( function($) {
private function get_metabox_form_connected( $connections_data ) {
global $post;
- $all_done = $this->publicize->post_is_done_sharing();
+ $all_done = $this->publicize->post_is_done_sharing();
$all_connections_done = true;
ob_start();
@@ -578,34 +607,34 @@ jQuery( function($) {
foreach ( $connections_data as $connection_data ) {
$all_connections_done = $all_connections_done && $connection_data['done'];
- ?>
+ ?>
- <li>
- <label for="wpas-submit-<?php echo esc_attr( $connection_data['unique_id'] ); ?>">
- <input
- type="checkbox"
- name="wpas[submit][<?php echo esc_attr( $connection_data['unique_id'] ); ?>]"
- id="wpas-submit-<?php echo esc_attr( $connection_data['unique_id'] ); ?>"
- class="wpas-submit-<?php echo esc_attr( $connection_data['service_name'] ); ?>"
- value="1"
- <?php
- checked( true, $connection_data['enabled'] );
- disabled( false, $connection_data['toggleable'] );
- ?>
- />
- <?php if ( $connection_data['enabled'] && ! $connection_data['toggleable'] ) : // Need to submit a value to force a global connection to POST ?>
- <input
- type="hidden"
- name="wpas[submit][<?php echo esc_attr( $connection_data['unique_id'] ); ?>]"
- value="1"
- />
- <?php endif; ?>
-
- <?php echo esc_html( $this->connection_label( $connection_data['service_label'], $connection_data['display_name'] ) ); ?>
-
- </label>
- </li>
- <?php
+ <li>
+ <label for="wpas-submit-<?php echo esc_attr( $connection_data['unique_id'] ); ?>">
+ <input
+ type="checkbox"
+ name="wpas[submit][<?php echo esc_attr( $connection_data['unique_id'] ); ?>]"
+ id="wpas-submit-<?php echo esc_attr( $connection_data['unique_id'] ); ?>"
+ class="wpas-submit-<?php echo esc_attr( $connection_data['service_name'] ); ?>"
+ value="1"
+ <?php
+ checked( true, $connection_data['enabled'] );
+ disabled( false, $connection_data['toggleable'] );
+ ?>
+ />
+ <?php if ( $connection_data['enabled'] && ! $connection_data['toggleable'] ) : // Need to submit a value to force a global connection to POST. ?>
+ <input
+ type="hidden"
+ name="wpas[submit][<?php echo esc_attr( $connection_data['unique_id'] ); ?>]"
+ value="1"
+ />
+ <?php endif; ?>
+
+ <?php echo esc_html( $this->connection_label( $connection_data['service_label'], $connection_data['display_name'] ) ); ?>
+
+ </label>
+ </li>
+ <?php
}
$title = get_post_meta( $post->ID, $this->publicize->POST_MESS, true );
@@ -619,7 +648,7 @@ jQuery( function($) {
</ul>
- <label for="wpas-title"><?php _e( 'Custom Message:', 'jetpack' ); ?></label>
+ <label for="wpas-title"><?php esc_html_e( 'Custom Message:', 'jetpack' ); ?></label>
<span id="wpas-title-counter" class="alignright hide-if-no-js">0</span>
<textarea name="wpas_title" id="wpas-title"<?php disabled( $all_done ); ?>><?php echo esc_textarea( $title ); ?></textarea>
<a href="#" class="hide-if-no-js button" id="publicize-form-hide"><?php esc_html_e( 'OK', 'jetpack' ); ?></a>
@@ -629,21 +658,28 @@ jQuery( function($) {
<?php if ( ! $all_done ) : ?>
<div id="pub-connection-tests"></div>
<?php endif; ?>
- <?php // #publicize-form
+ <?php
return ob_get_clean();
}
+ /**
+ * Metabox that is shown when no services are connected.
+ *
+ * @param array $available_services Array of available services for connecting.
+ */
private function get_metabox_form_disconnected( $available_services ) {
ob_start();
- ?><div id="publicize-form" class="hide-if-js">
+ ?>
+ <div id="publicize-form" class="hide-if-js">
<div id="add-publicize-check" style="display: none;"></div>
- <?php _e( 'Connect to', 'jetpack' ); ?>:
+ <?php esc_html_e( 'Connect to', 'jetpack' ); ?>:
<ul class="not-connected">
<?php foreach ( $available_services as $service_name => $service ) : ?>
<li>
+ <?php /* translators: %s is the name of a Publicize service such as "LinkedIn" */ ?>
<a class="pub-service" data-service="<?php echo esc_attr( $service_name ); ?>" title="<?php echo esc_attr( sprintf( __( 'Connect and share your posts on %s', 'jetpack' ), $this->publicize->get_service_label( $service_name ) ) ); ?>" rel="noopener noreferrer" target="_blank" href="<?php echo esc_url( $this->publicize->connect_url( $service_name ) ); ?>">
<?php echo esc_html( $this->publicize->get_service_label( $service_name ) ); ?>
</a>
@@ -651,7 +687,9 @@ jQuery( function($) {
<?php endforeach; ?>
</ul>
<a href="#" class="hide-if-no-js button" id="publicize-disconnected-form-hide"><?php esc_html_e( 'OK', 'jetpack' ); ?></a>
- </div><?php // #publicize-form
+ </div>
+ <?php
+
return ob_get_clean();
}
}
diff --git a/plugins/jetpack/modules/pwa.php b/plugins/jetpack/modules/pwa.php
deleted file mode 100644
index f372fac5..00000000
--- a/plugins/jetpack/modules/pwa.php
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-/**
- * Deprecated. No longer needed.
- */
diff --git a/plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php b/plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php
deleted file mode 100644
index f372fac5..00000000
--- a/plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-/**
- * Deprecated. No longer needed.
- */
diff --git a/plugins/jetpack/modules/pwa/class.jetpack-pwa-manifest.php b/plugins/jetpack/modules/pwa/class.jetpack-pwa-manifest.php
deleted file mode 100644
index f372fac5..00000000
--- a/plugins/jetpack/modules/pwa/class.jetpack-pwa-manifest.php
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-/**
- * Deprecated. No longer needed.
- */
diff --git a/plugins/jetpack/modules/pwa/images/wp-192.png b/plugins/jetpack/modules/pwa/images/wp-192.png
deleted file mode 100644
index 9bfd50f7..00000000
--- a/plugins/jetpack/modules/pwa/images/wp-192.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/pwa/images/wp-512.png b/plugins/jetpack/modules/pwa/images/wp-512.png
deleted file mode 100644
index 36106626..00000000
--- a/plugins/jetpack/modules/pwa/images/wp-512.png
+++ /dev/null
Binary files differ
diff --git a/plugins/jetpack/modules/related-posts.php b/plugins/jetpack/modules/related-posts.php
index 24591fe9..893132a5 100644
--- a/plugins/jetpack/modules/related-posts.php
+++ b/plugins/jetpack/modules/related-posts.php
@@ -1,4 +1,4 @@
-<?php
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Module Name: Related posts
* Module Description: Keep visitors engaged on your blog by highlighting relevant and new content at the bottom of each published post.
@@ -9,13 +9,16 @@
* Auto Activate: No
* Module Tags: Recommended
* Feature: Engagement
+ * // phpcs:ignore WordPress.WP.CapitalPDangit.Misspelled
* Additional Search Queries: related, jetpack related posts, related posts for wordpress, related posts, popular posts, popular, related content, related post, contextual, context, contextual related posts, related articles, similar posts, easy related posts, related page, simple related posts, free related posts, related thumbnails, similar, engagement, yet another related posts plugin
*/
class Jetpack_RelatedPosts_Module {
/**
* Class variables
+ *
+ * @var Jetpack_RelatedPosts_Module
*/
- private static $__instance = null;
+ private static $instance = null;
/**
* Singleton implementation
@@ -23,10 +26,11 @@ class Jetpack_RelatedPosts_Module {
* @return object
*/
public static function instance() {
- if ( ! is_a( self::$__instance, 'Jetpack_RelatedPosts_Module' ) )
- self::$__instance = new Jetpack_RelatedPosts_Module();
+ if ( ! is_a( self::$instance, 'Jetpack_RelatedPosts_Module' ) ) {
+ self::$instance = new Jetpack_RelatedPosts_Module();
+ }
- return self::$__instance;
+ return self::$instance;
}
/**
@@ -42,10 +46,9 @@ class Jetpack_RelatedPosts_Module {
* This action triggers if the module is in an active state, load related posts and options.
*
* @uses Jetpack_RelatedPosts::init, is_admin, Jetpack::enable_module_configurable, Jetpack_Sync::sync_posts
- * @return null
*/
public function action_on_load() {
- require_once 'related-posts/jetpack-related-posts.php';
+ require_once __DIR__ . '/related-posts/jetpack-related-posts.php';
Jetpack_RelatedPosts::init();
if ( is_admin() ) {
@@ -54,7 +57,7 @@ class Jetpack_RelatedPosts_Module {
// Load Customizer controls.
if ( class_exists( WP_Customize_Manager::class ) && class_exists( WP_Customize_Control::class ) ) {
- require_once 'related-posts/class.related-posts-customize.php';
+ require_once __DIR__ . '/related-posts/class.related-posts-customize.php';
}
}
}
diff --git a/plugins/jetpack/modules/related-posts/class.related-posts-customize.php b/plugins/jetpack/modules/related-posts/class.related-posts-customize.php
index c6dd4788..b8d124e9 100644
--- a/plugins/jetpack/modules/related-posts/class.related-posts-customize.php
+++ b/plugins/jetpack/modules/related-posts/class.related-posts-customize.php
@@ -1,8 +1,8 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Assets;
-// Exit if file is accessed directly
+// Exit if file is accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
@@ -19,19 +19,21 @@ class Jetpack_Related_Posts_Customize {
*
* @var string
*/
- var $prefix = 'jetpack_relatedposts';
+ public $prefix = 'jetpack_relatedposts';
/**
- * @var string Control to focus when customizer loads.
+ * Control to focus when customizer loads
+ *
+ * @var string
*/
- var $focus = '';
+ public $focus = '';
/**
* Class initialization.
*
* @since 4.4.0
*/
- function __construct() {
+ public function __construct() {
add_action( 'customize_register', array( $this, 'customize_register' ) );
add_action( 'customize_controls_enqueue_scripts', array( $this, 'customize_controls_enqueue_scripts' ) );
}
@@ -43,37 +45,39 @@ class Jetpack_Related_Posts_Customize {
*
* @param WP_Customize_Manager $wp_customize Customizer instance.
*/
- function customize_register( $wp_customize ) {
+ public function customize_register( $wp_customize ) {
- $wp_customize->add_section( $this->prefix,
+ $wp_customize->add_section(
+ $this->prefix,
array(
- 'title' => esc_html__( 'Related Posts', 'jetpack' ),
+ 'title' => esc_html__( 'Related Posts', 'jetpack' ),
'description' => '',
'capability' => 'edit_theme_options',
- 'priority' => 200,
+ 'priority' => 200,
)
);
$selective_options = array();
foreach ( $this->get_options( $wp_customize ) as $key => $field ) {
- $control_id = "$this->prefix[$key]";
+ $control_id = "$this->prefix[$key]";
$selective_options[] = $control_id;
- $wp_customize->add_setting( $control_id,
+ $wp_customize->add_setting(
+ $control_id,
array(
- 'default' => isset( $field['default'] ) ? $field['default'] : '',
- 'type' => isset( $field['setting_type'] ) ? $field['setting_type'] : 'option',
+ 'default' => isset( $field['default'] ) ? $field['default'] : '',
+ 'type' => isset( $field['setting_type'] ) ? $field['setting_type'] : 'option',
'capability' => isset( $field['capability'] ) ? $field['capability'] : 'edit_theme_options',
'transport' => isset( $field['transport'] ) ? $field['transport'] : 'postMessage',
)
);
$control_settings = array(
- 'label' => isset( $field['label'] ) ? $field['label'] : '',
- 'description' => isset( $field['description'] ) ? $field['description'] : '',
- 'settings' => $control_id,
- 'type' => isset( $field['control_type'] ) ? $field['control_type'] : 'text',
- 'section' => $this->prefix,
- 'priority' => 10,
+ 'label' => isset( $field['label'] ) ? $field['label'] : '',
+ 'description' => isset( $field['description'] ) ? $field['description'] : '',
+ 'settings' => $control_id,
+ 'type' => isset( $field['control_type'] ) ? $field['control_type'] : 'text',
+ 'section' => $this->prefix,
+ 'priority' => 10,
'active_callback' => isset( $field['active_callback'] ) ? $field['active_callback'] : __CLASS__ . '::is_single',
);
switch ( $field['control_type'] ) {
@@ -96,12 +100,15 @@ class Jetpack_Related_Posts_Customize {
// If selective refresh is available, implement it.
if ( isset( $wp_customize->selective_refresh ) ) {
- $wp_customize->selective_refresh->add_partial( "$this->prefix", array(
- 'selector' => '.jp-relatedposts:not(.jp-relatedposts-block)',
- 'settings' => $selective_options,
- 'render_callback' => __CLASS__ . '::render_callback',
- 'container_inclusive' => false,
- ) );
+ $wp_customize->selective_refresh->add_partial(
+ "$this->prefix",
+ array(
+ 'selector' => '.jp-relatedposts:not(.jp-relatedposts-block)',
+ 'settings' => $selective_options,
+ 'render_callback' => __CLASS__ . '::render_callback',
+ 'container_inclusive' => false,
+ )
+ );
}
}
@@ -112,7 +119,7 @@ class Jetpack_Related_Posts_Customize {
* @since 4.4.0
*/
public static function render_callback() {
- echo Jetpack_RelatedPosts::init()->get_headline();
+ echo Jetpack_RelatedPosts::init()->get_headline(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- content escaped in get_headline method
}
/**
@@ -167,15 +174,15 @@ class Jetpack_Related_Posts_Customize {
*
* @since 4.4.0
*
- * @param object $wp_customize Instance of WP Customizer
+ * @param object $wp_customize Instance of WP Customizer.
*
* @return mixed|void
*/
- function get_options( $wp_customize ) {
+ public function get_options( $wp_customize ) {
$transport = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
$switched_locale = switch_to_locale( get_user_locale() );
- $headline = __( 'Related', 'jetpack' );
+ $headline = __( 'Related', 'jetpack' );
if ( $switched_locale ) {
restore_previous_locale();
}
@@ -190,14 +197,15 @@ class Jetpack_Related_Posts_Customize {
* @param array $options Array of options used to display Related Posts in the Customizer.
*/
return apply_filters(
- 'jetpack_related_posts_customize_options', array(
- 'enabled' => array(
+ 'jetpack_related_posts_customize_options',
+ array(
+ 'enabled' => array(
'control_type' => 'hidden',
'default' => 1,
'setting_type' => 'option',
'transport' => $transport,
),
- 'show_headline' => array(
+ 'show_headline' => array(
'label' => esc_html__( 'Show a headline', 'jetpack' ),
'description' => esc_html__( 'This helps to clearly separate the related posts from post content.', 'jetpack' ),
'control_type' => 'checkbox',
@@ -205,7 +213,7 @@ class Jetpack_Related_Posts_Customize {
'setting_type' => 'option',
'transport' => $transport,
),
- 'headline' => array(
+ 'headline' => array(
'label' => '',
'description' => esc_html__( 'Enter text to use as headline.', 'jetpack' ),
'control_type' => 'text',
@@ -213,7 +221,7 @@ class Jetpack_Related_Posts_Customize {
'setting_type' => 'option',
'transport' => $transport,
),
- 'show_thumbnails' => array(
+ 'show_thumbnails' => array(
'label' => esc_html__( 'Show thumbnails', 'jetpack' ),
'description' => esc_html__( 'Show a thumbnail image where available.', 'jetpack' ),
'control_type' => 'checkbox',
@@ -221,7 +229,7 @@ class Jetpack_Related_Posts_Customize {
'setting_type' => 'option',
'transport' => $transport,
),
- 'show_date' => array(
+ 'show_date' => array(
'label' => esc_html__( 'Show date', 'jetpack' ),
'description' => esc_html__( 'Display date when entry was published.', 'jetpack' ),
'control_type' => 'checkbox',
@@ -229,7 +237,7 @@ class Jetpack_Related_Posts_Customize {
'setting_type' => 'option',
'transport' => $transport,
),
- 'show_context' => array(
+ 'show_context' => array(
'label' => esc_html__( 'Show context', 'jetpack' ),
'description' => esc_html__( "Display entry's category or tag.", 'jetpack' ),
'control_type' => 'checkbox',
@@ -237,11 +245,11 @@ class Jetpack_Related_Posts_Customize {
'setting_type' => 'option',
'transport' => $transport,
),
- 'layout' => array(
+ 'layout' => array(
'label' => esc_html__( 'Layout', 'jetpack' ),
'description' => esc_html__( 'Arrange entries in different layouts.', 'jetpack' ),
'control_type' => 'select',
- 'choices' => array(
+ 'choices' => array(
'grid' => esc_html__( 'Grid', 'jetpack' ),
'list' => esc_html__( 'List', 'jetpack' ),
),
@@ -267,7 +275,7 @@ class Jetpack_Related_Posts_Customize {
*
* @since 4.4.0
*/
- function customize_controls_enqueue_scripts() {
+ public function customize_controls_enqueue_scripts() {
wp_enqueue_script(
'jetpack_related-posts-customizer',
Assets::get_file_url_for_environment(
@@ -275,7 +283,8 @@ class Jetpack_Related_Posts_Customize {
'modules/related-posts/related-posts-customizer.js'
),
array( 'customize-controls' ),
- JETPACK__VERSION
+ JETPACK__VERSION,
+ false
);
}
@@ -285,8 +294,9 @@ class Jetpack_Related_Posts_Customize {
* Control that displays a message in Customizer.
*
* @since 4.4.0
+ * @todo break this out into its own file.
*/
-class Jetpack_Message_Control extends WP_Customize_Control {
+class Jetpack_Message_Control extends WP_Customize_Control { // phpcs:ignore
/**
* Render the message.
@@ -298,5 +308,5 @@ class Jetpack_Message_Control extends WP_Customize_Control {
}
} // class end
-// Initialize controls
+// Initialize controls.
new Jetpack_Related_Posts_Customize();
diff --git a/plugins/jetpack/modules/related-posts/jetpack-related-posts.php b/plugins/jetpack/modules/related-posts/jetpack-related-posts.php
index 1927e21c..25910da8 100644
--- a/plugins/jetpack/modules/related-posts/jetpack-related-posts.php
+++ b/plugins/jetpack/modules/related-posts/jetpack-related-posts.php
@@ -1,14 +1,33 @@
-<?php
+<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * The Jetpack_RelatedPosts class.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Blocks;
use Automattic\Jetpack\Sync\Settings;
+/**
+ * The Jetpack_RelatedPosts class.
+ */
class Jetpack_RelatedPosts {
const VERSION = '20211209';
const SHORTCODE = 'jetpack-related-posts';
- private static $instance = null;
+ /**
+ * Instance of the class.
+ *
+ * @var Jetpack_RelatedPosts
+ */
+ private static $instance = null;
+
+ /**
+ * Instance of the raw class (?).
+ *
+ * @var Jetpack_RelatedPosts
+ */
private static $instance_raw = null;
/**
@@ -18,7 +37,7 @@ class Jetpack_RelatedPosts {
*/
public static function init() {
if ( ! self::$instance ) {
- if ( class_exists('WPCOM_RelatedPosts') && method_exists( 'WPCOM_RelatedPosts', 'init' ) ) {
+ if ( class_exists( 'WPCOM_RelatedPosts' ) && method_exists( 'WPCOM_RelatedPosts', 'init' ) ) {
self::$instance = WPCOM_RelatedPosts::init();
} else {
self::$instance = new Jetpack_RelatedPosts();
@@ -35,7 +54,7 @@ class Jetpack_RelatedPosts {
*/
public static function init_raw() {
if ( ! self::$instance_raw ) {
- if ( class_exists('WPCOM_RelatedPosts') && method_exists( 'WPCOM_RelatedPosts', 'init_raw' ) ) {
+ if ( class_exists( 'WPCOM_RelatedPosts' ) && method_exists( 'WPCOM_RelatedPosts', 'init_raw' ) ) {
self::$instance_raw = WPCOM_RelatedPosts::init_raw();
} else {
self::$instance_raw = new Jetpack_RelatedPosts_Raw();
@@ -45,24 +64,56 @@ class Jetpack_RelatedPosts {
return self::$instance_raw;
}
- protected $_options;
- protected $_allow_feature_toggle;
- protected $_blog_charset;
- protected $_convert_charset;
- protected $_previous_post_id;
- protected $_found_shortcode = false;
+ /**
+ * Options.
+ *
+ * @var array $options
+ */
+ protected $options;
+
+ /**
+ * Allow feature toggle variable.
+ *
+ * @var bool
+ */
+ protected $allow_feature_toggle;
+
+ /**
+ * Blog character set.
+ *
+ * @var mixed
+ */
+ protected $blog_charset;
+
+ /**
+ * Convert character set.
+ *
+ * @var bool
+ */
+ protected $convert_charset;
+
+ /**
+ * Previous Post ID
+ *
+ * @var int
+ */
+ protected $previous_post_id;
+
+ /**
+ * Shortcode usage.
+ *
+ * @var bool
+ */
+ protected $found_shortcode = false;
/**
* Constructor for Jetpack_RelatedPosts.
*
* @uses get_option, add_action, apply_filters
- *
- * @return null
*/
public function __construct() {
- $this->_blog_charset = get_option( 'blog_charset' );
- $this->_convert_charset = ( function_exists( 'iconv' ) && ! preg_match( '/^utf\-?8$/i', $this->_blog_charset ) );
-
+ $this->blog_charset = get_option( 'blog_charset' );
+ $this->convert_charset = ( function_exists( 'iconv' ) && ! preg_match( '/^utf\-?8$/i', $this->blog_charset ) );
add_action( 'admin_init', array( $this, 'action_admin_init' ) );
add_action( 'wp', array( $this, 'action_frontend_init' ) );
@@ -77,10 +128,30 @@ class Jetpack_RelatedPosts {
'jetpack/related-posts',
array(
'render_callback' => array( $this, 'render_block' ),
+ 'supports' => array(
+ 'color' => array(
+ 'gradients' => true,
+ 'link' => true,
+ ),
+ 'spacing' => array(
+ 'margin' => true,
+ 'padding' => true,
+ ),
+ 'typography' => array(
+ 'fontSize' => true,
+ 'lineHeight' => true,
+ ),
+ 'align' => array( 'wide', 'full' ),
+ ),
)
);
}
+ /**
+ * Get the blog ID.
+ *
+ * @return Object current blog id.
+ */
protected function get_blog_id() {
return Jetpack_Options::get_option( 'id' );
}
@@ -96,18 +167,17 @@ class Jetpack_RelatedPosts {
*
* @action admin_init
* @uses add_settings_field, __, register_setting, add_action
- * @return null
*/
public function action_admin_init() {
- // Add the setting field [jetpack_relatedposts] and place it in Settings > Reading
+ // Add the setting field [jetpack_relatedposts] and place it in Settings > Reading.
add_settings_field( 'jetpack_relatedposts', '<span id="jetpack_relatedposts">' . __( 'Related posts', 'jetpack' ) . '</span>', array( $this, 'print_setting_html' ), 'reading' );
register_setting( 'reading', 'jetpack_relatedposts', array( $this, 'parse_options' ) );
- add_action('admin_head', array( $this, 'print_setting_head' ) );
+ add_action( 'admin_head', array( $this, 'print_setting_head' ) );
- if( 'options-reading.php' == $GLOBALS['pagenow'] ) {
- // Enqueue style for live preview on the reading settings page
- $this->_enqueue_assets( false, true );
+ if ( 'options-reading.php' === $GLOBALS['pagenow'] ) {
+ // Enqueue style for live preview on the reading settings page.
+ $this->enqueue_assets( false, true );
}
}
@@ -117,25 +187,25 @@ class Jetpack_RelatedPosts {
* @global $_GET
* @action wp
* @uses add_shortcode, get_the_ID
- * @returns null
*/
public function action_frontend_init() {
- // Add a shortcode handler that outputs nothing, this gets overridden later if we can display related content
+ // Add a shortcode handler that outputs nothing, this gets overridden later if we can display related content.
add_shortcode( self::SHORTCODE, array( $this, 'get_client_rendered_html_unsupported' ) );
- if ( ! $this->_enabled_for_request() )
+ if ( ! $this->enabled_for_request() ) {
return;
+ }
- if ( isset( $_GET['relatedposts'] ) ) {
+ if ( isset( $_GET['relatedposts'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reading and checking if we need to generate a list of excuded posts, does not update anything on the site.
$excludes = $this->parse_numeric_get_arg( 'relatedposts_exclude' );
- $this->_action_frontend_init_ajax( $excludes );
+ $this->action_frontend_init_ajax( $excludes );
} else {
- if ( isset( $_GET['relatedposts_hit'], $_GET['relatedposts_origin'], $_GET['relatedposts_position'] ) ) {
- $this->_log_click( $_GET['relatedposts_origin'], get_the_ID(), $_GET['relatedposts_position'] );
- $this->_previous_post_id = (int) $_GET['relatedposts_origin'];
+ if ( isset( $_GET['relatedposts_hit'], $_GET['relatedposts_origin'], $_GET['relatedposts_position'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- checking if fields are set to setup tracking, nothing is changing on the site.
+ $this->previous_post_id = (int) $_GET['relatedposts_origin']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- fetching a previous post ID for tracking, nothing is changing on the site.
+ $this->log_click( $this->previous_post_id, get_the_ID(), sanitize_text_field( wp_unslash( $_GET['relatedposts_position'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- logging the click for tracking, nothing is changing on the site.
}
- $this->_action_frontend_init_page();
+ $this->action_frontend_init_page();
}
}
@@ -178,7 +248,7 @@ class Jetpack_RelatedPosts {
return $content;
}
- if ( ! $this->_found_shortcode && ! doing_filter( 'get_the_excerpt' ) ) {
+ if ( ! $this->found_shortcode && ! doing_filter( 'get_the_excerpt' ) ) {
if ( class_exists( 'Jetpack_AMP_Support' ) && Jetpack_AMP_Support::is_amp_request() ) {
$content .= "\n" . $this->get_server_rendered_html();
} else {
@@ -214,12 +284,12 @@ class Jetpack_RelatedPosts {
* Looks for our shortcode on the unfiltered content, this has to execute early.
*
* @filter the_content
- * @param string $content
+ * @param string $content - content of the post.
* @uses has_shortcode
- * @returns string
+ * @return string $content
*/
public function test_for_shortcode( $content ) {
- $this->_found_shortcode = has_shortcode( $content, self::SHORTCODE );
+ $this->found_shortcode = has_shortcode( $content, self::SHORTCODE );
return $content;
}
@@ -228,7 +298,7 @@ class Jetpack_RelatedPosts {
* Returns the HTML for the related posts section.
*
* @uses esc_html__, apply_filters
- * @returns string
+ * @return string
*/
public function get_client_rendered_html() {
if ( Settings::is_syncing() ) {
@@ -246,10 +316,10 @@ class Jetpack_RelatedPosts {
*/
$headline = apply_filters( 'jetpack_relatedposts_filter_headline', $this->get_headline() );
- if ( $this->_previous_post_id ) {
- $exclude = "data-exclude='{$this->_previous_post_id}'";
+ if ( $this->previous_post_id ) {
+ $exclude = "data-exclude='{$this->previous_post_id}'";
} else {
- $exclude = "";
+ $exclude = '';
}
return <<<EOT
@@ -363,6 +433,7 @@ EOT;
* @return string
*/
public function render_block( $attributes ) {
+ $post_id = get_the_ID();
$block_attributes = array(
'headline' => isset( $attributes['headline'] ) ? $attributes['headline'] : null,
'show_thumbnails' => isset( $attributes['displayThumbnails'] ) && $attributes['displayThumbnails'],
@@ -375,7 +446,7 @@ EOT;
$excludes = $this->parse_numeric_get_arg( 'relatedposts_origin' );
$related_posts = $this->get_for_post_id(
- get_the_ID(),
+ $post_id,
array(
'size' => $block_attributes['size'],
'exclude_post_ids' => $excludes,
@@ -408,12 +479,30 @@ EOT;
$rows_markup .= $this->render_block_row( $lower_row_posts, $block_attributes );
}
- return sprintf(
- '<nav class="jp-relatedposts-i2" data-layout="%1$s">%2$s%3$s</nav>',
+ $wrapper_attributes = \WP_Block_Supports::get_instance()->apply_block_supports();
+
+ $display_markup = sprintf(
+ '<nav class="jp-relatedposts-i2%1$s"%2$s data-layout="%3$s">%4$s%5$s</nav>',
+ ! empty( $wrapper_attributes['class'] ) ? ' ' . esc_attr( $wrapper_attributes['class'] ) : '',
+ ! empty( $wrapper_attributes['style'] ) ? ' style="' . esc_attr( $wrapper_attributes['style'] ) . '"' : '',
esc_attr( $block_attributes['layout'] ),
$block_attributes['headline'],
$rows_markup
);
+
+ /**
+ * Filter the output HTML of Related Posts.
+ *
+ * @module related-posts
+ *
+ * @since 10.7
+ *
+ * @param string $display_markup HTML output of Related Posts.
+ * @param int|false get_the_ID() Post ID of the post for which we are retrieving Related Posts.
+ * @param array $related_posts Array of related posts.
+ * @param array $block_attributes Array of Block attributes.
+ */
+ return apply_filters( 'jetpack_related_posts_display_markup', $display_markup, $post_id, $related_posts, $block_attributes );
}
/**
@@ -435,11 +524,12 @@ EOT;
public function parse_numeric_get_arg( $arg ) {
$result = array();
- if ( isset( $_GET[ $arg ] ) ) {
- if ( is_string( $_GET[ $arg ] ) ) {
- $result = explode( ',', $_GET[ $arg ] );
- } elseif ( is_array( $_GET[ $arg ] ) ) {
- $result = array_values( $_GET[ $arg ] );
+ if ( isset( $_GET[ $arg ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- requests are used to generate a list of related posts we want to exclude.
+ if ( is_string( $_GET[ $arg ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $result = explode( ',', sanitize_text_field( wp_unslash( $_GET[ $arg ] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ } elseif ( is_array( $_GET[ $arg ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $args = array_map( 'sanitize_text_field', wp_unslash( $_GET[ $arg ] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $result = array_values( $args );
}
$result = array_unique( array_filter( array_map( 'absint', $result ) ) );
@@ -455,30 +545,35 @@ EOT;
* @return array
*/
public function get_options() {
- if ( null === $this->_options ) {
- $this->_options = Jetpack_Options::get_option( 'relatedposts', array() );
- if ( ! is_array( $this->_options ) )
- $this->_options = array();
- if ( ! isset( $this->_options['enabled'] ) )
- $this->_options['enabled'] = true;
- if ( ! isset( $this->_options['show_headline'] ) )
- $this->_options['show_headline'] = true;
- if ( ! isset( $this->_options['show_thumbnails'] ) )
- $this->_options['show_thumbnails'] = false;
- if ( ! isset( $this->_options['show_date'] ) ) {
- $this->_options['show_date'] = true;
+ if ( null === $this->options ) {
+ $this->options = Jetpack_Options::get_option( 'relatedposts', array() );
+ if ( ! is_array( $this->options ) ) {
+ $this->options = array();
+ }
+ if ( ! isset( $this->options['enabled'] ) ) {
+ $this->options['enabled'] = true;
+ }
+ if ( ! isset( $this->options['show_headline'] ) ) {
+ $this->options['show_headline'] = true;
}
- if ( ! isset( $this->_options['show_context'] ) ) {
- $this->_options['show_context'] = true;
+ if ( ! isset( $this->options['show_thumbnails'] ) ) {
+ $this->options['show_thumbnails'] = false;
}
- if ( ! isset( $this->_options['layout'] ) ) {
- $this->_options['layout'] = 'grid';
+ if ( ! isset( $this->options['show_date'] ) ) {
+ $this->options['show_date'] = true;
}
- if ( ! isset( $this->_options['headline'] ) ) {
- $this->_options['headline'] = esc_html__( 'Related', 'jetpack' );
+ if ( ! isset( $this->options['show_context'] ) ) {
+ $this->options['show_context'] = true;
+ }
+ if ( ! isset( $this->options['layout'] ) ) {
+ $this->options['layout'] = 'grid';
+ }
+ if ( ! isset( $this->options['headline'] ) ) {
+ $this->options['headline'] = esc_html__( 'Related', 'jetpack' );
+ }
+ if ( empty( $this->options['size'] ) || (int) $this->options['size'] < 1 ) {
+ $this->options['size'] = 3;
}
- if ( empty( $this->_options['size'] ) || (int)$this->_options['size'] < 1 )
- $this->_options['size'] = 3;
/**
* Filter Related Posts basic options.
@@ -489,12 +584,17 @@ EOT;
*
* @param array $this->_options Array of basic Related Posts options.
*/
- $this->_options = apply_filters( 'jetpack_relatedposts_filter_options', $this->_options );
+ $this->options = apply_filters( 'jetpack_relatedposts_filter_options', $this->options );
}
- return $this->_options;
+ return $this->options;
}
+ /**
+ * Gets options.
+ *
+ * @param string $option_name - option we want to get.
+ */
public function get_option( $option_name ) {
$options = $this->get_options();
@@ -508,15 +608,16 @@ EOT;
/**
* Parses input and returns normalized options array.
*
- * @param array $input
+ * @param array $input - input we're parsing.
* @uses self::get_options
* @return array
*/
public function parse_options( $input ) {
$current = $this->get_options();
- if ( !is_array( $input ) )
+ if ( ! is_array( $input ) ) {
$input = array();
+ }
if (
! isset( $input['enabled'] )
@@ -528,23 +629,23 @@ EOT;
$input['enabled'] = '1';
}
- if ( '1' == $input['enabled'] ) {
- $current['enabled'] = true;
- $current['show_headline'] = ( isset( $input['show_headline'] ) && '1' == $input['show_headline'] );
- $current['show_thumbnails'] = ( isset( $input['show_thumbnails'] ) && '1' == $input['show_thumbnails'] );
- $current['show_date'] = ( isset( $input['show_date'] ) && '1' == $input['show_date'] );
- $current['show_context'] = ( isset( $input['show_context'] ) && '1' == $input['show_context'] );
- $current['layout'] = isset( $input['layout'] ) && in_array( $input['layout'], array( 'grid', 'list' ), true ) ? $input['layout'] : 'grid';
- $current['headline'] = isset( $input['headline'] ) ? $input['headline'] : esc_html__( 'Related', 'jetpack' );
+ if ( '1' == $input['enabled'] ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- expecting string, but may return bools.
+ $current['enabled'] = true;
+ $current['show_headline'] = ( isset( $input['show_headline'] ) && '1' == $input['show_headline'] ); // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ $current['show_thumbnails'] = ( isset( $input['show_thumbnails'] ) && '1' == $input['show_thumbnails'] ); // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ $current['show_date'] = ( isset( $input['show_date'] ) && '1' == $input['show_date'] ); // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ $current['show_context'] = ( isset( $input['show_context'] ) && '1' == $input['show_context'] ); // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ $current['layout'] = isset( $input['layout'] ) && in_array( $input['layout'], array( 'grid', 'list' ), true ) ? $input['layout'] : 'grid';
+ $current['headline'] = isset( $input['headline'] ) ? $input['headline'] : esc_html__( 'Related', 'jetpack' );
} else {
$current['enabled'] = false;
}
- if ( isset( $input['size'] ) && (int)$input['size'] > 0 )
- $current['size'] = (int)$input['size'];
- else
+ if ( isset( $input['size'] ) && (int) $input['size'] > 0 ) {
+ $current['size'] = (int) $input['size'];
+ } else {
$current['size'] = null;
-
+ }
return $current;
}
@@ -578,7 +679,7 @@ EOT;
<div id="jp-relatedposts" class="jp-relatedposts"></div>
</div>
EOT;
- $ui_settings = sprintf(
+ $ui_settings = sprintf(
$ui_settings_template,
esc_html__( 'The following settings will impact all related posts on your site, except for those you created via the block editor:', 'jetpack' ),
checked( $options['show_headline'], true, false ),
@@ -592,14 +693,14 @@ EOT;
esc_html__( 'Preview:', 'jetpack' )
);
- if ( !$this->_allow_feature_toggle() ) {
+ if ( ! $this->allow_feature_toggle() ) {
$template = <<<EOT
<input type="hidden" name="jetpack_relatedposts[enabled]" value="1" />
%s
EOT;
printf(
- $template,
- $ui_settings
+ $template, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ $ui_settings // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- data is escaped when variable is set.
);
} else {
$template = <<<EOT
@@ -614,12 +715,12 @@ EOT;
</ul>
EOT;
printf(
- $template,
+ $template, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
checked( $options['enabled'], false, false ),
esc_html__( 'Hide related content after posts', 'jetpack' ),
checked( $options['enabled'], true, false ),
esc_html__( 'Show related content after posts', 'jetpack' ),
- $ui_settings
+ $ui_settings // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- data is escaped when variable is set.
);
}
}
@@ -632,23 +733,24 @@ EOT;
*/
public function print_setting_head() {
- // only dislay the Related Posts JavaScript on the Reading Settings Admin Page
- $current_screen = get_current_screen();
+ // only dislay the Related Posts JavaScript on the Reading Settings Admin Page.
+ $current_screen = get_current_screen();
- if ( is_null( $current_screen ) ) {
+ if ( $current_screen === null ) {
return;
}
- if( 'options-reading' != $current_screen->id )
+ if ( 'options-reading' !== $current_screen->id ) {
return;
+ }
$related_headline = sprintf(
'<h3 class="jp-relatedposts-headline"><em>%s</em></h3>',
esc_html__( 'Related', 'jetpack' )
);
- $href_params = 'class="jp-relatedposts-post-a" href="#jetpack_relatedposts" rel="nofollow" data-origin="0" data-position="0"';
- $related_with_images = <<<EOT
+ $href_params = 'class="jp-relatedposts-post-a" href="#jetpack_relatedposts" rel="nofollow" data-origin="0" data-position="0"';
+ $related_with_images = <<<EOT
<div class="jp-relatedposts-items jp-relatedposts-items-visual">
<div class="jp-relatedposts-post jp-relatedposts-post0 jp-relatedposts-post-thumbs" data-post-id="0" data-post-format="image">
<a $href_params>
@@ -682,7 +784,7 @@ EOT;
</div>
</div>
EOT;
- $related_with_images = str_replace( "\n", '', $related_with_images );
+ $related_with_images = str_replace( "\n", '', $related_with_images );
$related_without_images = <<<EOT
<div class="jp-relatedposts-items jp-relatedposts-items-minimal">
<p class="jp-relatedposts-post jp-relatedposts-post0" data-post-id="0" data-post-format="image">
@@ -701,12 +803,12 @@ EOT;
EOT;
$related_without_images = str_replace( "\n", '', $related_without_images );
- if ( $this->_allow_feature_toggle() ) {
+ if ( $this->allow_feature_toggle() ) {
$extra_css = '#settings-reading-relatedposts-customize { padding-left:2em; margin-top:.5em; }';
} else {
$extra_css = '';
}
-
+ // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo <<<EOT
<style type="text/css">
#settings-reading-relatedposts .disabled { opacity:.5; filter:Alpha(opacity=50); }
@@ -822,7 +924,7 @@ EOT;
*/
$args = apply_filters( 'jetpack_relatedposts_filter_args', $args, $post_id );
- $filters = $this->_get_es_filters_from_args( $post_id, $args );
+ $filters = $this->get_es_filters_from_args( $post_id, $args );
/**
* Filter Elasticsearch options used to calculate Related Posts.
*
@@ -835,7 +937,7 @@ EOT;
*/
$filters = apply_filters( 'jetpack_relatedposts_filter_filters', $filters, $post_id );
- $results = $this->_get_related_posts( $post_id, $args['size'], $filters );
+ $results = $this->get_related_posts( $post_id, $args['size'], $filters );
/**
* Filter the array of related posts matched by Elasticsearch.
*
@@ -844,7 +946,7 @@ EOT;
* @since 2.8.0
*
* @param array $results Array of related posts matched by Elasticsearch.
- * @param string $post_id Post ID of the post for which we are retrieving Related Posts.
+ * @param int $post_id Post ID of the post for which we are retrieving Related Posts.
*/
return apply_filters( 'jetpack_relatedposts_returned_results', $results, $post_id );
}
@@ -858,12 +960,12 @@ EOT;
/**
* Creates an array of Elasticsearch filters based on the post_id and args.
*
- * @param int $post_id
- * @param array $args
+ * @param int $post_id - the post ID.
+ * @param array $args - the arguments.
* @uses apply_filters, get_post_types, get_post_format_strings
* @return array
*/
- protected function _get_es_filters_from_args( $post_id, array $args ) {
+ protected function get_es_filters_from_args( $post_id, array $args ) {
$filters = array();
/**
@@ -878,7 +980,7 @@ EOT;
*/
$args['has_terms'] = apply_filters( 'jetpack_relatedposts_filter_has_terms', $args['has_terms'], $post_id );
if ( ! empty( $args['has_terms'] ) ) {
- foreach( (array)$args['has_terms'] as $term ) {
+ foreach ( (array) $args['has_terms'] as $term ) {
if ( mb_strlen( $term->taxonomy ) ) {
switch ( $term->taxonomy ) {
case 'post_tag':
@@ -907,17 +1009,19 @@ EOT;
* @param string $post_id Post ID of the post for which we are retrieving Related Posts.
*/
$args['post_type'] = apply_filters( 'jetpack_relatedposts_filter_post_type', $args['post_type'], $post_id );
- $valid_post_types = get_post_types();
+ $valid_post_types = get_post_types();
if ( is_array( $args['post_type'] ) ) {
$sanitized_post_types = array();
foreach ( $args['post_type'] as $pt ) {
- if ( in_array( $pt, $valid_post_types ) )
+ if ( in_array( $pt, $valid_post_types, true ) ) {
$sanitized_post_types[] = $pt;
+ }
}
- if ( ! empty( $sanitized_post_types ) )
+ if ( ! empty( $sanitized_post_types ) ) {
$filters[] = array( 'terms' => array( 'post_type' => $sanitized_post_types ) );
- } else if ( in_array( $args['post_type'], $valid_post_types ) && 'all' != $args['post_type'] ) {
- $filters[] = array( 'term' => array( 'post_type' => $args['post_type'] ) );
+ }
+ } elseif ( in_array( $args['post_type'], $valid_post_types, true ) && 'all' !== $args['post_type'] ) {
+ $filters[] = array( 'term' => array( 'post_type' => $args['post_type'] ) );
}
/**
@@ -930,8 +1034,8 @@ EOT;
* @param array $args['post_formats'] Array of Post Formats.
* @param string $post_id Post ID of the post for which we are retrieving Related Posts.
*/
- $args['post_formats'] = apply_filters( 'jetpack_relatedposts_filter_post_formats', $args['post_formats'], $post_id );
- $valid_post_formats = get_post_format_strings();
+ $args['post_formats'] = apply_filters( 'jetpack_relatedposts_filter_post_formats', $args['post_formats'], $post_id );
+ $valid_post_formats = get_post_format_strings();
$sanitized_post_formats = array();
foreach ( $args['post_formats'] as $pf ) {
if ( array_key_exists( $pf, $valid_post_formats ) ) {
@@ -955,11 +1059,11 @@ EOT;
$args['date_range'] = apply_filters( 'jetpack_relatedposts_filter_date_range', $args['date_range'], $post_id );
if ( is_array( $args['date_range'] ) && ! empty( $args['date_range'] ) ) {
$args['date_range'] = array_map( 'intval', $args['date_range'] );
- if ( !empty( $args['date_range']['from'] ) && !empty( $args['date_range']['to'] ) ) {
+ if ( ! empty( $args['date_range']['from'] ) && ! empty( $args['date_range']['to'] ) ) {
$filters[] = array(
'range' => array(
- 'date_gmt' => $this->_get_coalesced_range( $args['date_range'] ),
- )
+ 'date_gmt' => $this->get_coalesced_range( $args['date_range'] ),
+ ),
);
}
}
@@ -975,12 +1079,13 @@ EOT;
* @param string $post_id Post ID of the post for which we are retrieving Related Posts.
*/
$args['exclude_post_ids'] = apply_filters( 'jetpack_relatedposts_filter_exclude_post_ids', $args['exclude_post_ids'], $post_id );
- if ( !empty( $args['exclude_post_ids'] ) && is_array( $args['exclude_post_ids'] ) ) {
+ if ( ! empty( $args['exclude_post_ids'] ) && is_array( $args['exclude_post_ids'] ) ) {
$excluded_post_ids = array();
- foreach ( $args['exclude_post_ids'] as $exclude_post_id) {
- $exclude_post_id = (int)$exclude_post_id;
- if ( $exclude_post_id > 0 )
+ foreach ( $args['exclude_post_ids'] as $exclude_post_id ) {
+ $exclude_post_id = (int) $exclude_post_id;
+ if ( $exclude_post_id > 0 ) {
$excluded_post_ids[] = $exclude_post_id;
+ }
}
$filters[] = array( 'not' => array( 'terms' => array( 'post_id' => $excluded_post_ids ) ) );
}
@@ -991,25 +1096,27 @@ EOT;
/**
* Takes a range and coalesces it into a month interval bracketed by a time as determined by the blog_id to enhance caching.
*
- * @param array $date_range
+ * @todo Rewrite this function with proper date handling rather than `strtotime()` and `date()`.
+ *
+ * @param array $date_range - the date range.
* @return array
*/
- protected function _get_coalesced_range( array $date_range ) {
- $now = time();
+ protected function get_coalesced_range( array $date_range ) {
+ $now = time();
$coalesce_time = $this->get_blog_id() % 86400;
- $current_time = $now - strtotime( 'today', $now );
+ $current_time = $now - strtotime( 'today', $now );
- if ( $current_time < $coalesce_time && '01' == date( 'd', $now ) ) {
- // Move back 1 period
+ if ( $current_time < $coalesce_time && '01' === date( 'd', $now ) ) { // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
+ // Move back 1 period.
return array(
- 'from' => date( 'Y-m-01', strtotime( '-1 month', $date_range['from'] ) ) . ' ' . date( 'H:i:s', $coalesce_time ),
- 'to' => date( 'Y-m-01', $date_range['to'] ) . ' ' . date( 'H:i:s', $coalesce_time ),
+ 'from' => date( 'Y-m-01', strtotime( '-1 month', $date_range['from'] ) ) . ' ' . date( 'H:i:s', $coalesce_time ), //phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
+ 'to' => date( 'Y-m-01', $date_range['to'] ) . ' ' . date( 'H:i:s', $coalesce_time ), //phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
);
} else {
- // Use current period
+ // Use current period.
return array(
- 'from' => date( 'Y-m-01', $date_range['from'] ) . ' ' . date( 'H:i:s', $coalesce_time ),
- 'to' => date( 'Y-m-01', strtotime( '+1 month', $date_range['to'] ) ) . ' ' . date( 'H:i:s', $coalesce_time ),
+ 'from' => date( 'Y-m-01', $date_range['from'] ) . ' ' . date( 'H:i:s', $coalesce_time ), //phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
+ 'to' => date( 'Y-m-01', strtotime( '+1 month', $date_range['to'] ) ) . ' ' . date( 'H:i:s', $coalesce_time ), //phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
);
}
}
@@ -1018,29 +1125,28 @@ EOT;
* Generate and output ajax response for related posts API call.
* NOTE: Calls exit() to end all further processing after payload has been outputed.
*
- * @param array $excludes array of post_ids to exclude
+ * @param array $excludes array of post_ids to exclude.
* @uses send_nosniff_header, self::get_for_post_id, get_the_ID
- * @return null
*/
- protected function _action_frontend_init_ajax( array $excludes ) {
+ protected function action_frontend_init_ajax( array $excludes ) {
define( 'DOING_AJAX', true );
- header( 'Content-type: application/json; charset=utf-8' ); // JSON can only be UTF-8
+ header( 'Content-type: application/json; charset=utf-8' ); // JSON can only be UTF-8.
send_nosniff_header();
$options = $this->get_options();
- if ( isset( $_GET['jetpackrpcustomize'] ) ) {
+ if ( isset( $_GET['jetpackrpcustomize'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- adds dummy content if we're in the customizer.
// If we're in the customizer, add dummy content.
- $date_now = current_time( get_option( 'date_format' ) );
+ $date_now = current_time( get_option( 'date_format' ) );
$related_posts = array(
array(
'id' => - 1,
'url' => 'https://jetpackme.files.wordpress.com/2019/03/cat-blog.png',
'url_meta' => array(
'origin' => 0,
- 'position' => 0
+ 'position' => 0,
),
'title' => esc_html__( 'Big iPhone/iPad Update Now Available', 'jetpack' ),
'date' => $date_now,
@@ -1051,16 +1157,16 @@ EOT;
'img' => array(
'src' => 'https://jetpackme.files.wordpress.com/2019/03/cat-blog.png',
'width' => 350,
- 'height' => 200
+ 'height' => 200,
),
- 'classes' => array()
+ 'classes' => array(),
),
array(
'id' => - 1,
'url' => 'https://jetpackme.files.wordpress.com/2019/03/devices.jpg',
'url_meta' => array(
'origin' => 0,
- 'position' => 0
+ 'position' => 0,
),
'title' => esc_html__( 'The WordPress for Android App Gets a Big Facelift', 'jetpack' ),
'date' => $date_now,
@@ -1071,16 +1177,16 @@ EOT;
'img' => array(
'src' => 'https://jetpackme.files.wordpress.com/2019/03/devices.jpg',
'width' => 350,
- 'height' => 200
+ 'height' => 200,
),
- 'classes' => array()
+ 'classes' => array(),
),
array(
'id' => - 1,
'url' => 'https://jetpackme.files.wordpress.com/2019/03/mobile-wedding.jpg',
'url_meta' => array(
'origin' => 0,
- 'position' => 0
+ 'position' => 0,
),
'title' => esc_html__( 'Upgrade Focus, VideoPress for weddings', 'jetpack' ),
'date' => $date_now,
@@ -1091,9 +1197,9 @@ EOT;
'img' => array(
'src' => 'https://jetpackme.files.wordpress.com/2019/03/mobile-wedding.jpg',
'width' => 350,
- 'height' => 200
+ 'height' => 200,
),
- 'classes' => array()
+ 'classes' => array(),
),
);
@@ -1111,28 +1217,33 @@ EOT;
);
// Fetch posts with featured image.
- $with_post_thumbnails = get_posts( array(
- 'posts_per_page' => $options['size'],
- 'post__not_in' => $excluded_posts,
- 'post_type' => $current_post->post_type,
- 'meta_key' => '_thumbnail_id',
- 'suppress_filters' => false,
- ) );
+ $with_post_thumbnails = get_posts(
+ array(
+ 'posts_per_page' => $options['size'],
+ 'post__not_in' => $excluded_posts,
+ 'post_type' => $current_post->post_type,
+ 'meta_key' => '_thumbnail_id',
+ 'suppress_filters' => false,
+ )
+ );
// If we don't have enough, fetch posts without featured image.
- if ( 0 < ( $more = $options['size'] - count( $with_post_thumbnails ) ) ) {
- $no_post_thumbnails = get_posts( array(
- 'posts_per_page' => $more,
- 'post__not_in' => $excluded_posts,
- 'post_type' => $current_post->post_type,
- 'meta_query' => array(
- array(
- 'key' => '_thumbnail_id',
- 'compare' => 'NOT EXISTS',
+ $more = $options['size'] - count( $with_post_thumbnails );
+ if ( 0 < $more ) {
+ $no_post_thumbnails = get_posts(
+ array(
+ 'posts_per_page' => $more,
+ 'post__not_in' => $excluded_posts,
+ 'post_type' => $current_post->post_type,
+ 'meta_query' => array(
+ array(
+ 'key' => '_thumbnail_id',
+ 'compare' => 'NOT EXISTS',
+ ),
),
- ),
- 'suppress_filters' => false,
- ) );
+ 'suppress_filters' => false,
+ )
+ );
} else {
$no_post_thumbnails = array();
}
@@ -1140,11 +1251,11 @@ EOT;
foreach ( array_merge( $with_post_thumbnails, $no_post_thumbnails ) as $index => $real_post ) {
$related_posts[ $index ]['id'] = $real_post->ID;
$related_posts[ $index ]['url'] = esc_url( get_permalink( $real_post ) );
- $related_posts[ $index ]['title'] = $this->_to_utf8( $this->get_title( $real_post->post_title, $real_post->post_content, $real_post->ID ) );
+ $related_posts[ $index ]['title'] = $this->to_utf8( $this->get_title( $real_post->post_title, $real_post->post_content, $real_post->ID ) );
$related_posts[ $index ]['date'] = get_the_date( '', $real_post );
- $related_posts[ $index ]['excerpt'] = html_entity_decode( $this->_to_utf8( $this->_get_excerpt( $real_post->post_excerpt, $real_post->post_content ) ), ENT_QUOTES, 'UTF-8' );
- $related_posts[ $index ]['img'] = $this->_generate_related_post_image_params( $real_post->ID );
- $related_posts[ $index ]['context'] = $this->_generate_related_post_context( $real_post->ID );
+ $related_posts[ $index ]['excerpt'] = html_entity_decode( $this->to_utf8( $this->get_excerpt( $real_post->post_excerpt, $real_post->post_content ) ), ENT_QUOTES, 'UTF-8' );
+ $related_posts[ $index ]['img'] = $this->generate_related_post_image_params( $real_post->ID );
+ $related_posts[ $index ]['context'] = $this->generate_related_post_context( $real_post->ID );
}
} else {
$related_posts = $this->get_for_post_id(
@@ -1156,19 +1267,20 @@ EOT;
}
$response = array(
- 'version' => self::VERSION,
+ 'version' => self::VERSION,
'show_thumbnails' => (bool) $options['show_thumbnails'],
- 'show_date' => (bool) $options['show_date'],
- 'show_context' => (bool) $options['show_context'],
- 'layout' => (string) $options['layout'],
- 'headline' => (string) $options['headline'],
- 'items' => array(),
+ 'show_date' => (bool) $options['show_date'],
+ 'show_context' => (bool) $options['show_context'],
+ 'layout' => (string) $options['layout'],
+ 'headline' => (string) $options['headline'],
+ 'items' => array(),
);
- if ( count( $related_posts ) == $options['size'] )
+ if ( count( $related_posts ) === $options['size'] ) {
$response['items'] = $related_posts;
+ }
- echo json_encode( $response );
+ echo wp_json_encode( $response );
exit();
}
@@ -1176,15 +1288,14 @@ EOT;
/**
* Returns a UTF-8 encoded array of post information for the given post_id
*
- * @param int $post_id
- * @param int $position
- * @param int $origin The post id that this is related to
+ * @param int $post_id - the post ID.
+ * @param int $position - position of the post.
+ * @param int $origin - The post id that this is related to.
* @uses get_post, get_permalink, remove_query_arg, get_post_format, apply_filters
* @return array
*/
public function get_related_post_data_for_post( $post_id, $position, $origin ) {
$post = get_post( $post_id );
-
return array(
'id' => $post->ID,
'url' => get_permalink( $post->ID ),
@@ -1192,10 +1303,10 @@ EOT;
'origin' => $origin,
'position' => $position,
),
- 'title' => $this->_to_utf8( $this->get_title( $post->post_title, $post->post_content, $post->ID ) ),
+ 'title' => $this->to_utf8( $this->get_title( $post->post_title, $post->post_content, $post->ID ) ),
'date' => get_the_date( '', $post->ID ),
'format' => get_post_format( $post->ID ),
- 'excerpt' => html_entity_decode( $this->_to_utf8( $this->_get_excerpt( $post->post_excerpt, $post->post_content ) ), ENT_QUOTES, 'UTF-8' ),
+ 'excerpt' => html_entity_decode( $this->to_utf8( $this->get_excerpt( $post->post_excerpt, $post->post_content ) ), ENT_QUOTES, 'UTF-8' ),
/**
* Filters the rel attribute for the Related Posts' links.
*
@@ -1207,7 +1318,7 @@ EOT;
* @param string $link_rel Link rel attribute for Related Posts' link. Default is empty.
* @param int $post->ID Post ID.
*/
- 'rel' => apply_filters( 'jetpack_relatedposts_filter_post_link_rel', '', $post->ID ),
+ 'rel' => apply_filters( 'jetpack_relatedposts_filter_post_link_rel', '', $post->ID ),
/**
* Filter the context displayed below each Related Post.
*
@@ -1215,15 +1326,15 @@ EOT;
*
* @since 3.0.0
*
- * @param string $this->_to_utf8( $this->_generate_related_post_context( $post->ID ) ) Context displayed below each related post.
- * @param string $post_id Post ID of the post for which we are retrieving Related Posts.
+ * @param string $this->to_utf8( $this->generate_related_post_context( $post->ID ) ) Context displayed below each related post.
+ * @param int $post_id Post ID of the post for which we are retrieving Related Posts.
*/
- 'context' => apply_filters(
+ 'context' => apply_filters(
'jetpack_relatedposts_filter_post_context',
- $this->_to_utf8( $this->_generate_related_post_context( $post->ID ) ),
+ $this->to_utf8( $this->generate_related_post_context( $post->ID ) ),
$post->ID
),
- 'img' => $this->_generate_related_post_image_params( $post->ID ),
+ 'img' => $this->generate_related_post_image_params( $post->ID ),
/**
* Filter the post css classes added on HTML markup.
*
@@ -1234,7 +1345,7 @@ EOT;
* @param array array() CSS classes added on post HTML markup.
* @param string $post_id Post ID.
*/
- 'classes' => apply_filters(
+ 'classes' => apply_filters(
'jetpack_relatedposts_filter_post_css_classes',
array(),
$post->ID
@@ -1272,16 +1383,17 @@ EOT;
/**
* Returns a plain text post excerpt for title attribute of links.
*
- * @param string $post_excerpt
- * @param string $post_content
+ * @param string $post_excerpt - the post excerpt.
+ * @param string $post_content - the post content.
* @uses strip_shortcodes, wp_strip_all_tags, wp_trim_words
* @return string
*/
- protected function _get_excerpt( $post_excerpt, $post_content ) {
- if ( empty( $post_excerpt ) )
+ protected function get_excerpt( $post_excerpt, $post_content ) {
+ if ( empty( $post_excerpt ) ) {
$excerpt = $post_content;
- else
+ } else {
$excerpt = $post_excerpt;
+ }
return wp_trim_words( wp_strip_all_tags( strip_shortcodes( $excerpt ) ), 50, '…' );
}
@@ -1290,12 +1402,11 @@ EOT;
* Generates the thumbnail image to be used for the post. Uses the
* image as returned by Jetpack_PostImages::get_image()
*
- * @param int $post_id
+ * @param int $post_id - the post ID.
* @uses self::get_options, apply_filters, Jetpack_PostImages::get_image, Jetpack_PostImages::fit_image_url
* @return string
*/
- protected function _generate_related_post_image_params( $post_id ) {
- $options = $this->get_options();
+ protected function generate_related_post_image_params( $post_id ) {
$image_params = array(
'alt_text' => '',
'src' => '',
@@ -1314,16 +1425,19 @@ EOT;
*/
$thumbnail_size = apply_filters(
'jetpack_relatedposts_filter_thumbnail_size',
- array( 'width' => 350, 'height' => 200 )
+ array(
+ 'width' => 350,
+ 'height' => 200,
+ )
);
- if ( !is_array( $thumbnail_size ) ) {
+ if ( ! is_array( $thumbnail_size ) ) {
$thumbnail_size = array(
- 'width' => (int)$thumbnail_size,
- 'height' => (int)$thumbnail_size
+ 'width' => (int) $thumbnail_size,
+ 'height' => (int) $thumbnail_size,
);
}
- // Try to get post image
+ // Try to get post image.
if ( class_exists( 'Jetpack_PostImages' ) ) {
$img_url = '';
$post_image = Jetpack_PostImages::get_image(
@@ -1331,12 +1445,12 @@ EOT;
$thumbnail_size
);
- if ( is_array($post_image) ) {
+ if ( is_array( $post_image ) ) {
$img_url = $post_image['src'];
} elseif ( class_exists( 'Jetpack_Media_Summary' ) ) {
$media = Jetpack_Media_Summary::get( $post_id );
- if ( is_array($media) && !empty( $media['image'] ) ) {
+ if ( is_array( $media ) && ! empty( $media['image'] ) ) {
$img_url = $media['image'];
}
}
@@ -1363,12 +1477,12 @@ EOT;
/**
* Returns the string UTF-8 encoded
*
- * @param string $text
+ * @param string $text - the text we want to convert.
* @return string
*/
- protected function _to_utf8( $text ) {
- if ( $this->_convert_charset ) {
- return iconv( $this->_blog_charset, 'UTF-8', $text );
+ protected function to_utf8( $text ) {
+ if ( $this->convert_charset ) {
+ return iconv( $this->blog_charset, 'UTF-8', $text );
} else {
return $text;
}
@@ -1383,15 +1497,15 @@ EOT;
/**
* Workhorse method to return array of related posts matched by Elasticsearch.
*
- * @param int $post_id
- * @param int $size
- * @param array $filters
+ * @param int $post_id - the ID of the post.
+ * @param int $size - the size of the post.
+ * @param array $filters - filters.
* @uses wp_remote_post, is_wp_error, get_option, wp_remote_retrieve_body, get_post, add_query_arg, remove_query_arg, get_permalink, get_post_format, apply_filters
* @return array
*/
- protected function _get_related_posts( $post_id, $size, array $filters ) {
- $hits = $this->_filter_non_public_posts(
- $this->_get_related_post_ids(
+ protected function get_related_posts( $post_id, $size, array $filters ) {
+ $hits = $this->filter_non_public_posts(
+ $this->get_related_post_ids(
$post_id,
$size,
$filters
@@ -1420,68 +1534,70 @@ EOT;
/**
* Get array of related posts matched by Elasticsearch.
*
- * @param int $post_id
- * @param int $size
- * @param array $filters
+ * @param int $post_id - the post ID.
+ * @param int $size - the size.
+ * @param array $filters - some filters.
* @uses wp_remote_post, is_wp_error, wp_remote_retrieve_body, get_post_meta, update_post_meta
* @return array
*/
- protected function _get_related_post_ids( $post_id, $size, array $filters ) {
- $now_ts = time();
+ protected function get_related_post_ids( $post_id, $size, array $filters ) {
+ $now_ts = time();
$cache_meta_key = '_jetpack_related_posts_cache';
$body = array(
'size' => (int) $size,
);
- if ( !empty( $filters ) )
+ if ( ! empty( $filters ) ) {
$body['filter'] = array( 'and' => $filters );
+ }
- // Build cache key
- $cache_key = md5( serialize( $body ) );
+ // Build cache key.
+ $cache_key = md5( serialize( $body ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize -- this is used for caching.
- // Load all cached values
+ // Load all cached values.
if ( wp_using_ext_object_cache() ) {
$transient_name = "{$cache_meta_key}_{$cache_key}_{$post_id}";
- $cache = get_transient( $transient_name );
+ $cache = get_transient( $transient_name );
if ( false !== $cache ) {
return $cache;
}
} else {
$cache = get_post_meta( $post_id, $cache_meta_key, true );
- if ( empty( $cache ) )
+ if ( empty( $cache ) ) {
$cache = array();
-
+ }
// Cache is valid! Return cached value.
- if ( isset( $cache[ $cache_key ] ) && is_array( $cache[ $cache_key ] ) && $cache[ $cache_key ][ 'expires' ] > $now_ts ) {
- return $cache[ $cache_key ][ 'payload' ];
+ if ( isset( $cache[ $cache_key ] ) && is_array( $cache[ $cache_key ] ) && $cache[ $cache_key ]['expires'] > $now_ts ) {
+ return $cache[ $cache_key ]['payload'];
}
}
$response = wp_remote_post(
"https://public-api.wordpress.com/rest/v1/sites/{$this->get_blog_id()}/posts/$post_id/related/",
array(
- 'timeout' => 10,
+ 'timeout' => 10,
'user-agent' => 'jetpack_related_posts',
- 'sslverify' => true,
- 'body' => $body,
+ 'sslverify' => true,
+ 'body' => $body,
)
);
// Oh no... return nothing don't cache errors.
if ( is_wp_error( $response ) ) {
- if ( isset( $cache[ $cache_key ] ) && is_array( $cache[ $cache_key ] ) )
- return $cache[ $cache_key ][ 'payload' ]; // return stale
- else
+ if ( isset( $cache[ $cache_key ] ) && is_array( $cache[ $cache_key ] ) ) {
+ return $cache[ $cache_key ]['payload']; // return stale.
+ } else {
return array();
+ }
}
- $results = json_decode( wp_remote_retrieve_body( $response ), true );
+ $results = json_decode( wp_remote_retrieve_body( $response ), true );
$related_posts = array();
- if ( is_array( $results ) && !empty( $results['hits'] ) ) {
- foreach( $results['hits'] as $hit ) {
+ if ( is_array( $results ) && ! empty( $results['hits'] ) ) {
+ foreach ( $results['hits'] as $hit ) {
$related_posts[] = array(
'id' => $hit['fields']['post_id'],
);
@@ -1490,27 +1606,27 @@ EOT;
// An empty array might indicate no related posts or that posts
// are not yet synced to WordPress.com, so we cache for only 1
- // minute in this case
+ // minute in this case.
if ( empty( $related_posts ) ) {
$cache_ttl = 60;
} else {
$cache_ttl = 12 * HOUR_IN_SECONDS;
}
- // Update cache
+ // Update cache.
if ( wp_using_ext_object_cache() ) {
set_transient( $transient_name, $related_posts, $cache_ttl );
} else {
- // Copy all valid cache values
+ // Copy all valid cache values.
$new_cache = array();
foreach ( $cache as $k => $v ) {
- if ( is_array( $v ) && $v[ 'expires' ] > $now_ts ) {
+ if ( is_array( $v ) && $v['expires'] > $now_ts ) {
$new_cache[ $k ] = $v;
}
}
- // Set new cache value
- $cache_expires = $cache_ttl + $now_ts;
+ // Set new cache value.
+ $cache_expires = $cache_ttl + $now_ts;
$new_cache[ $cache_key ] = array(
'expires' => $cache_expires,
'payload' => $related_posts,
@@ -1524,16 +1640,16 @@ EOT;
/**
* Filter out any hits that are not public anymore.
*
- * @param array $related_posts
+ * @param array $related_posts - the related posts.
* @uses get_post_stati, get_post_status
* @return array
*/
- protected function _filter_non_public_posts( array $related_posts ) {
+ protected function filter_non_public_posts( array $related_posts ) {
$public_stati = get_post_stati( array( 'public' => true ) );
$filtered = array();
foreach ( $related_posts as $hit ) {
- if ( in_array( get_post_status( $hit['id'] ), $public_stati ) ) {
+ if ( in_array( get_post_status( $hit['id'] ), $public_stati, true ) ) {
$filtered[] = $hit;
}
}
@@ -1547,16 +1663,17 @@ EOT;
* - First post tag
* - Number of comments
*
- * @param int $post_id
+ * @param int $post_id - the post ID.
* @uses get_the_category, get_the_terms, get_comments_number, number_format_i18n, __, _n
* @return string
*/
- protected function _generate_related_post_context( $post_id ) {
+ protected function generate_related_post_context( $post_id ) {
$categories = get_the_category( $post_id );
if ( is_array( $categories ) ) {
foreach ( $categories as $category ) {
- if ( 'uncategorized' != $category->slug && '' != trim( $category->name ) ) {
+ if ( 'uncategorized' !== $category->slug && '' !== trim( $category->name ) ) {
$post_cat_context = sprintf(
+ // Translators: The category or tag name.
esc_html_x( 'In "%s"', 'in {category/tag name}', 'jetpack' ),
$category->name
);
@@ -1578,8 +1695,9 @@ EOT;
$tags = get_the_terms( $post_id, 'post_tag' );
if ( is_array( $tags ) ) {
foreach ( $tags as $tag ) {
- if ( '' != trim( $tag->name ) ) {
+ if ( '' !== trim( $tag->name ) ) {
$post_tag_context = sprintf(
+ // Translators: the category or tag name.
_x( 'In "%s"', 'in {category/tag name}', 'jetpack' ),
$tag->name
);
@@ -1601,7 +1719,8 @@ EOT;
$comment_count = get_comments_number( $post_id );
if ( $comment_count > 0 ) {
return sprintf(
- _n( 'With 1 comment', 'With %s comments', $comment_count, 'jetpack' ),
+ // Translators: amount of comments.
+ _n( 'With %s comment', 'With %s comments', $comment_count, 'jetpack' ),
number_format_i18n( $comment_count )
);
}
@@ -1612,9 +1731,11 @@ EOT;
/**
* Logs clicks for clickthrough analysis and related result tuning.
*
- * @return null
+ * @param int $post_id - the post ID.
+ * @param int $to_post_id - the to post ID.
+ * @param int $link_position - the link position.
*/
- protected function _log_click( $post_id, $to_post_id, $link_position ) {
+ protected function log_click( $post_id, $to_post_id, $link_position ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
}
@@ -1624,12 +1745,12 @@ EOT;
* @uses self::get_options, is_admin, is_single, apply_filters
* @return bool
*/
- protected function _enabled_for_request() {
+ protected function enabled_for_request() {
$enabled = is_single()
&& ! is_attachment()
&& ! is_admin()
&& ! is_embed()
- && ( ! $this->_allow_feature_toggle() || $this->get_option( 'enabled' ) );
+ && ( ! $this->allow_feature_toggle() || $this->get_option( 'enabled' ) );
/**
* Filter the Enabled value to allow related posts to be shown on pages as well.
@@ -1646,12 +1767,11 @@ EOT;
/**
* Adds filters.
*
- * @uses self::_enqueue_assets, self::_setup_shortcode, add_filter
- * @return null
+ * @uses self::enqueue_assets, self::setup_shortcode, add_filter
*/
- protected function _action_frontend_init_page() {
- $this->_enqueue_assets( true, true );
- $this->_setup_shortcode();
+ protected function action_frontend_init_page() {
+ $this->enqueue_assets( true, true );
+ $this->setup_shortcode();
add_filter( 'the_content', array( $this, 'filter_add_target_to_dom' ), 40 );
}
@@ -1672,10 +1792,12 @@ EOT;
/**
* Enqueues assets needed to do async loading of related posts.
*
+ * @param string $script - the script we're enqueing.
+ * @param string $style - the style we're enqueing.
+ *
* @uses wp_enqueue_script, wp_enqueue_style, plugins_url
- * @return null
*/
- protected function _enqueue_assets( $script, $style ) {
+ protected function enqueue_assets( $script, $style ) {
$dependencies = is_customize_preview() ? array( 'customize-base' ) : array();
// Do not enqueue scripts unless they are required.
if ( $script && $this->requires_scripts() ) {
@@ -1686,7 +1808,8 @@ EOT;
'modules/related-posts/related-posts.js'
),
$dependencies,
- self::VERSION
+ self::VERSION,
+ false
);
$related_posts_js_options = array(
/**
@@ -1700,31 +1823,36 @@ EOT;
);
wp_localize_script( 'jetpack_related-posts', 'related_posts_js_options', $related_posts_js_options );
}
- if ( $style ){
+ if ( $style ) {
wp_enqueue_style( 'jetpack_related-posts', plugins_url( 'related-posts.css', __FILE__ ), array(), self::VERSION );
wp_style_add_data( 'jetpack_related-posts', 'rtl', 'replace' );
add_action( 'amp_post_template_css', array( $this, 'render_amp_reader_mode_css' ) );
}
}
+ /**
+ * Render AMP's reader mode CSS.
+ */
public function render_amp_reader_mode_css() {
- echo file_get_contents( plugin_dir_path( __FILE__ ) . 'related-posts.css' );
+ echo file_get_contents( __DIR__ . '/related-posts.css' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped, WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents -- this is loading a CSS file.
}
/**
* Sets up the shortcode processing.
*
* @uses add_filter, add_shortcode
- * @return null
*/
- protected function _setup_shortcode() {
+ protected function setup_shortcode() {
add_filter( 'the_content', array( $this, 'test_for_shortcode' ), 0 );
add_shortcode( self::SHORTCODE, array( $this, 'get_client_rendered_html' ) );
}
- protected function _allow_feature_toggle() {
- if ( null === $this->_allow_feature_toggle ) {
+ /**
+ * Return status of related posts toggle.
+ */
+ protected function allow_feature_toggle() {
+ if ( null === $this->allow_feature_toggle ) {
/**
* Filter the display of the Related Posts toggle in Settings > Reading.
*
@@ -1732,11 +1860,11 @@ EOT;
*
* @since 2.8.0
*
- * @param bool false Display a feature toggle. Default to false.
+ * @param bool $allow_feature_toggle Display a feature toggle. Default to false.
*/
- $this->_allow_feature_toggle = apply_filters( 'jetpack_relatedposts_filter_allow_feature_toggle', false );
+ $this->allow_feature_toggle = apply_filters( 'jetpack_relatedposts_filter_allow_feature_toggle', false );
}
- return $this->_allow_feature_toggle;
+ return $this->allow_feature_toggle;
}
/**
@@ -1752,7 +1880,6 @@ EOT;
*
* @action rest_api_init
* @uses register_rest_field, self::rest_get_related_posts
- * @return null
*/
public function rest_register_related_posts() {
/** This filter is already documented in class.json-api-endpoints.php */
@@ -1777,42 +1904,57 @@ EOT;
* @since 4.4.0
*
* @param array $object Details of current post.
- * @param string $field_name Name of field.
- * @param WP_REST_Request $request Current request
*
* @uses self::get_for_post_id
*
* @return array
*/
- public function rest_get_related_posts( $object, $field_name, $request ) {
+ public function rest_get_related_posts( $object ) {
return $this->get_for_post_id( $object['id'], array( 'size' => 6 ) );
}
}
-class Jetpack_RelatedPosts_Raw extends Jetpack_RelatedPosts {
- protected $_query_name;
+/**
+ * The raw related posts class can be used by other plugins or themes
+ * to get related content. This class wraps the existing RelatedPosts
+ * logic thus we never want to add anything to the DOM or do anything
+ * for event hooks. We will also not present any settings for this
+ * class and keep it enabled as calls to this class are done
+ * programmatically.
+ */
+class Jetpack_RelatedPosts_Raw extends Jetpack_RelatedPosts { //phpcs:ignore Generic.Classes.OpeningBraceSameLine.ContentAfterBrace, Generic.Files.OneObjectStructurePerFile.MultipleFound
+
+ /**
+ * The query name we want to look up.
+ *
+ * @var string
+ */
+ protected $query_name;
/**
* Allows callers of this class to tag each query with a unique name for tracking purposes.
*
- * @param string $name
+ * @param string $name - the name of the query.
* @return Jetpack_RelatedPosts_Raw
*/
public function set_query_name( $name ) {
- $this->_query_name = (string) $name;
+ $this->query_name = (string) $name;
return $this;
}
/**
- * The raw related posts class can be used by other plugins or themes
- * to get related content. This class wraps the existing RelatedPosts
- * logic thus we never want to add anything to the DOM or do anything
- * for event hooks. We will also not present any settings for this
- * class and keep it enabled as calls to this class is done
- * programmatically.
+ * Initialize admin.
*/
public function action_admin_init() {}
+
+ /**
+ * Initialize front end.
+ */
public function action_frontend_init() {}
+
+ /**
+ * Get options.
+ */
public function get_options() {
return array(
'enabled' => true,
@@ -1822,15 +1964,15 @@ class Jetpack_RelatedPosts_Raw extends Jetpack_RelatedPosts {
/**
* Workhorse method to return array of related posts ids matched by Elasticsearch.
*
- * @param int $post_id
- * @param int $size
- * @param array $filters
+ * @param int $post_id - the post ID.
+ * @param int $size - size of the post.
+ * @param array $filters - filters we're using.
* @uses wp_remote_post, is_wp_error, wp_remote_retrieve_body
* @return array
*/
- protected function _get_related_posts( $post_id, $size, array $filters ) {
- $hits = $this->_filter_non_public_posts(
- $this->_get_related_post_ids(
+ protected function get_related_posts( $post_id, $size, array $filters ) {
+ $hits = $this->filter_non_public_posts(
+ $this->get_related_post_ids(
$post_id,
$size,
$filters
diff --git a/plugins/jetpack/modules/related-posts/related-posts-rtl.css b/plugins/jetpack/modules/related-posts/related-posts-rtl.css
index fa6c0309..61360683 100644
--- a/plugins/jetpack/modules/related-posts/related-posts-rtl.css
+++ b/plugins/jetpack/modules/related-posts/related-posts-rtl.css
@@ -1 +1 @@
-.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column;padding-right:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 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-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row;display:block}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em}.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-img-link img{width:100%}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin-top:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:0}.jp-relatedposts-i2[data-layout=list].jp-related-posts-i2__post-img-link{margin-top:1rem}@media only screen and (max-width:640px){.jp-related-posts-i2__row{margin-top:0;display:block}.jp-related-posts-i2__row[data-post-count] .jp-related-posts-i2__post{max-width:none;margin:0;margin-top:1rem}.jp-related-posts-i2__post-img-link{margin-top:1rem}.jp-related-posts-i2__post-img-link img{width:350px}}#jp-relatedposts{display:none;padding-top:1em;margin:1em 0;position:relative;clear:both}.jp-relatedposts:after{content:'';display:block;clear:both}#jp-relatedposts h3.jp-relatedposts-headline{margin:0 0 1em 0;display:inline-block;float:right;font-size:9pt;font-weight:700;font-family:inherit}#jp-relatedposts h3.jp-relatedposts-headline em:before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.2);margin-bottom:1em}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}#jp-relatedposts .jp-relatedposts-items{clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:-20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{float:right;width:33%;margin:0 0 1em;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{padding-left:20px;-moz-opacity:.8;opacity:.8}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4){clear:both}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover{-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time,#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:14px;line-height:20px;margin:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs{position:relative}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay{position:absolute;top:0;bottom:0;right:0;left:0;display:block;border-bottom:0}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time{margin-bottom:0}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{text-transform:none;margin:0;font-family:inherit;display:block;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{font-size:inherit;font-weight:400;text-decoration:none;-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span{display:block;max-width:90%;overflow:hidden;text-overflow:ellipsis}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span{height:auto;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{opacity:.6}.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{display:none}#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt{display:none}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt{overflow:hidden}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span{margin-bottom:1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post{clear:both;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img{float:right;overflow:hidden;max-width:33%;margin-left:3%}#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{display:inline-block;max-width:63%}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:50%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n){clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:20px}}@media only screen and (max-width:320px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:100%;clear:both;margin:0 0 1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{float:none;max-width:100%;margin-left:0}}@media print{.jp-relatedposts{display:none!important}} \ No newline at end of file
+.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__post{display:flex;flex-basis:0;flex-direction:column;flex-grow:1;margin:0 10px;padding-right:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 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-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{display:block;flex-direction:row}.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;width:100%}.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-img-link img{width:100%}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{display:block;margin-top:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{margin:0;max-width:none}.jp-relatedposts-i2[data-layout=list].jp-related-posts-i2__post-img-link{margin-top:1rem}@media only screen and (max-width:640px){.jp-related-posts-i2__row{display:block;margin-top:0}.jp-related-posts-i2__row[data-post-count] .jp-related-posts-i2__post{margin:1rem 0 0;max-width:none}.jp-related-posts-i2__post-img-link{margin-top:1rem}.jp-related-posts-i2__post-img-link img{width:350px}}#jp-relatedposts{clear:both;display:none;margin:1em 0;padding-top:1em;position:relative}.jp-relatedposts:after{clear:both;content:"";display:block}#jp-relatedposts h3.jp-relatedposts-headline{display:inline-block;float:right;font-family:inherit;font-size:9pt;font-weight:700;margin:0 0 1em}#jp-relatedposts h3.jp-relatedposts-headline em:before{border-top:1px solid #dcdcde;border-top:1px solid rgba(0,0,0,.2);content:"";display:block;margin-bottom:1em;min-width:30px;width:100%}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}#jp-relatedposts .jp-relatedposts-items{clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:-20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;float:right;margin:0 0 1em;width:33%}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{filter:alpha(opacity=80);-moz-opacity:.8;opacity:.8;padding-left:20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4){clear:both}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover{filter:alpha(opacity=100);-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time,#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:14px;line-height:20px;margin:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs{position:relative}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay{border-bottom:0;bottom:0;display:block;left:0;position:absolute;right:0;top:0}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time{margin-bottom:0}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{display:block;font-family:inherit;margin:0;max-width:100%;text-transform:none}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{filter:alpha(opacity=100);font-size:inherit;font-weight:400;-moz-opacity:1;opacity:1;text-decoration:none}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span{display:block;max-width:90%;overflow:hidden;text-overflow:ellipsis}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span{height:auto;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{opacity:.6}#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt,.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{display:none}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt{overflow:hidden}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span{margin-bottom:1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post{clear:both;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img{float:right;margin-left:3%;max-width:33%;overflow:hidden}#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{display:inline-block;max-width:63%}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:50%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n){clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:20px}}@media only screen and (max-width:320px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{clear:both;margin:0 0 1em;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{float:none;margin-left:0;max-width:100%}}@media print{.jp-relatedposts{display:none!important}} \ No newline at end of file
diff --git a/plugins/jetpack/modules/scan/class-admin-bar-notice.php b/plugins/jetpack/modules/scan/class-admin-bar-notice.php
index 76f3cdc0..25ada38e 100644
--- a/plugins/jetpack/modules/scan/class-admin-bar-notice.php
+++ b/plugins/jetpack/modules/scan/class-admin-bar-notice.php
@@ -94,7 +94,7 @@ class Admin_Bar_Notice {
public function enqueue_toolbar_script() {
$this->add_inline_styles();
- if ( ! is_null( $this->has_threats() ) ) {
+ if ( $this->has_threats() !== null ) {
return;
}
diff --git a/plugins/jetpack/modules/scan/class-admin-sidebar-link.php b/plugins/jetpack/modules/scan/class-admin-sidebar-link.php
index 78eee31c..a4f90958 100644
--- a/plugins/jetpack/modules/scan/class-admin-sidebar-link.php
+++ b/plugins/jetpack/modules/scan/class-admin-sidebar-link.php
@@ -93,6 +93,11 @@ class Admin_Sidebar_Link {
private function get_link_offset() {
global $submenu;
$offset = 0;
+
+ if ( ! array_key_exists( 'jetpack', $submenu ) ) {
+ return $offset;
+ }
+
foreach ( $submenu['jetpack'] as $link ) {
if ( 'jetpack_admin_page' !== $link[1] ) {
break;
@@ -193,5 +198,3 @@ class Admin_Sidebar_Link {
$this->schedule_refresh_checked = true;
}
}
-
-
diff --git a/plugins/jetpack/modules/scan/scan.php b/plugins/jetpack/modules/scan/scan.php
index 11bcc6da..15b9a927 100644
--- a/plugins/jetpack/modules/scan/scan.php
+++ b/plugins/jetpack/modules/scan/scan.php
@@ -8,8 +8,8 @@
namespace Automattic\Jetpack\Scan;
-require_once 'class-admin-bar-notice.php';
-require_once 'class-admin-sidebar-link.php';
+require_once __DIR__ . '/class-admin-bar-notice.php';
+require_once __DIR__ . '/class-admin-sidebar-link.php';
Admin_Bar_Notice::instance();
Admin_Sidebar_Link::instance();
diff --git a/plugins/jetpack/modules/search.php b/plugins/jetpack/modules/search.php
index c9029048..ef2d40b3 100644
--- a/plugins/jetpack/modules/search.php
+++ b/plugins/jetpack/modules/search.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Module Name: Search
* Module Description: Help visitors quickly find answers with highly relevant instant search results and powerful filtering.
@@ -14,9 +14,32 @@
* @package automattic/jetpack
*/
-// Include everything.
-require_once __DIR__ . '/search/class.jetpack-search.php';
-require_once __DIR__ . '/search/class-jetpack-search-customberg.php';
+use Automattic\Jetpack\Search\Classic_Search;
+use Automattic\Jetpack\Search\Helper as Search_Helper;
-Jetpack_Search::instance();
-Automattic\Jetpack\Search\Jetpack_Search_Customberg::instance();
+/**
+ * These are old legacy class names that were deprecated due to the move to packages.
+ *
+ * @todo Does this make more sense as a legacy dir in the search package?
+ */
+
+/**
+ * Jetpack Search deprecated class.
+ *
+ * @deprecated 10.6
+ */
+class Jetpack_Search {
+ /**
+ * Singleton
+ */
+ protected function __construct() {
+ }
+
+ /**
+ * Return the instance of the new class.
+ */
+ public static function instance() {
+ // Explicitly provide the blog ID, just in case.
+ return Classic_Search::instance( Search_Helper::get_wpcom_site_id() );
+ }
+}
diff --git a/plugins/jetpack/modules/search/class-jetpack-instant-search.php b/plugins/jetpack/modules/search/class-jetpack-instant-search.php
deleted file mode 100644
index afe391e9..00000000
--- a/plugins/jetpack/modules/search/class-jetpack-instant-search.php
+++ /dev/null
@@ -1,629 +0,0 @@
-<?php
-/**
- * Jetpack Search: Instant Front-End Search and Filtering
- *
- * @since 8.3.0
- * @package automattic/jetpack
- */
-
-use Automattic\Jetpack\Assets;
-use Automattic\Jetpack\Search\Helper;
-use Automattic\Jetpack\Search\Options;
-
-/**
- * Class to load Instant Search experience on the site.
- *
- * @since 8.3.0
- */
-class Jetpack_Instant_Search extends Jetpack_Search {
- /**
- * The name of instant search sidebar
- *
- * @since 9.8.0
- *
- * @var string
- */
- const JETPACK_INSTANT_SEARCH_SIDEBAR = 'jetpack-instant-search-sidebar';
-
- /**
- * Variable to save old sidebars_widgets value.
- *
- * The value is set when action `after_switch_theme` is applied and cleared on filter `pre_update_option_sidebars_widgets`.
- * The filters mentioned above run on /wp-admin/themes.php?activated=true, a request closely following switching theme.
- *
- * @since 9.8.0
- *
- * @var array
- */
- protected $old_sidebars_widgets;
-
- /**
- * Get singleton instance of Jetpack Instant Search.
- *
- * Instantiates and sets up a new instance if needed, or returns the singleton.
- *
- * @since 9.8.0
- *
- * @return Jetpack_Instant_Search The Jetpack_Instant_Search singleton.
- */
- public static function instance() {
- if ( ! isset( self::$instance ) ) {
- self::$instance = new static();
- self::$instance->setup();
- }
-
- return self::$instance;
- }
-
- /**
- * Loads the php for this version of search
- *
- * @since 8.3.0
- */
- public function load_php() {
- $this->base_load_php();
-
- new Automattic\Jetpack\Search\Settings();
-
- if ( class_exists( 'WP_Customize_Manager' ) ) {
- require_once __DIR__ . '/class-jetpack-search-customize.php';
- new Jetpack_Search_Customize();
- }
- }
-
- /**
- * Setup the various hooks needed for the plugin to take over search duties.
- *
- * @since 5.0.0
- */
- public function init_hooks() {
- if ( ! is_admin() ) {
- add_filter( 'posts_pre_query', array( $this, 'filter__posts_pre_query' ), 10, 2 );
- add_action( 'parse_query', array( $this, 'action__parse_query' ), 10, 1 );
-
- add_action( 'init', array( $this, 'set_filters_from_widgets' ) );
-
- add_action( 'wp_enqueue_scripts', array( $this, 'load_assets' ) );
- add_action( 'wp_footer', array( 'Automattic\Jetpack\Search\Helper', 'print_instant_search_sidebar' ) );
- add_filter( 'body_class', array( $this, 'add_body_class' ), 10 );
- } else {
- add_action( 'update_option', array( $this, 'track_widget_updates' ), 10, 3 );
- }
-
- /**
- * Note:
- * 1. The priority has to be lower than 10 to run before _wp_sidebars_changed.
- * Which migrates widgets from old theme to the new one.
- * 2. WP.com runs after_switch_theme hook from the frontend, so we'll need to hook it.
- * No matter it's admin or frontend.
- */
- add_action( 'after_switch_theme', array( $this, 'save_old_sidebars_widgets' ), 5, 0 );
- add_action( 'pre_update_option_sidebars_widgets', array( $this, 'remove_wp_migrated_widgets' ) );
-
- add_action( 'widgets_init', array( $this, 'register_jetpack_instant_sidebar' ) );
- add_action( 'jetpack_deactivate_module_search', array( $this, 'move_search_widgets_to_inactive' ) );
- }
-
- /**
- * Loads assets for Jetpack Instant Search Prototype featuring Search As You Type experience.
- */
- public function load_assets() {
- $this->load_assets_with_parameters( '', JETPACK__PLUGIN_FILE );
- }
-
- /**
- * Loads assets according to parameters provided.
- *
- * @param string $path_prefix - Prefix for assets' relative paths.
- * @param string $plugin_base_path - Base path for use in plugins_url.
- */
- public function load_assets_with_parameters( $path_prefix, $plugin_base_path ) {
- Assets::register_script(
- 'jetpack-instant-search',
- $path_prefix . '_inc/build/instant-search/jp-search-main.js',
- $plugin_base_path,
- array(
- 'in_footer' => true,
- 'textdomain' => 'jetpack',
- )
- );
- Assets::enqueue_script( 'jetpack-instant-search' );
- $this->load_and_initialize_tracks();
- $this->inject_javascript_options();
- }
-
- /**
- * Passes all options to the JS app.
- */
- protected function inject_javascript_options() {
- $options = Helper::generate_initial_javascript_state();
- // Use wp_add_inline_script instead of wp_localize_script, see https://core.trac.wordpress.org/ticket/25280.
- wp_add_inline_script( 'jetpack-instant-search', 'var JetpackInstantSearchOptions=JSON.parse(decodeURIComponent("' . rawurlencode( wp_json_encode( $options ) ) . '"));', 'before' );
- }
-
- /**
- * Registers a widget sidebar for Instant Search.
- */
- public function register_jetpack_instant_sidebar() {
- $args = array(
- 'name' => __( 'Jetpack Search Sidebar', 'jetpack' ),
- 'id' => 'jetpack-instant-search-sidebar',
- 'description' => __( 'Customize the sidebar inside the Jetpack Search overlay', 'jetpack' ),
- 'class' => '',
- 'before_widget' => '<div id="%1$s" class="widget %2$s">',
- 'after_widget' => '</div>',
- 'before_title' => '<h2 class="widgettitle">',
- 'after_title' => '</h2>',
- );
- register_sidebar( $args );
- }
-
- /**
- * Loads scripts for Tracks analytics library
- */
- public function load_and_initialize_tracks() {
- wp_enqueue_script( 'jp-tracks', '//stats.wp.com/w.js', array(), gmdate( 'YW' ), true );
- }
-
- /**
- * Bypass the normal Search query since we will run it with instant search.
- *
- * @since 8.3.0
- *
- * @param array $posts Current array of posts (still pre-query).
- * @param WP_Query $query The WP_Query being filtered.
- *
- * @return array Array of matching posts.
- */
- public function filter__posts_pre_query( $posts, $query ) {
- if ( ! $this->should_handle_query( $query ) ) {
- // Intentionally not adding the 'jetpack_search_abort' action since this should fire for every request except for search.
- return $posts;
- }
-
- /**
- * Bypass the main query and return dummy data
- * WP Core doesn't call the set_found_posts and its filters when filtering
- * posts_pre_query like we do, so need to do these manually.
- */
- $query->found_posts = 1;
- $query->max_num_pages = 1;
-
- return array();
- }
-
- /**
- * Run the aggregations API query for any filtering
- *
- * @since 8.3.0
- */
- public function action__parse_query() {
- if ( ! empty( $this->search_result ) ) {
- return;
- }
-
- if ( is_admin() ) {
- return;
- }
-
- if ( empty( $this->aggregations ) ) {
- return;
- }
-
- $builder = new Automattic\Jetpack\Search\WPES\Query_Builder();
- $this->add_aggregations_to_es_query_builder( $this->aggregations, $builder );
- $this->search_result = $this->instant_api(
- array(
- 'aggregations' => $builder->build_aggregation(),
- 'size' => 0,
- 'from' => 0,
- )
- );
- }
-
- /**
- * Run an instant search on the WordPress.com public API.
- *
- * @since 8.3.0
- *
- * @param array $args Args conforming to the WP.com v1.3/sites/<blog_id>/search endpoint.
- *
- * @return object|WP_Error The response from the public API, or a WP_Error.
- */
- public function instant_api( array $args ) {
- global $wp_version;
- $start_time = microtime( true );
-
- // Cache locally to avoid remote request slowing the page.
- $transient_name = 'jetpack_instant_search_cache_' . md5( wp_json_encode( $args ) );
- $cache = get_transient( $transient_name );
- if ( false !== $cache ) {
- return $cache;
- }
-
- $service_url = add_query_arg(
- $args,
- sprintf(
- 'https://public-api.wordpress.com/rest/v1.3/sites/%d/search',
- $this->jetpack_blog_id
- )
- );
-
- $request_args = array(
- 'timeout' => 10,
- 'user-agent' => "WordPress/{$wp_version} | Jetpack/" . constant( 'JETPACK__VERSION' ),
- );
-
- $request = wp_remote_get( esc_url_raw( $service_url ), $request_args );
- $end_time = microtime( true );
-
- if ( is_wp_error( $request ) ) {
- return $request;
- }
-
- $response_code = wp_remote_retrieve_response_code( $request );
- $response = json_decode( wp_remote_retrieve_body( $request ), true );
-
- if ( ! $response_code || $response_code < 200 || $response_code >= 300 ) {
- /**
- * Fires after a search query request has failed
- *
- * @module search
- *
- * @since 5.6.0
- *
- * @param array Array containing the response code and response from the failed search query
- */
- do_action(
- 'failed_jetpack_search_query',
- array(
- 'response_code' => $response_code,
- 'json' => $response,
- )
- );
-
- return new WP_Error( 'invalid_search_api_response', 'Invalid response from API - ' . $response_code );
- }
-
- $took = is_array( $response ) && ! empty( $response['took'] )
- ? $response['took']
- : null;
-
- $query = array(
- 'args' => $args,
- 'response' => $response,
- 'response_code' => $response_code,
- 'elapsed_time' => ( $end_time - $start_time ) * 1000, // Convert from float seconds to ms.
- 'es_time' => $took,
- 'url' => $service_url,
- );
-
- /**
- * Fires after a search request has been performed.
- *
- * Includes the following info in the $query parameter:
- *
- * array args Array of Elasticsearch arguments for the search
- * array response Raw API response, JSON decoded
- * int response_code HTTP response code of the request
- * float elapsed_time Roundtrip time of the search request, in milliseconds
- * float es_time Amount of time Elasticsearch spent running the request, in milliseconds
- * string url API url that was queried
- *
- * @module search
- *
- * @since 5.0.0
- * @since 5.8.0 This action now fires on all queries instead of just successful queries.
- *
- * @param array $query Array of information about the query performed
- */
- do_action( 'did_jetpack_search_query', $query );
-
- // Update local cache.
- set_transient( $transient_name, $response, 1 * HOUR_IN_SECONDS );
-
- return $response;
- }
-
- /**
- * Get the raw Aggregation results from the Elasticsearch response.
- *
- * @since 8.4.0
- *
- * @return array Array of Aggregations performed on the search.
- */
- public function get_search_aggregations_results() {
- if ( empty( $this->search_result ) || is_wp_error( $this->search_result ) || ! isset( $this->search_result['aggregations'] ) ) {
- return array();
- }
-
- return $this->search_result['aggregations'];
- }
-
- /**
- * Automatically configure necessary settings for instant search
- *
- * @since 8.3.0
- */
- public function auto_config_search() {
- if ( ! current_user_can( 'edit_theme_options' ) ) {
- return;
- }
-
- // Set default result format to "expanded".
- update_option( Options::OPTION_PREFIX . 'result_format', Options::RESULT_FORMAT_EXPANDED );
-
- $this->auto_config_excluded_post_types();
- $this->auto_config_overlay_sidebar_widgets();
- $this->auto_config_woo_result_format();
- }
-
- /**
- * Automatically copy configured search widgets into the overlay sidebar
- *
- * @since 8.8.0
- */
- public function auto_config_overlay_sidebar_widgets() {
- global $wp_registered_sidebars;
- $sidebars = get_option( 'sidebars_widgets', array() );
- $slug = Helper::FILTER_WIDGET_BASE;
-
- if ( isset( $sidebars['jetpack-instant-search-sidebar'] ) ) {
- foreach ( (array) $sidebars['jetpack-instant-search-sidebar'] as $widget_id ) {
- if ( 0 === strpos( $widget_id, $slug ) ) {
- // Already configured.
- return;
- }
- }
- }
-
- $has_sidebar = isset( $wp_registered_sidebars['sidebar-1'] );
- $sidebar_id = false;
- $sidebar_searchbox_idx = false;
- if ( $has_sidebar ) {
- if ( empty( $sidebars['sidebar-1'] ) ) {
- // Adding to an empty sidebar is generally a bad idea.
- $has_sidebar = false;
- }
- foreach ( (array) $sidebars['sidebar-1'] as $idx => $widget_id ) {
- if ( 0 === strpos( $widget_id, 'search-' ) ) {
- $sidebar_searchbox_idx = $idx;
- }
- if ( 0 === strpos( $widget_id, $slug ) ) {
- $sidebar_id = (int) str_replace( Helper::FILTER_WIDGET_BASE . '-', '', $widget_id );
- break;
- }
- }
- }
-
- $next_id = 1;
- $widget_opt_name = Helper::get_widget_option_name();
- $widget_options = get_option( $widget_opt_name, array() );
- foreach ( $widget_options as $id => $w ) {
- if ( $id >= $next_id ) {
- $next_id = $id + 1;
- }
- }
-
- // Copy sidebar settings to overlay.
- if ( ( false !== $sidebar_id ) && isset( $widget_options[ $sidebar_id ] ) ) {
- $widget_options[ $next_id ] = $widget_options[ $sidebar_id ];
- update_option( $widget_opt_name, $widget_options );
-
- if ( ! isset( $sidebars['jetpack-instant-search-sidebar'] ) ) {
- $sidebars['jetpack-instant-search-sidebar'] = array();
- }
- array_unshift( $sidebars['jetpack-instant-search-sidebar'], Helper::build_widget_id( $next_id ) );
- update_option( 'sidebars_widgets', $sidebars );
-
- return;
- }
-
- // Configure overlay and sidebar (if it exists).
- $preconfig_opts = $this->get_preconfig_widget_options();
- if ( ! isset( $sidebars['jetpack-instant-search-sidebar'] ) ) {
- $sidebars['jetpack-instant-search-sidebar'] = array();
- }
- if ( $has_sidebar ) {
- $widget_options[ $next_id ] = $preconfig_opts;
- if ( false !== $sidebar_searchbox_idx ) {
- // Replace Core search box.
- $sidebars['sidebar-1'][ $sidebar_searchbox_idx ] = Helper::build_widget_id( $next_id );
- } else {
- // Add to top.
- array_unshift( $sidebars['sidebar-1'], Helper::build_widget_id( $next_id ) );
- }
- $next_id++;
- }
- $widget_options[ $next_id ] = $preconfig_opts;
- array_unshift( $sidebars['jetpack-instant-search-sidebar'], Helper::build_widget_id( $next_id ) );
-
- update_option( $widget_opt_name, $widget_options );
- update_option( 'sidebars_widgets', $sidebars );
- }
-
- /**
- * Autoconfig search by adding filter widgets
- *
- * @since 8.4.0
- *
- * @return array Array of config settings for search widget.
- */
- protected function get_preconfig_widget_options() {
- $settings = array(
- 'title' => '',
- 'filters' => array(),
- );
-
- $post_types = get_post_types(
- array(
- 'public' => true,
- '_builtin' => false,
- )
- );
-
- if ( ! empty( $post_types ) ) {
- $settings['filters'][] = array(
- 'name' => '',
- 'type' => 'post_type',
- 'count' => 5,
- );
- }
-
- // Grab a maximum of 3 taxonomies.
- $taxonomies = array_slice(
- get_taxonomies(
- array(
- 'public' => true,
- '_builtin' => false,
- )
- ),
- 0,
- 3
- );
-
- foreach ( $taxonomies as $t ) {
- $settings['filters'][] = array(
- 'name' => '',
- 'type' => 'taxonomy',
- 'taxonomy' => $t,
- 'count' => 5,
- );
- }
-
- $settings['filters'][] = array(
- 'name' => '',
- 'type' => 'taxonomy',
- 'taxonomy' => 'category',
- 'count' => 5,
- );
-
- $settings['filters'][] = array(
- 'name' => '',
- 'type' => 'taxonomy',
- 'taxonomy' => 'post_tag',
- 'count' => 5,
- );
-
- $settings['filters'][] = array(
- 'name' => '',
- 'type' => 'date_histogram',
- 'count' => 5,
- 'field' => 'post_date',
- 'interval' => 'year',
- );
-
- return $settings;
- }
-
- /**
- * Automatically configure post types to exclude from one of the search widgets
- *
- * @since 8.8.0
- */
- public function auto_config_excluded_post_types() {
- $post_types = get_post_types(
- array(
- 'exclude_from_search' => false,
- 'public' => true,
- )
- );
- $enabled_post_types = array();
- $widget_options = get_option( Helper::get_widget_option_name(), array() );
-
- // Prior to Jetpack 8.8, post types were enabled via Jetpack Search widgets rather than disabled via the Customizer.
- // To continue supporting post types set up in the old way, we iterate through each Jetpack Search
- // widget configuration and append each enabled post type to $enabled_post_types.
- foreach ( $widget_options as $widget_option ) {
- if ( isset( $widget_option['post_types'] ) && is_array( $widget_option['post_types'] ) ) {
- foreach ( $widget_option['post_types'] as $enabled_post_type ) {
- $enabled_post_types[ $enabled_post_type ] = $enabled_post_type;
- }
- }
- }
-
- if ( ! empty( $enabled_post_types ) ) {
- $post_types_to_disable = array_diff( $post_types, $enabled_post_types );
- update_option( Options::OPTION_PREFIX . 'excluded_post_types', join( ',', $post_types_to_disable ) );
- }
- }
-
- /**
- * Automatically set result format to 'product' if WooCommerce is installed
- *
- * @since 9.6.0
- */
- public function auto_config_woo_result_format() {
- if ( ! method_exists( 'Jetpack', 'get_active_plugins' ) ) {
- return false;
- }
-
- // Check if WooCommerce plugin is active (based on https://docs.woocommerce.com/document/create-a-plugin/).
- if ( ! in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', Jetpack::get_active_plugins() ), true ) ) {
- return false;
- }
-
- update_option( Options::OPTION_PREFIX . 'result_format', Options::RESULT_FORMAT_PRODUCT );
- }
-
- /**
- * Save sidebars_widgets option before it's migrated by WordPress
- *
- * @since 9.8.0
- *
- * @param array $old_sidebars_widgets The sidebars_widgets option value to be saved.
- */
- public function save_old_sidebars_widgets( $old_sidebars_widgets = null ) {
- // The function should only run before _wp_sidebars_changed which migrates the sidebars.
- // So when _wp_sidebars_changed doesn't exist, we should skip the logic.
- if ( has_filter( 'after_switch_theme', '_wp_sidebars_changed' ) !== false ) {
- $this->old_sidebars_widgets = ! is_null( $old_sidebars_widgets ) ? $old_sidebars_widgets : wp_get_sidebars_widgets();
- }
- }
-
- /**
- * Clean WordPress auto-migrated sidebar widgets from instant search sidebar before saving option sidebars_widgets
- *
- * @since 9.8.0
- *
- * @param array $sidebars_widgets The sidebars_widgets option value to be filtered.
- * @return array The sidebars_widgets option value to be saved
- */
- public function remove_wp_migrated_widgets( $sidebars_widgets ) {
- // Hook the action only when it is a theme switch i.e. $this->old_sidebars_widgets is not empty.
- // Ensure that the hook only runs when necessary.
- if (
- empty( $this->old_sidebars_widgets )
- || ! is_array( $this->old_sidebars_widgets )
- || ! is_array( $sidebars_widgets )
- || ! array_key_exists( static::JETPACK_INSTANT_SEARCH_SIDEBAR, $sidebars_widgets )
- || ! array_key_exists( static::JETPACK_INSTANT_SEARCH_SIDEBAR, $this->old_sidebars_widgets )
- // If the new Jetpack sidebar already has fewer widgets, skip execution.
- // Uses less than comparison for defensive programming.
- || count( $sidebars_widgets[ static::JETPACK_INSTANT_SEARCH_SIDEBAR ] ) <= count( $this->old_sidebars_widgets[ static::JETPACK_INSTANT_SEARCH_SIDEBAR ] )
- ) {
- return $sidebars_widgets;
- }
-
- $lost_widgets = array_diff( $sidebars_widgets[ static::JETPACK_INSTANT_SEARCH_SIDEBAR ], $this->old_sidebars_widgets[ static::JETPACK_INSTANT_SEARCH_SIDEBAR ] );
- $sidebars_widgets['wp_inactive_widgets'] = array_merge( $lost_widgets, (array) $sidebars_widgets['wp_inactive_widgets'] );
- $sidebars_widgets[ static::JETPACK_INSTANT_SEARCH_SIDEBAR ] = $this->old_sidebars_widgets[ static::JETPACK_INSTANT_SEARCH_SIDEBAR ];
-
- // Reset $this->old_sidebars_widgets because we want to run the function only once after theme switch.
- $this->old_sidebars_widgets = null;
-
- return $sidebars_widgets;
- }
-
- /**
- * Add current theme name as a body class for easier override
- *
- * @param string[] $classes An array of body class names.
- *
- * @return string[] The array of classes after filtering
- */
- public function add_body_class( $classes ) {
- $classes[] = 'jps-theme-' . get_stylesheet();
- return $classes;
- }
-}
diff --git a/plugins/jetpack/modules/search/class.jetpack-search-helpers.php b/plugins/jetpack/modules/search/class.jetpack-search-helpers.php
deleted file mode 100644
index 39a89c53..00000000
--- a/plugins/jetpack/modules/search/class.jetpack-search-helpers.php
+++ /dev/null
@@ -1,701 +0,0 @@
-<?php
-/**
- * Jetpack Search: Jetpack_Search_Helpers class
- *
- * @package Jetpack
- * @subpackage Jetpack Search
- * @since 5.8.0
- */
-
-use Automattic\Jetpack\Constants;
-
-/**
- * Various helper functions for reuse throughout the Jetpack Search code.
- *
- * @since 5.8.0
- */
-class Jetpack_Search_Helpers {
-
- /**
- * The search widget's base ID.
- *
- * @since 5.8.0
- * @var string
- */
- const FILTER_WIDGET_BASE = 'jetpack-search-filters';
-
- /**
- * Create a URL for the current search that doesn't include the "paged" parameter.
- *
- * @since 5.8.0
- *
- * @return string The search URL.
- */
- static function get_search_url() {
- $query_args = stripslashes_deep( $_GET );
-
- // Handle the case where a permastruct is being used, such as /search/{$query}
- if ( ! isset( $query_args['s'] ) ) {
- $query_args['s'] = get_search_query();
- }
-
- if ( isset( $query_args['paged'] ) ) {
- unset( $query_args['paged'] );
- }
-
- $query = http_build_query( $query_args );
-
- return home_url( "?{$query}" );
- }
-
- /**
- * Wraps add_query_arg() with the URL defaulting to the current search URL.
- *
- * @see add_query_arg()
- *
- * @since 5.8.0
- *
- * @param string|array $key Either a query variable key, or an associative array of query variables.
- * @param string $value Optional. A query variable value.
- * @param bool|string $url Optional. A URL to act upon. Defaults to the current search URL.
- *
- * @return string New URL query string (unescaped).
- */
- static function add_query_arg( $key, $value = false, $url = false ) {
- $url = empty( $url ) ? self::get_search_url() : $url;
- if ( is_array( $key ) ) {
- return add_query_arg( $key, $url );
- }
-
- return add_query_arg( $key, $value, $url );
- }
-
- /**
- * Wraps remove_query_arg() with the URL defaulting to the current search URL.
- *
- * @see remove_query_arg()
- *
- * @since 5.8.0
- *
- * @param string|array $key Query key or keys to remove.
- * @param bool|string $query Optional. A URL to act upon. Defaults to the current search URL.
- *
- * @return string New URL query string (unescaped).
- */
- static function remove_query_arg( $key, $url = false ) {
- $url = empty( $url ) ? self::get_search_url() : $url;
-
- return remove_query_arg( $key, $url );
- }
-
- /**
- * Returns the name of the search widget's option.
- *
- * @since 5.8.0
- *
- * @return string The search widget option name.
- */
- static function get_widget_option_name() {
- return sprintf( 'widget_%s', self::FILTER_WIDGET_BASE );
- }
-
- /**
- * Returns the search widget instances from the widget's option.
- *
- * @since 5.8.0
- *
- * @return array The widget options.
- */
- static function get_widgets_from_option() {
- $widget_options = get_option( self::get_widget_option_name(), array() );
-
- // We don't need this
- if ( ! empty( $widget_options ) && isset( $widget_options['_multiwidget'] ) ) {
- unset( $widget_options['_multiwidget'] );
- }
-
- return $widget_options;
- }
-
- /**
- * Returns the widget ID (widget base plus the numeric ID).
- *
- * @param int $number The widget's numeric ID.
- *
- * @return string The widget's numeric ID prefixed with the search widget base.
- */
- static function build_widget_id( $number ) {
- return sprintf( '%s-%d', self::FILTER_WIDGET_BASE, $number );
- }
-
- /**
- * Wrapper for is_active_widget() with the other parameters automatically supplied.
- *
- * @see is_active_widget()
- *
- * @since 5.8.0
- *
- * @param int $widget_id Widget ID.
- *
- * @return bool Whether the widget is active or not.
- */
- static function is_active_widget( $widget_id ) {
- return (bool) is_active_widget( false, $widget_id, self::FILTER_WIDGET_BASE, true );
- }
-
- /**
- * Returns an array of the filters from all active search widgets.
- *
- * @since 5.8.0
- *
- * @return array Active filters.
- */
- static function get_filters_from_widgets() {
- $filters = array();
-
- $widget_options = self::get_widgets_from_option();
- if ( empty( $widget_options ) ) {
- return $filters;
- }
-
- foreach ( (array) $widget_options as $number => $settings ) {
- $widget_id = self::build_widget_id( $number );
- if ( ! self::is_active_widget( $widget_id ) || empty( $settings['filters'] ) ) {
- continue;
- }
-
- foreach ( (array) $settings['filters'] as $widget_filter ) {
- $widget_filter['widget_id'] = $widget_id;
-
- if ( empty( $widget_filter['name'] ) ) {
- $widget_filter['name'] = self::generate_widget_filter_name( $widget_filter );
- }
-
- $key = sprintf( '%s_%d', $widget_filter['type'], count( $filters ) );
-
- $filters[ $key ] = $widget_filter;
- }
- }
-
- return $filters;
- }
-
- /**
- * Get the localized default label for a date filter.
- *
- * @since 5.8.0
- *
- * @param string $type Date type, either year or month.
- * @param bool $is_updated Whether the filter was updated or not (adds "Updated" to the end).
- *
- * @return string The filter label.
- */
- static function get_date_filter_type_name( $type, $is_updated = false ) {
- switch ( $type ) {
- case 'year':
- $string = ( $is_updated )
- ? esc_html_x( 'Year Updated', 'label for filtering posts', 'jetpack' )
- : esc_html_x( 'Year', 'label for filtering posts', 'jetpack' );
- break;
- case 'month':
- default:
- $string = ( $is_updated )
- ? esc_html_x( 'Month Updated', 'label for filtering posts', 'jetpack' )
- : esc_html_x( 'Month', 'label for filtering posts', 'jetpack' );
- break;
- }
-
- return $string;
- }
-
- /**
- * Creates a default name for a filter. Used when the filter label is blank.
- *
- * @since 5.8.0
- *
- * @param array $widget_filter The filter to generate the title for.
- *
- * @return string The suggested filter name.
- */
- static function generate_widget_filter_name( $widget_filter ) {
- $name = '';
-
- switch ( $widget_filter['type'] ) {
- case 'post_type':
- $name = _x( 'Post Types', 'label for filtering posts', 'jetpack' );
- break;
-
- case 'date_histogram':
- $modified_fields = array(
- 'post_modified',
- 'post_modified_gmt',
- );
- switch ( $widget_filter['interval'] ) {
- case 'year':
- $name = self::get_date_filter_type_name(
- 'year',
- in_array( $widget_filter['field'], $modified_fields )
- );
- break;
- case 'month':
- default:
- $name = self::get_date_filter_type_name(
- 'month',
- in_array( $widget_filter['field'], $modified_fields )
- );
- break;
- }
- break;
-
- case 'taxonomy':
- $tax = get_taxonomy( $widget_filter['taxonomy'] );
- if ( ! $tax ) {
- break;
- }
-
- if ( isset( $tax->label ) ) {
- $name = $tax->label;
- } elseif ( isset( $tax->labels ) && isset( $tax->labels->name ) ) {
- $name = $tax->labels->name;
- }
- break;
- }
-
- return $name;
- }
-
- /**
- * Whether we should rerun a search in the customizer preview or not.
- *
- * @since 5.8.0
- *
- * @return bool
- */
- static function should_rerun_search_in_customizer_preview() {
- // Only update when in a customizer preview and data is being posted.
- // Check for $_POST removes an extra update when the customizer loads.
- //
- // Note: We use $GLOBALS['wp_customize'] here instead of is_customize_preview() to support unit tests.
- if ( ! isset( $GLOBALS['wp_customize'] ) || ! $GLOBALS['wp_customize']->is_preview() || empty( $_POST ) ) {
- return false;
- }
-
- return true;
- }
-
- /**
- * Since PHP's built-in array_diff() works by comparing the values that are in array 1 to the other arrays,
- * if there are less values in array 1, it's possible to get an empty diff where one might be expected.
- *
- * @since 5.8.0
- *
- * @param array $array_1
- * @param array $array_2
- *
- * @return array
- */
- static function array_diff( $array_1, $array_2 ) {
- // If the array counts are the same, then the order doesn't matter. If the count of
- // $array_1 is higher than $array_2, that's also fine. If the count of $array_2 is higher,
- // we need to swap the array order though.
- if ( count( $array_1 ) !== count( $array_2 ) && count( $array_2 ) > count( $array_1 ) ) {
- $temp = $array_1;
- $array_1 = $array_2;
- $array_2 = $temp;
- }
-
- // Disregard keys
- return array_values( array_diff( $array_1, $array_2 ) );
- }
-
- /**
- * Given the widget instance, will return true when selected post types differ from searchable post types.
- *
- * @since 5.8.0
- *
- * @param array $post_types An array of post types.
- *
- * @return bool
- */
- static function post_types_differ_searchable( $post_types ) {
- if ( empty( $post_types ) ) {
- return false;
- }
-
- $searchable_post_types = get_post_types( array( 'exclude_from_search' => false ) );
- $diff_of_searchable = self::array_diff( $searchable_post_types, (array) $post_types );
-
- return ! empty( $diff_of_searchable );
- }
-
- /**
- * Given the array of post types, will return true when these differ from the current search query.
- *
- * @since 5.8.0
- *
- * @param array $post_types An array of post types.
- *
- * @return bool
- */
- static function post_types_differ_query( $post_types ) {
- if ( empty( $post_types ) ) {
- return false;
- }
-
- if ( empty( $_GET['post_type'] ) ) {
- $post_types_from_query = array();
- } elseif ( is_array( $_GET['post_type'] ) ) {
- $post_types_from_query = $_GET['post_type'];
- } else {
- $post_types_from_query = (array) explode( ',', $_GET['post_type'] );
- }
-
- $post_types_from_query = array_map( 'trim', $post_types_from_query );
-
- $diff_query = self::array_diff( (array) $post_types, $post_types_from_query );
-
- return ! empty( $diff_query );
- }
-
- /**
- * Determine what Tracks value should be used when updating a widget.
- *
- * @since 5.8.0
- *
- * @param mixed $old_value The old option value.
- * @param mixed $new_value The new option value.
- *
- * @return array|false False if the widget wasn't updated, otherwise an array of the Tracks action and widget properties.
- */
- static function get_widget_tracks_value( $old_value, $new_value ) {
- $old_value = (array) $old_value;
- if ( isset( $old_value['_multiwidget'] ) ) {
- unset( $old_value['_multiwidget'] );
- }
-
- $new_value = (array) $new_value;
- if ( isset( $new_value['_multiwidget'] ) ) {
- unset( $new_value['_multiwidget'] );
- }
-
- $old_keys = array_keys( $old_value );
- $new_keys = array_keys( $new_value );
-
- if ( count( $new_keys ) > count( $old_keys ) ) { // This is the case for a widget being added
- $diff = self::array_diff( $new_keys, $old_keys );
- $action = 'widget_added';
- $widget = empty( $diff ) || ! isset( $new_value[ $diff[0] ] )
- ? false
- : $new_value[ $diff[0] ];
- } elseif ( count( $old_keys ) > count( $new_keys ) ) { // This is the case for a widget being deleted
- $diff = self::array_diff( $old_keys, $new_keys );
- $action = 'widget_deleted';
- $widget = empty( $diff ) || ! isset( $old_value[ $diff[0] ] )
- ? false
- : $old_value[ $diff[0] ];
- } else {
- $action = 'widget_updated';
- $widget = false;
-
- // This is a bit crazy. Since there can be multiple widgets stored in a single option,
- // we need to diff the old and new values to figure out which widget was updated.
- foreach ( $new_value as $key => $new_instance ) {
- if ( ! isset( $old_value[ $key ] ) ) {
- continue;
- }
- $old_instance = $old_value[ $key ];
-
- // First, let's test the keys of each instance
- $diff = self::array_diff( array_keys( $new_instance ), array_keys( $old_instance ) );
- if ( ! empty( $diff ) ) {
- $widget = $new_instance;
- break;
- }
-
- // Next, lets's loop over each value and compare it
- foreach ( $new_instance as $k => $v ) {
- if ( is_scalar( $v ) && (string) $v !== (string) $old_instance[ $k ] ) {
- $widget = $new_instance;
- break;
- }
-
- if ( 'filters' == $k ) {
- if ( count( $new_instance['filters'] ) != count( $old_instance['filters'] ) ) {
- $widget = $new_instance;
- break;
- }
-
- foreach ( $v as $filter_key => $new_filter_value ) {
- $diff = self::array_diff( $new_filter_value, $old_instance['filters'][ $filter_key ] );
- if ( ! empty( $diff ) ) {
- $widget = $new_instance;
- break;
- }
- }
- }
- }
- }
- }
-
- if ( empty( $action ) || empty( $widget ) ) {
- return false;
- }
-
- return array(
- 'action' => $action,
- 'widget' => self::get_widget_properties_for_tracks( $widget ),
- );
- }
-
- /**
- * Creates the widget properties for sending to Tracks.
- *
- * @since 5.8.0
- *
- * @param array $widget The widget instance.
- *
- * @return array The widget properties.
- */
- static function get_widget_properties_for_tracks( $widget ) {
- $sanitized = array();
-
- foreach ( (array) $widget as $key => $value ) {
- if ( '_multiwidget' == $key ) {
- continue;
- }
-
- if ( is_scalar( $value ) ) {
- $key = str_replace( '-', '_', sanitize_key( $key ) );
- $key = "widget_{$key}";
- $sanitized[ $key ] = $value;
- }
- }
-
- $filters_properties = ! empty( $widget['filters'] )
- ? self::get_filter_properties_for_tracks( $widget['filters'] )
- : array();
-
- return array_merge( $sanitized, $filters_properties );
- }
-
- /**
- * Creates the filter properties for sending to Tracks.
- *
- * @since 5.8.0
- *
- * @param array $filters An array of filters.
- *
- * @return array The filter properties.
- */
- static function get_filter_properties_for_tracks( $filters ) {
- if ( empty( $filters ) ) {
- return $filters;
- }
-
- $filters_properties = array(
- 'widget_filter_count' => count( $filters ),
- );
-
- foreach ( $filters as $filter ) {
- if ( empty( $filter['type'] ) ) {
- continue;
- }
-
- $key = sprintf( 'widget_filter_type_%s', $filter['type'] );
- if ( isset( $filters_properties[ $key ] ) ) {
- $filters_properties[ $key ] ++;
- } else {
- $filters_properties[ $key ] = 1;
- }
- }
-
- return $filters_properties;
- }
-
- /**
- * Gets the active post types given a set of filters.
- *
- * @since 5.8.0
- *
- * @param array $filters The active filters for the current query.
- *
- * @return array The active post types.
- */
- public static function get_active_post_types( $filters ) {
- $active_post_types = array();
-
- foreach ( $filters as $item ) {
- if ( ( 'post_type' == $item['type'] ) && isset( $item['query_vars']['post_type'] ) ) {
- $active_post_types[] = $item['query_vars']['post_type'];
- }
- }
-
- return $active_post_types;
- }
-
- /**
- * Sets active to false on all post type buckets.
- *
- * @since 5.8.0
- *
- * @param array $filters The available filters for the current query.
- *
- * @return array The filters for the current query with modified active field.
- */
- public static function remove_active_from_post_type_buckets( $filters ) {
- $modified = $filters;
- foreach ( $filters as $key => $filter ) {
- if ( 'post_type' === $filter['type'] && ! empty( $filter['buckets'] ) ) {
- foreach ( $filter['buckets'] as $k => $bucket ) {
- $bucket['active'] = false;
- $modified[ $key ]['buckets'][ $k ] = $bucket;
- }
- }
- }
-
- return $modified;
- }
-
- /**
- * Given a url and an array of post types, will ensure that the post types are properly applied to the URL as args.
- *
- * @since 5.8.0
- *
- * @param string $url The URL to add post types to.
- * @param array $post_types An array of post types that should be added to the URL.
- *
- * @return string The URL with added post types.
- */
- public static function add_post_types_to_url( $url, $post_types ) {
- $url = Jetpack_Search_Helpers::remove_query_arg( 'post_type', $url );
- if ( empty( $post_types ) ) {
- return $url;
- }
-
- $url = Jetpack_Search_Helpers::add_query_arg(
- 'post_type',
- implode( ',', $post_types ),
- $url
- );
-
- return $url;
- }
-
- /**
- * Since we provide support for the widget restricting post types by adding the selected post types as
- * active filters, if removing a post type filter would result in there no longer be post_type args in the URL,
- * we need to be sure to add them back.
- *
- * @since 5.8.0
- *
- * @param array $filters An array of possible filters for the current query.
- * @param array $post_types The post types to ensure are on the link.
- *
- * @return array The updated array of filters with post typed added to the remove URLs.
- */
- public static function ensure_post_types_on_remove_url( $filters, $post_types ) {
- $modified = $filters;
-
- foreach ( (array) $filters as $filter_key => $filter ) {
- if ( 'post_type' !== $filter['type'] || empty( $filter['buckets'] ) ) {
- $modified[ $filter_key ] = $filter;
- continue;
- }
-
- foreach ( (array) $filter['buckets'] as $bucket_key => $bucket ) {
- if ( empty( $bucket['remove_url'] ) ) {
- continue;
- }
-
- $parsed = wp_parse_url( $bucket['remove_url'] );
- if ( ! $parsed ) {
- continue;
- }
-
- $query = array();
- if ( ! empty( $parsed['query'] ) ) {
- wp_parse_str( $parsed['query'], $query );
- }
-
- if ( empty( $query['post_type'] ) ) {
- $modified[ $filter_key ]['buckets'][ $bucket_key ]['remove_url'] = self::add_post_types_to_url(
- $bucket['remove_url'],
- $post_types
- );
- }
- }
- }
-
- return $modified;
- }
-
- /**
- * Wraps a WordPress filter called "jetpack_search_disable_widget_filters" that allows
- * developers to disable filters supplied by the search widget. Useful if filters are
- * being defined at the code level.
- *
- * @since 5.8.0
- *
- * @return bool
- */
- public static function are_filters_by_widget_disabled() {
- /**
- * Allows developers to disable filters being set by widget, in favor of manually
- * setting filters via `Jetpack_Search::set_filters()`.
- *
- * @module search
- *
- * @since 5.7.0
- *
- * @param bool false
- */
- return apply_filters( 'jetpack_search_disable_widget_filters', false );
- }
-
- /**
- * Returns a boolean for whether the current site has a VIP index.
- *
- * @since 5.8.0
- *
- * @return bool
- */
- public static function site_has_vip_index() {
- $has_vip_index = (
- Constants::is_defined( 'JETPACK_SEARCH_VIP_INDEX' ) &&
- Constants::get_constant( 'JETPACK_SEARCH_VIP_INDEX' )
- );
-
- /**
- * Allows developers to filter whether the current site has a VIP index.
- *
- * @module search
- *
- * @since 5.8.0
- *
- * @param bool $has_vip_index Whether the current site has a VIP index.
- */
- return apply_filters( 'jetpack_search_has_vip_index', $has_vip_index );
- }
-
- /**
- * Returns the maximum posts per page for a search query.
- *
- * @since 5.8.0
- *
- * @return int
- */
- public static function get_max_posts_per_page() {
- return self::site_has_vip_index() ? 1000 : 100;
- }
-
- /**
- * Returns the maximum offset for a search query.
- *
- * @since 5.8.0
- *
- * @return int
- */
- public static function get_max_offset() {
- return self::site_has_vip_index() ? 9000 : 1000;
- }
-}
diff --git a/plugins/jetpack/modules/search/class.jetpack-search-template-tags.php b/plugins/jetpack/modules/search/class.jetpack-search-template-tags.php
deleted file mode 100644
index 303e6caa..00000000
--- a/plugins/jetpack/modules/search/class.jetpack-search-template-tags.php
+++ /dev/null
@@ -1,225 +0,0 @@
-<?php
-/**
- * Jetpack Search: Jetpack_Search_Template_Tags class
- *
- * @package Jetpack
- * @subpackage Jetpack Search
- * @since 5.8.0
- */
-
-/**
- * Class that has various methods for outputting functionality into a theme that doesn't support widgets.
- * Additionally the widget itself makes use of these class.
- *
- * @since 5.8.0
- */
-class Jetpack_Search_Template_Tags {
-
- /**
- * Renders all available filters that can be used to filter down search results on the frontend.
- *
- * @since 5.8.0
- *
- * @param array $filters The available filters for the current query.
- * @param array $post_types An array of post types to make filterable
- */
- public static function render_available_filters( $filters = null, $post_types = null ) {
- if ( is_null( $filters ) ) {
- $filters = Jetpack_Search::instance()->get_filters();
- }
-
- if ( is_null( $post_types ) ) {
- $post_types = get_post_types( array( 'exclude_from_search' => false ) );
- }
-
- /**
- * If the post types specified by the widget differ from the default set of searchable post types,
- * then we need to track their state.
- */
- $active_post_types = array();
- if ( Jetpack_Search_Helpers::post_types_differ_searchable( $post_types ) ) {
- // get the active filter buckets from the query
- $active_buckets = Jetpack_Search::instance()->get_active_filter_buckets();
- $post_types_differ_query = Jetpack_Search_Helpers::post_types_differ_query( $post_types );
-
- // remove any post_type filters from display if the current query
- // already specifies to match all post types
- if ( ! $post_types_differ_query ) {
- $active_buckets = array_filter( $active_buckets, array( __CLASS__, 'is_not_post_type_filter' ) );
- }
-
- $active_post_types = Jetpack_Search_Helpers::get_active_post_types( $active_buckets );
- if ( empty( $active_post_types ) ) {
- $active_post_types = $post_types;
- }
-
- if ( $post_types_differ_query ) {
- $filters = Jetpack_Search_Helpers::ensure_post_types_on_remove_url( $filters, $post_types );
- } else {
- $filters = Jetpack_Search_Helpers::remove_active_from_post_type_buckets( $filters );
- }
- } else {
- $post_types = array();
- }
-
- foreach ( (array) $filters as $filter ) {
- if ( 'post_type' == $filter['type'] ) {
- self::render_filter( $filter, $post_types );
- } else {
- self::render_filter( $filter, $active_post_types );
- }
- }
- }
-
- /**
- * Renders a single filter that can be applied to the current search.
- *
- * @since 5.8.0
- *
- * @param array $filter The filter to render.
- * @param array $default_post_types The default post types for this filter.
- */
- public static function render_filter( $filter, $default_post_types ) {
- if ( empty( $filter ) || empty( $filter['buckets'] ) ) {
- return;
- }
-
- $query_vars = null;
- foreach ( $filter['buckets'] as $item ) {
- if ( $item['active'] ) {
- $query_vars = array_keys( $item['query_vars'] );
- break;
- }
- }
- $clear_url = null;
- if ( ! empty( $query_vars ) ) {
- $clear_url = Jetpack_Search_Helpers::remove_query_arg( $query_vars );
- if ( ! empty( $default_post_types ) ) {
- $clear_url = Jetpack_Search_Helpers::add_post_types_to_url( $clear_url, $default_post_types );
- }
- }
-
- ?>
- <h4 class="jetpack-search-filters-widget__sub-heading">
- <?php echo esc_html( $filter['name'] ); ?>
- </h4>
- <?php if ( $clear_url ) : ?>
- <div class="jetpack-search-filters-widget__clear">
- <a href="<?php echo esc_url( $clear_url ); ?>">
- <?php esc_html_e( '< Clear Filters', 'jetpack' ); ?>
- </a>
- </div>
- <?php endif; ?>
- <ul class="jetpack-search-filters-widget__filter-list">
- <?php
- foreach ( $filter['buckets'] as $item ) :
- $url = ( empty( $item['active'] ) ) ? $item['url'] : $item['remove_url'];
- ?>
- <li>
- <label>
- <input type="checkbox"<?php checked( ! empty( $item['active'] ) ); ?> disabled="disabled" />&nbsp;
- <a href="<?php echo esc_url( $url ); ?>">
- <?php
- echo esc_html( $item['name'] );
- echo '&nbsp;';
- echo esc_html( sprintf(
- '(%s)',
- number_format_i18n( absint( $item['count'] ) )
- ) );
- ?>
- </a>
- </label>
- </li>
- <?php endforeach; ?>
- </ul>
- <?php
- }
-
- /**
- * Outputs the search widget's title.
- *
- * @since 5.8.0
- *
- * @param string $title The widget's title
- * @param string $before_title The HTML tag to display before the title
- * @param string $after_title The HTML tag to display after the title
- */
- public static function render_widget_title( $title, $before_title, $after_title ) {
- echo $before_title . esc_html( $title ) . $after_title;
- }
-
- /**
- * Responsible for rendering the search box within our widget on the frontend.
- *
- * @since 5.8.0
- *
- * @param array $post_types Array of post types to limit search results to.
- * @param string $orderby How to order the search results.
- * @param string $order In what direction to order the search results.
- */
- public static function render_widget_search_form( $post_types, $orderby, $order ) {
- $form = get_search_form( false );
-
- $fields_to_inject = array(
- 'orderby' => $orderby,
- 'order' => $order
- );
-
- // If the widget has specified post types to search within and IF the post types differ
- // from the default post types that would have been searched, set the selected post
- // types via hidden inputs.
- if ( Jetpack_Search_Helpers::post_types_differ_searchable( $post_types ) ) {
- $fields_to_inject['post_type'] = implode( ',', $post_types );
- }
-
- $form = self::inject_hidden_form_fields( $form, $fields_to_inject );
-
- echo '<div class="jetpack-search-form">';
- echo $form;
- echo '</div>';
- }
-
- /**
- * Modifies an HTML form to add some additional hidden fields.
- *
- * @since 5.8.0
- *
- * @param string $form The form HTML to modify.
- * @param array $fields Array of hidden fields to add. Key is field name and value is the field value.
- *
- * @return string The modified form HTML.
- */
- private static function inject_hidden_form_fields( $form, $fields ) {
- $form_injection = '';
-
- foreach ( $fields as $field_name => $field_value ) {
- $form_injection .= sprintf(
- '<input type="hidden" name="%s" value="%s" />',
- esc_attr( $field_name ),
- esc_attr( $field_value )
- );
- }
-
- // This shouldn't need to be escaped since we've escaped above as we built $form_injection
- $form = str_replace(
- '</form>',
- $form_injection . '</form>',
- $form
- );
-
- return $form;
- }
-
- /**
- * Internal method for filtering out non-post_type filters.
- *
- * @since 5.8.0
- *
- * @param array $filter
- *
- * @return bool
- */
- private static function is_not_post_type_filter( $filter ) {
- return 'post_type' !== $filter['type'];
- }
-} \ No newline at end of file
diff --git a/plugins/jetpack/modules/seo-tools/class-jetpack-seo-utils.php b/plugins/jetpack/modules/seo-tools/class-jetpack-seo-utils.php
index c6d8c294..008d3a44 100644
--- a/plugins/jetpack/modules/seo-tools/class-jetpack-seo-utils.php
+++ b/plugins/jetpack/modules/seo-tools/class-jetpack-seo-utils.php
@@ -23,11 +23,9 @@ class Jetpack_SEO_Utils {
/**
* Used to check whether SEO tools are enabled for given site.
*
- * @param int $site_id Optional. Defaults to current blog id if not given.
- *
* @return bool True if SEO tools are enabled, false otherwise.
*/
- public static function is_enabled_jetpack_seo( $site_id = 0 ) {
+ public static function is_enabled_jetpack_seo() {
/**
* Can be used by SEO plugin authors to disable the conflicting output of SEO Tools.
*
@@ -41,13 +39,9 @@ class Jetpack_SEO_Utils {
return false;
}
- if ( function_exists( 'has_any_blog_stickers' ) ) {
- // For WPCOM simple sites.
- if ( empty( $site_id ) ) {
- $site_id = get_current_blog_id();
- }
-
- return has_any_blog_stickers( array( 'business-plan', 'ecommerce-plan' ), $site_id );
+ // For WPcom simple sites.
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM && method_exists( 'Jetpack_Plan', 'supports' ) ) {
+ return Jetpack_Plan::supports( 'advanced-seo' );
}
// For all Jetpack sites.
diff --git a/plugins/jetpack/modules/seo-tools/jetpack-seo-posts.php b/plugins/jetpack/modules/seo-tools/jetpack-seo-posts.php
deleted file mode 100644
index 82c9b0a5..00000000
--- a/plugins/jetpack/modules/seo-tools/jetpack-seo-posts.php
+++ /dev/null
@@ -1,91 +0,0 @@
-<?php
-
-/**
- * Class containing utility static methods for managing SEO custom descriptions for Posts and Pages.
- */
-class Jetpack_SEO_Posts {
- /**
- * Key of the post meta value that will be used to store post custom description.
- */
- const DESCRIPTION_META_KEY = 'advanced_seo_description';
-
- /**
- * Build meta description for post SEO.
- *
- * @param WP_Post $post Source of data for custom description.
- *
- * @return string Post description or empty string.
- */
- public static function get_post_description( $post ) {
- if ( empty( $post ) ) {
- return '';
- }
-
- if ( post_password_required() || ! is_singular() ) {
- return '';
- }
-
- // Business users can overwrite the description
- $custom_description = self::get_post_custom_description( $post );
-
- if ( ! empty( $custom_description ) ) {
- return $custom_description;
- }
-
- if ( ! empty( $post->post_excerpt ) ) {
- return $post->post_excerpt;
- }
-
- return $post->post_content;
- }
-
- /**
- * Returns post's custom meta description if it is set, and if
- * SEO tools are enabled for current blog.
- *
- * @param WP_Post $post Source of data for custom description
- *
- * @return string Custom description or empty string
- */
- public static function get_post_custom_description( $post ) {
- if ( empty( $post ) ) {
- return '';
- }
-
- $custom_description = get_post_meta( $post->ID, self::DESCRIPTION_META_KEY, true );
-
- if ( empty( $custom_description ) || ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
- return '';
- }
-
- return $custom_description;
- }
-
- /**
- * Registers the self::DESCRIPTION_META_KEY post_meta for use in the REST API.
- */
- public static function register_post_meta() {
- $args = array(
- 'type' => 'string',
- 'description' => __( 'Custom post description to be used in HTML <meta /> tag.', 'jetpack' ),
- 'single' => true,
- 'default' => '',
- 'show_in_rest' => array(
- 'name' => self::DESCRIPTION_META_KEY
- ),
- );
-
- register_meta( 'post', self::DESCRIPTION_META_KEY, $args );
- }
-
- /**
- * Register the Advanced SEO Gutenberg extension
- */
- public static function register_gutenberg_extension() {
- if ( Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
- Jetpack_Gutenberg::set_extension_available( 'jetpack-seo' );
- } else {
- Jetpack_Gutenberg::set_extension_unavailable( 'jetpack-seo', 'jetpack_seo_disabled' );
- }
- }
-}
diff --git a/plugins/jetpack/modules/seo-tools/jetpack-seo-titles.php b/plugins/jetpack/modules/seo-tools/jetpack-seo-titles.php
deleted file mode 100644
index a7c2758d..00000000
--- a/plugins/jetpack/modules/seo-tools/jetpack-seo-titles.php
+++ /dev/null
@@ -1,301 +0,0 @@
-<?php
-
-/*
- * Each title format is an array of arrays containing two values:
- * - type
- * - value
- *
- * Possible values for type are: 'token' and 'string'.
- * Possible values for 'value' are: any string in case that 'type' is set
- * to 'string', or allowed token values for page type in case that 'type'
- * is set to 'token'.
- *
- * Examples of valid formats:
- *
- * [
- * 'front_page' => [
- * [ 'type' => 'string', 'value' => 'Front page title and site name:'],
- * [ 'type' => 'token', 'value' => 'site_name']
- * ],
- * 'posts' => [
- * [ 'type' => 'token', 'value' => 'site_name' ],
- * [ 'type' => 'string', 'value' => ' | ' ],
- * [ 'type' => 'token', 'value' => 'post_title' ]
- * ],
- * 'pages' => [],
- * 'groups' => [],
- * 'archives' => []
- * ]
- * Custom title for given page type is created by concatenating all of the array 'value' parts.
- * Tokens are replaced with their corresponding values for current site.
- * Empty array signals that we are not overriding the default title for particular page type.
- */
-
-/**
- * Class containing utility static methods for managing SEO custom title formats.
- */
-class Jetpack_SEO_Titles {
- /**
- * Site option name used to store custom title formats.
- */
- const TITLE_FORMATS_OPTION = 'advanced_seo_title_formats';
-
- /**
- * Retrieves custom title formats from site option.
- *
- * @return array Array of custom title formats, or empty array.
- */
- public static function get_custom_title_formats() {
- if( Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
- return get_option( self::TITLE_FORMATS_OPTION, array() );
- }
-
- return array();
- }
-
- /**
- * Returns tokens that are currently supported for each page type.
- *
- * @return array Array of allowed token strings.
- */
- public static function get_allowed_tokens() {
- return array(
- 'front_page' => array( 'site_name', 'tagline' ),
- 'posts' => array( 'site_name', 'tagline', 'post_title' ),
- 'pages' => array( 'site_name', 'tagline', 'page_title' ),
- 'groups' => array( 'site_name', 'tagline', 'group_title' ),
- 'archives' => array( 'site_name', 'tagline', 'date' ),
- );
- }
-
- /**
- * Used to modify the default title with custom SEO title.
- *
- * @param string $default_title Default title for current page.
- *
- * @return string Custom title with replaced tokens or default title.
- */
- public static function get_custom_title( $default_title = '' ) {
- // Don't filter title for unsupported themes.
- if ( self::is_conflicted_theme() ) {
- return $default_title;
- }
-
- $page_type = self::get_page_type();
-
- // Keep default title if invalid page type is supplied.
- if ( empty( $page_type ) ) {
- return $default_title;
- }
-
- $title_formats = self::get_custom_title_formats();
-
- // Keep default title if user has not defined custom title for this page type.
- if ( empty( $title_formats[ $page_type ] ) ) {
- return $default_title;
- }
-
- if ( ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
- return $default_title;
- }
-
- $custom_title = '';
- $format_array = $title_formats[ $page_type ];
-
- foreach ( $format_array as $item ) {
- if ( 'token' == $item['type'] ) {
- $custom_title .= self::get_token_value( $item['value'] );
- } else {
- $custom_title .= $item['value'];
- }
- }
-
- return esc_html( $custom_title );
- }
-
- /**
- * Returns string value for given token.
- *
- * @param string $token_name The token name value that should be replaced.
- *
- * @return string Token replacement for current site, or empty string for unknown token name.
- */
- public static function get_token_value( $token_name ) {
-
- switch ( $token_name ) {
- case 'site_name':
- return get_bloginfo( 'name' );
-
- case 'tagline':
- return get_bloginfo( 'description' );
-
- case 'post_title':
- case 'page_title':
- return the_title_attribute( array( 'echo' => false ) );
-
- case 'group_title':
- return single_tag_title( '', false );
-
- case 'date':
- return self::get_date_for_title();
-
- default:
- return '';
- }
- }
-
- /**
- * Returns page type for current page. We need this helper in order to determine what
- * user defined title format should be used for custom title.
- *
- * @return string|bool Type of current page or false if unsupported.
- */
- public static function get_page_type() {
-
- if ( is_front_page() ) {
- return 'front_page';
- }
-
- if ( is_category() || is_tag() || is_tax() ) {
- return 'groups';
- }
-
- if ( is_archive() && ! is_author() ) {
- return 'archives';
- }
-
- if ( is_page() ) {
- return 'pages';
- }
-
- if ( is_singular() ) {
- return 'posts';
- }
-
- return false;
- }
-
- /**
- * Returns the value that should be used as a replacement for the date token,
- * depending on the archive path specified.
- *
- * @return string Token replacement for a given date, or empty string if no date is specified.
- */
- public static function get_date_for_title() {
- // If archive year, month, and day are specified.
- if ( is_day() ) {
- return get_the_date();
- }
-
- // If archive year, and month are specified.
- if ( is_month() ) {
- return trim( single_month_title( ' ', false ) );
- }
-
- // Only archive year is specified.
- if ( is_year() ) {
- return get_query_var( 'year' );
- }
-
- return '';
- }
-
- /**
- * Checks if current theme is defining custom title that won't work nicely
- * with our custom SEO title override.
- *
- * @return bool True if current theme sets custom title, false otherwise.
- */
- public static function is_conflicted_theme() {
- /**
- * Can be used to specify a list of themes that use their own custom title format.
- *
- * If current site is using one of the themes listed as conflicting,
- * Jetpack SEO custom title formats will be disabled.
- *
- * @module seo-tools
- *
- * @since 4.4.0
- *
- * @param array List of conflicted theme names. Defaults to empty array.
- */
- $conflicted_themes = apply_filters( 'jetpack_seo_custom_title_conflicted_themes', array() );
-
- return isset( $conflicted_themes[ get_option( 'template' ) ] );
- }
-
- /**
- * Checks if a given format conforms to predefined SEO title templates.
- *
- * Every format type and token must be whitelisted.
- * @see get_allowed_tokens()
- *
- * @param array $title_formats Template of SEO title to check.
- *
- * @return bool True if the formats are valid, false otherwise.
- */
- public static function are_valid_title_formats( $title_formats ) {
- $allowed_tokens = self::get_allowed_tokens();
-
- if ( ! is_array( $title_formats ) ) {
- return false;
- }
-
- foreach ( $title_formats as $format_type => $format_array ) {
- if ( ! in_array( $format_type, array_keys( $allowed_tokens ) ) ) {
- return false;
- }
-
- if ( '' === $format_array ) {
- continue;
- }
-
- if ( ! is_array( $format_array ) ) {
- return false;
- }
-
- foreach ( $format_array as $item ) {
- if ( empty( $item['type'] ) || empty( $item['value'] ) ) {
- return false;
- }
-
- if ( 'token' == $item['type'] ) {
- if ( ! in_array( $item['value'], $allowed_tokens[ $format_type ] ) ) {
- return false;
- }
- }
- }
- }
-
- return true;
- }
-
- /**
- * Combines the previous values of title formats, stored as array in site options,
- * with the new values that are provided.
- *
- * @param array $new_formats Array containing new title formats.
- *
- * @return array $result Array of updated title formats, or empty array if no update was performed.
- */
- public static function update_title_formats( $new_formats ) {
- // Empty array signals that custom title shouldn't be used.
- $empty_formats = array(
- 'front_page' => array(),
- 'posts' => array(),
- 'pages' => array(),
- 'groups' => array(),
- 'archives' => array(),
- );
-
- $previous_formats = self::get_custom_title_formats();
-
- $result = array_merge( $empty_formats, $previous_formats, $new_formats );
-
- if ( update_option( self::TITLE_FORMATS_OPTION, $result ) ) {
- return $result;
- }
-
- return array();
- }
-}
diff --git a/plugins/jetpack/modules/seo-tools/jetpack-seo-utils.php b/plugins/jetpack/modules/seo-tools/jetpack-seo-utils.php
deleted file mode 100644
index b7e4362a..00000000
--- a/plugins/jetpack/modules/seo-tools/jetpack-seo-utils.php
+++ /dev/null
@@ -1,126 +0,0 @@
-<?php
-
-/**
- * Class containing utility static methods that other SEO tools are relying on.
- */
-class Jetpack_SEO_Utils {
- /**
- * Site option name used to store front page meta description.
- */
- const FRONT_PAGE_META_OPTION = 'advanced_seo_front_page_description';
-
- /**
- * Old version of option name that was previously used under Free plan.
- */
- const GRANDFATHERED_META_OPTION = 'seo_meta_description';
-
- /**
- * Used to check whether SEO tools are enabled for given site.
- *
- * @param int $site_id Optional. Defaults to current blog id if not given.
- *
- * @return bool True if SEO tools are enabled, false otherwise.
- */
- public static function is_enabled_jetpack_seo( $site_id = 0 ) {
- /**
- * Can be used by SEO plugin authors to disable the conflicting output of SEO Tools.
- *
- * @module seo-tools
- *
- * @since 5.0.0
- *
- * @param bool True if SEO Tools should be disabled, false otherwise.
- */
- if ( apply_filters( 'jetpack_disable_seo_tools', false ) ) {
- return false;
- }
-
- if ( function_exists( 'has_any_blog_stickers' ) ) {
- // For WPCOM sites
- if ( empty( $site_id ) ) {
- $site_id = get_current_blog_id();
- }
-
- return has_any_blog_stickers( array( 'business-plan', 'ecommerce-plan' ), $site_id );
- }
-
- // For all Jetpack sites
- return true;
- }
-
- /**
- * Checks if this option was set while it was still available under free plan.
- *
- * @return bool True if we should enable grandfathering, false otherwise.
- */
- public static function has_grandfathered_front_page_meta() {
- return ! self::is_enabled_jetpack_seo() && get_option( self::GRANDFATHERED_META_OPTION );
- }
-
- /**
- * Returns front page meta description for current site.
- *
- * Since we allowed non-business users to set Front page meta description for some time,
- * before bundling it with other SEO tools features that require a business plan,
- * we are supporting grandfathering here.
- *
- * @return string Front page meta description string or empty string.
- */
- public static function get_front_page_meta_description() {
- if ( self::is_enabled_jetpack_seo() ) {
- $front_page_meta = get_option( self::FRONT_PAGE_META_OPTION );
- return $front_page_meta ? $front_page_meta : get_option( self::GRANDFATHERED_META_OPTION, '' );
- }
-
- // Support grandfathering for non-business users.
- return get_option( self::GRANDFATHERED_META_OPTION, '' );
- }
-
- /**
- * Updates the site option value for front page meta description.
- *
- * We are taking care to update the correct option, in case the value is grandfathered for current site.
- *
- * @param $value string New value for front page meta description.
- *
- * @return string Saved value, or empty string if no update was performed.
- */
- public static function update_front_page_meta_description( $value ) {
- $front_page_description = sanitize_text_field( $value );
-
- /**
- * Can be used to limit the lenght of front page meta description.
- *
- * @module seo-tools
- *
- * @since 4.4.0
- *
- * @param int Maximum length of front page meta description. Defaults to 300.
- */
- $description_max_length = apply_filters( 'jetpack_seo_front_page_description_max_length', 300 );
-
- if ( function_exists( 'mb_substr' ) ) {
- $front_page_description = mb_substr( $front_page_description, 0, $description_max_length );
- } else {
- $front_page_description = substr( $front_page_description, 0, $description_max_length );
- }
-
- $can_set_meta = self::is_enabled_jetpack_seo();
- $grandfathered_meta_option = get_option( self::GRANDFATHERED_META_OPTION );
- $has_old_meta = ! empty( $grandfathered_meta_option );
- $option_name = self::has_grandfathered_front_page_meta() ? self::GRANDFATHERED_META_OPTION : self::FRONT_PAGE_META_OPTION;
-
- $did_update = update_option( $option_name, $front_page_description );
-
- if ( $did_update && $has_old_meta && $can_set_meta ) {
- // Delete grandfathered option if user has switched to Business plan and updated meta description.
- delete_option( 'seo_meta_description' );
- }
-
- if ( $did_update ) {
- return $front_page_description;
- }
-
- return '';
- }
-}
diff --git a/plugins/jetpack/modules/seo-tools/jetpack-seo.php b/plugins/jetpack/modules/seo-tools/jetpack-seo.php
deleted file mode 100644
index d8bccd46..00000000
--- a/plugins/jetpack/modules/seo-tools/jetpack-seo.php
+++ /dev/null
@@ -1,206 +0,0 @@
-<?php
-
-/**
- * An SEO expert walks into a bar, bars, pub, public house, Irish pub, drinks, beer, wine, liquor, Grey Goose, Cristal...
- */
-class Jetpack_SEO {
- public function __construct() {
- add_action( 'init', array( $this, 'init' ) );
- }
-
- public function init() {
- /**
- * Can be used to prevent SEO tools from inserting custom meta tags.
- *
- * @module seo-tools
- *
- * @since 4.4.0
- *
- * @param bool true Should Jetpack's SEO Meta Tags be enabled. Defaults to true.
- */
- if ( apply_filters( 'jetpack_seo_meta_tags_enabled', true ) ) {
- add_action( 'wp_head', array( $this, 'meta_tags' ) );
-
- // Add support for editing page excerpts in pages, regardless of theme support.
- add_post_type_support( 'page', 'excerpt' );
- }
-
- /**
- * Can be used to prevent SEO tools form modifying site titles.
- *
- * @module seo-tools
- *
- * @since 4.4.0
- *
- * @param bool true Should Jetpack SEO modify site titles. Defaults to true.
- */
- if ( apply_filters( 'jetpack_seo_custom_titles', true ) ) {
- // Overwrite page title with custom SEO meta title for themes that support title-tag.
- add_filter( 'pre_get_document_title', array( 'Jetpack_SEO_Titles', 'get_custom_title' ) );
-
- // Add overwrite support for themes that don't support title-tag.
- add_filter( 'wp_title', array( 'Jetpack_SEO_Titles', 'get_custom_title' ) );
- }
-
- add_filter( 'jetpack_open_graph_tags', array( $this, 'set_custom_og_tags' ) );
- }
-
- private function get_authors() {
- global $wp_query;
-
- $authors = array();
-
- foreach ( $wp_query->posts as $post ) {
- $authors[] = get_the_author_meta( 'display_name', (int) $post->post_author );
- }
-
- $authors = array_unique( $authors );
-
- return $authors;
- }
-
- public function set_custom_og_tags( $tags ) {
- $custom_title = Jetpack_SEO_Titles::get_custom_title();
-
- if ( ! empty( $custom_title ) ) {
- $tags['og:title'] = $custom_title;
- }
-
- $post_custom_description = Jetpack_SEO_Posts::get_post_custom_description( get_post() );
- $front_page_meta = Jetpack_SEO_Utils::get_front_page_meta_description();
-
- if ( is_front_page() && ! empty( $front_page_meta ) ) {
- $tags['og:description'] = $front_page_meta;
- } else {
- if ( ! empty( $post_custom_description ) ) {
- $tags['og:description'] = $post_custom_description;
- }
- }
-
- return $tags;
- }
-
- public function meta_tags() {
- global $wp_query;
-
- $period = '';
- $template = '';
- $meta = array();
-
- /**
- * Can be used to specify a list of themes that set their own meta tags.
- *
- * If current site is using one of the themes listed as conflicting, inserting Jetpack SEO
- * meta tags will be prevented.
- *
- * @module seo-tools
- *
- * @since 4.4.0
- *
- * @param array List of conflicted theme names. Defaults to empty array.
- */
- $conflicted_themes = apply_filters( 'jetpack_seo_meta_tags_conflicted_themes', array() );
-
- if ( isset( $conflicted_themes[ get_option( 'template' ) ] ) ) {
- return;
- }
-
- $front_page_meta = Jetpack_SEO_Utils::get_front_page_meta_description();
- $description = $front_page_meta ? $front_page_meta : get_bloginfo( 'description' );
- $meta['description'] = trim( $description );
-
- // Try to target things if we're on a "specific" page of any kind.
- if ( is_singular() ) {
- // Business users can overwrite the description.
- if ( ! ( is_front_page() && Jetpack_SEO_Utils::get_front_page_meta_description() ) ) {
- $description = Jetpack_SEO_Posts::get_post_description( get_post() );
-
- if ( $description ) {
- $description = wp_trim_words( strip_shortcodes( wp_kses( $description, array() ) ) );
- $meta['description'] = $description;
- }
- }
-
- } elseif ( is_author() ) {
- $obj = get_queried_object();
-
- $meta['description'] = sprintf(
- _x( 'Read all of the posts by %1$s on %2$s', 'Read all of the posts by Author Name on Blog Title', 'jetpack' ),
- $obj->display_name,
- get_bloginfo( 'title' )
- );
- } elseif ( is_tag() || is_category() || is_tax() ) {
- $obj = get_queried_object();
-
- $description = get_term_field( 'description', $obj->term_id, $obj->taxonomy, 'raw' );
-
- if ( ! is_wp_error( $description ) && '' != $description ) {
- $meta['description'] = wp_trim_words( $description );
- } else {
- $authors = $this->get_authors();
-
- $meta['description'] = wp_sprintf(
- _x( 'Posts about %1$s written by %2$l', 'Posts about Category written by John and Bob', 'jetpack' ),
- single_term_title( '', false ),
- $authors
- );
- }
- } elseif ( is_date() ) {
- if ( is_year() ) {
- $period = get_query_var( 'year' );
-
- $template = _nx(
- '%1$s post published by %2$l in the year %3$s', // singular
- '%1$s posts published by %2$l in the year %3$s', // plural
- count( $wp_query->posts ), // number
- '10 posts published by John in the year 2012', // context
- 'jetpack'
- );
- } elseif ( is_month() ) {
- $period = date( 'F Y', mktime( 0, 0, 0, get_query_var( 'monthnum' ), 1, get_query_var( 'year' ) ) );
-
- $template = _nx(
- '%1$s post published by %2$l during %3$s', // singular
- '%1$s posts published by %2$l during %3$s', // plural
- count( $wp_query->posts ), // number
- '10 posts publishes by John during May 2012', // context
- 'jetpack'
- );
- } elseif ( is_day() ) {
- $period = date(
- 'F j, Y',
- mktime( 0, 0, 0, get_query_var( 'monthnum' ), get_query_var( 'day' ), get_query_var( 'year' ) )
- );
-
- $template = _nx(
- '%1$s post published by %2$l on %3$s', // singular
- '%1$s posts published by %2$l on %3$s', // plural
- count( $wp_query->posts ), // number
- '10 posts published by John on May 30, 2012', // context
- 'jetpack'
- );
- }
-
- $authors = $this->get_authors();
- $meta['description'] = wp_sprintf( $template, count( $wp_query->posts ), $authors, $period );
- }
-
- /**
- * Can be used to edit the default SEO tools meta tags.
- *
- * @module seo-tools
- *
- * @since 4.4.0
- *
- * @param array Array that consists of meta name and meta content pairs.
- */
- $meta = apply_filters( 'jetpack_seo_meta_tags', $meta );
-
- // Output them
- foreach ( $meta as $name => $content ) {
- if ( ! empty( $content ) ) {
- echo '<meta name="' . esc_attr( $name ) . '" content="' . esc_attr( $content ) . '" />' . "\n";
- }
- }
- }
-}
diff --git a/plugins/jetpack/modules/sharedaddy.php b/plugins/jetpack/modules/sharedaddy.php
index 223f0db9..9bbebd66 100644
--- a/plugins/jetpack/modules/sharedaddy.php
+++ b/plugins/jetpack/modules/sharedaddy.php
@@ -1,7 +1,7 @@
<?php
/**
* Module Name: Sharing
- * Module Description: Add Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content.
+ * Module Description: Add Twitter and Facebook buttons at the bottom of each post, making it easy for visitors to share your content.
* Sort Order: 7
* Recommendation Order: 6
* First Introduced: 1.1
diff --git a/plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.css b/plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.css
index 2c0eab17..2ae885a9 100644
--- a/plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.css
+++ b/plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.css
@@ -1,453 +1,459 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
/**
* Sharedaddy Admin Styles
*/
-
#services-config {
- min-width: 700px;
- width: 100%;
- float: right;
+ min-width: 700px;
+ width: 100%;
+ float: right;
}
#services-config h3 {
- font-weight: normal;
- font-size: 15px;
- margin: 0;
- padding: 8px 10px;
- overflow: hidden;
- white-space: nowrap;
- color: #464646;
+ font-weight: normal;
+ font-size: 15px;
+ margin: 0;
+ padding: 8px 10px;
+ overflow: hidden;
+ white-space: nowrap;
+ color: #464646;
}
#available-services, #enabled-services, #live-preview {
- padding: 0;
- width: 100%;
- padding-top: 20px;
- border-spacing: 0;
+ padding: 0;
+ width: 100%;
+ padding-top: 20px;
+ border-spacing: 0;
}
#enabled-services .ui-sortable {
- min-height: 50px;
+ min-height: 50px;
}
#enabled-services {
- padding-bottom: 20px;
+ padding-bottom: 20px;
}
#available-services, #enabled-services {
- border-bottom: 2px solid #cccccc;
+ border-bottom: 2px solid #cccccc;
}
#live-preview {
- border-bottom: 1px solid #dcdcde;
- padding-bottom: 60px;
+ border-bottom: 1px solid #dcdcde;
+ padding-bottom: 60px;
}
#available-services h3, #enabled-services h3, #live-preview h3 {
- padding: 0px;
- margin-top: 0px;
- margin-bottom: 1em;
+ padding: 0px;
+ margin-top: 0px;
+ margin-bottom: 1em;
}
body.settings_page_sharing .description {
- width: 180px;
- vertical-align: top;
+ width: 180px;
+ vertical-align: top;
}
body.settings_page_sharing .description p {
- font-size: 13px;
- font-style: italic;
+ font-size: 13px;
+ font-style: italic;
}
body.settings_page_sharing .services {
- padding: 0px 20px;
- vertical-align: top;
+ padding: 0px 20px;
+ vertical-align: top;
}
body.settings_page_sharing .services ul li {
- float: right;
- cursor: move;
+ float: right;
+ cursor: move;
}
body.settings_page_sharing .services ul li.divider {
- border: none;
- padding: 0;
- background: none;
- cursor: default;
+ border: none;
+ padding: 0;
+ background: none;
+ cursor: default;
}
body.settings_page_sharing ul.services-hidden {
- margin-bottom: 0;
+ margin-bottom: 0;
}
/* Generic style */
#available-services .service, #enabled-services .service {
- margin-left: 10px;
- padding: 5px 5px 5px 10px;
- border-radius: 3px;
- border: 1px solid #bbb;
- background: #f8f8f8;
- background-repeat: no-repeat;
- background-position: center center;
+ margin-left: 10px;
+ padding: 5px 5px 5px 10px;
+ border-radius: 3px;
+ border: 1px solid #bbb;
+ background: #f8f8f8;
+ background-repeat: no-repeat;
+ background-position: center center;
}
#available-services .service:hover, #enabled-services .service:hover {
- background: #fff;
- border: 1px solid #bbb;
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
+ background: #fff;
+ border: 1px solid #bbb;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#available-services .service.share-deprecated,
#enabled-services .service.share-deprecated {
- opacity: 0.5;
- padding: 5px;
- text-decoration: line-through;
+ opacity: 0.5;
+ padding: 5px;
+ text-decoration: line-through;
}
#available-services .service.share-deprecated {
- display: none;
+ display: none;
}
/* Generic style icons */
li.service span:before {
- color: #555;
- display: inline-block;
- -webkit-font-smoothing: antialiased;
- font: normal 18px/1 'social-logos';
- vertical-align: top;
- position: relative;
- top: 1px;
- margin-left: 3px;
- width: 16px;
- height: 16px;
- text-align: center;
+ color: #555;
+ display: inline-block;
+ -webkit-font-smoothing: antialiased;
+ font: normal 18px/1 "social-logos";
+ vertical-align: top;
+ position: relative;
+ top: 1px;
+ margin-left: 3px;
+ width: 16px;
+ height: 16px;
+ text-align: center;
}
+
li.service.share-print span:before {
- content: '\f469';
+ content: "\f469";
}
+
li.service.share-digg span:before {
- content: '\f221';
+ content: "\f221";
}
+
li.service.share-email span:before {
- content: '\f410';
+ content: "\f410";
}
+
li.service.share-linkedin span:before {
- content: '\f207';
+ content: "\f207";
}
+
li.service.share-twitter span:before {
- content: '\f202';
+ content: "\f202";
}
+
li.service.share-reddit span:before {
- content: '\f222';
+ content: "\f222";
}
+
li.service.share-tumblr span:before {
- content: '\f214';
+ content: "\f214";
}
+
li.service.share-pocket span:before {
- content: '\f224';
+ content: "\f224";
}
+
li.service.share-pinterest span:before {
- content: '\f209';
+ content: "\f209";
}
+
li.service.share-facebook span:before {
- content: '\f203';
+ content: "\f203";
}
-li.service.share-press-this span:before { /* Fixme: remove this button in favor of reblog */
- content: '\f205';
+
+li.service.share-press-this span:before {
+ /* Fixme: remove this button in favor of reblog */
+ content: "\f205";
}
+
li.service.share-telegram span:before {
- content: '\f606';
+ content: "\f606";
}
+
li.service.share-jetpack-whatsapp span:before {
- content: '\f608';
+ content: "\f608";
}
+
li.service.share-skype span:before {
- content: '\f220';
+ content: "\f220";
}
/**
* Preview section
*/
-
body.settings_page_sharing ul.preview {
- float: right;
- margin: 0px;
+ float: right;
+ margin: 0px;
}
body.settings_page_sharing ul.preview li.preview-item, body.settings_page_sharing ul.preview li.preview-item a {
- cursor: default;
- text-decoration: none;
+ cursor: default;
+ text-decoration: none;
}
div.sd-social-icon ul.preview li.preview-item a span,
div.sd-social-icon .inner li.preview-item a span {
- display: none;
+ display: none;
}
div.sd-social-icon ul.preview li.preview-item.preview-custom a span {
- display: inline-block;
-
+ display: inline-block;
}
.services .preview li.share-custom a {
- text-decoration: none;
+ text-decoration: none;
}
.services ul li.end-fix {
- clear:both;
- float:none;
- visibility:hidden;
- padding:0;
- margin:0;
- height:20px;
- width:0;
+ clear: both;
+ float: none;
+ visibility: hidden;
+ padding: 0;
+ margin: 0;
+ height: 20px;
+ width: 0;
}
-#enabled-services h2{
- font-size:20px;
- padding-top:0px;
- font-weight: normal !important;
- color: #999;
+#enabled-services h2 {
+ font-size: 20px;
+ padding-top: 0px;
+ font-weight: normal !important;
+ color: #999;
}
body.settings_page_sharing #live-preview h2 {
- font-size:20px;
- font-weight: normal !important;
- color: #e3e3e3;
+ font-size: 20px;
+ font-weight: normal !important;
+ color: #e3e3e3;
}
body.settings_page_sharing .clearing {
- clear: both;
+ clear: both;
}
body.settings_page_sharing .options .options-left {
- float: right;
+ float: right;
}
body.settings_page_sharing .input label {
- font-size: 11px;
- line-height: 16px;
+ font-size: 11px;
+ line-height: 16px;
}
body.settings_page_sharing .advanced-form {
- padding: 10px 10px 8px 14px;
- margin-right: -24px;
- display: none;
- border-top: 1px #e3e3e3 solid;
- margin-top:4px;
+ padding: 10px 10px 8px 14px;
+ margin-right: -24px;
+ display: none;
+ border-top: 1px #e3e3e3 solid;
+ margin-top: 4px;
}
body.settings_page_sharing .utility {
- float: left;
- padding-top:10px;
- padding-left: 10px;
- font-size: 10px;
+ float: left;
+ padding-top: 10px;
+ padding-left: 10px;
+ font-size: 10px;
}
body.settings_page_sharing .advanced input[type=submit] {
- float: right;
- margin-top:10px;
- margin-left: 10px;
+ float: right;
+ margin-top: 10px;
+ margin-left: 10px;
}
.services li.dropzone {
- border: 1px dashed #999;
- border-radius: 3px;
- background: #e3e3e3;
- margin-left: 10px;
- padding: 5px;
- height: 18px;
+ border: 1px dashed #999;
+ border-radius: 3px;
+ background: #e3e3e3;
+ margin-left: 10px;
+ padding: 5px;
+ height: 18px;
}
.advanced-form .form-table th {
- width: auto !important;
+ width: auto !important;
}
.advanced-form .button-secondary {
- margin-top: 0 !important;
+ margin-top: 0 !important;
}
#hidden-drop-target {
- background: #e1e1e1;
- border: 1px solid #cdcdcd;
- width: 29%;
- padding: 10px;
- vertical-align: top;
+ background: #e1e1e1;
+ border: 1px solid #cdcdcd;
+ width: 29%;
+ padding: 10px;
+ vertical-align: top;
}
#hidden-drop-target p {
- font-size: 13px;
- font-style: italic;
- margin: 0 0 10px 0;
+ font-size: 13px;
+ font-style: italic;
+ margin: 0 0 10px 0;
}
-
/* Official button previews */
.preview li.preview-item {
- background-position: 0px 5px;
- cursor: default;
+ background-position: 0px 5px;
+ cursor: default;
}
.preview .option-smart-on {
- margin: 3px 0 0 5px;
+ margin: 3px 0 0 5px;
}
.preview-digg .option-smart-on {
- background: url(images/smart-digg.png) no-repeat top right;
- background-size: 76px 17px;
- width:76px;
- height:17px;
- margin-top: 2px;
+ background: url(../../modules/sharedaddy/images/smart-digg.png) no-repeat top right;
+ background-size: 76px 17px;
+ width: 76px;
+ height: 17px;
+ margin-top: 2px;
}
.preview-reddit .option-smart-on {
- background: url(images/smart-reddit.png) no-repeat top right;
- background-size: 104px 21px;
- width:104px;
- height:21px;
+ background: url(../../modules/sharedaddy/images/smart-reddit.png) no-repeat top right;
+ background-size: 104px 21px;
+ width: 104px;
+ height: 21px;
}
.preview-facebook .option-smart-on {
- background: url(images/smart-like.png) no-repeat top right;
- background-size: 85px 20px;
- width:85px;
- height:20px;
+ background: url(../../modules/sharedaddy/images/smart-like.png) no-repeat top right;
+ background-size: 85px 20px;
+ width: 85px;
+ height: 20px;
}
.preview-twitter .option-smart-on {
- background: url(images/smart-twitter.png?1) no-repeat top right;
- background-size: 60px 20px;
- width:60px;
- height:20px;
+ background: url(../../modules/sharedaddy/images/smart-twitter.png) no-repeat top right;
+ background-size: 60px 20px;
+ width: 60px;
+ height: 20px;
}
.preview-linkedin .option-smart-on {
- background: url(images/linkedin-smart.png) no-repeat top center;
- background-size: 99px 18px;
- width:99px;
- height:20px;
+ background: url(../../modules/sharedaddy/images/linkedin-smart.png) no-repeat top center;
+ background-size: 99px 18px;
+ width: 99px;
+ height: 20px;
}
.preview-tumblr .option-smart-on {
- background: url(images/smart-tumblr.png) no-repeat top right;
- background-size: 62px 20px;
- width: 62px;
- height: 20px;
+ background: url(../../modules/sharedaddy/images/smart-tumblr.png) no-repeat top right;
+ background-size: 62px 20px;
+ width: 62px;
+ height: 20px;
}
.preview-pinterest .option-smart-on {
- background: url(images/smart-pinterest.png) no-repeat top right;
- background-size: 39px 20px;
- width: 39px;
- height: 20px;
+ background: url(../../modules/sharedaddy/images/smart-pinterest.png) no-repeat top right;
+ background-size: 39px 20px;
+ width: 39px;
+ height: 20px;
}
.preview-pocket .option-smart-on {
- background: url(images/smart-pocket.png) no-repeat top right;
- background-size: 60px 20px;
- width: 60px;
- height: 20px;
+ background: url(../../modules/sharedaddy/images/smart-pocket.png) no-repeat top right;
+ background-size: 60px 20px;
+ width: 60px;
+ height: 20px;
}
.preview-skype .option-smart-on {
- background: url(images/smart-skype.png) no-repeat top right;
- background-size: 60px 20px;
- width: 60px;
- height: 20px;
+ background: url(../../modules/sharedaddy/images/smart-skype.png) no-repeat top right;
+ background-size: 60px 20px;
+ width: 60px;
+ height: 20px;
}
.preview-item.share-deprecated {
- opacity: 0.5;
+ opacity: 0.5;
}
.preview-item.share-deprecated a span {
- text-decoration: line-through;
+ text-decoration: line-through;
}
-@media
-(-webkit-min-device-pixel-ratio: 1.25),
-(min-resolution: 120dpi) {
- .preview-digg .option-smart-on {
- background-image: url(images/smart-digg@2x.png);
- }
+@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
+ .preview-digg .option-smart-on {
+ background-image: url(../../modules/sharedaddy/images/smart-digg@2x.png);
+ }
- .preview-reddit .option-smart-on {
- background-image: url(images/smart-reddit@2x.png);
- }
+ .preview-reddit .option-smart-on {
+ background-image: url(../../modules/sharedaddy/images/smart-reddit@2x.png);
+ }
- .preview-facebook .option-smart-on {
- background-image: url(images/smart-like@2x.png);
- }
+ .preview-facebook .option-smart-on {
+ background-image: url(../../modules/sharedaddy/images/smart-like@2x.png);
+ }
- .preview-twitter .option-smart-on {
- background-image: url(images/smart-twitter@2x.png?1);
- }
+ .preview-twitter .option-smart-on {
+ background-image: url(../../modules/sharedaddy/images/smart-twitter@2x.png);
+ }
- .preview-linkedin .option-smart-on {
- background-image: url(images/linkedin-smart@2x.png);
- }
+ .preview-linkedin .option-smart-on {
+ background-image: url(../../modules/sharedaddy/images/linkedin-smart@2x.png);
+ }
- .preview-tumblr .option-smart-on {
- background-image: url(images/smart-tumblr@2x.png);
- }
+ .preview-tumblr .option-smart-on {
+ background-image: url(../../modules/sharedaddy/images/smart-tumblr@2x.png);
+ }
- .preview-pinterest .option-smart-on {
- background-image: url(images/smart-pinterest@2x.png);
- }
+ .preview-pinterest .option-smart-on {
+ background-image: url(../../modules/sharedaddy/images/smart-pinterest@2x.png);
+ }
- .preview-pocket .option-smart-on {
- background-image: url(images/smart-pocket@2x.png);
- }
+ .preview-pocket .option-smart-on {
+ background-image: url(../../modules/sharedaddy/images/smart-pocket@2x.png);
+ }
- .preview-skype .option-smart-on {
- background-image: url(images/smart-skype@2x.png);
- }
+ .preview-skype .option-smart-on {
+ background-image: url(../../modules/sharedaddy/images/smart-skype@2x.png);
+ }
}
-
/**
* Overflow sharing dialog
*/
-
.services .sharing-hidden li {
- background-color: transparent;
+ background-color: transparent;
}
.sharing-hidden li.share-end {
- clear: both;
- height: 0;
- padding: 0px !important;
- margin: 0px !important;
- width: 0;
- visibility: hidden;
- float: none;
+ clear: both;
+ height: 0;
+ padding: 0px !important;
+ margin: 0px !important;
+ width: 0;
+ visibility: hidden;
+ float: none;
}
.preview .sharing-label {
- font-weight: bold;
- border: 0;
- padding: 4px 0 0 6px;
+ font-weight: bold;
+ border: 0;
+ padding: 4px 0 0 6px;
}
#services-config a.remove {
- background: #dcdcde;
- color: #fff;
- padding: 0px 4px 2px;
- border-radius: 15px;
- -moz-border-radius: 15px;
- -webkit-border-radius: 15px;
- text-decoration: none;
- font-weight: bold;
- font-size: 10px;
+ background: #dcdcde;
+ color: #fff;
+ padding: 0px 4px 2px;
+ border-radius: 15px;
+ -moz-border-radius: 15px;
+ -webkit-border-radius: 15px;
+ text-decoration: none;
+ font-weight: bold;
+ font-size: 10px;
}
#services-config a.remove:hover {
- background: #f00;
+ background: #f00;
}
.sd-social-icon .inner a.sd-button span,
.sd-social-icon .inner a.share-icon span {
- display: inline-block;
- overflow: hidden;
- width: 0;
- text-indent: 100%;
+ display: inline-block;
+ overflow: hidden;
+ width: 0;
+ text-indent: 100%;
}
diff --git a/plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.min.css b/plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.min.css
index 04e5ff15..c38b2041 100644
--- a/plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.min.css
+++ b/plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.min.css
@@ -1 +1 @@
-#services-config{min-width:700px;width:100%;float:right}#services-config h3{font-weight:400;font-size:15px;margin:0;padding:8px 10px;overflow:hidden;white-space:nowrap;color:#464646}#available-services,#enabled-services,#live-preview{padding:0;width:100%;padding-top:20px;border-spacing:0}#enabled-services .ui-sortable{min-height:50px}#enabled-services{padding-bottom:20px}#available-services,#enabled-services{border-bottom:2px solid #ccc}#live-preview{border-bottom:1px solid #dcdcde;padding-bottom:60px}#available-services h3,#enabled-services h3,#live-preview h3{padding:0;margin-top:0;margin-bottom:1em}body.settings_page_sharing .description{width:180px;vertical-align:top}body.settings_page_sharing .description p{font-size:13px;font-style:italic}body.settings_page_sharing .services{padding:0 20px;vertical-align:top}body.settings_page_sharing .services ul li{float:right;cursor:move}body.settings_page_sharing .services ul li.divider{border:none;padding:0;background:0 0;cursor:default}body.settings_page_sharing ul.services-hidden{margin-bottom:0}#available-services .service,#enabled-services .service{margin-left:10px;padding:5px 5px 5px 10px;border-radius:3px;border:1px solid #bbb;background:#f8f8f8;background-repeat:no-repeat;background-position:center center}#available-services .service:hover,#enabled-services .service:hover{background:#fff;border:1px solid #bbb;box-shadow:0 1px 3px rgba(0,0,0,.2)}#available-services .service.share-deprecated,#enabled-services .service.share-deprecated{opacity:.5;padding:5px;text-decoration:line-through}#available-services .service.share-deprecated{display:none}li.service span:before{color:#555;display:inline-block;-webkit-font-smoothing:antialiased;font:normal 18px/1 social-logos;vertical-align:top;position:relative;top:1px;margin-left:3px;width:16px;height:16px;text-align:center}li.service.share-print span:before{content:'\f469'}li.service.share-digg span:before{content:'\f221'}li.service.share-email span:before{content:'\f410'}li.service.share-linkedin span:before{content:'\f207'}li.service.share-twitter span:before{content:'\f202'}li.service.share-reddit span:before{content:'\f222'}li.service.share-tumblr span:before{content:'\f214'}li.service.share-pocket span:before{content:'\f224'}li.service.share-pinterest span:before{content:'\f209'}li.service.share-facebook span:before{content:'\f203'}li.service.share-press-this span:before{content:'\f205'}li.service.share-telegram span:before{content:'\f606'}li.service.share-jetpack-whatsapp span:before{content:'\f608'}li.service.share-skype span:before{content:'\f220'}body.settings_page_sharing ul.preview{float:right;margin:0}body.settings_page_sharing ul.preview li.preview-item,body.settings_page_sharing ul.preview li.preview-item a{cursor:default;text-decoration:none}div.sd-social-icon .inner li.preview-item a span,div.sd-social-icon ul.preview li.preview-item a span{display:none}div.sd-social-icon ul.preview li.preview-item.preview-custom a span{display:inline-block}.services .preview li.share-custom a{text-decoration:none}.services ul li.end-fix{clear:both;float:none;visibility:hidden;padding:0;margin:0;height:20px;width:0}#enabled-services h2{font-size:20px;padding-top:0;font-weight:400!important;color:#999}body.settings_page_sharing #live-preview h2{font-size:20px;font-weight:400!important;color:#e3e3e3}body.settings_page_sharing .clearing{clear:both}body.settings_page_sharing .options .options-left{float:right}body.settings_page_sharing .input label{font-size:11px;line-height:16px}body.settings_page_sharing .advanced-form{padding:10px 10px 8px 14px;margin-right:-24px;display:none;border-top:1px #e3e3e3 solid;margin-top:4px}body.settings_page_sharing .utility{float:left;padding-top:10px;padding-left:10px;font-size:10px}body.settings_page_sharing .advanced input[type=submit]{float:right;margin-top:10px;margin-left:10px}.services li.dropzone{border:1px dashed #999;border-radius:3px;background:#e3e3e3;margin-left:10px;padding:5px;height:18px}.advanced-form .form-table th{width:auto!important}.advanced-form .button-secondary{margin-top:0!important}#hidden-drop-target{background:#e1e1e1;border:1px solid #cdcdcd;width:29%;padding:10px;vertical-align:top}#hidden-drop-target p{font-size:13px;font-style:italic;margin:0 0 10px 0}.preview li.preview-item{background-position:0 5px;cursor:default}.preview .option-smart-on{margin:3px 0 0 5px}.preview-digg .option-smart-on{background:url(images/smart-digg.png) no-repeat top right;background-size:76px 17px;width:76px;height:17px;margin-top:2px}.preview-reddit .option-smart-on{background:url(images/smart-reddit.png) no-repeat top right;background-size:104px 21px;width:104px;height:21px}.preview-facebook .option-smart-on{background:url(images/smart-like.png) no-repeat top right;background-size:85px 20px;width:85px;height:20px}.preview-twitter .option-smart-on{background:url(images/smart-twitter.png?1) no-repeat top right;background-size:60px 20px;width:60px;height:20px}.preview-linkedin .option-smart-on{background:url(images/linkedin-smart.png) no-repeat top center;background-size:99px 18px;width:99px;height:20px}.preview-tumblr .option-smart-on{background:url(images/smart-tumblr.png) no-repeat top right;background-size:62px 20px;width:62px;height:20px}.preview-pinterest .option-smart-on{background:url(images/smart-pinterest.png) no-repeat top right;background-size:39px 20px;width:39px;height:20px}.preview-pocket .option-smart-on{background:url(images/smart-pocket.png) no-repeat top right;background-size:60px 20px;width:60px;height:20px}.preview-skype .option-smart-on{background:url(images/smart-skype.png) no-repeat top right;background-size:60px 20px;width:60px;height:20px}.preview-item.share-deprecated{opacity:.5}.preview-item.share-deprecated a span{text-decoration:line-through}@media (-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.preview-digg .option-smart-on{background-image:url(images/smart-digg@2x.png)}.preview-reddit .option-smart-on{background-image:url(images/smart-reddit@2x.png)}.preview-facebook .option-smart-on{background-image:url(images/smart-like@2x.png)}.preview-twitter .option-smart-on{background-image:url(images/smart-twitter@2x.png?1)}.preview-linkedin .option-smart-on{background-image:url(images/linkedin-smart@2x.png)}.preview-tumblr .option-smart-on{background-image:url(images/smart-tumblr@2x.png)}.preview-pinterest .option-smart-on{background-image:url(images/smart-pinterest@2x.png)}.preview-pocket .option-smart-on{background-image:url(images/smart-pocket@2x.png)}.preview-skype .option-smart-on{background-image:url(images/smart-skype@2x.png)}}.services .sharing-hidden li{background-color:transparent}.sharing-hidden li.share-end{clear:both;height:0;padding:0!important;margin:0!important;width:0;visibility:hidden;float:none}.preview .sharing-label{font-weight:700;border:0;padding:4px 0 0 6px}#services-config a.remove{background:#dcdcde;color:#fff;padding:0 4px 2px;border-radius:15px;-moz-border-radius:15px;-webkit-border-radius:15px;text-decoration:none;font-weight:700;font-size:10px}#services-config a.remove:hover{background:red}.sd-social-icon .inner a.sd-button span,.sd-social-icon .inner a.share-icon span{display:inline-block;overflow:hidden;width:0;text-indent:100%} \ No newline at end of file
+#services-config{float:right;min-width:700px;width:100%}#services-config h3{color:#464646;font-size:15px;font-weight:400;margin:0;overflow:hidden;padding:8px 10px;white-space:nowrap}#available-services,#enabled-services,#live-preview{border-spacing:0;padding:20px 0 0;width:100%}#enabled-services .ui-sortable{min-height:50px}#enabled-services{padding-bottom:20px}#available-services,#enabled-services{border-bottom:2px solid #ccc}#live-preview{border-bottom:1px solid #dcdcde;padding-bottom:60px}#available-services h3,#enabled-services h3,#live-preview h3{margin-bottom:1em;margin-top:0;padding:0}body.settings_page_sharing .description{vertical-align:top;width:180px}body.settings_page_sharing .description p{font-size:13px;font-style:italic}body.settings_page_sharing .services{padding:0 20px;vertical-align:top}body.settings_page_sharing .services ul li{cursor:move;float:right}body.settings_page_sharing .services ul li.divider{background:none;border:none;cursor:default;padding:0}body.settings_page_sharing ul.services-hidden{margin-bottom:0}#available-services .service,#enabled-services .service{background:#f8f8f8;background-position:50%;background-repeat:no-repeat;border:1px solid #bbb;border-radius:3px;margin-left:10px;padding:5px 5px 5px 10px}#available-services .service:hover,#enabled-services .service:hover{background:#fff;border:1px solid #bbb;box-shadow:0 1px 3px rgba(0,0,0,.2)}#available-services .service.share-deprecated,#enabled-services .service.share-deprecated{opacity:.5;padding:5px;text-decoration:line-through}#available-services .service.share-deprecated{display:none}li.service span:before{-webkit-font-smoothing:antialiased;color:#555;display:inline-block;font:normal 18px/1 social-logos;height:16px;margin-left:3px;position:relative;text-align:center;top:1px;vertical-align:top;width:16px}li.service.share-print span:before{content:"\f469"}li.service.share-digg span:before{content:"\f221"}li.service.share-email span:before{content:"\f410"}li.service.share-linkedin span:before{content:"\f207"}li.service.share-twitter span:before{content:"\f202"}li.service.share-reddit span:before{content:"\f222"}li.service.share-tumblr span:before{content:"\f214"}li.service.share-pocket span:before{content:"\f224"}li.service.share-pinterest span:before{content:"\f209"}li.service.share-facebook span:before{content:"\f203"}li.service.share-press-this span:before{content:"\f205"}li.service.share-telegram span:before{content:"\f606"}li.service.share-jetpack-whatsapp span:before{content:"\f608"}li.service.share-skype span:before{content:"\f220"}body.settings_page_sharing ul.preview{float:right;margin:0}body.settings_page_sharing ul.preview li.preview-item,body.settings_page_sharing ul.preview li.preview-item a{cursor:default;text-decoration:none}div.sd-social-icon .inner li.preview-item a span,div.sd-social-icon ul.preview li.preview-item a span{display:none}div.sd-social-icon ul.preview li.preview-item.preview-custom a span{display:inline-block}.services .preview li.share-custom a{text-decoration:none}.services ul li.end-fix{clear:both;float:none;height:20px;margin:0;padding:0;visibility:hidden;width:0}#enabled-services h2{color:#999;font-size:20px;font-weight:400!important;padding-top:0}body.settings_page_sharing #live-preview h2{color:#e3e3e3;font-size:20px;font-weight:400!important}body.settings_page_sharing .clearing{clear:both}body.settings_page_sharing .options .options-left{float:right}body.settings_page_sharing .input label{font-size:11px;line-height:16px}body.settings_page_sharing .advanced-form{border-top:1px solid #e3e3e3;display:none;margin-right:-24px;margin-top:4px;padding:10px 10px 8px 14px}body.settings_page_sharing .utility{float:left;font-size:10px;padding-left:10px;padding-top:10px}body.settings_page_sharing .advanced input[type=submit]{float:right;margin-left:10px;margin-top:10px}.services li.dropzone{background:#e3e3e3;border:1px dashed #999;border-radius:3px;height:18px;margin-left:10px;padding:5px}.advanced-form .form-table th{width:auto!important}.advanced-form .button-secondary{margin-top:0!important}#hidden-drop-target{background:#e1e1e1;border:1px solid #cdcdcd;padding:10px;vertical-align:top;width:29%}#hidden-drop-target p{font-size:13px;font-style:italic;margin:0 0 10px}.preview li.preview-item{background-position:0 5px;cursor:default}.preview .option-smart-on{margin:3px 0 0 5px}.preview-digg .option-smart-on{background:url(../../modules/sharedaddy/images/smart-digg.png) no-repeat 100% 0;background-size:76px 17px;height:17px;margin-top:2px;width:76px}.preview-reddit .option-smart-on{background:url(../../modules/sharedaddy/images/smart-reddit.png) no-repeat 100% 0;background-size:104px 21px;height:21px;width:104px}.preview-facebook .option-smart-on{background:url(../../modules/sharedaddy/images/smart-like.png) no-repeat 100% 0;background-size:85px 20px;height:20px;width:85px}.preview-twitter .option-smart-on{background:url(../../modules/sharedaddy/images/smart-twitter.png) no-repeat 100% 0;background-size:60px 20px;height:20px;width:60px}.preview-linkedin .option-smart-on{background:url(../../modules/sharedaddy/images/linkedin-smart.png) no-repeat top;background-size:99px 18px;height:20px;width:99px}.preview-tumblr .option-smart-on{background:url(../../modules/sharedaddy/images/smart-tumblr.png) no-repeat 100% 0;background-size:62px 20px;height:20px;width:62px}.preview-pinterest .option-smart-on{background:url(../../modules/sharedaddy/images/smart-pinterest.png) no-repeat 100% 0;background-size:39px 20px;height:20px;width:39px}.preview-pocket .option-smart-on{background:url(../../modules/sharedaddy/images/smart-pocket.png) no-repeat 100% 0;background-size:60px 20px;height:20px;width:60px}.preview-skype .option-smart-on{background:url(../../modules/sharedaddy/images/smart-skype.png) no-repeat 100% 0;background-size:60px 20px;height:20px;width:60px}.preview-item.share-deprecated{opacity:.5}.preview-item.share-deprecated a span{text-decoration:line-through}@media (-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.preview-digg .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-digg@2x.png)}.preview-reddit .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-reddit@2x.png)}.preview-facebook .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-like@2x.png)}.preview-twitter .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-twitter@2x.png)}.preview-linkedin .option-smart-on{background-image:url(../../modules/sharedaddy/images/linkedin-smart@2x.png)}.preview-tumblr .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-tumblr@2x.png)}.preview-pinterest .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-pinterest@2x.png)}.preview-pocket .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-pocket@2x.png)}.preview-skype .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-skype@2x.png)}}.services .sharing-hidden li{background-color:transparent}.sharing-hidden li.share-end{clear:both;float:none;height:0;margin:0!important;padding:0!important;visibility:hidden;width:0}.preview .sharing-label{border:0;font-weight:700;padding:4px 0 0 6px}#services-config a.remove{background:#dcdcde;border-radius:15px;-moz-border-radius:15px;-webkit-border-radius:15px;color:#fff;font-size:10px;font-weight:700;padding:0 4px 2px;text-decoration:none}#services-config a.remove:hover{background:red}.sd-social-icon .inner a.sd-button span,.sd-social-icon .inner a.share-icon span{display:inline-block;overflow:hidden;text-indent:100%;width:0} \ No newline at end of file
diff --git a/plugins/jetpack/modules/sharedaddy/admin-sharing.min.css b/plugins/jetpack/modules/sharedaddy/admin-sharing.min.css
index 3a47248c..43172ba7 100644
--- a/plugins/jetpack/modules/sharedaddy/admin-sharing.min.css
+++ b/plugins/jetpack/modules/sharedaddy/admin-sharing.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-#services-config{min-width:700px;width:100%;float:left}#services-config h3{font-weight:400;font-size:15px;margin:0;padding:8px 10px;overflow:hidden;white-space:nowrap;color:#464646}#available-services,#enabled-services,#live-preview{padding:0;width:100%;padding-top:20px;border-spacing:0}#enabled-services .ui-sortable{min-height:50px}#enabled-services{padding-bottom:20px}#available-services,#enabled-services{border-bottom:2px solid #ccc}#live-preview{border-bottom:1px solid #dcdcde;padding-bottom:60px}#available-services h3,#enabled-services h3,#live-preview h3{padding:0;margin-top:0;margin-bottom:1em}body.settings_page_sharing .description{width:180px;vertical-align:top}body.settings_page_sharing .description p{font-size:13px;font-style:italic}body.settings_page_sharing .services{padding:0 20px;vertical-align:top}body.settings_page_sharing .services ul li{float:left;cursor:move}body.settings_page_sharing .services ul li.divider{border:none;padding:0;background:0 0;cursor:default}body.settings_page_sharing ul.services-hidden{margin-bottom:0}#available-services .service,#enabled-services .service{margin-right:10px;padding:5px 10px 5px 5px;border-radius:3px;border:1px solid #bbb;background:#f8f8f8;background-repeat:no-repeat;background-position:center center}#available-services .service:hover,#enabled-services .service:hover{background:#fff;border:1px solid #bbb;box-shadow:0 1px 3px rgba(0,0,0,.2)}#available-services .service.share-deprecated,#enabled-services .service.share-deprecated{opacity:.5;padding:5px;text-decoration:line-through}#available-services .service.share-deprecated{display:none}li.service span:before{color:#555;display:inline-block;-webkit-font-smoothing:antialiased;font:normal 18px/1 social-logos;vertical-align:top;position:relative;top:1px;margin-right:3px;width:16px;height:16px;text-align:center}li.service.share-print span:before{content:'\f469'}li.service.share-digg span:before{content:'\f221'}li.service.share-email span:before{content:'\f410'}li.service.share-linkedin span:before{content:'\f207'}li.service.share-twitter span:before{content:'\f202'}li.service.share-reddit span:before{content:'\f222'}li.service.share-tumblr span:before{content:'\f214'}li.service.share-pocket span:before{content:'\f224'}li.service.share-pinterest span:before{content:'\f209'}li.service.share-facebook span:before{content:'\f203'}li.service.share-press-this span:before{content:'\f205'}li.service.share-telegram span:before{content:'\f606'}li.service.share-jetpack-whatsapp span:before{content:'\f608'}li.service.share-skype span:before{content:'\f220'}body.settings_page_sharing ul.preview{float:left;margin:0}body.settings_page_sharing ul.preview li.preview-item,body.settings_page_sharing ul.preview li.preview-item a{cursor:default;text-decoration:none}div.sd-social-icon .inner li.preview-item a span,div.sd-social-icon ul.preview li.preview-item a span{display:none}div.sd-social-icon ul.preview li.preview-item.preview-custom a span{display:inline-block}.services .preview li.share-custom a{text-decoration:none}.services ul li.end-fix{clear:both;float:none;visibility:hidden;padding:0;margin:0;height:20px;width:0}#enabled-services h2{font-size:20px;padding-top:0;font-weight:400!important;color:#999}body.settings_page_sharing #live-preview h2{font-size:20px;font-weight:400!important;color:#e3e3e3}body.settings_page_sharing .clearing{clear:both}body.settings_page_sharing .options .options-left{float:left}body.settings_page_sharing .input label{font-size:11px;line-height:16px}body.settings_page_sharing .advanced-form{padding:10px 14px 8px 10px;margin-left:-24px;display:none;border-top:1px #e3e3e3 solid;margin-top:4px}body.settings_page_sharing .utility{float:right;padding-top:10px;padding-right:10px;font-size:10px}body.settings_page_sharing .advanced input[type=submit]{float:left;margin-top:10px;margin-right:10px}.services li.dropzone{border:1px dashed #999;border-radius:3px;background:#e3e3e3;margin-right:10px;padding:5px;height:18px}.advanced-form .form-table th{width:auto!important}.advanced-form .button-secondary{margin-top:0!important}#hidden-drop-target{background:#e1e1e1;border:1px solid #cdcdcd;width:29%;padding:10px;vertical-align:top}#hidden-drop-target p{font-size:13px;font-style:italic;margin:0 0 10px 0}.preview li.preview-item{background-position:0 5px;cursor:default}.preview .option-smart-on{margin:3px 5px 0 0}.preview-digg .option-smart-on{background:url(images/smart-digg.png) no-repeat top left;background-size:76px 17px;width:76px;height:17px;margin-top:2px}.preview-reddit .option-smart-on{background:url(images/smart-reddit.png) no-repeat top left;background-size:104px 21px;width:104px;height:21px}.preview-facebook .option-smart-on{background:url(images/smart-like.png) no-repeat top left;background-size:85px 20px;width:85px;height:20px}.preview-twitter .option-smart-on{background:url(images/smart-twitter.png?1) no-repeat top left;background-size:60px 20px;width:60px;height:20px}.preview-linkedin .option-smart-on{background:url(images/linkedin-smart.png) no-repeat top center;background-size:99px 18px;width:99px;height:20px}.preview-tumblr .option-smart-on{background:url(images/smart-tumblr.png) no-repeat top left;background-size:62px 20px;width:62px;height:20px}.preview-pinterest .option-smart-on{background:url(images/smart-pinterest.png) no-repeat top left;background-size:39px 20px;width:39px;height:20px}.preview-pocket .option-smart-on{background:url(images/smart-pocket.png) no-repeat top left;background-size:60px 20px;width:60px;height:20px}.preview-skype .option-smart-on{background:url(images/smart-skype.png) no-repeat top left;background-size:60px 20px;width:60px;height:20px}.preview-item.share-deprecated{opacity:.5}.preview-item.share-deprecated a span{text-decoration:line-through}@media (-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.preview-digg .option-smart-on{background-image:url(images/smart-digg@2x.png)}.preview-reddit .option-smart-on{background-image:url(images/smart-reddit@2x.png)}.preview-facebook .option-smart-on{background-image:url(images/smart-like@2x.png)}.preview-twitter .option-smart-on{background-image:url(images/smart-twitter@2x.png?1)}.preview-linkedin .option-smart-on{background-image:url(images/linkedin-smart@2x.png)}.preview-tumblr .option-smart-on{background-image:url(images/smart-tumblr@2x.png)}.preview-pinterest .option-smart-on{background-image:url(images/smart-pinterest@2x.png)}.preview-pocket .option-smart-on{background-image:url(images/smart-pocket@2x.png)}.preview-skype .option-smart-on{background-image:url(images/smart-skype@2x.png)}}.services .sharing-hidden li{background-color:transparent}.sharing-hidden li.share-end{clear:both;height:0;padding:0!important;margin:0!important;width:0;visibility:hidden;float:none}.preview .sharing-label{font-weight:700;border:0;padding:4px 6px 0 0}#services-config a.remove{background:#dcdcde;color:#fff;padding:0 4px 2px;border-radius:15px;-moz-border-radius:15px;-webkit-border-radius:15px;text-decoration:none;font-weight:700;font-size:10px}#services-config a.remove:hover{background:red}.sd-social-icon .inner a.sd-button span,.sd-social-icon .inner a.share-icon span{display:inline-block;overflow:hidden;width:0;text-indent:100%} \ No newline at end of file
+#services-config{float:left;min-width:700px;width:100%}#services-config h3{color:#464646;font-size:15px;font-weight:400;margin:0;overflow:hidden;padding:8px 10px;white-space:nowrap}#available-services,#enabled-services,#live-preview{border-spacing:0;padding:20px 0 0;width:100%}#enabled-services .ui-sortable{min-height:50px}#enabled-services{padding-bottom:20px}#available-services,#enabled-services{border-bottom:2px solid #ccc}#live-preview{border-bottom:1px solid #dcdcde;padding-bottom:60px}#available-services h3,#enabled-services h3,#live-preview h3{margin-bottom:1em;margin-top:0;padding:0}body.settings_page_sharing .description{vertical-align:top;width:180px}body.settings_page_sharing .description p{font-size:13px;font-style:italic}body.settings_page_sharing .services{padding:0 20px;vertical-align:top}body.settings_page_sharing .services ul li{cursor:move;float:left}body.settings_page_sharing .services ul li.divider{background:none;border:none;cursor:default;padding:0}body.settings_page_sharing ul.services-hidden{margin-bottom:0}#available-services .service,#enabled-services .service{background:#f8f8f8;background-position:50%;background-repeat:no-repeat;border:1px solid #bbb;border-radius:3px;margin-right:10px;padding:5px 10px 5px 5px}#available-services .service:hover,#enabled-services .service:hover{background:#fff;border:1px solid #bbb;box-shadow:0 1px 3px rgba(0,0,0,.2)}#available-services .service.share-deprecated,#enabled-services .service.share-deprecated{opacity:.5;padding:5px;text-decoration:line-through}#available-services .service.share-deprecated{display:none}li.service span:before{-webkit-font-smoothing:antialiased;color:#555;display:inline-block;font:normal 18px/1 social-logos;height:16px;margin-right:3px;position:relative;text-align:center;top:1px;vertical-align:top;width:16px}li.service.share-print span:before{content:"\f469"}li.service.share-digg span:before{content:"\f221"}li.service.share-email span:before{content:"\f410"}li.service.share-linkedin span:before{content:"\f207"}li.service.share-twitter span:before{content:"\f202"}li.service.share-reddit span:before{content:"\f222"}li.service.share-tumblr span:before{content:"\f214"}li.service.share-pocket span:before{content:"\f224"}li.service.share-pinterest span:before{content:"\f209"}li.service.share-facebook span:before{content:"\f203"}li.service.share-press-this span:before{content:"\f205"}li.service.share-telegram span:before{content:"\f606"}li.service.share-jetpack-whatsapp span:before{content:"\f608"}li.service.share-skype span:before{content:"\f220"}body.settings_page_sharing ul.preview{float:left;margin:0}body.settings_page_sharing ul.preview li.preview-item,body.settings_page_sharing ul.preview li.preview-item a{cursor:default;text-decoration:none}div.sd-social-icon .inner li.preview-item a span,div.sd-social-icon ul.preview li.preview-item a span{display:none}div.sd-social-icon ul.preview li.preview-item.preview-custom a span{display:inline-block}.services .preview li.share-custom a{text-decoration:none}.services ul li.end-fix{clear:both;float:none;height:20px;margin:0;padding:0;visibility:hidden;width:0}#enabled-services h2{color:#999;font-size:20px;font-weight:400!important;padding-top:0}body.settings_page_sharing #live-preview h2{color:#e3e3e3;font-size:20px;font-weight:400!important}body.settings_page_sharing .clearing{clear:both}body.settings_page_sharing .options .options-left{float:left}body.settings_page_sharing .input label{font-size:11px;line-height:16px}body.settings_page_sharing .advanced-form{border-top:1px solid #e3e3e3;display:none;margin-left:-24px;margin-top:4px;padding:10px 14px 8px 10px}body.settings_page_sharing .utility{float:right;font-size:10px;padding-right:10px;padding-top:10px}body.settings_page_sharing .advanced input[type=submit]{float:left;margin-right:10px;margin-top:10px}.services li.dropzone{background:#e3e3e3;border:1px dashed #999;border-radius:3px;height:18px;margin-right:10px;padding:5px}.advanced-form .form-table th{width:auto!important}.advanced-form .button-secondary{margin-top:0!important}#hidden-drop-target{background:#e1e1e1;border:1px solid #cdcdcd;padding:10px;vertical-align:top;width:29%}#hidden-drop-target p{font-size:13px;font-style:italic;margin:0 0 10px}.preview li.preview-item{background-position:0 5px;cursor:default}.preview .option-smart-on{margin:3px 5px 0 0}.preview-digg .option-smart-on{background:url(../../modules/sharedaddy/images/smart-digg.png) no-repeat 0 0;background-size:76px 17px;height:17px;margin-top:2px;width:76px}.preview-reddit .option-smart-on{background:url(../../modules/sharedaddy/images/smart-reddit.png) no-repeat 0 0;background-size:104px 21px;height:21px;width:104px}.preview-facebook .option-smart-on{background:url(../../modules/sharedaddy/images/smart-like.png) no-repeat 0 0;background-size:85px 20px;height:20px;width:85px}.preview-twitter .option-smart-on{background:url(../../modules/sharedaddy/images/smart-twitter.png) no-repeat 0 0;background-size:60px 20px;height:20px;width:60px}.preview-linkedin .option-smart-on{background:url(../../modules/sharedaddy/images/linkedin-smart.png) no-repeat top;background-size:99px 18px;height:20px;width:99px}.preview-tumblr .option-smart-on{background:url(../../modules/sharedaddy/images/smart-tumblr.png) no-repeat 0 0;background-size:62px 20px;height:20px;width:62px}.preview-pinterest .option-smart-on{background:url(../../modules/sharedaddy/images/smart-pinterest.png) no-repeat 0 0;background-size:39px 20px;height:20px;width:39px}.preview-pocket .option-smart-on{background:url(../../modules/sharedaddy/images/smart-pocket.png) no-repeat 0 0;background-size:60px 20px;height:20px;width:60px}.preview-skype .option-smart-on{background:url(../../modules/sharedaddy/images/smart-skype.png) no-repeat 0 0;background-size:60px 20px;height:20px;width:60px}.preview-item.share-deprecated{opacity:.5}.preview-item.share-deprecated a span{text-decoration:line-through}@media (-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.preview-digg .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-digg@2x.png)}.preview-reddit .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-reddit@2x.png)}.preview-facebook .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-like@2x.png)}.preview-twitter .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-twitter@2x.png)}.preview-linkedin .option-smart-on{background-image:url(../../modules/sharedaddy/images/linkedin-smart@2x.png)}.preview-tumblr .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-tumblr@2x.png)}.preview-pinterest .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-pinterest@2x.png)}.preview-pocket .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-pocket@2x.png)}.preview-skype .option-smart-on{background-image:url(../../modules/sharedaddy/images/smart-skype@2x.png)}}.services .sharing-hidden li{background-color:transparent}.sharing-hidden li.share-end{clear:both;float:none;height:0;margin:0!important;padding:0!important;visibility:hidden;width:0}.preview .sharing-label{border:0;font-weight:700;padding:4px 6px 0 0}#services-config a.remove{background:#dcdcde;border-radius:15px;-moz-border-radius:15px;-webkit-border-radius:15px;color:#fff;font-size:10px;font-weight:700;padding:0 4px 2px;text-decoration:none}#services-config a.remove:hover{background:red}.sd-social-icon .inner a.sd-button span,.sd-social-icon .inner a.share-icon span{display:inline-block;overflow:hidden;text-indent:100%;width:0} \ No newline at end of file
diff --git a/plugins/jetpack/modules/sharedaddy/amp-sharing.css b/plugins/jetpack/modules/sharedaddy/amp-sharing.css
index 5d7932e0..ad739cc4 100644
--- a/plugins/jetpack/modules/sharedaddy/amp-sharing.css
+++ b/plugins/jetpack/modules/sharedaddy/amp-sharing.css
@@ -37,6 +37,15 @@ amp-social-share::before,
color: #656565;
}
+amp-social-share[type='email'] {
+ background: #e9e9e9;
+ color: #656565;
+}
+
+amp-social-share[type='email']::before {
+ content: '\f410';
+}
+
amp-social-share[type='tumblr'] {
background: #2c4762;
}
diff --git a/plugins/jetpack/modules/sharedaddy/recaptcha.php b/plugins/jetpack/modules/sharedaddy/recaptcha.php
index b5946404..8d49d91b 100644
--- a/plugins/jetpack/modules/sharedaddy/recaptcha.php
+++ b/plugins/jetpack/modules/sharedaddy/recaptcha.php
@@ -1,7 +1,14 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Google reCAPTCHA utilities, for use in the sharing feature.
+ *
+ * @package automattic/jetpack
+ */
/**
* Class that handles reCAPTCHA.
+ *
+ * @deprecated 11.0
*/
class Jetpack_ReCaptcha {
@@ -167,7 +174,7 @@ class Jetpack_ReCaptcha {
*/
public function get_verify_request_params( $response, $remote_ip ) {
return array(
- 'body' => array(
+ 'body' => array(
'secret' => $this->secret_key,
'response' => $response,
'remoteip' => $remote_ip,
diff --git a/plugins/jetpack/modules/sharedaddy/sharedaddy.php b/plugins/jetpack/modules/sharedaddy/sharedaddy.php
index 1abe651d..daef460a 100644
--- a/plugins/jetpack/modules/sharedaddy/sharedaddy.php
+++ b/plugins/jetpack/modules/sharedaddy/sharedaddy.php
@@ -1,21 +1,34 @@
<?php
-/*
-Plugin Name: Sharedaddy
-Description: The most super duper sharing tool on the interwebs.
-Version: 0.3.1
-Author: Automattic, Inc.
-Author URI: https://automattic.com/
-Plugin URI: https://en.blog.wordpress.com/2010/08/24/more-ways-to-share/
-*/
+/**
+ * Jetpack's Sharing feature, nee Sharedaddy.
+ * The most super duper sharing tool on the interwebs.
+ *
+ * @package automattic/jetpack
+ */
-require_once plugin_dir_path( __FILE__ ).'sharing.php';
+// Set up Sharing in wp-admin.
+require_once plugin_dir_path( __FILE__ ) . 'sharing.php';
+/**
+ * Send an email via the Email sharing button.
+ *
+ * @param array $data Array of information about the shared message.
+ *
+ * @return void
+ *
+ * @deprecated 11.0
+ */
function sharing_email_send_post( $data ) {
$content = sharing_email_send_post_content( $data );
// Borrowed from wp_mail();
- $sitename = strtolower( $_SERVER['SERVER_NAME'] );
- if ( substr( $sitename, 0, 4 ) == 'www.' ) {
+
+ if ( empty( $_SERVER['SERVER_NAME'] ) ) {
+ return;
+ }
+
+ $sitename = strtolower( sanitize_text_field( wp_unslash( $_SERVER['SERVER_NAME'] ) ) );
+ if ( substr( $sitename, 0, 4 ) === 'www.' ) {
$sitename = substr( $sitename, 4 );
}
@@ -23,7 +36,7 @@ function sharing_email_send_post( $data ) {
$from_email = apply_filters( 'wp_mail_from', 'wordpress@' . $sitename );
if ( ! empty( $data['name'] ) ) {
- $s_name = (string) $data['name'];
+ $s_name = (string) $data['name'];
$name_needs_encoding_regex =
'/[' .
// SpamAssasin's list of characters which "need MIME" encoding
@@ -41,10 +54,11 @@ function sharing_email_send_post( $data ) {
mb_convert_encoding( $data['name'], 'ASCII' ) !== $s_name;
if ( $needs_encoding ) {
- $data['name'] = sprintf( '=?UTF-8?B?%s?=', base64_encode( $data['name'] ) );
+ $data['name'] = sprintf( '=?UTF-8?B?%s?=', base64_encode( $data['name'] ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
}
}
+ $headers = array();
$headers[] = sprintf( 'From: %1$s <%2$s>', $data['name'], $from_email );
$headers[] = sprintf( 'Reply-To: %1$s <%2$s>', $data['name'], $data['source'] );
@@ -65,44 +79,78 @@ function sharing_email_send_post( $data ) {
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. */
+/**
+ * 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() )
+ 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'] ) ? $_SERVER['HTTP_USER_AGENT'] : null ),
- );
+ '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' );
+ $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'] ) ? $_SERVER['REMOTE_ADDR'] : null );
- $response = akismet_http_post( build_query( $body_request ), $akismet_api_host, '/1.1/comment-check', $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.
- if ( ! empty( $response ) && isset( $response[1] ) && 'true' == trim( $response[1] ) ) { // 'true' is spam
+ /*
+ * 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 ) {
- /* translators: included in email when post is shared via email. First item is sender's name. Second is sender's email address. */
- $content = sprintf( __( '%1$s (%2$s) thinks you may be interested in the following post:', 'jetpack' ), $data['name'], $data['source'] );
+ $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";
@@ -110,6 +158,11 @@ function sharing_email_send_post_content( $data ) {
return $content;
}
+/**
+ * Add a meta box to the post editing screen for sharing.
+ *
+ * @return void
+ */
function sharing_add_meta_box() {
global $post;
if ( empty( $post ) ) { // If a current post is not defined, such as when editing a comment.
@@ -142,13 +195,19 @@ function sharing_add_meta_box() {
*/
$title = apply_filters( 'sharing_meta_box_title', __( 'Sharing', 'jetpack' ) );
if ( $post->ID !== get_option( 'page_for_posts' ) ) {
- foreach( $post_types as $post_type ) {
+ foreach ( $post_types as $post_type ) {
add_meta_box( 'sharing_meta', $title, 'sharing_meta_box_content', $post_type, 'side', 'default', array( '__back_compat_meta_box' => true ) );
}
}
}
-
+/**
+ * Content of the meta box.
+ *
+ * @param WP_Post $post The post to share.
+ *
+ * @return void
+ */
function sharing_meta_box_content( $post ) {
/**
* Fires before the sharing meta box content.
@@ -165,8 +224,8 @@ function sharing_meta_box_content( $post ) {
<p>
<label for="enable_post_sharing">
- <input type="checkbox" name="enable_post_sharing" id="enable_post_sharing" value="1" <?php checked( !$disabled ); ?>>
- <?php _e( 'Show sharing buttons.' , 'jetpack'); ?>
+ <input type="checkbox" name="enable_post_sharing" id="enable_post_sharing" value="1" <?php checked( ! $disabled ); ?>>
+ <?php esc_html_e( 'Show sharing buttons.', 'jetpack' ); ?>
</label>
<input type="hidden" name="sharing_status_hidden" value="1" />
</p>
@@ -180,47 +239,84 @@ function sharing_meta_box_content( $post ) {
* @since 2.2.0
*
* @param WP_Post $post The post to share.
- */
+ */
do_action( 'end_sharing_meta_box_content', $post );
}
+/**
+ * Save new sharing status in post meta in the meta box.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return int
+ */
function sharing_meta_box_save( $post_id ) {
- if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE )
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
return $post_id;
+ }
- // Record sharing disable
- if ( isset( $_POST['post_type'] ) && ( $post_type_object = get_post_type_object( $_POST['post_type'] ) ) && $post_type_object->public ) {
- if ( current_user_can( 'edit_post', $post_id ) ) {
- if ( isset( $_POST['sharing_status_hidden'] ) ) {
- if ( !isset( $_POST['enable_post_sharing'] ) ) {
- update_post_meta( $post_id, 'sharing_disabled', 1 );
- } else {
- delete_post_meta( $post_id, 'sharing_disabled' );
- }
- }
+ if ( ! isset( $_POST['post_type'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Core takes care of the validation.
+ return $post_id;
+ }
+
+ $post_type_object = get_post_type_object( sanitize_key( $_POST['post_type'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Core takes care of the validation.
+
+ // Record sharing disable.
+ if (
+ $post_type_object->public
+ && current_user_can( 'edit_post', $post_id )
+ && isset( $_POST['sharing_status_hidden'] ) // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Core takes care of the validation.
+ ) {
+ if ( ! isset( $_POST['enable_post_sharing'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Core takes care of the validation.
+ update_post_meta( $post_id, 'sharing_disabled', 1 );
+ } else {
+ delete_post_meta( $post_id, 'sharing_disabled' );
}
}
- return $post_id;
+ return $post_id;
}
+/**
+ * If Sharing is disabled, disable the meta box.
+ *
+ * @param bool $protected Whether the key is considered protected.
+ * @param string $meta_key Metadata key.
+ *
+ * @return bool
+ */
function sharing_meta_box_protected( $protected, $meta_key ) {
- if ( 'sharing_disabled' == $meta_key )
+ if ( 'sharing_disabled' === $meta_key ) {
$protected = true;
+ }
return $protected;
}
-
add_filter( 'is_protected_meta', 'sharing_meta_box_protected', 10, 2 );
+/**
+ * Add link to sharing settings in the Plugins screen.
+ *
+ * @param array $links An array of plugin action links.
+ *
+ * @return array
+ */
function sharing_plugin_settings( $links ) {
- $settings_link = '<a href="options-general.php?page=sharing.php">'.__( 'Settings', 'jetpack' ).'</a>';
+ $settings_link = '<a href="options-general.php?page=sharing.php">' . __( 'Settings', 'jetpack' ) . '</a>';
array_unshift( $links, $settings_link );
return $links;
}
-function sharing_add_plugin_settings($links, $file) {
- if ( $file == basename( dirname( __FILE__ ) ).'/'.basename( __FILE__ ) ) {
+/**
+ * Add links to settings and support in the plugin row.
+ *
+ * @param array $links An array of the plugin's metadata, including the version, author, author URI, and plugin URI.
+ * @param string $file Path to the plugin file relative to the plugins directory.
+ *
+ * @return array
+ */
+function sharing_add_plugin_settings( $links, $file ) {
+ if ( $file === basename( __DIR__ ) . '/' . basename( __FILE__ ) ) {
$links[] = '<a href="options-general.php?page=sharing.php">' . __( 'Settings', 'jetpack' ) . '</a>';
$links[] = '<a href="https://support.wordpress.com/sharing/" rel="noopener noreferrer" target="_blank">' . __( 'Support', 'jetpack' ) . '</a>';
}
@@ -228,17 +324,23 @@ function sharing_add_plugin_settings($links, $file) {
return $links;
}
+/**
+ * Disable sharing on the frontend if disabled in the admin.
+ *
+ * @return void
+ */
function sharing_init() {
if ( Jetpack_Options::get_option_and_ensure_autoload( 'sharedaddy_disable_resources', '0' ) ) {
- add_filter( 'sharing_js', 'sharing_disable_js' );
+ add_filter( 'sharing_js', '__return_false' );
remove_action( 'wp_head', 'sharing_add_header', 1 );
}
}
-function sharing_disable_js() {
- return false;
-}
-
+/**
+ * Add settings to disable CSS and JS normally enqueued by our feature.
+ *
+ * @return void
+ */
function sharing_global_resources() {
$disable = get_option( 'sharedaddy_disable_resources' );
?>
@@ -248,7 +350,7 @@ function sharing_global_resources() {
<?php
printf(
'<input id="disable_css" type="checkbox" name="disable_resources"%1$s /> <small><em>%2$s</em></small>',
- ( 1 == $disable ) ? ' checked="checked"' : '', // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ ( 1 == $disable ) ? ' checked="checked"' : '', // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
esc_html__( 'Advanced. If this option is checked, you must include these files in your theme manually for the sharing links to work.', 'jetpack' )
);
?>
@@ -257,8 +359,13 @@ function sharing_global_resources() {
<?php
}
+/**
+ * Save settings to disable CSS and JS normally enqueued by our feature.
+ *
+ * @return void
+ */
function sharing_global_resources_save() {
- update_option( 'sharedaddy_disable_resources', isset( $_POST['disable_resources'] ) ? 1 : 0 );
+ 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.
}
/**
@@ -267,6 +374,8 @@ function sharing_global_resources_save() {
* 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' ) ) {
@@ -286,6 +395,8 @@ function sharing_recaptcha_site_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' ) ) {
@@ -300,19 +411,44 @@ function sharing_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(); // xss ok
+ $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.
}
-function sharing_email_check( $true, $post, $data ) {
+/**
+ * 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'] ) ? $_POST['g-recaptcha-response'] : '';
- $result = $recaptcha->verify( $response, $_SERVER['REMOTE_ADDR'] );
+ $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 );
}
@@ -321,14 +457,7 @@ add_action( 'init', 'sharing_init' );
add_action( 'add_meta_boxes', 'sharing_add_meta_box' );
add_action( 'save_post', 'sharing_meta_box_save' );
add_action( 'edit_attachment', 'sharing_meta_box_save' );
-add_action( 'sharing_email_send_post', 'sharing_email_send_post' );
-add_filter( 'sharing_email_can_send', 'sharing_email_check_for_spam_via_akismet' );
add_action( 'sharing_global_options', 'sharing_global_resources', 30 );
add_action( 'sharing_admin_update', 'sharing_global_resources_save' );
-add_action( 'plugin_action_links_'.basename( dirname( __FILE__ ) ).'/'.basename( __FILE__ ), 'sharing_plugin_settings', 10, 4 );
+add_action( 'plugin_action_links_' . basename( __DIR__ ) . '/' . basename( __FILE__ ), 'sharing_plugin_settings', 10, 4 );
add_filter( 'plugin_row_meta', 'sharing_add_plugin_settings', 10, 2 );
-
-if ( sharing_recaptcha_site_key() && sharing_recaptcha_secret_key() ) {
- add_action( 'sharing_email_dialog', 'sharing_email_dialog' );
- add_filter( 'sharing_email_check', 'sharing_email_check', 10, 3 );
-}
diff --git a/plugins/jetpack/modules/sharedaddy/sharing-service.php b/plugins/jetpack/modules/sharedaddy/sharing-service.php
index f6d80dc3..a760ec5d 100644
--- a/plugins/jetpack/modules/sharedaddy/sharing-service.php
+++ b/plugins/jetpack/modules/sharedaddy/sharing-service.php
@@ -1,33 +1,64 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Utilities to register and interact with a sharing service.
+ *
+ * Sharing_Service gets info about a service.
+ * Sharing_Service_Total and Sharing_Post_Total get stats data.
+ *
+ * @package automattic/jetpack
+ *
+ * phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+ */
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Redirect;
use Automattic\Jetpack\Status;
use Automattic\Jetpack\Sync\Settings;
-include_once dirname( __FILE__ ) . '/sharing-sources.php';
+require_once __DIR__ . '/sharing-sources.php';
define( 'WP_SHARING_PLUGIN_VERSION', JETPACK__VERSION );
+/**
+ * Interact with a sharing service.
+ */
class Sharing_Service {
- private $global = false;
+ /**
+ * Should the service be available globally?
+ *
+ * @var bool
+ */
+ private $global = false;
+
+ /**
+ * Default sharing label.
+ *
+ * @var string
+ */
public $default_sharing_label = '';
/**
* Initialize the sharing service.
* Only run this method once upon module loading.
+ *
+ * @return void
*/
public static function init() {
add_filter( 'the_content', 'sharing_display', 19 );
add_filter( 'the_excerpt', 'sharing_display', 19 );
}
+ /**
+ * Constructor.
+ */
public function __construct() {
$this->default_sharing_label = __( 'Share this:', 'jetpack' );
}
/**
* Gets a generic list of all services, without any config
+ *
+ * @return array
*/
public function get_all_services_blog() {
$options = get_option( 'sharing-options' );
@@ -39,7 +70,7 @@ class Sharing_Service {
$config = array();
// Pre-load custom modules otherwise they won't know who they are
- if ( substr( $id, 0, 7 ) == 'custom-' && is_array( $options[ $id ] ) ) {
+ if ( substr( $id, 0, 7 ) === 'custom-' && is_array( $options[ $id ] ) ) {
$config = $options[ $id ];
}
@@ -52,6 +83,10 @@ class Sharing_Service {
/**
* Gets a list of all available service names and classes
+ *
+ * @param bool $include_custom Include custom sharing services.
+ *
+ * @return array
*/
public function get_all_services( $include_custom = true ) {
// Default services
@@ -59,6 +94,7 @@ class Sharing_Service {
// in bin/tests/api/suites/SharingTest.php
$services = array(
'print' => 'Share_Print',
+ 'email' => 'Share_Email',
'facebook' => 'Share_Facebook',
'linkedin' => 'Share_LinkedIn',
'reddit' => 'Share_Reddit',
@@ -71,20 +107,6 @@ class Sharing_Service {
'skype' => 'Share_Skype',
);
- /**
- * Filters if Email Sharing is enabled.
- *
- * E-Mail sharing is often problematic due to spam concerns, so this filter enables it to be quickly and simply toggled.
- * @module sharedaddy
- *
- * @since 5.1.0
- *
- * @param bool $email Is e-mail sharing enabled? Default false if Akismet is not active or true if Akismet is active.
- */
- if ( apply_filters( 'sharing_services_email', Jetpack::is_akismet_active() ) ) {
- $services['email'] = 'Share_Email';
- }
-
if ( is_multisite() && is_plugin_active( 'press-this/press-this-plugin.php' ) ) {
$services['press-this'] = 'Share_PressThis';
}
@@ -109,8 +131,17 @@ class Sharing_Service {
return apply_filters( 'sharing_services', $services );
}
+ /**
+ * Save a new custom sharing service.
+ *
+ * @param string $label Service name.
+ * @param string $url Service sharing URL.
+ * @param string $icon Service icon.
+ *
+ * @return bool|Share_Custom
+ */
public function new_service( $label, $url, $icon ) {
- // Validate
+ // Validate.
$label = trim( wp_html_excerpt( wp_kses( $label, array() ), 30 ) );
$url = trim( esc_url_raw( $url ) );
$icon = trim( esc_url_raw( $icon ) );
@@ -133,7 +164,8 @@ class Sharing_Service {
// Create a custom service and set the options for it
$service = new Share_Custom(
- $service_id, array(
+ $service_id,
+ array(
'name' => $label,
'url' => $url,
'icon' => $icon,
@@ -148,13 +180,20 @@ class Sharing_Service {
return false;
}
+ /**
+ * Delete a sharing service.
+ *
+ * @param string $service_id Service ID.
+ *
+ * @return bool
+ */
public function delete_service( $service_id ) {
$options = get_option( 'sharing-options' );
if ( isset( $options[ $service_id ] ) ) {
unset( $options[ $service_id ] );
}
- $key = array_search( $service_id, $options['global']['custom'] );
+ $key = array_search( $service_id, $options['global']['custom'], true );
if ( $key !== false ) {
unset( $options['global']['custom'][ $key ] );
}
@@ -163,6 +202,14 @@ class Sharing_Service {
return true;
}
+ /**
+ * Save enabled sharing services.
+ *
+ * @param array $visible Visible sharing services.
+ * @param array $hidden Hidden sharing services (available under a dropdown).
+ *
+ * @return bool
+ */
public function set_blog_services( array $visible, array $hidden ) {
$services = $this->get_all_services();
// Validate the services
@@ -193,7 +240,8 @@ class Sharing_Service {
* }
*/
do_action(
- 'sharing_get_services_state', array(
+ 'sharing_get_services_state',
+ array(
'services' => $services,
'available' => $available,
'hidden' => $hidden,
@@ -203,13 +251,19 @@ class Sharing_Service {
);
return update_option(
- 'sharing-services', array(
+ 'sharing-services',
+ array(
'visible' => $visible,
'hidden' => $hidden,
)
);
}
+ /**
+ * Get information about enabled sharing services on the site.
+ *
+ * @return array
+ */
public function get_blog_services() {
$options = get_option( 'sharing-options' );
$enabled = get_option( 'sharing-services' );
@@ -218,6 +272,7 @@ class Sharing_Service {
/**
* Check if options exist and are well formatted.
* This avoids issues on sites with corrupted options.
+ *
* @see https://github.com/Automattic/jetpack/issues/6121
*/
if ( ! is_array( $options ) || ! isset( $options['button_style'], $options['global'] ) ) {
@@ -302,6 +357,13 @@ class Sharing_Service {
return $blog;
}
+ /**
+ * Get information about a specific enabled sharing service.
+ *
+ * @param string $service_name Service name.
+ *
+ * @return bool|Sharing_Source
+ */
public function get_service( $service_name ) {
$services = $this->get_blog_services();
@@ -316,6 +378,11 @@ class Sharing_Service {
return false;
}
+ /**
+ * Update global sharing options.
+ *
+ * @param array $data Array of new sharing options to save.
+ */
public function set_global_options( $data ) {
$options = get_option( 'sharing-options' );
@@ -345,7 +412,10 @@ class Sharing_Service {
$options['global'] = apply_filters( 'sharing_default_global', $options['global'] );
// Validate options and set from our data
- if ( isset( $data['button_style'] ) && in_array( $data['button_style'], array( 'icon-text', 'icon', 'text', 'official' ) ) ) {
+ if (
+ isset( $data['button_style'] )
+ && in_array( $data['button_style'], array( 'icon-text', 'icon', 'text', 'official' ), true )
+ ) {
$options['global']['button_style'] = $data['button_style'];
}
@@ -357,7 +427,10 @@ class Sharing_Service {
}
}
- if ( isset( $data['open_links'] ) && in_array( $data['open_links'], array( 'new', 'same' ) ) ) {
+ if (
+ isset( $data['open_links'] )
+ && in_array( $data['open_links'], array( 'new', 'same' ), true )
+ ) {
$options['global']['open_links'] = $data['open_links'];
}
@@ -378,7 +451,8 @@ class Sharing_Service {
}
}
- if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
+ $data['show'] = array_intersect( $data['show'], $shows );
+ if ( $data['show'] ) {
$options['global']['show'] = $data['show'];
}
}
@@ -387,6 +461,11 @@ class Sharing_Service {
return $options['global'];
}
+ /**
+ * Get global sharing options for the site.
+ *
+ * @return array
+ */
public function get_global_options() {
if ( $this->global === false ) {
$options = get_option( 'sharing-options' );
@@ -421,6 +500,14 @@ class Sharing_Service {
return $this->global;
}
+ /**
+ * Save a sharing service for use.
+ *
+ * @param int $id Sharing unique ID.
+ * @param Sharing_Source $service Sharing service.
+ *
+ * @return void
+ */
public function set_service( $id, Sharing_Source $service ) {
// Update the options for this service
$options = get_option( 'sharing-options' );
@@ -446,7 +533,8 @@ class Sharing_Service {
* }
*/
do_action(
- 'sharing_get_button_state', array(
+ 'sharing_get_button_state',
+ array(
'id' => $id,
'options' => $options,
'service' => $service,
@@ -458,13 +546,22 @@ class Sharing_Service {
update_option( 'sharing-options', array_filter( $options ) );
}
- // Soon to come to a .org plugin near you!
+ /**
+ * Get stats for a site, a post, or a sharing service.
+ * Soon to come to a .org plugin near you!
+ *
+ * @param string|bool $service_name Service name.
+ * @param int|bool $post_id Post ID.
+ * @param int|bool $_blog_id Blog ID.
+ *
+ * @return int
+ */
public function get_total( $service_name = false, $post_id = false, $_blog_id = false ) {
global $wpdb, $blog_id;
if ( ! $_blog_id ) {
$_blog_id = $blog_id;
}
- if ( $service_name == false ) {
+ if ( $service_name === false ) {
if ( $post_id > 0 ) {
// total number of shares for this post
return (int) $wpdb->get_var( $wpdb->prepare( 'SELECT SUM( count ) FROM sharing_stats WHERE blog_id = %d AND post_id = %d', $_blog_id, $post_id ) );
@@ -481,6 +578,13 @@ class Sharing_Service {
}
}
+ /**
+ * Get total stats for a site, for all sharing services.
+ *
+ * @param int|bool $post_id Post ID.
+ *
+ * @return array
+ */
public function get_services_total( $post_id = false ) {
$totals = array();
$services = $this->get_blog_services();
@@ -495,6 +599,11 @@ class Sharing_Service {
return $totals;
}
+ /**
+ * Get sharing stats for all posts on the site.
+ *
+ * @return array
+ */
public function get_posts_total() {
$totals = array();
global $wpdb, $blog_id;
@@ -513,12 +622,44 @@ class Sharing_Service {
}
}
+/**
+ * Get stats for a specific sharing service.
+ */
class Sharing_Service_Total {
- public $id = '';
- public $name = '';
+ /**
+ * Sharing service ID.
+ *
+ * @var int
+ */
+ public $id = '';
+
+ /**
+ * Service name.
+ *
+ * @var string
+ */
+ public $name = '';
+
+ /**
+ * Sharing service name.
+ *
+ * @var string
+ */
public $service = '';
- public $total = 0;
+ /**
+ * Total number of shares for this service.
+ *
+ * @var string
+ */
+ public $total = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param int $id Service ID.
+ * @param int $total Total shares.
+ */
public function __construct( $id, $total ) {
$services = new Sharing_Service();
$this->id = esc_html( $id );
@@ -528,20 +669,60 @@ class Sharing_Service_Total {
$this->name = $this->service->get_name();
}
- static function cmp( $a, $b ) {
- if ( $a->total == $b->total ) {
+ /**
+ * Compare total shares between 2 posts.
+ *
+ * @param object $a Sharing_Service_Total object.
+ * @param object $b Sharing_Service_Total object.
+ *
+ * @return bool
+ */
+ public static function cmp( $a, $b ) {
+ if ( $a->total === $b->total ) {
return $a->name < $b->name;
}
return $a->total < $b->total;
}
}
+/**
+ * Get sharing stats for a specific post.
+ */
class Sharing_Post_Total {
- public $id = 0;
+ /**
+ * Sharing service ID.
+ *
+ * @var int
+ */
+ public $id = 0;
+
+ /**
+ * Total shares.
+ *
+ * @var int
+ */
public $total = 0;
+
+ /**
+ * Post title.
+ *
+ * @var string
+ */
public $title = '';
- public $url = '';
+ /**
+ * Post permalink.
+ *
+ * @var string
+ */
+ public $url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param int $id Service ID.
+ * @param int $total Total shares.
+ */
public function __construct( $id, $total ) {
$this->id = (int) $id;
$this->total = (int) $total;
@@ -549,14 +730,29 @@ class Sharing_Post_Total {
$this->url = get_permalink( $this->id );
}
- static function cmp( $a, $b ) {
- if ( $a->total == $b->total ) {
+ /**
+ * Compare total shares between 2 posts.
+ *
+ * @param object $a Sharing_Post_Total object.
+ * @param object $b Sharing_Post_Total object.
+ *
+ * @return bool
+ */
+ public static function cmp( $a, $b ) {
+ if ( $a->total === $b->total ) {
return $a->id < $b->id;
}
return $a->total < $b->total;
}
}
+/**
+ * Populate sharing counts global with a post we want to count shares for.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return void
+ */
function sharing_register_post_for_share_counts( $post_id ) {
global $jetpack_sharing_counts;
@@ -567,14 +763,28 @@ function sharing_register_post_for_share_counts( $post_id ) {
$jetpack_sharing_counts[ (int) $post_id ] = get_permalink( $post_id );
}
+/**
+ * Determine whether we should load sharing scripts or not.
+ *
+ * @return bool
+ */
function sharing_maybe_enqueue_scripts() {
$sharer = new Sharing_Service();
$global_options = $sharer->get_global_options();
$enqueue = false;
- if ( is_singular() && in_array( get_post_type(), $global_options['show'] ) ) {
+ if ( is_singular() && in_array( get_post_type(), $global_options['show'], true ) ) {
$enqueue = true;
- } elseif ( in_array( 'index', $global_options['show'] ) && ( is_home() || is_front_page() || is_archive() || is_search() || in_array( get_post_type(), $global_options['show'] ) ) ) {
+ } elseif (
+ in_array( 'index', $global_options['show'], true )
+ && (
+ is_home()
+ || is_front_page()
+ || is_archive()
+ || is_search()
+ || in_array( get_post_type(), $global_options['show'], true )
+ )
+ ) {
$enqueue = true;
}
@@ -590,6 +800,11 @@ function sharing_maybe_enqueue_scripts() {
return (bool) apply_filters( 'sharing_enqueue_scripts', $enqueue );
}
+/**
+ * Add sharing JavaScript to the footer of a page.
+ *
+ * @return void
+ */
function sharing_add_footer() {
if (
class_exists( 'Jetpack_AMP_Support' )
@@ -600,33 +815,39 @@ function sharing_add_footer() {
global $jetpack_sharing_counts;
- /**
- * Filter all JavaScript output by the sharing module.
- *
- * @module sharedaddy
- *
- * @since 1.1.0
- *
- * @param bool true Control whether the sharing module should add any JavaScript to the site. Default to true.
- */
- if ( apply_filters( 'sharing_js', true ) && sharing_maybe_enqueue_scripts() ) {
-
+ if (
/**
- * Filter the display of sharing counts next to the sharing buttons.
+ * Filter all JavaScript output by the sharing module.
*
* @module sharedaddy
*
- * @since 3.2.0
+ * @since 1.1.0
*
- * @param bool true Control the display of counters next to the sharing buttons. Default to true.
+ * @param bool true Control whether the sharing module should add any JavaScript to the site. Default to true.
*/
- if ( apply_filters( 'jetpack_sharing_counts', true ) && is_array( $jetpack_sharing_counts ) && count( $jetpack_sharing_counts ) ) :
+ apply_filters( 'sharing_js', true )
+ && sharing_maybe_enqueue_scripts()
+ ) {
+ if (
+ /**
+ * Filter the display of sharing counts next to the sharing buttons.
+ *
+ * @module sharedaddy
+ *
+ * @since 3.2.0
+ *
+ * @param bool true Control the display of counters next to the sharing buttons. Default to true.
+ */
+ apply_filters( 'jetpack_sharing_counts', true )
+ && is_array( $jetpack_sharing_counts )
+ && count( $jetpack_sharing_counts )
+ ) :
$sharing_post_urls = array_filter( $jetpack_sharing_counts );
if ( $sharing_post_urls ) :
?>
<script type="text/javascript">
- window.WPCOM_sharing_counts = <?php echo json_encode( array_flip( $sharing_post_urls ) ); ?>;
+ window.WPCOM_sharing_counts = <?php echo wp_json_encode( array_flip( $sharing_post_urls ) ); ?>;
</script>
<?php
endif;
@@ -648,6 +869,11 @@ function sharing_add_footer() {
}
}
+/**
+ * Enqueue sharing CSS in head.
+ *
+ * @return void
+ */
function sharing_add_header() {
$sharer = new Sharing_Service();
$enabled = $sharer->get_blog_services();
@@ -664,6 +890,11 @@ function sharing_add_header() {
}
add_action( 'wp_head', 'sharing_add_header', 1 );
+/**
+ * Launch sharing requests on page load when a specific query string is used.
+ *
+ * @return void
+ */
function sharing_process_requests() {
global $post;
@@ -671,9 +902,9 @@ function sharing_process_requests() {
if ( ( is_page() || is_single() ) && isset( $_GET['share'] ) && is_string( $_GET['share'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$sharer = new Sharing_Service();
- $service = $sharer->get_service( $_GET['share'] );
+ $service = $sharer->get_service( sanitize_text_field( wp_unslash( $_GET['share'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( $service ) {
- $service->process_request( $post, $_POST );
+ $service->process_request( $post, $_POST ); // phpcs:ignore WordPress.Security.NonceVerification.Missing
}
}
}
@@ -805,8 +1036,8 @@ function sharing_display( $text = '', $echo = false ) {
if (
defined( 'DOING_AJAX' )
&& DOING_AJAX
- && isset( $_REQUEST['action'] )
- && $ajax_action === $_REQUEST['action']
+ && isset( $_REQUEST['action'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce handling happens within each custom implementation.
+ && $ajax_action === $_REQUEST['action'] // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce handling happens within each custom implementation.
) {
$show = true;
}
@@ -852,7 +1083,7 @@ function sharing_display( $text = '', $echo = false ) {
// Visible items.
$visible = '';
- foreach ( $enabled['visible'] as $id => $service ) {
+ foreach ( $enabled['visible'] as $service ) {
$klasses = array( 'share-' . $service->get_class() );
if ( $service->is_deprecated() ) {
if ( ! current_user_can( 'manage_options' ) ) {
@@ -907,7 +1138,7 @@ function sharing_display( $text = '', $echo = false ) {
}
$count = 1;
- foreach ( $enabled['hidden'] as $id => $service ) {
+ foreach ( $enabled['hidden'] as $service ) {
// Individual HTML for sharing service.
$klasses = array( 'share-' . $service->get_class() );
if ( $service->is_deprecated() ) {
@@ -971,14 +1202,18 @@ function sharing_display( $text = '', $echo = false ) {
$sharing_markup = apply_filters( 'jetpack_sharing_display_markup', $sharing_content, $enabled );
if ( $echo ) {
- echo $text . $sharing_markup;
+ echo $text . $sharing_markup; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
} else {
return $text . $sharing_markup;
}
}
+/**
+ * Get reCAPTCHA language code based off the language code of the site.
+ *
+ * @return string
+ */
function get_base_recaptcha_lang_code() {
-
$base_recaptcha_lang_code_mapping = array(
'en' => 'en',
'nl' => 'nl',
diff --git a/plugins/jetpack/modules/sharedaddy/sharing-sources.php b/plugins/jetpack/modules/sharedaddy/sharing-sources.php
index d4632e79..cb3b2204 100644
--- a/plugins/jetpack/modules/sharedaddy/sharing-sources.php
+++ b/plugins/jetpack/modules/sharedaddy/sharing-sources.php
@@ -1,13 +1,51 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Define all sharing sources.
+ *
+ * phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+ */
use Automattic\Jetpack\Device_Detection\User_Agent_Info;
+/**
+ * Base class for sharing sources.
+ * See individual sharing classes below for the implementation of this class.
+ */
abstract class Sharing_Source {
- public $button_style;
- public $smart;
+ /**
+ * Button style (icon, icon-text, text, or official).
+ *
+ * @var string
+ */
+ public $button_style;
+
+ /**
+ * Does the service have an official version.
+ *
+ * @var bool
+ */
+ public $smart;
+
+ /**
+ * Should the sharing link open in a new tab.
+ *
+ * @var bool
+ */
protected $open_link_in_new;
+
+ /**
+ * Sharing unique ID.
+ *
+ * @var int
+ */
protected $id;
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
$this->id = $id;
/**
@@ -32,22 +70,49 @@ abstract class Sharing_Source {
}
}
+ /**
+ * Is a service deprecated.
+ *
+ * @return bool
+ */
public function is_deprecated() {
return false;
}
+ /**
+ * Get the protocol to use for a sharing service, based on the site settings.
+ *
+ * @return string
+ */
public function http() {
return is_ssl() ? 'https' : 'http';
}
+ /**
+ * Get unique sharing ID.
+ *
+ * @return int
+ */
public function get_id() {
return $this->id;
}
+ /**
+ * Get unique sharing ID. Similar to get_id().
+ *
+ * @return int
+ */
public function get_class() {
return $this->id;
}
+ /**
+ * Get a post's permalink to use for sharing.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return string
+ */
public function get_share_url( $post_id ) {
/**
* Filter the sharing permalink.
@@ -63,6 +128,13 @@ abstract class Sharing_Source {
return apply_filters( 'sharing_permalink', get_permalink( $post_id ), $post_id, $this->id );
}
+ /**
+ * Get a post's title to use for sharing.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return string
+ */
public function get_share_title( $post_id ) {
$post = get_post( $post_id );
/**
@@ -81,23 +153,41 @@ abstract class Sharing_Source {
return html_entity_decode( wp_kses( $title, null ) );
}
+ /**
+ * Does this sharing source have a custom style.
+ *
+ * @return bool
+ */
public function has_custom_button_style() {
return false;
}
- public function get_link( $url, $text, $title, $query = '', $id = false ) {
- $args = func_get_args();
+ /**
+ * Get the HTML markup to display a sharing link.
+ *
+ * @param string $url Post URL to share.
+ * @param string $text Sharing display text.
+ * @param string $title The title for the link.
+ * @param string $query Additional query arguments to add to the link. They should be in 'foo=bar&baz=1' format.
+ * @param bool|string $id Sharing ID to include in the data-shared attribute.
+ * @param array $data_attributes The keys are used as additional attribute names with 'data-' prefix.
+ * The values are used as the attribute values.
+ *
+ * @return string The HTML for the link.
+ */
+ public function get_link( $url, $text, $title, $query = '', $id = false, $data_attributes = array() ) {
+ $args = func_get_args();
$klasses = array( 'share-' . $this->get_class(), 'sd-button' );
- if ( 'icon' == $this->button_style || 'icon-text' == $this->button_style ) {
+ if ( 'icon' === $this->button_style || 'icon-text' === $this->button_style ) {
$klasses[] = 'share-icon';
}
- if ( 'icon' == $this->button_style ) {
- $text = $title;
+ if ( 'icon' === $this->button_style ) {
+ $text = $title;
$klasses[] = 'no-text';
- if ( true == $this->open_link_in_new ) {
+ if ( true === $this->open_link_in_new ) {
$text .= __( ' (Opens in new window)', 'jetpack' );
}
}
@@ -109,7 +199,7 @@ abstract class Sharing_Source {
*
* @since 3.4.0
*
- * @param int|false $id Sharing ID.
+ * @param string|false $id Sharing ID.
* @param object $this Sharing service properties.
* @param array $args Array of sharing service options.
*/
@@ -123,7 +213,7 @@ abstract class Sharing_Source {
*
* @param string $url Post URL.
* @param object $this Sharing service properties.
- * @param int|false $id Sharing ID.
+ * @param string|false $id Sharing ID.
* @param array $args Array of sharing service options.
*/
$url = apply_filters( 'sharing_display_link', $url, $this, $id, $args ); // backwards compatibility
@@ -136,7 +226,7 @@ abstract class Sharing_Source {
*
* @param string $url Post URL.
* @param object $this Sharing service properties.
- * @param int|false $id Sharing ID.
+ * @param string|false $id Sharing ID.
* @param array $args Array of sharing service options.
*/
$url = apply_filters( 'jetpack_sharing_display_link', $url, $this, $id, $args );
@@ -149,7 +239,7 @@ abstract class Sharing_Source {
*
* @param string $query Sharing service URL parameter.
* @param object $this Sharing service properties.
- * @param int|false $id Sharing ID.
+ * @param string|false $id Sharing ID.
* @param array $args Array of sharing service options.
*/
$query = apply_filters( 'jetpack_sharing_display_query', $query, $this, $id, $args );
@@ -162,7 +252,7 @@ abstract class Sharing_Source {
}
}
- if ( 'text' == $this->button_style ) {
+ if ( 'text' === $this->button_style ) {
$klasses[] = 'no-icon';
}
@@ -175,7 +265,7 @@ abstract class Sharing_Source {
*
* @param array $klasses Sharing service classes.
* @param object $this Sharing service properties.
- * @param int|false $id Sharing ID.
+ * @param string|false $id Sharing ID.
* @param array $args Array of sharing service options.
*/
$klasses = apply_filters( 'jetpack_sharing_display_classes', $klasses, $this, $id, $args );
@@ -188,7 +278,7 @@ abstract class Sharing_Source {
*
* @param string $title Sharing service title.
* @param object $this Sharing service properties.
- * @param int|false $id Sharing ID.
+ * @param string|false $id Sharing ID.
* @param array $args Array of sharing service options.
*/
$title = apply_filters( 'jetpack_sharing_display_title', $title, $this, $id, $args );
@@ -201,20 +291,54 @@ abstract class Sharing_Source {
*
* @param string $text Sharing service text.
* @param object $this Sharing service properties.
- * @param int|false $id Sharing ID.
+ * @param string|false $id Sharing ID.
* @param array $args Array of sharing service options.
*/
$text = apply_filters( 'jetpack_sharing_display_text', $text, $this, $id, $args );
+ /**
+ * Filter the sharing data attributes.
+ *
+ * @module sharedaddy
+ *
+ * @since 11.0
+ *
+ * @param array $data_attributes Attributes supplied from the sharing source.
+ * Note that 'data-' will be prepended to all keys.
+ * @param Sharing_Source $this Sharing source instance.
+ * @param string|false $id Sharing ID.
+ * @param array $args Array of sharing service options.
+ */
+ $data_attributes = apply_filters( 'jetpack_sharing_data_attributes', (array) $data_attributes, $this, $id, $args );
+
+ $encoded_data_attributes = '';
+ if ( ! empty( $data_attributes ) ) {
+ $encoded_data_attributes = implode(
+ ' ',
+ array_map(
+ function ( $data_key, $data_value ) {
+ return sprintf(
+ 'data-%s="%s"',
+ esc_attr( str_replace( array( ' ', '"' ), '', $data_key ) ),
+ esc_attr( $data_value )
+ );
+ },
+ array_keys( $data_attributes ),
+ array_values( $data_attributes )
+ )
+ );
+ }
+
return sprintf(
- '<a rel="nofollow%s" data-shared="%s" class="%s" href="%s"%s title="%s"><span%s>%s</span></a>',
- ( true == $this->open_link_in_new ) ? ' noopener noreferrer' : '',
+ '<a rel="nofollow%s" data-shared="%s" class="%s" href="%s"%s title="%s" %s><span%s>%s</span></a>',
+ ( true === $this->open_link_in_new ) ? ' noopener noreferrer' : '',
( $id ? esc_attr( $id ) : '' ),
implode( ' ', $klasses ),
$url,
- ( true == $this->open_link_in_new ) ? ' target="_blank"' : '',
+ ( true === $this->open_link_in_new ) ? ' target="_blank"' : '',
$title,
- ( 'icon' == $this->button_style ) ? '></span><span class="sharing-screen-reader-text"' : '',
+ $encoded_data_attributes,
+ ( 'icon' === $this->button_style ) ? '></span><span class="sharing-screen-reader-text"' : '',
$text
);
}
@@ -226,22 +350,44 @@ abstract class Sharing_Source {
*
* @since 3.7.0
* @param int $post_id Post ID.
+ *
* @uses get_permalink
+ *
* @return string get_permalink( $post_id ) Post permalink.
*/
public function get_process_request_url( $post_id ) {
return get_permalink( $post_id );
}
+ /**
+ * Get sharing name.
+ */
abstract public function get_name();
+
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ */
abstract public function get_display( $post );
+ /**
+ * Add content specific to a service in the head.
+ */
public function display_header() {
}
+ /**
+ * Add content specific to a service in the footer.
+ */
public function display_footer() {
}
+ /**
+ * Does the service have advanced options.
+ *
+ * @return bool
+ */
public function has_advanced_options() {
return false;
}
@@ -250,6 +396,8 @@ abstract class Sharing_Source {
* Get the AMP specific markup for a sharing button.
*
* @param \WP_Post $post The current post being viewed.
+ *
+ * @return bool|string
*/
public function get_amp_display( $post ) {
// Only display markup if we're on a post.
@@ -264,6 +412,8 @@ abstract class Sharing_Source {
* Generates and returns the markup for an AMP sharing button.
*
* @param array $attrs Custom attributes for rendering the social icon.
+ *
+ * @return string
*/
protected function build_amp_markup( $attrs = array() ) {
@@ -291,26 +441,35 @@ abstract class Sharing_Source {
return $sharing_link;
}
+ /**
+ * Display a preview of the sharing button.
+ *
+ * @param bool $echo Whether to echo the output or return it.
+ * @param bool $force_smart Whether to force the smart (official) services to be shown.
+ * @param null|string $button_style Button style.
+ *
+ * @return string|void
+ */
public function display_preview( $echo = true, $force_smart = false, $button_style = null ) {
- $text = '&nbsp;';
+ $text = '&nbsp;';
$button_style = ( ! empty( $button_style ) ) ? $button_style : $this->button_style;
if ( ! $this->smart && ! $force_smart ) {
- if ( $button_style != 'icon' ) {
+ if ( $button_style !== 'icon' ) {
$text = $this->get_name();
}
}
$klasses = array( 'share-' . $this->get_class(), 'sd-button' );
- if ( $button_style == 'icon' || $button_style == 'icon-text' ) {
+ if ( $button_style === 'icon' || $button_style === 'icon-text' ) {
$klasses[] = 'share-icon';
}
- if ( $button_style == 'icon' ) {
+ if ( $button_style === 'icon' ) {
$klasses[] = 'no-text';
}
- if ( $button_style == 'text' ) {
+ if ( $button_style === 'text' ) {
$klasses[] = 'no-icon';
}
@@ -333,21 +492,28 @@ abstract class Sharing_Source {
)
);
- $smart = ( $this->smart || $force_smart ) ? 'on' : 'off';
+ $smart = ( $this->smart || $force_smart ) ? 'on' : 'off';
$return = "<div class='option option-smart-$smart'>$link</div>";
if ( $echo ) {
- echo $return;
+ echo $return; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- we escape things above.
}
return $return;
}
+ /**
+ * Get sharing stats for a specific post or sharing service.
+ *
+ * @param bool|WP_Post $post Post object.
+ *
+ * @return int
+ */
public function get_total( $post = false ) {
global $wpdb, $blog_id;
$name = strtolower( $this->get_id() );
- if ( $post == false ) {
+ if ( $post === false ) {
// get total number of shares for service
return (int) $wpdb->get_var( $wpdb->prepare( 'SELECT SUM( count ) FROM sharing_stats WHERE blog_id = %d AND share_service = %s', $blog_id, $name ) );
}
@@ -356,11 +522,16 @@ abstract class Sharing_Source {
return (int) $wpdb->get_var( $wpdb->prepare( 'SELECT count FROM sharing_stats WHERE blog_id = %d AND post_id = %d AND share_service = %s', $blog_id, $post->ID, $name ) );
}
+ /**
+ * Get sharing stats for all posts on the site.
+ *
+ * @return array
+ */
public function get_posts_total() {
global $wpdb, $blog_id;
$totals = array();
- $name = strtolower( $this->get_id() );
+ $name = strtolower( $this->get_id() );
$my_data = $wpdb->get_results( $wpdb->prepare( 'SELECT post_id as id, SUM( count ) as total FROM sharing_stats WHERE blog_id = %d AND share_service = %s GROUP BY post_id ORDER BY count DESC ', $blog_id, $name ) );
@@ -375,7 +546,15 @@ abstract class Sharing_Source {
return $totals;
}
- public function process_request( $post, array $post_data ) {
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
+ public function process_request( $post, array $post_data ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
/**
* Fires when a post is shared via one of the sharing buttons.
*
@@ -385,7 +564,13 @@ abstract class Sharing_Source {
*
* @param array $args Aray of information about the sharing service.
*/
- do_action( 'sharing_bump_stats', array( 'service' => $this, 'post' => $post ) );
+ do_action(
+ 'sharing_bump_stats',
+ array(
+ 'service' => $this,
+ 'post' => $post,
+ )
+ );
}
/**
@@ -401,26 +586,35 @@ abstract class Sharing_Source {
die();
}
+ /**
+ * Add extra JavaScript to a sharing service.
+ *
+ * @param string $name Sharing service name.
+ * @param array $params Array of sharing options.
+ *
+ * @return void
+ */
public function js_dialog( $name, $params = array() ) {
if ( true !== $this->open_link_in_new ) {
return;
}
$defaults = array(
- 'menubar' => 1,
+ 'menubar' => 1,
'resizable' => 1,
- 'width' => 600,
- 'height' => 400,
+ 'width' => 600,
+ 'height' => 400,
);
- $params = array_merge( $defaults, $params );
- $opts = array();
+ $params = array_merge( $defaults, $params );
+ $opts = array();
foreach ( $params as $key => $val ) {
$opts[] = "$key=$val";
}
$opts = implode( ',', $opts );
// Add JS after sharing-js has been enqueued.
- wp_add_inline_script( 'sharing-js',
+ wp_add_inline_script(
+ 'sharing-js',
"var windowOpen;
( function () {
function matches( el, sel ) {
@@ -458,13 +652,51 @@ abstract class Sharing_Source {
}
}
+/**
+ * Handle the display of deprecated sharing services.
+ */
abstract class Deprecated_Sharing_Source extends Sharing_Source {
- public $button_style = 'text';
- public $smart = false;
+ /**
+ * Button style (icon-text, icon, or text)
+ *
+ * @var string
+ */
+ public $button_style = 'text';
+
+ /**
+ * Does the service have an official version.
+ *
+ * @var bool
+ */
+ public $smart = false;
+
+ /**
+ * Should the sharing link open in a new tab.
+ *
+ * @var bool
+ */
protected $open_link_in_new = false;
+
+ /**
+ * Sharing unique ID.
+ *
+ * @var int
+ */
protected $id;
+
+ /**
+ * Is the service deprecated.
+ *
+ * @var bool
+ */
protected $deprecated = true;
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
final public function __construct( $id, array $settings ) {
$this->id = $id;
@@ -473,10 +705,22 @@ abstract class Deprecated_Sharing_Source extends Sharing_Source {
}
}
+ /**
+ * Is the service deprecated.
+ *
+ * @return bool
+ */
final public function is_deprecated() {
return true;
}
+ /**
+ * Get a post's permalink to use for sharing.
+ *
+ * @param int $post_id Post ID.
+ *
+ * @return string
+ */
final public function get_share_url( $post_id ) {
return get_permalink( $post_id );
}
@@ -490,22 +734,58 @@ abstract class Deprecated_Sharing_Source extends Sharing_Source {
return false;
}
+ /**
+ * Display a preview of the sharing button.
+ *
+ * @param bool $echo Whether to echo the output or return it.
+ * @param bool $force_smart Whether to force the smart (official) services to be shown.
+ * @param null|string $button_style Button style.
+ *
+ * @return string|void
+ */
final public function display_preview( $echo = true, $force_smart = false, $button_style = null ) {
return parent::display_preview( $echo, false, $button_style );
}
- final public function get_total( $post = false ) {
+ /**
+ * Get sharing stats for a specific post or sharing service.
+ *
+ * @param bool|WP_Post $post Post object.
+ *
+ * @return int
+ */
+ final public function get_total( $post = false ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return 0;
}
+ /**
+ * Get sharing stats for all posts on the site.
+ *
+ * @return int|array
+ */
final public function get_posts_total() {
return 0;
}
- final public function process_request( $post, array $post_data ) {
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
+ final public function process_request( $post, array $post_data ) { // phpcs:ignore Generic.CodeAnalysis.UselessOverridingMethod.Found
parent::process_request( $post, $post_data );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
final public function get_display( $post ) {
if ( current_user_can( 'manage_options' ) ) {
return $this->display_deprecated( $post );
@@ -514,6 +794,13 @@ abstract class Deprecated_Sharing_Source extends Sharing_Source {
return '';
}
+ /**
+ * Display a custom message for deprecated services.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function display_deprecated( $post ) {
return $this->get_link(
$this->get_share_url( $post->ID ),
@@ -525,225 +812,247 @@ abstract class Deprecated_Sharing_Source extends Sharing_Source {
}
}
+/**
+ * Handle the display of advanced sharing services.
+ * Custom sharing buttons we create ourselves will be such services.
+ */
abstract class Sharing_Advanced_Source extends Sharing_Source {
+ /**
+ * Does the service have advanced options.
+ *
+ * @return bool
+ */
public function has_advanced_options() {
return true;
}
+ /**
+ * Display options for our sharing buttons.
+ */
abstract public function display_options();
+
+ /**
+ * Sanitize and save options for our sharing buttons.
+ *
+ * @param array $data Data to be saved.
+ *
+ * @return void
+ */
abstract public function update_options( array $data );
+
+ /**
+ * Get array of information about the service.
+ *
+ * @return array
+ */
abstract public function get_options();
}
+/**
+ * Handle the display of the email sharing button.
+ */
class Share_Email extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'email';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f410';
+
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return _x( 'Email', 'as sharing source', 'jetpack' );
}
- // Default does nothing
- public function process_request( $post, array $post_data ) {
- $ajax = false;
- if ( isset( $_SERVER['HTTP_X_REQUESTED_WITH'] ) && strtolower( $_SERVER['HTTP_X_REQUESTED_WITH'] ) == 'xmlhttprequest' ) {
- $ajax = true;
+ /**
+ * Helper function to return a nonce action based on the current post.
+ *
+ * @param WP_Post|null $post The current post if it is defined.
+ * @return string The nonce action name.
+ */
+ protected function get_email_share_nonce_action( $post ) {
+ if ( ! empty( $post ) && $post instanceof WP_Post ) {
+ return 'jetpack-email-share-' . $post->ID;
}
- $source_email = $target_email = $source_name = false;
+ return 'jetpack-email-share';
+ }
- if ( isset( $post_data['source_email'] ) && is_email( $post_data['source_email'] ) ) {
- $source_email = $post_data['source_email'];
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
+ public function process_request( $post, array $post_data ) {
+ $is_ajax = false;
+ if (
+ isset( $_SERVER['HTTP_X_REQUESTED_WITH'] )
+ && strtolower( sanitize_text_field( wp_unslash( $_SERVER['HTTP_X_REQUESTED_WITH'] ) ) ) === 'xmlhttprequest'
+ ) {
+ $is_ajax = true;
}
- if ( isset( $post_data['target_email'] ) && is_email( $post_data['target_email'] ) ) {
- $target_email = $post_data['target_email'];
+ // Require an AJAX-driven submit and a valid nonce to process the request
+ if (
+ $is_ajax
+ && isset( $post_data['email-share-nonce'] )
+ && wp_verify_nonce( $post_data['email-share-nonce'], $this->get_email_share_nonce_action( $post ) )
+ ) {
+ // Ensure that we bump stats
+ parent::process_request( $post, $post_data );
}
- if ( isset( $post_data['source_name'] ) && strlen( $post_data['source_name'] ) < 200 ) {
- $source_name = $post_data['source_name'];
- } elseif ( isset( $post_data['source_name'] ) ) {
- $source_name = substr( $post_data['source_name'], 0, 200 );
- } else {
- $source_name = '';
+ if ( $is_ajax ) {
+ wp_send_json_success();
}
- // Test email
- $error = 1; // Failure in data
- if ( empty( $post_data['source_f_name'] ) && $source_email && $target_email && $source_name ) {
- /**
- * Allow plugins to stop the email sharing button from running the shared message through Akismet.
- *
- * @module sharedaddy
- *
- * @since 1.1.0
- *
- * @param bool true Should we check if the message isn't spam?
- * @param object $post Post information.
- * @param array $post_data Information about the shared message.
- */
- if ( apply_filters( 'sharing_email_check', true, $post, $post_data ) ) {
- $data = array(
- 'post' => $post,
- 'source' => $source_email,
- 'target' => $target_email,
- 'name' => $source_name,
- 'sharing_source' => $this,
- );
- // todo: implement an error message when email doesn't get sent.
- /**
- * Filter whether an email can be sent from the Email sharing button.
- *
- * @module sharedaddy
- *
- * @since 1.1.0
- *
- * @param array $data Array of information about the shared message.
- */
- if ( ( $data = apply_filters( 'sharing_email_can_send', $data ) ) !== false ) {
- // Record stats
- parent::process_request( $data['post'], $post_data );
-
- /**
- * Fires when an email is sent via the Email sharing button.
- *
- * @module sharedaddy
- *
- * @since 1.1.0
- *
- * @param array $data Array of information about the shared message.
- */
- do_action( 'sharing_email_send_post', $data );
- }
-
- // Return a positive regardless of whether the user is subscribed or not
- if ( $ajax ) {
-?>
-<div class="response">
- <div class="response-title"><?php _e( 'This post has been shared!', 'jetpack' ); ?></div>
- <div class="response-sub"><?php printf( __( 'You have shared this post with %s', 'jetpack' ), esc_html( $target_email ) ); ?></div>
- <div class="response-close"><a href="#" class="sharing_cancel"><?php _e( 'Close', 'jetpack' ); ?></a></div>
-</div>
-<?php
- } else {
- wp_safe_redirect( get_permalink( $post->ID ) . '?shared=email' );
- }
-
- die();
- } else {
- $error = 2; // Email check failed
- }
- }
+ wp_die();
+ }
- if ( $ajax ) {
- echo $error;
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string The HTML for the button.
+ */
+ public function get_display( $post ) {
+ $tracking_url = $this->get_process_request_url( $post->ID );
+ if ( false === stripos( $tracking_url, '?' ) ) {
+ $tracking_url .= '?';
} else {
- wp_safe_redirect( get_permalink( $post->ID ) . '?shared=email&msg=fail' );
+ $tracking_url .= '&';
}
+ $tracking_url .= 'share=email';
- die();
- }
+ $data_attributes = array(
+ 'email-share-error-title' => __( 'Do you have email set up?', 'jetpack' ),
+ 'email-share-error-text' => __(
+ "If you're having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.",
+ 'jetpack'
+ ),
+ 'email-share-nonce' => wp_create_nonce( $this->get_email_share_nonce_action( $post ) ),
+ 'email-share-track-url' => $tracking_url,
+ );
- public function get_display( $post ) {
- return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Email', 'share to', 'jetpack' ), __( 'Click to email this to a friend', 'jetpack' ), 'share=email' );
+ $post_title = $this->get_share_title( $post->ID );
+ $post_url = $this->get_share_url( $post->ID );
+
+ /** This filter is documented in plugins/jetpack/modules/sharedaddy/sharedaddy.php */
+ $email_subject = apply_filters(
+ 'wp_sharing_email_send_post_subject',
+ sprintf( '[%s] %s', __( 'Shared Post', 'jetpack' ), $post_title )
+ );
+
+ $mailto_query = sprintf(
+ 'subject=%s&body=%s&share=email',
+ rawurlencode( $email_subject ),
+ rawurlencode( $post_url )
+ );
+
+ return $this->get_link(
+ 'mailto:',
+ _x( 'Email', 'share to', 'jetpack' ),
+ __( 'Click to email a link to a friend', 'jetpack' ),
+ $mailto_query,
+ false,
+ $data_attributes
+ );
}
/**
- * No AMP display for email.
+ * AMP display for email.
*
* @param \WP_Post $post The current post being viewed.
*/
public function get_amp_display( $post ) { // phpcs:ignore
- return false;
- }
-
- /**
- * Outputs the hidden email dialog
- */
- public function display_footer() {
- global $current_user;
-
- $visible = $status = false;
-?>
- <div id="sharing_email" style="display: none;">
- <form action="<?php echo esc_url( $_SERVER['REQUEST_URI'] ); ?>" method="post">
- <label for="target_email"><?php _e( 'Send to Email Address', 'jetpack' ) ?></label>
- <input type="email" name="target_email" id="target_email" value="" />
-
- <?php if ( is_user_logged_in() ) : ?>
- <input type="hidden" name="source_name" value="<?php echo esc_attr( $current_user->display_name ); ?>" />
- <input type="hidden" name="source_email" value="<?php echo esc_attr( $current_user->user_email ); ?>" />
- <?php else : ?>
-
- <label for="source_name"><?php _e( 'Your Name', 'jetpack' ) ?></label>
- <input type="text" name="source_name" id="source_name" value="" />
-
- <label for="source_email"><?php _e( 'Your Email Address', 'jetpack' ) ?></label>
- <input type="email" name="source_email" id="source_email" value="" />
-
- <?php endif; ?>
- <input type="text" id="jetpack-source_f_name" name="source_f_name" class="input" value="" size="25" autocomplete="off" title="<?php esc_attr_e( 'This field is for validation and should not be changed', 'jetpack' ); ?>" />
- <?php
- /**
- * Fires when the Email sharing dialog is loaded.
- *
- * @module sharedaddy
- *
- * @since 1.1.0
- *
- * @param string jetpack Eail sharing source.
- */
- do_action( 'sharing_email_dialog', 'jetpack' );
- ?>
-
- <img style="float: right; display: none" class="loading" src="<?php
- /** This filter is documented in modules/stats.php */
- echo apply_filters( 'jetpack_static_url', plugin_dir_url( __FILE__ ) . 'images/loading.gif' ); ?>" alt="loading" width="16" height="16" />
- <input type="submit" value="<?php esc_attr_e( 'Send Email', 'jetpack' ); ?>" class="sharing_send" />
- <a rel="nofollow" href="#cancel" class="sharing_cancel" role="button"><?php _e( 'Cancel', 'jetpack' ); ?></a>
-
- <div class="errors errors-1" style="display: none;">
- <?php _e( 'Post was not sent - check your email addresses!', 'jetpack' ); ?>
- </div>
-
- <div class="errors errors-2" style="display: none;">
- <?php _e( 'Email check failed, please try again', 'jetpack' ); ?>
- </div>
+ $attrs = array(
+ // Prevents an empty window from opening on desktop: https://github.com/ampproject/amphtml/issues/9157.
+ 'data-target' => '_self',
+ );
- <div class="errors errors-3" style="display: none;">
- <?php _e( 'Sorry, your blog cannot share posts by email.', 'jetpack' ); ?>
- </div>
- </form>
- </div>
-<?php
+ return $this->build_amp_markup( $attrs );
}
}
+/**
+ * Twitter sharing button.
+ */
class Share_Twitter extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'twitter';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f202';
- // 'https://dev.twitter.com/rest/reference/get/help/configuration' ( 2015/02/06 ) short_url_length is 22, short_url_length_https is 23
+
+ /**
+ * Length of a URL on Twitter.
+ * 'https://dev.twitter.com/rest/reference/get/help/configuration'
+ * ( 2015/02/06 ) short_url_length is 22, short_url_length_https is 23
+ *
+ * @var int
+ */
public $short_url_length = 24;
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Twitter', 'jetpack' );
}
@@ -778,7 +1087,7 @@ class Share_Twitter extends Sharing_Source {
* was introduced with the adding of the Twitter cards.
* This should be a temporary solution until a better method is setup.
*/
- if ( 'jetpack' == $twitter_site_tag_value ) {
+ if ( 'jetpack' === $twitter_site_tag_value ) {
$twitter_site_tag_value = '';
}
@@ -834,6 +1143,13 @@ class Share_Twitter extends Sharing_Source {
return implode( ',', $related );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
$via = $this->sharing_twitter_via( $post );
@@ -851,7 +1167,7 @@ class Share_Twitter extends Sharing_Source {
}
if ( $this->smart ) {
- $share_url = $this->get_share_url( $post->ID );
+ $share_url = $this->get_share_url( $post->ID );
$post_title = $this->get_share_title( $post->ID );
return sprintf(
'<a href="https://twitter.com/share" class="twitter-share-button" data-url="%1$s" data-text="%2$s" %3$s %4$s>Tweet</a>',
@@ -881,9 +1197,17 @@ class Share_Twitter extends Sharing_Source {
}
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
$post_title = $this->get_share_title( $post->ID );
- $post_link = $this->get_share_url( $post->ID );
+ $post_link = $this->get_share_url( $post->ID );
if ( function_exists( 'mb_stripos' ) ) {
$strlen = 'mb_strlen';
@@ -893,7 +1217,7 @@ class Share_Twitter extends Sharing_Source {
$substr = 'substr';
}
- $via = $this->sharing_twitter_via( $post );
+ $via = $this->sharing_twitter_via( $post );
$related = $this->get_related_accounts( $post );
if ( $via ) {
$sig = " via @$via";
@@ -918,7 +1242,7 @@ class Share_Twitter extends Sharing_Source {
// Record stats
parent::process_request( $post, $post_data );
- $url = $post_link;
+ $url = $post_link;
$twitter_url = add_query_arg(
rawurlencode_deep( array_filter( compact( 'via', 'related', 'text', 'url' ) ) ),
'https://twitter.com/intent/tweet'
@@ -927,10 +1251,18 @@ class Share_Twitter extends Sharing_Source {
parent::redirect_request( $twitter_url );
}
+ /**
+ * Does this sharing source have a custom style.
+ *
+ * @return bool
+ */
public function has_custom_button_style() {
return $this->smart;
}
+ /**
+ * Add content specific to a service in the footer.
+ */
public function display_footer() {
if ( $this->smart ) {
?>
@@ -942,24 +1274,56 @@ class Share_Twitter extends Sharing_Source {
}
}
-
+/**
+ * Reddit sharing button.
+ */
class Share_Reddit extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'reddit';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f222';
+
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Reddit', 'jetpack' );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
if ( $this->smart ) {
return '<div class="reddit_button"><iframe src="' . $this->http() . '://www.reddit.com/static/button/button1.html?newwindow=true&width=120&amp;url=' . rawurlencode( $this->get_share_url( $post->ID ) ) . '&amp;title=' . rawurlencode( $this->get_share_title( $post->ID ) ) . '" height="22" width="120" scrolling="no" frameborder="0"></iframe></div>';
@@ -981,6 +1345,14 @@ class Share_Reddit extends Sharing_Source {
return $this->build_amp_markup( $attrs );
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
$reddit_url = $this->http() . '://reddit.com/submit?url=' . rawurlencode( $this->get_share_url( $post->ID ) ) . '&title=' . rawurlencode( $this->get_share_title( $post->ID ) );
@@ -991,33 +1363,71 @@ class Share_Reddit extends Sharing_Source {
}
}
+/**
+ * LinkedIn sharing button.
+ */
class Share_LinkedIn extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'linkedin';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f207';
+
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'LinkedIn', 'jetpack' );
}
+ /**
+ * Does this sharing source have a custom style.
+ *
+ * @return bool
+ */
public function has_custom_button_style() {
return $this->smart;
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
$display = '';
if ( $this->smart ) {
$share_url = $this->get_share_url( $post->ID );
- $display .= sprintf( '<div class="linkedin_button"><script type="in/share" data-url="%s" data-counter="right"></script></div>', esc_url( $share_url ) );
+ $display .= sprintf( '<div class="linkedin_button"><script type="in/share" data-url="%s" data-counter="right"></script></div>', esc_url( $share_url ) );
} else {
$display = $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'LinkedIn', 'share to', 'jetpack' ), __( 'Click to share on LinkedIn', 'jetpack' ), 'share=linkedin', 'sharing-linkedin-' . $post->ID );
}
@@ -1030,15 +1440,26 @@ class Share_LinkedIn extends Sharing_Source {
return $display;
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
$post_link = $this->get_share_url( $post->ID );
// Using the same URL as the official button, which is *not* LinkedIn's documented sharing link
// https://www.linkedin.com/cws/share?url={url}&token=&isFramed=false
- $linkedin_url = add_query_arg( array(
- 'url' => rawurlencode( $post_link ),
- ), 'https://www.linkedin.com/cws/share?token=&isFramed=false' );
+ $linkedin_url = add_query_arg(
+ array(
+ 'url' => rawurlencode( $post_link ),
+ ),
+ 'https://www.linkedin.com/cws/share?token=&isFramed=false'
+ );
// Record stats
parent::process_request( $post, $post_data );
@@ -1046,9 +1467,18 @@ class Share_LinkedIn extends Sharing_Source {
parent::redirect_request( $linkedin_url );
}
+ /**
+ * Add content specific to a service in the footer.
+ */
public function display_footer() {
if ( ! $this->smart ) {
- $this->js_dialog( $this->shortname, array( 'width' => 580, 'height' => 450 ) );
+ $this->js_dialog(
+ $this->shortname,
+ array(
+ 'width' => 580,
+ 'height' => 450,
+ )
+ );
} else {
?>
<script type="text/javascript">
@@ -1091,11 +1521,37 @@ class Share_LinkedIn extends Sharing_Source {
}
}
+/**
+ * Facebook sharing button.
+ */
class Share_Facebook extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'facebook';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f204';
+
+ /**
+ * Sharing type.
+ *
+ * @var string
+ */
private $share_type = 'default';
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
@@ -1103,22 +1559,37 @@ class Share_Facebook extends Sharing_Source {
$this->share_type = $settings['share_type'];
}
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Facebook', 'jetpack' );
}
+ /**
+ * Add content specific to a service in the head.
+ */
public function display_header() {
}
- function guess_locale_from_lang( $lang ) {
- if ( 'en' == $lang || 'en_US' == $lang || ! $lang ) {
+ /**
+ * Guess locale from language code.
+ *
+ * @param string $lang Language code.
+ *
+ * @return string|bool
+ */
+ public function guess_locale_from_lang( $lang ) {
+ if ( 'en' === $lang || 'en_US' === $lang || ! $lang ) {
return 'en_US';
}
@@ -1157,9 +1628,16 @@ class Share_Facebook extends Sharing_Source {
return $locale->facebook_locale;
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
if ( $this->smart ) {
- $share_url = $this->get_share_url( $post->ID );
+ $share_url = $this->get_share_url( $post->ID );
$fb_share_html = '<div class="fb-share-button" data-href="' . esc_attr( $share_url ) . '" data-layout="button_count"></div>';
/**
* Filter the output of the Facebook Sharing button.
@@ -1186,7 +1664,7 @@ class Share_Facebook extends Sharing_Source {
*
* @param \WP_Post $post The current post being viewed.
*/
- public function get_amp_display( $post ) {
+ public function get_amp_display( $post ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$attrs = array(
/** This filter is documented in modules/sharedaddy/sharing-sources.php */
'data-param-app_id' => apply_filters( 'jetpack_sharing_facebook_app_id', '249643311490' ),
@@ -1195,6 +1673,14 @@ class Share_Facebook extends Sharing_Source {
return $this->build_amp_markup( $attrs );
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
$fb_url = $this->http() . '://www.facebook.com/sharer.php?u=' . rawurlencode( $this->get_share_url( $post->ID ) ) . '&t=' . rawurlencode( $this->get_share_title( $post->ID ) );
@@ -1204,6 +1690,9 @@ class Share_Facebook extends Sharing_Source {
parent::redirect_request( $fb_url );
}
+ /**
+ * Add content specific to a service in the footer.
+ */
public function display_footer() {
$this->js_dialog( $this->shortname );
if ( $this->smart ) {
@@ -1224,8 +1713,9 @@ class Share_Facebook extends Sharing_Source {
} else {
$fb_app_id = '';
}
- ?><div id="fb-root"></div>
- <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/<?php echo $locale; ?>/sdk.js#xfbml=1<?php echo $fb_app_id; ?>&version=v2.3'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
+ ?>
+ <div id="fb-root"></div>
+ <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/<?php echo esc_attr( $locale ); ?>/sdk.js#xfbml=1<?php echo esc_attr( $fb_app_id ); ?>&version=v2.3'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
<script>
document.body.addEventListener( 'is.post-load', function() {
if ( 'undefined' !== typeof FB ) {
@@ -1238,25 +1728,58 @@ class Share_Facebook extends Sharing_Source {
}
}
+/**
+ * Print button.
+ */
class Share_Print extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'print';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f469';
+
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Print', 'jetpack' );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
- return $this->get_link( $this->get_process_request_url( $post->ID ) . ( ( is_single() || is_page() ) ? '#print': '' ), _x( 'Print', 'share to', 'jetpack' ), __( 'Click to print', 'jetpack' ) );
+ return $this->get_link( $this->get_process_request_url( $post->ID ) . ( ( is_single() || is_page() ) ? '#print' : '' ), _x( 'Print', 'share to', 'jetpack' ), __( 'Click to print', 'jetpack' ) );
}
/**
@@ -1273,23 +1796,57 @@ class Share_Print extends Sharing_Source {
}
}
+/**
+ * Press This Button.
+ */
class Share_PressThis extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'pressthis';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f205';
+
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Press This', 'jetpack' );
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
global $current_user;
@@ -1320,10 +1877,10 @@ class Share_PressThis extends Sharing_Source {
$args = array(
'u' => rawurlencode( $this->get_share_url( $post->ID ) ),
- );
+ );
- $args[ 'url-scan-submit' ] = 'Scan';
- $args[ '_wpnonce' ] = wp_create_nonce( 'scan-site' );
+ $args['url-scan-submit'] = 'Scan';
+ $args['_wpnonce'] = wp_create_nonce( 'scan-site' );
$url = $blog->siteurl . '/wp-admin/press-this.php';
$url = add_query_arg( $args, $url );
@@ -1334,6 +1891,13 @@ class Share_PressThis extends Sharing_Source {
parent::redirect_request( $url );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Press This', 'share to', 'jetpack' ), __( 'Click to Press This!', 'jetpack' ), 'share=press-this' );
}
@@ -1348,24 +1912,65 @@ class Share_PressThis extends Sharing_Source {
}
}
+/**
+ * Custom (user-defined) sharing button.
+ */
class Share_Custom extends Sharing_Advanced_Source {
+ /**
+ * Sharing service name.
+ *
+ * @var string
+ */
private $name;
+
+ /**
+ * Sharing icon.
+ *
+ * @var string
+ */
private $icon;
+
+ /**
+ * Sharing service URL.
+ *
+ * @var string
+ */
private $url;
+
+ /**
+ * Does the service have an official version.
+ *
+ * @var bool
+ */
public $smart = true;
+
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname;
+ /**
+ * Custom sharing class.
+ *
+ * @return string
+ */
public function get_class() {
return 'custom share-custom-' . sanitize_html_class( strtolower( $this->name ) );
}
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- $opts = $this->get_options();
-
if ( isset( $settings['name'] ) ) {
- $this->name = $settings['name'];
+ $this->name = $settings['name'];
$this->shortname = preg_replace( '/[^a-z0-9]*/', '', $settings['name'] );
}
@@ -1373,14 +1978,14 @@ class Share_Custom extends Sharing_Advanced_Source {
$this->icon = $settings['icon'];
$new_icon = esc_url_raw( wp_specialchars_decode( $this->icon, ENT_QUOTES ) );
- $i = 0;
- while ( $new_icon != $this->icon ) {
+ $i = 0;
+ while ( $new_icon !== $this->icon ) {
if ( $i > 5 ) {
$this->icon = false;
break;
} else {
$this->icon = $new_icon;
- $new_icon = esc_url_raw( wp_specialchars_decode( $this->icon, ENT_QUOTES ) );
+ $new_icon = esc_url_raw( wp_specialchars_decode( $this->icon, ENT_QUOTES ) );
}
$i++;
}
@@ -1391,12 +1996,33 @@ class Share_Custom extends Sharing_Advanced_Source {
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return $this->name;
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
- $str = $this->get_link( $this->get_process_request_url( $post->ID ), esc_html( $this->name ), sprintf( __( 'Click to share on %s', 'jetpack' ), esc_attr( $this->name ) ), 'share=' . $this->id );
+ $str = $this->get_link(
+ $this->get_process_request_url( $post->ID ),
+ esc_html( $this->name ),
+ sprintf(
+ /* Translators: placeholder is the name of a social network. */
+ __( 'Click to share on %s', 'jetpack' ),
+ esc_attr( $this->name )
+ ),
+ 'share=' . $this->id
+ );
return str_replace( '<span>', '<span style="' . esc_attr( 'background-image:url("' . addcslashes( esc_url_raw( $this->icon ), '"' ) . '");' ) . '">', $str );
}
@@ -1405,10 +2031,18 @@ class Share_Custom extends Sharing_Advanced_Source {
*
* @param \WP_Post $post The current post being viewed.
*/
- public function get_amp_display( $post ) { // phpcs:ignore
+ public function get_amp_display( $post ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return false;
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
$url = str_replace( '&amp;', '&', $this->url );
$url = str_replace( '%post_id%', rawurlencode( $post->ID ), $url );
@@ -1419,7 +2053,7 @@ class Share_Custom extends Sharing_Advanced_Source {
$url = str_replace( '%post_slug%', rawurlencode( $post->post_name ), $url );
if ( strpos( $url, '%post_tags%' ) !== false ) {
- $tags = get_the_tags( $post->ID );
+ $tags = get_the_tags( $post->ID );
$tagged = '';
if ( $tags ) {
@@ -1440,10 +2074,10 @@ class Share_Custom extends Sharing_Advanced_Source {
$url_excerpt = $post->post_content;
}
- $url_excerpt = strip_tags( strip_shortcodes( $url_excerpt ) );
+ $url_excerpt = wp_strip_all_tags( strip_shortcodes( $url_excerpt ) );
$url_excerpt = wp_html_excerpt( $url_excerpt, 100 );
$url_excerpt = rtrim( preg_replace( '/[^ .]*$/', '', $url_excerpt ) );
- $url = str_replace( '%post_excerpt%', rawurlencode( $url_excerpt ), $url );
+ $url = str_replace( '%post_excerpt%', rawurlencode( $url_excerpt ), $url );
}
// Record stats
@@ -1452,23 +2086,28 @@ class Share_Custom extends Sharing_Advanced_Source {
parent::redirect_request( $url );
}
+ /**
+ * Display options for our sharing buttons.
+ *
+ * @return void
+ */
public function display_options() {
-?>
+ ?>
<div class="input">
<table class="form-table">
<tbody>
<tr>
- <th scope="row"><?php _e( 'Label', 'jetpack' ); ?></th>
+ <th scope="row"><?php esc_html_e( 'Label', 'jetpack' ); ?></th>
<td><input type="text" name="name" value="<?php echo esc_attr( $this->name ); ?>" /></td>
</tr>
<tr>
- <th scope="row"><?php _e( 'URL', 'jetpack' ); ?></th>
+ <th scope="row"><?php esc_html_e( 'URL', 'jetpack' ); ?></th>
<td><input type="text" name="url" value="<?php echo esc_attr( $this->url ); ?>" /></td>
</tr>
<tr>
- <th scope="row"><?php _e( 'Icon', 'jetpack' ); ?></th>
+ <th scope="row"><?php esc_html_e( 'Icon', 'jetpack' ); ?></th>
<td><input type="text" name="icon" value="<?php echo esc_attr( $this->icon ); ?>" /></td>
</tr>
@@ -1476,26 +2115,33 @@ class Share_Custom extends Sharing_Advanced_Source {
<th scope="row"></th>
<td>
<input class="button-secondary" type="submit" value="<?php esc_attr_e( 'Save', 'jetpack' ); ?>" />
- <a href="#" class="remove"><small><?php _e( 'Remove Service', 'jetpack' ); ?></small></a>
+ <a href="#" class="remove"><small><?php esc_html_e( 'Remove Service', 'jetpack' ); ?></small></a>
</td>
</tr>
</tbody>
</table>
</div>
-<?php
+ <?php
}
+ /**
+ * Sanitize and save options for our sharing buttons.
+ *
+ * @param array $data Data to be saved.
+ *
+ * @return void
+ */
public function update_options( array $data ) {
- $name = trim( wp_html_excerpt( wp_kses( stripslashes( $data['name'] ), array() ), 30 ) );
- $url = trim( esc_url_raw( $data['url'] ) );
- $icon = trim( esc_url_raw( $data['icon'] ) );
+ $name = trim( wp_html_excerpt( wp_kses( stripslashes( $data['name'] ), array() ), 30 ) );
+ $url = trim( esc_url_raw( $data['url'] ) );
+ $icon = trim( esc_url_raw( $data['icon'] ) );
if ( $name ) {
$this->name = $name;
}
if ( $url ) {
- $this->url = $url;
+ $this->url = $url;
}
if ( $icon ) {
@@ -1503,6 +2149,11 @@ class Share_Custom extends Sharing_Advanced_Source {
}
}
+ /**
+ * Get array of information about the service.
+ *
+ * @return array
+ */
public function get_options() {
return array(
'name' => $this->name,
@@ -1511,65 +2162,108 @@ class Share_Custom extends Sharing_Advanced_Source {
);
}
- public function display_preview( $echo = true, $force_smart = false, $button_style = null ) {
+ /**
+ * Display a preview of the sharing button.
+ *
+ * @param bool $echo Whether to echo the output or return it.
+ * @param bool $force_smart Whether to force the smart (official) services to be shown.
+ * @param null|string $button_style Button style.
+ *
+ * @return void
+ */
+ public function display_preview( $echo = true, $force_smart = false, $button_style = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$opts = $this->get_options();
$text = '&nbsp;';
if ( ! $this->smart ) {
- if ( $this->button_style != 'icon' ) {
+ if ( $this->button_style !== 'icon' ) {
$text = $this->get_name();
}
}
$klasses = array( 'share-' . $this->shortname );
- if ( $this->button_style == 'icon' || $this->button_style == 'icon-text' ) {
+ if ( $this->button_style === 'icon' || $this->button_style === 'icon-text' ) {
$klasses[] = 'share-icon';
}
- if ( $this->button_style == 'icon' ) {
- $text = '';
+ if ( $this->button_style === 'icon' ) {
+ $text = '';
$klasses[] = 'no-text';
}
- if ( $this->button_style == 'text' ) {
+ if ( $this->button_style === 'text' ) {
$klasses[] = 'no-icon';
}
$link = sprintf(
'<a rel="nofollow" class="%s" href="javascript:void(0)" title="%s"><span style="background-image:url(&quot;%s&quot;) !important;background-position:left center;background-repeat:no-repeat;">%s</span></a>',
- implode( ' ', $klasses ),
- $this->get_name(),
+ esc_attr( implode( ' ', $klasses ) ),
+ esc_attr( $this->get_name() ),
addcslashes( esc_url_raw( $opts['icon'] ), '"' ),
- $text
+ esc_html( $text )
);
?>
<div class="option option-smart-off">
- <?php echo $link ; ?>
- </div><?php
+ <?php echo $link; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped above. ?>
+ </div>
+ <?php
}
}
+/**
+ * Tumblr sharing service.
+ */
class Share_Tumblr extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'tumblr';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f214';
+
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Tumblr', 'jetpack' );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
if ( $this->smart ) {
$target = '';
- if ( true == $this->open_link_in_new ) {
+ if ( true === $this->open_link_in_new ) {
$target = '_blank';
}
@@ -1595,11 +2289,19 @@ class Share_Tumblr extends Sharing_Source {
__( 'Share on Tumblr', 'jetpack' ),
$posttype
);
- } else {
+ } else {
return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Tumblr', 'share to', 'jetpack' ), __( 'Click to share on Tumblr', 'jetpack' ), 'share=tumblr' );
}
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
// Record stats
parent::process_request( $post, $post_data );
@@ -1610,32 +2312,77 @@ class Share_Tumblr extends Sharing_Source {
parent::redirect_request( $url );
}
+ /**
+ * Add content specific to a service in the footer.
+ */
public function display_footer() {
if ( $this->smart ) {
- ?><script id="tumblr-js" type="text/javascript" src="https://assets.tumblr.com/share-button.js"></script><?php
+ // phpcs:disable WordPress.WP.EnqueuedResources.NonEnqueuedScript
+ ?>
+ <script id="tumblr-js" type="text/javascript" src="https://assets.tumblr.com/share-button.js"></script>
+ <?php
+ // phpcs:enable WordPress.WP.EnqueuedResources.NonEnqueuedScript
} else {
- $this->js_dialog( $this->shortname, array( 'width' => 450, 'height' => 450 ) );
+ $this->js_dialog(
+ $this->shortname,
+ array(
+ 'width' => 450,
+ 'height' => 450,
+ )
+ );
}
}
}
+/**
+ * Pinterest sharing service.
+ */
class Share_Pinterest extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'pinterest';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f209';
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Pinterest', 'jetpack' );
}
+ /**
+ * Get image representative of the post to pass on to Pinterest.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_image( $post ) {
if ( class_exists( 'Jetpack_PostImages' ) ) {
$image = Jetpack_PostImages::get_image( $post->ID, array( 'fallback_to_avatars' => true ) );
@@ -1656,6 +2403,13 @@ class Share_Pinterest extends Sharing_Source {
return apply_filters( 'jetpack_sharing_pinterest_default_image', 'https://s0.wp.com/i/blank.jpg' );
}
+ /**
+ * Get Pinterest external sharing URL.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_external_url( $post ) {
$url = 'https://www.pinterest.com/pin/create/button/?url=' . rawurlencode( $this->get_share_url( $post->ID ) ) . '&media=' . rawurlencode( $this->get_image( $post ) ) . '&description=' . rawurlencode( $post->post_title );
@@ -1671,6 +2425,11 @@ class Share_Pinterest extends Sharing_Source {
return apply_filters( 'jetpack_sharing_pinterest_share_url', $url );
}
+ /**
+ * Get Pinterest widget type.
+ *
+ * @return string
+ */
public function get_widget_type() {
/**
* Filters the Pinterest widget type.
@@ -1686,6 +2445,13 @@ class Share_Pinterest extends Sharing_Source {
return apply_filters( 'jetpack_sharing_pinterest_widget_type', 'buttonPin' );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
$display = '';
@@ -1707,11 +2473,19 @@ class Share_Pinterest extends Sharing_Source {
return $display;
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
// Record stats
parent::process_request( $post, $post_data );
// If we're triggering the multi-select panel, then we don't need to redirect to Pinterest
- if ( ! isset( $_GET['js_only'] ) ) {
+ if ( ! isset( $_GET['js_only'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$pinterest_url = esc_url_raw( $this->get_external_url( $post ) );
parent::redirect_request( $pinterest_url );
} else {
@@ -1720,6 +2494,9 @@ class Share_Pinterest extends Sharing_Source {
}
}
+ /**
+ * Add content specific to a service in the footer.
+ */
public function display_footer() {
/**
* Filter the Pin it button appearing when hovering over images when using the official button style.
@@ -1765,7 +2542,7 @@ class Share_Pinterest extends Sharing_Source {
}
} )();
</script>
- <?php elseif ( 'buttonPin' != $this->get_widget_type() ) : ?>
+ <?php elseif ( 'buttonPin' !== $this->get_widget_type() ) : ?>
<script type="text/javascript">
( function () {
function init() {
@@ -1798,28 +2575,62 @@ class Share_Pinterest extends Sharing_Source {
}
} )();
</script>
- <?php endif;
+ <?php
+ endif;
}
}
+/**
+ * Pocket sharing service.
+ */
class Share_Pocket extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'pocket';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f224';
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
}
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Pocket', 'jetpack' );
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
// Record stats
parent::process_request( $post, $post_data );
@@ -1829,11 +2640,18 @@ class Share_Pocket extends Sharing_Source {
parent::redirect_request( $pocket_url );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
if ( $this->smart ) {
$post_count = 'horizontal';
- $button = '';
+ $button = '';
$button .= '<div class="pocket_button">';
$button .= sprintf( '<a href="https://getpocket.com/save" class="pocket-btn" data-lang="%s" data-save-url="%s" data-pocket-count="%s" >%s</a>', 'en', esc_attr( $this->get_share_url( $post->ID ) ), $post_count, esc_attr__( 'Pocket', 'jetpack' ) );
$button .= '</div>';
@@ -1858,9 +2676,12 @@ class Share_Pocket extends Sharing_Source {
return $this->build_amp_markup( $attrs );
}
- function display_footer() {
+ /**
+ * Add content specific to a service in the footer.
+ */
+ public function display_footer() {
if ( $this->smart ) :
- ?>
+ ?>
<script>
( function () {
var currentScript = document.currentScript;
@@ -1882,25 +2703,59 @@ class Share_Pocket extends Sharing_Source {
document.body.addEventListener( 'is.post-load', jetpack_sharing_pocket_init );
} )();
</script>
- <?php
+ <?php
else :
- $this->js_dialog( $this->shortname, array( 'width' => 450, 'height' => 450 ) );
+ $this->js_dialog(
+ $this->shortname,
+ array(
+ 'width' => 450,
+ 'height' => 450,
+ )
+ );
endif;
}
}
+/**
+ * Telegram sharing service.
+ */
class Share_Telegram extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'telegram';
- public function __construct( $id, array $settings ) {
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
+ public function __construct( $id, array $settings ) { // phpcs:ignore Generic.CodeAnalysis.UselessOverridingMethod.Found
parent::__construct( $id, $settings );
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Telegram', 'jetpack' );
}
+
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
// Record stats
parent::process_request( $post, $post_data );
@@ -1910,6 +2765,13 @@ class Share_Telegram extends Sharing_Source {
parent::redirect_request( $telegram_url );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Telegram', 'share to', 'jetpack' ), __( 'Click to share on Telegram', 'jetpack' ), 'share=telegram' );
}
@@ -1927,22 +2789,57 @@ class Share_Telegram extends Sharing_Source {
return $this->build_amp_markup( $attrs );
}
- function display_footer() {
- $this->js_dialog( $this->shortname, array( 'width' => 450, 'height' => 450 ) );
+ /**
+ * Add content specific to a service in the footer.
+ */
+ public function display_footer() {
+ $this->js_dialog(
+ $this->shortname,
+ array(
+ 'width' => 450,
+ 'height' => 450,
+ )
+ );
}
}
+/**
+ * WhatsApp sharing service.
+ */
class Jetpack_Share_WhatsApp extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'jetpack-whatsapp';
- public function __construct( $id, array $settings ) {
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
+ public function __construct( $id, array $settings ) { // phpcs:ignore Generic.CodeAnalysis.UselessOverridingMethod.Found
parent::__construct( $id, $settings );
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'WhatsApp', 'jetpack' );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'WhatsApp', 'share to', 'jetpack' ), __( 'Click to share on WhatsApp', 'jetpack' ), 'share=jetpack-whatsapp' );
}
@@ -1952,7 +2849,7 @@ class Jetpack_Share_WhatsApp extends Sharing_Source {
*
* @param \WP_Post $post The current post being viewed.
*/
- public function get_amp_display( $post ) {
+ public function get_amp_display( $post ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$attrs = array(
'type' => 'whatsapp',
);
@@ -1960,6 +2857,14 @@ class Jetpack_Share_WhatsApp extends Sharing_Source {
return $this->build_amp_markup( $attrs );
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
// Record stats
parent::process_request( $post, $post_data );
@@ -1977,11 +2882,37 @@ class Jetpack_Share_WhatsApp extends Sharing_Source {
}
}
+/**
+ * Skype sharing service.
+ */
class Share_Skype extends Sharing_Source {
+ /**
+ * Service short name.
+ *
+ * @var string
+ */
public $shortname = 'skype';
+
+ /**
+ * Service icon font code.
+ *
+ * @var string
+ */
public $icon = '\f220';
+
+ /**
+ * Sharing type.
+ *
+ * @var string
+ */
private $share_type = 'default';
+ /**
+ * Constructor.
+ *
+ * @param int $id Sharing source ID.
+ * @param array $settings Sharing settings.
+ */
public function __construct( $id, array $settings ) {
parent::__construct( $id, $settings );
@@ -1989,7 +2920,7 @@ class Share_Skype extends Sharing_Source {
$this->share_type = $settings['share_type'];
}
- if ( 'official' == $this->button_style ) {
+ if ( 'official' === $this->button_style ) {
$this->smart = true;
} else {
$this->smart = false;
@@ -1997,10 +2928,22 @@ class Share_Skype extends Sharing_Source {
}
+ /**
+ * Service name.
+ *
+ * @return string
+ */
public function get_name() {
return __( 'Skype', 'jetpack' );
}
+ /**
+ * Get the markup of the sharing button.
+ *
+ * @param WP_Post $post Post object.
+ *
+ * @return string
+ */
public function get_display( $post ) {
if ( $this->smart ) {
$skype_share_html = sprintf(
@@ -2016,7 +2959,12 @@ class Share_Skype extends Sharing_Source {
sharing_register_post_for_share_counts( $post->ID );
}
return $this->get_link(
- $this->get_process_request_url( $post->ID ), _x( 'Skype', 'share to', 'jetpack' ), __( 'Click to share on Skype', 'jetpack' ), 'share=skype', 'sharing-skype-' . $post->ID );
+ $this->get_process_request_url( $post->ID ),
+ _x( 'Skype', 'share to', 'jetpack' ),
+ __( 'Click to share on Skype', 'jetpack' ),
+ 'share=skype',
+ 'sharing-skype-' . $post->ID
+ );
}
/**
@@ -2036,6 +2984,14 @@ class Share_Skype extends Sharing_Source {
return $this->build_amp_markup( $attrs );
}
+ /**
+ * Process sharing request. Add actions that need to happen when sharing here.
+ *
+ * @param WP_Post $post Post object.
+ * @param array $post_data Array of information about the post we're sharing.
+ *
+ * @return void
+ */
public function process_request( $post, array $post_data ) {
$skype_url = sprintf(
'https://web.skype.com/share?url=%1$s&lang=%2$s=&source=jetpack',
@@ -2049,6 +3005,9 @@ class Share_Skype extends Sharing_Source {
parent::redirect_request( $skype_url );
}
+ /**
+ * Add content specific to a service in the footer.
+ */
public function display_footer() {
if ( $this->smart ) :
?>
@@ -2072,7 +3031,13 @@ class Share_Skype extends Sharing_Source {
</script>
<?php
else :
- $this->js_dialog( $this->shortname, array( 'width' => 305, 'height' => 665 ) );
+ $this->js_dialog(
+ $this->shortname,
+ array(
+ 'width' => 305,
+ 'height' => 665,
+ )
+ );
endif;
}
}
diff --git a/plugins/jetpack/modules/sharedaddy/sharing.css b/plugins/jetpack/modules/sharedaddy/sharing.css
index 111386d2..d96cdd5d 100644
--- a/plugins/jetpack/modules/sharedaddy/sharing.css
+++ b/plugins/jetpack/modules/sharedaddy/sharing.css
@@ -74,6 +74,16 @@ body.highlander-dark h3.sd-title:before {
font-size: 12px;
}
+/* Sharing email errors */
+.sd-content .share-email-error .share-email-error-title {
+ margin: 0.5em 0;
+}
+.sd-content .share-email-error .share-email-error-text {
+ font-family: "Open Sans", sans-serif;
+ font-size: 12px;
+ margin: 0.5em 0;
+}
+
/* Buttons */
.sd-social-icon .sd-content ul li a.sd-button,
@@ -683,79 +693,12 @@ body .sd-social-icon .sd-content li.share-custom a span {
}
-/**
- * Sharing Email Dialog
- */
-
-#sharing_email {
- width: 342px;
- position: absolute;
- z-index: 1001;
- border: 1px solid #ccc;
- padding: 15px;
- background: #fff;
- box-shadow: 0px 5px 20px rgba(0,0,0,.2);
- text-align: left;
-}
-
-div.sharedaddy.sharedaddy-dark #sharing_email {
- border-color: #fff;
-}
-
-#sharing_email .errors {
- color: #fff;
- background-color: #771a09;
- font-size: 12px;
- padding: 5px 8px;
- line-height: 1;
- margin: 10px 0 0 0;
-}
-
-#sharing_email label {
- font-size: 12px;
- color: #333;
- font-weight: bold;
- display: block;
- padding: 0 0 4px 0;
- text-align: left;
- text-shadow: none;
-}
-
-#sharing_email form {
- margin: 0;
-}
-
-#sharing_email input[type="text"], #sharing_email input[type="email"] {
- width: 100%;
- box-sizing: border-box;
- -moz-box-sizing:border-box;
- -webkit-box-sizing:border-box;
- border: 1px solid #ccc;
- margin-bottom: 1em;
- background: #fff;
- font-size: 12px;
- color: #333;
- max-width: none;
- padding: 1px 3px;
-}
#jetpack-source_f_name {
display: none!important;
position: absolute !important;
left: -9000px;
}
-#sharing_email .sharing_cancel {
- padding: 0 0 0 1em;
- font-size: 12px;
- text-shadow: none;
-}
-
-#sharing_email .recaptcha {
- width: 312px;
- height: 123px;
- margin: 0 0 1em 0;
-}
-
.sd-content .share-customize-link {
margin-top: 0em;
line-height: 11px;
diff --git a/plugins/jetpack/modules/sharedaddy/sharing.js b/plugins/jetpack/modules/sharedaddy/sharing.js
index 44ec1563..2e8ada82 100644
--- a/plugins/jetpack/modules/sharedaddy/sharing.js
+++ b/plugins/jetpack/modules/sharedaddy/sharing.js
@@ -1,4 +1,4 @@
-/* global WPCOM_sharing_counts, grecaptcha */
+/* global WPCOM_sharing_counts */
// NOTE: This file intentionally does not make use of polyfills or libraries,
// including jQuery. Please keep all code as IE11-compatible vanilla ES5, and
@@ -8,7 +8,6 @@
( function () {
var currentScript = document.currentScript;
- var recaptchaScriptAdded = false;
// -------------------------- UTILITY FUNCTIONS -------------------------- //
@@ -210,8 +209,6 @@
clearTimeout( this.openTimer );
clearTimeout( this.closeTimer );
- closeEmailDialog();
-
if ( this.recentlyOpenedByHover ) {
this.recentlyOpenedByHover = false;
clearTimeout( this.hoverOpenTimer );
@@ -225,7 +222,6 @@
if ( ! this.openedBy ) {
this.openTimer = setTimeout(
function () {
- closeEmailDialog();
this.open();
this.openedBy = 'hover';
this.recentlyOpenedByHover = true;
@@ -363,27 +359,81 @@
}
// ------------------------ BUTTON FUNCTIONALITY ------------------------ //
+ function isUrlForCurrentHost( url ) {
+ var currentDomain = window.location.protocol + '//' + window.location.hostname + '/';
+
+ return String( url ).indexOf( currentDomain ) === 0;
+ }
+
+ function getEncodedFormFieldForSubmit( name, value ) {
+ // Encode the key and value into a URI-compatible string.
+ var encoded = encodeURIComponent( name ) + '=' + encodeURIComponent( value );
+
+ // In x-www-form-urlencoded, spaces should be `+`, not `%20`.
+ return encoded.replace( /%20/g, '+' );
+ }
+
+ function trackButtonClick( button ) {
+ var clickCount = getClickCountForButton( button );
+
+ setClickCountForButton( button, clickCount + 1 );
+ }
+
+ function setClickCountForButton( button, clickCount ) {
+ button.setAttribute( 'jetpack-share-click-count', clickCount );
+ }
+
+ function getClickCountForButton( button ) {
+ var currentClickCount = button.getAttribute( 'jetpack-share-click-count' );
+ if ( currentClickCount === null ) {
+ return 0;
+ }
+
+ return parseInt( currentClickCount, 10 );
+ }
+
+ function showEmailShareError( emailShareButton, sdUlGroup ) {
+ var sdContent = sdUlGroup.parentElement;
+ if ( ! sdContent.classList.contains( 'sd-content' ) ) {
+ return;
+ }
- function shareIsEmail( val ) {
- return /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(
- val
+ forEachNode( sdContent.querySelectorAll( '.share-email-error' ), function ( shareEmailError ) {
+ shareEmailError.parentElement.removeChild( shareEmailError );
+ } );
+
+ var newShareEmailError = document.createElement( 'div' );
+ newShareEmailError.className = 'share-email-error';
+
+ var newShareEmailErrorTitle = document.createElement( 'h6' );
+ newShareEmailErrorTitle.className = 'share-email-error-title';
+ newShareEmailErrorTitle.innerText = emailShareButton.getAttribute(
+ 'data-email-share-error-title'
+ );
+ newShareEmailError.appendChild( newShareEmailErrorTitle );
+
+ var newShareEmailErrorText = document.createElement( 'p' );
+ newShareEmailErrorText.className = 'share-email-error-text';
+ newShareEmailErrorText.innerText = emailShareButton.getAttribute(
+ 'data-email-share-error-text'
);
+ newShareEmailError.appendChild( newShareEmailErrorText );
+
+ sdContent.appendChild( newShareEmailError );
}
- function closeEmailDialog() {
- var dialog = document.querySelector( '#sharing_email' );
- hideNode( dialog );
+ function recordEmailShareClick( emailShareTrackerUrl, emailShareNonce ) {
+ var request = new XMLHttpRequest();
+ request.open( 'POST', emailShareTrackerUrl, true );
+ request.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8' );
+ request.setRequestHeader( 'x-requested-with', 'XMLHttpRequest' );
+
+ request.send( getEncodedFormFieldForSubmit( 'email-share-nonce', emailShareNonce ) );
}
// Sharing initialization.
// Will run immediately or on `DOMContentLoaded`, depending on current page status.
function init() {
- // Move email dialog to end of body.
- var emailDialog = document.querySelector( '#sharing_email' );
- if ( emailDialog ) {
- document.body.appendChild( emailDialog );
- }
-
WPCOMSharing_do();
}
if ( document.readyState !== 'loading' ) {
@@ -516,174 +566,26 @@
// Email button
forEachNode( group.querySelectorAll( 'a.share-email' ), function ( emailButton ) {
- var dialog = document.querySelector( '#sharing_email' );
+ setClickCountForButton( emailButton, 0 );
- emailButton.addEventListener( 'click', function ( event ) {
- event.preventDefault();
- event.stopPropagation();
+ var emailShareNonce = emailButton.getAttribute( 'data-email-share-nonce' );
+ var emailShareTrackerUrl = emailButton.getAttribute( 'data-email-share-track-url' );
- // Load reCAPTCHA if needed.
- if ( typeof grecaptcha !== 'object' && ! recaptchaScriptAdded ) {
- var configEl = document.querySelector( '.g-recaptcha' );
+ if (
+ emailShareNonce &&
+ emailShareTrackerUrl &&
+ isUrlForCurrentHost( emailShareTrackerUrl )
+ ) {
+ emailButton.addEventListener( 'click', function () {
+ trackButtonClick( emailButton );
- if ( configEl && configEl.getAttribute( 'data-lazy' ) === 'true' ) {
- recaptchaScriptAdded = true;
- loadScript( decodeURI( configEl.getAttribute( 'data-url' ) ) );
+ if ( getClickCountForButton( emailButton ) > 2 ) {
+ showEmailShareError( emailButton, group );
}
- }
-
- var url = emailButton.getAttribute( 'href' );
- var currentDomain = window.location.protocol + '//' + window.location.hostname + '/';
- if ( url.indexOf( currentDomain ) !== 0 ) {
- return true;
- }
-
- if ( ! isNodeHidden( dialog ) ) {
- closeEmailDialog();
- return;
- }
-
- removeNode( document.querySelector( '#sharing_email .response' ) );
- var form = document.querySelector( '#sharing_email form' );
- showNode( form );
- form.querySelector( 'input[type=submit]' ).removeAttribute( 'disabled' );
- showNode( form.querySelector( 'a.sharing_cancel' ) );
-
- // Reset reCATPCHA if exists.
- if (
- 'object' === typeof grecaptcha &&
- 'function' === typeof grecaptcha.reset &&
- window.___grecaptcha_cfg.count
- ) {
- grecaptcha.reset();
- }
-
- // Show dialog
- var rect = emailButton.getBoundingClientRect();
- var scrollLeft = window.pageXOffset || document.documentElement.scrollLeft || 0;
- var scrollTop = window.pageYOffset || document.documentElement.scrollTop || 0;
- dialog.style.left = scrollLeft + rect.left + 'px';
- dialog.style.top = scrollTop + rect.top + rect.height + 'px';
- showNode( dialog );
-
- // Close all open More Button dialogs.
- MoreButton.closeAll();
- } );
-
- // Hook up other buttons
- dialog.querySelector( 'a.sharing_cancel' ).addEventListener( 'click', function ( event ) {
- event.preventDefault();
- event.stopPropagation();
-
- hideNode( dialog.querySelector( '.errors' ) );
- hideNode( dialog );
- hideNode( document.querySelector( '#sharing_background' ) );
- } );
-
- var submitButton = dialog.querySelector( 'input[type=submit]' );
- submitButton.addEventListener( 'click', function ( event ) {
- event.preventDefault();
- event.stopPropagation();
-
- var form = closest( submitButton, 'form' );
- var source_email_input = form.querySelector( 'input[name=source_email]' );
- var target_email_input = form.querySelector( 'input[name=target_email]' );
-
- // Disable buttons + enable loading icon
- submitButton.setAttribute( 'disabled', true );
- hideNode( form.querySelector( 'a.sharing_cancel' ) );
- forEachNode( form.querySelectorAll( 'img.loading' ), function ( img ) {
- showNode( img );
+ recordEmailShareClick( emailShareTrackerUrl, emailShareNonce );
} );
-
- hideNode( form.querySelector( '.errors' ) );
-
- forEachNode( form.querySelectorAll( '.error' ), function ( node ) {
- node.classList.remove( 'error' );
- } );
-
- if ( ! shareIsEmail( source_email_input.value ) ) {
- source_email_input.classList.add( 'error' );
- }
-
- if ( ! shareIsEmail( target_email_input.value ) ) {
- target_email_input.classList.add( 'error' );
- }
-
- if ( ! form.querySelector( '.error' ) ) {
- // Encode form data. This would be much easier if we could rely on URLSearchParams...
- var params = [];
- for ( var i = 0; i < form.elements.length; i++ ) {
- if ( form.elements[ i ].name ) {
- // Encode each form element into a URI-compatible string.
- var encoded =
- encodeURIComponent( form.elements[ i ].name ) +
- '=' +
- encodeURIComponent( form.elements[ i ].value );
- // In x-www-form-urlencoded, spaces should be `+`, not `%20`.
- params.push( encoded.replace( '%20', '+' ) );
- }
- }
- var data = params.join( '&' );
-
- // AJAX send the form
- var request = new XMLHttpRequest();
- request.open( 'POST', emailButton.getAttribute( 'href' ), true );
- request.setRequestHeader(
- 'Content-Type',
- 'application/x-www-form-urlencoded; charset=UTF-8'
- );
- request.setRequestHeader( 'x-requested-with', 'XMLHttpRequest' );
-
- request.onreadystatechange = function () {
- if ( this.readyState === XMLHttpRequest.DONE && this.status === 200 ) {
- forEachNode( form.querySelectorAll( 'img.loading' ), function ( img ) {
- hideNode( img );
- } );
-
- if ( this.response === '1' || this.response === '2' || this.response === '3' ) {
- showNode( dialog.querySelector( '.errors-' + this.response ) );
- dialog.querySelector( 'input[type=submit]' ).removeAttribute( 'disabled' );
- showNode( dialog.querySelector( 'a.sharing_cancel' ) );
-
- if ( typeof grecaptcha === 'object' && typeof grecaptcha.reset === 'function' ) {
- grecaptcha.reset();
- }
- } else {
- hideNode( form );
- var temp = document.createElement( 'div' );
- temp.innerHTML = this.response;
- dialog.appendChild( temp.firstChild );
- showNode( dialog.querySelector( 'a.sharing_cancel' ) );
- var closeButton = dialog.querySelector( '.response a.sharing_cancel' );
- if ( closeButton ) {
- closeButton.addEventListener( 'click', function ( event ) {
- event.preventDefault();
- event.stopPropagation();
-
- closeEmailDialog();
- hideNode( document.querySelector( '#sharing_background' ) );
- } );
- }
- }
- }
- };
-
- request.send( data );
-
- return;
- }
-
- forEachNode( dialog.querySelectorAll( 'img.loading' ), function ( img ) {
- hideNode( img );
- } );
- submitButton.removeAttribute( 'disabled' );
- showNode( dialog.querySelector( 'a.sharing_cancel' ) );
- forEachNode( dialog.querySelectorAll( '.errors-1' ), function ( error ) {
- showNode( error );
- } );
- } );
+ }
} );
} );
diff --git a/plugins/jetpack/modules/sharedaddy/sharing.php b/plugins/jetpack/modules/sharedaddy/sharing.php
index 757dd4d5..f61472f9 100644
--- a/plugins/jetpack/modules/sharedaddy/sharing.php
+++ b/plugins/jetpack/modules/sharedaddy/sharing.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Set up Sharing functionality and management in wp-admin.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
@@ -7,24 +12,36 @@ if ( ! defined( 'WP_SHARING_PLUGIN_URL' ) ) {
define( 'WP_SHARING_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
}
+/**
+ * Utilities to manage sharing settings from wp-admin.
+ */
class Sharing_Admin {
+ /**
+ * Constructor.
+ * Hook into WordPress to add our functionality.
+ */
public function __construct() {
require_once WP_SHARING_PLUGIN_DIR . 'sharing-service.php';
- add_action( 'admin_init', array( &$this, 'admin_init' ) );
- add_action( 'admin_menu', array( &$this, 'subscription_menu' ) );
+ add_action( 'admin_init', array( $this, 'admin_init' ) );
+ add_action( 'admin_menu', array( $this, 'subscription_menu' ) );
// Insert our CSS and JS
- add_action( 'load-settings_page_sharing', array( &$this, 'sharing_head' ) );
+ add_action( 'load-settings_page_sharing', array( $this, 'sharing_head' ) );
// Catch AJAX
- add_action( 'wp_ajax_sharing_save_services', array( &$this, 'ajax_save_services' ) );
- add_action( 'wp_ajax_sharing_save_options', array( &$this, 'ajax_save_options' ) );
- add_action( 'wp_ajax_sharing_new_service', array( &$this, 'ajax_new_service' ) );
- add_action( 'wp_ajax_sharing_delete_service', array( &$this, 'ajax_delete_service' ) );
+ add_action( 'wp_ajax_sharing_save_services', array( $this, 'ajax_save_services' ) );
+ add_action( 'wp_ajax_sharing_save_options', array( $this, 'ajax_save_options' ) );
+ add_action( 'wp_ajax_sharing_new_service', array( $this, 'ajax_new_service' ) );
+ add_action( 'wp_ajax_sharing_delete_service', array( $this, 'ajax_delete_service' ) );
}
+ /**
+ * Enqueue scripts and styles on the sharing settings page.
+ *
+ * @return void
+ */
public function sharing_head() {
wp_enqueue_script(
'sharing-js',
@@ -33,7 +50,8 @@ class Sharing_Admin {
'modules/sharedaddy/admin-sharing.js'
),
array( 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-sortable', 'jquery-form' ),
- 2
+ 2,
+ false
);
/**
@@ -53,7 +71,7 @@ class Sharing_Admin {
wp_enqueue_style( 'sharing', WP_SHARING_PLUGIN_URL . 'sharing.css', false, JETPACK__VERSION );
wp_enqueue_style( 'social-logos' );
- wp_enqueue_script( 'sharing-js-fe', WP_SHARING_PLUGIN_URL . 'sharing.js', array(), 4 );
+ wp_enqueue_script( 'sharing-js-fe', WP_SHARING_PLUGIN_URL . 'sharing.js', array(), 4, false );
add_thickbox();
// On Jetpack sites, make sure we include CSS to style the admin page.
@@ -62,14 +80,27 @@ class Sharing_Admin {
}
}
+ /**
+ * Load the process that handles saving changes on the sharing settings page.
+ *
+ * @return void
+ */
public function admin_init() {
- if ( isset( $_GET['page'] ) && ( $_GET['page'] == 'sharing.php' || $_GET['page'] == 'sharing' ) ) {
+ if ( isset( $_GET['page'] ) && ( $_GET['page'] === 'sharing.php' || $_GET['page'] === 'sharing' ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- nonces are handled in process_requests.
$this->process_requests();
}
}
+ /**
+ * Save changes to sharing settings.
+ *
+ * @return void
+ */
public function process_requests() {
- if ( isset( $_POST['_wpnonce'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'sharing-options' ) ) {
+ if (
+ isset( $_POST['_wpnonce'] )
+ && wp_verify_nonce( sanitize_key( wp_unslash( $_POST['_wpnonce'] ) ), 'sharing-options' )
+ ) {
$sharer = new Sharing_Service();
$sharer->set_global_options( $_POST );
/**
@@ -86,10 +117,16 @@ class Sharing_Admin {
}
}
- public function subscription_menu( $user ) {
+ /**
+ * Register Sharing settings menu page.
+ */
+ public function subscription_menu() {
if ( ! defined( 'IS_WPCOM' ) || ! IS_WPCOM ) {
$active = Jetpack::get_active_modules();
- if ( ! in_array( 'publicize', $active ) && ! current_user_can( 'manage_options' ) ) {
+ if (
+ ! in_array( 'publicize', $active, true )
+ && ! current_user_can( 'manage_options' )
+ ) {
return;
}
}
@@ -100,23 +137,53 @@ class Sharing_Admin {
__( 'Sharing', 'jetpack' ),
'publish_posts',
'sharing',
- array( &$this, 'wrapper_admin_page' )
+ array( $this, 'wrapper_admin_page' )
);
}
+ /**
+ * Save changes to sharing services via AJAX.
+ *
+ * @return void
+ */
public function ajax_save_services() {
- if ( isset( $_POST['_wpnonce'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'sharing-options' ) && isset( $_POST['hidden'] ) && isset( $_POST['visible'] ) ) {
+ if (
+ isset( $_POST['_wpnonce'] )
+ && wp_verify_nonce( sanitize_key( wp_unslash( $_POST['_wpnonce'] ) ), 'sharing-options' )
+ && isset( $_POST['hidden'] )
+ && isset( $_POST['visible'] )
+ ) {
$sharer = new Sharing_Service();
- $sharer->set_blog_services( explode( ',', $_POST['visible'] ), explode( ',', $_POST['hidden'] ) );
+ $sharer->set_blog_services(
+ explode( ',', sanitize_text_field( wp_unslash( $_POST['visible'] ) ) ),
+ explode( ',', sanitize_text_field( wp_unslash( $_POST['hidden'] ) ) )
+ );
die();
}
}
+ /**
+ * Create a new custom sharing service via AJAX.
+ *
+ * @return void
+ */
public function ajax_new_service() {
- if ( isset( $_POST['_wpnonce'] ) && isset( $_POST['sharing_name'] ) && isset( $_POST['sharing_url'] ) && isset( $_POST['sharing_icon'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'sharing-new_service' ) ) {
- $sharer = new Sharing_Service();
- if ( $service = $sharer->new_service( stripslashes( $_POST['sharing_name'] ), stripslashes( $_POST['sharing_url'] ), stripslashes( $_POST['sharing_icon'] ) ) ) {
+ if (
+ isset( $_POST['_wpnonce'] )
+ && isset( $_POST['sharing_name'] )
+ && isset( $_POST['sharing_url'] )
+ && isset( $_POST['sharing_icon'] )
+ && wp_verify_nonce( sanitize_key( wp_unslash( $_POST['_wpnonce'] ) ), 'sharing-new_service' )
+ ) {
+ $sharer = new Sharing_Service();
+ $service = $sharer->new_service(
+ sanitize_text_field( wp_unslash( $_POST['sharing_name'] ) ),
+ esc_url_raw( wp_unslash( $_POST['sharing_url'] ) ),
+ esc_url_raw( wp_unslash( $_POST['sharing_icon'] ) )
+ );
+
+ if ( $service ) {
$this->output_service( $service->get_id(), $service );
echo '<!--->';
$service->button_style = 'icon-text';
@@ -130,22 +197,46 @@ class Sharing_Admin {
die( '1' );
}
+ /**
+ * Delete a sharing service via AJAX.
+ *
+ * @return void
+ */
public function ajax_delete_service() {
- if ( isset( $_POST['_wpnonce'] ) && isset( $_POST['service'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'sharing-options_' . $_POST['service'] ) ) {
+ if (
+ isset( $_POST['_wpnonce'] )
+ && isset( $_POST['service'] )
+ && wp_verify_nonce(
+ sanitize_key( wp_unslash( $_POST['_wpnonce'] ) ),
+ 'sharing-options_' . sanitize_text_field( wp_unslash( $_POST['service'] ) )
+ )
+ ) {
$sharer = new Sharing_Service();
- $sharer->delete_service( $_POST['service'] );
+ $sharer->delete_service( sanitize_text_field( wp_unslash( $_POST['service'] ) ) );
}
}
+ /**
+ * Save changes to sharing settings via AJAX.
+ *
+ * @return void
+ */
public function ajax_save_options() {
- if ( isset( $_POST['_wpnonce'] ) && isset( $_POST['service'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'sharing-options_' . $_POST['service'] ) ) {
- $sharer = new Sharing_Service();
- $service = $sharer->get_service( $_POST['service'] );
+ if (
+ isset( $_POST['_wpnonce'] )
+ && isset( $_POST['service'] )
+ && wp_verify_nonce(
+ sanitize_key( wp_unslash( $_POST['_wpnonce'] ) ),
+ 'sharing-options_' . sanitize_text_field( wp_unslash( $_POST['service'] ) )
+ )
+ ) {
+ $sharer = new Sharing_Service();
+ $service = $sharer->get_service( sanitize_text_field( wp_unslash( $_POST['service'] ) ) );
if ( $service && $service instanceof Sharing_Advanced_Source ) {
$service->update_options( $_POST );
- $sharer->set_service( $_POST['service'], $service );
+ $sharer->set_service( sanitize_text_field( wp_unslash( $_POST['service'] ) ), $service );
}
$this->output_service( $service->get_id(), $service, true );
@@ -156,80 +247,120 @@ class Sharing_Admin {
}
}
+ /**
+ * Display a preview of a sharing service.
+ *
+ * @param object $service Sharing service object.
+ *
+ * @return void
+ */
public function output_preview( $service ) {
-
$klasses = array( 'advanced', 'preview-item' );
- if ( $service->button_style != 'text' || $service->has_custom_button_style() ) {
+ if ( $service->button_style !== 'text' || $service->has_custom_button_style() ) {
$klasses[] = 'preview-' . $service->get_class();
$klasses[] = 'share-' . $service->get_class();
if ( $service->is_deprecated() ) {
$klasses[] = 'share-deprecated';
}
- if ( $service->get_class() != $service->get_id() ) {
+ if ( $service->get_class() !== $service->get_id() ) {
$klasses[] = 'preview-' . $service->get_id();
}
}
- echo '<li class="' . implode( ' ', $klasses ) . '">';
+ echo '<li class="' . esc_attr( implode( ' ', $klasses ) ) . '">';
$service->display_preview();
echo '</li>';
}
- public function output_service( $id, $service, $show_dropdown = false ) {
- $title = '';
- $klasses = array( 'service', 'advanced', 'share-' . $service->get_class() );
+ /**
+ * Display a specific sharing service.
+ *
+ * @param int $id Service unique ID.
+ * @param object $service Sharing service.
+ * @param bool $show_dropdown Display a dropdown. Not in use at the moment.
+ *
+ * @return void
+ */
+ public function output_service( $id, $service, $show_dropdown = false ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ $title = '';
+ $klasses = array( 'service', 'advanced', 'share-' . $service->get_class() );
+ $displayed_klasses = implode( ' ', $klasses );
+
if ( $service->is_deprecated() ) {
/* translators: %1$s is the name of a deprecated Sharing Service like "Google+" */
- $title = sprintf( __( 'The %1$s service has shut down. This sharing button is not displayed to your visitors and should be removed.', 'jetpack' ), $service->get_name() );
+ $title = sprintf( __( 'The %1$s service has shut down. This sharing button is not displayed to your visitors and should be removed.', 'jetpack' ), $service->get_name() );
$klasses[] = 'share-deprecated';
}
-?>
- <li class="<?php echo implode( ' ', $klasses ); ?>" id="<?php echo $service->get_id(); ?>" tabindex="0" title="<?php echo esc_attr( $title ); ?>">
+ ?>
+ <li class="<?php echo esc_attr( $displayed_klasses ); ?>" id="<?php echo esc_attr( $service->get_id() ); ?>" tabindex="0" title="<?php echo esc_attr( $title ); ?>">
<span class="options-left"><?php echo esc_html( $service->get_name() ); ?></span>
<?php if ( 0 === strpos( $service->get_id(), 'custom-' ) || $service->has_advanced_options() ) : ?>
<span class="close"><a href="#" class="remove">&times;</a></span>
- <form method="post" action="<?php echo admin_url( 'admin-ajax.php' ); ?>">
+ <form method="post" action="<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>">
<input type="hidden" name="action" value="sharing_delete_service" />
<input type="hidden" name="service" value="<?php echo esc_attr( $id ); ?>" />
- <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce( 'sharing-options_' . $id );?>" />
+ <input type="hidden" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( 'sharing-options_' . $id ) ); ?>" />
</form>
<?php endif; ?>
</li>
-<?php
+ <?php
}
+ /**
+ * Display admin UI within a Jetpack header and footer.
+ *
+ * @return void
+ */
public function wrapper_admin_page() {
- Jetpack_Admin_Page::wrap_ui( array( &$this, 'management_page' ), array( 'is-wide' =>true ) );
+ Jetpack_Admin_Page::wrap_ui( array( $this, 'management_page' ), array( 'is-wide' => true ) );
}
+ /**
+ * Sharing settings inner page structure.
+ *
+ * @return void
+ */
public function management_page() {
- $sharer = new Sharing_Service();
+ $sharer = new Sharing_Service();
$enabled = $sharer->get_blog_services();
- $global = $sharer->get_global_options();
+ $global = $sharer->get_global_options();
$shows = array_values( get_post_types( array( 'public' => true ) ) );
array_unshift( $shows, 'index' );
- if ( false == function_exists( 'mb_stripos' ) ) {
- echo '<div id="message" class="updated fade"><h3>' . __( 'Warning! Multibyte support missing!', 'jetpack' ) . '</h3>';
- echo '<p>' . sprintf( __( 'This plugin will work without it, but multibyte support is used <a href="%s" rel="noopener noreferrer" target="_blank">if available</a>. You may see minor problems with Tweets and other sharing services.', 'jetpack' ), 'https://www.php.net/manual/en/mbstring.installation.php' ) . '</p></div>';
+ if ( ! function_exists( 'mb_stripos' ) ) {
+ echo '<div id="message" class="updated fade"><h3>' . esc_html__( 'Warning! Multibyte support missing!', 'jetpack' ) . '</h3>';
+ echo '<p>' . wp_kses(
+ sprintf(
+ /* Translators: placeholder is a link to a PHP support document. */
+ __( 'This plugin will work without it, but multibyte support is used <a href="%s" rel="noopener noreferrer" target="_blank">if available</a>. You may see minor problems with Tweets and other sharing services.', 'jetpack' ),
+ 'https://www.php.net/manual/en/mbstring.installation.php'
+ ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ 'rel' => array(),
+ 'target' => array(),
+ ),
+ )
+ ) . '</p></div>';
}
- if ( isset( $_GET['update'] ) && $_GET['update'] == 'saved' ) {
- echo '<div class="updated"><p>' . __( 'Settings have been saved', 'jetpack' ) . '</p></div>';
+ if ( isset( $_GET['update'] ) && 'saved' === $_GET['update'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- only used to display a message.
+ echo '<div class="updated"><p>' . esc_html__( 'Settings have been saved', 'jetpack' ) . '</p></div>';
}
if ( ! isset( $global['sharing_label'] ) ) {
$global['sharing_label'] = __( 'Share this:', 'jetpack' );
}
-?>
+ ?>
<div class="wrap">
<div class="icon32" id="icon-options-general"><br /></div>
- <h1><?php _e( 'Sharing Settings', 'jetpack' ); ?></h1>
+ <h1><?php esc_html_e( 'Sharing Settings', 'jetpack' ); ?></h1>
<?php
/**
@@ -245,16 +376,16 @@ class Sharing_Admin {
<?php if ( current_user_can( 'manage_options' ) ) : ?>
<div class="share_manage_options">
- <h2><?php _e( 'Sharing Buttons', 'jetpack' ) ?></h2>
- <p><?php _e( 'Add sharing buttons to your blog and allow your visitors to share posts with their friends.', 'jetpack' ) ?></p>
+ <h2><?php esc_html_e( 'Sharing Buttons', 'jetpack' ); ?></h2>
+ <p><?php esc_html_e( 'Add sharing buttons to your blog and allow your visitors to share posts with their friends.', 'jetpack' ); ?></p>
<div id="services-config">
<table id="available-services">
<tr>
<td class="description">
- <h3><?php _e( 'Available Services', 'jetpack' ); ?></h3>
- <p><?php _e( "Drag and drop the services you'd like to enable into the box below.", 'jetpack' ); ?></p>
- <p><a href="#TB_inline?height=395&amp;width=600&amp;inlineId=new-service" class="thickbox" id="add-a-new-service"><?php _e( 'Add a new service', 'jetpack' ); ?></a></p>
+ <h3><?php esc_html_e( 'Available Services', 'jetpack' ); ?></h3>
+ <p><?php esc_html_e( "Drag and drop the services you'd like to enable into the box below.", 'jetpack' ); ?></p>
+ <p><a href="#TB_inline?height=395&amp;width=600&amp;inlineId=new-service" class="thickbox" id="add-a-new-service"><?php esc_html_e( 'Add a new service', 'jetpack' ); ?></a></p>
</td>
<td class="services">
<ul class="services-available" style="height: 100px;">
@@ -263,12 +394,12 @@ class Sharing_Admin {
if ( ! isset( $enabled['all'][ $id ] ) ) {
$this->output_service( $id, $service );
}
- ?>
+ ?>
<?php endforeach; ?>
</ul>
<?php
- if ( -1 == get_option( 'blog_public' ) ) {
- echo '<p><strong>' . __( 'Please note that your services have been restricted because your site is private.', 'jetpack' ) . '</strong></p>';
+ if ( -1 === get_option( 'blog_public' ) ) {
+ echo '<p><strong>' . esc_html__( 'Please note that your services have been restricted because your site is private.', 'jetpack' ) . '</strong></p>';
}
?>
<br class="clearing" />
@@ -280,13 +411,18 @@ class Sharing_Admin {
<tr>
<td class="description">
<h3>
- <?php _e( 'Enabled Services', 'jetpack' ); ?>
- <img src="<?php echo admin_url( 'images/loading.gif' ); ?>" width="16" height="16" alt="loading" style="vertical-align: middle; display: none" />
+ <?php esc_html_e( 'Enabled Services', 'jetpack' ); ?>
+ <img src="<?php echo esc_url( admin_url( 'images/loading.gif' ) ); ?>" width="16" height="16" alt="loading" style="vertical-align: middle; display: none" />
</h3>
- <p><?php _e( 'Services dragged here will appear individually.', 'jetpack' ); ?></p>
+ <p><?php esc_html_e( 'Services dragged here will appear individually.', 'jetpack' ); ?></p>
</td>
<td class="services" id="share-drop-target">
- <h2 id="drag-instructions" <?php if ( count( $enabled['visible'] ) > 0 ) { echo ' style="display: none"';} ?>><?php _e( 'Drag and drop available services here.', 'jetpack' ); ?></h2>
+ <h2 id="drag-instructions"
+ <?php
+ if ( count( $enabled['visible'] ) > 0 ) {
+ echo ' style="display: none"';}
+ ?>
+ ><?php esc_html_e( 'Drag and drop available services here.', 'jetpack' ); ?></h2>
<ul class="services-enabled">
<?php foreach ( $enabled['visible'] as $id => $service ) : ?>
@@ -297,7 +433,7 @@ class Sharing_Admin {
</ul>
</td>
<td id="hidden-drop-target" class="services">
- <p><?php _e( 'Services dragged here will be hidden behind a share button.', 'jetpack' ); ?></p>
+ <p><?php esc_html_e( 'Services dragged here will be hidden behind a share button.', 'jetpack' ); ?></p>
<ul class="services-hidden">
<?php foreach ( $enabled['hidden'] as $id => $service ) : ?>
@@ -312,10 +448,10 @@ class Sharing_Admin {
<table id="live-preview">
<tr>
<td class="description">
- <h3><?php _e( 'Live Preview', 'jetpack' ); ?></h3>
+ <h3><?php esc_html_e( 'Live Preview', 'jetpack' ); ?></h3>
</td>
<td class="services">
- <h2 <?php echo ( count( $enabled['all'] ) > 0 ) ? ' style="display: none"' : ''; ?>><?php _e( 'Sharing is off. Add services above to enable.', 'jetpack' ); ?></h2>
+ <h2 <?php echo ( count( $enabled['all'] ) > 0 ) ? ' style="display: none"' : ''; ?>><?php esc_html_e( 'Sharing is off. Add services above to enable.', 'jetpack' ); ?></h2>
<div class="sharedaddy sd-sharing-enabled">
<?php if ( count( $enabled['all'] ) > 0 ) : ?>
<h3 class="sd-title"><?php echo esc_html( $global['sharing_label'] ); ?></h3>
@@ -327,14 +463,14 @@ class Sharing_Admin {
<?php endforeach; ?>
<?php if ( count( $enabled['hidden'] ) > 0 ) : ?>
- <li class="advanced"><a href="#" class="sharing-anchor sd-button share-more"><span><?php _e( 'More', 'jetpack' ); ?></span></a></li>
+ <li class="advanced"><a href="#" class="sharing-anchor sd-button share-more"><span><?php esc_html_e( 'More', 'jetpack' ); ?></span></a></li>
<?php endif; ?>
</ul>
<?php if ( count( $enabled['hidden'] ) > 0 ) : ?>
<div class="sharing-hidden">
- <div class="inner" style="display: none; <?php echo count( $enabled['hidden'] ) == 1 ? 'width:150px;' : ''; ?>">
- <?php if ( count( $enabled['hidden'] ) == 1 ) : ?>
+ <div class="inner" style="display: none; <?php echo count( $enabled['hidden'] ) === 1 ? 'width:150px;' : ''; ?>">
+ <?php if ( count( $enabled['hidden'] ) === 1 ) : ?>
<ul style="background-image:none;">
<?php else : ?>
<ul>
@@ -359,11 +495,12 @@ class Sharing_Admin {
$service = $enabled['hidden'][ $id ];
}
- $service->button_style = 'icon-text'; // The archive needs the full text, which is removed in JS later
- $service->smart = false;
+ $service->button_style = 'icon-text'; // The archive needs the full text, which is removed in JS later.
+ $service->smart = false;
$this->output_preview( $service );
- endforeach; ?>
- <li class="advanced"><a href="#" class="sharing-anchor sd-button share-more"><span><?php _e( 'More', 'jetpack' ); ?></span></a></li>
+ endforeach;
+ ?>
+ <li class="advanced"><a href="#" class="sharing-anchor sd-button share-more"><span><?php esc_html_e( 'More', 'jetpack' ); ?></span></a></li>
</ul>
</div>
</div>
@@ -372,11 +509,11 @@ class Sharing_Admin {
</tr>
</table>
- <form method="post" action="<?php echo admin_url( 'admin-ajax.php' ); ?>" id="save-enabled-shares">
+ <form method="post" action="<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>" id="save-enabled-shares">
<input type="hidden" name="action" value="sharing_save_services" />
- <input type="hidden" name="visible" value="<?php echo implode( ',', array_keys( $enabled['visible'] ) ); ?>" />
- <input type="hidden" name="hidden" value="<?php echo implode( ',', array_keys( $enabled['hidden'] ) ); ?>" />
- <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce( 'sharing-options' );?>" />
+ <input type="hidden" name="visible" value="<?php echo esc_attr( implode( ',', array_keys( $enabled['visible'] ) ) ); ?>" />
+ <input type="hidden" name="hidden" value="<?php echo esc_attr( implode( ',', array_keys( $enabled['hidden'] ) ) ); ?>" />
+ <input type="hidden" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( 'sharing-options' ) ); ?>" />
</form>
</div>
@@ -384,18 +521,18 @@ class Sharing_Admin {
<table class="form-table">
<tbody>
<tr valign="top">
- <th scope="row"><label><?php _e( 'Button style', 'jetpack' ); ?></label></th>
+ <th scope="row"><label><?php esc_html_e( 'Button style', 'jetpack' ); ?></label></th>
<td>
<select name="button_style" id="button_style">
- <option<?php echo ( $global['button_style'] == 'icon-text' ) ? ' selected="selected"' : ''; ?> value="icon-text"><?php _e( 'Icon + text', 'jetpack' ); ?></option>
- <option<?php echo ( $global['button_style'] == 'icon' ) ? ' selected="selected"' : ''; ?> value="icon"><?php _e( 'Icon only', 'jetpack' ); ?></option>
- <option<?php echo ( $global['button_style'] == 'text' ) ? ' selected="selected"' : ''; ?> value="text"><?php _e( 'Text only', 'jetpack' ); ?></option>
- <option<?php echo ( $global['button_style'] == 'official' ) ? ' selected="selected"' : ''; ?> value="official"><?php _e( 'Official buttons', 'jetpack' ); ?></option>
+ <option<?php echo ( $global['button_style'] === 'icon-text' ) ? ' selected="selected"' : ''; ?> value="icon-text"><?php esc_html_e( 'Icon + text', 'jetpack' ); ?></option>
+ <option<?php echo ( $global['button_style'] === 'icon' ) ? ' selected="selected"' : ''; ?> value="icon"><?php esc_html_e( 'Icon only', 'jetpack' ); ?></option>
+ <option<?php echo ( $global['button_style'] === 'text' ) ? ' selected="selected"' : ''; ?> value="text"><?php esc_html_e( 'Text only', 'jetpack' ); ?></option>
+ <option<?php echo ( $global['button_style'] === 'official' ) ? ' selected="selected"' : ''; ?> value="official"><?php esc_html_e( 'Official buttons', 'jetpack' ); ?></option>
</select>
</td>
</tr>
<tr valign="top">
- <th scope="row"><label><?php _e( 'Sharing label', 'jetpack' ); ?></label></th>
+ <th scope="row"><label><?php esc_html_e( 'Sharing label', 'jetpack' ); ?></label></th>
<td>
<input type="text" name="sharing_label" value="<?php echo esc_attr( $global['sharing_label'] ); ?>" />
</td>
@@ -410,28 +547,28 @@ class Sharing_Admin {
*
* @param string $var Opening HTML tag at the beginning of the "Show button on" row.
*/
- echo apply_filters( 'sharing_show_buttons_on_row_start', '<tr valign="top">' );
+ echo apply_filters( 'sharing_show_buttons_on_row_start', '<tr valign="top">' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
- <th scope="row"><label><?php _e( 'Show buttons on', 'jetpack' ); ?></label></th>
+ <th scope="row"><label><?php esc_html_e( 'Show buttons on', 'jetpack' ); ?></label></th>
<td>
<?php
$br = false;
foreach ( $shows as $show ) :
- if ( 'index' == $show ) {
+ if ( 'index' === $show ) {
$label = __( 'Front Page, Archive Pages, and Search Results', 'jetpack' );
} else {
$post_type_object = get_post_type_object( $show );
- $label = $post_type_object->labels->name;
+ $label = $post_type_object->labels->name;
}
- ?>
- <?php
- if ( $br ) {
- echo '<br />';
- }
- ?>
- <label><input type="checkbox"<?php checked( in_array( $show, $global['show'] ) ); ?> name="show[]" value="<?php echo esc_attr( $show ); ?>" /> <?php echo esc_html( $label ); ?></label>
- <?php
- $br = true;
+ ?>
+ <?php
+ if ( $br ) {
+ echo '<br />';
+ }
+ ?>
+ <label><input type="checkbox"<?php checked( in_array( $show, $global['show'], true ) ); ?> name="show[]" value="<?php echo esc_attr( $show ); ?>" /> <?php echo esc_html( $label ); ?></label>
+ <?php
+ $br = true;
endforeach;
?>
</td>
@@ -445,7 +582,7 @@ class Sharing_Admin {
*
* @param string $var Closing HTML tag at the end of the "Show button on" row.
*/
- echo apply_filters( 'sharing_show_buttons_on_row_end', '</tr>' );
+ echo apply_filters( 'sharing_show_buttons_on_row_end', '</tr>' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
<?php
@@ -465,40 +602,40 @@ class Sharing_Admin {
<input type="submit" name="submit" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'jetpack' ); ?>" />
</p>
- <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce( 'sharing-options' );?>" />
+ <input type="hidden" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( 'sharing-options' ) ); ?>" />
</form>
<div id="new-service" style="display: none">
- <form method="post" action="<?php echo admin_url( 'admin-ajax.php' ); ?>" id="new-service-form">
+ <form method="post" action="<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>" id="new-service-form">
<table class="form-table">
<tbody>
<tr valign="top">
- <th scope="row" width="100"><label><?php _e( 'Service name', 'jetpack' ); ?></label></th>
+ <th scope="row" width="100"><label><?php esc_html_e( 'Service name', 'jetpack' ); ?></label></th>
<td>
<input type="text" name="sharing_name" id="new_sharing_name" size="40" />
</td>
</tr>
<tr valign="top">
- <th scope="row" width="100"><label><?php _e( 'Sharing URL', 'jetpack' ); ?></label></th>
+ <th scope="row" width="100"><label><?php esc_html_e( 'Sharing URL', 'jetpack' ); ?></label></th>
<td>
<input type="text" name="sharing_url" id="new_sharing_url" size="40" />
- <p><?php _e( 'You can add the following variables to your service sharing URL:', 'jetpack' ); ?><br/>
+ <p><?php esc_html_e( 'You can add the following variables to your service sharing URL:', 'jetpack' ); ?><br/>
<code>%post_id%</code>, <code>%post_title%</code>, <code>%post_slug%</code>, <code>%post_url%</code>, <code>%post_full_url%</code>, <code>%post_excerpt%</code>, <code>%post_tags%</code>, <code>%home_url%</code></p>
</td>
</tr>
<tr valign="top">
- <th scope="row" width="100"><label><?php _e( 'Icon URL', 'jetpack' ); ?></label></th>
+ <th scope="row" width="100"><label><?php esc_html_e( 'Icon URL', 'jetpack' ); ?></label></th>
<td>
<input type="text" name="sharing_icon" id="new_sharing_icon" size="40" />
- <p><?php _e( 'Enter the URL of a 16x16px icon you want to use for this service.', 'jetpack' ); ?></p>
+ <p><?php esc_html_e( 'Enter the URL of a 16x16px icon you want to use for this service.', 'jetpack' ); ?></p>
</td>
</tr>
<tr valign="top" width="100">
<th scope="row"></th>
<td>
<input type="submit" class="button-primary" value="<?php esc_attr_e( 'Create Share Button', 'jetpack' ); ?>" />
- <img src="<?php echo admin_url( 'images/loading.gif' ); ?>" width="16" height="16" alt="loading" style="vertical-align: middle; display: none" />
+ <img src="<?php echo esc_url( admin_url( 'images/loading.gif' ) ); ?>" width="16" height="16" alt="loading" style="vertical-align: middle; display: none" />
</td>
</tr>
@@ -515,23 +652,23 @@ class Sharing_Admin {
</tbody>
</table>
- <?php
- /**
- * Fires at the bottom of the admin sharing settings screen.
- *
- * @module sharedaddy
- *
- * @since 1.6.0
- */
- do_action( 'post_admin_screen_sharing' );
- ?>
+ <?php
+ /**
+ * Fires at the bottom of the admin sharing settings screen.
+ *
+ * @module sharedaddy
+ *
+ * @since 1.6.0
+ */
+ do_action( 'post_admin_screen_sharing' );
+ ?>
<div class="inerror" style="display: none; margin-top: 15px">
- <p><?php _e( 'An error occurred creating your new sharing service - please check you gave valid details.', 'jetpack' ); ?></p>
+ <p><?php esc_html_e( 'An error occurred creating your new sharing service - please check you gave valid details.', 'jetpack' ); ?></p>
</div>
<input type="hidden" name="action" value="sharing_new_service" />
- <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce( 'sharing-new_service' );?>" />
+ <input type="hidden" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( 'sharing-new_service' ) ); ?>" />
</form>
</div>
</div>
@@ -543,17 +680,24 @@ class Sharing_Admin {
<script type="text/javascript">
var sharing_loading_icon = '<?php echo esc_js( admin_url( '/images/loading.gif' ) ); ?>';
- <?php if ( isset( $_GET['create_new_service'] ) && 'true' == $_GET['create_new_service'] ) : ?>
+ <?php
+ // phpcs:disable WordPress.Security.NonceVerification.Recommended -- we handle the nonce on the PHP side.
+ if (
+ isset( $_GET['create_new_service'], $_GET['name'], $_GET['url'], $_GET['icon'] )
+ && 'true' == $_GET['create_new_service'] // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ ) :
+ ?>
jQuery(document).ready(function() {
// Prefill new service box and then open it
- jQuery( '#new_sharing_name' ).val( '<?php echo esc_js( $_GET['name'] ); ?>' );
- jQuery( '#new_sharing_url' ).val( '<?php echo esc_js( $_GET['url'] ); ?>' );
- jQuery( '#new_sharing_icon' ).val( '<?php echo esc_js( $_GET['icon'] ); ?>' );
+ jQuery( '#new_sharing_name' ).val( '<?php echo esc_js( sanitize_text_field( wp_unslash( $_GET['name'] ) ) ); ?>' );
+ jQuery( '#new_sharing_url' ).val( '<?php echo esc_js( sanitize_text_field( wp_unslash( $_GET['url'] ) ) ); ?>' );
+ jQuery( '#new_sharing_icon' ).val( '<?php echo esc_js( sanitize_text_field( wp_unslash( $_GET['icon'] ) ) ); ?>' );
jQuery( '#add-a-new-service' ).click();
});
<?php endif; ?>
</script>
-<?php
+ <?php
+ // phpcs:enable WordPress.Security.NonceVerification.Recommended
}
}
@@ -563,6 +707,10 @@ class Sharing_Admin {
* When the sharing_disabled post_meta is unset, we follow the global setting in Sharing.
* When it is set to 1, we disable sharing on the post, regardless of the global setting.
* It is not possible to enable sharing on a post if it is disabled globally.
+ *
+ * @param array $post The post object.
+ *
+ * @return bool
*/
function jetpack_post_sharing_get_value( array $post ) {
// if sharing IS disabled on this post, enabled=false, so negate the meta
@@ -577,6 +725,10 @@ function jetpack_post_sharing_get_value( array $post ) {
* When it is set to 1, we disable sharing on the post, regardless of the global setting.
* It is not possible to enable sharing on a post if it is disabled globally.
*
+ * @param bool $enable_sharing Should sharing be enabled on this post.
+ * @param WP_Post $post_object The post object.
+ *
+ * @return int|bool
*/
function jetpack_post_sharing_update_value( $enable_sharing, $post_object ) {
if ( $enable_sharing ) {
@@ -625,6 +777,11 @@ add_action( 'rest_api_init', 'jetpack_post_sharing_register_rest_field' );
// restapi_theme_init because they depend on theme support, so let's also hook to that
add_action( 'restapi_theme_init', 'jetpack_post_likes_register_rest_field', 20 );
+/**
+ * Initialize sharing settings in WP Admin.
+ *
+ * @return void
+ */
function sharing_admin_init() {
global $sharing_admin;
diff --git a/plugins/jetpack/modules/shortcodes.php b/plugins/jetpack/modules/shortcodes.php
index 39e18d49..cb77ca92 100644
--- a/plugins/jetpack/modules/shortcodes.php
+++ b/plugins/jetpack/modules/shortcodes.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Module Name: Shortcode Embeds
* Module Description: Shortcodes are WordPress-specific markup that let you add media from popular sites. This feature is no longer necessary as the editor now handles media embeds rather gracefully.
@@ -10,7 +9,9 @@
* Auto Activate: No
* Module Tags: Photos and Videos, Social, Writing, Appearance
* Feature: Writing
- * Additional Search Queries: shortcodes, shortcode, embeds, media, bandcamp, dailymotion, facebook, flickr, google calendars, google maps, google+, polldaddy, recipe, recipes, scribd, slideshare, slideshow, slideshows, soundcloud, ted, twitter, vimeo, vine, youtube
+ * Additional Search Queries: shortcodes, shortcode, embeds, media, bandcamp, dailymotion, facebook, flickr, google calendars, google maps, polldaddy, recipe, recipes, scribd, slideshare, slideshow, slideshows, soundcloud, ted, twitter, vimeo, vine, youtube
+ *
+ * @package automattic/jetpack
*/
/**
@@ -47,7 +48,7 @@ function shortcode_new_to_old_params( $params, $old_format_support = false ) {
function jetpack_load_shortcodes() {
$shortcode_includes = array();
- foreach ( Jetpack::glob_php( dirname( __FILE__ ) . '/shortcodes' ) as $file ) {
+ foreach ( Jetpack::glob_php( __DIR__ . '/shortcodes' ) as $file ) {
$filename = substr( basename( $file ), 0, -4 );
$shortcode_includes[ $filename ] = $file;
@@ -178,7 +179,7 @@ function wpcom_shortcodereverse_parseattr( $attrs ) {
$attrs = shortcode_atts( $defaults, $attrs );
- $attrs['src'] = strip_tags( $attrs['src'] ); // For sanity
+ $attrs['src'] = wp_strip_all_tags( $attrs['src'] ); // For sanity.
$attrs['width'] = ( is_numeric( $attrs['width'] ) ) ? abs( (int) $attrs['width'] ) : $defaults['width'];
$attrs['height'] = ( is_numeric( $attrs['height'] ) ) ? abs( (int) $attrs['height'] ) : $defaults['height'];
@@ -188,6 +189,11 @@ function wpcom_shortcodereverse_parseattr( $attrs ) {
/**
* When an embed service goes away, we can use this handler
* to output a link for history's sake.
+ *
+ * @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.
+ * @return string Link to output.
*/
function jetpack_deprecated_embed_handler( $matches, $attr, $url ) {
return sprintf( '<a href="%s">%s</a>', esc_url( $url ), esc_html( esc_url( $url ) ) );
diff --git a/plugins/jetpack/modules/shortcodes/css/recipes-print.min.css b/plugins/jetpack/modules/shortcodes/css/recipes-print.min.css
index 52cf81bf..c21ef4c8 100644
--- a/plugins/jetpack/modules/shortcodes/css/recipes-print.min.css
+++ b/plugins/jetpack/modules/shortcodes/css/recipes-print.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
.jetpack-recipe-meta li.jetpack-recipe-print{display:none}.jetpack-recipe-title{font-size:16pt}.jetpack-recipe-content img{display:inline-block!important;max-width:100%}.jetpack-recipe-image{display:none!important}.jetpack-recipe-content .aligncenter{display:block!important;margin:0 auto 1em!important;text-align:center!important}.jetpack-recipe-content .alignright{float:right!important;margin:0 0 .5em 1em!important}.jetpack-recipe-content .alignleft{float:left!important;margin:0 1em .5em 0!important}.jetpack-recipe-content .alignnone{display:inline-block} \ No newline at end of file
diff --git a/plugins/jetpack/modules/shortcodes/css/recipes-rtl.css b/plugins/jetpack/modules/shortcodes/css/recipes-rtl.css
index a0492b5f..ee8280a6 100644
--- a/plugins/jetpack/modules/shortcodes/css/recipes-rtl.css
+++ b/plugins/jetpack/modules/shortcodes/css/recipes-rtl.css
@@ -1 +1 @@
-.jetpack-recipe{border:1px solid #f2f2f2;border-radius:1px;clear:both;margin:1.5em 1%;padding:1% 2%}.jetpack-recipe-title{border-bottom:1px solid #ccc;margin:.25em 0;padding:.25em 0}.jetpack-recipe .jetpack-recipe-meta{display:block;font-size:.9em;list-style-type:none;margin-left:0;margin-right:0;padding:0;overflow:hidden;width:100%}.jetpack-recipe .jetpack-recipe-meta li{float:right;list-style-type:none;margin:0;padding:0 0 0 5%}.jetpack-recipe-meta li.jetpack-recipe-print{float:left;padding-left:0;text-align:left}.jetpack-recipe-notes{font-style:italic} \ No newline at end of file
+.jetpack-recipe{border:1px solid #f2f2f2;border-radius:1px;clear:both;margin:1.5em 1%;padding:1% 2%}.jetpack-recipe-title{border-bottom:1px solid #ccc;margin:.25em 0;padding:.25em 0}.jetpack-recipe .jetpack-recipe-meta{display:block;font-size:.9em;list-style-type:none;margin-left:0;margin-right:0;overflow:hidden;padding:0;width:100%}.jetpack-recipe .jetpack-recipe-meta li{float:right;list-style-type:none;margin:0;padding:0 0 0 5%}.jetpack-recipe-meta li.jetpack-recipe-print{float:left;padding-left:0;text-align:left}.jetpack-recipe-notes{font-style:italic} \ No newline at end of file
diff --git a/plugins/jetpack/modules/shortcodes/css/recipes-rtl.min.css b/plugins/jetpack/modules/shortcodes/css/recipes-rtl.min.css
index a0492b5f..ee8280a6 100644
--- a/plugins/jetpack/modules/shortcodes/css/recipes-rtl.min.css
+++ b/plugins/jetpack/modules/shortcodes/css/recipes-rtl.min.css
@@ -1 +1 @@
-.jetpack-recipe{border:1px solid #f2f2f2;border-radius:1px;clear:both;margin:1.5em 1%;padding:1% 2%}.jetpack-recipe-title{border-bottom:1px solid #ccc;margin:.25em 0;padding:.25em 0}.jetpack-recipe .jetpack-recipe-meta{display:block;font-size:.9em;list-style-type:none;margin-left:0;margin-right:0;padding:0;overflow:hidden;width:100%}.jetpack-recipe .jetpack-recipe-meta li{float:right;list-style-type:none;margin:0;padding:0 0 0 5%}.jetpack-recipe-meta li.jetpack-recipe-print{float:left;padding-left:0;text-align:left}.jetpack-recipe-notes{font-style:italic} \ No newline at end of file
+.jetpack-recipe{border:1px solid #f2f2f2;border-radius:1px;clear:both;margin:1.5em 1%;padding:1% 2%}.jetpack-recipe-title{border-bottom:1px solid #ccc;margin:.25em 0;padding:.25em 0}.jetpack-recipe .jetpack-recipe-meta{display:block;font-size:.9em;list-style-type:none;margin-left:0;margin-right:0;overflow:hidden;padding:0;width:100%}.jetpack-recipe .jetpack-recipe-meta li{float:right;list-style-type:none;margin:0;padding:0 0 0 5%}.jetpack-recipe-meta li.jetpack-recipe-print{float:left;padding-left:0;text-align:left}.jetpack-recipe-notes{font-style:italic} \ No newline at end of file
diff --git a/plugins/jetpack/modules/shortcodes/css/recipes.min.css b/plugins/jetpack/modules/shortcodes/css/recipes.min.css
index e4e36a3d..d4ae4f51 100644
--- a/plugins/jetpack/modules/shortcodes/css/recipes.min.css
+++ b/plugins/jetpack/modules/shortcodes/css/recipes.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.jetpack-recipe{border:1px solid #f2f2f2;border-radius:1px;clear:both;margin:1.5em 1%;padding:1% 2%}.jetpack-recipe-title{border-bottom:1px solid #ccc;margin:.25em 0;padding:.25em 0}.jetpack-recipe .jetpack-recipe-meta{display:block;font-size:.9em;list-style-type:none;margin-right:0;margin-left:0;padding:0;overflow:hidden;width:100%}.jetpack-recipe .jetpack-recipe-meta li{float:left;list-style-type:none;margin:0;padding:0 5% 0 0}.jetpack-recipe-meta li.jetpack-recipe-print{float:right;padding-right:0;text-align:right}.jetpack-recipe-notes{font-style:italic} \ No newline at end of file
+.jetpack-recipe{border:1px solid #f2f2f2;border-radius:1px;clear:both;margin:1.5em 1%;padding:1% 2%}.jetpack-recipe-title{border-bottom:1px solid #ccc;margin:.25em 0;padding:.25em 0}.jetpack-recipe .jetpack-recipe-meta{display:block;font-size:.9em;list-style-type:none;margin-left:0;margin-right:0;overflow:hidden;padding:0;width:100%}.jetpack-recipe .jetpack-recipe-meta li{float:left;list-style-type:none;margin:0;padding:0 5% 0 0}.jetpack-recipe-meta li.jetpack-recipe-print{float:right;padding-right:0;text-align:right}.jetpack-recipe-notes{font-style:italic} \ No newline at end of file
diff --git a/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.css b/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.css
index 24bed853..2a6da72a 100644
--- a/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.css
+++ b/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.css
@@ -1,145 +1,157 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.slideshow-window {
- background-color: #222;
- border: 20px solid #222;
- border-radius: 10px;
- height: 0;
- margin-bottom: 20px;
- overflow: hidden;
- padding-top: 30px !important;
- padding-bottom: 56.25% !important;
- position: relative;
- z-index: 1;
-}
-
-.slideshow-window.slideshow-white {
- background-color: #fff;
- border-color: #fff;
-}
-
-.slideshow-window, .slideshow-window * {
- box-sizing: content-box;
-}
-
-.slideshow-loading {
- height: 100%;
- text-align: center;
- margin: auto;
-}
-
-body div.slideshow-window * img {
- /* Override any styles that might be present in the page stylesheet */
- background-color: transparent !important;
- background-image: none !important;
- border-width: 0 !important;
- display: block;
- margin: 0 auto;
- max-width: 100%;
- max-height: 100%;
- padding: 0 !important;
- position: relative;
- transform: translateY(-50%);
- top: 50%;
-}
-
-.slideshow-loading img {
- vertical-align: middle;
-}
-
-.slideshow-slide {
- display: none;
- height: 100% !important;
- right: 0;
- margin: auto;
- position: absolute;
- text-align: center;
- top: 0;
- width: 100% !important;
-}
-
-.slideshow-slide img {
- vertical-align: middle;
-}
-
-.slideshow-line-height-hack {
- overflow: hidden;
- width: 0px;
- font-size: 0px;
-}
-
-.slideshow-slide-caption {
- font-size: 13px;
- font-family: "Helvetica Neue", sans-serif;
- color: #f6f7f7;
- text-shadow: #222 -1px 1px 2px;
- line-height: 25px;
- height: 25px;
- position: absolute;
- bottom: 5px;
- right: 0;
- z-index: 100;
- width: 100%;
- text-align: center;
-}
-
-.slideshow-controls {
- z-index: 1000;
- position: absolute;
- bottom: 30px;
- margin: auto;
- text-align: center;
- width: 100%;
- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
- opacity: 0.5;
- direction:ltr;
- transition: 300ms opacity ease-out;
-}
-
-.slideshow-window:hover .slideshow-controls {
- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
- opacity: 1;
-}
-
-body div div.slideshow-controls a,
-body div div.slideshow-controls a:hover {
- border:2px solid rgba(255,255,255,0.1) !important;
- background-color: #000 !important;
- background-color: rgba(0,0,0,0.6) !important;
- background-image: url('../img/slideshow-controls.png') !important;
- background-repeat: no-repeat;
- background-size: 142px 16px !important;
- background-position: -34px 8px !important;
- color: #222 !important;
- margin: 0 5px !important;
- padding: 0 !important;
- display: inline-block !important;
- *display: inline;
- zoom: 1;
- height: 32px !important;
- width: 32px !important;
- line-height: 32px !important;
- text-align: center !important;
- border-radius: 10em !important;
- transition: 300ms border-color ease-out;
+.jetpack-slideshow-window {
+ background-color: #222;
+ border: 20px solid #222;
+ border-radius: 10px;
+ height: 0;
+ margin-bottom: 20px;
+ overflow: hidden;
+ padding-top: 30px !important;
+ padding-bottom: 56.25% !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: content-box;
+}
+
+.jetpack-slideshow-loading {
+ height: 100%;
+ text-align: center;
+ margin: auto;
+}
+
+body div.jetpack-slideshow-window * img {
+ /* Override any styles that might be present in the page stylesheet */
+ background-color: transparent !important;
+ background-image: none !important;
+ border-width: 0 !important;
+ display: block;
+ margin: 0 auto;
+ max-width: 100%;
+ max-height: 100%;
+ padding: 0 !important;
+ position: relative;
+ transform: translateY(-50%);
+ top: 50%;
+}
+
+.jetpack-slideshow-loading img {
+ vertical-align: middle;
+}
+
+.jetpack-slideshow-slide {
+ display: none;
+ height: 100% !important;
+ right: 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 {
+ overflow: hidden;
+ width: 0px;
+ font-size: 0px;
+}
+
+.jetpack-slideshow-slide-caption {
+ font-size: 13px;
+ font-family: "Helvetica Neue", sans-serif;
+ color: #f6f7f7;
+ text-shadow: #222 -1px 1px 2px;
+ line-height: 25px;
+ height: 25px;
+ position: absolute;
+ bottom: 5px;
+ right: 0;
+ z-index: 100;
+ width: 100%;
+ text-align: center;
+}
+
+.jetpack-slideshow-controls {
+ z-index: 1000;
+ position: absolute;
+ bottom: 30px;
+ margin: auto;
+ text-align: center;
+ width: 100%;
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
+ opacity: 0.5;
+ direction: ltr;
+ transition: 300ms opacity ease-out;
+}
+
+.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 {
+ border: 2px solid rgba(255, 255, 255, 0.1) !important;
+ background-color: #000 !important;
+ background-color: rgba(0, 0, 0, 0.6) !important;
+ background-image: url(../../../modules/shortcodes/img/slideshow-controls.png) !important;
+ background-repeat: no-repeat;
+ background-size: 142px 16px !important;
+ background-position: -34px 8px !important;
+ color: #222 !important;
+ margin: 0 5px !important;
+ padding: 0 !important;
+ display: inline-block !important;
+ *display: inline;
+ zoom: 1;
+ height: 32px !important;
+ width: 32px !important;
+ line-height: 32px !important;
+ text-align: center !important;
+ border-radius: 10em !important;
+ transition: 300ms border-color ease-out;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
- body div div.slideshow-controls a,
- body div div.slideshow-controls a:hover {
- background-image: url('../img/slideshow-controls-2x.png') !important;
- }
+ 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: white !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:nth-child(2) {
+ background-position: -34px 8px !important;
}
-body div div.slideshow-controls a:hover {
- border-color: rgba(255,255,255,1) !important;
+body div div.jetpack-slideshow-controls a.running {
+ background-position: -34px 8px !important;
}
-body div div.slideshow-controls a:first-child { background-position: -76px 8px !important;}
-body div div.slideshow-controls a:last-child { background-position: -117px 8px !important;}
-body div div.slideshow-controls a:nth-child(2) { background-position: -34px 8px !important;}
-body div div.slideshow-controls a.running { background-position: -34px 8px !important;}
-body div div.slideshow-controls a.paused { background-position: 9px 8px !important;}
+body div div.jetpack-slideshow-controls a.paused {
+ background-position: 9px 8px !important;
+}
-.slideshow-controls a img {
- border: 50px dotted fuchsia;
+.jetpack-slideshow-controls a img {
+ border: 50px dotted fuchsia;
}
diff --git a/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css b/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css
index bd65a5ca..302ee2e5 100644
--- a/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css
+++ b/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css
@@ -1 +1 @@
-.slideshow-window{background-color:#222;border:20px solid #222;border-radius:10px;height:0;margin-bottom:20px;overflow:hidden;padding-top:30px!important;padding-bottom:56.25%!important;position:relative;z-index:1}.slideshow-window.slideshow-white{background-color:#fff;border-color:#fff}.slideshow-window,.slideshow-window *{box-sizing:content-box}.slideshow-loading{height:100%;text-align:center;margin:auto}body div.slideshow-window * img{background-color:transparent!important;background-image:none!important;border-width:0!important;display:block;margin:0 auto;max-width:100%;max-height:100%;padding:0!important;position:relative;transform:translateY(-50%);top:50%}.slideshow-loading img{vertical-align:middle}.slideshow-slide{display:none;height:100%!important;right:0;margin:auto;position:absolute;text-align:center;top:0;width:100%!important}.slideshow-slide img{vertical-align:middle}.slideshow-line-height-hack{overflow:hidden;width:0;font-size:0}.slideshow-slide-caption{font-size:13px;font-family:"Helvetica Neue",sans-serif;color:#f6f7f7;text-shadow:#222 -1px 1px 2px;line-height:25px;height:25px;position:absolute;bottom:5px;right:0;z-index:100;width:100%;text-align:center}.slideshow-controls{z-index:1000;position:absolute;bottom:30px;margin:auto;text-align:center;width:100%;opacity:.5;direction:ltr;transition:.3s opacity ease-out}.slideshow-window:hover .slideshow-controls{opacity:1}body div div.slideshow-controls a,body div div.slideshow-controls a:hover{border:2px solid rgba(255,255,255,.1)!important;background-color:#000!important;background-color:rgba(0,0,0,.6)!important;background-image:url(../img/slideshow-controls.png)!important;background-repeat:no-repeat;background-size:142px 16px!important;background-position:-34px 8px!important;color:#222!important;margin:0 5px!important;padding:0!important;display:inline-block!important;zoom:1;height:32px!important;width:32px!important;line-height:32px!important;text-align:center!important;border-radius:10em!important;transition:.3s border-color ease-out}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body div div.slideshow-controls a,body div div.slideshow-controls a:hover{background-image:url(../img/slideshow-controls-2x.png)!important}}body div div.slideshow-controls a:hover{border-color:#fff!important}body div div.slideshow-controls a:first-child{background-position:-76px 8px!important}body div div.slideshow-controls a:last-child{background-position:-117px 8px!important}body div div.slideshow-controls a:nth-child(2){background-position:-34px 8px!important}body div div.slideshow-controls a.running{background-position:-34px 8px!important}body div div.slideshow-controls a.paused{background-position:9px 8px!important}.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:content-box}.jetpack-slideshow-loading{height:100%;margin:auto;text-align:center}body div.jetpack-slideshow-window * img{background-color:transparent!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{zoom:1;background-color:#000!important;background-color:rgba(0,0,0,.6)!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 hsla(0,0%,100%,.1)!important;border-radius:10em!important;color:#222!important;display:inline-block!important;*display:inline;height:32px!important;line-height:32px!important;margin:0 5px!important;padding:0!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/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css b/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css
index 6a02b8f7..753f5874 100644
--- a/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css
+++ b/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css
@@ -1,4 +1,4 @@
-.slideshow-window {
+.jetpack-slideshow-window {
background-color: #222;
border: 20px solid #222;
border-radius: 10px;
@@ -11,24 +11,24 @@
z-index: 1;
}
-.slideshow-window.slideshow-white {
+.jetpack-slideshow-window.jetpack-slideshow-white {
background-color: #fff;
border-color: #fff;
}
-.slideshow-window, .slideshow-window * {
+.jetpack-slideshow-window, .jetpack-slideshow-window * {
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
-.slideshow-loading {
+.jetpack-slideshow-loading {
height: 100%;
text-align: center;
margin: auto;
}
-body div.slideshow-window * img {
+body div.jetpack-slideshow-window * img {
/* Override any styles that might be present in the page stylesheet */
background-color: transparent !important;
background-image: none !important;
@@ -45,11 +45,11 @@ body div.slideshow-window * img {
top: 50%;
}
-.slideshow-loading img {
+.jetpack-slideshow-loading img {
vertical-align: middle;
}
-.slideshow-slide {
+.jetpack-slideshow-slide {
display: none;
height: 100% !important;
left: 0;
@@ -60,17 +60,17 @@ body div.slideshow-window * img {
width: 100% !important;
}
-.slideshow-slide img {
+.jetpack-slideshow-slide img {
vertical-align: middle;
}
-.slideshow-line-height-hack {
+.jetpack-slideshow-line-height-hack {
overflow: hidden;
width: 0px;
font-size: 0px;
}
-.slideshow-slide-caption {
+.jetpack-slideshow-slide-caption {
font-size: 13px;
font-family: "Helvetica Neue", sans-serif;
color: #f6f7f7;
@@ -85,7 +85,7 @@ body div.slideshow-window * img {
text-align: center;
}
-.slideshow-controls {
+.jetpack-slideshow-controls {
z-index: 1000;
position: absolute;
bottom: 30px;
@@ -101,13 +101,13 @@ body div.slideshow-window * img {
transition: 300ms opacity ease-out;
}
-.slideshow-window:hover .slideshow-controls {
+.jetpack-slideshow-window:hover .jetpack-slideshow-controls {
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
opacity: 1;
}
-body div div.slideshow-controls a,
-body div div.slideshow-controls a:hover {
+body div div.jetpack-slideshow-controls a,
+body div div.jetpack-slideshow-controls a:hover {
border:2px solid rgba(255,255,255,0.1) !important;
background-color: #000 !important;
background-color: rgba(0,0,0,0.6) !important;
@@ -136,22 +136,22 @@ body div div.slideshow-controls a:hover {
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
- body div div.slideshow-controls a,
- body div div.slideshow-controls a:hover {
+ body div div.jetpack-slideshow-controls a,
+ body div div.jetpack-slideshow-controls a:hover {
background-image: url('../img/slideshow-controls-2x.png') !important;
}
}
-body div div.slideshow-controls a:hover {
+body div div.jetpack-slideshow-controls a:hover {
border-color: rgba(255,255,255,1) !important;
}
-body div div.slideshow-controls a:first-child { background-position: -76px 8px !important;}
-body div div.slideshow-controls a:last-child { background-position: -117px 8px !important;}
-body div div.slideshow-controls a:nth-child(2) { background-position: -34px 8px !important;}
-body div div.slideshow-controls a.running { background-position: -34px 8px !important;}
-body div div.slideshow-controls a.paused { background-position: 9px 8px !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:nth-child(2) { background-position: -34px 8px !important;}
+body div div.jetpack-slideshow-controls a.running { background-position: -34px 8px !important;}
+body div div.jetpack-slideshow-controls a.paused { background-position: 9px 8px !important;}
-.slideshow-controls a img {
+.jetpack-slideshow-controls a img {
border: 50px dotted fuchsia;
}
diff --git a/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css b/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css
index e6f06fa0..6d0b3ecf 100644
--- a/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css
+++ b/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.slideshow-window{background-color:#222;border:20px solid #222;border-radius:10px;height:0;margin-bottom:20px;overflow:hidden;padding-top:30px!important;padding-bottom:56.25%!important;position:relative;z-index:1}.slideshow-window.slideshow-white{background-color:#fff;border-color:#fff}.slideshow-window,.slideshow-window *{box-sizing:content-box}.slideshow-loading{height:100%;text-align:center;margin:auto}body div.slideshow-window * img{background-color:transparent!important;background-image:none!important;border-width:0!important;display:block;margin:0 auto;max-width:100%;max-height:100%;padding:0!important;position:relative;transform:translateY(-50%);top:50%}.slideshow-loading img{vertical-align:middle}.slideshow-slide{display:none;height:100%!important;left:0;margin:auto;position:absolute;text-align:center;top:0;width:100%!important}.slideshow-slide img{vertical-align:middle}.slideshow-line-height-hack{overflow:hidden;width:0;font-size:0}.slideshow-slide-caption{font-size:13px;font-family:"Helvetica Neue",sans-serif;color:#f6f7f7;text-shadow:#222 1px 1px 2px;line-height:25px;height:25px;position:absolute;bottom:5px;left:0;z-index:100;width:100%;text-align:center}.slideshow-controls{z-index:1000;position:absolute;bottom:30px;margin:auto;text-align:center;width:100%;opacity:.5;direction:ltr;transition:.3s opacity ease-out}.slideshow-window:hover .slideshow-controls{opacity:1}body div div.slideshow-controls a,body div div.slideshow-controls a:hover{border:2px solid rgba(255,255,255,.1)!important;background-color:#000!important;background-color:rgba(0,0,0,.6)!important;background-image:url(../img/slideshow-controls.png)!important;background-repeat:no-repeat;background-size:142px 16px!important;background-position:-34px 8px!important;color:#222!important;margin:0 5px!important;padding:0!important;display:inline-block!important;zoom:1;height:32px!important;width:32px!important;line-height:32px!important;text-align:center!important;border-radius:10em!important;transition:.3s border-color ease-out}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body div div.slideshow-controls a,body div div.slideshow-controls a:hover{background-image:url(../img/slideshow-controls-2x.png)!important}}body div div.slideshow-controls a:hover{border-color:#fff!important}body div div.slideshow-controls a:first-child{background-position:-76px 8px!important}body div div.slideshow-controls a:last-child{background-position:-117px 8px!important}body div div.slideshow-controls a:nth-child(2){background-position:-34px 8px!important}body div div.slideshow-controls a.running{background-position:-34px 8px!important}body div div.slideshow-controls a.paused{background-position:9px 8px!important}.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:content-box}.jetpack-slideshow-loading{height:100%;margin:auto;text-align:center}body div.jetpack-slideshow-window * img{background-color:transparent!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{zoom:1;background-color:#000!important;background-color:rgba(0,0,0,.6)!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 hsla(0,0%,100%,.1)!important;border-radius:10em!important;color:#222!important;display:inline-block!important;*display:inline;height:32px!important;line-height:32px!important;margin:0 5px!important;padding:0!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/plugins/jetpack/modules/shortcodes/descript.php b/plugins/jetpack/modules/shortcodes/descript.php
new file mode 100644
index 00000000..302c0681
--- /dev/null
+++ b/plugins/jetpack/modules/shortcodes/descript.php
@@ -0,0 +1,116 @@
+<?php
+/**
+ * Descript.com embed
+ *
+ * Example URL: https://share.descript.com/view/jUxUmel6GyN
+ * Example embed code: <iframe src="https://share.descript.com/embed/jUxUmel6GyN" width="640" height="360" frameborder="0" allowfullscreen></iframe>
+ *
+ * @package automattic/jetpack
+ */
+
+if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ add_action( 'init', 'jetpack_descript_enable_embeds' );
+} else {
+ jetpack_descript_enable_embeds();
+}
+
+/**
+ * Register descript as oembed provider. Add filter to reverse iframes to shortcode. Register [descript] shortcode.
+ *
+ * @since 10.4
+ */
+function jetpack_descript_enable_embeds() {
+ // Support their oEmbed Endpoint.
+ wp_oembed_add_provider( '#https?://share.descript.com/(?:view|embed)/\w+#i', 'https://api.descript.com/v2/oembed', true );
+
+ // Allow script to be filtered to short code (so direct copy+paste can be done).
+ add_filter( 'pre_kses', 'jetpack_shortcodereverse_descript' );
+
+ // Actually display the descript Embed.
+ add_shortcode( 'descript', 'jetpack_descript_shortcode' );
+}
+
+/**
+ * Compose shortcode based on Descript iframes.
+ *
+ * @since 10.4
+ *
+ * @param string $content Post content.
+ *
+ * @return mixed
+ */
+function jetpack_shortcodereverse_descript( $content ) {
+ if ( ! is_string( $content ) || false === stripos( $content, 'share.descript.com' ) ) {
+ return $content;
+ }
+
+ $regexp = '/<iframe (?:loading="lazy" )?src="https:\/\/share.descript.com\/embed\/(\w+)" width="(\d+)" height="(\d+)" frameborder="0" allowfullscreen(?:="")?><\/iframe>/i';
+
+ if ( preg_match_all( $regexp, $content, $matches, PREG_SET_ORDER ) ) {
+ foreach ( $matches as $match ) {
+ // We need at least a id.
+ if ( isset( $match[1] ) ) {
+ $shortcode = sprintf(
+ '[descript id="%1$s" width="%2$s" height="%3$s"]',
+ esc_attr( $match[1] ),
+ esc_attr( $match[2] ),
+ esc_attr( $match[3] )
+ );
+ $content = str_replace( $match[0], $shortcode, $content );
+ }
+ }
+ }
+
+ /** This action is documented in modules/widgets/social-media-icons.php */
+ do_action( 'jetpack_bump_stats_extras', 'html_to_shortcode', 'descript' );
+
+ return $content;
+}
+
+/**
+ * Parse shortcode arguments and render its output.
+ *
+ * @since 10.4
+ *
+ * @param array $atts Shortcode parameters.
+ *
+ * @return string
+ */
+function jetpack_descript_shortcode( $atts ) {
+ if ( ! empty( $atts['id'] ) ) {
+ $id = $atts['id'];
+ } else {
+ return '<!-- Missing descript id -->';
+ }
+
+ if ( ! empty( $atts['width'] ) ) {
+ $width = $atts['width'];
+ } else {
+ $width = '640';
+ }
+
+ if ( ! empty( $atts['height'] ) ) {
+ $height = $atts['height'];
+ } else {
+ $height = '480';
+ }
+
+ $params = array(
+ 'id' => esc_attr( $id ),
+ 'width' => (int) $width,
+ 'height' => (int) $height,
+ );
+
+ $embed_url = sprintf(
+ 'https://share.descript.com/view/%1$s',
+ esc_attr( $id )
+ );
+
+ $embed_code = wp_oembed_get( $embed_url, array_filter( $params ) );
+
+ // wrap the embed with wp-block-embed__wrapper, otherwise it would be aligned to the very left of the viewport.
+ return sprintf(
+ '<div class="wp-block-embed__wrapper">%1$s</div>',
+ $embed_code
+ );
+}
diff --git a/plugins/jetpack/modules/shortcodes/hulu.php b/plugins/jetpack/modules/shortcodes/hulu.php
deleted file mode 100644
index 38203d4c..00000000
--- a/plugins/jetpack/modules/shortcodes/hulu.php
+++ /dev/null
@@ -1,275 +0,0 @@
-<?php
-/**
- * Hulu Shortcode
- *
- * [hulu 369061]
- * [hulu id=369061]
- * [hulu id=369061 width=512 height=288 start_time="10" end_time="20" thumbnail_frame="10"]
- * [hulu http://www.hulu.com/watch/369061]
- * [hulu id=gQ6Z0I990IWv_VFQI2J7Eg width=512 height=288]
- *
- * <object width="512" height="288">
- * <param name="movie" value="http://www.hulu.com/embed/gQ6Z0I990IWv_VFQI2J7Eg"></param>
- * <param name="allowFullScreen" value="true"></param>
- * <embed src="http://www.hulu.com/embed/gQ6Z0I990IWv_VFQI2J7Eg" type="application/x-shockwave-flash" width="512" height="288" allowFullScreen="true"></embed>
- * </object>
- *
- * @package Jetpack
- */
-
-if ( get_option( 'embed_autourls' ) ) {
-
- // Convert hulu URLS to shortcodes for old comments, saved before comments for shortcodes were enabled.
- add_filter( 'comment_text', 'jetpack_hulu_link', 1 );
-}
-
-add_shortcode( 'hulu', 'jetpack_hulu_shortcode' );
-
-/**
- * Return a Hulu video ID from a given set to attributes.
- *
- * @since 4.5.0
- *
- * @param array $atts Shortcode parameters.
- *
- * @return string $id Hulu video ID.
- */
-function jetpack_shortcode_get_hulu_id( $atts ) {
- // This will catch an id explicitly defined as such, or assume any param without a label is the id. First found is used.
- if ( isset( $atts['id'] ) ) {
- // First we check to see if [hulu id=369061] or [hulu id=gQ6Z0I990IWv_VFQI2J7Eg] was used.
- $id = esc_attr( $atts['id'] );
- } elseif ( isset( $atts[0] ) && preg_match( '|www\.hulu\.com/watch/(\d+)|i', $atts[0], $match ) ) {
- // this checks for [hulu http://www.hulu.com/watch/369061].
- $id = (int) $match[1];
- } elseif ( isset( $atts[0] ) ) {
- // This checks for [hulu 369061] or [hulu 65yppv6xqa45s5n7_m1wng].
- $id = esc_attr( $atts[0] );
- } else {
- $id = 0;
- }
-
- return $id;
-}
-
-/**
- * Convert a Hulu shortcode into an embed code.
- *
- * @since 4.5.0
- *
- * @param array $atts An array of shortcode attributes.
- *
- * @return string The embed code for the Hulu video.
- */
-function jetpack_hulu_shortcode( $atts ) {
- global $content_width;
-
- // Set a default content width, if it's not specified.
- $attr = shortcode_atts(
- array(
- 'id' => '',
- 'width' => $content_width ? $content_width : 640,
- 'start_time' => '',
- 'end_time' => '',
- 'thumbnail_frame' => '',
- ),
- $atts
- );
-
- $id = jetpack_shortcode_get_hulu_id( $atts );
- if ( ! $id ) {
- return '<!-- Hulu Error: Hulu shortcode syntax invalid. -->';
- }
-
- $start_time = 0;
- if ( is_numeric( $attr['start_time'] ) ) {
- $start_time = intval( $attr['start_time'] );
- }
- if ( is_numeric( $attr['end_time'] ) && intval( $attr['end_time'] ) > $start_time ) {
- $end_time = intval( $attr['end_time'] );
- }
- if ( is_numeric( $attr['thumbnail_frame'] ) ) {
- $thumbnail_frame = intval( $attr['thumbnail_frame'] );
- }
-
- // check to see if $id is 76560 else we assume it's gQ6Z0I990IWv_VFQI2J7Eg
- // If id is numeric, we'll send it off to the hulu oembed api to get the embed URL (and non-numeric id).
- if ( is_numeric( $id ) ) {
- $transient_key = "hulu-$id";
- $transient_value = get_transient( $transient_key );
-
- if ( false === $transient_value ) {
- // let's make a cross-site http request out to the hulu oembed api.
- $oembed_url = sprintf(
- 'https://www.hulu.com/api/oembed.json?url=%s',
- rawurlencode( 'https://www.hulu.com/watch/' . esc_attr( $id ) )
- );
- $response = wp_remote_get( $oembed_url );
- $response_code = wp_remote_retrieve_response_code( $response );
- $response_message = wp_remote_retrieve_response_message( $response );
- if ( 200 !== $response_code && ! empty( $response_message ) ) {
- return "<!-- Hulu Error: Hulu shortcode http error $response_message -->";
- } elseif ( 200 !== $response_code ) {
- return "<!-- Hulu Error: Hulu shortcode unknown error occurred, $response_code -->";
- } else {
- $response_body = wp_remote_retrieve_body( $response );
- $json = json_decode( $response_body );
-
- // Pull out id from embed url (from oembed API).
- $embed_url_params = array();
- parse_str( wp_parse_url( $json->embed_url, PHP_URL_QUERY ), $embed_url_params );
-
- if ( isset( $embed_url_params['eid'] ) ) {
- $id = $embed_url_params['eid'];
- }
- // let's cache this response indefinitely.
- set_transient( $transient_key, $id );
- }
- } else {
- $id = $transient_value;
- }
- }
-
- if ( ! $id ) {
- return '<!-- Hulu Error: Not a Hulu video. -->';
- }
-
- $query_args = array();
- $query_args['eid'] = esc_attr( $id );
- if ( isset( $start_time ) ) {
- $query_args['st'] = intval( $start_time );
- }
- if ( isset( $end_time ) ) {
- $query_args['et'] = intval( $end_time );
- }
- if ( isset( $thumbnail_frame ) ) {
- $query_args['it'] = 'i' . intval( $thumbnail_frame );
- }
-
- $iframe_url = add_query_arg( $query_args, 'https://www.hulu.com/embed.html' );
- $width = intval( $attr['width'] );
- $height = round( ( $width / 640 ) * 360 );
-
- $html = sprintf(
- '<div class="embed-hulu" style="text-align: center;"><iframe src="%s" width="%s" height="%s" style="border:0;" scrolling="no" webkitAllowFullScreen
-mozallowfullscreen allowfullscreen></iframe></div>',
- esc_url( $iframe_url ),
- esc_attr( $width ),
- esc_attr( $height )
- );
- $html = apply_filters( 'video_embed_html', $html );
-
- return $html;
-}
-
-/**
- * Callback to convert Hulu links in comments into a embed src.
- *
- * @since 4.5.0
- *
- * @param array $matches Array of matches from regex.
- *
- * @return string
- */
-function jetpack_hulu_link_callback( $matches ) {
- $video_id = $matches[4];
-
- // Make up an embed src to pass to the shortcode reversal function.
- $attrs = array(
- 'src' => 'https://www.hulu.com/embed.html?eid=' . esc_attr( $video_id ),
- );
-
- return wpcom_shortcodereverse_huluhelper( $attrs );
-}
-
-/**
- * Convert Hulu links in comments into a Hulu shortcode.
- *
- * @since 4.5.0
- *
- * @param string $content Post content.
- *
- * @return string
- */
-function jetpack_hulu_link( $content ) {
- $content = preg_replace_callback( '!^(http(s)?://)?(www\.)?hulu\.com\/watch\/([0-9]+)$!im', 'jetpack_hulu_link_callback', $content );
-
- return $content;
-}
-
-/**
- * Makes a Hulu shortcode from $attrs and $pattern
- *
- * @since 4.5.0
- *
- * @param array $attrs Shortcode attributes.
- *
- * @return string
- */
-function wpcom_shortcodereverse_huluhelper( $attrs ) {
- $attrs = wpcom_shortcodereverse_parseattr( $attrs );
-
- $src_attributes = array();
- parse_str( wp_parse_url( $attrs['src'], PHP_URL_QUERY ), $src_attributes );
-
- $attrs = array_merge( $attrs, $src_attributes );
-
- // If we don't have an eid, we can't do anything. Just send back the src string.
- if ( ! isset( $attrs['eid'] ) ) {
- return $attrs['src'];
- }
-
- $shortcode = '[hulu id=' . esc_attr( $attrs['eid'] );
-
- if ( $attrs['width'] ) {
- $shortcode .= ' width=' . intval( $attrs['width'] );
- }
-
- if ( $attrs['height'] ) {
- $shortcode .= ' height=' . intval( $attrs['height'] );
- }
-
- if ( $attrs['st'] ) {
- $shortcode .= ' start_time=' . intval( $attrs['st'] );
- }
-
- if ( $attrs['et'] ) {
- $shortcode .= ' end_time=' . intval( $attrs['et'] );
- }
-
- if ( $attrs['it'] ) {
- // the thumbnail frame attribute comes with an i in front of the value, so we've got to remove that.
- $shortcode .= ' thumbnail_frame=' . intval( ltrim( $attrs['it'], 'i' ) );
- }
- $shortcode .= ']';
-
- return $shortcode;
-}
-
-/**
- * Initiates process to convert iframe HTML into a Hulu shortcode.
- *
- * Example:
- * <iframe width="512" height="288" src="http://www.hulu.com/embed.html?eid=nlg_ios3tutcfrhatkiaow&et=20&st=10&it=i11" frameborder="0" scrolling="no" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
- *
- * Converts to:
- * [hulu id=nlg_ios3tutcfrhatkiaow width=512 height=288 start_time=10 end_time=20 thumbnail_frame=11]
- *
- * @since 4.5.0
- *
- * @param array $attrs Shortcode attributes.
- *
- * @return string
- */
-function wpcom_shortcodereverse_huluembed( $attrs ) {
-
- $shortcode = wpcom_shortcodereverse_huluhelper( $attrs );
-
- if ( '[' === substr( $shortcode, 0, 1 ) ) {
- /** This action is documented in modules/widgets/social-media-icons.php */
- do_action( 'jetpack_bump_stats_extras', 'html_to_shortcode', 'hulu-embed' );
- }
-
- return $shortcode;
-}
-Filter_Embedded_HTML_Objects::register( '#^https?://www.hulu.com/embed.html#i', 'wpcom_shortcodereverse_huluembed', true );
diff --git a/plugins/jetpack/modules/shortcodes/js/gist.js b/plugins/jetpack/modules/shortcodes/js/gist.js
deleted file mode 100644
index d2d704dc..00000000
--- a/plugins/jetpack/modules/shortcodes/js/gist.js
+++ /dev/null
@@ -1,32 +0,0 @@
-( function( $, undefined ) {
- var gistStylesheetLoaded = false,
- gistEmbed = function() {
- $( '.gist-oembed' ).each( function( i, el ) {
- var url = 'https://gist.github.com/' + $( el ).data( 'gist' ),
- ts = Number.parseInt( $( el ).data( 'ts' ), 10 );
-
- $.ajax( {
- url: url,
- dataType: 'jsonp',
- } ).done( function( response ) {
- if ( ts && 8 !== ts ) {
- $( el ).replaceWith( $( response.div ).css( 'tab-size', ts.toString() ) );
- } else {
- $( el ).replaceWith( response.div );
- }
-
- if ( ! gistStylesheetLoaded ) {
- var stylesheet =
- '<link rel="stylesheet" href="' + response.stylesheet + '" type="text/css" />';
-
- $( 'head' ).append( stylesheet );
-
- gistStylesheetLoaded = true;
- }
- } );
- } );
- };
-
- $( document ).ready( gistEmbed );
- $( 'body' ).on( 'post-load', gistEmbed );
-} )( jQuery );
diff --git a/plugins/jetpack/modules/shortcodes/js/instagram.js b/plugins/jetpack/modules/shortcodes/js/instagram.js
deleted file mode 100644
index b0d0d609..00000000
--- a/plugins/jetpack/modules/shortcodes/js/instagram.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/* global window */
-
-( function() {
- var instagramEmbed = function() {
- if (
- 'undefined' !== typeof window.instgrm &&
- window.instgrm.Embeds &&
- 'function' === typeof window.instgrm.Embeds.process
- ) {
- window.instgrm.Embeds.process();
- } else {
- var s = document.createElement( 'script' );
- s.async = true;
- s.defer = true;
- s.src = '//platform.instagram.com/en_US/embeds.js';
- document.getElementsByTagName( 'body' )[ 0 ].appendChild( s );
- }
- };
-
- if ( 'undefined' !== typeof jQuery && 'undefined' !== typeof infiniteScroll ) {
- jQuery( document.body ).on( 'post-load', instagramEmbed );
- }
-
- instagramEmbed();
-} )();
diff --git a/plugins/jetpack/modules/shortcodes/js/slideshow-shortcode.js b/plugins/jetpack/modules/shortcodes/js/slideshow-shortcode.js
index 9b0e9d52..be2a9f94 100644
--- a/plugins/jetpack/modules/shortcodes/js/slideshow-shortcode.js
+++ b/plugins/jetpack/modules/shortcodes/js/slideshow-shortcode.js
@@ -11,7 +11,7 @@ function JetpackSlideshow( element, transition, autostart ) {
JetpackSlideshow.prototype.showLoadingImage = function ( toggle ) {
if ( toggle ) {
this.loadingImage_ = document.createElement( 'div' );
- this.loadingImage_.className = 'slideshow-loading';
+ this.loadingImage_.className = 'jetpack-slideshow-loading';
var img = document.createElement( 'img' );
img.src = jetpackSlideshowSettings.spinner;
this.loadingImage_.appendChild( img );
@@ -38,11 +38,11 @@ JetpackSlideshow.prototype.init = function () {
img.setAttribute( 'itemprop', 'image' );
img.nopin = 'nopin';
var caption = document.createElement( 'div' );
- caption.className = 'slideshow-slide-caption';
+ caption.className = 'jetpack-slideshow-slide-caption';
caption.setAttribute( 'itemprop', 'caption description' );
caption.innerHTML = imageInfo.caption;
var container = document.createElement( 'div' );
- container.className = 'slideshow-slide';
+ container.className = 'jetpack-slideshow-slide';
container.setAttribute( 'itemprop', 'associatedMedia' );
container.setAttribute( 'itemscope', '' );
container.setAttribute( 'itemtype', 'https://schema.org/ImageObject' );
@@ -73,7 +73,7 @@ JetpackSlideshow.prototype.init = function () {
JetpackSlideshow.prototype.makeZeroWidthSpan = function () {
var emptySpan = document.createElement( 'span' );
- emptySpan.className = 'slideshow-line-height-hack';
+ emptySpan.className = 'jetpack-slideshow-line-height-hack';
// Having a NBSP makes IE act weird during transitions, but other
// browsers ignore a text node with a space in it as whitespace.
if ( -1 !== window.navigator.userAgent.indexOf( 'MSIE ' ) ) {
@@ -96,7 +96,7 @@ JetpackSlideshow.prototype.finishInit_ = function () {
prev: this.controls.prev,
next: this.controls.next,
timeout: jetpackSlideshowSettings.speed,
- slideExpr: '.slideshow-slide',
+ slideExpr: '.jetpack-slideshow-slide',
onPrevNextEvent: function () {
return self.onCyclePrevNextClick_.apply( self, arguments );
},
@@ -136,7 +136,7 @@ JetpackSlideshow.prototype.renderControls_ = function () {
}
var controlsDiv = document.createElement( 'div' );
- controlsDiv.className = 'slideshow-controls';
+ controlsDiv.className = 'jetpack-slideshow-controls';
var controls = [ 'prev', 'stop', 'next' ];
for ( var i = 0; i < controls.length; i++ ) {
diff --git a/plugins/jetpack/modules/shortcodes/quiz.php b/plugins/jetpack/modules/shortcodes/quiz.php
index 3bb0474d..21f6bc50 100644
--- a/plugins/jetpack/modules/shortcodes/quiz.php
+++ b/plugins/jetpack/modules/shortcodes/quiz.php
@@ -111,7 +111,7 @@ class Quiz_Shortcode {
* @return bool|null
*/
private static function is_javascript_unavailable() {
- if ( ! is_null( self::$javascript_unavailable ) ) {
+ if ( self::$javascript_unavailable !== null ) {
return self::$javascript_unavailable;
}
@@ -195,7 +195,7 @@ class Quiz_Shortcode {
$id .= ' data-trackid="' . esc_attr( self::$quiz_params['trackid'] ) . '"';
}
if ( self::is_wpcom() && ! empty( self::$quiz_params['a8ctraining'] ) ) {
- if ( is_null( self::$username ) ) {
+ if ( self::$username === null ) {
self::$username = wp_get_current_user()->user_login;
}
$id .= ' data-a8ctraining="' . esc_attr( self::$quiz_params['a8ctraining'] ) . '" data-username="' . esc_attr( self::$username ) . '"';
diff --git a/plugins/jetpack/modules/shortcodes/slideshow.php b/plugins/jetpack/modules/shortcodes/slideshow.php
index 68357947..e2e780da 100644
--- a/plugins/jetpack/modules/shortcodes/slideshow.php
+++ b/plugins/jetpack/modules/shortcodes/slideshow.php
@@ -191,7 +191,7 @@ class Jetpack_Slideshow_Shortcode {
'ids' => wp_list_pluck( $gallery, 'id' ),
);
- if ( 'true' == $autostart ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison -- attribute can be stored as boolean or string.
+ if ( 'true' == $autostart ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- attribute can be stored as boolean or string.
$amp_args['autoplay'] = true;
}
@@ -216,42 +216,23 @@ class Jetpack_Slideshow_Shortcode {
// Enqueue scripts.
$this->enqueue_scripts();
- $output = '';
-
- if ( defined( 'JSON_HEX_AMP' ) ) {
- // This is nice to have, but not strictly necessary since we use _wp_specialchars() below.
- $gallery = wp_json_encode( $attr['gallery'], JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT ); // phpcs:ignore PHPCompatibility
- } else {
- $gallery = wp_json_encode( $attr['gallery'] );
- }
-
- $output .= '<p class="jetpack-slideshow-noscript robots-nocontent">' . esc_html__( 'This slideshow requires JavaScript.', 'jetpack' ) . '</p>';
+ $output = '<p class="jetpack-slideshow-noscript robots-nocontent">' . esc_html__( 'This slideshow requires JavaScript.', 'jetpack' ) . '</p>';
/*
- * The input to json_encode() above can contain '&quot;'.
- *
- * For calls to json_encode() lacking the JSON_HEX_AMP option,
- * that '&quot;' is left unaltered. Running '&quot;' through esc_attr()
- * also leaves it unaltered since esc_attr() does not double-encode.
- *
- * This means we end up with an attribute like
- * `data-gallery="{&quot;foo&quot;:&quot;&quot;&quot;}"`,
- * which is interpreted by the browser as `{"foo":"""}`,
- * which cannot be JSON decoded.
- *
- * The preferred workaround is to include the JSON_HEX_AMP (and friends)
- * options, but these are not available until 5.3.0.
- * Alternatively, we can use _wp_specialchars( , , , true ) instead of
- * esc_attr(), which will double-encode.
- *
- * Since we can't rely on JSON_HEX_AMP, we do both.
- *
- * @todo Update when minimum is PHP 5.3+
+ * Checking for JSON_HEX_AMP and friends here allows us to get rid of
+ * '&quot;', that can sometimes be included in the JSON input in some languages like French.
*/
- $gallery_attributes = _wp_specialchars( wp_check_invalid_utf8( $gallery ), ENT_QUOTES, false, true );
+ $gallery_attributes = _wp_specialchars(
+ wp_check_invalid_utf8(
+ wp_json_encode( $attr['gallery'], JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT )
+ ),
+ ENT_QUOTES,
+ false,
+ true
+ );
$output .= sprintf(
- '<div id="%s" class="slideshow-window jetpack-slideshow slideshow-%s" data-trans="%s" data-autostart="%s" data-gallery="%s" itemscope itemtype="https://schema.org/ImageGallery"></div>',
+ '<div id="%s" class="jetpack-slideshow-window jetpack-slideshow jetpack-slideshow-%s" data-trans="%s" data-autostart="%s" data-gallery="%s" itemscope itemtype="https://schema.org/ImageGallery"></div>',
esc_attr( $attr['selector'] . '-slideshow' ),
esc_attr( $attr['color'] ),
esc_attr( $attr['trans'] ),
diff --git a/plugins/jetpack/modules/shortcodes/wufoo.php b/plugins/jetpack/modules/shortcodes/wufoo.php
index 0af8b51a..f399c807 100644
--- a/plugins/jetpack/modules/shortcodes/wufoo.php
+++ b/plugins/jetpack/modules/shortcodes/wufoo.php
@@ -71,7 +71,7 @@ function wufoo_shortcode( $atts ) {
'(function(){try{var wufoo_%1$s = new WufooForm();wufoo_%1$s.initialize({"userName":"%2$s","formHash":"%1$s","autoResize":%3$s,"height":"%4$d","header":"%5$s","ssl":true,"async":true});wufoo_%1$s.display();}catch(e){}})();',
esc_attr( $attr['formhash'] ),
esc_attr( $attr['username'] ),
- 'true' == $attr['autoresize'] ? 'true' : 'false', // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ 'true' == $attr['autoresize'] ? 'true' : 'false', // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
absint( $attr['height'] ),
'show' === $attr['header'] ? 'show' : 'hide'
);
diff --git a/plugins/jetpack/modules/shortlinks.php b/plugins/jetpack/modules/shortlinks.php
index 989271d7..fd541a48 100644
--- a/plugins/jetpack/modules/shortlinks.php
+++ b/plugins/jetpack/modules/shortlinks.php
@@ -131,12 +131,25 @@ function wpme_get_shortlink_handler( $shortlink, $id, $context, $allow_slugs ) {
* @uses register_rest_field, wpme_rest_get_shortlink
*/
function wpme_rest_register_shortlinks() {
+ // Post types that support shortlinks by default.
+ $supported_post_types = array(
+ 'attachment',
+ 'page',
+ 'post',
+ );
+
+ // Add any CPT that may have declared support for shortlinks.
+ foreach ( get_post_types() as $post_type ) {
+ if (
+ post_type_supports( $post_type, 'shortlinks' )
+ && post_type_supports( $post_type, 'editor' )
+ ) {
+ $supported_post_types[] = $post_type;
+ }
+ }
+
register_rest_field(
- array(
- 'attachment',
- 'page',
- 'post',
- ),
+ $supported_post_types,
'jetpack_shortlink',
array(
'get_callback' => 'wpme_rest_get_shortlink',
diff --git a/plugins/jetpack/modules/simple-payments/paypal-express-checkout.js b/plugins/jetpack/modules/simple-payments/paypal-express-checkout.js
index 74b14101..16e486ef 100644
--- a/plugins/jetpack/modules/simple-payments/paypal-express-checkout.js
+++ b/plugins/jetpack/modules/simple-payments/paypal-express-checkout.js
@@ -159,6 +159,7 @@ var PaypalExpressCheckout = {
label: 'pay',
shape: 'rect',
color: 'silver',
+ size: 'responsive',
fundingicons: true,
},
diff --git a/plugins/jetpack/modules/simple-payments/simple-payments.css b/plugins/jetpack/modules/simple-payments/simple-payments.css
index 6e5e4136..2b96b355 100644
--- a/plugins/jetpack/modules/simple-payments/simple-payments.css
+++ b/plugins/jetpack/modules/simple-payments/simple-payments.css
@@ -51,6 +51,11 @@ body .jetpack-simple-payments-wrapper .jetpack-simple-payments-product-image .je
display: flex;
}
+.jetpack-simple-payments-button {
+ max-width: 340px;
+ width: 100%;
+}
+
.jetpack-simple-payments-items {
flex: 0 0 auto;
margin-right: 10px;
@@ -63,6 +68,11 @@ input[type="number"].jetpack-simple-payments-items-number {
padding: 4px 8px;
}
+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;
+}
+
.jetpack-simple-payments-button iframe {
margin: 0;
}
@@ -151,6 +161,10 @@ body .jetpack-simple-payments-wrapper .jetpack-simple-payments-purchase-message
margin: 0;
}
+.jetpack-simple-payments-details {
+ width: 100%;
+}
+
.is-email .jetpack-simple-payments-product-image + .jetpack-simple-payments-details {
display: table-cell;
width: 70%;
diff --git a/plugins/jetpack/modules/simple-payments/simple-payments.php b/plugins/jetpack/modules/simple-payments/simple-payments.php
index 321fc1e2..38f0bef8 100644
--- a/plugins/jetpack/modules/simple-payments/simple-payments.php
+++ b/plugins/jetpack/modules/simple-payments/simple-payments.php
@@ -12,22 +12,70 @@
*/
class Jetpack_Simple_Payments {
// These have to be under 20 chars because that is CPT limit.
- static $post_type_order = 'jp_pay_order';
- static $post_type_product = 'jp_pay_product';
- static $shortcode = 'simple-payment';
+ /**
+ * Post type order.
+ *
+ * @var string
+ */
+ public static $post_type_order = 'jp_pay_order';
+
+ /**
+ * Post type product.
+ *
+ * @var string
+ */
+ public static $post_type_product = 'jp_pay_product';
- static $css_classname_prefix = 'jetpack-simple-payments';
+ /**
+ * Define simple payment shortcode.
+ *
+ * @var string
+ */
+ public static $shortcode = 'simple-payment';
- static $required_plan;
+ /**
+ * Define simple payment CSS prefix.
+ *
+ * @var string
+ */
+ public static $css_classname_prefix = 'jetpack-simple-payments';
- // Increase this number each time there's a change in CSS or JS to bust cache.
- static $version = '0.25';
+ /**
+ * Which plan the user is on.
+ *
+ * @var string value_bundle or jetpack_premium
+ */
+ public static $required_plan;
- // Classic singleton pattern:
+ /**
+ * Instance of the class.
+ *
+ * @var Jetpack_Simple_Payments
+ */
private static $instance;
+
+ /**
+ * Construction function.
+ */
private function __construct() {}
- static function getInstance() {
+
+ /**
+ * Original singleton.
+ *
+ * @todo Remove this when nothing calles getInstance anymore.
+ *
+ * @deprecated 10.8
+ */
+ public static function getInstance() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
+ _deprecated_function( __METHOD__, 'Jetpack 10.7.0', 'Jetpack_Simple_Payments::get_instance' );
+ return self::get_instance();
+ }
+
+ /**
+ * Create instance of class.
+ */
+ public static function get_instance() {
if ( ! self::$instance ) {
self::$instance = new self();
self::$instance->register_init_hooks();
@@ -36,31 +84,56 @@ class Jetpack_Simple_Payments {
return self::$instance;
}
+ /**
+ * Register scripts and styles.
+ */
private function register_scripts_and_styles() {
/**
* Paypal heavily discourages putting that script in your own server:
+ *
* @see https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/add-paypal-button/
*/
- wp_register_script( 'paypal-checkout-js', 'https://www.paypalobjects.com/api/checkout.js', array(), null, true );
+ wp_register_script( // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion
+ 'paypal-checkout-js',
+ 'https://www.paypalobjects.com/api/checkout.js',
+ array(),
+ null,
+ true
+ );
wp_register_script(
'jetpack-paypal-express-checkout',
plugins_url( '/paypal-express-checkout.js', __FILE__ ),
array( 'jquery', 'paypal-checkout-js' ),
- self::$version,
+ JETPACK__VERSION,
+ false
+ );
+ wp_register_style(
+ 'jetpack-simple-payments',
+ plugins_url( '/simple-payments.css', __FILE__ ),
+ array( 'dashicons' ),
+ JETPACK__VERSION,
false
);
- wp_register_style( 'jetpack-simple-payments', plugins_url( '/simple-payments.css', __FILE__ ), array( 'dashicons' ) );
}
+ /**
+ * Register init hooks.
+ */
private function register_init_hooks() {
add_action( 'init', array( $this, 'init_hook_action' ) );
add_action( 'rest_api_init', array( $this, 'register_meta_fields_in_rest_api' ) );
}
+ /**
+ * Register the shortcode.
+ */
private function register_shortcode() {
add_shortcode( self::$shortcode, array( $this, 'parse_shortcode' ) );
}
+ /**
+ * Actions that are run on init.
+ */
public function init_hook_action() {
add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_rest_api_types' ) );
add_filter( 'jetpack_sync_post_meta_whitelist', array( $this, 'allow_sync_post_meta' ) );
@@ -106,7 +179,12 @@ class Jetpack_Simple_Payments {
);
}
- function remove_auto_paragraph_from_product_description( $content ) {
+ /**
+ * Remove auto paragraph from product description.
+ *
+ * @param string $content - the content of the post.
+ */
+ public function remove_auto_paragraph_from_product_description( $content ) {
if ( get_post_type() === self::$post_type_product ) {
remove_filter( 'the_content', 'wpautop' );
}
@@ -114,7 +192,8 @@ class Jetpack_Simple_Payments {
return $content;
}
- function get_blog_id() {
+ /** Return the blog ID */
+ public function get_blog_id() {
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
return get_current_blog_id();
}
@@ -127,7 +206,7 @@ class Jetpack_Simple_Payments {
*
* @return bool True if Simple Payments are enabled, false otherwise.
*/
- function is_enabled_jetpack_simple_payments() {
+ public function is_enabled_jetpack_simple_payments() {
/**
* Can be used by plugin authors to disable the conflicting output of Simple Payments.
*
@@ -139,38 +218,64 @@ class Jetpack_Simple_Payments {
return false;
}
- // For WPCOM sites
- if ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'has_any_blog_stickers' ) ) {
- $site_id = $this->get_blog_id();
- return has_any_blog_stickers( array( 'premium-plan', 'business-plan', 'ecommerce-plan' ), $site_id );
+ return (
+ ( ( defined( 'IS_WPCOM' ) && IS_WPCOM ) || Jetpack::is_connection_ready() ) &&
+ Jetpack_Plan::supports( 'simple-payments' )
+ );
+ }
+
+ /**
+ * Get a WP_Post representation of a product
+ *
+ * @param int $id The ID of the product.
+ *
+ * @return array|false|WP_Post
+ */
+ private function get_product( $id ) {
+ if ( ! $id ) {
+ return false;
}
- // For all Jetpack sites
- return Jetpack::is_connection_ready() && Jetpack_Plan::supports( 'simple-payments' );
+ $product = get_post( $id );
+ if ( ! $product || is_wp_error( $product ) ) {
+ return false;
+ }
+ if ( $product->post_type !== self::$post_type_product || 'publish' !== $product->post_status ) {
+ return false;
+ }
+ return $product;
}
- function parse_shortcode( $attrs, $content = false ) {
+ /**
+ * Creates the content from a shortcode
+ *
+ * @param array $attrs Shortcode attributes.
+ * @param mixed $content unused.
+ *
+ * @return string|void
+ */
+ public function parse_shortcode( $attrs, $content = false ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
if ( empty( $attrs['id'] ) ) {
return;
}
- $product = get_post( $attrs['id'] );
- if ( ! $product || is_wp_error( $product ) ) {
- return;
- }
- if ( $product->post_type !== self::$post_type_product || 'publish' !== $product->post_status ) {
+ $product = $this->get_product( $attrs['id'] );
+ if ( ! $product ) {
return;
}
- // We allow for overriding the presentation labels
- $data = shortcode_atts( array(
- 'blog_id' => $this->get_blog_id(),
- 'dom_id' => uniqid( self::$css_classname_prefix . '-' . $product->ID . '_', true ),
- 'class' => self::$css_classname_prefix . '-' . $product->ID,
- 'title' => get_the_title( $product ),
- 'description' => $product->post_content,
- 'cta' => get_post_meta( $product->ID, 'spay_cta', true ),
- 'multiple' => get_post_meta( $product->ID, 'spay_multiple', true ) || '0'
- ), $attrs );
+ // We allow for overriding the presentation labels.
+ $data = shortcode_atts(
+ array(
+ 'blog_id' => $this->get_blog_id(),
+ 'dom_id' => uniqid( self::$css_classname_prefix . '-' . $product->ID . '_', true ),
+ 'class' => self::$css_classname_prefix . '-' . $product->ID,
+ 'title' => get_the_title( $product ),
+ 'description' => $product->post_content,
+ 'cta' => get_post_meta( $product->ID, 'spay_cta', true ),
+ 'multiple' => get_post_meta( $product->ID, 'spay_multiple', true ) || '0',
+ ),
+ $attrs
+ );
$data['price'] = $this->format_price(
get_post_meta( $product->ID, 'spay_price', true ),
@@ -192,15 +297,22 @@ class Jetpack_Simple_Payments {
return $this->output_shortcode( $data );
}
- function output_admin_warning( $data ) {
+ /**
+ * Output an admin warning if user can't use Pay with PayPal.
+ *
+ * @param array $data unused.
+ */
+ public function output_admin_warning( $data ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
if ( ! current_user_can( 'manage_options' ) ) {
return;
}
jetpack_require_lib( 'components' );
- return Jetpack_Components::render_upgrade_nudge( array(
- 'plan' => self::$required_plan
- ) );
+ return Jetpack_Components::render_upgrade_nudge(
+ array(
+ 'plan' => self::$required_plan,
+ )
+ );
}
/**
@@ -212,11 +324,12 @@ class Jetpack_Simple_Payments {
* @return string
*/
public function output_purchase_box( $dom_id, $is_multiple ) {
- $items = '';
+ $items = '';
$css_prefix = self::$css_classname_prefix;
if ( $is_multiple ) {
- $items = sprintf( '
+ $items = sprintf(
+ '
<div class="%1$s">
<input class="%2$s" type="number" value="1" min="1" id="%3$s" />
</div>
@@ -247,16 +360,18 @@ class Jetpack_Simple_Payments {
public function output_shortcode( $data ) {
$css_prefix = self::$css_classname_prefix;
- $image = "";
- if( has_post_thumbnail( $data['id'] ) ) {
- $image = sprintf( '<div class="%1$s"><div class="%2$s">%3$s</div></div>',
+ $image = '';
+ if ( has_post_thumbnail( $data['id'] ) ) {
+ $image = sprintf(
+ '<div class="%1$s"><div class="%2$s">%3$s</div></div>',
esc_attr( "${css_prefix}-product-image" ),
esc_attr( "${css_prefix}-image" ),
get_the_post_thumbnail( $data['id'], 'full' )
);
}
- return sprintf( '
+ return sprintf(
+ '
<div class="%1$s">
<div class="%2$s">
%3$s
@@ -301,30 +416,39 @@ class Jetpack_Simple_Payments {
/**
* Allows custom post types to be used by REST API.
- * @param $post_types
+ *
+ * @param array $post_types - the allows post types.
* @see hook 'rest_api_allowed_post_types'
* @return array
*/
- function allow_rest_api_types( $post_types ) {
+ public function allow_rest_api_types( $post_types ) {
$post_types[] = self::$post_type_order;
$post_types[] = self::$post_type_product;
return $post_types;
}
- function allow_sync_post_meta( $post_meta ) {
- return array_merge( $post_meta, array(
- 'spay_paypal_id',
- 'spay_status',
- 'spay_product_id',
- 'spay_quantity',
- 'spay_price',
- 'spay_customer_email',
- 'spay_currency',
- 'spay_cta',
- 'spay_email',
- 'spay_multiple',
- 'spay_formatted_price',
- ) );
+ /**
+ * Merge $post_meta with additional meta information.
+ *
+ * @param array $post_meta - the post's meta information.
+ */
+ public function allow_sync_post_meta( $post_meta ) {
+ return array_merge(
+ $post_meta,
+ array(
+ 'spay_paypal_id',
+ 'spay_status',
+ 'spay_product_id',
+ 'spay_quantity',
+ 'spay_price',
+ 'spay_customer_email',
+ 'spay_currency',
+ 'spay_cta',
+ 'spay_email',
+ 'spay_multiple',
+ 'spay_formatted_price',
+ )
+ );
}
/**
@@ -336,64 +460,90 @@ class Jetpack_Simple_Payments {
* @link https://developer.wordpress.org/rest-api/extending-the-rest-api/modifying-responses/
*/
public function register_meta_fields_in_rest_api() {
- register_meta( 'post', 'spay_price', array(
- 'description' => esc_html__( 'Simple payments; price.', 'jetpack' ),
- 'object_subtype' => self::$post_type_product,
- 'sanitize_callback' => array( $this, 'sanitize_price' ),
- 'show_in_rest' => true,
- 'single' => true,
- 'type' => 'number',
- ) );
-
- register_meta( 'post', 'spay_currency', array(
- 'description' => esc_html__( 'Simple payments; currency code.', 'jetpack' ),
- 'object_subtype' => self::$post_type_product,
- 'sanitize_callback' => array( $this, 'sanitize_currency' ),
- 'show_in_rest' => true,
- 'single' => true,
- 'type' => 'string',
- ) );
-
- register_meta( 'post', 'spay_cta', array(
- 'description' => esc_html__( 'Simple payments; text with "Buy" or other CTA', 'jetpack' ),
- 'object_subtype' => self::$post_type_product,
- 'sanitize_callback' => 'sanitize_text_field',
- 'show_in_rest' => true,
- 'single' => true,
- 'type' => 'string',
- ) );
-
- register_meta( 'post', 'spay_multiple', array(
- 'description' => esc_html__( 'Simple payments; allow multiple items', 'jetpack' ),
- 'object_subtype' => self::$post_type_product,
- 'sanitize_callback' => 'rest_sanitize_boolean',
- 'show_in_rest' => true,
- 'single' => true,
- 'type' => 'boolean',
- ) );
-
- register_meta( 'post', 'spay_email', array(
- 'description' => esc_html__( 'Simple payments button; paypal email.', 'jetpack' ),
- 'sanitize_callback' => 'sanitize_email',
- 'show_in_rest' => true,
- 'single' => true,
- 'type' => 'string',
- ) );
-
- register_meta( 'post', 'spay_status', array(
- 'description' => esc_html__( 'Simple payments; status.', 'jetpack' ),
- 'object_subtype' => self::$post_type_product,
- 'sanitize_callback' => 'sanitize_text_field',
- 'show_in_rest' => true,
- 'single' => true,
- 'type' => 'string',
- ) );
+ register_meta(
+ 'post',
+ 'spay_price',
+ array(
+ 'description' => esc_html__( 'Simple payments; price.', 'jetpack' ),
+ 'object_subtype' => self::$post_type_product,
+ 'sanitize_callback' => array( $this, 'sanitize_price' ),
+ 'show_in_rest' => true,
+ 'single' => true,
+ 'type' => 'number',
+ )
+ );
+
+ register_meta(
+ 'post',
+ 'spay_currency',
+ array(
+ 'description' => esc_html__( 'Simple payments; currency code.', 'jetpack' ),
+ 'object_subtype' => self::$post_type_product,
+ 'sanitize_callback' => array( $this, 'sanitize_currency' ),
+ 'show_in_rest' => true,
+ 'single' => true,
+ 'type' => 'string',
+ )
+ );
+
+ register_meta(
+ 'post',
+ 'spay_cta',
+ array(
+ 'description' => esc_html__( 'Simple payments; text with "Buy" or other CTA', 'jetpack' ),
+ 'object_subtype' => self::$post_type_product,
+ 'sanitize_callback' => 'sanitize_text_field',
+ 'show_in_rest' => true,
+ 'single' => true,
+ 'type' => 'string',
+ )
+ );
+
+ register_meta(
+ 'post',
+ 'spay_multiple',
+ array(
+ 'description' => esc_html__( 'Simple payments; allow multiple items', 'jetpack' ),
+ 'object_subtype' => self::$post_type_product,
+ 'sanitize_callback' => 'rest_sanitize_boolean',
+ 'show_in_rest' => true,
+ 'single' => true,
+ 'type' => 'boolean',
+ )
+ );
+
+ register_meta(
+ 'post',
+ 'spay_email',
+ array(
+ 'description' => esc_html__( 'Simple payments button; paypal email.', 'jetpack' ),
+ 'sanitize_callback' => 'sanitize_email',
+ 'show_in_rest' => true,
+ 'single' => true,
+ 'type' => 'string',
+ )
+ );
+
+ register_meta(
+ 'post',
+ 'spay_status',
+ array(
+ 'description' => esc_html__( 'Simple payments; status.', 'jetpack' ),
+ 'object_subtype' => self::$post_type_product,
+ 'sanitize_callback' => 'sanitize_text_field',
+ 'show_in_rest' => true,
+ 'single' => true,
+ 'type' => 'string',
+ )
+ );
}
/**
* Sanitize three-character ISO-4217 Simple payments currency
*
* List has to be in sync with list at the block's client side and widget's backend side:
+ *
+ * @param array $currency - list of currencies.
* @link https://github.com/Automattic/jetpack/blob/31efa189ad223c0eb7ad085ac0650a23facf9ef5/extensions/blocks/simple-payments/constants.js#L9-L39
* @link https://github.com/Automattic/jetpack/blob/31efa189ad223c0eb7ad085ac0650a23facf9ef5/modules/widgets/simple-payments.php#L19-L44
*
@@ -432,7 +582,7 @@ class Jetpack_Simple_Payments {
'THB',
);
- return in_array( $currency, $valid_currencies ) ? $currency : false;
+ return in_array( $currency, $valid_currencies, true ) ? $currency : false;
}
/**
@@ -443,9 +593,10 @@ class Jetpack_Simple_Payments {
* Maximum length: 10.
*
* See `price` from PayPal docs:
+ *
* @link https://developer.paypal.com/docs/api/orders/v1/#definition-item
*
- * @param $value
+ * @param string $price - the price we want to sanitize.
* @return null|string
*/
public static function sanitize_price( $price ) {
@@ -455,8 +606,7 @@ class Jetpack_Simple_Payments {
/**
* Sets up the custom post types for the module.
*/
- function setup_cpts() {
-
+ public function setup_cpts() {
/*
* ORDER data structure. holds:
* title = customer_name | 4xproduct_name
@@ -471,31 +621,31 @@ class Jetpack_Simple_Payments {
* ... (WIP)
*/
$order_capabilities = array(
- 'edit_post' => 'edit_posts',
- 'read_post' => 'read_private_posts',
- 'delete_post' => 'delete_posts',
- 'edit_posts' => 'edit_posts',
- 'edit_others_posts' => 'edit_others_posts',
- 'publish_posts' => 'publish_posts',
- 'read_private_posts' => 'read_private_posts',
+ 'edit_post' => 'edit_posts',
+ 'read_post' => 'read_private_posts',
+ 'delete_post' => 'delete_posts',
+ 'edit_posts' => 'edit_posts',
+ 'edit_others_posts' => 'edit_others_posts',
+ 'publish_posts' => 'publish_posts',
+ 'read_private_posts' => 'read_private_posts',
);
- $order_args = array(
- 'label' => esc_html_x( 'Order', 'noun: a quantity of goods or items purchased or sold', 'jetpack' ),
- 'description' => esc_html__( 'Simple Payments orders', 'jetpack' ),
- 'supports' => array( 'custom-fields', 'excerpt' ),
- 'hierarchical' => false,
- 'public' => false,
- 'show_ui' => false,
- 'show_in_menu' => false,
- 'show_in_admin_bar' => false,
- 'show_in_nav_menus' => false,
- 'can_export' => true,
- 'has_archive' => false,
- 'exclude_from_search' => true,
- 'publicly_queryable' => false,
- 'rewrite' => false,
- 'capabilities' => $order_capabilities,
- 'show_in_rest' => true,
+ $order_args = array(
+ 'label' => esc_html_x( 'Order', 'noun: a quantity of goods or items purchased or sold', 'jetpack' ),
+ 'description' => esc_html__( 'Simple Payments orders', 'jetpack' ),
+ 'supports' => array( 'custom-fields', 'excerpt' ),
+ 'hierarchical' => false,
+ 'public' => false,
+ 'show_ui' => false,
+ 'show_in_menu' => false,
+ 'show_in_admin_bar' => false,
+ 'show_in_nav_menus' => false,
+ 'can_export' => true,
+ 'has_archive' => false,
+ 'exclude_from_search' => true,
+ 'publicly_queryable' => false,
+ 'rewrite' => false,
+ 'capabilities' => $order_capabilities,
+ 'show_in_rest' => true,
);
register_post_type( self::$post_type_order, $order_args );
@@ -514,36 +664,117 @@ class Jetpack_Simple_Payments {
* spay_status - status. { enabled | disabled }
*/
$product_capabilities = array(
- 'edit_post' => 'edit_posts',
- 'read_post' => 'read_private_posts',
- 'delete_post' => 'delete_posts',
- 'edit_posts' => 'publish_posts',
- 'edit_others_posts' => 'edit_others_posts',
- 'publish_posts' => 'publish_posts',
- 'read_private_posts' => 'read_private_posts',
+ 'edit_post' => 'edit_posts',
+ 'read_post' => 'read_private_posts',
+ 'delete_post' => 'delete_posts',
+ 'edit_posts' => 'publish_posts',
+ 'edit_others_posts' => 'edit_others_posts',
+ 'publish_posts' => 'publish_posts',
+ 'read_private_posts' => 'read_private_posts',
);
- $product_args = array(
- 'label' => esc_html__( 'Product', 'jetpack' ),
- 'description' => esc_html__( 'Simple Payments products', 'jetpack' ),
- 'supports' => array( 'title', 'editor','thumbnail', 'custom-fields', 'author' ),
- 'hierarchical' => false,
- 'public' => false,
- 'show_ui' => false,
- 'show_in_menu' => false,
- 'show_in_admin_bar' => false,
- 'show_in_nav_menus' => false,
- 'can_export' => true,
- 'has_archive' => false,
- 'exclude_from_search' => true,
- 'publicly_queryable' => false,
- 'rewrite' => false,
- 'capabilities' => $product_capabilities,
- 'show_in_rest' => true,
+ $product_args = array(
+ 'label' => esc_html__( 'Product', 'jetpack' ),
+ 'description' => esc_html__( 'Simple Payments products', 'jetpack' ),
+ 'supports' => array( 'title', 'editor', 'thumbnail', 'custom-fields', 'author' ),
+ 'hierarchical' => false,
+ 'public' => false,
+ 'show_ui' => false,
+ 'show_in_menu' => false,
+ 'show_in_admin_bar' => false,
+ 'show_in_nav_menus' => false,
+ 'can_export' => true,
+ 'has_archive' => false,
+ 'exclude_from_search' => true,
+ 'publicly_queryable' => false,
+ 'rewrite' => false,
+ 'capabilities' => $product_capabilities,
+ 'show_in_rest' => true,
);
register_post_type( self::$post_type_product, $product_args );
}
/**
+ * Validate the block attributes
+ *
+ * @param array $attrs The block attributes, expected to contain:
+ * * email - an email address.
+ * * price - a float between 0.01 and 9999999999.99.
+ * * productId - the ID of the product being paid for.
+ *
+ * @return bool
+ */
+ public function is_valid( $attrs ) {
+ if ( ! $this->validate_paypal_email( $attrs ) ) {
+ return false;
+ }
+
+ if ( ! $this->validate_price( $attrs ) ) {
+ return false;
+ }
+
+ if ( ! $this->validate_product( $attrs ) ) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Check that the email address to make a payment to is valid
+ *
+ * @param array $attrs Key-value array of attributes.
+ *
+ * @return boolean
+ */
+ private function validate_paypal_email( $attrs ) {
+ if ( empty( $attrs['email'] ) ) {
+ return false;
+ }
+ return (bool) filter_var( $attrs['email'], FILTER_VALIDATE_EMAIL );
+ }
+
+ /**
+ * Check that the price is valid
+ *
+ * @param array $attrs Key-value array of attributes.
+ *
+ * @return bool
+ */
+ private function validate_price( $attrs ) {
+ if ( empty( $attrs['price'] ) ) {
+ return false;
+ }
+ return (bool) self::sanitize_price( $attrs['price'] );
+ }
+
+ /**
+ * Check that the stored product is valid
+ *
+ * Valid means it has a title, and the currency is accepted.
+ *
+ * @param array $attrs Key-value array of attributes.
+ *
+ * @return bool
+ */
+ private function validate_product( $attrs ) {
+ if ( empty( $attrs['productId'] ) ) {
+ return false;
+ }
+ $product = $this->get_product( $attrs['productId'] );
+ if ( ! $product ) {
+ return false;
+ }
+ // This title is the one used by paypal, it's set from the title set in the block content, unless the block
+ // content title is blank.
+ if ( ! get_the_title( $product ) ) {
+ return false;
+ }
+
+ $currency = get_post_meta( $product->ID, 'spay_currency', true );
+ return (bool) self::sanitize_currency( $currency );
+ }
+
+ /**
* Format a price for display
*
* Largely taken from WordPress.com Store_Price class
@@ -567,4 +798,4 @@ class Jetpack_Simple_Payments {
return null;
}
}
-Jetpack_Simple_Payments::getInstance();
+Jetpack_Simple_Payments::get_instance();
diff --git a/plugins/jetpack/modules/sitemaps.php b/plugins/jetpack/modules/sitemaps.php
index 27d1a6c2..55c98caf 100644
--- a/plugins/jetpack/modules/sitemaps.php
+++ b/plugins/jetpack/modules/sitemaps.php
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
-if ( '1' == get_option( 'blog_public' ) ) { // loose comparison okay.
+if ( '1' == get_option( 'blog_public' ) ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
include_once __DIR__ . '/sitemaps/sitemaps.php';
// Disable WordPress 5.5-era sitemaps.
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-fallback.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-fallback.php
index 7a87aa96..80558f15 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-fallback.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-fallback.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* The fallback buffer for users with no XML support.
*
@@ -22,6 +22,13 @@ abstract class Jetpack_Sitemap_Buffer_Fallback extends Jetpack_Sitemap_Buffer {
*/
protected $buffer;
+ /**
+ * Jetpack_Sitemap_Buffer_Fallback constructor.
+ *
+ * @param int $item_limit The maximum size of the buffer in items.
+ * @param int $byte_limit The maximum size of the buffer in bytes.
+ * @param string $time The initial datetime of the buffer. Must be in 'YYYY-MM-DD hh:mm:ss' format.
+ */
public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
$this->is_full_flag = false;
$this->is_empty_flag = true;
@@ -46,7 +53,7 @@ abstract class Jetpack_Sitemap_Buffer_Fallback extends Jetpack_Sitemap_Buffer {
* @return bool True if the append succeeded, False if not.
*/
public function append( $array ) {
- if ( is_null( $array ) ) {
+ if ( $array === null ) {
return true;
}
@@ -98,10 +105,12 @@ abstract class Jetpack_Sitemap_Buffer_Fallback extends Jetpack_Sitemap_Buffer {
/**
* Legacy implementation of array to XML conversion without using DOMDocument.
*
- * @param array $array
+ * @param array $array Item to append to buffer.
+ * @param DOMElement $parent (optional) an element to which new children should be added.
+ * @param DOMDocument $root (optional) the parent document.
* @return String $result
*/
- public function array_to_xml_string( $array, $parent = null, $root = null ) {
+ public function array_to_xml_string( $array, $parent = null, $root = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$string = '';
foreach ( $array as $key => $value ) {
@@ -112,7 +121,7 @@ abstract class Jetpack_Sitemap_Buffer_Fallback extends Jetpack_Sitemap_Buffer {
$string .= "<$tag>";
$string .= $this->array_to_xml_string( $value );
$string .= "</$tag>";
- } elseif ( is_null( $value ) ) {
+ } elseif ( $value === null ) {
$string .= "<$tag />";
} else {
$string .= "<$tag>" . htmlspecialchars( $value ) . "</$tag>";
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-image-fallback.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-image-fallback.php
index 2d879570..f211e2b7 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-image-fallback.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-image-fallback.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_Image
@@ -15,7 +16,9 @@
* @since 5.3.0
*/
class Jetpack_Sitemap_Buffer_Image extends Jetpack_Sitemap_Buffer_Fallback {
-
+ /**
+ * Returns a DOM element that contains all image sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-image.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-image.php
index 5413a623..eaad5dd8 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-image.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-image.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_Image
@@ -16,6 +17,13 @@
*/
class Jetpack_Sitemap_Buffer_Image extends Jetpack_Sitemap_Buffer {
+ /**
+ * Jetpack_Sitemap_Buffer_Image constructor.
+ *
+ * @param int $item_limit The maximum size of the buffer in items.
+ * @param int $byte_limit The maximum size of the buffer in bytes.
+ * @param string $time The initial datetime of the buffer. Must be in 'YYYY-MM-DD hh:mm:ss' format.
+ */
public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
parent::__construct( $item_limit, $byte_limit, $time );
@@ -31,6 +39,9 @@ class Jetpack_Sitemap_Buffer_Image extends Jetpack_Sitemap_Buffer {
);
}
+ /**
+ * Returns a DOM element that contains all image sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-master-fallback.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-master-fallback.php
index eb62cfe8..2234b31b 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-master-fallback.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-master-fallback.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_Master
@@ -16,6 +17,9 @@
*/
class Jetpack_Sitemap_Buffer_Master extends Jetpack_Sitemap_Buffer_Fallback {
+ /**
+ * Returns a DOM element that contains all master sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-master.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-master.php
index 09d18c35..cd5359f2 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-master.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-master.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_Master
@@ -15,7 +16,13 @@
* @since 5.3.0
*/
class Jetpack_Sitemap_Buffer_Master extends Jetpack_Sitemap_Buffer {
-
+ /**
+ * Jetpack_Sitemap_Buffer_Master constructor.
+ *
+ * @param int $item_limit The maximum size of the buffer in items.
+ * @param int $byte_limit The maximum size of the buffer in bytes.
+ * @param string $time The initial datetime of the buffer. Must be in 'YYYY-MM-DD hh:mm:ss' format.
+ */
public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
parent::__construct( $item_limit, $byte_limit, $time );
@@ -31,6 +38,9 @@ class Jetpack_Sitemap_Buffer_Master extends Jetpack_Sitemap_Buffer {
);
}
+ /**
+ * Returns a DOM element that contains all master sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
$this->root = $this->doc->createElement( 'sitemapindex' );
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php
index 013e2535..154c28c8 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_News
@@ -10,12 +11,14 @@
*/
/**
- * A buffer for constructing sitemap image xml files for users without libxml support.
+ * A buffer for constructing sitemap news xml files for users without libxml support.
*
* @since 5.3.0
*/
class Jetpack_Sitemap_Buffer_News extends Jetpack_Sitemap_Buffer_Fallback {
-
+ /**
+ * Returns a DOM element that contains all news sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-news.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-news.php
index a4504532..b39aed21 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-news.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-news.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_News
@@ -10,12 +11,18 @@
*/
/**
- * A buffer for constructing sitemap image xml files.
+ * A buffer for constructing sitemap news xml files.
*
* @since 5.3.0
*/
class Jetpack_Sitemap_Buffer_News extends Jetpack_Sitemap_Buffer {
-
+ /**
+ * Jetpack_Sitemap_Buffer_News constructor.
+ *
+ * @param int $item_limit The maximum size of the buffer in items.
+ * @param int $byte_limit The maximum size of the buffer in bytes.
+ * @param string $time The initial datetime of the buffer. Must be in 'YYYY-MM-DD hh:mm:ss' format.
+ */
public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
parent::__construct( $item_limit, $byte_limit, $time );
@@ -31,6 +38,9 @@ class Jetpack_Sitemap_Buffer_News extends Jetpack_Sitemap_Buffer {
);
}
+ /**
+ * Returns a DOM element that contains all news sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php
index 16f1e997..8f742915 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_Page
@@ -15,7 +16,9 @@
* @since 5.3.0
*/
class Jetpack_Sitemap_Buffer_Page extends Jetpack_Sitemap_Buffer_Fallback {
-
+ /**
+ * Returns a DOM element that contains all single page sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-page.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-page.php
index e9ebeb49..545ba8ef 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-page.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-page.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_Page
@@ -15,7 +16,13 @@
* @since 5.3.0
*/
class Jetpack_Sitemap_Buffer_Page extends Jetpack_Sitemap_Buffer {
-
+ /**
+ * Jetpack_Sitemap_Buffer_Page constructor.
+ *
+ * @param int $item_limit The maximum size of the buffer in items.
+ * @param int $byte_limit The maximum size of the buffer in bytes.
+ * @param string $time The initial datetime of the buffer. Must be in 'YYYY-MM-DD hh:mm:ss' format.
+ */
public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
parent::__construct( $item_limit, $byte_limit, $time );
@@ -31,6 +38,9 @@ class Jetpack_Sitemap_Buffer_Page extends Jetpack_Sitemap_Buffer {
);
}
+ /**
+ * Returns a DOM element that contains all single page sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-video-fallback.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-video-fallback.php
index e4bf0cd6..08aed0fd 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-video-fallback.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-video-fallback.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_Video
@@ -15,7 +16,9 @@
* @since 5.3.0
*/
class Jetpack_Sitemap_Buffer_Video extends Jetpack_Sitemap_Buffer_Fallback {
-
+ /**
+ * Returns a DOM element that contains all video sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-video.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-video.php
index 04c1a4c9..856f22f5 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-video.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-video.php
@@ -1,4 +1,5 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file.
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_Video
@@ -15,7 +16,13 @@
* @since 5.3.0
*/
class Jetpack_Sitemap_Buffer_Video extends Jetpack_Sitemap_Buffer {
-
+ /**
+ * Jetpack_Sitemap_Buffer_Video constructor.
+ *
+ * @param int $item_limit The maximum size of the buffer in items.
+ * @param int $byte_limit The maximum size of the buffer in bytes.
+ * @param string $time The initial datetime of the buffer. Must be in 'YYYY-MM-DD hh:mm:ss' format.
+ */
public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
parent::__construct( $item_limit, $byte_limit, $time );
@@ -31,6 +38,9 @@ class Jetpack_Sitemap_Buffer_Video extends Jetpack_Sitemap_Buffer {
);
}
+ /**
+ * Returns a DOM element that contains all video sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer.php
index 3596486d..4a24bb12 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Sitemaps (per the protocol) are essentially lists of XML fragments;
* lists which are subject to size constraints. The Jetpack_Sitemap_Buffer
@@ -139,7 +139,7 @@ abstract class Jetpack_Sitemap_Buffer {
* @return bool True if the append succeeded, False if not.
*/
public function append( $array ) {
- if ( is_null( $array ) ) {
+ if ( $array === null ) {
return true;
}
@@ -270,7 +270,8 @@ abstract class Jetpack_Sitemap_Buffer {
if ( null === $parent ) {
$return_string = true;
- $parent = $root = new DOMDocument();
+ $root = new DOMDocument();
+ $parent = $root;
}
if ( is_array( $array ) ) {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-builder.php b/plugins/jetpack/modules/sitemaps/sitemap-builder.php
index e8719650..7116f1b2 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-builder.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-builder.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Build the sitemap tree.
*
@@ -38,7 +38,9 @@ if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
* Simple class for rendering an empty sitemap with a short TTL
*/
class Jetpack_Sitemap_Buffer_Empty extends Jetpack_Sitemap_Buffer {
-
+ /**
+ * Jetpack_Sitemap_Buffer_Empty constructor.
+ */
public function __construct() {
parent::__construct( JP_SITEMAP_MAX_ITEMS, JP_SITEMAP_MAX_BYTES, '1970-01-01 00:00:00' );
@@ -54,6 +56,9 @@ class Jetpack_Sitemap_Buffer_Empty extends Jetpack_Sitemap_Buffer {
);
}
+ /**
+ * Returns a DOM element for an empty sitemap.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {
$this->root = $this->doc->createElement( 'sitemapindex' );
@@ -74,7 +79,7 @@ class Jetpack_Sitemap_Buffer_Empty extends Jetpack_Sitemap_Buffer {
*
* @since 4.8.0
*/
-class Jetpack_Sitemap_Builder {
+class Jetpack_Sitemap_Builder { // phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound,Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
/**
* Librarian object for storing and retrieving sitemap data.
@@ -613,7 +618,7 @@ class Jetpack_Sitemap_Builder {
JP_SITEMAP_BATCH_SIZE
);
- if ( null == $posts ) { // WPCS: loose comparison ok.
+ if ( null == $posts ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- WPCS: loose comparison ok.
$any_posts_left = false;
break;
}
@@ -700,7 +705,7 @@ class Jetpack_Sitemap_Builder {
* @param DOMDocument $doc Data tree for sitemap.
* @param string $last_modified Date of last modification.
*/
- $tree = apply_filters(
+ $tree = apply_filters( // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
'jetpack_print_sitemap',
$buffer->get_document(),
$buffer->last_modified()
@@ -763,7 +768,7 @@ class Jetpack_Sitemap_Builder {
JP_SITEMAP_BATCH_SIZE
);
- if ( null == $posts ) { // WPCS: loose comparison ok.
+ if ( null == $posts ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- WPCS: loose comparison ok.
$any_posts_left = false;
break;
}
@@ -842,7 +847,7 @@ class Jetpack_Sitemap_Builder {
JP_SITEMAP_BATCH_SIZE
);
- if ( null == $posts ) { // WPCS: loose comparison ok.
+ if ( null == $posts ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- WPCS: loose comparison ok.
$any_posts_left = false;
break;
}
@@ -950,7 +955,7 @@ class Jetpack_Sitemap_Builder {
);
// If there were no posts to get, make a note.
- if ( null == $posts ) { // WPCS: loose comparison ok.
+ if ( null == $posts ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- WPCS: loose comparison ok.
$any_sitemaps_left = false;
break;
}
@@ -1023,7 +1028,6 @@ class Jetpack_Sitemap_Builder {
);
}
-
/**
* This is served instead of a 404 when the master sitemap is requested
* but not yet generated.
@@ -1224,7 +1228,7 @@ class Jetpack_Sitemap_Builder {
}
$parent_url = get_permalink( get_post( $post->post_parent ) );
- if ( '' == $parent_url ) { // WPCS: loose comparison ok.
+ if ( '' == $parent_url ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- WPCS: loose comparison ok.
$parent_url = get_permalink( $post );
}
@@ -1308,7 +1312,7 @@ class Jetpack_Sitemap_Builder {
}
$parent_url = esc_url( get_permalink( get_post( $post->post_parent ) ) );
- if ( '' == $parent_url ) { // WPCS: loose comparison ok.
+ if ( '' == $parent_url ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- WPCS: loose comparison ok.
$parent_url = esc_url( get_permalink( $post ) );
}
@@ -1320,7 +1324,7 @@ class Jetpack_Sitemap_Builder {
/** This filter is already documented in core/wp-includes/feed.php */
$content = apply_filters( 'the_content_feed', $content, 'rss2' );
- // Include thumbnails for VideoPress videos, use blank image for others
+ // Include thumbnails for VideoPress videos, use blank image for others.
if ( 'complete' === get_post_meta( $post->ID, 'videopress_status', true ) && has_post_thumbnail( $post ) ) {
$video_thumbnail_url = get_the_post_thumbnail_url( $post );
} else {
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-constants.php b/plugins/jetpack/modules/sitemaps/sitemap-constants.php
index ce732557..706a9501 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-constants.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-constants.php
@@ -15,10 +15,10 @@
* @since 7.7.0
*/
if ( defined( 'JETPACK_DEV_DEBUG' ) && JETPACK_DEV_DEBUG ) {
- if ( ! defined( 'JP_SITEMAP_INTERVAL') ) {
+ if ( ! defined( 'JP_SITEMAP_INTERVAL' ) ) {
define( 'JP_SITEMAP_INTERVAL', 60 );
}
- if ( ! defined( 'JP_NEWS_SITEMAP_INTERVAL') ) {
+ if ( ! defined( 'JP_NEWS_SITEMAP_INTERVAL' ) ) {
define( 'JP_NEWS_SITEMAP_INTERVAL', 60 );
}
}
@@ -147,7 +147,7 @@ if ( ! defined( 'JP_VIDEO_SITEMAP_INDEX_TYPE' ) ) {
* @return string The filename.
*/
function jp_sitemap_filename( $type, $number = null ) {
- if ( is_null( $number ) ) {
+ if ( $number === null ) {
return "error-not-int-$type-$number.xml";
} elseif ( JP_MASTER_SITEMAP_TYPE === $type ) {
return 'sitemap.xml';
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-finder.php b/plugins/jetpack/modules/sitemaps/sitemap-finder.php
index f1a1d773..87d0c2bc 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-finder.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-finder.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* The functions in this class provide an API for handling
* sitemap related URIs.
@@ -32,7 +32,7 @@ class Jetpack_Sitemap_Finder {
$url = jetpack_sitemap_uri( $filename );
if ( pathinfo( $filename, PATHINFO_EXTENSION ) === 'xsl' ) {
- // strip scheme for sites where sitemap could be access via http or https
+ // Strip scheme for sites where sitemap could be access via http or https.
$url = preg_replace( '/^https?:/', '', $url );
}
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-librarian.php b/plugins/jetpack/modules/sitemaps/sitemap-librarian.php
index 018aa36b..f24b6f01 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-librarian.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-librarian.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Sitemaps are stored in the database using a custom table. This class
* provides a small API for storing and retrieving sitemap data so we can
@@ -59,7 +59,7 @@ class Jetpack_Sitemap_Librarian {
'timestamp' => $the_post->post_date,
'name' => $the_post->post_title,
'type' => $the_post->post_type,
- 'text' => base64_decode( $the_post->post_content ),
+ 'text' => base64_decode( $the_post->post_content ), // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
);
}
}
@@ -89,9 +89,9 @@ class Jetpack_Sitemap_Librarian {
wp_insert_post(
array(
'post_title' => $name,
- 'post_content' => base64_encode( $contents ),
+ 'post_content' => base64_encode( $contents ), // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
'post_type' => $type,
- 'post_date' => date( 'Y-m-d H:i:s', strtotime( $timestamp ) ),
+ 'post_date' => gmdate( 'Y-m-d H:i:s', strtotime( $timestamp ) ),
)
);
} else {
@@ -100,9 +100,9 @@ class Jetpack_Sitemap_Librarian {
array(
'ID' => $the_post['id'],
'post_title' => $name,
- 'post_content' => base64_encode( $contents ),
+ 'post_content' => base64_encode( $contents ), // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
'post_type' => $type,
- 'post_date' => date( 'Y-m-d H:i:s', strtotime( $timestamp ) ),
+ 'post_date' => gmdate( 'Y-m-d H:i:s', strtotime( $timestamp ) ),
)
);
}
@@ -274,6 +274,7 @@ class Jetpack_Sitemap_Librarian {
}
$post_types_list = join( ',', $post_types );
+ // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- WPCS: db call ok; no-cache ok.
return $wpdb->get_results(
$wpdb->prepare(
"SELECT *
@@ -286,7 +287,8 @@ class Jetpack_Sitemap_Librarian {
$from_id,
$num_posts
)
- ); // WPCS: db call ok; no-cache ok.
+ );
+ // phpcs:enable WordPress.DB.PreparedSQL.InterpolatedNotPrepared
}
/**
@@ -391,7 +393,7 @@ class Jetpack_Sitemap_Librarian {
public function query_most_recent_posts( $num_posts ) {
global $wpdb;
- $two_days_ago = date( 'Y-m-d', strtotime( '-2 days' ) );
+ $two_days_ago = gmdate( 'Y-m-d', strtotime( '-2 days' ) );
/**
* Filter post types to be included in news sitemap.
@@ -413,6 +415,7 @@ class Jetpack_Sitemap_Librarian {
$post_types_list = join( ',', $post_types );
+ // phpcs:disable WordPress.DB.PreparedSQLPlaceholders.QuotedSimplePlaceholder,WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- WPCS: db call ok; no-cache ok.
return $wpdb->get_results(
$wpdb->prepare(
"SELECT *
@@ -425,7 +428,8 @@ class Jetpack_Sitemap_Librarian {
$two_days_ago,
$num_posts
)
- ); // WPCS: db call ok; no-cache ok.
+ );
+ // phpcs:enable WordPress.DB.PreparedSQLPlaceholders.QuotedSimplePlaceholder,WordPress.DB.PreparedSQL.InterpolatedNotPrepared
}
}
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-logger.php b/plugins/jetpack/modules/sitemaps/sitemap-logger.php
index c6b3d77a..b46c95a8 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-logger.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-logger.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* A message logger for the Jetpack Sitemap module.
*
@@ -46,7 +46,7 @@ class Jetpack_Sitemap_Logger {
public function __construct( $message = null ) {
$this->key = wp_generate_password( 5, false );
$this->starttime = microtime( true );
- if ( ! is_null( $message ) ) {
+ if ( $message !== null ) {
$this->report( $message );
}
}
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-state.php b/plugins/jetpack/modules/sitemaps/sitemap-state.php
index 9420f85e..df2811c6 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-state.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-state.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Abstract sitemap generation state class.
*
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-stylist.php b/plugins/jetpack/modules/sitemaps/sitemap-stylist.php
index 45c1b82f..5179d187 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-stylist.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-stylist.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* The XSL used to style sitemaps is essentially a bunch of
* static strings. This class handles the construction of
@@ -69,6 +69,7 @@ class Jetpack_Sitemap_Stylist {
$header_lastmod = esc_html( ent2ncr( __( 'Last Modified', 'jetpack' ) ) );
$description = self::sanitize_with_links(
+ /* translators: %1$s: jetpack.com URL. %2$s: google.com URL. %3$s: bing.com URL. */
__(
'This is an XML Sitemap generated by <a href="%1$s" rel="noopener noreferrer" target="_blank">Jetpack</a>, meant to be consumed by search engines like <a href="%2$s" rel="noopener noreferrer" target="_blank">Google</a> or <a href="%3$s" rel="noopener noreferrer" target="_blank">Bing</a>.',
'jetpack'
@@ -81,6 +82,7 @@ class Jetpack_Sitemap_Stylist {
);
$more_info = self::sanitize_with_links(
+ /* translators: %1$s: sitemaps.org URL. */
__(
'You can find more information on XML sitemaps at <a href="%1$s" rel="noopener noreferrer" target="_blank">sitemaps.org</a>',
'jetpack'
@@ -91,6 +93,7 @@ class Jetpack_Sitemap_Stylist {
);
$generated_by = self::sanitize_with_links(
+ /* translators: %s: jetpack.com URL. */
__(
'Generated by <a href="%s" rel="noopener noreferrer" target="_blank">Jetpack for WordPress</a>',
'jetpack'
@@ -181,6 +184,7 @@ XSL;
$header_lastmod = esc_html( ent2ncr( __( 'Last Modified', 'jetpack' ) ) );
$description = self::sanitize_with_links(
+ /* translators: %1$s: jetpack.com URL. %2$s: google.com URL. %3$s: bing.com URL. */
__(
'This is an XML Sitemap Index generated by <a href="%1$s" rel="noopener noreferrer" target="_blank">Jetpack</a>, meant to be consumed by search engines like <a href="%2$s" rel="noopener noreferrer" target="_blank">Google</a> or <a href="%3$s" rel="noopener noreferrer" target="_blank">Bing</a>.',
'jetpack'
@@ -201,6 +205,7 @@ XSL;
}
$more_info = self::sanitize_with_links(
+ /* translators: %1$s: sitemaps.org URL. */
__(
'You can find more information on XML sitemaps at <a href="%1$s" rel="noopener noreferrer" target="_blank">sitemaps.org</a>',
'jetpack'
@@ -211,6 +216,7 @@ XSL;
);
$generated_by = self::sanitize_with_links(
+ /* translators: %s: jetpack.com URL. */
__(
'Generated by <a href="%s" rel="noopener noreferrer" target="_blank">Jetpack for WordPress</a>',
'jetpack'
@@ -309,6 +315,7 @@ XSL;
$header_caption = esc_html( ent2ncr( __( 'Caption', 'jetpack' ) ) );
$description = self::sanitize_with_links(
+ /* translators: %1$s: jetpack.com URL. %2$s: google.com URL. %3$s: bing.com URL. */
__(
'This is an XML Image Sitemap generated by <a href="%1$s" rel="noopener noreferrer" target="_blank">Jetpack</a>, meant to be consumed by search engines like <a href="%2$s" rel="noopener noreferrer" target="_blank">Google</a> or <a href="%3$s" rel="noopener noreferrer" target="_blank">Bing</a>.',
'jetpack'
@@ -321,6 +328,7 @@ XSL;
);
$more_info = self::sanitize_with_links(
+ /* translators: %1$s: sitemaps.org URL. */
__(
'You can find more information on XML sitemaps at <a href="%1$s" rel="noopener noreferrer" target="_blank">sitemaps.org</a>',
'jetpack'
@@ -331,6 +339,7 @@ XSL;
);
$generated_by = self::sanitize_with_links(
+ /* translators: %s: jetpack.com URL. */
__(
'Generated by <a href="%s" rel="noopener noreferrer" target="_blank">Jetpack for WordPress</a>',
'jetpack'
@@ -449,6 +458,7 @@ XSL;
$header_description = esc_html( ent2ncr( __( 'Description', 'jetpack' ) ) );
$description = self::sanitize_with_links(
+ /* translators: %1$s: jetpack.com URL. %2$s: google.com URL. %3$s: bing.com URL. */
__(
'This is an XML Video Sitemap generated by <a href="%1$s" rel="noopener noreferrer" target="_blank">Jetpack</a>, meant to be consumed by search engines like <a href="%2$s" rel="noopener noreferrer" target="_blank">Google</a> or <a href="%3$s" rel="noopener noreferrer" target="_blank">Bing</a>.',
'jetpack'
@@ -461,6 +471,7 @@ XSL;
);
$more_info = self::sanitize_with_links(
+ /* translators: %1$s: sitemaps.org URL. */
__(
'You can find more information on XML sitemaps at <a href="%1$s" rel="noopener noreferrer" target="_blank">sitemaps.org</a>',
'jetpack'
@@ -471,6 +482,7 @@ XSL;
);
$generated_by = self::sanitize_with_links(
+ /* translators: %s: jetpack.com URL. */
__(
'Generated by <a href="%s" rel="noopener noreferrer" target="_blank">Jetpack for WordPress</a>',
'jetpack'
@@ -589,6 +601,7 @@ XSL;
$header_pubdate = esc_html( ent2ncr( __( 'Publication Date', 'jetpack' ) ) );
$description = self::sanitize_with_links(
+ /* translators: %1$s: jetpack.com URL. %2$s: google.com URL. %3$s: bing.com URL. */
__(
'This is an XML News Sitemap generated by <a href="%1$s" rel="noopener noreferrer" target="_blank">Jetpack</a>, meant to be consumed by search engines like <a href="%2$s" rel="noopener noreferrer" target="_blank">Google</a> or <a href="%3$s" rel="noopener noreferrer" target="_blank">Bing</a>.',
'jetpack'
@@ -601,6 +614,7 @@ XSL;
);
$more_info = self::sanitize_with_links(
+ /* translators: %1$s: sitemaps.org URL. */
__(
'You can find more information on XML sitemaps at <a href="%1$s" rel="noopener noreferrer" target="_blank">sitemaps.org</a>',
'jetpack'
@@ -611,6 +625,7 @@ XSL;
);
$generated_by = self::sanitize_with_links(
+ /* translators: %s: jetpack.com URL. */
__(
'Generated by <a href="%s" rel="noopener noreferrer" target="_blank">Jetpack for WordPress</a>',
'jetpack'
diff --git a/plugins/jetpack/modules/sso.php b/plugins/jetpack/modules/sso.php
index c5f5538e..16ce1ee1 100644
--- a/plugins/jetpack/modules/sso.php
+++ b/plugins/jetpack/modules/sso.php
@@ -1,12 +1,17 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack_SSO module main class file.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Roles;
use Automattic\Jetpack\Status;
use Automattic\Jetpack\Tracking;
-require_once( JETPACK__PLUGIN_DIR . 'modules/sso/class.jetpack-sso-helpers.php' );
-require_once( JETPACK__PLUGIN_DIR . 'modules/sso/class.jetpack-sso-notices.php' );
+require_once JETPACK__PLUGIN_DIR . 'modules/sso/class.jetpack-sso-helpers.php';
+require_once JETPACK__PLUGIN_DIR . 'modules/sso/class.jetpack-sso-notices.php';
/**
* Module Name: Secure Sign On
@@ -21,24 +26,32 @@ require_once( JETPACK__PLUGIN_DIR . 'modules/sso/class.jetpack-sso-notices.php'
* Feature: Security
* Additional Search Queries: sso, single sign on, login, log in, 2fa, two-factor
*/
-
class Jetpack_SSO {
- static $instance = null;
+ /**
+ * Jetpack_SSO instance.
+ *
+ * @var Jetpack_SSO
+ */
+ public static $instance = null;
+ /**
+ * Jetpack_SSO constructor.
+ */
private function __construct() {
self::$instance = $this;
- add_action( 'admin_init', array( $this, 'maybe_authorize_user_after_sso' ), 1 );
- add_action( 'admin_init', array( $this, 'register_settings' ) );
- add_action( 'login_init', array( $this, 'login_init' ) );
- add_action( 'delete_user', array( $this, 'delete_connection_for_user' ) );
- add_filter( 'jetpack_xmlrpc_methods', array( $this, 'xmlrpc_methods' ) );
- add_action( 'init', array( $this, 'maybe_logout_user' ), 5 );
- add_action( 'jetpack_modules_loaded', array( $this, 'module_configure_button' ) );
- add_action( 'login_form_logout', array( $this, 'store_wpcom_profile_cookies_on_logout' ) );
- add_action( 'jetpack_unlinked_user', array( $this, 'delete_connection_for_user') );
- add_action( 'wp_login', array( 'Jetpack_SSO', 'clear_cookies_after_login' ) );
+ add_action( 'admin_init', array( $this, 'maybe_authorize_user_after_sso' ), 1 );
+ add_action( 'admin_init', array( $this, 'register_settings' ) );
+ add_action( 'login_init', array( $this, 'login_init' ) );
+ add_action( 'delete_user', array( $this, 'delete_connection_for_user' ) );
+ add_filter( 'jetpack_xmlrpc_methods', array( $this, 'xmlrpc_methods' ) );
+ add_action( 'init', array( $this, 'maybe_logout_user' ), 5 );
+ add_action( 'jetpack_modules_loaded', array( $this, 'module_configure_button' ) );
+ add_action( 'login_form_logout', array( $this, 'store_wpcom_profile_cookies_on_logout' ) );
+ add_action( 'jetpack_unlinked_user', array( $this, 'delete_connection_for_user' ) );
+ add_action( 'jetpack_site_before_disconnected', array( static::class, 'disconnect' ) );
+ add_action( 'wp_login', array( 'Jetpack_SSO', 'clear_cookies_after_login' ) );
// Adding this action so that on login_init, the action won't be sanitized out of the $action global.
add_action( 'login_form_jetpack-sso', '__return_true' );
@@ -51,11 +64,12 @@ class Jetpack_SSO {
* @return Jetpack_SSO
**/
public static function get_instance() {
- if ( ! is_null( self::$instance ) ) {
+ if ( self::$instance !== null ) {
return self::$instance;
}
- return self::$instance = new Jetpack_SSO;
+ self::$instance = new Jetpack_SSO();
+ return self::$instance;
}
/**
@@ -72,7 +86,7 @@ class Jetpack_SSO {
public function maybe_logout_user() {
global $current_user;
- if ( 1 == $current_user->jetpack_force_logout ) {
+ if ( 1 === (int) $current_user->jetpack_force_logout ) {
delete_user_meta( $current_user->ID, 'jetpack_force_logout' );
self::delete_connection_for_user( $current_user->ID );
wp_logout();
@@ -84,7 +98,7 @@ class Jetpack_SSO {
/**
* Adds additional methods the WordPress xmlrpc API for handling SSO specific features
*
- * @param array $methods
+ * @param array $methods API methods.
* @return array
**/
public function xmlrpc_methods( $methods ) {
@@ -95,16 +109,18 @@ class Jetpack_SSO {
/**
* Marks a user's profile for disconnect from WordPress.com and forces a logout
* the next time the user visits the site.
+ *
+ * @param int $user_id User to disconnect from the site.
**/
public function xmlrpc_user_disconnect( $user_id ) {
$user_query = new WP_User_Query(
array(
- 'meta_key' => 'wpcom_user_id',
+ 'meta_key' => 'wpcom_user_id',
'meta_value' => $user_id,
)
);
- $user = $user_query->get_results();
- $user = $user[0];
+ $user = $user_query->get_results();
+ $user = $user[0];
if ( $user instanceof WP_User ) {
$user = wp_set_current_user( $user->ID );
@@ -131,14 +147,14 @@ class Jetpack_SSO {
wp_enqueue_style( 'jetpack-sso-login', plugins_url( 'modules/sso/jetpack-sso-login.css', JETPACK__PLUGIN_FILE ), array( 'login', 'genericons' ), JETPACK__VERSION );
}
- wp_enqueue_script( 'jetpack-sso-login', plugins_url( 'modules/sso/jetpack-sso-login.js', JETPACK__PLUGIN_FILE ), array( 'jquery' ), JETPACK__VERSION );
+ wp_enqueue_script( 'jetpack-sso-login', plugins_url( 'modules/sso/jetpack-sso-login.js', JETPACK__PLUGIN_FILE ), array( 'jquery' ), JETPACK__VERSION, false );
}
/**
* Adds Jetpack SSO classes to login body
*
- * @param array $classes Array of classes to add to body tag
- * @return array Array of classes to add to body tag
+ * @param array $classes Array of classes to add to body tag.
+ * @return array Array of classes to add to body tag.
*/
public function login_body_class( $classes ) {
global $action;
@@ -160,7 +176,7 @@ class Jetpack_SSO {
* The SSO module uses the method to display the default login form if we can not find a user to log in via SSO.
* But, the method could be filtered by a site admin to always show the default login form if that is preferred.
*/
- if ( empty( $_GET['jetpack-sso-show-default-form'] ) && Jetpack_SSO_Helpers::show_sso_login() ) {
+ if ( empty( $_GET['jetpack-sso-show-default-form'] ) && Jetpack_SSO_Helpers::show_sso_login() ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$classes[] = 'jetpack-sso-form-display';
}
}
@@ -168,6 +184,9 @@ class Jetpack_SSO {
return $classes;
}
+ /**
+ * Inlined admin styles for SSO.
+ */
public function print_inline_admin_css() {
?>
<style>
@@ -193,7 +212,7 @@ class Jetpack_SSO {
add_settings_section(
'jetpack_sso_settings',
- __( 'Secure Sign On' , 'jetpack' ),
+ __( 'Secure Sign On', 'jetpack' ),
'__return_false',
'jetpack-sso'
);
@@ -210,7 +229,7 @@ class Jetpack_SSO {
add_settings_field(
'jetpack_sso_require_two_step',
- '', // __( 'Require Two-Step Authentication' , 'jetpack' ),
+ '', // Output done in render $callback: __( 'Require Two-Step Authentication' , 'jetpack' ).
array( $this, 'render_require_two_step' ),
'jetpack-sso',
'jetpack_sso_settings'
@@ -227,7 +246,7 @@ class Jetpack_SSO {
add_settings_field(
'jetpack_sso_match_by_email',
- '', // __( 'Match by Email' , 'jetpack' ),
+ '', // Output done in render $callback: __( 'Match by Email' , 'jetpack' ).
array( $this, 'render_match_by_email' ),
'jetpack-sso',
'jetpack_sso_settings'
@@ -249,13 +268,15 @@ class Jetpack_SSO {
<?php checked( Jetpack_SSO_Helpers::is_two_step_required() ); ?>
<?php disabled( Jetpack_SSO_Helpers::is_require_two_step_checkbox_disabled() ); ?>
>
- <?php esc_html_e( 'Require Two-Step Authentication' , 'jetpack' ); ?>
+ <?php esc_html_e( 'Require Two-Step Authentication', 'jetpack' ); ?>
</label>
<?php
}
/**
- * Validate the require two step checkbox in Settings > General
+ * Validate the require two step checkbox in Settings > General.
+ *
+ * @param bool $input The jetpack_sso_require_two_step option setting.
*
* @since 2.7
* @return boolean
@@ -285,7 +306,9 @@ class Jetpack_SSO {
}
/**
- * Validate the match by email check in Settings > General
+ * Validate the match by email check in Settings > General.
+ *
+ * @param bool $input The jetpack_sso_match_by_email option setting.
*
* @since 2.9
* @return boolean
@@ -308,11 +331,11 @@ class Jetpack_SSO {
private function wants_to_login() {
$wants_to_login = false;
- // Cover default WordPress behavior
- $action = isset( $_REQUEST['action'] ) ? $_REQUEST['action'] : 'login';
+ // Cover default WordPress behavior.
+ $action = isset( $_REQUEST['action'] ) ? filter_var( wp_unslash( $_REQUEST['action'] ) ) : 'login'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- // And now the exceptions
- $action = isset( $_GET['loggedout'] ) ? 'loggedout' : $action;
+ // And now the exceptions.
+ $action = isset( $_GET['loggedout'] ) ? 'loggedout' : $action; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( Jetpack_SSO_Helpers::display_sso_form_for_action( $action ) ) {
$wants_to_login = true;
@@ -321,7 +344,10 @@ class Jetpack_SSO {
return $wants_to_login;
}
- function login_init() {
+ /**
+ * Initialization for a SSO request.
+ */
+ public function login_init() {
global $action;
$tracking = new Tracking();
@@ -349,8 +375,8 @@ class Jetpack_SSO {
}
}
- if ( 'jetpack-sso' === $action ) {
- if ( isset( $_GET['result'], $_GET['user_id'], $_GET['sso_nonce'] ) && 'success' == $_GET['result'] ) {
+ if ( 'jetpack-sso' === $action ) {
+ if ( isset( $_GET['result'], $_GET['user_id'], $_GET['sso_nonce'] ) && 'success' === $_GET['result'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$this->handle_login();
$this->display_sso_login_form();
} else {
@@ -359,7 +385,7 @@ class Jetpack_SSO {
} else {
// Is it wiser to just use wp_redirect than do this runaround to wp_safe_redirect?
add_filter( 'allowed_redirect_hosts', array( 'Jetpack_SSO_Helpers', 'allowed_redirect_hosts' ) );
- $reauth = ! empty( $_GET['force_reauth'] );
+ $reauth = ! empty( $_GET['force_reauth'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$sso_url = $this->get_sso_url_or_die( $reauth );
$tracking->record_user_event( 'sso_login_redirect_success' );
@@ -367,9 +393,9 @@ class Jetpack_SSO {
exit;
}
}
- } else if ( Jetpack_SSO_Helpers::display_sso_form_for_action( $action ) ) {
+ } elseif ( Jetpack_SSO_Helpers::display_sso_form_for_action( $action ) ) {
- // Save cookies so we can handle redirects after SSO
+ // Save cookies so we can handle redirects after SSO.
$this->save_cookies();
/**
@@ -379,7 +405,7 @@ class Jetpack_SSO {
*/
if ( Jetpack_SSO_Helpers::bypass_login_forward_wpcom() && $this->wants_to_login() ) {
add_filter( 'allowed_redirect_hosts', array( 'Jetpack_SSO_Helpers', 'allowed_redirect_hosts' ) );
- $reauth = ! empty( $_GET['force_reauth'] );
+ $reauth = ! empty( $_GET['force_reauth'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$sso_url = $this->get_sso_url_or_die( $reauth );
$tracking->record_user_event( 'sso_login_redirect_bypass_success' );
wp_safe_redirect( $sso_url );
@@ -396,7 +422,7 @@ class Jetpack_SSO {
*/
public function display_sso_login_form() {
add_filter( 'login_body_class', array( $this, 'login_body_class' ) );
- add_action( 'login_head', array( $this, 'print_inline_admin_css' ) );
+ add_action( 'login_head', array( $this, 'print_inline_admin_css' ) );
if ( ( new Status() )->is_staging_site() ) {
add_filter( 'login_message', array( 'Jetpack_SSO_Notices', 'sso_not_allowed_in_staging' ) );
@@ -408,7 +434,7 @@ class Jetpack_SSO {
return;
}
- add_action( 'login_form', array( $this, 'login_form' ) );
+ add_action( 'login_form', array( $this, 'login_form' ) );
add_action( 'login_enqueue_scripts', array( $this, 'login_enqueue_scripts' ) );
}
@@ -424,7 +450,8 @@ class Jetpack_SSO {
setcookie(
'jetpack_sso_original_request',
- esc_url_raw( set_url_scheme( $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ) ),
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sniff misses the wrapping esc_url_raw().
+ esc_url_raw( set_url_scheme( ( isset( $_SERVER['HTTP_HOST'] ) ? wp_unslash( $_SERVER['HTTP_HOST'] ) : '' ) . ( isset( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : '' ) ) ),
time() + HOUR_IN_SECONDS,
COOKIEPATH,
COOKIE_DOMAIN,
@@ -432,13 +459,13 @@ class Jetpack_SSO {
true
);
- if ( ! empty( $_GET['redirect_to'] ) ) {
- // If we have something to redirect to
- $url = esc_url_raw( $_GET['redirect_to'] );
+ if ( ! empty( $_GET['redirect_to'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ // If we have something to redirect to.
+ $url = esc_url_raw( wp_unslash( $_GET['redirect_to'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
setcookie( 'jetpack_sso_redirect_to', $url, time() + HOUR_IN_SECONDS, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), true );
} elseif ( ! empty( $_COOKIE['jetpack_sso_redirect_to'] ) ) {
// Otherwise, if it's already set, purge it.
- setcookie( 'jetpack_sso_redirect_to', ' ', time() - YEAR_IN_SECONDS, COOKIEPATH, COOKIE_DOMAIN );
+ setcookie( 'jetpack_sso_redirect_to', ' ', time() - YEAR_IN_SECONDS, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), true );
}
}
@@ -446,17 +473,17 @@ class Jetpack_SSO {
* Outputs the Jetpack SSO button and description as well as the toggle link
* for switching between Jetpack SSO and default login.
*/
- function login_form() {
+ public function login_form() {
$site_name = get_bloginfo( 'name' );
if ( ! $site_name ) {
$site_name = get_bloginfo( 'url' );
}
$display_name = ! empty( $_COOKIE[ 'jetpack_sso_wpcom_name_' . COOKIEHASH ] )
- ? $_COOKIE[ 'jetpack_sso_wpcom_name_' . COOKIEHASH ]
+ ? sanitize_text_field( wp_unslash( $_COOKIE[ 'jetpack_sso_wpcom_name_' . COOKIEHASH ] ) )
: false;
- $gravatar = ! empty( $_COOKIE[ 'jetpack_sso_wpcom_gravatar_' . COOKIEHASH ] )
- ? $_COOKIE[ 'jetpack_sso_wpcom_gravatar_' . COOKIEHASH ]
+ $gravatar = ! empty( $_COOKIE[ 'jetpack_sso_wpcom_gravatar_' . COOKIEHASH ] )
+ ? esc_url_raw( wp_unslash( $_COOKIE[ 'jetpack_sso_wpcom_gravatar_' . COOKIEHASH ] ) )
: false;
?>
@@ -471,16 +498,18 @@ class Jetpack_SSO {
*/
do_action( 'jetpack_sso_login_form_above_wpcom' );
- if ( $display_name && $gravatar ) : ?>
+ if ( $display_name && $gravatar ) :
+ ?>
<div id="jetpack-sso-wrap__user">
<img width="72" height="72" src="<?php echo esc_html( $gravatar ); ?>" />
<h2>
<?php
- echo wp_kses(
- sprintf( __( 'Log in as <span>%s</span>', 'jetpack' ), esc_html( $display_name ) ),
- array( 'span' => true )
- );
+ echo wp_kses(
+ /* translators: %s a user display name. */
+ sprintf( __( 'Log in as <span>%s</span>', 'jetpack' ), esc_html( $display_name ) ),
+ array( 'span' => true )
+ );
?>
</h2>
</div>
@@ -489,7 +518,7 @@ class Jetpack_SSO {
<div id="jetpack-sso-wrap__action">
- <?php echo $this->build_sso_button( array(), 'is_primary' ); ?>
+ <?php echo $this->build_sso_button( array(), 'is_primary' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaping done in build_sso_button() ?>
<?php if ( $display_name && $gravatar ) : ?>
<a rel="nofollow" class="jetpack-sso-wrap__reauth" href="<?php echo esc_url( $this->build_sso_button_url( array( 'force_reauth' => '1' ) ) ); ?>">
@@ -531,20 +560,21 @@ class Jetpack_SSO {
*/
do_action( 'jetpack_sso_login_form_below_wpcom' );
- if ( ! Jetpack_SSO_Helpers::should_hide_login_form() ) : ?>
+ if ( ! Jetpack_SSO_Helpers::should_hide_login_form() ) :
+ ?>
<div class="jetpack-sso-or">
<span><?php esc_html_e( 'Or', 'jetpack' ); ?></span>
</div>
<a href="<?php echo esc_url( add_query_arg( 'jetpack-sso-show-default-form', '1' ) ); ?>" class="jetpack-sso-toggle wpcom">
<?php
- esc_html_e( 'Log in with username and password', 'jetpack' )
+ esc_html_e( 'Log in with username and password', 'jetpack' )
?>
</a>
<a href="<?php echo esc_url( add_query_arg( 'jetpack-sso-show-default-form', '0' ) ); ?>" class="jetpack-sso-toggle default">
<?php
- esc_html_e( 'Log in with WordPress.com', 'jetpack' )
+ esc_html_e( 'Log in with WordPress.com', 'jetpack' )
?>
</a>
<?php endif; ?>
@@ -556,7 +586,7 @@ class Jetpack_SSO {
* Clear the cookies that store the profile information for the last
* WPCOM user to connect.
*/
- static function clear_wpcom_profile_cookies() {
+ public static function clear_wpcom_profile_cookies() {
if ( isset( $_COOKIE[ 'jetpack_sso_wpcom_name_' . COOKIEHASH ] ) ) {
setcookie(
'jetpack_sso_wpcom_name_' . COOKIEHASH,
@@ -564,7 +594,8 @@ class Jetpack_SSO {
time() - YEAR_IN_SECONDS,
COOKIEPATH,
COOKIE_DOMAIN,
- is_ssl()
+ is_ssl(),
+ true
);
}
@@ -575,7 +606,8 @@ class Jetpack_SSO {
time() - YEAR_IN_SECONDS,
COOKIEPATH,
COOKIE_DOMAIN,
- is_ssl()
+ is_ssl(),
+ true
);
}
}
@@ -585,67 +617,92 @@ class Jetpack_SSO {
*
* @since 4.8.0
*/
- static function clear_cookies_after_login() {
+ public static function clear_cookies_after_login() {
self::clear_wpcom_profile_cookies();
- if ( isset( $_COOKIE[ 'jetpack_sso_nonce' ] ) ) {
+ if ( isset( $_COOKIE['jetpack_sso_nonce'] ) ) {
setcookie(
'jetpack_sso_nonce',
' ',
time() - YEAR_IN_SECONDS,
COOKIEPATH,
COOKIE_DOMAIN,
- is_ssl()
+ is_ssl(),
+ true
);
}
- if ( isset( $_COOKIE[ 'jetpack_sso_original_request' ] ) ) {
+ if ( isset( $_COOKIE['jetpack_sso_original_request'] ) ) {
setcookie(
'jetpack_sso_original_request',
' ',
time() - YEAR_IN_SECONDS,
COOKIEPATH,
COOKIE_DOMAIN,
- is_ssl()
+ is_ssl(),
+ true
);
}
- if ( isset( $_COOKIE[ 'jetpack_sso_redirect_to' ] ) ) {
+ if ( isset( $_COOKIE['jetpack_sso_redirect_to'] ) ) {
setcookie(
'jetpack_sso_redirect_to',
' ',
time() - YEAR_IN_SECONDS,
COOKIEPATH,
COOKIE_DOMAIN,
- is_ssl()
+ is_ssl(),
+ true
);
}
}
- static function delete_connection_for_user( $user_id ) {
- if ( ! $wpcom_user_id = get_user_meta( $user_id, 'wpcom_user_id', true ) ) {
+ /**
+ * Clean up after Jetpack gets disconnected.
+ *
+ * @since 10.7
+ */
+ public static function disconnect() {
+ if ( Jetpack::connection()->is_user_connected() ) {
+ static::delete_connection_for_user( get_current_user_id() );
+ }
+ }
+
+ /**
+ * Remove an SSO connection for a user.
+ *
+ * @param int $user_id The local user id.
+ */
+ public static function delete_connection_for_user( $user_id ) {
+ $wpcom_user_id = get_user_meta( $user_id, 'wpcom_user_id', true );
+ if ( ! $wpcom_user_id ) {
return;
}
- $xml = new Jetpack_IXR_Client( array(
- 'wpcom_user_id' => $user_id,
- ) );
+ $xml = new Jetpack_IXR_Client(
+ array(
+ 'wpcom_user_id' => $user_id,
+ )
+ );
$xml->query( 'jetpack.sso.removeUser', $wpcom_user_id );
if ( $xml->isError() ) {
return false;
}
- // Clean up local data stored for SSO
+ // Clean up local data stored for SSO.
delete_user_meta( $user_id, 'wpcom_user_id' );
- delete_user_meta( $user_id, 'wpcom_user_data' );
+ delete_user_meta( $user_id, 'wpcom_user_data' );
self::clear_wpcom_profile_cookies();
return $xml->getResponse();
}
- static function request_initial_nonce() {
- $nonce = ! empty( $_COOKIE[ 'jetpack_sso_nonce' ] )
- ? $_COOKIE[ 'jetpack_sso_nonce' ]
+ /**
+ * Retrieves nonce used for SSO form.
+ */
+ public static function request_initial_nonce() {
+ $nonce = ! empty( $_COOKIE['jetpack_sso_nonce'] )
+ ? sanitize_key( wp_unslash( $_COOKIE['jetpack_sso_nonce'] ) )
: false;
if ( ! $nonce ) {
@@ -656,7 +713,7 @@ class Jetpack_SSO {
return new WP_Error( $xml->getErrorCode(), $xml->getErrorMessage() );
}
- $nonce = $xml->getResponse();
+ $nonce = sanitize_key( $xml->getResponse() );
setcookie(
'jetpack_sso_nonce',
@@ -664,19 +721,20 @@ class Jetpack_SSO {
time() + ( 10 * MINUTE_IN_SECONDS ),
COOKIEPATH,
COOKIE_DOMAIN,
- is_ssl()
+ is_ssl(),
+ true
);
}
- return sanitize_key( $nonce );
+ return $nonce;
}
/**
* The function that actually handles the login!
*/
- function handle_login() {
- $wpcom_nonce = sanitize_key( $_GET['sso_nonce'] );
- $wpcom_user_id = (int) $_GET['user_id'];
+ public function handle_login() {
+ $wpcom_nonce = isset( $_GET['sso_nonce'] ) ? sanitize_key( $_GET['sso_nonce'] ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $wpcom_user_id = isset( $_GET['user_id'] ) ? (int) $_GET['user_id'] : 0; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$xml = new Jetpack_IXR_Client();
$xml->query( 'jetpack.sso.validateResult', $wpcom_nonce, $wpcom_user_id );
@@ -689,7 +747,7 @@ class Jetpack_SSO {
}
$user_data = (object) $user_data;
- $user = null;
+ $user = null;
/**
* Fires before Jetpack's SSO modifies the log in form.
@@ -707,9 +765,12 @@ class Jetpack_SSO {
if ( Jetpack_SSO_Helpers::is_two_step_required() && 0 === (int) $user_data->two_step_enabled ) {
$this->user_data = $user_data;
- $tracking->record_user_event( 'sso_login_failed', array(
- 'error_message' => 'error_msg_enable_two_step'
- ) );
+ $tracking->record_user_event(
+ 'sso_login_failed',
+ array(
+ 'error_message' => 'error_msg_enable_two_step',
+ )
+ );
$error = new WP_Error( 'two_step_required', __( 'You must have Two-Step Authentication enabled on your WordPress.com account.', 'jetpack' ) );
@@ -722,12 +783,19 @@ class Jetpack_SSO {
$user_found_with = '';
if ( empty( $user ) && isset( $user_data->external_user_id ) ) {
$user_found_with = 'external_user_id';
- $user = get_user_by( 'id', (int) $user_data->external_user_id );
+ $user = get_user_by( 'id', (int) $user_data->external_user_id );
if ( $user ) {
$expected_id = get_user_meta( $user->ID, 'wpcom_user_id', true );
- if ( $expected_id && $expected_id != $user_data->ID ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ if ( $expected_id && $expected_id != $user_data->ID ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison, Universal.Operators.StrictComparisons.LooseNotEqual
$error = new WP_Error( 'expected_wpcom_user', __( 'Something got a little mixed up and an unexpected WordPress.com user logged in.', 'jetpack' ) );
+ $tracking->record_user_event(
+ 'sso_login_failed',
+ array(
+ 'error_message' => 'error_unexpected_wpcom_user',
+ )
+ );
+
/** This filter is documented in core/src/wp-includes/pluggable.php */
do_action( 'wp_login_failed', $user_data->login, $error );
add_filter( 'login_message', array( 'Jetpack_SSO_Notices', 'error_invalid_response_data' ) ); // @todo Need to have a better notice. This is only for the sake of testing the validation.
@@ -740,15 +808,15 @@ class Jetpack_SSO {
// If we don't have one by wpcom_user_id, try by the email?
if ( empty( $user ) && Jetpack_SSO_Helpers::match_by_email() ) {
$user_found_with = 'match_by_email';
- $user = get_user_by( 'email', $user_data->email );
+ $user = get_user_by( 'email', $user_data->email );
if ( $user ) {
update_user_meta( $user->ID, 'wpcom_user_id', $user_data->ID );
}
}
// If we've still got nothing, create the user.
- $new_user_override_role = false;
- if ( empty( $user ) && ( get_option( 'users_can_register' ) || ( $new_user_override_role = Jetpack_SSO_Helpers::new_user_override( $user_data ) ) ) ) {
+ $new_user_override_role = Jetpack_SSO_Helpers::new_user_override( $user_data );
+ if ( empty( $user ) && ( get_option( 'users_can_register' ) || $new_user_override_role ) ) {
/**
* If not matching by email we still need to verify the email does not exist
* or this blows up
@@ -765,9 +833,12 @@ class Jetpack_SSO {
$user = Jetpack_SSO_Helpers::generate_user( $user_data );
if ( ! $user ) {
- $tracking->record_user_event( 'sso_login_failed', array(
- 'error_message' => 'could_not_create_username'
- ) );
+ $tracking->record_user_event(
+ 'sso_login_failed',
+ array(
+ 'error_message' => 'could_not_create_username',
+ )
+ );
add_filter( 'login_message', array( 'Jetpack_SSO_Notices', 'error_unable_to_create_user' ) );
return;
}
@@ -776,9 +847,12 @@ class Jetpack_SSO {
? 'user_created_new_user_override'
: 'user_created_users_can_register';
} else {
- $tracking->record_user_event( 'sso_login_failed', array(
- 'error_message' => 'error_msg_email_already_exists'
- ) );
+ $tracking->record_user_event(
+ 'sso_login_failed',
+ array(
+ 'error_message' => 'error_msg_email_already_exists',
+ )
+ );
$this->user_data = $user_data;
add_action( 'login_message', array( 'Jetpack_SSO_Notices', 'error_msg_email_already_exists' ) );
@@ -799,10 +873,10 @@ class Jetpack_SSO {
do_action( 'jetpack_sso_handle_login', $user, $user_data );
if ( $user ) {
- // Cache the user's details, so we can present it back to them on their user screen
+ // Cache the user's details, so we can present it back to them on their user screen.
update_user_meta( $user->ID, 'wpcom_user_data', $user_data );
- add_filter( 'auth_cookie_expiration', array( 'Jetpack_SSO_Helpers', 'extend_auth_cookie_expiration_for_sso' ) );
+ add_filter( 'auth_cookie_expiration', array( 'Jetpack_SSO_Helpers', 'extend_auth_cookie_expiration_for_sso' ) );
wp_set_auth_cookie( $user->ID, true );
remove_filter( 'auth_cookie_expiration', array( 'Jetpack_SSO_Helpers', 'extend_auth_cookie_expiration_for_sso' ) );
@@ -811,13 +885,14 @@ class Jetpack_SSO {
wp_set_current_user( $user->ID );
- $_request_redirect_to = isset( $_REQUEST['redirect_to'] ) ? esc_url_raw( $_REQUEST['redirect_to'] ) : '';
- $redirect_to = user_can( $user, 'edit_posts' ) ? admin_url() : self::profile_page_url();
+ $_request_redirect_to = isset( $_REQUEST['redirect_to'] ) ? esc_url_raw( wp_unslash( $_REQUEST['redirect_to'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $redirect_to = user_can( $user, 'edit_posts' ) ? admin_url() : self::profile_page_url();
- // If we have a saved redirect to request in a cookie
+ // If we have a saved redirect to request in a cookie.
if ( ! empty( $_COOKIE['jetpack_sso_redirect_to'] ) ) {
- // Set that as the requested redirect to
- $redirect_to = $_request_redirect_to = esc_url_raw( $_COOKIE['jetpack_sso_redirect_to'] );
+ // Set that as the requested redirect to.
+ $redirect_to = esc_url_raw( wp_unslash( $_COOKIE['jetpack_sso_redirect_to'] ) );
+ $_request_redirect_to = $redirect_to;
}
$json_api_auth_environment = Jetpack_SSO_Helpers::get_json_api_auth_environment();
@@ -825,18 +900,21 @@ class Jetpack_SSO {
$is_json_api_auth = ! empty( $json_api_auth_environment );
$is_user_connected = ( new Connection_Manager( 'jetpack' ) )->is_user_connected( $user->ID );
$roles = new Roles();
- $tracking->record_user_event( 'sso_user_logged_in', array(
- 'user_found_with' => $user_found_with,
- 'user_connected' => (bool) $is_user_connected,
- 'user_role' => $roles->translate_current_user_to_role(),
- 'is_json_api_auth' => (bool) $is_json_api_auth,
- ) );
+ $tracking->record_user_event(
+ 'sso_user_logged_in',
+ array(
+ 'user_found_with' => $user_found_with,
+ 'user_connected' => (bool) $is_user_connected,
+ 'user_role' => $roles->translate_current_user_to_role(),
+ 'is_json_api_auth' => (bool) $is_json_api_auth,
+ )
+ );
if ( $is_json_api_auth ) {
Jetpack::init()->verify_json_api_authorization_request( $json_api_auth_environment );
Jetpack::init()->store_json_api_authorization_token( $user->user_login, $user );
- } else if ( ! $is_user_connected ) {
+ } elseif ( ! $is_user_connected ) {
wp_safe_redirect(
add_query_arg(
array(
@@ -861,9 +939,12 @@ class Jetpack_SSO {
add_filter( 'jetpack_sso_default_to_sso_login', '__return_false' );
- $tracking->record_user_event( 'sso_login_failed', array(
- 'error_message' => 'cant_find_user'
- ) );
+ $tracking->record_user_event(
+ 'sso_login_failed',
+ array(
+ 'error_message' => 'cant_find_user',
+ )
+ );
$this->user_data = $user_data;
@@ -874,7 +955,10 @@ class Jetpack_SSO {
add_filter( 'login_message', array( 'Jetpack_SSO_Notices', 'cant_find_user' ) );
}
- static function profile_page_url() {
+ /**
+ * Retreive the admin profile page URL.
+ */
+ public static function profile_page_url() {
return admin_url( 'profile.php' );
}
@@ -882,11 +966,11 @@ class Jetpack_SSO {
* Builds the "Login to WordPress.com" button that is displayed on the login page as well as user profile page.
*
* @param array $args An array of arguments to add to the SSO URL.
- * @param boolean $is_primary Should the button have the `button-primary` class?
+ * @param boolean $is_primary If the button have the `button-primary` class.
* @return string Returns the HTML markup for the button.
*/
- function build_sso_button( $args = array(), $is_primary = false ) {
- $url = $this->build_sso_button_url( $args );
+ public function build_sso_button( $args = array(), $is_primary = false ) {
+ $url = $this->build_sso_button_url( $args );
$classes = $is_primary
? 'jetpack-sso button button-primary'
: 'jetpack-sso button';
@@ -903,18 +987,18 @@ class Jetpack_SSO {
/**
* Builds a URL with `jetpack-sso` action and option args which is used to setup SSO.
*
- * @param array $args An array of arguments to add to the SSO URL.
+ * @param array $args An array of arguments to add to the SSO URL.
* @return string The URL used for SSO.
*/
- function build_sso_button_url( $args = array() ) {
+ public function build_sso_button_url( $args = array() ) {
$defaults = array(
- 'action' => 'jetpack-sso',
+ 'action' => 'jetpack-sso',
);
$args = wp_parse_args( $args, $defaults );
- if ( ! empty( $_GET['redirect_to'] ) ) {
- $args['redirect_to'] = urlencode( esc_url_raw( $_GET['redirect_to'] ) );
+ if ( ! empty( $_GET['redirect_to'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $args['redirect_to'] = rawurlencode( esc_url_raw( wp_unslash( $_GET['redirect_to'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
}
return add_query_arg( $args, wp_login_url() );
@@ -923,11 +1007,11 @@ class Jetpack_SSO {
/**
* Retrieves a WordPress.com SSO URL with appropriate query parameters or dies.
*
- * @param boolean $reauth Should the user be forced to reauthenticate on WordPress.com?
- * @param array $args Optional query parameters.
+ * @param boolean $reauth If the user be forced to reauthenticate on WordPress.com.
+ * @param array $args Optional query parameters.
* @return string The WordPress.com SSO URL.
*/
- function get_sso_url_or_die( $reauth = false, $args = array() ) {
+ public function get_sso_url_or_die( $reauth = false, $args = array() ) {
$custom_login_url = Jetpack_SSO_Helpers::get_custom_login_url();
if ( $custom_login_url ) {
$args['login_url'] = rawurlencode( $custom_login_url );
@@ -945,11 +1029,14 @@ class Jetpack_SSO {
$error_message = sanitize_text_field(
sprintf( '%s: %s', $sso_redirect->get_error_code(), $sso_redirect->get_error_message() )
);
- $tracking = new Tracking();
- $tracking->record_user_event( 'sso_login_redirect_failed', array(
- 'error_message' => $error_message
- ) );
- wp_die( $error_message );
+ $tracking = new Tracking();
+ $tracking->record_user_event(
+ 'sso_login_redirect_failed',
+ array(
+ 'error_message' => $error_message,
+ )
+ );
+ wp_die( esc_html( $error_message ) );
}
return $sso_redirect;
@@ -989,7 +1076,12 @@ class Jetpack_SSO {
*/
public function build_reauth_and_sso_url( $args = array() ) {
$sso_nonce = ! empty( $args['sso_nonce'] ) ? $args['sso_nonce'] : self::request_initial_nonce();
- $redirect = $this->build_sso_url( array( 'force_auth' => '1', 'sso_nonce' => $sso_nonce ) );
+ $redirect = $this->build_sso_url(
+ array(
+ 'force_auth' => '1',
+ 'sso_nonce' => $sso_nonce,
+ )
+ );
if ( is_wp_error( $redirect ) ) {
return $redirect;
@@ -1000,7 +1092,7 @@ class Jetpack_SSO {
'site_id' => Jetpack_Options::get_option( 'id' ),
'sso_nonce' => $sso_nonce,
'reauth' => '1',
- 'redirect_to' => urlencode( $redirect ),
+ 'redirect_to' => rawurlencode( $redirect ),
'calypso_auth' => '1',
);
@@ -1018,15 +1110,17 @@ class Jetpack_SSO {
*
* @since 2.6.0
*
- * @param int $wpcom_user_id User ID from WordPress.com
+ * @param int $wpcom_user_id User ID from WordPress.com.
* @return object Local user object if found, null if not.
*/
- static function get_user_by_wpcom_id( $wpcom_user_id ) {
- $user_query = new WP_User_Query( array(
- 'meta_key' => 'wpcom_user_id',
- 'meta_value' => (int) $wpcom_user_id,
- 'number' => 1,
- ) );
+ public static function get_user_by_wpcom_id( $wpcom_user_id ) {
+ $user_query = new WP_User_Query(
+ array(
+ 'meta_key' => 'wpcom_user_id',
+ 'meta_value' => (int) $wpcom_user_id,
+ 'number' => 1,
+ )
+ );
$users = $user_query->get_results();
return $users ? array_shift( $users ) : null;
@@ -1039,13 +1133,13 @@ class Jetpack_SSO {
* We redirect here instead of in handle_login() because Jetpack::init()->build_connect_url
* calls menu_page_url() which doesn't work properly until admin menus are registered.
*/
- function maybe_authorize_user_after_sso() {
- if ( empty( $_GET['jetpack-sso-auth-redirect'] ) ) {
+ public function maybe_authorize_user_after_sso() {
+ if ( empty( $_GET['jetpack-sso-auth-redirect'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
return;
}
- $redirect_to = ! empty( $_GET['redirect_to'] ) ? esc_url_raw( $_GET['redirect_to'] ) : admin_url();
- $request_redirect_to = ! empty( $_GET['request_redirect_to'] ) ? esc_url_raw( $_GET['request_redirect_to'] ) : $redirect_to;
+ $redirect_to = ! empty( $_GET['redirect_to'] ) ? esc_url_raw( wp_unslash( $_GET['redirect_to'] ) ) : admin_url(); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $request_redirect_to = ! empty( $_GET['request_redirect_to'] ) ? esc_url_raw( wp_unslash( $_GET['request_redirect_to'] ) ) : $redirect_to; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
/** This filter is documented in core/src/wp-login.php */
$redirect_after_auth = apply_filters( 'login_redirect', $redirect_to, $request_redirect_to, wp_get_current_user() );
@@ -1075,7 +1169,7 @@ class Jetpack_SSO {
* Cache user's display name and Gravatar so it can be displayed on the login screen. These cookies are
* stored when the user logs out, and then deleted when the user logs in.
*/
- function store_wpcom_profile_cookies_on_logout() {
+ public function store_wpcom_profile_cookies_on_logout() {
if ( ! ( new Connection_Manager( 'jetpack' ) )->is_user_connected( get_current_user_id() ) ) {
return;
}
@@ -1091,19 +1185,24 @@ class Jetpack_SSO {
time() + WEEK_IN_SECONDS,
COOKIEPATH,
COOKIE_DOMAIN,
- is_ssl()
+ is_ssl(),
+ true
);
setcookie(
'jetpack_sso_wpcom_gravatar_' . COOKIEHASH,
get_avatar_url(
$user_data->email,
- array( 'size' => 144, 'default' => 'mystery' )
+ array(
+ 'size' => 144,
+ 'default' => 'mystery',
+ )
),
time() + WEEK_IN_SECONDS,
COOKIEPATH,
COOKIE_DOMAIN,
- is_ssl()
+ is_ssl(),
+ true
);
}
@@ -1111,7 +1210,7 @@ class Jetpack_SSO {
* Determines if a local user is connected to WordPress.com
*
* @since 2.8
- * @param integer $user_id - Local user id
+ * @param integer $user_id - Local user id.
* @return boolean
**/
public function is_user_connected( $user_id ) {
@@ -1122,7 +1221,7 @@ class Jetpack_SSO {
* Retrieves a user's WordPress.com data
*
* @since 2.8
- * @param integer $user_id - Local user id
+ * @param integer $user_id - Local user id.
* @return mixed null or stdClass
**/
public function get_user_data( $user_id ) {
diff --git a/plugins/jetpack/modules/sso/class.jetpack-sso-helpers.php b/plugins/jetpack/modules/sso/class.jetpack-sso-helpers.php
index 921c202b..66a1f118 100644
--- a/plugins/jetpack/modules/sso/class.jetpack-sso-helpers.php
+++ b/plugins/jetpack/modules/sso/class.jetpack-sso-helpers.php
@@ -1,327 +1,348 @@
-<?php
-
-if ( ! class_exists( 'Jetpack_SSO_Helpers' ) ) :
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* A collection of helper functions used in the SSO module.
*
- * @since 4.1.0
+ * @package automattic/jetpack
*/
-class Jetpack_SSO_Helpers {
+
+if ( ! class_exists( 'Jetpack_SSO_Helpers' ) ) :
+
/**
- * Determine if the login form should be hidden or not
+ * A collection of helper functions used in the SSO module.
*
- * @return bool
- **/
- static function should_hide_login_form() {
+ * @since 4.1.0
+ */
+ class Jetpack_SSO_Helpers {
/**
- * Remove the default log in form, only leave the WordPress.com log in button.
+ * Determine if the login form should be hidden or not
*
- * @module sso
+ * @return bool
+ **/
+ public static function should_hide_login_form() {
+ /**
+ * Remove the default log in form, only leave the WordPress.com log in button.
+ *
+ * @module sso
+ *
+ * @since 3.1.0
+ *
+ * @param bool get_option( 'jetpack_sso_remove_login_form', false ) Should the default log in form be removed. Default to false.
+ */
+ return (bool) apply_filters( 'jetpack_remove_login_form', get_option( 'jetpack_sso_remove_login_form', false ) );
+ }
+
+ /**
+ * Returns a boolean value for whether logging in by matching the WordPress.com user email to a
+ * Jetpack site user's email is allowed.
*
- * @since 3.1.0
+ * @return bool
+ */
+ public static function match_by_email() {
+ $match_by_email = ( 1 === (int) get_option( 'jetpack_sso_match_by_email', true ) ) ? true : false;
+ $match_by_email = defined( 'WPCC_MATCH_BY_EMAIL' ) ? WPCC_MATCH_BY_EMAIL : $match_by_email;
+
+ /**
+ * Link the local account to an account on WordPress.com using the same email address.
+ *
+ * @module sso
+ *
+ * @since 2.6.0
+ *
+ * @param bool $match_by_email Should we link the local account to an account on WordPress.com using the same email address. Default to false.
+ */
+ return (bool) apply_filters( 'jetpack_sso_match_by_email', $match_by_email );
+ }
+
+ /**
+ * Returns a boolean for whether users are allowed to register on the Jetpack site with SSO,
+ * even though the site disallows normal registrations.
*
- * @param bool get_option( 'jetpack_sso_remove_login_form', false ) Should the default log in form be removed. Default to false.
+ * @param object|null $user_data WordPress.com user information.
+ * @return bool
*/
- return (bool) apply_filters( 'jetpack_remove_login_form', get_option( 'jetpack_sso_remove_login_form', false ) );
- }
+ public static function new_user_override( $user_data = null ) {
+ $new_user_override = defined( 'WPCC_NEW_USER_OVERRIDE' ) ? WPCC_NEW_USER_OVERRIDE : false;
+
+ /**
+ * Allow users to register on your site with a WordPress.com account, even though you disallow normal registrations.
+ * If you return a string that corresponds to a user role, the user will be given that role.
+ *
+ * @module sso
+ *
+ * @since 2.6.0
+ * @since 4.6 $user_data object is now passed to the jetpack_sso_new_user_override filter
+ *
+ * @param bool $new_user_override Allow users to register on your site with a WordPress.com account. Default to false.
+ * @param object|null $user_data An object containing the user data returned from WordPress.com.
+ */
+ $role = apply_filters( 'jetpack_sso_new_user_override', $new_user_override, $user_data );
+
+ if ( $role ) {
+ if ( is_string( $role ) && get_role( $role ) ) {
+ return $role;
+ } else {
+ return get_option( 'default_role' );
+ }
+ }
- /**
- * Returns a boolean value for whether logging in by matching the WordPress.com user email to a
- * Jetpack site user's email is allowed.
- *
- * @return bool
- */
- static function match_by_email() {
- $match_by_email = ( 1 == get_option( 'jetpack_sso_match_by_email', true ) ) ? true: false;
- $match_by_email = defined( 'WPCC_MATCH_BY_EMAIL' ) ? WPCC_MATCH_BY_EMAIL : $match_by_email;
+ return false;
+ }
/**
- * Link the local account to an account on WordPress.com using the same email address.
+ * Returns a boolean value for whether two-step authentication is required for SSO.
*
- * @module sso
- *
- * @since 2.6.0
+ * @since 4.1.0
*
- * @param bool $match_by_email Should we link the local account to an account on WordPress.com using the same email address. Default to false.
+ * @return bool
*/
- return (bool) apply_filters( 'jetpack_sso_match_by_email', $match_by_email );
- }
-
- /**
- * Returns a boolean for whether users are allowed to register on the Jetpack site with SSO,
- * even though the site disallows normal registrations.
- *
- * @return bool
- */
- static function new_user_override( $user_data = null ) {
- $new_user_override = defined( 'WPCC_NEW_USER_OVERRIDE' ) ? WPCC_NEW_USER_OVERRIDE : false;
+ public static function is_two_step_required() {
+ /**
+ * Is it required to have 2-step authentication enabled on WordPress.com to use SSO?
+ *
+ * @module sso
+ *
+ * @since 2.8.0
+ *
+ * @param bool get_option( 'jetpack_sso_require_two_step' ) Does SSO require 2-step authentication?
+ */
+ return (bool) apply_filters( 'jetpack_sso_require_two_step', get_option( 'jetpack_sso_require_two_step', false ) );
+ }
/**
- * Allow users to register on your site with a WordPress.com account, even though you disallow normal registrations.
- * If you return a string that corresponds to a user role, the user will be given that role.
+ * Returns a boolean for whether a user that is attempting to log in will be automatically
+ * redirected to WordPress.com to begin the SSO flow.
*
- * @module sso
+ * @return bool
+ */
+ public static function bypass_login_forward_wpcom() {
+ /**
+ * Redirect the site's log in form to WordPress.com's log in form.
+ *
+ * @module sso
+ *
+ * @since 3.1.0
+ *
+ * @param bool false Should the site's log in form be automatically forwarded to WordPress.com's log in form.
+ */
+ return (bool) apply_filters( 'jetpack_sso_bypass_login_forward_wpcom', false );
+ }
+
+ /**
+ * Returns a boolean for whether the SSO login form should be displayed as the default
+ * when both the default and SSO login form allowed.
*
- * @since 2.6.0
- * @since 4.6 $user_data object is now passed to the jetpack_sso_new_user_override filter
+ * @since 4.1.0
*
- * @param bool $new_user_override Allow users to register on your site with a WordPress.com account. Default to false.
- * @param object|null $user_data An object containing the user data returned from WordPress.com.
+ * @return bool
*/
- $role = apply_filters( 'jetpack_sso_new_user_override', $new_user_override, $user_data );
-
- if ( $role ) {
- if ( is_string( $role ) && get_role( $role ) ) {
- return $role;
- } else {
- return get_option( 'default_role' );
+ public static function show_sso_login() {
+ if ( self::should_hide_login_form() ) {
+ return true;
}
- }
- return false;
- }
+ /**
+ * Display the SSO login form as the default when both the default and SSO login forms are enabled.
+ *
+ * @module sso
+ *
+ * @since 4.1.0
+ *
+ * @param bool true Should the SSO login form be displayed by default when the default login form is also enabled?
+ */
+ return (bool) apply_filters( 'jetpack_sso_default_to_sso_login', true );
+ }
- /**
- * Returns a boolean value for whether two-step authentication is required for SSO.
- *
- * @since 4.1.0
- *
- * @return bool
- */
- static function is_two_step_required() {
/**
- * Is it required to have 2-step authentication enabled on WordPress.com to use SSO?
- *
- * @module sso
+ * Returns a boolean for whether the two step required checkbox, displayed on the Jetpack admin page, should be disabled.
*
- * @since 2.8.0
+ * @since 4.1.0
*
- * @param bool get_option( 'jetpack_sso_require_two_step' ) Does SSO require 2-step authentication?
+ * @return bool
*/
- return (bool) apply_filters( 'jetpack_sso_require_two_step', get_option( 'jetpack_sso_require_two_step', false ) );
- }
+ public static function is_require_two_step_checkbox_disabled() {
+ return (bool) has_filter( 'jetpack_sso_require_two_step' );
+ }
- /**
- * Returns a boolean for whether a user that is attempting to log in will be automatically
- * redirected to WordPress.com to begin the SSO flow.
- *
- * @return bool
- */
- static function bypass_login_forward_wpcom() {
/**
- * Redirect the site's log in form to WordPress.com's log in form.
+ * Returns a boolean for whether the match by email checkbox, displayed on the Jetpack admin page, should be disabled.
*
- * @module sso
- *
- * @since 3.1.0
+ * @since 4.1.0
*
- * @param bool false Should the site's log in form be automatically forwarded to WordPress.com's log in form.
+ * @return bool
*/
- return (bool) apply_filters( 'jetpack_sso_bypass_login_forward_wpcom', false );
- }
-
- /**
- * Returns a boolean for whether the SSO login form should be displayed as the default
- * when both the default and SSO login form allowed.
- *
- * @since 4.1.0
- *
- * @return bool
- */
- static function show_sso_login() {
- if ( self::should_hide_login_form() ) {
- return true;
+ public static function is_match_by_email_checkbox_disabled() {
+ return defined( 'WPCC_MATCH_BY_EMAIL' ) || has_filter( 'jetpack_sso_match_by_email' );
}
/**
- * Display the SSO login form as the default when both the default and SSO login forms are enabled.
+ * Returns an array of hosts that SSO will redirect to.
*
- * @module sso
+ * Instead of accessing JETPACK__API_BASE within the method directly, we set it as the
+ * default for $api_base due to restrictions with testing constants in our tests.
*
- * @since 4.1.0
+ * @since 4.3.0
+ * @since 4.6.0 Added public-api.wordpress.com as an allowed redirect
*
- * @param bool true Should the SSO login form be displayed by default when the default login form is also enabled?
+ * @param array $hosts Allowed redirect hosts.
+ * @param string $api_base Base API URL.
+ *
+ * @return array
*/
- return (bool) apply_filters( 'jetpack_sso_default_to_sso_login', true );
- }
-
- /**
- * Returns a boolean for whether the two step required checkbox, displayed on the Jetpack admin page, should be disabled.
- *
- * @since 4.1.0
- *
- * @return bool
- */
- static function is_require_two_step_checkbox_disabled() {
- return (bool) has_filter( 'jetpack_sso_require_two_step' );
- }
-
- /**
- * Returns a boolean for whether the match by email checkbox, displayed on the Jetpack admin page, should be disabled.
- *
- * @since 4.1.0
- *
- * @return bool
- */
- static function is_match_by_email_checkbox_disabled() {
- return defined( 'WPCC_MATCH_BY_EMAIL' ) || has_filter( 'jetpack_sso_match_by_email' );
- }
-
- /**
- * Returns an array of hosts that SSO will redirect to.
- *
- * Instead of accessing JETPACK__API_BASE within the method directly, we set it as the
- * default for $api_base due to restrictions with testing constants in our tests.
- *
- * @since 4.3.0
- * @since 4.6.0 Added public-api.wordpress.com as an allowed redirect
- *
- * @param array $hosts
- * @param string $api_base
- *
- * @return array
- */
- static function allowed_redirect_hosts( $hosts, $api_base = JETPACK__API_BASE ) {
- if ( empty( $hosts ) ) {
- $hosts = array();
- }
+ public static function allowed_redirect_hosts( $hosts, $api_base = JETPACK__API_BASE ) {
+ if ( empty( $hosts ) ) {
+ $hosts = array();
+ }
- $hosts[] = 'wordpress.com';
- $hosts[] = 'jetpack.wordpress.com';
- $hosts[] = 'public-api.wordpress.com';
- $hosts[] = 'jetpack.com';
+ $hosts[] = 'wordpress.com';
+ $hosts[] = 'jetpack.wordpress.com';
+ $hosts[] = 'public-api.wordpress.com';
+ $hosts[] = 'jetpack.com';
- if ( false === strpos( $api_base, 'jetpack.wordpress.com/jetpack' ) ) {
- $base_url_parts = wp_parse_url( esc_url_raw( $api_base ) );
- if ( $base_url_parts && ! empty( $base_url_parts[ 'host' ] ) ) {
- $hosts[] = $base_url_parts[ 'host' ];
+ if ( false === strpos( $api_base, 'jetpack.wordpress.com/jetpack' ) ) {
+ $base_url_parts = wp_parse_url( esc_url_raw( $api_base ) );
+ if ( $base_url_parts && ! empty( $base_url_parts['host'] ) ) {
+ $hosts[] = $base_url_parts['host'];
+ }
}
- }
- return array_unique( $hosts );
- }
+ return array_unique( $hosts );
+ }
- static function generate_user( $user_data ) {
- $username = $user_data->login;
/**
- * Determines how many times the SSO module can attempt to randomly generate a user.
+ * Generate a new user from a SSO attempt.
*
- * @module sso
- *
- * @since 4.3.2
- *
- * @param int 5 By default, SSO will attempt to random generate a user up to 5 times.
+ * @param object $user_data WordPress.com user information.
*/
- $num_tries = (int) apply_filters( 'jetpack_sso_allowed_username_generate_retries', 5 );
-
- $tries = 0;
- while ( ( $exists = username_exists( $username ) ) && $tries++ < $num_tries ) {
- $username = $user_data->login . '_' . $user_data->ID . '_' . mt_rand();
- }
+ public static function generate_user( $user_data ) {
+ $username = $user_data->login;
+ /**
+ * Determines how many times the SSO module can attempt to randomly generate a user.
+ *
+ * @module sso
+ *
+ * @since 4.3.2
+ *
+ * @param int 5 By default, SSO will attempt to random generate a user up to 5 times.
+ */
+ $num_tries = (int) apply_filters( 'jetpack_sso_allowed_username_generate_retries', 5 );
+
+ $exists = username_exists( $username );
+ $tries = 0;
+ while ( $exists && $tries++ < $num_tries ) {
+ $username = $user_data->login . '_' . $user_data->ID . '_' . wp_rand();
+ $exists = username_exists( $username );
+ }
- if ( $exists ) {
- return false;
- }
+ if ( $exists ) {
+ return false;
+ }
- $user = (object) array();
- $user->user_pass = wp_generate_password( 20 );
- $user->user_login = wp_slash( $username );
- $user->user_email = wp_slash( $user_data->email );
- $user->display_name = $user_data->display_name;
- $user->first_name = $user_data->first_name;
- $user->last_name = $user_data->last_name;
- $user->url = $user_data->url;
- $user->description = $user_data->description;
-
- if ( isset( $user_data->role ) && $user_data->role ) {
- $user->role = $user_data->role;
- }
+ $user = (object) array();
+ $user->user_pass = wp_generate_password( 20 );
+ $user->user_login = wp_slash( $username );
+ $user->user_email = wp_slash( $user_data->email );
+ $user->display_name = $user_data->display_name;
+ $user->first_name = $user_data->first_name;
+ $user->last_name = $user_data->last_name;
+ $user->url = $user_data->url;
+ $user->description = $user_data->description;
+
+ if ( isset( $user_data->role ) && $user_data->role ) {
+ $user->role = $user_data->role;
+ }
- $created_user_id = wp_insert_user( $user );
+ $created_user_id = wp_insert_user( $user );
- update_user_meta( $created_user_id, 'wpcom_user_id', $user_data->ID );
- return get_userdata( $created_user_id );
- }
+ update_user_meta( $created_user_id, 'wpcom_user_id', $user_data->ID );
+ return get_userdata( $created_user_id );
+ }
- static function extend_auth_cookie_expiration_for_sso() {
/**
* Determines how long the auth cookie is valid for when a user logs in with SSO.
*
- * @module sso
+ * @return int result of the jetpack_sso_auth_cookie_expiration filter.
+ */
+ public static function extend_auth_cookie_expiration_for_sso() {
+ /**
+ * Determines how long the auth cookie is valid for when a user logs in with SSO.
+ *
+ * @module sso
+ *
+ * @since 4.4.0
+ * @since 6.1.0 Fixed a typo. Filter was previously jetpack_sso_auth_cookie_expirtation.
+ *
+ * @param int YEAR_IN_SECONDS
+ */
+ return (int) apply_filters( 'jetpack_sso_auth_cookie_expiration', YEAR_IN_SECONDS );
+ }
+
+ /**
+ * Determines if the SSO form should be displayed for the current action.
*
- * @since 4.4.0
- * @since 6.1.0 Fixed a typo. Filter was previously jetpack_sso_auth_cookie_expirtation.
+ * @since 4.6.0
*
- * @param int YEAR_IN_SECONDS
+ * @param string $action SSO action being performed.
+ *
+ * @return bool Is SSO allowed for the current action?
*/
- return (int) apply_filters( 'jetpack_sso_auth_cookie_expiration', YEAR_IN_SECONDS );
- }
+ public static function display_sso_form_for_action( $action ) {
+ /**
+ * Allows plugins the ability to overwrite actions where the SSO form is allowed to be used.
+ *
+ * @module sso
+ *
+ * @since 4.6.0
+ *
+ * @param array $allowed_actions_for_sso
+ */
+ $allowed_actions_for_sso = (array) apply_filters(
+ 'jetpack_sso_allowed_actions',
+ array(
+ 'login',
+ 'jetpack-sso',
+ 'jetpack_json_api_authorization',
+ )
+ );
+ return in_array( $action, $allowed_actions_for_sso, true );
+ }
- /**
- * Determines if the SSO form should be displayed for the current action.
- *
- * @since 4.6.0
- *
- * @param string $action
- *
- * @return bool Is SSO allowed for the current action?
- */
- static function display_sso_form_for_action( $action ) {
/**
- * Allows plugins the ability to overwrite actions where the SSO form is allowed to be used.
- *
- * @module sso
+ * This method returns an environment array that is meant to simulate `$_REQUEST` when the initial
+ * JSON API auth request was made.
*
* @since 4.6.0
*
- * @param array $allowed_actions_for_sso
+ * @return array|bool
*/
- $allowed_actions_for_sso = (array) apply_filters( 'jetpack_sso_allowed_actions', array(
- 'login',
- 'jetpack-sso',
- 'jetpack_json_api_authorization',
- ) );
- return in_array( $action, $allowed_actions_for_sso );
- }
+ public static function get_json_api_auth_environment() {
+ if ( empty( $_COOKIE['jetpack_sso_original_request'] ) ) {
+ return false;
+ }
- /**
- * This method returns an environment array that is meant to simulate `$_REQUEST` when the initial
- * JSON API auth request was made.
- *
- * @since 4.6.0
- *
- * @return array|bool
- */
- static function get_json_api_auth_environment() {
- if ( empty( $_COOKIE['jetpack_sso_original_request'] ) ) {
- return false;
- }
+ $original_request = esc_url_raw( wp_unslash( $_COOKIE['jetpack_sso_original_request'] ) );
- $original_request = esc_url_raw( $_COOKIE['jetpack_sso_original_request'] );
+ $parsed_url = wp_parse_url( $original_request );
+ if ( empty( $parsed_url ) || empty( $parsed_url['query'] ) ) {
+ return false;
+ }
- $parsed_url = wp_parse_url( $original_request );
- if ( empty( $parsed_url ) || empty( $parsed_url['query'] ) ) {
- return false;
- }
+ $args = array();
+ wp_parse_str( $parsed_url['query'], $args );
- $args = array();
- wp_parse_str( $parsed_url['query'], $args );
+ if ( empty( $args ) || empty( $args['action'] ) ) {
+ return false;
+ }
- if ( empty( $args ) || empty( $args['action'] ) ) {
- return false;
- }
+ if ( 'jetpack_json_api_authorization' !== $args['action'] ) {
+ return false;
+ }
- if ( 'jetpack_json_api_authorization' != $args['action'] ) {
- return false;
+ return array_merge(
+ $args,
+ array( 'jetpack_json_api_original_query' => $original_request )
+ );
}
- return array_merge(
- $args,
- array( 'jetpack_json_api_original_query' => $original_request )
- );
- }
-
/**
* Check if the site has a custom login page URL, and return it.
* If default login page URL is used (`wp-login.php`), `null` will be returned.
@@ -346,6 +367,6 @@ class Jetpack_SSO_Helpers {
// Extracting the "path" part of the URL, because we don't need the `site_url` part.
return str_ireplace( $site_url, '', $login_url );
}
-}
+ }
endif;
diff --git a/plugins/jetpack/modules/sso/class.jetpack-sso-notices.php b/plugins/jetpack/modules/sso/class.jetpack-sso-notices.php
index 00a61581..57f9f914 100644
--- a/plugins/jetpack/modules/sso/class.jetpack-sso-notices.php
+++ b/plugins/jetpack/modules/sso/class.jetpack-sso-notices.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * A collection of helper functions used in the SSO module.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Redirect;
diff --git a/plugins/jetpack/modules/sso/jetpack-sso-login-rtl.css b/plugins/jetpack/modules/sso/jetpack-sso-login-rtl.css
index 3036adba..b9537bce 100644
--- a/plugins/jetpack/modules/sso/jetpack-sso-login-rtl.css
+++ b/plugins/jetpack/modules/sso/jetpack-sso-login-rtl.css
@@ -1,164 +1,161 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
#loginform {
- /* We set !important because sometimes static is added inline */
- position: relative !important;
- padding-bottom: 92px;
+ /* We set !important because sometimes static is added inline */
+ position: relative !important;
+ padding-bottom: 92px;
}
.jetpack-sso-repositioned #loginform {
- padding-bottom: 26px;
+ padding-bottom: 26px;
}
#loginform #jetpack-sso-wrap,
#loginform #jetpack-sso-wrap * {
- box-sizing: border-box;
+ box-sizing: border-box;
}
-
#jetpack-sso-wrap__action,
-#jetpack-sso-wrap__user{
- display: none;
+#jetpack-sso-wrap__user {
+ display: none;
}
.jetpack-sso-form-display #jetpack-sso-wrap__action,
.jetpack-sso-form-display #jetpack-sso-wrap__user {
- display: block;
+ display: block;
}
#jetpack-sso-wrap {
- position: absolute;
- bottom: 20px;
- padding: 0 24px;
- margin-right: -24px;
- margin-left: -24px;
- width: 100%;
+ position: absolute;
+ bottom: 20px;
+ padding: 0 24px;
+ margin-right: -24px;
+ margin-left: -24px;
+ width: 100%;
}
.jetpack-sso-repositioned #jetpack-sso-wrap {
- position: relative;
- bottom: auto;
- padding: 0;
- margin-top: 16px;
- margin-right: 0;
- margin-left: 0;
+ position: relative;
+ bottom: auto;
+ padding: 0;
+ margin-top: 16px;
+ margin-right: 0;
+ margin-left: 0;
}
.jetpack-sso-form-display #jetpack-sso-wrap {
- position: relative;
- bottom: auto;
- padding: 0;
- margin-top: 0;
- margin-right: 0;
- margin-left: 0;
+ position: relative;
+ bottom: auto;
+ padding: 0;
+ margin-top: 0;
+ margin-right: 0;
+ margin-left: 0;
}
#loginform #jetpack-sso-wrap p {
- color: #777777;
- margin-bottom: 16px;
+ color: #777777;
+ margin-bottom: 16px;
}
#jetpack-sso-wrap a {
- display: block;
- width: 100%;
- text-align: center;
- text-decoration: none;
+ display: block;
+ width: 100%;
+ text-align: center;
+ text-decoration: none;
}
#jetpack-sso-wrap .jetpack-sso-toggle.wpcom {
- display: none;
+ display: none;
}
.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.wpcom {
- display: block;
+ display: block;
}
-
.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.default {
- display: none;
+ display: none;
}
-
.jetpack-sso-form-display #loginform > p,
.jetpack-sso-form-display #loginform > div {
- display: none;
+ display: none;
}
.jetpack-sso-form-display #loginform #jetpack-sso-wrap {
- display: block;
+ display: block;
}
.jetpack-sso-form-display #loginform {
- padding: 26px 24px;
+ padding: 26px 24px;
}
.jetpack-sso-or {
- margin-bottom: 16px;
- position: relative;
- text-align: center;
+ margin-bottom: 16px;
+ position: relative;
+ text-align: center;
}
.jetpack-sso-or:before {
- background: #dcdcde;
- content: '';
- height: 1px;
- position: absolute;
- right: 0;
- top: 50%;
- width: 100%;
+ background: #dcdcde;
+ content: "";
+ height: 1px;
+ position: absolute;
+ right: 0;
+ top: 50%;
+ width: 100%;
}
+
.jetpack-sso-or span {
- background: #fff;
- color: #777;
- position: relative;
- padding: 0 8px;
- text-transform: uppercase
+ background: #fff;
+ color: #777;
+ position: relative;
+ padding: 0 8px;
+ text-transform: uppercase;
}
#jetpack-sso-wrap .button {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 36px;
- margin-bottom: 16px;
- width: 100%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 36px;
+ margin-bottom: 16px;
+ width: 100%;
}
#jetpack-sso-wrap .button .genericon-wordpress {
- font-size: 24px;
- margin-left: 4px;
+ font-size: 24px;
+ margin-left: 4px;
}
#jetpack-sso-wrap__user img {
- border-radius: 50%;
- display: block;
- margin: 0 auto 16px;
+ border-radius: 50%;
+ display: block;
+ margin: 0 auto 16px;
}
#jetpack-sso-wrap__user h2 {
- font-size: 21px;
- font-weight: 300;
- margin-bottom: 16px;
- text-align: center;
+ font-size: 21px;
+ font-weight: 300;
+ margin-bottom: 16px;
+ text-align: center;
}
#jetpack-sso-wrap__user h2 span {
- font-weight: bold;
+ font-weight: bold;
}
.jetpack-sso-wrap__reauth {
- margin-bottom: 16px;
+ margin-bottom: 16px;
}
.jetpack-sso-form-display #nav {
- display: none;
+ display: none;
}
.jetpack-sso-form-display #backtoblog {
- margin: 24px 0 0;
+ margin: 24px 0 0;
}
.jetpack-sso-clear:after {
- content: "";
- display: table;
- clear: both;
+ content: "";
+ display: table;
+ clear: both;
}
diff --git a/plugins/jetpack/modules/sso/jetpack-sso-login-rtl.min.css b/plugins/jetpack/modules/sso/jetpack-sso-login-rtl.min.css
index 5eaaa8c3..3e6224fb 100644
--- a/plugins/jetpack/modules/sso/jetpack-sso-login-rtl.min.css
+++ b/plugins/jetpack/modules/sso/jetpack-sso-login-rtl.min.css
@@ -1 +1 @@
-#loginform{position:relative!important;padding-bottom:92px}.jetpack-sso-repositioned #loginform{padding-bottom:26px}#loginform #jetpack-sso-wrap,#loginform #jetpack-sso-wrap *{box-sizing:border-box}#jetpack-sso-wrap__action,#jetpack-sso-wrap__user{display:none}.jetpack-sso-form-display #jetpack-sso-wrap__action,.jetpack-sso-form-display #jetpack-sso-wrap__user{display:block}#jetpack-sso-wrap{position:absolute;bottom:20px;padding:0 24px;margin-right:-24px;margin-left:-24px;width:100%}.jetpack-sso-repositioned #jetpack-sso-wrap{position:relative;bottom:auto;padding:0;margin-top:16px;margin-right:0;margin-left:0}.jetpack-sso-form-display #jetpack-sso-wrap{position:relative;bottom:auto;padding:0;margin-top:0;margin-right:0;margin-left:0}#loginform #jetpack-sso-wrap p{color:#777;margin-bottom:16px}#jetpack-sso-wrap a{display:block;width:100%;text-align:center;text-decoration:none}#jetpack-sso-wrap .jetpack-sso-toggle.wpcom{display:none}.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.wpcom{display:block}.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.default{display:none}.jetpack-sso-form-display #loginform>div,.jetpack-sso-form-display #loginform>p{display:none}.jetpack-sso-form-display #loginform #jetpack-sso-wrap{display:block}.jetpack-sso-form-display #loginform{padding:26px 24px}.jetpack-sso-or{margin-bottom:16px;position:relative;text-align:center}.jetpack-sso-or:before{background:#dcdcde;content:'';height:1px;position:absolute;right:0;top:50%;width:100%}.jetpack-sso-or span{background:#fff;color:#777;position:relative;padding:0 8px;text-transform:uppercase}#jetpack-sso-wrap .button{display:flex;justify-content:center;align-items:center;height:36px;margin-bottom:16px;width:100%}#jetpack-sso-wrap .button .genericon-wordpress{font-size:24px;margin-left:4px}#jetpack-sso-wrap__user img{border-radius:50%;display:block;margin:0 auto 16px}#jetpack-sso-wrap__user h2{font-size:21px;font-weight:300;margin-bottom:16px;text-align:center}#jetpack-sso-wrap__user h2 span{font-weight:700}.jetpack-sso-wrap__reauth{margin-bottom:16px}.jetpack-sso-form-display #nav{display:none}.jetpack-sso-form-display #backtoblog{margin:24px 0 0}.jetpack-sso-clear:after{content:"";display:table;clear:both} \ No newline at end of file
+#loginform{padding-bottom:92px;position:relative!important}.jetpack-sso-repositioned #loginform{padding-bottom:26px}#loginform #jetpack-sso-wrap,#loginform #jetpack-sso-wrap *{box-sizing:border-box}#jetpack-sso-wrap__action,#jetpack-sso-wrap__user{display:none}.jetpack-sso-form-display #jetpack-sso-wrap__action,.jetpack-sso-form-display #jetpack-sso-wrap__user{display:block}#jetpack-sso-wrap{bottom:20px;margin-left:-24px;margin-right:-24px;padding:0 24px;position:absolute;width:100%}.jetpack-sso-repositioned #jetpack-sso-wrap{bottom:auto;margin-left:0;margin-right:0;margin-top:16px;padding:0;position:relative}.jetpack-sso-form-display #jetpack-sso-wrap{bottom:auto;margin-left:0;margin-right:0;margin-top:0;padding:0;position:relative}#loginform #jetpack-sso-wrap p{color:#777;margin-bottom:16px}#jetpack-sso-wrap a{display:block;text-align:center;text-decoration:none;width:100%}#jetpack-sso-wrap .jetpack-sso-toggle.wpcom{display:none}.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.wpcom{display:block}.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.default,.jetpack-sso-form-display #loginform>div,.jetpack-sso-form-display #loginform>p{display:none}.jetpack-sso-form-display #loginform #jetpack-sso-wrap{display:block}.jetpack-sso-form-display #loginform{padding:26px 24px}.jetpack-sso-or{margin-bottom:16px;position:relative;text-align:center}.jetpack-sso-or:before{background:#dcdcde;content:"";height:1px;position:absolute;right:0;top:50%;width:100%}.jetpack-sso-or span{background:#fff;color:#777;padding:0 8px;position:relative;text-transform:uppercase}#jetpack-sso-wrap .button{align-items:center;display:flex;height:36px;justify-content:center;margin-bottom:16px;width:100%}#jetpack-sso-wrap .button .genericon-wordpress{font-size:24px;margin-left:4px}#jetpack-sso-wrap__user img{border-radius:50%;display:block;margin:0 auto 16px}#jetpack-sso-wrap__user h2{font-size:21px;font-weight:300;margin-bottom:16px;text-align:center}#jetpack-sso-wrap__user h2 span{font-weight:700}.jetpack-sso-wrap__reauth{margin-bottom:16px}.jetpack-sso-form-display #nav{display:none}.jetpack-sso-form-display #backtoblog{margin:24px 0 0}.jetpack-sso-clear:after{clear:both;content:"";display:table} \ No newline at end of file
diff --git a/plugins/jetpack/modules/sso/jetpack-sso-login.min.css b/plugins/jetpack/modules/sso/jetpack-sso-login.min.css
index ef854000..ac5e5c77 100644
--- a/plugins/jetpack/modules/sso/jetpack-sso-login.min.css
+++ b/plugins/jetpack/modules/sso/jetpack-sso-login.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-#loginform{position:relative!important;padding-bottom:92px}.jetpack-sso-repositioned #loginform{padding-bottom:26px}#loginform #jetpack-sso-wrap,#loginform #jetpack-sso-wrap *{box-sizing:border-box}#jetpack-sso-wrap__action,#jetpack-sso-wrap__user{display:none}.jetpack-sso-form-display #jetpack-sso-wrap__action,.jetpack-sso-form-display #jetpack-sso-wrap__user{display:block}#jetpack-sso-wrap{position:absolute;bottom:20px;padding:0 24px;margin-left:-24px;margin-right:-24px;width:100%}.jetpack-sso-repositioned #jetpack-sso-wrap{position:relative;bottom:auto;padding:0;margin-top:16px;margin-left:0;margin-right:0}.jetpack-sso-form-display #jetpack-sso-wrap{position:relative;bottom:auto;padding:0;margin-top:0;margin-left:0;margin-right:0}#loginform #jetpack-sso-wrap p{color:#777;margin-bottom:16px}#jetpack-sso-wrap a{display:block;width:100%;text-align:center;text-decoration:none}#jetpack-sso-wrap .jetpack-sso-toggle.wpcom{display:none}.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.wpcom{display:block}.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.default{display:none}.jetpack-sso-form-display #loginform>div,.jetpack-sso-form-display #loginform>p{display:none}.jetpack-sso-form-display #loginform #jetpack-sso-wrap{display:block}.jetpack-sso-form-display #loginform{padding:26px 24px}.jetpack-sso-or{margin-bottom:16px;position:relative;text-align:center}.jetpack-sso-or:before{background:#dcdcde;content:'';height:1px;position:absolute;left:0;top:50%;width:100%}.jetpack-sso-or span{background:#fff;color:#777;position:relative;padding:0 8px;text-transform:uppercase}#jetpack-sso-wrap .button{display:flex;justify-content:center;align-items:center;height:36px;margin-bottom:16px;width:100%}#jetpack-sso-wrap .button .genericon-wordpress{font-size:24px;margin-right:4px}#jetpack-sso-wrap__user img{border-radius:50%;display:block;margin:0 auto 16px}#jetpack-sso-wrap__user h2{font-size:21px;font-weight:300;margin-bottom:16px;text-align:center}#jetpack-sso-wrap__user h2 span{font-weight:700}.jetpack-sso-wrap__reauth{margin-bottom:16px}.jetpack-sso-form-display #nav{display:none}.jetpack-sso-form-display #backtoblog{margin:24px 0 0}.jetpack-sso-clear:after{content:"";display:table;clear:both} \ No newline at end of file
+#loginform{padding-bottom:92px;position:relative!important}.jetpack-sso-repositioned #loginform{padding-bottom:26px}#loginform #jetpack-sso-wrap,#loginform #jetpack-sso-wrap *{box-sizing:border-box}#jetpack-sso-wrap__action,#jetpack-sso-wrap__user{display:none}.jetpack-sso-form-display #jetpack-sso-wrap__action,.jetpack-sso-form-display #jetpack-sso-wrap__user{display:block}#jetpack-sso-wrap{bottom:20px;margin-left:-24px;margin-right:-24px;padding:0 24px;position:absolute;width:100%}.jetpack-sso-repositioned #jetpack-sso-wrap{bottom:auto;margin-left:0;margin-right:0;margin-top:16px;padding:0;position:relative}.jetpack-sso-form-display #jetpack-sso-wrap{bottom:auto;margin-left:0;margin-right:0;margin-top:0;padding:0;position:relative}#loginform #jetpack-sso-wrap p{color:#777;margin-bottom:16px}#jetpack-sso-wrap a{display:block;text-align:center;text-decoration:none;width:100%}#jetpack-sso-wrap .jetpack-sso-toggle.wpcom{display:none}.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.wpcom{display:block}.jetpack-sso-form-display #jetpack-sso-wrap .jetpack-sso-toggle.default,.jetpack-sso-form-display #loginform>div,.jetpack-sso-form-display #loginform>p{display:none}.jetpack-sso-form-display #loginform #jetpack-sso-wrap{display:block}.jetpack-sso-form-display #loginform{padding:26px 24px}.jetpack-sso-or{margin-bottom:16px;position:relative;text-align:center}.jetpack-sso-or:before{background:#dcdcde;content:"";height:1px;left:0;position:absolute;top:50%;width:100%}.jetpack-sso-or span{background:#fff;color:#777;padding:0 8px;position:relative;text-transform:uppercase}#jetpack-sso-wrap .button{align-items:center;display:flex;height:36px;justify-content:center;margin-bottom:16px;width:100%}#jetpack-sso-wrap .button .genericon-wordpress{font-size:24px;margin-right:4px}#jetpack-sso-wrap__user img{border-radius:50%;display:block;margin:0 auto 16px}#jetpack-sso-wrap__user h2{font-size:21px;font-weight:300;margin-bottom:16px;text-align:center}#jetpack-sso-wrap__user h2 span{font-weight:700}.jetpack-sso-wrap__reauth{margin-bottom:16px}.jetpack-sso-form-display #nav{display:none}.jetpack-sso-form-display #backtoblog{margin:24px 0 0}.jetpack-sso-clear:after{clear:both;content:"";display:table} \ No newline at end of file
diff --git a/plugins/jetpack/modules/stats.php b/plugins/jetpack/modules/stats.php
index cb28c431..99698541 100644
--- a/plugins/jetpack/modules/stats.php
+++ b/plugins/jetpack/modules/stats.php
@@ -131,7 +131,7 @@ function stats_ignore_db_version( $version ) {
if (
is_admin() &&
isset( $_GET['page'] ) && 'stats' === $_GET['page'] && // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- isset( $_GET['chart'] ) && strpos( $_GET['chart'], 'admin-bar-hours' ) === 0 // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ isset( $_GET['chart'] ) && strpos( $_GET['chart'], 'admin-bar-hours' ) === 0 // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput
) {
global $wp_db_version;
return $wp_db_version;
@@ -198,6 +198,28 @@ function stats_template_redirect() {
}
}
+ /**
+ * Allow excluding specific IP addresses from being tracked in Stats.
+ * Note: for this to work well, visitors' IP addresses must:
+ * - be stored and returned properly in IP address headers;
+ * - not be impacted by any caching setup on your site.
+ *
+ * @module stats
+ *
+ * @since 10.6
+ *
+ * @param array $excluded_ips An array of IP address strings to exclude from tracking.
+ */
+ $excluded_ips = (array) apply_filters( 'jetpack_stats_excluded_ips', array() );
+
+ // Should we be counting views for this IP address?
+ if (
+ ! empty( $excluded_ips )
+ && in_array( Jetpack::current_user_ip( true ), $excluded_ips, true )
+ ) {
+ return;
+ }
+
add_action( 'wp_footer', 'stats_footer', 101 );
add_action( 'web_stories_print_analytics', 'stats_footer' );
@@ -251,8 +273,30 @@ function stats_build_view_data() {
function stats_footer() {
$data = stats_build_view_data();
if ( Jetpack_AMP_Support::is_amp_request() ) {
+
+ /**
+ * Filter the parameters added to the AMP pixel tracking code.
+ *
+ * @module stats
+ *
+ * @since 10.9
+ *
+ * @param array $data Array of options about the site and page you're on.
+ */
+ $data = (array) apply_filters( 'jetpack_stats_footer_amp_data', $data );
stats_render_amp_footer( $data );
} else {
+
+ /**
+ * Filter the parameters added to the JavaScript stats tracking code.
+ *
+ * @module stats
+ *
+ * @since 10.9
+ *
+ * @param array $data Array of options about the site and page you're on.
+ */
+ $data = (array) apply_filters( 'jetpack_stats_footer_js_data', $data );
stats_render_footer( $data );
}
@@ -285,7 +329,7 @@ END;
/**
* Render the stats footer for AMP output.
*
- * @param array $data Array of data for the JS stats tracker.
+ * @param array $data Array of data for the AMP pixel tracker.
*/
function stats_render_amp_footer( $data ) {
$data['host'] = isset( $_SERVER['HTTP_HOST'] ) ? sanitize_text_field( wp_unslash( $_SERVER['HTTP_HOST'] ) ) : ''; // input var ok.
@@ -442,7 +486,7 @@ function stats_admin_menu() {
// If we're at an old Stats URL, redirect to the new one.
// Don't even bother with caps, menu_page_url(), etc. Just do it.
if ( 'index.php' === $pagenow && isset( $_GET['page'] ) && 'stats' === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $redirect_url = str_replace( array( '/wp-admin/index.php?', '/wp-admin/?' ), '/wp-admin/admin.php?', $_SERVER['REQUEST_URI'] );
+ $redirect_url = str_replace( array( '/wp-admin/index.php?', '/wp-admin/?' ), '/wp-admin/admin.php?', isset( $_SERVER['REQUEST_URI'] ) ? filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ) : null );
$relative_pos = strpos( $redirect_url, '/wp-admin/' );
if ( false !== $relative_pos ) {
wp_safe_redirect( admin_url( substr( $redirect_url, $relative_pos + 10 ) ) );
@@ -481,13 +525,13 @@ function stats_reports_load() {
Jetpack_Admin_Page::load_wrapper_styles();
add_action( 'admin_print_styles', 'stats_reports_css' );
- if ( isset( $_GET['nojs'] ) && $_GET['nojs'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( ! empty( $_GET['nojs'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$parsed = wp_parse_url( admin_url() );
// Remember user doesn't want JS.
- setcookie( 'stnojs', '1', time() + 172800, $parsed['path'] ); // 2 days.
+ setcookie( 'stnojs', '1', time() + 172800, $parsed['path'], COOKIE_DOMAIN, is_ssl(), true ); // 2 days.
}
- if ( isset( $_COOKIE['stnojs'] ) && $_COOKIE['stnojs'] ) {
+ if ( ! empty( $_COOKIE['stnojs'] ) ) {
// Detect if JS is on. If so, remove cookie so next page load is via JS.
add_action( 'admin_print_footer_scripts', 'stats_js_remove_stnojs_cookie' );
} elseif ( ! isset( $_GET['noheader'] ) && empty( $_GET['nojs'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
@@ -636,7 +680,7 @@ function stats_reports_page( $main_chart_only = false ) {
return;
}
- $day = isset( $_GET['day'] ) && preg_match( '/^\d{4}-\d{2}-\d{2}$/', $_GET['day'] ) ? $_GET['day'] : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $day = isset( $_GET['day'] ) && preg_match( '/^\d{4}-\d{2}-\d{2}$/', $_GET['day'] ) ? $_GET['day'] : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput
$q = array(
'noheader' => 'true',
'proxy' => '',
@@ -675,28 +719,29 @@ function stats_reports_page( $main_chart_only = false ) {
if ( ! isset( $_REQUEST[ $var ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
continue;
}
+ $val = wp_unslash( $_REQUEST[ $var ] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
if ( is_array( $vals ) ) {
- if ( in_array( $_REQUEST[ $var ], $vals, true ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $q[ $var ] = $_REQUEST[ $var ]; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( in_array( $val, $vals, true ) ) {
+ $q[ $var ] = $val;
}
} elseif ( 'int' === $vals ) {
- $q[ $var ] = (int) $_REQUEST[ $var ]; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $q[ $var ] = (int) $val;
} elseif ( 'date' === $vals ) {
- if ( preg_match( '/^\d{4}-\d{2}-\d{2}$/', $_REQUEST[ $var ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $q[ $var ] = $_REQUEST[ $var ]; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( preg_match( '/^\d{4}-\d{2}-\d{2}$/', $val ) ) {
+ $q[ $var ] = $val;
}
} elseif ( null === $vals ) {
$q[ $var ] = '';
} elseif ( 'data' === $vals ) {
- if ( 'index.php' === substr( $_REQUEST[ $var ], 0, 9 ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $q[ $var ] = $_REQUEST[ $var ];// phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( 'index.php' === substr( $val, 0, 9 ) ) {
+ $q[ $var ] = $val;
}
}
}
if ( isset( $_GET['chart'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- if ( preg_match( '/^[a-z0-9-]+$/', $_GET['chart'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $chart = sanitize_title( $_GET['chart'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ if ( preg_match( '/^[a-z0-9-]+$/', $_GET['chart'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput
+ $chart = sanitize_title( $_GET['chart'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput
$url = 'https://' . STATS_DASHBOARD_SERVER . "/wp-includes/charts/{$chart}.php";
}
} else {
@@ -847,7 +892,7 @@ function stats_convert_post_title( $matches ) {
*/
function stats_hide_smile_css() {
?>
-<style type='text/css'>img#wpstats{display:none}</style>
+<style>img#wpstats{display:none}</style>
<?php
}
@@ -1081,13 +1126,13 @@ function stats_dashboard_widget_control() {
$options = stats_dashboard_widget_options();
- if ( 'post' === strtolower( $_SERVER['REQUEST_METHOD'] ) && isset( $_POST['widget_id'] ) && 'dashboard_stats' === $_POST['widget_id'] ) { // phpcs:ignore WordPress.Security.NonceVerification
+ if ( isset( $_SERVER['REQUEST_METHOD'] ) && 'post' === strtolower( filter_var( wp_unslash( $_SERVER['REQUEST_METHOD'] ) ) ) && isset( $_POST['widget_id'] ) && 'dashboard_stats' === $_POST['widget_id'] ) { // phpcs:ignore WordPress.Security.NonceVerification
if ( isset( $periods[ $_POST['chart'] ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
- $options['chart'] = $_POST['chart']; // phpcs:ignore WordPress.Security.NonceVerification
+ $options['chart'] = filter_var( wp_unslash( $_POST['chart'] ) ); // phpcs:ignore WordPress.Security.NonceVerification
}
foreach ( array( 'top', 'search' ) as $key ) {
if ( isset( $intervals[ $_POST[ $key ] ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
- $options[ $key ] = $_POST[ $key ]; // phpcs:ignore WordPress.Security.NonceVerification
+ $options[ $key ] = filter_var( wp_unslash( $_POST[ $key ] ) ); // phpcs:ignore WordPress.Security.NonceVerification
} else {
$options[ $key ] = $defaults[ $key ];
}
@@ -1226,8 +1271,8 @@ jQuery( function($) {
* @return void
*/
function stats_dashboard_widget_content() {
- $width = isset( $_GET['width'] ) ? (int) ( $_GET['width'] / 2 ) : null; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $height = isset( $_GET['height'] ) ? (int) $_GET['height'] - 36 : null; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $width = isset( $_GET['width'] ) ? intval( $_GET['width'] ) / 2 : null; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ $height = isset( $_GET['height'] ) ? intval( $_GET['height'] ) - 36 : null; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( ! $width || $width < 250 ) {
$width = 370;
}
@@ -1408,8 +1453,8 @@ function stats_print_wp_remote_error( $get, $url ) {
?>
</p>
<pre>
- User Agent: "<?php echo esc_html( $_SERVER['HTTP_USER_AGENT'] ); ?>"
- Page URL: "http<?php echo ( is_ssl() ? 's' : '' ) . '://' . esc_html( $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); ?>"
+ User Agent: "<?php echo isset( $_SERVER['HTTP_USER_AGENT'] ) ? esc_html( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized ?>"
+ Page URL: "http<?php echo ( is_ssl() ? 's' : '' ) . '://' . esc_html( ( isset( $_SERVER['HTTP_HOST'] ) ? wp_unslash( $_SERVER['HTTP_HOST'] ) : '' ) . ( isset( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : '' ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized ?>"
API URL: "<?php echo esc_url( $url ); ?>"
<?php
if ( is_wp_error( $get ) ) {
@@ -1659,11 +1704,20 @@ function jetpack_stats_post_table( $columns ) {
if ( ! current_user_can( 'view_stats' ) || ! ( new Connection_Manager( 'jetpack' ) )->is_user_connected() ) {
return $columns;
}
+
// Array-Fu to add before comments.
$pos = array_search( 'comments', array_keys( $columns ), true );
+
+ // Fallback to the last position if the post type does not support comments.
+ if ( ! is_int( $pos ) ) {
+ $pos = count( $columns );
+ }
+
+ // Final fallback, if the array was malformed by another plugin for example.
if ( ! is_int( $pos ) ) {
return $columns;
}
+
$chunks = array_chunk( $columns, $pos, true );
$chunks[0]['stats'] = esc_html__( 'Stats', 'jetpack' );
diff --git a/plugins/jetpack/modules/stats/class-jetpack-stats-upgrade-nudges.php b/plugins/jetpack/modules/stats/class-jetpack-stats-upgrade-nudges.php
index 6557f972..a403929f 100644
--- a/plugins/jetpack/modules/stats/class-jetpack-stats-upgrade-nudges.php
+++ b/plugins/jetpack/modules/stats/class-jetpack-stats-upgrade-nudges.php
@@ -7,11 +7,10 @@
use Automattic\Jetpack\Connection\Manager;
use Automattic\Jetpack\Jetpack_CRM_Data;
+use Automattic\Jetpack\Plugins_Installer;
use Automattic\Jetpack\Redirect;
use Automattic\Jetpack\Tracking;
-jetpack_require_lib( 'plugins' );
-
/**
* Class that adds a new section to the Stats Report page
*/
@@ -65,7 +64,7 @@ class Jetpack_Stats_Upgrade_Nudges {
* @return boolean
*/
private static function is_plugin_installed( $plugin_file ) {
- $plugins = Jetpack_Plugins::get_plugins();
+ $plugins = Plugins_Installer::get_plugins();
return isset( $plugins[ $plugin_file ] );
}
@@ -76,7 +75,7 @@ class Jetpack_Stats_Upgrade_Nudges {
* @return boolean
*/
private static function is_plugin_active( $plugin_file ) {
- $plugins = Jetpack_Plugins::get_plugins();
+ $plugins = Plugins_Installer::get_plugins();
return isset( $plugins[ $plugin_file ] ) && isset( $plugins[ $plugin_file ]['active'] ) && $plugins[ $plugin_file ]['active'];
}
@@ -364,7 +363,7 @@ class Jetpack_Stats_Upgrade_Nudges {
$additional_classes = $subitem ? 'jp-stats-report-upgrade-subitem' : '';
$button_class = $subitem ? 'is-secondary' : 'is-primary';
$icon_url = plugins_url( '', JETPACK__PLUGIN_FILE ) . '/images/products/' . $icon;
- $button_label = is_null( $button_label ) ? __( 'Upgrade', 'jetpack' ) : $button_label;
+ $button_label = $button_label === null ? __( 'Upgrade', 'jetpack' ) : $button_label;
$view_event = "stats_nudges_view_$tracks_id";
$click_event = "stats_nudges_click_$tracks_id";
$learn_more_event = "stats_nudges_learn_more_$tracks_id";
@@ -529,7 +528,7 @@ class Jetpack_Stats_Upgrade_Nudges {
}
if ( $print ) {
$learn_link = self::get_upgrade_link( 'stats-nudges-crm-learn' );
- $text = __( 'Sell more and get more leads with the Jetpack CRM plugin built specifically for WordPress.', 'jetpack' );
+ $text = __( 'Sell more and get more leads with the free Jetpack CRM plugin built specifically for WordPress.', 'jetpack' );
self::print_item( __( 'CRM', 'jetpack' ), $text, 'product-jetpack-crm.svg', $link, 'crm', $learn_link, false, $label );
}
return true;
diff --git a/plugins/jetpack/modules/subscriptions.php b/plugins/jetpack/modules/subscriptions.php
index a3986a49..4a4a717b 100644
--- a/plugins/jetpack/modules/subscriptions.php
+++ b/plugins/jetpack/modules/subscriptions.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName)
/**
* Module Name: Subscriptions
* Module Description: Let visitors subscribe to new posts and comments via email
@@ -17,6 +17,9 @@ use Automattic\Jetpack\Connection\XMLRPC_Async_Call;
add_action( 'jetpack_modules_loaded', 'jetpack_subscriptions_load' );
+/**
+ * Loads the Subscriptions module.
+ */
function jetpack_subscriptions_load() {
Jetpack::enable_module_configurable( __FILE__ );
}
@@ -44,50 +47,68 @@ function jetpack_subscriptions_cherry_pick_server_data() {
return $data;
}
+/**
+ * Main class file for the Subscriptions module.
+ */
class Jetpack_Subscriptions {
+ /**
+ * Whether Jetpack has been instantiated or not.
+ *
+ * @var bool
+ */
public $jetpack = false;
+ /**
+ * Hash of the siteurl option.
+ *
+ * @var string
+ */
public static $hash;
/**
* Singleton
+ *
* @static
*/
- static function init() {
+ public static function init() {
static $instance = false;
- if ( !$instance ) {
- $instance = new Jetpack_Subscriptions;
+ if ( ! $instance ) {
+ $instance = new Jetpack_Subscriptions();
}
return $instance;
}
- function __construct() {
+ /**
+ * Jetpack_Subscriptions constructor.
+ */
+ public function __construct() {
$this->jetpack = Jetpack::init();
// Don't use COOKIEHASH as it could be shared across installs && is non-unique in multisite.
- // @see: https://twitter.com/nacin/status/378246957451333632
+ // @see: https://twitter.com/nacin/status/378246957451333632 .
self::$hash = md5( get_option( 'siteurl' ) );
add_filter( 'jetpack_xmlrpc_methods', array( $this, 'xmlrpc_methods' ) );
// @todo remove sync from subscriptions and move elsewhere...
- // Add Configuration Page
+ // Add Configuration Page.
add_action( 'admin_init', array( $this, 'configure' ) );
- // Catch subscription widget submits
- if ( isset( $_REQUEST['jetpack_subscriptions_widget'] ) )
+ // Catch subscription widget submits.
+ if ( isset( $_REQUEST['jetpack_subscriptions_widget'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce checked in widget_submit() for logged in users.
add_action( 'template_redirect', array( $this, 'widget_submit' ) );
+ }
- // Set up the comment subscription checkboxes
+ // Set up the comment subscription checkboxes.
add_filter( 'comment_form_submit_field', array( $this, 'comment_subscribe_init' ), 10, 2 );
// Catch comment posts and check for subscriptions.
add_action( 'comment_post', array( $this, 'comment_subscribe_submit' ), 50, 2 );
- // Adds post meta checkbox in the post submit metabox
+ // Adds post meta checkbox in the post submit metabox.
add_action( 'post_submitbox_misc_actions', array( $this, 'subscription_post_page_metabox' ) );
add_action( 'transition_post_status', array( $this, 'maybe_send_subscription_email' ), 10, 3 );
@@ -97,16 +118,17 @@ class Jetpack_Subscriptions {
add_filter( 'post_updated_messages', array( $this, 'update_published_message' ), 18, 1 );
// Set "social_notifications_subscribe" option during the first-time activation.
- add_action( 'jetpack_activate_module_subscriptions', array( $this, 'set_social_notifications_subscribe' ) );
+ add_action( 'jetpack_activate_module_subscriptions', array( $this, 'set_social_notifications_subscribe' ) );
}
/**
* Jetpack_Subscriptions::xmlrpc_methods()
*
* Register subscriptions methods with the Jetpack XML-RPC server.
- * @param array $methods
+ *
+ * @param array $methods Methods being registered.
*/
- function xmlrpc_methods( $methods ) {
+ public function xmlrpc_methods( $methods ) {
return array_merge(
$methods,
array(
@@ -115,11 +137,11 @@ class Jetpack_Subscriptions {
);
}
- /*
+ /**
* Disable Subscribe on Single Post
* Register post meta
*/
- function subscription_post_page_metabox() {
+ public function subscription_post_page_metabox() {
if (
/**
* Filter whether or not to show the per-post subscription option.
@@ -130,8 +152,7 @@ class Jetpack_Subscriptions {
*
* @param bool true = show checkbox option on all new posts | false = hide the option.
*/
- ! apply_filters( 'jetpack_allow_per_post_subscriptions', false ) )
- {
+ ! apply_filters( 'jetpack_allow_per_post_subscriptions', false ) ) {
return;
}
@@ -142,16 +163,17 @@ class Jetpack_Subscriptions {
global $post;
$disable_subscribe_value = get_post_meta( $post->ID, '_jetpack_dont_email_post_to_subs', true );
// only show checkbox if post hasn't been published and is a 'post' post type.
- if ( get_post_status( $post->ID ) !== 'publish' && get_post_type( $post->ID ) == 'post' ) :
- // Nonce it
+ if ( get_post_status( $post->ID ) !== 'publish' && get_post_type( $post->ID ) === 'post' ) :
+ // Nonce it.
wp_nonce_field( 'disable_subscribe', 'disable_subscribe_nonce' );
?>
<div class="misc-pub-section">
- <label for="_jetpack_dont_email_post_to_subs"><?php _e( 'Jetpack Subscriptions:', 'jetpack' ); ?></label><br>
+ <label for="_jetpack_dont_email_post_to_subs"><?php esc_html_e( 'Jetpack Subscriptions:', 'jetpack' ); ?></label><br>
<input type="checkbox" name="_jetpack_dont_email_post_to_subs" id="jetpack-per-post-subscribe" value="1" <?php checked( $disable_subscribe_value, 1, true ); ?> />
- <?php _e( 'Don&#8217;t send this to subscribers', 'jetpack' ); ?>
+ <?php esc_html_e( 'Don&#8217;t send this to subscribers', 'jetpack' ); ?>
</div>
- <?php endif;
+ <?php
+ endif;
}
/**
@@ -164,30 +186,36 @@ class Jetpack_Subscriptions {
*
* Only one of these can be used at any given time.
*
- * @param $new_status string - the "new" post status of the transition when saved
- * @param $old_status string - the "old" post status of the transition when saved
- * @param $post obj - The post object
+ * @param string $new_status Tthe "new" post status of the transition when saved.
+ * @param string $old_status The "old" post status of the transition when saved.
+ * @param object $post obj The post object.
*/
- function maybe_send_subscription_email( $new_status, $old_status, $post ) {
+ public function maybe_send_subscription_email( $new_status, $old_status, $post ) {
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
return;
}
- // Make sure that the checkbox is preseved
- if ( ! empty( $_POST['disable_subscribe_nonce'] ) && wp_verify_nonce( $_POST['disable_subscribe_nonce'], 'disable_subscribe' ) ) {
+ // Make sure that the checkbox is preseved.
+ if ( ! empty( $_POST['disable_subscribe_nonce'] ) && wp_verify_nonce( $_POST['disable_subscribe_nonce'], 'disable_subscribe' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- WP Core doesn't unslash or sanitize nonces either.
$set_checkbox = isset( $_POST['_jetpack_dont_email_post_to_subs'] ) ? 1 : 0;
update_post_meta( $post->ID, '_jetpack_dont_email_post_to_subs', $set_checkbox );
}
}
- function update_published_message( $messages ) {
+ /**
+ * Message used when publishing a post.
+ *
+ * @param array $messages Message array for a post.
+ */
+ public function update_published_message( $messages ) {
global $post;
if ( ! $this->should_email_post_to_subscribers( $post ) ) {
return $messages;
}
- $view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>',
+ $view_post_link_html = sprintf(
+ ' <a href="%1$s">%2$s</a>',
esc_url( get_permalink( $post ) ),
__( 'View post', 'jetpack' )
);
@@ -195,18 +223,23 @@ class Jetpack_Subscriptions {
$messages['post'][6] = sprintf(
/* translators: Message shown after a post is published */
esc_html__( 'Post published and sending emails to subscribers.', 'jetpack' )
- ) . $view_post_link_html;
+ ) . $view_post_link_html;
return $messages;
}
+ /**
+ * Determine if a post should notifiy subscribers via email.
+ *
+ * @param object $post The post.
+ */
public function should_email_post_to_subscribers( $post ) {
$should_email = true;
if ( get_post_meta( $post->ID, '_jetpack_dont_email_post_to_subs', true ) ) {
return false;
}
- // Only posts are currently supported
- if ( $post->post_type !== 'post' ) {
+ // Only posts are currently supported.
+ if ( 'post' !== $post->post_type ) {
return false;
}
@@ -228,7 +261,7 @@ class Jetpack_Subscriptions {
*/
$excluded_categories = apply_filters( 'jetpack_subscriptions_exclude_these_categories', array() );
- // Never email posts from these categories
+ // Never email posts from these categories.
if ( ! empty( $excluded_categories ) && in_category( $excluded_categories, $post->ID ) ) {
$should_email = false;
}
@@ -246,7 +279,7 @@ class Jetpack_Subscriptions {
*/
$only_these_categories = apply_filters( 'jetpack_subscriptions_exclude_all_categories_except', array() );
- // Only emails posts from these categories
+ // Only emails posts from these categories.
if ( ! empty( $only_these_categories ) && ! in_category( $only_these_categories, $post->ID ) ) {
$should_email = false;
}
@@ -254,7 +287,13 @@ class Jetpack_Subscriptions {
return $should_email;
}
- function set_post_flags( $flags, $post ) {
+ /**
+ * Retrieve which flags should be added to a particular post.
+ *
+ * @param array $flags Flags to be added.
+ * @param object $post A post object.
+ */
+ public function set_post_flags( $flags, $post ) {
$flags['send_subscription'] = $this->should_email_post_to_subscribers( $post );
return $flags;
}
@@ -264,8 +303,8 @@ class Jetpack_Subscriptions {
*
* Jetpack Subscriptions configuration screen.
*/
- function configure() {
- // Create the section
+ public function configure() {
+ // Create the section.
add_settings_section(
'jetpack_subscriptions',
__( 'Jetpack Subscriptions Settings', 'jetpack' ),
@@ -273,7 +312,7 @@ class Jetpack_Subscriptions {
'discussion'
);
- /** Subscribe to Posts ***************************************************/
+ /** Subscribe to Posts */
add_settings_field(
'jetpack_subscriptions_post_subscribe',
@@ -288,7 +327,7 @@ class Jetpack_Subscriptions {
'stb_enabled'
);
- /** Subscribe to Comments ******************************************************/
+ /** Subscribe to Comments */
add_settings_field(
'jetpack_subscriptions_comment_subscribe',
@@ -303,7 +342,7 @@ class Jetpack_Subscriptions {
'stc_enabled'
);
- /** Email me whenever: Someone follows my blog ***************************************************/
+ /** Email me whenever: Someone follows my blog */
/* @since 8.1 */
add_settings_section(
@@ -327,7 +366,7 @@ class Jetpack_Subscriptions {
array( $this, 'social_notifications_subscribe_validate' )
);
- /** Subscription Messaging Options ******************************************************/
+ /** Subscription Messaging Options */
register_setting(
'reading',
@@ -360,45 +399,60 @@ class Jetpack_Subscriptions {
}
/**
- * Discussions setting section blurb
- *
+ * Discussions setting section blurb.
*/
- function subscriptions_settings_section() {
- ?>
- <p id="jetpack-subscriptions-settings"><?php _e( 'Change whether your visitors can subscribe to your posts or comments or both.', 'jetpack' ); ?></p>
+ public function subscriptions_settings_section() {
+ ?>
+ <p id="jetpack-subscriptions-settings"><?php esc_html_e( 'Change whether your visitors can subscribe to your posts or comments or both.', 'jetpack' ); ?></p>
- <?php
+ <?php
}
/**
- * Post Subscriptions Toggle
- *
+ * Post Subscriptions Toggle.
*/
- function subscription_post_subscribe_setting() {
+ public function subscription_post_subscribe_setting() {
- $stb_enabled = get_option( 'stb_enabled', 1 ); ?>
+ $stb_enabled = get_option( 'stb_enabled', 1 );
+ ?>
<p class="description">
<input type="checkbox" name="stb_enabled" id="jetpack-post-subscribe" value="1" <?php checked( $stb_enabled, 1 ); ?> />
- <?php _e( "Show a <em>'follow blog'</em> option in the comment form", 'jetpack' ); ?>
+ <?php
+ echo wp_kses(
+ __(
+ "Show a <em>'follow blog'</em> option in the comment form",
+ 'jetpack'
+ ),
+ array( 'em' => array() )
+ );
+ ?>
</p>
- <?php
+ <?php
}
/**
- * Comments Subscriptions Toggle
- *
+ * Comments Subscriptions Toggle.
*/
- function subscription_comment_subscribe_setting() {
+ public function subscription_comment_subscribe_setting() {
- $stc_enabled = get_option( 'stc_enabled', 1 ); ?>
+ $stc_enabled = get_option( 'stc_enabled', 1 );
+ ?>
<p class="description">
<input type="checkbox" name="stc_enabled" id="jetpack-comment-subscribe" value="1" <?php checked( $stc_enabled, 1 ); ?> />
- <?php _e( "Show a <em>'follow comments'</em> option in the comment form", 'jetpack' ); ?>
+ <?php
+ echo wp_kses(
+ __(
+ "Show a <em>'follow comments'</em> option in the comment form",
+ 'jetpack'
+ ),
+ array( 'em' => array() )
+ );
+ ?>
</p>
- <?php
+ <?php
}
/**
@@ -407,7 +461,7 @@ class Jetpack_Subscriptions {
* @since 8.1
*/
public function social_notifications_subscribe_section() {
- // Atypical usage here. We emit jquery to move subscribe notification checkbox to be with the rest of the email notification settings
+ // Atypical usage here. We emit jquery to move subscribe notification checkbox to be with the rest of the email notification settings.
?>
<script type="text/javascript">
jQuery( function( $ ) {
@@ -464,50 +518,76 @@ class Jetpack_Subscriptions {
return 'on';
}
- function validate_settings( $settings ) {
+ /**
+ * Validate settings for the Subscriptions module.
+ *
+ * @param array $settings Settings to be validated.
+ */
+ public function validate_settings( $settings ) {
global $allowedposttags;
$default = $this->get_default_settings();
- // Blog Follow
+ // Blog Follow.
$settings['invitation'] = trim( wp_kses( $settings['invitation'], $allowedposttags ) );
- if ( empty( $settings['invitation'] ) )
+ if ( empty( $settings['invitation'] ) ) {
$settings['invitation'] = $default['invitation'];
+ }
- // Comments Follow (single post)
+ // Comments Follow (single post).
$settings['comment_follow'] = trim( wp_kses( $settings['comment_follow'], $allowedposttags ) );
- if ( empty( $settings['comment_follow'] ) )
+ if ( empty( $settings['comment_follow'] ) ) {
$settings['comment_follow'] = $default['comment_follow'];
+ }
return $settings;
}
+ /**
+ * HTML output helper for Reading section.
+ */
public function reading_section() {
echo '<p id="follower-settings">';
- _e( 'These settings change emails sent from your blog to followers.', 'jetpack' );
+ esc_html_e( 'These settings change emails sent from your blog to followers.', 'jetpack' );
echo '</p>';
}
+ /**
+ * HTML output helper for Invitation section.
+ */
public function setting_invitation() {
$settings = $this->get_settings();
echo '<textarea name="subscription_options[invitation]" class="large-text" cols="50" rows="5">' . esc_textarea( $settings['invitation'] ) . '</textarea>';
- echo '<p><span class="description">'.__( 'Introduction text sent when someone follows your blog. (Site and confirmation details will be automatically added for you.)', 'jetpack' ).'</span></p>';
+ echo '<p><span class="description">' . esc_html__( 'Introduction text sent when someone follows your blog. (Site and confirmation details will be automatically added for you.)', 'jetpack' ) . '</span></p>';
}
+ /**
+ * HTML output helper for Comment Follow section.
+ */
public function setting_comment_follow() {
$settings = $this->get_settings();
echo '<textarea name="subscription_options[comment_follow]" class="large-text" cols="50" rows="5">' . esc_textarea( $settings['comment_follow'] ) . '</textarea>';
- echo '<p><span class="description">'.__( 'Introduction text sent when someone follows a post on your blog. (Site and confirmation details will be automatically added for you.)', 'jetpack' ).'</span></p>';
+ echo '<p><span class="description">' . esc_html__( 'Introduction text sent when someone follows a post on your blog. (Site and confirmation details will be automatically added for you.)', 'jetpack' ) . '</span></p>';
}
- function get_default_settings() {
+ /**
+ * Get default settings for the Subscriptions module.
+ */
+ public function get_default_settings() {
+ $site_url = get_home_url();
+ $display_url = preg_replace( '(^https?://)', '', untrailingslashit( $site_url ) );
+
return array(
- 'invitation' => __( "Howdy.\n\nYou recently followed this blog's posts. This means you will receive each new post by email.\n\nTo activate, click confirm below. If you believe this is an error, ignore this message and we'll never bother you again.", 'jetpack' ),
- 'comment_follow' => __( "Howdy.\n\nYou recently followed one of my posts. This means you will receive an email when new comments are posted.\n\nTo activate, click confirm below. If you believe this is an error, ignore this message and we'll never bother you again.", 'jetpack' )
+ /* translators: Both %1$s and %2$s is site address */
+ 'invitation' => sprintf( __( "Howdy,\nYou recently subscribed to <a href='%1\$s'>%2\$s</a> and we need to verify the email you provided. Once you confirm below, you'll be able to receive and read new posts.\n\nIf you believe this is an error, ignore this message and nothing more will happen.", 'jetpack' ), $site_url, $display_url ),
+ 'comment_follow' => __( "Howdy.\n\nYou recently followed one of my posts. This means you will receive an email when new comments are posted.\n\nTo activate, click confirm below. If you believe this is an error, ignore this message and we'll never bother you again.", 'jetpack' ),
);
}
- function get_settings() {
+ /**
+ * Reeturn merged `subscription_options` option with module default settings.
+ */
+ public function get_settings() {
return wp_parse_args( (array) get_option( 'subscription_options', array() ), $this->get_default_settings() );
}
@@ -516,27 +596,28 @@ class Jetpack_Subscriptions {
*
* Send a synchronous XML-RPC subscribe to blog posts or subscribe to post comments request.
*
- * @param string $email
- * @param array $post_ids (optional) defaults to 0 for blog posts only: array of post IDs to subscribe to blog's posts
+ * @param string $email being subscribed.
+ * @param array $post_ids (optional) defaults to 0 for blog posts only: array of post IDs to subscribe to blog's posts.
* @param bool $async (optional) Should the subscription be performed asynchronously? Defaults to true.
+ * @param array $extra_data Additional data passed to the `jetpack.subscribeToSite` call.
*
* @return true|WP_Error true on success
- * invalid_email : not a valid email address
- * invalid_post_id : not a valid post ID
- * unknown_post_id : unknown post
- * not_subscribed : strange error. Jetpack servers at WordPress.com could subscribe the email.
- * disabled : Site owner has disabled subscriptions.
- * active : Already subscribed.
- * pending : Tried to subscribe before but the confirmation link is never clicked. No confirmation email is sent.
- * unknown : strange error. Jetpack servers at WordPress.com returned something malformed.
- * unknown_status : strange error. Jetpack servers at WordPress.com returned something I didn't understand.
+ * invalid_email : not a valid email address
+ * invalid_post_id : not a valid post ID
+ * unknown_post_id : unknown post
+ * not_subscribed : strange error. Jetpack servers at WordPress.com could subscribe the email.
+ * disabled : Site owner has disabled subscriptions.
+ * active : Already subscribed.
+ * pending : Tried to subscribe before but the confirmation link is never clicked. No confirmation email is sent.
+ * unknown : strange error. Jetpack servers at WordPress.com returned something malformed.
+ * unknown_status : strange error. Jetpack servers at WordPress.com returned something I didn't understand.
*/
- function subscribe( $email, $post_ids = 0, $async = true, $extra_data = array() ) {
- if ( !is_email( $email ) ) {
+ public function subscribe( $email, $post_ids = 0, $async = true, $extra_data = array() ) {
+ if ( ! is_email( $email ) ) {
return new WP_Error( 'invalid_email' );
}
- if ( !$async ) {
+ if ( ! $async ) {
$xml = new Jetpack_IXR_ClientMulticall();
}
@@ -544,14 +625,14 @@ class Jetpack_Subscriptions {
$post_id = (int) $post_id;
if ( $post_id < 0 ) {
return new WP_Error( 'invalid_post_id' );
- } else if ( $post_id && !$post = get_post( $post_id ) ) {
+ } elseif ( $post_id && ! get_post( $post_id ) ) {
return new WP_Error( 'unknown_post_id' );
}
if ( $async ) {
XMLRPC_Async_Call::add_call( 'jetpack.subscribeToSite', 0, $email, $post_id, serialize( $extra_data ) ); //phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
} else {
- $xml->addCall( 'jetpack.subscribeToSite', $email, $post_id, serialize( $extra_data ) );
+ $xml->addCall( 'jetpack.subscribeToSite', $email, $post_id, serialize( $extra_data ) ); //phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
}
}
@@ -559,7 +640,7 @@ class Jetpack_Subscriptions {
return;
}
- // Call
+ // Call.
$xml->query();
if ( $xml->isError() ) {
@@ -575,7 +656,7 @@ class Jetpack_Subscriptions {
continue;
}
- if ( !is_array( $response[0] ) || empty( $response[0]['status'] ) ) {
+ if ( ! is_array( $response[0] ) || empty( $response[0]['status'] ) ) {
$r[] = new WP_Error( 'unknown' );
continue;
}
@@ -610,33 +691,34 @@ class Jetpack_Subscriptions {
*
* When a user submits their email via the blog subscription widget, check the details and call the subsribe() method.
*/
- function widget_submit() {
+ public function widget_submit() {
// Check the nonce.
if ( is_user_logged_in() ) {
check_admin_referer( 'blogsub_subscribe_' . get_current_blog_id() );
}
- if ( empty( $_REQUEST['email'] ) || ! is_string( $_REQUEST['email'] ) )
+ if ( empty( $_REQUEST['email'] ) || ! is_string( $_REQUEST['email'] ) ) {
return false;
+ }
$redirect_fragment = false;
if ( isset( $_REQUEST['redirect_fragment'] ) ) {
- $redirect_fragment = preg_replace( '/[^a-z0-9_-]/i', '', $_REQUEST['redirect_fragment'] );
+ $redirect_fragment = preg_replace( '/[^a-z0-9_-]/i', '', $_REQUEST['redirect_fragment'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is manually unslashing and sanitizing.
}
- if ( !$redirect_fragment || ! is_string( $redirect_fragment ) ) {
+ if ( ! $redirect_fragment || ! is_string( $redirect_fragment ) ) {
$redirect_fragment = 'subscribe-blog';
}
- $subscribe = Jetpack_Subscriptions::subscribe(
- $_REQUEST['email'],
- 0,
- false,
- array(
- 'source' => 'widget',
- 'widget-in-use' => is_active_widget( false, false, 'blog_subscription', true ) ? 'yes' : 'no',
- 'comment_status' => '',
- 'server_data' => jetpack_subscriptions_cherry_pick_server_data(),
- )
+ $subscribe = self::subscribe(
+ isset( $_REQUEST['email'] ) ? wp_unslash( $_REQUEST['email'] ) : null, // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated inside self::subscribe().
+ 0,
+ false,
+ array(
+ 'source' => 'widget',
+ 'widget-in-use' => is_active_widget( false, false, 'blog_subscription', true ) ? 'yes' : 'no',
+ 'comment_status' => '',
+ 'server_data' => jetpack_subscriptions_cherry_pick_server_data(),
+ )
);
if ( is_wp_error( $subscribe ) ) {
@@ -698,9 +780,8 @@ class Jetpack_Subscriptions {
* Set up and add the comment subscription checkbox to the comment form.
*
* @param string $submit_button HTML markup for the submit field.
- * @param array $args Arguments passed to `comment_form()`.
*/
- function comment_subscribe_init( $submit_button, $args ) {
+ public function comment_subscribe_init( $submit_button ) {
global $post;
$comments_checked = '';
@@ -715,18 +796,18 @@ class Jetpack_Subscriptions {
$blog_checked = ' checked="checked"';
}
- // Some themes call this function, don't show the checkbox again
+ // Some themes call this function, don't show the checkbox again.
remove_action( 'comment_form', 'subscription_comment_form' );
- // Check if Mark Jaquith's Subscribe to Comments plugin is active - if so, suppress Jetpack checkbox
+ // Check if Mark Jaquith's Subscribe to Comments plugin is active - if so, suppress Jetpack checkbox.
$str = '';
- if ( FALSE === has_filter( 'comment_form', 'show_subscription_checkbox' ) && 1 == get_option( 'stc_enabled', 1 ) && empty( $post->post_password ) && 'post' == get_post_type() ) {
- // Subscribe to comments checkbox
- $str .= '<p class="comment-subscription-form"><input type="checkbox" name="subscribe_comments" id="subscribe_comments" value="subscribe" style="width: auto; -moz-appearance: checkbox; -webkit-appearance: checkbox;"' . $comments_checked . ' /> ';
+ if ( false === has_filter( 'comment_form', 'show_subscription_checkbox' ) && 1 === (int) get_option( 'stc_enabled', 1 ) && empty( $post->post_password ) && 'post' === get_post_type() ) {
+ // Subscribe to comments checkbox.
+ $str .= '<p class="comment-subscription-form"><input type="checkbox" name="subscribe_comments" id="subscribe_comments" value="subscribe" style="width: auto; -moz-appearance: checkbox; -webkit-appearance: checkbox;"' . $comments_checked . ' /> ';
$comment_sub_text = __( 'Notify me of follow-up comments by email.', 'jetpack' );
- $str .= '<label class="subscribe-label" id="subscribe-label" for="subscribe_comments">' . esc_html(
+ $str .= '<label class="subscribe-label" id="subscribe-label" for="subscribe_comments">' . esc_html(
/**
* Filter the Subscribe to comments text appearing below the comment form.
*
@@ -741,11 +822,11 @@ class Jetpack_Subscriptions {
$str .= '</p>';
}
- if ( 1 == get_option( 'stb_enabled', 1 ) ) {
- // Subscribe to blog checkbox
- $str .= '<p class="comment-subscription-form"><input type="checkbox" name="subscribe_blog" id="subscribe_blog" value="subscribe" style="width: auto; -moz-appearance: checkbox; -webkit-appearance: checkbox;"' . $blog_checked . ' /> ';
+ if ( 1 === (int) get_option( 'stb_enabled', 1 ) ) {
+ // Subscribe to blog checkbox.
+ $str .= '<p class="comment-subscription-form"><input type="checkbox" name="subscribe_blog" id="subscribe_blog" value="subscribe" style="width: auto; -moz-appearance: checkbox; -webkit-appearance: checkbox;"' . $blog_checked . ' /> ';
$blog_sub_text = __( 'Notify me of new posts by email.', 'jetpack' );
- $str .= '<label class="subscribe-label" id="subscribe-blog-label" for="subscribe_blog">' . esc_html(
+ $str .= '<label class="subscribe-label" id="subscribe-blog-label" for="subscribe_blog">' . esc_html(
/**
* Filter the Subscribe to blog text appearing below the comment form.
*
@@ -778,8 +859,11 @@ class Jetpack_Subscriptions {
* Jetpack_Subscriptions::comment_subscribe_init()
*
* When a user checks the comment subscribe box and submits a comment, subscribe them to the comment thread.
+ *
+ * @param int|string $comment_id Comment thread being subscribed to.
+ * @param string $approved Comment status.
*/
- function comment_subscribe_submit( $comment_id, $approved ) {
+ public function comment_subscribe_submit( $comment_id, $approved ) {
if ( 'spam' === $approved ) {
return;
}
@@ -789,30 +873,33 @@ class Jetpack_Subscriptions {
return;
}
- // Set cookies for this post/comment
- $this->set_cookies( isset( $_REQUEST['subscribe_comments'] ), $comment->comment_post_ID, isset( $_REQUEST['subscribe_blog'] ) );
+ // Set cookies for this post/comment.
+ $this->set_cookies( isset( $_REQUEST['subscribe_comments'] ), $comment->comment_post_ID, isset( $_REQUEST['subscribe_blog'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- if ( !isset( $_REQUEST['subscribe_comments'] ) && !isset( $_REQUEST['subscribe_blog'] ) )
+ if ( ! isset( $_REQUEST['subscribe_comments'] ) && ! isset( $_REQUEST['subscribe_blog'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
return;
+ }
$post_ids = array();
- if ( isset( $_REQUEST['subscribe_comments'] ) )
+ if ( isset( $_REQUEST['subscribe_comments'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$post_ids[] = $comment->comment_post_ID;
+ }
- if ( isset( $_REQUEST['subscribe_blog'] ) )
+ if ( isset( $_REQUEST['subscribe_blog'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$post_ids[] = 0;
+ }
- $result = Jetpack_Subscriptions::subscribe(
- $comment->comment_author_email,
- $post_ids,
- true,
- array(
- 'source' => 'comment-form',
- 'widget-in-use' => is_active_widget( false, false, 'blog_subscription', true ) ? 'yes' : 'no',
- 'comment_status' => $approved,
- 'server_data' => jetpack_subscriptions_cherry_pick_server_data(),
- )
+ $result = self::subscribe(
+ $comment->comment_author_email,
+ $post_ids,
+ true,
+ array(
+ 'source' => 'comment-form',
+ 'widget-in-use' => is_active_widget( false, false, 'blog_subscription', true ) ? 'yes' : 'no',
+ 'comment_status' => $approved,
+ 'server_data' => jetpack_subscriptions_cherry_pick_server_data(),
+ )
);
/**
@@ -834,14 +921,14 @@ class Jetpack_Subscriptions {
* Set a cookie to save state on the comment and post subscription checkboxes.
*
* @param bool $subscribe_to_post Whether the user chose to subscribe to subsequent comments on this post.
- * @param int $post_id If $subscribe_to_post is true, the post ID they've subscribed to.
+ * @param int $post_id If $subscribe_to_post is true, the post ID they've subscribed to.
* @param bool $subscribe_to_blog Whether the user chose to subscribe to all new posts on the blog.
*/
- function set_cookies( $subscribe_to_post = false, $post_id = null, $subscribe_to_blog = false ) {
+ public function set_cookies( $subscribe_to_post = false, $post_id = null, $subscribe_to_blog = false ) {
$post_id = (int) $post_id;
/** This filter is already documented in core/wp-includes/comment-functions.php */
- $cookie_lifetime = apply_filters( 'comment_cookie_lifetime', 30000000 );
+ $cookie_lifetime = apply_filters( 'comment_cookie_lifetime', 30000000 );
/**
* Filter the Jetpack Comment cookie path.
@@ -852,7 +939,7 @@ class Jetpack_Subscriptions {
*
* @param string COOKIEPATH Cookie path.
*/
- $cookie_path = apply_filters( 'jetpack_comment_cookie_path', COOKIEPATH );
+ $cookie_path = apply_filters( 'jetpack_comment_cookie_path', COOKIEPATH );
/**
* Filter the Jetpack Comment cookie domain.
@@ -863,18 +950,18 @@ class Jetpack_Subscriptions {
*
* @param string COOKIE_DOMAIN Cookie domain.
*/
- $cookie_domain = apply_filters( 'jetpack_comment_cookie_domain', COOKIE_DOMAIN );
+ $cookie_domain = apply_filters( 'jetpack_comment_cookie_domain', COOKIE_DOMAIN );
if ( $subscribe_to_post && $post_id >= 0 ) {
- setcookie( 'jetpack_comments_subscribe_' . self::$hash . '_' . $post_id, 1, time() + $cookie_lifetime, $cookie_path, $cookie_domain );
+ setcookie( 'jetpack_comments_subscribe_' . self::$hash . '_' . $post_id, 1, time() + $cookie_lifetime, $cookie_path, $cookie_domain, is_ssl(), true );
} else {
- setcookie( 'jetpack_comments_subscribe_' . self::$hash . '_' . $post_id, '', time() - 3600, $cookie_path, $cookie_domain );
+ setcookie( 'jetpack_comments_subscribe_' . self::$hash . '_' . $post_id, '', time() - 3600, $cookie_path, $cookie_domain, is_ssl(), true );
}
if ( $subscribe_to_blog ) {
- setcookie( 'jetpack_blog_subscribe_' . self::$hash, 1, time() + $cookie_lifetime, $cookie_path, $cookie_domain );
+ setcookie( 'jetpack_blog_subscribe_' . self::$hash, 1, time() + $cookie_lifetime, $cookie_path, $cookie_domain, is_ssl(), true );
} else {
- setcookie( 'jetpack_blog_subscribe_' . self::$hash, '', time() - 3600, $cookie_path, $cookie_domain );
+ setcookie( 'jetpack_blog_subscribe_' . self::$hash, '', time() - 3600, $cookie_path, $cookie_domain, is_ssl(), true );
}
}
@@ -883,9 +970,9 @@ class Jetpack_Subscriptions {
*
* @since 8.1
*
- * @return null
+ * @return void
*/
- function set_social_notifications_subscribe() {
+ public function set_social_notifications_subscribe() {
if ( false === get_option( 'social_notifications_subscribe' ) ) {
add_option( 'social_notifications_subscribe', 'off' );
}
@@ -895,4 +982,4 @@ class Jetpack_Subscriptions {
Jetpack_Subscriptions::init();
-include dirname( __FILE__ ) . '/subscriptions/views.php';
+require __DIR__ . '/subscriptions/views.php';
diff --git a/plugins/jetpack/modules/subscriptions/views.php b/plugins/jetpack/modules/subscriptions/views.php
index 85806e74..f1518587 100644
--- a/plugins/jetpack/modules/subscriptions/views.php
+++ b/plugins/jetpack/modules/subscriptions/views.php
@@ -1,13 +1,23 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack_Subscriptions_Widget main view class.
+ */
class Jetpack_Subscriptions_Widget extends WP_Widget {
const ID_BASE = 'blog_subscription';
- static $instance_count = 0;
+ /**
+ * Track number of rendered Subscription widgets. The count is used for class names and widget IDs.
+ *
+ * @var int
+ */
+ public static $instance_count = 0;
/**
- * @var array When printing the submit button, what tags are allowed
+ * When printing the submit button, what tags are allowed.
+ *
+ * @var array
*/
public static $allowed_html_tags_for_submit_button = array(
'br' => array(),
@@ -31,7 +41,10 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
'br' => array(),
);
- function __construct() {
+ /**
+ * Jetpack_Subscriptions_Widget constructor.
+ */
+ public function __construct() {
$widget_ops = array(
'classname' => 'widget_blog_subscription jetpack_subscription_widget',
'description' => __( 'Add an email signup form to allow people to subscribe to your blog.', 'jetpack' ),
@@ -51,11 +64,11 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
);
if ( self::is_jetpack() &&
- (
- is_active_widget( false, false, $this->id_base ) ||
- is_active_widget( false, false, 'monster' ) ||
- is_customize_preview()
- )
+ (
+ is_active_widget( false, false, $this->id_base ) ||
+ is_active_widget( false, false, 'monster' ) ||
+ is_customize_preview()
+ )
) {
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_style' ) );
}
@@ -95,10 +108,10 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
* @param array $args Display arguments including 'before_title', 'after_title', 'before_widget', and 'after_widget'.
* @param array $instance The settings for the particular instance of the widget.
*/
- function widget( $args, $instance ) {
+ public function widget( $args, $instance ) {
if ( self::is_jetpack() &&
- /** This filter is documented in modules/contact-form/grunion-contact-form.php */
- false === apply_filters( 'jetpack_auto_fill_logged_in_user', false )
+ /** This filter is documented in modules/contact-form/grunion-contact-form.php */
+ false === apply_filters( 'jetpack_auto_fill_logged_in_user', false )
) {
$subscribe_email = '';
} else {
@@ -118,9 +131,9 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
$before_widget = isset( $args['before_widget'] ) ? $args['before_widget'] : '';
$instance = wp_parse_args( (array) $instance, $this->defaults() );
- echo $before_widget;
+ echo $before_widget; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- Jetpack_Subscriptions_Widget::$instance_count ++;
+ self::$instance_count ++;
self::render_widget_title( $args, $instance );
@@ -128,7 +141,7 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
self::render_widget_subscription_form( $args, $instance, $subscribe_email );
- echo "\n" . $after_widget;
+ echo "\n" . $after_widget; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
/**
@@ -137,7 +150,7 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
* @param array $args Display arguments including 'before_title', 'after_title', 'before_widget', and 'after_widget'.
* @param array $instance The settings for the particular instance of the widget.
*/
- static function render_widget_title( $args, $instance ) {
+ public static function render_widget_title( $args, $instance ) {
$show_only_email_and_button = $instance['show_only_email_and_button'];
$before_title = isset( $args['before_title'] ) ? $args['before_title'] : '';
$after_title = isset( $args['after_title'] ) ? $args['after_title'] : '';
@@ -164,26 +177,50 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
*
* @param array $instance The settings for the particular instance of the widget.
*/
- static function render_widget_status_messages( $instance ) {
- if ( self::is_jetpack() && isset( $_GET['subscribe'] ) ) {
+ public static function render_widget_status_messages( $instance ) {
+ if ( self::is_jetpack() && isset( $_GET['subscribe'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Non-sensitive informational output.
$success_message = isset( $instance['success_message'] ) ? stripslashes( $instance['success_message'] ) : '';
$subscribers_total = self::fetch_subscriber_count();
- switch ( $_GET['subscribe'] ) :
- case 'invalid_email' : ?>
- <p class="error"><?php esc_html_e( 'The email you entered was invalid. Please check and try again.', 'jetpack' ); ?></p>
- <?php break;
- case 'opted_out' : ?>
- <p class="error"><?php printf( __( 'The email address has opted out of subscription emails. <br /> You can manage your preferences at <a href="%1$s" title="%2$s" target="_blank">subscribe.wordpress.com</a>', 'jetpack' ),
- 'https://subscribe.wordpress.com/',
- __( 'Manage your email preferences.', 'jetpack' )
- ); ?></p>
- <?php break;
- case 'already' : ?>
- <p class="error"><?php printf( __( 'You have already subscribed to this site. Please check your inbox. <br /> You can manage your preferences at <a href="%1$s" title="%2$s" target="_blank">subscribe.wordpress.com</a>', 'jetpack' ),
- 'https://subscribe.wordpress.com/',
- __( 'Manage your email preferences.', 'jetpack' )
- ); ?></p>
- <?php break;
+ switch ( $_GET['subscribe'] ) : // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ case 'invalid_email':
+ ?>
+ <p class="error"><?php esc_html_e( 'The email you entered was invalid. Please check and try again.', 'jetpack' ); ?></p>
+ <?php
+ break;
+ case 'opted_out':
+ ?>
+ <p class="error">
+ <?php
+ printf(
+ wp_kses(
+ /* translators: 1: Link to Subscription Management page https://subscribe.wordpress.com/, 2: Description of this link. */
+ __( 'The email address has opted out of subscription emails. <br /> You can manage your preferences at <a href="%1$s" title="%2$s" target="_blank">subscribe.wordpress.com</a>', 'jetpack' ),
+ self::$allowed_html_tags_for_message
+ ),
+ 'https://subscribe.wordpress.com/',
+ esc_attr__( 'Manage your email preferences.', 'jetpack' )
+ );
+ ?>
+ </p>
+ <?php
+ break;
+ case 'already':
+ ?>
+ <p class="error">
+ <?php
+ printf(
+ wp_kses(
+ /* translators: 1: Link to Subscription Management page https://subscribe.wordpress.com/, 2: Description of this link. */
+ __( 'You have already subscribed to this site. Please check your inbox. <br /> You can manage your preferences at <a href="%1$s" title="%2$s" target="_blank">subscribe.wordpress.com</a>', 'jetpack' ),
+ self::$allowed_html_tags_for_message
+ ),
+ 'https://subscribe.wordpress.com/',
+ esc_attr__( 'Manage your email preferences.', 'jetpack' )
+ );
+ ?>
+ </p>
+ <?php
+ break;
case 'many_pending_subs':
?>
<p class="error">
@@ -199,7 +236,8 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
);
?>
</p>
- <?php break;
+ <?php
+ break;
case 'pending':
?>
<p class="error">
@@ -207,7 +245,7 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
printf(
wp_kses(
/* translators: 1: Link to Subscription Management page https://subscribe.wordpress.com/, 2: Description of this link */
- __( 'You subscribed this site before but you have not clicked the confirmation link yet. Please check your inbox. <br /> Otherwise, you can manage your preferences at <a href="%1$s" title="%2$s" target="_blank" rel="noopener noreferrer">subscribe.wordpress.com</a>.', 'jetpack' ),
+ __( 'You subscribed to this site before but you have not clicked the confirmation link yet. Please check your inbox. <br /> Otherwise, you can manage your preferences at <a href="%1$s" title="%2$s" target="_blank" rel="noopener noreferrer">subscribe.wordpress.com</a>.', 'jetpack' ),
self::$allowed_html_tags_for_message
),
'https://subscribe.wordpress.com/',
@@ -217,12 +255,16 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
</p>
<?php
break;
- case 'success' : ?>
- <div class="success"><?php echo wpautop( str_replace( '[total-subscribers]', number_format_i18n( $subscribers_total['value'] ), $success_message ) ); ?></div>
- <?php break;
- default : ?>
- <p class="error"><?php esc_html_e( 'There was an error when subscribing. Please try again.', 'jetpack' ); ?></p>
- <?php break;
+ case 'success':
+ ?>
+ <div class="success"><?php echo wp_kses( wpautop( str_replace( '[total-subscribers]', number_format_i18n( $subscribers_total['value'] ), $success_message ) ), 'post' ); ?></div>
+ <?php
+ break;
+ default:
+ ?>
+ <p class="error"><?php esc_html_e( 'There was an error when subscribing. Please try again.', 'jetpack' ); ?></p>
+ <?php
+ break;
endswitch;
}
@@ -230,7 +272,7 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
global $themecolors;
$message = '';
- switch ( $_GET['blogsub'] ) {
+ switch ( $_GET['blogsub'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotValidated
case 'confirming':
$message = __( 'Thanks for subscribing! You&rsquo;ll get an email with a link to confirm your subscription. If you don&rsquo;t get it, please <a href="https://en.support.wordpress.com/contact/">contact us</a>.', 'jetpack' );
break;
@@ -273,7 +315,7 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
* @param string $id is the specific id that will appear in the redirect fragment. If none is provided self::$instance_count will be used.
*/
protected static function get_redirect_fragment( $id = null ) {
- if ( is_null( $id ) ) {
+ if ( $id === null ) {
return 'subscribe-blog' . ( self::$instance_count > 1 ? '-' . self::$instance_count : '' );
}
@@ -283,17 +325,17 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
/**
* Renders a form allowing folks to subscribe to the blog.
*
- * @param array $args Display arguments including 'before_title', 'after_title', 'before_widget', and 'after_widget'.
- * @param array $instance The settings for the particular instance of the widget.
+ * @param array $args Display arguments including 'before_title', 'after_title', 'before_widget', and 'after_widget'.
+ * @param array $instance The settings for the particular instance of the widget.
* @param string $subscribe_email The email to use to prefill the form.
*/
- static function render_widget_subscription_form( $args, $instance, $subscribe_email ) {
+ public static function render_widget_subscription_form( $args, $instance, $subscribe_email ) {
$show_only_email_and_button = $instance['show_only_email_and_button'];
$show_subscribers_total = (bool) $instance['show_subscribers_total'];
$subscribe_text = empty( $instance['show_only_email_and_button'] ) ?
stripslashes( $instance['subscribe_text'] ) :
false;
- $referer = ( is_ssl() ? 'https' : 'http' ) . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
+ $referer = esc_url_raw( ( is_ssl() ? 'https' : 'http' ) . '://' . ( isset( $_SERVER['HTTP_HOST'] ) ? wp_unslash( $_SERVER['HTTP_HOST'] ) : '' ) . ( isset( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : '' ) );
$source = 'widget';
$widget_id = ! empty( $args['widget_id'] ) ? $args['widget_id'] : self::$instance_count;
$subscribe_button = ! empty( $instance['submit_button_text'] ) ? $instance['submit_button_text'] : $instance['subscribe_button'];
@@ -378,31 +420,31 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
<p id="subscribe-submit"
<?php if ( ! empty( $submit_button_wrapper_styles ) ) { ?>
style="<?php echo esc_attr( $submit_button_wrapper_styles ); ?>"
- <?php }; ?>
+ <?php } ?>
>
- <input type="hidden" name="action" value="subscribe"/>
- <input type="hidden" name="blog_id" value="<?php echo (int) $current_blog->blog_id; ?>"/>
- <input type="hidden" name="source" value="<?php echo esc_url( $referer ); ?>"/>
- <input type="hidden" name="sub-type" value="<?php echo esc_attr( $source ); ?>"/>
+ <input type="hidden" name="action" value="subscribe"/>
+ <input type="hidden" name="blog_id" value="<?php echo (int) $current_blog->blog_id; ?>"/>
+ <input type="hidden" name="source" value="<?php echo esc_url( $referer ); ?>"/>
+ <input type="hidden" name="sub-type" value="<?php echo esc_attr( $source ); ?>"/>
<input type="hidden" name="redirect_fragment" value="<?php echo esc_attr( $form_id ); ?>"/>
<?php wp_nonce_field( 'blogsub_subscribe_' . $current_blog->blog_id, '_wpnonce', false ); ?>
- <button type="submit"
- <?php if ( ! empty( $submit_button_classes ) ) { ?>
- class="<?php echo esc_attr( $submit_button_classes ); ?>"
- <?php }; ?>
- <?php if ( ! empty( $submit_button_styles ) ) { ?>
- style="<?php echo esc_attr( $submit_button_styles ); ?>"
- <?php }; ?>
- >
- <?php
- echo wp_kses(
- $subscribe_button,
- self::$allowed_html_tags_for_submit_button
- );
- ?>
- </button>
- </p>
- </form>
+ <button type="submit"
+ <?php if ( ! empty( $submit_button_classes ) ) { ?>
+ class="<?php echo esc_attr( $submit_button_classes ); ?>"
+ <?php } ?>
+ <?php if ( ! empty( $submit_button_styles ) ) { ?>
+ style="<?php echo esc_attr( $submit_button_styles ); ?>"
+ <?php } ?>
+ >
+ <?php
+ echo wp_kses(
+ $subscribe_button,
+ self::$allowed_html_tags_for_submit_button
+ );
+ ?>
+ </button>
+ </p>
+ </form>
<?php
}
@@ -423,9 +465,10 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
?>
<form action="#" method="post" accept-charset="utf-8" id="<?php echo esc_attr( $form_id ); ?>">
<?php
- if ( $subscribe_text && ( ! isset ( $_GET['subscribe'] ) || 'success' != $_GET['subscribe'] ) ) {
+ if ( $subscribe_text && ( ! isset( $_GET['subscribe'] ) || 'success' !== $_GET['subscribe'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Non-sensitive informational output.
?>
- <div id="subscribe-text"><?php echo wpautop( str_replace( '[total-subscribers]', number_format_i18n( $subscribers_total['value'] ), $subscribe_text ) ); ?></div><?php
+ <div id="subscribe-text"><?php echo wp_kses( wpautop( str_replace( '[total-subscribers]', number_format_i18n( $subscribers_total['value'] ), $subscribe_text ) ), 'post' ); ?></div>
+ <?php
}
if ( $show_subscribers_total && 0 < $subscribers_total['value'] ) {
@@ -440,59 +483,62 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
</div>
<?php
}
- if ( ! isset ( $_GET['subscribe'] ) || 'success' != $_GET['subscribe'] ) { ?>
- <p id="subscribe-email">
- <label id="jetpack-subscribe-label"
+ if ( ! isset( $_GET['subscribe'] ) || 'success' !== $_GET['subscribe'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Display of unsubmitted form.
+ ?>
+ <p id="subscribe-email">
+ <label id="jetpack-subscribe-label"
class="screen-reader-text"
for="<?php echo esc_attr( $subscribe_field_id . '-' . $widget_id ); ?>">
<?php echo ! empty( $subscribe_placeholder ) ? esc_html( $subscribe_placeholder ) : esc_html__( 'Email Address:', 'jetpack' ); ?>
- </label>
- <input type="email" name="email" required="required"
- <?php if ( ! empty( $email_field_classes ) ) { ?>
- class="<?php echo esc_attr( $email_field_classes ); ?> required"
- <?php }; ?>
- <?php if ( ! empty( $email_field_styles ) ) { ?>
- style="<?php echo esc_attr( $email_field_styles ); ?>"
- <?php }; ?>
- value="<?php echo esc_attr( $subscribe_email ); ?>"
+ </label>
+ <input type="email" name="email" required="required"
+ <?php if ( ! empty( $email_field_classes ) ) { ?>
+ class="<?php echo esc_attr( $email_field_classes ); ?> required"
+ <?php } ?>
+ <?php if ( ! empty( $email_field_styles ) ) { ?>
+ style="<?php echo esc_attr( $email_field_styles ); ?>"
+ <?php } ?>
+ value="<?php echo esc_attr( $subscribe_email ); ?>"
id="<?php echo esc_attr( $subscribe_field_id . '-' . $widget_id ); ?>"
- placeholder="<?php echo esc_attr( $subscribe_placeholder ); ?>"
- />
- </p>
+ placeholder="<?php echo esc_attr( $subscribe_placeholder ); ?>"
+ />
+ </p>
<p id="subscribe-submit"
<?php if ( ! empty( $submit_button_wrapper_styles ) ) { ?>
style="<?php echo esc_attr( $submit_button_wrapper_styles ); ?>"
- <?php }; ?>
+ <?php } ?>
>
- <input type="hidden" name="action" value="subscribe"/>
- <input type="hidden" name="source" value="<?php echo esc_url( $referer ); ?>"/>
- <input type="hidden" name="sub-type" value="<?php echo esc_attr( $source ); ?>"/>
+ <input type="hidden" name="action" value="subscribe"/>
+ <input type="hidden" name="source" value="<?php echo esc_url( $referer ); ?>"/>
+ <input type="hidden" name="sub-type" value="<?php echo esc_attr( $source ); ?>"/>
<input type="hidden" name="redirect_fragment" value="<?php echo esc_attr( $form_id ); ?>"/>
<?php
if ( is_user_logged_in() ) {
wp_nonce_field( 'blogsub_subscribe_' . get_current_blog_id(), '_wpnonce', false );
}
?>
- <button type="submit"
- <?php if ( ! empty( $submit_button_classes ) ) { ?>
- class="<?php echo esc_attr( $submit_button_classes ); ?>"
- <?php }; ?>
- <?php if ( ! empty( $submit_button_styles ) ) { ?>
- style="<?php echo esc_attr( $submit_button_styles ); ?>"
- <?php }; ?>
- name="jetpack_subscriptions_widget"
- >
- <?php
- echo wp_kses(
- $subscribe_button,
- self::$allowed_html_tags_for_submit_button
- ); ?>
- </button>
- </p>
+ <button type="submit"
+ <?php if ( ! empty( $submit_button_classes ) ) { ?>
+ class="<?php echo esc_attr( $submit_button_classes ); ?>"
+ <?php } ?>
+ <?php if ( ! empty( $submit_button_styles ) ) { ?>
+ style="<?php echo esc_attr( $submit_button_styles ); ?>"
+ <?php } ?>
+ name="jetpack_subscriptions_widget"
+ >
+ <?php
+ echo wp_kses(
+ $subscribe_button,
+ self::$allowed_html_tags_for_submit_button
+ );
+ ?>
+ </button>
+ </p>
<?php } ?>
- </form>
- <?php }
+ </form>
+ <?php
+ }
}
/**
@@ -500,8 +546,8 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
*
* @return bool Is the person already subscribed.
*/
- static function is_current_user_subscribed() {
- $subscribed = isset( $_GET['subscribe'] ) && 'success' == $_GET['subscribe'];
+ public static function is_current_user_subscribed() {
+ $subscribed = isset( $_GET['subscribe'] ) && 'success' === $_GET['subscribe']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( self::is_wpcom() && class_exists( 'Blog_Subscription' ) && class_exists( 'Blog_Subscriber' ) ) {
$subscribed = is_user_logged_in() && Blog_Subscription::is_subscribed( new Blog_Subscriber() );
@@ -515,7 +561,7 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
*
* @return bool
*/
- static function is_wpcom() {
+ public static function is_wpcom() {
return defined( 'IS_WPCOM' ) && IS_WPCOM;
}
@@ -524,7 +570,7 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
*
* @return bool
*/
- static function is_jetpack() {
+ public static function is_jetpack() {
return ! self::is_wpcom();
}
@@ -533,20 +579,21 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
*
* @return bool
*/
- static function wpcom_has_status_message() {
- return isset( $_GET['blogsub'] ) &&
- in_array(
- $_GET['blogsub'],
- array(
- 'confirming',
- 'blocked',
- 'flooded',
- 'spammed',
- 'subscribed',
- 'pending',
- 'confirmed',
- )
- );
+ public static function wpcom_has_status_message() {
+ return isset( $_GET['blogsub'] ) && // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ in_array(
+ $_GET['blogsub'], // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ array(
+ 'confirming',
+ 'blocked',
+ 'flooded',
+ 'spammed',
+ 'subscribed',
+ 'pending',
+ 'confirmed',
+ ),
+ true
+ );
}
/**
@@ -554,17 +601,17 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
*
* @return int|array
*/
- static function fetch_subscriber_count() {
+ public static function fetch_subscriber_count() {
$subs_count = 0;
if ( self::is_jetpack() ) {
$subs_count = get_transient( 'wpcom_subscribers_total' );
- if ( false === $subs_count || 'failed' == $subs_count['status'] ) {
+ if ( false === $subs_count || 'failed' === $subs_count['status'] ) {
$xml = new Jetpack_IXR_Client();
$xml->query( 'jetpack.fetchSubscriberCount' );
- if ( $xml->isError() ) { // if we get an error from .com, set the status to failed so that we will try again next time the data is requested
+ if ( $xml->isError() ) { // If we get an error from .com, set the status to failed so that we will try again next time the data is requested.
$subs_count = array(
'status' => 'failed',
'code' => $xml->getErrorCode(),
@@ -578,7 +625,7 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
);
}
- set_transient( 'wpcom_subscribers_total', $subs_count, 3600 ); // try to cache the result for at least 1 hour
+ set_transient( 'wpcom_subscribers_total', $subs_count, 3600 ); // Try to cache the result for at least 1 hour.
}
}
@@ -592,12 +639,12 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
/**
* Updates a particular instance of a widget when someone saves it in wp-admin.
*
- * @param array $new_instance
- * @param array $old_instance
+ * @param array $new_instance New widget instance settings.
+ * @param array $old_instance Old widget instance settings.
*
* @return array
*/
- function update( $new_instance, $old_instance ) {
+ public function update( $new_instance, $old_instance ) {
$instance = $old_instance;
if ( self::is_jetpack() ) {
@@ -608,10 +655,10 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
}
if ( self::is_wpcom() ) {
- $instance['title'] = strip_tags( stripslashes( $new_instance['title'] ) );
- $instance['title_following'] = strip_tags( stripslashes( $new_instance['title_following'] ) );
+ $instance['title'] = wp_strip_all_tags( stripslashes( $new_instance['title'] ) );
+ $instance['title_following'] = wp_strip_all_tags( stripslashes( $new_instance['title_following'] ) );
$instance['subscribe_logged_in'] = wp_filter_post_kses( stripslashes( $new_instance['subscribe_logged_in'] ) );
- $instance['subscribe_button'] = strip_tags( stripslashes( $new_instance['subscribe_button'] ) );
+ $instance['subscribe_button'] = wp_strip_all_tags( stripslashes( $new_instance['subscribe_button'] ) );
}
$instance['show_subscribers_total'] = isset( $new_instance['show_subscribers_total'] ) && $new_instance['show_subscribers_total'];
@@ -626,10 +673,10 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
*
* @return array
*/
- static function defaults() {
+ public static function defaults() {
$defaults = array(
'show_subscribers_total' => true,
- 'show_only_email_and_button' => false
+ 'show_only_email_and_button' => false,
);
$defaults['title'] = esc_html__( 'Subscribe to Blog via Email', 'jetpack' );
@@ -644,13 +691,12 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
/**
* Renders the widget's options form in wp-admin.
*
- * @param array $instance
+ * @param array $instance Widget instance.
*/
- function form( $instance ) {
+ public function form( $instance ) {
$instance = wp_parse_args( (array) $instance, $this->defaults() );
$show_subscribers_total = checked( $instance['show_subscribers_total'], true, false );
-
if ( self::is_wpcom() ) {
$title = esc_attr( stripslashes( $instance['title'] ) );
$title_following = esc_attr( stripslashes( $instance['title_following'] ) );
@@ -667,113 +713,123 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
$subscribe_button = stripslashes( $instance['subscribe_button'] );
$success_message = stripslashes( $instance['success_message'] );
$subs_fetch = self::fetch_subscriber_count();
- if ( 'failed' == $subs_fetch['status'] ) {
+ if ( 'failed' === $subs_fetch['status'] ) {
printf( '<div class="error inline"><p>%s: %s</p></div>', esc_html( $subs_fetch['code'] ), esc_html( $subs_fetch['message'] ) );
}
$subscribers_total = number_format_i18n( $subs_fetch['value'] );
}
- if ( self::is_wpcom() ) : ?>
- <p>
- <label for="<?php echo $this->get_field_id( 'title' ); ?>">
- <?php _e( 'Widget title for non-followers:' ); ?>
- <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>"
- name="<?php echo $this->get_field_name( 'title' ); ?>" type="text"
- value="<?php echo $title; ?>"/>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'title_following' ); ?>">
- <?php _e( 'Widget title for followers:' ); ?>
- <input class="widefat" id="<?php echo $this->get_field_id( 'title_following' ); ?>"
- name="<?php echo $this->get_field_name( 'title_following' ); ?>" type="text"
- value="<?php echo $title_following; ?>"/>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'subscribe_logged_in' ); ?>">
- <?php _e( 'Optional text to display to logged in WordPress.com users:' ); ?>
- <textarea style="width: 95%" id="<?php echo $this->get_field_id( 'subscribe_logged_in' ); ?>"
- name="<?php echo $this->get_field_name( 'subscribe_logged_in' ); ?>"
- type="text"><?php echo $subscribe_logged_in; ?></textarea>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'subscribe_text' ); ?>">
- <?php _e( 'Optional text to display to non-WordPress.com users:' ); ?>
- <textarea style="width: 95%" id="<?php echo $this->get_field_id( 'subscribe_text' ); ?>"
- name="<?php echo $this->get_field_name( 'subscribe_text' ); ?>"
- type="text"><?php echo $subscribe_text; ?></textarea>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'subscribe_button' ); ?>">
- <?php _e( 'Follow Button Text:' ); ?>
- <input class="widefat" id="<?php echo $this->get_field_id( 'subscribe_button' ); ?>"
- name="<?php echo $this->get_field_name( 'subscribe_button' ); ?>" type="text"
- value="<?php echo $subscribe_button; ?>"/>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'show_subscribers_total' ); ?>">
- <input type="checkbox" id="<?php echo $this->get_field_id( 'show_subscribers_total' ); ?>"
- name="<?php echo $this->get_field_name( 'show_subscribers_total' ); ?>"
- value="1"<?php echo $show_subscribers_total; ?> />
- <?php echo esc_html( sprintf( _n( 'Show total number of followers? (%s follower)', 'Show total number of followers? (%s followers)', $subscribers_total ), number_format_i18n( $subscribers_total ) ) ); ?>
- </label>
- </p>
- <?php endif;
-
- if ( self::is_jetpack() ) : ?>
- <p>
- <label for="<?php echo $this->get_field_id( 'title' ); ?>">
- <?php _e( 'Widget title:', 'jetpack' ); ?>
- <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>"
- name="<?php echo $this->get_field_name( 'title' ); ?>" type="text"
- value="<?php echo esc_attr( $title ); ?>"/>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'subscribe_text' ); ?>">
- <?php _e( 'Optional text to display to your readers:', 'jetpack' ); ?>
- <textarea class="widefat" id="<?php echo $this->get_field_id( 'subscribe_text' ); ?>"
- name="<?php echo $this->get_field_name( 'subscribe_text' ); ?>"
- rows="3"><?php echo esc_html( $subscribe_text ); ?></textarea>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'subscribe_placeholder' ); ?>">
+ if ( self::is_wpcom() ) :
+ ?>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
+ <?php esc_html_e( 'Widget title for non-followers:', 'jetpack' ); ?>
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text"
+ value="<?php echo esc_attr( $title ); ?>"/>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'title_following' ) ); ?>">
+ <?php esc_html_e( 'Widget title for followers:', 'jetpack' ); ?>
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title_following' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'title_following' ) ); ?>" type="text"
+ value="<?php echo esc_attr( $title_following ); ?>"/>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'subscribe_logged_in' ) ); ?>">
+ <?php esc_html_e( 'Optional text to display to logged in WordPress.com users:', 'jetpack' ); ?>
+ <textarea style="width: 95%" id="<?php echo esc_attr( $this->get_field_id( 'subscribe_logged_in' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'subscribe_logged_in' ) ); ?>"
+ type="text"><?php echo esc_html( $subscribe_logged_in ); ?></textarea>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'subscribe_text' ) ); ?>">
+ <?php esc_html_e( 'Optional text to display to non-WordPress.com users:', 'jetpack' ); ?>
+ <textarea style="width: 95%" id="<?php echo esc_attr( $this->get_field_id( 'subscribe_text' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'subscribe_text' ) ); ?>"
+ type="text"><?php echo esc_html( $subscribe_text ); ?></textarea>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'subscribe_button' ) ); ?>">
+ <?php esc_html_e( 'Follow Button Text:', 'jetpack' ); ?>
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'subscribe_button' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'subscribe_button' ) ); ?>" type="text"
+ value="<?php echo esc_attr( $subscribe_button ); ?>"/>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'show_subscribers_total' ) ); ?>">
+ <input type="checkbox" id="<?php echo esc_attr( $this->get_field_id( 'show_subscribers_total' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'show_subscribers_total' ) ); ?>"
+ value="1"<?php echo esc_attr( $show_subscribers_total ); ?> />
+ <?php
+ /* translators: %s: Number of followers. */
+ echo esc_html( sprintf( _n( 'Show total number of followers? (%s follower)', 'Show total number of followers? (%s followers)', $subscribers_total, 'jetpack' ), number_format_i18n( $subscribers_total ) ) );
+ ?>
+ </label>
+ </p>
+ <?php
+ endif;
+
+ if ( self::is_jetpack() ) :
+ ?>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
+ <?php esc_html_e( 'Widget title:', 'jetpack' ); ?>
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text"
+ value="<?php echo esc_attr( $title ); ?>"/>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'subscribe_text' ) ); ?>">
+ <?php esc_html_e( 'Optional text to display to your readers:', 'jetpack' ); ?>
+ <textarea class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'subscribe_text' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'subscribe_text' ) ); ?>"
+ rows="3"><?php echo esc_html( $subscribe_text ); ?></textarea>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'subscribe_placeholder' ) ); ?>">
<?php esc_html_e( 'Subscribe Placeholder:', 'jetpack' ); ?>
- <input class="widefat" id="<?php echo $this->get_field_id( 'subscribe_placeholder' ); ?>"
- name="<?php echo $this->get_field_name( 'subscribe_placeholder' ); ?>" type="text"
- value="<?php echo esc_attr( $subscribe_placeholder ); ?>"/>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'subscribe_button' ); ?>">
- <?php _e( 'Subscribe Button:', 'jetpack' ); ?>
- <input class="widefat" id="<?php echo $this->get_field_id( 'subscribe_button' ); ?>"
- name="<?php echo $this->get_field_name( 'subscribe_button' ); ?>" type="text"
- value="<?php echo esc_attr( $subscribe_button ); ?>"/>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'success_message' ); ?>">
- <?php _e( 'Success Message Text:', 'jetpack' ); ?>
- <textarea class="widefat" id="<?php echo $this->get_field_id( 'success_message' ); ?>"
- name="<?php echo $this->get_field_name( 'success_message' ); ?>"
- rows="5"><?php echo esc_html( $success_message ); ?></textarea>
- </label>
- </p>
- <p>
- <label for="<?php echo $this->get_field_id( 'show_subscribers_total' ); ?>">
- <input type="checkbox" id="<?php echo $this->get_field_id( 'show_subscribers_total' ); ?>"
- name="<?php echo $this->get_field_name( 'show_subscribers_total' ); ?>"
- value="1"<?php echo $show_subscribers_total; ?> />
- <?php echo esc_html( sprintf( _n( 'Show total number of subscribers? (%s subscriber)', 'Show total number of subscribers? (%s subscribers)', $subscribers_total, 'jetpack' ), $subscribers_total ) ); ?>
- </label>
- </p>
- <?php endif;
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'subscribe_placeholder' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'subscribe_placeholder' ) ); ?>" type="text"
+ value="<?php echo esc_attr( $subscribe_placeholder ); ?>"/>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'subscribe_button' ) ); ?>">
+ <?php esc_html_e( 'Subscribe Button:', 'jetpack' ); ?>
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'subscribe_button' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'subscribe_button' ) ); ?>" type="text"
+ value="<?php echo esc_attr( $subscribe_button ); ?>"/>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'success_message' ) ); ?>">
+ <?php esc_html_e( 'Success Message Text:', 'jetpack' ); ?>
+ <textarea class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'success_message' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'success_message' ) ); ?>"
+ rows="5"><?php echo esc_html( $success_message ); ?></textarea>
+ </label>
+ </p>
+ <p>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'show_subscribers_total' ) ); ?>">
+ <input type="checkbox" id="<?php echo esc_attr( $this->get_field_id( 'show_subscribers_total' ) ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'show_subscribers_total' ) ); ?>"
+ value="1"<?php echo esc_attr( $show_subscribers_total ); ?> />
+ <?php
+ /* translators: %s: Number of subscribers. */
+ echo esc_html( sprintf( _n( 'Show total number of subscribers? (%s subscriber)', 'Show total number of subscribers? (%s subscribers)', $subscribers_total, 'jetpack' ), $subscribers_total ) );
+ ?>
+ </label>
+ </p>
+ <?php
+ endif;
}
}
@@ -781,12 +837,22 @@ if ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'class_alias' ) ) {
class_alias( 'Jetpack_Subscriptions_Widget', 'Blog_Subscription_Widget' );
}
+/**
+ * Classname / shortcode tag to use for the Subscriptions widget.
+ *
+ * @return string
+ */
function get_jetpack_blog_subscriptions_widget_classname() {
return ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ?
'Blog_Subscription_Widget' :
'Jetpack_Subscriptions_Widget';
}
+/**
+ * Subscriptions widget form HTML output.
+ *
+ * @param array $instance Widget instance data.
+ */
function jetpack_do_subscription_form( $instance ) {
if ( empty( $instance ) || ! is_array( $instance ) ) {
$instance = array();
@@ -798,10 +864,10 @@ function jetpack_do_subscription_form( $instance ) {
$instance['show_subscribers_total'] = true;
}
- $show_only_email_and_button = isset( $instance['show_only_email_and_button'] ) ? $instance['show_only_email_and_button'] : false;
- $submit_button_text = isset( $instance['submit_button_text'] ) ? $instance['submit_button_text'] : '';
+ $show_only_email_and_button = isset( $instance['show_only_email_and_button'] ) ? $instance['show_only_email_and_button'] : false;
+ $submit_button_text = isset( $instance['submit_button_text'] ) ? $instance['submit_button_text'] : '';
- // Build up a string with the submit button's classes and styles and set it on the instance
+ // Build up a string with the submit button's classes and styles and set it on the instance.
$submit_button_classes = isset( $instance['submit_button_classes'] ) ? $instance['submit_button_classes'] : '';
$email_field_classes = isset( $instance['email_field_classes'] ) ? $instance['email_field_classes'] : '';
$style = '';
@@ -887,7 +953,7 @@ function jetpack_do_subscription_form( $instance ) {
'jetpack_subscription_form'
);
- // These must come after the call to shortcode_atts()
+ // These must come after the call to shortcode_atts().
$instance['submit_button_text'] = $submit_button_text;
$instance['show_only_email_and_button'] = $show_only_email_and_button;
if ( ! empty( $submit_button_classes ) ) {
@@ -923,6 +989,9 @@ function jetpack_do_subscription_form( $instance ) {
add_shortcode( 'jetpack_subscription_form', 'jetpack_do_subscription_form' );
add_shortcode( 'blog_subscription_form', 'jetpack_do_subscription_form' );
+/**
+ * Register the Subscriptions widget.
+ */
function jetpack_blog_subscriptions_init() {
register_widget( get_jetpack_blog_subscriptions_widget_classname() );
}
diff --git a/plugins/jetpack/modules/theme-tools.php b/plugins/jetpack/modules/theme-tools.php
index a0cc3b13..10e8cf55 100644
--- a/plugins/jetpack/modules/theme-tools.php
+++ b/plugins/jetpack/modules/theme-tools.php
@@ -1,10 +1,17 @@
<?php
-/*
+/**
+ * Module: Theme Tools
+ *
* Load code specific to themes or theme tools
* This file is special, and is not an actual `module` as such.
* It is included by ./module-extras.php
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Conditionally require the Tonesque lib depending on theme support.
+ */
function jetpack_load_theme_tools() {
if ( current_theme_supports( 'tonesque' ) ) {
jetpack_require_lib( 'tonesque' );
@@ -55,14 +62,13 @@ function jetpack_load_theme_compat() {
}
add_action( 'after_setup_theme', 'jetpack_load_theme_compat', -1 );
-
/**
* Requires a file once, if the passed key exists in the files array.
*
* @access private
- * @param string $key
- * @param array $files
- * @return void
+ * @param string $key The key to check.
+ * @param array $files Array of files to check in.
+ * @return void|WP_Error
*/
function _jetpack_require_compat_file( $key, $files ) {
if ( ! is_string( $key ) ) {
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentyfifteen.css b/plugins/jetpack/modules/theme-tools/compat/twentyfifteen.css
index cd343681..cc3f5009 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentyfifteen.css
+++ b/plugins/jetpack/modules/theme-tools/compat/twentyfifteen.css
@@ -67,7 +67,7 @@
}
/* Gallery Widget */
-.widget-gallery .slideshow-window {
+.widget-gallery .jetpack-slideshow-window {
border-radius: 0;
}
@@ -225,7 +225,7 @@
}
/* Slideshow */
-.site .slideshow-window {
+.site .jetpack-slideshow-window {
border-radius: 0;
margin-bottom: 1.6em;
}
@@ -408,7 +408,7 @@ iframe[id*="twitter-widget-"] {
.hentry .CSS_Poll,
.site .hentry .presentation-wrapper,
.site .hentry .jetpack-recipe,
- .site .hentry .slideshow-window,
+ .site .hentry .jetpack-slideshow-window,
.site .hentry .video-player {
margin-bottom: 1.6471em;
}
@@ -419,7 +419,7 @@ iframe[id*="twitter-widget-"] {
.widget .CSS_Poll,
.site .widget .presentation-wrapper,
.site .widget .jetpack-recipe,
- .site .widget .slideshow-window,
+ .site .widget .jetpack-slideshow-window,
.site .widget .video-player {
margin-bottom: 1.5em;
}
@@ -511,7 +511,7 @@ iframe[id*="twitter-widget-"] {
.hentry .CSS_Poll,
.site .hentry .presentation-wrapper,
.site .hentry .jetpack-recipe,
- .site .hentry .slideshow-window,
+ .site .hentry .jetpack-slideshow-window,
.site .hentry .video-player {
margin-bottom: 1.6842em;
}
@@ -582,7 +582,7 @@ iframe[id*="twitter-widget-"] {
.hentry .CSS_Poll,
.site .hentry .presentation-wrapper,
.site .hentry .jetpack-recipe,
- .site .hentry .slideshow-window,
+ .site .hentry .jetpack-slideshow-window,
.site .hentry .video-player {
margin-bottom: 1.6em;
}
@@ -656,7 +656,7 @@ iframe[id*="twitter-widget-"] {
.hentry .CSS_Poll,
.site .hentry .presentation-wrapper,
.site .hentry .jetpack-recipe,
- .site .hentry .slideshow-window,
+ .site .hentry .jetpack-slideshow-window,
.site .hentry .video-player {
margin-bottom: 1.6471em;
}
@@ -726,7 +726,7 @@ iframe[id*="twitter-widget-"] {
.hentry .CSS_Poll,
.site .hentry .presentation-wrapper,
.site .hentry .jetpack-recipe,
- .site .hentry .slideshow-window,
+ .site .hentry .jetpack-slideshow-window,
.site .hentry .video-player {
margin-bottom: 1.6842em;
}
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentyfifteen.php b/plugins/jetpack/modules/theme-tools/compat/twentyfifteen.php
index b51149c6..7e70c88b 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentyfifteen.php
+++ b/plugins/jetpack/modules/theme-tools/compat/twentyfifteen.php
@@ -2,8 +2,13 @@
/**
* Jetpack Compatibility File
* See: https://jetpack.com/
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Add Jetpack theme supports for Twenty Fifteen.
+ */
function twentyfifteen_jetpack_setup() {
/**
* Add theme support for Responsive Videos.
@@ -17,6 +22,9 @@ function twentyfifteen_jetpack_setup() {
}
add_action( 'after_setup_theme', 'twentyfifteen_jetpack_setup' );
+/**
+ * Enqueue Jetpack compat styles for Twenty Fifteen.
+ */
function twentyfifteen_init_jetpack() {
/**
* Add our compat CSS file for custom widget stylings and such.
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentyfourteen.css b/plugins/jetpack/modules/theme-tools/compat/twentyfourteen.css
index 903bc3de..b6e21b1d 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentyfourteen.css
+++ b/plugins/jetpack/modules/theme-tools/compat/twentyfourteen.css
@@ -39,7 +39,7 @@
.wp-multiplayer,
.PDS_Poll,
.CSS_Poll,
-.entry-content .slideshow-window {
+.entry-content .jetpack-slideshow-window {
margin-bottom: 24px;
}
@@ -47,7 +47,7 @@
margin-bottom: 0;
}
-.entry-content .slideshow-window {
+.entry-content .jetpack-slideshow-window {
border-radius: 0;
}
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentyfourteen.php b/plugins/jetpack/modules/theme-tools/compat/twentyfourteen.php
index 202dfbf3..3bc907db 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentyfourteen.php
+++ b/plugins/jetpack/modules/theme-tools/compat/twentyfourteen.php
@@ -1,9 +1,15 @@
<?php
+/**
+ * Jetpack Compatibility File
+ * See: https://jetpack.com/
+ *
+ * @package automattic/jetpack
+ */
/**
* A last try to show posts, in case the Featured Content plugin returns no IDs.
*
- * @param array $featured_ids
+ * @param array $featured_ids Array of 'featured' post IDs.
* @return array
*/
function twentyfourteen_featured_content_post_ids( $featured_ids ) {
@@ -29,7 +35,7 @@ add_action( 'customize_register', 'twentyfourteen_customizer_default' );
/**
* Sets a default tag of 'featured' for Featured Content.
*
- * @param array $settings
+ * @param array $settings Featured content settings.
* @return array
*/
function twentyfourteen_featured_content_default_settings( $settings ) {
@@ -56,6 +62,9 @@ function twentyfourteen_mute_content_filters( $show, $post ) {
}
add_filter( 'sharing_show', 'twentyfourteen_mute_content_filters', 10, 2 );
+/**
+ * Enqueue Jetpack compat styles for Twenty Fourteen.
+ */
function twentyfourteen_init_jetpack() {
/**
* Add our compat CSS file for custom widget stylings and such.
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentynineteen-rtl.css b/plugins/jetpack/modules/theme-tools/compat/twentynineteen-rtl.css
index e2065083..d53681fa 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentynineteen-rtl.css
+++ b/plugins/jetpack/modules/theme-tools/compat/twentynineteen-rtl.css
@@ -1 +1 @@
-.infinite-scroll .pagination,.infinite-scroll .posts-navigation,.infinite-scroll.neverending .site-footer{display:none}.infinity-end.neverending .site-footer{display:block}.infinite-loader{margin:calc(3 * 1rem) auto}.infinite-loader .spinner{margin:0 auto;right:inherit!important}.site-main #infinite-handle{margin:calc(2 * 1rem) auto}.site-main #infinite-handle span{background:100% 0;display:block;font-size:.8888888889em;text-align:center}.site-main #infinite-handle span button,.site-main #infinite-handle span button:focus,.site-main #infinite-handle span button:hover{transition:background 150ms ease-in-out;background:#2271b1;border:none;border-radius:5px;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:.8888888889em;font-weight:600;line-height:1.2;outline:0;padding:.66rem 1rem}.site-main #infinite-handle span button:hover{cursor:pointer}.site-main #infinite-handle span button:focus,.site-main #infinite-handle span button:hover{background:#111}.site-main #infinite-handle span button:focus{outline:thin dotted;outline-offset:-4px}.site-main .infinite-wrap .entry:first-of-type{margin-top:calc(6 * 1rem)}.entry .jetpack-video-wrapper{margin-bottom:1.75em}.sd-block{line-height:1}.entry div.sharedaddy h3.sd-title,.entry h3.sd-title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:1.125em;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin-bottom:.5em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.entry div.sharedaddy h3.sd-title:before,.entry h3.sd-title:before{background:#767676;border-top:none;content:"\020";display:block;height:2px;margin:1rem 0;width:1em;min-width:inherit}.sd-social-icon-text .sd-content ul,.sd-social-text .sd-content ul{margin-bottom:-.3125em!important}.sd-social-icon .sd-content ul,.sd-social-official .sd-content ul{margin-bottom:0!important}.entry #sharing_email .sharing_send,.entry .sd-content ul li .option a.share-ustom,.entry .sd-content ul li a.sd-button,.entry .sd-content ul li.advanced a.share-more,.entry .sd-content ul li.preview-item div.option.option-smart-off a,.entry .sd-social-icon .sd-content ul li a.sd-button,.entry .sd-social-icon-text .sd-content ul li a.sd-button,.entry .sd-social-official .sd-content>ul>li .digg_button>a,.entry .sd-social-official .sd-content>ul>li>a.sd-button,.entry .sd-social-text .sd-content ul li a.sd-button{box-shadow:none}.entry #jp-relatedposts{padding-top:0;margin-top:32px;margin-bottom:32px}.entry #jp-relatedposts h3.jp-relatedposts-headline{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:1.125em;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin-bottom:.5em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.entry #jp-relatedposts h3.jp-relatedposts-headline:before{background:#767676;border-top:none;content:"\020";display:block;height:2px;margin:1rem 0;width:1em;min-width:inherit}.entry #jp-relatedposts h3.jp-relatedposts-headline em:before{display:none}.entry #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{opacity:1}.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,.entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:1em;letter-spacing:-.02em;line-height:1.2;margin-bottom:.5em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span a,.entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title a{font-weight:700}.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-excerpt,.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title{margin-top:.5em;margin-bottom:.5em}.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:13px;font-weight:500}.entry #jp-relatedposts .jp-relatedposts-items p,.entry #jp-relatedposts .jp-relatedposts-items-visual .entry h4.jp-relatedposts-post-title{letter-spacing:normal}#wpstats{display:none}.comments-area .comments-title-wrap+.comment-respond .comment-reply-title{display:none}.widget_author_grid ul,.widget_authors ul,.widget_jp_blogs_i_follow ul,.widget_links ul,.widget_rss_links ul{list-style:none;padding-right:0;padding-left:0}.widget_jp_blogs_i_follow li,.widget_links li,.widget_rss_links li{color:#767676;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:calc(22px * 1.125);font-weight:700;line-height:1.2;margin-top:.5rem;margin-bottom:.5rem}.widget.widget_authors ul li>ul{list-style-type:disc;padding-right:4.25rem}.rtl .widget.widget_authors ul li>ul{padding-right:0;padding-left:1rem}.widget_authors>ul>li>a{display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;position:relative}.widget.widget_authors li a strong{line-height:1.2;position:absolute;top:0}.widget.widget_authors .avatar{float:right;margin-left:1em}.widget_authors li>ul{clear:both}.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4{font-size:100%;margin:1rem 0}.widget_goodreads div[class^=gr_custom_container]{border:none}.widget_goodreads div[class^=gr_custom_each_container]{border-bottom:none;margin-bottom:1rem;padding-bottom:0}.widget_goodreads div[class^=gr_custom_author],.widget_goodreads h2[class^=gr_custom_header]{font-size:inherit;line-height:1.15}.widget_eu_cookie_law_widget #eu-cookie-law{border-color:#ccc;color:#767676;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:.68182em;padding:.5rem 1rem}.widget_eu_cookie_law_widget #eu-cookie-law .accept{font-size:1em;padding:10px 12px}.widget_rss li a.rsswidget{display:block;margin:1rem 0 .5rem}.widget_rss .rssSummary{font-family:NonBreakingSpaceOverride,"Hoefler Text","Baskerville Old Face",Garamond,"Times New Roman",serif;font-weight:400;font-size:22px}.widget_rss .rss-date,.widget_rss cite{color:#9c9c9c;display:block;font-size:.71111em;font-weight:500;margin:.5rem 0}.widget_rss cite{font-style:normal}.widget_rss cite:before{content:"\2014\00a0"}.widget_top-posts .widgets-list-layout-links{float:inherit;margin-right:calc(40px + 1rem);width:inherit}@media only screen and (min-width:600px){.widget.widget_search .search-field{max-width:calc(50vw - 20%)}}.twentynineteen-customizer .entry .entry-footer>span,.twentynineteen-customizer .entry .entry-meta>span{display:inline} \ No newline at end of file
+@charset "UTF-8";.infinite-scroll .pagination,.infinite-scroll .posts-navigation,.infinite-scroll.neverending .site-footer{display:none}.infinity-end.neverending .site-footer{display:block}.infinite-loader{margin:3rem auto}.infinite-loader .spinner{margin:0 auto;right:inherit!important}.site-main #infinite-handle{margin:2rem auto}.site-main #infinite-handle span{background:transparent;display:block;font-size:.8888888889em;text-align:center}.site-main #infinite-handle span button,.site-main #infinite-handle span button:focus,.site-main #infinite-handle span button:hover{background:#2271b1;border:none;border-radius:5px;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:.8888888889em;font-weight:600;line-height:1.2;outline:none;padding:.66rem 1rem;transition:background .15s ease-in-out}.site-main #infinite-handle span button:hover{cursor:pointer}.site-main #infinite-handle span button:focus,.site-main #infinite-handle span button:hover{background:#111}.site-main #infinite-handle span button:focus{outline:thin dotted;outline-offset:-4px}.site-main .infinite-wrap .entry:first-of-type{margin-top:6rem}.entry .jetpack-video-wrapper{margin-bottom:1.75em}.sd-block{line-height:1}.entry div.sharedaddy h3.sd-title,.entry h3.sd-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:1.125em;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin-bottom:.5em}.entry div.sharedaddy h3.sd-title:before,.entry h3.sd-title:before{background:#767676;border-top:none;content:" ";display:block;height:2px;margin:1rem 0;min-width:inherit;width:1em}.sd-social-icon-text .sd-content ul,.sd-social-text .sd-content ul{margin-bottom:-.3125em!important}.sd-social-icon .sd-content ul,.sd-social-official .sd-content ul{margin-bottom:0!important}.entry #sharing_email .sharing_send,.entry .sd-content ul li .option a.share-ustom,.entry .sd-content ul li a.sd-button,.entry .sd-content ul li.advanced a.share-more,.entry .sd-content ul li.preview-item div.option.option-smart-off a,.entry .sd-social-icon .sd-content ul li a.sd-button,.entry .sd-social-icon-text .sd-content ul li a.sd-button,.entry .sd-social-official .sd-content>ul>li .digg_button>a,.entry .sd-social-official .sd-content>ul>li>a.sd-button,.entry .sd-social-text .sd-content ul li a.sd-button{box-shadow:none}.entry #jp-relatedposts{margin-bottom:32px;margin-top:32px;padding-top:0}.entry #jp-relatedposts h3.jp-relatedposts-headline{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:1.125em;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin-bottom:.5em}.entry #jp-relatedposts h3.jp-relatedposts-headline:before{background:#767676;border-top:none;content:" ";display:block;height:2px;margin:1rem 0;min-width:inherit;width:1em}.entry #jp-relatedposts h3.jp-relatedposts-headline em:before{display:none}.entry #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{opacity:1}.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,.entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:1em;letter-spacing:-.02em;line-height:1.2;margin-bottom:.5em}.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span a,.entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title a{font-weight:700}.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-excerpt,.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title{margin-bottom:.5em;margin-top:.5em}.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:13px;font-weight:500}.entry #jp-relatedposts .jp-relatedposts-items p,.entry #jp-relatedposts .jp-relatedposts-items-visual .entry h4.jp-relatedposts-post-title{letter-spacing:normal}#wpstats,.comments-area .comments-title-wrap+.comment-respond .comment-reply-title{display:none}.widget_author_grid ul,.widget_authors ul,.widget_jp_blogs_i_follow ul,.widget_links ul,.widget_rss_links ul{list-style:none;padding-left:0;padding-right:0}.widget_jp_blogs_i_follow li,.widget_links li,.widget_rss_links li{color:#767676;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:24.75px;font-weight:700;line-height:1.2;margin-bottom:.5rem;margin-top:.5rem}.widget.widget_authors ul li>ul{list-style-type:disc;padding-right:4.25rem}.rtl .widget.widget_authors ul li>ul{padding-left:1rem;padding-right:0}.widget_authors>ul>li>a{display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;position:relative}.widget.widget_authors li a strong{line-height:1.2;position:absolute;top:0}.widget.widget_authors .avatar{float:right;margin-left:1em}.widget_authors li>ul{clear:both}.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4{font-size:100%;margin:1rem 0}.widget_goodreads div[class^=gr_custom_container]{border:none}.widget_goodreads div[class^=gr_custom_each_container]{border-bottom:none;margin-bottom:1rem;padding-bottom:0}.widget_goodreads div[class^=gr_custom_author],.widget_goodreads h2[class^=gr_custom_header]{font-size:inherit;line-height:1.15}.widget_eu_cookie_law_widget #eu-cookie-law{border-color:#ccc;color:#767676;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:.68182em;padding:.5rem 1rem}.widget_eu_cookie_law_widget #eu-cookie-law .accept{font-size:1em;padding:10px 12px}.widget_rss li a.rsswidget{display:block;margin:1rem 0 .5rem}.widget_rss .rssSummary{font-family:NonBreakingSpaceOverride,Hoefler Text,Baskerville Old Face,Garamond,Times New Roman,serif;font-size:22px;font-weight:400}.widget_rss .rss-date,.widget_rss cite{color:#9c9c9c;display:block;font-size:.71111em;font-weight:500;margin:.5rem 0}.widget_rss cite{font-style:normal}.widget_rss cite:before{content:"— "}.widget_top-posts .widgets-list-layout-links{float:inherit;margin-right:calc(40px + 1rem);width:inherit}@media only screen and (min-width:600px){.widget.widget_search .search-field{max-width:calc(50vw - 20%)}}.twentynineteen-customizer .entry .entry-footer>span,.twentynineteen-customizer .entry .entry-meta>span{display:inline} \ No newline at end of file
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentynineteen.php b/plugins/jetpack/modules/theme-tools/compat/twentynineteen.php
index 23692325..c7afd055 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentynineteen.php
+++ b/plugins/jetpack/modules/theme-tools/compat/twentynineteen.php
@@ -2,21 +2,29 @@
/**
* Jetpack Compatibility File
* See: https://jetpack.com/
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Add Jetpack theme supports for Twenty Nineteen.
+ */
function twentynineteen_jetpack_setup() {
/**
- * Add theme support for Infinite Scroll.
+ * Add theme support for Infinite Scroll.
*/
- add_theme_support( 'infinite-scroll', array(
- 'type' => 'click',
- 'container' => 'main',
- 'render' => 'twentynineteen_infinite_scroll_render',
- 'footer' => 'page',
- ) );
-
- /**
+ add_theme_support(
+ 'infinite-scroll',
+ array(
+ 'type' => 'click',
+ 'container' => 'main',
+ 'render' => 'twentynineteen_infinite_scroll_render',
+ 'footer' => 'page',
+ )
+ );
+
+ /**
* Add theme support for Responsive Videos.
*/
add_theme_support( 'jetpack-responsive-videos' );
@@ -29,22 +37,25 @@ function twentynineteen_jetpack_setup() {
/**
* Add theme support for Content Options.
*/
- add_theme_support( 'jetpack-content-options', array(
- 'blog-display' => array( 'content', 'excerpt' ),
- 'post-details' => array(
- 'stylesheet' => 'twentynineteen-style',
- 'date' => '.posted-on',
- 'categories' => '.cat-links',
- 'tags' => '.tags-links',
- 'author' => '.byline',
- 'comment' => '.comments-link',
- ),
- 'featured-images' => array(
- 'archive' => true,
- 'post' => true,
- 'page' => true,
- ),
- ) );
+ add_theme_support(
+ 'jetpack-content-options',
+ array(
+ 'blog-display' => array( 'content', 'excerpt' ),
+ 'post-details' => array(
+ 'stylesheet' => 'twentynineteen-style',
+ 'date' => '.posted-on',
+ 'categories' => '.cat-links',
+ 'tags' => '.tags-links',
+ 'author' => '.byline',
+ 'comment' => '.comments-link',
+ ),
+ 'featured-images' => array(
+ 'archive' => true,
+ 'post' => true,
+ 'page' => true,
+ ),
+ )
+ );
}
add_action( 'after_setup_theme', 'twentynineteen_jetpack_setup' );
@@ -58,6 +69,9 @@ function twentynineteen_infinite_scroll_render() {
}
}
+/**
+ * Enqueue Jetpack compat styles for Twenty Nineteen.
+ */
function twentynineteen_init_jetpack() {
/**
* Add our compat CSS file for Infinite Scroll and custom widget stylings and such.
@@ -78,7 +92,7 @@ add_action( 'init', 'twentynineteen_init_jetpack' );
/**
* Alter gallery widget default width.
*/
-function twentynineteen_gallery_widget_content_width( $width ) {
+function twentynineteen_gallery_widget_content_width() {
return 390;
}
add_filter( 'gallery_widget_content_width', 'twentynineteen_gallery_widget_content_width' );
@@ -86,7 +100,7 @@ add_filter( 'gallery_widget_content_width', 'twentynineteen_gallery_widget_conte
/**
* Alter featured-image default visibility for content-options.
*/
-function twentynineteen_override_post_thumbnail( $width ) {
+function twentynineteen_override_post_thumbnail() {
$options = get_theme_support( 'jetpack-content-options' );
$featured_images = ( ! empty( $options[0]['featured-images'] ) ) ? $options[0]['featured-images'] : null;
@@ -95,10 +109,13 @@ function twentynineteen_override_post_thumbnail( $width ) {
'page-default' => ( isset( $featured_images['page-default'] ) && false === $featured_images['page-default'] ) ? '' : 1,
);
- $settings = array_merge( $settings, array(
- 'post-option' => get_option( 'jetpack_content_featured_images_post', $settings['post-default'] ),
- 'page-option' => get_option( 'jetpack_content_featured_images_page', $settings['page-default'] ),
- ) );
+ $settings = array_merge(
+ $settings,
+ array(
+ 'post-option' => get_option( 'jetpack_content_featured_images_post', $settings['post-default'] ),
+ 'page-option' => get_option( 'jetpack_content_featured_images_page', $settings['page-default'] ),
+ )
+ );
if ( ( ! $settings['post-option'] && is_single() )
|| ( ! $settings['page-option'] && is_singular() && is_page() ) ) {
@@ -116,7 +133,7 @@ add_filter( 'twentynineteen_can_show_post_thumbnail', 'twentynineteen_override_p
* @return array
*/
function twentynineteen_jetpack_body_classes( $classes ) {
- // Adds a class if we're in the Customizer
+ // Adds a class if we're in the Customizer.
if ( is_customize_preview() ) :
$classes[] = 'twentynineteen-customizer';
endif;
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentyseventeen.php b/plugins/jetpack/modules/theme-tools/compat/twentyseventeen.php
index 284b54a4..6d5f6853 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentyseventeen.php
+++ b/plugins/jetpack/modules/theme-tools/compat/twentyseventeen.php
@@ -2,8 +2,13 @@
/**
* Jetpack Compatibility File
* See: https://jetpack.com/
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Add Jetpack theme supports for Twenty Seventeen.
+ */
function twentyseventeen_jetpack_setup() {
/**
* Add theme support for geo-location.
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentysixteen.css b/plugins/jetpack/modules/theme-tools/compat/twentysixteen.css
index acc056cf..58df562e 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentysixteen.css
+++ b/plugins/jetpack/modules/theme-tools/compat/twentysixteen.css
@@ -65,7 +65,7 @@
}
/* Gallery Widget */
-.widget-gallery .slideshow-window {
+.widget-gallery .jetpack-slideshow-window {
border-radius: 0;
}
@@ -446,7 +446,7 @@ iframe[src^="http://api.mixcloud.com/"] {
}
/* Slideshow */
-.entry-content .slideshow-window {
+.entry-content .jetpack-slideshow-window {
border-radius: 0;
margin-bottom: 1.75em;
}
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentysixteen.php b/plugins/jetpack/modules/theme-tools/compat/twentysixteen.php
index 439a3e95..2d841e86 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentysixteen.php
+++ b/plugins/jetpack/modules/theme-tools/compat/twentysixteen.php
@@ -2,8 +2,13 @@
/**
* Jetpack Compatibility File
* See: https://jetpack.com/
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Add Jetpack theme supports for Twenty Sixteen.
+ */
function twentysixteen_jetpack_setup() {
/**
* Add theme support for Responsive Videos.
@@ -17,6 +22,9 @@ function twentysixteen_jetpack_setup() {
}
add_action( 'after_setup_theme', 'twentysixteen_jetpack_setup' );
+/**
+ * Enqueue Jetpack compat styles for Twenty Sixteen.
+ */
function twentysixteen_init_jetpack() {
/**
* Add our compat CSS file for custom widget stylings and such.
@@ -37,7 +45,7 @@ add_action( 'init', 'twentysixteen_init_jetpack' );
/**
* Alter gallery widget default width.
*/
-function twentysixteen_gallery_widget_content_width( $width ) {
+function twentysixteen_gallery_widget_content_width() {
return 390;
}
add_filter( 'gallery_widget_content_width', 'twentysixteen_gallery_widget_content_width' );
@@ -55,6 +63,9 @@ function twentysixteen_remove_share() {
}
add_action( 'loop_start', 'twentysixteen_remove_share' );
+/**
+ * Add inline script for lazy load compat in Twenty Sixteen.
+ */
function twentysixteen_jetpack_lazy_images_compat() {
// Since TwentySixteen outdents when window is resized, let's trigger a window resize
// every time we lazy load an image on the TwentySixteen theme.
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentytwenty-rtl.css b/plugins/jetpack/modules/theme-tools/compat/twentytwenty-rtl.css
index b8d95c0d..0e9f51e9 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentytwenty-rtl.css
+++ b/plugins/jetpack/modules/theme-tools/compat/twentytwenty-rtl.css
@@ -1 +1 @@
-#infinite-footer{z-index:1}.infinite-scroll .pagination-wrapper,.infinite-scroll.neverending #site-footer,.infinite-scroll.neverending .footer-nav-widgets-wrapper{display:none}.infinite-end.neverending .footer-nav-widgets-wrapper,.infinity-end.neverending #site-footer{display:block}.infinity-end.neverending #site-footer{margin:8rem 0 0}.infinite-loader{margin:5rem auto}.infinite-loader .spinner{margin:0 auto;right:inherit!important}#site-content #infinite-handle{margin:5rem auto;max-width:58rem;width:calc(100% - 8rem)}#site-content #infinite-handle span{background:100% 0;display:block;font-size:1.7rem;text-align:center}#site-content #infinite-handle span button,#site-content #infinite-handle span button:focus,#site-content #infinite-handle span button:hover{-webkit-appearance:none;-moz-appearance:none;border:none;background:#cd2653;border-radius:0;color:#fff;cursor:pointer;display:inline-block;font-size:1.5rem;font-weight:600;letter-spacing:.0333em;line-height:1.25;margin:0;opacity:1;padding:1.1em 1.44em;text-align:center;text-decoration:none;text-transform:uppercase;transition:opacity .15s linear}#site-content #infinite-handle span button:hover{text-decoration:underline}#site-content .infinite-wrap .hentry:first-of-type{padding:4rem 0 0}.entry-content #jp-relatedposts h3.jp-relatedposts-headline,.entry-content div.sharedaddy h3.sd-title,.entry-content h3.sd-title{font-size:2.8rem;font-weight:700;letter-spacing:-.016875em;line-height:1.5}@media (min-width:700px){.entry-content #jp-relatedposts h3.jp-relatedposts-headline,.entry-content div.sharedaddy h3.sd-title,.entry-content h3.sd-title{font-size:4rem}}.entry-content div.sharedaddy h3.sd-title:before,.entry-content h3.sd-title:before{border:0 none}.entry-content #jp-relatedposts h3.jp-relatedposts-headline em:before{border:0 none}.widget_authors ul{list-style:none;margin-right:0}.widget_authors li{margin-top:1rem;list-style:none}.widget_authors li:first-child{margin-top:2rem}.widget_flickr .flickr-size-thumbnail .flickr-images{justify-content:left}.widget_eu_cookie_law_widget #eu-cookie-law,.widget_eu_cookie_law_widget #eu-cookie-law .accept{font-size:1.6rem;font-weight:500;padding:2rem}.widget_eu_cookie_law_widget #eu-cookie-law .accept{font-size:1.4rem;font-weight:600;letter-spacing:.0333em;line-height:1.25;padding:1.1em 1.44em;text-decoration:none;text-transform:uppercase;transition:opacity .15s linear}@media (max-width:600px){.widget_eu_cookie_law_widget #eu-cookie-law{font-size:1.4rem;padding:1.5rem 1.5rem 6.5rem}.widget_eu_cookie_law_widget #eu-cookie-law .accept{font-size:1.2rem;bottom:1.5rem;left:auto;right:1.5rem;padding:1rem;margin:0}}.jetpack_subscription_widget .widget-title label{font-size:2.8rem;font-weight:700;margin:0}@media (min-width:700px){.jetpack_subscription_widget .widget-title label{font-size:4rem}}.widget_blog_subscription form p:not(#subscribe-email) input[type=text]{padding:1.5rem 1.8rem!important;width:100%!important}.entry-content #jp-relatedposts{max-width:120rem;margin:1em auto;width:calc(100% - 4rem)}@media (min-width:700px){.entry-content #jp-relatedposts{width:calc(100% - 8rem)}}#jp-relatedposts .jp-relatedposts-grid{display:flex;flex-grow:1;flex-basis:0;justify-content:space-between;box-sizing:border-box}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,#jp-relatedposts .jp-relatedposts-post{width:calc(33% - 2rem);margin-right:0;margin-left:0}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-grid{flex-direction:column}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,#jp-relatedposts .jp-relatedposts-post{width:100%}}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{padding-left:0}#jp-relatedposts#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:inherit;line-height:1.5}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img{width:100%}.entry-content .tiled-gallery{margin:0 auto 1.5em}.entry-content .jetpack-recipe{margin:1em auto}.entry-content .fb-video{display:block}.jp-related-posts-i2__post li{margin:0}.wp-block-jetpack-gif{margin:1em auto!important}.entry-content img.latex{display:inline}iframe#wpnt-notes-iframe2.wide{width:auto!important}.admin-bar{position:unset!important}.screen-reader-text{position:absolute} \ No newline at end of file
+#infinite-footer{z-index:1}.infinite-scroll .pagination-wrapper,.infinite-scroll.neverending #site-footer,.infinite-scroll.neverending .footer-nav-widgets-wrapper{display:none}.infinite-end.neverending .footer-nav-widgets-wrapper,.infinity-end.neverending #site-footer{display:block}.infinity-end.neverending #site-footer{margin:8rem 0 0}.infinite-loader{margin:5rem auto}.infinite-loader .spinner{margin:0 auto;right:inherit!important}#site-content #infinite-handle{margin:5rem auto;max-width:58rem;width:calc(100% - 8rem)}#site-content #infinite-handle span{background:transparent;display:block;font-size:1.7rem;text-align:center}#site-content #infinite-handle span button,#site-content #infinite-handle span button:focus,#site-content #infinite-handle span button:hover{-webkit-appearance:none;-moz-appearance:none;background:#cd2653;border:none;border-radius:0;color:#fff;cursor:pointer;display:inline-block;font-size:1.5rem;font-weight:600;letter-spacing:.0333em;line-height:1.25;margin:0;opacity:1;padding:1.1em 1.44em;text-align:center;text-decoration:none;text-transform:uppercase;transition:opacity .15s linear}#site-content #infinite-handle span button:hover{text-decoration:underline}#site-content .infinite-wrap .hentry:first-of-type{padding:4rem 0 0}.entry-content #jp-relatedposts h3.jp-relatedposts-headline,.entry-content div.sharedaddy h3.sd-title,.entry-content h3.sd-title{font-size:2.8rem;font-weight:700;letter-spacing:-.016875em;line-height:1.5}@media (min-width:700px){.entry-content #jp-relatedposts h3.jp-relatedposts-headline,.entry-content div.sharedaddy h3.sd-title,.entry-content h3.sd-title{font-size:4rem}}.entry-content #jp-relatedposts h3.jp-relatedposts-headline em:before,.entry-content div.sharedaddy h3.sd-title:before,.entry-content h3.sd-title:before{border:0}.widget_authors ul{list-style:none;margin-right:0}.widget_authors li{list-style:none;margin-top:1rem}.widget_authors li:first-child{margin-top:2rem}.widget_flickr .flickr-size-thumbnail .flickr-images{justify-content:left}.widget_eu_cookie_law_widget #eu-cookie-law,.widget_eu_cookie_law_widget #eu-cookie-law .accept{font-size:1.6rem;font-weight:500;padding:2rem}.widget_eu_cookie_law_widget #eu-cookie-law .accept{font-size:1.4rem;font-weight:600;letter-spacing:.0333em;line-height:1.25;padding:1.1em 1.44em;text-decoration:none;text-transform:uppercase;transition:opacity .15s linear}@media (max-width:600px){.widget_eu_cookie_law_widget #eu-cookie-law{font-size:1.4rem;padding:1.5rem 1.5rem 6.5rem}.widget_eu_cookie_law_widget #eu-cookie-law .accept{bottom:1.5rem;font-size:1.2rem;left:auto;margin:0;padding:1rem;right:1.5rem}}.jetpack_subscription_widget .widget-title label{font-size:2.8rem;font-weight:700;margin:0}@media (min-width:700px){.jetpack_subscription_widget .widget-title label{font-size:4rem}}.widget_blog_subscription form p:not(#subscribe-email) input[type=text]{padding:1.5rem 1.8rem!important;width:100%!important}.entry-content #jp-relatedposts{margin:1em auto;max-width:120rem;width:calc(100% - 4rem)}@media (min-width:700px){.entry-content #jp-relatedposts{width:calc(100% - 8rem)}}#jp-relatedposts .jp-relatedposts-grid{box-sizing:border-box;display:flex;flex-basis:0;flex-grow:1;justify-content:space-between}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,#jp-relatedposts .jp-relatedposts-post{margin-left:0;margin-right:0;width:calc(33% - 2rem)}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-grid{flex-direction:column}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,#jp-relatedposts .jp-relatedposts-post{width:100%}}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{padding-left:0}#jp-relatedposts#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:inherit;line-height:1.5}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img{width:100%}.entry-content .tiled-gallery{margin:0 auto 1.5em}.entry-content .jetpack-recipe{margin:1em auto}.entry-content .fb-video{display:block}.jp-related-posts-i2__post li{margin:0}.wp-block-jetpack-gif{margin:1em auto!important}.entry-content img.latex{display:inline}iframe#wpnt-notes-iframe2.wide{width:auto!important}.admin-bar{position:unset!important}.screen-reader-text{position:absolute} \ No newline at end of file
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentytwenty.css b/plugins/jetpack/modules/theme-tools/compat/twentytwenty.css
index 9d88c7fe..674f63af 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentytwenty.css
+++ b/plugins/jetpack/modules/theme-tools/compat/twentytwenty.css
@@ -273,7 +273,7 @@
/* GIF Block */
.wp-block-jetpack-gif {
- /* !important because the gif block styles are loaded in the footer after this file */
+ /* Uses !important because the gif block styles are loaded in the footer after this file */
margin: 1em auto !important;
}
diff --git a/plugins/jetpack/modules/theme-tools/compat/twentytwentyone-rtl.css b/plugins/jetpack/modules/theme-tools/compat/twentytwentyone-rtl.css
index e130386d..2109929f 100644
--- a/plugins/jetpack/modules/theme-tools/compat/twentytwentyone-rtl.css
+++ b/plugins/jetpack/modules/theme-tools/compat/twentytwentyone-rtl.css
@@ -1 +1 @@
-.entry-content #jp-relatedposts{max-width:var(--responsive--aligndefault-width);margin-right:auto;margin-left:auto}.infinite-scroll .pagination,.infinite-scroll.neverending .widget-area,.infinite-scroll.neverending footer#colophon{display:none}.infinity-end.neverending .widget-area,.infinity-end.neverending footer#colophon{display:block}body[class*=" infinity-"] main#main>article:last-of-type .entry-footer{border-bottom:var(--separator--height) solid var(--separator--border-color)}body.infinity-end .site-main>div:last-of-type>article:last-of-type .entry-footer,body:not(.infinity-end) .site-main>div:nth-last-child(2)>article:last-of-type .entry-footer{border:none}.site-main>.infinite-wrap>article>.entry-footer{margin-top:var(--global--spacing-vertical);padding-top:var(--global--spacing-unit);padding-bottom:calc(3 * var(--global--spacing-vertical));border-bottom:var(--separator--height) solid var(--separator--border-color)}.site-main>.infinite-wrap>*{margin-top:calc(3 * var(--global--spacing-vertical));margin-bottom:calc(3 * var(--global--spacing-vertical))}#infinite-handle{text-align:center}.infinite-loader{margin:calc(3 * 1rem) auto}#infinite-handle span{color:var(--global--color-background);background-color:var(--global--color-secondary);font-family:var(--global--font-primary);font-size:var(--global--font-size-base);font-weight:500;line-height:1.5;border-width:3px;border-radius:0;padding:15px calc(2 * var(--button--padding-vertical));max-width:170px;margin:auto}#infinite-handle span:hover{color:var(--global--color-secondary);background-color:var(--global--color-background);border-color:var(--global--color-secondary);border-style:solid}#infinite-handle span:active{color:var(--global--color-secondary);background-color:var(--global--color-background);border-color:var(--global--color-secondary)}.widget-area .widget_block{min-width:0}@media only screen and (min-width:1024px){.widget-area{grid-template-columns:repeat(3,minmax(0,1fr))}} \ No newline at end of file
+.entry-content #jp-relatedposts{margin-left:auto;margin-right:auto;max-width:var(--responsive--aligndefault-width)}.infinite-scroll .pagination,.infinite-scroll.neverending .widget-area,.infinite-scroll.neverending footer#colophon{display:none}.infinity-end.neverending .widget-area,.infinity-end.neverending footer#colophon{display:block}body[class*=" infinity-"] main#main>article:last-of-type .entry-footer{border-bottom:var(--separator--height) solid var(--separator--border-color)}body.infinity-end .site-main>div:last-of-type>article:last-of-type .entry-footer,body:not(.infinity-end) .site-main>div:nth-last-child(2)>article:last-of-type .entry-footer{border:none}.site-main>.infinite-wrap>article>.entry-footer{border-bottom:var(--separator--height) solid var(--separator--border-color);margin-top:var(--global--spacing-vertical);padding-bottom:calc(var(--global--spacing-vertical)*3);padding-top:var(--global--spacing-unit)}.site-main>.infinite-wrap>*{margin-bottom:calc(var(--global--spacing-vertical)*3);margin-top:calc(var(--global--spacing-vertical)*3)}#infinite-handle{text-align:center}.infinite-loader{margin:3rem auto}#infinite-handle span{background-color:var(--global--color-secondary);border-radius:0;border-width:3px;color:var(--global--color-background);font-family:var(--global--font-primary);font-size:var(--global--font-size-base);font-weight:500;line-height:1.5;margin:auto;max-width:170px;padding:15px calc(var(--button--padding-vertical)*2)}#infinite-handle span:hover{border-style:solid}#infinite-handle span:active,#infinite-handle span:hover{background-color:var(--global--color-background);border-color:var(--global--color-secondary);color:var(--global--color-secondary)}.widget-area .widget_block{min-width:0}@media only screen and (min-width:1024px){.widget-area{grid-template-columns:repeat(3,minmax(0,1fr))}} \ No newline at end of file
diff --git a/plugins/jetpack/modules/theme-tools/content-options.php b/plugins/jetpack/modules/theme-tools/content-options.php
index 118e31db..888d34ad 100644
--- a/plugins/jetpack/modules/theme-tools/content-options.php
+++ b/plugins/jetpack/modules/theme-tools/content-options.php
@@ -1,5 +1,12 @@
<?php
/**
+ * Jetpack Compatibility File
+ * See: https://jetpack.com/
+ *
+ * @package automattic/jetpack
+ */
+
+/**
* Content Options.
*
* This feature will only be activated for themes that declare their support.
@@ -46,29 +53,32 @@ function jetpack_content_options_init() {
}
// Load the Customizer options.
- require dirname( __FILE__ ) . '/content-options/customizer.php';
+ require __DIR__ . '/content-options/customizer.php';
// Load Blog Display function.
- require dirname( __FILE__ ) . '/content-options/blog-display.php';
+ require __DIR__ . '/content-options/blog-display.php';
// Load Author Bio function.
- require dirname( __FILE__ ) . '/content-options/author-bio.php';
+ require __DIR__ . '/content-options/author-bio.php';
// Load Post Details function.
- require dirname( __FILE__ ) . '/content-options/post-details.php';
+ require __DIR__ . '/content-options/post-details.php';
// Load Featured Images function.
if ( jetpack_featured_images_should_load() ) {
- require dirname( __FILE__ ) . '/content-options/featured-images.php';
+ require __DIR__ . '/content-options/featured-images.php';
}
// Load Featured Images Fallback function.
if ( jetpack_featured_images_fallback_should_load() ) {
- require dirname( __FILE__ ) . '/content-options/featured-images-fallback.php';
+ 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' );
@@ -101,6 +111,9 @@ function jetpack_featured_images_get_settings() {
return $settings;
}
+/**
+ * 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' ) ) {
@@ -120,6 +133,9 @@ function jetpack_featured_images_should_load() {
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' ) ) {
diff --git a/plugins/jetpack/modules/theme-tools/content-options/author-bio.php b/plugins/jetpack/modules/theme-tools/content-options/author-bio.php
index 89d4603c..956cba46 100644
--- a/plugins/jetpack/modules/theme-tools/content-options/author-bio.php
+++ b/plugins/jetpack/modules/theme-tools/content-options/author-bio.php
@@ -1,5 +1,11 @@
<?php
/**
+ * Theme Tools: Author Bio functions.
+ *
+ * @package automattic/jetpack
+ */
+
+/**
* The function to display Author Bio in a theme.
*/
function jetpack_author_bio() {
@@ -46,13 +52,21 @@ function jetpack_author_bio() {
</div><!-- .author-avatar -->
<div class="author-heading">
- <h2 class="author-title"><?php printf( esc_html__( 'Published by %s', 'jetpack' ), '<span class="author-name">' . get_the_author() . '</span>' ); ?></h2>
+ <h2 class="author-title">
+ <?php
+ /* translators: %s: post author */
+ printf( esc_html__( 'Published by %s', 'jetpack' ), '<span class="author-name">' . get_the_author() . '</span>' );
+ ?>
+ </h2>
</div><!-- .author-heading -->
<p class="author-bio">
<?php the_author_meta( 'description' ); ?>
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
- <?php printf( esc_html__( 'View all posts by %s', 'jetpack' ), get_the_author() ); ?>
+ <?php
+ /* translators: %s: post author */
+ printf( esc_html__( 'View all posts by %s', 'jetpack' ), get_the_author() );
+ ?>
</a>
</p><!-- .author-bio -->
</div><!-- .entry-auhtor -->
diff --git a/plugins/jetpack/modules/theme-tools/content-options/blog-display.php b/plugins/jetpack/modules/theme-tools/content-options/blog-display.php
index 66273b12..6b9ff3fe 100644
--- a/plugins/jetpack/modules/theme-tools/content-options/blog-display.php
+++ b/plugins/jetpack/modules/theme-tools/content-options/blog-display.php
@@ -1,6 +1,8 @@
<?php
/**
- * The functions to display Content or Excerpt in a theme.
+ * Theme Tools: the functions to display Content or Excerpt in a theme.
+ *
+ * @package automattic/jetpack
*/
/**
@@ -24,7 +26,7 @@ $blog_display = ( 'content, excerpt' === $blog_display ) ? 'mixed' : $blog_displ
/**
* If the theme doesn't support 'jetpack-content-options[ 'blog-display' ]', don't continue.
*/
-if ( ! in_array( $blog_display, array( 'content', 'excerpt', 'mixed' ) ) ) {
+if ( ! in_array( $blog_display, array( 'content', 'excerpt', 'mixed' ), true ) ) {
return;
}
@@ -52,11 +54,11 @@ function jetpack_blog_display_custom_excerpt( $content = '' ) {
if ( empty( $post->post_excerpt ) ) {
$text = strip_shortcodes( $post->post_content );
$text = str_replace( ']]>', ']]&gt;', $text );
- $text = strip_tags( $text );
+ $text = wp_strip_all_tags( $text );
/** This filter is documented in wp-includes/formatting.php */
$excerpt_length = apply_filters( 'excerpt_length', 55 );
/** This filter is documented in wp-includes/formatting.php */
- $excerpt_more = apply_filters( 'excerpt_more', ' ' . '[...]' );
+ $excerpt_more = apply_filters( 'excerpt_more', ' [...]' );
/*
* translators: If your word count is based on single characters (e.g. East Asian characters),
@@ -88,6 +90,8 @@ function jetpack_blog_display_custom_excerpt( $content = '' ) {
/**
* Display Excerpt instead of Content.
+ *
+ * @param string $content Post content.
*/
function jetpack_the_content_to_the_excerpt( $content ) {
if ( ( is_home() || is_archive() ) && ! is_post_type_archive( array( 'jetpack-testimonial', 'jetpack-portfolio', 'product' ) ) ) {
@@ -106,6 +110,8 @@ function jetpack_the_content_to_the_excerpt( $content ) {
/**
* Display Content instead of Excerpt.
+ *
+ * @param string $content The post excerpt.
*/
function jetpack_the_excerpt_to_the_content( $content ) {
if ( ( is_home() || is_archive() ) && ! is_post_type_archive( array( 'jetpack-testimonial', 'jetpack-portfolio', 'product' ) ) ) {
@@ -131,6 +137,8 @@ function jetpack_the_excerpt_to_the_content( $content ) {
/**
* Display both Content and Excerpt instead of Content in the Customizer so live preview can switch between them.
+ *
+ * @param string $content The post content.
*/
function jetpack_the_content_customizer( $content ) {
$class = jetpack_the_content_customizer_class();
@@ -150,6 +158,8 @@ function jetpack_the_content_customizer( $content ) {
/**
* Display both Content and Excerpt instead of Excerpt in the Customizer so live preview can switch between them.
+ *
+ * @param string $excerpt The post excerpt.
*/
function jetpack_the_excerpt_customizer( $excerpt ) {
if ( ( is_home() || is_archive() ) && ! is_post_type_archive( array( 'jetpack-testimonial', 'jetpack-portfolio', 'product' ) ) ) {
@@ -179,6 +189,8 @@ function jetpack_the_excerpt_customizer( $excerpt ) {
/**
* Display Content instead of Excerpt in the Customizer when theme uses a 'Mixed' display.
+ *
+ * @param string $content The post excerpt.
*/
function jetpack_the_excerpt_mixed_customizer( $content ) {
if ( ( is_home() || is_archive() ) && ! is_post_type_archive( array( 'jetpack-testimonial', 'jetpack-portfolio', 'product' ) ) ) {
@@ -193,6 +205,8 @@ function jetpack_the_excerpt_mixed_customizer( $content ) {
/**
* Returns a class value, `output-the-content` by default.
* Used for themes with a 'Mixed' Blog Display so we can tell which output is by default.
+ *
+ * @param string|null $new_class CSS class added to content container.
*/
function jetpack_the_content_customizer_class( $new_class = null ) {
static $class;
diff --git a/plugins/jetpack/modules/theme-tools/content-options/customizer.php b/plugins/jetpack/modules/theme-tools/content-options/customizer.php
index 844e5074..38ae4a08 100644
--- a/plugins/jetpack/modules/theme-tools/content-options/customizer.php
+++ b/plugins/jetpack/modules/theme-tools/content-options/customizer.php
@@ -1,4 +1,10 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Theme Tools: functions for Customizer enhancements.
+ *
+ * @package automattic/jetpack
+ */
+
/**
* Add Content section to the Theme Customizer.
*
@@ -32,7 +38,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
$fi_fallback_default = ( isset( $featured_images['fallback-default'] ) && false === $featured_images['fallback-default'] ) ? '' : 1;
// If the theme doesn't support 'jetpack-content-options[ 'blog-display' ]', 'jetpack-content-options[ 'author-bio' ]', 'jetpack-content-options[ 'post-details' ]' and 'jetpack-content-options[ 'featured-images' ]', don't continue.
- if ( ( ! in_array( $blog_display, array( 'content', 'excerpt', 'mixed' ) ) )
+ if ( ( ! in_array( $blog_display, array( 'content', 'excerpt', 'mixed' ), true ) )
&& ( true !== $author_bio )
&& ( ( empty( $post_details['stylesheet'] ) )
&& ( empty( $date )
@@ -44,11 +50,21 @@ function jetpack_content_options_customize_register( $wp_customize ) {
return;
}
- // New control type: Title.
+ /**
+ * New Customizer control type: Title.
+ */
class Jetpack_Customize_Control_Title extends WP_Customize_Control {
+ /**
+ * Customizer control type.
+ *
+ * @var string
+ */
public $type = 'title';
- public function render_content() {
+ /**
+ * Render the control's content.
+ */
+ public function render_content() { // phpcs:ignore MediaWiki.Usage.NestedFunctions.NestedFunction
?>
<span class="customize-control-title"><?php echo wp_kses_post( $this->label ); ?></span>
<?php
@@ -66,7 +82,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
);
// Add Blog Display option.
- if ( in_array( $blog_display, array( 'content', 'excerpt', 'mixed' ) ) ) {
+ if ( in_array( $blog_display, array( 'content', 'excerpt', 'mixed' ), true ) ) {
if ( 'mixed' === $blog_display ) {
$blog_display_choices = array(
'content' => esc_html__( 'Full post', 'jetpack' ),
@@ -167,7 +183,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
)
);
- // Post Details: Date
+ // Post Details: Date.
if ( ! empty( $date ) ) {
$wp_customize->add_setting(
'jetpack_content_post_details_date',
@@ -189,7 +205,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
);
}
- // Post Details: Categories
+ // Post Details: Categories.
if ( ! empty( $categories ) ) {
$wp_customize->add_setting(
'jetpack_content_post_details_categories',
@@ -211,7 +227,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
);
}
- // Post Details: Tags
+ // Post Details: Tags.
if ( ! empty( $tags ) ) {
$wp_customize->add_setting(
'jetpack_content_post_details_tags',
@@ -233,7 +249,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
);
}
- // Post Details: Author
+ // Post Details: Author.
if ( ! empty( $author ) ) {
$wp_customize->add_setting(
'jetpack_content_post_details_author',
@@ -255,7 +271,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
);
}
- // Post Details: Comment link
+ // Post Details: Comment link.
if ( ! empty( $comment ) ) {
$wp_customize->add_setting(
'jetpack_content_post_details_comment',
@@ -295,7 +311,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
)
);
- // Featured Images: Archive
+ // Featured Images: Archive.
if ( true === $fi_archive ) {
$wp_customize->add_setting(
'jetpack_content_featured_images_archive',
@@ -317,7 +333,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
);
}
- // Featured Images: Post
+ // Featured Images: Post.
if ( true === $fi_post ) {
$wp_customize->add_setting(
'jetpack_content_featured_images_post',
@@ -339,7 +355,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
);
}
- // Featured Images: Page
+ // Featured Images: Page.
if ( true === $fi_page ) {
$wp_customize->add_setting(
'jetpack_content_featured_images_page',
@@ -361,7 +377,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
);
}
- // Featured Images: Portfolio
+ // Featured Images: Portfolio.
if ( true === $fi_portfolio && post_type_exists( 'jetpack-portfolio' ) ) {
$wp_customize->add_setting(
'jetpack_content_featured_images_portfolio',
@@ -383,7 +399,7 @@ function jetpack_content_options_customize_register( $wp_customize ) {
);
}
- // Featured Images: Fallback
+ // Featured Images: Fallback.
if ( true === $fi_fallback ) {
$wp_customize->add_setting(
'jetpack_content_featured_images_fallback',
@@ -418,21 +434,21 @@ function jetpack_post_thumbnail_supports() {
/**
* Sanitize the checkbox.
*
- * @param int $input.
+ * @param int $input The unsanitized value from the setting.
* @return boolean|string
*/
function jetpack_content_options_sanitize_checkbox( $input ) {
- return ( 1 == $input ) ? 1 : '';
+ return ( 1 === (int) $input ) ? 1 : '';
}
/**
* Sanitize the Display value.
*
- * @param string $display.
+ * @param string $display The unsanitized value from the setting.
* @return string.
*/
function jetpack_content_options_sanitize_blog_display( $display ) {
- if ( ! in_array( $display, array( 'content', 'excerpt', 'mixed' ) ) ) {
+ if ( ! in_array( $display, array( 'content', 'excerpt', 'mixed' ), true ) ) {
$display = 'content';
}
return $display;
diff --git a/plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php b/plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php
index dc8d92d6..5140914f 100644
--- a/plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php
+++ b/plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php
@@ -1,5 +1,11 @@
<?php
/**
+ * Theme Tools: functions for Featured Images fallback.
+ *
+ * @package automattic/jetpack
+ */
+
+/**
* Get one image from a specified post in the following order:
* Featured Image then first image from the_content HTML
* and filter the post_thumbnail_html
@@ -12,7 +18,7 @@
*
* @return string $html Thumbnail image with markup.
*/
-function jetpack_featured_images_fallback_get_image( $html, $post_id, $post_thumbnail_id, $size, $attr ) {
+function jetpack_featured_images_fallback_get_image( $html, $post_id, $post_thumbnail_id, $size, $attr ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$opts = jetpack_featured_images_get_settings();
if ( ! empty( $html ) || (bool) 1 !== (bool) $opts['fallback-option'] ) {
@@ -54,10 +60,10 @@ function jetpack_featured_images_fallback_get_image( $html, $post_id, $post_thum
$image_src = Jetpack_PostImages::fit_image_url( $image['src'], $image['width'], $image['height'] );
- // Use the theme's crop setting rather than forcing to true
+ // Use the theme's crop setting rather than forcing to true.
$image_src = add_query_arg( 'crop', $image['crop'], $image_src );
- $html = '<img src="' . esc_url( $image_src ) . '" title="' . esc_attr( strip_tags( get_the_title() ) ) . '" class="attachment-' . esc_attr( $size ) . ' wp-post-image" />';
+ $html = '<img src="' . esc_url( $image_src ) . '" title="' . esc_attr( wp_strip_all_tags( get_the_title() ) ) . '" class="attachment-' . esc_attr( $size ) . ' wp-post-image" />';
return trim( $html );
}
@@ -118,7 +124,7 @@ function jetpack_featured_images_fallback_get_image_src( $post_id, $post_thumbna
$image_src = Jetpack_PostImages::fit_image_url( $image['src'], $image['width'], $image['height'] );
- // Use the theme's crop setting rather than forcing to true
+ // Use the theme's crop setting rather than forcing to true.
$image_src = add_query_arg( 'crop', $image['crop'], $image_src );
return esc_url( $image_src );
@@ -144,7 +150,7 @@ function jetpack_has_featured_image( $post = null ) {
*
* @param array $classes Classes for the post element.
* @param array $class Optional. Comma separated list of additional classes.
- * @param array $post_id Unique The post ID to check
+ * @param array $post_id Unique The post ID to check.
*
* @return array $classes
*/
diff --git a/plugins/jetpack/modules/theme-tools/content-options/featured-images.php b/plugins/jetpack/modules/theme-tools/content-options/featured-images.php
index af2dd585..1e602f87 100644
--- a/plugins/jetpack/modules/theme-tools/content-options/featured-images.php
+++ b/plugins/jetpack/modules/theme-tools/content-options/featured-images.php
@@ -1,8 +1,18 @@
<?php
/**
+ * Theme Tools: functions for Featured Images.
+ *
+ * @package automattic/jetpack
+ */
+
+/**
* The function to prevent for Featured Images to be displayed in a theme.
+ *
+ * @param array $metadata Post metadata.
+ * @param int $object_id Post ID.
+ * @param string $meta_key Metadata key.
*/
-function jetpack_featured_images_remove_post_thumbnail( $metadata, $object_id, $meta_key, $single ) {
+function jetpack_featured_images_remove_post_thumbnail( $metadata, $object_id, $meta_key ) {
$opts = jetpack_featured_images_get_settings();
/**
@@ -64,7 +74,7 @@ function jetpack_featured_images_remove_post_thumbnail( $metadata, $object_id, $
return $metadata;
}
}
-add_filter( 'get_post_metadata', 'jetpack_featured_images_remove_post_thumbnail', true, 4 );
+add_filter( 'get_post_metadata', 'jetpack_featured_images_remove_post_thumbnail', true, 3 );
/**
* Check if we are in a WooCommerce Product in order to exclude it from the is_single check.
@@ -89,7 +99,7 @@ function jetpack_is_shop_page() {
$is_static_front_page = 'page' === get_option( 'show_on_front' );
if ( $is_static_front_page && $front_page_id === $current_page_id ) {
- $is_shop_page = ( $current_page_id === wc_get_page_id( 'shop' ) ) ? true : false;
+ $is_shop_page = ( wc_get_page_id( 'shop' ) === $current_page_id ) ? true : false;
} else {
$is_shop_page = is_shop();
}
diff --git a/plugins/jetpack/modules/theme-tools/content-options/post-details.php b/plugins/jetpack/modules/theme-tools/content-options/post-details.php
index b5f5c64a..25220fbd 100644
--- a/plugins/jetpack/modules/theme-tools/content-options/post-details.php
+++ b/plugins/jetpack/modules/theme-tools/content-options/post-details.php
@@ -1,5 +1,11 @@
<?php
/**
+ * Theme Tools: functions for Post Details.
+ *
+ * @package automattic/jetpack
+ */
+
+/**
* The function to include Post Details in a theme's stylesheet.
*/
function jetpack_post_details_enqueue_scripts() {
@@ -16,27 +22,27 @@ function jetpack_post_details_enqueue_scripts() {
$elements = array();
// If date option is unticked, add it to the list of classes.
- if ( 1 != $date_option && ! empty( $date ) ) {
+ if ( 1 !== (int) $date_option && ! empty( $date ) ) {
$elements[] = $date;
}
// If categories option is unticked, add it to the list of classes.
- if ( 1 != $categories_option && ! empty( $categories ) ) {
+ if ( 1 !== (int) $categories_option && ! empty( $categories ) ) {
$elements[] = $categories;
}
// If tags option is unticked, add it to the list of classes.
- if ( 1 != $tags_option && ! empty( $tags ) ) {
+ if ( 1 !== (int) $tags_option && ! empty( $tags ) ) {
$elements[] = $tags;
}
// If author option is unticked, add it to the list of classes.
- if ( 1 != $author_option && ! empty( $author ) ) {
+ if ( 1 !== (int) $author_option && ! empty( $author ) ) {
$elements[] = $author;
}
// If comment option is unticked, add it to the list of classes.
- if ( 1 != $comment_option && ! empty( $comment ) ) {
+ if ( 1 !== (int) $comment_option && ! empty( $comment ) ) {
$elements[] = $comment;
}
@@ -58,6 +64,8 @@ add_action( 'wp_enqueue_scripts', 'jetpack_post_details_enqueue_scripts' );
/**
* Adds custom classes to the array of body classes.
+ *
+ * @param array $classes Classes for the body element.
*/
function jetpack_post_details_body_classes( $classes ) {
// Make sure we can proceed.
@@ -71,27 +79,27 @@ function jetpack_post_details_body_classes( $classes ) {
list( $date, $categories, $tags, $author, $comment ) = $definied;
// If date option is unticked, add a class of 'date-hidden' to the body.
- if ( 1 != $date_option && ! empty( $date ) ) {
+ if ( 1 !== (int) $date_option && ! empty( $date ) ) {
$classes[] = 'date-hidden';
}
// If categories option is unticked, add a class of 'categories-hidden' to the body.
- if ( 1 != $categories_option && ! empty( $categories ) ) {
+ if ( 1 !== (int) $categories_option && ! empty( $categories ) ) {
$classes[] = 'categories-hidden';
}
// If tags option is unticked, add a class of 'tags-hidden' to the body.
- if ( 1 != $tags_option && ! empty( $tags ) ) {
+ if ( 1 !== (int) $tags_option && ! empty( $tags ) ) {
$classes[] = 'tags-hidden';
}
// If author option is unticked, add a class of 'author-hidden' to the body.
- if ( 1 != $author_option && ! empty( $author ) ) {
+ if ( 1 !== (int) $author_option && ! empty( $author ) ) {
$classes[] = 'author-hidden';
}
// If comment option is unticked, add a class of 'comment-hidden' to the body.
- if ( 1 != $comment_option && ! empty( $comment ) ) {
+ if ( 1 !== (int) $comment_option && ! empty( $comment ) ) {
$classes[] = 'comment-hidden';
}
diff --git a/plugins/jetpack/modules/theme-tools/featured-content.php b/plugins/jetpack/modules/theme-tools/featured-content.php
index 5eca3369..d6b17a10 100644
--- a/plugins/jetpack/modules/theme-tools/featured-content.php
+++ b/plugins/jetpack/modules/theme-tools/featured-content.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Theme Tools: functions for Featured Content enhancements.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Constants;
@@ -34,6 +39,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
* add_theme_support( 'featured-content' ).
*
* @see Featured_Content::init()
+ * @var int
*/
public static $max_posts = 15;
@@ -44,6 +50,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
* add_theme_support( 'featured-content' ).
*
* @see Featured_Content::init()
+ * @var array
*/
public static $post_types = array( 'post' );
@@ -52,6 +59,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
* a custom tag name that will be stored in this variable.
*
* @see Featured_Content::hide_featured_term
+ * @var string
*/
public static $tag;
@@ -125,12 +133,12 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
unset( $theme_support[0]['additional_post_types'] );
}
- // Themes can allow Featured Content pages
+ // Themes can allow Featured Content pages.
if ( isset( $theme_support[0]['post_types'] ) ) {
self::$post_types = array_merge( self::$post_types, (array) $theme_support[0]['post_types'] );
self::$post_types = array_unique( self::$post_types );
- // register post_tag support for each post type
+ // register post_tag support for each post type.
foreach ( self::$post_types as $post_type ) {
register_taxonomy_for_object_type( 'post_tag', $post_type );
}
@@ -147,7 +155,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
if ( self::get_setting( 'hide-tag' ) ) {
$settings = self::get_setting();
- // This is done before setting filters for get_terms in order to avoid an infinite filter loop
+ // This is done before setting filters for get_terms in order to avoid an infinite filter loop.
self::$tag = get_term_by( 'name', $settings['tag-name'], 'post_tag' );
add_filter( 'get_terms', array( __CLASS__, 'hide_featured_term' ), 10, 3 );
@@ -178,7 +186,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
$featured_posts = get_posts(
array(
'include' => $post_ids,
- 'posts_per_page' => count( $post_ids ),
+ 'posts_per_page' => count( $post_ids ), // phpcs:ignore WordPress.WP.PostsPerPage.posts_per_page_posts_per_page
'post_type' => self::$post_types,
'suppress_filters' => false,
)
@@ -280,6 +288,9 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
* Flush the Post Tag relationships cache.
*
* Hooks in the "update_option_featured-content" action.
+ *
+ * @param array $prev Previous option data.
+ * @param array $opts New option data.
*/
public static function flush_post_tag_cache( $prev, $opts ) {
if ( ! empty( $opts ) && ! empty( $opts['tag-id'] ) ) {
@@ -305,7 +316,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
*
* @uses Featured_Content::get_featured_post_ids();
* @uses Featured_Content::get_setting();
- * @param WP_Query $query
+ * @param WP_Query $query WP_Query object.
* @return WP_Query Possibly modified WP_Query
*/
public static function pre_get_posts( $query ) {
@@ -330,7 +341,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
$settings = self::get_setting();
// Bail if the user wants featured posts always displayed.
- if ( true == $settings['show-all'] ) {
+ if ( $settings['show-all'] ) {
return;
}
@@ -362,7 +373,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
public static function delete_post_tag( $tag_id ) {
$settings = self::get_setting();
- if ( empty( $settings['tag-id'] ) || $tag_id != $settings['tag-id'] ) {
+ if ( empty( $settings['tag-id'] ) || $tag_id != $settings['tag-id'] ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
return;
}
@@ -381,6 +392,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
*
* @param array $terms A list of term objects. This is the return value of get_terms().
* @param array $taxonomies An array of taxonomy slugs.
+ * @param array $args Array of get_terms() arguments.
* @return array $terms
*/
public static function hide_featured_term( $terms, $taxonomies, $args ) {
@@ -397,7 +409,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
}
// We only want to hide the featured tag.
- if ( ! in_array( 'post_tag', $taxonomies ) ) {
+ if ( ! in_array( 'post_tag', $taxonomies, true ) ) {
return $terms;
}
@@ -407,7 +419,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
}
// Bail if term objects are unavailable.
- if ( 'all' != $args['fields'] ) {
+ if ( 'all' !== $args['fields'] ) {
return $terms;
}
@@ -451,7 +463,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
}
// Make sure we are in the correct taxonomy.
- if ( 'post_tag' != $taxonomy ) {
+ if ( 'post_tag' !== $taxonomy ) {
return $terms;
}
@@ -499,7 +511,12 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
'featured_content',
array(
'title' => esc_html__( 'Featured Content', 'jetpack' ),
- 'description' => sprintf( __( 'Easily feature all posts with the <a href="%1$s">"featured" tag</a> or a tag of your choice. Your theme supports up to %2$s posts in its featured content area.', 'jetpack' ), admin_url( '/edit.php?tag=featured' ), absint( self::$max_posts ) ),
+ 'description' => sprintf(
+ /* translators: %1$s: Link to 'featured' admin tag view. %2$s: Max number of posts shown by theme in featured content area. */
+ __( 'Easily feature all posts with the <a href="%1$s">"featured" tag</a> or a tag of your choice. Your theme supports up to %2$s posts in its featured content area.', 'jetpack' ),
+ admin_url( '/edit.php?tag=featured' ),
+ absint( self::$max_posts )
+ ),
'priority' => 130,
'theme_supports' => 'featured-content',
)
@@ -578,7 +595,16 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
* Renders all form fields on the Settings -> Reading screen.
*/
public static function render_form() {
- printf( __( 'The settings for Featured Content have <a href="%s">moved to Appearance &rarr; Customize</a>.', 'jetpack' ), admin_url( 'customize.php?#accordion-section-featured_content' ) );
+ printf(
+ wp_kses(
+ /* translators: %s: Link to the Featured Content settings in the Customizer. */
+ __( 'The settings for Featured Content have <a href="%s">moved to Appearance &rarr; Customize</a>.', 'jetpack' ),
+ array(
+ 'a' => array( 'href' => array() ),
+ )
+ ),
+ esc_url( admin_url( 'customize.php?#accordion-section-featured_content' ) )
+ );
}
/**
@@ -626,7 +652,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
$options = wp_parse_args( $saved, $defaults );
$options = array_intersect_key( $options, $defaults );
- if ( 'all' != $key ) {
+ if ( 'all' !== $key ) {
return isset( $options[ $key ] ) ? $options[ $key ] : false;
}
@@ -642,7 +668,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
*
* @uses Featured_Content::delete_transient()
*
- * @param array $input
+ * @param array $input Array of settings input.
* @return array $output
*/
public static function validate_settings( $input ) {
@@ -689,11 +715,19 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
}
}
+ /**
+ * Update Featured Content term data as necessary when a shared term is split.
+ *
+ * @param int $old_term_id ID of the formerly shared term.
+ * @param int $new_term_id ID of the new term created for the $term_taxonomy_id.
+ * @param int $term_taxonomy_id ID for the term_taxonomy row affected by the split.
+ * @param string $taxonomy Taxonomy for the split term.
+ */
public static function jetpack_update_featured_content_for_split_terms( $old_term_id, $new_term_id, $term_taxonomy_id, $taxonomy ) {
$featured_content_settings = get_option( 'featured-content', array() );
// Check to see whether the stored tag ID is the one that's just been split.
- if ( isset( $featured_content_settings['tag-id'] ) && $old_term_id == $featured_content_settings['tag-id'] && 'post_tag' == $taxonomy ) {
+ if ( isset( $featured_content_settings['tag-id'] ) && $old_term_id == $featured_content_settings['tag-id'] && 'post_tag' === $taxonomy ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
// We have a match, so we swap out the old tag ID for the new one and resave the option.
$featured_content_settings['tag-id'] = $new_term_id;
update_option( 'featured-content', $featured_content_settings );
@@ -705,7 +739,7 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
* Adds the featured content plugin to the set of files for which action
* handlers should be copied when the theme context is loaded by the REST API.
*
- * @param array $copy_dirs Copy paths with actions to be copied
+ * @param array $copy_dirs Copy paths with actions to be copied.
* @return array Copy paths with featured content plugin
*/
function wpcom_rest_api_featured_content_copy_plugin_actions( $copy_dirs ) {
@@ -716,6 +750,8 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
/**
* Delayed initialization for API Requests.
+ *
+ * @param object $request REST request object.
*/
function wpcom_rest_request_before_callbacks( $request ) {
Featured_Content::init();
@@ -723,8 +759,8 @@ if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'pl
}
if ( Constants::is_true( 'IS_WPCOM' ) && Constants::is_true( 'REST_API_REQUEST' ) ) {
- add_filter( 'rest_request_before_callbacks', 'wpcom_rest_request_before_callbacks');
+ add_filter( 'rest_request_before_callbacks', 'wpcom_rest_request_before_callbacks' );
}
Featured_Content::setup();
-} // end if ( ! class_exists( 'Featured_Content' ) && isset( $GLOBALS['pagenow'] ) && 'plugins.php' !== $GLOBALS['pagenow'] ) {
+}
diff --git a/plugins/jetpack/modules/theme-tools/infinite-scroll.php b/plugins/jetpack/modules/theme-tools/infinite-scroll.php
index ac5a0aa8..57bb1f8b 100644
--- a/plugins/jetpack/modules/theme-tools/infinite-scroll.php
+++ b/plugins/jetpack/modules/theme-tools/infinite-scroll.php
@@ -1,6 +1,8 @@
<?php
/**
- * INFINITE SCROLL
+ * Theme Tools: Infinite Scroll functions.
+ *
+ * @package automattic/jetpack
*/
/**
@@ -14,20 +16,20 @@
* @return null
*/
function jetpack_load_infinite_scroll_annotation() {
- if ( is_admin() && isset( $_GET['page'] ) && 'jetpack' == $_GET['page'] ) {
- $theme = wp_get_theme();
+ if ( is_admin() && isset( $_GET['page'] ) && 'jetpack' === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Function loads theme specific IS file provided by Jetpack if possible.
+ $theme = wp_get_theme();
if ( ! is_a( $theme, 'WP_Theme' ) && ! is_array( $theme ) ) {
return;
}
/** This filter is already documented in modules/infinite-scroll/infinity.php */
- $customization_file = apply_filters( 'infinite_scroll_customization_file', dirname( __FILE__ ) . "/infinite-scroll/themes/{$theme['Stylesheet']}.php", $theme['Stylesheet'] );
+ $customization_file = apply_filters( 'infinite_scroll_customization_file', __DIR__ . "/infinite-scroll/themes/{$theme['Stylesheet']}.php", $theme['Stylesheet'] );
if ( is_readable( $customization_file ) ) {
require_once $customization_file;
} elseif ( ! empty( $theme['Template'] ) ) {
- $customization_file = dirname( __FILE__ ) . "/infinite-scroll/themes/{$theme['Template']}.php";
+ $customization_file = __DIR__ . "/infinite-scroll/themes/{$theme['Template']}.php";
if ( is_readable( $customization_file ) ) {
require_once $customization_file;
@@ -40,7 +42,6 @@ add_action( 'setup_theme', 'jetpack_load_infinite_scroll_annotation' );
/**
* Prevent IS from being activated if theme doesn't support it
*
- * @param bool $can_activate
* @filter jetpack_can_activate_infinite-scroll
* @return bool
*/
diff --git a/plugins/jetpack/modules/theme-tools/random-redirect.php b/plugins/jetpack/modules/theme-tools/random-redirect.php
index e78e0277..dbebad12 100644
--- a/plugins/jetpack/modules/theme-tools/random-redirect.php
+++ b/plugins/jetpack/modules/theme-tools/random-redirect.php
@@ -1,13 +1,21 @@
<?php
-/*
-Plugin Name: Random Redirect
-Plugin URI: https://wordpress.org/extend/plugins/random-redirect/
-Description: Allows you to create a link to yourblog.example.com/?random which will redirect someone to a random post on your blog, in a StumbleUpon-like fashion.
-Version: 1.2-wpcom
-Author: Matt Mullenweg
-Author URI: https://ma.tt/
-*/
+/**
+ * Plugin Name: Random Redirect
+ * Plugin URI: https://wordpress.org/extend/plugins/random-redirect/
+ * Description: Allows you to create a link to yourblog.example.com/?random which will redirect someone to a random post on your blog, in a StumbleUpon-like fashion.
+ * Version: 1.2-wpcom
+ * Author: Matt Mullenweg
+ * Author URI: https://ma.tt/
+ * Text Domain: jetpack
+ *
+ * @package automattic/jetpack
+ */
+// phpcs:disable WordPress.Security.NonceVerification -- No changes to the site here, it just redirects.
+
+/**
+ * Redirects to a random post on the site.
+ */
function jetpack_matt_random_redirect() {
// Verify that the Random Redirect plugin this code is from is not active
// See https://plugins.trac.wordpress.org/ticket/1898
@@ -18,27 +26,8 @@ function jetpack_matt_random_redirect() {
}
}
- // Set default post type.
- $post_type = get_post_type();
-
- // Set default category type
- if ( is_category() ) {
- $category = get_the_category();
- if ( isset( $category ) && ! empty( $category ) ) {
- $random_cat_id = $category[0]->term_id;
- }
- }
-
- // Set author name if we're on an author archive.
- if ( is_author() ) {
- $random_author_name = get_the_author_meta( 'user_login' );
- $random_author_query = 'AND user_login = "' . $random_author_name . '"';
- } else {
- $random_author_query = '';
- }
-
// Acceptable URL formats: /[...]/?random=[post type], /?random, /&random, /&random=1
- if ( ! isset( $_GET['random'] ) && ! in_array( strtolower( $_SERVER['REQUEST_URI'] ), array( '/&random', '/&random=1' ) ) ) {
+ if ( ! isset( $_GET['random'] ) && ! ( isset( $_SERVER['REQUEST_URI'] ) && in_array( strtolower( $_SERVER['REQUEST_URI'] ), array( '/&random', '/&random=1' ), true ) ) ) {
return;
}
@@ -48,18 +37,22 @@ function jetpack_matt_random_redirect() {
}
// Persistent AppEngine abuse. ORDER BY RAND is expensive.
- if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'AppEngine-Google' ) ) {
+ if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && strstr( filter_var( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ), 'AppEngine-Google' ) ) {
wp_die( 'Please <a href="https://en.support.wordpress.com/contact/" rel="noopener noreferrer" target="_blank">contact support</a>' );
}
- // Set the category ID if the parameter is set.
- if ( isset( $_GET['random_cat_id'] ) ) {
- $random_cat_id = (int) $_GET['random_cat_id'];
- }
+ $where = array(
+ "post_password = ''",
+ "post_status = 'publish'",
+ );
+ $where_args = array();
+
+ // Set default post type.
+ $post_type = get_post_type();
// Change the post type if the parameter is set.
- if ( isset( $_GET['random_post_type'] ) && post_type_exists( $_GET['random_post_type'] ) ) {
- $post_type = $_GET['random_post_type'];
+ if ( isset( $_GET['random_post_type'] ) && post_type_exists( sanitize_key( $_GET['random_post_type'] ) ) ) {
+ $post_type = sanitize_key( $_GET['random_post_type'] );
}
// Don't show a random page if 'page' isn't specified as the post type specifically.
@@ -67,12 +60,37 @@ function jetpack_matt_random_redirect() {
$post_type = 'post';
}
+ $where[] = 'p.post_type = %s';
+ $where_args[] = $post_type;
+
+ // Set author name if we're on an author archive.
+ if ( is_author() ) {
+ $where[] = 'post_author = %s';
+ $where_args[] = get_the_author_meta( 'ID' );
+ }
+
+ // Set default category type
+ if ( is_category() ) {
+ $category = get_the_category();
+ if ( isset( $category ) && ! empty( $category ) ) {
+ $random_cat_id = $category[0]->term_id;
+ }
+ }
+
+ // Set the category ID if the parameter is set.
+ if ( isset( $_GET['random_cat_id'] ) ) {
+ $random_cat_id = (int) $_GET['random_cat_id'];
+ }
+
global $wpdb;
+ $where = join( ' AND ', $where );
if ( isset( $random_cat_id ) ) {
- $random_id = $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT ID FROM $wpdb->posts AS p INNER JOIN $wpdb->term_relationships AS tr ON (p.ID = tr.object_id AND tr.term_taxonomy_id = %s) INNER JOIN $wpdb->term_taxonomy AS tt ON(tr.term_taxonomy_id = tt.term_taxonomy_id AND taxonomy = 'category') WHERE p.post_type = %s AND post_password = '' AND post_status = 'publish' %s ORDER BY RAND() LIMIT 1", $random_cat_id, $post_type, $random_author_query ) );
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery, WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders.ReplacementsWrongNumber
+ $random_id = $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT ID FROM $wpdb->posts AS p INNER JOIN $wpdb->term_relationships AS tr ON (p.ID = tr.object_id AND tr.term_taxonomy_id = %s) INNER JOIN $wpdb->term_taxonomy AS tt ON(tr.term_taxonomy_id = tt.term_taxonomy_id AND taxonomy = 'category') WHERE $where ORDER BY RAND() LIMIT 1", $random_cat_id, ...$where_args ) );
} else {
- $random_id = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_type = %s AND post_password = '' AND post_status = 'publish' %s ORDER BY RAND() LIMIT 1", $post_type, $random_author_query ) );
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery, WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare
+ $random_id = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->posts AS p WHERE $where ORDER BY RAND() LIMIT 1", ...$where_args ) );
}
$permalink = get_permalink( $random_id );
diff --git a/plugins/jetpack/modules/theme-tools/responsive-videos.php b/plugins/jetpack/modules/theme-tools/responsive-videos.php
index 32cee5e9..b4e9da71 100644
--- a/plugins/jetpack/modules/theme-tools/responsive-videos.php
+++ b/plugins/jetpack/modules/theme-tools/responsive-videos.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * Theme Tools: Responsive videos enhancements.
+ *
+ * @package automattic/jetpack
+ */
/**
* Load the Responsive videos plugin
@@ -31,10 +36,10 @@ function jetpack_responsive_videos_init() {
}
add_action( 'after_setup_theme', 'jetpack_responsive_videos_init', 99 );
-
/**
* Adds a wrapper to videos and enqueue script
*
+ * @param string $html The video embed HTML.
* @return string
*/
function jetpack_responsive_videos_embed_html( $html ) {
@@ -59,14 +64,19 @@ function jetpack_responsive_videos_embed_html( $html ) {
return $html;
}
- if ( defined( 'SCRIPT_DEBUG' ) && true == SCRIPT_DEBUG ) {
+ if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
wp_enqueue_script( 'jetpack-responsive-videos-script', plugins_url( 'responsive-videos/responsive-videos.js', __FILE__ ), array( 'jquery' ), '1.3', true );
} else {
wp_enqueue_script( 'jetpack-responsive-videos-min-script', plugins_url( 'responsive-videos/responsive-videos.min.js', __FILE__ ), array( 'jquery' ), '1.3', true );
}
// Enqueue CSS to ensure compatibility with all themes
- wp_enqueue_style( 'jetpack-responsive-videos-style', plugins_url( 'responsive-videos/responsive-videos.css', __FILE__ ) );
+ wp_enqueue_style(
+ 'jetpack-responsive-videos-style',
+ plugins_url( 'responsive-videos/responsive-videos.css', __FILE__ ),
+ array(),
+ JETPACK__VERSION
+ );
return '<div class="jetpack-video-wrapper">' . $html . '</div>';
}
@@ -99,7 +109,7 @@ function jetpack_responsive_videos_maybe_wrap_oembed( $html, $url = null ) {
}
/**
- * oEmbed Video Providers.
+ * The oEmbed video providers.
*
* An allowed list of oEmbed video provider Regex patterns to check against before wrapping the output.
*
diff --git a/plugins/jetpack/modules/theme-tools/site-logo.php b/plugins/jetpack/modules/theme-tools/site-logo.php
index 78f69ba1..12193752 100644
--- a/plugins/jetpack/modules/theme-tools/site-logo.php
+++ b/plugins/jetpack/modules/theme-tools/site-logo.php
@@ -1,6 +1,7 @@
<?php
-/*
- * Site Logo.
+/**
+ * Theme Tools: Site Logo.
+ *
* @see https://jetpack.com/support/site-logo/
*
* This feature will only be activated for themes that declare their support.
@@ -8,14 +9,15 @@
* 'after_setup_theme' action:
*
* $args = array(
- * 'header-text' => array(
- * 'site-title',
- * 'site-description',
- * ),
- * 'size' => 'medium',
+ * 'header-text' => array(
+ * 'site-title',
+ * 'site-description',
+ * ),
+ * 'size' => 'medium',
* );
* add_theme_support( 'site-logo', $args );
*
+ * @package automattic/jetpack
*/
/**
@@ -29,13 +31,13 @@ function site_logo_init() {
// Only load our code if our theme declares support, and the standalone plugin is not activated.
if ( current_theme_supports( 'site-logo' ) && ! class_exists( 'Site_Logo', false ) ) {
// Load our class for namespacing.
- require dirname( __FILE__ ) . '/site-logo/inc/class-site-logo.php';
+ require __DIR__ . '/site-logo/inc/class-site-logo.php';
// Load template tags.
- require dirname( __FILE__ ) . '/site-logo/inc/functions.php';
+ require __DIR__ . '/site-logo/inc/functions.php';
// Load backwards-compatible template tags.
- require dirname( __FILE__ ) . '/site-logo/inc/compat.php';
+ require __DIR__ . '/site-logo/inc/compat.php';
}
}
add_action( 'init', 'site_logo_init' );
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control-rtl.css b/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control-rtl.css
deleted file mode 100644
index e0d9a2c4..00000000
--- a/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control-rtl.css
+++ /dev/null
@@ -1,49 +0,0 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-/**
- * Styles for the Site Logo control.
- */
-#customize-control-site_logo .current {
- margin-bottom: 6px;
-}
-
-#customize-control-site_logo .current span {
- border: 1px solid #eee;
- border-radius: 2px;
- color: #555;
- display: block;
- overflow: hidden;
- line-height: 40px;
- min-height: 40px;
- padding: 0 6px;
- text-align: center;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-#customize-control-site_logo .current img {
- max-width: 100%;
-}
-
-#customize-control-site_logo button.new,
-#customize-control-site_logo button.change,
-#customize-control-site_logo button.remove {
- height: auto;
- width: 48%;
- white-space: normal;
-}
-
-#customize-control-site_logo .remove {
- float: right;
- margin-left: 3px;
-}
-
-#customize-control-site_logo .new,
-#customize-control-site_logo .change {
- float: left;
-}
-
-#customize-control-site_logo .customize-control-description {
- display: block;
- clear: both;
- margin-bottom: 10px;
-} \ No newline at end of file
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control-rtl.min.css b/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control-rtl.min.css
deleted file mode 100644
index f07c2f74..00000000
--- a/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control-rtl.min.css
+++ /dev/null
@@ -1 +0,0 @@
-#customize-control-site_logo .current{margin-bottom:6px}#customize-control-site_logo .current span{border:1px solid #eee;border-radius:2px;color:#555;display:block;overflow:hidden;line-height:40px;min-height:40px;padding:0 6px;text-align:center;text-overflow:ellipsis;white-space:nowrap}#customize-control-site_logo .current img{max-width:100%}#customize-control-site_logo button.change,#customize-control-site_logo button.new,#customize-control-site_logo button.remove{height:auto;width:48%;white-space:normal}#customize-control-site_logo .remove{float:right;margin-left:3px}#customize-control-site_logo .change,#customize-control-site_logo .new{float:left}#customize-control-site_logo .customize-control-description{display:block;clear:both;margin-bottom:10px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control.css b/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control.css
deleted file mode 100644
index b9a10fe6..00000000
--- a/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control.css
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Styles for the Site Logo control.
- */
-#customize-control-site_logo .current {
- margin-bottom: 6px;
-}
-
-#customize-control-site_logo .current span {
- border: 1px solid #eee;
- -webkit-border-radius: 2px;
- border-radius: 2px;
- color: #555;
- display: block;
- overflow: hidden;
- line-height: 40px;
- min-height: 40px;
- padding: 0 6px;
- text-align: center;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-#customize-control-site_logo .current img {
- max-width: 100%;
-}
-
-#customize-control-site_logo button.new,
-#customize-control-site_logo button.change,
-#customize-control-site_logo button.remove {
- height: auto;
- width: 48%;
- white-space: normal;
-}
-
-#customize-control-site_logo .remove {
- float: left;
- margin-right: 3px;
-}
-
-#customize-control-site_logo .new,
-#customize-control-site_logo .change {
- float: right;
-}
-
-#customize-control-site_logo .customize-control-description {
- display: block;
- clear: both;
- margin-bottom: 10px;
-} \ No newline at end of file
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control.min.css b/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control.min.css
deleted file mode 100644
index 0c1eede3..00000000
--- a/plugins/jetpack/modules/theme-tools/site-logo/css/site-logo-control.min.css
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-#customize-control-site_logo .current{margin-bottom:6px}#customize-control-site_logo .current span{border:1px solid #eee;border-radius:2px;color:#555;display:block;overflow:hidden;line-height:40px;min-height:40px;padding:0 6px;text-align:center;text-overflow:ellipsis;white-space:nowrap}#customize-control-site_logo .current img{max-width:100%}#customize-control-site_logo button.change,#customize-control-site_logo button.new,#customize-control-site_logo button.remove{height:auto;width:48%;white-space:normal}#customize-control-site_logo .remove{float:left;margin-right:3px}#customize-control-site_logo .change,#customize-control-site_logo .new{float:right}#customize-control-site_logo .customize-control-description{display:block;clear:both;margin-bottom:10px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo-control.php b/plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo-control.php
deleted file mode 100644
index 209cc000..00000000
--- a/plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo-control.php
+++ /dev/null
@@ -1,128 +0,0 @@
-<?php
-/**
- * Custom logo uploader control for the Customizer.
- *
- * @package Jetpack
- */
-class Site_Logo_Image_Control extends WP_Customize_Control {
- /**
- * Constructor for our custom control.
- *
- * @param object $wp_customize
- * @param string $control_id
- * @param array $args
- * @uses Site_Logo_Image_Control::l10n()
- */
- public function __construct( $wp_customize, $control_id, $args = array() ) {
- // declare these first so they can be overridden
- $this->l10n = array(
- 'upload' => __( 'Add logo', 'jetpack' ),
- 'set' => __( 'Set as logo', 'jetpack' ),
- 'choose' => __( 'Choose logo', 'jetpack' ),
- 'change' => __( 'Change logo', 'jetpack' ),
- 'remove' => __( 'Remove logo', 'jetpack' ),
- 'placeholder' => __( 'No logo set', 'jetpack' ),
- );
-
- parent::__construct( $wp_customize, $control_id, $args );
- }
-
- /**
- * This will be critical for our JS constructor.
- */
- public $type = 'site_logo';
-
- /**
- * Allows overriding of global labels by a specific control.
- */
- public $l10n = array();
-
- /**
- * The type of files that should be allowed by the media modal.
- */
- public $mime_type = 'image';
-
- /**
- * Enqueue our media manager resources, scripts, and styles.
- *
- * @uses wp_enqueue_media()
- * @uses wp_enqueue_style()
- * @uses wp_enqueue_script()
- * @uses plugins_url()
- */
- public function enqueue() {
- // Enqueues all needed media resources.
- wp_enqueue_media();
-
- /*
- * Enqueue our control script and styles.
- */
-
- // We only enqueue a minified version of the file on prod. Jetpack.
- $min = (
- ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG )
- || ( defined( 'IS_WPCOM' ) && IS_WPCOM )
- )
- ? ''
- : '.min';
-
- wp_enqueue_style(
- 'site-logo-control',
- plugins_url( '../css/site-logo-control.css', __FILE__ ),
- array(),
- JETPACK__VERSION
- );
- wp_style_add_data( 'site-logo-control', 'rtl', 'replace' );
- wp_style_add_data( 'site-logo-control', 'suffix', $min );
-
- wp_enqueue_script( 'site-logo-control', plugins_url( '../js/site-logo-control.js', __FILE__ ), array( 'media-views', 'customize-controls', 'underscore' ), '', true );
- }
-
- /**
- * Check if we have an active site logo.
- *
- * @uses get_option()
- * @return boolean
- */
- public function has_site_logo() {
- $logo = get_option( 'site_logo' );
-
- if ( empty( $logo['url'] ) ) {
- return false;
- } else {
- return true;
- }
- }
-
- /**
- * Display our custom control in the Customizer.
- *
- * @uses Site_Logo_Image_Control::l10n()
- * @uses Site_Logo_Image_Control::mime_type()
- * @uses Site_Logo_Image_Control::label()
- * @uses Site_Logo_Image_Control::description()
- * @uses esc_attr()
- * @uses esc_html()
- */
- public function render_content() {
- // We do this to allow the upload control to specify certain labels
- $l10n = json_encode( $this->l10n );
-
- // Control title
- printf(
- '<span class="customize-control-title" data-l10n="%s" data-mime="%s">%s</span>',
- esc_attr( $l10n ),
- esc_attr( $this->mime_type ),
- esc_html( $this->label )
- );
-
- // Control description
- if ( ! empty( $this->description ) ) : ?>
- <span class="description customize-control-description"><?php echo $this->description; ?></span>
- <?php endif; ?>
-
- <div class="current"></div>
- <div class="actions"></div>
- <?php
- }
-}
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo.php b/plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo.php
index 6793bf0a..66e77102 100644
--- a/plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo.php
+++ b/plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo.php
@@ -1,17 +1,25 @@
<?php
/**
- * Our Site Logo class for managing a theme-agnostic logo through the Customizer.
+ * Site Logo class main class file.
*
* @package automattic/jetpack
*/
+
+/**
+ * Site Logo class for managing a theme-agnostic logo through the Customizer.
+ */
class Site_Logo {
/**
* Stores our single instance.
+ *
+ * @var Site_Logo
*/
private static $instance;
/**
* Stores the attachment ID of the site logo.
+ *
+ * @var int
*/
public $logo;
@@ -173,7 +181,13 @@ class Site_Logo {
// Don't bother passing in header text classes if the theme supports custom headers.
if ( ! current_theme_supports( 'custom-header' ) ) {
$classes = jetpack_sanitize_header_text_classes( $this->header_text_classes() );
- wp_enqueue_script( 'site-logo-header-text', plugins_url( '../js/site-logo-header-text.js', __FILE__ ), array( 'media-views' ), '', true );
+ wp_enqueue_script(
+ 'site-logo-header-text',
+ plugins_url( '../js/site-logo-header-text.js', __FILE__ ),
+ array( 'media-views' ),
+ JETPACK__VERSION,
+ true
+ );
wp_localize_script( 'site-logo-header-text', 'site_logo_header_classes', array( 'classes' => $classes ) );
}
}
@@ -228,7 +242,7 @@ class Site_Logo {
?>
<!-- Site Logo: hide header text -->
<style type="text/css">
- <?php echo jetpack_sanitize_header_text_classes( $classes ); ?> {
+ <?php echo jetpack_sanitize_header_text_classes( $classes ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
}
@@ -251,7 +265,7 @@ class Site_Logo {
$valid_sizes[] = 'full';
// If the size declared in add_theme_support is valid, use it; otherwise, just go with 'thumbnail'.
- $size = ( isset( $args[0]['size'] ) && in_array( $args[0]['size'], $valid_sizes ) ) ? $args[0]['size'] : 'thumbnail';
+ $size = ( isset( $args[0]['size'] ) && in_array( $args[0]['size'], $valid_sizes, true ) ) ? $args[0]['size'] : 'thumbnail';
return $size;
}
@@ -259,7 +273,7 @@ class Site_Logo {
/**
* Make custom image sizes available to the media manager.
*
- * @param array $sizes
+ * @param array $sizes List of image sizes.
* @uses get_intermediate_image_sizes()
* @return array All default and registered custom image sizes.
*/
@@ -269,7 +283,7 @@ class Site_Logo {
// Have we got anything fun to work with?
if ( is_array( $intermediate ) && ! empty( $intermediate ) ) {
- foreach ( $intermediate as $key => $size ) {
+ foreach ( $intermediate as $size ) {
// If the size isn't already in the $sizes array, add it.
if ( ! array_key_exists( $size, $sizes ) ) {
$sizes[ $size ] = $size;
@@ -283,6 +297,8 @@ class Site_Logo {
/**
* Add site logos to media states in the Media Manager.
*
+ * @param array $media_states An array of media states.
+ *
* @return array The current attachment's media states.
*/
public function add_media_state( $media_states ) {
@@ -302,7 +318,7 @@ class Site_Logo {
/**
* Reset the site logo if the current logo is deleted in the media manager.
*
- * @param int $site_id
+ * @param int $post_id Attachment ID.
* @uses Site_Logo::remove_site_logo()
*/
public function reset_on_attachment_delete( $post_id ) {
@@ -334,6 +350,7 @@ class Site_Logo {
* Adds custom classes to the array of body classes.
*
* @uses Site_Logo::has_site_logo()
+ * @param array $classes Classes for the body element.
* @return array Array of <body> classes
*/
public function body_classes( $classes ) {
@@ -348,18 +365,18 @@ class Site_Logo {
/**
* Sanitize our header text Customizer setting.
*
- * @param $input
- * @return mixed 1 if checked, empty string if not checked.
+ * @param any $input The input value to sanitize.
+ * @return bool|string 1 if checked, empty string if not checked.
*/
public function sanitize_checkbox( $input ) {
- return ( 1 == $input ) ? 1 : '';
+ return ( 1 === (int) $input ) ? 1 : '';
}
/**
* Validate and sanitize a new site logo setting.
*
- * @param $input
- * @return mixed 1 if checked, empty string if not checked.
+ * @param any $input Logo setting value to sanitize.
+ * @return int Attachment post ID, or 0 if invalid.
*/
public function sanitize_logo_setting( $input ) {
$input = absint( $input );
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/inc/functions.php b/plugins/jetpack/modules/theme-tools/site-logo/inc/functions.php
index 22e6c942..0d7881ae 100644
--- a/plugins/jetpack/modules/theme-tools/site-logo/inc/functions.php
+++ b/plugins/jetpack/modules/theme-tools/site-logo/inc/functions.php
@@ -1,6 +1,6 @@
<?php
/**
- * Functions and template tags for using site logos.
+ * Functions and template tags for Site Logo theme tool.
*
* @package automattic/jetpack
*/
@@ -11,6 +11,7 @@
* @uses get_option()
* @uses esc_url_raw()
* @uses set_url_scheme()
+ * @param string $show 'url' or 'id' for site logo.
* @return mixed The URL or ID of our site logo, false if not set
* @since 1.0
*/
@@ -55,7 +56,7 @@ function jetpack_get_site_logo_dimensions() {
// If the size is the default `thumbnail`, get its dimensions. Otherwise, get them from $_wp_additional_image_sizes
if ( empty( $size ) ) {
return false;
- } elseif ( 'thumbnail' == $size ) {
+ } elseif ( 'thumbnail' === $size ) {
$dimensions = array(
'width' => get_option( 'thumbnail_size_w' ),
'height' => get_option( 'thumbnail_size_h' ),
@@ -197,6 +198,7 @@ function jetpack_is_customize_preview() {
* Sanitize the string of classes used for header text.
* Limit to A-Z,a-z,0-9,(space),(comma),_,-
*
+ * @param string $classes Unsanitized string of CSS classes.
* @return string Sanitized string of CSS classes.
*/
function jetpack_sanitize_header_text_classes( $classes ) {
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo-control.js b/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo-control.js
deleted file mode 100644
index c4cce6c2..00000000
--- a/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo-control.js
+++ /dev/null
@@ -1,160 +0,0 @@
-/**
- * JS for handling the Site Logo Customizer control.
- */
-( function( wp, $ ) {
- // nice shortcut
- var api = wp.customize;
- /**
- * The Customizer looks for wp.customizer.controlConstructor[type] functions
- * where type == the type member of a WP_Customize_Control
- */
- api.controlConstructor.site_logo = api.Control.extend( {
- /**
- * This method is called when the control is ready to run.
- * Do all of your setup and event binding here.
- */
- ready: function() {
- // this.container is a jQuery object of your container
-
- // grab the bits of data from the title for specifying this control
- var data = this.container.find( '.customize-control-title' ).data();
-
- // Use specific l10n data for this control where available
- this.l10n = data.l10n;
- // Grab mime type
- this.mime = data.mime;
-
- // Set up image container and button elements. Cache for re-use.
- this.$imgContainer = $( '#customize-control-site_logo .current' );
- this.$btnContainer = $( '#customize-control-site_logo .actions' );
- this.$img = $( '<img class="site-logo-thumbnail" />' ).prependTo( this.$imgContainer );
- this.$placeholder = $( '<span>' + this.l10n.placeholder + '</span>' ).prependTo(
- this.$imgContainer
- );
- this.$btnAdd = $(
- '<button type="button" class="button new">' + this.l10n.upload + '</button>'
- ).prependTo( this.$btnContainer );
- this.$btnChange = $(
- '<button type="button" class="button change">' + this.l10n.change + '</button>'
- ).prependTo( this.$btnContainer );
- this.$btnRemove = $(
- '<button type="button" class="button remove">' + this.l10n.remove + '</button>'
- ).prependTo( this.$btnContainer );
-
- // handy shortcut so we don't have to us _.bind every time we add a callback
- _.bindAll( this, 'removeImg', 'upload', 'render', 'pick' );
-
- this.$btnAdd.on( 'click', this.upload );
- this.$btnChange.on( 'click', this.upload );
- this.$btnRemove.on( 'click', this.removeImg );
-
- // Call render method whenever setting is changed.
- this.setting.bind( 'change', this.render );
- // Do initial rendering.
- this.render();
- },
- /**
- * Remember that _.bind was used to maintain `this` as the control
- * object rather than the usual jQuery way of binding to the DOM element.
- */
- upload: function( event ) {
- event.preventDefault();
-
- if ( ! this.frame ) {
- this.initFrame();
- }
-
- this.frame.open();
- },
- /**
- * Set the media frame so that it can be reused and accessed when needed.
- */
- initFrame: function() {
- this.frame = wp.media( {
- // The title of the media modal
- title: this.l10n.choose,
- // restrict to specified mime type
- library: {
- type: this.mime,
- },
- // Customize the submit button.
- button: {
- // Set the text of the button.
- text: this.l10n.set,
- },
- // Just one, thanks.
- multiple: false,
- } );
-
- // When an image is selected, run a callback.
- this.frame.on( 'select', this.pick );
- },
- /**
- * Fired when an image is selected in the media modal. Gets the selected
- * image information, and sets it within the control.
- */
- pick: function() {
- // get the attachment from the modal frame
- var attachment = this.frame
- .state()
- .get( 'selection' )
- .single();
- if ( 'image' === attachment.get( 'type' ) ) {
- // set the setting - the callback will take care of rendering
- this.setting( this.reduceMembers( attachment.toJSON() ) );
- }
- },
- /**
- * Reduces the attachment object to just the few desired members.
- * @param {object} attachment An attachment object provided by the
- * medial modal.
- * @return {object} A reduced media object.
- */
- reduceMembers: function( attachment ) {
- var desired = [ 'id', 'sizes', 'url' ],
- output = {};
- $.each( desired, function( i, key ) {
- output[ key ] = attachment[ key ];
- } );
- return output;
- },
- /**
- * Called on init and whenever a setting is changed. Shows the thumbnail
- * when there is one or the upload button when there isn't.
- */
- render: function() {
- var value = this.setting();
-
- if ( value && value.url ) {
- this.$placeholder.hide();
- if ( ! value.sizes || ! value.sizes.medium ) {
- this.$img.attr( 'src', value.url );
- } else {
- this.$img.attr( 'src', value.sizes.medium.url );
- }
- this.$img.show();
- this.$btnRemove.show();
- this.$btnChange.show();
- this.$btnAdd.hide();
- } else {
- this.$img.hide();
- this.$placeholder.show();
- this.$btnRemove.hide();
- this.$btnChange.hide();
- this.$btnAdd.show();
- }
- },
- /**
- * Called when the "Remove Image" link is clicked. Sets thes setting back
- * to its default state.
- * @param {object} event jQuery Event object from click event
- */
- removeImg: function( event ) {
- event.preventDefault();
- this.setting( {
- url: '',
- id: 0,
- } );
- },
- } );
-} )( this.wp, jQuery );
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo-control.min.js b/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo-control.min.js
deleted file mode 100644
index 171d98e8..00000000
--- a/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo-control.min.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(a,c){var b=a.customize;b.controlConstructor.site_logo=b.Control.extend({ready:function(){var d=this.container.find(".customize-control-title").data();this.l10n=d.l10n;this.mime=d.mime;this.$imgContainer=c("#customize-control-site_logo .current");this.$btnContainer=c("#customize-control-site_logo .actions");this.$img=c('<img class="site-logo-thumbnail" />').prependTo(this.$imgContainer);this.$placeholder=c("<span>"+this.l10n.placeholder+"</span>").prependTo(this.$imgContainer);this.$btnAdd=c('<button type="button" class="button new">'+this.l10n.upload+"</button>").prependTo(this.$btnContainer);this.$btnChange=c('<button type="button" class="button change">'+this.l10n.change+"</button>").prependTo(this.$btnContainer);this.$btnRemove=c('<button type="button" class="button remove">'+this.l10n.remove+"</button>").prependTo(this.$btnContainer);_.bindAll(this,"removeImg","upload","render","pick");this.$btnAdd.on("click",this.upload);this.$btnChange.on("click",this.upload);this.$btnRemove.on("click",this.removeImg);this.setting.bind("change",this.render);this.render()},upload:function(d){d.preventDefault();if(!this.frame){this.initFrame()}this.frame.open()},initFrame:function(){this.frame=a.media({title:this.l10n.choose,library:{type:this.mime},button:{text:this.l10n.set},multiple:false});this.frame.on("select",this.pick)},pick:function(){var d=this.frame.state().get("selection").first().toJSON();d=this.reduceMembers(d);this.setting(d)},reduceMembers:function(f){var e=["id","sizes","url"],d={};c.each(e,function(h,g){d[g]=f[g]});return d},render:function(){var d=this.setting();if(d&&d.url){this.$placeholder.hide();if(!d.sizes||!d.sizes.medium){this.$img.attr("src",d.url)}else{this.$img.attr("src",d.sizes.medium.url)}this.$img.show();this.$btnRemove.show();this.$btnChange.show();this.$btnAdd.hide()}else{this.$img.hide();this.$placeholder.show();this.$btnRemove.hide();this.$btnChange.hide();this.$btnAdd.show()}},removeImg:function(d){d.preventDefault();this.setting({url:"",id:0})}})})(this.wp,jQuery); \ No newline at end of file
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo.js b/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo.js
deleted file mode 100644
index 6c959c0c..00000000
--- a/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * JS for handling the Site Logo real-time display in the Customizer preview frame.
- */
-( function( $ ) {
- var api = wp.customize,
- $body,
- $anchor,
- $logo,
- size;
-
- function cacheSelectors() {
- $body = $( 'body' );
- $anchor = $( '.site-logo-link' );
- $logo = $( '.site-logo' );
- size = $logo.attr( 'data-size' );
- }
-
- api( 'site_logo', function( value ) {
- value.bind( function( newVal ) {
- // grab selectors the first time through
- if ( ! $body ) {
- cacheSelectors();
- }
-
- // Let's update our preview logo.
- if ( newVal && newVal.url ) {
- // If the source was smaller than the size required by the theme, give the biggest we've got.
- if ( ! newVal.sizes[ size ] ) {
- size = 'full';
- }
-
- $logo.attr( {
- height: newVal.sizes[ size ].height,
- width: newVal.sizes[ size ].width,
- src: newVal.sizes[ size ].url,
- } );
-
- $anchor.show();
- $body.addClass( 'has-site-logo' );
- } else {
- $anchor.hide();
- $body.removeClass( 'has-site-logo' );
- }
- } );
- } );
-} )( jQuery );
diff --git a/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo.min.js b/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo.min.js
deleted file mode 100644
index a6fe41eb..00000000
--- a/plugins/jetpack/modules/theme-tools/site-logo/js/site-logo.min.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(d){var e=wp.customize,c,f,g,a;e("site_logo",function(e){e.bind(function(b){c||(c=d("body"),f=d(".site-logo-link"),g=d(".site-logo"),a=g.attr("data-size"));b&&b.url?(b.sizes[a]||(a="full"),g.attr({height:b.sizes[a].height,width:b.sizes[a].width,src:b.sizes[a].url}),f.show(),c.addClass("has-site-logo")):(f.hide(),c.removeClass("has-site-logo"))})})})(jQuery); \ No newline at end of file
diff --git a/plugins/jetpack/modules/theme-tools/social-links.php b/plugins/jetpack/modules/theme-tools/social-links.php
index 98bac2d4..b11215a2 100644
--- a/plugins/jetpack/modules/theme-tools/social-links.php
+++ b/plugins/jetpack/modules/theme-tools/social-links.php
@@ -1,6 +1,6 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
- * Social Links.
+ * Theme Tools: Social Links.
*
* This feature will only be activated for themes that declare their support.
* This can be done by adding code similar to the following during the
@@ -9,8 +9,13 @@
* add_theme_support( 'social-links', array(
* 'facebook', 'twitter', 'linkedin', 'tumblr',
* ) );
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Init Social_Links if the theme declares support.
+ */
function jetpack_theme_supports_social_links() {
if ( current_theme_supports( 'social-links' ) && function_exists( 'publicize_init' ) ) {
new Social_Links();
@@ -20,6 +25,9 @@ add_action( 'init', 'jetpack_theme_supports_social_links', 30 );
if ( ! class_exists( 'Social_Links' ) ) {
+ /**
+ * Social_Links main class.
+ */
class Social_Links {
/**
@@ -74,11 +82,14 @@ if ( ! class_exists( 'Social_Links' ) ) {
add_filter( 'jetpack_get_social_links', array( $this, 'get_social_links' ) );
foreach ( $theme_support[0] as $service ) {
- add_filter( "pre_option_jetpack-$service", array( $this, 'get_social_link_filter' ) ); // get_option( 'jetpack-service' );
- add_filter( "theme_mod_jetpack-$service", array( $this, 'get_social_link_filter' ) ); // get_theme_mod( 'jetpack-service' );
+ add_filter( "pre_option_jetpack-$service", array( $this, 'get_social_link_filter' ) ); // - `get_option( 'jetpack-service' );`
+ add_filter( "theme_mod_jetpack-$service", array( $this, 'get_social_link_filter' ) ); // - `get_theme_mod( 'jetpack-service' );`
}
}
+ /**
+ * Init the admin setup.
+ */
public function admin_setup() {
if ( ! current_user_can( 'manage_options' ) ) {
return;
@@ -249,4 +260,4 @@ if ( ! class_exists( 'Social_Links' ) ) {
}
}
-} // end if ( ! class_exists( 'Social_Links' )
+} // - end if ( ! class_exists( 'Social_Links' )
diff --git a/plugins/jetpack/modules/theme-tools/social-menu.php b/plugins/jetpack/modules/theme-tools/social-menu.php
index abb5070c..df241b89 100644
--- a/plugins/jetpack/modules/theme-tools/social-menu.php
+++ b/plugins/jetpack/modules/theme-tools/social-menu.php
@@ -7,6 +7,8 @@
* 'after_setup_theme' action:
*
* add_theme_support( 'jetpack-social-menu' );
+ *
+ * @package automattic/jetpack
*/
/**
@@ -45,7 +47,7 @@ function jetpack_social_menu_init() {
// Load SVG icons related functions and filters
if ( 'svg' === jetpack_social_menu_get_type() ) {
- require dirname( __FILE__ ) . '/social-menu/icon-functions.php';
+ require __DIR__ . '/social-menu/icon-functions.php';
}
}
add_action( 'after_setup_theme', 'jetpack_social_menu_init', 99 );
@@ -100,7 +102,7 @@ function jetpack_social_menu() {
if ( 'svg' === $menu_type ) {
$link_after .= jetpack_social_menu_get_svg( array( 'icon' => 'chain' ) );
} ?>
- <nav class="jetpack-social-navigation jetpack-social-navigation-<?php echo esc_attr( $menu_type ); ?>" role="navigation" aria-label="<?php esc_html_e( 'Social Links Menu', 'jetpack' ); ?>">
+ <nav class="jetpack-social-navigation jetpack-social-navigation-<?php echo esc_attr( $menu_type ); ?>" aria-label="<?php esc_html_e( 'Social Links Menu', 'jetpack' ); ?>">
<?php
wp_nav_menu(
array(
diff --git a/plugins/jetpack/modules/tiled-gallery.php b/plugins/jetpack/modules/tiled-gallery.php
index 19e2068d..d44dad26 100644
--- a/plugins/jetpack/modules/tiled-gallery.php
+++ b/plugins/jetpack/modules/tiled-gallery.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Module Name: Tiled Galleries
* Module Description: Display image galleries in a variety of elegant arrangements.
@@ -10,14 +9,22 @@
* Feature: Appearance
* Sort Order: 24
* Additional Search Queries: gallery, tiles, tiled, grid, mosaic, images
+ *
+ * @package jetpack
*/
+/**
+ * Include the tiled gallery for loading.
+ */
function jetpack_load_tiled_gallery() {
- include dirname( __FILE__ ) . "/tiled-gallery/tiled-gallery.php";
+ include __DIR__ . '/tiled-gallery/tiled-gallery.php';
}
add_action( 'jetpack_modules_loaded', 'jetpack_tiled_gallery_loaded' );
+/**
+ * Enable the tiled gallery module.
+ */
function jetpack_tiled_gallery_loaded() {
Jetpack::enable_module_configurable( __FILE__ );
add_filter( 'jetpack_module_configuration_url_tiled-gallery', 'jetpack_tiled_gallery_configuration_url' );
diff --git a/plugins/jetpack/modules/tiled-gallery/math/class-constrained-array-rounding.php b/plugins/jetpack/modules/tiled-gallery/math/class-constrained-array-rounding.php
index d01a114a..7aa7e8de 100644
--- a/plugins/jetpack/modules/tiled-gallery/math/class-constrained-array-rounding.php
+++ b/plugins/jetpack/modules/tiled-gallery/math/class-constrained-array-rounding.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Lets you round the numeric elements of an array to integers while preserving their sum.
@@ -14,6 +14,14 @@
* If $sum is less than the sum of the floor of the elements of the array, the class defaults to using the sum of the array elements.
*/
class Jetpack_Constrained_Array_Rounding {
+ /**
+ * Get the rounded constrained array.
+ *
+ * @param array $bound_array - the array we're rounding.
+ * @param int $sum - the sum of the array.
+ *
+ * @return array
+ */
public static function get_rounded_constrained_array( $bound_array, $sum = false ) {
// Convert associative arrays before working with them and convert them back before returning the values
$keys = array_keys( $bound_array );
@@ -34,6 +42,13 @@ class Jetpack_Constrained_Array_Rounding {
return array_combine( $keys, $bound_array_fin );
}
+ /**
+ * Get int floor of array values.
+ *
+ * @param array $bound_array - the array we're getting floor values for.
+ *
+ * @return array
+ */
private static function get_int_floor_array( $bound_array ) {
$bound_array_int_floor = array();
foreach ( $bound_array as $i => $value ) {
@@ -47,6 +62,12 @@ class Jetpack_Constrained_Array_Rounding {
return $bound_array_int_floor;
}
+ /**
+ * Adjust the constrained array.
+ *
+ * @param array $bound_array_int - the array we're adjusting.
+ * @param int $adjustment - how much we're adjusting the array.
+ */
private static function adjust_constrained_array( &$bound_array_int, $adjustment ) {
usort( $bound_array_int, array( 'self', 'cmp_desc_fraction' ) );
@@ -61,15 +82,31 @@ class Jetpack_Constrained_Array_Rounding {
usort( $bound_array_int, array( 'self', 'cmp_asc_index' ) );
}
+ /**
+ * Compare fraction values of two arrays.
+ *
+ * @param array $a - the first array we're comparing.
+ * @param array $b - the second array we're comparing.
+ *
+ * @return int
+ */
private static function cmp_desc_fraction( $a, $b ) {
- if ( $a['fraction'] == $b['fraction'] ) {
+ if ( $a['fraction'] === $b['fraction'] ) {
return 0;
}
return $a['fraction'] > $b['fraction'] ? -1 : 1;
}
+ /**
+ * Compare index values of two arrays.
+ *
+ * @param array $a - the first array.
+ * @param array $b - the second array.
+ *
+ * @return int
+ */
private static function cmp_asc_index( $a, $b ) {
- if ( $a['index'] == $b['index'] ) {
+ if ( $a['index'] === $b['index'] ) {
return 0;
}
return $a['index'] < $b['index'] ? -1 : 1;
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery.php
index 768f8749..fcb5d89e 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery.php
@@ -1,31 +1,51 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Status;
// Include the class file containing methods for rounding constrained array elements.
// Here the constrained array element is the dimension of a row, group or an image in the tiled gallery.
-require_once dirname( __FILE__ ) . '/math/class-constrained-array-rounding.php';
+require_once __DIR__ . '/math/class-constrained-array-rounding.php';
// Layouts
-require_once dirname( __FILE__ ) . '/tiled-gallery/tiled-gallery-rectangular.php';
-require_once dirname( __FILE__ ) . '/tiled-gallery/tiled-gallery-square.php';
-require_once dirname( __FILE__ ) . '/tiled-gallery/tiled-gallery-circle.php';
+require_once __DIR__ . '/tiled-gallery/tiled-gallery-rectangular.php';
+require_once __DIR__ . '/tiled-gallery/tiled-gallery-square.php';
+require_once __DIR__ . '/tiled-gallery/tiled-gallery-circle.php';
+/**
+ * Jetpack tiled gallery class.
+ */
class Jetpack_Tiled_Gallery {
+ /**
+ * Supported gallery design types.
+ *
+ * @var array
+ */
private static $talaveras = array( 'rectangular', 'square', 'circle', 'rectangle', 'columns' );
+ /**
+ * Class constructor.
+ */
public function __construct() {
add_action( 'admin_init', array( $this, 'settings_api_init' ) );
add_filter( 'jetpack_gallery_types', array( $this, 'jetpack_gallery_types' ), 9 );
add_filter( 'jetpack_default_gallery_type', array( $this, 'jetpack_default_gallery_type' ) );
}
+ /**
+ * Check whether tiling is enabled.
+ *
+ * @return bool
+ */
public function tiles_enabled() {
- // Check the setting status
- return '' != Jetpack_Options::get_option_and_ensure_autoload( 'tiled_galleries', '' );
+ return '' !== Jetpack_Options::get_option_and_ensure_autoload( 'tiled_galleries', '' );
}
+ /**
+ * Set attributes.
+ *
+ * @param array $atts - the attributes.
+ */
public function set_atts( $atts ) {
global $post;
@@ -49,8 +69,8 @@ class Jetpack_Tiled_Gallery {
$this->float = is_rtl() ? 'right' : 'left';
// Default to rectangular is tiled galleries are checked
- if ( $this->tiles_enabled() && ( ! $this->atts['type'] || 'default' == $this->atts['type'] ) ) {
- /** This filter is already documented in functions.gallery.php */
+ if ( $this->tiles_enabled() && ( ! $this->atts['type'] || 'default' === $this->atts['type'] ) ) {
+ /** This filter is already documented in class-jetpack-gallery-settings.php */
$this->atts['type'] = apply_filters( 'jetpack_default_gallery_type', 'rectangular' );
}
@@ -61,7 +81,7 @@ class Jetpack_Tiled_Gallery {
}
}
- if ( 'rand' == strtolower( $this->atts['order'] ) ) {
+ if ( 'rand' === strtolower( $this->atts['order'] ) ) {
$this->atts['orderby'] = 'rand';
}
@@ -71,6 +91,11 @@ class Jetpack_Tiled_Gallery {
}
}
+ /**
+ * Get the media attachments.
+ *
+ * @return WP_Post[]
+ */
public function get_attachments() {
$atts = $this->atts;
@@ -130,6 +155,9 @@ class Jetpack_Tiled_Gallery {
return $attachments;
}
+ /**
+ * Enqueue the default scripts and styles.
+ */
public static function default_scripts_and_styles() {
wp_enqueue_script(
'tiled-gallery',
@@ -137,19 +165,27 @@ class Jetpack_Tiled_Gallery {
'_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.js',
'modules/tiled-gallery/tiled-gallery/tiled-gallery.js'
),
- array()
+ array(),
+ JETPACK__VERSION,
+ false
);
wp_enqueue_style( 'tiled-gallery', plugins_url( 'tiled-gallery/tiled-gallery.css', __FILE__ ), array(), '2012-09-21' );
wp_style_add_data( 'tiled-gallery', 'rtl', 'replace' );
}
+ /**
+ * The gallery shortcode.
+ *
+ * @param mixed $val - the value.
+ * @param array $atts - the attributes.
+ *
+ * @return string
+ */
public function gallery_shortcode( $val, $atts ) {
if ( ! empty( $val ) ) { // something else is overriding post_gallery, like a custom VIP shortcode
return $val;
}
- global $post;
-
$this->set_atts( $atts );
$attachments = $this->get_attachments();
@@ -161,21 +197,18 @@ class Jetpack_Tiled_Gallery {
return '';
}
- if (
- in_array(
- $this->atts['type'],
- /**
- * Filters the permissible Tiled Gallery types.
- *
- * @module tiled-gallery
- *
- * @since 3.7.0
- *
- * @param array Array of allowed types. Default: 'rectangular', 'square', 'circle', 'rectangle', 'columns'.
- */
- $talaveras = apply_filters( 'jetpack_tiled_gallery_types', self::$talaveras )
- )
- ) {
+ /**
+ * Filters the permissible Tiled Gallery types.
+ *
+ * @module tiled-gallery
+ *
+ * @since 3.7.0
+ *
+ * @param array Array of allowed types. Default: 'rectangular', 'square', 'circle', 'rectangle', 'columns'.
+ */
+ $talaveras = apply_filters( 'jetpack_tiled_gallery_types', self::$talaveras );
+
+ if ( in_array( $this->atts['type'], $talaveras, true ) ) {
// Enqueue styles and scripts
self::default_scripts_and_styles();
@@ -198,6 +231,11 @@ class Jetpack_Tiled_Gallery {
return '';
}
+ /**
+ * See if gallery is already defined.
+ *
+ * @return bool
+ */
public static function gallery_already_redefined() {
global $shortcode_tags;
$redefined = false;
@@ -218,6 +256,9 @@ class Jetpack_Tiled_Gallery {
return apply_filters( 'jetpack_tiled_gallery_shortcode_redefined', $redefined );
}
+ /**
+ * Initialize the tiled gallery.
+ */
public static function init() {
if ( self::gallery_already_redefined() ) {
return;
@@ -227,6 +268,11 @@ class Jetpack_Tiled_Gallery {
add_filter( 'post_gallery', array( $gallery, 'gallery_shortcode' ), 1001, 2 );
}
+ /**
+ * Get the width of the gallery.
+ *
+ * @return int
+ */
public static function get_content_width() {
$tiled_gallery_content_width = Jetpack::get_content_width();
@@ -248,8 +294,12 @@ class Jetpack_Tiled_Gallery {
/**
* Media UI integration
+ *
+ * @param array $types - the type of gallery.
+ *
+ * @return array
*/
- function jetpack_gallery_types( $types ) {
+ public function jetpack_gallery_types( $types ) {
if ( get_option( 'tiled_galleries' ) && isset( $types['default'] ) ) {
// Tiled is set as the default, meaning that type='default'
// will still display the mosaic.
@@ -265,11 +315,21 @@ class Jetpack_Tiled_Gallery {
return $types;
}
- function jetpack_default_gallery_type() {
+ /**
+ * Get the default gallery type.
+ *
+ * @return string
+ */
+ public function jetpack_default_gallery_type() {
return ( get_option( 'tiled_galleries' ) ? 'rectangular' : 'default' );
}
- static function get_talaveras() {
+ /**
+ * Get the talaveras.
+ *
+ * @return array
+ */
+ public static function get_talaveras() {
return self::$talaveras;
}
@@ -277,7 +337,7 @@ class Jetpack_Tiled_Gallery {
* Add a checkbox field to the Carousel section in Settings > Media
* for setting tiled galleries as the default.
*/
- function settings_api_init() {
+ public function settings_api_init() {
global $wp_settings_sections;
// Add the setting field [tiled_galleries] and place it in Settings > Media
@@ -291,10 +351,13 @@ class Jetpack_Tiled_Gallery {
register_setting( 'media', 'tiled_galleries', 'esc_attr' );
}
- function setting_html() {
+ /**
+ * Render the settings HTML.
+ */
+ public function setting_html() {
echo '<label><input name="tiled_galleries" type="checkbox" value="1" ' .
- checked( 1, '' != get_option( 'tiled_galleries' ), false ) . ' /> ' .
- __( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ) . '</br></label>';
+ checked( 1, '' !== get_option( 'tiled_galleries' ), false ) . ' /> ' .
+ esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ) . '</br></label>';
}
}
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/carousel-container.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/carousel-container.php
index 6fb74a20..43850d18 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/carousel-container.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/carousel-container.php
@@ -1,20 +1,20 @@
<?php
-if ( defined( 'JSON_HEX_AMP' ) ) {
- // see shortcodes/slideshow.php
- // This is nice to have, but not strictly necessary since we use _wp_specialchars() below
- // phpcs:ignore PHPCompatibility
- $extra = json_encode( $this->get_container_extra_data(), JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT );
-} else {
- $extra = json_encode( $this->get_container_extra_data() );
-}
+/**
+ * Encode extra carousel container data.
+ *
+ * @package jetpack
+ */
+
+// Using JSON_HEX_AMP avoids breakage due to `esc_attr()` refusing to double-encode.
+$extra = wp_json_encode( $this->get_container_extra_data(), JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT ); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
?>
<div
- class="tiled-gallery type-<?php echo $this->type; ?> tiled-gallery-unresized"
+ class="tiled-gallery type-<?php echo esc_html( $this->type ); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable ?> tiled-gallery-unresized"
data-original-width="<?php echo esc_attr( Jetpack_Tiled_Gallery::get_content_width() ); ?>"
<?php if ( isset( $extra ) ) : ?>
- data-carousel-extra='<?php echo _wp_specialchars( wp_check_invalid_utf8( $extra ), ENT_QUOTES, false, true ); ?>'
+data-carousel-extra='<?php echo esc_attr( $extra ); ?>'
<?php endif; ?>
itemscope itemtype="http://schema.org/ImageGallery"
>
- <?php $this->template( "$this->type-layout", $context ); ?>
+ <?php $this->template( "$this->type-layout", $context ); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable ?>
</div>
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/carousel-image-args.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/carousel-image-args.php
index 44d6f3e3..6d25a0fa 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/carousel-image-args.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/carousel-image-args.php
@@ -11,20 +11,15 @@ if ( isset( $fuzzy_image_meta['keywords'] ) ) {
unset( $fuzzy_image_meta['keywords'] );
}
-if ( defined( 'JSON_HEX_AMP' ) ) {
- // see shortcodes/slideshow.php
- // This is nice to have, but not strictly necessary since we use _wp_specialchars() below
- // phpcs:ignore PHPCompatibility
- $fuzzy_image_meta = json_encode( array_map( 'strval', $fuzzy_image_meta ), JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT );
-} else {
- $fuzzy_image_meta = json_encode( array_map( 'strval', $fuzzy_image_meta ) );
-}
+// Using JSON_HEX_AMP avoids breakage due to `esc_attr()` refusing to double-encode.
+$fuzzy_image_meta = wp_json_encode( array_map( 'strval', $fuzzy_image_meta ), JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT );
+
?>
data-attachment-id="<?php echo esc_attr( $item->image->ID ); ?>"
data-orig-file="<?php echo esc_url( wp_get_attachment_url( $item->image->ID ) ); ?>"
data-orig-size="<?php echo esc_attr( $item->meta_width() ); ?>,<?php echo esc_attr( $item->meta_height() ); ?>"
data-comments-opened="<?php echo esc_attr( comments_open( $item->image->ID ) ); ?>"
-data-image-meta="<?php echo _wp_specialchars( wp_check_invalid_utf8( $fuzzy_image_meta ), ENT_QUOTES, false, true ); ?>"
+data-image-meta="<?php echo esc_attr( $fuzzy_image_meta ); ?>"
data-image-title="<?php echo esc_attr( htmlspecialchars( wptexturize( $item->image->post_title ) ) ); ?>"
data-image-description="<?php echo esc_attr( htmlspecialchars( wpautop( wptexturize( $item->image->post_content ) ) ) ); ?>"
data-medium-file="<?php echo esc_url( $item->medium_file() ); ?>"
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/item.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/item.php
index 2f8a9e7c..8872f452 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/item.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/templates/partials/item.php
@@ -1,6 +1,12 @@
<?php
+/**
+ * Handles more photo metadata.
+ *
+ * @package jetpack
+ */
+
$item = $context['item']; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
-$add_link = 'none' !== $this->link;
+$add_link = 'none' !== $this->link; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
// We do this for accessibility. Titles without alt's break screen readers.
if ( empty( $item->image_alt ) && ! empty( $item->image_title ) ) {
@@ -10,16 +16,16 @@ if ( empty( $item->image_alt ) && ! empty( $item->image_title ) ) {
<div class="tiled-gallery-item
<?php
if ( isset( $item->size ) ) {
- echo " tiled-gallery-item-$item->size";}
+ echo esc_attr( " tiled-gallery-item-$item->size" );}
?>
" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
<?php if ( $add_link ) : ?>
- <a href="<?php echo $item->link; ?>" border="0" itemprop="url">
+ <a href="<?php echo esc_url( $item->link ); ?>" border="0" itemprop="url">
<?php endif; ?>
<meta itemprop="width" content="<?php echo esc_attr( $item->image->width ); ?>">
<meta itemprop="height" content="<?php echo esc_attr( $item->image->height ); ?>">
<img
- <?php $this->partial( 'carousel-image-args', array( 'item' => $item ) ); ?>
+ <?php $this->partial( 'carousel-image-args', array( 'item' => $item ) ); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable ?>
src="<?php echo esc_url( $item->img_src ); ?>"
width="<?php echo esc_attr( $item->image->width ); ?>"
height="<?php echo esc_attr( $item->image->height ); ?>"
@@ -34,9 +40,9 @@ if ( isset( $item->size ) ) {
</a>
<?php endif; ?>
- <?php if ( $this->grayscale == true ) : ?>
+ <?php if ( ! empty( $this->grayscale ) ) : ?>
<?php if ( $add_link ) : ?>
- <a href="<?php echo $item->link; ?>" border="0" itemprop="url">
+ <a href="<?php echo esc_url( $item->link ); ?>" border="0" itemprop="url">
<?php endif; ?>
<meta itemprop="width" content="<?php echo esc_attr( $item->image->width ); ?>">
<meta itemprop="height" content="<?php echo esc_attr( $item->image->height ); ?>">
@@ -60,7 +66,7 @@ if ( isset( $item->size ) ) {
<?php if ( trim( $item->image->post_excerpt ) ) : ?>
<div class="tiled-gallery-caption" itemprop="caption description">
- <?php echo wptexturize( $item->image->post_excerpt ); ?>
+ <?php echo wptexturize( $item->image->post_excerpt ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
<?php endif; ?>
</div>
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-circle.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-circle.php
index 1addcb91..b1baf72a 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-circle.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-circle.php
@@ -1,7 +1,15 @@
-<?php
-require_once dirname( __FILE__ ) . '/tiled-gallery-square.php';
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+require_once __DIR__ . '/tiled-gallery-square.php';
+/**
+ * Jetpack tiled gallery layout circle class.
+ */
class Jetpack_Tiled_Gallery_Layout_Circle extends Jetpack_Tiled_Gallery_Layout_Square {
+ /**
+ * Type of tiled gallery.
+ *
+ * @var string
+ */
protected $type = 'circle';
}
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-item.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-item.php
index cdf5305e..d1f0dcd7 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-item.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-item.php
@@ -1,7 +1,24 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * Jetpack Tiled Gallery Item class.
+ */
abstract class Jetpack_Tiled_Gallery_Item {
+
+ /**
+ * The image data.
+ *
+ * @var object
+ */
public $image;
+ /**
+ * Constructor function.
+ *
+ * @param object $attachment_image - the attachment image.
+ * @param string $needs_attachment_link - the attachment link.
+ * @param bool $grayscale - if the image is in grayscale.
+ */
public function __construct( $attachment_image, $needs_attachment_link, $grayscale ) {
$this->image = $attachment_image;
$this->grayscale = $grayscale;
@@ -11,11 +28,11 @@ abstract class Jetpack_Tiled_Gallery_Item {
$this->image_alt = get_post_meta( $this->image->ID, '_wp_attachment_image_alt', true );
// If no Alt value, use the caption
if ( empty( $this->image_alt ) && ! empty( $this->image->post_excerpt ) ) {
- $this->image_alt = trim( strip_tags( $this->image->post_excerpt ) );
+ $this->image_alt = trim( wp_strip_all_tags( $this->image->post_excerpt ) );
}
// If still no Alt value, use the title
if ( empty( $this->image_alt ) && ! empty( $this->image->post_title ) ) {
- $this->image_alt = trim( strip_tags( $this->image->post_title ) );
+ $this->image_alt = trim( wp_strip_all_tags( $this->image->post_title ) );
}
$this->orig_file = wp_get_attachment_url( $this->image->ID );
@@ -29,7 +46,7 @@ abstract class Jetpack_Tiled_Gallery_Item {
'h' => $this->image->height,
);
// If h and w are the same, there's a reasonably good chance the image will need cropping to avoid being stretched.
- if ( $this->image->height == $this->image->width ) {
+ if ( $this->image->height === $this->image->width ) {
$img_args['crop'] = true;
}
// The function will always photonoize the URL (even if Photon is
@@ -37,12 +54,17 @@ abstract class Jetpack_Tiled_Gallery_Item {
$this->img_src = jetpack_photon_url( $this->orig_file, $img_args );
}
+ /**
+ * Handle the fuzzy image meta.
+ *
+ * @return array
+ */
public function fuzzy_image_meta() {
$meta = wp_get_attachment_metadata( $this->image->ID );
$img_meta = ( ! empty( $meta['image_meta'] ) ) ? (array) $meta['image_meta'] : array();
if ( ! empty( $img_meta ) ) {
foreach ( $img_meta as $k => $v ) {
- if ( 'latitude' == $k || 'longitude' == $k ) {
+ if ( 'latitude' === $k || 'longitude' === $k ) {
unset( $img_meta[ $k ] );
}
}
@@ -51,22 +73,42 @@ abstract class Jetpack_Tiled_Gallery_Item {
return $img_meta;
}
+ /**
+ * Return the meta width.
+ *
+ * @return int|string
+ */
public function meta_width() {
$meta = wp_get_attachment_metadata( $this->image->ID );
return isset( $meta['width'] ) ? (int) $meta['width'] : '';
}
+ /**
+ * Return the meta height.
+ *
+ * @return int|string
+ */
public function meta_height() {
$meta = wp_get_attachment_metadata( $this->image->ID );
return isset( $meta['height'] ) ? (int) $meta['height'] : '';
}
+ /**
+ * Return the medium file info.
+ *
+ * @return array|string
+ */
public function medium_file() {
$medium_file_info = wp_get_attachment_image_src( $this->image->ID, 'medium' );
$medium_file = isset( $medium_file_info[0] ) ? $medium_file_info[0] : '';
return $medium_file;
}
+ /**
+ * Return large file info.
+ *
+ * @return array|string
+ */
public function large_file() {
$large_file_info = wp_get_attachment_image_src( $this->image->ID, 'large' );
$large_file = isset( $large_file_info[0] ) ? $large_file_info[0] : '';
@@ -74,7 +116,17 @@ abstract class Jetpack_Tiled_Gallery_Item {
}
}
-class Jetpack_Tiled_Gallery_Rectangular_Item extends Jetpack_Tiled_Gallery_Item {
+/**
+ * Tiled gallery rectangular item class.
+ */
+class Jetpack_Tiled_Gallery_Rectangular_Item extends Jetpack_Tiled_Gallery_Item { // phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound, Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
+ /**
+ * Constructor function.
+ *
+ * @param object $attachment_image - the attachment image.
+ * @param string $needs_attachment_link - the attachment link.
+ * @param bool $grayscale - if the image is in grayscale.
+ */
public function __construct( $attachment_image, $needs_attachment_link, $grayscale ) {
parent::__construct( $attachment_image, $needs_attachment_link, $grayscale );
$this->img_src_grayscale = jetpack_photon_url( $this->img_src, array( 'filter' => 'grayscale' ) );
@@ -87,7 +139,17 @@ class Jetpack_Tiled_Gallery_Rectangular_Item extends Jetpack_Tiled_Gallery_Item
}
}
-class Jetpack_Tiled_Gallery_Square_Item extends Jetpack_Tiled_Gallery_Item {
+/**
+ * Tiled gallery square item class.
+ */
+class Jetpack_Tiled_Gallery_Square_Item extends Jetpack_Tiled_Gallery_Item { // phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound, Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
+ /**
+ * Constructor function.
+ *
+ * @param object $attachment_image - the attachment image.
+ * @param string $needs_attachment_link - the attachment link.
+ * @param bool $grayscale - if the image is in grayscale.
+ */
public function __construct( $attachment_image, $needs_attachment_link, $grayscale ) {
parent::__construct( $attachment_image, $needs_attachment_link, $grayscale );
$this->img_src_grayscale = jetpack_photon_url(
@@ -103,5 +165,8 @@ class Jetpack_Tiled_Gallery_Square_Item extends Jetpack_Tiled_Gallery_Item {
}
}
-class Jetpack_Tiled_Gallery_Circle_Item extends Jetpack_Tiled_Gallery_Square_Item {
+/**
+ * Tiled gallery circle item class.
+ */
+class Jetpack_Tiled_Gallery_Circle_Item extends Jetpack_Tiled_Gallery_Square_Item { // phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound, Generic.Classes.OpeningBraceSameLine.ContentAfterBrace
}
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-layout.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-layout.php
index 11699c7c..f7541cc5 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-layout.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-layout.php
@@ -1,24 +1,81 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+/**
+ * Tiled gallery layout class.
+ */
abstract class Jetpack_Tiled_Gallery_Layout {
- // Template allow list.
+ /**
+ * Template allow list.
+ *
+ * @var array
+ */
private static $templates = array( 'carousel-container', 'circle-layout', 'rectangular-layout', 'square-layout' );
- private static $partials = array( 'carousel-image-args', 'item' );
- protected $type; // Defined in child classes
+ /**
+ * Partial list.
+ *
+ * @var array
+ */
+ private static $partials = array( 'carousel-image-args', 'item' );
+
+ /**
+ * Type of gallery - defined in parent class.
+ *
+ * @var string
+ */
+ protected $type;
+
+ /**
+ * The attachments.
+ *
+ * @var object
+ */
public $attachments;
+
+ /**
+ * The attachment link.
+ *
+ * @var string
+ */
public $link;
+
+ /**
+ * If the image is in grayscale.
+ *
+ * @var bool
+ */
public $grayscale;
+
+ /**
+ * How many columns.
+ *
+ * @var int
+ */
public $columns;
- public function __construct( $attachments, $link, $grayscale, $columns ) {
+ /**
+ * Constructor function.
+ *
+ * @param object $attachments - the attachmed image.
+ * @param string $link - the attachment link.
+ * @param bool $grayscale - if the image is in grayscale.
+ * @param int $columns - how many columns.
+ */
+ public function __construct( $attachments, $link, $grayscale, $columns ) {
$this->attachments = $attachments;
$this->link = $link;
- $this->needs_attachment_link = ! ( isset( $link ) && $link == 'file' );
+ $this->needs_attachment_link = $link !== 'file';
$this->grayscale = $grayscale;
$this->columns = $columns;
}
- public function HTML( $context = array() ) {
+ /**
+ * Render carousel container template.
+ *
+ * @param array $context - the context.
+ * @return string HTML
+ */
+ public function HTML( $context = array() ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
// Render the carousel container template, which will take the
// appropriate strategy to fill it
ob_start();
@@ -39,8 +96,14 @@ abstract class Jetpack_Tiled_Gallery_Layout {
return $html;
}
+ /**
+ * Handle tiled gallery template path.
+ *
+ * @param string $name Template name.
+ * @param array $context Context array passed to the template.
+ */
private function template( $name, $context = null ) {
- if ( ! in_array( $name, self::$templates ) ) {
+ if ( ! in_array( $name, self::$templates, true ) ) {
return;
}
@@ -54,11 +117,17 @@ abstract class Jetpack_Tiled_Gallery_Layout {
* @param string $path Template name.
* @param array $context Context array passed to the template.
*/
- require apply_filters( 'jetpack_tiled_gallery_template', dirname( __FILE__ ) . "/templates/$name.php", $name, $context );
+ require apply_filters( 'jetpack_tiled_gallery_template', __DIR__ . "/templates/$name.php", $name, $context );
}
+ /**
+ * Handle tiled gallery partial path.
+ *
+ * @param string $name - the name.
+ * @param array $context Context array passed to the partial.
+ */
private function partial( $name, $context = null ) {
- if ( ! in_array( $name, self::$partials ) ) {
+ if ( ! in_array( $name, self::$partials, true ) ) {
return;
}
@@ -72,9 +141,12 @@ abstract class Jetpack_Tiled_Gallery_Layout {
* @param string $path Partial name.
* @param array $context Context array passed to the partial.
*/
- require apply_filters( 'jetpack_tiled_gallery_partial', dirname( __FILE__ ) . "/templates/partials/$name.php", $name, $context );
+ require apply_filters( 'jetpack_tiled_gallery_partial', __DIR__ . "/templates/partials/$name.php", $name, $context );
}
+ /**
+ * Get extra container data.
+ */
protected function get_container_extra_data() {
global $post;
@@ -86,7 +158,7 @@ abstract class Jetpack_Tiled_Gallery_Layout {
$likes_blog_id = Jetpack_Options::get_option( 'id' );
}
- if ( class_exists( 'Jetpack_Carousel' ) || in_array( 'carousel', Jetpack::get_active_modules() ) || 'carousel' == $this->link ) {
+ if ( class_exists( 'Jetpack_Carousel' ) || in_array( 'carousel', Jetpack::get_active_modules(), true ) || 'carousel' === $this->link ) {
$extra_data = array(
'blog_id' => $blog_id,
'permalink' => get_permalink( isset( $post->ID ) ? $post->ID : 0 ),
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rectangular.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rectangular.php
index 9ea272fc..cd687eb8 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rectangular.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rectangular.php
@@ -1,12 +1,28 @@
-<?php
-require_once dirname( __FILE__ ) . '/tiled-gallery-layout.php';
-require_once dirname( __FILE__ ) . '/tiled-gallery-shape.php';
-require_once dirname( __FILE__ ) . '/tiled-gallery-item.php';
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+require_once __DIR__ . '/tiled-gallery-layout.php';
+require_once __DIR__ . '/tiled-gallery-shape.php';
+require_once __DIR__ . '/tiled-gallery-item.php';
+
+// phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+/**
+ * Tiled gallery rectangular layout.
+ */
class Jetpack_Tiled_Gallery_Layout_Rectangular extends Jetpack_Tiled_Gallery_Layout {
+
+ /**
+ * The layout type.
+ *
+ * @var string
+ */
protected $type = 'rectangular';
- public function HTML( $context = array() ) {
+ /**
+ * The HTML function.
+ *
+ * @param array $context - the context array, unused.
+ * @return string HTML
+ */
+ public function HTML( $context = array() ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$grouper = new Jetpack_Tiled_Gallery_Grouper( $this->attachments );
Jetpack_Tiled_Gallery_Shape::reset_last_shape();
@@ -14,24 +30,54 @@ class Jetpack_Tiled_Gallery_Layout_Rectangular extends Jetpack_Tiled_Gallery_Lay
}
}
+/**
+ * Tiled gallery layout columns class.
+ */
class Jetpack_Tiled_Gallery_Layout_Columns extends Jetpack_Tiled_Gallery_Layout {
+
+ /**
+ * The layout type.
+ *
+ * @var string
+ */
protected $type = 'rectangular'; // It doesn't need separate template for now
- public function HTML( $context = array() ) {
+ /**
+ * The HTML function.
+ *
+ * @param array $context - the context array, unused.
+ * @return string HTML
+ */
+ public function HTML( $context = array() ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$grouper = new Jetpack_Tiled_Gallery_Grouper( $this->attachments, array( 'Three_Columns', 'Two' ) );
return parent::HTML( array( 'rows' => $grouper->grouped_images ) );
}
}
-// Alias
+/**
+ * Gallery layout rectangle alis.
+ */
class Jetpack_Tiled_Gallery_Layout_Rectangle extends Jetpack_Tiled_Gallery_Layout_Rectangular {}
-// Image grouping and HTML generation logic
+/**
+ * Image grouping and HTML generation logic class.
+ */
class Jetpack_Tiled_Gallery_Grouper {
+
+ /**
+ * The margin.
+ *
+ * @var int
+ */
public $margin = 4;
- // This list is ordered. If you put a shape that's likely to occur on top, it will happen all the time.
+ /**
+ * Shapes array.
+ * This list is ordered. If you put a shape that's likely to occur on top, it will happen all the time.
+ *
+ * @var array
+ */
public $shapes = array(
'Reverse_Symmetric_Row',
'Long_Symmetric_Row',
@@ -46,6 +92,12 @@ class Jetpack_Tiled_Gallery_Grouper {
'Panoramic',
);
+ /**
+ * Constructor function.
+ *
+ * @param object $attachments - the attachments.
+ * @param array $shapes - the shapes.
+ */
public function __construct( $attachments, $shapes = array() ) {
$content_width = Jetpack_Tiled_Gallery::get_content_width();
@@ -56,12 +108,22 @@ class Jetpack_Tiled_Gallery_Grouper {
$this->apply_content_width( $content_width );
}
+ /**
+ * Overwrite the shapes.
+ *
+ * @param array $shapes - the shapes.
+ */
public function overwrite_shapes( $shapes ) {
if ( ! empty( $shapes ) ) {
$this->shapes = $shapes;
}
}
+ /**
+ * Get the current row size.
+ *
+ * @return array
+ */
public function get_current_row_size() {
$images_left = count( $this->images );
if ( $images_left < 3 ) {
@@ -81,6 +143,13 @@ class Jetpack_Tiled_Gallery_Grouper {
return array( 1, 1 );
}
+ /**
+ * Get images with sizes.
+ *
+ * @param object $attachments - the attachments.
+ *
+ * @return array
+ */
public function get_images_with_sizes( $attachments ) {
$images_with_sizes = array();
@@ -96,6 +165,11 @@ class Jetpack_Tiled_Gallery_Grouper {
return $images_with_sizes;
}
+ /**
+ * Get the current row size.
+ *
+ * @return array
+ */
public function read_row() {
$vector = $this->get_current_row_size();
@@ -107,6 +181,11 @@ class Jetpack_Tiled_Gallery_Grouper {
return $row;
}
+ /**
+ * Get grouped images.
+ *
+ * @return array
+ */
public function get_grouped_images() {
$grouped_images = array();
@@ -117,8 +196,14 @@ class Jetpack_Tiled_Gallery_Grouper {
return $grouped_images;
}
- // todo: split in functions
- // todo: do not stretch images
+ /**
+ * Apply content width.
+ *
+ * @param int $width - the width.
+ *
+ * @todo split in functions
+ * @todo do not stretch images
+ */
public function apply_content_width( $width ) {
foreach ( $this->grouped_images as $row ) {
$row->width = $width;
@@ -129,6 +214,11 @@ class Jetpack_Tiled_Gallery_Grouper {
}
}
+ /**
+ * Calculate group sizes.
+ *
+ * @param object $row - the row.
+ */
public function calculate_group_sizes( $row ) {
// Storing the calculated group heights in an array for rounding them later while preserving their sum
// This fixes the rounding error that can lead to a few ugly pixels sticking out in the gallery
@@ -147,6 +237,11 @@ class Jetpack_Tiled_Gallery_Grouper {
}
}
+ /**
+ * Calculate image sizes.
+ *
+ * @param object $group - the group of images.
+ */
public function calculate_image_sizes( $group ) {
// Storing the calculated image heights in an array for rounding them later while preserving their sum
// This fixes the rounding error that can lead to a few ugly pixels sticking out in the gallery
@@ -167,13 +262,27 @@ class Jetpack_Tiled_Gallery_Grouper {
}
}
+/**
+ * Jetpack tiled row class.
+ */
class Jetpack_Tiled_Gallery_Row {
+
+ /**
+ * Constructor class.
+ *
+ * @param object $groups - the group of images.
+ */
public function __construct( $groups ) {
$this->groups = $groups;
$this->ratio = $this->get_ratio();
$this->weighted_ratio = $this->get_weighted_ratio();
}
+ /**
+ * Get the ratio.
+ *
+ * @return int
+ */
public function get_ratio() {
$ratio = 0;
foreach ( $this->groups as $group ) {
@@ -182,6 +291,11 @@ class Jetpack_Tiled_Gallery_Row {
return $ratio > 0 ? $ratio : 1;
}
+ /**
+ * Get weighted ratio.
+ *
+ * @return int
+ */
public function get_weighted_ratio() {
$weighted_ratio = 0;
foreach ( $this->groups as $group ) {
@@ -191,12 +305,25 @@ class Jetpack_Tiled_Gallery_Row {
}
}
+/**
+ * Tiled gallery group class.
+ */
class Jetpack_Tiled_Gallery_Group {
+ /**
+ * Constructor class.
+ *
+ * @param object $images - the images.
+ */
public function __construct( $images ) {
$this->images = $images;
$this->ratio = $this->get_ratio();
}
+ /**
+ * Get the ratio.
+ *
+ * @return int
+ */
public function get_ratio() {
$ratio = 0;
foreach ( $this->images as $image ) {
@@ -211,6 +338,14 @@ class Jetpack_Tiled_Gallery_Group {
return 1 / $ratio;
}
+ /**
+ * The items.
+ *
+ * @param string $needs_attachment_link - the attachment link.
+ * @param bool $grayscale - if the image is in grayscale.
+ *
+ * @return array
+ */
public function items( $needs_attachment_link, $grayscale ) {
$items = array();
foreach ( $this->images as $image ) {
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rtl.css b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rtl.css
index f54f744c..c331bda7 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rtl.css
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-rtl.css
@@ -1 +1 @@
-.tiled-gallery{clear:both;margin:0 0 20px;overflow:hidden}.tiled-gallery img{margin:2px!important}.tiled-gallery .gallery-group{float:right;position:relative}.tiled-gallery .tiled-gallery-item{float:right;margin:0;position:relative;width:inherit}.tiled-gallery .gallery-row{overflow:hidden}.tiled-gallery .tiled-gallery-item a{background:100% 0;border:none;color:inherit;margin:0;padding:0;text-decoration:none;width:auto}.tiled-gallery .tiled-gallery-item img,.tiled-gallery .tiled-gallery-item img:hover{background:100% 0;border:none;box-shadow:none;max-width:100%;padding:0;vertical-align:middle}.tiled-gallery-caption{background:#f0f0f1;background:rgba(255,255,255,.8);color:#333;font-size:13px;font-weight:400;overflow:hidden;padding:10px 0;position:absolute;bottom:0;text-indent:10px;text-overflow:ellipsis;width:100%;white-space:nowrap}.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption{font-size:11px}.widget-gallery .tiled-gallery-unresized{visibility:hidden;height:0;overflow:hidden}.tiled-gallery .tiled-gallery-item img.grayscale{position:absolute;right:0;top:0}.tiled-gallery .tiled-gallery-item img.grayscale:hover{opacity:0}.tiled-gallery.type-circle .tiled-gallery-item img{border-radius:50%!important;-o-object-fit:cover;object-fit:cover}.tiled-gallery.type-circle .tiled-gallery-caption{display:none}.tiled-gallery.type-square .tiled-gallery-item img{-o-object-fit:cover;object-fit:cover} \ No newline at end of file
+.tiled-gallery{clear:both;margin:0 0 20px;overflow:hidden}.tiled-gallery img{margin:2px!important}.tiled-gallery .gallery-group{float:right;position:relative}.tiled-gallery .tiled-gallery-item{float:right;margin:0;position:relative;width:inherit}.tiled-gallery .gallery-row{overflow:hidden}.tiled-gallery .tiled-gallery-item a{background:transparent;border:none;color:inherit;margin:0;padding:0;text-decoration:none;width:auto}.tiled-gallery .tiled-gallery-item img,.tiled-gallery .tiled-gallery-item img:hover{background:none;border:none;box-shadow:none;max-width:100%;padding:0;vertical-align:middle}.tiled-gallery-caption{background:#f0f0f1;background:hsla(0,0%,100%,.8);bottom:0;color:#333;font-size:13px;font-weight:400;overflow:hidden;padding:10px 0;position:absolute;text-indent:10px;text-overflow:ellipsis;white-space:nowrap;width:100%}.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption{font-size:11px}.widget-gallery .tiled-gallery-unresized{height:0;overflow:hidden;visibility:hidden}.tiled-gallery .tiled-gallery-item img.grayscale{position:absolute;right:0;top:0}.tiled-gallery .tiled-gallery-item img.grayscale:hover{opacity:0}.tiled-gallery.type-circle .tiled-gallery-item img{border-radius:50%!important;-o-object-fit:cover;object-fit:cover}.tiled-gallery.type-circle .tiled-gallery-caption{display:none}.tiled-gallery.type-square .tiled-gallery-item img{-o-object-fit:cover;object-fit:cover} \ No newline at end of file
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-shape.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-shape.php
index bc243966..2294bd1a 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-shape.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-shape.php
@@ -1,102 +1,249 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+// phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
+/**
+ * Jetpack tiled gallery shape class.
+ */
class Jetpack_Tiled_Gallery_Shape {
- static $shapes_used = array();
+ /**
+ * Shapes used.
+ *
+ * @var array
+ */
+ public static $shapes_used = array();
+
+ /**
+ * Constructor class.
+ *
+ * @param object $images - the images.
+ */
public function __construct( $images ) {
$this->images = $images;
$this->images_left = count( $images );
}
+ /**
+ * Return the sum of ratio images.
+ *
+ * @param int $number_of_images - the number of images.
+ *
+ * @return int
+ */
public function sum_ratios( $number_of_images = 3 ) {
return array_sum( array_slice( wp_list_pluck( $this->images, 'ratio' ), 0, $number_of_images ) );
}
+ /**
+ * Check that the next images are symmetric
+ *
+ * @return bool
+ */
public function next_images_are_symmetric() {
- return $this->images_left > 2 && $this->images[0]->ratio == $this->images[2]->ratio;
+ return $this->images_left > 2 && $this->images[0]->ratio === $this->images[2]->ratio;
}
+ /**
+ * Is not as previous.
+ *
+ * @param int $n - the previous image.
+ *
+ * @return bool
+ */
public function is_not_as_previous( $n = 1 ) {
- return ! in_array( get_class( $this ), array_slice( self::$shapes_used, -$n ) );
+ return ! in_array( get_class( $this ), array_slice( self::$shapes_used, -$n ), true );
}
+ /**
+ * Check if the theme is wide.
+ *
+ * @return bool
+ */
public function is_wide_theme() {
return Jetpack::get_content_width() > 1000;
}
+ /**
+ * Check if the image is landscape.
+ *
+ * @param object $image - the image.
+ *
+ * @return bool
+ */
public function image_is_landscape( $image ) {
return $image->ratio >= 1 && $image->ratio < 2;
}
+ /**
+ * Check if the image is portrait.
+ *
+ * @param object $image - the image.
+ *
+ * @return bool
+ */
public function image_is_portrait( $image ) {
return $image->ratio < 1;
}
+ /**
+ * Check if the image is panoramic.
+ *
+ * @param object $image - the image.
+ *
+ * @return bool
+ */
public function image_is_panoramic( $image ) {
return $image->ratio >= 2;
}
+ /**
+ * Set the last shape.
+ *
+ * @param string $last_shape - the last shape.
+ */
public static function set_last_shape( $last_shape ) {
self::$shapes_used[] = $last_shape;
}
+ /**
+ * Reset the last shape.
+ */
public static function reset_last_shape() {
self::$shapes_used = array();
}
}
+/**
+ * Jetpack tiled gallery three class.
+ */
class Jetpack_Tiled_Gallery_Three extends Jetpack_Tiled_Gallery_Shape {
+
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 1, 1, 1 );
+ /**
+ * Checks if there's enough images.
+ *
+ * @return array
+ */
public function is_possible() {
$ratio = $this->sum_ratios( 3 );
- $has_enough_images = $this->images_left >= 3 && ! in_array( $this->images_left, array( 4, 6 ) );
+ $has_enough_images = $this->images_left >= 3 && ! in_array( $this->images_left, array( 4, 6 ), true );
return $has_enough_images && $this->is_not_as_previous( 3 ) &&
( ( $ratio < 2.5 ) || ( $ratio < 5 && $this->next_images_are_symmetric() ) || $this->is_wide_theme() );
}
}
+/**
+ * Jetpack tiled gallery four class.
+ */
class Jetpack_Tiled_Gallery_Four extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 1, 1, 1, 1 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->is_not_as_previous() &&
(
( $this->sum_ratios( 4 ) < 3.5 && $this->images_left > 5 ) ||
- ( $this->sum_ratios( 4 ) < 7 && $this->images_left == 4 )
+ ( $this->sum_ratios( 4 ) < 7 && $this->images_left === 4 )
);
}
}
+/**
+ * Jetpack tiled gallery five class.
+ */
class Jetpack_Tiled_Gallery_Five extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 1, 1, 1, 1, 1 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->is_wide_theme() && $this->is_not_as_previous() && $this->sum_ratios( 5 ) < 5 &&
- ( $this->images_left == 5 || ( $this->images_left != 10 && $this->images_left > 6 ) );
+ ( $this->images_left === 5 || ( $this->images_left !== 10 && $this->images_left > 6 ) );
}
}
+/**
+ * Jetpack tiled gallery two one class.
+ */
class Jetpack_Tiled_Gallery_Two_One extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 2, 1 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->is_not_as_previous( 3 ) && $this->images_left >= 2 &&
$this->images[2]->ratio < 1.6 && $this->images[0]->ratio >= 0.9 && $this->images[0]->ratio < 2.0 && $this->images[1]->ratio >= 0.9 && $this->images[1]->ratio < 2.0;
}
}
+/**
+ * Jetpack tiled gallery one two class.
+ */
class Jetpack_Tiled_Gallery_One_Two extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 1, 2 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->is_not_as_previous( 3 ) && $this->images_left >= 2 &&
$this->images[0]->ratio < 1.6 && $this->images[1]->ratio >= 0.9 && $this->images[1]->ratio < 2.0 && $this->images[2]->ratio >= 0.9 && $this->images[2]->ratio < 2.0;
}
}
+/**
+ * Jetpack tiled gallery one three class.
+ */
class Jetpack_Tiled_Gallery_One_Three extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 1, 3 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->is_not_as_previous( 3 ) && $this->images_left > 3 &&
$this->image_is_portrait( $this->images[0] ) &&
@@ -106,9 +253,22 @@ class Jetpack_Tiled_Gallery_One_Three extends Jetpack_Tiled_Gallery_Shape {
}
}
+/**
+ * Jetpack tiled gallery three one class.
+ */
class Jetpack_Tiled_Gallery_Three_One extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 3, 1 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->is_not_as_previous( 3 ) && $this->images_left > 3 &&
$this->image_is_portrait( $this->images[3] ) &&
@@ -118,30 +278,70 @@ class Jetpack_Tiled_Gallery_Three_One extends Jetpack_Tiled_Gallery_Shape {
}
}
+/**
+ * Jetpack tiled gallery panoramic class.
+ */
class Jetpack_Tiled_Gallery_Panoramic extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 1 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->image_is_panoramic( $this->images[0] );
}
}
+/**
+ * Jetpack tiled gallery symmetric class.
+ */
class Jetpack_Tiled_Gallery_Symmetric_Row extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 1, 2, 1 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->is_not_as_previous( 5 ) &&
$this->images_left > 3 &&
- $this->images_left != 5 &&
+ $this->images_left !== 5 &&
$this->image_is_portrait( $this->images[0] ) &&
$this->image_is_landscape( $this->images[1] ) &&
$this->image_is_landscape( $this->images[2] ) &&
$this->image_is_portrait( $this->images[3] );
}
}
+
+/**
+ * Jetpack tiled gallery reverse symmetric row class.
+ */
class Jetpack_Tiled_Gallery_Reverse_Symmetric_Row extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 2, 1, 2 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->is_not_as_previous( 5 ) && $this->images_left > 15 &&
$this->image_is_landscape( $this->images[0] ) &&
@@ -152,9 +352,22 @@ class Jetpack_Tiled_Gallery_Reverse_Symmetric_Row extends Jetpack_Tiled_Gallery_
}
}
+/**
+ * Jetpack tiled gallery long symmetric row class.
+ */
class Jetpack_Tiled_Gallery_Long_Symmetric_Row extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array( 3, 1, 3 );
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return $this->is_not_as_previous( 5 ) && $this->images_left > 15 &&
$this->image_is_landscape( $this->images[0] ) &&
@@ -167,15 +380,31 @@ class Jetpack_Tiled_Gallery_Long_Symmetric_Row extends Jetpack_Tiled_Gallery_Sha
}
}
+/**
+ * Jetpack tiled gallery three columns class.
+ */
class Jetpack_Tiled_Gallery_Three_Columns extends Jetpack_Tiled_Gallery_Shape {
+ /**
+ * The shape.
+ *
+ * @var array
+ */
public $shape = array();
+ /**
+ * Constructor class.
+ *
+ * @param object $images - the images.
+ */
public function __construct( $images ) {
parent::__construct( $images );
$total_ratio = $this->sum_ratios( $this->images_left );
$approximate_column_ratio = $total_ratio / 3;
- $column_one_images = $column_two_images = $column_three_images = $sum = 0;
+ $column_one_images = 0;
+ $column_two_images = 0;
+ $column_three_images = 0;
+ $sum = 0;
foreach ( $this->images as $image ) {
if ( $sum <= $approximate_column_ratio ) {
@@ -203,6 +432,11 @@ class Jetpack_Tiled_Gallery_Three_Columns extends Jetpack_Tiled_Gallery_Shape {
}
}
+ /**
+ * Check if it's possible.
+ *
+ * @return bool
+ */
public function is_possible() {
return ! empty( $this->shape );
}
diff --git a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-square.php b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-square.php
index 735c19eb..467f2747 100644
--- a/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-square.php
+++ b/plugins/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-square.php
@@ -1,19 +1,32 @@
-<?php
-require_once dirname( __FILE__ ) . '/tiled-gallery-layout.php';
-require_once dirname( __FILE__ ) . '/tiled-gallery-item.php';
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+require_once __DIR__ . '/tiled-gallery-layout.php';
+require_once __DIR__ . '/tiled-gallery-item.php';
+/**
+ * Jetpack tiled gallery square layout class.
+ */
class Jetpack_Tiled_Gallery_Layout_Square extends Jetpack_Tiled_Gallery_Layout {
+
+ /**
+ * Layout type.
+ *
+ * @var string
+ */
protected $type = 'square';
+ /**
+ * Compute the items.
+ */
private function compute_items() {
$content_width = Jetpack_Tiled_Gallery::get_content_width();
$images_per_row = ( $this->columns > 1 ? $this->columns : 1 );
$margin = 2;
- $margin_space = ( $images_per_row * $margin ) * 2;
- $size = floor( ( $content_width - $margin_space ) / $images_per_row );
- $img_size = $remainder_size = $size;
- $remainder = count( $this->attachments ) % $images_per_row;
+ $margin_space = ( $images_per_row * $margin ) * 2;
+ $size = floor( ( $content_width - $margin_space ) / $images_per_row );
+ $remainder_size = $size;
+ $img_size = $remainder_size;
+ $remainder = count( $this->attachments ) % $images_per_row;
if ( $remainder > 0 ) {
$remainder_space = ( $remainder * $margin ) * 2;
$remainder_size = floor( ( $content_width - $remainder_space ) / $remainder );
@@ -31,7 +44,8 @@ class Jetpack_Tiled_Gallery_Layout_Square extends Jetpack_Tiled_Gallery_Layout {
$img_size = $size;
}
- $image->width = $image->height = $img_size;
+ $image->width = $img_size;
+ $image->height = $image->width;
$item = new Jetpack_Tiled_Gallery_Square_Item( $image, $this->needs_attachment_link, $this->grayscale );
@@ -39,7 +53,7 @@ class Jetpack_Tiled_Gallery_Layout_Square extends Jetpack_Tiled_Gallery_Layout {
$c ++;
$items_in_row++;
- if ( $images_per_row === $items_in_row || $remainder + 1 == $c ) {
+ if ( $images_per_row === $items_in_row || $remainder + 1 === $c ) {
$rows[] = $row;
$items_in_row = 0;
@@ -63,7 +77,13 @@ class Jetpack_Tiled_Gallery_Layout_Square extends Jetpack_Tiled_Gallery_Layout {
return $rows;
}
- public function HTML( $context = array() ) {
+ /**
+ * The html.
+ *
+ * @param array $context - the context, unused.
+ * @return string HTML
+ */
+ public function HTML( $context = array() ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return parent::HTML( array( 'rows' => $this->compute_items() ) );
}
}
diff --git a/plugins/jetpack/modules/vaultpress.php b/plugins/jetpack/modules/vaultpress.php
index aeeb0219..0555d8ff 100644
--- a/plugins/jetpack/modules/vaultpress.php
+++ b/plugins/jetpack/modules/vaultpress.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:disable WordPress.WP.CapitalPDangit.Misspelled
/**
* Module Name: Backups and Scanning
* Module Description: Protect your site with daily or real-time backups and automated virus scanning and threat detection.
@@ -15,6 +15,9 @@
add_action( 'jetpack_modules_loaded', 'vaultpress_jetpack_stub' );
+/**
+ * Conditionally enable module configuration.
+ */
function vaultpress_jetpack_stub() {
if ( class_exists( 'VaultPress' ) || function_exists( 'vaultpress_contact_service' ) ) {
Jetpack::enable_module_configurable( __FILE__ );
@@ -23,11 +26,17 @@ function vaultpress_jetpack_stub() {
}
}
+/**
+ * Text for filter jetpack_module_free_text_vaultpress.
+ */
function vaultpress_jetpack_module_free_text() {
return __( 'Active', 'jetpack' );
}
+/**
+ * URL for filter jetpack_module_configuration_url_vaultpress.
+ */
function vaultpress_jetpack_configure_url() {
- include_once( ABSPATH . '/wp-admin/includes/plugin.php' );
+ include_once ABSPATH . '/wp-admin/includes/plugin.php';
return menu_page_url( 'vaultpress', false );
}
diff --git a/plugins/jetpack/modules/verification-tools/blog-verification-tools.php b/plugins/jetpack/modules/verification-tools/blog-verification-tools.php
index e3f0dbac..09778c2c 100644
--- a/plugins/jetpack/modules/verification-tools/blog-verification-tools.php
+++ b/plugins/jetpack/modules/verification-tools/blog-verification-tools.php
@@ -1,6 +1,16 @@
<?php
+/**
+ * Handles site verification services.
+ *
+ * @package jetpack
+ */
-// Edit here to add new services
+/**
+ * Return an array of supported verification services.
+ * Add new services to this function.
+ *
+ * @return array - an array of supported services.
+ */
function jetpack_verification_services() {
return array(
'google' => array(
@@ -36,6 +46,9 @@ function jetpack_verification_services() {
);
}
+/**
+ * Register Jetpack verification settings.
+ */
function jetpack_verification_options_init() {
register_setting(
'verification_services_codes_fields',
@@ -46,6 +59,9 @@ function jetpack_verification_options_init() {
add_action( 'admin_init', 'jetpack_verification_options_init' );
add_action( 'rest_api_init', 'jetpack_verification_options_init' );
+/**
+ * Print the site verification meta in the page head.
+ */
function jetpack_verification_print_meta() {
$verification_services_codes = Jetpack_Options::get_option_and_ensure_autoload( 'verification_services_codes', '0' );
if ( is_array( $verification_services_codes ) ) {
@@ -71,7 +87,7 @@ function jetpack_verification_print_meta() {
$ver_output .= "\n";
}
}
- echo $ver_output;
+ echo $ver_output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
add_action( 'wp_head', 'jetpack_verification_print_meta', 1 );
diff --git a/plugins/jetpack/modules/verification-tools/verification-tools-utils.php b/plugins/jetpack/modules/verification-tools/verification-tools-utils.php
index 6faec481..1f916e96 100644
--- a/plugins/jetpack/modules/verification-tools/verification-tools-utils.php
+++ b/plugins/jetpack/modules/verification-tools/verification-tools-utils.php
@@ -1,14 +1,20 @@
<?php
-
-/*
+/**
* Helper functions that are called from API even when module is inactive should be added here.
* This file will be included in module-extras.php.
+ *
+ * @package jetpack
*/
if ( ! function_exists( 'jetpack_verification_validate' ) ) {
+ /**
+ * Validate jetpack verification codes.
+ *
+ * @param array $verification_services_codes - array of verification codes.
+ */
function jetpack_verification_validate( $verification_services_codes ) {
foreach ( $verification_services_codes as $key => $code ) {
- // Parse html meta tag if it does not look like a valid code
+ // Parse html meta tag if it does not look like a valid code.
if ( ! preg_match( '/^[a-z0-9_-]+$/i', $code ) ) {
$code = jetpack_verification_get_code( $code );
}
@@ -37,6 +43,11 @@ if ( ! function_exists( 'jetpack_verification_validate' ) ) {
}
if ( ! function_exists( 'jetpack_verification_get_code' ) ) {
+ /**
+ * Return the code we're trying to verify after decoding.
+ *
+ * @param string $code - the code we need to parse.
+ */
function jetpack_verification_get_code( $code ) {
$pattern = '/content=["\']?([^"\' ]*)["\' ]/is';
preg_match( $pattern, $code, $match );
diff --git a/plugins/jetpack/modules/videopress.php b/plugins/jetpack/modules/videopress.php
index eafc1b67..4709658f 100644
--- a/plugins/jetpack/modules/videopress.php
+++ b/plugins/jetpack/modules/videopress.php
@@ -8,19 +8,24 @@
* Module Tags: Photos and Videos
* Feature: Writing
* Additional Search Queries: video, videos, videopress, video gallery, video player, videoplayer, mobile video, vimeo, youtube, html5 video, stream
+ *
+ * @package automattic/jetpack
*/
-include_once dirname( __FILE__ ) . '/videopress/shortcode.php';
-include_once dirname( __FILE__ ) . '/videopress/class.videopress-options.php';
-include_once dirname( __FILE__ ) . '/videopress/class.videopress-scheduler.php';
-include_once dirname( __FILE__ ) . '/videopress/class.videopress-xmlrpc.php';
-include_once dirname( __FILE__ ) . '/videopress/class.videopress-cli.php';
-include_once dirname( __FILE__ ) . '/videopress/class.jetpack-videopress.php';
+/**
+ * Require the VideoPress files.
+ */
+require_once __DIR__ . '/videopress/shortcode.php';
+require_once __DIR__ . '/videopress/class.videopress-options.php';
+require_once __DIR__ . '/videopress/class.videopress-scheduler.php';
+require_once __DIR__ . '/videopress/class.videopress-xmlrpc.php';
+require_once __DIR__ . '/videopress/class.videopress-cli.php';
+require_once __DIR__ . '/videopress/class.jetpack-videopress.php';
require_once __DIR__ . '/videopress/class-videopress-attachment-metadata.php';
if ( is_admin() ) {
- include_once dirname( __FILE__ ) . '/videopress/editor-media-view.php';
- include_once dirname( __FILE__ ) . '/videopress/class.videopress-edit-attachment.php';
- include_once dirname( __FILE__ ) . '/videopress/class.videopress-ajax.php';
+ include_once __DIR__ . '/videopress/editor-media-view.php';
+ include_once __DIR__ . '/videopress/class.videopress-edit-attachment.php';
+ include_once __DIR__ . '/videopress/class.videopress-ajax.php';
}
diff --git a/plugins/jetpack/modules/videopress/class-videopress-attachment-metadata.php b/plugins/jetpack/modules/videopress/class-videopress-attachment-metadata.php
index c745350b..9a50ef31 100644
--- a/plugins/jetpack/modules/videopress/class-videopress-attachment-metadata.php
+++ b/plugins/jetpack/modules/videopress/class-videopress-attachment-metadata.php
@@ -15,18 +15,19 @@ class Videopress_Attachment_Metadata {
/**
* Persist the VideoPress metadata information, including rating and display_embed.
*
- * @param string|int $post_id The post id.
- * @param string $guid VideoPress Guid.
- * @param string $post_title The post title.
- * @param string $caption Video caption.
- * @param string $post_excerpt The post excerpt.
- * @param string $rating The rating.
- * @param int $display_embed The display_embed.
- * @param int $allow_download Allow video downloads.
+ * @param string|int $post_id The post id.
+ * @param string $guid VideoPress Guid.
+ * @param string $post_title The post title.
+ * @param string $caption Video caption.
+ * @param string $post_excerpt The post excerpt.
+ * @param string $rating The rating.
+ * @param int $display_embed The display_embed.
+ * @param int $allow_download Allow video downloads.
+ * @param int $privacy_setting The video privacy setting.
*
* @return bool|\WP_Error
*/
- public static function persist_metadata( $post_id, $guid, $post_title, $caption, $post_excerpt, $rating, $display_embed, $allow_download ) {
+ public static function persist_metadata( $post_id, $guid, $post_title, $caption, $post_excerpt, $rating, $display_embed, $allow_download, $privacy_setting ) {
$post_id = absint( $post_id );
$args = array(
@@ -35,10 +36,11 @@ class Videopress_Attachment_Metadata {
);
// Keep null values to avoid accidental unset.
- $display_embed = null === $display_embed ? null : (int) $display_embed;
- $allow_download = null === $allow_download ? null : (int) $allow_download;
+ $display_embed = null === $display_embed ? null : (int) $display_embed;
+ $allow_download = null === $allow_download ? null : (int) $allow_download;
+ $privacy_setting = null === $privacy_setting ? null : (int) $privacy_setting;
- $values = self::build_wpcom_api_request_values( $post_title, $caption, $post_excerpt, $rating, $display_embed, $allow_download );
+ $values = self::build_wpcom_api_request_values( $post_title, $caption, $post_excerpt, $rating, $display_embed, $allow_download, $privacy_setting );
$endpoint = 'videos';
$values['guid'] = $guid;
@@ -68,6 +70,10 @@ class Videopress_Attachment_Metadata {
$meta['videopress']['rating'] = $values['rating'];
}
+ if ( isset( $values['privacy_setting'] ) ) {
+ $meta['videopress']['privacy_setting'] = $values['privacy_setting'];
+ }
+
wp_update_attachment_metadata( $post_id, $meta );
return true;
@@ -111,6 +117,16 @@ class Videopress_Attachment_Metadata {
}
/**
+ * Check if privacy_setting has valid values
+ *
+ * @param mixed $privacy_setting The value to test.
+ * @return bool
+ */
+ private static function is_privacy_setting_valid( $privacy_setting ) {
+ return in_array( $privacy_setting, array( VIDEOPRESS_PRIVACY::IS_PUBLIC, VIDEOPRESS_PRIVACY::IS_PRIVATE, VIDEOPRESS_PRIVACY::SITE_DEFAULT ), true );
+ }
+
+ /**
* Validate the response received from WPCOM.
*
* @param array|\WP_Error $result The result returned by the client.
@@ -147,10 +163,11 @@ class Videopress_Attachment_Metadata {
* @param string $rating The video rating.
* @param string $display_embed The video display_embed.
* @param int $allow_download The video allow_download.
+ * @param int $privacy_setting The video privacy setting.
*
* @return array
*/
- private static function build_wpcom_api_request_values( $post_title, $caption, $post_excerpt, $rating, $display_embed, $allow_download ) {
+ private static function build_wpcom_api_request_values( $post_title, $caption, $post_excerpt, $rating, $display_embed, $allow_download, $privacy_setting ) {
$values = array();
// Add the video title & description in, so that we save it properly.
@@ -178,6 +195,10 @@ class Videopress_Attachment_Metadata {
$values['allow_download'] = $allow_download;
}
+ if ( self::is_privacy_setting_valid( $privacy_setting ) ) {
+ $values['privacy_setting'] = $privacy_setting;
+ }
+
return $values;
}
}
diff --git a/plugins/jetpack/modules/videopress/class.jetpack-videopress.php b/plugins/jetpack/modules/videopress/class.jetpack-videopress.php
index 0d02cbe0..2f79fc0d 100644
--- a/plugins/jetpack/modules/videopress/class.jetpack-videopress.php
+++ b/plugins/jetpack/modules/videopress/class.jetpack-videopress.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Connection\Client;
@@ -7,11 +7,19 @@ use Automattic\Jetpack\Connection\Client;
* VideoPress in Jetpack
*/
class Jetpack_VideoPress {
- /** @var string */
+ /**
+ * Module name.
+ *
+ * @var string
+ */
public $module = 'videopress';
- /** @var int */
- public $version = 5;
+ /**
+ * Version number used for cache busting.
+ *
+ * @var string
+ */
+ const VERSION = '6';
/**
* Singleton
@@ -32,7 +40,6 @@ class Jetpack_VideoPress {
* Sets up the initializer and makes sure that videopress activates and deactivates properly.
*/
private function __construct() {
- // $this->version = time(); // <s>ghost</s> cache busters!
add_action( 'init', array( $this, 'on_init' ) );
add_action( 'jetpack_deactivate_module_videopress', array( $this, 'jetpack_module_deactivated' ) );
}
@@ -62,10 +69,43 @@ class Jetpack_VideoPress {
if ( $this->is_videopress_enabled() ) {
add_action( 'admin_notices', array( $this, 'media_new_page_admin_notice' ) );
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_jwt_token_bridge' ) );
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_jwt_token_bridge' ), 1 );
}
}
/**
+ * Enqueues the jwt bridge script.
+ */
+ public function enqueue_jwt_token_bridge() {
+ global $post;
+ $post_id = isset( $post->ID ) ? absint( $post->ID ) : 0;
+
+ $bridge_url = Assets::get_file_url_for_environment(
+ 'modules/videopress/js/videopress-token-bridge.js',
+ 'modules/videopress/js/videopress-token-bridge.js'
+ );
+
+ wp_enqueue_script(
+ 'media-video-jwt-bridge',
+ $bridge_url,
+ array(),
+ self::VERSION,
+ false
+ );
+
+ wp_localize_script(
+ 'media-video-jwt-bridge',
+ 'videopressAjax',
+ array(
+ 'ajaxUrl' => admin_url( 'admin-ajax.php' ),
+ 'bridgeUrl' => $bridge_url,
+ 'post_id' => $post_id,
+ )
+ );
+ }
+
+ /**
* The media-new.php page isn't supported for uploading to VideoPress.
*
* There is either a technical reason for this (bulk uploader isn't overridable),
@@ -100,10 +140,11 @@ class Jetpack_VideoPress {
}
/**
- * A can of coke
+ * Similar to current_user_can, but internal to VideoPress.
*
- * Similar to current_user_can, but internal to VideoPress. Returns
- * true if the given VideoPress capability is allowed by the given user.
+ * @param string $cap Capability name.
+ * @param int $user_id User ID.
+ * @return bool Returns true if the given VideoPress capability is allowed by the given user.
*/
public function can( $cap, $user_id = false ) {
if ( ! $user_id ) {
@@ -120,11 +161,11 @@ class Jetpack_VideoPress {
return false;
}
- if ( 'edit_videos' == $cap && ! user_can( $user_id, 'edit_others_posts' ) ) {
+ if ( 'edit_videos' === $cap && ! user_can( $user_id, 'edit_others_posts' ) ) {
return false;
}
- if ( 'delete_videos' == $cap && ! user_can( $user_id, 'delete_others_posts' ) ) {
+ if ( 'delete_videos' === $cap && ! user_can( $user_id, 'delete_others_posts' ) ) {
return false;
}
@@ -135,7 +176,7 @@ class Jetpack_VideoPress {
* Register and enqueue VideoPress admin styles.
*/
public function enqueue_admin_styles() {
- wp_register_style( 'videopress-admin', plugins_url( 'videopress-admin.css', __FILE__ ), array(), $this->version );
+ wp_register_style( 'videopress-admin', plugins_url( 'videopress-admin.css', __FILE__ ), array(), self::VERSION );
wp_enqueue_style( 'videopress-admin' );
}
@@ -215,7 +256,8 @@ class Jetpack_VideoPress {
'jquery',
'wp-plupload',
),
- $this->version
+ self::VERSION,
+ true
);
wp_enqueue_script(
@@ -227,7 +269,8 @@ class Jetpack_VideoPress {
array(
'videopress-plupload',
),
- $this->version
+ self::VERSION,
+ true
);
wp_enqueue_script(
@@ -237,7 +280,7 @@ class Jetpack_VideoPress {
'modules/videopress/js/media-video-widget-extensions.js'
),
array(),
- $this->version,
+ self::VERSION,
true
);
}
@@ -269,7 +312,9 @@ class Jetpack_VideoPress {
}
/**
- * Modify the default plupload config to turn on videopress specific filters.
+ * Modify the default plupload config to turn on VideoPress specific filters.
+ *
+ * @param array $config The plupload config.
*/
public function videopress_pluploder_config( $config ) {
@@ -285,7 +330,6 @@ class Jetpack_VideoPress {
return $config;
}
-
/**
* Helper function to determine if the media uploader should be overridden.
*
@@ -309,7 +353,7 @@ class Jetpack_VideoPress {
);
// Only load on the post, new post, or upload pages.
- if ( ! in_array( $pagenow, $acceptable_pages ) ) {
+ if ( ! in_array( $pagenow, $acceptable_pages, true ) ) {
return false;
}
@@ -344,7 +388,7 @@ class Jetpack_VideoPress {
return false;
}
- if ( ! isset( $_GET['action'] ) || $_GET['action'] !== 'add-new' ) {
+ if ( ! isset( $_GET['action'] ) || $_GET['action'] !== 'add-new' ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
return false;
}
@@ -363,7 +407,7 @@ class Jetpack_VideoPress {
/**
* Makes sure that all video mimes are added in, as multi site installs can remove them.
*
- * @param array $existing_mimes
+ * @param array $existing_mimes Mime types to extend/filter.
* @return array
*/
public function add_video_upload_mimes( $existing_mimes = array() ) {
@@ -383,7 +427,7 @@ class Jetpack_VideoPress {
/**
* Filter designed to get rid of non video mime types.
*
- * @param string $value
+ * @param string $value Mime type to filter.
* @return int
*/
public function filter_video_mimes( $value ) {
@@ -391,9 +435,11 @@ class Jetpack_VideoPress {
}
/**
- * @param string $icon
- * @param string $mime
- * @param int $post_id
+ * Filter the mime type icon.
+ *
+ * @param string $icon Icon path.
+ * @param string $mime Mime type.
+ * @param int $post_id Post ID.
*
* @return string
*/
@@ -413,7 +459,9 @@ class Jetpack_VideoPress {
}
/**
- * @param array $extensions
+ * Filter the list of supported video formats.
+ *
+ * @param array $extensions Supported video formats.
*
* @return array
*/
diff --git a/plugins/jetpack/modules/videopress/class.videopress-ajax.php b/plugins/jetpack/modules/videopress/class.videopress-ajax.php
index 620605a9..a554e89b 100644
--- a/plugins/jetpack/modules/videopress/class.videopress-ajax.php
+++ b/plugins/jetpack/modules/videopress/class.videopress-ajax.php
@@ -1,10 +1,15 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Connection\Client;
+/**
+ * VideoPress AJAX action handlers and utilities.
+ */
class VideoPress_AJAX {
/**
+ * Singleton VideoPress_AJAX instance.
+ *
* @var VideoPress_AJAX
**/
private static $instance = null;
@@ -16,6 +21,9 @@ class VideoPress_AJAX {
*/
private function __construct() {
add_action( 'wp_ajax_videopress-get-upload-token', array( $this, 'wp_ajax_videopress_get_upload_token' ) );
+ add_action( 'wp_ajax_videopress-get-upload-jwt', array( $this, 'wp_ajax_videopress_get_upload_jwt' ) );
+ add_action( 'wp_ajax_nopriv_videopress-get-playback-jwt', array( $this, 'wp_ajax_videopress_get_playback_jwt' ) );
+ add_action( 'wp_ajax_videopress-get-playback-jwt', array( $this, 'wp_ajax_videopress_get_playback_jwt' ) );
add_action(
'wp_ajax_videopress-update-transcoding-status',
@@ -33,7 +41,7 @@ class VideoPress_AJAX {
* @return VideoPress_AJAX
*/
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new VideoPress_AJAX();
}
@@ -41,6 +49,180 @@ class VideoPress_AJAX {
}
/**
+ * Validate a guid.
+ *
+ * @param string $guid The guid to validate.
+ *
+ * @return bool
+ **/
+ private function is_valid_guid( $guid ) {
+ if ( empty( $guid ) ) {
+ return false;
+ }
+
+ preg_match( '/^[a-z0-9]+$/i', $guid, $matches );
+
+ if ( empty( $matches ) ) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Ajax method that is used by the VideoPress player to get a token to play a video.
+ *
+ * This is used for both logged in and logged out users.
+ *
+ * @return void
+ */
+ public function wp_ajax_videopress_get_playback_jwt() {
+ $guid = filter_input( INPUT_POST, 'guid' );
+ $embedded_post_id = filter_input( INPUT_POST, 'post_id', FILTER_VALIDATE_INT );
+
+ if ( empty( $embedded_post_id ) ) {
+ $embedded_post_id = 0;
+ }
+
+ if ( empty( $guid ) || ! $this->is_valid_guid( $guid ) ) {
+ wp_send_json_error( array( 'message' => __( 'need a guid', 'jetpack' ) ) );
+ return;
+ }
+
+ if ( ! $this->is_current_user_authed_for_video( $guid, $embedded_post_id ) ) {
+ wp_send_json_error( array( 'message' => __( 'You cannot view this video.', 'jetpack' ) ) );
+ return;
+ }
+
+ $token = $this->request_jwt_from_wpcom( $guid );
+
+ if ( empty( $token ) ) {
+ wp_send_json_error( array( 'message' => __( 'Could not obtain a VideoPress playback JWT. Please try again later. (empty upload token)', 'jetpack' ) ) );
+ return;
+ }
+
+ if ( is_wp_error( $token ) ) {
+ wp_send_json_error( array( 'message' => __( 'Could not obtain a VideoPress upload JWT. Please try again later.', 'jetpack' ) ) );
+ return;
+ }
+
+ wp_send_json_success( array( 'jwt' => $token ) );
+ }
+
+ /**
+ * Determines if the current user can view the provided video. Only ever gets fired if site-wide private videos are enabled.
+ *
+ * Filterable for 3rd party plugins.
+ *
+ * @param string $guid The video id being checked.
+ * @param int $embedded_post_id The post id the video is embedded in or 0.
+ */
+ private function is_current_user_authed_for_video( $guid, $embedded_post_id ) {
+ $attachment = videopress_get_post_by_guid( $guid );
+ if ( ! $attachment ) {
+ return false;
+ }
+
+ $video_info = video_get_info_by_blogpostid( get_current_blog_id(), $attachment->ID );
+ if ( null === $video_info->guid ) {
+ return false;
+ }
+
+ $is_user_authed = false;
+ // Determine if video is public, private or use site default.
+ switch ( $video_info->privacy_setting ) {
+ case VIDEOPRESS_PRIVACY::IS_PUBLIC:
+ $is_user_authed = true;
+ break;
+ case VIDEOPRESS_PRIVACY::IS_PRIVATE:
+ $is_user_authed = current_user_can( 'read' );
+ break;
+ case VIDEOPRESS_PRIVACY::SITE_DEFAULT:
+ default:
+ $is_videopress_private_for_site = get_option( 'videopress_private_enabled_for_site', false );
+ $is_user_authed = false === $is_videopress_private_for_site || ( $is_videopress_private_for_site && current_user_can( 'read' ) );
+ break;
+ }
+
+ /**
+ * Overrides video view authorization for current user.
+ *
+ * Example of making all videos public:
+ *
+ * function jp_example_override_video_auth( $is_user_authed, $guid ) {
+ * return true
+ * };
+ * add_filter( 'videopress_is_current_user_authed_for_video', 'jp_example_override_video_auth', 10, 2 );
+ *
+ * @param bool $is_user_authed The current user authorization state.
+ * @param string $guid The video's unique identifier.
+ * @param int|null $embedded_post_id The post the video is embedded..
+ *
+ * @return bool
+ */
+ return (bool) apply_filters( 'videopress_is_current_user_authed_for_video', $is_user_authed, $guid, $embedded_post_id );
+ }
+
+ /**
+ * Requests JWT from wpcom.
+ *
+ * @param string $guid The video id being checked.
+ */
+ private function request_jwt_from_wpcom( $guid ) {
+ $options = VideoPress_Options::get_options();
+
+ $args = array(
+ 'method' => 'POST',
+ );
+
+ $endpoint = "sites/{$options['shadow_blog_id']}/media/videopress-playback-jwt/{$guid}";
+ $result = Client::wpcom_json_api_request_as_blog( $endpoint, 'v2', $args, null, 'wpcom' );
+ if ( is_wp_error( $result ) ) {
+ return $result;
+ }
+
+ $response = json_decode( $result['body'], true );
+
+ if ( empty( $response['metadata_token'] ) ) {
+ return false;
+ }
+
+ return $response['metadata_token'];
+ }
+
+ /**
+ * Ajax method that is used by the VideoPress uploader to get a token to upload a file to the wpcom api.
+ *
+ * @return void
+ */
+ public function wp_ajax_videopress_get_upload_jwt() {
+
+ $options = VideoPress_Options::get_options();
+
+ $args = array(
+ 'method' => 'POST',
+ );
+
+ $endpoint = "sites/{$options['shadow_blog_id']}/media/videopress-upload-jwt";
+ $result = Client::wpcom_json_api_request_as_blog( $endpoint, 'v2', $args, null, 'wpcom' );
+ if ( is_wp_error( $result ) ) {
+ wp_send_json_error( array( 'message' => __( 'Could not obtain a VideoPress upload JWT. Please try again later.', 'jetpack' ) ) );
+ return;
+ }
+
+ $response = json_decode( $result['body'], true );
+
+ if ( empty( $response['upload_token'] ) ) {
+ wp_send_json_error( array( 'message' => __( 'Could not obtain a VideoPress upload JWT. Please try again later. (empty upload token)', 'jetpack' ) ) );
+ return;
+ }
+
+ $response['upload_action_url'] = videopress_make_resumable_upload_path( $options['shadow_blog_id'] );
+
+ wp_send_json_success( $response );
+ }
+
+ /**
* Ajax method that is used by the VideoPress uploader to get a token to upload a file to the wpcom api.
*
* @return void
@@ -51,7 +233,6 @@ class VideoPress_AJAX {
$args = array(
'method' => 'POST',
- // 'sslverify' => false,
);
$endpoint = "sites/{$options['shadow_blog_id']}/media/token";
@@ -80,12 +261,12 @@ class VideoPress_AJAX {
* @return void
*/
public function wp_ajax_update_transcoding_status() {
- if ( ! isset( $_POST['post_id'] ) ) {
+ if ( ! isset( $_POST['post_id'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Informational AJAX response.
wp_send_json_error( array( 'message' => __( 'A valid post_id is required.', 'jetpack' ) ) );
return;
}
- $post_id = (int) $_POST['post_id'];
+ $post_id = (int) $_POST['post_id']; // phpcs:ignore WordPress.Security.NonceVerification.Missing
if ( ! videopress_update_meta_data( $post_id ) ) {
wp_send_json_error( array( 'message' => __( 'That post does not have a VideoPress video associated to it.', 'jetpack' ) ) );
diff --git a/plugins/jetpack/modules/videopress/class.videopress-cli.php b/plugins/jetpack/modules/videopress/class.videopress-cli.php
index e1200da0..e8d2a912 100644
--- a/plugins/jetpack/modules/videopress/class.videopress-cli.php
+++ b/plugins/jetpack/modules/videopress/class.videopress-cli.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName
+/**
+ * VideoPress CLI
+ *
+ * @package automattic/jetpack
+ */
if ( defined( 'WP_CLI' ) && WP_CLI ) {
@@ -16,11 +21,14 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
* ## EXAMPLES
*
* wp videopress import kUJmAcSf
+ *
+ * @param array $args CLI arguments.
*/
public function import( $args ) {
$guid = $args[0];
$attachment_id = create_local_media_library_for_videopress_guid( $guid );
if ( $attachment_id && ! is_wp_error( $attachment_id ) ) {
+ /* translators: %d: attachment id */
WP_CLI::success( sprintf( __( 'The video has been imported as Attachment ID %d', 'jetpack' ), $attachment_id ) );
} else {
WP_CLI::error( __( 'An error has been encountered.', 'jetpack' ) );
@@ -37,6 +45,7 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
public function cleanup_videos() {
$num_cleaned = videopress_cleanup_media_library();
+ /* translators: %d: number of videos cleaned */
WP_CLI::success( sprintf( _n( 'Cleaned up %d video.', 'Cleaned up a total of %d videos.', $num_cleaned, 'jetpack' ), $num_cleaned ) );
}
@@ -58,6 +67,7 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
WP_CLI::success( __( 'Found no available cron jobs.', 'jetpack' ) );
} else {
+ /* translators: %d is the number of crons */
WP_CLI::success( sprintf( _n( 'Found %d available cron job.', 'Found %d available cron jobs.', count( $crons ), 'jetpack' ), count( $crons ) ) );
}
@@ -83,6 +93,8 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
* ## EXAMPLES
*
* wp videopress cron_status cleanup
+ *
+ * @param array $args CLI args.
*/
public function cron_status( $args ) {
@@ -93,7 +105,8 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
$scheduler = VideoPress_Scheduler::init();
if ( ! $scheduler->is_cron_valid( $args[0] ) ) {
- return WP_CLI::error( sprintf( __( 'There is no cron named %s.', 'jetpack' ), $args[0] ) );
+ /* translators: name of a cron job */
+ WP_CLI::error( sprintf( __( 'There is no cron named %s.', 'jetpack' ), $args[0] ) );
}
$time = $scheduler->check_cron( $args[0] );
@@ -102,6 +115,7 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
WP_CLI::success( __( 'The cron is not scheduled to run.', 'jetpack' ) );
} else {
+ /* translators: date/time */
WP_CLI::success( sprintf( __( 'Cron will run at: %s GMT', 'jetpack' ), gmdate( 'Y-m-d H:i:s', $time ) ) );
}
}
@@ -116,6 +130,8 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
* ## EXAMPLES
*
* wp videopress activate_cron cleanup
+ *
+ * @param array $args CLI args.
*/
public function activate_cron( $args ) {
@@ -126,11 +142,13 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
$scheduler = VideoPress_Scheduler::init();
if ( ! $scheduler->is_cron_valid( $args[0] ) ) {
- return WP_CLI::error( sprintf( __( 'There is no cron named %s.', 'jetpack' ), $args[0] ) );
+ /* translators: name of a cron job */
+ WP_CLI::error( sprintf( __( 'There is no cron named %s.', 'jetpack' ), $args[0] ) );
}
$scheduler->activate_cron( $args[0] );
+ /* translators: name of a cron job */
WP_CLI::success( sprintf( __( 'The cron named `%s` was scheduled.', 'jetpack' ), $args[0] ) );
}
@@ -144,6 +162,8 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
* ## EXAMPLES
*
* wp videopress deactivate_cron cleanup
+ *
+ * @param array $args CLI args.
*/
public function deactivate_cron( $args ) {
@@ -154,11 +174,13 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
$scheduler = VideoPress_Scheduler::init();
if ( ! $scheduler->is_cron_valid( $args[0] ) ) {
- return WP_CLI::error( sprintf( __( 'There is no cron named %s.', 'jetpack' ), $args[0] ) );
+ /* translators: name of a cron job */
+ WP_CLI::error( sprintf( __( 'There is no cron named %s.', 'jetpack' ), $args[0] ) );
}
$scheduler->deactivate_cron( $args[0] );
+ /* translators: name of a cron job */
WP_CLI::success( sprintf( __( 'The cron named `%s` was removed from the schedule.', 'jetpack' ), $args[0] ) );
}
}
diff --git a/plugins/jetpack/modules/videopress/class.videopress-edit-attachment.php b/plugins/jetpack/modules/videopress/class.videopress-edit-attachment.php
index ce4688b0..64b38cbd 100644
--- a/plugins/jetpack/modules/videopress/class.videopress-edit-attachment.php
+++ b/plugins/jetpack/modules/videopress/class.videopress-edit-attachment.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Connection\Client;
@@ -39,15 +39,17 @@ class VideoPress_Edit_Attachment {
}
/**
- * @param string $post_type
- * @param object $post
+ * Add VideoPress meta box.
+ *
+ * @param string $post_type Post type.
+ * @param object $post Post object.
*/
public function configure_meta_boxes( $post_type = 'unknown', $post = null ) {
- if ( null == $post ) {
+ if ( null === $post ) {
$post = (object) array( 'ID' => 0 );
}
- if ( 'attachment' != $post_type ) {
+ if ( 'attachment' !== $post_type ) {
return;
}
@@ -60,17 +62,17 @@ class VideoPress_Edit_Attachment {
}
/**
- * @param array $post
- * @param array|null $attachment
+ * Filter attachment fields data to save.
*
- * Disable phpcs rule for nonce verification since it's already done by Core.
- * @phpcs:disable WordPress.Security.NonceVerification
+ * @param array $post Post data.
+ * @param array|null $attachment Attachment metadata.
*
* @return array
*/
public function save_fields( $post, $attachment = null ) {
+ // phpcs:disable WordPress.Security.NonceVerification.Missing -- Nonce verification already done by core.
if ( null === $attachment && isset( $_POST['attachment'] ) ) {
- $attachment = $_POST['attachment'];
+ $attachment = filter_var( wp_unslash( $_POST['attachment'] ) );
}
if ( ! isset( $attachment['is_videopress_attachment'] ) || 'yes' !== $attachment['is_videopress_attachment'] ) {
@@ -83,11 +85,12 @@ class VideoPress_Edit_Attachment {
return $post;
}
- $post_title = isset( $_POST['post_title'] ) ? $_POST['post_title'] : null;
- $post_excerpt = isset( $_POST['post_excerpt'] ) ? $_POST['post_excerpt'] : null;
- $rating = isset( $attachment['rating'] ) ? $attachment['rating'] : null;
- $display_embed = isset( $attachment['display_embed'] ) ? $attachment['display_embed'] : 0;
- $allow_download = isset( $attachment['allow_download'] ) ? $attachment['allow_download'] : 0;
+ $post_title = isset( $_POST['post_title'] ) ? sanitize_text_field( wp_unslash( $_POST['post_title'] ) ) : null;
+ $post_excerpt = isset( $_POST['post_excerpt'] ) ? sanitize_textarea_field( wp_unslash( $_POST['post_excerpt'] ) ) : null;
+ $rating = isset( $attachment['rating'] ) ? $attachment['rating'] : null;
+ $display_embed = isset( $attachment['display_embed'] ) ? $attachment['display_embed'] : 0;
+ $allow_download = isset( $attachment['allow_download'] ) ? $attachment['allow_download'] : 0;
+ $privacy_setting = isset( $attachment['privacy_setting'] ) ? $attachment['privacy_setting'] : VIDEOPRESS_PRIVACY::SITE_DEFAULT;
$result = Videopress_Attachment_Metadata::persist_metadata(
$post['ID'],
@@ -97,7 +100,8 @@ class VideoPress_Edit_Attachment {
$post_excerpt,
$rating,
$this->normalize_checkbox_value( $display_embed ),
- $this->normalize_checkbox_value( $allow_download )
+ $this->normalize_checkbox_value( $allow_download ),
+ $privacy_setting
);
if ( is_wp_error( $result ) ) {
@@ -106,6 +110,7 @@ class VideoPress_Edit_Attachment {
}
return $post;
+ // phpcs:enable WordPress.Security.NonceVerification.Missing
}
/**
@@ -122,7 +127,7 @@ class VideoPress_Edit_Attachment {
/**
* Get the upload api path.
*
- * @param string $guid
+ * @param string $guid The guid of the video.
* @return string
*/
public function make_video_api_path( $guid ) {
@@ -134,12 +139,11 @@ class VideoPress_Edit_Attachment {
);
}
-
/**
* Creates an array of video fields to edit based on transcoded videos.
*
- * @param array $fields video fields of interest
- * @param stdClass $post post object
+ * @param array $fields video fields of interest.
+ * @param stdClass $post Post object.
* @return array modified version of video fields for administrative interface display
*/
public function fields_to_edit( $fields, $post ) {
@@ -210,11 +214,19 @@ class VideoPress_Edit_Attachment {
'html' => $this->display_rating( $info ),
);
+ $fields['privacy_setting'] = array(
+ 'label' => _x( 'Privacy Setting', 'A header for the video privacy setting area.', 'jetpack' ),
+ 'input' => 'html',
+ 'html' => $this->display_privacy_setting( $info ),
+ );
+
return $fields;
}
/**
- * @param stdClass $post
+ * Meta box output.
+ *
+ * @param stdClass $post Post object.
*/
public function videopress_information_box( $post ) {
$post_id = absint( $post->ID );
@@ -260,7 +272,7 @@ class VideoPress_Edit_Attachment {
</div>
HTML;
- echo $html;
+ echo $html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Variables built above.
}
/**
@@ -285,8 +297,8 @@ HTML;
/**
* Build HTML to display a form checkbox for embedcode display preference
*
- * @param object $info database row from the videos table
- * @return string input element of type checkbox set to checked state based on stored embed preference
+ * @param object $info Database row from the videos table.
+ * @return string Input element of type checkbox set to checked state based on stored embed preference.
*/
protected function display_embed_choice( $info ) {
return $this->create_checkbox_for_option(
@@ -308,15 +320,46 @@ HTML;
"attachments-{$info->post_id}-allowdownload",
"attachments[{$info->post_id}][allow_download]",
__( 'Display download option and allow viewers to download this video', 'jetpack' ),
- $info->allow_download
+ isset( $info->allow_download ) && $info->allow_download
+ );
+ }
+
+ /**
+ * Build HTML to display a form input radio button for video ratings
+ *
+ * @param object $info Database row from the videos table.
+ *
+ * @return string Input Elements of type radio with existing stored value selected.
+ */
+ protected function display_privacy_setting( $info ) {
+ $privacy_settings = array(
+ VIDEOPRESS_PRIVACY::SITE_DEFAULT => __( 'Site Default', 'jetpack' ),
+ VIDEOPRESS_PRIVACY::IS_PUBLIC => __( 'Public', 'jetpack' ),
+ VIDEOPRESS_PRIVACY::IS_PRIVATE => __( 'Private', 'jetpack' ),
);
+
+ $displayed_privacy_setting = intval( isset( $info->privacy_setting ) ? $info->privacy_setting : VIDEOPRESS_PRIVACY::SITE_DEFAULT );
+
+ $out = "<select name='attachments[{$info->post_id}][privacy_setting]'>";
+ foreach ( $privacy_settings as $r => $label ) {
+ $out .= "<option value=\"$r\"";
+ if ( intval( $r ) === $displayed_privacy_setting ) {
+ $out .= ' selected';
+ }
+
+ $out .= ">$label</option>";
+ }
+
+ $out .= '</select>';
+
+ return $out;
}
/**
* Build HTML to display a form input radio button for video ratings
*
- * @param object $info database row from the videos table
- * @return string input elements of type radio with existing stored value selected
+ * @param object $info Database row from the videos table.
+ * @return string Input elements of type radio with existing stored value selected.
*/
protected function display_rating( $info ) {
$out = '';
diff --git a/plugins/jetpack/modules/videopress/class.videopress-gutenberg.php b/plugins/jetpack/modules/videopress/class.videopress-gutenberg.php
index 19a29699..34aa1b60 100644
--- a/plugins/jetpack/modules/videopress/class.videopress-gutenberg.php
+++ b/plugins/jetpack/modules/videopress/class.videopress-gutenberg.php
@@ -35,6 +35,7 @@ class VideoPress_Gutenberg {
add_action( 'init', array( $this, 'register_video_block_with_videopress' ) );
add_action( 'jetpack_register_gutenberg_extensions', array( $this, 'set_extension_availability' ) );
add_action( 'enqueue_block_editor_assets', array( $this, 'override_video_upload' ) );
+ add_action( 'enqueue_block_editor_assets', array( $this, 'add_resumable_upload_support' ) );
}
/**
@@ -69,58 +70,30 @@ class VideoPress_Gutenberg {
* unavailable (key `unavailable_reason`)
*/
public function check_videopress_availability() {
- if (
- defined( 'IS_WPCOM' ) && IS_WPCOM &&
- function_exists( 'require_lib' )
- ) {
- require_lib( 'wpforteams' );
-
- if ( WPForTeams\Workspace\is_part_of_active_workspace( self::get_blog_id() ) ) {
- return array( 'available' => true );
- }
+ if ( ! Jetpack_Plan::supports( 'videopress' ) ) {
+ return array(
+ 'available' => false,
+ 'unavailable_reason' => 'missing_plan',
+ );
}
- // It is available on Simple Sites having the appropriate a plan.
- if (
- defined( 'IS_WPCOM' ) && IS_WPCOM
- && method_exists( 'Store_Product_List', 'get_site_specific_features_data' )
- ) {
- $features = Store_Product_List::get_site_specific_features_data();
- if ( in_array( 'videopress', $features['active'], true ) ) {
- return array( 'available' => true );
+ if ( ! defined( 'IS_WPCOM' ) || ! IS_WPCOM ) {
+ if ( Jetpack::is_connection_ready() ) {
+ if ( ! Jetpack::is_module_active( 'videopress' ) ) {
+ return array(
+ 'available' => false,
+ 'unavailable_reason' => 'missing_module',
+ );
+ }
} else {
return array(
'available' => false,
- 'unavailable_reason' => 'missing_plan',
+ 'unavailable_reason' => 'unknown',
);
}
}
- // It is available on Jetpack Sites having the module active.
- if (
- method_exists( 'Jetpack', 'is_connection_ready' ) && Jetpack::is_connection_ready()
- && method_exists( 'Jetpack', 'is_module_active' )
- && method_exists( 'Jetpack_Plan', 'supports' )
- ) {
- if ( Jetpack::is_module_active( 'videopress' ) ) {
- return array( 'available' => true );
- } elseif ( ! Jetpack_Plan::supports( 'videopress' ) ) {
- return array(
- 'available' => false,
- 'unavailable_reason' => 'missing_plan',
- );
- } else {
- return array(
- 'available' => false,
- 'unavailable_reason' => 'missing_module',
- );
- }
- }
-
- return array(
- 'available' => false,
- 'unavailable_reason' => 'unknown',
- );
+ return array( 'available' => true );
}
/**
@@ -192,6 +165,19 @@ class VideoPress_Gutenberg {
}
/**
+ * Temporary method to enable resumable uploads for testing by Automatticians
+ */
+ public function add_resumable_upload_support() {
+ wp_enqueue_script(
+ 'videopress-add-resumable-upload-support',
+ plugins_url( 'js/videopress-add-resumable-upload-support.js', __FILE__ ),
+ null,
+ '1',
+ false
+ );
+ }
+
+ /**
* Replaces the video uploaded in the block editor.
*
* Enqueues a script that registers an API fetch middleware replacing the video uploads in Gutenberg so they are
@@ -213,6 +199,17 @@ class VideoPress_Gutenberg {
JETPACK__VERSION,
false
);
+
+ wp_enqueue_script(
+ 'jetpack-videopress-gutenberg-playback-jwt',
+ Assets::get_file_url_for_environment(
+ 'modules/videopress/js/videopress-token-bridge.js',
+ 'modules/videopress/js/videopress-token-bridge.js'
+ ),
+ array(),
+ JETPACK__VERSION,
+ false
+ );
}
}
diff --git a/plugins/jetpack/modules/videopress/class.videopress-options.php b/plugins/jetpack/modules/videopress/class.videopress-options.php
index b8049e37..e6e71e60 100644
--- a/plugins/jetpack/modules/videopress/class.videopress-options.php
+++ b/plugins/jetpack/modules/videopress/class.videopress-options.php
@@ -1,15 +1,33 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName
+/**
+ * VideoPress Options
+ *
+ * @package automattic/jetpack
+ */
+/**
+ * VideoPress Options class.
+ */
class VideoPress_Options {
- /** @var string */
+ /**
+ * Option name.
+ *
+ * @var string $option_name The 'videopress' option name
+ */
public static $option_name = 'videopress';
- /** @var array */
+ /**
+ * VideoPress Options.
+ *
+ * @var array $options An array of associated VideoPress options (default empty)
+ */
protected static $options = array();
/**
* Get VideoPress options
+ *
+ * @return array An array of VideoPress options.
*/
public static function get_options() {
// Make sure we only get options from the database and services once per connection.
@@ -30,7 +48,7 @@ class VideoPress_Options {
// associated shadow blog id, if videopress is enabled.
self::$options['shadow_blog_id'] = 0;
- // Use the Jetpack ID for the shadow blog ID if we have a plan that supports VideoPress
+ // Use the Jetpack ID for the shadow blog ID if we have a plan that supports VideoPress.
if ( Jetpack_Plan::supports( 'videopress' ) ) {
self::$options['shadow_blog_id'] = Jetpack_Options::get_option( 'id' );
}
@@ -40,6 +58,8 @@ class VideoPress_Options {
/**
* Update VideoPress options
+ *
+ * @param mixed $options VideoPress options.
*/
public static function update_options( $options ) {
Jetpack_Options::update_option( self::$option_name, $options );
diff --git a/plugins/jetpack/modules/videopress/class.videopress-player.php b/plugins/jetpack/modules/videopress/class.videopress-player.php
index 2640e19a..27532d07 100644
--- a/plugins/jetpack/modules/videopress/class.videopress-player.php
+++ b/plugins/jetpack/modules/videopress/class.videopress-player.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* VideoPress playback module markup generator.
*
@@ -40,6 +40,8 @@ class VideoPress_Player {
/**
* Array of video GUIDs shown and their counts,
* moved from the old VideoPress class.
+ *
+ * @var array
*/
public static $shown = array();
@@ -47,9 +49,9 @@ class VideoPress_Player {
* Initiate a player object based on shortcode values and possible blog-level option overrides
*
* @since 1.3
- * @var string $guid VideoPress unique identifier
- * @var int $maxwidth maximum desired width of the video player if specified
- * @var array $options player customizations
+ * @param string $guid VideoPress unique identifier.
+ * @param int $maxwidth Maximum desired width of the video player if specified.
+ * @param array $options Player customizations.
*/
public function __construct( $guid, $maxwidth = 0, $options = array() ) {
if ( empty( self::$shown[ $guid ] ) ) {
@@ -116,22 +118,22 @@ class VideoPress_Player {
unset( $expires_diff );
}
- wp_cache_set( $cache_key, serialize( $this->video ), 'video', $expire );
+ wp_cache_set( $cache_key, serialize( $this->video ), 'video', $expire ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
unset( $expire );
}
} else {
- $this->video = unserialize( $cached_video );
+ $this->video = unserialize( $cached_video ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize -- Make sure to unserialize as VideoPress_Video class.
}
unset( $cache_key );
unset( $cached_video );
}
/**
- * Wrap output in a VideoPress player container
+ * Wrap output in a VideoPress player container.
*
* @since 1.3
- * @var string $content HTML string
- * @return string HTML string or blank string if nothing to wrap
+ * @param string $content HTML string.
+ * @return string HTML string or blank string if nothing to wrap.
*/
private function html_wrapper( $content ) {
if ( empty( $content ) ) {
@@ -149,7 +151,7 @@ class VideoPress_Player {
* @since 1.3
* @return string HTML string or empty string if error
*/
- public function asXML() {
+ public function as_xml() {
if ( empty( $this->video ) || is_wp_error( $this->video ) ) {
return '';
}
@@ -170,7 +172,7 @@ class VideoPress_Player {
* @since 1.3
* @return string HTML markup string or empty string if no video property found
*/
- public function asHTML() {
+ public function as_html() {
if ( empty( $this->video ) ) {
$content = '';
@@ -202,8 +204,8 @@ class VideoPress_Player {
* Display an error message to users capable of doing something about the error
*
* @since 1.3
- * @uses current_user_can() to test if current user has edit_posts capability
- * @var WP_Error $error WordPress error
+ * @uses current_user_can() to test if current user has edit_posts capability.
+ * @param WP_Error $error WordPress error.
* @return string HTML string
*/
private function error_message( $error ) {
@@ -211,7 +213,8 @@ class VideoPress_Player {
return '';
}
- $html = '<div class="videopress-error" style="background-color:rgb(255,0,0);color:rgb(255,255,255);font-family:font-family:\'Helvetica Neue\',Arial,Helvetica,\'Nimbus Sans L\',sans-serif;font-size:140%;min-height:10em;padding-top:1.5em;padding-bottom:1.5em">';
+ $html = '<div class="videopress-error" style="background-color:rgb(255,0,0);color:rgb(255,255,255);font-family:font-family:\'Helvetica Neue\',Arial,Helvetica,\'Nimbus Sans L\',sans-serif;font-size:140%;min-height:10em;padding-top:1.5em;padding-bottom:1.5em">';
+ /* translators: %s is 'VideoPress' */
$html .= '<h1 style="font-size:180%;font-style:bold;line-height:130%;text-decoration:underline">' . esc_html( sprintf( __( '%s Error', 'jetpack' ), 'VideoPress' ) ) . '</h1>';
foreach ( $error->get_error_messages() as $message ) {
$html .= $message;
@@ -273,7 +276,7 @@ class VideoPress_Player {
$html .= '</select>';
/**
- * todo: numdays variance by month
+ * Todo: numdays variance by month.
*/
$html .= '<select name="day" style="' . $inputs_style . '">';
for ( $i = 1; $i < 32; $i++ ) {
@@ -287,7 +290,7 @@ class VideoPress_Player {
* Default to 13
*/
$html .= '<select name="year" style="' . $inputs_style . '">';
- $start_year = date( 'Y' ) - 2;
+ $start_year = gmdate( 'Y' ) - 2;
$default_year = $start_year - 11;
$end_year = $start_year - 128;
for ( $year = $start_year; $year > $end_year; $year-- ) {
@@ -359,6 +362,7 @@ class VideoPress_Player {
}
$html .= '" src="' . $thumbnail . '" width="' . $this->video->calculated_width . '" height="' . $this->video->calculated_height . '" /></div>';
if ( isset( $this->options['freedom'] ) && $this->options['freedom'] === true ) {
+ /* translators: %s url to the gnu.org website */
$html .= '<p class="robots-nocontent">' . sprintf( __( 'You do not have sufficient <a rel="nofollow noopener noreferrer" href="%s" target="_blank">freedom levels</a> to view this video. Support free software and upgrade.', 'jetpack' ), 'https://www.gnu.org/philosophy/free-sw.html' ) . '</p>';
} elseif ( isset( $this->video->title ) ) {
$html .= '<p>' . esc_html( $this->video->title ) . '</p>';
@@ -445,6 +449,7 @@ class VideoPress_Player {
}
$html .= '<img class="videopress-poster" alt="';
if ( ! empty( $this->video->title ) ) {
+ /* translators: %s is the video title */
$html .= esc_attr( $this->video->title ) . '" title="' . esc_attr( sprintf( _x( 'Watch: %s', 'watch a video title', 'jetpack' ), $this->video->title ) );
}
$html .= '" src="' . esc_url( $this->video->poster_frame_uri, array( 'http', 'https' ) ) . '" width="' . $width . '" height="' . $height . '" />' . PHP_EOL;
@@ -495,16 +500,16 @@ class VideoPress_Player {
unset( $locale );
$guid = $this->video->guid;
- $guid_js = json_encode( $guid );
+ $guid_js = wp_json_encode( $guid );
$html .= '<script type="text/javascript">' . PHP_EOL;
$html .= 'jQuery(document).ready(function() {';
- $html .= 'if ( !jQuery.VideoPress.data[' . json_encode( $guid ) . '] ) { jQuery.VideoPress.data[' . json_encode( $guid ) . '] = new Array(); }' . PHP_EOL;
- $html .= 'jQuery.VideoPress.data[' . json_encode( $guid ) . '][' . self::$shown[ $guid ] . ']=' . json_encode( $data ) . ';' . PHP_EOL;
+ $html .= 'if ( !jQuery.VideoPress.data[' . wp_json_encode( $guid ) . '] ) { jQuery.VideoPress.data[' . wp_json_encode( $guid ) . '] = new Array(); }' . PHP_EOL;
+ $html .= 'jQuery.VideoPress.data[' . wp_json_encode( $guid ) . '][' . self::$shown[ $guid ] . ']=' . wp_json_encode( $data ) . ';' . PHP_EOL;
unset( $data );
- $jq_container = json_encode( '#' . $this->video_container_id );
- $jq_placeholder = json_encode( '#' . $video_placeholder_id );
+ $jq_container = wp_json_encode( '#' . $this->video_container_id );
+ $jq_placeholder = wp_json_encode( '#' . $video_placeholder_id );
$player_config = "{width:{$width},height:{$height},";
if ( isset( $this->options['freedom'] ) && $this->options['freedom'] === true ) {
$player_config .= 'freedom:"true",';
@@ -516,15 +521,17 @@ class VideoPress_Player {
if ( $age_gate_required ) {
$html .= 'if ( jQuery.VideoPress.support.flash() ) {' . PHP_EOL;
/**
+ * Insert alternative content for Flash players.
+ *
* @link https://github.com/swfobject/swfobject/wiki/SWFObject-API#swfobjectembedswfswfurlstr-replaceelemidstr-widthstr-heightstr-swfversionstr-xiswfurlstr-flashvarsobj-parobj-attobj-callbackfn
*/
$html .= 'swfobject.embedSWF(' . implode(
',',
array(
'jQuery.VideoPress.video.flash.player_uri',
- json_encode( $this->video_container_id ),
- json_encode( $width ),
- json_encode( $height ),
+ wp_json_encode( $this->video_container_id ),
+ wp_json_encode( $width ),
+ wp_json_encode( $height ),
'jQuery.VideoPress.video.flash.min_version',
'jQuery.VideoPress.video.flash.expressinstall', // attempt to upgrade the Flash player if less than min_version. requires a 310x137 container or larger but we will always try to include
'{guid:' . $guid_js . '}', // FlashVars
@@ -535,9 +542,9 @@ class VideoPress_Player {
) . ');';
$html .= '} else {' . PHP_EOL;
$html .= "if ( jQuery.VideoPress.video.prepare({$guid_js},{$player_config}," . self::$shown[ $guid ] . ') ) {' . PHP_EOL;
- $html .= 'if ( jQuery(' . $jq_container . ').data( "player" ) === "flash" ){jQuery.VideoPress.video.play(jQuery(' . json_encode( '#' . $this->video_container_id ) . '));}else{';
- $html .= 'jQuery(' . $jq_placeholder . ').html(' . json_encode( $this->html_age_date() ) . ');' . PHP_EOL;
- $html .= 'jQuery(' . json_encode( '#' . $video_placeholder_id . ' input[type=submit]' ) . ').one("click", function(event){jQuery.VideoPress.requirements.isSufficientAge(jQuery(' . $jq_container . '),' . absint( $this->video->age_rating ) . ')});' . PHP_EOL;
+ $html .= 'if ( jQuery(' . $jq_container . ').data( "player" ) === "flash" ){jQuery.VideoPress.video.play(jQuery(' . wp_json_encode( '#' . $this->video_container_id ) . '));}else{';
+ $html .= 'jQuery(' . $jq_placeholder . ').html(' . wp_json_encode( $this->html_age_date() ) . ');' . PHP_EOL;
+ $html .= 'jQuery(' . wp_json_encode( '#' . $video_placeholder_id . ' input[type=submit]' ) . ').one("click", function(event){jQuery.VideoPress.requirements.isSufficientAge(jQuery(' . $jq_container . '),' . absint( $this->video->age_rating ) . ')});' . PHP_EOL;
$html .= '}}}' . PHP_EOL;
} else {
$html .= "if ( jQuery.VideoPress.video.prepare({$guid_js}, {$player_config}," . self::$shown[ $guid ] . ') ) {' . PHP_EOL;
@@ -590,16 +597,20 @@ class VideoPress_Player {
}
unset( $vid_type );
}
+ /* translators: %s video title or generic 'this video' string */
$html .= '<noscript><p>' . sprintf( _x( 'JavaScript required to play %s.', 'Play as in playback or view a movie', 'jetpack' ), $noun ) . '</p></noscript>';
return $html;
}
- function html5_dynamic_next() {
+ /**
+ * Output for the non-legacy HTML5 player.
+ */
+ public function html5_dynamic_next() {
$video_container_id = 'v-' . $this->video->guid;
// Must not use iframes for IE11 due to a fullscreen bug
- if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && stristr( $_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0' ) ) {
+ if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && stristr( sanitize_text_field( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ), 'Trident/7.0; rv:11.0' ) ) {
$iframe_embed = false;
} else {
@@ -638,16 +649,21 @@ class VideoPress_Player {
}
break;
case 'autoplay':
- $option = 'autoPlay';
+ $option = 'autoPlay'; // Fall-through ok.
case 'hd':
case 'loop':
case 'permalink':
case 'cover':
- if ( in_array( $value, array( 1, 'true' ) ) ) {
+ case 'muted':
+ case 'controls':
+ case 'playsinline':
+ case 'useAverageColor':
+ if ( in_array( $value, array( true, 1, 'true' ), true ) ) {
$videopress_options[ $option ] = true;
- } elseif ( in_array( $value, array( 0, 'false' ) ) ) {
+ } elseif ( in_array( $value, array( false, 0, 'false' ), true ) ) {
$videopress_options[ $option ] = false;
}
+ // phpcs:enable
break;
case 'defaultlangcode':
$option = 'defaultLangCode';
@@ -662,7 +678,7 @@ class VideoPress_Player {
$iframe_url = "https://videopress.com/embed/{$this->video->guid}";
foreach ( $videopress_options as $option => $value ) {
- if ( ! in_array( $option, array( 'width', 'height' ) ) ) {
+ if ( ! in_array( $option, array( 'width', 'height' ), true ) ) {
// add_query_arg ignores false as a value, so replacing it with 0
$iframe_url = add_query_arg( $option, ( false === $value ) ? 0 : $value, $iframe_url );
@@ -670,15 +686,17 @@ class VideoPress_Player {
}
$js_url = 'https://s0.wp.com/wp-content/plugins/video/assets/js/next/videopress-iframe.js';
-
- return "<iframe width='" . esc_attr( $videopress_options['width'] )
+ // phpcs:disable WordPress.WP.EnqueuedResources.NonEnqueuedScript
+ return "<iframe title='" . __( 'VideoPress Video Player', 'jetpack' )
+ . "' aria-label='" . __( 'VideoPress Video Player', 'jetpack' )
+ . "' width='" . esc_attr( $videopress_options['width'] )
. "' height='" . esc_attr( $videopress_options['height'] )
. "' src='" . esc_attr( $iframe_url )
. "' frameborder='0' allowfullscreen></iframe>"
. "<script src='" . esc_attr( $js_url ) . "'></script>";
} else {
- $videopress_options = json_encode( $videopress_options );
+ $videopress_options = wp_json_encode( $videopress_options );
$js_url = 'https://s0.wp.com/wp-content/plugins/video/assets/js/next/videopress.js';
return "<div id='{$video_container_id}'></div>
@@ -686,6 +704,7 @@ class VideoPress_Player {
<script>
videopress('{$this->video->guid}', document.querySelector('#{$video_container_id}'), {$videopress_options});
</script>";
+ // phpcs:enable WordPress.WP.EnqueuedResources.NonEnqueuedScript
}
}
@@ -698,7 +717,7 @@ class VideoPress_Player {
* @link https://helpx.adobe.com/flash/kb/control-access-scripts-host-web.html allowscriptaccess
* @link https://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html full screen mode
* @link https://help.adobe.com/en_US/as3/dev/WS1EFE2EDA-026D-4d14-864E-79DFD56F87C6.html allownetworking
- * @param array $flash_params Flash parameters expressed in key-value form
+ * @param array $flash_params Flash parameters expressed in key-value form.
* @return array validated Flash parameters
*/
public static function esc_flash_params( $flash_params ) {
@@ -731,10 +750,10 @@ class VideoPress_Player {
continue;
}
$param = strtolower( $param );
- if ( in_array( $param, $allowed_params_keys ) ) {
+ if ( in_array( $param, $allowed_params_keys, true ) ) {
if ( isset( $allowed_params[ $param ] ) && is_array( $allowed_params[ $param ] ) ) {
$value = strtolower( $value );
- if ( in_array( $value, $allowed_params[ $param ] ) ) {
+ if ( in_array( $value, $allowed_params[ $param ], true ) ) {
$filtered_params[ $param ] = $value;
}
} else {
@@ -854,6 +873,7 @@ class VideoPress_Player {
foreach ( $this->get_flash_parameters() as $attribute => $value ) {
$flash_params .= '<param name="' . esc_attr( $attribute ) . '" value="' . esc_attr( $value ) . '" />';
}
+ /* translators: %s url to the Adobe Flash Player website */
$flash_help = sprintf( __( 'This video requires <a rel="nofollow noopener noreferrer" href="%s" target="_blank">Adobe Flash</a> for playback.', 'jetpack' ), 'https://get.adobe.com/flashplayer/' );
$flash_player_url = esc_url( $this->video->players->swf->url, array( 'http', 'https' ) );
$description = '';
diff --git a/plugins/jetpack/modules/videopress/class.videopress-scheduler.php b/plugins/jetpack/modules/videopress/class.videopress-scheduler.php
index bff33684..d8ac4610 100644
--- a/plugins/jetpack/modules/videopress/class.videopress-scheduler.php
+++ b/plugins/jetpack/modules/videopress/class.videopress-scheduler.php
@@ -1,8 +1,12 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName
/**
- * VideoPress playback module markup generator.
+ * VideoPress cron scheduler.
*
- * @since 1.3
+ * @package automattic/jetpack
+ */
+
+/**
+ * VideoPress Cron Scheduler.
*/
class VideoPress_Scheduler {
@@ -12,7 +16,9 @@ class VideoPress_Scheduler {
const CLEANUP_CRON_METHOD = 'videopress_cleanup_media_library';
/**
- * @var VideoPress_Scheduler
+ * Singleton instance.
+ *
+ * @var VideoPress_Scheduler $instance A VideoPress_Scheduler singleton instance (default null)
**/
private static $instance = null;
@@ -22,13 +28,13 @@ class VideoPress_Scheduler {
* @var array
*/
protected $crons = array(
+ // phpcs:ignore Squiz.PHP.CommentedOutCode.Found
// 'cleanup' => array(
// 'method' => self::CLEANUP_CRON_METHOD,
// 'interval' => 'minutes_30',
// ),
);
-
/**
* Private VideoPress_Scheduler constructor.
*
@@ -53,7 +59,7 @@ class VideoPress_Scheduler {
* @return VideoPress_Scheduler
*/
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new VideoPress_Scheduler();
}
@@ -83,7 +89,7 @@ class VideoPress_Scheduler {
/**
* Activate a single cron
*
- * @param string $cron_name
+ * @param string $cron_name The name of the cron to activate.
*
* @return bool
*/
@@ -117,7 +123,7 @@ class VideoPress_Scheduler {
/**
* Only activate the crons if it is Jetpack that was activated.
*
- * @param string $plugin_file_name
+ * @param string $plugin_file_name The name of the plugin that was activated.
*/
public function activate_crons_on_jetpack_activation( $plugin_file_name ) {
@@ -129,6 +135,8 @@ class VideoPress_Scheduler {
/**
* Deactivates any crons associated with the VideoPress module.
*
+ * @param string $cron_name Name of the cron to deactivate.
+ *
* @return bool
*/
public function deactivate_cron( $cron_name ) {
@@ -158,7 +166,7 @@ class VideoPress_Scheduler {
*
* If so, return when it will next run,
*
- * @param string $cron_name
+ * @param string $cron_name Cron job name.
*
* @return int|bool Timestamp of the next run time OR false.
*/
@@ -173,7 +181,7 @@ class VideoPress_Scheduler {
/**
* Check that the given cron job name is valid.
*
- * @param string $cron_name
+ * @param string $cron_name Cron job name.
*
* @return bool
*/
diff --git a/plugins/jetpack/modules/videopress/class.videopress-video.php b/plugins/jetpack/modules/videopress/class.videopress-video.php
index f12c5fba..26f14007 100644
--- a/plugins/jetpack/modules/videopress/class.videopress-video.php
+++ b/plugins/jetpack/modules/videopress/class.videopress-video.php
@@ -1,10 +1,15 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* VideoPress video object retrieved from VideoPress servers and parsed.
*
* @since 1.3
*/
class VideoPress_Video {
+ /**
+ * VideoPress version.
+ *
+ * @var int
+ */
public $version = 3;
/**
@@ -13,7 +18,7 @@ class VideoPress_Video {
* @var string
* @since 1.3
*/
- const manifest_version = '1.5';
+ const manifest_version = '1.5'; // phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase
/**
* Expiration of the video expressed in Unix time
@@ -172,8 +177,8 @@ class VideoPress_Video {
* Request video information from VideoPress servers and process the response.
*
* @since 1.3
- * @var string $guid VideoPress unique identifier
- * @var int $maxwidth maximum requested video width. final width and height are calculated on VideoPress servers based on the aspect ratio of the original video upload.
+ * @param string $guid VideoPress unique identifier.
+ * @param int $maxwidth maximum requested video width. final width and height are calculated on VideoPress servers based on the aspect ratio of the original video upload.
*/
public function __construct( $guid, $maxwidth = 640 ) {
$this->guid = $guid;
@@ -278,10 +283,10 @@ class VideoPress_Video {
}
/**
- * Convert an Expires HTTP header value into Unix time for use in WP Cache
+ * Convert an Expires HTTP header value into Unix time for use in WP Cache.
*
* @since 1.3
- * @var string $expires_header
+ * @param string $expires_header Expires header value.
* @return int|bool Unix time or false
*/
public static function calculate_expiration( $expires_header ) {
@@ -289,19 +294,9 @@ class VideoPress_Video {
return false;
}
- if (
- class_exists( 'DateTimeZone' )
- && method_exists( 'DateTime', 'createFromFormat' )
- ) {
- $expires_date = DateTime::createFromFormat( 'D, d M Y H:i:s T', $expires_header, new DateTimeZone( 'UTC' ) );
- if ( $expires_date instanceof DateTime ) {
- return date_format( $expires_date, 'U' );
- }
- } else {
- $expires_array = strptime( $expires_header, '%a, %d %b %Y %H:%M:%S %Z' );
- if ( is_array( $expires_array ) && isset( $expires_array['tm_hour'] ) && isset( $expires_array['tm_min'] ) && isset( $expires_array['tm_sec'] ) && isset( $expires_array['tm_mon'] ) && isset( $expires_array['tm_mday'] ) && isset( $expires_array['tm_year'] ) ) {
- return gmmktime( $expires_array['tm_hour'], $expires_array['tm_min'], $expires_array['tm_sec'], 1 + $expires_array['tm_mon'], $expires_array['tm_mday'], 1900 + $expires_array['tm_year'] );
- }
+ $expires_date = DateTime::createFromFormat( 'D, d M Y H:i:s T', $expires_header, new DateTimeZone( 'UTC' ) );
+ if ( $expires_date instanceof DateTime ) {
+ return date_format( $expires_date, 'U' );
}
return false;
}
@@ -310,14 +305,13 @@ class VideoPress_Video {
* Extract the site's host domain for statistics and comparison against an allowed site list in the case of restricted embeds.
*
* @since 1.2
- * @param string $url absolute URL
- * @return bool|string host component of the URL, or false if none found
+ * @param string $url absolute URL.
+ * @return bool|string host component of the URL, or false if none found.
*/
public static function hostname( $url ) {
return wp_parse_url( esc_url_raw( $url ), PHP_URL_HOST );
}
-
/**
* Request data from WordPress.com for the given guid, maxwidth, and calculated blog hostname.
*
@@ -356,8 +350,10 @@ class VideoPress_Video {
} elseif ( $response_code === 400 ) {
return new WP_Error( 'bad_config', __( 'The VideoPress plugin could not communicate with the VideoPress servers. This error is most likely caused by a misconfigured plugin. Please reinstall or upgrade.', 'jetpack' ) );
} elseif ( $response_code === 403 ) {
+ /* translators: %s URL of site trying to embed a VideoPress video */
return new WP_Error( 'http_forbidden', '<p>' . sprintf( __( '<strong>%s</strong> is not an allowed embed site.', 'jetpack' ), esc_html( $domain ) ) . '</p><p>' . __( 'Publisher limits playback of video embeds.', 'jetpack' ) . '</p>' );
} elseif ( $response_code === 404 ) {
+ /* translators: %s VideoPress object identifier */
return new WP_Error( 'http_not_found', '<p>' . sprintf( __( 'No data found for VideoPress identifier: <strong>%s</strong>.', 'jetpack' ), $this->guid ) . '</p>' );
} elseif ( $response_code !== 200 || empty( $response_body ) ) {
return;
diff --git a/plugins/jetpack/modules/videopress/class.videopress-xmlrpc.php b/plugins/jetpack/modules/videopress/class.videopress-xmlrpc.php
index b5e508ef..8b6984c5 100644
--- a/plugins/jetpack/modules/videopress/class.videopress-xmlrpc.php
+++ b/plugins/jetpack/modules/videopress/class.videopress-xmlrpc.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* VideoPress playback module markup generator.
*
@@ -7,6 +7,8 @@
class VideoPress_XMLRPC {
/**
+ * Singleton VideoPress_XMLRPC instance.
+ *
* @var VideoPress_XMLRPC
**/
private static $instance = null;
@@ -33,7 +35,7 @@ class VideoPress_XMLRPC {
* @return VideoPress_XMLRPC
*/
public static function init() {
- if ( is_null( self::$instance ) ) {
+ if ( self::$instance === null ) {
self::$instance = new VideoPress_XMLRPC();
}
@@ -69,7 +71,7 @@ class VideoPress_XMLRPC {
* Note: This method technically handles the creation of multiple media objects, though
* in practice this is never done.
*
- * @param array $media
+ * @param array $media Media items being uploaded.
* @return array
*/
public function create_media_item( $media ) {
@@ -97,7 +99,9 @@ class VideoPress_XMLRPC {
}
/**
- * @param array $request
+ * Update VideoPress metadata for a media item.
+ *
+ * @param array $request Media item to update.
*
* @return bool
*/
@@ -109,7 +113,8 @@ class VideoPress_XMLRPC {
$format = $request['format'];
$info = $request['info'];
- if ( ! $attachment = get_post( $id ) ) {
+ $attachment = get_post( $id );
+ if ( ! $attachment ) {
return false;
}
@@ -154,7 +159,9 @@ class VideoPress_XMLRPC {
}
/**
- * @param array $request
+ * Update poster image for a VideoPress media item.
+ *
+ * @param array $request The media item to update.
* @return bool
*/
public function update_poster_image( $request ) {
@@ -163,7 +170,8 @@ class VideoPress_XMLRPC {
$post_id = $request['post_id'];
$poster = $request['poster'];
- if ( ! $attachment = get_post( $post_id ) ) {
+ $attachment = get_post( $post_id );
+ if ( ! $attachment ) {
return false;
}
diff --git a/plugins/jetpack/modules/videopress/css/editor-rtl.css b/plugins/jetpack/modules/videopress/css/editor-rtl.css
index 08beb376..05097545 100644
--- a/plugins/jetpack/modules/videopress/css/editor-rtl.css
+++ b/plugins/jetpack/modules/videopress/css/editor-rtl.css
@@ -1,60 +1,60 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
/* VideoPress Settings Modal style overrides */
.mce-videopress-field-guid,
.mce-videopress-field-freedom,
.mce-videopress-field-flashonly {
- display: none;
+ display: none;
}
.mce-videopress-checkbox .mce-checkbox {
- right: 120px !important;
- width: 100% !important; /* assigning a full width so the label area is clickable */
+ right: 120px !important;
+ width: 100% !important;
+ /* assigning a full width so the label area is clickable */
}
.mce-videopress-checkbox .mce-label {
- right: 150px !important;
+ right: 150px !important;
}
.mce-videopress-checkbox .mce-label-unit {
- position: absolute;
- right: 210px;
- top: 5px;
+ position: absolute;
+ right: 210px;
+ top: 5px;
}
.mce-videopress-checkbox i.mce-i-checkbox {
- background-color: #fff;
- color: #4f94d4;
+ background-color: #fff;
+ color: #4f94d4;
}
.mce-videopress-checkbox .mce-i-checkbox:before {
- display: inline-block;
- vertical-align: middle;
- width: 16px;
- font: 400 21px/1 dashicons;
- speak: none;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- margin: -3px -3px 0 0;
- content: "\f147";
+ display: inline-block;
+ vertical-align: middle;
+ width: 16px;
+ font: 400 21px/1 dashicons;
+ speak: none;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ margin: -3px -3px 0 0;
+ content: "\f147";
}
.mce-videopress-checkbox .mce-i-checkbox.mce-checked:before {
- content: "\f147";
+ content: "\f147";
}
div[class*=mce-videopress-field] input[type=number] {
- width: 70px !important;
- right: 120px !important;
+ width: 70px !important;
+ right: 120px !important;
}
.mce-videopress-field-w .mce-label,
.mce-videopress-field-at .mce-label {
- width: 115px !important;
- text-align: left;
+ width: 115px !important;
+ text-align: left;
}
.mce-videopress-field-unit {
- position: absolute;
- right: 210px;
- top: 5px;
+ position: absolute;
+ right: 210px;
+ top: 5px;
}
diff --git a/plugins/jetpack/modules/videopress/css/editor-rtl.min.css b/plugins/jetpack/modules/videopress/css/editor-rtl.min.css
index 4ca3dafd..5e0fa13a 100644
--- a/plugins/jetpack/modules/videopress/css/editor-rtl.min.css
+++ b/plugins/jetpack/modules/videopress/css/editor-rtl.min.css
@@ -1 +1 @@
-.mce-videopress-field-flashonly,.mce-videopress-field-freedom,.mce-videopress-field-guid{display:none}.mce-videopress-checkbox .mce-checkbox{right:120px!important;width:100%!important}.mce-videopress-checkbox .mce-label{right:150px!important}.mce-videopress-checkbox .mce-label-unit{position:absolute;right:210px;top:5px}.mce-videopress-checkbox i.mce-i-checkbox{background-color:#fff;color:#4f94d4}.mce-videopress-checkbox .mce-i-checkbox:before{display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:-3px -3px 0 0;content:"\f147"}.mce-videopress-checkbox .mce-i-checkbox.mce-checked:before{content:"\f147"}div[class*=mce-videopress-field] input[type=number]{width:70px!important;right:120px!important}.mce-videopress-field-at .mce-label,.mce-videopress-field-w .mce-label{width:115px!important;text-align:left}.mce-videopress-field-unit{position:absolute;right:210px;top:5px} \ No newline at end of file
+.mce-videopress-field-flashonly,.mce-videopress-field-freedom,.mce-videopress-field-guid{display:none}.mce-videopress-checkbox .mce-checkbox{right:120px!important;width:100%!important}.mce-videopress-checkbox .mce-label{right:150px!important}.mce-videopress-checkbox .mce-label-unit{position:absolute;right:210px;top:5px}.mce-videopress-checkbox i.mce-i-checkbox{background-color:#fff;color:#4f94d4}.mce-videopress-checkbox .mce-i-checkbox:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f147";display:inline-block;font:400 21px/1 dashicons;margin:-3px -3px 0 0;vertical-align:middle;width:16px}.mce-videopress-checkbox .mce-i-checkbox.mce-checked:before{content:"\f147"}div[class*=mce-videopress-field] input[type=number]{right:120px!important;width:70px!important}.mce-videopress-field-at .mce-label,.mce-videopress-field-w .mce-label{text-align:left;width:115px!important}.mce-videopress-field-unit{position:absolute;right:210px;top:5px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/videopress/css/editor.min.css b/plugins/jetpack/modules/videopress/css/editor.min.css
index a840ae60..74a4dab6 100644
--- a/plugins/jetpack/modules/videopress/css/editor.min.css
+++ b/plugins/jetpack/modules/videopress/css/editor.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.mce-videopress-field-flashonly,.mce-videopress-field-freedom,.mce-videopress-field-guid{display:none}.mce-videopress-checkbox .mce-checkbox{left:120px!important;width:100%!important}.mce-videopress-checkbox .mce-label{left:150px!important}.mce-videopress-checkbox .mce-label-unit{position:absolute;left:210px;top:5px}.mce-videopress-checkbox i.mce-i-checkbox{background-color:#fff;color:#4f94d4}.mce-videopress-checkbox .mce-i-checkbox:before{display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:-3px 0 0 -3px;content:"\f147"}.mce-videopress-checkbox .mce-i-checkbox.mce-checked:before{content:"\f147"}div[class*=mce-videopress-field] input[type=number]{width:70px!important;left:120px!important}.mce-videopress-field-at .mce-label,.mce-videopress-field-w .mce-label{width:115px!important;text-align:right}.mce-videopress-field-unit{position:absolute;left:210px;top:5px} \ No newline at end of file
+.mce-videopress-field-flashonly,.mce-videopress-field-freedom,.mce-videopress-field-guid{display:none}.mce-videopress-checkbox .mce-checkbox{left:120px!important;width:100%!important}.mce-videopress-checkbox .mce-label{left:150px!important}.mce-videopress-checkbox .mce-label-unit{left:210px;position:absolute;top:5px}.mce-videopress-checkbox i.mce-i-checkbox{background-color:#fff;color:#4f94d4}.mce-videopress-checkbox .mce-i-checkbox:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f147";display:inline-block;font:400 21px/1 dashicons;margin:-3px 0 0 -3px;vertical-align:middle;width:16px}.mce-videopress-checkbox .mce-i-checkbox.mce-checked:before{content:"\f147"}div[class*=mce-videopress-field] input[type=number]{left:120px!important;width:70px!important}.mce-videopress-field-at .mce-label,.mce-videopress-field-w .mce-label{text-align:right;width:115px!important}.mce-videopress-field-unit{left:210px;position:absolute;top:5px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.css b/plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.css
index c3af72cf..c83feae5 100644
--- a/plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.css
+++ b/plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.css
@@ -1,22 +1,23 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
/**
* VideoPress styles for Editor
*/
.videopress-editor-wrapper {
- position: relative;
- max-width: 100%;
- padding: 56.25% 0 0;
- height: 0;
- overflow: hidden;
+ position: relative;
+ max-width: 100%;
+ padding: 56.25% 0 0;
+ height: 0;
+ overflow: hidden;
}
+
.tmpl-videopress_iframe_next iframe {
- position: absolute;
- top: 0;
- right: 0;
- max-width: 100%;
- max-height: 100%;
+ position: absolute;
+ top: 0;
+ right: 0;
+ max-width: 100%;
+ max-height: 100%;
}
+
body.rtl .tmpl-videopress_iframe_next iframe {
- right: auto;
- left: 0;
-} \ No newline at end of file
+ right: auto;
+ left: 0;
+}
diff --git a/plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.min.css b/plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.min.css
index 53c667e8..381a6bb8 100644
--- a/plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.min.css
+++ b/plugins/jetpack/modules/videopress/css/videopress-editor-style-rtl.min.css
@@ -1 +1 @@
-.videopress-editor-wrapper{position:relative;max-width:100%;padding:56.25% 0 0;height:0;overflow:hidden}.tmpl-videopress_iframe_next iframe{position:absolute;top:0;right:0;max-width:100%;max-height:100%}body.rtl .tmpl-videopress_iframe_next iframe{right:auto;left:0} \ No newline at end of file
+.videopress-editor-wrapper{height:0;max-width:100%;overflow:hidden;padding:56.25% 0 0;position:relative}.tmpl-videopress_iframe_next iframe{max-height:100%;max-width:100%;position:absolute;right:0;top:0}body.rtl .tmpl-videopress_iframe_next iframe{left:0;right:auto} \ No newline at end of file
diff --git a/plugins/jetpack/modules/videopress/css/videopress-editor-style.min.css b/plugins/jetpack/modules/videopress/css/videopress-editor-style.min.css
index 546cfc5c..6fa1a781 100644
--- a/plugins/jetpack/modules/videopress/css/videopress-editor-style.min.css
+++ b/plugins/jetpack/modules/videopress/css/videopress-editor-style.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.videopress-editor-wrapper{position:relative;max-width:100%;padding:56.25% 0 0;height:0;overflow:hidden}.tmpl-videopress_iframe_next iframe{position:absolute;top:0;left:0;max-width:100%;max-height:100%}body.rtl .tmpl-videopress_iframe_next iframe{left:auto;right:0} \ No newline at end of file
+.videopress-editor-wrapper{height:0;max-width:100%;overflow:hidden;padding:56.25% 0 0;position:relative}.tmpl-videopress_iframe_next iframe{left:0;max-height:100%;max-width:100%;position:absolute;top:0}body.rtl .tmpl-videopress_iframe_next iframe{left:auto;right:0} \ No newline at end of file
diff --git a/plugins/jetpack/modules/videopress/editor-media-view.php b/plugins/jetpack/modules/videopress/editor-media-view.php
index 9fffaafa..aced7c89 100644
--- a/plugins/jetpack/modules/videopress/editor-media-view.php
+++ b/plugins/jetpack/modules/videopress/editor-media-view.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * VideoPress admin media-view functions.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
@@ -14,7 +19,12 @@ function videopress_handle_editor_view_js() {
add_action( 'admin_print_footer_scripts', 'videopress_editor_view_js_templates' );
- wp_enqueue_style( 'videopress-editor-ui', plugins_url( 'css/editor.css', __FILE__ ) );
+ wp_enqueue_style(
+ 'videopress-editor-ui',
+ plugins_url( 'css/editor.css', __FILE__ ),
+ array(),
+ Jetpack_VideoPress::VERSION
+ );
wp_enqueue_script(
'videopress-editor-view',
Assets::get_file_url_for_environment(
@@ -22,7 +32,7 @@ function videopress_handle_editor_view_js() {
'modules/videopress/js/editor-view.js'
),
array( 'wp-util', 'jquery' ),
- false,
+ Jetpack_VideoPress::VERSION,
true
);
wp_localize_script(
@@ -89,8 +99,9 @@ function videopress_editor_view_js_templates() {
* Media Grid:
* Filter out any videopress video posters that we've downloaded,
* so that they don't seem to display twice.
+ *
+ * @param array $args Query variables.
*/
-add_filter( 'ajax_query_attachments_args', 'videopress_ajax_query_attachments_args' );
function videopress_ajax_query_attachments_args( $args ) {
$meta_query = array(
array(
@@ -109,17 +120,19 @@ function videopress_ajax_query_attachments_args( $args ) {
return $args;
}
+add_filter( 'ajax_query_attachments_args', 'videopress_ajax_query_attachments_args' );
/**
* Media List:
- * Do the same as ^^ but for the list view.
+ * Do the same as `videopress_ajax_query_attachments_args()` but for the list view.
+ *
+ * @param array $query WP_Query instance.
*/
-add_action( 'pre_get_posts', 'videopress_media_list_table_query' );
function videopress_media_list_table_query( $query ) {
if (
! function_exists( 'get_current_screen' )
- || is_null( get_current_screen() )
+ || get_current_screen() === null
) {
return;
}
@@ -132,18 +145,21 @@ function videopress_media_list_table_query( $query ) {
),
);
- if ( $old_meta_query = $query->get( 'meta_query' ) ) {
+ $old_meta_query = $query->get( 'meta_query' );
+ if ( $old_meta_query ) {
$meta_query[] = $old_meta_query;
}
$query->set( 'meta_query', $meta_query );
}
}
+add_action( 'pre_get_posts', 'videopress_media_list_table_query' );
/**
* Make sure that any Video that has a VideoPress GUID passes that data back.
+ *
+ * @param WP_Post $post Attachment object.
*/
-add_filter( 'wp_prepare_attachment_for_js', 'videopress_prepare_attachment_for_js' );
function videopress_prepare_attachment_for_js( $post ) {
if ( 'video' === $post['type'] ) {
$guid = get_post_meta( $post['id'], 'videopress_guid' );
@@ -153,14 +169,15 @@ function videopress_prepare_attachment_for_js( $post ) {
}
return $post;
}
+add_filter( 'wp_prepare_attachment_for_js', 'videopress_prepare_attachment_for_js' );
/**
* Wherever the Media Modal is deployed, also deploy our overrides.
*/
-add_action( 'wp_enqueue_media', 'add_videopress_media_overrides' );
function add_videopress_media_overrides() {
add_action( 'admin_print_footer_scripts', 'videopress_override_media_templates', 11 );
}
+add_action( 'wp_enqueue_media', 'add_videopress_media_overrides' );
/**
* Our video overrides!
@@ -228,9 +245,12 @@ function videopress_override_media_templates() {
/**
* Properly inject VideoPress data into Core shortcodes, and
* generate videopress shortcodes for purely remote videos.
+ *
+ * @param string $html HTML markup for a media item sent to the editor.
+ * @param int $id Attachment ID.
+ * @param array $attachment Attachment metadata.
*/
-add_filter( 'media_send_to_editor', 'videopress_media_send_to_editor', 10, 3 );
-function videopress_media_send_to_editor( $html, $id, $attachment ) {
+function videopress_media_send_to_editor( $html, $id, $attachment ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$videopress_guid = get_post_meta( $id, 'videopress_guid', true );
if ( $videopress_guid && videopress_is_valid_guid( $videopress_guid ) ) {
if ( '[video ' === substr( $html, 0, 7 ) ) {
@@ -246,3 +266,4 @@ function videopress_media_send_to_editor( $html, $id, $attachment ) {
}
return $html;
}
+add_filter( 'media_send_to_editor', 'videopress_media_send_to_editor', 10, 3 );
diff --git a/plugins/jetpack/modules/videopress/js/gutenberg-video-upload.js b/plugins/jetpack/modules/videopress/js/gutenberg-video-upload.js
index dfd558be..8afd1f2a 100644
--- a/plugins/jetpack/modules/videopress/js/gutenberg-video-upload.js
+++ b/plugins/jetpack/modules/videopress/js/gutenberg-video-upload.js
@@ -80,7 +80,6 @@ wp.apiFetch.use( function ( options, next ) {
var path = options.path;
var method = options.method;
var body = options.body;
- var file = body ? body.get( 'file' ) : null;
// Override only requests to the WP REST API media endpoint uploading new videos.
if ( ! path || path.indexOf( '/wp/v2/media' ) === -1 ) {
@@ -89,6 +88,7 @@ wp.apiFetch.use( function ( options, next ) {
if ( ! method || 'post' !== method.toLowerCase() ) {
return next( options );
}
+ var file = body ? body.get( 'file' ) : null;
if ( ! file || file.type.indexOf( 'video/' ) !== 0 ) {
return next( options );
}
diff --git a/plugins/jetpack/modules/videopress/js/videopress-add-resumable-upload-support.js b/plugins/jetpack/modules/videopress/js/videopress-add-resumable-upload-support.js
new file mode 100644
index 00000000..16567f23
--- /dev/null
+++ b/plugins/jetpack/modules/videopress/js/videopress-add-resumable-upload-support.js
@@ -0,0 +1 @@
+window.videoPressResumableEnabled = true;
diff --git a/plugins/jetpack/modules/videopress/js/videopress-token-bridge.js b/plugins/jetpack/modules/videopress/js/videopress-token-bridge.js
new file mode 100644
index 00000000..75b763c0
--- /dev/null
+++ b/plugins/jetpack/modules/videopress/js/videopress-token-bridge.js
@@ -0,0 +1,54 @@
+( function () {
+ window.addEventListener( 'message', function ( event ) {
+ var allowed_origins = [ 'https://videopress.com', 'https://video.wordpress.com' ];
+ if ( -1 === allowed_origins.indexOf( event.origin ) ) {
+ return;
+ }
+
+ if ( event.data.event !== 'videopress_token_request' ) {
+ return;
+ }
+
+ if ( ! window.videopressAjax ) {
+ return;
+ }
+
+ var fetchData = {
+ action: 'videopress-get-playback-jwt',
+ guid: event.data.guid,
+ post_id: window.videopressAjax.post_id || 0,
+ };
+
+ fetch( window.videopressAjax.ajaxUrl, {
+ method: 'POST',
+ credentials: 'same-origin',
+ body: new URLSearchParams( fetchData ),
+ } )
+ .then( function ( response ) {
+ if ( response.ok ) {
+ return response.json();
+ }
+ throw Error( 'Response is not ok' );
+ } )
+ .then( function ( jsonResponse ) {
+ if ( !! jsonResponse.success && jsonResponse.data ) {
+ event.source.postMessage(
+ {
+ event: 'videopress_token_received',
+ guid: fetchData.guid,
+ jwt: jsonResponse.data.jwt,
+ },
+ '*'
+ );
+ } else {
+ event.source.postMessage(
+ {
+ event: 'videopress_token_error',
+ guid: fetchData.guid,
+ },
+ '*'
+ );
+ }
+ } );
+ } );
+} )();
diff --git a/plugins/jetpack/modules/videopress/shortcode.php b/plugins/jetpack/modules/videopress/shortcode.php
index 1d7dcc53..7ce3147b 100644
--- a/plugins/jetpack/modules/videopress/shortcode.php
+++ b/plugins/jetpack/modules/videopress/shortcode.php
@@ -1,15 +1,21 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* VideoPress Shortcode Handler
*
* This file may or may not be included from the Jetpack VideoPress module.
*/
-
class VideoPress_Shortcode {
- /** @var VideoPress_Shortcode */
+ /**
+ * Singleton VideoPress_Shortcode instance.
+ *
+ * @var VideoPress_Shortcode
+ */
protected static $instance;
+ /**
+ * VideoPress_Shortcode constructor.
+ */
protected function __construct() {
// By explicitly declaring the provider here, we can speed things up by not relying on oEmbed discovery.
@@ -27,6 +33,8 @@ class VideoPress_Shortcode {
}
/**
+ * VideoPress_Shortcode initialization.
+ *
* @return VideoPress_Shortcode
*/
public static function initialize() {
@@ -46,7 +54,7 @@ class VideoPress_Shortcode {
* [wpvideo OcobLTqC]
*
* @link https://codex.wordpress.org/Shortcode_API Shortcode API
- * @param array $attr shortcode attributes
+ * @param array $attr shortcode attributes.
* @return string HTML markup or blank string on fail
*/
public function shortcode_callback( $attr ) {
@@ -82,6 +90,10 @@ class VideoPress_Shortcode {
'flashonly' => false, // Whether to support the Flash player exclusively
'defaultlangcode' => false, // Default language code
'cover' => true, // Whether to scale the video to its container.
+ 'muted' => false, // Whether the video should start without sound.
+ 'controls' => true, // Whether the video should display controls.
+ 'playsinline' => false, // Whether the video should be allowed to play inline (for browsers that support this).
+ 'useaveragecolor' => false, // Whether the video should use the seekbar automatic average color.
);
$attr = shortcode_atts( $defaults, $attr, 'videopress' );
@@ -118,6 +130,11 @@ class VideoPress_Shortcode {
$attr['width'] --;
}
+ // Make sure "false" being passed as useaveragecolor will be actually false.
+ if ( is_string( $attr['useaveragecolor'] ) && 'false' === strtolower( $attr['useaveragecolor'] ) ) {
+ $attr['useaveragecolor'] = false;
+ }
+
/**
* Filter the default VideoPress shortcode options.
*
@@ -139,23 +156,27 @@ class VideoPress_Shortcode {
'permalink' => $attr['permalink'],
'force_flash' => (bool) $attr['flashonly'],
'defaultlangcode' => $attr['defaultlangcode'],
- 'forcestatic' => false, // This used to be a displayed option, but now is only
+ 'forcestatic' => false, // This used to be a displayed option, but now is only.
+ 'muted' => $attr['muted'],
+ 'controls' => $attr['controls'],
+ 'playsinline' => $attr['playsinline'],
+ 'useAverageColor' => (bool) $attr['useaveragecolor'], // The casing is intentional, shortcode params are lowercase, but player expects useAverageColor
// accessible via the `videopress_shortcode_options` filter.
)
);
// Register VideoPress scripts
- wp_register_script( 'videopress', 'https://v0.wordpress.com/js/videopress.js', array( 'jquery', 'swfobject' ), '1.09' );
+ wp_register_script( 'videopress', 'https://v0.wordpress.com/js/videopress.js', array( 'jquery', 'swfobject' ), '1.09', false );
- require_once dirname( __FILE__ ) . '/class.videopress-video.php';
- require_once dirname( __FILE__ ) . '/class.videopress-player.php';
+ require_once __DIR__ . '/class.videopress-video.php';
+ require_once __DIR__ . '/class.videopress-player.php';
$player = new VideoPress_Player( $guid, $attr['width'], $options );
if ( is_feed() ) {
- return $player->asXML();
+ return $player->as_xml();
} else {
- return $player->asHTML();
+ return $player->as_html();
}
}
@@ -172,7 +193,7 @@ class VideoPress_Shortcode {
*
* @return string
*/
- public function video_shortcode_override( $html, $attr, $content, $instance ) {
+ public function video_shortcode_override( $html, $attr, $content, $instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$videopress_guid = null;
@@ -228,7 +249,7 @@ class VideoPress_Shortcode {
/**
* Adds a `for` query parameter to the oembed provider request URL.
*
- * @param String $oembed_provider
+ * @param String $oembed_provider URL of the oEmbed provider.
* @return String $ehnanced_oembed_provider
*/
public function add_oembed_for_parameter( $oembed_provider ) {
diff --git a/plugins/jetpack/modules/videopress/utility-functions.php b/plugins/jetpack/modules/videopress/utility-functions.php
index 3dad98ab..f7f98735 100644
--- a/plugins/jetpack/modules/videopress/utility-functions.php
+++ b/plugins/jetpack/modules/videopress/utility-functions.php
@@ -1,17 +1,26 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Connection\Client;
/**
* We won't have any videos less than sixty pixels wide. That would be silly.
*/
-defined( 'VIDEOPRESS_MIN_WIDTH' ) or define( 'VIDEOPRESS_MIN_WIDTH', 60 );
+defined( 'VIDEOPRESS_MIN_WIDTH' ) || define( 'VIDEOPRESS_MIN_WIDTH', 60 );
+
+/**
+ * VideoPress Privacy constants.
+ */
+abstract class VIDEOPRESS_PRIVACY {
+ const IS_PUBLIC = 0;
+ const IS_PRIVATE = 1;
+ const SITE_DEFAULT = 2;
+}
/**
* Validate user-supplied guid values against expected inputs
*
* @since 1.1
- * @param string $guid video identifier
+ * @param string $guid video identifier.
* @return bool true if passes validation test
*/
function videopress_is_valid_guid( $guid ) {
@@ -24,7 +33,7 @@ function videopress_is_valid_guid( $guid ) {
/**
* Get details about a specific video by GUID:
*
- * @param $guid string
+ * @param string $guid Video GUID.
* @return object
*/
function videopress_get_video_details( $guid ) {
@@ -70,8 +79,8 @@ function videopress_get_video_details( $guid ) {
/**
* Similar to `media_sideload_image` -- but returns an ID.
*
- * @param $url
- * @param $attachment_id
+ * @param string $url Image URL.
+ * @param int $attachment_id Post ID.
*
* @return int|mixed|object|WP_Error
*/
@@ -103,8 +112,8 @@ function videopress_download_poster_image( $url, $attachment_id ) {
/**
* Creates a local media library item of a remote VideoPress video.
*
- * @param $guid
- * @param int $parent_id
+ * @param string $guid Video GUID.
+ * @param int $parent_id Parent post ID.
*
* @return int|object
*/
@@ -151,7 +160,7 @@ function create_local_media_library_for_videopress_guid( $guid, $parent_id = 0 )
* @return int The number of items that were cleaned up.
*/
function videopress_cleanup_media_library() {
-
+ // phpcs:disable Squiz.PHP.NonExecutableCode.Unreachable -- Function is disabled currently.
// Disable this job for now.
return 0;
$query_args = array(
@@ -170,7 +179,7 @@ function videopress_cleanup_media_library() {
$cleaned = 0;
- $now = current_time( 'timestamp' );
+ $now = current_time( 'timestamp' ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested -- Probably should refactor, but this function is disabled.
if ( $query->have_posts() ) {
foreach ( $query->posts as $post ) {
@@ -187,14 +196,15 @@ function videopress_cleanup_media_library() {
}
return $cleaned;
+ // phpcs:enable Squiz.PHP.NonExecutableCode.Unreachable
}
/**
* Return an absolute URI for a given filename and guid on the CDN.
* No check is performed to ensure the guid exists or the file is present. Simple centralized string builder.
*
- * @param string $guid VideoPress identifier
- * @param string $filename name of file associated with the guid (video file name or thumbnail file name)
+ * @param string $guid VideoPress identifier.
+ * @param string $filename name of file associated with the guid (video file name or thumbnail file name).
*
* @return string Absolute URL of VideoPress file for the given guid.
*/
@@ -206,7 +216,7 @@ function videopress_cdn_file_url( $guid, $filename ) {
* Get an array of the transcoding status for the given video post.
*
* @since 4.4
- * @param int $post_id
+ * @param int $post_id Post ID.
* @return array|bool Returns an array of statuses if this is a VideoPress post, otherwise it returns false.
*/
function videopress_get_transcoding_status( $post_id ) {
@@ -233,7 +243,7 @@ function videopress_get_transcoding_status( $post_id ) {
* Get the direct url to the video.
*
* @since 4.4
- * @param string $guid
+ * @param string $guid VideoPress GUID.
* @return string
*/
function videopress_build_url( $guid ) {
@@ -251,7 +261,8 @@ function videopress_build_url( $guid ) {
* callback from the VideoPress servers.
*
* @since 4.4
- * @param string $title
+ * @param string $title The post_title.
+ * @param string $guid The VideoPress guid.
* @return int|WP_Error
*/
function videopress_create_new_media_item( $title, $guid = null ) {
@@ -272,10 +283,11 @@ function videopress_create_new_media_item( $title, $guid = null ) {
return $media_id;
}
-
/**
- * @param array $current_status
- * @param array $new_meta
+ * Merge VideoPress file status metadata.
+ *
+ * @param array $current_status The current status of the video.
+ * @param array $new_meta The new meta data to merge with the current status.
* @return array
*/
function videopress_merge_file_status( $current_status, $new_meta ) {
@@ -315,7 +327,7 @@ function videopress_merge_file_status( $current_status, $new_meta ) {
* Check to see if a video has completed processing.
*
* @since 4.4
- * @param int $post_id
+ * @param int $post_id Post ID.
* @return bool
*/
function videopress_is_finished_processing( $post_id ) {
@@ -333,12 +345,11 @@ function videopress_is_finished_processing( $post_id ) {
return $meta['videopress']['finished'];
}
-
/**
* Update the meta information status for the given video post.
*
* @since 4.4
- * @param int $post_id
+ * @param int $post_id Post ID.
* @return bool
*/
function videopress_update_meta_data( $post_id ) {
@@ -352,11 +363,7 @@ function videopress_update_meta_data( $post_id ) {
$info = (object) $meta['videopress'];
- $args = array(
- // 'sslverify' => false,
- );
-
- $result = wp_remote_get( videopress_make_video_get_path( $info->guid ), $args );
+ $result = Client::wpcom_json_api_request_as_blog( 'videos/' . $info->guid );
if ( is_wp_error( $result ) ) {
return false;
@@ -375,7 +382,7 @@ function videopress_update_meta_data( $post_id ) {
/**
* Check to see if this is a VideoPress post that hasn't had a guid set yet.
*
- * @param int $post_id
+ * @param int $post_id Post ID.
* @return bool
*/
function videopress_is_attachment_without_guid( $post_id ) {
@@ -401,7 +408,7 @@ function videopress_is_attachment_without_guid( $post_id ) {
/**
* Check to see if this is a VideoPress attachment.
*
- * @param int $post_id
+ * @param int $post_id Post ID.
* @return bool
*/
function is_videopress_attachment( $post_id ) {
@@ -422,7 +429,7 @@ function is_videopress_attachment( $post_id ) {
* Get the video update path
*
* @since 4.4
- * @param string $guid
+ * @param string $guid VideoPress GUID.
* @return string
*/
function videopress_make_video_get_path( $guid ) {
@@ -450,6 +457,20 @@ function videopress_make_media_upload_path( $blog_id ) {
}
/**
+ * Get the resumable upload api path.
+ *
+ * @since 4.4
+ * @param int $blog_id The id of the blog we're uploading to.
+ * @return string
+ */
+function videopress_make_resumable_upload_path( $blog_id ) {
+ return sprintf(
+ 'https://public-api.wordpress.com/rest/v1.1/video-uploads/%s/',
+ $blog_id
+ );
+}
+
+/**
* This is a mock of the internal VideoPress method, which is meant to duplicate the functionality
* of the WPCOM API, so that the Jetpack REST API returns the same data with no modifications.
*
@@ -480,18 +501,19 @@ function video_get_info_by_blogpostid( $blog_id, $post_id ) {
$meta = wp_get_attachment_metadata( $post_id );
if ( $meta && isset( $meta['videopress'] ) ) {
- $videopress_meta = $meta['videopress'];
- $video_info->rating = $videopress_meta['rating'];
+ $videopress_meta = $meta['videopress'];
+ $video_info->rating = isset( $videopress_meta['rating'] ) ? $videopress_meta['rating'] : null;
+ $video_info->allow_download = isset( $videopress_meta['allow_download'] ) ? $videopress_meta['allow_download'] : 0;
+ $video_info->privacy_setting = ! isset( $videopress_meta['privacy_setting'] ) ? VIDEOPRESS_PRIVACY::SITE_DEFAULT : $videopress_meta['privacy_setting'];
}
if ( videopress_is_finished_processing( $post_id ) ) {
- $video_info->finish_date_gmt = date( 'Y-m-d H:i:s' );
+ $video_info->finish_date_gmt = gmdate( 'Y-m-d H:i:s' );
}
return $video_info;
}
-
/**
* Check that a VideoPress video format has finished processing.
*
@@ -503,8 +525,8 @@ function video_get_info_by_blogpostid( $blog_id, $post_id ) {
* Note: This mimics the WPCOM function of the same name and helps the media
* API endpoint add all needed VideoPress data.
*
- * @param stdClass $info
- * @param string $format
+ * @param stdClass $info Info object.
+ * @param string $format Video format.
* @return bool
*/
function video_format_done( $info, $format ) {
@@ -546,11 +568,11 @@ function video_format_done( $info, $format ) {
* Note: This mimics the WPCOM function of the same name and helps the media
* API endpoint add all needed VideoPress data.
*
- * @param string $guid
- * @param string $format
+ * @param string $guid VideoPress GUID.
+ * @param string $format Video format.
* @return string
*/
-function video_image_url_by_guid( $guid, $format ) {
+function video_image_url_by_guid( $guid, $format ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$post = videopress_get_post_by_guid( $guid );
@@ -684,7 +706,7 @@ function jetpack_videopress_flash_embed_filter( $content ) {
$regex = '%<embed[^>]*+>(?:\s*</embed>)?%i';
$content = preg_replace_callback(
$regex,
- function( $matches, $orig_html = null ) {
+ function ( $matches ) {
$embed_code = $matches[0];
$url_matches = array();
diff --git a/plugins/jetpack/modules/videopress/videopress-admin-rtl.css b/plugins/jetpack/modules/videopress/videopress-admin-rtl.css
index fd171890..1bac1f72 100644
--- a/plugins/jetpack/modules/videopress/videopress-admin-rtl.css
+++ b/plugins/jetpack/modules/videopress/videopress-admin-rtl.css
@@ -1,107 +1,106 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
/**
* VideoPress admin media styles
*/
.videopress-modal-backdrop {
- background: #000;
- opacity: 0.7;
- position: absolute;
- top: 0;
- width: 100%;
- height: 100%;
- overflow: hidden;
- z-index: 100;
+ background: #000;
+ opacity: 0.7;
+ position: absolute;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ z-index: 100;
}
.videopress-modal {
- padding: 10px 20px;
- background: white;
- position: absolute;
- top: 0;
- width: 440px;
- overflow: hidden;
- right: 50%;
- margin-right: -220px;
- z-index: 101;
- box-shadow: -2px 2px 5px 2px rgba( 0, 0, 0, 0.5 );
- -webkit-border-bottom-left-radius: 2px;
- -webkit-border-bottom-right-radius: 2px;
- border-bottom-left-radius: 2px;
- border-bottom-right-radius: 2px;
+ padding: 10px 20px;
+ background: white;
+ position: absolute;
+ top: 0;
+ width: 440px;
+ overflow: hidden;
+ right: 50%;
+ margin-right: -220px;
+ z-index: 101;
+ box-shadow: -2px 2px 5px 2px rgba(0, 0, 0, 0.5);
+ -webkit-border-bottom-left-radius: 2px;
+ -webkit-border-bottom-right-radius: 2px;
+ border-bottom-left-radius: 2px;
+ border-bottom-right-radius: 2px;
}
.videopress-modal .submit {
- text-align: left;
- padding: 10px 0 5px;
+ text-align: left;
+ padding: 10px 0 5px;
}
.videopress-preview {
- display: block;
- float: left;
- width: 65%;
- margin-top: 18px;
- background: black;
- min-height: 97px;
- text-decoration: none;
+ display: block;
+ float: left;
+ width: 65%;
+ margin-top: 18px;
+ background: black;
+ min-height: 97px;
+ text-decoration: none;
}
.vp-preview span.videopress-preview-unavailable {
- width: 65%;
- float: left;
- text-align: right;
- margin-left: 0;
+ width: 65%;
+ float: left;
+ text-align: right;
+ margin-left: 0;
}
.videopress-preview img {
- float: right;
- width: 100%;
+ float: right;
+ width: 100%;
}
.videopress-preview span {
- display: block;
- padding-top: 40px;
- color: white !important;
- text-align: center;
+ display: block;
+ padding-top: 40px;
+ color: white !important;
+ text-align: center;
}
.vp-setting .help {
- margin: 0 35% 4px 0;
+ margin: 0 35% 4px 0;
}
-.media-sidebar .vp-setting input[type="checkbox"] {
- float: right;
- margin-top: 10px;
+.media-sidebar .vp-setting input[type=checkbox] {
+ float: right;
+ margin-top: 10px;
}
.vp-setting label {
- float: right;
- margin: 8px 5px 0 8px;
- max-width: 135px;
+ float: right;
+ margin: 8px 5px 0 8px;
+ max-width: 135px;
}
-.vp-setting input[type='radio'] {
- float: right;
- margin-top: 9px;
- width: auto;
+.vp-setting input[type=radio] {
+ float: right;
+ margin-top: 9px;
+ width: auto;
}
.vp-preview span {
- margin-top: 18px;
+ margin-top: 18px;
}
.uploader-videopress {
- margin: 16px;
+ margin: 16px;
}
.uploader-videopress .videopress-errors div {
- margin: 16px 0;
+ margin: 16px 0;
}
-.compat-field-video-rating input[type="radio"],
-.compat-field-display_embed input[type="checkbox"],
-.compat-field-allow_download input[type="checkbox"] {
- margin-top: -1px !important;
- margin-left: 5px !important;
- margin-right: 5px !important;
- vertical-align: middle;
+.compat-field-video-rating input[type=radio],
+.compat-field-display_embed input[type=checkbox],
+.compat-field-allow_download input[type=checkbox] {
+ margin-top: -1px !important;
+ margin-left: 5px !important;
+ margin-right: 5px !important;
+ vertical-align: middle;
}
diff --git a/plugins/jetpack/modules/videopress/videopress-admin-rtl.min.css b/plugins/jetpack/modules/videopress/videopress-admin-rtl.min.css
index 8f8246d8..0fbbb420 100644
--- a/plugins/jetpack/modules/videopress/videopress-admin-rtl.min.css
+++ b/plugins/jetpack/modules/videopress/videopress-admin-rtl.min.css
@@ -1 +1 @@
-.videopress-modal-backdrop{background:#000;opacity:.7;position:absolute;top:0;width:100%;height:100%;overflow:hidden;z-index:100}.videopress-modal{padding:10px 20px;background:#fff;position:absolute;top:0;width:440px;overflow:hidden;right:50%;margin-right:-220px;z-index:101;box-shadow:-2px 2px 5px 2px rgba(0,0,0,.5);-webkit-border-bottom-left-radius:2px;-webkit-border-bottom-right-radius:2px;border-bottom-left-radius:2px;border-bottom-right-radius:2px}.videopress-modal .submit{text-align:left;padding:10px 0 5px}.videopress-preview{display:block;float:left;width:65%;margin-top:18px;background:#000;min-height:97px;text-decoration:none}.vp-preview span.videopress-preview-unavailable{width:65%;float:left;text-align:right;margin-left:0}.videopress-preview img{float:right;width:100%}.videopress-preview span{display:block;padding-top:40px;color:#fff!important;text-align:center}.vp-setting .help{margin:0 35% 4px 0}.media-sidebar .vp-setting input[type=checkbox]{float:right;margin-top:10px}.vp-setting label{float:right;margin:8px 5px 0 8px;max-width:135px}.vp-setting input[type=radio]{float:right;margin-top:9px;width:auto}.vp-preview span{margin-top:18px}.uploader-videopress{margin:16px}.uploader-videopress .videopress-errors div{margin:16px 0}.compat-field-allow_download input[type=checkbox],.compat-field-display_embed input[type=checkbox],.compat-field-video-rating input[type=radio]{margin-top:-1px!important;margin-left:5px!important;margin-right:5px!important;vertical-align:middle} \ No newline at end of file
+.videopress-modal-backdrop{background:#000;height:100%;opacity:.7;overflow:hidden;position:absolute;top:0;width:100%;z-index:100}.videopress-modal{background:#fff;-webkit-border-bottom-left-radius:2px;border-bottom-left-radius:2px;-webkit-border-bottom-right-radius:2px;border-bottom-right-radius:2px;box-shadow:-2px 2px 5px 2px rgba(0,0,0,.5);margin-right:-220px;overflow:hidden;padding:10px 20px;position:absolute;right:50%;top:0;width:440px;z-index:101}.videopress-modal .submit{padding:10px 0 5px;text-align:left}.videopress-preview{background:#000;display:block;float:left;margin-top:18px;min-height:97px;text-decoration:none;width:65%}.vp-preview span.videopress-preview-unavailable{float:left;margin-left:0;text-align:right;width:65%}.videopress-preview img{float:right;width:100%}.videopress-preview span{color:#fff!important;display:block;padding-top:40px;text-align:center}.vp-setting .help{margin:0 35% 4px 0}.media-sidebar .vp-setting input[type=checkbox]{float:right;margin-top:10px}.vp-setting label{float:right;margin:8px 5px 0 8px;max-width:135px}.vp-setting input[type=radio]{float:right;margin-top:9px;width:auto}.vp-preview span{margin-top:18px}.uploader-videopress{margin:16px}.uploader-videopress .videopress-errors div{margin:16px 0}.compat-field-allow_download input[type=checkbox],.compat-field-display_embed input[type=checkbox],.compat-field-video-rating input[type=radio]{margin-left:5px!important;margin-right:5px!important;margin-top:-1px!important;vertical-align:middle} \ No newline at end of file
diff --git a/plugins/jetpack/modules/videopress/videopress-admin.min.css b/plugins/jetpack/modules/videopress/videopress-admin.min.css
index 4a6c119c..b113044c 100644
--- a/plugins/jetpack/modules/videopress/videopress-admin.min.css
+++ b/plugins/jetpack/modules/videopress/videopress-admin.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.videopress-modal-backdrop{background:#000;opacity:.7;position:absolute;top:0;width:100%;height:100%;overflow:hidden;z-index:100}.videopress-modal{padding:10px 20px;background:#fff;position:absolute;top:0;width:440px;overflow:hidden;left:50%;margin-left:-220px;z-index:101;box-shadow:2px 2px 5px 2px rgba(0,0,0,.5);-webkit-border-bottom-right-radius:2px;-webkit-border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.videopress-modal .submit{text-align:right;padding:10px 0 5px}.videopress-preview{display:block;float:right;width:65%;margin-top:18px;background:#000;min-height:97px;text-decoration:none}.vp-preview span.videopress-preview-unavailable{width:65%;float:right;text-align:left;margin-right:0}.videopress-preview img{float:left;width:100%}.videopress-preview span{display:block;padding-top:40px;color:#fff!important;text-align:center}.vp-setting .help{margin:0 0 4px 35%}.media-sidebar .vp-setting input[type=checkbox]{float:left;margin-top:10px}.vp-setting label{float:left;margin:8px 8px 0 5px;max-width:135px}.vp-setting input[type=radio]{float:left;margin-top:9px;width:auto}.vp-preview span{margin-top:18px}.uploader-videopress{margin:16px}.uploader-videopress .videopress-errors div{margin:16px 0}.compat-field-allow_download input[type=checkbox],.compat-field-display_embed input[type=checkbox],.compat-field-video-rating input[type=radio]{margin-top:-1px!important;margin-right:5px!important;margin-left:5px!important;vertical-align:middle} \ No newline at end of file
+.videopress-modal-backdrop{background:#000;height:100%;opacity:.7;overflow:hidden;position:absolute;top:0;width:100%;z-index:100}.videopress-modal{background:#fff;-webkit-border-bottom-left-radius:2px;border-bottom-left-radius:2px;-webkit-border-bottom-right-radius:2px;border-bottom-right-radius:2px;box-shadow:2px 2px 5px 2px rgba(0,0,0,.5);left:50%;margin-left:-220px;overflow:hidden;padding:10px 20px;position:absolute;top:0;width:440px;z-index:101}.videopress-modal .submit{padding:10px 0 5px;text-align:right}.videopress-preview{background:#000;display:block;float:right;margin-top:18px;min-height:97px;text-decoration:none;width:65%}.vp-preview span.videopress-preview-unavailable{float:right;margin-right:0;text-align:left;width:65%}.videopress-preview img{float:left;width:100%}.videopress-preview span{color:#fff!important;display:block;padding-top:40px;text-align:center}.vp-setting .help{margin:0 0 4px 35%}.media-sidebar .vp-setting input[type=checkbox]{float:left;margin-top:10px}.vp-setting label{float:left;margin:8px 8px 0 5px;max-width:135px}.vp-setting input[type=radio]{float:left;margin-top:9px;width:auto}.vp-preview span{margin-top:18px}.uploader-videopress{margin:16px}.uploader-videopress .videopress-errors div{margin:16px 0}.compat-field-allow_download input[type=checkbox],.compat-field-display_embed input[type=checkbox],.compat-field-video-rating input[type=radio]{margin-left:5px!important;margin-right:5px!important;margin-top:-1px!important;vertical-align:middle} \ No newline at end of file
diff --git a/plugins/jetpack/modules/waf.php b/plugins/jetpack/modules/waf.php
new file mode 100644
index 00000000..110513de
--- /dev/null
+++ b/plugins/jetpack/modules/waf.php
@@ -0,0 +1,13 @@
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Module Name: Firewall
+ * Module Description: Protect your site with Jetpack's Web Application Firewall
+ * Sort Order: 5
+ * First Introduced: 10.9
+ * Requires Connection: Yes
+ * Auto Activate: No
+ * Module Tags: Firewall, WAF
+ * Feature: Security
+ *
+ * @package automattic/jetpack
+ */
diff --git a/plugins/jetpack/modules/widget-visibility.php b/plugins/jetpack/modules/widget-visibility.php
index 253a9ee1..b5afc3ab 100644
--- a/plugins/jetpack/modules/widget-visibility.php
+++ b/plugins/jetpack/modules/widget-visibility.php
@@ -1,5 +1,11 @@
<?php
/**
+ * Module: Widget Visibility
+ *
+ * @package automattic/jetpack
+ */
+
+/**
* Module Name: Widget Visibility
* Module Description: Control where widgets appear on your site.
* First Introduced: 2.4
@@ -11,4 +17,4 @@
* Additional Search Queries: widget visibility, logic, conditional, widgets, widget
*/
-include dirname( __FILE__ ) . "/widget-visibility/widget-conditions.php";
+require __DIR__ . '/widget-visibility/widget-conditions.php';
diff --git a/plugins/jetpack/modules/widget-visibility/widget-conditions.php b/plugins/jetpack/modules/widget-visibility/widget-conditions.php
index 9120157c..2553f912 100644
--- a/plugins/jetpack/modules/widget-visibility/widget-conditions.php
+++ b/plugins/jetpack/modules/widget-visibility/widget-conditions.php
@@ -1,4 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Main class file for the Widget Visibility module.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
@@ -19,8 +24,16 @@ use Automattic\Jetpack\Assets;
* An introduction to the API endpoints can be found here: https://make.wordpress.org/core/2021/06/29/rest-api-changes-in-wordpress-5-8/
*/
class Jetpack_Widget_Conditions {
- static $passed_template_redirect = false;
+ /**
+ * Stores condition for template_redirect action.
+ *
+ * @var bool
+ */
+ public static $passed_template_redirect = false;
+ /**
+ * Class initializer.
+ */
public static function init() {
global $pagenow;
@@ -40,7 +53,7 @@ class Jetpack_Widget_Conditions {
}
// API call to *list* the widget types doesn't use editing visibility or display widgets.
- if ( false !== strpos( $_SERVER['REQUEST_URI'], '/widget-types?' ) ) {
+ if ( isset( $_SERVER['REQUEST_URI'] ) && false !== strpos( $_SERVER['REQUEST_URI'], '/widget-types?' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
return;
}
@@ -71,7 +84,7 @@ class Jetpack_Widget_Conditions {
}
// Encoding for a particular widget end point.
- if ( 1 === preg_match( '|/widget-types/.*/encode|', $_SERVER['REQUEST_URI'] ) ) {
+ if ( isset( $_SERVER['REQUEST_URI'] ) && 1 === preg_match( '|/widget-types/.*/encode|', $_SERVER['REQUEST_URI'] ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
$add_html_to_form = true;
$handle_widget_updates = true;
}
@@ -84,7 +97,7 @@ class Jetpack_Widget_Conditions {
}
// Saving widgets via non-batch API. This isn't used within WordPress but could be used by third parties in theory.
- if ( isset( $_SERVER['REQUEST_METHOD'] ) && 'GET' !== $_SERVER['REQUEST_METHOD'] && false !== strpos( $_SERVER['REQUEST_URI'], '/wp/v2/widgets' ) ) {
+ if ( isset( $_SERVER['REQUEST_METHOD'] ) && 'GET' !== $_SERVER['REQUEST_METHOD'] && false !== strpos( $_SERVER['REQUEST_URI'], '/wp/v2/widgets' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
$handle_widget_updates = true;
$add_html_to_form = true;
}
@@ -217,15 +230,17 @@ class Jetpack_Widget_Conditions {
$widget_conditions_data['author'] = array();
$widget_conditions_data['author'][] = array( '', __( 'All author pages', 'jetpack' ) );
- // Only users with publish caps
- $authors = get_users(
- array(
- 'orderby' => 'name',
- 'who' => 'authors',
- 'fields' => array( 'ID', 'display_name' ),
- )
+ /*
+ * Query for users with publish caps.
+ */
+ $authors_args = array(
+ 'orderby' => 'name',
+ 'capability' => array( 'edit_posts' ),
+ 'fields' => array( 'ID', 'display_name' ),
);
+ $authors = get_users( $authors_args );
+
foreach ( $authors as $author ) {
$widget_conditions_data['author'][] = array( (string) $author->ID, $author->display_name );
}
@@ -305,7 +320,7 @@ class Jetpack_Widget_Conditions {
'option_none_value' => '',
'value_field' => 'ID',
);
- $pages_dropdown = walk_page_dropdown_tree( $pages, 0, $dropdown_tree_args );
+ $pages_dropdown = walk_page_dropdown_tree( $pages, 0, $dropdown_tree_args );
preg_match_all( '/value=.([0-9]+).[^>]*>([^<]+)</', $pages_dropdown, $page_ids_and_titles, PREG_SET_ORDER );
$static_pages = array();
@@ -471,8 +486,8 @@ class Jetpack_Widget_Conditions {
// display the visibility panel open, e.g. when saving. In the gutenberg widget experience the POST
// value will always be empty, but this is fine - it doesn't rerender the HTML when saving anyway.
if (
- empty( $_POST['widget-conditions-visible'] )
- || $_POST['widget-conditions-visible'] == '0'
+ // phpcs:ignore WordPress.Security.NonceVerification.Missing
+ empty( $_POST['widget-conditions-visible'] ) || '0' === $_POST['widget-conditions-visible']
) {
?>
widget-conditional-hide
@@ -493,12 +508,15 @@ class Jetpack_Widget_Conditions {
">
<input type="hidden" name="widget-conditions-visible" value="
<?php
- if ( isset( $_POST['widget-conditions-visible'] ) ) {
- echo esc_attr( $_POST['widget-conditions-visible'] ); } else {
- ?>
- 0<?php } ?>" />
+ if ( isset( $_POST['widget-conditions-visible'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
+ echo esc_attr( filter_var( wp_unslash( $_POST['widget-conditions-visible'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing
+ } else {
+ echo 0;
+ }
+ ?>
+ " />
<?php
- if ( ! isset( $_POST['widget-conditions-visible'] ) ) {
+ if ( ! isset( $_POST['widget-conditions-visible'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
?>
<a href="#" class="button display-options"><?php esc_html_e( 'Visibility', 'jetpack' ); ?></a><?php } ?>
<div class="widget-conditional-inner">
@@ -535,7 +553,7 @@ class Jetpack_Widget_Conditions {
<option value="category" <?php selected( 'category', $rule['major'] ); ?>><?php esc_html_e( 'Category', 'jetpack' ); ?></option>
<option value="author" <?php selected( 'author', $rule['major'] ); ?>><?php echo esc_html_x( 'Author', 'Noun, as in: "The author of this post is..."', 'jetpack' ); ?></option>
- <?php if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) { // this doesn't work on .com because of caching ?>
+ <?php if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) { // this doesn't work on .com because of caching. ?>
<option value="loggedin" <?php selected( 'loggedin', $rule['major'] ); ?>><?php echo esc_html_x( 'User', 'Noun', 'jetpack' ); ?></option>
<option value="role" <?php selected( 'role', $rule['major'] ); ?>><?php echo esc_html_x( 'Role', 'Noun, as in: "The user role of that can access this widget is..."', 'jetpack' ); ?></option>
<?php } ?>
@@ -548,18 +566,21 @@ class Jetpack_Widget_Conditions {
<?php endif; ?>
</select>
- <?php _ex( 'is', 'Widget Visibility: {Rule Major [Page]} is {Rule Minor [Search results]}', 'jetpack' ); ?>
+ <?php echo esc_html_x( 'is', 'Widget Visibility: {Rule Major [Page]} is {Rule Minor [Search results]}', 'jetpack' ); ?>
<select class="conditions-rule-minor" name="<?php echo esc_attr( $widget->get_field_name( 'conditions[rules_minor][]' ) ); ?>"
<?php
if ( ! $rule['major'] ) {
- ?>
- disabled="disabled"<?php } ?>>
+ echo ' disabled="disabled"';
+ }
+ ?>
+ >
<?php
/*
Include the currently selected value so that if the widget is saved without
- expanding the Visibility section, we don't lose the minor part of the rule.
- If it is opened, this list is cleared out and populated with all the values. */
+ expanding the Visibility section, we don't lose the minor part of the rule.
+ If it is opened, this list is cleared out and populated with all the values.
+ */
?>
<option value="<?php echo esc_attr( $rule['minor'] ); ?>" selected="selected"></option>
</select>
@@ -567,8 +588,10 @@ class Jetpack_Widget_Conditions {
<span class="conditions-rule-has-children"
<?php
if ( ! $rule['has_children'] ) {
- ?>
- style="display: none;"<?php } ?>>
+ echo ' style="display: none;"';
+ }
+ ?>
+ >
<label>
<input type="checkbox" name="<?php echo esc_attr( $widget->get_field_name( "conditions[page_children][$rule_index]" ) ); ?>" value="has" <?php checked( $rule['has_children'], true ); ?> />
<?php echo esc_html_x( 'Include children', 'Checkbox on Widget Visibility if children of the selected page should be included in the visibility rule.', 'jetpack' ); ?>
@@ -652,7 +675,7 @@ class Jetpack_Widget_Conditions {
(
isset( $instance['conditions'], $old_instance['conditions'] )
&&
- serialize( $instance['conditions'] ) != serialize( $old_instance['conditions'] )
+ serialize( $instance['conditions'] ) !== serialize( $old_instance['conditions'] ) // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
)
) {
@@ -697,7 +720,7 @@ class Jetpack_Widget_Conditions {
continue;
}
- if ( 'wp_inactive_widgets' == $widget_area ) {
+ if ( 'wp_inactive_widgets' === $widget_area ) {
continue;
}
@@ -715,15 +738,12 @@ class Jetpack_Widget_Conditions {
$settings[ $id_base ] = get_option( 'widget_' . $id_base );
}
- // New multi widget (WP_Widget)
- if ( ! is_null( $widget_number ) ) {
+ // New multi widget (WP_Widget).
+ if ( $widget_number !== null ) {
if ( isset( $settings[ $id_base ][ $widget_number ] ) && false === self::filter_widget( $settings[ $id_base ][ $widget_number ] ) ) {
unset( $widget_areas[ $widget_area ][ $position ] );
}
- }
-
- // Old single widget
- elseif ( ! empty( $settings[ $id_base ] ) && false === self::filter_widget( $settings[ $id_base ] ) ) {
+ } elseif ( ! empty( $settings[ $id_base ] ) && false === self::filter_widget( $settings[ $id_base ] ) ) { // Old single widget.
unset( $widget_areas[ $widget_area ][ $position ] );
}
}
@@ -732,17 +752,20 @@ class Jetpack_Widget_Conditions {
return $widget_areas;
}
+ /**
+ * Set field $passed_template_redirect to true.
+ */
public static function template_redirect() {
self::$passed_template_redirect = true;
}
/**
- * Generates a condition key based on the rule array
+ * Generates a condition key based on the rule array.
*
- * @param array $rule
+ * @param array $rule rule data.
* @return string key used to retrieve the condition.
*/
- static function generate_condition_key( $rule ) {
+ public static function generate_condition_key( $rule ) {
if ( isset( $rule['has_children'] ) ) {
return $rule['major'] . ':' . $rule['minor'] . ':' . $rule['has_children'];
}
@@ -758,7 +781,7 @@ class Jetpack_Widget_Conditions {
public static function filter_widget( $instance ) {
// Don't filter widgets from the REST API when it's called via the widgets admin page - otherwise they could get
// filtered out and become impossible to edit.
- if ( strpos( wp_get_raw_referer(), '/wp-admin/widgets.php' ) && false !== strpos( $_SERVER['REQUEST_URI'], '/wp-json/' ) ) {
+ if ( strpos( wp_get_raw_referer(), '/wp-admin/widgets.php' ) && isset( $_SERVER['REQUEST_URI'] ) && false !== strpos( filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ), '/wp-json/' ) ) {
return $instance;
}
// WordPress.com specific check - here, referer ends in /rest-proxy/ and doesn't tell us what's requesting.
@@ -835,7 +858,7 @@ class Jetpack_Widget_Conditions {
break;
case 'page':
// Previously hardcoded post type options.
- if ( 'post' == $rule['minor'] ) {
+ if ( 'post' === $rule['minor'] ) {
$rule['minor'] = 'post_type-post';
} elseif ( ! $rule['minor'] ) {
$rule['minor'] = 'post_type-page';
@@ -865,20 +888,20 @@ class Jetpack_Widget_Conditions {
}
break;
default:
- if ( substr( $rule['minor'], 0, 10 ) == 'post_type-' ) {
+ if ( substr( $rule['minor'], 0, 10 ) === 'post_type-' ) {
$condition_result = is_singular( substr( $rule['minor'], 10 ) );
- } elseif ( substr( $rule['minor'], 0, 18 ) == 'post_type_archive-' ) {
+ } elseif ( substr( $rule['minor'], 0, 18 ) === 'post_type_archive-' ) {
$condition_result = is_post_type_archive( substr( $rule['minor'], 18 ) );
- } elseif ( $rule['minor'] == get_option( 'page_for_posts' ) ) {
- // If $rule['minor'] is a page ID which is also the posts page
+ } elseif ( get_option( 'page_for_posts' ) === $rule['minor'] ) {
+ // If $rule['minor'] is a page ID which is also the posts page.
$condition_result = $wp_query->is_posts_page;
} else {
// $rule['minor'] is a page ID
- $condition_result = is_page() && ( $rule['minor'] == get_the_ID() );
+ $condition_result = is_page() && ( get_the_ID() === (int) $rule['minor'] );
- // Check if $rule['minor'] is parent of page ID
+ // Check if $rule['minor'] is parent of page ID.
if ( ! $condition_result && isset( $rule['has_children'] ) && $rule['has_children'] ) {
- $condition_result = wp_get_post_parent_id( get_the_ID() ) == $rule['minor'];
+ $condition_result = wp_get_post_parent_id( get_the_ID() ) === (int) $rule['minor'];
}
}
break;
@@ -890,7 +913,7 @@ class Jetpack_Widget_Conditions {
if ( is_tag() ) {
$condition_result = true;
} elseif ( is_singular() ) {
- if ( in_array( 'post_tag', get_post_taxonomies() ) ) {
+ if ( in_array( 'post_tag', get_post_taxonomies(), true ) ) {
$condition_result = true;
}
}
@@ -910,7 +933,7 @@ class Jetpack_Widget_Conditions {
if ( is_category() ) {
$condition_result = true;
} elseif ( is_singular() ) {
- if ( in_array( 'category', get_post_taxonomies() ) ) {
+ if ( in_array( 'category', get_post_taxonomies(), true ) ) {
$condition_result = true;
}
}
@@ -936,7 +959,7 @@ class Jetpack_Widget_Conditions {
$condition_result = true;
} elseif ( $rule['minor'] && is_author( $rule['minor'] ) ) {
$condition_result = true;
- } elseif ( is_singular() && $rule['minor'] && $rule['minor'] == $post->post_author ) {
+ } elseif ( is_singular() && $rule['minor'] && $rule['minor'] === $post->post_author ) {
$condition_result = true;
}
break;
@@ -946,7 +969,7 @@ class Jetpack_Widget_Conditions {
$user_roles = $current_user->roles;
- if ( in_array( $rule['minor'], $user_roles ) ) {
+ if ( in_array( $rule['minor'], $user_roles, true ) ) {
$condition_result = true;
} else {
$condition_result = false;
@@ -956,9 +979,9 @@ class Jetpack_Widget_Conditions {
}
break;
case 'post_type':
- if ( substr( $rule['minor'], 0, 10 ) == 'post_type-' ) {
+ if ( substr( $rule['minor'], 0, 10 ) === 'post_type-' ) {
$condition_result = is_singular( substr( $rule['minor'], 10 ) );
- } elseif ( substr( $rule['minor'], 0, 18 ) == 'post_type_archive-' ) {
+ } elseif ( substr( $rule['minor'], 0, 18 ) === 'post_type_archive-' ) {
$condition_result = is_post_type_archive( substr( $rule['minor'], 18 ) );
}
break;
@@ -977,7 +1000,7 @@ class Jetpack_Widget_Conditions {
}
// Specified taxonomy page.
- $term = explode( '_tax_', $rule['minor'] ); // $term[0] = taxonomy name; $term[1] = term id
+ $term = explode( '_tax_', $rule['minor'] ); // $term[0] is taxonomy name; $term[1] is term id.
if ( isset( $term[0] ) && isset( $term[1] ) ) {
$term[1] = self::maybe_get_split_term( $term[1], $term[0] );
}
@@ -987,7 +1010,7 @@ class Jetpack_Widget_Conditions {
if ( is_tax( $term[0] ) ) {
$condition_result = true;
} elseif ( is_singular() ) {
- if ( in_array( $term[0], get_post_taxonomies() ) ) {
+ if ( in_array( $term[0], get_post_taxonomies(), true ) ) {
$condition_result = true;
}
}
@@ -1017,7 +1040,7 @@ class Jetpack_Widget_Conditions {
&& ! $condition_result
) {
- // In case the match_all flag was set we quit on first failed condition
+ // In case the match_all flag was set we quit on first failed condition.
break;
} elseif (
(
@@ -1027,7 +1050,7 @@ class Jetpack_Widget_Conditions {
&& $condition_result
) {
- // Only quit on first condition if the match_all flag was not set
+ // Only quit on first condition if the match_all flag was not set.
break;
}
}
@@ -1047,18 +1070,31 @@ class Jetpack_Widget_Conditions {
return true;
}
+ /**
+ * Helper function wrapping strcasecmp to compare term names.
+ *
+ * @param string $a str1.
+ * @param string $b str2.
+ */
public static function strcasecmp_name( $a, $b ) {
return strcasecmp( $a->name, $b->name );
}
+ /**
+ * Determine if provided term has been split.
+ *
+ * @param int $old_term_id Old term id to test.
+ * @param string $taxonomy Taxonmy that $old_term_id belongs to.
+ */
public static function maybe_get_split_term( $old_term_id = '', $taxonomy = '' ) {
$term_id = $old_term_id;
- if ( 'tag' == $taxonomy ) {
+ if ( 'tag' === $taxonomy ) {
$taxonomy = 'post_tag';
}
- if ( $new_term_id = wp_get_split_term( $old_term_id, $taxonomy ) ) {
+ $new_term_id = wp_get_split_term( $old_term_id, $taxonomy );
+ if ( $new_term_id ) {
$term_id = $new_term_id;
}
@@ -1071,18 +1107,18 @@ class Jetpack_Widget_Conditions {
*
* @since 4.7.1
*/
- static function migrate_post_type_rules() {
+ public static function migrate_post_type_rules() {
global $wp_registered_widgets;
$sidebars_widgets = get_option( 'sidebars_widgets' );
- // Going through all sidebars and through inactive and orphaned widgets
- foreach ( $sidebars_widgets as $s => $sidebar ) {
+ // Going through all sidebars and through inactive and orphaned widgets.
+ foreach ( $sidebars_widgets as $sidebar ) {
if ( ! is_array( $sidebar ) ) {
continue;
}
- foreach ( $sidebar as $w => $widget ) {
+ foreach ( $sidebar as $widget ) {
// $widget is the id of the widget
if ( empty( $wp_registered_widgets[ $widget ] ) ) {
continue;
@@ -1091,7 +1127,11 @@ class Jetpack_Widget_Conditions {
$opts = $wp_registered_widgets[ $widget ];
$instances = get_option( $opts['callback'][0]->option_name );
- // Going through each instance of the widget
+ if ( ! is_array( $instances ) || empty( $instances ) ) {
+ continue;
+ }
+
+ // Going through each instance of the widget.
foreach ( $instances as $number => $instance ) {
if (
! is_array( $instance ) ||
@@ -1101,17 +1141,17 @@ class Jetpack_Widget_Conditions {
continue;
}
- // Going through all visibility rules
+ // Going through all visibility rules.
foreach ( $instance['conditions']['rules'] as $index => $rule ) {
- // We only need Post Type rules
+ // We only need Post Type rules.
if ( 'post_type' !== $rule['major'] ) {
continue;
}
$rule_type = false;
- // Post type or type archive rule
+ // Post type or type archive rule.
if ( 0 === strpos( $rule['minor'], 'post_type_archive' ) ) {
$rule_type = 'post_type_archive';
} elseif ( 0 === strpos( $rule['minor'], 'post_type' ) ) {
diff --git a/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.css b/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.css
index 70846d82..c28b7587 100644
--- a/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.css
+++ b/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.css
@@ -1,211 +1,229 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.wp-customizer .expanded .widget-conditional .widget-conditional-inner {
- width: 98%; /* Safari/Chrome, other WebKit */ /* Firefox, other Gecko */
- box-sizing: border-box;
+.wp-customizer .expanded .widget-conditional .widget-conditional-inner {
+ width: 98%;
+ /* Safari/Chrome, other WebKit */
+ /* Firefox, other Gecko */
+ box-sizing: border-box;
}
-.wp-customizer .expanded .widget-conditional .form{
- overflow: scroll;
- margin-bottom: 20px;
+.wp-customizer .expanded .widget-conditional .form {
+ overflow: scroll;
+ margin-bottom: 20px;
}
+
.widget-liquid-right .widget.expanded {
- overflow: visible;
+ overflow: visible;
}
+
.widget-conditional-hide {
- display: none;
+ display: none;
}
-.widget-conditional .widget-conditional-inner {
- background: #f6f7f7;
- border: 1px solid #dcdcde;
- padding: 12px 10px 0;
+.widget-conditional .widget-conditional-inner {
+ background: #f6f7f7;
+ border: 1px solid #dcdcde;
+ padding: 12px 10px 0;
}
+
.widget-conditional {
- margin-bottom: 12px;
- margin-top: 10px;
+ margin-bottom: 12px;
+ margin-top: 10px;
}
-.widget-conditional .conditions{
- margin-bottom: 12px;
+
+.widget-conditional .conditions {
+ margin-bottom: 12px;
}
+
.widget-conditional .condition,
.widget-conditional .condition-top {
- clear:both;
+ clear: both;
}
+
.widget-conditional .condition {
- padding-top: 12px;
- position: relative;
+ padding-top: 12px;
+ position: relative;
}
+
.widget-conditional .condition select {
- width: 120px;
- position: relative;
- z-index: 2;
+ width: 120px;
+ position: relative;
+ z-index: 2;
}
+
.widget-conditional .condition-top select {
- width: auto;
+ width: auto;
}
+
.widget-conditional .condition-control {
- padding-top: 4px;
- clear: both;
- margin-top: -20px;
+ padding-top: 4px;
+ clear: both;
+ margin-top: -20px;
}
+
.widget-conditional .selection {
- margin-left: 50px;
- margin-right: 20px;
+ margin-left: 50px;
+ margin-right: 20px;
}
+
.widget-conditional .conditions-rule-has-children {
- display: block;
+ display: block;
}
+
+.widget-conditional .condition .actions {
+ margin-top: -28px;
+}
+
.widget-conditional .condition .actions {
- margin-top: -28px;
-}.widget-conditional .condition .actions {
- margin-top: -28px;
+ margin-top: -28px;
}
.widget-conditional .condition-control a {
- text-decoration: none;
- position: absolute;
- top: 17px;
- text-indent: -9999px;
- z-index: 1;
+ text-decoration: none;
+ position: absolute;
+ top: 17px;
+ text-indent: -9999px;
+ z-index: 1;
}
.wp-block-legacy-widget__edit-form .widget-conditional .condition-control a {
- top: 20px;
+ top: 20px;
}
.widget-conditional .condition-control a:before {
- position: absolute;
- text-indent: 0;
- top: 0;
- right: 0;
+ position: absolute;
+ text-indent: 0;
+ top: 0;
+ right: 0;
}
+
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .condition-control .delete-condition,
.widget-conditional .condition-control .delete-condition {
- right: 0;
- color: #f11;
+ right: 0;
+ color: #f11;
}
+
.widget-conditional .condition-control .add-condition {
- left: 0;
+ left: 0;
}
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner a.dashicons {
- font-family: dashicons;
+ font-family: dashicons;
}
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner select {
- display:initial;
- width:auto;
- background-color: #fff;
+ display: initial;
+ width: auto;
+ background-color: #fff;
}
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner select:disabled {
- color: #a7aaad;
- border-color: #dcdcde;
- background-color: #f6f7f7;
+ color: #a7aaad;
+ border-color: #dcdcde;
+ background-color: #f6f7f7;
}
-.editor-styles-wrapper .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .alignleft {
- margin-right:20px
+.editor-styles-wrapper .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .alignleft {
+ margin-right: 20px;
}
.widget-conditional .condition:last-child .condition-conjunction,
.widget-conditional .condition:last-child .condition-intersection {
- display: none;
+ display: none;
}
.widget-conditional.conjunction .condition-intersection {
- display: none;
+ display: none;
}
.widget-conditional.intersection .condition-conjunction {
- display: none;
+ display: none;
}
.wp-core-ui .button.display-options {
- margin-left: 5px;
+ margin-left: 5px;
}
+
.wp-core-ui .button.display-options:hover {
- text-decoration: none;
+ text-decoration: none;
}
.wp-customizer .widget-conditional select {
- min-width: 0;
- max-width: none;
- height: auto;
+ min-width: 0;
+ max-width: none;
+ height: auto;
}
+
.wp-customizer .widget-conditional .condition-control a {
- top: 15px;
-}
-@media screen and ( max-width: 782px ) {
- .widget-conditional .condition-control a {
- top: 20px;
- }
+ top: 15px;
}
+@media screen and (max-width: 782px) {
+ .widget-conditional .condition-control a {
+ top: 20px;
+ }
+}
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner {
- /*
- * fonts of labels are reset to 13px in gutenberg editor for legacy widgets, ensure a consistent look on non-labels
- */
- font-size: 13px;
+ /*
+ * fonts of labels are reset to 13px in gutenberg editor for legacy widgets, ensure a consistent look on non-labels
+ */
+ font-size: 13px;
}
/*
* Rules for gutenberg advanced panel
*/
-
- .widget-vis__wrapper .components-base-control,
- .widget-vis__rule .components-base-control {
- margin-bottom: 12px;
- }
+.widget-vis__wrapper .components-base-control,
+.widget-vis__rule .components-base-control {
+ margin-bottom: 12px;
+}
.widget-vis__rule {
- padding: 12px;
- border: 1px solid #dcdcde;
- display: flex;
- flex-direction: column;
- margin-bottom: 12px;
+ padding: 12px;
+ border: 1px solid #dcdcde;
+ display: flex;
+ flex-direction: column;
+ margin-bottom: 12px;
}
.widget-vis__rule-major,
.widget-vis__rule-minor {
- display: flex;
- justify-content: stretch;
- align-items: center;
+ display: flex;
+ justify-content: stretch;
+ align-items: center;
}
.widget-vis__if,
.widget-vis__is {
- margin-left: 8px;
- width: 10px;
+ margin-left: 8px;
+ width: 10px;
}
.widget-vis__show-hide {
- margin-bottom: 0;
+ margin-bottom: 0;
}
.components-button.widget-vis__add-new-rule {
- display: block;
+ display: block;
}
.widget-vis__delete-rule {
- margin-top: 6px;
- text-align: left;
+ margin-top: 6px;
+ text-align: left;
}
.widget-vis__match-all {
- margin-top: 12px;
+ margin-top: 12px;
}
.widget-vis__select {
- width: 100%;
+ width: 100%;
}
.widget-vis__select .components-input-control__container {
- position: relative;
- top: 4px;
+ position: relative;
+ top: 4px;
}
.widget-vis__select-multi-level select option:disabled {
- font-size: 18px;
- font-weight: 600;
+ font-size: 18px;
+ font-weight: 600;
}
diff --git a/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.min.css b/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.min.css
index 4c394d18..36cc9cd6 100644
--- a/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.min.css
+++ b/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.min.css
@@ -1 +1 @@
-.wp-customizer .expanded .widget-conditional .widget-conditional-inner{width:98%;box-sizing:border-box}.wp-customizer .expanded .widget-conditional .form{overflow:scroll;margin-bottom:20px}.widget-liquid-right .widget.expanded{overflow:visible}.widget-conditional-hide{display:none}.widget-conditional .widget-conditional-inner{background:#f6f7f7;border:1px solid #dcdcde;padding:12px 10px 0}.widget-conditional{margin-bottom:12px;margin-top:10px}.widget-conditional .conditions{margin-bottom:12px}.widget-conditional .condition,.widget-conditional .condition-top{clear:both}.widget-conditional .condition{padding-top:12px;position:relative}.widget-conditional .condition select{width:120px;position:relative;z-index:2}.widget-conditional .condition-top select{width:auto}.widget-conditional .condition-control{padding-top:4px;clear:both;margin-top:-20px}.widget-conditional .selection{margin-left:50px;margin-right:20px}.widget-conditional .conditions-rule-has-children{display:block}.widget-conditional .condition .actions{margin-top:-28px}.widget-conditional .condition .actions{margin-top:-28px}.widget-conditional .condition-control a{text-decoration:none;position:absolute;top:17px;text-indent:-9999px;z-index:1}.wp-block-legacy-widget__edit-form .widget-conditional .condition-control a{top:20px}.widget-conditional .condition-control a:before{position:absolute;text-indent:0;top:0;right:0}.widget-conditional .condition-control .delete-condition,.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .condition-control .delete-condition{right:0;color:#f11}.widget-conditional .condition-control .add-condition{left:0}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner a.dashicons{font-family:dashicons}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner select{display:initial;width:auto;background-color:#fff}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner select:disabled{color:#a7aaad;border-color:#dcdcde;background-color:#f6f7f7}.editor-styles-wrapper .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .alignleft{margin-right:20px}.widget-conditional .condition:last-child .condition-conjunction,.widget-conditional .condition:last-child .condition-intersection{display:none}.widget-conditional.conjunction .condition-intersection{display:none}.widget-conditional.intersection .condition-conjunction{display:none}.wp-core-ui .button.display-options{margin-left:5px}.wp-core-ui .button.display-options:hover{text-decoration:none}.wp-customizer .widget-conditional select{min-width:0;max-width:none;height:auto}.wp-customizer .widget-conditional .condition-control a{top:15px}@media screen and (max-width:782px){.widget-conditional .condition-control a{top:20px}}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner{font-size:13px}.widget-vis__rule .components-base-control,.widget-vis__wrapper .components-base-control{margin-bottom:12px}.widget-vis__rule{padding:12px;border:1px solid #dcdcde;display:flex;flex-direction:column;margin-bottom:12px}.widget-vis__rule-major,.widget-vis__rule-minor{display:flex;justify-content:stretch;align-items:center}.widget-vis__if,.widget-vis__is{margin-left:8px;width:10px}.widget-vis__show-hide{margin-bottom:0}.components-button.widget-vis__add-new-rule{display:block}.widget-vis__delete-rule{margin-top:6px;text-align:left}.widget-vis__match-all{margin-top:12px}.widget-vis__select{width:100%}.widget-vis__select .components-input-control__container{position:relative;top:4px}.widget-vis__select-multi-level select option:disabled{font-size:18px;font-weight:600} \ No newline at end of file
+.wp-customizer .expanded .widget-conditional .widget-conditional-inner{box-sizing:border-box;width:98%}.wp-customizer .expanded .widget-conditional .form{margin-bottom:20px;overflow:scroll}.widget-liquid-right .widget.expanded{overflow:visible}.widget-conditional-hide{display:none}.widget-conditional .widget-conditional-inner{background:#f6f7f7;border:1px solid #dcdcde;padding:12px 10px 0}.widget-conditional{margin-bottom:12px;margin-top:10px}.widget-conditional .conditions{margin-bottom:12px}.widget-conditional .condition,.widget-conditional .condition-top{clear:both}.widget-conditional .condition{padding-top:12px;position:relative}.widget-conditional .condition select{position:relative;width:120px;z-index:2}.widget-conditional .condition-top select{width:auto}.widget-conditional .condition-control{clear:both;margin-top:-20px;padding-top:4px}.widget-conditional .selection{margin-left:50px;margin-right:20px}.widget-conditional .conditions-rule-has-children{display:block}.widget-conditional .condition .actions{margin-top:-28px}.widget-conditional .condition-control a{position:absolute;text-decoration:none;text-indent:-9999px;top:17px;z-index:1}.wp-block-legacy-widget__edit-form .widget-conditional .condition-control a{top:20px}.widget-conditional .condition-control a:before{position:absolute;right:0;text-indent:0;top:0}.widget-conditional .condition-control .delete-condition,.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .condition-control .delete-condition{color:#f11;right:0}.widget-conditional .condition-control .add-condition{left:0}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner a.dashicons{font-family:dashicons}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner select{background-color:#fff;display:initial;width:auto}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner select:disabled{background-color:#f6f7f7;border-color:#dcdcde;color:#a7aaad}.editor-styles-wrapper .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .alignleft{margin-right:20px}.widget-conditional .condition:last-child .condition-conjunction,.widget-conditional .condition:last-child .condition-intersection,.widget-conditional.conjunction .condition-intersection,.widget-conditional.intersection .condition-conjunction{display:none}.wp-core-ui .button.display-options{margin-left:5px}.wp-core-ui .button.display-options:hover{text-decoration:none}.wp-customizer .widget-conditional select{height:auto;max-width:none;min-width:0}.wp-customizer .widget-conditional .condition-control a{top:15px}@media screen and (max-width:782px){.widget-conditional .condition-control a{top:20px}}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner{font-size:13px}.widget-vis__rule,.widget-vis__rule .components-base-control,.widget-vis__wrapper .components-base-control{margin-bottom:12px}.widget-vis__rule{border:1px solid #dcdcde;display:flex;flex-direction:column;padding:12px}.widget-vis__rule-major,.widget-vis__rule-minor{align-items:center;display:flex;justify-content:stretch}.widget-vis__if,.widget-vis__is{margin-left:8px;width:10px}.widget-vis__show-hide{margin-bottom:0}.components-button.widget-vis__add-new-rule{display:block}.widget-vis__delete-rule{margin-top:6px;text-align:left}.widget-vis__match-all{margin-top:12px}.widget-vis__select{width:100%}.widget-vis__select .components-input-control__container{position:relative;top:4px}.widget-vis__select-multi-level select option:disabled{font-size:18px;font-weight:600} \ No newline at end of file
diff --git a/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions.min.css b/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions.min.css
index f03127fb..a0a0ecc4 100644
--- a/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions.min.css
+++ b/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.wp-customizer .expanded .widget-conditional .widget-conditional-inner{width:98%;box-sizing:border-box}.wp-customizer .expanded .widget-conditional .form{overflow:scroll;margin-bottom:20px}.widget-liquid-right .widget.expanded{overflow:visible}.widget-conditional-hide{display:none}.widget-conditional .widget-conditional-inner{background:#f6f7f7;border:1px solid #dcdcde;padding:12px 10px 0}.widget-conditional{margin-bottom:12px;margin-top:10px}.widget-conditional .conditions{margin-bottom:12px}.widget-conditional .condition,.widget-conditional .condition-top{clear:both}.widget-conditional .condition{padding-top:12px;position:relative}.widget-conditional .condition select{width:120px;position:relative;z-index:2}.widget-conditional .condition-top select{width:auto}.widget-conditional .condition-control{padding-top:4px;clear:both;margin-top:-20px}.widget-conditional .selection{margin-right:50px;margin-left:20px}.widget-conditional .conditions-rule-has-children{display:block}.widget-conditional .condition .actions{margin-top:-28px}.widget-conditional .condition .actions{margin-top:-28px}.widget-conditional .condition-control a{text-decoration:none;position:absolute;top:17px;text-indent:-9999px;z-index:1}.wp-block-legacy-widget__edit-form .widget-conditional .condition-control a{top:20px}.widget-conditional .condition-control a:before{position:absolute;text-indent:0;top:0;left:0}.widget-conditional .condition-control .delete-condition,.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .condition-control .delete-condition{left:0;color:#f11}.widget-conditional .condition-control .add-condition{right:0}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner a.dashicons{font-family:dashicons}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner select{display:initial;width:auto;background-color:#fff}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner select:disabled{color:#a7aaad;border-color:#dcdcde;background-color:#f6f7f7}.editor-styles-wrapper .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .alignleft{margin-left:20px}.widget-conditional .condition:last-child .condition-conjunction,.widget-conditional .condition:last-child .condition-intersection{display:none}.widget-conditional.conjunction .condition-intersection{display:none}.widget-conditional.intersection .condition-conjunction{display:none}.wp-core-ui .button.display-options{margin-right:5px}.wp-core-ui .button.display-options:hover{text-decoration:none}.wp-customizer .widget-conditional select{min-width:0;max-width:none;height:auto}.wp-customizer .widget-conditional .condition-control a{top:15px}@media screen and (max-width:782px){.widget-conditional .condition-control a{top:20px}}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner{font-size:13px}.widget-vis__rule .components-base-control,.widget-vis__wrapper .components-base-control{margin-bottom:12px}.widget-vis__rule{padding:12px;border:1px solid #dcdcde;display:flex;flex-direction:column;margin-bottom:12px}.widget-vis__rule-major,.widget-vis__rule-minor{display:flex;justify-content:stretch;align-items:center}.widget-vis__if,.widget-vis__is{margin-right:8px;width:10px}.widget-vis__show-hide{margin-bottom:0}.components-button.widget-vis__add-new-rule{display:block}.widget-vis__delete-rule{margin-top:6px;text-align:right}.widget-vis__match-all{margin-top:12px}.widget-vis__select{width:100%}.widget-vis__select .components-input-control__container{position:relative;top:4px}.widget-vis__select-multi-level select option:disabled{font-size:18px;font-weight:600} \ No newline at end of file
+.wp-customizer .expanded .widget-conditional .widget-conditional-inner{box-sizing:border-box;width:98%}.wp-customizer .expanded .widget-conditional .form{margin-bottom:20px;overflow:scroll}.widget-liquid-right .widget.expanded{overflow:visible}.widget-conditional-hide{display:none}.widget-conditional .widget-conditional-inner{background:#f6f7f7;border:1px solid #dcdcde;padding:12px 10px 0}.widget-conditional{margin-bottom:12px;margin-top:10px}.widget-conditional .conditions{margin-bottom:12px}.widget-conditional .condition,.widget-conditional .condition-top{clear:both}.widget-conditional .condition{padding-top:12px;position:relative}.widget-conditional .condition select{position:relative;width:120px;z-index:2}.widget-conditional .condition-top select{width:auto}.widget-conditional .condition-control{clear:both;margin-top:-20px;padding-top:4px}.widget-conditional .selection{margin-left:20px;margin-right:50px}.widget-conditional .conditions-rule-has-children{display:block}.widget-conditional .condition .actions{margin-top:-28px}.widget-conditional .condition-control a{position:absolute;text-decoration:none;text-indent:-9999px;top:17px;z-index:1}.wp-block-legacy-widget__edit-form .widget-conditional .condition-control a{top:20px}.widget-conditional .condition-control a:before{left:0;position:absolute;text-indent:0;top:0}.widget-conditional .condition-control .delete-condition,.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .condition-control .delete-condition{color:#f11;left:0}.widget-conditional .condition-control .add-condition{right:0}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner a.dashicons{font-family:dashicons}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner select{background-color:#fff;display:initial;width:auto}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner select:disabled{background-color:#f6f7f7;border-color:#dcdcde;color:#a7aaad}.editor-styles-wrapper .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .alignleft{margin-left:20px}.widget-conditional .condition:last-child .condition-conjunction,.widget-conditional .condition:last-child .condition-intersection,.widget-conditional.conjunction .condition-intersection,.widget-conditional.intersection .condition-conjunction{display:none}.wp-core-ui .button.display-options{margin-right:5px}.wp-core-ui .button.display-options:hover{text-decoration:none}.wp-customizer .widget-conditional select{height:auto;max-width:none;min-width:0}.wp-customizer .widget-conditional .condition-control a{top:15px}@media screen and (max-width:782px){.widget-conditional .condition-control a{top:20px}}.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner{font-size:13px}.widget-vis__rule,.widget-vis__rule .components-base-control,.widget-vis__wrapper .components-base-control{margin-bottom:12px}.widget-vis__rule{border:1px solid #dcdcde;display:flex;flex-direction:column;padding:12px}.widget-vis__rule-major,.widget-vis__rule-minor{align-items:center;display:flex;justify-content:stretch}.widget-vis__if,.widget-vis__is{margin-right:8px;width:10px}.widget-vis__show-hide{margin-bottom:0}.components-button.widget-vis__add-new-rule{display:block}.widget-vis__delete-rule{margin-top:6px;text-align:right}.widget-vis__match-all{margin-top:12px}.widget-vis__select{width:100%}.widget-vis__select .components-input-control__container{position:relative;top:4px}.widget-vis__select-multi-level select option:disabled{font-size:18px;font-weight:600} \ No newline at end of file
diff --git a/plugins/jetpack/modules/widgets.php b/plugins/jetpack/modules/widgets.php
index 84ad7cd0..83231dbc 100644
--- a/plugins/jetpack/modules/widgets.php
+++ b/plugins/jetpack/modules/widgets.php
@@ -9,12 +9,17 @@
* Module Tags: Social, Appearance
* Feature: Appearance
* Additional Search Queries: widget, widgets, facebook, gallery, twitter, gravatar, image, rss
+ *
+ * @package automattic/jetpack
*/
+/**
+ * Load Jetpack widget files.
+ */
function jetpack_load_widgets() {
$widgets_include = array();
- foreach ( Jetpack::glob_php( dirname( __FILE__ ) . '/widgets' ) as $file ) {
+ foreach ( Jetpack::glob_php( __DIR__ . '/widgets' ) as $file ) {
$widgets_include[] = $file;
}
/**
@@ -28,16 +33,18 @@ function jetpack_load_widgets() {
*/
$widgets_include = apply_filters( 'jetpack_widgets_to_include', $widgets_include );
- foreach( $widgets_include as $include ) {
+ foreach ( $widgets_include as $include ) {
include_once $include;
}
- include_once dirname( __FILE__ ) . '/widgets/migrate-to-core/image-widget.php';
- include_once dirname( __FILE__ ) . '/widgets/migrate-to-core/gallery-widget.php';
+ include_once __DIR__ . '/widgets/migrate-to-core/image-widget.php';
+ include_once __DIR__ . '/widgets/migrate-to-core/gallery-widget.php';
}
add_action( 'jetpack_modules_loaded', 'jetpack_widgets_loaded' );
-
+/**
+ * Actions to perform after Jetpack widgets are loaded.
+ */
function jetpack_widgets_loaded() {
Jetpack::enable_module_configurable( __FILE__ );
add_filter( 'jetpack_module_configuration_url_widgets', 'jetpack_widgets_configuration_url' );
@@ -61,7 +68,13 @@ jetpack_load_widgets();
* @since 4.4.0
*/
function jetpack_widgets_customizer_assets_preview() {
- wp_enqueue_script( 'jetpack-customizer-widget-utils', plugins_url( '/widgets/customizer-utils.js', __FILE__ ), array( 'customize-base' ) );
+ wp_enqueue_script(
+ 'jetpack-customizer-widget-utils',
+ plugins_url( '/widgets/customizer-utils.js', __FILE__ ),
+ array( 'customize-base' ),
+ JETPACK__VERSION,
+ false
+ );
}
add_action( 'customize_preview_init', 'jetpack_widgets_customizer_assets_preview' );
@@ -71,10 +84,18 @@ add_action( 'customize_preview_init', 'jetpack_widgets_customizer_assets_preview
* @since 4.4.0
*/
function jetpack_widgets_customizer_assets_controls() {
- wp_enqueue_style( 'jetpack-customizer-widget-controls', plugins_url( '/widgets/customizer-controls.css', __FILE__ ), array( 'customize-widgets' ) );
+ wp_enqueue_style(
+ 'jetpack-customizer-widget-controls',
+ plugins_url( '/widgets/customizer-controls.css', __FILE__ ),
+ array( 'customize-widgets' ),
+ JETPACK__VERSION
+ );
}
add_action( 'customize_controls_enqueue_scripts', 'jetpack_widgets_customizer_assets_controls' );
+/**
+ * Cleanup old Jetpack widgets data.
+ */
function jetpack_widgets_remove_old_widgets() {
$old_widgets = array(
'googleplus-badge',
diff --git a/plugins/jetpack/modules/widgets/authors.php b/plugins/jetpack/modules/widgets/authors.php
index 402794fc..d56f2ec3 100644
--- a/plugins/jetpack/modules/widgets/authors.php
+++ b/plugins/jetpack/modules/widgets/authors.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Disable direct access/execution to/of the widget code.
*/
@@ -17,6 +17,9 @@ if ( ! defined( 'ABSPATH' ) ) {
* @since 4.5.0
*/
class Jetpack_Widget_Authors extends WP_Widget {
+ /**
+ * Jetpack_Widget_Authors contructor.
+ */
public function __construct() {
parent::__construct(
'authors',
@@ -43,22 +46,32 @@ class Jetpack_Widget_Authors extends WP_Widget {
*
* @since 4.5.0
*/
- function enqueue_style() {
+ public function enqueue_style() {
wp_register_style( 'jetpack-authors-widget', plugins_url( 'authors/style.css', __FILE__ ), array(), '20161228' );
wp_enqueue_style( 'jetpack-authors-widget' );
}
+ /**
+ * Flush Authors widget cached data.
+ */
public static function flush_cache() {
wp_cache_delete( 'widget_authors', 'widget' );
wp_cache_delete( 'widget_authors_ssl', 'widget' );
}
+ /**
+ * Echoes the widget content.
+ *
+ * @param array $args Display arguments.
+ * @param array $instance Widget settings for the instance.
+ */
public function widget( $args, $instance ) {
$cache_bucket = is_ssl() ? 'widget_authors_ssl' : 'widget_authors';
- if ( '%BEG_OF_TITLE%' != $args['before_title'] ) {
- if ( $output = wp_cache_get( $cache_bucket, 'widget' ) ) {
- echo $output;
+ if ( '%BEG_OF_TITLE%' !== $args['before_title'] ) {
+ $output = wp_cache_get( $cache_bucket, 'widget' );
+ if ( $output ) {
+ echo $output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Cached widget display.
return;
}
@@ -66,7 +79,8 @@ class Jetpack_Widget_Authors extends WP_Widget {
}
$instance = wp_parse_args(
- $instance, array(
+ $instance,
+ array(
'title' => __( 'Authors', 'jetpack' ),
'all' => false,
'number' => 5,
@@ -75,7 +89,7 @@ class Jetpack_Widget_Authors extends WP_Widget {
);
$instance['number'] = min( 10, max( 0, (int) $instance['number'] ) );
- // We need to query at least one post to determine whether an author has written any posts or not
+ // We need to query at least one post to determine whether an author has written any posts or not.
$query_number = max( $instance['number'], 1 );
/**
@@ -106,14 +120,14 @@ class Jetpack_Widget_Authors extends WP_Widget {
$get_author_params = apply_filters(
'jetpack_widget_authors_params',
array(
- 'who' => 'authors',
- 'exclude' => (array) $excluded_authors,
+ 'capability' => array( 'edit_posts' ),
+ 'exclude' => (array) $excluded_authors,
)
);
$authors = get_users( $get_author_params );
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/** This filter is documented in core/src/wp-includes/default-widgets.php */
$title = apply_filters( 'widget_title', $instance['title'] );
echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
@@ -149,9 +163,9 @@ class Jetpack_Widget_Authors extends WP_Widget {
echo '<li>';
- // Display avatar and author name
+ // Display avatar and author name.
if ( $r->have_posts() ) {
- echo '<a href="' . get_author_posts_url( $author->ID ) . '">';
+ echo '<a href="' . esc_url( get_author_posts_url( $author->ID ) ) . '">';
if ( $instance['avatar_size'] > 1 ) {
echo ' ' . get_avatar( $author->ID, $instance['avatar_size'], '', true ) . ' ';
@@ -167,7 +181,7 @@ class Jetpack_Widget_Authors extends WP_Widget {
echo '<strong>' . esc_html( $author->display_name ) . '</strong>';
}
- if ( 0 == $instance['number'] ) {
+ if ( 0 === (int) $instance['number'] ) {
echo '</li>';
continue;
}
@@ -195,11 +209,11 @@ class Jetpack_Widget_Authors extends WP_Widget {
}
echo '</ul>';
- echo $args['after_widget'];
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
wp_reset_postdata();
- if ( '%BEG_OF_TITLE%' != $args['before_title'] ) {
+ if ( '%BEG_OF_TITLE%' !== $args['before_title'] ) {
wp_cache_add( $cache_bucket, ob_get_flush(), 'widget' );
}
@@ -207,9 +221,15 @@ class Jetpack_Widget_Authors extends WP_Widget {
do_action( 'jetpack_stats_extra', 'widget_view', 'authors' );
}
+ /**
+ * Outputs the widget settings form.
+ *
+ * @param array $instance Current settings.
+ */
public function form( $instance ) {
$instance = wp_parse_args(
- $instance, array(
+ $instance,
+ array(
'title' => '',
'all' => false,
'avatar_size' => 48,
@@ -220,27 +240,27 @@ class Jetpack_Widget_Authors extends WP_Widget {
?>
<p>
<label>
- <?php _e( 'Title:', 'jetpack' ); ?>
- <input class="widefat" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" />
+ <?php esc_html_e( 'Title:', 'jetpack' ); ?>
+ <input class="widefat" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" />
</label>
</p>
<p>
<label>
- <input class="checkbox" type="checkbox" <?php checked( $instance['all'] ); ?> name="<?php echo $this->get_field_name( 'all' ); ?>" />
- <?php _e( 'Display all authors (including those who have not written any posts)', 'jetpack' ); ?>
+ <input class="checkbox" type="checkbox" <?php checked( $instance['all'] ); ?> name="<?php echo esc_attr( $this->get_field_name( 'all' ) ); ?>" />
+ <?php esc_html_e( 'Display all authors (including those who have not written any posts)', 'jetpack' ); ?>
</label>
</p>
<p>
<label>
- <?php _e( 'Number of posts to show for each author:', 'jetpack' ); ?>
- <input style="width: 50px; text-align: center;" name="<?php echo $this->get_field_name( 'number' ); ?>" type="text" value="<?php echo esc_attr( $instance['number'] ); ?>" />
- <?php _e( '(at most 10)', 'jetpack' ); ?>
+ <?php esc_html_e( 'Number of posts to show for each author:', 'jetpack' ); ?>
+ <input style="width: 50px; text-align: center;" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['number'] ); ?>" />
+ <?php esc_html_e( '(at most 10)', 'jetpack' ); ?>
</label>
</p>
<p>
<label>
- <?php _e( 'Avatar Size (px):', 'jetpack' ); ?>
- <select name="<?php echo $this->get_field_name( 'avatar_size' ); ?>">
+ <?php esc_html_e( 'Avatar Size (px):', 'jetpack' ); ?>
+ <select name="<?php echo esc_attr( $this->get_field_name( 'avatar_size' ) ); ?>">
<?php
foreach ( array(
'1' => __( 'No Avatars', 'jetpack' ),
@@ -250,7 +270,7 @@ class Jetpack_Widget_Authors extends WP_Widget {
'96' => '96x96',
'128' => '128x128',
) as $value => $label ) {
-?>
+ ?>
<option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, $instance['avatar_size'] ); ?>><?php echo esc_html( $label ); ?></option>
<?php } ?>
</select>
@@ -262,23 +282,26 @@ class Jetpack_Widget_Authors extends WP_Widget {
/**
* Updates the widget on save and flushes cache.
*
- * @param array $new_instance
- * @param array $old_instance
+ * @param array $new_instance New widget instance data.
+ * @param array $old_instance Old widget instance data.
* @return array
*/
- public function update( $new_instance, $old_instance ) {
- $new_instance['title'] = strip_tags( $new_instance['title'] );
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
+ $new_instance['title'] = wp_strip_all_tags( $new_instance['title'] );
$new_instance['all'] = isset( $new_instance['all'] );
$new_instance['number'] = (int) $new_instance['number'];
$new_instance['avatar_size'] = (int) $new_instance['avatar_size'];
- Jetpack_Widget_Authors::flush_cache();
+ self::flush_cache();
return $new_instance;
}
}
add_action( 'widgets_init', 'jetpack_register_widget_authors' );
+/**
+ * Register the Authors widget.
+ */
function jetpack_register_widget_authors() {
register_widget( 'Jetpack_Widget_Authors' );
-};
+}
diff --git a/plugins/jetpack/modules/widgets/blog-stats.php b/plugins/jetpack/modules/widgets/blog-stats.php
index 7265d114..5fb03e8b 100644
--- a/plugins/jetpack/modules/widgets/blog-stats.php
+++ b/plugins/jetpack/modules/widgets/blog-stats.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileNam
/**
* Blog Stats Widget.
*
@@ -26,7 +26,7 @@ class Jetpack_Blog_Stats_Widget extends WP_Widget {
/**
* Constructor
*/
- function __construct() {
+ public function __construct() {
$widget_ops = array(
'classname' => 'blog-stats',
'description' => esc_html__( 'Show a hit counter for your blog.', 'jetpack' ),
@@ -85,7 +85,7 @@ class Jetpack_Blog_Stats_Widget extends WP_Widget {
*
* @return void
*/
- function form( $instance ) {
+ public function form( $instance ) {
$instance = wp_parse_args( $instance, $this->defaults() );
?>
@@ -112,7 +112,7 @@ class Jetpack_Blog_Stats_Widget extends WP_Widget {
*
* @return array Updated safe values to be saved.
*/
- function update( $new_instance, $old_instance ) {
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$instance = array();
$instance['title'] = wp_kses( $new_instance['title'], array() );
$instance['hits'] = wp_kses( $new_instance['hits'], array() );
@@ -128,13 +128,13 @@ class Jetpack_Blog_Stats_Widget extends WP_Widget {
* @param array $args Widget arguments.
* @param array $instance Saved values from database.
*/
- function widget( $args, $instance ) {
+ public function widget( $args, $instance ) {
$instance = wp_parse_args( $instance, $this->defaults() );
/** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */
$title = apply_filters( 'widget_title', $instance['title'] );
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
if ( ! empty( $title ) ) {
echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
@@ -155,7 +155,7 @@ class Jetpack_Blog_Stats_Widget extends WP_Widget {
esc_html_e( 'There was an issue retrieving stats. Please try again later.', 'jetpack' );
}
- echo $args['after_widget'];
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/** This action is already documented in modules/widgets/gravatar-profile.php */
do_action( 'jetpack_stats_extra', 'widget_view', 'blog_stats' );
diff --git a/plugins/jetpack/modules/widgets/eu-cookie-law.php b/plugins/jetpack/modules/widgets/class-jetpack-eu-cookie-law-widget.php
index fffc9724..3207c85f 100644
--- a/plugins/jetpack/modules/widgets/eu-cookie-law.php
+++ b/plugins/jetpack/modules/widgets/class-jetpack-eu-cookie-law-widget.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * Main class file for EU Cookie Law Widget.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
@@ -77,7 +82,7 @@ if ( ! class_exists( 'Jetpack_EU_Cookie_Law_Widget' ) ) {
/**
* Constructor.
*/
- function __construct() {
+ public function __construct() {
parent::__construct(
'eu_cookie_law_widget',
/** This filter is documented in modules/widgets/facebook-likebox.php */
@@ -97,7 +102,7 @@ if ( ! class_exists( 'Jetpack_EU_Cookie_Law_Widget' ) ) {
/**
* Enqueue scripts and styles.
*/
- function enqueue_frontend_scripts() {
+ public function enqueue_frontend_scripts() {
wp_enqueue_style( 'eu-cookie-law-style', plugins_url( 'eu-cookie-law/style.css', __FILE__ ), array(), JETPACK__VERSION );
if ( ! class_exists( 'Jetpack_AMP_Support' ) || ! Jetpack_AMP_Support::is_amp_request() ) {
@@ -160,7 +165,7 @@ if ( ! class_exists( 'Jetpack_EU_Cookie_Law_Widget' ) ) {
$instance = wp_parse_args( $instance, $this->defaults() );
if ( class_exists( 'Jetpack_AMP_Support' ) && Jetpack_AMP_Support::is_amp_request() ) {
- require dirname( __FILE__ ) . '/eu-cookie-law/widget-amp.php';
+ require __DIR__ . '/eu-cookie-law/widget-amp.php';
return;
}
@@ -196,9 +201,9 @@ if ( ! class_exists( 'Jetpack_EU_Cookie_Law_Widget' ) ) {
return;
}
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
require_once __DIR__ . '/eu-cookie-law/widget.php';
- echo $args['after_widget'];
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/** This action is already documented in modules/widgets/gravatar-profile.php */
do_action( 'jetpack_stats_extra', 'widget_view', 'eu_cookie_law' );
@@ -222,20 +227,21 @@ if ( ! class_exists( 'Jetpack_EU_Cookie_Law_Widget' ) ) {
'modules/widgets/eu-cookie-law/eu-cookie-law-admin.js'
),
array( 'jquery' ),
- 20180417
+ 20180417,
+ false
);
- require( dirname( __FILE__ ) . '/eu-cookie-law/form.php' );
+ require __DIR__ . '/eu-cookie-law/form.php';
}
/**
* Sanitize widget form values as they are saved.
*
- * @param array $new_instance Values just sent to be saved.
- * @param array $old_instance Previously saved values from database.
+ * @param array $new_instance Values just sent to be saved.
+ * @param array $old_instance Previously saved values from database.
* @return array Updated safe values to be saved.
*/
- public function update( $new_instance, $old_instance ) {
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$instance = array();
$defaults = $this->defaults();
@@ -285,7 +291,7 @@ if ( ! class_exists( 'Jetpack_EU_Cookie_Law_Widget' ) ) {
$instance['policy-link-text'] = trim( mb_substr( wp_kses( $new_instance['policy-link-text'], array() ), 0, 100 ) );
}
- if ( empty( $instance['policy-link-text'] ) || $instance['policy-link-text'] == $defaults['policy-link-text'] ) {
+ if ( empty( $instance['policy-link-text'] ) || $instance['policy-link-text'] === $defaults['policy-link-text'] ) {
unset( $instance['policy-link-text'] );
}
@@ -293,12 +299,12 @@ if ( ! class_exists( 'Jetpack_EU_Cookie_Law_Widget' ) ) {
$instance['button'] = trim( mb_substr( wp_kses( $new_instance['button'], array() ), 0, 100 ) );
}
- if ( empty( $instance['button'] ) || $instance['button'] == $defaults['button'] ) {
+ if ( empty( $instance['button'] ) || $instance['button'] === $defaults['button'] ) {
unset( $instance['button'] );
}
// Show the banner again if a setting has been changed.
- setcookie( self::$cookie_name, '', time() - 86400, '/' );
+ setcookie( self::$cookie_name, '', time() - 86400, '/', COOKIE_DOMAIN, is_ssl(), false ); // phpcs:ignore Jetpack.Functions.SetCookie -- Fine to have accessible.
return $instance;
}
@@ -311,19 +317,21 @@ if ( ! class_exists( 'Jetpack_EU_Cookie_Law_Widget' ) ) {
*
* @return string $value if pass the check or first value from allowed values.
*/
- function filter_value( $value, $allowed = array() ) {
+ public function filter_value( $value, $allowed = array() ) {
$allowed = (array) $allowed;
- if ( empty( $value ) || ( ! empty( $allowed ) && ! in_array( $value, $allowed ) ) ) {
+ if ( empty( $value ) || ( ! empty( $allowed ) && ! in_array( $value, $allowed, true ) ) ) {
$value = $allowed[0];
}
return $value;
}
}
- // Register Jetpack_EU_Cookie_Law_Widget widget.
+ /**
+ * Register Jetpack_EU_Cookie_Law_Widget widget.
+ */
function jetpack_register_eu_cookie_law_widget() {
register_widget( 'Jetpack_EU_Cookie_Law_Widget' );
- };
+ }
add_action( 'widgets_init', 'jetpack_register_eu_cookie_law_widget' );
}
diff --git a/plugins/jetpack/modules/widgets/contact-info.php b/plugins/jetpack/modules/widgets/contact-info.php
index de9afc9d..4f53ac18 100644
--- a/plugins/jetpack/modules/widgets/contact-info.php
+++ b/plugins/jetpack/modules/widgets/contact-info.php
@@ -483,7 +483,7 @@ if ( ! class_exists( 'Jetpack_Contact_Info_Widget' ) ) {
public function ajax_check_api_key() {
if ( isset( $_POST['apikey'] ) ) {
if ( check_ajax_referer( 'customize_contact_info_api_key' ) && current_user_can( 'customize' ) ) {
- $apikey = wp_kses( $_POST['apikey'], array() );
+ $apikey = wp_kses( wp_unslash( $_POST['apikey'] ), array() );
$default_instance = $this->defaults();
$default_instance['apikey'] = $apikey;
wp_send_json( array( 'result' => esc_html( $this->has_good_map( $default_instance ) ) ) );
diff --git a/plugins/jetpack/modules/widgets/eu-cookie-law/form.php b/plugins/jetpack/modules/widgets/eu-cookie-law/form.php
index d4f3bad2..7eb487e8 100644
--- a/plugins/jetpack/modules/widgets/eu-cookie-law/form.php
+++ b/plugins/jetpack/modules/widgets/eu-cookie-law/form.php
@@ -1,7 +1,13 @@
<?php
+/**
+ * EU Cookie Law Widget form.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Redirect;
+// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
?>
<p>
<strong>
@@ -84,10 +90,21 @@ use Automattic\Jetpack\Redirect;
<span class="notice notice-warning custom-policy" style="display: none;">
<span style="display: block; margin: .5em 0;">
<strong><?php esc_html_e( 'Caution:', 'jetpack' ); ?></strong>
- <?php echo sprintf(
- __( 'For GDPR compliance, please make sure your policy contains <a href="%s" target="_blank">privacy information relating to Jetpack Ads</a>.', 'jetpack' ),
+ <?php
+ echo sprintf(
+ wp_kses(
+ /* Translators: %s is the URL to a Jetpack support article. */
+ __( 'For GDPR compliance, please make sure your policy contains <a href="%s" target="_blank">privacy information relating to WordAds</a>.', 'jetpack' ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ 'target' => array(),
+ ),
+ )
+ ),
esc_url( Redirect::get_url( 'jetpack-support-ads', array( 'anchor' => 'privacy' ) ) )
- ); ?>
+ );
+ ?>
</span>
</span>
<?php endif; ?>
@@ -102,7 +119,7 @@ use Automattic\Jetpack\Redirect;
<label>
<input
class="widefat"
- name="<?php echo $this->get_field_name( 'policy-link-text' ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'policy-link-text' ) ); ?>"
type="text"
value="<?php echo esc_attr( $instance['policy-link-text'] ); ?>"
/>
@@ -118,7 +135,7 @@ use Automattic\Jetpack\Redirect;
<label>
<input
class="widefat"
- name="<?php echo $this->get_field_name( 'button' ); ?>"
+ name="<?php echo esc_attr( $this->get_field_name( 'button' ) ); ?>"
type="text"
value="<?php echo esc_attr( $instance['button'] ); ?>"
/>
@@ -129,7 +146,7 @@ use Automattic\Jetpack\Redirect;
<p>
<strong>
- <?php _ex( 'Capture consent & hide the banner', 'action', 'jetpack' ); ?>
+ <?php esc_html_x( 'Capture consent & hide the banner', 'action', 'jetpack' ); ?>
</strong>
<ul>
<li>
@@ -181,7 +198,7 @@ use Automattic\Jetpack\Redirect;
<?php if ( Jetpack::is_module_active( 'wordads' ) ) : ?>
<span class="notice notice-warning" style="display: block;">
<span style="display: block; margin: .5em 0;">
- <?php esc_html_e( 'Visitors must provide consent by clicking the dismiss button when Jetpack Ads is turned on.', 'jetpack' ); ?>
+ <?php esc_html_e( 'Visitors must provide consent by clicking the dismiss button when WordAds is turned on.', 'jetpack' ); ?>
</span>
</span>
<?php endif; ?>
@@ -191,7 +208,7 @@ use Automattic\Jetpack\Redirect;
<p>
<strong>
- <?php _ex( 'Consent expires after', 'action', 'jetpack' ); ?>
+ <?php esc_html_x( 'Consent expires after', 'action', 'jetpack' ); ?>
</strong>
<ul>
<li>
@@ -212,7 +229,7 @@ use Automattic\Jetpack\Redirect;
<p>
<strong>
- <?php _e( 'Color scheme', 'jetpack' ); ?>
+ <?php esc_html_e( 'Color scheme', 'jetpack' ); ?>
</strong>
<ul>
<li>
@@ -244,7 +261,7 @@ use Automattic\Jetpack\Redirect;
<p>
<strong>
- <?php _e( 'Position', 'jetpack' ); ?>
+ <?php esc_html_e( 'Position', 'jetpack' ); ?>
</strong>
<ul>
<li>
diff --git a/plugins/jetpack/modules/widgets/eu-cookie-law/widget.php b/plugins/jetpack/modules/widgets/eu-cookie-law/widget.php
index ef540452..c1b3e328 100644
--- a/plugins/jetpack/modules/widgets/eu-cookie-law/widget.php
+++ b/plugins/jetpack/modules/widgets/eu-cookie-law/widget.php
@@ -7,7 +7,7 @@
?>
<div
- class="<?php echo implode( ' ', $classes ); ?>"
+ class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>"
data-hide-timeout="<?php echo (int) $instance['hide-timeout']; ?>"
data-consent-expiration="<?php echo (int) $instance['consent-expiration']; ?>"
id="eu-cookie-law"
@@ -16,11 +16,13 @@
<input type="submit" value="<?php echo esc_attr( $instance['button'] ); ?>" class="accept" />
</form>
- <?php if ( 'default' == $instance['text'] || empty( $instance['customtext'] ) ) {
- echo nl2br( $instance['default-text'] );
+ <?php
+ if ( 'default' === $instance['text'] || empty( $instance['customtext'] ) ) {
+ echo nl2br( esc_html( $instance['default-text'] ) );
} else {
echo nl2br( esc_html( $instance['customtext'] ) );
- } ?>
+ }
+ ?>
<?php
$is_default_policy = 'default' === $instance['policy-url'] || empty( $instance['custom-policy-url'] );
diff --git a/plugins/jetpack/modules/widgets/facebook-likebox.php b/plugins/jetpack/modules/widgets/facebook-likebox.php
index c7e38e64..a9466c42 100644
--- a/plugins/jetpack/modules/widgets/facebook-likebox.php
+++ b/plugins/jetpack/modules/widgets/facebook-likebox.php
@@ -1,10 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+add_action( 'widgets_init', 'jetpack_facebook_likebox_init' );
/**
* Register the widget for use in Appearance -> Widgets
*/
-add_action( 'widgets_init', 'jetpack_facebook_likebox_init' );
-
function jetpack_facebook_likebox_init() {
register_widget( 'WPCOM_Widget_Facebook_LikeBox' );
}
@@ -15,15 +14,52 @@ function jetpack_facebook_likebox_init() {
* https://developers.facebook.com/docs/plugins/page-plugin
*/
class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
-
+ /**
+ * Default height.
+ *
+ * @var int
+ */
private $default_height = 580;
- private $default_width = 340;
- private $max_width = 500;
- private $min_width = 180;
- private $max_height = 9999;
- private $min_height = 130;
- function __construct() {
+ /**
+ * Default width.
+ *
+ * @var int
+ */
+ private $default_width = 340;
+
+ /**
+ * Max width.
+ *
+ * @var int
+ */
+ private $max_width = 500;
+
+ /**
+ * Min width.
+ *
+ * @var int
+ */
+ private $min_width = 180;
+
+ /**
+ * Max height.
+ *
+ * @var int
+ */
+ private $max_height = 9999;
+
+ /**
+ * Min height/
+ *
+ * @var int
+ */
+ private $min_height = 130;
+
+ /**
+ * WPCOM_Widget_Facebook_LikeBox constructor.
+ */
+ public function __construct() {
parent::__construct(
'facebook-likebox',
/**
@@ -53,7 +89,12 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
*/
public function enqueue_scripts() {
wp_enqueue_script( 'jetpack-facebook-embed' );
- wp_enqueue_style( 'jetpack_facebook_likebox', plugins_url( 'facebook-likebox/style.css', __FILE__ ) );
+ wp_enqueue_style(
+ 'jetpack_facebook_likebox',
+ plugins_url( 'facebook-likebox/style.css', __FILE__ ),
+ array(),
+ JETPACK__VERSION
+ );
wp_style_add_data( 'jetpack_facebook_likebox', 'jetpack-inline', true );
}
@@ -158,14 +199,22 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
do_action( 'jetpack_stats_extra', 'widget_view', 'facebook-likebox' );
}
- function update( $new_instance, $old_instance ) {
+ /**
+ * Update widget.
+ *
+ * @see WP_Widget::update()
+ *
+ * @param array $new_instance New widget instance data.
+ * @param array $old_instance Old widget instance data.
+ */
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$instance = array();
- $instance['title'] = trim( strip_tags( stripslashes( $new_instance['title'] ) ) );
+ $instance['title'] = trim( wp_strip_all_tags( stripslashes( $new_instance['title'] ) ) );
// Set up widget values.
$instance['like_args'] = array(
- 'href' => trim( strip_tags( stripslashes( $new_instance['href'] ) ) ),
+ 'href' => trim( wp_strip_all_tags( stripslashes( $new_instance['href'] ) ) ),
'width' => (int) $new_instance['width'],
'height' => (int) $new_instance['height'],
'show_faces' => isset( $new_instance['show_faces'] ),
@@ -182,9 +231,15 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
return $instance;
}
- function form( $instance ) {
+ /**
+ * Outputs the widget settings form.
+ *
+ * @param array $instance Current settings.
+ */
+ public function form( $instance ) {
$instance = wp_parse_args(
- (array) $instance, array(
+ (array) $instance,
+ array(
'title' => '',
'like_args' => $this->get_default_args(),
)
@@ -212,7 +267,25 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
<label for="<?php echo esc_attr( $this->get_field_id( 'width' ) ); ?>">
<?php esc_html_e( 'Width in pixels', 'jetpack' ); ?>
<input type="number" class="smalltext" min="<?php echo esc_attr( $this->min_width ); ?>" max="<?php echo esc_attr( $this->max_width ); ?>" maxlength="3" name="<?php echo esc_attr( $this->get_field_name( 'width' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'width' ) ); ?>" value="<?php echo esc_attr( $like_args['width'] ); ?>" style="text-align: center;" />
- <small><?php echo sprintf( __( 'Minimum: %s', 'jetpack' ), $this->min_width ); ?> / <?php echo sprintf( __( 'Maximum: %s', 'jetpack' ), $this->max_width ); ?></small>
+ <small>
+ <?php
+ echo esc_html(
+ sprintf(
+ /* translators: %s is the minimum pixel width */
+ __( 'Minimum: %s', 'jetpack' ),
+ $this->min_width
+ )
+ );
+ echo ' / ';
+ echo esc_html(
+ sprintf(
+ /* translators: %s is the maximum pixel width */
+ __( 'Maximum: %s', 'jetpack' ),
+ $this->max_width
+ )
+ );
+ ?>
+ </small>
</label>
</p>
@@ -220,7 +293,25 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
<label for="<?php echo esc_attr( $this->get_field_id( 'height' ) ); ?>">
<?php esc_html_e( 'Height in pixels', 'jetpack' ); ?>
<input type="number" class="smalltext" min="<?php echo esc_attr( $this->min_height ); ?>" max="<?php echo esc_attr( $this->max_height ); ?>" maxlength="3" name="<?php echo esc_attr( $this->get_field_name( 'height' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'height' ) ); ?>" value="<?php echo esc_attr( $like_args['height'] ); ?>" style="text-align: center;" />
- <small><?php echo sprintf( __( 'Minimum: %s', 'jetpack' ), $this->min_height ); ?> / <?php echo sprintf( __( 'Maximum: %s', 'jetpack' ), $this->max_height ); ?></small>
+ <small>
+ <?php
+ echo esc_html(
+ sprintf(
+ /* translators: %s is the minimum pixel height */
+ __( 'Minimum: %s', 'jetpack' ),
+ $this->min_height
+ )
+ );
+ echo ' / ';
+ echo esc_html(
+ sprintf(
+ /* translators: %s is the maximum pixel height */
+ __( 'Maximum: %s', 'jetpack' ),
+ $this->max_height
+ )
+ );
+ ?>
+ </small>
</label>
</p>
@@ -261,7 +352,10 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
<?php
}
- function get_default_args() {
+ /**
+ * Facebook Likebox default options.
+ */
+ public function get_default_args() {
$defaults = array(
'href' => '',
'width' => $this->default_width,
@@ -284,10 +378,15 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
return apply_filters( 'jetpack_facebook_likebox_defaults', $defaults );
}
- function normalize_facebook_args( $args ) {
+ /**
+ * Normalize the Facebook Likebox options.
+ *
+ * @param array $args Array of arguments.
+ */
+ public function normalize_facebook_args( $args ) {
$args = wp_parse_args( (array) $args, $this->get_default_args() );
- // Validate the Facebook Page URL
+ // Validate the Facebook Page URL.
if ( $this->is_valid_facebook_url( $args['href'] ) ) {
$temp = explode( '?', $args['href'] );
$args['href'] = str_replace( array( 'http://facebook.com', 'https://facebook.com' ), array( 'http://www.facebook.com', 'https://www.facebook.com' ), $temp[0] );
@@ -295,8 +394,8 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
$args['href'] = '';
}
- $args['width'] = $this->normalize_int_value( (int) $args['width'], $this->default_width, $this->max_width, $this->min_width );
- $args['height'] = $this->normalize_int_value( (int) $args['height'], $this->default_height, $this->max_height, $this->min_height );
+ $args['width'] = $this->normalize_int_value( (int) $args['width'], $this->max_width, $this->min_width );
+ $args['height'] = $this->normalize_int_value( (int) $args['height'], $this->max_height, $this->min_height );
$args['show_faces'] = (bool) $args['show_faces'];
$args['stream'] = (bool) $args['stream'];
$args['cover'] = (bool) $args['cover'];
@@ -305,7 +404,7 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
// The height used to be dependent on other widget settings
// If the user changes those settings but doesn't customize the height,
// let's intelligently assign a new height.
- if ( in_array( $args['height'], array( 580, 110, 432 ) ) ) {
+ if ( in_array( $args['height'], array( 580, 110, 432 ), true ) ) {
if ( $args['show_faces'] && $args['stream'] ) {
$args['height'] = 580;
} elseif ( ! $args['show_faces'] && ! $args['stream'] ) {
@@ -318,11 +417,25 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
return $args;
}
- function is_valid_facebook_url( $url ) {
+ /**
+ * Check if URL is a valid Facebook Page URL.
+ *
+ * @param string $url URL to check.
+ */
+ public function is_valid_facebook_url( $url ) {
return ( false !== strpos( $url, 'facebook.com' ) ) ? true : false;
}
- function normalize_int_value( $value, $default = 0, $max = 0, $min = 0 ) {
+ /**
+ * Normalize an integer value within a given range.
+ *
+ * @param int $value Value to normalize.
+ * @param int $max Maximum value.
+ * @param int $min Minimum value.
+ *
+ * @return int Normalized value.
+ */
+ public function normalize_int_value( $value, $max = 0, $min = 0 ) {
$value = (int) $value;
if ( $value > $max ) {
@@ -333,14 +446,4 @@ class WPCOM_Widget_Facebook_LikeBox extends WP_Widget {
return (int) $value;
}
-
- function normalize_text_value( $value, $default = '', $allowed = array() ) {
- $allowed = (array) $allowed;
-
- if ( empty( $value ) || ( ! empty( $allowed ) && ! in_array( $value, $allowed ) ) ) {
- $value = $default;
- }
-
- return $value;
- }
}
diff --git a/plugins/jetpack/modules/widgets/flickr.php b/plugins/jetpack/modules/widgets/flickr.php
index 9fb80962..36b524da 100644
--- a/plugins/jetpack/modules/widgets/flickr.php
+++ b/plugins/jetpack/modules/widgets/flickr.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Disable direct access/execution to/of the widget code.
*/
@@ -16,7 +16,7 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
/**
* Constructor.
*/
- function __construct() {
+ public function __construct() {
parent::__construct(
'flickr',
/** This filter is documented in modules/widgets/facebook-likebox.php */
@@ -36,7 +36,7 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
/**
* Enqueue style.
*/
- function enqueue_style() {
+ public function enqueue_style() {
wp_enqueue_style( 'flickr-widget-style', plugins_url( 'flickr/style.css', __FILE__ ), array(), '20170405' );
}
@@ -66,10 +66,7 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
public function widget( $args, $instance ) {
$instance = wp_parse_args( $instance, $this->defaults() );
- $image_size_string = 'small' == $instance['flickr_image_size'] ? '_m.jpg' : '_t.jpg';
-
if ( ! empty( $instance['flickr_rss_url'] ) ) {
-
/*
* Parse the URL, and rebuild a URL that's sure to display images.
* Some Flickr Feeds do not display images by default.
@@ -105,7 +102,7 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
);
}
}
- } // End if().
+ }
// Still no RSS feed URL? Get a default feed from Flickr to grab interesting photos.
if ( empty( $rss_url ) ) {
@@ -143,10 +140,10 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
$photos = Jetpack_Photon::filter_the_content( $photos );
}
- $flickr_home = $rss->get_link();
+ $flickr_home = $rss->get_link(); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Used in flickr/widget.php template file.
}
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
if ( empty( $photos ) ) {
if ( current_user_can( 'edit_theme_options' ) ) {
printf(
@@ -157,9 +154,9 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
}
} else {
echo $args['before_title'] . $instance['title'] . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- require( dirname( __FILE__ ) . '/flickr/widget.php' );
+ require __DIR__ . '/flickr/widget.php';
}
- echo $args['after_widget'];
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/** This action is already documented in modules/widgets/gravatar-profile.php */
do_action( 'jetpack_stats_extra', 'widget_view', 'flickr' );
}
@@ -171,7 +168,7 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
*/
public function form( $instance ) {
$instance = wp_parse_args( $instance, $this->defaults() );
- require( dirname( __FILE__ ) . '/flickr/form.php' );
+ require __DIR__ . '/flickr/form.php';
}
/**
@@ -181,9 +178,8 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
* @param array $old_instance Previously saved values from database.
* @return array Updated safe values to be saved.
*/
- public function update( $new_instance, $old_instance ) {
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$instance = array();
- $defaults = $this->defaults();
if ( isset( $new_instance['title'] ) ) {
$instance['title'] = wp_kses( $new_instance['title'], array() );
@@ -199,7 +195,7 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
if (
isset( $new_instance['flickr_image_size'] ) &&
- in_array( $new_instance['flickr_image_size'], array( 'thumbnail', 'small', 'large' ) )
+ in_array( $new_instance['flickr_image_size'], array( 'thumbnail', 'small', 'large' ), true )
) {
$instance['flickr_image_size'] = $new_instance['flickr_image_size'];
} else {
@@ -218,7 +214,9 @@ if ( ! class_exists( 'Jetpack_Flickr_Widget' ) ) {
}
}
- // Register Jetpack_Flickr_Widget widget.
+ /**
+ * Register Jetpack_Flickr_Widget widget.
+ */
function jetpack_register_flickr_widget() {
register_widget( 'Jetpack_Flickr_Widget' );
}
diff --git a/plugins/jetpack/modules/widgets/flickr/form.php b/plugins/jetpack/modules/widgets/flickr/form.php
index 0dfc5c9a..a1bd08dd 100644
--- a/plugins/jetpack/modules/widgets/flickr/form.php
+++ b/plugins/jetpack/modules/widgets/flickr/form.php
@@ -1,3 +1,12 @@
+<?php
+/**
+ * Jetpack_Flickr_Widget settings form output.
+ *
+ * @package automattic/jetpack
+ */
+
+//phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
+?>
<p>
<label>
<?php esc_html_e( 'Title:', 'jetpack' ); ?>
@@ -28,10 +37,21 @@
</p>
<p>
<small>
- <?php printf(
- __( 'Leave the Flickr RSS URL field blank to display <a target="_blank" href="%s">interesting</a> Flickr photos.', 'jetpack' ),
+ <?php
+ echo sprintf(
+ wp_kses(
+ /* Translators: %s is the URL to an example Flickr RSS feed. */
+ __( 'Leave the Flickr RSS URL field blank to display <a target="_blank" href="%s">interesting</a> Flickr photos.', 'jetpack' ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ 'target' => array(),
+ ),
+ )
+ ),
'https://www.flickr.com/explore/interesting'
- ); ?>
+ );
+ ?>
</small>
</p>
@@ -43,9 +63,9 @@
<?php for ( $i = 1; $i <= 10; ++$i ) { ?>
<option
<?php selected( $instance['items'], $i ); ?>
- value="<?php echo $i; ?>"
+ value="<?php echo esc_attr( $i ); ?>"
>
- <?php echo $i; ?>
+ <?php echo esc_html( $i ); ?>
</option>
<?php } ?>
</select>
diff --git a/plugins/jetpack/modules/widgets/flickr/widget.php b/plugins/jetpack/modules/widgets/flickr/widget.php
index 0c45f3f0..e3bd118b 100644
--- a/plugins/jetpack/modules/widgets/flickr/widget.php
+++ b/plugins/jetpack/modules/widgets/flickr/widget.php
@@ -1,7 +1,16 @@
+<?php
+/**
+ * Jetpack_Flickr_Widget frontend widget output.
+ *
+ * @package automattic/jetpack
+ */
+
+//phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
+?>
<!-- Start of Flickr Widget -->
<div class="flickr-wrapper flickr-size-<?php echo esc_attr( $instance['flickr_image_size'] ); ?>">
<div class="flickr-images">
- <?php echo $photos; ?>
+ <?php echo $photos; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaping handled in Jetpack_Flickr_Widget class. ?>
</div>
<?php if ( isset( $flickr_home ) ) { ?>
diff --git a/plugins/jetpack/modules/widgets/gallery.php b/plugins/jetpack/modules/widgets/gallery.php
index 65c3a60c..44e2ecbf 100644
--- a/plugins/jetpack/modules/widgets/gallery.php
+++ b/plugins/jetpack/modules/widgets/gallery.php
@@ -1,21 +1,30 @@
-<?php
-
-/*
-Plugin Name: Gallery
-Description: Gallery widget
-Author: Automattic Inc.
-Version: 1.0
-Author URI: https://automattic.com
-*/
+<?php // phpcs:ignore eWordPress.Files.FileName.InvalidClassFileName
+/**
+ * Module Name: Gallery widget
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Assets;
+/**
+ * Jetpack_Gallery_Widget main class.
+ */
class Jetpack_Gallery_Widget extends WP_Widget {
const THUMB_SIZE = 45;
const DEFAULT_WIDTH = 265;
- protected $_instance_width;
+ /**
+ * The width of the gallery widget.
+ * May be customized by the 'gallery_widget_content_width' filter.
+ *
+ * @var int
+ */
+ protected $instance_width;
+ /**
+ * Jetpack_Gallery_Widget constructor.
+ */
public function __construct() {
$widget_ops = array(
'classname' => 'widget-gallery',
@@ -125,7 +134,7 @@ class Jetpack_Gallery_Widget extends WP_Widget {
* @param string $args Display arguments including before_title, after_title, before_widget, and after_widget.
* @param array $instance The settings for the particular instance of the widget.
*/
- $this->_instance_width = apply_filters( 'gallery_widget_content_width', self::DEFAULT_WIDTH, $args, $instance );
+ $this->instance_width = apply_filters( 'gallery_widget_content_width', self::DEFAULT_WIDTH, $args, $instance );
// Register a filter to modify the tiled_gallery_content_width, so Jetpack_Tiled_Gallery
// can appropriately size the tiles.
@@ -135,8 +144,8 @@ class Jetpack_Gallery_Widget extends WP_Widget {
echo $this->$method( $args, $instance ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
- // Remove the stored $_instance_width, as it is no longer needed.
- $this->_instance_width = null;
+ // Remove the stored $instance_width, as it is no longer needed.
+ $this->instance_width = null;
// Remove the filter, so any Jetpack_Tiled_Gallery in a post is not affected.
remove_filter( 'tiled_gallery_content_width', array( $this, 'tiled_gallery_content_width' ) );
@@ -152,13 +161,13 @@ class Jetpack_Gallery_Widget extends WP_Widget {
/**
* Fetch the images attached to the gallery Widget
*
- * @param array $instance The Widget instance for which you'd like attachments
+ * @param array $instance The Widget instance for which you'd like attachments.
* @return array Array of attachment objects for the Widget in $instance
*/
public function get_attachments( $instance ) {
$ids = explode( ',', $instance['ids'] );
- if ( isset( $instance['random'] ) && 'on' == $instance['random'] ) {
+ if ( isset( $instance['random'] ) && 'on' === $instance['random'] ) {
shuffle( $ids );
}
@@ -184,7 +193,7 @@ class Jetpack_Gallery_Widget extends WP_Widget {
* Generate HTML for a rectangular, tiled Widget
*
* @param array $args Display arguments including before_title, after_title, before_widget, and after_widget.
- * @param array $instance The Widget instance to generate HTML for
+ * @param array $instance The Widget instance to generate HTML for.
* @return string String of HTML representing a rectangular gallery
*/
public function rectangular_widget( $args, $instance ) {
@@ -203,7 +212,7 @@ class Jetpack_Gallery_Widget extends WP_Widget {
* Generate HTML for a square (grid style) Widget
*
* @param array $args Display arguments including before_title, after_title, before_widget, and after_widget.
- * @param array $instance The Widget instance to generate HTML for
+ * @param array $instance The Widget instance to generate HTML for.
* @return string String of HTML representing a square gallery
*/
public function square_widget( $args, $instance ) {
@@ -222,7 +231,7 @@ class Jetpack_Gallery_Widget extends WP_Widget {
* Generate HTML for a circular (grid style) Widget
*
* @param array $args Display arguments including before_title, after_title, before_widget, and after_widget.
- * @param array $instance The Widget instance to generate HTML for
+ * @param array $instance The Widget instance to generate HTML for.
* @return string String of HTML representing a circular gallery
*/
public function circle_widget( $args, $instance ) {
@@ -240,14 +249,16 @@ class Jetpack_Gallery_Widget extends WP_Widget {
/**
* Generate HTML for a slideshow Widget
*
+ * @todo Is slideshow_widget() still used?
+ *
* @param array $args Display arguments including before_title, after_title, before_widget, and after_widget.
- * @param array $instance The Widget instance to generate HTML for
+ * @param array $instance The Widget instance to generate HTML for.
* @return string String of HTML representing a slideshow gallery
*/
public function slideshow_widget( $args, $instance ) {
global $content_width;
- require_once plugin_dir_path( realpath( dirname( __FILE__ ) . '/../shortcodes/slideshow.php' ) ) . 'slideshow.php';
+ require_once plugin_dir_path( realpath( __DIR__ . '/../shortcodes/slideshow.php' ) ) . 'slideshow.php';
if ( ! class_exists( 'Jetpack_Slideshow_Shortcode' ) ) {
return;
@@ -267,9 +278,9 @@ class Jetpack_Gallery_Widget extends WP_Widget {
foreach ( $instance['attachments'] as $attachment ) {
$attachment_image_src = wp_get_attachment_image_src( $attachment->ID, 'full' );
- $attachment_image_src = jetpack_photon_url( $attachment_image_src[0], array( 'w' => $this->_instance_width ) ); // [url, width, height]
+ $attachment_image_src = jetpack_photon_url( $attachment_image_src[0], array( 'w' => $this->instance_width ) ); /** [url, width, height] */
- $caption = wptexturize( strip_tags( $attachment->post_excerpt ) );
+ $caption = wptexturize( wp_strip_all_tags( $attachment->post_excerpt ) );
$gallery[] = (object) array(
'src' => (string) esc_url_raw( $attachment_image_src ),
@@ -286,7 +297,7 @@ class Jetpack_Gallery_Widget extends WP_Widget {
}
$color = Jetpack_Options::get_option( 'slideshow_background_color', 'black' );
- $autostart = isset( $attr['autostart'] ) ? $attr['autostart'] : true;
+ $autostart = isset( $attr['autostart'] ) ? $attr['autostart'] : true; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- Todo: should read off the $instance? Also not sure if slideshow_widget() is used still.
$js_attr = array(
'gallery' => $gallery,
@@ -304,29 +315,38 @@ class Jetpack_Gallery_Widget extends WP_Widget {
}
/**
- * tiled_gallery_content_width filter
- *
* Used to adjust the content width of Jetpack_Tiled_Gallery's in sidebars
*
- * $this->_instance_width is filtered in widget() and this filter is added then removed in widget()
+ * $this->instance_width is filtered in widget() and this filter is added then removed in widget()
*
- * @param int $width int The original width value
* @return int The filtered width
*/
- public function tiled_gallery_content_width( $width ) {
- return $this->_instance_width;
+ public function tiled_gallery_content_width() {
+ return $this->instance_width;
}
+ /**
+ * Outputs the widget settings form.
+ *
+ * @param array $instance Current settings.
+ */
public function form( $instance ) {
$defaults = $this->defaults();
- $allowed_values = $this->allowed_values();
+ $allowed_values = $this->allowed_values(); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Used in included form template.
$instance = wp_parse_args( (array) $instance, $defaults );
- include dirname( __FILE__ ) . '/gallery/templates/form.php';
+ include __DIR__ . '/gallery/templates/form.php';
}
- public function update( $new_instance, $old_instance ) {
+ /**
+ * Save the widget options.
+ *
+ * @param array $new_instance The new instance options.
+ * @param array $old_instance The old instance options.
+ * @return array The saved options.
+ */
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$instance = $this->sanitize( $new_instance );
return $instance;
@@ -338,7 +358,7 @@ class Jetpack_Gallery_Widget extends WP_Widget {
*
* Helps keep things nice and secure by listing only allowed values.
*
- * @param array $instance The Widget instance to sanitize values for
+ * @param array $instance The Widget instance to sanitize values for.
* @return array $instance The Widget instance with values sanitized
*/
public function sanitize( $instance ) {
@@ -346,6 +366,11 @@ class Jetpack_Gallery_Widget extends WP_Widget {
$defaults = $this->defaults();
foreach ( $instance as $key => $value ) {
+ if ( ! is_scalar( $value ) ) {
+ // $instance may hold an Array value type for the Jetpack widget visibility feature.
+ continue;
+ }
+
$value = trim( $value );
if ( isset( $allowed_values[ $key ] ) && $allowed_values[ $key ] && ! array_key_exists( $value, $allowed_values[ $key ] ) ) {
@@ -370,7 +395,7 @@ class Jetpack_Gallery_Widget extends WP_Widget {
$max_columns = 5;
// Create an associative array of allowed column values. This just automates the generation of
- // column <option>s, from 1 to $max_columns
+ // column <option>s, from 1 to $max_columns.
$allowed_columns = array_combine( range( 1, $max_columns ), range( 1, $max_columns ) );
return array(
@@ -407,22 +432,31 @@ class Jetpack_Gallery_Widget extends WP_Widget {
);
}
+ /**
+ * Enqueue frontend scripts.
+ */
public function enqueue_frontend_scripts() {
wp_register_script(
'gallery-widget',
Assets::get_file_url_for_environment(
'_inc/build/widgets/gallery/js/gallery.min.js',
'modules/widgets/gallery/js/gallery.js'
- )
+ ),
+ array(),
+ JETPACK__VERSION,
+ false
);
wp_enqueue_script( 'gallery-widget' );
}
+ /**
+ * Enqueue admin scripts and styles.
+ */
public function enqueue_admin_scripts() {
global $pagenow;
- if ( 'widgets.php' == $pagenow || 'customize.php' == $pagenow ) {
+ if ( 'widgets.php' === $pagenow || 'customize.php' === $pagenow ) {
wp_enqueue_media();
wp_enqueue_script(
@@ -435,7 +469,8 @@ class Jetpack_Gallery_Widget extends WP_Widget {
'media-models',
'media-views',
),
- '20150501'
+ '20150501',
+ false
);
$js_settings = array(
@@ -443,7 +478,12 @@ class Jetpack_Gallery_Widget extends WP_Widget {
);
wp_localize_script( 'gallery-widget-admin', '_wpGalleryWidgetAdminSettings', $js_settings );
- wp_enqueue_style( 'gallery-widget-admin', plugins_url( '/gallery/css/admin.css', __FILE__ ) );
+ wp_enqueue_style(
+ 'gallery-widget-admin',
+ plugins_url( '/gallery/css/admin.css', __FILE__ ),
+ array(),
+ JETPACK__VERSION
+ );
wp_style_add_data( 'gallery-widget-admin', 'rtl', 'replace' );
}
}
@@ -451,6 +491,9 @@ class Jetpack_Gallery_Widget extends WP_Widget {
add_action( 'widgets_init', 'jetpack_gallery_widget_init' );
+/**
+ * Jetpack Gallery widget init; the widget is conditionally registered.
+ */
function jetpack_gallery_widget_init() {
/**
* Allow the Gallery Widget to be enabled even when Core supports the Media Gallery Widget
diff --git a/plugins/jetpack/modules/widgets/gallery/css/admin-rtl.css b/plugins/jetpack/modules/widgets/gallery/css/admin-rtl.css
index afd9550d..709e6d6a 100644
--- a/plugins/jetpack/modules/widgets/gallery/css/admin-rtl.css
+++ b/plugins/jetpack/modules/widgets/gallery/css/admin-rtl.css
@@ -1,12 +1,11 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
.gallery-widget-thumbs-wrapper {
- margin: -5px 0 0.3em 0;
+ margin: -5px 0 0.3em 0;
}
.gallery-widget-thumbs img {
- border: 1px solid #ccc;
- padding: 2px;
- background-color: #fff;
- margin: 0 0 5px 5px;
- float: right;
-} \ No newline at end of file
+ border: 1px solid #ccc;
+ padding: 2px;
+ background-color: #fff;
+ margin: 0 0 5px 5px;
+ float: right;
+}
diff --git a/plugins/jetpack/modules/widgets/gallery/css/admin-rtl.min.css b/plugins/jetpack/modules/widgets/gallery/css/admin-rtl.min.css
index de937320..6bee5b53 100644
--- a/plugins/jetpack/modules/widgets/gallery/css/admin-rtl.min.css
+++ b/plugins/jetpack/modules/widgets/gallery/css/admin-rtl.min.css
@@ -1 +1 @@
-.gallery-widget-thumbs-wrapper{margin:-5px 0 .3em 0}.gallery-widget-thumbs img{border:1px solid #ccc;padding:2px;background-color:#fff;margin:0 0 5px 5px;float:right} \ No newline at end of file
+.gallery-widget-thumbs-wrapper{margin:-5px 0 .3em}.gallery-widget-thumbs img{background-color:#fff;border:1px solid #ccc;float:right;margin:0 0 5px 5px;padding:2px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/widgets/gallery/css/admin.min.css b/plugins/jetpack/modules/widgets/gallery/css/admin.min.css
index 743791f9..0e996e08 100644
--- a/plugins/jetpack/modules/widgets/gallery/css/admin.min.css
+++ b/plugins/jetpack/modules/widgets/gallery/css/admin.min.css
@@ -1,2 +1 @@
-/* Do not modify this file directly. It is concatenated from individual module CSS files. */
-.gallery-widget-thumbs-wrapper{margin:-5px 0 .3em 0}.gallery-widget-thumbs img{border:1px solid #ccc;padding:2px;background-color:#fff;margin:0 5px 5px 0;float:left} \ No newline at end of file
+.gallery-widget-thumbs-wrapper{margin:-5px 0 .3em}.gallery-widget-thumbs img{background-color:#fff;border:1px solid #ccc;float:left;margin:0 5px 5px 0;padding:2px} \ No newline at end of file
diff --git a/plugins/jetpack/modules/widgets/gallery/templates/form.php b/plugins/jetpack/modules/widgets/gallery/templates/form.php
index f24cf1c2..799f3eef 100644
--- a/plugins/jetpack/modules/widgets/gallery/templates/form.php
+++ b/plugins/jetpack/modules/widgets/gallery/templates/form.php
@@ -1,6 +1,15 @@
+<?php
+/**
+ * Jetpack_Gallery_Widget backend settings form output.
+ *
+ * @package automattic/jetpack
+ */
+
+// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
+?>
<p>
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php esc_html_e( 'Title:', 'jetpack' ); ?>
- <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>"
+ <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php esc_html_e( 'Title:', 'jetpack' ); ?>
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>"
type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" />
</label>
</p>
@@ -15,20 +24,23 @@
<div class="gallery-widget-thumbs">
<?php
- // Add the thumbnails to the widget box
+ // Add the thumbnails to the widget box.
$attachments = $this->get_attachments( $instance );
- foreach( $attachments as $attachment ){
- $url = add_query_arg( array(
- 'w' => self::THUMB_SIZE,
- 'h' => self::THUMB_SIZE,
- 'crop' => 'true'
- ), wp_get_attachment_url( $attachment->ID ) );
+ foreach ( $attachments as $attachment ) {
+ $url = add_query_arg(
+ array(
+ 'w' => self::THUMB_SIZE,
+ 'h' => self::THUMB_SIZE,
+ 'crop' => 'true',
+ ),
+ wp_get_attachment_url( $attachment->ID )
+ );
?>
<img src="<?php echo esc_url( $url ); ?>" title="<?php echo esc_attr( $attachment->post_title ); ?>" alt="<?php echo esc_attr( $attachment->post_title ); ?>"
- width="<?php echo self::THUMB_SIZE; ?>" height="<?php echo self::THUMB_SIZE; ?>" class="thumb" />
+ width="<?php echo esc_attr( self::THUMB_SIZE ); ?>" height="<?php echo esc_attr( self::THUMB_SIZE ); ?>" class="thumb" />
<?php } ?>
</div>
@@ -40,50 +52,28 @@
</p>
<p class="gallery-widget-link-wrapper">
- <label for="<?php echo $this->get_field_id( 'link' ); ?>"><?php esc_html_e( 'Link To:', 'jetpack' ); ?></label>
- <select name="<?php echo $this->get_field_name( 'link' ); ?>" id="<?php echo $this->get_field_id( 'link' ); ?>" class="widefat">
- <?php foreach ( $allowed_values['link'] as $key => $label ) {
- $selected = '';
-
- if ( $instance['link'] == $key ) {
- $selected = "selected='selected' ";
- } ?>
-
- <option value="<?php echo $key; ?>" <?php echo $selected; ?>><?php echo esc_html( $label, 'jetpack' ); ?></option>
- <?php } ?>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'link' ) ); ?>"><?php esc_html_e( 'Link To:', 'jetpack' ); ?></label>
+ <select name="<?php echo esc_attr( $this->get_field_name( 'link' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'link' ) ); ?>" class="widefat">
+ <?php foreach ( $allowed_values['link'] as $key => $label ) : ?>
+ <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $instance['link'], $key ); ?>><?php echo esc_html( $label ); ?></option>
+ <?php endforeach; ?>
</select>
</p>
<p>
- <label for="<?php echo $this->get_field_id( 'random' ); ?>"><?php esc_html_e( 'Random Order:', 'jetpack' ); ?></label>
- <?php $checked = '';
-
- if ( isset( $instance['random'] ) && $instance['random'] )
- $checked = 'checked="checked"';
-
- ?>
- <input name="<?php echo $this->get_field_name( 'random' ); ?>" id="<?php echo $this->get_field_id( 'random' ); ?>" type="checkbox" <?php echo $checked; ?>>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'random' ) ); ?>"><?php esc_html_e( 'Random Order:', 'jetpack' ); ?></label>
+ <input name="<?php echo esc_attr( $this->get_field_name( 'random' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'random' ) ); ?>" type="checkbox"<?php checked( ! empty( $instance['random'] ) ); ?>>
</p>
<p class="gallery-widget-style-wrapper">
- <label for="<?php echo $this->get_field_id( 'type' ); ?>"><?php esc_html_e( 'Style:', 'jetpack' ); ?></label>
- <select name="<?php echo $this->get_field_name( 'type' ); ?>" id="<?php echo $this->get_field_id( 'type' ); ?>" class="widefat gallery-widget-style">
- <?php foreach ( $allowed_values['type'] as $key => $label ) {
- $selected = '';
-
- if ( $instance['type'] == $key ) {
- $selected = "selected='selected' ";
- } ?>
-
- <option value="<?php echo $key; ?>" <?php echo $selected; ?>><?php echo esc_html( $label, 'jetpack' ); ?></option>
- <?php } ?>
+ <label for="<?php echo esc_attr( $this->get_field_id( 'type' ) ); ?>"><?php esc_html_e( 'Style:', 'jetpack' ); ?></label>
+ <select name="<?php echo esc_attr( $this->get_field_name( 'type' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'type' ) ); ?>" class="widefat gallery-widget-style">
+ <?php foreach ( $allowed_values['type'] as $key => $label ) : ?>
+ <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $instance['type'], $key ); ?>><?php echo esc_html( $label ); ?></option>
+ <?php endforeach; ?>
</select>
</p>
-<?php
-
-
-?>
-<?php // Hidden input to hold the selected image ids as a csv list ?>
-<input type="hidden" class="gallery-widget-ids" name="<?php echo $this->get_field_name( 'ids' ); ?>" id="<?php echo $this->get_field_id( 'ids' ); ?>" value="<?php echo esc_attr( $instance['ids'] ); ?>" />
+<?php // Hidden input to hold the selected image ids as a csv list. ?>
+<input type="hidden" class="gallery-widget-ids" name="<?php echo esc_attr( $this->get_field_name( 'ids' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'ids' ) ); ?>" value="<?php echo esc_attr( $instance['ids'] ); ?>" />
diff --git a/plugins/jetpack/modules/widgets/goodreads.php b/plugins/jetpack/modules/widgets/goodreads.php
index f9b3db76..369908d5 100644
--- a/plugins/jetpack/modules/widgets/goodreads.php
+++ b/plugins/jetpack/modules/widgets/goodreads.php
@@ -1,9 +1,9 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+add_action( 'widgets_init', 'jetpack_goodreads_widget_init' );
/**
* Register the widget for use in Appearance -> Widgets
*/
-add_action( 'widgets_init', 'jetpack_goodreads_widget_init' );
-
function jetpack_goodreads_widget_init() {
register_widget( 'WPCOM_Widget_Goodreads' );
}
@@ -12,13 +12,19 @@ function jetpack_goodreads_widget_init() {
* Goodreads widget class
* Display a user's Goodreads shelf.
* Customize user_id, title, and shelf
- *
*/
class WPCOM_Widget_Goodreads extends WP_Widget {
-
+ /**
+ * Widget ID based on Goodreads user ID and shelf.
+ *
+ * @var int
+ */
private $goodreads_widget_id = 0;
- function __construct() {
+ /**
+ * WPCOM_Widget_Goodreads constructor.
+ */
+ public function __construct() {
parent::__construct(
'wpcom-goodreads',
/** This filter is documented in modules/widgets/facebook-likebox.php */
@@ -29,7 +35,7 @@ class WPCOM_Widget_Goodreads extends WP_Widget {
'customize_selective_refresh' => true,
)
);
- // For user input sanitization and display
+ // For user input sanitization and display.
$this->shelves = array(
'read' => _x( 'Read', 'past participle: books I have read', 'jetpack' ),
'currently-reading' => __( 'Currently Reading', 'jetpack' ),
@@ -41,12 +47,26 @@ class WPCOM_Widget_Goodreads extends WP_Widget {
}
}
- function enqueue_style() {
- wp_enqueue_style( 'goodreads-widget', plugins_url( 'goodreads/css/goodreads.css', __FILE__ ) );
+ /**
+ * Enqueue widget styles.
+ */
+ public function enqueue_style() {
+ wp_enqueue_style(
+ 'goodreads-widget',
+ plugins_url( 'goodreads/css/goodreads.css', __FILE__ ),
+ array(),
+ JETPACK__VERSION
+ );
wp_style_add_data( 'goodreads-widget', 'rtl', 'replace' );
}
- function widget( $args, $instance ) {
+ /**
+ * Display the widget.
+ *
+ * @param array $args Display arguments including before_title, after_title, before_widget, and after_widget.
+ * @param array $instance The settings for the particular instance of the widget.
+ */
+ public function widget( $args, $instance ) {
/** This action is documented in modules/widgets/gravatar-profile.php */
do_action( 'jetpack_stats_extra', 'widget_view', 'goodreads' );
@@ -55,13 +75,22 @@ class WPCOM_Widget_Goodreads extends WP_Widget {
if ( empty( $instance['user_id'] ) || 'invalid' === $instance['user_id'] ) {
if ( current_user_can( 'edit_theme_options' ) ) {
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo '<p>' . sprintf(
- __( 'You need to enter your numeric user ID for the <a href="%1$s">Goodreads Widget</a> to work correctly. <a href="%2$s" target="_blank">Full instructions</a>.', 'jetpack' ),
+ wp_kses(
+ /* translators: %1$s: link to the widget settings page. %2$s: support article URL for Goodreads widget. */
+ __( 'You need to enter your numeric user ID for the <a href="%1$s">Goodreads Widget</a> to work correctly. <a href="%2$s" target="_blank">Full instructions</a>.', 'jetpack' ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ 'target' => array(),
+ ),
+ )
+ ),
esc_url( admin_url( 'widgets.php' ) ),
- 'https://support.wordpress.com/widgets/goodreads-widget/#goodreads-user-id'
+ 'https://wordpress.com/support/widgets/goodreads-widget/#set-up-the-widget'
) . '</p>';
- echo $args['after_widget'];
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
return;
}
@@ -79,21 +108,27 @@ class WPCOM_Widget_Goodreads extends WP_Widget {
$title = esc_html__( 'Goodreads', 'jetpack' );
}
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- $goodreads_url = 'https://www.goodreads.com/review/custom_widget/' . urlencode( $instance['user_id'] ) . '.' . urlencode( $instance['title'] ) . ':%20' . urlencode( $instance['shelf'] ) . '?cover_position=&cover_size=small&num_books=5&order=d&shelf=' . urlencode( $instance['shelf'] ) . '&sort=date_added&widget_bg_transparent=&widget_id=' . esc_attr( $this->goodreads_widget_id );
+ $goodreads_url = 'https://www.goodreads.com/review/custom_widget/' . rawurlencode( $instance['user_id'] ) . '.' . rawurlencode( $instance['title'] ) . ':%20' . rawurlencode( $instance['shelf'] ) . '?cover_position=&cover_size=small&num_books=5&order=d&shelf=' . rawurlencode( $instance['shelf'] ) . '&sort=date_added&widget_bg_transparent=&widget_id=' . rawurlencode( $this->goodreads_widget_id );
echo '<div class="gr_custom_widget" id="gr_custom_widget_' . esc_attr( $this->goodreads_widget_id ) . '"></div>' . "\n";
- echo '<script src="' . esc_url( $goodreads_url ) . '"></script>' . "\n";
+ echo '<script src="' . esc_url( $goodreads_url ) . '"></script>' . "\n"; // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript
- echo $args['after_widget'];
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
- function goodreads_user_id_exists( $user_id ) {
+ /**
+ * Check if given Goodreads user ID exists.
+ *
+ * @param string $user_id User ID.
+ */
+ public function goodreads_user_id_exists( $user_id ) {
$url = "https://www.goodreads.com/user/show/$user_id/";
$response = wp_remote_head(
- $url, array(
+ $url,
+ array(
'httpversion' => '1.1',
'timeout' => 10,
'redirection' => 2,
@@ -106,7 +141,15 @@ class WPCOM_Widget_Goodreads extends WP_Widget {
}
}
- function update( $new_instance, $old_instance ) {
+ /**
+ * Update widget.
+ *
+ * @see WP_Widget::update()
+ *
+ * @param array $new_instance New widget instance data.
+ * @param array $old_instance Old widget instance data.
+ */
+ public function update( $new_instance, $old_instance ) {
$instance = $old_instance;
$instance['user_id'] = trim( wp_kses( stripslashes( $new_instance['user_id'] ), array() ) );
@@ -124,10 +167,16 @@ class WPCOM_Widget_Goodreads extends WP_Widget {
return $instance;
}
- function form( $instance ) {
- //Defaults
+ /**
+ * Outputs the widget settings form.
+ *
+ * @param array $instance Current settings.
+ */
+ public function form( $instance ) {
+ // Defaults.
$instance = wp_parse_args(
- (array) $instance, array(
+ (array) $instance,
+ array(
'user_id' => '',
'title' => 'Goodreads',
'shelf' => 'read',
@@ -138,9 +187,21 @@ class WPCOM_Widget_Goodreads extends WP_Widget {
<input class="widefat" id="' . esc_attr( $this->get_field_id( 'title' ) ) . '" name="' . esc_attr( $this->get_field_name( 'title' ) ) . '" type="text" value="' . esc_attr( $instance['title'] ) . '" />
</label></p>
<p><label for="' . esc_attr( $this->get_field_id( 'user_id' ) ) . '">';
- printf( __( 'Goodreads numeric user ID <a href="%s" target="_blank">(instructions)</a>:', 'jetpack' ), 'https://en.support.wordpress.com/widgets/goodreads-widget/#goodreads-user-id' );
+ printf(
+ wp_kses(
+ /* translators: %s: support article URL for Goodreads widget. */
+ __( 'Goodreads numeric user ID <a href="%s" target="_blank">(instructions)</a>:', 'jetpack' ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ 'target' => array(),
+ ),
+ )
+ ),
+ 'https://wordpress.com/support/widgets/goodreads-widget/#set-up-the-widget'
+ );
if ( 'invalid' === $instance['user_id'] ) {
- printf( '<br /><small class="error">%s</small>&nbsp;', __( 'Invalid User ID, please verify and re-enter your Goodreads numeric user ID.', 'jetpack' ) );
+ printf( '<br /><small class="error">%s</small>&nbsp;', esc_html( __( 'Invalid User ID, please verify and re-enter your Goodreads numeric user ID.', 'jetpack' ) ) );
$instance['user_id'] = '';
}
echo '<input class="widefat" id="' . esc_attr( $this->get_field_id( 'user_id' ) ) . '" name="' . esc_attr( $this->get_field_name( 'user_id' ) ) . '" type="text" value="' . esc_attr( $instance['user_id'] ) . '" />
@@ -148,7 +209,7 @@ class WPCOM_Widget_Goodreads extends WP_Widget {
<p><label for="' . esc_attr( $this->get_field_id( 'shelf' ) ) . '">' . esc_html__( 'Shelf:', 'jetpack' ) . '
<select class="widefat" id="' . esc_attr( $this->get_field_id( 'shelf' ) ) . '" name="' . esc_attr( $this->get_field_name( 'shelf' ) ) . '" >';
foreach ( $this->shelves as $_shelf_value => $_shelf_display ) {
- echo "\t<option value='" . esc_attr( $_shelf_value ) . "'" . selected( $_shelf_value, $instance['shelf'] ) . '>' . $_shelf_display . "</option>\n";
+ echo "\t<option value='" . esc_attr( $_shelf_value ) . "'" . selected( $_shelf_value, $instance['shelf'], false ) . '>' . $_shelf_display . "</option>\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
echo '</select>
</label></p>
diff --git a/plugins/jetpack/modules/widgets/google-translate.php b/plugins/jetpack/modules/widgets/google-translate.php
index 0e270677..d6f0e88d 100644
--- a/plugins/jetpack/modules/widgets/google-translate.php
+++ b/plugins/jetpack/modules/widgets/google-translate.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Assets;
@@ -15,20 +15,28 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
+/**
+ * Jetpack_Google_Translate_Widget main class.
+ */
class Jetpack_Google_Translate_Widget extends WP_Widget {
- static $instance = null;
+ /**
+ * Singleton instance of the widget, not to show more than once.
+ *
+ * @var array
+ */
+ public static $instance = null;
/**
* Default widget title.
*
* @var string $default_title
*/
- var $default_title;
+ public $default_title;
/**
* Register widget with WordPress.
*/
- function __construct() {
+ public function __construct() {
parent::__construct(
'google_translate_widget',
/** This filter is documented in modules/widgets/facebook-likebox.php */
@@ -52,13 +60,22 @@ class Jetpack_Google_Translate_Widget extends WP_Widget {
Assets::get_file_url_for_environment(
'_inc/build/widgets/google-translate/google-translate.min.js',
'modules/widgets/google-translate/google-translate.js'
- )
+ ),
+ array(),
+ JETPACK__VERSION,
+ false
+ );
+ wp_register_script(
+ 'google-translate',
+ '//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit',
+ array( 'google-translate-init' ),
+ JETPACK__VERSION,
+ false
);
- wp_register_script( 'google-translate', '//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit', array( 'google-translate-init' ) );
// Admin bar is also displayed on top of the site which causes google translate bar to hide beneath.
// Overwrite position of body.admin-bar
// This is a hack to show google translate bar a bit lower.
- $lowerTranslateBar = '
+ $lower_translate_bar = '
.admin-bar {
position: inherit !important;
top: auto !important;
@@ -77,8 +94,8 @@ class Jetpack_Google_Translate_Widget extends WP_Widget {
}
}
';
- wp_add_inline_style( 'admin-bar', $lowerTranslateBar );
- wp_add_inline_style( 'wpcom-admin-bar', $lowerTranslateBar );
+ wp_add_inline_style( 'admin-bar', $lower_translate_bar );
+ wp_add_inline_style( 'wpcom-admin-bar', $lower_translate_bar );
}
/**
@@ -93,7 +110,8 @@ class Jetpack_Google_Translate_Widget extends WP_Widget {
// We never should show more than 1 instance of this.
if ( null === self::$instance ) {
$instance = wp_parse_args(
- $instance, array(
+ $instance,
+ array(
'title' => $this->default_title,
)
);
@@ -144,12 +162,12 @@ class Jetpack_Google_Translate_Widget extends WP_Widget {
/** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */
$title = apply_filters( 'widget_title', $title );
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
if ( ! empty( $title ) ) {
echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
echo '<div id="google_translate_element"></div>';
- echo $args['after_widget'];
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
self::$instance = $instance;
/** This action is documented in modules/widgets/gravatar-profile.php */
do_action( 'jetpack_stats_extra', 'widget_view', 'google-translate' );
@@ -186,11 +204,11 @@ class Jetpack_Google_Translate_Widget extends WP_Widget {
*
* @return array $instance Updated safe values to be saved.
*/
- public function update( $new_instance, $old_instance ) {
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$instance = array();
$instance['title'] = wp_kses( $new_instance['title'], array() );
if ( $instance['title'] === $this->default_title ) {
- $instance['title'] = false; // Store as false in case of language change
+ $instance['title'] = false; // Store as false in case of language change.
}
return $instance;
}
diff --git a/plugins/jetpack/modules/widgets/gravatar-profile.php b/plugins/jetpack/modules/widgets/gravatar-profile.php
index d2b13d12..14f8f78a 100644
--- a/plugins/jetpack/modules/widgets/gravatar-profile.php
+++ b/plugins/jetpack/modules/widgets/gravatar-profile.php
@@ -1,10 +1,10 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+
+add_action( 'widgets_init', 'jetpack_gravatar_profile_widget_init' );
/**
* Register the widget for use in Appearance -> Widgets
*/
-add_action( 'widgets_init', 'jetpack_gravatar_profile_widget_init' );
-
function jetpack_gravatar_profile_widget_init() {
register_widget( 'Jetpack_Gravatar_Profile_Widget' );
}
@@ -14,8 +14,10 @@ function jetpack_gravatar_profile_widget_init() {
* https://blog.gravatar.com/2010/03/26/gravatar-profiles/
*/
class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
-
- function __construct() {
+ /**
+ * Jetpack_Gravatar_Profile_Widget constructor.
+ */
+ public function __construct() {
parent::__construct(
'grofile',
/** This filter is documented in modules/widgets/facebook-likebox.php */
@@ -36,7 +38,15 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
}
}
- function widget( $args, $instance ) {
+ /**
+ * Display the Widget.
+ *
+ * @see WP_Widget::widget()
+ *
+ * @param array $args Display arguments.
+ * @param array $instance The settings for the particular instance of the widget.
+ */
+ public function widget( $args, $instance ) {
/**
* Fires when an item is displayed on the front end.
*
@@ -52,7 +62,8 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
do_action( 'jetpack_stats_extra', 'widget_view', 'grofile' );
$instance = wp_parse_args(
- $instance, array(
+ $instance,
+ array(
'title' => '',
'email' => '',
)
@@ -63,26 +74,38 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
if ( ! $instance['email'] ) {
if ( current_user_can( 'edit_theme_options' ) ) {
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
if ( ! empty( $title ) ) {
echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
- echo '<p>' . sprintf( __( 'You need to select what to show in this <a href="%s">Gravatar Profile widget</a>.', 'jetpack' ), admin_url( 'widgets.php' ) ) . '</p>';
- echo $args['after_widget'];
+ echo '<p>' . wp_kses(
+ sprintf(
+ /* translators: %s is a link to the widget settings page. */
+ __( 'You need to select what to show in this <a href="%s">Gravatar Profile widget</a>.', 'jetpack' ),
+ admin_url( 'widgets.php' )
+ ),
+ array(
+ 'a' => array(
+ 'href' => true,
+ ),
+ )
+ ) . '</p>';
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
return;
}
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
if ( ! empty( $title ) ) {
- echo $args['before_title'] . $title . $args['after_title'];
+ echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
$profile = $this->get_profile( $instance['email'] );
if ( ! empty( $profile ) ) {
$profile = wp_parse_args(
- $profile, array(
+ $profile,
+ array(
'thumbnailUrl' => '',
'profileUrl' => '',
'displayName' => '',
@@ -91,7 +114,7 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
'accounts' => array(),
)
);
- $gravatar_url = add_query_arg( 's', 320, $profile['thumbnailUrl'] ); // the default grav returned by grofiles is super small
+ $gravatar_url = add_query_arg( 's', 320, $profile['thumbnailUrl'] ); // The default grav returned by grofiles is super small.
// Enqueue front end assets.
$this->enqueue_scripts();
@@ -142,10 +165,15 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
}
}
- echo $args['after_widget'];
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
- function display_personal_links( $personal_links = array() ) {
+ /**
+ * Displays the "Personal Links" section.
+ *
+ * @param array $personal_links Array of links.
+ */
+ public function display_personal_links( $personal_links = array() ) {
if ( empty( $personal_links ) ) {
return;
}
@@ -168,7 +196,7 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
__( 'Personal Links', 'jetpack' )
)
);
- ?>
+ ?>
</h4>
<ul class="grofile-urls grofile-links">
@@ -187,7 +215,12 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
<?php
}
- function display_accounts( $accounts = array() ) {
+ /**
+ * Displays the "Verified Services" accounts.
+ *
+ * @param array $accounts Array of social accounts.
+ */
+ public function display_accounts( $accounts = array() ) {
if ( empty( $accounts ) ) {
return;
}
@@ -197,34 +230,40 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
<?php
echo esc_html(
/**
- * Filter the Gravatar Profile widget's "Verified Services" section title.
- *
- * @module widgets
- *
- * @since 2.8.0
- *
- * @param string $str "Verified Services" section title.
- */
- apply_filters(
- 'jetpack_gravatar_verified_services_title',
- __( 'Verified Services', 'jetpack' )
- )
+ * Filter the Gravatar Profile widget's "Verified Services" section title.
+ *
+ * @module widgets
+ *
+ * @since 2.8.0
+ *
+ * @param string $str "Verified Services" section title.
+ */
+ apply_filters(
+ 'jetpack_gravatar_verified_services_title',
+ __( 'Verified Services', 'jetpack' )
+ )
);
- ?>
+ ?>
</h4>
<ul class="grofile-urls grofile-accounts">
<?php
foreach ( $accounts as $account ) :
- if ( $account['verified'] != 'true' ) {
+ if ( 'true' !== $account['verified'] ) {
continue;
}
$sanitized_service_name = $this->get_sanitized_service_name( $account['shortname'] );
+ $link_title = sprintf(
+ /* translators: %1$s: service username. %2$s: service name ( Facebook, Twitter, etc.) */
+ _x( '%1$s on %2$s', '1: User Name, 2: Service Name (Facebook, Twitter, ...)', 'jetpack' ),
+ esc_html( $account['display'] ),
+ esc_html( $sanitized_service_name )
+ );
?>
<li>
- <a href="<?php echo esc_url( $account['url'] ); ?>" title="<?php echo sprintf( _x( '%1$s on %2$s', '1: User Name, 2: Service Name (Facebook, Twitter, ...)', 'jetpack' ), esc_html( $account['display'] ), esc_html( $sanitized_service_name ) ); ?>">
+ <a href="<?php echo esc_url( $account['url'] ); ?>" title="<?php echo esc_html( $link_title ); ?>">
<span class="grofile-accounts-logo grofile-accounts-<?php echo esc_attr( $account['shortname'] ); ?> accounts_<?php echo esc_attr( $account['shortname'] ); ?>"></span>
</a>
</li>
@@ -240,7 +279,7 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
*
* @since 4.0.0
*/
- function enqueue_scripts() {
+ public function enqueue_scripts() {
wp_enqueue_style(
'gravatar-profile-widget',
plugins_url( 'gravatar-profile.css', __FILE__ ),
@@ -256,7 +295,12 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
);
}
- function form( $instance ) {
+ /**
+ * Outputs the widget settings form.
+ *
+ * @param array $instance Current settings.
+ */
+ public function form( $instance ) {
$title = isset( $instance['title'] ) ? $instance['title'] : '';
$email = isset( $instance['email'] ) ? $instance['email'] : '';
$email_user = isset( $instance['email_user'] ) ? $instance['email_user'] : get_current_user_id();
@@ -267,19 +311,19 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
$profile_url = admin_url( 'profile.php' );
- if ( isset( $_REQUEST['calypso'] ) ) {
+ if ( isset( $_REQUEST['calypso'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$profile_url = 'https://wordpress.com/me';
}
}
?>
<p>
- <label for="<?php echo $this->get_field_id( 'title' ); ?>">
- <?php esc_html_e( 'Title', 'jetpack' ); ?> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
+ <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
+ <?php esc_html_e( 'Title', 'jetpack' ); ?> <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
</label>
</p>
<p>
- <label for="<?php echo $this->get_field_id( 'email_user' ); ?>">
+ <label for="<?php echo esc_attr( $this->get_field_id( 'email_user' ) ); ?>">
<?php esc_html_e( 'Select a user or pick "custom" and enter a custom email address.', 'jetpack' ); ?>
<br />
@@ -297,15 +341,15 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
</label>
</p>
- <p class="gprofile-email-container <?php echo empty( $email_user ) || $email_user == -1 ? '' : 'hidden'; ?>">
- <label for="<?php echo $this->get_field_id( 'email' ); ?>"><?php esc_html_e( 'Custom Email Address', 'jetpack' ); ?>
- <input class="widefat" id="<?php echo $this->get_field_id( 'email' ); ?>" name="<?php echo $this->get_field_name( 'email' ); ?>" type="text" value="<?php echo esc_attr( $email ); ?>" />
+ <p class="gprofile-email-container <?php echo empty( $email_user ) || -1 === (int) $email_user ? '' : 'hidden'; ?>">
+ <label for="<?php echo esc_attr( $this->get_field_id( 'email' ) ); ?>"><?php esc_html_e( 'Custom Email Address', 'jetpack' ); ?>
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'email' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'email' ) ); ?>" type="text" value="<?php echo esc_attr( $email ); ?>" />
</label>
</p>
<p>
- <label for="<?php echo $this->get_field_id( 'show_personal_links' ); ?>">
- <input type="checkbox" name="<?php echo $this->get_field_name( 'show_personal_links' ); ?>" id="<?php echo $this->get_field_id( 'show_personal_links' ); ?>" <?php checked( $show_personal_links ); ?> />
+ <label for="<?php echo esc_attr( $this->get_field_id( 'show_personal_links' ) ); ?>">
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'show_personal_links' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'show_personal_links' ) ); ?>" <?php checked( $show_personal_links ); ?> />
<?php esc_html_e( 'Show Personal Links', 'jetpack' ); ?>
<br />
<small><?php esc_html_e( 'Links to your websites, blogs, or any other sites that help describe who you are.', 'jetpack' ); ?></small>
@@ -313,8 +357,8 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
</p>
<p>
- <label for="<?php echo $this->get_field_id( 'show_account_links' ); ?>">
- <input type="checkbox" name="<?php echo $this->get_field_name( 'show_account_links' ); ?>" id="<?php echo $this->get_field_id( 'show_account_links' ); ?>" <?php checked( $show_account_links ); ?> />
+ <label for="<?php echo esc_attr( $this->get_field_id( 'show_account_links' ) ); ?>">
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'show_account_links' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'show_account_links' ) ); ?>" <?php checked( $show_account_links ); ?> />
<?php esc_html_e( 'Show Account Links', 'jetpack' ); ?>
<br />
<small><?php esc_html_e( 'Links to services that you use across the web.', 'jetpack' ); ?></small>
@@ -326,7 +370,10 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
<?php
}
- function admin_script() {
+ /**
+ * Inline admin script.
+ */
+ public function admin_script() {
?>
<script>
jQuery( function( $ ) {
@@ -343,8 +390,15 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
<?php
}
- function update( $new_instance, $old_instance ) {
-
+ /**
+ * Update widget.
+ *
+ * @see WP_Widget::update()
+ *
+ * @param array $new_instance New widget instance data.
+ * @param array $old_instance Old widget instance data.
+ */
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$instance = array();
$instance['title'] = isset( $new_instance['title'] ) ? wp_kses( $new_instance['title'], array() ) : '';
@@ -365,11 +419,17 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
return $instance;
}
+ /**
+ * Get the Gravatar profile for a given email address.
+ *
+ * @param string $email Email address.
+ */
private function get_profile( $email ) {
$hashed_email = md5( strtolower( trim( $email ) ) );
$cache_key = 'grofile-' . $hashed_email;
+ $profile = get_transient( $cache_key );
- if ( ! $profile = get_transient( $cache_key ) ) {
+ if ( ! $profile ) {
$profile_url = sprintf(
'https://secure.gravatar.com/%s.json',
$hashed_email
@@ -381,19 +441,19 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
array( 'User-Agent' => 'WordPress.com Gravatar Profile Widget' )
);
$response_code = wp_remote_retrieve_response_code( $response );
- if ( 200 == $response_code ) {
+ if ( 200 === $response_code ) {
$profile = wp_remote_retrieve_body( $response );
$profile = json_decode( $profile, true );
if ( is_array( $profile ) && ! empty( $profile['entry'] ) && is_array( $profile['entry'] ) ) {
- $expire = 900; // cache for 15 minutes
+ $expire = 900; // Cache for 15 minutes.
$profile = $profile['entry'][0];
} else {
// Something strange happened. Cache for 5 minutes.
$profile = array();
}
} else {
- $expire = 900; // cache for 15 minutes
+ $expire = 900; // Cache for 15 minutes.
$profile = array();
}
@@ -402,8 +462,15 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
return $profile;
}
+ /**
+ * Return properly capitalized service name.
+ *
+ * @param string $shortname The service.
+ *
+ * @return string
+ */
private function get_sanitized_service_name( $shortname ) {
- // Some services have stylized or mixed cap names *cough* WP *cough*
+ // Some services have stylized or mixed cap names *cough* WP *cough*.
switch ( $shortname ) {
case 'friendfeed':
return 'FriendFeed';
@@ -425,11 +492,9 @@ class Jetpack_Gravatar_Profile_Widget extends WP_Widget {
case 'google':
return 'Google+';
default:
- // Others don't
+ // Others don't.
$shortname = ucwords( $shortname );
}
return $shortname;
}
}
-
-// END
diff --git a/plugins/jetpack/modules/widgets/image-widget.php b/plugins/jetpack/modules/widgets/image-widget.php
index e498f577..6bfa3178 100644
--- a/plugins/jetpack/modules/widgets/image-widget.php
+++ b/plugins/jetpack/modules/widgets/image-widget.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Module Name: Image Widget
* Module Description: Easily add images to your theme's sidebar.
@@ -6,10 +6,10 @@
* First Introduced: 1.2
*/
-/**
-* Register the widget for use in Appearance -> Widgets
-*/
add_action( 'widgets_init', 'jetpack_image_widget_init', 11 );
+/**
+ * Register the widget for use in Appearance -> Widgets
+ */
function jetpack_image_widget_init() {
if ( class_exists( 'WP_Widget_Media_Image' ) && Jetpack_Options::get_option( 'image_widget_migration' ) ) {
return;
@@ -17,10 +17,13 @@ function jetpack_image_widget_init() {
register_widget( 'Jetpack_Image_Widget' );
}
+/**
+ * Jetpack_Image_Widget main class.
+ */
class Jetpack_Image_Widget extends WP_Widget {
/**
- * Register widget with WordPress.
- */
+ * Register widget with WordPress.
+ */
public function __construct() {
parent::__construct(
'image',
@@ -39,27 +42,28 @@ class Jetpack_Image_Widget extends WP_Widget {
}
/**
- * Loads file for front-end widget style.
- *
- * @uses wp_enqueue_style(), plugins_url()
- */
+ * Loads file for front-end widget style.
+ *
+ * @uses wp_enqueue_style(), plugins_url()
+ */
public function enqueue_style() {
wp_enqueue_style( 'jetpack_image_widget', plugins_url( 'image-widget/style.css', __FILE__ ), array(), '20140808' );
}
/**
- * Front-end display of widget.
- *
- * @see WP_Widget::widget()
- *
- * @param array $args Widget arguments.
- * @param array $instance Saved values from database.
- */
+ * Front-end display of widget.
+ *
+ * @see WP_Widget::widget()
+ *
+ * @param array $args Widget arguments.
+ * @param array $instance Saved values from database.
+ */
public function widget( $args, $instance ) {
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
$instance = wp_parse_args(
- $instance, array(
+ $instance,
+ array(
'title' => '',
'img_url' => '',
)
@@ -71,23 +75,23 @@ class Jetpack_Image_Widget extends WP_Widget {
echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
- if ( '' != $instance['img_url'] ) {
+ if ( $instance['img_url'] ) {
$output = '<img src="' . esc_url( $instance['img_url'] ) . '" ';
- if ( '' != $instance['alt_text'] ) {
+ if ( '' !== (string) $instance['alt_text'] ) {
$output .= 'alt="' . esc_attr( $instance['alt_text'] ) . '" ';
}
- if ( '' != $instance['img_title'] ) {
+ if ( '' !== (string) $instance['img_title'] ) {
$output .= 'title="' . esc_attr( $instance['img_title'] ) . '" ';
}
- if ( '' == $instance['caption'] ) {
+ if ( '' !== (string) $instance['caption'] ) {
$output .= 'class="align' . esc_attr( $instance['align'] ) . '" ';
}
- if ( '' != $instance['img_width'] ) {
+ if ( '' !== (string) $instance['img_width'] ) {
$output .= 'width="' . esc_attr( $instance['img_width'] ) . '" ';
}
- if ( '' != $instance['img_height'] ) {
+ if ( '' !== (string) $instance['img_height'] ) {
$output .= 'height="' . esc_attr( $instance['img_height'] ) . '" ';
}
$output .= '/>';
@@ -96,29 +100,40 @@ class Jetpack_Image_Widget extends WP_Widget {
$output = Jetpack_Photon::filter_the_content( $output );
}
- if ( '' != $instance['link'] ) {
+ if ( $instance['link'] ) {
$target = ! empty( $instance['link_target_blank'] )
? 'target="_blank"'
: '';
$output = '<a ' . $target . ' href="' . esc_url( $instance['link'] ) . '">' . $output . '</a>';
}
- if ( '' != $instance['caption'] ) {
+ if ( '' !== (string) $instance['caption'] ) {
/** This filter is documented in core/src/wp-includes/default-widgets.php */
$caption = apply_filters( 'widget_text', $instance['caption'] );
$img_width = ( ! empty( $instance['img_width'] ) ? 'style="width: ' . esc_attr( $instance['img_width'] ) . 'px"' : '' );
$output = '<figure ' . $img_width . ' class="wp-caption align' . esc_attr( $instance['align'] ) . '">
' . $output . '
<figcaption class="wp-caption-text">' . $caption . '</figcaption>
- </figure>'; // wp_kses_post caption on update
+ </figure>'; // wp_kses_post caption on update.
}
echo '<div class="jetpack-image-container">' . do_shortcode( $output ) . '</div>';
} else {
if ( current_user_can( 'edit_theme_options' ) ) {
- echo '<p>' . sprintf( __( 'Image missing or invalid URL. Please check the Image widget URL in your <a href="%s">widget settings</a>.', 'jetpack' ), admin_url( 'widgets.php' ) ) . '</p>';
+ echo '<p>' . wp_kses(
+ sprintf(
+ /* translators: %s link to the widget settings page. */
+ __( 'Image missing or invalid URL. Please check the Image widget URL in your <a href="%s">widget settings</a>.', 'jetpack' ),
+ admin_url( 'widgets.php' )
+ ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ ),
+ )
+ ) . '</p>';
}
}
- echo "\n" . $args['after_widget'];
+ echo "\n" . $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/** This action is documented in modules/widgets/gravatar-profile.php */
do_action( 'jetpack_stats_extra', 'widget_view', 'image' );
@@ -135,24 +150,24 @@ class Jetpack_Image_Widget extends WP_Widget {
* @return array Updated safe values to be saved.
*/
public function update( $new_instance, $old_instance ) {
- $allowed_caption_html = array(
- 'a' => array(
- 'href' => array(),
- 'title' => array(),
- ),
- 'b' => array(),
- 'em' => array(),
- 'i' => array(),
- 'p' => array(),
- 'strong' => array(),
- );
+ $allowed_caption_html = array(
+ 'a' => array(
+ 'href' => array(),
+ 'title' => array(),
+ ),
+ 'b' => array(),
+ 'em' => array(),
+ 'i' => array(),
+ 'p' => array(),
+ 'strong' => array(),
+ );
$instance = $old_instance;
- $instance['title'] = strip_tags( $new_instance['title'] );
+ $instance['title'] = wp_strip_all_tags( $new_instance['title'] );
$instance['img_url'] = esc_url( trim( $new_instance['img_url'] ) );
- $instance['alt_text'] = strip_tags( $new_instance['alt_text'] );
- $instance['img_title'] = strip_tags( $new_instance['img_title'] );
+ $instance['alt_text'] = wp_strip_all_tags( $new_instance['alt_text'] );
+ $instance['img_title'] = wp_strip_all_tags( $new_instance['img_title'] );
$instance['caption'] = wp_kses( stripslashes( $new_instance['caption'] ), $allowed_caption_html );
$instance['align'] = $new_instance['align'];
$instance['link'] = esc_url( trim( $new_instance['link'] ) );
@@ -161,8 +176,8 @@ class Jetpack_Image_Widget extends WP_Widget {
$new_img_width = absint( $new_instance['img_width'] );
$new_img_height = absint( $new_instance['img_height'] );
- if ( ! empty( $instance['img_url'] ) && '' == $new_img_width && '' == $new_img_height ) {
- // Download the url to a local temp file and then process it with getimagesize so we can optimize browser layout
+ if ( ! empty( $instance['img_url'] ) && 0 === $new_img_width && 0 === $new_img_height ) {
+ // Download the url to a local temp file and then process it with getimagesize so we can optimize browser layout.
$tmp_file = download_url( $instance['img_url'], 10 );
if ( ! is_wp_error( $tmp_file ) ) {
$size = getimagesize( $tmp_file );
@@ -187,16 +202,17 @@ class Jetpack_Image_Widget extends WP_Widget {
}
/**
- * Back end widget form.
- *
- * @see WP_Widget::form()
- *
- * @param array $instance Previously saved values from database.
- */
+ * Back end widget form.
+ *
+ * @see WP_Widget::form()
+ *
+ * @param array $instance Previously saved values from database.
+ */
public function form( $instance ) {
- // Defaults
+ // Defaults.
$instance = wp_parse_args(
- (array) $instance, array(
+ (array) $instance,
+ array(
'title' => '',
'img_url' => '',
'alt_text' => '',
@@ -222,20 +238,20 @@ class Jetpack_Image_Widget extends WP_Widget {
$link = esc_url( $instance['link'], null, 'display' );
- echo '<p><label for="' . $this->get_field_id( 'title' ) . '">' . esc_html__( 'Widget title:', 'jetpack' ) . '
- <input class="widefat" id="' . $this->get_field_id( 'title' ) . '" name="' . $this->get_field_name( 'title' ) . '" type="text" value="' . $title . '" />
+ echo '<p><label for="' . esc_attr( $this->get_field_id( 'title' ) ) . '">' . esc_html__( 'Widget title:', 'jetpack' ) . '
+ <input class="widefat" id="' . esc_attr( $this->get_field_id( 'title' ) ) . '" name="' . esc_attr( $this->get_field_name( 'title' ) ) . '" type="text" value="' . esc_attr( $title ) . '" />
</label></p>
- <p><label for="' . $this->get_field_id( 'img_url' ) . '">' . esc_html__( 'Image URL:', 'jetpack' ) . '
- <input class="widefat" id="' . $this->get_field_id( 'img_url' ) . '" name="' . $this->get_field_name( 'img_url' ) . '" type="text" value="' . $img_url . '" />
+ <p><label for="' . esc_attr( $this->get_field_id( 'img_url' ) ) . '">' . esc_html__( 'Image URL:', 'jetpack' ) . '
+ <input class="widefat" id="' . esc_attr( $this->get_field_id( 'img_url' ) ) . '" name="' . esc_attr( $this->get_field_name( 'img_url' ) ) . '" type="text" value="' . esc_attr( $img_url ) . '" />
</label></p>
- <p><label for="' . $this->get_field_id( 'alt_text' ) . '">' . esc_html__( 'Alternate text:', 'jetpack' ) . ' <a href="https://support.wordpress.com/widgets/image-widget/#image-widget-alt-text" target="_blank">( ? )</a>
- <input class="widefat" id="' . $this->get_field_id( 'alt_text' ) . '" name="' . $this->get_field_name( 'alt_text' ) . '" type="text" value="' . $alt_text . '" />
+ <p><label for="' . esc_attr( $this->get_field_id( 'alt_text' ) ) . '">' . esc_html__( 'Alternate text:', 'jetpack' ) . ' <a href="https://support.wordpress.com/widgets/image-widget/#image-widget-alt-text" target="_blank">( ? )</a>
+ <input class="widefat" id="' . esc_attr( $this->get_field_id( 'alt_text' ) ) . '" name="' . esc_attr( $this->get_field_name( 'alt_text' ) ) . '" type="text" value="' . esc_attr( $alt_text ) . '" />
</label></p>
- <p><label for="' . $this->get_field_id( 'img_title' ) . '">' . esc_html__( 'Image title:', 'jetpack' ) . ' <a href="https://support.wordpress.com/widgets/image-widget/#image-widget-title" target="_blank">( ? )</a>
- <input class="widefat" id="' . $this->get_field_id( 'img_title' ) . '" name="' . $this->get_field_name( 'img_title' ) . '" type="text" value="' . $img_title . '" />
+ <p><label for="' . esc_attr( $this->get_field_id( 'img_title' ) ) . '">' . esc_html__( 'Image title:', 'jetpack' ) . ' <a href="https://support.wordpress.com/widgets/image-widget/#image-widget-title" target="_blank">( ? )</a>
+ <input class="widefat" id="' . esc_attr( $this->get_field_id( 'img_title' ) ) . '" name="' . esc_attr( $this->get_field_name( 'img_title' ) ) . '" type="text" value="' . esc_attr( $img_title ) . '" />
</label></p>
- <p><label for="' . $this->get_field_id( 'caption' ) . '">' . esc_html__( 'Caption:', 'jetpack' ) . ' <a href="https://support.wordpress.com/widgets/image-widget/#image-widget-caption" target="_blank">( ? )</a>
- <textarea class="widefat" id="' . $this->get_field_id( 'caption' ) . '" name="' . $this->get_field_name( 'caption' ) . '" rows="2" cols="20">' . $caption . '</textarea>
+ <p><label for="' . esc_attr( $this->get_field_id( 'caption' ) ) . '">' . esc_html__( 'Caption:', 'jetpack' ) . ' <a href="https://support.wordpress.com/widgets/image-widget/#image-widget-caption" target="_blank">( ? )</a>
+ <textarea class="widefat" id="' . esc_attr( $this->get_field_id( 'caption' ) ) . '" name="' . esc_attr( $this->get_field_name( 'caption' ) ) . '" rows="2" cols="20">' . esc_textarea( $caption ) . '</textarea>
</label></p>';
$alignments = array(
@@ -244,29 +260,29 @@ class Jetpack_Image_Widget extends WP_Widget {
'center' => __( 'Center', 'jetpack' ),
'right' => __( 'Right', 'jetpack' ),
);
- echo '<p><label for="' . $this->get_field_id( 'align' ) . '">' . esc_html__( 'Image Alignment:', 'jetpack' ) . '
- <select id="' . $this->get_field_id( 'align' ) . '" name="' . $this->get_field_name( 'align' ) . '">';
+ echo '<p><label for="' . esc_attr( $this->get_field_id( 'align' ) ) . '">' . esc_html__( 'Image Alignment:', 'jetpack' ) . '
+ <select id="' . esc_attr( $this->get_field_id( 'align' ) ) . '" name="' . esc_attr( $this->get_field_name( 'align' ) ) . '">';
foreach ( $alignments as $alignment => $alignment_name ) {
- echo '<option value="' . esc_attr( $alignment ) . '" ';
- if ( $alignment == $align ) {
+ echo '<option value="' . esc_attr( $alignment ) . '" ';
+ if ( $alignment === $align ) {
echo 'selected="selected" ';
}
echo '>' . esc_html( $alignment_name ) . "</option>\n";
}
echo '</select></label></p>';
- echo '<p><label for="' . $this->get_field_id( 'img_width' ) . '">' . esc_html__( 'Width in pixels:', 'jetpack' ) . '
- <input size="3" id="' . $this->get_field_id( 'img_width' ) . '" name="' . $this->get_field_name( 'img_width' ) . '" type="text" value="' . $img_width . '" />
+ echo '<p><label for="' . esc_attr( $this->get_field_id( 'img_width' ) ) . '">' . esc_html__( 'Width in pixels:', 'jetpack' ) . '
+ <input size="3" id="' . esc_attr( $this->get_field_id( 'img_width' ) ) . '" name="' . esc_attr( $this->get_field_name( 'img_width' ) ) . '" type="text" value="' . esc_attr( $img_width ) . '" />
</label>
- <label for="' . $this->get_field_id( 'img_height' ) . '">' . esc_html__( 'Height in pixels:', 'jetpack' ) . '
- <input size="3" id="' . $this->get_field_id( 'img_height' ) . '" name="' . $this->get_field_name( 'img_height' ) . '" type="text" value="' . $img_height . '" />
+ <label for="' . esc_attr( $this->get_field_id( 'img_height' ) ) . '">' . esc_html__( 'Height in pixels:', 'jetpack' ) . '
+ <input size="3" id="' . esc_attr( $this->get_field_id( 'img_height' ) ) . '" name="' . esc_attr( $this->get_field_name( 'img_height' ) ) . '" type="text" value="' . esc_attr( $img_height ) . '" />
</label><br />
<small>' . esc_html__( 'If empty, we will attempt to determine the image size.', 'jetpack' ) . '</small></p>
- <p><label for="' . $this->get_field_id( 'link' ) . '">' . esc_html__( 'Link URL (when the image is clicked):', 'jetpack' ) . '
- <input class="widefat" id="' . $this->get_field_id( 'link' ) . '" name="' . $this->get_field_name( 'link' ) . '" type="text" value="' . $link . '" />
+ <p><label for="' . esc_attr( $this->get_field_id( 'link' ) ) . '">' . esc_html__( 'Link URL (when the image is clicked):', 'jetpack' ) . '
+ <input class="widefat" id="' . esc_attr( $this->get_field_id( 'link' ) ) . '" name="' . esc_attr( $this->get_field_name( 'link' ) ) . '" type="text" value="' . esc_attr( $link ) . '" />
</label>
- <label for="' . $this->get_field_id( 'link_target_blank' ) . '">
- <input type="checkbox" name="' . $this->get_field_name( 'link_target_blank' ) . '" id="' . $this->get_field_id( 'link_target_blank' ) . '" value="1"' . $link_target_blank . '/>
+ <label for="' . esc_attr( $this->get_field_id( 'link_target_blank' ) ) . '">
+ <input type="checkbox" name="' . esc_attr( $this->get_field_name( 'link_target_blank' ) ) . '" id="' . esc_attr( $this->get_field_id( 'link_target_blank' ) ) . '" value="1"' . esc_attr( $link_target_blank ) . '/>
' . esc_html__( 'Open link in a new window/tab', 'jetpack' ) . '
</label></p>';
}
diff --git a/plugins/jetpack/modules/widgets/internet-defense-league.php b/plugins/jetpack/modules/widgets/internet-defense-league.php
index ba4170fa..bb0404ca 100644
--- a/plugins/jetpack/modules/widgets/internet-defense-league.php
+++ b/plugins/jetpack/modules/widgets/internet-defense-league.php
@@ -1,20 +1,65 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * Jetpack_Internet_Defense_League_Widget main class.
+ */
class Jetpack_Internet_Defense_League_Widget extends WP_Widget {
-
+ /**
+ * Default widget settings.
+ *
+ * @var array
+ */
public $defaults = array();
+ /**
+ * Selected display variant.
+ *
+ * @var string
+ */
public $variant;
+ /**
+ * Display variants.
+ *
+ * @var array
+ */
public $variants = array();
+ /**
+ * Selected campaign.
+ *
+ * @var string
+ */
public $campaign;
- public $campaigns = array();
+ /**
+ * Campaign options.
+ *
+ * @var array
+ */
+ public $campaigns = array();
+ /**
+ * False when enabling campaigns other than 'none' or empty.
+ *
+ * @var bool
+ */
public $no_current = true;
+ /**
+ * Selected badge to display.
+ *
+ * @var string
+ */
public $badge;
+ /**
+ * Badge display options.
+ *
+ * @var array
+ */
public $badges = array();
- function __construct() {
+ /**
+ * Jetpack_Internet_Defense_League_Widget constructor.
+ */
+ public function __construct() {
parent::__construct(
'internet_defense_league_widget',
/** This filter is documented in modules/widgets/facebook-likebox.php */
@@ -42,7 +87,7 @@ class Jetpack_Internet_Defense_League_Widget extends WP_Widget {
'side_bar_badge' => esc_html__( 'Red Cat Badge', 'jetpack' ),
);
- if ( $this->no_current === false ) {
+ if ( false === $this->no_current ) {
$this->badges['none'] = esc_html__( 'Don\'t display a badge (just the campaign)', 'jetpack' );
}
@@ -51,24 +96,45 @@ class Jetpack_Internet_Defense_League_Widget extends WP_Widget {
'variant' => key( $this->variants ),
'badge' => key( $this->badges ),
);
+
+ add_filter( 'widget_types_to_hide_from_legacy_widget_block', array( $this, 'hide_widget_in_block_editor' ) );
}
+ /**
+ * Remove the "Internet Defense League" widget from the Legacy Widget block
+ *
+ * @param array $widget_types List of widgets that are currently removed from the Legacy Widget block.
+ * @return array $widget_types New list of widgets that will be removed.
+ */
+ public function hide_widget_in_block_editor( $widget_types ) {
+ $widget_types[] = 'internet_defense_league_widget';
+ return $widget_types;
+ }
+
+ /**
+ * Display the Widget.
+ *
+ * @see WP_Widget::widget()
+ *
+ * @param array $args Display arguments.
+ * @param array $instance The settings for the particular instance of the widget.
+ */
public function widget( $args, $instance ) {
$instance = wp_parse_args( $instance, $this->defaults );
- if ( 'none' != $instance['badge'] ) {
+ if ( 'none' !== $instance['badge'] ) {
if ( ! isset( $this->badges[ $instance['badge'] ] ) ) {
$instance['badge'] = $this->defaults['badge'];
}
$badge_url = esc_url( 'https://www.internetdefenseleague.org/images/badges/final/' . $instance['badge'] . '.png' );
$photon_badge_url = jetpack_photon_url( $badge_url );
$alt_text = esc_html__( 'Member of The Internet Defense League', 'jetpack' );
- echo $args['before_widget'];
- echo '<p><a href="https://www.internetdefenseleague.org/"><img src="' . $photon_badge_url . '" alt="' . $alt_text . '" style="max-width: 100%; height: auto;" /></a></p>';
- echo $args['after_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ echo '<p><a href="https://www.internetdefenseleague.org/"><img src="' . esc_url( $photon_badge_url ) . '" alt="' . esc_attr( $alt_text ) . '" style="max-width: 100%; height: auto;" /></a></p>';
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
- if ( 'none' != $instance['campaign'] ) {
+ if ( 'none' !== $instance['campaign'] ) {
$this->campaign = $instance['campaign'];
$this->variant = $instance['variant'];
add_action( 'wp_footer', array( $this, 'footer_script' ) );
@@ -78,6 +144,9 @@ class Jetpack_Internet_Defense_League_Widget extends WP_Widget {
do_action( 'jetpack_stats_extra', 'widget_view', 'internet_defense_league' );
}
+ /**
+ * Inline footer script.
+ */
public function footer_script() {
if ( ! isset( $this->campaigns[ $this->campaign ] ) ) {
$this->campaign = $this->defaults['campaign'];
@@ -107,6 +176,13 @@ class Jetpack_Internet_Defense_League_Widget extends WP_Widget {
<?php
}
+ /**
+ * Widget form in the dashboard.
+ *
+ * @see WP_Widget::form()
+ *
+ * @param array $instance Previously saved values from database.
+ */
public function form( $instance ) {
$instance = wp_parse_args( $instance, $this->defaults );
@@ -128,29 +204,57 @@ class Jetpack_Internet_Defense_League_Widget extends WP_Widget {
$this->select( 'badge', $this->badges, $instance['badge'] );
echo '</label></p>';
- /* translators: %s is a name of an internet campaign called the "Internet Defense League" */
- echo '<p>' . sprintf( _x( 'Learn more about the %s', 'the Internet Defense League', 'jetpack' ), '<a href="https://www.internetdefenseleague.org/">Internet Defense League</a>' ) . '</p>';
+ echo '<p>' . wp_kses(
+ sprintf(
+ /* translators: %s is an HTML link to the website of an internet campaign called the "Internet Defense League" */
+ _x( 'Learn more about the %s', 'the Internet Defense League', 'jetpack' ),
+ '<a href="https://www.internetdefenseleague.org/">Internet Defense League</a>'
+ ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ ),
+ )
+ ) . '</p>';
}
+ /**
+ * Display a select form field.
+ *
+ * @param string $field_name Name of the field.
+ * @param array $options Array of options.
+ * @param string $default Default option.
+ */
public function select( $field_name, $options, $default = null ) {
- echo '<select class="widefat" name="' . $this->get_field_name( $field_name ) . '">';
+ echo '<select class="widefat" name="' . esc_attr( $this->get_field_name( $field_name ) ) . '">';
foreach ( $options as $option_slug => $option_name ) {
echo '<option value="' . esc_attr( $option_slug ) . '"' . selected( $option_slug, $default, false ) . '>' . esc_html( $option_name ) . '</option>';
}
echo '</select>';
}
- public function update( $new_instance, $old_instance ) {
+ /**
+ * Update widget.
+ *
+ * @see WP_Widget::update()
+ *
+ * @param array $new_instance New widget instance data.
+ * @param array $old_instance Old widget instance data.
+ */
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$instance = array();
$instance['campaign'] = ( isset( $new_instance['campaign'] ) && isset( $this->campaigns[ $new_instance['campaign'] ] ) ) ? $new_instance['campaign'] : $this->defaults['campaign'];
- $instance['variant'] = ( isset( $new_instance['variant'] ) && isset( $this->variants[ $new_instance['variant'] ] ) ) ? $new_instance['variant'] : $this->defaults['variant'];
- $instance['badge'] = ( isset( $new_instance['badge'] ) && isset( $this->badges[ $new_instance['badge'] ] ) ) ? $new_instance['badge'] : $this->defaults['badge'];
+ $instance['variant'] = ( isset( $new_instance['variant'] ) && isset( $this->variants[ $new_instance['variant'] ] ) ) ? $new_instance['variant'] : $this->defaults['variant'];
+ $instance['badge'] = ( isset( $new_instance['badge'] ) && isset( $this->badges[ $new_instance['badge'] ] ) ) ? $new_instance['badge'] : $this->defaults['badge'];
return $instance;
}
}
+/**
+ * Register the widget.
+ */
function jetpack_internet_defense_league_init() {
register_widget( 'Jetpack_Internet_Defense_League_Widget' );
}
diff --git a/plugins/jetpack/modules/widgets/mailchimp.php b/plugins/jetpack/modules/widgets/mailchimp.php
index 6f43b4db..3a8ec7a1 100644
--- a/plugins/jetpack/modules/widgets/mailchimp.php
+++ b/plugins/jetpack/modules/widgets/mailchimp.php
@@ -40,6 +40,19 @@ if ( ! class_exists( 'Jetpack_MailChimp_Subscriber_Popup_Widget' ) ) {
'customize_selective_refresh' => true,
)
);
+
+ add_filter( 'widget_types_to_hide_from_legacy_widget_block', array( $this, 'hide_widget_in_block_editor' ) );
+ }
+
+ /**
+ * Remove the "Mailchimp Subscriber Popup" widget from the Legacy Widget block
+ *
+ * @param array $widget_types List of widgets that are currently removed from the Legacy Widget block.
+ * @return array $widget_types New list of widgets that will be removed.
+ */
+ public function hide_widget_in_block_editor( $widget_types ) {
+ $widget_types[] = 'widget_mailchimp_subscriber_popup';
+ return $widget_types;
}
/**
diff --git a/plugins/jetpack/modules/widgets/migrate-to-core/image-widget.php b/plugins/jetpack/modules/widgets/migrate-to-core/image-widget.php
index 06f317ff..9acdb337 100644
--- a/plugins/jetpack/modules/widgets/migrate-to-core/image-widget.php
+++ b/plugins/jetpack/modules/widgets/migrate-to-core/image-widget.php
@@ -155,8 +155,8 @@ function jetpack_migrate_image_widget() {
// Set correct size if dimensions fit.
if (
- $media_image[ $id ]['width'] == $image_meta['width'] || // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
- $media_image[ $id ]['height'] == $image_meta['height'] // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ $media_image[ $id ]['width'] == $image_meta['width'] || // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ $media_image[ $id ]['height'] == $image_meta['height'] // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
) {
$media_image[ $id ]['size'] = 'full';
}
@@ -170,8 +170,8 @@ function jetpack_migrate_image_widget() {
// Set correct size if dimensions fit.
if (
- $media_image[ $id ]['width'] == $image['width'] || // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
- $media_image[ $id ]['height'] == $image['height'] // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ $media_image[ $id ]['width'] == $image['width'] || // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ $media_image[ $id ]['height'] == $image['height'] // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
) {
$media_image[ $id ]['size'] = $size;
}
diff --git a/plugins/jetpack/modules/widgets/my-community.php b/plugins/jetpack/modules/widgets/my-community.php
index c16baf21..cbd515aa 100644
--- a/plugins/jetpack/modules/widgets/my-community.php
+++ b/plugins/jetpack/modules/widgets/my-community.php
@@ -49,6 +49,19 @@ class Jetpack_My_Community_Widget extends WP_Widget {
}
$this->default_title = esc_html__( 'Community', 'jetpack' );
+
+ add_filter( 'widget_types_to_hide_from_legacy_widget_block', array( $this, 'hide_widget_in_block_editor' ) );
+ }
+
+ /**
+ * Remove the "My Community" widget from the Legacy Widget block
+ *
+ * @param array $widget_types List of widgets that are currently removed from the Legacy Widget block.
+ * @return array $widget_types New list of widgets that will be removed.
+ */
+ public function hide_widget_in_block_editor( $widget_types ) {
+ $widget_types[] = 'jetpack_my_community';
+ return $widget_types;
}
/**
diff --git a/plugins/jetpack/modules/widgets/simple-payments.php b/plugins/jetpack/modules/widgets/simple-payments.php
index 6c721f91..4662d9d2 100644
--- a/plugins/jetpack/modules/widgets/simple-payments.php
+++ b/plugins/jetpack/modules/widgets/simple-payments.php
@@ -1,4 +1,4 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Tracking;
/**
@@ -17,6 +17,8 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
class Jetpack_Simple_Payments_Widget extends WP_Widget {
/**
* Currencies should be supported by PayPal:
+ *
+ * @var array $supported_currency_list
* @link https://developer.paypal.com/docs/api/reference/currency-codes/
*
* List has to be in sync with list at the block's client side and API's backend side:
@@ -58,7 +60,7 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
/**
* Constructor.
*/
- function __construct() {
+ public function __construct() {
parent::__construct(
'jetpack_simple_payments_widget',
/** This filter is documented in modules/widgets/facebook-likebox.php */
@@ -75,7 +77,7 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_styles' ) );
}
- $jetpack_simple_payments = Jetpack_Simple_Payments::getInstance();
+ $jetpack_simple_payments = Jetpack_Simple_Payments::get_instance();
if ( is_customize_preview() && $jetpack_simple_payments->is_enabled_jetpack_simple_payments() ) {
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
@@ -138,29 +140,54 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
* @param array $nonces Array of nonces.
* @return array $nonces Modified array of nonces.
*/
- function filter_nonces( $nonces ) {
+ public function filter_nonces( $nonces ) {
$nonces['customize-jetpack-simple-payments'] = wp_create_nonce( 'customize-jetpack-simple-payments' );
return $nonces;
}
- function enqueue_style() {
+ /**
+ * Enqueue styles.
+ */
+ public function enqueue_style() {
wp_enqueue_style( 'jetpack-simple-payments-widget-style', plugins_url( 'simple-payments/style.css', __FILE__ ), array(), '20180518' );
}
- function admin_enqueue_styles() {
- wp_enqueue_style( 'jetpack-simple-payments-widget-customizer', plugins_url( 'simple-payments/customizer.css', __FILE__ ) );
+ /**
+ * Enqueue admin styles.
+ */
+ public function admin_enqueue_styles() {
+ wp_enqueue_style(
+ 'jetpack-simple-payments-widget-customizer',
+ plugins_url( 'simple-payments/customizer.css', __FILE__ ),
+ array(),
+ JETPACK__VERSION
+ );
}
- function admin_enqueue_scripts() {
+ /**
+ * Enqueue admin scripts.
+ */
+ public function admin_enqueue_scripts() {
wp_enqueue_media();
- wp_enqueue_script( 'jetpack-simple-payments-widget-customizer', plugins_url( '/simple-payments/customizer.js', __FILE__ ), array( 'jquery' ), false, true );
+ wp_enqueue_script(
+ 'jetpack-simple-payments-widget-customizer',
+ plugins_url( '/simple-payments/customizer.js', __FILE__ ),
+ array( 'jquery' ),
+ JETPACK__VERSION,
+ true
+ );
wp_localize_script(
- 'jetpack-simple-payments-widget-customizer', 'jpSimplePaymentsStrings', array(
+ 'jetpack-simple-payments-widget-customizer',
+ 'jpSimplePaymentsStrings',
+ array(
'deleteConfirmation' => __( 'Are you sure you want to delete this item? It will be disabled and removed from all locations where it currently appears.', 'jetpack' ),
)
);
}
+ /**
+ * Get payment buttons.
+ */
public function ajax_get_payment_buttons() {
if ( ! check_ajax_referer( 'customize-jetpack-simple-payments', 'customize-jetpack-simple-payments-nonce', false ) ) {
wp_send_json_error( 'bad_nonce', 400 );
@@ -184,11 +211,16 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
)
);
- $formatted_products = array_map( array( $this, 'format_product_post_for_ajax_reponse' ), $product_posts );
+ $formatted_products = array_map( array( $this, 'format_product_post_for_ajax_reponse' ), $product_posts );
- wp_send_json_success( $formatted_products );
+ wp_send_json_success( $formatted_products );
}
+ /**
+ * Format product_post object.
+ *
+ * @param object $product_post - info about the post the product is on.
+ */
public function format_product_post_for_ajax_reponse( $product_post ) {
return array(
'ID' => $product_post->ID,
@@ -196,6 +228,9 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
);
}
+ /**
+ * Handle saving the simple payments widget.
+ */
public function ajax_save_payment_button() {
if ( ! check_ajax_referer( 'customize-jetpack-simple-payments', 'customize-jetpack-simple-payments-nonce', false ) ) {
wp_send_json_error( 'bad_nonce', 400 );
@@ -214,7 +249,7 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
wp_send_json_error( 'missing_params', 400 );
}
- $params = wp_unslash( $_POST['params'] );
+ $params = wp_unslash( $_POST['params'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Manually validated by validate_ajax_params().
$errors = $this->validate_ajax_params( $params );
if ( ! empty( $errors->errors ) ) {
wp_send_json_error( $errors );
@@ -266,6 +301,9 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
);
}
+ /**
+ * Handle deleting the simple payment widget.
+ */
public function ajax_delete_payment_button() {
if ( ! check_ajax_referer( 'customize-jetpack-simple-payments', 'customize-jetpack-simple-payments-nonce', false ) ) {
wp_send_json_error( 'bad_nonce', 400 );
@@ -279,7 +317,7 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
wp_send_json_error( 'missing_params', 400 );
}
- $params = wp_unslash( $_POST['params'] );
+ $params = wp_unslash( $_POST['params'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Manually validated just below.
$illegal_params = array_diff( array_keys( $params ), array( 'product_post_id' ) );
if ( ! empty( $illegal_params ) ) {
wp_send_json_error( 'illegal_params', 400 );
@@ -316,6 +354,11 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
return isset( $parts[1] ) ? strlen( $parts[1] ) : 0;
}
+ /**
+ * Validate ajax parameters.
+ *
+ * @param array $params - the parameters.
+ */
public function validate_ajax_params( $params ) {
$errors = new WP_Error();
@@ -335,7 +378,7 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
// Japan's Yen is the only supported currency with a zero decimal precision.
$precision = strtoupper( $params['currency'] ) === 'JPY' ? 0 : 2;
$price_decimal_places = $this->get_decimal_places( $params['price'] );
- if ( is_null( $price_decimal_places ) || $price_decimal_places > $precision ) {
+ if ( $price_decimal_places === null || $price_decimal_places > $precision ) {
$errors->add( 'price', __( 'Invalid price', 'jetpack' ) );
}
@@ -346,7 +389,10 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
return $errors;
}
- function get_first_product_id() {
+ /**
+ * Get the id of the first product.
+ */
+ public function get_first_product_id() {
$product_posts = get_posts(
array(
'numberposts' => 1,
@@ -367,37 +413,37 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
* @param array $args Widget arguments.
* @param array $instance Saved values from database.
*/
- function widget( $args, $instance ) {
+ public function widget( $args, $instance ) {
$instance = wp_parse_args( $instance, $this->defaults() );
- echo $args['before_widget'];
+ echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/** This filter is documented in core/src/wp-includes/default-widgets.php */
$title = apply_filters( 'widget_title', $instance['title'] );
if ( ! empty( $title ) ) {
- echo $args['before_title'] . $title . $args['after_title'];
+ echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
echo '<div class="jetpack-simple-payments-content">';
- if ( ! empty( $instance['form_action'] ) && in_array( $instance['form_action'], array( 'add', 'edit' ) ) && is_customize_preview() ) {
- require( dirname( __FILE__ ) . '/simple-payments/widget.php' );
+ if ( ! empty( $instance['form_action'] ) && in_array( $instance['form_action'], array( 'add', 'edit' ), true ) && is_customize_preview() ) {
+ require __DIR__ . '/simple-payments/widget.php';
} else {
- $jsp = Jetpack_Simple_Payments::getInstance();
+ $jsp = Jetpack_Simple_Payments::get_instance();
$simple_payments_button = $jsp->parse_shortcode(
array(
'id' => $instance['product_post_id'],
)
);
- if ( ! is_null( $simple_payments_button ) || is_customize_preview() ) {
- echo $simple_payments_button;
+ if ( $simple_payments_button !== null || is_customize_preview() ) {
+ echo $simple_payments_button; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
echo '</div><!--simple-payments-->';
- echo $args['after_widget'];
+ echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/** This action is already documented in modules/widgets/gravatar-profile.php */
do_action( 'jetpack_stats_extra', 'widget_view', 'simple_payments' );
@@ -406,9 +452,9 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
/**
* Gets the latests field value from either the old instance or the new instance.
*
- * @param array $mixed Array of values for the new form instance.
- * @param array $mixed Array of values for the old form instance.
- * @return mixed $mixed Field value.
+ * @param array $new_instance mixed Array of values for the new form instance.
+ * @param array $old_instance mixed Array of values for the old form instance.
+ * @param mixed $field mixed Field value.
*/
private function get_latest_field_value( $new_instance, $old_instance, $field ) {
return ! empty( $new_instance[ $field ] )
@@ -420,7 +466,7 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
* Gets the product fields from the product post. If no post found
* it returns the default values.
*
- * @param int Product Post ID.
+ * @param int $product_post_id Product Post ID.
* @return array $fields Product Fields from the Product Post.
*/
private function get_product_from_post( $product_post_id ) {
@@ -448,9 +494,9 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
/**
* Record a Track event and bump a MC stat.
*
- * @param string $stat_name
- * @param string $event_action
- * @param array $event_properties
+ * @param string $stat_name - the name of the stat.
+ * @param string $event_action - the action we're recording.
+ * @param array $event_properties - proprties of the event.
*/
private function record_event( $stat_name, $event_action, $event_properties = array() ) {
$current_user = wp_get_current_user();
@@ -482,9 +528,9 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
*
* @return array Updated safe values to be saved.
*/
- function update( $new_instance, $old_instance ) {
+ public function update( $new_instance, $old_instance ) {
$defaults = $this->defaults();
- //do not overrite `product_post_id` for `$new_instance` with the defaults
+ // do not overrite `product_post_id` for `$new_instance` with the defaults.
$new_instance = wp_parse_args( $new_instance, array_diff_key( $defaults, array( 'product_post_id' => 0 ) ) );
$old_instance = wp_parse_args( $old_instance, $defaults );
@@ -495,11 +541,11 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
);
if ( strcmp( $new_instance['form_action'], $old_instance['form_action'] ) !== 0 ) {
- if ( $new_instance['form_action'] == 'edit' ) {
+ if ( 'edit' === $new_instance['form_action'] ) {
return array_merge( $this->get_product_from_post( (int) $old_instance['product_post_id'] ), $required_widget_props );
}
- if ( $new_instance['form_action'] == 'clear' ) {
+ if ( 'clear' === $new_instance['form_action'] ) {
return array_merge( $this->defaults(), $required_widget_props );
}
}
@@ -511,7 +557,8 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
: $defaults['form_product_email'];
return array_merge(
- $required_widget_props, array(
+ $required_widget_props,
+ array(
'form_product_id' => (int) $new_instance['form_product_id'],
'form_product_title' => sanitize_text_field( $new_instance['form_product_title'] ),
'form_product_description' => sanitize_text_field( $new_instance['form_product_description'] ),
@@ -532,19 +579,19 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
*
* @param array $instance Previously saved values from database.
*/
- function form( $instance ) {
- $jetpack_simple_payments = Jetpack_Simple_Payments::getInstance();
+ public function form( $instance ) {
+ $jetpack_simple_payments = Jetpack_Simple_Payments::get_instance();
if ( ! method_exists( $jetpack_simple_payments, 'is_enabled_jetpack_simple_payments' ) ) {
return;
}
if ( ! $jetpack_simple_payments->is_enabled_jetpack_simple_payments() ) {
- require dirname( __FILE__ ) . '/simple-payments/admin-warning.php';
+ require __DIR__ . '/simple-payments/admin-warning.php';
return;
}
$instance = wp_parse_args( $instance, $this->defaults() );
- $product_posts = get_posts(
+ $product_posts = get_posts( // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
array(
'numberposts' => 100,
'orderby' => 'date',
@@ -553,17 +600,19 @@ if ( ! class_exists( 'Jetpack_Simple_Payments_Widget' ) ) {
)
);
- require dirname( __FILE__ ) . '/simple-payments/form.php';
+ require __DIR__ . '/simple-payments/form.php';
}
}
- // Register Jetpack_Simple_Payments_Widget widget.
+ /**
+ * Register Jetpack_Simple_Payments_Widget widget.
+ */
function register_widget_jetpack_simple_payments() {
if ( ! class_exists( 'Jetpack_Simple_Payments' ) ) {
return;
}
- $jetpack_simple_payments = Jetpack_Simple_Payments::getInstance();
+ $jetpack_simple_payments = Jetpack_Simple_Payments::get_instance();
if ( ! $jetpack_simple_payments->is_enabled_jetpack_simple_payments() ) {
return;
}
diff --git a/plugins/jetpack/modules/widgets/simple-payments/admin-warning.php b/plugins/jetpack/modules/widgets/simple-payments/admin-warning.php
index 8e4690db..4cf81728 100644
--- a/plugins/jetpack/modules/widgets/simple-payments/admin-warning.php
+++ b/plugins/jetpack/modules/widgets/simple-payments/admin-warning.php
@@ -1,16 +1,29 @@
<div class='jetpack-simple-payments-disabled-error'>
<p>
<?php
+ /**
+ * Show error and help if Pay with PayPal is disabled.
+ *
+ * @package automattic/jetpack
+ */
+
$support_url = ( defined( 'IS_WPCOM' ) && IS_WPCOM )
? 'https://wordpress.com/support/pay-with-paypal/'
: 'https://jetpack.com/support/pay-with-paypal/';
printf(
wp_kses(
+ // translators: variable is a link to the support page.
__( 'Your plan doesn\'t include Pay with PayPal. <a href="%s" rel="noopener noreferrer" target="_blank">Learn more and upgrade</a>.', 'jetpack' ),
- array( 'a' => array( 'href' => array(), 'rel' => array(), 'target' => array() ) )
+ array(
+ 'a' => array(
+ 'href' => array(),
+ 'rel' => array(),
+ 'target' => array(),
+ ),
+ )
),
esc_url( $support_url )
);
- ?>
+ ?>
</p>
</div>
diff --git a/plugins/jetpack/modules/widgets/simple-payments/form.php b/plugins/jetpack/modules/widgets/simple-payments/form.php
index 41c0971e..ae1dbdde 100644
--- a/plugins/jetpack/modules/widgets/simple-payments/form.php
+++ b/plugins/jetpack/modules/widgets/simple-payments/form.php
@@ -3,6 +3,7 @@
* Display the Pay with PayPal Form.
*
* @package automattic/jetpack
+ * @phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
*/
?>
@@ -17,7 +18,13 @@
name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>"
value="<?php echo esc_attr( $instance['title'] ); ?>" />
</p>
-<p class="jetpack-simple-payments-products-fieldset" <?php if ( empty( $product_posts ) ) { echo 'style="display:none;"'; } ?>>
+<p class="jetpack-simple-payments-products-fieldset"
+<?php
+if ( empty( $product_posts ) ) {
+ echo 'style="display:none;"';
+}
+?>
+>
<label for="<?php echo esc_attr( $this->get_field_id( 'product_post_id' ) ); ?>">
<?php esc_html_e( 'Select a Pay with PayPal button:', 'jetpack' ); ?>
</label>
@@ -33,7 +40,13 @@
</select>
</p>
<?php if ( is_customize_preview() ) { ?>
-<p class="jetpack-simple-payments-products-warning" <?php if ( ! empty( $product_posts ) ) { echo 'style="display:none;"'; } ?>>
+<p class="jetpack-simple-payments-products-warning"
+ <?php
+ if ( ! empty( $product_posts ) ) {
+ echo 'style="display:none;"';
+ }
+ ?>
+>
<?php esc_html_e( "Looks like you don't have any products. You can create one using the Add New button below.", 'jetpack' ); ?>
</p>
<p>
@@ -90,10 +103,22 @@
</p>
<div class="jetpack-simple-payments-image-fieldset">
<label><?php esc_html_e( 'Product image', 'jetpack' ); ?></label>
- <div class="placeholder" <?php if ( ! empty( $instance['form_product_image_id'] ) ) echo 'style="display:none;"'; ?>>
+ <div class="placeholder"
+ <?php
+ if ( ! empty( $instance['form_product_image_id'] ) ) {
+ echo 'style="display:none;"';
+ }
+ ?>
+ >
<?php esc_html_e( 'Select an image', 'jetpack' ); ?>
</div>
- <div class="jetpack-simple-payments-image" <?php if ( empty( $instance['form_product_image_id'] ) ) echo 'style="display:none;"'; ?>>
+ <div class="jetpack-simple-payments-image"
+ <?php
+ if ( empty( $instance['form_product_image_id'] ) ) {
+ echo 'style="display:none;"';
+ }
+ ?>
+ >
<img src="<?php echo esc_url( $instance['form_product_image_src'] ); ?>" />
<button class="button jetpack-simple-payments-remove-image"><?php esc_html_e( 'Remove image', 'jetpack' ); ?></button>
</div>
diff --git a/plugins/jetpack/modules/widgets/simple-payments/widget.php b/plugins/jetpack/modules/widgets/simple-payments/widget.php
index 46ca3382..24b1cc2c 100644
--- a/plugins/jetpack/modules/widgets/simple-payments/widget.php
+++ b/plugins/jetpack/modules/widgets/simple-payments/widget.php
@@ -3,12 +3,19 @@
* Display the Pay with PayPal Widget.
*
* @package automattic/jetpack
+ * @phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
*/
?>
<div class='jetpack-simple-payments-wrapper'>
<div class='jetpack-simple-payments-product'>
- <div class='jetpack-simple-payments-product-image' <?php if ( empty( $instance['form_product_image_id'] ) ) echo 'style="display:none;"'; ?>>
+ <div class='jetpack-simple-payments-product-image'
+ <?php
+ if ( empty( $instance['form_product_image_id'] ) ) {
+ echo 'style="display:none;"';
+ }
+ ?>
+ >
<div class='jetpack-simple-payments-image'>
<?php echo wp_get_attachment_image( $instance['form_product_image_id'], 'full' ); ?>
</div>
diff --git a/plugins/jetpack/modules/widgets/top-posts.php b/plugins/jetpack/modules/widgets/top-posts.php
index 4f3fe912..5dd7b266 100644
--- a/plugins/jetpack/modules/widgets/top-posts.php
+++ b/plugins/jetpack/modules/widgets/top-posts.php
@@ -281,6 +281,7 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
if ( false === $title ) {
$title = $this->default_title;
}
+
/** This filter is documented in core/src/wp-includes/default-widgets.php */
$title = apply_filters( 'widget_title', $title );
@@ -315,6 +316,7 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
$display = 'text';
}
+ $get_image_options = array();
if ( 'text' !== $display ) {
$get_image_options = array(
'fallback_to_avatars' => true,
@@ -352,42 +354,28 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
$posts = $this->get_by_views( $count, $args, $types );
}
- if ( ! $posts ) {
- $posts = $this->get_fallback_posts( $count, $types );
- }
-
echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+
if ( ! empty( $title ) ) {
echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
+ /*
+ * If we have no posts, add some fallback posts
+ * and display a fallback message for admins.
+ */
if ( ! $posts ) {
- $link = esc_url( Redirect::get_url( 'jetpack-support-getting-more-views-and-traffic' ) );
- if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- $link = 'https://en.support.wordpress.com/getting-more-site-traffic/';
- }
-
if ( current_user_can( 'edit_theme_options' ) ) {
- echo '<p>' . sprintf(
- wp_kses(
- /* Translators: Placeholder: link to the Jetpack support article. */
- __( 'There are no posts to display. <a href="%s" target="_blank">Want more traffic?</a>', 'jetpack' ),
- array(
- 'a' => array(
- 'href' => array(),
- 'target' => array(),
- ),
- )
- ),
- esc_url( $link )
- ) . '</p>';
+ echo $this->fallback_message(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
- echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
-
- return;
+ $posts = $this->get_fallback_posts( $count, $types );
}
+ /*
+ * Display our posts.
+ */
+
/**
* Filter the layout of the Top Posts Widget
*
@@ -395,15 +383,13 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
*
* @since 6.4.0
*
- * @param string $layout layout of the Top Posts Widget (empty string)
- * @param array $posts IDs of the posts to be displayed
- * @param array $display Display option from widget form
+ * @param string $layout layout of the Top Posts Widget (empty string).
+ * @param array $posts IDs of the posts to be displayed.
+ * @param array $display Display option from widget form.
*/
$layout = apply_filters( 'jetpack_top_posts_widget_layout', '', $posts, $display );
if ( ! empty( $layout ) ) {
echo $layout; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- return;
}
switch ( $display ) {
@@ -438,15 +424,13 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
$post['image'] = jetpack_photon_url( $post['image'], array( 'resize' => "$width,$height" ) );
}
}
-
unset( $post );
if ( 'grid' === $display ) {
echo "<div class='widgets-grid-layout no-grav'>\n";
- foreach ( $posts as $post ) :
- ?>
- <div class="widget-grid-view-image">
- <?php
+ foreach ( $posts as $post ) {
+ echo '<div class="widget-grid-view-image">';
+
/**
* Fires before each Top Post result, inside <li>.
*
@@ -490,17 +474,15 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
* @param string $post['post_id'] Post ID.
*/
do_action( 'jetpack_widget_top_posts_after_post', $post['post_id'] );
- ?>
- </div>
- <?php
- endforeach;
+
+ echo '</div>';
+ }
echo "</div>\n";
} else {
echo "<ul class='widgets-list-layout no-grav'>\n";
- foreach ( $posts as $post ) :
- ?>
- <li>
- <?php
+ foreach ( $posts as $post ) {
+ echo '<li>';
+
/** This action is documented in modules/widgets/top-posts.php */
do_action( 'jetpack_widget_top_posts_before_post', $post['post_id'] );
@@ -526,19 +508,18 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
/** This action is documented in modules/widgets/top-posts.php */
do_action( 'jetpack_widget_top_posts_after_post', $post['post_id'] );
- ?>
- </li>
- <?php
- endforeach;
+
+ echo '</li>';
+ }
echo "</ul>\n";
}
break;
default:
echo '<ul>';
- foreach ( $posts as $post ) :
- ?>
- <li>
- <?php
+
+ foreach ( $posts as $post ) {
+ echo '<li>';
+
/** This action is documented in modules/widgets/top-posts.php */
do_action( 'jetpack_widget_top_posts_before_post', $post['post_id'] );
@@ -554,17 +535,48 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
/** This action is documented in modules/widgets/top-posts.php */
do_action( 'jetpack_widget_top_posts_after_post', $post['post_id'] );
- ?>
- </li>
- <?php
- endforeach;
+
+ echo '</li>';
+ }
+
echo '</ul>';
+ break;
}
echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
/**
+ * Display a message with recommendations when there are no recorded top posts.
+ *
+ * @return string $fallback_message
+ */
+ private static function fallback_message() {
+ $link = esc_url( Redirect::get_url( 'jetpack-support-getting-more-views-and-traffic' ) );
+ if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
+ $link = 'https://en.support.wordpress.com/getting-more-site-traffic/';
+ }
+
+ $fallback_message = '<p>';
+ $fallback_message .= sprintf(
+ wp_kses(
+ /* Translators: Placeholder: link to the Jetpack support article. */
+ __( 'There are no popular posts to display. Instead, your visitors will see a list of your recent posts below. <a href="%s" target="_blank">Want more traffic?</a>', 'jetpack' ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ 'target' => array(),
+ ),
+ )
+ ),
+ esc_url( $link )
+ );
+ $fallback_message .= '<p>';
+
+ return $fallback_message;
+ }
+
+ /**
* Widget default option values.
*/
public static function defaults() {
@@ -678,10 +690,6 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
* @return array
*/
public function get_fallback_posts( $count = 10, $types = array( 'post', 'page' ) ) {
- if ( current_user_can( 'edit_theme_options' ) ) {
- return array();
- }
-
$post_query = new WP_Query();
if ( ! is_array( $types ) || empty( $types ) ) {
@@ -765,7 +773,7 @@ class Jetpack_Top_Posts_Widget extends WP_Widget {
$posts[] = compact( 'title', 'permalink', 'post_id', 'post_type' );
$counter++;
- if ( $counter == $count ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
+ if ( $counter == $count ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
break; // only need to load and show x number of likes.
}
}
diff --git a/plugins/jetpack/modules/widgets/wordpress-post-widget.php b/plugins/jetpack/modules/widgets/wordpress-post-widget.php
index fb9ffa7a..3cbd6015 100644
--- a/plugins/jetpack/modules/widgets/wordpress-post-widget.php
+++ b/plugins/jetpack/modules/widgets/wordpress-post-widget.php
@@ -6,6 +6,9 @@
* Author: Brad Angelcyk, Kathryn Presner, Justin Shreve, Carolyn Sonnek
* Author URI: https://automattic.com
* License: GPL2
+ * Text Domain: jetpack
+ *
+ * @package automattic/jetpack
*/
/**
@@ -15,20 +18,22 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
-require dirname( __FILE__ ) . '/wordpress-post-widget/class.jetpack-display-posts-widget-base.php';
-require dirname( __FILE__ ) . '/wordpress-post-widget/class.jetpack-display-posts-widget.php';
+require __DIR__ . '/wordpress-post-widget/class.jetpack-display-posts-widget-base.php';
+require __DIR__ . '/wordpress-post-widget/class.jetpack-display-posts-widget.php';
add_action( 'widgets_init', 'jetpack_display_posts_widget' );
+/**
+ * Registers widget Jetpack_Display_Posts_Widget
+ */
function jetpack_display_posts_widget() {
register_widget( 'Jetpack_Display_Posts_Widget' );
}
-
/**
* Cron tasks
*/
-add_filter( 'cron_schedules', 'jetpack_display_posts_widget_cron_intervals' );
+add_filter( 'cron_schedules', 'jetpack_display_posts_widget_cron_intervals' ); // phpcs:ignore WordPress.WP.CronInterval.CronSchedulesInterval
/**
* Adds 10 minute running interval to the cron schedules.
@@ -56,6 +61,9 @@ function jetpack_display_posts_widget_cron_intervals( $current_schedules ) {
* Execute the cron task
*/
add_action( 'jetpack_display_posts_widget_cron_update', 'jetpack_display_posts_update_cron_action' );
+/**
+ * Run the Jetpack_Display_Posts_Widget cron task.
+ */
function jetpack_display_posts_update_cron_action() {
$widget = new Jetpack_Display_Posts_Widget();
$widget->cron_task();
@@ -70,7 +78,6 @@ function jetpack_display_posts_update_cron_action() {
* `jetpack_activate_module_widgets` - Activate the cron when the Extra Sidebar widgets are activated.
*
* `activated_plugin` - Activate the cron when Jetpack gets activated.
- *
*/
add_action( 'updating_jetpack_version', 'jetpack_display_posts_widget_conditionally_activate_cron' );
add_action( 'jetpack_activate_module_widgets', 'Jetpack_Display_Posts_Widget::activate_cron' );
@@ -89,6 +96,7 @@ function jetpack_conditionally_activate_cron_on_plugin_activation( $plugin_file_
/**
* Activates the cron only when needed.
+ *
* @see Jetpack_Display_Posts_Widget::should_cron_be_running
*/
function jetpack_display_posts_widget_conditionally_activate_cron() {
@@ -104,7 +112,6 @@ function jetpack_display_posts_widget_conditionally_activate_cron() {
* End of cron activation handling.
*/
-
/**
* Handle deactivation procedures where they are needed.
*
diff --git a/plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget-base.php b/plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget-base.php
index e89df68e..0d9c3d67 100644
--- a/plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget-base.php
+++ b/plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget-base.php
@@ -1,6 +1,6 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
-/*
+/**
* For back-compat, the final widget class must be named
* Jetpack_Display_Posts_Widget.
*
@@ -16,21 +16,30 @@
*
* That this widget is currently implemented as these two classes
* is an implementation detail and should not be depended on :)
+ *
+ * phpcs:disable PEAR.NamingConventions.ValidClassName.Invalid
*/
abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
+ // phpcs:enable PEAR.NamingConventions.ValidClassName.Invalid
+
/**
- * @var string Remote service API URL prefix.
+ * Remote service API URL prefix.
+ *
+ * @var string
*/
public $service_url = 'https://public-api.wordpress.com/rest/v1.1/';
+ /**
+ * Jetpack_Display_Posts_Widget__Base constructor.
+ */
public function __construct() {
parent::__construct(
- // internal id
+ // Internal id.
'jetpack_display_posts_widget',
/** This filter is documented in modules/widgets/facebook-likebox.php */
apply_filters( 'jetpack_widget_name', __( 'Display WordPress Posts', 'jetpack' ) ),
array(
- 'description' => __( 'Displays a list of recent posts from another WordPress.com or Jetpack-enabled blog.', 'jetpack' ),
+ 'description' => __( 'Displays a list of recent posts from another WordPress.com or Jetpack-enabled blog.', 'jetpack' ),
'customize_selective_refresh' => true,
)
);
@@ -46,16 +55,20 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
* @since 4.0.0
*/
public function enqueue_scripts() {
- wp_enqueue_style( 'jetpack_display_posts_widget', plugins_url( 'style.css', __FILE__ ) );
+ wp_enqueue_style(
+ 'jetpack_display_posts_widget',
+ plugins_url( 'style.css', __FILE__ ),
+ array(),
+ JETPACK__VERSION
+ );
}
-
- // DATA STORE: Must implement
+ // DATA STORE: Must implement.
/**
* Gets blog data from the cache.
*
- * @param string $site
+ * @param string $site Site.
*
* @return array|WP_Error
*/
@@ -70,14 +83,13 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
*/
abstract public function update_instance( $site );
-
- // WIDGET API
+ // WIDGET API.
/**
* Set up the widget display on the front end.
*
- * @param array $args
- * @param array $instance
+ * @param array $args Widget args.
+ * @param array $instance Widget instance.
*/
public function widget( $args, $instance ) {
/** This action is documented in modules/widgets/gravatar-profile.php */
@@ -97,17 +109,17 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
}
$content .= $args['after_widget'];
- echo $content;
+ echo $content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
return;
}
$data = $this->get_blog_data( $instance['url'] );
- // check for errors
+ // Check for errors.
if ( is_wp_error( $data ) || empty( $data['site_info']['data'] ) ) {
$content .= '<p>' . __( 'Cannot load blog information at this time.', 'jetpack' ) . '</p>';
$content .= $args['after_widget'];
- echo $content;
+ echo $content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
return;
}
@@ -117,8 +129,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
/** This filter is documented in core/src/wp-includes/default-widgets.php */
$instance['title'] = apply_filters( 'widget_title', $instance['title'] );
$content .= $args['before_title'] . $instance['title'] . ': ' . $site_info->name . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- }
- else {
+ } else {
$content .= $args['before_title'] . esc_html( $site_info->name ) . $args['after_title'];
}
@@ -129,7 +140,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
$content .= '</div><!-- .jetpack-display-remote-posts -->';
$content .= $args['after_widget'];
- echo $content;
+ echo $content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
return;
}
@@ -146,11 +157,11 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
$post_title = ( $single_post['title'] ) ? $single_post['title'] : '( No Title )';
$target = '';
- if ( isset( $instance['open_in_new_window'] ) && $instance['open_in_new_window'] == true ) {
+ if ( isset( $instance['open_in_new_window'] ) && true === $instance['open_in_new_window'] ) {
$target = ' target="_blank" rel="noopener"';
}
$content .= '<h4><a href="' . esc_url( $single_post['url'] ) . '"' . $target . '>' . esc_html( $post_title ) . '</a></h4>' . "\n";
- if ( ( $instance['featured_image'] == true ) && ( ! empty ( $single_post['featured_image'] ) ) ) {
+ if ( ( true === $instance['featured_image'] ) && ( ! empty( $single_post['featured_image'] ) ) ) {
$featured_image = $single_post['featured_image'];
/**
* Allows setting up custom Photon parameters to manipulate the image output in the Display Posts widget.
@@ -164,10 +175,10 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
* @param array $args Array of Photon Parameters.
*/
$image_params = apply_filters( 'jetpack_display_posts_widget_image_params', array() );
- $content .= '<a title="' . esc_attr( $post_title ) . '" href="' . esc_url( $single_post['url'] ) . '"' . $target . '><img src="' . jetpack_photon_url( $featured_image, $image_params ) . '" alt="' . esc_attr( $post_title ) . '"/></a>';
+ $content .= '<a title="' . esc_attr( $post_title ) . '" href="' . esc_url( $single_post['url'] ) . '"' . $target . '><img src="' . jetpack_photon_url( $featured_image, $image_params ) . '" alt="' . esc_attr( $post_title ) . '"/></a>';
}
- if ( $instance['show_excerpts'] == true ) {
+ if ( true === $instance['show_excerpts'] ) {
$content .= $single_post['excerpt'];
}
}
@@ -184,7 +195,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
*
* @param string $content Widget content.
*/
- echo apply_filters( 'jetpack_display_posts_widget_content', $content );
+ echo apply_filters( 'jetpack_display_posts_widget_content', $content ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
/**
@@ -206,7 +217,6 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
$featured_image = ( isset( $instance['featured_image'] ) ) ? $instance['featured_image'] : false;
$show_excerpts = ( isset( $instance['show_excerpts'] ) ) ? $instance['show_excerpts'] : false;
-
/**
* Check if the widget instance has errors available.
*
@@ -221,15 +231,15 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
?>
<p>
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'jetpack' ); ?></label>
- <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
+ <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php esc_html_e( 'Title:', 'jetpack' ); ?></label>
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
</p>
<p>
- <label for="<?php echo $this->get_field_id( 'url' ); ?>"><?php _e( 'Blog URL:', 'jetpack' ); ?></label>
- <input class="widefat" id="<?php echo $this->get_field_id( 'url' ); ?>" name="<?php echo $this->get_field_name( 'url' ); ?>" type="text" value="<?php echo esc_attr( $url ); ?>" />
+ <label for="<?php echo esc_attr( $this->get_field_id( 'url' ) ); ?>"><?php esc_html_e( 'Blog URL:', 'jetpack' ); ?></label>
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'url' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'url' ) ); ?>" type="text" value="<?php echo esc_attr( $url ); ?>" />
<i>
- <?php _e( "Enter a WordPress.com or Jetpack WordPress site URL.", 'jetpack' ); ?>
+ <?php esc_html_e( 'Enter a WordPress.com or Jetpack WordPress site URL.', 'jetpack' ); ?>
</i>
<?php
/**
@@ -240,32 +250,32 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
if ( empty( $url ) && ! preg_match( '/__i__|%i%/', $this->id ) ) {
?>
<br />
- <i class="error-message"><?php echo __( 'You must specify a valid blog URL!', 'jetpack' ); ?></i>
+ <i class="error-message"><?php esc_html_e( 'You must specify a valid blog URL!', 'jetpack' ); ?></i>
<?php
}
?>
</p>
<p>
- <label for="<?php echo $this->get_field_id( 'number_of_posts' ); ?>"><?php _e( 'Number of Posts to Display:', 'jetpack' ); ?></label>
- <select name="<?php echo $this->get_field_name( 'number_of_posts' ); ?>">
+ <label for="<?php echo esc_attr( $this->get_field_id( 'number_of_posts' ) ); ?>"><?php esc_html_e( 'Number of Posts to Display:', 'jetpack' ); ?></label>
+ <select name="<?php echo esc_attr( $this->get_field_name( 'number_of_posts' ) ); ?>">
<?php
for ( $i = 1; $i <= 10; $i ++ ) {
- echo '<option value="' . $i . '" ' . selected( $number_of_posts, $i ) . '>' . $i . '</option>';
+ echo '<option value="' . esc_attr( $i ) . '" ' . selected( $number_of_posts, $i ) . '>' . esc_html( $i ) . '</option>';
}
?>
</select>
</p>
<p>
- <label for="<?php echo $this->get_field_id( 'open_in_new_window' ); ?>"><?php _e( 'Open links in new window/tab:', 'jetpack' ); ?></label>
- <input type="checkbox" name="<?php echo $this->get_field_name( 'open_in_new_window' ); ?>" <?php checked( $open_in_new_window, 1 ); ?> />
+ <label for="<?php echo esc_attr( $this->get_field_id( 'open_in_new_window' ) ); ?>"><?php esc_html_e( 'Open links in new window/tab:', 'jetpack' ); ?></label>
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'open_in_new_window' ) ); ?>" <?php checked( $open_in_new_window, 1 ); ?> />
</p>
<p>
- <label for="<?php echo $this->get_field_id( 'featured_image' ); ?>"><?php _e( 'Show Featured Image:', 'jetpack' ); ?></label>
- <input type="checkbox" name="<?php echo $this->get_field_name( 'featured_image' ); ?>" <?php checked( $featured_image, 1 ); ?> />
+ <label for="<?php echo esc_attr( $this->get_field_id( 'featured_image' ) ); ?>"><?php esc_html_e( 'Show Featured Image:', 'jetpack' ); ?></label>
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'featured_image' ) ); ?>" <?php checked( $featured_image, 1 ); ?> />
</p>
<p>
- <label for="<?php echo $this->get_field_id( 'show_excerpts' ); ?>"><?php _e( 'Show Excerpts:', 'jetpack' ); ?></label>
- <input type="checkbox" name="<?php echo $this->get_field_name( 'show_excerpts' ); ?>" <?php checked( $show_excerpts, 1 ); ?> />
+ <label for="<?php echo esc_attr( $this->get_field_id( 'show_excerpts' ) ); ?>"><?php esc_html_e( 'Show Excerpts:', 'jetpack' ); ?></label>
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'show_excerpts' ) ); ?>" <?php checked( $show_excerpts, 1 ); ?> />
</p>
<?php
@@ -323,15 +333,20 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
}
}
- public function update( $new_instance, $old_instance ) {
+ /**
+ * Widget update function.
+ *
+ * @param array $new_instance New instance widget settings.
+ * @param array $old_instance Old instance widget settings.
+ */
+ public function update( $new_instance, $old_instance ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$instance = array();
- $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : '';
- $instance['url'] = ( ! empty( $new_instance['url'] ) ) ? strip_tags( trim( $new_instance['url'] ) ) : '';
- $instance['url'] = preg_replace( "!^https?://!is", "", $instance['url'] );
+ $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? wp_strip_all_tags( $new_instance['title'] ) : '';
+ $instance['url'] = ( ! empty( $new_instance['url'] ) ) ? wp_strip_all_tags( trim( $new_instance['url'] ) ) : '';
+ $instance['url'] = preg_replace( '!^https?://!is', '', $instance['url'] );
$instance['url'] = untrailingslashit( $instance['url'] );
-
/**
* Check if the URL should be with or without the www prefix before saving.
*/
@@ -366,8 +381,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
return $instance;
}
-
- // DATA PROCESSING
+ // DATA PROCESSING.
/**
* Expiring transients have a name length maximum of 45 characters,
@@ -443,14 +457,12 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
);
}
-
/**
* Extract service response body from the request.
*/
$service_response_body = wp_remote_retrieve_body( $service_response );
-
/**
* No body has been set in the response. This should be pretty bad.
*/
@@ -470,7 +482,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
/**
* If there is a problem with parsing the posts return an empty array.
*/
- if ( is_null( $parsed_data ) ) {
+ if ( $parsed_data === null ) {
return new WP_Error(
'no_body',
__( 'Invalid remote response.', 'jetpack' ),
@@ -504,7 +516,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
*/
public function fetch_site_info( $site ) {
- $response = $this->fetch_service_endpoint( sprintf( '/sites/%s', urlencode( $site ) ) );
+ $response = $this->fetch_service_endpoint( sprintf( '/sites/%s', rawurlencode( $site ) ) );
return $response;
}
@@ -629,7 +641,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
'title' => $single_post->title ? $single_post->title : '',
'excerpt' => $single_post->excerpt ? $single_post->excerpt : '',
'featured_image' => $single_post->featured_image ? $single_post->featured_image : '',
- 'url' => $single_post->URL,
+ 'url' => $single_post->URL, // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
);
/**
@@ -659,8 +671,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
*/
if ( ! empty( $original_data ) ) {
$widget_data = $original_data;
- }
- else {
+ } else {
$widget_data = array(
'site_info' => array(
'last_check' => null,
@@ -673,7 +684,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
'last_update' => null,
'error' => null,
'data' => array(),
- )
+ ),
);
}
@@ -685,7 +696,6 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
$site_info_raw_data = $this->fetch_site_info( $site );
$site_info_parsed_data = $this->parse_site_info_response( $site_info_raw_data );
-
/**
* If there is an error with the fetched site info, save the error and update the checked time.
*/
@@ -693,21 +703,18 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
$widget_data['site_info']['error'] = $site_info_parsed_data;
return $widget_data;
- }
- /**
- * If data is fetched successfully, update the data and set the proper time.
- *
- * Data is only updated if we have valid results. This is done this way so we can show
- * something if external service is down.
- *
- */
- else {
+ } else {
+ /**
+ * If data is fetched successfully, update the data and set the proper time.
+ *
+ * Data is only updated if we have valid results. This is done this way so we can show
+ * something if external service is down.
+ */
$widget_data['site_info']['last_update'] = time();
$widget_data['site_info']['data'] = $site_info_parsed_data;
$widget_data['site_info']['error'] = null;
}
-
/**
* If only site data is needed, return it here, don't fetch posts data.
*/
@@ -723,7 +730,6 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
$site_posts_raw_data = $this->fetch_posts_for_site( $site_info_parsed_data->ID );
$site_posts_parsed_data = $this->parse_posts_response( $site_posts_raw_data );
-
/**
* If there is an error with the fetched posts, save the error and update the checked time.
*/
@@ -731,15 +737,13 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
$widget_data['posts']['error'] = $site_posts_parsed_data;
return $widget_data;
- }
- /**
- * If data is fetched successfully, update the data and set the proper time.
- *
- * Data is only updated if we have valid results. This is done this way so we can show
- * something if external service is down.
- *
- */
- else {
+ } else {
+ /**
+ * If data is fetched successfully, update the data and set the proper time.
+ *
+ * Data is only updated if we have valid results. This is done this way so we can show
+ * something if external service is down.
+ */
$widget_data['posts']['last_update'] = time();
$widget_data['posts']['data'] = $site_posts_parsed_data;
$widget_data['posts']['error'] = null;
@@ -763,7 +767,6 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
'where' => '',
);
-
/**
* When the cache result is an error. Usually when the cache is empty.
* This is not an error case for now.
@@ -801,14 +804,12 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
$extra_data = $blog_data[ $info_key ]['error']->get_error_data();
if ( is_array( $extra_data ) ) {
$errors['debug'] = implode( '; ', $extra_data );
- }
- else {
+ } else {
$errors['debug'] = $extra_data;
}
break;
- }
- elseif ( is_array( $blog_data[ $info_key ]['error'] ) ) {
+ } elseif ( is_array( $blog_data[ $info_key ]['error'] ) ) {
/**
* In this case we don't have debug information, because
* we have no way to know the format. The widget works with
@@ -830,7 +831,7 @@ abstract class Jetpack_Display_Posts_Widget__Base extends WP_Widget {
/**
* This is just to make method mocks in the unit tests easier.
*
- * @param string $url The URL to fetch
+ * @param string $url The URL to fetch.
* @param array $args Optional. Request arguments.
*
* @return array|WP_Error
diff --git a/plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget.php b/plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget.php
index d0a155a2..10d66b7f 100644
--- a/plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget.php
+++ b/plugins/jetpack/modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget.php
@@ -1,34 +1,36 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
use Automattic\Jetpack\Status;
-/*
+/**
* Display a list of recent posts from a WordPress.com or Jetpack-enabled blog.
*/
-
class Jetpack_Display_Posts_Widget extends Jetpack_Display_Posts_Widget__Base {
/**
- * @var string Widget options key prefix.
+ * Widget options key prefix.
+ *
+ * @var string
*/
public $widget_options_key_prefix = 'display_posts_site_data_';
/**
- * @var string The name of the cron that will update widget data.
+ * The name of the cron that will update widget data.
+ *
+ * @var string
*/
public static $cron_name = 'jetpack_display_posts_widget_cron_update';
-
- // DATA STORE
+ // DATA STORE.
/**
* Gets blog data from the cache.
*
- * @param string $site
+ * @param string $site Site.
*
* @return array|WP_Error
*/
public function get_blog_data( $site ) {
- // load from cache, if nothing return an error
+ // Load from cache, if nothing return an error.
$site_hash = $this->get_site_hash( $site );
$cached_data = $this->wp_get_option( $this->widget_options_key_prefix . $site_hash );
@@ -75,17 +77,21 @@ class Jetpack_Display_Posts_Widget extends Jetpack_Display_Posts_Widget__Base {
*/
if ( false === $instance_data ) {
$this->wp_add_option( $option_key, $new_data );
- }
- else {
+ } else {
$this->wp_update_option( $option_key, $new_data );
}
return $new_data;
}
+ // WIDGET API.
- // WIDGET API
-
+ /**
+ * Widget update function.
+ *
+ * @param array $new_instance New instance widget settings.
+ * @param array $old_instance Old instance widget settings.
+ */
public function update( $new_instance, $old_instance ) {
$instance = parent::update( $new_instance, $old_instance );
@@ -99,8 +105,7 @@ class Jetpack_Display_Posts_Widget extends Jetpack_Display_Posts_Widget__Base {
return $instance;
}
-
- // CRON
+ // CRON.
/**
* Activates widget update cron task.
@@ -230,13 +235,12 @@ class Jetpack_Display_Posts_Widget extends Jetpack_Display_Posts_Widget__Base {
}
-
- // MOCKABLES
+ // MOCKABLES.
/**
* This is just to make method mocks in the unit tests easier.
*
- * @param string $param Option key to get
+ * @param string $param Option key to get.
*
* @return mixed
*
@@ -249,8 +253,8 @@ class Jetpack_Display_Posts_Widget extends Jetpack_Display_Posts_Widget__Base {
/**
* This is just to make method mocks in the unit tests easier.
*
- * @param string $option_name Option name to be added
- * @param mixed $option_value Option value
+ * @param string $option_name Option name to be added.
+ * @param mixed $option_value Option value.
*
* @return mixed
*
@@ -263,8 +267,8 @@ class Jetpack_Display_Posts_Widget extends Jetpack_Display_Posts_Widget__Base {
/**
* This is just to make method mocks in the unit tests easier.
*
- * @param string $option_name Option name to be updated
- * @param mixed $option_value Option value
+ * @param string $option_name Option name to be updated.
+ * @param mixed $option_value Option value.
*
* @return mixed
*
diff --git a/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php b/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php
index f1eb36b9..f47804db 100644
--- a/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php
+++ b/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php
@@ -457,7 +457,7 @@ class Jetpack_WooCommerce_Analytics_Universal {
* @param array $cart_item_data Other cart data.
*/
public function capture_add_to_cart( $cart_item_key, $product_id, $quantity, $variation_id, $variation, $cart_item_data ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- $referer_postid = isset( $_SERVER['HTTP_REFERER'] ) ? url_to_postid( $_SERVER['HTTP_REFERER'] ) : 0;
+ $referer_postid = isset( $_SERVER['HTTP_REFERER'] ) ? url_to_postid( esc_url_raw( wp_unslash( $_SERVER['HTTP_REFERER'] ) ) ) : 0;
// if the referring post is not a product OR the product being added is not the same as post.
// (eg. related product list on single product page) then include a product view event.
$product_by_referer_postid = wc_get_product( $referer_postid );
diff --git a/plugins/jetpack/modules/woocommerce-analytics/classes/wp-woocommerce-analytics-universal.php b/plugins/jetpack/modules/woocommerce-analytics/classes/wp-woocommerce-analytics-universal.php
deleted file mode 100644
index f8ee1912..00000000
--- a/plugins/jetpack/modules/woocommerce-analytics/classes/wp-woocommerce-analytics-universal.php
+++ /dev/null
@@ -1,403 +0,0 @@
-<?php
-/**
- * Jetpack_WooCommerce_Analytics_Universal
- *
- * @package Jetpack
- * @author Automattic
- */
-
-/**
- * Bail if accessed directly
- */
-if ( ! defined( 'ABSPATH' ) ) {
- exit;
-}
-
-/**
- * Class Jetpack_WooCommerce_Analytics_Universal
- * Filters and Actions added to Store pages to perform analytics
- */
-class Jetpack_WooCommerce_Analytics_Universal {
- /**
- * Jetpack_WooCommerce_Analytics_Universal constructor.
- */
- public function __construct() {
- // loading _wca
- add_action( 'wp_head', array( $this, 'wp_head_top' ), 1 );
-
- // add to carts from non-product pages or lists (search, store etc.)
- add_action( 'wp_head', array( $this, 'loop_session_events' ), 2 );
-
- // loading s.js.
- add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_tracking_script' ) );
-
- // Capture cart events
- add_action( 'woocommerce_add_to_cart', array( $this, 'capture_add_to_cart' ), 10, 6 );
-
- // single product page view
- add_action( 'woocommerce_after_single_product', array( $this, 'capture_product_view' ) );
-
- add_action( 'woocommerce_after_cart', array( $this, 'remove_from_cart' ) );
- add_action( 'woocommerce_after_mini_cart', array( $this, 'remove_from_cart' ) );
- add_action( 'wcct_before_cart_widget', array( $this, 'remove_from_cart' ) );
- add_filter( 'woocommerce_cart_item_remove_link', array( $this, 'remove_from_cart_attributes' ), 10, 2 );
-
- // cart checkout
- add_action( 'woocommerce_after_checkout_form', array( $this, 'checkout_process' ) );
-
- // order confirmed
- add_action( 'woocommerce_thankyou', array( $this, 'order_process' ), 10, 1 );
- add_action( 'woocommerce_after_cart', array( $this, 'remove_from_cart_via_quantity' ), 10, 1 );
- }
-
- /**
- * Make _wca available to queue events
- */
- public function wp_head_top() {
- if ( is_cart() || is_checkout() || is_checkout_pay_page() || is_order_received_page() || is_add_payment_method_page() ) {
- $prevent_referrer_code = '<script>window._wca_prevent_referrer = true;</script>';
- echo "$prevent_referrer_code\r\n";
- }
- $wca_code = '<script>window._wca = window._wca || [];</script>';
- echo "$wca_code\r\n";
- }
-
-
- /**
- * Place script to call s.js, Store Analytics.
- */
- public function enqueue_tracking_script() {
- $filename = sprintf(
- 'https://stats.wp.com/s-%d.js',
- gmdate( 'YW' )
- );
-
- // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion
- wp_enqueue_script( 'woocommerce-analytics', esc_url( $filename ), array(), null, false );
- }
-
- /**
- * On product lists or other non-product pages, add an event listener to "Add to Cart" button click
- */
- public function loop_session_events() {
- $blogid = Jetpack::get_option( 'id' );
-
- // check for previous add-to-cart cart events
- if ( is_object( WC()->session ) ) {
- $data = WC()->session->get( 'wca_session_data' );
- if ( ! empty( $data ) ) {
- foreach ( $data as $data_instance ) {
- $product = wc_get_product( $data_instance['product_id'] );
- if ( ! $product ) {
- continue;
- }
- $product_details = $this->get_product_details( $product );
- wc_enqueue_js(
- "_wca.push( {
- '_en': '" . esc_js( $data_instance['event'] ) . "',
- 'blog_id': '" . esc_js( $blogid ) . "',
- 'pi': '" . esc_js( $data_instance['product_id'] ) . "',
- 'pn': '" . esc_js( $product_details['name'] ) . "',
- 'pc': '" . esc_js( $product_details['category'] ) . "',
- 'pp': '" . esc_js( $product_details['price'] ) . "',
- 'pq': '" . esc_js( $data_instance['quantity'] ) . "',
- 'pt': '" . esc_js( $product_details['type'] ) . "',
- 'ui': '" . esc_js( $this->get_user_id() ) . "',
- } );"
- );
- }
- // clear data
- WC()->session->set( 'wca_session_data', '' );
- }
- }
- }
-
- /**
- * On the cart page, add an event listener for removal of product click
- */
- public function remove_from_cart() {
-
- // We listen at div.woocommerce because the cart 'form' contents get forcibly
- // updated and subsequent removals from cart would then not have this click
- // handler attached.
- $blogid = Jetpack::get_option( 'id' );
- wc_enqueue_js(
- "jQuery( 'div.woocommerce' ).on( 'click', 'a.remove', function() {
- var productID = jQuery( this ).data( 'product_id' );
- var quantity = jQuery( this ).parent().parent().find( '.qty' ).val()
- var productDetails = {
- 'id': productID,
- 'quantity': quantity ? quantity : '1',
- };
- _wca.push( {
- '_en': 'woocommerceanalytics_remove_from_cart',
- 'blog_id': '" . esc_js( $blogid ) . "',
- 'pi': productDetails.id,
- 'pq': productDetails.quantity,
- 'ui': '" . esc_js( $this->get_user_id() ) . "',
- } );
- } );"
- );
- }
-
- /**
- * Adds the product ID to the remove product link (for use by remove_from_cart above) if not present
- *
- * @param string $url Full HTML a tag of the link to remove an item from the cart.
- * @param string $key Unique Key ID for a cart item.
- *
- * @return mixed.
- */
- public function remove_from_cart_attributes( $url, $key ) {
- if ( false !== strpos( $url, 'data-product_id' ) ) {
- return $url;
- }
-
- $item = WC()->cart->get_cart_item( $key );
- $product = $item['data'];
-
- $new_attributes = sprintf(
- '" data-product_id="%s">',
- esc_attr( $product->get_id() )
- );
-
- $url = str_replace( '">', $new_attributes, $url );
- return $url;
- }
-
- /**
- * Gather relevant product information
- *
- * @param array $product product
- * @return array
- */
- public function get_product_details( $product ) {
- return array(
- 'id' => $product->get_id(),
- 'name' => $product->get_title(),
- 'category' => $this->get_product_categories_concatenated( $product ),
- 'price' => $product->get_price(),
- 'type' => $product->get_type(),
- );
- }
-
- /**
- * Track a product page view
- */
- public function capture_product_view() {
-
- global $product;
- $blogid = Jetpack::get_option( 'id' );
- $product_details = $this->get_product_details( $product );
-
- wc_enqueue_js(
- "_wca.push( {
- '_en': 'woocommerceanalytics_product_view',
- 'blog_id': '" . esc_js( $blogid ) . "',
- 'pi': '" . esc_js( $product_details['id'] ) . "',
- 'pn': '" . esc_js( $product_details['name'] ) . "',
- 'pc': '" . esc_js( $product_details['category'] ) . "',
- 'pp': '" . esc_js( $product_details['price'] ) . "',
- 'pt': '" . esc_js( $product_details['type'] ) . "',
- 'ui': '" . esc_js( $this->get_user_id() ) . "',
- } );"
- );
- }
-
- /**
- * On the Checkout page, trigger an event for each product in the cart
- */
- public function checkout_process() {
-
- $universal_commands = array();
- $cart = WC()->cart->get_cart();
- $blogid = Jetpack::get_option( 'id' );
-
- foreach ( $cart as $cart_item_key => $cart_item ) {
- /**
- * This filter is already documented in woocommerce/templates/cart/cart.php
- */
- $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
-
- if ( ! $product ) {
- continue;
- }
-
- $product_details = $this->get_product_details( $product );
-
- $universal_commands[] = "_wca.push( {
- '_en': 'woocommerceanalytics_product_checkout',
- 'blog_id': '" . esc_js( $blogid ) . "',
- 'pi': '" . esc_js( $product_details['id'] ) . "',
- 'pn': '" . esc_js( $product_details['name'] ) . "',
- 'pc': '" . esc_js( $product_details['category'] ) . "',
- 'pp': '" . esc_js( $product_details['price'] ) . "',
- 'pq': '" . esc_js( $cart_item['quantity'] ) . "',
- 'pt': '" . esc_js( $product_details['type'] ) . "',
- 'ui': '" . esc_js( $this->get_user_id() ) . "',
- } );";
- }
-
- wc_enqueue_js( implode( "\r\n", $universal_commands ) );
- }
-
- /**
- * After the checkout process, fire an event for each item in the order
- *
- * @param string $order_id Order Id.
- */
- public function order_process( $order_id ) {
- $order = wc_get_order( $order_id );
- $universal_commands = array();
- $blogid = Jetpack::get_option( 'id' );
-
- // loop through products in the order and queue a purchase event.
- foreach ( $order->get_items() as $order_item_id => $order_item ) {
- $product = $order->get_product_from_item( $order_item );
-
- $product_details = $this->get_product_details( $product );
-
- $universal_commands[] = "_wca.push( {
- '_en': 'woocommerceanalytics_product_purchase',
- 'blog_id': '" . esc_js( $blogid ) . "',
- 'pi': '" . esc_js( $product_details['id'] ) . "',
- 'pn': '" . esc_js( $product_details['name'] ) . "',
- 'pc': '" . esc_js( $product_details['category'] ) . "',
- 'pp': '" . esc_js( $product_details['price'] ) . "',
- 'pq': '" . esc_js( $order_item->get_quantity() ) . "',
- 'pt': '" . esc_js( $product_details['type'] ) . "',
- 'oi': '" . esc_js( $order->get_order_number() ) . "',
- 'ui': '" . esc_js( $this->get_user_id() ) . "',
- } );";
- }
-
- wc_enqueue_js( implode( "\r\n", $universal_commands ) );
- }
-
- /**
- * Listen for clicks on the "Update Cart" button to know if an item has been removed by
- * updating its quantity to zero
- */
- public function remove_from_cart_via_quantity() {
- $blogid = Jetpack::get_option( 'id' );
-
- wc_enqueue_js(
- "
- jQuery( 'button[name=update_cart]' ).on( 'click', function() {
- var cartItems = jQuery( '.cart_item' );
- cartItems.each( function( item ) {
- var qty = jQuery( this ).find( 'input.qty' );
- if ( qty && qty.val() === '0' ) {
- var productID = jQuery( this ).find( '.product-remove a' ).data( 'product_id' );
- _wca.push( {
- '_en': 'woocommerceanalytics_remove_from_cart',
- 'blog_id': '" . esc_js( $blogid ) . "',
- 'pi': productID,
- 'ui': '" . esc_js( $this->get_user_id() ) . "',
- } );
- }
- } );
- } );
- "
- );
- }
-
- /**
- * Get the current user id
- *
- * @return int
- */
- public function get_user_id() {
- if ( is_user_logged_in() ) {
- $blogid = Jetpack::get_option( 'id' );
- $userid = get_current_user_id();
- return $blogid . ':' . $userid;
- }
- return 'null';
- }
-
- /**
- * @param $cart_item_key
- * @param $product_id
- * @param $quantity
- * @param $variation_id
- * @param $variation
- * @param $cart_item_data
- */
- public function capture_add_to_cart( $cart_item_key, $product_id, $quantity, $variation_id, $variation, $cart_item_data ) {
- $referer_postid = isset( $_SERVER['HTTP_REFERER'] ) ? url_to_postid( $_SERVER['HTTP_REFERER'] ) : 0;
- // if the referring post is not a product OR the product being added is not the same as post
- // (eg. related product list on single product page) then include a product view event
- if ( ! wc_get_product( $referer_postid ) || $product_id != $referer_postid ) {
- $this->capture_event_in_session_data( $product_id, $quantity, 'woocommerceanalytics_product_view' );
- }
- // add cart event to the session data
- $this->capture_event_in_session_data( $product_id, $quantity, 'woocommerceanalytics_add_to_cart' );
- }
-
- /**
- * @param $product_id
- * @param $quantity
- * @param $event
- */
- public function capture_event_in_session_data( $product_id, $quantity, $event ) {
-
- $product = wc_get_product( $product_id );
- if ( ! $product ) {
- return;
- }
-
- $quantity = ( $quantity == 0 ) ? 1 : $quantity;
-
- // check for existing data
- if ( is_object( WC()->session ) ) {
- $data = WC()->session->get( 'wca_session_data' );
- if ( empty( $data ) || ! is_array( $data ) ) {
- $data = array();
- }
- } else {
- $data = array();
- }
-
- // extract new event data
- $new_data = array(
- 'event' => $event,
- 'product_id' => (string) $product_id,
- 'quantity' => (string) $quantity,
- );
-
- // append new data
- $data[] = $new_data;
-
- WC()->session->set( 'wca_session_data', $data );
- }
-
- /**
- * Gets product categories or varation attributes as a formatted concatenated string
- *
- * @param object $product WC_Product.
- * @return string
- */
- public function get_product_categories_concatenated( $product ) {
-
- if ( ! $product ) {
- return '';
- }
-
- $variation_data = $product->is_type( 'variation' ) ? wc_get_product_variation_attributes( $product->get_id() ) : '';
- if ( is_array( $variation_data ) && ! empty( $variation_data ) ) {
- $line = wc_get_formatted_variation( $variation_data, true );
- } else {
- $out = array();
- $categories = get_the_terms( $product->get_id(), 'product_cat' );
- if ( $categories ) {
- foreach ( $categories as $category ) {
- $out[] = $category->name;
- }
- }
- $line = join( '/', $out );
- }
- return $line;
- }
-
-}
diff --git a/plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php b/plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php
deleted file mode 100644
index d078af40..00000000
--- a/plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php
+++ /dev/null
@@ -1,94 +0,0 @@
-<?php
-/**
- * Jetpack_WooCommerce_Analytics is ported from the Jetpack_Google_Analytics code.
- *
- * @package Jetpack
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit;
-}
-
-require_once plugin_basename( 'classes/wp-woocommerce-analytics-universal.php' );
-
-/**
- * Class Jetpack_WooCommerce_Analytics
- * Instantiate WooCommerce Analytics
- */
-class Jetpack_WooCommerce_Analytics {
-
- /**
- * Instance of this class
- *
- * @var Jetpack_WooCommerce_Analytics - Static property to hold our singleton instance
- */
- private static $instance = false;
-
- /**
- * Instance of the Universal functions
- *
- * @var Static property to hold concrete analytics impl that does the work (universal or legacy)
- */
- private static $analytics = false;
-
- /**
- * WooCommerce Analytics is only available to Jetpack connected WooCommerce stores with both plugins set to active
- * and WooCommerce version 3.0 or higher
- *
- * @return bool
- */
- public static function shouldTrackStore() {
- /**
- * Make sure WooCommerce is installed and active
- *
- * This action is documented in https://docs.woocommerce.com/document/create-a-plugin
- */
- if ( ! in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', Jetpack::get_active_plugins() ) ) ) {
- return false;
- }
- // Tracking only Site pages
- if ( is_admin() ) {
- return false;
- }
- // Don't track site admins
- if ( is_user_logged_in() && in_array( 'administrator', wp_get_current_user()->roles ) ) {
- return false;
- }
- // Make sure Jetpack is installed and active
- if ( ! Jetpack::is_active() ) {
- return false;
- }
- // Ensure the WooCommerce class exists and is a valid version
- $minimum_woocommerce_active = class_exists( 'WooCommerce' ) && version_compare( WC_VERSION, '3.0', '>=' );
- if ( ! $minimum_woocommerce_active ) {
- return false;
- }
- return true;
- }
-
- /**
- * This is our constructor, which is private to force the use of get_instance()
- *
- * @return void
- */
- private function __construct() {
- $analytics = new Jetpack_WooCommerce_Analytics_Universal();
- }
-
- /**
- * Function to instantiate our class and make it a singleton
- */
- public static function get_instance() {
- if ( ! self::shouldTrackStore() ) {
- return;
- }
- if ( ! self::$instance ) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-}
-
-global $jetpack_woocommerce_analytics;
-$jetpack_woocommerce_analytics = Jetpack_WooCommerce_Analytics::get_instance();
diff --git a/plugins/jetpack/modules/wordads/class-wordads.php b/plugins/jetpack/modules/wordads/class-wordads.php
index 0cb0df9d..4a73322b 100644
--- a/plugins/jetpack/modules/wordads/class-wordads.php
+++ b/plugins/jetpack/modules/wordads/class-wordads.php
@@ -207,13 +207,14 @@ class WordAds {
WordAds_California_Privacy::init();
}
- if ( '/ads.txt' === $_SERVER['REQUEST_URI'] ) {
+ if ( isset( $_SERVER['REQUEST_URI'] ) && '/ads.txt' === $_SERVER['REQUEST_URI'] ) {
- $ads_txt_transient = get_transient( 'jetpack_ads_txt' );
+ $ads_txt_transient = get_transient( 'wordads_ads_txt' );
if ( false === ( $ads_txt_transient ) ) {
- $ads_txt_transient = ! is_wp_error( WordAds_API::get_wordads_ads_txt() ) ? WordAds_API::get_wordads_ads_txt() : '';
- set_transient( 'jetpack_ads_txt', $ads_txt_transient, DAY_IN_SECONDS );
+ $wordads_ads_txt = WordAds_API::get_wordads_ads_txt();
+ $ads_txt_transient = is_wp_error( $wordads_ads_txt ) ? '' : $wordads_ads_txt;
+ set_transient( 'wordads_ads_txt', $ads_txt_transient, DAY_IN_SECONDS );
}
/**
@@ -359,9 +360,10 @@ class WordAds {
$data_tags = ( $this->params->cloudflare ) ? ' data-cfasync="false"' : '';
$site_id = $this->params->blog_id;
$consent = (int) isset( $_COOKIE['personalized-ads-consent'] );
+ $is_logged_in = is_user_logged_in() ? '1' : '0';
?>
<script<?php echo esc_attr( $data_tags ); ?> type="text/javascript">
- var __ATA_PP = { pt: <?php echo esc_js( $pagetype ); ?>, ht: <?php echo esc_js( $hosting_type ); ?>, tn: '<?php echo esc_js( get_stylesheet() ); ?>', amp: false, siteid: <?php echo esc_js( $site_id ); ?>, consent: <?php echo esc_js( $consent ); ?>, ad: { label: { text: '<?php echo esc_js( __( 'Advertisements', 'jetpack' ) ); ?>' }, reportAd: { text: '<?php echo esc_js( __( 'Report this ad', 'jetpack' ) ); ?>' } } };
+ var __ATA_PP = { pt: <?php echo esc_js( $pagetype ); ?>, ht: <?php echo esc_js( $hosting_type ); ?>, tn: '<?php echo esc_js( get_stylesheet() ); ?>', uloggedin: <?php echo esc_js( $is_logged_in ); ?>, amp: false, siteid: <?php echo esc_js( $site_id ); ?>, consent: <?php echo esc_js( $consent ); ?>, ad: { label: { text: '<?php echo esc_js( __( 'Advertisements', 'jetpack' ) ); ?>' }, reportAd: { text: '<?php echo esc_js( __( 'Report this ad', 'jetpack' ) ); ?>' } } };
var __ATA = __ATA || {};
__ATA.cmd = __ATA.cmd || [];
__ATA.criteo = __ATA.criteo || {};
diff --git a/plugins/jetpack/modules/wordads/php/admin.php b/plugins/jetpack/modules/wordads/php/admin.php
deleted file mode 100644
index b7071666..00000000
--- a/plugins/jetpack/modules/wordads/php/admin.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-
-/**
- * The standard set of admin pages for the user if Jetpack is installed
- */
-class WordAds_Admin {
-
- /**
- * @since 4.5.0
- */
- function __construct() {
- global $wordads;
-
- if ( current_user_can( 'manage_options' ) && isset( $_GET['ads_debug'] ) ) {
- WordAds_API::update_wordads_status_from_api();
- add_action( 'admin_notices', array( $this, 'debug_output' ) );
- }
- }
-
- /**
- * Output the API connection debug
- *
- * @since 4.5.0
- */
- function debug_output() {
- global $wordads, $wordads_status_response;
- $response = $wordads_status_response;
- if ( empty( $response ) ) {
- $response = 'No response from API :(';
- } else {
- $response = print_r( $response, 1 );
- }
-
- $status = $wordads->option( 'wordads_approved' ) ?
- '<span style="color:green;">Yes</span>' :
- '<span style="color:red;">No</span>';
-
- $type = $wordads->option( 'wordads_approved' ) ? 'updated' : 'error';
- echo <<<HTML
- <div class="notice $type is-dismissible">
- <p>Status: $status</p>
- <pre>$response</pre>
- </div>
-HTML;
- }
-}
-
-global $wordads_admin;
-$wordads_admin = new WordAds_Admin();
diff --git a/plugins/jetpack/modules/wordads/php/api.php b/plugins/jetpack/modules/wordads/php/api.php
deleted file mode 100644
index f2308523..00000000
--- a/plugins/jetpack/modules/wordads/php/api.php
+++ /dev/null
@@ -1,146 +0,0 @@
-<?php
-
-use Automattic\Jetpack\Connection\Client;
-use Automattic\Jetpack\Status;
-
-/**
- * Methods for accessing data through the WPCOM REST API
- *
- * @since 4.5.0
- */
-class WordAds_API {
-
- private static $wordads_status = null;
-
- /**
- * Returns site's WordAds status
- *
- * @return array boolean values for 'approved' and 'active'
- *
- * @since 4.5.0
- */
- public static function get_wordads_status() {
- global $wordads_status_response;
- if ( ( new Status() )->is_development_mode() ) {
- self::$wordads_status = array(
- 'approved' => true,
- 'active' => true,
- 'house' => true,
- 'unsafe' => false,
- );
-
- return self::$wordads_status;
- }
-
- $endpoint = sprintf( '/sites/%d/wordads/status', Jetpack::get_option( 'id' ) );
- $wordads_status_response = $response = Client::wpcom_json_api_request_as_blog( $endpoint );
- if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
- return new WP_Error( 'api_error', __( 'Error connecting to API.', 'jetpack' ), $response );
- }
-
- $body = json_decode( wp_remote_retrieve_body( $response ) );
- self::$wordads_status = array(
- 'approved' => $body->approved,
- 'active' => $body->active,
- 'house' => $body->house,
- 'unsafe' => $body->unsafe,
- );
-
- return self::$wordads_status;
- }
-
- /**
- * Returns the ads.txt content needed to run WordAds.
- *
- * @return array string contents of the ads.txt file.
- *
- * @since 6.1.0
- */
- public static function get_wordads_ads_txt() {
- $endpoint = sprintf( '/sites/%d/wordads/ads-txt', Jetpack::get_option( 'id' ) );
- $wordads_status_response = $response = Client::wpcom_json_api_request_as_blog( $endpoint );
- if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
- return new WP_Error( 'api_error', __( 'Error connecting to API.', 'jetpack' ), $response );
- }
-
- $body = json_decode( wp_remote_retrieve_body( $response ) );
- $ads_txt = str_replace( '\\n', PHP_EOL, $body->adstxt );
- return $ads_txt;
- }
-
- /**
- * Returns status of WordAds approval.
- *
- * @return boolean true if site is WordAds approved
- *
- * @since 4.5.0
- */
- public static function is_wordads_approved() {
- if ( is_null( self::$wordads_status ) ) {
- self::get_wordads_status();
- }
-
- return self::$wordads_status['approved'] ? '1' : '0';
- }
-
- /**
- * Returns status of WordAds active.
- *
- * @return boolean true if ads are active on site
- *
- * @since 4.5.0
- */
- public static function is_wordads_active() {
- if ( is_null( self::$wordads_status ) ) {
- self::get_wordads_status();
- }
-
- return self::$wordads_status['active'] ? '1' : '0';
- }
-
- /**
- * Returns status of WordAds house ads.
- *
- * @return boolean true if WP.com house ads should be shown
- *
- * @since 4.5.0
- */
- public static function is_wordads_house() {
- if ( is_null( self::$wordads_status ) ) {
- self::get_wordads_status();
- }
-
- return self::$wordads_status['house'] ? '1' : '0';
- }
-
-
- /**
- * Returns whether or not this site is safe to run ads on.
- *
- * @return boolean true if ads shown not be shown on this site.
- *
- * @since 6.5.0
- */
- public static function is_wordads_unsafe() {
- if ( is_null( self::$wordads_status ) ) {
- self::get_wordads_status();
- }
-
- return self::$wordads_status['unsafe'] ? '1' : '0';
- }
-
- /**
- * Grab WordAds status from WP.com API and store as option
- *
- * @since 4.5.0
- */
- static function update_wordads_status_from_api() {
- $status = self::get_wordads_status();
- if ( ! is_wp_error( $status ) ) {
- update_option( 'wordads_approved', self::is_wordads_approved(), true );
- update_option( 'wordads_active', self::is_wordads_active(), true );
- update_option( 'wordads_house', self::is_wordads_house(), true );
- update_option( 'wordads_unsafe', self::is_wordads_unsafe(), true );
- }
- }
-}
diff --git a/plugins/jetpack/modules/wordads/php/class-wordads-api.php b/plugins/jetpack/modules/wordads/php/class-wordads-api.php
index a5e565e8..15b4e8e7 100644
--- a/plugins/jetpack/modules/wordads/php/class-wordads-api.php
+++ b/plugins/jetpack/modules/wordads/php/class-wordads-api.php
@@ -16,48 +16,61 @@ use Automattic\Jetpack\Status;
class WordAds_API {
/**
- * WordAds status.
+ * Get the site's WordAds status
*
- * @var null|array
- */
- private static $wordads_status = null;
-
- /**
- * Returns site's WordAds status
- *
- * @return array boolean values for 'approved' and 'active'
+ * @return array|WP_Error Array of site status values, or WP_Error if no response from the API.
*
* @since 4.5.0
*/
public static function get_wordads_status() {
global $wordads_status_response;
+
+ // If the site is not connected, we can put it in a safe "house ad" mode.
if ( ( new Status() )->is_offline_mode() ) {
- self::$wordads_status = array(
+ return array(
'approved' => true,
'active' => true,
'house' => true,
'unsafe' => false,
);
-
- return self::$wordads_status;
}
+ // Fetch the status from WPCOM endpoint.
$endpoint = sprintf( '/sites/%d/wordads/status', Jetpack::get_option( 'id' ) );
$response = Client::wpcom_json_api_request_as_blog( $endpoint );
$wordads_status_response = $response;
+
if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
return new WP_Error( 'api_error', __( 'Error connecting to API.', 'jetpack' ), $response );
}
- $body = json_decode( wp_remote_retrieve_body( $response ) );
- self::$wordads_status = array(
- 'approved' => $body->approved,
- 'active' => $body->active,
- 'house' => $body->house,
- 'unsafe' => $body->unsafe,
+ $body = json_decode( wp_remote_retrieve_body( $response ) );
+
+ return array(
+ 'approved' => (bool) $body->approved,
+ 'active' => (bool) $body->active,
+ 'house' => (bool) $body->house,
+ 'unsafe' => (bool) $body->unsafe,
);
+ }
+
+ /**
+ * Grab WordAds status from WP.com API and store as option
+ *
+ * @since 4.5.0
+ */
+ public static function update_wordads_status_from_api() {
+ $status = self::get_wordads_status();
- return self::$wordads_status;
+ if ( ! is_wp_error( $status ) ) {
+
+ // Convert boolean options to string first to work around update_option not setting the option if the value is false.
+ // This sets the option to either '1' if true or '' if false.
+ update_option( 'wordads_approved', (string) $status['approved'], true );
+ update_option( 'wordads_active', (string) $status['active'], true );
+ update_option( 'wordads_house', (string) $status['house'], true );
+ update_option( 'wordads_unsafe', (string) $status['unsafe'], true );
+ }
}
/**
@@ -79,81 +92,7 @@ class WordAds_API {
$body = json_decode( wp_remote_retrieve_body( $response ) );
$ads_txt = str_replace( '\\n', PHP_EOL, $body->adstxt );
- return $ads_txt;
- }
- /**
- * Returns status of WordAds approval.
- *
- * @return boolean true if site is WordAds approved
- *
- * @since 4.5.0
- */
- public static function is_wordads_approved() {
- if ( is_null( self::$wordads_status ) ) {
- self::get_wordads_status();
- }
-
- return (bool) self::$wordads_status['approved'];
- }
-
- /**
- * Returns status of WordAds active.
- *
- * @return boolean true if ads are active on site
- *
- * @since 4.5.0
- */
- public static function is_wordads_active() {
- if ( is_null( self::$wordads_status ) ) {
- self::get_wordads_status();
- }
-
- return (bool) self::$wordads_status['active'];
- }
-
- /**
- * Returns status of WordAds house ads.
- *
- * @return boolean true if WP.com house ads should be shown
- *
- * @since 4.5.0
- */
- public static function is_wordads_house() {
- if ( is_null( self::$wordads_status ) ) {
- self::get_wordads_status();
- }
-
- return (bool) self::$wordads_status['house'];
- }
-
- /**
- * Returns whether or not this site is safe to run ads on.
- *
- * @return boolean true if ads shown not be shown on this site.
- *
- * @since 6.5.0
- */
- public static function is_wordads_unsafe() {
- if ( is_null( self::$wordads_status ) ) {
- self::get_wordads_status();
- }
-
- return (bool) self::$wordads_status['unsafe'];
- }
-
- /**
- * Grab WordAds status from WP.com API and store as option
- *
- * @since 4.5.0
- */
- public static function update_wordads_status_from_api() {
- $status = self::get_wordads_status();
- if ( ! is_wp_error( $status ) ) {
- update_option( 'wordads_approved', self::is_wordads_approved(), true );
- update_option( 'wordads_active', self::is_wordads_active(), true );
- update_option( 'wordads_house', self::is_wordads_house(), true );
- update_option( 'wordads_unsafe', self::is_wordads_unsafe(), true );
- }
+ return $ads_txt;
}
}
diff --git a/plugins/jetpack/modules/wordads/php/class-wordads-california-privacy.php b/plugins/jetpack/modules/wordads/php/class-wordads-california-privacy.php
index b2e9135c..2cfa54a6 100644
--- a/plugins/jetpack/modules/wordads/php/class-wordads-california-privacy.php
+++ b/plugins/jetpack/modules/wordads/php/class-wordads-california-privacy.php
@@ -136,7 +136,7 @@ class WordAds_California_Privacy {
$host = 'localhost';
if ( isset( $_SERVER['HTTP_HOST'] ) ) {
- $host = $_SERVER['HTTP_HOST'];
+ $host = filter_var( wp_unslash( $_SERVER['HTTP_HOST'] ) );
}
return '.wordpress.com' === substr( $host, -strlen( '.wordpress.com' ) ) ? '.wordpress.com' : '.' . $host;
@@ -166,7 +166,7 @@ class WordAds_California_Privacy {
* @return bool True if the cookie could be set.
*/
private static function set_optout_cookie() {
- return setcookie( self::get_cookie_name(), self::get_optout_cookie_string(), time() + ( 5 * YEAR_IN_SECONDS ), '/', self::get_cookie_domain() );
+ return setcookie( self::get_cookie_name(), self::get_optout_cookie_string(), time() + ( 5 * YEAR_IN_SECONDS ), '/', self::get_cookie_domain(), is_ssl(), false ); // phpcs:ignore Jetpack.Functions.SetCookie -- Want this accessible.
}
/**
@@ -175,7 +175,7 @@ class WordAds_California_Privacy {
* @return bool True if the cookie could be set.
*/
private static function set_optin_cookie() {
- return setcookie( self::get_cookie_name(), self::get_optin_cookie_string(), time() + YEAR_IN_SECONDS, '/', self::get_cookie_domain() );
+ return setcookie( self::get_cookie_name(), self::get_optin_cookie_string(), time() + YEAR_IN_SECONDS, '/', self::get_cookie_domain(), is_ssl(), false ); // phpcs:ignore Jetpack.Functions.SetCookie -- Want this accessible.
}
/**
@@ -184,7 +184,7 @@ class WordAds_California_Privacy {
public static function handle_optout_request() {
check_ajax_referer( 'ccpa_optout', 'security' );
- $optout = 'true' === $_POST['optout'];
+ $optout = isset( $_POST['optout'] ) && 'true' === $_POST['optout'];
$optout ? self::set_optout_cookie() : self::set_optin_cookie();
wp_send_json_success( $optout );
diff --git a/plugins/jetpack/modules/wordads/php/class-wordads-params.php b/plugins/jetpack/modules/wordads/php/class-wordads-params.php
index 5aa798d5..9c450f19 100644
--- a/plugins/jetpack/modules/wordads/php/class-wordads-params.php
+++ b/plugins/jetpack/modules/wordads/php/class-wordads-params.php
@@ -38,31 +38,30 @@ class WordAds_Params {
'wordads_ccpa_privacy_policy_url' => get_option( 'wp_page_for_privacy_policy' ) ? get_permalink( (int) get_option( 'wp_page_for_privacy_policy' ) ) : '',
);
- // grab settings, or set as default if it doesn't exist.
+ // Grab settings, or set as default if it doesn't exist.
$this->options = array();
+
foreach ( $settings as $setting => $default ) {
$option = get_option( $setting, null );
- if ( is_null( $option ) ) {
+ if ( $option === null ) {
// Handle retroactively setting wordads_custom_adstxt_enabled to true if custom ads.txt content is already entered.
if ( 'wordads_custom_adstxt_enabled' === $setting ) {
$default = get_option( 'wordads_custom_adstxt' ) !== '';
}
- update_option( $setting, $default, true );
+ // Convert boolean options to string first to work around update_option not setting the option if the value is false.
+ // This sets the option to either '1' if true or '' if false.
+ update_option( $setting, (string) $default, true );
+
$option = $default;
}
$this->options[ $setting ] = is_bool( $default ) ? (bool) $option : $option;
}
- $host = 'localhost';
- if ( isset( $_SERVER['HTTP_HOST'] ) ) {
- $host = $_SERVER['HTTP_HOST'];
- }
-
- $this->url = ( is_ssl() ? 'https' : 'http' ) . '://' . $host . $_SERVER['REQUEST_URI'];
+ $this->url = esc_url_raw( ( is_ssl() ? 'https' : 'http' ) . '://' . ( isset( $_SERVER['HTTP_HOST'] ) ? wp_unslash( $_SERVER['HTTP_HOST'] ) : 'localhost' ) . ( isset( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : '' ) );
if ( ! ( false === strpos( $this->url, '?' ) ) && ! isset( $_GET['p'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$this->url = substr( $this->url, 0, strpos( $this->url, '?' ) );
}
diff --git a/plugins/jetpack/modules/wordads/php/class-wordads-sidebar-widget.php b/plugins/jetpack/modules/wordads/php/class-wordads-sidebar-widget.php
index 5d59737a..226204d1 100644
--- a/plugins/jetpack/modules/wordads/php/class-wordads-sidebar-widget.php
+++ b/plugins/jetpack/modules/wordads/php/class-wordads-sidebar-widget.php
@@ -39,6 +39,20 @@ class WordAds_Sidebar_Widget extends WP_Widget {
'customize_selective_refresh' => true,
)
);
+
+ add_filter( 'widget_types_to_hide_from_legacy_widget_block', array( $this, 'hide_widget_in_block_editor' ) );
+ }
+
+ /**
+ * Remove the Ad widget from the Legacy Widget block
+ *
+ * @param array $widget_types List of widgets that are currently removed from the Legacy Widget block.
+ *
+ * @return array $widget_types New list of widgets that will be removed.
+ */
+ public function hide_widget_in_block_editor( $widget_types ) {
+ $widget_types[] = 'wordads_sidebar_widget';
+ return $widget_types;
}
/**
diff --git a/plugins/jetpack/modules/wordads/php/cron.php b/plugins/jetpack/modules/wordads/php/cron.php
deleted file mode 100644
index 88677e53..00000000
--- a/plugins/jetpack/modules/wordads/php/cron.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-
-/**
- * WordAds cron tasks
- *
- * @since 4.5.0
- */
-class WordAds_Cron {
-
- /**
- * Add the actions the cron tasks will use
- *
- * @since 4.5.0
- */
- function __construct() {
- add_action( 'wordads_cron_status', array( $this, 'update_wordads_status' ) );
- }
-
- /**
- * Registered scheduled events on activation
- *
- * @since 4.5.0
- */
- static function activate() {
- wp_schedule_event( time(), 'daily', 'wordads_cron_status' );
- }
-
- /**
- * Clear scheduled hooks on deactivation
- *
- * @since 4.5.0
- */
- static function deactivate() {
- wp_clear_scheduled_hook( 'wordads_cron_status' );
- }
-
- /**
- * Grab WordAds status from WP.com API
- *
- * @since 4.5.0
- */
- static function update_wordads_status() {
- WordAds_API::update_wordads_status_from_api();
- }
-}
-
-global $wordads_cron;
-$wordads_cron = new WordAds_Cron();
diff --git a/plugins/jetpack/modules/wordads/php/params.php b/plugins/jetpack/modules/wordads/php/params.php
deleted file mode 100644
index 30c86648..00000000
--- a/plugins/jetpack/modules/wordads/php/params.php
+++ /dev/null
@@ -1,228 +0,0 @@
-<?php
-
-use Automattic\Jetpack\Status;
-
-class WordAds_Params {
-
- /**
- * Setup parameters for serving the ads
- *
- * @since 4.5.0
- */
- public function __construct() {
- // WordAds setting => default
- $settings = array(
- 'wordads_approved' => false,
- 'wordads_active' => false,
- 'wordads_house' => true,
- 'wordads_unsafe' => false,
- 'enable_header_ad' => true,
- 'wordads_second_belowpost' => true,
- 'wordads_display_front_page' => true,
- 'wordads_display_post' => true,
- 'wordads_display_page' => true,
- 'wordads_display_archive' => true,
- 'wordads_custom_adstxt' => '',
- );
-
- // grab settings, or set as default if it doesn't exist
- $this->options = array();
- foreach ( $settings as $setting => $default ) {
- $option = get_option( $setting, null );
-
- if ( is_null( $option ) ) {
- update_option( $setting, $default, true );
- $option = $default;
- }
-
- $this->options[ $setting ] = 'wordads_custom_adstxt' !== $setting ? (bool) $option : $option;
- }
-
- $host = 'localhost';
- if ( isset( $_SERVER['HTTP_HOST'] ) ) {
- $host = $_SERVER['HTTP_HOST'];
- }
-
- $this->url = ( is_ssl() ? 'https' : 'http' ) . '://' . $host . $_SERVER['REQUEST_URI'];
- if ( ! ( false === strpos( $this->url, '?' ) ) && ! isset( $_GET['p'] ) ) {
- $this->url = substr( $this->url, 0, strpos( $this->url, '?' ) );
- }
-
- $this->cloudflare = self::is_cloudflare();
- $this->blog_id = Jetpack::get_option( 'id', 0 );
- $this->mobile_device = jetpack_is_mobile( 'any', true );
- $this->targeting_tags = array(
- 'WordAds' => 1,
- 'BlogId' => ( new Status() )->is_development_mode() ? 0 : Jetpack_Options::get_option( 'id' ),
- 'Domain' => esc_js( wp_parse_url( home_url(), PHP_URL_HOST ) ),
- 'PageURL' => esc_js( $this->url ),
- 'LangId' => false !== strpos( get_bloginfo( 'language' ), 'en' ) ? 1 : 0, // TODO something else?
- 'AdSafe' => 1, // TODO
- );
- }
-
- /**
- * @return boolean true if the user is browsing on a mobile device (iPad not included)
- *
- * @since 4.5.0
- */
- public function is_mobile() {
- return ! empty( $this->mobile_device );
- }
-
- /**
- * @return boolean true if site is being served via CloudFlare
- *
- * @since 4.5.0
- */
- public static function is_cloudflare() {
- if (
- defined( 'WORDADS_CLOUDFLARE' )
- || isset( $_SERVER['HTTP_CF_CONNECTING_IP'] )
- || isset( $_SERVER['HTTP_CF_IPCOUNTRY'] )
- || isset( $_SERVER['HTTP_CF_VISITOR'] )
- ) {
- return true;
- }
-
- return false;
- }
-
- /**
- * @return boolean true if user is browsing in iOS device
- *
- * @since 4.5.0
- */
- public function is_ios() {
- return in_array( $this->get_device(), array( 'ipad', 'iphone', 'ipod' ) );
- }
-
- /**
- * Returns the user's device (see user-agent.php) or 'desktop'
- *
- * @return string user device
- *
- * @since 4.5.0
- */
- public function get_device() {
- global $agent_info;
-
- if ( ! empty( $this->mobile_device ) ) {
- return $this->mobile_device;
- }
-
- if ( $agent_info->is_ipad() ) {
- return 'ipad';
- }
-
- return 'desktop';
- }
-
- /**
- * @return string The type of page that is being loaded
- *
- * @since 4.5.0
- */
- public function get_page_type() {
- if ( ! empty( $this->page_type ) ) {
- return $this->page_type;
- }
-
- if ( self::is_static_home() ) {
- $this->page_type = 'static_home';
- } elseif ( is_home() ) {
- $this->page_type = 'home';
- } elseif ( is_page() ) {
- $this->page_type = 'page';
- } elseif ( is_single() ) {
- $this->page_type = 'post';
- } elseif ( is_search() ) {
- $this->page_type = 'search';
- } elseif ( is_category() ) {
- $this->page_type = 'category';
- } elseif ( is_archive() ) {
- $this->page_type = 'archive';
- } else {
- $this->page_type = 'wtf';
- }
-
- return $this->page_type;
- }
-
- /**
- * @return int The page type code for ipw config
- *
- * @since 5.6.0
- */
- public function get_page_type_ipw() {
- if ( ! empty( $this->page_type_ipw ) ) {
- return $this->page_type_ipw;
- }
-
- $page_type_ipw = 6;
- if ( self::is_static_home() || is_home() || is_front_page() ) {
- $page_type_ipw = 0;
- } elseif ( is_page() ) {
- $page_type_ipw = 2;
- } elseif ( is_singular() ) {
- $page_type_ipw = 1;
- } elseif ( is_search() ) {
- $page_type_ipw = 4;
- } elseif ( is_category() || is_tag() || is_archive() || is_author() ) {
- $page_type_ipw = 3;
- } elseif ( is_404() ) {
- $page_type_ipw = 5;
- }
-
- $this->page_type_ipw = $page_type_ipw;
- return $page_type_ipw;
- }
-
- /**
- * Returns true if page is static home
- *
- * @return boolean true if page is static home
- *
- * @since 4.5.0
- */
- public static function is_static_home() {
- return is_front_page() &&
- 'page' == get_option( 'show_on_front' ) &&
- get_option( 'page_on_front' );
- }
-
- /**
- * Logic for if we should show an ad
- *
- * @since 4.5.0
- */
- public function should_show() {
- global $wp_query;
- if ( ( is_front_page() || is_home() ) && ! $this->options['wordads_display_front_page'] ) {
- return false;
- }
-
- if ( is_single() && ! $this->options['wordads_display_post'] ) {
- return false;
- }
-
- if ( is_page() && ! $this->options['wordads_display_page'] ) {
- return false;
- }
-
- if ( ( is_archive() || is_search() ) && ! $this->options['wordads_display_archive'] ) {
- return false;
- }
-
- if ( is_single() || ( is_page() && ! is_home() ) ) {
- return true;
- }
-
- // TODO this would be a good place for allowing the user to specify
- if ( ( is_home() || is_archive() || is_search() ) && 0 == $wp_query->current_post ) {
- return true;
- }
-
- return false;
- }
-}
diff --git a/plugins/jetpack/modules/wordads/php/widgets.php b/plugins/jetpack/modules/wordads/php/widgets.php
deleted file mode 100644
index 782c2dcd..00000000
--- a/plugins/jetpack/modules/wordads/php/widgets.php
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-
-/**
- * Widget for inserting an ad into your sidebar
- *
- * @since 4.5.0
- */
-class WordAds_Sidebar_Widget extends WP_Widget {
-
- private static $allowed_tags = array( 'mrec', 'wideskyscraper' );
- private static $num_widgets = 0;
-
- function __construct() {
- parent::__construct(
- 'wordads_sidebar_widget',
- /** This filter is documented in modules/widgets/facebook-likebox.php */
- apply_filters( 'jetpack_widget_name', 'Ads' ),
- array(
- 'description' => __( 'Insert an ad unit wherever you can place a widget.', 'jetpack' ),
- 'customize_selective_refresh' => true,
- )
- );
- }
-
- public function widget( $args, $instance ) {
- global $wordads;
- if ( $wordads->should_bail() ) {
- return false;
- }
-
- if ( ! isset( $instance['unit'] ) ) {
- $instance['unit'] = 'mrec';
- }
-
- self::$num_widgets++;
- $about = __( 'Advertisements', 'jetpack' );
- $width = WordAds::$ad_tag_ids[ $instance['unit'] ]['width'];
- $height = WordAds::$ad_tag_ids[ $instance['unit'] ]['height'];
- $unit_id = 1 == self::$num_widgets ? 3 : self::$num_widgets + 3; // 2nd belowpost is '4'
- $section_id = 0 === $wordads->params->blog_id ?
- WORDADS_API_TEST_ID :
- $wordads->params->blog_id . $unit_id;
-
- $snippet = '';
- if ( $wordads->option( 'wordads_house', true ) ) {
- $unit = 'mrec';
- if ( 'leaderboard' == $instance['unit'] && ! $this->params->mobile_device ) {
- $unit = 'leaderboard';
- } elseif ( 'wideskyscraper' == $instance['unit'] ) {
- $unit = 'widesky';
- }
-
- $snippet = $wordads->get_house_ad( $unit );
- } else {
- $snippet = $wordads->get_ad_snippet( $section_id, $height, $width, 'widget' );
- }
-
- echo <<< HTML
- <div class="wpcnt">
- <div class="wpa">
- <span class="wpa-about">$about</span>
- <div class="u {$instance['unit']}">
- $snippet
- </div>
- </div>
- </div>
-HTML;
- }
-
- public function form( $instance ) {
- // ad unit type
- if ( isset( $instance['unit'] ) ) {
- $unit = $instance['unit'];
- } else {
- $unit = 'mrec';
- }
- ?>
- <p>
- <label for="<?php echo esc_attr( $this->get_field_id( 'unit' ) ); ?>"><?php _e( 'Tag Dimensions:', 'jetpack' ); ?></label>
- <select class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'unit' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'unit' ) ); ?>">
- <?php
- foreach ( WordAds::$ad_tag_ids as $ad_unit => $properties ) {
- if ( ! in_array( $ad_unit, self::$allowed_tags ) ) {
- continue;
- }
-
- $splits = explode( '_', $properties['tag'] );
- $unit_pretty = "{$splits[0]} {$splits[1]}";
- $selected = selected( $ad_unit, $unit, false );
- echo "<option value='", esc_attr( $ad_unit ) ,"' ", $selected, '>', esc_html( $unit_pretty ) , '</option>';
- }
- ?>
- </select>
- </p>
- <?php
- }
-
- public function update( $new_instance, $old_instance ) {
- $instance = $old_instance;
-
- if ( in_array( $new_instance['unit'], self::$allowed_tags ) ) {
- $instance['unit'] = $new_instance['unit'];
- } else {
- $instance['unit'] = 'mrec';
- }
-
- return $instance;
- }
-}
-
-function jetpack_wordads_widgets_init_callback() {
- return register_widget( 'WordAds_Sidebar_Widget' );
-}
-
-add_action( 'widgets_init', 'jetpack_wordads_widgets_init_callback' );
diff --git a/plugins/jetpack/modules/wordads/wordads.php b/plugins/jetpack/modules/wordads/wordads.php
deleted file mode 100644
index fee0520d..00000000
--- a/plugins/jetpack/modules/wordads/wordads.php
+++ /dev/null
@@ -1,717 +0,0 @@
-<?php
-
-define( 'WORDADS_ROOT', dirname( __FILE__ ) );
-define( 'WORDADS_BASENAME', plugin_basename( __FILE__ ) );
-define( 'WORDADS_FILE_PATH', WORDADS_ROOT . '/' . basename( __FILE__ ) );
-define( 'WORDADS_URL', plugins_url( '/', __FILE__ ) );
-define( 'WORDADS_API_TEST_ID', '26942' );
-define( 'WORDADS_API_TEST_ID2', '114160' );
-
-require_once WORDADS_ROOT . '/php/widgets.php';
-require_once WORDADS_ROOT . '/php/api.php';
-require_once WORDADS_ROOT . '/php/cron.php';
-
-class WordAds {
-
- public $params = null;
-
- public $ads = array();
-
- /**
- * Array of supported ad types.
- *
- * @var array
- */
- public static $ad_tag_ids = array(
- 'mrec' => array(
- 'tag' => '300x250_mediumrectangle',
- 'height' => '250',
- 'width' => '300',
- ),
- 'leaderboard' => array(
- 'tag' => '728x90_leaderboard',
- 'height' => '90',
- 'width' => '728',
- ),
- 'mobile_leaderboard' => array(
- 'tag' => '320x50_mobileleaderboard',
- 'height' => '50',
- 'width' => '320',
- ),
- 'wideskyscraper' => array(
- 'tag' => '160x600_wideskyscraper',
- 'height' => '600',
- 'width' => '160',
- ),
- );
-
- /**
- * Mapping array of location slugs to placement ids
- *
- * @var array
- */
- public static $ad_location_ids = array(
- 'top' => 110,
- 'belowpost' => 120,
- 'belowpost2' => 130,
- 'sidebar' => 140,
- 'widget' => 150,
- 'gutenberg' => 200,
- 'inline' => 310,
- 'inline-plugin' => 320,
- );
-
- /**
- * Counter to enable unique, sequential section IDs for all amp-ad units
- *
- * @var int
- */
- public static $amp_section_id = 1;
-
- /**
- * Checks for AMP support and returns true iff active & AMP request
- * @return boolean True if supported AMP request
- *
- * @since 7.5.0
- */
- public static function is_amp() {
- return class_exists( 'Jetpack_AMP_Support' ) && Jetpack_AMP_Support::is_amp_request();
- }
-
- /**
- * Increment the AMP section ID and return the value
- *
- * @return int
- */
- public static function get_amp_section_id() {
- return self::$amp_section_id++;
- }
-
- public static $SOLO_UNIT_CSS = 'float:left;margin-right:5px;margin-top:0px;';
-
- /**
- * Convenience function for grabbing options from params->options
- *
- * @param string $option the option to grab
- * @param mixed $default (optional)
- * @return option or $default if not set
- *
- * @since 4.5.0
- */
- function option( $option, $default = false ) {
- if ( ! isset( $this->params->options[ $option ] ) ) {
- return $default;
- }
-
- return $this->params->options[ $option ];
- }
-
- /**
- * Returns the ad tag property array for supported ad types.
- * @return array array with ad tags
- *
- * @since 7.1.0
- */
- function get_ad_tags() {
- return self::$ad_tag_ids;
- }
-
- /**
- * Returns the solo css for unit
- * @return string the special css for solo units
- *
- * @since 7.1.0
- */
- function get_solo_unit_css() {
- return self::$SOLO_UNIT_CSS;
- }
-
- /**
- * Instantiate the plugin
- *
- * @since 4.5.0
- */
- function __construct() {
- add_action( 'wp', array( $this, 'init' ) );
- add_action( 'rest_api_init', array( $this, 'init' ) );
- }
-
- /**
- * Code to run on WordPress 'init' hook
- *
- * @since 4.5.0
- */
- function init() {
- require_once WORDADS_ROOT . '/php/params.php';
- $this->params = new WordAds_Params();
-
- if ( $this->should_bail() || self::is_infinite_scroll() ) {
- return;
- }
-
- if ( is_admin() ) {
- require_once WORDADS_ROOT . '/php/admin.php';
- return;
- }
-
- $this->insert_adcode();
-
- if ( '/ads.txt' === $_SERVER['REQUEST_URI'] ) {
-
- if ( false === ( $ads_txt_transient = get_transient( 'jetpack_ads_txt' ) ) ) {
- $ads_txt_transient = ! is_wp_error( WordAds_API::get_wordads_ads_txt() ) ? WordAds_API::get_wordads_ads_txt() : '';
- set_transient( 'jetpack_ads_txt', $ads_txt_transient, DAY_IN_SECONDS );
- }
-
- /**
- * Provide plugins a way of modifying the contents of the automatically-generated ads.txt file.
- *
- * @module wordads
- *
- * @since 6.1.0
- *
- * @param string WordAds_API::get_wordads_ads_txt() The contents of the ads.txt file.
- */
- $ads_txt_content = apply_filters( 'wordads_ads_txt', $ads_txt_transient );
-
- http_response_code( 200 );
- header( 'Content-Type: text/plain; charset=utf-8' );
- echo esc_html( $ads_txt_content );
- die();
- }
- }
-
- /**
- * Check for Jetpack's The_Neverending_Home_Page and use got_infinity
- *
- * @return boolean true if load came from infinite scroll
- *
- * @since 4.5.0
- */
- public static function is_infinite_scroll() {
- return class_exists( 'The_Neverending_Home_Page' ) && The_Neverending_Home_Page::got_infinity();
- }
-
- /**
- * Add the actions/filters to insert the ads. Checks for mobile or desktop.
- *
- * @since 4.5.0
- */
- private function insert_adcode() {
- add_filter( 'wp_resource_hints', array( $this, 'resource_hints' ), 10, 2 );
- add_action( 'wp_head', array( $this, 'insert_head_meta' ), 20 );
- add_action( 'wp_head', array( $this, 'insert_head_iponweb' ), 30 );
- add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
- add_filter( 'wordads_ads_txt', array( $this, 'insert_custom_adstxt' ) );
-
- /**
- * Filters enabling ads in `the_content` filter
- *
- * @see https://jetpack.com/support/ads/
- *
- * @module wordads
- *
- * @since 5.8.0
- *
- * @param bool True to disable ads in `the_content`
- */
- if ( ! apply_filters( 'wordads_content_disable', false ) ) {
- add_filter( 'the_content', array( $this, 'insert_ad' ) );
- }
-
- /**
- * Filters enabling ads in `the_excerpt` filter
- *
- * @see https://jetpack.com/support/ads/
- *
- * @module wordads
- *
- * @since 5.8.0
- *
- * @param bool True to disable ads in `the_excerpt`
- */
- if ( ! apply_filters( 'wordads_excerpt_disable', false ) ) {
- add_filter( 'the_excerpt', array( $this, 'insert_ad' ) );
- }
-
- if ( $this->option( 'enable_header_ad', true ) ) {
- if ( self::is_amp() ) {
- add_filter( 'the_content', array( $this, 'insert_header_ad_amp' ) );
- } else {
- switch ( get_stylesheet() ) {
- case 'twentyseventeen':
- case 'twentyfifteen':
- case 'twentyfourteen':
- add_action( 'wp_footer', array( $this, 'insert_header_ad_special' ) );
- break;
- default:
- add_action( 'wp_head', array( $this, 'insert_header_ad' ), 100 );
- break;
- }
- }
- }
- }
-
- /**
- * Register desktop scripts and styles
- *
- * @since 4.5.0
- */
- function enqueue_scripts() {
- wp_enqueue_style(
- 'wordads',
- WORDADS_URL . 'css/style.css',
- array(),
- '2015-12-18'
- );
- }
-
- /**
- * Add the IPW resource hints
- *
- * @since 7.9
- */
- public function resource_hints( $hints, $relation_type ) {
- if ( 'dns-prefetch' === $relation_type ) {
- $hints[] = '//s.pubmine.com';
- $hints[] = '//x.bidswitch.net';
- $hints[] = '//static.criteo.net';
- $hints[] = '//ib.adnxs.com';
- $hints[] = '//aax.amazon-adsystem.com';
- $hints[] = '//bidder.criteo.com';
- $hints[] = '//cas.criteo.com';
- $hints[] = '//gum.criteo.com';
- $hints[] = '//ads.pubmatic.com';
- $hints[] = '//gads.pubmatic.com';
- $hints[] = '//tpc.googlesyndication.com';
- $hints[] = '//ad.doubleclick.net';
- $hints[] = '//googleads.g.doubleclick.net';
- $hints[] = '//www.googletagservices.com';
- $hints[] = '//cdn.switchadhub.com';
- $hints[] = '//delivery.g.switchadhub.com';
- $hints[] = '//delivery.swid.switchadhub.com';
- }
-
- return $hints;
- }
-
- /**
- * IPONWEB metadata used by the various scripts
- *
- * @return [type] [description]
- */
- function insert_head_meta() {
- if ( self::is_amp() ) {
- return;
- }
- $themename = esc_js( get_stylesheet() );
- $pagetype = intval( $this->params->get_page_type_ipw() );
- $data_tags = ( $this->params->cloudflare ) ? ' data-cfasync="false"' : '';
- $site_id = $this->params->blog_id;
- $consent = intval( isset( $_COOKIE['personalized-ads-consent'] ) );
- echo <<<HTML
- <script$data_tags type="text/javascript">
- var __ATA_PP = { pt: $pagetype, ht: 2, tn: '$themename', amp: false, siteid: $site_id, consent: $consent };
- var __ATA = __ATA || {};
- __ATA.cmd = __ATA.cmd || [];
- __ATA.criteo = __ATA.criteo || {};
- __ATA.criteo.cmd = __ATA.criteo.cmd || [];
- </script>
-HTML;
- }
-
- /**
- * IPONWEB scripts in <head>
- *
- * @since 4.5.0
- */
- function insert_head_iponweb() {
- if ( self::is_amp() ) {
- return;
- }
- $data_tags = ( $this->params->cloudflare ) ? ' data-cfasync="false"' : '';
- echo <<<HTML
- <script$data_tags type="text/javascript">
- (function(){function g(a,c){a:{for(var b=a.length,d="string"==typeof a?a.split(""):a,e=0;e<b;e++)if(e in d&&c.call(void 0,d[e],e,a)){c=e;break a}c=-1}return 0>c?null:"string"==typeof a?a.charAt(c):a[c]};function h(a,c,b){b=null!=b?"="+encodeURIComponent(String(b)):"";if(c+=b){b=a.indexOf("#");0>b&&(b=a.length);var d=a.indexOf("?");if(0>d||d>b){d=b;var e=""}else e=a.substring(d+1,b);a=[a.substr(0,d),e,a.substr(b)];b=a[1];a[1]=c?b?b+"&"+c:c:b;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a};var k=0;function l(a,c){var b=document.createElement("script");b.src=a;b.onload=function(){c&&c(void 0)};b.onerror=function(){c("error")};a=document.getElementsByTagName("head");var d;a&&0!==a.length?d=a[0]:d=document.documentElement;d.appendChild(b)}function m(a){return"string"==typeof a&&0<a.length}
- function p(a,c,b){c=void 0===c?"":c;b=void 0===b?".":b;var d=[];Object.keys(a).forEach(function(e){var f=a[e],n=typeof f;"object"==n&&null!=f||"function"==n?d.push(p(f,c+e+b)):null!==f&&void 0!==f&&(e=encodeURIComponent(c+e),d.push(e+"="+encodeURIComponent(f)))});return d.filter(m).join("&")}function q(){return window.__ATA||{}}function r(a,c){a||(q().config=c.c,l(c.url))}var t=Math.floor(1E13*Math.random());q().rid=t;
- var u=q().pageParams,v="//"+(q().serverDomain||"s.pubmine.com")+"/conf",w=window.top===window,x;try{var y=JSON.parse(document.getElementById("oil-configuration").innerText);if("boolean"!==typeof y.gdpr_applies)throw Error("Config doesn't contain gdpr_applies");x=y.gdpr_applies?1:0}catch(a){x=null}
- var z=x,A=window.__ATA_PP||u||null,B=w?document.referrer?document.referrer:null:null,C=w?null:document.referrer?document.referrer:null,D=function(){var a=void 0===a?document.cookie:a;return(a=g(a.split("; "),function(c){return-1!=c.indexOf("__ATA_tuuid=")}))?a.split("=")[1]:""}(),E=p({gdpr:z,pp:A,rid:t,src:B,ref:C,tuuid:D?D:null,vp:window.innerWidth+"x"+window.innerHeight},"",".");
- (function(a){var c;k++;var b="callback__"+Date.now().toString(36)+"_"+k.toString(36);a=h(a,void 0===c?"cb":c,b);window[b]=function(d){r(void 0,d)};l(a,function(d){d&&r(d)})})(v+"?"+E);}).call(this);
- </script>
-HTML;
- }
-
- /**
- * Insert the ad onto the page
- *
- * @since 4.5.0
- */
- function insert_ad( $content ) {
- // Don't insert ads in feeds, or for anything but the main display. (This is required for compatibility with the Publicize module).
- if ( is_feed() || ! is_main_query() || ! in_the_loop() ) {
- return $content;
- }
- /**
- * Allow third-party tools to disable the display of in post ads.
- *
- * @module wordads
- *
- * @since 4.5.0
- *
- * @param bool true Should the in post unit be disabled. Default to false.
- */
- $disable = apply_filters( 'wordads_inpost_disable', false );
- if ( ! $this->params->should_show() || $disable ) {
- return $content;
- }
-
- $ad_type = $this->option( 'wordads_house' ) ? 'house' : 'iponweb';
- return $content . $this->get_ad( 'belowpost', $ad_type );
- }
-
- /**
- * Insert an inline ad into a post content
- * Used for rendering the `wordads` shortcode.
- *
- * @since 6.1.0
- */
- function insert_inline_ad( $content ) {
- // Ad JS won't work in XML feeds.
- if ( is_feed() ) {
- return $content;
- }
- /**
- * Allow third-party tools to disable the display of in post ads.
- *
- * @module wordads
- *
- * @since 4.5.0
- *
- * @param bool true Should the in post unit be disabled. Default to false.
- */
- $disable = apply_filters( 'wordads_inpost_disable', false );
- if ( $disable ) {
- return $content;
- }
-
- $ad_type = $this->option( 'wordads_house' ) ? 'house' : 'iponweb';
- $content .= $this->get_ad( 'inline', $ad_type );
- return $content;
- }
-
- /**
- * Inserts ad into header
- *
- * @since 4.5.0
- */
- function insert_header_ad() {
- /**
- * Allow third-party tools to disable the display of header ads.
- *
- * @module wordads
- *
- * @since 4.5.0
- *
- * @param bool true Should the header unit be disabled. Default to false.
- */
- if ( apply_filters( 'wordads_header_disable', false ) ) {
- return;
- }
-
- $ad_type = $this->option( 'wordads_house' ) ? 'house' : 'iponweb';
- echo $this->get_ad( 'top', $ad_type );
- }
-
- /**
- * Special cases for inserting header unit via jQuery
- *
- * @since 4.5.0
- */
- function insert_header_ad_special() {
- /**
- * Allow third-party tools to disable the display of header ads.
- *
- * @module wordads
- *
- * @since 4.5.0
- *
- * @param bool true Should the header unit be disabled. Default to false.
- */
- if ( apply_filters( 'wordads_header_disable', false ) ) {
- return;
- }
-
- $selector = '#content';
- switch ( get_stylesheet() ) {
- case 'twentyseventeen':
- $selector = '#content';
- break;
- case 'twentyfifteen':
- $selector = '#main';
- break;
- case 'twentyfourteen':
- $selector = 'article:first';
- break;
- }
-
- $ad_type = $this->option( 'wordads_house' ) ? 'house' : 'iponweb';
- echo $this->get_ad( 'top', $ad_type );
- if ( ! self::is_amp() ) {
- echo <<<HTML
- <script type="text/javascript">
- jQuery('.wpcnt-header').insertBefore('$selector');
- </script>
-HTML;
- }
- }
-
- /**
- * Header unit for AMP
- *
- * @param string $content Content of the page.
- *
- * @since 7.5.0
- */
- public function insert_header_ad_amp( $content ) {
-
- $ad_type = $this->option( 'wordads_house' ) ? 'house' : 'iponweb';
- if ( 'house' === $ad_type ) {
- return $content;
- }
- return $this->get_ad( 'top_amp', $ad_type ) . $content;
-
- }
-
- /**
- * Filter the latest ads.txt to include custom user entries. Strips any tags or whitespace.
- *
- * @param string $adstxt The ads.txt being filtered
- * @return string Filtered ads.txt with custom entries, if applicable
- *
- * @since 6.5.0
- */
- function insert_custom_adstxt( $adstxt ) {
- $custom_adstxt = trim( wp_strip_all_tags( $this->option( 'wordads_custom_adstxt' ) ) );
- if ( $custom_adstxt ) {
- $adstxt .= "\n\n#Jetpack - User Custom Entries\n";
- $adstxt .= $custom_adstxt . "\n";
- }
-
- return $adstxt;
- }
-
- /**
- * Get the ad for the spot and type.
- *
- * @param string $spot top, side, inline, or belowpost
- * @param string $type iponweb or adsense
- */
- function get_ad( $spot, $type = 'iponweb' ) {
- $snippet = '';
- if ( 'iponweb' == $type ) {
- // Default to mrec
- $width = 300;
- $height = 250;
-
- $section_id = WORDADS_API_TEST_ID;
- $second_belowpost = '';
- $snippet = '';
- if ( 'top' == $spot ) {
- // mrec for mobile, leaderboard for desktop
- $section_id = 0 === $this->params->blog_id ? WORDADS_API_TEST_ID : $this->params->blog_id . '2';
- $width = $this->params->mobile_device ? 300 : 728;
- $height = $this->params->mobile_device ? 250 : 90;
- $snippet = $this->get_ad_snippet( $section_id, $height, $width, $spot );
- } elseif ( 'belowpost' == $spot ) {
- $section_id = 0 === $this->params->blog_id ? WORDADS_API_TEST_ID : $this->params->blog_id . '1';
- $width = 300;
- $height = 250;
-
- $snippet = $this->get_ad_snippet( $section_id, $height, $width, $spot, self::$SOLO_UNIT_CSS );
- if ( $this->option( 'wordads_second_belowpost', true ) ) {
- $section_id2 = 0 === $this->params->blog_id ? WORDADS_API_TEST_ID2 : $this->params->blog_id . '4';
- $snippet .= $this->get_ad_snippet( $section_id2, $height, $width, $spot . '2', 'float:left;margin-top:0px;' );
- }
- } elseif ( 'inline' === $spot ) {
- $section_id = 0 === $this->params->blog_id ? WORDADS_API_TEST_ID : $this->params->blog_id . '5';
- $snippet = $this->get_ad_snippet( $section_id, $height, $width, $spot, self::$SOLO_UNIT_CSS );
- } elseif ( 'top_amp' === $spot ) {
- // 320x50 unit which can safely be inserted below title, above content in a variety of themes.
- $width = 320;
- $height = 50;
- $snippet = $this->get_ad_snippet( null, $height, $width );
- }
- } elseif ( 'house' == $type ) {
- $leaderboard = 'top' == $spot && ! $this->params->mobile_device;
- $snippet = $this->get_house_ad( $leaderboard ? 'leaderboard' : 'mrec' );
- if ( 'belowpost' == $spot && $this->option( 'wordads_second_belowpost', true ) ) {
- $snippet .= $this->get_house_ad( $leaderboard ? 'leaderboard' : 'mrec' );
- }
- }
-
- return $this->get_ad_div( $spot, $snippet );
- }
-
-
- /**
- * Returns the snippet to be inserted into the ad unit
- *
- * @param int $section_id
- * @param int $height
- * @param int $width
- * @param int $location
- * @param string $css
- * @return string
- *
- * @since 5.7
- */
- public function get_ad_snippet( $section_id, $height, $width, $location = '', $css = '' ) {
- $this->ads[] = array(
- 'location' => $location,
- 'width' => $width,
- 'height' => $height,
- );
-
- if ( self::is_amp() ) {
- $height = esc_attr( $height + 15 ); // this will ensure enough padding for "Report this ad"
- $width = esc_attr( $width );
- $amp_section_id = esc_attr( self::get_amp_section_id() );
- $site_id = esc_attr( $this->params->blog_id );
- return <<<HTML
- <amp-ad width="$width" height="$height"
- type="pubmine"
- data-siteid="$site_id"
- data-section="$amp_section_id">
- </amp-ad>
-HTML;
- }
-
- $ad_number = count( $this->ads ) . '-' . uniqid();
- $data_tags = $this->params->cloudflare ? ' data-cfasync="false"' : '';
- $css = esc_attr( $css );
-
- $loc_id = 100;
- if ( ! empty( self::$ad_location_ids[ $location ] ) ) {
- $loc_id = self::$ad_location_ids[ $location ];
- }
-
- return <<<HTML
- <div style="padding-bottom:15px;width:{$width}px;height:{$height}px;$css">
- <div id="atatags-{$ad_number}">
- <script$data_tags type="text/javascript">
- __ATA.cmd.push(function() {
- __ATA.initSlot('atatags-{$ad_number}', {
- collapseEmpty: 'before',
- sectionId: '{$section_id}',
- location: {$loc_id},
- width: {$width},
- height: {$height}
- });
- });
- </script>
- </div>
- </div>
-HTML;
- }
-
- /**
- * Returns the complete ad div with snippet to be inserted into the page
- *
- * @param string $spot top, side, inline, or belowpost
- * @param string $snippet The snippet to insert into the div
- * @param array $css_classes
- * @return string The supporting ad unit div
- *
- * @since 7.1
- */
- function get_ad_div( $spot, $snippet, array $css_classes = array() ) {
- if ( empty( $css_classes ) ) {
- $css_classes = array();
- }
-
- $css_classes[] = 'wpcnt';
- if ( 'top' == $spot ) {
- $css_classes[] = 'wpcnt-header';
- }
-
- $spot = esc_attr( $spot );
- $classes = esc_attr( implode( ' ', $css_classes ) );
- $about = esc_html__( 'Advertisements', 'jetpack' );
- return <<<HTML
- <div class="$classes">
- <div class="wpa">
- <span class="wpa-about">$about</span>
- <div class="u $spot">
- $snippet
- </div>
- </div>
- </div>
-HTML;
- }
-
- /**
- * Check the reasons to bail before we attempt to insert ads.
- *
- * @return true if we should bail (don't insert ads)
- *
- * @since 4.5.0
- */
- public function should_bail() {
- return ! $this->option( 'wordads_approved' ) || (bool) $this->option( 'wordads_unsafe' );
- }
-
- /**
- * Returns markup for HTML5 house ad base on unit
- *
- * @param string $unit mrec, widesky, or leaderboard
- * @return string markup for HTML5 house ad
- *
- * @since 4.7.0
- */
- public function get_house_ad( $unit = 'mrec' ) {
-
- switch ( $unit ) {
- case 'widesky':
- $width = 160;
- $height = 600;
- break;
- case 'leaderboard':
- $width = 728;
- $height = 90;
- break;
- case 'mrec':
- default:
- $width = 300;
- $height = 250;
- break;
- }
-
- return <<<HTML
- <iframe
- src="https://s0.wp.com/wp-content/blog-plugins/wordads/house/html5/$unit/index.html"
- width="$width"
- height="$height"
- frameborder="0"
- scrolling="no"
- marginheight="0"
- marginwidth="0">
- </iframe>
-HTML;
- }
-
- /**
- * Activation hook actions
- *
- * @since 4.5.0
- */
- public static function activate() {
- WordAds_API::update_wordads_status_from_api();
- }
-}
-
-add_action( 'jetpack_activate_module_wordads', array( 'WordAds', 'activate' ) );
-add_action( 'jetpack_activate_module_wordads', array( 'WordAds_Cron', 'activate' ) );
-add_action( 'jetpack_deactivate_module_wordads', array( 'WordAds_Cron', 'deactivate' ) );
-
-global $wordads;
-$wordads = new WordAds();
diff --git a/plugins/jetpack/modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php b/plugins/jetpack/modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php
index 6fc48967..799b8272 100644
--- a/plugins/jetpack/modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php
+++ b/plugins/jetpack/modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php
@@ -91,8 +91,8 @@ class Jetpack_WPCOM_Block_Editor {
* Prevents frame options header from firing if this is a allowed iframe request.
*/
public function disable_send_frame_options_header() {
- // phpcs:ignore WordPress.Security.NonceVerification
- if ( $this->framing_allowed( $_GET['frame-nonce'] ) ) {
+ // phpcs:ignore WordPress.Security.NonceVerification, WordPress.Security.ValidatedSanitizedInput
+ if ( isset( $_GET['frame-nonce'] ) && $this->framing_allowed( $_GET['frame-nonce'] ) ) {
remove_action( 'admin_init', 'send_frame_options_header' );
}
}
@@ -104,8 +104,8 @@ class Jetpack_WPCOM_Block_Editor {
* @return string
*/
public function add_iframed_body_class( $classes ) {
- // phpcs:ignore WordPress.Security.NonceVerification
- if ( $this->framing_allowed( $_GET['frame-nonce'] ) ) {
+ // phpcs:ignore WordPress.Security.NonceVerification, WordPress.Security.ValidatedSanitizedInput
+ if ( isset( $_GET['frame-nonce'] ) && $this->framing_allowed( $_GET['frame-nonce'] ) ) {
$classes .= ' is-iframed ';
}
@@ -118,12 +118,12 @@ class Jetpack_WPCOM_Block_Editor {
* force the editor to break out of the iFrame.
*/
private function check_iframe_cookie_setting() {
- if ( ! isset( $_SERVER['QUERY_STRING'] ) || ! strpos( $_SERVER['QUERY_STRING'], 'calypsoify%3D1%26block-editor' ) || isset( $_COOKIE['wordpress_test_cookie'] ) ) {
+ if ( ! isset( $_SERVER['QUERY_STRING'] ) || ! strpos( filter_var( wp_unslash( $_SERVER['QUERY_STRING'] ) ), 'calypsoify%3D1%26block-editor' ) || isset( $_COOKIE['wordpress_test_cookie'] ) ) {
return;
}
- if ( empty( $_GET['calypsoify_cookie_check'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- header( 'Location: ' . esc_url_raw( $_SERVER['REQUEST_URI'] . '&calypsoify_cookie_check=true' ) );
+ if ( isset( $_SERVER['REQUEST_URI'] ) && empty( $_GET['calypsoify_cookie_check'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ header( 'Location: ' . esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) . '&calypsoify_cookie_check=true' ) );
exit;
}
@@ -140,11 +140,12 @@ class Jetpack_WPCOM_Block_Editor {
if ( empty( $_REQUEST['redirect_to'] ) ) {
return;
}
+ // phpcs:ignore WordPress.Security.NonceVerification
+ $redirect_to = esc_url_raw( wp_unslash( $_REQUEST['redirect_to'] ) );
$this->check_iframe_cookie_setting();
- // phpcs:ignore WordPress.Security.NonceVerification
- $query = wp_parse_url( urldecode( $_REQUEST['redirect_to'] ), PHP_URL_QUERY );
+ $query = wp_parse_url( urldecode( $redirect_to ), PHP_URL_QUERY );
$args = wp_parse_args( $query );
// Check nonce and make sure this is a Gutenframe request.
@@ -188,7 +189,7 @@ class Jetpack_WPCOM_Block_Editor {
*/
public function add_login_html() {
?>
- <input type="hidden" name="redirect_to" value="<?php echo esc_url( $_REQUEST['redirect_to'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended ?>" />
+ <input type="hidden" name="redirect_to" value="<?php echo isset( $_REQUEST['redirect_to'] ) ? esc_url( wp_unslash( $_REQUEST['redirect_to'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized ?>" />
<script type="application/javascript">
document.getElementById( 'loginform' ).addEventListener( 'submit' , function() {
document.getElementById( 'wp-submit' ).setAttribute( 'disabled', 'disabled' );
@@ -414,7 +415,7 @@ class Jetpack_WPCOM_Block_Editor {
global $post;
if ( ! $post instanceof WP_Post ) {
return false;
- };
+ }
if ( ! has_blocks( $post ) ) {
return false;
diff --git a/plugins/jetpack/readme.txt b/plugins/jetpack/readme.txt
index 4f6745e5..919760e5 100644
--- a/plugins/jetpack/readme.txt
+++ b/plugins/jetpack/readme.txt
@@ -1,10 +1,10 @@
=== Jetpack - WP Security, Backup, Speed, & Growth ===
Contributors: automattic, adamkheckler, adrianmoldovanwp, aduth, akirk, allendav, alternatekev, andy, annamcphee, annezazu, apeatling, arcangelini, azaozz, batmoo, barry, beaulebens, biskobe, blobaugh, bjorsch, brbrr, cainm, cena, cfinke, chaselivingston, chellycat, clickysteve, csonnek, danielbachhuber, davoraltman, daniloercoli, delawski, designsimply, dllh, drawmyface, dsmart, dzver, ebinnion, egregor, eliorivero, enej, eoigal, erania-pinnera, ethitter, fgiannar, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, jblz, jasmussen, jeffgolenski, jeherve, jenhooks, jenia, jessefriedman, jgs, jkudish, jmdodd, joanrho, johnjamesjacoby, jshreve, kbrownkd, keoshi, koke, kraftbj, lancewillett, leogermani, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, mdbitz, MichaelArestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, oskosk, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, robertbpugh, roccotripaldi, samhotchkiss, samiff, scarstocea, scottsweb, sdixon194, sdquirk, sermitr, simison, stephdau, tmoorewp, tyxla, Viper007Bond, westi, yoavf, zinigor
Tags: Security, backup, Woo, malware, scan, spam, CDN, search, social
-Stable tag: 10.5
-Requires at least: 5.8
+Stable tag: 11.0
+Requires at least: 5.9
Requires PHP: 5.6
-Tested up to: 5.9
+Tested up to: 6.0
Improve your WP security with powerful one-click tools like backup and malware scan. Get essential free tools including stats, CDN and social sharing.
@@ -242,49 +242,39 @@ Jetpack Backup can do a full website migration to a new host, migrate theme file
4. Promote your newest posts, pages, and products across your social media channels.
== Changelog ==
-### 10.5 - 2022-01-11
+### 11.0 - 2022-06-07
#### Enhancements
-- Print Styles: additional interactive elements are now hidden when printing posts (e.g. Likes, Recommended Posts, Share this).
-- Secure Sign On: add filters for the error text when a local user cannot be found for a given WP.com account and for when SSO is disallowed when on a staging site.
-- Subscription Block: add 'Success Message Text' to the block settings.
-- VideoPress: add "allow download" option on videos to allow viewers to download the video.
-- VideoPress Block: add adaptive progress bar color settings
-- WordAds: add hook for header ad placement, and allow 'leaderboard' size when displaying an ad widget.
+- Custom CSS: add support for CSS properties: accent-color, aspect-ratio, gap, text-underline-offset.
+- Custom CSS: ensure the Additional CSS sub-menu link is more prominent.
+- Email subscriptions: update the default body of the "Confirmation request" email.
+- Google Fonts: add additional fonts to the list of available fonts.
+- Latest Instagram Posts Block: improve performance of the block by adding lazy load for the images.
+- Publicize: load Publicize only if the Publicize module is active.
+- Payments Block: refactor the donation block by unifying Stripe Nudge component.
+- Payments Block: reset form data to default values after creating a subscription.
+- Payments Block: refactor the product memberships store to reduce complexity and improve speed.
+- Sharing: update the email sharing button to use mailto links instead of server submissions.
+- VideoPress: add support for automatic seekbar color.
+- VideoPress: improve Extensibility of Privacy Setting filter by adding the embedded post id.
+- VideoPress: improve help message of VideoPress Privacy Setting at the block level.
+- WAF: add settings UI for Jetpack Firewall.
#### Improved compatibility
-- General: ensure Jetpack options are properly deleted when the plugin is deactivated.
-- General: update WordPress version requirements to WordPress 5.8.
-- Media Extractor: add support for alt_text in extract.
-- Notifications: remove legacy code supporting IE versions older than 9.
-- Pay with PayPal: update the name of the script enqueued when using the Pay with PayPal button as to avoid conflicts with other plugins that may use a similar script tag.
-- Pay with PayPal Widget: hide widget from Legacy Widget block.
-- Stats: remove legacy option to display a Smiley face used for the tracking pixel since the pixel is hidden by default.
-- Twitter Timeline widget: hide widget from the block inserter and Legacy widget block drop-down menu.
-- VideoPress: classic block embeds with old flash URLs can now be properly converted to VideoPress blocks.
-- VideoPress: hide the dedicated VideoPress embed block in favor of Video block.
+- General: improve connection sharing between Jetpack and Jetpack standalone plugins.
+- Stats: remove unnecessary type attribute from style element.
#### Bug fixes
-- Contact Form: avoid PHP notices in submitted forms in some cases.
-- Cookies & Consents Banner: fix preview in Customizer and block widget editor.
-- Dashboard: fix logic that blocked one from enabling searchable features from the Jetpack settings.
-- Dashboard: hide licensing interface from users who did not link their account to WordPress.com yet, or who are not the main Jetpack connection owner.
-- General: prevent an E_NOTICE when running in non-web context.
-- Instant Search: ensure the hidden overlay doesn't add whitespace to printed pages.
-- Internationalization: ensure that all text, including text added via JavaScript, can be translated.
-- Jetpack: activate the default modules when the site has already been connected before plugin activation.
-- Jetpack: do not display recommendations during an identity crisis.
-- Milestone widget: fix issue that prevented styles from loading until the widget is saved.
-- Search: fix styling conflict for Blank Canvas theme.
-- Security: PDF embeds now only display a link, to avoid issues with malicious PDFss that may run arbitrary code.
-- Settings menu: add Jetpack item for sites with Scan product.
-- Sharing Buttons: rely on official sharing buttons only for Facebook share counts.
-- Stats: do not trigger views when post is embedded into another site.
-- VideoPress: avoid errors when copying and pasting empty video blocks.
-- VideoPress: reload embed preview on creation until the video size is known.
-- VideoPress Block: maintain the state of different settings panels when reloading the video preview.
-- Vimeo Embeds: support more URL formats, such as videos in playlists.
-- WhatsApp block: fix country code for Cyprus.
-- Widget Visibility: fix "Match All" setting being overwritten on save in the block widget editor.
+- Assistant: fix unclickable banner dismiss button.
+- Comments: update UI to reflect that Google accounts are no longer a sign-in option.
+- Custom CSS: avoid PHP notice when using the Sass preprocessor on PHP 7.4+.
+- Payments Block: ensure Payments Block can only auto-select an existing product.
+- VideoPress: remove strict comparison to fix average color parameter.
+- Stats: ensure the Stats column can always be displayed, even when the post type does not support comments.
+- Subscriptions: fix typo in confirmation message.
+- VaultPress: fix a bug that caused certain cards in the Dashboard to flicker in some circumstances when VaultPress is active.
+- VideoPress: fix validation errors for core video block usage.
+- WAF: add activation/deactivation hooks for WAF feature.
+- Widget Visibility: avoid PHP warnings when loading widgets in some scenarios.
--------
diff --git a/plugins/jetpack/require-lib.php b/plugins/jetpack/require-lib.php
index cf992f49..e0830316 100644
--- a/plugins/jetpack/require-lib.php
+++ b/plugins/jetpack/require-lib.php
@@ -1,4 +1,16 @@
<?php
+/**
+ * File with a single function for loading library files.
+ *
+ * @package automattic/jetpack
+ */
+
+/**
+ * Function for loading library files.
+ *
+ * @param string $slug Library slug.
+ * @return void
+ */
function jetpack_require_lib( $slug ) {
static $loaded = array();
diff --git a/plugins/jetpack/sal/class.json-api-date.php b/plugins/jetpack/sal/class.json-api-date.php
index c5c0cb38..106187a0 100644
--- a/plugins/jetpack/sal/class.json-api-date.php
+++ b/plugins/jetpack/sal/class.json-api-date.php
@@ -1,20 +1,29 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * WPCOM_JSON_API_Date class.
+ *
+ * @package automattic/jetpack
+ */
+/**
+ * Base class for WPCOM_JSON_API_Date.
+ */
class WPCOM_JSON_API_Date {
/**
* Returns ISO 8601 formatted datetime: 2011-12-08T01:15:36-08:00
*
- * @param $date_gmt (string) GMT datetime string.
- * @param $date (string) Optional. Used to calculate the offset from GMT.
+ * @param string $date_gmt GMT datetime string.
+ * @param string $date Optional. Used to calculate the offset from GMT.
*
* @return string
*/
- static function format_date( $date_gmt, $date = null ) {
+ public static function format_date( $date_gmt, $date = null ) {
$timestamp_gmt = strtotime( "$date_gmt+0000" );
if ( null === $date ) {
$timestamp = $timestamp_gmt;
- $hours = $minutes = $west = 0;
+ $west = 0;
+ $minutes = 0;
+ $hours = 0;
} else {
$date_time = date_create( "$date+0000" );
if ( $date_time ) {
@@ -24,9 +33,9 @@ class WPCOM_JSON_API_Date {
}
// "0000-00-00 00:00:00" == -62169984000
- if ( - 62169984000 == $timestamp_gmt ) {
+ if ( -62169984000 === $timestamp_gmt ) {
// WordPress sets post_date=now, post_date_gmt="0000-00-00 00:00:00" for all drafts
- // WordPress sets post_modified=now, post_modified_gmt="0000-00-00 00:00:00" for new drafts
+ // WordPress sets post_modified=now, post_modified_gmt="0000-00-00 00:00:00" for new drafts.
// Try to guess the correct offset from the blog's options.
$timezone_string = get_option( 'timezone_string' );
@@ -43,9 +52,9 @@ class WPCOM_JSON_API_Date {
$offset = $timestamp - $timestamp_gmt;
}
- $west = $offset < 0;
- $offset = abs( $offset );
- $hours = (int) floor( $offset / 3600 );
+ $west = $offset < 0;
+ $offset = abs( $offset );
+ $hours = (int) floor( $offset / 3600 );
$offset -= $hours * 3600;
$minutes = (int) floor( $offset / 60 );
}
@@ -60,7 +69,7 @@ class WPCOM_JSON_API_Date {
*
* @return null|string
*/
- static function format_duration( $time ) {
+ public static function format_duration( $time ) {
$timestamp = strtotime( $time, 0 );
// Bail early if we don't recognize a date.
@@ -68,13 +77,13 @@ class WPCOM_JSON_API_Date {
return;
}
- $days = floor( $timestamp / 86400 );
+ $days = floor( $timestamp / 86400 );
$timestamp = $timestamp % 86400;
- $hours = floor( $timestamp / 3600 );
+ $hours = floor( $timestamp / 3600 );
$timestamp = $timestamp % 3600;
- $minutes = floor( $timestamp / 60 );
+ $minutes = floor( $timestamp / 60 );
$timestamp = $timestamp % 60;
return (string) sprintf(
diff --git a/plugins/jetpack/sal/class.json-api-links.php b/plugins/jetpack/sal/class.json-api-links.php
index 21772883..743640af 100644
--- a/plugins/jetpack/sal/class.json-api-links.php
+++ b/plugins/jetpack/sal/class.json-api-links.php
@@ -1,15 +1,58 @@
-<?php
-
-require_once dirname( __FILE__ ) . '/../class.json-api.php';
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * WPCOM_JSON_API_Links class.
+ *
+ * @package automattic/jetpack
+ */
+
+require_once __DIR__ . '/../class.json-api.php';
+
+/**
+ * Base class for WPCOM_JSON_API_Links.
+ */
class WPCOM_JSON_API_Links {
+
+ /**
+ * An instance of the WPCOM_JSON_API.
+ *
+ * @var WPCOM_JSON_API
+ */
private $api;
+
+ /**
+ * A WPCOM_JSON_API_Links instance.
+ *
+ * @var WPCOM_JSON_API_Links
+ */
private static $instance;
+
+ /**
+ * An array of the closest supported version of an endpoint to the current endpoint.
+ *
+ * @var array
+ */
private $closest_endpoint_cache_by_version = array();
+
+ /**
+ * An array including the current api endpoint as well as the max versions found if that endpoint doesn't exist.
+ *
+ * @var array
+ */
private $matches_by_version = array();
+
+ /**
+ * An array including the cached endpoint path versions.
+ *
+ * @var array
+ */
private $cache_result = null;
- public static function getInstance() {
+ /**
+ * Creates a new instance of the WPCOM_JSON_API_Links class.
+ *
+ * @return WPCOM_JSON_API_Links
+ */
+ public static function getInstance() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
if ( null === self::$instance ) {
self::$instance = new self();
}
@@ -17,11 +60,23 @@ class WPCOM_JSON_API_Links {
return self::$instance;
}
- // protect these methods for singleton
+ /**
+ * WPCOM_JSON_API_Links constructor.
+ *
+ * Method protected for singleton.
+ */
protected function __construct() {
$this->api = WPCOM_JSON_API::init();
}
+
+ /**
+ * An empty, private __clone method to prohibit cloning of this instance.
+ */
private function __clone() { }
+
+ /**
+ * Overriding PHP's default __wakeup method to prvent unserializing of the instance, and return an error message.
+ */
public function __wakeup() {
die( "Please don't __wakeup WPCOM_JSON_API_Links" );
}
@@ -31,25 +86,25 @@ class WPCOM_JSON_API_Links {
*
* Used to construct meta links in API responses
*
- * @param mixed ...$args Optional arguments to be appended to URL
+ * @param mixed ...$args Optional arguments to be appended to URL.
* @return string Endpoint URL
**/
- function get_link( ...$args ) {
+ public function get_link( ...$args ) {
$format = array_shift( $args );
- $base = WPCOM_JSON_API__BASE;
+ $base = WPCOM_JSON_API__BASE;
$path = array_pop( $args );
if ( $path ) {
$path = '/' . ltrim( $path, '/' );
- // tack the path onto the end of the format string
+ // tack the path onto the end of the format string.
// have to escape %'s in the path as %% because
// we're about to pass it through sprintf and we don't
- // want it to see the % as a placeholder
+ // want it to see the % as a placeholder.
$format .= str_replace( '%', '%%', $path );
}
- // Escape any % in args before using sprintf
+ // Escape any % in args before using sprintf.
$escaped_args = array();
foreach ( $args as $arg_key => $arg_value ) {
$escaped_args[ $arg_key ] = str_replace( '%', '%%', $arg_value );
@@ -58,23 +113,42 @@ class WPCOM_JSON_API_Links {
$relative_path = vsprintf( $format, $escaped_args );
if ( ! wp_startswith( $relative_path, '.' ) ) {
- // Generic version. Match the requested version as best we can
+ // Generic version. Match the requested version as best we can.
$api_version = $this->get_closest_version_of_endpoint( $format, $relative_path );
$base = substr( $base, 0, - 1 ) . $api_version;
}
- // escape any % in the relative path before running it through sprintf again
+ // escape any % in the relative path before running it through sprintf again.
$relative_path = str_replace( '%', '%%', $relative_path );
- // http, WPCOM_JSON_API__BASE, ... , path
- // %s , %s , $format, %s
+ // http, WPCOM_JSON_API__BASE, ... , path.
+ // %s , %s , $format, %s.
return esc_url_raw( sprintf( "https://%s$relative_path", $base ) );
}
- function get_me_link( $path = '' ) {
+ /**
+ * Generate the /me prefixed endpoint URL
+ *
+ * Used to construct meta links in API responses, specific to WordPress.com user account pages.
+ *
+ * @param string $path Optional path to be appended to the URL.
+ * @return string /me endpoint URL
+ **/
+ public function get_me_link( $path = '' ) {
return $this->get_link( '/me', $path );
}
- function get_taxonomy_link( $blog_id, $taxonomy_id, $taxonomy_type, $path = '' ) {
+ /**
+ * Generate the endpoint URL for taxonomies
+ *
+ * Used to construct meta links in API responses, specific to taxonomies.
+ *
+ * @param int $blog_id The site's Jetpack blog ID.
+ * @param int $taxonomy_id The taxonomy ID (for example of the category, tag).
+ * @param string $taxonomy_type The taxonomy type (for example category, tag).
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including taxonomy information.
+ **/
+ public function get_taxonomy_link( $blog_id, $taxonomy_id, $taxonomy_type, $path = '' ) {
switch ( $taxonomy_type ) {
case 'category':
return $this->get_link( '/sites/%d/categories/slug:%s', $blog_id, $taxonomy_id, $path );
@@ -87,35 +161,111 @@ class WPCOM_JSON_API_Links {
}
}
- function get_media_link( $blog_id, $media_id, $path = '' ) {
+ /**
+ * Generate the endpoint URL for media links
+ *
+ * Used to construct meta links in API responses, specific to media links.
+ *
+ * @param int $blog_id The site's Jetpack blog ID.
+ * @param int $media_id The media item ID.
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including media information.
+ **/
+ public function get_media_link( $blog_id, $media_id, $path = '' ) {
return $this->get_link( '/sites/%d/media/%d', $blog_id, $media_id, $path );
}
- function get_site_link( $blog_id, $path = '' ) {
+ /**
+ * Generate the site link endpoint URL
+ *
+ * Used to construct meta links in API responses, specific to /site links.
+ *
+ * @param int $blog_id The site's Jetpack blog ID.
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including site information.
+ **/
+ public function get_site_link( $blog_id, $path = '' ) {
return $this->get_link( '/sites/%d', $blog_id, $path );
}
- function get_post_link( $blog_id, $post_id, $path = '' ) {
+ /**
+ * Generate the posts endpoint URL
+ *
+ * Used to construct meta links in API responses, specific to posts links.
+ *
+ * @param int $blog_id The site's Jetpack blog ID.
+ * @param int $post_id The post ID.
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including post information.
+ **/
+ public function get_post_link( $blog_id, $post_id, $path = '' ) {
return $this->get_link( '/sites/%d/posts/%d', $blog_id, $post_id, $path );
}
- function get_comment_link( $blog_id, $comment_id, $path = '' ) {
+ /**
+ * Generate the comments endpoint URL
+ *
+ * Used to construct meta links in API responses, specific to comments links.
+ *
+ * @param int $blog_id The site's Jetpack blog ID.
+ * @param int $comment_id The comment ID.
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including comment information.
+ **/
+ public function get_comment_link( $blog_id, $comment_id, $path = '' ) {
return $this->get_link( '/sites/%d/comments/%d', $blog_id, $comment_id, $path );
}
- function get_publicize_connection_link( $blog_id, $publicize_connection_id, $path = '' ) {
+ /**
+ * Generate the endpoint URL for Publicize connections
+ *
+ * Used to construct meta links in API responses, specific to Publicize connections.
+ *
+ * @param int $blog_id The site's Jetpack blog ID.
+ * @param int $publicize_connection_id The ID of the Publicize connection.
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including Publicize connection information.
+ **/
+ public function get_publicize_connection_link( $blog_id, $publicize_connection_id, $path = '' ) {
return $this->get_link( '.1/sites/%d/publicize-connections/%d', $blog_id, $publicize_connection_id, $path );
}
- function get_publicize_connections_link( $keyring_token_id, $path = '' ) {
+ /**
+ * Generate the endpoint URL for a single Publicize connection including a Keyring connection
+ *
+ * Used to construct meta links in API responses, specific to a single Publicize and Keyring connection.
+ *
+ * @param int $keyring_token_id The ID of the Keyring connection.
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including specific Keyring connection information for a specific Publicize connection.
+ **/
+ public function get_publicize_connections_link( $keyring_token_id, $path = '' ) {
return $this->get_link( '.1/me/publicize-connections/?keyring_connection_ID=%d', $keyring_token_id, $path );
}
- function get_keyring_connection_link( $keyring_token_id, $path = '' ) {
+ /**
+ * Generate the endpoint URL for a single Keyring connection
+ *
+ * Used to construct meta links in API responses, specific to a Keyring connections.
+ *
+ * @param int $keyring_token_id The ID of the Keyring connection.
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including specific Keyring connection.
+ **/
+ public function get_keyring_connection_link( $keyring_token_id, $path = '' ) {
return $this->get_link( '.1/me/keyring-connections/%d', $keyring_token_id, $path );
}
- function get_external_service_link( $external_service, $path = '' ) {
+ /**
+ * Generate the endpoint URL for an external service that can be integrated with via Keyring
+ *
+ * Used to construct meta links in API responses, specific to an external service.
+ *
+ * @param int $external_service The ID of the external service.
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including information about an external service that WordPress.com or Jetpack sites can integrate with via keyring.
+ **/
+ public function get_external_service_link( $external_service, $path = '' ) {
return $this->get_link( '.1/meta/external-services/%s', $external_service, $path );
}
@@ -129,18 +279,18 @@ class WPCOM_JSON_API_Links {
*
* This method is used in get_link() to construct meta links for API responses.
*
- * @param $template_path string The generic endpoint path, e.g. /sites/%s
- * @param $path string The current endpoint path, relative to the version, e.g. /sites/12345
- * @param $request_method string Request method used to access the endpoint path
+ * @param string $template_path The generic endpoint path, e.g. /sites/%s .
+ * @param string $path The current endpoint path, relative to the version, e.g. /sites/12345 .
+ * @param string $request_method Request method used to access the endpoint path .
* @return string The current version, or otherwise the maximum version available
*/
- function get_closest_version_of_endpoint( $template_path, $path, $request_method = 'GET' ) {
+ public function get_closest_version_of_endpoint( $template_path, $path, $request_method = 'GET' ) {
$closest_endpoint_cache_by_version = & $this->closest_endpoint_cache_by_version;
$closest_endpoint_cache = & $closest_endpoint_cache_by_version[ $this->api->version ];
- if ( !$closest_endpoint_cache ) {
+ if ( ! $closest_endpoint_cache ) {
$closest_endpoint_cache_by_version[ $this->api->version ] = array();
- $closest_endpoint_cache = & $closest_endpoint_cache_by_version[ $this->api->version ];
+ $closest_endpoint_cache = & $closest_endpoint_cache_by_version[ $this->api->version ];
}
if ( ! isset( $closest_endpoint_cache[ $template_path ] ) ) {
@@ -159,7 +309,7 @@ class WPCOM_JSON_API_Links {
$matches_by_version = & $this->matches_by_version;
- // try to match out of saved matches
+ // try to match out of saved matches.
if ( ! isset( $matches_by_version[ $this->api->version ] ) ) {
$matches_by_version[ $this->api->version ] = array();
}
@@ -172,51 +322,58 @@ class WPCOM_JSON_API_Links {
}
$endpoint_path_versions = $this->get_endpoint_path_versions();
- $last_path_segment = $this->get_last_segment_of_relative_path( $path );
- $max_version_found = null;
+ $last_path_segment = $this->get_last_segment_of_relative_path( $path );
+ $max_version_found = null;
foreach ( $endpoint_path_versions as $endpoint_last_path_segment => $endpoints ) {
// Does the last part of the path match the path key? (e.g. 'posts')
- // If the last part contains a placeholder (e.g. %s), we want to carry on
+ // If the last part contains a placeholder (e.g. %s), we want to carry on.
+ // phpcs:ignore Universal.Operators.StrictComparisons.LooseNotEqual
if ( $last_path_segment != $endpoint_last_path_segment && ! strstr( $endpoint_last_path_segment, '%' ) ) {
continue;
}
foreach ( $endpoints as $endpoint ) {
// Does the request method match?
- if ( ! in_array( $request_method, $endpoint['request_methods'] ) ) {
+ if ( ! in_array( $request_method, $endpoint['request_methods'], true ) ) {
continue;
}
- $endpoint_path = untrailingslashit( $endpoint['path'] );
+ $endpoint_path = untrailingslashit( $endpoint['path'] );
$endpoint_path_regex = str_replace( array( '%s', '%d' ), array( '([^/?&]+)', '(\d+)' ), $endpoint_path );
if ( ! preg_match( "#^$endpoint_path_regex\$#", $path ) ) {
continue;
}
- // Make sure the endpoint exists at the same version
+ // Make sure the endpoint exists at the same version.
if ( null !== $this->api->version &&
version_compare( $this->api->version, $endpoint['min_version'], '>=' ) &&
version_compare( $this->api->version, $endpoint['max_version'], '<=' )
) {
array_push(
$matches_by_version[ $this->api->version ],
- (object) array( 'version' => $this->api->version, 'regex' => $endpoint_path_regex )
+ (object) array(
+ 'version' => $this->api->version,
+ 'regex' => $endpoint_path_regex,
+ )
);
$closest_endpoint_cache[ $template_path ][ $request_method ] = $this->api->version;
return $this->api->version;
}
- // If the endpoint doesn't exist at the same version, record the max version we found
+ // If the endpoint doesn't exist at the same version, record the max version we found.
if ( empty( $max_version_found ) || version_compare( $max_version_found['version'], $endpoint['max_version'], '<' ) ) {
- $max_version_found = array( 'version' => $endpoint['max_version'], 'regex' => $endpoint_path_regex );
+ $max_version_found = array(
+ 'version' => $endpoint['max_version'],
+ 'regex' => $endpoint_path_regex,
+ );
}
}
}
- // If the endpoint version is less than the requested endpoint version, return the max version found
+ // If the endpoint version is less than the requested endpoint version, return the max version found.
if ( ! empty( $max_version_found ) ) {
array_push(
$matches_by_version[ $this->api->version ],
@@ -226,7 +383,7 @@ class WPCOM_JSON_API_Links {
return $max_version_found['version'];
}
- // Otherwise, use the API version of the current request
+ // Otherwise, use the API version of the current request.
return $this->api->version;
}
@@ -237,7 +394,7 @@ class WPCOM_JSON_API_Links {
**/
protected function get_endpoint_path_versions() {
- if ( ! empty ( $this->cache_result ) ) {
+ if ( ! empty( $this->cache_result ) ) {
return $this->cache_result;
}
@@ -249,17 +406,18 @@ class WPCOM_JSON_API_Links {
foreach ( $this->api->endpoints as $key => $endpoint_objects ) {
- // The key contains a serialized path, min_version and max_version
- list( $path, $min_version, $max_version ) = unserialize( $key );
+ // @todo As with the todo in class.json-api.php, we need to determine if anything depends on this being serialized and hence unserialized, rather than e.g. JSON.
+ // The key contains a serialized path, min_version and max_version.
+ list( $path, $min_version, $max_version ) = unserialize( $key ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize -- Legacy, see serialization at class.json-api.php.
- // Grab the last component of the relative path to use as the top-level key
+ // Grab the last component of the relative path to use as the top-level key.
$last_path_segment = $this->get_last_segment_of_relative_path( $path );
$endpoint_path_versions[ $last_path_segment ][] = array(
- 'path' => $path,
- 'min_version' => $min_version,
- 'max_version' => $max_version,
- 'request_methods' => array_keys( $endpoint_objects )
+ 'path' => $path,
+ 'min_version' => $min_version,
+ 'max_version' => $max_version,
+ 'request_methods' => array_keys( $endpoint_objects ),
);
}
@@ -271,10 +429,10 @@ class WPCOM_JSON_API_Links {
/**
* Grab the last segment of a relative path
*
- * @param string $path Path
+ * @param string $path Path.
* @return string Last path segment
*/
- protected function get_last_segment_of_relative_path( $path) {
+ protected function get_last_segment_of_relative_path( $path ) {
$path_parts = array_filter( explode( '/', $path ) );
if ( empty( $path_parts ) ) {
diff --git a/plugins/jetpack/sal/class.json-api-metadata.php b/plugins/jetpack/sal/class.json-api-metadata.php
index b4801d76..c04b3924 100644
--- a/plugins/jetpack/sal/class.json-api-metadata.php
+++ b/plugins/jetpack/sal/class.json-api-metadata.php
@@ -1,39 +1,66 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
- * Utility classes that don't necessarily have a home yet
+ * WPCOM_JSON_API_Metadata class - Utility classes that don't necessarily have a home yet.
+ *
+ * @package automattic/jetpack
+ */
+/**
+ * Base class for WPCOM_JSON_API_Metadata
*/
-
class WPCOM_JSON_API_Metadata {
+ /**
+ * Checks to see if a meta key is in the array of allowed public (and whitelisted) meta data.
+ *
+ * Additionally, if the key begins with 'geo_' or '_wpas_', true will also be returned.
+ *
+ * @param string $key A post metadata key value to check.
+ * @return bool True or false depending on whether the key meets the defined criteria.
+ **/
public static function is_public( $key ) {
- if ( empty( $key ) )
+ if ( empty( $key ) ) {
return false;
+ }
// Default whitelisted meta keys.
$whitelisted_meta = array( '_thumbnail_id' );
- // whitelist of metadata that can be accessed
+ // whitelist of metadata that can be accessed.
/** This filter is documented in json-endpoints/class.wpcom-json-api-post-endpoint.php */
- if ( in_array( $key, apply_filters( 'rest_api_allowed_public_metadata', $whitelisted_meta ) ) )
+ if ( in_array( $key, apply_filters( 'rest_api_allowed_public_metadata', $whitelisted_meta ), true ) ) {
return true;
+ }
- if ( 0 === strpos( $key, 'geo_' ) )
+ if ( 0 === strpos( $key, 'geo_' ) ) {
return true;
+ }
- if ( 0 === strpos( $key, '_wpas_' ) )
+ if ( 0 === strpos( $key, '_wpas_' ) ) {
return true;
+ }
return false;
}
+ /**
+ * Checks to see if a meta key should be used internally only.
+ *
+ * @param string $key A post metadata key value to check.
+ * @return bool True or false depending on whether the key meets the defined criteria.
+ **/
public static function is_internal_only( $key ) {
+ // We want to always return the `_jetpack_blogging_prompt_key` key in post responses if it is available.
+ if ( $key === '_jetpack_blogging_prompt_key' ) {
+ return false;
+ }
- if ( 0 === strpos( $key, '_jetpack_') )
+ if ( 0 === strpos( $key, '_jetpack_' ) ) {
return true;
+ }
- if ( 0 === strpos( $key, '_elasticsearch_') )
+ if ( 0 === strpos( $key, '_elasticsearch_' ) ) {
return true;
+ }
return false;
}
-} \ No newline at end of file
+}
diff --git a/plugins/jetpack/sal/class.json-api-platform-jetpack.php b/plugins/jetpack/sal/class.json-api-platform-jetpack.php
index 6643154c..7c475d91 100644
--- a/plugins/jetpack/sal/class.json-api-platform-jetpack.php
+++ b/plugins/jetpack/sal/class.json-api-platform-jetpack.php
@@ -1,14 +1,36 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * WPORG_Platform class that extends SAL_Platform, returning a Jetpack_Site with a $blog_id and $token
+ *
+ * @package automattic/jetpack
+ */
-require_once dirname( __FILE__ ) . '/class.json-api-platform.php';
+require_once __DIR__ . '/class.json-api-platform.php';
+/**
+ * Base class for WPORG_Platform, which extends SAL_Platform
+ */
class WPORG_Platform extends SAL_Platform {
+
+ /**
+ * Given a Jetpack blog ID, this function returns a Jetpack_Site instance
+ *
+ * @param int $blog_id A Jetpack blog ID.
+ * @return Jetpack_Site A Jetpack_Site instance including all relevant details needed to define a Jetpack site.
+ **/
public function get_site( $blog_id ) {
- require_once dirname( __FILE__ ) . '/class.json-api-site-jetpack.php';
+ require_once __DIR__ . '/class.json-api-site-jetpack.php';
return new Jetpack_Site( $blog_id, $this );
}
}
+/**
+ * Given a token instance (with blog and user id related information), this function returns a new WPORG_Platform instance
+ *
+ * @param SAL_Token $token A token instance.
+ * @see class.json-api-token.php
+ * @return WPORG_Platform A WPORG_Platform instance including all relevant details needed to define a Jetpack site, as well as a token instance.
+ **/
function wpcom_get_sal_platform( $token ) {
return new WPORG_Platform( $token );
}
diff --git a/plugins/jetpack/sal/class.json-api-platform.php b/plugins/jetpack/sal/class.json-api-platform.php
index 42ba5b60..31a42117 100644
--- a/plugins/jetpack/sal/class.json-api-platform.php
+++ b/plugins/jetpack/sal/class.json-api-platform.php
@@ -1,11 +1,29 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * SAL_Platform class which defines a token to later be associated with a Jetpack site
+ *
+ * @package automattic/jetpack
+ */
-require_once dirname( __FILE__ ) . '/class.json-api-token.php';
+require_once __DIR__ . '/class.json-api-token.php';
+/**
+ * Base class for SAL_Platform
+ */
abstract class SAL_Platform {
+ /**
+ * A token that will represent a SAL_Token instance, default is empty.
+ *
+ * @var SAL_Token
+ */
public $token;
- function __construct( $token ) {
+ /**
+ * Contructs the SAL_Platform instance
+ *
+ * @param SAL_Token $token The variable which will store the SAL_Token instance.
+ */
+ public function __construct( $token ) {
if ( is_array( $token ) ) {
$token = SAL_Token::from_rest_token( $token );
} else {
@@ -15,11 +33,17 @@ abstract class SAL_Platform {
$this->token = $token;
}
+ /**
+ * This is the get_site function declaration, initially not implemented.
+ *
+ * @param int $blog_id The sites Jetpack blog ID.
+ * @see class.json-api-platform-jetpack.php for the implementation of this function.
+ */
abstract public function get_site( $blog_id );
}
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- require_once dirname( __FILE__ ) . '/class.json-api-platform-wpcom.php';
+ require_once __DIR__ . '/class.json-api-platform-wpcom.php';
} else {
- require_once dirname( __FILE__ ) . '/class.json-api-platform-jetpack.php';
+ require_once __DIR__ . '/class.json-api-platform-jetpack.php';
}
diff --git a/plugins/jetpack/sal/class.json-api-post-base.php b/plugins/jetpack/sal/class.json-api-post-base.php
index b7841bc9..3839a697 100644
--- a/plugins/jetpack/sal/class.json-api-post-base.php
+++ b/plugins/jetpack/sal/class.json-api-post-base.php
@@ -1,74 +1,208 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* This class wraps a WP_Post and proxies any undefined attributes
* and methods to the wrapped class. We need to do this because at present
* the WP_Post class is marked as final (in 4.5 this will change, though it's
* not clear if there will be a mechanism to retrieve from the DB into the over-
* ridden class dynamically).
- **/
+ *
+ * @package automattic/jetpack
+ */
-require_once dirname( __FILE__ ) . '/class.json-api-metadata.php';
-require_once dirname( __FILE__ ) . '/class.json-api-date.php';
+require_once __DIR__ . '/class.json-api-metadata.php';
+require_once __DIR__ . '/class.json-api-date.php';
require_once ABSPATH . 'wp-admin/includes/post.php';
require_once ABSPATH . 'wp-includes/post.php';
+/**
+ * Base class for SAL_Post.
+ */
abstract class SAL_Post {
+
+ /**
+ * A WP_Post instance.
+ *
+ * @var WP_Post
+ */
public $post;
+
+ /**
+ * The post request context (for example 'edit' or 'display')
+ *
+ * @var string
+ */
public $context;
+
+ /**
+ * A Jetpack_Site instance.
+ *
+ * @var Jetpack_Site
+ */
public $site;
- function __construct( $site, $post, $context ) {
- $this->post = $post;
+ /**
+ * Constructor function
+ *
+ * @param Jetpack_Site $site A Jetpack_Site instance.
+ * @param WP_Post $post A WP_Post instance.
+ * @param string $context The post request context (for example 'edit' or 'display').
+ */
+ public function __construct( $site, $post, $context ) {
+ $this->post = $post;
$this->context = $context;
- $this->site = $site;
+ $this->site = $site;
}
+ /**
+ * Setting this WP_Post instance's key value
+ *
+ * @param string $key The post key to set.
+ * @param string $value The value to set the post key to (for example filter, ID, post_status).
+ */
public function __set( $key, $value ) {
$this->post->{ $key } = $value;
}
+ /**
+ * Returning a WPCOM_JSON_API_Links instance if the post key is set to 'links', or the post key value.
+ *
+ * @param string $key The post key value.
+ *
+ * @return WPCOM_JSON_API_Links|string
+ */
public function __get( $key ) {
- if ( $key === 'links' ) {
- require_once dirname( __FILE__ ) . '/class.json-api-links.php';
+ if ( 'links' === $key ) {
+ require_once __DIR__ . '/class.json-api-links.php';
return WPCOM_JSON_API_Links::getInstance();
}
return $this->post->{ $key };
}
+ /**
+ * A function to either call a given function, or return an error if it doesn't exist.
+ *
+ * @param string $name A function name to be called.
+ * @param mixed $arguments Arguments to be passed into the given function.
+ *
+ * @return mixed|bool
+ */
public function __call( $name, $arguments ) {
if ( is_callable( array( $this->post, $name ) ) ) {
return call_user_func_array( array( $this->post, $name ), $arguments );
} else {
- trigger_error("Call to undefined method '{$name}'");
+ // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
+ trigger_error(
+ esc_html(
+ sprintf(
+ /* translators: %s is the method name that has been called */
+ __( 'Call to undefined method %s', 'jetpack' ),
+ $name
+ )
+ )
+ );
}
}
- public function __isset ( $name ) {
+ /**
+ * Checking to see if a given property is set.
+ *
+ * @param string $name Property to check if set.
+ *
+ * @return bool
+ */
+ public function __isset( $name ) {
return isset( $this->post->{ $name } );
}
+ /**
+ * Defining a base get_like_count() function to be extended in the Jetpack_Post class.
+ *
+ * This will define a default value for the like counts on a post, if this hasn't been defined yet.
+ *
+ * @see class.json-api-post-jetpack.php
+ */
abstract public function get_like_count();
+
+ /**
+ * Defining a base is_liked() function to be extended in the Jetpack_Post class.
+ *
+ * This will define a default value for whether or not the current user likes this post, if this hasn't been defined yet.
+ *
+ * @see class.json-api-post-jetpack.php
+ */
abstract public function is_liked();
+
+ /**
+ * Defining a base is_reblogged() function to be extended in the Jetpack_Post class.
+ *
+ * This will define a default value for whether or not the current user reblogged this post, if this hasn't been defined yet.
+ *
+ * @see class.json-api-post-jetpack.php
+ */
abstract public function is_reblogged();
+
+ /**
+ * Defining a base is_following() function to be extended in the Jetpack_Post class.
+ *
+ * This will define a default value for whether or not the current user is following this blog, if this hasn't been defined yet.
+ *
+ * @see class.json-api-post-jetpack.php
+ */
abstract public function is_following();
+
+ /**
+ * Defining a base get_global_id() function to be extended in the Jetpack_Post class.
+ *
+ * This will define the unique WordPress.com-wide representation of a post, if this hasn't been defined yet.
+ *
+ * @see class.json-api-post-jetpack.php
+ */
abstract public function get_global_id();
+
+ /**
+ * Defining a base get_geo() function to be extended in the Jetpack_Post class.
+ *
+ * This will define a default value for whether or not there is gelocation data for this post, if this hasn't been defined yet.
+ *
+ * @see class.json-api-post-jetpack.php
+ */
abstract public function get_geo();
+ /**
+ * Returns an int which helps define the menu order for the post.
+ *
+ * @return int
+ */
public function get_menu_order() {
return (int) $this->post->menu_order;
}
+ /**
+ * Returns a string which represents the post's GUID.
+ *
+ * @return string
+ */
public function get_guid() {
return (string) $this->post->guid;
}
+ /**
+ * Returns a string which represents the post type.
+ *
+ * @return string
+ */
public function get_type() {
return (string) $this->post->post_type;
}
+ /**
+ * Returns an object which holds the terms associated with that post object.
+ *
+ * @return object
+ */
public function get_terms() {
$taxonomies = get_object_taxonomies( $this->post, 'objects' );
- $terms = array();
+ $terms = array();
foreach ( $taxonomies as $taxonomy ) {
if ( ! $taxonomy->public && ! current_user_can( $taxonomy->cap->assign_terms ) ) {
continue;
@@ -78,7 +212,7 @@ abstract class SAL_Post {
$taxonomy_terms = wp_get_object_terms( $this->post->ID, $taxonomy->name, array( 'fields' => 'all' ) );
foreach ( $taxonomy_terms as $term ) {
- $formatted_term = $this->format_taxonomy( $term, $taxonomy->name, 'display' );
+ $formatted_term = $this->format_taxonomy( $term, $taxonomy->name, 'display' );
$terms[ $taxonomy->name ][ $term->name ] = $formatted_term;
}
@@ -88,52 +222,79 @@ abstract class SAL_Post {
return (object) $terms;
}
+ /**
+ * Returns an object which holds the posts tag details
+ *
+ * @return object
+ */
public function get_tags() {
- $tags = array();
+ $tags = array();
$terms = wp_get_post_tags( $this->post->ID );
foreach ( $terms as $term ) {
- if ( !empty( $term->name ) ) {
- $tags[$term->name] = $this->format_taxonomy( $term, 'post_tag', 'display' );
+ if ( ! empty( $term->name ) ) {
+ $tags[ $term->name ] = $this->format_taxonomy( $term, 'post_tag', 'display' );
}
}
return (object) $tags;
}
+ /**
+ * Returns an object which holds the posts category details
+ *
+ * @return object
+ */
public function get_categories() {
$categories = array();
- $terms = wp_get_object_terms( $this->post->ID, 'category', array( 'fields' => 'all' ) );
+ $terms = wp_get_object_terms( $this->post->ID, 'category', array( 'fields' => 'all' ) );
foreach ( $terms as $term ) {
- if ( !empty( $term->name ) ) {
- $categories[$term->name] = $this->format_taxonomy( $term, 'category', 'display' );
+ if ( ! empty( $term->name ) ) {
+ $categories[ $term->name ] = $this->format_taxonomy( $term, 'category', 'display' );
}
}
return (object) $categories;
}
+ /**
+ * Returns an array of objects which hold the posts attachment information and numbers representing how many associated posts are found.
+ *
+ * @return array
+ */
public function get_attachments_and_count() {
- $attachments = array();
- $_attachments = new WP_Query( array( 'post_parent' => $this->post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'posts_per_page' => '20' ) );
+ $attachments = array();
+ $_attachments = new WP_Query(
+ array(
+ 'post_parent' => $this->post->ID,
+ 'post_status' => 'inherit',
+ 'post_type' => 'attachment',
+ 'posts_per_page' => '20',
+ )
+ );
foreach ( $_attachments->posts as $attachment ) {
- $attachments[$attachment->ID] = $this->get_media_item_v1_1( $attachment->ID );
+ $attachments[ $attachment->ID ] = $this->get_media_item_v1_1( $attachment->ID );
}
return array( (object) $attachments, (int) $_attachments->found_posts );
}
+ /**
+ * Returns an array with a posts metadata information.
+ *
+ * @return array
+ */
public function get_metadata() {
$metadata = array();
foreach ( (array) has_meta( $this->post->ID ) as $meta ) {
// Don't expose protected fields.
$meta_key = $meta['meta_key'];
- $show = !( WPCOM_JSON_API_Metadata::is_internal_only( $meta_key ) )
+ $show = ! ( WPCOM_JSON_API_Metadata::is_internal_only( $meta_key ) )
&&
(
WPCOM_JSON_API_Metadata::is_public( $meta_key )
||
- current_user_can( 'edit_post_meta', $this->post->ID , $meta_key )
+ current_user_can( 'edit_post_meta', $this->post->ID, $meta_key )
);
- if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY == $meta_key && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
+ if ( Jetpack_SEO_Posts::DESCRIPTION_META_KEY === $meta_key && ! Jetpack_SEO_Utils::is_enabled_jetpack_seo() ) {
$show = false;
}
@@ -149,6 +310,11 @@ abstract class SAL_Post {
return $metadata;
}
+ /**
+ * Returns an object with a posts link meta details.
+ *
+ * @return object
+ */
public function get_meta() {
$meta = (object) array(
'links' => (object) array(
@@ -166,30 +332,41 @@ abstract class SAL_Post {
$meta->links->amp = (string) $amp_permalink;
}
- // add autosave link if a more recent autosave exists
+ // add autosave link if a more recent autosave exists.
if ( 'edit' === $this->context ) {
$autosave = wp_get_post_autosave( $this->post->ID );
- if ( $autosave && $autosave->post_modified > $this->post->post_modified )
+ if ( $autosave && $autosave->post_modified > $this->post->post_modified ) {
$meta->links->autosave = (string) $this->get_post_link() . '/autosave';
+ }
}
return $meta;
}
+ /**
+ * Returns an array with the current user's publish, deletion and edit capabilities.
+ *
+ * @return array
+ */
public function get_current_user_capabilities() {
return array(
'publish_post' => current_user_can( 'publish_post', $this->post->ID ),
'delete_post' => current_user_can( 'delete_post', $this->post->ID ),
- 'edit_post' => current_user_can( 'edit_post', $this->post->ID )
+ 'edit_post' => current_user_can( 'edit_post', $this->post->ID ),
);
}
+ /**
+ * Returns an array with details of the posts revisions, or false if 'edit' isn't the current post request context.
+ *
+ * @return bool|array
+ */
public function get_revisions() {
if ( 'edit' !== $this->context ) {
return false;
}
- $revisions = array();
+ $revisions = array();
$post_revisions = wp_get_post_revisions( $this->post->ID );
foreach ( $post_revisions as $_post ) {
@@ -199,6 +376,11 @@ abstract class SAL_Post {
return $revisions;
}
+ /**
+ * Returns an object with extra post permalink suggestions.
+ *
+ * @return object
+ */
public function get_other_urls() {
$other_urls = array();
@@ -209,41 +391,68 @@ abstract class SAL_Post {
return (object) $other_urls;
}
+ /**
+ * Calls the WPCOM_JSON_API_Links get_site_link() function to generate a site link endpoint URL.
+ *
+ * @return string Endpoint URL including site information.
+ */
protected function get_site_link() {
return $this->links->get_site_link( $this->site->get_id() );
}
+ /**
+ * Calls the WPCOM_JSON_API_Links get_post_link() function to generate a posts endpoint URL.
+ *
+ * @param string $path Optional path to be appended to the URL.
+ * @return string Endpoint URL including post information.
+ */
protected function get_post_link( $path = null ) {
return $this->links->get_post_link( $this->site->get_id(), $this->post->ID, $path );
}
+ /**
+ * Returns an array of user and post specific social media post URLs.
+ *
+ * @return array
+ */
public function get_publicize_urls() {
- $publicize_URLs = array();
+ $publicize_urls = array();
$publicize = get_post_meta( $this->post->ID, 'publicize_results', true );
if ( $publicize ) {
foreach ( $publicize as $service => $data ) {
switch ( $service ) {
- case 'twitter' :
- foreach ( $data as $datum ) {
- $publicize_URLs[] = esc_url_raw( "https://twitter.com/{$datum['user_id']}/status/{$datum['post_id']}" );
- }
- break;
- case 'fb' :
- foreach ( $data as $datum ) {
- $publicize_URLs[] = esc_url_raw( "https://www.facebook.com/permalink.php?story_fbid={$datum['post_id']}&id={$datum['user_id']}" );
- }
- break;
+ case 'twitter':
+ foreach ( $data as $datum ) {
+ $publicize_urls[] = esc_url_raw( "https://twitter.com/{$datum['user_id']}/status/{$datum['post_id']}" );
+ }
+ break;
+ case 'fb':
+ foreach ( $data as $datum ) {
+ $publicize_urls[] = esc_url_raw( "https://www.facebook.com/permalink.php?story_fbid={$datum['post_id']}&id={$datum['user_id']}" );
+ }
+ break;
}
}
}
- return (array) $publicize_URLs;
+ return (array) $publicize_urls;
}
+ /**
+ * Returns a string with the page's custom template metadata.
+ *
+ * @return string
+ */
public function get_page_template() {
return (string) get_post_meta( $this->post->ID, '_wp_page_template', true );
}
- // note this is overridden in jetpack-shadow
+ /**
+ * Returns a string representing the source URL of a post's featured image (or an empty string otherwise).
+ *
+ * Note - this is overridden in jetpack-shadow
+ *
+ * @return string
+ */
public function get_featured_image() {
$image_attributes = wp_get_attachment_image_src( get_post_thumbnail_id( $this->post->ID ), 'full' );
if ( is_array( $image_attributes ) && isset( $image_attributes[0] ) ) {
@@ -253,6 +462,11 @@ abstract class SAL_Post {
}
}
+ /**
+ * Returns an object representing a post's featured image thumbnail image.
+ *
+ * @return object
+ */
public function get_post_thumbnail() {
$thumb = null;
@@ -260,9 +474,9 @@ abstract class SAL_Post {
if ( ! empty( $thumb_id ) ) {
$attachment = get_post( $thumb_id );
- if ( ! empty( $attachment ) )
+ if ( ! empty( $attachment ) ) {
$featured_image_object = $this->get_attachment( $attachment );
-
+ }
if ( ! empty( $featured_image_object ) ) {
$thumb = (object) $featured_image_object;
}
@@ -271,15 +485,27 @@ abstract class SAL_Post {
return $thumb;
}
+ /**
+ * Returns the format slug for a post (for example 'link', 'image' - the default being 'standard').
+ *
+ * @return string
+ */
public function get_format() {
$format = (string) get_post_format( $this->post->ID );
- if ( !$format ) {
+ if ( ! $format ) {
$format = 'standard';
}
return $format;
}
+ /**
+ * Returns an object with the post's attachment details.
+ *
+ * @param WP_POST $attachment The post's attachment details in the form of a WP_POST object.
+ *
+ * @return object
+ */
private function get_attachment( $attachment ) {
$metadata = wp_get_attachment_metadata( $attachment->ID );
@@ -288,7 +514,7 @@ abstract class SAL_Post {
'URL' => (string) wp_get_attachment_url( $attachment->ID ),
'guid' => (string) $attachment->guid,
'mime_type' => (string) $attachment->post_mime_type,
- 'width' => (int) isset( $metadata['width'] ) ? $metadata['width'] : 0,
+ 'width' => (int) isset( $metadata['width'] ) ? $metadata['width'] : 0,
'height' => (int) isset( $metadata['height'] ) ? $metadata['height'] : 0,
);
@@ -300,14 +526,29 @@ abstract class SAL_Post {
return (object) apply_filters( 'get_attachment', $result );
}
+ /**
+ * Returns an ISO 8601 formatted datetime string representing the date of post creation.
+ *
+ * @return string
+ */
public function get_date() {
return (string) WPCOM_JSON_API_Date::format_date( $this->post->post_date_gmt, $this->post->post_date );
}
+ /**
+ * Returns an ISO 8601 formatted datetime string representing the date the post was last modified.
+ *
+ * @return string
+ */
public function get_modified_date() {
return (string) WPCOM_JSON_API_Date::format_date( $this->post->post_modified_gmt, $this->post->post_modified );
}
+ /**
+ * Returns the post's title.
+ *
+ * @return string
+ */
public function get_title() {
if ( 'display' === $this->context ) {
return (string) get_the_title( $this->post->ID );
@@ -316,6 +557,11 @@ abstract class SAL_Post {
}
}
+ /**
+ * Returns the permalink for the post (or the post parent if the post type is a revision).
+ *
+ * @return string
+ */
public function get_url() {
if ( 'revision' === $this->post->post_type ) {
return (string) esc_url_raw( get_permalink( $this->post->post_parent ) );
@@ -324,13 +570,23 @@ abstract class SAL_Post {
}
}
+ /**
+ * Returns the shortlink for the post.
+ *
+ * @return string
+ */
public function get_shortlink() {
return (string) esc_url_raw( wp_get_shortlink( $this->post->ID ) );
}
+ /**
+ * Returns the post content, or a string saying 'This post is password protected' if that is the case.
+ *
+ * @return string
+ */
public function get_content() {
if ( 'display' === $this->context ) {
- // TODO: move this WPCOM-specific hack
+ // @todo: move this WPCOM-specific hack
add_filter( 'the_password_form', array( $this, 'the_password_form' ) );
$content = (string) $this->get_the_post_content_for_display();
remove_filter( 'the_password_form', array( $this, 'the_password_form' ) );
@@ -340,6 +596,11 @@ abstract class SAL_Post {
}
}
+ /**
+ * Returns the post excerpt, or a string saying 'This post is password protected' if that is the case.
+ *
+ * @return string
+ */
public function get_excerpt() {
if ( 'display' === $this->context ) {
add_filter( 'the_password_form', array( $this, 'the_password_form' ) );
@@ -353,18 +614,38 @@ abstract class SAL_Post {
return $response;
}
+ /**
+ * Returns the current post status (publish, future, draft, pending, private).
+ *
+ * @return string
+ */
public function get_status() {
return (string) get_post_status( $this->post->ID );
}
+ /**
+ * Returns true if the post is a sticky post, false otherwise.
+ *
+ * @return bool
+ */
public function is_sticky() {
return (bool) is_sticky( $this->post->ID );
}
+ /**
+ * Returns the post's slug.
+ *
+ * @return string
+ */
public function get_slug() {
return (string) $this->post->post_name;
}
+ /**
+ * Returns the post's password, if password protected.
+ *
+ * @return string
+ */
public function get_password() {
$password = (string) $this->post->post_password;
if ( 'edit' === $this->context ) {
@@ -373,6 +654,11 @@ abstract class SAL_Post {
return $password;
}
+ /**
+ * Returns an object representing a post's parent, and false if it doesn't have one.
+ *
+ * @return object|bool
+ */
public function get_parent() {
if ( $this->post->post_parent ) {
$parent = get_post( $this->post->post_parent );
@@ -382,9 +668,9 @@ abstract class SAL_Post {
$parent_title = (string) htmlspecialchars_decode( $this->post->post_title, ENT_QUOTES );
}
return (object) array(
- 'ID' => (int) $parent->ID,
- 'type' => (string) $parent->post_type,
- 'link' => (string) $this->links->get_post_link( $this->site->get_id(), $parent->ID ),
+ 'ID' => (int) $parent->ID,
+ 'type' => (string) $parent->post_type,
+ 'link' => (string) $this->links->get_post_link( $this->site->get_id(), $parent->ID ),
'title' => $parent_title,
);
} else {
@@ -392,10 +678,20 @@ abstract class SAL_Post {
}
}
- function the_password_form() {
+ /**
+ * Returns a string saying 'This post is password protected' (to be later used within the_password_form filter).
+ *
+ * @return string
+ */
+ public function the_password_form() {
return __( 'This post is password protected.', 'jetpack' );
}
+ /**
+ * Returns an array with information related to the comment and ping status of a post.
+ *
+ * @return array
+ */
public function get_discussion() {
return array(
'comments_open' => (bool) comments_open( $this->post->ID ),
@@ -406,14 +702,24 @@ abstract class SAL_Post {
);
}
+ /**
+ * Returns true if likes are enabled - either for the post, or site-wide.
+ *
+ * @return bool
+ */
public function is_likes_enabled() {
/** This filter is documented in modules/likes.php */
$sitewide_likes_enabled = (bool) apply_filters( 'wpl_is_enabled_sitewide', ! get_option( 'disabled_likes' ) );
$post_likes_switched = get_post_meta( $this->post->ID, 'switch_like_status', true );
- return $post_likes_switched || ( $sitewide_likes_enabled && $post_likes_switched !== '0' );
+ return $post_likes_switched || ( $sitewide_likes_enabled && '0' !== $post_likes_switched );
}
+ /**
+ * Returns true if sharing is enabled, false otherwise.
+ *
+ * @return bool
+ */
public function is_sharing_enabled() {
$show = true;
/** This filter is documented in modules/sharedaddy/sharing-service.php */
@@ -421,15 +727,22 @@ abstract class SAL_Post {
$switched_status = get_post_meta( $this->post->ID, 'sharing_disabled', false );
- if ( !empty( $switched_status ) )
+ if ( ! empty( $switched_status ) ) {
$show = false;
+ }
return (bool) $show;
}
- // No Blog ID parameter. No Post ID parameter. Depends on globals.
- // Expects setup_postdata() to already have been run
- function get_the_post_content_for_display() {
+ /**
+ * Returns the post content in the form of a string, ready for displaying.
+ *
+ * Note: No Blog ID parameter. No Post ID parameter. Depends on globals.
+ * Expects setup_postdata() to already have been run
+ *
+ * @return string
+ */
+ public function get_the_post_content_for_display() {
global $pages, $page;
$old_pages = $pages;
@@ -437,8 +750,9 @@ abstract class SAL_Post {
$content = join( "\n\n", $pages );
$content = preg_replace( '/<!--more(.*?)?-->/', '', $content );
- $pages = array( $content );
- $page = 1;
+ // phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited -- Assignment to globals is intentional
+ $pages = array( $content );
+ $page = 1;
ob_start();
the_content();
@@ -446,25 +760,32 @@ abstract class SAL_Post {
$pages = $old_pages;
$page = $old_page;
-
+ // phpcs:enable WordPress.WP.GlobalVariablesOverride.Prohibited
return $return;
}
+ /**
+ * Returns an object containing the post author's information (eg. ID, display name, email if the user has post editing capabilities).
+ *
+ * @return object
+ */
public function get_author() {
- if ( 0 == $this->post->post_author )
+ if ( 0 == $this->post->post_author ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- numbers could be numeric strings.
return null;
+ }
- $show_email = $this->context === 'edit' && current_user_can( 'edit_post', $this->post->ID );
+ $show_email = 'edit' === $this->context && current_user_can( 'edit_post', $this->post->ID );
$user = get_user_by( 'id', $this->post->post_author );
if ( ! $user || is_wp_error( $user ) ) {
- trigger_error( 'Unknown user', E_USER_WARNING );
+ trigger_error( 'Unknown user', E_USER_WARNING ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
return null;
}
- // TODO factor this out
+ // @todo: factor this out
+ // phpcs:disable WordPress.NamingConventions.ValidVariableName
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
$active_blog = get_active_blog_for_user( $user->ID );
$site_id = $active_blog->blog_id;
@@ -477,23 +798,32 @@ abstract class SAL_Post {
$author = array(
'ID' => (int) $user->ID,
'login' => (string) $user->user_login,
- 'email' => $show_email ? (string) $user->user_email : false, // (string|bool)
+ 'email' => $show_email ? (string) $user->user_email : false,
'name' => (string) $user->display_name,
'first_name' => (string) $user->first_name,
'last_name' => (string) $user->last_name,
'nice_name' => (string) $user->user_nicename,
'URL' => (string) esc_url_raw( $user->user_url ),
'avatar_URL' => (string) esc_url_raw( $this->get_avatar_url( $user->user_email ) ),
- 'profile_URL' => (string) esc_url_raw( $profile_URL )
+ 'profile_URL' => (string) esc_url_raw( $profile_URL ),
);
+ // phpcs:enable WordPress.NamingConventions.ValidVariableName
- if ($site_id > -1) {
+ if ( $site_id > -1 ) {
$author['site_ID'] = (int) $site_id;
}
return (object) $author;
}
+ /**
+ * Returns the avatar URL for a user, or an empty string if there isn't a valid avatar.
+ *
+ * @param string $email The user's email.
+ * @param int $avatar_size The size of the avatar in pixels.
+ *
+ * @return string
+ */
protected function get_avatar_url( $email, $avatar_size = 96 ) {
$avatar_url = wpcom_get_avatar_url( $email, $avatar_size, '', true );
if ( ! $avatar_url || is_wp_error( $avatar_url ) ) {
@@ -504,30 +834,45 @@ abstract class SAL_Post {
}
/**
- * Get extra post permalink suggestions
- * @return array array of permalink suggestions: 'permalink_URL', 'suggested_slug'
- */
+ * Return extra post permalink suggestions in an array including the 'permalink_URL' and the 'suggested_slug'.
+ *
+ * @param string $title The current post title.
+ *
+ * @return array
+ */
public function get_permalink_suggestions( $title ) {
$suggestions = array();
list( $suggestions['permalink_URL'], $suggestions['suggested_slug'] ) = get_sample_permalink( $this->post->ID, $title );
return $suggestions;
}
+ /**
+ * Returns an object with formatted taxonomy information such as slug and meta information.
+ *
+ * Otherwise, returns an error if the edit or display permissions aren't correct.
+ *
+ * @param WP_Term $taxonomy The current taxonomy.
+ * @param string $taxonomy_type The current taxonomy type, for example 'category'.
+ * @param string $context The current context, for example 'edit' or 'display'.
+ *
+ * @return object
+ */
private function format_taxonomy( $taxonomy, $taxonomy_type, $context ) {
- // Permissions
+ // Permissions.
switch ( $context ) {
- case 'edit' :
- $tax = get_taxonomy( $taxonomy_type );
- if ( !current_user_can( $tax->cap->edit_terms ) )
- return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
- break;
- case 'display' :
- if ( -1 == get_option( 'blog_public' ) && ! current_user_can( 'read' ) ) {
- return new WP_Error( 'unauthorized', 'User cannot view taxonomy', 403 );
- }
- break;
- default :
- return new WP_Error( 'invalid_context', 'Invalid API CONTEXT', 400 );
+ case 'edit':
+ $tax = get_taxonomy( $taxonomy_type );
+ if ( ! current_user_can( $tax->cap->edit_terms ) ) {
+ return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
+ }
+ break;
+ case 'display':
+ if ( -1 == get_option( 'blog_public' ) && ! current_user_can( 'read' ) ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
+ return new WP_Error( 'unauthorized', 'User cannot view taxonomy', 403 );
+ }
+ break;
+ default:
+ return new WP_Error( 'invalid_context', 'Invalid API CONTEXT', 400 );
}
$response = array();
@@ -552,39 +897,47 @@ abstract class SAL_Post {
return (object) $response;
}
- // TODO: factor this out into site
+ /**
+ * Builds and returns the media item's details.
+ *
+ * @param int $media_id The media item ID.
+ * @todo: factor this out into site.
+ *
+ * @return object
+ */
private function get_media_item_v1_1( $media_id ) {
$media_item = get_post( $media_id );
- if ( ! $media_item || is_wp_error( $media_item ) )
+ if ( ! $media_item || is_wp_error( $media_item ) ) {
return new WP_Error( 'unknown_media', 'Unknown Media', 404 );
+ }
- $file = basename( wp_get_attachment_url( $media_item->ID ) );
+ $file = basename( wp_get_attachment_url( $media_item->ID ) );
$file_info = pathinfo( $file );
- $ext = $file_info['extension'];
+ $ext = $file_info['extension'];
$response = array(
- 'ID' => $media_item->ID,
- 'URL' => wp_get_attachment_url( $media_item->ID ),
- 'guid' => $media_item->guid,
- 'date' => (string) WPCOM_JSON_API_Date::format_date( $media_item->post_date_gmt, $media_item->post_date ),
- 'post_ID' => $media_item->post_parent,
- 'author_ID' => (int) $media_item->post_author,
- 'file' => $file,
- 'mime_type' => $media_item->post_mime_type,
- 'extension' => $ext,
- 'title' => $media_item->post_title,
- 'caption' => $media_item->post_excerpt,
- 'description' => $media_item->post_content,
- 'alt' => get_post_meta( $media_item->ID, '_wp_attachment_image_alt', true ),
- 'thumbnails' => array()
+ 'ID' => $media_item->ID,
+ 'URL' => wp_get_attachment_url( $media_item->ID ),
+ 'guid' => $media_item->guid,
+ 'date' => (string) WPCOM_JSON_API_Date::format_date( $media_item->post_date_gmt, $media_item->post_date ),
+ 'post_ID' => $media_item->post_parent,
+ 'author_ID' => (int) $media_item->post_author,
+ 'file' => $file,
+ 'mime_type' => $media_item->post_mime_type,
+ 'extension' => $ext,
+ 'title' => $media_item->post_title,
+ 'caption' => $media_item->post_excerpt,
+ 'description' => $media_item->post_content,
+ 'alt' => get_post_meta( $media_item->ID, '_wp_attachment_image_alt', true ),
+ 'thumbnails' => array(),
);
if ( in_array( $ext, array( 'jpg', 'jpeg', 'png', 'gif', 'webp' ), true ) ) {
$metadata = wp_get_attachment_metadata( $media_item->ID );
if ( isset( $metadata['height'], $metadata['width'] ) ) {
$response['height'] = $metadata['height'];
- $response['width'] = $metadata['width'];
+ $response['width'] = $metadata['width'];
}
if ( isset( $metadata['sizes'] ) ) {
@@ -596,7 +949,7 @@ abstract class SAL_Post {
* @since 3.9.0
*
* @param array $metadata['sizes'] Array of thumbnail sizes available for a given attachment ID.
- * @param string $media_id Attachment ID.
+ * @param int $media_id The media item ID.
*/
$sizes = apply_filters( 'rest_api_thumbnail_sizes', $metadata['sizes'], $media_id );
if ( is_array( $sizes ) ) {
@@ -611,7 +964,7 @@ abstract class SAL_Post {
}
}
- if ( in_array( $ext, array( 'mp3', 'm4a', 'wav', 'ogg' ) ) ) {
+ if ( in_array( $ext, array( 'mp3', 'm4a', 'wav', 'ogg' ), true ) ) {
$metadata = wp_get_attachment_metadata( $media_item->ID );
if ( isset( $metadata['length'] ) ) {
$response['length'] = $metadata['length'];
@@ -620,7 +973,7 @@ abstract class SAL_Post {
$response['exif'] = $metadata;
}
- if ( in_array( $ext, array( 'ogv', 'mp4', 'mov', 'wmv', 'avi', 'mpg', '3gp', '3g2', 'm4v' ) ) ) {
+ if ( in_array( $ext, array( 'ogv', 'mp4', 'mov', 'wmv', 'avi', 'mpg', '3gp', '3g2', 'm4v' ), true ) ) {
$metadata = wp_get_attachment_metadata( $media_item->ID );
if ( isset( $metadata['height'], $metadata['width'] ) ) {
$response['height'] = $metadata['height'];
@@ -631,13 +984,17 @@ abstract class SAL_Post {
$response['length'] = $metadata['length'];
}
- // add VideoPress info
+ // add VideoPress info.
if ( function_exists( 'video_get_info_by_blogpostid' ) ) {
$info = video_get_info_by_blogpostid( $this->site->get_id(), $media_id );
- // Thumbnails
+ // Thumbnails.
if ( function_exists( 'video_format_done' ) && function_exists( 'video_image_url_by_guid' ) ) {
- $response['thumbnails'] = array( 'fmt_hd' => '', 'fmt_dvd' => '', 'fmt_std' => '' );
+ $response['thumbnails'] = array(
+ 'fmt_hd' => '',
+ 'fmt_dvd' => '',
+ 'fmt_std' => '',
+ );
foreach ( $response['thumbnails'] as $size => $thumbnail_url ) {
if ( video_format_done( $info, $size ) ) {
$response['thumbnails'][ $size ] = video_image_url_by_guid( $info->guid, $size );
@@ -647,9 +1004,9 @@ abstract class SAL_Post {
}
}
- $response['videopress_guid'] = $info->guid;
+ $response['videopress_guid'] = $info->guid;
$response['videopress_processing_done'] = true;
- if ( '0000-00-00 00:00:00' == $info->finish_date_gmt ) {
+ if ( '0000-00-00 00:00:00' === $info->finish_date_gmt ) {
$response['videopress_processing_done'] = false;
}
}
@@ -665,8 +1022,8 @@ abstract class SAL_Post {
),
);
- // add VideoPress link to the meta
- if ( in_array( $ext, array( 'ogv', 'mp4', 'mov', 'wmv', 'avi', 'mpg', '3gp', '3g2', 'm4v' ) ) ) {
+ // add VideoPress link to the meta.
+ if ( in_array( $ext, array( 'ogv', 'mp4', 'mov', 'wmv', 'avi', 'mpg', '3gp', '3g2', 'm4v' ), true ) ) {
if ( function_exists( 'video_get_info_by_blogpostid' ) ) {
$response['meta']->links->videopress = (string) $this->links->get_link( '/videos/%s', $response['videopress_guid'], '' );
}
@@ -685,6 +1042,7 @@ abstract class SAL_Post {
* Can be removed after https://core.trac.wordpress.org/ticket/45895 lands in Core.
*
* @param string $original Serialized string.
+ *
* @return string Unserialized string or original string if an exception was raised.
**/
protected function safe_maybe_unserialize( $original ) {
diff --git a/plugins/jetpack/sal/class.json-api-post-jetpack.php b/plugins/jetpack/sal/class.json-api-post-jetpack.php
index fc283fc2..63838a79 100644
--- a/plugins/jetpack/sal/class.json-api-post-jetpack.php
+++ b/plugins/jetpack/sal/class.json-api-post-jetpack.php
@@ -1,33 +1,86 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * This class extends the SAL_Post class, providing the implementation for
+ * functions that were declared in that SAL_Post class.
+ *
+ * @see WPCOM_JSON_API_Post_v1_1_Endpoint in class.wpcom-json-api-post-v1-1-endpoint.php for more context on
+ * the functions implemented here.
+ *
+ * @package automattic/jetpack
+ */
+/**
+ * Base class for Jetpack_Post.
+ */
class Jetpack_Post extends SAL_Post {
+ /**
+ * Defines a default value for the like counts on a post, if this hasn't been defined yet.
+ *
+ * @return int Returns 0.
+ **/
public function get_like_count() {
return 0;
}
+ /**
+ * Defines a default value for whether or not the current user likes this post, if this hasn't been defined yet.
+ *
+ * @return bool Returns false
+ **/
public function is_liked() {
return false;
}
+ /**
+ * Defines a default value for whether or not the current user reblogged this post, if this hasn't been defined yet.
+ *
+ * @return bool Returns false
+ **/
public function is_reblogged() {
return false;
}
+ /**
+ * Defines a default value for whether or not the current user is following this blog, if this hasn't been defined yet.
+ *
+ * @return bool Returns false
+ **/
public function is_following() {
return false;
}
+ /**
+ * Defines the unique WordPress.com-wide representation of a post, if this hasn't been defined yet.
+ *
+ * @return string Returns an empty string
+ **/
public function get_global_id() {
return '';
}
+ /**
+ * Defines a default value for whether or not there is gelocation data for this post, if this hasn't been defined yet.
+ *
+ * @return bool Returns false
+ **/
public function get_geo() {
return false;
}
+ /**
+ * Returns the avatar URL for a user, or an empty string if there isn't a valid avatar.
+ *
+ * @param string $email The user's email.
+ * @param int $avatar_size The size of the avatar in pixels.
+ *
+ * @return string
+ */
protected function get_avatar_url( $email, $avatar_size = 96 ) {
- $avatar_url = get_avatar_url( $email, array(
- 'size' => $avatar_size,
- ) );
+ $avatar_url = get_avatar_url(
+ $email,
+ array(
+ 'size' => $avatar_size,
+ )
+ );
if ( ! $avatar_url || is_wp_error( $avatar_url ) ) {
return '';
diff --git a/plugins/jetpack/sal/class.json-api-site-base.php b/plugins/jetpack/sal/class.json-api-site-base.php
index c30236ab..0855cec3 100644
--- a/plugins/jetpack/sal/class.json-api-site-base.php
+++ b/plugins/jetpack/sal/class.json-api-site-base.php
@@ -1,143 +1,392 @@
-<?php
-
-use Automattic\Jetpack\Status\Host;
-
-require_once dirname( __FILE__ ) . '/class.json-api-date.php';
-require_once dirname( __FILE__ ) . '/class.json-api-post-base.php';
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
- * Base class for the Site Abstraction Layer (SAL)
+ * This file defines the base class for the Site Abstraction Layer (SAL).
* Note that this is the site "as seen by user $user_id with token $token", which
* is why we pass the token to the platform; these site instances are value objects
* to be used in the context of a single request for a single user.
* Also note that at present this class _assumes_ you've "switched to"
* the site in question, and functions like `get_bloginfo( 'name' )` will
- * therefore return the correct value
+ * therefore return the correct value.
+ *
+ * @package automattic/jetpack
**/
+use Automattic\Jetpack\Status\Host;
+
+require_once __DIR__ . '/class.json-api-date.php';
+require_once __DIR__ . '/class.json-api-post-base.php';
+
+/**
+ * Base class for SAL_Site.
+ * The abstract functions here are extended by Abstract_Jetpack_Site in class.json-api-site-jetpack-base.php.
+ */
abstract class SAL_Site {
+
+ /**
+ * The Jetpack blog ID for the site.
+ *
+ * @var int
+ */
public $blog_id;
+
+ /**
+ * A new WPORG_Platform instance.
+ *
+ * @see class.json-api-platform-jetpack.php.
+ *
+ * @var WPORG_Platform
+ */
public $platform;
+ /**
+ * Contructs the SAL_Site instance.
+ *
+ * @param int $blog_id The Jetpack blog ID for the site.
+ * @param WPORG_Platform $platform A new WPORG_Platform instance.
+ */
public function __construct( $blog_id, $platform ) {
- $this->blog_id = $blog_id;
+ $this->blog_id = $blog_id;
$this->platform = $platform;
}
+ /**
+ * Get the blog_id property.
+ *
+ * @return int
+ */
public function get_id() {
return $this->blog_id;
}
+ /**
+ * Returns the site name.
+ *
+ * @return string
+ */
public function get_name() {
return (string) htmlspecialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES );
}
+ /**
+ * Returns the site description.
+ *
+ * @return string
+ */
public function get_description() {
return (string) htmlspecialchars_decode( get_bloginfo( 'description' ), ENT_QUOTES );
}
+ /**
+ * Returns the URL for the current site.
+ *
+ * @return string
+ */
public function get_url() {
return (string) home_url();
}
+ /**
+ * Returns the number of published posts with the 'post' post-type.
+ *
+ * @return int
+ */
public function get_post_count() {
return (int) wp_count_posts( 'post' )->publish;
}
+ /**
+ * A prototype function for get_quota - currently returns null.
+ *
+ * @return null
+ */
public function get_quota() {
return null;
}
+ /**
+ * Returns true if a site has the 'videopress' option enabled, false otherwise.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function has_videopress();
+ /**
+ * Sets the upgraded_filetypes_enabled Jetpack option to true as a default. Only relevant for WordPress.com sites.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function upgraded_filetypes_enabled();
+ /**
+ * Sets the is_mapped_domain Jetpack option to true as a default.
+ *
+ * Primarily used in WordPress.com to confirm the current blog's domain does or doesn't match the primary redirect.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function is_mapped_domain();
+ /**
+ * Fallback to the home URL since all Jetpack sites don't have an unmapped *.wordpress.com domain.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_unmapped_url();
+ /**
+ * Whether the domain is a site redirect or not. Defaults to false on a Jetpack site.
+ *
+ * Primarily used in WordPress.com where it is determined if a HTTP status check is a redirect or not and whether an exception should be thrown.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function is_redirect();
+ /**
+ * Defaults to false on Jetpack sites, however is used on WordPress.com sites, where it returns true if the headstart-fresh blog sticker is present.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function is_headstart_fresh();
+ /**
+ * If the site's current theme supports post thumbnails, return true (otherwise return false).
+ *
+ * @see class.json-api-site-jetpack-base.php for implementation.
+ */
abstract public function featured_images_enabled();
+ /**
+ * Whether or not the Jetpack 'wordads' module is active on the site.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function has_wordads();
+ /**
+ * Defaults to false on Jetpack sites, however is used on WordPress.com sites. This nonce is used for previews on Jetpack sites.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_frame_nonce();
+ /**
+ * Defaults to false on Jetpack sites, however is used on WordPress.com sites where
+ * it creates a nonce to be used with iframed block editor requests to a Jetpack site.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_jetpack_frame_nonce();
+ /**
+ * Returns the allowed mime types and file extensions for a site.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function allowed_file_types();
+ /**
+ * Returns an array of supported post formats.
+ *
+ * @see class.json-api-site-jetpack-base.php for implementation.
+ */
abstract public function get_post_formats();
+ /**
+ * Return site's privacy status.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function is_private();
+ /**
+ * Return site's coming soon status.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function is_coming_soon();
+ /**
+ * Whether or not the current user is following this blog. Defaults to false.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function is_following();
+ /**
+ * Defaults to 0 for the number of WordPress.com subscribers - this is filled in on the WordPress.com side.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_subscribers_count();
+ /**
+ * Returns the language code for the current site.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_locale();
/**
- * The flag indicates that the site has Jetpack installed
+ * The flag indicates that the site has Jetpack installed.
*
- * @return bool
+ * @see class.json-api-site-jetpack.php for implementation.
*/
abstract public function is_jetpack();
/**
- * The flag indicates that the site is connected to WP.com via Jetpack Connection
+ * The flag indicates that the site is connected to WP.com via Jetpack Connection.
*
- * @return bool
+ * @see class.json-api-site-jetpack.php for implementation.
*/
abstract public function is_jetpack_connection();
+ /**
+ * This function returns the values of any active Jetpack modules.
+ *
+ * @see class.json-api-site-jetpack-base.php for implementation.
+ */
abstract public function get_jetpack_modules();
+ /**
+ * This function returns true if a specified Jetpack module is active, false otherwise.
+ *
+ * @see class.json-api-site-jetpack-base.php for implementation.
+ *
+ * @param string $module The Jetpack module name to check.
+ */
abstract public function is_module_active( $module );
+ /**
+ * This function returns false for a check as to whether a site is a VIP site or not.
+ *
+ * @see class.json-api-site-jetpack-base.php for implementation.
+ */
abstract public function is_vip();
+ /**
+ * Returns true if Multisite is enabled, false otherwise.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function is_multisite();
/**
* Points to the user ID of the site owner
*
- * @return int for WP.com, null for Jetpack
+ * @see class.json-api-site-jetpack.php for implementation.
*/
abstract public function get_site_owner();
+ /**
+ * Returns true if the current site is a single user site, false otherwise.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function is_single_user_site();
+ /**
+ * Defaults to false instead of returning the current site plan.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_plan();
+ /**
+ * Empty function declaration - this function is filled out on the WordPress.com side, returning true if the site has an AK / VP bundle.
+ *
+ * @see class.json-api-site-jetpack.php and /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ */
abstract public function get_ak_vp_bundle_enabled();
+ /**
+ * Returns null for Jetpack sites. For WordPress.com sites this returns the value of the 'podcasting_archive' option.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_podcasting_archive();
+ /**
+ * Return the last engine used for an import on the site. Not used in Jetpack.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_import_engine();
+ /**
+ * Returns the front page meta description for current site.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_jetpack_seo_front_page_description();
+ /**
+ * Returns custom title formats from site option.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_jetpack_seo_title_formats();
+ /**
+ * Returns website verification codes. Allowed keys include: google, pinterest, bing, yandex, facebook.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract public function get_verification_services_codes();
+ /**
+ * This function is implemented on WPCom sites, where a filter is removed which forces the URL to http.
+ *
+ * @see class.json-api-site-jetpack-base.php and /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ */
abstract public function before_render();
+ /**
+ * If a user has manage options permissions and the site is the main site of the network, make updates visible.
+ *
+ * Called after response_keys have been rendered, which itself is used to return all the necessary information for a site’s response.
+ *
+ * @see class.json-api-site-jetpack-base.php for implementation.
+ *
+ * @param array $response an array of the response keys.
+ */
abstract public function after_render( &$response );
- // TODO - factor this out? Seems an odd thing to have on a site
+ /**
+ * Extends the Jetpack options array with details including site constraints, WordPress and Jetpack versions, and plugins using the Jetpack connection.
+ *
+ * @see class.json-api-site-jetpack-base.php for implementation.
+ * @todo factor this out? Seems an odd thing to have on a site
+ *
+ * @param array $options an array of the Jetpack options.
+ */
abstract public function after_render_options( &$options );
- // wrap a WP_Post object with SAL methods
+ /**
+ * Wrap a WP_Post object with SAL methods, returning a Jetpack_Post object.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ *
+ * @param WP_Post $post A WP_Post object.
+ * @param string $context The post request context (for example 'edit' or 'display').
+ */
abstract public function wrap_post( $post, $context );
+ /**
+ * For Jetpack sites this will always return false.
+ *
+ * @see class.json-api-site-jetpack-base.php for implementation.
+ *
+ * @param int $post_id The post id.
+ */
abstract protected function is_a8c_publication( $post_id );
+ /**
+ * Defines a filter to set whether a site is an automated_transfer site or not.
+ *
+ * Default is false.
+ *
+ * @return bool
+ */
public function is_automated_transfer() {
/**
* Filter if a site is an automated-transfer site.
@@ -156,6 +405,11 @@ abstract class SAL_Site {
);
}
+ /**
+ * Defaulting to false and not relevant for Jetpack sites, this is expanded on the WordPress.com side for a specific wp.com/start 'WP for teams' flow.
+ *
+ * @see class.json-api-site-jetpack.php for implementation.
+ */
abstract protected function is_wpforteams_site();
/**
@@ -185,22 +439,58 @@ abstract class SAL_Site {
return ( new Host() )->is_woa_site();
}
+ /**
+ * Detect whether a site is an automated transfer site and WooCommerce is active.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ *
+ * @return bool - False for Jetpack-connected sites.
+ */
public function is_wpcom_store() {
return false;
}
+ /**
+ * Detect whether a site has the WooCommerce plugin active.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ *
+ * @return bool - Default false for Jetpack-connected sites.
+ */
public function woocommerce_is_active() {
return false;
}
+ /**
+ * Detect whether a site has access to the Jetpack cloud.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ *
+ * @return bool - Default false for Jetpack-connected sites.
+ */
public function is_cloud_eligible() {
return false;
}
+ /**
+ * Returns an array of WPCOM_Store products.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ *
+ * @return bool - Default empty array for Jetpack-connected sites.
+ */
public function get_products() {
return array();
}
+ /**
+ * Get post by ID
+ *
+ * @param int $post_id The ID of the post.
+ * @param string $context The context by which the post data is required (display or edit).
+ *
+ * @return Jetpack_Post Post object on success, WP_Error object on failure
+ **/
public function get_post_by_id( $post_id, $context ) {
$post = get_post( $post_id, OBJECT, $context );
@@ -209,7 +499,6 @@ abstract class SAL_Site {
}
$wrapped_post = $this->wrap_post( $post, $context );
-
// validate access
return $this->validate_access( $wrapped_post );
}
@@ -217,7 +506,9 @@ abstract class SAL_Site {
/**
* Validate current user can access the post
*
- * @return WP_Error or post
+ * @param Jetpack_Post $post Post object.
+ *
+ * @return WP_Error|Jetpack_Post
*/
private function validate_access( $post ) {
$context = $post->context;
@@ -230,31 +521,39 @@ abstract class SAL_Site {
}
switch ( $context ) {
- case 'edit' :
- if ( ! current_user_can( 'edit_post', $post->ID ) ) {
- return new WP_Error( 'unauthorized', 'User cannot edit post', 403 );
- }
- break;
- case 'display' :
- $can_view = $this->user_can_view_post( $post );
- if ( is_wp_error( $can_view ) ) {
- return $can_view;
- }
- break;
- default :
- return new WP_Error( 'invalid_context', 'Invalid API CONTEXT', 400 );
+ case 'edit':
+ if ( ! current_user_can( 'edit_post', $post->ID ) ) {
+ return new WP_Error( 'unauthorized', 'User cannot edit post', 403 );
+ }
+ break;
+ case 'display':
+ $can_view = $this->user_can_view_post( $post );
+ if ( is_wp_error( $can_view ) ) {
+ return $can_view;
+ }
+ break;
+ default:
+ return new WP_Error( 'invalid_context', 'Invalid API CONTEXT', 400 );
}
return $post;
}
+ /**
+ * Validate whether the current user can access the specified post type.
+ *
+ * @param string $post_type The post type to check.
+ * @param string $context The context by which the post data is required (display or edit).
+ *
+ * @return bool
+ */
public function current_user_can_access_post_type( $post_type, $context ) {
$post_type_object = $this->get_post_type_object( $post_type );
if ( ! $post_type_object ) {
return false;
}
- switch( $context ) {
+ switch ( $context ) {
case 'edit':
return current_user_can( $post_type_object->cap->edit_posts );
case 'display':
@@ -264,11 +563,26 @@ abstract class SAL_Site {
}
}
+ /**
+ * Retrieves a post type object by name.
+ *
+ * @param string $post_type The post type to check.
+ *
+ * @return WP_Post_Type|null
+ */
protected function get_post_type_object( $post_type ) {
return get_post_type_object( $post_type );
}
- // copied from class.json-api-endpoints.php
+ /**
+ * Is the post type allowed?
+ *
+ * Function copied from class.json-api-endpoints.php.
+ *
+ * @param string $post_type Post type.
+ *
+ * @return bool
+ */
public function is_post_type_allowed( $post_type ) {
// if the post type is empty, that's fine, WordPress will default to post
if ( empty( $post_type ) ) {
@@ -276,16 +590,17 @@ abstract class SAL_Site {
}
// allow special 'any' type
- if ( 'any' == $post_type ) {
+ if ( 'any' === $post_type ) {
return true;
}
// check for allowed types
- if ( in_array( $post_type, $this->get_whitelisted_post_types() ) ) {
+ if ( in_array( $post_type, $this->get_whitelisted_post_types(), true ) ) {
return true;
}
- if ( $post_type_object = get_post_type_object( $post_type ) ) {
+ $post_type_object = get_post_type_object( $post_type );
+ if ( $post_type_object ) {
if ( ! empty( $post_type_object->show_in_rest ) ) {
return $post_type_object->show_in_rest;
}
@@ -297,10 +612,11 @@ abstract class SAL_Site {
return ! empty( $post_type_object->public );
}
- // copied from class.json-api-endpoints.php
/**
* Gets the whitelisted post types that JP should allow access to.
*
+ * Function copied from class.json-api-endpoints.php.
+ *
* @return array Whitelisted post types.
*/
public function get_whitelisted_post_types() {
@@ -320,14 +636,21 @@ abstract class SAL_Site {
return array_unique( $allowed_types );
}
- // copied and modified a little from class.json-api-endpoints.php
+ /**
+ * Can the user view the post?
+ *
+ * Function copied from class.json-api-endpoints.php and modified.
+ *
+ * @param Jetpack_Post $post Post object.
+ * @return bool|WP_Error
+ */
private function user_can_view_post( $post ) {
- if ( !$post || is_wp_error( $post ) ) {
+ if ( ! $post || is_wp_error( $post ) ) {
return false;
}
if ( 'inherit' === $post->post_status ) {
- $parent_post = get_post( $post->post_parent );
+ $parent_post = get_post( $post->post_parent );
$post_status_obj = get_post_status_object( $parent_post->post_status );
} else {
$post_status_obj = get_post_status_object( $post->post_status );
@@ -337,8 +660,8 @@ abstract class SAL_Site {
$post_status_obj->public ||
( is_user_logged_in() &&
(
- ( $post_status_obj->protected && current_user_can( 'edit_post', $post->ID ) ) ||
- ( $post_status_obj->private && current_user_can( 'read_post', $post->ID ) ) ||
+ ( $post_status_obj->protected && current_user_can( 'edit_post', $post->ID ) ) ||
+ ( $post_status_obj->private && current_user_can( 'read_post', $post->ID ) ) ||
( 'trash' === $post->post_status && current_user_can( 'edit_post', $post->ID ) ) ||
'auto-draft' === $post->post_status
)
@@ -350,7 +673,7 @@ abstract class SAL_Site {
}
if (
- -1 == get_option( 'blog_public' ) &&
+ -1 == get_option( 'blog_public' ) && // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- Could be a string or int.
/**
* Filter access to a specific post.
*
@@ -367,11 +690,25 @@ abstract class SAL_Site {
$post
)
) {
- return new WP_Error( 'unauthorized', 'User cannot view post', array( 'status_code' => 403, 'error' => 'private_blog' ) );
+ return new WP_Error(
+ 'unauthorized',
+ 'User cannot view post',
+ array(
+ 'status_code' => 403,
+ 'error' => 'private_blog',
+ )
+ );
}
- if ( strlen( $post->post_password ) && !current_user_can( 'edit_post', $post->ID ) ) {
- return new WP_Error( 'unauthorized', 'User cannot view password protected post', array( 'status_code' => 403, 'error' => 'password_protected' ) );
+ if ( strlen( $post->post_password ) && ! current_user_can( 'edit_post', $post->ID ) ) {
+ return new WP_Error(
+ 'unauthorized',
+ 'User cannot view password protected post',
+ array(
+ 'status_code' => 403,
+ 'error' => 'password_protected',
+ )
+ );
}
return true;
@@ -382,9 +719,9 @@ abstract class SAL_Site {
*
* Attempts to match name on post title and page path
*
- * @param string $name
+ * @param string $name The post name.
*
- * @return int|object Post ID on success, WP_Error object on failure
+ * @return int|WP_Error Post ID on success, WP_Error object on failure
*/
public function get_post_id_by_name( $name ) {
$name = sanitize_title( $name );
@@ -393,11 +730,13 @@ abstract class SAL_Site {
return new WP_Error( 'invalid_post', 'Invalid post', 400 );
}
- $posts = get_posts( array(
- 'name' => $name,
- 'numberposts' => 1,
- 'post_type' => $this->get_whitelisted_post_types(),
- ) );
+ $posts = get_posts(
+ array(
+ 'name' => $name,
+ 'numberposts' => 1,
+ 'post_type' => $this->get_whitelisted_post_types(),
+ )
+ );
if ( ! $posts || ! isset( $posts[0]->ID ) || ! $posts[0]->ID ) {
$page = get_page_by_path( $name );
@@ -417,10 +756,10 @@ abstract class SAL_Site {
*
* Attempts to match name on post title and page path
*
- * @param string $name
- * @param string $context (display or edit)
+ * @param string $name The post name.
+ * @param string $context (display or edit).
*
- * @return object Post object on success, WP_Error object on failure
+ * @return Jetpack_Post|WP_Error Post object on success, WP_Error object on failure
**/
public function get_post_by_name( $name, $context ) {
$post_id = $this->get_post_id_by_name( $name );
@@ -431,16 +770,31 @@ abstract class SAL_Site {
return $this->get_post_by_id( $post_id, $context );
}
- function user_can_manage() {
- current_user_can( 'manage_options' );
+ /**
+ * Whether or not the current user is an admin (has option management capabilities).
+ *
+ * @return bool
+ **/
+ public function user_can_manage() {
+ return current_user_can( 'manage_options' );
}
- function get_xmlrpc_url() {
+ /**
+ * Returns the XMLRPC URL - the site URL including the URL scheme that is used when querying your site's REST API endpoint.
+ *
+ * @return string
+ **/
+ public function get_xmlrpc_url() {
$xmlrpc_scheme = apply_filters( 'wpcom_json_api_xmlrpc_scheme', wp_parse_url( get_option( 'home' ), PHP_URL_SCHEME ) );
return site_url( 'xmlrpc.php', $xmlrpc_scheme );
}
- function get_registered_date() {
+ /**
+ * Returns a date/time string with the date the site was registered, or a default date/time string otherwise.
+ *
+ * @return string
+ **/
+ public function get_registered_date() {
if ( function_exists( 'get_blog_details' ) ) {
$blog_details = get_blog_details();
if ( ! empty( $blog_details->registered ) ) {
@@ -451,7 +805,12 @@ abstract class SAL_Site {
return '0000-00-00T00:00:00+00:00';
}
- function get_capabilities() {
+ /**
+ * Returns an array including the current users relevant capabilities.
+ *
+ * @return array
+ **/
+ public function get_capabilities() {
$is_wpcom_blog_owner = wpcom_get_blog_owner() === (int) get_current_user_id();
return array(
@@ -475,7 +834,7 @@ abstract class SAL_Site {
'remove_users' => current_user_can( 'remove_users' ),
'own_site' => $is_wpcom_blog_owner,
/**
- * Filter whether the Hosting section in Calypso should be available for site.
+ * Filter whether the Hosting section in Calypso should be available for site.
*
* @module json-api
*
@@ -489,7 +848,12 @@ abstract class SAL_Site {
);
}
- function is_visible() {
+ /**
+ * Whether or not a site is public.
+ *
+ * @return bool
+ **/
+ public function is_visible() {
if ( is_user_logged_in() ) {
$current_user = wp_get_current_user();
$visible = (array) get_user_meta( $current_user->ID, 'blog_visibility', true );
@@ -506,7 +870,12 @@ abstract class SAL_Site {
return null;
}
- function get_logo() {
+ /**
+ * Creates and returns an array with logo settings.
+ *
+ * @return array
+ **/
+ public function get_logo() {
// Set an empty response array.
$logo_setting = array(
'id' => (int) 0,
@@ -526,91 +895,201 @@ abstract class SAL_Site {
return $logo_setting;
}
- function get_timezone() {
+ /**
+ * Returns the timezone string from the site's settings (eg. 'Europe/London').
+ *
+ * @return string
+ **/
+ public function get_timezone() {
return (string) get_option( 'timezone_string' );
}
- function get_gmt_offset() {
+ /**
+ * Returns the GMT offset from the site's settings (eg. 5.5).
+ *
+ * @return float
+ **/
+ public function get_gmt_offset() {
return (float) get_option( 'gmt_offset' );
}
- function get_login_url() {
+ /**
+ * Returns the site's login URL.
+ *
+ * @return string
+ **/
+ public function get_login_url() {
return wp_login_url();
}
- function get_admin_url() {
+ /**
+ * Returns the URL for a site's admin area.
+ *
+ * @return string
+ **/
+ public function get_admin_url() {
return get_admin_url();
}
- function get_theme_slug() {
+ /**
+ * Returns the theme's slug (eg. 'twentytwentytwo')
+ *
+ * @return string
+ **/
+ public function get_theme_slug() {
return get_option( 'stylesheet' );
}
- function get_header_image() {
+ /**
+ * Gets the header image data.
+ *
+ * @return bool|object
+ **/
+ public function get_header_image() {
return get_theme_mod( 'header_image_data' );
}
- function get_background_color() {
+ /**
+ * Gets the theme background color.
+ *
+ * @return bool|string
+ **/
+ public function get_background_color() {
return get_theme_mod( 'background_color' );
}
- function get_image_default_link_type() {
+ /**
+ * Get the image default link type.
+ *
+ * @return string
+ **/
+ public function get_image_default_link_type() {
return get_option( 'image_default_link_type' );
}
- function get_image_thumbnail_width() {
+ /**
+ * Gets the image thumbnails width.
+ *
+ * @return int
+ **/
+ public function get_image_thumbnail_width() {
return (int) get_option( 'thumbnail_size_w' );
}
- function get_image_thumbnail_height() {
+ /**
+ * Gets the image thumbnails height.
+ *
+ * @return int
+ **/
+ public function get_image_thumbnail_height() {
return (int) get_option( 'thumbnail_size_h' );
}
- function get_image_thumbnail_crop() {
+ /**
+ * Whether cropping is enabled for thumbnails.
+ *
+ * @return string
+ **/
+ public function get_image_thumbnail_crop() {
return get_option( 'thumbnail_crop' );
}
- function get_image_medium_width() {
+ /**
+ * Gets the medium sized image setting's width.
+ *
+ * @return int
+ **/
+ public function get_image_medium_width() {
return (int) get_option( 'medium_size_w' );
}
- function get_image_medium_height() {
+ /**
+ * Gets the medium sized image setting's height.
+ *
+ * @return int
+ **/
+ public function get_image_medium_height() {
return (int) get_option( 'medium_size_h' );
}
- function get_image_large_width() {
+ /**
+ * Gets the large sized image setting's width.
+ *
+ * @return int
+ **/
+ public function get_image_large_width() {
return (int) get_option( 'large_size_w' );
}
- function get_image_large_height() {
+ /**
+ * Gets the large sized image setting's height.
+ *
+ * @return int
+ **/
+ public function get_image_large_height() {
return (int) get_option( 'large_size_h' );
}
- function get_permalink_structure() {
+ /**
+ * Gets the permalink structure as defined in the site's settings.
+ *
+ * @return string
+ **/
+ public function get_permalink_structure() {
return get_option( 'permalink_structure' );
}
- function get_default_post_format() {
+ /**
+ * Gets the default post format
+ *
+ * @return string
+ **/
+ public function get_default_post_format() {
return get_option( 'default_post_format' );
}
- function get_default_category() {
+ /**
+ * Gets the default post category
+ *
+ * @return int
+ **/
+ public function get_default_category() {
return (int) get_option( 'default_category' );
}
- function get_show_on_front() {
+ /**
+ * Returns what should be shown on the front page (eg. page or posts)
+ *
+ * @return string
+ **/
+ public function get_show_on_front() {
return get_option( 'show_on_front' );
}
- function is_custom_front_page() {
+ /**
+ * Whether or not the front page is set as 'page' to allow a custom front page
+ *
+ * @return bool
+ **/
+ public function is_custom_front_page() {
return ( 'page' === $this->get_show_on_front() );
}
- function get_default_likes_enabled() {
+ /**
+ * Whether or not likes have been enabled on all site posts
+ *
+ * @return bool
+ **/
+ public function get_default_likes_enabled() {
return (bool) apply_filters( 'wpl_is_enabled_sitewide', ! get_option( 'disabled_likes' ) );
}
- function get_default_sharing_status() {
+ /**
+ * If sharing has been enabled and there are visible blog services (eg. 'facebook', 'twitter'), returns true.
+ *
+ * @return bool
+ **/
+ public function get_default_sharing_status() {
$default_sharing_status = false;
if ( class_exists( 'Sharing_Service' ) ) {
$ss = new Sharing_Service();
@@ -620,15 +1099,32 @@ abstract class SAL_Site {
return (bool) $default_sharing_status;
}
- function get_default_comment_status() {
+ /**
+ * Displays the current comment status
+ *
+ * @return bool False if closed, true for all other comment statuses.
+ **/
+ public function get_default_comment_status() {
return 'closed' !== get_option( 'default_comment_status' );
}
- function default_ping_status() {
+ /**
+ * Displays the current site-wide post ping status (for pingbacks and trackbacks)
+ *
+ * @return bool False if closed, true for all other ping statuses.
+ **/
+ public function default_ping_status() {
return 'closed' !== get_option( 'default_ping_status' );
}
- function is_publicize_permanently_disabled() {
+ /**
+ * Whether or not Publicize has been permanently disabled on the site
+ *
+ * @see wpcom/wp-content/admin-plugins/publicize/publicize-wpcom.php
+ *
+ * @return bool Default false.
+ **/
+ public function is_publicize_permanently_disabled() {
$publicize_permanently_disabled = false;
if ( function_exists( 'is_publicize_permanently_disabled' ) ) {
$publicize_permanently_disabled = is_publicize_permanently_disabled( $this->blog_id );
@@ -636,33 +1132,68 @@ abstract class SAL_Site {
return $publicize_permanently_disabled;
}
- function get_page_on_front() {
+ /**
+ * Returns the post ID of the static front page.
+ *
+ * @return int
+ **/
+ public function get_page_on_front() {
return (int) get_option( 'page_on_front' );
}
- function get_page_for_posts() {
+ /**
+ * Returns the post ID of the page designated as the posts page.
+ *
+ * @return int
+ **/
+ public function get_page_for_posts() {
return (int) get_option( 'page_for_posts' );
}
- function is_headstart() {
+ /**
+ * Whether or not headstart is enabled for the site
+ *
+ * @return bool
+ **/
+ public function is_headstart() {
return get_option( 'headstart' );
}
- function get_wordpress_version() {
+ /**
+ * The WordPress version on the site.
+ *
+ * @return string
+ **/
+ public function get_wordpress_version() {
global $wp_version;
return $wp_version;
}
- function is_domain_only() {
+ /**
+ * Whether or not this is a domain-only site (only relevant on WordPress.com simple sites - false otherwise)
+ *
+ * @return bool
+ **/
+ public function is_domain_only() {
$options = get_option( 'options' );
- return ! empty ( $options['is_domain_only'] ) ? (bool) $options['is_domain_only'] : false;
+ return ! empty( $options['is_domain_only'] ) ? (bool) $options['is_domain_only'] : false;
}
- function get_blog_public() {
+ /**
+ * Whether or not the blog is set to public (not hidden from search engines)
+ *
+ * @return int 1 for true, 0 for false.
+ **/
+ public function get_blog_public() {
return (int) get_option( 'blog_public' );
}
- function has_pending_automated_transfer() {
+ /**
+ * Whether or not the site is in a 'pending automated transfer' state.
+ *
+ * @return bool
+ **/
+ public function has_pending_automated_transfer() {
/**
* Filter if a site is in pending automated transfer state.
*
@@ -680,40 +1211,91 @@ abstract class SAL_Site {
);
}
- function signup_is_store() {
+ /**
+ * Whether or not the site has a 'designType' option set as 'store'
+ *
+ * @return bool
+ **/
+ public function signup_is_store() {
return $this->get_design_type() === 'store';
}
- function get_roles() {
+ /**
+ * Return a new WP_Roles instance, which implements a user roles API
+ *
+ * @return WP_Roles
+ **/
+ public function get_roles() {
return new WP_Roles();
}
- function get_design_type() {
+ /**
+ * Returns the 'designType' option if set (the site design type), null otherwise.
+ *
+ * @return string|null
+ **/
+ public function get_design_type() {
$options = get_option( 'options' );
- return empty( $options[ 'designType'] ) ? null : $options[ 'designType' ];
+ return empty( $options['designType'] ) ? null : $options['designType'];
}
- function get_site_goals() {
+ /**
+ * Returns the 'siteGoals' option if set (eg. share, promote, educate, sell, showcase), null otherwise.
+ *
+ * @return string|null
+ **/
+ public function get_site_goals() {
$options = get_option( 'options' );
- return empty( $options[ 'siteGoals'] ) ? null : $options[ 'siteGoals' ];
+ return empty( $options['siteGoals'] ) ? null : $options['siteGoals'];
}
- function get_launch_status() {
+ /**
+ * Return site's launch status. Expanded in class.json-api-site-jetpack.php.
+ *
+ * @return bool False in this case.
+ */
+ public function get_launch_status() {
return false;
}
- function get_migration_meta() {
+ /**
+ * Whether a site has any migration meta details - only applicable on WordPress.com
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php
+ *
+ * @return null
+ */
+ public function get_migration_meta() {
return null;
}
- function get_site_segment() {
+ /**
+ * Whether a site has a site segment - only applicable on WordPress.com
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-wpcom.php
+ *
+ * @return false
+ */
+ public function get_site_segment() {
return false;
}
- function get_site_creation_flow() {
+ /**
+ * Whether a site has a 'site_creation_flow' option set (eg gutenboarding, mobile) - only applicable on WordPress.com
+ *
+ * @see /wpcom-json-endpoints/class.wpcom-json-api-new-site-endpoint.php for more on the option.
+ *
+ * @return bool
+ */
+ public function get_site_creation_flow() {
return get_option( 'site_creation_flow' );
}
+ /**
+ * Return any selected features (used to help recommend plans)
+ *
+ * @return string
+ */
public function get_selected_features() {
return get_option( 'selected_features' );
}
@@ -729,6 +1311,8 @@ abstract class SAL_Site {
/**
* Check if the site is currently being built by the DIFM Lite team.
+ *
+ * @return bool
*/
public function is_difm_lite_in_progress() {
if ( function_exists( 'has_blog_sticker' ) ) {
@@ -739,6 +1323,8 @@ abstract class SAL_Site {
/**
* Get the option of site intent which value is coming from the Hero Flow
+ *
+ * @return string
*/
public function get_site_intent() {
return get_option( 'site_intent', '' );
diff --git a/plugins/jetpack/sal/class.json-api-site-jetpack-base.php b/plugins/jetpack/sal/class.json-api-site-jetpack-base.php
index b8593c2f..e0d1967f 100644
--- a/plugins/jetpack/sal/class.json-api-site-jetpack-base.php
+++ b/plugins/jetpack/sal/class.json-api-site-jetpack-base.php
@@ -1,29 +1,117 @@
-<?php
-require_once dirname( __FILE__ ) . '/class.json-api-site-base.php';
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * This class extends the SAL_Site class, providing the implementation for
+ * functions that were declared in that SAL_Site class as well as defining
+ * base functions to be implemented in class Jetpack_Site.
+ *
+ * @see class.json-api-site-jetpack.php for more context on
+ * the functions extended here.
+ *
+ * @package automattic/jetpack
+ */
+require_once __DIR__ . '/class.json-api-site-base.php';
+
+/**
+ * Base class for Abstract_Jetpack_Site.
+ */
abstract class Abstract_Jetpack_Site extends SAL_Site {
+
+ /**
+ * Defining a base get_constant() function to be extended in the Jetpack_Site class.
+ *
+ * If a Jetpack constant name has been defined, this will return the value of the constant.
+ *
+ * @param string $name the name of the Jetpack constant to check.
+ */
abstract protected function get_constant( $name );
+ /**
+ * Defining a base current_theme_supports() function to be extended in the Jetpack_Site class.
+ *
+ * Returns true if the current theme supports the $feature_name, false otherwise.
+ *
+ * @param string $feature_name the name of the Jetpack feature.
+ */
abstract protected function current_theme_supports( $feature_name );
+ /**
+ * Defining a base get_theme_support() function to be extended in the Jetpack_Site class.
+ *
+ * Gets theme support arguments to be checked against the specific Jetpack feature.
+ *
+ * @param string $feature_name the name of the Jetpack feature to check against.
+ */
abstract protected function get_theme_support( $feature_name );
+ /**
+ * Defining a base get_mock_option() function to be extended in the Jetpack_Site class.
+ *
+ * Retrieves a Jetpack option's value, given the option name.
+ *
+ * @param string $name the name of the Jetpack option, without the 'jetpack' prefix (eg. 'log' for 'jetpack_log').
+ */
abstract protected function get_mock_option( $name );
+ /**
+ * Defining a base get_jetpack_version() function to be extended in the Jetpack_Site class.
+ *
+ * Returns the current Jetpack version number.
+ */
abstract public function get_jetpack_version();
+ /**
+ * Defining a base get_updates() function to be extended in the Jetpack_Site class.
+ *
+ * Gets updates and then stores them in the jetpack_updates option, returning an array with the option schema.
+ */
abstract public function get_updates();
+ /**
+ * Defining a base main_network_site() function to be extended in the Jetpack_Site class.
+ *
+ * Returns the site URL for the current network.
+ */
abstract protected function main_network_site();
+ /**
+ * Defining a base wp_version() function to be extended in the Jetpack_Site class.
+ *
+ * Returns the WordPress version for the current site.
+ */
abstract protected function wp_version();
+ /**
+ * Defining a base max_upload_size() function to be extended in the Jetpack_Site class.
+ *
+ * Returns the maximum upload size allowed in php.ini.
+ */
abstract protected function max_upload_size();
+ /**
+ * Defining a base is_main_network() function to be extended in the Jetpack_Site class.
+ *
+ * Returns true if the site is within a system with a multiple networks, false otherwise.
+ *
+ * @see /projects/packages/status/src/class-status.php.
+ */
abstract protected function is_main_network();
+ /**
+ * Defining a base is_version_controlled() function to be extended in the Jetpack_Site class.
+ *
+ * Returns true if is_vcs_checkout discovers a version control checkout, false otherwise.
+ *
+ * @see projects/packages/sync/src/class-functions.php.
+ */
abstract protected function is_version_controlled();
+ /**
+ * Defining a base file_system_write_access() function to be extended in the Jetpack_Site class.
+ *
+ * Returns true if the site has file write access false otherwise.
+ *
+ * @see projects/packages/sync/src/class-functions.php.
+ */
abstract protected function file_system_write_access();
/**
@@ -31,26 +119,46 @@ abstract class Abstract_Jetpack_Site extends SAL_Site {
*/
abstract protected function get_connection_active_plugins();
- function before_render() {
+ /**
+ * This function is implemented on WPCom sites, where a filter is removed which forces the URL to http.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ */
+ public function before_render() {
}
+ /**
+ * This function returns the value of the 'WP_MEMORY_LIMIT' constant.
+ *
+ * @return int|string
+ */
protected function wp_memory_limit() {
return $this->get_constant( 'WP_MEMORY_LIMIT' );
}
+ /**
+ * This function returns the value of the 'WP_MAX_MEMORY_LIMIT' constant.
+ *
+ * @return int|string
+ */
protected function wp_max_memory_limit() {
return $this->get_constant( 'WP_MAX_MEMORY_LIMIT' );
}
-
- function after_render( &$response ) {
- // Add the updates only make them visible if the user has manage options permission and the site is the main site of the network
+ /**
+ * If a user has manage options permissions and the site is the main site of the network, make updates visible.
+ *
+ * Called after response_keys have been rendered, which itself is used to return all the necessary information for a site’s response.
+ *
+ * @param array $response an array of the response keys.
+ */
+ public function after_render( &$response ) {
if ( current_user_can( 'manage_options' ) && $this->is_main_site( $response ) ) {
$jetpack_update = $this->get_updates();
if ( ! empty( $jetpack_update ) ) {
- // In previous version of Jetpack 3.4, 3.5, 3.6 we synced the wp_version into to jetpack_updates
+ // In previous version of Jetpack 3.4, 3.5, 3.6 we synced the wp_version into to jetpack_updates.
unset( $jetpack_update['wp_version'] );
- // In previous version of Jetpack 3.4, 3.5, 3.6 we synced the site_is_version_controlled into to jetpack_updates
+ // In previous version of Jetpack 3.4, 3.5, 3.6 we synced the site_is_version_controlled into to jetpack_updates.
unset( $jetpack_update['site_is_version_controlled'] );
$response['updates'] = $jetpack_update;
@@ -58,61 +166,98 @@ abstract class Abstract_Jetpack_Site extends SAL_Site {
}
}
- function after_render_options( &$options ) {
-
+ /**
+ * Extends the Jetpack options array with details including site constraints, WordPress and Jetpack versions, and plugins using the Jetpack connection.
+ *
+ * @param array $options an array of the Jetpack options.
+ */
+ public function after_render_options( &$options ) {
$options['jetpack_version'] = $this->get_jetpack_version();
- if ( $main_network_site = $this->main_network_site() ) {
+ $main_network_site = $this->main_network_site();
+ if ( $main_network_site ) {
$options['main_network_site'] = (string) rtrim( $main_network_site, '/' );
}
- if ( is_array( $active_modules = Jetpack_Options::get_option( 'active_modules' ) ) ) {
+ $active_modules = Jetpack_Options::get_option( 'active_modules' );
+ if ( is_array( $active_modules ) ) {
$options['active_modules'] = (array) array_values( $active_modules );
}
- $options['software_version'] = (string) $this->wp_version();
- $options['max_upload_size'] = $this->max_upload_size();
- $options['wp_memory_limit'] = $this->wp_memory_limit();
- $options['wp_max_memory_limit'] = $this->wp_max_memory_limit();
+ $options['software_version'] = (string) $this->wp_version();
+ $options['max_upload_size'] = $this->max_upload_size();
+ $options['wp_memory_limit'] = $this->wp_memory_limit();
+ $options['wp_max_memory_limit'] = $this->wp_max_memory_limit();
// Sites have to prove that they are not main_network site.
- // If the sync happends right then we should be able to see that we are not dealing with a network site
+ // If the sync happends right then we should be able to see that we are not dealing with a network site.
$options['is_multi_network'] = (bool) $this->is_main_network();
$options['is_multi_site'] = (bool) $this->is_multisite();
- $file_mod_disabled_reasons = array_keys( array_filter( array(
- 'automatic_updater_disabled' => (bool) $this->get_constant( 'AUTOMATIC_UPDATER_DISABLED' ),
- // WP AUTO UPDATE CORE defaults to minor, '1' if true and '0' if set to false.
- 'wp_auto_update_core_disabled' => ! ( (bool) $this->get_constant( 'WP_AUTO_UPDATE_CORE' ) ),
- 'is_version_controlled' => (bool) $this->is_version_controlled(),
- // By default we assume that site does have system write access if the value is not set yet.
- 'has_no_file_system_write_access' => ! (bool) $this->file_system_write_access(),
- 'disallow_file_mods' => (bool) $this->get_constant( 'DISALLOW_FILE_MODS' ),
- ) ) );
+ $file_mod_disabled_reasons = array_keys(
+ array_filter(
+ array(
+ 'automatic_updater_disabled' => (bool) $this->get_constant( 'AUTOMATIC_UPDATER_DISABLED' ),
+ // WP AUTO UPDATE CORE defaults to minor, '1' if true and '0' if set to false.
+ 'wp_auto_update_core_disabled' => ! ( (bool) $this->get_constant( 'WP_AUTO_UPDATE_CORE' ) ),
+ 'is_version_controlled' => (bool) $this->is_version_controlled(),
+ // By default we assume that site does have system write access if the value is not set yet.
+ 'has_no_file_system_write_access' => ! (bool) $this->file_system_write_access(),
+ 'disallow_file_mods' => (bool) $this->get_constant( 'DISALLOW_FILE_MODS' ),
+ )
+ )
+ );
$options['file_mod_disabled'] = empty( $file_mod_disabled_reasons ) ? false : $file_mod_disabled_reasons;
$options['jetpack_connection_active_plugins'] = $this->get_connection_active_plugins();
}
- function get_jetpack_modules() {
+ /**
+ * This function returns the values of any active Jetpack modules.
+ *
+ * @return array
+ */
+ public function get_jetpack_modules() {
return array_values( Jetpack_Options::get_option( 'active_modules', array() ) );
}
- function is_module_active( $module ) {
- return in_array ( $module, Jetpack_Options::get_option( 'active_modules', array() ), true );
+ /**
+ * This function returns true if a specified Jetpack module is active, false otherwise.
+ *
+ * @param string $module The Jetpack module name to check.
+ *
+ * @return bool
+ */
+ public function is_module_active( $module ) {
+ return in_array( $module, Jetpack_Options::get_option( 'active_modules', array() ), true );
}
- function is_vip() {
- return false; // this may change for VIP Go sites, which sync using Jetpack
+ /**
+ * This function returns false for a check as to whether a site is a VIP site or not.
+ *
+ * @return bool Always returns false.
+ */
+ public function is_vip() {
+ return false; // this may change for VIP Go sites, which sync using Jetpack.
}
- function featured_images_enabled() {
+ /**
+ * If the site's current theme supports post thumbnails, return true (otherwise return false).
+ *
+ * @return bool
+ */
+ public function featured_images_enabled() {
return $this->current_theme_supports( 'post-thumbnails' );
}
- function get_post_formats() {
- // deprecated - see separate endpoint. get a list of supported post formats
+ /**
+ * Returns an array of supported post formats.
+ *
+ * @return array
+ */
+ public function get_post_formats() {
+ // deprecated - see separate endpoint. get a list of supported post formats.
$all_formats = get_post_format_strings();
$supported = $this->get_theme_support( 'post-formats' );
@@ -127,7 +272,12 @@ abstract class Abstract_Jetpack_Site extends SAL_Site {
return $supported_formats;
}
- function get_icon() {
+ /**
+ * Returns an array with site icon details.
+ *
+ * @return array
+ */
+ public function get_icon() {
$icon_id = get_option( 'site_icon' );
if ( empty( $icon_id ) ) {
$icon_id = Jetpack_Options::get_option( 'site_icon_id' );
@@ -137,10 +287,12 @@ abstract class Abstract_Jetpack_Site extends SAL_Site {
return null;
}
- $icon = array_filter( array(
- 'img' => wp_get_attachment_image_url( $icon_id, 'full' ),
- 'ico' => wp_get_attachment_image_url( $icon_id, array( 16, 16 ) )
- ) );
+ $icon = array_filter(
+ array(
+ 'img' => wp_get_attachment_image_url( $icon_id, 'full' ),
+ 'ico' => wp_get_attachment_image_url( $icon_id, array( 16, 16 ) ),
+ )
+ );
if ( empty( $icon ) ) {
return null;
@@ -157,6 +309,13 @@ abstract class Abstract_Jetpack_Site extends SAL_Site {
* Private methods
**/
+ /**
+ * This function returns true if the current site is the main network site, false otherwise.
+ *
+ * @param array $response The array of Jetpack response keys.
+ *
+ * @return bool
+ */
private function is_main_site( $response ) {
if ( isset( $response['options']->main_network_site, $response['options']->unmapped_url ) ) {
$main_network_site_url = set_url_scheme( $response['options']->main_network_site, 'http' );
@@ -169,8 +328,16 @@ abstract class Abstract_Jetpack_Site extends SAL_Site {
return false;
}
- // For Jetpack sites this will always return false
- protected function is_a8c_publication( $post_id ) {
+ /**
+ * For Jetpack sites this will always return false.
+ *
+ * This is extended for WordPress.com sites in wpcom/public.api/rest/sal/trait.json-api-site-wpcom.php.
+ *
+ * @param int $post_id The post id.
+ *
+ * @return bool
+ */
+ protected function is_a8c_publication( $post_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Extended and used in WordPress.com.
return false;
}
}
diff --git a/plugins/jetpack/sal/class.json-api-site-jetpack.php b/plugins/jetpack/sal/class.json-api-site-jetpack.php
index 3f72d58f..5097261c 100644
--- a/plugins/jetpack/sal/class.json-api-site-jetpack.php
+++ b/plugins/jetpack/sal/class.json-api-site-jetpack.php
@@ -1,70 +1,164 @@
-<?php
-
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * This class extends the Abstract_Jetpack_Site class, which includes providing
+ * the implementation for functions that were declared in that class.
+ *
+ * @see class.json-api-site-jetpack-base.php for more context on some of
+ * the functions extended here.
+ *
+ * @package automattic/jetpack
+ */
use Automattic\Jetpack\Status\Host;
use Automattic\Jetpack\Sync\Functions;
-require_once dirname( __FILE__ ) . '/class.json-api-site-jetpack-base.php';
-require_once dirname( __FILE__ ) . '/class.json-api-post-jetpack.php';
+require_once __DIR__ . '/class.json-api-site-jetpack-base.php';
+require_once __DIR__ . '/class.json-api-post-jetpack.php';
-// this code runs on Jetpack (.org) sites
+/**
+ * Base class for Jetpack_Site. This code runs on Jetpack (.org) sites.
+ */
class Jetpack_Site extends Abstract_Jetpack_Site {
+ /**
+ * Retrieves a Jetpack option's value, given the option name.
+ *
+ * @param string $name the name of the Jetpack option, without the 'jetpack' prefix (eg. 'log' for 'jetpack_log').
+ *
+ * @return mixed
+ */
protected function get_mock_option( $name ) {
- return get_option( 'jetpack_'.$name );
+ return get_option( 'jetpack_' . $name );
}
+ /**
+ * If a Jetpack constant name has been defined, this will return the value of the constant.
+ *
+ * @param string $name the name of the Jetpack constant to check.
+ *
+ * @return mixed
+ */
protected function get_constant( $name ) {
- if ( defined( $name) ) {
+ if ( defined( $name ) ) {
return constant( $name );
}
return null;
}
+ /**
+ * Returns the site URL for the current network.
+ *
+ * @return string
+ */
protected function main_network_site() {
return network_site_url();
}
+ /**
+ * Returns the WordPress version for the current site.
+ *
+ * @return string
+ */
protected function wp_version() {
global $wp_version;
return $wp_version;
}
+ /**
+ * Returns the maximum upload size allowed in php.ini.
+ *
+ * @return int
+ */
protected function max_upload_size() {
return wp_max_upload_size();
}
+ /**
+ * This function returns the value of the 'WP_MEMORY_LIMIT' constant converted to an integer byte value.
+ *
+ * @return int
+ */
protected function wp_memory_limit() {
return wp_convert_hr_to_bytes( WP_MEMORY_LIMIT );
}
+ /**
+ * This function returns the value of the 'WP_MAX_MEMORY_LIMIT' constant converted to an integer byte value.
+ *
+ * @return int
+ */
protected function wp_max_memory_limit() {
return wp_convert_hr_to_bytes( WP_MAX_MEMORY_LIMIT );
}
+ /**
+ * Returns true if the site is within a system with a multiple networks, false otherwise.
+ *
+ * @see /projects/packages/status/src/class-status.php
+ *
+ * @return bool
+ */
protected function is_main_network() {
return Jetpack::is_multi_network();
}
+ /**
+ * Returns true if Multisite is enabled, false otherwise.
+ *
+ * @return bool
+ */
public function is_multisite() {
return (bool) is_multisite();
}
+ /**
+ * Returns true if the current site is a single user site, false otherwise.
+ *
+ * @return bool
+ */
public function is_single_user_site() {
return (bool) Jetpack::is_single_user_site();
}
+ /**
+ * Returns true if is_vcs_checkout discovers a version control checkout, false otherwise.
+ *
+ * @see projects/packages/sync/src/class-functions.php.
+ *
+ * @return bool
+ */
protected function is_version_controlled() {
return Functions::is_version_controlled();
}
+ /**
+ * Returns true if the site has file write access, false otherwise.
+ *
+ * @see projects/packages/sync/src/class-functions.php.
+ *
+ * @return bool
+ */
protected function file_system_write_access() {
return Functions::file_system_write_access();
}
+ /**
+ * Returns true if the current theme supports the $feature_name, false otherwise.
+ *
+ * @param string $feature_name the name of the Jetpack feature.
+ *
+ * @return bool
+ */
protected function current_theme_supports( $feature_name ) {
return current_theme_supports( $feature_name );
}
+ /**
+ * Gets theme support arguments to be checked against the specific Jetpack feature.
+ *
+ * @param string $feature_name the name of the Jetpack feature to check against.
+ *
+ * @return array
+ */
protected function get_theme_support( $feature_name ) {
return get_theme_support( $feature_name );
}
@@ -80,16 +174,31 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
return is_array( $plugins ) ? array_keys( $plugins ) : array();
}
+ /**
+ * Gets updates and then stores them in the jetpack_updates option, returning an array with the option schema.
+ *
+ * @return array
+ */
public function get_updates() {
return (array) Jetpack::get_updates();
}
- function get_id() {
+ /**
+ * Returns the Jetpack blog ID for a site.
+ *
+ * @return int
+ */
+ public function get_id() {
return $this->platform->token->blog_id;
}
- function has_videopress() {
- // TODO - this only works on wporg site - need to detect videopress option for remote Jetpack site on WPCOM
+ /**
+ * Returns true if a site has the 'videopress' option enabled, false otherwise.
+ *
+ * @return bool
+ */
+ public function has_videopress() {
+ // TODO - this only works on wporg site - need to detect videopress option for remote Jetpack site on WPCOM.
$videopress = Jetpack_Options::get_option( 'videopress', array() );
if ( isset( $videopress['blog_id'] ) && $videopress['blog_id'] > 0 ) {
return true;
@@ -98,24 +207,60 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
return false;
}
- function upgraded_filetypes_enabled() {
+ /**
+ * Sets the upgraded_filetypes_enabled Jetpack option to true as a default.
+ *
+ * Only relevant for WordPress.com sites:
+ * See wpcom_site_has_upgraded_upload_filetypes at /wpcom/wp-content/mu-plugins/misc.php.
+ *
+ * @return bool
+ */
+ public function upgraded_filetypes_enabled() {
return true;
}
- function is_mapped_domain() {
+ /**
+ * Sets the is_mapped_domain Jetpack option to true as a default.
+ *
+ * Primarily used in WordPress.com to confirm the current blog's domain does or doesn't match the primary redirect.
+ *
+ * @see /wpcom/wp-content/mu-plugins/insecure-content-helpers.php within WordPress.com.
+ *
+ * @return bool
+ */
+ public function is_mapped_domain() {
return true;
}
- function get_unmapped_url() {
+ /**
+ * Fallback to the home URL since all Jetpack sites don't have an unmapped *.wordpress.com domain.
+ *
+ * @return string
+ */
+ public function get_unmapped_url() {
// Fallback to the home URL since all Jetpack sites don't have an unmapped *.wordpress.com domain.
return $this->get_url();
}
- function is_redirect() {
+ /**
+ * Whether the domain is a site redirect or not. Defaults to false on a Jetpack site.
+ *
+ * Primarily used in WordPress.com where it is determined if a HTTP status check is a redirect or not and whether an exception should be thrown.
+ *
+ * @see /wpcom/wp-includes/Requests/Response.php within WordPress.com.
+ *
+ * @return bool
+ */
+ public function is_redirect() {
return false;
}
- function is_following() {
+ /**
+ * Whether or not the current user is following this blog. Defaults to false.
+ *
+ * @return bool
+ */
+ public function is_following() {
return false;
}
@@ -128,26 +273,58 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
return null;
}
- function has_wordads() {
+ /**
+ * Whether or not the Jetpack 'wordads' module is active on the site.
+ *
+ * @return bool
+ */
+ public function has_wordads() {
return Jetpack::is_module_active( 'wordads' );
}
- function get_frame_nonce() {
+ /**
+ * Defaults to false on Jetpack sites, however is used on WordPress.com sites. This nonce is used for previews on Jetpack sites.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ *
+ * @return bool
+ */
+ public function get_frame_nonce() {
return false;
}
- function get_jetpack_frame_nonce() {
+ /**
+ * Defaults to false on Jetpack sites, however is used on WordPress.com sites,
+ * where it creates a nonce to be used with iframed block editor requests to a Jetpack site.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ *
+ * @return bool
+ */
+ public function get_jetpack_frame_nonce() {
return false;
}
- function is_headstart_fresh() {
+ /**
+ * Defaults to false on Jetpack sites, however is used on WordPress.com sites, where it returns true if the headstart-fresh blog sticker is present.
+ *
+ * @see /wpcom/public.api/rest/sal/trait.json-api-site-wpcom.php.
+ *
+ * @return bool
+ */
+ public function is_headstart_fresh() {
return false;
}
- function allowed_file_types() {
+ /**
+ * Returns the allowed mime types and file extensions for a site.
+ *
+ * @return array
+ */
+ public function allowed_file_types() {
$allowed_file_types = array();
- // https://codex.wordpress.org/Uploading_Files
+ // https://codex.wordpress.org/Uploading_Files.
$mime_types = get_allowed_mime_types();
foreach ( $mime_types as $type => $mime_type ) {
$extras = explode( '|', $type );
@@ -162,31 +339,39 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
/**
* Return site's privacy status.
*
- * @return boolean Is site private?
+ * @return bool Is site private?
*/
- function is_private() {
+ public function is_private() {
return (int) $this->get_atomic_cloud_site_option( 'blog_public' ) === -1;
}
/**
* Return site's coming soon status.
*
- * @return boolean Is site "Coming soon"?
+ * @return bool Is site "Coming soon"?
*/
- function is_coming_soon() {
+ public function is_coming_soon() {
return $this->is_private() && (int) $this->get_atomic_cloud_site_option( 'wpcom_coming_soon' ) === 1;
}
/**
* Return site's launch status.
*
- * @return string|boolean Launch status ('launched', 'unlaunched', or false).
+ * @return string|bool Launch status ('launched', 'unlaunched', or false).
*/
- function get_launch_status() {
+ public function get_launch_status() {
return $this->get_atomic_cloud_site_option( 'launch-status' );
}
- function get_atomic_cloud_site_option( $option ) {
+ /**
+ * Given an option name, returns false if the site isn't WoA or doesn't have the ability to retrieve cloud site options.
+ * Otherwise, if the option name exists amongst Jetpack options, the option value is returned.
+ *
+ * @param string $option The option name to check.
+ *
+ * @return string|bool
+ */
+ public function get_atomic_cloud_site_option( $option ) {
if ( ! ( new Host() )->is_woa_site() ) {
return false;
}
@@ -196,7 +381,7 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
return false;
}
- $result = $jetpack->get_cloud_site_options( [ $option ] );
+ $result = $jetpack->get_cloud_site_options( array( $option ) );
if ( ! array_key_exists( $option, $result ) ) {
return false;
}
@@ -204,24 +389,48 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
return $result[ $option ];
}
- function get_plan() {
+ /**
+ * Defaults to false instead of returning the current site plan.
+ *
+ * @see /modules/masterbar/admin-menu/class-dashboard-switcher-tracking.php.
+ *
+ * @return bool
+ */
+ public function get_plan() {
return false;
}
- function get_subscribers_count() {
- return 0; // special magic fills this in on the WPCOM side
+ /**
+ * Defaults to 0 for the number of WordPress.com subscribers - this is filled in on the WordPress.com side.
+ *
+ * @see /wpcom/public.api/rest/sal/trait.json-api-site-wpcom.php.
+ *
+ * @return int
+ */
+ public function get_subscribers_count() {
+ return 0;
}
- function get_capabilities() {
+ /**
+ * Defaults to false - this is filled on the WordPress.com side in multiple locations.
+ *
+ * @return bool
+ */
+ public function get_capabilities() {
return false;
}
- function get_locale() {
+ /**
+ * Returns the language code for the current site.
+ *
+ * @return string
+ */
+ public function get_locale() {
return get_bloginfo( 'language' );
}
/**
- * The flag indicates that the site has Jetpack installed
+ * The flag indicates that the site has Jetpack installed.
*
* @return bool
*/
@@ -230,7 +439,7 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
}
/**
- * The flag indicates that the site is connected to WP.com via Jetpack Connection
+ * The flag indicates that the site is connected to WP.com via Jetpack Connection.
*
* @return bool
*/
@@ -238,37 +447,96 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
return true;
}
+ /**
+ * Returns the current site's Jetpack version.
+ *
+ * @return string
+ */
public function get_jetpack_version() {
return JETPACK__VERSION;
}
- function get_ak_vp_bundle_enabled() {}
+ /**
+ * Empty function declaration - this function is filled out on the WordPress.com side, returning true if the site has an AK / VP bundle.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ */
+ public function get_ak_vp_bundle_enabled() {}
- function get_jetpack_seo_front_page_description() {
+ /**
+ * Returns the front page meta description for current site.
+ *
+ * @see /modules/seo-tools/class-jetpack-seo-utils.php.
+ *
+ * @return string
+ */
+ public function get_jetpack_seo_front_page_description() {
return Jetpack_SEO_Utils::get_front_page_meta_description();
}
- function get_jetpack_seo_title_formats() {
+ /**
+ * Returns custom title formats from site option.
+ *
+ * @see /modules/seo-tools/class-jetpack-seo-titles.php.
+ *
+ * @return array
+ */
+ public function get_jetpack_seo_title_formats() {
return Jetpack_SEO_Titles::get_custom_title_formats();
}
- function get_verification_services_codes() {
+ /**
+ * Returns website verification codes. Allowed keys include: google, pinterest, bing, yandex, facebook.
+ *
+ * @see /modules/verification-tools/blog-verification-tools.php.
+ *
+ * @return array
+ */
+ public function get_verification_services_codes() {
return get_option( 'verification_services_codes', null );
}
- function get_podcasting_archive() {
+ /**
+ * Returns null for Jetpack sites. For WordPress.com sites this returns the value of the 'podcasting_archive' option.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-wpcom.php.
+ *
+ * @return null
+ */
+ public function get_podcasting_archive() {
return null;
}
- function is_connected_site() {
+ /**
+ * Defaulting to true, this function is expanded out on the WordPress.com side, returning an error if the site is not connected or not communicating to us.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-jetpack-shadow.php.
+ *
+ * @return bool
+ */
+ public function is_connected_site() {
return true;
}
- function is_wpforteams_site() {
+ /**
+ * Defaulting to false and not relevant for Jetpack sites, this is expanded on the WordPress.com side for a specific wp.com/start 'WP for teams' flow.
+ *
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-wpcom.php.
+ *
+ * @return bool
+ */
+ public function is_wpforteams_site() {
return false;
}
- function current_user_can( $role ) {
+ /**
+ * Returns true if a user has got the capability that is being checked, false otherwise.
+ *
+ * @param string $role The capability to check.
+ *
+ * @return bool
+ */
+ public function current_user_can( $role ) {
return current_user_can( $role );
}
@@ -282,7 +550,7 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
*
* @return bool true if full site editing is currently active.
*/
- function is_fse_active() {
+ public function is_fse_active() {
if ( ! Jetpack::is_plugin_active( 'full-site-editing/full-site-editing-plugin.php' ) ) {
return false;
}
@@ -317,11 +585,13 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
}
/**
- * Return the last engine used for an import on the site.
+ * Return the last engine used for an import on the site. Not used in Jetpack.
*
- * This option is not used in Jetpack.
+ * @see /wpcom/public.api/rest/sal/class.json-api-site-wpcom.php.
+ *
+ * @return null
*/
- function get_import_engine() {
+ public function get_import_engine() {
return null;
}
@@ -329,7 +599,15 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
* Post functions
*/
- function wrap_post( $post, $context ) {
+ /**
+ * Wrap a WP_Post object with SAL methods, returning a Jetpack_Post object.
+ *
+ * @param WP_Post $post A WP_Post object.
+ * @param string $context The post request context (for example 'edit' or 'display').
+ *
+ * @return Jetpack_Post
+ */
+ public function wrap_post( $post, $context ) {
return new Jetpack_Post( $this, $post, $context );
}
diff --git a/plugins/jetpack/sal/class.json-api-token.php b/plugins/jetpack/sal/class.json-api-token.php
index 10b16f6f..02f6987e 100644
--- a/plugins/jetpack/sal/class.json-api-token.php
+++ b/plugins/jetpack/sal/class.json-api-token.php
@@ -1,59 +1,133 @@
-<?php
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+/**
+ * SAL_Token class
+ *
+ * @package automattic/jetpack
+ */
/**
- * So that we have a real class instead of just passing around an array
+ * Base class for Jetpack_Site, so that we have a real class instead of just passing around an array.
*/
class SAL_Token {
+ /**
+ * The Jetpack blog ID for the site.
+ *
+ * @var int
+ */
public $blog_id;
+
+ /**
+ * The Jetpack user's user ID.
+ *
+ * @var int
+ */
public $user_id;
+
+ /**
+ * The scope for the token, for example global or auth.
+ *
+ * @var string
+ */
public $scope;
+
+ /**
+ * The Client ID (or WordPress.com Blog ID of this site.
+ *
+ * @var int
+ */
public $client_id;
+
+ /**
+ * The user ID on the local site.
+ *
+ * @var int
+ */
public $external_user_id;
+
+ /**
+ * Used for tokens created by Oauth clients.
+ *
+ * @var string
+ */
public $external_user_code;
+
+ /**
+ * The type of authorization based on where the Jetpack connection is made - eg 'calypso', 'jetpack', 'client'.
+ *
+ * @var string
+ */
public $auth_type;
- function __construct( $blog_id, $user_id, $scope, $client_id, $external_user_id, $external_user_code, $auth_type ) {
- $this->blog_id = $blog_id; // if blog_id is set and scope is not global, limit to that blog
- $this->user_id = $user_id;
- $this->client_id = $client_id;
- $this->scope = $scope;
- $this->external_user_id = $external_user_id;
+ /**
+ * Contructs the SAL_Token instance.
+ *
+ * @param int $blog_id The Jetpack blog ID for the site.
+ * @param int $user_id The Jetpack user's user ID.
+ * @param string $scope The scope for the token, for example global or auth.
+ * @param int $client_id The Client ID (or WordPress.com Blog ID of this site.
+ * @param int $external_user_id The user ID on the local site.
+ * @param string $external_user_code Used for tokens created by Oauth clients.
+ * @param string $auth_type The type of authorization based on where the Jetpack connection is made (eg. calypso).
+ */
+ public function __construct( $blog_id, $user_id, $scope, $client_id, $external_user_id, $external_user_code, $auth_type ) {
+ $this->blog_id = $blog_id; // if blog_id is set and scope is not global, limit to that blog.
+ $this->user_id = $user_id;
+ $this->client_id = $client_id;
+ $this->scope = $scope;
+ $this->external_user_id = $external_user_id;
$this->external_user_code = $external_user_code;
- $this->auth_type = $auth_type;
+ $this->auth_type = $auth_type;
}
+ /**
+ * Set's the scope variable to 'global'.
+ *
+ * @return string
+ */
public function is_global() {
- return $scope === 'global';
+ return $scope === 'global'; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
}
- static function for_anonymous_user() {
- return new SAL_Token(
- null,
- get_current_user_id(),
- null, // there's only ever one scope in our current API implementation, auth or global
+ /**
+ * This function is used to create a SAL_Token instance with only a user id, if a token doesn't already exist.
+ *
+ * @return SAL_Token
+ */
+ public static function for_anonymous_user() {
+ return new SAL_Token(
+ null,
+ get_current_user_id(),
+ null, // there's only ever one scope in our current API implementation, auth or global.
+ null,
+ null,
null,
- null,
- null,
null
);
}
- static function from_rest_token( $token ) {
- $user_id = isset( $token['user_id'] ) ? $token['user_id'] : get_current_user_id();
- $scope = isset( $token['scope'] ) ? $token['scope'][0] : null;
- $client_id = isset( $token['client_id'] ) ? $token['client_id'] : null;
- $external_user_id = isset( $token['external_user_id'] ) ? $token['external_user_id'] : null;
+ /**
+ * If a user token exists, the information is used to construct a SAL_Token with the correct parameters.
+ *
+ * @param array $token An array of details relevant to the connected user (may be empty).
+ *
+ * @return SAL_Token
+ */
+ public static function from_rest_token( $token ) {
+ $user_id = isset( $token['user_id'] ) ? $token['user_id'] : get_current_user_id();
+ $scope = isset( $token['scope'] ) ? $token['scope'][0] : null;
+ $client_id = isset( $token['client_id'] ) ? $token['client_id'] : null;
+ $external_user_id = isset( $token['external_user_id'] ) ? $token['external_user_id'] : null;
$external_user_code = isset( $token['external_user_code'] ) ? $token['external_user_code'] : null;
- $auth = isset( $token['auth'] ) ? $token['auth'] : null;
+ $auth = isset( $token['auth'] ) ? $token['auth'] : null;
- return new SAL_Token(
- $token['blog_id'],
+ return new SAL_Token(
+ $token['blog_id'],
$user_id,
- $scope, // there's only ever one scope in our current API implementation, auth or global
+ $scope, // there's only ever one scope in our current API implementation, auth or global.
$client_id,
- $external_user_id,
- $external_user_code,
+ $external_user_id,
+ $external_user_code,
$auth
);
}
diff --git a/plugins/jetpack/src/class-tracking.php b/plugins/jetpack/src/class-tracking.php
index 12b00e41..653ad939 100644
--- a/plugins/jetpack/src/class-tracking.php
+++ b/plugins/jetpack/src/class-tracking.php
@@ -95,7 +95,7 @@ class Tracking {
$this->tracking->record_user_event( '_aliasUser', array( 'anonId' => $anon_id ) );
delete_user_meta( $user_id, 'jetpack_tracks_anon_id' );
if ( ! headers_sent() ) {
- setcookie( 'tk_ai', 'expired', time() - 1000 );
+ setcookie( 'tk_ai', 'expired', time() - 1000, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), false ); // phpcs:ignore Jetpack.Functions.SetCookie -- Want this accessible.
}
}
diff --git a/plugins/jetpack/vendor/autoload.php b/plugins/jetpack/vendor/autoload.php
index 689d3a5f..db3083ed 100644
--- a/plugins/jetpack/vendor/autoload.php
+++ b/plugins/jetpack/vendor/autoload.php
@@ -2,6 +2,11 @@
// autoload.php @generated by Composer
+if (PHP_VERSION_ID < 50600) {
+ echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
+ exit(1);
+}
+
require_once __DIR__ . '/composer/autoload_real.php';
-return ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5::getLoader();
+return ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0::getLoader();
diff --git a/plugins/jetpack/vendor/autoload_packages.php b/plugins/jetpack/vendor/autoload_packages.php
index 43d65ad7..273b28f0 100644
--- a/plugins/jetpack/vendor/autoload_packages.php
+++ b/plugins/jetpack/vendor/autoload_packages.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/automattic/jetpack-abtest/src/class-abtest.php b/plugins/jetpack/vendor/automattic/jetpack-abtest/src/class-abtest.php
deleted file mode 100644
index 8bf6b34e..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-abtest/src/class-abtest.php
+++ /dev/null
@@ -1,102 +0,0 @@
-<?php
-/**
- * A class that interacts with WP.com A/B tests.
- *
- * @package automattic/jetpack-abtest
- */
-
-namespace Automattic\Jetpack;
-
-use Automattic\Jetpack\Connection\Client;
-use Automattic\Jetpack\Error;
-
-/**
- * This class provides an interface to the WP.com A/B tests.
- */
-class Abtest {
- /**
- * A variable to hold the tests we fetched, and their variations for the current user.
- *
- * @access private
- *
- * @var array
- */
- private $tests = array();
-
- /**
- * Retrieve the test variation for a provided A/B test.
- *
- * @access public
- *
- * @param string $test_name Name of the A/B test.
- * @return mixed|null A/B test variation, or null on failure.
- */
- public function get_variation( $test_name ) {
- $variation = $this->fetch_variation( $test_name );
-
- // If there was an error retrieving a variation, conceal the error for the consumer.
- if ( is_wp_error( $variation ) ) {
- return null;
- }
-
- return $variation;
- }
-
- /**
- * Fetch and cache the test variation for a provided A/B test from WP.com.
- *
- * @access protected
- *
- * @param string $test_name Name of the A/B test.
- * @return mixed|Automattic\Jetpack\Error A/B test variation, or Automattic\Jetpack\Error on failure.
- */
- protected function fetch_variation( $test_name ) {
- // Make sure test name exists.
- if ( ! $test_name ) {
- return new Error( 'test_name_not_provided', 'A/B test name has not been provided.' );
- }
-
- // Make sure test name is a valid one.
- if ( ! preg_match( '/^[A-Za-z0-9_]+$/', $test_name ) ) {
- return new Error( 'invalid_test_name', 'Invalid A/B test name.' );
- }
-
- // Return cached test variations.
- if ( isset( $this->tests[ $test_name ] ) ) {
- return $this->tests[ $test_name ];
- }
-
- // Make the request to the WP.com API.
- $response = $this->request_variation( $test_name );
-
- // Bail if there was an error or malformed response.
- if ( is_wp_error( $response ) || ! is_array( $response ) || ! isset( $response['body'] ) ) {
- return new Error( 'failed_to_fetch_data', 'Unable to fetch the requested data.' );
- }
-
- // Decode the results.
- $results = json_decode( $response['body'], true );
-
- // Bail if there were no results or there is no test variation returned.
- if ( ! is_array( $results ) || empty( $results['variation'] ) ) {
- return new Error( 'unexpected_data_format', 'Data was not returned in the expected format.' );
- }
-
- // Store the variation in our internal cache.
- $this->tests[ $test_name ] = $results['variation'];
-
- return $results['variation'];
- }
-
- /**
- * Perform the request for a variation of a provided A/B test from WP.com.
- *
- * @access protected
- *
- * @param string $test_name Name of the A/B test.
- * @return mixed|Automattic\Jetpack\Error A/B test variation, or Automattic\Jetpack\Error on failure.
- */
- protected function request_variation( $test_name ) {
- return Client::wpcom_json_api_request_as_blog( sprintf( '/abtest/%s', $test_name ), '2', array(), null, 'wpcom' );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-assets/src/class-assets.php b/plugins/jetpack/vendor/automattic/jetpack-assets/src/class-assets.php
deleted file mode 100644
index b071ab1f..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-assets/src/class-assets.php
+++ /dev/null
@@ -1,56 +0,0 @@
-<?php
-/**
- * Jetpack Assets package.
- *
- * @package automattic/jetpack-assets
- */
-
-namespace Automattic\Jetpack;
-
-use Automattic\Jetpack\Constants as Jetpack_Constants;
-
-/**
- * Class Assets
- */
-class Assets {
- /**
- * Constructor.
- *
- * Static-only class, so nothing here.
- */
- private function __construct() {}
-
- /**
- * Given a minified path, and a non-minified path, will return
- * a minified or non-minified file URL based on whether SCRIPT_DEBUG is set and truthy.
- *
- * Both `$min_base` and `$non_min_base` are expected to be relative to the
- * root Jetpack directory.
- *
- * @since 5.6.0
- *
- * @param string $min_path minified path.
- * @param string $non_min_path non-minified path.
- * @return string The URL to the file
- */
- public static function get_file_url_for_environment( $min_path, $non_min_path ) {
- $path = ( Jetpack_Constants::is_defined( 'SCRIPT_DEBUG' ) && Jetpack_Constants::get_constant( 'SCRIPT_DEBUG' ) )
- ? $non_min_path
- : $min_path;
-
- $url = plugins_url( $path, Jetpack_Constants::get_constant( 'JETPACK__PLUGIN_FILE' ) );
-
- /**
- * Filters the URL for a file passed through the get_file_url_for_environment function.
- *
- * @since 8.1.0
- *
- * @package assets
- *
- * @param string $url The URL to the file.
- * @param string $min_path The minified path.
- * @param string $non_min_path The non-minified path.
- */
- return apply_filters( 'jetpack_get_file_for_environment', $url, $min_path, $non_min_path );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php b/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php
deleted file mode 100644
index 6a0a55a3..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-/**
- * Action Hooks for Jetpack Backup module.
- *
- * @package automattic/jetpack-backup
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- return;
-}
-
-// Clean up expired Helper Scripts from a scheduled event.
-add_action( 'jetpack_backup_cleanup_helper_scripts', array( 'Automattic\\Jetpack\\Backup\\Helper_Script_Manager', 'cleanup_expired_helper_scripts' ) );
diff --git a/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-helper-script-manager.php b/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-helper-script-manager.php
deleted file mode 100644
index 58c54eb4..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-helper-script-manager.php
+++ /dev/null
@@ -1,347 +0,0 @@
-<?php
-/**
- * The Jetpack Backup Helper Script Manager class.
- *
- * @package automattic/jetpack-backup
- */
-
-namespace Automattic\Jetpack\Backup;
-
-/**
- * Helper_Script_Manager manages installation, deletion and cleanup of Helper Scripts
- * to assist with backing up Jetpack Sites.
- */
-class Helper_Script_Manager {
-
- const TEMP_DIRECTORY = 'jetpack-temp';
- const HELPER_HEADER = "<?php /* Jetpack Backup Helper Script */\n";
- const EXPIRY_TIME = 8 * 3600; // 8 hours
- const MAX_FILESIZE = 1024 * 1024; // 1 MiB
-
- const README_LINES = array(
- 'These files have been put on your server by Jetpack to assist with backups and restores of your site content. They are cleaned up automatically when we no longer need them.',
- 'If you no longer have Jetpack connected to your site, you can delete them manually.',
- 'If you have questions or need assistance, please contact Jetpack Support at https://jetpack.com/support/',
- 'If you like to build amazing things with WordPress, you should visit automattic.com/jobs and apply to join the fun – mention this file when you apply!;',
- );
-
- const INDEX_FILE = '<?php // Silence is golden';
-
- /**
- * Installs a Helper Script, and returns its filesystem path and access url.
- *
- * @access public
- * @static
- *
- * @param string $script_body Helper Script file contents.
- * @return array|WP_Error Either an array containing the path and url of the helper script, or an error.
- */
- public static function install_helper_script( $script_body ) {
- // Check that the script body contains the correct header.
- if ( strncmp( $script_body, self::HELPER_HEADER, strlen( self::HELPER_HEADER ) ) !== 0 ) {
- return new \WP_Error( 'invalid_helper', 'Invalid Helper Script header' );
- }
-
- // Refuse to install a Helper Script that is too large.
- if ( strlen( $script_body ) > self::MAX_FILESIZE ) {
- return new \WP_Error( 'invalid_helper', 'Invalid Helper Script size' );
- }
-
- // Replace '[wp_path]' in the Helper Script with the WordPress installation location. Allows the Helper Script to find WordPress.
- $script_body = str_replace( '[wp_path]', addslashes( ABSPATH ), $script_body );
-
- // Create a jetpack-temp directory for the Helper Script.
- $temp_directory = self::create_temp_directory();
- if ( \is_wp_error( $temp_directory ) ) {
- return $temp_directory;
- }
-
- // Generate a random filename, avoid clashes.
- $max_attempts = 5;
- for ( $attempt = 0; $attempt < $max_attempts; $attempt++ ) {
- $file_key = wp_generate_password( 10, false );
- $file_name = 'jp-helper-' . $file_key . '.php';
- $file_path = trailingslashit( $temp_directory['path'] ) . $file_name;
-
- if ( ! file_exists( $file_path ) ) {
- // Attempt to write helper script.
- if ( ! self::put_contents( $file_path, $script_body ) ) {
- if ( file_exists( $file_path ) ) {
- unlink( $file_path );
- }
-
- continue;
- }
-
- // Always schedule a cleanup run shortly after EXPIRY_TIME.
- \wp_schedule_single_event( time() + self::EXPIRY_TIME + 60, 'jetpack_backup_cleanup_helper_scripts' );
-
- // Success! Figure out the URL and return the path and URL.
- return array(
- 'path' => $file_path,
- 'url' => trailingslashit( $temp_directory['url'] ) . $file_name,
- );
- }
- }
-
- return new \WP_Error( 'install_faied', 'Failed to install Helper Script' );
- }
-
- /**
- * Given a path, verify it looks like a helper script and then delete it if so.
- *
- * @access public
- * @static
- *
- * @param string $path Path to Helper Script to delete.
- * @return boolean True if the file is deleted (or does not exist).
- */
- public static function delete_helper_script( $path ) {
- if ( ! file_exists( $path ) ) {
- return true;
- }
-
- // Check this file looks like a JPR helper script.
- if ( ! self::verify_file_header( $path, self::HELPER_HEADER ) ) {
- return false;
- }
-
- return unlink( $path );
- }
-
- /**
- * Search for Helper Scripts that are suspiciously old, and clean them out.
- *
- * @access public
- * @static
- */
- public static function cleanup_expired_helper_scripts() {
- self::cleanup_helper_scripts( time() - self::EXPIRY_TIME );
- }
-
- /**
- * Search for and delete all Helper Scripts. Used during uninstallation.
- *
- * @access public
- * @static
- */
- public static function delete_all_helper_scripts() {
- self::cleanup_helper_scripts( null );
- }
-
- /**
- * Search for and delete Helper Scripts. If an $expiry_time is specified, only delete Helper Scripts
- * with an mtime older than $expiry_time. Otherwise, delete them all.
- *
- * @access public
- * @static
- *
- * @param int|null $expiry_time If specified, only delete scripts older than $expiry_time.
- */
- public static function cleanup_helper_scripts( $expiry_time = null ) {
- foreach ( self::get_install_locations() as $directory => $url ) {
- $temp_dir = trailingslashit( $directory ) . self::TEMP_DIRECTORY;
-
- if ( is_dir( $temp_dir ) ) {
- // Find expired helper scripts and delete them.
- $helper_scripts = glob( trailingslashit( $temp_dir ) . 'jp-helper-*.php' );
- if ( is_array( $helper_scripts ) ) {
- foreach ( $helper_scripts as $filename ) {
- if ( null === $expiry_time || filemtime( $filename ) < $expiry_time ) {
- self::delete_helper_script( $filename );
- }
- }
- }
-
- // Delete the directory if it's empty now.
- self::delete_empty_helper_directory( $temp_dir );
- }
- }
- }
-
- /**
- * Delete a helper script directory if it's empty
- *
- * @access public
- * @static
- *
- * @param string $dir Path to Helper Script directory.
- * @return boolean True if the directory is deleted
- */
- private static function delete_empty_helper_directory( $dir ) {
- if ( ! is_dir( $dir ) ) {
- return false;
- }
-
- // Tally the files in the target directory, and reject if there are too many.
- $glob_path = trailingslashit( $dir ) . '*';
- $dir_contents = glob( $glob_path );
- if ( count( $dir_contents ) > 2 ) {
- return false;
- }
-
- // Check that the only remaining files are a README and index.php generated by this system.
- $allowed_files = array(
- 'README' => self::README_LINES[0],
- 'index.php' => self::INDEX_FILE,
- );
-
- foreach ( $dir_contents as $path ) {
- $basename = basename( $path );
- if ( ! isset( $allowed_files[ $basename ] ) ) {
- return false;
- }
-
- // Verify the file starts with the expected contents.
- if ( ! self::verify_file_header( $path, $allowed_files[ $basename ] ) ) {
- return false;
- }
-
- if ( ! unlink( $path ) ) {
- return false;
- }
- }
-
- // If the directory is now empty, delete it.
- if ( count( glob( $glob_path ) ) === 0 ) {
- return rmdir( $dir );
- }
-
- return false;
- }
-
- /**
- * Find an appropriate location for a jetpack-temp folder, and create one
- *
- * @access public
- * @static
- *
- * @return WP_Error|array Array containing the url and path of the temp directory if successful, WP_Error if not.
- */
- private static function create_temp_directory() {
- foreach ( self::get_install_locations() as $directory => $url ) {
- // Check if the install location is writeable.
- if ( ! is_writeable( $directory ) ) {
- continue;
- }
-
- // Create if one doesn't already exist.
- $temp_dir = trailingslashit( $directory ) . self::TEMP_DIRECTORY;
- if ( ! is_dir( $temp_dir ) ) {
- if ( ! mkdir( $temp_dir ) ) {
- continue;
- }
-
- // Temp directory created. Drop a README and index.php file in there.
- self::write_supplementary_temp_files( $temp_dir );
- }
-
- return array(
- 'path' => trailingslashit( $directory ) . self::TEMP_DIRECTORY,
- 'url' => trailingslashit( $url ) . self::TEMP_DIRECTORY,
- );
- }
-
- return new \WP_Error( 'temp_directory', 'Failed to create jetpack-temp directory' );
- }
-
- /**
- * Write out an index.php file and a README file for a new jetpack-temp directory.
- *
- * @access public
- * @static
- *
- * @param string $dir Path to Helper Script directory.
- */
- private static function write_supplementary_temp_files( $dir ) {
- $readme_path = trailingslashit( $dir ) . 'README';
- self::put_contents( $readme_path, implode( "\n\n", self::README_LINES ) );
-
- $index_path = trailingslashit( $dir ) . 'index.php';
- self::put_contents( $index_path, self::INDEX_FILE );
- }
-
- /**
- * Write a file to the specified location with the specified contents.
- *
- * @access private
- * @static
- *
- * @param string $file_path Path to write to.
- * @param string $contents File contents to write.
- * @return boolean True if successfully written.
- */
- private static function put_contents( $file_path, $contents ) {
- global $wp_filesystem;
-
- if ( ! function_exists( '\\WP_Filesystem' ) ) {
- require_once ABSPATH . 'wp-admin/includes/file.php';
- }
-
- if ( ! \WP_Filesystem() ) {
- return false;
- }
-
- return $wp_filesystem->put_contents( $file_path, $contents );
- }
-
- /**
- * Checks that a file exists, is readable, and has the expected header.
- *
- * @access private
- * @static
- *
- * @param string $file_path File to verify.
- * @param string $expected_header Header that the file should have.
- * @return boolean True if the file exists, is readable, and the header matches.
- */
- private static function verify_file_header( $file_path, $expected_header ) {
- global $wp_filesystem;
-
- if ( ! function_exists( '\\WP_Filesystem' ) ) {
- require_once ABSPATH . 'wp-admin/includes/file.php';
- }
-
- if ( ! \WP_Filesystem() ) {
- return false;
- }
-
- // Verify the file exists and is readable.
- if ( ! $wp_filesystem->exists( $file_path ) || ! $wp_filesystem->is_readable( $file_path ) ) {
- return false;
- }
-
- // Verify that the file isn't too big or small.
- $file_size = $wp_filesystem->size( $file_path );
- if ( $file_size < strlen( $expected_header ) || $file_size > self::MAX_FILESIZE ) {
- return false;
- }
-
- // Read the file and verify its header.
- $contents = $wp_filesystem->get_contents( $file_path );
- return ( strncmp( $contents, $expected_header, strlen( $expected_header ) ) === 0 );
- }
-
- /**
- * Gets an associative array of possible places to install a jetpack-temp directory, along with the URL to access each.
- *
- * @access private
- * @static
- *
- * @return array Array, with keys specifying the full path of install locations, and values with the equivalent URL.
- */
- public static function get_install_locations() {
- // Include WordPress root and wp-content.
- $install_locations = array(
- \ABSPATH => \get_site_url(),
- \WP_CONTENT_DIR => \WP_CONTENT_URL,
- );
-
- // Include uploads folder.
- $upload_dir_info = \wp_upload_dir();
- $install_locations[ $upload_dir_info['basedir'] ] = $upload_dir_info['baseurl'];
-
- return $install_locations;
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-package-version.php b/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-package-version.php
new file mode 100644
index 00000000..7da2c29e
--- /dev/null
+++ b/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-package-version.php
@@ -0,0 +1,2 @@
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-compat/functions.php b/plugins/jetpack/vendor/automattic/jetpack-compat/functions.php
deleted file mode 100644
index f326a46c..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-compat/functions.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-/**
- * Legacy global scope functions.
- *
- * @package automattic/jetpack-compat
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- return;
-}
-
-// Add here, after the condition above, any code that should only run when WordPress is running.
-// Autoload will load everything even when PHPCS is running and we don't want to run these
-// in such case because they will fatal, for example, due to 'add_action' being undefined.
-
-/**
- * Load necessary functions.
- */
-function jetpack_compat_require_defined_functions() {
- jetpack_require_lib( 'tracks/client' );
-}
-
-add_action( 'plugins_loaded', 'jetpack_compat_require_defined_functions' );
-
-
diff --git a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-client.php b/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-client.php
deleted file mode 100644
index 1b71cdd7..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-client.php
+++ /dev/null
@@ -1,90 +0,0 @@
-<?php
-/**
- * Jetpack Client
- *
- * Deprecated methods for Jetpack to act as client with wpcom, provided for back-compatibility.
- *
- * @category Connection
- * @package automattic/jetpack-compat
- */
-
-use Automattic\Jetpack\Connection\Client;
-
-/**
- * Class Jetpack_Client
- *
- * @deprecated Use Automattic\Jetpack\Connection\Client
- */
-class Jetpack_Client {
-
- /**
- * Jetpack API version.
- *
- * @deprecated use Automattic\Jetpack\Connection\Client::WPCOM_JSON_API_VERSION
- */
- const WPCOM_JSON_API_VERSION = '1.1';
-
- /**
- * Perform remote request.
- *
- * @deprecated use Automattic\Jetpack\Connection\Client::remote_request
- *
- * @param array $args Arguments.
- * @param null $body Request body.
- *
- * @return array|WP_Error
- */
- public static function remote_request( $args, $body = null ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Connection\Client' );
- return Client::remote_request( $args, $body );
- }
-
- /**
- * Request to wpcom using the blog id.
- *
- * @deprecated use Automattic\Jetpack\Connection\Client::wpcom_json_api_request_as_blog
- *
- * @param string $path Endpoint path.
- * @param string $version Endpoint version.
- * @param array $args Arguments.
- * @param null $body Request body.
- * @param string $base_api_path Endpoint base prefix.
- *
- * @return Array|WP_Error
- */
- public static function wpcom_json_api_request_as_blog(
- $path,
- $version = self::WPCOM_JSON_API_VERSION,
- $args = array(),
- $body = null,
- $base_api_path = 'rest'
- ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Connection\Client' );
- return Client::wpcom_json_api_request_as_blog( $path, $version, $args, $body, $base_api_path );
- }
-
- /**
- * Wrapper for wp_remote_request(). Turns off SSL verification for certain SSL errors.
- * This is suboptimal, but many, many, many hosts have misconfigured SSL.
- *
- * @deprecated use Automattic\Jetpack\Connection\Client::_wp_remote_request
- *
- * When Jetpack is registered, the jetpack_fallback_no_verify_ssl_certs option is set to the current time if:
- * 1. a certificate error is found AND
- * 2. not verifying the certificate works around the problem.
- *
- * The option is checked on each request.
- *
- * @internal
- * @see Utils::fix_url_for_bad_hosts()
- *
- * @param String $url the request URL.
- * @param Array $args request arguments.
- * @param Boolean $set_fallback whether to allow flagging this request to use a fallback certficate override.
- * @return array|WP_Error WP HTTP response on success
- */
- public static function _wp_remote_request( $url, $args, $set_fallback = false ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Connection\Client' );
- return Client::_wp_remote_request( $url, $args, $set_fallback );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php b/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php
deleted file mode 100644
index 5e8c325a..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php
+++ /dev/null
@@ -1,359 +0,0 @@
-<?php
-/**
- * A compatibility shim for the sync actions class.
- *
- * @package automattic/jetpack-compat
- */
-
-use Automattic\Jetpack\Sync\Actions;
-
-/**
- * Class Jetpack_Sync_Actions
- *
- * @deprecated Use Automattic\Jetpack\Sync\Actions
- */
-class Jetpack_Sync_Actions extends Automattic\Jetpack\Sync\Actions {
-
- /**
- * Initializes the class.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::init
- */
- public static function init() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::init();
- }
-
- /**
- * Adds a shutdown sender callback.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::add_sender_shutdown
- */
- public static function add_sender_shutdown() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::add_sender_shutdown();
- }
-
- /**
- * Returns false or true based on whether this class should initialize the sender
- * in current circumstances.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::should_initialize_sender
- *
- * @return Boolean should the object initialize sender?
- */
- public static function should_initialize_sender() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::should_initialize_sender();
- }
-
- /**
- * Returns false or true based on whether sync is allowed.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::sync_allowed
- *
- * @return Boolean is sync allowed?
- */
- public static function sync_allowed() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::sync_allowed();
- }
-
- /**
- * Returns false or true based on whether sync via cron is allowed.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::sync_via_cron_allowed
- *
- * @return Boolean is sync via cron allowed?
- */
- public static function sync_via_cron_allowed() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::sync_via_cron_allowed();
- }
-
- /**
- * Filters a boolean value that determines whether blacklisted posts should be prevented
- * from being publicized.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::prevent_publicize_blacklisted_posts
- *
- * @param Boolean $should_publicize initial setting value.
- * @param WP_Post $post the post object.
- * @return Boolean whether to prevent publicizing.
- */
- public static function prevent_publicize_blacklisted_posts( $should_publicize, $post ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::prevent_publicize_blacklisted_posts( $should_publicize, $post );
- }
-
- /**
- * Set the importing flag to true.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::set_is_importing_true
- */
- public static function set_is_importing_true() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::set_is_importing_true();
- }
-
- /**
- * Send the sync data.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::send_data
- *
- * @param Mixed $data the sync data.
- * @param String $codec_name the codec slug.
- * @param Integer $sent_timestamp the current server timestamp.
- * @param Integer $queue_id the queue identifier.
- * @param Integer $checkout_duration time spent retrieving items.
- * @param Integer $preprocess_duration Time spent converting items into data.
- * @return WP_Response the response object.
- */
- public static function send_data( $data, $codec_name, $sent_timestamp, $queue_id, $checkout_duration, $preprocess_duration ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::send_data( $data, $codec_name, $sent_timestamp, $queue_id, $checkout_duration, $preprocess_duration );
- }
-
- /**
- * Commence initial sync.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::do_initial_sync
- */
- public static function do_initial_sync() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::do_initial_sync();
- }
-
- /**
- * Commence full sync.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::do_full_sync
- *
- * @param Array $modules the modules list.
- * @return Boolean whether the sync was initialized.
- */
- public static function do_full_sync( $modules = null ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::do_full_sync( $modules );
- }
-
- /**
- * Schedule cron sessions.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::jetpack_cron_schedule
- *
- * @param Array $schedules the schedules to add.
- */
- public static function jetpack_cron_schedule( $schedules ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::jetpack_cron_schedule( $schedules );
- }
-
- /**
- * Commence cron sync.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::do_cron_sync
- */
- public static function do_cron_sync() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::do_cron_sync();
- }
-
- /**
- * Commence cron full sync.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::do_cron_full_sync
- */
- public static function do_cron_full_sync() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::do_cron_full_sync();
- }
-
- /**
- * Commence cron sync of a specific type of object.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::do_cron_sync_by_type
- *
- * @param Array $type the type of object to sync.
- */
- public static function do_cron_sync_by_type( $type ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::do_cron_sync_by_type();
- }
-
- /**
- * Initalize the listener of the object.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::initialize_listener
- */
- public static function initialize_listener() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::initialize_listener();
- }
-
- /**
- * Initalize the sender of the object.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::initialize_sender
- */
- public static function initialize_sender() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::initialize_sender();
- }
-
- /**
- * Initalize the woocommerce listeners.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::initialize_woocommerce
- */
- public static function initialize_woocommerce() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::initialize_woocommerce();
- }
-
- /**
- * Add the woocommerce sync module.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::add_woocommerce_sync_module
- *
- * @param Array $sync_modules an array of modules.
- */
- public static function add_woocommerce_sync_module( $sync_modules ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::add_woocommerce_sync_module( $sync_modules );
- }
-
- /**
- * Initalize the WP Super Cache listener.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::initialize_wp_super_cache
- */
- public static function initialize_wp_super_cache() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::initialize_wp_super_cache();
- }
-
- /**
- * Add the WP Super Cache sync module.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::add_wp_super_cache_sync_module
- *
- * @param Array $sync_modules the list to be amended.
- */
- public static function add_wp_super_cache_sync_module( $sync_modules ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::add_wp_super_cache_sync_module( $sync_modules );
- }
-
- /**
- * Sanitizes the filtered sync cron schedule.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::sanitize_filtered_sync_cron_schedule
- *
- * @param String $schedule the cron schedule to sanitize.
- * @return String sanitized cron schedule.
- */
- public static function sanitize_filtered_sync_cron_schedule( $schedule ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::sanitize_filtered_sync_cron_schedule( $schedule );
- }
-
- /**
- * Returns the time offset for a the start schedule.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::get_start_time_offset
- *
- * @param String $schedule the schedule string.
- * @param String $hook hook slug.
- * @return Integer start time offset.
- */
- public static function get_start_time_offset( $schedule = '', $hook = '' ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::get_start_time_offset( $schedule, $hook );
- }
-
- /**
- * If needed, schedule a cron sync.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::maybe_schedule_sync_cron
- *
- * @param String $schedule the schedule string.
- * @param String $hook hook slug.
- */
- public static function maybe_schedule_sync_cron( $schedule, $hook ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::maybe_schedule_sync_cron( $schedule, $hook );
- }
-
- /**
- * Clears cron jobs scheduled for sync.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::clear_sync_cron_jobs
- */
- public static function clear_sync_cron_jobs() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::clear_sync_cron_jobs();
- }
-
- /**
- * Initialize cron jobs for sync.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::init_sync_cron_jobs
- */
- public static function init_sync_cron_jobs() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::init_sync_cron_jobs();
- }
-
- /**
- * Cleans up schedules on plugin upgrade.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::cleanup_on_upgrade
- *
- * @param String $new_version the new version.
- * @param String $old_version the old version.
- */
- public static function cleanup_on_upgrade( $new_version = null, $old_version = null ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::cleanup_on_upgrade( $new_version, $old_version );
- }
-
- /**
- * Clears cron jobs scheduled for sync.
- *
- * @deprecated Automattic\Jetpack\Sync\Actions::get_sync_status
- *
- * @param Array $fields sync fields to get status of.
- */
- public static function get_sync_status( $fields = null ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Actions' );
-
- return Actions::get_sync_status( $fields );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php b/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php
deleted file mode 100644
index 69bc8af5..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * A compatibility shim for the sync modules class.
- *
- * @package automattic/jetpack-compat
- */
-
-use Automattic\Jetpack\Sync\Modules;
-
-/**
- * Class Jetpack_Sync_Modules
- *
- * @deprecated Use Automattic\Jetpack\Sync\Modules
- */
-class Jetpack_Sync_Modules {
-
- /**
- * Returns the sync module object.
- *
- * @param String $module_name the module name.
- * @return Automattic\Jetpack\Sync\Modules\Module the module object.
- */
- public static function get_module( $module_name ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Modules' );
-
- return Modules::get_module( $module_name );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php b/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php
deleted file mode 100644
index f365257d..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php
+++ /dev/null
@@ -1,230 +0,0 @@
-<?php
-/**
- * Legacy/deprecated Sync Setting getter and setter.
- *
- * @package automattic/jetpack-sync
- */
-
-use Automattic\Jetpack\Sync\Settings;
-
-/**
- * Class Jetpack_Sync_Settings
- *
- * @deprecated Use Automattic\Jetpack\Sync\Settings
- */
-class Jetpack_Sync_Settings {
-
- /**
- * Return all settings
- *
- * @deprecated See Automattic/Jetpack/Sync/Settings
- *
- * @return array All Sync Settings.
- */
- public static function get_settings() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::get_settings();
- }
-
- /**
- * Return a single setting.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @param string $setting Setting to return.
- *
- * @return mixed Value of setting.
- */
- public static function get_setting( $setting ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::get_setting( $setting );
- }
-
- /**
- * Update a sync setting
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @param mixed $new_settings New setting to set.
- */
- public static function update_settings( $new_settings ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- Settings::update_settings( $new_settings );
- }
-
- /**
- * Return is_network_setting result.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @param string $setting Setting to check.
- *
- * @return bool
- */
- public static function is_network_setting( $setting ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::is_network_setting( $setting );
- }
-
-
- /**
- * Return blacklisted post types SQL.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- */
- public static function get_blacklisted_post_types_sql() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::get_blacklisted_post_types_sql();
- }
-
- /**
- * Return whitelisted post meta SQL.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @return string
- */
- public static function get_whitelisted_post_meta_sql() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::get_whitelisted_post_meta_sql();
- }
-
- /**
- * Return whitelsited comment meta SQL
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- */
- public static function get_whitelisted_comment_meta_sql() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::get_whitelisted_comment_meta_sql();
- }
-
- /**
- * Return get_comments_filter_sql
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- */
- public static function get_comments_filter_sql() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::get_comments_filter_sql();
- }
-
- /**
- * Result data.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- */
- public static function reset_data() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- Settings::reset_data();
- }
-
- /**
- * Set importing status.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @param mixed $is_importing Value to set.
- */
- public static function set_importing( $is_importing ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- Settings::set_importing( $is_importing );
- }
-
- /**
- * Return is_importing status.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @return bool
- */
- public static function is_importing() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::is_importing();
- }
-
- /**
- * Return is_sync_enabled status.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @return bool
- */
- public static function is_sync_enabled() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::is_sync_enabled();
- }
-
- /**
- * Set cron status.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @param mixed $is_doing_cron Value to set.
- */
- public static function set_doing_cron( $is_doing_cron ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- Settings::set_doing_cron( $is_doing_cron );
- }
-
- /**
- * Return is_doing_cron status.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @return bool
- */
- public static function is_doing_cron() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::is_doing_cron();
- }
-
- /**
- * Return is_syncing status.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @return bool
- */
- public static function is_syncing() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::is_syncing();
- }
-
- /**
- * Set "is syncing" status.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @param mixed $is_syncing Is syncing value.
- */
- public static function set_is_syncing( $is_syncing ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- Settings::set_is_syncing( $is_syncing );
- }
-
- /**
- * Return is_sending status.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @return bool
- */
- public static function is_sending() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- return Settings::is_sending();
- }
-
- /**
- * Set "is sending" status.
- *
- * @deprecated See Automattic\Jetpack\Sync\Settings
- *
- * @param mixed $is_sending Is sending value.
- */
- public static function set_is_sending( $is_sending ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
- Settings::set_is_sending( $is_sending );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpacktracking.php b/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpacktracking.php
deleted file mode 100644
index abfe4f62..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-compat/legacy/class-jetpacktracking.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-/**
- * Legacy and deprecated Jetpack Tracking class.
- *
- * @package automattic/jetpack-compat
- */
-
-use Automattic\Jetpack\Tracking;
-
-/**
- * Legacy class JetpackTracking
- *
- * @deprecated See Automattic\Jetpack\Tracking
- */
-class JetpackTracking {
-
- /**
- * Enqueue tracks scripts.
- *
- * @deprecated See Automattic\Jetpack\Tracking
- */
- public static function enqueue_tracks_scripts() {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Tracking' );
-
- $tracking = new Tracking();
- return $tracking->enqueue_tracks_scripts();
- }
-
- /**
- * Record user event.
- *
- * @deprecated See Automattic\Jetpack\Tracking
- *
- * @param mixed $event_type Event type.
- * @param array $data Event data.
- * @param mixed $user User who did the event.
- *
- * @return bool
- */
- public static function record_user_event( $event_type, $data = array(), $user = null ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Tracking' );
-
- $tracking = new Tracking();
- return $tracking->record_user_event( $event_type, $data, $user );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-compat/lib/tracks/client.php b/plugins/jetpack/vendor/automattic/jetpack-compat/lib/tracks/client.php
deleted file mode 100644
index 41056897..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-compat/lib/tracks/client.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-/**
- * Deprecated Tracks client.
- *
- * @package automattic/jetpack-compat
- */
-
-/**
- * Get tracks identity for an user.
- *
- * @deprecated 7.5.0 use Automattic\Jetpack\Tracking->tracks_get_identity instead
- *
- * @param int $user_id User id.
- *
- * @return mixed tracks identity.
- */
-function jetpack_tracks_get_identity( $user_id ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Tracking->tracks_get_identity' );
-
- $tracking = new Automattic\Jetpack\Tracking( 'jetpack', Jetpack::connection() );
- return $tracking->tracks_get_identity( $user_id );
-}
-
-/**
- * Record Jetpack Tracks Event
- *
- * @deprecated 7.5.0 use Automattic\Jetpack\Tracking->tracks_record_event instead
- *
- * @param object $user User acting.
- * @param string $event_name Event name.
- * @param array $properties Properties.
- * @param string|bool $event_timestamp_millis Timestamp.
- *
- * @return bool
- */
-function jetpack_tracks_record_event( $user, $event_name, $properties = array(), $event_timestamp_millis = false ) {
- _deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Tracking->tracks_record_event' );
-
- $tracking = new Automattic\Jetpack\Tracking( 'jetpack', Jetpack::connection() );
- return $tracking->tracks_record_event( $user, $event_name, $properties, $event_timestamp_millis );
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-config/src/class-config.php b/plugins/jetpack/vendor/automattic/jetpack-config/src/class-config.php
deleted file mode 100644
index 6f16373a..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-config/src/class-config.php
+++ /dev/null
@@ -1,200 +0,0 @@
-<?php
-/**
- * The base Jetpack configuration class file.
- *
- * @package automattic/jetpack-config
- */
-
-namespace Automattic\Jetpack;
-
-use Automattic\Jetpack\Connection\Manager;
-use Automattic\Jetpack\JITM;
-use Automattic\Jetpack\Plugin\Tracking as Plugin_Tracking;
-use Automattic\Jetpack\Sync\Main as Sync_Main;
-use Automattic\Jetpack\Terms_Of_Service;
-
-/**
- * The configuration class.
- */
-class Config {
-
- const FEATURE_ENSURED = 1;
- const FEATURE_NOT_AVAILABLE = 0;
- const FEATURE_ALREADY_ENSURED = -1;
-
- /**
- * The initial setting values.
- *
- * @var Array
- */
- protected $config = array(
- 'jitm' => false,
- 'connection' => false,
- 'sync' => false,
- 'tracking' => false,
- 'tos' => false,
- );
-
- /**
- * Creates the configuration class instance.
- */
- public function __construct() {
-
- /**
- * Adding the config handler to run on priority 2 because the class itself is
- * being constructed on priority 1.
- */
- add_action( 'plugins_loaded', array( $this, 'on_plugins_loaded' ), 2 );
- }
-
- /**
- * Require a feature to be initialized. It's up to the package consumer to actually add
- * the package to their composer project. Declaring a requirement using this method
- * instructs the class to initalize it.
- *
- * @param String $feature the feature slug.
- */
- public function ensure( $feature ) {
- $this->config[ $feature ] = true;
- }
-
- /**
- * Runs on plugins_loaded hook priority with priority 2.
- *
- * @action plugins_loaded
- */
- public function on_plugins_loaded() {
- if ( $this->config['connection'] ) {
- $this->ensure_class( 'Automattic\Jetpack\Connection\Manager' )
- && $this->ensure_feature( 'connection' );
- }
-
- if ( $this->config['tracking'] ) {
- $this->ensure_class( 'Automattic\Jetpack\Terms_Of_Service' )
- && $this->ensure_class( 'Automattic\Jetpack\Tracking' )
- && $this->ensure_feature( 'tracking' );
- }
-
- if ( $this->config['sync'] ) {
- $this->ensure_class( 'Automattic\Jetpack\Sync\Main' )
- && $this->ensure_feature( 'sync' );
- }
-
- if ( $this->config['jitm'] ) {
- $this->ensure_class( 'Automattic\Jetpack\JITM' )
- && $this->ensure_feature( 'jitm' );
- }
- }
-
- /**
- * Returns true if the required class is available and alerts the user if it's not available
- * in case the site is in debug mode.
- *
- * @param String $classname a fully qualified class name.
- * @return Boolean whether the class is available.
- */
- protected function ensure_class( $classname ) {
- $available = class_exists( $classname );
-
- if ( ! $available && defined( 'WP_DEBUG' ) && WP_DEBUG ) {
- trigger_error( // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
- sprintf(
- /* translators: %1$s is a PHP class name. */
- esc_html__(
- 'Unable to load class %1$s. Please add the package that contains it using composer and make sure you are requiring the Jetpack autoloader',
- 'jetpack'
- ),
- esc_html( $classname )
- ),
- E_USER_NOTICE
- );
- }
-
- return $available;
- }
-
- /**
- * Ensures a feature is enabled, sets it up if it hasn't already been set up.
- *
- * @param String $feature slug of the feature.
- * @return Integer either FEATURE_ENSURED, FEATURE_ALREADY_ENSURED or FEATURE_NOT_AVAILABLE constants.
- */
- protected function ensure_feature( $feature ) {
- $method = 'enable_' . $feature;
- if ( ! method_exists( $this, $method ) ) {
- return self::FEATURE_NOT_AVAILABLE;
- }
-
- if ( did_action( 'jetpack_feature_' . $feature . '_enabled' ) ) {
- return self::FEATURE_ALREADY_ENSURED;
- }
-
- $this->{ $method }();
-
- /**
- * Fires when a specific Jetpack package feature is initalized using the Config package.
- *
- * @since 8.2.0
- */
- do_action( 'jetpack_feature_' . $feature . '_enabled' );
-
- return self::FEATURE_ENSURED;
- }
-
- /**
- * Dummy method to enable Terms of Service.
- */
- protected function enable_tos() {
- return true;
- }
-
- /**
- * Enables the tracking feature. Depends on the Terms of Service package, so enables it too.
- */
- protected function enable_tracking() {
-
- // Enabling dependencies.
- $this->ensure_feature( 'tos' );
-
- $terms_of_service = new Terms_Of_Service();
- $tracking = new Plugin_Tracking();
- if ( $terms_of_service->has_agreed() ) {
- add_action( 'init', array( $tracking, 'init' ) );
- } else {
- /**
- * Initialize tracking right after the user agrees to the terms of service.
- */
- add_action( 'jetpack_agreed_to_terms_of_service', array( $tracking, 'init' ) );
- }
-
- return true;
- }
-
- /**
- * Enables the JITM feature.
- */
- protected function enable_jitm() {
- JITM::configure();
-
- return true;
- }
-
- /**
- * Enables the Sync feature.
- */
- protected function enable_sync() {
- Sync_Main::configure();
-
- return true;
- }
-
- /**
- * Enables the Connection feature.
- */
- protected function enable_connection() {
- Manager::configure();
-
- return true;
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php b/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
index 084cc8e6..54ec52f4 100644
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
+++ b/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
@@ -1,122 +1,2 @@
-<?php
-/**
- * IXR_Client
- *
- * @package automattic/jetpack-connection
- *
- * @since 1.5
- * @since 7.7 Moved to the jetpack-connection package.
- */
-
-use Automattic\Jetpack\Connection\Client;
-use Automattic\Jetpack\Connection\Manager;
-
-/**
- * A Jetpack implementation of the WordPress core IXR client.
- */
-class Jetpack_IXR_Client extends IXR_Client {
- /**
- * Jetpack args, used for the remote requests.
- *
- * @var array
- */
- public $jetpack_args = null;
-
- /**
- * Constructor.
- * Initialize a new Jetpack IXR client instance.
- *
- * @param array $args Jetpack args, used for the remote requests.
- * @param string|bool $path Path to perform the reuqest to.
- * @param int $port Port number.
- * @param int $timeout The connection timeout, in seconds.
- */
- public function __construct( $args = array(), $path = false, $port = 80, $timeout = 15 ) {
- $connection = new Manager();
-
- $defaults = array(
- 'url' => $connection->xmlrpc_api_url(),
- 'user_id' => 0,
- );
-
- $args = wp_parse_args( $args, $defaults );
-
- $this->jetpack_args = $args;
-
- $this->IXR_Client( $args['url'], $path, $port, $timeout );
- }
-
- /**
- * Perform the IXR request.
- *
- * @return bool True if request succeeded, false otherwise.
- */
- public function query() {
- $args = func_get_args();
- $method = array_shift( $args );
- $request = new IXR_Request( $method, $args );
- $xml = trim( $request->getXml() );
-
- $response = Client::remote_request( $this->jetpack_args, $xml );
-
- if ( is_wp_error( $response ) ) {
- $this->error = new IXR_Error( -10520, sprintf( 'Jetpack: [%s] %s', $response->get_error_code(), $response->get_error_message() ) );
- return false;
- }
-
- if ( ! $response ) {
- $this->error = new IXR_Error( -10520, 'Jetpack: Unknown Error' );
- return false;
- }
-
- if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
- $this->error = new IXR_Error( -32300, 'transport error - HTTP status code was not 200' );
- return false;
- }
-
- $content = wp_remote_retrieve_body( $response );
-
- // Now parse what we've got back.
- $this->message = new IXR_Message( $content );
- if ( ! $this->message->parse() ) {
- // XML error.
- $this->error = new IXR_Error( -32700, 'parse error. not well formed' );
- return false;
- }
-
- // Is the message a fault?
- if ( 'fault' === $this->message->messageType ) {
- $this->error = new IXR_Error( $this->message->faultCode, $this->message->faultString );
- return false;
- }
-
- // Message must be OK.
- return true;
- }
-
- /**
- * Retrieve the Jetpack error from the result of the last request.
- *
- * @param int $fault_code Fault code.
- * @param string $fault_string Fault string.
- * @return WP_Error Error object.
- */
- public function get_jetpack_error( $fault_code = null, $fault_string = null ) {
- if ( is_null( $fault_code ) ) {
- $fault_code = $this->error->code;
- }
-
- if ( is_null( $fault_string ) ) {
- $fault_string = $this->error->message;
- }
-
- if ( preg_match( '#jetpack:\s+\[(\w+)\]\s*(.*)?$#i', $fault_string, $match ) ) {
- $code = $match[1];
- $message = $match[2];
- $status = $fault_code;
- return new \WP_Error( $code, $message, $status );
- }
-
- return new \WP_Error( "IXR_{$fault_code}", $fault_string );
- }
-}
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php b/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php
deleted file mode 100644
index da71873f..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php
+++ /dev/null
@@ -1,68 +0,0 @@
-<?php
-/**
- * IXR_ClientMulticall
- *
- * @package automattic/jetpack-connection
- *
- * @since 1.5
- * @since 7.7 Moved to the jetpack-connection package.
- */
-
-/**
- * A Jetpack implementation of the WordPress core IXR client, capable of multiple calls in a single request.
- */
-class Jetpack_IXR_ClientMulticall extends Jetpack_IXR_Client {
- /**
- * Storage for the IXR calls.
- *
- * @var array
- */
- public $calls = array();
-
- /**
- * Add a IXR call to the client.
- * First argument is the method name.
- * The rest of the arguments are the params specified to the method.
- */
- public function addCall() {
- $args = func_get_args();
- $method_name = array_shift( $args );
- $struct = array(
- 'methodName' => $method_name,
- 'params' => $args,
- );
- $this->calls[] = $struct;
- }
-
- /**
- * Perform the IXR multicall request.
- *
- * @return bool True if request succeeded, false otherwise.
- */
- public function query() {
- usort( $this->calls, array( $this, 'sort_calls' ) );
-
- // Prepare multicall, then call the parent::query() method.
- return parent::query( 'system.multicall', $this->calls );
- }
-
- /**
- * Sort the IXR calls.
- * Make sure syncs are always done first.
- *
- * @param array $a First call in the sorting iteration.
- * @param array $b Second call in the sorting iteration.
- * @return int Result of the sorting iteration.
- */
- public function sort_calls( $a, $b ) {
- if ( 'jetpack.syncContent' === $a['methodName'] ) {
- return -1;
- }
-
- if ( 'jetpack.syncContent' === $b['methodName'] ) {
- return 1;
- }
-
- return 0;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php b/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php
index 2d6b7529..008fe0aa 100644
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php
+++ b/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php
@@ -1,344 +1,2 @@
-<?php
-/**
- * The Jetpack Connection signature class file.
- *
- * @package automattic/jetpack-connection
- */
-
-use Automattic\Jetpack\Connection\Manager as Connection_Manager;
-
-/**
- * The Jetpack Connection signature class that is used to sign requests.
- */
-class Jetpack_Signature {
- /**
- * Token part of the access token.
- *
- * @access public
- * @var string
- */
- public $token;
-
- /**
- * Access token secret.
- *
- * @access public
- * @var string
- */
- public $secret;
-
- /**
- * The current request URL.
- *
- * @access public
- * @var string
- */
- public $current_request_url;
-
- /**
- * Constructor.
- *
- * @param array $access_token Access token.
- * @param int $time_diff Timezone difference (in seconds).
- */
- public function __construct( $access_token, $time_diff = 0 ) {
- $secret = explode( '.', $access_token );
- if ( 2 !== count( $secret ) ) {
- return;
- }
-
- $this->token = $secret[0];
- $this->secret = $secret[1];
- $this->time_diff = $time_diff;
- }
-
- /**
- * Sign the current request.
- *
- * @todo Implement a proper nonce verification.
- *
- * @param array $override Optional arguments to override the ones from the current request.
- * @return string|WP_Error Request signature, or a WP_Error on failure.
- */
- public function sign_current_request( $override = array() ) {
- if ( isset( $override['scheme'] ) ) {
- $scheme = $override['scheme'];
- if ( ! in_array( $scheme, array( 'http', 'https' ), true ) ) {
- return new WP_Error( 'invalid_scheme', 'Invalid URL scheme' );
- }
- } else {
- if ( is_ssl() ) {
- $scheme = 'https';
- } else {
- $scheme = 'http';
- }
- }
-
- $host_port = isset( $_SERVER['HTTP_X_FORWARDED_PORT'] ) ? $_SERVER['HTTP_X_FORWARDED_PORT'] : $_SERVER['SERVER_PORT'];
- $host_port = intval( $host_port );
-
- /**
- * Note: This port logic is tested in the Jetpack_Cxn_Tests->test__server_port_value() test.
- * Please update the test if any changes are made in this logic.
- */
- if ( is_ssl() ) {
- // 443: Standard Port
- // 80: Assume we're behind a proxy without X-Forwarded-Port. Hardcoding "80" here means most sites
- // with SSL termination proxies (self-served, Cloudflare, etc.) don't need to fiddle with
- // the JETPACK_SIGNATURE__HTTPS_PORT constant. The code also implies we can't talk to a
- // site at https://example.com:80/ (which would be a strange configuration).
- // JETPACK_SIGNATURE__HTTPS_PORT: Set this constant in wp-config.php to the back end webserver's port
- // if the site is behind a proxy running on port 443 without
- // X-Forwarded-Port and the back end's port is *not* 80. It's better,
- // though, to configure the proxy to send X-Forwarded-Port.
- $https_port = defined( 'JETPACK_SIGNATURE__HTTPS_PORT' ) ? JETPACK_SIGNATURE__HTTPS_PORT : 443;
- $port = in_array( $host_port, array( 443, 80, $https_port ), false ) ? '' : $host_port; // phpcs:ignore WordPress.PHP.StrictInArray.FoundNonStrictFalse
- } else {
- // 80: Standard Port
- // JETPACK_SIGNATURE__HTTPS_PORT: Set this constant in wp-config.php to the back end webserver's port
- // if the site is behind a proxy running on port 80 without
- // X-Forwarded-Port. It's better, though, to configure the proxy to
- // send X-Forwarded-Port.
- $http_port = defined( 'JETPACK_SIGNATURE__HTTP_PORT' ) ? JETPACK_SIGNATURE__HTTP_PORT : 80;
- $port = in_array( $host_port, array( 80, $http_port ), false ) ? '' : $host_port; // phpcs:ignore WordPress.PHP.StrictInArray.FoundNonStrictFalse
- }
-
- $this->current_request_url = "{$scheme}://{$_SERVER['HTTP_HOST']}:{$port}" . stripslashes( $_SERVER['REQUEST_URI'] );
-
- if ( array_key_exists( 'body', $override ) && ! empty( $override['body'] ) ) {
- $body = $override['body'];
- } elseif ( 'POST' === strtoupper( $_SERVER['REQUEST_METHOD'] ) ) {
- $body = isset( $GLOBALS['HTTP_RAW_POST_DATA'] ) ? $GLOBALS['HTTP_RAW_POST_DATA'] : null;
-
- // Convert the $_POST to the body, if the body was empty. This is how arrays are hashed
- // and encoded on the Jetpack side.
- if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- // phpcs:ignore WordPress.Security.NonceVerification.Missing
- if ( empty( $body ) && is_array( $_POST ) && count( $_POST ) > 0 ) {
- $body = $_POST; // phpcs:ignore WordPress.Security.NonceVerification.Missing
- }
- }
- } elseif ( 'PUT' === strtoupper( $_SERVER['REQUEST_METHOD'] ) ) {
- // This is a little strange-looking, but there doesn't seem to be another way to get the PUT body.
- $raw_put_data = file_get_contents( 'php://input' );
- parse_str( $raw_put_data, $body );
-
- if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- $put_data = json_decode( $raw_put_data, true );
- if ( is_array( $put_data ) && count( $put_data ) > 0 ) {
- $body = $put_data;
- }
- }
- } else {
- $body = null;
- }
-
- if ( empty( $body ) ) {
- $body = null;
- }
-
- $a = array();
- foreach ( array( 'token', 'timestamp', 'nonce', 'body-hash' ) as $parameter ) {
- if ( isset( $override[ $parameter ] ) ) {
- $a[ $parameter ] = $override[ $parameter ];
- } else {
- // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $a[ $parameter ] = isset( $_GET[ $parameter ] ) ? stripslashes( $_GET[ $parameter ] ) : '';
- }
- }
-
- $method = isset( $override['method'] ) ? $override['method'] : $_SERVER['REQUEST_METHOD'];
- return $this->sign_request( $a['token'], $a['timestamp'], $a['nonce'], $a['body-hash'], $method, $this->current_request_url, $body, true );
- }
-
- /**
- * Sign a specified request.
- *
- * @todo Having body_hash v. body-hash is annoying. Refactor to accept an array?
- * @todo Use wp_json_encode() instead of json_encode()?
- *
- * @param string $token Request token.
- * @param int $timestamp Timestamp of the request.
- * @param string $nonce Request nonce.
- * @param string $body_hash Request body hash.
- * @param string $method Request method.
- * @param string $url Request URL.
- * @param mixed $body Request body.
- * @param bool $verify_body_hash Whether to verify the body hash against the body.
- * @return string|WP_Error Request signature, or a WP_Error on failure.
- */
- public function sign_request( $token = '', $timestamp = 0, $nonce = '', $body_hash = '', $method = '', $url = '', $body = null, $verify_body_hash = true ) {
- if ( ! $this->secret ) {
- return new WP_Error( 'invalid_secret', 'Invalid secret' );
- }
-
- if ( ! $this->token ) {
- return new WP_Error( 'invalid_token', 'Invalid token' );
- }
-
- list( $token ) = explode( '.', $token );
-
- $signature_details = compact( 'token', 'timestamp', 'nonce', 'body_hash', 'method', 'url' );
-
- if ( 0 !== strpos( $token, "$this->token:" ) ) {
- return new WP_Error( 'token_mismatch', 'Incorrect token', compact( 'signature_details' ) );
- }
-
- // If we got an array at this point, let's encode it, so we can see what it looks like as a string.
- if ( is_array( $body ) ) {
- if ( count( $body ) > 0 ) {
- // phpcs:ignore WordPress.WP.AlternativeFunctions.json_encode_json_encode
- $body = json_encode( $body );
-
- } else {
- $body = '';
- }
- }
-
- $required_parameters = array( 'token', 'timestamp', 'nonce', 'method', 'url' );
- if ( ! is_null( $body ) ) {
- $required_parameters[] = 'body_hash';
- if ( ! is_string( $body ) ) {
- return new WP_Error( 'invalid_body', 'Body is malformed.', compact( 'signature_details' ) );
- }
- }
-
- foreach ( $required_parameters as $required ) {
- if ( ! is_scalar( $$required ) ) {
- return new WP_Error( 'invalid_signature', sprintf( 'The required "%s" parameter is malformed.', str_replace( '_', '-', $required ) ), compact( 'signature_details' ) );
- }
-
- if ( ! strlen( $$required ) ) {
- return new WP_Error( 'invalid_signature', sprintf( 'The required "%s" parameter is missing.', str_replace( '_', '-', $required ) ), compact( 'signature_details' ) );
- }
- }
-
- if ( empty( $body ) ) {
- if ( $body_hash ) {
- return new WP_Error( 'invalid_body_hash', 'Invalid body hash for empty body.', compact( 'signature_details' ) );
- }
- } else {
- $connection = new Connection_Manager();
- if ( $verify_body_hash && $connection->sha1_base64( $body ) !== $body_hash ) {
- return new WP_Error( 'invalid_body_hash', 'The body hash does not match.', compact( 'signature_details' ) );
- }
- }
-
- $parsed = wp_parse_url( $url );
- if ( ! isset( $parsed['host'] ) ) {
- return new WP_Error( 'invalid_signature', sprintf( 'The required "%s" parameter is malformed.', 'url' ), compact( 'signature_details' ) );
- }
-
- if ( ! empty( $parsed['port'] ) ) {
- $port = $parsed['port'];
- } else {
- if ( 'http' === $parsed['scheme'] ) {
- $port = 80;
- } elseif ( 'https' === $parsed['scheme'] ) {
- $port = 443;
- } else {
- return new WP_Error( 'unknown_scheme_port', "The scheme's port is unknown", compact( 'signature_details' ) );
- }
- }
-
- if ( ! ctype_digit( "$timestamp" ) || 10 < strlen( $timestamp ) ) { // If Jetpack is around in 275 years, you can blame mdawaffe for the bug.
- return new WP_Error( 'invalid_signature', sprintf( 'The required "%s" parameter is malformed.', 'timestamp' ), compact( 'signature_details' ) );
- }
-
- $local_time = $timestamp - $this->time_diff;
- if ( $local_time < time() - 600 || $local_time > time() + 300 ) {
- return new WP_Error( 'invalid_signature', 'The timestamp is too old.', compact( 'signature_details' ) );
- }
-
- if ( 12 < strlen( $nonce ) || preg_match( '/[^a-zA-Z0-9]/', $nonce ) ) {
- return new WP_Error( 'invalid_signature', sprintf( 'The required "%s" parameter is malformed.', 'nonce' ), compact( 'signature_details' ) );
- }
-
- $normalized_request_pieces = array(
- $token,
- $timestamp,
- $nonce,
- $body_hash,
- strtoupper( $method ),
- strtolower( $parsed['host'] ),
- $port,
- $parsed['path'],
- // Normalized Query String.
- );
-
- $normalized_request_pieces = array_merge( $normalized_request_pieces, $this->normalized_query_parameters( isset( $parsed['query'] ) ? $parsed['query'] : '' ) );
- $flat_normalized_request_pieces = array();
- foreach ( $normalized_request_pieces as $piece ) {
- if ( is_array( $piece ) ) {
- foreach ( $piece as $subpiece ) {
- $flat_normalized_request_pieces[] = $subpiece;
- }
- } else {
- $flat_normalized_request_pieces[] = $piece;
- }
- }
- $normalized_request_pieces = $flat_normalized_request_pieces;
-
- $normalized_request_string = join( "\n", $normalized_request_pieces ) . "\n";
-
- // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
- return base64_encode( hash_hmac( 'sha1', $normalized_request_string, $this->secret, true ) );
- }
-
- /**
- * Retrieve and normalize the parameters from a query string.
- *
- * @param string $query_string Query string.
- * @return array Normalized query string parameters.
- */
- public function normalized_query_parameters( $query_string ) {
- parse_str( $query_string, $array );
-
- unset( $array['signature'] );
-
- $names = array_keys( $array );
- $values = array_values( $array );
-
- $names = array_map( array( $this, 'encode_3986' ), $names );
- $values = array_map( array( $this, 'encode_3986' ), $values );
-
- $pairs = array_map( array( $this, 'join_with_equal_sign' ), $names, $values );
-
- sort( $pairs );
-
- return $pairs;
- }
-
- /**
- * Encodes a string or array of strings according to RFC 3986.
- *
- * @param string|array $string_or_array String or array to encode.
- * @return string|array URL-encoded string or array.
- */
- public function encode_3986( $string_or_array ) {
- if ( is_array( $string_or_array ) ) {
- return array_map( array( $this, 'encode_3986' ), $string_or_array );
- }
-
- return rawurlencode( $string_or_array );
- }
-
- /**
- * Concatenates a parameter name and a parameter value with an equals sign between them.
- * Supports one-dimensional arrays as `$value`.
- *
- * @param string $name Parameter name.
- * @param mixed $value Parameter value.
- * @return string A pair with parameter name and value (e.g. `name=value`).
- */
- public function join_with_equal_sign( $name, $value ) {
- if ( is_array( $value ) ) {
- $result = array();
- foreach ( $value as $array_key => $array_value ) {
- $result[] = $name . '[' . $array_key . ']=' . $array_value;
- }
- return $result;
- }
- return "{$name}={$value}";
- }
-}
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php b/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php
deleted file mode 100644
index db897a0d..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php
+++ /dev/null
@@ -1,943 +0,0 @@
-<?php
-/**
- * Jetpack XMLRPC Server.
- *
- * @package automattic/jetpack-connection
- */
-
-use Automattic\Jetpack\Connection\Client;
-use Automattic\Jetpack\Connection\Manager as Connection_Manager;
-use Automattic\Jetpack\Connection\Utils as Connection_Utils;
-use Automattic\Jetpack\Roles;
-use Automattic\Jetpack\Sync\Modules;
-use Automattic\Jetpack\Sync\Functions;
-use Automattic\Jetpack\Sync\Sender;
-
-/**
- * Just a sack of functions. Not actually an IXR_Server
- */
-class Jetpack_XMLRPC_Server {
- /**
- * The current error object
- *
- * @var \WP_Error
- */
- public $error = null;
-
- /**
- * The current user
- *
- * @var \WP_User
- */
- public $user = null;
-
- /**
- * The connection manager object.
- *
- * @var Automattic\Jetpack\Connection\Manager
- */
- private $connection;
-
- /**
- * Creates a new XMLRPC server object.
- *
- * @param Automattic\Jetpack\Connection\Manager $manager the connection manager object.
- */
- public function __construct( $manager = null ) {
- $this->connection = is_null( $manager ) ? new Connection_Manager() : $manager;
- }
-
- /**
- * Whitelist of the XML-RPC methods available to the Jetpack Server. If the
- * user is not authenticated (->login()) then the methods are never added,
- * so they will get a "does not exist" error.
- *
- * @param array $core_methods Core XMLRPC methods.
- */
- public function xmlrpc_methods( $core_methods ) {
- $jetpack_methods = array(
- 'jetpack.jsonAPI' => array( $this, 'json_api' ),
- 'jetpack.verifyAction' => array( $this, 'verify_action' ),
- 'jetpack.getUser' => array( $this, 'get_user' ),
- 'jetpack.remoteRegister' => array( $this, 'remote_register' ),
- 'jetpack.remoteProvision' => array( $this, 'remote_provision' ),
- );
-
- $this->user = $this->login();
-
- if ( $this->user ) {
- $jetpack_methods = array_merge(
- $jetpack_methods,
- array(
- 'jetpack.testConnection' => array( $this, 'test_connection' ),
- 'jetpack.testAPIUserCode' => array( $this, 'test_api_user_code' ),
- 'jetpack.featuresAvailable' => array( $this, 'features_available' ),
- 'jetpack.featuresEnabled' => array( $this, 'features_enabled' ),
- 'jetpack.disconnectBlog' => array( $this, 'disconnect_blog' ),
- 'jetpack.unlinkUser' => array( $this, 'unlink_user' ),
- 'jetpack.idcUrlValidation' => array( $this, 'validate_urls_for_idc_mitigation' ),
- )
- );
-
- if ( isset( $core_methods['metaWeblog.editPost'] ) ) {
- $jetpack_methods['metaWeblog.newMediaObject'] = $core_methods['metaWeblog.newMediaObject'];
- $jetpack_methods['jetpack.updateAttachmentParent'] = array( $this, 'update_attachment_parent' );
- }
-
- /**
- * Filters the XML-RPC methods available to Jetpack for authenticated users.
- *
- * @since 1.1.0
- *
- * @param array $jetpack_methods XML-RPC methods available to the Jetpack Server.
- * @param array $core_methods Available core XML-RPC methods.
- * @param \WP_User $user Information about a given WordPress user.
- */
- $jetpack_methods = apply_filters( 'jetpack_xmlrpc_methods', $jetpack_methods, $core_methods, $this->user );
- }
-
- /**
- * Filters the XML-RPC methods available to Jetpack for unauthenticated users.
- *
- * @since 3.0.0
- *
- * @param array $jetpack_methods XML-RPC methods available to the Jetpack Server.
- * @param array $core_methods Available core XML-RPC methods.
- */
- return apply_filters( 'jetpack_xmlrpc_unauthenticated_methods', $jetpack_methods, $core_methods );
- }
-
- /**
- * Whitelist of the bootstrap XML-RPC methods
- */
- public function bootstrap_xmlrpc_methods() {
- return array(
- 'jetpack.remoteAuthorize' => array( $this, 'remote_authorize' ),
- 'jetpack.remoteRegister' => array( $this, 'remote_register' ),
- );
- }
-
- /**
- * Additional method needed for authorization calls.
- */
- public function authorize_xmlrpc_methods() {
- return array(
- 'jetpack.remoteAuthorize' => array( $this, 'remote_authorize' ),
- );
- }
-
- /**
- * Remote provisioning methods.
- */
- public function provision_xmlrpc_methods() {
- return array(
- 'jetpack.remoteRegister' => array( $this, 'remote_register' ),
- 'jetpack.remoteProvision' => array( $this, 'remote_provision' ),
- 'jetpack.remoteConnect' => array( $this, 'remote_connect' ),
- 'jetpack.getUser' => array( $this, 'get_user' ),
- );
- }
-
- /**
- * Used to verify whether a local user exists and what role they have.
- *
- * @param int|string|array $request One of:
- * int|string The local User's ID, username, or email address.
- * array A request array containing:
- * 0: int|string The local User's ID, username, or email address.
- *
- * @return array|\IXR_Error Information about the user, or error if no such user found:
- * roles: string[] The user's rols.
- * login: string The user's username.
- * email_hash string[] The MD5 hash of the user's normalized email address.
- * caps string[] The user's capabilities.
- * allcaps string[] The user's granular capabilities, merged from role capabilities.
- * token_key string The Token Key of the user's Jetpack token. Empty string if none.
- */
- public function get_user( $request ) {
- $user_id = is_array( $request ) ? $request[0] : $request;
-
- if ( ! $user_id ) {
- return $this->error(
- new Jetpack_Error(
- 'invalid_user',
- __( 'Invalid user identifier.', 'jetpack' ),
- 400
- ),
- 'get_user'
- );
- }
-
- $user = $this->get_user_by_anything( $user_id );
-
- if ( ! $user ) {
- return $this->error(
- new Jetpack_Error(
- 'user_unknown',
- __( 'User not found.', 'jetpack' ),
- 404
- ),
- 'get_user'
- );
- }
-
- $user_token = $this->connection->get_access_token( $user->ID );
-
- if ( $user_token ) {
- list( $user_token_key ) = explode( '.', $user_token->secret );
- if ( $user_token_key === $user_token->secret ) {
- $user_token_key = '';
- }
- } else {
- $user_token_key = '';
- }
-
- return array(
- 'id' => $user->ID,
- 'login' => $user->user_login,
- 'email_hash' => md5( strtolower( trim( $user->user_email ) ) ),
- 'roles' => $user->roles,
- 'caps' => $user->caps,
- 'allcaps' => $user->allcaps,
- 'token_key' => $user_token_key,
- );
- }
-
- /**
- * Remote authorization XMLRPC method handler.
- *
- * @param array $request the request.
- */
- public function remote_authorize( $request ) {
- $user = get_user_by( 'id', $request['state'] );
-
- /**
- * Happens on various request handling events in the Jetpack XMLRPC server.
- * The action combines several types of events:
- * - remote_authorize
- * - remote_provision
- * - get_user.
- *
- * @since 8.0.0
- *
- * @param String $action the action name, i.e., 'remote_authorize'.
- * @param String $stage the execution stage, can be 'begin', 'success', 'error', etc.
- * @param Array $parameters extra parameters from the event.
- * @param WP_User $user the acting user.
- */
- do_action( 'jetpack_xmlrpc_server_event', 'remote_authorize', 'begin', array(), $user );
-
- foreach ( array( 'secret', 'state', 'redirect_uri', 'code' ) as $required ) {
- if ( ! isset( $request[ $required ] ) || empty( $request[ $required ] ) ) {
- return $this->error(
- new Jetpack_Error( 'missing_parameter', 'One or more parameters is missing from the request.', 400 ),
- 'remote_authorize'
- );
- }
- }
-
- if ( ! $user ) {
- return $this->error( new Jetpack_Error( 'user_unknown', 'User not found.', 404 ), 'remote_authorize' );
- }
-
- if ( $this->connection->is_active() && $this->connection->is_user_connected( $request['state'] ) ) {
- return $this->error( new Jetpack_Error( 'already_connected', 'User already connected.', 400 ), 'remote_authorize' );
- }
-
- $verified = $this->verify_action( array( 'authorize', $request['secret'], $request['state'] ) );
-
- if ( is_a( $verified, 'IXR_Error' ) ) {
- return $this->error( $verified, 'remote_authorize' );
- }
-
- wp_set_current_user( $request['state'] );
-
- $result = $this->connection->authorize( $request );
-
- if ( is_wp_error( $result ) ) {
- return $this->error( $result, 'remote_authorize' );
- }
-
- // This action is documented in class.jetpack-xmlrpc-server.php.
- do_action( 'jetpack_xmlrpc_server_event', 'remote_authorize', 'success' );
-
- return array(
- 'result' => $result,
- );
- }
-
- /**
- * This XML-RPC method is called from the /jpphp/provision endpoint on WPCOM in order to
- * register this site so that a plan can be provisioned.
- *
- * @param array $request An array containing at minimum nonce and local_user keys.
- *
- * @return \WP_Error|array
- */
- public function remote_register( $request ) {
- // This action is documented in class.jetpack-xmlrpc-server.php.
- do_action( 'jetpack_xmlrpc_server_event', 'remote_register', 'begin', array() );
-
- $user = $this->fetch_and_verify_local_user( $request );
-
- if ( ! $user ) {
- return $this->error(
- new WP_Error( 'input_error', __( 'Valid user is required', 'jetpack' ), 400 ),
- 'remote_register'
- );
- }
-
- if ( is_wp_error( $user ) || is_a( $user, 'IXR_Error' ) ) {
- return $this->error( $user, 'remote_register' );
- }
-
- if ( empty( $request['nonce'] ) ) {
- return $this->error(
- new Jetpack_Error(
- 'nonce_missing',
- __( 'The required "nonce" parameter is missing.', 'jetpack' ),
- 400
- ),
- 'remote_register'
- );
- }
-
- $nonce = sanitize_text_field( $request['nonce'] );
- unset( $request['nonce'] );
-
- $api_url = Connection_Utils::fix_url_for_bad_hosts(
- $this->connection->api_url( 'partner_provision_nonce_check' )
- );
- $response = Client::_wp_remote_request(
- esc_url_raw( add_query_arg( 'nonce', $nonce, $api_url ) ),
- array( 'method' => 'GET' ),
- true
- );
-
- if (
- 200 !== wp_remote_retrieve_response_code( $response ) ||
- 'OK' !== trim( wp_remote_retrieve_body( $response ) )
- ) {
- return $this->error(
- new Jetpack_Error(
- 'invalid_nonce',
- __( 'There was an issue validating this request.', 'jetpack' ),
- 400
- ),
- 'remote_register'
- );
- }
-
- if ( ! Jetpack_Options::get_option( 'id' ) || ! $this->connection->get_access_token() || ! empty( $request['force'] ) ) {
- wp_set_current_user( $user->ID );
-
- // This code mostly copied from Jetpack::admin_page_load.
- Jetpack::maybe_set_version_option();
- $registered = Jetpack::try_registration();
- if ( is_wp_error( $registered ) ) {
- return $this->error( $registered, 'remote_register' );
- } elseif ( ! $registered ) {
- return $this->error(
- new Jetpack_Error(
- 'registration_error',
- __( 'There was an unspecified error registering the site', 'jetpack' ),
- 400
- ),
- 'remote_register'
- );
- }
- }
-
- // This action is documented in class.jetpack-xmlrpc-server.php.
- do_action( 'jetpack_xmlrpc_server_event', 'remote_register', 'success' );
-
- return array(
- 'client_id' => Jetpack_Options::get_option( 'id' ),
- );
- }
-
- /**
- * This XML-RPC method is called from the /jpphp/provision endpoint on WPCOM in order to
- * register this site so that a plan can be provisioned.
- *
- * @param array $request An array containing at minimum a nonce key and a local_username key.
- *
- * @return \WP_Error|array
- */
- public function remote_provision( $request ) {
- $user = $this->fetch_and_verify_local_user( $request );
-
- if ( ! $user ) {
- return $this->error(
- new WP_Error( 'input_error', __( 'Valid user is required', 'jetpack' ), 400 ),
- 'remote_provision'
- );
- }
-
- if ( is_wp_error( $user ) || is_a( $user, 'IXR_Error' ) ) {
- return $this->error( $user, 'remote_provision' );
- }
-
- $site_icon = get_site_icon_url();
-
- $auto_enable_sso = ( ! $this->connection->is_active() || Jetpack::is_module_active( 'sso' ) );
-
- /** This filter is documented in class.jetpack-cli.php */
- if ( apply_filters( 'jetpack_start_enable_sso', $auto_enable_sso ) ) {
- $redirect_uri = add_query_arg(
- array(
- 'action' => 'jetpack-sso',
- 'redirect_to' => rawurlencode( admin_url() ),
- ),
- wp_login_url() // TODO: come back to Jetpack dashboard?
- );
- } else {
- $redirect_uri = admin_url();
- }
-
- // Generate secrets.
- $roles = new Roles();
- $role = $roles->translate_user_to_role( $user );
- $secrets = $this->connection->generate_secrets( 'authorize', $user->ID );
-
- $response = array(
- 'jp_version' => JETPACK__VERSION,
- 'redirect_uri' => $redirect_uri,
- 'user_id' => $user->ID,
- 'user_email' => $user->user_email,
- 'user_login' => $user->user_login,
- 'scope' => $this->connection->sign_role( $role, $user->ID ),
- 'secret' => $secrets['secret_1'],
- 'is_active' => $this->connection->is_active(),
- );
-
- if ( $site_icon ) {
- $response['site_icon'] = $site_icon;
- }
-
- if ( ! empty( $request['onboarding'] ) ) {
- Jetpack::create_onboarding_token();
- $response['onboarding_token'] = Jetpack_Options::get_option( 'onboarding' );
- }
-
- return $response;
- }
-
- /**
- * Given an array containing a local user identifier and a nonce, will attempt to fetch and set
- * an access token for the given user.
- *
- * @param array $request An array containing local_user and nonce keys at minimum.
- * @param \IXR_Client $ixr_client The client object, optional.
- * @return mixed
- */
- public function remote_connect( $request, $ixr_client = false ) {
- if ( $this->connection->is_active() ) {
- return $this->error(
- new WP_Error(
- 'already_connected',
- __( 'Jetpack is already connected.', 'jetpack' ),
- 400
- ),
- 'remote_connect'
- );
- }
-
- $user = $this->fetch_and_verify_local_user( $request );
-
- if ( ! $user || is_wp_error( $user ) || is_a( $user, 'IXR_Error' ) ) {
- return $this->error(
- new WP_Error(
- 'input_error',
- __( 'Valid user is required.', 'jetpack' ),
- 400
- ),
- 'remote_connect'
- );
- }
-
- if ( empty( $request['nonce'] ) ) {
- return $this->error(
- new WP_Error(
- 'input_error',
- __( 'A non-empty nonce must be supplied.', 'jetpack' ),
- 400
- ),
- 'remote_connect'
- );
- }
-
- if ( ! $ixr_client ) {
- $ixr_client = new Jetpack_IXR_Client();
- }
- $ixr_client->query(
- 'jetpack.getUserAccessToken',
- array(
- 'nonce' => sanitize_text_field( $request['nonce'] ),
- 'external_user_id' => $user->ID,
- )
- );
-
- $token = $ixr_client->isError() ? false : $ixr_client->getResponse();
- if ( empty( $token ) ) {
- return $this->error(
- new WP_Error(
- 'token_fetch_failed',
- __( 'Failed to fetch user token from WordPress.com.', 'jetpack' ),
- 400
- ),
- 'remote_connect'
- );
- }
- $token = sanitize_text_field( $token );
-
- Connection_Utils::update_user_token( $user->ID, sprintf( '%s.%d', $token, $user->ID ), true );
-
- $this->do_post_authorization();
-
- return $this->connection->is_active();
- }
-
- /**
- * Getter for the local user to act as.
- *
- * @param array $request the current request data.
- */
- private function fetch_and_verify_local_user( $request ) {
- if ( empty( $request['local_user'] ) ) {
- return $this->error(
- new Jetpack_Error(
- 'local_user_missing',
- __( 'The required "local_user" parameter is missing.', 'jetpack' ),
- 400
- ),
- 'remote_provision'
- );
- }
-
- // Local user is used to look up by login, email or ID.
- $local_user_info = $request['local_user'];
-
- return $this->get_user_by_anything( $local_user_info );
- }
-
- /**
- * Gets the user object by its data.
- *
- * @param string $user_id can be any identifying user data.
- */
- private function get_user_by_anything( $user_id ) {
- $user = get_user_by( 'login', $user_id );
-
- if ( ! $user ) {
- $user = get_user_by( 'email', $user_id );
- }
-
- if ( ! $user ) {
- $user = get_user_by( 'ID', $user_id );
- }
-
- return $user;
- }
-
- /**
- * Possible error_codes:
- *
- * - verify_secret_1_missing
- * - verify_secret_1_malformed
- * - verify_secrets_missing: verification secrets are not found in database
- * - verify_secrets_incomplete: verification secrets are only partially found in database
- * - verify_secrets_expired: verification secrets have expired
- * - verify_secrets_mismatch: stored secret_1 does not match secret_1 sent by Jetpack.WordPress.com
- * - state_missing: required parameter of state not found
- * - state_malformed: state is not a digit
- * - invalid_state: state in request does not match the stored state
- *
- * The 'authorize' and 'register' actions have additional error codes
- *
- * state_missing: a state ( user id ) was not supplied
- * state_malformed: state is not the correct data type
- * invalid_state: supplied state does not match the stored state
- *
- * @param array $params action An array of 3 parameters:
- * [0]: string action. Possible values are `authorize`, `publicize` and `register`.
- * [1]: string secret_1.
- * [2]: int state.
- * @return \IXR_Error|string IXR_Error on failure, secret_2 on success.
- */
- public function verify_action( $params ) {
- $action = isset( $params[0] ) ? $params[0] : '';
- $verify_secret = isset( $params[1] ) ? $params[1] : '';
- $state = isset( $params[2] ) ? $params[2] : '';
-
- $result = $this->connection->verify_secrets( $action, $verify_secret, $state );
-
- if ( is_wp_error( $result ) ) {
- return $this->error( $result );
- }
-
- return $result;
- }
-
- /**
- * Wrapper for wp_authenticate( $username, $password );
- *
- * @return \WP_User|bool
- */
- public function login() {
- $this->connection->require_jetpack_authentication();
- $user = wp_authenticate( 'username', 'password' );
- if ( is_wp_error( $user ) ) {
- if ( 'authentication_failed' === $user->get_error_code() ) { // Generic error could mean most anything.
- $this->error = new Jetpack_Error( 'invalid_request', 'Invalid Request', 403 );
- } else {
- $this->error = $user;
- }
- return false;
- } elseif ( ! $user ) { // Shouldn't happen.
- $this->error = new Jetpack_Error( 'invalid_request', 'Invalid Request', 403 );
- return false;
- }
-
- return $user;
- }
-
- /**
- * Returns the current error as an \IXR_Error
- *
- * @param \WP_Error|\IXR_Error $error The error object, optional.
- * @param string $event_name The event name.
- * @param \WP_User $user The user object.
- * @return bool|\IXR_Error
- */
- public function error( $error = null, $event_name = null, $user = null ) {
- if ( null !== $event_name ) {
- // This action is documented in class.jetpack-xmlrpc-server.php.
- do_action( 'jetpack_xmlrpc_server_event', $event_name, 'fail', $error, $user );
- }
-
- if ( ! is_null( $error ) ) {
- $this->error = $error;
- }
-
- if ( is_wp_error( $this->error ) ) {
- $code = $this->error->get_error_data();
- if ( ! $code ) {
- $code = -10520;
- }
- $message = sprintf( 'Jetpack: [%s] %s', $this->error->get_error_code(), $this->error->get_error_message() );
- return new \IXR_Error( $code, $message );
- } elseif ( is_a( $this->error, 'IXR_Error' ) ) {
- return $this->error;
- }
-
- return false;
- }
-
- /* API Methods */
-
- /**
- * Just authenticates with the given Jetpack credentials.
- *
- * @return string The current Jetpack version number
- */
- public function test_connection() {
- return JETPACK__VERSION;
- }
-
- /**
- * Test the API user code.
- *
- * @param array $args arguments identifying the test site.
- */
- public function test_api_user_code( $args ) {
- $client_id = (int) $args[0];
- $user_id = (int) $args[1];
- $nonce = (string) $args[2];
- $verify = (string) $args[3];
-
- if ( ! $client_id || ! $user_id || ! strlen( $nonce ) || 32 !== strlen( $verify ) ) {
- return false;
- }
-
- $user = get_user_by( 'id', $user_id );
- if ( ! $user || is_wp_error( $user ) ) {
- return false;
- }
-
- /* phpcs:ignore
- debugging
- error_log( "CLIENT: $client_id" );
- error_log( "USER: $user_id" );
- error_log( "NONCE: $nonce" );
- error_log( "VERIFY: $verify" );
- */
-
- $jetpack_token = $this->connection->get_access_token( $user_id );
-
- $api_user_code = get_user_meta( $user_id, "jetpack_json_api_$client_id", true );
- if ( ! $api_user_code ) {
- return false;
- }
-
- $hmac = hash_hmac(
- 'md5',
- json_encode( // phpcs:ignore WordPress.WP.AlternativeFunctions.json_encode_json_encode
- (object) array(
- 'client_id' => (int) $client_id,
- 'user_id' => (int) $user_id,
- 'nonce' => (string) $nonce,
- 'code' => (string) $api_user_code,
- )
- ),
- $jetpack_token->secret
- );
-
- if ( ! hash_equals( $hmac, $verify ) ) {
- return false;
- }
-
- return $user_id;
- }
-
- /**
- * Disconnect this blog from the connected wordpress.com account
- *
- * @return boolean
- */
- public function disconnect_blog() {
-
- // For tracking.
- if ( ! empty( $this->user->ID ) ) {
- wp_set_current_user( $this->user->ID );
- }
-
- /**
- * Fired when we want to log an event to the Jetpack event log.
- *
- * @since 7.7.0
- *
- * @param string $code Unique name for the event.
- * @param string $data Optional data about the event.
- */
- do_action( 'jetpack_event_log', 'disconnect' );
- Jetpack::disconnect();
-
- return true;
- }
-
- /**
- * Unlink a user from WordPress.com
- *
- * This will fail if called by the Master User.
- */
- public function unlink_user() {
- /**
- * Fired when we want to log an event to the Jetpack event log.
- *
- * @since 7.7.0
- *
- * @param string $code Unique name for the event.
- * @param string $data Optional data about the event.
- */
- do_action( 'jetpack_event_log', 'unlink' );
- return Connection_Manager::disconnect_user();
- }
-
- /**
- * Returns any object that is able to be synced.
- *
- * @deprecated since 7.8.0
- * @see Automattic\Jetpack\Sync\Sender::sync_object()
- *
- * @param array $args the synchronized object parameters.
- * @return string Encoded sync object.
- */
- public function sync_object( $args ) {
- _deprecated_function( __METHOD__, 'jetpack-7.8', 'Automattic\\Jetpack\\Sync\\Sender::sync_object' );
- return Sender::get_instance()->sync_object( $args );
- }
-
- /**
- * Returns the home URL and site URL for the current site which can be used on the WPCOM side for
- * IDC mitigation to decide whether sync should be allowed if the home and siteurl values differ between WPCOM
- * and the remote Jetpack site.
- *
- * @return array
- */
- public function validate_urls_for_idc_mitigation() {
- return array(
- 'home' => Functions::home_url(),
- 'siteurl' => Functions::site_url(),
- );
- }
-
- /**
- * Returns what features are available. Uses the slug of the module files.
- *
- * @return array
- */
- public function features_available() {
- $raw_modules = Jetpack::get_available_modules();
- $modules = array();
- foreach ( $raw_modules as $module ) {
- $modules[] = Jetpack::get_module_slug( $module );
- }
-
- return $modules;
- }
-
- /**
- * Returns what features are enabled. Uses the slug of the modules files.
- *
- * @return array
- */
- public function features_enabled() {
- $raw_modules = Jetpack::get_active_modules();
- $modules = array();
- foreach ( $raw_modules as $module ) {
- $modules[] = Jetpack::get_module_slug( $module );
- }
-
- return $modules;
- }
-
- /**
- * Updates the attachment parent object.
- *
- * @param array $args attachment and parent identifiers.
- */
- public function update_attachment_parent( $args ) {
- $attachment_id = (int) $args[0];
- $parent_id = (int) $args[1];
-
- return wp_update_post(
- array(
- 'ID' => $attachment_id,
- 'post_parent' => $parent_id,
- )
- );
- }
-
- /**
- * Serve a JSON API request.
- *
- * @param array $args request arguments.
- */
- public function json_api( $args = array() ) {
- $json_api_args = $args[0];
- $verify_api_user_args = $args[1];
-
- $method = (string) $json_api_args[0];
- $url = (string) $json_api_args[1];
- $post_body = is_null( $json_api_args[2] ) ? null : (string) $json_api_args[2];
- $user_details = (array) $json_api_args[4];
- $locale = (string) $json_api_args[5];
-
- if ( ! $verify_api_user_args ) {
- $user_id = 0;
- } elseif ( 'internal' === $verify_api_user_args[0] ) {
- $user_id = (int) $verify_api_user_args[1];
- if ( $user_id ) {
- $user = get_user_by( 'id', $user_id );
- if ( ! $user || is_wp_error( $user ) ) {
- return false;
- }
- }
- } else {
- $user_id = call_user_func( array( $this, 'test_api_user_code' ), $verify_api_user_args );
- if ( ! $user_id ) {
- return false;
- }
- }
-
- /* phpcs:ignore
- debugging
- error_log( "-- begin json api via jetpack debugging -- " );
- error_log( "METHOD: $method" );
- error_log( "URL: $url" );
- error_log( "POST BODY: $post_body" );
- error_log( "VERIFY_ARGS: " . print_r( $verify_api_user_args, 1 ) );
- error_log( "VERIFIED USER_ID: " . (int) $user_id );
- error_log( "-- end json api via jetpack debugging -- " );
- */
-
- if ( 'en' !== $locale ) {
- // .org mo files are named slightly different from .com, and all we have is this the locale -- try to guess them.
- $new_locale = $locale;
- if ( strpos( $locale, '-' ) !== false ) {
- $locale_pieces = explode( '-', $locale );
- $new_locale = $locale_pieces[0];
- $new_locale .= ( ! empty( $locale_pieces[1] ) ) ? '_' . strtoupper( $locale_pieces[1] ) : '';
- } else {
- // .com might pass 'fr' because thats what our language files are named as, where core seems
- // to do fr_FR - so try that if we don't think we can load the file.
- if ( ! file_exists( WP_LANG_DIR . '/' . $locale . '.mo' ) ) {
- $new_locale = $locale . '_' . strtoupper( $locale );
- }
- }
-
- if ( file_exists( WP_LANG_DIR . '/' . $new_locale . '.mo' ) ) {
- unload_textdomain( 'default' );
- load_textdomain( 'default', WP_LANG_DIR . '/' . $new_locale . '.mo' );
- }
- }
-
- $old_user = wp_get_current_user();
- wp_set_current_user( $user_id );
-
- if ( $user_id ) {
- $token_key = false;
- } else {
- $verified = $this->connection->verify_xml_rpc_signature();
- $token_key = $verified['token_key'];
- }
-
- $token = $this->connection->get_access_token( $user_id, $token_key );
- if ( ! $token || is_wp_error( $token ) ) {
- return false;
- }
-
- define( 'REST_API_REQUEST', true );
- define( 'WPCOM_JSON_API__BASE', 'public-api.wordpress.com/rest/v1' );
-
- // needed?
- require_once ABSPATH . 'wp-admin/includes/admin.php';
-
- require_once JETPACK__PLUGIN_DIR . 'class.json-api.php';
- $api = WPCOM_JSON_API::init( $method, $url, $post_body );
- $api->token_details['user'] = $user_details;
- require_once JETPACK__PLUGIN_DIR . 'class.json-api-endpoints.php';
-
- $display_errors = ini_set( 'display_errors', 0 ); // phpcs:ignore WordPress.PHP.IniSet
- ob_start();
- $api->serve( false );
- $output = ob_get_clean();
- ini_set( 'display_errors', $display_errors ); // phpcs:ignore WordPress.PHP.IniSet
-
- $nonce = wp_generate_password( 10, false );
- $hmac = hash_hmac( 'md5', $nonce . $output, $token->secret );
-
- wp_set_current_user( isset( $old_user->ID ) ? $old_user->ID : 0 );
-
- return array(
- (string) $output,
- (string) $nonce,
- (string) $hmac,
- );
- }
-
- /**
- * Handles authorization actions after connecting a site, such as enabling modules.
- *
- * This do_post_authorization() is used in this class, as opposed to calling
- * Jetpack::handle_post_authorization_actions() directly so that we can mock this method as necessary.
- *
- * @return void
- */
- public function do_post_authorization() {
- /** This filter is documented in class.jetpack-cli.php */
- $enable_sso = apply_filters( 'jetpack_start_enable_sso', true );
- Jetpack::handle_post_authorization_actions( $enable_sso, false, false );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php b/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php
deleted file mode 100644
index de77dfc4..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-/**
- * WordPress IXR classes aren't always loaded by default.
- *
- * Here we ensure that they are loaded before we declare our implementations.
- *
- * @package automattic/jetpack-connection
- * @since 7.7
- */
-
-if ( defined( 'ABSPATH' ) && defined( 'WPINC' ) ) {
- require_once ABSPATH . WPINC . '/class-IXR.php';
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php
index e8f16b6e..5c061b2a 100644
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php
+++ b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php
@@ -1,455 +1,2 @@
-<?php
-/**
- * The Connection Client class file.
- *
- * @package automattic/jetpack-connection
- */
-
-namespace Automattic\Jetpack\Connection;
-
-use Automattic\Jetpack\Constants;
-
-/**
- * The Client class that is used to connect to WordPress.com Jetpack API.
- */
-class Client {
- const WPCOM_JSON_API_VERSION = '1.1';
-
- /**
- * Makes an authorized remote request using Jetpack_Signature
- *
- * @param Array $args the arguments for the remote request.
- * @param Array|String $body the request body.
- * @return array|WP_Error WP HTTP response on success
- */
- public static function remote_request( $args, $body = null ) {
- $defaults = array(
- 'url' => '',
- 'user_id' => 0,
- 'blog_id' => 0,
- 'auth_location' => Constants::get_constant( 'JETPACK_CLIENT__AUTH_LOCATION' ),
- 'method' => 'POST',
- 'timeout' => 10,
- 'redirection' => 0,
- 'headers' => array(),
- 'stream' => false,
- 'filename' => null,
- 'sslverify' => true,
- );
-
- $args = wp_parse_args( $args, $defaults );
-
- $args['blog_id'] = (int) $args['blog_id'];
-
- if ( 'header' !== $args['auth_location'] ) {
- $args['auth_location'] = 'query_string';
- }
-
- $connection = new Manager();
- $token = $connection->get_access_token( $args['user_id'] );
- if ( ! $token ) {
- return new \WP_Error( 'missing_token' );
- }
-
- $method = strtoupper( $args['method'] );
-
- $timeout = intval( $args['timeout'] );
-
- $redirection = $args['redirection'];
- $stream = $args['stream'];
- $filename = $args['filename'];
- $sslverify = $args['sslverify'];
-
- $request = compact( 'method', 'body', 'timeout', 'redirection', 'stream', 'filename', 'sslverify' );
-
- @list( $token_key, $secret ) = explode( '.', $token->secret ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
- if ( empty( $token ) || empty( $secret ) ) {
- return new \WP_Error( 'malformed_token' );
- }
-
- $token_key = sprintf(
- '%s:%d:%d',
- $token_key,
- Utils::get_jetpack_api_version(),
- $token->external_user_id
- );
-
- $time_diff = (int) \Jetpack_Options::get_option( 'time_diff' );
- $jetpack_signature = new \Jetpack_Signature( $token->secret, $time_diff );
-
- $timestamp = time() + $time_diff;
-
- if ( function_exists( 'wp_generate_password' ) ) {
- $nonce = wp_generate_password( 10, false );
- } else {
- $nonce = substr( sha1( wp_rand( 0, 1000000 ) ), 0, 10 );
- }
-
- // Kind of annoying. Maybe refactor Jetpack_Signature to handle body-hashing.
- if ( is_null( $body ) ) {
- $body_hash = '';
-
- } else {
- // Allow arrays to be used in passing data.
- $body_to_hash = $body;
-
- if ( is_array( $body ) ) {
- // We cast this to a new variable, because the array form of $body needs to be
- // maintained so it can be passed into the request later on in the code.
- if ( count( $body ) > 0 ) {
- $body_to_hash = wp_json_encode( self::_stringify_data( $body ) );
- } else {
- $body_to_hash = '';
- }
- }
-
- if ( ! is_string( $body_to_hash ) ) {
- return new \WP_Error( 'invalid_body', 'Body is malformed.' );
- }
-
- $body_hash = base64_encode( sha1( $body_to_hash, true ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
- }
-
- $auth = array(
- 'token' => $token_key,
- 'timestamp' => $timestamp,
- 'nonce' => $nonce,
- 'body-hash' => $body_hash,
- );
-
- if ( false !== strpos( $args['url'], 'xmlrpc.php' ) ) {
- $url_args = array(
- 'for' => 'jetpack',
- 'wpcom_blog_id' => \Jetpack_Options::get_option( 'id' ),
- );
- } else {
- $url_args = array();
- }
-
- if ( 'header' !== $args['auth_location'] ) {
- $url_args += $auth;
- }
-
- $url = add_query_arg( urlencode_deep( $url_args ), $args['url'] );
- $url = Utils::fix_url_for_bad_hosts( $url );
-
- $signature = $jetpack_signature->sign_request( $token_key, $timestamp, $nonce, $body_hash, $method, $url, $body, false );
-
- if ( ! $signature || is_wp_error( $signature ) ) {
- return $signature;
- }
-
- // Send an Authorization header so various caches/proxies do the right thing.
- $auth['signature'] = $signature;
- $auth['version'] = Constants::get_constant( 'JETPACK__VERSION' );
- $header_pieces = array();
- foreach ( $auth as $key => $value ) {
- $header_pieces[] = sprintf( '%s="%s"', $key, $value );
- }
- $request['headers'] = array_merge(
- $args['headers'],
- array(
- 'Authorization' => 'X_JETPACK ' . join( ' ', $header_pieces ),
- )
- );
-
- if ( 'header' !== $args['auth_location'] ) {
- $url = add_query_arg( 'signature', rawurlencode( $signature ), $url );
- }
-
- return self::_wp_remote_request( $url, $request );
- }
-
- /**
- * Wrapper for wp_remote_request(). Turns off SSL verification for certain SSL errors.
- * This is lame, but many, many, many hosts have misconfigured SSL.
- *
- * When Jetpack is registered, the jetpack_fallback_no_verify_ssl_certs option is set to the current time if:
- * 1. a certificate error is found AND
- * 2. not verifying the certificate works around the problem.
- *
- * The option is checked on each request.
- *
- * @internal
- * @see Utils::fix_url_for_bad_hosts()
- *
- * @param String $url the request URL.
- * @param Array $args request arguments.
- * @param Boolean $set_fallback whether to allow flagging this request to use a fallback certficate override.
- * @return array|WP_Error WP HTTP response on success
- */
- public static function _wp_remote_request( $url, $args, $set_fallback = false ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
- /**
- * SSL verification (`sslverify`) for the JetpackClient remote request
- * defaults to off, use this filter to force it on.
- *
- * Return `true` to ENABLE SSL verification, return `false`
- * to DISABLE SSL verification.
- *
- * @since 3.6.0
- *
- * @param bool Whether to force `sslverify` or not.
- */
- if ( apply_filters( 'jetpack_client_verify_ssl_certs', false ) ) {
- return wp_remote_request( $url, $args );
- }
-
- $fallback = \Jetpack_Options::get_option( 'fallback_no_verify_ssl_certs' );
- if ( false === $fallback ) {
- \Jetpack_Options::update_option( 'fallback_no_verify_ssl_certs', 0 );
- }
-
- if ( (int) $fallback ) {
- // We're flagged to fallback.
- $args['sslverify'] = false;
- }
-
- $response = wp_remote_request( $url, $args );
-
- if (
- ! $set_fallback // We're not allowed to set the flag on this request, so whatever happens happens.
- ||
- isset( $args['sslverify'] ) && ! $args['sslverify'] // No verification - no point in doing it again.
- ||
- ! is_wp_error( $response ) // Let it ride.
- ) {
- self::set_time_diff( $response, $set_fallback );
- return $response;
- }
-
- // At this point, we're not flagged to fallback and we are allowed to set the flag on this request.
-
- $message = $response->get_error_message();
-
- // Is it an SSL Certificate verification error?
- if (
- false === strpos( $message, '14090086' ) // OpenSSL SSL3 certificate error.
- &&
- false === strpos( $message, '1407E086' ) // OpenSSL SSL2 certificate error.
- &&
- false === strpos( $message, 'error setting certificate verify locations' ) // cURL CA bundle not found.
- &&
- false === strpos( $message, 'Peer certificate cannot be authenticated with' ) // cURL CURLE_SSL_CACERT: CA bundle found, but not helpful
- // Different versions of curl have different error messages
- // this string should catch them all.
- &&
- false === strpos( $message, 'Problem with the SSL CA cert' ) // cURL CURLE_SSL_CACERT_BADFILE: probably access rights.
- ) {
- // No, it is not.
- return $response;
- }
-
- // Redo the request without SSL certificate verification.
- $args['sslverify'] = false;
- $response = wp_remote_request( $url, $args );
-
- if ( ! is_wp_error( $response ) ) {
- // The request went through this time, flag for future fallbacks.
- \Jetpack_Options::update_option( 'fallback_no_verify_ssl_certs', time() );
- self::set_time_diff( $response, $set_fallback );
- }
-
- return $response;
- }
-
- /**
- * Sets the time difference for correct signature computation.
- *
- * @param HTTP_Response $response the response object.
- * @param Boolean $force_set whether to force setting the time difference.
- */
- public static function set_time_diff( &$response, $force_set = false ) {
- $code = wp_remote_retrieve_response_code( $response );
-
- // Only trust the Date header on some responses.
- if ( 200 != $code && 304 != $code && 400 != $code && 401 != $code ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
- return;
- }
-
- $date = wp_remote_retrieve_header( $response, 'date' );
- if ( ! $date ) {
- return;
- }
-
- $time = (int) strtotime( $date );
- if ( 0 >= $time ) {
- return;
- }
-
- $time_diff = $time - time();
-
- if ( $force_set ) { // During register.
- \Jetpack_Options::update_option( 'time_diff', $time_diff );
- } else { // Otherwise.
- $old_diff = \Jetpack_Options::get_option( 'time_diff' );
- if ( false === $old_diff || abs( $time_diff - (int) $old_diff ) > 10 ) {
- \Jetpack_Options::update_option( 'time_diff', $time_diff );
- }
- }
- }
-
- /**
- * Queries the WordPress.com REST API with a user token.
- *
- * @param string $path REST API path.
- * @param string $version REST API version. Default is `2`.
- * @param array $args Arguments to {@see WP_Http}. Default is `array()`.
- * @param string $body Body passed to {@see WP_Http}. Default is `null`.
- * @param string $base_api_path REST API root. Default is `wpcom`.
- *
- * @return array|WP_Error $response Response data, else {@see WP_Error} on failure.
- */
- public static function wpcom_json_api_request_as_user(
- $path,
- $version = '2',
- $args = array(),
- $body = null,
- $base_api_path = 'wpcom'
- ) {
- $base_api_path = trim( $base_api_path, '/' );
- $version = ltrim( $version, 'v' );
- $path = ltrim( $path, '/' );
-
- $args = array_intersect_key(
- $args,
- array(
- 'headers' => 'array',
- 'method' => 'string',
- 'timeout' => 'int',
- 'redirection' => 'int',
- 'stream' => 'boolean',
- 'filename' => 'string',
- 'sslverify' => 'boolean',
- )
- );
-
- $args['user_id'] = get_current_user_id();
- $args['method'] = isset( $args['method'] ) ? strtoupper( $args['method'] ) : 'GET';
- $args['url'] = sprintf(
- '%s://%s/%s/v%s/%s',
- self::protocol(),
- Constants::get_constant( 'JETPACK__WPCOM_JSON_API_HOST' ),
- $base_api_path,
- $version,
- $path
- );
-
- if ( isset( $body ) && ! isset( $args['headers'] ) && in_array( $args['method'], array( 'POST', 'PUT', 'PATCH' ), true ) ) {
- $args['headers'] = array( 'Content-Type' => 'application/json' );
- }
-
- if ( isset( $body ) && ! is_string( $body ) ) {
- $body = wp_json_encode( $body );
- }
-
- return self::remote_request( $args, $body );
- }
-
- /**
- * Query the WordPress.com REST API using the blog token
- *
- * @param String $path The API endpoint relative path.
- * @param String $version The API version.
- * @param Array $args Request arguments.
- * @param String $body Request body.
- * @param String $base_api_path (optional) the API base path override, defaults to 'rest'.
- * @return Array|WP_Error $response Data.
- */
- public static function wpcom_json_api_request_as_blog(
- $path,
- $version = self::WPCOM_JSON_API_VERSION,
- $args = array(),
- $body = null,
- $base_api_path = 'rest'
- ) {
- $filtered_args = array_intersect_key(
- $args,
- array(
- 'headers' => 'array',
- 'method' => 'string',
- 'timeout' => 'int',
- 'redirection' => 'int',
- 'stream' => 'boolean',
- 'filename' => 'string',
- 'sslverify' => 'boolean',
- )
- );
-
- // unprecedingslashit.
- $_path = preg_replace( '/^\//', '', $path );
-
- // Use GET by default whereas `remote_request` uses POST.
- $request_method = ( isset( $filtered_args['method'] ) ) ? $filtered_args['method'] : 'GET';
-
- $url = sprintf(
- '%s://%s/%s/v%s/%s',
- self::protocol(),
- Constants::get_constant( 'JETPACK__WPCOM_JSON_API_HOST' ),
- $base_api_path,
- $version,
- $_path
- );
-
- $validated_args = array_merge(
- $filtered_args,
- array(
- 'url' => $url,
- 'blog_id' => (int) \Jetpack_Options::get_option( 'id' ),
- 'method' => $request_method,
- )
- );
-
- return self::remote_request( $validated_args, $body );
- }
-
- /**
- * Takes an array or similar structure and recursively turns all values into strings. This is used to
- * make sure that body hashes are made ith the string version, which is what will be seen after a
- * server pulls up the data in the $_POST array.
- *
- * @param Array|Mixed $data the data that needs to be stringified.
- *
- * @return array|string
- */
- public static function _stringify_data( $data ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
-
- // Booleans are special, lets just makes them and explicit 1/0 instead of the 0 being an empty string.
- if ( is_bool( $data ) ) {
- return $data ? '1' : '0';
- }
-
- // Cast objects into arrays.
- if ( is_object( $data ) ) {
- $data = (array) $data;
- }
-
- // Non arrays at this point should be just converted to strings.
- if ( ! is_array( $data ) ) {
- return (string) $data;
- }
-
- foreach ( $data as $key => &$value ) {
- $value = self::_stringify_data( $value );
- }
-
- return $data;
- }
-
- /**
- * Gets protocol string.
- *
- * @return string `https` (if possible), else `http`.
- */
- public static function protocol() {
- /**
- * Determines whether Jetpack can send outbound https requests to the WPCOM api.
- *
- * @since 3.6.0
- *
- * @param bool $proto Defaults to true.
- */
- $https = apply_filters( 'jetpack_can_make_outbound_https', true );
-
- return $https ? 'https' : 'http';
- }
-}
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-connection/src/class-client.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-manager.php b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-manager.php
deleted file mode 100644
index d97cf077..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-manager.php
+++ /dev/null
@@ -1,2170 +0,0 @@
-<?php
-/**
- * The Jetpack Connection manager class file.
- *
- * @package automattic/jetpack-connection
- */
-
-namespace Automattic\Jetpack\Connection;
-
-use Automattic\Jetpack\Constants;
-use Automattic\Jetpack\Roles;
-use Automattic\Jetpack\Tracking;
-
-/**
- * The Jetpack Connection Manager class that is used as a single gateway between WordPress.com
- * and Jetpack.
- */
-class Manager {
-
- const SECRETS_MISSING = 'secrets_missing';
- const SECRETS_EXPIRED = 'secrets_expired';
- const SECRETS_OPTION_NAME = 'jetpack_secrets';
- const MAGIC_NORMAL_TOKEN_KEY = ';normal;';
- const JETPACK_MASTER_USER = true;
-
- /**
- * The procedure that should be run to generate secrets.
- *
- * @var Callable
- */
- protected $secret_callable;
-
- /**
- * A copy of the raw POST data for signature verification purposes.
- *
- * @var String
- */
- protected $raw_post_data;
-
- /**
- * Verification data needs to be stored to properly verify everything.
- *
- * @var Object
- */
- private $xmlrpc_verification = null;
-
- /**
- * Initializes required listeners. This is done separately from the constructors
- * because some objects sometimes need to instantiate separate objects of this class.
- *
- * @todo Implement a proper nonce verification.
- */
- public static function configure() {
- $manager = new self();
-
- $manager->setup_xmlrpc_handlers(
- $_GET, // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $manager->is_active(),
- $manager->verify_xml_rpc_signature()
- );
-
- if ( $manager->is_active() ) {
- add_filter( 'xmlrpc_methods', array( $manager, 'public_xmlrpc_methods' ) );
- } else {
- add_action( 'rest_api_init', array( $manager, 'initialize_rest_api_registration_connector' ) );
- }
-
- add_action( 'jetpack_clean_nonces', array( $manager, 'clean_nonces' ) );
- if ( ! wp_next_scheduled( 'jetpack_clean_nonces' ) ) {
- wp_schedule_event( time(), 'hourly', 'jetpack_clean_nonces' );
- }
- }
-
- /**
- * Sets up the XMLRPC request handlers.
- *
- * @param Array $request_params incoming request parameters.
- * @param Boolean $is_active whether the connection is currently active.
- * @param Boolean $is_signed whether the signature check has been successful.
- * @param \Jetpack_XMLRPC_Server $xmlrpc_server (optional) an instance of the server to use instead of instantiating a new one.
- */
- public function setup_xmlrpc_handlers(
- $request_params,
- $is_active,
- $is_signed,
- \Jetpack_XMLRPC_Server $xmlrpc_server = null
- ) {
- add_filter( 'xmlrpc_blog_options', array( $this, 'xmlrpc_options' ), 1000, 2 );
-
- if (
- ! isset( $request_params['for'] )
- || 'jetpack' !== $request_params['for']
- ) {
- return false;
- }
-
- // Alternate XML-RPC, via ?for=jetpack&jetpack=comms.
- if (
- isset( $request_params['jetpack'] )
- && 'comms' === $request_params['jetpack']
- ) {
- if ( ! Constants::is_defined( 'XMLRPC_REQUEST' ) ) {
- // Use the real constant here for WordPress' sake.
- define( 'XMLRPC_REQUEST', true );
- }
-
- add_action( 'template_redirect', array( $this, 'alternate_xmlrpc' ) );
-
- add_filter( 'xmlrpc_methods', array( $this, 'remove_non_jetpack_xmlrpc_methods' ), 1000 );
- }
-
- if ( ! Constants::get_constant( 'XMLRPC_REQUEST' ) ) {
- return false;
- }
- // Display errors can cause the XML to be not well formed.
- @ini_set( 'display_errors', false ); // phpcs:ignore
-
- if ( $xmlrpc_server ) {
- $this->xmlrpc_server = $xmlrpc_server;
- } else {
- $this->xmlrpc_server = new \Jetpack_XMLRPC_Server();
- }
-
- $this->require_jetpack_authentication();
-
- if ( $is_active ) {
- // Hack to preserve $HTTP_RAW_POST_DATA.
- add_filter( 'xmlrpc_methods', array( $this, 'xmlrpc_methods' ) );
-
- if ( $is_signed ) {
- // The actual API methods.
- add_filter( 'xmlrpc_methods', array( $this->xmlrpc_server, 'xmlrpc_methods' ) );
- } else {
- // The jetpack.authorize method should be available for unauthenticated users on a site with an
- // active Jetpack connection, so that additional users can link their account.
- add_filter( 'xmlrpc_methods', array( $this->xmlrpc_server, 'authorize_xmlrpc_methods' ) );
- }
- } else {
- // The bootstrap API methods.
- add_filter( 'xmlrpc_methods', array( $this->xmlrpc_server, 'bootstrap_xmlrpc_methods' ) );
-
- if ( $is_signed ) {
- // The jetpack Provision method is available for blog-token-signed requests.
- add_filter( 'xmlrpc_methods', array( $this->xmlrpc_server, 'provision_xmlrpc_methods' ) );
- } else {
- new XMLRPC_Connector( $this );
- }
- }
-
- // Now that no one can authenticate, and we're whitelisting all XML-RPC methods, force enable_xmlrpc on.
- add_filter( 'pre_option_enable_xmlrpc', '__return_true' );
- return true;
- }
-
- /**
- * Initializes the REST API connector on the init hook.
- */
- public function initialize_rest_api_registration_connector() {
- new REST_Connector( $this );
- }
-
- /**
- * Since a lot of hosts use a hammer approach to "protecting" WordPress sites,
- * and just blanket block all requests to /xmlrpc.php, or apply other overly-sensitive
- * security/firewall policies, we provide our own alternate XML RPC API endpoint
- * which is accessible via a different URI. Most of the below is copied directly
- * from /xmlrpc.php so that we're replicating it as closely as possible.
- *
- * @todo Tighten $wp_xmlrpc_server_class a bit to make sure it doesn't do bad things.
- */
- public function alternate_xmlrpc() {
- // phpcs:disable PHPCompatibility.Variables.RemovedPredefinedGlobalVariables.http_raw_post_dataDeprecatedRemoved
- // phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
- global $HTTP_RAW_POST_DATA;
-
- // Some browser-embedded clients send cookies. We don't want them.
- $_COOKIE = array();
-
- // A fix for mozBlog and other cases where '<?xml' isn't on the very first line.
- if ( isset( $HTTP_RAW_POST_DATA ) ) {
- $HTTP_RAW_POST_DATA = trim( $HTTP_RAW_POST_DATA );
- }
-
- // phpcs:enable
-
- include_once ABSPATH . 'wp-admin/includes/admin.php';
- include_once ABSPATH . WPINC . '/class-IXR.php';
- include_once ABSPATH . WPINC . '/class-wp-xmlrpc-server.php';
-
- /**
- * Filters the class used for handling XML-RPC requests.
- *
- * @since 3.1.0
- *
- * @param string $class The name of the XML-RPC server class.
- */
- $wp_xmlrpc_server_class = apply_filters( 'wp_xmlrpc_server_class', 'wp_xmlrpc_server' );
- $wp_xmlrpc_server = new $wp_xmlrpc_server_class();
-
- // Fire off the request.
- nocache_headers();
- $wp_xmlrpc_server->serve_request();
-
- exit;
- }
-
- /**
- * Removes all XML-RPC methods that are not `jetpack.*`.
- * Only used in our alternate XML-RPC endpoint, where we want to
- * ensure that Core and other plugins' methods are not exposed.
- *
- * @param array $methods a list of registered WordPress XMLRPC methods.
- * @return array filtered $methods
- */
- public function remove_non_jetpack_xmlrpc_methods( $methods ) {
- $jetpack_methods = array();
-
- foreach ( $methods as $method => $callback ) {
- if ( 0 === strpos( $method, 'jetpack.' ) ) {
- $jetpack_methods[ $method ] = $callback;
- }
- }
-
- return $jetpack_methods;
- }
-
- /**
- * Removes all other authentication methods not to allow other
- * methods to validate unauthenticated requests.
- */
- public function require_jetpack_authentication() {
- // Don't let anyone authenticate.
- $_COOKIE = array();
- remove_all_filters( 'authenticate' );
- remove_all_actions( 'wp_login_failed' );
-
- if ( $this->is_active() ) {
- // Allow Jetpack authentication.
- add_filter( 'authenticate', array( $this, 'authenticate_jetpack' ), 10, 3 );
- }
- }
-
- /**
- * Authenticates XML-RPC and other requests from the Jetpack Server
- *
- * @param WP_User|Mixed $user user object if authenticated.
- * @param String $username username.
- * @param String $password password string.
- * @return WP_User|Mixed authenticated user or error.
- */
- public function authenticate_jetpack( $user, $username, $password ) {
- if ( is_a( $user, '\\WP_User' ) ) {
- return $user;
- }
-
- $token_details = $this->verify_xml_rpc_signature();
-
- if ( ! $token_details ) {
- return $user;
- }
-
- if ( 'user' !== $token_details['type'] ) {
- return $user;
- }
-
- if ( ! $token_details['user_id'] ) {
- return $user;
- }
-
- nocache_headers();
-
- return new \WP_User( $token_details['user_id'] );
- }
-
- /**
- * Verifies the signature of the current request.
- *
- * @return false|array
- */
- public function verify_xml_rpc_signature() {
- if ( is_null( $this->xmlrpc_verification ) ) {
- $this->xmlrpc_verification = $this->internal_verify_xml_rpc_signature();
-
- if ( is_wp_error( $this->xmlrpc_verification ) ) {
- /**
- * Action for logging XMLRPC signature verification errors. This data is sensitive.
- *
- * Error codes:
- * - malformed_token
- * - malformed_user_id
- * - unknown_token
- * - could_not_sign
- * - invalid_nonce
- * - signature_mismatch
- *
- * @since 7.5.0
- *
- * @param WP_Error $signature_verification_error The verification error
- */
- do_action( 'jetpack_verify_signature_error', $this->xmlrpc_verification );
- }
- }
-
- return is_wp_error( $this->xmlrpc_verification ) ? false : $this->xmlrpc_verification;
- }
-
- /**
- * Verifies the signature of the current request.
- *
- * This function has side effects and should not be used. Instead,
- * use the memoized version `->verify_xml_rpc_signature()`.
- *
- * @internal
- * @todo Refactor to use proper nonce verification.
- */
- private function internal_verify_xml_rpc_signature() {
- // phpcs:disable WordPress.Security.NonceVerification.Recommended
- // It's not for us.
- if ( ! isset( $_GET['token'] ) || empty( $_GET['signature'] ) ) {
- return false;
- }
-
- $signature_details = array(
- 'token' => isset( $_GET['token'] ) ? wp_unslash( $_GET['token'] ) : '',
- 'timestamp' => isset( $_GET['timestamp'] ) ? wp_unslash( $_GET['timestamp'] ) : '',
- 'nonce' => isset( $_GET['nonce'] ) ? wp_unslash( $_GET['nonce'] ) : '',
- 'body_hash' => isset( $_GET['body-hash'] ) ? wp_unslash( $_GET['body-hash'] ) : '',
- 'method' => wp_unslash( $_SERVER['REQUEST_METHOD'] ),
- 'url' => wp_unslash( $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ), // Temp - will get real signature URL later.
- 'signature' => isset( $_GET['signature'] ) ? wp_unslash( $_GET['signature'] ) : '',
- );
-
- // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
- @list( $token_key, $version, $user_id ) = explode( ':', wp_unslash( $_GET['token'] ) );
- // phpcs:enable WordPress.Security.NonceVerification.Recommended
-
- if (
- empty( $token_key )
- ||
- empty( $version ) || strval( Utils::get_jetpack_api_version() ) !== $version
- ) {
- return new \WP_Error( 'malformed_token', 'Malformed token in request', compact( 'signature_details' ) );
- }
-
- if ( '0' === $user_id ) {
- $token_type = 'blog';
- $user_id = 0;
- } else {
- $token_type = 'user';
- if ( empty( $user_id ) || ! ctype_digit( $user_id ) ) {
- return new \WP_Error(
- 'malformed_user_id',
- 'Malformed user_id in request',
- compact( 'signature_details' )
- );
- }
- $user_id = (int) $user_id;
-
- $user = new \WP_User( $user_id );
- if ( ! $user || ! $user->exists() ) {
- return new \WP_Error(
- 'unknown_user',
- sprintf( 'User %d does not exist', $user_id ),
- compact( 'signature_details' )
- );
- }
- }
-
- $token = $this->get_access_token( $user_id, $token_key, false );
- if ( is_wp_error( $token ) ) {
- $token->add_data( compact( 'signature_details' ) );
- return $token;
- } elseif ( ! $token ) {
- return new \WP_Error(
- 'unknown_token',
- sprintf( 'Token %s:%s:%d does not exist', $token_key, $version, $user_id ),
- compact( 'signature_details' )
- );
- }
-
- $jetpack_signature = new \Jetpack_Signature( $token->secret, (int) \Jetpack_Options::get_option( 'time_diff' ) );
- // phpcs:disable WordPress.Security.NonceVerification.Missing
- if ( isset( $_POST['_jetpack_is_multipart'] ) ) {
- $post_data = $_POST;
- $file_hashes = array();
- foreach ( $post_data as $post_data_key => $post_data_value ) {
- if ( 0 !== strpos( $post_data_key, '_jetpack_file_hmac_' ) ) {
- continue;
- }
- $post_data_key = substr( $post_data_key, strlen( '_jetpack_file_hmac_' ) );
- $file_hashes[ $post_data_key ] = $post_data_value;
- }
-
- foreach ( $file_hashes as $post_data_key => $post_data_value ) {
- unset( $post_data[ "_jetpack_file_hmac_{$post_data_key}" ] );
- $post_data[ $post_data_key ] = $post_data_value;
- }
-
- ksort( $post_data );
-
- $body = http_build_query( stripslashes_deep( $post_data ) );
- } elseif ( is_null( $this->raw_post_data ) ) {
- $body = file_get_contents( 'php://input' );
- } else {
- $body = null;
- }
- // phpcs:enable
-
- $signature = $jetpack_signature->sign_current_request(
- array( 'body' => is_null( $body ) ? $this->raw_post_data : $body )
- );
-
- $signature_details['url'] = $jetpack_signature->current_request_url;
-
- if ( ! $signature ) {
- return new \WP_Error(
- 'could_not_sign',
- 'Unknown signature error',
- compact( 'signature_details' )
- );
- } elseif ( is_wp_error( $signature ) ) {
- return $signature;
- }
-
- // phpcs:disable WordPress.Security.NonceVerification.Recommended
- $timestamp = (int) $_GET['timestamp'];
- $nonce = stripslashes( (string) $_GET['nonce'] );
- // phpcs:enable WordPress.Security.NonceVerification.Recommended
-
- // Use up the nonce regardless of whether the signature matches.
- if ( ! $this->add_nonce( $timestamp, $nonce ) ) {
- return new \WP_Error(
- 'invalid_nonce',
- 'Could not add nonce',
- compact( 'signature_details' )
- );
- }
-
- // Be careful about what you do with this debugging data.
- // If a malicious requester has access to the expected signature,
- // bad things might be possible.
- $signature_details['expected'] = $signature;
-
- // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- if ( ! hash_equals( $signature, $_GET['signature'] ) ) {
- return new \WP_Error(
- 'signature_mismatch',
- 'Signature mismatch',
- compact( 'signature_details' )
- );
- }
-
- /**
- * Action for additional token checking.
- *
- * @since 7.7.0
- *
- * @param Array $post_data request data.
- * @param Array $token_data token data.
- */
- return apply_filters(
- 'jetpack_signature_check_token',
- array(
- 'type' => $token_type,
- 'token_key' => $token_key,
- 'user_id' => $token->external_user_id,
- ),
- $token,
- $this->raw_post_data
- );
- }
-
- /**
- * Returns true if the current site is connected to WordPress.com.
- *
- * @return Boolean is the site connected?
- */
- public function is_active() {
- return (bool) $this->get_access_token( self::JETPACK_MASTER_USER );
- }
-
- /**
- * Returns true if the site has both a token and a blog id, which indicates a site has been registered.
- *
- * @access public
- *
- * @return bool
- */
- public function is_registered() {
- $blog_id = \Jetpack_Options::get_option( 'id' );
- $has_token = $this->is_active();
- return $blog_id && $has_token;
- }
-
- /**
- * Checks to see if the connection owner of the site is missing.
- *
- * @return bool
- */
- public function is_missing_connection_owner() {
- $connection_owner = $this->get_connection_owner_id();
- if ( ! get_user_by( 'id', $connection_owner ) ) {
- return true;
- }
-
- return false;
- }
-
- /**
- * Returns true if the user with the specified identifier is connected to
- * WordPress.com.
- *
- * @param Integer|Boolean $user_id the user identifier.
- * @return Boolean is the user connected?
- */
- public function is_user_connected( $user_id = false ) {
- $user_id = false === $user_id ? get_current_user_id() : absint( $user_id );
- if ( ! $user_id ) {
- return false;
- }
-
- return (bool) $this->get_access_token( $user_id );
- }
-
- /**
- * Returns the local user ID of the connection owner.
- *
- * @return string|int Returns the ID of the connection owner or False if no connection owner found.
- */
- public function get_connection_owner_id() {
- $user_token = $this->get_access_token( self::JETPACK_MASTER_USER );
- $connection_owner = false;
- if ( $user_token && is_object( $user_token ) && isset( $user_token->external_user_id ) ) {
- $connection_owner = $user_token->external_user_id;
- }
-
- return $connection_owner;
- }
-
- /**
- * Returns an array of user_id's that have user tokens for communicating with wpcom.
- * Able to select by specific capability.
- *
- * @param string $capability The capability of the user.
- * @return array Array of WP_User objects if found.
- */
- public function get_connected_users( $capability = 'any' ) {
- $connected_users = array();
- $connected_user_ids = array_keys( \Jetpack_Options::get_option( 'user_tokens' ) );
-
- if ( ! empty( $connected_user_ids ) ) {
- foreach ( $connected_user_ids as $id ) {
- // Check for capability.
- if ( 'any' !== $capability && ! user_can( $id, $capability ) ) {
- continue;
- }
-
- $connected_users[] = get_userdata( $id );
- }
- }
-
- return $connected_users;
- }
-
- /**
- * Get the wpcom user data of the current|specified connected user.
- *
- * @todo Refactor to properly load the XMLRPC client independently.
- *
- * @param Integer $user_id the user identifier.
- * @return Object the user object.
- */
- public function get_connected_user_data( $user_id = null ) {
- if ( ! $user_id ) {
- $user_id = get_current_user_id();
- }
-
- $transient_key = "jetpack_connected_user_data_$user_id";
- $cached_user_data = get_transient( $transient_key );
-
- if ( $cached_user_data ) {
- return $cached_user_data;
- }
-
- $xml = new \Jetpack_IXR_Client(
- array(
- 'user_id' => $user_id,
- )
- );
- $xml->query( 'wpcom.getUser' );
- if ( ! $xml->isError() ) {
- $user_data = $xml->getResponse();
- set_transient( $transient_key, $xml->getResponse(), DAY_IN_SECONDS );
- return $user_data;
- }
-
- return false;
- }
-
- /**
- * Returns a user object of the connection owner.
- *
- * @return object|false False if no connection owner found.
- */
- public function get_connection_owner() {
- $user_token = $this->get_access_token( self::JETPACK_MASTER_USER );
-
- $connection_owner = false;
- if ( $user_token && is_object( $user_token ) && isset( $user_token->external_user_id ) ) {
- $connection_owner = get_userdata( $user_token->external_user_id );
- }
-
- return $connection_owner;
- }
-
- /**
- * Returns true if the provided user is the Jetpack connection owner.
- * If user ID is not specified, the current user will be used.
- *
- * @param Integer|Boolean $user_id the user identifier. False for current user.
- * @return Boolean True the user the connection owner, false otherwise.
- */
- public function is_connection_owner( $user_id = false ) {
- if ( ! $user_id ) {
- $user_id = get_current_user_id();
- }
-
- $user_token = $this->get_access_token( self::JETPACK_MASTER_USER );
-
- return $user_token && is_object( $user_token ) && isset( $user_token->external_user_id ) && $user_id === $user_token->external_user_id;
- }
-
- /**
- * Connects the user with a specified ID to a WordPress.com user using the
- * remote login flow.
- *
- * @access public
- *
- * @param Integer $user_id (optional) the user identifier, defaults to current user.
- * @param String $redirect_url the URL to redirect the user to for processing, defaults to
- * admin_url().
- * @return WP_Error only in case of a failed user lookup.
- */
- public function connect_user( $user_id = null, $redirect_url = null ) {
- $user = null;
- if ( null === $user_id ) {
- $user = wp_get_current_user();
- } else {
- $user = get_user_by( 'ID', $user_id );
- }
-
- if ( empty( $user ) ) {
- return new \WP_Error( 'user_not_found', 'Attempting to connect a non-existent user.' );
- }
-
- if ( null === $redirect_url ) {
- $redirect_url = admin_url();
- }
-
- // Using wp_redirect intentionally because we're redirecting outside.
- wp_redirect( $this->get_authorization_url( $user ) ); // phpcs:ignore WordPress.Security.SafeRedirect
- exit();
- }
-
- /**
- * Unlinks the current user from the linked WordPress.com user.
- *
- * @access public
- * @static
- *
- * @todo Refactor to properly load the XMLRPC client independently.
- *
- * @param Integer $user_id the user identifier.
- * @return Boolean Whether the disconnection of the user was successful.
- */
- public static function disconnect_user( $user_id = null ) {
- $tokens = \Jetpack_Options::get_option( 'user_tokens' );
- if ( ! $tokens ) {
- return false;
- }
-
- $user_id = empty( $user_id ) ? get_current_user_id() : intval( $user_id );
-
- if ( \Jetpack_Options::get_option( 'master_user' ) === $user_id ) {
- return false;
- }
-
- if ( ! isset( $tokens[ $user_id ] ) ) {
- return false;
- }
-
- $xml = new \Jetpack_IXR_Client( compact( 'user_id' ) );
- $xml->query( 'jetpack.unlink_user', $user_id );
-
- unset( $tokens[ $user_id ] );
-
- \Jetpack_Options::update_option( 'user_tokens', $tokens );
-
- /**
- * Fires after the current user has been unlinked from WordPress.com.
- *
- * @since 4.1.0
- *
- * @param int $user_id The current user's ID.
- */
- do_action( 'jetpack_unlinked_user', $user_id );
-
- return true;
- }
-
- /**
- * Returns the requested Jetpack API URL.
- *
- * @param String $relative_url the relative API path.
- * @return String API URL.
- */
- public function api_url( $relative_url ) {
- $api_base = Constants::get_constant( 'JETPACK__API_BASE' );
- $api_base = $api_base ? $api_base : 'https://jetpack.wordpress.com/jetpack.';
- $version = '/' . Utils::get_jetpack_api_version() . '/';
-
- /**
- * Filters the API URL that Jetpack uses for server communication.
- *
- * @since 8.0.0
- *
- * @param String $url the generated URL.
- * @param String $relative_url the relative URL that was passed as an argument.
- * @param String $api_base the API base string that is being used.
- * @param String $version the version string that is being used.
- */
- return apply_filters(
- 'jetpack_api_url',
- rtrim( $api_base . $relative_url, '/\\' ) . $version,
- $relative_url,
- $api_base,
- $version
- );
- }
-
- /**
- * Returns the Jetpack XMLRPC WordPress.com API endpoint URL.
- *
- * @return String XMLRPC API URL.
- */
- public function xmlrpc_api_url() {
- $base = preg_replace(
- '#(https?://[^?/]+)(/?.*)?$#',
- '\\1',
- Constants::get_constant( 'JETPACK__API_BASE' )
- );
- return untrailingslashit( $base ) . '/xmlrpc.php';
- }
-
- /**
- * Attempts Jetpack registration which sets up the site for connection. Should
- * remain public because the call to action comes from the current site, not from
- * WordPress.com.
- *
- * @param String $api_endpoint (optional) an API endpoint to use, defaults to 'register'.
- * @return Integer zero on success, or a bitmask on failure.
- */
- public function register( $api_endpoint = 'register' ) {
- add_action( 'pre_update_jetpack_option_register', array( '\\Jetpack_Options', 'delete_option' ) );
- $secrets = $this->generate_secrets( 'register', get_current_user_id(), 600 );
-
- if (
- empty( $secrets['secret_1'] ) ||
- empty( $secrets['secret_2'] ) ||
- empty( $secrets['exp'] )
- ) {
- return new \WP_Error( 'missing_secrets' );
- }
-
- // Better to try (and fail) to set a higher timeout than this system
- // supports than to have register fail for more users than it should.
- $timeout = $this->set_min_time_limit( 60 ) / 2;
-
- $gmt_offset = get_option( 'gmt_offset' );
- if ( ! $gmt_offset ) {
- $gmt_offset = 0;
- }
-
- $stats_options = get_option( 'stats_options' );
- $stats_id = isset( $stats_options['blog_id'] )
- ? $stats_options['blog_id']
- : null;
-
- /**
- * Filters the request body for additional property addition.
- *
- * @since 7.7.0
- *
- * @param Array $post_data request data.
- * @param Array $token_data token data.
- */
- $body = apply_filters(
- 'jetpack_register_request_body',
- array(
- 'siteurl' => site_url(),
- 'home' => home_url(),
- 'gmt_offset' => $gmt_offset,
- 'timezone_string' => (string) get_option( 'timezone_string' ),
- 'site_name' => (string) get_option( 'blogname' ),
- 'secret_1' => $secrets['secret_1'],
- 'secret_2' => $secrets['secret_2'],
- 'site_lang' => get_locale(),
- 'timeout' => $timeout,
- 'stats_id' => $stats_id,
- 'state' => get_current_user_id(),
- 'site_created' => $this->get_assumed_site_creation_date(),
- 'jetpack_version' => Constants::get_constant( 'JETPACK__VERSION' ),
- )
- );
-
- $args = array(
- 'method' => 'POST',
- 'body' => $body,
- 'headers' => array(
- 'Accept' => 'application/json',
- ),
- 'timeout' => $timeout,
- );
-
- $args['body'] = $this->apply_activation_source_to_args( $args['body'] );
-
- // TODO: fix URLs for bad hosts.
- $response = Client::_wp_remote_request(
- $this->api_url( $api_endpoint ),
- $args,
- true
- );
-
- // Make sure the response is valid and does not contain any Jetpack errors.
- $registration_details = $this->validate_remote_register_response( $response );
-
- if ( is_wp_error( $registration_details ) ) {
- return $registration_details;
- } elseif ( ! $registration_details ) {
- return new \WP_Error(
- 'unknown_error',
- 'Unknown error registering your Jetpack site.',
- wp_remote_retrieve_response_code( $response )
- );
- }
-
- if ( empty( $registration_details->jetpack_secret ) || ! is_string( $registration_details->jetpack_secret ) ) {
- return new \WP_Error(
- 'jetpack_secret',
- 'Unable to validate registration of your Jetpack site.',
- wp_remote_retrieve_response_code( $response )
- );
- }
-
- if ( isset( $registration_details->jetpack_public ) ) {
- $jetpack_public = (int) $registration_details->jetpack_public;
- } else {
- $jetpack_public = false;
- }
-
- \Jetpack_Options::update_options(
- array(
- 'id' => (int) $registration_details->jetpack_id,
- 'blog_token' => (string) $registration_details->jetpack_secret,
- 'public' => $jetpack_public,
- )
- );
-
- /**
- * Fires when a site is registered on WordPress.com.
- *
- * @since 3.7.0
- *
- * @param int $json->jetpack_id Jetpack Blog ID.
- * @param string $json->jetpack_secret Jetpack Blog Token.
- * @param int|bool $jetpack_public Is the site public.
- */
- do_action(
- 'jetpack_site_registered',
- $registration_details->jetpack_id,
- $registration_details->jetpack_secret,
- $jetpack_public
- );
-
- if ( isset( $registration_details->token ) ) {
- /**
- * Fires when a user token is sent along with the registration data.
- *
- * @since 7.6.0
- *
- * @param object $token the administrator token for the newly registered site.
- */
- do_action( 'jetpack_site_registered_user_token', $registration_details->token );
- }
-
- return true;
- }
-
- /**
- * Takes the response from the Jetpack register new site endpoint and
- * verifies it worked properly.
- *
- * @since 2.6
- *
- * @param Mixed $response the response object, or the error object.
- * @return string|WP_Error A JSON object on success or Jetpack_Error on failures
- **/
- protected function validate_remote_register_response( $response ) {
- if ( is_wp_error( $response ) ) {
- return new \WP_Error(
- 'register_http_request_failed',
- $response->get_error_message()
- );
- }
-
- $code = wp_remote_retrieve_response_code( $response );
- $entity = wp_remote_retrieve_body( $response );
-
- if ( $entity ) {
- $registration_response = json_decode( $entity );
- } else {
- $registration_response = false;
- }
-
- $code_type = intval( $code / 100 );
- if ( 5 === $code_type ) {
- return new \WP_Error( 'wpcom_5??', $code );
- } elseif ( 408 === $code ) {
- return new \WP_Error( 'wpcom_408', $code );
- } elseif ( ! empty( $registration_response->error ) ) {
- if (
- 'xml_rpc-32700' === $registration_response->error
- && ! function_exists( 'xml_parser_create' )
- ) {
- $error_description = __( "PHP's XML extension is not available. Jetpack requires the XML extension to communicate with WordPress.com. Please contact your hosting provider to enable PHP's XML extension.", 'jetpack' );
- } else {
- $error_description = isset( $registration_response->error_description )
- ? (string) $registration_response->error_description
- : '';
- }
-
- return new \WP_Error(
- (string) $registration_response->error,
- $error_description,
- $code
- );
- } elseif ( 200 !== $code ) {
- return new \WP_Error( 'wpcom_bad_response', $code );
- }
-
- // Jetpack ID error block.
- if ( empty( $registration_response->jetpack_id ) ) {
- return new \WP_Error(
- 'jetpack_id',
- /* translators: %s is an error message string */
- sprintf( __( 'Error Details: Jetpack ID is empty. Do not publicly post this error message! %s', 'jetpack' ), $entity ),
- $entity
- );
- } elseif ( ! is_scalar( $registration_response->jetpack_id ) ) {
- return new \WP_Error(
- 'jetpack_id',
- /* translators: %s is an error message string */
- sprintf( __( 'Error Details: Jetpack ID is not a scalar. Do not publicly post this error message! %s', 'jetpack' ), $entity ),
- $entity
- );
- } elseif ( preg_match( '/[^0-9]/', $registration_response->jetpack_id ) ) {
- return new \WP_Error(
- 'jetpack_id',
- /* translators: %s is an error message string */
- sprintf( __( 'Error Details: Jetpack ID begins with a numeral. Do not publicly post this error message! %s', 'jetpack' ), $entity ),
- $entity
- );
- }
-
- return $registration_response;
- }
-
- /**
- * Adds a used nonce to a list of known nonces.
- *
- * @param int $timestamp the current request timestamp.
- * @param string $nonce the nonce value.
- * @return bool whether the nonce is unique or not.
- */
- public function add_nonce( $timestamp, $nonce ) {
- global $wpdb;
- static $nonces_used_this_request = array();
-
- if ( isset( $nonces_used_this_request[ "$timestamp:$nonce" ] ) ) {
- return $nonces_used_this_request[ "$timestamp:$nonce" ];
- }
-
- // This should always have gone through Jetpack_Signature::sign_request() first to check $timestamp an $nonce.
- $timestamp = (int) $timestamp;
- $nonce = esc_sql( $nonce );
-
- // Raw query so we can avoid races: add_option will also update.
- $show_errors = $wpdb->show_errors( false );
-
- $old_nonce = $wpdb->get_row(
- $wpdb->prepare( "SELECT * FROM `$wpdb->options` WHERE option_name = %s", "jetpack_nonce_{$timestamp}_{$nonce}" )
- );
-
- if ( is_null( $old_nonce ) ) {
- $return = $wpdb->query(
- $wpdb->prepare(
- "INSERT INTO `$wpdb->options` (`option_name`, `option_value`, `autoload`) VALUES (%s, %s, %s)",
- "jetpack_nonce_{$timestamp}_{$nonce}",
- time(),
- 'no'
- )
- );
- } else {
- $return = false;
- }
-
- $wpdb->show_errors( $show_errors );
-
- $nonces_used_this_request[ "$timestamp:$nonce" ] = $return;
-
- return $return;
- }
-
- /**
- * Cleans nonces that were saved when calling ::add_nonce.
- *
- * @todo Properly prepare the query before executing it.
- *
- * @param bool $all whether to clean even non-expired nonces.
- */
- public function clean_nonces( $all = false ) {
- global $wpdb;
-
- $sql = "DELETE FROM `$wpdb->options` WHERE `option_name` LIKE %s";
- $sql_args = array( $wpdb->esc_like( 'jetpack_nonce_' ) . '%' );
-
- if ( true !== $all ) {
- $sql .= ' AND CAST( `option_value` AS UNSIGNED ) < %d';
- $sql_args[] = time() - 3600;
- }
-
- $sql .= ' ORDER BY `option_id` LIMIT 100';
-
- $sql = $wpdb->prepare( $sql, $sql_args ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
-
- for ( $i = 0; $i < 1000; $i++ ) {
- if ( ! $wpdb->query( $sql ) ) { // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- break;
- }
- }
- }
-
- /**
- * Builds the timeout limit for queries talking with the wpcom servers.
- *
- * Based on local php max_execution_time in php.ini
- *
- * @since 5.4
- * @return int
- **/
- public function get_max_execution_time() {
- $timeout = (int) ini_get( 'max_execution_time' );
-
- // Ensure exec time set in php.ini.
- if ( ! $timeout ) {
- $timeout = 30;
- }
- return $timeout;
- }
-
- /**
- * Sets a minimum request timeout, and returns the current timeout
- *
- * @since 5.4
- * @param Integer $min_timeout the minimum timeout value.
- **/
- public function set_min_time_limit( $min_timeout ) {
- $timeout = $this->get_max_execution_time();
- if ( $timeout < $min_timeout ) {
- $timeout = $min_timeout;
- set_time_limit( $timeout );
- }
- return $timeout;
- }
-
- /**
- * Get our assumed site creation date.
- * Calculated based on the earlier date of either:
- * - Earliest admin user registration date.
- * - Earliest date of post of any post type.
- *
- * @since 7.2.0
- *
- * @return string Assumed site creation date and time.
- */
- public function get_assumed_site_creation_date() {
- $cached_date = get_transient( 'jetpack_assumed_site_creation_date' );
- if ( ! empty( $cached_date ) ) {
- return $cached_date;
- }
-
- $earliest_registered_users = get_users(
- array(
- 'role' => 'administrator',
- 'orderby' => 'user_registered',
- 'order' => 'ASC',
- 'fields' => array( 'user_registered' ),
- 'number' => 1,
- )
- );
- $earliest_registration_date = $earliest_registered_users[0]->user_registered;
-
- $earliest_posts = get_posts(
- array(
- 'posts_per_page' => 1,
- 'post_type' => 'any',
- 'post_status' => 'any',
- 'orderby' => 'date',
- 'order' => 'ASC',
- )
- );
-
- // If there are no posts at all, we'll count only on user registration date.
- if ( $earliest_posts ) {
- $earliest_post_date = $earliest_posts[0]->post_date;
- } else {
- $earliest_post_date = PHP_INT_MAX;
- }
-
- $assumed_date = min( $earliest_registration_date, $earliest_post_date );
- set_transient( 'jetpack_assumed_site_creation_date', $assumed_date );
-
- return $assumed_date;
- }
-
- /**
- * Adds the activation source string as a parameter to passed arguments.
- *
- * @todo Refactor to use rawurlencode() instead of urlencode().
- *
- * @param Array $args arguments that need to have the source added.
- * @return Array $amended arguments.
- */
- public static function apply_activation_source_to_args( $args ) {
- list( $activation_source_name, $activation_source_keyword ) = get_option( 'jetpack_activation_source' );
-
- if ( $activation_source_name ) {
- // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.urlencode_urlencode
- $args['_as'] = urlencode( $activation_source_name );
- }
-
- if ( $activation_source_keyword ) {
- // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.urlencode_urlencode
- $args['_ak'] = urlencode( $activation_source_keyword );
- }
-
- return $args;
- }
-
- /**
- * Returns the callable that would be used to generate secrets.
- *
- * @return Callable a function that returns a secure string to be used as a secret.
- */
- protected function get_secret_callable() {
- if ( ! isset( $this->secret_callable ) ) {
- /**
- * Allows modification of the callable that is used to generate connection secrets.
- *
- * @param Callable a function or method that returns a secret string.
- */
- $this->secret_callable = apply_filters( 'jetpack_connection_secret_generator', 'wp_generate_password' );
- }
-
- return $this->secret_callable;
- }
-
- /**
- * Generates two secret tokens and the end of life timestamp for them.
- *
- * @param String $action The action name.
- * @param Integer $user_id The user identifier.
- * @param Integer $exp Expiration time in seconds.
- */
- public function generate_secrets( $action, $user_id = false, $exp = 600 ) {
- if ( false === $user_id ) {
- $user_id = get_current_user_id();
- }
-
- $callable = $this->get_secret_callable();
-
- $secrets = \Jetpack_Options::get_raw_option(
- self::SECRETS_OPTION_NAME,
- array()
- );
-
- $secret_name = 'jetpack_' . $action . '_' . $user_id;
-
- if (
- isset( $secrets[ $secret_name ] ) &&
- $secrets[ $secret_name ]['exp'] > time()
- ) {
- return $secrets[ $secret_name ];
- }
-
- $secret_value = array(
- 'secret_1' => call_user_func( $callable ),
- 'secret_2' => call_user_func( $callable ),
- 'exp' => time() + $exp,
- );
-
- $secrets[ $secret_name ] = $secret_value;
-
- \Jetpack_Options::update_raw_option( self::SECRETS_OPTION_NAME, $secrets );
- return $secrets[ $secret_name ];
- }
-
- /**
- * Returns two secret tokens and the end of life timestamp for them.
- *
- * @param String $action The action name.
- * @param Integer $user_id The user identifier.
- * @return string|array an array of secrets or an error string.
- */
- public function get_secrets( $action, $user_id ) {
- $secret_name = 'jetpack_' . $action . '_' . $user_id;
- $secrets = \Jetpack_Options::get_raw_option(
- self::SECRETS_OPTION_NAME,
- array()
- );
-
- if ( ! isset( $secrets[ $secret_name ] ) ) {
- return self::SECRETS_MISSING;
- }
-
- if ( $secrets[ $secret_name ]['exp'] < time() ) {
- $this->delete_secrets( $action, $user_id );
- return self::SECRETS_EXPIRED;
- }
-
- return $secrets[ $secret_name ];
- }
-
- /**
- * Deletes secret tokens in case they, for example, have expired.
- *
- * @param String $action The action name.
- * @param Integer $user_id The user identifier.
- */
- public function delete_secrets( $action, $user_id ) {
- $secret_name = 'jetpack_' . $action . '_' . $user_id;
- $secrets = \Jetpack_Options::get_raw_option(
- self::SECRETS_OPTION_NAME,
- array()
- );
- if ( isset( $secrets[ $secret_name ] ) ) {
- unset( $secrets[ $secret_name ] );
- \Jetpack_Options::update_raw_option( self::SECRETS_OPTION_NAME, $secrets );
- }
- }
-
- /**
- * Deletes all connection tokens and transients from the local Jetpack site.
- */
- public function delete_all_connection_tokens() {
- \Jetpack_Options::delete_option(
- array(
- 'blog_token',
- 'user_token',
- 'user_tokens',
- 'master_user',
- 'time_diff',
- 'fallback_no_verify_ssl_certs',
- )
- );
-
- \Jetpack_Options::delete_raw_option( 'jetpack_secrets' );
-
- // Delete cached connected user data.
- $transient_key = 'jetpack_connected_user_data_' . get_current_user_id();
- delete_transient( $transient_key );
- }
-
- /**
- * Tells WordPress.com to disconnect the site and clear all tokens from cached site.
- */
- public function disconnect_site_wpcom() {
- $xml = new \Jetpack_IXR_Client();
- $xml->query( 'jetpack.deregister', get_current_user_id() );
- }
-
- /**
- * Responds to a WordPress.com call to register the current site.
- * Should be changed to protected.
- *
- * @param array $registration_data Array of [ secret_1, user_id ].
- */
- public function handle_registration( array $registration_data ) {
- list( $registration_secret_1, $registration_user_id ) = $registration_data;
- if ( empty( $registration_user_id ) ) {
- return new \WP_Error( 'registration_state_invalid', __( 'Invalid Registration State', 'jetpack' ), 400 );
- }
-
- return $this->verify_secrets( 'register', $registration_secret_1, (int) $registration_user_id );
- }
-
- /**
- * Verify a Previously Generated Secret.
- *
- * @param string $action The type of secret to verify.
- * @param string $secret_1 The secret string to compare to what is stored.
- * @param int $user_id The user ID of the owner of the secret.
- * @return \WP_Error|string WP_Error on failure, secret_2 on success.
- */
- public function verify_secrets( $action, $secret_1, $user_id ) {
- $allowed_actions = array( 'register', 'authorize', 'publicize' );
- if ( ! in_array( $action, $allowed_actions, true ) ) {
- return new \WP_Error( 'unknown_verification_action', 'Unknown Verification Action', 400 );
- }
-
- $user = get_user_by( 'id', $user_id );
-
- /**
- * We've begun verifying the previously generated secret.
- *
- * @since 7.5.0
- *
- * @param string $action The type of secret to verify.
- * @param \WP_User $user The user object.
- */
- do_action( 'jetpack_verify_secrets_begin', $action, $user );
-
- $return_error = function( \WP_Error $error ) use ( $action, $user ) {
- /**
- * Verifying of the previously generated secret has failed.
- *
- * @since 7.5.0
- *
- * @param string $action The type of secret to verify.
- * @param \WP_User $user The user object.
- * @param \WP_Error $error The error object.
- */
- do_action( 'jetpack_verify_secrets_fail', $action, $user, $error );
-
- return $error;
- };
-
- $stored_secrets = $this->get_secrets( $action, $user_id );
- $this->delete_secrets( $action, $user_id );
-
- $error = null;
- if ( empty( $secret_1 ) ) {
- $error = $return_error(
- new \WP_Error(
- 'verify_secret_1_missing',
- /* translators: "%s" is the name of a paramter. It can be either "secret_1" or "state". */
- sprintf( __( 'The required "%s" parameter is missing.', 'jetpack' ), 'secret_1' ),
- 400
- )
- );
- } elseif ( ! is_string( $secret_1 ) ) {
- $error = $return_error(
- new \WP_Error(
- 'verify_secret_1_malformed',
- /* translators: "%s" is the name of a paramter. It can be either "secret_1" or "state". */
- sprintf( __( 'The required "%s" parameter is malformed.', 'jetpack' ), 'secret_1' ),
- 400
- )
- );
- } elseif ( empty( $user_id ) ) {
- // $user_id is passed around during registration as "state".
- $error = $return_error(
- new \WP_Error(
- 'state_missing',
- /* translators: "%s" is the name of a paramter. It can be either "secret_1" or "state". */
- sprintf( __( 'The required "%s" parameter is missing.', 'jetpack' ), 'state' ),
- 400
- )
- );
- } elseif ( ! ctype_digit( (string) $user_id ) ) {
- $error = $return_error(
- new \WP_Error(
- 'state_malformed',
- /* translators: "%s" is the name of a paramter. It can be either "secret_1" or "state". */
- sprintf( __( 'The required "%s" parameter is malformed.', 'jetpack' ), 'state' ),
- 400
- )
- );
- } elseif ( self::SECRETS_MISSING === $stored_secrets ) {
- $error = $return_error(
- new \WP_Error(
- 'verify_secrets_missing',
- __( 'Verification secrets not found', 'jetpack' ),
- 400
- )
- );
- } elseif ( self::SECRETS_EXPIRED === $stored_secrets ) {
- $error = $return_error(
- new \WP_Error(
- 'verify_secrets_expired',
- __( 'Verification took too long', 'jetpack' ),
- 400
- )
- );
- } elseif ( ! $stored_secrets ) {
- $error = $return_error(
- new \WP_Error(
- 'verify_secrets_empty',
- __( 'Verification secrets are empty', 'jetpack' ),
- 400
- )
- );
- } elseif ( is_wp_error( $stored_secrets ) ) {
- $stored_secrets->add_data( 400 );
- $error = $return_error( $stored_secrets );
- } elseif ( empty( $stored_secrets['secret_1'] ) || empty( $stored_secrets['secret_2'] ) || empty( $stored_secrets['exp'] ) ) {
- $error = $return_error(
- new \WP_Error(
- 'verify_secrets_incomplete',
- __( 'Verification secrets are incomplete', 'jetpack' ),
- 400
- )
- );
- } elseif ( ! hash_equals( $secret_1, $stored_secrets['secret_1'] ) ) {
- $error = $return_error(
- new \WP_Error(
- 'verify_secrets_mismatch',
- __( 'Secret mismatch', 'jetpack' ),
- 400
- )
- );
- }
-
- // Something went wrong during the checks, returning the error.
- if ( ! empty( $error ) ) {
- return $error;
- }
-
- /**
- * We've succeeded at verifying the previously generated secret.
- *
- * @since 7.5.0
- *
- * @param string $action The type of secret to verify.
- * @param \WP_User $user The user object.
- */
- do_action( 'jetpack_verify_secrets_success', $action, $user );
-
- return $stored_secrets['secret_2'];
- }
-
- /**
- * Responds to a WordPress.com call to authorize the current user.
- * Should be changed to protected.
- */
- public function handle_authorization() {
-
- }
-
- /**
- * Obtains the auth token.
- *
- * @param array $data The request data.
- * @return object|\WP_Error Returns the auth token on success.
- * Returns a \WP_Error on failure.
- */
- public function get_token( $data ) {
- $roles = new Roles();
- $role = $roles->translate_current_user_to_role();
-
- if ( ! $role ) {
- return new \WP_Error( 'role', __( 'An administrator for this blog must set up the Jetpack connection.', 'jetpack' ) );
- }
-
- $client_secret = $this->get_access_token();
- if ( ! $client_secret ) {
- return new \WP_Error( 'client_secret', __( 'You need to register your Jetpack before connecting it.', 'jetpack' ) );
- }
-
- /**
- * Filter the URL of the first time the user gets redirected back to your site for connection
- * data processing.
- *
- * @since 8.0.0
- *
- * @param string $redirect_url Defaults to the site admin URL.
- */
- $processing_url = apply_filters( 'jetpack_token_processing_url', admin_url( 'admin.php' ) );
-
- $redirect = isset( $data['redirect'] ) ? esc_url_raw( (string) $data['redirect'] ) : '';
-
- /**
- * Filter the URL to redirect the user back to when the authentication process
- * is complete.
- *
- * @since 8.0.0
- *
- * @param string $redirect_url Defaults to the site URL.
- */
- $redirect = apply_filters( 'jetpack_token_redirect_url', $redirect );
-
- $redirect_uri = ( 'calypso' === $data['auth_type'] )
- ? $data['redirect_uri']
- : add_query_arg(
- array(
- 'action' => 'authorize',
- '_wpnonce' => wp_create_nonce( "jetpack-authorize_{$role}_{$redirect}" ),
- 'redirect' => $redirect ? rawurlencode( $redirect ) : false,
- ),
- esc_url( $processing_url )
- );
-
- /**
- * Filters the token request data.
- *
- * @since 8.0.0
- *
- * @param Array $request_data request data.
- */
- $body = apply_filters(
- 'jetpack_token_request_body',
- array(
- 'client_id' => \Jetpack_Options::get_option( 'id' ),
- 'client_secret' => $client_secret->secret,
- 'grant_type' => 'authorization_code',
- 'code' => $data['code'],
- 'redirect_uri' => $redirect_uri,
- )
- );
-
- $args = array(
- 'method' => 'POST',
- 'body' => $body,
- 'headers' => array(
- 'Accept' => 'application/json',
- ),
- );
-
- $response = Client::_wp_remote_request( Utils::fix_url_for_bad_hosts( $this->api_url( 'token' ) ), $args );
-
- if ( is_wp_error( $response ) ) {
- return new \WP_Error( 'token_http_request_failed', $response->get_error_message() );
- }
-
- $code = wp_remote_retrieve_response_code( $response );
- $entity = wp_remote_retrieve_body( $response );
-
- if ( $entity ) {
- $json = json_decode( $entity );
- } else {
- $json = false;
- }
-
- if ( 200 !== $code || ! empty( $json->error ) ) {
- if ( empty( $json->error ) ) {
- return new \WP_Error( 'unknown', '', $code );
- }
-
- /* translators: Error description string. */
- $error_description = isset( $json->error_description ) ? sprintf( __( 'Error Details: %s', 'jetpack' ), (string) $json->error_description ) : '';
-
- return new \WP_Error( (string) $json->error, $error_description, $code );
- }
-
- if ( empty( $json->access_token ) || ! is_scalar( $json->access_token ) ) {
- return new \WP_Error( 'access_token', '', $code );
- }
-
- if ( empty( $json->token_type ) || 'X_JETPACK' !== strtoupper( $json->token_type ) ) {
- return new \WP_Error( 'token_type', '', $code );
- }
-
- if ( empty( $json->scope ) ) {
- return new \WP_Error( 'scope', 'No Scope', $code );
- }
-
- @list( $role, $hmac ) = explode( ':', $json->scope );
- if ( empty( $role ) || empty( $hmac ) ) {
- return new \WP_Error( 'scope', 'Malformed Scope', $code );
- }
-
- if ( $this->sign_role( $role ) !== $json->scope ) {
- return new \WP_Error( 'scope', 'Invalid Scope', $code );
- }
-
- $cap = $roles->translate_role_to_cap( $role );
- if ( ! $cap ) {
- return new \WP_Error( 'scope', 'No Cap', $code );
- }
-
- if ( ! current_user_can( $cap ) ) {
- return new \WP_Error( 'scope', 'current_user_cannot', $code );
- }
-
- /**
- * Fires after user has successfully received an auth token.
- *
- * @since 3.9.0
- */
- do_action( 'jetpack_user_authorized' );
-
- return (string) $json->access_token;
- }
-
- /**
- * Builds a URL to the Jetpack connection auth page.
- *
- * @param WP_User $user (optional) defaults to the current logged in user.
- * @param String $redirect (optional) a redirect URL to use instead of the default.
- * @return string Connect URL.
- */
- public function get_authorization_url( $user = null, $redirect = null ) {
-
- if ( empty( $user ) ) {
- $user = wp_get_current_user();
- }
-
- $roles = new Roles();
- $role = $roles->translate_user_to_role( $user );
- $signed_role = $this->sign_role( $role );
-
- /**
- * Filter the URL of the first time the user gets redirected back to your site for connection
- * data processing.
- *
- * @since 8.0.0
- *
- * @param string $redirect_url Defaults to the site admin URL.
- */
- $processing_url = apply_filters( 'jetpack_connect_processing_url', admin_url( 'admin.php' ) );
-
- /**
- * Filter the URL to redirect the user back to when the authorization process
- * is complete.
- *
- * @since 8.0.0
- *
- * @param string $redirect_url Defaults to the site URL.
- */
- $redirect = apply_filters( 'jetpack_connect_redirect_url', $redirect );
-
- $secrets = $this->generate_secrets( 'authorize', $user->ID, 2 * HOUR_IN_SECONDS );
-
- /**
- * Filter the type of authorization.
- * 'calypso' completes authorization on wordpress.com/jetpack/connect
- * while 'jetpack' ( or any other value ) completes the authorization at jetpack.wordpress.com.
- *
- * @since 4.3.3
- *
- * @param string $auth_type Defaults to 'calypso', can also be 'jetpack'.
- */
- $auth_type = apply_filters( 'jetpack_auth_type', 'calypso' );
-
- /**
- * Filters the user connection request data for additional property addition.
- *
- * @since 8.0.0
- *
- * @param Array $request_data request data.
- */
- $body = apply_filters(
- 'jetpack_connect_request_body',
- array(
- 'response_type' => 'code',
- 'client_id' => \Jetpack_Options::get_option( 'id' ),
- 'redirect_uri' => add_query_arg(
- array(
- 'action' => 'authorize',
- '_wpnonce' => wp_create_nonce( "jetpack-authorize_{$role}_{$redirect}" ),
- 'redirect' => rawurlencode( $redirect ),
- ),
- esc_url( $processing_url )
- ),
- 'state' => $user->ID,
- 'scope' => $signed_role,
- 'user_email' => $user->user_email,
- 'user_login' => $user->user_login,
- 'is_active' => $this->is_active(),
- 'jp_version' => Constants::get_constant( 'JETPACK__VERSION' ),
- 'auth_type' => $auth_type,
- 'secret' => $secrets['secret_1'],
- 'blogname' => get_option( 'blogname' ),
- 'site_url' => site_url(),
- 'home_url' => home_url(),
- 'site_icon' => get_site_icon_url(),
- 'site_lang' => get_locale(),
- 'site_created' => $this->get_assumed_site_creation_date(),
- )
- );
-
- $body = $this->apply_activation_source_to_args( urlencode_deep( $body ) );
-
- $api_url = $this->api_url( 'authorize' );
-
- return add_query_arg( $body, $api_url );
- }
-
- /**
- * Authorizes the user by obtaining and storing the user token.
- *
- * @param array $data The request data.
- * @return string|\WP_Error Returns a string on success.
- * Returns a \WP_Error on failure.
- */
- public function authorize( $data = array() ) {
- /**
- * Action fired when user authorization starts.
- *
- * @since 8.0.0
- */
- do_action( 'jetpack_authorize_starting' );
-
- $roles = new Roles();
- $role = $roles->translate_current_user_to_role();
-
- if ( ! $role ) {
- return new \WP_Error( 'no_role', 'Invalid request.', 400 );
- }
-
- $cap = $roles->translate_role_to_cap( $role );
- if ( ! $cap ) {
- return new \WP_Error( 'no_cap', 'Invalid request.', 400 );
- }
-
- if ( ! empty( $data['error'] ) ) {
- return new \WP_Error( $data['error'], 'Error included in the request.', 400 );
- }
-
- if ( ! isset( $data['state'] ) ) {
- return new \WP_Error( 'no_state', 'Request must include state.', 400 );
- }
-
- if ( ! ctype_digit( $data['state'] ) ) {
- return new \WP_Error( $data['error'], 'State must be an integer.', 400 );
- }
-
- $current_user_id = get_current_user_id();
- if ( $current_user_id !== (int) $data['state'] ) {
- return new \WP_Error( 'wrong_state', 'State does not match current user.', 400 );
- }
-
- if ( empty( $data['code'] ) ) {
- return new \WP_Error( 'no_code', 'Request must include an authorization code.', 400 );
- }
-
- $token = $this->get_token( $data );
-
- if ( is_wp_error( $token ) ) {
- $code = $token->get_error_code();
- if ( empty( $code ) ) {
- $code = 'invalid_token';
- }
- return new \WP_Error( $code, $token->get_error_message(), 400 );
- }
-
- if ( ! $token ) {
- return new \WP_Error( 'no_token', 'Error generating token.', 400 );
- }
-
- $is_master_user = ! $this->is_active();
-
- Utils::update_user_token( $current_user_id, sprintf( '%s.%d', $token, $current_user_id ), $is_master_user );
-
- if ( ! $is_master_user ) {
- /**
- * Action fired when a secondary user has been authorized.
- *
- * @since 8.0.0
- */
- do_action( 'jetpack_authorize_ending_linked' );
- return 'linked';
- }
-
- /**
- * Action fired when the master user has been authorized.
- *
- * @since 8.0.0
- *
- * @param array $data The request data.
- */
- do_action( 'jetpack_authorize_ending_authorized', $data );
-
- return 'authorized';
- }
-
- /**
- * Disconnects from the Jetpack servers.
- * Forgets all connection details and tells the Jetpack servers to do the same.
- */
- public function disconnect_site() {
-
- }
-
- /**
- * The Base64 Encoding of the SHA1 Hash of the Input.
- *
- * @param string $text The string to hash.
- * @return string
- */
- public function sha1_base64( $text ) {
- return base64_encode( sha1( $text, true ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
- }
-
- /**
- * This function mirrors Jetpack_Data::is_usable_domain() in the WPCOM codebase.
- *
- * @param string $domain The domain to check.
- *
- * @return bool|WP_Error
- */
- public function is_usable_domain( $domain ) {
-
- // If it's empty, just fail out.
- if ( ! $domain ) {
- return new \WP_Error(
- 'fail_domain_empty',
- /* translators: %1$s is a domain name. */
- sprintf( __( 'Domain `%1$s` just failed is_usable_domain check as it is empty.', 'jetpack' ), $domain )
- );
- }
-
- /**
- * Skips the usuable domain check when connecting a site.
- *
- * Allows site administrators with domains that fail gethostname-based checks to pass the request to WP.com
- *
- * @since 4.1.0
- *
- * @param bool If the check should be skipped. Default false.
- */
- if ( apply_filters( 'jetpack_skip_usuable_domain_check', false ) ) {
- return true;
- }
-
- // None of the explicit localhosts.
- $forbidden_domains = array(
- 'wordpress.com',
- 'localhost',
- 'localhost.localdomain',
- '127.0.0.1',
- 'local.wordpress.test', // VVV pattern.
- 'local.wordpress-trunk.test', // VVV pattern.
- 'src.wordpress-develop.test', // VVV pattern.
- 'build.wordpress-develop.test', // VVV pattern.
- );
- if ( in_array( $domain, $forbidden_domains, true ) ) {
- return new \WP_Error(
- 'fail_domain_forbidden',
- sprintf(
- /* translators: %1$s is a domain name. */
- __(
- 'Domain `%1$s` just failed is_usable_domain check as it is in the forbidden array.',
- 'jetpack'
- ),
- $domain
- )
- );
- }
-
- // No .test or .local domains.
- if ( preg_match( '#\.(test|local)$#i', $domain ) ) {
- return new \WP_Error(
- 'fail_domain_tld',
- sprintf(
- /* translators: %1$s is a domain name. */
- __(
- 'Domain `%1$s` just failed is_usable_domain check as it uses an invalid top level domain.',
- 'jetpack'
- ),
- $domain
- )
- );
- }
-
- // No WPCOM subdomains.
- if ( preg_match( '#\.WordPress\.com$#i', $domain ) ) {
- return new \WP_Error(
- 'fail_subdomain_wpcom',
- sprintf(
- /* translators: %1$s is a domain name. */
- __(
- 'Domain `%1$s` just failed is_usable_domain check as it is a subdomain of WordPress.com.',
- 'jetpack'
- ),
- $domain
- )
- );
- }
-
- // If PHP was compiled without support for the Filter module (very edge case).
- if ( ! function_exists( 'filter_var' ) ) {
- // Just pass back true for now, and let wpcom sort it out.
- return true;
- }
-
- return true;
- }
-
- /**
- * Gets the requested token.
- *
- * Tokens are one of two types:
- * 1. Blog Tokens: These are the "main" tokens. Each site typically has one Blog Token,
- * though some sites can have multiple "Special" Blog Tokens (see below). These tokens
- * are not associated with a user account. They represent the site's connection with
- * the Jetpack servers.
- * 2. User Tokens: These are "sub-"tokens. Each connected user account has one User Token.
- *
- * All tokens look like "{$token_key}.{$private}". $token_key is a public ID for the
- * token, and $private is a secret that should never be displayed anywhere or sent
- * over the network; it's used only for signing things.
- *
- * Blog Tokens can be "Normal" or "Special".
- * * Normal: The result of a normal connection flow. They look like
- * "{$random_string_1}.{$random_string_2}"
- * That is, $token_key and $private are both random strings.
- * Sites only have one Normal Blog Token. Normal Tokens are found in either
- * Jetpack_Options::get_option( 'blog_token' ) (usual) or the JETPACK_BLOG_TOKEN
- * constant (rare).
- * * Special: A connection token for sites that have gone through an alternative
- * connection flow. They look like:
- * ";{$special_id}{$special_version};{$wpcom_blog_id};.{$random_string}"
- * That is, $private is a random string and $token_key has a special structure with
- * lots of semicolons.
- * Most sites have zero Special Blog Tokens. Special tokens are only found in the
- * JETPACK_BLOG_TOKEN constant.
- *
- * In particular, note that Normal Blog Tokens never start with ";" and that
- * Special Blog Tokens always do.
- *
- * When searching for a matching Blog Tokens, Blog Tokens are examined in the following
- * order:
- * 1. Defined Special Blog Tokens (via the JETPACK_BLOG_TOKEN constant)
- * 2. Stored Normal Tokens (via Jetpack_Options::get_option( 'blog_token' ))
- * 3. Defined Normal Tokens (via the JETPACK_BLOG_TOKEN constant)
- *
- * @param int|false $user_id false: Return the Blog Token. int: Return that user's User Token.
- * @param string|false $token_key If provided, check that the token matches the provided input.
- * @param bool|true $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found.
- *
- * @return object|false
- */
- public function get_access_token( $user_id = false, $token_key = false, $suppress_errors = true ) {
- $possible_special_tokens = array();
- $possible_normal_tokens = array();
- $user_tokens = \Jetpack_Options::get_option( 'user_tokens' );
-
- if ( $user_id ) {
- if ( ! $user_tokens ) {
- return $suppress_errors ? false : new \WP_Error( 'no_user_tokens' );
- }
- if ( self::JETPACK_MASTER_USER === $user_id ) {
- $user_id = \Jetpack_Options::get_option( 'master_user' );
- if ( ! $user_id ) {
- return $suppress_errors ? false : new \WP_Error( 'empty_master_user_option' );
- }
- }
- if ( ! isset( $user_tokens[ $user_id ] ) || ! $user_tokens[ $user_id ] ) {
- return $suppress_errors ? false : new \WP_Error( 'no_token_for_user', sprintf( 'No token for user %d', $user_id ) );
- }
- $user_token_chunks = explode( '.', $user_tokens[ $user_id ] );
- if ( empty( $user_token_chunks[1] ) || empty( $user_token_chunks[2] ) ) {
- return $suppress_errors ? false : new \WP_Error( 'token_malformed', sprintf( 'Token for user %d is malformed', $user_id ) );
- }
- if ( $user_token_chunks[2] !== (string) $user_id ) {
- return $suppress_errors ? false : new \WP_Error( 'user_id_mismatch', sprintf( 'Requesting user_id %d does not match token user_id %d', $user_id, $user_token_chunks[2] ) );
- }
- $possible_normal_tokens[] = "{$user_token_chunks[0]}.{$user_token_chunks[1]}";
- } else {
- $stored_blog_token = \Jetpack_Options::get_option( 'blog_token' );
- if ( $stored_blog_token ) {
- $possible_normal_tokens[] = $stored_blog_token;
- }
-
- $defined_tokens_string = Constants::get_constant( 'JETPACK_BLOG_TOKEN' );
-
- if ( $defined_tokens_string ) {
- $defined_tokens = explode( ',', $defined_tokens_string );
- foreach ( $defined_tokens as $defined_token ) {
- if ( ';' === $defined_token[0] ) {
- $possible_special_tokens[] = $defined_token;
- } else {
- $possible_normal_tokens[] = $defined_token;
- }
- }
- }
- }
-
- if ( self::MAGIC_NORMAL_TOKEN_KEY === $token_key ) {
- $possible_tokens = $possible_normal_tokens;
- } else {
- $possible_tokens = array_merge( $possible_special_tokens, $possible_normal_tokens );
- }
-
- if ( ! $possible_tokens ) {
- return $suppress_errors ? false : new \WP_Error( 'no_possible_tokens' );
- }
-
- $valid_token = false;
-
- if ( false === $token_key ) {
- // Use first token.
- $valid_token = $possible_tokens[0];
- } elseif ( self::MAGIC_NORMAL_TOKEN_KEY === $token_key ) {
- // Use first normal token.
- $valid_token = $possible_tokens[0]; // $possible_tokens only contains normal tokens because of earlier check.
- } else {
- // Use the token matching $token_key or false if none.
- // Ensure we check the full key.
- $token_check = rtrim( $token_key, '.' ) . '.';
-
- foreach ( $possible_tokens as $possible_token ) {
- if ( hash_equals( substr( $possible_token, 0, strlen( $token_check ) ), $token_check ) ) {
- $valid_token = $possible_token;
- break;
- }
- }
- }
-
- if ( ! $valid_token ) {
- return $suppress_errors ? false : new \WP_Error( 'no_valid_token' );
- }
-
- return (object) array(
- 'secret' => $valid_token,
- 'external_user_id' => (int) $user_id,
- );
- }
-
- /**
- * In some setups, $HTTP_RAW_POST_DATA can be emptied during some IXR_Server paths
- * since it is passed by reference to various methods.
- * Capture it here so we can verify the signature later.
- *
- * @param Array $methods an array of available XMLRPC methods.
- * @return Array the same array, since this method doesn't add or remove anything.
- */
- public function xmlrpc_methods( $methods ) {
- $this->raw_post_data = $GLOBALS['HTTP_RAW_POST_DATA'];
- return $methods;
- }
-
- /**
- * Resets the raw post data parameter for testing purposes.
- */
- public function reset_raw_post_data() {
- $this->raw_post_data = null;
- }
-
- /**
- * Registering an additional method.
- *
- * @param Array $methods an array of available XMLRPC methods.
- * @return Array the amended array in case the method is added.
- */
- public function public_xmlrpc_methods( $methods ) {
- if ( array_key_exists( 'wp.getOptions', $methods ) ) {
- $methods['wp.getOptions'] = array( $this, 'jetpack_get_options' );
- }
- return $methods;
- }
-
- /**
- * Handles a getOptions XMLRPC method call.
- *
- * @param Array $args method call arguments.
- * @return an amended XMLRPC server options array.
- */
- public function jetpack_get_options( $args ) {
- global $wp_xmlrpc_server;
-
- $wp_xmlrpc_server->escape( $args );
-
- $username = $args[1];
- $password = $args[2];
-
- $user = $wp_xmlrpc_server->login( $username, $password );
- if ( ! $user ) {
- return $wp_xmlrpc_server->error;
- }
-
- $options = array();
- $user_data = $this->get_connected_user_data();
- if ( is_array( $user_data ) ) {
- $options['jetpack_user_id'] = array(
- 'desc' => __( 'The WP.com user ID of the connected user', 'jetpack' ),
- 'readonly' => true,
- 'value' => $user_data['ID'],
- );
- $options['jetpack_user_login'] = array(
- 'desc' => __( 'The WP.com username of the connected user', 'jetpack' ),
- 'readonly' => true,
- 'value' => $user_data['login'],
- );
- $options['jetpack_user_email'] = array(
- 'desc' => __( 'The WP.com user email of the connected user', 'jetpack' ),
- 'readonly' => true,
- 'value' => $user_data['email'],
- );
- $options['jetpack_user_site_count'] = array(
- 'desc' => __( 'The number of sites of the connected WP.com user', 'jetpack' ),
- 'readonly' => true,
- 'value' => $user_data['site_count'],
- );
- }
- $wp_xmlrpc_server->blog_options = array_merge( $wp_xmlrpc_server->blog_options, $options );
- $args = stripslashes_deep( $args );
- return $wp_xmlrpc_server->wp_getOptions( $args );
- }
-
- /**
- * Adds Jetpack-specific options to the output of the XMLRPC options method.
- *
- * @param Array $options standard Core options.
- * @return Array amended options.
- */
- public function xmlrpc_options( $options ) {
- $jetpack_client_id = false;
- if ( $this->is_active() ) {
- $jetpack_client_id = \Jetpack_Options::get_option( 'id' );
- }
- $options['jetpack_version'] = array(
- 'desc' => __( 'Jetpack Plugin Version', 'jetpack' ),
- 'readonly' => true,
- 'value' => Constants::get_constant( 'JETPACK__VERSION' ),
- );
-
- $options['jetpack_client_id'] = array(
- 'desc' => __( 'The Client ID/WP.com Blog ID of this site', 'jetpack' ),
- 'readonly' => true,
- 'value' => $jetpack_client_id,
- );
- return $options;
- }
-
- /**
- * Resets the saved authentication state in between testing requests.
- */
- public function reset_saved_auth_state() {
- $this->xmlrpc_verification = null;
- }
-
- /**
- * Sign a user role with the master access token.
- * If not specified, will default to the current user.
- *
- * @access public
- *
- * @param string $role User role.
- * @param int $user_id ID of the user.
- * @return string Signed user role.
- */
- public function sign_role( $role, $user_id = null ) {
- if ( empty( $user_id ) ) {
- $user_id = (int) get_current_user_id();
- }
-
- if ( ! $user_id ) {
- return false;
- }
-
- $token = $this->get_access_token();
- if ( ! $token || is_wp_error( $token ) ) {
- return false;
- }
-
- return $role . ':' . hash_hmac( 'md5', "{$role}|{$user_id}", $token->secret );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version.php b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version.php
new file mode 100644
index 00000000..90b83ba7
--- /dev/null
+++ b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version.php
@@ -0,0 +1,2 @@
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-connector.php b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-connector.php
deleted file mode 100644
index 2231193b..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-connector.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-/**
- * Sets up the Connection REST API endpoints.
- *
- * @package automattic/jetpack-connection
- */
-
-namespace Automattic\Jetpack\Connection;
-
-/**
- * Registers the REST routes for Connections.
- */
-class REST_Connector {
- /**
- * The Connection Manager.
- *
- * @var Manager
- */
- private $connection;
-
- /**
- * Constructor.
- *
- * @param Manager $connection The Connection Manager.
- */
- public function __construct( Manager $connection ) {
- $this->connection = $connection;
-
- // Register a site.
- register_rest_route(
- 'jetpack/v4',
- '/verify_registration',
- array(
- 'methods' => \WP_REST_Server::EDITABLE,
- 'callback' => array( $this, 'verify_registration' ),
- )
- );
- }
-
- /**
- * Handles verification that a site is registered.
- *
- * @since 5.4.0
- *
- * @param \WP_REST_Request $request The request sent to the WP REST API.
- *
- * @return string|WP_Error
- */
- public function verify_registration( \WP_REST_Request $request ) {
- $registration_data = array( $request['secret_1'], $request['state'] );
-
- return $this->connection->handle_registration( $registration_data );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-urls.php b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-urls.php
new file mode 100644
index 00000000..f26ee2fc
--- /dev/null
+++ b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-urls.php
@@ -0,0 +1,2 @@
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-connection/src/class-urls.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-utils.php b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-utils.php
deleted file mode 100644
index 652fd250..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-utils.php
+++ /dev/null
@@ -1,76 +0,0 @@
-<?php
-/**
- * The Jetpack Connection package Utils class file.
- *
- * @package automattic/jetpack-connection
- */
-
-namespace Automattic\Jetpack\Connection;
-
-use Automattic\Jetpack\Constants;
-
-/**
- * Provides utility methods for the Connection package.
- */
-class Utils {
-
- const DEFAULT_JETPACK_API_VERSION = 1;
-
- /**
- * Some hosts disable the OpenSSL extension and so cannot make outgoing HTTPS requests.
- * This method sets the URL scheme to HTTP when HTTPS requests can't be made.
- *
- * @param string $url The url.
- * @return string The url with the required URL scheme.
- */
- public static function fix_url_for_bad_hosts( $url ) {
- // If we receive an http url, return it.
- if ( 'http' === wp_parse_url( $url, PHP_URL_SCHEME ) ) {
- return $url;
- }
-
- // If the url should never be https, ensure it isn't https.
- if ( 'NEVER' === Constants::get_constant( 'JETPACK_CLIENT__HTTPS' ) ) {
- return set_url_scheme( $url, 'http' );
- }
-
- // Otherwise, return the https url.
- return $url;
- }
-
- /**
- * Enters a user token into the user_tokens option
- *
- * @param int $user_id The user id.
- * @param string $token The user token.
- * @param bool $is_master_user Whether the user is the master user.
- * @return bool
- */
- public static function update_user_token( $user_id, $token, $is_master_user ) {
- // Not designed for concurrent updates.
- $user_tokens = \Jetpack_Options::get_option( 'user_tokens' );
- if ( ! is_array( $user_tokens ) ) {
- $user_tokens = array();
- }
- $user_tokens[ $user_id ] = $token;
- if ( $is_master_user ) {
- $master_user = $user_id;
- $options = compact( 'user_tokens', 'master_user' );
- } else {
- $options = compact( 'user_tokens' );
- }
- return \Jetpack_Options::update_options( $options );
- }
-
- /**
- * Returns the Jetpack__API_VERSION constant if it exists, else returns a
- * default value of 1.
- *
- * @return integer
- */
- public static function get_jetpack_api_version() {
- $api_version = Constants::get_constant( 'JETPACK__API_VERSION' );
- $api_version = $api_version ? $api_version : self::DEFAULT_JETPACK_API_VERSION;
- return $api_version;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php
deleted file mode 100644
index 813f5e95..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php
+++ /dev/null
@@ -1,80 +0,0 @@
-<?php
-/**
- * Sets up the Connection XML-RPC methods.
- *
- * @package automattic/jetpack-connection
- */
-
-namespace Automattic\Jetpack\Connection;
-
-/**
- * Registers the XML-RPC methods for Connections.
- */
-class XMLRPC_Connector {
- /**
- * The Connection Manager.
- *
- * @var Manager
- */
- private $connection;
-
- /**
- * Constructor.
- *
- * @param Manager $connection The Connection Manager.
- */
- public function __construct( Manager $connection ) {
- $this->connection = $connection;
-
- // Adding the filter late to avoid being overwritten by Jetpack's XMLRPC server.
- add_filter( 'xmlrpc_methods', array( $this, 'xmlrpc_methods' ), 20 );
- }
-
- /**
- * Attached to the `xmlrpc_methods` filter.
- *
- * @param array $methods The already registered XML-RPC methods.
- * @return array
- */
- public function xmlrpc_methods( $methods ) {
- return array_merge(
- $methods,
- array(
- 'jetpack.verifyRegistration' => array( $this, 'verify_registration' ),
- )
- );
- }
-
- /**
- * Handles verification that a site is registered.
- *
- * @param array $registration_data The data sent by the XML-RPC client:
- * [ $secret_1, $user_id ].
- *
- * @return string|IXR_Error
- */
- public function verify_registration( $registration_data ) {
- return $this->output( $this->connection->handle_registration( $registration_data ) );
- }
-
- /**
- * Normalizes output for XML-RPC.
- *
- * @param mixed $data The data to output.
- */
- private function output( $data ) {
- if ( is_wp_error( $data ) ) {
- $code = $data->get_error_data();
- if ( ! $code ) {
- $code = -10520;
- }
-
- return new \IXR_Error(
- $code,
- sprintf( 'Jetpack: [%s] %s', $data->get_error_code(), $data->get_error_message() )
- );
- }
-
- return $data;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/src/interface-manager.php b/plugins/jetpack/vendor/automattic/jetpack-connection/src/interface-manager.php
deleted file mode 100644
index 176c8523..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/src/interface-manager.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-/**
- * The Jetpack Connection Interface file.
- * No longer used.
- *
- * @package automattic/jetpack-connection
- */
-
-namespace Automattic\Jetpack\Connection;
-
-/**
- * This interface is no longer used and is now deprecated.
- *
- * @deprecated since 7.8
- */
-interface Manager_Interface {
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-constants/src/class-constants.php b/plugins/jetpack/vendor/automattic/jetpack-constants/src/class-constants.php
deleted file mode 100644
index cc2f0221..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-constants/src/class-constants.php
+++ /dev/null
@@ -1,111 +0,0 @@
-<?php
-/**
- * A constants manager for Jetpack.
- *
- * @package automattic/jetpack-constants
- */
-
-namespace Automattic\Jetpack;
-
-/**
- * Class Automattic\Jetpack\Constants
- *
- * Testing constants is hard. Once you define a constant, it's defined. Constants Manager is an
- * abstraction layer so that unit tests can set "constants" for tests.
- *
- * To test your code, you'll need to swap out `defined( 'CONSTANT' )` with `Automattic\Jetpack\Constants::is_defined( 'CONSTANT' )`
- * and replace `CONSTANT` with `Automattic\Jetpack\Constants::get_constant( 'CONSTANT' )`. Then in the unit test, you can set the
- * constant with `Automattic\Jetpack\Constants::set_constant( 'CONSTANT', $value )` and then clean up after each test with something like
- * this:
- *
- * function tearDown() {
- * Automattic\Jetpack\Constants::clear_constants();
- * }
- */
-class Constants {
- /**
- * A container for all defined constants.
- *
- * @access public
- * @static
- *
- * @var array.
- */
- public static $set_constants = array();
-
- /**
- * Checks if a "constant" has been set in constants Manager
- * and has the value of true
- *
- * @param string $name The name of the constant.
- *
- * @return bool
- */
- public static function is_true( $name ) {
- return self::is_defined( $name ) && self::get_constant( $name );
- }
-
- /**
- * Checks if a "constant" has been set in constants Manager, and if not,
- * checks if the constant was defined with define( 'name', 'value ).
- *
- * @param string $name The name of the constant.
- *
- * @return bool
- */
- public static function is_defined( $name ) {
- return array_key_exists( $name, self::$set_constants )
- ? true
- : defined( $name );
- }
-
- /**
- * Attempts to retrieve the "constant" from constants Manager, and if it hasn't been set,
- * then attempts to get the constant with the constant() function.
- *
- * @param string $name The name of the constant.
- *
- * @return mixed null if the constant does not exist or the value of the constant.
- */
- public static function get_constant( $name ) {
- if ( array_key_exists( $name, self::$set_constants ) ) {
- return self::$set_constants[ $name ];
- }
-
- return defined( $name ) ? constant( $name ) : null;
- }
-
- /**
- * Sets the value of the "constant" within constants Manager.
- *
- * @param string $name The name of the constant.
- * @param string $value The value of the constant.
- */
- public static function set_constant( $name, $value ) {
- self::$set_constants[ $name ] = $value;
- }
-
- /**
- * Will unset a "constant" from constants Manager if the constant exists.
- *
- * @param string $name The name of the constant.
- *
- * @return bool Whether the constant was removed.
- */
- public static function clear_single_constant( $name ) {
- if ( ! array_key_exists( $name, self::$set_constants ) ) {
- return false;
- }
-
- unset( self::$set_constants[ $name ] );
-
- return true;
- }
-
- /**
- * Resets all of the constants within constants Manager.
- */
- public static function clear_constants() {
- self::$set_constants = array();
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-error/src/class-error.php b/plugins/jetpack/vendor/automattic/jetpack-error/src/class-error.php
deleted file mode 100644
index 579b851f..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-error/src/class-error.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-/**
- * Jetpack Error - a wrapper around WP_Error.
- *
- * @see https://codex.wordpress.org/Class_Reference/WP_Error
- *
- * @package automattic/jetpack-error
- */
-
-namespace Automattic\Jetpack;
-
-/**
- * Class Automattic\Jetpack\Error
- */
-class Error extends \WP_Error {}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm-rtl.css b/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm-rtl.css
deleted file mode 100644
index ca0300d5..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm-rtl.css
+++ /dev/null
@@ -1,490 +0,0 @@
-/*!
-* Do not modify this file directly. It is automatically generated.
-*/
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
-@charset "UTF-8";
-/*
-The MIT License (MIT)
-
-Copyright © 2011–2015 thoughtbot, inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
-documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
-persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial
-portions of the Software.
-
-THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-https://github.com/thoughtbot/bourbon
-*/
-.jitm-button {
- background: #f3f5f6;
- border-color: #0071a1;
- border-style: solid;
- border-width: 1px;
- color: #0071a1;
- cursor: pointer;
- display: inline-block;
- margin: 0;
- outline: 0;
- overflow: hidden;
- font-size: 14px;
- text-overflow: ellipsis;
- text-decoration: none;
- vertical-align: top;
- box-sizing: border-box;
- font-size: 14px;
- border-radius: 4px;
- padding: 7px 14px 9px;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
-}
-
-.jitm-button:hover {
- background: #f1f1f1;
- border-color: #016087;
- color: #016087;
-}
-
-.jitm-button[disabled], .jitm-button:disabled {
- color: #eeeeee;
- background: white;
- border-color: #eeeeee;
- cursor: default;
-}
-
-.jitm-button:focus {
- background: white;
- border-color: #0071a1;
- box-shadow: 0 0 0 1px #0071a1;
-}
-
-.jitm-button.is-compact {
- padding: 7px;
- font-size: 11px;
- line-height: 1;
- text-transform: uppercase;
-}
-
-.jitm-button.is-compact:disabled {
- color: #eeeeee;
-}
-
-.jitm-button.is-compact .gridicon {
- top: 4px;
- margin-top: -8px;
-}
-
-.jitm-button.is-compact .gridicons-plus-small {
- margin-right: -4px;
-}
-
-.jitm-button.is-compact .gridicons-plus-small:last-of-type {
- margin-right: 0;
-}
-
-.jitm-button.is-compact .gridicons-plus-small + .gridicon {
- margin-right: -4px;
-}
-
-.jitm-button.hidden {
- display: none;
-}
-
-.jitm-button.is-primary {
- background: #007cba;
- border-color: #007cba;
- color: white;
-}
-
-.jitm-button.is-primary:hover, .jitm-button.is-primary:focus {
- border-color: #0071a1;
- background: #0071a1;
- color: white;
-}
-
-.jitm-button.is-primary:focus {
- box-shadow: 0 0 0 1px white, 0 0 0 3px #0071a1;
-}
-
-.jitm-button.is-primary[disabled], .jitm-button.is-primary:disabled {
- background: #bceefd;
- border-color: #8cc9e2;
- color: white;
-}
-
-.jitm-button.is-primary.is-compact {
- color: white;
- white-space: nowrap;
-}
-
-.jitm-card {
- display: block;
- clear: both;
- position: relative;
- margin: 3rem auto 0 1.25rem;
- padding: 1rem;
- box-sizing: border-box;
- background: white;
- box-shadow: 0 0 0 1px #ccd0d4, 0 1px 1px 1px rgba(0, 0, 0, 0.04);
-}
-
-.jitm-card:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}
-
-@media (min-width: 481px) {
- .jitm-card {
- margin-bottom: 1rem;
- padding: 1.5rem;
- }
-}
-
-.jitm-card.is-compact {
- margin-bottom: 0.0625rem;
-}
-
-@media (min-width: 481px) {
- .jitm-card.is-compact {
- margin-bottom: 1px;
- padding: 1rem 1.5rem;
- }
-}
-
-.jitm-card.is-card-link {
- padding-left: 3rem;
-}
-
-#screen-meta-links + .jitm-card {
- margin: 2.5rem auto 0 1.5385em;
-}
-
-#dolly + .jitm-card {
- margin: 3rem auto 0 1rem;
-}
-
-.post-php .jitm-card {
- margin-left: 0;
-}
-
-.jp-lower .jitm-card {
- margin: 0 0 1.5rem;
-}
-
-.jitm-banner.jitm-card {
- border-right: 4px solid;
- display: flex;
- padding: 0.75rem 0.75rem 0.75rem 0.375rem;
- position: relative;
- z-index: 2;
- border-right-color: #4ab866;
-}
-
-@media (max-width: 480px) {
- .jitm-banner.jitm-card {
- display: block;
- }
-}
-
-.jitm-banner.jitm-card.is-card-link {
- padding: 0.75rem 1rem 0.75rem 3rem;
-}
-
-.jitm-banner.jitm-card.is-dismissible {
- padding-left: 3rem;
-}
-
-.jitm-banner.jitm-card .jitm-banner__icon {
- color: #4ab866;
-}
-
-.jitm-banner.jitm-card .jitm-banner__icon-circle {
- background-color: #4ab866;
-}
-
-.jitm-banner.jitm-card.is-upgrade-personal {
- border-right-color: #f0b849;
-}
-
-.jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon {
- color: #f0b849;
-}
-
-.jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon-circle {
- background-color: #f0b849;
-}
-
-.jitm-banner.jitm-card.is-upgrade-premium {
- border-right-color: #4ab866;
-}
-
-.jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon {
- color: #4ab866;
-}
-
-.jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon-circle {
- background-color: #4ab866;
-}
-
-.jitm-banner.jitm-card.is-upgrade-business, .jitm-banner.jitm-card.woo-jitm {
- border-right-color: #855DA6;
-}
-
-.jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon, .jitm-banner.jitm-card.woo-jitm .jitm-banner__icon {
- color: #855DA6;
-}
-
-.jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon-circle, .jitm-banner.jitm-card.woo-jitm .jitm-banner__icon-circle {
- background-color: #855DA6;
-}
-
-.jitm-banner.jitm-card .jitm-card__link-indicator {
- align-items: center;
- color: #0087be;
- display: flex;
-}
-
-.jitm-banner.jitm-card:hover {
- transition: all 100ms ease-in-out;
-}
-
-.jitm-banner.jitm-card:hover.is-card-link {
- box-shadow: 0 0 0 1px #a2a2a2, 0 2px 4px #d5d5d5;
-}
-
-.jitm-banner.jitm-card:hover .jitm-card__link-indicator {
- color: #005082;
-}
-
-@media (min-width: 481px) {
- .jitm-banner.jitm-card {
- padding: 0.75rem 1rem;
- }
- .jitm-banner.jitm-card.is-dismissible {
- padding-left: 1rem;
- }
-}
-
-.jitm-banner__icons {
- display: flex;
-}
-
-.jitm-banner__icons .jitm-banner__icon,
-.jitm-banner__icons .jitm-banner__icon-circle {
- border-radius: 50%;
- flex-shrink: 0;
- height: 1.5rem;
- width: 1.5rem;
- margin-left: 1rem;
- margin-top: -0.125rem;
- text-align: center;
- top: 0.25rem;
-}
-
-.jitm-banner__icons .jitm-banner__icon {
- align-self: center;
- color: white;
- display: block;
-}
-
-.jitm-banner__icons .jitm-banner__icon-circle {
- color: white;
- display: none;
- padding: 0.1875rem 0.1875rem 0.25rem 0.25rem;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__icons {
- align-items: center;
- }
- .jitm-banner__icons .jitm-banner__icon {
- display: none;
- }
- .jitm-banner__icons .jitm-banner__icon-circle {
- display: block;
- }
-}
-
-.jitm-banner__icon-plan {
- display: flex;
- margin-left: 1rem;
-}
-
-.jitm-banner__icon-plan .dops-plan-icon {
- height: 2rem;
- width: 2rem;
-}
-
-.jitm-banner__icon-plan .jp-emblem {
- position: relative;
- top: 0.125rem;
-}
-
-@media (max-width: 480px) {
- .jitm-banner__icon-plan .jp-emblem {
- margin-bottom: 0.75rem;
- }
-}
-
-.jitm-banner__icon-plan .jp-emblem svg {
- height: 2rem;
- width: 2rem;
- fill: #00BE28;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__icon-plan {
- align-items: center;
- }
-}
-
-.jitm-banner__content {
- align-items: center;
- display: flex;
- flex-grow: 1;
- flex-wrap: wrap;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__content {
- flex-wrap: nowrap;
- }
-}
-
-.jitm-banner__info {
- flex-grow: 1;
- line-height: 1.4;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__info {
- flex-basis: 50%;
- }
-}
-
-@media (min-width: 961px) {
- .jitm-banner__info {
- flex-basis: 70%;
- }
-}
-
-.jitm-banner__info .jitm-banner__title,
-.jitm-banner__info .jitm-banner__description {
- color: #414141;
-}
-
-.jitm-banner__info .jitm-banner__title {
- font-size: 14px;
- font-weight: 500;
-}
-
-.jitm-banner__info .jitm-banner__description {
- font-size: 0.75rem;
- line-height: 1.5;
- margin-top: 0.375rem;
-}
-
-.jitm-banner__info .banner__list {
- font-size: 12px;
- list-style: none;
- margin: 10px 0;
-}
-
-.jitm-banner__info .banner__list li {
- margin: 6px 0;
-}
-
-.jitm-banner__info .banner__list li .gridicon {
- fill: #a2a2a2;
- display: inline;
- margin-left: 12px;
- vertical-align: bottom;
-}
-
-.jitm-banner__action {
- align-self: center;
- font-size: 0.75rem;
- margin: 0.5rem 0 0;
- text-align: right;
- width: 100%;
-}
-
-.jitm-banner__action .jitm-banner__prices {
- display: flex;
- justify-content: flex-start;
-}
-
-.jitm-banner__action .jitm-banner__prices .dops-plan-price {
- margin-bottom: 0;
-}
-
-.jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted,
-.jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol {
- color: #414141;
-}
-
-.has-call-to-action .jitm-banner__action .jitm-banner__prices .dops-plan-price {
- margin-bottom: 0.5rem;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__action {
- margin: 0 0.5rem 0 0.25rem;
- text-align: center;
- width: auto;
- }
- .jitm-banner__action .is-dismissible {
- margin-top: 2.5rem;
- }
- .jitm-banner__action .jitm-banner__prices {
- justify-content: flex-end;
- text-align: left;
- }
-}
-
-.jitm-banner__dismiss {
- display: block;
- text-decoration: none;
- line-height: .5;
-}
-
-.jitm-banner__dismiss:before {
- color: #6f6f6f;
- font: 400 16px/1 dashicons;
- content: '\f158';
-}
-
-@media (min-width: 661px) {
- .jitm-banner__dismiss {
- margin-left: -0.5rem;
- }
-}
-
-@media (max-width: 480px) {
- .jitm-banner__dismiss {
- position: absolute;
- top: 0.875rem;
- left: 0.875rem;
- }
-}
-
-.jitm-banner__action + .jitm-banner__dismiss {
- margin-right: 0.625rem;
-}
-
-#dolly + .jitm-card {
- margin: 3rem auto 0 1rem;
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm-rtl.min.css b/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm-rtl.min.css
deleted file mode 100644
index a54f3e97..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm-rtl.min.css
+++ /dev/null
@@ -1,5 +0,0 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is automatically generated.
-*//*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.jitm-button{background:#f3f5f6;border-color:#0071a1;border-style:solid;border-width:1px;color:#0071a1;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jitm-button:hover{background:#f1f1f1;border-color:#016087;color:#016087}.jitm-button:disabled,.jitm-button[disabled]{color:#eee;background:#fff;border-color:#eee;cursor:default}.jitm-button:focus{background:#fff;border-color:#0071a1;box-shadow:0 0 0 1px #0071a1}.jitm-button.is-compact{padding:7px;font-size:11px;line-height:1;text-transform:uppercase}.jitm-button.is-compact:disabled{color:#eee}.jitm-button.is-compact .gridicon{top:4px;margin-top:-8px}.jitm-button.is-compact .gridicons-plus-small{margin-right:-4px}.jitm-button.is-compact .gridicons-plus-small:last-of-type{margin-right:0}.jitm-button.is-compact .gridicons-plus-small+.gridicon{margin-right:-4px}.jitm-button.hidden{display:none}.jitm-button.is-primary{background:#007cba;border-color:#007cba;color:#fff}.jitm-button.is-primary:focus,.jitm-button.is-primary:hover{border-color:#0071a1;background:#0071a1;color:#fff}.jitm-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0071a1}.jitm-button.is-primary:disabled,.jitm-button.is-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}.jitm-button.is-primary.is-compact{color:#fff;white-space:nowrap}.jitm-card{display:block;clear:both;position:relative;margin:3rem auto 0 1.25rem;padding:1rem;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px #ccd0d4,0 1px 1px 1px rgba(0,0,0,.04)}.jitm-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.jitm-card{margin-bottom:1rem;padding:1.5rem}}.jitm-card.is-compact{margin-bottom:.0625rem}@media (min-width:481px){.jitm-card.is-compact{margin-bottom:1px;padding:1rem 1.5rem}}.jitm-card.is-card-link{padding-left:3rem}#screen-meta-links+.jitm-card{margin:2.5rem auto 0 1.5385em}#dolly+.jitm-card{margin:3rem auto 0 1rem}.post-php .jitm-card{margin-left:0}.jp-lower .jitm-card{margin:0 0 1.5rem}.jitm-banner.jitm-card{border-right:4px solid;display:flex;padding:.75rem .75rem .75rem .375rem;position:relative;z-index:2;border-right-color:#4ab866}@media (max-width:480px){.jitm-banner.jitm-card{display:block}}.jitm-banner.jitm-card.is-card-link{padding:.75rem 1rem .75rem 3rem}.jitm-banner.jitm-card.is-dismissible{padding-left:3rem}.jitm-banner.jitm-card .jitm-banner__icon{color:#4ab866}.jitm-banner.jitm-card .jitm-banner__icon-circle{background-color:#4ab866}.jitm-banner.jitm-card.is-upgrade-personal{border-right-color:#f0b849}.jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon{color:#f0b849}.jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon-circle{background-color:#f0b849}.jitm-banner.jitm-card.is-upgrade-premium{border-right-color:#4ab866}.jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon{color:#4ab866}.jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon-circle{background-color:#4ab866}.jitm-banner.jitm-card.is-upgrade-business,.jitm-banner.jitm-card.woo-jitm{border-right-color:#855da6}.jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon,.jitm-banner.jitm-card.woo-jitm .jitm-banner__icon{color:#855da6}.jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon-circle,.jitm-banner.jitm-card.woo-jitm .jitm-banner__icon-circle{background-color:#855da6}.jitm-banner.jitm-card .jitm-card__link-indicator{align-items:center;color:#0087be;display:flex}.jitm-banner.jitm-card:hover{transition:all .1s ease-in-out}.jitm-banner.jitm-card:hover.is-card-link{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}.jitm-banner.jitm-card:hover .jitm-card__link-indicator{color:#005082}@media (min-width:481px){.jitm-banner.jitm-card{padding:.75rem 1rem}.jitm-banner.jitm-card.is-dismissible{padding-left:1rem}}.jitm-banner__icons{display:flex}.jitm-banner__icons .jitm-banner__icon,.jitm-banner__icons .jitm-banner__icon-circle{border-radius:50%;flex-shrink:0;height:1.5rem;width:1.5rem;margin-left:1rem;margin-top:-.125rem;text-align:center;top:.25rem}.jitm-banner__icons .jitm-banner__icon{align-self:center;color:#fff;display:block}.jitm-banner__icons .jitm-banner__icon-circle{color:#fff;display:none;padding:.1875rem .1875rem .25rem .25rem}@media (min-width:481px){.jitm-banner__icons{align-items:center}.jitm-banner__icons .jitm-banner__icon{display:none}.jitm-banner__icons .jitm-banner__icon-circle{display:block}}.jitm-banner__icon-plan{display:flex;margin-left:1rem}.jitm-banner__icon-plan .dops-plan-icon{height:2rem;width:2rem}.jitm-banner__icon-plan .jp-emblem{position:relative;top:.125rem}@media (max-width:480px){.jitm-banner__icon-plan .jp-emblem{margin-bottom:.75rem}}.jitm-banner__icon-plan .jp-emblem svg{height:2rem;width:2rem;fill:#00be28}@media (min-width:481px){.jitm-banner__icon-plan{align-items:center}}.jitm-banner__content{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap}@media (min-width:481px){.jitm-banner__content{flex-wrap:nowrap}}.jitm-banner__info{flex-grow:1;line-height:1.4}@media (min-width:481px){.jitm-banner__info{flex-basis:50%}}@media (min-width:961px){.jitm-banner__info{flex-basis:70%}}.jitm-banner__info .jitm-banner__description,.jitm-banner__info .jitm-banner__title{color:#414141}.jitm-banner__info .jitm-banner__title{font-size:14px;font-weight:500}.jitm-banner__info .jitm-banner__description{font-size:.75rem;line-height:1.5;margin-top:.375rem}.jitm-banner__info .banner__list{font-size:12px;list-style:none;margin:10px 0}.jitm-banner__info .banner__list li{margin:6px 0}.jitm-banner__info .banner__list li .gridicon{fill:#a2a2a2;display:inline;margin-left:12px;vertical-align:bottom}.jitm-banner__action{align-self:center;font-size:.75rem;margin:.5rem 0 0;text-align:right;width:100%}.jitm-banner__action .jitm-banner__prices{display:flex;justify-content:flex-start}.jitm-banner__action .jitm-banner__prices .dops-plan-price{margin-bottom:0}.jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted,.jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol{color:#414141}.has-call-to-action .jitm-banner__action .jitm-banner__prices .dops-plan-price{margin-bottom:.5rem}@media (min-width:481px){.jitm-banner__action{margin:0 .5rem 0 .25rem;text-align:center;width:auto}.jitm-banner__action .is-dismissible{margin-top:2.5rem}.jitm-banner__action .jitm-banner__prices{justify-content:flex-end;text-align:left}}.jitm-banner__dismiss{display:block;text-decoration:none;line-height:.5}.jitm-banner__dismiss:before{color:#6f6f6f;font:400 16px/1 dashicons;content:'\f158'}@media (min-width:661px){.jitm-banner__dismiss{margin-left:-.5rem}}@media (max-width:480px){.jitm-banner__dismiss{position:absolute;top:.875rem;left:.875rem}}.jitm-banner__action+.jitm-banner__dismiss{margin-right:.625rem}#dolly+.jitm-card{margin:3rem auto 0 1rem} \ No newline at end of file
diff --git a/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm.css b/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm.css
deleted file mode 100644
index a2717042..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm.css
+++ /dev/null
@@ -1,489 +0,0 @@
-/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/
-@charset "UTF-8";
-/*
-The MIT License (MIT)
-
-Copyright © 2011–2015 thoughtbot, inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
-documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
-persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial
-portions of the Software.
-
-THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-https://github.com/thoughtbot/bourbon
-*/
-.jitm-button {
- background: #f3f5f6;
- border-color: #0071a1;
- border-style: solid;
- border-width: 1px;
- color: #0071a1;
- cursor: pointer;
- display: inline-block;
- margin: 0;
- outline: 0;
- overflow: hidden;
- font-size: 14px;
- text-overflow: ellipsis;
- text-decoration: none;
- vertical-align: top;
- box-sizing: border-box;
- font-size: 14px;
- border-radius: 4px;
- padding: 7px 14px 9px;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
-}
-
-.jitm-button:hover {
- background: #f1f1f1;
- border-color: #016087;
- color: #016087;
-}
-
-.jitm-button[disabled], .jitm-button:disabled {
- color: #eeeeee;
- background: white;
- border-color: #eeeeee;
- cursor: default;
-}
-
-.jitm-button:focus {
- background: white;
- border-color: #0071a1;
- box-shadow: 0 0 0 1px #0071a1;
-}
-
-.jitm-button.is-compact {
- padding: 7px;
- font-size: 11px;
- line-height: 1;
- text-transform: uppercase;
-}
-
-.jitm-button.is-compact:disabled {
- color: #eeeeee;
-}
-
-.jitm-button.is-compact .gridicon {
- top: 4px;
- margin-top: -8px;
-}
-
-.jitm-button.is-compact .gridicons-plus-small {
- margin-left: -4px;
-}
-
-.jitm-button.is-compact .gridicons-plus-small:last-of-type {
- margin-left: 0;
-}
-
-.jitm-button.is-compact .gridicons-plus-small + .gridicon {
- margin-left: -4px;
-}
-
-.jitm-button.hidden {
- display: none;
-}
-
-.jitm-button.is-primary {
- background: #007cba;
- border-color: #007cba;
- color: white;
-}
-
-.jitm-button.is-primary:hover, .jitm-button.is-primary:focus {
- border-color: #0071a1;
- background: #0071a1;
- color: white;
-}
-
-.jitm-button.is-primary:focus {
- box-shadow: 0 0 0 1px white, 0 0 0 3px #0071a1;
-}
-
-.jitm-button.is-primary[disabled], .jitm-button.is-primary:disabled {
- background: #bceefd;
- border-color: #8cc9e2;
- color: white;
-}
-
-.jitm-button.is-primary.is-compact {
- color: white;
- white-space: nowrap;
-}
-
-.jitm-card {
- display: block;
- clear: both;
- position: relative;
- margin: 3rem 1.25rem 0 auto;
- padding: 1rem;
- box-sizing: border-box;
- background: white;
- box-shadow: 0 0 0 1px #ccd0d4, 0 1px 1px 1px rgba(0, 0, 0, 0.04);
-}
-
-.jitm-card:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}
-
-@media (min-width: 481px) {
- .jitm-card {
- margin-bottom: 1rem;
- padding: 1.5rem;
- }
-}
-
-.jitm-card.is-compact {
- margin-bottom: 0.0625rem;
-}
-
-@media (min-width: 481px) {
- .jitm-card.is-compact {
- margin-bottom: 1px;
- padding: 1rem 1.5rem;
- }
-}
-
-.jitm-card.is-card-link {
- padding-right: 3rem;
-}
-
-#screen-meta-links + .jitm-card {
- margin: 2.5rem 1.5385em 0 auto;
-}
-
-#dolly + .jitm-card {
- margin: 3rem 1rem 0 auto;
-}
-
-.post-php .jitm-card {
- margin-right: 0;
-}
-
-.jp-lower .jitm-card {
- margin: 0 0 1.5rem;
-}
-
-.jitm-banner.jitm-card {
- border-left: 4px solid;
- display: flex;
- padding: 0.75rem 0.375rem 0.75rem 0.75rem;
- position: relative;
- z-index: 2;
- border-left-color: #4ab866;
-}
-
-@media (max-width: 480px) {
- .jitm-banner.jitm-card {
- display: block;
- }
-}
-
-.jitm-banner.jitm-card.is-card-link {
- padding: 0.75rem 3rem 0.75rem 1rem;
-}
-
-.jitm-banner.jitm-card.is-dismissible {
- padding-right: 3rem;
-}
-
-.jitm-banner.jitm-card .jitm-banner__icon {
- color: #4ab866;
-}
-
-.jitm-banner.jitm-card .jitm-banner__icon-circle {
- background-color: #4ab866;
-}
-
-.jitm-banner.jitm-card.is-upgrade-personal {
- border-left-color: #f0b849;
-}
-
-.jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon {
- color: #f0b849;
-}
-
-.jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon-circle {
- background-color: #f0b849;
-}
-
-.jitm-banner.jitm-card.is-upgrade-premium {
- border-left-color: #4ab866;
-}
-
-.jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon {
- color: #4ab866;
-}
-
-.jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon-circle {
- background-color: #4ab866;
-}
-
-.jitm-banner.jitm-card.is-upgrade-business, .jitm-banner.jitm-card.woo-jitm {
- border-left-color: #855DA6;
-}
-
-.jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon, .jitm-banner.jitm-card.woo-jitm .jitm-banner__icon {
- color: #855DA6;
-}
-
-.jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon-circle, .jitm-banner.jitm-card.woo-jitm .jitm-banner__icon-circle {
- background-color: #855DA6;
-}
-
-.jitm-banner.jitm-card .jitm-card__link-indicator {
- align-items: center;
- color: #0087be;
- display: flex;
-}
-
-.jitm-banner.jitm-card:hover {
- transition: all 100ms ease-in-out;
-}
-
-.jitm-banner.jitm-card:hover.is-card-link {
- box-shadow: 0 0 0 1px #a2a2a2, 0 2px 4px #d5d5d5;
-}
-
-.jitm-banner.jitm-card:hover .jitm-card__link-indicator {
- color: #005082;
-}
-
-@media (min-width: 481px) {
- .jitm-banner.jitm-card {
- padding: 0.75rem 1rem;
- }
- .jitm-banner.jitm-card.is-dismissible {
- padding-right: 1rem;
- }
-}
-
-.jitm-banner__icons {
- display: flex;
-}
-
-.jitm-banner__icons .jitm-banner__icon,
-.jitm-banner__icons .jitm-banner__icon-circle {
- border-radius: 50%;
- flex-shrink: 0;
- height: 1.5rem;
- width: 1.5rem;
- margin-right: 1rem;
- margin-top: -0.125rem;
- text-align: center;
- top: 0.25rem;
-}
-
-.jitm-banner__icons .jitm-banner__icon {
- align-self: center;
- color: white;
- display: block;
-}
-
-.jitm-banner__icons .jitm-banner__icon-circle {
- color: white;
- display: none;
- padding: 0.1875rem 0.25rem 0.25rem 0.1875rem;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__icons {
- align-items: center;
- }
- .jitm-banner__icons .jitm-banner__icon {
- display: none;
- }
- .jitm-banner__icons .jitm-banner__icon-circle {
- display: block;
- }
-}
-
-.jitm-banner__icon-plan {
- display: flex;
- margin-right: 1rem;
-}
-
-.jitm-banner__icon-plan .dops-plan-icon {
- height: 2rem;
- width: 2rem;
-}
-
-.jitm-banner__icon-plan .jp-emblem {
- position: relative;
- top: 0.125rem;
-}
-
-@media (max-width: 480px) {
- .jitm-banner__icon-plan .jp-emblem {
- margin-bottom: 0.75rem;
- }
-}
-
-.jitm-banner__icon-plan .jp-emblem svg {
- height: 2rem;
- width: 2rem;
- fill: #00BE28;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__icon-plan {
- align-items: center;
- }
-}
-
-.jitm-banner__content {
- align-items: center;
- display: flex;
- flex-grow: 1;
- flex-wrap: wrap;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__content {
- flex-wrap: nowrap;
- }
-}
-
-.jitm-banner__info {
- flex-grow: 1;
- line-height: 1.4;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__info {
- flex-basis: 50%;
- }
-}
-
-@media (min-width: 961px) {
- .jitm-banner__info {
- flex-basis: 70%;
- }
-}
-
-.jitm-banner__info .jitm-banner__title,
-.jitm-banner__info .jitm-banner__description {
- color: #414141;
-}
-
-.jitm-banner__info .jitm-banner__title {
- font-size: 14px;
- font-weight: 500;
-}
-
-.jitm-banner__info .jitm-banner__description {
- font-size: 0.75rem;
- line-height: 1.5;
- margin-top: 0.375rem;
-}
-
-.jitm-banner__info .banner__list {
- font-size: 12px;
- list-style: none;
- margin: 10px 0;
-}
-
-.jitm-banner__info .banner__list li {
- margin: 6px 0;
-}
-
-.jitm-banner__info .banner__list li .gridicon {
- fill: #a2a2a2;
- display: inline;
- margin-right: 12px;
- vertical-align: bottom;
-}
-
-.jitm-banner__action {
- align-self: center;
- font-size: 0.75rem;
- margin: 0.5rem 0 0;
- text-align: left;
- width: 100%;
-}
-
-.jitm-banner__action .jitm-banner__prices {
- display: flex;
- justify-content: flex-start;
-}
-
-.jitm-banner__action .jitm-banner__prices .dops-plan-price {
- margin-bottom: 0;
-}
-
-.jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted,
-.jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol {
- color: #414141;
-}
-
-.has-call-to-action .jitm-banner__action .jitm-banner__prices .dops-plan-price {
- margin-bottom: 0.5rem;
-}
-
-@media (min-width: 481px) {
- .jitm-banner__action {
- margin: 0 0.25rem 0 0.5rem;
- text-align: center;
- width: auto;
- }
- .jitm-banner__action .is-dismissible {
- margin-top: 2.5rem;
- }
- .jitm-banner__action .jitm-banner__prices {
- justify-content: flex-end;
- text-align: right;
- }
-}
-
-.jitm-banner__dismiss {
- display: block;
- text-decoration: none;
- line-height: .5;
-}
-
-.jitm-banner__dismiss:before {
- color: #6f6f6f;
- font: 400 16px/1 dashicons;
- content: '\f158';
-}
-
-@media (min-width: 661px) {
- .jitm-banner__dismiss {
- margin-right: -0.5rem;
- }
-}
-
-@media (max-width: 480px) {
- .jitm-banner__dismiss {
- position: absolute;
- top: 0.875rem;
- right: 0.875rem;
- }
-}
-
-.jitm-banner__action + .jitm-banner__dismiss {
- margin-left: 0.625rem;
-}
-
-#dolly + .jitm-card {
- margin: 3rem 1rem 0 auto;
-}
-
-/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlcyI6WyJwYWNrYWdlcy9qaXRtL2Fzc2V0cy9qZXRwYWNrLWFkbWluLWppdG0uY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qIVxuKiBEbyBub3QgbW9kaWZ5IHRoaXMgZmlsZSBkaXJlY3RseS4gIEl0IGlzIGNvbXBpbGVkIFNBU1MgY29kZS5cbiovXG5AY2hhcnNldCBcIlVURi04XCI7XG4vKlxuVGhlIE1JVCBMaWNlbnNlIChNSVQpXG5cbkNvcHlyaWdodCDCqSAyMDEx4oCTMjAxNSB0aG91Z2h0Ym90LCBpbmMuXG5cblBlcm1pc3Npb24gaXMgaGVyZWJ5IGdyYW50ZWQsIGZyZWUgb2YgY2hhcmdlLCB0byBhbnkgcGVyc29uIG9idGFpbmluZyBhIGNvcHkgb2YgdGhpcyBzb2Z0d2FyZSBhbmQgYXNzb2NpYXRlZFxuZG9jdW1lbnRhdGlvbiBmaWxlcyAodGhlIOKAnFNvZnR3YXJl4oCdKSwgdG8gZGVhbCBpbiB0aGUgU29mdHdhcmUgd2l0aG91dCByZXN0cmljdGlvbiwgaW5jbHVkaW5nIHdpdGhvdXQgbGltaXRhdGlvbiB0aGVcbnJpZ2h0cyB0byB1c2UsIGNvcHksIG1vZGlmeSwgbWVyZ2UsIHB1Ymxpc2gsIGRpc3RyaWJ1dGUsIHN1YmxpY2Vuc2UsIGFuZC9vciBzZWxsIGNvcGllcyBvZiB0aGUgU29mdHdhcmUsIGFuZCB0byBwZXJtaXRcbnBlcnNvbnMgdG8gd2hvbSB0aGUgU29mdHdhcmUgaXMgZnVybmlzaGVkIHRvIGRvIHNvLCBzdWJqZWN0IHRvIHRoZSBmb2xsb3dpbmcgY29uZGl0aW9uczpcblxuVGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UgYW5kIHRoaXMgcGVybWlzc2lvbiBub3RpY2Ugc2hhbGwgYmUgaW5jbHVkZWQgaW4gYWxsIGNvcGllcyBvciBzdWJzdGFudGlhbFxucG9ydGlvbnMgb2YgdGhlIFNvZnR3YXJlLlxuXG5USEUgU09GVFdBUkUgSVMgUFJPVklERUQg4oCcQVMgSVPigJ0sIFdJVEhPVVQgV0FSUkFOVFkgT0YgQU5ZIEtJTkQsIEVYUFJFU1MgT1IgSU1QTElFRCwgSU5DTFVESU5HIEJVVCBOT1QgTElNSVRFRCBUTyBUSEVcbldBUlJBTlRJRVMgT0YgTUVSQ0hBTlRBQklMSVRZLCBGSVRORVNTIEZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRSBBTkQgTk9OSU5GUklOR0VNRU5ULiBJTiBOTyBFVkVOVCBTSEFMTCBUSEUgQVVUSE9SUyBPUlxuQ09QWVJJR0hUIEhPTERFUlMgQkUgTElBQkxFIEZPUiBBTlkgQ0xBSU0sIERBTUFHRVMgT1IgT1RIRVIgTElBQklMSVRZLCBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgVE9SVCBPUlxuT1RIRVJXSVNFLCBBUklTSU5HIEZST00sIE9VVCBPRiBPUiBJTiBDT05ORUNUSU9OIFdJVEggVEhFIFNPRlRXQVJFIE9SIFRIRSBVU0UgT1IgT1RIRVIgREVBTElOR1MgSU4gVEhFIFNPRlRXQVJFLlxuXG5odHRwczovL2dpdGh1Yi5jb20vdGhvdWdodGJvdC9ib3VyYm9uXG4qL1xuLmppdG0tYnV0dG9uIHtcbiAgYmFja2dyb3VuZDogI2YzZjVmNjtcbiAgYm9yZGVyLWNvbG9yOiAjMDA3MWExO1xuICBib3JkZXItc3R5bGU6IHNvbGlkO1xuICBib3JkZXItd2lkdGg6IDFweDtcbiAgY29sb3I6ICMwMDcxYTE7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBtYXJnaW46IDA7XG4gIG91dGxpbmU6IDA7XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgdGV4dC1vdmVyZmxvdzogZWxsaXBzaXM7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgdmVydGljYWwtYWxpZ246IHRvcDtcbiAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgZm9udC1zaXplOiAxNHB4O1xuICBib3JkZXItcmFkaXVzOiA0cHg7XG4gIHBhZGRpbmc6IDdweCAxNHB4IDlweDtcbiAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lO1xuICAtbW96LWFwcGVhcmFuY2U6IG5vbmU7XG4gICAgICAgYXBwZWFyYW5jZTogbm9uZTtcbn1cblxuLmppdG0tYnV0dG9uOmhvdmVyIHtcbiAgYmFja2dyb3VuZDogI2YxZjFmMTtcbiAgYm9yZGVyLWNvbG9yOiAjMDE2MDg3O1xuICBjb2xvcjogIzAxNjA4Nztcbn1cblxuLmppdG0tYnV0dG9uW2Rpc2FibGVkXSwgLmppdG0tYnV0dG9uOmRpc2FibGVkIHtcbiAgY29sb3I6ICNlZWVlZWU7XG4gIGJhY2tncm91bmQ6IHdoaXRlO1xuICBib3JkZXItY29sb3I6ICNlZWVlZWU7XG4gIGN1cnNvcjogZGVmYXVsdDtcbn1cblxuLmppdG0tYnV0dG9uOmZvY3VzIHtcbiAgYmFja2dyb3VuZDogd2hpdGU7XG4gIGJvcmRlci1jb2xvcjogIzAwNzFhMTtcbiAgYm94LXNoYWRvdzogMCAwIDAgMXB4ICMwMDcxYTE7XG59XG5cbi5qaXRtLWJ1dHRvbi5pcy1jb21wYWN0IHtcbiAgcGFkZGluZzogN3B4O1xuICBmb250LXNpemU6IDExcHg7XG4gIGxpbmUtaGVpZ2h0OiAxO1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xufVxuXG4uaml0bS1idXR0b24uaXMtY29tcGFjdDpkaXNhYmxlZCB7XG4gIGNvbG9yOiAjZWVlZWVlO1xufVxuXG4uaml0bS1idXR0b24uaXMtY29tcGFjdCAuZ3JpZGljb24ge1xuICB0b3A6IDRweDtcbiAgbWFyZ2luLXRvcDogLThweDtcbn1cblxuLmppdG0tYnV0dG9uLmlzLWNvbXBhY3QgLmdyaWRpY29ucy1wbHVzLXNtYWxsIHtcbiAgbWFyZ2luLWxlZnQ6IC00cHg7XG59XG5cbi5qaXRtLWJ1dHRvbi5pcy1jb21wYWN0IC5ncmlkaWNvbnMtcGx1cy1zbWFsbDpsYXN0LW9mLXR5cGUge1xuICBtYXJnaW4tbGVmdDogMDtcbn1cblxuLmppdG0tYnV0dG9uLmlzLWNvbXBhY3QgLmdyaWRpY29ucy1wbHVzLXNtYWxsICsgLmdyaWRpY29uIHtcbiAgbWFyZ2luLWxlZnQ6IC00cHg7XG59XG5cbi5qaXRtLWJ1dHRvbi5oaWRkZW4ge1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4uaml0bS1idXR0b24uaXMtcHJpbWFyeSB7XG4gIGJhY2tncm91bmQ6ICMwMDdjYmE7XG4gIGJvcmRlci1jb2xvcjogIzAwN2NiYTtcbiAgY29sb3I6IHdoaXRlO1xufVxuXG4uaml0bS1idXR0b24uaXMtcHJpbWFyeTpob3ZlciwgLmppdG0tYnV0dG9uLmlzLXByaW1hcnk6Zm9jdXMge1xuICBib3JkZXItY29sb3I6ICMwMDcxYTE7XG4gIGJhY2tncm91bmQ6ICMwMDcxYTE7XG4gIGNvbG9yOiB3aGl0ZTtcbn1cblxuLmppdG0tYnV0dG9uLmlzLXByaW1hcnk6Zm9jdXMge1xuICBib3gtc2hhZG93OiAwIDAgMCAxcHggd2hpdGUsIDAgMCAwIDNweCAjMDA3MWExO1xufVxuXG4uaml0bS1idXR0b24uaXMtcHJpbWFyeVtkaXNhYmxlZF0sIC5qaXRtLWJ1dHRvbi5pcy1wcmltYXJ5OmRpc2FibGVkIHtcbiAgYmFja2dyb3VuZDogI2JjZWVmZDtcbiAgYm9yZGVyLWNvbG9yOiAjOGNjOWUyO1xuICBjb2xvcjogd2hpdGU7XG59XG5cbi5qaXRtLWJ1dHRvbi5pcy1wcmltYXJ5LmlzLWNvbXBhY3Qge1xuICBjb2xvcjogd2hpdGU7XG4gIHdoaXRlLXNwYWNlOiBub3dyYXA7XG59XG5cbi5qaXRtLWNhcmQge1xuICBkaXNwbGF5OiBibG9jaztcbiAgY2xlYXI6IGJvdGg7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgbWFyZ2luOiAzcmVtIDEuMjVyZW0gMCBhdXRvO1xuICBwYWRkaW5nOiAxcmVtO1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICBiYWNrZ3JvdW5kOiB3aGl0ZTtcbiAgYm94LXNoYWRvdzogMCAwIDAgMXB4ICNjY2QwZDQsIDAgMXB4IDFweCAxcHggcmdiYSgwLCAwLCAwLCAwLjA0KTtcbn1cblxuLmppdG0tY2FyZDphZnRlciB7XG4gIGNvbnRlbnQ6IFwiLlwiO1xuICBkaXNwbGF5OiBibG9jaztcbiAgaGVpZ2h0OiAwO1xuICBjbGVhcjogYm90aDtcbiAgdmlzaWJpbGl0eTogaGlkZGVuO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNDgxcHgpIHtcbiAgLmppdG0tY2FyZCB7XG4gICAgbWFyZ2luLWJvdHRvbTogMXJlbTtcbiAgICBwYWRkaW5nOiAxLjVyZW07XG4gIH1cbn1cblxuLmppdG0tY2FyZC5pcy1jb21wYWN0IHtcbiAgbWFyZ2luLWJvdHRvbTogMC4wNjI1cmVtO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNDgxcHgpIHtcbiAgLmppdG0tY2FyZC5pcy1jb21wYWN0IHtcbiAgICBtYXJnaW4tYm90dG9tOiAxcHg7XG4gICAgcGFkZGluZzogMXJlbSAxLjVyZW07XG4gIH1cbn1cblxuLmppdG0tY2FyZC5pcy1jYXJkLWxpbmsge1xuICBwYWRkaW5nLXJpZ2h0OiAzcmVtO1xufVxuXG4jc2NyZWVuLW1ldGEtbGlua3MgKyAuaml0bS1jYXJkIHtcbiAgbWFyZ2luOiAyLjVyZW0gMS41Mzg1ZW0gMCBhdXRvO1xufVxuXG4jZG9sbHkgKyAuaml0bS1jYXJkIHtcbiAgbWFyZ2luOiAzcmVtIDFyZW0gMCBhdXRvO1xufVxuXG4ucG9zdC1waHAgLmppdG0tY2FyZCB7XG4gIG1hcmdpbi1yaWdodDogMDtcbn1cblxuLmpwLWxvd2VyIC5qaXRtLWNhcmQge1xuICBtYXJnaW46IDAgMCAxLjVyZW07XG59XG5cbi5qaXRtLWJhbm5lci5qaXRtLWNhcmQge1xuICBib3JkZXItbGVmdDogNHB4IHNvbGlkO1xuICBkaXNwbGF5OiBmbGV4O1xuICBwYWRkaW5nOiAwLjc1cmVtIDAuMzc1cmVtIDAuNzVyZW0gMC43NXJlbTtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB6LWluZGV4OiAyO1xuICBib3JkZXItbGVmdC1jb2xvcjogIzRhYjg2Njtcbn1cblxuQG1lZGlhIChtYXgtd2lkdGg6IDQ4MHB4KSB7XG4gIC5qaXRtLWJhbm5lci5qaXRtLWNhcmQge1xuICAgIGRpc3BsYXk6IGJsb2NrO1xuICB9XG59XG5cbi5qaXRtLWJhbm5lci5qaXRtLWNhcmQuaXMtY2FyZC1saW5rIHtcbiAgcGFkZGluZzogMC43NXJlbSAzcmVtIDAuNzVyZW0gMXJlbTtcbn1cblxuLmppdG0tYmFubmVyLmppdG0tY2FyZC5pcy1kaXNtaXNzaWJsZSB7XG4gIHBhZGRpbmctcmlnaHQ6IDNyZW07XG59XG5cbi5qaXRtLWJhbm5lci5qaXRtLWNhcmQgLmppdG0tYmFubmVyX19pY29uIHtcbiAgY29sb3I6ICM0YWI4NjY7XG59XG5cbi5qaXRtLWJhbm5lci5qaXRtLWNhcmQgLmppdG0tYmFubmVyX19pY29uLWNpcmNsZSB7XG4gIGJhY2tncm91bmQtY29sb3I6ICM0YWI4NjY7XG59XG5cbi5qaXRtLWJhbm5lci5qaXRtLWNhcmQuaXMtdXBncmFkZS1wZXJzb25hbCB7XG4gIGJvcmRlci1sZWZ0LWNvbG9yOiAjZjBiODQ5O1xufVxuXG4uaml0bS1iYW5uZXIuaml0bS1jYXJkLmlzLXVwZ3JhZGUtcGVyc29uYWwgLmppdG0tYmFubmVyX19pY29uIHtcbiAgY29sb3I6ICNmMGI4NDk7XG59XG5cbi5qaXRtLWJhbm5lci5qaXRtLWNhcmQuaXMtdXBncmFkZS1wZXJzb25hbCAuaml0bS1iYW5uZXJfX2ljb24tY2lyY2xlIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2YwYjg0OTtcbn1cblxuLmppdG0tYmFubmVyLmppdG0tY2FyZC5pcy11cGdyYWRlLXByZW1pdW0ge1xuICBib3JkZXItbGVmdC1jb2xvcjogIzRhYjg2Njtcbn1cblxuLmppdG0tYmFubmVyLmppdG0tY2FyZC5pcy11cGdyYWRlLXByZW1pdW0gLmppdG0tYmFubmVyX19pY29uIHtcbiAgY29sb3I6ICM0YWI4NjY7XG59XG5cbi5qaXRtLWJhbm5lci5qaXRtLWNhcmQuaXMtdXBncmFkZS1wcmVtaXVtIC5qaXRtLWJhbm5lcl9faWNvbi1jaXJjbGUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjNGFiODY2O1xufVxuXG4uaml0bS1iYW5uZXIuaml0bS1jYXJkLmlzLXVwZ3JhZGUtYnVzaW5lc3MsIC5qaXRtLWJhbm5lci5qaXRtLWNhcmQud29vLWppdG0ge1xuICBib3JkZXItbGVmdC1jb2xvcjogIzg1NURBNjtcbn1cblxuLmppdG0tYmFubmVyLmppdG0tY2FyZC5pcy11cGdyYWRlLWJ1c2luZXNzIC5qaXRtLWJhbm5lcl9faWNvbiwgLmppdG0tYmFubmVyLmppdG0tY2FyZC53b28taml0bSAuaml0bS1iYW5uZXJfX2ljb24ge1xuICBjb2xvcjogIzg1NURBNjtcbn1cblxuLmppdG0tYmFubmVyLmppdG0tY2FyZC5pcy11cGdyYWRlLWJ1c2luZXNzIC5qaXRtLWJhbm5lcl9faWNvbi1jaXJjbGUsIC5qaXRtLWJhbm5lci5qaXRtLWNhcmQud29vLWppdG0gLmppdG0tYmFubmVyX19pY29uLWNpcmNsZSB7XG4gIGJhY2tncm91bmQtY29sb3I6ICM4NTVEQTY7XG59XG5cbi5qaXRtLWJhbm5lci5qaXRtLWNhcmQgLmppdG0tY2FyZF9fbGluay1pbmRpY2F0b3Ige1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBjb2xvcjogIzAwODdiZTtcbiAgZGlzcGxheTogZmxleDtcbn1cblxuLmppdG0tYmFubmVyLmppdG0tY2FyZDpob3ZlciB7XG4gIHRyYW5zaXRpb246IGFsbCAxMDBtcyBlYXNlLWluLW91dDtcbn1cblxuLmppdG0tYmFubmVyLmppdG0tY2FyZDpob3Zlci5pcy1jYXJkLWxpbmsge1xuICBib3gtc2hhZG93OiAwIDAgMCAxcHggI2EyYTJhMiwgMCAycHggNHB4ICNkNWQ1ZDU7XG59XG5cbi5qaXRtLWJhbm5lci5qaXRtLWNhcmQ6aG92ZXIgLmppdG0tY2FyZF9fbGluay1pbmRpY2F0b3Ige1xuICBjb2xvcjogIzAwNTA4Mjtcbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDQ4MXB4KSB7XG4gIC5qaXRtLWJhbm5lci5qaXRtLWNhcmQge1xuICAgIHBhZGRpbmc6IDAuNzVyZW0gMXJlbTtcbiAgfVxuICAuaml0bS1iYW5uZXIuaml0bS1jYXJkLmlzLWRpc21pc3NpYmxlIHtcbiAgICBwYWRkaW5nLXJpZ2h0OiAxcmVtO1xuICB9XG59XG5cbi5qaXRtLWJhbm5lcl9faWNvbnMge1xuICBkaXNwbGF5OiBmbGV4O1xufVxuXG4uaml0bS1iYW5uZXJfX2ljb25zIC5qaXRtLWJhbm5lcl9faWNvbixcbi5qaXRtLWJhbm5lcl9faWNvbnMgLmppdG0tYmFubmVyX19pY29uLWNpcmNsZSB7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgZmxleC1zaHJpbms6IDA7XG4gIGhlaWdodDogMS41cmVtO1xuICB3aWR0aDogMS41cmVtO1xuICBtYXJnaW4tcmlnaHQ6IDFyZW07XG4gIG1hcmdpbi10b3A6IC0wLjEyNXJlbTtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICB0b3A6IDAuMjVyZW07XG59XG5cbi5qaXRtLWJhbm5lcl9faWNvbnMgLmppdG0tYmFubmVyX19pY29uIHtcbiAgYWxpZ24tc2VsZjogY2VudGVyO1xuICBjb2xvcjogd2hpdGU7XG4gIGRpc3BsYXk6IGJsb2NrO1xufVxuXG4uaml0bS1iYW5uZXJfX2ljb25zIC5qaXRtLWJhbm5lcl9faWNvbi1jaXJjbGUge1xuICBjb2xvcjogd2hpdGU7XG4gIGRpc3BsYXk6IG5vbmU7XG4gIHBhZGRpbmc6IDAuMTg3NXJlbSAwLjI1cmVtIDAuMjVyZW0gMC4xODc1cmVtO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNDgxcHgpIHtcbiAgLmppdG0tYmFubmVyX19pY29ucyB7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgfVxuICAuaml0bS1iYW5uZXJfX2ljb25zIC5qaXRtLWJhbm5lcl9faWNvbiB7XG4gICAgZGlzcGxheTogbm9uZTtcbiAgfVxuICAuaml0bS1iYW5uZXJfX2ljb25zIC5qaXRtLWJhbm5lcl9faWNvbi1jaXJjbGUge1xuICAgIGRpc3BsYXk6IGJsb2NrO1xuICB9XG59XG5cbi5qaXRtLWJhbm5lcl9faWNvbi1wbGFuIHtcbiAgZGlzcGxheTogZmxleDtcbiAgbWFyZ2luLXJpZ2h0OiAxcmVtO1xufVxuXG4uaml0bS1iYW5uZXJfX2ljb24tcGxhbiAuZG9wcy1wbGFuLWljb24ge1xuICBoZWlnaHQ6IDJyZW07XG4gIHdpZHRoOiAycmVtO1xufVxuXG4uaml0bS1iYW5uZXJfX2ljb24tcGxhbiAuanAtZW1ibGVtIHtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB0b3A6IDAuMTI1cmVtO1xufVxuXG5AbWVkaWEgKG1heC13aWR0aDogNDgwcHgpIHtcbiAgLmppdG0tYmFubmVyX19pY29uLXBsYW4gLmpwLWVtYmxlbSB7XG4gICAgbWFyZ2luLWJvdHRvbTogMC43NXJlbTtcbiAgfVxufVxuXG4uaml0bS1iYW5uZXJfX2ljb24tcGxhbiAuanAtZW1ibGVtIHN2ZyB7XG4gIGhlaWdodDogMnJlbTtcbiAgd2lkdGg6IDJyZW07XG4gIGZpbGw6ICMwMEJFMjg7XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA0ODFweCkge1xuICAuaml0bS1iYW5uZXJfX2ljb24tcGxhbiB7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgfVxufVxuXG4uaml0bS1iYW5uZXJfX2NvbnRlbnQge1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWdyb3c6IDE7XG4gIGZsZXgtd3JhcDogd3JhcDtcbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDQ4MXB4KSB7XG4gIC5qaXRtLWJhbm5lcl9fY29udGVudCB7XG4gICAgZmxleC13cmFwOiBub3dyYXA7XG4gIH1cbn1cblxuLmppdG0tYmFubmVyX19pbmZvIHtcbiAgZmxleC1ncm93OiAxO1xuICBsaW5lLWhlaWdodDogMS40O1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNDgxcHgpIHtcbiAgLmppdG0tYmFubmVyX19pbmZvIHtcbiAgICBmbGV4LWJhc2lzOiA1MCU7XG4gIH1cbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDk2MXB4KSB7XG4gIC5qaXRtLWJhbm5lcl9faW5mbyB7XG4gICAgZmxleC1iYXNpczogNzAlO1xuICB9XG59XG5cbi5qaXRtLWJhbm5lcl9faW5mbyAuaml0bS1iYW5uZXJfX3RpdGxlLFxuLmppdG0tYmFubmVyX19pbmZvIC5qaXRtLWJhbm5lcl9fZGVzY3JpcHRpb24ge1xuICBjb2xvcjogIzQxNDE0MTtcbn1cblxuLmppdG0tYmFubmVyX19pbmZvIC5qaXRtLWJhbm5lcl9fdGl0bGUge1xuICBmb250LXNpemU6IDE0cHg7XG4gIGZvbnQtd2VpZ2h0OiA1MDA7XG59XG5cbi5qaXRtLWJhbm5lcl9faW5mbyAuaml0bS1iYW5uZXJfX2Rlc2NyaXB0aW9uIHtcbiAgZm9udC1zaXplOiAwLjc1cmVtO1xuICBsaW5lLWhlaWdodDogMS41O1xuICBtYXJnaW4tdG9wOiAwLjM3NXJlbTtcbn1cblxuLmppdG0tYmFubmVyX19pbmZvIC5iYW5uZXJfX2xpc3Qge1xuICBmb250LXNpemU6IDEycHg7XG4gIGxpc3Qtc3R5bGU6IG5vbmU7XG4gIG1hcmdpbjogMTBweCAwO1xufVxuXG4uaml0bS1iYW5uZXJfX2luZm8gLmJhbm5lcl9fbGlzdCBsaSB7XG4gIG1hcmdpbjogNnB4IDA7XG59XG5cbi5qaXRtLWJhbm5lcl9faW5mbyAuYmFubmVyX19saXN0IGxpIC5ncmlkaWNvbiB7XG4gIGZpbGw6ICNhMmEyYTI7XG4gIGRpc3BsYXk6IGlubGluZTtcbiAgbWFyZ2luLXJpZ2h0OiAxMnB4O1xuICB2ZXJ0aWNhbC1hbGlnbjogYm90dG9tO1xufVxuXG4uaml0bS1iYW5uZXJfX2FjdGlvbiB7XG4gIGFsaWduLXNlbGY6IGNlbnRlcjtcbiAgZm9udC1zaXplOiAwLjc1cmVtO1xuICBtYXJnaW46IDAuNXJlbSAwIDA7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG4gIHdpZHRoOiAxMDAlO1xufVxuXG4uaml0bS1iYW5uZXJfX2FjdGlvbiAuaml0bS1iYW5uZXJfX3ByaWNlcyB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogZmxleC1zdGFydDtcbn1cblxuLmppdG0tYmFubmVyX19hY3Rpb24gLmppdG0tYmFubmVyX19wcmljZXMgLmRvcHMtcGxhbi1wcmljZSB7XG4gIG1hcmdpbi1ib3R0b206IDA7XG59XG5cbi5qaXRtLWJhbm5lcl9fYWN0aW9uIC5qaXRtLWJhbm5lcl9fcHJpY2VzIC5kb3BzLXBsYW4tcHJpY2UuaXMtZGlzY291bnRlZCxcbi5qaXRtLWJhbm5lcl9fYWN0aW9uIC5qaXRtLWJhbm5lcl9fcHJpY2VzIC5kb3BzLXBsYW4tcHJpY2UuaXMtZGlzY291bnRlZCAuZG9wcy1wbGFuLXByaWNlX19jdXJyZW5jeS1zeW1ib2wge1xuICBjb2xvcjogIzQxNDE0MTtcbn1cblxuLmhhcy1jYWxsLXRvLWFjdGlvbiAuaml0bS1iYW5uZXJfX2FjdGlvbiAuaml0bS1iYW5uZXJfX3ByaWNlcyAuZG9wcy1wbGFuLXByaWNlIHtcbiAgbWFyZ2luLWJvdHRvbTogMC41cmVtO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNDgxcHgpIHtcbiAgLmppdG0tYmFubmVyX19hY3Rpb24ge1xuICAgIG1hcmdpbjogMCAwLjI1cmVtIDAgMC41cmVtO1xuICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICB3aWR0aDogYXV0bztcbiAgfVxuICAuaml0bS1iYW5uZXJfX2FjdGlvbiAuaXMtZGlzbWlzc2libGUge1xuICAgIG1hcmdpbi10b3A6IDIuNXJlbTtcbiAgfVxuICAuaml0bS1iYW5uZXJfX2FjdGlvbiAuaml0bS1iYW5uZXJfX3ByaWNlcyB7XG4gICAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcbiAgICB0ZXh0LWFsaWduOiByaWdodDtcbiAgfVxufVxuXG4uaml0bS1iYW5uZXJfX2Rpc21pc3Mge1xuICBkaXNwbGF5OiBibG9jaztcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBsaW5lLWhlaWdodDogLjU7XG59XG5cbi5qaXRtLWJhbm5lcl9fZGlzbWlzczpiZWZvcmUge1xuICBjb2xvcjogIzZmNmY2ZjtcbiAgZm9udDogNDAwIDE2cHgvMSBkYXNoaWNvbnM7XG4gIGNvbnRlbnQ6ICdcXGYxNTgnO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNjYxcHgpIHtcbiAgLmppdG0tYmFubmVyX19kaXNtaXNzIHtcbiAgICBtYXJnaW4tcmlnaHQ6IC0wLjVyZW07XG4gIH1cbn1cblxuQG1lZGlhIChtYXgtd2lkdGg6IDQ4MHB4KSB7XG4gIC5qaXRtLWJhbm5lcl9fZGlzbWlzcyB7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHRvcDogMC44NzVyZW07XG4gICAgcmlnaHQ6IDAuODc1cmVtO1xuICB9XG59XG5cbi5qaXRtLWJhbm5lcl9fYWN0aW9uICsgLmppdG0tYmFubmVyX19kaXNtaXNzIHtcbiAgbWFyZ2luLWxlZnQ6IDAuNjI1cmVtO1xufVxuXG4jZG9sbHkgKyAuaml0bS1jYXJkIHtcbiAgbWFyZ2luOiAzcmVtIDFyZW0gMCBhdXRvO1xufVxuIl0sImZpbGUiOiJwYWNrYWdlcy9qaXRtL2Fzc2V0cy9qZXRwYWNrLWFkbWluLWppdG0uY3NzIn0= */
diff --git a/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm.min.css b/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm.min.css
deleted file mode 100644
index 109c1c49..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-jitm/assets/jetpack-admin-jitm.min.css
+++ /dev/null
@@ -1,3 +0,0 @@
-@charset "UTF-8";/*!
-* Do not modify this file directly. It is compiled SASS code.
-*/.jitm-button{background:#f3f5f6;border-color:#0071a1;border-style:solid;border-width:1px;color:#0071a1;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jitm-button:hover{background:#f1f1f1;border-color:#016087;color:#016087}.jitm-button:disabled,.jitm-button[disabled]{color:#eee;background:#fff;border-color:#eee;cursor:default}.jitm-button:focus{background:#fff;border-color:#0071a1;box-shadow:0 0 0 1px #0071a1}.jitm-button.is-compact{padding:7px;font-size:11px;line-height:1;text-transform:uppercase}.jitm-button.is-compact:disabled{color:#eee}.jitm-button.is-compact .gridicon{top:4px;margin-top:-8px}.jitm-button.is-compact .gridicons-plus-small{margin-left:-4px}.jitm-button.is-compact .gridicons-plus-small:last-of-type{margin-left:0}.jitm-button.is-compact .gridicons-plus-small+.gridicon{margin-left:-4px}.jitm-button.hidden{display:none}.jitm-button.is-primary{background:#007cba;border-color:#007cba;color:#fff}.jitm-button.is-primary:focus,.jitm-button.is-primary:hover{border-color:#0071a1;background:#0071a1;color:#fff}.jitm-button.is-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #0071a1}.jitm-button.is-primary:disabled,.jitm-button.is-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}.jitm-button.is-primary.is-compact{color:#fff;white-space:nowrap}.jitm-card{display:block;clear:both;position:relative;margin:3rem 1.25rem 0 auto;padding:1rem;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px #ccd0d4,0 1px 1px 1px rgba(0,0,0,.04)}.jitm-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.jitm-card{margin-bottom:1rem;padding:1.5rem}}.jitm-card.is-compact{margin-bottom:.0625rem}@media (min-width:481px){.jitm-card.is-compact{margin-bottom:1px;padding:1rem 1.5rem}}.jitm-card.is-card-link{padding-right:3rem}#screen-meta-links+.jitm-card{margin:2.5rem 1.5385em 0 auto}#dolly+.jitm-card{margin:3rem 1rem 0 auto}.post-php .jitm-card{margin-right:0}.jp-lower .jitm-card{margin:0 0 1.5rem}.jitm-banner.jitm-card{border-left:4px solid;display:flex;padding:.75rem .375rem .75rem .75rem;position:relative;z-index:2;border-left-color:#4ab866}@media (max-width:480px){.jitm-banner.jitm-card{display:block}}.jitm-banner.jitm-card.is-card-link{padding:.75rem 3rem .75rem 1rem}.jitm-banner.jitm-card.is-dismissible{padding-right:3rem}.jitm-banner.jitm-card .jitm-banner__icon{color:#4ab866}.jitm-banner.jitm-card .jitm-banner__icon-circle{background-color:#4ab866}.jitm-banner.jitm-card.is-upgrade-personal{border-left-color:#f0b849}.jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon{color:#f0b849}.jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon-circle{background-color:#f0b849}.jitm-banner.jitm-card.is-upgrade-premium{border-left-color:#4ab866}.jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon{color:#4ab866}.jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon-circle{background-color:#4ab866}.jitm-banner.jitm-card.is-upgrade-business,.jitm-banner.jitm-card.woo-jitm{border-left-color:#855da6}.jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon,.jitm-banner.jitm-card.woo-jitm .jitm-banner__icon{color:#855da6}.jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon-circle,.jitm-banner.jitm-card.woo-jitm .jitm-banner__icon-circle{background-color:#855da6}.jitm-banner.jitm-card .jitm-card__link-indicator{align-items:center;color:#0087be;display:flex}.jitm-banner.jitm-card:hover{transition:all .1s ease-in-out}.jitm-banner.jitm-card:hover.is-card-link{box-shadow:0 0 0 1px #a2a2a2,0 2px 4px #d5d5d5}.jitm-banner.jitm-card:hover .jitm-card__link-indicator{color:#005082}@media (min-width:481px){.jitm-banner.jitm-card{padding:.75rem 1rem}.jitm-banner.jitm-card.is-dismissible{padding-right:1rem}}.jitm-banner__icons{display:flex}.jitm-banner__icons .jitm-banner__icon,.jitm-banner__icons .jitm-banner__icon-circle{border-radius:50%;flex-shrink:0;height:1.5rem;width:1.5rem;margin-right:1rem;margin-top:-.125rem;text-align:center;top:.25rem}.jitm-banner__icons .jitm-banner__icon{align-self:center;color:#fff;display:block}.jitm-banner__icons .jitm-banner__icon-circle{color:#fff;display:none;padding:.1875rem .25rem .25rem .1875rem}@media (min-width:481px){.jitm-banner__icons{align-items:center}.jitm-banner__icons .jitm-banner__icon{display:none}.jitm-banner__icons .jitm-banner__icon-circle{display:block}}.jitm-banner__icon-plan{display:flex;margin-right:1rem}.jitm-banner__icon-plan .dops-plan-icon{height:2rem;width:2rem}.jitm-banner__icon-plan .jp-emblem{position:relative;top:.125rem}@media (max-width:480px){.jitm-banner__icon-plan .jp-emblem{margin-bottom:.75rem}}.jitm-banner__icon-plan .jp-emblem svg{height:2rem;width:2rem;fill:#00be28}@media (min-width:481px){.jitm-banner__icon-plan{align-items:center}}.jitm-banner__content{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap}@media (min-width:481px){.jitm-banner__content{flex-wrap:nowrap}}.jitm-banner__info{flex-grow:1;line-height:1.4}@media (min-width:481px){.jitm-banner__info{flex-basis:50%}}@media (min-width:961px){.jitm-banner__info{flex-basis:70%}}.jitm-banner__info .jitm-banner__description,.jitm-banner__info .jitm-banner__title{color:#414141}.jitm-banner__info .jitm-banner__title{font-size:14px;font-weight:500}.jitm-banner__info .jitm-banner__description{font-size:.75rem;line-height:1.5;margin-top:.375rem}.jitm-banner__info .banner__list{font-size:12px;list-style:none;margin:10px 0}.jitm-banner__info .banner__list li{margin:6px 0}.jitm-banner__info .banner__list li .gridicon{fill:#a2a2a2;display:inline;margin-right:12px;vertical-align:bottom}.jitm-banner__action{align-self:center;font-size:.75rem;margin:.5rem 0 0;text-align:left;width:100%}.jitm-banner__action .jitm-banner__prices{display:flex;justify-content:flex-start}.jitm-banner__action .jitm-banner__prices .dops-plan-price{margin-bottom:0}.jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted,.jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol{color:#414141}.has-call-to-action .jitm-banner__action .jitm-banner__prices .dops-plan-price{margin-bottom:.5rem}@media (min-width:481px){.jitm-banner__action{margin:0 .25rem 0 .5rem;text-align:center;width:auto}.jitm-banner__action .is-dismissible{margin-top:2.5rem}.jitm-banner__action .jitm-banner__prices{justify-content:flex-end;text-align:right}}.jitm-banner__dismiss{display:block;text-decoration:none;line-height:.5}.jitm-banner__dismiss:before{color:#6f6f6f;font:400 16px/1 dashicons;content:'\f158'}@media (min-width:661px){.jitm-banner__dismiss{margin-right:-.5rem}}@media (max-width:480px){.jitm-banner__dismiss{position:absolute;top:.875rem;right:.875rem}}.jitm-banner__action+.jitm-banner__dismiss{margin-left:.625rem}#dolly+.jitm-card{margin:3rem 1rem 0 auto} \ No newline at end of file
diff --git a/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-jitm.php b/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-jitm.php
deleted file mode 100644
index 79a2947f..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-jitm.php
+++ /dev/null
@@ -1,643 +0,0 @@
-<?php
-/**
- * Jetpack's JITM class.
- *
- * @package automattic/jetpack-jitm
- */
-
-namespace Automattic\Jetpack;
-
-use Automattic\Jetpack\Assets;
-use Automattic\Jetpack\Connection\Manager as Jetpack_Connection;
-use Automattic\Jetpack\Connection\Client;
-use Automattic\Jetpack\Assets\Logo as Jetpack_Logo;
-use Automattic\Jetpack\Partner;
-use Automattic\Jetpack\Tracking;
-use Automattic\Jetpack\Connection\Manager;
-
-/**
- * Jetpack just in time messaging through out the admin
- *
- * @since 5.6.0
- */
-class JITM {
-
- const PACKAGE_VERSION = '1.0'; // TODO: Keep in sync with version specified in composer.json.
-
- /**
- * Tracking object.
- *
- * @var Automattic\Jetpack\Tracking
- *
- * @access private
- */
- private $tracking;
-
- /**
- * The configuration method that is called from the jetpack-config package.
- */
- public static function configure() {
- $jitm = new self();
- $jitm->register();
- }
-
- /**
- * JITM constructor.
- */
- public function __construct() {
- $this->tracking = new Tracking();
- }
-
- /**
- * Determines if JITMs are enabled.
- *
- * @return bool Enable JITMs.
- */
- public function register() {
- /**
- * Filter to turn off all just in time messages
- *
- * @since 3.7.0
- * @since 5.4.0 Correct docblock to reflect default arg value
- *
- * @param bool false Whether to show just in time messages.
- */
- if ( ! apply_filters( 'jetpack_just_in_time_msgs', false ) ) {
- return false;
- }
- add_action( 'current_screen', array( $this, 'prepare_jitms' ) );
- return true;
- }
-
- /**
- * Prepare actions according to screen and post type.
- *
- * @since 3.8.2
- *
- * @uses Jetpack_Autoupdate::get_possible_failures()
- *
- * @param \WP_Screen $screen WP Core's screen object.
- */
- public function prepare_jitms( $screen ) {
- if ( ! in_array(
- $screen->id,
- array(
- 'jetpack_page_stats',
- 'jetpack_page_akismet-key-config',
- 'admin_page_jetpack_modules',
- ),
- true
- ) ) {
- add_action( 'admin_enqueue_scripts', array( $this, 'jitm_enqueue_files' ) );
- add_action( 'admin_notices', array( $this, 'ajax_message' ) );
- add_action( 'edit_form_top', array( $this, 'ajax_message' ) );
-
- // Not really a JITM. Don't know where else to put this :) .
- add_action( 'admin_notices', array( $this, 'delete_user_update_connection_owner_notice' ) );
- }
- }
-
- /**
- * A special filter for WooCommerce, to set a message based on local state.
- *
- * @param string $content The current message.
- *
- * @return array The new message.
- */
- public static function jitm_woocommerce_services_msg( $content ) {
- if ( ! function_exists( 'wc_get_base_location' ) ) {
- return $content;
- }
-
- $base_location = wc_get_base_location();
-
- switch ( $base_location['country'] ) {
- case 'US':
- $content->message = esc_html__( 'New free service: Show USPS shipping rates on your store! Added bonus: print shipping labels without leaving WooCommerce.', 'jetpack' );
- break;
- case 'CA':
- $content->message = esc_html__( 'New free service: Show Canada Post shipping rates on your store!', 'jetpack' );
- break;
- default:
- $content->message = '';
- }
-
- return $content;
- }
-
- /**
- * A special filter for WooCommerce Call To Action button
- *
- * @return string The new CTA
- */
- public static function jitm_jetpack_woo_services_install() {
- return wp_nonce_url(
- add_query_arg(
- array(
- 'wc-services-action' => 'install',
- ),
- admin_url( 'admin.php?page=wc-settings' )
- ),
- 'wc-services-install'
- );
- }
-
- /**
- * A special filter for WooCommerce Call To Action button.
- *
- * @return string The new CTA
- */
- public static function jitm_jetpack_woo_services_activate() {
- return wp_nonce_url(
- add_query_arg(
- array(
- 'wc-services-action' => 'activate',
- ),
- admin_url( 'admin.php?page=wc-settings' )
- ),
- 'wc-services-install'
- );
- }
-
- /**
- * This is an entire admin notice dedicated to messaging and handling of the case where a user is trying to delete
- * the connection owner.
- */
- public function delete_user_update_connection_owner_notice() {
- global $current_screen;
-
- /*
- * phpcs:disable WordPress.Security.NonceVerification.Recommended
- *
- * This function is firing within wp-admin and checks (below) if it is in the midst of a deletion on the users
- * page. Nonce will be already checked by WordPress, so we do not need to check ourselves.
- */
-
- if ( ! isset( $current_screen->base ) || 'users' !== $current_screen->base ) {
- return;
- }
-
- if ( ! isset( $_REQUEST['action'] ) || 'delete' !== $_REQUEST['action'] ) {
- return;
- }
-
- // Get connection owner or bail.
- $connection_manager = new Manager();
- $connection_owner_id = $connection_manager->get_connection_owner_id();
- if ( ! $connection_owner_id ) {
- return;
- }
- $connection_owner_userdata = get_userdata( $connection_owner_id );
-
- // Bail if we're not trying to delete connection owner.
- $user_ids_to_delete = array();
- if ( isset( $_REQUEST['users'] ) ) {
- $user_ids_to_delete = array_map( 'sanitize_text_field', wp_unslash( $_REQUEST['users'] ) );
- } elseif ( isset( $_REQUEST['user'] ) ) {
- $user_ids_to_delete[] = sanitize_text_field( wp_unslash( $_REQUEST['user'] ) );
- }
-
- // phpcs:enable
- $user_ids_to_delete = array_map( 'absint', $user_ids_to_delete );
- $deleting_connection_owner = in_array( $connection_owner_id, (array) $user_ids_to_delete, true );
- if ( ! $deleting_connection_owner ) {
- return;
- }
-
- // Bail if they're trying to delete themselves to avoid confusion.
- if ( get_current_user_id() === $connection_owner_id ) {
- return;
- }
-
- // Track it!
- if ( method_exists( $this->tracking, 'record_user_event' ) ) {
- $this->tracking->record_user_event( 'delete_connection_owner_notice_view' );
- }
-
- $connection_manager = new Manager();
- $connected_admins = $connection_manager->get_connected_users( 'jetpack_disconnect' );
- $user = is_a( $connection_owner_userdata, 'WP_User' ) ? esc_html( $connection_owner_userdata->data->user_login ) : '';
-
- echo "<div class='notice notice-warning' id='jetpack-notice-switch-connection-owner'>";
- echo '<h2>' . esc_html__( 'Important notice about your Jetpack connection:', 'jetpack' ) . '</h2>';
- echo '<p>' . sprintf(
- /* translators: WordPress User, if available. */
- esc_html__( 'Warning! You are about to delete the Jetpack connection owner (%s) for this site, which may cause some of your Jetpack features to stop working.', 'jetpack' ),
- esc_html( $user )
- ) . '</p>';
-
- if ( ! empty( $connected_admins ) && count( $connected_admins ) > 1 ) {
- echo '<form id="jp-switch-connection-owner" action="" method="post">';
- echo "<label for='owner'>" . esc_html__( 'You can choose to transfer connection ownership to one of these already-connected admins:', 'jetpack' ) . ' </label>';
-
- $connected_admin_ids = array_map(
- function( $connected_admin ) {
- return $connected_admin->ID;
- },
- $connected_admins
- );
-
- wp_dropdown_users(
- array(
- 'name' => 'owner',
- 'include' => array_diff( $connected_admin_ids, array( $connection_owner_id ) ),
- 'show' => 'display_name_with_login',
- )
- );
-
- echo '<p>';
- submit_button( esc_html__( 'Set new connection owner', 'jetpack' ), 'primary', 'jp-switch-connection-owner-submit', false );
- echo '</p>';
-
- echo "<div id='jp-switch-user-results'></div>";
- echo '</form>';
- ?>
- <script type="text/javascript">
- jQuery( document ).ready( function( $ ) {
- $( '#jp-switch-connection-owner' ).on( 'submit', function( e ) {
- var formData = $( this ).serialize();
- var submitBtn = document.getElementById( 'jp-switch-connection-owner-submit' );
- var results = document.getElementById( 'jp-switch-user-results' );
-
- submitBtn.disabled = true;
-
- $.ajax( {
- type : "POST",
- url : "<?php echo esc_url( get_rest_url() . 'jetpack/v4/connection/owner' ); ?>",
- data : formData,
- headers : {
- 'X-WP-Nonce': "<?php echo esc_js( wp_create_nonce( 'wp_rest' ) ); ?>",
- },
- success: function() {
- results.innerHTML = "<?php esc_html_e( 'Success!', 'jetpack' ); ?>";
- setTimeout( function() {
- $( '#jetpack-notice-switch-connection-owner' ).hide( 'slow' );
- }, 1000 );
- }
- } ).done( function() {
- submitBtn.disabled = false;
- } );
-
- e.preventDefault();
- return false;
- } );
- } );
- </script>
- <?php
- } else {
- echo '<p>' . esc_html__( 'Every Jetpack site needs at least one connected admin for the features to work properly. Please connect to your WordPress.com account via the button below. Once you connect, you may refresh this page to see an option to change the connection owner.', 'jetpack' ) . '</p>';
- $connect_url = \Jetpack::init()->build_connect_url( false, false, 'delete_connection_owner_notice' );
- echo "<a href='" . esc_url( $connect_url ) . "' target='_blank' rel='noopener noreferrer' class='button-primary'>" . esc_html__( 'Connect to WordPress.com', 'jetpack' ) . '</a>';
- }
-
- echo '<p>';
- printf(
- wp_kses(
- /* translators: URL to Jetpack support doc regarding the primary user. */
- __( "<a href='%s' target='_blank' rel='noopener noreferrer'>Learn more</a> about the connection owner and what will break if you do not have one.", 'jetpack' ),
- array(
- 'a' => array(
- 'href' => true,
- 'target' => true,
- 'rel' => true,
- ),
- )
- ),
- 'https://jetpack.com/support/primary-user/'
- );
- echo '</p>';
- echo '<p>';
- printf(
- wp_kses(
- /* translators: URL to contact Jetpack support. */
- __( 'As always, feel free to <a href="%s" target="_blank" rel="noopener noreferrer">contact our support team</a> if you have any questions.', 'jetpack' ),
- array(
- 'a' => array(
- 'href' => true,
- 'target' => true,
- 'rel' => true,
- ),
- )
- ),
- 'https://jetpack.com/contact-support'
- );
- echo '</p>';
- echo '</div>';
- }
-
- /**
- * Injects the dom to show a JITM inside of wp-admin.
- */
- public function ajax_message() {
- if ( ! is_admin() ) {
- return;
- }
-
- // do not display on Gutenberg pages.
- if ( $this->is_gutenberg_page() ) {
- return;
- }
-
- $message_path = $this->get_message_path();
- $query_string = _http_build_query( $_GET, '', ',' ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $current_screen = wp_unslash( $_SERVER['REQUEST_URI'] );
- ?>
- <div class="jetpack-jitm-message"
- data-nonce="<?php echo esc_attr( wp_create_nonce( 'wp_rest' ) ); ?>"
- data-message-path="<?php echo esc_attr( $message_path ); ?>"
- data-query="<?php echo urlencode_deep( $query_string ); ?>"
- data-redirect="<?php echo urlencode_deep( $current_screen ); ?>"
- ></div>
- <?php
- }
-
- /**
- * Get's the current message path for display of a JITM
- *
- * @return string The message path
- */
- public function get_message_path() {
- $screen = get_current_screen();
-
- return 'wp:' . $screen->id . ':' . current_filter();
- }
-
- /**
- * Function to enqueue jitm css and js
- */
- public function jitm_enqueue_files() {
- if ( $this->is_gutenberg_page() ) {
- return;
- }
- $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
- wp_register_style(
- 'jetpack-jitm-css',
- plugins_url( "assets/jetpack-admin-jitm{$min}.css", __DIR__ ),
- false,
- self::PACKAGE_VERSION .
- '-201243242'
- );
- wp_style_add_data( 'jetpack-jitm-css', 'rtl', 'replace' );
- wp_style_add_data( 'jetpack-jitm-css', 'suffix', $min );
- wp_enqueue_style( 'jetpack-jitm-css' );
-
- wp_enqueue_script(
- 'jetpack-jitm-new',
- Assets::get_file_url_for_environment( '_inc/build/jetpack-jitm.min.js', '_inc/jetpack-jitm.js' ),
- array( 'jquery' ),
- self::PACKAGE_VERSION,
- true
- );
- wp_localize_script(
- 'jetpack-jitm-new',
- 'jitm_config',
- array(
- 'api_root' => esc_url_raw( rest_url() ),
- 'activate_module_text' => esc_html__( 'Activate', 'jetpack' ),
- 'activated_module_text' => esc_html__( 'Activated', 'jetpack' ),
- 'activating_module_text' => esc_html__( 'Activating', 'jetpack' ),
- )
- );
- }
-
- /**
- * Dismisses a JITM feature class so that it will no longer be shown.
- *
- * @param string $id The id of the JITM that was dismissed.
- * @param string $feature_class The feature class of the JITM that was dismissed.
- *
- * @return bool Always true.
- */
- public function dismiss( $id, $feature_class ) {
- $this->tracking->record_user_event(
- 'jitm_dismiss_client',
- array(
- 'jitm_id' => $id,
- 'feature_class' => $feature_class,
- )
- );
-
- $hide_jitm = \Jetpack_Options::get_option( 'hide_jitm' );
- if ( ! is_array( $hide_jitm ) ) {
- $hide_jitm = array();
- }
-
- if ( isset( $hide_jitm[ $feature_class ] ) ) {
- if ( ! is_array( $hide_jitm[ $feature_class ] ) ) {
- $hide_jitm[ $feature_class ] = array(
- 'last_dismissal' => 0,
- 'number' => 0,
- );
- }
- } else {
- $hide_jitm[ $feature_class ] = array(
- 'last_dismissal' => 0,
- 'number' => 0,
- );
- }
-
- $number = $hide_jitm[ $feature_class ]['number'];
-
- $hide_jitm[ $feature_class ] = array(
- 'last_dismissal' => time(),
- 'number' => $number + 1,
- );
-
- \Jetpack_Options::update_option( 'hide_jitm', $hide_jitm );
-
- return true;
- }
-
- /**
- * Asks the wpcom API for the current message to display keyed on query string and message path
- *
- * @param string $message_path The message path to ask for.
- * @param string $query The query string originally from the front end.
- *
- * @return array The JITM's to show, or an empty array if there is nothing to show
- */
- public function get_messages( $message_path, $query ) {
- // Custom filters go here.
- add_filter( 'jitm_woocommerce_services_msg', array( $this, 'jitm_woocommerce_services_msg' ) );
- add_filter( 'jitm_jetpack_woo_services_install', array( $this, 'jitm_jetpack_woo_services_install' ) );
- add_filter( 'jitm_jetpack_woo_services_activate', array( $this, 'jitm_jetpack_woo_services_activate' ) );
-
- $user = wp_get_current_user();
-
- // Unauthenticated or invalid requests just bail.
- if ( ! $user ) {
- return array();
- }
-
- $user_roles = implode( ',', $user->roles );
- $site_id = \Jetpack_Options::get_option( 'id' );
-
- // Build our jitm request.
- $path = add_query_arg(
- array(
- 'external_user_id' => urlencode_deep( $user->ID ),
- 'user_roles' => urlencode_deep( $user_roles ),
- 'query_string' => urlencode_deep( $query ),
- 'mobile_browser' => jetpack_is_mobile( 'smart' ) ? 1 : 0,
- '_locale' => get_user_locale(),
- ),
- sprintf( '/sites/%d/jitm/%s', $site_id, $message_path )
- );
-
- // Attempt to get from cache.
- $envelopes = get_transient( 'jetpack_jitm_' . substr( md5( $path ), 0, 31 ) );
-
- // If something is in the cache and it was put in the cache after the last sync we care about, use it.
- $use_cache = false;
-
- /** This filter is documented in class.jetpack.php */
- if ( apply_filters( 'jetpack_just_in_time_msg_cache', false ) ) {
- $use_cache = true;
- }
-
- if ( $use_cache ) {
- $last_sync = (int) get_transient( 'jetpack_last_plugin_sync' );
- $from_cache = $envelopes && $last_sync > 0 && $last_sync < $envelopes['last_response_time'];
- } else {
- $from_cache = false;
- }
-
- // Otherwise, ask again.
- if ( ! $from_cache ) {
- $wpcom_response = Client::wpcom_json_api_request_as_blog(
- $path,
- '2',
- array(
- 'user_id' => $user->ID,
- 'user_roles' => implode( ',', $user->roles ),
- ),
- null,
- 'wpcom'
- );
-
- // silently fail...might be helpful to track it?
- if ( is_wp_error( $wpcom_response ) ) {
- return array();
- }
-
- $envelopes = json_decode( $wpcom_response['body'] );
-
- if ( ! is_array( $envelopes ) ) {
- return array();
- }
-
- $expiration = isset( $envelopes[0] ) ? $envelopes[0]->ttl : 300;
-
- // Do not cache if expiration is 0 or we're not using the cache.
- if ( 0 !== $expiration && $use_cache ) {
- $envelopes['last_response_time'] = time();
-
- set_transient( 'jetpack_jitm_' . substr( md5( $path ), 0, 31 ), $envelopes, $expiration );
- }
- }
-
- $hidden_jitms = \Jetpack_Options::get_option( 'hide_jitm' );
- unset( $envelopes['last_response_time'] );
-
- /**
- * Allow adding your own custom JITMs after a set of JITMs has been received.
- *
- * @since 6.9.0
- *
- * @param array $envelopes array of existing JITMs.
- */
- $envelopes = apply_filters( 'jetpack_jitm_received_envelopes', $envelopes );
-
- foreach ( $envelopes as $idx => &$envelope ) {
-
- $dismissed_feature = isset( $hidden_jitms[ $envelope->feature_class ] ) && is_array( $hidden_jitms[ $envelope->feature_class ] ) ? $hidden_jitms[ $envelope->feature_class ] : null;
-
- // If the this feature class has been dismissed and the request has not passed the ttl, skip it as it's been dismissed.
- if ( is_array( $dismissed_feature ) && ( time() - $dismissed_feature['last_dismissal'] < $envelope->expires || $dismissed_feature['number'] >= $envelope->max_dismissal ) ) {
- unset( $envelopes[ $idx ] );
- continue;
- }
-
- $this->tracking->record_user_event(
- 'jitm_view_client',
- array(
- 'jitm_id' => $envelope->id,
- )
- );
-
- $normalized_site_url = \Jetpack::build_raw_urls( get_home_url() );
-
- $url_params = array(
- 'source' => "jitm-$envelope->id",
- 'site' => $normalized_site_url,
- 'u' => $user->ID,
- );
-
- // Get affiliate code and add it to the array of URL parameters.
- $aff = Partner::init()->get_partner_code( Partner::AFFILIATE_CODE );
- if ( '' !== $aff ) {
- $url_params['aff'] = $aff;
- }
-
- $envelope->url = add_query_arg( $url_params, 'https://jetpack.com/redirect/' );
-
- $envelope->jitm_stats_url = \Jetpack::build_stats_url( array( 'x_jetpack-jitm' => $envelope->id ) );
-
- // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- // $CTA is not valid per PHPCS, but it is part of the return from WordPress.com, so allowing.
- if ( $envelope->CTA->hook ) {
- $envelope->url = apply_filters( 'jitm_' . $envelope->CTA->hook, $envelope->url );
- unset( $envelope->CTA->hook );
- }
- // phpcs:enable
-
- if ( isset( $envelope->content->hook ) ) {
- $envelope->content = apply_filters( 'jitm_' . $envelope->content->hook, $envelope->content );
- unset( $envelope->content->hook );
- }
-
- // No point in showing an empty message.
- if ( empty( $envelope->content->message ) ) {
- unset( $envelopes[ $idx ] );
- continue;
- }
-
- switch ( $envelope->content->icon ) {
- case 'jetpack':
- $jetpack_logo = new Jetpack_Logo();
- $envelope->content->icon = '<div class="jp-emblem">' . $jetpack_logo->get_jp_emblem() . '</div>';
- break;
- case 'woocommerce':
- $envelope->content->icon = '<div class="jp-emblem"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 168 100" xml:space="preserve" enable-background="new 0 0 168 100" width="50" height="30"><style type="text/css">
- .st0{clip-path:url(#SVGID_2_);enable-background:new ;}
- .st1{clip-path:url(#SVGID_4_);}
- .st2{clip-path:url(#SVGID_6_);}
- .st3{clip-path:url(#SVGID_8_);fill:#8F567F;}
- .st4{clip-path:url(#SVGID_10_);fill:#FFFFFE;}
- .st5{clip-path:url(#SVGID_12_);fill:#FFFFFE;}
- .st6{clip-path:url(#SVGID_14_);fill:#FFFFFE;}
- </style><g><defs><polygon id="SVGID_1_" points="83.8 100 0 100 0 0.3 83.8 0.3 167.6 0.3 167.6 100 "/></defs><clipPath id="SVGID_2_"><use xlink:href="#SVGID_1_" overflow="visible"/></clipPath><g class="st0"><g><defs><rect id="SVGID_3_" width="168" height="100"/></defs><clipPath id="SVGID_4_"><use xlink:href="#SVGID_3_" overflow="visible"/></clipPath><g class="st1"><defs><path id="SVGID_5_" d="M15.6 0.3H152c8.6 0 15.6 7 15.6 15.6v52c0 8.6-7 15.6-15.6 15.6h-48.9l6.7 16.4L80.2 83.6H15.6C7 83.6 0 76.6 0 67.9v-52C0 7.3 7 0.3 15.6 0.3"/></defs><clipPath id="SVGID_6_"><use xlink:href="#SVGID_5_" overflow="visible"/></clipPath><g class="st2"><defs><rect id="SVGID_7_" width="168" height="100"/></defs><clipPath id="SVGID_8_"><use xlink:href="#SVGID_7_" overflow="visible"/></clipPath><rect x="-10" y="-9.7" class="st3" width="187.6" height="119.7"/></g></g></g></g></g><g><defs><path id="SVGID_9_" d="M8.4 14.5c1-1.3 2.4-2 4.3-2.1 3.5-0.2 5.5 1.4 6 4.9 2.1 14.3 4.4 26.4 6.9 36.4l15-28.6c1.4-2.6 3.1-3.9 5.2-4.1 3-0.2 4.9 1.7 5.6 5.7 1.7 9.1 3.9 16.9 6.5 23.4 1.8-17.4 4.8-30 9-37.7 1-1.9 2.5-2.9 4.5-3 1.6-0.1 3 0.3 4.3 1.4 1.3 1 2 2.3 2.1 3.9 0.1 1.2-0.1 2.3-0.7 3.3 -2.7 5-4.9 13.2-6.6 24.7 -1.7 11.1-2.3 19.8-1.9 26.1 0.1 1.7-0.1 3.2-0.8 4.5 -0.8 1.5-2 2.4-3.7 2.5 -1.8 0.1-3.6-0.7-5.4-2.5C52.4 66.7 47.4 57 43.7 44.1c-4.4 8.8-7.7 15.3-9.9 19.7 -4 7.7-7.5 11.7-10.3 11.9 -1.9 0.1-3.5-1.4-4.8-4.7 -3.5-9-7.3-26.3-11.3-52C7.1 17.3 7.5 15.8 8.4 14.5"/></defs><clipPath id="SVGID_10_"><use xlink:href="#SVGID_9_" overflow="visible"/></clipPath><rect x="-2.7" y="-0.6" class="st4" width="90.6" height="86.4"/></g><g><defs><path id="SVGID_11_" d="M155.6 25.2c-2.5-4.3-6.1-6.9-11-7.9 -1.3-0.3-2.5-0.4-3.7-0.4 -6.6 0-11.9 3.4-16.1 10.2 -3.6 5.8-5.3 12.3-5.3 19.3 0 5.3 1.1 9.8 3.3 13.6 2.5 4.3 6.1 6.9 11 7.9 1.3 0.3 2.5 0.4 3.7 0.4 6.6 0 12-3.4 16.1-10.2 3.6-5.9 5.3-12.4 5.3-19.4C159 33.4 157.9 28.9 155.6 25.2zM147 44.2c-0.9 4.5-2.7 7.9-5.2 10.1 -2 1.8-3.9 2.5-5.5 2.2 -1.7-0.3-3-1.8-4-4.4 -0.8-2.1-1.2-4.2-1.2-6.2 0-1.7 0.2-3.4 0.5-5 0.6-2.8 1.8-5.5 3.6-8.1 2.3-3.3 4.7-4.8 7.1-4.2 1.7 0.3 3 1.8 4 4.4 0.8 2.1 1.2 4.2 1.2 6.2C147.5 40.9 147.3 42.6 147 44.2z"/></defs><clipPath id="SVGID_12_"><use xlink:href="#SVGID_11_" overflow="visible"/></clipPath><rect x="109.6" y="6.9" class="st5" width="59.4" height="71.4"/></g><g><defs><path id="SVGID_13_" d="M112.7 25.2c-2.5-4.3-6.1-6.9-11-7.9 -1.3-0.3-2.5-0.4-3.7-0.4 -6.6 0-11.9 3.4-16.1 10.2 -3.5 5.8-5.3 12.3-5.3 19.3 0 5.3 1.1 9.8 3.3 13.6 2.5 4.3 6.1 6.9 11 7.9 1.3 0.3 2.5 0.4 3.7 0.4 6.6 0 12-3.4 16.1-10.2 3.5-5.9 5.3-12.4 5.3-19.4C116 33.4 114.9 28.9 112.7 25.2zM104.1 44.2c-0.9 4.5-2.7 7.9-5.2 10.1 -2 1.8-3.9 2.5-5.5 2.2 -1.7-0.3-3-1.8-4-4.4 -0.8-2.1-1.2-4.2-1.2-6.2 0-1.7 0.2-3.4 0.5-5 0.6-2.8 1.8-5.5 3.6-8.1 2.3-3.3 4.7-4.8 7.1-4.2 1.7 0.3 3 1.8 4 4.4 0.8 2.1 1.2 4.2 1.2 6.2C104.6 40.9 104.4 42.6 104.1 44.2z"/></defs><clipPath id="SVGID_14_"><use xlink:href="#SVGID_13_" overflow="visible"/></clipPath><rect x="66.7" y="6.9" class="st6" width="59.4" height="71.4"/></g></svg></div>';
- break;
- default:
- $envelope->content->icon = '';
- break;
- }
-
- $jetpack = \Jetpack::init();
- $jetpack->stat( 'jitm', $envelope->id . '-viewed-' . JETPACK__VERSION );
- $jetpack->do_stats( 'server_side' );
- }
-
- return $envelopes;
- }
-
- /**
- * Is the current page a block editor page?
- *
- * @since 8.0.0
- */
- private function is_gutenberg_page() {
- $current_screen = get_current_screen();
- return ( method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor() );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-logo/src/class-logo.php b/plugins/jetpack/vendor/automattic/jetpack-logo/src/class-logo.php
deleted file mode 100644
index ded465dd..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-logo/src/class-logo.php
+++ /dev/null
@@ -1,71 +0,0 @@
-<?php
-/**
- * A logo for Jetpack.
- *
- * @package automattic/jetpack-logo
- */
-
-namespace Automattic\Jetpack\Assets;
-
-/**
- * Jetpack logo as SVG shapes.
- *
- * Initializes the logo property with a string describing the Jetpack logo.
- * The Jetpack logo SVG string includes CSS classes to stylize it:
- * - jetpack-logo: the wrapper <svg> tag.
- * - jetpack-logo__icon-circle: the circle of the Jetpack mark.
- * - jetpack-logo__icon-triangle: two shapes that correspond to each triangle in the Jetpack mark.
- * - jetpack-logo__icon-text: the Jetpack lettering.
- *
- * @var string
- */
-const JETPACK_LOGO_SVG = <<<'EOSVG'
-<svg xmlns="http://www.w3.org/2000/svg" height="32" class="jetpack-logo" viewBox="0 0 118 32">
- <path class="jetpack-logo__icon-circle" d="M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z" fill="#00be28" />
- <polygon class="jetpack-logo__icon-triangle" points="15,19 7,19 15,3" fill="#fff" />
- <polygon class="jetpack-logo__icon-triangle" points="17,29 17,13 25,13" fill="#fff" />
- <path class="jetpack-logo__text" d="M41.3 26.6c-.5-.7-.9-1.4-1.3-2.1 2.3-1.4 3-2.5 3-4.6V8h-3V6h6v13.4C46 22.8 45 24.8 41.3 26.6zM58.5 21.3c-1.5.5-2.7.6-4.2.6-3.6 0-5.8-1.8-5.8-6 0-3.1 1.9-5.9 5.5-5.9s4.9 2.5 4.9 4.9c0 .8 0 1.5-.1 2h-7.3c.1 2.5 1.5 2.8 3.6 2.8 1.1 0 2.2-.3 3.4-.7C58.5 19 58.5 21.3 58.5 21.3zM56 15c0-1.4-.5-2.9-2-2.9-1.4 0-2.3 1.3-2.4 2.9C51.6 15 56 15 56 15zM65 18.4c0 1.1.8 1.3 1.4 1.3.5 0 2-.2 2.6-.4v2.1c-.9.3-2.5.5-3.7.5-1.5 0-3.2-.5-3.2-3.1V12H60v-2h2.1V7.1H65V10h4v2h-4V18.4zM71 10h3v1.3c1.1-.8 1.9-1.3 3.3-1.3 2.5 0 4.5 1.8 4.5 5.6s-2.2 6.3-5.8 6.3c-.9 0-1.3-.1-2-.3V28h-3V10zM76.5 12.3c-.8 0-1.6.4-2.5 1.2v5.9c.6.1.9.2 1.8.2 2 0 3.2-1.3 3.2-3.9C79 13.4 78.1 12.3 76.5 12.3zM93 22h-3v-1.5c-.9.7-1.9 1.5-3.5 1.5-1.5 0-3.1-1.1-3.1-3.2 0-2.9 2.5-3.4 4.2-3.7l2.4-.3v-.3c0-1.5-.5-2.3-2-2.3-.7 0-2.3.5-3.7 1.1L84 11c1.2-.4 3-1 4.4-1 2.7 0 4.6 1.4 4.6 4.7L93 22zM90 16.4l-2.2.4c-.7.1-1.4.5-1.4 1.6 0 .9.5 1.4 1.3 1.4s1.5-.5 2.3-1V16.4zM104.5 21.3c-1.1.4-2.2.6-3.5.6-4.2 0-5.9-2.4-5.9-5.9 0-3.7 2.3-6 6.1-6 1.4 0 2.3.2 3.2.5V13c-.8-.3-2-.6-3.2-.6-1.7 0-3.2.9-3.2 3.6 0 2.9 1.5 3.8 3.3 3.8.9 0 1.9-.2 3.2-.7V21.3zM110 15.2c.2-.3.2-.8 3.8-5.2h3.7l-4.6 5.7 5 6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z" />
-</svg>
-EOSVG;
-
-/**
- * Create and render a Jetpack logo.
- */
-class Logo {
-
- /**
- * Return the Jetpack logo.
- *
- * @return string The Jetpack logo.
- */
- public function render() {
- return JETPACK_LOGO_SVG;
- }
-
- /**
- * Return string containing the Jetpack logo.
- *
- * @since 7.5.0
- *
- * @param bool $logotype Should we use the full logotype (logo + text). Default to false.
- *
- * @return string
- */
- public function get_jp_emblem( $logotype = false ) {
- $logo = '<path fill="#00BE28" d="M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16c8.8,0,16-7.2,16-16S24.8,0,16,0z M15.2,18.7h-8l8-15.5V18.7z M16.8,28.8 V13.3h8L16.8,28.8z"/>';
- $text = '
-<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" />
-<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" />
-<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" />
-<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" />
-<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" />
-<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" />
-<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" />
- ';
- return sprintf(
- '<svg id="jetpack-logo__icon" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 %1$s 32">%2$s</svg>',
- ( true === $logotype ? '118' : '32' ),
- ( true === $logotype ? $logo . $text : $logo )
- );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-options/legacy/class-jetpack-options.php b/plugins/jetpack/vendor/automattic/jetpack-options/legacy/class-jetpack-options.php
deleted file mode 100644
index 5a0ea022..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-options/legacy/class-jetpack-options.php
+++ /dev/null
@@ -1,646 +0,0 @@
-<?php
-/**
- * Legacy Jetpack_Options class.
- *
- * @package automattic/jetpack-options
- */
-
-use Automattic\Jetpack\Constants;
-
-/**
- * Class Jetpack_Options
- */
-class Jetpack_Options {
-
- /**
- * An array that maps a grouped option type to an option name.
- *
- * @var array
- */
- private static $grouped_options = array(
- 'compact' => 'jetpack_options',
- 'private' => 'jetpack_private_options',
- );
-
- /**
- * Returns an array of option names for a given type.
- *
- * @param string $type The type of option to return. Defaults to 'compact'.
- *
- * @return array
- */
- public static function get_option_names( $type = 'compact' ) {
- switch ( $type ) {
- case 'non-compact':
- case 'non_compact':
- return array(
- 'activated',
- 'active_modules',
- 'allowed_xsite_search_ids', // (array) Array of WP.com blog ids that are allowed to search the content of this site
- 'available_modules',
- 'do_activate',
- 'edit_links_calypso_redirect', // (bool) Whether post/page edit links on front end should point to Calypso.
- 'log',
- 'slideshow_background_color',
- 'widget_twitter',
- 'wpcc_options',
- 'relatedposts',
- 'file_data',
- 'autoupdate_plugins', // (array) An array of plugin ids ( eg. jetpack/jetpack ) that should be autoupdated
- 'autoupdate_plugins_translations', // (array) An array of plugin ids ( eg. jetpack/jetpack ) that should be autoupdated translation files.
- 'autoupdate_themes', // (array) An array of theme ids ( eg. twentyfourteen ) that should be autoupdated
- 'autoupdate_themes_translations', // (array) An array of theme ids ( eg. twentyfourteen ) that should autoupdated translation files.
- 'autoupdate_core', // (bool) Whether or not to autoupdate core
- 'autoupdate_translations', // (bool) Whether or not to autoupdate all translations
- 'json_api_full_management', // (bool) Allow full management (eg. Activate, Upgrade plugins) of the site via the JSON API.
- 'sync_non_public_post_stati', // (bool) Allow synchronisation of posts and pages with non-public status.
- 'site_icon_url', // (string) url to the full site icon
- 'site_icon_id', // (int) Attachment id of the site icon file
- 'dismissed_manage_banner', // (bool) Dismiss Jetpack manage banner allows the user to dismiss the banner permanently
- 'unique_connection', // (array) A flag to determine a unique connection to wordpress.com two values "connected" and "disconnected" with values for how many times each has occured
- 'protect_whitelist', // (array) IP Address for the Protect module to ignore
- 'sync_error_idc', // (bool|array) false or array containing the site's home and siteurl at time of IDC error
- 'safe_mode_confirmed', // (bool) True if someone confirms that this site was correctly put into safe mode automatically after an identity crisis is discovered.
- 'migrate_for_idc', // (bool) True if someone confirms that this site should migrate stats and subscribers from its previous URL
- 'dismissed_connection_banner', // (bool) True if the connection banner has been dismissed
- 'ab_connect_banner_green_bar', // (int) Version displayed of the A/B test for the green bar at the top of the connect banner.
- 'onboarding', // (string) Auth token to be used in the onboarding connection flow
- 'tos_agreed', // (bool) Whether or not the TOS for connection has been agreed upon.
- 'static_asset_cdn_files', // (array) An nested array of files that we can swap out for cdn versions.
- 'mapbox_api_key', // (string) Mapbox API Key, for use with Map block.
- 'mailchimp', // (string) Mailchimp keyring data, for mailchimp block.
- 'xmlrpc_errors', // (array) Keys are XML-RPC signature error codes. Values are truthy.
- );
-
- case 'private':
- return array(
- 'blog_token', // (string) The Client Secret/Blog Token of this site.
- 'user_token', // (string) The User Token of this site. (deprecated)
- 'user_tokens', // (array) User Tokens for each user of this site who has connected to jetpack.wordpress.com.
- );
-
- case 'network':
- return array(
- 'onboarding', // (string) Auth token to be used in the onboarding connection flow
- 'file_data', // (array) List of absolute paths to all Jetpack modules
- );
- }
-
- return array(
- 'id', // (int) The Client ID/WP.com Blog ID of this site.
- 'publicize_connections', // (array) An array of Publicize connections from WordPress.com.
- 'master_user', // (int) The local User ID of the user who connected this site to jetpack.wordpress.com.
- 'version', // (string) Used during upgrade procedure to auto-activate new modules. version:time.
- 'old_version', // (string) Used to determine which modules are the most recently added. previous_version:time.
- 'fallback_no_verify_ssl_certs', // (int) Flag for determining if this host must skip SSL Certificate verification due to misconfigured SSL.
- 'time_diff', // (int) Offset between Jetpack server's clocks and this server's clocks. Jetpack Server Time = time() + (int) Jetpack_Options::get_option( 'time_diff' )
- 'public', // (int|bool) If we think this site is public or not (1, 0), false if we haven't yet tried to figure it out.
- 'videopress', // (array) VideoPress options array.
- 'is_network_site', // (int|bool) If we think this site is a network or a single blog (1, 0), false if we haven't yet tried to figue it out.
- 'social_links', // (array) The specified links for each social networking site.
- 'identity_crisis_whitelist', // (array) An array of options, each having an array of the values whitelisted for it.
- 'gplus_authors', // (array) The Google+ authorship information for connected users.
- 'last_heartbeat', // (int) The timestamp of the last heartbeat that fired.
- 'hide_jitm', // (array) A list of just in time messages that we should not show because they have been dismissed by the user.
- 'custom_css_4.7_migration', // (bool) Whether Custom CSS has scanned for and migrated any legacy CSS CPT entries to the new Core format.
- 'image_widget_migration', // (bool) Whether any legacy Image Widgets have been converted to the new Core widget.
- 'gallery_widget_migration', // (bool) Whether any legacy Gallery Widgets have been converted to the new Core widget.
- 'sso_first_login', // (bool) Is this the first time the user logins via SSO.
- 'dismissed_hints', // (array) Part of Plugin Search Hints. List of cards that have been dismissed.
- 'first_admin_view', // (bool) Set to true the first time the user views the admin. Usually after the initial connection.
- );
- }
-
- /**
- * Is the option name valid?
- *
- * @param string $name The name of the option.
- * @param string|null $group The name of the group that the option is in. Default to null, which will search non_compact.
- *
- * @return bool Is the option name valid?
- */
- public static function is_valid( $name, $group = null ) {
- if ( is_array( $name ) ) {
- $compact_names = array();
- foreach ( array_keys( self::$grouped_options ) as $_group ) {
- $compact_names = array_merge( $compact_names, self::get_option_names( $_group ) );
- }
-
- $result = array_diff( $name, self::get_option_names( 'non_compact' ), $compact_names );
-
- return empty( $result );
- }
-
- if ( is_null( $group ) || 'non_compact' === $group ) {
- if ( in_array( $name, self::get_option_names( $group ), true ) ) {
- return true;
- }
- }
-
- foreach ( array_keys( self::$grouped_options ) as $_group ) {
- if ( is_null( $group ) || $group === $_group ) {
- if ( in_array( $name, self::get_option_names( $_group ), true ) ) {
- return true;
- }
- }
- }
-
- return false;
- }
-
- /**
- * Checks if an option must be saved for the whole network in WP Multisite
- *
- * @param string $option_name Option name. It must come _without_ `jetpack_%` prefix. The method will prefix the option name.
- *
- * @return bool
- */
- public static function is_network_option( $option_name ) {
- if ( ! is_multisite() ) {
- return false;
- }
- return in_array( $option_name, self::get_option_names( 'network' ), true );
- }
-
- /**
- * Returns the requested option. Looks in jetpack_options or jetpack_$name as appropriate.
- *
- * @param string $name Option name. It must come _without_ `jetpack_%` prefix. The method will prefix the option name.
- * @param mixed $default (optional).
- *
- * @return mixed
- */
- public static function get_option( $name, $default = false ) {
- if ( self::is_valid( $name, 'non_compact' ) ) {
- if ( self::is_network_option( $name ) ) {
- return get_site_option( "jetpack_$name", $default );
- }
-
- return get_option( "jetpack_$name", $default );
- }
-
- foreach ( array_keys( self::$grouped_options ) as $group ) {
- if ( self::is_valid( $name, $group ) ) {
- return self::get_grouped_option( $group, $name, $default );
- }
- }
-
- trigger_error( sprintf( 'Invalid Jetpack option name: %s', esc_html( $name ) ), E_USER_WARNING ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error -- Don't wish to change legacy behavior.
-
- return $default;
- }
-
- /**
- * Returns the requested option, and ensures it's autoloaded in the future.
- * This does _not_ adjust the prefix in any way (does not prefix jetpack_%)
- *
- * @param string $name Option name.
- * @param mixed $default (optional).
- *
- * @return mixed
- */
- public static function get_option_and_ensure_autoload( $name, $default ) {
- // In this function the name is not adjusted by prefixing jetpack_
- // so if it has already prefixed, we'll replace it and then
- // check if the option name is a network option or not.
- $jetpack_name = preg_replace( '/^jetpack_/', '', $name, 1 );
- $is_network_option = self::is_network_option( $jetpack_name );
- $value = $is_network_option ? get_site_option( $name ) : get_option( $name );
-
- if ( false === $value && false !== $default ) {
- if ( $is_network_option ) {
- add_site_option( $name, $default );
- } else {
- add_option( $name, $default );
- }
- $value = $default;
- }
-
- return $value;
- }
-
- /**
- * Update grouped option
- *
- * @param string $group Options group.
- * @param string $name Options name.
- * @param mixed $value Options value.
- *
- * @return bool Success or failure.
- */
- private static function update_grouped_option( $group, $name, $value ) {
- $options = get_option( self::$grouped_options[ $group ] );
- if ( ! is_array( $options ) ) {
- $options = array();
- }
- $options[ $name ] = $value;
-
- return update_option( self::$grouped_options[ $group ], $options );
- }
-
- /**
- * Updates the single given option. Updates jetpack_options or jetpack_$name as appropriate.
- *
- * @param string $name Option name. It must come _without_ `jetpack_%` prefix. The method will prefix the option name.
- * @param mixed $value Option value.
- * @param string $autoload If not compact option, allows specifying whether to autoload or not.
- *
- * @return bool Was the option successfully updated?
- */
- public static function update_option( $name, $value, $autoload = null ) {
- /**
- * Fires before Jetpack updates a specific option.
- *
- * @since 3.0.0
- *
- * @param str $name The name of the option being updated.
- * @param mixed $value The new value of the option.
- */
- do_action( 'pre_update_jetpack_option_' . $name, $name, $value );
- if ( self::is_valid( $name, 'non_compact' ) ) {
- if ( self::is_network_option( $name ) ) {
- return update_site_option( "jetpack_$name", $value );
- }
-
- return update_option( "jetpack_$name", $value, $autoload );
-
- }
-
- foreach ( array_keys( self::$grouped_options ) as $group ) {
- if ( self::is_valid( $name, $group ) ) {
- return self::update_grouped_option( $group, $name, $value );
- }
- }
-
- trigger_error( sprintf( 'Invalid Jetpack option name: %s', esc_html( $name ) ), E_USER_WARNING ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error -- Don't want to change legacy behavior.
-
- return false;
- }
-
- /**
- * Updates the multiple given options. Updates jetpack_options and/or jetpack_$name as appropriate.
- *
- * @param array $array array( option name => option value, ... ).
- */
- public static function update_options( $array ) {
- $names = array_keys( $array );
-
- foreach ( array_diff( $names, self::get_option_names(), self::get_option_names( 'non_compact' ), self::get_option_names( 'private' ) ) as $unknown_name ) {
- trigger_error( sprintf( 'Invalid Jetpack option name: %s', esc_html( $unknown_name ) ), E_USER_WARNING ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error -- Don't change legacy behavior.
- unset( $array[ $unknown_name ] );
- }
-
- foreach ( $names as $name ) {
- self::update_option( $name, $array[ $name ] );
- }
- }
-
- /**
- * Deletes the given option. May be passed multiple option names as an array.
- * Updates jetpack_options and/or deletes jetpack_$name as appropriate.
- *
- * @param string|array $names Option names. They must come _without_ `jetpack_%` prefix. The method will prefix the option names.
- *
- * @return bool Was the option successfully deleted?
- */
- public static function delete_option( $names ) {
- $result = true;
- $names = (array) $names;
-
- if ( ! self::is_valid( $names ) ) {
- // phpcs:disable -- This line triggers a handful of errors; ignoring to avoid changing legacy behavior.
- trigger_error( sprintf( 'Invalid Jetpack option names: %s', print_r( $names, 1 ) ), E_USER_WARNING );
- // phpcs:enable
- return false;
- }
-
- foreach ( array_intersect( $names, self::get_option_names( 'non_compact' ) ) as $name ) {
- if ( self::is_network_option( $name ) ) {
- $result = delete_site_option( "jetpack_$name" );
- } else {
- $result = delete_option( "jetpack_$name" );
- }
- }
-
- foreach ( array_keys( self::$grouped_options ) as $group ) {
- if ( ! self::delete_grouped_option( $group, $names ) ) {
- $result = false;
- }
- }
-
- return $result;
- }
-
- /**
- * Get group option.
- *
- * @param string $group Option group name.
- * @param string $name Option name.
- * @param mixed $default Default option value.
- *
- * @return mixed Option.
- */
- private static function get_grouped_option( $group, $name, $default ) {
- $options = get_option( self::$grouped_options[ $group ] );
- if ( is_array( $options ) && isset( $options[ $name ] ) ) {
- return $options[ $name ];
- }
-
- return $default;
- }
-
- /**
- * Delete grouped option.
- *
- * @param string $group Option group name.
- * @param array $names Option names.
- *
- * @return bool Success or failure.
- */
- private static function delete_grouped_option( $group, $names ) {
- $options = get_option( self::$grouped_options[ $group ], array() );
-
- $to_delete = array_intersect( $names, self::get_option_names( $group ), array_keys( $options ) );
- if ( $to_delete ) {
- foreach ( $to_delete as $name ) {
- unset( $options[ $name ] );
- }
-
- return update_option( self::$grouped_options[ $group ], $options );
- }
-
- return true;
- }
-
- /*
- * Raw option methods allow Jetpack to get / update / delete options via direct DB queries, including options
- * that are not created by the Jetpack plugin. This is helpful only in rare cases when we need to bypass
- * cache and filters.
- */
-
- /**
- * Deletes an option via $wpdb query.
- *
- * @param string $name Option name.
- *
- * @return bool Is the option deleted?
- */
- public static function delete_raw_option( $name ) {
- if ( self::bypass_raw_option( $name ) ) {
- return delete_option( $name );
- }
- global $wpdb;
- $result = $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->options WHERE option_name = %s", $name ) );
- return $result;
- }
-
- /**
- * Updates an option via $wpdb query.
- *
- * @param string $name Option name.
- * @param mixed $value Option value.
- * @param bool $autoload Specifying whether to autoload or not.
- *
- * @return bool Is the option updated?
- */
- public static function update_raw_option( $name, $value, $autoload = false ) {
- if ( self::bypass_raw_option( $name ) ) {
- return update_option( $name, $value, $autoload );
- }
- global $wpdb;
- $autoload_value = $autoload ? 'yes' : 'no';
-
- $old_value = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT option_value FROM $wpdb->options WHERE option_name = %s LIMIT 1",
- $name
- )
- );
- if ( $old_value === $value ) {
- return false;
- }
-
- $serialized_value = maybe_serialize( $value );
- // below we used "insert ignore" to at least suppress the resulting error.
- $updated_num = $wpdb->query(
- $wpdb->prepare(
- "UPDATE $wpdb->options SET option_value = %s WHERE option_name = %s",
- $serialized_value,
- $name
- )
- );
-
- // Try inserting the option if the value doesn't exits.
- if ( ! $updated_num ) {
- $updated_num = $wpdb->query(
- $wpdb->prepare(
- "INSERT IGNORE INTO $wpdb->options ( option_name, option_value, autoload ) VALUES ( %s, %s, %s )",
- $name,
- $serialized_value,
- $autoload_value
- )
- );
- }
- return (bool) $updated_num;
- }
-
- /**
- * Gets an option via $wpdb query.
- *
- * @since 5.4.0
- *
- * @param string $name Option name.
- * @param mixed $default Default option value if option is not found.
- *
- * @return mixed Option value, or null if option is not found and default is not specified.
- */
- public static function get_raw_option( $name, $default = null ) {
- if ( self::bypass_raw_option( $name ) ) {
- return get_option( $name, $default );
- }
-
- global $wpdb;
- $value = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT option_value FROM $wpdb->options WHERE option_name = %s LIMIT 1",
- $name
- )
- );
- $value = maybe_unserialize( $value );
-
- if ( null === $value && null !== $default ) {
- return $default;
- }
-
- return $value;
- }
-
- /**
- * This function checks for a constant that, if present, will disable direct DB queries Jetpack uses to manage certain options and force Jetpack to always use Options API instead.
- * Options can be selectively managed via a blacklist by filtering option names via the jetpack_disabled_raw_option filter.
- *
- * @param string $name Option name.
- *
- * @return bool
- */
- public static function bypass_raw_option( $name ) {
-
- if ( Constants::get_constant( 'JETPACK_DISABLE_RAW_OPTIONS' ) ) {
- return true;
- }
- /**
- * Allows to disable particular raw options.
- *
- * @since 5.5.0
- *
- * @param array $disabled_raw_options An array of option names that you can selectively blacklist from being managed via direct database queries.
- */
- $disabled_raw_options = apply_filters( 'jetpack_disabled_raw_options', array() );
- return isset( $disabled_raw_options[ $name ] );
- }
-
- /**
- * Gets all known options that are used by Jetpack and managed by Jetpack_Options.
- *
- * @since 5.4.0
- *
- * @param boolean $strip_unsafe_options If true, and by default, will strip out options necessary for the connection to WordPress.com.
- * @return array An array of all options managed via the Jetpack_Options class.
- */
- public static function get_all_jetpack_options( $strip_unsafe_options = true ) {
- $jetpack_options = self::get_option_names();
- $jetpack_options_non_compat = self::get_option_names( 'non_compact' );
- $jetpack_options_private = self::get_option_names( 'private' );
-
- $all_jp_options = array_merge( $jetpack_options, $jetpack_options_non_compat, $jetpack_options_private );
-
- if ( $strip_unsafe_options ) {
- // Flag some Jetpack options as unsafe.
- $unsafe_options = array(
- 'id', // (int) The Client ID/WP.com Blog ID of this site.
- 'master_user', // (int) The local User ID of the user who connected this site to jetpack.wordpress.com.
- 'version', // (string) Used during upgrade procedure to auto-activate new modules. version:time
-
- // non_compact.
- 'activated',
-
- // private.
- 'register',
- 'blog_token', // (string) The Client Secret/Blog Token of this site.
- 'user_token', // (string) The User Token of this site. (deprecated)
- 'user_tokens',
- );
-
- // Remove the unsafe Jetpack options.
- foreach ( $unsafe_options as $unsafe_option ) {
- $key = array_search( $unsafe_option, $all_jp_options, true );
- if ( false !== $key ) {
- unset( $all_jp_options[ $key ] );
- }
- }
- }
-
- return $all_jp_options;
- }
-
- /**
- * Get all options that are not managed by the Jetpack_Options class that are used by Jetpack.
- *
- * @since 5.4.0
- *
- * @return array
- */
- public static function get_all_wp_options() {
- // A manual build of the wp options.
- return array(
- 'sharing-options',
- 'disabled_likes',
- 'disabled_reblogs',
- 'jetpack_comments_likes_enabled',
- 'wp_mobile_excerpt',
- 'wp_mobile_featured_images',
- 'wp_mobile_app_promos',
- 'stats_options',
- 'stats_dashboard_widget',
- 'safecss_preview_rev',
- 'safecss_rev',
- 'safecss_revision_migrated',
- 'nova_menu_order',
- 'jetpack_portfolio',
- 'jetpack_portfolio_posts_per_page',
- 'jetpack_testimonial',
- 'jetpack_testimonial_posts_per_page',
- 'wp_mobile_custom_css',
- 'sharedaddy_disable_resources',
- 'sharing-options',
- 'sharing-services',
- 'site_icon_temp_data',
- 'featured-content',
- 'site_logo',
- 'jetpack_dismissed_notices',
- 'jetpack-twitter-cards-site-tag',
- 'jetpack-sitemap-state',
- 'jetpack_sitemap_post_types',
- 'jetpack_sitemap_location',
- 'jetpack_protect_key',
- 'jetpack_protect_blocked_attempts',
- 'jetpack_protect_activating',
- 'jetpack_connection_banner_ab',
- 'jetpack_active_plan',
- 'jetpack_activation_source',
- 'jetpack_sso_match_by_email',
- 'jetpack_sso_require_two_step',
- 'jetpack_sso_remove_login_form',
- 'jetpack_last_connect_url_check',
- 'jpo_business_address',
- 'jpo_site_type',
- 'jpo_homepage_format',
- 'jpo_contact_page',
- 'jetpack_excluded_extensions',
- );
- }
-
- /**
- * Gets all options that can be safely reset by CLI.
- *
- * @since 5.4.0
- *
- * @return array array Associative array containing jp_options which are managed by the Jetpack_Options class and wp_options which are not.
- */
- public static function get_options_for_reset() {
- $all_jp_options = self::get_all_jetpack_options();
-
- $wp_options = self::get_all_wp_options();
-
- $options = array(
- 'jp_options' => $all_jp_options,
- 'wp_options' => $wp_options,
- );
-
- return $options;
- }
-
- /**
- * Delete all known options
- *
- * @since 5.4.0
- *
- * @return void
- */
- public static function delete_all_known_options() {
- // Delete all compact options.
- foreach ( (array) self::$grouped_options as $option_name ) {
- delete_option( $option_name );
- }
-
- // Delete all non-compact Jetpack options.
- foreach ( (array) self::get_option_names( 'non-compact' ) as $option_name ) {
- self::delete_option( $option_name );
- }
-
- // Delete all options that can be reset via CLI, that aren't Jetpack options.
- foreach ( (array) self::get_all_wp_options() as $option_name ) {
- delete_option( $option_name );
- }
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-partner/src/class-partner.php b/plugins/jetpack/vendor/automattic/jetpack-partner/src/class-partner.php
deleted file mode 100644
index 62d984e8..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-partner/src/class-partner.php
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/**
- * Jetpack Partner package.
- *
- * @package automattic/jetpack-partner
- */
-
-namespace Automattic\Jetpack;
-
-/**
- * This class introduces functionality used by Jetpack hosting partners.
- *
- * @since 8.1.0
- */
-class Partner {
-
- /**
- * Affiliate code.
- */
- const AFFILIATE_CODE = 'affiliate';
-
- /**
- * Subsidiary id code.
- */
- const SUBSIDIARY_CODE = 'subsidiary';
-
- /**
- * Singleton instance.
- *
- * @since 8.1.0
- *
- * @var Partner This class instance.
- */
- private static $instance = null;
-
- /**
- * Partner constructor.
- */
- private function __construct() {
- }
-
- /**
- * Initializes the class or returns the singleton.
- *
- * @return Partner | false
- * @since 8.1.0
- */
- public static function init() {
- if ( is_null( self::$instance ) ) {
- self::$instance = new Partner();
- add_filter( 'jetpack_build_connection_url', array( self::$instance, 'add_subsidiary_id_as_query_arg' ) );
- add_filter( 'jetpack_build_connection_url', array( self::$instance, 'add_affiliate_code_as_query_arg' ) );
- }
-
- return self::$instance;
- }
-
- /**
- * Adds the partner subsidiary code to the passed URL.
- *
- * @param string $url The URL.
- *
- * @return string
- */
- public function add_subsidiary_id_as_query_arg( $url ) {
- return $this->add_code_as_query_arg( self::SUBSIDIARY_CODE, $url );
- }
-
- /**
- * Adds the affiliate code to the passed URL.
- *
- * @param string $url The URL.
- *
- * @return string
- */
- public function add_affiliate_code_as_query_arg( $url ) {
- return $this->add_code_as_query_arg( self::AFFILIATE_CODE, $url );
- }
-
- /**
- * Returns the passed URL with the partner code added as a URL query arg.
- *
- * @param string $type The partner code.
- * @param string $url The URL where the partner subsidiary id will be added.
- *
- * @return string The passed URL with the partner code added.
- * @since 8.1.0
- */
- public function add_code_as_query_arg( $type, $url ) {
- switch ( $type ) {
- case self::AFFILIATE_CODE:
- $query_arg_name = 'aff';
- break;
- case self::SUBSIDIARY_CODE:
- $query_arg_name = 'subsidiaryId';
- break;
- default:
- return $url;
- }
-
- $code = $this->get_partner_code( $type );
-
- if ( '' === $code ) {
- return $url;
- }
-
- return add_query_arg( $query_arg_name, $code, $url );
- }
-
- /**
- * Returns a partner code.
- *
- * @param string $type This can be either 'affiliate' or 'subsidiary'. Returns empty string when code is unknown.
- *
- * @return string The partner code.
- * @since 8.1.0
- */
- public function get_partner_code( $type ) {
- switch ( $type ) {
- case self::AFFILIATE_CODE:
- /**
- * Allow to filter the affiliate code.
- *
- * @param string $affiliate_code The affiliate code, blank by default.
- *
- * @since 6.9.0
- */
- return apply_filters( 'jetpack_affiliate_code', get_option( 'jetpack_affiliate_code', '' ) );
- case self::SUBSIDIARY_CODE:
- /**
- * Allow to filter the partner subsidiary id.
- *
- * @param string $subsidiary_id The partner subsidiary id, blank by default.
- *
- * @since 8.1.0
- */
- return apply_filters(
- 'jetpack_partner_subsidiary_id',
- get_option( 'jetpack_partner_subsidiary_id', '' )
- );
- default:
- return '';
- }
- }
-
- /**
- * Resets the singleton for testing purposes.
- */
- public static function reset() {
- self::$instance = null;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-roles/src/class-roles.php b/plugins/jetpack/vendor/automattic/jetpack-roles/src/class-roles.php
index 7bce3462..ba859968 100644
--- a/plugins/jetpack/vendor/automattic/jetpack-roles/src/class-roles.php
+++ b/plugins/jetpack/vendor/automattic/jetpack-roles/src/class-roles.php
@@ -1,81 +1,2 @@
-<?php
-/**
- * A user roles class for Jetpack.
- *
- * @package automattic/jetpack-roles
- */
-
-namespace Automattic\Jetpack;
-
-/**
- * Class Automattic\Jetpack\Roles
- *
- * Contains utilities for translating user roles to capabilities and vice versa.
- */
-class Roles {
- /**
- * Map of roles we care about, and their corresponding minimum capabilities.
- *
- * @access protected
- *
- * @var array
- */
- protected $capability_translations = array(
- 'administrator' => 'manage_options',
- 'editor' => 'edit_others_posts',
- 'author' => 'publish_posts',
- 'contributor' => 'edit_posts',
- 'subscriber' => 'read',
- );
-
- /**
- * Get the role of the current user.
- *
- * @access public
- *
- * @return string|boolean Current user's role, false if not enough capabilities for any of the roles.
- */
- public function translate_current_user_to_role() {
- foreach ( $this->capability_translations as $role => $cap ) {
- if ( current_user_can( $role ) || current_user_can( $cap ) ) {
- return $role;
- }
- }
-
- return false;
- }
-
- /**
- * Get the role of a particular user.
- *
- * @access public
- *
- * @param \WP_User $user User object.
- * @return string|boolean User's role, false if not enough capabilities for any of the roles.
- */
- public function translate_user_to_role( $user ) {
- foreach ( $this->capability_translations as $role => $cap ) {
- if ( user_can( $user, $role ) || user_can( $user, $cap ) ) {
- return $role;
- }
- }
-
- return false;
- }
-
- /**
- * Get the minimum capability for a role.
- *
- * @access public
- *
- * @param string $role Role name.
- * @return string|boolean Capability, false if role isn't mapped to any capabilities.
- */
- public function translate_role_to_cap( $role ) {
- if ( ! isset( $this->capability_translations[ $role ] ) ) {
- return false;
- }
-
- return $this->capability_translations[ $role ];
- }
-}
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-roles/src/class-roles.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-status/src/class-status.php b/plugins/jetpack/vendor/automattic/jetpack-status/src/class-status.php
deleted file mode 100644
index 5a299056..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-status/src/class-status.php
+++ /dev/null
@@ -1,151 +0,0 @@
-<?php
-/**
- * A status class for Jetpack.
- *
- * @package automattic/jetpack-status
- */
-
-namespace Automattic\Jetpack;
-
-/**
- * Class Automattic\Jetpack\Status
- *
- * Used to retrieve information about the current status of Jetpack and the site overall.
- */
-class Status {
- /**
- * Is Jetpack in development (offline) mode?
- *
- * @return bool Whether Jetpack's development mode is active.
- */
- public function is_development_mode() {
- $development_mode = false;
- $site_url = site_url();
-
- if ( defined( '\\JETPACK_DEV_DEBUG' ) ) {
- $development_mode = constant( '\\JETPACK_DEV_DEBUG' );
- } elseif ( $site_url ) {
- $development_mode = false === strpos( $site_url, '.' );
- }
-
- /**
- * Filters Jetpack's development mode.
- *
- * @see https://jetpack.com/support/development-mode/
- *
- * @since 2.2.1
- *
- * @param bool $development_mode Is Jetpack's development mode active.
- */
- $development_mode = (bool) apply_filters( 'jetpack_development_mode', $development_mode );
-
- return $development_mode;
- }
-
- /**
- * Whether this is a system with a multiple networks.
- * Implemented since there is no core is_multi_network function.
- * Right now there is no way to tell which network is the dominant network on the system.
- *
- * @return boolean
- */
- public function is_multi_network() {
- global $wpdb;
-
- // If we don't have a multi site setup no need to do any more.
- if ( ! is_multisite() ) {
- return false;
- }
-
- $num_sites = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->site}" );
- if ( $num_sites > 1 ) {
- return true;
- }
-
- return false;
- }
-
- /**
- * Whether the current site is single user site.
- *
- * @return bool
- */
- public function is_single_user_site() {
- global $wpdb;
-
- $some_users = get_transient( 'jetpack_is_single_user' );
- if ( false === $some_users ) {
- $some_users = $wpdb->get_var( "SELECT COUNT(*) FROM (SELECT user_id FROM $wpdb->usermeta WHERE meta_key = '{$wpdb->prefix}capabilities' LIMIT 2) AS someusers" );
- set_transient( 'jetpack_is_single_user', (int) $some_users, 12 * HOUR_IN_SECONDS );
- }
- return 1 === (int) $some_users;
- }
-
- /**
- * If is a staging site.
- *
- * @todo Add IDC detection to a package.
- *
- * @return bool
- */
- public function is_staging_site() {
- $is_staging = false;
-
- $known_staging = array(
- 'urls' => array(
- '#\.staging\.wpengine\.com$#i', // WP Engine.
- '#\.staging\.kinsta\.com$#i', // Kinsta.com.
- '#\.stage\.site$#i', // DreamPress.
- ),
- 'constants' => array(
- 'IS_WPE_SNAPSHOT', // WP Engine.
- 'KINSTA_DEV_ENV', // Kinsta.com.
- 'WPSTAGECOACH_STAGING', // WP Stagecoach.
- 'JETPACK_STAGING_MODE', // Generic.
- ),
- );
- /**
- * Filters the flags of known staging sites.
- *
- * @since 3.9.0
- *
- * @param array $known_staging {
- * An array of arrays that each are used to check if the current site is staging.
- * @type array $urls URLs of staging sites in regex to check against site_url.
- * @type array $constants PHP constants of known staging/developement environments.
- * }
- */
- $known_staging = apply_filters( 'jetpack_known_staging', $known_staging );
-
- if ( isset( $known_staging['urls'] ) ) {
- foreach ( $known_staging['urls'] as $url ) {
- if ( preg_match( $url, site_url() ) ) {
- $is_staging = true;
- break;
- }
- }
- }
-
- if ( isset( $known_staging['constants'] ) ) {
- foreach ( $known_staging['constants'] as $constant ) {
- if ( defined( $constant ) && constant( $constant ) ) {
- $is_staging = true;
- }
- }
- }
-
- // Last, let's check if sync is erroring due to an IDC. If so, set the site to staging mode.
- if ( ! $is_staging && method_exists( 'Jetpack', 'validate_sync_error_idc_option' ) && \Jetpack::validate_sync_error_idc_option() ) {
- $is_staging = true;
- }
-
- /**
- * Filters is_staging_site check.
- *
- * @since 3.9.0
- *
- * @param bool $is_staging If the current site is a staging site.
- */
- return apply_filters( 'jetpack_is_staging_site', $is_staging );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-actions.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-actions.php
deleted file mode 100644
index 3cd482e6..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-actions.php
+++ /dev/null
@@ -1,779 +0,0 @@
-<?php
-/**
- * A class that defines syncable actions for Jetpack.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-use Automattic\Jetpack\Connection\Manager as Jetpack_Connection;
-use Automattic\Jetpack\Constants;
-use Automattic\Jetpack\Status;
-use Automattic\Jetpack\Sync\Modules;
-
-/**
- * The role of this class is to hook the Sync subsystem into WordPress - when to listen for actions,
- * when to send, when to perform a full sync, etc.
- *
- * It also binds the action to send data to WPCOM to Jetpack's XMLRPC client object.
- */
-class Actions {
- /**
- * A variable to hold a sync sender object.
- *
- * @access public
- * @static
- *
- * @var Automattic\Jetpack\Sync\Sender
- */
- public static $sender = null;
-
- /**
- * A variable to hold a sync listener object.
- *
- * @access public
- * @static
- *
- * @var Automattic\Jetpack\Sync\Listener
- */
- public static $listener = null;
-
- /**
- * Name of the sync cron schedule.
- *
- * @access public
- *
- * @var string
- */
- const DEFAULT_SYNC_CRON_INTERVAL_NAME = 'jetpack_sync_interval';
-
- /**
- * Interval between the last and the next sync cron action.
- *
- * @access public
- *
- * @var int
- */
- const DEFAULT_SYNC_CRON_INTERVAL_VALUE = 300; // 5 * MINUTE_IN_SECONDS;
-
- /**
- * Initialize Sync for cron jobs, set up listeners for WordPress Actions,
- * and set up a shut-down action for sending actions to WordPress.com
- *
- * @access public
- * @static
- */
- public static function init() {
- // Everything below this point should only happen if we're a valid sync site.
- if ( ! self::sync_allowed() ) {
- return;
- }
-
- if ( self::sync_via_cron_allowed() ) {
- self::init_sync_cron_jobs();
- } elseif ( wp_next_scheduled( 'jetpack_sync_cron' ) ) {
- self::clear_sync_cron_jobs();
- }
- // When importing via cron, do not sync.
- add_action( 'wp_cron_importer_hook', array( __CLASS__, 'set_is_importing_true' ), 1 );
-
- // Sync connected user role changes to WordPress.com.
- Users::init();
-
- // Publicize filter to prevent publicizing blacklisted post types.
- add_filter( 'publicize_should_publicize_published_post', array( __CLASS__, 'prevent_publicize_blacklisted_posts' ), 10, 2 );
-
- /**
- * Fires on every request before default loading sync listener code.
- * Return false to not load sync listener code that monitors common
- * WP actions to be serialized.
- *
- * By default this returns true for cron jobs, non-GET-requests, or requests where the
- * user is logged-in.
- *
- * @since 4.2.0
- *
- * @param bool should we load sync listener code for this request
- */
- if ( apply_filters( 'jetpack_sync_listener_should_load', true ) ) {
- self::initialize_listener();
- }
-
- add_action( 'init', array( __CLASS__, 'add_sender_shutdown' ), 90 );
- }
-
- /**
- * Prepares sync to send actions on shutdown for the current request.
- *
- * @access public
- * @static
- */
- public static function add_sender_shutdown() {
- /**
- * Fires on every request before default loading sync sender code.
- * Return false to not load sync sender code that serializes pending
- * data and sends it to WPCOM for processing.
- *
- * By default this returns true for cron jobs, POST requests, admin requests, or requests
- * by users who can manage_options.
- *
- * @since 4.2.0
- *
- * @param bool should we load sync sender code for this request
- */
- if ( apply_filters(
- 'jetpack_sync_sender_should_load',
- self::should_initialize_sender()
- ) ) {
- self::initialize_sender();
- add_action( 'shutdown', array( self::$sender, 'do_sync' ) );
- add_action( 'shutdown', array( self::$sender, 'do_full_sync' ), 9999 );
- }
- }
-
- /**
- * Decides if the sender should run on shutdown for this request.
- *
- * @access public
- * @static
- *
- * @return bool
- */
- public static function should_initialize_sender() {
- if ( Constants::is_true( 'DOING_CRON' ) ) {
- return self::sync_via_cron_allowed();
- }
-
- if ( isset( $_SERVER['REQUEST_METHOD'] ) && 'POST' === $_SERVER['REQUEST_METHOD'] ) {
- return true;
- }
-
- if ( current_user_can( 'manage_options' ) ) {
- return true;
- }
-
- if ( is_admin() ) {
- return true;
- }
-
- if ( defined( 'PHPUNIT_JETPACK_TESTSUITE' ) ) {
- return true;
- }
-
- if ( Constants::get_constant( 'WP_CLI' ) ) {
- return true;
- }
-
- return false;
- }
-
- /**
- * Decides if sync should run at all during this request.
- *
- * @access public
- * @static
- *
- * @return bool
- */
- public static function sync_allowed() {
- if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
- return false;
- }
-
- if ( defined( 'PHPUNIT_JETPACK_TESTSUITE' ) ) {
- return true;
- }
-
- if ( ! Settings::is_sync_enabled() ) {
- return false;
- }
-
- if ( ( new Status() )->is_development_mode() ) {
- return false;
- }
-
- if ( ( new Status() )->is_staging_site() ) {
- return false;
- }
-
- $connection = new Jetpack_Connection();
- if ( ! $connection->is_active() ) {
- if ( ! doing_action( 'jetpack_user_authorized' ) ) {
- return false;
- }
- }
-
- return true;
- }
-
- /**
- * Determines if syncing during a cron job is allowed.
- *
- * @access public
- * @static
- *
- * @return bool|int
- */
- public static function sync_via_cron_allowed() {
- return ( Settings::get_setting( 'sync_via_cron' ) );
- }
-
- /**
- * Decides if the given post should be Publicized based on its type.
- *
- * @access public
- * @static
- *
- * @param bool $should_publicize Publicize status prior to this filter running.
- * @param \WP_Post $post The post to test for Publicizability.
- * @return bool
- */
- public static function prevent_publicize_blacklisted_posts( $should_publicize, $post ) {
- if ( in_array( $post->post_type, Settings::get_setting( 'post_types_blacklist' ), true ) ) {
- return false;
- }
-
- return $should_publicize;
- }
-
- /**
- * Set an importing flag to `true` in sync settings.
- *
- * @access public
- * @static
- */
- public static function set_is_importing_true() {
- Settings::set_importing( true );
- }
-
- /**
- * Sends data to WordPress.com via an XMLRPC request.
- *
- * @access public
- * @static
- *
- * @param object $data Data relating to a sync action.
- * @param string $codec_name The name of the codec that encodes the data.
- * @param float $sent_timestamp Current server time so we can compensate for clock differences.
- * @param string $queue_id The queue the action belongs to, sync or full_sync.
- * @param float $checkout_duration Time spent retrieving queue items from the DB.
- * @param float $preprocess_duration Time spent converting queue items into data to send.
- * @return Jetpack_Error|mixed|WP_Error The result of the sending request.
- */
- public static function send_data( $data, $codec_name, $sent_timestamp, $queue_id, $checkout_duration, $preprocess_duration ) {
- $query_args = array(
- 'sync' => '1', // Add an extra parameter to the URL so we can tell it's a sync action.
- 'codec' => $codec_name,
- 'timestamp' => $sent_timestamp,
- 'queue' => $queue_id,
- 'home' => Functions::home_url(), // Send home url option to check for Identity Crisis server-side.
- 'siteurl' => Functions::site_url(), // Send siteurl option to check for Identity Crisis server-side.
- 'cd' => sprintf( '%.4f', $checkout_duration ),
- 'pd' => sprintf( '%.4f', $preprocess_duration ),
- );
-
- // Has the site opted in to IDC mitigation?
- if ( \Jetpack::sync_idc_optin() ) {
- $query_args['idc'] = true;
- }
-
- if ( \Jetpack_Options::get_option( 'migrate_for_idc', false ) ) {
- $query_args['migrate_for_idc'] = true;
- }
-
- $query_args['timeout'] = Settings::is_doing_cron() ? 30 : 15;
-
- /**
- * Filters query parameters appended to the Sync request URL sent to WordPress.com.
- *
- * @since 4.7.0
- *
- * @param array $query_args associative array of query parameters.
- */
- $query_args = apply_filters( 'jetpack_sync_send_data_query_args', $query_args );
-
- $connection = new Jetpack_Connection();
- $url = add_query_arg( $query_args, $connection->xmlrpc_api_url() );
-
- // If we're currently updating to Jetpack 7.7, the IXR client may be missing briefly
- // because since 7.7 it's being autoloaded with Composer.
- if ( ! class_exists( '\\Jetpack_IXR_Client' ) ) {
- return new \WP_Error(
- 'ixr_client_missing',
- esc_html__( 'Sync has been aborted because the IXR client is missing.', 'jetpack' )
- );
- }
-
- $rpc = new \Jetpack_IXR_Client(
- array(
- 'url' => $url,
- 'user_id' => JETPACK_MASTER_USER,
- 'timeout' => $query_args['timeout'],
- )
- );
-
- $result = $rpc->query( 'jetpack.syncActions', $data );
-
- if ( ! $result ) {
- return $rpc->get_jetpack_error();
- }
-
- $response = $rpc->getResponse();
-
- // Check if WordPress.com IDC mitigation blocked the sync request.
- if ( is_array( $response ) && isset( $response['error_code'] ) ) {
- $error_code = $response['error_code'];
- $allowed_idc_error_codes = array(
- 'jetpack_url_mismatch',
- 'jetpack_home_url_mismatch',
- 'jetpack_site_url_mismatch',
- );
-
- if ( in_array( $error_code, $allowed_idc_error_codes, true ) ) {
- \Jetpack_Options::update_option(
- 'sync_error_idc',
- \Jetpack::get_sync_error_idc_option( $response )
- );
- }
-
- return new \WP_Error(
- 'sync_error_idc',
- esc_html__( 'Sync has been blocked from WordPress.com because it would cause an identity crisis', 'jetpack' )
- );
- }
-
- return $response;
- }
-
- /**
- * Kicks off the initial sync.
- *
- * @access public
- * @static
- *
- * @return bool|null False if sync is not allowed.
- */
- public static function do_initial_sync() {
- // Lets not sync if we are not suppose to.
- if ( ! self::sync_allowed() ) {
- return false;
- }
-
- // Don't start new sync if a full sync is in process.
- $full_sync_module = Modules::get_module( 'full-sync' );
- if ( $full_sync_module && $full_sync_module->is_started() && ! $full_sync_module->is_finished() ) {
- return false;
- }
-
- $initial_sync_config = array(
- 'options' => true,
- 'functions' => true,
- 'constants' => true,
- 'users' => array( get_current_user_id() ),
- );
-
- if ( is_multisite() ) {
- $initial_sync_config['network_options'] = true;
- }
-
- self::do_full_sync( $initial_sync_config );
- }
-
- /**
- * Kicks off a full sync.
- *
- * @access public
- * @static
- *
- * @param array $modules The sync modules should be included in this full sync. All will be included if null.
- * @return bool True if full sync was successfully started.
- */
- public static function do_full_sync( $modules = null ) {
- if ( ! self::sync_allowed() ) {
- return false;
- }
-
- $full_sync_module = Modules::get_module( 'full-sync' );
-
- if ( ! $full_sync_module ) {
- return false;
- }
-
- self::initialize_listener();
-
- $full_sync_module->start( $modules );
-
- return true;
- }
-
- /**
- * Adds a cron schedule for regular syncing via cron, unless the schedule already exists.
- *
- * @access public
- * @static
- *
- * @param array $schedules The list of WordPress cron schedules prior to this filter.
- * @return array A list of WordPress cron schedules with the Jetpack sync interval added.
- */
- public static function jetpack_cron_schedule( $schedules ) {
- if ( ! isset( $schedules[ self::DEFAULT_SYNC_CRON_INTERVAL_NAME ] ) ) {
- $minutes = intval( self::DEFAULT_SYNC_CRON_INTERVAL_VALUE / 60 );
- $display = ( 1 === $minutes ) ?
- __( 'Every minute', 'jetpack' ) :
- /* translators: %d is an integer indicating the number of minutes. */
- sprintf( __( 'Every %d minutes', 'jetpack' ), $minutes );
- $schedules[ self::DEFAULT_SYNC_CRON_INTERVAL_NAME ] = array(
- 'interval' => self::DEFAULT_SYNC_CRON_INTERVAL_VALUE,
- 'display' => $display,
- );
- }
- return $schedules;
- }
-
- /**
- * Starts an incremental sync via cron.
- *
- * @access public
- * @static
- */
- public static function do_cron_sync() {
- self::do_cron_sync_by_type( 'sync' );
- }
-
- /**
- * Starts a full sync via cron.
- *
- * @access public
- * @static
- */
- public static function do_cron_full_sync() {
- self::do_cron_sync_by_type( 'full_sync' );
- }
-
- /**
- * Try to send actions until we run out of things to send,
- * or have to wait more than 15s before sending again,
- * or we hit a lock or some other sending issue
- *
- * @access public
- * @static
- *
- * @param string $type Sync type. Can be `sync` or `full_sync`.
- */
- public static function do_cron_sync_by_type( $type ) {
- if ( ! self::sync_allowed() || ( 'sync' !== $type && 'full_sync' !== $type ) ) {
- return;
- }
-
- self::initialize_sender();
-
- $time_limit = Settings::get_setting( 'cron_sync_time_limit' );
- $start_time = time();
-
- do {
- $next_sync_time = self::$sender->get_next_sync_time( $type );
-
- if ( $next_sync_time ) {
- $delay = $next_sync_time - time() + 1;
- if ( $delay > 15 ) {
- break;
- } elseif ( $delay > 0 ) {
- sleep( $delay );
- }
- }
-
- $result = 'full_sync' === $type ? self::$sender->do_full_sync() : self::$sender->do_sync();
- } while ( $result && ! is_wp_error( $result ) && ( $start_time + $time_limit ) > time() );
- }
-
- /**
- * Initialize the sync listener.
- *
- * @access public
- * @static
- */
- public static function initialize_listener() {
- self::$listener = Listener::get_instance();
- }
-
- /**
- * Initializes the sync sender.
- *
- * @access public
- * @static
- */
- public static function initialize_sender() {
- self::$sender = Sender::get_instance();
- add_filter( 'jetpack_sync_send_data', array( __CLASS__, 'send_data' ), 10, 6 );
- }
-
- /**
- * Initializes sync for WooCommerce.
- *
- * @access public
- * @static
- */
- public static function initialize_woocommerce() {
- if ( false === class_exists( 'WooCommerce' ) ) {
- return;
- }
- add_filter( 'jetpack_sync_modules', array( __CLASS__, 'add_woocommerce_sync_module' ) );
- }
-
- /**
- * Adds Woo's sync modules to existing modules for sending.
- *
- * @access public
- * @static
- *
- * @param array $sync_modules The list of sync modules declared prior to this filter.
- * @return array A list of sync modules that now includes Woo's modules.
- */
- public static function add_woocommerce_sync_module( $sync_modules ) {
- $sync_modules[] = 'Automattic\\Jetpack\\Sync\\Modules\\WooCommerce';
- return $sync_modules;
- }
-
- /**
- * Initializes sync for WP Super Cache.
- *
- * @access public
- * @static
- */
- public static function initialize_wp_super_cache() {
- if ( false === function_exists( 'wp_cache_is_enabled' ) ) {
- return;
- }
- add_filter( 'jetpack_sync_modules', array( __CLASS__, 'add_wp_super_cache_sync_module' ) );
- }
-
- /**
- * Adds WP Super Cache's sync modules to existing modules for sending.
- *
- * @access public
- * @static
- *
- * @param array $sync_modules The list of sync modules declared prior to this filer.
- * @return array A list of sync modules that now includes WP Super Cache's modules.
- */
- public static function add_wp_super_cache_sync_module( $sync_modules ) {
- $sync_modules[] = 'Automattic\\Jetpack\\Sync\\Modules\\WP_Super_Cache';
- return $sync_modules;
- }
-
- /**
- * Sanitizes the name of sync's cron schedule.
- *
- * @access public
- * @static
- *
- * @param string $schedule The name of a WordPress cron schedule.
- * @return string The sanitized name of sync's cron schedule.
- */
- public static function sanitize_filtered_sync_cron_schedule( $schedule ) {
- $schedule = sanitize_key( $schedule );
- $schedules = wp_get_schedules();
-
- // Make sure that the schedule has actually been registered using the `cron_intervals` filter.
- if ( isset( $schedules[ $schedule ] ) ) {
- return $schedule;
- }
-
- return self::DEFAULT_SYNC_CRON_INTERVAL_NAME;
- }
-
- /**
- * Allows offsetting of start times for sync cron jobs.
- *
- * @access public
- * @static
- *
- * @param string $schedule The name of a cron schedule.
- * @param string $hook The hook that this method is responding to.
- * @return int The offset for the sync cron schedule.
- */
- public static function get_start_time_offset( $schedule = '', $hook = '' ) {
- $start_time_offset = is_multisite()
- ? wp_rand( 0, ( 2 * self::DEFAULT_SYNC_CRON_INTERVAL_VALUE ) )
- : 0;
-
- /**
- * Allows overriding the offset that the sync cron jobs will first run. This can be useful when scheduling
- * cron jobs across multiple sites in a network.
- *
- * @since 4.5.0
- *
- * @param int $start_time_offset
- * @param string $hook
- * @param string $schedule
- */
- return intval(
- apply_filters(
- 'jetpack_sync_cron_start_time_offset',
- $start_time_offset,
- $hook,
- $schedule
- )
- );
- }
-
- /**
- * Decides if a sync cron should be scheduled.
- *
- * @access public
- * @static
- *
- * @param string $schedule The name of a cron schedule.
- * @param string $hook The hook that this method is responding to.
- */
- public static function maybe_schedule_sync_cron( $schedule, $hook ) {
- if ( ! $hook ) {
- return;
- }
- $schedule = self::sanitize_filtered_sync_cron_schedule( $schedule );
-
- $start_time = time() + self::get_start_time_offset( $schedule, $hook );
- if ( ! wp_next_scheduled( $hook ) ) {
- // Schedule a job to send pending queue items once a minute.
- wp_schedule_event( $start_time, $schedule, $hook );
- } elseif ( wp_get_schedule( $hook ) !== $schedule ) {
- // If the schedule has changed, update the schedule.
- wp_clear_scheduled_hook( $hook );
- wp_schedule_event( $start_time, $schedule, $hook );
- }
- }
-
- /**
- * Clears Jetpack sync cron jobs.
- *
- * @access public
- * @static
- */
- public static function clear_sync_cron_jobs() {
- wp_clear_scheduled_hook( 'jetpack_sync_cron' );
- wp_clear_scheduled_hook( 'jetpack_sync_full_cron' );
- }
-
- /**
- * Initializes Jetpack sync cron jobs.
- *
- * @access public
- * @static
- */
- public static function init_sync_cron_jobs() {
- add_filter( 'cron_schedules', array( __CLASS__, 'jetpack_cron_schedule' ) ); // phpcs:ignore WordPress.WP.CronInterval.ChangeDetected
-
- add_action( 'jetpack_sync_cron', array( __CLASS__, 'do_cron_sync' ) );
- add_action( 'jetpack_sync_full_cron', array( __CLASS__, 'do_cron_full_sync' ) );
-
- /**
- * Allows overriding of the default incremental sync cron schedule which defaults to once every 5 minutes.
- *
- * @since 4.3.2
- *
- * @param string self::DEFAULT_SYNC_CRON_INTERVAL_NAME
- */
- $incremental_sync_cron_schedule = apply_filters( 'jetpack_sync_incremental_sync_interval', self::DEFAULT_SYNC_CRON_INTERVAL_NAME );
- self::maybe_schedule_sync_cron( $incremental_sync_cron_schedule, 'jetpack_sync_cron' );
-
- /**
- * Allows overriding of the full sync cron schedule which defaults to once every 5 minutes.
- *
- * @since 4.3.2
- *
- * @param string self::DEFAULT_SYNC_CRON_INTERVAL_NAME
- */
- $full_sync_cron_schedule = apply_filters( 'jetpack_sync_full_sync_interval', self::DEFAULT_SYNC_CRON_INTERVAL_NAME );
- self::maybe_schedule_sync_cron( $full_sync_cron_schedule, 'jetpack_sync_full_cron' );
- }
-
- /**
- * Perform maintenance when a plugin upgrade occurs.
- *
- * @access public
- * @static
- *
- * @param string $new_version New version of the plugin.
- * @param string $old_version Old version of the plugin.
- */
- public static function cleanup_on_upgrade( $new_version = null, $old_version = null ) {
- if ( wp_next_scheduled( 'jetpack_sync_send_db_checksum' ) ) {
- wp_clear_scheduled_hook( 'jetpack_sync_send_db_checksum' );
- }
-
- $is_new_sync_upgrade = version_compare( $old_version, '4.2', '>=' );
- if ( ! empty( $old_version ) && $is_new_sync_upgrade && version_compare( $old_version, '4.5', '<' ) ) {
- self::clear_sync_cron_jobs();
- Settings::update_settings(
- array(
- 'render_filtered_content' => Defaults::$default_render_filtered_content,
- )
- );
- }
- }
-
- /**
- * Get syncing status for the given fields.
- *
- * @access public
- * @static
- *
- * @param string|null $fields A comma-separated string of the fields to include in the array from the JSON response.
- * @return array An associative array with the status report.
- */
- public static function get_sync_status( $fields = null ) {
- self::initialize_sender();
-
- $sync_module = Modules::get_module( 'full-sync' );
- $queue = self::$sender->get_sync_queue();
-
- // _get_cron_array can be false
- $cron_timestamps = ( _get_cron_array() ) ? array_keys( _get_cron_array() ) : array();
- $next_cron = ( ! empty( $cron_timestamps ) ) ? $cron_timestamps[0] - time() : '';
-
- $checksums = array();
-
- if ( ! empty( $fields ) ) {
- $store = new Replicastore();
- $fields_params = array_map( 'trim', explode( ',', $fields ) );
-
- if ( in_array( 'posts_checksum', $fields_params, true ) ) {
- $checksums['posts_checksum'] = $store->posts_checksum();
- }
- if ( in_array( 'comments_checksum', $fields_params, true ) ) {
- $checksums['comments_checksum'] = $store->comments_checksum();
- }
- if ( in_array( 'post_meta_checksum', $fields_params, true ) ) {
- $checksums['post_meta_checksum'] = $store->post_meta_checksum();
- }
- if ( in_array( 'comment_meta_checksum', $fields_params, true ) ) {
- $checksums['comment_meta_checksum'] = $store->comment_meta_checksum();
- }
- }
-
- $full_sync_status = ( $sync_module ) ? $sync_module->get_status() : array();
-
- $full_queue = self::$sender->get_full_sync_queue();
-
- $result = array_merge(
- $full_sync_status,
- $checksums,
- array(
- 'cron_size' => count( $cron_timestamps ),
- 'next_cron' => $next_cron,
- 'queue_size' => $queue->size(),
- 'queue_lag' => $queue->lag(),
- 'queue_next_sync' => ( self::$sender->get_next_sync_time( 'sync' ) - microtime( true ) ),
- 'full_queue_next_sync' => ( self::$sender->get_next_sync_time( 'full_sync' ) - microtime( true ) ),
- )
- );
-
- // Verify $sync_module is not false
- if ( ( $sync_module ) && false === strpos( get_class( $sync_module ), 'Full_Sync_Immediately' ) ) {
- $result['full_queue_size'] = $full_queue->size();
- $result['full_queue_lag'] = $full_queue->lag();
- }
- return $result;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-defaults.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-defaults.php
deleted file mode 100644
index c6ff4632..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-defaults.php
+++ /dev/null
@@ -1,1238 +0,0 @@
-<?php
-/**
- * Jetpack Sync Defaults
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-use Automattic\Jetpack\Status;
-
-/**
- * Just some defaults that we share with the server.
- */
-class Defaults {
-
- /**
- * Default Options.
- *
- * @var array
- */
- public static $default_options_whitelist = array(
- 'stylesheet',
- 'blogname',
- 'blogdescription',
- 'blog_charset',
- 'permalink_structure',
- 'category_base',
- 'tag_base',
- 'sidebars_widgets',
- 'comment_moderation',
- 'default_comment_status',
- 'page_on_front',
- 'rss_use_excerpt',
- 'subscription_options',
- 'stb_enabled',
- 'stc_enabled',
- 'comment_registration',
- 'show_avatars',
- 'avatar_default',
- 'avatar_rating',
- 'highlander_comment_form_prompt',
- 'jetpack_comment_form_color_scheme',
- 'stats_options',
- 'gmt_offset',
- 'timezone_string',
- 'jetpack_sync_non_public_post_stati',
- 'jetpack_options',
- 'site_icon', // (int) - ID of core's Site Icon attachment ID
- 'default_post_format',
- 'default_category',
- 'large_size_w',
- 'large_size_h',
- 'thumbnail_size_w',
- 'thumbnail_size_h',
- 'medium_size_w',
- 'medium_size_h',
- 'thumbnail_crop',
- 'image_default_link_type',
- 'site_logo',
- 'sharing-options',
- 'sharing-services',
- 'post_count',
- 'default_ping_status',
- 'sticky_posts',
- 'blog_public',
- 'default_pingback_flag',
- 'require_name_email',
- 'close_comments_for_old_posts',
- 'close_comments_days_old',
- 'thread_comments',
- 'thread_comments_depth',
- 'page_comments',
- 'comments_per_page',
- 'default_comments_page',
- 'comment_order',
- 'comments_notify',
- 'moderation_notify',
- 'social_notifications_like',
- 'social_notifications_reblog',
- 'social_notifications_subscribe',
- 'comment_whitelist',
- 'comment_max_links',
- 'moderation_keys',
- 'jetpack_wga',
- 'disabled_likes',
- 'disabled_reblogs',
- 'jetpack_comment_likes_enabled',
- 'twitter_via',
- 'jetpack-memberships-connected-account-id',
- 'jetpack-twitter-cards-site-tag',
- 'wpcom_publish_posts_with_markdown',
- 'wpcom_publish_comments_with_markdown',
- 'jetpack_activated',
- 'jetpack_available_modules',
- 'jetpack_allowed_xsite_search_ids',
- 'jetpack_autoupdate_plugins',
- 'jetpack_autoupdate_plugins_translations',
- 'jetpack_autoupdate_themes',
- 'jetpack_autoupdate_themes_translations',
- 'jetpack_autoupdate_core',
- 'jetpack_autoupdate_translations',
- 'carousel_background_color',
- 'carousel_display_exif',
- 'jetpack_portfolio',
- 'jetpack_portfolio_posts_per_page',
- 'jetpack_testimonial',
- 'jetpack_testimonial_posts_per_page',
- 'tiled_galleries',
- 'gravatar_disable_hovercards',
- 'infinite_scroll',
- 'infinite_scroll_google_analytics',
- 'wp_mobile_excerpt',
- 'wp_mobile_featured_images',
- 'wp_mobile_app_promos',
- 'monitor_receive_notifications',
- 'post_by_email_address',
- 'jetpack_mailchimp',
- 'jetpack_protect_key',
- 'jetpack_protect_global_whitelist',
- 'jetpack_sso_require_two_step',
- 'jetpack_sso_match_by_email',
- 'jetpack_relatedposts',
- 'verification_services_codes',
- 'users_can_register',
- 'active_plugins',
- 'uninstall_plugins',
- 'advanced_seo_front_page_description', // Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION.
- 'advanced_seo_title_formats', // Jetpack_SEO_Titles::TITLE_FORMATS_OPTION.
- 'jetpack_api_cache_enabled',
- 'start_of_week',
- 'blacklist_keys',
- 'posts_per_page',
- 'posts_per_rss',
- 'show_on_front',
- 'ping_sites',
- 'uploads_use_yearmonth_folders',
- 'date_format',
- 'time_format',
- 'admin_email',
- 'new_admin_email',
- 'default_email_category',
- 'default_role',
- 'page_for_posts',
- 'mailserver_url',
- 'mailserver_login', // Not syncing contents, only the option name.
- 'mailserver_pass', // Not syncing contents, only the option name.
- 'mailserver_port',
- 'wp_page_for_privacy_policy',
- 'enable_header_ad',
- 'wordads_second_belowpost',
- 'wordads_display_front_page',
- 'wordads_display_post',
- 'wordads_display_page',
- 'wordads_display_archive',
- 'wordads_custom_adstxt',
- 'site_segment',
- 'site_user_type',
- 'site_vertical',
- 'jetpack_excluded_extensions',
- );
-
- /**
- * Return options whitelist filtered.
- *
- * @return array Options whitelist.
- */
- public static function get_options_whitelist() {
- /** This filter is already documented in json-endpoints/jetpack/class.wpcom-json-api-get-option-endpoint.php */
- $options_whitelist = apply_filters( 'jetpack_options_whitelist', self::$default_options_whitelist );
- /**
- * Filter the list of WordPress options that are manageable via the JSON API.
- *
- * @module sync
- *
- * @since 4.8.0
- *
- * @param array The default list of options.
- */
- return apply_filters( 'jetpack_sync_options_whitelist', $options_whitelist );
- }
-
- /**
- * "Contentless" Options.
- *
- * Do not sync contents for these events, only the option name. Good for sensitive information that Sync does not need.
- *
- * @var array Options to sync name only.
- */
- public static $default_options_contentless = array(
- 'mailserver_login',
- 'mailserver_pass',
- );
-
- /**
- * Return contentless options.
- *
- * These are options that Sync only uses the option names, not the content of the option.
- *
- * @return array
- */
- public static function get_options_contentless() {
- /**
- * Filter the list of WordPress options that should be synced without content
- *
- * @module sync
- *
- * @since 6.1.0
- *
- * @param array The list of options synced without content.
- */
- return apply_filters( 'jetpack_sync_options_contentless', self::$default_options_contentless );
- }
-
- /**
- * Array of defaulted constants whitelisted.
- *
- * @var array Default constants whitelist
- */
- public static $default_constants_whitelist = array(
- 'EMPTY_TRASH_DAYS',
- 'WP_POST_REVISIONS',
- 'AUTOMATIC_UPDATER_DISABLED',
- 'ABSPATH',
- 'WP_CONTENT_DIR',
- 'FS_METHOD',
- 'DISALLOW_FILE_EDIT',
- 'DISALLOW_FILE_MODS',
- 'WP_AUTO_UPDATE_CORE',
- 'WP_HTTP_BLOCK_EXTERNAL',
- 'WP_ACCESSIBLE_HOSTS',
- 'JETPACK__VERSION',
- 'IS_PRESSABLE',
- 'DISABLE_WP_CRON',
- 'ALTERNATE_WP_CRON',
- 'WP_CRON_LOCK_TIMEOUT',
- 'PHP_VERSION',
- 'WP_MEMORY_LIMIT',
- 'WP_MAX_MEMORY_LIMIT',
- 'WP_DEBUG',
- );
-
- /**
- * Get constants whitelisted by Sync.
- *
- * @return array Constants accessible via sync.
- */
- public static function get_constants_whitelist() {
- /**
- * Filter the list of PHP constants that are manageable via the JSON API.
- *
- * @module sync
- *
- * @since 4.8.0
- *
- * @param array The default list of constants options.
- */
- return apply_filters( 'jetpack_sync_constants_whitelist', self::$default_constants_whitelist );
- }
-
- /**
- * Callables able to be managed via JSON API.
- *
- * @var array Default whitelist of callables.
- */
- public static $default_callable_whitelist = array(
- 'wp_max_upload_size' => 'wp_max_upload_size',
- 'is_main_network' => array( __CLASS__, 'is_multi_network' ),
- 'is_multi_site' => 'is_multisite',
- 'main_network_site' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'main_network_site_url' ),
- 'site_url' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'site_url' ),
- 'home_url' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'home_url' ),
- 'single_user_site' => array( 'Jetpack', 'is_single_user_site' ),
- 'updates' => array( 'Jetpack', 'get_updates' ),
- 'has_file_system_write_access' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'file_system_write_access' ),
- 'is_version_controlled' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'is_version_controlled' ),
- 'taxonomies' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_taxonomies' ),
- 'post_types' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_post_types' ),
- 'post_type_features' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_post_type_features' ),
- 'shortcodes' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_shortcodes' ),
- 'rest_api_allowed_post_types' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'rest_api_allowed_post_types' ),
- 'rest_api_allowed_public_metadata' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'rest_api_allowed_public_metadata' ),
- 'wp_version' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'wp_version' ),
- 'get_plugins' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_plugins' ),
- 'get_plugins_action_links' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_plugins_action_links' ),
- 'active_modules' => array( 'Jetpack', 'get_active_modules' ),
- 'hosting_provider' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_hosting_provider' ),
- 'locale' => 'get_locale',
- 'site_icon_url' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'site_icon_url' ),
- 'roles' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'roles' ),
- 'timezone' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_timezone' ),
- 'available_jetpack_blocks' => array( 'Jetpack_Gutenberg', 'get_availability' ), // Includes both Gutenberg blocks *and* plugins.
- 'paused_themes' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_paused_themes' ),
- 'paused_plugins' => array( 'Automattic\\Jetpack\\Sync\\Functions', 'get_paused_plugins' ),
- );
-
-
- /**
- * Array of post type attributes synced.
- *
- * @var array Default post type attributes.
- */
- public static $default_post_type_attributes = array(
- 'name' => '',
- 'label' => '',
- 'labels' => array(),
- 'description' => '',
- 'public' => false,
- 'hierarchical' => false,
- 'exclude_from_search' => true,
- 'publicly_queryable' => null,
- 'show_ui' => false,
- 'show_in_menu' => null,
- 'show_in_nav_menus' => null,
- 'show_in_admin_bar' => false,
- 'menu_position' => null,
- 'menu_icon' => null,
- 'supports' => array(),
- 'capability_type' => 'post',
- 'capabilities' => array(),
- 'cap' => array(),
- 'map_meta_cap' => true,
- 'taxonomies' => array(),
- 'has_archive' => false,
- 'rewrite' => true,
- 'query_var' => true,
- 'can_export' => true,
- 'delete_with_user' => null,
- 'show_in_rest' => false,
- 'rest_base' => false,
- '_builtin' => false,
- '_edit_link' => 'post.php?post=%d',
- );
-
- /**
- * Get the whitelist of callables allowed to be managed via the JSON API.
- *
- * @return array Whitelist of callables allowed to be managed via the JSON API.
- */
- public static function get_callable_whitelist() {
- $default = self::$default_callable_whitelist;
-
- if ( defined( 'JETPACK__PLUGIN_DIR' ) && include_once JETPACK__PLUGIN_DIR . 'modules/sso/class.jetpack-sso-helpers.php' ) {
- $sso_helpers = array(
- 'sso_is_two_step_required' => array( 'Jetpack_SSO_Helpers', 'is_two_step_required' ),
- 'sso_should_hide_login_form' => array( 'Jetpack_SSO_Helpers', 'should_hide_login_form' ),
- 'sso_match_by_email' => array( 'Jetpack_SSO_Helpers', 'match_by_email' ),
- 'sso_new_user_override' => array( 'Jetpack_SSO_Helpers', 'new_user_override' ),
- 'sso_bypass_default_login_form' => array( 'Jetpack_SSO_Helpers', 'bypass_login_forward_wpcom' ),
- );
- $default = array_merge( $default, $sso_helpers );
- }
-
- /**
- * Filter the list of callables that are manageable via the JSON API.
- *
- * @module sync
- *
- * @since 4.8.0
- *
- * @param array The default list of callables.
- */
- return apply_filters( 'jetpack_sync_callable_whitelist', $default );
- }
-
- /**
- * Post types that will not be synced.
- *
- * These are usually automated post types (sitemaps, logs, etc).
- *
- * @var array Blacklisted post types.
- */
- public static $blacklisted_post_types = array(
- 'ai1ec_event',
- 'bwg_album',
- 'bwg_gallery',
- 'customize_changeset', // WP built-in post type for Customizer changesets.
- 'dn_wp_yt_log',
- 'http',
- 'idx_page',
- 'jetpack_migration',
- 'jp_img_sitemap',
- 'jp_img_sitemap_index',
- 'jp_sitemap',
- 'jp_sitemap_index',
- 'jp_sitemap_master',
- 'jp_vid_sitemap',
- 'jp_vid_sitemap_index',
- 'postman_sent_mail',
- 'rssap-feed',
- 'rssmi_feed_item',
- 'scheduled-action', // Action Scheduler - Job Queue for WordPress https://github.com/woocommerce/woocommerce/tree/e7762627c37ec1f7590e6cac4218ba0c6a20024d/includes/libraries/action-scheduler .
- 'secupress_log_action',
- 'sg_optimizer_jobs',
- 'snitch',
- 'vip-legacy-redirect',
- 'wp_automatic',
- 'wpephpcompat_jobs',
- 'wprss_feed_item',
- );
-
- /**
- * Taxonomies that we're not syncing by default.
- *
- * The list is compiled by auditing the dynamic filters and actions that contain taxonomy slugs
- * and could conflict with other existing filters/actions in WP core, Jetpack and WooCommerce.
- *
- * @var array
- */
- public static $blacklisted_taxonomies = array(
- 'ancestors',
- 'archives_link',
- 'attached_file',
- 'attached_media',
- 'attached_media_args',
- 'attachment',
- 'available_languages',
- 'avatar',
- 'avatar_comment_types',
- 'avatar_data',
- 'avatar_url',
- 'bloginfo_rss',
- 'blogs_of_user',
- 'bookmark_link',
- 'bookmarks',
- 'calendar',
- 'canonical_url',
- 'categories_per_page',
- 'categories_taxonomy',
- 'category_form',
- 'category_form_fields',
- 'category_form_pre',
- 'comment',
- 'comment_author',
- 'comment_author_email',
- 'comment_author_IP',
- 'comment_author_link',
- 'comment_author_url',
- 'comment_author_url_link',
- 'comment_date',
- 'comment_excerpt',
- 'comment_ID',
- 'comment_link',
- 'comment_misc_actions',
- 'comment_text',
- 'comment_time',
- 'comment_type',
- 'comments_link',
- 'comments_number',
- 'comments_pagenum_link',
- 'custom_logo',
- 'date_sql',
- 'default_comment_status',
- 'delete_post_link',
- 'edit_bookmark_link',
- 'edit_comment_link',
- 'edit_post_link',
- 'edit_tag_link',
- 'edit_term_link',
- 'edit_user_link',
- 'enclosed',
- 'feed_build_date',
- 'form_advanced',
- 'form_after_editor',
- 'form_after_title',
- 'form_before_permalink',
- 'form_top',
- 'handle_product_cat',
- 'header_image_tag',
- 'header_video_url',
- 'image_tag',
- 'image_tag_class',
- 'lastpostdate',
- 'lastpostmodified',
- 'link',
- 'link_category_form',
- 'link_category_form_fields',
- 'link_category_form_pre',
- 'main_network_id',
- 'media',
- 'media_item_args',
- 'ms_user',
- 'network',
- 'object_terms',
- 'option',
- 'page',
- 'page_form',
- 'page_of_comment',
- 'page_uri',
- 'pagenum_link',
- 'pages',
- 'plugin',
- 'post',
- 'post_galleries',
- 'post_gallery',
- 'post_link',
- 'post_modified_time',
- 'post_status',
- 'post_time',
- 'postmeta',
- 'posts_per_page',
- 'product_cat',
- 'product_search_form',
- 'profile_url',
- 'pung',
- 'role_list',
- 'sample_permalink',
- 'sample_permalink_html',
- 'schedule',
- 'search_form',
- 'search_query',
- 'shortlink',
- 'site',
- 'site_email_content',
- 'site_icon_url',
- 'site_option',
- 'space_allowed',
- 'tag',
- 'tag_form',
- 'tag_form_fields',
- 'tag_form_pre',
- 'tag_link',
- 'tags',
- 'tags_per_page',
- 'term',
- 'term_link',
- 'term_relationships',
- 'term_taxonomies',
- 'term_taxonomy',
- 'terms',
- 'terms_args',
- 'terms_defaults',
- 'terms_fields',
- 'terms_orderby',
- 'the_archive_description',
- 'the_archive_title',
- 'the_categories',
- 'the_date',
- 'the_excerpt',
- 'the_guid',
- 'the_modified_date',
- 'the_modified_time',
- 'the_post_type_description',
- 'the_tags',
- 'the_terms',
- 'the_time',
- 'theme_starter_content',
- 'to_ping',
- 'user',
- 'user_created_user',
- 'user_form',
- 'user_profile',
- 'user_profile_update',
- 'usermeta',
- 'usernumposts',
- 'users_drafts',
- 'webhook',
- 'widget',
- 'woocommerce_archive',
- 'wp_title_rss',
- );
-
- /**
- * Default array of post table columns.
- *
- * @var array Post table columns.
- */
- public static $default_post_checksum_columns = array(
- 'ID',
- 'post_modified',
- );
-
- /**
- * Default array of post meta table columns.
- *
- * @var array Post meta table columns.
- */
- public static $default_post_meta_checksum_columns = array(
- 'meta_id',
- 'meta_value',
- );
-
- /**
- * Default array of comment table columns.
- *
- * @var array Default comment table columns.
- */
- public static $default_comment_checksum_columns = array(
- 'comment_ID',
- 'comment_content',
- );
-
- /**
- * Default array of comment meta columns.
- *
- * @var array Comment meta table columns.
- */
- public static $default_comment_meta_checksum_columns = array(
- 'meta_id',
- 'meta_value',
- );
-
- /**
- * Default array of option table columns.
- *
- * @var array Default array of option columns.
- */
- public static $default_option_checksum_columns = array(
- 'option_name',
- 'option_value',
- );
-
- /**
- * Default array of term columns.
- *
- * @var array array of term columns.
- */
- public static $default_term_checksum_columns = array(
- 'term_id',
- 'name',
- 'slug',
- );
-
- /**
- * Default array of term taxonomy columns.
- *
- * @var array Array of term taxonomy columns.
- */
- public static $default_term_taxonomy_checksum_columns = array(
- 'term_taxonomy_id',
- 'term_id',
- 'taxonomy',
- 'parent',
- 'count',
- );
-
- /**
- * Default term relationship columns.
- *
- * @var array Array of term relationship columns.
- */
- public static $default_term_relationships_checksum_columns = array(
- 'object_id',
- 'term_taxonomy_id',
- 'term_order',
- );
-
- /**
- * Default multisite callables able to be managed via JSON API.
- *
- * @var array multsite callables whitelisted
- */
- public static $default_multisite_callable_whitelist = array(
- 'network_name' => array( 'Jetpack', 'network_name' ),
- 'network_allow_new_registrations' => array( 'Jetpack', 'network_allow_new_registrations' ),
- 'network_add_new_users' => array( 'Jetpack', 'network_add_new_users' ),
- 'network_site_upload_space' => array( 'Jetpack', 'network_site_upload_space' ),
- 'network_upload_file_types' => array( 'Jetpack', 'network_upload_file_types' ),
- 'network_enable_administration_menus' => array( 'Jetpack', 'network_enable_administration_menus' ),
- );
-
- /**
- * Get array of multisite callables whitelisted.
- *
- * @return array Multisite callables managable via JSON API.
- */
- public static function get_multisite_callable_whitelist() {
- /**
- * Filter the list of multisite callables that are manageable via the JSON API.
- *
- * @module sync
- *
- * @since 4.8.0
- *
- * @param array The default list of multisite callables.
- */
- return apply_filters( 'jetpack_sync_multisite_callable_whitelist', self::$default_multisite_callable_whitelist );
- }
-
- /**
- * Array of post meta keys whitelisted.
- *
- * @var array Post meta whitelist.
- */
- public static $post_meta_whitelist = array(
- '_feedback_akismet_values',
- '_feedback_email',
- '_feedback_extra_fields',
- '_g_feedback_shortcode',
- '_jetpack_post_thumbnail',
- '_menu_item_classes',
- '_menu_item_menu_item_parent',
- '_menu_item_object',
- '_menu_item_object_id',
- '_menu_item_orphaned',
- '_menu_item_type',
- '_menu_item_xfn',
- '_publicize_facebook_user',
- '_publicize_twitter_user',
- '_thumbnail_id',
- '_wp_attached_file',
- '_wp_attachment_backup_sizes',
- '_wp_attachment_context',
- '_wp_attachment_image_alt',
- '_wp_attachment_is_custom_background',
- '_wp_attachment_is_custom_header',
- '_wp_attachment_metadata',
- '_wp_page_template',
- '_wp_trash_meta_comments_status',
- '_wpas_mess',
- 'content_width',
- 'custom_css_add',
- 'custom_css_preprocessor',
- 'enclosure',
- 'imagedata',
- 'nova_price',
- 'publicize_results',
- 'sharing_disabled',
- 'switch_like_status',
- 'videopress_guid',
- 'vimeo_poster_image',
- 'advanced_seo_description', // Jetpack_SEO_Posts::DESCRIPTION_META_KEY.
- );
-
- /**
- * Get the post meta key whitelist.
- *
- * @return array Post meta whitelist.
- */
- public static function get_post_meta_whitelist() {
- /**
- * Filter the list of post meta data that are manageable via the JSON API.
- *
- * @module sync
- *
- * @since 4.8.0
- *
- * @param array The default list of meta data keys.
- */
- return apply_filters( 'jetpack_sync_post_meta_whitelist', self::$post_meta_whitelist );
- }
-
- /**
- * Comment meta whitelist.
- *
- * @var array Comment meta whitelist.
- */
- public static $comment_meta_whitelist = array(
- 'hc_avatar',
- 'hc_post_as',
- 'hc_wpcom_id_sig',
- 'hc_foreign_user_id',
- );
-
- /**
- * Get the comment meta whitelist.
- *
- * @return array
- */
- public static function get_comment_meta_whitelist() {
- /**
- * Filter the list of comment meta data that are manageable via the JSON API.
- *
- * @module sync
- *
- * @since 5.7.0
- *
- * @param array The default list of comment meta data keys.
- */
- return apply_filters( 'jetpack_sync_comment_meta_whitelist', self::$comment_meta_whitelist );
- }
-
- /**
- * Default theme support whitelist.
- *
- * @todo move this to server? - these are theme support values
- * that should be synced as jetpack_current_theme_supports_foo option values
- *
- * @var array Default theme support whitelist.
- */
- public static $default_theme_support_whitelist = array(
- 'post-thumbnails',
- 'post-formats',
- 'custom-header',
- 'custom-background',
- 'custom-logo',
- 'menus',
- 'automatic-feed-links',
- 'editor-style',
- 'widgets',
- 'html5',
- 'title-tag',
- 'jetpack-social-menu',
- 'jetpack-responsive-videos',
- 'infinite-scroll',
- 'site-logo',
- );
-
- /**
- * Is an option whitelisted?
- *
- * @param string $option Option name.
- * @return bool If option is on the whitelist.
- */
- public static function is_whitelisted_option( $option ) {
- $whitelisted_options = self::get_options_whitelist();
- foreach ( $whitelisted_options as $whitelisted_option ) {
- if ( '/' === $whitelisted_option[0] && preg_match( $whitelisted_option, $option ) ) {
- return true;
- } elseif ( $whitelisted_option === $option ) {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Default whitelist of capabilities to sync.
- *
- * @var array Array of WordPress capabilities.
- */
- public static $default_capabilities_whitelist = array(
- 'switch_themes',
- 'edit_themes',
- 'edit_theme_options',
- 'install_themes',
- 'activate_plugins',
- 'edit_plugins',
- 'install_plugins',
- 'edit_users',
- 'edit_files',
- 'manage_options',
- 'moderate_comments',
- 'manage_categories',
- 'manage_links',
- 'upload_files',
- 'import',
- 'unfiltered_html',
- 'edit_posts',
- 'edit_others_posts',
- 'edit_published_posts',
- 'publish_posts',
- 'edit_pages',
- 'read',
- 'publish_pages',
- 'edit_others_pages',
- 'edit_published_pages',
- 'delete_pages',
- 'delete_others_pages',
- 'delete_published_pages',
- 'delete_posts',
- 'delete_others_posts',
- 'delete_published_posts',
- 'delete_private_posts',
- 'edit_private_posts',
- 'read_private_posts',
- 'delete_private_pages',
- 'edit_private_pages',
- 'read_private_pages',
- 'delete_users',
- 'create_users',
- 'unfiltered_upload',
- 'edit_dashboard',
- 'customize',
- 'delete_site',
- 'update_plugins',
- 'delete_plugins',
- 'update_themes',
- 'update_core',
- 'list_users',
- 'remove_users',
- 'add_users',
- 'promote_users',
- 'delete_themes',
- 'export',
- 'edit_comment',
- 'upload_plugins',
- 'upload_themes',
- );
-
- /**
- * Get default capabilities whitelist.
- *
- * @return array
- */
- public static function get_capabilities_whitelist() {
- /**
- * Filter the list of capabilities that we care about
- *
- * @module sync
- *
- * @since 5.5.0
- *
- * @param array The default list of capabilities.
- */
- return apply_filters( 'jetpack_sync_capabilities_whitelist', self::$default_capabilities_whitelist );
- }
-
- /**
- * Get max execution sync time.
- *
- * @return float Number of seconds.
- */
- public static function get_max_sync_execution_time() {
- $max_exec_time = intval( ini_get( 'max_execution_time' ) );
- if ( 0 === $max_exec_time ) {
- // 0 actually means "unlimited", but let's not treat it that way.
- $max_exec_time = 60;
- }
- return floor( $max_exec_time / 3 );
- }
-
- /**
- * Get default for a given setting.
- *
- * @param string $setting Setting to get.
- * @return mixed Value will be a string, int, array, based on the particular setting requested.
- */
- public static function get_default_setting( $setting ) {
- $default_name = "default_$setting"; // e.g. default_dequeue_max_bytes.
- return self::$$default_name;
- }
-
- /**
- * Default list of network options.
- *
- * @var array network options
- */
- public static $default_network_options_whitelist = array(
- 'site_name',
- 'jetpack_protect_key',
- 'jetpack_protect_global_whitelist',
- 'active_sitewide_plugins',
- );
-
- /**
- * A mapping of known importers to friendly names.
- *
- * Keys are the class name of the known importer.
- * Values are the friendly name.
- *
- * @since 7.3.0
- *
- * @var array
- */
- public static $default_known_importers = array(
- 'Blogger_Importer' => 'blogger',
- 'LJ_API_Import' => 'livejournal',
- 'MT_Import' => 'mt',
- 'RSS_Import' => 'rss',
- 'WC_Tax_Rate_Importer' => 'woo-tax-rate',
- 'WP_Import' => 'wordpress',
- );
-
- /**
- * Returns a list of known importers.
- *
- * @since 7.3.0
- *
- * @return array Known importers with importer class names as keys and friendly names as values.
- */
- public static function get_known_importers() {
- /**
- * Filter the list of known importers.
- *
- * @module sync
- *
- * @since 7.3.0
- *
- * @param array The default list of known importers.
- */
- return apply_filters( 'jetpack_sync_known_importers', self::$default_known_importers );
- }
-
- /**
- * Whether this is a system with a multiple networks.
- * We currently need this static wrapper because we statically define our default list of callables.
- *
- * @since 7.6.0
- *
- * @uses Automattic\Jetpack\Status::is_multi_network
- *
- * @return boolean
- */
- public static function is_multi_network() {
- $status = new Status();
- return $status->is_multi_network();
- }
-
- /**
- * Default bytes to dequeue.
- *
- * @var int Bytes.
- */
- public static $default_dequeue_max_bytes = 500000; // very conservative value, 1/2 MB.
-
- /**
- * Default upload bytes.
- *
- * This value is a little bigger than the upload limit to account for serialization.
- *
- * @var int Bytes.
- */
- public static $default_upload_max_bytes = 600000;
-
- /**
- * Default number of rows uploaded.
- *
- * @var int Number of rows.
- */
- public static $default_upload_max_rows = 500;
-
- /**
- * Default sync wait time.
- *
- * @var int Number of seconds.
- */
- public static $default_sync_wait_time = 10; // seconds, between syncs.
-
- /**
- * Only wait before next send if the current send took more than this number of seconds.
- *
- * @var int Number of seconds.
- */
- public static $default_sync_wait_threshold = 10;
-
- /**
- * Default wait between attempting to continue a full sync via requests.
- *
- * @var int Number of seconds.
- */
- public static $default_enqueue_wait_time = 1;
-
- /**
- * Maximum queue size.
- *
- * Each item is represented with a new row in the wp_options table.
- *
- * @var int Number of queue items.
- */
- public static $default_max_queue_size = 1000;
-
- /**
- * Default maximum lag allowed in the queue.
- *
- * @var int Number of seconds
- */
- public static $default_max_queue_lag = 900; // 15 minutes.
-
- /**
- * Default for default writes per sec.
- *
- * @var int Rows per second.
- */
- public static $default_queue_max_writes_sec = 100; // 100 rows a second.
-
- /**
- * Default for post types blacklist.
- *
- * @var array Empty array.
- */
- public static $default_post_types_blacklist = array();
-
- /**
- * Default for taxonomies blacklist.
- *
- * @var array Empty array.
- */
- public static $default_taxonomies_blacklist = array();
-
- /**
- * Default for taxonomies whitelist.
- *
- * @var array Empty array.
- */
- public static $default_taxonomy_whitelist = array();
-
- /**
- * Default for post meta whitelist.
- *
- * @var array Empty array.
- */
- public static $default_post_meta_whitelist = array();
-
- /**
- * Default for comment meta whitelist.
- *
- * @var array Empty array.
- */
- public static $default_comment_meta_whitelist = array();
-
- /**
- * Default for disabling sync across the site.
- *
- * @var int Bool-ish. Default to 0.
- */
- public static $default_disable = 0; // completely disable sending data to wpcom.
-
- /**
- * Default for disabling sync across the entire network on multisite.
- *
- * @var int Bool-ish. Default 0.
- */
- public static $default_network_disable = 0;
-
- /**
- * Should Sync use cron?
- *
- * @var int Bool-ish value. Default 1.
- */
- public static $default_sync_via_cron = 1;
-
- /**
- * Default if Sync should render content.
- *
- * @var int Bool-ish value. Default is 0.
- */
- public static $default_render_filtered_content = 0;
-
- /**
- * Default number of items to enqueue at a time when running full sync.
- *
- * @var int Number of items.
- */
- public static $default_max_enqueue_full_sync = 100;
-
- /**
- * Default for maximum queue size during a full sync.
- *
- * Each item will represent a value in the wp_options table.
- *
- * @var int Number of items.
- */
- public static $default_max_queue_size_full_sync = 1000; // max number of total items in the full sync queue.
-
- /**
- * Default max time for sending in immediate mode.
- *
- * @var float Number of Seconds
- */
- public static $default_full_sync_send_duration = 9;
-
- /**
- * Defaul for time between syncing callables.
- *
- * @var int Number of seconds.
- */
- public static $default_sync_callables_wait_time = MINUTE_IN_SECONDS; // seconds before sending callables again.
-
- /**
- * Default for time between syncing constants.
- *
- * @var int Number of seconds.
- */
- public static $default_sync_constants_wait_time = HOUR_IN_SECONDS; // seconds before sending constants again.
- /**
- * Default for sync queue lock timeout time.
- *
- * @var int Number of seconds.
- */
- public static $default_sync_queue_lock_timeout = 120; // 2 minutes.
-
- /**
- * Default for cron sync time limit.
- *
- * @var int Number of seconds.
- */
- public static $default_cron_sync_time_limit = 4 * MINUTE_IN_SECONDS;
-
- /**
- * Default for number of term relationship items sent in an full sync item.
- *
- * @var int Number of items.
- */
- public static $default_term_relationships_full_sync_item_size = 100;
-
- /**
- * Default for enabling incremental sync.
- *
- * @var int 1 for true.
- */
- public static $default_sync_sender_enabled = 1; // Should send incremental sync items.
-
- /**
- * Default for enabling Full Sync.
- *
- * @var int 1 for true.
- */
- public static $default_full_sync_sender_enabled = 1; // Should send full sync items.
-
- /**
- * Default Full Sync config
- *
- * @var array list of module names.
- */
- public static $default_full_sync_config = array(
- 'constants' => 1,
- 'functions' => 1,
- 'options' => 1,
- 'updates' => 1,
- 'themes' => 1,
- 'users' => 1,
- 'terms' => 1,
- 'posts' => 1,
- 'comments' => 1,
- 'term_relationships' => 1,
- );
-
- /**
- * Default Full Sync max objects to send on a single request.
- *
- * @var array list of module => max.
- */
- public static $default_full_sync_limits = array(
- 'users' => array(
- 'chunk_size' => 100,
- 'max_chunks' => 10,
- ),
- 'terms' => array(
- 'chunk_size' => 1000,
- 'max_chunks' => 10,
- ),
- 'posts' => array(
- 'chunk_size' => 100,
- 'max_chunks' => 1,
- ),
- 'comments' => array(
- 'chunk_size' => 100,
- 'max_chunks' => 10,
- ),
- 'term_relationships' => array(
- 'chunk_size' => 1000,
- 'max_chunks' => 10,
- ),
- );
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-functions.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-functions.php
index cfdc2bd8..dee0766c 100644
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-functions.php
+++ b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-functions.php
@@ -1,605 +1,2 @@
-<?php
-/**
- * Utility functions to generate data synced to wpcom
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-use Automattic\Jetpack\Constants;
-
-/**
- * Utility functions to generate data synced to wpcom
- */
-class Functions {
- const HTTPS_CHECK_OPTION_PREFIX = 'jetpack_sync_https_history_';
- const HTTPS_CHECK_HISTORY = 5;
-
- /**
- * Return array of Jetpack modules.
- *
- * @return array
- */
- public static function get_modules() {
- require_once JETPACK__PLUGIN_DIR . 'class.jetpack-admin.php';
-
- return \Jetpack_Admin::init()->get_modules();
- }
-
- /**
- * Return array of taxonomies registered on the site.
- *
- * @return array
- */
- public static function get_taxonomies() {
- global $wp_taxonomies;
- $wp_taxonomies_without_callbacks = array();
- foreach ( $wp_taxonomies as $taxonomy_name => $taxonomy ) {
- $sanitized_taxonomy = self::sanitize_taxonomy( $taxonomy );
- if ( ! empty( $sanitized_taxonomy ) ) {
- $wp_taxonomies_without_callbacks[ $taxonomy_name ] = $sanitized_taxonomy;
- }
- }
- return $wp_taxonomies_without_callbacks;
- }
-
- /**
- * Return array of registered shortcodes.
- *
- * @return array
- */
- public static function get_shortcodes() {
- global $shortcode_tags;
- return array_keys( $shortcode_tags );
- }
-
- /**
- * Removes any callback data since we will not be able to process it on our side anyways.
- *
- * @param \WP_Taxonomy $taxonomy \WP_Taxonomy item.
- *
- * @return mixed|null
- */
- public static function sanitize_taxonomy( $taxonomy ) {
-
- // Lets clone the taxonomy object instead of modifing the global one.
- $cloned_taxonomy = json_decode( wp_json_encode( $taxonomy ) );
-
- // recursive taxonomies are no fun.
- if ( is_null( $cloned_taxonomy ) ) {
- return null;
- }
- // Remove any meta_box_cb if they are not the default wp ones.
- if ( isset( $cloned_taxonomy->meta_box_cb ) &&
- ! in_array( $cloned_taxonomy->meta_box_cb, array( 'post_tags_meta_box', 'post_categories_meta_box' ), true ) ) {
- $cloned_taxonomy->meta_box_cb = null;
- }
- // Remove update call back.
- if ( isset( $cloned_taxonomy->update_count_callback ) &&
- ! is_null( $cloned_taxonomy->update_count_callback ) ) {
- $cloned_taxonomy->update_count_callback = null;
- }
- // Remove rest_controller_class if it something other then the default.
- if ( isset( $cloned_taxonomy->rest_controller_class ) &&
- 'WP_REST_Terms_Controller' !== $cloned_taxonomy->rest_controller_class ) {
- $cloned_taxonomy->rest_controller_class = null;
- }
- return $cloned_taxonomy;
- }
-
- /**
- * Return array of registered post types.
- *
- * @return array
- */
- public static function get_post_types() {
- global $wp_post_types;
-
- $post_types_without_callbacks = array();
- foreach ( $wp_post_types as $post_type_name => $post_type ) {
- $sanitized_post_type = self::sanitize_post_type( $post_type );
- if ( ! empty( $sanitized_post_type ) ) {
- $post_types_without_callbacks[ $post_type_name ] = $sanitized_post_type;
- }
- }
- return $post_types_without_callbacks;
- }
-
- /**
- * Sanitizes by cloning post type object.
- *
- * @param object $post_type \WP_Post_Type.
- *
- * @return object
- */
- public static function sanitize_post_type( $post_type ) {
- // Lets clone the post type object instead of modifing the global one.
- $sanitized_post_type = array();
- foreach ( Defaults::$default_post_type_attributes as $attribute_key => $default_value ) {
- if ( isset( $post_type->{ $attribute_key } ) ) {
- $sanitized_post_type[ $attribute_key ] = $post_type->{ $attribute_key };
- }
- }
- return (object) $sanitized_post_type;
- }
-
- /**
- * Return information about a synced post type.
- *
- * @param array $sanitized_post_type Array of args used in constructing \WP_Post_Type.
- * @param string $post_type Post type name.
- *
- * @return object \WP_Post_Type
- */
- public static function expand_synced_post_type( $sanitized_post_type, $post_type ) {
- $post_type = sanitize_key( $post_type );
- $post_type_object = new \WP_Post_Type( $post_type, $sanitized_post_type );
- $post_type_object->add_supports();
- $post_type_object->add_rewrite_rules();
- $post_type_object->add_hooks();
- $post_type_object->register_taxonomies();
- return (object) $post_type_object;
- }
-
- /**
- * Returns site's post_type_features.
- *
- * @return array
- */
- public static function get_post_type_features() {
- global $_wp_post_type_features;
-
- return $_wp_post_type_features;
- }
-
- /**
- * Return hosting provider.
- *
- * Uses a set of known constants, classes, or functions to help determine the hosting platform.
- *
- * @return string Hosting provider.
- */
- public static function get_hosting_provider() {
- $hosting_provider_detection_methods = array(
- 'get_hosting_provider_by_known_constant',
- 'get_hosting_provider_by_known_class',
- 'get_hosting_provider_by_known_function',
- );
-
- $functions = new Functions();
- foreach ( $hosting_provider_detection_methods as $method ) {
- $hosting_provider = call_user_func( array( $functions, $method ) );
- if ( false !== $hosting_provider ) {
- return $hosting_provider;
- }
- }
-
- return 'unknown';
- }
-
- /**
- * Return a hosting provider using a set of known constants.
- *
- * @return mixed A host identifier string or false.
- */
- public function get_hosting_provider_by_known_constant() {
- $hosting_provider_constants = array(
- 'GD_SYSTEM_PLUGIN_DIR' => 'gd-managed-wp',
- 'MM_BASE_DIR' => 'bh',
- 'PAGELYBIN' => 'pagely',
- 'KINSTAMU_VERSION' => 'kinsta',
- 'FLYWHEEL_CONFIG_DIR' => 'flywheel',
- 'IS_PRESSABLE' => 'pressable',
- 'VIP_GO_ENV' => 'vip-go',
- );
-
- foreach ( $hosting_provider_constants as $constant => $constant_value ) {
- if ( Constants::is_defined( $constant ) ) {
- if ( 'VIP_GO_ENV' === $constant && false === Constants::get_constant( 'VIP_GO_ENV' ) ) {
- continue;
- }
- return $constant_value;
- }
- }
-
- return false;
- }
-
- /**
- * Return a hosting provider using a set of known classes.
- *
- * @return mixed A host identifier string or false.
- */
- public function get_hosting_provider_by_known_class() {
- $hosting_provider = false;
-
- switch ( true ) {
- case ( class_exists( '\\WPaaS\\Plugin' ) ):
- $hosting_provider = 'gd-managed-wp';
- break;
- }
-
- return $hosting_provider;
- }
-
- /**
- * Return a hosting provider using a set of known functions.
- *
- * @return mixed A host identifier string or false.
- */
- public function get_hosting_provider_by_known_function() {
- $hosting_provider = false;
-
- switch ( true ) {
- case ( function_exists( 'is_wpe' ) || function_exists( 'is_wpe_snapshot' ) ):
- $hosting_provider = 'wpe';
- break;
- }
-
- return $hosting_provider;
- }
-
- /**
- * Return array of allowed REST API post types.
- *
- * @return array Array of allowed post types.
- */
- public static function rest_api_allowed_post_types() {
- /** This filter is already documented in class.json-api-endpoints.php */
- return apply_filters( 'rest_api_allowed_post_types', array( 'post', 'page', 'revision' ) );
- }
-
- /**
- * Return array of allowed REST API public metadata.
- *
- * @return array Array of allowed metadata.
- */
- public static function rest_api_allowed_public_metadata() {
- /** This filter is documented in json-endpoints/class.wpcom-json-api-post-endpoint.php */
- return apply_filters( 'rest_api_allowed_public_metadata', array() );
- }
-
- /**
- * Finds out if a site is using a version control system.
- *
- * @return bool
- **/
- public static function is_version_controlled() {
-
- if ( ! class_exists( 'WP_Automatic_Updater' ) ) {
- require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
- }
- $updater = new \WP_Automatic_Updater();
-
- return (bool) strval( $updater->is_vcs_checkout( ABSPATH ) );
- }
-
- /**
- * Returns true if the site has file write access false otherwise.
- *
- * @return bool
- **/
- public static function file_system_write_access() {
- if ( ! function_exists( 'get_filesystem_method' ) ) {
- require_once ABSPATH . 'wp-admin/includes/file.php';
- }
-
- require_once ABSPATH . 'wp-admin/includes/template.php';
-
- $filesystem_method = get_filesystem_method();
- if ( 'direct' === $filesystem_method ) {
- return true;
- }
-
- ob_start();
-
- if ( ! function_exists( 'request_filesystem_credentials' ) ) {
- require_once ABSPATH . 'wp-admin/includes/file.php';
- }
-
- $filesystem_credentials_are_stored = request_filesystem_credentials( self_admin_url() );
- ob_end_clean();
- if ( $filesystem_credentials_are_stored ) {
- return true;
- }
-
- return false;
- }
-
- /**
- * Helper function that is used when getting home or siteurl values. Decides
- * whether to get the raw or filtered value.
- *
- * @param string $url_type URL to get, home or siteurl.
- * @return string
- */
- public static function get_raw_or_filtered_url( $url_type ) {
- $url_function = ( 'home' === $url_type )
- ? 'home_url'
- : 'site_url';
-
- if (
- ! Constants::is_defined( 'JETPACK_SYNC_USE_RAW_URL' ) ||
- Constants::get_constant( 'JETPACK_SYNC_USE_RAW_URL' )
- ) {
- $scheme = is_ssl() ? 'https' : 'http';
- $url = self::get_raw_url( $url_type );
- $url = set_url_scheme( $url, $scheme );
- } else {
- $url = self::normalize_www_in_url( $url_type, $url_function );
- }
-
- return self::get_protocol_normalized_url( $url_function, $url );
- }
-
- /**
- * Return the escaped home_url.
- *
- * @return string
- */
- public static function home_url() {
- $url = self::get_raw_or_filtered_url( 'home' );
-
- /**
- * Allows overriding of the home_url value that is synced back to WordPress.com.
- *
- * @since 5.2.0
- *
- * @param string $home_url
- */
- return esc_url_raw( apply_filters( 'jetpack_sync_home_url', $url ) );
- }
-
- /**
- * Return the escaped siteurl.
- *
- * @return string
- */
- public static function site_url() {
- $url = self::get_raw_or_filtered_url( 'siteurl' );
-
- /**
- * Allows overriding of the site_url value that is synced back to WordPress.com.
- *
- * @since 5.2.0
- *
- * @param string $site_url
- */
- return esc_url_raw( apply_filters( 'jetpack_sync_site_url', $url ) );
- }
-
- /**
- * Return main site URL with a normalized protocol.
- *
- * @return string
- */
- public static function main_network_site_url() {
- return self::get_protocol_normalized_url( 'main_network_site_url', network_site_url() );
- }
-
- /**
- * Return URL with a normalized protocol.
- *
- * @param callable $callable Function to retrieve URL option.
- * @param string $new_value URL Protocol to set URLs to.
- * @return string Normalized URL.
- */
- public static function get_protocol_normalized_url( $callable, $new_value ) {
- $option_key = self::HTTPS_CHECK_OPTION_PREFIX . $callable;
-
- $parsed_url = wp_parse_url( $new_value );
- if ( ! $parsed_url ) {
- return $new_value;
- }
- if ( array_key_exists( 'scheme', $parsed_url ) ) {
- $scheme = $parsed_url['scheme'];
- } else {
- $scheme = '';
- }
- $scheme_history = get_option( $option_key, array() );
- $scheme_history[] = $scheme;
-
- // Limit length to self::HTTPS_CHECK_HISTORY.
- $scheme_history = array_slice( $scheme_history, ( self::HTTPS_CHECK_HISTORY * -1 ) );
-
- update_option( $option_key, $scheme_history );
-
- $forced_scheme = in_array( 'https', $scheme_history, true ) ? 'https' : 'http';
-
- return set_url_scheme( $new_value, $forced_scheme );
- }
-
- /**
- * Return URL from option or PHP constant.
- *
- * @param string $option_name (e.g. 'home').
- *
- * @return mixed|null URL.
- */
- public static function get_raw_url( $option_name ) {
- $value = null;
- $constant = ( 'home' === $option_name )
- ? 'WP_HOME'
- : 'WP_SITEURL';
-
- // Since we disregard the constant for multisites in ms-default-filters.php,
- // let's also use the db value if this is a multisite.
- if ( ! is_multisite() && Constants::is_defined( $constant ) ) {
- $value = Constants::get_constant( $constant );
- } else {
- // Let's get the option from the database so that we can bypass filters. This will help
- // ensure that we get more uniform values.
- $value = \Jetpack_Options::get_raw_option( $option_name );
- }
-
- return $value;
- }
-
- /**
- * Normalize domains by removing www unless declared in the site's option.
- *
- * @param string $option Option value from the site.
- * @param callable $url_function Function retrieving the URL to normalize.
- * @return mixed|string URL.
- */
- public static function normalize_www_in_url( $option, $url_function ) {
- $url = wp_parse_url( call_user_func( $url_function ) );
- $option_url = wp_parse_url( get_option( $option ) );
-
- if ( ! $option_url || ! $url ) {
- return $url;
- }
-
- if ( "www.{$option_url[ 'host' ]}" === $url['host'] ) {
- // remove www if not present in option URL.
- $url['host'] = $option_url['host'];
- }
- if ( "www.{$url[ 'host' ]}" === $option_url['host'] ) {
- // add www if present in option URL.
- $url['host'] = $option_url['host'];
- }
-
- $normalized_url = "{$url['scheme']}://{$url['host']}";
- if ( isset( $url['path'] ) ) {
- $normalized_url .= "{$url['path']}";
- }
-
- if ( isset( $url['query'] ) ) {
- $normalized_url .= "?{$url['query']}";
- }
-
- return $normalized_url;
- }
-
- /**
- * Return filtered value of get_plugins.
- *
- * @return mixed|void
- */
- public static function get_plugins() {
- if ( ! function_exists( 'get_plugins' ) ) {
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
- }
-
- /** This filter is documented in wp-admin/includes/class-wp-plugins-list-table.php */
- return apply_filters( 'all_plugins', get_plugins() );
- }
-
- /**
- * Get custom action link tags that the plugin is using
- * Ref: https://codex.wordpress.org/Plugin_API/Filter_Reference/plugin_action_links_(plugin_file_name)
- *
- * @param string $plugin_file_singular Particular plugin.
- * @return array of plugin action links (key: link name value: url)
- */
- public static function get_plugins_action_links( $plugin_file_singular = null ) {
- // Some sites may have DOM disabled in PHP fail early.
- if ( ! class_exists( 'DOMDocument' ) ) {
- return array();
- }
- $plugins_action_links = get_option( 'jetpack_plugin_api_action_links', array() );
- if ( ! empty( $plugins_action_links ) ) {
- if ( is_null( $plugin_file_singular ) ) {
- return $plugins_action_links;
- }
- return ( isset( $plugins_action_links[ $plugin_file_singular ] ) ? $plugins_action_links[ $plugin_file_singular ] : null );
- }
- return array();
- }
-
- /**
- * Return the WP version as defined in the $wp_version global.
- *
- * @return string
- */
- public static function wp_version() {
- global $wp_version;
- return $wp_version;
- }
-
- /**
- * Return site icon url used on the site.
- *
- * @param int $size Size of requested icon in pixels.
- * @return mixed|string|void
- */
- public static function site_icon_url( $size = 512 ) {
- $site_icon = get_site_icon_url( $size );
- return $site_icon ? $site_icon : get_option( 'jetpack_site_icon_url' );
- }
-
- /**
- * Return roles registered on the site.
- *
- * @return array
- */
- public static function roles() {
- $wp_roles = wp_roles();
- return $wp_roles->roles;
- }
-
- /**
- * Determine time zone from WordPress' options "timezone_string"
- * and "gmt_offset".
- *
- * 1. Check if `timezone_string` is set and return it.
- * 2. Check if `gmt_offset` is set, formats UTC-offset from it and return it.
- * 3. Default to "UTC+0" if nothing is set.
- *
- * Note: This function is specifically not using wp_timezone() to keep consistency with
- * the existing formatting of the timezone string.
- *
- * @return string
- */
- public static function get_timezone() {
- $timezone_string = get_option( 'timezone_string' );
-
- if ( ! empty( $timezone_string ) ) {
- return str_replace( '_', ' ', $timezone_string );
- }
-
- $gmt_offset = get_option( 'gmt_offset', 0 );
-
- $formatted_gmt_offset = sprintf( '%+g', floatval( $gmt_offset ) );
-
- $formatted_gmt_offset = str_replace(
- array( '.25', '.5', '.75' ),
- array( ':15', ':30', ':45' ),
- (string) $formatted_gmt_offset
- );
-
- /* translators: %s is UTC offset, e.g. "+1" */
- return sprintf( __( 'UTC%s', 'jetpack' ), $formatted_gmt_offset );
- }
-
- /**
- * Return list of paused themes.
- *
- * @todo Remove function_exists check when WP 5.2 is the minimum.
- *
- * @return array|bool Array of paused themes or false if unsupported.
- */
- public static function get_paused_themes() {
- if ( function_exists( 'wp_paused_themes' ) ) {
- $paused_themes = wp_paused_themes();
- return $paused_themes->get_all();
- }
- return false;
- }
-
- /**
- * Return list of paused plugins.
- *
- * @todo Remove function_exists check when WP 5.2 is the minimum.
- *
- * @return array|bool Array of paused plugins or false if unsupported.
- */
- public static function get_paused_plugins() {
- if ( function_exists( 'wp_paused_plugins' ) ) {
- $paused_plugins = wp_paused_plugins();
- return $paused_plugins->get_all();
- }
- return false;
- }
-}
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-sync/src/class-functions.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-json-deflate-array-codec.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-json-deflate-array-codec.php
deleted file mode 100644
index f13e5dcb..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-json-deflate-array-codec.php
+++ /dev/null
@@ -1,136 +0,0 @@
-<?php
-/**
- * An implementation of Automattic\Jetpack\Sync\Codec_Interface that uses gzip's DEFLATE
- * algorithm to compress objects serialized using json_encode.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-use Automattic\Jetpack\Sync\Codec_Interface;
-
-/**
- * An implementation of Automattic\Jetpack\Sync\Codec_Interface that uses gzip's DEFLATE
- * algorithm to compress objects serialized using json_encode
- */
-class JSON_Deflate_Array_Codec implements Codec_Interface {
- const CODEC_NAME = 'deflate-json-array';
-
- /**
- * Return the name of the codec.
- *
- * @return string
- */
- public function name() {
- return self::CODEC_NAME;
- }
-
- /**
- * Encodes an object.
- *
- * @param object $object Item to encode.
- * @return string
- */
- public function encode( $object ) {
- return base64_encode( gzdeflate( $this->json_serialize( $object ) ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
- }
-
- /**
- * Decode compressed serialized value.
- *
- * @param string $input Item to decode.
- * @return array|mixed|object
- */
- public function decode( $input ) {
- return $this->json_unserialize( gzinflate( base64_decode( $input ) ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
- }
-
- /**
- * Serialize JSON
- *
- * @see https://gist.github.com/muhqu/820694
- *
- * @param string $any Value to serialize and wrap.
- *
- * @return false|string
- */
- protected function json_serialize( $any ) {
- if ( function_exists( 'jetpack_json_wrap' ) ) {
- return wp_json_encode( jetpack_json_wrap( $any ) );
- }
- // This prevents fatal error when updating pre 6.0 via the cli command.
- return wp_json_encode( $this->json_wrap( $any ) );
- }
-
- /**
- * Unserialize JSON
- *
- * @param string $str JSON string.
- * @return array|object Unwrapped JSON.
- */
- protected function json_unserialize( $str ) {
- return $this->json_unwrap( json_decode( $str, true ) );
- }
-
- /**
- * Wraps JSON
- *
- * @param object|array $any Wrapping value.
- * @param array $seen_nodes Seen nodes.
- * @return array
- */
- private function json_wrap( &$any, $seen_nodes = array() ) {
- if ( is_object( $any ) ) {
- $input = get_object_vars( $any );
- $input['__o'] = 1;
- } else {
- $input = &$any;
- }
-
- if ( is_array( $input ) ) {
- $seen_nodes[] = &$any;
-
- $return = array();
-
- foreach ( $input as $k => &$v ) {
- if ( ( is_array( $v ) || is_object( $v ) ) ) {
- if ( in_array( $v, $seen_nodes, true ) ) {
- continue;
- }
- $return[ $k ] = $this->json_wrap( $v, $seen_nodes );
- } else {
- $return[ $k ] = $v;
- }
- }
-
- return $return;
- }
-
- return $any;
- }
-
- /**
- * Unwraps a json_decode return.
- *
- * @param array|object $any json_decode object.
- * @return array|object
- */
- private function json_unwrap( $any ) {
- if ( is_array( $any ) ) {
- foreach ( $any as $k => $v ) {
- if ( '__o' === $k ) {
- continue;
- }
- $any[ $k ] = $this->json_unwrap( $v );
- }
-
- if ( isset( $any['__o'] ) ) {
- unset( $any['__o'] );
- $any = (object) $any;
- }
- }
-
- return $any;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-listener.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-listener.php
deleted file mode 100644
index db5f377e..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-listener.php
+++ /dev/null
@@ -1,441 +0,0 @@
-<?php
-/**
- * Jetpack's Sync Listener
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-use Automattic\Jetpack\Roles;
-
-/**
- * This class monitors actions and logs them to the queue to be sent.
- */
-class Listener {
- const QUEUE_STATE_CHECK_TRANSIENT = 'jetpack_sync_last_checked_queue_state';
- const QUEUE_STATE_CHECK_TIMEOUT = 300; // 5 minutes.
-
- /**
- * Sync queue.
- *
- * @var object
- */
- private $sync_queue;
-
- /**
- * Full sync queue.
- *
- * @var object
- */
- private $full_sync_queue;
-
- /**
- * Sync queue size limit.
- *
- * @var int size limit.
- */
- private $sync_queue_size_limit;
-
- /**
- * Sync queue lag limit.
- *
- * @var int Lag limit.
- */
- private $sync_queue_lag_limit;
-
- /**
- * Singleton implementation.
- *
- * @var Listener
- */
- private static $instance;
-
- /**
- * Get the Listener instance.
- *
- * @return Listener
- */
- public static function get_instance() {
- if ( null === self::$instance ) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- /**
- * Listener constructor.
- *
- * This is necessary because you can't use "new" when you declare instance properties >:(
- */
- protected function __construct() {
- $this->set_defaults();
- $this->init();
- }
-
- /**
- * Sync Listener init.
- */
- private function init() {
- $handler = array( $this, 'action_handler' );
- $full_sync_handler = array( $this, 'full_sync_action_handler' );
-
- foreach ( Modules::get_modules() as $module ) {
- $module->init_listeners( $handler );
- $module->init_full_sync_listeners( $full_sync_handler );
- }
-
- // Module Activation.
- add_action( 'jetpack_activate_module', $handler );
- add_action( 'jetpack_deactivate_module', $handler );
-
- // Jetpack Upgrade.
- add_action( 'updating_jetpack_version', $handler, 10, 2 );
-
- // Send periodic checksum.
- add_action( 'jetpack_sync_checksum', $handler );
- }
-
- /**
- * Get incremental sync queue.
- */
- public function get_sync_queue() {
- return $this->sync_queue;
- }
-
- /**
- * Gets the full sync queue.
- */
- public function get_full_sync_queue() {
- return $this->full_sync_queue;
- }
-
- /**
- * Sets queue size limit.
- *
- * @param int $limit Queue size limit.
- */
- public function set_queue_size_limit( $limit ) {
- $this->sync_queue_size_limit = $limit;
- }
-
- /**
- * Get queue size limit.
- */
- public function get_queue_size_limit() {
- return $this->sync_queue_size_limit;
- }
-
- /**
- * Sets the queue lag limit.
- *
- * @param int $age Queue lag limit.
- */
- public function set_queue_lag_limit( $age ) {
- $this->sync_queue_lag_limit = $age;
- }
-
- /**
- * Return value of queue lag limit.
- */
- public function get_queue_lag_limit() {
- return $this->sync_queue_lag_limit;
- }
-
- /**
- * Force a recheck of the queue limit.
- */
- public function force_recheck_queue_limit() {
- delete_transient( self::QUEUE_STATE_CHECK_TRANSIENT . '_' . $this->sync_queue->id );
- delete_transient( self::QUEUE_STATE_CHECK_TRANSIENT . '_' . $this->full_sync_queue->id );
- }
-
- /**
- * Determine if an item can be added to the queue.
- *
- * Prevent adding items to the queue if it hasn't sent an item for 15 mins
- * AND the queue is over 1000 items long (by default).
- *
- * @param object $queue Sync queue.
- * @return bool
- */
- public function can_add_to_queue( $queue ) {
- if ( ! Settings::is_sync_enabled() ) {
- return false;
- }
-
- $state_transient_name = self::QUEUE_STATE_CHECK_TRANSIENT . '_' . $queue->id;
-
- $queue_state = get_transient( $state_transient_name );
-
- if ( false === $queue_state ) {
- $queue_state = array( $queue->size(), $queue->lag() );
- set_transient( $state_transient_name, $queue_state, self::QUEUE_STATE_CHECK_TIMEOUT );
- }
-
- list( $queue_size, $queue_age ) = $queue_state;
-
- return ( $queue_age < $this->sync_queue_lag_limit )
- ||
- ( ( $queue_size + 1 ) < $this->sync_queue_size_limit );
- }
-
- /**
- * Full sync action handler.
- *
- * @param mixed ...$args Args passed to the action.
- */
- public function full_sync_action_handler( ...$args ) {
- $this->enqueue_action( current_filter(), $args, $this->full_sync_queue );
- }
-
- /**
- * Action handler.
- *
- * @param mixed ...$args Args passed to the action.
- */
- public function action_handler( ...$args ) {
- $this->enqueue_action( current_filter(), $args, $this->sync_queue );
- }
-
- // add many actions to the queue directly, without invoking them.
-
- /**
- * Bulk add action to the queue.
- *
- * @param string $action_name The name the full sync action.
- * @param array $args_array Array of chunked arguments.
- */
- public function bulk_enqueue_full_sync_actions( $action_name, $args_array ) {
- $queue = $this->get_full_sync_queue();
-
- /*
- * If we add any items to the queue, we should try to ensure that our script
- * can't be killed before they are sent.
- */
- if ( function_exists( 'ignore_user_abort' ) ) {
- ignore_user_abort( true );
- }
-
- $data_to_enqueue = array();
- $user_id = get_current_user_id();
- $currtime = microtime( true );
- $is_importing = Settings::is_importing();
-
- foreach ( $args_array as $args ) {
- $previous_end = isset( $args['previous_end'] ) ? $args['previous_end'] : null;
- $args = isset( $args['ids'] ) ? $args['ids'] : $args;
-
- /**
- * Modify or reject the data within an action before it is enqueued locally.
- *
- * @since 4.2.0
- *
- * @module sync
- *
- * @param array The action parameters
- */
- $args = apply_filters( "jetpack_sync_before_enqueue_$action_name", $args );
- $action_data = array( $args );
- if ( ! is_null( $previous_end ) ) {
- $action_data[] = $previous_end;
- }
- // allow listeners to abort.
- if ( false === $args ) {
- continue;
- }
-
- $data_to_enqueue[] = array(
- $action_name,
- $action_data,
- $user_id,
- $currtime,
- $is_importing,
- );
- }
-
- $queue->add_all( $data_to_enqueue );
- }
-
- /**
- * Enqueue the action.
- *
- * @param string $current_filter Current WordPress filter.
- * @param object $args Sync args.
- * @param string $queue Sync queue.
- */
- public function enqueue_action( $current_filter, $args, $queue ) {
- // don't enqueue an action during the outbound http request - this prevents recursion.
- if ( Settings::is_sending() ) {
- return;
- }
-
- /**
- * Add an action hook to execute when anything on the whitelist gets sent to the queue to sync.
- *
- * @module sync
- *
- * @since 5.9.0
- */
- do_action( 'jetpack_sync_action_before_enqueue' );
-
- /**
- * Modify or reject the data within an action before it is enqueued locally.
- *
- * @since 4.2.0
- *
- * @param array The action parameters
- */
- $args = apply_filters( "jetpack_sync_before_enqueue_$current_filter", $args );
-
- // allow listeners to abort.
- if ( false === $args ) {
- return;
- }
-
- /*
- * Periodically check the size of the queue, and disable adding to it if
- * it exceeds some limit AND the oldest item exceeds the age limit (i.e. sending has stopped).
- */
- if ( ! $this->can_add_to_queue( $queue ) ) {
- return;
- }
-
- /*
- * If we add any items to the queue, we should try to ensure that our script
- * can't be killed before they are sent.
- */
- if ( function_exists( 'ignore_user_abort' ) ) {
- ignore_user_abort( true );
- }
-
- if (
- 'sync' === $queue->id ||
- in_array(
- $current_filter,
- array(
- 'jetpack_full_sync_start',
- 'jetpack_full_sync_end',
- 'jetpack_full_sync_cancel',
- ),
- true
- )
- ) {
- $queue->add(
- array(
- $current_filter,
- $args,
- get_current_user_id(),
- microtime( true ),
- Settings::is_importing(),
- $this->get_actor( $current_filter, $args ),
- )
- );
- } else {
- $queue->add(
- array(
- $current_filter,
- $args,
- get_current_user_id(),
- microtime( true ),
- Settings::is_importing(),
- )
- );
- }
-
- // since we've added some items, let's try to load the sender so we can send them as quickly as possible.
- if ( ! Actions::$sender ) {
- add_filter( 'jetpack_sync_sender_should_load', '__return_true' );
- if ( did_action( 'init' ) ) {
- Actions::add_sender_shutdown();
- }
- }
- }
-
- /**
- * Get the event's actor.
- *
- * @param string $current_filter Current wp-admin page.
- * @param object $args Sync event.
- * @return array Actor information.
- */
- public function get_actor( $current_filter, $args ) {
- if ( 'wp_login' === $current_filter ) {
- $user = get_user_by( 'ID', $args[1]->data->ID );
- } else {
- $user = wp_get_current_user();
- }
-
- $roles = new Roles();
- $translated_role = $roles->translate_user_to_role( $user );
-
- $actor = array(
- 'wpcom_user_id' => null,
- 'external_user_id' => isset( $user->ID ) ? $user->ID : null,
- 'display_name' => isset( $user->display_name ) ? $user->display_name : null,
- 'user_email' => isset( $user->user_email ) ? $user->user_email : null,
- 'user_roles' => isset( $user->roles ) ? $user->roles : null,
- 'translated_role' => $translated_role ? $translated_role : null,
- 'is_cron' => defined( 'DOING_CRON' ) ? DOING_CRON : false,
- 'is_rest' => defined( 'REST_API_REQUEST' ) ? REST_API_REQUEST : false,
- 'is_xmlrpc' => defined( 'XMLRPC_REQUEST' ) ? XMLRPC_REQUEST : false,
- 'is_wp_rest' => defined( 'REST_REQUEST' ) ? REST_REQUEST : false,
- 'is_ajax' => defined( 'DOING_AJAX' ) ? DOING_AJAX : false,
- 'is_wp_admin' => is_admin(),
- 'is_cli' => defined( 'WP_CLI' ) ? WP_CLI : false,
- 'from_url' => $this->get_request_url(),
- );
-
- if ( $this->should_send_user_data_with_actor( $current_filter ) ) {
- require_once JETPACK__PLUGIN_DIR . 'modules/protect/shared-functions.php';
- $actor['ip'] = jetpack_protect_get_ip();
- $actor['user_agent'] = isset( $_SERVER['HTTP_USER_AGENT'] ) ? $_SERVER['HTTP_USER_AGENT'] : 'unknown';
- }
-
- return $actor;
- }
-
- /**
- * Should user data be sent as the actor?
- *
- * @param string $current_filter The current WordPress filter being executed.
- * @return bool
- */
- public function should_send_user_data_with_actor( $current_filter ) {
- $should_send = in_array( $current_filter, array( 'jetpack_wp_login', 'wp_logout', 'jetpack_valid_failed_login_attempt' ), true );
- /**
- * Allow or deny sending actor's user data ( IP and UA ) during a sync event
- *
- * @since 5.8.0
- *
- * @module sync
- *
- * @param bool True if we should send user data
- * @param string The current filter that is performing the sync action
- */
- return apply_filters( 'jetpack_sync_actor_user_data', $should_send, $current_filter );
- }
-
- /**
- * Sets Listener defaults.
- */
- public function set_defaults() {
- $this->sync_queue = new Queue( 'sync' );
- $this->full_sync_queue = new Queue( 'full_sync' );
- $this->set_queue_size_limit( Settings::get_setting( 'max_queue_size' ) );
- $this->set_queue_lag_limit( Settings::get_setting( 'max_queue_lag' ) );
- }
-
- /**
- * Get the request URL.
- *
- * @return string Request URL, if known. Otherwise, wp-admin or home_url.
- */
- public function get_request_url() {
- if ( isset( $_SERVER['HTTP_HOST'], $_SERVER['REQUEST_URI'] ) ) {
- return 'http' . ( isset( $_SERVER['HTTPS'] ) ? 's' : '' ) . '://' . "{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}";
- }
- return is_admin() ? get_admin_url( get_current_blog_id() ) : home_url();
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-lock.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-lock.php
deleted file mode 100644
index 84d87bc8..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-lock.php
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php
-/**
- * Lock class.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * Lock class
- */
-class Lock {
- /**
- * Prefix of the blog lock transient.
- *
- * @access public
- *
- * @var string
- */
- const LOCK_PREFIX = 'jp_sync_lock_';
-
- /**
- * Default Lifetime of the lock.
- *
- * @access public
- *
- * @var int
- */
- const LOCK_TRANSIENT_EXPIRY = 15; // Seconds.
-
- /**
- * Attempt to lock.
- *
- * @access public
- *
- * @param string $name lock name.
- * @param int $expiry lock duration in seconds.
- *
- * @return boolean True if succeeded, false otherwise.
- */
- public function attempt( $name, $expiry = self::LOCK_TRANSIENT_EXPIRY ) {
- $name = self::LOCK_PREFIX . $name;
- $locked_time = get_option( $name );
- if ( $locked_time ) {
- if ( microtime( true ) < $locked_time ) {
- return false;
- }
- }
- update_option( $name, microtime( true ) + $expiry );
-
- return true;
- }
-
- /**
- * Remove the lock.
- *
- * @access public
- *
- * @param string $name lock name.
- */
- public function remove( $name ) {
- delete_option( self::LOCK_PREFIX . $name );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-main.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-main.php
deleted file mode 100644
index ac552008..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-main.php
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php
-/**
- * This class hooks the main sync actions.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-use Automattic\Jetpack\Sync\Actions as Sync_Actions;
-
-/**
- * Jetpack Sync main class.
- */
-class Main {
-
- /**
- * Sets up event handlers for the Sync package. Is used from the Config package.
- *
- * @action plugins_loaded
- */
- public static function configure() {
- if ( Actions::sync_allowed() ) {
- add_action( 'plugins_loaded', array( __CLASS__, 'on_plugins_loaded_early' ), 5 );
- add_action( 'plugins_loaded', array( __CLASS__, 'on_plugins_loaded_late' ), 90 );
- }
- // Any hooks below are special cases that need to be declared even if Sync is not allowed.
- add_action( 'jetpack_user_authorized', array( 'Automattic\\Jetpack\\Sync\\Actions', 'do_initial_sync' ), 10, 0 );
- }
-
- /**
- * Initialize the main sync actions.
- *
- * @action plugins_loaded
- */
- public static function on_plugins_loaded_early() {
- /**
- * Additional Sync modules can be carried out into their own packages and they
- * will get their own config settings.
- *
- * For now additional modules are enabled based on whether the third party plugin
- * class exists or not.
- */
- Sync_Actions::initialize_woocommerce();
- Sync_Actions::initialize_wp_super_cache();
-
- // We need to define this here so that it's hooked before `updating_jetpack_version` is called.
- add_action( 'updating_jetpack_version', array( 'Automattic\\Jetpack\\Sync\\Actions', 'cleanup_on_upgrade' ), 10, 2 );
- }
-
- /**
- * Runs after most of plugins_loaded hook functions have been run.
- *
- * @action plugins_loaded
- */
- public static function on_plugins_loaded_late() {
- /*
- * Init after plugins loaded and before the `init` action. This helps with issues where plugins init
- * with a high priority or sites that use alternate cron.
- */
- Sync_Actions::init();
- }
-
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-modules.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-modules.php
deleted file mode 100644
index 09e95e5d..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-modules.php
+++ /dev/null
@@ -1,159 +0,0 @@
-<?php
-/**
- * Simple wrapper that allows enumerating cached static instances
- * of sync modules.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-use Automattic\Jetpack\Sync\Modules\Module;
-
-/**
- * A class to handle loading of sync modules.
- */
-class Modules {
-
- /**
- * Lists classnames of sync modules we load by default.
- *
- * @access public
- *
- * @var array
- */
- const DEFAULT_SYNC_MODULES = array(
- 'Automattic\\Jetpack\\Sync\\Modules\\Constants',
- 'Automattic\\Jetpack\\Sync\\Modules\\Callables',
- 'Automattic\\Jetpack\\Sync\\Modules\\Network_Options',
- 'Automattic\\Jetpack\\Sync\\Modules\\Options',
- 'Automattic\\Jetpack\\Sync\\Modules\\Terms',
- 'Automattic\\Jetpack\\Sync\\Modules\\Menus',
- 'Automattic\\Jetpack\\Sync\\Modules\\Themes',
- 'Automattic\\Jetpack\\Sync\\Modules\\Users',
- 'Automattic\\Jetpack\\Sync\\Modules\\Import',
- 'Automattic\\Jetpack\\Sync\\Modules\\Posts',
- 'Automattic\\Jetpack\\Sync\\Modules\\Protect',
- 'Automattic\\Jetpack\\Sync\\Modules\\Comments',
- 'Automattic\\Jetpack\\Sync\\Modules\\Updates',
- 'Automattic\\Jetpack\\Sync\\Modules\\Attachments',
- 'Automattic\\Jetpack\\Sync\\Modules\\Meta',
- 'Automattic\\Jetpack\\Sync\\Modules\\Plugins',
- 'Automattic\\Jetpack\\Sync\\Modules\\Stats',
- 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync_Immediately',
- 'Automattic\\Jetpack\\Sync\\Modules\\Term_Relationships',
- );
-
- /**
- * Keeps track of initialized sync modules.
- *
- * @access private
- * @static
- *
- * @var null|array
- */
- private static $initialized_modules = null;
-
- /**
- * Gets a list of initialized modules.
- *
- * @access public
- * @static
- *
- * @return Module[]
- */
- public static function get_modules() {
- if ( null === self::$initialized_modules ) {
- self::$initialized_modules = self::initialize_modules();
- }
-
- return self::$initialized_modules;
- }
-
- /**
- * Sets defaults for all initialized modules.
- *
- * @access public
- * @static
- */
- public static function set_defaults() {
- foreach ( self::get_modules() as $module ) {
- $module->set_defaults();
- }
- }
-
- /**
- * Gets the name of an initialized module. Returns false if given module has not been initialized.
- *
- * @access public
- * @static
- *
- * @param string $module_name A module name.
- *
- * @return bool|Automattic\Jetpack\Sync\Modules\Module
- */
- public static function get_module( $module_name ) {
- foreach ( self::get_modules() as $module ) {
- if ( $module->name() === $module_name ) {
- return $module;
- }
- }
-
- return false;
- }
-
- /**
- * Loads and sets defaults for all declared modules.
- *
- * @access public
- * @static
- *
- * @return array
- */
- public static function initialize_modules() {
- /**
- * Filters the list of class names of sync modules.
- * If you add to this list, make sure any classes implement the
- * Jetpack_Sync_Module interface.
- *
- * @since 4.2.0
- */
- $modules = apply_filters( 'jetpack_sync_modules', self::DEFAULT_SYNC_MODULES );
-
- $modules = array_map( array( __CLASS__, 'load_module' ), $modules );
-
- return array_map( array( __CLASS__, 'set_module_defaults' ), $modules );
- }
-
- /**
- * Returns an instance of the given module class.
- *
- * @access public
- * @static
- *
- * @param string $module_class The classname of a Jetpack sync module.
- *
- * @return Automattic\Jetpack\Sync\Modules\Module
- */
- public static function load_module( $module_class ) {
- return new $module_class();
- }
-
- /**
- * Sets defaults for the given instance of a Jetpack sync module.
- *
- * @access public
- * @static
- *
- * @param Automattic\Jetpack\Sync\Modules\Module $module Instance of a Jetpack sync module.
- *
- * @return Automattic\Jetpack\Sync\Modules\Module
- */
- public static function set_module_defaults( $module ) {
- $module->set_defaults();
- if ( method_exists( $module, 'set_late_default' ) ) {
- add_action( 'init', array( $module, 'set_late_default' ), 90 );
- }
- return $module;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-package-version.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-package-version.php
new file mode 100644
index 00000000..fbdfaa99
--- /dev/null
+++ b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-package-version.php
@@ -0,0 +1,2 @@
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-queue-buffer.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-queue-buffer.php
index a9846150..3941e09e 100644
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-queue-buffer.php
+++ b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-queue-buffer.php
@@ -1,78 +1,2 @@
-<?php
-/**
- * Sync queue buffer.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * A buffer of items from the queue that can be checked out.
- */
-class Queue_Buffer {
- /**
- * Sync queue buffer ID.
- *
- * @access public
- *
- * @var int
- */
- public $id;
-
- /**
- * Sync items.
- *
- * @access public
- *
- * @var array
- */
- public $items_with_ids;
-
- /**
- * Constructor.
- * Initializes the queue buffer.
- *
- * @access public
- *
- * @param int $id Sync queue buffer ID.
- * @param array $items_with_ids Items for the buffer to work with.
- */
- public function __construct( $id, $items_with_ids ) {
- $this->id = $id;
- $this->items_with_ids = $items_with_ids;
- }
-
- /**
- * Retrieve the sync items in the buffer, in an ID => value form.
- *
- * @access public
- *
- * @return array Sync items in the buffer.
- */
- public function get_items() {
- return array_combine( $this->get_item_ids(), $this->get_item_values() );
- }
-
- /**
- * Retrieve the values of the sync items in the buffer.
- *
- * @access public
- *
- * @return array Sync items values.
- */
- public function get_item_values() {
- return Utils::get_item_values( $this->items_with_ids );
- }
-
- /**
- * Retrieve the IDs of the sync items in the buffer.
- *
- * @access public
- *
- * @return array Sync items IDs.
- */
- public function get_item_ids() {
- return Utils::get_item_ids( $this->items_with_ids );
- }
-}
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-sync/src/class-queue-buffer.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-queue.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-queue.php
deleted file mode 100644
index 1ee94a10..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-queue.php
+++ /dev/null
@@ -1,706 +0,0 @@
-<?php
-/**
- * The class that describes the Queue for the sync package.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * A persistent queue that can be flushed in increments of N items,
- * and which blocks reads until checked-out buffers are checked in or
- * closed. This uses raw SQL for two reasons: speed, and not triggering
- * tons of added_option callbacks.
- */
-class Queue {
- /**
- * The queue id.
- *
- * @var string
- */
- public $id;
- /**
- * Keeps track of the rows.
- *
- * @var int
- */
- private $row_iterator;
-
- /**
- * Queue constructor.
- *
- * @param string $id Name of the queue.
- */
- public function __construct( $id ) {
- $this->id = str_replace( '-', '_', $id ); // Necessary to ensure we don't have ID collisions in the SQL.
- $this->row_iterator = 0;
- $this->random_int = wp_rand( 1, 1000000 );
- }
-
- /**
- * Add a single item to the queue.
- *
- * @param object $item Event object to add to queue.
- */
- public function add( $item ) {
- global $wpdb;
- $added = false;
- // This basically tries to add the option until enough time has elapsed that
- // it has a unique (microtime-based) option key.
- while ( ! $added ) {
- $rows_added = $wpdb->query(
- $wpdb->prepare(
- "INSERT INTO $wpdb->options (option_name, option_value, autoload) VALUES (%s, %s,%s)",
- $this->get_next_data_row_option_name(),
- serialize( $item ), // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
- 'no'
- )
- );
- $added = ( 0 !== $rows_added );
- }
- }
-
- /**
- * Insert all the items in a single SQL query. May be subject to query size limits!
- *
- * @param array $items Array of events to add to the queue.
- *
- * @return bool|\WP_Error
- */
- public function add_all( $items ) {
- global $wpdb;
- $base_option_name = $this->get_next_data_row_option_name();
-
- $query = "INSERT INTO $wpdb->options (option_name, option_value, autoload) VALUES ";
-
- $rows = array();
- $count_items = count( $items );
- for ( $i = 0; $i < $count_items; ++$i ) {
- $option_name = esc_sql( $base_option_name . '-' . $i );
- $option_value = esc_sql( serialize( $items[ $i ] ) ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
- $rows[] = "('$option_name', '$option_value', 'no')";
- }
-
- $rows_added = $wpdb->query( $query . join( ',', $rows ) ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
-
- if ( count( $items ) === $rows_added ) {
- return new \WP_Error( 'row_count_mismatch', "The number of rows inserted didn't match the size of the input array" );
- }
- return true;
- }
-
- /**
- * Get the front-most item on the queue without checking it out.
- *
- * @param int $count Number of items to return when looking at the items.
- *
- * @return array
- */
- public function peek( $count = 1 ) {
- $items = $this->fetch_items( $count );
- if ( $items ) {
- return Utils::get_item_values( $items );
- }
-
- return array();
- }
-
- /**
- * Gets items with particular IDs.
- *
- * @param array $item_ids Array of item IDs to retrieve.
- *
- * @return array
- */
- public function peek_by_id( $item_ids ) {
- $items = $this->fetch_items_by_id( $item_ids );
- if ( $items ) {
- return Utils::get_item_values( $items );
- }
-
- return array();
- }
-
- /**
- * Gets the queue lag.
- * Lag is the difference in time between the age of the oldest item
- * (aka first or frontmost item) and the current time.
- *
- * @param microtime $now The current time in microtime.
- *
- * @return float|int|mixed|null
- */
- public function lag( $now = null ) {
- global $wpdb;
-
- $first_item_name = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT option_name FROM $wpdb->options WHERE option_name LIKE %s ORDER BY option_name ASC LIMIT 1",
- "jpsq_{$this->id}-%"
- )
- );
-
- if ( ! $first_item_name ) {
- return 0;
- }
-
- if ( null === $now ) {
- $now = microtime( true );
- }
-
- // Break apart the item name to get the timestamp.
- $matches = null;
- if ( preg_match( '/^jpsq_' . $this->id . '-(\d+\.\d+)-/', $first_item_name, $matches ) ) {
- return $now - floatval( $matches[1] );
- } else {
- return 0;
- }
- }
-
- /**
- * Resets the queue.
- */
- public function reset() {
- global $wpdb;
- $this->delete_checkout_id();
- $wpdb->query(
- $wpdb->prepare(
- "DELETE FROM $wpdb->options WHERE option_name LIKE %s",
- "jpsq_{$this->id}-%"
- )
- );
- }
-
- /**
- * Return the size of the queue.
- *
- * @return int
- */
- public function size() {
- global $wpdb;
-
- return (int) $wpdb->get_var(
- $wpdb->prepare(
- "SELECT count(*) FROM $wpdb->options WHERE option_name LIKE %s",
- "jpsq_{$this->id}-%"
- )
- );
- }
-
- /**
- * Lets you know if there is any items in the queue.
- *
- * We use this peculiar implementation because it's much faster than count(*).
- *
- * @return bool
- */
- public function has_any_items() {
- global $wpdb;
- $value = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT exists( SELECT option_name FROM $wpdb->options WHERE option_name LIKE %s )",
- "jpsq_{$this->id}-%"
- )
- );
-
- return ( '1' === $value );
- }
-
- /**
- * Used to checkout the queue.
- *
- * @param int $buffer_size Size of the buffer to checkout.
- *
- * @return Automattic\Jetpack\Sync\Queue_Buffer|bool|int|\WP_Error
- */
- public function checkout( $buffer_size ) {
- if ( $this->get_checkout_id() ) {
- return new \WP_Error( 'unclosed_buffer', 'There is an unclosed buffer' );
- }
-
- $buffer_id = uniqid();
-
- $result = $this->set_checkout_id( $buffer_id );
-
- if ( ! $result || is_wp_error( $result ) ) {
- return $result;
- }
-
- $items = $this->fetch_items( $buffer_size );
-
- if ( count( $items ) === 0 ) {
- return false;
- }
-
- $buffer = new Queue_Buffer( $buffer_id, array_slice( $items, 0, $buffer_size ) );
-
- return $buffer;
- }
-
- /**
- * Given a list of items return the items ids.
- *
- * @param array $items List of item objects.
- *
- * @return array Ids of the items.
- */
- public function get_ids( $items ) {
- return array_map(
- function( $item ) {
- return $item->id;
- },
- $items
- );
- }
-
- /**
- * Pop elements from the queue.
- *
- * @param int $limit Number of items to pop from the queue.
- *
- * @return array|object|null
- */
- public function pop( $limit ) {
- $items = $this->fetch_items( $limit );
-
- $ids = $this->get_ids( $items );
-
- $this->delete( $ids );
-
- return $items;
- }
-
- /**
- * Get the items from the queue with a memory limit.
- *
- * This checks out rows until it either empties the queue or hits a certain memory limit
- * it loads the sizes from the DB first so that it doesn't accidentally
- * load more data into memory than it needs to.
- * The only way it will load more items than $max_size is if a single queue item
- * exceeds the memory limit, but in that case it will send that item by itself.
- *
- * @param int $max_memory (bytes) Maximum memory threshold.
- * @param int $max_buffer_size Maximum buffer size (number of items).
- *
- * @return Automattic\Jetpack\Sync\Queue_Buffer|bool|int|\WP_Error
- */
- public function checkout_with_memory_limit( $max_memory, $max_buffer_size = 500 ) {
- if ( $this->get_checkout_id() ) {
- return new \WP_Error( 'unclosed_buffer', 'There is an unclosed buffer' );
- }
-
- $buffer_id = uniqid();
-
- $result = $this->set_checkout_id( $buffer_id );
-
- if ( ! $result || is_wp_error( $result ) ) {
- return $result;
- }
-
- // Get the map of buffer_id -> memory_size.
- global $wpdb;
-
- $items_with_size = $wpdb->get_results(
- $wpdb->prepare(
- "SELECT option_name AS id, LENGTH(option_value) AS value_size FROM $wpdb->options WHERE option_name LIKE %s ORDER BY option_name ASC LIMIT %d",
- "jpsq_{$this->id}-%",
- $max_buffer_size
- ),
- OBJECT
- );
-
- if ( count( $items_with_size ) === 0 ) {
- return false;
- }
-
- $total_memory = 0;
- $max_item_id = $items_with_size[0]->id;
- $min_item_id = $max_item_id;
-
- foreach ( $items_with_size as $id => $item_with_size ) {
- $total_memory += $item_with_size->value_size;
-
- // If this is the first item and it exceeds memory, allow loop to continue
- // we will exit on the next iteration instead.
- if ( $total_memory > $max_memory && $id > 0 ) {
- break;
- }
-
- $max_item_id = $item_with_size->id;
- }
-
- $query = $wpdb->prepare(
- "SELECT option_name AS id, option_value AS value FROM $wpdb->options WHERE option_name >= %s and option_name <= %s ORDER BY option_name ASC",
- $min_item_id,
- $max_item_id
- );
-
- $items = $wpdb->get_results( $query, OBJECT ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- foreach ( $items as $item ) {
- $item->value = maybe_unserialize( $item->value );
- }
-
- if ( count( $items ) === 0 ) {
- $this->delete_checkout_id();
-
- return false;
- }
-
- $buffer = new Queue_Buffer( $buffer_id, $items );
-
- return $buffer;
- }
-
- /**
- * Check in the queue.
- *
- * @param Automattic\Jetpack\Sync\Queue_Buffer $buffer Queue_Buffer object.
- *
- * @return bool|\WP_Error
- */
- public function checkin( $buffer ) {
- $is_valid = $this->validate_checkout( $buffer );
-
- if ( is_wp_error( $is_valid ) ) {
- return $is_valid;
- }
-
- $this->delete_checkout_id();
-
- return true;
- }
-
- /**
- * Close the buffer.
- *
- * @param Automattic\Jetpack\Sync\Queue_Buffer $buffer Queue_Buffer object.
- * @param null|array $ids_to_remove Ids to remove from the queue.
- *
- * @return bool|\WP_Error
- */
- public function close( $buffer, $ids_to_remove = null ) {
- $is_valid = $this->validate_checkout( $buffer );
-
- if ( is_wp_error( $is_valid ) ) {
- return $is_valid;
- }
-
- $this->delete_checkout_id();
-
- // By default clear all items in the buffer.
- if ( is_null( $ids_to_remove ) ) {
- $ids_to_remove = $buffer->get_item_ids();
- }
-
- $this->delete( $ids_to_remove );
-
- return true;
- }
-
- /**
- * Delete elements from the queue.
- *
- * @param array $ids Ids to delete.
- *
- * @return bool|int
- */
- private function delete( $ids ) {
- if ( 0 === count( $ids ) ) {
- return 0;
- }
- global $wpdb;
- $sql = "DELETE FROM $wpdb->options WHERE option_name IN (" . implode( ', ', array_fill( 0, count( $ids ), '%s' ) ) . ')';
- $query = call_user_func_array( array( $wpdb, 'prepare' ), array_merge( array( $sql ), $ids ) );
-
- return $wpdb->query( $query ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- }
-
- /**
- * Flushes all items from the queue.
- *
- * @return array
- */
- public function flush_all() {
- $items = Utils::get_item_values( $this->fetch_items() );
- $this->reset();
-
- return $items;
- }
-
- /**
- * Get all the items from the queue.
- *
- * @return array|object|null
- */
- public function get_all() {
- return $this->fetch_items();
- }
-
- /**
- * Forces Checkin of the queue.
- * Use with caution, this could allow multiple processes to delete
- * and send from the queue at the same time
- */
- public function force_checkin() {
- $this->delete_checkout_id();
- }
-
- /**
- * Locks checkouts from the queue
- * tries to wait up to $timeout seconds for the queue to be empty.
- *
- * @param int $timeout The wait time in seconds for the queue to be empty.
- *
- * @return bool|int|\WP_Error
- */
- public function lock( $timeout = 30 ) {
- $tries = 0;
-
- while ( $this->has_any_items() && $tries < $timeout ) {
- sleep( 1 );
- ++$tries;
- }
-
- if ( 30 === $tries ) {
- return new \WP_Error( 'lock_timeout', 'Timeout waiting for sync queue to empty' );
- }
-
- if ( $this->get_checkout_id() ) {
- return new \WP_Error( 'unclosed_buffer', 'There is an unclosed buffer' );
- }
-
- // Hopefully this means we can acquire a checkout?
- $result = $this->set_checkout_id( 'lock' );
-
- if ( ! $result || is_wp_error( $result ) ) {
- return $result;
- }
-
- return true;
- }
-
- /**
- * Unlocks the queue.
- *
- * @return bool|int
- */
- public function unlock() {
- return $this->delete_checkout_id();
- }
-
- /**
- * This option is specifically chosen to, as much as possible, preserve time order
- * and minimise the possibility of collisions between multiple processes working
- * at the same time.
- *
- * @return string
- */
- protected function generate_option_name_timestamp() {
- return sprintf( '%.6f', microtime( true ) );
- }
-
- /**
- * Gets the checkout ID.
- *
- * @return bool|string
- */
- private function get_checkout_id() {
- global $wpdb;
- $checkout_value = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT option_value FROM $wpdb->options WHERE option_name = %s",
- $this->get_lock_option_name()
- )
- );
-
- if ( $checkout_value ) {
- list( $checkout_id, $timestamp ) = explode( ':', $checkout_value );
- if ( intval( $timestamp ) > time() ) {
- return $checkout_id;
- }
- }
-
- return false;
- }
-
- /**
- * Sets the checkout id.
- *
- * @param string $checkout_id The ID of the checkout.
- *
- * @return bool|int
- */
- private function set_checkout_id( $checkout_id ) {
- global $wpdb;
-
- $expires = time() + Defaults::$default_sync_queue_lock_timeout;
- $updated_num = $wpdb->query(
- $wpdb->prepare(
- "UPDATE $wpdb->options SET option_value = %s WHERE option_name = %s",
- "$checkout_id:$expires",
- $this->get_lock_option_name()
- )
- );
-
- if ( ! $updated_num ) {
- $updated_num = $wpdb->query(
- $wpdb->prepare(
- "INSERT INTO $wpdb->options ( option_name, option_value, autoload ) VALUES ( %s, %s, 'no' )",
- $this->get_lock_option_name(),
- "$checkout_id:$expires"
- )
- );
- }
-
- return $updated_num;
- }
-
- /**
- * Deletes the checkout ID.
- *
- * @return bool|int
- */
- private function delete_checkout_id() {
- global $wpdb;
- // Rather than delete, which causes fragmentation, we update in place.
- return $wpdb->query(
- $wpdb->prepare(
- "UPDATE $wpdb->options SET option_value = %s WHERE option_name = %s",
- '0:0',
- $this->get_lock_option_name()
- )
- );
-
- }
-
- /**
- * Return the lock option name.
- *
- * @return string
- */
- private function get_lock_option_name() {
- return "jpsq_{$this->id}_checkout";
- }
-
- /**
- * Return the next data row option name.
- *
- * @return string
- */
- private function get_next_data_row_option_name() {
- $timestamp = $this->generate_option_name_timestamp();
-
- // Row iterator is used to avoid collisions where we're writing data waaay fast in a single process.
- if ( PHP_INT_MAX === $this->row_iterator ) {
- $this->row_iterator = 0;
- } else {
- $this->row_iterator += 1;
- }
-
- return 'jpsq_' . $this->id . '-' . $timestamp . '-' . $this->random_int . '-' . $this->row_iterator;
- }
-
- /**
- * Return the items in the queue.
- *
- * @param null|int $limit Limit to the number of items we fetch at once.
- *
- * @return array|object|null
- */
- private function fetch_items( $limit = null ) {
- global $wpdb;
-
- if ( $limit ) {
- $items = $wpdb->get_results(
- $wpdb->prepare(
- "SELECT option_name AS id, option_value AS value FROM $wpdb->options WHERE option_name LIKE %s ORDER BY option_name ASC LIMIT %d",
- "jpsq_{$this->id}-%",
- $limit
- ),
- OBJECT
- );
- } else {
- $items = $wpdb->get_results(
- $wpdb->prepare(
- "SELECT option_name AS id, option_value AS value FROM $wpdb->options WHERE option_name LIKE %s ORDER BY option_name ASC",
- "jpsq_{$this->id}-%"
- ),
- OBJECT
- );
- }
-
- return $this->unserialize_values( $items );
-
- }
-
- /**
- * Return items with specific ids.
- *
- * @param array $items_ids Array of event ids.
- *
- * @return array|object|null
- */
- private function fetch_items_by_id( $items_ids ) {
- global $wpdb;
-
- $ids_placeholders = implode( ', ', array_fill( 0, count( $items_ids ), '%s' ) );
- $query_with_placeholders = "SELECT option_name AS id, option_value AS value
- FROM $wpdb->options
- WHERE option_name IN ( $ids_placeholders )";
- $items = $wpdb->get_results(
- $wpdb->prepare(
- $query_with_placeholders, // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- $items_ids
- ),
- OBJECT
- );
-
- return $this->unserialize_values( $items );
- }
-
- /**
- * Unserialize item values.
- *
- * @param array $items Events from the Queue to be serialized.
- *
- * @return mixed
- */
- private function unserialize_values( $items ) {
- array_walk(
- $items,
- function( $item ) {
- $item->value = maybe_unserialize( $item->value );
- }
- );
-
- return $items;
-
- }
-
- /**
- * Return true if the buffer is still valid or an Error other wise.
- *
- * @param Automattic\Jetpack\Sync\Queue_Buffer $buffer The Queue_Buffer.
- *
- * @return bool|\WP_Error
- */
- private function validate_checkout( $buffer ) {
- if ( ! $buffer instanceof Queue_Buffer ) {
- return new \WP_Error( 'not_a_buffer', 'You must checkin an instance of Automattic\\Jetpack\\Sync\\Queue_Buffer' );
- }
-
- $checkout_id = $this->get_checkout_id();
-
- if ( ! $checkout_id ) {
- return new \WP_Error( 'buffer_not_checked_out', 'There are no checked out buffers' );
- }
-
- // TODO: change to strict comparison.
- if ( $checkout_id != $buffer->id ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
- return new \WP_Error( 'buffer_mismatch', 'The buffer you checked in was not checked out' );
- }
-
- return true;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-replicastore.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-replicastore.php
deleted file mode 100644
index 34a275da..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-replicastore.php
+++ /dev/null
@@ -1,1489 +0,0 @@
-<?php
-/**
- * Sync replicastore.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * An implementation of Replicastore Interface which returns data stored in a WordPress.org DB.
- * This is useful to compare values in the local WP DB to values in the synced replica store
- */
-class Replicastore implements Replicastore_Interface {
- /**
- * Empty and reset the replicastore.
- *
- * @access public
- */
- public function reset() {
- global $wpdb;
-
- $wpdb->query( "DELETE FROM $wpdb->posts" );
- $wpdb->query( "DELETE FROM $wpdb->comments" );
-
- // Also need to delete terms from cache.
- $term_ids = $wpdb->get_col( "SELECT term_id FROM $wpdb->terms" );
- foreach ( $term_ids as $term_id ) {
- wp_cache_delete( $term_id, 'terms' );
- }
-
- $wpdb->query( "DELETE FROM $wpdb->terms" );
-
- $wpdb->query( "DELETE FROM $wpdb->term_taxonomy" );
- $wpdb->query( "DELETE FROM $wpdb->term_relationships" );
-
- // Callables and constants.
- $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE 'jetpack_%'" );
- $wpdb->query( "DELETE FROM $wpdb->postmeta WHERE meta_key NOT LIKE '\_%'" );
- }
-
- /**
- * Ran when full sync has just started.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- */
- public function full_sync_start( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- $this->reset();
- }
-
- /**
- * Ran when full sync has just finished.
- *
- * @access public
- *
- * @param string $checksum Deprecated since 7.3.0.
- */
- public function full_sync_end( $checksum ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- // Noop right now.
- }
-
- /**
- * Retrieve the number of terms.
- *
- * @access public
- *
- * @return int Number of terms.
- */
- public function term_count() {
- global $wpdb;
- return $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->terms" );
- }
-
- /**
- * Retrieve the number of rows in the `term_taxonomy` table.
- *
- * @access public
- *
- * @return int Number of terms.
- */
- public function term_taxonomy_count() {
- global $wpdb;
- return $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->term_taxonomy" );
- }
-
- /**
- * Retrieve the number of term relationships.
- *
- * @access public
- *
- * @return int Number of rows in the term relationships table.
- */
- public function term_relationship_count() {
- global $wpdb;
- return $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->term_relationships" );
- }
-
- /**
- * Retrieve the number of posts with a particular post status within a certain range.
- *
- * @access public
- *
- * @todo Prepare the SQL query before executing it.
- *
- * @param string $status Post status.
- * @param int $min_id Minimum post ID.
- * @param int $max_id Maximum post ID.
- * @return int Number of posts.
- */
- public function post_count( $status = null, $min_id = null, $max_id = null ) {
- global $wpdb;
-
- $where = '';
-
- if ( $status ) {
- $where = "post_status = '" . esc_sql( $status ) . "'";
- } else {
- $where = '1=1';
- }
-
- if ( ! empty( $min_id ) ) {
- $where .= ' AND ID >= ' . intval( $min_id );
- }
-
- if ( ! empty( $max_id ) ) {
- $where .= ' AND ID <= ' . intval( $max_id );
- }
-
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- return $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE $where" );
- }
-
- /**
- * Retrieve the posts with a particular post status.
- *
- * @access public
- *
- * @todo Implement range and actually use max_id/min_id arguments.
- *
- * @param string $status Post status.
- * @param int $min_id Minimum post ID.
- * @param int $max_id Maximum post ID.
- * @return array Array of posts.
- */
- public function get_posts( $status = null, $min_id = null, $max_id = null ) {
- $args = array(
- 'orderby' => 'ID',
- 'posts_per_page' => -1,
- );
-
- if ( $status ) {
- $args['post_status'] = $status;
- } else {
- $args['post_status'] = 'any';
- }
-
- return get_posts( $args );
- }
-
- /**
- * Retrieve a post object by the post ID.
- *
- * @access public
- *
- * @param int $id Post ID.
- * @return \WP_Post Post object.
- */
- public function get_post( $id ) {
- return get_post( $id );
- }
-
- /**
- * Update or insert a post.
- *
- * @access public
- *
- * @param \WP_Post $post Post object.
- * @param bool $silent Whether to perform a silent action. Not used in this implementation.
- */
- public function upsert_post( $post, $silent = false ) {
- global $wpdb;
-
- // Reject the post if it's not a \WP_Post.
- if ( ! $post instanceof \WP_Post ) {
- return;
- }
-
- $post = $post->to_array();
-
- // Reject posts without an ID.
- if ( ! isset( $post['ID'] ) ) {
- return;
- }
-
- $now = current_time( 'mysql' );
- $now_gmt = get_gmt_from_date( $now );
-
- $defaults = array(
- 'ID' => 0,
- 'post_author' => '0',
- 'post_content' => '',
- 'post_content_filtered' => '',
- 'post_title' => '',
- 'post_name' => '',
- 'post_excerpt' => '',
- 'post_status' => 'draft',
- 'post_type' => 'post',
- 'comment_status' => 'closed',
- 'comment_count' => '0',
- 'ping_status' => '',
- 'post_password' => '',
- 'to_ping' => '',
- 'pinged' => '',
- 'post_parent' => 0,
- 'menu_order' => 0,
- 'guid' => '',
- 'post_date' => $now,
- 'post_date_gmt' => $now_gmt,
- 'post_modified' => $now,
- 'post_modified_gmt' => $now_gmt,
- );
-
- $post = array_intersect_key( $post, $defaults );
-
- $post = sanitize_post( $post, 'db' );
-
- unset( $post['filter'] );
-
- $exists = $wpdb->get_var( $wpdb->prepare( "SELECT EXISTS( SELECT 1 FROM $wpdb->posts WHERE ID = %d )", $post['ID'] ) );
-
- if ( $exists ) {
- $wpdb->update( $wpdb->posts, $post, array( 'ID' => $post['ID'] ) );
- } else {
- $wpdb->insert( $wpdb->posts, $post );
- }
-
- clean_post_cache( $post['ID'] );
- }
-
- /**
- * Delete a post by the post ID.
- *
- * @access public
- *
- * @param int $post_id Post ID.
- */
- public function delete_post( $post_id ) {
- wp_delete_post( $post_id, true );
- }
-
- /**
- * Retrieve the checksum for posts within a range.
- *
- * @access public
- *
- * @param int $min_id Minimum post ID.
- * @param int $max_id Maximum post ID.
- * @return int The checksum.
- */
- public function posts_checksum( $min_id = null, $max_id = null ) {
- global $wpdb;
- return $this->table_checksum( $wpdb->posts, Defaults::$default_post_checksum_columns, 'ID', Settings::get_blacklisted_post_types_sql(), $min_id, $max_id );
- }
-
- /**
- * Retrieve the checksum for post meta within a range.
- *
- * @access public
- *
- * @param int $min_id Minimum post meta ID.
- * @param int $max_id Maximum post meta ID.
- * @return int The checksum.
- */
- public function post_meta_checksum( $min_id = null, $max_id = null ) {
- global $wpdb;
- return $this->table_checksum( $wpdb->postmeta, Defaults::$default_post_meta_checksum_columns, 'meta_id', Settings::get_whitelisted_post_meta_sql(), $min_id, $max_id );
- }
-
- /**
- * Retrieve the number of comments with a particular comment status within a certain range.
- *
- * @access public
- *
- * @todo Prepare the SQL query before executing it.
- *
- * @param string $status Comment status.
- * @param int $min_id Minimum comment ID.
- * @param int $max_id Maximum comment ID.
- * @return int Number of comments.
- */
- public function comment_count( $status = null, $min_id = null, $max_id = null ) {
- global $wpdb;
-
- $comment_approved = $this->comment_status_to_approval_value( $status );
-
- if ( false !== $comment_approved ) {
- $where = "comment_approved = '" . esc_sql( $comment_approved ) . "'";
- } else {
- $where = '1=1';
- }
-
- if ( ! empty( $min_id ) ) {
- $where .= ' AND comment_ID >= ' . intval( $min_id );
- }
-
- if ( ! empty( $max_id ) ) {
- $where .= ' AND comment_ID <= ' . intval( $max_id );
- }
-
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- return $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->comments WHERE $where" );
- }
-
- /**
- * Translate a comment status to a value of the comment_approved field.
- *
- * @access private
- *
- * @param string $status Comment status.
- * @return string|bool New comment_approved value, false if the status doesn't affect it.
- */
- private function comment_status_to_approval_value( $status ) {
- switch ( $status ) {
- case 'approve':
- return '1';
- case 'hold':
- return '0';
- case 'spam':
- return 'spam';
- case 'trash':
- return 'trash';
- case 'any':
- return false;
- case 'all':
- return false;
- default:
- return false;
- }
- }
-
- /**
- * Retrieve the comments with a particular comment status.
- *
- * @access public
- *
- * @todo Implement range and actually use max_id/min_id arguments.
- *
- * @param string $status Comment status.
- * @param int $min_id Minimum comment ID.
- * @param int $max_id Maximum comment ID.
- * @return array Array of comments.
- */
- public function get_comments( $status = null, $min_id = null, $max_id = null ) {
- $args = array(
- 'orderby' => 'ID',
- 'status' => 'all',
- );
-
- if ( $status ) {
- $args['status'] = $status;
- }
-
- return get_comments( $args );
- }
-
- /**
- * Retrieve a comment object by the comment ID.
- *
- * @access public
- *
- * @param int $id Comment ID.
- * @return \WP_Comment Comment object.
- */
- public function get_comment( $id ) {
- return \WP_Comment::get_instance( $id );
- }
-
- /**
- * Update or insert a comment.
- *
- * @access public
- *
- * @param \WP_Comment $comment Comment object.
- */
- public function upsert_comment( $comment ) {
- global $wpdb;
-
- $comment = $comment->to_array();
-
- // Filter by fields on comment table.
- $comment_fields_whitelist = array(
- 'comment_ID',
- 'comment_post_ID',
- 'comment_author',
- 'comment_author_email',
- 'comment_author_url',
- 'comment_author_IP',
- 'comment_date',
- 'comment_date_gmt',
- 'comment_content',
- 'comment_karma',
- 'comment_approved',
- 'comment_agent',
- 'comment_type',
- 'comment_parent',
- 'user_id',
- );
-
- foreach ( $comment as $key => $value ) {
- if ( ! in_array( $key, $comment_fields_whitelist, true ) ) {
- unset( $comment[ $key ] );
- }
- }
-
- $exists = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT EXISTS( SELECT 1 FROM $wpdb->comments WHERE comment_ID = %d )",
- $comment['comment_ID']
- )
- );
-
- if ( $exists ) {
- $wpdb->update( $wpdb->comments, $comment, array( 'comment_ID' => $comment['comment_ID'] ) );
- } else {
- $wpdb->insert( $wpdb->comments, $comment );
- }
-
- wp_update_comment_count( $comment['comment_post_ID'] );
- }
-
- /**
- * Trash a comment by the comment ID.
- *
- * @access public
- *
- * @param int $comment_id Comment ID.
- */
- public function trash_comment( $comment_id ) {
- wp_delete_comment( $comment_id );
- }
-
- /**
- * Delete a comment by the comment ID.
- *
- * @access public
- *
- * @param int $comment_id Comment ID.
- */
- public function delete_comment( $comment_id ) {
- wp_delete_comment( $comment_id, true );
- }
-
- /**
- * Mark a comment by the comment ID as spam.
- *
- * @access public
- *
- * @param int $comment_id Comment ID.
- */
- public function spam_comment( $comment_id ) {
- wp_spam_comment( $comment_id );
- }
-
- /**
- * Trash the comments of a post.
- *
- * @access public
- *
- * @param int $post_id Post ID.
- * @param array $statuses Post statuses. Not used in this implementation.
- */
- public function trashed_post_comments( $post_id, $statuses ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- wp_trash_post_comments( $post_id );
- }
-
- /**
- * Untrash the comments of a post.
- *
- * @access public
- *
- * @param int $post_id Post ID.
- */
- public function untrashed_post_comments( $post_id ) {
- wp_untrash_post_comments( $post_id );
- }
-
- /**
- * Retrieve the checksum for comments within a range.
- *
- * @access public
- *
- * @param int $min_id Minimum comment ID.
- * @param int $max_id Maximum comment ID.
- * @return int The checksum.
- */
- public function comments_checksum( $min_id = null, $max_id = null ) {
- global $wpdb;
- return $this->table_checksum( $wpdb->comments, Defaults::$default_comment_checksum_columns, 'comment_ID', Settings::get_comments_filter_sql(), $min_id, $max_id );
- }
-
- /**
- * Retrieve the checksum for comment meta within a range.
- *
- * @access public
- *
- * @param int $min_id Minimum comment meta ID.
- * @param int $max_id Maximum comment meta ID.
- * @return int The checksum.
- */
- public function comment_meta_checksum( $min_id = null, $max_id = null ) {
- global $wpdb;
- return $this->table_checksum( $wpdb->commentmeta, Defaults::$default_comment_meta_checksum_columns, 'meta_id', Settings::get_whitelisted_comment_meta_sql(), $min_id, $max_id );
- }
-
- /**
- * Retrieve the checksum for all options.
- *
- * @access public
- *
- * @return int The checksum.
- */
- public function options_checksum() {
- global $wpdb;
- $options_whitelist = "'" . implode( "', '", Defaults::$default_options_whitelist ) . "'";
- $where_sql = "option_name IN ( $options_whitelist )";
-
- return $this->table_checksum( $wpdb->options, Defaults::$default_option_checksum_columns, null, $where_sql, null, null );
- }
-
- /**
- * Update the value of an option.
- *
- * @access public
- *
- * @param string $option Option name.
- * @param mixed $value Option value.
- * @return bool False if value was not updated and true if value was updated.
- */
- public function update_option( $option, $value ) {
- return update_option( $option, $value );
- }
-
- /**
- * Retrieve an option value based on an option name.
- *
- * @access public
- *
- * @param string $option Name of option to retrieve.
- * @param mixed $default Optional. Default value to return if the option does not exist.
- * @return mixed Value set for the option.
- */
- public function get_option( $option, $default = false ) {
- return get_option( $option, $default );
- }
-
- /**
- * Remove an option by name.
- *
- * @access public
- *
- * @param string $option Name of option to remove.
- * @return bool True, if option is successfully deleted. False on failure.
- */
- public function delete_option( $option ) {
- return delete_option( $option );
- }
-
- /**
- * Change the features that the current theme supports.
- * Intentionally not implemented in this replicastore.
- *
- * @access public
- *
- * @param array $theme_support Features that the theme supports.
- */
- public function set_theme_support( $theme_support ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- // Noop.
- }
-
- /**
- * Whether the current theme supports a certain feature.
- *
- * @access public
- *
- * @param string $feature Name of the feature.
- */
- public function current_theme_supports( $feature ) {
- return current_theme_supports( $feature );
- }
-
- /**
- * Retrieve metadata for the specified object.
- *
- * @access public
- *
- * @param string $type Meta type.
- * @param int $object_id ID of the object.
- * @param string $meta_key Meta key.
- * @param bool $single If true, return only the first value of the specified meta_key.
- *
- * @return mixed Single metadata value, or array of values.
- */
- public function get_metadata( $type, $object_id, $meta_key = '', $single = false ) {
- return get_metadata( $type, $object_id, $meta_key, $single );
- }
-
- /**
- * Stores remote meta key/values alongside an ID mapping key.
- *
- * @access public
- *
- * @todo Refactor to not use interpolated values when preparing the SQL query.
- *
- * @param string $type Meta type.
- * @param int $object_id ID of the object.
- * @param string $meta_key Meta key.
- * @param mixed $meta_value Meta value.
- * @param int $meta_id ID of the meta.
- *
- * @return bool False if meta table does not exist, true otherwise.
- */
- public function upsert_metadata( $type, $object_id, $meta_key, $meta_value, $meta_id ) {
- $table = _get_meta_table( $type );
- if ( ! $table ) {
- return false;
- }
-
- global $wpdb;
-
- $exists = $wpdb->get_var(
- $wpdb->prepare(
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- "SELECT EXISTS( SELECT 1 FROM $table WHERE meta_id = %d )",
- $meta_id
- )
- );
-
- if ( $exists ) {
- $wpdb->update(
- $table,
- array(
- 'meta_key' => $meta_key,
- 'meta_value' => maybe_serialize( $meta_value ),
- ),
- array( 'meta_id' => $meta_id )
- );
- } else {
- $object_id_field = $type . '_id';
- $wpdb->insert(
- $table,
- array(
- 'meta_id' => $meta_id,
- $object_id_field => $object_id,
- 'meta_key' => $meta_key,
- 'meta_value' => maybe_serialize( $meta_value ),
- )
- );
- }
-
- wp_cache_delete( $object_id, $type . '_meta' );
-
- return true;
- }
-
- /**
- * Delete metadata for the specified object.
- *
- * @access public
- *
- * @todo Refactor to not use interpolated values when preparing the SQL query.
- *
- * @param string $type Meta type.
- * @param int $object_id ID of the object.
- * @param array $meta_ids IDs of the meta objects to delete.
- */
- public function delete_metadata( $type, $object_id, $meta_ids ) {
- global $wpdb;
-
- $table = _get_meta_table( $type );
- if ( ! $table ) {
- return false;
- }
-
- foreach ( $meta_ids as $meta_id ) {
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- $wpdb->query( $wpdb->prepare( "DELETE FROM $table WHERE meta_id = %d", $meta_id ) );
- }
-
- // If we don't have an object ID what do we do - invalidate ALL meta?
- if ( $object_id ) {
- wp_cache_delete( $object_id, $type . '_meta' );
- }
- }
-
- /**
- * Delete metadata with a certain key for the specified objects.
- *
- * @access public
- *
- * @todo Test this out to make sure it works as expected.
- * @todo Refactor to not use interpolated values when preparing the SQL query.
- *
- * @param string $type Meta type.
- * @param array $object_ids IDs of the objects.
- * @param string $meta_key Meta key.
- */
- public function delete_batch_metadata( $type, $object_ids, $meta_key ) {
- global $wpdb;
-
- $table = _get_meta_table( $type );
- if ( ! $table ) {
- return false;
- }
- $column = sanitize_key( $type . '_id' );
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- $wpdb->query( $wpdb->prepare( "DELETE FROM $table WHERE $column IN (%s) && meta_key = %s", implode( ',', $object_ids ), $meta_key ) );
-
- // If we don't have an object ID what do we do - invalidate ALL meta?
- foreach ( $object_ids as $object_id ) {
- wp_cache_delete( $object_id, $type . '_meta' );
- }
- }
-
- /**
- * Retrieve value of a constant based on the constant name.
- *
- * @access public
- *
- * @param string $constant Name of constant to retrieve.
- * @return mixed Value set for the constant.
- */
- public function get_constant( $constant ) {
- $value = get_option( 'jetpack_constant_' . $constant );
-
- if ( $value ) {
- return $value;
- }
-
- return null;
- }
-
- /**
- * Set the value of a constant.
- *
- * @access public
- *
- * @param string $constant Name of constant to retrieve.
- * @param mixed $value Value set for the constant.
- */
- public function set_constant( $constant, $value ) {
- update_option( 'jetpack_constant_' . $constant, $value );
- }
-
- /**
- * Retrieve the number of the available updates of a certain type.
- * Type is one of: `plugins`, `themes`, `wordpress`, `translations`, `total`, `wp_update_version`.
- *
- * @access public
- *
- * @param string $type Type of updates to retrieve.
- * @return int|null Number of updates available, `null` if type is invalid or missing.
- */
- public function get_updates( $type ) {
- $all_updates = get_option( 'jetpack_updates', array() );
-
- if ( isset( $all_updates[ $type ] ) ) {
- return $all_updates[ $type ];
- } else {
- return null;
- }
- }
-
- /**
- * Set the available updates of a certain type.
- * Type is one of: `plugins`, `themes`, `wordpress`, `translations`, `total`, `wp_update_version`.
- *
- * @access public
- *
- * @param string $type Type of updates to set.
- * @param int $updates Total number of updates.
- */
- public function set_updates( $type, $updates ) {
- $all_updates = get_option( 'jetpack_updates', array() );
- $all_updates[ $type ] = $updates;
- update_option( 'jetpack_updates', $all_updates );
- }
-
- /**
- * Retrieve a callable value based on its name.
- *
- * @access public
- *
- * @param string $name Name of the callable to retrieve.
- * @return mixed Value of the callable.
- */
- public function get_callable( $name ) {
- $value = get_option( 'jetpack_' . $name );
-
- if ( $value ) {
- return $value;
- }
-
- return null;
- }
-
- /**
- * Update the value of a callable.
- *
- * @access public
- *
- * @param string $name Callable name.
- * @param mixed $value Callable value.
- */
- public function set_callable( $name, $value ) {
- update_option( 'jetpack_' . $name, $value );
- }
-
- /**
- * Retrieve a network option value based on a network option name.
- *
- * @access public
- *
- * @param string $option Name of network option to retrieve.
- * @return mixed Value set for the network option.
- */
- public function get_site_option( $option ) {
- return get_option( 'jetpack_network_' . $option );
- }
-
- /**
- * Update the value of a network option.
- *
- * @access public
- *
- * @param string $option Network option name.
- * @param mixed $value Network option value.
- * @return bool False if value was not updated and true if value was updated.
- */
- public function update_site_option( $option, $value ) {
- return update_option( 'jetpack_network_' . $option, $value );
- }
-
- /**
- * Remove a network option by name.
- *
- * @access public
- *
- * @param string $option Name of option to remove.
- * @return bool True, if option is successfully deleted. False on failure.
- */
- public function delete_site_option( $option ) {
- return delete_option( 'jetpack_network_' . $option );
- }
-
- /**
- * Retrieve the terms from a particular taxonomy.
- *
- * @access public
- *
- * @param string $taxonomy Taxonomy slug.
- * @return array Array of terms.
- */
- public function get_terms( $taxonomy ) {
- return get_terms( $taxonomy );
- }
-
- /**
- * Retrieve a particular term.
- *
- * @access public
- *
- * @param string $taxonomy Taxonomy slug.
- * @param int $term_id ID of the term.
- * @param bool $is_term_id Whether this is a `term_id` or a `term_taxonomy_id`.
- * @return \WP_Term|\WP_Error Term object on success, \WP_Error object on failure.
- */
- public function get_term( $taxonomy, $term_id, $is_term_id = true ) {
- $t = $this->ensure_taxonomy( $taxonomy );
- if ( ! $t || is_wp_error( $t ) ) {
- return $t;
- }
-
- return get_term( $term_id, $taxonomy );
- }
-
- /**
- * Verify a taxonomy is legitimate and register it if necessary.
- *
- * @access private
- *
- * @param string $taxonomy Taxonomy slug.
- * @return bool|void|\WP_Error True if already exists; void if it was registered; \WP_Error on error.
- */
- private function ensure_taxonomy( $taxonomy ) {
- if ( ! taxonomy_exists( $taxonomy ) ) {
- // Try re-registering synced taxonomies.
- $taxonomies = $this->get_callable( 'taxonomies' );
- if ( ! isset( $taxonomies[ $taxonomy ] ) ) {
- // Doesn't exist, or somehow hasn't been synced.
- return new \WP_Error( 'invalid_taxonomy', "The taxonomy '$taxonomy' doesn't exist" );
- }
- $t = $taxonomies[ $taxonomy ];
-
- return register_taxonomy(
- $taxonomy,
- $t->object_type,
- (array) $t
- );
- }
-
- return true;
- }
-
- /**
- * Retrieve all terms from a taxonomy that are related to an object with a particular ID.
- *
- * @access public
- *
- * @param int $object_id Object ID.
- * @param string $taxonomy Taxonomy slug.
- * @return array|bool|\WP_Error Array of terms on success, `false` if no terms or post doesn't exist, \WP_Error on failure.
- */
- public function get_the_terms( $object_id, $taxonomy ) {
- return get_the_terms( $object_id, $taxonomy );
- }
-
- /**
- * Insert or update a term.
- *
- * @access public
- *
- * @param \WP_Term $term_object Term object.
- * @return array|bool|\WP_Error Array of term_id and term_taxonomy_id if updated, true if inserted, \WP_Error on failure.
- */
- public function update_term( $term_object ) {
- $taxonomy = $term_object->taxonomy;
- global $wpdb;
- $exists = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT EXISTS( SELECT 1 FROM $wpdb->terms WHERE term_id = %d )",
- $term_object->term_id
- )
- );
- if ( ! $exists ) {
- $term_object = sanitize_term( clone( $term_object ), $taxonomy, 'db' );
- $term = array(
- 'term_id' => $term_object->term_id,
- 'name' => $term_object->name,
- 'slug' => $term_object->slug,
- 'term_group' => $term_object->term_group,
- );
- $term_taxonomy = array(
- 'term_taxonomy_id' => $term_object->term_taxonomy_id,
- 'term_id' => $term_object->term_id,
- 'taxonomy' => $term_object->taxonomy,
- 'description' => $term_object->description,
- 'parent' => (int) $term_object->parent,
- 'count' => (int) $term_object->count,
- );
- $wpdb->insert( $wpdb->terms, $term );
- $wpdb->insert( $wpdb->term_taxonomy, $term_taxonomy );
-
- return true;
- }
-
- return wp_update_term( $term_object->term_id, $taxonomy, (array) $term_object );
- }
-
- /**
- * Delete a term by the term ID and its corresponding taxonomy.
- *
- * @access public
- *
- * @param int $term_id Term ID.
- * @param string $taxonomy Taxonomy slug.
- * @return bool|int|\WP_Error True on success, false if term doesn't exist. Zero if trying with default category. \WP_Error on invalid taxonomy.
- */
- public function delete_term( $term_id, $taxonomy ) {
- return wp_delete_term( $term_id, $taxonomy );
- }
-
- /**
- * Add/update terms of a particular taxonomy of an object with the specified ID.
- *
- * @access public
- *
- * @param int $object_id The object to relate to.
- * @param string $taxonomy The context in which to relate the term to the object.
- * @param string|int|array $terms A single term slug, single term id, or array of either term slugs or ids.
- * @param bool $append Optional. If false will delete difference of terms. Default false.
- */
- public function update_object_terms( $object_id, $taxonomy, $terms, $append ) {
- wp_set_object_terms( $object_id, $terms, $taxonomy, $append );
- }
-
- /**
- * Remove certain term relationships from the specified object.
- *
- * @access public
- *
- * @todo Refactor to not use interpolated values when preparing the SQL query.
- *
- * @param int $object_id ID of the object.
- * @param array $tt_ids Term taxonomy IDs.
- * @return bool True on success, false on failure.
- */
- public function delete_object_terms( $object_id, $tt_ids ) {
- global $wpdb;
-
- if ( is_array( $tt_ids ) && ! empty( $tt_ids ) ) {
- // Escape.
- $tt_ids_sanitized = array_map( 'intval', $tt_ids );
-
- $taxonomies = array();
- foreach ( $tt_ids_sanitized as $tt_id ) {
- $term = get_term_by( 'term_taxonomy_id', $tt_id );
- $taxonomies[ $term->taxonomy ][] = $tt_id;
- }
- $in_tt_ids = implode( ', ', $tt_ids_sanitized );
-
- /**
- * Fires immediately before an object-term relationship is deleted.
- *
- * @since 2.9.0
- *
- * @param int $object_id Object ID.
- * @param array $tt_ids An array of term taxonomy IDs.
- */
- do_action( 'delete_term_relationships', $object_id, $tt_ids_sanitized );
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- $deleted = $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->term_relationships WHERE object_id = %d AND term_taxonomy_id IN ($in_tt_ids)", $object_id ) );
- foreach ( $taxonomies as $taxonomy => $taxonomy_tt_ids ) {
- $this->ensure_taxonomy( $taxonomy );
- wp_cache_delete( $object_id, $taxonomy . '_relationships' );
- /**
- * Fires immediately after an object-term relationship is deleted.
- *
- * @since 2.9.0
- *
- * @param int $object_id Object ID.
- * @param array $tt_ids An array of term taxonomy IDs.
- */
- do_action( 'deleted_term_relationships', $object_id, $taxonomy_tt_ids );
- wp_update_term_count( $taxonomy_tt_ids, $taxonomy );
- }
-
- return (bool) $deleted;
- }
-
- return false;
- }
-
- /**
- * Retrieve the number of users.
- * Not supported in this replicastore.
- *
- * @access public
- */
- public function user_count() {
- // Noop.
- }
-
- /**
- * Retrieve a user object by the user ID.
- *
- * @access public
- *
- * @param int $user_id User ID.
- * @return \WP_User User object.
- */
- public function get_user( $user_id ) {
- return \WP_User::get_instance( $user_id );
- }
-
- /**
- * Insert or update a user.
- * Not supported in this replicastore.
- *
- * @access public
- * @throws \Exception If this method is invoked.
- *
- * @param \WP_User $user User object.
- */
- public function upsert_user( $user ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- $this->invalid_call();
- }
-
- /**
- * Delete a user.
- * Not supported in this replicastore.
- *
- * @access public
- * @throws \Exception If this method is invoked.
- *
- * @param int $user_id User ID.
- */
- public function delete_user( $user_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- $this->invalid_call();
- }
-
- /**
- * Update/insert user locale.
- * Not supported in this replicastore.
- *
- * @access public
- * @throws \Exception If this method is invoked.
- *
- * @param int $user_id User ID.
- * @param string $local The user locale.
- */
- public function upsert_user_locale( $user_id, $local ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- $this->invalid_call();
- }
-
- /**
- * Delete user locale.
- * Not supported in this replicastore.
- *
- * @access public
- * @throws \Exception If this method is invoked.
- *
- * @param int $user_id User ID.
- */
- public function delete_user_locale( $user_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- $this->invalid_call();
- }
-
- /**
- * Retrieve the user locale.
- *
- * @access public
- *
- * @param int $user_id User ID.
- * @return string The user locale.
- */
- public function get_user_locale( $user_id ) {
- return get_user_locale( $user_id );
- }
-
- /**
- * Retrieve the allowed mime types for the user.
- * Not supported in this replicastore.
- *
- * @access public
- *
- * @param int $user_id User ID.
- */
- public function get_allowed_mime_types( $user_id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- // Noop.
- }
-
- /**
- * Retrieve all the checksums we are interested in.
- * Currently that is posts, comments, post meta and comment meta.
- *
- * @access public
- *
- * @return array Checksums.
- */
- public function checksum_all() {
- $post_meta_checksum = $this->checksum_histogram( 'post_meta', 1 );
- $comment_meta_checksum = $this->checksum_histogram( 'comment_meta', 1 );
-
- return array(
- 'posts' => $this->posts_checksum(),
- 'comments' => $this->comments_checksum(),
- 'post_meta' => reset( $post_meta_checksum ),
- 'comment_meta' => reset( $comment_meta_checksum ),
- );
- }
-
- /**
- * Retrieve the columns that are needed to calculate a checksum for an object type.
- *
- * @access public
- *
- * @todo Refactor to not use interpolated values and prepare the SQL query.
- *
- * @param string $object_type Object type.
- * @return array|bool Columns, or false if invalid object type is specified.
- */
- public function get_checksum_columns_for_object_type( $object_type ) {
- switch ( $object_type ) {
- case 'posts':
- return Defaults::$default_post_checksum_columns;
- case 'post_meta':
- return Defaults::$default_post_meta_checksum_columns;
- case 'comments':
- return Defaults::$default_comment_checksum_columns;
- case 'comment_meta':
- return Defaults::$default_post_meta_checksum_columns;
- case 'terms':
- return Defaults::$default_term_checksum_columns;
- case 'term_taxonomy':
- return Defaults::$default_term_taxonomy_checksum_columns;
- case 'term_relationships':
- return Defaults::$default_term_relationships_checksum_columns;
- default:
- return false;
- }
- }
-
- /**
- * Grabs the minimum and maximum object ids for the given parameters.
- *
- * @access public
- *
- * @param string $id_field The id column in the table to query.
- * @param string $object_table The table to query.
- * @param string $where A sql where clause without 'WHERE'.
- * @param int $bucket_size The maximum amount of objects to include in the query.
- * For `term_relationships` table, the bucket size will refer to the amount
- * of distinct object ids. This will likely include more database rows than
- * the bucket size implies.
- *
- * @return object An object with min_id and max_id properties.
- */
- public function get_min_max_object_id( $id_field, $object_table, $where, $bucket_size ) {
- global $wpdb;
-
- // The term relationship table's unique key is a combination of 2 columns. `DISTINCT` helps us get a more acurate query.
- $distinct_sql = ( $wpdb->term_relationships === $object_table ) ? 'DISTINCT' : '';
- $where_sql = $where ? "WHERE $where" : '';
-
- // Since MIN() and MAX() do not work with LIMIT, we'll need to adjust the dataset we query if a limit is present.
- // With a limit present, we'll look at a dataset consisting of object_ids that meet the constructs of the $where clause.
- // Without a limit, we can use the actual table as a dataset.
- $from = $bucket_size ?
- "( SELECT $distinct_sql $id_field FROM $object_table $where_sql ORDER BY $id_field ASC LIMIT $bucket_size ) as ids" :
- "$object_table $where_sql ORDER BY $id_field ASC";
-
- return $wpdb->get_row(
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- "SELECT MIN($id_field) as min, MAX($id_field) as max FROM $from"
- );
- }
-
- /**
- * Retrieve the checksum histogram for a specific object type.
- *
- * @access public
- *
- * @todo Refactor to not use interpolated values and properly prepare the SQL query.
- *
- * @param string $object_type Object type.
- * @param int $buckets Number of buckets to split the objects to.
- * @param int $start_id Minimum object ID.
- * @param int $end_id Maximum object ID.
- * @param array $columns Table columns to calculate the checksum from.
- * @param bool $strip_non_ascii Whether to strip non-ASCII characters.
- * @param string $salt Salt, used for $wpdb->prepare()'s args.
- * @return array The checksum histogram.
- */
- public function checksum_histogram( $object_type, $buckets, $start_id = null, $end_id = null, $columns = null, $strip_non_ascii = true, $salt = '' ) {
- global $wpdb;
-
- $wpdb->queries = array();
-
- if ( empty( $columns ) ) {
- $columns = $this->get_checksum_columns_for_object_type( $object_type );
- }
-
- switch ( $object_type ) {
- case 'posts':
- $object_count = $this->post_count( null, $start_id, $end_id );
- $object_table = $wpdb->posts;
- $id_field = 'ID';
- $where_sql = Settings::get_blacklisted_post_types_sql();
- break;
- case 'post_meta':
- $object_table = $wpdb->postmeta;
- $where_sql = Settings::get_whitelisted_post_meta_sql();
- $object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
- $id_field = 'meta_id';
- break;
- case 'comments':
- $object_count = $this->comment_count( null, $start_id, $end_id );
- $object_table = $wpdb->comments;
- $id_field = 'comment_ID';
- $where_sql = Settings::get_comments_filter_sql();
- break;
- case 'comment_meta':
- $object_table = $wpdb->commentmeta;
- $where_sql = Settings::get_whitelisted_comment_meta_sql();
- $object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
- $id_field = 'meta_id';
- break;
- case 'terms':
- $object_table = $wpdb->terms;
- $object_count = $this->term_count();
- $id_field = 'term_id';
- $where_sql = '1=1';
- break;
- case 'term_taxonomy':
- $object_table = $wpdb->term_taxonomy;
- $object_count = $this->term_taxonomy_count();
- $id_field = 'term_taxonomy_id';
- $where_sql = '1=1';
- break;
- case 'term_relationships':
- $object_table = $wpdb->term_relationships;
- $object_count = $this->term_relationship_count();
- $id_field = 'object_id';
- $where_sql = '1=1';
- break;
- default:
- return false;
- }
-
- $bucket_size = intval( ceil( $object_count / $buckets ) );
- $previous_max_id = 0;
- $histogram = array();
-
- // This is used for the min / max query, while $where_sql is used for the checksum query.
- $where = $where_sql;
-
- if ( $start_id ) {
- $where .= " AND $id_field >= " . intval( $start_id );
- }
-
- if ( $end_id ) {
- $where .= " AND $id_field <= " . intval( $end_id );
- }
-
- do {
- $result = $this->get_min_max_object_id(
- $id_field,
- $object_table,
- $where . " AND $id_field > $previous_max_id",
- $bucket_size
- );
-
- if ( null === $result->min || null === $result->max ) {
- // Nothing to checksum here...
- break;
- }
-
- // Get the checksum value.
- $value = $this->table_checksum( $object_table, $columns, $id_field, $where_sql, $result->min, $result->max, $strip_non_ascii, $salt );
-
- if ( is_wp_error( $value ) ) {
- return $value;
- }
-
- if ( null === $result->min || null === $result->max ) {
- break;
- } elseif ( $result->min === $result->max ) {
- $histogram[ $result->min ] = $value;
- } else {
- $histogram[ "{$result->min}-{$result->max}" ] = $value;
- }
-
- $previous_max_id = $result->max;
- } while ( true );
-
- return $histogram;
- }
-
- /**
- * Retrieve the checksum for a specific database table.
- *
- * @access private
- *
- * @todo Refactor to properly prepare the SQL query.
- *
- * @param string $table Table name.
- * @param array $columns Table columns to calculate the checksum from.
- * @param int $id_column Name of the unique ID column.
- * @param string $where_sql Additional WHERE clause SQL.
- * @param int $min_id Minimum object ID.
- * @param int $max_id Maximum object ID.
- * @param bool $strip_non_ascii Whether to strip non-ASCII characters.
- * @param string $salt Salt, used for $wpdb->prepare()'s args.
- * @return int|\WP_Error The table histogram, or \WP_Error on failure.
- */
- private function table_checksum( $table, $columns, $id_column, $where_sql = '1=1', $min_id = null, $max_id = null, $strip_non_ascii = true, $salt = '' ) {
- global $wpdb;
-
- // Sanitize to just valid MySQL column names.
- $sanitized_columns = preg_grep( '/^[0-9,a-z,A-Z$_]+$/i', $columns );
-
- if ( $strip_non_ascii ) {
- $columns_sql = implode( ',', array_map( array( $this, 'strip_non_ascii_sql' ), $sanitized_columns ) );
- } else {
- $columns_sql = implode( ',', $sanitized_columns );
- }
-
- if ( null !== $min_id && null !== $max_id ) {
- if ( $min_id === $max_id ) {
- $min_id = intval( $min_id );
- $where_sql .= " AND $id_column = $min_id LIMIT 1";
- } else {
- $min_id = intval( $min_id );
- $max_id = intval( $max_id );
- $size = $max_id - $min_id;
- $where_sql .= " AND $id_column >= $min_id AND $id_column <= $max_id LIMIT $size";
- }
- } else {
- if ( null !== $min_id ) {
- $min_id = intval( $min_id );
- $where_sql .= " AND $id_column >= $min_id";
- }
-
- if ( null !== $max_id ) {
- $max_id = intval( $max_id );
- $where_sql .= " AND $id_column <= $max_id";
- }
- }
-
- $query = <<<ENDSQL
- SELECT CAST( SUM( CRC32( CONCAT_WS( '#', '%s', {$columns_sql} ) ) ) AS UNSIGNED INT )
- FROM $table
- WHERE $where_sql;
-ENDSQL;
- // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- $result = $wpdb->get_var( $wpdb->prepare( $query, $salt ) );
- if ( $wpdb->last_error ) {
- return new \WP_Error( 'database_error', $wpdb->last_error );
- }
-
- return $result;
- }
-
- /**
- * Retrieve the type of the checksum.
- *
- * @access public
- *
- * @return string Type of the checksum.
- */
- public function get_checksum_type() {
- return 'sum';
- }
-
- /**
- * Count the meta values in a table, within a specified range.
- *
- * @access private
- *
- * @todo Refactor to not use interpolated values when preparing the SQL query.
- *
- * @param string $table Table name.
- * @param string $where_sql Additional WHERE SQL.
- * @param int $min_id Minimum meta ID.
- * @param int $max_id Maximum meta ID.
- * @return int Number of meta values.
- */
- private function meta_count( $table, $where_sql, $min_id, $max_id ) {
- global $wpdb;
-
- if ( ! empty( $min_id ) ) {
- $where_sql .= ' AND meta_id >= ' . intval( $min_id );
- }
-
- if ( ! empty( $max_id ) ) {
- $where_sql .= ' AND meta_id <= ' . intval( $max_id );
- }
-
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- return $wpdb->get_var( "SELECT COUNT(*) FROM $table WHERE $where_sql" );
- }
-
- /**
- * Wraps a column name in SQL which strips non-ASCII chars.
- * This helps normalize data to avoid checksum differences caused by
- * badly encoded data in the DB.
- *
- * @param string $column_name Name of the column.
- * @return string Column name, without the non-ASCII chars.
- */
- public function strip_non_ascii_sql( $column_name ) {
- return "REPLACE( CONVERT( $column_name USING ascii ), '?', '' )";
- }
-
- /**
- * Used in methods that are not implemented and shouldn't be invoked.
- *
- * @access private
- * @throws \Exception If this method is invoked.
- */
- private function invalid_call() {
- // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace
- $backtrace = debug_backtrace();
- $caller = $backtrace[1]['function'];
- throw new \Exception( "This function $caller is not supported on the WP Replicastore" );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-sender.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-sender.php
deleted file mode 100644
index 641110e0..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-sender.php
+++ /dev/null
@@ -1,855 +0,0 @@
-<?php
-/**
- * Sync sender.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-use Automattic\Jetpack\Connection\Manager;
-use Automattic\Jetpack\Constants;
-
-/**
- * This class grabs pending actions from the queue and sends them
- */
-class Sender {
- /**
- * Name of the option that stores the time of the next sync.
- *
- * @access public
- *
- * @var string
- */
- const NEXT_SYNC_TIME_OPTION_NAME = 'jetpack_next_sync_time';
-
- /**
- * Sync timeout after a WPCOM error.
- *
- * @access public
- *
- * @var int
- */
- const WPCOM_ERROR_SYNC_DELAY = 60;
-
- /**
- * Sync timeout after a queue has been locked.
- *
- * @access public
- *
- * @var int
- */
- const QUEUE_LOCKED_SYNC_DELAY = 10;
-
- /**
- * Maximum bytes to checkout without exceeding the memory limit.
- *
- * @access private
- *
- * @var int
- */
- private $dequeue_max_bytes;
-
- /**
- * Maximum bytes in a single encoded item.
- *
- * @access private
- *
- * @var int
- */
- private $upload_max_bytes;
-
- /**
- * Maximum number of sync items in a single action.
- *
- * @access private
- *
- * @var int
- */
- private $upload_max_rows;
-
- /**
- * Maximum time for perfirming a checkout of items from the queue (in seconds).
- *
- * @access private
- *
- * @var int
- */
- private $max_dequeue_time;
-
- /**
- * How many seconds to wait after sending sync items after exceeding the sync wait threshold (in seconds).
- *
- * @access private
- *
- * @var int
- */
- private $sync_wait_time;
-
- /**
- * How much maximum time to wait for the checkout to finish (in seconds).
- *
- * @access private
- *
- * @var int
- */
- private $sync_wait_threshold;
-
- /**
- * How much maximum time to wait for the sync items to be queued for sending (in seconds).
- *
- * @access private
- *
- * @var int
- */
- private $enqueue_wait_time;
-
- /**
- * Incremental sync queue object.
- *
- * @access private
- *
- * @var Automattic\Jetpack\Sync\Queue
- */
- private $sync_queue;
-
- /**
- * Full sync queue object.
- *
- * @access private
- *
- * @var Automattic\Jetpack\Sync\Queue
- */
- private $full_sync_queue;
-
- /**
- * Codec object for encoding and decoding sync items.
- *
- * @access private
- *
- * @var Automattic\Jetpack\Sync\Codec_Interface
- */
- private $codec;
-
- /**
- * The current user before we change or clear it.
- *
- * @access private
- *
- * @var \WP_User
- */
- private $old_user;
-
- /**
- * Container for the singleton instance of this class.
- *
- * @access private
- * @static
- *
- * @var Automattic\Jetpack\Sync\Sender
- */
- private static $instance;
-
- /**
- * Retrieve the singleton instance of this class.
- *
- * @access public
- * @static
- *
- * @return Sender
- */
- public static function get_instance() {
- if ( null === self::$instance ) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- /**
- * Constructor.
- * This is necessary because you can't use "new" when you declare instance properties >:(
- *
- * @access protected
- * @static
- */
- protected function __construct() {
- $this->set_defaults();
- $this->init();
- }
-
- /**
- * Initialize the sender.
- * Prepares the current user and initializes all sync modules.
- *
- * @access private
- */
- private function init() {
- add_action( 'jetpack_sync_before_send_queue_sync', array( $this, 'maybe_set_user_from_token' ), 1 );
- add_action( 'jetpack_sync_before_send_queue_sync', array( $this, 'maybe_clear_user_from_token' ), 20 );
- add_filter( 'jetpack_xmlrpc_methods', array( $this, 'register_jetpack_xmlrpc_methods' ) );
- foreach ( Modules::get_modules() as $module ) {
- $module->init_before_send();
- }
- }
-
- /**
- * Detect if this is a XMLRPC request with a valid signature.
- * If so, changes the user to the new one.
- *
- * @access public
- */
- public function maybe_set_user_from_token() {
- $connection = new Manager();
- $verified_user = $connection->verify_xml_rpc_signature();
- if ( Constants::is_true( 'XMLRPC_REQUEST' ) &&
- ! is_wp_error( $verified_user )
- && $verified_user
- ) {
- $old_user = wp_get_current_user();
- $this->old_user = isset( $old_user->ID ) ? $old_user->ID : 0;
- wp_set_current_user( $verified_user['user_id'] );
- }
- }
-
- /**
- * If we used to have a previous current user, revert back to it.
- *
- * @access public
- */
- public function maybe_clear_user_from_token() {
- if ( isset( $this->old_user ) ) {
- wp_set_current_user( $this->old_user );
- }
- }
-
- /**
- * Retrieve the next sync time.
- *
- * @access public
- *
- * @param string $queue_name Name of the queue.
- * @return float Timestamp of the next sync.
- */
- public function get_next_sync_time( $queue_name ) {
- return (float) get_option( self::NEXT_SYNC_TIME_OPTION_NAME . '_' . $queue_name, 0 );
- }
-
- /**
- * Set the next sync time.
- *
- * @access public
- *
- * @param int $time Timestamp of the next sync.
- * @param string $queue_name Name of the queue.
- * @return boolean True if update was successful, false otherwise.
- */
- public function set_next_sync_time( $time, $queue_name ) {
- return update_option( self::NEXT_SYNC_TIME_OPTION_NAME . '_' . $queue_name, $time, true );
- }
-
- /**
- * Trigger a full sync.
- *
- * @access public
- *
- * @return boolean|\WP_Error True if this sync sending was successful, error object otherwise.
- */
- public function do_full_sync() {
- if ( ! Modules::get_module( 'full-sync' ) ) {
- return;
- }
- if ( ! Settings::get_setting( 'full_sync_sender_enabled' ) ) {
- return;
- }
- $this->continue_full_sync_enqueue();
- return $this->do_sync_and_set_delays( $this->full_sync_queue );
- }
-
- /**
- * Enqueue the next sync items for sending.
- * Will not be done if the current request is a WP import one.
- * Will be delayed until the next sync time comes.
- *
- * @access private
- */
- private function continue_full_sync_enqueue() {
- if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) {
- return false;
- }
-
- if ( $this->get_next_sync_time( 'full-sync-enqueue' ) > microtime( true ) ) {
- return false;
- }
-
- Modules::get_module( 'full-sync' )->continue_enqueuing();
-
- $this->set_next_sync_time( time() + $this->get_enqueue_wait_time(), 'full-sync-enqueue' );
- }
-
- /**
- * Trigger incremental sync.
- *
- * @access public
- *
- * @return boolean|\WP_Error True if this sync sending was successful, error object otherwise.
- */
- public function do_sync() {
- return $this->do_sync_and_set_delays( $this->sync_queue );
- }
-
- /**
- * Trigger sync for a certain sync queue.
- * Responsible for setting next sync time.
- * Will not be delayed if the current request is a WP import one.
- * Will be delayed until the next sync time comes.
- *
- * @access public
- *
- * @param Automattic\Jetpack\Sync\Queue $queue Queue object.
- * @return boolean|\WP_Error True if this sync sending was successful, error object otherwise.
- */
- public function do_sync_and_set_delays( $queue ) {
- // Don't sync if importing.
- if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) {
- return new \WP_Error( 'is_importing' );
- }
-
- if ( ! Settings::is_sender_enabled( $queue->id ) ) {
- return new \WP_Error( 'sender_disabled_for_queue_' . $queue->id );
- }
-
- // Don't sync if we are throttled.
- if ( $this->get_next_sync_time( $queue->id ) > microtime( true ) ) {
- return new \WP_Error( 'sync_throttled' );
- }
-
- $start_time = microtime( true );
-
- Settings::set_is_syncing( true );
-
- $sync_result = $this->do_sync_for_queue( $queue );
-
- Settings::set_is_syncing( false );
-
- $exceeded_sync_wait_threshold = ( microtime( true ) - $start_time ) > (float) $this->get_sync_wait_threshold();
-
- if ( is_wp_error( $sync_result ) ) {
- if ( 'unclosed_buffer' === $sync_result->get_error_code() ) {
- $this->set_next_sync_time( time() + self::QUEUE_LOCKED_SYNC_DELAY, $queue->id );
- }
- if ( 'wpcom_error' === $sync_result->get_error_code() ) {
- $this->set_next_sync_time( time() + self::WPCOM_ERROR_SYNC_DELAY, $queue->id );
- }
- } elseif ( $exceeded_sync_wait_threshold ) {
- // If we actually sent data and it took a while, wait before sending again.
- $this->set_next_sync_time( time() + $this->get_sync_wait_time(), $queue->id );
- }
-
- return $sync_result;
- }
-
- /**
- * Retrieve the next sync items to send.
- *
- * @access public
- *
- * @param (array|Automattic\Jetpack\Sync\Queue_Buffer) $buffer_or_items Queue buffer or array of objects.
- * @param boolean $encode Whether to encode the items.
- * @return array Sync items to send.
- */
- public function get_items_to_send( $buffer_or_items, $encode = true ) {
- // Track how long we've been processing so we can avoid request timeouts.
- $start_time = microtime( true );
- $upload_size = 0;
- $items_to_send = array();
- $items = is_array( $buffer_or_items ) ? $buffer_or_items : $buffer_or_items->get_items();
- // Set up current screen to avoid errors rendering content.
- require_once ABSPATH . 'wp-admin/includes/class-wp-screen.php';
- require_once ABSPATH . 'wp-admin/includes/screen.php';
- set_current_screen( 'sync' );
- $skipped_items_ids = array();
- /**
- * We estimate the total encoded size as we go by encoding each item individually.
- * This is expensive, but the only way to really know :/
- */
- foreach ( $items as $key => $item ) {
- // Suspending cache addition help prevent overloading in memory cache of large sites.
- wp_suspend_cache_addition( true );
- /**
- * Modify the data within an action before it is serialized and sent to the server
- * For example, during full sync this expands Post ID's into full Post objects,
- * so that we don't have to serialize the whole object into the queue.
- *
- * @since 4.2.0
- *
- * @param array The action parameters
- * @param int The ID of the user who triggered the action
- */
- $item[1] = apply_filters( 'jetpack_sync_before_send_' . $item[0], $item[1], $item[2] );
- wp_suspend_cache_addition( false );
- if ( false === $item[1] ) {
- $skipped_items_ids[] = $key;
- continue;
- }
- $encoded_item = $encode ? $this->codec->encode( $item ) : $item;
- $upload_size += strlen( $encoded_item );
- if ( $upload_size > $this->upload_max_bytes && count( $items_to_send ) > 0 ) {
- break;
- }
- $items_to_send[ $key ] = $encoded_item;
- if ( microtime( true ) - $start_time > $this->max_dequeue_time ) {
- break;
- }
- }
-
- return array( $items_to_send, $skipped_items_ids, $items, microtime( true ) - $start_time );
- }
-
- /**
- * If supported, flush all response data to the client and finish the request.
- * This allows for time consuming tasks to be performed without leaving the connection open.
- *
- * @access private
- */
- private function fastcgi_finish_request() {
- if ( function_exists( 'fastcgi_finish_request' ) && version_compare( phpversion(), '7.0.16', '>=' ) ) {
- fastcgi_finish_request();
- }
- }
-
- /**
- * Perform sync for a certain sync queue.
- *
- * @access public
- *
- * @param Automattic\Jetpack\Sync\Queue $queue Queue object.
- * @return boolean|\WP_Error True if this sync sending was successful, error object otherwise.
- */
- public function do_sync_for_queue( $queue ) {
- do_action( 'jetpack_sync_before_send_queue_' . $queue->id );
- if ( $queue->size() === 0 ) {
- return new \WP_Error( 'empty_queue_' . $queue->id );
- }
- /**
- * Now that we're sure we are about to sync, try to ignore user abort
- * so we can avoid getting into a bad state.
- */
- if ( function_exists( 'ignore_user_abort' ) ) {
- ignore_user_abort( true );
- }
-
- /* Don't make the request block till we finish, if possible. */
- if ( Constants::is_true( 'REST_REQUEST' ) || Constants::is_true( 'XMLRPC_REQUEST' ) ) {
- $this->fastcgi_finish_request();
- }
-
- $checkout_start_time = microtime( true );
-
- $buffer = $queue->checkout_with_memory_limit( $this->dequeue_max_bytes, $this->upload_max_rows );
-
- if ( ! $buffer ) {
- // Buffer has no items.
- return new \WP_Error( 'empty_buffer' );
- }
-
- if ( is_wp_error( $buffer ) ) {
- return $buffer;
- }
-
- $checkout_duration = microtime( true ) - $checkout_start_time;
-
- list( $items_to_send, $skipped_items_ids, $items, $preprocess_duration ) = $this->get_items_to_send( $buffer, true );
- if ( ! empty( $items_to_send ) ) {
- /**
- * Fires when data is ready to send to the server.
- * Return false or WP_Error to abort the sync (e.g. if there's an error)
- * The items will be automatically re-sent later
- *
- * @since 4.2.0
- *
- * @param array $data The action buffer
- * @param string $codec The codec name used to encode the data
- * @param double $time The current time
- * @param string $queue The queue used to send ('sync' or 'full_sync')
- */
- Settings::set_is_sending( true );
- $processed_item_ids = apply_filters( 'jetpack_sync_send_data', $items_to_send, $this->codec->name(), microtime( true ), $queue->id, $checkout_duration, $preprocess_duration );
- Settings::set_is_sending( false );
- } else {
- $processed_item_ids = $skipped_items_ids;
- $skipped_items_ids = array();
- }
-
- if ( ! $processed_item_ids || is_wp_error( $processed_item_ids ) ) {
- $checked_in_item_ids = $queue->checkin( $buffer );
- if ( is_wp_error( $checked_in_item_ids ) ) {
- // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
- error_log( 'Error checking in buffer: ' . $checked_in_item_ids->get_error_message() );
- $queue->force_checkin();
- }
- if ( is_wp_error( $processed_item_ids ) ) {
- return new \WP_Error( 'wpcom_error', $processed_item_ids->get_error_code() );
- }
- // Returning a wpcom_error is a sign to the caller that we should wait a while before syncing again.
- return new \WP_Error( 'wpcom_error', 'jetpack_sync_send_data_false' );
- } else {
- // Detect if the last item ID was an error.
- $had_wp_error = is_wp_error( end( $processed_item_ids ) );
- if ( $had_wp_error ) {
- $wp_error = array_pop( $processed_item_ids );
- }
- // Also checkin any items that were skipped.
- if ( count( $skipped_items_ids ) > 0 ) {
- $processed_item_ids = array_merge( $processed_item_ids, $skipped_items_ids );
- }
- $processed_items = array_intersect_key( $items, array_flip( $processed_item_ids ) );
- /**
- * Allows us to keep track of all the actions that have been sent.
- * Allows us to calculate the progress of specific actions.
- *
- * @since 4.2.0
- *
- * @param array $processed_actions The actions that we send successfully.
- */
- do_action( 'jetpack_sync_processed_actions', $processed_items );
- $queue->close( $buffer, $processed_item_ids );
- // Returning a WP_Error is a sign to the caller that we should wait a while before syncing again.
- if ( $had_wp_error ) {
- return new \WP_Error( 'wpcom_error', $wp_error->get_error_code() );
- }
- }
- return true;
- }
-
- /**
- * Immediately sends a single item without firing or enqueuing it
- *
- * @param string $action_name The action.
- * @param array $data The data associated with the action.
- *
- * @return Items processed. TODO: this doesn't make much sense anymore, it should probably be just a bool.
- */
- public function send_action( $action_name, $data = null ) {
- if ( ! Settings::is_sender_enabled( 'full_sync' ) ) {
- return array();
- }
-
- // Compose the data to be sent.
- $action_to_send = $this->create_action_to_send( $action_name, $data );
-
- list( $items_to_send, $skipped_items_ids, $items, $preprocess_duration ) = $this->get_items_to_send( $action_to_send, true ); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- Settings::set_is_sending( true );
- $processed_item_ids = apply_filters( 'jetpack_sync_send_data', $items_to_send, $this->get_codec()->name(), microtime( true ), 'immediate-send', 0, $preprocess_duration );
- Settings::set_is_sending( false );
-
- /**
- * Allows us to keep track of all the actions that have been sent.
- * Allows us to calculate the progress of specific actions.
- *
- * @param array $processed_actions The actions that we send successfully.
- *
- * @since 4.2.0
- */
- do_action( 'jetpack_sync_processed_actions', $action_to_send );
-
- return $processed_item_ids;
- }
-
- /**
- * Create an synthetic action for direct sending to WPCOM during full sync (for example)
- *
- * @access private
- *
- * @param string $action_name The action.
- * @param array $data The data associated with the action.
- * @return array An array of synthetic sync actions keyed by current microtime(true)
- */
- private function create_action_to_send( $action_name, $data ) {
- return array(
- (string) microtime( true ) => array(
- $action_name,
- $data,
- get_current_user_id(),
- microtime( true ),
- Settings::is_importing(),
- ),
- );
- }
-
- /**
- * Returns any object that is able to be synced.
- *
- * @access public
- *
- * @param array $args the synchronized object parameters.
- * @return string Encoded sync object.
- */
- public function sync_object( $args ) {
- // For example: posts, post, 5.
- list( $module_name, $object_type, $id ) = $args;
-
- $sync_module = Modules::get_module( $module_name );
- $codec = $this->get_codec();
-
- return $codec->encode( $sync_module->get_object_by_id( $object_type, $id ) );
- }
-
- /**
- * Register additional sync XML-RPC methods available to Jetpack for authenticated users.
- *
- * @access public
- * @since 7.8
- *
- * @param array $jetpack_methods XML-RPC methods available to the Jetpack Server.
- * @return array Filtered XML-RPC methods.
- */
- public function register_jetpack_xmlrpc_methods( $jetpack_methods ) {
- $jetpack_methods['jetpack.syncObject'] = array( $this, 'sync_object' );
- return $jetpack_methods;
- }
-
- /**
- * Get the incremental sync queue object.
- *
- * @access public
- *
- * @return Automattic\Jetpack\Sync\Queue Queue object.
- */
- public function get_sync_queue() {
- return $this->sync_queue;
- }
-
- /**
- * Get the full sync queue object.
- *
- * @access public
- *
- * @return Automattic\Jetpack\Sync\Queue Queue object.
- */
- public function get_full_sync_queue() {
- return $this->full_sync_queue;
- }
-
- /**
- * Get the codec object.
- *
- * @access public
- *
- * @return Automattic\Jetpack\Sync\Codec_Interface Codec object.
- */
- public function get_codec() {
- return $this->codec;
- }
-
- /**
- * Determine the codec object.
- * Use gzip deflate if supported.
- *
- * @access public
- */
- public function set_codec() {
- if ( function_exists( 'gzinflate' ) ) {
- $this->codec = new JSON_Deflate_Array_Codec();
- } else {
- $this->codec = new Simple_Codec();
- }
- }
-
- /**
- * Compute and send all the checksums.
- *
- * @access public
- */
- public function send_checksum() {
- $store = new Replicastore();
- do_action( 'jetpack_sync_checksum', $store->checksum_all() );
- }
-
- /**
- * Reset the incremental sync queue.
- *
- * @access public
- */
- public function reset_sync_queue() {
- $this->sync_queue->reset();
- }
-
- /**
- * Reset the full sync queue.
- *
- * @access public
- */
- public function reset_full_sync_queue() {
- $this->full_sync_queue->reset();
- }
-
- /**
- * Set the maximum bytes to checkout without exceeding the memory limit.
- *
- * @access public
- *
- * @param int $size Maximum bytes to checkout.
- */
- public function set_dequeue_max_bytes( $size ) {
- $this->dequeue_max_bytes = $size;
- }
-
- /**
- * Set the maximum bytes in a single encoded item.
- *
- * @access public
- *
- * @param int $max_bytes Maximum bytes in a single encoded item.
- */
- public function set_upload_max_bytes( $max_bytes ) {
- $this->upload_max_bytes = $max_bytes;
- }
-
- /**
- * Set the maximum number of sync items in a single action.
- *
- * @access public
- *
- * @param int $max_rows Maximum number of sync items.
- */
- public function set_upload_max_rows( $max_rows ) {
- $this->upload_max_rows = $max_rows;
- }
-
- /**
- * Set the sync wait time (in seconds).
- *
- * @access public
- *
- * @param int $seconds Sync wait time.
- */
- public function set_sync_wait_time( $seconds ) {
- $this->sync_wait_time = $seconds;
- }
-
- /**
- * Get current sync wait time (in seconds).
- *
- * @access public
- *
- * @return int Sync wait time.
- */
- public function get_sync_wait_time() {
- return $this->sync_wait_time;
- }
-
- /**
- * Set the enqueue wait time (in seconds).
- *
- * @access public
- *
- * @param int $seconds Enqueue wait time.
- */
- public function set_enqueue_wait_time( $seconds ) {
- $this->enqueue_wait_time = $seconds;
- }
-
- /**
- * Get current enqueue wait time (in seconds).
- *
- * @access public
- *
- * @return int Enqueue wait time.
- */
- public function get_enqueue_wait_time() {
- return $this->enqueue_wait_time;
- }
-
- /**
- * Set the sync wait threshold (in seconds).
- *
- * @access public
- *
- * @param int $seconds Sync wait threshold.
- */
- public function set_sync_wait_threshold( $seconds ) {
- $this->sync_wait_threshold = $seconds;
- }
-
- /**
- * Get current sync wait threshold (in seconds).
- *
- * @access public
- *
- * @return int Sync wait threshold.
- */
- public function get_sync_wait_threshold() {
- return $this->sync_wait_threshold;
- }
-
- /**
- * Set the maximum time for perfirming a checkout of items from the queue (in seconds).
- *
- * @access public
- *
- * @param int $seconds Maximum dequeue time.
- */
- public function set_max_dequeue_time( $seconds ) {
- $this->max_dequeue_time = $seconds;
- }
-
- /**
- * Initialize the sync queues, codec and set the default settings.
- *
- * @access public
- */
- public function set_defaults() {
- $this->sync_queue = new Queue( 'sync' );
- $this->full_sync_queue = new Queue( 'full_sync' );
- $this->set_codec();
-
- // Saved settings.
- Settings::set_importing( null );
- $settings = Settings::get_settings();
- $this->set_dequeue_max_bytes( $settings['dequeue_max_bytes'] );
- $this->set_upload_max_bytes( $settings['upload_max_bytes'] );
- $this->set_upload_max_rows( $settings['upload_max_rows'] );
- $this->set_sync_wait_time( $settings['sync_wait_time'] );
- $this->set_enqueue_wait_time( $settings['enqueue_wait_time'] );
- $this->set_sync_wait_threshold( $settings['sync_wait_threshold'] );
- $this->set_max_dequeue_time( Defaults::get_max_sync_execution_time() );
- }
-
- /**
- * Reset sync queues, modules and settings.
- *
- * @access public
- */
- public function reset_data() {
- $this->reset_sync_queue();
- $this->reset_full_sync_queue();
-
- foreach ( Modules::get_modules() as $module ) {
- $module->reset_data();
- }
-
- foreach ( array( 'sync', 'full_sync', 'full-sync-enqueue' ) as $queue_name ) {
- delete_option( self::NEXT_SYNC_TIME_OPTION_NAME . '_' . $queue_name );
- }
-
- Settings::reset_data();
- }
-
- /**
- * Perform cleanup at the event of plugin uninstallation.
- *
- * @access public
- */
- public function uninstall() {
- // Lets delete all the other fun stuff like transient and option and the sync queue.
- $this->reset_data();
-
- // Delete the full sync status.
- delete_option( 'jetpack_full_sync_status' );
-
- // Clear the sync cron.
- wp_clear_scheduled_hook( 'jetpack_sync_cron' );
- wp_clear_scheduled_hook( 'jetpack_sync_full_cron' );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-server.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-server.php
deleted file mode 100644
index 2f97fd13..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-server.php
+++ /dev/null
@@ -1,190 +0,0 @@
-<?php
-/**
- * Sync server.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * Simple version of a Jetpack Sync Server - just receives arrays of events and
- * issues them locally with the 'jetpack_sync_remote_action' action.
- */
-class Server {
- /**
- * Codec used to decode sync events.
- *
- * @access private
- *
- * @var Automattic\Jetpack\Sync\Codec_Interface
- */
- private $codec;
-
- /**
- * Maximum time for processing sync actions.
- *
- * @access public
- *
- * @var int
- */
- const MAX_TIME_PER_REQUEST_IN_SECONDS = 15;
-
- /**
- * Prefix of the blog lock transient.
- *
- * @access public
- *
- * @var string
- */
- const BLOG_LOCK_TRANSIENT_PREFIX = 'jp_sync_req_lock_';
-
- /**
- * Lifetime of the blog lock transient.
- *
- * @access public
- *
- * @var int
- */
- const BLOG_LOCK_TRANSIENT_EXPIRY = 60; // Seconds.
-
- /**
- * Constructor.
- *
- * This is necessary because you can't use "new" when you declare instance properties >:(
- *
- * @access public
- */
- public function __construct() {
- $this->codec = new JSON_Deflate_Array_Codec();
- }
-
- /**
- * Set the codec instance.
- *
- * @access public
- *
- * @param Automattic\Jetpack\Sync\Codec_Interface $codec Codec instance.
- */
- public function set_codec( Codec_Interface $codec ) {
- $this->codec = $codec;
- }
-
- /**
- * Attempt to lock the request when the server receives concurrent requests from the same blog.
- *
- * @access public
- *
- * @param int $blog_id ID of the blog.
- * @param int $expiry Blog lock transient lifetime.
- * @return boolean True if succeeded, false otherwise.
- */
- public function attempt_request_lock( $blog_id, $expiry = self::BLOG_LOCK_TRANSIENT_EXPIRY ) {
- $transient_name = $this->get_concurrent_request_transient_name( $blog_id );
- $locked_time = get_site_transient( $transient_name );
- if ( $locked_time ) {
- return false;
- }
- set_site_transient( $transient_name, microtime( true ), $expiry );
-
- return true;
- }
-
- /**
- * Retrieve the blog lock transient name for a particular blog.
- *
- * @access public
- *
- * @param int $blog_id ID of the blog.
- * @return string Name of the blog lock transient.
- */
- private function get_concurrent_request_transient_name( $blog_id ) {
- return self::BLOG_LOCK_TRANSIENT_PREFIX . $blog_id;
- }
-
- /**
- * Remove the request lock from a particular blog ID.
- *
- * @access public
- *
- * @param int $blog_id ID of the blog.
- */
- public function remove_request_lock( $blog_id ) {
- delete_site_transient( $this->get_concurrent_request_transient_name( $blog_id ) );
- }
-
- /**
- * Receive and process sync events.
- *
- * @access public
- *
- * @param array $data Sync events.
- * @param object $token The auth token used to invoke the API.
- * @param int $sent_timestamp Timestamp (in seconds) when the actions were transmitted.
- * @param string $queue_id ID of the queue from which the event was sent (`sync` or `full_sync`).
- * @return array Processed sync events.
- */
- public function receive( $data, $token = null, $sent_timestamp = null, $queue_id = null ) {
- $start_time = microtime( true );
- if ( ! is_array( $data ) ) {
- return new \WP_Error( 'action_decoder_error', 'Events must be an array' );
- }
-
- if ( $token && ! $this->attempt_request_lock( $token->blog_id ) ) {
- /**
- * Fires when the server receives two concurrent requests from the same blog
- *
- * @since 4.2.0
- *
- * @param token The token object of the misbehaving site
- */
- do_action( 'jetpack_sync_multi_request_fail', $token );
-
- return new \WP_Error( 'concurrent_request_error', 'There is another request running for the same blog ID' );
- }
-
- $events = wp_unslash( array_map( array( $this->codec, 'decode' ), $data ) );
- $events_processed = array();
-
- /**
- * Fires when an array of actions are received from a remote Jetpack site
- *
- * @since 4.2.0
- *
- * @param array Array of actions received from the remote site
- */
- do_action( 'jetpack_sync_remote_actions', $events, $token );
-
- foreach ( $events as $key => $event ) {
- list( $action_name, $args, $user_id, $timestamp, $silent ) = $event;
-
- /**
- * Fires when an action is received from a remote Jetpack site
- *
- * @since 4.2.0
- *
- * @param string $action_name The name of the action executed on the remote site
- * @param array $args The arguments passed to the action
- * @param int $user_id The external_user_id who did the action
- * @param bool $silent Whether the item was created via import
- * @param double $timestamp Timestamp (in seconds) when the action occurred
- * @param double $sent_timestamp Timestamp (in seconds) when the action was transmitted
- * @param string $queue_id ID of the queue from which the event was sent (sync or full_sync)
- * @param array $token The auth token used to invoke the API
- */
- do_action( 'jetpack_sync_remote_action', $action_name, $args, $user_id, $silent, $timestamp, $sent_timestamp, $queue_id, $token );
-
- $events_processed[] = $key;
-
- if ( microtime( true ) - $start_time > self::MAX_TIME_PER_REQUEST_IN_SECONDS ) {
- break;
- }
- }
-
- if ( $token ) {
- $this->remove_request_lock( $token->blog_id );
- }
-
- return $events_processed;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-settings.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-settings.php
deleted file mode 100644
index 8ab6b6fa..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-settings.php
+++ /dev/null
@@ -1,442 +0,0 @@
-<?php
-/**
- * Sync settings.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * Class to manage the sync settings.
- */
-class Settings {
- /**
- * Prefix, used for the sync settings option names.
- *
- * @access public
- *
- * @var string
- */
- const SETTINGS_OPTION_PREFIX = 'jetpack_sync_settings_';
-
- /**
- * A whitelist of valid settings.
- *
- * @access public
- * @static
- *
- * @var array
- */
- public static $valid_settings = array(
- 'dequeue_max_bytes' => true,
- 'upload_max_bytes' => true,
- 'upload_max_rows' => true,
- 'sync_wait_time' => true,
- 'sync_wait_threshold' => true,
- 'enqueue_wait_time' => true,
- 'max_queue_size' => true,
- 'max_queue_lag' => true,
- 'queue_max_writes_sec' => true,
- 'post_types_blacklist' => true,
- 'taxonomies_blacklist' => true,
- 'disable' => true,
- 'network_disable' => true,
- 'render_filtered_content' => true,
- 'post_meta_whitelist' => true,
- 'comment_meta_whitelist' => true,
- 'max_enqueue_full_sync' => true,
- 'max_queue_size_full_sync' => true,
- 'sync_via_cron' => true,
- 'cron_sync_time_limit' => true,
- 'known_importers' => true,
- 'term_relationships_full_sync_item_size' => true,
- 'sync_sender_enabled' => true,
- 'full_sync_sender_enabled' => true,
- 'full_sync_send_duration' => true,
- 'full_sync_limits' => true,
- );
-
- /**
- * Whether WordPress is currently running an import.
- *
- * @access public
- * @static
- *
- * @var null|boolean
- */
- public static $is_importing;
-
- /**
- * Whether WordPress is currently running a WP cron request.
- *
- * @access public
- * @static
- *
- * @var null|boolean
- */
- public static $is_doing_cron;
-
- /**
- * Whether we're currently syncing.
- *
- * @access public
- * @static
- *
- * @var null|boolean
- */
- public static $is_syncing;
-
- /**
- * Whether we're currently sending sync items.
- *
- * @access public
- * @static
- *
- * @var null|boolean
- */
- public static $is_sending;
-
- /**
- * Retrieve all settings with their current values.
- *
- * @access public
- * @static
- *
- * @return array All current settings.
- */
- public static function get_settings() {
- $settings = array();
- foreach ( array_keys( self::$valid_settings ) as $setting ) {
- $settings[ $setting ] = self::get_setting( $setting );
- }
-
- return $settings;
- }
-
- /**
- * Fetches the setting. It saves it if the setting doesn't exist, so that it gets
- * autoloaded on page load rather than re-queried every time.
- *
- * @access public
- * @static
- *
- * @param string $setting The setting name.
- * @return mixed The setting value.
- */
- public static function get_setting( $setting ) {
- if ( ! isset( self::$valid_settings[ $setting ] ) ) {
- return false;
- }
-
- if ( self::is_network_setting( $setting ) ) {
- if ( is_multisite() ) {
- $value = get_site_option( self::SETTINGS_OPTION_PREFIX . $setting );
- } else {
- // On single sites just return the default setting.
- return Defaults::get_default_setting( $setting );
- }
- } else {
- $value = get_option( self::SETTINGS_OPTION_PREFIX . $setting );
- }
-
- if ( false === $value ) { // No default value is set.
- $value = Defaults::get_default_setting( $setting );
- if ( self::is_network_setting( $setting ) ) {
- update_site_option( self::SETTINGS_OPTION_PREFIX . $setting, $value );
- } else {
- // We set one so that it gets autoloaded.
- update_option( self::SETTINGS_OPTION_PREFIX . $setting, $value, true );
- }
- }
-
- if ( is_numeric( $value ) ) {
- $value = intval( $value );
- }
- $default_array_value = null;
- switch ( $setting ) {
- case 'post_types_blacklist':
- $default_array_value = Defaults::$blacklisted_post_types;
- break;
- case 'taxonomies_blacklist':
- $default_array_value = Defaults::$blacklisted_taxonomies;
- break;
- case 'post_meta_whitelist':
- $default_array_value = Defaults::get_post_meta_whitelist();
- break;
- case 'comment_meta_whitelist':
- $default_array_value = Defaults::get_comment_meta_whitelist();
- break;
- case 'known_importers':
- $default_array_value = Defaults::get_known_importers();
- break;
- }
-
- if ( $default_array_value ) {
- if ( is_array( $value ) ) {
- $value = array_unique( array_merge( $value, $default_array_value ) );
- } else {
- $value = $default_array_value;
- }
- }
-
- return $value;
- }
-
- /**
- * Change multiple settings in the same time.
- *
- * @access public
- * @static
- *
- * @param array $new_settings The new settings.
- */
- public static function update_settings( $new_settings ) {
- $validated_settings = array_intersect_key( $new_settings, self::$valid_settings );
- foreach ( $validated_settings as $setting => $value ) {
-
- if ( self::is_network_setting( $setting ) ) {
- if ( is_multisite() && is_main_site() ) {
- update_site_option( self::SETTINGS_OPTION_PREFIX . $setting, $value );
- }
- } else {
- update_option( self::SETTINGS_OPTION_PREFIX . $setting, $value, true );
- }
-
- // If we set the disabled option to true, clear the queues.
- if ( ( 'disable' === $setting || 'network_disable' === $setting ) && ! ! $value ) {
- $listener = Listener::get_instance();
- $listener->get_sync_queue()->reset();
- $listener->get_full_sync_queue()->reset();
- }
- }
- }
-
- /**
- * Whether the specified setting is a network setting.
- *
- * @access public
- * @static
- *
- * @param string $setting Setting name.
- * @return boolean Whether the setting is a network setting.
- */
- public static function is_network_setting( $setting ) {
- return strpos( $setting, 'network_' ) === 0;
- }
-
- /**
- * Returns escaped SQL for blacklisted post types.
- * Can be injected directly into a WHERE clause.
- *
- * @access public
- * @static
- *
- * @return string SQL WHERE clause.
- */
- public static function get_blacklisted_post_types_sql() {
- return 'post_type NOT IN (\'' . join( '\', \'', array_map( 'esc_sql', self::get_setting( 'post_types_blacklist' ) ) ) . '\')';
- }
-
- /**
- * Returns escaped SQL for blacklisted taxonomies.
- * Can be injected directly into a WHERE clause.
- *
- * @access public
- * @static
- *
- * @return string SQL WHERE clause.
- */
- public static function get_blacklisted_taxonomies_sql() {
- return "taxonomy NOT IN ('" . join( "', '", array_map( 'esc_sql', self::get_setting( 'taxonomies_blacklist' ) ) ) . "')";
- }
-
- /**
- * Returns escaped SQL for blacklisted post meta.
- * Can be injected directly into a WHERE clause.
- *
- * @access public
- * @static
- *
- * @return string SQL WHERE clause.
- */
- public static function get_whitelisted_post_meta_sql() {
- return 'meta_key IN (\'' . join( '\', \'', array_map( 'esc_sql', self::get_setting( 'post_meta_whitelist' ) ) ) . '\')';
- }
-
- /**
- * Returns escaped SQL for blacklisted comment meta.
- * Can be injected directly into a WHERE clause.
- *
- * @access public
- * @static
- *
- * @return string SQL WHERE clause.
- */
- public static function get_whitelisted_comment_meta_sql() {
- return 'meta_key IN (\'' . join( '\', \'', array_map( 'esc_sql', self::get_setting( 'comment_meta_whitelist' ) ) ) . '\')';
- }
-
- /**
- * Returns escaped SQL for comments, excluding any spam comments.
- * Can be injected directly into a WHERE clause.
- *
- * @access public
- * @static
- *
- * @return string SQL WHERE clause.
- */
- public static function get_comments_filter_sql() {
- return "comment_approved <> 'spam'";
- }
-
- /**
- * Delete any settings options and clean up the current settings state.
- *
- * @access public
- * @static
- */
- public static function reset_data() {
- $valid_settings = self::$valid_settings;
- foreach ( $valid_settings as $option => $value ) {
- delete_option( self::SETTINGS_OPTION_PREFIX . $option );
- }
- self::set_importing( null );
- self::set_doing_cron( null );
- self::set_is_syncing( null );
- self::set_is_sending( null );
- }
-
- /**
- * Set the importing state.
- *
- * @access public
- * @static
- *
- * @param boolean $is_importing Whether WordPress is currently importing.
- */
- public static function set_importing( $is_importing ) {
- // Set to NULL to revert to WP_IMPORTING, the standard behavior.
- self::$is_importing = $is_importing;
- }
-
- /**
- * Whether WordPress is currently importing.
- *
- * @access public
- * @static
- *
- * @return boolean Whether WordPress is currently importing.
- */
- public static function is_importing() {
- if ( ! is_null( self::$is_importing ) ) {
- return self::$is_importing;
- }
-
- return defined( 'WP_IMPORTING' ) && WP_IMPORTING;
- }
-
- /**
- * Whether sync is enabled.
- *
- * @access public
- * @static
- *
- * @return boolean Whether sync is enabled.
- */
- public static function is_sync_enabled() {
- return ! ( self::get_setting( 'disable' ) || self::get_setting( 'network_disable' ) );
- }
-
- /**
- * Set the WP cron state.
- *
- * @access public
- * @static
- *
- * @param boolean $is_doing_cron Whether WordPress is currently doing WP cron.
- */
- public static function set_doing_cron( $is_doing_cron ) {
- // Set to NULL to revert to WP_IMPORTING, the standard behavior.
- self::$is_doing_cron = $is_doing_cron;
- }
-
- /**
- * Whether WordPress is currently doing WP cron.
- *
- * @access public
- * @static
- *
- * @return boolean Whether WordPress is currently doing WP cron.
- */
- public static function is_doing_cron() {
- if ( ! is_null( self::$is_doing_cron ) ) {
- return self::$is_doing_cron;
- }
-
- return defined( 'DOING_CRON' ) && DOING_CRON;
- }
-
- /**
- * Whether we are currently syncing.
- *
- * @access public
- * @static
- *
- * @return boolean Whether we are currently syncing.
- */
- public static function is_syncing() {
- return (bool) self::$is_syncing || ( defined( 'REST_API_REQUEST' ) && REST_API_REQUEST );
- }
-
- /**
- * Set the syncing state.
- *
- * @access public
- * @static
- *
- * @param boolean $is_syncing Whether we are currently syncing.
- */
- public static function set_is_syncing( $is_syncing ) {
- self::$is_syncing = $is_syncing;
- }
-
- /**
- * Whether we are currently sending sync items.
- *
- * @access public
- * @static
- *
- * @return boolean Whether we are currently sending sync items.
- */
- public static function is_sending() {
- return (bool) self::$is_sending;
- }
-
- /**
- * Set the sending state.
- *
- * @access public
- * @static
- *
- * @param boolean $is_sending Whether we are currently sending sync items.
- */
- public static function set_is_sending( $is_sending ) {
- self::$is_sending = $is_sending;
- }
-
- /**
- * Whether should send from the queue
- *
- * @access public
- * @static
- *
- * @param string $queue_id The queue identifier.
- *
- * @return boolean Whether sync is enabled.
- */
- public static function is_sender_enabled( $queue_id ) {
- return (bool) self::get_setting( $queue_id . '_sender_enabled' );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-simple-codec.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-simple-codec.php
deleted file mode 100644
index 613323fd..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-simple-codec.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-/**
- * Simple codec for encoding and decoding sync objects.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * An implementation of Automattic\Jetpack\Sync\Codec_Interface that uses base64
- * algorithm to compress objects serialized using json_encode.
- */
-class Simple_Codec extends JSON_Deflate_Array_Codec {
- /**
- * Name of the codec.
- *
- * @access public
- *
- * @var string
- */
- const CODEC_NAME = 'simple';
-
- /**
- * Retrieve the name of the codec.
- *
- * @access public
- *
- * @return string Name of the codec.
- */
- public function name() {
- return self::CODEC_NAME;
- }
-
- /**
- * Encode a sync object.
- *
- * @access public
- *
- * @param mixed $object Sync object to encode.
- * @return string Encoded sync object.
- */
- public function encode( $object ) {
- // This is intentionally using base64_encode().
- // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
- return base64_encode( $this->json_serialize( $object ) );
- }
-
- /**
- * Encode a sync object.
- *
- * @access public
- *
- * @param string $input Encoded sync object to decode.
- * @return mixed Decoded sync object.
- */
- public function decode( $input ) {
- // This is intentionally using base64_decode().
- // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
- return $this->json_unserialize( base64_decode( $input ) );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-users.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-users.php
deleted file mode 100644
index f37492f6..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-users.php
+++ /dev/null
@@ -1,150 +0,0 @@
-<?php
-/**
- * Sync for users.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-use Automattic\Jetpack\Connection\Manager as Jetpack_Connection;
-use Automattic\Jetpack\Roles;
-
-/**
- * Class Users.
- *
- * Responsible for syncing user data changes.
- */
-class Users {
- /**
- * Roles of all users, indexed by user ID.
- *
- * @access public
- * @static
- *
- * @var array
- */
- public static $user_roles = array();
-
- /**
- * Initialize sync for user data changes.
- *
- * @access public
- * @static
- * @todo Eventually, connection needs to be instantiated at the top level in the sync package.
- */
- public static function init() {
- $connection = new Jetpack_Connection();
- if ( $connection->is_active() ) {
- // Kick off synchronization of user role when it changes.
- add_action( 'set_user_role', array( __CLASS__, 'user_role_change' ) );
- }
- }
-
- /**
- * Synchronize connected user role changes.
- *
- * @access public
- * @static
- *
- * @param int $user_id ID of the user.
- */
- public static function user_role_change( $user_id ) {
- $connection = new Jetpack_Connection();
- if ( $connection->is_user_connected( $user_id ) ) {
- self::update_role_on_com( $user_id );
- // Try to choose a new master if we're demoting the current one.
- self::maybe_demote_master_user( $user_id );
- }
- }
-
- /**
- * Retrieve the role of a user by their ID.
- *
- * @access public
- * @static
- *
- * @param int $user_id ID of the user.
- * @return string Role of the user.
- */
- public static function get_role( $user_id ) {
- if ( isset( self::$user_roles[ $user_id ] ) ) {
- return self::$user_roles[ $user_id ];
- }
-
- $current_user_id = get_current_user_id();
- wp_set_current_user( $user_id );
- $roles = new Roles();
- $role = $roles->translate_current_user_to_role();
- wp_set_current_user( $current_user_id );
- self::$user_roles[ $user_id ] = $role;
-
- return $role;
- }
-
- /**
- * Retrieve the signed role of a user by their ID.
- *
- * @access public
- * @static
- *
- * @param int $user_id ID of the user.
- * @return string Signed role of the user.
- */
- public static function get_signed_role( $user_id ) {
- $connection = new Jetpack_Connection();
- return $connection->sign_role( self::get_role( $user_id ), $user_id );
- }
-
- /**
- * Retrieve the signed role and update it in WP.com for that user.
- *
- * @access public
- * @static
- *
- * @param int $user_id ID of the user.
- */
- public static function update_role_on_com( $user_id ) {
- $signed_role = self::get_signed_role( $user_id );
- \Jetpack::xmlrpc_async_call( 'jetpack.updateRole', $user_id, $signed_role );
- }
-
- /**
- * Choose a new master user if we're demoting the current one.
- *
- * @access public
- * @static
- * @todo Disconnect if there is no user with enough capabilities to be the master user.
- * @uses \WP_User_Query
- *
- * @param int $user_id ID of the user.
- */
- public static function maybe_demote_master_user( $user_id ) {
- $master_user_id = (int) \Jetpack_Options::get_option( 'master_user' );
- $role = self::get_role( $user_id );
- if ( $user_id === $master_user_id && 'administrator' !== $role ) {
- $query = new \WP_User_Query(
- array(
- 'fields' => array( 'id' ),
- 'role' => 'administrator',
- 'orderby' => 'id',
- 'exclude' => array( $master_user_id ),
- )
- );
- $new_master = false;
- $connection = new Jetpack_Connection();
- foreach ( $query->results as $result ) {
- $found_user_id = absint( $result->id );
- if ( $found_user_id && $connection->is_user_connected( $found_user_id ) ) {
- $new_master = $found_user_id;
- break;
- }
- }
-
- if ( $new_master ) {
- \Jetpack_Options::update_option( 'master_user', $new_master );
- }
- // TODO: else disconnect..?
- }
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-utils.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-utils.php
index 23f24e95..54a1cae5 100644
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-utils.php
+++ b/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-utils.php
@@ -1,65 +1,2 @@
-<?php
-/**
- * Sync utils.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * Class for sync utilities.
- */
-class Utils {
- /**
- * Retrieve the values of sync items.
- *
- * @access public
- * @static
- *
- * @param array $items Array of sync items.
- * @return array Array of sync item values.
- */
- public static function get_item_values( $items ) {
- return array_map( array( __CLASS__, 'get_item_value' ), $items );
- }
-
- /**
- * Retrieve the IDs of sync items.
- *
- * @access public
- * @static
- *
- * @param array $items Array of sync items.
- * @return array Array of sync item IDs.
- */
- public static function get_item_ids( $items ) {
- return array_map( array( __CLASS__, 'get_item_id' ), $items );
- }
-
- /**
- * Get the value of a sync item.
- *
- * @access private
- * @static
- *
- * @param array $item Sync item.
- * @return mixed Sync item value.
- */
- private static function get_item_value( $item ) {
- return $item->value;
- }
-
- /**
- * Get the ID of a sync item.
- *
- * @access private
- * @static
- *
- * @param array $item Sync item.
- * @return int Sync item ID.
- */
- private static function get_item_id( $item ) {
- return $item->id;
- }
-}
+<?php // Stub to avoid errors during upgrades
+require_once __DIR__ . '/../../../../jetpack_vendor/automattic/jetpack-sync/src/class-utils.php';
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/interface-codec.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/interface-codec.php
deleted file mode 100644
index 7653f26d..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/interface-codec.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-/**
- * Interface for encoding and decoding sync objects.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * Very simple interface for encoding and decoding input.
- * This is used to provide compression and serialization to messages.
- **/
-interface Codec_Interface {
- /**
- * Retrieve the name of the codec.
- * We send this with the payload so we can select the appropriate decoder at the other end.
- *
- * @access public
- *
- * @return string Name of the codec.
- */
- public function name();
-
- /**
- * Encode a sync object.
- *
- * @access public
- *
- * @param mixed $object Sync object to encode.
- * @return string Encoded sync object.
- */
- public function encode( $object );
-
- /**
- * Encode a sync object.
- *
- * @access public
- *
- * @param string $input Encoded sync object to decode.
- * @return mixed Decoded sync object.
- */
- public function decode( $input );
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/interface-replicastore.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/interface-replicastore.php
deleted file mode 100644
index 90918803..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/interface-replicastore.php
+++ /dev/null
@@ -1,566 +0,0 @@
-<?php
-/**
- * Sync architecture prototype.
- *
- * To run tests: phpunit --testsuite sync --filter New_Sync
- *
- * @author Dan Walmsley
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync;
-
-/**
- * A high-level interface for objects that store synced WordPress data.
- * Useful for ensuring that different storage mechanisms implement the
- * required semantics for storing all the data that we sync.
- */
-interface Replicastore_Interface {
- /**
- * Empty and reset the replicastore.
- *
- * @access public
- */
- public function reset();
-
- /**
- * Ran when full sync has just started.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- */
- public function full_sync_start( $config );
-
- /**
- * Ran when full sync has just finished.
- *
- * @access public
- *
- * @param string $checksum Deprecated since 7.3.0.
- */
- public function full_sync_end( $checksum );
-
- /**
- * Retrieve the number of posts with a particular post status within a certain range.
- *
- * @access public
- *
- * @todo Prepare the SQL query before executing it.
- *
- * @param string $status Post status.
- * @param int $min_id Minimum post ID.
- * @param int $max_id Maximum post ID.
- */
- public function post_count( $status = null, $min_id = null, $max_id = null );
-
- /**
- * Retrieve the posts with a particular post status.
- *
- * @access public
- *
- * @param string $status Post status.
- * @param int $min_id Minimum post ID.
- * @param int $max_id Maximum post ID.
- */
- public function get_posts( $status = null, $min_id = null, $max_id = null );
-
- /**
- * Retrieve a post object by the post ID.
- *
- * @access public
- *
- * @param int $id Post ID.
- */
- public function get_post( $id );
-
- /**
- * Update or insert a post.
- *
- * @access public
- *
- * @param \WP_Post $post Post object.
- * @param bool $silent Whether to perform a silent action.
- */
- public function upsert_post( $post, $silent = false );
-
- /**
- * Delete a post by the post ID.
- *
- * @access public
- *
- * @param int $post_id Post ID.
- */
- public function delete_post( $post_id );
-
- /**
- * Retrieve the checksum for posts within a range.
- *
- * @access public
- *
- * @param int $min_id Minimum post ID.
- * @param int $max_id Maximum post ID.
- */
- public function posts_checksum( $min_id = null, $max_id = null );
-
- /**
- * Retrieve the checksum for post meta within a range.
- *
- * @access public
- *
- * @param int $min_id Minimum post meta ID.
- * @param int $max_id Maximum post meta ID.
- */
- public function post_meta_checksum( $min_id = null, $max_id = null );
-
- /**
- * Retrieve the number of comments with a particular comment status within a certain range.
- *
- * @access public
- *
- * @param string $status Comment status.
- * @param int $min_id Minimum comment ID.
- * @param int $max_id Maximum comment ID.
- */
- public function comment_count( $status = null, $min_id = null, $max_id = null );
-
- /**
- * Retrieve the comments with a particular comment status.
- *
- * @access public
- *
- * @param string $status Comment status.
- * @param int $min_id Minimum comment ID.
- * @param int $max_id Maximum comment ID.
- */
- public function get_comments( $status = null, $min_id = null, $max_id = null );
-
- /**
- * Retrieve a comment object by the comment ID.
- *
- * @access public
- *
- * @param int $id Comment ID.
- */
- public function get_comment( $id );
-
- /**
- * Update or insert a comment.
- *
- * @access public
- *
- * @param \WP_Comment $comment Comment object.
- */
- public function upsert_comment( $comment );
-
- /**
- * Trash a comment by the comment ID.
- *
- * @access public
- *
- * @param int $comment_id Comment ID.
- */
- public function trash_comment( $comment_id );
-
- /**
- * Mark a comment by the comment ID as spam.
- *
- * @access public
- *
- * @param int $comment_id Comment ID.
- */
- public function spam_comment( $comment_id );
-
- /**
- * Delete a comment by the comment ID.
- *
- * @access public
- *
- * @param int $comment_id Comment ID.
- */
- public function delete_comment( $comment_id );
-
- /**
- * Trash the comments of a post.
- *
- * @access public
- *
- * @param int $post_id Post ID.
- * @param array $statuses Post statuses.
- */
- public function trashed_post_comments( $post_id, $statuses );
-
- /**
- * Untrash the comments of a post.
- *
- * @access public
- *
- * @param int $post_id Post ID.
- */
- public function untrashed_post_comments( $post_id );
-
- /**
- * Retrieve the checksum for comments within a range.
- *
- * @access public
- *
- * @param int $min_id Minimum comment ID.
- * @param int $max_id Maximum comment ID.
- */
- public function comments_checksum( $min_id = null, $max_id = null );
-
- /**
- * Retrieve the checksum for comment meta within a range.
- *
- * @access public
- *
- * @param int $min_id Minimum comment meta ID.
- * @param int $max_id Maximum comment meta ID.
- */
- public function comment_meta_checksum( $min_id = null, $max_id = null );
-
- /**
- * Update the value of an option.
- *
- * @access public
- *
- * @param string $option Option name.
- * @param mixed $value Option value.
- */
- public function update_option( $option, $value );
-
- /**
- * Retrieve an option value based on an option name.
- *
- * @access public
- *
- * @param string $option Name of option to retrieve.
- * @param mixed $default Optional. Default value to return if the option does not exist.
- */
- public function get_option( $option, $default = false );
-
- /**
- * Remove an option by name.
- *
- * @access public
- *
- * @param string $option Name of option to remove.
- */
- public function delete_option( $option );
-
- /**
- * Change the features that the current theme supports.
- *
- * @access public
- *
- * @param array $theme_support Features that the theme supports.
- */
- public function set_theme_support( $theme_support );
-
- /**
- * Whether the current theme supports a certain feature.
- *
- * @access public
- *
- * @param string $feature Name of the feature.
- */
- public function current_theme_supports( $feature );
-
- /**
- * Retrieve metadata for the specified object.
- *
- * @access public
- *
- * @param string $type Meta type.
- * @param int $object_id ID of the object.
- * @param string $meta_key Meta key.
- * @param bool $single If true, return only the first value of the specified meta_key.
- */
- public function get_metadata( $type, $object_id, $meta_key = '', $single = false );
-
- /**
- * Stores remote meta key/values alongside an ID mapping key.
- *
- * @access public
- *
- * @param string $type Meta type.
- * @param int $object_id ID of the object.
- * @param string $meta_key Meta key.
- * @param mixed $meta_value Meta value.
- * @param int $meta_id ID of the meta.
- */
- public function upsert_metadata( $type, $object_id, $meta_key, $meta_value, $meta_id );
-
- /**
- * Delete metadata for the specified object.
- *
- * @access public
- *
- * @param string $type Meta type.
- * @param int $object_id ID of the object.
- * @param array $meta_ids IDs of the meta objects to delete.
- */
- public function delete_metadata( $type, $object_id, $meta_ids );
-
- /**
- * Delete metadata with a certain key for the specified objects.
- *
- * @access public
- *
- * @param string $type Meta type.
- * @param array $object_ids IDs of the objects.
- * @param string $meta_key Meta key.
- */
- public function delete_batch_metadata( $type, $object_ids, $meta_key );
-
- /**
- * Retrieve value of a constant based on the constant name.
- *
- * @access public
- *
- * @param string $constant Name of constant to retrieve.
- */
- public function get_constant( $constant );
-
- /**
- * Set the value of a constant.
- *
- * @access public
- *
- * @param string $constant Name of constant to retrieve.
- * @param mixed $value Value set for the constant.
- */
- public function set_constant( $constant, $value );
-
- /**
- * Retrieve the number of the available updates of a certain type.
- * Type is one of: `plugins`, `themes`, `wordpress`, `translations`, `total`, `wp_update_version`.
- *
- * @access public
- *
- * @param string $type Type of updates to retrieve.
- */
- public function get_updates( $type );
-
- /**
- * Set the available updates of a certain type.
- * Type is one of: `plugins`, `themes`, `wordpress`, `translations`, `total`, `wp_update_version`.
- *
- * @access public
- *
- * @param string $type Type of updates to set.
- * @param int $updates Total number of updates.
- */
- public function set_updates( $type, $updates );
-
- /**
- * Retrieve a callable value based on its name.
- *
- * @access public
- *
- * @param string $callable Name of the callable to retrieve.
- */
- public function get_callable( $callable );
-
- /**
- * Update the value of a callable.
- *
- * @access public
- *
- * @param string $callable Callable name.
- * @param mixed $value Callable value.
- */
- public function set_callable( $callable, $value );
-
- /**
- * Retrieve a network option value based on a network option name.
- *
- * @access public
- *
- * @param string $option Name of network option to retrieve.
- */
- public function get_site_option( $option );
-
- /**
- * Update the value of a network option.
- *
- * @access public
- *
- * @param string $option Network option name.
- * @param mixed $value Network option value.
- */
- public function update_site_option( $option, $value );
-
- /**
- * Remove a network option by name.
- *
- * @access public
- *
- * @param string $option Name of option to remove.
- */
- public function delete_site_option( $option );
-
- /**
- * Retrieve the terms from a particular taxonomy.
- *
- * @access public
- *
- * @param string $taxonomy Taxonomy slug.
- */
- public function get_terms( $taxonomy );
-
- /**
- * Retrieve a particular term.
- *
- * @access public
- *
- * @param string $taxonomy Taxonomy slug.
- * @param int $term_id ID of the term.
- * @param bool $is_term_id Whether this is a `term_id` or a `term_taxonomy_id`.
- */
- public function get_term( $taxonomy, $term_id, $is_term_id = true );
-
- /**
- * Insert or update a term.
- *
- * @access public
- *
- * @param \WP_Term $term_object Term object.
- */
- public function update_term( $term_object );
-
- /**
- * Delete a term by the term ID and its corresponding taxonomy.
- *
- * @access public
- *
- * @param int $term_id Term ID.
- * @param string $taxonomy Taxonomy slug.
- */
- public function delete_term( $term_id, $taxonomy );
-
- /**
- * Retrieve all terms from a taxonomy that are related to an object with a particular ID.
- *
- * @access public
- *
- * @param int $object_id Object ID.
- * @param string $taxonomy Taxonomy slug.
- */
- public function get_the_terms( $object_id, $taxonomy );
-
- /**
- * Add/update terms of a particular taxonomy of an object with the specified ID.
- *
- * @access public
- *
- * @param int $object_id The object to relate to.
- * @param string $taxonomy The context in which to relate the term to the object.
- * @param string|int|array $terms A single term slug, single term id, or array of either term slugs or ids.
- * @param bool $append Optional. If false will delete difference of terms. Default false.
- */
- public function update_object_terms( $object_id, $taxonomy, $terms, $append );
-
- /**
- * Remove certain term relationships from the specified object.
- *
- * @access public
- *
- * @todo Refactor to not use interpolated values when preparing the SQL query.
- *
- * @param int $object_id ID of the object.
- * @param array $tt_ids Term taxonomy IDs.
- */
- public function delete_object_terms( $object_id, $tt_ids );
-
- /**
- * Retrieve the number of users.
- *
- * @access public
- */
- public function user_count();
-
- /**
- * Retrieve a user object by the user ID.
- *
- * @access public
- *
- * @param int $user_id User ID.
- */
- public function get_user( $user_id );
-
- /**
- * Insert or update a user.
- *
- * @access public
- *
- * @param \WP_User $user User object.
- */
- public function upsert_user( $user );
-
- /**
- * Delete a user.
- *
- * @access public
- *
- * @param int $user_id User ID.
- */
- public function delete_user( $user_id );
-
- /**
- * Update/insert user locale.
- *
- * @access public
- *
- * @param int $user_id User ID.
- * @param string $locale The user locale.
- */
- public function upsert_user_locale( $user_id, $locale );
-
- /**
- * Delete user locale.
- *
- * @access public
- *
- * @param int $user_id User ID.
- */
- public function delete_user_locale( $user_id );
-
- /**
- * Retrieve the user locale.
- *
- * @access public
- *
- * @param int $user_id User ID.
- */
- public function get_user_locale( $user_id );
-
- /**
- * Retrieve the allowed mime types for the user.
- *
- * @access public
- *
- * @param int $user_id User ID.
- */
- public function get_allowed_mime_types( $user_id );
-
- /**
- * Retrieve all the checksums we are interested in.
- * Currently that is posts, comments, post meta and comment meta.
- *
- * @access public
- */
- public function checksum_all();
-
- /**
- * Retrieve the checksum histogram for a specific object type.
- *
- * @access public
- *
- * @param string $object_type Object type.
- * @param int $buckets Number of buckets to split the objects to.
- * @param int $start_id Minimum object ID.
- * @param int $end_id Maximum object ID.
- */
- public function checksum_histogram( $object_type, $buckets, $start_id = null, $end_id = null );
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-attachments.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-attachments.php
deleted file mode 100644
index bf716be3..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-attachments.php
+++ /dev/null
@@ -1,95 +0,0 @@
-<?php
-/**
- * Attachments sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-/**
- * Class to handle sync for attachments.
- */
-class Attachments extends Module {
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'attachments';
- }
-
- /**
- * Initialize attachment action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- add_action( 'add_attachment', array( $this, 'process_add' ) );
- add_action( 'attachment_updated', array( $this, 'process_update' ), 10, 3 );
- add_action( 'jetpack_sync_save_update_attachment', $callable, 10, 2 );
- add_action( 'jetpack_sync_save_add_attachment', $callable, 10, 2 );
- add_action( 'jetpack_sync_save_attach_attachment', $callable, 10, 2 );
- }
-
- /**
- * Handle the creation of a new attachment.
- *
- * @access public
- *
- * @param int $attachment_id ID of the attachment.
- */
- public function process_add( $attachment_id ) {
- $attachment = get_post( $attachment_id );
- /**
- * Fires when the client needs to sync an new attachment
- *
- * @since 4.2.0
- *
- * @param int Attachment ID.
- * @param \WP_Post Attachment post object.
- */
- do_action( 'jetpack_sync_save_add_attachment', $attachment_id, $attachment );
- }
-
- /**
- * Handle updating an existing attachment.
- *
- * @access public
- *
- * @param int $attachment_id Attachment ID.
- * @param \WP_Post $attachment_after Attachment post object before the update.
- * @param \WP_Post $attachment_before Attachment post object after the update.
- */
- public function process_update( $attachment_id, $attachment_after, $attachment_before ) {
- // Check whether attachment was added to a post for the first time.
- if ( 0 === $attachment_before->post_parent && 0 !== $attachment_after->post_parent ) {
- /**
- * Fires when an existing attachment is added to a post for the first time
- *
- * @since 6.6.0
- *
- * @param int $attachment_id Attachment ID.
- * @param \WP_Post $attachment_after Attachment post object after the update.
- */
- do_action( 'jetpack_sync_save_attach_attachment', $attachment_id, $attachment_after );
- } else {
- /**
- * Fires when the client needs to sync an updated attachment
- *
- * @since 4.9.0
- *
- * @param int $attachment_id Attachment ID.
- * @param \WP_Post $attachment_after Attachment post object after the update.
- *
- * Previously this action was synced using jetpack_sync_save_add_attachment action.
- */
- do_action( 'jetpack_sync_save_update_attachment', $attachment_id, $attachment_after );
- }
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-callables.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-callables.php
deleted file mode 100644
index 83d8e398..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-callables.php
+++ /dev/null
@@ -1,522 +0,0 @@
-<?php
-/**
- * Callables sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Functions;
-use Automattic\Jetpack\Sync\Defaults;
-use Automattic\Jetpack\Sync\Settings;
-use Automattic\Jetpack\Constants as Jetpack_Constants;
-
-/**
- * Class to handle sync for callables.
- */
-class Callables extends Module {
- /**
- * Name of the callables checksum option.
- *
- * @var string
- */
- const CALLABLES_CHECKSUM_OPTION_NAME = 'jetpack_callables_sync_checksum';
-
- /**
- * Name of the transient for locking callables.
- *
- * @var string
- */
- const CALLABLES_AWAIT_TRANSIENT_NAME = 'jetpack_sync_callables_await';
-
- /**
- * Whitelist for callables we want to sync.
- *
- * @access private
- *
- * @var array
- */
- private $callable_whitelist;
-
- /**
- * For some options, we should always send the change right away!
- *
- * @access public
- *
- * @var array
- */
- const ALWAYS_SEND_UPDATES_TO_THESE_OPTIONS = array(
- 'jetpack_active_modules',
- 'home', // option is home, callable is home_url.
- 'siteurl',
- 'jetpack_sync_error_idc',
- 'paused_plugins',
- 'paused_themes',
- );
-
- /**
- * For some options, the callable key differs from the option name/key
- *
- * @access public
- *
- * @var array
- */
- const OPTION_NAMES_TO_CALLABLE_NAMES = array(
- // @TODO: Audit the other option names for differences between the option names and callable names.
- 'home' => 'home_url',
- 'siteurl' => 'site_url',
- );
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'functions';
- }
-
- /**
- * Set module defaults.
- * Define the callable whitelist based on whether this is a single site or a multisite installation.
- *
- * @access public
- */
- public function set_defaults() {
- if ( is_multisite() ) {
- $this->callable_whitelist = array_merge( Defaults::get_callable_whitelist(), Defaults::get_multisite_callable_whitelist() );
- } else {
- $this->callable_whitelist = Defaults::get_callable_whitelist();
- }
- }
-
- /**
- * Initialize callables action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- add_action( 'jetpack_sync_callable', $callable, 10, 2 );
- add_action( 'current_screen', array( $this, 'set_plugin_action_links' ), 9999 ); // Should happen very late.
-
- foreach ( self::ALWAYS_SEND_UPDATES_TO_THESE_OPTIONS as $option ) {
- add_action( "update_option_{$option}", array( $this, 'unlock_sync_callable' ) );
- add_action( "delete_option_{$option}", array( $this, 'unlock_sync_callable' ) );
- }
-
- // Provide a hook so that hosts can send changes to certain callables right away.
- // Especially useful when a host uses constants to change home and siteurl.
- add_action( 'jetpack_sync_unlock_sync_callable', array( $this, 'unlock_sync_callable' ) );
-
- // get_plugins and wp_version
- // gets fired when new code gets installed, updates etc.
- add_action( 'upgrader_process_complete', array( $this, 'unlock_plugin_action_link_and_callables' ) );
- add_action( 'update_option_active_plugins', array( $this, 'unlock_plugin_action_link_and_callables' ) );
- }
-
- /**
- * Initialize callables action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_callables', $callable );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- add_action( 'jetpack_sync_before_send_queue_sync', array( $this, 'maybe_sync_callables' ) );
-
- // Full sync.
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_callables', array( $this, 'expand_callables' ) );
- }
-
- /**
- * Perform module cleanup.
- * Deletes any transients and options that this module uses.
- * Usually triggered when uninstalling the plugin.
- *
- * @access public
- */
- public function reset_data() {
- delete_option( self::CALLABLES_CHECKSUM_OPTION_NAME );
- delete_transient( self::CALLABLES_AWAIT_TRANSIENT_NAME );
-
- $url_callables = array( 'home_url', 'site_url', 'main_network_site_url' );
- foreach ( $url_callables as $callable ) {
- delete_option( Functions::HTTPS_CHECK_OPTION_PREFIX . $callable );
- }
- }
-
- /**
- * Set the callable whitelist.
- *
- * @access public
- *
- * @param array $callables The new callables whitelist.
- */
- public function set_callable_whitelist( $callables ) {
- $this->callable_whitelist = $callables;
- }
-
- /**
- * Get the callable whitelist.
- *
- * @access public
- *
- * @return array The callables whitelist.
- */
- public function get_callable_whitelist() {
- return $this->callable_whitelist;
- }
-
- /**
- * Retrieve all callables as per the current callables whitelist.
- *
- * @access public
- *
- * @return array All callables.
- */
- public function get_all_callables() {
- // get_all_callables should run as the master user always.
- $current_user_id = get_current_user_id();
- wp_set_current_user( \Jetpack_Options::get_option( 'master_user' ) );
- $callables = array_combine(
- array_keys( $this->get_callable_whitelist() ),
- array_map( array( $this, 'get_callable' ), array_values( $this->get_callable_whitelist() ) )
- );
- wp_set_current_user( $current_user_id );
- return $callables;
- }
-
- /**
- * Invoke a particular callable.
- * Used as a wrapper to standartize invocation.
- *
- * @access private
- *
- * @param callable $callable Callable to invoke.
- * @return mixed Return value of the callable.
- */
- private function get_callable( $callable ) {
- return call_user_func( $callable );
- }
-
- /**
- * Enqueue the callable actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- /**
- * Tells the client to sync all callables to the server
- *
- * @since 4.2.0
- *
- * @param boolean Whether to expand callables (should always be true)
- */
- do_action( 'jetpack_full_sync_callables', true );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 1, true );
- }
-
- /**
- * Send the callable actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $send_until The timestamp until the current request can send.
- * @param array $status This Module Full Sync Status.
- *
- * @return array This Module Full Sync Status.
- */
- public function send_full_sync_actions( $config, $send_until, $status ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- // we call this instead of do_action when sending immediately.
- $this->send_action( 'jetpack_full_sync_callables', array( true ) );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 'finished' => true );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return array Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- return 1;
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_callables' );
- }
-
- /**
- * Unlock callables so they would be available for syncing again.
- *
- * @access public
- */
- public function unlock_sync_callable() {
- delete_transient( self::CALLABLES_AWAIT_TRANSIENT_NAME );
- }
-
- /**
- * Unlock callables and plugin action links.
- *
- * @access public
- */
- public function unlock_plugin_action_link_and_callables() {
- delete_transient( self::CALLABLES_AWAIT_TRANSIENT_NAME );
- delete_transient( 'jetpack_plugin_api_action_links_refresh' );
- add_filter( 'jetpack_check_and_send_callables', '__return_true' );
- }
-
- /**
- * Parse and store the plugin action links if on the plugins page.
- *
- * @uses \DOMDocument
- * @uses libxml_use_internal_errors
- * @uses mb_convert_encoding
- *
- * @access public
- */
- public function set_plugin_action_links() {
- if (
- ! class_exists( '\DOMDocument' ) ||
- ! function_exists( 'libxml_use_internal_errors' ) ||
- ! function_exists( 'mb_convert_encoding' )
- ) {
- return;
- }
-
- $current_screeen = get_current_screen();
-
- $plugins_action_links = array();
- // Is the transient lock in place?
- $plugins_lock = get_transient( 'jetpack_plugin_api_action_links_refresh', false );
- if ( ! empty( $plugins_lock ) && ( isset( $current_screeen->id ) && 'plugins' !== $current_screeen->id ) ) {
- return;
- }
- $plugins = array_keys( Functions::get_plugins() );
- foreach ( $plugins as $plugin_file ) {
- /**
- * Plugins often like to unset things but things break if they are not able to.
- */
- $action_links = array(
- 'deactivate' => '',
- 'activate' => '',
- 'details' => '',
- 'delete' => '',
- 'edit' => '',
- );
- /** This filter is documented in src/wp-admin/includes/class-wp-plugins-list-table.php */
- $action_links = apply_filters( 'plugin_action_links', $action_links, $plugin_file, null, 'all' );
- /** This filter is documented in src/wp-admin/includes/class-wp-plugins-list-table.php */
- $action_links = apply_filters( "plugin_action_links_{$plugin_file}", $action_links, $plugin_file, null, 'all' );
- $action_links = array_filter( $action_links );
- $formatted_action_links = null;
- if ( ! empty( $action_links ) && count( $action_links ) > 0 ) {
- $dom_doc = new \DOMDocument();
- foreach ( $action_links as $action_link ) {
- // The @ is not enough to suppress errors when dealing with libxml,
- // we have to tell it directly how we want to handle errors.
- libxml_use_internal_errors( true );
- $dom_doc->loadHTML( mb_convert_encoding( $action_link, 'HTML-ENTITIES', 'UTF-8' ) );
- libxml_use_internal_errors( false );
-
- $link_elements = $dom_doc->getElementsByTagName( 'a' );
- if ( 0 === $link_elements->length ) {
- continue;
- }
-
- $link_element = $link_elements->item( 0 );
- // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- if ( $link_element->hasAttribute( 'href' ) && $link_element->nodeValue ) {
- $link_url = trim( $link_element->getAttribute( 'href' ) );
-
- // Add the full admin path to the url if the plugin did not provide it.
- $link_url_scheme = wp_parse_url( $link_url, PHP_URL_SCHEME );
- if ( empty( $link_url_scheme ) ) {
- $link_url = admin_url( $link_url );
- }
-
- // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- $formatted_action_links[ $link_element->nodeValue ] = $link_url;
- }
- }
- }
- if ( $formatted_action_links ) {
- $plugins_action_links[ $plugin_file ] = $formatted_action_links;
- }
- }
- // Cache things for a long time.
- set_transient( 'jetpack_plugin_api_action_links_refresh', time(), DAY_IN_SECONDS );
- update_option( 'jetpack_plugin_api_action_links', $plugins_action_links );
- }
-
- /**
- * Whether a certain callable should be sent.
- *
- * @access public
- *
- * @param array $callable_checksums Callable checksums.
- * @param string $name Name of the callable.
- * @param string $checksum A checksum of the callable.
- * @return boolean Whether to send the callable.
- */
- public function should_send_callable( $callable_checksums, $name, $checksum ) {
- $idc_override_callables = array(
- 'main_network_site',
- 'home_url',
- 'site_url',
- );
- if ( in_array( $name, $idc_override_callables, true ) && \Jetpack_Options::get_option( 'migrate_for_idc' ) ) {
- return true;
- }
-
- return ! $this->still_valid_checksum( $callable_checksums, $name, $checksum );
- }
-
- /**
- * Sync the callables if we're supposed to.
- *
- * @access public
- */
- public function maybe_sync_callables() {
-
- $callables = $this->get_all_callables();
- if ( ! apply_filters( 'jetpack_check_and_send_callables', false ) ) {
- if ( ! is_admin() ) {
- // If we're not an admin and we're not doing cron and this isn't WP_CLI, don't sync anything.
- if ( ! Settings::is_doing_cron() && ! Jetpack_Constants::get_constant( 'WP_CLI' ) ) {
- return;
- }
- // If we're not an admin and we are doing cron, sync the Callables that are always supposed to sync ( See https://github.com/Automattic/jetpack/issues/12924 ).
- $callables = $this->get_always_sent_callables();
- }
- if ( get_transient( self::CALLABLES_AWAIT_TRANSIENT_NAME ) ) {
- return;
- }
- }
-
- if ( empty( $callables ) ) {
- return;
- }
-
- set_transient( self::CALLABLES_AWAIT_TRANSIENT_NAME, microtime( true ), Defaults::$default_sync_callables_wait_time );
-
- $callable_checksums = (array) \Jetpack_Options::get_raw_option( self::CALLABLES_CHECKSUM_OPTION_NAME, array() );
- $has_changed = false;
- // Only send the callables that have changed.
- foreach ( $callables as $name => $value ) {
- $checksum = $this->get_check_sum( $value );
- // Explicitly not using Identical comparison as get_option returns a string.
- if ( ! is_null( $value ) && $this->should_send_callable( $callable_checksums, $name, $checksum ) ) {
- /**
- * Tells the client to sync a callable (aka function) to the server
- *
- * @since 4.2.0
- *
- * @param string The name of the callable
- * @param mixed The value of the callable
- */
- do_action( 'jetpack_sync_callable', $name, $value );
- $callable_checksums[ $name ] = $checksum;
- $has_changed = true;
- } else {
- $callable_checksums[ $name ] = $checksum;
- }
- }
- if ( $has_changed ) {
- \Jetpack_Options::update_raw_option( self::CALLABLES_CHECKSUM_OPTION_NAME, $callable_checksums );
- }
-
- }
-
- /**
- * Get the callables that should always be sent, e.g. on cron.
- *
- * @return array Callables that should always be sent
- */
- protected function get_always_sent_callables() {
- $callables = $this->get_all_callables();
- $cron_callables = array();
- foreach ( self::ALWAYS_SEND_UPDATES_TO_THESE_OPTIONS as $option_name ) {
- if ( array_key_exists( $option_name, $callables ) ) {
- $cron_callables[ $option_name ] = $callables[ $option_name ];
- continue;
- }
-
- // Check for the Callable name/key for the option, if different from option name.
- if ( array_key_exists( $option_name, self::OPTION_NAMES_TO_CALLABLE_NAMES ) ) {
- $callable_name = self::OPTION_NAMES_TO_CALLABLE_NAMES[ $option_name ];
- if ( array_key_exists( $callable_name, $callables ) ) {
- $cron_callables[ $callable_name ] = $callables[ $callable_name ];
- }
- }
- }
- return $cron_callables;
- }
-
- /**
- * Expand the callables within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The hook parameters.
- */
- public function expand_callables( $args ) {
- if ( $args[0] ) {
- $callables = $this->get_all_callables();
- $callables_checksums = array();
- foreach ( $callables as $name => $value ) {
- $callables_checksums[ $name ] = $this->get_check_sum( $value );
- }
- \Jetpack_Options::update_raw_option( self::CALLABLES_CHECKSUM_OPTION_NAME, $callables_checksums );
- return $callables;
- }
-
- return $args;
- }
-
- /**
- * Return Total number of objects.
- *
- * @param array $config Full Sync config.
- *
- * @return int total
- */
- public function total( $config ) {
- return count( $this->get_callable_whitelist() );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-comments.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-comments.php
deleted file mode 100644
index ac3ca1c6..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-comments.php
+++ /dev/null
@@ -1,411 +0,0 @@
-<?php
-/**
- * Comments sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Settings;
-
-/**
- * Class to handle sync for comments.
- */
-class Comments extends Module {
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'comments';
- }
-
- /**
- * The id field in the database.
- *
- * @access public
- *
- * @return string
- */
- public function id_field() {
- return 'comment_ID';
- }
-
- /**
- * The table in the database.
- *
- * @access public
- *
- * @return string
- */
- public function table_name() {
- return 'comments';
- }
-
- /**
- * Retrieve a comment by its ID.
- *
- * @access public
- *
- * @param string $object_type Type of the sync object.
- * @param int $id ID of the sync object.
- * @return \WP_Comment|bool Filtered \WP_Comment object, or false if the object is not a comment.
- */
- public function get_object_by_id( $object_type, $id ) {
- $comment_id = intval( $id );
- if ( 'comment' === $object_type ) {
- $comment = get_comment( $comment_id );
- if ( $comment ) {
- return $this->filter_comment( $comment );
- }
- }
-
- return false;
- }
-
- /**
- * Initialize comments action listeners.
- * Also responsible for initializing comment meta listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- add_action( 'wp_insert_comment', $callable, 10, 2 );
- add_action( 'deleted_comment', $callable );
- add_action( 'trashed_comment', $callable );
- add_action( 'spammed_comment', $callable );
- add_action( 'trashed_post_comments', $callable, 10, 2 );
- add_action( 'untrash_post_comments', $callable );
- add_action( 'comment_approved_to_unapproved', $callable );
- add_action( 'comment_unapproved_to_approved', $callable );
- add_action( 'jetpack_modified_comment_contents', $callable, 10, 2 );
- add_action( 'untrashed_comment', $callable, 10, 2 );
- add_action( 'unspammed_comment', $callable, 10, 2 );
- add_filter( 'wp_update_comment_data', array( $this, 'handle_comment_contents_modification' ), 10, 3 );
- add_filter( 'jetpack_sync_before_enqueue_wp_insert_comment', array( $this, 'only_allow_white_listed_comment_types' ) );
-
- /**
- * Even though it's messy, we implement these hooks because
- * the edit_comment hook doesn't include the data
- * so this saves us a DB read for every comment event.
- */
- foreach ( $this->get_whitelisted_comment_types() as $comment_type ) {
- foreach ( array( 'unapproved', 'approved' ) as $comment_status ) {
- $comment_action_name = "comment_{$comment_status}_{$comment_type}";
- add_action( $comment_action_name, $callable, 10, 2 );
- }
- }
-
- // Listen for meta changes.
- $this->init_listeners_for_meta_type( 'comment', $callable );
- $this->init_meta_whitelist_handler( 'comment', array( $this, 'filter_meta' ) );
- }
-
- /**
- * Handler for any comment content updates.
- *
- * @access public
- *
- * @param array $new_comment The new, processed comment data.
- * @param array $old_comment The old, unslashed comment data.
- * @param array $new_comment_with_slashes The new, raw comment data.
- * @return array The new, processed comment data.
- */
- public function handle_comment_contents_modification( $new_comment, $old_comment, $new_comment_with_slashes ) {
- $changes = array();
- $content_fields = array(
- 'comment_author',
- 'comment_author_email',
- 'comment_author_url',
- 'comment_content',
- );
- foreach ( $content_fields as $field ) {
- if ( $new_comment_with_slashes[ $field ] !== $old_comment[ $field ] ) {
- $changes[ $field ] = array( $new_comment[ $field ], $old_comment[ $field ] );
- }
- }
-
- if ( ! empty( $changes ) ) {
- /**
- * Signals to the sync listener that this comment's contents were modified and a sync action
- * reflecting the change(s) to the content should be sent
- *
- * @since 4.9.0
- *
- * @param int $new_comment['comment_ID'] ID of comment whose content was modified
- * @param mixed $changes Array of changed comment fields with before and after values
- */
- do_action( 'jetpack_modified_comment_contents', $new_comment['comment_ID'], $changes );
- }
- return $new_comment;
- }
-
- /**
- * Initialize comments action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_comments', $callable ); // Also send comments meta.
- }
-
- /**
- * Gets a filtered list of comment types that sync can hook into.
- *
- * @access public
- *
- * @return array Defaults to [ '', 'trackback', 'pingback' ].
- */
- public function get_whitelisted_comment_types() {
- /**
- * Comment types present in this list will sync their status changes to WordPress.com.
- *
- * @since 7.6.0
- *
- * @param array A list of comment types.
- */
- return apply_filters(
- 'jetpack_sync_whitelisted_comment_types',
- array( '', 'trackback', 'pingback' )
- );
- }
-
- /**
- * Prevents any comment types that are not in the whitelist from being enqueued and sent to WordPress.com.
- *
- * @param array $args Arguments passed to wp_insert_comment.
- *
- * @return bool or array $args Arguments passed to wp_insert_comment
- */
- public function only_allow_white_listed_comment_types( $args ) {
- $comment = $args[1];
-
- if ( ! in_array( $comment->comment_type, $this->get_whitelisted_comment_types(), true ) ) {
- return false;
- }
-
- return $args;
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- add_filter( 'jetpack_sync_before_send_wp_insert_comment', array( $this, 'expand_wp_insert_comment' ) );
-
- foreach ( $this->get_whitelisted_comment_types() as $comment_type ) {
- foreach ( array( 'unapproved', 'approved' ) as $comment_status ) {
- $comment_action_name = "comment_{$comment_status}_{$comment_type}";
- add_filter(
- 'jetpack_sync_before_send_' . $comment_action_name,
- array(
- $this,
- 'expand_wp_insert_comment',
- )
- );
- }
- }
-
- // Full sync.
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_comments', array( $this, 'expand_comment_ids' ) );
- }
-
- /**
- * Enqueue the comments actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) {
- global $wpdb;
- return $this->enqueue_all_ids_as_action( 'jetpack_full_sync_comments', $wpdb->comments, 'comment_ID', $this->get_where_sql( $config ), $max_items_to_enqueue, $state );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return int Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) {
- global $wpdb;
-
- $query = "SELECT count(*) FROM $wpdb->comments";
-
- $where_sql = $this->get_where_sql( $config );
- if ( $where_sql ) {
- $query .= ' WHERE ' . $where_sql;
- }
-
- // TODO: Call $wpdb->prepare on the following query.
- // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- $count = $wpdb->get_var( $query );
-
- return (int) ceil( $count / self::ARRAY_CHUNK_SIZE );
- }
-
- /**
- * Retrieve the WHERE SQL clause based on the module config.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return string WHERE SQL clause, or `null` if no comments are specified in the module config.
- */
- public function get_where_sql( $config ) {
- if ( is_array( $config ) ) {
- return 'comment_ID IN (' . implode( ',', array_map( 'intval', $config ) ) . ')';
- }
-
- return '1=1';
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_comments' );
- }
-
- /**
- * Count all the actions that are going to be sent.
- *
- * @access public
- *
- * @param array $action_names Names of all the actions that will be sent.
- * @return int Number of actions.
- */
- public function count_full_sync_actions( $action_names ) {
- return $this->count_actions( $action_names, array( 'jetpack_full_sync_comments' ) );
- }
-
- /**
- * Expand the comment status change before the data is serialized and sent to the server.
- *
- * @access public
- * @todo This is not used currently - let's implement it.
- *
- * @param array $args The hook parameters.
- * @return array The expanded hook parameters.
- */
- public function expand_wp_comment_status_change( $args ) {
- return array( $args[0], $this->filter_comment( $args[1] ) );
- }
-
- /**
- * Expand the comment creation before the data is serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array The expanded hook parameters.
- */
- public function expand_wp_insert_comment( $args ) {
- return array( $args[0], $this->filter_comment( $args[1] ) );
- }
-
- /**
- * Filter a comment object to the fields we need.
- *
- * @access public
- *
- * @param \WP_Comment $comment The unfiltered comment object.
- * @return \WP_Comment Filtered comment object.
- */
- public function filter_comment( $comment ) {
- /**
- * Filters whether to prevent sending comment data to .com
- *
- * Passing true to the filter will prevent the comment data from being sent
- * to the WordPress.com.
- * Instead we pass data that will still enable us to do a checksum against the
- * Jetpacks data but will prevent us from displaying the data on in the API as well as
- * other services.
- *
- * @since 4.2.0
- *
- * @param boolean false prevent post data from bing synced to WordPress.com
- * @param mixed $comment WP_COMMENT object
- */
- if ( apply_filters( 'jetpack_sync_prevent_sending_comment_data', false, $comment ) ) {
- $blocked_comment = new \stdClass();
- $blocked_comment->comment_ID = $comment->comment_ID;
- $blocked_comment->comment_date = $comment->comment_date;
- $blocked_comment->comment_date_gmt = $comment->comment_date_gmt;
- $blocked_comment->comment_approved = 'jetpack_sync_blocked';
- return $blocked_comment;
- }
-
- return $comment;
- }
-
- /**
- * Whether a certain comment meta key is whitelisted for sync.
- *
- * @access public
- *
- * @param string $meta_key Comment meta key.
- * @return boolean Whether the meta key is whitelisted.
- */
- public function is_whitelisted_comment_meta( $meta_key ) {
- return in_array( $meta_key, Settings::get_setting( 'comment_meta_whitelist' ), true );
- }
-
- /**
- * Handler for filtering out non-whitelisted comment meta.
- *
- * @access public
- *
- * @param array $args Hook args.
- * @return array|boolean False if not whitelisted, the original hook args otherwise.
- */
- public function filter_meta( $args ) {
- return ( $this->is_whitelisted_comment_meta( $args[2] ) ? $args : false );
- }
-
- /**
- * Expand the comment IDs to comment objects and meta before being serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array The expanded hook parameters.
- */
- public function expand_comment_ids( $args ) {
- list( $comment_ids, $previous_interval_end ) = $args;
- $comments = get_comments(
- array(
- 'include_unapproved' => true,
- 'comment__in' => $comment_ids,
- 'orderby' => 'comment_ID',
- 'order' => 'DESC',
- )
- );
-
- return array(
- $comments,
- $this->get_metadata( $comment_ids, 'comment', Settings::get_setting( 'comment_meta_whitelist' ) ),
- $previous_interval_end,
- );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-constants.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-constants.php
deleted file mode 100644
index b95c3bc0..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-constants.php
+++ /dev/null
@@ -1,285 +0,0 @@
-<?php
-/**
- * Constants sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Defaults;
-
-/**
- * Class to handle sync for constants.
- */
-class Constants extends Module {
- /**
- * Name of the constants checksum option.
- *
- * @var string
- */
- const CONSTANTS_CHECKSUM_OPTION_NAME = 'jetpack_constants_sync_checksum';
-
- /**
- * Name of the transient for locking constants.
- *
- * @var string
- */
- const CONSTANTS_AWAIT_TRANSIENT_NAME = 'jetpack_sync_constants_await';
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'constants';
- }
-
- /**
- * Initialize constants action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- add_action( 'jetpack_sync_constant', $callable, 10, 2 );
- }
-
- /**
- * Initialize constants action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_constants', $callable );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- add_action( 'jetpack_sync_before_send_queue_sync', array( $this, 'maybe_sync_constants' ) );
-
- // Full sync.
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_constants', array( $this, 'expand_constants' ) );
- }
-
- /**
- * Perform module cleanup.
- * Deletes any transients and options that this module uses.
- * Usually triggered when uninstalling the plugin.
- *
- * @access public
- */
- public function reset_data() {
- delete_option( self::CONSTANTS_CHECKSUM_OPTION_NAME );
- delete_transient( self::CONSTANTS_AWAIT_TRANSIENT_NAME );
- }
-
- /**
- * Set the constants whitelist.
- *
- * @access public
- * @todo We don't seem to use this one. Should we remove it?
- *
- * @param array $constants The new constants whitelist.
- */
- public function set_constants_whitelist( $constants ) {
- $this->constants_whitelist = $constants;
- }
-
- /**
- * Get the constants whitelist.
- *
- * @access public
- *
- * @return array The constants whitelist.
- */
- public function get_constants_whitelist() {
- return Defaults::get_constants_whitelist();
- }
-
- /**
- * Enqueue the constants actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- *
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- /**
- * Tells the client to sync all constants to the server
- *
- * @param boolean Whether to expand constants (should always be true)
- *
- * @since 4.2.0
- */
- do_action( 'jetpack_full_sync_constants', true );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 1, true );
- }
-
- /**
- * Send the constants actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $send_until The timestamp until the current request can send.
- * @param array $state This module Full Sync status.
- *
- * @return array This module Full Sync status.
- */
- public function send_full_sync_actions( $config, $send_until, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- // we call this instead of do_action when sending immediately.
- $this->send_action( 'jetpack_full_sync_constants', array( true ) );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 'finished' => true );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- *
- * @return array Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- return 1;
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_constants' );
- }
-
- /**
- * Sync the constants if we're supposed to.
- *
- * @access public
- */
- public function maybe_sync_constants() {
- if ( get_transient( self::CONSTANTS_AWAIT_TRANSIENT_NAME ) ) {
- return;
- }
-
- set_transient( self::CONSTANTS_AWAIT_TRANSIENT_NAME, microtime( true ), Defaults::$default_sync_constants_wait_time );
-
- $constants = $this->get_all_constants();
- if ( empty( $constants ) ) {
- return;
- }
-
- $constants_checksums = (array) get_option( self::CONSTANTS_CHECKSUM_OPTION_NAME, array() );
-
- foreach ( $constants as $name => $value ) {
- $checksum = $this->get_check_sum( $value );
- // Explicitly not using Identical comparison as get_option returns a string.
- if ( ! $this->still_valid_checksum( $constants_checksums, $name, $checksum ) && ! is_null( $value ) ) {
- /**
- * Tells the client to sync a constant to the server
- *
- * @param string The name of the constant
- * @param mixed The value of the constant
- *
- * @since 4.2.0
- */
- do_action( 'jetpack_sync_constant', $name, $value );
- $constants_checksums[ $name ] = $checksum;
- } else {
- $constants_checksums[ $name ] = $checksum;
- }
- }
- update_option( self::CONSTANTS_CHECKSUM_OPTION_NAME, $constants_checksums );
- }
-
- /**
- * Retrieve all constants as per the current constants whitelist.
- * Public so that we don't have to store an option for each constant.
- *
- * @access public
- *
- * @return array All constants.
- */
- public function get_all_constants() {
- $constants_whitelist = $this->get_constants_whitelist();
-
- return array_combine(
- $constants_whitelist,
- array_map( array( $this, 'get_constant' ), $constants_whitelist )
- );
- }
-
- /**
- * Retrieve the value of a constant.
- * Used as a wrapper to standartize access to constants.
- *
- * @access private
- *
- * @param string $constant Constant name.
- *
- * @return mixed Return value of the constant.
- */
- private function get_constant( $constant ) {
- return ( defined( $constant ) ) ?
- constant( $constant )
- : null;
- }
-
- /**
- * Expand the constants within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- *
- * @return array $args The hook parameters.
- */
- public function expand_constants( $args ) {
- if ( $args[0] ) {
- $constants = $this->get_all_constants();
- $constants_checksums = array();
- foreach ( $constants as $name => $value ) {
- $constants_checksums[ $name ] = $this->get_check_sum( $value );
- }
- update_option( self::CONSTANTS_CHECKSUM_OPTION_NAME, $constants_checksums );
-
- return $constants;
- }
-
- return $args;
- }
-
- /**
- * Return Total number of objects.
- *
- * @param array $config Full Sync config.
- *
- * @return int total
- */
- public function total( $config ) {
- return count( $this->get_constants_whitelist() );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php
deleted file mode 100644
index 55ddc494..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php
+++ /dev/null
@@ -1,404 +0,0 @@
-<?php
-/**
- * Full sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Defaults;
-use Automattic\Jetpack\Sync\Lock;
-use Automattic\Jetpack\Sync\Modules;
-use Automattic\Jetpack\Sync\Settings;
-
-/**
- * This class does a full resync of the database by
- * sending an outbound action for every single object
- * that we care about.
- */
-class Full_Sync_Immediately extends Module {
- /**
- * Prefix of the full sync status option name.
- *
- * @var string
- */
- const STATUS_OPTION = 'jetpack_sync_full_status';
-
- /**
- * Sync Lock name.
- *
- * @var string
- */
- const LOCK_NAME = 'full_sync';
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'full-sync';
- }
-
- /**
- * Initialize action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- }
-
- /**
- * Start a full sync.
- *
- * @access public
- *
- * @param array $full_sync_config Full sync configuration.
- *
- * @return bool Always returns true at success.
- */
- public function start( $full_sync_config = null ) {
- // There was a full sync in progress.
- if ( $this->is_started() && ! $this->is_finished() ) {
- /**
- * Fires when a full sync is cancelled.
- *
- * @since 4.2.0
- */
- do_action( 'jetpack_full_sync_cancelled' );
- $this->send_action( 'jetpack_full_sync_cancelled' );
- }
-
- // Remove all evidence of previous full sync items and status.
- $this->reset_data();
-
- if ( ! is_array( $full_sync_config ) ) {
- $full_sync_config = Defaults::$default_full_sync_config;
- if ( is_multisite() ) {
- $full_sync_config['network_options'] = 1;
- }
- }
-
- if ( isset( $full_sync_config['users'] ) && 'initial' === $full_sync_config['users'] ) {
- $full_sync_config['users'] = Modules::get_module( 'users' )->get_initial_sync_user_config();
- }
-
- $this->update_status(
- array(
- 'started' => time(),
- 'config' => $full_sync_config,
- 'progress' => $this->get_initial_progress( $full_sync_config ),
- )
- );
-
- $range = $this->get_content_range( $full_sync_config );
- /**
- * Fires when a full sync begins. This action is serialized
- * and sent to the server so that it knows a full sync is coming.
- *
- * @param array $full_sync_config Sync configuration for all sync modules.
- * @param array $range Range of the sync items, containing min and max IDs for some item types.
- * @param array $empty The modules with no items to sync during a full sync.
- *
- * @since 4.2.0
- * @since 7.3.0 Added $range arg.
- * @since 7.4.0 Added $empty arg.
- */
- do_action( 'jetpack_full_sync_start', $full_sync_config, $range );
- $this->send_action( 'jetpack_full_sync_start', array( $full_sync_config, $range ) );
-
- return true;
- }
-
- /**
- * Whether full sync has started.
- *
- * @access public
- *
- * @return boolean
- */
- public function is_started() {
- return ! ! $this->get_status()['started'];
- }
-
- /**
- * Retrieve the status of the current full sync.
- *
- * @access public
- *
- * @return array Full sync status.
- */
- public function get_status() {
- $default = array(
- 'started' => false,
- 'finished' => false,
- 'progress' => array(),
- 'config' => array(),
- );
-
- return wp_parse_args( \Jetpack_Options::get_raw_option( self::STATUS_OPTION ), $default );
- }
-
- /**
- * Whether full sync has finished.
- *
- * @access public
- *
- * @return boolean
- */
- public function is_finished() {
- return ! ! $this->get_status()['finished'];
- }
-
- /**
- * Clear all the full sync data.
- *
- * @access public
- */
- public function reset_data() {
- $this->clear_status();
- ( new Lock() )->remove( self::LOCK_NAME );
- }
-
- /**
- * Clear all the full sync status options.
- *
- * @access public
- */
- public function clear_status() {
- \Jetpack_Options::delete_raw_option( self::STATUS_OPTION );
- }
-
- /**
- * Updates the status of the current full sync.
- *
- * @access public
- *
- * @param array $values New values to set.
- *
- * @return bool True if success.
- */
- public function update_status( $values ) {
- return $this->set_status( wp_parse_args( $values, $this->get_status() ) );
- }
-
- /**
- * Retrieve the status of the current full sync.
- *
- * @param array $values New values to set.
- *
- * @access public
- *
- * @return boolean Full sync status.
- */
- public function set_status( $values ) {
- return \Jetpack_Options::update_raw_option( self::STATUS_OPTION, $values );
- }
-
- /**
- * Given an initial Full Sync configuration get the initial status.
- *
- * @param array $full_sync_config Full sync configuration.
- *
- * @return array Initial Sent status.
- */
- public function get_initial_progress( $full_sync_config ) {
- // Set default configuration, calculate totals, and save configuration if totals > 0.
- $status = array();
- foreach ( $full_sync_config as $name => $config ) {
- $module = Modules::get_module( $name );
- $status[ $name ] = array(
- 'total' => $module->total( $config ),
- 'sent' => 0,
- 'finished' => false,
- );
- }
-
- return $status;
- }
-
- /**
- * Get the range for content (posts and comments) to sync.
- *
- * @access private
- *
- * @return array Array of range (min ID, max ID, total items) for all content types.
- */
- private function get_content_range() {
- $range = array();
- $config = $this->get_status()['config'];
- // Add range only when syncing all objects.
- if ( true === isset( $config['posts'] ) && $config['posts'] ) {
- $range['posts'] = $this->get_range( 'posts' );
- }
-
- if ( true === isset( $config['comments'] ) && $config['comments'] ) {
- $range['comments'] = $this->get_range( 'comments' );
- }
-
- return $range;
- }
-
- /**
- * Get the range (min ID, max ID and total items) of items to sync.
- *
- * @access public
- *
- * @param string $type Type of sync item to get the range for.
- *
- * @return array Array of min ID, max ID and total items in the range.
- */
- public function get_range( $type ) {
- global $wpdb;
- if ( ! in_array( $type, array( 'comments', 'posts' ), true ) ) {
- return array();
- }
-
- switch ( $type ) {
- case 'posts':
- $table = $wpdb->posts;
- $id = 'ID';
- $where_sql = Settings::get_blacklisted_post_types_sql();
-
- break;
- case 'comments':
- $table = $wpdb->comments;
- $id = 'comment_ID';
- $where_sql = Settings::get_comments_filter_sql();
- break;
- }
-
- // TODO: Call $wpdb->prepare on the following query.
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- $results = $wpdb->get_results( "SELECT MAX({$id}) as max, MIN({$id}) as min, COUNT({$id}) as count FROM {$table} WHERE {$where_sql}" );
- if ( isset( $results[0] ) ) {
- return $results[0];
- }
-
- return array();
- }
-
- /**
- * Continue sending instead of enqueueing.
- *
- * @access public
- */
- public function continue_enqueuing() {
- $this->continue_sending();
- }
-
- /**
- * Continue sending.
- *
- * @access public
- */
- public function continue_sending() {
- if ( ! ( new Lock() )->attempt( self::LOCK_NAME ) || ! $this->is_started() || $this->get_status()['finished'] ) {
- return;
- }
-
- $this->send();
-
- ( new Lock() )->remove( self::LOCK_NAME );
- }
-
- /**
- * Immediately send the next items to full sync.
- *
- * @access public
- */
- public function send() {
- $config = $this->get_status()['config'];
-
- $max_duration = Settings::get_setting( 'full_sync_send_duration' );
- $send_until = microtime( true ) + $max_duration;
-
- $progress = $this->get_status()['progress'];
-
- foreach ( $this->get_remaining_modules_to_send() as $module ) {
- $progress[ $module->name() ] = $module->send_full_sync_actions( $config[ $module->name() ], $progress[ $module->name() ], $send_until );
- if ( ! $progress[ $module->name() ]['finished'] ) {
- $this->update_status( array( 'progress' => $progress ) );
-
- return;
- }
- }
-
- $this->send_full_sync_end();
- $this->update_status( array( 'progress' => $progress ) );
- }
-
- /**
- * Get Modules that are configured to Full Sync and haven't finished sending
- *
- * @return array
- */
- public function get_remaining_modules_to_send() {
- $status = $this->get_status();
-
- return array_filter(
- Modules::get_modules(),
- /**
- * Select configured and not finished modules.
- *
- * @return bool
- * @var $module Module
- */
- function ( $module ) use ( $status ) {
- // Skip module if not configured for this sync or module is done.
- if ( ! isset( $status['config'][ $module->name() ] ) ) {
- return false;
- }
- if ( ! $status['config'][ $module->name() ] ) {
- return false;
- }
- if ( isset( $status['progress'][ $module->name() ]['finished'] ) ) {
- if ( true === $status['progress'][ $module->name() ]['finished'] ) {
- return false;
- }
- }
-
- return true;
- }
- );
- }
-
- /**
- * Send 'jetpack_full_sync_end' and update 'finished' status.
- *
- * @access public
- */
- public function send_full_sync_end() {
- $range = $this->get_content_range();
-
- /**
- * Fires when a full sync ends. This action is serialized
- * and sent to the server.
- *
- * @param string $checksum Deprecated since 7.3.0 - @see https://github.com/Automattic/jetpack/pull/11945/
- * @param array $range Range of the sync items, containing min and max IDs for some item types.
- *
- * @since 4.2.0
- * @since 7.3.0 Added $range arg.
- */
- do_action( 'jetpack_full_sync_end', '', $range );
- $this->send_action( 'jetpack_full_sync_end', array( '', $range ) );
-
- // Setting autoload to true means that it's faster to check whether we should continue enqueuing.
- $this->update_status( array( 'finished' => time() ) );
- }
-
- /**
- * Empty Function as we don't close buffers on Immediate Full Sync.
- *
- * @param Array $actions an array of actions, ignored for queueless sync.
- */
- public function update_sent_progress_action( $actions ) {
- return;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-full-sync.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-full-sync.php
deleted file mode 100644
index 325b35f4..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-full-sync.php
+++ /dev/null
@@ -1,673 +0,0 @@
-<?php
-/**
- * Full sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Listener;
-use Automattic\Jetpack\Sync\Lock;
-use Automattic\Jetpack\Sync\Modules;
-use Automattic\Jetpack\Sync\Queue;
-use Automattic\Jetpack\Sync\Settings;
-
-/**
- * This class does a full resync of the database by
- * enqueuing an outbound action for every single object
- * that we care about.
- *
- * This class, and its related class Jetpack_Sync_Module, contain a few non-obvious optimisations that should be explained:
- * - we fire an action called jetpack_full_sync_start so that WPCOM can erase the contents of the cached database
- * - for each object type, we page through the object IDs and enqueue them by firing some monitored actions
- * - we load the full objects for those IDs in chunks of Jetpack_Sync_Module::ARRAY_CHUNK_SIZE (to reduce the number of MySQL calls)
- * - we fire a trigger for the entire array which the Automattic\Jetpack\Sync\Listener then serializes and queues.
- */
-class Full_Sync extends Module {
- /**
- * Prefix of the full sync status option name.
- *
- * @var string
- */
- const STATUS_OPTION_PREFIX = 'jetpack_sync_full_';
-
-
- /**
- * Enqueue Lock name.
- *
- * @var string
- */
- const ENQUEUE_LOCK_NAME = 'full_sync_enqueue';
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'full-sync';
- }
-
- /**
- * Initialize action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- // Synthetic actions for full sync.
- add_action( 'jetpack_full_sync_start', $callable, 10, 3 );
- add_action( 'jetpack_full_sync_end', $callable, 10, 2 );
- add_action( 'jetpack_full_sync_cancelled', $callable );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- // This is triggered after actions have been processed on the server.
- add_action( 'jetpack_sync_processed_actions', array( $this, 'update_sent_progress_action' ) );
- }
-
- /**
- * Start a full sync.
- *
- * @access public
- *
- * @param array $module_configs Full sync configuration for all sync modules.
- * @return bool Always returns true at success.
- */
- public function start( $module_configs = null ) {
- $was_already_running = $this->is_started() && ! $this->is_finished();
-
- // Remove all evidence of previous full sync items and status.
- $this->reset_data();
-
- if ( $was_already_running ) {
- /**
- * Fires when a full sync is cancelled.
- *
- * @since 4.2.0
- */
- do_action( 'jetpack_full_sync_cancelled' );
- }
-
- $this->update_status_option( 'started', time() );
- $this->update_status_option( 'params', $module_configs );
-
- $enqueue_status = array();
- $full_sync_config = array();
- $include_empty = false;
- $empty = array();
-
- // Default value is full sync.
- if ( ! is_array( $module_configs ) ) {
- $module_configs = array();
- $include_empty = true;
- foreach ( Modules::get_modules() as $module ) {
- $module_configs[ $module->name() ] = true;
- }
- }
-
- // Set default configuration, calculate totals, and save configuration if totals > 0.
- foreach ( Modules::get_modules() as $module ) {
- $module_name = $module->name();
- $module_config = isset( $module_configs[ $module_name ] ) ? $module_configs[ $module_name ] : false;
-
- if ( ! $module_config ) {
- continue;
- }
-
- if ( 'users' === $module_name && 'initial' === $module_config ) {
- $module_config = $module->get_initial_sync_user_config();
- }
-
- $enqueue_status[ $module_name ] = false;
-
- $total_items = $module->estimate_full_sync_actions( $module_config );
-
- // If there's information to process, configure this module.
- if ( ! is_null( $total_items ) && $total_items > 0 ) {
- $full_sync_config[ $module_name ] = $module_config;
- $enqueue_status[ $module_name ] = array(
- $total_items, // Total.
- 0, // Queued.
- false, // Current state.
- );
- } elseif ( $include_empty && 0 === $total_items ) {
- $empty[ $module_name ] = true;
- }
- }
-
- $this->set_config( $full_sync_config );
- $this->set_enqueue_status( $enqueue_status );
-
- $range = $this->get_content_range( $full_sync_config );
- /**
- * Fires when a full sync begins. This action is serialized
- * and sent to the server so that it knows a full sync is coming.
- *
- * @since 4.2.0
- * @since 7.3.0 Added $range arg.
- * @since 7.4.0 Added $empty arg.
- *
- * @param array $full_sync_config Sync configuration for all sync modules.
- * @param array $range Range of the sync items, containing min and max IDs for some item types.
- * @param array $empty The modules with no items to sync during a full sync.
- */
- do_action( 'jetpack_full_sync_start', $full_sync_config, $range, $empty );
-
- $this->continue_enqueuing( $full_sync_config );
-
- return true;
- }
-
- /**
- * Enqueue the next items to sync.
- *
- * @access public
- *
- * @param array $configs Full sync configuration for all sync modules.
- */
- public function continue_enqueuing( $configs = null ) {
- if ( ! $this->is_started() || ! ( new Lock() )->attempt( self::ENQUEUE_LOCK_NAME ) || $this->get_status_option( 'queue_finished' ) ) {
- return;
- }
-
- $this->enqueue( $configs );
-
- ( new Lock() )->remove( self::ENQUEUE_LOCK_NAME );
- }
-
- /**
- * Get Modules that are configured to Full Sync and haven't finished enqueuing
- *
- * @param array $configs Full sync configuration for all sync modules.
- *
- * @return array
- */
- public function get_remaining_modules_to_enqueue( $configs ) {
- $enqueue_status = $this->get_enqueue_status();
- return array_filter(
- Modules::get_modules(),
- /**
- * Select configured and not finished modules.
- *
- * @var $module Module
- * @return bool
- */
- function ( $module ) use ( $configs, $enqueue_status ) {
- // Skip module if not configured for this sync or module is done.
- if ( ! isset( $configs[ $module->name() ] ) ) {
- return false;
- }
- if ( ! $configs[ $module->name() ] ) {
- return false;
- }
- if ( isset( $enqueue_status[ $module->name() ][2] ) ) {
- if ( true === $enqueue_status[ $module->name() ][2] ) {
- return false;
- }
- }
-
- return true;
- }
- );
- }
-
- /**
- * Enqueue the next items to sync.
- *
- * @access public
- *
- * @param array $configs Full sync configuration for all sync modules.
- */
- public function enqueue( $configs = null ) {
- if ( ! $configs ) {
- $configs = $this->get_config();
- }
-
- $enqueue_status = $this->get_enqueue_status();
- $full_sync_queue = new Queue( 'full_sync' );
- $available_queue_slots = Settings::get_setting( 'max_queue_size_full_sync' ) - $full_sync_queue->size();
-
- if ( $available_queue_slots <= 0 ) {
- return;
- }
-
- $remaining_items_to_enqueue = min( Settings::get_setting( 'max_enqueue_full_sync' ), $available_queue_slots );
-
- /**
- * If a module exits early (e.g. because it ran out of full sync queue slots, or we ran out of request time)
- * then it should exit early
- */
- foreach ( $this->get_remaining_modules_to_enqueue( $configs ) as $module ) {
- list( $items_enqueued, $next_enqueue_state ) = $module->enqueue_full_sync_actions( $configs[ $module->name() ], $remaining_items_to_enqueue, $enqueue_status[ $module->name() ][2] );
-
- $enqueue_status[ $module->name() ][2] = $next_enqueue_state;
-
- // If items were processed, subtract them from the limit.
- if ( ! is_null( $items_enqueued ) && $items_enqueued > 0 ) {
- $enqueue_status[ $module->name() ][1] += $items_enqueued;
- $remaining_items_to_enqueue -= $items_enqueued;
- }
-
- if ( 0 >= $remaining_items_to_enqueue || true !== $next_enqueue_state ) {
- $this->set_enqueue_status( $enqueue_status );
- return;
- }
- }
-
- $this->queue_full_sync_end( $configs );
- $this->set_enqueue_status( $enqueue_status );
- }
-
- /**
- * Enqueue 'jetpack_full_sync_end' and update 'queue_finished' status.
- *
- * @access public
- *
- * @param array $configs Full sync configuration for all sync modules.
- */
- public function queue_full_sync_end( $configs ) {
- $range = $this->get_content_range( $configs );
-
- /**
- * Fires when a full sync ends. This action is serialized
- * and sent to the server.
- *
- * @since 4.2.0
- * @since 7.3.0 Added $range arg.
- *
- * @param string $checksum Deprecated since 7.3.0 - @see https://github.com/Automattic/jetpack/pull/11945/
- * @param array $range Range of the sync items, containing min and max IDs for some item types.
- */
- do_action( 'jetpack_full_sync_end', '', $range );
-
- // Setting autoload to true means that it's faster to check whether we should continue enqueuing.
- $this->update_status_option( 'queue_finished', time(), true );
- }
-
- /**
- * Get the range (min ID, max ID and total items) of items to sync.
- *
- * @access public
- *
- * @param string $type Type of sync item to get the range for.
- * @return array Array of min ID, max ID and total items in the range.
- */
- public function get_range( $type ) {
- global $wpdb;
- if ( ! in_array( $type, array( 'comments', 'posts' ), true ) ) {
- return array();
- }
-
- switch ( $type ) {
- case 'posts':
- $table = $wpdb->posts;
- $id = 'ID';
- $where_sql = Settings::get_blacklisted_post_types_sql();
-
- break;
- case 'comments':
- $table = $wpdb->comments;
- $id = 'comment_ID';
- $where_sql = Settings::get_comments_filter_sql();
- break;
- }
-
- // TODO: Call $wpdb->prepare on the following query.
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- $results = $wpdb->get_results( "SELECT MAX({$id}) as max, MIN({$id}) as min, COUNT({$id}) as count FROM {$table} WHERE {$where_sql}" );
- if ( isset( $results[0] ) ) {
- return $results[0];
- }
-
- return array();
- }
-
- /**
- * Get the range for content (posts and comments) to sync.
- *
- * @access private
- *
- * @param array $config Full sync configuration for this all sync modules.
- * @return array Array of range (min ID, max ID, total items) for all content types.
- */
- private function get_content_range( $config ) {
- $range = array();
- // Only when we are sending the whole range do we want to send also the range.
- if ( true === isset( $config['posts'] ) && $config['posts'] ) {
- $range['posts'] = $this->get_range( 'posts' );
- }
-
- if ( true === isset( $config['comments'] ) && $config['comments'] ) {
- $range['comments'] = $this->get_range( 'comments' );
- }
- return $range;
- }
-
- /**
- * Update the progress after sync modules actions have been processed on the server.
- *
- * @access public
- *
- * @param array $actions Actions that have been processed on the server.
- */
- public function update_sent_progress_action( $actions ) {
- // Quick way to map to first items with an array of arrays.
- $actions_with_counts = array_count_values( array_filter( array_map( array( $this, 'get_action_name' ), $actions ) ) );
-
- // Total item counts for each action.
- $actions_with_total_counts = $this->get_actions_totals( $actions );
-
- if ( ! $this->is_started() || $this->is_finished() ) {
- return;
- }
-
- if ( isset( $actions_with_counts['jetpack_full_sync_start'] ) ) {
- $this->update_status_option( 'send_started', time() );
- }
-
- foreach ( Modules::get_modules() as $module ) {
- $module_actions = $module->get_full_sync_actions();
- $status_option_name = "{$module->name()}_sent";
- $total_option_name = "{$status_option_name}_total";
- $items_sent = $this->get_status_option( $status_option_name, 0 );
- $items_sent_total = $this->get_status_option( $total_option_name, 0 );
-
- foreach ( $module_actions as $module_action ) {
- if ( isset( $actions_with_counts[ $module_action ] ) ) {
- $items_sent += $actions_with_counts[ $module_action ];
- }
-
- if ( ! empty( $actions_with_total_counts[ $module_action ] ) ) {
- $items_sent_total += $actions_with_total_counts[ $module_action ];
- }
- }
-
- if ( $items_sent > 0 ) {
- $this->update_status_option( $status_option_name, $items_sent );
- }
-
- if ( 0 !== $items_sent_total ) {
- $this->update_status_option( $total_option_name, $items_sent_total );
- }
- }
-
- if ( isset( $actions_with_counts['jetpack_full_sync_end'] ) ) {
- $this->update_status_option( 'finished', time() );
- }
- }
-
- /**
- * Get the name of the action for an item in the sync queue.
- *
- * @access public
- *
- * @param array $queue_item Item of the sync queue.
- * @return string|boolean Name of the action, false if queue item is invalid.
- */
- public function get_action_name( $queue_item ) {
- if ( is_array( $queue_item ) && isset( $queue_item[0] ) ) {
- return $queue_item[0];
- }
- return false;
- }
-
- /**
- * Retrieve the total number of items we're syncing in a particular queue item (action).
- * `$queue_item[1]` is expected to contain chunks of items, and `$queue_item[1][0]`
- * represents the first (and only) chunk of items to sync in that action.
- *
- * @access public
- *
- * @param array $queue_item Item of the sync queue that corresponds to a particular action.
- * @return int Total number of items in the action.
- */
- public function get_action_totals( $queue_item ) {
- if ( is_array( $queue_item ) && isset( $queue_item[1][0] ) ) {
- if ( is_array( $queue_item[1][0] ) ) {
- // Let's count the items we sync in this action.
- return count( $queue_item[1][0] );
- }
- // -1 indicates that this action syncs all items by design.
- return -1;
- }
- return 0;
- }
-
- /**
- * Retrieve the total number of items for a set of actions, grouped by action name.
- *
- * @access public
- *
- * @param array $actions An array of actions.
- * @return array An array, representing the total number of items, grouped per action.
- */
- public function get_actions_totals( $actions ) {
- $totals = array();
-
- foreach ( $actions as $action ) {
- $name = $this->get_action_name( $action );
- $action_totals = $this->get_action_totals( $action );
- if ( ! isset( $totals[ $name ] ) ) {
- $totals[ $name ] = 0;
- }
- $totals[ $name ] += $action_totals;
- }
-
- return $totals;
- }
-
- /**
- * Whether full sync has started.
- *
- * @access public
- *
- * @return boolean
- */
- public function is_started() {
- return ! ! $this->get_status_option( 'started' );
- }
-
- /**
- * Whether full sync has finished.
- *
- * @access public
- *
- * @return boolean
- */
- public function is_finished() {
- return ! ! $this->get_status_option( 'finished' );
- }
-
- /**
- * Retrieve the status of the current full sync.
- *
- * @access public
- *
- * @return array Full sync status.
- */
- public function get_status() {
- $status = array(
- 'started' => $this->get_status_option( 'started' ),
- 'queue_finished' => $this->get_status_option( 'queue_finished' ),
- 'send_started' => $this->get_status_option( 'send_started' ),
- 'finished' => $this->get_status_option( 'finished' ),
- 'sent' => array(),
- 'sent_total' => array(),
- 'queue' => array(),
- 'config' => $this->get_status_option( 'params' ),
- 'total' => array(),
- );
-
- $enqueue_status = $this->get_enqueue_status();
-
- foreach ( Modules::get_modules() as $module ) {
- $name = $module->name();
-
- if ( ! isset( $enqueue_status[ $name ] ) ) {
- continue;
- }
-
- list( $total, $queued ) = $enqueue_status[ $name ];
-
- if ( $total ) {
- $status['total'][ $name ] = $total;
- }
-
- if ( $queued ) {
- $status['queue'][ $name ] = $queued;
- }
-
- $sent = $this->get_status_option( "{$name}_sent" );
- if ( $sent ) {
- $status['sent'][ $name ] = $sent;
- }
-
- $sent_total = $this->get_status_option( "{$name}_sent_total" );
- if ( $sent_total ) {
- $status['sent_total'][ $name ] = $sent_total;
- }
- }
-
- return $status;
- }
-
- /**
- * Clear all the full sync status options.
- *
- * @access public
- */
- public function clear_status() {
- $prefix = self::STATUS_OPTION_PREFIX;
- \Jetpack_Options::delete_raw_option( "{$prefix}_started" );
- \Jetpack_Options::delete_raw_option( "{$prefix}_params" );
- \Jetpack_Options::delete_raw_option( "{$prefix}_queue_finished" );
- \Jetpack_Options::delete_raw_option( "{$prefix}_send_started" );
- \Jetpack_Options::delete_raw_option( "{$prefix}_finished" );
-
- $this->delete_enqueue_status();
-
- foreach ( Modules::get_modules() as $module ) {
- \Jetpack_Options::delete_raw_option( "{$prefix}_{$module->name()}_sent" );
- \Jetpack_Options::delete_raw_option( "{$prefix}_{$module->name()}_sent_total" );
- }
- }
-
- /**
- * Clear all the full sync data.
- *
- * @access public
- */
- public function reset_data() {
- $this->clear_status();
- $this->delete_config();
- ( new Lock() )->remove( self::ENQUEUE_LOCK_NAME );
-
- $listener = Listener::get_instance();
- $listener->get_full_sync_queue()->reset();
- }
-
- /**
- * Get the value of a full sync status option.
- *
- * @access private
- *
- * @param string $name Name of the option.
- * @param mixed $default Default value of the option.
- * @return mixed Option value.
- */
- private function get_status_option( $name, $default = null ) {
- $value = \Jetpack_Options::get_raw_option( self::STATUS_OPTION_PREFIX . "_$name", $default );
-
- return is_numeric( $value ) ? intval( $value ) : $value;
- }
-
- /**
- * Update the value of a full sync status option.
- *
- * @access private
- *
- * @param string $name Name of the option.
- * @param mixed $value Value of the option.
- * @param boolean $autoload Whether the option should be autoloaded at the beginning of the request.
- */
- private function update_status_option( $name, $value, $autoload = false ) {
- \Jetpack_Options::update_raw_option( self::STATUS_OPTION_PREFIX . "_$name", $value, $autoload );
- }
-
- /**
- * Set the full sync enqueue status.
- *
- * @access private
- *
- * @param array $new_status The new full sync enqueue status.
- */
- private function set_enqueue_status( $new_status ) {
- \Jetpack_Options::update_raw_option( 'jetpack_sync_full_enqueue_status', $new_status );
- }
-
- /**
- * Delete full sync enqueue status.
- *
- * @access private
- *
- * @return boolean Whether the status was deleted.
- */
- private function delete_enqueue_status() {
- return \Jetpack_Options::delete_raw_option( 'jetpack_sync_full_enqueue_status' );
- }
-
- /**
- * Retrieve the current full sync enqueue status.
- *
- * @access private
- *
- * @return array Full sync enqueue status.
- */
- public function get_enqueue_status() {
- return \Jetpack_Options::get_raw_option( 'jetpack_sync_full_enqueue_status' );
- }
-
- /**
- * Set the full sync enqueue configuration.
- *
- * @access private
- *
- * @param array $config The new full sync enqueue configuration.
- */
- private function set_config( $config ) {
- \Jetpack_Options::update_raw_option( 'jetpack_sync_full_config', $config );
- }
-
- /**
- * Delete full sync configuration.
- *
- * @access private
- *
- * @return boolean Whether the configuration was deleted.
- */
- private function delete_config() {
- return \Jetpack_Options::delete_raw_option( 'jetpack_sync_full_config' );
- }
-
- /**
- * Retrieve the current full sync enqueue config.
- *
- * @access private
- *
- * @return array Full sync enqueue config.
- */
- private function get_config() {
- return \Jetpack_Options::get_raw_option( 'jetpack_sync_full_config' );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-import.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-import.php
deleted file mode 100644
index 99afd74b..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-import.php
+++ /dev/null
@@ -1,218 +0,0 @@
-<?php
-/**
- * Import sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Settings;
-
-/**
- * Class to handle sync for imports.
- */
-class Import extends Module {
-
- /**
- * Tracks which actions have already been synced for the import
- * to prevent the same event from being triggered a second time.
- *
- * @var array
- */
- private $synced_actions = array();
-
- /**
- * A mapping of action types to sync action name.
- * Keys are the name of the import action.
- * Values are the resulting sync action.
- *
- * Note: import_done and import_end both intentionally map to
- * jetpack_sync_import_end, as they both track the same type of action,
- * the successful completion of an import. Different import plugins use
- * differently named actions, and this is an attempt to consolidate.
- *
- * @var array
- */
- private static $import_sync_action_map = array(
- 'import_start' => 'jetpack_sync_import_start',
- 'import_done' => 'jetpack_sync_import_end',
- 'import_end' => 'jetpack_sync_import_end',
- );
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'import';
- }
-
- /**
- * Initialize imports action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- add_action( 'export_wp', $callable );
- add_action( 'jetpack_sync_import_start', $callable, 10, 2 );
- add_action( 'jetpack_sync_import_end', $callable, 10, 2 );
-
- // WordPress.
- add_action( 'import_start', array( $this, 'sync_import_action' ) );
-
- // Movable type, RSS, Livejournal.
- add_action( 'import_done', array( $this, 'sync_import_action' ) );
-
- // WordPress, Blogger, Livejournal, woo tax rate.
- add_action( 'import_end', array( $this, 'sync_import_action' ) );
- }
-
- /**
- * Set module defaults.
- * Define an empty list of synced actions for us to fill later.
- *
- * @access public
- */
- public function set_defaults() {
- $this->synced_actions = array();
- }
-
- /**
- * Generic handler for import actions.
- *
- * @access public
- *
- * @param string $importer Either a string reported by the importer, the class name of the importer, or 'unknown'.
- */
- public function sync_import_action( $importer ) {
- $import_action = current_filter();
- // Map action to event name.
- $sync_action = self::$import_sync_action_map[ $import_action ];
-
- // Only sync each action once per import.
- if ( array_key_exists( $sync_action, $this->synced_actions ) && $this->synced_actions[ $sync_action ] ) {
- return;
- }
-
- // Mark this action as synced.
- $this->synced_actions[ $sync_action ] = true;
-
- // Prefer self-reported $importer value.
- if ( ! $importer ) {
- // Fall back to inferring by calling class name.
- $importer = self::get_calling_importer_class();
- }
-
- // Get $importer from known_importers.
- $known_importers = Settings::get_setting( 'known_importers' );
- if ( isset( $known_importers[ $importer ] ) ) {
- $importer = $known_importers[ $importer ];
- }
-
- $importer_name = $this->get_importer_name( $importer );
-
- switch ( $sync_action ) {
- case 'jetpack_sync_import_start':
- /**
- * Used for syncing the start of an import
- *
- * @since 7.3.0
- *
- * @module sync
- *
- * @param string $importer Either a string reported by the importer, the class name of the importer, or 'unknown'.
- * @param string $importer_name The name reported by the importer, or 'Unknown Importer'.
- */
- do_action( 'jetpack_sync_import_start', $importer, $importer_name );
- break;
-
- case 'jetpack_sync_import_end':
- /**
- * Used for syncing the end of an import
- *
- * @since 7.3.0
- *
- * @module sync
- *
- * @param string $importer Either a string reported by the importer, the class name of the importer, or 'unknown'.
- * @param string $importer_name The name reported by the importer, or 'Unknown Importer'.
- */
- do_action( 'jetpack_sync_import_end', $importer, $importer_name );
- break;
- }
- }
-
- /**
- * Retrieve the name of the importer.
- *
- * @access private
- *
- * @param string $importer Either a string reported by the importer, the class name of the importer, or 'unknown'.
- * @return string Name of the importer, or "Unknown Importer" if importer is unknown.
- */
- private function get_importer_name( $importer ) {
- $importers = get_importers();
- return isset( $importers[ $importer ] ) ? $importers[ $importer ][0] : 'Unknown Importer';
- }
-
- /**
- * Determine the class that extends `WP_Importer` which is responsible for
- * the current action. Designed to be used within an action handler.
- *
- * @access private
- * @static
- *
- * @return string The name of the calling class, or 'unknown'.
- */
- private static function get_calling_importer_class() {
- // If WP_Importer doesn't exist, neither will any importer that extends it.
- if ( ! class_exists( 'WP_Importer', false ) ) {
- return 'unknown';
- }
-
- $action = current_filter();
- $backtrace = debug_backtrace( false ); //phpcs:ignore PHPCompatibility.FunctionUse.NewFunctionParameters.debug_backtrace_optionsFound,WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace
-
- $do_action_pos = -1;
- $backtrace_len = count( $backtrace );
- for ( $i = 0; $i < $backtrace_len; $i++ ) {
- // Find the location in the stack of the calling action.
- if ( 'do_action' === $backtrace[ $i ]['function'] && $action === $backtrace[ $i ]['args'][0] ) {
- $do_action_pos = $i;
- break;
- }
- }
-
- // If the action wasn't called, the calling class is unknown.
- if ( -1 === $do_action_pos ) {
- return 'unknown';
- }
-
- // Continue iterating the stack looking for a caller that extends WP_Importer.
- for ( $i = $do_action_pos + 1; $i < $backtrace_len; $i++ ) {
- // If there is no class on the trace, continue.
- if ( ! isset( $backtrace[ $i ]['class'] ) ) {
- continue;
- }
-
- $class_name = $backtrace[ $i ]['class'];
-
- // Check if the class extends WP_Importer.
- if ( class_exists( $class_name, false ) ) {
- $parents = class_parents( $class_name, false );
- if ( $parents && in_array( 'WP_Importer', $parents, true ) ) {
- return $class_name;
- }
- }
- }
-
- // If we've exhausted the stack without a match, the calling class is unknown.
- return 'unknown';
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-menus.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-menus.php
deleted file mode 100644
index 69faa9b5..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-menus.php
+++ /dev/null
@@ -1,143 +0,0 @@
-<?php
-/**
- * Menus sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-/**
- * Class to handle sync for menus.
- */
-class Menus extends Module {
- /**
- * Navigation menu items that were added but not synced yet.
- *
- * @access private
- *
- * @var array
- */
- private $nav_items_just_added = array();
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'menus';
- }
-
- /**
- * Initialize menus action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- add_action( 'wp_create_nav_menu', $callable, 10, 2 );
- add_action( 'wp_update_nav_menu', array( $this, 'update_nav_menu' ), 10, 2 );
- add_action( 'wp_add_nav_menu_item', array( $this, 'update_nav_menu_add_item' ), 10, 3 );
- add_action( 'wp_update_nav_menu_item', array( $this, 'update_nav_menu_update_item' ), 10, 3 );
- add_action( 'post_updated', array( $this, 'remove_just_added_menu_item' ), 10, 2 );
-
- add_action( 'jetpack_sync_updated_nav_menu', $callable, 10, 2 );
- add_action( 'jetpack_sync_updated_nav_menu_add_item', $callable, 10, 4 );
- add_action( 'jetpack_sync_updated_nav_menu_update_item', $callable, 10, 4 );
- add_action( 'delete_nav_menu', $callable, 10, 3 );
- }
-
- /**
- * Nav menu update handler.
- *
- * @access public
- *
- * @param int $menu_id ID of the menu.
- * @param array $menu_data An array of menu data.
- */
- public function update_nav_menu( $menu_id, $menu_data = array() ) {
- if ( empty( $menu_data ) ) {
- return;
- }
- /**
- * Helps sync log that a nav menu was updated.
- *
- * @since 5.0.0
- *
- * @param int $menu_id ID of the menu.
- * @param array $menu_data An array of menu data.
- */
- do_action( 'jetpack_sync_updated_nav_menu', $menu_id, $menu_data );
- }
-
- /**
- * Nav menu item addition handler.
- *
- * @access public
- *
- * @param int $menu_id ID of the menu.
- * @param int $nav_item_id ID of the new menu item.
- * @param array $nav_item_args Arguments used to add the menu item.
- */
- public function update_nav_menu_add_item( $menu_id, $nav_item_id, $nav_item_args ) {
- $menu_data = wp_get_nav_menu_object( $menu_id );
- $this->nav_items_just_added[] = $nav_item_id;
- /**
- * Helps sync log that a new menu item was added.
- *
- * @since 5.0.0
- *
- * @param int $menu_id ID of the menu.
- * @param array $menu_data An array of menu data.
- * @param int $nav_item_id ID of the new menu item.
- * @param array $nav_item_args Arguments used to add the menu item.
- */
- do_action( 'jetpack_sync_updated_nav_menu_add_item', $menu_id, $menu_data, $nav_item_id, $nav_item_args );
- }
-
- /**
- * Nav menu item update handler.
- *
- * @access public
- *
- * @param int $menu_id ID of the menu.
- * @param int $nav_item_id ID of the new menu item.
- * @param array $nav_item_args Arguments used to update the menu item.
- */
- public function update_nav_menu_update_item( $menu_id, $nav_item_id, $nav_item_args ) {
- if ( in_array( $nav_item_id, $this->nav_items_just_added, true ) ) {
- return;
- }
- $menu_data = wp_get_nav_menu_object( $menu_id );
- /**
- * Helps sync log that an update to the menu item happened.
- *
- * @since 5.0.0
- *
- * @param int $menu_id ID of the menu.
- * @param array $menu_data An array of menu data.
- * @param int $nav_item_id ID of the new menu item.
- * @param array $nav_item_args Arguments used to update the menu item.
- */
- do_action( 'jetpack_sync_updated_nav_menu_update_item', $menu_id, $menu_data, $nav_item_id, $nav_item_args );
- }
-
- /**
- * Remove menu items that have already been saved from the "just added" list.
- *
- * @access public
- *
- * @param int $nav_item_id ID of the new menu item.
- * @param \WP_Post $post_after Nav menu item post object after the update.
- */
- public function remove_just_added_menu_item( $nav_item_id, $post_after ) {
- if ( 'nav_menu_item' !== $post_after->post_type ) {
- return;
- }
- $this->nav_items_just_added = array_diff( $this->nav_items_just_added, array( $nav_item_id ) );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-meta.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-meta.php
deleted file mode 100644
index 1d30c72e..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-meta.php
+++ /dev/null
@@ -1,81 +0,0 @@
-<?php
-/**
- * Meta sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-/**
- * Class to handle sync for meta.
- */
-class Meta extends Module {
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'meta';
- }
-
- /**
- * This implementation of get_objects_by_id() is a bit hacky since we're not passing in an array of meta IDs,
- * but instead an array of post or comment IDs for which to retrieve meta for. On top of that,
- * we also pass in an associative array where we expect there to be 'meta_key' and 'ids' keys present.
- *
- * This seemed to be required since if we have missing meta on WP.com and need to fetch it, we don't know what
- * the meta key is, but we do know that we have missing meta for a given post or comment.
- *
- * @todo Refactor the $wpdb->prepare call to use placeholders.
- *
- * @param string $object_type The type of object for which we retrieve meta. Either 'post' or 'comment'.
- * @param array $config Must include 'meta_key' and 'ids' keys.
- *
- * @return array
- */
- public function get_objects_by_id( $object_type, $config ) {
- global $wpdb;
-
- $table = _get_meta_table( $object_type );
-
- if ( ! $table ) {
- return array();
- }
-
- if ( ! isset( $config['meta_key'] ) || ! isset( $config['ids'] ) || ! is_array( $config['ids'] ) ) {
- return array();
- }
-
- $meta_key = $config['meta_key'];
- $ids = $config['ids'];
- $object_id_column = $object_type . '_id';
-
- // Sanitize so that the array only has integer values.
- $ids_string = implode( ', ', array_map( 'intval', $ids ) );
- $metas = $wpdb->get_results(
- $wpdb->prepare(
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- "SELECT * FROM {$table} WHERE {$object_id_column} IN ( {$ids_string} ) AND meta_key = %s",
- $meta_key
- )
- );
-
- $meta_objects = array();
- foreach ( (array) $metas as $meta_object ) {
- $meta_object = (array) $meta_object;
- $meta_objects[ $meta_object[ $object_id_column ] ] = array(
- 'meta_type' => $object_type,
- 'meta_id' => $meta_object['meta_id'],
- 'meta_key' => $meta_key,
- 'meta_value' => $meta_object['meta_value'],
- 'object_id' => $meta_object[ $object_id_column ],
- );
- }
-
- return $meta_objects;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-module.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-module.php
deleted file mode 100644
index 554bc0e1..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-module.php
+++ /dev/null
@@ -1,582 +0,0 @@
-<?php
-/**
- * A base abstraction of a sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Listener;
-use Automattic\Jetpack\Sync\Replicastore;
-use Automattic\Jetpack\Sync\Sender;
-use Automattic\Jetpack\Sync\Settings;
-
-/**
- * Basic methods implemented by Jetpack Sync extensions.
- *
- * @abstract
- */
-abstract class Module {
- /**
- * Number of items per chunk when grouping objects for performance reasons.
- *
- * @access public
- *
- * @var int
- */
- const ARRAY_CHUNK_SIZE = 10;
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- abstract public function name();
-
- /**
- * The id field in the database.
- *
- * @access public
- *
- * @return string
- */
- public function id_field() {
- return 'ID';
- }
-
- /**
- * The table in the database.
- *
- * @access public
- *
- * @return string|bool
- */
- public function table_name() {
- return false;
- }
-
- // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
-
- /**
- * Retrieve a sync object by its ID.
- *
- * @access public
- *
- * @param string $object_type Type of the sync object.
- * @param int $id ID of the sync object.
- * @return mixed Object, or false if the object is invalid.
- */
- public function get_object_by_id( $object_type, $id ) {
- return false;
- }
-
- /**
- * Initialize callables action listeners.
- * Override these to set up listeners and set/reset data/defaults.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- }
-
- /**
- * Initialize module action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- }
-
- /**
- * Set module defaults.
- *
- * @access public
- */
- public function set_defaults() {
- }
-
- /**
- * Perform module cleanup.
- * Usually triggered when uninstalling the plugin.
- *
- * @access public
- */
- public function reset_data() {
- }
-
- /**
- * Enqueue the module actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) {
- // In subclasses, return the number of actions enqueued, and next module state (true == done).
- return array( null, true );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return array Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) {
- // In subclasses, return the number of items yet to be enqueued.
- return null;
- }
-
- // phpcs:enable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array();
- }
-
- /**
- * Get the number of actions that we care about.
- *
- * @access protected
- *
- * @param array $action_names Action names we're interested in.
- * @param array $actions_to_count Unfiltered list of actions we want to count.
- * @return array Number of actions that we're interested in.
- */
- protected function count_actions( $action_names, $actions_to_count ) {
- return count( array_intersect( $action_names, $actions_to_count ) );
- }
-
- /**
- * Calculate the checksum of one or more values.
- *
- * @access protected
- *
- * @param mixed $values Values to calculate checksum for.
- * @return int The checksum.
- */
- protected function get_check_sum( $values ) {
- return crc32( wp_json_encode( jetpack_json_wrap( $values ) ) );
- }
-
- /**
- * Whether a particular checksum in a set of checksums is valid.
- *
- * @access protected
- *
- * @param array $sums_to_check Array of checksums.
- * @param string $name Name of the checksum.
- * @param int $new_sum Checksum to compare against.
- * @return boolean Whether the checksum is valid.
- */
- protected function still_valid_checksum( $sums_to_check, $name, $new_sum ) {
- if ( isset( $sums_to_check[ $name ] ) && $sums_to_check[ $name ] === $new_sum ) {
- return true;
- }
-
- return false;
- }
-
- /**
- * Enqueue all items of a sync type as an action.
- *
- * @access protected
- *
- * @param string $action_name Name of the action.
- * @param string $table_name Name of the database table.
- * @param string $id_field Name of the ID field in the database.
- * @param string $where_sql The SQL WHERE clause to filter to the desired items.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue in the same time.
- * @param boolean $state Whether enqueueing has finished.
- * @return array Array, containing the number of chunks and TRUE, indicating enqueueing has finished.
- */
- protected function enqueue_all_ids_as_action( $action_name, $table_name, $id_field, $where_sql, $max_items_to_enqueue, $state ) {
- global $wpdb;
-
- if ( ! $where_sql ) {
- $where_sql = '1 = 1';
- }
-
- $items_per_page = 1000;
- $page = 1;
- $chunk_count = 0;
- $previous_interval_end = $state ? $state : '~0';
- $listener = Listener::get_instance();
-
- // Count down from max_id to min_id so we get newest posts/comments/etc first.
- // phpcs:ignore WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- while ( $ids = $wpdb->get_col( "SELECT {$id_field} FROM {$table_name} WHERE {$where_sql} AND {$id_field} < {$previous_interval_end} ORDER BY {$id_field} DESC LIMIT {$items_per_page}" ) ) {
- // Request posts in groups of N for efficiency.
- $chunked_ids = array_chunk( $ids, self::ARRAY_CHUNK_SIZE );
-
- // If we hit our row limit, process and return.
- if ( $chunk_count + count( $chunked_ids ) >= $max_items_to_enqueue ) {
- $remaining_items_count = $max_items_to_enqueue - $chunk_count;
- $remaining_items = array_slice( $chunked_ids, 0, $remaining_items_count );
- $remaining_items_with_previous_interval_end = $this->get_chunks_with_preceding_end( $remaining_items, $previous_interval_end );
- $listener->bulk_enqueue_full_sync_actions( $action_name, $remaining_items_with_previous_interval_end );
-
- $last_chunk = end( $remaining_items );
- return array( $remaining_items_count + $chunk_count, end( $last_chunk ) );
- }
- $chunked_ids_with_previous_end = $this->get_chunks_with_preceding_end( $chunked_ids, $previous_interval_end );
-
- $listener->bulk_enqueue_full_sync_actions( $action_name, $chunked_ids_with_previous_end );
-
- $chunk_count += count( $chunked_ids );
- $page++;
- // The $ids are ordered in descending order.
- $previous_interval_end = end( $ids );
- }
-
- if ( $wpdb->last_error ) {
- // return the values that were passed in so all these chunks get retried.
- return array( $max_items_to_enqueue, $state );
- }
-
- return array( $chunk_count, true );
- }
-
- /**
- * Given the Module Full Sync Configuration and Status return the next chunk of items to send.
- *
- * @param array $config This module Full Sync configuration.
- * @param array $status This module Full Sync status.
- * @param int $chunk_size Chunk size.
- *
- * @return array|object|null
- */
- public function get_next_chunk( $config, $status, $chunk_size ) {
- global $wpdb;
- return $wpdb->get_col(
- <<<SQL
-SELECT {$this->id_field()}
-FROM {$wpdb->{$this->table_name()}}
-WHERE {$this->get_where_sql( $config )}
-AND {$this->id_field()} < {$status['last_sent']}
-ORDER BY {$this->id_field()}
-DESC LIMIT {$chunk_size}
-SQL
- );
- }
-
- /**
- * Return the initial last sent object.
- *
- * @return string|array initial status.
- */
- public function get_initial_last_sent() {
- return '~0';
- }
-
- /**
- * Immediately send all items of a sync type as an action.
- *
- * @access protected
- *
- * @param string $config Full sync configuration for this module.
- * @param array $status the current module full sync status.
- * @param float $send_until timestamp until we want this request to send full sync events.
- *
- * @return array Status, the module full sync status updated.
- */
- public function send_full_sync_actions( $config, $status, $send_until ) {
- global $wpdb;
-
- if ( empty( $status['last_sent'] ) ) {
- $status['last_sent'] = $this->get_initial_last_sent();
- }
-
- $limits = Settings::get_setting( 'full_sync_limits' )[ $this->name() ];
-
- $chunks_sent = 0;
- // phpcs:ignore WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition
- while ( $objects = $this->get_next_chunk( $config, $status, $limits['chunk_size'] ) ) {
- if ( $chunks_sent++ === $limits['max_chunks'] || microtime( true ) >= $send_until ) {
- return $status;
- }
-
- $result = $this->send_action( 'jetpack_full_sync_' . $this->name(), array( $objects, $status['last_sent'] ) );
-
- if ( is_wp_error( $result ) || $wpdb->last_error ) {
- return $status;
- }
- // The $ids are ordered in descending order.
- $status['last_sent'] = end( $objects );
- $status['sent'] += count( $objects );
- }
-
- if ( ! $wpdb->last_error ) {
- $status['finished'] = true;
- }
-
- return $status;
- }
-
-
- /**
- * Immediately sends a single item without firing or enqueuing it
- *
- * @param string $action_name The action.
- * @param array $data The data associated with the action.
- */
- public function send_action( $action_name, $data = null ) {
- $sender = Sender::get_instance();
- return $sender->send_action( $action_name, $data );
- }
-
- /**
- * Retrieve chunk IDs with previous interval end.
- *
- * @access protected
- *
- * @param array $chunks All remaining items.
- * @param int $previous_interval_end The last item from the previous interval.
- * @return array Chunk IDs with the previous interval end.
- */
- protected function get_chunks_with_preceding_end( $chunks, $previous_interval_end ) {
- $chunks_with_ends = array();
- foreach ( $chunks as $chunk ) {
- $chunks_with_ends[] = array(
- 'ids' => $chunk,
- 'previous_end' => $previous_interval_end,
- );
- // Chunks are ordered in descending order.
- $previous_interval_end = end( $chunk );
- }
- return $chunks_with_ends;
- }
-
- /**
- * Get metadata of a particular object type within the designated meta key whitelist.
- *
- * @access protected
- *
- * @todo Refactor to use $wpdb->prepare() on the SQL query.
- *
- * @param array $ids Object IDs.
- * @param string $meta_type Meta type.
- * @param array $meta_key_whitelist Meta key whitelist.
- * @return array Unserialized meta values.
- */
- protected function get_metadata( $ids, $meta_type, $meta_key_whitelist ) {
- global $wpdb;
- $table = _get_meta_table( $meta_type );
- $id = $meta_type . '_id';
- if ( ! $table ) {
- return array();
- }
-
- $private_meta_whitelist_sql = "'" . implode( "','", array_map( 'esc_sql', $meta_key_whitelist ) ) . "'";
-
- return array_map(
- array( $this, 'unserialize_meta' ),
- $wpdb->get_results(
- // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQL.NotPrepared
- "SELECT $id, meta_key, meta_value, meta_id FROM $table WHERE $id IN ( " . implode( ',', wp_parse_id_list( $ids ) ) . ' )' .
- " AND meta_key IN ( $private_meta_whitelist_sql ) ",
- // phpcs:enable WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQL.NotPrepared
- OBJECT
- )
- );
- }
-
- /**
- * Initialize listeners for the particular meta type.
- *
- * @access public
- *
- * @param string $meta_type Meta type.
- * @param callable $callable Action handler callable.
- */
- public function init_listeners_for_meta_type( $meta_type, $callable ) {
- add_action( "added_{$meta_type}_meta", $callable, 10, 4 );
- add_action( "updated_{$meta_type}_meta", $callable, 10, 4 );
- add_action( "deleted_{$meta_type}_meta", $callable, 10, 4 );
- }
-
- /**
- * Initialize meta whitelist handler for the particular meta type.
- *
- * @access public
- *
- * @param string $meta_type Meta type.
- * @param callable $whitelist_handler Action handler callable.
- */
- public function init_meta_whitelist_handler( $meta_type, $whitelist_handler ) {
- add_filter( "jetpack_sync_before_enqueue_added_{$meta_type}_meta", $whitelist_handler );
- add_filter( "jetpack_sync_before_enqueue_updated_{$meta_type}_meta", $whitelist_handler );
- add_filter( "jetpack_sync_before_enqueue_deleted_{$meta_type}_meta", $whitelist_handler );
- }
-
- /**
- * Retrieve the term relationships for the specified object IDs.
- *
- * @access protected
- *
- * @todo This feels too specific to be in the abstract sync Module class. Move it?
- *
- * @param array $ids Object IDs.
- * @return array Term relationships - object ID and term taxonomy ID pairs.
- */
- protected function get_term_relationships( $ids ) {
- global $wpdb;
-
- // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- return $wpdb->get_results( "SELECT object_id, term_taxonomy_id FROM $wpdb->term_relationships WHERE object_id IN ( " . implode( ',', wp_parse_id_list( $ids ) ) . ' )', OBJECT );
- }
-
- /**
- * Unserialize the value of a meta object, if necessary.
- *
- * @access public
- *
- * @param object $meta Meta object.
- * @return object Meta object with possibly unserialized value.
- */
- public function unserialize_meta( $meta ) {
- $meta->meta_value = maybe_unserialize( $meta->meta_value );
- return $meta;
- }
-
- /**
- * Retrieve a set of objects by their IDs.
- *
- * @access public
- *
- * @param string $object_type Object type.
- * @param array $ids Object IDs.
- * @return array Array of objects.
- */
- public function get_objects_by_id( $object_type, $ids ) {
- if ( empty( $ids ) || empty( $object_type ) ) {
- return array();
- }
-
- $objects = array();
- foreach ( (array) $ids as $id ) {
- $object = $this->get_object_by_id( $object_type, $id );
-
- // Only add object if we have the object.
- if ( $object ) {
- $objects[ $id ] = $object;
- }
- }
-
- return $objects;
- }
-
- /**
- * Gets a list of minimum and maximum object ids for each batch based on the given batch size.
- *
- * @access public
- *
- * @param int $batch_size The batch size for objects.
- * @param string|bool $where_sql The sql where clause minus 'WHERE', or false if no where clause is needed.
- *
- * @return array|bool An array of min and max ids for each batch. FALSE if no table can be found.
- */
- public function get_min_max_object_ids_for_batches( $batch_size, $where_sql = false ) {
- global $wpdb;
-
- if ( ! $this->table_name() ) {
- return false;
- }
-
- $results = array();
- $table = $wpdb->{$this->table_name()};
- $current_max = 0;
- $current_min = 1;
- $id_field = $this->id_field();
- $replicastore = new Replicastore();
-
- $total = $replicastore->get_min_max_object_id(
- $id_field,
- $table,
- $where_sql,
- false
- );
-
- while ( $total->max > $current_max ) {
- $where = $where_sql ?
- $where_sql . " AND $id_field > $current_max" :
- "$id_field > $current_max";
- $result = $replicastore->get_min_max_object_id(
- $id_field,
- $table,
- $where,
- $batch_size
- );
- if ( empty( $result->min ) && empty( $result->max ) ) {
- // Our query produced no min and max. We can assume the min from the previous query,
- // and the total max we found in the initial query.
- $current_max = (int) $total->max;
- $result = (object) array(
- 'min' => $current_min,
- 'max' => $current_max,
- );
- } else {
- $current_min = (int) $result->min;
- $current_max = (int) $result->max;
- }
- $results[] = $result;
- }
-
- return $results;
- }
-
- /**
- * Return Total number of objects.
- *
- * @param array $config Full Sync config.
- *
- * @return int total
- */
- public function total( $config ) {
- global $wpdb;
- $table = $wpdb->{$this->table_name()};
- $where = $this->get_where_sql( $config );
-
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- return $wpdb->get_var( "SELECT COUNT(*) FROM $table WHERE $where" );
- }
-
- /**
- * Retrieve the WHERE SQL clause based on the module config.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return string WHERE SQL clause, or `null` if no comments are specified in the module config.
- */
- public function get_where_sql( $config ) {
- return '1=1';
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-network-options.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-network-options.php
deleted file mode 100644
index 60c458c8..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-network-options.php
+++ /dev/null
@@ -1,271 +0,0 @@
-<?php
-/**
- * Network Options sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Defaults;
-
-/**
- * Class to handle sync for network options.
- */
-class Network_Options extends Module {
- /**
- * Whitelist for network options we want to sync.
- *
- * @access private
- *
- * @var array
- */
- private $network_options_whitelist;
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'network_options';
- }
-
- /**
- * Initialize network options action listeners when on multisite.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- if ( ! is_multisite() ) {
- return;
- }
-
- // Multi site network options.
- add_action( 'add_site_option', $callable, 10, 2 );
- add_action( 'update_site_option', $callable, 10, 3 );
- add_action( 'delete_site_option', $callable, 10, 1 );
-
- $whitelist_network_option_handler = array( $this, 'whitelist_network_options' );
- add_filter( 'jetpack_sync_before_enqueue_delete_site_option', $whitelist_network_option_handler );
- add_filter( 'jetpack_sync_before_enqueue_add_site_option', $whitelist_network_option_handler );
- add_filter( 'jetpack_sync_before_enqueue_update_site_option', $whitelist_network_option_handler );
- }
-
- /**
- * Initialize network options action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_network_options', $callable );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- if ( ! is_multisite() ) {
- return;
- }
-
- // Full sync.
- add_filter(
- 'jetpack_sync_before_send_jetpack_full_sync_network_options',
- array(
- $this,
- 'expand_network_options',
- )
- );
- }
-
- /**
- * Set module defaults.
- * Define the network options whitelist based on the default one.
- *
- * @access public
- */
- public function set_defaults() {
- $this->network_options_whitelist = Defaults::$default_network_options_whitelist;
- }
-
- /**
- * Enqueue the network options actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- if ( ! is_multisite() ) {
- return array( null, true );
- }
-
- /**
- * Tells the client to sync all options to the server
- *
- * @since 4.2.0
- *
- * @param boolean Whether to expand options (should always be true)
- */
- do_action( 'jetpack_full_sync_network_options', true );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 1, true );
- }
-
- /**
- * Send the network options actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $send_until The timestamp until the current request can send.
- * @param array $state This module Full Sync status.
- *
- * @return array This module Full Sync status.
- */
- public function send_full_sync_actions( $config, $send_until, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- if ( ! is_multisite() ) {
- return array( null, true );
- }
-
- // we call this instead of do_action when sending immediately.
- $this->send_action( 'jetpack_full_sync_network_options', array( true ) );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 'finished' => true );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return array Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- if ( ! is_multisite() ) {
- return null;
- }
-
- return 1;
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_network_options' );
- }
-
- /**
- * Retrieve all network options as per the current network options whitelist.
- *
- * @access public
- *
- * @return array All network options.
- */
- public function get_all_network_options() {
- $options = array();
- foreach ( $this->network_options_whitelist as $option ) {
- $options[ $option ] = get_site_option( $option );
- }
-
- return $options;
- }
-
- /**
- * Set the network options whitelist.
- *
- * @access public
- *
- * @param array $options The new network options whitelist.
- */
- public function set_network_options_whitelist( $options ) {
- $this->network_options_whitelist = $options;
- }
-
- /**
- * Get the network options whitelist.
- *
- * @access public
- *
- * @return array The network options whitelist.
- */
- public function get_network_options_whitelist() {
- return $this->network_options_whitelist;
- }
-
- /**
- * Reject non-whitelisted network options.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array|false $args The hook parameters, false if not a whitelisted network option.
- */
- public function whitelist_network_options( $args ) {
- if ( ! $this->is_whitelisted_network_option( $args[0] ) ) {
- return false;
- }
-
- return $args;
- }
-
- /**
- * Whether the option is a whitelisted network option in a multisite system.
- *
- * @access public
- *
- * @param string $option Option name.
- * @return boolean True if this is a whitelisted network option.
- */
- public function is_whitelisted_network_option( $option ) {
- return is_multisite() && in_array( $option, $this->network_options_whitelist, true );
- }
-
- /**
- * Expand the network options within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The hook parameters.
- */
- public function expand_network_options( $args ) {
- if ( $args[0] ) {
- return $this->get_all_network_options();
- }
-
- return $args;
- }
-
- /**
- * Return Total number of objects.
- *
- * @param array $config Full Sync config.
- *
- * @return int total
- */
- public function total( $config ) {
- return count( $this->network_options_whitelist );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-options.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-options.php
deleted file mode 100644
index 0f9b2f11..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-options.php
+++ /dev/null
@@ -1,375 +0,0 @@
-<?php
-/**
- * Options sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Defaults;
-
-/**
- * Class to handle sync for options.
- */
-class Options extends Module {
- /**
- * Whitelist for options we want to sync.
- *
- * @access private
- *
- * @var array
- */
- private $options_whitelist;
-
- /**
- * Contentless options we want to sync.
- *
- * @access private
- *
- * @var array
- */
- private $options_contentless;
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'options';
- }
-
- /**
- * Initialize options action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- // Options.
- add_action( 'added_option', $callable, 10, 2 );
- add_action( 'updated_option', $callable, 10, 3 );
- add_action( 'deleted_option', $callable, 10, 1 );
-
- // Sync Core Icon: Detect changes in Core's Site Icon and make it syncable.
- add_action( 'add_option_site_icon', array( $this, 'jetpack_sync_core_icon' ) );
- add_action( 'update_option_site_icon', array( $this, 'jetpack_sync_core_icon' ) );
- add_action( 'delete_option_site_icon', array( $this, 'jetpack_sync_core_icon' ) );
-
- $whitelist_option_handler = array( $this, 'whitelist_options' );
- add_filter( 'jetpack_sync_before_enqueue_deleted_option', $whitelist_option_handler );
- add_filter( 'jetpack_sync_before_enqueue_added_option', $whitelist_option_handler );
- add_filter( 'jetpack_sync_before_enqueue_updated_option', $whitelist_option_handler );
- }
-
- /**
- * Initialize options action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_options', $callable );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- // Full sync.
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_options', array( $this, 'expand_options' ) );
- }
-
- /**
- * Set module defaults.
- * Define the options whitelist and contentless options.
- *
- * @access public
- */
- public function set_defaults() {
- $this->update_options_whitelist();
- $this->update_options_contentless();
- }
-
- /**
- * Set module defaults at a later time.
- *
- * @access public
- */
- public function set_late_default() {
- /** This filter is already documented in json-endpoints/jetpack/class.wpcom-json-api-get-option-endpoint.php */
- $late_options = apply_filters( 'jetpack_options_whitelist', array() );
- if ( ! empty( $late_options ) && is_array( $late_options ) ) {
- $this->options_whitelist = array_merge( $this->options_whitelist, $late_options );
- }
- }
-
- /**
- * Enqueue the options actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- /**
- * Tells the client to sync all options to the server
- *
- * @since 4.2.0
- *
- * @param boolean Whether to expand options (should always be true)
- */
- do_action( 'jetpack_full_sync_options', true );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 1, true );
- }
-
- /**
- * Send the options actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $send_until The timestamp until the current request can send.
- * @param array $state This module Full Sync status.
- *
- * @return array This module Full Sync status.
- */
- public function send_full_sync_actions( $config, $send_until, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- // we call this instead of do_action when sending immediately.
- $this->send_action( 'jetpack_full_sync_options', array( true ) );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 'finished' => true );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return int Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- return 1;
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_options' );
- }
-
- /**
- * Retrieve all options as per the current options whitelist.
- * Public so that we don't have to store so much data all the options twice.
- *
- * @access public
- *
- * @return array All options.
- */
- public function get_all_options() {
- $options = array();
- $random_string = wp_generate_password();
- foreach ( $this->options_whitelist as $option ) {
- $option_value = get_option( $option, $random_string );
- if ( $option_value !== $random_string ) {
- $options[ $option ] = $option_value;
- }
- }
-
- // Add theme mods.
- $theme_mods_option = 'theme_mods_' . get_option( 'stylesheet' );
- $theme_mods_value = get_option( $theme_mods_option, $random_string );
- if ( $theme_mods_value === $random_string ) {
- return $options;
- }
- $this->filter_theme_mods( $theme_mods_value );
- $options[ $theme_mods_option ] = $theme_mods_value;
- return $options;
- }
-
- /**
- * Update the options whitelist to the default one.
- *
- * @access public
- */
- public function update_options_whitelist() {
- $this->options_whitelist = Defaults::get_options_whitelist();
- }
-
- /**
- * Set the options whitelist.
- *
- * @access public
- *
- * @param array $options The new options whitelist.
- */
- public function set_options_whitelist( $options ) {
- $this->options_whitelist = $options;
- }
-
- /**
- * Get the options whitelist.
- *
- * @access public
- *
- * @return array The options whitelist.
- */
- public function get_options_whitelist() {
- return $this->options_whitelist;
- }
-
- /**
- * Update the contentless options to the defaults.
- *
- * @access public
- */
- public function update_options_contentless() {
- $this->options_contentless = Defaults::get_options_contentless();
- }
-
- /**
- * Get the contentless options.
- *
- * @access public
- *
- * @return array Array of the contentless options.
- */
- public function get_options_contentless() {
- return $this->options_contentless;
- }
-
- /**
- * Reject any options that aren't whitelisted or contentless.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The hook parameters.
- */
- public function whitelist_options( $args ) {
- // Reject non-whitelisted options.
- if ( ! $this->is_whitelisted_option( $args[0] ) ) {
- return false;
- }
-
- // Filter our weird array( false ) value for theme_mods_*.
- if ( 'theme_mods_' === substr( $args[0], 0, 11 ) ) {
- $this->filter_theme_mods( $args[1] );
- if ( isset( $args[2] ) ) {
- $this->filter_theme_mods( $args[2] );
- }
- }
-
- // Set value(s) of contentless option to empty string(s).
- if ( $this->is_contentless_option( $args[0] ) ) {
- // Create a new array matching length of $args, containing empty strings.
- $empty = array_fill( 0, count( $args ), '' );
- $empty[0] = $args[0];
- return $empty;
- }
-
- return $args;
- }
-
- /**
- * Whether a certain option is whitelisted for sync.
- *
- * @access public
- *
- * @param string $option Option name.
- * @return boolean Whether the option is whitelisted.
- */
- public function is_whitelisted_option( $option ) {
- return in_array( $option, $this->options_whitelist, true ) || 'theme_mods_' === substr( $option, 0, 11 );
- }
-
- /**
- * Whether a certain option is a contentless one.
- *
- * @access private
- *
- * @param string $option Option name.
- * @return boolean Whether the option is contentless.
- */
- private function is_contentless_option( $option ) {
- return in_array( $option, $this->options_contentless, true );
- }
-
- /**
- * Filters out falsy values from theme mod options.
- *
- * @access private
- *
- * @param array $value Option value.
- */
- private function filter_theme_mods( &$value ) {
- if ( is_array( $value ) && isset( $value[0] ) ) {
- unset( $value[0] );
- }
- }
-
- /**
- * Handle changes in the core site icon and sync them.
- *
- * @access public
- */
- public function jetpack_sync_core_icon() {
- $url = get_site_icon_url();
-
- require_once JETPACK__PLUGIN_DIR . 'modules/site-icon/site-icon-functions.php';
- // If there's a core icon, maybe update the option. If not, fall back to Jetpack's.
- if ( ! empty( $url ) && jetpack_site_icon_url() !== $url ) {
- // This is the option that is synced with dotcom.
- \Jetpack_Options::update_option( 'site_icon_url', $url );
- } elseif ( empty( $url ) ) {
- \Jetpack_Options::delete_option( 'site_icon_url' );
- }
- }
-
- /**
- * Expand all options within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The hook parameters.
- */
- public function expand_options( $args ) {
- if ( $args[0] ) {
- return $this->get_all_options();
- }
-
- return $args;
- }
-
- /**
- * Return Total number of objects.
- *
- * @param array $config Full Sync config.
- *
- * @return int total
- */
- public function total( $config ) {
- return count( Defaults::get_options_whitelist() );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-plugins.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-plugins.php
deleted file mode 100644
index 9f257557..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-plugins.php
+++ /dev/null
@@ -1,413 +0,0 @@
-<?php
-/**
- * Plugins sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Constants as Jetpack_Constants;
-
-/**
- * Class to handle sync for plugins.
- */
-class Plugins extends Module {
- /**
- * Action handler callable.
- *
- * @access private
- *
- * @var callable
- */
- private $action_handler;
-
- /**
- * Information about plugins we store temporarily.
- *
- * @access private
- *
- * @var array
- */
- private $plugin_info = array();
-
- /**
- * List of all plugins in the installation.
- *
- * @access private
- *
- * @var array
- */
- private $plugins = array();
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'plugins';
- }
-
- /**
- * Initialize plugins action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- $this->action_handler = $callable;
-
- add_action( 'deleted_plugin', array( $this, 'deleted_plugin' ), 10, 2 );
- add_action( 'activated_plugin', $callable, 10, 2 );
- add_action( 'deactivated_plugin', $callable, 10, 2 );
- add_action( 'delete_plugin', array( $this, 'delete_plugin' ) );
- add_filter( 'upgrader_pre_install', array( $this, 'populate_plugins' ), 10, 1 );
- add_action( 'upgrader_process_complete', array( $this, 'on_upgrader_completion' ), 10, 2 );
- add_action( 'jetpack_plugin_installed', $callable, 10, 1 );
- add_action( 'jetpack_plugin_update_failed', $callable, 10, 4 );
- add_action( 'jetpack_plugins_updated', $callable, 10, 2 );
- add_action( 'admin_action_update', array( $this, 'check_plugin_edit' ) );
- add_action( 'jetpack_edited_plugin', $callable, 10, 2 );
- add_action( 'wp_ajax_edit-theme-plugin-file', array( $this, 'plugin_edit_ajax' ), 0 );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- add_filter( 'jetpack_sync_before_send_activated_plugin', array( $this, 'expand_plugin_data' ) );
- add_filter( 'jetpack_sync_before_send_deactivated_plugin', array( $this, 'expand_plugin_data' ) );
- // Note that we don't simply 'expand_plugin_data' on the 'delete_plugin' action here because the plugin file is deleted when that action finishes.
- }
-
- /**
- * Fetch and populate all current plugins before upgrader installation.
- *
- * @access public
- *
- * @param bool|WP_Error $response Install response, true if successful, WP_Error if not.
- */
- public function populate_plugins( $response ) {
- $this->plugins = get_plugins();
- return $response;
- }
-
- /**
- * Handler for the upgrader success finishes.
- *
- * @access public
- *
- * @param \WP_Upgrader $upgrader Upgrader instance.
- * @param array $details Array of bulk item update data.
- */
- public function on_upgrader_completion( $upgrader, $details ) {
- if ( ! isset( $details['type'] ) ) {
- return;
- }
- if ( 'plugin' !== $details['type'] ) {
- return;
- }
-
- if ( ! isset( $details['action'] ) ) {
- return;
- }
-
- $plugins = ( isset( $details['plugins'] ) ? $details['plugins'] : null );
- if ( empty( $plugins ) ) {
- $plugins = ( isset( $details['plugin'] ) ? array( $details['plugin'] ) : null );
- }
-
- // For plugin installer.
- if ( empty( $plugins ) && method_exists( $upgrader, 'plugin_info' ) ) {
- $plugins = array( $upgrader->plugin_info() );
- }
-
- if ( empty( $plugins ) ) {
- return; // We shouldn't be here.
- }
-
- switch ( $details['action'] ) {
- case 'update':
- $state = array(
- 'is_autoupdate' => Jetpack_Constants::is_true( 'JETPACK_PLUGIN_AUTOUPDATE' ),
- );
- $errors = $this->get_errors( $upgrader->skin );
- if ( $errors ) {
- foreach ( $plugins as $slug ) {
- /**
- * Sync that a plugin update failed
- *
- * @since 5.8.0
- *
- * @module sync
- *
- * @param string $plugin , Plugin slug
- * @param string Error code
- * @param string Error message
- */
- do_action( 'jetpack_plugin_update_failed', $this->get_plugin_info( $slug ), $errors['code'], $errors['message'], $state );
- }
-
- return;
- }
- /**
- * Sync that a plugin update
- *
- * @since 5.8.0
- *
- * @module sync
- *
- * @param array () $plugin, Plugin Data
- */
- do_action( 'jetpack_plugins_updated', array_map( array( $this, 'get_plugin_info' ), $plugins ), $state );
- break;
- case 'install':
- }
-
- if ( 'install' === $details['action'] ) {
- /**
- * Signals to the sync listener that a plugin was installed and a sync action
- * reflecting the installation and the plugin info should be sent
- *
- * @since 5.8.0
- *
- * @module sync
- *
- * @param array () $plugin, Plugin Data
- */
- do_action( 'jetpack_plugin_installed', array_map( array( $this, 'get_plugin_info' ), $plugins ) );
-
- return;
- }
- }
-
- /**
- * Retrieve the plugin information by a plugin slug.
- *
- * @access private
- *
- * @param string $slug Plugin slug.
- * @return array Plugin information.
- */
- private function get_plugin_info( $slug ) {
- $plugins = get_plugins(); // Get the most up to date info.
- if ( isset( $plugins[ $slug ] ) ) {
- return array_merge( array( 'slug' => $slug ), $plugins[ $slug ] );
- };
- // Try grabbing the info from before the update.
- return isset( $this->plugins[ $slug ] ) ? array_merge( array( 'slug' => $slug ), $this->plugins[ $slug ] ) : array( 'slug' => $slug );
- }
-
- /**
- * Retrieve upgrade errors.
- *
- * @access private
- *
- * @param \Automatic_Upgrader_Skin|\WP_Upgrader_Skin $skin The upgrader skin being used.
- * @return array|boolean Error on error, false otherwise.
- */
- private function get_errors( $skin ) {
- $errors = method_exists( $skin, 'get_errors' ) ? $skin->get_errors() : null;
- if ( is_wp_error( $errors ) ) {
- $error_code = $errors->get_error_code();
- if ( ! empty( $error_code ) ) {
- return array(
- 'code' => $error_code,
- 'message' => $errors->get_error_message(),
- );
- }
- }
-
- if ( isset( $skin->result ) ) {
- $errors = $skin->result;
- if ( is_wp_error( $errors ) ) {
- return array(
- 'code' => $errors->get_error_code(),
- 'message' => $errors->get_error_message(),
- );
- }
-
- if ( empty( $skin->result ) ) {
- return array(
- 'code' => 'unknown',
- 'message' => __( 'Unknown Plugin Update Failure', 'jetpack' ),
- );
- }
- }
- return false;
- }
-
- /**
- * Handle plugin edit in the administration.
- *
- * @access public
- *
- * @todo The `admin_action_update` hook is called only for logged in users, but maybe implement nonce verification?
- */
- public function check_plugin_edit() {
- $screen = get_current_screen();
- // phpcs:ignore WordPress.Security.NonceVerification.Missing
- if ( 'plugin-editor' !== $screen->base || ! isset( $_POST['newcontent'] ) || ! isset( $_POST['plugin'] ) ) {
- return;
- }
-
- // phpcs:ignore WordPress.Security.NonceVerification.Missing
- $plugin = $_POST['plugin'];
- $plugins = get_plugins();
- if ( ! isset( $plugins[ $plugin ] ) ) {
- return;
- }
-
- /**
- * Helps Sync log that a plugin was edited
- *
- * @since 4.9.0
- *
- * @param string $plugin, Plugin slug
- * @param mixed $plugins[ $plugin ], Array of plugin data
- */
- do_action( 'jetpack_edited_plugin', $plugin, $plugins[ $plugin ] );
- }
-
- /**
- * Handle plugin ajax edit in the administration.
- *
- * @access public
- *
- * @todo Update this method to use WP_Filesystem instead of fopen/fclose.
- */
- public function plugin_edit_ajax() {
- // This validation is based on wp_edit_theme_plugin_file().
- $args = wp_unslash( $_POST );
- if ( empty( $args['file'] ) ) {
- return;
- }
-
- $file = $args['file'];
- if ( 0 !== validate_file( $file ) ) {
- return;
- }
-
- if ( ! isset( $args['newcontent'] ) ) {
- return;
- }
-
- if ( ! isset( $args['nonce'] ) ) {
- return;
- }
-
- if ( empty( $args['plugin'] ) ) {
- return;
- }
-
- $plugin = $args['plugin'];
- if ( ! current_user_can( 'edit_plugins' ) ) {
- return;
- }
-
- if ( ! wp_verify_nonce( $args['nonce'], 'edit-plugin_' . $file ) ) {
- return;
- }
- $plugins = get_plugins();
- if ( ! array_key_exists( $plugin, $plugins ) ) {
- return;
- }
-
- if ( 0 !== validate_file( $file, get_plugin_files( $plugin ) ) ) {
- return;
- }
-
- $real_file = WP_PLUGIN_DIR . '/' . $file;
-
- if ( ! is_writeable( $real_file ) ) {
- return;
- }
-
- // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fopen
- $file_pointer = fopen( $real_file, 'w+' );
- if ( false === $file_pointer ) {
- return;
- }
- // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fclose
- fclose( $file_pointer );
- /**
- * This action is documented already in this file
- */
- do_action( 'jetpack_edited_plugin', $plugin, $plugins[ $plugin ] );
- }
-
- /**
- * Handle plugin deletion.
- *
- * @access public
- *
- * @param string $plugin_path Path to the plugin main file.
- */
- public function delete_plugin( $plugin_path ) {
- $full_plugin_path = WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $plugin_path;
-
- // Checking for file existence because some sync plugin module tests simulate plugin installation and deletion without putting file on disk.
- if ( file_exists( $full_plugin_path ) ) {
- $all_plugin_data = get_plugin_data( $full_plugin_path );
- $data = array(
- 'name' => $all_plugin_data['Name'],
- 'version' => $all_plugin_data['Version'],
- );
- } else {
- $data = array(
- 'name' => $plugin_path,
- 'version' => 'unknown',
- );
- }
-
- $this->plugin_info[ $plugin_path ] = $data;
- }
-
- /**
- * Invoked after plugin deletion.
- *
- * @access public
- *
- * @param string $plugin_path Path to the plugin main file.
- * @param boolean $is_deleted Whether the plugin was deleted successfully.
- */
- public function deleted_plugin( $plugin_path, $is_deleted ) {
- call_user_func( $this->action_handler, $plugin_path, $is_deleted, $this->plugin_info[ $plugin_path ] );
- unset( $this->plugin_info[ $plugin_path ] );
- }
-
- /**
- * Expand the plugins within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The expanded hook parameters.
- */
- public function expand_plugin_data( $args ) {
- $plugin_path = $args[0];
- $plugin_data = array();
-
- if ( ! function_exists( 'get_plugins' ) ) {
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
- }
- $all_plugins = get_plugins();
- if ( isset( $all_plugins[ $plugin_path ] ) ) {
- $all_plugin_data = $all_plugins[ $plugin_path ];
- $plugin_data['name'] = $all_plugin_data['Name'];
- $plugin_data['version'] = $all_plugin_data['Version'];
- }
-
- return array(
- $args[0],
- $args[1],
- $plugin_data,
- );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-posts.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-posts.php
deleted file mode 100644
index 14d1c0b7..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-posts.php
+++ /dev/null
@@ -1,671 +0,0 @@
-<?php
-/**
- * Posts sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Constants as Jetpack_Constants;
-use Automattic\Jetpack\Roles;
-use Automattic\Jetpack\Sync\Settings;
-
-/**
- * Class to handle sync for posts.
- */
-class Posts extends Module {
- /**
- * The post IDs of posts that were just published but not synced yet.
- *
- * @access private
- *
- * @var array
- */
- private $just_published = array();
-
- /**
- * The previous status of posts that we use for calculating post status transitions.
- *
- * @access private
- *
- * @var array
- */
- private $previous_status = array();
-
- /**
- * Action handler callable.
- *
- * @access private
- *
- * @var callable
- */
- private $action_handler;
-
- /**
- * Import end.
- *
- * @access private
- *
- * @todo This appears to be unused - let's remove it.
- *
- * @var boolean
- */
- private $import_end = false;
-
- /**
- * Default previous post state.
- * Used for default previous post status.
- *
- * @access public
- *
- * @var string
- */
- const DEFAULT_PREVIOUS_STATE = 'new';
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'posts';
- }
-
- /**
- * The table in the database.
- *
- * @access public
- *
- * @return string
- */
- public function table_name() {
- return 'posts';
- }
-
- /**
- * Retrieve a post by its ID.
- *
- * @access public
- *
- * @param string $object_type Type of the sync object.
- * @param int $id ID of the sync object.
- * @return \WP_Post|bool Filtered \WP_Post object, or false if the object is not a post.
- */
- public function get_object_by_id( $object_type, $id ) {
- if ( 'post' === $object_type ) {
- $post = get_post( intval( $id ) );
- if ( $post ) {
- return $this->filter_post_content_and_add_links( $post );
- }
- }
-
- return false;
- }
-
- /**
- * Initialize posts action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- $this->action_handler = $callable;
-
- add_action( 'wp_insert_post', array( $this, 'wp_insert_post' ), 11, 3 );
- add_action( 'jetpack_sync_save_post', $callable, 10, 4 );
-
- add_action( 'deleted_post', $callable, 10 );
- add_action( 'jetpack_published_post', $callable, 10, 2 );
-
- add_action( 'transition_post_status', array( $this, 'save_published' ), 10, 3 );
- add_filter( 'jetpack_sync_before_enqueue_jetpack_sync_save_post', array( $this, 'filter_blacklisted_post_types' ) );
-
- // Listen for meta changes.
- $this->init_listeners_for_meta_type( 'post', $callable );
- $this->init_meta_whitelist_handler( 'post', array( $this, 'filter_meta' ) );
-
- add_action( 'jetpack_daily_akismet_meta_cleanup_before', array( $this, 'daily_akismet_meta_cleanup_before' ) );
- add_action( 'jetpack_daily_akismet_meta_cleanup_after', array( $this, 'daily_akismet_meta_cleanup_after' ) );
- add_action( 'jetpack_post_meta_batch_delete', $callable, 10, 2 );
- }
-
- /**
- * Before Akismet's daily cleanup of spam detection metadata.
- *
- * @access public
- *
- * @param array $feedback_ids IDs of feedback posts.
- */
- public function daily_akismet_meta_cleanup_before( $feedback_ids ) {
- remove_action( 'deleted_post_meta', $this->action_handler );
- /**
- * Used for syncing deletion of batch post meta
- *
- * @since 6.1.0
- *
- * @module sync
- *
- * @param array $feedback_ids feedback post IDs
- * @param string $meta_key to be deleted
- */
- do_action( 'jetpack_post_meta_batch_delete', $feedback_ids, '_feedback_akismet_values' );
- }
-
- /**
- * After Akismet's daily cleanup of spam detection metadata.
- *
- * @access public
- *
- * @param array $feedback_ids IDs of feedback posts.
- */
- public function daily_akismet_meta_cleanup_after( $feedback_ids ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- add_action( 'deleted_post_meta', $this->action_handler );
- }
-
- /**
- * Initialize posts action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_posts', $callable ); // Also sends post meta.
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- add_filter( 'jetpack_sync_before_send_jetpack_sync_save_post', array( $this, 'expand_jetpack_sync_save_post' ) );
-
- // Full sync.
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_posts', array( $this, 'expand_post_ids' ) );
- }
-
- /**
- * Enqueue the posts actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) {
- global $wpdb;
-
- return $this->enqueue_all_ids_as_action( 'jetpack_full_sync_posts', $wpdb->posts, 'ID', $this->get_where_sql( $config ), $max_items_to_enqueue, $state );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @todo Use $wpdb->prepare for the SQL query.
- *
- * @param array $config Full sync configuration for this sync module.
- * @return array Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) {
- global $wpdb;
-
- $query = "SELECT count(*) FROM $wpdb->posts WHERE " . $this->get_where_sql( $config );
- // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- $count = $wpdb->get_var( $query );
-
- return (int) ceil( $count / self::ARRAY_CHUNK_SIZE );
- }
-
- /**
- * Retrieve the WHERE SQL clause based on the module config.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return string WHERE SQL clause, or `null` if no comments are specified in the module config.
- */
- public function get_where_sql( $config ) {
- $where_sql = Settings::get_blacklisted_post_types_sql();
-
- // Config is a list of post IDs to sync.
- if ( is_array( $config ) ) {
- $where_sql .= ' AND ID IN (' . implode( ',', array_map( 'intval', $config ) ) . ')';
- }
-
- return $where_sql;
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_posts' );
- }
-
- /**
- * Process content before send.
- *
- * @param array $args Arguments of the `wp_insert_post` hook.
- *
- * @return array
- */
- public function expand_jetpack_sync_save_post( $args ) {
- list( $post_id, $post, $update, $previous_state ) = $args;
- return array( $post_id, $this->filter_post_content_and_add_links( $post ), $update, $previous_state );
- }
-
- /**
- * Filter all blacklisted post types.
- *
- * @param array $args Hook arguments.
- * @return array|false Hook arguments, or false if the post type is a blacklisted one.
- */
- public function filter_blacklisted_post_types( $args ) {
- $post = $args[1];
-
- if ( in_array( $post->post_type, Settings::get_setting( 'post_types_blacklist' ), true ) ) {
- return false;
- }
-
- return $args;
- }
-
- /**
- * Filter all meta that is not blacklisted, or is stored for a disallowed post type.
- *
- * @param array $args Hook arguments.
- * @return array|false Hook arguments, or false if meta was filtered.
- */
- public function filter_meta( $args ) {
- if ( $this->is_post_type_allowed( $args[1] ) && $this->is_whitelisted_post_meta( $args[2] ) ) {
- return $args;
- }
-
- return false;
- }
-
- /**
- * Whether a post meta key is whitelisted.
- *
- * @param string $meta_key Meta key.
- * @return boolean Whether the post meta key is whitelisted.
- */
- public function is_whitelisted_post_meta( $meta_key ) {
- // The _wpas_skip_ meta key is used by Publicize.
- return in_array( $meta_key, Settings::get_setting( 'post_meta_whitelist' ), true ) || wp_startswith( $meta_key, '_wpas_skip_' );
- }
-
- /**
- * Whether a post type is allowed.
- * A post type will be disallowed if it's present in the post type blacklist.
- *
- * @param int $post_id ID of the post.
- * @return boolean Whether the post type is allowed.
- */
- public function is_post_type_allowed( $post_id ) {
- $post = get_post( intval( $post_id ) );
-
- if ( isset( $post->post_type ) ) {
- return ! in_array( $post->post_type, Settings::get_setting( 'post_types_blacklist' ), true );
- }
- return false;
- }
-
- /**
- * Remove the embed shortcode.
- *
- * @global $wp_embed
- */
- public function remove_embed() {
- global $wp_embed;
- remove_filter( 'the_content', array( $wp_embed, 'run_shortcode' ), 8 );
- // remove the embed shortcode since we would do the part later.
- remove_shortcode( 'embed' );
- // Attempts to embed all URLs in a post.
- remove_filter( 'the_content', array( $wp_embed, 'autoembed' ), 8 );
- }
-
- /**
- * Add the embed shortcode.
- *
- * @global $wp_embed
- */
- public function add_embed() {
- global $wp_embed;
- add_filter( 'the_content', array( $wp_embed, 'run_shortcode' ), 8 );
- // Shortcode placeholder for strip_shortcodes().
- add_shortcode( 'embed', '__return_false' );
- // Attempts to embed all URLs in a post.
- add_filter( 'the_content', array( $wp_embed, 'autoembed' ), 8 );
- }
-
- /**
- * Expands wp_insert_post to include filtered content
- *
- * @param \WP_Post $post_object Post object.
- */
- public function filter_post_content_and_add_links( $post_object ) {
- global $post;
- // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
- $post = $post_object;
-
- // Return non existant post.
- $post_type = get_post_type_object( $post->post_type );
- if ( empty( $post_type ) || ! is_object( $post_type ) ) {
- $non_existant_post = new \stdClass();
- $non_existant_post->ID = $post->ID;
- $non_existant_post->post_modified = $post->post_modified;
- $non_existant_post->post_modified_gmt = $post->post_modified_gmt;
- $non_existant_post->post_status = 'jetpack_sync_non_registered_post_type';
- $non_existant_post->post_type = $post->post_type;
-
- return $non_existant_post;
- }
- /**
- * Filters whether to prevent sending post data to .com
- *
- * Passing true to the filter will prevent the post data from being sent
- * to the WordPress.com.
- * Instead we pass data that will still enable us to do a checksum against the
- * Jetpacks data but will prevent us from displaying the data on in the API as well as
- * other services.
- *
- * @since 4.2.0
- *
- * @param boolean false prevent post data from being synced to WordPress.com
- * @param mixed $post \WP_Post object
- */
- if ( apply_filters( 'jetpack_sync_prevent_sending_post_data', false, $post ) ) {
- // We only send the bare necessary object to be able to create a checksum.
- $blocked_post = new \stdClass();
- $blocked_post->ID = $post->ID;
- $blocked_post->post_modified = $post->post_modified;
- $blocked_post->post_modified_gmt = $post->post_modified_gmt;
- $blocked_post->post_status = 'jetpack_sync_blocked';
- $blocked_post->post_type = $post->post_type;
-
- return $blocked_post;
- }
-
- // lets not do oembed just yet.
- $this->remove_embed();
-
- if ( 0 < strlen( $post->post_password ) ) {
- $post->post_password = 'auto-' . wp_generate_password( 10, false );
- }
-
- /** This filter is already documented in core. wp-includes/post-template.php */
- if ( Settings::get_setting( 'render_filtered_content' ) && $post_type->public ) {
- global $shortcode_tags;
- /**
- * Filter prevents some shortcodes from expanding.
- *
- * Since we can can expand some type of shortcode better on the .com side and make the
- * expansion more relevant to contexts. For example [galleries] and subscription emails
- *
- * @since 4.5.0
- *
- * @param array of shortcode tags to remove.
- */
- $shortcodes_to_remove = apply_filters(
- 'jetpack_sync_do_not_expand_shortcodes',
- array(
- 'gallery',
- 'slideshow',
- )
- );
- $removed_shortcode_callbacks = array();
- foreach ( $shortcodes_to_remove as $shortcode ) {
- if ( isset( $shortcode_tags[ $shortcode ] ) ) {
- $removed_shortcode_callbacks[ $shortcode ] = $shortcode_tags[ $shortcode ];
- }
- }
-
- array_map( 'remove_shortcode', array_keys( $removed_shortcode_callbacks ) );
-
- $post->post_content_filtered = apply_filters( 'the_content', $post->post_content );
- $post->post_excerpt_filtered = apply_filters( 'the_excerpt', $post->post_excerpt );
-
- foreach ( $removed_shortcode_callbacks as $shortcode => $callback ) {
- add_shortcode( $shortcode, $callback );
- }
- }
-
- $this->add_embed();
-
- if ( has_post_thumbnail( $post->ID ) ) {
- $image_attributes = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
- if ( is_array( $image_attributes ) && isset( $image_attributes[0] ) ) {
- $post->featured_image = $image_attributes[0];
- }
- }
-
- $post->permalink = get_permalink( $post->ID );
- $post->shortlink = wp_get_shortlink( $post->ID );
-
- if ( function_exists( 'amp_get_permalink' ) ) {
- $post->amp_permalink = amp_get_permalink( $post->ID );
- }
-
- return $post;
- }
-
- /**
- * Handle transition from another post status to a published one.
- *
- * @param string $new_status New post status.
- * @param string $old_status Old post status.
- * @param \WP_Post $post Post object.
- */
- public function save_published( $new_status, $old_status, $post ) {
- if ( 'publish' === $new_status && 'publish' !== $old_status ) {
- $this->just_published[ $post->ID ] = true;
- }
-
- $this->previous_status[ $post->ID ] = $old_status;
- }
-
- /**
- * When publishing or updating a post, the Gutenberg editor sends two requests:
- * 1. sent to WP REST API endpoint `wp-json/wp/v2/posts/$id`
- * 2. sent to wp-admin/post.php `?post=$id&action=edit&classic-editor=1&meta_box=1`
- *
- * The 2nd request is to update post meta, which is not supported on WP REST API.
- * When syncing post data, we will include if this was a meta box update.
- *
- * @todo Implement nonce verification.
- *
- * @return boolean Whether this is a Gutenberg meta box update.
- */
- public function is_gutenberg_meta_box_update() {
- // phpcs:disable WordPress.Security.NonceVerification.Missing, WordPress.Security.NonceVerification.Recommended
- return (
- isset( $_POST['action'], $_GET['classic-editor'], $_GET['meta_box'] ) &&
- 'editpost' === $_POST['action'] &&
- '1' === $_GET['classic-editor'] &&
- '1' === $_GET['meta_box']
- // phpcs:enable WordPress.Security.NonceVerification.Missing, WordPress.Security.NonceVerification.Recommended
- );
- }
-
- /**
- * Handler for the wp_insert_post hook.
- * Called upon creation of a new post.
- *
- * @param int $post_ID Post ID.
- * @param \WP_Post $post Post object.
- * @param boolean $update Whether this is an existing post being updated or not.
- */
- public function wp_insert_post( $post_ID, $post = null, $update = null ) {
- if ( ! is_numeric( $post_ID ) || is_null( $post ) ) {
- return;
- }
-
- // Workaround for https://github.com/woocommerce/woocommerce/issues/18007.
- if ( $post && 'shop_order' === $post->post_type ) {
- $post = get_post( $post_ID );
- }
-
- $previous_status = isset( $this->previous_status[ $post_ID ] ) ?
- $this->previous_status[ $post_ID ] :
- self::DEFAULT_PREVIOUS_STATE;
-
- $just_published = isset( $this->just_published[ $post_ID ] ) ?
- $this->just_published[ $post_ID ] :
- false;
-
- $state = array(
- 'is_auto_save' => (bool) Jetpack_Constants::get_constant( 'DOING_AUTOSAVE' ),
- 'previous_status' => $previous_status,
- 'just_published' => $just_published,
- 'is_gutenberg_meta_box_update' => $this->is_gutenberg_meta_box_update(),
- );
- /**
- * Filter that is used to add to the post flags ( meta data ) when a post gets published
- *
- * @since 5.8.0
- *
- * @param int $post_ID the post ID
- * @param mixed $post \WP_Post object
- * @param bool $update Whether this is an existing post being updated or not.
- * @param mixed $state state
- *
- * @module sync
- */
- do_action( 'jetpack_sync_save_post', $post_ID, $post, $update, $state );
- unset( $this->previous_status[ $post_ID ] );
- $this->send_published( $post_ID, $post );
- }
-
- /**
- * Send a published post for sync.
- *
- * @param int $post_ID Post ID.
- * @param \WP_Post $post Post object.
- */
- public function send_published( $post_ID, $post ) {
- if ( ! isset( $this->just_published[ $post_ID ] ) ) {
- return;
- }
-
- // Post revisions cause race conditions where this send_published add the action before the actual post gets synced.
- if ( wp_is_post_autosave( $post ) || wp_is_post_revision( $post ) ) {
- return;
- }
-
- $post_flags = array(
- 'post_type' => $post->post_type,
- );
-
- $author_user_object = get_user_by( 'id', $post->post_author );
- if ( $author_user_object ) {
- $roles = new Roles();
-
- $post_flags['author'] = array(
- 'id' => $post->post_author,
- 'wpcom_user_id' => get_user_meta( $post->post_author, 'wpcom_user_id', true ),
- 'display_name' => $author_user_object->display_name,
- 'email' => $author_user_object->user_email,
- 'translated_role' => $roles->translate_user_to_role( $author_user_object ),
- );
- }
-
- /**
- * Filter that is used to add to the post flags ( meta data ) when a post gets published
- *
- * @since 4.4.0
- *
- * @param mixed array post flags that are added to the post
- * @param mixed $post \WP_Post object
- */
- $flags = apply_filters( 'jetpack_published_post_flags', $post_flags, $post );
-
- /**
- * Action that gets synced when a post type gets published.
- *
- * @since 4.4.0
- *
- * @param int $post_ID
- * @param mixed array $flags post flags that are added to the post
- */
- do_action( 'jetpack_published_post', $post_ID, $flags );
- unset( $this->just_published[ $post_ID ] );
-
- /**
- * Send additional sync action for Activity Log when post is a Customizer publish
- */
- if ( 'customize_changeset' === $post->post_type ) {
- $post_content = json_decode( $post->post_content, true );
- foreach ( $post_content as $key => $value ) {
- // Skip if it isn't a widget.
- if ( 'widget_' !== substr( $key, 0, strlen( 'widget_' ) ) ) {
- continue;
- }
- // Change key from "widget_archives[2]" to "archives-2".
- $key = str_replace( 'widget_', '', $key );
- $key = str_replace( '[', '-', $key );
- $key = str_replace( ']', '', $key );
-
- global $wp_registered_widgets;
- if ( isset( $wp_registered_widgets[ $key ] ) ) {
- $widget_data = array(
- 'name' => $wp_registered_widgets[ $key ]['name'],
- 'id' => $key,
- 'title' => $value['value']['title'],
- );
- do_action( 'jetpack_widget_edited', $widget_data );
- }
- }
- }
- }
-
- /**
- * Expand post IDs to post objects within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The expanded hook parameters.
- */
- public function expand_post_ids( $args ) {
- list( $post_ids, $previous_interval_end) = $args;
-
- $posts = array_filter( array_map( array( 'WP_Post', 'get_instance' ), $post_ids ) );
- $posts = array_map( array( $this, 'filter_post_content_and_add_links' ), $posts );
- $posts = array_values( $posts ); // Reindex in case posts were deleted.
-
- return array(
- $posts,
- $this->get_metadata( $post_ids, 'post', Settings::get_setting( 'post_meta_whitelist' ) ),
- $this->get_term_relationships( $post_ids ),
- $previous_interval_end,
- );
- }
-
- /**
- * Gets a list of minimum and maximum object ids for each batch based on the given batch size.
- *
- * @access public
- *
- * @param int $batch_size The batch size for objects.
- * @param string|bool $where_sql The sql where clause minus 'WHERE', or false if no where clause is needed.
- *
- * @return array|bool An array of min and max ids for each batch. FALSE if no table can be found.
- */
- public function get_min_max_object_ids_for_batches( $batch_size, $where_sql = false ) {
- return parent::get_min_max_object_ids_for_batches( $batch_size, $this->get_where_sql( $where_sql ) );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-protect.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-protect.php
deleted file mode 100644
index ebd62ff8..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-protect.php
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-/**
- * Protect sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Constants as Jetpack_Constants;
-
-/**
- * Class to handle sync for Protect.
- * Logs BruteProtect failed logins via sync.
- */
-class Protect extends Module {
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'protect';
- }
-
- /**
- * Initialize Protect action listeners.
- *
- * @access public
- *
- * @param callable $callback Action handler callable.
- */
- public function init_listeners( $callback ) {
- add_action( 'jpp_log_failed_attempt', array( $this, 'maybe_log_failed_login_attempt' ) );
- add_action( 'jetpack_valid_failed_login_attempt', $callback );
- }
-
- /**
- * Maybe log a failed login attempt.
- *
- * @access public
- *
- * @param array $failed_attempt Failed attempt data.
- */
- public function maybe_log_failed_login_attempt( $failed_attempt ) {
- $protect = \Jetpack_Protect_Module::instance();
- if ( $protect->has_login_ability() && ! Jetpack_Constants::is_true( 'XMLRPC_REQUEST' ) ) {
- do_action( 'jetpack_valid_failed_login_attempt', $failed_attempt );
- }
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-stats.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-stats.php
deleted file mode 100644
index bbd4cae6..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-stats.php
+++ /dev/null
@@ -1,66 +0,0 @@
-<?php
-/**
- * Stats sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-/**
- * Class to handle sync for stats.
- */
-class Stats extends Module {
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'stats';
- }
-
- /**
- * Initialize stats action listeners.
- *
- * @access public
- *
- * @param callable $callback Action handler callable.
- */
- public function init_listeners( $callback ) {
- add_action( 'jetpack_heartbeat', array( $this, 'sync_site_stats' ), 20 );
- add_action( 'jetpack_sync_heartbeat_stats', $callback );
- }
-
- /**
- * This namespaces the action that we sync.
- * So that we can differentiate it from future actions.
- *
- * @access public
- */
- public function sync_site_stats() {
- do_action( 'jetpack_sync_heartbeat_stats' );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- add_filter( 'jetpack_sync_before_send_jetpack_sync_heartbeat_stats', array( $this, 'add_stats' ) );
- }
-
- /**
- * Retrieve the stats data for the site.
- *
- * @access public
- *
- * @return array Stats data.
- */
- public function add_stats() {
- return array( \Jetpack::get_stat_data( false, false ) );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-term-relationships.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-term-relationships.php
deleted file mode 100644
index 17a183dc..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-term-relationships.php
+++ /dev/null
@@ -1,244 +0,0 @@
-<?php
-/**
- * Term relationships sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Listener;
-use Automattic\Jetpack\Sync\Settings;
-
-/**
- * Class to handle sync for term relationships.
- */
-class Term_Relationships extends Module {
-
- /**
- * Max terms to return in one single query
- *
- * @access public
- *
- * @const int
- */
- const QUERY_LIMIT = 1000;
-
- /**
- * Max value for a signed INT in MySQL - https://dev.mysql.com/doc/refman/8.0/en/integer-types.html
- *
- * @access public
- *
- * @const int
- */
- const MAX_INT = 2147483647;
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'term_relationships';
- }
-
- /**
- * The id field in the database.
- *
- * @access public
- *
- * @return string
- */
- public function id_field() {
- return 'object_id';
- }
-
- /**
- * The table in the database.
- *
- * @access public
- *
- * @return string
- */
- public function table_name() {
- return 'term_relationships';
- }
-
- /**
- * Initialize term relationships action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_term_relationships', $callable, 10, 2 );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- // Full sync.
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_term_relationships', array( $this, 'expand_term_relationships' ) );
- }
-
- /**
- * Enqueue the term relationships actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param object $last_object_enqueued Last object enqueued.
- *
- * @return array Number of actions enqueued, and next module state.
- * @todo This method has similarities with Automattic\Jetpack\Sync\Modules\Module::enqueue_all_ids_as_action. Refactor to keep DRY.
- * @see Automattic\Jetpack\Sync\Modules\Module::enqueue_all_ids_as_action
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $last_object_enqueued ) {
- global $wpdb;
- $term_relationships_full_sync_item_size = Settings::get_setting( 'term_relationships_full_sync_item_size' );
- $limit = min( $max_items_to_enqueue * $term_relationships_full_sync_item_size, self::QUERY_LIMIT );
- $items_enqueued_count = 0;
- $last_object_enqueued = $last_object_enqueued ? $last_object_enqueued : array(
- 'object_id' => self::MAX_INT,
- 'term_taxonomy_id' => self::MAX_INT,
- );
-
- while ( $limit > 0 ) {
- /*
- * SELECT object_id, term_taxonomy_id
- * FROM $wpdb->term_relationships
- * WHERE ( object_id = 11 AND term_taxonomy_id < 14 ) OR ( object_id < 11 )
- * ORDER BY object_id DESC, term_taxonomy_id DESC LIMIT 1000
- */
- $objects = $wpdb->get_results( $wpdb->prepare( "SELECT object_id, term_taxonomy_id FROM $wpdb->term_relationships WHERE ( object_id = %d AND term_taxonomy_id < %d ) OR ( object_id < %d ) ORDER BY object_id DESC, term_taxonomy_id DESC LIMIT %d", $last_object_enqueued['object_id'], $last_object_enqueued['term_taxonomy_id'], $last_object_enqueued['object_id'], $limit ), ARRAY_A );
- // Request term relationships in groups of N for efficiency.
- $objects_count = count( $objects );
- if ( ! count( $objects ) ) {
- return array( $items_enqueued_count, true );
- }
- $items = array_chunk( $objects, $term_relationships_full_sync_item_size );
- $last_object_enqueued = $this->bulk_enqueue_full_sync_term_relationships( $items, $last_object_enqueued );
- $items_enqueued_count += count( $items );
- $limit = min( $limit - $objects_count, self::QUERY_LIMIT );
- }
-
- // We need to do this extra check in case $max_items_to_enqueue * $term_relationships_full_sync_item_size == relationships objects left.
- $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->term_relationships WHERE ( object_id = %d AND term_taxonomy_id < %d ) OR ( object_id < %d ) ORDER BY object_id DESC, term_taxonomy_id DESC LIMIT %d", $last_object_enqueued['object_id'], $last_object_enqueued['term_taxonomy_id'], $last_object_enqueued['object_id'], 1 ) );
- if ( intval( $count ) === 0 ) {
- return array( $items_enqueued_count, true );
- }
-
- return array( $items_enqueued_count, $last_object_enqueued );
- }
-
- /**
- * Return the initial last sent object.
- *
- * @return string|array initial status.
- */
- public function get_initial_last_sent() {
- return array(
- 'object_id' => self::MAX_INT,
- 'term_taxonomy_id' => self::MAX_INT,
- );
- }
-
- /**
- * Given the Module Full Sync Configuration and Status return the next chunk of items to send.
- *
- * @param array $config This module Full Sync configuration.
- * @param array $status This module Full Sync status.
- * @param int $chunk_size Chunk size.
- *
- * @return array|object|null
- */
- public function get_next_chunk( $config, $status, $chunk_size ) {
- global $wpdb;
-
- return $wpdb->get_results(
- $wpdb->prepare(
- "SELECT object_id, term_taxonomy_id
- FROM $wpdb->term_relationships
- WHERE ( object_id = %d AND term_taxonomy_id < %d ) OR ( object_id < %d )
- ORDER BY object_id DESC, term_taxonomy_id
- DESC LIMIT %d",
- $status['last_sent']['object_id'],
- $status['last_sent']['term_taxonomy_id'],
- $status['last_sent']['object_id'],
- $chunk_size
- ),
- ARRAY_A
- );
- }
-
- /**
- *
- * Enqueue all $items within `jetpack_full_sync_term_relationships` actions.
- *
- * @param array $items Groups of objects to sync.
- * @param array $previous_interval_end Last item enqueued.
- *
- * @return array Last enqueued object.
- */
- public function bulk_enqueue_full_sync_term_relationships( $items, $previous_interval_end ) {
- $listener = Listener::get_instance();
- $items_with_previous_interval_end = $this->get_chunks_with_preceding_end( $items, $previous_interval_end );
- $listener->bulk_enqueue_full_sync_actions( 'jetpack_full_sync_term_relationships', $items_with_previous_interval_end );
- $last_item = end( $items );
- return end( $last_item );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return int Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) {
- global $wpdb;
-
- $query = "SELECT COUNT(*) FROM $wpdb->term_relationships";
-
- // phpcs:disable WordPress.DB.PreparedSQL.NotPrepared
- $count = $wpdb->get_var( $query );
-
- return (int) ceil( $count / Settings::get_setting( 'term_relationships_full_sync_item_size' ) );
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_term_relationships' );
- }
-
- /**
- * Expand the term relationships within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The expanded hook parameters.
- */
- public function expand_term_relationships( $args ) {
- list( $term_relationships, $previous_end ) = $args;
-
- return array(
- 'term_relationships' => $term_relationships,
- 'previous_end' => $previous_end,
- );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-terms.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-terms.php
deleted file mode 100644
index 2292356a..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-terms.php
+++ /dev/null
@@ -1,294 +0,0 @@
-<?php
-/**
- * Terms sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Defaults;
-use Automattic\Jetpack\Sync\Settings;
-
-/**
- * Class to handle sync for terms.
- */
-class Terms extends Module {
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'terms';
- }
-
- /**
- * The id field in the database.
- *
- * @access public
- *
- * @return string
- */
- public function id_field() {
- return 'term_id';
- }
-
- /**
- * The table in the database.
- *
- * @access public
- *
- * @return string
- */
- public function table_name() {
- return 'term_taxonomy';
- }
-
- /**
- * Allows WordPress.com servers to retrieve term-related objects via the sync API.
- *
- * @param string $object_type The type of object.
- * @param int $id The id of the object.
- *
- * @return bool|object A WP_Term object, or a row from term_taxonomy table depending on object type.
- */
- public function get_object_by_id( $object_type, $id ) {
- global $wpdb;
- $object = false;
- if ( 'term' === $object_type ) {
- $object = get_term( intval( $id ) );
-
- if ( is_wp_error( $object ) && $object->get_error_code() === 'invalid_taxonomy' ) {
- // Fetch raw term.
- $columns = implode( ', ', array_unique( array_merge( Defaults::$default_term_checksum_columns, array( 'term_group' ) ) ) );
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- $object = $wpdb->get_row( $wpdb->prepare( "SELECT $columns FROM $wpdb->terms WHERE term_id = %d", $id ) );
- }
- }
-
- if ( 'term_taxonomy' === $object_type ) {
- $columns = implode( ', ', array_unique( array_merge( Defaults::$default_term_taxonomy_checksum_columns, array( 'description' ) ) ) );
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- $object = $wpdb->get_row( $wpdb->prepare( "SELECT $columns FROM $wpdb->term_taxonomy WHERE term_taxonomy_id = %d", $id ) );
- }
-
- if ( 'term_relationships' === $object_type ) {
- $columns = implode( ', ', Defaults::$default_term_relationships_checksum_columns );
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- $objects = $wpdb->get_results( $wpdb->prepare( "SELECT $columns FROM $wpdb->term_relationships WHERE object_id = %d", $id ) );
- $object = (object) array(
- 'object_id' => $id,
- 'relationships' => array_map( array( $this, 'expand_terms_for_relationship' ), $objects ),
- );
- }
-
- return $object ? $object : false;
- }
-
- /**
- * Initialize terms action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- add_action( 'created_term', array( $this, 'save_term_handler' ), 10, 3 );
- add_action( 'edited_term', array( $this, 'save_term_handler' ), 10, 3 );
- add_action( 'jetpack_sync_save_term', $callable );
- add_action( 'jetpack_sync_add_term', $callable );
- add_action( 'delete_term', $callable, 10, 4 );
- add_action( 'set_object_terms', $callable, 10, 6 );
- add_action( 'deleted_term_relationships', $callable, 10, 2 );
- add_filter( 'jetpack_sync_before_enqueue_jetpack_sync_save_term', array( $this, 'filter_blacklisted_taxonomies' ) );
- add_filter( 'jetpack_sync_before_enqueue_jetpack_sync_add_term', array( $this, 'filter_blacklisted_taxonomies' ) );
- }
-
- /**
- * Initialize terms action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_terms', $callable, 10, 2 );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- // Full sync.
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_terms', array( $this, 'expand_term_taxonomy_id' ) );
- }
-
- /**
- * Enqueue the terms actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) {
- global $wpdb;
- return $this->enqueue_all_ids_as_action( 'jetpack_full_sync_terms', $wpdb->term_taxonomy, 'term_taxonomy_id', $this->get_where_sql( $config ), $max_items_to_enqueue, $state );
- }
-
- /**
- * Retrieve the WHERE SQL clause based on the module config.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return string WHERE SQL clause, or `null` if no comments are specified in the module config.
- */
- public function get_where_sql( $config ) {
- $where_sql = Settings::get_blacklisted_taxonomies_sql();
-
- if ( is_array( $config ) ) {
- $where_sql .= ' AND term_taxonomy_id IN (' . implode( ',', array_map( 'intval', $config ) ) . ')';
- }
-
- return $where_sql;
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return int Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) {
- global $wpdb;
-
- $query = "SELECT count(*) FROM $wpdb->term_taxonomy";
-
- $where_sql = $this->get_where_sql( $config );
- if ( $where_sql ) {
- $query .= ' WHERE ' . $where_sql;
- }
-
- // phpcs:disable WordPress.DB.PreparedSQL.NotPrepared
- $count = $wpdb->get_var( $query );
-
- return (int) ceil( $count / self::ARRAY_CHUNK_SIZE );
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_terms' );
- }
-
- /**
- * Handler for creating and updating terms.
- *
- * @access public
- *
- * @param int $term_id Term ID.
- * @param int $tt_id Term taxonomy ID.
- * @param string $taxonomy Taxonomy slug.
- */
- public function save_term_handler( $term_id, $tt_id, $taxonomy ) {
- if ( class_exists( '\\WP_Term' ) ) {
- $term_object = \WP_Term::get_instance( $term_id, $taxonomy );
- } else {
- $term_object = get_term_by( 'id', $term_id, $taxonomy );
- }
-
- $current_filter = current_filter();
-
- if ( 'created_term' === $current_filter ) {
- /**
- * Fires when the client needs to add a new term
- *
- * @since 5.0.0
- *
- * @param object the Term object
- */
- do_action( 'jetpack_sync_add_term', $term_object );
- return;
- }
-
- /**
- * Fires when the client needs to update a term
- *
- * @since 4.2.0
- *
- * @param object the Term object
- */
- do_action( 'jetpack_sync_save_term', $term_object );
- }
-
- /**
- * Filter blacklisted taxonomies.
- *
- * @access public
- *
- * @param array $args Hook args.
- * @return array|boolean False if not whitelisted, the original hook args otherwise.
- */
- public function filter_blacklisted_taxonomies( $args ) {
- $term = $args[0];
-
- if ( in_array( $term->taxonomy, Settings::get_setting( 'taxonomies_blacklist' ), true ) ) {
- return false;
- }
-
- return $args;
- }
-
- /**
- * Expand the term taxonomy IDs to terms within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The expanded hook parameters.
- */
- public function expand_term_taxonomy_id( $args ) {
- list( $term_taxonomy_ids, $previous_end ) = $args;
-
- return array(
- 'terms' => get_terms(
- array(
- 'hide_empty' => false,
- 'term_taxonomy_id' => $term_taxonomy_ids,
- 'orderby' => 'term_taxonomy_id',
- 'order' => 'DESC',
- )
- ),
- 'previous_end' => $previous_end,
- );
- }
-
- /**
- * Gets a term object based on a given row from the term_relationships database table.
- *
- * @access public
- *
- * @param object $relationship A row object from the term_relationships table.
- * @return object|bool A term object, or false if term taxonomy doesn't exist.
- */
- public function expand_terms_for_relationship( $relationship ) {
- return get_term_by( 'term_taxonomy_id', $relationship->term_taxonomy_id );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-themes.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-themes.php
deleted file mode 100644
index bbccebf0..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-themes.php
+++ /dev/null
@@ -1,856 +0,0 @@
-<?php
-/**
- * Themes sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Sync\Defaults;
-
-/**
- * Class to handle sync for themes.
- */
-class Themes extends Module {
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'themes';
- }
-
- /**
- * Initialize themes action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- add_action( 'switch_theme', array( $this, 'sync_theme_support' ), 10, 3 );
- add_action( 'jetpack_sync_current_theme_support', $callable, 10, 2 );
- add_action( 'upgrader_process_complete', array( $this, 'check_upgrader' ), 10, 2 );
- add_action( 'jetpack_installed_theme', $callable, 10, 2 );
- add_action( 'jetpack_updated_themes', $callable, 10, 2 );
- add_action( 'delete_site_transient_update_themes', array( $this, 'detect_theme_deletion' ) );
- add_action( 'jetpack_deleted_theme', $callable, 10, 2 );
- add_filter( 'wp_redirect', array( $this, 'detect_theme_edit' ) );
- add_action( 'jetpack_edited_theme', $callable, 10, 2 );
- add_action( 'wp_ajax_edit-theme-plugin-file', array( $this, 'theme_edit_ajax' ), 0 );
- add_action( 'update_site_option_allowedthemes', array( $this, 'sync_network_allowed_themes_change' ), 10, 4 );
- add_action( 'jetpack_network_disabled_themes', $callable, 10, 2 );
- add_action( 'jetpack_network_enabled_themes', $callable, 10, 2 );
-
- // Sidebar updates.
- add_action( 'update_option_sidebars_widgets', array( $this, 'sync_sidebar_widgets_actions' ), 10, 2 );
-
- add_action( 'jetpack_widget_added', $callable, 10, 4 );
- add_action( 'jetpack_widget_removed', $callable, 10, 4 );
- add_action( 'jetpack_widget_moved_to_inactive', $callable, 10, 2 );
- add_action( 'jetpack_cleared_inactive_widgets', $callable );
- add_action( 'jetpack_widget_reordered', $callable, 10, 2 );
- add_filter( 'widget_update_callback', array( $this, 'sync_widget_edit' ), 10, 4 );
- add_action( 'jetpack_widget_edited', $callable );
- }
-
- /**
- * Sync handler for a widget edit.
- *
- * @access public
- *
- * @todo Implement nonce verification
- *
- * @param array $instance The current widget instance's settings.
- * @param array $new_instance Array of new widget settings.
- * @param array $old_instance Array of old widget settings.
- * @param \WP_Widget $widget_object The current widget instance.
- * @return array The current widget instance's settings.
- */
- public function sync_widget_edit( $instance, $new_instance, $old_instance, $widget_object ) {
- if ( empty( $old_instance ) ) {
- return $instance;
- }
-
- // Don't trigger sync action if this is an ajax request, because Customizer makes them during preview before saving changes.
- // phpcs:disable WordPress.Security.NonceVerification.Missing
- if ( defined( 'DOING_AJAX' ) && DOING_AJAX && isset( $_POST['customized'] ) ) {
- return $instance;
- }
-
- $widget = array(
- 'name' => $widget_object->name,
- 'id' => $widget_object->id,
- 'title' => isset( $new_instance['title'] ) ? $new_instance['title'] : '',
- );
- /**
- * Trigger action to alert $callable sync listener that a widget was edited.
- *
- * @since 5.0.0
- *
- * @param string $widget_name , Name of edited widget
- */
- do_action( 'jetpack_widget_edited', $widget );
-
- return $instance;
- }
-
- /**
- * Sync handler for network allowed themes change.
- *
- * @access public
- *
- * @param string $option Name of the network option.
- * @param mixed $value Current value of the network option.
- * @param mixed $old_value Old value of the network option.
- * @param int $network_id ID of the network.
- */
- public function sync_network_allowed_themes_change( $option, $value, $old_value, $network_id ) {
- $all_enabled_theme_slugs = array_keys( $value );
-
- if ( count( $old_value ) > count( $value ) ) {
-
- // Suppress jetpack_network_disabled_themes sync action when theme is deleted.
- $delete_theme_call = $this->get_delete_theme_call();
- if ( ! empty( $delete_theme_call ) ) {
- return;
- }
-
- $newly_disabled_theme_names = array_keys( array_diff_key( $old_value, $value ) );
- $newly_disabled_themes = $this->get_theme_details_for_slugs( $newly_disabled_theme_names );
- /**
- * Trigger action to alert $callable sync listener that network themes were disabled.
- *
- * @since 5.0.0
- *
- * @param mixed $newly_disabled_themes, Array of info about network disabled themes
- * @param mixed $all_enabled_theme_slugs, Array of slugs of all enabled themes
- */
- do_action( 'jetpack_network_disabled_themes', $newly_disabled_themes, $all_enabled_theme_slugs );
- return;
- }
-
- $newly_enabled_theme_names = array_keys( array_diff_key( $value, $old_value ) );
- $newly_enabled_themes = $this->get_theme_details_for_slugs( $newly_enabled_theme_names );
- /**
- * Trigger action to alert $callable sync listener that network themes were enabled
- *
- * @since 5.0.0
- *
- * @param mixed $newly_enabled_themes , Array of info about network enabled themes
- * @param mixed $all_enabled_theme_slugs, Array of slugs of all enabled themes
- */
- do_action( 'jetpack_network_enabled_themes', $newly_enabled_themes, $all_enabled_theme_slugs );
- }
-
- /**
- * Retrieve details for one or more themes by their slugs.
- *
- * @access private
- *
- * @param array $theme_slugs Theme slugs.
- * @return array Details for the themes.
- */
- private function get_theme_details_for_slugs( $theme_slugs ) {
- $theme_data = array();
- foreach ( $theme_slugs as $slug ) {
- $theme = wp_get_theme( $slug );
- $theme_data[ $slug ] = array(
- 'name' => $theme->get( 'Name' ),
- 'version' => $theme->get( 'Version' ),
- 'uri' => $theme->get( 'ThemeURI' ),
- 'slug' => $slug,
- );
- }
- return $theme_data;
- }
-
- /**
- * Detect a theme edit during a redirect.
- *
- * @access public
- *
- * @param string $redirect_url Redirect URL.
- * @return string Redirect URL.
- */
- public function detect_theme_edit( $redirect_url ) {
- $url = wp_parse_url( admin_url( $redirect_url ) );
- $theme_editor_url = wp_parse_url( admin_url( 'theme-editor.php' ) );
-
- if ( $theme_editor_url['path'] !== $url['path'] ) {
- return $redirect_url;
- }
-
- $query_params = array();
- wp_parse_str( $url['query'], $query_params );
- if (
- ! isset( $_POST['newcontent'] ) ||
- ! isset( $query_params['file'] ) ||
- ! isset( $query_params['theme'] ) ||
- ! isset( $query_params['updated'] )
- ) {
- return $redirect_url;
- }
- $theme = wp_get_theme( $query_params['theme'] );
- $theme_data = array(
- 'name' => $theme->get( 'Name' ),
- 'version' => $theme->get( 'Version' ),
- 'uri' => $theme->get( 'ThemeURI' ),
- );
-
- /**
- * Trigger action to alert $callable sync listener that a theme was edited.
- *
- * @since 5.0.0
- *
- * @param string $query_params['theme'], Slug of edited theme
- * @param string $theme_data, Information about edited them
- */
- do_action( 'jetpack_edited_theme', $query_params['theme'], $theme_data );
-
- return $redirect_url;
- }
-
- /**
- * Handler for AJAX theme editing.
- *
- * @todo Refactor to use WP_Filesystem instead of fopen()/fclose().
- */
- public function theme_edit_ajax() {
- $args = wp_unslash( $_POST );
-
- if ( empty( $args['theme'] ) ) {
- return;
- }
-
- if ( empty( $args['file'] ) ) {
- return;
- }
- $file = $args['file'];
- if ( 0 !== validate_file( $file ) ) {
- return;
- }
-
- if ( ! isset( $args['newcontent'] ) ) {
- return;
- }
-
- if ( ! isset( $args['nonce'] ) ) {
- return;
- }
-
- $stylesheet = $args['theme'];
- if ( 0 !== validate_file( $stylesheet ) ) {
- return;
- }
-
- if ( ! current_user_can( 'edit_themes' ) ) {
- return;
- }
-
- $theme = wp_get_theme( $stylesheet );
- if ( ! $theme->exists() ) {
- return;
- }
-
- $real_file = $theme->get_stylesheet_directory() . '/' . $file;
- if ( ! wp_verify_nonce( $args['nonce'], 'edit-theme_' . $real_file . $stylesheet ) ) {
- return;
- }
-
- if ( $theme->errors() && 'theme_no_stylesheet' === $theme->errors()->get_error_code() ) {
- return;
- }
-
- $editable_extensions = wp_get_theme_file_editable_extensions( $theme );
-
- $allowed_files = array();
- foreach ( $editable_extensions as $type ) {
- switch ( $type ) {
- case 'php':
- $allowed_files = array_merge( $allowed_files, $theme->get_files( 'php', -1 ) );
- break;
- case 'css':
- $style_files = $theme->get_files( 'css', -1 );
- $allowed_files['style.css'] = $style_files['style.css'];
- $allowed_files = array_merge( $allowed_files, $style_files );
- break;
- default:
- $allowed_files = array_merge( $allowed_files, $theme->get_files( $type, -1 ) );
- break;
- }
- }
-
- if ( 0 !== validate_file( $real_file, $allowed_files ) ) {
- return;
- }
-
- // Ensure file is real.
- if ( ! is_file( $real_file ) ) {
- return;
- }
-
- // Ensure file extension is allowed.
- $extension = null;
- if ( preg_match( '/\.([^.]+)$/', $real_file, $matches ) ) {
- $extension = strtolower( $matches[1] );
- if ( ! in_array( $extension, $editable_extensions, true ) ) {
- return;
- }
- }
-
- if ( ! is_writeable( $real_file ) ) {
- return;
- }
-
- // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fopen
- $file_pointer = fopen( $real_file, 'w+' );
- if ( false === $file_pointer ) {
- return;
- }
- // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fclose
- fclose( $file_pointer );
-
- $theme_data = array(
- 'name' => $theme->get( 'Name' ),
- 'version' => $theme->get( 'Version' ),
- 'uri' => $theme->get( 'ThemeURI' ),
- );
-
- /**
- * This action is documented already in this file.
- */
- do_action( 'jetpack_edited_theme', $stylesheet, $theme_data );
- }
-
- /**
- * Detect a theme deletion.
- *
- * @access public
- */
- public function detect_theme_deletion() {
- $delete_theme_call = $this->get_delete_theme_call();
- if ( empty( $delete_theme_call ) ) {
- return;
- }
-
- $slug = $delete_theme_call['args'][0];
- $theme = wp_get_theme( $slug );
- $theme_data = array(
- 'name' => $theme->get( 'Name' ),
- 'version' => $theme->get( 'Version' ),
- 'uri' => $theme->get( 'ThemeURI' ),
- 'slug' => $slug,
- );
-
- /**
- * Signals to the sync listener that a theme was deleted and a sync action
- * reflecting the deletion and theme slug should be sent
- *
- * @since 5.0.0
- *
- * @param string $slug Theme slug
- * @param array $theme_data Theme info Since 5.3
- */
- do_action( 'jetpack_deleted_theme', $slug, $theme_data );
- }
-
- /**
- * Handle an upgrader completion action.
- *
- * @access public
- *
- * @param \WP_Upgrader $upgrader The upgrader instance.
- * @param array $details Array of bulk item update data.
- */
- public function check_upgrader( $upgrader, $details ) {
- if ( ! isset( $details['type'] ) ||
- 'theme' !== $details['type'] ||
- is_wp_error( $upgrader->skin->result ) ||
- ! method_exists( $upgrader, 'theme_info' )
- ) {
- return;
- }
-
- if ( 'install' === $details['action'] ) {
- $theme = $upgrader->theme_info();
- if ( ! $theme instanceof \WP_Theme ) {
- return;
- }
- $theme_info = array(
- 'name' => $theme->get( 'Name' ),
- 'version' => $theme->get( 'Version' ),
- 'uri' => $theme->get( 'ThemeURI' ),
- );
-
- /**
- * Signals to the sync listener that a theme was installed and a sync action
- * reflecting the installation and the theme info should be sent
- *
- * @since 4.9.0
- *
- * @param string $theme->theme_root Text domain of the theme
- * @param mixed $theme_info Array of abbreviated theme info
- */
- do_action( 'jetpack_installed_theme', $theme->stylesheet, $theme_info );
- }
-
- if ( 'update' === $details['action'] ) {
- $themes = array();
-
- if ( empty( $details['themes'] ) && isset( $details['theme'] ) ) {
- $details['themes'] = array( $details['theme'] );
- }
-
- foreach ( $details['themes'] as $theme_slug ) {
- $theme = wp_get_theme( $theme_slug );
-
- if ( ! $theme instanceof \WP_Theme ) {
- continue;
- }
-
- $themes[ $theme_slug ] = array(
- 'name' => $theme->get( 'Name' ),
- 'version' => $theme->get( 'Version' ),
- 'uri' => $theme->get( 'ThemeURI' ),
- 'stylesheet' => $theme->stylesheet,
- );
- }
-
- if ( empty( $themes ) ) {
- return;
- }
-
- /**
- * Signals to the sync listener that one or more themes was updated and a sync action
- * reflecting the update and the theme info should be sent
- *
- * @since 6.2.0
- *
- * @param mixed $themes Array of abbreviated theme info
- */
- do_action( 'jetpack_updated_themes', $themes );
- }
- }
-
- /**
- * Initialize themes action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_theme_data', $callable );
- }
-
- /**
- * Handle a theme switch.
- *
- * @access public
- *
- * @param string $new_name Name of the new theme.
- * @param \WP_Theme $new_theme The new theme.
- * @param \WP_Theme $old_theme The previous theme.
- */
- public function sync_theme_support( $new_name, $new_theme = null, $old_theme = null ) {
- $previous_theme = $this->get_theme_support_info( $old_theme );
-
- /**
- * Fires when the client needs to sync theme support info
- * Only sends theme support attributes whitelisted in Defaults::$default_theme_support_whitelist
- *
- * @since 4.2.0
- *
- * @param array the theme support array
- * @param array the previous theme since Jetpack 6.5.0
- */
- do_action( 'jetpack_sync_current_theme_support', $this->get_theme_support_info(), $previous_theme );
- }
-
- /**
- * Enqueue the themes actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- /**
- * Tells the client to sync all theme data to the server
- *
- * @since 4.2.0
- *
- * @param boolean Whether to expand theme data (should always be true)
- */
- do_action( 'jetpack_full_sync_theme_data', true );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 1, true );
- }
-
- /**
- * Send the themes actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $send_until The timestamp until the current request can send.
- * @param array $state This module Full Sync status.
- *
- * @return array This module Full Sync status.
- */
- public function send_full_sync_actions( $config, $send_until, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- // we call this instead of do_action when sending immediately.
- $this->send_action( 'jetpack_full_sync_theme_data', array( true ) );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 'finished' => true );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return array Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- return 1;
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_theme_data', array( $this, 'expand_theme_data' ) );
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_theme_data' );
- }
-
- /**
- * Expand the theme within a hook before it is serialized and sent to the server.
- *
- * @access public
- *
- * @return array Theme data.
- */
- public function expand_theme_data() {
- return array( $this->get_theme_support_info() );
- }
-
- /**
- * Retrieve the name of the widget by the widget ID.
- *
- * @access public
- * @global $wp_registered_widgets
- *
- * @param string $widget_id Widget ID.
- * @return string Name of the widget, or null if not found.
- */
- public function get_widget_name( $widget_id ) {
- global $wp_registered_widgets;
- return ( isset( $wp_registered_widgets[ $widget_id ] ) ? $wp_registered_widgets[ $widget_id ]['name'] : null );
- }
-
- /**
- * Retrieve the name of the sidebar by the sidebar ID.
- *
- * @access public
- * @global $wp_registered_sidebars
- *
- * @param string $sidebar_id Sidebar ID.
- * @return string Name of the sidebar, or null if not found.
- */
- public function get_sidebar_name( $sidebar_id ) {
- global $wp_registered_sidebars;
- return ( isset( $wp_registered_sidebars[ $sidebar_id ] ) ? $wp_registered_sidebars[ $sidebar_id ]['name'] : null );
- }
-
- /**
- * Sync addition of widgets to a sidebar.
- *
- * @access public
- *
- * @param array $new_widgets New widgets.
- * @param array $old_widgets Old widgets.
- * @param string $sidebar Sidebar ID.
- * @return array All widgets that have been moved to the sidebar.
- */
- public function sync_add_widgets_to_sidebar( $new_widgets, $old_widgets, $sidebar ) {
- $added_widgets = array_diff( $new_widgets, $old_widgets );
- if ( empty( $added_widgets ) ) {
- return array();
- }
- $moved_to_sidebar = array();
- $sidebar_name = $this->get_sidebar_name( $sidebar );
-
- // Don't sync jetpack_widget_added if theme was switched.
- if ( $this->is_theme_switch() ) {
- return array();
- }
-
- foreach ( $added_widgets as $added_widget ) {
- $moved_to_sidebar[] = $added_widget;
- $added_widget_name = $this->get_widget_name( $added_widget );
- /**
- * Helps Sync log that a widget got added
- *
- * @since 4.9.0
- *
- * @param string $sidebar, Sidebar id got changed
- * @param string $added_widget, Widget id got added
- * @param string $sidebar_name, Sidebar id got changed Since 5.0.0
- * @param string $added_widget_name, Widget id got added Since 5.0.0
- */
- do_action( 'jetpack_widget_added', $sidebar, $added_widget, $sidebar_name, $added_widget_name );
- }
- return $moved_to_sidebar;
- }
-
- /**
- * Sync removal of widgets from a sidebar.
- *
- * @access public
- *
- * @param array $new_widgets New widgets.
- * @param array $old_widgets Old widgets.
- * @param string $sidebar Sidebar ID.
- * @param array $inactive_widgets Current inactive widgets.
- * @return array All widgets that have been moved to inactive.
- */
- public function sync_remove_widgets_from_sidebar( $new_widgets, $old_widgets, $sidebar, $inactive_widgets ) {
- $removed_widgets = array_diff( $old_widgets, $new_widgets );
-
- if ( empty( $removed_widgets ) ) {
- return array();
- }
-
- $moved_to_inactive = array();
- $sidebar_name = $this->get_sidebar_name( $sidebar );
-
- foreach ( $removed_widgets as $removed_widget ) {
- // Lets check if we didn't move the widget to in_active_widgets.
- if ( isset( $inactive_widgets ) && ! in_array( $removed_widget, $inactive_widgets, true ) ) {
- $removed_widget_name = $this->get_widget_name( $removed_widget );
- /**
- * Helps Sync log that a widgte got removed
- *
- * @since 4.9.0
- *
- * @param string $sidebar, Sidebar id got changed
- * @param string $removed_widget, Widget id got removed
- * @param string $sidebar_name, Name of the sidebar that changed Since 5.0.0
- * @param string $removed_widget_name, Name of the widget that got removed Since 5.0.0
- */
- do_action( 'jetpack_widget_removed', $sidebar, $removed_widget, $sidebar_name, $removed_widget_name );
- } else {
- $moved_to_inactive[] = $removed_widget;
- }
- }
- return $moved_to_inactive;
-
- }
-
- /**
- * Sync a reorder of widgets within a sidebar.
- *
- * @access public
- *
- * @todo Refactor serialize() to a json_encode().
- *
- * @param array $new_widgets New widgets.
- * @param array $old_widgets Old widgets.
- * @param string $sidebar Sidebar ID.
- */
- public function sync_widgets_reordered( $new_widgets, $old_widgets, $sidebar ) {
- $added_widgets = array_diff( $new_widgets, $old_widgets );
- if ( ! empty( $added_widgets ) ) {
- return;
- }
- $removed_widgets = array_diff( $old_widgets, $new_widgets );
- if ( ! empty( $removed_widgets ) ) {
- return;
- }
-
- // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
- if ( serialize( $old_widgets ) !== serialize( $new_widgets ) ) {
- $sidebar_name = $this->get_sidebar_name( $sidebar );
- /**
- * Helps Sync log that a sidebar id got reordered
- *
- * @since 4.9.0
- *
- * @param string $sidebar, Sidebar id got changed
- * @param string $sidebar_name, Name of the sidebar that changed Since 5.0.0
- */
- do_action( 'jetpack_widget_reordered', $sidebar, $sidebar_name );
- }
-
- }
-
- /**
- * Handle the update of the sidebars and widgets mapping option.
- *
- * @access public
- *
- * @param mixed $old_value The old option value.
- * @param mixed $new_value The new option value.
- */
- public function sync_sidebar_widgets_actions( $old_value, $new_value ) {
- // Don't really know how to deal with different array_values yet.
- if (
- ( isset( $old_value['array_version'] ) && 3 !== $old_value['array_version'] ) ||
- ( isset( $new_value['array_version'] ) && 3 !== $new_value['array_version'] )
- ) {
- return;
- }
-
- $moved_to_inactive_ids = array();
- $moved_to_sidebar = array();
-
- foreach ( $new_value as $sidebar => $new_widgets ) {
- if ( in_array( $sidebar, array( 'array_version', 'wp_inactive_widgets' ), true ) ) {
- continue;
- }
- $old_widgets = isset( $old_value[ $sidebar ] )
- ? $old_value[ $sidebar ]
- : array();
-
- if ( ! is_array( $new_widgets ) ) {
- $new_widgets = array();
- }
-
- $moved_to_inactive_recently = $this->sync_remove_widgets_from_sidebar( $new_widgets, $old_widgets, $sidebar, $new_value['wp_inactive_widgets'] );
- $moved_to_inactive_ids = array_merge( $moved_to_inactive_ids, $moved_to_inactive_recently );
-
- $moved_to_sidebar_recently = $this->sync_add_widgets_to_sidebar( $new_widgets, $old_widgets, $sidebar );
- $moved_to_sidebar = array_merge( $moved_to_sidebar, $moved_to_sidebar_recently );
-
- $this->sync_widgets_reordered( $new_widgets, $old_widgets, $sidebar );
-
- }
-
- // Don't sync either jetpack_widget_moved_to_inactive or jetpack_cleared_inactive_widgets if theme was switched.
- if ( $this->is_theme_switch() ) {
- return;
- }
-
- // Treat inactive sidebar a bit differently.
- if ( ! empty( $moved_to_inactive_ids ) ) {
- $moved_to_inactive_name = array_map( array( $this, 'get_widget_name' ), $moved_to_inactive_ids );
- /**
- * Helps Sync log that a widgets IDs got moved to in active
- *
- * @since 4.9.0
- *
- * @param array $moved_to_inactive_ids, Array of widgets id that moved to inactive id got changed
- * @param array $moved_to_inactive_names, Array of widgets names that moved to inactive id got changed Since 5.0.0
- */
- do_action( 'jetpack_widget_moved_to_inactive', $moved_to_inactive_ids, $moved_to_inactive_name );
- } elseif ( empty( $moved_to_sidebar ) && empty( $new_value['wp_inactive_widgets'] ) && ! empty( $old_value['wp_inactive_widgets'] ) ) {
- /**
- * Helps Sync log that a got cleared from inactive.
- *
- * @since 4.9.0
- */
- do_action( 'jetpack_cleared_inactive_widgets' );
- }
- }
-
- /**
- * Retrieve the theme data for the current or a specific theme.
- *
- * @access private
- *
- * @param \WP_Theme $theme Theme object. Optional, will default to the current theme.
- * @return array Theme data.
- */
- private function get_theme_support_info( $theme = null ) {
- global $_wp_theme_features;
-
- $theme_support = array();
-
- // We are trying to get the current theme info.
- if ( null === $theme ) {
- $theme = wp_get_theme();
-
- foreach ( Defaults::$default_theme_support_whitelist as $theme_feature ) {
- $has_support = current_theme_supports( $theme_feature );
- if ( $has_support ) {
- $theme_support[ $theme_feature ] = $_wp_theme_features[ $theme_feature ];
- }
- }
- }
-
- $theme_support['name'] = $theme->get( 'Name' );
- $theme_support['version'] = $theme->get( 'Version' );
- $theme_support['slug'] = $theme->get_stylesheet();
- $theme_support['uri'] = $theme->get( 'ThemeURI' );
-
- return $theme_support;
- }
-
- /**
- * Whether we've deleted a theme in the current request.
- *
- * @access private
- *
- * @return boolean True if this is a theme deletion request, false otherwise.
- */
- private function get_delete_theme_call() {
- // Intentional usage of `debug_backtrace()` for production needs.
- // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace
- $backtrace = debug_backtrace();
- $delete_theme_call = null;
- foreach ( $backtrace as $call ) {
- if ( isset( $call['function'] ) && 'delete_theme' === $call['function'] ) {
- $delete_theme_call = $call;
- break;
- }
- }
- return $delete_theme_call;
- }
-
- /**
- * Whether we've switched to another theme in the current request.
- *
- * @access private
- *
- * @return boolean True if this is a theme switch request, false otherwise.
- */
- private function is_theme_switch() {
- return did_action( 'after_switch_theme' );
- }
-
- /**
- * Return Total number of objects.
- *
- * @param array $config Full Sync config.
- *
- * @return int total
- */
- public function total( $config ) {
- return 1;
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-updates.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-updates.php
deleted file mode 100644
index beeb9ca4..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-updates.php
+++ /dev/null
@@ -1,527 +0,0 @@
-<?php
-/**
- * Updates sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Constants as Jetpack_Constants;
-
-/**
- * Class to handle sync for updates.
- */
-class Updates extends Module {
- /**
- * Name of the updates checksum option.
- *
- * @var string
- */
- const UPDATES_CHECKSUM_OPTION_NAME = 'jetpack_updates_sync_checksum';
-
- /**
- * WordPress Version.
- *
- * @access private
- *
- * @var string
- */
- private $old_wp_version = null;
-
- /**
- * The current updates.
- *
- * @access private
- *
- * @var array
- */
- private $updates = array();
-
- /**
- * Set module defaults.
- *
- * @access public
- */
- public function set_defaults() {
- $this->updates = array();
- }
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'updates';
- }
-
- /**
- * Initialize updates action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- global $wp_version;
- $this->old_wp_version = $wp_version;
- add_action( 'set_site_transient_update_plugins', array( $this, 'validate_update_change' ), 10, 3 );
- add_action( 'set_site_transient_update_themes', array( $this, 'validate_update_change' ), 10, 3 );
- add_action( 'set_site_transient_update_core', array( $this, 'validate_update_change' ), 10, 3 );
-
- add_action( 'jetpack_update_plugins_change', $callable );
- add_action( 'jetpack_update_themes_change', $callable );
- add_action( 'jetpack_update_core_change', $callable );
-
- add_filter(
- 'jetpack_sync_before_enqueue_jetpack_update_plugins_change',
- array(
- $this,
- 'filter_update_keys',
- ),
- 10,
- 2
- );
- add_filter(
- 'jetpack_sync_before_enqueue_upgrader_process_complete',
- array(
- $this,
- 'filter_upgrader_process_complete',
- ),
- 10,
- 2
- );
-
- add_action( 'automatic_updates_complete', $callable );
-
- if ( is_multisite() ) {
- add_filter( 'pre_update_site_option_wpmu_upgrade_site', array( $this, 'update_core_network_event' ), 10, 2 );
- add_action( 'jetpack_sync_core_update_network', $callable, 10, 3 );
- }
-
- // Send data when update completes.
- add_action( '_core_updated_successfully', array( $this, 'update_core' ) );
- add_action( 'jetpack_sync_core_reinstalled_successfully', $callable );
- add_action( 'jetpack_sync_core_autoupdated_successfully', $callable, 10, 2 );
- add_action( 'jetpack_sync_core_updated_successfully', $callable, 10, 2 );
-
- }
-
- /**
- * Initialize updates action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_updates', $callable );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_updates', array( $this, 'expand_updates' ) );
- add_filter( 'jetpack_sync_before_send_jetpack_update_themes_change', array( $this, 'expand_themes' ) );
- }
-
- /**
- * Handle a core network update.
- *
- * @access public
- *
- * @param int $wp_db_version Current version of the WordPress database.
- * @param int $old_wp_db_version Old version of the WordPress database.
- * @return int Current version of the WordPress database.
- */
- public function update_core_network_event( $wp_db_version, $old_wp_db_version ) {
- global $wp_version;
- /**
- * Sync event for when core wp network updates to a new db version
- *
- * @since 5.0.0
- *
- * @param int $wp_db_version the latest wp_db_version
- * @param int $old_wp_db_version previous wp_db_version
- * @param string $wp_version the latest wp_version
- */
- do_action( 'jetpack_sync_core_update_network', $wp_db_version, $old_wp_db_version, $wp_version );
- return $wp_db_version;
- }
-
- /**
- * Handle a core update.
- *
- * @access public
- *
- * @todo Implement nonce or refactor to use `admin_post_{$action}` hooks instead.
- *
- * @param string $new_wp_version The new WP core version.
- */
- public function update_core( $new_wp_version ) {
- global $pagenow;
-
- // // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- if ( isset( $_GET['action'] ) && 'do-core-reinstall' === $_GET['action'] ) {
- /**
- * Sync event that fires when core reinstall was successful
- *
- * @since 5.0.0
- *
- * @param string $new_wp_version the updated WordPress version
- */
- do_action( 'jetpack_sync_core_reinstalled_successfully', $new_wp_version );
- return;
- }
-
- // Core was autoupdated.
- if (
- 'update-core.php' !== $pagenow &&
- ! Jetpack_Constants::is_true( 'REST_API_REQUEST' ) // WP.com rest api calls should never be marked as a core autoupdate.
- ) {
- /**
- * Sync event that fires when core autoupdate was successful
- *
- * @since 5.0.0
- *
- * @param string $new_wp_version the updated WordPress version
- * @param string $old_wp_version the previous WordPress version
- */
- do_action( 'jetpack_sync_core_autoupdated_successfully', $new_wp_version, $this->old_wp_version );
- return;
- }
- /**
- * Sync event that fires when core update was successful
- *
- * @since 5.0.0
- *
- * @param string $new_wp_version the updated WordPress version
- * @param string $old_wp_version the previous WordPress version
- */
- do_action( 'jetpack_sync_core_updated_successfully', $new_wp_version, $this->old_wp_version );
- }
-
- /**
- * Retrieve the checksum for an update.
- *
- * @access public
- *
- * @param object $update The update object.
- * @param string $transient The transient we're retrieving a checksum for.
- * @return int The checksum.
- */
- public function get_update_checksum( $update, $transient ) {
- $updates = array();
- $no_updated = array();
- switch ( $transient ) {
- case 'update_plugins':
- if ( ! empty( $update->response ) && is_array( $update->response ) ) {
- foreach ( $update->response as $plugin_slug => $response ) {
- if ( ! empty( $plugin_slug ) && isset( $response->new_version ) ) {
- $updates[] = array( $plugin_slug => $response->new_version );
- }
- }
- }
- if ( ! empty( $update->no_update ) ) {
- $no_updated = array_keys( $update->no_update );
- }
-
- if ( ! isset( $no_updated['jetpack/jetpack.php'] ) && isset( $updates['jetpack/jetpack.php'] ) ) {
- return false;
- }
-
- break;
- case 'update_themes':
- if ( ! empty( $update->response ) && is_array( $update->response ) ) {
- foreach ( $update->response as $theme_slug => $response ) {
- if ( ! empty( $theme_slug ) && isset( $response['new_version'] ) ) {
- $updates[] = array( $theme_slug => $response['new_version'] );
- }
- }
- }
-
- if ( ! empty( $update->checked ) ) {
- $no_updated = $update->checked;
- }
-
- break;
- case 'update_core':
- if ( ! empty( $update->updates ) && is_array( $update->updates ) ) {
- foreach ( $update->updates as $response ) {
- if ( ! empty( $response->response ) && 'latest' === $response->response ) {
- continue;
- }
- if ( ! empty( $response->response ) && isset( $response->packages->full ) ) {
- $updates[] = array( $response->response => $response->packages->full );
- }
- }
- }
-
- if ( ! empty( $update->version_checked ) ) {
- $no_updated = $update->version_checked;
- }
-
- if ( empty( $updates ) ) {
- return false;
- }
- break;
-
- }
- if ( empty( $updates ) && empty( $no_updated ) ) {
- return false;
- }
- return $this->get_check_sum( array( $no_updated, $updates ) );
- }
-
- /**
- * Validate a change coming from an update before sending for sync.
- *
- * @access public
- *
- * @param mixed $value Site transient value.
- * @param int $expiration Time until transient expiration in seconds.
- * @param string $transient Transient name.
- */
- public function validate_update_change( $value, $expiration, $transient ) {
- $new_checksum = $this->get_update_checksum( $value, $transient );
-
- if ( false === $new_checksum ) {
- return;
- }
-
- $checksums = get_option( self::UPDATES_CHECKSUM_OPTION_NAME, array() );
-
- if ( isset( $checksums[ $transient ] ) && $checksums[ $transient ] === $new_checksum ) {
- return;
- }
-
- $checksums[ $transient ] = $new_checksum;
-
- update_option( self::UPDATES_CHECKSUM_OPTION_NAME, $checksums );
- if ( 'update_core' === $transient ) {
- /**
- * Trigger a change to core update that we want to sync.
- *
- * @since 5.1.0
- *
- * @param array $value Contains info that tells us what needs updating.
- */
- do_action( 'jetpack_update_core_change', $value );
- return;
- }
- if ( empty( $this->updates ) ) {
- // Lets add the shutdown method once and only when the updates move from empty to filled with something.
- add_action( 'shutdown', array( $this, 'sync_last_event' ), 9 );
- }
- if ( ! isset( $this->updates[ $transient ] ) ) {
- $this->updates[ $transient ] = array();
- }
- $this->updates[ $transient ][] = $value;
- }
-
- /**
- * Sync the last update only.
- *
- * @access public
- */
- public function sync_last_event() {
- foreach ( $this->updates as $transient => $values ) {
- $value = end( $values ); // Only send over the last value.
- /**
- * Trigger a change to a specific update that we want to sync.
- * Triggers one of the following actions:
- * - jetpack_{$transient}_change
- * - jetpack_update_plugins_change
- * - jetpack_update_themes_change
- *
- * @since 5.1.0
- *
- * @param array $value Contains info that tells us what needs updating.
- */
- do_action( "jetpack_{$transient}_change", $value );
- }
-
- }
-
- /**
- * Enqueue the updates actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- /**
- * Tells the client to sync all updates to the server
- *
- * @since 4.2.0
- *
- * @param boolean Whether to expand updates (should always be true)
- */
- do_action( 'jetpack_full_sync_updates', true );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 1, true );
- }
-
- /**
- * Send the updates actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $send_until The timestamp until the current request can send.
- * @param array $state This module Full Sync status.
- *
- * @return array This module Full Sync status.
- */
- public function send_full_sync_actions( $config, $send_until, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- // we call this instead of do_action when sending immediately.
- $this->send_action( 'jetpack_full_sync_updates', array( true ) );
-
- // The number of actions enqueued, and next module state (true == done).
- return array( 'finished' => true );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return array Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- return 1;
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_updates' );
- }
-
- /**
- * Retrieve all updates that we're interested in.
- *
- * @access public
- *
- * @return array All updates.
- */
- public function get_all_updates() {
- return array(
- 'core' => get_site_transient( 'update_core' ),
- 'plugins' => get_site_transient( 'update_plugins' ),
- 'themes' => get_site_transient( 'update_themes' ),
- );
- }
-
- /**
- * Remove unnecessary keys from synced updates data.
- *
- * @access public
- *
- * @param array $args Hook arguments.
- * @return array $args Hook arguments.
- */
- public function filter_update_keys( $args ) {
- $updates = $args[0];
-
- if ( isset( $updates->no_update ) ) {
- unset( $updates->no_update );
- }
-
- return $args;
- }
-
- /**
- * Filter out upgrader object from the completed upgrader action args.
- *
- * @access public
- *
- * @param array $args Hook arguments.
- * @return array $args Filtered hook arguments.
- */
- public function filter_upgrader_process_complete( $args ) {
- array_shift( $args );
-
- return $args;
- }
-
- /**
- * Expand the updates within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The hook parameters.
- */
- public function expand_updates( $args ) {
- if ( $args[0] ) {
- return $this->get_all_updates();
- }
-
- return $args;
- }
-
- /**
- * Expand the themes within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook parameters.
- * @return array $args The hook parameters.
- */
- public function expand_themes( $args ) {
- if ( ! isset( $args[0], $args[0]->response ) ) {
- return $args;
- }
- if ( ! is_array( $args[0]->response ) ) {
- // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
- trigger_error( 'Warning: Not an Array as expected but -> ' . wp_json_encode( $args[0]->response ) . ' instead', E_USER_WARNING );
- return $args;
- }
- foreach ( $args[0]->response as $stylesheet => &$theme_data ) {
- $theme = wp_get_theme( $stylesheet );
- $theme_data['name'] = $theme->name;
- }
- return $args;
- }
-
- /**
- * Perform module cleanup.
- * Deletes any transients and options that this module uses.
- * Usually triggered when uninstalling the plugin.
- *
- * @access public
- */
- public function reset_data() {
- delete_option( self::UPDATES_CHECKSUM_OPTION_NAME );
- }
-
- /**
- * Return Total number of objects.
- *
- * @param array $config Full Sync config.
- *
- * @return int total
- */
- public function total( $config ) {
- return 3;
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-users.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-users.php
deleted file mode 100644
index 3b259a98..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-users.php
+++ /dev/null
@@ -1,865 +0,0 @@
-<?php
-/**
- * Users sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-use Automattic\Jetpack\Constants as Jetpack_Constants;
-use Automattic\Jetpack\Sync\Defaults;
-
-/**
- * Class to handle sync for users.
- */
-class Users extends Module {
- /**
- * Maximum number of users to sync initially.
- *
- * @var int
- */
- const MAX_INITIAL_SYNC_USERS = 100;
-
- /**
- * User flags we care about.
- *
- * @access protected
- *
- * @var array
- */
- protected $flags = array();
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'users';
- }
-
- /**
- * The table in the database.
- *
- * @access public
- *
- * @return string
- */
- public function table_name() {
- return 'usermeta';
- }
-
- /**
- * The id field in the database.
- *
- * @access public
- *
- * @return string
- */
- public function id_field() {
- return 'user_id';
- }
-
- /**
- * Retrieve a user by its ID.
- * This is here to support the backfill API.
- *
- * @access public
- *
- * @param string $object_type Type of the sync object.
- * @param int $id ID of the sync object.
- * @return \WP_User|bool Filtered \WP_User object, or false if the object is not a user.
- */
- public function get_object_by_id( $object_type, $id ) {
- if ( 'user' === $object_type ) {
- $user = get_user_by( 'id', intval( $id ) );
- if ( $user ) {
- return $this->sanitize_user_and_expand( $user );
- }
- }
-
- return false;
- }
-
- /**
- * Initialize users action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- // Users.
- add_action( 'user_register', array( $this, 'user_register_handler' ) );
- add_action( 'profile_update', array( $this, 'save_user_handler' ), 10, 2 );
-
- add_action( 'add_user_to_blog', array( $this, 'add_user_to_blog_handler' ) );
- add_action( 'jetpack_sync_add_user', $callable, 10, 2 );
-
- add_action( 'jetpack_sync_register_user', $callable, 10, 2 );
- add_action( 'jetpack_sync_save_user', $callable, 10, 2 );
-
- add_action( 'jetpack_sync_user_locale', $callable, 10, 2 );
- add_action( 'jetpack_sync_user_locale_delete', $callable, 10, 1 );
-
- add_action( 'deleted_user', array( $this, 'deleted_user_handler' ), 10, 2 );
- add_action( 'jetpack_deleted_user', $callable, 10, 3 );
- add_action( 'remove_user_from_blog', array( $this, 'remove_user_from_blog_handler' ), 10, 2 );
- add_action( 'jetpack_removed_user_from_blog', $callable, 10, 2 );
-
- // User roles.
- add_action( 'add_user_role', array( $this, 'save_user_role_handler' ), 10, 2 );
- add_action( 'set_user_role', array( $this, 'save_user_role_handler' ), 10, 3 );
- add_action( 'remove_user_role', array( $this, 'save_user_role_handler' ), 10, 2 );
-
- // User capabilities.
- add_action( 'added_user_meta', array( $this, 'maybe_save_user_meta' ), 10, 4 );
- add_action( 'updated_user_meta', array( $this, 'maybe_save_user_meta' ), 10, 4 );
- add_action( 'deleted_user_meta', array( $this, 'maybe_save_user_meta' ), 10, 4 );
-
- // User authentication.
- add_filter( 'authenticate', array( $this, 'authenticate_handler' ), 1000, 3 );
- add_action( 'wp_login', array( $this, 'wp_login_handler' ), 10, 2 );
-
- add_action( 'jetpack_wp_login', $callable, 10, 3 );
-
- add_action( 'wp_logout', $callable, 10, 0 );
- add_action( 'wp_masterbar_logout', $callable, 10, 0 );
-
- // Add on init.
- add_filter( 'jetpack_sync_before_enqueue_jetpack_sync_add_user', array( $this, 'expand_action' ) );
- add_filter( 'jetpack_sync_before_enqueue_jetpack_sync_register_user', array( $this, 'expand_action' ) );
- add_filter( 'jetpack_sync_before_enqueue_jetpack_sync_save_user', array( $this, 'expand_action' ) );
- }
-
- /**
- * Initialize users action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_users', $callable );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- add_filter( 'jetpack_sync_before_send_jetpack_wp_login', array( $this, 'expand_login_username' ), 10, 1 );
- add_filter( 'jetpack_sync_before_send_wp_logout', array( $this, 'expand_logout_username' ), 10, 2 );
-
- // Full sync.
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_users', array( $this, 'expand_users' ) );
- }
-
- /**
- * Retrieve a user by a user ID or object.
- *
- * @access private
- *
- * @param mixed $user User object or ID.
- * @return \WP_User User object, or `null` if user invalid/not found.
- */
- private function get_user( $user ) {
- if ( is_numeric( $user ) ) {
- $user = get_user_by( 'id', $user );
- }
- if ( $user instanceof \WP_User ) {
- return $user;
- }
- return null;
- }
-
- /**
- * Sanitize a user object.
- * Removes the password from the user object because we don't want to sync it.
- *
- * @access public
- *
- * @todo Refactor `serialize`/`unserialize` to `wp_json_encode`/`wp_json_decode`.
- *
- * @param \WP_User $user User object.
- * @return \WP_User Sanitized user object.
- */
- public function sanitize_user( $user ) {
- $user = $this->get_user( $user );
- // This creates a new user object and stops the passing of the object by reference.
- // // phpcs:disable WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize, WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize
- $user = unserialize( serialize( $user ) );
-
- if ( is_object( $user ) && is_object( $user->data ) ) {
- unset( $user->data->user_pass );
- }
- return $user;
- }
-
- /**
- * Expand a particular user.
- *
- * @access public
- *
- * @param \WP_User $user User object.
- * @return \WP_User Expanded user object.
- */
- public function expand_user( $user ) {
- if ( ! is_object( $user ) ) {
- return null;
- }
- $user->allowed_mime_types = get_allowed_mime_types( $user );
- $user->allcaps = $this->get_real_user_capabilities( $user );
-
- // Only set the user locale if it is different from the site locale.
- if ( get_locale() !== get_user_locale( $user->ID ) ) {
- $user->locale = get_user_locale( $user->ID );
- }
-
- return $user;
- }
-
- /**
- * Retrieve capabilities we care about for a particular user.
- *
- * @access public
- *
- * @param \WP_User $user User object.
- * @return array User capabilities.
- */
- public function get_real_user_capabilities( $user ) {
- $user_capabilities = array();
- if ( is_wp_error( $user ) ) {
- return $user_capabilities;
- }
- foreach ( Defaults::get_capabilities_whitelist() as $capability ) {
- if ( user_can( $user, $capability ) ) {
- $user_capabilities[ $capability ] = true;
- }
- }
- return $user_capabilities;
- }
-
- /**
- * Retrieve, expand and sanitize a user.
- * Can be directly used in the sync user action handlers.
- *
- * @access public
- *
- * @param mixed $user User ID or user object.
- * @return \WP_User Expanded and sanitized user object.
- */
- public function sanitize_user_and_expand( $user ) {
- $user = $this->get_user( $user );
- $user = $this->expand_user( $user );
- return $this->sanitize_user( $user );
- }
-
- /**
- * Expand the user within a hook before it is serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook arguments.
- * @return array $args The hook arguments.
- */
- public function expand_action( $args ) {
- // The first argument is always the user.
- list( $user ) = $args;
- if ( $user ) {
- $args[0] = $this->sanitize_user_and_expand( $user );
- return $args;
- }
-
- return false;
- }
-
- /**
- * Expand the user username at login before being sent to the server.
- *
- * @access public
- *
- * @param array $args The hook arguments.
- * @return array $args Expanded hook arguments.
- */
- public function expand_login_username( $args ) {
- list( $login, $user, $flags ) = $args;
- $user = $this->sanitize_user( $user );
-
- return array( $login, $user, $flags );
- }
-
- /**
- * Expand the user username at logout before being sent to the server.
- *
- * @access public
- *
- * @param array $args The hook arguments.
- * @param int $user_id ID of the user.
- * @return array $args Expanded hook arguments.
- */
- public function expand_logout_username( $args, $user_id ) {
- $user = get_userdata( $user_id );
- $user = $this->sanitize_user( $user );
-
- $login = '';
- if ( is_object( $user ) && is_object( $user->data ) ) {
- $login = $user->data->user_login;
- }
-
- // If we don't have a user here lets not send anything.
- if ( empty( $login ) ) {
- return false;
- }
-
- return array( $login, $user );
- }
-
- /**
- * Additional processing is needed for wp_login so we introduce this wrapper handler.
- *
- * @access public
- *
- * @param string $user_login The user login.
- * @param \WP_User $user The user object.
- */
- public function wp_login_handler( $user_login, $user ) {
- /**
- * Fires when a user is logged into a site.
- *
- * @since 7.2.0
- *
- * @param int $user_id The user ID.
- * @param \WP_User $user The User Object of the user that currently logged in.
- * @param array $params Any Flags that have been added during login.
- */
- do_action( 'jetpack_wp_login', $user->ID, $user, $this->get_flags( $user->ID ) );
- $this->clear_flags( $user->ID );
- }
-
- /**
- * A hook for the authenticate event that checks the password strength.
- *
- * @access public
- *
- * @param \WP_Error|\WP_User $user The user object, or an error.
- * @param string $username The username.
- * @param string $password The password used to authenticate.
- * @return \WP_Error|\WP_User the same object that was passed into the function.
- */
- public function authenticate_handler( $user, $username, $password ) {
- // In case of cookie authentication we don't do anything here.
- if ( empty( $password ) ) {
- return $user;
- }
-
- // We are only interested in successful authentication events.
- if ( is_wp_error( $user ) || ! ( $user instanceof \WP_User ) ) {
- return $user;
- }
-
- jetpack_require_lib( 'class.jetpack-password-checker' );
- $password_checker = new \Jetpack_Password_Checker( $user->ID );
-
- $test_results = $password_checker->test( $password, true );
-
- // If the password passes tests, we don't do anything.
- if ( empty( $test_results['test_results']['failed'] ) ) {
- return $user;
- }
-
- $this->add_flags(
- $user->ID,
- array(
- 'warning' => 'The password failed at least one strength test.',
- 'failures' => $test_results['test_results']['failed'],
- )
- );
-
- return $user;
- }
-
- /**
- * Handler for after the user is deleted.
- *
- * @access public
- *
- * @param int $deleted_user_id ID of the deleted user.
- * @param int $reassigned_user_id ID of the user the deleted user's posts are reassigned to (if any).
- */
- public function deleted_user_handler( $deleted_user_id, $reassigned_user_id = '' ) {
- $is_multisite = is_multisite();
- /**
- * Fires when a user is deleted on a site
- *
- * @since 5.4.0
- *
- * @param int $deleted_user_id - ID of the deleted user.
- * @param int $reassigned_user_id - ID of the user the deleted user's posts are reassigned to (if any).
- * @param bool $is_multisite - Whether this site is a multisite installation.
- */
- do_action( 'jetpack_deleted_user', $deleted_user_id, $reassigned_user_id, $is_multisite );
- }
-
- /**
- * Handler for user registration.
- *
- * @access public
- *
- * @param int $user_id ID of the deleted user.
- */
- public function user_register_handler( $user_id ) {
- // Ensure we only sync users who are members of the current blog.
- if ( ! is_user_member_of_blog( $user_id, get_current_blog_id() ) ) {
- return;
- }
-
- if ( Jetpack_Constants::is_true( 'JETPACK_INVITE_ACCEPTED' ) ) {
- $this->add_flags( $user_id, array( 'invitation_accepted' => true ) );
- }
- /**
- * Fires when a new user is registered on a site
- *
- * @since 4.9.0
- *
- * @param object The WP_User object
- */
- do_action( 'jetpack_sync_register_user', $user_id, $this->get_flags( $user_id ) );
- $this->clear_flags( $user_id );
-
- }
-
- /**
- * Handler for user addition to the current blog.
- *
- * @access public
- *
- * @param int $user_id ID of the user.
- */
- public function add_user_to_blog_handler( $user_id ) {
- // Ensure we only sync users who are members of the current blog.
- if ( ! is_user_member_of_blog( $user_id, get_current_blog_id() ) ) {
- return;
- }
-
- if ( Jetpack_Constants::is_true( 'JETPACK_INVITE_ACCEPTED' ) ) {
- $this->add_flags( $user_id, array( 'invitation_accepted' => true ) );
- }
-
- /**
- * Fires when a user is added on a site
- *
- * @since 4.9.0
- *
- * @param object The WP_User object
- */
- do_action( 'jetpack_sync_add_user', $user_id, $this->get_flags( $user_id ) );
- $this->clear_flags( $user_id );
- }
-
- /**
- * Handler for user save.
- *
- * @access public
- *
- * @param int $user_id ID of the user.
- * @param \WP_User $old_user_data User object before the changes.
- */
- public function save_user_handler( $user_id, $old_user_data = null ) {
- // Ensure we only sync users who are members of the current blog.
- if ( ! is_user_member_of_blog( $user_id, get_current_blog_id() ) ) {
- return;
- }
-
- $user = get_user_by( 'id', $user_id );
-
- // Older versions of WP don't pass the old_user_data in ->data.
- if ( isset( $old_user_data->data ) ) {
- $old_user = $old_user_data->data;
- } else {
- $old_user = $old_user_data;
- }
-
- if ( null !== $old_user && $user->user_pass !== $old_user->user_pass ) {
- $this->flags[ $user_id ]['password_changed'] = true;
- }
- if ( null !== $old_user && $user->data->user_email !== $old_user->user_email ) {
- /**
- * The '_new_email' user meta is deleted right after the call to wp_update_user
- * that got us to this point so if it's still set then this was a user confirming
- * their new email address.
- */
- if ( 1 === intval( get_user_meta( $user->ID, '_new_email', true ) ) ) {
- $this->flags[ $user_id ]['email_changed'] = true;
- }
- }
-
- /**
- * Fires when the client needs to sync an updated user.
- *
- * @since 4.2.0
- *
- * @param \WP_User The WP_User object
- * @param array State - New since 5.8.0
- */
- do_action( 'jetpack_sync_save_user', $user_id, $this->get_flags( $user_id ) );
- $this->clear_flags( $user_id );
- }
-
- /**
- * Handler for user role change.
- *
- * @access public
- *
- * @param int $user_id ID of the user.
- * @param string $role New user role.
- * @param array $old_roles Previous user roles.
- */
- public function save_user_role_handler( $user_id, $role, $old_roles = null ) {
- $this->add_flags(
- $user_id,
- array(
- 'role_changed' => true,
- 'previous_role' => $old_roles,
- )
- );
-
- // The jetpack_sync_register_user payload is identical to jetpack_sync_save_user, don't send both.
- if ( $this->is_create_user() || $this->is_add_user_to_blog() ) {
- return;
- }
- /**
- * This action is documented already in this file
- */
- do_action( 'jetpack_sync_save_user', $user_id, $this->get_flags( $user_id ) );
- $this->clear_flags( $user_id );
- }
-
- /**
- * Retrieve current flags for a particular user.
- *
- * @access public
- *
- * @param int $user_id ID of the user.
- * @return array Current flags of the user.
- */
- public function get_flags( $user_id ) {
- if ( isset( $this->flags[ $user_id ] ) ) {
- return $this->flags[ $user_id ];
- }
- return array();
- }
-
- /**
- * Clear the flags of a particular user.
- *
- * @access public
- *
- * @param int $user_id ID of the user.
- */
- public function clear_flags( $user_id ) {
- if ( isset( $this->flags[ $user_id ] ) ) {
- unset( $this->flags[ $user_id ] );
- }
- }
-
- /**
- * Add flags to a particular user.
- *
- * @access public
- *
- * @param int $user_id ID of the user.
- * @param array $flags New flags to add for the user.
- */
- public function add_flags( $user_id, $flags ) {
- $this->flags[ $user_id ] = wp_parse_args( $flags, $this->get_flags( $user_id ) );
- }
-
- /**
- * Save the user meta, if we're interested in it.
- * Also uses the time to add flags for the user.
- *
- * @access public
- *
- * @param int $meta_id ID of the meta object.
- * @param int $user_id ID of the user.
- * @param string $meta_key Meta key.
- * @param mixed $value Meta value.
- */
- public function maybe_save_user_meta( $meta_id, $user_id, $meta_key, $value ) {
- if ( 'locale' === $meta_key ) {
- $this->add_flags( $user_id, array( 'locale_changed' => true ) );
- }
-
- $user = get_user_by( 'id', $user_id );
- if ( isset( $user->cap_key ) && $meta_key === $user->cap_key ) {
- $this->add_flags( $user_id, array( 'capabilities_changed' => true ) );
- }
-
- if ( $this->is_create_user() || $this->is_add_user_to_blog() || $this->is_delete_user() ) {
- return;
- }
-
- if ( isset( $this->flags[ $user_id ] ) ) {
- /**
- * This action is documented already in this file
- */
- do_action( 'jetpack_sync_save_user', $user_id, $this->get_flags( $user_id ) );
- }
- }
-
- /**
- * Enqueue the users actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) {
- global $wpdb;
-
- return $this->enqueue_all_ids_as_action( 'jetpack_full_sync_users', $wpdb->usermeta, 'user_id', $this->get_where_sql( $config ), $max_items_to_enqueue, $state );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @todo Refactor to prepare the SQL query before executing it.
- *
- * @param array $config Full sync configuration for this sync module.
- * @return array Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) {
- global $wpdb;
-
- $query = "SELECT count(*) FROM $wpdb->usermeta";
-
- $where_sql = $this->get_where_sql( $config );
- if ( $where_sql ) {
- $query .= ' WHERE ' . $where_sql;
- }
-
- // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- $count = $wpdb->get_var( $query );
-
- return (int) ceil( $count / self::ARRAY_CHUNK_SIZE );
- }
-
- /**
- * Retrieve the WHERE SQL clause based on the module config.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @return string WHERE SQL clause, or `null` if no comments are specified in the module config.
- */
- public function get_where_sql( $config ) {
- global $wpdb;
-
- $query = "meta_key = '{$wpdb->prefix}capabilities'";
-
- // The $config variable is a list of user IDs to sync.
- if ( is_array( $config ) ) {
- $query .= ' AND user_id IN (' . implode( ',', array_map( 'intval', $config ) ) . ')';
- }
-
- return $query;
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_users' );
- }
-
- /**
- * Retrieve initial sync user config.
- *
- * @access public
- *
- * @todo Refactor the SQL query to call $wpdb->prepare() before execution.
- *
- * @return array|boolean IDs of users to initially sync, or false if tbe number of users exceed the maximum.
- */
- public function get_initial_sync_user_config() {
- global $wpdb;
-
- // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- $user_ids = $wpdb->get_col( "SELECT user_id FROM $wpdb->usermeta WHERE meta_key = '{$wpdb->prefix}user_level' AND meta_value > 0 LIMIT " . ( self::MAX_INITIAL_SYNC_USERS + 1 ) );
-
- if ( count( $user_ids ) <= self::MAX_INITIAL_SYNC_USERS ) {
- return $user_ids;
- } else {
- return false;
- }
- }
-
- /**
- * Expand the users within a hook before they are serialized and sent to the server.
- *
- * @access public
- *
- * @param array $args The hook arguments.
- * @return array $args The hook arguments.
- */
- public function expand_users( $args ) {
- list( $user_ids, $previous_end ) = $args;
-
- return array(
- 'users' => array_map(
- array( $this, 'sanitize_user_and_expand' ),
- get_users(
- array(
- 'include' => $user_ids,
- 'orderby' => 'ID',
- 'order' => 'DESC',
- )
- )
- ),
- 'previous_end' => $previous_end,
- );
- }
-
- /**
- * Handler for user removal from a particular blog.
- *
- * @access public
- *
- * @param int $user_id ID of the user.
- * @param int $blog_id ID of the blog.
- */
- public function remove_user_from_blog_handler( $user_id, $blog_id ) {
- // User is removed on add, see https://github.com/WordPress/WordPress/blob/0401cee8b36df3def8e807dd766adc02b359dfaf/wp-includes/ms-functions.php#L2114.
- if ( $this->is_add_new_user_to_blog() ) {
- return;
- }
-
- $reassigned_user_id = $this->get_reassigned_network_user_id();
-
- // Note that we are in the context of the blog the user is removed from, see https://github.com/WordPress/WordPress/blob/473e1ba73bc5c18c72d7f288447503713d518790/wp-includes/ms-functions.php#L233.
- /**
- * Fires when a user is removed from a blog on a multisite installation
- *
- * @since 5.4.0
- *
- * @param int $user_id - ID of the removed user
- * @param int $reassigned_user_id - ID of the user the removed user's posts are reassigned to (if any).
- */
- do_action( 'jetpack_removed_user_from_blog', $user_id, $reassigned_user_id );
- }
-
- /**
- * Whether we're adding a new user to a blog in this request.
- *
- * @access protected
- *
- * @return boolean
- */
- protected function is_add_new_user_to_blog() {
- return $this->is_function_in_backtrace( 'add_new_user_to_blog' );
- }
-
- /**
- * Whether we're adding an existing user to a blog in this request.
- *
- * @access protected
- *
- * @return boolean
- */
- protected function is_add_user_to_blog() {
- return $this->is_function_in_backtrace( 'add_user_to_blog' );
- }
-
- /**
- * Whether we're removing a user from a blog in this request.
- *
- * @access protected
- *
- * @return boolean
- */
- protected function is_delete_user() {
- return $this->is_function_in_backtrace( array( 'wp_delete_user', 'remove_user_from_blog' ) );
- }
-
- /**
- * Whether we're creating a user or adding a new user to a blog.
- *
- * @access protected
- *
- * @return boolean
- */
- protected function is_create_user() {
- $functions = array(
- 'add_new_user_to_blog', // Used to suppress jetpack_sync_save_user in save_user_cap_handler when user registered on multi site.
- 'wp_create_user', // Used to suppress jetpack_sync_save_user in save_user_role_handler when user registered on multi site.
- 'wp_insert_user', // Used to suppress jetpack_sync_save_user in save_user_cap_handler and save_user_role_handler when user registered on single site.
- );
-
- return $this->is_function_in_backtrace( $functions );
- }
-
- /**
- * Retrieve the ID of the user the removed user's posts are reassigned to (if any).
- *
- * @return int ID of the user that got reassigned as the author of the posts.
- */
- protected function get_reassigned_network_user_id() {
- $backtrace = debug_backtrace( false ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace
- foreach ( $backtrace as $call ) {
- if (
- 'remove_user_from_blog' === $call['function'] &&
- 3 === count( $call['args'] )
- ) {
- return $call['args'][2];
- }
- }
-
- return false;
- }
-
- /**
- * Checks if one or more function names is in debug_backtrace.
- *
- * @access protected
- *
- * @param array|string $names Mixed string name of function or array of string names of functions.
- * @return bool
- */
- protected function is_function_in_backtrace( $names ) {
- $backtrace = debug_backtrace( false ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace
- if ( ! is_array( $names ) ) {
- $names = array( $names );
- }
- $names_as_keys = array_flip( $names );
-
- // Do check in constant O(1) time for PHP5.5+.
- if ( function_exists( 'array_column' ) ) {
- $backtrace_functions = array_column( $backtrace, 'function' ); // phpcs:ignore PHPCompatibility.FunctionUse.NewFunctions.array_columnFound
- $backtrace_functions_as_keys = array_flip( $backtrace_functions );
- $intersection = array_intersect_key( $backtrace_functions_as_keys, $names_as_keys );
- return ! empty( $intersection );
- }
-
- // Do check in linear O(n) time for < PHP5.5 ( using isset at least prevents O(n^2) ).
- foreach ( $backtrace as $call ) {
- if ( isset( $names_as_keys[ $call['function'] ] ) ) {
- return true;
- }
- }
- return false;
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php
deleted file mode 100644
index 0cbecb48..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php
+++ /dev/null
@@ -1,557 +0,0 @@
-<?php
-/**
- * WooCommerce sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-/**
- * Class to handle sync for WooCommerce.
- */
-class WooCommerce extends Module {
- /**
- * Whitelist for order item meta we are interested to sync.
- *
- * @access private
- *
- * @var array
- */
- private $order_item_meta_whitelist = array(
- // See https://github.com/woocommerce/woocommerce/blob/master/includes/data-stores/class-wc-order-item-product-store.php#L20 .
- '_product_id',
- '_variation_id',
- '_qty',
- // Tax ones also included in below class
- // See https://github.com/woocommerce/woocommerce/blob/master/includes/data-stores/class-wc-order-item-fee-data-store.php#L20 .
- '_tax_class',
- '_tax_status',
- '_line_subtotal',
- '_line_subtotal_tax',
- '_line_total',
- '_line_tax',
- '_line_tax_data',
- // See https://github.com/woocommerce/woocommerce/blob/master/includes/data-stores/class-wc-order-item-shipping-data-store.php#L20 .
- 'method_id',
- 'cost',
- 'total_tax',
- 'taxes',
- // See https://github.com/woocommerce/woocommerce/blob/master/includes/data-stores/class-wc-order-item-tax-data-store.php#L20 .
- 'rate_id',
- 'label',
- 'compound',
- 'tax_amount',
- 'shipping_tax_amount',
- // See https://github.com/woocommerce/woocommerce/blob/master/includes/data-stores/class-wc-order-item-coupon-data-store.php .
- 'discount_amount',
- 'discount_amount_tax',
- );
-
- /**
- * Name of the order item database table.
- *
- * @access private
- *
- * @var string
- */
- private $order_item_table_name;
-
- /**
- * The table in the database.
- *
- * @access public
- *
- * @return string
- */
- public function table_name() {
- return $this->order_item_table_name;
- }
-
- /**
- * Constructor.
- *
- * @global $wpdb
- *
- * @todo Should we refactor this to use $this->set_defaults() instead?
- */
- public function __construct() {
- global $wpdb;
- $this->order_item_table_name = $wpdb->prefix . 'woocommerce_order_items';
-
- // Options, constants and post meta whitelists.
- add_filter( 'jetpack_sync_options_whitelist', array( $this, 'add_woocommerce_options_whitelist' ), 10 );
- add_filter( 'jetpack_sync_constants_whitelist', array( $this, 'add_woocommerce_constants_whitelist' ), 10 );
- add_filter( 'jetpack_sync_post_meta_whitelist', array( $this, 'add_woocommerce_post_meta_whitelist' ), 10 );
- add_filter( 'jetpack_sync_comment_meta_whitelist', array( $this, 'add_woocommerce_comment_meta_whitelist' ), 10 );
-
- add_filter( 'jetpack_sync_before_enqueue_woocommerce_new_order_item', array( $this, 'filter_order_item' ) );
- add_filter( 'jetpack_sync_before_enqueue_woocommerce_update_order_item', array( $this, 'filter_order_item' ) );
- add_filter( 'jetpack_sync_whitelisted_comment_types', array( $this, 'add_review_comment_types' ) );
-
- // Blacklist Action Scheduler comment types.
- add_filter( 'jetpack_sync_prevent_sending_comment_data', array( $this, 'filter_action_scheduler_comments' ), 10, 2 );
- }
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'woocommerce';
- }
-
- /**
- * Initialize WooCommerce action listeners.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_listeners( $callable ) {
- // Attributes.
- add_action( 'woocommerce_attribute_added', $callable, 10, 2 );
- add_action( 'woocommerce_attribute_updated', $callable, 10, 3 );
- add_action( 'woocommerce_attribute_deleted', $callable, 10, 3 );
-
- // Orders.
- add_action( 'woocommerce_new_order', $callable, 10, 1 );
- add_action( 'woocommerce_order_status_changed', $callable, 10, 3 );
- add_action( 'woocommerce_payment_complete', $callable, 10, 1 );
-
- // Order items.
- add_action( 'woocommerce_new_order_item', $callable, 10, 4 );
- add_action( 'woocommerce_update_order_item', $callable, 10, 4 );
- add_action( 'woocommerce_delete_order_item', $callable, 10, 1 );
- $this->init_listeners_for_meta_type( 'order_item', $callable );
-
- // Payment tokens.
- add_action( 'woocommerce_new_payment_token', $callable, 10, 1 );
- add_action( 'woocommerce_payment_token_deleted', $callable, 10, 2 );
- add_action( 'woocommerce_payment_token_updated', $callable, 10, 1 );
- $this->init_listeners_for_meta_type( 'payment_token', $callable );
-
- // Product downloads.
- add_action( 'woocommerce_downloadable_product_download_log_insert', $callable, 10, 1 );
- add_action( 'woocommerce_grant_product_download_access', $callable, 10, 1 );
-
- // Tax rates.
- add_action( 'woocommerce_tax_rate_added', $callable, 10, 2 );
- add_action( 'woocommerce_tax_rate_updated', $callable, 10, 2 );
- add_action( 'woocommerce_tax_rate_deleted', $callable, 10, 1 );
-
- // Webhooks.
- add_action( 'woocommerce_new_webhook', $callable, 10, 1 );
- add_action( 'woocommerce_webhook_deleted', $callable, 10, 2 );
- add_action( 'woocommerce_webhook_updated', $callable, 10, 1 );
- }
-
- /**
- * Initialize WooCommerce action listeners for full sync.
- *
- * @access public
- *
- * @param callable $callable Action handler callable.
- */
- public function init_full_sync_listeners( $callable ) {
- add_action( 'jetpack_full_sync_woocommerce_order_items', $callable ); // Also sends post meta.
- }
-
- /**
- * Retrieve the actions that will be sent for this module during a full sync.
- *
- * @access public
- *
- * @return array Full sync actions of this module.
- */
- public function get_full_sync_actions() {
- return array( 'jetpack_full_sync_woocommerce_order_items' );
- }
-
- /**
- * Initialize the module in the sender.
- *
- * @access public
- */
- public function init_before_send() {
- // Full sync.
- add_filter( 'jetpack_sync_before_send_jetpack_full_sync_woocommerce_order_items', array( $this, 'expand_order_item_ids' ) );
- }
-
- /**
- * Expand the order items properly.
- *
- * @access public
- *
- * @param array $args The hook arguments.
- * @return array $args The hook arguments.
- */
- public function filter_order_item( $args ) {
- // Make sure we always have all the data - prior to WooCommerce 3.0 we only have the user supplied data in the second argument and not the full details.
- $args[1] = $this->build_order_item( $args[0] );
- return $args;
- }
-
- /**
- * Expand order item IDs to order items and their meta.
- *
- * @access public
- *
- * @todo Refactor table name to use a $wpdb->prepare placeholder.
- *
- * @param array $args The hook arguments.
- * @return array $args Expanded order items with meta.
- */
- public function expand_order_item_ids( $args ) {
- $order_item_ids = $args[0];
-
- global $wpdb;
-
- $order_item_ids_sql = implode( ', ', array_map( 'intval', $order_item_ids ) );
-
- $order_items = $wpdb->get_results(
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- "SELECT * FROM $this->order_item_table_name WHERE order_item_id IN ( $order_item_ids_sql )"
- );
-
- return array(
- $order_items,
- $this->get_metadata( $order_item_ids, 'order_item', $this->order_item_meta_whitelist ),
- );
- }
-
- /**
- * Extract the full order item from the database by its ID.
- *
- * @access public
- *
- * @todo Refactor table name to use a $wpdb->prepare placeholder.
- *
- * @param int $order_item_id Order item ID.
- * @return object Order item.
- */
- public function build_order_item( $order_item_id ) {
- global $wpdb;
- // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
- return $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $this->order_item_table_name WHERE order_item_id = %d", $order_item_id ) );
- }
-
- /**
- * Enqueue the WooCommerce actions for full sync.
- *
- * @access public
- *
- * @param array $config Full sync configuration for this sync module.
- * @param int $max_items_to_enqueue Maximum number of items to enqueue.
- * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
- * @return array Number of actions enqueued, and next module state.
- */
- public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) {
- return $this->enqueue_all_ids_as_action( 'jetpack_full_sync_woocommerce_order_items', $this->order_item_table_name, 'order_item_id', $this->get_where_sql( $config ), $max_items_to_enqueue, $state );
- }
-
- /**
- * Retrieve an estimated number of actions that will be enqueued.
- *
- * @access public
- *
- * @todo Refactor the SQL query to use $wpdb->prepare().
- *
- * @param array $config Full sync configuration for this sync module.
- * @return array Number of items yet to be enqueued.
- */
- public function estimate_full_sync_actions( $config ) {
- global $wpdb;
-
- $query = "SELECT count(*) FROM $this->order_item_table_name WHERE " . $this->get_where_sql( $config );
- // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
- $count = $wpdb->get_var( $query );
-
- return (int) ceil( $count / self::ARRAY_CHUNK_SIZE );
- }
-
- /**
- * Retrieve the WHERE SQL clause based on the module config.
- *
- * @access private
- *
- * @param array $config Full sync configuration for this sync module.
- * @return string WHERE SQL clause.
- */
- public function get_where_sql( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
- return '1=1';
- }
-
- /**
- * Add WooCommerce options to the options whitelist.
- *
- * @param array $list Existing options whitelist.
- * @return array Updated options whitelist.
- */
- public function add_woocommerce_options_whitelist( $list ) {
- return array_merge( $list, self::$wc_options_whitelist );
- }
-
- /**
- * Add WooCommerce constants to the constants whitelist.
- *
- * @param array $list Existing constants whitelist.
- * @return array Updated constants whitelist.
- */
- public function add_woocommerce_constants_whitelist( $list ) {
- return array_merge( $list, self::$wc_constants_whitelist );
- }
-
- /**
- * Add WooCommerce post meta to the post meta whitelist.
- *
- * @param array $list Existing post meta whitelist.
- * @return array Updated post meta whitelist.
- */
- public function add_woocommerce_post_meta_whitelist( $list ) {
- return array_merge( $list, self::$wc_post_meta_whitelist );
- }
-
- /**
- * Add WooCommerce comment meta to the comment meta whitelist.
- *
- * @param array $list Existing comment meta whitelist.
- * @return array Updated comment meta whitelist.
- */
- public function add_woocommerce_comment_meta_whitelist( $list ) {
- return array_merge( $list, self::$wc_comment_meta_whitelist );
- }
-
- /**
- * Adds 'revew' to the list of comment types so Sync will listen for status changes on 'reviews'.
- *
- * @access public
- *
- * @param array $comment_types The list of comment types prior to this filter.
- * return array The list of comment types with 'review' added.
- */
- public function add_review_comment_types( $comment_types ) {
- if ( is_array( $comment_types ) ) {
- $comment_types[] = 'review';
- }
- return $comment_types;
- }
-
- /**
- * Stop comments from the Action Scheduler from being synced.
- * https://github.com/woocommerce/woocommerce/tree/e7762627c37ec1f7590e6cac4218ba0c6a20024d/includes/libraries/action-scheduler
- *
- * @since 7.7.0
- *
- * @param boolean $can_sync Should we prevent comment data from bing synced to WordPress.com.
- * @param mixed $comment WP_COMMENT object.
- *
- * @return bool
- */
- public function filter_action_scheduler_comments( $can_sync, $comment ) {
- if ( isset( $comment->comment_agent ) && 'ActionScheduler' === $comment->comment_agent ) {
- return true;
- }
- return $can_sync;
- }
-
- /**
- * Whitelist for options we are interested to sync.
- *
- * @access private
- * @static
- *
- * @var array
- */
- private static $wc_options_whitelist = array(
- 'woocommerce_currency',
- 'woocommerce_db_version',
- 'woocommerce_weight_unit',
- 'woocommerce_version',
- 'woocommerce_unforce_ssl_checkout',
- 'woocommerce_tax_total_display',
- 'woocommerce_tax_round_at_subtotal',
- 'woocommerce_tax_display_shop',
- 'woocommerce_tax_display_cart',
- 'woocommerce_prices_include_tax',
- 'woocommerce_price_thousand_sep',
- 'woocommerce_price_num_decimals',
- 'woocommerce_price_decimal_sep',
- 'woocommerce_notify_low_stock',
- 'woocommerce_notify_low_stock_amount',
- 'woocommerce_notify_no_stock',
- 'woocommerce_notify_no_stock_amount',
- 'woocommerce_manage_stock',
- 'woocommerce_force_ssl_checkout',
- 'woocommerce_hide_out_of_stock_items',
- 'woocommerce_file_download_method',
- 'woocommerce_enable_signup_and_login_from_checkout',
- 'woocommerce_enable_shipping_calc',
- 'woocommerce_enable_review_rating',
- 'woocommerce_enable_guest_checkout',
- 'woocommerce_enable_coupons',
- 'woocommerce_enable_checkout_login_reminder',
- 'woocommerce_enable_ajax_add_to_cart',
- 'woocommerce_dimension_unit',
- 'woocommerce_default_country',
- 'woocommerce_default_customer_address',
- 'woocommerce_currency_pos',
- 'woocommerce_api_enabled',
- 'woocommerce_allow_tracking',
- );
-
- /**
- * Whitelist for constants we are interested to sync.
- *
- * @access private
- * @static
- *
- * @var array
- */
- private static $wc_constants_whitelist = array(
- // WooCommerce constants.
- 'WC_PLUGIN_FILE',
- 'WC_ABSPATH',
- 'WC_PLUGIN_BASENAME',
- 'WC_VERSION',
- 'WOOCOMMERCE_VERSION',
- 'WC_ROUNDING_PRECISION',
- 'WC_DISCOUNT_ROUNDING_MODE',
- 'WC_TAX_ROUNDING_MODE',
- 'WC_DELIMITER',
- 'WC_LOG_DIR',
- 'WC_SESSION_CACHE_GROUP',
- 'WC_TEMPLATE_DEBUG_MODE',
- );
-
- /**
- * Whitelist for post meta we are interested to sync.
- *
- * @access private
- * @static
- *
- * @var array
- */
- private static $wc_post_meta_whitelist = array(
- // WooCommerce products.
- // See https://github.com/woocommerce/woocommerce/blob/8ed6e7436ff87c2153ed30edd83c1ab8abbdd3e9/includes/data-stores/class-wc-product-data-store-cpt.php#L21 .
- '_visibility',
- '_sku',
- '_price',
- '_regular_price',
- '_sale_price',
- '_sale_price_dates_from',
- '_sale_price_dates_to',
- 'total_sales',
- '_tax_status',
- '_tax_class',
- '_manage_stock',
- '_backorders',
- '_sold_individually',
- '_weight',
- '_length',
- '_width',
- '_height',
- '_upsell_ids',
- '_crosssell_ids',
- '_purchase_note',
- '_default_attributes',
- '_product_attributes',
- '_virtual',
- '_downloadable',
- '_download_limit',
- '_download_expiry',
- '_featured',
- '_downloadable_files',
- '_wc_rating_count',
- '_wc_average_rating',
- '_wc_review_count',
- '_variation_description',
- '_thumbnail_id',
- '_file_paths',
- '_product_image_gallery',
- '_product_version',
- '_wp_old_slug',
-
- // Woocommerce orders.
- // See https://github.com/woocommerce/woocommerce/blob/8ed6e7436ff87c2153ed30edd83c1ab8abbdd3e9/includes/data-stores/class-wc-order-data-store-cpt.php#L27 .
- '_order_key',
- '_order_currency',
- // '_billing_first_name', do not sync these as they contain personal data
- // '_billing_last_name',
- // '_billing_company',
- // '_billing_address_1',
- // '_billing_address_2',
- '_billing_city',
- '_billing_state',
- '_billing_postcode',
- '_billing_country',
- // '_billing_email', do not sync these as they contain personal data.
- // '_billing_phone',
- // '_shipping_first_name',
- // '_shipping_last_name',
- // '_shipping_company',
- // '_shipping_address_1',
- // '_shipping_address_2',
- '_shipping_city',
- '_shipping_state',
- '_shipping_postcode',
- '_shipping_country',
- '_completed_date',
- '_paid_date',
- '_cart_discount',
- '_cart_discount_tax',
- '_order_shipping',
- '_order_shipping_tax',
- '_order_tax',
- '_order_total',
- '_payment_method',
- '_payment_method_title',
- // '_transaction_id', do not sync these as they contain personal data.
- // '_customer_ip_address',
- // '_customer_user_agent',
- '_created_via',
- '_order_version',
- '_prices_include_tax',
- '_date_completed',
- '_date_paid',
- '_payment_tokens',
- '_billing_address_index',
- '_shipping_address_index',
- '_recorded_sales',
- '_recorded_coupon_usage_counts',
- // See https://github.com/woocommerce/woocommerce/blob/8ed6e7436ff87c2153ed30edd83c1ab8abbdd3e9/includes/data-stores/class-wc-order-data-store-cpt.php#L539 .
- '_download_permissions_granted',
- // See https://github.com/woocommerce/woocommerce/blob/8ed6e7436ff87c2153ed30edd83c1ab8abbdd3e9/includes/data-stores/class-wc-order-data-store-cpt.php#L594 .
- '_order_stock_reduced',
-
- // Woocommerce order refunds.
- // See https://github.com/woocommerce/woocommerce/blob/b8a2815ae546c836467008739e7ff5150cb08e93/includes/data-stores/class-wc-order-refund-data-store-cpt.php#L20 .
- '_order_currency',
- '_refund_amount',
- '_refunded_by',
- '_refund_reason',
- '_order_shipping',
- '_order_shipping_tax',
- '_order_tax',
- '_order_total',
- '_order_version',
- '_prices_include_tax',
- '_payment_tokens',
- );
-
- /**
- * Whitelist for comment meta we are interested to sync.
- *
- * @access private
- * @static
- *
- * @var array
- */
- private static $wc_comment_meta_whitelist = array(
- 'rating',
- );
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-wp-super-cache.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-wp-super-cache.php
deleted file mode 100644
index af4aec41..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-wp-super-cache.php
+++ /dev/null
@@ -1,156 +0,0 @@
-<?php
-/**
- * WP_Super_Cache sync module.
- *
- * @package automattic/jetpack-sync
- */
-
-namespace Automattic\Jetpack\Sync\Modules;
-
-/**
- * Class to handle sync for WP_Super_Cache.
- */
-class WP_Super_Cache extends Module {
- /**
- * Constructor.
- *
- * @todo Should we refactor this to use $this->set_defaults() instead?
- */
- public function __construct() {
- add_filter( 'jetpack_sync_constants_whitelist', array( $this, 'add_wp_super_cache_constants_whitelist' ), 10 );
- add_filter( 'jetpack_sync_callable_whitelist', array( $this, 'add_wp_super_cache_callable_whitelist' ), 10 );
- }
-
- /**
- * Whitelist for constants we are interested to sync.
- *
- * @access public
- * @static
- *
- * @var array
- */
- public static $wp_super_cache_constants = array(
- 'WPLOCKDOWN',
- 'WPSC_DISABLE_COMPRESSION',
- 'WPSC_DISABLE_LOCKING',
- 'WPSC_DISABLE_HTACCESS_UPDATE',
- 'ADVANCEDCACHEPROBLEM',
- );
-
- /**
- * Container for the whitelist for WP_Super_Cache callables we are interested to sync.
- *
- * @access public
- * @static
- *
- * @var array
- */
- public static $wp_super_cache_callables = array(
- 'wp_super_cache_globals' => array( __CLASS__, 'get_wp_super_cache_globals' ),
- );
-
- /**
- * Sync module name.
- *
- * @access public
- *
- * @return string
- */
- public function name() {
- return 'wp-super-cache';
- }
-
- /**
- * Retrieve all WP_Super_Cache callables we are interested to sync.
- *
- * @access public
- *
- * @global $wp_cache_mod_rewrite;
- * @global $cache_enabled;
- * @global $super_cache_enabled;
- * @global $ossdlcdn;
- * @global $cache_rebuild_files;
- * @global $wp_cache_mobile;
- * @global $wp_super_cache_late_init;
- * @global $wp_cache_anon_only;
- * @global $wp_cache_not_logged_in;
- * @global $wp_cache_clear_on_post_edit;
- * @global $wp_cache_mobile_enabled;
- * @global $wp_super_cache_debug;
- * @global $cache_max_time;
- * @global $wp_cache_refresh_single_only;
- * @global $wp_cache_mfunc_enabled;
- * @global $wp_supercache_304;
- * @global $wp_cache_no_cache_for_get;
- * @global $wp_cache_mutex_disabled;
- * @global $cache_jetpack;
- * @global $cache_domain_mapping;
- *
- * @return array All WP_Super_Cache callables.
- */
- public static function get_wp_super_cache_globals() {
- global $wp_cache_mod_rewrite;
- global $cache_enabled;
- global $super_cache_enabled;
- global $ossdlcdn;
- global $cache_rebuild_files;
- global $wp_cache_mobile;
- global $wp_super_cache_late_init;
- global $wp_cache_anon_only;
- global $wp_cache_not_logged_in;
- global $wp_cache_clear_on_post_edit;
- global $wp_cache_mobile_enabled;
- global $wp_super_cache_debug;
- global $cache_max_time;
- global $wp_cache_refresh_single_only;
- global $wp_cache_mfunc_enabled;
- global $wp_supercache_304;
- global $wp_cache_no_cache_for_get;
- global $wp_cache_mutex_disabled;
- global $cache_jetpack;
- global $cache_domain_mapping;
-
- return array(
- 'wp_cache_mod_rewrite' => $wp_cache_mod_rewrite,
- 'cache_enabled' => $cache_enabled,
- 'super_cache_enabled' => $super_cache_enabled,
- 'ossdlcdn' => $ossdlcdn,
- 'cache_rebuild_files' => $cache_rebuild_files,
- 'wp_cache_mobile' => $wp_cache_mobile,
- 'wp_super_cache_late_init' => $wp_super_cache_late_init,
- 'wp_cache_anon_only' => $wp_cache_anon_only,
- 'wp_cache_not_logged_in' => $wp_cache_not_logged_in,
- 'wp_cache_clear_on_post_edit' => $wp_cache_clear_on_post_edit,
- 'wp_cache_mobile_enabled' => $wp_cache_mobile_enabled,
- 'wp_super_cache_debug' => $wp_super_cache_debug,
- 'cache_max_time' => $cache_max_time,
- 'wp_cache_refresh_single_only' => $wp_cache_refresh_single_only,
- 'wp_cache_mfunc_enabled' => $wp_cache_mfunc_enabled,
- 'wp_supercache_304' => $wp_supercache_304,
- 'wp_cache_no_cache_for_get' => $wp_cache_no_cache_for_get,
- 'wp_cache_mutex_disabled' => $wp_cache_mutex_disabled,
- 'cache_jetpack' => $cache_jetpack,
- 'cache_domain_mapping' => $cache_domain_mapping,
- );
- }
-
- /**
- * Add WP_Super_Cache constants to the constants whitelist.
- *
- * @param array $list Existing constants whitelist.
- * @return array Updated constants whitelist.
- */
- public function add_wp_super_cache_constants_whitelist( $list ) {
- return array_merge( $list, self::$wp_super_cache_constants );
- }
-
- /**
- * Add WP_Super_Cache callables to the callables whitelist.
- *
- * @param array $list Existing callables whitelist.
- * @return array Updated callables whitelist.
- */
- public function add_wp_super_cache_callable_whitelist( $list ) {
- return array_merge( $list, self::$wp_super_cache_callables );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php b/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php
deleted file mode 100644
index 8bd0f5b1..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php
+++ /dev/null
@@ -1,116 +0,0 @@
-<?php
-/**
- * A Terms of Service class for Jetpack.
- *
- * @package automattic/jetpack-terms-of-service
- */
-
-namespace Automattic\Jetpack;
-
-use Automattic\Jetpack\Connection\Manager;
-use Automattic\Jetpack\Status;
-
-/**
- * Class Terms_Of_Service
- *
- * Helper class that is responsible for the state of agreement of the terms of service.
- */
-class Terms_Of_Service {
- /**
- * Jetpack option name where the terms of service state is stored.
- *
- * @var string
- */
- const OPTION_NAME = 'tos_agreed';
-
- /**
- * Allow the site to agree to the terms of service.
- */
- public function agree() {
- $this->set_agree();
- /**
- * Acton fired when the master user has agreed to the terms of service.
- *
- * @since 7.9.0
- */
- do_action( 'jetpack_agreed_to_terms_of_service' );
- }
-
- /**
- * Allow the site to reject to the terms of service.
- */
- public function reject() {
- $this->set_reject();
- /**
- * Acton fired when the master user has revoked their agreement to the terms of service.
- *
- * @since 7.9.1
- */
- do_action( 'jetpack_reject_terms_of_service' );
- }
-
- /**
- * Returns whether the master user has agreed to the terms of service.
- *
- * The following conditions have to be met in order to agree to the terms of service.
- * 1. The master user has gone though the connect flow.
- * 2. The site is not in dev mode.
- * 3. The master user of the site is still connected.
- *
- * @return bool
- */
- public function has_agreed() {
- if ( $this->is_development_mode() ) {
- return false;
- }
-
- return $this->get_raw_has_agreed() || $this->is_active();
- }
-
- /**
- * Abstracted for testing purposes.
- * Tells us if the site is in dev mode.
- *
- * @return bool
- */
- protected function is_development_mode() {
- return ( new Status() )->is_development_mode();
- }
-
- /**
- * Tells us if the site is connected.
- * Abstracted for testing purposes.
- *
- * @return bool
- */
- protected function is_active() {
- return ( new Manager() )->is_active();
- }
-
- /**
- * Gets just the Jetpack Option that contains the terms of service state.
- * Abstracted for testing purposes.
- *
- * @return bool
- */
- protected function get_raw_has_agreed() {
- return \Jetpack_Options::get_option( self::OPTION_NAME, false );
- }
-
- /**
- * Sets the correct Jetpack Option to mark the that the site has agreed to the terms of service.
- * Abstracted for testing purposes.
- */
- protected function set_agree() {
- \Jetpack_Options::update_option( self::OPTION_NAME, true );
- }
-
- /**
- * Sets the correct Jetpack Option to mark that the site has rejected the terms of service.
- * Abstracted for testing purposes.
- */
- protected function set_reject() {
- \Jetpack_Options::update_option( self::OPTION_NAME, false );
- }
-
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php b/plugins/jetpack/vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php
deleted file mode 100644
index 0ea25184..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php
+++ /dev/null
@@ -1,228 +0,0 @@
-<?php
-/**
- * Legacy Jetpack Tracks Client
- *
- * @package Jetpack
- */
-
-/**
- * Jetpack_Tracks_Client
- *
- * @autounit nosara tracks-client
- *
- * Send Tracks events on behalf of a user
- *
- * Example Usage:
-```php
- require( dirname(__FILE__).'path/to/tracks/class-jetpack-tracks-client.php' );
-
- $result = Jetpack_Tracks_Client::record_event( array(
- '_en' => $event_name, // required
- '_ui' => $user_id, // required unless _ul is provided
- '_ul' => $user_login, // required unless _ui is provided
-
- // Optional, but recommended
- '_ts' => $ts_in_ms, // Default: now
- '_via_ip' => $client_ip, // we use it for geo, etc.
-
- // Possibly useful to set some context for the event
- '_via_ua' => $client_user_agent,
- '_via_url' => $client_url,
- '_via_ref' => $client_referrer,
-
- // For user-targeted tests
- 'abtest_name' => $abtest_name,
- 'abtest_variation' => $abtest_variation,
-
- // Your application-specific properties
- 'custom_property' => $some_value,
- ) );
-
- if ( is_wp_error( $result ) ) {
- // Handle the error in your app
- }
-```
- */
-class Jetpack_Tracks_Client {
- const PIXEL = 'https://pixel.wp.com/t.gif';
- const BROWSER_TYPE = 'php-agent';
- const USER_AGENT_SLUG = 'tracks-client';
- const VERSION = '0.3';
-
- /**
- * Stores the Terms of Service Object Reference.
- *
- * @var null
- */
- private static $terms_of_service = null;
-
- /**
- * Record an event.
- *
- * @param mixed $event Event object to send to Tracks. An array will be cast to object. Required.
- * Properties are included directly in the pixel query string after light validation.
- * @return mixed True on success, WP_Error on failure
- */
- public static function record_event( $event ) {
- if ( ! self::$terms_of_service ) {
- self::$terms_of_service = new \Automattic\Jetpack\Terms_Of_Service();
- }
-
- // Don't track users who have opted out or not agreed to our TOS, or are not running an active Jetpack.
- if ( ! self::$terms_of_service->has_agreed() || ! empty( $_COOKIE['tk_opt-out'] ) ) {
- return false;
- }
-
- if ( ! $event instanceof Jetpack_Tracks_Event ) {
- $event = new Jetpack_Tracks_Event( $event );
- }
- if ( is_wp_error( $event ) ) {
- return $event;
- }
-
- $pixel = $event->build_pixel_url( $event );
-
- if ( ! $pixel ) {
- return new WP_Error( 'invalid_pixel', 'cannot generate tracks pixel for given input', 400 );
- }
-
- return self::record_pixel( $pixel );
- }
-
- /**
- * Synchronously request the pixel.
- *
- * @param string $pixel The wp.com tracking pixel.
- * @return array|bool|WP_Error True if successful. wp_remote_get response or WP_Error if not.
- */
- public static function record_pixel( $pixel ) {
- // Add the Request Timestamp and URL terminator just before the HTTP request.
- $pixel .= '&_rt=' . self::build_timestamp() . '&_=_';
-
- $response = wp_remote_get(
- $pixel,
- array(
- 'blocking' => true, // The default, but being explicit here :).
- 'timeout' => 1,
- 'redirection' => 2,
- 'httpversion' => '1.1',
- 'user-agent' => self::get_user_agent(),
- )
- );
-
- if ( is_wp_error( $response ) ) {
- return $response;
- }
-
- $code = isset( $response['response']['code'] ) ? $response['response']['code'] : 0;
-
- if ( 200 !== $code ) {
- return new WP_Error( 'request_failed', 'Tracks pixel request failed', $code );
- }
-
- return true;
- }
-
- /**
- * Get the user agent.
- *
- * @return string The user agent.
- */
- public static function get_user_agent() {
- return self::USER_AGENT_SLUG . '-v' . self::VERSION;
- }
-
- /**
- * Build an event and return its tracking URL
- *
- * @deprecated Call the `build_pixel_url` method on a Jetpack_Tracks_Event object instead.
- * @param array $event Event keys and values.
- * @return string URL of a tracking pixel.
- */
- public static function build_pixel_url( $event ) {
- $_event = new Jetpack_Tracks_Event( $event );
- return $_event->build_pixel_url();
- }
-
- /**
- * Validate input for a tracks event.
- *
- * @deprecated Instantiate a Jetpack_Tracks_Event object instead
- * @param array $event Event keys and values.
- * @return mixed Validated keys and values or WP_Error on failure
- */
- private static function validate_and_sanitize( $event ) {
- $_event = new Jetpack_Tracks_Event( $event );
- if ( is_wp_error( $_event ) ) {
- return $_event;
- }
- return get_object_vars( $_event );
- }
-
- /**
- * Builds a timestamp.
- *
- * Milliseconds since 1970-01-01.
- *
- * @return string
- */
- public static function build_timestamp() {
- $ts = round( microtime( true ) * 1000 );
- return number_format( $ts, 0, '', '' );
- }
-
- /**
- * Grabs the user's anon id from cookies, or generates and sets a new one
- *
- * @return string An anon id for the user
- */
- public static function get_anon_id() {
- static $anon_id = null;
-
- if ( ! isset( $anon_id ) ) {
-
- // Did the browser send us a cookie?
- if ( isset( $_COOKIE['tk_ai'] ) && preg_match( '#^[A-Za-z0-9+/=]{24}$#', $_COOKIE['tk_ai'] ) ) {
- $anon_id = $_COOKIE['tk_ai'];
- } else {
-
- $binary = '';
-
- // Generate a new anonId and try to save it in the browser's cookies.
- // Note that base64-encoding an 18 character string generates a 24-character anon id.
- for ( $i = 0; $i < 18; ++$i ) {
- $binary .= chr( wp_rand( 0, 255 ) );
- }
-
- $anon_id = 'jetpack:' . base64_encode( $binary ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
-
- if ( ! headers_sent()
- && ! ( defined( 'REST_REQUEST' ) && REST_REQUEST )
- && ! ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST )
- ) {
- setcookie( 'tk_ai', $anon_id );
- }
- }
- }
-
- return $anon_id;
- }
-
- /**
- * Gets the WordPress.com user's Tracks identity, if connected.
- *
- * @return array|bool
- */
- public static function get_connected_user_tracks_identity() {
- $user_data = Jetpack::get_connected_user_data();
- if ( ! $user_data ) {
- return false;
- }
-
- return array(
- 'blogid' => Jetpack_Options::get_option( 'id', 0 ),
- 'userid' => $user_data['ID'],
- 'username' => $user_data['login'],
- );
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php b/plugins/jetpack/vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php
deleted file mode 100644
index 1ccd871f..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php
+++ /dev/null
@@ -1,189 +0,0 @@
-<?php
-/**
- * Class Jetpack_Tracks_Event. Legacy.
- *
- * @package automattic/jetpack-sync
- */
-
-/*
- * @autounit nosara tracks-client
- *
- * Example Usage:
-```php
- require_once( dirname(__FILE__) . 'path/to/tracks/class-jetpack-tracks-event.php' );
-
- $event = new Jetpack_Tracks_Event( array(
- '_en' => $event_name, // required
- '_ui' => $user_id, // required unless _ul is provided
- '_ul' => $user_login, // required unless _ui is provided
-
- // Optional, but recommended
- '_via_ip' => $client_ip, // for geo, etc.
-
- // Possibly useful to set some context for the event
- '_via_ua' => $client_user_agent,
- '_via_url' => $client_url,
- '_via_ref' => $client_referrer,
-
- // For user-targeted tests
- 'abtest_name' => $abtest_name,
- 'abtest_variation' => $abtest_variation,
-
- // Your application-specific properties
- 'custom_property' => $some_value,
- ) );
-
- if ( is_wp_error( $event->error ) ) {
- // Handle the error in your app
- }
-
- $bump_and_redirect_pixel = $event->build_signed_pixel_url();
-```
- */
-
-/**
- * Class Jetpack_Tracks_Event
- */
-class Jetpack_Tracks_Event {
- const EVENT_NAME_REGEX = '/^(([a-z0-9]+)_){2}([a-z0-9_]+)$/';
- const PROP_NAME_REGEX = '/^[a-z_][a-z0-9_]*$/';
-
- /**
- * Tracks Event Error.
- *
- * @var mixed Error.
- */
- public $error;
-
- /**
- * Jetpack_Tracks_Event constructor.
- *
- * @param object $event Tracks event.
- */
- public function __construct( $event ) {
- $_event = self::validate_and_sanitize( $event );
- if ( is_wp_error( $_event ) ) {
- $this->error = $_event;
- return;
- }
-
- foreach ( $_event as $key => $value ) {
- $this->{$key} = $value;
- }
- }
-
- /**
- * Record a track event.
- */
- public function record() {
- return Jetpack_Tracks_Client::record_event( $this );
- }
-
- /**
- * Annotate the event with all relevant info.
- *
- * @param mixed $event Object or (flat) array.
- * @return mixed The transformed event array or WP_Error on failure.
- */
- public static function validate_and_sanitize( $event ) {
- $event = (object) $event;
-
- // Required.
- if ( ! $event->_en ) {
- return new WP_Error( 'invalid_event', 'A valid event must be specified via `_en`', 400 );
- }
-
- // delete non-routable addresses otherwise geoip will discard the record entirely.
- if ( property_exists( $event, '_via_ip' ) && preg_match( '/^192\.168|^10\./', $event->_via_ip ) ) {
- unset( $event->_via_ip );
- }
-
- $validated = array(
- 'browser_type' => Jetpack_Tracks_Client::BROWSER_TYPE,
- '_aua' => Jetpack_Tracks_Client::get_user_agent(),
- );
-
- $_event = (object) array_merge( (array) $event, $validated );
-
- // If you want to blacklist property names, do it here.
-
- // Make sure we have an event timestamp.
- if ( ! isset( $_event->_ts ) ) {
- $_event->_ts = Jetpack_Tracks_Client::build_timestamp();
- }
-
- return $_event;
- }
-
- /**
- * Build a pixel URL that will send a Tracks event when fired.
- * On error, returns an empty string ('').
- *
- * @return string A pixel URL or empty string ('') if there were invalid args.
- */
- public function build_pixel_url() {
- if ( $this->error ) {
- return '';
- }
-
- $args = get_object_vars( $this );
-
- // Request Timestamp and URL Terminator must be added just before the HTTP request or not at all.
- unset( $args['_rt'] );
- unset( $args['_'] );
-
- $validated = self::validate_and_sanitize( $args );
-
- if ( is_wp_error( $validated ) ) {
- return '';
- }
-
- return Jetpack_Tracks_Client::PIXEL . '?' . http_build_query( $validated );
- }
-
- /**
- * Validate the event name.
- *
- * @param string $name Event name.
- * @return false|int
- */
- public static function event_name_is_valid( $name ) {
- return preg_match( self::EVENT_NAME_REGEX, $name );
- }
-
- /**
- * Validates prop name
- *
- * @param string $name Property name.
- *
- * @return false|int Truthy value.
- */
- public static function prop_name_is_valid( $name ) {
- return preg_match( self::PROP_NAME_REGEX, $name );
- }
-
- /**
- * Scrutinize event name.
- *
- * @param object $event Tracks event.
- */
- public static function scrutinize_event_names( $event ) {
- if ( ! self::event_name_is_valid( $event->_en ) ) {
- return;
- }
-
- $whitelisted_key_names = array(
- 'anonId',
- 'Browser_Type',
- );
-
- foreach ( array_keys( (array) $event ) as $key ) {
- if ( in_array( $key, $whitelisted_key_names, true ) ) {
- continue;
- }
- if ( ! self::prop_name_is_valid( $key ) ) {
- return;
- }
- }
- }
-}
diff --git a/plugins/jetpack/vendor/automattic/jetpack-tracking/src/class-tracking.php b/plugins/jetpack/vendor/automattic/jetpack-tracking/src/class-tracking.php
deleted file mode 100644
index 0f08744c..00000000
--- a/plugins/jetpack/vendor/automattic/jetpack-tracking/src/class-tracking.php
+++ /dev/null
@@ -1,202 +0,0 @@
-<?php
-/**
- * Nosara Tracks for Jetpack
- *
- * @package automattic/jetpack-tracking
- */
-
-namespace Automattic\Jetpack;
-
-use Automattic\Jetpack\Terms_Of_Service;
-
-/**
- * The Tracking class, used to record events in wpcom
- */
-class Tracking {
- /**
- * Slug of the product that we are tracking.
- *
- * @var string
- */
- private $product_name;
-
- /**
- * Connection manager object.
- *
- * @var Object
- */
- private $connection;
-
- /**
- * Creates the Tracking object.
- *
- * @param String $product_name the slug of the product that we are tracking.
- * @param Automattic\Jetpack\Connection\Manager $connection the connection manager object.
- */
- public function __construct( $product_name = 'jetpack', $connection = null ) {
- $this->product_name = $product_name;
- $this->connection = $connection;
- if ( is_null( $this->connection ) ) {
- // TODO We should always pass a Connection.
- $this->connection = new Connection\Manager();
- }
- }
-
- /**
- * Enqueue script necessary for tracking.
- */
- public function enqueue_tracks_scripts() {
- wp_enqueue_script( 'jptracks', plugins_url( '_inc/lib/tracks/tracks-ajax.js', JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION, true );
- wp_localize_script(
- 'jptracks',
- 'jpTracksAJAX',
- array(
- 'ajaxurl' => admin_url( 'admin-ajax.php' ),
- 'jpTracksAJAX_nonce' => wp_create_nonce( 'jp-tracks-ajax-nonce' ),
- )
- );
- }
-
- /**
- * Send an event in Tracks.
- *
- * @param string $event_type Type of the event.
- * @param array $data Data to send with the event.
- * @param mixed $user username, user_id, or WP_user object.
- */
- public function record_user_event( $event_type, $data = array(), $user = null ) {
- if ( ! $user ) {
- $user = wp_get_current_user();
- }
- $site_url = get_option( 'siteurl' );
-
- $data['_via_ua'] = isset( $_SERVER['HTTP_USER_AGENT'] ) ? $_SERVER['HTTP_USER_AGENT'] : '';
- $data['_via_ip'] = isset( $_SERVER['REMOTE_ADDR'] ) ? $_SERVER['REMOTE_ADDR'] : '';
- $data['_lg'] = isset( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : '';
- $data['blog_url'] = $site_url;
- $data['blog_id'] = \Jetpack_Options::get_option( 'id' );
-
- // Top level events should not be namespaced.
- if ( '_aliasUser' !== $event_type ) {
- $event_type = $this->product_name . '_' . $event_type;
- }
-
- $data['jetpack_version'] = defined( 'JETPACK__VERSION' ) ? JETPACK__VERSION : '0';
-
- return $this->tracks_record_event( $user, $event_type, $data );
- }
-
- /**
- * Record an event in Tracks - this is the preferred way to record events from PHP.
- *
- * @param mixed $user username, user_id, or WP_user object.
- * @param string $event_name The name of the event.
- * @param array $properties Custom properties to send with the event.
- * @param int $event_timestamp_millis The time in millis since 1970-01-01 00:00:00 when the event occurred.
- *
- * @return bool true for success | \WP_Error if the event pixel could not be fired
- */
- public function tracks_record_event( $user, $event_name, $properties = array(), $event_timestamp_millis = false ) {
-
- // We don't want to track user events during unit tests/CI runs.
- if ( $user instanceof \WP_User && 'wptests_capabilities' === $user->cap_key ) {
- return false;
- }
- $terms_of_service = new Terms_Of_Service();
- // Don't track users who have opted out or not agreed to our TOS, or are not running an active Jetpack.
- if ( ! $terms_of_service->has_agreed() ) {
- return false;
- }
-
- $event_obj = $this->tracks_build_event_obj( $user, $event_name, $properties, $event_timestamp_millis );
-
- if ( is_wp_error( $event_obj->error ) ) {
- return $event_obj->error;
- }
-
- return $event_obj->record();
- }
-
- /**
- * Procedurally build a Tracks Event Object.
- * NOTE: Use this only when the simpler Automattic\Jetpack\Tracking->jetpack_tracks_record_event() function won't work for you.
- *
- * @param WP_user $user WP_user object.
- * @param string $event_name The name of the event.
- * @param array $properties Custom properties to send with the event.
- * @param int $event_timestamp_millis The time in millis since 1970-01-01 00:00:00 when the event occurred.
- *
- * @return \Jetpack_Tracks_Event|\WP_Error
- */
- private function tracks_build_event_obj( $user, $event_name, $properties = array(), $event_timestamp_millis = false ) {
- $identity = $this->tracks_get_identity( $user->ID );
-
- $properties['user_lang'] = $user->get( 'WPLANG' );
-
- $blog_details = array(
- 'blog_lang' => isset( $properties['blog_lang'] ) ? $properties['blog_lang'] : get_bloginfo( 'language' ),
- );
-
- $timestamp = ( false !== $event_timestamp_millis ) ? $event_timestamp_millis : round( microtime( true ) * 1000 );
- $timestamp_string = is_string( $timestamp ) ? $timestamp : number_format( $timestamp, 0, '', '' );
-
- return new \Jetpack_Tracks_Event(
- array_merge(
- $blog_details,
- (array) $properties,
- $identity,
- array(
- '_en' => $event_name,
- '_ts' => $timestamp_string,
- )
- )
- );
- }
-
- /**
- * Get the identity to send to tracks.
- *
- * @param int $user_id The user id of the local user.
- *
- * @return array $identity
- */
- public function tracks_get_identity( $user_id ) {
-
- // Meta is set, and user is still connected. Use WPCOM ID.
- $wpcom_id = get_user_meta( $user_id, 'jetpack_tracks_wpcom_id', true );
- if ( $wpcom_id && $this->connection->is_user_connected( $user_id ) ) {
- return array(
- '_ut' => 'wpcom:user_id',
- '_ui' => $wpcom_id,
- );
- }
-
- // User is connected, but no meta is set yet. Use WPCOM ID and set meta.
- if ( $this->connection->is_user_connected( $user_id ) ) {
- $wpcom_user_data = $this->connection->get_connected_user_data( $user_id );
- update_user_meta( $user_id, 'jetpack_tracks_wpcom_id', $wpcom_user_data['ID'] );
-
- return array(
- '_ut' => 'wpcom:user_id',
- '_ui' => $wpcom_user_data['ID'],
- );
- }
-
- // User isn't linked at all. Fall back to anonymous ID.
- $anon_id = get_user_meta( $user_id, 'jetpack_tracks_anon_id', true );
- if ( ! $anon_id ) {
- $anon_id = \Jetpack_Tracks_Client::get_anon_id();
- add_user_meta( $user_id, 'jetpack_tracks_anon_id', $anon_id, false );
- }
-
- if ( ! isset( $_COOKIE['tk_ai'] ) && ! headers_sent() ) {
- setcookie( 'tk_ai', $anon_id );
- }
-
- return array(
- '_ut' => 'anon',
- '_ui' => $anon_id,
- );
-
- }
-}
diff --git a/plugins/jetpack/vendor/composer/ClassLoader.php b/plugins/jetpack/vendor/composer/ClassLoader.php
index 0cd6055d..afef3fa2 100644
--- a/plugins/jetpack/vendor/composer/ClassLoader.php
+++ b/plugins/jetpack/vendor/composer/ClassLoader.php
@@ -149,7 +149,7 @@ class ClassLoader
/**
* @return string[] Array of classname => path
- * @psalm-var array<string, string>
+ * @psalm-return array<string, string>
*/
public function getClassMap()
{
diff --git a/plugins/jetpack/vendor/composer/InstalledVersions.php b/plugins/jetpack/vendor/composer/InstalledVersions.php
index 7c5502ca..41bc143c 100644
--- a/plugins/jetpack/vendor/composer/InstalledVersions.php
+++ b/plugins/jetpack/vendor/composer/InstalledVersions.php
@@ -21,11 +21,26 @@ use Composer\Semver\VersionParser;
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
*
* To require its presence, you can require `composer-runtime-api ^2.0`
+ *
+ * @final
*/
class InstalledVersions
{
+ /**
+ * @var mixed[]|null
+ * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
+ */
private static $installed;
+
+ /**
+ * @var bool|null
+ */
private static $canGetVendors;
+
+ /**
+ * @var array[]
+ * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+ */
private static $installedByVendor = array();
/**
diff --git a/plugins/jetpack/vendor/composer/autoload_classmap.php b/plugins/jetpack/vendor/composer/autoload_classmap.php
index f7fb81c7..c84ab75c 100644
--- a/plugins/jetpack/vendor/composer/autoload_classmap.php
+++ b/plugins/jetpack/vendor/composer/autoload_classmap.php
@@ -2,10 +2,12 @@
// autoload_classmap.php @generated by Composer
-$vendorDir = dirname(dirname(__FILE__));
+$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
+ 'AhoCorasick\\MultiStringMatcher' => $vendorDir . '/wikimedia/aho-corasick/src/MultiStringMatcher.php',
+ 'AhoCorasick\\MultiStringReplacer' => $vendorDir . '/wikimedia/aho-corasick/src/MultiStringReplacer.php',
'Automattic\\Jetpack\\A8c_Mc_Stats' => $baseDir . '/jetpack_vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php',
'Automattic\\Jetpack\\Abtest' => $baseDir . '/jetpack_vendor/automattic/jetpack-abtest/src/class-abtest.php',
'Automattic\\Jetpack\\Admin_UI\\Admin_Menu' => $baseDir . '/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php',
@@ -17,7 +19,10 @@ return array(
'Automattic\\Jetpack\\Autoloader\\AutoloadProcessor' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadProcessor.php',
'Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin' => $vendorDir . '/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php',
'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => $vendorDir . '/automattic/jetpack-autoloader/src/ManifestGenerator.php',
+ 'Automattic\\Jetpack\\Automatic_Install_Skin' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php',
'Automattic\\Jetpack\\Backup\\Helper_Script_Manager' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-helper-script-manager.php',
+ 'Automattic\\Jetpack\\Backup\\Initial_State' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-initial-state.php',
+ 'Automattic\\Jetpack\\Backup\\Jetpack_Backup_Upgrades' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup-upgrades.php',
'Automattic\\Jetpack\\Backup\\Package_Version' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php',
'Automattic\\Jetpack\\Backup\\REST_Controller' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-rest-controller.php',
'Automattic\\Jetpack\\Blocks' => $baseDir . '/jetpack_vendor/automattic/jetpack-blocks/src/class-blocks.php',
@@ -44,13 +49,21 @@ return array(
'Automattic\\Jetpack\\Connection\\Urls' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-urls.php',
'Automattic\\Jetpack\\Connection\\Utils' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php',
'Automattic\\Jetpack\\Connection\\Webhooks' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php',
+ 'Automattic\\Jetpack\\Connection\\Webhooks\\Authorize_Redirect' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/webhooks/class-authorize-redirect.php',
'Automattic\\Jetpack\\Connection\\XMLRPC_Async_Call' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-async-call.php',
'Automattic\\Jetpack\\Connection\\XMLRPC_Connector' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php',
'Automattic\\Jetpack\\Constants' => $baseDir . '/jetpack_vendor/automattic/jetpack-constants/src/class-constants.php',
+ 'Automattic\\Jetpack\\CookieState' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php',
'Automattic\\Jetpack\\Device_Detection' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php',
'Automattic\\Jetpack\\Device_Detection\\User_Agent_Info' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php',
'Automattic\\Jetpack\\Error' => $baseDir . '/jetpack_vendor/automattic/jetpack-error/src/class-error.php',
- 'Automattic\\Jetpack\\Heartbeat' => $baseDir . '/jetpack_vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php',
+ 'Automattic\\Jetpack\\Errors' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-errors.php',
+ 'Automattic\\Jetpack\\Files' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-files.php',
+ 'Automattic\\Jetpack\\Fonts\\Google_Fonts_Provider' => $baseDir . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-google-fonts-provider.php',
+ 'Automattic\\Jetpack\\Fonts\\Introspectors\\Blocks' => $baseDir . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-blocks.php',
+ 'Automattic\\Jetpack\\Fonts\\Introspectors\\Global_Styles' => $baseDir . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-global-styles.php',
+ 'Automattic\\Jetpack\\Fonts\\Utils' => $baseDir . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-utils.php',
+ 'Automattic\\Jetpack\\Heartbeat' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-heartbeat.php',
'Automattic\\Jetpack\\IdentityCrisis\\REST_Endpoints' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php',
'Automattic\\Jetpack\\IdentityCrisis\\UI' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php',
'Automattic\\Jetpack\\Identity_Crisis' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php',
@@ -60,26 +73,75 @@ return array(
'Automattic\\Jetpack\\JITMS\\Rest_Api_Endpoints' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-rest-api-endpoints.php',
'Automattic\\Jetpack\\Jetpack_Lazy_Images' => $baseDir . '/jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php',
'Automattic\\Jetpack\\Licensing' => $baseDir . '/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php',
+ 'Automattic\\Jetpack\\Licensing\\Endpoints' => $baseDir . '/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php',
+ 'Automattic\\Jetpack\\Modules' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php',
'Automattic\\Jetpack\\My_Jetpack\\Initializer' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Module_Product' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Product' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Anti_Spam' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Backup' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Boost' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Crm' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Extras' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Protect' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Scan' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search_Stats' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Security' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Social' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Videopress' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\REST_Products' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\REST_Purchases' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Wpcom_Products' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php',
'Automattic\\Jetpack\\Partner' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php',
'Automattic\\Jetpack\\Partner_Coupon' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php',
'Automattic\\Jetpack\\Password_Checker' => $baseDir . '/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php',
+ 'Automattic\\Jetpack\\Paths' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-paths.php',
'Automattic\\Jetpack\\Plugin\\Tracking' => $baseDir . '/src/class-tracking.php',
+ 'Automattic\\Jetpack\\Plugins_Installer' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php',
+ 'Automattic\\Jetpack\\Publicize\\Connections_Post_Field' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-connections-post-field.php',
+ 'Automattic\\Jetpack\\Publicize\\Keyring_Helper' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-keyring-helper.php',
+ 'Automattic\\Jetpack\\Publicize\\Publicize' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize.php',
+ 'Automattic\\Jetpack\\Publicize\\Publicize_Base' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php',
+ 'Automattic\\Jetpack\\Publicize\\Publicize_Setup' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-setup.php',
+ 'Automattic\\Jetpack\\Publicize\\Publicize_UI' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-ui.php',
+ 'Automattic\\Jetpack\\Publicize\\REST_Controller' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-rest-controller.php',
'Automattic\\Jetpack\\Redirect' => $baseDir . '/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php',
'Automattic\\Jetpack\\Roles' => $baseDir . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php',
+ 'Automattic\\Jetpack\\Search\\CLI' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-cli.php',
+ 'Automattic\\Jetpack\\Search\\Classic_Search' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php',
+ 'Automattic\\Jetpack\\Search\\Customberg' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customberg/class-customberg.php',
+ 'Automattic\\Jetpack\\Search\\Customizer' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customizer/class-customizer.php',
+ 'Automattic\\Jetpack\\Search\\Dashboard' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-dashboard.php',
+ 'Automattic\\Jetpack\\Search\\Excluded_Post_Types_Control' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.php',
'Automattic\\Jetpack\\Search\\Helper' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-helper.php',
+ 'Automattic\\Jetpack\\Search\\Initial_State' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php',
+ 'Automattic\\Jetpack\\Search\\Initializer' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php',
+ 'Automattic\\Jetpack\\Search\\Instant_Search' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/instant-search/class-instant-search.php',
+ 'Automattic\\Jetpack\\Search\\Label_Control' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-label-control.php',
'Automattic\\Jetpack\\Search\\Module_Control' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-module-control.php',
'Automattic\\Jetpack\\Search\\Options' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-options.php',
+ 'Automattic\\Jetpack\\Search\\Package' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-package.php',
'Automattic\\Jetpack\\Search\\Plan' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-plan.php',
+ 'Automattic\\Jetpack\\Search\\Product' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-product.php',
'Automattic\\Jetpack\\Search\\REST_Controller' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php',
+ 'Automattic\\Jetpack\\Search\\Search_Widget' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/widgets/class-search-widget.php',
'Automattic\\Jetpack\\Search\\Settings' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-settings.php',
+ 'Automattic\\Jetpack\\Search\\Stats' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-stats.php',
'Automattic\\Jetpack\\Search\\Template_Tags' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php',
'Automattic\\Jetpack\\Search\\WPES\\Query_Builder' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-builder.php',
'Automattic\\Jetpack\\Search\\WPES\\Query_Parser' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-parser.php',
'Automattic\\Jetpack\\Status' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-status.php',
+ 'Automattic\\Jetpack\\Status\\Cache' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cache.php',
'Automattic\\Jetpack\\Status\\Host' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-host.php',
+ 'Automattic\\Jetpack\\Status\\Visitor' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php',
'Automattic\\Jetpack\\Sync\\Actions' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php',
'Automattic\\Jetpack\\Sync\\Codec_Interface' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/interface-codec.php',
+ 'Automattic\\Jetpack\\Sync\\Data_Settings' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-data-settings.php',
+ 'Automattic\\Jetpack\\Sync\\Dedicated_Sender' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-dedicated-sender.php',
+ 'Automattic\\Jetpack\\Sync\\Default_Filter_Settings' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-default-filter-settings.php',
'Automattic\\Jetpack\\Sync\\Defaults' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php',
'Automattic\\Jetpack\\Sync\\Functions' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php',
'Automattic\\Jetpack\\Sync\\Health' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-health.php',
@@ -103,6 +165,7 @@ return array(
'Automattic\\Jetpack\\Sync\\Modules\\Plugins' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php',
'Automattic\\Jetpack\\Sync\\Modules\\Posts' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php',
'Automattic\\Jetpack\\Sync\\Modules\\Protect' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-protect.php',
+ 'Automattic\\Jetpack\\Sync\\Modules\\Search' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-search.php',
'Automattic\\Jetpack\\Sync\\Modules\\Stats' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-stats.php',
'Automattic\\Jetpack\\Sync\\Modules\\Term_Relationships' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-term-relationships.php',
'Automattic\\Jetpack\\Sync\\Modules\\Terms' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-terms.php',
@@ -127,20 +190,37 @@ return array(
'Automattic\\Jetpack\\Sync\\Simple_Codec' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-simple-codec.php',
'Automattic\\Jetpack\\Sync\\Users' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-users.php',
'Automattic\\Jetpack\\Sync\\Utils' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-utils.php',
- 'Automattic\\Jetpack\\Terms_Of_Service' => $baseDir . '/jetpack_vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php',
- 'Automattic\\Jetpack\\Tracking' => $baseDir . '/jetpack_vendor/automattic/jetpack-tracking/src/class-tracking.php',
+ 'Automattic\\Jetpack\\Terms_Of_Service' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-terms-of-service.php',
+ 'Automattic\\Jetpack\\Tracking' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php',
+ 'Automattic\\Jetpack\\Waf\\CLI' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Constants' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Endpoints' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-endpoints.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Initializer' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Operators' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Request' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Runner' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Runtime' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Standalone_Bootstrap' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Transforms' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php',
+ 'Automattic\\Jetpack\\WordAds\\Dashboard' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-dashboard.php',
+ 'Automattic\\Jetpack\\WordAds\\Helper' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/class-helper.php',
+ 'Automattic\\Jetpack\\WordAds\\Initial_State' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-initial-state.php',
+ 'Automattic\\Jetpack\\WordAds\\Initializer' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/initializers/class-initializer.php',
+ 'Automattic\\Jetpack\\WordAds\\Package' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/class-package.php',
+ 'Automattic\\Jetpack\\WordAds\\REST_Controller' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/class-rest-controller.php',
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'JetpackTracking' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpacktracking.php',
+ 'Jetpack_Backup' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup.php',
'Jetpack_Client' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-client.php',
'Jetpack_IXR_Client' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php',
'Jetpack_IXR_ClientMulticall' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php',
- 'Jetpack_Options' => $baseDir . '/jetpack_vendor/automattic/jetpack-options/legacy/class-jetpack-options.php',
+ 'Jetpack_Options' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php',
'Jetpack_Signature' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php',
'Jetpack_Sync_Actions' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php',
'Jetpack_Sync_Modules' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php',
'Jetpack_Sync_Settings' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php',
- 'Jetpack_Tracks_Client' => $baseDir . '/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php',
- 'Jetpack_Tracks_Event' => $baseDir . '/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php',
+ 'Jetpack_Tracks_Client' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-client.php',
+ 'Jetpack_Tracks_Event' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-event.php',
'Jetpack_XMLRPC_Server' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php',
'Twitter\\Text\\Autolink' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Autolink.php',
'Twitter\\Text\\Configuration' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Configuration.php',
diff --git a/plugins/jetpack/vendor/composer/autoload_classmap_package.php b/plugins/jetpack/vendor/composer/autoload_classmap_package.php
deleted file mode 100644
index a5d52691..00000000
--- a/plugins/jetpack/vendor/composer/autoload_classmap_package.php
+++ /dev/null
@@ -1,314 +0,0 @@
-<?php
-
-// This file `autoload_classmap_packages.php` was auto generated by automattic/jetpack-autoloader.
-
-$vendorDir = dirname(__DIR__);
-$baseDir = dirname($vendorDir);
-
-return array(
- 'Automattic\\Jetpack\\Autoloader\\AutoloadGenerator' => array(
- 'version' => '1.4.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadGenerator.php'
- ),
- 'Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin' => array(
- 'version' => '1.4.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php'
- ),
- 'Automattic\\Jetpack\\Plugin\\Tracking' => array(
- 'version' => 'dev-branch-8.2',
- 'path' => $baseDir . '/src/class-tracking.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Defaults' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-defaults.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Sender' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-sender.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Replicastore_Interface' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/interface-replicastore.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Replicastore' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-replicastore.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Actions' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-actions.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Functions' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-functions.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Utils' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-utils.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Lock' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-lock.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Codec_Interface' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/interface-codec.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Main' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-main.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Queue_Buffer' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-queue-buffer.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Users' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-users.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Simple_Codec' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-simple-codec.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Queue' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-queue.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-modules.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Listener' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-listener.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Posts' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-posts.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Attachments' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-attachments.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync_Immediately' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\WooCommerce' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-woocommerce.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\WP_Super_Cache' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-wp-super-cache.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Module' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-module.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Plugins' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-plugins.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Menus' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-menus.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Stats' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-stats.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Meta' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-meta.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Users' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-users.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Comments' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-comments.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Options' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-options.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Constants' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-constants.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Term_Relationships' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-term-relationships.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Terms' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-terms.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Themes' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-themes.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Network_Options' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-network-options.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Protect' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-protect.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Import' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-import.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Callables' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-callables.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-full-sync.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Modules\\Updates' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-updates.php'
- ),
- 'Automattic\\Jetpack\\Sync\\JSON_Deflate_Array_Codec' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-json-deflate-array-codec.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Settings' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-settings.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Server' => array(
- 'version' => 'dev-fork/jetpack-sync-v1.7.4+vip',
- 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-server.php'
- ),
- 'Automattic\\Jetpack\\Partner' => array(
- 'version' => '1.0.1.0',
- 'path' => $vendorDir . '/automattic/jetpack-partner/src/class-partner.php'
- ),
- 'Automattic\\Jetpack\\JITM' => array(
- 'version' => '1.1.1.0',
- 'path' => $vendorDir . '/automattic/jetpack-jitm/src/class-jitm.php'
- ),
- 'Automattic\\Jetpack\\Config' => array(
- 'version' => '1.1.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-config/src/class-config.php'
- ),
- 'Jetpack_Sync_Settings' => array(
- 'version' => '1.0.5.0',
- 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php'
- ),
- 'JetpackTracking' => array(
- 'version' => '1.0.5.0',
- 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpacktracking.php'
- ),
- 'Jetpack_Client' => array(
- 'version' => '1.0.5.0',
- 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-client.php'
- ),
- 'Jetpack_Sync_Modules' => array(
- 'version' => '1.0.5.0',
- 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php'
- ),
- 'Jetpack_Sync_Actions' => array(
- 'version' => '1.0.5.0',
- 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php'
- ),
- 'Automattic\\Jetpack\\Backup\\Helper_Script_Manager' => array(
- 'version' => '1.0.2.0',
- 'path' => $vendorDir . '/automattic/jetpack-backup/src/class-helper-script-manager.php'
- ),
- 'Automattic\\Jetpack\\Abtest' => array(
- 'version' => '1.0.4.0',
- 'path' => $vendorDir . '/automattic/jetpack-abtest/src/class-abtest.php'
- ),
- 'Automattic\\Jetpack\\Assets' => array(
- 'version' => '1.1.1.0',
- 'path' => $vendorDir . '/automattic/jetpack-assets/src/class-assets.php'
- ),
- 'Automattic\\Jetpack\\Assets\\Logo' => array(
- 'version' => '1.1.4.0',
- 'path' => $vendorDir . '/automattic/jetpack-logo/src/class-logo.php'
- ),
- 'Jetpack_Tracks_Client' => array(
- 'version' => '1.2.2.0',
- 'path' => $vendorDir . '/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php'
- ),
- 'Jetpack_Tracks_Event' => array(
- 'version' => '1.2.2.0',
- 'path' => $vendorDir . '/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php'
- ),
- 'Automattic\\Jetpack\\Tracking' => array(
- 'version' => '1.2.2.0',
- 'path' => $vendorDir . '/automattic/jetpack-tracking/src/class-tracking.php'
- ),
- 'Automattic\\Jetpack\\Error' => array(
- 'version' => '1.0.4.0',
- 'path' => $vendorDir . '/automattic/jetpack-error/src/class-error.php'
- ),
- 'Automattic\\Jetpack\\Terms_Of_Service' => array(
- 'version' => '1.0.4.0',
- 'path' => $vendorDir . '/automattic/jetpack-terms-of-service/src/class-terms-of-service.php'
- ),
- 'Automattic\\Jetpack\\Status' => array(
- 'version' => '1.1.1.0',
- 'path' => $vendorDir . '/automattic/jetpack-status/src/class-status.php'
- ),
- 'Jetpack_XMLRPC_Server' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php'
- ),
- 'Jetpack_IXR_Client' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php'
- ),
- 'Jetpack_Signature' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/class-jetpack-signature.php'
- ),
- 'Jetpack_IXR_ClientMulticall' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php'
- ),
- 'Automattic\\Jetpack\\Connection\\REST_Connector' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-rest-connector.php'
- ),
- 'Automattic\\Jetpack\\Connection\\Client' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-client.php'
- ),
- 'Automattic\\Jetpack\\Connection\\Utils' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-utils.php'
- ),
- 'Automattic\\Jetpack\\Connection\\Manager_Interface' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/src/interface-manager.php'
- ),
- 'Automattic\\Jetpack\\Connection\\Manager' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-manager.php'
- ),
- 'Automattic\\Jetpack\\Connection\\XMLRPC_Connector' => array(
- 'version' => '1.8.0.0',
- 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-xmlrpc-connector.php'
- ),
- 'Automattic\\Jetpack\\Roles' => array(
- 'version' => '1.0.4.0',
- 'path' => $vendorDir . '/automattic/jetpack-roles/src/class-roles.php'
- ),
- 'Jetpack_Options' => array(
- 'version' => '1.1.2.0',
- 'path' => $vendorDir . '/automattic/jetpack-options/legacy/class-jetpack-options.php'
- ),
- 'Automattic\\Jetpack\\Constants' => array(
- 'version' => '1.1.3.0',
- 'path' => $vendorDir . '/automattic/jetpack-constants/src/class-constants.php'
- ),
-);
-
diff --git a/plugins/jetpack/vendor/composer/autoload_files.php b/plugins/jetpack/vendor/composer/autoload_files.php
index 61d2a978..cd9aa9b3 100644
--- a/plugins/jetpack/vendor/composer/autoload_files.php
+++ b/plugins/jetpack/vendor/composer/autoload_files.php
@@ -2,11 +2,13 @@
// autoload_files.php @generated by Composer
-$vendorDir = dirname(dirname(__FILE__));
+$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
'3773ef3f09c37da5478d578e32b03a4b' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/actions.php',
'd4eb94df91a729802d18373ee8cdc79f' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/actions.php',
'009de6aaa0d497eacea41fab13fc05f1' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/functions.php',
+ 'd7b298d70ab0e8605f5d5b6edeab1bd2' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/actions.php',
+ '3d45c7e6a7f0e71849e33afe4b3b3ede' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/cli.php',
);
diff --git a/plugins/jetpack/vendor/composer/autoload_namespaces.php b/plugins/jetpack/vendor/composer/autoload_namespaces.php
index 53e84e22..5102d494 100644
--- a/plugins/jetpack/vendor/composer/autoload_namespaces.php
+++ b/plugins/jetpack/vendor/composer/autoload_namespaces.php
@@ -2,7 +2,7 @@
// autoload_namespaces.php @generated by Composer
-$vendorDir = dirname(dirname(__FILE__));
+$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
diff --git a/plugins/jetpack/vendor/composer/autoload_psr4.php b/plugins/jetpack/vendor/composer/autoload_psr4.php
index bef81985..72223f74 100644
--- a/plugins/jetpack/vendor/composer/autoload_psr4.php
+++ b/plugins/jetpack/vendor/composer/autoload_psr4.php
@@ -2,7 +2,7 @@
// autoload_psr4.php @generated by Composer
-$vendorDir = dirname(dirname(__FILE__));
+$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
diff --git a/plugins/jetpack/vendor/composer/autoload_real.php b/plugins/jetpack/vendor/composer/autoload_real.php
index e7a173b9..3a9d46cd 100644
--- a/plugins/jetpack/vendor/composer/autoload_real.php
+++ b/plugins/jetpack/vendor/composer/autoload_real.php
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
-class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
+class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0
{
private static $loader;
@@ -24,43 +24,35 @@ class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
require __DIR__ . '/platform_check.php';
- spl_autoload_register(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5', 'loadClassLoader'), true, true);
- self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
- spl_autoload_unregister(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5', 'loadClassLoader'));
+ spl_autoload_register(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0', 'loadClassLoader'), true, true);
+ self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
+ spl_autoload_unregister(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0', 'loadClassLoader'));
- $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
- if ($useStaticLoader) {
- require __DIR__ . '/autoload_static.php';
-
- call_user_func(\Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5::getInitializer($loader));
- } else {
- $classMap = require __DIR__ . '/autoload_classmap.php';
- if ($classMap) {
- $loader->addClassMap($classMap);
- }
- }
+ require __DIR__ . '/autoload_static.php';
+ call_user_func(\Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
- if ($useStaticLoader) {
- $includeFiles = Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5::$files;
- } else {
- $includeFiles = require __DIR__ . '/autoload_files.php';
- }
+ $includeFiles = \Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
- composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5($fileIdentifier, $file);
+ composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0($fileIdentifier, $file);
}
return $loader;
}
}
-function composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5($fileIdentifier, $file)
+/**
+ * @param string $fileIdentifier
+ * @param string $file
+ * @return void
+ */
+function composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
- require $file;
-
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
+
+ require $file;
}
}
diff --git a/plugins/jetpack/vendor/composer/autoload_static.php b/plugins/jetpack/vendor/composer/autoload_static.php
index b5f147a9..884ff9ac 100644
--- a/plugins/jetpack/vendor/composer/autoload_static.php
+++ b/plugins/jetpack/vendor/composer/autoload_static.php
@@ -4,12 +4,14 @@
namespace Composer\Autoload;
-class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
+class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0
{
public static $files = array (
'3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-assets/actions.php',
'd4eb94df91a729802d18373ee8cdc79f' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-backup/actions.php',
'009de6aaa0d497eacea41fab13fc05f1' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-compat/functions.php',
+ 'd7b298d70ab0e8605f5d5b6edeab1bd2' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/actions.php',
+ '3d45c7e6a7f0e71849e33afe4b3b3ede' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/cli.php',
);
public static $prefixLengthsPsr4 = array (
@@ -37,6 +39,8 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
);
public static $classMap = array (
+ 'AhoCorasick\\MultiStringMatcher' => __DIR__ . '/..' . '/wikimedia/aho-corasick/src/MultiStringMatcher.php',
+ 'AhoCorasick\\MultiStringReplacer' => __DIR__ . '/..' . '/wikimedia/aho-corasick/src/MultiStringReplacer.php',
'Automattic\\Jetpack\\A8c_Mc_Stats' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php',
'Automattic\\Jetpack\\Abtest' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-abtest/src/class-abtest.php',
'Automattic\\Jetpack\\Admin_UI\\Admin_Menu' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php',
@@ -48,7 +52,10 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
'Automattic\\Jetpack\\Autoloader\\AutoloadProcessor' => __DIR__ . '/..' . '/automattic/jetpack-autoloader/src/AutoloadProcessor.php',
'Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin' => __DIR__ . '/..' . '/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php',
'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => __DIR__ . '/..' . '/automattic/jetpack-autoloader/src/ManifestGenerator.php',
+ 'Automattic\\Jetpack\\Automatic_Install_Skin' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php',
'Automattic\\Jetpack\\Backup\\Helper_Script_Manager' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-backup/src/class-helper-script-manager.php',
+ 'Automattic\\Jetpack\\Backup\\Initial_State' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-backup/src/class-initial-state.php',
+ 'Automattic\\Jetpack\\Backup\\Jetpack_Backup_Upgrades' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup-upgrades.php',
'Automattic\\Jetpack\\Backup\\Package_Version' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php',
'Automattic\\Jetpack\\Backup\\REST_Controller' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-backup/src/class-rest-controller.php',
'Automattic\\Jetpack\\Blocks' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-blocks/src/class-blocks.php',
@@ -75,13 +82,21 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
'Automattic\\Jetpack\\Connection\\Urls' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/class-urls.php',
'Automattic\\Jetpack\\Connection\\Utils' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php',
'Automattic\\Jetpack\\Connection\\Webhooks' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php',
+ 'Automattic\\Jetpack\\Connection\\Webhooks\\Authorize_Redirect' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/webhooks/class-authorize-redirect.php',
'Automattic\\Jetpack\\Connection\\XMLRPC_Async_Call' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-async-call.php',
'Automattic\\Jetpack\\Connection\\XMLRPC_Connector' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php',
'Automattic\\Jetpack\\Constants' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-constants/src/class-constants.php',
+ 'Automattic\\Jetpack\\CookieState' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php',
'Automattic\\Jetpack\\Device_Detection' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php',
'Automattic\\Jetpack\\Device_Detection\\User_Agent_Info' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php',
'Automattic\\Jetpack\\Error' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-error/src/class-error.php',
- 'Automattic\\Jetpack\\Heartbeat' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php',
+ 'Automattic\\Jetpack\\Errors' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-errors.php',
+ 'Automattic\\Jetpack\\Files' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-files.php',
+ 'Automattic\\Jetpack\\Fonts\\Google_Fonts_Provider' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-google-fonts-provider.php',
+ 'Automattic\\Jetpack\\Fonts\\Introspectors\\Blocks' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-blocks.php',
+ 'Automattic\\Jetpack\\Fonts\\Introspectors\\Global_Styles' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-global-styles.php',
+ 'Automattic\\Jetpack\\Fonts\\Utils' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-utils.php',
+ 'Automattic\\Jetpack\\Heartbeat' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/class-heartbeat.php',
'Automattic\\Jetpack\\IdentityCrisis\\REST_Endpoints' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php',
'Automattic\\Jetpack\\IdentityCrisis\\UI' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php',
'Automattic\\Jetpack\\Identity_Crisis' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php',
@@ -91,26 +106,75 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
'Automattic\\Jetpack\\JITMS\\Rest_Api_Endpoints' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-jitm/src/class-rest-api-endpoints.php',
'Automattic\\Jetpack\\Jetpack_Lazy_Images' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php',
'Automattic\\Jetpack\\Licensing' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php',
+ 'Automattic\\Jetpack\\Licensing\\Endpoints' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php',
+ 'Automattic\\Jetpack\\Modules' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php',
'Automattic\\Jetpack\\My_Jetpack\\Initializer' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Module_Product' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Product' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Anti_Spam' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Backup' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Boost' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Crm' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Extras' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Protect' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Scan' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search_Stats' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Security' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Social' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Videopress' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\REST_Products' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\REST_Purchases' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php',
+ 'Automattic\\Jetpack\\My_Jetpack\\Wpcom_Products' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php',
'Automattic\\Jetpack\\Partner' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php',
'Automattic\\Jetpack\\Partner_Coupon' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php',
'Automattic\\Jetpack\\Password_Checker' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php',
+ 'Automattic\\Jetpack\\Paths' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-paths.php',
'Automattic\\Jetpack\\Plugin\\Tracking' => __DIR__ . '/../..' . '/src/class-tracking.php',
+ 'Automattic\\Jetpack\\Plugins_Installer' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php',
+ 'Automattic\\Jetpack\\Publicize\\Connections_Post_Field' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-publicize/src/class-connections-post-field.php',
+ 'Automattic\\Jetpack\\Publicize\\Keyring_Helper' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-publicize/src/class-keyring-helper.php',
+ 'Automattic\\Jetpack\\Publicize\\Publicize' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize.php',
+ 'Automattic\\Jetpack\\Publicize\\Publicize_Base' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php',
+ 'Automattic\\Jetpack\\Publicize\\Publicize_Setup' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-setup.php',
+ 'Automattic\\Jetpack\\Publicize\\Publicize_UI' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-ui.php',
+ 'Automattic\\Jetpack\\Publicize\\REST_Controller' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-publicize/src/class-rest-controller.php',
'Automattic\\Jetpack\\Redirect' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php',
'Automattic\\Jetpack\\Roles' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php',
+ 'Automattic\\Jetpack\\Search\\CLI' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-cli.php',
+ 'Automattic\\Jetpack\\Search\\Classic_Search' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php',
+ 'Automattic\\Jetpack\\Search\\Customberg' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/customberg/class-customberg.php',
+ 'Automattic\\Jetpack\\Search\\Customizer' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/customizer/class-customizer.php',
+ 'Automattic\\Jetpack\\Search\\Dashboard' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-dashboard.php',
+ 'Automattic\\Jetpack\\Search\\Excluded_Post_Types_Control' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.php',
'Automattic\\Jetpack\\Search\\Helper' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-helper.php',
+ 'Automattic\\Jetpack\\Search\\Initial_State' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php',
+ 'Automattic\\Jetpack\\Search\\Initializer' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php',
+ 'Automattic\\Jetpack\\Search\\Instant_Search' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/instant-search/class-instant-search.php',
+ 'Automattic\\Jetpack\\Search\\Label_Control' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-label-control.php',
'Automattic\\Jetpack\\Search\\Module_Control' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-module-control.php',
'Automattic\\Jetpack\\Search\\Options' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-options.php',
+ 'Automattic\\Jetpack\\Search\\Package' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-package.php',
'Automattic\\Jetpack\\Search\\Plan' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-plan.php',
+ 'Automattic\\Jetpack\\Search\\Product' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-product.php',
'Automattic\\Jetpack\\Search\\REST_Controller' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php',
+ 'Automattic\\Jetpack\\Search\\Search_Widget' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/widgets/class-search-widget.php',
'Automattic\\Jetpack\\Search\\Settings' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-settings.php',
+ 'Automattic\\Jetpack\\Search\\Stats' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-stats.php',
'Automattic\\Jetpack\\Search\\Template_Tags' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php',
'Automattic\\Jetpack\\Search\\WPES\\Query_Builder' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-builder.php',
'Automattic\\Jetpack\\Search\\WPES\\Query_Parser' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-parser.php',
'Automattic\\Jetpack\\Status' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-status.php',
+ 'Automattic\\Jetpack\\Status\\Cache' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-cache.php',
'Automattic\\Jetpack\\Status\\Host' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-host.php',
+ 'Automattic\\Jetpack\\Status\\Visitor' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php',
'Automattic\\Jetpack\\Sync\\Actions' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php',
'Automattic\\Jetpack\\Sync\\Codec_Interface' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/interface-codec.php',
+ 'Automattic\\Jetpack\\Sync\\Data_Settings' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-data-settings.php',
+ 'Automattic\\Jetpack\\Sync\\Dedicated_Sender' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-dedicated-sender.php',
+ 'Automattic\\Jetpack\\Sync\\Default_Filter_Settings' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-default-filter-settings.php',
'Automattic\\Jetpack\\Sync\\Defaults' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php',
'Automattic\\Jetpack\\Sync\\Functions' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php',
'Automattic\\Jetpack\\Sync\\Health' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-health.php',
@@ -134,6 +198,7 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
'Automattic\\Jetpack\\Sync\\Modules\\Plugins' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php',
'Automattic\\Jetpack\\Sync\\Modules\\Posts' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php',
'Automattic\\Jetpack\\Sync\\Modules\\Protect' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-protect.php',
+ 'Automattic\\Jetpack\\Sync\\Modules\\Search' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-search.php',
'Automattic\\Jetpack\\Sync\\Modules\\Stats' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-stats.php',
'Automattic\\Jetpack\\Sync\\Modules\\Term_Relationships' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-term-relationships.php',
'Automattic\\Jetpack\\Sync\\Modules\\Terms' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-terms.php',
@@ -158,20 +223,37 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
'Automattic\\Jetpack\\Sync\\Simple_Codec' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-simple-codec.php',
'Automattic\\Jetpack\\Sync\\Users' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-users.php',
'Automattic\\Jetpack\\Sync\\Utils' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-sync/src/class-utils.php',
- 'Automattic\\Jetpack\\Terms_Of_Service' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php',
- 'Automattic\\Jetpack\\Tracking' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-tracking/src/class-tracking.php',
+ 'Automattic\\Jetpack\\Terms_Of_Service' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/class-terms-of-service.php',
+ 'Automattic\\Jetpack\\Tracking' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php',
+ 'Automattic\\Jetpack\\Waf\\CLI' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Constants' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Endpoints' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-endpoints.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Initializer' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Operators' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Request' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Runner' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Runtime' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Standalone_Bootstrap' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php',
+ 'Automattic\\Jetpack\\Waf\\Waf_Transforms' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php',
+ 'Automattic\\Jetpack\\WordAds\\Dashboard' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-dashboard.php',
+ 'Automattic\\Jetpack\\WordAds\\Helper' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-wordads/src/class-helper.php',
+ 'Automattic\\Jetpack\\WordAds\\Initial_State' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-initial-state.php',
+ 'Automattic\\Jetpack\\WordAds\\Initializer' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-wordads/src/initializers/class-initializer.php',
+ 'Automattic\\Jetpack\\WordAds\\Package' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-wordads/src/class-package.php',
+ 'Automattic\\Jetpack\\WordAds\\REST_Controller' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-wordads/src/class-rest-controller.php',
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'JetpackTracking' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpacktracking.php',
+ 'Jetpack_Backup' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup.php',
'Jetpack_Client' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-client.php',
'Jetpack_IXR_Client' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php',
'Jetpack_IXR_ClientMulticall' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php',
- 'Jetpack_Options' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-options/legacy/class-jetpack-options.php',
+ 'Jetpack_Options' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php',
'Jetpack_Signature' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php',
'Jetpack_Sync_Actions' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php',
'Jetpack_Sync_Modules' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php',
'Jetpack_Sync_Settings' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php',
- 'Jetpack_Tracks_Client' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php',
- 'Jetpack_Tracks_Event' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php',
+ 'Jetpack_Tracks_Client' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-client.php',
+ 'Jetpack_Tracks_Event' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-event.php',
'Jetpack_XMLRPC_Server' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php',
'Twitter\\Text\\Autolink' => __DIR__ . '/..' . '/nojimage/twitter-text-php/lib/Twitter/Text/Autolink.php',
'Twitter\\Text\\Configuration' => __DIR__ . '/..' . '/nojimage/twitter-text-php/lib/Twitter/Text/Configuration.php',
@@ -189,10 +271,10 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
- $loader->prefixLengthsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5::$prefixLengthsPsr4;
- $loader->prefixDirsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5::$prefixDirsPsr4;
- $loader->prefixesPsr0 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5::$prefixesPsr0;
- $loader->classMap = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5::$classMap;
+ $loader->prefixLengthsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0::$prefixDirsPsr4;
+ $loader->prefixesPsr0 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0::$prefixesPsr0;
+ $loader->classMap = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0::$classMap;
}, null, ClassLoader::class);
}
diff --git a/plugins/jetpack/vendor/composer/installed.json b/plugins/jetpack/vendor/composer/installed.json
index 414fda0a..83cb34ce 100644
--- a/plugins/jetpack/vendor/composer/installed.json
+++ b/plugins/jetpack/vendor/composer/installed.json
@@ -2,24 +2,24 @@
"packages": [
{
"name": "automattic/jetpack-a8c-mc-stats",
- "version": "v1.4.11",
- "version_normalized": "1.4.11.0",
+ "version": "v1.4.13",
+ "version_normalized": "1.4.13.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-a8c-mc-stats.git",
- "reference": "6e7d7c8b9c996f04978b834e4c3484bd2d916998"
+ "reference": "64ee9a83861c6b2c8744e2ebc25157806f3548e0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-a8c-mc-stats/zipball/6e7d7c8b9c996f04978b834e4c3484bd2d916998",
- "reference": "6e7d7c8b9c996f04978b834e4c3484bd2d916998",
+ "url": "https://api.github.com/repos/Automattic/jetpack-a8c-mc-stats/zipball/64ee9a83861c6b2c8744e2ebc25157806f3548e0",
+ "reference": "64ee9a83861c6b2c8744e2ebc25157806f3548e0",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:24+00:00",
+ "time": "2022-04-26T14:33:27+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -43,35 +43,35 @@
],
"description": "Used to record internal usage stats for Automattic. Not visible to site owners.",
"support": {
- "source": "https://github.com/Automattic/jetpack-a8c-mc-stats/tree/v1.4.11"
+ "source": "https://github.com/Automattic/jetpack-a8c-mc-stats/tree/v1.4.13"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-a8c-mc-stats"
},
{
"name": "automattic/jetpack-abtest",
- "version": "v1.9.18",
- "version_normalized": "1.9.18.0",
+ "version": "v1.10.0",
+ "version_normalized": "1.10.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-abtest.git",
- "reference": "8ad2e2685a1370f080c403095bad009b2f87370e"
+ "reference": "06455abc621f3e41d316dc5d98f3c9cd8fb39e12"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-abtest/zipball/8ad2e2685a1370f080c403095bad009b2f87370e",
- "reference": "8ad2e2685a1370f080c403095bad009b2f87370e",
+ "url": "https://api.github.com/repos/Automattic/jetpack-abtest/zipball/06455abc621f3e41d316dc5d98f3c9cd8fb39e12",
+ "reference": "06455abc621f3e41d316dc5d98f3c9cd8fb39e12",
"shasum": ""
},
"require": {
- "automattic/jetpack-connection": "^1.34",
+ "automattic/jetpack-connection": "^1.40",
"automattic/jetpack-error": "^1.3"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "dev-master",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:59+00:00",
+ "time": "2022-05-04T14:50:09+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -80,7 +80,7 @@
"link-template": "https://github.com/Automattic/jetpack-abtest/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.9.x-dev"
+ "dev-master": "1.10.x-dev"
}
},
"installation-source": "dist",
@@ -95,35 +95,36 @@
],
"description": "Provides an interface to the WP.com A/B tests.",
"support": {
- "source": "https://github.com/Automattic/jetpack-abtest/tree/v1.9.18"
+ "source": "https://github.com/Automattic/jetpack-abtest/tree/v1.10.0"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-abtest"
},
{
"name": "automattic/jetpack-admin-ui",
- "version": "v0.2.1",
- "version_normalized": "0.2.1.0",
+ "version": "v0.2.7",
+ "version_normalized": "0.2.7.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-admin-ui.git",
- "reference": "ce6964700c9698f9ea8c0a00120f1fbbd755de57"
+ "reference": "56a60ee4d03ac2be62cb341e3df0f2fb5cc851f8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-admin-ui/zipball/ce6964700c9698f9ea8c0a00120f1fbbd755de57",
- "reference": "ce6964700c9698f9ea8c0a00120f1fbbd755de57",
+ "url": "https://api.github.com/repos/Automattic/jetpack-admin-ui/zipball/56a60ee4d03ac2be62cb341e3df0f2fb5cc851f8",
+ "reference": "56a60ee4d03ac2be62cb341e3df0f2fb5cc851f8",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "dev-master",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:25+00:00",
+ "time": "2022-04-26T14:33:43+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
"mirror-repo": "Automattic/jetpack-admin-ui",
+ "textdomain": "jetpack-admin-ui",
"changelogger": {
"link-template": "https://github.com/Automattic/jetpack-admin-ui/compare/${old}...${new}"
},
@@ -146,35 +147,35 @@
],
"description": "Generic Jetpack wp-admin UI elements",
"support": {
- "source": "https://github.com/Automattic/jetpack-admin-ui/tree/v0.2.1"
+ "source": "https://github.com/Automattic/jetpack-admin-ui/tree/v0.2.7"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-admin-ui"
},
{
"name": "automattic/jetpack-assets",
- "version": "v1.16.1",
- "version_normalized": "1.16.1.0",
+ "version": "v1.17.14",
+ "version_normalized": "1.17.14.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-assets.git",
- "reference": "5a6959969bed4559e080269cafbd69d476249822"
+ "reference": "ed3776e0eeefc9afc5eb6cac286c57d05c9af0e1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-assets/zipball/5a6959969bed4559e080269cafbd69d476249822",
- "reference": "5a6959969bed4559e080269cafbd69d476249822",
+ "url": "https://api.github.com/repos/Automattic/jetpack-assets/zipball/ed3776e0eeefc9afc5eb6cac286c57d05c9af0e1",
+ "reference": "ed3776e0eeefc9afc5eb6cac286c57d05c9af0e1",
"shasum": ""
},
"require": {
"automattic/jetpack-constants": "^1.6"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"brain/monkey": "2.6.1",
- "wikimedia/testing-access-wrapper": "^1.0 | ^2.0",
+ "wikimedia/testing-access-wrapper": "^1.0 || ^2.0",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-05T21:46:22+00:00",
+ "time": "2022-05-18T11:11:59+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -184,7 +185,7 @@
"link-template": "https://github.com/Automattic/jetpack-assets/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.16.x-dev"
+ "dev-master": "1.17.x-dev"
}
},
"installation-source": "dist",
@@ -202,33 +203,33 @@
],
"description": "Asset management utilities for Jetpack ecosystem packages",
"support": {
- "source": "https://github.com/Automattic/jetpack-assets/tree/v1.16.1"
+ "source": "https://github.com/Automattic/jetpack-assets/tree/v1.17.14"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-assets"
},
{
"name": "automattic/jetpack-autoloader",
- "version": "v2.10.11",
- "version_normalized": "2.10.11.0",
+ "version": "v2.11.5",
+ "version_normalized": "2.11.5.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-autoloader.git",
- "reference": "924226c0a9e2f9b0be022fc6bab2a90f5e610ef3"
+ "reference": "664c7cf0ff94b4f2f7c5b359bef3616822004a04"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/924226c0a9e2f9b0be022fc6bab2a90f5e610ef3",
- "reference": "924226c0a9e2f9b0be022fc6bab2a90f5e610ef3",
+ "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/664c7cf0ff94b4f2f7c5b359bef3616822004a04",
+ "reference": "664c7cf0ff94b4f2f7c5b359bef3616822004a04",
"shasum": ""
},
"require": {
"composer-plugin-api": "^1.1 || ^2.0"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:27+00:00",
+ "time": "2022-05-18T11:11:44+00:00",
"type": "composer-plugin",
"extra": {
"autotagger": true,
@@ -238,17 +239,17 @@
"link-template": "https://github.com/Automattic/jetpack-autoloader/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "2.10.x-dev"
+ "dev-master": "2.11.x-dev"
}
},
"installation-source": "dist",
"autoload": {
- "classmap": [
- "src/AutoloadGenerator.php"
- ],
"psr-4": {
"Automattic\\Jetpack\\Autoloader\\": "src"
- }
+ },
+ "classmap": [
+ "src/AutoloadGenerator.php"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -256,35 +257,44 @@
],
"description": "Creates a custom autoloader for a plugin or theme.",
"support": {
- "source": "https://github.com/Automattic/jetpack-autoloader/tree/v2.10.11"
+ "source": "https://github.com/Automattic/jetpack-autoloader/tree/v2.11.5"
},
"install-path": "../automattic/jetpack-autoloader"
},
{
"name": "automattic/jetpack-backup",
- "version": "v1.2.0",
- "version_normalized": "1.2.0.0",
+ "version": "v1.3.7",
+ "version_normalized": "1.3.7.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-backup.git",
- "reference": "55054e3fe2c0450d4738b3dcce547d26ee82faa1"
+ "reference": "851c40b1246334d2013e807d7921eadb8c283b8a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-backup/zipball/55054e3fe2c0450d4738b3dcce547d26ee82faa1",
- "reference": "55054e3fe2c0450d4738b3dcce547d26ee82faa1",
+ "url": "https://api.github.com/repos/Automattic/jetpack-backup/zipball/851c40b1246334d2013e807d7921eadb8c283b8a",
+ "reference": "851c40b1246334d2013e807d7921eadb8c283b8a",
"shasum": ""
},
"require": {
- "automattic/jetpack-connection": "^1.34",
- "automattic/jetpack-sync": "^1.28"
+ "automattic/jetpack-admin-ui": "^0.2",
+ "automattic/jetpack-assets": "^1.17",
+ "automattic/jetpack-autoloader": "^2.11",
+ "automattic/jetpack-composer-plugin": "^1.1",
+ "automattic/jetpack-config": "^1.9",
+ "automattic/jetpack-connection": "^1.40",
+ "automattic/jetpack-connection-ui": "^2.4",
+ "automattic/jetpack-identity-crisis": "^0.8",
+ "automattic/jetpack-my-jetpack": "^1.6",
+ "automattic/jetpack-status": "^1.13",
+ "automattic/jetpack-sync": "^1.35"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "@dev",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:12:11+00:00",
+ "time": "2022-05-31T07:18:21+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -297,7 +307,7 @@
"link-template": "https://github.com/Automattic/jetpack-backup/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.2.x-dev"
+ "dev-master": "1.3.x-dev"
}
},
"installation-source": "dist",
@@ -315,32 +325,32 @@
],
"description": "Tools to assist with backing up Jetpack sites.",
"support": {
- "source": "https://github.com/Automattic/jetpack-backup/tree/v1.2.0"
+ "source": "https://github.com/Automattic/jetpack-backup/tree/v1.3.7"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-backup"
},
{
"name": "automattic/jetpack-blocks",
- "version": "v1.4.9",
- "version_normalized": "1.4.9.0",
+ "version": "v1.4.12",
+ "version_normalized": "1.4.12.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-blocks.git",
- "reference": "ac699666f0bd01c4f74f9fa339a553e466a8b987"
+ "reference": "e2a4667afc36fea9fcb9ceea1dbea63b58949aff"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-blocks/zipball/ac699666f0bd01c4f74f9fa339a553e466a8b987",
- "reference": "ac699666f0bd01c4f74f9fa339a553e466a8b987",
+ "url": "https://api.github.com/repos/Automattic/jetpack-blocks/zipball/e2a4667afc36fea9fcb9ceea1dbea63b58949aff",
+ "reference": "e2a4667afc36fea9fcb9ceea1dbea63b58949aff",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "dev-master",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:28+00:00",
+ "time": "2022-04-26T14:33:42+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -364,38 +374,39 @@
],
"description": "Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.",
"support": {
- "source": "https://github.com/Automattic/jetpack-blocks/tree/v1.4.9"
+ "source": "https://github.com/Automattic/jetpack-blocks/tree/v1.4.12"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-blocks"
},
{
"name": "automattic/jetpack-compat",
- "version": "v1.6.8",
- "version_normalized": "1.6.8.0",
+ "version": "v1.7.2",
+ "version_normalized": "1.7.2.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-compat.git",
- "reference": "38da6f2769a2438d192cde43343f3b9fdb517df1"
+ "reference": "9043abf2a605100417724da6b57bdd8fb2cca107"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-compat/zipball/38da6f2769a2438d192cde43343f3b9fdb517df1",
- "reference": "38da6f2769a2438d192cde43343f3b9fdb517df1",
+ "url": "https://api.github.com/repos/Automattic/jetpack-compat/zipball/9043abf2a605100417724da6b57bdd8fb2cca107",
+ "reference": "9043abf2a605100417724da6b57bdd8fb2cca107",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0"
+ "automattic/jetpack-changelogger": "^3.1"
},
- "time": "2021-12-14T17:53:46+00:00",
+ "time": "2022-05-18T11:11:18+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
"mirror-repo": "Automattic/jetpack-compat",
+ "textdomain": "jetpack-compat",
"changelogger": {
"link-template": "https://github.com/Automattic/jetpack-compat/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.6.x-dev"
+ "dev-master": "1.7.x-dev"
}
},
"installation-source": "dist",
@@ -413,36 +424,37 @@
],
"description": "Compatibility layer with previous versions of Jetpack",
"support": {
- "source": "https://github.com/Automattic/jetpack-compat/tree/v1.6.8"
+ "source": "https://github.com/Automattic/jetpack-compat/tree/v1.7.2"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-compat"
},
{
"name": "automattic/jetpack-composer-plugin",
- "version": "v1.0.1",
- "version_normalized": "1.0.1.0",
+ "version": "v1.1.2",
+ "version_normalized": "1.1.2.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-composer-plugin.git",
- "reference": "27c6980561d0c8c56ad3d9b9d0fb576b1ef9bd86"
+ "reference": "8c2c1fc978eb0595623692707c71e7001c178be7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-composer-plugin/zipball/27c6980561d0c8c56ad3d9b9d0fb576b1ef9bd86",
- "reference": "27c6980561d0c8c56ad3d9b9d0fb576b1ef9bd86",
+ "url": "https://api.github.com/repos/Automattic/jetpack-composer-plugin/zipball/8c2c1fc978eb0595623692707c71e7001c178be7",
+ "reference": "8c2c1fc978eb0595623692707c71e7001c178be7",
"shasum": ""
},
"require": {
"composer-plugin-api": "^2.1.0"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
- "composer/composer": "2.2.3",
+ "automattic/jetpack-changelogger": "^3.1",
+ "composer/composer": "2.2.12",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:31+00:00",
+ "time": "2022-04-26T14:33:40+00:00",
"type": "composer-plugin",
"extra": {
+ "plugin-modifies-install-path": true,
"class": "Automattic\\Jetpack\\Composer\\Plugin",
"mirror-repo": "Automattic/jetpack-composer-plugin",
"changelogger": {
@@ -450,7 +462,7 @@
},
"autotagger": true,
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "1.1.x-dev"
}
},
"installation-source": "dist",
@@ -465,29 +477,29 @@
],
"description": "A custom installer plugin for Composer to move Jetpack packages out of `vendor/` so WordPress's translation infrastructure will find their strings.",
"support": {
- "source": "https://github.com/Automattic/jetpack-composer-plugin/tree/v1.0.1"
+ "source": "https://github.com/Automattic/jetpack-composer-plugin/tree/v1.1.2"
},
"install-path": "../automattic/jetpack-composer-plugin"
},
{
"name": "automattic/jetpack-config",
- "version": "v1.6.0",
- "version_normalized": "1.6.0.0",
+ "version": "v1.9.0",
+ "version_normalized": "1.9.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-config.git",
- "reference": "1d46f87df9167a03960d708ce767d0efdfc855cf"
+ "reference": "415d06ba5363b2b204d4763aa4d65bfbdd4b769a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-config/zipball/1d46f87df9167a03960d708ce767d0efdfc855cf",
- "reference": "1d46f87df9167a03960d708ce767d0efdfc855cf",
+ "url": "https://api.github.com/repos/Automattic/jetpack-config/zipball/415d06ba5363b2b204d4763aa4d65bfbdd4b769a",
+ "reference": "415d06ba5363b2b204d4763aa4d65bfbdd4b769a",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0"
+ "automattic/jetpack-changelogger": "^3.1"
},
- "time": "2022-01-04T21:11:32+00:00",
+ "time": "2022-05-18T11:11:22+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -497,7 +509,7 @@
"link-template": "https://github.com/Automattic/jetpack-config/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.6.x-dev"
+ "dev-master": "1.9.x-dev"
}
},
"installation-source": "dist",
@@ -512,43 +524,40 @@
],
"description": "Jetpack configuration package that initializes other packages and configures Jetpack's functionality. Can be used as a base for all variants of Jetpack package usage.",
"support": {
- "source": "https://github.com/Automattic/jetpack-config/tree/v1.6.0"
+ "source": "https://github.com/Automattic/jetpack-config/tree/v1.9.0"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-config"
},
{
"name": "automattic/jetpack-connection",
- "version": "v1.34.0",
- "version_normalized": "1.34.0.0",
+ "version": "v1.40.4",
+ "version_normalized": "1.40.4.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-connection.git",
- "reference": "14545cff5de0384e8ced64bb161e814e657efebf"
+ "reference": "961e78895e2add4b6cac41829cdfc0994cf7da64"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-connection/zipball/14545cff5de0384e8ced64bb161e814e657efebf",
- "reference": "14545cff5de0384e8ced64bb161e814e657efebf",
+ "url": "https://api.github.com/repos/Automattic/jetpack-connection/zipball/961e78895e2add4b6cac41829cdfc0994cf7da64",
+ "reference": "961e78895e2add4b6cac41829cdfc0994cf7da64",
"shasum": ""
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^1.4",
+ "automattic/jetpack-admin-ui": "^0.2",
"automattic/jetpack-constants": "^1.6",
- "automattic/jetpack-heartbeat": "^1.4",
- "automattic/jetpack-options": "^1.14",
"automattic/jetpack-redirect": "^1.7",
"automattic/jetpack-roles": "^1.4",
- "automattic/jetpack-status": "^1.9",
- "automattic/jetpack-terms-of-service": "^1.9",
- "automattic/jetpack-tracking": "^1.14"
+ "automattic/jetpack-status": "^1.13"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "@dev",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:56+00:00",
+ "time": "2022-05-24T14:04:16+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -561,14 +570,15 @@
"link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.34.x-dev"
+ "dev-master": "1.40.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"classmap": [
"legacy",
- "src/"
+ "src/",
+ "src/webhooks"
]
},
"notification-url": "https://packagist.org/downloads/",
@@ -577,36 +587,36 @@
],
"description": "Everything needed to connect to the Jetpack infrastructure",
"support": {
- "source": "https://github.com/Automattic/jetpack-connection/tree/v1.34.0"
+ "source": "https://github.com/Automattic/jetpack-connection/tree/v1.40.4"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-connection"
},
{
"name": "automattic/jetpack-connection-ui",
- "version": "v2.3.0",
- "version_normalized": "2.3.0.0",
+ "version": "v2.4.5",
+ "version_normalized": "2.4.5.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-connection-ui.git",
- "reference": "375ea7b050b2dc98a06fc317dae8441dc1eacba8"
+ "reference": "7cd96f53c9a2c5101d67751cee2011e586a18b4d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-connection-ui/zipball/375ea7b050b2dc98a06fc317dae8441dc1eacba8",
- "reference": "375ea7b050b2dc98a06fc317dae8441dc1eacba8",
+ "url": "https://api.github.com/repos/Automattic/jetpack-connection-ui/zipball/7cd96f53c9a2c5101d67751cee2011e586a18b4d",
+ "reference": "7cd96f53c9a2c5101d67751cee2011e586a18b4d",
"shasum": ""
},
"require": {
- "automattic/jetpack-assets": "^1.16",
- "automattic/jetpack-connection": "^1.34",
+ "automattic/jetpack-assets": "^1.17",
+ "automattic/jetpack-connection": "^1.40",
"automattic/jetpack-constants": "^1.6",
"automattic/jetpack-device-detection": "^1.4",
- "automattic/jetpack-identity-crisis": "^0.6"
+ "automattic/jetpack-identity-crisis": "^0.8"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0"
+ "automattic/jetpack-changelogger": "^3.1"
},
- "time": "2022-01-04T21:12:08+00:00",
+ "time": "2022-05-31T07:18:13+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -616,7 +626,7 @@
"link-template": "https://github.com/Automattic/jetpack-connection-ui/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "2.3.x-dev"
+ "dev-master": "2.4.x-dev"
}
},
"installation-source": "dist",
@@ -631,31 +641,31 @@
],
"description": "Jetpack Connection UI",
"support": {
- "source": "https://github.com/Automattic/jetpack-connection-ui/tree/v2.3.0"
+ "source": "https://github.com/Automattic/jetpack-connection-ui/tree/v2.4.5"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-connection-ui"
},
{
"name": "automattic/jetpack-constants",
- "version": "v1.6.14",
- "version_normalized": "1.6.14.0",
+ "version": "v1.6.16",
+ "version_normalized": "1.6.16.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-constants.git",
- "reference": "93af2a61eceaabd16c432451cc33f7c9074efa81"
+ "reference": "f719d15636026c2e47d927a24edc54898d859a0e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/93af2a61eceaabd16c432451cc33f7c9074efa81",
- "reference": "93af2a61eceaabd16c432451cc33f7c9074efa81",
+ "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/f719d15636026c2e47d927a24edc54898d859a0e",
+ "reference": "f719d15636026c2e47d927a24edc54898d859a0e",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:33+00:00",
+ "time": "2022-04-26T14:33:36+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -679,30 +689,30 @@
],
"description": "A wrapper for defining constants in a more testable way.",
"support": {
- "source": "https://github.com/Automattic/jetpack-constants/tree/v1.6.14"
+ "source": "https://github.com/Automattic/jetpack-constants/tree/v1.6.16"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-constants"
},
{
"name": "automattic/jetpack-device-detection",
- "version": "v1.4.11",
- "version_normalized": "1.4.11.0",
+ "version": "v1.4.16",
+ "version_normalized": "1.4.16.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-device-detection.git",
- "reference": "ab5ce7e487de9c9a13456d4aecdb7789f92f818d"
+ "reference": "cd6ffd506a1d24a6d843e999e42320a15c4af697"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-device-detection/zipball/ab5ce7e487de9c9a13456d4aecdb7789f92f818d",
- "reference": "ab5ce7e487de9c9a13456d4aecdb7789f92f818d",
+ "url": "https://api.github.com/repos/Automattic/jetpack-device-detection/zipball/cd6ffd506a1d24a6d843e999e42320a15c4af697",
+ "reference": "cd6ffd506a1d24a6d843e999e42320a15c4af697",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:34+00:00",
+ "time": "2022-04-26T14:33:25+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -726,30 +736,30 @@
],
"description": "A way to detect device types based on User-Agent header.",
"support": {
- "source": "https://github.com/Automattic/jetpack-device-detection/tree/v1.4.11"
+ "source": "https://github.com/Automattic/jetpack-device-detection/tree/v1.4.16"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-device-detection"
},
{
"name": "automattic/jetpack-error",
- "version": "v1.3.12",
- "version_normalized": "1.3.12.0",
+ "version": "v1.3.14",
+ "version_normalized": "1.3.14.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-error.git",
- "reference": "005bf60c2d533b3d169d6688360aaf034e7fc456"
+ "reference": "27ee4d53cc6df699ee80c9d956a09466ff10c522"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-error/zipball/005bf60c2d533b3d169d6688360aaf034e7fc456",
- "reference": "005bf60c2d533b3d169d6688360aaf034e7fc456",
+ "url": "https://api.github.com/repos/Automattic/jetpack-error/zipball/27ee4d53cc6df699ee80c9d956a09466ff10c522",
+ "reference": "27ee4d53cc6df699ee80c9d956a09466ff10c522",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:35+00:00",
+ "time": "2022-04-26T14:33:26+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -773,44 +783,42 @@
],
"description": "Jetpack Error - a wrapper around WP_Error.",
"support": {
- "source": "https://github.com/Automattic/jetpack-error/tree/v1.3.12"
+ "source": "https://github.com/Automattic/jetpack-error/tree/v1.3.14"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-error"
},
{
- "name": "automattic/jetpack-heartbeat",
- "version": "v1.4.0",
- "version_normalized": "1.4.0.0",
+ "name": "automattic/jetpack-google-fonts-provider",
+ "version": "v0.3.0",
+ "version_normalized": "0.3.0.0",
"source": {
"type": "git",
- "url": "https://github.com/Automattic/jetpack-heartbeat.git",
- "reference": "c35053475b1cb7363aee847e0d025f0a043dc3d5"
+ "url": "https://github.com/Automattic/jetpack-google-fonts-provider.git",
+ "reference": "cc26c71d0156bcdce80552cb7f084c23b5fe7be4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-heartbeat/zipball/c35053475b1cb7363aee847e0d025f0a043dc3d5",
- "reference": "c35053475b1cb7363aee847e0d025f0a043dc3d5",
+ "url": "https://api.github.com/repos/Automattic/jetpack-google-fonts-provider/zipball/cc26c71d0156bcdce80552cb7f084c23b5fe7be4",
+ "reference": "cc26c71d0156bcdce80552cb7f084c23b5fe7be4",
"shasum": ""
},
- "require": {
- "automattic/jetpack-a8c-mc-stats": "^1.4",
- "automattic/jetpack-options": "^1.14"
- },
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0"
+ "automattic/jetpack-changelogger": "^3.1",
+ "brain/monkey": "2.6.1",
+ "yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:47+00:00",
+ "time": "2022-04-26T14:33:32+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
- "mirror-repo": "Automattic/jetpack-heartbeat",
- "textdomain": "jetpack-heartbeat",
+ "mirror-repo": "Automattic/jetpack-google-fonts-provider",
"changelogger": {
- "link-template": "https://github.com/Automattic/jetpack-heartbeat/compare/v${old}...v${new}"
+ "link-template": "https://github.com/Automattic/jetpack-google-fonts-provider/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.4.x-dev"
- }
+ "dev-master": "0.3.x-dev"
+ },
+ "textdomain": "jetpack-google-fonts-provider"
},
"installation-source": "dist",
"autoload": {
@@ -822,42 +830,40 @@
"license": [
"GPL-2.0-or-later"
],
- "description": "This adds a cronjob that sends a batch of internal automattic stats to wp.com once a day",
+ "description": "WordPress Webfonts provider for Google Fonts",
"support": {
- "source": "https://github.com/Automattic/jetpack-heartbeat/tree/v1.4.0"
+ "source": "https://github.com/Automattic/jetpack-google-fonts-provider/tree/v0.3.0"
},
- "install-path": "../../jetpack_vendor/automattic/jetpack-heartbeat"
+ "install-path": "../../jetpack_vendor/automattic/jetpack-google-fonts-provider"
},
{
"name": "automattic/jetpack-identity-crisis",
- "version": "v0.6.1",
- "version_normalized": "0.6.1.0",
+ "version": "v0.8.12",
+ "version_normalized": "0.8.12.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-identity-crisis.git",
- "reference": "62f19cd6b289f719ed0ae4fb366b0bf44c5f5be9"
+ "reference": "413d54acd9ff71cb1ddc8c354f9fb8c784223ae6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-identity-crisis/zipball/62f19cd6b289f719ed0ae4fb366b0bf44c5f5be9",
- "reference": "62f19cd6b289f719ed0ae4fb366b0bf44c5f5be9",
+ "url": "https://api.github.com/repos/Automattic/jetpack-identity-crisis/zipball/413d54acd9ff71cb1ddc8c354f9fb8c784223ae6",
+ "reference": "413d54acd9ff71cb1ddc8c354f9fb8c784223ae6",
"shasum": ""
},
"require": {
- "automattic/jetpack-assets": "^1.16",
- "automattic/jetpack-connection": "^1.34",
+ "automattic/jetpack-assets": "^1.17",
+ "automattic/jetpack-connection": "^1.40",
"automattic/jetpack-constants": "^1.6",
"automattic/jetpack-logo": "^1.5",
- "automattic/jetpack-options": "^1.14",
- "automattic/jetpack-status": "^1.9",
- "automattic/jetpack-tracking": "^1.14"
+ "automattic/jetpack-status": "^1.13"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "@dev",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-11T16:37:39+00:00",
+ "time": "2022-05-30T21:28:24+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -870,7 +876,7 @@
"link-template": "https://github.com/Automattic/jetpack-identity-crisis/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "0.6.x-dev"
+ "dev-master": "0.8.x-dev"
}
},
"installation-source": "dist",
@@ -885,43 +891,41 @@
],
"description": "Identity Crisis.",
"support": {
- "source": "https://github.com/Automattic/jetpack-identity-crisis/tree/v0.6.1"
+ "source": "https://github.com/Automattic/jetpack-identity-crisis/tree/v0.8.12"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-identity-crisis"
},
{
"name": "automattic/jetpack-jitm",
- "version": "v2.2.0",
- "version_normalized": "2.2.0.0",
+ "version": "v2.2.17",
+ "version_normalized": "2.2.17.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-jitm.git",
- "reference": "7ac6dc5ffb274310ddc6d38fc1611af19245dc96"
+ "reference": "565f134bfd39d818fab662c3870f6209ec0fdb15"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-jitm/zipball/7ac6dc5ffb274310ddc6d38fc1611af19245dc96",
- "reference": "7ac6dc5ffb274310ddc6d38fc1611af19245dc96",
+ "url": "https://api.github.com/repos/Automattic/jetpack-jitm/zipball/565f134bfd39d818fab662c3870f6209ec0fdb15",
+ "reference": "565f134bfd39d818fab662c3870f6209ec0fdb15",
"shasum": ""
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^1.4",
- "automattic/jetpack-assets": "^1.16",
- "automattic/jetpack-connection": "^1.34",
+ "automattic/jetpack-assets": "^1.17",
+ "automattic/jetpack-connection": "^1.40",
"automattic/jetpack-device-detection": "^1.4",
"automattic/jetpack-logo": "^1.5",
- "automattic/jetpack-options": "^1.14",
- "automattic/jetpack-partner": "^1.6",
+ "automattic/jetpack-partner": "^1.7",
"automattic/jetpack-redirect": "^1.7",
- "automattic/jetpack-status": "^1.9",
- "automattic/jetpack-tracking": "^1.14"
+ "automattic/jetpack-status": "^1.13"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:12:02+00:00",
+ "time": "2022-05-18T11:12:19+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -949,35 +953,35 @@
],
"description": "Just in time messages for Jetpack",
"support": {
- "source": "https://github.com/Automattic/jetpack-jitm/tree/v2.2.0"
+ "source": "https://github.com/Automattic/jetpack-jitm/tree/v2.2.17"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-jitm"
},
{
"name": "automattic/jetpack-lazy-images",
- "version": "v2.1.0",
- "version_normalized": "2.1.0.0",
+ "version": "v2.1.15",
+ "version_normalized": "2.1.15.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-lazy-images.git",
- "reference": "5aa6cfed2311fd3eb85d5c61dcf59854c5418380"
+ "reference": "d3fdf40a4671e2a51271e538eab0f3b7e9815298"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-lazy-images/zipball/5aa6cfed2311fd3eb85d5c61dcf59854c5418380",
- "reference": "5aa6cfed2311fd3eb85d5c61dcf59854c5418380",
+ "url": "https://api.github.com/repos/Automattic/jetpack-lazy-images/zipball/d3fdf40a4671e2a51271e538eab0f3b7e9815298",
+ "reference": "d3fdf40a4671e2a51271e538eab0f3b7e9815298",
"shasum": ""
},
"require": {
- "automattic/jetpack-assets": "^1.16",
+ "automattic/jetpack-assets": "^1.17",
"automattic/jetpack-constants": "^1.6"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "dev-master",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:48+00:00",
+ "time": "2022-05-24T14:04:18+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -1002,35 +1006,34 @@
],
"description": "Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.",
"support": {
- "source": "https://github.com/Automattic/jetpack-lazy-images/tree/v2.1.0"
+ "source": "https://github.com/Automattic/jetpack-lazy-images/tree/v2.1.15"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-lazy-images"
},
{
"name": "automattic/jetpack-licensing",
- "version": "v1.6.0",
- "version_normalized": "1.6.0.0",
+ "version": "v1.7.2",
+ "version_normalized": "1.7.2.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-licensing.git",
- "reference": "cf6c5c97313fcfd2b5497cc3de945e49262f633e"
+ "reference": "56c1b6f4edf9b5f05abbb788fd0c928a3ad80010"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-licensing/zipball/cf6c5c97313fcfd2b5497cc3de945e49262f633e",
- "reference": "cf6c5c97313fcfd2b5497cc3de945e49262f633e",
+ "url": "https://api.github.com/repos/Automattic/jetpack-licensing/zipball/56c1b6f4edf9b5f05abbb788fd0c928a3ad80010",
+ "reference": "56c1b6f4edf9b5f05abbb788fd0c928a3ad80010",
"shasum": ""
},
"require": {
- "automattic/jetpack-connection": "^1.34",
- "automattic/jetpack-options": "^1.14"
+ "automattic/jetpack-connection": "^1.40"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "@dev",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:12:03+00:00",
+ "time": "2022-05-04T14:50:08+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -1040,7 +1043,7 @@
"link-template": "https://github.com/Automattic/jetpack-licensing/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.6.x-dev"
+ "dev-master": "1.7.x-dev"
}
},
"installation-source": "dist",
@@ -1055,30 +1058,30 @@
],
"description": "Everything needed to manage Jetpack licenses client-side.",
"support": {
- "source": "https://github.com/Automattic/jetpack-licensing/tree/v1.6.0"
+ "source": "https://github.com/Automattic/jetpack-licensing/tree/v1.7.2"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-licensing"
},
{
"name": "automattic/jetpack-logo",
- "version": "v1.5.13",
- "version_normalized": "1.5.13.0",
+ "version": "v1.5.15",
+ "version_normalized": "1.5.15.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-logo.git",
- "reference": "0f0a80b3ac89d8d64756a8049903fcedf6f2e887"
+ "reference": "bd09da63f76bce1ca867a119d0da7ecdfaf8f183"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-logo/zipball/0f0a80b3ac89d8d64756a8049903fcedf6f2e887",
- "reference": "0f0a80b3ac89d8d64756a8049903fcedf6f2e887",
+ "url": "https://api.github.com/repos/Automattic/jetpack-logo/zipball/bd09da63f76bce1ca867a119d0da7ecdfaf8f183",
+ "reference": "bd09da63f76bce1ca867a119d0da7ecdfaf8f183",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:37+00:00",
+ "time": "2022-04-26T14:33:30+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -1102,35 +1105,40 @@
],
"description": "A logo for Jetpack",
"support": {
- "source": "https://github.com/Automattic/jetpack-logo/tree/v1.5.13"
+ "source": "https://github.com/Automattic/jetpack-logo/tree/v1.5.15"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-logo"
},
{
"name": "automattic/jetpack-my-jetpack",
- "version": "v0.3.0",
- "version_normalized": "0.3.0.0",
+ "version": "v1.6.0",
+ "version_normalized": "1.6.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-my-jetpack.git",
- "reference": "74179288cb1c3193320618fbc00e35244278ae9f"
+ "reference": "45ba066ecc2fd574d4a06ea6922c4cc681049622"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-my-jetpack/zipball/74179288cb1c3193320618fbc00e35244278ae9f",
- "reference": "74179288cb1c3193320618fbc00e35244278ae9f",
+ "url": "https://api.github.com/repos/Automattic/jetpack-my-jetpack/zipball/45ba066ecc2fd574d4a06ea6922c4cc681049622",
+ "reference": "45ba066ecc2fd574d4a06ea6922c4cc681049622",
"shasum": ""
},
"require": {
"automattic/jetpack-admin-ui": "^0.2",
- "automattic/jetpack-assets": "^1.16",
- "automattic/jetpack-connection": "^1.34"
+ "automattic/jetpack-assets": "^1.17",
+ "automattic/jetpack-connection": "^1.40",
+ "automattic/jetpack-licensing": "^1.7",
+ "automattic/jetpack-plugins-installer": "^0.1",
+ "automattic/jetpack-redirect": "^1.7"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
+ "automattic/jetpack-constants": "^1.6",
+ "automattic/wordbless": "@dev",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:12:04+00:00",
+ "time": "2022-05-30T21:28:29+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -1140,13 +1148,17 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-master": "0.3.x-dev"
+ "dev-master": "1.6.x-dev"
+ },
+ "version-constants": {
+ "::PACKAGE_VERSION": "src/class-initializer.php"
}
},
"installation-source": "dist",
"autoload": {
"classmap": [
- "src/"
+ "src/",
+ "src/products"
]
},
"notification-url": "https://packagist.org/downloads/",
@@ -1155,92 +1167,94 @@
],
"description": "WP Admin page with information and configuration shared among all Jetpack stand-alone plugins",
"support": {
- "source": "https://github.com/Automattic/jetpack-my-jetpack/tree/v0.3.0"
+ "source": "https://github.com/Automattic/jetpack-my-jetpack/tree/v1.6.0"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-my-jetpack"
},
{
- "name": "automattic/jetpack-options",
- "version": "v1.14.2",
- "version_normalized": "1.14.2.0",
+ "name": "automattic/jetpack-partner",
+ "version": "v1.7.9",
+ "version_normalized": "1.7.9.0",
"source": {
"type": "git",
- "url": "https://github.com/Automattic/jetpack-options.git",
- "reference": "9cd0f27ae970097bf6a8bc5b3c80cf079e4bf3f2"
+ "url": "https://github.com/Automattic/jetpack-partner.git",
+ "reference": "e0661ea46306f9063d160987e29a23b4bbeb8f57"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-options/zipball/9cd0f27ae970097bf6a8bc5b3c80cf079e4bf3f2",
- "reference": "9cd0f27ae970097bf6a8bc5b3c80cf079e4bf3f2",
+ "url": "https://api.github.com/repos/Automattic/jetpack-partner/zipball/e0661ea46306f9063d160987e29a23b4bbeb8f57",
+ "reference": "e0661ea46306f9063d160987e29a23b4bbeb8f57",
"shasum": ""
},
"require": {
- "automattic/jetpack-constants": "^1.6"
+ "automattic/jetpack-connection": "^1.40",
+ "automattic/jetpack-status": "^1.13"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
+ "automattic/wordbless": "@dev",
+ "brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:42+00:00",
+ "time": "2022-05-18T11:12:11+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
- "mirror-repo": "Automattic/jetpack-options",
+ "mirror-repo": "Automattic/jetpack-partner",
"changelogger": {
- "link-template": "https://github.com/Automattic/jetpack-options/compare/v${old}...v${new}"
+ "link-template": "https://github.com/Automattic/jetpack-partner/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.14.x-dev"
+ "dev-master": "1.7.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"classmap": [
- "legacy"
+ "src/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0-or-later"
],
- "description": "A wrapper for wp-options to manage specific Jetpack options.",
+ "description": "Support functions for Jetpack hosting partners.",
"support": {
- "source": "https://github.com/Automattic/jetpack-options/tree/v1.14.2"
+ "source": "https://github.com/Automattic/jetpack-partner/tree/v1.7.9"
},
- "install-path": "../../jetpack_vendor/automattic/jetpack-options"
+ "install-path": "../../jetpack_vendor/automattic/jetpack-partner"
},
{
- "name": "automattic/jetpack-partner",
- "version": "v1.6.2",
- "version_normalized": "1.6.2.0",
+ "name": "automattic/jetpack-password-checker",
+ "version": "v0.2.4",
+ "version_normalized": "0.2.4.0",
"source": {
"type": "git",
- "url": "https://github.com/Automattic/jetpack-partner.git",
- "reference": "68ff674f5f1301e1016521b58a39d18fe6442407"
+ "url": "https://github.com/Automattic/jetpack-password-checker.git",
+ "reference": "564abb217f8ebb7291da9c7a080e23a47379393e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-partner/zipball/68ff674f5f1301e1016521b58a39d18fe6442407",
- "reference": "68ff674f5f1301e1016521b58a39d18fe6442407",
+ "url": "https://api.github.com/repos/Automattic/jetpack-password-checker/zipball/564abb217f8ebb7291da9c7a080e23a47379393e",
+ "reference": "564abb217f8ebb7291da9c7a080e23a47379393e",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
- "automattic/jetpack-options": "^1.14",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "@dev",
- "brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:49+00:00",
+ "time": "2022-04-26T14:33:41+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
- "mirror-repo": "Automattic/jetpack-partner",
+ "mirror-repo": "Automattic/jetpack-password-checker",
+ "textdomain": "jetpack-password-checker",
"changelogger": {
- "link-template": "https://github.com/Automattic/jetpack-partner/compare/v${old}...v${new}"
+ "link-template": "https://github.com/Automattic/jetpack-password-checker/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.6.x-dev"
+ "dev-master": "0.2.x-dev"
}
},
"installation-source": "dist",
@@ -1253,43 +1267,99 @@
"license": [
"GPL-2.0-or-later"
],
- "description": "Support functions for Jetpack hosting partners.",
+ "description": "Password Checker.",
"support": {
- "source": "https://github.com/Automattic/jetpack-partner/tree/v1.6.2"
+ "source": "https://github.com/Automattic/jetpack-password-checker/tree/v0.2.4"
},
- "install-path": "../../jetpack_vendor/automattic/jetpack-partner"
+ "install-path": "../../jetpack_vendor/automattic/jetpack-password-checker"
},
{
- "name": "automattic/jetpack-password-checker",
- "version": "v0.2.0",
- "version_normalized": "0.2.0.0",
+ "name": "automattic/jetpack-plugins-installer",
+ "version": "v0.1.2",
+ "version_normalized": "0.1.2.0",
"source": {
"type": "git",
- "url": "https://github.com/Automattic/jetpack-password-checker.git",
- "reference": "e07ea017e9d13fbb4104e40308dde8413ef6310f"
+ "url": "https://github.com/Automattic/jetpack-plugins-installer.git",
+ "reference": "fb2f833a85f7f9dcc096538fa6a809a66a12cc82"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-password-checker/zipball/e07ea017e9d13fbb4104e40308dde8413ef6310f",
- "reference": "e07ea017e9d13fbb4104e40308dde8413ef6310f",
+ "url": "https://api.github.com/repos/Automattic/jetpack-plugins-installer/zipball/fb2f833a85f7f9dcc096538fa6a809a66a12cc82",
+ "reference": "fb2f833a85f7f9dcc096538fa6a809a66a12cc82",
"shasum": ""
},
+ "require": {
+ "automattic/jetpack-a8c-mc-stats": "^1.4"
+ },
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
- "automattic/wordbless": "@dev",
+ "automattic/jetpack-changelogger": "^3.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:38+00:00",
+ "time": "2022-04-26T14:33:46+00:00",
"type": "jetpack-library",
"extra": {
+ "branch-alias": {
+ "dev-master": "0.1.x-dev"
+ },
+ "mirror-repo": "Automattic/jetpack-plugins-installer",
+ "changelogger": {
+ "link-template": "https://github.com/Automattic/jetpack-plugins-installer/compare/v${old}...v${new}"
+ },
"autotagger": true,
- "mirror-repo": "Automattic/jetpack-password-checker",
- "textdomain": "jetpack-password-checker",
+ "textdomain": "jetpack-plugins-installer"
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "GPL-2.0-or-later"
+ ],
+ "description": "Handle installation of plugins from WP.org",
+ "support": {
+ "source": "https://github.com/Automattic/jetpack-plugins-installer/tree/v0.1.2"
+ },
+ "install-path": "../../jetpack_vendor/automattic/jetpack-plugins-installer"
+ },
+ {
+ "name": "automattic/jetpack-publicize",
+ "version": "v0.5.0",
+ "version_normalized": "0.5.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Automattic/jetpack-publicize.git",
+ "reference": "dc151f2e47e72077ac5734122a99854c291dd386"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Automattic/jetpack-publicize/zipball/dc151f2e47e72077ac5734122a99854c291dd386",
+ "reference": "dc151f2e47e72077ac5734122a99854c291dd386",
+ "shasum": ""
+ },
+ "require": {
+ "automattic/jetpack-autoloader": "^2.11",
+ "automattic/jetpack-config": "^1.9",
+ "automattic/jetpack-connection": "^1.40"
+ },
+ "require-dev": {
+ "automattic/jetpack-changelogger": "^3.1",
+ "automattic/wordbless": "0.3.1",
+ "yoast/phpunit-polyfills": "1.0.3"
+ },
+ "time": "2022-05-31T07:18:05+00:00",
+ "type": "jetpack-library",
+ "extra": {
+ "autotagger": true,
+ "mirror-repo": "Automattic/jetpack-publicize",
+ "textdomain": "jetpack-publicize-pkg",
"changelogger": {
- "link-template": "https://github.com/Automattic/jetpack-password-checker/compare/v${old}...v${new}"
+ "link-template": "https://github.com/Automattic/jetpack-publicize/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "0.2.x-dev"
+ "dev-master": "0.5.x-dev"
}
},
"installation-source": "dist",
@@ -1302,36 +1372,36 @@
"license": [
"GPL-2.0-or-later"
],
- "description": "Password Checker.",
+ "description": "Publicize makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.",
"support": {
- "source": "https://github.com/Automattic/jetpack-password-checker/tree/v0.2.0"
+ "source": "https://github.com/Automattic/jetpack-publicize/tree/v0.5.0"
},
- "install-path": "../../jetpack_vendor/automattic/jetpack-password-checker"
+ "install-path": "../../jetpack_vendor/automattic/jetpack-publicize"
},
{
"name": "automattic/jetpack-redirect",
- "version": "v1.7.9",
- "version_normalized": "1.7.9.0",
+ "version": "v1.7.15",
+ "version_normalized": "1.7.15.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-redirect.git",
- "reference": "7b7640108a704b6978814e0cfb2e5102d19c7d42"
+ "reference": "d9c416ba23831cce2608c6fd689754f15dcb8498"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-redirect/zipball/7b7640108a704b6978814e0cfb2e5102d19c7d42",
- "reference": "7b7640108a704b6978814e0cfb2e5102d19c7d42",
+ "url": "https://api.github.com/repos/Automattic/jetpack-redirect/zipball/d9c416ba23831cce2608c6fd689754f15dcb8498",
+ "reference": "d9c416ba23831cce2608c6fd689754f15dcb8498",
"shasum": ""
},
"require": {
- "automattic/jetpack-status": "^1.9"
+ "automattic/jetpack-status": "^1.13"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:51+00:00",
+ "time": "2022-05-10T11:30:40+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -1355,31 +1425,31 @@
],
"description": "Utilities to build URLs to the jetpack.com/redirect/ service",
"support": {
- "source": "https://github.com/Automattic/jetpack-redirect/tree/v1.7.9"
+ "source": "https://github.com/Automattic/jetpack-redirect/tree/v1.7.15"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-redirect"
},
{
"name": "automattic/jetpack-roles",
- "version": "v1.4.13",
- "version_normalized": "1.4.13.0",
+ "version": "v1.4.15",
+ "version_normalized": "1.4.15.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-roles.git",
- "reference": "5d0a94f52de1e44a4537bc736af940f6b178c107"
+ "reference": "6ffbb2fef269334e3528380bfd7a064e3c904dce"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-roles/zipball/5d0a94f52de1e44a4537bc736af940f6b178c107",
- "reference": "5d0a94f52de1e44a4537bc736af940f6b178c107",
+ "url": "https://api.github.com/repos/Automattic/jetpack-roles/zipball/6ffbb2fef269334e3528380bfd7a064e3c904dce",
+ "reference": "6ffbb2fef269334e3528380bfd7a064e3c904dce",
"shasum": ""
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:39+00:00",
+ "time": "2022-04-26T14:33:35+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -1403,34 +1473,38 @@
],
"description": "Utilities, related with user roles and capabilities.",
"support": {
- "source": "https://github.com/Automattic/jetpack-roles/tree/v1.4.13"
+ "source": "https://github.com/Automattic/jetpack-roles/tree/v1.4.15"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-roles"
},
{
"name": "automattic/jetpack-search",
- "version": "v0.4.0",
- "version_normalized": "0.4.0.0",
+ "version": "v0.14.2",
+ "version_normalized": "0.14.2.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-search.git",
- "reference": "dee991d060e09821b2b4c9927c987a4877c3648e"
+ "reference": "d870313615db71e536c450523fabeba0b28fd990"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-search/zipball/dee991d060e09821b2b4c9927c987a4877c3648e",
- "reference": "dee991d060e09821b2b4c9927c987a4877c3648e",
+ "url": "https://api.github.com/repos/Automattic/jetpack-search/zipball/d870313615db71e536c450523fabeba0b28fd990",
+ "reference": "d870313615db71e536c450523fabeba0b28fd990",
"shasum": ""
},
"require": {
- "automattic/jetpack-connection": "^1.34"
+ "automattic/jetpack-assets": "^1.17",
+ "automattic/jetpack-config": "^1.9",
+ "automattic/jetpack-connection": "^1.40",
+ "automattic/jetpack-constants": "^1.6",
+ "automattic/jetpack-status": "^1.13"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "0.3.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:12:05+00:00",
+ "time": "2022-05-30T21:28:31+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -1440,7 +1514,10 @@
"link-template": "https://github.com/Automattic/jetpack-search/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "0.4.x-dev"
+ "dev-master": "0.14.x-dev"
+ },
+ "version-constants": {
+ "::VERSION": "src/class-package.php"
}
},
"installation-source": "dist",
@@ -1455,34 +1532,34 @@
],
"description": "Tools to assist with enabling cloud search for Jetpack sites.",
"support": {
- "source": "https://github.com/Automattic/jetpack-search/tree/v0.4.0"
+ "source": "https://github.com/Automattic/jetpack-search/tree/v0.14.2"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-search"
},
{
"name": "automattic/jetpack-status",
- "version": "v1.9.5",
- "version_normalized": "1.9.5.0",
+ "version": "v1.13.6",
+ "version_normalized": "1.13.6.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-status.git",
- "reference": "6300e03a808ef63dda558f0eb78e39a0e529a274"
+ "reference": "6005840740548864d2a67090d87b59a6f141e5c4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-status/zipball/6300e03a808ef63dda558f0eb78e39a0e529a274",
- "reference": "6300e03a808ef63dda558f0eb78e39a0e529a274",
+ "url": "https://api.github.com/repos/Automattic/jetpack-status/zipball/6005840740548864d2a67090d87b59a6f141e5c4",
+ "reference": "6005840740548864d2a67090d87b59a6f141e5c4",
"shasum": ""
},
"require": {
"automattic/jetpack-constants": "^1.6"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:43+00:00",
+ "time": "2022-05-24T14:04:09+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -1491,7 +1568,7 @@
"link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.9.x-dev"
+ "dev-master": "1.13.x-dev"
}
},
"installation-source": "dist",
@@ -1506,41 +1583,39 @@
],
"description": "Used to retrieve information about the current status of Jetpack and the site overall.",
"support": {
- "source": "https://github.com/Automattic/jetpack-status/tree/v1.9.5"
+ "source": "https://github.com/Automattic/jetpack-status/tree/v1.13.6"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-status"
},
{
"name": "automattic/jetpack-sync",
- "version": "v1.28.0",
- "version_normalized": "1.28.0.0",
+ "version": "v1.35.0",
+ "version_normalized": "1.35.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-sync.git",
- "reference": "3c7ce980bde96feaf695f998d5eb9458c9c16732"
+ "reference": "f29ffa6ea82855b44ec2ecc2a51adbbff006d3fb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-sync/zipball/3c7ce980bde96feaf695f998d5eb9458c9c16732",
- "reference": "3c7ce980bde96feaf695f998d5eb9458c9c16732",
+ "url": "https://api.github.com/repos/Automattic/jetpack-sync/zipball/f29ffa6ea82855b44ec2ecc2a51adbbff006d3fb",
+ "reference": "f29ffa6ea82855b44ec2ecc2a51adbbff006d3fb",
"shasum": ""
},
"require": {
- "automattic/jetpack-connection": "^1.34",
+ "automattic/jetpack-connection": "^1.40",
"automattic/jetpack-constants": "^1.6",
- "automattic/jetpack-heartbeat": "^1.4",
- "automattic/jetpack-identity-crisis": "^0.6",
- "automattic/jetpack-options": "^1.14",
+ "automattic/jetpack-identity-crisis": "^0.8",
"automattic/jetpack-password-checker": "^0.2",
"automattic/jetpack-roles": "^1.4",
- "automattic/jetpack-status": "^1.9"
+ "automattic/jetpack-status": "^1.13"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
+ "automattic/jetpack-changelogger": "^3.1",
"automattic/wordbless": "@dev",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:12:09+00:00",
+ "time": "2022-05-30T21:28:27+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
@@ -1553,7 +1628,7 @@
"link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.28.x-dev"
+ "dev-master": "1.35.x-dev"
}
},
"installation-source": "dist",
@@ -1568,48 +1643,51 @@
],
"description": "Everything needed to allow syncing to the WP.com infrastructure.",
"support": {
- "source": "https://github.com/Automattic/jetpack-sync/tree/v1.28.0"
+ "source": "https://github.com/Automattic/jetpack-sync/tree/v1.35.0"
},
"install-path": "../../jetpack_vendor/automattic/jetpack-sync"
},
{
- "name": "automattic/jetpack-terms-of-service",
- "version": "v1.9.18",
- "version_normalized": "1.9.18.0",
+ "name": "automattic/jetpack-waf",
+ "version": "v0.6.2",
+ "version_normalized": "0.6.2.0",
"source": {
"type": "git",
- "url": "https://github.com/Automattic/jetpack-terms-of-service.git",
- "reference": "46f3ac423d38219d719f0d0a33e7753b6e28d7ef"
+ "url": "https://github.com/Automattic/jetpack-waf.git",
+ "reference": "e2913c79506ddfafa4d82afbaf3998dfd721ea10"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-terms-of-service/zipball/46f3ac423d38219d719f0d0a33e7753b6e28d7ef",
- "reference": "46f3ac423d38219d719f0d0a33e7753b6e28d7ef",
+ "url": "https://api.github.com/repos/Automattic/jetpack-waf/zipball/e2913c79506ddfafa4d82afbaf3998dfd721ea10",
+ "reference": "e2913c79506ddfafa4d82afbaf3998dfd721ea10",
"shasum": ""
},
"require": {
- "automattic/jetpack-options": "^1.14",
- "automattic/jetpack-status": "^1.9"
+ "wikimedia/aho-corasick": "^1.0"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
- "brain/monkey": "2.6.1",
+ "automattic/jetpack-changelogger": "^3.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:52+00:00",
+ "time": "2022-06-06T07:57:49+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
- "mirror-repo": "Automattic/jetpack-terms-of-service",
+ "mirror-repo": "Automattic/jetpack-waf",
+ "textdomain": "jetpack-waf",
"changelogger": {
- "link-template": "https://github.com/Automattic/jetpack-terms-of-service/compare/v${old}...v${new}"
+ "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}"
},
"branch-alias": {
- "dev-master": "1.9.x-dev"
+ "dev-master": "0.6.x-dev"
}
},
"installation-source": "dist",
"autoload": {
+ "files": [
+ "actions.php",
+ "cli.php"
+ ],
"classmap": [
"src/"
]
@@ -1618,55 +1696,57 @@
"license": [
"GPL-2.0-or-later"
],
- "description": "Everything need to manage the terms of service state",
+ "description": "Tools to assist with the Jetpack Web Application Firewall",
"support": {
- "source": "https://github.com/Automattic/jetpack-terms-of-service/tree/v1.9.18"
+ "source": "https://github.com/Automattic/jetpack-waf/tree/v0.6.2"
},
- "install-path": "../../jetpack_vendor/automattic/jetpack-terms-of-service"
+ "install-path": "../../jetpack_vendor/automattic/jetpack-waf"
},
{
- "name": "automattic/jetpack-tracking",
- "version": "v1.14.0",
- "version_normalized": "1.14.0.0",
+ "name": "automattic/jetpack-wordads",
+ "version": "v0.2.4",
+ "version_normalized": "0.2.4.0",
"source": {
"type": "git",
- "url": "https://github.com/Automattic/jetpack-tracking.git",
- "reference": "b2f869437c42fca557f3450fed0f61ae6162d0bf"
+ "url": "https://github.com/Automattic/jetpack-wordads.git",
+ "reference": "29fa0b7335f620f55dce0de26138e2a3876180f2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/jetpack-tracking/zipball/b2f869437c42fca557f3450fed0f61ae6162d0bf",
- "reference": "b2f869437c42fca557f3450fed0f61ae6162d0bf",
+ "url": "https://api.github.com/repos/Automattic/jetpack-wordads/zipball/29fa0b7335f620f55dce0de26138e2a3876180f2",
+ "reference": "29fa0b7335f620f55dce0de26138e2a3876180f2",
"shasum": ""
},
"require": {
- "automattic/jetpack-assets": "^1.16",
- "automattic/jetpack-options": "^1.14",
- "automattic/jetpack-status": "^1.9",
- "automattic/jetpack-terms-of-service": "^1.9"
+ "automattic/jetpack-assets": "^1.17",
+ "automattic/jetpack-config": "^1.9",
+ "automattic/jetpack-connection": "^1.40",
+ "automattic/jetpack-constants": "^1.6",
+ "automattic/jetpack-status": "^1.13"
},
"require-dev": {
- "automattic/jetpack-changelogger": "^3.0",
- "brain/monkey": "2.6.1",
+ "automattic/jetpack-changelogger": "^3.1",
"yoast/phpunit-polyfills": "1.0.3"
},
- "time": "2022-01-04T21:11:55+00:00",
+ "time": "2022-05-31T07:18:08+00:00",
"type": "jetpack-library",
"extra": {
- "autotagger": true,
- "mirror-repo": "Automattic/jetpack-tracking",
- "textdomain": "jetpack-tracking",
+ "mirror-repo": "Automattic/jetpack-wordads",
"changelogger": {
- "link-template": "https://github.com/Automattic/jetpack-tracking/compare/v${old}...v${new}"
+ "link-template": "https://github.com/Automattic/jetpack-wordads/compare/v${old}...v${new}"
},
+ "autotagger": true,
"branch-alias": {
- "dev-master": "1.14.x-dev"
+ "dev-master": "0.2.x-dev"
+ },
+ "textdomain": "jetpack-wordads",
+ "version-constants": {
+ "::VERSION": "src/class-package.php"
}
},
"installation-source": "dist",
"autoload": {
"classmap": [
- "legacy",
"src/"
]
},
@@ -1674,11 +1754,11 @@
"license": [
"GPL-2.0-or-later"
],
- "description": "Tracking for Jetpack",
+ "description": "Earn income by allowing Jetpack to display high quality ads.",
"support": {
- "source": "https://github.com/Automattic/jetpack-tracking/tree/v1.14.0"
+ "source": "https://github.com/Automattic/jetpack-wordads/tree/v0.2.4"
},
- "install-path": "../../jetpack_vendor/automattic/jetpack-tracking"
+ "install-path": "../../jetpack_vendor/automattic/jetpack-wordads"
},
{
"name": "nojimage/twitter-text-php",
@@ -1752,6 +1832,60 @@
"source": "https://github.com/nojimage/twitter-text-php/tree/v3.1.2"
},
"install-path": "../nojimage/twitter-text-php"
+ },
+ {
+ "name": "wikimedia/aho-corasick",
+ "version": "v1.0.1",
+ "version_normalized": "1.0.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/wikimedia/AhoCorasick.git",
+ "reference": "2f3a1bd765913637a66eade658d11d82f0e551be"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be",
+ "reference": "2f3a1bd765913637a66eade658d11d82f0e551be",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.5.9"
+ },
+ "require-dev": {
+ "jakub-onderka/php-console-highlighter": "0.3.2",
+ "jakub-onderka/php-parallel-lint": "1.0.0",
+ "mediawiki/mediawiki-codesniffer": "18.0.0",
+ "mediawiki/minus-x": "0.3.1",
+ "phpunit/phpunit": "4.8.36 || ^6.5"
+ },
+ "time": "2018-05-01T18:13:32+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache-2.0"
+ ],
+ "authors": [
+ {
+ "name": "Ori Livneh",
+ "email": "ori@wikimedia.org"
+ }
+ ],
+ "description": "An implementation of the Aho-Corasick string matching algorithm.",
+ "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick",
+ "keywords": [
+ "ahocorasick",
+ "matcher"
+ ],
+ "support": {
+ "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1"
+ },
+ "install-path": "../wikimedia/aho-corasick"
}
],
"dev": false,
diff --git a/plugins/jetpack/vendor/composer/installed.php b/plugins/jetpack/vendor/composer/installed.php
index a7b11827..95139d52 100644
--- a/plugins/jetpack/vendor/composer/installed.php
+++ b/plugins/jetpack/vendor/composer/installed.php
@@ -20,291 +20,300 @@
'dev_requirement' => false,
),
'automattic/jetpack-a8c-mc-stats' => array(
- 'pretty_version' => 'v1.4.11',
- 'version' => '1.4.11.0',
+ 'pretty_version' => 'v1.4.13',
+ 'version' => '1.4.13.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-a8c-mc-stats',
'aliases' => array(),
- 'reference' => '6e7d7c8b9c996f04978b834e4c3484bd2d916998',
+ 'reference' => '64ee9a83861c6b2c8744e2ebc25157806f3548e0',
'dev_requirement' => false,
),
'automattic/jetpack-abtest' => array(
- 'pretty_version' => 'v1.9.18',
- 'version' => '1.9.18.0',
+ 'pretty_version' => 'v1.10.0',
+ 'version' => '1.10.0.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-abtest',
'aliases' => array(),
- 'reference' => '8ad2e2685a1370f080c403095bad009b2f87370e',
+ 'reference' => '06455abc621f3e41d316dc5d98f3c9cd8fb39e12',
'dev_requirement' => false,
),
'automattic/jetpack-admin-ui' => array(
- 'pretty_version' => 'v0.2.1',
- 'version' => '0.2.1.0',
+ 'pretty_version' => 'v0.2.7',
+ 'version' => '0.2.7.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-admin-ui',
'aliases' => array(),
- 'reference' => 'ce6964700c9698f9ea8c0a00120f1fbbd755de57',
+ 'reference' => '56a60ee4d03ac2be62cb341e3df0f2fb5cc851f8',
'dev_requirement' => false,
),
'automattic/jetpack-assets' => array(
- 'pretty_version' => 'v1.16.1',
- 'version' => '1.16.1.0',
+ 'pretty_version' => 'v1.17.14',
+ 'version' => '1.17.14.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets',
'aliases' => array(),
- 'reference' => '5a6959969bed4559e080269cafbd69d476249822',
+ 'reference' => 'ed3776e0eeefc9afc5eb6cac286c57d05c9af0e1',
'dev_requirement' => false,
),
'automattic/jetpack-autoloader' => array(
- 'pretty_version' => 'v2.10.11',
- 'version' => '2.10.11.0',
+ 'pretty_version' => 'v2.11.5',
+ 'version' => '2.11.5.0',
'type' => 'composer-plugin',
'install_path' => __DIR__ . '/../automattic/jetpack-autoloader',
'aliases' => array(),
- 'reference' => '924226c0a9e2f9b0be022fc6bab2a90f5e610ef3',
+ 'reference' => '664c7cf0ff94b4f2f7c5b359bef3616822004a04',
'dev_requirement' => false,
),
'automattic/jetpack-backup' => array(
- 'pretty_version' => 'v1.2.0',
- 'version' => '1.2.0.0',
+ 'pretty_version' => 'v1.3.7',
+ 'version' => '1.3.7.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-backup',
'aliases' => array(),
- 'reference' => '55054e3fe2c0450d4738b3dcce547d26ee82faa1',
+ 'reference' => '851c40b1246334d2013e807d7921eadb8c283b8a',
'dev_requirement' => false,
),
'automattic/jetpack-blocks' => array(
- 'pretty_version' => 'v1.4.9',
- 'version' => '1.4.9.0',
+ 'pretty_version' => 'v1.4.12',
+ 'version' => '1.4.12.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-blocks',
'aliases' => array(),
- 'reference' => 'ac699666f0bd01c4f74f9fa339a553e466a8b987',
+ 'reference' => 'e2a4667afc36fea9fcb9ceea1dbea63b58949aff',
'dev_requirement' => false,
),
'automattic/jetpack-compat' => array(
- 'pretty_version' => 'v1.6.8',
- 'version' => '1.6.8.0',
+ 'pretty_version' => 'v1.7.2',
+ 'version' => '1.7.2.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-compat',
'aliases' => array(),
- 'reference' => '38da6f2769a2438d192cde43343f3b9fdb517df1',
+ 'reference' => '9043abf2a605100417724da6b57bdd8fb2cca107',
'dev_requirement' => false,
),
'automattic/jetpack-composer-plugin' => array(
- 'pretty_version' => 'v1.0.1',
- 'version' => '1.0.1.0',
+ 'pretty_version' => 'v1.1.2',
+ 'version' => '1.1.2.0',
'type' => 'composer-plugin',
'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin',
'aliases' => array(),
- 'reference' => '27c6980561d0c8c56ad3d9b9d0fb576b1ef9bd86',
+ 'reference' => '8c2c1fc978eb0595623692707c71e7001c178be7',
'dev_requirement' => false,
),
'automattic/jetpack-config' => array(
- 'pretty_version' => 'v1.6.0',
- 'version' => '1.6.0.0',
+ 'pretty_version' => 'v1.9.0',
+ 'version' => '1.9.0.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-config',
'aliases' => array(),
- 'reference' => '1d46f87df9167a03960d708ce767d0efdfc855cf',
+ 'reference' => '415d06ba5363b2b204d4763aa4d65bfbdd4b769a',
'dev_requirement' => false,
),
'automattic/jetpack-connection' => array(
- 'pretty_version' => 'v1.34.0',
- 'version' => '1.34.0.0',
+ 'pretty_version' => 'v1.40.4',
+ 'version' => '1.40.4.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-connection',
'aliases' => array(),
- 'reference' => '14545cff5de0384e8ced64bb161e814e657efebf',
+ 'reference' => '961e78895e2add4b6cac41829cdfc0994cf7da64',
'dev_requirement' => false,
),
'automattic/jetpack-connection-ui' => array(
- 'pretty_version' => 'v2.3.0',
- 'version' => '2.3.0.0',
+ 'pretty_version' => 'v2.4.5',
+ 'version' => '2.4.5.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-connection-ui',
'aliases' => array(),
- 'reference' => '375ea7b050b2dc98a06fc317dae8441dc1eacba8',
+ 'reference' => '7cd96f53c9a2c5101d67751cee2011e586a18b4d',
'dev_requirement' => false,
),
'automattic/jetpack-constants' => array(
- 'pretty_version' => 'v1.6.14',
- 'version' => '1.6.14.0',
+ 'pretty_version' => 'v1.6.16',
+ 'version' => '1.6.16.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants',
'aliases' => array(),
- 'reference' => '93af2a61eceaabd16c432451cc33f7c9074efa81',
+ 'reference' => 'f719d15636026c2e47d927a24edc54898d859a0e',
'dev_requirement' => false,
),
'automattic/jetpack-device-detection' => array(
- 'pretty_version' => 'v1.4.11',
- 'version' => '1.4.11.0',
+ 'pretty_version' => 'v1.4.16',
+ 'version' => '1.4.16.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-device-detection',
'aliases' => array(),
- 'reference' => 'ab5ce7e487de9c9a13456d4aecdb7789f92f818d',
+ 'reference' => 'cd6ffd506a1d24a6d843e999e42320a15c4af697',
'dev_requirement' => false,
),
'automattic/jetpack-error' => array(
- 'pretty_version' => 'v1.3.12',
- 'version' => '1.3.12.0',
+ 'pretty_version' => 'v1.3.14',
+ 'version' => '1.3.14.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-error',
'aliases' => array(),
- 'reference' => '005bf60c2d533b3d169d6688360aaf034e7fc456',
+ 'reference' => '27ee4d53cc6df699ee80c9d956a09466ff10c522',
'dev_requirement' => false,
),
- 'automattic/jetpack-heartbeat' => array(
- 'pretty_version' => 'v1.4.0',
- 'version' => '1.4.0.0',
+ 'automattic/jetpack-google-fonts-provider' => array(
+ 'pretty_version' => 'v0.3.0',
+ 'version' => '0.3.0.0',
'type' => 'jetpack-library',
- 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-heartbeat',
+ 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-google-fonts-provider',
'aliases' => array(),
- 'reference' => 'c35053475b1cb7363aee847e0d025f0a043dc3d5',
+ 'reference' => 'cc26c71d0156bcdce80552cb7f084c23b5fe7be4',
'dev_requirement' => false,
),
'automattic/jetpack-identity-crisis' => array(
- 'pretty_version' => 'v0.6.1',
- 'version' => '0.6.1.0',
+ 'pretty_version' => 'v0.8.12',
+ 'version' => '0.8.12.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-identity-crisis',
'aliases' => array(),
- 'reference' => '62f19cd6b289f719ed0ae4fb366b0bf44c5f5be9',
+ 'reference' => '413d54acd9ff71cb1ddc8c354f9fb8c784223ae6',
'dev_requirement' => false,
),
'automattic/jetpack-jitm' => array(
- 'pretty_version' => 'v2.2.0',
- 'version' => '2.2.0.0',
+ 'pretty_version' => 'v2.2.17',
+ 'version' => '2.2.17.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-jitm',
'aliases' => array(),
- 'reference' => '7ac6dc5ffb274310ddc6d38fc1611af19245dc96',
+ 'reference' => '565f134bfd39d818fab662c3870f6209ec0fdb15',
'dev_requirement' => false,
),
'automattic/jetpack-lazy-images' => array(
- 'pretty_version' => 'v2.1.0',
- 'version' => '2.1.0.0',
+ 'pretty_version' => 'v2.1.15',
+ 'version' => '2.1.15.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-lazy-images',
'aliases' => array(),
- 'reference' => '5aa6cfed2311fd3eb85d5c61dcf59854c5418380',
+ 'reference' => 'd3fdf40a4671e2a51271e538eab0f3b7e9815298',
'dev_requirement' => false,
),
'automattic/jetpack-licensing' => array(
- 'pretty_version' => 'v1.6.0',
- 'version' => '1.6.0.0',
+ 'pretty_version' => 'v1.7.2',
+ 'version' => '1.7.2.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-licensing',
'aliases' => array(),
- 'reference' => 'cf6c5c97313fcfd2b5497cc3de945e49262f633e',
+ 'reference' => '56c1b6f4edf9b5f05abbb788fd0c928a3ad80010',
'dev_requirement' => false,
),
'automattic/jetpack-logo' => array(
- 'pretty_version' => 'v1.5.13',
- 'version' => '1.5.13.0',
+ 'pretty_version' => 'v1.5.15',
+ 'version' => '1.5.15.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo',
'aliases' => array(),
- 'reference' => '0f0a80b3ac89d8d64756a8049903fcedf6f2e887',
+ 'reference' => 'bd09da63f76bce1ca867a119d0da7ecdfaf8f183',
'dev_requirement' => false,
),
'automattic/jetpack-my-jetpack' => array(
- 'pretty_version' => 'v0.3.0',
- 'version' => '0.3.0.0',
+ 'pretty_version' => 'v1.6.0',
+ 'version' => '1.6.0.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-my-jetpack',
'aliases' => array(),
- 'reference' => '74179288cb1c3193320618fbc00e35244278ae9f',
- 'dev_requirement' => false,
- ),
- 'automattic/jetpack-options' => array(
- 'pretty_version' => 'v1.14.2',
- 'version' => '1.14.2.0',
- 'type' => 'jetpack-library',
- 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-options',
- 'aliases' => array(),
- 'reference' => '9cd0f27ae970097bf6a8bc5b3c80cf079e4bf3f2',
+ 'reference' => '45ba066ecc2fd574d4a06ea6922c4cc681049622',
'dev_requirement' => false,
),
'automattic/jetpack-partner' => array(
- 'pretty_version' => 'v1.6.2',
- 'version' => '1.6.2.0',
+ 'pretty_version' => 'v1.7.9',
+ 'version' => '1.7.9.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-partner',
'aliases' => array(),
- 'reference' => '68ff674f5f1301e1016521b58a39d18fe6442407',
+ 'reference' => 'e0661ea46306f9063d160987e29a23b4bbeb8f57',
'dev_requirement' => false,
),
'automattic/jetpack-password-checker' => array(
- 'pretty_version' => 'v0.2.0',
- 'version' => '0.2.0.0',
+ 'pretty_version' => 'v0.2.4',
+ 'version' => '0.2.4.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-password-checker',
'aliases' => array(),
- 'reference' => 'e07ea017e9d13fbb4104e40308dde8413ef6310f',
+ 'reference' => '564abb217f8ebb7291da9c7a080e23a47379393e',
+ 'dev_requirement' => false,
+ ),
+ 'automattic/jetpack-plugins-installer' => array(
+ 'pretty_version' => 'v0.1.2',
+ 'version' => '0.1.2.0',
+ 'type' => 'jetpack-library',
+ 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-plugins-installer',
+ 'aliases' => array(),
+ 'reference' => 'fb2f833a85f7f9dcc096538fa6a809a66a12cc82',
+ 'dev_requirement' => false,
+ ),
+ 'automattic/jetpack-publicize' => array(
+ 'pretty_version' => 'v0.5.0',
+ 'version' => '0.5.0.0',
+ 'type' => 'jetpack-library',
+ 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-publicize',
+ 'aliases' => array(),
+ 'reference' => 'dc151f2e47e72077ac5734122a99854c291dd386',
'dev_requirement' => false,
),
'automattic/jetpack-redirect' => array(
- 'pretty_version' => 'v1.7.9',
- 'version' => '1.7.9.0',
+ 'pretty_version' => 'v1.7.15',
+ 'version' => '1.7.15.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect',
'aliases' => array(),
- 'reference' => '7b7640108a704b6978814e0cfb2e5102d19c7d42',
+ 'reference' => 'd9c416ba23831cce2608c6fd689754f15dcb8498',
'dev_requirement' => false,
),
'automattic/jetpack-roles' => array(
- 'pretty_version' => 'v1.4.13',
- 'version' => '1.4.13.0',
+ 'pretty_version' => 'v1.4.15',
+ 'version' => '1.4.15.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles',
'aliases' => array(),
- 'reference' => '5d0a94f52de1e44a4537bc736af940f6b178c107',
+ 'reference' => '6ffbb2fef269334e3528380bfd7a064e3c904dce',
'dev_requirement' => false,
),
'automattic/jetpack-search' => array(
- 'pretty_version' => 'v0.4.0',
- 'version' => '0.4.0.0',
+ 'pretty_version' => 'v0.14.2',
+ 'version' => '0.14.2.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-search',
'aliases' => array(),
- 'reference' => 'dee991d060e09821b2b4c9927c987a4877c3648e',
+ 'reference' => 'd870313615db71e536c450523fabeba0b28fd990',
'dev_requirement' => false,
),
'automattic/jetpack-status' => array(
- 'pretty_version' => 'v1.9.5',
- 'version' => '1.9.5.0',
+ 'pretty_version' => 'v1.13.6',
+ 'version' => '1.13.6.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status',
'aliases' => array(),
- 'reference' => '6300e03a808ef63dda558f0eb78e39a0e529a274',
+ 'reference' => '6005840740548864d2a67090d87b59a6f141e5c4',
'dev_requirement' => false,
),
'automattic/jetpack-sync' => array(
- 'pretty_version' => 'v1.28.0',
- 'version' => '1.28.0.0',
+ 'pretty_version' => 'v1.35.0',
+ 'version' => '1.35.0.0',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-sync',
'aliases' => array(),
- 'reference' => '3c7ce980bde96feaf695f998d5eb9458c9c16732',
+ 'reference' => 'f29ffa6ea82855b44ec2ecc2a51adbbff006d3fb',
'dev_requirement' => false,
),
- 'automattic/jetpack-terms-of-service' => array(
- 'pretty_version' => 'v1.9.18',
- 'version' => '1.9.18.0',
+ 'automattic/jetpack-waf' => array(
+ 'pretty_version' => 'v0.6.2',
+ 'version' => '0.6.2.0',
'type' => 'jetpack-library',
- 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-terms-of-service',
+ 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-waf',
'aliases' => array(),
- 'reference' => '46f3ac423d38219d719f0d0a33e7753b6e28d7ef',
+ 'reference' => 'e2913c79506ddfafa4d82afbaf3998dfd721ea10',
'dev_requirement' => false,
),
- 'automattic/jetpack-tracking' => array(
- 'pretty_version' => 'v1.14.0',
- 'version' => '1.14.0.0',
+ 'automattic/jetpack-wordads' => array(
+ 'pretty_version' => 'v0.2.4',
+ 'version' => '0.2.4.0',
'type' => 'jetpack-library',
- 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-tracking',
+ 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-wordads',
'aliases' => array(),
- 'reference' => 'b2f869437c42fca557f3450fed0f61ae6162d0bf',
+ 'reference' => '29fa0b7335f620f55dce0de26138e2a3876180f2',
'dev_requirement' => false,
),
'nojimage/twitter-text-php' => array(
@@ -316,5 +325,14 @@
'reference' => '979bcf6a92d543b61588c7c0c0a87d0eb473d8f6',
'dev_requirement' => false,
),
+ 'wikimedia/aho-corasick' => array(
+ 'pretty_version' => 'v1.0.1',
+ 'version' => '1.0.1.0',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../wikimedia/aho-corasick',
+ 'aliases' => array(),
+ 'reference' => '2f3a1bd765913637a66eade658d11d82f0e551be',
+ 'dev_requirement' => false,
+ ),
),
);
diff --git a/plugins/jetpack/vendor/composer/jetpack_autoload_classmap.php b/plugins/jetpack/vendor/composer/jetpack_autoload_classmap.php
index 3c098c3d..ee6fd440 100644
--- a/plugins/jetpack/vendor/composer/jetpack_autoload_classmap.php
+++ b/plugins/jetpack/vendor/composer/jetpack_autoload_classmap.php
@@ -6,588 +6,908 @@ $vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
+ 'Automattic\\Jetpack\\Autoloader\\AutoloadProcessor' => array(
+ 'version' => '2.11.5.0',
+ 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadProcessor.php'
+ ),
'Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin' => array(
- 'version' => '2.10.11.0',
+ 'version' => '2.11.5.0',
'path' => $vendorDir . '/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php'
),
'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => array(
- 'version' => '2.10.11.0',
+ 'version' => '2.11.5.0',
'path' => $vendorDir . '/automattic/jetpack-autoloader/src/ManifestGenerator.php'
),
'Automattic\\Jetpack\\Autoloader\\AutoloadGenerator' => array(
- 'version' => '2.10.11.0',
+ 'version' => '2.11.5.0',
'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadGenerator.php'
),
'Automattic\\Jetpack\\Autoloader\\AutoloadFileWriter' => array(
- 'version' => '2.10.11.0',
+ 'version' => '2.11.5.0',
'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadFileWriter.php'
),
- 'Automattic\\Jetpack\\Autoloader\\AutoloadProcessor' => array(
- 'version' => '2.10.11.0',
- 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadProcessor.php'
- ),
- 'Twitter\\Text\\Configuration' => array(
- 'version' => '3.1.2.0',
- 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Configuration.php'
- ),
- 'Twitter\\Text\\Autolink' => array(
+ 'Twitter\\Text\\Parser' => array(
'version' => '3.1.2.0',
- 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Autolink.php'
+ 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Parser.php'
),
- 'Twitter\\Text\\TldLists' => array(
+ 'Twitter\\Text\\Extractor' => array(
'version' => '3.1.2.0',
- 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/TldLists.php'
+ 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Extractor.php'
),
- 'Twitter\\Text\\Validator' => array(
+ 'Twitter\\Text\\HitHighlighter' => array(
'version' => '3.1.2.0',
- 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Validator.php'
+ 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/HitHighlighter.php'
),
'Twitter\\Text\\StringUtils' => array(
'version' => '3.1.2.0',
'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/StringUtils.php'
),
+ 'Twitter\\Text\\Regex' => array(
+ 'version' => '3.1.2.0',
+ 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Regex.php'
+ ),
'Twitter\\Text\\ParseResults' => array(
'version' => '3.1.2.0',
'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/ParseResults.php'
),
- 'Twitter\\Text\\EmojiRegex' => array(
+ 'Twitter\\Text\\TldLists' => array(
'version' => '3.1.2.0',
- 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/EmojiRegex.php'
+ 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/TldLists.php'
),
- 'Twitter\\Text\\Extractor' => array(
+ 'Twitter\\Text\\Configuration' => array(
'version' => '3.1.2.0',
- 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Extractor.php'
+ 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Configuration.php'
),
- 'Twitter\\Text\\HitHighlighter' => array(
+ 'Twitter\\Text\\Validator' => array(
'version' => '3.1.2.0',
- 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/HitHighlighter.php'
+ 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Validator.php'
),
- 'Twitter\\Text\\Regex' => array(
+ 'Twitter\\Text\\EmojiRegex' => array(
'version' => '3.1.2.0',
- 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Regex.php'
+ 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/EmojiRegex.php'
),
- 'Twitter\\Text\\Parser' => array(
+ 'Twitter\\Text\\Autolink' => array(
'version' => '3.1.2.0',
- 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Parser.php'
+ 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Autolink.php'
),
'Automattic\\Jetpack\\Plugin\\Tracking' => array(
'version' => 'dev-master',
'path' => $baseDir . '/src/class-tracking.php'
),
- 'Automattic\\Jetpack\\Search\\Settings' => array(
- 'version' => '0.4.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-settings.php'
+ 'Automattic\\Jetpack\\WordAds\\REST_Controller' => array(
+ 'version' => '0.2.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/class-rest-controller.php'
+ ),
+ 'Automattic\\Jetpack\\WordAds\\Initializer' => array(
+ 'version' => '0.2.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/initializers/class-initializer.php'
+ ),
+ 'Automattic\\Jetpack\\WordAds\\Package' => array(
+ 'version' => '0.2.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/class-package.php'
+ ),
+ 'Automattic\\Jetpack\\WordAds\\Helper' => array(
+ 'version' => '0.2.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/class-helper.php'
+ ),
+ 'Automattic\\Jetpack\\WordAds\\Dashboard' => array(
+ 'version' => '0.2.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-dashboard.php'
+ ),
+ 'Automattic\\Jetpack\\WordAds\\Initial_State' => array(
+ 'version' => '0.2.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/class-initial-state.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\Waf_Request' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\Waf_Initializer' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\Waf_Constants' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\Waf_Runner' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\Waf_Operators' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\Waf_Standalone_Bootstrap' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\Waf_Endpoints' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-endpoints.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\Waf_Runtime' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\Waf_Transforms' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php'
+ ),
+ 'Automattic\\Jetpack\\Waf\\CLI' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Classic_Search' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php'
),
'Automattic\\Jetpack\\Search\\REST_Controller' => array(
- 'version' => '0.4.0.0',
+ 'version' => '0.14.2.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php'
),
- 'Automattic\\Jetpack\\Search\\Template_Tags' => array(
- 'version' => '0.4.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php'
+ 'Automattic\\Jetpack\\Search\\Product' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-product.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Initializer' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Package' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-package.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Stats' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-stats.php'
),
'Automattic\\Jetpack\\Search\\WPES\\Query_Builder' => array(
- 'version' => '0.4.0.0',
+ 'version' => '0.14.2.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-builder.php'
),
'Automattic\\Jetpack\\Search\\WPES\\Query_Parser' => array(
- 'version' => '0.4.0.0',
+ 'version' => '0.14.2.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-parser.php'
),
- 'Automattic\\Jetpack\\Search\\Plan' => array(
- 'version' => '0.4.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-plan.php'
+ 'Automattic\\Jetpack\\Search\\Helper' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-helper.php'
),
'Automattic\\Jetpack\\Search\\Options' => array(
- 'version' => '0.4.0.0',
+ 'version' => '0.14.2.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-options.php'
),
- 'Automattic\\Jetpack\\Search\\Helper' => array(
- 'version' => '0.4.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-helper.php'
+ 'Automattic\\Jetpack\\Search\\Instant_Search' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/instant-search/class-instant-search.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Dashboard' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-dashboard.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Initial_State' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Customberg' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customberg/class-customberg.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Customizer' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customizer/class-customizer.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Label_Control' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-label-control.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Excluded_Post_Types_Control' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.php'
),
'Automattic\\Jetpack\\Search\\Module_Control' => array(
- 'version' => '0.4.0.0',
+ 'version' => '0.14.2.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-module-control.php'
),
- 'Automattic\\Jetpack\\My_Jetpack\\Initializer' => array(
- 'version' => '0.3.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php'
+ 'Automattic\\Jetpack\\Search\\Search_Widget' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/widgets/class-search-widget.php'
),
- 'Automattic\\Jetpack\\Licensing' => array(
- 'version' => '1.6.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php'
+ 'Automattic\\Jetpack\\Search\\CLI' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-cli.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Plan' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-plan.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Template_Tags' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php'
+ ),
+ 'Automattic\\Jetpack\\Search\\Settings' => array(
+ 'version' => '0.14.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-settings.php'
+ ),
+ 'Automattic\\Jetpack\\Publicize\\REST_Controller' => array(
+ 'version' => '0.5.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-rest-controller.php'
+ ),
+ 'Automattic\\Jetpack\\Publicize\\Connections_Post_Field' => array(
+ 'version' => '0.5.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-connections-post-field.php'
+ ),
+ 'Automattic\\Jetpack\\Publicize\\Publicize' => array(
+ 'version' => '0.5.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize.php'
+ ),
+ 'Automattic\\Jetpack\\Publicize\\Publicize_UI' => array(
+ 'version' => '0.5.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-ui.php'
+ ),
+ 'Automattic\\Jetpack\\Publicize\\Publicize_Setup' => array(
+ 'version' => '0.5.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-setup.php'
+ ),
+ 'Automattic\\Jetpack\\Publicize\\Keyring_Helper' => array(
+ 'version' => '0.5.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-keyring-helper.php'
+ ),
+ 'Automattic\\Jetpack\\Publicize\\Publicize_Base' => array(
+ 'version' => '0.5.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php'
),
'Automattic\\Jetpack\\Jetpack_Lazy_Images' => array(
- 'version' => '2.1.0.0',
+ 'version' => '2.1.15.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php'
),
- 'Automattic\\Jetpack\\JITMS\\Pre_Connection_JITM' => array(
- 'version' => '2.2.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-pre-connection-jitm.php'
+ 'Automattic\\Jetpack\\JITMS\\Rest_Api_Endpoints' => array(
+ 'version' => '2.2.17.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-rest-api-endpoints.php'
),
'Automattic\\Jetpack\\JITMS\\Post_Connection_JITM' => array(
- 'version' => '2.2.0.0',
+ 'version' => '2.2.17.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-post-connection-jitm.php'
),
- 'Automattic\\Jetpack\\JITMS\\Rest_Api_Endpoints' => array(
- 'version' => '2.2.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-rest-api-endpoints.php'
- ),
'Automattic\\Jetpack\\JITMS\\JITM' => array(
- 'version' => '2.2.0.0',
+ 'version' => '2.2.17.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php'
),
- 'Automattic\\Jetpack\\ConnectionUI\\Initial_State' => array(
- 'version' => '2.3.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection-ui/src/class-initial-state.php'
+ 'Automattic\\Jetpack\\JITMS\\Pre_Connection_JITM' => array(
+ 'version' => '2.2.17.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-pre-connection-jitm.php'
),
- 'Automattic\\Jetpack\\ConnectionUI\\Admin' => array(
- 'version' => '2.3.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection-ui/src/class-admin.php'
+ 'Automattic\\Jetpack\\Fonts\\Google_Fonts_Provider' => array(
+ 'version' => '0.3.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-google-fonts-provider.php'
),
- 'Automattic\\Jetpack\\Config' => array(
- 'version' => '1.6.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-config/src/class-config.php'
+ 'Automattic\\Jetpack\\Fonts\\Introspectors\\Global_Styles' => array(
+ 'version' => '0.3.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-global-styles.php'
+ ),
+ 'Automattic\\Jetpack\\Fonts\\Introspectors\\Blocks' => array(
+ 'version' => '0.3.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/introspectors/class-blocks.php'
+ ),
+ 'Automattic\\Jetpack\\Fonts\\Utils' => array(
+ 'version' => '0.3.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-google-fonts-provider/src/class-utils.php'
+ ),
+ 'Jetpack_Client' => array(
+ 'version' => '1.7.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-client.php'
),
'Jetpack_Sync_Settings' => array(
- 'version' => '1.6.8.0',
+ 'version' => '1.7.2.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php'
),
+ 'Jetpack_Sync_Modules' => array(
+ 'version' => '1.7.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php'
+ ),
'JetpackTracking' => array(
- 'version' => '1.6.8.0',
+ 'version' => '1.7.2.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpacktracking.php'
),
'Jetpack_Sync_Actions' => array(
- 'version' => '1.6.8.0',
+ 'version' => '1.7.2.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php'
),
- 'Jetpack_Client' => array(
- 'version' => '1.6.8.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-client.php'
- ),
- 'Jetpack_Sync_Modules' => array(
- 'version' => '1.6.8.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php'
- ),
'Automattic\\Jetpack\\Blocks' => array(
- 'version' => '1.4.9.0',
+ 'version' => '1.4.12.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-blocks/src/class-blocks.php'
),
+ 'Automattic\\Jetpack\\Backup\\Helper_Script_Manager' => array(
+ 'version' => '1.3.7.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-helper-script-manager.php'
+ ),
'Automattic\\Jetpack\\Backup\\REST_Controller' => array(
- 'version' => '1.2.0.0',
+ 'version' => '1.3.7.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-rest-controller.php'
),
'Automattic\\Jetpack\\Backup\\Package_Version' => array(
- 'version' => '1.2.0.0',
+ 'version' => '1.3.7.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php'
),
- 'Automattic\\Jetpack\\Backup\\Helper_Script_Manager' => array(
- 'version' => '1.2.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-helper-script-manager.php'
+ 'Automattic\\Jetpack\\Backup\\Jetpack_Backup_Upgrades' => array(
+ 'version' => '1.3.7.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup-upgrades.php'
+ ),
+ 'Automattic\\Jetpack\\Backup\\Initial_State' => array(
+ 'version' => '1.3.7.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-initial-state.php'
+ ),
+ 'Jetpack_Backup' => array(
+ 'version' => '1.3.7.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup.php'
),
'Automattic\\Jetpack\\Abtest' => array(
- 'version' => '1.9.18.0',
+ 'version' => '1.10.0.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-abtest/src/class-abtest.php'
),
- 'Automattic\\Jetpack\\Composer\\Plugin' => array(
+ 'AhoCorasick\\MultiStringReplacer' => array(
'version' => '1.0.1.0',
- 'path' => $vendorDir . '/automattic/jetpack-composer-plugin/src/class-plugin.php'
+ 'path' => $vendorDir . '/wikimedia/aho-corasick/src/MultiStringReplacer.php'
),
- 'Automattic\\Jetpack\\Composer\\Manager' => array(
+ 'AhoCorasick\\MultiStringMatcher' => array(
'version' => '1.0.1.0',
- 'path' => $vendorDir . '/automattic/jetpack-composer-plugin/src/class-manager.php'
+ 'path' => $vendorDir . '/wikimedia/aho-corasick/src/MultiStringMatcher.php'
),
- 'Automattic\\Jetpack\\Admin_UI\\Admin_Menu' => array(
- 'version' => '0.2.1.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php'
+ 'Automattic\\Jetpack\\Sync\\Replicastore_Interface' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/interface-replicastore.php'
),
- 'Automattic\\Jetpack\\Partner_Coupon' => array(
- 'version' => '1.6.2.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php'
+ 'Automattic\\Jetpack\\Sync\\Listener' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-listener.php'
),
- 'Automattic\\Jetpack\\Partner' => array(
- 'version' => '1.6.2.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php'
+ 'Automattic\\Jetpack\\Sync\\Replicastore' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php'
),
'Automattic\\Jetpack\\Sync\\Server' => array(
- 'version' => '1.28.0.0',
+ 'version' => '1.35.0.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-server.php'
),
- 'Automattic\\Jetpack\\Sync\\Defaults' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php'
- ),
- 'Automattic\\Jetpack\\Sync\\Settings' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-settings.php'
+ 'Automattic\\Jetpack\\Sync\\Sender' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php'
),
- 'Automattic\\Jetpack\\Sync\\Health' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-health.php'
+ 'Automattic\\Jetpack\\Sync\\Simple_Codec' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-simple-codec.php'
),
- 'Automattic\\Jetpack\\Sync\\Queue' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php'
+ 'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum_Users' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum-users.php'
),
- 'Automattic\\Jetpack\\Sync\\REST_Endpoints' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-rest-endpoints.php'
+ 'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum_Usermeta' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum-usermeta.php'
),
- 'Automattic\\Jetpack\\Sync\\Lock' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-lock.php'
+ 'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum.php'
),
'Automattic\\Jetpack\\Sync\\Actions' => array(
- 'version' => '1.28.0.0',
+ 'version' => '1.35.0.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php'
),
- 'Automattic\\Jetpack\\Sync\\Main' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-main.php'
+ 'Automattic\\Jetpack\\Sync\\Users' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-users.php'
),
- 'Automattic\\Jetpack\\Sync\\Package_Version' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php'
+ 'Automattic\\Jetpack\\Sync\\Data_Settings' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-data-settings.php'
),
- 'Automattic\\Jetpack\\Sync\\Simple_Codec' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-simple-codec.php'
+ 'Automattic\\Jetpack\\Sync\\Queue' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php'
),
- 'Automattic\\Jetpack\\Sync\\Sender' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php'
+ 'Automattic\\Jetpack\\Sync\\Functions' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-modules.php'
+ 'Automattic\\Jetpack\\Sync\\Main' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-main.php'
),
- 'Automattic\\Jetpack\\Sync\\JSON_Deflate_Array_Codec' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-json-deflate-array-codec.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Import' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-import.php'
),
- 'Automattic\\Jetpack\\Sync\\Utils' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-utils.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Constants' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-constants.php'
),
- 'Automattic\\Jetpack\\Sync\\Replicastore_Interface' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/interface-replicastore.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Callables' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php'
),
- 'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum_Usermeta' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum-usermeta.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Terms' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-terms.php'
),
- 'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum_Users' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum-users.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync.php'
),
- 'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Users' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-users.php'
),
- 'Automattic\\Jetpack\\Sync\\Codec_Interface' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/interface-codec.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\WP_Super_Cache' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-wp-super-cache.php'
),
- 'Automattic\\Jetpack\\Sync\\Users' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-users.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Meta' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-meta.php'
),
- 'Automattic\\Jetpack\\Sync\\REST_Sender' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-rest-sender.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Protect' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-protect.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Callables' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Module' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-module.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\WP_Super_Cache' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-wp-super-cache.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\WooCommerce' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php'
),
'Automattic\\Jetpack\\Sync\\Modules\\Stats' => array(
- 'version' => '1.28.0.0',
+ 'version' => '1.35.0.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-stats.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Meta' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-meta.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Options' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-options.php'
+ ),
+ 'Automattic\\Jetpack\\Sync\\Modules\\Search' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-search.php'
+ ),
+ 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync_Immediately' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php'
),
'Automattic\\Jetpack\\Sync\\Modules\\Plugins' => array(
- 'version' => '1.28.0.0',
+ 'version' => '1.35.0.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php'
),
'Automattic\\Jetpack\\Sync\\Modules\\Attachments' => array(
- 'version' => '1.28.0.0',
+ 'version' => '1.35.0.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-attachments.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Protect' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-protect.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Menus' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-menus.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Constants' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-constants.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Themes' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-themes.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Posts' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Updates' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-updates.php'
),
'Automattic\\Jetpack\\Sync\\Modules\\Term_Relationships' => array(
- 'version' => '1.28.0.0',
+ 'version' => '1.35.0.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-term-relationships.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Options' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-options.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Network_Options' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-network-options.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Themes' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-themes.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Posts' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync_Immediately' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php'
+ 'Automattic\\Jetpack\\Sync\\Modules\\Comments' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-comments.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\WooCommerce' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php'
+ 'Automattic\\Jetpack\\Sync\\REST_Endpoints' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-rest-endpoints.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Terms' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-terms.php'
+ 'Automattic\\Jetpack\\Sync\\Defaults' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Network_Options' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-network-options.php'
+ 'Automattic\\Jetpack\\Sync\\Codec_Interface' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/interface-codec.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Module' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-module.php'
+ 'Automattic\\Jetpack\\Sync\\REST_Sender' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-rest-sender.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Users' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-users.php'
+ 'Automattic\\Jetpack\\Sync\\Package_Version' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Menus' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-menus.php'
+ 'Automattic\\Jetpack\\Sync\\Modules' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-modules.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Import' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-import.php'
+ 'Automattic\\Jetpack\\Sync\\Health' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-health.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Comments' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-comments.php'
+ 'Automattic\\Jetpack\\Sync\\JSON_Deflate_Array_Codec' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-json-deflate-array-codec.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Updates' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-updates.php'
+ 'Automattic\\Jetpack\\Sync\\Lock' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-lock.php'
),
- 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync.php'
+ 'Automattic\\Jetpack\\Sync\\Queue_Buffer' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-queue-buffer.php'
),
- 'Automattic\\Jetpack\\Sync\\Functions' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php'
+ 'Automattic\\Jetpack\\Sync\\Dedicated_Sender' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-dedicated-sender.php'
),
- 'Automattic\\Jetpack\\Sync\\Replicastore' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php'
+ 'Automattic\\Jetpack\\Sync\\Settings' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-settings.php'
),
- 'Automattic\\Jetpack\\Sync\\Queue_Buffer' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-queue-buffer.php'
+ 'Automattic\\Jetpack\\Sync\\Utils' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-utils.php'
),
- 'Automattic\\Jetpack\\Sync\\Listener' => array(
- 'version' => '1.28.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-listener.php'
+ 'Automattic\\Jetpack\\Sync\\Default_Filter_Settings' => array(
+ 'version' => '1.35.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-default-filter-settings.php'
+ ),
+ 'Automattic\\Jetpack\\Partner_Coupon' => array(
+ 'version' => '1.7.9.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php'
+ ),
+ 'Automattic\\Jetpack\\Partner' => array(
+ 'version' => '1.7.9.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Anti_Spam' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Extras' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Product' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Security' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Social' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Protect' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Module_Product' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Backup' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Videopress' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Crm' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search_Stats' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Scan' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products\\Boost' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Initializer' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Products' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\Wpcom_Products' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\REST_Products' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php'
+ ),
+ 'Automattic\\Jetpack\\My_Jetpack\\REST_Purchases' => array(
+ 'version' => '1.6.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php'
),
'Automattic\\Jetpack\\Error' => array(
- 'version' => '1.3.12.0',
+ 'version' => '1.3.14.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-error/src/class-error.php'
),
- 'Automattic\\Jetpack\\Device_Detection\\User_Agent_Info' => array(
- 'version' => '1.4.11.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php'
+ 'Automattic\\Jetpack\\ConnectionUI\\Admin' => array(
+ 'version' => '2.4.5.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection-ui/src/class-admin.php'
),
- 'Automattic\\Jetpack\\Device_Detection' => array(
- 'version' => '1.4.11.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php'
+ 'Automattic\\Jetpack\\ConnectionUI\\Initial_State' => array(
+ 'version' => '2.4.5.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection-ui/src/class-initial-state.php'
+ ),
+ 'Automattic\\Jetpack\\Composer\\Plugin' => array(
+ 'version' => '1.1.2.0',
+ 'path' => $vendorDir . '/automattic/jetpack-composer-plugin/src/class-plugin.php'
+ ),
+ 'Automattic\\Jetpack\\Composer\\Manager' => array(
+ 'version' => '1.1.2.0',
+ 'path' => $vendorDir . '/automattic/jetpack-composer-plugin/src/class-manager.php'
+ ),
+ 'Automattic\\Jetpack\\Plugins_Installer' => array(
+ 'version' => '0.1.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php'
+ ),
+ 'Automattic\\Jetpack\\Automatic_Install_Skin' => array(
+ 'version' => '0.1.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php'
),
'Automattic\\Jetpack\\Password_Checker' => array(
- 'version' => '0.2.0.0',
+ 'version' => '0.2.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php'
),
+ 'Automattic\\Jetpack\\Licensing' => array(
+ 'version' => '1.7.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php'
+ ),
+ 'Automattic\\Jetpack\\Licensing\\Endpoints' => array(
+ 'version' => '1.7.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php'
+ ),
+ 'Automattic\\Jetpack\\Device_Detection' => array(
+ 'version' => '1.4.16.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php'
+ ),
+ 'Automattic\\Jetpack\\Device_Detection\\User_Agent_Info' => array(
+ 'version' => '1.4.16.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php'
+ ),
+ 'Automattic\\Jetpack\\Config' => array(
+ 'version' => '1.9.0.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-config/src/class-config.php'
+ ),
+ 'Automattic\\Jetpack\\Identity_Crisis' => array(
+ 'version' => '0.8.12.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php'
+ ),
'Automattic\\Jetpack\\IdentityCrisis\\UI' => array(
- 'version' => '0.6.1.0',
+ 'version' => '0.8.12.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php'
),
'Automattic\\Jetpack\\IdentityCrisis\\REST_Endpoints' => array(
- 'version' => '0.6.1.0',
+ 'version' => '0.8.12.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php'
),
- 'Automattic\\Jetpack\\Identity_Crisis' => array(
- 'version' => '0.6.1.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php'
- ),
'Automattic\\Jetpack\\Assets\\Logo' => array(
- 'version' => '1.5.13.0',
+ 'version' => '1.5.15.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-logo/src/class-logo.php'
),
+ 'Automattic\\Jetpack\\Assets' => array(
+ 'version' => '1.17.14.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php'
+ ),
+ 'Automattic\\Jetpack\\Assets\\Semver' => array(
+ 'version' => '1.17.14.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-semver.php'
+ ),
'Jetpack_IXR_ClientMulticall' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php'
),
+ 'Jetpack_Tracks_Event' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-event.php'
+ ),
'Jetpack_Signature' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php'
),
- 'Jetpack_XMLRPC_Server' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php'
- ),
'Jetpack_IXR_Client' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php'
),
+ 'Jetpack_Tracks_Client' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-client.php'
+ ),
+ 'Jetpack_Options' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php'
+ ),
+ 'Jetpack_XMLRPC_Server' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php'
+ ),
'Automattic\\Jetpack\\Connection\\Plugin_Storage' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-plugin-storage.php'
),
+ 'Automattic\\Jetpack\\Connection\\Webhooks' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php'
+ ),
'Automattic\\Jetpack\\Connection\\Nonce_Handler' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-nonce-handler.php'
),
- 'Automattic\\Jetpack\\Connection\\REST_Connector' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php'
+ 'Automattic\\Jetpack\\Connection\\Urls' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-urls.php'
),
'Automattic\\Jetpack\\Connection\\XMLRPC_Connector' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php'
),
+ 'Automattic\\Jetpack\\Connection\\Error_Handler' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-error-handler.php'
+ ),
'Automattic\\Jetpack\\Connection\\XMLRPC_Async_Call' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-async-call.php'
),
- 'Automattic\\Jetpack\\Connection\\Initial_State' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-initial-state.php'
- ),
- 'Automattic\\Jetpack\\Connection\\Package_Version_Tracker' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php'
+ 'Automattic\\Jetpack\\Connection\\Tokens' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-tokens.php'
),
- 'Automattic\\Jetpack\\Connection\\Package_Version' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php'
+ 'Automattic\\Jetpack\\Tracking' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php'
),
- 'Automattic\\Jetpack\\Connection\\Urls' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-urls.php'
+ 'Automattic\\Jetpack\\Connection\\Manager_Interface' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/interface-manager.php'
),
'Automattic\\Jetpack\\Connection\\Plugin' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-plugin.php'
),
- 'Automattic\\Jetpack\\Connection\\Client' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-client.php'
+ 'Automattic\\Jetpack\\Connection\\REST_Connector' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php'
),
'Automattic\\Jetpack\\Connection\\Secrets' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-secrets.php'
),
- 'Automattic\\Jetpack\\Connection\\Rest_Authentication' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-rest-authentication.php'
- ),
- 'Automattic\\Jetpack\\Connection\\Error_Handler' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-error-handler.php'
- ),
- 'Automattic\\Jetpack\\Connection\\Utils' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php'
- ),
- 'Automattic\\Jetpack\\Connection\\Tokens' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-tokens.php'
- ),
- 'Automattic\\Jetpack\\Connection\\Manager_Interface' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/interface-manager.php'
+ 'Automattic\\Jetpack\\Connection\\Package_Version' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php'
),
'Automattic\\Jetpack\\Connection\\Manager' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php'
),
- 'Automattic\\Jetpack\\Connection\\Webhooks' => array(
- 'version' => '1.34.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php'
+ 'Automattic\\Jetpack\\Connection\\Package_Version_Tracker' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php'
+ ),
+ 'Automattic\\Jetpack\\Connection\\Webhooks\\Authorize_Redirect' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/webhooks/class-authorize-redirect.php'
+ ),
+ 'Automattic\\Jetpack\\Connection\\Client' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-client.php'
),
'Automattic\\Jetpack\\Connection\\Server_Sandbox' => array(
- 'version' => '1.34.0.0',
+ 'version' => '1.40.4.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php'
),
- 'Automattic\\Jetpack\\Redirect' => array(
- 'version' => '1.7.9.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php'
- ),
'Automattic\\Jetpack\\Heartbeat' => array(
- 'version' => '1.4.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php'
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-heartbeat.php'
),
- 'Automattic\\Jetpack\\Roles' => array(
- 'version' => '1.4.13.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php'
+ 'Automattic\\Jetpack\\Connection\\Initial_State' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-initial-state.php'
),
- 'Jetpack_Tracks_Client' => array(
- 'version' => '1.14.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php'
+ 'Automattic\\Jetpack\\Terms_Of_Service' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-terms-of-service.php'
),
- 'Jetpack_Tracks_Event' => array(
- 'version' => '1.14.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php'
+ 'Automattic\\Jetpack\\Connection\\Rest_Authentication' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-rest-authentication.php'
),
- 'Automattic\\Jetpack\\Tracking' => array(
- 'version' => '1.14.0.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-tracking/src/class-tracking.php'
+ 'Automattic\\Jetpack\\Connection\\Utils' => array(
+ 'version' => '1.40.4.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php'
),
- 'Automattic\\Jetpack\\Assets' => array(
- 'version' => '1.16.1.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php'
+ 'Automattic\\Jetpack\\Roles' => array(
+ 'version' => '1.4.15.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php'
),
- 'Automattic\\Jetpack\\Assets\\Semver' => array(
- 'version' => '1.16.1.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-semver.php'
+ 'Automattic\\Jetpack\\Redirect' => array(
+ 'version' => '1.7.15.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php'
+ ),
+ 'Automattic\\Jetpack\\Admin_UI\\Admin_Menu' => array(
+ 'version' => '0.2.7.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php'
),
'Automattic\\Jetpack\\A8c_Mc_Stats' => array(
- 'version' => '1.4.11.0',
+ 'version' => '1.4.13.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php'
),
- 'Automattic\\Jetpack\\Terms_Of_Service' => array(
- 'version' => '1.9.18.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php'
- ),
'Automattic\\Jetpack\\Status' => array(
- 'version' => '1.9.5.0',
+ 'version' => '1.13.6.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-status.php'
),
+ 'Automattic\\Jetpack\\Errors' => array(
+ 'version' => '1.13.6.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-errors.php'
+ ),
'Automattic\\Jetpack\\Status\\Host' => array(
- 'version' => '1.9.5.0',
+ 'version' => '1.13.6.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-host.php'
),
- 'Jetpack_Options' => array(
- 'version' => '1.14.2.0',
- 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-options/legacy/class-jetpack-options.php'
+ 'Automattic\\Jetpack\\CookieState' => array(
+ 'version' => '1.13.6.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php'
+ ),
+ 'Automattic\\Jetpack\\Files' => array(
+ 'version' => '1.13.6.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-files.php'
+ ),
+ 'Automattic\\Jetpack\\Modules' => array(
+ 'version' => '1.13.6.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php'
+ ),
+ 'Automattic\\Jetpack\\Status\\Cache' => array(
+ 'version' => '1.13.6.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cache.php'
+ ),
+ 'Automattic\\Jetpack\\Status\\Visitor' => array(
+ 'version' => '1.13.6.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php'
+ ),
+ 'Automattic\\Jetpack\\Paths' => array(
+ 'version' => '1.13.6.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-paths.php'
),
'Automattic\\Jetpack\\Constants' => array(
- 'version' => '1.6.14.0',
+ 'version' => '1.6.16.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-constants/src/class-constants.php'
),
);
diff --git a/plugins/jetpack/vendor/composer/jetpack_autoload_filemap.php b/plugins/jetpack/vendor/composer/jetpack_autoload_filemap.php
index 861e16a0..82b5f895 100644
--- a/plugins/jetpack/vendor/composer/jetpack_autoload_filemap.php
+++ b/plugins/jetpack/vendor/composer/jetpack_autoload_filemap.php
@@ -7,15 +7,23 @@ $baseDir = dirname($vendorDir);
return array(
'3773ef3f09c37da5478d578e32b03a4b' => array(
- 'version' => '1.16.1.0',
+ 'version' => '1.17.14.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/actions.php'
),
'd4eb94df91a729802d18373ee8cdc79f' => array(
- 'version' => '1.2.0.0',
+ 'version' => '1.3.7.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-backup/actions.php'
),
'009de6aaa0d497eacea41fab13fc05f1' => array(
- 'version' => '1.6.8.0',
+ 'version' => '1.7.2.0',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-compat/functions.php'
),
+ 'd7b298d70ab0e8605f5d5b6edeab1bd2' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/actions.php'
+ ),
+ '3d45c7e6a7f0e71849e33afe4b3b3ede' => array(
+ 'version' => '0.6.2.0',
+ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/cli.php'
+ ),
);
diff --git a/plugins/jetpack/vendor/composer/platform_check.php b/plugins/jetpack/vendor/composer/platform_check.php
index 7f0d16c7..d673084e 100644
--- a/plugins/jetpack/vendor/composer/platform_check.php
+++ b/plugins/jetpack/vendor/composer/platform_check.php
@@ -4,8 +4,8 @@
$issues = array();
-if (!(PHP_VERSION_ID >= 50303)) {
- $issues[] = 'Your Composer dependencies require a PHP version ">= 5.3.3". You are running ' . PHP_VERSION . '.';
+if (!(PHP_VERSION_ID >= 50509)) {
+ $issues[] = 'Your Composer dependencies require a PHP version ">= 5.5.9". You are running ' . PHP_VERSION . '.';
}
if ($issues) {
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-handler.php b/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-handler.php
index 652e98e9..c76fd0a0 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-handler.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-handler.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-locator.php b/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-locator.php
index 81320d9c..374b2612 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-locator.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-locator.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader.php b/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader.php
index 399fc08f..c4ab08c7 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-container.php b/plugins/jetpack/vendor/jetpack-autoloader/class-container.php
index 4a16e48f..446e37cf 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-container.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-container.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-hook-manager.php b/plugins/jetpack/vendor/jetpack-autoloader/class-hook-manager.php
index 0c12bce2..43ad248b 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-hook-manager.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-hook-manager.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-latest-autoloader-guard.php b/plugins/jetpack/vendor/jetpack-autoloader/class-latest-autoloader-guard.php
index 606d671b..afe5397c 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-latest-autoloader-guard.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-latest-autoloader-guard.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-manifest-reader.php b/plugins/jetpack/vendor/jetpack-autoloader/class-manifest-reader.php
index 361d5428..8d13bed3 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-manifest-reader.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-manifest-reader.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-path-processor.php b/plugins/jetpack/vendor/jetpack-autoloader/class-path-processor.php
index d7d9331f..c50c29a1 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-path-processor.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-path-processor.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php b/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php
index 7fcd3ffe..75fd88f4 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-plugin-locator.php b/plugins/jetpack/vendor/jetpack-autoloader/class-plugin-locator.php
index eee5fdfd..8e679976 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-plugin-locator.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-plugin-locator.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
@@ -88,6 +88,7 @@ class Plugin_Locator {
return array();
}
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated just below.
$action = isset( $_REQUEST['action'] ) ? wp_unslash( $_REQUEST['action'] ) : false;
if ( ! in_array( $action, $allowed_actions, true ) ) {
return array();
@@ -101,6 +102,7 @@ class Plugin_Locator {
break;
}
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated by convert_plugins_to_paths.
$plugin_slugs[] = wp_unslash( $_REQUEST['plugin'] );
break;
@@ -110,6 +112,7 @@ class Plugin_Locator {
break;
}
+ // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated by convert_plugins_to_paths.
$plugin_slugs = wp_unslash( $_REQUEST['checked'] );
break;
}
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-plugins-handler.php b/plugins/jetpack/vendor/jetpack-autoloader/class-plugins-handler.php
index 500a4ab0..adcfc65a 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-plugins-handler.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-plugins-handler.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-shutdown-handler.php b/plugins/jetpack/vendor/jetpack-autoloader/class-shutdown-handler.php
index c2f330af..fa18e840 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-shutdown-handler.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-shutdown-handler.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-version-loader.php b/plugins/jetpack/vendor/jetpack-autoloader/class-version-loader.php
index 21c659ef..5c13f02d 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-version-loader.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-version-loader.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
diff --git a/plugins/jetpack/vendor/jetpack-autoloader/class-version-selector.php b/plugins/jetpack/vendor/jetpack-autoloader/class-version-selector.php
index bcd7e534..b445c8c6 100644
--- a/plugins/jetpack/vendor/jetpack-autoloader/class-version-selector.php
+++ b/plugins/jetpack/vendor/jetpack-autoloader/class-version-selector.php
@@ -5,7 +5,7 @@
* @package automattic/jetpack-autoloader
*/
-namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_5;
+namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_0;
// phpcs:ignore
@@ -29,7 +29,7 @@ class Version_Selector {
public function is_version_update_required( $selected_version, $compare_version ) {
$use_dev_versions = defined( 'JETPACK_AUTOLOAD_DEV' ) && JETPACK_AUTOLOAD_DEV;
- if ( is_null( $selected_version ) ) {
+ if ( $selected_version === null ) {
return true;
}
diff --git a/plugins/jetpack/vendor/wikimedia/aho-corasick/LICENSE b/plugins/jetpack/vendor/wikimedia/aho-corasick/LICENSE
new file mode 100644
index 00000000..d6456956
--- /dev/null
+++ b/plugins/jetpack/vendor/wikimedia/aho-corasick/LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/plugins/jetpack/vendor/wikimedia/aho-corasick/NOTICE b/plugins/jetpack/vendor/wikimedia/aho-corasick/NOTICE
new file mode 100644
index 00000000..344d6275
--- /dev/null
+++ b/plugins/jetpack/vendor/wikimedia/aho-corasick/NOTICE
@@ -0,0 +1,2 @@
+AhoCorasick PHP Library
+Copyright 2015 Ori Livneh <ori@wikimedia.org>
diff --git a/plugins/jetpack/vendor/wikimedia/aho-corasick/README.md b/plugins/jetpack/vendor/wikimedia/aho-corasick/README.md
new file mode 100644
index 00000000..a69e2b72
--- /dev/null
+++ b/plugins/jetpack/vendor/wikimedia/aho-corasick/README.md
@@ -0,0 +1,56 @@
+[![Packagist.org](https://img.shields.io/packagist/v/wikimedia/aho-corasick.svg?style=flat)](https://packagist.org/packages/wikimedia/aho-corasick)
+
+AhoCorasick
+===========
+
+AhoCorasick is a PHP implementation of the [Aho-Corasick][1] string search
+algorithm, which is an efficient way of searching a body of text for multiple
+search keywords.
+
+Here is how you use it:
+
+<pre lang="php">
+use AhoCorasick\MultiStringMatcher;
+
+$keywords = new MultiStringMatcher( array( 'ore', 'hell' ) );
+
+$keywords->searchIn( 'She sells sea shells by the sea shore.' );
+// Result: array( array( 15, 'hell' ), array( 34, 'ore' ) )
+
+$keywords->searchIn( 'Say hello to more text. MultiStringMatcher objects are reusable!' );
+// Result: array( array( 4, 'hell' ), array( 14, 'ore' ) )
+</pre>
+
+
+Features
+--------
+
+The algorithm works by constructing a finite-state machine out of the set of
+search keywords. The time it takes to construct the finite state machine is
+proportional to the sum of the lengths of the search keywords. Once
+constructed, the machine can locate all occurences of all search keywords in
+any body of text in a single pass, making exactly one state transition per
+input character.
+
+
+Contribute
+----------
+
+- Issue tracker: <https://phabricator.wikimedia.org/tag/ahocorasick/>
+- Source code: https://github.com/wikimedia/AhoCorasick
+
+
+Support
+-------
+
+If you are having issues, [please let us know][2].
+
+
+License
+-------
+
+The project is licensed under the Apache license.
+
+
+[1]: https://en.wikipedia.org/wiki/Aho%E2%80%93Corasick_string_matching_algorithm
+[2]: https://phabricator.wikimedia.org/maniphest/task/create/?projects=PHID-PROJ-hs5ausnvlfs4e3n5gmzg
diff --git a/plugins/jetpack/vendor/wikimedia/aho-corasick/bench/bench.php b/plugins/jetpack/vendor/wikimedia/aho-corasick/bench/bench.php
new file mode 100644
index 00000000..499899a8
--- /dev/null
+++ b/plugins/jetpack/vendor/wikimedia/aho-corasick/bench/bench.php
@@ -0,0 +1,75 @@
+<?php
+require_once __DIR__ . '/../src/MultiStringMatcher.php';
+require_once __DIR__ . '/../src/MultiStringReplacer.php';
+
+use AhoCorasick\MultiStringReplacer;
+
+if ( !file_exists( __DIR__ . '/23835-0.txt' ) ) {
+ die( "Please download http://www.gutenberg.org/files/23835/23835-0.txt\n" );
+}
+
+if ( !file_exists( __DIR__ . '/ZhConversion.php' ) ) {
+ die( "You need ZhConversion.php, from " .
+ "https://github.com/wikimedia/mediawiki/blob/master/includes/ZhConversion.php\n" );
+}
+
+require_once __DIR__ . '/ZhConversion.php';
+
+$text = file_get_contents( __DIR__ . '/23835-0.txt' );
+
+$options = getopt( '', [ 'count:', 'input:', 'profile', 'fss', 'msr', 'strtr' ] );
+$text = file_get_contents( isset( $options['input'] ) ? $options['input'] : 'SueiTangYanYi.txt' );
+$loops = isset( $options['count'] ) ? intval( $options['count'] ) : 5;
+if ( !isset( $options['fss'] ) && !isset( $options['msr'] ) && !isset( $options['strtr'] ) ) {
+ $options['fss'] = true;
+ $options['msr'] = true;
+ $options['strtr'] = true;
+}
+$profile = false;
+if ( isset( $options['profile'] ) ) {
+ $profile = true;
+ $options['msr'] = true;
+ unset( $options['fss'] );
+ unset( $options['strtr'] );
+}
+
+if ( isset( $options['msr'] ) ) {
+ $replacer = new MultiStringReplacer( $zh2Hant );
+ if ( $profile ) {
+ xhprof_enable( XHPROF_FLAGS_CPU );
+ }
+ $startTime = microtime( true );
+ for ( $i = 0; $i < $loops; $i++ ) {
+ $replacer->searchAndReplace( $text );
+ }
+ $endTime = microtime( true );
+ $wallTime = 1000 * ( ( $endTime - $startTime ) / $loops );
+ printf( "%-'.40s %.2fms\n", 'MultiStringRepeater::searchAndReplace(): ', $wallTime );
+ if ( $profile ) {
+ $profile = xhprof_disable();
+ foreach ( $profile as $func => $data ) {
+ printf( "%s: %.2f\n", $func, $data['cpu'] / $data['ct'] );
+ }
+ }
+}
+
+if ( function_exists( 'fss_prep_replace' ) && isset( $options['fss'] ) ) {
+ $fss = fss_prep_replace( $zh2Hant );
+ $startTime = microtime( true );
+ for ( $i = 0; $i < $loops; $i++ ) {
+ fss_exec_replace( $fss, $text );
+ }
+ $endTime = microtime( true );
+ $wallTime = 1000 * ( ( $endTime - $startTime ) / $loops );
+ printf( "%-'.40s %.2fms\n", 'fss_exec_replace(): ', $wallTime );
+}
+
+if ( isset( $options['strtr'] ) ) {
+ $startTime = microtime( true );
+ for ( $i = 0; $i < $loops; $i++ ) {
+ strtr( $text, $zh2Hant );
+ }
+ $endTime = microtime( true );
+ $wallTime = 1000 * ( ( $endTime - $startTime ) / $loops );
+ printf( "%-'.40s %.2fms\n", 'strtr(): ', $wallTime );
+}
diff --git a/plugins/jetpack/vendor/wikimedia/aho-corasick/bench/check.php b/plugins/jetpack/vendor/wikimedia/aho-corasick/bench/check.php
new file mode 100644
index 00000000..1cb6384e
--- /dev/null
+++ b/plugins/jetpack/vendor/wikimedia/aho-corasick/bench/check.php
@@ -0,0 +1,42 @@
+<?php
+require_once __DIR__ . '/../src/MultiStringMatcher.php';
+require_once __DIR__ . '/../src/MultiStringReplacer.php';
+
+use AhoCorasick\MultiStringReplacer;
+
+if ( !file_exists( __DIR__ . '/23835-0.txt' ) ) {
+ die( 'Please download http://www.gutenberg.org/files/23835/23835-0.txt' );
+}
+
+if ( !file_exists( __DIR__ . '/ZhConversion.php' ) ) {
+ die( 'You need ZhConversion.php, from http://git.io/vIMst' );
+}
+
+require_once __DIR__ . '/ZhConversion.php';
+
+$text = file_get_contents( __DIR__ . '/23835-0.txt' );
+
+$status = 0;
+$expected = strtr( $text, $zh2Hant );
+
+echo "MultiStringReplacer::searchAndReplace(): ";
+$replacer = new MultiStringReplacer( $zh2Hant );
+if ( $replacer->searchAndReplace( $text ) !== $expected ) {
+ echo "ERROR\n";
+ $status = 1;
+} else {
+ echo "OK\n";
+}
+
+if ( function_exists( 'fss_exec_replace' ) ) {
+ echo "fss_exec_replace(): ";
+ $fss = fss_prep_replace( $zh2Hant );
+ if ( fss_exec_replace( $fss, $text ) !== $expected ) {
+ echo "ERROR\n";
+ $status = 1;
+ } else {
+ echo "OK\n";
+ }
+}
+
+exit( $status );
diff --git a/plugins/jetpack/vendor/wikimedia/aho-corasick/src/MultiStringMatcher.php b/plugins/jetpack/vendor/wikimedia/aho-corasick/src/MultiStringMatcher.php
new file mode 100644
index 00000000..b2953c4d
--- /dev/null
+++ b/plugins/jetpack/vendor/wikimedia/aho-corasick/src/MultiStringMatcher.php
@@ -0,0 +1,230 @@
+<?php
+/**
+ * AhoCorasick PHP Library
+ *
+ * A PHP implementation of the Aho-Corasick string matching algorithm.
+ *
+ * Alfred V. Aho and Margaret J. Corasick, "Efficient string matching:
+ * an aid to bibliographic search", CACM, 18(6):333-340, June 1975.
+ *
+ * @link http://xlinux.nist.gov/dads//HTML/ahoCorasick.html
+ * @link https://en.wikipedia.org/wiki/Aho-Corasick_string_matching_algorithm
+ *
+ * Copyright (C) 2015 Ori Livneh <ori@wikimedia.org>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @file
+ * @author Ori Livneh <ori@wikimedia.org>
+ */
+
+namespace AhoCorasick;
+
+/**
+ * Represents a finite state machine that can find all occurrences
+ * of a set of search keywords in a body of text.
+ *
+ * The time it takes to construct the finite state machine is
+ * proportional to the sum of the lengths of the search keywords.
+ * Once constructed, the machine can locate all occurences of all
+ * search keywords in a body of text in a single pass, making exactly
+ * one state transition per input character.
+ *
+ * This is an implementation of the Aho-Corasick string matching
+ * algorithm.
+ *
+ * Alfred V. Aho and Margaret J. Corasick, "Efficient string matching:
+ * an aid to bibliographic search", CACM, 18(6):333-340, June 1975.
+ *
+ * @link http://xlinux.nist.gov/dads//HTML/ahoCorasick.html
+ */
+class MultiStringMatcher {
+
+ /** @var string[] The set of keywords to be searched for. **/
+ protected $searchKeywords = [];
+
+ /** @var int The number of possible states of the string-matching finite state machine. **/
+ protected $numStates = 1;
+
+ /** @var array Mapping of states to outputs. **/
+ protected $outputs = [];
+
+ /** @var array Mapping of failure transitions. **/
+ protected $noTransitions = [];
+
+ /** @var array Mapping of success transitions. **/
+ protected $yesTransitions = [];
+
+ /**
+ * Constructor.
+ *
+ * @param string[] $searchKeywords The set of keywords to be matched.
+ */
+ public function __construct( array $searchKeywords ) {
+ foreach ( $searchKeywords as $keyword ) {
+ if ( $keyword !== '' ) {
+ $this->searchKeywords[$keyword] = strlen( $keyword );
+ }
+ }
+
+ if ( !$this->searchKeywords ) {
+ trigger_error( __METHOD__ . ': The set of search keywords is empty.', E_USER_WARNING );
+ // Unreachable 'return' when PHPUnit detects trigger_error
+ return; // @codeCoverageIgnore
+ }
+
+ $this->computeYesTransitions();
+ $this->computeNoTransitions();
+ }
+
+ /**
+ * Accessor for the search keywords.
+ *
+ * @return string[] Search keywords.
+ */
+ public function getKeywords() {
+ return array_keys( $this->searchKeywords );
+ }
+
+ /**
+ * Map the current state and input character to the next state.
+ *
+ * @param int $currentState The current state of the string-matching
+ * automaton.
+ * @param string $inputChar The character the string-matching
+ * automaton is currently processing.
+ * @return int The state the automaton should transition to.
+ */
+ public function nextState( $currentState, $inputChar ) {
+ $initialState = $currentState;
+ while ( true ) {
+ $transitions =& $this->yesTransitions[$currentState];
+ if ( isset( $transitions[$inputChar] ) ) {
+ $nextState = $transitions[$inputChar];
+ // Avoid failure transitions next time.
+ if ( $currentState !== $initialState ) {
+ $this->yesTransitions[$initialState][$inputChar] = $nextState;
+ }
+ return $nextState;
+ }
+ if ( $currentState === 0 ) {
+ return 0;
+ }
+ $currentState = $this->noTransitions[$currentState];
+ }
+ // Unreachable outside 'while'
+ } // @codeCoverageIgnore
+
+ /**
+ * Locate the search keywords in some text.
+ *
+ * @param string $text The string to search in.
+ * @return array[] An array of matches. Each match is a vector
+ * containing an integer offset and the matched keyword.
+ *
+ * @par Example:
+ * @code
+ * $keywords = new MultiStringMatcher( array( 'ore', 'hell' ) );
+ * $keywords->searchIn( 'She sells sea shells by the sea shore.' );
+ * // result: array( array( 15, 'hell' ), array( 34, 'ore' ) )
+ * @endcode
+ */
+ public function searchIn( $text ) {
+ if ( !$this->searchKeywords || $text === '' ) {
+ return []; // fast path
+ }
+
+ $state = 0;
+ $results = [];
+ $length = strlen( $text );
+
+ for ( $i = 0; $i < $length; $i++ ) {
+ $ch = $text[$i];
+ $state = $this->nextState( $state, $ch );
+ foreach ( $this->outputs[$state] as $match ) {
+ $offset = $i - $this->searchKeywords[$match] + 1;
+ $results[] = [ $offset, $match ];
+ }
+ }
+
+ return $results;
+ }
+
+ /**
+ * Get the state transitions which the string-matching automaton
+ * shall make as it advances through input text.
+ *
+ * Constructs a directed tree with a root node which represents the
+ * initial state of the string-matching automaton and from which a
+ * path exists which spells out each search keyword.
+ */
+ protected function computeYesTransitions() {
+ $this->yesTransitions = [ [] ];
+ $this->outputs = [ [] ];
+ foreach ( $this->searchKeywords as $keyword => $length ) {
+ $state = 0;
+ for ( $i = 0; $i < $length; $i++ ) {
+ $ch = $keyword[$i];
+ if ( !empty( $this->yesTransitions[$state][$ch] ) ) {
+ $state = $this->yesTransitions[$state][$ch];
+ } else {
+ $this->yesTransitions[$state][$ch] = $this->numStates;
+ $this->yesTransitions[] = [];
+ $this->outputs[] = [];
+ $state = $this->numStates++;
+ }
+ }
+
+ $this->outputs[$state][] = $keyword;
+ }
+ }
+
+ /**
+ * Get the state transitions which the string-matching automaton
+ * shall make when a partial match proves false.
+ */
+ protected function computeNoTransitions() {
+ $queue = [];
+ $this->noTransitions = [];
+
+ foreach ( $this->yesTransitions[0] as $ch => $toState ) {
+ $queue[] = $toState;
+ $this->noTransitions[$toState] = 0;
+ }
+
+ while ( true ) {
+ $fromState = array_shift( $queue );
+ if ( $fromState === null ) {
+ break;
+ }
+ foreach ( $this->yesTransitions[$fromState] as $ch => $toState ) {
+ $queue[] = $toState;
+ $state = $this->noTransitions[$fromState];
+
+ while ( $state !== 0 && empty( $this->yesTransitions[$state][$ch] ) ) {
+ $state = $this->noTransitions[$state];
+ }
+
+ if ( isset( $this->yesTransitions[$state][$ch] ) ) {
+ $noState = $this->yesTransitions[$state][$ch];
+ } else {
+ $noState = 0;
+ }
+
+ $this->noTransitions[$toState] = $noState;
+ $this->outputs[$toState] = array_merge(
+ $this->outputs[$toState], $this->outputs[$noState] );
+ }
+ }
+ }
+}
diff --git a/plugins/jetpack/vendor/wikimedia/aho-corasick/src/MultiStringReplacer.php b/plugins/jetpack/vendor/wikimedia/aho-corasick/src/MultiStringReplacer.php
new file mode 100644
index 00000000..6b7891f6
--- /dev/null
+++ b/plugins/jetpack/vendor/wikimedia/aho-corasick/src/MultiStringReplacer.php
@@ -0,0 +1,96 @@
+<?php
+/**
+ * AhoCorasick PHP Library
+ *
+ * A PHP implementation of the Aho-Corasick string matching algorithm.
+ *
+ * Alfred V. Aho and Margaret J. Corasick, "Efficient string matching:
+ * an aid to bibliographic search", CACM, 18(6):333-340, June 1975.
+ *
+ * @link http://xlinux.nist.gov/dads//HTML/ahoCorasick.html
+ * @link https://en.wikipedia.org/wiki/Aho-Corasick_string_matching_algorithm
+ *
+ * Copyright (C) 2015 Ori Livneh <ori@wikimedia.org>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @file
+ * @author Ori Livneh <ori@wikimedia.org>
+ */
+
+namespace AhoCorasick;
+
+/**
+ * This class extends MultiStringMatcher, adding search and replace
+ * functionality.
+ */
+class MultiStringReplacer extends MultiStringMatcher {
+
+ /** @var array Mapping of states to outputs. **/
+ protected $replacePairs = [];
+
+ /**
+ * Constructor.
+ *
+ * @param array $replacePairs array of ( 'from' => 'to' ) replacement pairs.
+ */
+ public function __construct( array $replacePairs ) {
+ foreach ( $replacePairs as $keyword => $replacement ) {
+ if ( $keyword !== '' ) {
+ $this->replacePairs[$keyword] = $replacement;
+ }
+ }
+ parent::__construct( array_keys( $this->replacePairs ) );
+ }
+
+ /**
+ * Search and replace a set of keywords in some text.
+ *
+ * @param string $text The string to search in.
+ * @return string The input text with replacements.
+ *
+ * @par Example:
+ * @code
+ * $replacer = new MultiStringReplacer( array( 'csh' => 'sea shells' ) );
+ * $replacer->searchAndReplace( 'She sells csh by the sea shore.' );
+ * // result: 'She sells sea shells by the sea shore.'
+ * @endcode
+ */
+ public function searchAndReplace( $text ) {
+ $state = 0;
+ $length = strlen( $text );
+ $matches = [];
+ for ( $i = 0; $i < $length; $i++ ) {
+ $ch = $text[$i];
+ $state = $this->nextState( $state, $ch );
+ foreach ( $this->outputs[$state] as $match ) {
+ $offset = $i - $this->searchKeywords[$match] + 1;
+ $matches[$offset] = $match;
+ }
+ }
+ ksort( $matches );
+
+ $buf = '';
+ $lastInsert = 0;
+ foreach ( $matches as $offset => $match ) {
+ if ( $offset >= $lastInsert ) {
+ $buf .= substr( $text, $lastInsert, $offset - $lastInsert );
+ $buf .= $this->replacePairs[$match];
+ $lastInsert = $offset + $this->searchKeywords[$match];
+ }
+ }
+ $buf .= substr( $text, $lastInsert );
+
+ return $buf;
+ }
+}
diff --git a/plugins/jetpack/views/admin/must-connect-main-blog.php b/plugins/jetpack/views/admin/must-connect-main-blog.php
index decf72bd..decb2eb5 100644
--- a/plugins/jetpack/views/admin/must-connect-main-blog.php
+++ b/plugins/jetpack/views/admin/must-connect-main-blog.php
@@ -1,3 +1,11 @@
+<?php
+/**
+ * View template file for main network site connection prompt.
+ *
+ * @package automattic/jetpack
+ */
+
+?>
<div class="wrap">
<div class="jetpack-wrap-container dops-card">
<div class="jetpack-text-container">
@@ -7,7 +15,7 @@
</p>
</div>
<div class="jetpack-install-container">
- <p class="submit"><a href="<?php echo esc_url( $data['url'] ); ?>" class="button-connector dops-button is-primary" id="wpcom-connect"><?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?></a></p>
+ <p class="submit"><a href="<?php echo esc_url( $data['url'] ); // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- $data is loaded by Jetpack::load_view(). ?>" class="button-connector dops-button is-primary" id="wpcom-connect"><?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?></a></p>
<p class="jetpack-install-blurb">
<?php jetpack_render_tos_blurb(); ?>
</p>
diff --git a/plugins/jetpack/views/admin/network-activated-notice.php b/plugins/jetpack/views/admin/network-activated-notice.php
index 93809035..b33faa2e 100644
--- a/plugins/jetpack/views/admin/network-activated-notice.php
+++ b/plugins/jetpack/views/admin/network-activated-notice.php
@@ -1,5 +1,14 @@
-<?php if ( isset( $_GET['jetpack-notice'] ) && 'dismiss' == $_GET['jetpack-notice'] ) : ?>
- <div id="message" class="error">
- <p><?php _e( 'Jetpack is network activated and notices can not be dismissed.', 'jetpack' ); ?></p>
- </div>
-<?php endif; ?>
+<?php
+/**
+ * View template file for network activation notice.
+ *
+ * @package automattic/jetpack
+ */
+
+if ( isset( $_GET['jetpack-notice'] ) && 'dismiss' === $_GET['jetpack-notice'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
+ ?>
+<div id="message" class="error">
+ <p><?php esc_html_e( 'Jetpack is network activated and notices can not be dismissed.', 'jetpack' ); ?></p>
+</div>
+ <?php
+}
diff --git a/plugins/jetpack/views/admin/network-admin-alert.php b/plugins/jetpack/views/admin/network-admin-alert.php
deleted file mode 100644
index 434b80f1..00000000
--- a/plugins/jetpack/views/admin/network-admin-alert.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-/**
- * Deprecated. No longer needed.
- *
- * @package Jetpack
- */ \ No newline at end of file
diff --git a/plugins/jetpack/views/admin/network-admin-footer.php b/plugins/jetpack/views/admin/network-admin-footer.php
deleted file mode 100644
index 434b80f1..00000000
--- a/plugins/jetpack/views/admin/network-admin-footer.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-/**
- * Deprecated. No longer needed.
- *
- * @package Jetpack
- */ \ No newline at end of file
diff --git a/plugins/jetpack/views/admin/network-admin-header.php b/plugins/jetpack/views/admin/network-admin-header.php
index 2bbe4cf9..aa42ed98 100644
--- a/plugins/jetpack/views/admin/network-admin-header.php
+++ b/plugins/jetpack/views/admin/network-admin-header.php
@@ -1,4 +1,9 @@
<?php
- Jetpack::init()->load_view( 'admin/network-activated-notice.php' );
- /** This action is already documented in views/admin/admin-page.php */
- do_action( 'jetpack_notices' );
+/**
+ * Loads view: admin/network-activated-notice.php
+ *
+ * @package automattic/jetpack
+ */
+
+Jetpack::init()->load_view( 'admin/network-activated-notice.php' );
+do_action( 'jetpack_notices' );
diff --git a/plugins/openid/.editorconfig b/plugins/openid/.editorconfig
new file mode 100644
index 00000000..9acbda73
--- /dev/null
+++ b/plugins/openid/.editorconfig
@@ -0,0 +1,11 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+[*]
+end_of_line = lf
+trim_trailing_whitespace = true
+charset = utf-8
+indent_style = tab
+indent_size = 4
diff --git a/plugins/openid/admin_panels.php b/plugins/openid/admin_panels.php
index d40bb8e8..193a4aef 100644
--- a/plugins/openid/admin_panels.php
+++ b/plugins/openid/admin_panels.php
@@ -23,16 +23,22 @@ function openid_admin_panels() {
// global options page
$hookname = add_options_page( __( 'OpenID options', 'openid' ), __( 'OpenID', 'openid' ), 'manage_options', 'openid', 'openid_options_page' );
- add_action( "load-$hookname", function() {
- add_thickbox();
- } );
+ add_action(
+ "load-$hookname",
+ function() {
+ add_thickbox();
+ }
+ );
add_action( "load-$hookname", 'openid_style' );
// all users can setup external OpenIDs
$hookname = add_users_page( __( 'Your OpenIDs', 'openid' ), __( 'Your OpenIDs', 'openid' ), 'read', 'your_openids', 'openid_profile_panel' );
- add_action( "load-$hookname", function() {
- wp_enqueue_script( 'admin-forms' );
- } );
+ add_action(
+ "load-$hookname",
+ function() {
+ wp_enqueue_script( 'admin-forms' );
+ }
+ );
add_action( "load-$hookname", 'openid_profile_management' );
add_action( "load-$hookname", 'openid_style' );
@@ -45,12 +51,21 @@ function openid_admin_panels() {
add_action( 'load-profile.php', 'openid_style' );
if ( ! get_user_meta( $user->ID, 'openid_delegate', true ) ) {
- $hookname = add_submenu_page( 'profile.php', __( 'Your Trusted Sites', 'openid' ),
- __( 'Your Trusted Sites', 'openid' ), 'read', 'openid_trusted_sites', 'openid_manage_trusted_sites' );
+ $hookname = add_submenu_page(
+ 'profile.php',
+ __( 'Your Trusted Sites', 'openid' ),
+ __( 'Your Trusted Sites', 'openid' ),
+ 'read',
+ 'openid_trusted_sites',
+ 'openid_manage_trusted_sites'
+ );
add_action( "load-$hookname", 'openid_style' );
- add_action( "load-$hookname", function() {
- wp_enqueue_script( 'admin-forms' );
- } );
+ add_action(
+ "load-$hookname",
+ function() {
+ wp_enqueue_script( 'admin-forms' );
+ }
+ );
}
}
@@ -63,8 +78,13 @@ function openid_admin_panels() {
// 'users_can_register' option, so only add the OpenID Settings if that is set. If additional OpenID settings
// are added to the General Settings page, this check may no longer be necessary
if ( get_option( 'users_can_register' ) ) {
- add_settings_field( 'openid_general_settings', __( 'OpenID Settings', 'openid' ), 'openid_general_settings',
- 'general', 'default');
+ add_settings_field(
+ 'openid_general_settings',
+ __( 'OpenID Settings', 'openid' ),
+ 'openid_general_settings',
+ 'general',
+ 'default'
+ );
}
}
@@ -163,18 +183,32 @@ function openid_options_page() {
<h2><?php _e( 'OpenID Settings', 'openid' ); ?></h2>
- <div class="updated fade"><p><?php _e( 'Please note that all OpenID Consumer options have been moved to their respective sections of the '
- . '<a href="options-general.php">General Settings</a> and <a href="options-discussion.php">Discussion Settings</a> pages.', 'openid' ); ?></p></div>
+ <div class="updated fade"><p>
+ <?php
+ _e(
+ 'Please note that all OpenID Consumer options have been moved to their respective sections of the '
+ . '<a href="options-general.php">General Settings</a> and <a href="options-discussion.php">Discussion Settings</a> pages.',
+ 'openid'
+ );
+ ?>
+ </p></div>
<?php
- $current_user = wp_get_current_user();
+ $current_user = wp_get_current_user();
$current_user_url = get_author_posts_url( $current_user->ID );
?>
- <p><?php _e( 'The OpenID Provider allows authorized '
- . 'users to use their author URL as an OpenID, either using their '
- . 'local WordPress username and password, or by delegating to another OpenID Provider.', 'openid' ); ?></p>
+ <p>
+ <?php
+ _e(
+ 'The OpenID Provider allows authorized '
+ . 'users to use their author URL as an OpenID, either using their '
+ . 'local WordPress username and password, or by delegating to another OpenID Provider.',
+ 'openid'
+ );
+ ?>
+ </p>
<table class="form-table optiontable editform">
<tr valign="top">
@@ -186,9 +220,9 @@ function openid_options_page() {
<p>
<?php
foreach ( $wp_roles->role_names as $key => $name ) {
- $name = _x( $name, null );
- $role = $wp_roles->get_role( $key );
- $checked = $role->has_cap( 'use_openid_provider' ) ? ' checked="checked"' : '';
+ $name = _x( $name, null );
+ $role = $wp_roles->get_role( $key );
+ $checked = $role->has_cap( 'use_openid_provider' ) ? ' checked="checked"' : '';
$option_name = 'openid_cap[' . htmlentities( $key ) . ']';
echo '<input type="checkbox" id="' . $option_name . '" name="' . $option_name . '"' . $checked . ' /><label for="' . $option_name . '"> ' . $name . '</label><br />' . PHP_EOL;
}
@@ -199,49 +233,63 @@ function openid_options_page() {
<?php
$users = get_users();
- $users = array_filter( $users, function( $u ) {
- $u = new WP_User( $u->ID );
- return $u->has_cap( 'use_openid_provider' );
- } );
+ $users = array_filter(
+ $users,
+ function( $u ) {
+ $u = new WP_User( $u->ID );
+ return $u->has_cap( 'use_openid_provider' );
+ }
+ );
- if ( ! empty( $users ) ):
+ if ( ! empty( $users ) ) :
?>
<tr valign="top">
- <th scope="row"><?php _e('Blog Owner', 'openid') ?></th>
+ <th scope="row"><?php _e( 'Blog Owner', 'openid' ); ?></th>
<td>
- <p><?php printf( __( 'Authorized accounts on this blog can use their author URL (i.e. <em>%1$s</em>) as an OpenID. '
- . 'The Blog Owner will be able to use the blog address (%2$s) as their OpenID. If this is a '
- . 'single-user blog, you should set this to your account.', 'openid'),
- sprintf( '<a href="%1$s">%1$s</a>', $current_user_url ), sprintf('<a href="%1$s">%1$s</a>', trailingslashit( get_option( 'home') ) )
- ); ?></p>
+ <p>
+ <?php
+ printf(
+ __(
+ 'Authorized accounts on this blog can use their author URL (i.e. <em>%1$s</em>) as an OpenID. '
+ . 'The Blog Owner will be able to use the blog address (%2$s) as their OpenID. If this is a '
+ . 'single-user blog, you should set this to your account.',
+ 'openid'
+ ),
+ sprintf( '<a href="%1$s">%1$s</a>', $current_user_url ),
+ sprintf( '<a href="%1$s">%1$s</a>', trailingslashit( get_option( 'home' ) ) )
+ );
+ ?>
+ </p>
- <?php
+ <?php
if ( defined( 'OPENID_DISALLOW_OWNER' ) && OPENID_DISALLOW_OWNER ) {
echo '
- <p class="error">' . __( 'A Blog Owner cannot be set for this blog. To set a Blog Owner, '
- . 'first remove the following line from your <code>wp-config.php</code>:', 'openid')
+ <p class="error">' . __(
+ 'A Blog Owner cannot be set for this blog. To set a Blog Owner, '
+ . 'first remove the following line from your <code>wp-config.php</code>:',
+ 'openid'
+ )
. '<br /><code style="margin:1em;">define("OPENID_DISALLOW_OWNER", 1);</code>
</p>';
} else {
$blog_owner = get_option( 'openid_blog_owner' );
- if ( empty( $blog_owner ) || $blog_owner == $current_user->user_login) {
- echo '<select id="openid_blog_owner" name="openid_blog_owner"><option value="">' . __('(none)', 'openid') . '</option>';
-
+ if ( empty( $blog_owner ) || $blog_owner == $current_user->user_login ) {
+ echo '<select id="openid_blog_owner" name="openid_blog_owner"><option value="">' . __( '(none)', 'openid' ) . '</option>';
- foreach ($users as $user) {
- $selected = (get_option('openid_blog_owner') == $user->user_login) ? ' selected="selected"' : '';
- echo '<option value="'.$user->user_login.'"'.$selected.'>'.$user->user_login.'</option>';
+ foreach ( $users as $user ) {
+ $selected = ( get_option( 'openid_blog_owner' ) == $user->user_login ) ? ' selected="selected"' : '';
+ echo '<option value="' . $user->user_login . '"' . $selected . '>' . $user->user_login . '</option>';
}
echo '</select>';
} else {
- echo '<p class="error">' . sprintf(__('Only the current Blog Owner (%s) can change this setting.', 'openid'), $blog_owner) . '</p>';
+ echo '<p class="error">' . sprintf( __( 'Only the current Blog Owner (%s) can change this setting.', 'openid' ), $blog_owner ) . '</p>';
}
}
- ?>
+ ?>
</td>
</tr>
<?php endif; //!empty($users) ?>
@@ -249,18 +297,25 @@ function openid_options_page() {
<table class="form-table optiontable editform">
<tr valign="top">
- <th scope="row"><?php _e('Troubleshooting', 'openid') ?></th>
+ <th scope="row"><?php _e( 'Troubleshooting', 'openid' ); ?></th>
<td>
<?php openid_printSystemStatus(); ?>
- <p><?php printf(__('If users are experiencing problems logging in with OpenID, it may help to %1$srefresh the cache%2$s.', 'openid'),
- '<a href="' . wp_nonce_url(add_query_arg('action', 'rebuild_tables'), 'rebuild_tables') . '">', '</a>'); ?></p>
+ <p>
+ <?php
+ printf(
+ __( 'If users are experiencing problems logging in with OpenID, it may help to %1$srefresh the cache%2$s.', 'openid' ),
+ '<a href="' . wp_nonce_url( add_query_arg( 'action', 'rebuild_tables' ), 'rebuild_tables' ) . '">',
+ '</a>'
+ );
+ ?>
+ </p>
</td>
</tr>
</table>
- <?php settings_fields('openid'); ?>
- <p class="submit"><input type="submit" class="button-primary" name="info_update" value="<?php _e('Save Changes') ?>" /></p>
+ <?php settings_fields( 'openid' ); ?>
+ <p class="submit"><input type="submit" class="button-primary" name="info_update" value="<?php _e( 'Save Changes' ); ?>" /></p>
</form>
</div>
<?php
@@ -275,45 +330,52 @@ function openid_options_page() {
function openid_profile_panel() {
global $error;
- if( !current_user_can('read') ) return;
+ if ( ! current_user_can( 'read' ) ) {
+ return;
+ }
$user = wp_get_current_user();
$status = openid_status();
- if( 'success' == $status ) {
- echo '<div class="updated"><p><strong>'.__('Success:', 'openid').'</strong> '.openid_message().'</p></div>';
- }
- elseif( 'warning' == $status ) {
- echo '<div class="error"><p><strong>'.__('Warning:', 'openid').'</strong> '.openid_message().'</p></div>';
- }
- elseif( 'error' == $status ) {
- echo '<div class="error"><p><strong>'.__('Error:', 'openid').'</strong> '.openid_message().'</p></div>';
+ if ( 'success' == $status ) {
+ echo '<div class="updated"><p><strong>' . __( 'Success:', 'openid' ) . '</strong> ' . openid_message() . '</p></div>';
+ } elseif ( 'warning' == $status ) {
+ echo '<div class="error"><p><strong>' . __( 'Warning:', 'openid' ) . '</strong> ' . openid_message() . '</p></div>';
+ } elseif ( 'error' == $status ) {
+ echo '<div class="error"><p><strong>' . __( 'Error:', 'openid' ) . '</strong> ' . openid_message() . '</p></div>';
}
- if (!empty($error)) {
- echo '<div class="error"><p><strong>'.__('Error:', 'openid').'</strong> '.$error.'</p></div>';
- unset($error);
+ if ( ! empty( $error ) ) {
+ echo '<div class="error"><p><strong>' . __( 'Error:', 'openid' ) . '</strong> ' . $error . '</p></div>';
+ unset( $error );
}
?>
<style type="text/css">
- #icon-openid { background-image: url("<?php echo plugin_dir_url(__FILE__) . 'f/icon.png'; ?>"); }
+ #icon-openid { background-image: url("<?php echo plugin_dir_url( __FILE__ ) . 'f/icon.png'; ?>"); }
</style>
<div class="wrap">
- <form action="<?php printf('%s?page=%s', $_SERVER['PHP_SELF'], $_REQUEST['page']); ?>" method="post">
- <h2><?php _e('Your Verified OpenIDs', 'openid') ?></h2>
+ <form action="<?php printf( '%s?page=%s', $_SERVER['PHP_SELF'], $_REQUEST['page'] ); ?>" method="post">
+ <h2><?php _e( 'Your Verified OpenIDs', 'openid' ); ?></h2>
- <p><?php _e('You may associate one or more OpenIDs with your account. This will '
- . 'allow you to login to WordPress with your OpenID instead of a username and password. '
- . '<a href="http://openid.net/what/" target="_blank">Learn more...</a>', 'openid')?></p>
+ <p>
+ <?php
+ _e(
+ 'You may associate one or more OpenIDs with your account. This will '
+ . 'allow you to login to WordPress with your OpenID instead of a username and password. '
+ . '<a href="http://openid.net/what/" target="_blank">Learn more...</a>',
+ 'openid'
+ )
+ ?>
+ </p>
<div class="tablenav">
<div class="alignleft actions">
<select name="action">
- <option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
- <option value="delete"><?php _e('Delete'); ?></option>
+ <option value="-1" selected="selected"><?php _e( 'Bulk Actions' ); ?></option>
+ <option value="delete"><?php _e( 'Delete' ); ?></option>
</select>
- <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
- <?php wp_nonce_field('openid-delete_openids'); ?>
+ <input type="submit" value="<?php _e( 'Apply' ); ?>" name="doaction" id="doaction" class="button-secondary action" />
+ <?php wp_nonce_field( 'openid-delete_openids' ); ?>
</div>
<div class="clear"></div>
</div>
@@ -324,25 +386,25 @@ function openid_profile_panel() {
<thead>
<tr>
<td class="check-column"><input type="checkbox" /></td>
- <th scope="col"><?php _e('Account', 'openid'); ?></th>
+ <th scope="col"><?php _e( 'Account', 'openid' ); ?></th>
</tr>
</thead>
<tbody>
<?php
- $urls = get_user_openids($user->ID);
+ $urls = get_user_openids( $user->ID );
- if (empty($urls)) {
- echo '<tr><td colspan="2">'.__('No Verified Accounts.', 'openid').'</td></tr>';
- } else {
- foreach ($urls as $url) {
- echo '
+ if ( empty( $urls ) ) {
+ echo '<tr><td colspan="2">' . __( 'No Verified Accounts.', 'openid' ) . '</td></tr>';
+ } else {
+ foreach ( $urls as $url ) {
+ echo '
<tr>
- <th scope="row" class="check-column"><input type="checkbox" name="delete[]" value="'.md5($url).'" /></th>
- <td>'.openid_display_identity($url).'</td>
+ <th scope="row" class="check-column"><input type="checkbox" name="delete[]" value="' . md5( $url ) . '" /></th>
+ <td>' . openid_display_identity( $url ) . '</td>
</tr>';
- }
}
+ }
?>
</tbody>
@@ -352,101 +414,116 @@ function openid_profile_panel() {
<form method="post">
<table class="form-table">
<tr>
- <th scope="row"><label for="openid_identifier"><?php _e('Add OpenID', 'openid') ?></label></th>
+ <th scope="row"><label for="openid_identifier"><?php _e( 'Add OpenID', 'openid' ); ?></label></th>
<td><input id="openid_identifier" class="regular-text code" name="openid_identifier" /></td>
</tr>
</table>
- <?php wp_nonce_field('openid-add_openid'); ?>
+ <?php wp_nonce_field( 'openid-add_openid' ); ?>
<p class="submit">
- <input type="submit" class="button-primary" value="<?php _e('Add OpenID', 'openid') ?>" />
+ <input type="submit" class="button-primary" value="<?php _e( 'Add OpenID', 'openid' ); ?>" />
<input type="hidden" name="action" value="add" >
</p>
</form>
</div>
-<?php
+ <?php
}
function openid_manage_trusted_sites() {
$user = wp_get_current_user();
- switch (@$_REQUEST['action']) {
- case 'add':
- check_admin_referer('openid-add_trusted_sites');
+ switch ( @$_REQUEST['action'] ) {
+ case 'add':
+ check_admin_referer( 'openid-add_trusted_sites' );
- $trusted_sites = get_user_meta($user->ID, 'openid_trusted_sites', true);
- if (!is_array($trusted_sites)) $trusted_sites = array();
- $sites = explode(PHP_EOL, $_REQUEST['sites']);
+ $trusted_sites = get_user_meta( $user->ID, 'openid_trusted_sites', true );
+ if ( ! is_array( $trusted_sites ) ) {
+ $trusted_sites = array();
+ }
+ $sites = explode( PHP_EOL, $_REQUEST['sites'] );
- $count = 0;
- foreach ($sites as $site) {
- $site = trim($site);
- if (empty($site)) continue;
+ $count = 0;
+ foreach ( $sites as $site ) {
+ $site = trim( $site );
+ if ( empty( $site ) ) {
+ continue;
+ }
- if (strpos($site, 'http') === false || strpos($site, 'http') != 0) {
- $site = 'http://' . $site;
- }
+ if ( strpos( $site, 'http' ) === false || strpos( $site, 'http' ) != 0 ) {
+ $site = 'http://' . $site;
+ }
- $site = esc_url($site);
- $site_hash = md5($site);
+ $site = esc_url( $site );
+ $site_hash = md5( $site );
- if (array_key_exists($site_hash, $trusted_sites)) continue;
+ if ( array_key_exists( $site_hash, $trusted_sites ) ) {
+ continue;
+ }
- $count++;
- $trusted_sites[$site_hash] = array('url' => $site);
- }
+ $count++;
+ $trusted_sites[ $site_hash ] = array( 'url' => $site );
+ }
- if ($count) {
- update_user_meta($user->ID, 'openid_trusted_sites', $trusted_sites);
- echo '<div class="updated"><p>';
- printf( _n('Added %d trusted site.', 'Added %d trusted sites.', $count, 'openid'), $count);
- echo '</p></div>';
- }
- break;
+ if ( $count ) {
+ update_user_meta( $user->ID, 'openid_trusted_sites', $trusted_sites );
+ echo '<div class="updated"><p>';
+ printf( _n( 'Added %d trusted site.', 'Added %d trusted sites.', $count, 'openid' ), $count );
+ echo '</p></div>';
+ }
+ break;
- case 'delete':
- if (empty($_REQUEST['delete'])) break;
+ case 'delete':
+ if ( empty( $_REQUEST['delete'] ) ) {
+ break;
+ }
- check_admin_referer('openid-delete_trusted_sites');
+ check_admin_referer( 'openid-delete_trusted_sites' );
- $trusted_sites = get_user_meta($user->ID, 'openid_trusted_sites', true);
- $count = 0;
- foreach ($_REQUEST['delete'] as $site_hash) {
- if (array_key_exists($site_hash, $trusted_sites)) {
- $trusted_sites[$site_hash] = null;
- $count++;
+ $trusted_sites = get_user_meta( $user->ID, 'openid_trusted_sites', true );
+ $count = 0;
+ foreach ( $_REQUEST['delete'] as $site_hash ) {
+ if ( array_key_exists( $site_hash, $trusted_sites ) ) {
+ $trusted_sites[ $site_hash ] = null;
+ $count++;
+ }
}
- }
- update_user_meta($user->ID, 'openid_trusted_sites', array_filter($trusted_sites));
+ update_user_meta( $user->ID, 'openid_trusted_sites', array_filter( $trusted_sites ) );
- if ($count) {
- echo '<div class="updated"><p>';
- printf( _n('Deleted %d trusted site.', 'Deleted %d trusted sites.', $count, 'openid'), $count);
- echo '</p></div>';
- }
- break;
+ if ( $count ) {
+ echo '<div class="updated"><p>';
+ printf( _n( 'Deleted %d trusted site.', 'Deleted %d trusted sites.', $count, 'openid' ), $count );
+ echo '</p></div>';
+ }
+ break;
}
?>
<style type="text/css">
- #icon-openid { background-image: url("<?php echo plugin_dir_url(__FILE__) . 'f/icon.png'; ?>"); }
+ #icon-openid { background-image: url("<?php echo plugin_dir_url( __FILE__ ) . 'f/icon.png'; ?>"); }
</style>
<div class="wrap">
- <h2><?php _e('Your Trusted Sites', 'openid'); ?></h2>
+ <h2><?php _e( 'Your Trusted Sites', 'openid' ); ?></h2>
- <p><?php _e('This is a list of sites that you can automatically login to using your OpenID account. '
- . 'You will not be asked to approve OpenID login requests for your trusted sites.' , 'openid'); ?></p>
+ <p>
+ <?php
+ _e(
+ 'This is a list of sites that you can automatically login to using your OpenID account. '
+ . 'You will not be asked to approve OpenID login requests for your trusted sites.',
+ 'openid'
+ );
+ ?>
+ </p>
<form method="post">
<div class="tablenav">
<div class="alignleft actions">
<select name="action">
- <option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
- <option value="delete"><?php _e('Delete'); ?></option>
+ <option value="-1" selected="selected"><?php _e( 'Bulk Actions' ); ?></option>
+ <option value="delete"><?php _e( 'Delete' ); ?></option>
</select>
- <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
- <?php wp_nonce_field('openid-delete_trusted_sites'); ?>
+ <input type="submit" value="<?php _e( 'Apply' ); ?>" name="doaction" id="doaction" class="button-secondary action" />
+ <?php wp_nonce_field( 'openid-delete_trusted_sites' ); ?>
</div>
<div class="clear"></div>
</div>
@@ -457,32 +534,32 @@ function openid_manage_trusted_sites() {
<thead>
<tr>
<td class="check-column"><input type="checkbox" /></td>
- <th scope="col"><?php _e('URL'); ?></th>
- <th scope="col"><?php _e('Last Login', 'openid'); ?></th>
+ <th scope="col"><?php _e( 'URL' ); ?></th>
+ <th scope="col"><?php _e( 'Last Login', 'openid' ); ?></th>
</tr>
</thead>
<tbody>
<?php
- $trusted_sites = get_user_meta($user->ID, 'openid_trusted_sites', true);
- if(empty($trusted_sites)) {
- echo '<tr><td colspan="3">'.__('No Trusted Sites.', 'openid').'</td></tr>';
- } else {
- foreach( $trusted_sites as $site_hash => $site ) {
- if (array_key_exists('last_login', $site) && $site['last_login']) {
- $last_login = date(get_option('date_format') . ' - ' . get_option('time_format'), $site['last_login']);
- } else {
- $last_login = '-';
- }
+ $trusted_sites = get_user_meta( $user->ID, 'openid_trusted_sites', true );
+ if ( empty( $trusted_sites ) ) {
+ echo '<tr><td colspan="3">' . __( 'No Trusted Sites.', 'openid' ) . '</td></tr>';
+ } else {
+ foreach ( $trusted_sites as $site_hash => $site ) {
+ if ( array_key_exists( 'last_login', $site ) && $site['last_login'] ) {
+ $last_login = date( get_option( 'date_format' ) . ' - ' . get_option( 'time_format' ), $site['last_login'] );
+ } else {
+ $last_login = '-';
+ }
- echo '
+ echo '
<tr>
- <th scope="row" class="check-column"><input type="checkbox" name="delete[]" value="'.$site_hash.'" /></th>
- <td>'.$site['url'].'</td>
- <td>'.$last_login.'</td>
+ <th scope="row" class="check-column"><input type="checkbox" name="delete[]" value="' . $site_hash . '" /></th>
+ <td>' . $site['url'] . '</td>
+ <td>' . $last_login . '</td>
</tr>';
- }
}
+ }
?>
</tbody>
@@ -497,29 +574,29 @@ function openid_manage_trusted_sites() {
<form method="post">
- <h3><?php _e('Import Trusted Sites', 'openid'); ?></h3>
+ <h3><?php _e( 'Import Trusted Sites', 'openid' ); ?></h3>
- <p><?php _e('Enter a list of URLs to be added to your Trusted Sites.', 'openid'); ?></p>
+ <p><?php _e( 'Enter a list of URLs to be added to your Trusted Sites.', 'openid' ); ?></p>
<table class="form-table" style="margin-top: 0">
<tr>
- <th scope="row"><label for="sites"><?php _e('Add Sites', 'openid') ?></label></th>
+ <th scope="row"><label for="sites"><?php _e( 'Add Sites', 'openid' ); ?></label></th>
<td>
- <textarea id="sites" name="sites" cols="60" rows="5"></textarea><br /><?php _e('(One URL per line)', 'openid'); ?>
+ <textarea id="sites" name="sites" cols="60" rows="5"></textarea><br /><?php _e( '(One URL per line)', 'openid' ); ?>
</td>
</tr>
</table>
- <?php wp_nonce_field('openid-add_trusted_sites'); ?>
+ <?php wp_nonce_field( 'openid-add_trusted_sites' ); ?>
<p class="submit">
- <input type="submit" class="button-primary" value="<?php _e('Add Sites', 'openid') ?>" />
+ <input type="submit" class="button-primary" value="<?php _e( 'Add Sites', 'openid' ); ?>" />
<input type="hidden" name="action" value="add" >
</p>
</form>
</div>
-<?php
+ <?php
}
@@ -529,95 +606,101 @@ function openid_manage_trusted_sites() {
function openid_printSystemStatus() {
global $wp_version, $wpdb;
- $paths = explode(PATH_SEPARATOR, get_include_path());
- for($i=0; $i<sizeof($paths); $i++ ) {
- $paths[$i] = @realpath($paths[$i]);
- if (empty($paths[$i])) unset($paths[$i]);
+ $paths = explode( PATH_SEPARATOR, get_include_path() );
+ for ( $i = 0; $i < sizeof( $paths ); $i++ ) {
+ $paths[ $i ] = @realpath( $paths[ $i ] );
+ if ( empty( $paths[ $i ] ) ) {
+ unset( $paths[ $i ] );
+ }
}
- $status = array();
+ $status = array();
$status[] = array( 'PHP version', 'info', phpversion() );
- $status[] = array( 'PHP memory limit', 'info', ini_get('memory_limit') );
+ $status[] = array( 'PHP memory limit', 'info', ini_get( 'memory_limit' ) );
$status[] = array( 'Include Path', 'info', $paths );
$status[] = array( 'WordPress version', 'info', $wp_version );
$status[] = array( 'PHP OpenID Library Version', 'info', Auth_OpenID_VERSION );
- $status[] = array( 'MySQL version', 'info', function_exists('mysql_get_client_info') ? mysql_get_client_info() : 'Mysql client information not available. Very strange, as WordPress requires MySQL.' );
-
- $status[] = array('WordPress\' table prefix', 'info', isset($wpdb->base_prefix) ? $wpdb->base_prefix : $wpdb->prefix );
+ $status[] = array( 'MySQL version', 'info', function_exists( 'mysql_get_client_info' ) ? mysql_get_client_info() : 'Mysql client information not available. Very strange, as WordPress requires MySQL.' );
+ $status[] = array( 'WordPress\' table prefix', 'info', isset( $wpdb->base_prefix ) ? $wpdb->base_prefix : $wpdb->prefix );
- if ( extension_loaded('suhosin') ) {
+ if ( extension_loaded( 'suhosin' ) ) {
$status[] = array( 'Curl', false, 'Hardened php (suhosin) extension active -- curl version checking skipped.' );
} else {
$curl_message = '';
- if( function_exists('curl_version') ) {
+ if ( function_exists( 'curl_version' ) ) {
$curl_version = curl_version();
- if(isset($curl_version['version']))
+ if ( isset( $curl_version['version'] ) ) {
$curl_message .= 'Version ' . $curl_version['version'] . '. ';
- if(isset($curl_version['ssl_version']))
+ }
+ if ( isset( $curl_version['ssl_version'] ) ) {
$curl_message .= 'SSL: ' . $curl_version['ssl_version'] . '. ';
- if(isset($curl_message['libz_version']))
+ }
+ if ( isset( $curl_message['libz_version'] ) ) {
$curl_message .= 'zlib: ' . $curl_version['libz_version'] . '. ';
- if(isset($curl_version['protocols'])) {
- if (is_array($curl_version['protocols'])) {
- $curl_message .= 'Supports: ' . implode(', ',$curl_version['protocols']) . '. ';
+ }
+ if ( isset( $curl_version['protocols'] ) ) {
+ if ( is_array( $curl_version['protocols'] ) ) {
+ $curl_message .= 'Supports: ' . implode( ', ', $curl_version['protocols'] ) . '. ';
} else {
$curl_message .= 'Supports: ' . $curl_version['protocols'] . '. ';
}
}
} else {
- $curl_message = 'This PHP installation does not have support for libcurl. Some functionality, such as '
+ $curl_message = 'This PHP installation does not have support for libcurl. Some functionality, such as '
. 'fetching https:// URLs, will be missing and performance will slightly impared. See '
. '<a href="http://www.php.net/manual/en/ref.curl.php">php.net/manual/en/ref.curl.php</a> about '
. 'enabling libcurl support for PHP.';
}
- $status[] = array( 'Curl Support', isset($curl_version), $curl_message );
+ $status[] = array( 'Curl Support', isset( $curl_version ), $curl_message );
}
- if (extension_loaded('gmp') and @gmp_add(1,1)==2) {
+ if ( extension_loaded( 'gmp' ) and @gmp_add( 1, 1 ) == 2 ) {
$status[] = array( 'Big Integer support', true, 'GMP is installed.' );
- } elseif (extension_loaded('bcmath') and @bcadd(1,1)==2) {
+ } elseif ( extension_loaded( 'bcmath' ) and @bcadd( 1, 1 ) == 2 ) {
$status[] = array( 'Big Integer support', true, 'BCMath is installed (though <a href="http://www.php.net/gmp">GMP</a> is preferred).' );
- } elseif (defined('Auth_OpenID_NO_MATH_SUPPORT')) {
+ } elseif ( defined( 'Auth_OpenID_NO_MATH_SUPPORT' ) ) {
$status[] = array( 'Big Integer support', false, 'The OpenID Library is operating in Dumb Mode. Recommend installing <a href="http://www.php.net/gmp">GMP</a> support.' );
}
+ $status[] = array( 'Plugin Revision', 'info', OPENID_PLUGIN_REVISION );
+ $status[] = array( 'Plugin Database Revision', 'info', get_option( 'openid_db_revision' ) );
- $status[] = array( 'Plugin Revision', 'info', OPENID_PLUGIN_REVISION);
- $status[] = array( 'Plugin Database Revision', 'info', get_option('openid_db_revision'));
-
- if (function_exists('xrds_meta')) {
- $status[] = array( 'XRDS-Simple', 'info', 'XRDS-Simple plugin is installed.');
+ if ( function_exists( 'xrds_meta' ) ) {
+ $status[] = array( 'XRDS-Simple', 'info', 'XRDS-Simple plugin is installed.' );
} else {
- $status[] = array( 'XRDS-Simple', false, '<a href="http://wordpress.org/extend/plugins/xrds-simple/">XRDS-Simple</a> plugin is not installed. Some features may not work properly (including providing OpenIDs).');
+ $status[] = array( 'XRDS-Simple', false, '<a href="http://wordpress.org/extend/plugins/xrds-simple/">XRDS-Simple</a> plugin is not installed. Some features may not work properly (including providing OpenIDs).' );
}
$openid_enabled = openid_enabled();
- $status[] = array( '<strong>Overall Plugin Status</strong>', ($openid_enabled),
- ($openid_enabled ? '' : 'There are problems above that must be dealt with before the plugin can be used.') );
-
- if( $openid_enabled ) { // Display status information
- echo'<p><strong>' . __('Status information:', 'openid') . '</strong> ' . __('All Systems Nominal', 'openid')
- . '<small> (<a href="#TB_inline?height=600&width=800&inlineId=openid_system_status" id="openid_status_link" class="thickbox" title="' . __('System Status', 'openid') . '">' . __('Toggle More/Less', 'openid') . '</a>)</small> </p>';
+ $status[] = array(
+ '<strong>Overall Plugin Status</strong>',
+ ( $openid_enabled ),
+ ( $openid_enabled ? '' : 'There are problems above that must be dealt with before the plugin can be used.' ),
+ );
+
+ if ( $openid_enabled ) { // Display status information
+ echo'<p><strong>' . __( 'Status information:', 'openid' ) . '</strong> ' . __( 'All Systems Nominal', 'openid' )
+ . '<small> (<a href="#TB_inline?height=600&width=800&inlineId=openid_system_status" id="openid_status_link" class="thickbox" title="' . __( 'System Status', 'openid' ) . '">' . __( 'Toggle More/Less', 'openid' ) . '</a>)</small> </p>';
} else {
- echo '<p><strong>' . __('Plugin is currently disabled. Fix the problem, then Deactivate/Reactivate the plugin.', 'openid')
+ echo '<p><strong>' . __( 'Plugin is currently disabled. Fix the problem, then Deactivate/Reactivate the plugin.', 'openid' )
. '</strong></p>';
}
echo '<div id="openid_system_status" class="updated">';
- foreach( $status as $s ) {
+ foreach ( $status as $s ) {
list ($name, $state, $message) = $s;
echo '<div><strong>';
- if( $state === false ) {
- echo "<span style='color:red;'>[".__('FAIL', 'openid')."]</span> $name";
- } elseif( $state === true ) {
- echo "<span style='color:green;'>[".__('OK', 'openid')."]</span> $name";
+ if ( $state === false ) {
+ echo "<span style='color:red;'>[" . __( 'FAIL', 'openid' ) . "]</span> $name";
+ } elseif ( $state === true ) {
+ echo "<span style='color:green;'>[" . __( 'OK', 'openid' ) . "]</span> $name";
} else {
- echo "<span style='color:grey;'>[".__('INFO', 'openid')."]</span> $name";
+ echo "<span style='color:grey;'>[" . __( 'INFO', 'openid' ) . "]</span> $name";
}
- echo ($message ? ': ' : '') . '</strong>';
- echo (is_array($message) ? '<ul><li>' . implode('</li><li>', $message) . '</li></ul>' : $message);
+ echo ( $message ? ': ' : '' ) . '</strong>';
+ echo ( is_array( $message ) ? '<ul><li>' . implode( '</li><li>', $message ) . '</li></ul>' : $message );
echo '</div>';
}
echo '</div>
@@ -633,63 +716,63 @@ function openid_printSystemStatus() {
function openid_profile_management() {
global $action;
- wp_reset_vars( array('action') );
+ wp_reset_vars( array( 'action' ) );
- switch( $action ) {
+ switch ( $action ) {
case 'add':
- check_admin_referer('openid-add_openid');
+ check_admin_referer( 'openid-add_openid' );
$user = wp_get_current_user();
- $auth_request = openid_begin_consumer($_POST['openid_identifier']);
+ $auth_request = openid_begin_consumer( $_POST['openid_identifier'] );
- $userid = get_user_by_openid($auth_request->endpoint->claimed_id);
+ $userid = get_user_by_openid( $auth_request->endpoint->claimed_id );
- if ($userid) {
+ if ( $userid ) {
global $error;
- if ($user->ID == $userid) {
- $error = __('You already have this OpenID!', 'openid');
+ if ( $user->ID == $userid ) {
+ $error = __( 'You already have this OpenID!', 'openid' );
} else {
- $error = __('This OpenID is already associated with another user.', 'openid');
+ $error = __( 'This OpenID is already associated with another user.', 'openid' );
}
return;
}
- $finish_url = admin_url(current_user_can('edit_users') ? 'users.php' : 'profile.php');
- $finish_url = add_query_arg('page', $_REQUEST['page'], $finish_url);
+ $finish_url = admin_url( current_user_can( 'edit_users' ) ? 'users.php' : 'profile.php' );
+ $finish_url = add_query_arg( 'page', $_REQUEST['page'], $finish_url );
- openid_start_login($_POST['openid_identifier'], 'verify', $finish_url);
+ openid_start_login( $_POST['openid_identifier'], 'verify', $finish_url );
break;
case 'delete':
- openid_profile_delete_openids($_REQUEST['delete']);
+ openid_profile_delete_openids( $_REQUEST['delete'] );
break;
default:
- if ( array_key_exists('message', $_REQUEST) ) {
+ if ( array_key_exists( 'message', $_REQUEST ) ) {
$message = $_REQUEST['message'];
$messages = array(
'',
- __('Unable to authenticate OpenID.', 'openid'),
- __('OpenID assertion successful, but this URL is already associated with another user on this blog.', 'openid'),
- __('Added association with OpenID.', 'openid')
+ __( 'Unable to authenticate OpenID.', 'openid' ),
+ __( 'OpenID assertion successful, but this URL is already associated with another user on this blog.', 'openid' ),
+ __( 'Added association with OpenID.', 'openid' ),
);
- if (is_numeric($message)) {
- $message = $messages[$message];
+ if ( is_numeric( $message ) ) {
+ $message = $messages[ $message ];
} else {
$message = htmlentities2( $message );
}
- $message = __($message, 'openid');
+ $message = __( $message, 'openid' );
- if (array_key_exists('update_url', $_REQUEST) && $_REQUEST['update_url']) {
- $message .= '<br />' . __('<strong>Note:</strong> For security reasons, your profile URL has been updated to match your OpenID.', 'openid');
+ if ( array_key_exists( 'update_url', $_REQUEST ) && $_REQUEST['update_url'] ) {
+ $message .= '<br />' . __( '<strong>Note:</strong> For security reasons, your profile URL has been updated to match your OpenID.', 'openid' );
}
- openid_message($message);
- openid_status($_REQUEST['status']);
+ openid_message( $message );
+ openid_status( $_REQUEST['status'] );
}
break;
}
@@ -701,67 +784,72 @@ function openid_profile_management() {
*
* @param int $id id of identity URL to remove
*/
-function openid_profile_delete_openids($delete) {
+function openid_profile_delete_openids( $delete ) {
- if (empty($delete) || array_key_exists('cancel', $_REQUEST)) return;
- check_admin_referer('openid-delete_openids');
+ if ( empty( $delete ) || array_key_exists( 'cancel', $_REQUEST ) ) {
+ return;
+ }
+ check_admin_referer( 'openid-delete_openids' );
$user = wp_get_current_user();
- $urls = get_user_openids($user->ID);
+ $urls = get_user_openids( $user->ID );
- if (sizeof($urls) == sizeof($delete) && !@$_REQUEST['confirm']) {
+ if ( sizeof( $urls ) == sizeof( $delete ) && ! @$_REQUEST['confirm'] ) {
$html = '
- <h1>'.__('OpenID Warning', 'openid').'</h1>
- <form action='.sprintf('%s?page=%s', $_SERVER['PHP_SELF'], $_REQUEST['page']).' method="post">
- <p>'.__('Are you sure you want to delete all of your OpenID associations? Doing so may prevent you from logging in.', 'openid').'</p>
+ <h1>' . __( 'OpenID Warning', 'openid' ) . '</h1>
+ <form action=' . sprintf( '%s?page=%s', $_SERVER['PHP_SELF'], $_REQUEST['page'] ) . ' method="post">
+ <p>' . __( 'Are you sure you want to delete all of your OpenID associations? Doing so may prevent you from logging in.', 'openid' ) . '</p>
<div class="submit">
- <input type="submit" name="confirm" value="'.__("Yes I'm sure. Delete.", 'openid').'" />
- <input type="submit" name="cancel" value="'.__("No, don't delete.", 'openid').'" />
+ <input type="submit" name="confirm" value="' . __( "Yes I'm sure. Delete.", 'openid' ) . '" />
+ <input type="submit" name="cancel" value="' . __( "No, don't delete.", 'openid' ) . '" />
</div>';
- foreach ($delete as $d) {
- $html .= '<input type="hidden" name="delete[]" value="'.$d.'" />';
+ foreach ( $delete as $d ) {
+ $html .= '<input type="hidden" name="delete[]" value="' . $d . '" />';
}
-
- $html .= wp_nonce_field('openid-delete_openids', '_wpnonce', true, false) . '
+ $html .= wp_nonce_field( 'openid-delete_openids', '_wpnonce', true, false ) . '
<input type="hidden" name="action" value="delete" />
</form>';
- openid_page($html, __('OpenID Warning', 'openid'));
+ openid_page( $html, __( 'OpenID Warning', 'openid' ) );
return;
}
-
$count = 0;
- foreach ($urls as $url) {
- if (in_array(md5($url), $_REQUEST['delete'])) {
- if (openid_drop_identity($user->ID, $url)) {
+ foreach ( $urls as $url ) {
+ if ( in_array( md5( $url ), $_REQUEST['delete'] ) ) {
+ if ( openid_drop_identity( $user->ID, $url ) ) {
$count++;
}
}
}
- if ($count) {
- openid_message( sprintf(_n('Deleted %d OpenID association.', 'Deleted %d OpenID associations.', $count, 'openid'), $count) );
- openid_status('success');
+ if ( $count ) {
+ openid_message( sprintf( _n( 'Deleted %d OpenID association.', 'Deleted %d OpenID associations.', $count, 'openid' ), $count ) );
+ openid_status( 'success' );
// ensure that profile URL is still a verified OpenID
require_once 'Auth/OpenID.php';
- @include_once(ABSPATH . WPINC . '/registration.php'); // WP < 2.3
- @include_once(ABSPATH . 'wp-admin/includes/admin.php'); // WP >= 2.3
-
- if (!openid_ensure_url_match($user)) {
- $identities = get_user_openids($user->ID);
- wp_update_user( array('ID' => $user->ID, 'user_url' => $identities[0]) );
- openid_message(openid_message() . '<br />'.__('<strong>Note:</strong> For security reasons, your profile URL has been updated to match your OpenID.', 'openid'));
+ @include_once( ABSPATH . WPINC . '/registration.php' ); // WP < 2.3
+ @include_once( ABSPATH . 'wp-admin/includes/admin.php' ); // WP >= 2.3
+
+ if ( ! openid_ensure_url_match( $user ) ) {
+ $identities = get_user_openids( $user->ID );
+ wp_update_user(
+ array(
+ 'ID' => $user->ID,
+ 'user_url' => $identities[0],
+ )
+ );
+ openid_message( openid_message() . '<br />' . __( '<strong>Note:</strong> For security reasons, your profile URL has been updated to match your OpenID.', 'openid' ) );
}
return;
}
- openid_message(__('OpenID association delete failed: Unknown reason.', 'openid'));
- openid_status('error');
+ openid_message( __( 'OpenID association delete failed: Unknown reason.', 'openid' ) );
+ openid_status( 'error' );
}
@@ -771,39 +859,48 @@ function openid_profile_delete_openids($delete) {
*
* @param string $identity_url verified OpenID URL
*/
-function openid_finish_verify($identity_url, $action) {
- if ($action != 'verify') return;
+function openid_finish_verify( $identity_url, $action ) {
+ if ( $action != 'verify' ) {
+ return;
+ }
$message;
$user = wp_get_current_user();
- if (empty($identity_url)) {
+ if ( empty( $identity_url ) ) {
$message = openid_message();
- if (empty($message)) $message = 1;
+ if ( empty( $message ) ) {
+ $message = 1;
+ }
} else {
- if( !openid_add_identity($user->ID, $identity_url) ) {
+ if ( ! openid_add_identity( $user->ID, $identity_url ) ) {
$message = 2;
} else {
$message = 3;
// ensure that profile URL is a verified OpenID
require_once 'Auth/OpenID.php';
- require_once(ABSPATH . 'wp-admin/includes/admin.php');
-
- if (!openid_ensure_url_match($user)) {
- wp_update_user( array('ID' => $user->ID, 'user_url' => $identity_url) );
+ require_once( ABSPATH . 'wp-admin/includes/admin.php' );
+
+ if ( ! openid_ensure_url_match( $user ) ) {
+ wp_update_user(
+ array(
+ 'ID' => $user->ID,
+ 'user_url' => $identity_url,
+ )
+ );
$update_url = 1;
}
}
}
$finish_url = $_SESSION['openid_finish_url'];
- $finish_url = add_query_arg('status', openid_status(), $finish_url);
- $finish_url = add_query_arg('message', $message, $finish_url);
- if ( isset($update_url) && $update_url ) {
- $finish_url = add_query_arg('update_url', $update_url, $finish_url);
+ $finish_url = add_query_arg( 'status', openid_status(), $finish_url );
+ $finish_url = add_query_arg( 'message', $message, $finish_url );
+ if ( isset( $update_url ) && $update_url ) {
+ $finish_url = add_query_arg( 'update_url', $update_url, $finish_url );
}
- wp_safe_redirect($finish_url);
+ wp_safe_redirect( $finish_url );
exit;
}
@@ -814,9 +911,13 @@ function openid_finish_verify($identity_url, $action) {
function openid_personal_options_update() {
$user = wp_get_current_user();
- if (!openid_ensure_url_match($user, $_POST['url'])) {
- wp_die(sprintf(__('For security reasons, your profile URL must be one of your claimed OpenIDs: %s', 'openid'),
- '<ul><li>' . join('</li><li>', get_user_openids($user->ID)) . '</li></ul>'));
+ if ( ! openid_ensure_url_match( $user, $_POST['url'] ) ) {
+ wp_die(
+ sprintf(
+ __( 'For security reasons, your profile URL must be one of your claimed OpenIDs: %s', 'openid' ),
+ '<ul><li>' . join( '</li><li>', get_user_openids( $user->ID ) ) . '</li></ul>'
+ )
+ );
}
}
@@ -824,18 +925,24 @@ function openid_personal_options_update() {
/**
* Ensure that the user's profile URL matches one of their OpenIDs
*/
-function openid_ensure_url_match($user, $url = null) {
- $identities = get_user_openids($user->ID);
- if (empty($identities)) return true;
+function openid_ensure_url_match( $user, $url = null ) {
+ $identities = get_user_openids( $user->ID );
+ if ( empty( $identities ) ) {
+ return true;
+ }
require_once 'Auth/OpenID.php';
- if ($url == null) $url = $user->user_url;
- $url = Auth_OpenID::normalizeUrl($url);
+ if ( $url == null ) {
+ $url = $user->user_url;
+ }
+ $url = Auth_OpenID::normalizeUrl( $url );
- foreach ($identities as $id) {
- $id = Auth_OpenID::normalizeUrl($id);
- if ($id == $url) return true;
+ foreach ( $identities as $id ) {
+ $id = Auth_OpenID::normalizeUrl( $id );
+ if ( $id == $url ) {
+ return true;
+ }
}
return false;
@@ -851,12 +958,12 @@ function openid_extend_profile() {
echo '
<table class="form-table">
<tr>
- <th><label for="openid_delegate">'.__('OpenID Delegation', 'openid').'</label></th>
+ <th><label for="openid_delegate">' . __( 'OpenID Delegation', 'openid' ) . '</label></th>
<td>
- <p style="margin-top:0;">'.__('OpenID Delegation allows you to use an external OpenID provider of your choice.', 'openid').'</p>
+ <p style="margin-top:0;">' . __( 'OpenID Delegation allows you to use an external OpenID provider of your choice.', 'openid' ) . '</p>
<p>
- <input type="text" id="openid_delegate" name="openid_delegate" class="regular-text code openid_link" value="'.get_user_meta($user->ID, 'openid_delegate', true).'" /> '
- . __('To delegate, enter a valid OpenID. Otherwise leave this blank.', 'openid')
+ <input type="text" id="openid_delegate" name="openid_delegate" class="regular-text code openid_link" value="' . get_user_meta( $user->ID, 'openid_delegate', true ) . '" /> '
+ . __( 'To delegate, enter a valid OpenID. Otherwise leave this blank.', 'openid' )
. '</p>
</td>
</tr>
@@ -868,15 +975,15 @@ function openid_extend_profile() {
/**
* Update OpenID options set from the WordPress user profile page.
*/
-function openid_profile_update($user_id) {
+function openid_profile_update( $user_id ) {
global $openid_user_delegation_info;
- if ( empty($_POST['openid_delegate']) ) {
- delete_user_meta($user_id, 'openid_delegate');
- delete_user_meta($user_id, 'openid_delegate_services');
+ if ( empty( $_POST['openid_delegate'] ) ) {
+ delete_user_meta( $user_id, 'openid_delegate' );
+ delete_user_meta( $user_id, 'openid_delegate_services' );
} else {
- update_user_meta($user_id, 'openid_delegate', $openid_user_delegation_info['url']);
- update_user_meta($user_id, 'openid_delegate_services', $openid_user_delegation_info['services']);
+ update_user_meta( $user_id, 'openid_delegate', $openid_user_delegation_info['url'] );
+ update_user_meta( $user_id, 'openid_delegate_services', $openid_user_delegation_info['services'] );
}
}
@@ -884,26 +991,28 @@ function openid_profile_update($user_id) {
/**
* Report any OpenID errors during user profile updating.
*/
-function openid_profile_update_errors($errors, $update, $user) {
+function openid_profile_update_errors( $errors, $update, $user ) {
global $openid_user_delegation_info;
- $delegate = Auth_OpenID::normalizeUrl($_POST['openid_delegate']);
- if ( empty($delegate) ) return $errors;
+ $delegate = Auth_OpenID::normalizeUrl( $_POST['openid_delegate'] );
+ if ( empty( $delegate ) ) {
+ return $errors;
+ }
- $openid_user_delegation_info = openid_server_get_delegation_info($user->ID, $delegate);
+ $openid_user_delegation_info = openid_server_get_delegation_info( $user->ID, $delegate );
- if (!$openid_user_delegation_info) {
- $errors->add('openid_delegate', sprintf(__('Unable to find any OpenID information for delegate URL %s', 'openid'), '<strong>'.$delegate.'</strong>'));
+ if ( ! $openid_user_delegation_info ) {
+ $errors->add( 'openid_delegate', sprintf( __( 'Unable to find any OpenID information for delegate URL %s', 'openid' ), '<strong>' . $delegate . '</strong>' ) );
} else {
$id_select_count = 0;
- foreach ($openid_user_delegation_info['services'] as $service) {
- if ( array_key_exists('LocalID', $service) && $service['LocalID'] == Auth_OpenID_IDENTIFIER_SELECT ) {
+ foreach ( $openid_user_delegation_info['services'] as $service ) {
+ if ( array_key_exists( 'LocalID', $service ) && $service['LocalID'] == Auth_OpenID_IDENTIFIER_SELECT ) {
$id_select_count++;
}
}
- if ( count($openid_user_delegation_info['services']) <= $id_select_count ) {
- $errors->add('openid_delegate', sprintf(__('You cannot delegate to an OpenID provider which uses Identifier Select.', 'openid')));
+ if ( count( $openid_user_delegation_info['services'] ) <= $id_select_count ) {
+ $errors->add( 'openid_delegate', sprintf( __( 'You cannot delegate to an OpenID provider which uses Identifier Select.', 'openid' ) ) );
}
}
@@ -914,17 +1023,17 @@ function openid_profile_update_errors($errors, $update, $user) {
* Add OpenID options to the WordPress MU site options page.
*/
function openid_wpmu_options() {
- $registration = get_site_option('registration');
- if ( $registration == 'all' || $registration == 'user' ):
-?>
+ $registration = get_site_option( 'registration' );
+ if ( $registration == 'all' || $registration == 'user' ) :
+ ?>
<table id="openid_options" class="wp-list-table widefat fixed striped">
<tr valign="top">
<th scope="row"></th>
<td>
<label for="openid_required_for_registration">
<input type="checkbox" name="openid_required_for_registration" id="openid_required_for_registration" value="1"
- <?php checked(true, get_site_option('openid_required_for_registration')) ?> />
- <?php _e('New accounts can only be created with verified OpenIDs.', 'openid') ?>
+ <?php checked( true, get_site_option( 'openid_required_for_registration' ) ); ?> />
+ <?php _e( 'New accounts can only be created with verified OpenIDs.', 'openid' ); ?>
</label>
</td>
</tr>
@@ -937,7 +1046,7 @@ function openid_wpmu_options() {
jQuery('#openid_required_for_registration').parent().insertBefore(lastp).wrap('<p></p>');
});
</script>
-<?php
+ <?php
endif;
}
@@ -946,11 +1055,11 @@ function openid_wpmu_options() {
* Update the OpenID options set from the WordPress MU site options page.
*/
function openid_update_wpmu_options() {
- $openid_required = array_key_exists('openid_required_for_registration', $_POST);
- if ($openid_required) {
- update_site_option('openid_required_for_registration', '1');
+ $openid_required = array_key_exists( 'openid_required_for_registration', $_POST );
+ if ( $openid_required ) {
+ update_site_option( 'openid_required_for_registration', '1' );
} else {
- update_site_option('openid_required_for_registration', '0');
+ update_site_option( 'openid_required_for_registration', '0' );
}
}
@@ -959,11 +1068,12 @@ function openid_update_wpmu_options() {
* Add OpenID options to the WordPress general settings page.
*/
function openid_general_settings() {
- if ( get_option('users_can_register') ): ?>
+ if ( get_option( 'users_can_register' ) ) :
+ ?>
<label for="openid_required_for_registration">
<input type="checkbox" name="openid_required_for_registration" id="openid_required_for_registration" value="1"
- <?php checked(true, get_option('openid_required_for_registration')) ?> />
- <?php _e('New accounts can only be created with verified OpenIDs.', 'openid') ?>
+ <?php checked( true, get_option( 'openid_required_for_registration' ) ); ?> />
+ <?php _e( 'New accounts can only be created with verified OpenIDs.', 'openid' ); ?>
</label>
<?php endif; ?>
@@ -974,7 +1084,7 @@ function openid_general_settings() {
.parent().prepend('<br />').insertAfter('label:has(#users_can_register)');
});
</script>
-<?php
+ <?php
}
@@ -982,34 +1092,43 @@ function openid_general_settings() {
* Add OpenID options to the WordPress discussion settings page.
*/
function openid_discussion_settings() {
-?>
+ ?>
<fieldset>
<label for="openid_enable_commentform">
- <input type="checkbox" name="openid_enable_commentform" id="openid_enable_commentform" value="1" <?php
- echo checked(true, get_option('openid_enable_commentform')); ?> />
- <?php _e('Enable OpenID for comments', 'openid') ?>
+ <input type="checkbox" name="openid_enable_commentform" id="openid_enable_commentform" value="1"
+ <?php
+ echo checked( true, get_option( 'openid_enable_commentform' ) );
+ ?>
+ />
+ <?php _e( 'Enable OpenID for comments', 'openid' ); ?>
</label>
<br />
- <?php if ( get_option('openid_enable_commentform') ): ?>
+ <?php if ( get_option( 'openid_enable_commentform' ) ) : ?>
- <?php if ( get_option('require_name_email') ): ?>
+ <?php if ( get_option( 'require_name_email' ) ) : ?>
<label for="openid_no_require_name">
- <input type="checkbox" name="openid_no_require_name" id="openid_no_require_name" value="1" <?php
- echo checked(true, get_option('openid_no_require_name')) ; ?> />
- <?php _e('Do not require name and e-mail for comments left with a verified OpenID', 'openid') ?>
+ <input type="checkbox" name="openid_no_require_name" id="openid_no_require_name" value="1"
+ <?php
+ echo checked( true, get_option( 'openid_no_require_name' ) );
+ ?>
+ />
+ <?php _e( 'Do not require name and e-mail for comments left with a verified OpenID', 'openid' ); ?>
</label>
<br />
<?php endif; ?>
<label for="openid_enable_approval">
- <input type="checkbox" name="openid_enable_approval" id="openid_enable_approval" value="1" <?php
- echo checked(true, get_option('openid_enable_approval')); ?> />
- <?php _e('Always approve comments left with a verified OpenID', 'openid'); ?>
+ <input type="checkbox" name="openid_enable_approval" id="openid_enable_approval" value="1"
+ <?php
+ echo checked( true, get_option( 'openid_enable_approval' ) );
+ ?>
+ />
+ <?php _e( 'Always approve comments left with a verified OpenID', 'openid' ); ?>
</label>
<br />
<?php endif; ?>
</fieldset>
-<?php
+ <?php
}
diff --git a/plugins/openid/comments.php b/plugins/openid/comments.php
index 1e5bd06d..11950ee2 100644
--- a/plugins/openid/comments.php
+++ b/plugins/openid/comments.php
@@ -65,7 +65,7 @@ function openid_process_comment( $comment ) {
if ( array_key_exists( 'openid_identifier', $_POST ) ) {
$openid_url = $_POST['openid_identifier'];
- } elseif ( $_REQUEST['login_with_openid'] ) {
+ } elseif ( array_key_exists( 'login_with_openid', $_REQUEST ) && $_REQUEST['login_with_openid'] ) {
$openid_url = $_POST['url'];
}
@@ -73,9 +73,9 @@ function openid_process_comment( $comment ) {
unset( $_SESSION['openid_posted_comment'] );
if ( ! empty( $openid_url ) ) { // Comment form's OpenID url is filled in.
- $_SESSION['openid_comment_post'] = $_POST;
+ $_SESSION['openid_comment_post'] = $_POST;
$_SESSION['openid_comment_post']['comment_author_openid'] = $openid_url;
- $_SESSION['openid_comment_post']['openid_skip'] = 1;
+ $_SESSION['openid_comment_post']['openid_skip'] = 1;
openid_start_login( $openid_url, 'comment' );
@@ -102,8 +102,8 @@ function openid_process_comment( $comment ) {
* address.
*/
function openid_require_name_email( $comment ) {
- $user = wp_get_current_user();
- $comment_author = $comment['comment_author'];
+ $user = wp_get_current_user();
+ $comment_author = $comment['comment_author'];
$comment_author_email = $comment['comment_author_email'];
if ( get_option( 'require_name_email' ) && ! $user->ID ) {
@@ -185,9 +185,11 @@ function openid_sanitize_comment_cookies() {
// this might be an i-name, so we don't want to run clean_url()
remove_filter( 'pre_comment_author_url', 'clean_url' );
- $comment_author_url = apply_filters( 'pre_comment_author_url',
- $_COOKIE[ 'comment_author_openid_' . COOKIEHASH ] );
- $comment_author_url = stripslashes( $comment_author_url );
+ $comment_author_url = apply_filters(
+ 'pre_comment_author_url',
+ $_COOKIE[ 'comment_author_openid_' . COOKIEHASH ]
+ );
+ $comment_author_url = stripslashes( $comment_author_url );
$_COOKIE[ 'comment_author_url_' . COOKIEHASH ] = $comment_author_url;
}
}
@@ -343,7 +345,7 @@ function openid_finish_comment( $identity_url, $action ) {
* @param int $id id of comment to set as OpenID
*/
function set_comment_openid( $id ) {
- $comment = get_comment( $id );
+ $comment = get_comment( $id );
$openid_comments = get_post_meta( $comment->comment_post_ID, 'openid_comments', true );
if ( ! is_array( $openid_comments ) ) {
$openid_comments = array();
@@ -359,7 +361,7 @@ function set_comment_openid( $id ) {
* @param int $id id of comment to set as OpenID
*/
function unset_comment_openid( $id ) {
- $comment = get_comment( $id );
+ $comment = get_comment( $id );
$openid_comments = get_post_meta( $comment->comment_post_ID, 'openid_comments', true );
if ( is_array( $openid_comments ) && in_array( $id, $openid_comments ) ) {
@@ -396,9 +398,9 @@ function openid_get_user_data_form( $data, $identity_url ) {
}
if ( $comment['author'] ) {
- $data['nickname'] = $comment['author'];
+ $data['nickname'] = $comment['author'];
$data['user_nicename'] = $comment['author'];
- $data['display_name'] = $comment['author'];
+ $data['display_name'] = $comment['author'];
}
return $data;
diff --git a/plugins/openid/common.php b/plugins/openid/common.php
index 7c54b664..df7737f8 100644
--- a/plugins/openid/common.php
+++ b/plugins/openid/common.php
@@ -195,7 +195,7 @@ function openid_cleanup() {
/*
* Customer error handler for calls into the JanRain library
*/
-function openid_customer_error_handler( $errno, $errmsg, $filename, $linenum, $vars ) {
+function openid_customer_error_handler( $errno, $errmsg, $filename, $linenum, $vars = null ) {
if ( 2048 == ( 2048 & $errno ) ) {
return;
}
@@ -232,10 +232,10 @@ function openid_customer_error_handler( $errno, $errmsg, $filename, $linenum, $v
*/
function openid_generate_new_username( $url, $append = true ) {
$base = openid_normalize_username( $url );
- $i = '';
+ $i = '';
while ( true ) {
$username = openid_normalize_username( $base . $i );
- $user = get_user_by( 'login', $username );
+ $user = get_user_by( 'login', $username );
if ( $user ) {
if ( ! $append ) {
return null;
@@ -349,25 +349,25 @@ function openid_create_new_user( $identity_url, &$user_data ) {
$username = openid_generate_new_username( $identity_url );
}
- $user_data['user_login'] = $username;
+ $user_data['user_login'] = $username;
$user_data['display_name'] = $username;
- $user_data['user_pass'] = substr( md5( uniqid( microtime() ) ), 0, 7 );
- $user_id = wp_insert_user( $user_data );
+ $user_data['user_pass'] = substr( md5( uniqid( microtime() ) ), 0, 7 );
+ $user_id = wp_insert_user( $user_data );
if ( $user_id instanceof WP_Error ) {
openid_message( $user_id->get_error_message() );
openid_status( 'error' );
return;
- } else if ( is_integer( $user_id ) ) { // created ok
+ } elseif ( is_integer( $user_id ) ) { // created ok
$user_data['ID'] = $user_id;
// XXX this all looks redundant, see openid_set_current_user
- $user = new WP_User( $user_id );
+ $user = new WP_User( $user_id );
$credentials = array(
- 'user_login' => $user->user_login,
+ 'user_login' => $user->user_login,
'user_password' => $user_data['user_pass'],
- 'remember' => true,
+ 'remember' => true,
);
if ( ! wp_signon( $credentials ) ) {
@@ -419,10 +419,10 @@ function openid_create_new_user( $identity_url, &$user_data ) {
*/
function openid_get_user_data( $identity_url ) {
$data = array(
- 'ID' => null,
- 'user_url' => $identity_url,
+ 'ID' => null,
+ 'user_url' => $identity_url,
'user_nicename' => $identity_url,
- 'display_name' => $identity_url,
+ 'display_name' => $identity_url,
);
// create proper website URL if OpenID is an i-name
@@ -462,7 +462,7 @@ function openid_get_user_data_ax( $data, $identity_url ) {
require_once( 'Auth/OpenID/AX.php' );
$response = openid_response();
- $ax = Auth_OpenID_AX_FetchResponse::fromSuccessResponse( $response );
+ $ax = Auth_OpenID_AX_FetchResponse::fromSuccessResponse( $response );
if ( ! $ax ) {
return $data;
@@ -475,9 +475,9 @@ function openid_get_user_data_ax( $data, $identity_url ) {
$nickname = $ax->getSingle( 'http://axschema.org/namePerson/friendly' );
if ( $nickname && ! is_a( $nickname, 'Auth_OpenID_AX_Error' ) ) {
- $data['nickname'] = $ax->getSingle( 'http://axschema.org/namePerson/friendly' );
+ $data['nickname'] = $ax->getSingle( 'http://axschema.org/namePerson/friendly' );
$data['user_nicename'] = $ax->getSingle( 'http://axschema.org/namePerson/friendly' );
- $data['display_name'] = $ax->getSingle( 'http://axschema.org/namePerson/friendly' );
+ $data['display_name'] = $ax->getSingle( 'http://axschema.org/namePerson/friendly' );
}
$fullname = $ax->getSingle( 'http://axschema.org/namePerson' );
@@ -505,9 +505,9 @@ function openid_get_user_data_ax( $data, $identity_url ) {
*/
function openid_get_user_data_sreg( $data, $identity_url ) {
require_once( 'Auth/OpenID/SReg.php' );
- $response = openid_response();
+ $response = openid_response();
$sreg_resp = Auth_OpenID_SRegResponse::fromSuccessResponse( $response );
- $sreg = $sreg_resp->contents();
+ $sreg = $sreg_resp->contents();
if ( ! $sreg ) {
return $data;
@@ -518,9 +518,9 @@ function openid_get_user_data_sreg( $data, $identity_url ) {
}
if ( array_key_exists( 'nickname', $sreg ) && $sreg['nickname'] ) {
- $data['nickname'] = $sreg['nickname'];
+ $data['nickname'] = $sreg['nickname'];
$data['user_nicename'] = $sreg['nickname'];
- $data['display_name'] = $sreg['nickname'];
+ $data['display_name'] = $sreg['nickname'];
}
if ( array_key_exists( 'fullname', $sreg ) && $sreg['fullname'] ) {
@@ -625,7 +625,7 @@ function openid_clean_request() {
unset( $_GET['q'] );
- $vars = explode( '&', $_SERVER['QUERY_STRING'] );
+ $vars = explode( '&', $_SERVER['QUERY_STRING'] );
$clean = array();
foreach ( $vars as $v ) {
@@ -642,7 +642,7 @@ function openid_clean_request() {
// This results in the QUERY_STRING not having the correct information, but fortunately we
// can pull it out of REQUEST_URI
- list($path, $query) = explode( '?', $_SERVER['REQUEST_URI'], 2 );
+ list($path, $query) = explode( '?', $_SERVER['REQUEST_URI'], 2 );
$_SERVER['QUERY_STRING'] = $query;
}
}
diff --git a/plugins/openid/consumer.php b/plugins/openid/consumer.php
index 2c3ab5bc..c1cbd296 100644
--- a/plugins/openid/consumer.php
+++ b/plugins/openid/consumer.php
@@ -21,7 +21,7 @@ function openid_getConsumer() { // phpcs:ignore
if ( ! $consumer ) {
require_once 'Auth/OpenID/Consumer.php';
- $store = openid_getStore();
+ $store = openid_getStore();
$consumer = new Auth_OpenID_Consumer( $store );
if ( null === $consumer ) {
openid_error( 'OpenID consumer could not be created properly.' );
@@ -98,7 +98,7 @@ function finish_openid_auth() {
openid_status( 'success' );
$identity_url = $response->identity_url;
- $escaped_url = htmlspecialchars( $identity_url, ENT_QUOTES );
+ $escaped_url = htmlspecialchars( $identity_url, ENT_QUOTES );
return $escaped_url;
default:
@@ -124,7 +124,7 @@ function openid_begin_consumer( $url ) {
set_error_handler( 'openid_customer_error_handler' );
$consumer = openid_getConsumer();
- $request = $consumer->begin( $url );
+ $request = $consumer->begin( $url );
restore_error_handler();
}
@@ -150,16 +150,18 @@ function openid_start_login( $claimed_url, $action, $finish_url = null ) {
if ( null === $auth_request ) {
openid_status( 'error' );
- openid_message(sprintf(
- __( 'Could not discover an OpenID identity server endpoint at the url: %s', 'openid' ),
- htmlentities( $claimed_url )
- ));
+ openid_message(
+ sprintf(
+ __( 'Could not discover an OpenID identity server endpoint at the url: %s', 'openid' ),
+ htmlentities( $claimed_url )
+ )
+ );
return;
}
@session_start();
- $_SESSION['openid_action'] = $action;
+ $_SESSION['openid_action'] = $action;
$_SESSION['openid_finish_url'] = $finish_url;
$extensions = apply_filters( 'openid_auth_request_extensions', array(), $auth_request );
@@ -192,7 +194,7 @@ function openid_add_ax_extension( $extensions, $auth_request ) {
Auth_OpenID_AX_AttrInfo::make( 'http://axschema.org/contact/email', 1, true ),
Auth_OpenID_AX_AttrInfo::make( 'http://axschema.org/namePerson', 1, true ),
);
- $fields = apply_filters( 'openid_consumer_ax_fields', $default_fields );
+ $fields = apply_filters( 'openid_consumer_ax_fields', $default_fields );
$ax_request = new Auth_OpenID_AX_FetchRequest();
foreach ( $fields as $field ) {
@@ -218,8 +220,8 @@ function openid_add_sreg_extension( $extensions, $auth_request ) {
require_once( 'Auth/OpenID/SReg.php' );
if ( $auth_request->endpoint->usesExtension( Auth_OpenID_SREG_NS_URI_1_0 ) || $auth_request->endpoint->usesExtension( Auth_OpenID_SREG_NS_URI_1_1 ) ) {
- $required = apply_filters( 'openid_consumer_sreg_required_fields', array() );
- $optional = apply_filters( 'openid_consumer_sreg_optional_fields', array( 'nickname', 'email', 'fullname' ) );
+ $required = apply_filters( 'openid_consumer_sreg_required_fields', array() );
+ $optional = apply_filters( 'openid_consumer_sreg_optional_fields', array( 'nickname', 'email', 'fullname' ) );
$extensions[] = Auth_OpenID_SRegRequest::build( $required, $optional );
}
}
diff --git a/plugins/openid/lib/Auth/OpenID.php b/plugins/openid/lib/Auth/OpenID.php
index 4d8fffa3..ba26c012 100644
--- a/plugins/openid/lib/Auth/OpenID.php
+++ b/plugins/openid/lib/Auth/OpenID.php
@@ -20,7 +20,7 @@
/**
* The library version string
*/
-define('Auth_OpenID_VERSION', '2.2.2');
+define('Auth_OpenID_VERSION', '3.0.3');
/**
* Require the fetcher code.
@@ -148,7 +148,7 @@ class Auth_OpenID {
*/
static function getQuery($query_str=null)
{
- $data = array();
+ $data = [];
if ($query_str !== null) {
$data = Auth_OpenID::params_from_string($query_str);
@@ -170,7 +170,7 @@ class Auth_OpenID {
$str = file_get_contents('php://input');
if ($str === false) {
- $post = array();
+ $post = [];
} else {
$post = Auth_OpenID::params_from_string($str);
}
@@ -186,7 +186,7 @@ class Auth_OpenID {
{
$chunks = explode("&", $str);
- $data = array();
+ $data = [];
foreach ($chunks as $chunk) {
$parts = explode("=", $chunk, 2);
@@ -237,7 +237,7 @@ class Auth_OpenID {
*/
static function addPrefix($values, $prefix)
{
- $new_values = array();
+ $new_values = [];
foreach ($values as $s) {
$new_values[] = $prefix . $s;
}
@@ -286,7 +286,7 @@ class Auth_OpenID {
$parts = explode('&', $query);
- $new_parts = array();
+ $new_parts = [];
for ($i = 0; $i < count($parts); $i++) {
$pair = explode('=', $parts[$i]);
@@ -314,7 +314,7 @@ class Auth_OpenID {
*/
static function httpBuildQuery($data)
{
- $pairs = array();
+ $pairs = [];
foreach ($data as $key => $value) {
if (is_array($value)) {
$pairs[] = urlencode($value[0])."=".urlencode($value[1]);
@@ -354,9 +354,9 @@ class Auth_OpenID {
} else {
$keys = array_keys($args);
sort($keys);
- $new_args = array();
+ $new_args = [];
foreach ($keys as $key) {
- $new_args[] = array($key, $args[$key]);
+ $new_args[] = [$key, $args[$key]];
}
$args = $new_args;
}
@@ -440,7 +440,7 @@ class Auth_OpenID {
if (isset($parsed['scheme']) &&
isset($parsed['host'])) {
$scheme = strtolower($parsed['scheme']);
- if (!in_array($scheme, array('http', 'https'))) {
+ if (!in_array($scheme, ['http', 'https'])) {
return null;
}
} else {
@@ -497,10 +497,10 @@ class Auth_OpenID {
$hex = bin2hex($str);
if (!$hex) {
- return array();
+ return [];
}
- $b = array();
+ $b = [];
for ($i = 0; $i < strlen($hex); $i += 2) {
$b[] = chr(base_convert(substr($hex, $i, 2), 16, 10));
}
@@ -513,7 +513,7 @@ class Auth_OpenID {
$parts = explode("#", $url, 2);
if (count($parts) == 1) {
- return array($parts[0], "");
+ return [$parts[0], ""];
} else {
return $parts;
}
@@ -521,10 +521,10 @@ class Auth_OpenID {
static function filter($callback, &$sequence)
{
- $result = array();
+ $result = [];
foreach ($sequence as $item) {
- if (call_user_func_array($callback, array($item))) {
+ if (call_user_func_array($callback, [$item])) {
$result[] = $item;
}
}
diff --git a/plugins/openid/lib/Auth/OpenID/AX.php b/plugins/openid/lib/Auth/OpenID/AX.php
index acc9af52..82b354d1 100644
--- a/plugins/openid/lib/Auth/OpenID/AX.php
+++ b/plugins/openid/lib/Auth/OpenID/AX.php
@@ -130,7 +130,7 @@ class Auth_OpenID_AX_Message extends Auth_OpenID_Extension {
*/
function _newArgs()
{
- return array('mode' => $this->mode);
+ return ['mode' => $this->mode];
}
}
@@ -248,7 +248,7 @@ class Auth_OpenID_AX_AttrInfo {
*/
function Auth_OpenID_AX_toTypeURIs($namespace_map, $alias_list_s)
{
- $uris = array();
+ $uris = [];
if ($alias_list_s) {
foreach (explode(',', $alias_list_s) as $alias) {
@@ -295,7 +295,7 @@ class Auth_OpenID_AX_FetchRequest extends Auth_OpenID_AX_Message {
*
* @var array
*/
- private $requested_attributes = array();
+ private $requested_attributes = [];
function __construct($update_url=null)
{
@@ -331,8 +331,8 @@ class Auth_OpenID_AX_FetchRequest extends Auth_OpenID_AX_Message {
{
$aliases = new Auth_OpenID_NamespaceMap();
- $required = array();
- $if_available = array();
+ $required = [];
+ $if_available = [];
$ax_args = $this->_newArgs();
@@ -383,7 +383,7 @@ class Auth_OpenID_AX_FetchRequest extends Auth_OpenID_AX_Message {
*/
function getRequiredAttrs()
{
- $required = array();
+ $required = [];
foreach ($this->requested_attributes as $type_uri => $attribute) {
if ($attribute->required) {
$required[] = $type_uri;
@@ -559,7 +559,7 @@ class Auth_OpenID_AX_FetchRequest extends Auth_OpenID_AX_Message {
class Auth_OpenID_AX_KeyValueMessage extends Auth_OpenID_AX_Message {
/** @var array */
- protected $data = array();
+ protected $data = [];
/**
* Add a single value for the given attribute type to the
@@ -574,7 +574,7 @@ class Auth_OpenID_AX_KeyValueMessage extends Auth_OpenID_AX_Message {
function addValue($type_uri, $value)
{
if (!array_key_exists($type_uri, $this->data)) {
- $this->data[$type_uri] = array();
+ $this->data[$type_uri] = [];
}
$values =& $this->data[$type_uri];
@@ -609,7 +609,7 @@ class Auth_OpenID_AX_KeyValueMessage extends Auth_OpenID_AX_Message {
$aliases = new Auth_OpenID_NamespaceMap();
}
- $ax_args = array();
+ $ax_args = [];
foreach ($this->data as $type_uri => $values) {
$alias = $aliases->add($type_uri);
@@ -683,7 +683,7 @@ class Auth_OpenID_AX_KeyValueMessage extends Auth_OpenID_AX_Message {
);
}
- $values = array();
+ $values = [];
for ($i = 1; $i < $count + 1; $i++) {
$value_key = sprintf('value.%s.%d', $alias, $i);
@@ -710,9 +710,9 @@ class Auth_OpenID_AX_KeyValueMessage extends Auth_OpenID_AX_Message {
$value = $ax_args['value.' . $alias];
if ($value == '') {
- $values = array();
+ $values = [];
} else {
- $values = array($value);
+ $values = [$value];
}
}
@@ -828,7 +828,7 @@ class Auth_OpenID_AX_FetchResponse extends Auth_OpenID_AX_KeyValueMessage {
{
$aliases = new Auth_OpenID_NamespaceMap();
- $zero_value_types = array();
+ $zero_value_types = [];
if ($request !== null) {
// Validate the data in the context of the request (the
@@ -865,7 +865,7 @@ class Auth_OpenID_AX_FetchResponse extends Auth_OpenID_AX_KeyValueMessage {
if (array_key_exists($attr_info->type_uri, $this->data)) {
$values = $this->data[$attr_info->type_uri];
} else {
- $values = array();
+ $values = [];
$zero_value_types[] = $attr_info;
}
diff --git a/plugins/openid/lib/Auth/OpenID/Association.php b/plugins/openid/lib/Auth/OpenID/Association.php
index 23ced3a4..ef166b78 100644
--- a/plugins/openid/lib/Auth/OpenID/Association.php
+++ b/plugins/openid/lib/Auth/OpenID/Association.php
@@ -55,19 +55,19 @@ class Auth_OpenID_Association {
*
* @access private
*/
- public $assoc_keys = array(
- 'version',
- 'handle',
- 'secret',
- 'issued',
- 'lifetime',
- 'assoc_type'
- );
-
- public $_macs = array(
- 'HMAC-SHA1' => 'Auth_OpenID_HMACSHA1',
- 'HMAC-SHA256' => 'Auth_OpenID_HMACSHA256'
- );
+ public $assoc_keys = [
+ 'version',
+ 'handle',
+ 'secret',
+ 'issued',
+ 'lifetime',
+ 'assoc_type',
+ ];
+
+ public $_macs = [
+ 'HMAC-SHA1' => 'Auth_OpenID_HMACSHA1',
+ 'HMAC-SHA256' => 'Auth_OpenID_HMACSHA256',
+ ];
/**
* This is an alternate constructor (factory method) used by the
@@ -186,14 +186,14 @@ class Auth_OpenID_Association {
*/
function serialize()
{
- $data = array(
- 'version' => '2',
- 'handle' => $this->handle,
- 'secret' => base64_encode($this->secret),
- 'issued' => strval(intval($this->issued)),
- 'lifetime' => strval(intval($this->lifetime)),
- 'assoc_type' => $this->assoc_type
- );
+ $data = [
+ 'version' => '2',
+ 'handle' => $this->handle,
+ 'secret' => base64_encode($this->secret),
+ 'issued' => strval(intval($this->issued)),
+ 'lifetime' => strval(intval($this->lifetime)),
+ 'assoc_type' => $this->assoc_type,
+ ];
assert(array_keys($data) == $this->assoc_keys);
@@ -211,8 +211,8 @@ class Auth_OpenID_Association {
static function deserialize($class_name, $assoc_s)
{
$pairs = Auth_OpenID_KVForm::toArray($assoc_s, $strict = true);
- $keys = array();
- $values = array();
+ $keys = [];
+ $values = [];
foreach ($pairs as $key => $value) {
if (is_array($value)) {
list($key, $value) = $value;
@@ -269,7 +269,7 @@ class Auth_OpenID_Association {
/* Invalid association types should be caught at constructor */
$callback = $this->_macs[$this->assoc_type];
- return call_user_func_array($callback, array($this->secret, $kv));
+ return call_user_func_array($callback, [$this->secret, $kv]);
}
/**
@@ -304,7 +304,7 @@ class Auth_OpenID_Association {
$this->handle);
$message_keys = array_keys($signed_message->toPostArgs());
- $signed_list = array();
+ $signed_list = [];
$signed_prefix = 'openid.';
foreach ($message_keys as $k) {
@@ -341,12 +341,14 @@ class Auth_OpenID_Association {
}
$signed_list = explode(',', $signed);
- $pairs = array();
+ $pairs = [];
$data = $message->toPostArgs();
foreach ($signed_list as $field) {
- $pairs[] = array($field, Auth_OpenID::arrayGet($data,
+ $pairs[] = [
+ $field, Auth_OpenID::arrayGet($data,
'openid.' .
- $field, ''));
+ $field, '')
+ ];
}
return $pairs;
}
@@ -400,12 +402,12 @@ function Auth_OpenID_getSecretSize($assoc_type)
function Auth_OpenID_getAllAssociationTypes()
{
- return array('HMAC-SHA1', 'HMAC-SHA256');
+ return ['HMAC-SHA1', 'HMAC-SHA256'];
}
function Auth_OpenID_getSupportedAssociationTypes()
{
- $a = array('HMAC-SHA1');
+ $a = ['HMAC-SHA1'];
if (Auth_OpenID_HMACSHA256_SUPPORTED) {
$a[] = 'HMAC-SHA256';
@@ -420,15 +422,16 @@ function Auth_OpenID_getSupportedAssociationTypes()
*/
function Auth_OpenID_getSessionTypes($assoc_type)
{
- $assoc_to_session = array(
- 'HMAC-SHA1' => array('DH-SHA1', 'no-encryption'));
+ $assoc_to_session = [
+ 'HMAC-SHA1' => ['DH-SHA1', 'no-encryption']
+ ];
if (Auth_OpenID_HMACSHA256_SUPPORTED) {
$assoc_to_session['HMAC-SHA256'] =
- array('DH-SHA256', 'no-encryption');
+ ['DH-SHA256', 'no-encryption'];
}
- return Auth_OpenID::arrayGet($assoc_to_session, $assoc_type, array());
+ return Auth_OpenID::arrayGet($assoc_to_session, $assoc_type, []);
}
function Auth_OpenID_checkSessionType($assoc_type, $session_type)
@@ -443,20 +446,20 @@ function Auth_OpenID_checkSessionType($assoc_type, $session_type)
function Auth_OpenID_getDefaultAssociationOrder()
{
- $order = array();
+ $order = [];
if (!Auth_OpenID_noMathSupport()) {
- $order[] = array('HMAC-SHA1', 'DH-SHA1');
+ $order[] = ['HMAC-SHA1', 'DH-SHA1'];
if (Auth_OpenID_HMACSHA256_SUPPORTED) {
- $order[] = array('HMAC-SHA256', 'DH-SHA256');
+ $order[] = ['HMAC-SHA256', 'DH-SHA256'];
}
}
- $order[] = array('HMAC-SHA1', 'no-encryption');
+ $order[] = ['HMAC-SHA1', 'no-encryption'];
if (Auth_OpenID_HMACSHA256_SUPPORTED) {
- $order[] = array('HMAC-SHA256', 'no-encryption');
+ $order[] = ['HMAC-SHA256', 'no-encryption'];
}
return $order;
@@ -464,7 +467,7 @@ function Auth_OpenID_getDefaultAssociationOrder()
function Auth_OpenID_getOnlyEncryptedOrder()
{
- $result = array();
+ $result = [];
foreach (Auth_OpenID_getDefaultAssociationOrder() as $pair) {
list($assoc, $session) = $pair;
@@ -538,7 +541,7 @@ function Auth_OpenID_getEncryptedNegotiator()
class Auth_OpenID_SessionNegotiator {
function __construct($allowed_types)
{
- $this->allowed_types = array();
+ $this->allowed_types = [];
$this->setAllowedTypes($allowed_types);
}
@@ -576,7 +579,7 @@ class Auth_OpenID_SessionNegotiator {
function addAllowedType($assoc_type, $session_type = null)
{
if ($this->allowed_types === null) {
- $this->allowed_types = array();
+ $this->allowed_types = [];
}
if ($session_type === null) {
@@ -591,7 +594,7 @@ class Auth_OpenID_SessionNegotiator {
}
} else {
if (Auth_OpenID_checkSessionType($assoc_type, $session_type)) {
- $this->allowed_types[] = array($assoc_type, $session_type);
+ $this->allowed_types[] = [$assoc_type, $session_type];
} else {
return false;
}
@@ -603,7 +606,7 @@ class Auth_OpenID_SessionNegotiator {
// Is this combination of association type and session type allowed?
function isAllowed($assoc_type, $session_type)
{
- $assoc_good = in_array(array($assoc_type, $session_type),
+ $assoc_good = in_array([$assoc_type, $session_type],
$this->allowed_types);
$matches = in_array($session_type,
@@ -619,7 +622,7 @@ class Auth_OpenID_SessionNegotiator {
function getAllowedType()
{
if (!$this->allowed_types) {
- return array(null, null);
+ return [null, null];
}
return $this->allowed_types[0];
diff --git a/plugins/openid/lib/Auth/OpenID/BigMath.php b/plugins/openid/lib/Auth/OpenID/BigMath.php
index 6a33322a..512b1a43 100644
--- a/plugins/openid/lib/Auth/OpenID/BigMath.php
+++ b/plugins/openid/lib/Auth/OpenID/BigMath.php
@@ -55,7 +55,7 @@ abstract class Auth_OpenID_MathLibrary {
return "\x00";
}
- $bytes = array();
+ $bytes = [];
while ($this->cmp($long, 0) > 0) {
array_unshift($bytes, $this->mod($long, 256));
@@ -137,7 +137,7 @@ abstract class Auth_OpenID_MathLibrary {
*/
function rand($stop)
{
- static $duplicate_cache = array();
+ static $duplicate_cache = [];
// Used as the key for the duplicate cache
$rbytes = $this->longToBinary($stop);
@@ -158,10 +158,10 @@ abstract class Auth_OpenID_MathLibrary {
$duplicate = $this->mod($mxrand, $stop);
if (count($duplicate_cache) > 10) {
- $duplicate_cache = array();
+ $duplicate_cache = [];
}
- $duplicate_cache[$rbytes] = array($duplicate, $nbytes);
+ $duplicate_cache[$rbytes] = [$duplicate, $nbytes];
}
do {
@@ -391,18 +391,21 @@ class Auth_OpenID_GmpMathWrapper extends Auth_OpenID_MathLibrary{
*/
function Auth_OpenID_math_extensions()
{
- $result = array();
+ $result = [];
if (!defined('Auth_OpenID_BUGGY_GMP')) {
- $result[] =
- array('modules' => array('gmp', 'php_gmp'),
- 'extension' => 'gmp',
- 'class' => 'Auth_OpenID_GmpMathWrapper');
+ $result[] = [
+ 'modules' => ['gmp', 'php_gmp'],
+ 'extension' => 'gmp',
+ 'class' => 'Auth_OpenID_GmpMathWrapper',
+ ];
}
- $result[] = array('modules' => array('bcmath', 'php_bcmath'),
- 'extension' => 'bcmath',
- 'class' => 'Auth_OpenID_BcMathWrapper');
+ $result[] = [
+ 'modules' => ['bcmath', 'php_bcmath'],
+ 'extension' => 'bcmath',
+ 'class' => 'Auth_OpenID_BcMathWrapper',
+ ];
return $result;
}
@@ -466,7 +469,7 @@ function Auth_OpenID_getMathLib()
// works.
$ext = Auth_OpenID_detectMathLibrary(Auth_OpenID_math_extensions());
if ($ext === false) {
- $tried = array();
+ $tried = [];
foreach (Auth_OpenID_math_extensions() as $extinfo) {
$tried[] = $extinfo['extension'];
}
diff --git a/plugins/openid/lib/Auth/OpenID/Consumer.php b/plugins/openid/lib/Auth/OpenID/Consumer.php
index fb1257ef..f4b4df34 100644
--- a/plugins/openid/lib/Auth/OpenID/Consumer.php
+++ b/plugins/openid/lib/Auth/OpenID/Consumer.php
@@ -214,14 +214,20 @@ define('Auth_OpenID_PARSE_ERROR', 'parse error');
*/
class Auth_OpenID_Consumer {
+ /** @var Auth_OpenID_GenericConsumer */
+ public $consumer;
+
+ /** @var Auth_Yadis_PHPSession */
+ public $session;
+
private $discoverMethod = 'Auth_OpenID_discover';
private $session_key_prefix = "_openid_consumer_";
private $_token_suffix = "last_token";
- /** @var Auth_OpenID_GenericConsumer */
- public $consumer;
+ /** @var string */
+ private $_token_key;
/**
* Initialize a Consumer instance.
@@ -426,8 +432,7 @@ class Auth_OpenID_Consumer {
$current_url);
$this->session->del($this->_token_key);
- if (in_array($response->status, array(Auth_OpenID_SUCCESS,
- Auth_OpenID_CANCEL))) {
+ if (in_array($response->status, [Auth_OpenID_SUCCESS, Auth_OpenID_CANCEL])) {
if ($response->identity_url !== null) {
$disco = $this->getDiscoveryObject($this->session,
$response->identity_url,
@@ -449,7 +454,10 @@ class Auth_OpenID_DiffieHellmanSHA1ConsumerSession {
public $session_type = 'DH-SHA1';
public $hash_func = 'Auth_OpenID_SHA1';
public $secret_size = 20;
- public $allowed_assoc_types = array('HMAC-SHA1');
+ public $allowed_assoc_types = ['HMAC-SHA1'];
+
+ /** @var Auth_OpenID_DiffieHellman */
+ protected $dh;
function __construct($dh = null)
{
@@ -466,14 +474,15 @@ class Auth_OpenID_DiffieHellmanSHA1ConsumerSession {
$cpub = $math->longToBase64($this->dh->public);
- $args = array('dh_consumer_public' => $cpub);
+ $args = ['dh_consumer_public' => $cpub];
if (!$this->dh->usingDefaultValues()) {
- $args = array_merge($args, array(
+ $args = array_merge($args, [
'dh_modulus' =>
$math->longToBase64($this->dh->mod),
'dh_gen' =>
- $math->longToBase64($this->dh->gen)));
+ $math->longToBase64($this->dh->gen)
+ ]);
}
return $args;
@@ -516,7 +525,7 @@ class Auth_OpenID_DiffieHellmanSHA256ConsumerSession extends
public $session_type = 'DH-SHA256';
public $hash_func = 'Auth_OpenID_SHA256';
public $secret_size = 32;
- public $allowed_assoc_types = array('HMAC-SHA256');
+ public $allowed_assoc_types = ['HMAC-SHA256'];
}
/**
@@ -526,11 +535,11 @@ class Auth_OpenID_DiffieHellmanSHA256ConsumerSession extends
*/
class Auth_OpenID_PlainTextConsumerSession {
public $session_type = 'no-encryption';
- public $allowed_assoc_types = array('HMAC-SHA1', 'HMAC-SHA256');
+ public $allowed_assoc_types = ['HMAC-SHA1', 'HMAC-SHA256'];
function getRequest()
{
- return array();
+ return [];
}
/**
@@ -553,10 +562,11 @@ class Auth_OpenID_PlainTextConsumerSession {
*/
function Auth_OpenID_getAvailableSessionTypes()
{
- $types = array(
+ $types = [
'no-encryption' => 'Auth_OpenID_PlainTextConsumerSession',
'DH-SHA1' => 'Auth_OpenID_DiffieHellmanSHA1ConsumerSession',
- 'DH-SHA256' => 'Auth_OpenID_DiffieHellmanSHA256ConsumerSession');
+ 'DH-SHA256' => 'Auth_OpenID_DiffieHellmanSHA256ConsumerSession'
+ ];
return $types;
}
@@ -596,6 +606,15 @@ class Auth_OpenID_GenericConsumer {
*/
public $openid1_return_to_identifier_name = 'openid1_claimed_id';
+ /** @var Auth_Yadis_ParanoidHTTPFetcher|Auth_Yadis_PlainHTTPFetcher */
+ public $fetcher;
+
+ /** @var array */
+ public $session_types;
+
+ /** @var Auth_OpenID_SessionNegotiator */
+ public $negotiator;
+
/**
* This method initializes a new {@link Auth_OpenID_Consumer}
* instance to access the library.
@@ -662,18 +681,18 @@ class Auth_OpenID_GenericConsumer {
$mode = $message->getArg(Auth_OpenID_OPENID_NS, 'mode',
'<no mode set>');
- $mode_methods = array(
+ $mode_methods = [
'cancel' => '_complete_cancel',
'error' => '_complete_error',
'setup_needed' => '_complete_setup_needed',
'id_res' => '_complete_id_res',
- );
+ ];
$method = Auth_OpenID::arrayGet($mode_methods, $mode,
'_completeInvalid');
- return call_user_func_array(array($this, $method),
- array($message, $endpoint, $return_to));
+ return call_user_func_array([$this, $method],
+ [$message, $endpoint, $return_to]);
}
/**
@@ -883,7 +902,7 @@ class Auth_OpenID_GenericConsumer {
// The URL scheme, authority, and path MUST be the same
// between the two URLs.
- foreach (array('scheme', 'host', 'port', 'path') as $component) {
+ foreach (['scheme', 'host', 'port', 'path'] as $component) {
// If the url component is absent in either URL, fail.
// There should always be a scheme, host, port, and path.
if (!array_key_exists($component, $return_to_parts)) {
@@ -927,7 +946,7 @@ class Auth_OpenID_GenericConsumer {
$parsed_url = parse_url($return_to);
- $q = array();
+ $q = [];
if (array_key_exists('query', $parsed_url)) {
$rt_query = $parsed_url['query'];
$q = Auth_OpenID::parse_str($rt_query);
@@ -1049,7 +1068,7 @@ class Auth_OpenID_GenericConsumer {
}
$to_match = new Auth_OpenID_ServiceEndpoint();
- $to_match->type_uris = array(Auth_OpenID_TYPE_1_1);
+ $to_match->type_uris = [Auth_OpenID_TYPE_1_1];
$to_match->local_id = $message->getArg(Auth_OpenID_OPENID1_NS,
'identity');
@@ -1062,7 +1081,7 @@ class Auth_OpenID_GenericConsumer {
}
$to_match_1_0 = $to_match->copy();
- $to_match_1_0->type_uris = array(Auth_OpenID_TYPE_1_0);
+ $to_match_1_0->type_uris = [Auth_OpenID_TYPE_1_0];
if ($endpoint !== null) {
$result = $this->_verifyDiscoverySingle($endpoint, $to_match);
@@ -1084,7 +1103,7 @@ class Auth_OpenID_GenericConsumer {
// Endpoint is either bad (failed verification) or None
return $this->_discoverAndVerify($to_match->claimed_id,
- array($to_match, $to_match_1_0));
+ [$to_match, $to_match_1_0]);
}
/**
@@ -1150,7 +1169,7 @@ class Auth_OpenID_GenericConsumer {
function _verifyDiscoveryResultsOpenID2($message, $endpoint)
{
$to_match = new Auth_OpenID_ServiceEndpoint();
- $to_match->type_uris = array(Auth_OpenID_TYPE_2_0);
+ $to_match->type_uris = [Auth_OpenID_TYPE_2_0];
$to_match->claimed_id = $message->getArg(Auth_OpenID_OPENID2_NS,
'claimed_id');
@@ -1194,7 +1213,7 @@ class Auth_OpenID_GenericConsumer {
// the original request.
// oidutil.log('No pre-discovered information supplied.')
return $this->_discoverAndVerify($to_match->claimed_id,
- array($to_match));
+ [$to_match]);
} else {
// The claimed ID matches, so we use the endpoint that we
@@ -1204,7 +1223,7 @@ class Auth_OpenID_GenericConsumer {
if (Auth_OpenID::isFailure($result)) {
$endpoint = $this->_discoverAndVerify($to_match->claimed_id,
- array($to_match));
+ [$to_match]);
if (Auth_OpenID::isFailure($endpoint)) {
return $endpoint;
}
@@ -1230,10 +1249,10 @@ class Auth_OpenID_GenericConsumer {
{
// oidutil.log('Performing discovery on %s' % (claimed_id,))
list(, $services) = call_user_func_array($this->discoverMethod,
- array(
+ [
$claimed_id,
$this->fetcher,
- ));
+ ]);
if (!$services) {
return new Auth_OpenID_FailureResponse(null,
@@ -1342,26 +1361,28 @@ class Auth_OpenID_GenericConsumer {
*/
function _idResCheckForFields($message)
{
- $basic_fields = array('return_to', 'assoc_handle', 'sig', 'signed');
- $basic_sig_fields = array('return_to', 'identity');
+ $basic_fields = ['return_to', 'assoc_handle', 'sig', 'signed'];
+ $basic_sig_fields = ['return_to', 'identity'];
- $require_fields = array(
+ $require_fields = [
Auth_OpenID_OPENID2_NS => array_merge($basic_fields,
- array('op_endpoint')),
+ ['op_endpoint']),
Auth_OpenID_OPENID1_NS => array_merge($basic_fields,
- array('identity'))
- );
+ ['identity'])
+ ];
- $require_sigs = array(
+ $require_sigs = [
Auth_OpenID_OPENID2_NS => array_merge($basic_sig_fields,
- array('response_nonce',
+ [
+ 'response_nonce',
'claimed_id',
'assoc_handle',
- 'op_endpoint')),
+ 'op_endpoint'
+ ]),
Auth_OpenID_OPENID1_NS => array_merge($basic_sig_fields,
- array('nonce'))
- );
+ ['nonce'])
+ ];
foreach ($require_fields[$message->getOpenIDNamespace()] as $field) {
if (!$message->hasKey(Auth_OpenID_OPENID_NS, $field)) {
@@ -1562,7 +1583,7 @@ class Auth_OpenID_GenericConsumer {
$session_type)) {
return null;
} else {
- return array($assoc_type, $session_type);
+ return [$assoc_type, $session_type];
}
}
@@ -1756,9 +1777,10 @@ class Auth_OpenID_GenericConsumer {
return null;
}
- $args = array(
+ $args = [
'mode' => 'associate',
- 'assoc_type' => $assoc_type);
+ 'assoc_type' => $assoc_type
+ ];
if (!$endpoint->compatibilityMode()) {
$args['ns'] = Auth_OpenID_OPENID2_NS;
@@ -1773,7 +1795,7 @@ class Auth_OpenID_GenericConsumer {
$args = array_merge($args, $assoc_session->getRequest());
$message = Auth_OpenID_Message::fromOpenIDArgs($args);
- return array($assoc_session, $message);
+ return [$assoc_session, $message];
}
/**
@@ -1825,6 +1847,21 @@ class Auth_OpenID_GenericConsumer {
*/
class Auth_OpenID_AuthRequest {
+ /** @var Auth_OpenID_Association */
+ public $assoc;
+
+ /** @var Auth_OpenID_ServiceEndpoint */
+ public $endpoint;
+
+ /** @var array */
+ public $return_to_args;
+
+ /** @var Auth_OpenID_Message */
+ public $message;
+
+ /** @var bool */
+ public $_anonymous;
+
/**
* Initialize an authentication request with the specified token,
* association, and endpoint.
@@ -1840,7 +1877,7 @@ class Auth_OpenID_AuthRequest {
{
$this->assoc = $assoc;
$this->endpoint = $endpoint;
- $this->return_to_args = array();
+ $this->return_to_args = [];
$this->message = new Auth_OpenID_Message($endpoint->preferredNamespace());
$this->_anonymous = false;
}
@@ -1964,10 +2001,11 @@ class Auth_OpenID_AuthRequest {
}
$message->updateArgs(Auth_OpenID_OPENID_NS,
- array(
+ [
$realm_key => $realm,
'mode' => $mode,
- 'return_to' => $return_to));
+ 'return_to' => $return_to
+ ]);
if (!$this->_anonymous) {
if ($this->endpoint->isOPIdentifier()) {
@@ -2139,7 +2177,7 @@ class Auth_OpenID_SuccessResponse extends Auth_OpenID_ConsumerResponse {
public $status = Auth_OpenID_SUCCESS;
/** @var array */
- public $signed_args = array();
+ public $signed_args = [];
/** @var Auth_OpenID_Message */
public $message;
@@ -2285,10 +2323,10 @@ class Auth_OpenID_TypeURIMismatch extends Auth_OpenID_FailureResponse {
class Auth_OpenID_ServerErrorContainer {
/** @var Auth_OpenID_Message */
- private $message;
+ public $message;
/** @var string */
- private $error_code;
+ public $error_code;
/** @var string */
private $error_text;
diff --git a/plugins/openid/lib/Auth/OpenID/DatabaseConnection.php b/plugins/openid/lib/Auth/OpenID/DatabaseConnection.php
index b74f0afe..903bba31 100644
--- a/plugins/openid/lib/Auth/OpenID/DatabaseConnection.php
+++ b/plugins/openid/lib/Auth/OpenID/DatabaseConnection.php
@@ -48,7 +48,7 @@ class Auth_OpenID_DatabaseConnection {
* underlying database engine. This method is usually used when
* the result of a query is not important, like a DDL query.
*/
- function query($sql, $params = array())
+ function query($sql, $params = [])
{
return null;
}
@@ -89,7 +89,7 @@ class Auth_OpenID_DatabaseConnection {
* first row of the result set. False if no such result was
* found.
*/
- function getOne($sql, $params = array())
+ function getOne($sql, $params = [])
{
return false;
}
@@ -108,7 +108,7 @@ class Auth_OpenID_DatabaseConnection {
* @return array|bool $result The first row of the result set, if any,
* keyed on column name. False if no such result was found.
*/
- function getRow($sql, $params = array())
+ function getRow($sql, $params = [])
{
return false;
}
@@ -126,9 +126,9 @@ class Auth_OpenID_DatabaseConnection {
* @return array $result An array of arrays representing the
* result of the query; each array is keyed on column name.
*/
- function getAll($sql, $params = array())
+ function getAll($sql, $params = [])
{
- return array();
+ return [];
}
}
diff --git a/plugins/openid/lib/Auth/OpenID/Discover.php b/plugins/openid/lib/Auth/OpenID/Discover.php
index 95c32f45..177d4880 100644
--- a/plugins/openid/lib/Auth/OpenID/Discover.php
+++ b/plugins/openid/lib/Auth/OpenID/Discover.php
@@ -24,16 +24,18 @@ define('Auth_OpenID_RP_RETURN_TO_URL_TYPE',
function Auth_OpenID_getOpenIDTypeURIs()
{
- return array(Auth_OpenID_TYPE_2_0_IDP,
- Auth_OpenID_TYPE_2_0,
- Auth_OpenID_TYPE_1_2,
- Auth_OpenID_TYPE_1_1,
- Auth_OpenID_TYPE_1_0);
+ return [
+ Auth_OpenID_TYPE_2_0_IDP,
+ Auth_OpenID_TYPE_2_0,
+ Auth_OpenID_TYPE_1_2,
+ Auth_OpenID_TYPE_1_1,
+ Auth_OpenID_TYPE_1_0,
+ ];
}
function Auth_OpenID_getOpenIDConsumerTypeURIs()
{
- return array(Auth_OpenID_RP_RETURN_TO_URL_TYPE);
+ return [Auth_OpenID_RP_RETURN_TO_URL_TYPE];
}
@@ -67,7 +69,7 @@ class Auth_OpenID_ServiceEndpoint {
{
$this->claimed_id = null;
$this->server_url = null;
- $this->type_uris = array();
+ $this->type_uris = [];
$this->local_id = null;
$this->canonicalID = null;
$this->used_yadis = false; // whether this came from an XRDS
@@ -123,7 +125,7 @@ class Auth_OpenID_ServiceEndpoint {
*/
function matchTypes($type_uris)
{
- $result = array();
+ $result = [];
foreach ($type_uris as $test_uri) {
if ($this->supportsType($test_uri)) {
$result[] = $test_uri;
@@ -157,7 +159,7 @@ class Auth_OpenID_ServiceEndpoint {
// a given OP Endpoint URL
$obj = new Auth_OpenID_ServiceEndpoint();
$obj->server_url = $op_endpoint_url;
- $obj->type_uris = array(Auth_OpenID_TYPE_2_0_IDP);
+ $obj->type_uris = [Auth_OpenID_TYPE_2_0_IDP];
return $obj;
}
@@ -210,7 +212,7 @@ class Auth_OpenID_ServiceEndpoint {
if ($xrds) {
$yadis_services =
- $xrds->services(array('filter_MatchesAnyOpenIDConsumerType'));
+ $xrds->services(['filter_MatchesAnyOpenIDConsumerType']);
return Auth_OpenID_makeOpenIDEndpoints($uri, $yadis_services);
}
@@ -229,7 +231,7 @@ class Auth_OpenID_ServiceEndpoint {
if ($xrds) {
$yadis_services =
- $xrds->services(array('filter_MatchesAnyOpenIDType'));
+ $xrds->services(['filter_MatchesAnyOpenIDType']);
return Auth_OpenID_makeOpenIDEndpoints($uri, $yadis_services);
}
@@ -258,14 +260,20 @@ class Auth_OpenID_ServiceEndpoint {
static function fromHTML($uri, $html)
{
- $discovery_types = array(
- array(Auth_OpenID_TYPE_2_0,
- 'openid2.provider', 'openid2.local_id'),
- array(Auth_OpenID_TYPE_1_1,
- 'openid.server', 'openid.delegate')
- );
-
- $services = array();
+ $discovery_types = [
+ [
+ Auth_OpenID_TYPE_2_0,
+ 'openid2.provider',
+ 'openid2.local_id',
+ ],
+ [
+ Auth_OpenID_TYPE_1_1,
+ 'openid.server',
+ 'openid.delegate',
+ ],
+ ];
+
+ $services = [];
foreach ($discovery_types as $triple) {
list($type_uri, $server_rel, $delegate_rel) = $triple;
@@ -283,7 +291,7 @@ class Auth_OpenID_ServiceEndpoint {
$service->claimed_id = $uri;
$service->local_id = $delegate_url;
$service->server_url = $server_url;
- $service->type_uris = array($type_uri);
+ $service->type_uris = [$type_uri];
$services[] = $service;
}
@@ -326,7 +334,7 @@ function Auth_OpenID_findOPLocalIdentifier($service, $type_uris)
$parser = $service->parser;
- $permitted_tags = array();
+ $permitted_tags = [];
if (in_array(Auth_OpenID_TYPE_1_1, $type_uris) ||
in_array(Auth_OpenID_TYPE_1_0, $type_uris)) {
@@ -416,11 +424,13 @@ function Auth_OpenID_arrangeByType($service_list, $preferred_types)
// Build a list with the service elements in tuples whose
// comparison will prefer the one with the best matching service
- $prio_services = array();
+ $prio_services = [];
foreach ($service_list as $index => $service) {
- $prio_services[] = array(Auth_OpenID_bestMatchingService($service,
- $preferred_types),
- $index, $service);
+ $prio_services[] = [
+ Auth_OpenID_bestMatchingService($service, $preferred_types),
+ $index,
+ $service,
+ ];
}
sort($prio_services);
@@ -443,11 +453,9 @@ function Auth_OpenID_arrangeByType($service_list, $preferred_types)
// Returns a list of OpenIDServiceEndpoint objects."""
function Auth_OpenID_getOPOrUserServices($openid_services)
{
- $op_services = Auth_OpenID_arrangeByType($openid_services,
- array(Auth_OpenID_TYPE_2_0_IDP));
+ $op_services = Auth_OpenID_arrangeByType($openid_services, [Auth_OpenID_TYPE_2_0_IDP]);
- $openid_services = Auth_OpenID_arrangeByType($openid_services,
- Auth_OpenID_getOpenIDTypeURIs());
+ $openid_services = Auth_OpenID_arrangeByType($openid_services, Auth_OpenID_getOpenIDTypeURIs());
if ($op_services) {
return $op_services;
@@ -463,7 +471,7 @@ function Auth_OpenID_getOPOrUserServices($openid_services)
*/
function Auth_OpenID_makeOpenIDEndpoints($uri, $yadis_services)
{
- $s = array();
+ $s = [];
if (!$yadis_services) {
return $s;
@@ -504,16 +512,15 @@ function Auth_OpenID_discoverWithYadis($uri, $fetcher,
// OpenID 1.0 discovery on the same URL will help, so don't bother
// to catch it.
if ($discover_function === null) {
- $discover_function = array('Auth_Yadis_Yadis', 'discover');
+ $discover_function = ['Auth_Yadis_Yadis', 'discover'];
}
- $response = call_user_func_array($discover_function,
- array($uri, $fetcher));
+ $response = call_user_func_array($discover_function, [$uri, $fetcher]);
$yadis_url = $response->normalized_uri;
if ($response->isFailure() && !$response->isXRDS()) {
- return array($uri, array());
+ return [$uri, []];
}
$openid_services = Auth_OpenID_ServiceEndpoint::fromXRDS(
@@ -534,9 +541,9 @@ function Auth_OpenID_discoverWithYadis($uri, $fetcher,
}
$openid_services = call_user_func_array($endpoint_filter,
- array($openid_services));
+ [$openid_services]);
- return array($yadis_url, $openid_services);
+ return [$yadis_url, $openid_services];
}
function Auth_OpenID_discoverURI($uri, $fetcher)
@@ -555,7 +562,7 @@ function Auth_OpenID_discoverWithoutYadis($uri, $fetcher)
$http_resp = @$fetcher->get($uri);
if ($http_resp->status != 200 and $http_resp->status != 206) {
- return array($uri, array());
+ return [$uri, []];
}
$identity_url = $http_resp->final_url;
@@ -566,7 +573,7 @@ function Auth_OpenID_discoverWithoutYadis($uri, $fetcher)
$identity_url,
$http_resp->body);
- return array($identity_url, $openid_services);
+ return [$identity_url, $openid_services];
}
function Auth_OpenID_discoverXRI($iname, $fetcher)
@@ -575,7 +582,7 @@ function Auth_OpenID_discoverXRI($iname, $fetcher)
list($canonicalID, $yadis_services) =
$resolver->query($iname,
Auth_OpenID_getOpenIDTypeURIs(),
- array('filter_MatchesAnyOpenIDType'));
+ ['filter_MatchesAnyOpenIDType']);
$openid_services = Auth_OpenID_makeOpenIDEndpoints($iname,
$yadis_services);
@@ -589,7 +596,7 @@ function Auth_OpenID_discoverXRI($iname, $fetcher)
}
// FIXME: returned xri should probably be in some normal form
- return array($iname, $openid_services);
+ return [$iname, $openid_services];
}
/**
@@ -602,7 +609,7 @@ function Auth_OpenID_discover($uri, $fetcher)
// If the fetcher (i.e., PHP) doesn't support SSL, we can't do
// discovery on an HTTPS URL.
if ($fetcher->isHTTPS($uri) && !$fetcher->supportsSSL()) {
- return array($uri, array());
+ return [$uri, []];
}
if (Auth_Yadis_identifierScheme($uri) == 'XRI') {
@@ -614,7 +621,7 @@ function Auth_OpenID_discover($uri, $fetcher)
// If the fetcher doesn't support SSL, we can't interact with
// HTTPS server URLs; remove those endpoints from the list.
if (!$fetcher->supportsSSL()) {
- $http_endpoints = array();
+ $http_endpoints = [];
list($new_uri, $endpoints) = $result;
foreach ($endpoints as $e) {
@@ -623,7 +630,7 @@ function Auth_OpenID_discover($uri, $fetcher)
}
}
- $result = array($new_uri, $http_endpoints);
+ $result = [$new_uri, $http_endpoints];
}
return $result;
diff --git a/plugins/openid/lib/Auth/OpenID/FileStore.php b/plugins/openid/lib/Auth/OpenID/FileStore.php
index afeaf2b2..f8378b87 100644
--- a/plugins/openid/lib/Auth/OpenID/FileStore.php
+++ b/plugins/openid/lib/Auth/OpenID/FileStore.php
@@ -117,11 +117,11 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore {
$name = Auth_OpenID_FileStore::_mkstemp($dir = $this->temp_dir);
$file_obj = @fopen($name, 'wb');
if ($file_obj !== false) {
- return array($file_obj, $name);
+ return [$file_obj, $name];
} else {
Auth_OpenID_FileStore::_removeIfPresent($name);
}
- return array();
+ return [];
}
function cleanupNonces()
@@ -265,7 +265,7 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore {
} else {
$association_files =
Auth_OpenID_FileStore::_listdir($this->association_dir);
- $matching_files = array();
+ $matching_files = [];
// strip off the path to do the comparison
$name = basename($filename);
@@ -276,18 +276,20 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore {
}
}
- $matching_associations = array();
+ $matching_associations = [];
// read the matching files and sort by time issued
foreach ($matching_files as $full_name) {
$association = $this->_getAssociation($full_name);
if ($association !== null) {
- $matching_associations[] = array($association->issued,
- $association);
+ $matching_associations[] = [
+ $association->issued,
+ $association
+ ];
}
}
- $issued = array();
- $assocs = array();
+ $issued = [];
+ $assocs = [];
foreach ($matching_associations as $key => $assoc) {
$issued[$key] = $assoc[0];
$assocs[$key] = $assoc[1];
@@ -436,7 +438,7 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore {
*/
function _allAssocs()
{
- $all_associations = array();
+ $all_associations = [];
$association_filenames =
Auth_OpenID_FileStore::_listdir($this->association_dir);
@@ -459,8 +461,10 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore {
$association_filename);
} else {
if ($association->getExpiresIn() == 0) {
- $all_associations[] = array($association_filename,
- $association);
+ $all_associations[] = [
+ $association_filename,
+ $association,
+ ];
}
}
}
@@ -509,7 +513,7 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore {
if ($handle = opendir($dir)) {
while (false !== ($item = readdir($handle))) {
- if (!in_array($item, array('.', '..'))) {
+ if (!in_array($item, ['.', '..'])) {
if (is_dir($dir . $item)) {
if (!Auth_OpenID_FileStore::_rmtree($dir . $item)) {
@@ -580,9 +584,9 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore {
function _listdir($dir)
{
$handle = opendir($dir);
- $files = array();
+ $files = [];
while (false !== ($filename = readdir($handle))) {
- if (!in_array($filename, array('.', '..'))) {
+ if (!in_array($filename, ['.', '..'])) {
$files[] = $dir . DIRECTORY_SEPARATOR . $filename;
}
}
diff --git a/plugins/openid/lib/Auth/OpenID/Interface.php b/plugins/openid/lib/Auth/OpenID/Interface.php
index a8a335d5..5335d9f2 100644
--- a/plugins/openid/lib/Auth/OpenID/Interface.php
+++ b/plugins/openid/lib/Auth/OpenID/Interface.php
@@ -89,7 +89,7 @@ class Auth_OpenID_OpenIDStore {
*/
function cleanup()
{
- return array($this->cleanupNonces(), $this->cleanupAssociations());
+ return [$this->cleanupNonces(), $this->cleanupAssociations()];
}
/**
diff --git a/plugins/openid/lib/Auth/OpenID/KVForm.php b/plugins/openid/lib/Auth/OpenID/KVForm.php
index f7806533..82ead9cf 100644
--- a/plugins/openid/lib/Auth/OpenID/KVForm.php
+++ b/plugins/openid/lib/Auth/OpenID/KVForm.php
@@ -41,7 +41,7 @@ class Auth_OpenID_KVForm {
}
}
- $values = array();
+ $values = [];
for ($lineno = 0; $lineno < count($lines); $lineno++) {
$line = $lines[$lineno];
@@ -94,7 +94,7 @@ class Auth_OpenID_KVForm {
$serialized = '';
foreach ($values as $key => $value) {
if (is_array($value)) {
- list($key, $value) = array($value[0], $value[1]);
+ list($key, $value) = [$value[0], $value[1]];
}
if (strpos($key, ':') !== false) {
diff --git a/plugins/openid/lib/Auth/OpenID/MDB2Store.php b/plugins/openid/lib/Auth/OpenID/MDB2Store.php
index 9349702e..e6cb4c47 100644
--- a/plugins/openid/lib/Auth/OpenID/MDB2Store.php
+++ b/plugins/openid/lib/Auth/OpenID/MDB2Store.php
@@ -84,7 +84,7 @@ class Auth_OpenID_MDB2Store extends Auth_OpenID_OpenIDStore {
// Be sure to set the fetch mode so the results are keyed on
// column name instead of column index.
$this->connection->setFetchMode(MDB2_FETCHMODE_ASSOC);
-
+
if (@PEAR::isError($this->connection->loadModule('Extended'))) {
trigger_error("Unable to load MDB2_Extended module", E_USER_ERROR);
return;
@@ -144,38 +144,38 @@ class Auth_OpenID_MDB2Store extends Auth_OpenID_OpenIDStore {
$this->connection->loadModule('Manager'))) {
return false;
}
- $fields = array(
- "server_url" => array(
+ $fields = [
+ "server_url" => [
"type" => "text",
"length" => 2047,
"notnull" => true
- ),
- "timestamp" => array(
+ ],
+ "timestamp" => [
"type" => "integer",
"notnull" => true
- ),
- "salt" => array(
+ ],
+ "salt" => [
"type" => "text",
"length" => 40,
"fixed" => true,
"notnull" => true
- )
- );
- $constraint = array(
+ ]
+ ];
+ $constraint = [
"unique" => 1,
- "fields" => array(
+ "fields" => [
"server_url" => true,
"timestamp" => true,
"salt" => true
- )
- );
-
+ ]
+ ];
+
$r = $this->connection->createTable($this->nonces_table_name,
$fields);
if (@PEAR::isError($r)) {
return false;
}
-
+
$r = $this->connection->createConstraint(
$this->nonces_table_name,
$this->nonces_table_name . "_constraint",
@@ -217,43 +217,43 @@ class Auth_OpenID_MDB2Store extends Auth_OpenID_OpenIDStore {
$this->connection->loadModule('Manager'))) {
return false;
}
- $fields = array(
- "server_url" => array(
+ $fields = [
+ "server_url" => [
"type" => "text",
"length" => 2047,
"notnull" => true
- ),
- "handle" => array(
+ ],
+ "handle" => [
"type" => "text",
"length" => 255,
"notnull" => true
- ),
- "secret" => array(
+ ],
+ "secret" => [
"type" => "blob",
"length" => "255",
"notnull" => true
- ),
- "issued" => array(
+ ],
+ "issued" => [
"type" => "integer",
"notnull" => true
- ),
- "lifetime" => array(
+ ],
+ "lifetime" => [
"type" => "integer",
"notnull" => true
- ),
- "assoc_type" => array(
+ ],
+ "assoc_type" => [
"type" => "text",
"length" => 64,
"notnull" => true
- )
- );
- $options = array(
- "primary" => array(
+ ]
+ ];
+ $options = [
+ "primary" => [
"server_url" => true,
"handle" => true
- )
- );
-
+ ]
+ ];
+
$r = $this->connection->createTable(
$this->associations_table_name,
$fields,
@@ -269,30 +269,30 @@ class Auth_OpenID_MDB2Store extends Auth_OpenID_OpenIDStore {
function storeAssociation($server_url, $association)
{
- $fields = array(
- "server_url" => array(
+ $fields = [
+ "server_url" => [
"value" => $server_url,
"key" => true
- ),
- "handle" => array(
+ ],
+ "handle" => [
"value" => $association->handle,
"key" => true
- ),
- "secret" => array(
+ ],
+ "secret" => [
"value" => $association->secret,
"type" => "blob"
- ),
- "issued" => array(
+ ],
+ "issued" => [
"value" => $association->issued
- ),
- "lifetime" => array(
+ ],
+ "lifetime" => [
"value" => $association->lifetime
- ),
- "assoc_type" => array(
+ ],
+ "assoc_type" => [
"value" => $association->assoc_type
- )
- );
-
+ ]
+ ];
+
return !@PEAR::isError($this->connection->replace(
$this->associations_table_name,
$fields));
@@ -319,25 +319,25 @@ class Auth_OpenID_MDB2Store extends Auth_OpenID_OpenIDStore {
{
$sql = "";
$params = null;
- $types = array(
- "text",
- "blob",
- "integer",
- "integer",
- "text"
- );
+ $types = [
+ "text",
+ "blob",
+ "integer",
+ "integer",
+ "text",
+ ];
if ($handle !== null) {
$sql = sprintf("SELECT handle, secret, issued, lifetime, assoc_type " .
"FROM %s WHERE server_url = ? AND handle = ?",
$this->associations_table_name);
- $params = array($server_url, $handle);
+ $params = [$server_url, $handle];
} else {
$sql = sprintf("SELECT handle, secret, issued, lifetime, assoc_type " .
"FROM %s WHERE server_url = ? ORDER BY issued DESC",
$this->associations_table_name);
- $params = array($server_url);
+ $params = [$server_url];
}
-
+
$assoc = $this->connection->getRow($sql, $types, $params);
if (!$assoc || @PEAR::isError($assoc)) {
@@ -359,8 +359,8 @@ class Auth_OpenID_MDB2Store extends Auth_OpenID_OpenIDStore {
$r = $this->connection->execParam(
sprintf("DELETE FROM %s WHERE server_url = ? AND handle = ?",
$this->associations_table_name),
- array($server_url, $handle));
-
+ [$server_url, $handle]);
+
if (@PEAR::isError($r) || $r == 0) {
return false;
}
@@ -374,21 +374,21 @@ class Auth_OpenID_MDB2Store extends Auth_OpenID_OpenIDStore {
if (abs($timestamp - time()) > $Auth_OpenID_SKEW ) {
return false;
}
-
- $fields = array(
- "timestamp" => $timestamp,
- "salt" => $salt
- );
-
+
+ $fields = [
+ "timestamp" => $timestamp,
+ "salt" => $salt,
+ ];
+
if (!empty($server_url)) {
$fields["server_url"] = $server_url;
}
-
+
$r = $this->connection->autoExecute(
$this->nonces_table_name,
$fields,
MDB2_AUTOQUERY_INSERT);
-
+
if (@PEAR::isError($r)) {
return false;
}
diff --git a/plugins/openid/lib/Auth/OpenID/MemcachedStore.php b/plugins/openid/lib/Auth/OpenID/MemcachedStore.php
index 5badd0ab..900549b0 100644
--- a/plugins/openid/lib/Auth/OpenID/MemcachedStore.php
+++ b/plugins/openid/lib/Auth/OpenID/MemcachedStore.php
@@ -74,7 +74,7 @@ class Auth_OpenID_MemcachedStore extends Auth_OpenID_OpenIDStore {
// if no such list, initialize it with empty array
if (!$serverAssociations) {
- $serverAssociations = array();
+ $serverAssociations = [];
}
// and store given association key in it
$serverAssociations[$association->issued] = $associationKey;
diff --git a/plugins/openid/lib/Auth/OpenID/Message.php b/plugins/openid/lib/Auth/OpenID/Message.php
index f2cbb3b6..7614d90d 100644
--- a/plugins/openid/lib/Auth/OpenID/Message.php
+++ b/plugins/openid/lib/Auth/OpenID/Message.php
@@ -56,17 +56,18 @@ define('Auth_OpenID_OPENID1_URL_LIMIT', 2047);
// All OpenID protocol fields. Used to check namespace aliases.
global $Auth_OpenID_OPENID_PROTOCOL_FIELDS;
-$Auth_OpenID_OPENID_PROTOCOL_FIELDS = array(
+$Auth_OpenID_OPENID_PROTOCOL_FIELDS = [
'ns', 'mode', 'error', 'return_to', 'contact', 'reference',
'signed', 'assoc_type', 'session_type', 'dh_modulus', 'dh_gen',
'dh_consumer_public', 'claimed_id', 'identity', 'realm',
'invalidate_handle', 'op_endpoint', 'response_nonce', 'sig',
- 'assoc_handle', 'trust_root', 'openid');
+ 'assoc_handle', 'trust_root', 'openid'
+];
// Global namespace / alias registration map. See
// Auth_OpenID_registerNamespaceAlias.
global $Auth_OpenID_registered_aliases;
-$Auth_OpenID_registered_aliases = array();
+$Auth_OpenID_registered_aliases = [];
/**
* Registers a (namespace URI, alias) mapping in a global namespace
@@ -131,6 +132,10 @@ function Auth_OpenID_removeNamespaceAlias($namespace_uri, $alias)
* @package OpenID
*/
class Auth_OpenID_Mapping {
+
+ private $keys = [];
+ private $values = [];
+
/**
* Initialize a mapping. If $classic_array is specified, its keys
* and values are used to populate the mapping.
@@ -139,9 +144,6 @@ class Auth_OpenID_Mapping {
*/
function __construct($classic_array = null)
{
- $this->keys = array();
- $this->values = array();
-
if (is_array($classic_array)) {
foreach ($classic_array as $key => $value) {
$this->set($key, $value);
@@ -183,11 +185,13 @@ class Auth_OpenID_Mapping {
*/
function items()
{
- $temp = array();
+ $temp = [];
for ($i = 0; $i < count($this->keys); $i++) {
- $temp[] = array($this->keys[$i],
- $this->values[$i]);
+ $temp[] = [
+ $this->keys[$i],
+ $this->values[$i]
+ ];
}
return $temp;
}
@@ -204,7 +208,7 @@ class Auth_OpenID_Mapping {
* Sets a key-value pair in the mapping. If the key already
* exists, its value is replaced with the new value.
*
- * @param string $key
+ * @param string|array $key
* @param mixed $value
*/
function set($key, $value)
@@ -224,7 +228,7 @@ class Auth_OpenID_Mapping {
* specified key. If the key does not exist in the mapping,
* $default is returned instead.
*
- * @param string $key
+ * @param string|array $key
* @param mixed $default
* @return mixed|null
*/
@@ -249,8 +253,8 @@ class Auth_OpenID_Mapping {
$old_keys = $this->keys;
$old_values = $this->values;
- $this->keys = array();
- $this->values = array();
+ $this->keys = [];
+ $this->values = [];
foreach ($old_keys as $k) {
$this->keys[] = $k;
@@ -265,7 +269,7 @@ class Auth_OpenID_Mapping {
* Deletes a key-value pair from the mapping with the specified
* key.
*
- * @param string $key
+ * @param string|array $key
* @return bool
*/
function del($key)
@@ -285,12 +289,12 @@ class Auth_OpenID_Mapping {
* Returns true if the specified value has a key in the mapping;
* false if not.
*
- * @param string $value
+ * @param string|array $key
* @return bool
*/
- function contains($value)
+ function contains($key)
{
- return (array_search($value, $this->keys) !== false);
+ return array_search($key, $this->keys) !== false;
}
}
@@ -300,11 +304,27 @@ class Auth_OpenID_Mapping {
* @package OpenID
*/
class Auth_OpenID_NamespaceMap {
+
+ /**
+ * @var Auth_OpenID_Mapping
+ */
+ private $alias_to_namespace;
+
+ /**
+ * @var Auth_OpenID_Mapping
+ */
+ private $namespace_to_alias;
+
+ /**
+ * @var array
+ */
+ private $implicit_namespaces = [];
+
function __construct()
{
$this->alias_to_namespace = new Auth_OpenID_Mapping();
$this->namespace_to_alias = new Auth_OpenID_Mapping();
- $this->implicit_namespaces = array();
+ $this->implicit_namespaces = [];
}
function getAlias($namespace_uri)
@@ -440,19 +460,32 @@ class Auth_OpenID_NamespaceMap {
*/
class Auth_OpenID_Message {
+ private $allowed_openid_namespaces = [
+ Auth_OpenID_OPENID1_NS,
+ Auth_OpenID_THE_OTHER_OPENID1_NS,
+ Auth_OpenID_OPENID2_NS
+ ];
+
+ /**
+ * @var Auth_OpenID_Mapping
+ */
+ private $args;
+
+ /**
+ * @var Auth_OpenID_NamespaceMap
+ */
+ public $namespaces;
+
+ /**
+ * @var null|string
+ */
+ private $_openid_ns_uri = null;
+
function __construct($openid_namespace = null)
{
- // Create an empty Message
- $this->allowed_openid_namespaces = array(
- Auth_OpenID_OPENID1_NS,
- Auth_OpenID_THE_OTHER_OPENID1_NS,
- Auth_OpenID_OPENID2_NS);
-
$this->args = new Auth_OpenID_Mapping();
$this->namespaces = new Auth_OpenID_NamespaceMap();
- if ($openid_namespace === null) {
- $this->_openid_ns_uri = null;
- } else {
+ if ($openid_namespace !== null) {
$implicit = Auth_OpenID_isOpenID1($openid_namespace);
$this->setOpenIDNamespace($openid_namespace, $implicit);
}
@@ -478,7 +511,7 @@ class Auth_OpenID_Message {
$obj = new Auth_OpenID_Message();
// Partition into "openid." args and bare args
- $openid_args = array();
+ $openid_args = [];
foreach ($args as $key => $value) {
if (is_array($value)) {
@@ -495,7 +528,7 @@ class Auth_OpenID_Message {
}
if ($prefix != 'openid') {
- $obj->args->set(array(Auth_OpenID_BARE_NS, $key), $value);
+ $obj->args->set([Auth_OpenID_BARE_NS, $key], $value);
} else {
$openid_args[$rest] = $value;
}
@@ -534,7 +567,7 @@ class Auth_OpenID_Message {
$openid_args = new Auth_OpenID_Mapping($openid_args);
}
- $ns_args = array();
+ $ns_args = [];
// Resolve namespaces
foreach ($openid_args->items() as $pair) {
@@ -560,7 +593,7 @@ class Auth_OpenID_Message {
return false;
}
} else {
- $ns_args[] = array($ns_alias, $ns_key, $value);
+ $ns_args[] = [$ns_alias, $ns_key, $value];
}
}
@@ -645,7 +678,7 @@ class Auth_OpenID_Message {
// Return all arguments with openid. in front of namespaced
// arguments.
- $args = array();
+ $args = [];
// Add namespace definitions to the output
foreach ($this->namespaces->iteritems() as $pair) {
@@ -676,7 +709,7 @@ class Auth_OpenID_Message {
// Return all namespaced arguments, failing if any
// non-namespaced arguments exist.
$post_args = $this->toPostArgs();
- $kvargs = array();
+ $kvargs = [];
foreach ($post_args as $k => $v) {
if (strpos($k, 'openid.') !== 0) {
// raise ValueError(
@@ -703,7 +736,7 @@ class Auth_OpenID_Message {
"enctype=\"application/x-www-form-urlencoded\"";
if (!$form_tag_attrs) {
- $form_tag_attrs = array();
+ $form_tag_attrs = [];
}
$form_tag_attrs['action'] = $action_url;
@@ -752,10 +785,10 @@ class Auth_OpenID_Message {
function toURLEncoded()
{
// Generate an x-www-urlencoded string
- $args = array();
+ $args = [];
foreach ($this->toPostArgs() as $k => $v) {
- $args[] = array($k, $v);
+ $args[] = [$k, $v];
}
sort($args);
@@ -812,7 +845,7 @@ class Auth_OpenID_Message {
// XXX log me
return false;
} else {
- return $this->args->contains(array($namespace, $ns_key));
+ return $this->args->contains([$namespace, $ns_key]);
}
}
@@ -857,13 +890,13 @@ class Auth_OpenID_Message {
if (Auth_OpenID::isFailure($namespace)) {
return $namespace;
} else {
- if ((!$this->args->contains(array($namespace, $key))) &&
- ($default == Auth_OpenID_NO_DEFAULT)) {
+ if ((!$this->args->contains([$namespace, $key])) &&
+ ($default == Auth_OpenID_NO_DEFAULT)) {
$err_msg = sprintf("Namespace %s missing required field %s",
$namespace, $key);
return new Auth_OpenID_FailureResponse(null, $err_msg);
} else {
- return $this->args->get(array($namespace, $key), $default);
+ return $this->args->get([$namespace, $key], $default);
}
}
}
@@ -876,7 +909,7 @@ class Auth_OpenID_Message {
if (Auth_OpenID::isFailure($namespace)) {
return $namespace;
} else {
- $stuff = array();
+ $stuff = [];
foreach ($this->args->items() as $pair) {
list($key, $value) = $pair;
list($pair_ns, $ns_key) = $key;
@@ -913,7 +946,7 @@ class Auth_OpenID_Message {
if (Auth_OpenID::isFailure($namespace)) {
return $namespace;
} else {
- $this->args->set(array($namespace, $key), $value);
+ $this->args->set([$namespace, $key], $value);
if ($namespace !== Auth_OpenID_BARE_NS) {
$this->namespaces->add($namespace);
}
@@ -928,7 +961,7 @@ class Auth_OpenID_Message {
if (Auth_OpenID::isFailure($namespace)) {
return $namespace;
} else {
- return $this->args->del(array($namespace, $key));
+ return $this->args->del([$namespace, $key]);
}
}
diff --git a/plugins/openid/lib/Auth/OpenID/Nonce.php b/plugins/openid/lib/Auth/OpenID/Nonce.php
index 41bb3c32..523eab31 100644
--- a/plugins/openid/lib/Auth/OpenID/Nonce.php
+++ b/plugins/openid/lib/Auth/OpenID/Nonce.php
@@ -53,7 +53,7 @@ function Auth_OpenID_splitNonce($nonce_string)
return null;
}
- return array($timestamp, $uniquifier);
+ return [$timestamp, $uniquifier];
}
function Auth_OpenID_checkTimestamp($nonce_string,
diff --git a/plugins/openid/lib/Auth/OpenID/PAPE.php b/plugins/openid/lib/Auth/OpenID/PAPE.php
index f3db7774..8ab7e5f7 100644
--- a/plugins/openid/lib/Auth/OpenID/PAPE.php
+++ b/plugins/openid/lib/Auth/OpenID/PAPE.php
@@ -38,13 +38,13 @@ class Auth_OpenID_PAPE_Request extends Auth_OpenID_Extension {
public $ns_uri = Auth_OpenID_PAPE_NS_URI;
private $max_auth_age = 0;
- private $preferred_auth_policies = array();
+ private $preferred_auth_policies = [];
function __construct($preferred_auth_policies=null,
$max_auth_age=null)
{
if ($preferred_auth_policies === null) {
- $preferred_auth_policies = array();
+ $preferred_auth_policies = [];
}
$this->preferred_auth_policies = $preferred_auth_policies;
@@ -78,10 +78,9 @@ class Auth_OpenID_PAPE_Request extends Auth_OpenID_Extension {
*/
function getExtensionArgs($request = null)
{
- $ns_args = array(
- 'preferred_auth_policies' =>
- implode(' ', $this->preferred_auth_policies)
- );
+ $ns_args = [
+ 'preferred_auth_policies' => implode(' ', $this->preferred_auth_policies),
+ ];
if ($this->max_auth_age !== null) {
$ns_args['max_auth_age'] = strval($this->max_auth_age);
@@ -102,7 +101,7 @@ class Auth_OpenID_PAPE_Request extends Auth_OpenID_Extension {
$obj = new Auth_OpenID_PAPE_Request();
$args = $request->message->getArgs(Auth_OpenID_PAPE_NS_URI);
- if ($args === null || $args === array()) {
+ if ($args === null || $args === []) {
return null;
}
@@ -120,7 +119,7 @@ class Auth_OpenID_PAPE_Request extends Auth_OpenID_Extension {
{
// preferred_auth_policies is a space-separated list of policy
// URIs
- $this->preferred_auth_policies = array();
+ $this->preferred_auth_policies = [];
$policies_str = Auth_OpenID::arrayGet($args, 'preferred_auth_policies');
if ($policies_str) {
@@ -156,7 +155,7 @@ class Auth_OpenID_PAPE_Request extends Auth_OpenID_Extension {
*/
function preferredTypes($supported_types)
{
- $result = array();
+ $result = [];
foreach ($supported_types as $st) {
if (in_array($st, $this->preferred_auth_policies)) {
@@ -178,7 +177,7 @@ class Auth_OpenID_PAPE_Response extends Auth_OpenID_Extension {
private $auth_time = 0;
private $nist_auth_level = 0;
- private $auth_policies = array();
+ private $auth_policies = [];
function __construct($auth_policies=null, $auth_time=null,
$nist_auth_level=null)
@@ -186,7 +185,7 @@ class Auth_OpenID_PAPE_Response extends Auth_OpenID_Extension {
if ($auth_policies) {
$this->auth_policies = $auth_policies;
} else {
- $this->auth_policies = array();
+ $this->auth_policies = [];
}
$this->auth_time = $auth_time;
@@ -227,7 +226,7 @@ class Auth_OpenID_PAPE_Response extends Auth_OpenID_Extension {
// PAPE requires that the args be signed.
$args = $success_response->getSignedNS(Auth_OpenID_PAPE_NS_URI);
- if ($args === null || $args === array()) {
+ if ($args === null || $args === []) {
return null;
}
@@ -299,7 +298,7 @@ class Auth_OpenID_PAPE_Response extends Auth_OpenID_Extension {
*/
function getExtensionArgs($request = null)
{
- $ns_args = array();
+ $ns_args = [];
if (count($this->auth_policies) > 0) {
$ns_args['auth_policies'] = implode(' ', $this->auth_policies);
} else {
diff --git a/plugins/openid/lib/Auth/OpenID/Parse.php b/plugins/openid/lib/Auth/OpenID/Parse.php
index 2e830e9c..fe4b8d24 100644
--- a/plugins/openid/lib/Auth/OpenID/Parse.php
+++ b/plugins/openid/lib/Auth/OpenID/Parse.php
@@ -113,12 +113,12 @@ class Auth_OpenID_Parse {
$this->_link_find = sprintf("/<link\b(?!:)([^>]*)(?!<)>/%s",
$this->_re_flags);
- $this->_entity_replacements = array(
- 'amp' => '&',
- 'lt' => '<',
- 'gt' => '>',
- 'quot' => '"'
- );
+ $this->_entity_replacements = [
+ 'amp' => '&',
+ 'lt' => '<',
+ 'gt' => '>',
+ 'quot' => '"',
+ ];
$this->_attr_find = sprintf("/%s/%s",
$this->_attr_find,
@@ -146,7 +146,7 @@ class Auth_OpenID_Parse {
$expr = $this->_tag_expr;
if ($close_tags) {
- $options = implode("|", array_merge(array($tag_name), $close_tags));
+ $options = implode("|", array_merge([$tag_name], $close_tags));
$closer = sprintf("(?:%s)", $options);
} else {
$closer = $tag_name;
@@ -170,7 +170,7 @@ class Auth_OpenID_Parse {
function htmlBegin($s)
{
- $matches = array();
+ $matches = [];
$result = preg_match($this->openTag('html'), $s,
$matches, PREG_OFFSET_CAPTURE);
if ($result === false || !$matches) {
@@ -182,7 +182,7 @@ class Auth_OpenID_Parse {
function htmlEnd($s)
{
- $matches = array();
+ $matches = [];
$result = preg_match($this->closeTag('html'), $s,
$matches, PREG_OFFSET_CAPTURE);
if ($result === false || !$matches) {
@@ -194,7 +194,7 @@ class Auth_OpenID_Parse {
function headFind()
{
- return $this->tagMatcher('head', array('body', 'html'));
+ return $this->tagMatcher('head', ['body', 'html']);
}
function replaceEntities($str)
@@ -207,7 +207,7 @@ class Auth_OpenID_Parse {
function removeQuotes($str)
{
- $matches = array();
+ $matches = [];
$double = '/^"(.*)"$/';
$single = "/^\'(.*)\'$/";
@@ -251,7 +251,7 @@ class Auth_OpenID_Parse {
$html_end = $this->htmlEnd($stripped);
if ($html_begin === false) {
- return array();
+ return [];
}
if ($html_end === false) {
@@ -266,25 +266,25 @@ class Auth_OpenID_Parse {
// Try to find the <HEAD> tag.
$head_re = $this->headFind();
- $head_match = array();
+ $head_match = [];
if (!$this->match($head_re, $stripped, $head_match)) {
ini_set( 'pcre.backtrack_limit', $old_btlimit );
- return array();
+ return [];
}
- $link_data = array();
- $link_matches = array();
+ $link_data = [];
+ $link_matches = [];
if (!preg_match_all($this->_link_find, $head_match[0],
$link_matches)) {
ini_set( 'pcre.backtrack_limit', $old_btlimit );
- return array();
+ return [];
}
foreach ($link_matches[0] as $link) {
- $attr_matches = array();
+ $attr_matches = [];
preg_match_all($this->_attr_find, $link, $attr_matches);
- $link_attrs = array();
+ $link_attrs = [];
foreach ($attr_matches[0] as $index => $full_match) {
$name = $attr_matches[1][$index];
$value = $this->replaceEntities(
@@ -328,7 +328,7 @@ class Auth_OpenID_Parse {
// Filter the list of link attributes on whether it has
// target_rel as a relationship.
// XXX: TESTME
- $result = array();
+ $result = [];
foreach ($link_attrs_list as $attr) {
if ($this->linkHasRel($attr, $target_rel)) {
$result[] = $attr;
@@ -368,7 +368,7 @@ function Auth_OpenID_legacy_discover($html_text, $server_rel,
} else {
$delegate_url = $p->findFirstHref($link_attrs,
$delegate_rel);
- return array($delegate_url, $server_url);
+ return [$delegate_url, $server_url];
}
}
diff --git a/plugins/openid/lib/Auth/OpenID/PostgreSQLStore.php b/plugins/openid/lib/Auth/OpenID/PostgreSQLStore.php
index d90e43e0..a3a33684 100644
--- a/plugins/openid/lib/Auth/OpenID/PostgreSQLStore.php
+++ b/plugins/openid/lib/Auth/OpenID/PostgreSQLStore.php
@@ -29,7 +29,7 @@ class Auth_OpenID_PostgreSQLStore extends Auth_OpenID_SQLStore {
"UNIQUE (server_url, timestamp, salt))";
$this->sql['assoc_table'] =
- "CREATE TABLE %s (server_url VARCHAR(2047) NOT NULL, ".
+ "CREATE TABLE %s (server_url VARCHAR(2047) NOT NULL, ".
"handle VARCHAR(255) NOT NULL, ".
"secret BYTEA NOT NULL, ".
"issued INTEGER NOT NULL, ".
@@ -40,14 +40,14 @@ class Auth_OpenID_PostgreSQLStore extends Auth_OpenID_SQLStore {
"(LENGTH(secret) <= 128))";
$this->sql['set_assoc'] =
- array(
+ [
'insert_assoc' => "INSERT INTO %s (server_url, handle, ".
"secret, issued, lifetime, assoc_type) VALUES ".
"(?, ?, '!', ?, ?, ?)",
'update_assoc' => "UPDATE %s SET secret = '!', issued = ?, ".
"lifetime = ?, assoc_type = ? WHERE server_url = ? AND ".
"handle = ?"
- );
+ ];
$this->sql['get_assocs'] =
"SELECT handle, secret, issued, lifetime, assoc_type FROM %s ".
@@ -82,14 +82,27 @@ class Auth_OpenID_PostgreSQLStore extends Auth_OpenID_SQLStore {
if ($result) {
// Update the table since this associations already exists.
$this->connection->query($this->sql['set_assoc']['update_assoc'],
- array($secret, $issued, $lifetime,
- $assoc_type, $server_url, $handle));
+ [
+ $secret,
+ $issued,
+ $lifetime,
+ $assoc_type,
+ $server_url,
+ $handle,
+ ]);
} else {
// Insert a new record because this association wasn't
// found.
$this->connection->query($this->sql['set_assoc']['insert_assoc'],
- array($server_url, $handle, $secret,
- $issued, $lifetime, $assoc_type));
+ [
+ $server_url,
+ $handle,
+ $secret,
+ $issued,
+ $lifetime,
+ $assoc_type,
+ ]
+ );
}
}
diff --git a/plugins/openid/lib/Auth/OpenID/SQLStore.php b/plugins/openid/lib/Auth/OpenID/SQLStore.php
index b2a953d6..0829abb4 100644
--- a/plugins/openid/lib/Auth/OpenID/SQLStore.php
+++ b/plugins/openid/lib/Auth/OpenID/SQLStore.php
@@ -69,7 +69,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
protected $max_nonce_age = 0;
/** @var array */
- protected $sql = array();
+ protected $sql = [];
/**
* This creates a new SQLStore instance. It requires an
@@ -136,7 +136,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
$this->connection->autoCommit(false);
// Create an empty SQL strings array.
- $this->sql = array();
+ $this->sql = [];
// Call this method (which should be overridden by subclasses)
// to populate the $this->sql array with SQL strings.
@@ -223,17 +223,17 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
*/
function _verifySQL()
{
- $missing = array();
- $empty = array();
-
- $required_sql_keys = array(
- 'nonce_table',
- 'assoc_table',
- 'set_assoc',
- 'get_assoc',
- 'get_assocs',
- 'remove_assoc'
- );
+ $missing = [];
+ $empty = [];
+
+ $required_sql_keys = [
+ 'nonce_table',
+ 'assoc_table',
+ 'set_assoc',
+ 'get_assoc',
+ 'get_assocs',
+ 'remove_assoc',
+ ];
foreach ($required_sql_keys as $key) {
if (!array_key_exists($key, $this->sql)) {
@@ -243,7 +243,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
}
}
- return array($missing, $empty);
+ return [$missing, $empty];
}
/**
@@ -251,23 +251,27 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
*/
function _fixSQL()
{
- $replacements = array(
- array(
- 'value' => $this->nonces_table_name,
- 'keys' => array('nonce_table',
- 'add_nonce',
- 'clean_nonce')
- ),
- array(
- 'value' => $this->associations_table_name,
- 'keys' => array('assoc_table',
- 'set_assoc',
- 'get_assoc',
- 'get_assocs',
- 'remove_assoc',
- 'clean_assoc')
- )
- );
+ $replacements = [
+ [
+ 'value' => $this->nonces_table_name,
+ 'keys' => [
+ 'nonce_table',
+ 'add_nonce',
+ 'clean_nonce',
+ ],
+ ],
+ [
+ 'value' => $this->associations_table_name,
+ 'keys' => [
+ 'assoc_table',
+ 'set_assoc',
+ 'get_assoc',
+ 'get_assocs',
+ 'remove_assoc',
+ 'clean_assoc',
+ ],
+ ],
+ ];
foreach ($replacements as $item) {
$value = $item['value'];
@@ -276,8 +280,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
foreach ($keys as $k) {
if (is_array($this->sql[$k])) {
foreach ($this->sql[$k] as $part_key => $part_value) {
- $this->sql[$k][$part_key] = sprintf($part_value,
- $value);
+ $this->sql[$k][$part_key] = sprintf($part_value, $value);
}
} else {
$this->sql[$k] = sprintf($this->sql[$k], $value);
@@ -342,13 +345,14 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
$lifetime, $assoc_type)
{
return $this->connection->query($this->sql['set_assoc'],
- array(
- $server_url,
- $handle,
- $secret,
- $issued,
- $lifetime,
- $assoc_type));
+ [
+ $server_url,
+ $handle,
+ $secret,
+ $issued,
+ $lifetime,
+ $assoc_type,
+ ]);
}
function storeAssociation($server_url, $association)
@@ -377,7 +381,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
function _get_assoc($server_url, $handle)
{
$result = $this->connection->getRow($this->sql['get_assoc'],
- array($server_url, $handle));
+ [$server_url, $handle]);
if ($this->isError($result)) {
return null;
} else {
@@ -393,10 +397,10 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
function _get_assocs($server_url)
{
$result = $this->connection->getAll($this->sql['get_assocs'],
- array($server_url));
+ [$server_url]);
if ($this->isError($result)) {
- return array();
+ return [];
} else {
return $result;
}
@@ -410,7 +414,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
if ($this->resultToBool($this->connection->query(
$this->sql['remove_assoc'],
- array($server_url, $handle)))) {
+ [$server_url, $handle]))) {
$this->connection->commit();
} else {
$this->connection->rollback();
@@ -424,7 +428,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
if ($handle !== null) {
$assoc = $this->_get_assoc($server_url, $handle);
- $assocs = array();
+ $assocs = [];
if ($assoc) {
$assocs[] = $assoc;
}
@@ -435,7 +439,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
if (!$assocs || (count($assocs) == 0)) {
return null;
} else {
- $associations = array();
+ $associations = [];
foreach ($assocs as $assoc_row) {
$assoc = new Auth_OpenID_Association($assoc_row['handle'],
@@ -449,13 +453,13 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
if ($assoc->getExpiresIn() == 0) {
$this->removeAssociation($server_url, $assoc->handle);
} else {
- $associations[] = array($assoc->issued, $assoc);
+ $associations[] = [$assoc->issued, $assoc];
}
}
if ($associations) {
- $issued = array();
- $assocs = array();
+ $issued = [];
+ $assocs = [];
foreach ($associations as $key => $assoc) {
$issued[$key] = $assoc[0];
$assocs[$key] = $assoc[1];
@@ -483,9 +487,11 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
function _add_nonce($server_url, $timestamp, $salt)
{
$sql = $this->sql['add_nonce'];
- $result = $this->connection->query($sql, array($server_url,
- $timestamp,
- $salt));
+ $result = $this->connection->query($sql, [
+ $server_url,
+ $timestamp,
+ $salt,
+ ]);
if ($this->isError($result)) {
$this->connection->rollback();
} else {
@@ -571,7 +577,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
global $Auth_OpenID_SKEW;
$v = time() - $Auth_OpenID_SKEW;
- $this->connection->query($this->sql['clean_nonce'], array($v));
+ $this->connection->query($this->sql['clean_nonce'], [$v]);
$num = $this->connection->affectedRows();
$this->connection->commit();
return $num;
@@ -579,7 +585,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
function cleanupAssociations()
{
- $this->connection->query($this->sql['clean_assoc'], array(time()));
+ $this->connection->query($this->sql['clean_assoc'], [time()]);
$num = $this->connection->affectedRows();
$this->connection->commit();
return $num;
diff --git a/plugins/openid/lib/Auth/OpenID/SReg.php b/plugins/openid/lib/Auth/OpenID/SReg.php
index 78259f3a..a3d2715e 100644
--- a/plugins/openid/lib/Auth/OpenID/SReg.php
+++ b/plugins/openid/lib/Auth/OpenID/SReg.php
@@ -47,16 +47,17 @@ require_once 'Auth/OpenID/Extension.php';
// The data fields that are listed in the sreg spec
global $Auth_OpenID_sreg_data_fields;
-$Auth_OpenID_sreg_data_fields = array(
- 'fullname' => 'Full Name',
- 'nickname' => 'Nickname',
- 'dob' => 'Date of Birth',
- 'email' => 'E-mail Address',
- 'gender' => 'Gender',
- 'postcode' => 'Postal Code',
- 'country' => 'Country',
- 'language' => 'Language',
- 'timezone' => 'Time Zone');
+$Auth_OpenID_sreg_data_fields = [
+ 'fullname' => 'Full Name',
+ 'nickname' => 'Nickname',
+ 'dob' => 'Date of Birth',
+ 'email' => 'E-mail Address',
+ 'gender' => 'Gender',
+ 'postcode' => 'Postal Code',
+ 'country' => 'Country',
+ 'language' => 'Language',
+ 'timezone' => 'Time Zone',
+];
/**
* Check to see that the given value is a valid simple registration
@@ -135,8 +136,7 @@ class Auth_OpenID_SRegBase extends Auth_OpenID_Extension {
// See if there exists an alias for one of the two defined
// simple registration types.
- foreach (array(Auth_OpenID_SREG_NS_URI_1_1,
- Auth_OpenID_SREG_NS_URI_1_0) as $sreg_ns_uri) {
+ foreach ([Auth_OpenID_SREG_NS_URI_1_1, Auth_OpenID_SREG_NS_URI_1_0] as $sreg_ns_uri) {
$alias = $message->namespaces->getAlias($sreg_ns_uri);
if ($alias !== null) {
$found_ns_uri = $sreg_ns_uri;
@@ -177,9 +177,9 @@ class Auth_OpenID_SRegRequest extends Auth_OpenID_SRegBase {
/** @var string */
public $ns_alias = 'sreg';
/** @var array */
- public $required = array();
+ public $required = [];
/** @var array */
- public $optional = array();
+ public $optional = [];
/** @var string */
public $policy_url = '';
@@ -201,8 +201,8 @@ class Auth_OpenID_SRegRequest extends Auth_OpenID_SRegBase {
/** @var Auth_OpenID_SRegRequest $obj */
$obj = new $cls();
- $obj->required = array();
- $obj->optional = array();
+ $obj->required = [];
+ $obj->optional = [];
$obj->policy_url = $policy_url;
$obj->ns_uri = $sreg_ns_uri;
@@ -241,8 +241,8 @@ class Auth_OpenID_SRegRequest extends Auth_OpenID_SRegBase {
static function fromOpenIDRequest($request, $cls='Auth_OpenID_SRegRequest')
{
- $obj = call_user_func_array(array($cls, 'build'),
- array(null, null, null, Auth_OpenID_SREG_NS_URI, $cls));
+ $obj = call_user_func_array([$cls, 'build'],
+ [null, null, null, Auth_OpenID_SREG_NS_URI, $cls]);
// Since we're going to mess with namespace URI mapping, don't
// mutate the object that was passed in.
@@ -290,7 +290,7 @@ class Auth_OpenID_SRegRequest extends Auth_OpenID_SRegBase {
*/
function parseExtensionArgs($args, $strict=false)
{
- foreach (array('required', 'optional') as $list_name) {
+ foreach (['required', 'optional'] as $list_name) {
$required = ($list_name == 'required');
$items = Auth_OpenID::arrayGet($args, $list_name);
if ($items) {
@@ -433,7 +433,7 @@ class Auth_OpenID_SRegRequest extends Auth_OpenID_SRegBase {
*/
function getExtensionArgs($request = null)
{
- $args = array();
+ $args = [];
if ($this->required) {
$args['required'] = implode(',', $this->required);
@@ -465,7 +465,7 @@ class Auth_OpenID_SRegResponse extends Auth_OpenID_SRegBase {
public $ns_alias = 'sreg';
/** @var array */
- public $data = array();
+ public $data = [];
function __construct($data=null, $sreg_ns_uri=Auth_OpenID_SREG_NS_URI)
{
diff --git a/plugins/openid/lib/Auth/OpenID/Server.php b/plugins/openid/lib/Auth/OpenID/Server.php
index 0901d507..6af8c7c3 100644
--- a/plugins/openid/lib/Auth/OpenID/Server.php
+++ b/plugins/openid/lib/Auth/OpenID/Server.php
@@ -111,8 +111,10 @@ define('AUTH_OPENID_HTTP_ERROR', 400);
* @access private
*/
global $_Auth_OpenID_Request_Modes;
-$_Auth_OpenID_Request_Modes = array('checkid_setup',
- 'checkid_immediate');
+$_Auth_OpenID_Request_Modes = [
+ 'checkid_setup',
+ 'checkid_immediate',
+];
/**
* @access private
@@ -222,8 +224,11 @@ class Auth_OpenID_ServerError {
function encodeToKVForm()
{
return Auth_OpenID_KVForm::fromArray(
- array('mode' => 'error',
- 'error' => $this->toString()));
+ [
+ 'mode' => 'error',
+ 'error' => $this->toString(),
+ ]
+ );
}
function toFormMarkup($form_tag_attrs=null)
@@ -411,7 +416,7 @@ class Auth_OpenID_CheckAuthRequest extends Auth_OpenID_Request {
*/
static function fromMessage($message)
{
- $required_keys = array('assoc_handle', 'sig', 'signed');
+ $required_keys = ['assoc_handle', 'sig', 'signed'];
foreach ($required_keys as $k) {
if (!$message->getArg(Auth_OpenID_OPENID_NS, $k)) {
@@ -478,7 +483,7 @@ class Auth_OpenID_PlainTextServerSession {
*/
public $session_type = 'no-encryption';
public $needs_math = false;
- public $allowed_assoc_types = array('HMAC-SHA1', 'HMAC-SHA256');
+ public $allowed_assoc_types = ['HMAC-SHA1', 'HMAC-SHA256'];
static function fromMessage()
{
@@ -487,7 +492,7 @@ class Auth_OpenID_PlainTextServerSession {
function answer($secret)
{
- return array('mac_key' => base64_encode($secret));
+ return ['mac_key' => base64_encode($secret)];
}
}
@@ -504,7 +509,7 @@ class Auth_OpenID_DiffieHellmanSHA1ServerSession {
public $session_type = 'DH-SHA1';
public $needs_math = true;
- public $allowed_assoc_types = array('HMAC-SHA1');
+ public $allowed_assoc_types = ['HMAC-SHA1'];
public $hash_func = 'Auth_OpenID_SHA1';
/** @var Auth_OpenID_DiffieHellman */
@@ -579,7 +584,7 @@ class Auth_OpenID_DiffieHellmanSHA1ServerSession {
"dh_consumer_public is not base64");
}
- return array($dh, $consumer_pubkey);
+ return [$dh, $consumer_pubkey];
}
static function fromMessage($message)
@@ -600,10 +605,11 @@ class Auth_OpenID_DiffieHellmanSHA1ServerSession {
$lib = Auth_OpenID_getMathLib();
$mac_key = $this->dh->xorSecret($this->consumer_pubkey, $secret,
$this->hash_func);
- return array(
+ return [
'dh_server_public' =>
$lib->longToBase64($this->dh->public),
- 'enc_mac_key' => base64_encode($mac_key));
+ 'enc_mac_key' => base64_encode($mac_key)
+ ];
}
}
@@ -617,7 +623,7 @@ class Auth_OpenID_DiffieHellmanSHA256ServerSession
public $session_type = 'DH-SHA256';
public $hash_func = 'Auth_OpenID_SHA256';
- public $allowed_assoc_types = array('HMAC-SHA256');
+ public $allowed_assoc_types = ['HMAC-SHA256'];
static function fromMessage($message)
{
@@ -648,10 +654,11 @@ class Auth_OpenID_AssociateRequest extends Auth_OpenID_Request {
static function getSessionClasses()
{
- return array(
+ return [
'no-encryption' => 'Auth_OpenID_PlainTextServerSession',
'DH-SHA1' => 'Auth_OpenID_DiffieHellmanSHA1ServerSession',
- 'DH-SHA256' => 'Auth_OpenID_DiffieHellmanSHA256ServerSession');
+ 'DH-SHA256' => 'Auth_OpenID_DiffieHellmanSHA256ServerSession'
+ ];
}
/**
@@ -702,7 +709,7 @@ class Auth_OpenID_AssociateRequest extends Auth_OpenID_Request {
$session_type);
}
- $session = call_user_func(array($session_class, 'fromMessage'),
+ $session = call_user_func([$session_class, 'fromMessage'],
$message);
if (is_a($session, 'Auth_OpenID_ServerError')) {
return $session;
@@ -731,10 +738,12 @@ class Auth_OpenID_AssociateRequest extends Auth_OpenID_Request {
{
$response = new Auth_OpenID_ServerResponse($this);
$response->fields->updateArgs(Auth_OpenID_OPENID_NS,
- array(
- 'expires_in' => sprintf('%d', $assoc->getExpiresIn()),
- 'assoc_type' => $this->assoc_type,
- 'assoc_handle' => $assoc->handle));
+ [
+ 'expires_in' => sprintf('%d', $assoc->getExpiresIn()),
+ 'assoc_type' => $this->assoc_type,
+ 'assoc_handle' => $assoc->handle,
+ ]
+ );
$response->fields->updateArgs(Auth_OpenID_OPENID_NS,
$this->session->answer($assoc->secret));
@@ -925,7 +934,7 @@ class Auth_OpenID_CheckIDRequest extends Auth_OpenID_Request {
{
$fetcher = Auth_Yadis_Yadis::getHTTPFetcher();
return call_user_func_array($this->verifyReturnTo,
- array($this->trust_root, $this->return_to, $fetcher));
+ [$this->trust_root, $this->return_to, $fetcher]);
}
/**
@@ -1171,9 +1180,12 @@ class Auth_OpenID_CheckIDRequest extends Auth_OpenID_Request {
}
$response->fields->updateArgs(Auth_OpenID_OPENID_NS,
- array('mode' => $mode,
- 'return_to' => $this->return_to,
- 'response_nonce' => Auth_OpenID_mkNonce()));
+ [
+ 'mode' => $mode,
+ 'return_to' => $this->return_to,
+ 'response_nonce' => Auth_OpenID_mkNonce(),
+ ]
+ );
if (!$this->message->isOpenID1()) {
$response->fields->setArg(Auth_OpenID_OPENID_NS,
@@ -1241,10 +1253,12 @@ class Auth_OpenID_CheckIDRequest extends Auth_OpenID_Request {
// Encodable too. That's right, code imported from alternate
// realities all for the love of you, id_res/user_setup_url.
- $q = array('mode' => $this->mode,
- 'identity' => $this->identity,
- 'claimed_id' => $this->claimed_id,
- 'return_to' => $this->return_to);
+ $q = [
+ 'mode' => $this->mode,
+ 'identity' => $this->identity,
+ 'claimed_id' => $this->claimed_id,
+ 'return_to' => $this->return_to,
+ ];
if ($this->trust_root) {
if ($this->message->isOpenID1()) {
@@ -1399,7 +1413,7 @@ class Auth_OpenID_WebResponse {
if ($headers !== null) {
$this->headers = $headers;
} else {
- $this->headers = array();
+ $this->headers = [];
}
if ($body !== null) {
@@ -1608,9 +1622,9 @@ class Auth_OpenID_Encoder {
} else if ($encode_as == Auth_OpenID_ENCODE_URL) {
$location = $response->encodeToURL();
$wr = new $cls(AUTH_OPENID_HTTP_REDIRECT,
- array('location' => $location));
+ ['location' => $location]);
} else if ($encode_as == Auth_OpenID_ENCODE_HTML_FORM) {
- $wr = new $cls(AUTH_OPENID_HTTP_OK, array(),
+ $wr = new $cls(AUTH_OPENID_HTTP_OK, [],
$response->toHTML());
} else {
return new Auth_OpenID_EncodingError($response);
@@ -1682,12 +1696,12 @@ class Auth_OpenID_Decoder {
/** @var Auth_OpenID_Server */
private $server;
- private $handlers = array(
+ private $handlers = [
'checkid_setup' => 'Auth_OpenID_CheckIDRequest',
'checkid_immediate' => 'Auth_OpenID_CheckIDRequest',
'check_authentication' => 'Auth_OpenID_CheckAuthRequest',
'associate' => 'Auth_OpenID_AssociateRequest'
- );
+ ];
/**
* Auth_OpenID_Decoder constructor.
@@ -1746,8 +1760,8 @@ class Auth_OpenID_Decoder {
$this->defaultDecoder($message));
if (!is_a($handlerCls, 'Auth_OpenID_ServerError')) {
- return call_user_func_array(array($handlerCls, 'fromMessage'),
- array($message, $this->server));
+ return call_user_func_array([$handlerCls, 'fromMessage'],
+ [$message, $this->server]);
} else {
return $handlerCls;
}
@@ -1909,8 +1923,8 @@ class Auth_OpenID_Server {
function handleRequest($request)
{
if (method_exists($this, "openid_" . $request->mode)) {
- $handler = array($this, "openid_" . $request->mode);
- return call_user_func_array($handler, array($request));
+ $handler = [$this, "openid_" . $request->mode];
+ return call_user_func_array($handler, [$request]);
}
return null;
}
diff --git a/plugins/openid/lib/Auth/OpenID/TrustRoot.php b/plugins/openid/lib/Auth/OpenID/TrustRoot.php
index 379366b7..8842fb5a 100644
--- a/plugins/openid/lib/Auth/OpenID/TrustRoot.php
+++ b/plugins/openid/lib/Auth/OpenID/TrustRoot.php
@@ -109,14 +109,14 @@ class Auth_OpenID_TrustRoot {
return false;
}
- $required_parts = array('scheme', 'host');
- $forbidden_parts = array('user', 'pass', 'fragment');
+ $required_parts = ['scheme', 'host'];
+ $forbidden_parts = ['user', 'pass', 'fragment'];
$keys = array_keys($parts);
if (array_intersect($keys, $required_parts) != $required_parts) {
return false;
}
- if (array_intersect($keys, $forbidden_parts) != array()) {
+ if (array_intersect($keys, $forbidden_parts) != []) {
return false;
}
@@ -125,7 +125,7 @@ class Auth_OpenID_TrustRoot {
}
$scheme = strtolower($parts['scheme']);
- $allowed_schemes = array('http', 'https');
+ $allowed_schemes = ['http', 'https'];
if (!in_array($scheme, $allowed_schemes)) {
return false;
}
@@ -343,7 +343,7 @@ class Auth_OpenID_TrustRoot {
*/
function filter_extractReturnURL($endpoint)
{
- if ($endpoint->matchTypes(array(Auth_OpenID_RP_RETURN_TO_URL_TYPE))) {
+ if ($endpoint->matchTypes([Auth_OpenID_RP_RETURN_TO_URL_TYPE])) {
return $endpoint;
} else {
return null;
@@ -352,7 +352,7 @@ function filter_extractReturnURL($endpoint)
function &Auth_OpenID_extractReturnURL(&$endpoint_list)
{
- $result = array();
+ $result = [];
foreach ($endpoint_list as $endpoint) {
if (filter_extractReturnURL($endpoint)) {
@@ -398,10 +398,10 @@ function Auth_OpenID_getAllowedReturnURLs($relying_party_url, $fetcher,
$discover_function=null)
{
if ($discover_function === null) {
- $discover_function = array('Auth_Yadis_Yadis', 'discover');
+ $discover_function = ['Auth_Yadis_Yadis', 'discover'];
}
- $xrds_parse_cb = array('Auth_OpenID_ServiceEndpoint', 'consumerFromXRDS');
+ $xrds_parse_cb = ['Auth_OpenID_ServiceEndpoint', 'consumerFromXRDS'];
list($rp_url_after_redirects, $endpoints) =
Auth_Yadis_getServiceEndpoints($relying_party_url, $xrds_parse_cb,
@@ -413,9 +413,9 @@ function Auth_OpenID_getAllowedReturnURLs($relying_party_url, $fetcher,
}
call_user_func_array($discover_function,
- array($relying_party_url, $fetcher));
+ [$relying_party_url, $fetcher]);
- $return_to_urls = array();
+ $return_to_urls = [];
$matching_endpoints = Auth_OpenID_extractReturnURL($endpoints);
foreach ($matching_endpoints as $e) {
@@ -445,7 +445,7 @@ function Auth_OpenID_verifyReturnTo($realm_str, $return_to, $fetcher,
}
$allowable_urls = call_user_func_array($_vrfy,
- array($disco_url, $fetcher));
+ [$disco_url, $fetcher]);
// The realm_str could not be parsed.
if ($allowable_urls === false) {
diff --git a/plugins/openid/lib/Auth/OpenID/URINorm.php b/plugins/openid/lib/Auth/OpenID/URINorm.php
index f8c73ada..b088f6f3 100644
--- a/plugins/openid/lib/Auth/OpenID/URINorm.php
+++ b/plugins/openid/lib/Auth/OpenID/URINorm.php
@@ -40,7 +40,7 @@ function Auth_OpenID_getURLIllegalCharRE()
function Auth_OpenID_getUnreserved()
{
- $_unreserved = array();
+ $_unreserved = [];
for ($i = 0; $i < 256; $i++) {
$_unreserved[$i] = false;
}
@@ -67,7 +67,7 @@ function Auth_OpenID_getUnreserved()
function Auth_OpenID_getEscapeRE()
{
- $parts = array();
+ $parts = [];
foreach (array_merge(Auth_Yadis_getUCSChars(),
Auth_Yadis_getIPrivateChars()) as $pair) {
list($m, $n) = $pair;
@@ -105,7 +105,7 @@ function Auth_OpenID_pct_encoded_replace($mo)
function Auth_OpenID_remove_dot_segments($path)
{
- $result_segments = array();
+ $result_segments = [];
while ($path) {
if (Auth_Yadis_startswith($path, '../')) {
@@ -148,7 +148,7 @@ function Auth_OpenID_remove_dot_segments($path)
function Auth_OpenID_urinorm($uri)
{
- $uri_matches = array();
+ $uri_matches = [];
preg_match(Auth_OpenID_getURIPattern(), $uri, $uri_matches);
if (count($uri_matches) < 9) {
@@ -157,7 +157,7 @@ function Auth_OpenID_urinorm($uri)
}
}
- $illegal_matches = array();
+ $illegal_matches = [];
preg_match(Auth_OpenID_getURLIllegalCharRE(),
$uri, $illegal_matches);
if ($illegal_matches) {
@@ -171,7 +171,7 @@ function Auth_OpenID_urinorm($uri)
}
$scheme = strtolower($scheme);
- if (!in_array($scheme, array('http', 'https'))) {
+ if (!in_array($scheme, ['http', 'https'])) {
// Not an absolute HTTP or HTTPS URI
return null;
}
@@ -182,7 +182,7 @@ function Auth_OpenID_urinorm($uri)
return null;
}
- $authority_matches = array();
+ $authority_matches = [];
preg_match(Auth_OpenID_getAuthorityPattern(),
$authority, $authority_matches);
if (count($authority_matches) === 0) {
diff --git a/plugins/openid/lib/Auth/Yadis/HTTPFetcher.php b/plugins/openid/lib/Auth/Yadis/HTTPFetcher.php
index a6e6814e..0d07f5c6 100644
--- a/plugins/openid/lib/Auth/Yadis/HTTPFetcher.php
+++ b/plugins/openid/lib/Auth/Yadis/HTTPFetcher.php
@@ -27,7 +27,7 @@ class Auth_Yadis_HTTPResponse {
public $final_url = '';
public $status = '';
public $body = '';
- public $headers = array();
+ public $headers = [];
function __construct($final_url = null, $status = null,
$headers = null, $body = null)
diff --git a/plugins/openid/lib/Auth/Yadis/Manager.php b/plugins/openid/lib/Auth/Yadis/Manager.php
index 8aae2da4..a057d920 100644
--- a/plugins/openid/lib/Auth/Yadis/Manager.php
+++ b/plugins/openid/lib/Auth/Yadis/Manager.php
@@ -19,7 +19,7 @@ class Auth_Yadis_PHPSession {
* Set a session key/value pair.
*
* @param string $name The name of the session key to add.
- * @param string $value The value to add to the session.
+ * @param mixed $value The value to add to the session.
*/
function set($name, $value)
{
@@ -143,7 +143,7 @@ abstract class Auth_Yadis_SessionLoader {
*/
function prepareForLoad($data)
{
- return array();
+ return [];
}
/**
@@ -173,7 +173,7 @@ abstract class Auth_Yadis_SessionLoader {
*/
function toSession($obj)
{
- $data = array();
+ $data = [];
foreach ($obj as $k => $v) {
$data[$k] = $v;
}
@@ -198,7 +198,7 @@ abstract class Auth_Yadis_SessionLoader {
*/
function prepareForSave($obj)
{
- return array();
+ return [];
}
}
@@ -216,7 +216,7 @@ class Auth_OpenID_ServiceEndpointLoader extends Auth_Yadis_SessionLoader {
function requiredKeys()
{
$obj = new Auth_OpenID_ServiceEndpoint();
- $data = array();
+ $data = [];
foreach ($obj as $k => $v) {
$data[] = $k;
}
@@ -237,20 +237,22 @@ class Auth_OpenID_ServiceEndpointLoader extends Auth_Yadis_SessionLoader {
class Auth_Yadis_ManagerLoader extends Auth_Yadis_SessionLoader {
function requiredKeys()
{
- return array('starting_url',
- 'yadis_url',
- 'services',
- 'session_key',
- '_current',
- 'stale');
+ return [
+ 'starting_url',
+ 'yadis_url',
+ 'services',
+ 'session_key',
+ '_current',
+ 'stale',
+ ];
}
function newObject($data)
{
return new Auth_Yadis_Manager($data['starting_url'],
- $data['yadis_url'],
- $data['services'],
- $data['session_key']);
+ $data['yadis_url'],
+ $data['services'],
+ $data['session_key']);
}
function check($data)
@@ -261,21 +263,21 @@ class Auth_Yadis_ManagerLoader extends Auth_Yadis_SessionLoader {
function prepareForLoad($data)
{
$loader = new Auth_OpenID_ServiceEndpointLoader();
- $services = array();
+ $services = [];
foreach ($data['services'] as $s) {
$services[] = $loader->fromSession($s);
}
- return array('services' => $services);
+ return ['services' => $services];
}
function prepareForSave($obj)
{
$loader = new Auth_OpenID_ServiceEndpointLoader();
- $services = array();
+ $services = [];
foreach ($obj->services as $s) {
$services[] = $loader->toSession($s);
}
- return array('services' => $services);
+ return ['services' => $services];
}
}
@@ -378,7 +380,7 @@ class Auth_Yadis_Manager {
*/
function forURL($url)
{
- return in_array($url, array($this->starting_url, $this->yadis_url));
+ return in_array($url, [$this->starting_url, $this->yadis_url]);
}
/**
@@ -451,10 +453,10 @@ class Auth_Yadis_Discovery {
$this->destroyManager();
list($yadis_url, $services) = call_user_func_array($discover_cb,
- array(
+ [
$this->url,
$fetcher,
- ));
+ ]);
$manager = $this->createManager($services, $yadis_url);
}
diff --git a/plugins/openid/lib/Auth/Yadis/Misc.php b/plugins/openid/lib/Auth/Yadis/Misc.php
index a5afa8e9..f4bcc674 100644
--- a/plugins/openid/lib/Auth/Yadis/Misc.php
+++ b/plugins/openid/lib/Auth/Yadis/Misc.php
@@ -11,34 +11,34 @@
function Auth_Yadis_getUCSChars()
{
- return array(
- array(0xA0, 0xD7FF),
- array(0xF900, 0xFDCF),
- array(0xFDF0, 0xFFEF),
- array(0x10000, 0x1FFFD),
- array(0x20000, 0x2FFFD),
- array(0x30000, 0x3FFFD),
- array(0x40000, 0x4FFFD),
- array(0x50000, 0x5FFFD),
- array(0x60000, 0x6FFFD),
- array(0x70000, 0x7FFFD),
- array(0x80000, 0x8FFFD),
- array(0x90000, 0x9FFFD),
- array(0xA0000, 0xAFFFD),
- array(0xB0000, 0xBFFFD),
- array(0xC0000, 0xCFFFD),
- array(0xD0000, 0xDFFFD),
- array(0xE1000, 0xEFFFD)
- );
+ return [
+ [0xA0, 0xD7FF],
+ [0xF900, 0xFDCF],
+ [0xFDF0, 0xFFEF],
+ [0x10000, 0x1FFFD],
+ [0x20000, 0x2FFFD],
+ [0x30000, 0x3FFFD],
+ [0x40000, 0x4FFFD],
+ [0x50000, 0x5FFFD],
+ [0x60000, 0x6FFFD],
+ [0x70000, 0x7FFFD],
+ [0x80000, 0x8FFFD],
+ [0x90000, 0x9FFFD],
+ [0xA0000, 0xAFFFD],
+ [0xB0000, 0xBFFFD],
+ [0xC0000, 0xCFFFD],
+ [0xD0000, 0xDFFFD],
+ [0xE1000, 0xEFFFD],
+ ];
}
function Auth_Yadis_getIPrivateChars()
{
- return array(
- array(0xE000, 0xF8FF),
- array(0xF0000, 0xFFFFD),
- array(0x100000, 0x10FFFD)
- );
+ return [
+ [0xE000, 0xF8FF],
+ [0xF0000, 0xFFFFD],
+ [0x100000, 0x10FFFD],
+ ];
}
function Auth_Yadis_pct_escape_unicode($char_match)
@@ -46,7 +46,7 @@ function Auth_Yadis_pct_escape_unicode($char_match)
$c = $char_match[0];
$result = "";
for ($i = 0; $i < strlen($c); $i++) {
- $result .= "%".sprintf("%X", ord($c[$i]));
+ $result .= "%" . sprintf("%X", ord($c[$i]));
}
return $result;
}
diff --git a/plugins/openid/lib/Auth/Yadis/ParanoidHTTPFetcher.php b/plugins/openid/lib/Auth/Yadis/ParanoidHTTPFetcher.php
index 29acf3b1..f2ad7c3c 100644
--- a/plugins/openid/lib/Auth/Yadis/ParanoidHTTPFetcher.php
+++ b/plugins/openid/lib/Auth/Yadis/ParanoidHTTPFetcher.php
@@ -28,7 +28,7 @@ require_once "Auth/OpenID.php";
*/
class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
- private $headers = array();
+ private $headers = [];
private $data = '';
function __construct()
@@ -38,7 +38,7 @@ class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
function reset()
{
- $this->headers = array();
+ $this->headers = [];
$this->data = "";
}
@@ -133,9 +133,9 @@ class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
}
curl_setopt($c, CURLOPT_WRITEFUNCTION,
- array($this, "_writeData"));
+ [$this, "_writeData"]);
curl_setopt($c, CURLOPT_HEADERFUNCTION,
- array($this, "_writeHeader"));
+ [$this, "_writeHeader"]);
if ($extra_headers) {
curl_setopt($c, CURLOPT_HTTPHEADER, $extra_headers);
@@ -182,7 +182,7 @@ class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
return null;
}
- if (in_array($code, array(301, 302, 303, 307))) {
+ if (in_array($code, [301, 302, 303, 307])) {
$url = $this->_findRedirect($headers, $url);
$redir = true;
} else {
@@ -195,7 +195,7 @@ class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
Auth_OpenID::log('OpenID: Verified SSL host %s using '.
'curl/get', $url);
}
- $new_headers = array();
+ $new_headers = [];
foreach ($headers as $header) {
if (strpos($header, ': ')) {
@@ -237,7 +237,7 @@ class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
curl_setopt($c, CURLOPT_TIMEOUT, $this->timeout);
curl_setopt($c, CURLOPT_URL, $url);
curl_setopt($c, CURLOPT_WRITEFUNCTION,
- array($this, "_writeData"));
+ [$this, "_writeData"]);
if (defined('Auth_OpenID_VERIFY_HOST')) {
// set SSL verification options only if Auth_OpenID_VERIFY_HOST
diff --git a/plugins/openid/lib/Auth/Yadis/ParseHTML.php b/plugins/openid/lib/Auth/Yadis/ParseHTML.php
index 8b8b33f2..2085cd2c 100644
--- a/plugins/openid/lib/Auth/Yadis/ParseHTML.php
+++ b/plugins/openid/lib/Auth/Yadis/ParseHTML.php
@@ -52,12 +52,12 @@ class Auth_Yadis_ParseHTML {
$this->_removed_re,
$this->_re_flags);
- $this->_entity_replacements = array(
- 'amp' => '&',
- 'lt' => '<',
- 'gt' => '>',
- 'quot' => '"'
- );
+ $this->_entity_replacements = [
+ 'amp' => '&',
+ 'lt' => '<',
+ 'gt' => '>',
+ 'quot' => '"',
+ ];
$this->_ent_replace =
sprintf("&(%s);", implode("|",
@@ -75,7 +75,7 @@ class Auth_Yadis_ParseHTML {
*/
function removeQuotes($str)
{
- $matches = array();
+ $matches = [];
$double = '/^"(.*)"$/';
$single = "/^'(.*)'$/";
@@ -136,16 +136,19 @@ class Auth_Yadis_ParseHTML {
"",
$html_string);
- $key_tags = array($this->tagPattern('html', false, false),
+ $key_tags = [
+ $this->tagPattern('html', false, false),
$this->tagPattern('head', false, false),
$this->tagPattern('head', true, false),
$this->tagPattern('html', true, false),
- $this->tagPattern(array(
+ $this->tagPattern([
'body', 'frameset', 'frame', 'p', 'div',
- 'table','span','a'), 'maybe', 'maybe'));
- $key_tags_pos = array();
+ 'table','span','a'
+ ], 'maybe', 'maybe')
+ ];
+ $key_tags_pos = [];
foreach ($key_tags as $pat) {
- $matches = array();
+ $matches = [];
preg_match($pat, $html_string, $matches, PREG_OFFSET_CAPTURE);
if($matches) {
$key_tags_pos[] = $matches[0][1];
@@ -155,41 +158,41 @@ class Auth_Yadis_ParseHTML {
}
// no opening head tag
if (is_null($key_tags_pos[1])) {
- return array();
+ return [];
}
// the effective </head> is the min of the following
if (is_null($key_tags_pos[2])) {
$key_tags_pos[2] = strlen($html_string);
}
- foreach (array($key_tags_pos[3], $key_tags_pos[4]) as $pos) {
+ foreach ([$key_tags_pos[3], $key_tags_pos[4]] as $pos) {
if (!is_null($pos) && $pos < $key_tags_pos[2]) {
$key_tags_pos[2] = $pos;
}
}
// closing head tag comes before opening head tag
if ($key_tags_pos[1] > $key_tags_pos[2]) {
- return array();
+ return [];
}
// if there is an opening html tag, make sure the opening head tag
// comes after it
if (!is_null($key_tags_pos[0]) && $key_tags_pos[1] < $key_tags_pos[0]) {
- return array();
+ return [];
}
$html_string = substr($html_string, $key_tags_pos[1],
($key_tags_pos[2]-$key_tags_pos[1]));
- $link_data = array();
- $link_matches = array();
+ $link_data = [];
+ $link_matches = [];
if (!preg_match_all($this->tagPattern('meta', false, 'maybe'),
$html_string, $link_matches)) {
- return array();
+ return [];
}
foreach ($link_matches[0] as $link) {
- $attr_matches = array();
+ $attr_matches = [];
preg_match_all($this->_attr_find, $link, $attr_matches);
- $link_attrs = array();
+ $link_attrs = [];
foreach ($attr_matches[0] as $index => $full_match) {
$name = $attr_matches[1][$index];
$value = html_entity_decode(
@@ -221,7 +224,7 @@ class Auth_Yadis_ParseHTML {
foreach ($meta_tags as $tag) {
if (array_key_exists('http-equiv', $tag) &&
(in_array(strtolower($tag['http-equiv']),
- array('x-xrds-location', 'x-yadis-location'))) &&
+ ['x-xrds-location', 'x-yadis-location'])) &&
array_key_exists('content', $tag)) {
return $tag['content'];
}
diff --git a/plugins/openid/lib/Auth/Yadis/PlainHTTPFetcher.php b/plugins/openid/lib/Auth/Yadis/PlainHTTPFetcher.php
index 7a1bbba9..714fc265 100644
--- a/plugins/openid/lib/Auth/Yadis/PlainHTTPFetcher.php
+++ b/plugins/openid/lib/Auth/Yadis/PlainHTTPFetcher.php
@@ -49,7 +49,7 @@ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher {
$stop = time() + $this->timeout;
$off = $this->timeout;
- $headers = array();
+ $headers = [];
$code = '';
$body = '';
@@ -83,15 +83,16 @@ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher {
$user_agent = Auth_OpenID_USER_AGENT;
- $headers = array(
- "GET ".$parts['path'].
- (array_key_exists('query', $parts) ?
- "?".$parts['query'] : "").
- " HTTP/1.0",
- "User-Agent: $user_agent",
- "Host: ".$parts['host'].
- ($specify_port ? ":".$parts['port'] : ""),
- "Port: ".$parts['port']);
+ $headers = [
+ "GET " . $parts['path'] .
+ (array_key_exists('query', $parts) ?
+ "?" . $parts['query'] : "") .
+ " HTTP/1.0",
+ "User-Agent: $user_agent",
+ "Host: " . $parts['host'] .
+ ($specify_port ? ":" . $parts['port'] : ""),
+ "Port: " . $parts['port'],
+ ];
$errno = 0;
$errstr = '';
@@ -129,7 +130,7 @@ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher {
$http_code = explode(" ", $headers[0]);
$code = $http_code[1];
- if (in_array($code, array('301', '302'))) {
+ if (in_array($code, ['301', '302'])) {
$url = $this->_findRedirect($headers, $url);
$redir = true;
} else {
@@ -139,7 +140,7 @@ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher {
$off = $stop - time();
}
- $new_headers = array();
+ $new_headers = [];
foreach ($headers as $header) {
if (preg_match("/:/", $header)) {
@@ -164,7 +165,7 @@ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher {
$parts = parse_url($url);
- $headers = array();
+ $headers = [];
$post_path = $parts['path'];
if (isset($parts['query'])) {
@@ -239,7 +240,7 @@ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher {
$http_code = explode(" ", $headers[0]);
$code = $http_code[1];
- $new_headers = array();
+ $new_headers = [];
foreach ($headers as $header) {
if (preg_match("/:/", $header)) {
diff --git a/plugins/openid/lib/Auth/Yadis/XML.php b/plugins/openid/lib/Auth/Yadis/XML.php
index 3039d54e..04132f44 100644
--- a/plugins/openid/lib/Auth/Yadis/XML.php
+++ b/plugins/openid/lib/Auth/Yadis/XML.php
@@ -96,7 +96,7 @@ class Auth_Yadis_XMLParser {
function &evalXPath($xpath, $node = null)
{
// Not implemented.
- return array();
+ return [];
}
/**
@@ -125,7 +125,7 @@ class Auth_Yadis_XMLParser {
function attributes($node)
{
// Not implemented.
- return array();
+ return [];
}
}
@@ -144,7 +144,7 @@ class Auth_Yadis_domxml extends Auth_Yadis_XMLParser {
$this->xml = null;
$this->doc = null;
$this->xpath = null;
- $this->errors = array();
+ $this->errors = [];
}
function setXML($xml_string)
@@ -176,12 +176,12 @@ class Auth_Yadis_domxml extends Auth_Yadis_XMLParser {
}
if (!$result) {
- $n = array();
+ $n = [];
return $n;
}
if (!$result->nodeset) {
- $n = array();
+ $n = [];
return $n;
}
@@ -199,7 +199,7 @@ class Auth_Yadis_domxml extends Auth_Yadis_XMLParser {
{
if ($node) {
$arr = $node->attributes();
- $result = array();
+ $result = [];
if ($arr) {
foreach ($arr as $attrnode) {
@@ -231,7 +231,7 @@ class Auth_Yadis_dom extends Auth_Yadis_XMLParser {
/** @var DOMXPath */
protected $xpath = null;
- protected $errors = array();
+ protected $errors = [];
function setXML($xml_string)
{
@@ -284,7 +284,7 @@ class Auth_Yadis_dom extends Auth_Yadis_XMLParser {
$result = @$this->xpath->query($xpath);
}
- $n = array();
+ $n = [];
if (!$result) {
return $n;
@@ -314,7 +314,7 @@ class Auth_Yadis_dom extends Auth_Yadis_XMLParser {
if ($node) {
/** @var DOMNamedNodeMap $arr */
$arr = $node->attributes;
- $result = array();
+ $result = [];
if ($arr) {
for ($i = 0; $i < $arr->length; $i++) {
@@ -325,7 +325,7 @@ class Auth_Yadis_dom extends Auth_Yadis_XMLParser {
return $result;
}
- return array();
+ return [];
}
}
@@ -349,8 +349,10 @@ function Auth_Yadis_setDefaultParser($parser)
function Auth_Yadis_getSupportedExtensions()
{
- return array('dom' => 'Auth_Yadis_dom',
- 'domxml' => 'Auth_Yadis_domxml');
+ return [
+ 'dom' => 'Auth_Yadis_dom',
+ 'domxml' => 'Auth_Yadis_domxml',
+ ];
}
/**
diff --git a/plugins/openid/lib/Auth/Yadis/XRDS.php b/plugins/openid/lib/Auth/Yadis/XRDS.php
index 81e0c91b..f6287dae 100644
--- a/plugins/openid/lib/Auth/Yadis/XRDS.php
+++ b/plugins/openid/lib/Auth/Yadis/XRDS.php
@@ -48,8 +48,10 @@ define('Auth_Yadis_XMLNS_XRDS', 'xri://$xrds');
function Auth_Yadis_getNSMap()
{
- return array('xrds' => Auth_Yadis_XMLNS_XRDS,
- 'xrd' => Auth_Yadis_XMLNS_XRD_2_0);
+ return [
+ 'xrds' => Auth_Yadis_XMLNS_XRDS,
+ 'xrd' => Auth_Yadis_XMLNS_XRD_2_0,
+ ];
}
/**
@@ -59,7 +61,7 @@ function Auth_Yadis_getNSMap()
*/
function Auth_Yadis_array_scramble($arr)
{
- $result = array();
+ $result = [];
while (count($arr)) {
$index = array_rand($arr, 1);
@@ -97,7 +99,7 @@ class Auth_Yadis_Service {
*/
function getTypes()
{
- $t = array();
+ $t = [];
foreach ($this->getElements('xrd:Type') as $elem) {
$c = $this->parser->content($elem);
if ($c) {
@@ -109,7 +111,7 @@ class Auth_Yadis_Service {
function matchTypes($type_uris)
{
- $result = array();
+ $result = [];
foreach ($this->getTypes() as $typ) {
if (in_array($typ, $type_uris)) {
@@ -128,8 +130,8 @@ class Auth_Yadis_Service {
*/
function getURIs()
{
- $uris = array();
- $last = array();
+ $uris = [];
+ $last = [];
foreach ($this->getElements('xrd:URI') as $elem) {
$uri_string = $this->parser->content($elem);
@@ -138,7 +140,7 @@ class Auth_Yadis_Service {
array_key_exists('priority', $attrs)) {
$priority = intval($attrs['priority']);
if (!array_key_exists($priority, $uris)) {
- $uris[$priority] = array();
+ $uris[$priority] = [];
}
$uris[$priority][] = $uri_string;
@@ -151,7 +153,7 @@ class Auth_Yadis_Service {
sort($keys);
// Rebuild array of URIs.
- $result = array();
+ $result = [];
foreach ($keys as $k) {
$new_uris = Auth_Yadis_array_scramble($uris[$k]);
$result = array_merge($result, $new_uris);
@@ -271,7 +273,7 @@ class Auth_Yadis_XRDS {
$this->parser = $xmlParser;
$this->xrdNode = $xrdNodes[count($xrdNodes) - 1];
$this->allXrdNodes = $xrdNodes;
- $this->serviceList = array();
+ $this->serviceList = [];
$this->_parse();
}
@@ -346,7 +348,7 @@ class Auth_Yadis_XRDS {
$priority = intval($priority);
if (!array_key_exists($priority, $this->serviceList)) {
- $this->serviceList[$priority] = array();
+ $this->serviceList[$priority] = [];
}
$this->serviceList[$priority][] = $service;
@@ -360,7 +362,7 @@ class Auth_Yadis_XRDS {
*/
function _parse()
{
- $this->serviceList = array();
+ $this->serviceList = [];
$services = $this->parser->evalXPath('xrd:Service', $this->xrdNode);
@@ -415,7 +417,7 @@ class Auth_Yadis_XRDS {
if (!$filters ||
(!is_array($filters))) {
- $result = array();
+ $result = [];
foreach ($pri_keys as $pri) {
$result = array_merge($result, $this->serviceList[$pri]);
}
@@ -424,14 +426,16 @@ class Auth_Yadis_XRDS {
}
// If a bad filter mode is specified, return null.
- if (!in_array($filter_mode, array(SERVICES_YADIS_MATCH_ANY,
- SERVICES_YADIS_MATCH_ALL))) {
+ if (!in_array($filter_mode, [
+ SERVICES_YADIS_MATCH_ANY,
+ SERVICES_YADIS_MATCH_ALL,
+ ])) {
return null;
}
// Otherwise, use the callbacks in the filter list to
// determine which services are returned.
- $filtered = array();
+ $filtered = [];
foreach ($pri_keys as $priority_value) {
$service_obj_list = $this->serviceList[$priority_value];
@@ -442,7 +446,7 @@ class Auth_Yadis_XRDS {
foreach ($filters as $filter) {
- if (call_user_func_array($filter, array($service))) {
+ if (call_user_func_array($filter, [$service])) {
$matches++;
if ($filter_mode == SERVICES_YADIS_MATCH_ANY) {
@@ -452,7 +456,7 @@ class Auth_Yadis_XRDS {
}
if (!array_key_exists($pri, $filtered)) {
- $filtered[$pri] = array();
+ $filtered[$pri] = [];
}
$filtered[$pri][] = $service;
@@ -470,7 +474,7 @@ class Auth_Yadis_XRDS {
}
if (!array_key_exists($pri, $filtered)) {
- $filtered[$pri] = array();
+ $filtered[$pri] = [];
}
$filtered[$pri][] = $service;
}
@@ -480,7 +484,7 @@ class Auth_Yadis_XRDS {
$pri_keys = array_keys($filtered);
sort($pri_keys, SORT_NUMERIC);
- $result = array();
+ $result = [];
foreach ($pri_keys as $pri) {
$result = array_merge($result, $filtered[$pri]);
}
diff --git a/plugins/openid/lib/Auth/Yadis/XRI.php b/plugins/openid/lib/Auth/Yadis/XRI.php
index 50c291f9..cd8b9600 100644
--- a/plugins/openid/lib/Auth/Yadis/XRI.php
+++ b/plugins/openid/lib/Auth/Yadis/XRI.php
@@ -20,12 +20,12 @@ function Auth_Yadis_getDefaultProxy()
function Auth_Yadis_getXRIAuthorities()
{
- return array('!', '=', '@', '+', '$', '(');
+ return ['!', '=', '@', '+', '$', '('];
}
function Auth_Yadis_getEscapeRE()
{
- $parts = array();
+ $parts = [];
foreach (array_merge(Auth_Yadis_getUCSChars(),
Auth_Yadis_getIPrivateChars()) as $pair) {
list($m, $n) = $pair;
@@ -112,9 +112,9 @@ function Auth_Yadis_XRIAppendArgs($url, $args)
} else {
$keys = array_keys($args);
sort($keys);
- $new_args = array();
+ $new_args = [];
foreach ($keys as $key) {
- $new_args[] = array($key, $args[$key]);
+ $new_args[] = [$key, $args[$key]];
}
$args = $new_args;
}
@@ -166,7 +166,7 @@ function Auth_Yadis_rootAuthority($xri)
} else {
// IRI reference.
$_segments = explode("!", $authority);
- $segments = array();
+ $segments = [];
foreach ($_segments as $s) {
$segments = array_merge($segments, explode("*", $s));
}
diff --git a/plugins/openid/lib/Auth/Yadis/XRIRes.php b/plugins/openid/lib/Auth/Yadis/XRIRes.php
index cdf7ef58..388f4335 100644
--- a/plugins/openid/lib/Auth/Yadis/XRIRes.php
+++ b/plugins/openid/lib/Auth/Yadis/XRIRes.php
@@ -26,9 +26,9 @@ class Auth_Yadis_ProxyResolver {
// trim off the xri:// prefix
$qxri = substr(Auth_Yadis_toURINormal($xri), 6);
$hxri = $this->proxy_url . $qxri;
- $args = array(
- '_xrd_r' => 'application/xrds+xml'
- );
+ $args = [
+ '_xrd_r' => 'application/xrds+xml',
+ ];
if ($service_type) {
$args['_xrd_t'] = $service_type;
@@ -41,9 +41,9 @@ class Auth_Yadis_ProxyResolver {
return $query;
}
- function query($xri, $service_types, $filters = array())
+ function query($xri, $service_types, $filters = [])
{
- $services = array();
+ $services = [];
$canonicalID = null;
foreach ($service_types as $service_type) {
$url = $this->queryURL($xri, $service_type);
@@ -69,7 +69,7 @@ class Auth_Yadis_ProxyResolver {
// almost certainly going to have duplicated service
// entries and broken priority ordering.
}
- return array($canonicalID, $services);
+ return [$canonicalID, $services];
}
}
diff --git a/plugins/openid/lib/Auth/Yadis/Yadis.php b/plugins/openid/lib/Auth/Yadis/Yadis.php
index 70dc944d..5e435eb8 100644
--- a/plugins/openid/lib/Auth/Yadis/Yadis.php
+++ b/plugins/openid/lib/Auth/Yadis/Yadis.php
@@ -144,25 +144,27 @@ function Auth_Yadis_getServiceEndpoints($input_url, $xrds_parse_func,
$discover_func=null, $fetcher=null)
{
if ($discover_func === null) {
- $discover_func = array('Auth_Yadis_Yadis', 'discover');
+ $discover_func = ['Auth_Yadis_Yadis', 'discover'];
}
$yadis_result = call_user_func_array($discover_func,
- array($input_url, $fetcher));
+ [$input_url, $fetcher]);
if ($yadis_result === null) {
- return array($input_url, array());
+ return [$input_url, []];
}
$endpoints = call_user_func_array($xrds_parse_func,
- array($yadis_result->normalized_uri,
- $yadis_result->response_text));
+ [
+ $yadis_result->normalized_uri,
+ $yadis_result->response_text,
+ ]);
if ($endpoints === null) {
- $endpoints = array();
+ $endpoints = [];
}
- return array($yadis_result->normalized_uri, $endpoints);
+ return [$yadis_result->normalized_uri, $endpoints];
}
/**
@@ -334,8 +336,10 @@ class Auth_Yadis_Yadis {
{
$result = new Auth_Yadis_DiscoveryResult($uri);
- $headers = array("Accept: " . Auth_Yadis_CONTENT_TYPE .
- ', text/html; q=0.3, application/xhtml+xml; q=0.5');
+ $headers = [
+ "Accept: " . Auth_Yadis_CONTENT_TYPE .
+ ', text/html; q=0.3, application/xhtml+xml; q=0.5',
+ ];
if ($fetcher === null) {
$fetcher = Auth_Yadis_Yadis::getHTTPFetcher($timeout);
@@ -352,7 +356,7 @@ class Auth_Yadis_Yadis {
$result->normalized_uri = $response->final_url;
$result->content_type = Auth_Yadis_Yadis::_getHeader(
$response->headers,
- array('content-type'));
+ ['content-type']);
if ($result->content_type &&
(Auth_Yadis_Yadis::_getContentType($result->content_type) ==
@@ -361,7 +365,7 @@ class Auth_Yadis_Yadis {
} else {
$yadis_location = Auth_Yadis_Yadis::_getHeader(
$response->headers,
- array(Auth_Yadis_HEADER_NAME));
+ [Auth_Yadis_HEADER_NAME]);
if (!$yadis_location) {
$parser = new Auth_Yadis_ParseHTML();
@@ -381,7 +385,7 @@ class Auth_Yadis_Yadis {
$result->content_type = Auth_Yadis_Yadis::_getHeader(
$response->headers,
- array('content-type'));
+ ['content-type']);
}
}
diff --git a/plugins/openid/localization/openid.pot b/plugins/openid/localization/openid.pot
index 49d3e9fc..1ec5e6cf 100644
--- a/plugins/openid/localization/openid.pot
+++ b/plugins/openid/localization/openid.pot
@@ -1,538 +1,475 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR DiSo Development Team
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
+# Copyright (C) 2022 DiSo Development Team
+# This file is distributed under the Apache 2.0.
msgid ""
msgstr ""
-"Project-Id-Version: OpenID 3.4-trunk\n"
-"Report-Msgid-Bugs-To: http://wordpress.org/tag/openid\n"
-"POT-Creation-Date: 2009-10-01 15:34-0700\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
+"Project-Id-Version: OpenID 3.6.1\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordpress-openid\n"
+"POT-Creation-Date: 2022-06-12 18:23:39+00:00\n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+"PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"X-Generator: grunt-wp-i18n 1.0.3\n"
#: admin_panels.php:25
msgid "OpenID options"
msgstr ""
-#. #-#-#-#-# openid.pot (OpenID 3.4-trunk) #-#-#-#-#
-#. Plugin Name of an extension
-#: admin_panels.php:25
+#. Plugin Name of the plugin/theme
msgid "OpenID"
msgstr ""
-#: admin_panels.php:30
+#: admin_panels.php:35
msgid "Your OpenIDs"
msgstr ""
-#: admin_panels.php:44 admin_panels.php:45 admin_panels.php:423
+#: admin_panels.php:56 admin_panels.php:57 admin_panels.php:506
msgid "Your Trusted Sites"
msgstr ""
-#: admin_panels.php:57 admin_panels.php:61 admin_panels.php:149
+#: admin_panels.php:83 admin_panels.php:92 admin_panels.php:184
msgid "OpenID Settings"
msgstr ""
-#: admin_panels.php:112
+#: admin_panels.php:149
msgid "Settings"
msgstr ""
-#: admin_panels.php:133
+#: admin_panels.php:170
msgid "OpenID cache refreshed."
msgstr ""
-#: admin_panels.php:151
-msgid ""
-"Please note that all OpenID Consumer options have been moved to their "
-"respective sections of the <a href=\"options-general.php\">General Settings</"
-"a> and <a href=\"options-discussion.php\">Discussion Settings</a> pages."
-msgstr ""
-
-#: admin_panels.php:160
-msgid ""
-"The OpenID Provider allows authorized users to use their author URL as an "
-"OpenID, either using their local WordPress username and password, or by "
-"delegating to another OpenID Provider."
-msgstr ""
-
-#: admin_panels.php:166
+#: admin_panels.php:215
msgid "Enable OpenID"
msgstr ""
-#: admin_panels.php:169
+#: admin_panels.php:218
msgid "Enable the local OpenID Provider for these roles:"
msgstr ""
-#: admin_panels.php:192
+#: admin_panels.php:247
msgid "Blog Owner"
msgstr ""
-#: admin_panels.php:195
-#, php-format
-msgid ""
-"Authorized accounts on this blog can use their author URL (i.e. <em>%1$s</"
-"em>) as an OpenID. The Blog Owner will be able to use the blog address (%2"
-"$s) as their OpenID. If this is a single-user blog, you should set this to "
-"your account."
-msgstr ""
-
-#: admin_panels.php:205
-msgid ""
-"A Blog Owner cannot be set for this blog. To set a Blog Owner, first remove "
-"the following line from your <code>wp-config.php</code>:"
-msgstr ""
-
-#: admin_panels.php:213
+#: admin_panels.php:279
msgid "(none)"
msgstr ""
-#: admin_panels.php:223
-#, php-format
+#: admin_panels.php:288
msgid "Only the current Blog Owner (%s) can change this setting."
msgstr ""
-#: admin_panels.php:235
+#: admin_panels.php:300
msgid "Troubleshooting"
msgstr ""
-#: admin_panels.php:239
-#, php-format
+#: admin_panels.php:307
msgid ""
-"If users are experiencing problems logging in with OpenID, it may help to %1"
-"$srefresh the cache%2$s."
+"If users are experiencing problems logging in with OpenID, it may help to "
+"%1$srefresh the cache%2$s."
msgstr ""
-#: admin_panels.php:246
+#: admin_panels.php:318
msgid "Save Changes"
msgstr ""
-#: admin_panels.php:266
+#: admin_panels.php:340
msgid "Success:"
msgstr ""
-#: admin_panels.php:269
+#: admin_panels.php:342
msgid "Warning:"
msgstr ""
-#: admin_panels.php:272 admin_panels.php:276
+#: admin_panels.php:344 admin_panels.php:348
msgid "Error:"
msgstr ""
-#: admin_panels.php:288
+#: admin_panels.php:358
msgid "Your Verified OpenIDs"
msgstr ""
-#: admin_panels.php:290
-msgid ""
-"You may associate one or more OpenIDs with your account. This will allow "
-"you to login to WordPress with your OpenID instead of a username and "
-"password. <a href=\"http://openid.net/what/\" target=\"_blank\">Learn "
-"more...</a>"
-msgstr ""
-
-#: admin_panels.php:297 admin_panels.php:432
+#: admin_panels.php:374 admin_panels.php:522
msgid "Bulk Actions"
msgstr ""
-#: admin_panels.php:298 admin_panels.php:433
+#: admin_panels.php:375 admin_panels.php:523
msgid "Delete"
msgstr ""
-#: admin_panels.php:300 admin_panels.php:435
+#: admin_panels.php:377 admin_panels.php:525
msgid "Apply"
msgstr ""
-#: admin_panels.php:312
+#: admin_panels.php:389
msgid "Account"
msgstr ""
-#: admin_panels.php:321
+#: admin_panels.php:398
msgid "No Verified Accounts."
msgstr ""
-#: admin_panels.php:340 admin_panels.php:346
+#: admin_panels.php:417 admin_panels.php:423
msgid "Add OpenID"
msgstr ""
-#: admin_panels.php:387
-#, php-format
+#: admin_panels.php:470
msgid "Added %d trusted site."
msgid_plural "Added %d trusted sites."
msgstr[0] ""
msgstr[1] ""
-#: admin_panels.php:410
-#, php-format
+#: admin_panels.php:495
msgid "Deleted %d trusted site."
msgid_plural "Deleted %d trusted sites."
msgstr[0] ""
msgstr[1] ""
-#: admin_panels.php:425
-msgid ""
-"This is a list of sites that you can automatically login to using your "
-"OpenID account. You will not be asked to approve OpenID login requests for "
-"your trusted sites."
-msgstr ""
-
-#: admin_panels.php:447
+#: admin_panels.php:537
msgid "URL"
msgstr ""
-#: admin_panels.php:448
+#: admin_panels.php:538
msgid "Last Login"
msgstr ""
-#: admin_panels.php:456
+#: admin_panels.php:546
msgid "No Trusted Sites."
msgstr ""
-#: admin_panels.php:487
+#: admin_panels.php:577
msgid "Import Trusted Sites"
msgstr ""
-#: admin_panels.php:489
+#: admin_panels.php:579
msgid "Enter a list of URLs to be added to your Trusted Sites."
msgstr ""
-#: admin_panels.php:493 admin_panels.php:503
+#: admin_panels.php:583 admin_panels.php:593
msgid "Add Sites"
msgstr ""
-#: admin_panels.php:495
+#: admin_panels.php:585
msgid "(One URL per line)"
msgstr ""
-#: admin_panels.php:589
+#: admin_panels.php:685
msgid "Status information:"
msgstr ""
-#: admin_panels.php:589
+#: admin_panels.php:685
msgid "All Systems Nominal"
msgstr ""
-#: admin_panels.php:590
+#: admin_panels.php:686
msgid "System Status"
msgstr ""
-#: admin_panels.php:590
+#: admin_panels.php:686
msgid "Toggle More/Less"
msgstr ""
-#: admin_panels.php:592
+#: admin_panels.php:688
msgid ""
"Plugin is currently disabled. Fix the problem, then Deactivate/Reactivate "
"the plugin."
msgstr ""
-#: admin_panels.php:600
+#: admin_panels.php:696
msgid "FAIL"
msgstr ""
-#: admin_panels.php:602
+#: admin_panels.php:698
msgid "OK"
msgstr ""
-#: admin_panels.php:604
+#: admin_panels.php:700
msgid "INFO"
msgstr ""
-#: admin_panels.php:638
+#: admin_panels.php:734
msgid "You already have this OpenID!"
msgstr ""
-#: admin_panels.php:640
+#: admin_panels.php:736
msgid "This OpenID is already associated with another user."
msgstr ""
-#: admin_panels.php:661
+#: admin_panels.php:757
msgid "Unable to authenticate OpenID."
msgstr ""
-#: admin_panels.php:662
+#: admin_panels.php:758
msgid ""
-"OpenID assertion successful, but this URL is already associated with another "
-"user on this blog."
+"OpenID assertion successful, but this URL is already associated with "
+"another user on this blog."
msgstr ""
-#: admin_panels.php:663
+#: admin_panels.php:759
msgid "Added association with OpenID."
msgstr ""
-#: admin_panels.php:675 admin_panels.php:745
+#: admin_panels.php:771 admin_panels.php:845
msgid ""
"<strong>Note:</strong> For security reasons, your profile URL has been "
"updated to match your OpenID."
msgstr ""
-#: admin_panels.php:701 admin_panels.php:718
+#: admin_panels.php:799 admin_panels.php:815
msgid "OpenID Warning"
msgstr ""
-#: admin_panels.php:703
+#: admin_panels.php:801
msgid ""
"Are you sure you want to delete all of your OpenID associations? Doing so "
"may prevent you from logging in."
msgstr ""
-#: admin_panels.php:705
+#: admin_panels.php:803
msgid "Yes I'm sure. Delete."
msgstr ""
-#: admin_panels.php:706
+#: admin_panels.php:804
msgid "No, don't delete."
msgstr ""
-#: admin_panels.php:733
-#, php-format
+#: admin_panels.php:829
msgid "Deleted %d OpenID association."
msgid_plural "Deleted %d OpenID associations."
msgstr[0] ""
msgstr[1] ""
-#: admin_panels.php:751
+#: admin_panels.php:851
msgid "OpenID association delete failed: Unknown reason."
msgstr ""
-#: admin_panels.php:807
-#, php-format
+#: admin_panels.php:917
msgid ""
-"For security reasons, your profile URL must be one of your claimed OpenIDs: %"
-"s"
+"For security reasons, your profile URL must be one of your claimed OpenIDs: "
+"%s"
msgstr ""
-#: admin_panels.php:844
+#: admin_panels.php:961
msgid "OpenID Delegation"
msgstr ""
-#: admin_panels.php:846
+#: admin_panels.php:963
msgid ""
"OpenID Delegation allows you to use an external OpenID provider of your "
"choice."
msgstr ""
-#: admin_panels.php:849
+#: admin_panels.php:966
msgid "To delegate, enter a valid OpenID. Otherwise leave this blank."
msgstr ""
-#: admin_panels.php:886
-#, php-format
+#: admin_panels.php:1005
msgid "Unable to find any OpenID information for delegate URL %s"
msgstr ""
-#: admin_panels.php:896
+#: admin_panels.php:1015
msgid "You cannot delegate to an OpenID provider which uses Identifier Select."
msgstr ""
-#: admin_panels.php:917
+#: admin_panels.php:1036 admin_panels.php:1076
msgid "New accounts can only be created with verified OpenIDs."
msgstr ""
-#: admin_panels.php:956
-msgid "New accounts can only be created with verified OpenIDs"
-msgstr ""
-
-#: admin_panels.php:979
+#: admin_panels.php:1103
msgid "Enable OpenID for comments"
msgstr ""
-#: admin_panels.php:989
+#: admin_panels.php:1116
msgid "Do not require name and e-mail for comments left with a verified OpenID"
msgstr ""
-#: admin_panels.php:997
+#: admin_panels.php:1127
msgid "Always approve comments left with a verified OpenID"
msgstr ""
-#: comments.php:106
+#: comments.php:111
msgid "Error: please fill the required fields (name, email)."
msgstr ""
-#: comments.php:108
+#: comments.php:113
msgid "Error: please enter a valid email address."
msgstr ""
-#: comments.php:258
-msgid ""
-"Authenticate this comment using <span class=\"openid_link\">OpenID</span>."
+#: comments.php:264
+msgid "Authenticate this comment using <span class=\"openid_link\">OpenID</span>."
msgstr ""
-#: comments.php:271 comments.php:289
+#: comments.php:277 comments.php:294
msgid "OpenID Authentication Error"
msgstr ""
-#: comments.php:272
+#: comments.php:278
msgid ""
-"We were unable to authenticate your claimed OpenID, however you can continue "
-"to post your comment without OpenID:"
+"We were unable to authenticate your claimed OpenID, however you can "
+"continue to post your comment without OpenID:"
msgstr ""
-#: comments.php:280
+#: comments.php:285
msgid "Submit Comment"
msgstr ""
-#: common.php:342
+#: common.php:374
msgid ""
-"User was created fine, but wp_login() for the new user failed. This is "
+"User was created fine, but wp_signon() for the new user failed. This is "
"probably a bug."
msgstr ""
-#: common.php:363
+#: common.php:398
msgid ""
"OpenID authentication successful, but failed to create WordPress user. This "
"is probably a bug."
msgstr ""
-#: common.php:680
+#: common.php:728
msgid ""
"Since your browser does not support JavaScript, you must press the Continue "
"button once to proceed."
msgstr ""
-#: common.php:688 server.php:236 server.php:480
+#: common.php:738 server.php:285 server.php:534
msgid "Continue"
msgstr ""
-#: common.php:692
+#: common.php:742
msgid "Please Wait..."
msgstr ""
-#: common.php:696
+#: common.php:746
msgid "OpenID Authentication Redirect"
msgstr ""
-#: consumer.php:90
+#: consumer.php:87
msgid "OpenID login was cancelled."
msgstr ""
-#: consumer.php:95
-#, php-format
+#: consumer.php:92
msgid "OpenID login failed: %s"
msgstr ""
-#: consumer.php:100
+#: consumer.php:97
msgid "OpenID login successful"
msgstr ""
-#: consumer.php:108
+#: consumer.php:105
msgid "Unknown Status. Bind not successful. This is probably a bug."
msgstr ""
#: consumer.php:155
-#, php-format
msgid "Could not discover an OpenID identity server endpoint at the url: %s"
msgstr ""
-#: login.php:47
+#: login.php:39
+msgid "Error during OpenID authentication. Please try again. (invalid nonce)"
+msgstr ""
+
+#: login.php:48
msgid ""
"Your have entered a valid OpenID, but this site is not currently accepting "
"new accounts."
msgstr ""
-#: login.php:126
+#: login.php:82
+msgid "Unable to create a new user."
+msgstr ""
+
+#: login.php:149
msgid "Or login using an OpenID"
msgstr ""
-#: login.php:131 login.php:179
+#: login.php:154 login.php:194
msgid "Learn about OpenID"
msgstr ""
-#: login.php:146
+#: login.php:172
msgid "Register using an OpenID:"
msgstr ""
-#: login.php:159
+#: login.php:174
msgid "Or register using an OpenID:"
msgstr ""
-#: login.php:205 login.php:216
+#: login.php:222 login.php:233
msgid "<strong>ERROR</strong>: "
msgstr ""
-#: login.php:205
+#: login.php:222
msgid "New users must register using OpenID."
msgstr ""
-#: server.php:227
+#: server.php:276
msgid "OpenID Login Error"
msgstr ""
-#: server.php:229
-#, php-format
+#: server.php:278
msgid ""
"Because you have delegated your OpenID, you cannot login with the URL "
"<strong>%s</strong>. Instead, you must use your full OpenID when logging in."
msgstr ""
-#: server.php:231
-#, php-format
+#: server.php:280
msgid "Your full OpenID is: %s"
msgstr ""
-#: server.php:459
-#, php-format
+#: server.php:513
msgid "Logged in as %1$s (%2$s). <a href=\"%3$s\">Use a different account?</a>"
msgstr ""
-#: server.php:466 server.php:500
+#: server.php:520 server.php:556
msgid "Verify Your Identity"
msgstr ""
-#: server.php:468
-#, php-format
+#: server.php:522
msgid "%s has asked to verify your identity."
msgstr ""
-#: server.php:472
+#: server.php:526
msgid ""
"Click <strong>Continue</strong> to verify your identity and login without "
"creating a new password."
msgstr ""
-#: server.php:479
+#: server.php:533
msgid "Cancel and go back"
msgstr ""
-#: server.php:484
-#, php-format
+#: server.php:539
msgid ""
"Manage or remove access on the <a href=\"%s\" target=\"_blank\">Trusted "
"Sites</a> page."
msgstr ""
-#: server.php:488
-#, php-format
+#: server.php:544
msgid ""
"<a href=\"%s\" target=\"_blank\">Edit your profile</a> to change the "
"information that gets shared with Trusted Sites."
msgstr ""
#: server_ext.php:63
-#, php-format
msgid "Also grant access to see my %s."
msgstr ""
-#. Plugin URI of an extension
-msgid "http://wordpress.org/extend/plugins/openid"
+#. Plugin URI of the plugin/theme
+msgid "https://wordpress.org/plugins/openid"
msgstr ""
-#. Description of an extension
+#. Description of the plugin/theme
msgid ""
"Allows the use of OpenID for account registration, authentication, and "
"commenting. Also includes an OpenID provider which can turn WordPress "
"author URLs into OpenIDs."
msgstr ""
-#. Author of an extension
+#. Author of the plugin/theme
msgid "DiSo Development Team"
msgstr ""
-#. Author URI of an extension
+#. Author URI of the plugin/theme
msgid "http://diso-project.org/"
-msgstr ""
+msgstr "" \ No newline at end of file
diff --git a/plugins/openid/login.php b/plugins/openid/login.php
index c0b95a1d..0c21bec7 100644
--- a/plugins/openid/login.php
+++ b/plugins/openid/login.php
@@ -5,13 +5,13 @@
*/
-add_action( 'login_head', 'openid_wp_login_head');
-add_action( 'login_form', 'openid_wp_login_form');
-add_action( 'register_form', 'openid_wp_register_form', 9);
-add_action( 'register_post', 'openid_register_post', 10, 3);
-add_action( 'openid_finish_auth', 'openid_finish_login', 10, 2);
-add_filter( 'registration_errors', 'openid_clean_registration_errors', -99);
-add_filter( 'registration_errors', 'openid_registration_errors');
+add_action( 'login_head', 'openid_wp_login_head' );
+add_action( 'login_form', 'openid_wp_login_form' );
+add_action( 'register_form', 'openid_wp_register_form', 9 );
+add_action( 'register_post', 'openid_register_post', 10, 3 );
+add_action( 'openid_finish_auth', 'openid_finish_login', 10, 2 );
+add_filter( 'registration_errors', 'openid_clean_registration_errors', -99 );
+add_filter( 'registration_errors', 'openid_registration_errors' );
add_action( 'init', 'openid_login_errors' );
@@ -20,37 +20,36 @@ add_action( 'init', 'openid_login_errors' );
*
* @param mixed $user authenticated user object, or WP_Error or null
*/
-function openid_authenticate($user) {
- if ( array_key_exists('openid_identifier', $_POST) && $_POST['openid_identifier'] ) {
+function openid_authenticate( $user ) {
+ if ( array_key_exists( 'openid_identifier', $_POST ) && $_POST['openid_identifier'] ) {
- $redirect_to = array_key_exists('redirect_to', $_REQUEST) ? $_REQUEST['redirect_to'] : null;
- openid_start_login($_POST['openid_identifier'], 'login', $redirect_to);
+ $redirect_to = array_key_exists( 'redirect_to', $_REQUEST ) ? $_REQUEST['redirect_to'] : null;
+ openid_start_login( $_POST['openid_identifier'], 'login', $redirect_to );
// if we got this far, something is wrong
global $error;
$error = openid_message();
- $user = new WP_Error( 'openid_login_error', $error );
+ $user = new WP_Error( 'openid_login_error', $error );
- } else if ( array_key_exists('finish_openid', $_REQUEST) ) {
+ } elseif ( array_key_exists( 'finish_openid', $_REQUEST ) ) {
- $identity_url= $_REQUEST['identity_url'];
+ $identity_url = $_REQUEST['identity_url'];
- if ( !wp_verify_nonce($_REQUEST['_wpnonce'], 'openid_login_' . md5($identity_url)) ) {
- $user = new WP_Error('openid_login_error', __('Error during OpenID authentication. Please try again. (invalid nonce)', 'openid'));
+ if ( ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'openid_login_' . md5( $identity_url ) ) ) {
+ $user = new WP_Error( 'openid_login_error', __( 'Error during OpenID authentication. Please try again. (invalid nonce)', 'openid' ) );
return $user;
}
if ( $identity_url ) {
- $user_id = get_user_by_openid($identity_url);
+ $user_id = get_user_by_openid( $identity_url );
if ( $user_id ) {
- $user = new WP_User($user_id);
+ $user = new WP_User( $user_id );
} else {
- $user = new WP_Error('openid_registration_closed', __('Your have entered a valid OpenID, but this site is not currently accepting new accounts.', 'openid'));
+ $user = new WP_Error( 'openid_registration_closed', __( 'Your have entered a valid OpenID, but this site is not currently accepting new accounts.', 'openid' ) );
}
- } else if ( array_key_exists('openid_error', $_REQUEST) ) {
- $user = new WP_Error('openid_login_error', htmlentities2($_REQUEST['openid_error']));
+ } elseif ( array_key_exists( 'openid_error', $_REQUEST ) ) {
+ $user = new WP_Error( 'openid_login_error', htmlentities2( $_REQUEST['openid_error'] ) );
}
-
}
return $user;
@@ -64,46 +63,51 @@ add_action( 'authenticate', 'openid_authenticate' );
*
* @param string $identity_url verified OpenID URL
*/
-function openid_finish_login($identity_url, $action) {
- if ($action != 'login') return;
+function openid_finish_login( $identity_url, $action ) {
+ if ( $action != 'login' ) {
+ return;
+ }
- if ($identity_url) {
+ if ( $identity_url ) {
// create new user account if appropriate
- $user_id = get_user_by_openid($identity_url);
- $user_data = openid_get_user_data($identity_url);
+ $user_id = get_user_by_openid( $identity_url );
+ $user_data = openid_get_user_data( $identity_url );
- if (!$user_id) {
- if (get_option('users_can_register')) {
+ if ( ! $user_id ) {
+ if ( get_option( 'users_can_register' ) ) {
// registration is enabled so create a new user
- openid_create_new_user($identity_url, $user_data);
+ openid_create_new_user( $identity_url, $user_data );
} else {
// generate a error because it is not possible to create a new user
- openid_message(__('Unable to create a new user.', 'openid'));
- openid_status('error');
+ openid_message( __( 'Unable to create a new user.', 'openid' ) );
+ openid_status( 'error' );
}
} else {
- do_action('openid_consumer_update_user_custom_data', $user_id, $user_data);
+ do_action( 'openid_consumer_update_user_custom_data', $user_id, $user_data );
}
}
// return to wp-login page
- $url = get_option('siteurl') . '/wp-login.php';
+ $url = get_option( 'siteurl' ) . '/wp-login.php';
$status = openid_status();
- $error = openid_message();
+ $error = openid_message();
- if ($status == 'error' && !empty($error)) {
- $url = add_query_arg('openid_error', openid_message(), $url);
+ if ( $status == 'error' && ! empty( $error ) ) {
+ $url = add_query_arg( 'openid_error', openid_message(), $url );
}
- $url = add_query_arg( array(
- 'finish_openid' => 1,
- 'identity_url' => urlencode($identity_url),
- 'redirect_to' => $_SESSION['openid_finish_url'],
- '_wpnonce' => wp_create_nonce('openid_login_' . md5($identity_url)),
- ), $url);
-
- wp_safe_redirect($url);
+ $url = add_query_arg(
+ array(
+ 'finish_openid' => 1,
+ 'identity_url' => urlencode( $identity_url ),
+ 'redirect_to' => $_SESSION['openid_finish_url'],
+ '_wpnonce' => wp_create_nonce( 'openid_login_' . md5( $identity_url ) ),
+ ),
+ $url
+ );
+
+ wp_safe_redirect( $url );
exit;
}
@@ -113,11 +117,13 @@ function openid_finish_login($identity_url, $action) {
*/
function openid_login_errors() {
$self = basename( $GLOBALS['pagenow'] );
- if ($self != 'wp-login.php') return;
+ if ( $self != 'wp-login.php' ) {
+ return;
+ }
- if ( array_key_exists('openid_error', $_REQUEST) ) {
+ if ( array_key_exists( 'openid_error', $_REQUEST ) ) {
global $error;
- $error = htmlentities2($_REQUEST['openid_error']);
+ $error = htmlentities2( $_REQUEST['openid_error'] );
}
}
@@ -140,12 +146,12 @@ function openid_wp_login_form() {
echo '
<p style="margin-bottom: 8px;">
- <label style="display: block; margin-bottom: 5px;">' . __('Or login using an OpenID', 'openid') . '<br />
+ <label style="display: block; margin-bottom: 5px;">' . __( 'Or login using an OpenID', 'openid' ) . '<br />
<input type="text" name="openid_identifier" id="openid_identifier" class="input openid_identifier" value="" size="20" tabindex="25" /></label>
</p>
<p style="font-size: 0.9em; margin: 8px 0 24px 0;" id="what_is_openid">
- <a href="http://openid.net/what/" target="_blank">'.__('Learn about OpenID', 'openid').'</a>
+ <a href="http://openid.net/what/" target="_blank">' . __( 'Learn about OpenID', 'openid' ) . '</a>
</p>';
}
@@ -159,13 +165,13 @@ function openid_wp_register_form() {
echo '
<div style="width:100%;">'; //Added to fix IE problem
- if (get_option('openid_required_for_registration')) {
- wp_enqueue_script('jquery');
- wp_enqueue_script('openid-register', plugin_dir_url(__FILE__) . 'f/register.js', array('jquery'), OPENID_PLUGIN_REVISION);
+ if ( get_option( 'openid_required_for_registration' ) ) {
+ wp_enqueue_script( 'jquery' );
+ wp_enqueue_script( 'openid-register', plugin_dir_url( __FILE__ ) . 'f/register.js', array( 'jquery' ), OPENID_PLUGIN_REVISION );
- $label = __('Register using an OpenID:', 'openid');
+ $label = __( 'Register using an OpenID:', 'openid' );
} else {
- $label = __('Or register using an OpenID:', 'openid');
+ $label = __( 'Or register using an OpenID:', 'openid' );
echo '<hr id="openid_split" style="clear: both; margin-bottom: 1.5em; border: 0; border-top: 1px solid #999; height: 1px;" />';
@@ -185,7 +191,7 @@ function openid_wp_register_form() {
</p>
<p style="float: left; font-size: 0.8em; margin: 0.8em 0;" id="what_is_openid">
- <a href="http://openid.net/what/" target="_blank">'.__('Learn about OpenID', 'openid').'</a>
+ <a href="http://openid.net/what/" target="_blank">' . __( 'Learn about OpenID', 'openid' ) . '</a>
</p>
</div>';
@@ -196,22 +202,24 @@ function openid_wp_register_form() {
/**
* Clean out registration errors that don't apply.
*/
-function openid_clean_registration_errors($errors) {
- if (get_option('openid_required_for_registration') || !empty($_POST['openid_identifier'])) {
+function openid_clean_registration_errors( $errors ) {
+ if ( get_option( 'openid_required_for_registration' ) || ! empty( $_POST['openid_identifier'] ) ) {
$new = new WP_Error();
- foreach ($errors->get_error_codes() as $code) {
- if (in_array($code, array('empty_username', 'empty_email'))) continue;
+ foreach ( $errors->get_error_codes() as $code ) {
+ if ( in_array( $code, array( 'empty_username', 'empty_email' ) ) ) {
+ continue;
+ }
- $message = $errors->get_error_message($code);
- $data = $errors->get_error_data($code);
- $new->add($code, $message, $data);
+ $message = $errors->get_error_message( $code );
+ $data = $errors->get_error_data( $code );
+ $new->add( $code, $message, $data );
}
$errors = $new;
}
- if (get_option('openid_required_for_registration') && empty($_POST['openid_identifier'])) {
- $errors->add('openid_only', __('<strong>ERROR</strong>: ', 'openid') . __('New users must register using OpenID.', 'openid'));
+ if ( get_option( 'openid_required_for_registration' ) && empty( $_POST['openid_identifier'] ) ) {
+ $errors->add( 'openid_only', __( '<strong>ERROR</strong>: ', 'openid' ) . __( 'New users must register using OpenID.', 'openid' ) );
}
return $errors;
@@ -220,9 +228,9 @@ function openid_clean_registration_errors($errors) {
/**
* Handle WordPress registration errors.
*/
-function openid_registration_errors($errors) {
- if (!empty($_POST['openid_identifier'])) {
- $errors->add('invalid_openid', __('<strong>ERROR</strong>: ', 'openid') . openid_message());
+function openid_registration_errors( $errors ) {
+ if ( ! empty( $_POST['openid_identifier'] ) ) {
+ $errors->add( 'invalid_openid', __( '<strong>ERROR</strong>: ', 'openid' ) . openid_message() );
}
return $errors;
@@ -232,8 +240,8 @@ function openid_registration_errors($errors) {
/**
* Handle WordPress registrations.
*/
-function openid_register_post($username, $password, $errors) {
- if ( !empty($_POST['openid_identifier']) ) {
+function openid_register_post( $username, $password, $errors ) {
+ if ( ! empty( $_POST['openid_identifier'] ) ) {
wp_signon();
}
}
diff --git a/plugins/openid/openid.php b/plugins/openid/openid.php
index 86fb4725..5a2ecd0a 100644
--- a/plugins/openid/openid.php
+++ b/plugins/openid/openid.php
@@ -5,8 +5,8 @@
* Description: Allows the use of OpenID for account registration, authentication, and commenting. Also includes an OpenID provider which can turn WordPress author URLs into OpenIDs.
* Author: DiSo Development Team
* Author URI: http://diso-project.org/
- * Version: 3.5.0
- * Requires PHP: 5.3
+ * Version: 3.6.1
+ * Requires PHP: 5.6
* License: Apache 2.0
* License URI: https://www.apache.org/licenses/LICENSE-2.0
* Text Domain: openid
@@ -186,7 +186,7 @@ if ( ! function_exists( 'get_userdata_by_various' ) ) :
return false;
}
return $user->data;
- } else if ( is_numeric( $id_or_name ) ) {
+ } elseif ( is_numeric( $id_or_name ) ) {
return get_user_by( 'id', $id_or_name );
} else {
return get_user_by( 'login', $id_or_name );
diff --git a/plugins/openid/readme.txt b/plugins/openid/readme.txt
index 56cbd1c9..5ec8714d 100644
--- a/plugins/openid/readme.txt
+++ b/plugins/openid/readme.txt
@@ -2,10 +2,10 @@
Contributors: willnorris, factoryjoe, pfefferle
Tags: openid, authentication, login, comments
Requires at least: 2.8
-Tested up to: 5.1
-Stable tag: 3.5.0
-Requires PHP: 5.3
-License: Apache 2.0
+Tested up to: 6.0
+Stable tag: 3.6.1
+Requires PHP: 5.6
+License: Apache-2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0
Allows WordPress to provide and consumer OpenIDs for authentication of users and comments.
@@ -99,6 +99,15 @@ report at <http://code.google.com/p/diso/issues/list>.
Project maintined on github at
[diso/wordpress-openid](https://github.com/diso/wordpress-openid).
+= version 3.6.1 (June 2022) =
+ - fixed PHP 8 issue (props to mscherer)
+ - updated code to match the WordPress Coding Standard
+
+= version 3.6.0 (Mai 2022) =
+ - fixed issue with ActivityPub plugin
+ - updated to latest OpenID library
+ - added CI/CD toolings
+
= version 3.5.0 (Feb 12, 2019) =
- fixed PHP warnings and deprecation messages
diff --git a/plugins/openid/server.php b/plugins/openid/server.php
index 2804fcd1..05ca5d37 100644
--- a/plugins/openid/server.php
+++ b/plugins/openid/server.php
@@ -48,8 +48,8 @@ function openid_provider_xrds_simple( $xrds ) {
if ( ! $user && get_option( 'openid_blog_owner' ) ) {
$url_parts = parse_url( get_option( 'home' ) );
- $path = array_key_exists( 'path', $url_parts ) ? $url_parts['path'] : '';
- $path = trailingslashit( $path );
+ $path = array_key_exists( 'path', $url_parts ) ? $url_parts['path'] : '';
+ $path = trailingslashit( $path );
$script = preg_replace( '/index.php$/', '', $_SERVER['SCRIPT_NAME'] );
$script = trailingslashit( $script );
@@ -76,32 +76,32 @@ function openid_provider_xrds_simple( $xrds ) {
$services = array();
$tmp_types = apply_filters( 'openid_server_xrds_types', array( 'http://specs.openid.net/auth/2.0/signon' ) );
- $types = array();
+ $types = array();
foreach ( $tmp_types as $t ) {
$types[] = array( 'content' => $t );
}
$services[] = array(
- 'Type' => $types,
- 'URI' => openid_server_url(),
+ 'Type' => $types,
+ 'URI' => openid_server_url(),
'LocalID' => get_author_posts_url( $user->ID ),
);
$tmp_types = apply_filters( 'openid_server_xrds_types', array( 'http://openid.net/signon/1.1' ) );
- $types = array();
+ $types = array();
foreach ( $tmp_types as $t ) {
$types[] = array( 'content' => $t );
}
$services[] = array(
- 'Type' => $types,
- 'URI' => openid_server_url(),
+ 'Type' => $types,
+ 'URI' => openid_server_url(),
'openid:Delegate' => get_author_posts_url( $user->ID ),
);
}
} else {
$services = array(
array(
- 'Type' => array( array( 'content' => 'http://specs.openid.net/auth/2.0/server' ) ),
- 'URI' => openid_server_url(),
+ 'Type' => array( array( 'content' => 'http://specs.openid.net/auth/2.0/server' ) ),
+ 'URI' => openid_server_url(),
'LocalID' => 'http://specs.openid.net/auth/2.0/identifier_select',
),
);
@@ -136,19 +136,19 @@ function openid_provider_webfinger( $webfinger, $resource, $user ) {
if ( get_user_meta( $user->ID, 'openid_delegate', true ) ) {
$webfinger['links'][] = array(
'href' => get_user_meta( $user->ID, 'openid_delegate', true ),
- 'rel' => 'http://specs.openid.net/auth/2.0/provider',
+ 'rel' => 'http://specs.openid.net/auth/2.0/provider',
);
} else {
// check if WebFinger user is "blog-owner"
if ( get_option( 'openid_blog_owner' ) && get_option( 'openid_blog_owner' ) == $user->user_login ) {
$webfinger['links'][] = array(
'href' => site_url( '/' ),
- 'rel' => 'http://specs.openid.net/auth/2.0/provider',
+ 'rel' => 'http://specs.openid.net/auth/2.0/provider',
);
} else { // otherwise use author-url
$webfinger['links'][] = array(
'href' => get_author_posts_url( $user->ID ),
- 'rel' => 'http://specs.openid.net/auth/2.0/provider',
+ 'rel' => 'http://specs.openid.net/auth/2.0/provider',
);
}
}
@@ -248,15 +248,20 @@ function openid_server_auth_request( $request ) {
do_action( 'openid_server_post_auth', $request );
// get some user data
- $user = wp_get_current_user();
+ $user = wp_get_current_user();
$author_url = get_author_posts_url( $user->ID );
- $id_select = $request->idSelect();
+ $id_select = ( $request->identity == 'http://specs.openid.net/auth/2.0/identifier_select' );
// bail if user does not have access to OpenID provider
if ( ! $user->has_cap( 'use_openid_provider' ) ) {
return $request->answer( false );
}
+ // bail if user doesn't own identity and not using id select
+ if ( ! $id_select && ( $author_url != $request->identity ) ) {
+ return $request->answer( false );
+ }
+
// if using id select but user is delegating, display error to user (unless checkid_immediate)
if ( $id_select && get_user_meta( $user->ID, 'openid_delegate', true ) ) {
if ( 'checkid_immediate' != $request->mode ) {
@@ -270,14 +275,14 @@ function openid_server_auth_request( $request ) {
echo '<h1>' . __( 'OpenID Login Error', 'openid' ) . '</h1>';
echo '<p>';
- printf( __( 'Because you have delegated your OpenID, you cannot login with the URL <strong>%s</strong>. Instead, you must use your full OpenID when logging in.', 'openid'), trailingslashit( get_option( 'home' ) ) );
+ printf( __( 'Because you have delegated your OpenID, you cannot login with the URL <strong>%s</strong>. Instead, you must use your full OpenID when logging in.', 'openid' ), trailingslashit( get_option( 'home' ) ) );
echo'</p>';
- echo '<p>' . sprintf( __( 'Your full OpenID is: %s', 'openid'), '<strong>' . $author_url . '</strong>' ) . '</p>';
+ echo '<p>' . sprintf( __( 'Your full OpenID is: %s', 'openid' ), '<strong>' . $author_url . '</strong>' ) . '</p>';
echo '
<form method="post">
<p class="submit">
- <input type="submit" value="'.__('Continue').'" />
+ <input type="submit" value="' . __( 'Continue' ) . '" />
<input type="hidden" name="action" value="cancel" />
<input type="hidden" name="openid_server" value="1" />
</p>'
@@ -293,7 +298,7 @@ function openid_server_auth_request( $request ) {
// if user trusts site, we're done
$trusted_sites = get_user_meta( $user->ID, 'openid_trusted_sites', true );
- $site_hash = md5( $request->trust_root );
+ $site_hash = md5( $request->trust_root );
if ( is_array( $trusted_sites ) && array_key_exists( $site_hash, $trusted_sites ) ) {
$trusted_sites[ $site_hash ]['last_login'] = time();
update_user_meta( $user->ID, 'openid_trusted_sites', $trusted_sites );
@@ -421,7 +426,7 @@ function openid_provider_link_tags() {
}
}
} else {
- $server = openid_server_url();
+ $server = openid_server_url();
$identifier = get_author_posts_url( $user->ID );
echo '
@@ -471,8 +476,8 @@ function openid_server_user_trust( $request ) {
);
$site = apply_filters( 'openid_server_store_trusted_site', $site );
- $trusted_sites = get_user_meta( $user->ID, 'openid_trusted_sites', true );
- $site_hash = md5( $request->trust_root );
+ $trusted_sites = get_user_meta( $user->ID, 'openid_trusted_sites', true );
+ $site_hash = md5( $request->trust_root );
$trusted_sites[ $site_hash ] = $site;
update_user_meta( $user->ID, 'openid_trusted_sites', $trusted_sites );
@@ -502,7 +507,7 @@ function openid_server_user_trust( $request ) {
<div id="site">' . get_option( 'blogname' ) . '</div>';
if ( is_user_logged_in() ) {
- $user = wp_get_current_user();
+ $user = wp_get_current_user();
$logout_url = site_url( 'wp-login.php?action=logout&redirect_to=' . urlencode( openid_server_url() ), 'login' );
echo '
<div id="loggedin">' . sprintf( __( 'Logged in as %1$s (%2$s). <a href="%3$s">Use a different account?</a>', 'openid' ), $user->display_name, $user->user_login, $logout_url ) . '</div>';
@@ -530,8 +535,10 @@ function openid_server_user_trust( $request ) {
</p>
<p style="margin: 3em 0 1em 0; font-size: 0.8em;">'
- . sprintf( __( 'Manage or remove access on the <a href="%s" target="_blank">Trusted Sites</a> page.', 'openid' ),
- admin_url( ( current_user_can( 'edit_users' ) ? 'users.php' : 'profile.php' ) . '?page=openid_trusted_sites' ) )
+ . sprintf(
+ __( 'Manage or remove access on the <a href="%s" target="_blank">Trusted Sites</a> page.', 'openid' ),
+ admin_url( ( current_user_can( 'edit_users' ) ? 'users.php' : 'profile.php' ) . '?page=openid_trusted_sites' )
+ )
. '</p>
<p style="margin: 1em 0; font-size: 0.8em;">'
. sprintf( __( '<a href="%s" target="_blank">Edit your profile</a> to change the information that gets shared with Trusted Sites.', 'openid' ), admin_url( 'profile.php' ) )
@@ -603,8 +610,8 @@ function openid_server_get_delegation_info( $userid, $url = null ) {
}
$html_content = $response->body;
- $p = new Auth_OpenID_Parse();
- $link_attrs = $p->parseLinkAttrs( $html_content );
+ $p = new Auth_OpenID_Parse();
+ $link_attrs = $p->parseLinkAttrs( $html_content );
// check HTML for OpenID2
$server_url = $p->findFirstHref( $link_attrs, 'openid2.provider' );
@@ -614,8 +621,8 @@ function openid_server_get_delegation_info( $userid, $url = null ) {
$openid_url = $url;
}
$services[] = array(
- 'Type' => array( array( 'content' => Auth_OpenID_Type_1_1 ) ),
- 'URI' => $server_url,
+ 'Type' => array( array( 'content' => Auth_OpenID_Type_1_1 ) ),
+ 'URI' => $server_url,
'LocalID' => $openid_url,
);
}
diff --git a/plugins/openid/server_ext.php b/plugins/openid/server_ext.php
index b0fced72..33caa547 100644
--- a/plugins/openid/server_ext.php
+++ b/plugins/openid/server_ext.php
@@ -33,7 +33,7 @@ function openid_server_sreg_post_auth( $request ) {
*/
function openid_server_sreg_trust_form( $attributes ) {
$sreg_request = $GLOBALS['openid_server_sreg_request'];
- $sreg_fields = $sreg_request->allRequestedFields();
+ $sreg_fields = $sreg_request->allRequestedFields();
if ( ! empty( $sreg_fields ) ) {
foreach ( $sreg_fields as $field ) {
@@ -79,9 +79,9 @@ function openid_server_attributes_string( $fields, $string = '' ) {
return join( ' and ', $fields );
}
$string = array_shift( $fields );
- } else if ( sizeof( $fields ) == 1 ) {
+ } elseif ( sizeof( $fields ) == 1 ) {
$string .= ', and ' . array_shift( $fields );
- } else if ( sizeof( $fields ) > 1 ) {
+ } elseif ( sizeof( $fields ) > 1 ) {
$string .= ', ' . array_shift( $fields );
}
@@ -123,8 +123,8 @@ function openid_server_sreg_auth_response( $response ) {
$include_sreg = $GLOBALS['openid_server_sreg_trust'];
} else {
$trusted_sites = get_user_meta( $user->ID, 'openid_trusted_sites', true );
- $request = $response->request;
- $site_hash = md5( $request->trust_root );
+ $request = $response->request;
+ $site_hash = md5( $request->trust_root );
if ( is_array( $trusted_sites ) && array_key_exists( $site_hash, $trusted_sites ) ) {
$include_sreg = $trusted_sites[ $site_hash ]['release_attributes'];
}
@@ -159,7 +159,7 @@ function openid_server_sreg_auth_response( $response ) {
* where '*' is the name of the sreg attribute.
*/
function openid_server_sreg_from_profile( $field ) {
- $user = wp_get_current_user();
+ $user = wp_get_current_user();
$value = '';
switch ( $field ) {
@@ -173,7 +173,7 @@ function openid_server_sreg_from_profile( $field ) {
case 'fullname':
$user_data = get_userdata( $user->ID );
- $value = $user_data->display_name;
+ $value = $user_data->display_name;
break;
}
diff --git a/plugins/openid/store.php b/plugins/openid/store.php
index 838d41af..0986b3c1 100644
--- a/plugins/openid/store.php
+++ b/plugins/openid/store.php
@@ -9,192 +9,213 @@
require_once 'Auth/OpenID/Interface.php';
require_once 'Auth/OpenID/Association.php';
-if (!class_exists('WordPress_OpenID_OptionStore')):
-/**
- * OpenID store that uses the WordPress options table for storage. Originally
- * written by Simon Willison for use in the mu-open-id plugin. Modified a fair
- * amount for use in WordPress OpenID.
- */
-class WordPress_OpenID_OptionStore extends Auth_OpenID_OpenIDStore {
-
- function storeAssociation($server_url, $association) {
- $key = $this->_getAssociationKey($server_url, $association->handle);
- $association_s = $association->serialize();
- // prevent the likelihood of a race condition - don't rely on cache
- wp_cache_delete('openid_associations', 'options');
- $associations = get_option('openid_associations');
- if ($associations == null) {
- $associations = array();
+if ( ! class_exists( 'WordPress_OpenID_OptionStore' ) ) :
+ /**
+ * OpenID store that uses the WordPress options table for storage. Originally
+ * written by Simon Willison for use in the mu-open-id plugin. Modified a fair
+ * amount for use in WordPress OpenID.
+ */
+ class WordPress_OpenID_OptionStore extends Auth_OpenID_OpenIDStore {
+
+ function storeAssociation( $server_url, $association ) {
+ $key = $this->_getAssociationKey( $server_url, $association->handle );
+ $association_s = $association->serialize();
+ // prevent the likelihood of a race condition - don't rely on cache
+ wp_cache_delete( 'openid_associations', 'options' );
+ $associations = get_option( 'openid_associations' );
+ if ( $associations == null ) {
+ $associations = array();
+ }
+ $associations[ $key ] = $association_s;
+ update_option( 'openid_associations', $associations );
}
- $associations[$key] = $association_s;
- update_option('openid_associations', $associations);
- }
- function getAssociation($server_url, $handle = null) {
- //wp_cache_delete('openid_associations', 'options');
- if ($handle === null) {
- $handle = '';
- }
- $key = $this->_getAssociationKey($server_url, $handle);
- $associations = get_option('openid_associations');
- if ($handle && array_key_exists($key, $associations)) {
- return Auth_OpenID_Association::deserialize(
- 'Auth_OpenID_Association', $associations[$key]
- );
- } else {
- // Return the most recently issued association
- $matching_keys = array();
- foreach (array_keys($associations) as $assoc_key) {
- if (strpos($assoc_key, $key) === 0) {
- $matching_keys[] = $assoc_key;
- }
+ function getAssociation( $server_url, $handle = null ) {
+ //wp_cache_delete('openid_associations', 'options');
+ if ( $handle === null ) {
+ $handle = '';
}
- $matching_associations = array();
- // sort by time issued
- foreach ($matching_keys as $assoc_key) {
- if (array_key_exists($assoc_key, $associations)) {
- $association = Auth_OpenID_Association::deserialize(
- 'Auth_OpenID_Association', $associations[$assoc_key]
- );
+ $key = $this->_getAssociationKey( $server_url, $handle );
+ $associations = get_option( 'openid_associations' );
+ if ( $handle && array_key_exists( $key, $associations ) ) {
+ return Auth_OpenID_Association::deserialize(
+ 'Auth_OpenID_Association',
+ $associations[ $key ]
+ );
+ } else {
+ // Return the most recently issued association
+ $matching_keys = array();
+ foreach ( array_keys( $associations ) as $assoc_key ) {
+ if ( strpos( $assoc_key, $key ) === 0 ) {
+ $matching_keys[] = $assoc_key;
+ }
}
- if ($association !== null) {
- $matching_associations[] = array(
- $association->issued, $association
- );
+ $matching_associations = array();
+ // sort by time issued
+ foreach ( $matching_keys as $assoc_key ) {
+ if ( array_key_exists( $assoc_key, $associations ) ) {
+ $association = Auth_OpenID_Association::deserialize(
+ 'Auth_OpenID_Association',
+ $associations[ $assoc_key ]
+ );
+ }
+ if ( $association !== null ) {
+ $matching_associations[] = array(
+ $association->issued,
+ $association,
+ );
+ }
+ }
+ $issued = array();
+ $assocs = array();
+ foreach ( $matching_associations as $assoc_key => $assoc ) {
+ $issued[ $assoc_key ] = $assoc[0];
+ $assocs[ $assoc_key ] = $assoc[1];
+ }
+ array_multisort(
+ $issued,
+ SORT_DESC,
+ $assocs,
+ SORT_DESC,
+ $matching_associations
+ );
+
+ // return the most recently issued one.
+ if ( $matching_associations ) {
+ list($issued, $assoc) = $matching_associations[0];
+ return $assoc;
+ } else {
+ return null;
}
}
- $issued = array();
- $assocs = array();
- foreach ($matching_associations as $assoc_key => $assoc) {
- $issued[$assoc_key] = $assoc[0];
- $assocs[$assoc_key] = $assoc[1];
- }
- array_multisort($issued, SORT_DESC, $assocs, SORT_DESC,
- $matching_associations);
+ }
- // return the most recently issued one.
- if ($matching_associations) {
- list($issued, $assoc) = $matching_associations[0];
- return $assoc;
- } else {
+ function _getAssociationKey( $server_url, $handle ) {
+ if ( strpos( $server_url, '://' ) === false ) {
+ trigger_error(
+ sprintf( 'Bad server URL: %s', $server_url ),
+ E_USER_WARNING
+ );
return null;
}
+ list($proto, $rest) = explode( '://', $server_url, 2 );
+ $parts = explode( '/', $rest );
+ $domain = $parts[0];
+ $url_hash = base64_encode( $server_url );
+ if ( $handle ) {
+ $handle_hash = base64_encode( $handle );
+ } else {
+ $handle_hash = '';
+ }
+ return sprintf(
+ '%s-%s-%s-%s',
+ $proto,
+ $domain,
+ $url_hash,
+ $handle_hash
+ );
}
- }
-
- function _getAssociationKey($server_url, $handle) {
- if (strpos($server_url, '://') === false) {
- trigger_error(sprintf("Bad server URL: %s", $server_url),
- E_USER_WARNING);
- return null;
- }
- list($proto, $rest) = explode('://', $server_url, 2);
- $parts = explode('/', $rest);
- $domain = $parts[0];
- $url_hash = base64_encode($server_url);
- if ($handle) {
- $handle_hash = base64_encode($handle);
- } else {
- $handle_hash = '';
- }
- return sprintf('%s-%s-%s-%s',
- $proto, $domain, $url_hash, $handle_hash);
- }
- function removeAssociation($server_url, $handle) {
- // Remove the matching association if it's found, and
- // returns whether the association was removed or not.
- $key = $this->_getAssociationKey($server_url, $handle);
- $assoc = $this->getAssociation($server_url, $handle);
- if ($assoc === null) {
- return false;
- } else {
- $associations = get_option('openid_associations');
- if (isset($associations[$key])) {
- unset($associations[$key]);
- update_option('openid_associations', $associations);
- return true;
- } else {
+ function removeAssociation( $server_url, $handle ) {
+ // Remove the matching association if it's found, and
+ // returns whether the association was removed or not.
+ $key = $this->_getAssociationKey( $server_url, $handle );
+ $assoc = $this->getAssociation( $server_url, $handle );
+ if ( $assoc === null ) {
return false;
+ } else {
+ $associations = get_option( 'openid_associations' );
+ if ( isset( $associations[ $key ] ) ) {
+ unset( $associations[ $key ] );
+ update_option( 'openid_associations', $associations );
+ return true;
+ } else {
+ return false;
+ }
}
}
- }
-
- function useNonce($server_url, $timestamp, $salt) {
- global $Auth_OpenID_SKEW;
- if ( abs($timestamp - time()) > $Auth_OpenID_SKEW ) {
- return false;
- }
+ function useNonce( $server_url, $timestamp, $salt ) {
+ global $Auth_OpenID_SKEW;
- $key = $this->_getNonceKey($server_url, $timestamp, $salt);
+ if ( abs( $timestamp - time() ) > $Auth_OpenID_SKEW ) {
+ return false;
+ }
- // prevent the likelihood of a race condition - don't rely on cache
- wp_cache_delete('openid_nonces', 'options');
- $nonces = get_option('openid_nonces');
- if ($nonces == null) {
- $nonces = array();
- }
+ $key = $this->_getNonceKey( $server_url, $timestamp, $salt );
- if (array_key_exists($key, $nonces)) {
- return false;
- } else {
- $nonces[$key] = $timestamp;
- update_option('openid_nonces', $nonces);
- return true;
- }
- }
+ // prevent the likelihood of a race condition - don't rely on cache
+ wp_cache_delete( 'openid_nonces', 'options' );
+ $nonces = get_option( 'openid_nonces' );
+ if ( $nonces == null ) {
+ $nonces = array();
+ }
- function _getNonceKey($server_url, $timestamp, $salt) {
- if ($server_url) {
- list($proto, $rest) = explode('://', $server_url, 2);
- } else {
- $proto = '';
- $rest = '';
+ if ( array_key_exists( $key, $nonces ) ) {
+ return false;
+ } else {
+ $nonces[ $key ] = $timestamp;
+ update_option( 'openid_nonces', $nonces );
+ return true;
+ }
}
- $parts = explode('/', $rest, 2);
- $domain = $parts[0];
- $url_hash = base64_encode($server_url);
- $salt_hash = base64_encode($salt);
+ function _getNonceKey( $server_url, $timestamp, $salt ) {
+ if ( $server_url ) {
+ list($proto, $rest) = explode( '://', $server_url, 2 );
+ } else {
+ $proto = '';
+ $rest = '';
+ }
- return sprintf('%08x-%s-%s-%s-%s', $timestamp, $proto,
- $domain, $url_hash, $salt_hash);
- }
+ $parts = explode( '/', $rest, 2 );
+ $domain = $parts[0];
+ $url_hash = base64_encode( $server_url );
+ $salt_hash = base64_encode( $salt );
+
+ return sprintf(
+ '%08x-%s-%s-%s-%s',
+ $timestamp,
+ $proto,
+ $domain,
+ $url_hash,
+ $salt_hash
+ );
+ }
- function cleanupNonces() {
- global $Auth_OpenID_SKEW;
+ function cleanupNonces() {
+ global $Auth_OpenID_SKEW;
- $nonces = get_option('openid_nonces');
+ $nonces = get_option( 'openid_nonces' );
- foreach ($nonces as $nonce => $time) {
- if ( abs($time - time()) > $Auth_OpenID_SKEW ) {
- unset($nonces[$nonce]);
+ foreach ( $nonces as $nonce => $time ) {
+ if ( abs( $time - time() ) > $Auth_OpenID_SKEW ) {
+ unset( $nonces[ $nonce ] );
+ }
}
- }
- update_option('openid_nonces', $nonces);
- }
+ update_option( 'openid_nonces', $nonces );
+ }
- function cleanupAssociations() {
- $associations = get_option('openid_associations');
+ function cleanupAssociations() {
+ $associations = get_option( 'openid_associations' );
- foreach ($associations as $key => $assoc_s) {
- $assoc = Auth_OpenID_Association::deserialize('Auth_OpenID_Association', $assoc_s);
+ foreach ( $associations as $key => $assoc_s ) {
+ $assoc = Auth_OpenID_Association::deserialize( 'Auth_OpenID_Association', $assoc_s );
- if ( $assoc->getExpiresIn() == 0) {
- unset($associations[$key]);
+ if ( $assoc->getExpiresIn() == 0 ) {
+ unset( $associations[ $key ] );
+ }
}
- }
- update_option('openid_associations', $associations);
- }
+ update_option( 'openid_associations', $associations );
+ }
- function reset() {
- update_option('openid_nonces', array());
- update_option('openid_associations', array());
+ function reset() {
+ update_option( 'openid_nonces', array() );
+ update_option( 'openid_associations', array() );
+ }
}
-}
endif;
@@ -204,24 +225,24 @@ endif;
* @param bool $retry if true, tables will try to be recreated if they are not okay
* @return bool if tables are okay
*/
-function openid_check_tables($retry=true) {
+function openid_check_tables( $retry = true ) {
global $wpdb;
- $ok = true;
+ $ok = true;
$message = array();
- $tables = array(
+ $tables = array(
openid_identity_table(),
);
- foreach( $tables as $t ) {
- if( $wpdb->get_var("SHOW TABLES LIKE '$t'") != $t ) {
- $ok = false;
+ foreach ( $tables as $t ) {
+ if ( $wpdb->get_var( "SHOW TABLES LIKE '$t'" ) != $t ) {
+ $ok = false;
$message[] = "Table $t doesn't exist.";
} else {
$message[] = "Table $t exists.";
}
}
- if( $retry and !$ok) {
+ if ( $retry and ! $ok ) {
openid_create_tables();
$ok = openid_check_tables( false );
}
@@ -231,17 +252,16 @@ function openid_check_tables($retry=true) {
/**
* Create OpenID related tables in the WordPress database.
*/
-function openid_create_tables()
-{
+function openid_create_tables() {
global $wpdb;
$store = openid_getStore();
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
// Create the SQL and call the WP schema upgrade function
$statements = array(
- "CREATE TABLE ".openid_identity_table()." (
+ 'CREATE TABLE ' . openid_identity_table() . " (
uurl_id bigint(20) NOT NULL auto_increment,
user_id bigint(20) NOT NULL default '0',
url text,
@@ -253,10 +273,10 @@ function openid_create_tables()
)",
);
- $sql = implode(';', $statements);
- dbDelta($sql);
+ $sql = implode( ';', $statements );
+ dbDelta( $sql );
- update_option('openid_db_revision', OPENID_DB_REVISION);
+ update_option( 'openid_db_revision', OPENID_DB_REVISION );
}
@@ -265,18 +285,18 @@ function openid_create_tables()
*/
function openid_delete_tables() {
global $wpdb;
- $wpdb->query('DROP TABLE IF EXISTS ' . openid_identity_table());
- $wpdb->query( $wpdb->prepare('DELETE FROM ' . $wpdb->postmeta . ' WHERE meta_key=%s', 'openid_comments') );
+ $wpdb->query( 'DROP TABLE IF EXISTS ' . openid_identity_table() );
+ $wpdb->query( $wpdb->prepare( 'DELETE FROM ' . $wpdb->postmeta . ' WHERE meta_key=%s', 'openid_comments' ) );
// old database changes... just to make sure
- $wpdb->query('DROP TABLE IF EXISTS ' . openid_table_prefix(true) . 'openid_nonces');
- $wpdb->query('DROP TABLE IF EXISTS ' . openid_table_prefix(true) . 'openid_associations');
+ $wpdb->query( 'DROP TABLE IF EXISTS ' . openid_table_prefix( true ) . 'openid_nonces' );
+ $wpdb->query( 'DROP TABLE IF EXISTS ' . openid_table_prefix( true ) . 'openid_associations' );
// clear old way of storing OpenID comments
- $openid_column = $wpdb->get_row('SHOW COLUMNS FROM ' . openid_table_prefix(true) . 'comments LIKE "openid"');
- if ($openid_column) {
- $wpdb->query('ALTER table ' . $comments_table . ' DROP COLUMN openid');
- $wpdb->query( $wpdb->prepare('UPDATE ' . $comments_table . ' SET comment_type=%s WHERE comment_type=%s', '', 'openid') );
+ $openid_column = $wpdb->get_row( 'SHOW COLUMNS FROM ' . openid_table_prefix( true ) . 'comments LIKE "openid"' );
+ if ( $openid_column ) {
+ $wpdb->query( 'ALTER table ' . $comments_table . ' DROP COLUMN openid' );
+ $wpdb->query( $wpdb->prepare( 'UPDATE ' . $comments_table . ' SET comment_type=%s WHERE comment_type=%s', '', 'openid' ) );
}
}
@@ -288,50 +308,51 @@ function openid_migrate_old_data() {
global $wpdb;
// remove old nonce and associations tables
- $wpdb->query('DROP TABLE IF EXISTS ' . openid_table_prefix(true) . 'openid_nonces');
- $wpdb->query('DROP TABLE IF EXISTS ' . openid_table_prefix(true) . 'openid_associations');
+ $wpdb->query( 'DROP TABLE IF EXISTS ' . openid_table_prefix( true ) . 'openid_nonces' );
+ $wpdb->query( 'DROP TABLE IF EXISTS ' . openid_table_prefix( true ) . 'openid_associations' );
- $openid_column = $wpdb->get_row('SHOW COLUMNS FROM ' . openid_table_prefix(true) . 'comments LIKE "openid"');
- if ($openid_column) {
+ $openid_column = $wpdb->get_row( 'SHOW COLUMNS FROM ' . openid_table_prefix( true ) . 'comments LIKE "openid"' );
+ if ( $openid_column ) {
// update old style of marking openid comments. For performance reason, we
// migrate them en masse rather than using set_comment_openid()
- $comments_table = openid_table_prefix(true) . 'comments';
- $comment_data = $wpdb->get_results( $wpdb->prepare('SELECT comment_ID, comment_post_ID from ' . $comments_table . ' WHERE openid=%s OR comment_type=%s', 1, 'openid') );
- if (!empty($comment_data)) {
+ $comments_table = openid_table_prefix( true ) . 'comments';
+ $comment_data = $wpdb->get_results( $wpdb->prepare( 'SELECT comment_ID, comment_post_ID from ' . $comments_table . ' WHERE openid=%s OR comment_type=%s', 1, 'openid' ) );
+ if ( ! empty( $comment_data ) ) {
$openid_comments = array();
- foreach ($comment_data as $comment) {
- if (!array_key_exists($comment->comment_post_ID, $openid_comments)) {
- $openid_comments[$comment->comment_post_ID] = array();
+ foreach ( $comment_data as $comment ) {
+ if ( ! array_key_exists( $comment->comment_post_ID, $openid_comments ) ) {
+ $openid_comments[ $comment->comment_post_ID ] = array();
}
- $openid_comments[$comment->comment_post_ID][] = $comment->comment_ID;
+ $openid_comments[ $comment->comment_post_ID ][] = $comment->comment_ID;
}
- foreach ($openid_comments as $post_id => $comments) {
- $current = get_post_meta($post_id, 'openid_comments', true);
- if (!empty($current)) $comments = array_merge($comments, $current);
- update_post_meta($post_id, 'openid_comments', array_unique($comments));
+ foreach ( $openid_comments as $post_id => $comments ) {
+ $current = get_post_meta( $post_id, 'openid_comments', true );
+ if ( ! empty( $current ) ) {
+ $comments = array_merge( $comments, $current );
+ }
+ update_post_meta( $post_id, 'openid_comments', array_unique( $comments ) );
}
}
- $wpdb->query('ALTER table ' . $comments_table . ' DROP COLUMN openid');
- $wpdb->query( $wpdb->prepare('UPDATE ' . $comments_table . ' SET comment_type=%s WHERE comment_type=%s', '', 'openid') );
+ $wpdb->query( 'ALTER table ' . $comments_table . ' DROP COLUMN openid' );
+ $wpdb->query( $wpdb->prepare( 'UPDATE ' . $comments_table . ' SET comment_type=%s WHERE comment_type=%s', '', 'openid' ) );
}
-
// remove old style of marking openid users
- $usermeta_table = defined('CUSTOM_USER_META_TABLE') ? CUSTOM_USER_META_TABLE : openid_table_prefix() . 'usermeta';
- $wpdb->query( $wpdb->prepare('DELETE FROM ' . $usermeta_table . ' WHERE meta_key=%s OR meta_key=%s', 'has_openid', 'registered_with_openid') );
+ $usermeta_table = defined( 'CUSTOM_USER_META_TABLE' ) ? CUSTOM_USER_META_TABLE : openid_table_prefix() . 'usermeta';
+ $wpdb->query( $wpdb->prepare( 'DELETE FROM ' . $usermeta_table . ' WHERE meta_key=%s OR meta_key=%s', 'has_openid', 'registered_with_openid' ) );
}
-function openid_table_prefix($blog_specific = false) {
+function openid_table_prefix( $blog_specific = false ) {
global $wpdb;
- if (is_multisite() && isset($wpdb->base_prefix)) {
- return $wpdb->base_prefix . ($blog_specific ? $wpdb->blogid . '_' : '');
+ if ( is_multisite() && isset( $wpdb->base_prefix ) ) {
+ return $wpdb->base_prefix . ( $blog_specific ? $wpdb->blogid . '_' : '' );
} else {
return $wpdb->prefix;
}
}
function openid_identity_table() {
- return (defined('CUSTOM_OPENID_IDENTITY_TABLE') ? CUSTOM_OPENID_IDENTITY_TABLE : openid_table_prefix() . 'openid_identities');
+ return ( defined( 'CUSTOM_OPENID_IDENTITY_TABLE' ) ? CUSTOM_OPENID_IDENTITY_TABLE : openid_table_prefix() . 'openid_identities' );
}